--- heimdal-0.6.3.orig/cf/krb-com_err.m4
+++ heimdal-0.6.3/cf/krb-com_err.m4
@@ -0,0 +1,35 @@
+dnl
+dnl Tests for readline functions
+dnl
+
+dnl el_init
+
+AC_DEFUN(KRB_COM_ERR,[
+dnl com_err
+
+ac_foo=no
+if test "$with_com_err" = yes; then
+	COMPILE_ET='compile_et'
+#elif test "$ac_cv_func_com_err" = yes; then
+#	COMPILE_ET='compile_et'
+else
+	COMPILE_ET='$(top_builddir)/lib/com_err/compile_et'
+	DIR_com_err="com_err"
+	LIB_com_err='$(top_builddir)/lib/com_err/libcom_err.la'
+fi
+
+if true; then
+#	!FIXME! why doesn't built in version of com_err work?
+	COMPILE_ET='$(top_builddir)/lib/com_err/compile_et'
+	DIR_com_err="com_err"
+	LIB_com_err='$(top_builddir)/lib/com_err/libcom_err.la'
+fi
+
+#if test "$com_err_libdir"; then
+#	LIB_com_err="-rpath $com_err_libdir $LIB_com_err"
+#fi
+AC_DEFINE(HAVE_COM_ERR, 1, 
+	[Define if you have a com_err compatible library.])dnl
+
+])
+AC_SUBST(COMPILE_ET)
--- heimdal-0.6.3.orig/cf/krb-ss.m4
+++ heimdal-0.6.3/cf/krb-ss.m4
@@ -0,0 +1,36 @@
+dnl
+dnl Tests for readline functions
+dnl
+
+dnl el_init
+
+AC_DEFUN(KRB_SS,[
+dnl com_err
+
+ac_foo=no
+if test "$with_ss" = yes; then
+	LIB_sl="$LIB_ss"
+else
+	DIR_ss="sl"
+	LIB_sl='$(top_builddir)/lib/sl/libsl.la'
+	LIB_ss='$(top_builddir)/lib/sl/libss.la'
+	INCLUDE_ss='-I$(top_builddir)/include/sl'
+fi
+
+
+#if test "$ss_libdir"; then
+#	LIB_ss="-rpath $sl_libdir $LIB_ss"
+#fi
+
+if true; then
+#	!FIXME! why doesn't built in version of ss work?
+	LIB_sl='$(top_builddir)/lib/sl/libsl.la'
+	LIB_ss='$(top_builddir)/lib/sl/libss.la'
+	INCLUDE_ss='-I$(top_builddir)/include/ss'
+fi
+
+AC_DEFINE(HAVE_SS, 1, 
+	[Define if you have a ss compatible library.])dnl
+
+])
+AC_SUBST(LIB_sl)
--- heimdal-0.6.3.orig/debian/patches/033_CAN-2005-2040
+++ heimdal-0.6.3/debian/patches/033_CAN-2005-2040
@@ -0,0 +1,82 @@
+diff -u -p -Nr --exclude CVS heimdal-0.6.3.orig/appl/telnet/telnetd/ext.h heimdal-0.6.3/appl/telnet/telnetd/ext.h
+--- heimdal-0.6.3.orig/appl/telnet/telnetd/ext.h	2001-08-29 02:45:22.000000000 +0200
++++ heimdal-0.6.3/appl/telnet/telnetd/ext.h	2005-07-06 10:16:31.000000000 +0200
+@@ -57,7 +57,7 @@ extern const char *new_login;
+ 
+ extern slcfun	slctab[NSLC + 1];	/* slc mapping table */
+ 
+-extern char	*terminaltype;
++extern char	terminaltype[41];
+ 
+ /*
+  * I/O data buffers, pointers, and counters.
+diff -u -p -Nr --exclude CVS heimdal-0.6.3.orig/appl/telnet/telnetd/global.c heimdal-0.6.3/appl/telnet/telnetd/global.c
+--- heimdal-0.6.3.orig/appl/telnet/telnetd/global.c	2001-07-19 18:00:42.000000000 +0200
++++ heimdal-0.6.3/appl/telnet/telnetd/global.c	2005-07-06 10:16:31.000000000 +0200
+@@ -54,7 +54,7 @@ int	require_otp;
+ 
+ slcfun	slctab[NSLC + 1];	/* slc mapping table */
+ 
+-char	*terminaltype;
++char	terminaltype[41];
+ 
+ /*
+  * I/O data buffers, pointers, and counters.
+diff -u -p -Nr --exclude CVS heimdal-0.6.3.orig/appl/telnet/telnetd/state.c heimdal-0.6.3/appl/telnet/telnetd/state.c
+--- heimdal-0.6.3.orig/appl/telnet/telnetd/state.c	2004-06-21 10:21:58.000000000 +0200
++++ heimdal-0.6.3/appl/telnet/telnetd/state.c	2005-07-06 10:16:31.000000000 +0200
+@@ -939,7 +939,7 @@ suboption(void)
+     }  /* end of case TELOPT_TSPEED */
+ 
+     case TELOPT_TTYPE: {		/* Yaaaay! */
+-	static char terminalname[41];
++	char *p;
+ 
+ 	if (his_state_is_wont(TELOPT_TTYPE))	/* Ignore if option disabled */
+ 	    break;
+@@ -949,9 +949,9 @@ suboption(void)
+ 	    return;		/* ??? XXX but, this is the most robust */
+ 	}
+ 
+-	terminaltype = terminalname;
++	p = terminaltype;
+ 
+-	while ((terminaltype < (terminalname + sizeof terminalname-1)) &&
++	while ((p < (terminaltype + sizeof terminaltype-1)) &&
+ 	       !SB_EOF()) {
+ 	    int c;
+ 
+@@ -959,10 +959,9 @@ suboption(void)
+ 	    if (isupper(c)) {
+ 		c = tolower(c);
+ 	    }
+-	    *terminaltype++ = c;    /* accumulate name */
++	    *p++ = c;    /* accumulate name */
+ 	}
+-	*terminaltype = 0;
+-	terminaltype = terminalname;
++	*p = 0;
+ 	break;
+     }  /* end of case TELOPT_TTYPE */
+ 
+diff -u -p -Nr --exclude CVS heimdal-0.6.3.orig/appl/telnet/telnetd/telnetd.c heimdal-0.6.3/appl/telnet/telnetd/telnetd.c
+--- heimdal-0.6.3.orig/appl/telnet/telnetd/telnetd.c	2004-03-22 19:17:25.000000000 +0100
++++ heimdal-0.6.3/appl/telnet/telnetd/telnetd.c	2005-07-06 10:16:31.000000000 +0200
+@@ -636,7 +636,7 @@ getterminaltype(char *name, size_t name_
+ 		     */
+ 		    _gettermname();
+ 		    if (strncmp(first, terminaltype, sizeof(first)) != 0)
+-			strcpy(terminaltype, first);
++			strlcpy(terminaltype, first, sizeof(terminaltype));
+ 		    break;
+ 		}
+ 	    }
+@@ -752,7 +752,7 @@ Please contact your net administrator");
+      */
+     *user_name = 0;
+     level = getterminaltype(user_name, sizeof(user_name));
+-    esetenv("TERM", terminaltype ? terminaltype : "network", 1);
++    esetenv("TERM", terminaltype[0] ? terminaltype : "network", 1);
+ 
+ #ifdef _SC_CRAY_SECURE_SYS
+     if (secflag) {
--- heimdal-0.6.3.orig/debian/patches/011_sharedlibs
+++ heimdal-0.6.3/debian/patches/011_sharedlibs
@@ -0,0 +1,43 @@
+diff -ruN heimdal-0.6.3-old/lib/editline/Makefile.am heimdal-0.6.3/lib/editline/Makefile.am
+--- heimdal-0.6.3-old/lib/editline/Makefile.am	Wed Nov 15 10:22:29 2000
++++ heimdal-0.6.3/lib/editline/Makefile.am	Thu Nov 15 11:59:31 2001
+@@ -38,13 +38,13 @@
+ 	unix.h \
+ 	$(EXTRA_SOURCE)
+ 
+-libeditline_la_LDFLAGS = -static
++libeditline_la_LDFLAGS = -no-undefined
+ 
+ EXTRA_SOURCE = $(ES) 
+ 
+ libel_compat_la_SOURCES = edit_compat.c
+ 
+-libel_compat_la_LDFLAGS = -static
++libel_compat_la_LDFLAGS = -no-undefined
+ 
+ EXTRA_DIST = $(man_MANS)
+ 
+diff -ruN heimdal-0.6.3-old/tools/krb5-config.in heimdal-0.6.3/tools/krb5-config.in
+--- heimdal-0.6.3-old/tools/krb5-config.in	Mon Jan 29 17:56:51 2001
++++ heimdal-0.6.3/tools/krb5-config.in	Thu Nov 15 11:59:31 2001
+@@ -89,6 +89,9 @@
+ if test "$do_libs" = "yes"; then
+     lib_flags="-L${libdir}"
+     case $library in
++    krb5)
++	lib_flags="$lib_flags -lkrb5"
++	;;
+     gssapi)
+ 	lib_flags="$lib_flags -lgssapi"
+ 	;;
+@@ -99,8 +102,8 @@
+ 	lib_flags="$lib_flags -lkadm5srv"
+ 	;;
+     esac
+-    lib_flags="$lib_flags -lkrb5 -lasn1 @LIB_des_appl@ -lroken"
+-    lib_flags="$lib_flags @LIB_crypt@ @LIB_dbopen@ @LIBS@"
++#    lib_flags="$lib_flags -lkrb5 -lasn1 @LIB_des_appl@ -lroken"
++#    lib_flags="$lib_flags @LIB_crypt@ @LIB_dbopen@ @LIBS@"
+     echo $lib_flags
+ fi
+ if test "$do_cflags" = "yes"; then
--- heimdal-0.6.3.orig/debian/patches/020_maintainermode
+++ heimdal-0.6.3/debian/patches/020_maintainermode
@@ -0,0 +1,11 @@
+diff -ruN heimdal-0.6.3-old/configure.in heimdal-0.6.3/configure.in
+--- heimdal-0.6.3-old/configure.in	2004-09-13 15:16:55.000000000 +1000
++++ heimdal-0.6.3/configure.in	2004-09-13 15:28:15.000000000 +1000
+@@ -3,6 +3,7 @@
+ AC_PREREQ(2.53)
+ ##test -z "$CFLAGS" && CFLAGS="-g"
+ AC_INIT([Heimdal], [0.6.3], [heimdal-bugs@pdc.kth.se])
++AM_MAINTAINER_MODE
+ AC_CONFIG_SRCDIR([kuser/kinit.c])
+ AM_CONFIG_HEADER(include/config.h)
+ 
--- heimdal-0.6.3.orig/debian/patches/012_sharedlibs
+++ heimdal-0.6.3/debian/patches/012_sharedlibs
@@ -0,0 +1,342 @@
+diff -ruN heimdal-0.6.3-old/admin/Makefile.am heimdal-0.6.3/admin/Makefile.am
+--- heimdal-0.6.3-old/admin/Makefile.am	Tue Aug 28 18:31:19 2001
++++ heimdal-0.6.3/admin/Makefile.am	Thu Aug 28 15:37:16 2003
+@@ -24,6 +24,6 @@
+ 	$(top_builddir)/lib/krb5/libkrb5.la \
+ 	$(LIB_des) \
+ 	$(top_builddir)/lib/asn1/libasn1.la \
+-	$(top_builddir)/lib/sl/libsl.la \
++	$(LIB_sl) \
+ 	$(LIB_readline) \
+ 	$(LIB_roken)
+diff -ruN heimdal-0.6.3-old/appl/otp/Makefile.am heimdal-0.6.3/appl/otp/Makefile.am
+--- heimdal-0.6.3-old/appl/otp/Makefile.am	Tue Aug 28 18:31:21 2001
++++ heimdal-0.6.3/appl/otp/Makefile.am	Thu Aug 28 15:37:16 2003
+@@ -12,4 +12,4 @@
+ man_MANS = otp.1  otpprint.1
+ 
+ LDADD = \
+-	$(top_builddir)/lib/otp/libotp.la
++	$(LIB_otp)
+diff -ruN heimdal-0.6.3-old/cf/Makefile.am.common heimdal-0.6.3/cf/Makefile.am.common
+--- heimdal-0.6.3-old/cf/Makefile.am.common	Fri May  9 03:08:09 2003
++++ heimdal-0.6.3/cf/Makefile.am.common	Thu Aug 28 15:37:16 2003
+@@ -57,6 +57,17 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++LIB_roken = @LIB_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ LEXLIB = @LEXLIB@
+ 
+ install-suid-programs:
+diff -ruN heimdal-0.6.3-old/cf/krb-readline.m4 heimdal-0.6.3/cf/krb-readline.m4
+--- heimdal-0.6.3-old/cf/krb-readline.m4	Thu Aug 29 12:22:32 2002
++++ heimdal-0.6.3/cf/krb-readline.m4	Thu Aug 28 15:37:16 2003
+@@ -28,8 +28,10 @@
+ 	:
+ elif test "$ac_cv_func_el_init" = yes; then
+ 	ac_foo=yes
++	DIR_readline="editline"
+ 	LIB_readline="\$(top_builddir)/lib/editline/libel_compat.la \$(LIB_el_init) \$(LIB_tgetent)"
+ else
++	DIR_readline="editline"
+ 	LIB_readline="\$(top_builddir)/lib/editline/libeditline.la \$(LIB_tgetent)"
+ fi
+ AM_CONDITIONAL(el_compat, test "$ac_foo" = yes)
+diff -ruN heimdal-0.6.3-old/cf/otp.m4 heimdal-0.6.3/cf/otp.m4
+--- heimdal-0.6.3-old/cf/otp.m4	Mon May 20 06:51:08 2002
++++ heimdal-0.6.3/cf/otp.m4	Thu Aug 28 15:37:16 2003
+@@ -18,8 +18,6 @@
+ fi
+ if test "$enable_otp" = yes; then
+ 	AC_DEFINE(OTP, 1, [Define if you want OTP support in applications.])
+-	LIB_otp='$(top_builddir)/lib/otp/libotp.la'
+-	AC_SUBST(LIB_otp)
+ fi
+ AC_MSG_CHECKING([whether to enable OTP library])
+ AC_MSG_RESULT($enable_otp)
+diff -ruN heimdal-0.6.3-old/cf/roken-frag.m4 heimdal-0.6.3/cf/roken-frag.m4
+--- heimdal-0.6.3-old/cf/roken-frag.m4	Thu Dec 19 04:34:25 2002
++++ heimdal-0.6.3/cf/roken-frag.m4	Thu Aug 28 15:37:16 2003
+@@ -8,9 +8,9 @@
+ 
+ AC_REQUIRE([rk_CONFIG_HEADER])
+ 
+-DIR_roken=roken
+-LIB_roken='$(top_builddir)/$1/libroken.la'
+-INCLUDES_roken='-I$(top_builddir)/$1 -I$(top_srcdir)/$1'
++dnl DIR_roken=roken
++dnl LIB_roken='$(top_builddir)/$1/libroken.la'
++dnl INCLUDES_roken='-I$(top_builddir)/$1 -I$(top_srcdir)/$1'
+ 
+ dnl Checks for programs
+ AC_REQUIRE([AC_PROG_CC])
+@@ -643,9 +643,9 @@
+ dnl moved to AC_OUTPUT in configure.in
+ dnl AC_CONFIG_FILES($1/Makefile)
+ 
+-LIB_roken="${LIB_roken} \$(LIB_crypt) \$(LIB_dbopen)"
++dnl LIB_roken="${LIB_roken} \$(LIB_crypt) \$(LIB_dbopen)"
+ 
+-AC_SUBST(DIR_roken)dnl
+-AC_SUBST(LIB_roken)dnl
+-AC_SUBST(INCLUDES_roken)dnl
++dnl AC_SUBST(DIR_roken)dnl
++dnl AC_SUBST(LIB_roken)dnl
++dnl AC_SUBST(INCLUDES_roken)dnl
+ ])
+diff -ruN heimdal-0.6.3-old/cf/roken.m4 heimdal-0.6.3/cf/roken.m4
+--- heimdal-0.6.3-old/cf/roken.m4	Wed May  1 02:46:33 2002
++++ heimdal-0.6.3/cf/roken.m4	Thu Aug 28 15:37:16 2003
+@@ -34,10 +34,10 @@
+ 
+ AC_TRY_CPP(
+ [#include <roken.h>
+-#if ROKEN_VERSION < $1
+-#error old roken version, should be $1
+-fail
+-#endif
++//#if ROKEN_VERSION < $1
++//#error old roken version, should be $1
++//fail
++//#endif
+ ],[roken_installed=yes; break])
+ 
+ AC_MSG_RESULT($roken_installed)
+@@ -50,12 +50,13 @@
+   DIR_roken="roken"
+   LIB_roken='$4'
+   CPPFLAGS_roken='$5'
+-  AC_CONFIG_SUBDIRS(lib/roken)
++dnl  AC_CONFIG_SUBDIRS(lib/roken)
+ else
+   LIB_roken="$i/lib/libroken.la"
+   CPPFLAGS_roken="-I$i/include"
+ fi
+ 
++AC_FIND_FUNC_NO_LIBS(crypt, crypt)dnl
+ LIB_roken="${LIB_roken} \$(LIB_crypt) \$(LIB_dbopen)"
+ 
+ AC_SUBST(LIB_roken)dnl
+diff -ruN heimdal-0.6.3-old/cf/test-package.m4 heimdal-0.6.3/cf/test-package.m4
+--- heimdal-0.6.3-old/cf/test-package.m4	Wed Sep 11 01:23:38 2002
++++ heimdal-0.6.3/cf/test-package.m4	Thu Aug 28 15:37:16 2003
+@@ -37,7 +37,7 @@
+ 
+ header_dirs=
+ lib_dirs=
+-for i in $d; do
++for i in $d /usr; do
+ 	if test "$with_$1_include" = ""; then
+ 		if test -d "$i/include/$1"; then
+ 			header_dirs="$header_dirs $i/include/$1"
+@@ -100,6 +100,7 @@
+ 			AC_TRY_LINK([$2],,lres=$i;break)
+ 		done
+ 		if test "$ires" -a "$lres" -a "$with_$1" != "no"; then
++			DIR_$1=
+ 			INCLUDE_$1="-I$ires"
+ 			LIB_$1="-L$lres $3 $4"
+ 			found=yes
+@@ -115,11 +116,13 @@
+ 	with_$1=yes
+ else
+ 	with_$1=no
++	DIR_$1=
+ 	INCLUDE_$1=
+ 	LIB_$1=
+ 	AC_MSG_RESULT(no)
+ fi
+ 
++AC_SUBST(DIR_$1)
+ AC_SUBST(INCLUDE_$1)
+ AC_SUBST(LIB_$1)
+ ])
+diff -ruN heimdal-0.6.3-old/configure.in heimdal-0.6.3/configure.in
+--- heimdal-0.6.3-old/configure.in	Tue May 13 01:26:39 2003
++++ heimdal-0.6.3/configure.in	Thu Aug 28 15:37:16 2003
+@@ -187,9 +187,10 @@
+ 
+ rk_DB
+ 
+-dnl AC_ROKEN(10,[/usr/heimdal /usr/athena],[lib/roken],[$(top_builddir)/lib/roken/libroken.la],[-I$(top_builddir)/lib/roken -I$(top_srcdir)/lib/roken])
+-
+-rk_ROKEN(lib/roken)
++AC_ROKEN(10,[/usr/heimdal /usr/athena],[lib/roken],[$(top_builddir)/lib/roken/libroken.la],[-I$(top_builddir)/lib/roken -I$(top_srcdir)/lib/roken])
++#if ! test "$roken_installed" = yes; then
++	rk_ROKEN(lib/roken)
++#fi
+ LIB_roken="\$(top_builddir)/lib/vers/libvers.la $LIB_roken"
+ 
+ rk_OTP
+@@ -209,6 +210,26 @@
+  #include <readline.h>],-lreadline,,, READLINE)
+ 
+ rk_TEST_PACKAGE(hesiod,[#include <hesiod.h>],-lhesiod,,, HESIOD)
++
++rk_TEST_PACKAGE(sl,,-lsl,,,SL)
++if ! test "$with_sl" = yes; then
++	DIR_sl="sl"
++	LIB_sl='$(top_builddir)/lib/sl/libsl.la'
++fi
++rk_TEST_PACKAGE(ss,,-lss,,,SS)
++if ! test "$with_sl" = yes; then
++	DIR_sl="sl"
++	LIB_sl='$(top_builddir)/lib/sl/libsl.la'
++	DIR_ss=""
++	LIB_ss='$(top_builddir)/lib/sl/libss.la'
++fi
++if test "$enable_otp" = "yes"; then
++  rk_TEST_PACKAGE(otp,,-lotp,,,OTP)
++  if ! test "$with_otp" = yes; then
++	DIR_otp="otp"
++ 	LIB_otp='$(top_builddir)/lib/otp/libotp.la'
++  fi
++fi
+ 
+ KRB_C_BIGENDIAN
+ AC_C_INLINE
+diff -ruN heimdal-0.6.3-old/kadmin/Makefile.am heimdal-0.6.3/kadmin/Makefile.am
+--- heimdal-0.6.3-old/kadmin/Makefile.am	Tue Aug 28 18:31:26 2001
++++ heimdal-0.6.3/kadmin/Makefile.am	Thu Aug 28 15:37:16 2003
+@@ -62,7 +62,7 @@
+ kadmin_LDADD = \
+ 	$(top_builddir)/lib/kadm5/libkadm5clnt.la \
+ 	$(top_builddir)/lib/kadm5/libkadm5srv.la \
+-	$(top_builddir)/lib/sl/libsl.la \
++	$(LIB_sl) \
+ 	$(LIB_readline) \
+ 	$(LDADD_common) \
+ 	$(LIB_dlopen)
+diff -ruN heimdal-0.6.3-old/lib/Makefile.am heimdal-0.6.3/lib/Makefile.am
+--- heimdal-0.6.3-old/lib/Makefile.am	Wed Aug 29 04:44:41 2001
++++ heimdal-0.6.3/lib/Makefile.am	Thu Aug 28 15:37:16 2003
+@@ -5,12 +5,9 @@
+ if KRB4
+ dir_45 = 45
+ endif
+-if OTP
+-dir_otp = otp
+-endif
+ if DCE
+ dir_dce = kdfs
+ endif
+ 
+-SUBDIRS = @DIR_roken@ vers editline @DIR_com_err@ sl asn1 @DIR_des@ krb5 \
+-	kafs hdb kadm5 gssapi auth $(dir_45) $(dir_otp) $(dir_dce)
++SUBDIRS = @DIR_roken@ vers @DIR_readline@ @DIR_com_err@ @DIR_sl@ asn1 @DIR_des@ krb5 \
++	kafs hdb kadm5 gssapi auth $(dir_45) @DIR_otp@ $(dir_dce)
+diff -ruN heimdal-0.6.3-old/lib/auth/afskauthlib/Makefile.am heimdal-0.6.3/lib/auth/afskauthlib/Makefile.am
+--- heimdal-0.6.3-old/lib/auth/afskauthlib/Makefile.am	Sun Jul 15 14:21:07 2001
++++ heimdal-0.6.3/lib/auth/afskauthlib/Makefile.am	Thu Aug 28 15:37:16 2003
+@@ -23,7 +23,7 @@
+ 	$(COMPILE) -c $<
+ 
+ if KRB4
+-KAFS = $(top_builddir)/lib/kafs/libkafs.la
++KAFS = $(LIB_kafs)
+ endif
+ 
+ if KRB5
+@@ -33,7 +33,7 @@
+ 	$(top_builddir)/lib/asn1/libasn1.la	\
+ 	$(LIB_krb4)				\
+ 	$(LIB_des)				\
+-	$(top_builddir)/lib/roken/libroken.la	\
++	$(LIB_roken)	\
+ 	-lc
+ 
+ else
+@@ -42,7 +42,7 @@
+ 	$(KAFS)	\
+ 	$(LIB_krb4)				\
+ 	$(LIB_des)				\
+-	$(top_builddir)/lib/roken/libroken.la	\
++	$(LIB_roken)	\
+ 	-lc
+ endif
+ 
+diff -ruN heimdal-0.6.3-old/lib/gssapi/Makefile.am heimdal-0.6.3/lib/gssapi/Makefile.am
+--- heimdal-0.6.3-old/lib/gssapi/Makefile.am	Tue May 13 01:20:46 2003
++++ heimdal-0.6.3/lib/gssapi/Makefile.am	Thu Aug 28 15:39:26 2003
+@@ -6,7 +6,7 @@
+ 
+ lib_LTLIBRARIES = libgssapi.la
+ libgssapi_la_LDFLAGS = -version-info 5:0:4
+-libgssapi_la_LIBADD  = ../krb5/libkrb5.la $(LIB_des) ../asn1/libasn1.la ../roken/libroken.la
++libgssapi_la_LIBADD  = ../krb5/libkrb5.la $(LIB_des) ../asn1/libasn1.la $(LIB_roken)
+ 
+ man_MANS = gssapi.3 gss_acquire_cred.3
+ 
+diff -ruN heimdal-0.6.3-old/lib/hdb/Makefile.am heimdal-0.6.3/lib/hdb/Makefile.am
+--- heimdal-0.6.3-old/lib/hdb/Makefile.am	Tue May 13 01:20:46 2003
++++ heimdal-0.6.3/lib/hdb/Makefile.am	Thu Aug 28 15:37:16 2003
+@@ -38,7 +38,7 @@
+ 
+ include_HEADERS = hdb.h hdb_err.h hdb_asn1.h hdb-protos.h hdb-private.h
+ 
+-libhdb_la_LIBADD = ../krb5/libkrb5.la ../asn1/libasn1.la ../roken/libroken.la $(LIB_openldap) $(DBLIB) $(LIB_NDBM)
++libhdb_la_LIBADD = ../krb5/libkrb5.la ../asn1/libasn1.la $(LIB_roken) $(LIB_openldap) $(DBLIB) $(LIB_NDBM)
+ 
+ $(libhdb_la_OBJECTS): $(srcdir)/hdb-protos.h $(srcdir)/hdb-private.h
+ 
+diff -ruN heimdal-0.6.3-old/lib/kadm5/Makefile.am heimdal-0.6.3/lib/kadm5/Makefile.am
+--- heimdal-0.6.3-old/lib/kadm5/Makefile.am	Tue May 13 01:20:46 2003
++++ heimdal-0.6.3/lib/kadm5/Makefile.am	Thu Aug 28 15:37:16 2003
+@@ -7,8 +7,8 @@
+ libkadm5clnt_la_LDFLAGS = -version-info 6:4:2
+ sbin_PROGRAMS = dump_log replay_log truncate_log
+ 
+-libkadm5srv_la_LIBADD = ../krb5/libkrb5.la ../hdb/libhdb.la ../roken/libroken.la
+-libkadm5clnt_la_LIBADD = ../krb5/libkrb5.la ../hdb/libhdb.la ../roken/libroken.la
++libkadm5srv_la_LIBADD = ../krb5/libkrb5.la ../hdb/libhdb.la $(LIB_roken)
++libkadm5clnt_la_LIBADD = ../krb5/libkrb5.la ../hdb/libhdb.la $(LIB_roken)
+ 
+ libexec_PROGRAMS = ipropd-master ipropd-slave
+ 
+diff -ruN heimdal-0.6.3-old/lib/kafs/Makefile.am heimdal-0.6.3/lib/kafs/Makefile.am
+--- heimdal-0.6.3-old/lib/kafs/Makefile.am	Tue May 13 01:20:46 2003
++++ heimdal-0.6.3/lib/kafs/Makefile.am	Thu Aug 28 15:42:10 2003
+@@ -51,7 +51,7 @@
+ AIX_SRC =
+ endif # AIX
+ 
+-libkafs_la_LIBADD = $(DEPLIB_krb5) ../roken/libroken.la $(DEPLIB_krb4)
++libkafs_la_LIBADD = $(DEPLIB_krb5) $(LIB_roken) $(DEPLIB_krb4)
+ 
+ lib_LTLIBRARIES = libkafs.la
+ libkafs_la_LDFLAGS = -version-info 4:0:4
+diff -ruN heimdal-0.6.3-old/lib/krb5/Makefile.am heimdal-0.6.3/lib/krb5/Makefile.am
+--- heimdal-0.6.3-old/lib/krb5/Makefile.am	Tue May 13 01:20:47 2003
++++ heimdal-0.6.3/lib/krb5/Makefile.am	Thu Aug 28 15:37:16 2003
+@@ -26,7 +26,7 @@
+ 	$(LIB_roken)
+ 
+ libkrb5_la_LIBADD = \
+-	../com_err/error.lo ../com_err/com_err.lo \
++	$(LIB_com_err) \
+ 	$(LIB_des) \
+ 	$(top_builddir)/lib/asn1/libasn1.la \
+ 	$(LIB_roken)
+diff -ruN heimdal-0.6.3-old/lib/roken/acconfig.h heimdal-0.6.3/lib/roken/acconfig.h
+--- heimdal-0.6.3-old/lib/roken/acconfig.h	Sun Jul  9 00:22:08 2000
++++ heimdal-0.6.3/lib/roken/acconfig.h	Thu Aug 28 15:37:16 2003
+@@ -12,7 +12,7 @@
+ #endif
+ 
+ #define RCSID(msg) \
+-static /**/const char *const rcsid[] = { (const char *)rcsid, "\100(#)" msg }
++static /**/const char *const rcsid[] = { (const char *)rcsid, "@(#)" msg }
+ 
+ #undef PROTOTYPES
+ 
--- heimdal-0.6.3.orig/debian/patches/013_maildir
+++ heimdal-0.6.3/debian/patches/013_maildir
@@ -0,0 +1,40 @@
+Index: heimdal-0.6.3/appl/popper/pop_pass.c
+===================================================================
+RCS file: /homes/bam/cvsroot/debian/heimdal/appl/popper/pop_pass.c,v
+retrieving revision 1.1.1.3
+retrieving revision 1.5
+diff -c -r1.1.1.3 -r1.5
+*** heimdal-0.6.3/appl/popper/pop_pass.c 2000/05/19 05:23:42 1.1.1.3
+--- heimdal-0.6.3/appl/popper/pop_pass.c	2000/05/19 05:33:06	1.5
+***************
+*** 197,203 ****
+  	    p->ipaddr, p->user);
+  
+      /*  Build the name of the user's maildrop */
+!     snprintf(p->drop_name, sizeof(p->drop_name), "%s/%s", POP_MAILDIR, p->user);
+  
+      if(stat(p->drop_name, &st) < 0 || !S_ISDIR(st.st_mode)){
+  	/*  Make a temporary copy of the user's maildrop */
+--- 197,218 ----
+  	    p->ipaddr, p->user);
+  
+      /*  Build the name of the user's maildrop */
+! 
+!     /* Try ~/Maildir */
+!     if (pw->pw_dir != NULL)
+! 	{
+!         snprintf(p->drop_name, sizeof(p->drop_name), "%s/%s", pw->pw_dir, "Maildir");
+! 	}
+!     if(pw->pw_dir != NULL && stat(p->drop_name, &st) < 0)
+! 	{
+!     	/* else try ~/Mailbox */
+! 	snprintf(p->drop_name, sizeof(p->drop_name), "%s/%s", pw->pw_dir, "Mailbox");
+! 	}
+!     if(pw->pw_dir == NULL || stat(p->drop_name, &st) < 0)
+! 	{
+!     	/* else try /var/spool/mail/userid */
+! 	snprintf(p->drop_name, sizeof(p->drop_name), "%s/%s", POP_MAILDIR, p->user);
+! 	}
+  
+      if(stat(p->drop_name, &st) < 0 || !S_ISDIR(st.st_mode)){
+  	/*  Make a temporary copy of the user's maildrop */
--- heimdal-0.6.3.orig/debian/patches/014_cache
+++ heimdal-0.6.3/debian/patches/014_cache
@@ -0,0 +1,72 @@
+diff -ruN heimdal-0.6.3-old/lib/krb5/cache.c heimdal-0.6.3/lib/krb5/cache.c
+--- heimdal-0.6.3-old/lib/krb5/cache.c	Mon May 14 16:14:45 2001
++++ heimdal-0.6.3/lib/krb5/cache.c	Tue Jun 19 20:16:49 2001
+@@ -99,13 +99,28 @@
+ {
+     krb5_error_code ret;
+     krb5_ccache p;
++    krb5_cc_ops *q;
+ 
+     p = malloc(sizeof(*p));
+     if(p == NULL) {
+ 	krb5_set_error_string(context, "malloc: out of memory");
+ 	return KRB5_CC_NOMEM;
+     }
+-    p->ops = ops;
++
++    q = malloc(sizeof(*q));
++    if(q == NULL) {
++	krb5_set_error_string(context, "malloc: out of memory");
++        return KRB5_CC_NOMEM;
++    }
++    memcpy(q, ops, sizeof(*q));
++    q->prefix = strdup(ops->prefix);
++    if(q->prefix == NULL) {
++        free(q);
++	krb5_set_error_string(context, "strdup: out of memory");
++        return KRB5_CC_NOMEM;
++    }
++
++    p->ops = q;
+     *id = p;
+     ret = p->ops->resolve(context, id, residual);
+     if(ret)
+@@ -155,13 +170,28 @@
+ 		krb5_ccache *id)
+ {
+     krb5_ccache p;
++    krb5_cc_ops *q;
+ 
+     p = malloc (sizeof(*p));
+     if (p == NULL) {
+ 	krb5_set_error_string(context, "malloc: out of memory");
+ 	return KRB5_CC_NOMEM;
+     }
+-    p->ops = ops;
++
++    q = malloc(sizeof(*q));
++    if(q == NULL) {
++	krb5_set_error_string(context, "malloc: out of memory");
++        return KRB5_CC_NOMEM;
++    }
++    memcpy(q, ops, sizeof(*q));
++    q->prefix = strdup(ops->prefix);
++    if(q->prefix == NULL) {
++        free(q);
++	krb5_set_error_string(context, "strdup: out of memory");
++        return KRB5_CC_NOMEM;
++    }
++
++    p->ops = q;
+     *id = p;
+     return p->ops->gen_new(context, id);
+ }
+@@ -264,6 +294,8 @@
+ {
+     krb5_error_code ret;
+     ret = id->ops->close(context, id);
++    free(id->ops->prefix);
++    free((krb5_cc_ops *)id->ops);
+     free(id);
+     return ret;
+ }
--- heimdal-0.6.3.orig/debian/patches/015_editline
+++ heimdal-0.6.3/debian/patches/015_editline
@@ -0,0 +1,56 @@
+--- heimdal-0.6.3.old/appl/ftp/ftp/Makefile.am	Tue Aug 28 18:31:21 2001
++++ heimdal-0.6.3/appl/ftp/ftp/Makefile.am	Sat Jun 28 14:31:37 2003
+@@ -2,7 +2,7 @@
+ 
+ include $(top_srcdir)/Makefile.am.common
+ 
+-INCLUDES += -I$(srcdir)/../common $(INCLUDE_readline) $(INCLUDE_krb4) $(INCLUDE_des)
++INCLUDES += -I$(srcdir)/../common -I/usr/include/editline $(INCLUDE_krb4) $(INCLUDE_des)
+ 
+ bin_PROGRAMS = ftp
+ 
+@@ -43,4 +43,4 @@
+ 	$(LIB_krb4) \
+ 	$(LIB_des) \
+ 	$(LIB_roken) \
+-	$(LIB_readline)
++	-ledit
+--- heimdal-0.6.3/kadmin/Makefile.am	2003-09-15 11:53:42.000000000 +0200
++++ heimdal-0.6.3/kadmin/Makefile.am.change	2003-09-15 12:59:00.000000000 +0200
+@@ -2,7 +2,7 @@
+ 
+ include $(top_srcdir)/Makefile.am.common
+ 
+-INCLUDES += $(INCLUDE_readline) $(INCLUDE_krb4) $(INCLUDE_des) -I$(srcdir)/../lib/krb5
++INCLUDES += -I/usr/include/editline $(INCLUDE_krb4) $(INCLUDE_des) -I$(srcdir)/../lib/krb5
+ 
+ sbin_PROGRAMS = kadmin
+ 
+@@ -63,7 +63,7 @@
+ 	$(top_builddir)/lib/kadm5/libkadm5clnt.la \
+ 	$(top_builddir)/lib/kadm5/libkadm5srv.la \
+ 	$(LIB_sl) \
+-	$(LIB_readline) \
++	-ledit \
+ 	$(LDADD_common) \
+ 	$(LIB_dlopen)
+ 
+
+--- heimdal-0.6.3/admin/Makefile.am	2003-09-15 11:53:42.000000000 +0200
++++ heimdal-0.6.3/admin/Makefile.am.change	2003-09-15 13:01:58.000000000 +0200
+@@ -25,5 +25,5 @@
+ 	$(LIB_des) \
+ 	$(top_builddir)/lib/asn1/libasn1.la \
+ 	$(LIB_sl) \
+-	$(LIB_readline) \
++	-ledit
+ 	$(LIB_roken)
+--- heimdal-0.6.3/lib/Makefile.am	2003-09-15 11:53:42.000000000 +0200
++++ heimdal-0.6.3/lib/Makefile.am.change	2003-09-15 12:44:36.000000000 +0200
+@@ -9,5 +9,5 @@
+ dir_dce = kdfs
+ endif
+ 
+-SUBDIRS = @DIR_roken@ vers @DIR_readline@ @DIR_com_err@ @DIR_sl@ asn1 @DIR_des@ krb5 \
++SUBDIRS = @DIR_roken@ vers @DIR_com_err@ @DIR_sl@ asn1 @DIR_des@ krb5 \
+ 	kafs hdb kadm5 gssapi auth $(dir_45) @DIR_otp@ $(dir_dce)
--- heimdal-0.6.3.orig/debian/patches/021_debian
+++ heimdal-0.6.3/debian/patches/021_debian
@@ -0,0 +1,50 @@
+Index: heimdal-0.6.3/appl/telnet/telnetd/telnetd.h
+===================================================================
+RCS file: /homes/bam/cvsroot/debian/heimdal/appl/telnet/telnetd/telnetd.h,v
+retrieving revision 1.1.1.2
+retrieving revision 1.2
+diff -c -r1.1.1.2 -r1.2
+*** heimdal-0.6.3/appl/telnet/telnetd/telnetd.h 1999/07/24 08:24:26 1.1.1.2
+--- appl/telnet/telnetd/telnetd.h	2000/01/06 09:22:48	1.2
+***************
+*** 193,199 ****
+  #endif
+  
+  #undef _PATH_LOGIN
+! #define _PATH_LOGIN	BINDIR "/login"
+  
+  /* fallbacks */
+  
+--- 193,199 ----
+  #endif
+  
+  #undef _PATH_LOGIN
+! #define _PATH_LOGIN	"/bin/login"
+  
+  /* fallbacks */
+  
+Index: heimdal-0.6.3/lib/hdb/hdb.h
+===================================================================
+RCS file: /homes/bam/cvsroot/debian/heimdal/lib/hdb/hdb.h,v
+retrieving revision 1.1.1.4
+retrieving revision 1.3
+diff -c -r1.1.1.4 -r1.3
+*** heimdal-0.6.3/lib/hdb/hdb.h 2000/07/31 03:16:43 1.1.1.4
+--- heimdal-0.6.3/lib/hdb/hdb.h	2000/07/31 03:22:57	1.3
+***************
+*** 78,84 ****
+      krb5_error_code (*destroy)(krb5_context, struct HDB*);
+  }HDB;
+  
+! #define HDB_DB_DIR "/var/heimdal"
+  #define HDB_DEFAULT_DB HDB_DB_DIR "/heimdal"
+  #define HDB_DB_FORMAT_ENTRY "hdb/db-format"
+  
+--- 78,84 ----
+      krb5_error_code (*destroy)(krb5_context, struct HDB*);
+  }HDB;
+  
+! #define HDB_DB_DIR "/var/lib/heimdal-kdc"
+  #define HDB_DEFAULT_DB HDB_DB_DIR "/heimdal"
+  #define HDB_DB_FORMAT_ENTRY "hdb/db-format"
+  
--- heimdal-0.6.3.orig/debian/patches/030_autotools
+++ heimdal-0.6.3/debian/patches/030_autotools
@@ -0,0 +1,110405 @@
+diff -ruN heimdal-0.6.3-old/aclocal.m4 heimdal-0.6.3/aclocal.m4
+--- heimdal-0.6.3-old/aclocal.m4	2004-09-13 22:26:41.000000000 +1000
++++ heimdal-0.6.3/aclocal.m4	2004-09-14 08:38:23.000000000 +1000
+@@ -1,6 +1,6 @@
+-# generated automatically by aclocal 1.8.3 -*- Autoconf -*-
++# generated automatically by aclocal 1.7.9 -*- Autoconf -*-
+ 
+-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
++# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002
+ # Free Software Foundation, Inc.
+ # This file is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,3746 +11,3574 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
+-# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
++# Add --enable-maintainer-mode option to configure.
++# From Jim Meyering
+ 
+-# serial 47 AC_PROG_LIBTOOL
++# Copyright 1996, 1998, 2000, 2001, 2002  Free Software Foundation, Inc.
+ 
++# 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, or (at your option)
++# any later version.
+ 
+-# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
+-# -----------------------------------------------------------
+-# If this macro is not defined by Autoconf, define it here.
+-m4_ifdef([AC_PROVIDE_IFELSE],
+-         [],
+-         [m4_define([AC_PROVIDE_IFELSE],
+-	         [m4_ifdef([AC_PROVIDE_$1],
+-		           [$2], [$3])])])
++# 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., 59 Temple Place - Suite 330, Boston, MA
++# 02111-1307, USA.
+ 
+-# AC_PROG_LIBTOOL
+-# ---------------
+-AC_DEFUN([AC_PROG_LIBTOOL],
+-[AC_REQUIRE([_AC_PROG_LIBTOOL])dnl
+-dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX
+-dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX.
+-  AC_PROVIDE_IFELSE([AC_PROG_CXX],
+-    [AC_LIBTOOL_CXX],
+-    [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX
+-  ])])
+-dnl And a similar setup for Fortran 77 support
+-  AC_PROVIDE_IFELSE([AC_PROG_F77],
+-    [AC_LIBTOOL_F77],
+-    [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77
+-])])
++# serial 2
+ 
+-dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly.
+-dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run
+-dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both.
+-  AC_PROVIDE_IFELSE([AC_PROG_GCJ],
+-    [AC_LIBTOOL_GCJ],
+-    [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
+-      [AC_LIBTOOL_GCJ],
+-      [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],
+-	[AC_LIBTOOL_GCJ],
+-      [ifdef([AC_PROG_GCJ],
+-	     [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])
+-       ifdef([A][M_PROG_GCJ],
+-	     [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])])
+-       ifdef([LT_AC_PROG_GCJ],
+-	     [define([LT_AC_PROG_GCJ],
+-		defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])])
+-])])# AC_PROG_LIBTOOL
++AC_DEFUN([AM_MAINTAINER_MODE],
++[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
++  dnl maintainer-mode is disabled by default
++  AC_ARG_ENABLE(maintainer-mode,
++[  --enable-maintainer-mode enable make rules and dependencies not useful
++                          (and sometimes confusing) to the casual installer],
++      USE_MAINTAINER_MODE=$enableval,
++      USE_MAINTAINER_MODE=no)
++  AC_MSG_RESULT([$USE_MAINTAINER_MODE])
++  AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
++  MAINT=$MAINTAINER_MODE_TRUE
++  AC_SUBST(MAINT)dnl
++]
++)
+ 
++AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
+ 
+-# _AC_PROG_LIBTOOL
+-# ----------------
+-AC_DEFUN([_AC_PROG_LIBTOOL],
+-[AC_REQUIRE([AC_LIBTOOL_SETUP])dnl
+-AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl
+-AC_BEFORE([$0],[AC_LIBTOOL_F77])dnl
+-AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl
++# AM_CONDITIONAL                                              -*- Autoconf -*-
+ 
+-# This can be used to rebuild libtool when needed
+-LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
++# Copyright 1997, 2000, 2001 Free Software Foundation, Inc.
+ 
+-# Always use our own libtool.
+-LIBTOOL='$(SHELL) $(top_builddir)/libtool'
+-AC_SUBST(LIBTOOL)dnl
++# 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, or (at your option)
++# any later version.
+ 
+-# Prevent multiple expansion
+-define([AC_PROG_LIBTOOL], [])
+-])# _AC_PROG_LIBTOOL
++# 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., 59 Temple Place - Suite 330, Boston, MA
++# 02111-1307, USA.
+ 
+-# AC_LIBTOOL_SETUP
+-# ----------------
+-AC_DEFUN([AC_LIBTOOL_SETUP],
+-[AC_PREREQ(2.50)dnl
+-AC_REQUIRE([AC_ENABLE_SHARED])dnl
+-AC_REQUIRE([AC_ENABLE_STATIC])dnl
+-AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl
+-AC_REQUIRE([AC_CANONICAL_HOST])dnl
+-AC_REQUIRE([AC_CANONICAL_BUILD])dnl
+-AC_REQUIRE([AC_PROG_CC])dnl
+-AC_REQUIRE([AC_PROG_LD])dnl
+-AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl
+-AC_REQUIRE([AC_PROG_NM])dnl
++# serial 5
+ 
+-AC_REQUIRE([AC_PROG_LN_S])dnl
+-AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl
+-# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
+-AC_REQUIRE([AC_OBJEXT])dnl
+-AC_REQUIRE([AC_EXEEXT])dnl
+-dnl
++AC_PREREQ(2.52)
+ 
+-AC_LIBTOOL_SYS_MAX_CMD_LEN
+-AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
+-AC_LIBTOOL_OBJDIR
++# AM_CONDITIONAL(NAME, SHELL-CONDITION)
++# -------------------------------------
++# Define a conditional.
++AC_DEFUN([AM_CONDITIONAL],
++[ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
++        [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
++AC_SUBST([$1_TRUE])
++AC_SUBST([$1_FALSE])
++if $2; then
++  $1_TRUE=
++  $1_FALSE='#'
++else
++  $1_TRUE='#'
++  $1_FALSE=
++fi
++AC_CONFIG_COMMANDS_PRE(
++[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
++  AC_MSG_ERROR([conditional "$1" was never defined.
++Usually this means the macro was only invoked conditionally.])
++fi])])
+ 
+-AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
+-_LT_AC_PROG_ECHO_BACKSLASH
++# Like AC_CONFIG_HEADER, but automatically create stamp file. -*- Autoconf -*-
+ 
+-case $host_os in
+-aix3*)
+-  # AIX sometimes has problems with the GCC collect2 program.  For some
+-  # reason, if we set the COLLECT_NAMES environment variable, the problems
+-  # vanish in a puff of smoke.
+-  if test "X${COLLECT_NAMES+set}" != Xset; then
+-    COLLECT_NAMES=
+-    export COLLECT_NAMES
+-  fi
+-  ;;
+-esac
++# Copyright 1996, 1997, 2000, 2001 Free Software Foundation, Inc.
+ 
+-# Sed substitution that helps us do robust quoting.  It backslashifies
+-# metacharacters that are still active within double-quoted strings.
+-Xsed='sed -e s/^X//'
+-[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g']
++# 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, or (at your option)
++# any later version.
+ 
+-# Same as above, but do not quote variable references.
+-[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g']
++# 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.
+ 
+-# Sed substitution to delay expansion of an escaped shell variable in a
+-# double_quote_subst'ed string.
+-delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
++# 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., 59 Temple Place - Suite 330, Boston, MA
++# 02111-1307, USA.
+ 
+-# Sed substitution to avoid accidental globbing in evaled expressions
+-no_glob_subst='s/\*/\\\*/g'
++AC_PREREQ([2.52])
+ 
+-# Constants:
+-rm="rm -f"
++# serial 6
+ 
+-# Global variables:
+-default_ofile=libtool
+-can_build_shared=yes
++# AM_CONFIG_HEADER is obsolete.  It has been replaced by AC_CONFIG_HEADERS.
++AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
+ 
+-# All known linkers require a `.a' archive for static linking (except M$VC,
+-# which needs '.lib').
+-libext=a
+-ltmain="$ac_aux_dir/ltmain.sh"
+-ofile="$default_ofile"
+-with_gnu_ld="$lt_cv_prog_gnu_ld"
++# Do all the work for Automake.                            -*- Autoconf -*-
+ 
+-AC_CHECK_TOOL(AR, ar, false)
+-AC_CHECK_TOOL(RANLIB, ranlib, :)
+-AC_CHECK_TOOL(STRIP, strip, :)
++# This macro actually does too much some checks are only needed if
++# your package does certain things.  But this isn't really a big deal.
+ 
+-old_CC="$CC"
+-old_CFLAGS="$CFLAGS"
++# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
++# Free Software Foundation, Inc.
+ 
+-# Set sane defaults for various variables
+-test -z "$AR" && AR=ar
+-test -z "$AR_FLAGS" && AR_FLAGS=cru
+-test -z "$AS" && AS=as
+-test -z "$CC" && CC=cc
+-test -z "$LTCC" && LTCC=$CC
+-test -z "$DLLTOOL" && DLLTOOL=dlltool
+-test -z "$LD" && LD=ld
+-test -z "$LN_S" && LN_S="ln -s"
+-test -z "$MAGIC_CMD" && MAGIC_CMD=file
+-test -z "$NM" && NM=nm
+-test -z "$SED" && SED=sed
+-test -z "$OBJDUMP" && OBJDUMP=objdump
+-test -z "$RANLIB" && RANLIB=:
+-test -z "$STRIP" && STRIP=:
+-test -z "$ac_objext" && ac_objext=o
++# 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, or (at your option)
++# any later version.
+ 
+-# Determine commands to create old-style static archives.
+-old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
+-old_postinstall_cmds='chmod 644 $oldlib'
+-old_postuninstall_cmds=
++# 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.
+ 
+-if test -n "$RANLIB"; then
+-  case $host_os in
+-  openbsd*)
+-    old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
+-    ;;
+-  *)
+-    old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
+-    ;;
+-  esac
+-  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
+-fi
++# 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., 59 Temple Place - Suite 330, Boston, MA
++# 02111-1307, USA.
+ 
+-# Only perform the check for file, if the check method requires it
+-case $deplibs_check_method in
+-file_magic*)
+-  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
+-    AC_PATH_MAGIC
+-  fi
+-  ;;
+-esac
++# serial 10
+ 
+-AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no)
+-AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
+-enable_win32_dll=yes, enable_win32_dll=no)
++AC_PREREQ([2.54])
+ 
+-AC_ARG_ENABLE([libtool-lock],
+-    [AC_HELP_STRING([--disable-libtool-lock],
+-	[avoid locking (might break parallel builds)])])
+-test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
++# Autoconf 2.50 wants to disallow AM_ names.  We explicitly allow
++# the ones we care about.
++m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
+ 
+-AC_ARG_WITH([pic],
+-    [AC_HELP_STRING([--with-pic],
+-	[try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
+-    [pic_mode="$withval"],
+-    [pic_mode=default])
+-test -z "$pic_mode" && pic_mode=default
++# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
++# AM_INIT_AUTOMAKE([OPTIONS])
++# -----------------------------------------------
++# The call with PACKAGE and VERSION arguments is the old style
++# call (pre autoconf-2.50), which is being phased out.  PACKAGE
++# and VERSION should now be passed to AC_INIT and removed from
++# the call to AM_INIT_AUTOMAKE.
++# We support both call styles for the transition.  After
++# the next Automake release, Autoconf can make the AC_INIT
++# arguments mandatory, and then we can depend on a new Autoconf
++# release and drop the old call support.
++AC_DEFUN([AM_INIT_AUTOMAKE],
++[AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
++ AC_REQUIRE([AC_PROG_INSTALL])dnl
++# test to see if srcdir already configured
++if test "`cd $srcdir && pwd`" != "`pwd`" &&
++   test -f $srcdir/config.status; then
++  AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
++fi
+ 
+-# Use C for the default configuration in the libtool script
+-tagname=
+-AC_LIBTOOL_LANG_C_CONFIG
+-_LT_AC_TAGCONFIG
+-])# AC_LIBTOOL_SETUP
++# test whether we have cygpath
++if test -z "$CYGPATH_W"; then
++  if (cygpath --version) >/dev/null 2>/dev/null; then
++    CYGPATH_W='cygpath -w'
++  else
++    CYGPATH_W=echo
++  fi
++fi
++AC_SUBST([CYGPATH_W])
+ 
++# Define the identity of the package.
++dnl Distinguish between old-style and new-style calls.
++m4_ifval([$2],
++[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
++ AC_SUBST([PACKAGE], [$1])dnl
++ AC_SUBST([VERSION], [$2])],
++[_AM_SET_OPTIONS([$1])dnl
++ AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
++ AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
+ 
+-# _LT_AC_SYS_COMPILER
+-# -------------------
+-AC_DEFUN([_LT_AC_SYS_COMPILER],
+-[AC_REQUIRE([AC_PROG_CC])dnl
++_AM_IF_OPTION([no-define],,
++[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
++ AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
+ 
+-# If no C compiler was specified, use CC.
+-LTCC=${LTCC-"$CC"}
++# Some tools Automake needs.
++AC_REQUIRE([AM_SANITY_CHECK])dnl
++AC_REQUIRE([AC_ARG_PROGRAM])dnl
++AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
++AM_MISSING_PROG(AUTOCONF, autoconf)
++AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
++AM_MISSING_PROG(AUTOHEADER, autoheader)
++AM_MISSING_PROG(MAKEINFO, makeinfo)
++AM_MISSING_PROG(AMTAR, tar)
++AM_PROG_INSTALL_SH
++AM_PROG_INSTALL_STRIP
++# We need awk for the "check" target.  The system "awk" is bad on
++# some platforms.
++AC_REQUIRE([AC_PROG_AWK])dnl
++AC_REQUIRE([AC_PROG_MAKE_SET])dnl
++AC_REQUIRE([AM_SET_LEADING_DOT])dnl
+ 
+-# Allow CC to be a program name with arguments.
+-compiler=$CC
+-])# _LT_AC_SYS_COMPILER
++_AM_IF_OPTION([no-dependencies],,
++[AC_PROVIDE_IFELSE([AC_PROG_CC],
++                  [_AM_DEPENDENCIES(CC)],
++                  [define([AC_PROG_CC],
++                          defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
++AC_PROVIDE_IFELSE([AC_PROG_CXX],
++                  [_AM_DEPENDENCIES(CXX)],
++                  [define([AC_PROG_CXX],
++                          defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
++])
++])
+ 
+ 
+-# _LT_AC_SYS_LIBPATH_AIX
+-# ----------------------
+-# Links a minimal program and checks the executable
+-# for the system default hardcoded library path. In most cases,
+-# this is /usr/lib:/lib, but when the MPI compilers are used
+-# the location of the communication and MPI libs are included too.
+-# If we don't find anything, use the default library path according
+-# to the aix ld manual.
+-AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX],
+-[AC_LINK_IFELSE(AC_LANG_PROGRAM,[
+-aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
+-}'`
+-# Check for a 64-bit object if we didn't find anything.
+-if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
+-}'`; fi],[])
+-if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+-])# _LT_AC_SYS_LIBPATH_AIX
++# When config.status generates a header, we must update the stamp-h file.
++# This file resides in the same directory as the config header
++# that is generated.  The stamp files are numbered to have different names.
+ 
++# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
++# loop where config.status creates the headers, so we can generate
++# our stamp files there.
++AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
++[# Compute $1's index in $config_headers.
++_am_stamp_count=1
++for _am_header in $config_headers :; do
++  case $_am_header in
++    $1 | $1:* )
++      break ;;
++    * )
++      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
++  esac
++done
++echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
+ 
+-# _LT_AC_SHELL_INIT(ARG)
+-# ----------------------
+-AC_DEFUN([_LT_AC_SHELL_INIT],
+-[ifdef([AC_DIVERSION_NOTICE],
+-	     [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
+-	 [AC_DIVERT_PUSH(NOTICE)])
+-$1
+-AC_DIVERT_POP
+-])# _LT_AC_SHELL_INIT
++# Copyright 2002  Free Software Foundation, Inc.
+ 
++# 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, or (at your option)
++# any later version.
+ 
+-# _LT_AC_PROG_ECHO_BACKSLASH
+-# --------------------------
+-# Add some code to the start of the generated configure script which
+-# will find an echo command which doesn't interpret backslashes.
+-AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH],
+-[_LT_AC_SHELL_INIT([
+-# Check that we are running under the correct shell.
+-SHELL=${CONFIG_SHELL-/bin/sh}
++# 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.
+ 
+-case X$ECHO in
+-X*--fallback-echo)
+-  # Remove one level of quotation (which was required for Make).
+-  ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
+-  ;;
+-esac
++# 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., 59 Temple Place - Suite 330, Boston, MA
+ 
+-echo=${ECHO-echo}
+-if test "X[$]1" = X--no-reexec; then
+-  # Discard the --no-reexec flag, and continue.
+-  shift
+-elif test "X[$]1" = X--fallback-echo; then
+-  # Avoid inline document here, it may be left over
+-  :
+-elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
+-  # Yippee, $echo works!
+-  :
+-else
+-  # Restart under the correct shell.
+-  exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
+-fi
++# AM_AUTOMAKE_VERSION(VERSION)
++# ----------------------------
++# Automake X.Y traces this macro to ensure aclocal.m4 has been
++# generated from the m4 files accompanying Automake X.Y.
++AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.7"])
+ 
+-if test "X[$]1" = X--fallback-echo; then
+-  # used as fallback echo
+-  shift
+-  cat <<EOF
+-[$]*
+-EOF
+-  exit 0
+-fi
++# AM_SET_CURRENT_AUTOMAKE_VERSION
++# -------------------------------
++# Call AM_AUTOMAKE_VERSION so it can be traced.
++# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
++AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
++	 [AM_AUTOMAKE_VERSION([1.7.9])])
+ 
+-# The HP-UX ksh and POSIX shell print the target directory to stdout
+-# if CDPATH is set.
+-if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
++# Helper functions for option handling.                    -*- Autoconf -*-
+ 
+-if test -z "$ECHO"; then
+-if test "X${echo_test_string+set}" != Xset; then
+-# find a string as large as possible, as long as the shell can cope with it
+-  for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
+-    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
+-    if (echo_test_string="`eval $cmd`") 2>/dev/null &&
+-       echo_test_string="`eval $cmd`" &&
+-       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
+-    then
+-      break
+-    fi
+-  done
+-fi
++# Copyright 2001, 2002  Free Software Foundation, Inc.
+ 
+-if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
+-   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
+-   test "X$echo_testing_string" = "X$echo_test_string"; then
+-  :
+-else
+-  # The Solaris, AIX, and Digital Unix default echo programs unquote
+-  # backslashes.  This makes it impossible to quote backslashes using
+-  #   echo "$something" | sed 's/\\/\\\\/g'
+-  #
+-  # So, first we look for a working echo in the user's PATH.
++# 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, or (at your option)
++# any later version.
+ 
+-  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
+-  for dir in $PATH /usr/ucb; do
+-    IFS="$lt_save_ifs"
+-    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
+-       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
+-       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
+-       test "X$echo_testing_string" = "X$echo_test_string"; then
+-      echo="$dir/echo"
+-      break
+-    fi
+-  done
+-  IFS="$lt_save_ifs"
++# 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.
+ 
+-  if test "X$echo" = Xecho; then
+-    # We didn't find a better echo, so look for alternatives.
+-    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
+-       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
+-       test "X$echo_testing_string" = "X$echo_test_string"; then
+-      # This shell has a builtin print -r that does the trick.
+-      echo='print -r'
+-    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
+-	 test "X$CONFIG_SHELL" != X/bin/ksh; then
+-      # If we have ksh, try running configure again with it.
+-      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
+-      export ORIGINAL_CONFIG_SHELL
+-      CONFIG_SHELL=/bin/ksh
+-      export CONFIG_SHELL
+-      exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
+-    else
+-      # Try using printf.
+-      echo='printf %s\n'
+-      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
+-	 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
+-	 test "X$echo_testing_string" = "X$echo_test_string"; then
+-	# Cool, printf works
+-	:
+-      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
+-	   test "X$echo_testing_string" = 'X\t' &&
+-	   echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
+-	   test "X$echo_testing_string" = "X$echo_test_string"; then
+-	CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
+-	export CONFIG_SHELL
+-	SHELL="$CONFIG_SHELL"
+-	export SHELL
+-	echo="$CONFIG_SHELL [$]0 --fallback-echo"
+-      elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
+-	   test "X$echo_testing_string" = 'X\t' &&
+-	   echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
+-	   test "X$echo_testing_string" = "X$echo_test_string"; then
+-	echo="$CONFIG_SHELL [$]0 --fallback-echo"
+-      else
+-	# maybe with a smaller string...
+-	prev=:
++# 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., 59 Temple Place - Suite 330, Boston, MA
++# 02111-1307, USA.
+ 
+-	for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
+-	  if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
+-	  then
+-	    break
+-	  fi
+-	  prev="$cmd"
+-	done
++# serial 2
+ 
+-	if test "$prev" != 'sed 50q "[$]0"'; then
+-	  echo_test_string=`eval $prev`
+-	  export echo_test_string
+-	  exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
+-	else
+-	  # Oops.  We lost completely, so just stick with echo.
+-	  echo=echo
+-	fi
+-      fi
+-    fi
+-  fi
+-fi
+-fi
++# _AM_MANGLE_OPTION(NAME)
++# -----------------------
++AC_DEFUN([_AM_MANGLE_OPTION],
++[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
+ 
+-# Copy echo and quote the copy suitably for passing to libtool from
+-# the Makefile, instead of quoting the original, which is used later.
+-ECHO=$echo
+-if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
+-   ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
+-fi
++# _AM_SET_OPTION(NAME)
++# ------------------------------
++# Set option NAME.  Presently that only means defining a flag for this option.
++AC_DEFUN([_AM_SET_OPTION],
++[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
+ 
+-AC_SUBST(ECHO)
+-])])# _LT_AC_PROG_ECHO_BACKSLASH
++# _AM_SET_OPTIONS(OPTIONS)
++# ----------------------------------
++# OPTIONS is a space-separated list of Automake options.
++AC_DEFUN([_AM_SET_OPTIONS],
++[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
+ 
++# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
++# -------------------------------------------
++# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
++AC_DEFUN([_AM_IF_OPTION],
++[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
+ 
+-# _LT_AC_LOCK
+-# -----------
+-AC_DEFUN([_LT_AC_LOCK],
+-[AC_ARG_ENABLE([libtool-lock],
+-    [AC_HELP_STRING([--disable-libtool-lock],
+-	[avoid locking (might break parallel builds)])])
+-test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
++#
++# Check to make sure that the build environment is sane.
++#
+ 
+-# Some flags need to be propagated to the compiler or linker for good
+-# libtool support.
+-case $host in
+-ia64-*-hpux*)
+-  # Find out which ABI we are using.
+-  echo 'int i;' > conftest.$ac_ext
+-  if AC_TRY_EVAL(ac_compile); then
+-    case `/usr/bin/file conftest.$ac_objext` in
+-    *ELF-32*)
+-      HPUX_IA64_MODE="32"
+-      ;;
+-    *ELF-64*)
+-      HPUX_IA64_MODE="64"
+-      ;;
+-    esac
+-  fi
+-  rm -rf conftest*
+-  ;;
+-*-*-irix6*)
+-  # Find out which ABI we are using.
+-  echo '[#]line __oline__ "configure"' > conftest.$ac_ext
+-  if AC_TRY_EVAL(ac_compile); then
+-   if test "$lt_cv_prog_gnu_ld" = yes; then
+-    case `/usr/bin/file conftest.$ac_objext` in
+-    *32-bit*)
+-      LD="${LD-ld} -melf32bsmip"
+-      ;;
+-    *N32*)
+-      LD="${LD-ld} -melf32bmipn32"
+-      ;;
+-    *64-bit*)
+-      LD="${LD-ld} -melf64bmip"
+-      ;;
+-    esac
+-   else
+-    case `/usr/bin/file conftest.$ac_objext` in
+-    *32-bit*)
+-      LD="${LD-ld} -32"
+-      ;;
+-    *N32*)
+-      LD="${LD-ld} -n32"
+-      ;;
+-    *64-bit*)
+-      LD="${LD-ld} -64"
+-      ;;
+-    esac
++# Copyright 1996, 1997, 2000, 2001 Free Software Foundation, Inc.
++
++# 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, 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., 59 Temple Place - Suite 330, Boston, MA
++# 02111-1307, USA.
++
++# serial 3
++
++# AM_SANITY_CHECK
++# ---------------
++AC_DEFUN([AM_SANITY_CHECK],
++[AC_MSG_CHECKING([whether build environment is sane])
++# Just in case
++sleep 1
++echo timestamp > conftest.file
++# Do `set' in a subshell so we don't clobber the current shell's
++# arguments.  Must try -L first in case configure is actually a
++# symlink; some systems play weird games with the mod time of symlinks
++# (eg FreeBSD returns the mod time of the symlink's containing
++# directory).
++if (
++   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
++   if test "$[*]" = "X"; then
++      # -L didn't work.
++      set X `ls -t $srcdir/configure conftest.file`
+    fi
+-  fi
+-  rm -rf conftest*
+-  ;;
++   rm -f conftest.file
++   if test "$[*]" != "X $srcdir/configure conftest.file" \
++      && test "$[*]" != "X conftest.file $srcdir/configure"; then
+ 
+-x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
+-  # Find out which ABI we are using.
+-  echo 'int i;' > conftest.$ac_ext
+-  if AC_TRY_EVAL(ac_compile); then
+-    case "`/usr/bin/file conftest.o`" in
+-    *32-bit*)
+-      case $host in
+-        x86_64-*linux*)
+-          LD="${LD-ld} -m elf_i386"
+-          ;;
+-        ppc64-*linux*|powerpc64-*linux*)
+-          LD="${LD-ld} -m elf32ppclinux"
+-          ;;
+-        s390x-*linux*)
+-          LD="${LD-ld} -m elf_s390"
+-          ;;
+-        sparc64-*linux*)
+-          LD="${LD-ld} -m elf32_sparc"
+-          ;;
+-      esac
+-      ;;
+-    *64-bit*)
+-      case $host in
+-        x86_64-*linux*)
+-          LD="${LD-ld} -m elf_x86_64"
+-          ;;
+-        ppc*-*linux*|powerpc*-*linux*)
+-          LD="${LD-ld} -m elf64ppc"
+-          ;;
+-        s390*-*linux*)
+-          LD="${LD-ld} -m elf64_s390"
+-          ;;
+-        sparc*-*linux*)
+-          LD="${LD-ld} -m elf64_sparc"
+-          ;;
+-      esac
+-      ;;
+-    esac
+-  fi
+-  rm -rf conftest*
+-  ;;
++      # If neither matched, then we have a broken ls.  This can happen
++      # if, for instance, CONFIG_SHELL is bash and it inherits a
++      # broken ls alias from the environment.  This has actually
++      # happened.  Such a system could not be considered "sane".
++      AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
++alias in your environment])
++   fi
+ 
+-*-*-sco3.2v5*)
+-  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
+-  SAVE_CFLAGS="$CFLAGS"
+-  CFLAGS="$CFLAGS -belf"
+-  AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
+-    [AC_LANG_PUSH(C)
+-     AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
+-     AC_LANG_POP])
+-  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
+-    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
+-    CFLAGS="$SAVE_CFLAGS"
+-  fi
+-  ;;
+-AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
+-[*-*-cygwin* | *-*-mingw* | *-*-pw32*)
+-  AC_CHECK_TOOL(DLLTOOL, dlltool, false)
+-  AC_CHECK_TOOL(AS, as, false)
+-  AC_CHECK_TOOL(OBJDUMP, objdump, false)
+-  ;;
+-  ])
+-esac
++   test "$[2]" = conftest.file
++   )
++then
++   # Ok.
++   :
++else
++   AC_MSG_ERROR([newly created file is older than distributed files!
++Check your system clock])
++fi
++AC_MSG_RESULT(yes)])
+ 
+-need_locks="$enable_libtool_lock"
++#  -*- Autoconf -*-
+ 
+-])# _LT_AC_LOCK
+ 
++# Copyright 1997, 1999, 2000, 2001 Free Software Foundation, Inc.
+ 
+-# AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
+-#		[OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
+-# ----------------------------------------------------------------
+-# Check whether the given compiler option works
+-AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION],
+-[AC_REQUIRE([LT_AC_PROG_SED])
+-AC_CACHE_CHECK([$1], [$2],
+-  [$2=no
+-  ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
+-   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
+-   lt_compiler_flag="$3"
+-   # Insert the option either (1) after the last *FLAGS variable, or
+-   # (2) before a word containing "conftest.", or (3) at the end.
+-   # Note that $ac_compile itself does not contain backslashes and begins
+-   # with a dollar sign (not a hyphen), so the echo should work correctly.
+-   # The option is referenced via a variable to avoid confusing sed.
+-   lt_compile=`echo "$ac_compile" | $SED \
+-   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
+-   -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
+-   -e 's:$: $lt_compiler_flag:'`
+-   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
+-   (eval "$lt_compile" 2>conftest.err)
+-   ac_status=$?
+-   cat conftest.err >&AS_MESSAGE_LOG_FD
+-   echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
+-   if (exit $ac_status) && test -s "$ac_outfile"; then
+-     # The compiler can only warn and ignore the option if not recognized
+-     # So say no if there are warnings
+-     if test ! -s conftest.err; then
+-       $2=yes
+-     fi
+-   fi
+-   $rm conftest*
+-])
++# 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, or (at your option)
++# any later version.
+ 
+-if test x"[$]$2" = xyes; then
+-    ifelse([$5], , :, [$5])
+-else
+-    ifelse([$6], , :, [$6])
+-fi
+-])# AC_LIBTOOL_COMPILER_OPTION
++# 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., 59 Temple Place - Suite 330, Boston, MA
++# 02111-1307, USA.
+ 
+-# AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
+-#                          [ACTION-SUCCESS], [ACTION-FAILURE])
+-# ------------------------------------------------------------
+-# Check whether the given compiler option works
+-AC_DEFUN([AC_LIBTOOL_LINKER_OPTION],
+-[AC_CACHE_CHECK([$1], [$2],
+-  [$2=no
+-   save_LDFLAGS="$LDFLAGS"
+-   LDFLAGS="$LDFLAGS $3"
+-   printf "$lt_simple_link_test_code" > conftest.$ac_ext
+-   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
+-     # The compiler can only warn and ignore the option if not recognized
+-     # So say no if there are warnings
+-     if test -s conftest.err; then
+-       # Append any errors to the config.log.
+-       cat conftest.err 1>&AS_MESSAGE_LOG_FD
+-     else
+-       $2=yes
+-     fi
+-   fi
+-   $rm conftest*
+-   LDFLAGS="$save_LDFLAGS"
+-])
++# serial 3
+ 
+-if test x"[$]$2" = xyes; then
+-    ifelse([$4], , :, [$4])
++# AM_MISSING_PROG(NAME, PROGRAM)
++# ------------------------------
++AC_DEFUN([AM_MISSING_PROG],
++[AC_REQUIRE([AM_MISSING_HAS_RUN])
++$1=${$1-"${am_missing_run}$2"}
++AC_SUBST($1)])
++
++
++# AM_MISSING_HAS_RUN
++# ------------------
++# Define MISSING if not defined so far and test if it supports --run.
++# If it does, set am_missing_run to use it, otherwise, to nothing.
++AC_DEFUN([AM_MISSING_HAS_RUN],
++[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
++test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
++# Use eval to expand $SHELL
++if eval "$MISSING --run true"; then
++  am_missing_run="$MISSING --run "
+ else
+-    ifelse([$5], , :, [$5])
++  am_missing_run=
++  AC_MSG_WARN([`missing' script is too old or missing])
+ fi
+-])# AC_LIBTOOL_LINKER_OPTION
++])
+ 
++# AM_AUX_DIR_EXPAND
+ 
+-# AC_LIBTOOL_SYS_MAX_CMD_LEN
+-# --------------------------
+-AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN],
+-[# find the maximum length of command line arguments
+-AC_MSG_CHECKING([the maximum length of command line arguments])
+-AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
+-  i=0
+-  testring="ABCD"
++# Copyright 2001 Free Software Foundation, Inc.
+ 
+-  case $build_os in
+-  msdosdjgpp*)
+-    # On DJGPP, this test can blow up pretty badly due to problems in libc
+-    # (any single argument exceeding 2000 bytes causes a buffer overrun
+-    # during glob expansion).  Even if it were fixed, the result of this
+-    # check would be larger than it should be.
+-    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
+-    ;;
++# 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, or (at your option)
++# any later version.
+ 
+-  gnu*)
+-    # Under GNU Hurd, this test is not required because there is
+-    # no limit to the length of command line arguments.
+-    # Libtool will interpret -1 as no limit whatsoever
+-    lt_cv_sys_max_cmd_len=-1;
+-    ;;
++# 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.
+ 
+-  cygwin* | mingw*)
+-    # On Win9x/ME, this test blows up -- it succeeds, but takes
+-    # about 5 minutes as the teststring grows exponentially.
+-    # Worse, since 9x/ME are not pre-emptively multitasking,
+-    # you end up with a "frozen" computer, even though with patience
+-    # the test eventually succeeds (with a max line length of 256k).
+-    # Instead, let's just punt: use the minimum linelength reported by
+-    # all of the supported platforms: 8192 (on NT/2K/XP).
+-    lt_cv_sys_max_cmd_len=8192;
+-    ;;
++# 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., 59 Temple Place - Suite 330, Boston, MA
++# 02111-1307, USA.
+ 
+-  amigaos*)
+-    # On AmigaOS with pdksh, this test takes hours, literally.
+-    # So we just punt and use a minimum line length of 8192.
+-    lt_cv_sys_max_cmd_len=8192;
+-    ;;
++# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
++# $ac_aux_dir to `$srcdir/foo'.  In other projects, it is set to
++# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
++#
++# Of course, Automake must honor this variable whenever it calls a
++# tool from the auxiliary directory.  The problem is that $srcdir (and
++# therefore $ac_aux_dir as well) can be either absolute or relative,
++# depending on how configure is run.  This is pretty annoying, since
++# it makes $ac_aux_dir quite unusable in subdirectories: in the top
++# source directory, any form will work fine, but in subdirectories a
++# relative path needs to be adjusted first.
++#
++# $ac_aux_dir/missing
++#    fails when called from a subdirectory if $ac_aux_dir is relative
++# $top_srcdir/$ac_aux_dir/missing
++#    fails if $ac_aux_dir is absolute,
++#    fails when called from a subdirectory in a VPATH build with
++#          a relative $ac_aux_dir
++#
++# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
++# are both prefixed by $srcdir.  In an in-source build this is usually
++# harmless because $srcdir is `.', but things will broke when you
++# start a VPATH build or use an absolute $srcdir.
++#
++# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
++# iff we strip the leading $srcdir from $ac_aux_dir.  That would be:
++#   am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
++# and then we would define $MISSING as
++#   MISSING="\${SHELL} $am_aux_dir/missing"
++# This will work as long as MISSING is not called from configure, because
++# unfortunately $(top_srcdir) has no meaning in configure.
++# However there are other variables, like CC, which are often used in
++# configure, and could therefore not use this "fixed" $ac_aux_dir.
++#
++# Another solution, used here, is to always expand $ac_aux_dir to an
++# absolute PATH.  The drawback is that using absolute paths prevent a
++# configured tree to be moved without reconfiguration.
+ 
+- *)
+-    # If test is not a shell built-in, we'll probably end up computing a
+-    # maximum length that is only half of the actual maximum length, but
+-    # we can't tell.
+-    while (test "X"`$CONFIG_SHELL [$]0 --fallback-echo "X$testring" 2>/dev/null` \
+-	       = "XX$testring") >/dev/null 2>&1 &&
+-	    new_result=`expr "X$testring" : ".*" 2>&1` &&
+-	    lt_cv_sys_max_cmd_len=$new_result &&
+-	    test $i != 17 # 1/2 MB should be enough
+-    do
+-      i=`expr $i + 1`
+-      testring=$testring$testring
+-    done
+-    testring=
+-    # Add a significant safety factor because C++ compilers can tack on massive
+-    # amounts of additional arguments before passing them to the linker.
+-    # It appears as though 1/2 is a usable value.
+-    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
+-    ;;
+-  esac
++# Rely on autoconf to set up CDPATH properly.
++AC_PREREQ([2.50])
++
++AC_DEFUN([AM_AUX_DIR_EXPAND], [
++# expand $ac_aux_dir to an absolute path
++am_aux_dir=`cd $ac_aux_dir && pwd`
+ ])
+-if test -n $lt_cv_sys_max_cmd_len ; then
+-  AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
+-else
+-  AC_MSG_RESULT(none)
+-fi
+-])# AC_LIBTOOL_SYS_MAX_CMD_LEN
+ 
++# AM_PROG_INSTALL_SH
++# ------------------
++# Define $install_sh.
+ 
+-# _LT_AC_CHECK_DLFCN
+-# --------------------
+-AC_DEFUN([_LT_AC_CHECK_DLFCN],
+-[AC_CHECK_HEADERS(dlfcn.h)dnl
+-])# _LT_AC_CHECK_DLFCN
++# Copyright 2001 Free Software Foundation, Inc.
+ 
++# 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, or (at your option)
++# any later version.
+ 
+-# _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
+-#                           ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
+-# ------------------------------------------------------------------
+-AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF],
+-[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
+-if test "$cross_compiling" = yes; then :
+-  [$4]
+-else
+-  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
+-  lt_status=$lt_dlunknown
+-  cat > conftest.$ac_ext <<EOF
+-[#line __oline__ "configure"
+-#include "confdefs.h"
++# 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.
+ 
+-#if HAVE_DLFCN_H
+-#include <dlfcn.h>
+-#endif
++# 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., 59 Temple Place - Suite 330, Boston, MA
++# 02111-1307, USA.
+ 
+-#include <stdio.h>
++AC_DEFUN([AM_PROG_INSTALL_SH],
++[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
++install_sh=${install_sh-"$am_aux_dir/install-sh"}
++AC_SUBST(install_sh)])
+ 
+-#ifdef RTLD_GLOBAL
+-#  define LT_DLGLOBAL		RTLD_GLOBAL
+-#else
+-#  ifdef DL_GLOBAL
+-#    define LT_DLGLOBAL		DL_GLOBAL
+-#  else
+-#    define LT_DLGLOBAL		0
+-#  endif
+-#endif
++# AM_PROG_INSTALL_STRIP
+ 
+-/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
+-   find out it does not work in some platform. */
+-#ifndef LT_DLLAZY_OR_NOW
+-#  ifdef RTLD_LAZY
+-#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
+-#  else
+-#    ifdef DL_LAZY
+-#      define LT_DLLAZY_OR_NOW		DL_LAZY
+-#    else
+-#      ifdef RTLD_NOW
+-#        define LT_DLLAZY_OR_NOW	RTLD_NOW
+-#      else
+-#        ifdef DL_NOW
+-#          define LT_DLLAZY_OR_NOW	DL_NOW
+-#        else
+-#          define LT_DLLAZY_OR_NOW	0
+-#        endif
+-#      endif
+-#    endif
+-#  endif
+-#endif
++# Copyright 2001 Free Software Foundation, Inc.
+ 
+-#ifdef __cplusplus
+-extern "C" void exit (int);
+-#endif
++# 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, or (at your option)
++# any later version.
+ 
+-void fnord() { int i=42;}
+-int main ()
+-{
+-  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
+-  int status = $lt_dlunknown;
++# 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.
+ 
+-  if (self)
+-    {
+-      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
+-      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
+-      /* dlclose (self); */
+-    }
++# 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., 59 Temple Place - Suite 330, Boston, MA
++# 02111-1307, USA.
+ 
+-    exit (status);
+-}]
+-EOF
+-  if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
+-    (./conftest; exit; ) 2>/dev/null
+-    lt_status=$?
+-    case x$lt_status in
+-      x$lt_dlno_uscore) $1 ;;
+-      x$lt_dlneed_uscore) $2 ;;
+-      x$lt_unknown|x*) $3 ;;
+-    esac
+-  else :
+-    # compilation failed
+-    $3
+-  fi
++# One issue with vendor `install' (even GNU) is that you can't
++# specify the program used to strip binaries.  This is especially
++# annoying in cross-compiling environments, where the build's strip
++# is unlikely to handle the host's binaries.
++# Fortunately install-sh will honor a STRIPPROG variable, so we
++# always use install-sh in `make install-strip', and initialize
++# STRIPPROG with the value of the STRIP variable (set by the user).
++AC_DEFUN([AM_PROG_INSTALL_STRIP],
++[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
++# Installed binaries are usually stripped using `strip' when the user
++# run `make install-strip'.  However `strip' might not be the right
++# tool to use in cross-compilation environments, therefore Automake
++# will honor the `STRIP' environment variable to overrule this program.
++dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
++if test "$cross_compiling" != no; then
++  AC_CHECK_TOOL([STRIP], [strip], :)
+ fi
+-rm -fr conftest*
+-])# _LT_AC_TRY_DLOPEN_SELF
++INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
++AC_SUBST([INSTALL_STRIP_PROGRAM])])
+ 
++#                                                          -*- Autoconf -*-
++# Copyright (C) 2003  Free Software Foundation, Inc.
+ 
+-# AC_LIBTOOL_DLOPEN_SELF
+-# -------------------
+-AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF],
+-[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
+-if test "x$enable_dlopen" != xyes; then
+-  enable_dlopen=unknown
+-  enable_dlopen_self=unknown
+-  enable_dlopen_self_static=unknown
++# 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, 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., 59 Temple Place - Suite 330, Boston, MA
++# 02111-1307, USA.
++
++# serial 1
++
++# Check whether the underlying file-system supports filenames
++# with a leading dot.  For instance MS-DOS doesn't.
++AC_DEFUN([AM_SET_LEADING_DOT],
++[rm -rf .tst 2>/dev/null
++mkdir .tst 2>/dev/null
++if test -d .tst; then
++  am__leading_dot=.
+ else
+-  lt_cv_dlopen=no
+-  lt_cv_dlopen_libs=
++  am__leading_dot=_
++fi
++rmdir .tst 2>/dev/null
++AC_SUBST([am__leading_dot])])
+ 
+-  case $host_os in
+-  beos*)
+-    lt_cv_dlopen="load_add_on"
+-    lt_cv_dlopen_libs=
+-    lt_cv_dlopen_self=yes
+-    ;;
++# serial 5						-*- Autoconf -*-
+ 
+-  mingw* | pw32*)
+-    lt_cv_dlopen="LoadLibrary"
+-    lt_cv_dlopen_libs=
+-   ;;
++# Copyright (C) 1999, 2000, 2001, 2002, 2003  Free Software Foundation, Inc.
+ 
+-  cygwin*)
+-    lt_cv_dlopen="dlopen"
+-    lt_cv_dlopen_libs=
+-   ;;
++# 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, or (at your option)
++# any later version.
+ 
+-  darwin*)
+-  # if libdl is installed we need to link against it
+-    AC_CHECK_LIB([dl], [dlopen],
+-		[lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
+-    lt_cv_dlopen="dyld"
+-    lt_cv_dlopen_libs=
+-    lt_cv_dlopen_self=yes
+-    ])
+-   ;;
++# 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.
+ 
+-  *)
+-    AC_CHECK_FUNC([shl_load],
+-	  [lt_cv_dlopen="shl_load"],
+-      [AC_CHECK_LIB([dld], [shl_load],
+-	    [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"],
+-	[AC_CHECK_FUNC([dlopen],
+-	      [lt_cv_dlopen="dlopen"],
+-	  [AC_CHECK_LIB([dl], [dlopen],
+-		[lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
+-	    [AC_CHECK_LIB([svld], [dlopen],
+-		  [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
+-	      [AC_CHECK_LIB([dld], [dld_link],
+-		    [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
+-	      ])
+-	    ])
+-	  ])
+-	])
+-      ])
+-    ;;
+-  esac
++# 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., 59 Temple Place - Suite 330, Boston, MA
++# 02111-1307, USA.
+ 
+-  if test "x$lt_cv_dlopen" != xno; then
+-    enable_dlopen=yes
+-  else
+-    enable_dlopen=no
+-  fi
+ 
+-  case $lt_cv_dlopen in
+-  dlopen)
+-    save_CPPFLAGS="$CPPFLAGS"
+-    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
++# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
++# written in clear, in which case automake, when reading aclocal.m4,
++# will think it sees a *use*, and therefore will trigger all it's
++# C support machinery.  Also note that it means that autoscan, seeing
++# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
+ 
+-    save_LDFLAGS="$LDFLAGS"
+-    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
+ 
+-    save_LIBS="$LIBS"
+-    LIBS="$lt_cv_dlopen_libs $LIBS"
+ 
+-    AC_CACHE_CHECK([whether a program can dlopen itself],
+-	  lt_cv_dlopen_self, [dnl
+-	  _LT_AC_TRY_DLOPEN_SELF(
+-	    lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
+-	    lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
+-    ])
++# _AM_DEPENDENCIES(NAME)
++# ----------------------
++# See how the compiler implements dependency checking.
++# NAME is "CC", "CXX", "GCJ", or "OBJC".
++# We try a few techniques and use that to set a single cache variable.
++#
++# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
++# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
++# dependency, and given that the user is not expected to run this macro,
++# just rely on AC_PROG_CC.
++AC_DEFUN([_AM_DEPENDENCIES],
++[AC_REQUIRE([AM_SET_DEPDIR])dnl
++AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
++AC_REQUIRE([AM_MAKE_INCLUDE])dnl
++AC_REQUIRE([AM_DEP_TRACK])dnl
++
++ifelse([$1], CC,   [depcc="$CC"   am_compiler_list=],
++       [$1], CXX,  [depcc="$CXX"  am_compiler_list=],
++       [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
++       [$1], GCJ,  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
++                   [depcc="$$1"   am_compiler_list=])
++
++AC_CACHE_CHECK([dependency style of $depcc],
++               [am_cv_$1_dependencies_compiler_type],
++[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
++  # We make a subdir and do the tests there.  Otherwise we can end up
++  # making bogus files that we don't know about and never remove.  For
++  # instance it was reported that on HP-UX the gcc test will end up
++  # making a dummy file named `D' -- because `-MD' means `put the output
++  # in D'.
++  mkdir conftest.dir
++  # Copy depcomp to subdir because otherwise we won't find it if we're
++  # using a relative directory.
++  cp "$am_depcomp" conftest.dir
++  cd conftest.dir
++  # We will build objects and dependencies in a subdirectory because
++  # it helps to detect inapplicable dependency modes.  For instance
++  # both Tru64's cc and ICC support -MD to output dependencies as a
++  # side effect of compilation, but ICC will put the dependencies in
++  # the current directory while Tru64 will put them in the object
++  # directory.
++  mkdir sub
++
++  am_cv_$1_dependencies_compiler_type=none
++  if test "$am_compiler_list" = ""; then
++     am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
++  fi
++  for depmode in $am_compiler_list; do
++    # Setup a source with many dependencies, because some compilers
++    # like to wrap large dependency lists on column 80 (with \), and
++    # we should not choose a depcomp mode which is confused by this.
++    #
++    # We need to recreate these files for each test, as the compiler may
++    # overwrite some of them when testing with obscure command lines.
++    # This happens at least with the AIX C compiler.
++    : > sub/conftest.c
++    for i in 1 2 3 4 5 6; do
++      echo '#include "conftst'$i'.h"' >> sub/conftest.c
++      : > sub/conftst$i.h
++    done
++    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
+ 
+-    if test "x$lt_cv_dlopen_self" = xyes; then
+-      LDFLAGS="$LDFLAGS $link_static_flag"
+-      AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
+-    	  lt_cv_dlopen_self_static, [dnl
+-	  _LT_AC_TRY_DLOPEN_SELF(
+-	    lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
+-	    lt_cv_dlopen_self_static=no,  lt_cv_dlopen_self_static=cross)
+-      ])
++    case $depmode in
++    nosideeffect)
++      # after this tag, mechanisms are not by side-effect, so they'll
++      # only be used when explicitly requested
++      if test "x$enable_dependency_tracking" = xyes; then
++	continue
++      else
++	break
++      fi
++      ;;
++    none) break ;;
++    esac
++    # We check with `-c' and `-o' for the sake of the "dashmstdout"
++    # mode.  It turns out that the SunPro C++ compiler does not properly
++    # handle `-M -o', and we need to detect this.
++    if depmode=$depmode \
++       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
++       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
++       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
++         >/dev/null 2>conftest.err &&
++       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
++       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
++       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
++      # icc doesn't choke on unknown options, it will just issue warnings
++      # (even with -Werror).  So we grep stderr for any message
++      # that says an option was ignored.
++      if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
++        am_cv_$1_dependencies_compiler_type=$depmode
++        break
++      fi
+     fi
++  done
+ 
+-    CPPFLAGS="$save_CPPFLAGS"
+-    LDFLAGS="$save_LDFLAGS"
+-    LIBS="$save_LIBS"
+-    ;;
+-  esac
++  cd ..
++  rm -rf conftest.dir
++else
++  am_cv_$1_dependencies_compiler_type=none
++fi
++])
++AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
++AM_CONDITIONAL([am__fastdep$1], [
++  test "x$enable_dependency_tracking" != xno \
++  && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
++])
+ 
+-  case $lt_cv_dlopen_self in
+-  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
+-  *) enable_dlopen_self=unknown ;;
+-  esac
+ 
+-  case $lt_cv_dlopen_self_static in
+-  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
+-  *) enable_dlopen_self_static=unknown ;;
+-  esac
++# AM_SET_DEPDIR
++# -------------
++# Choose a directory name for dependency files.
++# This macro is AC_REQUIREd in _AM_DEPENDENCIES
++AC_DEFUN([AM_SET_DEPDIR],
++[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
++AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
++])
++
++
++# AM_DEP_TRACK
++# ------------
++AC_DEFUN([AM_DEP_TRACK],
++[AC_ARG_ENABLE(dependency-tracking,
++[  --disable-dependency-tracking Speeds up one-time builds
++  --enable-dependency-tracking  Do not reject slow dependency extractors])
++if test "x$enable_dependency_tracking" != xno; then
++  am_depcomp="$ac_aux_dir/depcomp"
++  AMDEPBACKSLASH='\'
+ fi
+-])# AC_LIBTOOL_DLOPEN_SELF
++AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
++AC_SUBST([AMDEPBACKSLASH])
++])
+ 
++# Generate code to set up dependency tracking.   -*- Autoconf -*-
+ 
+-# AC_LIBTOOL_PROG_CC_C_O([TAGNAME])
+-# ---------------------------------
+-# Check to see if options -c and -o are simultaneously supported by compiler
+-AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O],
+-[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
+-AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
+-  [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
+-  [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
+-   $rm -r conftest 2>/dev/null
+-   mkdir conftest
+-   cd conftest
+-   mkdir out
+-   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
++# Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
+ 
+-   lt_compiler_flag="-o out/conftest2.$ac_objext"
+-   # Insert the option either (1) after the last *FLAGS variable, or
+-   # (2) before a word containing "conftest.", or (3) at the end.
+-   # Note that $ac_compile itself does not contain backslashes and begins
+-   # with a dollar sign (not a hyphen), so the echo should work correctly.
+-   lt_compile=`echo "$ac_compile" | $SED \
+-   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
+-   -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
+-   -e 's:$: $lt_compiler_flag:'`
+-   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
+-   (eval "$lt_compile" 2>out/conftest.err)
+-   ac_status=$?
+-   cat out/conftest.err >&AS_MESSAGE_LOG_FD
+-   echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
+-   if (exit $ac_status) && test -s out/conftest2.$ac_objext
+-   then
+-     # The compiler can only warn and ignore the option if not recognized
+-     # So say no if there are warnings
+-     if test ! -s out/conftest.err; then
+-       _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
+-     fi
+-   fi
+-   chmod u+w .
+-   $rm conftest*
+-   # SGI C++ compiler will create directory out/ii_files/ for
+-   # template instantiation
+-   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
+-   $rm out/* && rmdir out
+-   cd ..
+-   rmdir conftest
+-   $rm conftest*
+-])
+-])# AC_LIBTOOL_PROG_CC_C_O
++# 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, 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., 59 Temple Place - Suite 330, Boston, MA
++# 02111-1307, USA.
+ 
+-# AC_LIBTOOL_SYS_HARD_LINK_LOCKS([TAGNAME])
+-# -----------------------------------------
+-# Check to see if we can do hard links to lock some files if needed
+-AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS],
+-[AC_REQUIRE([_LT_AC_LOCK])dnl
++#serial 2
+ 
+-hard_links="nottested"
+-if test "$_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
+-  # do not overwrite the value of need_locks provided by the user
+-  AC_MSG_CHECKING([if we can lock with hard links])
+-  hard_links=yes
+-  $rm conftest*
+-  ln conftest.a conftest.b 2>/dev/null && hard_links=no
+-  touch conftest.a
+-  ln conftest.a conftest.b 2>&5 || hard_links=no
+-  ln conftest.a conftest.b 2>/dev/null && hard_links=no
+-  AC_MSG_RESULT([$hard_links])
+-  if test "$hard_links" = no; then
+-    AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe])
+-    need_locks=warn
++# _AM_OUTPUT_DEPENDENCY_COMMANDS
++# ------------------------------
++AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
++[for mf in $CONFIG_FILES; do
++  # Strip MF so we end up with the name of the file.
++  mf=`echo "$mf" | sed -e 's/:.*$//'`
++  # Check whether this is an Automake generated Makefile or not.
++  # We used to match only the files named `Makefile.in', but
++  # some people rename them; so instead we look at the file content.
++  # Grep'ing the first line is not enough: some people post-process
++  # each Makefile.in and add a new line on top of each file to say so.
++  # So let's grep whole file.
++  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
++    dirpart=`AS_DIRNAME("$mf")`
++  else
++    continue
+   fi
+-else
+-  need_locks=no
+-fi
+-])# AC_LIBTOOL_SYS_HARD_LINK_LOCKS
++  grep '^DEP_FILES *= *[[^ @%:@]]' < "$mf" > /dev/null || continue
++  # Extract the definition of DEP_FILES from the Makefile without
++  # running `make'.
++  DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
++  test -z "$DEPDIR" && continue
++  # When using ansi2knr, U may be empty or an underscore; expand it
++  U=`sed -n -e '/^U = / s///p' < "$mf"`
++  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
++  # We invoke sed twice because it is the simplest approach to
++  # changing $(DEPDIR) to its actual value in the expansion.
++  for file in `sed -n -e '
++    /^DEP_FILES = .*\\\\$/ {
++      s/^DEP_FILES = //
++      :loop
++	s/\\\\$//
++	p
++	n
++	/\\\\$/ b loop
++      p
++    }
++    /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
++       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
++    # Make sure the directory exists.
++    test -f "$dirpart/$file" && continue
++    fdir=`AS_DIRNAME(["$file"])`
++    AS_MKDIR_P([$dirpart/$fdir])
++    # echo "creating $dirpart/$file"
++    echo '# dummy' > "$dirpart/$file"
++  done
++done
++])# _AM_OUTPUT_DEPENDENCY_COMMANDS
+ 
+ 
+-# AC_LIBTOOL_OBJDIR
++# AM_OUTPUT_DEPENDENCY_COMMANDS
++# -----------------------------
++# This macro should only be invoked once -- use via AC_REQUIRE.
++#
++# This code is only required when automatic dependency tracking
++# is enabled.  FIXME.  This creates each `.P' file that we will
++# need in order to bootstrap the dependency handling code.
++AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
++[AC_CONFIG_COMMANDS([depfiles],
++     [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
++     [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
++])
++
++# Check to see how 'make' treats includes.	-*- Autoconf -*-
++
++# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
++
++# 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, 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., 59 Temple Place - Suite 330, Boston, MA
++# 02111-1307, USA.
++
++# serial 2
++
++# AM_MAKE_INCLUDE()
+ # -----------------
+-AC_DEFUN([AC_LIBTOOL_OBJDIR],
+-[AC_CACHE_CHECK([for objdir], [lt_cv_objdir],
+-[rm -f .libs 2>/dev/null
+-mkdir .libs 2>/dev/null
+-if test -d .libs; then
+-  lt_cv_objdir=.libs
+-else
+-  # MS-DOS does not allow filenames that begin with a dot.
+-  lt_cv_objdir=_libs
++# Check to see how make treats includes.
++AC_DEFUN([AM_MAKE_INCLUDE],
++[am_make=${MAKE-make}
++cat > confinc << 'END'
++am__doit:
++	@echo done
++.PHONY: am__doit
++END
++# If we don't find an include directive, just comment out the code.
++AC_MSG_CHECKING([for style of include used by $am_make])
++am__include="#"
++am__quote=
++_am_result=none
++# First try GNU make style include.
++echo "include confinc" > confmf
++# We grep out `Entering directory' and `Leaving directory'
++# messages which can occur if `w' ends up in MAKEFLAGS.
++# In particular we don't look at `^make:' because GNU make might
++# be invoked under some other name (usually "gmake"), in which
++# case it prints its new name instead of `make'.
++if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
++   am__include=include
++   am__quote=
++   _am_result=GNU
++fi
++# Now try BSD make style include.
++if test "$am__include" = "#"; then
++   echo '.include "confinc"' > confmf
++   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
++      am__include=.include
++      am__quote="\""
++      _am_result=BSD
++   fi
+ fi
+-rmdir .libs 2>/dev/null])
+-objdir=$lt_cv_objdir
+-])# AC_LIBTOOL_OBJDIR
++AC_SUBST([am__include])
++AC_SUBST([am__quote])
++AC_MSG_RESULT([$_am_result])
++rm -f confinc confmf
++])
+ 
+ 
+-# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([TAGNAME])
+-# ----------------------------------------------
+-# Check hardcoding attributes.
+-AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH],
+-[AC_MSG_CHECKING([how to hardcode library paths into programs])
+-_LT_AC_TAGVAR(hardcode_action, $1)=
+-if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \
+-   test -n "$_LT_AC_TAGVAR(runpath_var $1)" || \
+-   test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)"="Xyes" ; then
++# Copyright 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
+ 
+-  # We can hardcode non-existant directories.
+-  if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no &&
+-     # If the only mechanism to avoid hardcoding is shlibpath_var, we
+-     # have to relink, otherwise we might link with an installed library
+-     # when we should be linking with a yet-to-be-installed one
+-     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
+-     test "$_LT_AC_TAGVAR(hardcode_minus_L, $1)" != no; then
+-    # Linking always hardcodes the temporary library directory.
+-    _LT_AC_TAGVAR(hardcode_action, $1)=relink
+-  else
+-    # We can link without hardcoding, and we can hardcode nonexisting dirs.
+-    _LT_AC_TAGVAR(hardcode_action, $1)=immediate
+-  fi
+-else
+-  # We cannot hardcode anything, or else we can only hardcode existing
+-  # directories.
+-  _LT_AC_TAGVAR(hardcode_action, $1)=unsupported
+-fi
+-AC_MSG_RESULT([$_LT_AC_TAGVAR(hardcode_action, $1)])
++# 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, or (at your option)
++# any later version.
+ 
+-if test "$_LT_AC_TAGVAR(hardcode_action, $1)" = relink; then
+-  # Fast installation is not supported
+-  enable_fast_install=no
+-elif test "$shlibpath_overrides_runpath" = yes ||
+-     test "$enable_shared" = no; then
+-  # Fast installation is not necessary
+-  enable_fast_install=needless
+-fi
+-])# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH
++# 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., 59 Temple Place - Suite 330, Boston, MA
++# 02111-1307, USA.
+ 
+-# AC_LIBTOOL_SYS_LIB_STRIP
+-# ------------------------
+-AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP],
+-[striplib=
+-old_striplib=
+-AC_MSG_CHECKING([whether stripping libraries is possible])
+-if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
+-  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
+-  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
+-  AC_MSG_RESULT([yes])
+-else
+-# FIXME - insert some real tests, host_os isn't really good enough
+-  case $host_os in
+-   darwin*)
+-       if test -n "$STRIP" ; then
+-         striplib="$STRIP -x"
+-         AC_MSG_RESULT([yes])
+-       else
+-  AC_MSG_RESULT([no])
+-fi
+-       ;;
+-   *)
+-  AC_MSG_RESULT([no])
+-    ;;
+-  esac
+-fi
+-])# AC_LIBTOOL_SYS_LIB_STRIP
++# serial 3
+ 
++AC_PREREQ(2.50)
+ 
+-# AC_LIBTOOL_SYS_DYNAMIC_LINKER
+-# -----------------------------
+-# PORTME Fill in your ld.so characteristics
+-AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER],
+-[AC_MSG_CHECKING([dynamic linker characteristics])
+-library_names_spec=
+-libname_spec='lib$name'
+-soname_spec=
+-shrext=".so"
+-postinstall_cmds=
+-postuninstall_cmds=
+-finish_cmds=
+-finish_eval=
+-shlibpath_var=
+-shlibpath_overrides_runpath=unknown
+-version_type=none
+-dynamic_linker="$host_os ld.so"
+-sys_lib_dlsearch_path_spec="/lib /usr/lib"
+-if test "$GCC" = yes; then
+-  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
+-  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
+-    # if the path contains ";" then we assume it to be the separator
+-    # otherwise default to the standard path separator (i.e. ":") - it is
+-    # assumed that no part of a normal pathname contains ";" but that should
+-    # okay in the real world where ";" in dirpaths is itself problematic.
+-    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
++# AM_PROG_LEX
++# -----------
++# Autoconf leaves LEX=: if lex or flex can't be found.  Change that to a
++# "missing" invocation, for better error output.
++AC_DEFUN([AM_PROG_LEX],
++[AC_REQUIRE([AM_MISSING_HAS_RUN])dnl
++AC_REQUIRE([AC_PROG_LEX])dnl
++if test "$LEX" = :; then
++  LEX=${am_missing_run}flex
++fi])
++
++dnl $Id: krb-prog-ln-s.m4,v 1.1.42.1 2004/04/01 07:27:34 joda Exp $
++dnl
++dnl
++dnl Better test for ln -s, ln or cp
++dnl
++
++AC_DEFUN([AC_KRB_PROG_LN_S],
++[AC_MSG_CHECKING(for ln -s or something else)
++AC_CACHE_VAL(ac_cv_prog_LN_S,
++[rm -f conftestdata
++if ln -s X conftestdata 2>/dev/null
++then
++  rm -f conftestdata
++  ac_cv_prog_LN_S="ln -s"
++else
++  touch conftestdata1
++  if ln conftestdata1 conftestdata2; then
++    rm -f conftestdata*
++    ac_cv_prog_LN_S=ln
+   else
+-    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
++    ac_cv_prog_LN_S=cp
+   fi
+-else
+-  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
+-fi
+-need_lib_prefix=unknown
+-hardcode_into_libs=no
++fi])dnl
++LN_S="$ac_cv_prog_LN_S"
++AC_MSG_RESULT($ac_cv_prog_LN_S)
++AC_SUBST(LN_S)dnl
++])
+ 
+-# when you set need_version to no, make sure it does not cause -set_version
+-# flags to be left without arguments
+-need_version=unknown
+ 
+-case $host_os in
+-aix3*)
+-  version_type=linux
+-  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
+-  shlibpath_var=LIBPATH
++dnl $Id: mips-abi.m4,v 1.6.8.1 2004/04/01 07:27:34 joda Exp $
++dnl
++dnl
++dnl Check for MIPS/IRIX ABI flags. Sets $abi and $abilibdirext to some
++dnl value.
+ 
+-  # AIX 3 has no versioning support, so we append a major version to the name.
+-  soname_spec='${libname}${release}${shared_ext}$major'
+-  ;;
++AC_DEFUN([AC_MIPS_ABI], [
++AC_ARG_WITH(mips_abi,
++	AC_HELP_STRING([--with-mips-abi=abi],[ABI to use for IRIX (32, n32, or 64)]))
+ 
+-aix4* | aix5*)
+-  version_type=linux
+-  need_lib_prefix=no
+-  need_version=no
+-  hardcode_into_libs=yes
+-  if test "$host_cpu" = ia64; then
+-    # AIX 5 supports IA64
+-    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
+-    shlibpath_var=LD_LIBRARY_PATH
+-  else
+-    # With GCC up to 2.95.x, collect2 would create an import file
+-    # for dependence libraries.  The import file would start with
+-    # the line `#! .'.  This would cause the generated library to
+-    # depend on `.', always an invalid library.  This was fixed in
+-    # development snapshots of GCC prior to 3.0.
+-    case $host_os in
+-      aix4 | aix4.[[01]] | aix4.[[01]].*)
+-      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
+-	   echo ' yes '
+-	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
+-	:
+-      else
+-	can_build_shared=no
+-      fi
+-      ;;
+-    esac
+-    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
+-    # soname into executable. Probably we can add versioning support to
+-    # collect2, so additional links can be useful in future.
+-    if test "$aix_use_runtimelinking" = yes; then
+-      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
+-      # instead of lib<name>.a to let people know that these are not
+-      # typical AIX shared libraries.
+-      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+-    else
+-      # We preserve .a as extension for shared libraries through AIX4.2
+-      # and later when we are not doing run time linking.
+-      library_names_spec='${libname}${release}.a $libname.a'
+-      soname_spec='${libname}${release}${shared_ext}$major'
+-    fi
+-    shlibpath_var=LIBPATH
+-  fi
+-  ;;
++case "$host_os" in
++irix*)
++with_mips_abi="${with_mips_abi:-yes}"
++if test -n "$GCC"; then
+ 
+-amigaos*)
+-  library_names_spec='$libname.ixlibrary $libname.a'
+-  # Create ${libname}_ixlibrary.a entries in /sys/libs.
+-  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
+-  ;;
++# GCC < 2.8 only supports the O32 ABI. GCC >= 2.8 has a flag to select
++# which ABI to use, but only supports (as of 2.8.1) the N32 and 64 ABIs.
++#
++# Default to N32, but if GCC doesn't grok -mabi=n32, we assume an old
++# GCC and revert back to O32. The same goes if O32 is asked for - old
++# GCCs doesn't like the -mabi option, and new GCCs can't output O32.
++#
++# Don't you just love *all* the different SGI ABIs?
+ 
+-beos*)
+-  library_names_spec='${libname}${shared_ext}'
+-  dynamic_linker="$host_os ld.so"
+-  shlibpath_var=LIBRARY_PATH
+-  ;;
++case "${with_mips_abi}" in 
++        32|o32) abi='-mabi=32';  abilibdirext=''     ;;
++       n32|yes) abi='-mabi=n32'; abilibdirext='32'  ;;
++        64) abi='-mabi=64';  abilibdirext='64'   ;;
++	no) abi=''; abilibdirext='';;
++         *) AC_MSG_ERROR("Invalid ABI specified") ;;
++esac
++if test -n "$abi" ; then
++ac_foo=krb_cv_gcc_`echo $abi | tr =- __`
++dnl
++dnl can't use AC_CACHE_CHECK here, since it doesn't quote CACHE-ID to
++dnl AC_MSG_RESULT
++dnl
++AC_MSG_CHECKING([if $CC supports the $abi option])
++AC_CACHE_VAL($ac_foo, [
++save_CFLAGS="$CFLAGS"
++CFLAGS="$CFLAGS $abi"
++AC_TRY_COMPILE(,int x;, eval $ac_foo=yes, eval $ac_foo=no)
++CFLAGS="$save_CFLAGS"
++])
++ac_res=`eval echo \\\$$ac_foo`
++AC_MSG_RESULT($ac_res)
++if test $ac_res = no; then
++# Try to figure out why that failed...
++case $abi in
++	-mabi=32) 
++	save_CFLAGS="$CFLAGS"
++	CFLAGS="$CFLAGS -mabi=n32"
++	AC_TRY_COMPILE(,int x;, ac_res=yes, ac_res=no)
++	CLAGS="$save_CFLAGS"
++	if test $ac_res = yes; then
++		# New GCC
++		AC_MSG_ERROR([$CC does not support the $with_mips_abi ABI])
++	fi
++	# Old GCC
++	abi=''
++	abilibdirext=''
++	;;
++	-mabi=n32|-mabi=64)
++		if test $with_mips_abi = yes; then
++			# Old GCC, default to O32
++			abi=''
++			abilibdirext=''
++		else
++			# Some broken GCC
++			AC_MSG_ERROR([$CC does not support the $with_mips_abi ABI])
++		fi
++	;;
++esac
++fi #if test $ac_res = no; then
++fi #if test -n "$abi" ; then
++else
++case "${with_mips_abi}" in
++        32|o32) abi='-32'; abilibdirext=''     ;;
++       n32|yes) abi='-n32'; abilibdirext='32'  ;;
++        64) abi='-64'; abilibdirext='64'   ;;
++	no) abi=''; abilibdirext='';;
++         *) AC_MSG_ERROR("Invalid ABI specified") ;;
++esac
++fi #if test -n "$GCC"; then
++;;
++esac
++])
+ 
+-bsdi4*)
+-  version_type=linux
+-  need_version=no
+-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+-  soname_spec='${libname}${release}${shared_ext}$major'
+-  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
+-  shlibpath_var=LD_LIBRARY_PATH
+-  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
+-  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
+-  # the default ld.so.conf also contains /usr/contrib/lib and
+-  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
+-  # libtool to hard-code these into programs
+-  ;;
++dnl
++dnl $Id: c-attribute.m4,v 1.2.34.1 2004/04/01 07:27:32 joda Exp $
++dnl
+ 
+-cygwin* | mingw* | pw32*)
+-  version_type=windows
+-  shrext=".dll"
+-  need_version=no
+-  need_lib_prefix=no
++dnl
++dnl Test for __attribute__
++dnl
+ 
+-  case $GCC,$host_os in
+-  yes,cygwin* | yes,mingw* | yes,pw32*)
+-    library_names_spec='$libname.dll.a'
+-    # DLL is installed to $(libdir)/../bin by postinstall_cmds
+-    postinstall_cmds='base_file=`basename \${file}`~
+-      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
+-      dldir=$destdir/`dirname \$dlpath`~
+-      test -d \$dldir || mkdir -p \$dldir~
+-      $install_prog $dir/$dlname \$dldir/$dlname'
+-    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
+-      dlpath=$dir/\$dldll~
+-       $rm \$dlpath'
+-    shlibpath_overrides_runpath=yes
++AC_DEFUN([AC_C___ATTRIBUTE__], [
++AC_MSG_CHECKING(for __attribute__)
++AC_CACHE_VAL(ac_cv___attribute__, [
++AC_TRY_COMPILE([
++#include <stdlib.h>
++],
++[
++static void foo(void) __attribute__ ((noreturn));
+ 
+-    case $host_os in
+-    cygwin*)
+-      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
+-      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
+-      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
+-      ;;
+-    mingw*)
+-      # MinGW DLLs use traditional 'lib' prefix
+-      soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
+-      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
+-      if echo "$sys_lib_search_path_spec" | [grep ';[c-zC-Z]:/' >/dev/null]; then
+-        # It is most probably a Windows format PATH printed by
+-        # mingw gcc, but we are running on Cygwin. Gcc prints its search
+-        # path with ; separators, and with drive letters. We can handle the
+-        # drive letters (cygwin fileutils understands them), so leave them,
+-        # especially as we might pass files found there to a mingw objdump,
+-        # which wouldn't understand a cygwinified path. Ahh.
+-        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
+-      else
+-        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
+-      fi
+-      ;;
+-    pw32*)
+-      # pw32 DLLs use 'pw' prefix rather than 'lib'
+-      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
+-      ;;
+-    esac
+-    ;;
++static void
++foo(void)
++{
++  exit(1);
++}
++],
++ac_cv___attribute__=yes,
++ac_cv___attribute__=no)])
++if test "$ac_cv___attribute__" = "yes"; then
++  AC_DEFINE(HAVE___ATTRIBUTE__, 1, [define if your compiler has __attribute__])
++fi
++AC_MSG_RESULT($ac_cv___attribute__)
++])
+ 
+-  *)
+-    library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
+-    ;;
+-  esac
+-  dynamic_linker='Win32 ld.exe'
+-  # FIXME: first we should search . and the directory the executable is in
+-  shlibpath_var=PATH
+-  ;;
+ 
+-darwin* | rhapsody*)
+-  dynamic_linker="$host_os dyld"
+-  version_type=darwin
+-  need_lib_prefix=no
+-  need_version=no
+-  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
+-  soname_spec='${libname}${release}${major}$shared_ext'
+-  shlibpath_overrides_runpath=yes
+-  shlibpath_var=DYLD_LIBRARY_PATH
+-  shrext='$(test .$module = .yes && echo .so || echo .dylib)'
+-  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
+-  if test "$GCC" = yes; then
+-    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
+-  else
+-    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
+-  fi
+-  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
+-  ;;
++# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
+ 
+-dgux*)
+-  version_type=linux
+-  need_lib_prefix=no
+-  need_version=no
+-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
+-  soname_spec='${libname}${release}${shared_ext}$major'
+-  shlibpath_var=LD_LIBRARY_PATH
+-  ;;
++# serial 47 AC_PROG_LIBTOOL
++# Debian $Rev: 214 $
+ 
+-freebsd1*)
+-  dynamic_linker=no
+-  ;;
+ 
+-kfreebsd*-gnu)
+-  version_type=linux
+-  need_lib_prefix=no
+-  need_version=no
+-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
+-  soname_spec='${libname}${release}${shared_ext}$major'
+-  shlibpath_var=LD_LIBRARY_PATH
+-  shlibpath_overrides_runpath=no
+-  hardcode_into_libs=yes
+-  dynamic_linker='GNU ld.so'
+-  ;;
++# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
++# -----------------------------------------------------------
++# If this macro is not defined by Autoconf, define it here.
++m4_ifdef([AC_PROVIDE_IFELSE],
++         [],
++         [m4_define([AC_PROVIDE_IFELSE],
++	         [m4_ifdef([AC_PROVIDE_$1],
++		           [$2], [$3])])])
+ 
+-freebsd*)
+-  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
+-  version_type=freebsd-$objformat
+-  case $version_type in
+-    freebsd-elf*)
+-      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
+-      need_version=no
+-      need_lib_prefix=no
+-      ;;
+-    freebsd-*)
+-      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
+-      need_version=yes
+-      ;;
+-  esac
+-  shlibpath_var=LD_LIBRARY_PATH
+-  case $host_os in
+-  freebsd2*)
+-    shlibpath_overrides_runpath=yes
+-    ;;
+-  freebsd3.[01]* | freebsdelf3.[01]*)
+-    shlibpath_overrides_runpath=yes
+-    hardcode_into_libs=yes
+-    ;;
+-  *) # from 3.2 on
+-    shlibpath_overrides_runpath=no
+-    hardcode_into_libs=yes
+-    ;;
+-  esac
+-  ;;
+ 
+-gnu*)
+-  version_type=linux
+-  need_lib_prefix=no
+-  need_version=no
+-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
+-  soname_spec='${libname}${release}${shared_ext}$major'
+-  shlibpath_var=LD_LIBRARY_PATH
+-  hardcode_into_libs=yes
+-  ;;
++# AC_PROG_LIBTOOL
++# ---------------
++AC_DEFUN([AC_PROG_LIBTOOL],
++[AC_REQUIRE([_AC_PROG_LIBTOOL])dnl
++dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX
++dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX.
++  AC_PROVIDE_IFELSE([AC_PROG_CXX],
++    [AC_LIBTOOL_CXX],
++    [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX
++  ])])
++dnl And a similar setup for Fortran 77 support
++  AC_PROVIDE_IFELSE([AC_PROG_F77],
++    [AC_LIBTOOL_F77],
++    [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77
++])])
+ 
+-hpux9* | hpux10* | hpux11*)
+-  # Give a soname corresponding to the major version so that dld.sl refuses to
+-  # link against other versions.
+-  version_type=sunos
+-  need_lib_prefix=no
+-  need_version=no
+-  case "$host_cpu" in
+-  ia64*)
+-    shrext='.so'
+-    hardcode_into_libs=yes
+-    dynamic_linker="$host_os dld.so"
+-    shlibpath_var=LD_LIBRARY_PATH
+-    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
+-    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+-    soname_spec='${libname}${release}${shared_ext}$major'
+-    if test "X$HPUX_IA64_MODE" = X32; then
+-      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
+-    else
+-      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
+-    fi
+-    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+-    ;;
+-   hppa*64*)
+-     shrext='.sl'
+-     hardcode_into_libs=yes
+-     dynamic_linker="$host_os dld.sl"
+-     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
+-     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
+-     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+-     soname_spec='${libname}${release}${shared_ext}$major'
+-     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
+-     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+-     ;;
+-   *)
+-    shrext='.sl'
+-    dynamic_linker="$host_os dld.sl"
+-    shlibpath_var=SHLIB_PATH
+-    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
+-    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+-    soname_spec='${libname}${release}${shared_ext}$major'
+-    ;;
+-  esac
+-  # HP-UX runs *really* slowly unless shared libraries are mode 555.
+-  postinstall_cmds='chmod 555 $lib'
+-  ;;
++dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly.
++dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run
++dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both.
++  AC_PROVIDE_IFELSE([AC_PROG_GCJ],
++    [AC_LIBTOOL_GCJ],
++    [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
++      [AC_LIBTOOL_GCJ],
++      [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],
++	[AC_LIBTOOL_GCJ],
++      [ifdef([AC_PROG_GCJ],
++	     [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])
++       ifdef([A][M_PROG_GCJ],
++	     [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])])
++       ifdef([LT_AC_PROG_GCJ],
++	     [define([LT_AC_PROG_GCJ],
++		defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])])
++])])# AC_PROG_LIBTOOL
+ 
+-irix5* | irix6* | nonstopux*)
+-  case $host_os in
+-    nonstopux*) version_type=nonstopux ;;
+-    *)
+-	if test "$lt_cv_prog_gnu_ld" = yes; then
+-		version_type=linux
+-	else
+-		version_type=irix
+-	fi ;;
+-  esac
+-  need_lib_prefix=no
+-  need_version=no
+-  soname_spec='${libname}${release}${shared_ext}$major'
+-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
+-  case $host_os in
+-  irix5* | nonstopux*)
+-    libsuff= shlibsuff=
+-    ;;
+-  *)
+-    case $LD in # libtool.m4 will add one of these switches to LD
+-    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
+-      libsuff= shlibsuff= libmagic=32-bit;;
+-    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
+-      libsuff=32 shlibsuff=N32 libmagic=N32;;
+-    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
+-      libsuff=64 shlibsuff=64 libmagic=64-bit;;
+-    *) libsuff= shlibsuff= libmagic=never-match;;
+-    esac
+-    ;;
+-  esac
+-  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
+-  shlibpath_overrides_runpath=no
+-  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
+-  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
+-  hardcode_into_libs=yes
+-  ;;
+ 
+-# No shared lib support for Linux oldld, aout, or coff.
+-linux*oldld* | linux*aout* | linux*coff*)
+-  dynamic_linker=no
+-  ;;
++# _AC_PROG_LIBTOOL
++# ----------------
++AC_DEFUN([_AC_PROG_LIBTOOL],
++[AC_REQUIRE([AC_LIBTOOL_SETUP])dnl
++AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl
++AC_BEFORE([$0],[AC_LIBTOOL_F77])dnl
++AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl
+ 
+-# This must be Linux ELF.
+-linux*)
+-  version_type=linux
+-  need_lib_prefix=no
+-  need_version=no
+-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+-  soname_spec='${libname}${release}${shared_ext}$major'
+-  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
+-  shlibpath_var=LD_LIBRARY_PATH
+-  shlibpath_overrides_runpath=no
+-  # This implies no fast_install, which is unacceptable.
+-  # Some rework will be needed to allow for fast_install
+-  # before this can be enabled.
+-  hardcode_into_libs=yes
++# This can be used to rebuild libtool when needed
++LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
+ 
+-  # Append ld.so.conf contents to the search path
+-  if test -f /etc/ld.so.conf; then
+-    ld_extra=`$SED -e 's/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g' /etc/ld.so.conf`
+-    sys_lib_dlsearch_path_spec="/lib /usr/lib $ld_extra"
+-  fi
++# Always use our own libtool.
++LIBTOOL='$(SHELL) $(top_builddir)/libtool'
++AC_SUBST(LIBTOOL)dnl
+ 
+-  # We used to test for /lib/ld.so.1 and disable shared libraries on
+-  # powerpc, because MkLinux only supported shared libraries with the
+-  # GNU dynamic linker.  Since this was broken with cross compilers,
+-  # most powerpc-linux boxes support dynamic linking these days and
+-  # people can always --disable-shared, the test was removed, and we
+-  # assume the GNU/Linux dynamic linker is in use.
+-  dynamic_linker='GNU/Linux ld.so'
+-  ;;
++# Prevent multiple expansion
++define([AC_PROG_LIBTOOL], [])
++])# _AC_PROG_LIBTOOL
+ 
+-knetbsd*-gnu)
+-  version_type=linux
+-  need_lib_prefix=no
+-  need_version=no
+-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
+-  soname_spec='${libname}${release}${shared_ext}$major'
+-  shlibpath_var=LD_LIBRARY_PATH
+-  shlibpath_overrides_runpath=no
+-  hardcode_into_libs=yes
+-  dynamic_linker='GNU ld.so'
+-  ;;
+ 
+-netbsd*)
+-  version_type=sunos
+-  need_lib_prefix=no
+-  need_version=no
+-  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
+-    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
+-    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
+-    dynamic_linker='NetBSD (a.out) ld.so'
+-  else
+-    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
+-    soname_spec='${libname}${release}${shared_ext}$major'
+-    dynamic_linker='NetBSD ld.elf_so'
+-  fi
+-  shlibpath_var=LD_LIBRARY_PATH
+-  shlibpath_overrides_runpath=yes
+-  hardcode_into_libs=yes
+-  ;;
++# AC_LIBTOOL_SETUP
++# ----------------
++AC_DEFUN([AC_LIBTOOL_SETUP],
++[AC_PREREQ(2.50)dnl
++AC_REQUIRE([AC_ENABLE_SHARED])dnl
++AC_REQUIRE([AC_ENABLE_STATIC])dnl
++AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl
++AC_REQUIRE([AC_CANONICAL_HOST])dnl
++AC_REQUIRE([AC_CANONICAL_BUILD])dnl
++AC_REQUIRE([AC_PROG_CC])dnl
++AC_REQUIRE([AC_PROG_LD])dnl
++AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl
++AC_REQUIRE([AC_PROG_NM])dnl
+ 
+-newsos6)
+-  version_type=linux
+-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+-  shlibpath_var=LD_LIBRARY_PATH
+-  shlibpath_overrides_runpath=yes
+-  ;;
++AC_REQUIRE([AC_PROG_LN_S])dnl
++AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl
++# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
++AC_REQUIRE([AC_OBJEXT])dnl
++AC_REQUIRE([AC_EXEEXT])dnl
++dnl
+ 
+-nto-qnx*)
+-  version_type=linux
+-  need_lib_prefix=no
+-  need_version=no
+-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+-  soname_spec='${libname}${release}${shared_ext}$major'
+-  shlibpath_var=LD_LIBRARY_PATH
+-  shlibpath_overrides_runpath=yes
+-  ;;
++AC_LIBTOOL_SYS_MAX_CMD_LEN
++AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
++AC_LIBTOOL_OBJDIR
+ 
+-openbsd*)
+-  version_type=sunos
+-  need_lib_prefix=no
+-  need_version=yes
+-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
+-  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
+-  shlibpath_var=LD_LIBRARY_PATH
+-  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
+-    case $host_os in
+-      openbsd2.[[89]] | openbsd2.[[89]].*)
+-	shlibpath_overrides_runpath=no
+-	;;
+-      *)
+-	shlibpath_overrides_runpath=yes
+-	;;
+-      esac
+-  else
+-    shlibpath_overrides_runpath=yes
+-  fi
+-  ;;
++AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
++_LT_AC_PROG_ECHO_BACKSLASH
+ 
+-os2*)
+-  libname_spec='$name'
+-  shrext=".dll"
+-  need_lib_prefix=no
+-  library_names_spec='$libname${shared_ext} $libname.a'
+-  dynamic_linker='OS/2 ld.exe'
+-  shlibpath_var=LIBPATH
++case $host_os in
++aix3*)
++  # AIX sometimes has problems with the GCC collect2 program.  For some
++  # reason, if we set the COLLECT_NAMES environment variable, the problems
++  # vanish in a puff of smoke.
++  if test "X${COLLECT_NAMES+set}" != Xset; then
++    COLLECT_NAMES=
++    export COLLECT_NAMES
++  fi
+   ;;
++esac
+ 
+-osf3* | osf4* | osf5*)
+-  version_type=osf
+-  need_lib_prefix=no
+-  need_version=no
+-  soname_spec='${libname}${release}${shared_ext}$major'
+-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+-  shlibpath_var=LD_LIBRARY_PATH
+-  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
+-  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
+-  ;;
++# Sed substitution that helps us do robust quoting.  It backslashifies
++# metacharacters that are still active within double-quoted strings.
++Xsed='sed -e s/^X//'
++[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g']
+ 
+-sco3.2v5*)
+-  version_type=osf
+-  soname_spec='${libname}${release}${shared_ext}$major'
+-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+-  shlibpath_var=LD_LIBRARY_PATH
+-  ;;
++# Same as above, but do not quote variable references.
++[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g']
+ 
+-solaris*)
+-  version_type=linux
+-  need_lib_prefix=no
+-  need_version=no
+-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+-  soname_spec='${libname}${release}${shared_ext}$major'
+-  shlibpath_var=LD_LIBRARY_PATH
+-  shlibpath_overrides_runpath=yes
+-  hardcode_into_libs=yes
+-  # ldd complains unless libraries are executable
+-  postinstall_cmds='chmod +x $lib'
+-  ;;
++# Sed substitution to delay expansion of an escaped shell variable in a
++# double_quote_subst'ed string.
++delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
+ 
+-sunos4*)
+-  version_type=sunos
+-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
+-  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
+-  shlibpath_var=LD_LIBRARY_PATH
+-  shlibpath_overrides_runpath=yes
+-  if test "$with_gnu_ld" = yes; then
+-    need_lib_prefix=no
+-  fi
+-  need_version=yes
+-  ;;
++# Sed substitution to avoid accidental globbing in evaled expressions
++no_glob_subst='s/\*/\\\*/g'
+ 
+-sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
+-  version_type=linux
+-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+-  soname_spec='${libname}${release}${shared_ext}$major'
+-  shlibpath_var=LD_LIBRARY_PATH
+-  case $host_vendor in
+-    sni)
+-      shlibpath_overrides_runpath=no
+-      need_lib_prefix=no
+-      export_dynamic_flag_spec='${wl}-Blargedynsym'
+-      runpath_var=LD_RUN_PATH
+-      ;;
+-    siemens)
+-      need_lib_prefix=no
+-      ;;
+-    motorola)
+-      need_lib_prefix=no
+-      need_version=no
+-      shlibpath_overrides_runpath=no
+-      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
+-      ;;
+-  esac
+-  ;;
++# Constants:
++rm="rm -f"
+ 
+-sysv4*MP*)
+-  if test -d /usr/nec ;then
+-    version_type=linux
+-    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
+-    soname_spec='$libname${shared_ext}.$major'
+-    shlibpath_var=LD_LIBRARY_PATH
+-  fi
+-  ;;
++# Global variables:
++default_ofile=libtool
++can_build_shared=yes
+ 
+-uts4*)
+-  version_type=linux
+-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+-  soname_spec='${libname}${release}${shared_ext}$major'
+-  shlibpath_var=LD_LIBRARY_PATH
+-  ;;
++# All known linkers require a `.a' archive for static linking (except M$VC,
++# which needs '.lib').
++libext=a
++ltmain="$ac_aux_dir/ltmain.sh"
++ofile="$default_ofile"
++with_gnu_ld="$lt_cv_prog_gnu_ld"
+ 
+-*)
+-  dynamic_linker=no
+-  ;;
+-esac
+-AC_MSG_RESULT([$dynamic_linker])
+-test "$dynamic_linker" = no && can_build_shared=no
+-])# AC_LIBTOOL_SYS_DYNAMIC_LINKER
++AC_CHECK_TOOL(AR, ar, false)
++AC_CHECK_TOOL(RANLIB, ranlib, :)
++AC_CHECK_TOOL(STRIP, strip, :)
+ 
++old_CC="$CC"
++old_CFLAGS="$CFLAGS"
+ 
+-# _LT_AC_TAGCONFIG
+-# ----------------
+-AC_DEFUN([_LT_AC_TAGCONFIG],
+-[AC_ARG_WITH([tags],
+-    [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@],
+-        [include additional configurations @<:@automatic@:>@])],
+-    [tagnames="$withval"])
++# Set sane defaults for various variables
++test -z "$AR" && AR=ar
++test -z "$AR_FLAGS" && AR_FLAGS=cru
++test -z "$AS" && AS=as
++test -z "$CC" && CC=cc
++test -z "$LTCC" && LTCC=$CC
++test -z "$DLLTOOL" && DLLTOOL=dlltool
++test -z "$LD" && LD=ld
++test -z "$LN_S" && LN_S="ln -s"
++test -z "$MAGIC_CMD" && MAGIC_CMD=file
++test -z "$NM" && NM=nm
++test -z "$SED" && SED=sed
++test -z "$OBJDUMP" && OBJDUMP=objdump
++test -z "$RANLIB" && RANLIB=:
++test -z "$STRIP" && STRIP=:
++test -z "$ac_objext" && ac_objext=o
+ 
+-if test -f "$ltmain" && test -n "$tagnames"; then
+-  if test ! -f "${ofile}"; then
+-    AC_MSG_WARN([output file `$ofile' does not exist])
+-  fi
++# Determine commands to create old-style static archives.
++old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
++old_postinstall_cmds='chmod 644 $oldlib'
++old_postuninstall_cmds=
+ 
+-  if test -z "$LTCC"; then
+-    eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
+-    if test -z "$LTCC"; then
+-      AC_MSG_WARN([output file `$ofile' does not look like a libtool script])
+-    else
+-      AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile'])
+-    fi
+-  fi
++if test -n "$RANLIB"; then
++  case $host_os in
++  openbsd*)
++    old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
++    ;;
++  *)
++    old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
++    ;;
++  esac
++  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
++fi
+ 
+-  # Extract list of available tagged configurations in $ofile.
+-  # Note that this assumes the entire list is on one line.
+-  available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
++# Only perform the check for file, if the check method requires it
++case $deplibs_check_method in
++file_magic*)
++  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
++    AC_PATH_MAGIC
++  fi
++  ;;
++esac
+ 
+-  lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
+-  for tagname in $tagnames; do
+-    IFS="$lt_save_ifs"
+-    # Check whether tagname contains only valid characters
+-    case `$echo "X$tagname" | $Xsed -e 's:[[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]]::g'` in
+-    "") ;;
+-    *)  AC_MSG_ERROR([invalid tag name: $tagname])
+-	;;
+-    esac
++AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no)
++AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
++enable_win32_dll=yes, enable_win32_dll=no)
+ 
+-    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
+-    then
+-      AC_MSG_ERROR([tag name \"$tagname\" already exists])
+-    fi
++AC_ARG_ENABLE([libtool-lock],
++    [AC_HELP_STRING([--disable-libtool-lock],
++	[avoid locking (might break parallel builds)])])
++test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
+ 
+-    # Update the list of available tags.
+-    if test -n "$tagname"; then
+-      echo appending configuration tag \"$tagname\" to $ofile
++AC_ARG_WITH([pic],
++    [AC_HELP_STRING([--with-pic],
++	[try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
++    [pic_mode="$withval"],
++    [pic_mode=default])
++test -z "$pic_mode" && pic_mode=default
+ 
+-      case $tagname in
+-      CXX)
+-	if test -n "$CXX" && test "X$CXX" != "Xno"; then
+-	  AC_LIBTOOL_LANG_CXX_CONFIG
+-	else
+-	  tagname=""
+-	fi
+-	;;
++# Use C for the default configuration in the libtool script
++tagname=
++AC_LIBTOOL_LANG_C_CONFIG
++_LT_AC_TAGCONFIG
++])# AC_LIBTOOL_SETUP
+ 
+-      F77)
+-	if test -n "$F77" && test "X$F77" != "Xno"; then
+-	  AC_LIBTOOL_LANG_F77_CONFIG
+-	else
+-	  tagname=""
+-	fi
+-	;;
+ 
+-      GCJ)
+-	if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
+-	  AC_LIBTOOL_LANG_GCJ_CONFIG
+-	else
+-	  tagname=""
+-	fi
+-	;;
++# _LT_AC_SYS_COMPILER
++# -------------------
++AC_DEFUN([_LT_AC_SYS_COMPILER],
++[AC_REQUIRE([AC_PROG_CC])dnl
+ 
+-      RC)
+-	AC_LIBTOOL_LANG_RC_CONFIG
+-	;;
++# If no C compiler was specified, use CC.
++LTCC=${LTCC-"$CC"}
+ 
+-      *)
+-	AC_MSG_ERROR([Unsupported tag name: $tagname])
+-	;;
+-      esac
++# Allow CC to be a program name with arguments.
++compiler=$CC
++])# _LT_AC_SYS_COMPILER
+ 
+-      # Append the new tag name to the list of available tags.
+-      if test -n "$tagname" ; then
+-      available_tags="$available_tags $tagname"
+-    fi
+-    fi
+-  done
+-  IFS="$lt_save_ifs"
+ 
+-  # Now substitute the updated list of available tags.
+-  if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
+-    mv "${ofile}T" "$ofile"
+-    chmod +x "$ofile"
+-  else
+-    rm -f "${ofile}T"
+-    AC_MSG_ERROR([unable to update list of available tagged configurations.])
+-  fi
+-fi
+-])# _LT_AC_TAGCONFIG
++# _LT_AC_SYS_LIBPATH_AIX
++# ----------------------
++# Links a minimal program and checks the executable
++# for the system default hardcoded library path. In most cases,
++# this is /usr/lib:/lib, but when the MPI compilers are used
++# the location of the communication and MPI libs are included too.
++# If we don't find anything, use the default library path according
++# to the aix ld manual.
++AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX],
++[AC_LINK_IFELSE(AC_LANG_PROGRAM,[
++aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
++}'`
++# Check for a 64-bit object if we didn't find anything.
++if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
++}'`; fi],[])
++if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
++])# _LT_AC_SYS_LIBPATH_AIX
+ 
+ 
+-# AC_LIBTOOL_DLOPEN
+-# -----------------
+-# enable checks for dlopen support
+-AC_DEFUN([AC_LIBTOOL_DLOPEN],
+- [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])
+-])# AC_LIBTOOL_DLOPEN
++# _LT_AC_SHELL_INIT(ARG)
++# ----------------------
++AC_DEFUN([_LT_AC_SHELL_INIT],
++[ifdef([AC_DIVERSION_NOTICE],
++	     [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
++	 [AC_DIVERT_PUSH(NOTICE)])
++$1
++AC_DIVERT_POP
++])# _LT_AC_SHELL_INIT
+ 
+ 
+-# AC_LIBTOOL_WIN32_DLL
+-# --------------------
+-# declare package support for building win32 dll's
+-AC_DEFUN([AC_LIBTOOL_WIN32_DLL],
+-[AC_BEFORE([$0], [AC_LIBTOOL_SETUP])
+-])# AC_LIBTOOL_WIN32_DLL
++# _LT_AC_PROG_ECHO_BACKSLASH
++# --------------------------
++# Add some code to the start of the generated configure script which
++# will find an echo command which doesn't interpret backslashes.
++AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH],
++[_LT_AC_SHELL_INIT([
++# Check that we are running under the correct shell.
++SHELL=${CONFIG_SHELL-/bin/sh}
+ 
++case X$ECHO in
++X*--fallback-echo)
++  # Remove one level of quotation (which was required for Make).
++  ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
++  ;;
++esac
+ 
+-# AC_ENABLE_SHARED([DEFAULT])
+-# ---------------------------
+-# implement the --enable-shared flag
+-# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
+-AC_DEFUN([AC_ENABLE_SHARED],
+-[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl
+-AC_ARG_ENABLE([shared],
+-    [AC_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
+-	[build shared libraries @<:@default=]AC_ENABLE_SHARED_DEFAULT[@:>@])],
+-    [p=${PACKAGE-default}
+-    case $enableval in
+-    yes) enable_shared=yes ;;
+-    no) enable_shared=no ;;
+-    *)
+-      enable_shared=no
+-      # Look at the argument we got.  We use all the common list separators.
+-      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
+-      for pkg in $enableval; do
+-	IFS="$lt_save_ifs"
+-	if test "X$pkg" = "X$p"; then
+-	  enable_shared=yes
+-	fi
+-      done
+-      IFS="$lt_save_ifs"
+-      ;;
+-    esac],
+-    [enable_shared=]AC_ENABLE_SHARED_DEFAULT)
+-])# AC_ENABLE_SHARED
++echo=${ECHO-echo}
++if test "X[$]1" = X--no-reexec; then
++  # Discard the --no-reexec flag, and continue.
++  shift
++elif test "X[$]1" = X--fallback-echo; then
++  # Avoid inline document here, it may be left over
++  :
++elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
++  # Yippee, $echo works!
++  :
++else
++  # Restart under the correct shell.
++  exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
++fi
+ 
++if test "X[$]1" = X--fallback-echo; then
++  # used as fallback echo
++  shift
++  cat <<EOF
++[$]*
++EOF
++  exit 0
++fi
+ 
+-# AC_DISABLE_SHARED
+-# -----------------
+-#- set the default shared flag to --disable-shared
+-AC_DEFUN([AC_DISABLE_SHARED],
+-[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
+-AC_ENABLE_SHARED(no)
+-])# AC_DISABLE_SHARED
++# The HP-UX ksh and POSIX shell print the target directory to stdout
++# if CDPATH is set.
++if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
+ 
++if test -z "$ECHO"; then
++if test "X${echo_test_string+set}" != Xset; then
++# find a string as large as possible, as long as the shell can cope with it
++  for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
++    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
++    if (echo_test_string="`eval $cmd`") 2>/dev/null &&
++       echo_test_string="`eval $cmd`" &&
++       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
++    then
++      break
++    fi
++  done
++fi
+ 
+-# AC_ENABLE_STATIC([DEFAULT])
+-# ---------------------------
+-# implement the --enable-static flag
+-# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
+-AC_DEFUN([AC_ENABLE_STATIC],
+-[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl
+-AC_ARG_ENABLE([static],
+-    [AC_HELP_STRING([--enable-static@<:@=PKGS@:>@],
+-	[build static libraries @<:@default=]AC_ENABLE_STATIC_DEFAULT[@:>@])],
+-    [p=${PACKAGE-default}
+-    case $enableval in
+-    yes) enable_static=yes ;;
+-    no) enable_static=no ;;
+-    *)
+-     enable_static=no
+-      # Look at the argument we got.  We use all the common list separators.
+-      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
+-      for pkg in $enableval; do
+-	IFS="$lt_save_ifs"
+-	if test "X$pkg" = "X$p"; then
+-	  enable_static=yes
+-	fi
+-      done
+-      IFS="$lt_save_ifs"
+-      ;;
+-    esac],
+-    [enable_static=]AC_ENABLE_STATIC_DEFAULT)
+-])# AC_ENABLE_STATIC
++if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
++   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
++   test "X$echo_testing_string" = "X$echo_test_string"; then
++  :
++else
++  # The Solaris, AIX, and Digital Unix default echo programs unquote
++  # backslashes.  This makes it impossible to quote backslashes using
++  #   echo "$something" | sed 's/\\/\\\\/g'
++  #
++  # So, first we look for a working echo in the user's PATH.
+ 
++  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
++  for dir in $PATH /usr/ucb; do
++    IFS="$lt_save_ifs"
++    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
++       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
++       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
++       test "X$echo_testing_string" = "X$echo_test_string"; then
++      echo="$dir/echo"
++      break
++    fi
++  done
++  IFS="$lt_save_ifs"
+ 
+-# AC_DISABLE_STATIC
+-# -----------------
+-# set the default static flag to --disable-static
+-AC_DEFUN([AC_DISABLE_STATIC],
+-[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
+-AC_ENABLE_STATIC(no)
+-])# AC_DISABLE_STATIC
++  if test "X$echo" = Xecho; then
++    # We didn't find a better echo, so look for alternatives.
++    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
++       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
++       test "X$echo_testing_string" = "X$echo_test_string"; then
++      # This shell has a builtin print -r that does the trick.
++      echo='print -r'
++    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
++	 test "X$CONFIG_SHELL" != X/bin/ksh; then
++      # If we have ksh, try running configure again with it.
++      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
++      export ORIGINAL_CONFIG_SHELL
++      CONFIG_SHELL=/bin/ksh
++      export CONFIG_SHELL
++      exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
++    else
++      # Try using printf.
++      echo='printf %s\n'
++      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
++	 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
++	 test "X$echo_testing_string" = "X$echo_test_string"; then
++	# Cool, printf works
++	:
++      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
++	   test "X$echo_testing_string" = 'X\t' &&
++	   echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
++	   test "X$echo_testing_string" = "X$echo_test_string"; then
++	CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
++	export CONFIG_SHELL
++	SHELL="$CONFIG_SHELL"
++	export SHELL
++	echo="$CONFIG_SHELL [$]0 --fallback-echo"
++      elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
++	   test "X$echo_testing_string" = 'X\t' &&
++	   echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
++	   test "X$echo_testing_string" = "X$echo_test_string"; then
++	echo="$CONFIG_SHELL [$]0 --fallback-echo"
++      else
++	# maybe with a smaller string...
++	prev=:
+ 
++	for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
++	  if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
++	  then
++	    break
++	  fi
++	  prev="$cmd"
++	done
+ 
+-# AC_ENABLE_FAST_INSTALL([DEFAULT])
+-# ---------------------------------
+-# implement the --enable-fast-install flag
+-# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
+-AC_DEFUN([AC_ENABLE_FAST_INSTALL],
+-[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl
+-AC_ARG_ENABLE([fast-install],
+-    [AC_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
+-    [optimize for fast installation @<:@default=]AC_ENABLE_FAST_INSTALL_DEFAULT[@:>@])],
+-    [p=${PACKAGE-default}
+-    case $enableval in
+-    yes) enable_fast_install=yes ;;
+-    no) enable_fast_install=no ;;
+-    *)
+-      enable_fast_install=no
+-      # Look at the argument we got.  We use all the common list separators.
+-      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
+-      for pkg in $enableval; do
+-	IFS="$lt_save_ifs"
+-	if test "X$pkg" = "X$p"; then
+-	  enable_fast_install=yes
++	if test "$prev" != 'sed 50q "[$]0"'; then
++	  echo_test_string=`eval $prev`
++	  export echo_test_string
++	  exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
++	else
++	  # Oops.  We lost completely, so just stick with echo.
++	  echo=echo
+ 	fi
+-      done
+-      IFS="$lt_save_ifs"
+-      ;;
+-    esac],
+-    [enable_fast_install=]AC_ENABLE_FAST_INSTALL_DEFAULT)
+-])# AC_ENABLE_FAST_INSTALL
++      fi
++    fi
++  fi
++fi
++fi
+ 
++# Copy echo and quote the copy suitably for passing to libtool from
++# the Makefile, instead of quoting the original, which is used later.
++ECHO=$echo
++if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
++   ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
++fi
+ 
+-# AC_DISABLE_FAST_INSTALL
+-# -----------------------
+-# set the default to --disable-fast-install
+-AC_DEFUN([AC_DISABLE_FAST_INSTALL],
+-[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
+-AC_ENABLE_FAST_INSTALL(no)
+-])# AC_DISABLE_FAST_INSTALL
++AC_SUBST(ECHO)
++])])# _LT_AC_PROG_ECHO_BACKSLASH
+ 
+ 
+-# AC_LIBTOOL_PICMODE([MODE])
+-# --------------------------
+-# implement the --with-pic flag
+-# MODE is either `yes' or `no'.  If omitted, it defaults to `both'.
+-AC_DEFUN([AC_LIBTOOL_PICMODE],
+-[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
+-pic_mode=ifelse($#,1,$1,default)
+-])# AC_LIBTOOL_PICMODE
+-
++# _LT_AC_LOCK
++# -----------
++AC_DEFUN([_LT_AC_LOCK],
++[AC_ARG_ENABLE([libtool-lock],
++    [AC_HELP_STRING([--disable-libtool-lock],
++	[avoid locking (might break parallel builds)])])
++test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
+ 
+-# AC_PROG_EGREP
+-# -------------
+-# This is predefined starting with Autoconf 2.54, so this conditional
+-# definition can be removed once we require Autoconf 2.54 or later.
+-m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP],
+-[AC_CACHE_CHECK([for egrep], [ac_cv_prog_egrep],
+-   [if echo a | (grep -E '(a|b)') >/dev/null 2>&1
+-    then ac_cv_prog_egrep='grep -E'
+-    else ac_cv_prog_egrep='egrep'
+-    fi])
+- EGREP=$ac_cv_prog_egrep
+- AC_SUBST([EGREP])
+-])])
++# Some flags need to be propagated to the compiler or linker for good
++# libtool support.
++case $host in
++ia64-*-hpux*)
++  # Find out which ABI we are using.
++  echo 'int i;' > conftest.$ac_ext
++  if AC_TRY_EVAL(ac_compile); then
++    case `/usr/bin/file conftest.$ac_objext` in
++    *ELF-32*)
++      HPUX_IA64_MODE="32"
++      ;;
++    *ELF-64*)
++      HPUX_IA64_MODE="64"
++      ;;
++    esac
++  fi
++  rm -rf conftest*
++  ;;
++*-*-irix6*)
++  # Find out which ABI we are using.
++  echo '[#]line __oline__ "configure"' > conftest.$ac_ext
++  if AC_TRY_EVAL(ac_compile); then
++   if test "$lt_cv_prog_gnu_ld" = yes; then
++    case `/usr/bin/file conftest.$ac_objext` in
++    *32-bit*)
++      LD="${LD-ld} -melf32bsmip"
++      ;;
++    *N32*)
++      LD="${LD-ld} -melf32bmipn32"
++      ;;
++    *64-bit*)
++      LD="${LD-ld} -melf64bmip"
++      ;;
++    esac
++   else
++    case `/usr/bin/file conftest.$ac_objext` in
++    *32-bit*)
++      LD="${LD-ld} -32"
++      ;;
++    *N32*)
++      LD="${LD-ld} -n32"
++      ;;
++    *64-bit*)
++      LD="${LD-ld} -64"
++      ;;
++    esac
++   fi
++  fi
++  rm -rf conftest*
++  ;;
+ 
++x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
++  # Find out which ABI we are using.
++  echo 'int i;' > conftest.$ac_ext
++  if AC_TRY_EVAL(ac_compile); then
++    case "`/usr/bin/file conftest.o`" in
++    *32-bit*)
++      case $host in
++        x86_64-*linux*)
++          LD="${LD-ld} -m elf_i386"
++          ;;
++        ppc64-*linux*|powerpc64-*linux*)
++          LD="${LD-ld} -m elf32ppclinux"
++          ;;
++        s390x-*linux*)
++          LD="${LD-ld} -m elf_s390"
++          ;;
++        sparc64-*linux*)
++          LD="${LD-ld} -m elf32_sparc"
++          ;;
++      esac
++      ;;
++    *64-bit*)
++      case $host in
++        x86_64-*linux*)
++          LD="${LD-ld} -m elf_x86_64"
++          ;;
++        ppc*-*linux*|powerpc*-*linux*)
++          LD="${LD-ld} -m elf64ppc"
++          ;;
++        s390*-*linux*)
++          LD="${LD-ld} -m elf64_s390"
++          ;;
++        sparc*-*linux*)
++          LD="${LD-ld} -m elf64_sparc"
++          ;;
++      esac
++      ;;
++    esac
++  fi
++  rm -rf conftest*
++  ;;
+ 
+-# AC_PATH_TOOL_PREFIX
+-# -------------------
+-# find a file program which can recognise shared library
+-AC_DEFUN([AC_PATH_TOOL_PREFIX],
+-[AC_REQUIRE([AC_PROG_EGREP])dnl
+-AC_MSG_CHECKING([for $1])
+-AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
+-[case $MAGIC_CMD in
+-[[\\/*] |  ?:[\\/]*])
+-  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
++*-*-sco3.2v5*)
++  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
++  SAVE_CFLAGS="$CFLAGS"
++  CFLAGS="$CFLAGS -belf"
++  AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
++    [AC_LANG_PUSH(C)
++     AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
++     AC_LANG_POP])
++  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
++    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
++    CFLAGS="$SAVE_CFLAGS"
++  fi
+   ;;
+-*)
+-  lt_save_MAGIC_CMD="$MAGIC_CMD"
+-  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
+-dnl $ac_dummy forces splitting on constant user-supplied paths.
+-dnl POSIX.2 word splitting is done only on the output of word expansions,
+-dnl not every word.  This closes a longstanding sh security hole.
+-  ac_dummy="ifelse([$2], , $PATH, [$2])"
+-  for ac_dir in $ac_dummy; do
+-    IFS="$lt_save_ifs"
+-    test -z "$ac_dir" && ac_dir=.
+-    if test -f $ac_dir/$1; then
+-      lt_cv_path_MAGIC_CMD="$ac_dir/$1"
+-      if test -n "$file_magic_test_file"; then
+-	case $deplibs_check_method in
+-	"file_magic "*)
+-	  file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
+-	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
+-	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
+-	    $EGREP "$file_magic_regex" > /dev/null; then
+-	    :
+-	  else
+-	    cat <<EOF 1>&2
++AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
++[*-*-cygwin* | *-*-mingw* | *-*-pw32*)
++  AC_CHECK_TOOL(DLLTOOL, dlltool, false)
++  AC_CHECK_TOOL(AS, as, false)
++  AC_CHECK_TOOL(OBJDUMP, objdump, false)
++  ;;
++  ])
++esac
+ 
+-*** Warning: the command libtool uses to detect shared libraries,
+-*** $file_magic_cmd, produces output that libtool cannot recognize.
+-*** The result is that libtool may fail to recognize shared libraries
+-*** as such.  This will affect the creation of libtool libraries that
+-*** depend on shared libraries, but programs linked with such libtool
+-*** libraries will work regardless of this problem.  Nevertheless, you
+-*** may want to report the problem to your system manager and/or to
+-*** bug-libtool@gnu.org
++need_locks="$enable_libtool_lock"
+ 
+-EOF
+-	  fi ;;
+-	esac
+-      fi
+-      break
+-    fi
+-  done
+-  IFS="$lt_save_ifs"
+-  MAGIC_CMD="$lt_save_MAGIC_CMD"
+-  ;;
+-esac])
+-MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
+-if test -n "$MAGIC_CMD"; then
+-  AC_MSG_RESULT($MAGIC_CMD)
+-else
+-  AC_MSG_RESULT(no)
+-fi
+-])# AC_PATH_TOOL_PREFIX
++])# _LT_AC_LOCK
+ 
+ 
+-# AC_PATH_MAGIC
+-# -------------
+-# find a file program which can recognise a shared library
+-AC_DEFUN([AC_PATH_MAGIC],
+-[AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
+-if test -z "$lt_cv_path_MAGIC_CMD"; then
+-  if test -n "$ac_tool_prefix"; then
+-    AC_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)
+-  else
+-    MAGIC_CMD=:
+-  fi
++# AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
++#		[OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
++# ----------------------------------------------------------------
++# Check whether the given compiler option works
++AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION],
++[AC_REQUIRE([LT_AC_PROG_SED])
++AC_CACHE_CHECK([$1], [$2],
++  [$2=no
++  ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
++   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
++   lt_compiler_flag="$3"
++   # Insert the option either (1) after the last *FLAGS variable, or
++   # (2) before a word containing "conftest.", or (3) at the end.
++   # Note that $ac_compile itself does not contain backslashes and begins
++   # with a dollar sign (not a hyphen), so the echo should work correctly.
++   # The option is referenced via a variable to avoid confusing sed.
++   lt_compile=`echo "$ac_compile" | $SED \
++   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
++   -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
++   -e 's:$: $lt_compiler_flag:'`
++   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
++   (eval "$lt_compile" 2>conftest.err)
++   ac_status=$?
++   cat conftest.err >&AS_MESSAGE_LOG_FD
++   echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
++   if (exit $ac_status) && test -s "$ac_outfile"; then
++     # The compiler can only warn and ignore the option if not recognized
++     # So say no if there are warnings
++     if test ! -s conftest.err; then
++       $2=yes
++     fi
++   fi
++   $rm conftest*
++])
++
++if test x"[$]$2" = xyes; then
++    ifelse([$5], , :, [$5])
++else
++    ifelse([$6], , :, [$6])
+ fi
+-])# AC_PATH_MAGIC
++])# AC_LIBTOOL_COMPILER_OPTION
+ 
+ 
+-# AC_PROG_LD
+-# ----------
+-# find the pathname to the GNU or non-GNU linker
+-AC_DEFUN([AC_PROG_LD],
+-[AC_ARG_WITH([gnu-ld],
+-    [AC_HELP_STRING([--with-gnu-ld],
+-	[assume the C compiler uses GNU ld @<:@default=no@:>@])],
+-    [test "$withval" = no || with_gnu_ld=yes],
+-    [with_gnu_ld=no])
+-AC_REQUIRE([LT_AC_PROG_SED])dnl
+-AC_REQUIRE([AC_PROG_CC])dnl
+-AC_REQUIRE([AC_CANONICAL_HOST])dnl
+-AC_REQUIRE([AC_CANONICAL_BUILD])dnl
+-ac_prog=ld
+-if test "$GCC" = yes; then
+-  # Check if gcc -print-prog-name=ld gives a path.
+-  AC_MSG_CHECKING([for ld used by $CC])
+-  case $host in
+-  *-*-mingw*)
+-    # gcc leaves a trailing carriage return which upsets mingw
+-    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
+-  *)
+-    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
+-  esac
+-  case $ac_prog in
+-    # Accept absolute paths.
+-    [[\\/]]* | ?:[[\\/]]*)
+-      re_direlt='/[[^/]][[^/]]*/\.\./'
+-      # Canonicalize the pathname of ld
+-      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
+-      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
+-	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
+-      done
+-      test -z "$LD" && LD="$ac_prog"
+-      ;;
+-  "")
+-    # If it fails, then pretend we aren't using GCC.
+-    ac_prog=ld
+-    ;;
+-  *)
+-    # If it is relative, then search for the first ld in PATH.
+-    with_gnu_ld=unknown
+-    ;;
+-  esac
+-elif test "$with_gnu_ld" = yes; then
+-  AC_MSG_CHECKING([for GNU ld])
+-else
+-  AC_MSG_CHECKING([for non-GNU ld])
+-fi
+-AC_CACHE_VAL(lt_cv_path_LD,
+-[if test -z "$LD"; then
+-  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
+-  for ac_dir in $PATH; do
+-    IFS="$lt_save_ifs"
+-    test -z "$ac_dir" && ac_dir=.
+-    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
+-      lt_cv_path_LD="$ac_dir/$ac_prog"
+-      # Check to see if the program is GNU ld.  I'd rather use --version,
+-      # but apparently some GNU ld's only accept -v.
+-      # Break only if it was the GNU/non-GNU ld that we prefer.
+-      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
+-      *GNU* | *'with BFD'*)
+-	test "$with_gnu_ld" != no && break
+-	;;
+-      *)
+-	test "$with_gnu_ld" != yes && break
+-	;;
+-      esac
+-    fi
+-  done
+-  IFS="$lt_save_ifs"
+-else
+-  lt_cv_path_LD="$LD" # Let the user override the test with a path.
+-fi])
+-LD="$lt_cv_path_LD"
+-if test -n "$LD"; then
+-  AC_MSG_RESULT($LD)
++# AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
++#                          [ACTION-SUCCESS], [ACTION-FAILURE])
++# ------------------------------------------------------------
++# Check whether the given compiler option works
++AC_DEFUN([AC_LIBTOOL_LINKER_OPTION],
++[AC_CACHE_CHECK([$1], [$2],
++  [$2=no
++   save_LDFLAGS="$LDFLAGS"
++   LDFLAGS="$LDFLAGS $3"
++   printf "$lt_simple_link_test_code" > conftest.$ac_ext
++   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
++     # The compiler can only warn and ignore the option if not recognized
++     # So say no if there are warnings
++     if test -s conftest.err; then
++       # Append any errors to the config.log.
++       cat conftest.err 1>&AS_MESSAGE_LOG_FD
++     else
++       $2=yes
++     fi
++   fi
++   $rm conftest*
++   LDFLAGS="$save_LDFLAGS"
++])
++
++if test x"[$]$2" = xyes; then
++    ifelse([$4], , :, [$4])
+ else
+-  AC_MSG_RESULT(no)
++    ifelse([$5], , :, [$5])
+ fi
+-test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
+-AC_PROG_LD_GNU
+-])# AC_PROG_LD
++])# AC_LIBTOOL_LINKER_OPTION
+ 
+ 
+-# AC_PROG_LD_GNU
+-# --------------
+-AC_DEFUN([AC_PROG_LD_GNU],
+-[AC_REQUIRE([AC_PROG_EGREP])dnl
+-AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
+-[# I'd rather use --version here, but apparently some GNU ld's only accept -v.
+-case `$LD -v 2>&1 </dev/null` in
+-*GNU* | *'with BFD'*)
+-  lt_cv_prog_gnu_ld=yes
+-  ;;
+-*)
+-  lt_cv_prog_gnu_ld=no
+-  ;;
+-esac])
+-with_gnu_ld=$lt_cv_prog_gnu_ld
+-])# AC_PROG_LD_GNU
++# AC_LIBTOOL_SYS_MAX_CMD_LEN
++# --------------------------
++AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN],
++[# find the maximum length of command line arguments
++AC_MSG_CHECKING([the maximum length of command line arguments])
++AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
++  i=0
++  teststring="ABCD"
+ 
++  case $build_os in
++  msdosdjgpp*)
++    # On DJGPP, this test can blow up pretty badly due to problems in libc
++    # (any single argument exceeding 2000 bytes causes a buffer overrun
++    # during glob expansion).  Even if it were fixed, the result of this
++    # check would be larger than it should be.
++    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
++    ;;
+ 
+-# AC_PROG_LD_RELOAD_FLAG
+-# ----------------------
+-# find reload flag for linker
+-#   -- PORTME Some linkers may need a different reload flag.
+-AC_DEFUN([AC_PROG_LD_RELOAD_FLAG],
+-[AC_CACHE_CHECK([for $LD option to reload object files],
+-  lt_cv_ld_reload_flag,
+-  [lt_cv_ld_reload_flag='-r'])
+-reload_flag=$lt_cv_ld_reload_flag
+-case $reload_flag in
+-"" | " "*) ;;
+-*) reload_flag=" $reload_flag" ;;
+-esac
+-reload_cmds='$LD$reload_flag -o $output$reload_objs'
+-])# AC_PROG_LD_RELOAD_FLAG
++  gnu*)
++    # Under GNU Hurd, this test is not required because there is
++    # no limit to the length of command line arguments.
++    # Libtool will interpret -1 as no limit whatsoever
++    lt_cv_sys_max_cmd_len=-1;
++    ;;
+ 
++  cygwin* | mingw*)
++    # On Win9x/ME, this test blows up -- it succeeds, but takes
++    # about 5 minutes as the teststring grows exponentially.
++    # Worse, since 9x/ME are not pre-emptively multitasking,
++    # you end up with a "frozen" computer, even though with patience
++    # the test eventually succeeds (with a max line length of 256k).
++    # Instead, let's just punt: use the minimum linelength reported by
++    # all of the supported platforms: 8192 (on NT/2K/XP).
++    lt_cv_sys_max_cmd_len=8192;
++    ;;
+ 
+-# AC_DEPLIBS_CHECK_METHOD
+-# -----------------------
+-# how to check for library dependencies
+-#  -- PORTME fill in with the dynamic library characteristics
+-AC_DEFUN([AC_DEPLIBS_CHECK_METHOD],
+-[AC_CACHE_CHECK([how to recognise dependent libraries],
+-lt_cv_deplibs_check_method,
+-[lt_cv_file_magic_cmd='$MAGIC_CMD'
+-lt_cv_file_magic_test_file=
+-lt_cv_deplibs_check_method='unknown'
+-# Need to set the preceding variable on all platforms that support
+-# interlibrary dependencies.
+-# 'none' -- dependencies not supported.
+-# `unknown' -- same as none, but documents that we really don't know.
+-# 'pass_all' -- all dependencies passed with no checks.
+-# 'test_compile' -- check by making test program.
+-# 'file_magic [[regex]]' -- check by looking for files in library path
+-# which responds to the $file_magic_cmd with a given extended regex.
+-# If you have `file' or equivalent on your system and you're not sure
+-# whether `pass_all' will *always* work, you probably want this one.
++  amigaos*)
++    # On AmigaOS with pdksh, this test takes hours, literally.
++    # So we just punt and use a minimum line length of 8192.
++    lt_cv_sys_max_cmd_len=8192;
++    ;;
+ 
+-case $host_os in
+-aix4* | aix5*)
+-  lt_cv_deplibs_check_method=pass_all
+-  ;;
++ *)
++    # If test is not a shell built-in, we'll probably end up computing a
++    # maximum length that is only half of the actual maximum length, but
++    # we can't tell.
++    while (test "X"`$CONFIG_SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \
++	       = "XX$teststring") >/dev/null 2>&1 &&
++	    new_result=`expr "X$teststring" : ".*" 2>&1` &&
++	    lt_cv_sys_max_cmd_len=$new_result &&
++	    test $i != 17 # 1/2 MB should be enough
++    do
++      i=`expr $i + 1`
++      teststring=$teststring$teststring
++    done
++    teststring=
++    # Add a significant safety factor because C++ compilers can tack on massive
++    # amounts of additional arguments before passing them to the linker.
++    # It appears as though 1/2 is a usable value.
++    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
++    ;;
++  esac
++])
++if test -n $lt_cv_sys_max_cmd_len ; then
++  AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
++else
++  AC_MSG_RESULT(none)
++fi
++])# AC_LIBTOOL_SYS_MAX_CMD_LEN
+ 
+-beos*)
+-  lt_cv_deplibs_check_method=pass_all
+-  ;;
+ 
+-bsdi4*)
+-  lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
+-  lt_cv_file_magic_cmd='/usr/bin/file -L'
+-  lt_cv_file_magic_test_file=/shlib/libc.so
+-  ;;
++# _LT_AC_CHECK_DLFCN
++# --------------------
++AC_DEFUN([_LT_AC_CHECK_DLFCN],
++[AC_CHECK_HEADERS(dlfcn.h)dnl
++])# _LT_AC_CHECK_DLFCN
+ 
+-cygwin*)
+-  # win32_libid is a shell function defined in ltmain.sh
+-  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
+-  lt_cv_file_magic_cmd='win32_libid'
+-  ;;
+ 
+-mingw* | pw32*)
+-  # Base MSYS/MinGW do not provide the 'file' command needed by
+-  # win32_libid shell function, so use a weaker test based on 'objdump'.
+-  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
+-  lt_cv_file_magic_cmd='$OBJDUMP -f'
+-  ;;
++# _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
++#                           ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
++# ------------------------------------------------------------------
++AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF],
++[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
++if test "$cross_compiling" = yes; then :
++  [$4]
++else
++  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
++  lt_status=$lt_dlunknown
++  cat > conftest.$ac_ext <<EOF
++[#line __oline__ "configure"
++#include "confdefs.h"
+ 
+-darwin* | rhapsody*)
+-  lt_cv_deplibs_check_method=pass_all
+-  ;;
++#if HAVE_DLFCN_H
++#include <dlfcn.h>
++#endif
+ 
+-freebsd* | kfreebsd*-gnu)
+-  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
+-    case $host_cpu in
+-    i*86 )
+-      # Not sure whether the presence of OpenBSD here was a mistake.
+-      # Let's accept both of them until this is cleared up.
+-      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[[3-9]]86 (compact )?demand paged shared library'
+-      lt_cv_file_magic_cmd=/usr/bin/file
+-      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
+-      ;;
++#include <stdio.h>
++
++#ifdef RTLD_GLOBAL
++#  define LT_DLGLOBAL		RTLD_GLOBAL
++#else
++#  ifdef DL_GLOBAL
++#    define LT_DLGLOBAL		DL_GLOBAL
++#  else
++#    define LT_DLGLOBAL		0
++#  endif
++#endif
++
++/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
++   find out it does not work in some platform. */
++#ifndef LT_DLLAZY_OR_NOW
++#  ifdef RTLD_LAZY
++#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
++#  else
++#    ifdef DL_LAZY
++#      define LT_DLLAZY_OR_NOW		DL_LAZY
++#    else
++#      ifdef RTLD_NOW
++#        define LT_DLLAZY_OR_NOW	RTLD_NOW
++#      else
++#        ifdef DL_NOW
++#          define LT_DLLAZY_OR_NOW	DL_NOW
++#        else
++#          define LT_DLLAZY_OR_NOW	0
++#        endif
++#      endif
++#    endif
++#  endif
++#endif
++
++#ifdef __cplusplus
++extern "C" void exit (int);
++#endif
++
++void fnord() { int i=42;}
++int main ()
++{
++  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
++  int status = $lt_dlunknown;
++
++  if (self)
++    {
++      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
++      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
++      /* dlclose (self); */
++    }
++
++    exit (status);
++}]
++EOF
++  if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
++    (./conftest; exit; ) 2>/dev/null
++    lt_status=$?
++    case x$lt_status in
++      x$lt_dlno_uscore) $1 ;;
++      x$lt_dlneed_uscore) $2 ;;
++      x$lt_unknown|x*) $3 ;;
+     esac
+-  else
+-    lt_cv_deplibs_check_method=pass_all
++  else :
++    # compilation failed
++    $3
+   fi
+-  ;;
++fi
++rm -fr conftest*
++])# _LT_AC_TRY_DLOPEN_SELF
+ 
+-gnu*)
+-  lt_cv_deplibs_check_method=pass_all
+-  ;;
+ 
+-hpux10.20* | hpux11*)
+-  lt_cv_file_magic_cmd=/usr/bin/file
+-  case "$host_cpu" in
+-  ia64*)
+-    lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
+-    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
+-    ;;
+-  hppa*64*)
+-    [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]']
+-    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
+-    ;;
+-  *)
+-    lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
+-    lt_cv_file_magic_test_file=/usr/lib/libc.sl
++# AC_LIBTOOL_DLOPEN_SELF
++# -------------------
++AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF],
++[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
++if test "x$enable_dlopen" != xyes; then
++  enable_dlopen=unknown
++  enable_dlopen_self=unknown
++  enable_dlopen_self_static=unknown
++else
++  lt_cv_dlopen=no
++  lt_cv_dlopen_libs=
++
++  case $host_os in
++  beos*)
++    lt_cv_dlopen="load_add_on"
++    lt_cv_dlopen_libs=
++    lt_cv_dlopen_self=yes
+     ;;
+-  esac
+-  ;;
+ 
+-irix5* | irix6* | nonstopux*)
+-  case $LD in
+-  *-32|*"-32 ") libmagic=32-bit;;
+-  *-n32|*"-n32 ") libmagic=N32;;
+-  *-64|*"-64 ") libmagic=64-bit;;
+-  *) libmagic=never-match;;
+-  esac
+-  lt_cv_deplibs_check_method=pass_all
+-  ;;
++  mingw* | pw32*)
++    lt_cv_dlopen="LoadLibrary"
++    lt_cv_dlopen_libs=
++   ;;
++
++  cygwin*)
++    lt_cv_dlopen="dlopen"
++    lt_cv_dlopen_libs=
++   ;;
++
++  darwin*)
++  # if libdl is installed we need to link against it
++    AC_CHECK_LIB([dl], [dlopen],
++		[lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
++    lt_cv_dlopen="dyld"
++    lt_cv_dlopen_libs=
++    lt_cv_dlopen_self=yes
++    ])
++   ;;
+ 
+-# This must be Linux ELF.
+-linux*)
+-  case $host_cpu in
+-  alpha*|hppa*|i*86|ia64*|m68*|mips*|powerpc*|sparc*|s390*|sh*)
+-    lt_cv_deplibs_check_method=pass_all ;;
+   *)
+-    # glibc up to 2.1.1 does not perform some relocations on ARM
+-    # this will be overridden with pass_all, but let us keep it just in case
+-    lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;;
++    AC_CHECK_FUNC([shl_load],
++	  [lt_cv_dlopen="shl_load"],
++      [AC_CHECK_LIB([dld], [shl_load],
++	    [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"],
++	[AC_CHECK_FUNC([dlopen],
++	      [lt_cv_dlopen="dlopen"],
++	  [AC_CHECK_LIB([dl], [dlopen],
++		[lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
++	    [AC_CHECK_LIB([svld], [dlopen],
++		  [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
++	      [AC_CHECK_LIB([dld], [dld_link],
++		    [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
++	      ])
++	    ])
++	  ])
++	])
++      ])
++    ;;
+   esac
+-  lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
+-  lt_cv_deplibs_check_method=pass_all
+-  ;;
+ 
+-netbsd*)
+-  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
+-    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
++  if test "x$lt_cv_dlopen" != xno; then
++    enable_dlopen=yes
+   else
+-    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
++    enable_dlopen=no
+   fi
+-  ;;
+-
+-newos6*)
+-  lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
+-  lt_cv_file_magic_cmd=/usr/bin/file
+-  lt_cv_file_magic_test_file=/usr/lib/libnls.so
+-  ;;
+ 
+-nto-qnx*)
+-  lt_cv_deplibs_check_method=unknown
+-  ;;
++  case $lt_cv_dlopen in
++  dlopen)
++    save_CPPFLAGS="$CPPFLAGS"
++    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
+ 
+-openbsd*)
+-  lt_cv_file_magic_cmd=/usr/bin/file
+-  lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
+-  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
+-    lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB shared object'
+-  else
+-    lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
+-  fi
+-  ;;
++    save_LDFLAGS="$LDFLAGS"
++    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
+ 
+-osf3* | osf4* | osf5*)
+-  lt_cv_deplibs_check_method=pass_all
+-  ;;
++    save_LIBS="$LIBS"
++    LIBS="$lt_cv_dlopen_libs $LIBS"
+ 
+-sco3.2v5*)
+-  lt_cv_deplibs_check_method=pass_all
+-  ;;
++    AC_CACHE_CHECK([whether a program can dlopen itself],
++	  lt_cv_dlopen_self, [dnl
++	  _LT_AC_TRY_DLOPEN_SELF(
++	    lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
++	    lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
++    ])
+ 
+-solaris*)
+-  lt_cv_deplibs_check_method=pass_all
+-  ;;
++    if test "x$lt_cv_dlopen_self" = xyes; then
++      LDFLAGS="$LDFLAGS $link_static_flag"
++      AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
++    	  lt_cv_dlopen_self_static, [dnl
++	  _LT_AC_TRY_DLOPEN_SELF(
++	    lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
++	    lt_cv_dlopen_self_static=no,  lt_cv_dlopen_self_static=cross)
++      ])
++    fi
+ 
+-sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
+-  case $host_vendor in
+-  motorola)
+-    lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]'
+-    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
+-    ;;
+-  ncr)
+-    lt_cv_deplibs_check_method=pass_all
+-    ;;
+-  sequent)
+-    lt_cv_file_magic_cmd='/bin/file'
+-    lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
+-    ;;
+-  sni)
+-    lt_cv_file_magic_cmd='/bin/file'
+-    lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
+-    lt_cv_file_magic_test_file=/lib/libc.so
+-    ;;
+-  siemens)
+-    lt_cv_deplibs_check_method=pass_all
++    CPPFLAGS="$save_CPPFLAGS"
++    LDFLAGS="$save_LDFLAGS"
++    LIBS="$save_LIBS"
+     ;;
+   esac
+-  ;;
+-
+-sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7* | sysv4*uw2*)
+-  lt_cv_deplibs_check_method=pass_all
+-  ;;
+-esac
+-])
+-file_magic_cmd=$lt_cv_file_magic_cmd
+-deplibs_check_method=$lt_cv_deplibs_check_method
+-test -z "$deplibs_check_method" && deplibs_check_method=unknown
+-])# AC_DEPLIBS_CHECK_METHOD
+ 
+-
+-# AC_PROG_NM
+-# ----------
+-# find the pathname to a BSD-compatible name lister
+-AC_DEFUN([AC_PROG_NM],
+-[AC_CACHE_CHECK([for BSD-compatible nm], lt_cv_path_NM,
+-[if test -n "$NM"; then
+-  # Let the user override the test.
+-  lt_cv_path_NM="$NM"
+-else
+-  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
+-  for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
+-    IFS="$lt_save_ifs"
+-    test -z "$ac_dir" && ac_dir=.
+-    tmp_nm="$ac_dir/${ac_tool_prefix}nm"
+-    if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
+-      # Check to see if the nm accepts a BSD-compat flag.
+-      # Adding the `sed 1q' prevents false positives on HP-UX, which says:
+-      #   nm: unknown option "B" ignored
+-      # Tru64's nm complains that /dev/null is an invalid object file
+-      case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
+-      */dev/null* | *'Invalid file or object type'*)
+-	lt_cv_path_NM="$tmp_nm -B"
+-	break
+-        ;;
+-      *)
+-	case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
+-	*/dev/null*)
+-	  lt_cv_path_NM="$tmp_nm -p"
+-	  break
+-	  ;;
+-	*)
+-	  lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
+-	  continue # so that we can try to find one that supports BSD flags
+-	  ;;
+-	esac
+-      esac
+-    fi
+-  done
+-  IFS="$lt_save_ifs"
+-  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
+-fi])
+-NM="$lt_cv_path_NM"
+-])# AC_PROG_NM
+-
+-
+-# AC_CHECK_LIBM
+-# -------------
+-# check for math library
+-AC_DEFUN([AC_CHECK_LIBM],
+-[AC_REQUIRE([AC_CANONICAL_HOST])dnl
+-LIBM=
+-case $host in
+-*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
+-  # These system don't have libm, or don't need it
+-  ;;
+-*-ncr-sysv4.3*)
+-  AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
+-  AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
+-  ;;
+-*)
+-  AC_CHECK_LIB(m, cos, LIBM="-lm")
+-  ;;
+-esac
+-])# AC_CHECK_LIBM
+-
+-
+-# AC_LIBLTDL_CONVENIENCE([DIRECTORY])
+-# -----------------------------------
+-# sets LIBLTDL to the link flags for the libltdl convenience library and
+-# LTDLINCL to the include flags for the libltdl header and adds
+-# --enable-ltdl-convenience to the configure arguments.  Note that LIBLTDL
+-# and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called.  If
+-# DIRECTORY is not provided, it is assumed to be `libltdl'.  LIBLTDL will
+-# be prefixed with '${top_builddir}/' and LTDLINCL will be prefixed with
+-# '${top_srcdir}/' (note the single quotes!).  If your package is not
+-# flat and you're not using automake, define top_builddir and
+-# top_srcdir appropriately in the Makefiles.
+-AC_DEFUN([AC_LIBLTDL_CONVENIENCE],
+-[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
+-  case $enable_ltdl_convenience in
+-  no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;;
+-  "") enable_ltdl_convenience=yes
+-      ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
++  case $lt_cv_dlopen_self in
++  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
++  *) enable_dlopen_self=unknown ;;
+   esac
+-  LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la
+-  LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
+-  # For backwards non-gettext consistent compatibility...
+-  INCLTDL="$LTDLINCL"
+-])# AC_LIBLTDL_CONVENIENCE
+ 
+-
+-# AC_LIBLTDL_INSTALLABLE([DIRECTORY])
+-# -----------------------------------
+-# sets LIBLTDL to the link flags for the libltdl installable library and
+-# LTDLINCL to the include flags for the libltdl header and adds
+-# --enable-ltdl-install to the configure arguments.  Note that LIBLTDL
+-# and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called.  If
+-# DIRECTORY is not provided and an installed libltdl is not found, it is
+-# assumed to be `libltdl'.  LIBLTDL will be prefixed with '${top_builddir}/'
+-# and LTDLINCL will be prefixed with '${top_srcdir}/' (note the single
+-# quotes!).  If your package is not flat and you're not using automake,
+-# define top_builddir and top_srcdir appropriately in the Makefiles.
+-# In the future, this macro may have to be called after AC_PROG_LIBTOOL.
+-AC_DEFUN([AC_LIBLTDL_INSTALLABLE],
+-[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
+-  AC_CHECK_LIB(ltdl, lt_dlinit,
+-  [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no],
+-  [if test x"$enable_ltdl_install" = xno; then
+-     AC_MSG_WARN([libltdl not installed, but installation disabled])
+-   else
+-     enable_ltdl_install=yes
+-   fi
+-  ])
+-  if test x"$enable_ltdl_install" = x"yes"; then
+-    ac_configure_args="$ac_configure_args --enable-ltdl-install"
+-    LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la
+-    LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
+-  else
+-    ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
+-    LIBLTDL="-lltdl"
+-    LTDLINCL=
+-  fi
+-  # For backwards non-gettext consistent compatibility...
+-  INCLTDL="$LTDLINCL"
+-])# AC_LIBLTDL_INSTALLABLE
++  case $lt_cv_dlopen_self_static in
++  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
++  *) enable_dlopen_self_static=unknown ;;
++  esac
++fi
++])# AC_LIBTOOL_DLOPEN_SELF
+ 
+ 
+-# AC_LIBTOOL_CXX
+-# --------------
+-# enable support for C++ libraries
+-AC_DEFUN([AC_LIBTOOL_CXX],
+-[AC_REQUIRE([_LT_AC_LANG_CXX])
+-])# AC_LIBTOOL_CXX
++# AC_LIBTOOL_PROG_CC_C_O([TAGNAME])
++# ---------------------------------
++# Check to see if options -c and -o are simultaneously supported by compiler
++AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O],
++[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
++AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
++  [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
++  [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
++   $rm -r conftest 2>/dev/null
++   mkdir conftest
++   cd conftest
++   mkdir out
++   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
+ 
++   lt_compiler_flag="-o out/conftest2.$ac_objext"
++   # Insert the option either (1) after the last *FLAGS variable, or
++   # (2) before a word containing "conftest.", or (3) at the end.
++   # Note that $ac_compile itself does not contain backslashes and begins
++   # with a dollar sign (not a hyphen), so the echo should work correctly.
++   lt_compile=`echo "$ac_compile" | $SED \
++   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
++   -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
++   -e 's:$: $lt_compiler_flag:'`
++   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
++   (eval "$lt_compile" 2>out/conftest.err)
++   ac_status=$?
++   cat out/conftest.err >&AS_MESSAGE_LOG_FD
++   echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
++   if (exit $ac_status) && test -s out/conftest2.$ac_objext
++   then
++     # The compiler can only warn and ignore the option if not recognized
++     # So say no if there are warnings
++     if test ! -s out/conftest.err; then
++       _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
++     fi
++   fi
++   chmod u+w .
++   $rm conftest*
++   # SGI C++ compiler will create directory out/ii_files/ for
++   # template instantiation
++   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
++   $rm out/* && rmdir out
++   cd ..
++   rmdir conftest
++   $rm conftest*
++])
++])# AC_LIBTOOL_PROG_CC_C_O
+ 
+-# _LT_AC_LANG_CXX
+-# ---------------
+-AC_DEFUN([_LT_AC_LANG_CXX],
+-[AC_REQUIRE([AC_PROG_CXX])
+-AC_REQUIRE([AC_PROG_CXXCPP])
+-_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}CXX])
+-])# _LT_AC_LANG_CXX
+ 
++# AC_LIBTOOL_SYS_HARD_LINK_LOCKS([TAGNAME])
++# -----------------------------------------
++# Check to see if we can do hard links to lock some files if needed
++AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS],
++[AC_REQUIRE([_LT_AC_LOCK])dnl
+ 
+-# AC_LIBTOOL_F77
+-# --------------
+-# enable support for Fortran 77 libraries
+-AC_DEFUN([AC_LIBTOOL_F77],
+-[AC_REQUIRE([_LT_AC_LANG_F77])
+-])# AC_LIBTOOL_F77
++hard_links="nottested"
++if test "$_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
++  # do not overwrite the value of need_locks provided by the user
++  AC_MSG_CHECKING([if we can lock with hard links])
++  hard_links=yes
++  $rm conftest*
++  ln conftest.a conftest.b 2>/dev/null && hard_links=no
++  touch conftest.a
++  ln conftest.a conftest.b 2>&5 || hard_links=no
++  ln conftest.a conftest.b 2>/dev/null && hard_links=no
++  AC_MSG_RESULT([$hard_links])
++  if test "$hard_links" = no; then
++    AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe])
++    need_locks=warn
++  fi
++else
++  need_locks=no
++fi
++])# AC_LIBTOOL_SYS_HARD_LINK_LOCKS
+ 
+ 
+-# _LT_AC_LANG_F77
+-# ---------------
+-AC_DEFUN([_LT_AC_LANG_F77],
+-[AC_REQUIRE([AC_PROG_F77])
+-_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}F77])
+-])# _LT_AC_LANG_F77
++# AC_LIBTOOL_OBJDIR
++# -----------------
++AC_DEFUN([AC_LIBTOOL_OBJDIR],
++[AC_CACHE_CHECK([for objdir], [lt_cv_objdir],
++[rm -f .libs 2>/dev/null
++mkdir .libs 2>/dev/null
++if test -d .libs; then
++  lt_cv_objdir=.libs
++else
++  # MS-DOS does not allow filenames that begin with a dot.
++  lt_cv_objdir=_libs
++fi
++rmdir .libs 2>/dev/null])
++objdir=$lt_cv_objdir
++])# AC_LIBTOOL_OBJDIR
+ 
+ 
+-# AC_LIBTOOL_GCJ
+-# --------------
+-# enable support for GCJ libraries
+-AC_DEFUN([AC_LIBTOOL_GCJ],
+-[AC_REQUIRE([_LT_AC_LANG_GCJ])
+-])# AC_LIBTOOL_GCJ
+-
+-
+-# _LT_AC_LANG_GCJ
+-# ---------------
+-AC_DEFUN([_LT_AC_LANG_GCJ],
+-[AC_PROVIDE_IFELSE([AC_PROG_GCJ],[],
+-  [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],[],
+-    [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],[],
+-      [ifdef([AC_PROG_GCJ],[AC_REQUIRE([AC_PROG_GCJ])],
+-	 [ifdef([A][M_PROG_GCJ],[AC_REQUIRE([A][M_PROG_GCJ])],
+-	   [AC_REQUIRE([A][C_PROG_GCJ_OR_A][M_PROG_GCJ])])])])])])
+-_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}GCJ])
+-])# _LT_AC_LANG_GCJ
++# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([TAGNAME])
++# ----------------------------------------------
++# Check hardcoding attributes.
++AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH],
++[AC_MSG_CHECKING([how to hardcode library paths into programs])
++_LT_AC_TAGVAR(hardcode_action, $1)=
++if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \
++   test -n "$_LT_AC_TAGVAR(runpath_var $1)" || \
++   test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)"="Xyes" ; then
+ 
++  # We can hardcode non-existant directories.
++  if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no &&
++     # If the only mechanism to avoid hardcoding is shlibpath_var, we
++     # have to relink, otherwise we might link with an installed library
++     # when we should be linking with a yet-to-be-installed one
++     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
++     test "$_LT_AC_TAGVAR(hardcode_minus_L, $1)" != no; then
++    # Linking always hardcodes the temporary library directory.
++    _LT_AC_TAGVAR(hardcode_action, $1)=relink
++  else
++    # We can link without hardcoding, and we can hardcode nonexisting dirs.
++    _LT_AC_TAGVAR(hardcode_action, $1)=immediate
++  fi
++else
++  # We cannot hardcode anything, or else we can only hardcode existing
++  # directories.
++  _LT_AC_TAGVAR(hardcode_action, $1)=unsupported
++fi
++AC_MSG_RESULT([$_LT_AC_TAGVAR(hardcode_action, $1)])
+ 
+-# AC_LIBTOOL_RC
+-# --------------
+-# enable support for Windows resource files
+-AC_DEFUN([AC_LIBTOOL_RC],
+-[AC_REQUIRE([LT_AC_PROG_RC])
+-_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}RC])
+-])# AC_LIBTOOL_RC
++if test "$_LT_AC_TAGVAR(hardcode_action, $1)" = relink; then
++  # Fast installation is not supported
++  enable_fast_install=no
++elif test "$shlibpath_overrides_runpath" = yes ||
++     test "$enable_shared" = no; then
++  # Fast installation is not necessary
++  enable_fast_install=needless
++fi
++])# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH
+ 
+ 
+-# AC_LIBTOOL_LANG_C_CONFIG
++# AC_LIBTOOL_SYS_LIB_STRIP
+ # ------------------------
+-# Ensure that the configuration vars for the C compiler are
+-# suitably defined.  Those variables are subsequently used by
+-# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
+-AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG], [_LT_AC_LANG_C_CONFIG])
+-AC_DEFUN([_LT_AC_LANG_C_CONFIG],
+-[lt_save_CC="$CC"
+-AC_LANG_PUSH(C)
+-
+-# Source file extension for C test sources.
+-ac_ext=c
+-
+-# Object file extension for compiled C test sources.
+-objext=o
+-_LT_AC_TAGVAR(objext, $1)=$objext
+-
+-# Code to be used in simple compile tests
+-lt_simple_compile_test_code="int some_variable = 0;\n"
+-
+-# Code to be used in simple link tests
+-lt_simple_link_test_code='int main(){return(0);}\n'
+-
+-_LT_AC_SYS_COMPILER
+-
+-#
+-# Check for any special shared library compilation flags.
+-#
+-_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)=
+-if test "$GCC" = no; then
++AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP],
++[striplib=
++old_striplib=
++AC_MSG_CHECKING([whether stripping libraries is possible])
++if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
++  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
++  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
++  AC_MSG_RESULT([yes])
++else
++# FIXME - insert some real tests, host_os isn't really good enough
+   case $host_os in
+-  sco3.2v5*)
+-    _LT_AC_TAGVAR(lt_prog_cc_shlib, $1)='-belf'
++   darwin*)
++       if test -n "$STRIP" ; then
++         striplib="$STRIP -x"
++         AC_MSG_RESULT([yes])
++       else
++  AC_MSG_RESULT([no])
++fi
++       ;;
++   *)
++  AC_MSG_RESULT([no])
+     ;;
+   esac
+ fi
+-if test -n "$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)"; then
+-  AC_MSG_WARN([`$CC' requires `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to build shared libraries])
+-  if echo "$old_CC $old_CFLAGS " | grep "[[ 	]]$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)[[ 	]]" >/dev/null; then :
++])# AC_LIBTOOL_SYS_LIB_STRIP
++
++
++# AC_LIBTOOL_SYS_DYNAMIC_LINKER
++# -----------------------------
++# PORTME Fill in your ld.so characteristics
++AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER],
++[AC_MSG_CHECKING([dynamic linker characteristics])
++library_names_spec=
++libname_spec='lib$name'
++soname_spec=
++shrext_cmds=".so"
++postinstall_cmds=
++postuninstall_cmds=
++finish_cmds=
++finish_eval=
++shlibpath_var=
++shlibpath_overrides_runpath=unknown
++version_type=none
++dynamic_linker="$host_os ld.so"
++sys_lib_dlsearch_path_spec="/lib /usr/lib"
++if test "$GCC" = yes; then
++  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
++  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
++    # if the path contains ";" then we assume it to be the separator
++    # otherwise default to the standard path separator (i.e. ":") - it is
++    # assumed that no part of a normal pathname contains ";" but that should
++    # okay in the real world where ";" in dirpaths is itself problematic.
++    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
+   else
+-    AC_MSG_WARN([add `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to the CC or CFLAGS env variable and reconfigure])
+-    _LT_AC_TAGVAR(lt_cv_prog_cc_can_build_shared, $1)=no
++    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
+   fi
++else
++  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
+ fi
++need_lib_prefix=unknown
++hardcode_into_libs=no
+ 
++# when you set need_version to no, make sure it does not cause -set_version
++# flags to be left without arguments
++need_version=unknown
+ 
+-#
+-# Check to make sure the static flag actually works.
+-#
+-AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $_LT_AC_TAGVAR(lt_prog_compiler_static, $1) works],
+-  _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1),
+-  $_LT_AC_TAGVAR(lt_prog_compiler_static, $1),
+-  [],
+-  [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=])
+-
+-
+-AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
+-AC_LIBTOOL_PROG_COMPILER_PIC($1)
+-AC_LIBTOOL_PROG_CC_C_O($1)
+-AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
+-AC_LIBTOOL_PROG_LD_SHLIBS($1)
+-AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
+-AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
+-AC_LIBTOOL_SYS_LIB_STRIP
+-AC_LIBTOOL_DLOPEN_SELF($1)
+-
+-# Report which librarie types wil actually be built
+-AC_MSG_CHECKING([if libtool supports shared libraries])
+-AC_MSG_RESULT([$can_build_shared])
+-
+-AC_MSG_CHECKING([whether to build shared libraries])
+-test "$can_build_shared" = "no" && enable_shared=no
+-
+-# On AIX, shared libraries and static libraries use the same namespace, and
+-# are all built from PIC.
+-case "$host_os" in
++case $host_os in
+ aix3*)
+-  test "$enable_shared" = yes && enable_static=no
+-  if test -n "$RANLIB"; then
+-    archive_cmds="$archive_cmds~\$RANLIB \$lib"
+-    postinstall_cmds='$RANLIB $lib'
+-  fi
+-  ;;
++  version_type=linux
++  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
++  shlibpath_var=LIBPATH
+ 
+-aix4*)
+-  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
+-    test "$enable_shared" = yes && enable_static=no
+-  fi
++  # AIX 3 has no versioning support, so we append a major version to the name.
++  soname_spec='${libname}${release}${shared_ext}$major'
+   ;;
+-  darwin* | rhapsody*)
+-  if test "$GCC" = yes; then
+-    _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
+-    case "$host_os" in
+-    rhapsody* | darwin1.[[012]])
+-      _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'
+-      ;;
+-    *) # Darwin 1.3 on
+-      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
+-      	_LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
++
++aix4* | aix5*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  hardcode_into_libs=yes
++  if test "$host_cpu" = ia64; then
++    # AIX 5 supports IA64
++    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
++    shlibpath_var=LD_LIBRARY_PATH
++  else
++    # With GCC up to 2.95.x, collect2 would create an import file
++    # for dependence libraries.  The import file would start with
++    # the line `#! .'.  This would cause the generated library to
++    # depend on `.', always an invalid library.  This was fixed in
++    # development snapshots of GCC prior to 3.0.
++    case $host_os in
++      aix4 | aix4.[[01]] | aix4.[[01]].*)
++      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
++	   echo ' yes '
++	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
++	:
+       else
+-        case ${MACOSX_DEPLOYMENT_TARGET} in
+-          10.[[012]])
+-            _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
+-            ;;
+-          10.*)
+-            _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'
+-            ;;
+-        esac
++	can_build_shared=no
+       fi
+       ;;
+     esac
+-    output_verbose_link_cmd='echo'
+-    _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
+-    _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
+-    # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
+-    _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag  -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
+-    _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
+-    _LT_AC_TAGVAR(hardcode_direct, $1)=no
+-    _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
+-    _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
+-    _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
+-    _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
+-  else
+-    _LT_AC_TAGVAR(ld_shlibs, $1)=no
++    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
++    # soname into executable. Probably we can add versioning support to
++    # collect2, so additional links can be useful in future.
++    if test "$aix_use_runtimelinking" = yes; then
++      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
++      # instead of lib<name>.a to let people know that these are not
++      # typical AIX shared libraries.
++      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++    else
++      # We preserve .a as extension for shared libraries through AIX4.2
++      # and later when we are not doing run time linking.
++      library_names_spec='${libname}${release}.a $libname.a'
++      soname_spec='${libname}${release}${shared_ext}$major'
++    fi
++    shlibpath_var=LIBPATH
+   fi
+-    ;;
+-esac
+-AC_MSG_RESULT([$enable_shared])
+-
+-AC_MSG_CHECKING([whether to build static libraries])
+-# Make sure either enable_shared or enable_static is yes.
+-test "$enable_shared" = yes || enable_static=yes
+-AC_MSG_RESULT([$enable_static])
+-
+-AC_LIBTOOL_CONFIG($1)
+-
+-AC_LANG_POP
+-CC="$lt_save_CC"
+-])# AC_LIBTOOL_LANG_C_CONFIG
+-
+-
+-# AC_LIBTOOL_LANG_CXX_CONFIG
+-# --------------------------
+-# Ensure that the configuration vars for the C compiler are
+-# suitably defined.  Those variables are subsequently used by
+-# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
+-AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG], [_LT_AC_LANG_CXX_CONFIG(CXX)])
+-AC_DEFUN([_LT_AC_LANG_CXX_CONFIG],
+-[AC_LANG_PUSH(C++)
+-AC_REQUIRE([AC_PROG_CXX])
+-AC_REQUIRE([AC_PROG_CXXCPP])
++  ;;
+ 
+-_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
+-_LT_AC_TAGVAR(allow_undefined_flag, $1)=
+-_LT_AC_TAGVAR(always_export_symbols, $1)=no
+-_LT_AC_TAGVAR(archive_expsym_cmds, $1)=
+-_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
+-_LT_AC_TAGVAR(hardcode_direct, $1)=no
+-_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
+-_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
+-_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
+-_LT_AC_TAGVAR(hardcode_minus_L, $1)=no
+-_LT_AC_TAGVAR(hardcode_automatic, $1)=no
+-_LT_AC_TAGVAR(module_cmds, $1)=
+-_LT_AC_TAGVAR(module_expsym_cmds, $1)=
+-_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
+-_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
+-_LT_AC_TAGVAR(no_undefined_flag, $1)=
+-_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
+-_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
++amigaos*)
++  library_names_spec='$libname.ixlibrary $libname.a'
++  # Create ${libname}_ixlibrary.a entries in /sys/libs.
++  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
++  ;;
+ 
+-# Dependencies to place before and after the object being linked:
+-_LT_AC_TAGVAR(predep_objects, $1)=
+-_LT_AC_TAGVAR(postdep_objects, $1)=
+-_LT_AC_TAGVAR(predeps, $1)=
+-_LT_AC_TAGVAR(postdeps, $1)=
+-_LT_AC_TAGVAR(compiler_lib_search_path, $1)=
++beos*)
++  library_names_spec='${libname}${shared_ext}'
++  dynamic_linker="$host_os ld.so"
++  shlibpath_var=LIBRARY_PATH
++  ;;
+ 
+-# Source file extension for C++ test sources.
+-ac_ext=cc
++bsdi4*)
++  version_type=linux
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
++  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
++  # the default ld.so.conf also contains /usr/contrib/lib and
++  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
++  # libtool to hard-code these into programs
++  ;;
+ 
+-# Object file extension for compiled C++ test sources.
+-objext=o
+-_LT_AC_TAGVAR(objext, $1)=$objext
++cygwin* | mingw* | pw32*)
++  version_type=windows
++  shrext_cmds=".dll"
++  need_version=no
++  need_lib_prefix=no
+ 
+-# Code to be used in simple compile tests
+-lt_simple_compile_test_code="int some_variable = 0;\n"
++  case $GCC,$host_os in
++  yes,cygwin* | yes,mingw* | yes,pw32*)
++    library_names_spec='$libname.dll.a'
++    # DLL is installed to $(libdir)/../bin by postinstall_cmds
++    postinstall_cmds='base_file=`basename \${file}`~
++      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
++      dldir=$destdir/`dirname \$dlpath`~
++      test -d \$dldir || mkdir -p \$dldir~
++      $install_prog $dir/$dlname \$dldir/$dlname'
++    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
++      dlpath=$dir/\$dldll~
++       $rm \$dlpath'
++    shlibpath_overrides_runpath=yes
+ 
+-# Code to be used in simple link tests
+-lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
++    case $host_os in
++    cygwin*)
++      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
++      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
++      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
++      ;;
++    mingw*)
++      # MinGW DLLs use traditional 'lib' prefix
++      soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
++      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
++      if echo "$sys_lib_search_path_spec" | [grep ';[c-zC-Z]:/' >/dev/null]; then
++        # It is most probably a Windows format PATH printed by
++        # mingw gcc, but we are running on Cygwin. Gcc prints its search
++        # path with ; separators, and with drive letters. We can handle the
++        # drive letters (cygwin fileutils understands them), so leave them,
++        # especially as we might pass files found there to a mingw objdump,
++        # which wouldn't understand a cygwinified path. Ahh.
++        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
++      else
++        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
++      fi
++      ;;
++    pw32*)
++      # pw32 DLLs use 'pw' prefix rather than 'lib'
++      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
++      ;;
++    esac
++    ;;
+ 
+-# ltmain only uses $CC for tagged configurations so make sure $CC is set.
+-_LT_AC_SYS_COMPILER
++  *)
++    library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
++    ;;
++  esac
++  dynamic_linker='Win32 ld.exe'
++  # FIXME: first we should search . and the directory the executable is in
++  shlibpath_var=PATH
++  ;;
+ 
+-# Allow CC to be a program name with arguments.
+-lt_save_CC=$CC
+-lt_save_LD=$LD
+-lt_save_GCC=$GCC
+-GCC=$GXX
+-lt_save_with_gnu_ld=$with_gnu_ld
+-lt_save_path_LD=$lt_cv_path_LD
+-if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
+-  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
+-else
+-  unset lt_cv_prog_gnu_ld
+-fi
+-if test -n "${lt_cv_path_LDCXX+set}"; then
+-  lt_cv_path_LD=$lt_cv_path_LDCXX
+-else
+-  unset lt_cv_path_LD
+-fi
+-test -z "${LDCXX+set}" || LD=$LDCXX
+-CC=${CXX-"c++"}
+-compiler=$CC
+-_LT_AC_TAGVAR(compiler, $1)=$CC
+-cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
++darwin* | rhapsody*)
++  dynamic_linker="$host_os dyld"
++  version_type=darwin
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
++  soname_spec='${libname}${release}${major}$shared_ext'
++  shlibpath_overrides_runpath=yes
++  shlibpath_var=DYLD_LIBRARY_PATH
++  shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
++  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
++  if test "$GCC" = yes; then
++    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
++  else
++    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
++  fi
++  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
++  ;;
+ 
+-# We don't want -fno-exception wen compiling C++ code, so set the
+-# no_builtin_flag separately
+-if test "$GXX" = yes; then
+-  _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
+-else
+-  _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
+-fi
++dgux*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
+ 
+-if test "$GXX" = yes; then
+-  # Set up default GNU C++ configuration
++freebsd1*)
++  dynamic_linker=no
++  ;;
+ 
+-  AC_PROG_LD
++kfreebsd*-gnu)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=no
++  hardcode_into_libs=yes
++  dynamic_linker='GNU ld.so'
++  ;;
+ 
+-  # Check if GNU C++ uses GNU ld as the underlying linker, since the
+-  # archiving commands below assume that GNU ld is being used.
+-  if test "$with_gnu_ld" = yes; then
+-    _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
+-    _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++freebsd*)
++  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
++  version_type=freebsd-$objformat
++  case $version_type in
++    freebsd-elf*)
++      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
++      need_version=no
++      need_lib_prefix=no
++      ;;
++    freebsd-*)
++      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
++      need_version=yes
++      ;;
++  esac
++  shlibpath_var=LD_LIBRARY_PATH
++  case $host_os in
++  freebsd2*)
++    shlibpath_overrides_runpath=yes
++    ;;
++  freebsd3.[01]* | freebsdelf3.[01]*)
++    shlibpath_overrides_runpath=yes
++    hardcode_into_libs=yes
++    ;;
++  *) # from 3.2 on
++    shlibpath_overrides_runpath=no
++    hardcode_into_libs=yes
++    ;;
++  esac
++  ;;
+ 
+-    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
+-    _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
++gnu*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  hardcode_into_libs=yes
++  ;;
+ 
+-    # If archive_cmds runs LD, not CC, wlarc should be empty
+-    # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
+-    #     investigate it a little bit more. (MM)
+-    wlarc='${wl}'
+-
+-    # ancient GNU ld didn't support --whole-archive et. al.
+-    if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
+-	grep 'no-whole-archive' > /dev/null; then
+-      _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
++hpux9* | hpux10* | hpux11*)
++  # Give a soname corresponding to the major version so that dld.sl refuses to
++  # link against other versions.
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=no
++  case "$host_cpu" in
++  ia64*)
++    shrext_cmds='.so'
++    hardcode_into_libs=yes
++    dynamic_linker="$host_os dld.so"
++    shlibpath_var=LD_LIBRARY_PATH
++    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
++    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++    soname_spec='${libname}${release}${shared_ext}$major'
++    if test "X$HPUX_IA64_MODE" = X32; then
++      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
+     else
+-      _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
++      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
+     fi
+-  else
+-    with_gnu_ld=no
+-    wlarc=
++    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
++    ;;
++   hppa*64*)
++     shrext_cmds='.sl'
++     hardcode_into_libs=yes
++     dynamic_linker="$host_os dld.sl"
++     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
++     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
++     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++     soname_spec='${libname}${release}${shared_ext}$major'
++     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
++     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
++     ;;
++   *)
++    shrext_cmds='.sl'
++    dynamic_linker="$host_os dld.sl"
++    shlibpath_var=SHLIB_PATH
++    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
++    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++    soname_spec='${libname}${release}${shared_ext}$major'
++    ;;
++  esac
++  # HP-UX runs *really* slowly unless shared libraries are mode 555.
++  postinstall_cmds='chmod 555 $lib'
++  ;;
+ 
+-    # A generic and very simple default shared library creation
+-    # command for GNU C++ for the case where it uses the native
+-    # linker, instead of GNU ld.  If possible, this setting should
+-    # overridden to take advantage of the native linker features on
+-    # the platform it is being used on.
+-    _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
+-  fi
++irix5* | irix6* | nonstopux*)
++  case $host_os in
++    nonstopux*) version_type=nonstopux ;;
++    *)
++	if test "$lt_cv_prog_gnu_ld" = yes; then
++		version_type=linux
++	else
++		version_type=irix
++	fi ;;
++  esac
++  need_lib_prefix=no
++  need_version=no
++  soname_spec='${libname}${release}${shared_ext}$major'
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
++  case $host_os in
++  irix5* | nonstopux*)
++    libsuff= shlibsuff=
++    ;;
++  *)
++    case $LD in # libtool.m4 will add one of these switches to LD
++    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
++      libsuff= shlibsuff= libmagic=32-bit;;
++    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
++      libsuff=32 shlibsuff=N32 libmagic=N32;;
++    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
++      libsuff=64 shlibsuff=64 libmagic=64-bit;;
++    *) libsuff= shlibsuff= libmagic=never-match;;
++    esac
++    ;;
++  esac
++  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
++  shlibpath_overrides_runpath=no
++  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
++  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
++  hardcode_into_libs=yes
++  ;;
+ 
+-  # Commands to make compiler produce verbose output that lists
+-  # what "hidden" libraries, object files and flags are used when
+-  # linking a shared library.
+-  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
++# No shared lib support for Linux oldld, aout, or coff.
++linux*oldld* | linux*aout* | linux*coff*)
++  dynamic_linker=no
++  ;;
+ 
+-else
+-  GXX=no
+-  with_gnu_ld=no
+-  wlarc=
+-fi
++# This must be Linux ELF.
++linux*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=no
++  # This implies no fast_install, which is unacceptable.
++  # Some rework will be needed to allow for fast_install
++  # before this can be enabled.
++  hardcode_into_libs=yes
+ 
+-# PORTME: fill in a description of your system's C++ link characteristics
+-AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
+-_LT_AC_TAGVAR(ld_shlibs, $1)=yes
+-case $host_os in
+-  aix3*)
+-    # FIXME: insert proper C++ library support
+-    _LT_AC_TAGVAR(ld_shlibs, $1)=no
+-    ;;
+-  aix4* | aix5*)
+-    if test "$host_cpu" = ia64; then
+-      # On IA64, the linker does run time linking by default, so we don't
+-      # have to do anything special.
+-      aix_use_runtimelinking=no
+-      exp_sym_flag='-Bexport'
+-      no_entry_flag=""
+-    else
+-      aix_use_runtimelinking=no
++  # Append ld.so.conf contents to the search path
++  if test -f /etc/ld.so.conf; then
++    lt_ld_extra=`$SED -e 's/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g' /etc/ld.so.conf | tr '\n' ' '`
++    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
++  fi
+ 
+-      # Test if we are trying to use run time linking or normal
+-      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
+-      # need to do runtime linking.
+-      case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
+-	for ld_flag in $LDFLAGS; do
+-	  case $ld_flag in
+-	  *-brtl*)
+-	    aix_use_runtimelinking=yes
+-	    break
+-	    ;;
+-	  esac
+-	done
+-      esac
++  # We used to test for /lib/ld.so.1 and disable shared libraries on
++  # powerpc, because MkLinux only supported shared libraries with the
++  # GNU dynamic linker.  Since this was broken with cross compilers,
++  # most powerpc-linux boxes support dynamic linking these days and
++  # people can always --disable-shared, the test was removed, and we
++  # assume the GNU/Linux dynamic linker is in use.
++  dynamic_linker='GNU/Linux ld.so'
++  ;;
+ 
+-      exp_sym_flag='-bexport'
+-      no_entry_flag='-bnoentry'
+-    fi
++netbsdelf*-gnu)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=no
++  hardcode_into_libs=yes
++  dynamic_linker='NetBSD ld.elf_so'
++  ;;
+ 
+-    # When large executables or shared objects are built, AIX ld can
+-    # have problems creating the table of contents.  If linking a library
+-    # or program results in "error TOC overflow" add -mminimal-toc to
+-    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
+-    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
++knetbsd*-gnu)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=no
++  hardcode_into_libs=yes
++  dynamic_linker='GNU ld.so'
++  ;;
+ 
+-    _LT_AC_TAGVAR(archive_cmds, $1)=''
+-    _LT_AC_TAGVAR(hardcode_direct, $1)=yes
+-    _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
+-    _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
++netbsd*)
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=no
++  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
++    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
++    dynamic_linker='NetBSD (a.out) ld.so'
++  else
++    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
++    soname_spec='${libname}${release}${shared_ext}$major'
++    dynamic_linker='NetBSD ld.elf_so'
++  fi
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  hardcode_into_libs=yes
++  ;;
+ 
+-    if test "$GXX" = yes; then
+-      case $host_os in aix4.[012]|aix4.[012].*)
+-      # We only want to do this on AIX 4.2 and lower, the check
+-      # below for broken collect2 doesn't work under 4.3+
+-	collect2name=`${CC} -print-prog-name=collect2`
+-	if test -f "$collect2name" && \
+-	   strings "$collect2name" | grep resolve_lib_name >/dev/null
+-	then
+-	  # We have reworked collect2
+-	  _LT_AC_TAGVAR(hardcode_direct, $1)=yes
+-	else
+-	  # We have old collect2
+-	  _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
+-	  # It fails to find uninstalled libraries when the uninstalled
+-	  # path is not listed in the libpath.  Setting hardcode_minus_L
+-	  # to unsupported forces relinking
+-	  _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
+-	  _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+-	  _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
+-	fi
+-      esac
+-      shared_flag='-shared'
+-    else
+-      # not using gcc
+-      if test "$host_cpu" = ia64; then
+-	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
+-	# chokes on -Wl,-G. The following line is correct:
+-	shared_flag='-G'
+-      else
+-	if test "$aix_use_runtimelinking" = yes; then
+-	  shared_flag='${wl}-G'
+-	else
+-	  shared_flag='${wl}-bM:SRE'
+-	fi
+-      fi
+-    fi
++newsos6)
++  version_type=linux
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  ;;
+ 
+-    # It seems that -bexpall does not export symbols beginning with
+-    # underscore (_), so it is better to generate a list of symbols to export.
+-    _LT_AC_TAGVAR(always_export_symbols, $1)=yes
+-    if test "$aix_use_runtimelinking" = yes; then
+-      # Warning - without using the other runtime loading flags (-brtl),
+-      # -berok will link without error, but may produce a broken library.
+-      _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
+-      # Determine the default libpath from the value encoded in an empty executable.
+-      _LT_AC_SYS_LIBPATH_AIX
+-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
++nto-qnx*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  ;;
+ 
+-      _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
+-     else
+-      if test "$host_cpu" = ia64; then
+-	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
+-	_LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
+-	_LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
+-      else
+-	# Determine the default libpath from the value encoded in an empty executable.
+-	_LT_AC_SYS_LIBPATH_AIX
+-	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
+-	# Warning - without using the other run time loading flags,
+-	# -berok will link without error, but may produce a broken library.
+-	_LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
+-	_LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
+-	# -bexpall does not export symbols beginning with underscore (_)
+-	_LT_AC_TAGVAR(always_export_symbols, $1)=yes
+-	# Exported symbols can be pulled into shared objects from archives
+-	_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' '
+-	_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
+-	# This is similar to how AIX traditionally builds it's shared libraries.
+-	_LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
+-      fi
+-    fi
+-    ;;
+-  chorus*)
+-    case $cc_basename in
++openbsd*)
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=yes
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
++    case $host_os in
++      openbsd2.[[89]] | openbsd2.[[89]].*)
++	shlibpath_overrides_runpath=no
++	;;
+       *)
+-	# FIXME: insert proper C++ library support
+-	_LT_AC_TAGVAR(ld_shlibs, $1)=no
++	shlibpath_overrides_runpath=yes
+ 	;;
+-    esac
+-    ;;
++      esac
++  else
++    shlibpath_overrides_runpath=yes
++  fi
++  ;;
+ 
+-  cygwin* | mingw* | pw32*)
+-    # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
+-    # as there is no search path for DLLs.
+-    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+-    _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
+-    _LT_AC_TAGVAR(always_export_symbols, $1)=no
+-    _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
++os2*)
++  libname_spec='$name'
++  shrext_cmds=".dll"
++  need_lib_prefix=no
++  library_names_spec='$libname${shared_ext} $libname.a'
++  dynamic_linker='OS/2 ld.exe'
++  shlibpath_var=LIBPATH
++  ;;
+ 
+-    if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
+-      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
+-      # If the export-symbols file already is a .def file (1st line
+-      # is EXPORTS), use it as is; otherwise, prepend...
+-      _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
+-	cp $export_symbols $output_objdir/$soname.def;
+-      else
+-	echo EXPORTS > $output_objdir/$soname.def;
+-	cat $export_symbols >> $output_objdir/$soname.def;
+-      fi~
+-      $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
+-    else
+-      _LT_AC_TAGVAR(ld_shlibs, $1)=no
+-    fi
++osf3* | osf4* | osf5*)
++  version_type=osf
++  need_lib_prefix=no
++  need_version=no
++  soname_spec='${libname}${release}${shared_ext}$major'
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  shlibpath_var=LD_LIBRARY_PATH
++  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
++  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
+   ;;
+ 
+-  darwin* | rhapsody*)
+-  if test "$GXX" = yes; then
+-    _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
+-    case "$host_os" in
+-    rhapsody* | darwin1.[[012]])
+-      _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'
++sco3.2v5*)
++  version_type=osf
++  soname_spec='${libname}${release}${shared_ext}$major'
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++solaris*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  hardcode_into_libs=yes
++  # ldd complains unless libraries are executable
++  postinstall_cmds='chmod +x $lib'
++  ;;
++
++sunos4*)
++  version_type=sunos
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
++  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  if test "$with_gnu_ld" = yes; then
++    need_lib_prefix=no
++  fi
++  need_version=yes
++  ;;
++
++sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
++  version_type=linux
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  case $host_vendor in
++    sni)
++      shlibpath_overrides_runpath=no
++      need_lib_prefix=no
++      export_dynamic_flag_spec='${wl}-Blargedynsym'
++      runpath_var=LD_RUN_PATH
+       ;;
+-    *) # Darwin 1.3 on
+-      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
+-      	_LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
+-      else
+-        case ${MACOSX_DEPLOYMENT_TARGET} in
+-          10.[[012]])
+-            _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
+-            ;;
+-          10.*)
+-            _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'
+-            ;;
+-        esac
+-      fi
++    siemens)
++      need_lib_prefix=no
+       ;;
+-    esac
+-    lt_int_apple_cc_single_mod=no
+-    output_verbose_link_cmd='echo'
+-    if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
+-      lt_int_apple_cc_single_mod=yes
+-    fi
+-    if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
+-      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
+-    else
+-      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
+-    fi
+-    _LT_AC_TAGVAR(module_cmds, $1)='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
++    motorola)
++      need_lib_prefix=no
++      need_version=no
++      shlibpath_overrides_runpath=no
++      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
++      ;;
++  esac
++  ;;
+ 
+-    # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
+-    if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
+-      _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++sysv4*MP*)
++  if test -d /usr/nec ;then
++    version_type=linux
++    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
++    soname_spec='$libname${shared_ext}.$major'
++    shlibpath_var=LD_LIBRARY_PATH
++  fi
++  ;;
++
++uts4*)
++  version_type=linux
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++*)
++  dynamic_linker=no
++  ;;
++esac
++AC_MSG_RESULT([$dynamic_linker])
++test "$dynamic_linker" = no && can_build_shared=no
++])# AC_LIBTOOL_SYS_DYNAMIC_LINKER
++
++
++# _LT_AC_TAGCONFIG
++# ----------------
++AC_DEFUN([_LT_AC_TAGCONFIG],
++[AC_ARG_WITH([tags],
++    [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@],
++        [include additional configurations @<:@automatic@:>@])],
++    [tagnames="$withval"])
++
++if test -f "$ltmain" && test -n "$tagnames"; then
++  if test ! -f "${ofile}"; then
++    AC_MSG_WARN([output file `$ofile' does not exist])
++  fi
++
++  if test -z "$LTCC"; then
++    eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
++    if test -z "$LTCC"; then
++      AC_MSG_WARN([output file `$ofile' does not look like a libtool script])
+     else
+-      _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++      AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile'])
+     fi
+-    _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
+-    _LT_AC_TAGVAR(hardcode_direct, $1)=no
+-    _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
+-    _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
+-    _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
+-    _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
+-  else
+-    _LT_AC_TAGVAR(ld_shlibs, $1)=no
+   fi
+-    ;;
+ 
+-  dgux*)
+-    case $cc_basename in
+-      ec++)
+-	# FIXME: insert proper C++ library support
+-	_LT_AC_TAGVAR(ld_shlibs, $1)=no
+-	;;
+-      ghcx)
+-	# Green Hills C++ Compiler
+-	# FIXME: insert proper C++ library support
+-	_LT_AC_TAGVAR(ld_shlibs, $1)=no
+-	;;
+-      *)
+-	# FIXME: insert proper C++ library support
+-	_LT_AC_TAGVAR(ld_shlibs, $1)=no
++  # Extract list of available tagged configurations in $ofile.
++  # Note that this assumes the entire list is on one line.
++  available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
++
++  lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
++  for tagname in $tagnames; do
++    IFS="$lt_save_ifs"
++    # Check whether tagname contains only valid characters
++    case `$echo "X$tagname" | $Xsed -e 's:[[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]]::g'` in
++    "") ;;
++    *)  AC_MSG_ERROR([invalid tag name: $tagname])
+ 	;;
+     esac
+-    ;;
+-  freebsd[12]*)
+-    # C++ shared libraries reported to be fairly broken before switch to ELF
+-    _LT_AC_TAGVAR(ld_shlibs, $1)=no
+-    ;;
+-  freebsd-elf*)
+-    _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
+-    ;;
+-  freebsd* | kfreebsd*-gnu)
+-    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
+-    # conventions
+-    _LT_AC_TAGVAR(ld_shlibs, $1)=yes
+-    ;;
+-  gnu*)
+-    ;;
+-  hpux9*)
+-    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
+-    _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
+-    _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
+-    _LT_AC_TAGVAR(hardcode_direct, $1)=yes
+-    _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
+-				# but as the default
+-				# location of the library.
+ 
+-    case $cc_basename in
+-    CC)
+-      # FIXME: insert proper C++ library support
+-      _LT_AC_TAGVAR(ld_shlibs, $1)=no
+-      ;;
+-    aCC)
+-      _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
+-      # Commands to make compiler produce verbose output that lists
+-      # what "hidden" libraries, object files and flags are used when
+-      # linking a shared library.
+-      #
+-      # There doesn't appear to be a way to prevent this compiler from
+-      # explicitly linking system object files so we need to strip them
+-      # from the output so that they don't get included in the library
+-      # dependencies.
+-      output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | egrep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
+-      ;;
+-    *)
+-      if test "$GXX" = yes; then
+-        _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
+-      else
+-        # FIXME: insert proper C++ library support
+-        _LT_AC_TAGVAR(ld_shlibs, $1)=no
+-      fi
+-      ;;
+-    esac
+-    ;;
+-  hpux10*|hpux11*)
+-    if test $with_gnu_ld = no; then
+-      case "$host_cpu" in
+-      hppa*64*)
+-	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
+-	_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
+-	_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
+-        ;;
+-      ia64*)
+-	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+-        ;;
+-      *)
+-	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
+-	_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
+-	_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
+-        ;;
+-      esac
++    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
++    then
++      AC_MSG_ERROR([tag name \"$tagname\" already exists])
+     fi
+-    case "$host_cpu" in
+-    hppa*64*)
+-      _LT_AC_TAGVAR(hardcode_direct, $1)=no
+-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+-      ;;
+-    ia64*)
+-      _LT_AC_TAGVAR(hardcode_direct, $1)=no
+-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+-      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
+-					      # but as the default
+-					      # location of the library.
+-      ;;
+-    *)
+-      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
+-      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
+-					      # but as the default
+-					      # location of the library.
+-      ;;
+-    esac
+ 
+-    case $cc_basename in
+-      CC)
+-	# FIXME: insert proper C++ library support
+-	_LT_AC_TAGVAR(ld_shlibs, $1)=no
++    # Update the list of available tags.
++    if test -n "$tagname"; then
++      echo appending configuration tag \"$tagname\" to $ofile
++
++      case $tagname in
++      CXX)
++	if test -n "$CXX" && test "X$CXX" != "Xno"; then
++	  AC_LIBTOOL_LANG_CXX_CONFIG
++	else
++	  tagname=""
++	fi
+ 	;;
+-      aCC)
+-	case "$host_cpu" in
+-	hppa*64*|ia64*)
+-	  _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
+-	  ;;
+-	*)
+-	  _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+-	  ;;
+-	esac
+-	# Commands to make compiler produce verbose output that lists
+-	# what "hidden" libraries, object files and flags are used when
+-	# linking a shared library.
+-	#
+-	# There doesn't appear to be a way to prevent this compiler from
+-	# explicitly linking system object files so we need to strip them
+-	# from the output so that they don't get included in the library
+-	# dependencies.
+-	output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
++
++      F77)
++	if test -n "$F77" && test "X$F77" != "Xno"; then
++	  AC_LIBTOOL_LANG_F77_CONFIG
++	else
++	  tagname=""
++	fi
+ 	;;
+-      *)
+-	if test "$GXX" = yes; then
+-	  if test $with_gnu_ld = no; then
+-	    case "$host_cpu" in
+-	    ia64*|hppa*64*)
+-	      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
+-	      ;;
+-	    *)
+-	      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+-	      ;;
+-	    esac
+-	  fi
++
++      GCJ)
++	if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
++	  AC_LIBTOOL_LANG_GCJ_CONFIG
+ 	else
+-	  # FIXME: insert proper C++ library support
+-	  _LT_AC_TAGVAR(ld_shlibs, $1)=no
++	  tagname=""
+ 	fi
+ 	;;
+-    esac
+-    ;;
+-  irix5* | irix6*)
+-    case $cc_basename in
+-      CC)
+-	# SGI C++
+-	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
+ 
+-	# Archives containing C++ object files must be created using
+-	# "CC -ar", where "CC" is the IRIX C++ compiler.  This is
+-	# necessary to make sure instantiated templates are included
+-	# in the archive.
+-	_LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
++      RC)
++	AC_LIBTOOL_LANG_RC_CONFIG
+ 	;;
++
+       *)
+-	if test "$GXX" = yes; then
+-	  if test "$with_gnu_ld" = no; then
+-	    _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
+-	  else
+-	    _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
+-	  fi
+-	fi
+-	_LT_AC_TAGVAR(link_all_deplibs, $1)=yes
++	AC_MSG_ERROR([Unsupported tag name: $tagname])
+ 	;;
+-    esac
+-    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
+-    _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
+-    ;;
+-  linux*)
+-    case $cc_basename in
+-      KCC)
+-	# Kuck and Associates, Inc. (KAI) C++ Compiler
++      esac
+ 
+-	# KCC will only create a shared library if the output file
+-	# ends with ".so" (or ".sl" for HP-UX), so rename the library
+-	# to its proper name (with version) after linking.
+-	_LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
+-	_LT_AC_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
+-	# Commands to make compiler produce verbose output that lists
+-	# what "hidden" libraries, object files and flags are used when
+-	# linking a shared library.
+-	#
+-	# There doesn't appear to be a way to prevent this compiler from
+-	# explicitly linking system object files so we need to strip them
+-	# from the output so that they don't get included in the library
+-	# dependencies.
+-	output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
++      # Append the new tag name to the list of available tags.
++      if test -n "$tagname" ; then
++      available_tags="$available_tags $tagname"
++    fi
++    fi
++  done
++  IFS="$lt_save_ifs"
+ 
+-	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath,$libdir'
+-	_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
++  # Now substitute the updated list of available tags.
++  if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
++    mv "${ofile}T" "$ofile"
++    chmod +x "$ofile"
++  else
++    rm -f "${ofile}T"
++    AC_MSG_ERROR([unable to update list of available tagged configurations.])
++  fi
++fi
++])# _LT_AC_TAGCONFIG
+ 
+-	# Archives containing C++ object files must be created using
+-	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
+-	_LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
+-	;;
+-      icpc)
+-	# Intel C++
+-	with_gnu_ld=yes
+-	_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
+-	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
+-	_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+-	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
+-	_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
+-	_LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
+-	;;
+-      cxx)
+-	# Compaq C++
+-	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
+-	_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
+ 
+-	runpath_var=LD_RUN_PATH
+-	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
+-	_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
++# AC_LIBTOOL_DLOPEN
++# -----------------
++# enable checks for dlopen support
++AC_DEFUN([AC_LIBTOOL_DLOPEN],
++ [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])
++])# AC_LIBTOOL_DLOPEN
+ 
+-	# Commands to make compiler produce verbose output that lists
+-	# what "hidden" libraries, object files and flags are used when
+-	# linking a shared library.
+-	#
+-	# There doesn't appear to be a way to prevent this compiler from
+-	# explicitly linking system object files so we need to strip them
+-	# from the output so that they don't get included in the library
+-	# dependencies.
+-	output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
+-	;;
+-    esac
+-    ;;
+-  lynxos*)
+-    # FIXME: insert proper C++ library support
+-    _LT_AC_TAGVAR(ld_shlibs, $1)=no
+-    ;;
+-  m88k*)
+-    # FIXME: insert proper C++ library support
+-    _LT_AC_TAGVAR(ld_shlibs, $1)=no
+-    ;;
+-  mvs*)
+-    case $cc_basename in
+-      cxx)
+-	# FIXME: insert proper C++ library support
+-	_LT_AC_TAGVAR(ld_shlibs, $1)=no
+-	;;
+-      *)
+-	# FIXME: insert proper C++ library support
+-	_LT_AC_TAGVAR(ld_shlibs, $1)=no
+-	;;
+-    esac
+-    ;;
+-  netbsd*)
+-    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
+-      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
+-      wlarc=
+-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
+-      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
+-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+-    fi
+-    # Workaround some broken pre-1.5 toolchains
+-    output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
+-    ;;
+-  osf3*)
+-    case $cc_basename in
+-      KCC)
+-	# Kuck and Associates, Inc. (KAI) C++ Compiler
+ 
+-	# KCC will only create a shared library if the output file
+-	# ends with ".so" (or ".sl" for HP-UX), so rename the library
+-	# to its proper name (with version) after linking.
+-	_LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
++# AC_LIBTOOL_WIN32_DLL
++# --------------------
++# declare package support for building win32 dll's
++AC_DEFUN([AC_LIBTOOL_WIN32_DLL],
++[AC_BEFORE([$0], [AC_LIBTOOL_SETUP])
++])# AC_LIBTOOL_WIN32_DLL
+ 
+-	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
+-	_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
+ 
+-	# Archives containing C++ object files must be created using
+-	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
+-	_LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
++# AC_ENABLE_SHARED([DEFAULT])
++# ---------------------------
++# implement the --enable-shared flag
++# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
++AC_DEFUN([AC_ENABLE_SHARED],
++[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl
++AC_ARG_ENABLE([shared],
++    [AC_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
++	[build shared libraries @<:@default=]AC_ENABLE_SHARED_DEFAULT[@:>@])],
++    [p=${PACKAGE-default}
++    case $enableval in
++    yes) enable_shared=yes ;;
++    no) enable_shared=no ;;
++    *)
++      enable_shared=no
++      # Look at the argument we got.  We use all the common list separators.
++      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
++      for pkg in $enableval; do
++	IFS="$lt_save_ifs"
++	if test "X$pkg" = "X$p"; then
++	  enable_shared=yes
++	fi
++      done
++      IFS="$lt_save_ifs"
++      ;;
++    esac],
++    [enable_shared=]AC_ENABLE_SHARED_DEFAULT)
++])# AC_ENABLE_SHARED
+ 
+-	;;
+-      RCC)
+-	# Rational C++ 2.4.1
+-	# FIXME: insert proper C++ library support
+-	_LT_AC_TAGVAR(ld_shlibs, $1)=no
+-	;;
+-      cxx)
+-	_LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
+-	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
+ 
+-	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
+-	_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
++# AC_DISABLE_SHARED
++# -----------------
++#- set the default shared flag to --disable-shared
++AC_DEFUN([AC_DISABLE_SHARED],
++[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
++AC_ENABLE_SHARED(no)
++])# AC_DISABLE_SHARED
+ 
+-	# Commands to make compiler produce verbose output that lists
+-	# what "hidden" libraries, object files and flags are used when
+-	# linking a shared library.
+-	#
+-	# There doesn't appear to be a way to prevent this compiler from
+-	# explicitly linking system object files so we need to strip them
+-	# from the output so that they don't get included in the library
+-	# dependencies.
+-	output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
+-	;;
+-      *)
+-	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
+-	  _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
+-	  _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
+ 
+-	  _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
+-	  _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
++# AC_ENABLE_STATIC([DEFAULT])
++# ---------------------------
++# implement the --enable-static flag
++# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
++AC_DEFUN([AC_ENABLE_STATIC],
++[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl
++AC_ARG_ENABLE([static],
++    [AC_HELP_STRING([--enable-static@<:@=PKGS@:>@],
++	[build static libraries @<:@default=]AC_ENABLE_STATIC_DEFAULT[@:>@])],
++    [p=${PACKAGE-default}
++    case $enableval in
++    yes) enable_static=yes ;;
++    no) enable_static=no ;;
++    *)
++     enable_static=no
++      # Look at the argument we got.  We use all the common list separators.
++      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
++      for pkg in $enableval; do
++	IFS="$lt_save_ifs"
++	if test "X$pkg" = "X$p"; then
++	  enable_static=yes
++	fi
++      done
++      IFS="$lt_save_ifs"
++      ;;
++    esac],
++    [enable_static=]AC_ENABLE_STATIC_DEFAULT)
++])# AC_ENABLE_STATIC
+ 
+-	  # Commands to make compiler produce verbose output that lists
+-	  # what "hidden" libraries, object files and flags are used when
+-	  # linking a shared library.
+-	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
+ 
+-	else
+-	  # FIXME: insert proper C++ library support
+-	  _LT_AC_TAGVAR(ld_shlibs, $1)=no
+-	fi
+-	;;
+-    esac
+-    ;;
+-  osf4* | osf5*)
+-    case $cc_basename in
+-      KCC)
+-	# Kuck and Associates, Inc. (KAI) C++ Compiler
++# AC_DISABLE_STATIC
++# -----------------
++# set the default static flag to --disable-static
++AC_DEFUN([AC_DISABLE_STATIC],
++[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
++AC_ENABLE_STATIC(no)
++])# AC_DISABLE_STATIC
+ 
+-	# KCC will only create a shared library if the output file
+-	# ends with ".so" (or ".sl" for HP-UX), so rename the library
+-	# to its proper name (with version) after linking.
+-	_LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
+ 
+-	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
+-	_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
++# AC_ENABLE_FAST_INSTALL([DEFAULT])
++# ---------------------------------
++# implement the --enable-fast-install flag
++# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
++AC_DEFUN([AC_ENABLE_FAST_INSTALL],
++[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl
++AC_ARG_ENABLE([fast-install],
++    [AC_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
++    [optimize for fast installation @<:@default=]AC_ENABLE_FAST_INSTALL_DEFAULT[@:>@])],
++    [p=${PACKAGE-default}
++    case $enableval in
++    yes) enable_fast_install=yes ;;
++    no) enable_fast_install=no ;;
++    *)
++      enable_fast_install=no
++      # Look at the argument we got.  We use all the common list separators.
++      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
++      for pkg in $enableval; do
++	IFS="$lt_save_ifs"
++	if test "X$pkg" = "X$p"; then
++	  enable_fast_install=yes
++	fi
++      done
++      IFS="$lt_save_ifs"
++      ;;
++    esac],
++    [enable_fast_install=]AC_ENABLE_FAST_INSTALL_DEFAULT)
++])# AC_ENABLE_FAST_INSTALL
+ 
+-	# Archives containing C++ object files must be created using
+-	# the KAI C++ compiler.
+-	_LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs'
+-	;;
+-      RCC)
+-	# Rational C++ 2.4.1
+-	# FIXME: insert proper C++ library support
+-	_LT_AC_TAGVAR(ld_shlibs, $1)=no
+-	;;
+-      cxx)
+-	_LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
+-	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
+-	_LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
+-	  echo "-hidden">> $lib.exp~
+-	  $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp  `test -n "$verstring" && echo -set_version	$verstring` -update_registry $objdir/so_locations -o $lib~
+-	  $rm $lib.exp'
+ 
+-	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
+-	_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
++# AC_DISABLE_FAST_INSTALL
++# -----------------------
++# set the default to --disable-fast-install
++AC_DEFUN([AC_DISABLE_FAST_INSTALL],
++[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
++AC_ENABLE_FAST_INSTALL(no)
++])# AC_DISABLE_FAST_INSTALL
+ 
+-	# Commands to make compiler produce verbose output that lists
+-	# what "hidden" libraries, object files and flags are used when
+-	# linking a shared library.
+-	#
+-	# There doesn't appear to be a way to prevent this compiler from
+-	# explicitly linking system object files so we need to strip them
+-	# from the output so that they don't get included in the library
+-	# dependencies.
+-	output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
+-	;;
+-      *)
+-	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
+-	  _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
+-	 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
+ 
+-	  _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
+-	  _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
++# AC_LIBTOOL_PICMODE([MODE])
++# --------------------------
++# implement the --with-pic flag
++# MODE is either `yes' or `no'.  If omitted, it defaults to `both'.
++AC_DEFUN([AC_LIBTOOL_PICMODE],
++[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
++pic_mode=ifelse($#,1,$1,default)
++])# AC_LIBTOOL_PICMODE
+ 
+-	  # Commands to make compiler produce verbose output that lists
+-	  # what "hidden" libraries, object files and flags are used when
+-	  # linking a shared library.
+-	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
+ 
+-	else
+-	  # FIXME: insert proper C++ library support
+-	  _LT_AC_TAGVAR(ld_shlibs, $1)=no
+-	fi
+-	;;
+-    esac
+-    ;;
+-  psos*)
+-    # FIXME: insert proper C++ library support
+-    _LT_AC_TAGVAR(ld_shlibs, $1)=no
+-    ;;
+-  sco*)
+-    _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
+-    case $cc_basename in
+-      CC)
+-	# FIXME: insert proper C++ library support
+-	_LT_AC_TAGVAR(ld_shlibs, $1)=no
+-	;;
+-      *)
+-	# FIXME: insert proper C++ library support
+-	_LT_AC_TAGVAR(ld_shlibs, $1)=no
+-	;;
+-    esac
+-    ;;
+-  sunos4*)
+-    case $cc_basename in
+-      CC)
+-	# Sun C++ 4.x
+-	# FIXME: insert proper C++ library support
+-	_LT_AC_TAGVAR(ld_shlibs, $1)=no
+-	;;
+-      lcc)
+-	# Lucid
+-	# FIXME: insert proper C++ library support
+-	_LT_AC_TAGVAR(ld_shlibs, $1)=no
+-	;;
+-      *)
+-	# FIXME: insert proper C++ library support
+-	_LT_AC_TAGVAR(ld_shlibs, $1)=no
+-	;;
+-    esac
+-    ;;
+-  solaris*)
+-    case $cc_basename in
+-      CC)
+-	# Sun C++ 4.2, 5.x and Centerline C++
+-	_LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs'
+-	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+-	_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
+-	$CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
++# AC_PROG_EGREP
++# -------------
++# This is predefined starting with Autoconf 2.54, so this conditional
++# definition can be removed once we require Autoconf 2.54 or later.
++m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP],
++[AC_CACHE_CHECK([for egrep], [ac_cv_prog_egrep],
++   [if echo a | (grep -E '(a|b)') >/dev/null 2>&1
++    then ac_cv_prog_egrep='grep -E'
++    else ac_cv_prog_egrep='egrep'
++    fi])
++ EGREP=$ac_cv_prog_egrep
++ AC_SUBST([EGREP])
++])])
+ 
+-	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
+-	_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+-	case $host_os in
+-	  solaris2.[0-5] | solaris2.[0-5].*) ;;
+-	  *)
+-	    # The C++ compiler is used as linker so we must use $wl
+-	    # flag to pass the commands to the underlying system
+-	    # linker.
+-	    # Supported since Solaris 2.6 (maybe 2.5.1?)
+-	    _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
+-	    ;;
+-	esac
+-	_LT_AC_TAGVAR(link_all_deplibs, $1)=yes
+ 
+-	# Commands to make compiler produce verbose output that lists
+-	# what "hidden" libraries, object files and flags are used when
+-	# linking a shared library.
+-	#
+-	# There doesn't appear to be a way to prevent this compiler from
+-	# explicitly linking system object files so we need to strip them
+-	# from the output so that they don't get included in the library
+-	# dependencies.
+-	output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[[LR]]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
++# AC_PATH_TOOL_PREFIX
++# -------------------
++# find a file program which can recognise shared library
++AC_DEFUN([AC_PATH_TOOL_PREFIX],
++[AC_REQUIRE([AC_PROG_EGREP])dnl
++AC_MSG_CHECKING([for $1])
++AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
++[case $MAGIC_CMD in
++[[\\/*] |  ?:[\\/]*])
++  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
++  ;;
++*)
++  lt_save_MAGIC_CMD="$MAGIC_CMD"
++  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
++dnl $ac_dummy forces splitting on constant user-supplied paths.
++dnl POSIX.2 word splitting is done only on the output of word expansions,
++dnl not every word.  This closes a longstanding sh security hole.
++  ac_dummy="ifelse([$2], , $PATH, [$2])"
++  for ac_dir in $ac_dummy; do
++    IFS="$lt_save_ifs"
++    test -z "$ac_dir" && ac_dir=.
++    if test -f $ac_dir/$1; then
++      lt_cv_path_MAGIC_CMD="$ac_dir/$1"
++      if test -n "$file_magic_test_file"; then
++	case $deplibs_check_method in
++	"file_magic "*)
++	  file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
++	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
++	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
++	    $EGREP "$file_magic_regex" > /dev/null; then
++	    :
++	  else
++	    cat <<EOF 1>&2
+ 
+-	# Archives containing C++ object files must be created using
+-	# "CC -xar", where "CC" is the Sun C++ compiler.  This is
+-	# necessary to make sure instantiated templates are included
+-	# in the archive.
+-	_LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
+-	;;
+-      gcx)
+-	# Green Hills C++ Compiler
+-	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
++*** Warning: the command libtool uses to detect shared libraries,
++*** $file_magic_cmd, produces output that libtool cannot recognize.
++*** The result is that libtool may fail to recognize shared libraries
++*** as such.  This will affect the creation of libtool libraries that
++*** depend on shared libraries, but programs linked with such libtool
++*** libraries will work regardless of this problem.  Nevertheless, you
++*** may want to report the problem to your system manager and/or to
++*** bug-libtool@gnu.org
+ 
+-	# The C++ compiler must be used to create the archive.
+-	_LT_AC_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
+-	;;
+-      *)
+-	# GNU C++ compiler with Solaris linker
+-	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
+-	  _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
+-	  if $CC --version | grep -v '^2\.7' > /dev/null; then
+-	    _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
+-	    _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
+-		$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
++EOF
++	  fi ;;
++	esac
++      fi
++      break
++    fi
++  done
++  IFS="$lt_save_ifs"
++  MAGIC_CMD="$lt_save_MAGIC_CMD"
++  ;;
++esac])
++MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
++if test -n "$MAGIC_CMD"; then
++  AC_MSG_RESULT($MAGIC_CMD)
++else
++  AC_MSG_RESULT(no)
++fi
++])# AC_PATH_TOOL_PREFIX
+ 
+-	    # Commands to make compiler produce verbose output that lists
+-	    # what "hidden" libraries, object files and flags are used when
+-	    # linking a shared library.
+-	    output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
+-	  else
+-	    # g++ 2.7 appears to require `-G' NOT `-shared' on this
+-	    # platform.
+-	    _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
+-	    _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
+-		$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
+ 
+-	    # Commands to make compiler produce verbose output that lists
+-	    # what "hidden" libraries, object files and flags are used when
+-	    # linking a shared library.
+-	    output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
+-	  fi
++# AC_PATH_MAGIC
++# -------------
++# find a file program which can recognise a shared library
++AC_DEFUN([AC_PATH_MAGIC],
++[AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
++if test -z "$lt_cv_path_MAGIC_CMD"; then
++  if test -n "$ac_tool_prefix"; then
++    AC_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)
++  else
++    MAGIC_CMD=:
++  fi
++fi
++])# AC_PATH_MAGIC
+ 
+-	  _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
+-	fi
+-	;;
+-    esac
+-    ;;
+-  sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*)
+-    _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
+-    ;;
+-  tandem*)
+-    case $cc_basename in
+-      NCC)
+-	# NonStop-UX NCC 3.20
+-	# FIXME: insert proper C++ library support
+-	_LT_AC_TAGVAR(ld_shlibs, $1)=no
+-	;;
+-      *)
+-	# FIXME: insert proper C++ library support
+-	_LT_AC_TAGVAR(ld_shlibs, $1)=no
+-	;;
+-    esac
+-    ;;
+-  vxworks*)
+-    # FIXME: insert proper C++ library support
+-    _LT_AC_TAGVAR(ld_shlibs, $1)=no
++
++# AC_PROG_LD
++# ----------
++# find the pathname to the GNU or non-GNU linker
++AC_DEFUN([AC_PROG_LD],
++[AC_ARG_WITH([gnu-ld],
++    [AC_HELP_STRING([--with-gnu-ld],
++	[assume the C compiler uses GNU ld @<:@default=no@:>@])],
++    [test "$withval" = no || with_gnu_ld=yes],
++    [with_gnu_ld=no])
++AC_REQUIRE([LT_AC_PROG_SED])dnl
++AC_REQUIRE([AC_PROG_CC])dnl
++AC_REQUIRE([AC_CANONICAL_HOST])dnl
++AC_REQUIRE([AC_CANONICAL_BUILD])dnl
++ac_prog=ld
++if test "$GCC" = yes; then
++  # Check if gcc -print-prog-name=ld gives a path.
++  AC_MSG_CHECKING([for ld used by $CC])
++  case $host in
++  *-*-mingw*)
++    # gcc leaves a trailing carriage return which upsets mingw
++    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
++  *)
++    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
++  esac
++  case $ac_prog in
++    # Accept absolute paths.
++    [[\\/]]* | ?:[[\\/]]*)
++      re_direlt='/[[^/]][[^/]]*/\.\./'
++      # Canonicalize the pathname of ld
++      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
++      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
++	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
++      done
++      test -z "$LD" && LD="$ac_prog"
++      ;;
++  "")
++    # If it fails, then pretend we aren't using GCC.
++    ac_prog=ld
+     ;;
+   *)
+-    # FIXME: insert proper C++ library support
+-    _LT_AC_TAGVAR(ld_shlibs, $1)=no
++    # If it is relative, then search for the first ld in PATH.
++    with_gnu_ld=unknown
+     ;;
+-esac
+-AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
+-test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
+-
+-_LT_AC_TAGVAR(GCC, $1)="$GXX"
+-_LT_AC_TAGVAR(LD, $1)="$LD"
+-
+-AC_LIBTOOL_POSTDEP_PREDEP($1)
+-AC_LIBTOOL_PROG_COMPILER_PIC($1)
+-AC_LIBTOOL_PROG_CC_C_O($1)
+-AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
+-AC_LIBTOOL_PROG_LD_SHLIBS($1)
+-AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
+-AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
+-AC_LIBTOOL_SYS_LIB_STRIP
+-AC_LIBTOOL_DLOPEN_SELF($1)
++  esac
++elif test "$with_gnu_ld" = yes; then
++  AC_MSG_CHECKING([for GNU ld])
++else
++  AC_MSG_CHECKING([for non-GNU ld])
++fi
++AC_CACHE_VAL(lt_cv_path_LD,
++[if test -z "$LD"; then
++  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
++  for ac_dir in $PATH; do
++    IFS="$lt_save_ifs"
++    test -z "$ac_dir" && ac_dir=.
++    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
++      lt_cv_path_LD="$ac_dir/$ac_prog"
++      # Check to see if the program is GNU ld.  I'd rather use --version,
++      # but apparently some GNU ld's only accept -v.
++      # Break only if it was the GNU/non-GNU ld that we prefer.
++      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
++      *GNU* | *'with BFD'*)
++	test "$with_gnu_ld" != no && break
++	;;
++      *)
++	test "$with_gnu_ld" != yes && break
++	;;
++      esac
++    fi
++  done
++  IFS="$lt_save_ifs"
++else
++  lt_cv_path_LD="$LD" # Let the user override the test with a path.
++fi])
++LD="$lt_cv_path_LD"
++if test -n "$LD"; then
++  AC_MSG_RESULT($LD)
++else
++  AC_MSG_RESULT(no)
++fi
++test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
++AC_PROG_LD_GNU
++])# AC_PROG_LD
+ 
+-AC_LIBTOOL_CONFIG($1)
+ 
+-AC_LANG_POP
+-CC=$lt_save_CC
+-LDCXX=$LD
+-LD=$lt_save_LD
+-GCC=$lt_save_GCC
+-with_gnu_ldcxx=$with_gnu_ld
+-with_gnu_ld=$lt_save_with_gnu_ld
+-lt_cv_path_LDCXX=$lt_cv_path_LD
+-lt_cv_path_LD=$lt_save_path_LD
+-lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
+-lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
+-])# AC_LIBTOOL_LANG_CXX_CONFIG
++# AC_PROG_LD_GNU
++# --------------
++AC_DEFUN([AC_PROG_LD_GNU],
++[AC_REQUIRE([AC_PROG_EGREP])dnl
++AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
++[# I'd rather use --version here, but apparently some GNU ld's only accept -v.
++case `$LD -v 2>&1 </dev/null` in
++*GNU* | *'with BFD'*)
++  lt_cv_prog_gnu_ld=yes
++  ;;
++*)
++  lt_cv_prog_gnu_ld=no
++  ;;
++esac])
++with_gnu_ld=$lt_cv_prog_gnu_ld
++])# AC_PROG_LD_GNU
+ 
+-# AC_LIBTOOL_POSTDEP_PREDEP([TAGNAME])
+-# ------------------------
+-# Figure out "hidden" library dependencies from verbose
+-# compiler output when linking a shared library.
+-# Parse the compiler output and extract the necessary
+-# objects, libraries and library flags.
+-AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],[
+-dnl we can't use the lt_simple_compile_test_code here,
+-dnl because it contains code intended for an executable,
+-dnl not a library.  It's possible we should let each
+-dnl tag define a new lt_????_link_test_code variable,
+-dnl but it's only used here...
+-ifelse([$1],[],[cat > conftest.$ac_ext <<EOF
+-int a;
+-void foo (void) { a = 0; }
+-EOF
+-],[$1],[CXX],[cat > conftest.$ac_ext <<EOF
+-class Foo
+-{
+-public:
+-  Foo (void) { a = 0; }
+-private:
+-  int a;
+-};
+-EOF
+-],[$1],[F77],[cat > conftest.$ac_ext <<EOF
+-      subroutine foo
+-      implicit none
+-      integer*4 a
+-      a=0
+-      return
+-      end
+-EOF
+-],[$1],[GCJ],[cat > conftest.$ac_ext <<EOF
+-public class foo {
+-  private int a;
+-  public void bar (void) {
+-    a = 0;
+-  }
+-};
+-EOF
+-])
+-dnl Parse the compiler output and extract the necessary
+-dnl objects, libraries and library flags.
+-if AC_TRY_EVAL(ac_compile); then
+-  # Parse the compiler output and extract the necessary
+-  # objects, libraries and library flags.
+ 
+-  # Sentinel used to keep track of whether or not we are before
+-  # the conftest object file.
+-  pre_test_object_deps_done=no
++# AC_PROG_LD_RELOAD_FLAG
++# ----------------------
++# find reload flag for linker
++#   -- PORTME Some linkers may need a different reload flag.
++AC_DEFUN([AC_PROG_LD_RELOAD_FLAG],
++[AC_CACHE_CHECK([for $LD option to reload object files],
++  lt_cv_ld_reload_flag,
++  [lt_cv_ld_reload_flag='-r'])
++reload_flag=$lt_cv_ld_reload_flag
++case $reload_flag in
++"" | " "*) ;;
++*) reload_flag=" $reload_flag" ;;
++esac
++reload_cmds='$LD$reload_flag -o $output$reload_objs'
++])# AC_PROG_LD_RELOAD_FLAG
+ 
+-  # The `*' in the case matches for architectures that use `case' in
+-  # $output_verbose_cmd can trigger glob expansion during the loop
+-  # eval without this substitution.
+-  output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
+ 
+-  for p in `eval $output_verbose_link_cmd`; do
+-    case $p in
++# AC_DEPLIBS_CHECK_METHOD
++# -----------------------
++# how to check for library dependencies
++#  -- PORTME fill in with the dynamic library characteristics
++AC_DEFUN([AC_DEPLIBS_CHECK_METHOD],
++[AC_CACHE_CHECK([how to recognise dependent libraries],
++lt_cv_deplibs_check_method,
++[lt_cv_file_magic_cmd='$MAGIC_CMD'
++lt_cv_file_magic_test_file=
++lt_cv_deplibs_check_method='unknown'
++# Need to set the preceding variable on all platforms that support
++# interlibrary dependencies.
++# 'none' -- dependencies not supported.
++# `unknown' -- same as none, but documents that we really don't know.
++# 'pass_all' -- all dependencies passed with no checks.
++# 'test_compile' -- check by making test program.
++# 'file_magic [[regex]]' -- check by looking for files in library path
++# which responds to the $file_magic_cmd with a given extended regex.
++# If you have `file' or equivalent on your system and you're not sure
++# whether `pass_all' will *always* work, you probably want this one.
+ 
+-    -L* | -R* | -l*)
+-       # Some compilers place space between "-{L,R}" and the path.
+-       # Remove the space.
+-       if test $p = "-L" \
+-	  || test $p = "-R"; then
+-	 prev=$p
+-	 continue
+-       else
+-	 prev=
+-       fi
++case $host_os in
++aix4* | aix5*)
++  lt_cv_deplibs_check_method=pass_all
++  ;;
+ 
+-       if test "$pre_test_object_deps_done" = no; then
+-	 case $p in
+-	 -L* | -R*)
+-	   # Internal compiler library paths should come after those
+-	   # provided the user.  The postdeps already come after the
+-	   # user supplied libs so there is no need to process them.
+-	   if test -z "$_LT_AC_TAGVAR(compiler_lib_search_path, $1)"; then
+-	     _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}"
+-	   else
+-	     _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${_LT_AC_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}"
+-	   fi
+-	   ;;
+-	 # The "-l" case would never come before the object being
+-	 # linked, so don't bother handling this case.
+-	 esac
+-       else
+-	 if test -z "$_LT_AC_TAGVAR(postdeps, $1)"; then
+-	   _LT_AC_TAGVAR(postdeps, $1)="${prev}${p}"
+-	 else
+-	   _LT_AC_TAGVAR(postdeps, $1)="${_LT_AC_TAGVAR(postdeps, $1)} ${prev}${p}"
+-	 fi
+-       fi
+-       ;;
++beos*)
++  lt_cv_deplibs_check_method=pass_all
++  ;;
+ 
+-    *.$objext)
+-       # This assumes that the test object file only shows up
+-       # once in the compiler output.
+-       if test "$p" = "conftest.$objext"; then
+-	 pre_test_object_deps_done=yes
+-	 continue
+-       fi
++bsdi4*)
++  lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
++  lt_cv_file_magic_cmd='/usr/bin/file -L'
++  lt_cv_file_magic_test_file=/shlib/libc.so
++  ;;
+ 
+-       if test "$pre_test_object_deps_done" = no; then
+-	 if test -z "$_LT_AC_TAGVAR(predep_objects, $1)"; then
+-	   _LT_AC_TAGVAR(predep_objects, $1)="$p"
+-	 else
+-	   _LT_AC_TAGVAR(predep_objects, $1)="$_LT_AC_TAGVAR(predep_objects, $1) $p"
+-	 fi
+-       else
+-	 if test -z "$_LT_AC_TAGVAR(postdep_objects, $1)"; then
+-	   _LT_AC_TAGVAR(postdep_objects, $1)="$p"
+-	 else
+-	   _LT_AC_TAGVAR(postdep_objects, $1)="$_LT_AC_TAGVAR(postdep_objects, $1) $p"
+-	 fi
+-       fi
+-       ;;
++cygwin*)
++  # func_win32_libid is a shell function defined in ltmain.sh
++  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
++  lt_cv_file_magic_cmd='func_win32_libid'
++  ;;
+ 
+-    *) ;; # Ignore the rest.
++mingw* | pw32*)
++  # Base MSYS/MinGW do not provide the 'file' command needed by
++  # func_win32_libid shell function, so use a weaker test based on 'objdump'.
++  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
++  lt_cv_file_magic_cmd='$OBJDUMP -f'
++  ;;
+ 
+-    esac
+-  done
++darwin* | rhapsody*)
++  lt_cv_deplibs_check_method=pass_all
++  ;;
+ 
+-  # Clean up.
+-  rm -f a.out a.exe
+-else
+-  echo "libtool.m4: error: problem compiling $1 test program"
+-fi
+-
+-$rm -f confest.$objext
++freebsd* | kfreebsd*-gnu)
++  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
++    case $host_cpu in
++    i*86 )
++      # Not sure whether the presence of OpenBSD here was a mistake.
++      # Let's accept both of them until this is cleared up.
++      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[[3-9]]86 (compact )?demand paged shared library'
++      lt_cv_file_magic_cmd=/usr/bin/file
++      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
++      ;;
++    esac
++  else
++    lt_cv_deplibs_check_method=pass_all
++  fi
++  ;;
+ 
+-case " $_LT_AC_TAGVAR(postdeps, $1) " in
+-*" -lc "*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;;
+-esac
+-])# AC_LIBTOOL_POSTDEP_PREDEP
++gnu*)
++  lt_cv_deplibs_check_method=pass_all
++  ;;
+ 
+-# AC_LIBTOOL_LANG_F77_CONFIG
+-# ------------------------
+-# Ensure that the configuration vars for the C compiler are
+-# suitably defined.  Those variables are subsequently used by
+-# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
+-AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG], [_LT_AC_LANG_F77_CONFIG(F77)])
+-AC_DEFUN([_LT_AC_LANG_F77_CONFIG],
+-[AC_REQUIRE([AC_PROG_F77])
+-AC_LANG_PUSH(Fortran 77)
++hpux10.20* | hpux11*)
++  lt_cv_file_magic_cmd=/usr/bin/file
++  case "$host_cpu" in
++  ia64*)
++    lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
++    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
++    ;;
++  hppa*64*)
++    [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]']
++    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
++    ;;
++  *)
++    lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
++    lt_cv_file_magic_test_file=/usr/lib/libc.sl
++    ;;
++  esac
++  ;;
+ 
+-_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
+-_LT_AC_TAGVAR(allow_undefined_flag, $1)=
+-_LT_AC_TAGVAR(always_export_symbols, $1)=no
+-_LT_AC_TAGVAR(archive_expsym_cmds, $1)=
+-_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
+-_LT_AC_TAGVAR(hardcode_direct, $1)=no
+-_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
+-_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
+-_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
+-_LT_AC_TAGVAR(hardcode_minus_L, $1)=no
+-_LT_AC_TAGVAR(hardcode_automatic, $1)=no
+-_LT_AC_TAGVAR(module_cmds, $1)=
+-_LT_AC_TAGVAR(module_expsym_cmds, $1)=
+-_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
+-_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
+-_LT_AC_TAGVAR(no_undefined_flag, $1)=
+-_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
+-_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
++irix5* | irix6* | nonstopux*)
++  case $LD in
++  *-32|*"-32 ") libmagic=32-bit;;
++  *-n32|*"-n32 ") libmagic=N32;;
++  *-64|*"-64 ") libmagic=64-bit;;
++  *) libmagic=never-match;;
++  esac
++  lt_cv_deplibs_check_method=pass_all
++  ;;
+ 
+-# Source file extension for f77 test sources.
+-ac_ext=f
++# This must be Linux ELF.
++linux*)
++  lt_cv_deplibs_check_method=pass_all
++  ;;
+ 
+-# Object file extension for compiled f77 test sources.
+-objext=o
+-_LT_AC_TAGVAR(objext, $1)=$objext
++netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
++  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
++    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
++  else
++    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
++  fi
++  ;;
+ 
+-# Code to be used in simple compile tests
+-lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
++newos6*)
++  lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
++  lt_cv_file_magic_cmd=/usr/bin/file
++  lt_cv_file_magic_test_file=/usr/lib/libnls.so
++  ;;
+ 
+-# Code to be used in simple link tests
+-lt_simple_link_test_code="      program t\n      end\n"
++nto-qnx*)
++  lt_cv_deplibs_check_method=unknown
++  ;;
+ 
+-# ltmain only uses $CC for tagged configurations so make sure $CC is set.
+-_LT_AC_SYS_COMPILER
++openbsd*)
++  lt_cv_file_magic_cmd=/usr/bin/file
++  lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
++  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
++    lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB shared object'
++  else
++    lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
++  fi
++  ;;
+ 
+-# Allow CC to be a program name with arguments.
+-lt_save_CC="$CC"
+-CC=${F77-"f77"}
+-compiler=$CC
+-_LT_AC_TAGVAR(compiler, $1)=$CC
+-cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
++osf3* | osf4* | osf5*)
++  lt_cv_deplibs_check_method=pass_all
++  ;;
+ 
+-AC_MSG_CHECKING([if libtool supports shared libraries])
+-AC_MSG_RESULT([$can_build_shared])
++sco3.2v5*)
++  lt_cv_deplibs_check_method=pass_all
++  ;;
+ 
+-AC_MSG_CHECKING([whether to build shared libraries])
+-test "$can_build_shared" = "no" && enable_shared=no
++solaris*)
++  lt_cv_deplibs_check_method=pass_all
++  ;;
+ 
+-# On AIX, shared libraries and static libraries use the same namespace, and
+-# are all built from PIC.
+-case "$host_os" in
+-aix3*)
+-  test "$enable_shared" = yes && enable_static=no
+-  if test -n "$RANLIB"; then
+-    archive_cmds="$archive_cmds~\$RANLIB \$lib"
+-    postinstall_cmds='$RANLIB $lib'
+-  fi
++sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
++  case $host_vendor in
++  motorola)
++    lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]'
++    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
++    ;;
++  ncr)
++    lt_cv_deplibs_check_method=pass_all
++    ;;
++  sequent)
++    lt_cv_file_magic_cmd='/bin/file'
++    lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
++    ;;
++  sni)
++    lt_cv_file_magic_cmd='/bin/file'
++    lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
++    lt_cv_file_magic_test_file=/lib/libc.so
++    ;;
++  siemens)
++    lt_cv_deplibs_check_method=pass_all
++    ;;
++  esac
+   ;;
+-aix4*)
+-  test "$enable_shared" = yes && enable_static=no
++
++sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7* | sysv4*uw2*)
++  lt_cv_deplibs_check_method=pass_all
+   ;;
+ esac
+-AC_MSG_RESULT([$enable_shared])
++])
++file_magic_cmd=$lt_cv_file_magic_cmd
++deplibs_check_method=$lt_cv_deplibs_check_method
++test -z "$deplibs_check_method" && deplibs_check_method=unknown
++])# AC_DEPLIBS_CHECK_METHOD
+ 
+-AC_MSG_CHECKING([whether to build static libraries])
+-# Make sure either enable_shared or enable_static is yes.
+-test "$enable_shared" = yes || enable_static=yes
+-AC_MSG_RESULT([$enable_static])
+ 
+-test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
++# AC_PROG_NM
++# ----------
++# find the pathname to a BSD-compatible name lister
++AC_DEFUN([AC_PROG_NM],
++[AC_CACHE_CHECK([for BSD-compatible nm], lt_cv_path_NM,
++[if test -n "$NM"; then
++  # Let the user override the test.
++  lt_cv_path_NM="$NM"
++else
++  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
++  for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
++    IFS="$lt_save_ifs"
++    test -z "$ac_dir" && ac_dir=.
++    tmp_nm="$ac_dir/${ac_tool_prefix}nm"
++    if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
++      # Check to see if the nm accepts a BSD-compat flag.
++      # Adding the `sed 1q' prevents false positives on HP-UX, which says:
++      #   nm: unknown option "B" ignored
++      # Tru64's nm complains that /dev/null is an invalid object file
++      case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
++      */dev/null* | *'Invalid file or object type'*)
++	lt_cv_path_NM="$tmp_nm -B"
++	break
++        ;;
++      *)
++	case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
++	*/dev/null*)
++	  lt_cv_path_NM="$tmp_nm -p"
++	  break
++	  ;;
++	*)
++	  lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
++	  continue # so that we can try to find one that supports BSD flags
++	  ;;
++	esac
++      esac
++    fi
++  done
++  IFS="$lt_save_ifs"
++  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
++fi])
++NM="$lt_cv_path_NM"
++])# AC_PROG_NM
+ 
+-_LT_AC_TAGVAR(GCC, $1)="$G77"
+-_LT_AC_TAGVAR(LD, $1)="$LD"
+ 
+-AC_LIBTOOL_PROG_COMPILER_PIC($1)
+-AC_LIBTOOL_PROG_CC_C_O($1)
+-AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
+-AC_LIBTOOL_PROG_LD_SHLIBS($1)
+-AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
+-AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
+-AC_LIBTOOL_SYS_LIB_STRIP
++# AC_CHECK_LIBM
++# -------------
++# check for math library
++AC_DEFUN([AC_CHECK_LIBM],
++[AC_REQUIRE([AC_CANONICAL_HOST])dnl
++LIBM=
++case $host in
++*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
++  # These system don't have libm, or don't need it
++  ;;
++*-ncr-sysv4.3*)
++  AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
++  AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
++  ;;
++*)
++  AC_CHECK_LIB(m, cos, LIBM="-lm")
++  ;;
++esac
++])# AC_CHECK_LIBM
+ 
+ 
+-AC_LIBTOOL_CONFIG($1)
++# AC_LIBLTDL_CONVENIENCE([DIRECTORY])
++# -----------------------------------
++# sets LIBLTDL to the link flags for the libltdl convenience library and
++# LTDLINCL to the include flags for the libltdl header and adds
++# --enable-ltdl-convenience to the configure arguments.  Note that LIBLTDL
++# and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called.  If
++# DIRECTORY is not provided, it is assumed to be `libltdl'.  LIBLTDL will
++# be prefixed with '${top_builddir}/' and LTDLINCL will be prefixed with
++# '${top_srcdir}/' (note the single quotes!).  If your package is not
++# flat and you're not using automake, define top_builddir and
++# top_srcdir appropriately in the Makefiles.
++AC_DEFUN([AC_LIBLTDL_CONVENIENCE],
++[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
++  case $enable_ltdl_convenience in
++  no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;;
++  "") enable_ltdl_convenience=yes
++      ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
++  esac
++  LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la
++  LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
++  # For backwards non-gettext consistent compatibility...
++  INCLTDL="$LTDLINCL"
++])# AC_LIBLTDL_CONVENIENCE
+ 
+-AC_LANG_POP
+-CC="$lt_save_CC"
+-])# AC_LIBTOOL_LANG_F77_CONFIG
++
++# AC_LIBLTDL_INSTALLABLE([DIRECTORY])
++# -----------------------------------
++# sets LIBLTDL to the link flags for the libltdl installable library and
++# LTDLINCL to the include flags for the libltdl header and adds
++# --enable-ltdl-install to the configure arguments.  Note that LIBLTDL
++# and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called.  If
++# DIRECTORY is not provided and an installed libltdl is not found, it is
++# assumed to be `libltdl'.  LIBLTDL will be prefixed with '${top_builddir}/'
++# and LTDLINCL will be prefixed with '${top_srcdir}/' (note the single
++# quotes!).  If your package is not flat and you're not using automake,
++# define top_builddir and top_srcdir appropriately in the Makefiles.
++# In the future, this macro may have to be called after AC_PROG_LIBTOOL.
++AC_DEFUN([AC_LIBLTDL_INSTALLABLE],
++[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
++  AC_CHECK_LIB(ltdl, lt_dlinit,
++  [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no],
++  [if test x"$enable_ltdl_install" = xno; then
++     AC_MSG_WARN([libltdl not installed, but installation disabled])
++   else
++     enable_ltdl_install=yes
++   fi
++  ])
++  if test x"$enable_ltdl_install" = x"yes"; then
++    ac_configure_args="$ac_configure_args --enable-ltdl-install"
++    LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la
++    LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
++  else
++    ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
++    LIBLTDL="-lltdl"
++    LTDLINCL=
++  fi
++  # For backwards non-gettext consistent compatibility...
++  INCLTDL="$LTDLINCL"
++])# AC_LIBLTDL_INSTALLABLE
+ 
+ 
+-# AC_LIBTOOL_LANG_GCJ_CONFIG
+-# --------------------------
++# AC_LIBTOOL_CXX
++# --------------
++# enable support for C++ libraries
++AC_DEFUN([AC_LIBTOOL_CXX],
++[AC_REQUIRE([_LT_AC_LANG_CXX])
++])# AC_LIBTOOL_CXX
++
++
++# _LT_AC_LANG_CXX
++# ---------------
++AC_DEFUN([_LT_AC_LANG_CXX],
++[AC_REQUIRE([AC_PROG_CXX])
++AC_REQUIRE([AC_PROG_CXXCPP])
++_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}CXX])
++])# _LT_AC_LANG_CXX
++
++
++# AC_LIBTOOL_F77
++# --------------
++# enable support for Fortran 77 libraries
++AC_DEFUN([AC_LIBTOOL_F77],
++[AC_REQUIRE([_LT_AC_LANG_F77])
++])# AC_LIBTOOL_F77
++
++
++# _LT_AC_LANG_F77
++# ---------------
++AC_DEFUN([_LT_AC_LANG_F77],
++[AC_REQUIRE([AC_PROG_F77])
++_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}F77])
++])# _LT_AC_LANG_F77
++
++
++# AC_LIBTOOL_GCJ
++# --------------
++# enable support for GCJ libraries
++AC_DEFUN([AC_LIBTOOL_GCJ],
++[AC_REQUIRE([_LT_AC_LANG_GCJ])
++])# AC_LIBTOOL_GCJ
++
++
++# _LT_AC_LANG_GCJ
++# ---------------
++AC_DEFUN([_LT_AC_LANG_GCJ],
++[AC_PROVIDE_IFELSE([AC_PROG_GCJ],[],
++  [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],[],
++    [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],[],
++      [ifdef([AC_PROG_GCJ],[AC_REQUIRE([AC_PROG_GCJ])],
++	 [ifdef([A][M_PROG_GCJ],[AC_REQUIRE([A][M_PROG_GCJ])],
++	   [AC_REQUIRE([A][C_PROG_GCJ_OR_A][M_PROG_GCJ])])])])])])
++_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}GCJ])
++])# _LT_AC_LANG_GCJ
++
++
++# AC_LIBTOOL_RC
++# --------------
++# enable support for Windows resource files
++AC_DEFUN([AC_LIBTOOL_RC],
++[AC_REQUIRE([LT_AC_PROG_RC])
++_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}RC])
++])# AC_LIBTOOL_RC
++
++
++# AC_LIBTOOL_LANG_C_CONFIG
++# ------------------------
+ # Ensure that the configuration vars for the C compiler are
+ # suitably defined.  Those variables are subsequently used by
+ # AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
+-AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG], [_LT_AC_LANG_GCJ_CONFIG(GCJ)])
+-AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG],
+-[AC_LANG_SAVE
++AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG], [_LT_AC_LANG_C_CONFIG])
++AC_DEFUN([_LT_AC_LANG_C_CONFIG],
++[lt_save_CC="$CC"
++AC_LANG_PUSH(C)
+ 
+-# Source file extension for Java test sources.
+-ac_ext=java
++# Source file extension for C test sources.
++ac_ext=c
+ 
+-# Object file extension for compiled Java test sources.
++# Object file extension for compiled C test sources.
+ objext=o
+ _LT_AC_TAGVAR(objext, $1)=$objext
+ 
+ # Code to be used in simple compile tests
+-lt_simple_compile_test_code="class foo {}\n"
++lt_simple_compile_test_code="int some_variable = 0;\n"
+ 
+ # Code to be used in simple link tests
+-lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
++lt_simple_link_test_code='int main(){return(0);}\n'
+ 
+-# ltmain only uses $CC for tagged configurations so make sure $CC is set.
+ _LT_AC_SYS_COMPILER
+ 
+-# Allow CC to be a program name with arguments.
+-lt_save_CC="$CC"
+-CC=${GCJ-"gcj"}
+-compiler=$CC
+-_LT_AC_TAGVAR(compiler, $1)=$CC
++#
++# Check for any special shared library compilation flags.
++#
++_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)=
++if test "$GCC" = no; then
++  case $host_os in
++  sco3.2v5*)
++    _LT_AC_TAGVAR(lt_prog_cc_shlib, $1)='-belf'
++    ;;
++  esac
++fi
++if test -n "$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)"; then
++  AC_MSG_WARN([`$CC' requires `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to build shared libraries])
++  if echo "$old_CC $old_CFLAGS " | grep "[[ 	]]$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)[[ 	]]" >/dev/null; then :
++  else
++    AC_MSG_WARN([add `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to the CC or CFLAGS env variable and reconfigure])
++    _LT_AC_TAGVAR(lt_cv_prog_cc_can_build_shared, $1)=no
++  fi
++fi
++
++
++#
++# Check to make sure the static flag actually works.
++#
++AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $_LT_AC_TAGVAR(lt_prog_compiler_static, $1) works],
++  _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1),
++  $_LT_AC_TAGVAR(lt_prog_compiler_static, $1),
++  [],
++  [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=])
+ 
+-# GCJ did not exist at the time GCC didn't implicitly link libc in.
+-_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
+ 
+ AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
+ AC_LIBTOOL_PROG_COMPILER_PIC($1)
+@@ -3762,776 +3590,2021 @@
+ AC_LIBTOOL_SYS_LIB_STRIP
+ AC_LIBTOOL_DLOPEN_SELF($1)
+ 
++# Report which librarie types wil actually be built
++AC_MSG_CHECKING([if libtool supports shared libraries])
++AC_MSG_RESULT([$can_build_shared])
++
++AC_MSG_CHECKING([whether to build shared libraries])
++test "$can_build_shared" = "no" && enable_shared=no
++
++# On AIX, shared libraries and static libraries use the same namespace, and
++# are all built from PIC.
++case "$host_os" in
++aix3*)
++  test "$enable_shared" = yes && enable_static=no
++  if test -n "$RANLIB"; then
++    archive_cmds="$archive_cmds~\$RANLIB \$lib"
++    postinstall_cmds='$RANLIB $lib'
++  fi
++  ;;
++
++aix4* | aix5*)
++  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
++    test "$enable_shared" = yes && enable_static=no
++  fi
++  ;;
++  darwin* | rhapsody*)
++  if test "$GCC" = yes; then
++    _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
++    case "$host_os" in
++    rhapsody* | darwin1.[[012]])
++      _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'
++      ;;
++    *) # Darwin 1.3 on
++      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
++      	_LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
++      else
++        case ${MACOSX_DEPLOYMENT_TARGET} in
++          10.[[012]])
++            _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
++            ;;
++          10.*)
++            _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'
++            ;;
++        esac
++      fi
++      ;;
++    esac
++    output_verbose_link_cmd='echo'
++    _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
++    _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
++    # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
++    _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag  -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++    _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++    _LT_AC_TAGVAR(hardcode_direct, $1)=no
++    _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
++    _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
++    _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
++    _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
++  else
++    _LT_AC_TAGVAR(ld_shlibs, $1)=no
++  fi
++    ;;
++esac
++AC_MSG_RESULT([$enable_shared])
++
++AC_MSG_CHECKING([whether to build static libraries])
++# Make sure either enable_shared or enable_static is yes.
++test "$enable_shared" = yes || enable_static=yes
++AC_MSG_RESULT([$enable_static])
++
+ AC_LIBTOOL_CONFIG($1)
+ 
+-AC_LANG_RESTORE
++AC_LANG_POP
+ CC="$lt_save_CC"
+-])# AC_LIBTOOL_LANG_GCJ_CONFIG
++])# AC_LIBTOOL_LANG_C_CONFIG
+ 
+ 
+-# AC_LIBTOOL_LANG_RC_CONFIG
++# AC_LIBTOOL_LANG_CXX_CONFIG
+ # --------------------------
+-# Ensure that the configuration vars for the Windows resource compiler are
++# Ensure that the configuration vars for the C compiler are
+ # suitably defined.  Those variables are subsequently used by
+ # AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
+-AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG], [_LT_AC_LANG_RC_CONFIG(RC)])
+-AC_DEFUN([_LT_AC_LANG_RC_CONFIG],
+-[AC_LANG_SAVE
++AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG], [_LT_AC_LANG_CXX_CONFIG(CXX)])
++AC_DEFUN([_LT_AC_LANG_CXX_CONFIG],
++[AC_LANG_PUSH(C++)
++AC_REQUIRE([AC_PROG_CXX])
++AC_REQUIRE([AC_PROG_CXXCPP])
+ 
+-# Source file extension for RC test sources.
+-ac_ext=rc
++_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
++_LT_AC_TAGVAR(allow_undefined_flag, $1)=
++_LT_AC_TAGVAR(always_export_symbols, $1)=no
++_LT_AC_TAGVAR(archive_expsym_cmds, $1)=
++_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
++_LT_AC_TAGVAR(hardcode_direct, $1)=no
++_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
++_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
++_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
++_LT_AC_TAGVAR(hardcode_minus_L, $1)=no
++_LT_AC_TAGVAR(hardcode_automatic, $1)=no
++_LT_AC_TAGVAR(module_cmds, $1)=
++_LT_AC_TAGVAR(module_expsym_cmds, $1)=
++_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
++_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
++_LT_AC_TAGVAR(no_undefined_flag, $1)=
++_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
++_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
+ 
+-# Object file extension for compiled RC test sources.
++# Dependencies to place before and after the object being linked:
++_LT_AC_TAGVAR(predep_objects, $1)=
++_LT_AC_TAGVAR(postdep_objects, $1)=
++_LT_AC_TAGVAR(predeps, $1)=
++_LT_AC_TAGVAR(postdeps, $1)=
++_LT_AC_TAGVAR(compiler_lib_search_path, $1)=
++
++# Source file extension for C++ test sources.
++ac_ext=cc
++
++# Object file extension for compiled C++ test sources.
+ objext=o
+ _LT_AC_TAGVAR(objext, $1)=$objext
+ 
+ # Code to be used in simple compile tests
+-lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
++lt_simple_compile_test_code="int some_variable = 0;\n"
+ 
+ # Code to be used in simple link tests
+-lt_simple_link_test_code="$lt_simple_compile_test_code"
++lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
+ 
+ # ltmain only uses $CC for tagged configurations so make sure $CC is set.
+ _LT_AC_SYS_COMPILER
+ 
+ # Allow CC to be a program name with arguments.
+-lt_save_CC="$CC"
+-CC=${RC-"windres"}
++lt_save_CC=$CC
++lt_save_LD=$LD
++lt_save_GCC=$GCC
++GCC=$GXX
++lt_save_with_gnu_ld=$with_gnu_ld
++lt_save_path_LD=$lt_cv_path_LD
++if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
++  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
++else
++  unset lt_cv_prog_gnu_ld
++fi
++if test -n "${lt_cv_path_LDCXX+set}"; then
++  lt_cv_path_LD=$lt_cv_path_LDCXX
++else
++  unset lt_cv_path_LD
++fi
++test -z "${LDCXX+set}" || LD=$LDCXX
++CC=${CXX-"c++"}
+ compiler=$CC
+ _LT_AC_TAGVAR(compiler, $1)=$CC
+-_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
+-
+-AC_LIBTOOL_CONFIG($1)
+-
+-AC_LANG_RESTORE
+-CC="$lt_save_CC"
+-])# AC_LIBTOOL_LANG_RC_CONFIG
++cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
+ 
++# We don't want -fno-exception wen compiling C++ code, so set the
++# no_builtin_flag separately
++if test "$GXX" = yes; then
++  _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
++else
++  _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
++fi
+ 
+-# AC_LIBTOOL_CONFIG([TAGNAME])
+-# ----------------------------
+-# If TAGNAME is not passed, then create an initial libtool script
+-# with a default configuration from the untagged config vars.  Otherwise
+-# add code to config.status for appending the configuration named by
+-# TAGNAME from the matching tagged config vars.
+-AC_DEFUN([AC_LIBTOOL_CONFIG],
+-[# The else clause should only fire when bootstrapping the
+-# libtool distribution, otherwise you forgot to ship ltmain.sh
+-# with your package, and you will get complaints that there are
+-# no rules to generate ltmain.sh.
+-if test -f "$ltmain"; then
+-  # See if we are running on zsh, and set the options which allow our commands through
+-  # without removal of \ escapes.
+-  if test -n "${ZSH_VERSION+set}" ; then
+-    setopt NO_GLOB_SUBST
+-  fi
+-  # Now quote all the things that may contain metacharacters while being
+-  # careful not to overquote the AC_SUBSTed values.  We take copies of the
+-  # variables and quote the copies for generation of the libtool script.
+-  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
+-    SED SHELL STRIP \
+-    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
+-    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
+-    deplibs_check_method reload_flag reload_cmds need_locks \
+-    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
+-    lt_cv_sys_global_symbol_to_c_name_address \
+-    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
+-    old_postinstall_cmds old_postuninstall_cmds \
+-    _LT_AC_TAGVAR(compiler, $1) \
+-    _LT_AC_TAGVAR(CC, $1) \
+-    _LT_AC_TAGVAR(LD, $1) \
+-    _LT_AC_TAGVAR(lt_prog_compiler_wl, $1) \
+-    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1) \
+-    _LT_AC_TAGVAR(lt_prog_compiler_static, $1) \
+-    _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) \
+-    _LT_AC_TAGVAR(export_dynamic_flag_spec, $1) \
+-    _LT_AC_TAGVAR(thread_safe_flag_spec, $1) \
+-    _LT_AC_TAGVAR(whole_archive_flag_spec, $1) \
+-    _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1) \
+-    _LT_AC_TAGVAR(old_archive_cmds, $1) \
+-    _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) \
+-    _LT_AC_TAGVAR(predep_objects, $1) \
+-    _LT_AC_TAGVAR(postdep_objects, $1) \
+-    _LT_AC_TAGVAR(predeps, $1) \
+-    _LT_AC_TAGVAR(postdeps, $1) \
+-    _LT_AC_TAGVAR(compiler_lib_search_path, $1) \
+-    _LT_AC_TAGVAR(archive_cmds, $1) \
+-    _LT_AC_TAGVAR(archive_expsym_cmds, $1) \
+-    _LT_AC_TAGVAR(postinstall_cmds, $1) \
+-    _LT_AC_TAGVAR(postuninstall_cmds, $1) \
+-    _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) \
+-    _LT_AC_TAGVAR(allow_undefined_flag, $1) \
+-    _LT_AC_TAGVAR(no_undefined_flag, $1) \
+-    _LT_AC_TAGVAR(export_symbols_cmds, $1) \
+-    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) \
+-    _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1) \
+-    _LT_AC_TAGVAR(hardcode_libdir_separator, $1) \
+-    _LT_AC_TAGVAR(hardcode_automatic, $1) \
+-    _LT_AC_TAGVAR(module_cmds, $1) \
+-    _LT_AC_TAGVAR(module_expsym_cmds, $1) \
+-    _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) \
+-    _LT_AC_TAGVAR(exclude_expsyms, $1) \
+-    _LT_AC_TAGVAR(include_expsyms, $1); do
++if test "$GXX" = yes; then
++  # Set up default GNU C++ configuration
+ 
+-    case $var in
+-    _LT_AC_TAGVAR(old_archive_cmds, $1) | \
+-    _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) | \
+-    _LT_AC_TAGVAR(archive_cmds, $1) | \
+-    _LT_AC_TAGVAR(archive_expsym_cmds, $1) | \
+-    _LT_AC_TAGVAR(module_cmds, $1) | \
+-    _LT_AC_TAGVAR(module_expsym_cmds, $1) | \
+-    _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) | \
+-    _LT_AC_TAGVAR(export_symbols_cmds, $1) | \
+-    extract_expsyms_cmds | reload_cmds | finish_cmds | \
+-    postinstall_cmds | postuninstall_cmds | \
+-    old_postinstall_cmds | old_postuninstall_cmds | \
+-    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
+-      # Double-quote double-evaled strings.
+-      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
+-      ;;
+-    *)
+-      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
+-      ;;
+-    esac
+-  done
++  AC_PROG_LD
+ 
+-  case $lt_echo in
+-  *'\[$]0 --fallback-echo"')
+-    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\[$]0 --fallback-echo"[$]/[$]0 --fallback-echo"/'`
+-    ;;
+-  esac
++  # Check if GNU C++ uses GNU ld as the underlying linker, since the
++  # archiving commands below assume that GNU ld is being used.
++  if test "$with_gnu_ld" = yes; then
++    _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
++    _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+ 
+-ifelse([$1], [],
+-  [cfgfile="${ofile}T"
+-  trap "$rm \"$cfgfile\"; exit 1" 1 2 15
+-  $rm -f "$cfgfile"
+-  AC_MSG_NOTICE([creating $ofile])],
+-  [cfgfile="$ofile"])
++    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
++    _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
+ 
+-  cat <<__EOF__ >> "$cfgfile"
+-ifelse([$1], [],
+-[#! $SHELL
++    # If archive_cmds runs LD, not CC, wlarc should be empty
++    # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
++    #     investigate it a little bit more. (MM)
++    wlarc='${wl}'
+ 
+-# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
+-# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
+-# NOTE: Changes made to this file will be lost: look at ltmain.sh.
+-#
+-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
+-# Free Software Foundation, Inc.
+-#
+-# This file is part of GNU Libtool:
+-# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
+-#
+-# 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+-#
+-# As a special exception to the GNU General Public License, if you
+-# distribute this file as part of a program that contains a
+-# configuration script generated by Autoconf, you may include it under
+-# the same distribution terms that you use for the rest of that program.
++    # ancient GNU ld didn't support --whole-archive et. al.
++    if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
++	grep 'no-whole-archive' > /dev/null; then
++      _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
++    else
++      _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
++    fi
++  else
++    with_gnu_ld=no
++    wlarc=
+ 
+-# A sed program that does not truncate output.
+-SED=$lt_SED
++    # A generic and very simple default shared library creation
++    # command for GNU C++ for the case where it uses the native
++    # linker, instead of GNU ld.  If possible, this setting should
++    # overridden to take advantage of the native linker features on
++    # the platform it is being used on.
++    _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
++  fi
+ 
+-# Sed that helps us avoid accidentally triggering echo(1) options like -n.
+-Xsed="$SED -e s/^X//"
++  # Commands to make compiler produce verbose output that lists
++  # what "hidden" libraries, object files and flags are used when
++  # linking a shared library.
++  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
+ 
+-# The HP-UX ksh and POSIX shell print the target directory to stdout
+-# if CDPATH is set.
+-if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
++else
++  GXX=no
++  with_gnu_ld=no
++  wlarc=
++fi
+ 
+-# The names of the tagged configurations supported by this script.
+-available_tags=
+-
+-# ### BEGIN LIBTOOL CONFIG],
+-[# ### BEGIN LIBTOOL TAG CONFIG: $tagname])
+-
+-# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
+-
+-# Shell to use when invoking shell scripts.
+-SHELL=$lt_SHELL
+-
+-# Whether or not to build shared libraries.
+-build_libtool_libs=$enable_shared
+-
+-# Whether or not to build static libraries.
+-build_old_libs=$enable_static
+-
+-# Whether or not to add -lc for building shared libraries.
+-build_libtool_need_lc=$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)
+-
+-# Whether or not to disallow shared libs when runtime libs are static
+-allow_libtool_libs_with_static_runtimes=$_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)
+-
+-# Whether or not to optimize for fast installation.
+-fast_install=$enable_fast_install
+-
+-# The host system.
+-host_alias=$host_alias
+-host=$host
+-
+-# An echo program that does not interpret backslashes.
+-echo=$lt_echo
+-
+-# The archiver.
+-AR=$lt_AR
+-AR_FLAGS=$lt_AR_FLAGS
+-
+-# A C compiler.
+-LTCC=$lt_LTCC
+-
+-# A language-specific compiler.
+-CC=$lt_[]_LT_AC_TAGVAR(compiler, $1)
++# PORTME: fill in a description of your system's C++ link characteristics
++AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
++_LT_AC_TAGVAR(ld_shlibs, $1)=yes
++case $host_os in
++  aix3*)
++    # FIXME: insert proper C++ library support
++    _LT_AC_TAGVAR(ld_shlibs, $1)=no
++    ;;
++  aix4* | aix5*)
++    if test "$host_cpu" = ia64; then
++      # On IA64, the linker does run time linking by default, so we don't
++      # have to do anything special.
++      aix_use_runtimelinking=no
++      exp_sym_flag='-Bexport'
++      no_entry_flag=""
++    else
++      aix_use_runtimelinking=no
+ 
+-# Is the compiler the GNU C compiler?
+-with_gcc=$_LT_AC_TAGVAR(GCC, $1)
++      # Test if we are trying to use run time linking or normal
++      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
++      # need to do runtime linking.
++      case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
++	for ld_flag in $LDFLAGS; do
++	  case $ld_flag in
++	  *-brtl*)
++	    aix_use_runtimelinking=yes
++	    break
++	    ;;
++	  esac
++	done
++      esac
+ 
+-# An ERE matcher.
+-EGREP=$lt_EGREP
++      exp_sym_flag='-bexport'
++      no_entry_flag='-bnoentry'
++    fi
+ 
+-# The linker used to build libraries.
+-LD=$lt_[]_LT_AC_TAGVAR(LD, $1)
++    # When large executables or shared objects are built, AIX ld can
++    # have problems creating the table of contents.  If linking a library
++    # or program results in "error TOC overflow" add -mminimal-toc to
++    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
++    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
+ 
+-# Whether we need hard or soft links.
+-LN_S=$lt_LN_S
++    _LT_AC_TAGVAR(archive_cmds, $1)=''
++    _LT_AC_TAGVAR(hardcode_direct, $1)=yes
++    _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
++    _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
+ 
+-# A BSD-compatible nm program.
+-NM=$lt_NM
++    if test "$GXX" = yes; then
++      case $host_os in aix4.[012]|aix4.[012].*)
++      # We only want to do this on AIX 4.2 and lower, the check
++      # below for broken collect2 doesn't work under 4.3+
++	collect2name=`${CC} -print-prog-name=collect2`
++	if test -f "$collect2name" && \
++	   strings "$collect2name" | grep resolve_lib_name >/dev/null
++	then
++	  # We have reworked collect2
++	  _LT_AC_TAGVAR(hardcode_direct, $1)=yes
++	else
++	  # We have old collect2
++	  _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
++	  # It fails to find uninstalled libraries when the uninstalled
++	  # path is not listed in the libpath.  Setting hardcode_minus_L
++	  # to unsupported forces relinking
++	  _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
++	  _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
++	  _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
++	fi
++      esac
++      shared_flag='-shared'
++    else
++      # not using gcc
++      if test "$host_cpu" = ia64; then
++	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
++	# chokes on -Wl,-G. The following line is correct:
++	shared_flag='-G'
++      else
++	if test "$aix_use_runtimelinking" = yes; then
++	  shared_flag='${wl}-G'
++	else
++	  shared_flag='${wl}-bM:SRE'
++	fi
++      fi
++    fi
+ 
+-# A symbol stripping program
+-STRIP=$lt_STRIP
++    # It seems that -bexpall does not export symbols beginning with
++    # underscore (_), so it is better to generate a list of symbols to export.
++    _LT_AC_TAGVAR(always_export_symbols, $1)=yes
++    if test "$aix_use_runtimelinking" = yes; then
++      # Warning - without using the other runtime loading flags (-brtl),
++      # -berok will link without error, but may produce a broken library.
++      _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
++      # Determine the default libpath from the value encoded in an empty executable.
++      _LT_AC_SYS_LIBPATH_AIX
++      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
+ 
+-# Used to examine libraries when file_magic_cmd begins "file"
+-MAGIC_CMD=$MAGIC_CMD
++      _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
++     else
++      if test "$host_cpu" = ia64; then
++	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
++	_LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
++	_LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
++      else
++	# Determine the default libpath from the value encoded in an empty executable.
++	_LT_AC_SYS_LIBPATH_AIX
++	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
++	# Warning - without using the other run time loading flags,
++	# -berok will link without error, but may produce a broken library.
++	_LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
++	_LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
++	# -bexpall does not export symbols beginning with underscore (_)
++	_LT_AC_TAGVAR(always_export_symbols, $1)=yes
++	# Exported symbols can be pulled into shared objects from archives
++	_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' '
++	_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
++	# This is similar to how AIX traditionally builds it's shared libraries.
++	_LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
++      fi
++    fi
++    ;;
++  chorus*)
++    case $cc_basename in
++      *)
++	# FIXME: insert proper C++ library support
++	_LT_AC_TAGVAR(ld_shlibs, $1)=no
++	;;
++    esac
++    ;;
+ 
+-# Used on cygwin: DLL creation program.
+-DLLTOOL="$DLLTOOL"
++  cygwin* | mingw* | pw32*)
++    # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
++    # as there is no search path for DLLs.
++    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
++    _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
++    _LT_AC_TAGVAR(always_export_symbols, $1)=no
++    _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
+ 
+-# Used on cygwin: object dumper.
+-OBJDUMP="$OBJDUMP"
++    if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
++      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
++      # If the export-symbols file already is a .def file (1st line
++      # is EXPORTS), use it as is; otherwise, prepend...
++      _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
++	cp $export_symbols $output_objdir/$soname.def;
++      else
++	echo EXPORTS > $output_objdir/$soname.def;
++	cat $export_symbols >> $output_objdir/$soname.def;
++      fi~
++      $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
++    else
++      _LT_AC_TAGVAR(ld_shlibs, $1)=no
++    fi
++  ;;
+ 
+-# Used on cygwin: assembler.
+-AS="$AS"
++  darwin* | rhapsody*)
++  if test "$GXX" = yes; then
++    _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
++    case "$host_os" in
++    rhapsody* | darwin1.[[012]])
++      _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'
++      ;;
++    *) # Darwin 1.3 on
++      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
++      	_LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
++      else
++        case ${MACOSX_DEPLOYMENT_TARGET} in
++          10.[[012]])
++            _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
++            ;;
++          10.*)
++            _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'
++            ;;
++        esac
++      fi
++      ;;
++    esac
++    lt_int_apple_cc_single_mod=no
++    output_verbose_link_cmd='echo'
++    if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
++      lt_int_apple_cc_single_mod=yes
++    fi
++    if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
++      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
++    else
++      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
++    fi
++    _LT_AC_TAGVAR(module_cmds, $1)='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
+ 
+-# The name of the directory that contains temporary libtool files.
+-objdir=$objdir
++    # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
++    if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
++      _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++    else
++      _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++    fi
++    _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++    _LT_AC_TAGVAR(hardcode_direct, $1)=no
++    _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
++    _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
++    _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
++    _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
++  else
++    _LT_AC_TAGVAR(ld_shlibs, $1)=no
++  fi
++    ;;
+ 
+-# How to create reloadable object files.
+-reload_flag=$lt_reload_flag
+-reload_cmds=$lt_reload_cmds
+-
+-# How to pass a linker flag through the compiler.
+-wl=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
+-
+-# Object file suffix (normally "o").
+-objext="$ac_objext"
+-
+-# Old archive suffix (normally "a").
+-libext="$libext"
+-
+-# Shared library suffix (normally ".so").
+-shrext='$shrext'
+-
+-# Executable file suffix (normally "").
+-exeext="$exeext"
+-
+-# Additional compiler flags for building library objects.
+-pic_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)
+-pic_mode=$pic_mode
+-
+-# What is the maximum length of a command?
+-max_cmd_len=$lt_cv_sys_max_cmd_len
+-
+-# Does compiler simultaneously support -c and -o options?
+-compiler_c_o=$lt_[]_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)
+-
+-# Must we lock files when doing compilation ?
+-need_locks=$lt_need_locks
++  dgux*)
++    case $cc_basename in
++      ec++)
++	# FIXME: insert proper C++ library support
++	_LT_AC_TAGVAR(ld_shlibs, $1)=no
++	;;
++      ghcx)
++	# Green Hills C++ Compiler
++	# FIXME: insert proper C++ library support
++	_LT_AC_TAGVAR(ld_shlibs, $1)=no
++	;;
++      *)
++	# FIXME: insert proper C++ library support
++	_LT_AC_TAGVAR(ld_shlibs, $1)=no
++	;;
++    esac
++    ;;
++  freebsd[12]*)
++    # C++ shared libraries reported to be fairly broken before switch to ELF
++    _LT_AC_TAGVAR(ld_shlibs, $1)=no
++    ;;
++  freebsd-elf*)
++    _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
++    ;;
++  freebsd* | kfreebsd*-gnu)
++    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
++    # conventions
++    _LT_AC_TAGVAR(ld_shlibs, $1)=yes
++    ;;
++  gnu*)
++    ;;
++  hpux9*)
++    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
++    _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
++    _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
++    _LT_AC_TAGVAR(hardcode_direct, $1)=yes
++    _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
++				# but as the default
++				# location of the library.
+ 
+-# Do we need the lib prefix for modules?
+-need_lib_prefix=$need_lib_prefix
++    case $cc_basename in
++    CC)
++      # FIXME: insert proper C++ library support
++      _LT_AC_TAGVAR(ld_shlibs, $1)=no
++      ;;
++    aCC)
++      _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
++      # Commands to make compiler produce verbose output that lists
++      # what "hidden" libraries, object files and flags are used when
++      # linking a shared library.
++      #
++      # There doesn't appear to be a way to prevent this compiler from
++      # explicitly linking system object files so we need to strip them
++      # from the output so that they don't get included in the library
++      # dependencies.
++      output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
++      ;;
++    *)
++      if test "$GXX" = yes; then
++        _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
++      else
++        # FIXME: insert proper C++ library support
++        _LT_AC_TAGVAR(ld_shlibs, $1)=no
++      fi
++      ;;
++    esac
++    ;;
++  hpux10*|hpux11*)
++    if test $with_gnu_ld = no; then
++      case "$host_cpu" in
++      hppa*64*)
++	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
++	_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
++	_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
++        ;;
++      ia64*)
++	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
++        ;;
++      *)
++	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
++	_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
++	_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
++        ;;
++      esac
++    fi
++    case "$host_cpu" in
++    hppa*64*)
++      _LT_AC_TAGVAR(hardcode_direct, $1)=no
++      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
++      ;;
++    ia64*)
++      _LT_AC_TAGVAR(hardcode_direct, $1)=no
++      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
++      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
++					      # but as the default
++					      # location of the library.
++      ;;
++    *)
++      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
++      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
++					      # but as the default
++					      # location of the library.
++      ;;
++    esac
+ 
+-# Do we need a version for libraries?
+-need_version=$need_version
++    case $cc_basename in
++      CC)
++	# FIXME: insert proper C++ library support
++	_LT_AC_TAGVAR(ld_shlibs, $1)=no
++	;;
++      aCC)
++	case "$host_cpu" in
++	hppa*64*|ia64*)
++	  _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
++	  ;;
++	*)
++	  _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
++	  ;;
++	esac
++	# Commands to make compiler produce verbose output that lists
++	# what "hidden" libraries, object files and flags are used when
++	# linking a shared library.
++	#
++	# There doesn't appear to be a way to prevent this compiler from
++	# explicitly linking system object files so we need to strip them
++	# from the output so that they don't get included in the library
++	# dependencies.
++	output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
++	;;
++      *)
++	if test "$GXX" = yes; then
++	  if test $with_gnu_ld = no; then
++	    case "$host_cpu" in
++	    ia64*|hppa*64*)
++	      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
++	      ;;
++	    *)
++	      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
++	      ;;
++	    esac
++	  fi
++	else
++	  # FIXME: insert proper C++ library support
++	  _LT_AC_TAGVAR(ld_shlibs, $1)=no
++	fi
++	;;
++    esac
++    ;;
++  irix5* | irix6*)
++    case $cc_basename in
++      CC)
++	# SGI C++
++	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
+ 
+-# Whether dlopen is supported.
+-dlopen_support=$enable_dlopen
++	# Archives containing C++ object files must be created using
++	# "CC -ar", where "CC" is the IRIX C++ compiler.  This is
++	# necessary to make sure instantiated templates are included
++	# in the archive.
++	_LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
++	;;
++      *)
++	if test "$GXX" = yes; then
++	  if test "$with_gnu_ld" = no; then
++	    _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
++	  else
++	    _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
++	  fi
++	fi
++	_LT_AC_TAGVAR(link_all_deplibs, $1)=yes
++	;;
++    esac
++    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
++    _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
++    ;;
++  linux*)
++    case $cc_basename in
++      KCC)
++	# Kuck and Associates, Inc. (KAI) C++ Compiler
+ 
+-# Whether dlopen of programs is supported.
+-dlopen_self=$enable_dlopen_self
++	# KCC will only create a shared library if the output file
++	# ends with ".so" (or ".sl" for HP-UX), so rename the library
++	# to its proper name (with version) after linking.
++	_LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
++	_LT_AC_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
++	# Commands to make compiler produce verbose output that lists
++	# what "hidden" libraries, object files and flags are used when
++	# linking a shared library.
++	#
++	# There doesn't appear to be a way to prevent this compiler from
++	# explicitly linking system object files so we need to strip them
++	# from the output so that they don't get included in the library
++	# dependencies.
++	output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
+ 
+-# Whether dlopen of statically linked programs is supported.
+-dlopen_self_static=$enable_dlopen_self_static
++	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath,$libdir'
++	_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
+ 
+-# Compiler flag to prevent dynamic linking.
+-link_static_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_static, $1)
++	# Archives containing C++ object files must be created using
++	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
++	_LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
++	;;
++      icpc)
++	# Intel C++
++	with_gnu_ld=yes
++	_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
++	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
++	_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
++	_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
++	_LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
++	;;
++      cxx)
++	# Compaq C++
++	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
++	_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
+ 
+-# Compiler flag to turn off builtin functions.
+-no_builtin_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)
++	runpath_var=LD_RUN_PATH
++	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
++	_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
+ 
+-# Compiler flag to allow reflexive dlopens.
+-export_dynamic_flag_spec=$lt_[]_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)
++	# Commands to make compiler produce verbose output that lists
++	# what "hidden" libraries, object files and flags are used when
++	# linking a shared library.
++	#
++	# There doesn't appear to be a way to prevent this compiler from
++	# explicitly linking system object files so we need to strip them
++	# from the output so that they don't get included in the library
++	# dependencies.
++	output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
++	;;
++    esac
++    ;;
++  lynxos*)
++    # FIXME: insert proper C++ library support
++    _LT_AC_TAGVAR(ld_shlibs, $1)=no
++    ;;
++  m88k*)
++    # FIXME: insert proper C++ library support
++    _LT_AC_TAGVAR(ld_shlibs, $1)=no
++    ;;
++  mvs*)
++    case $cc_basename in
++      cxx)
++	# FIXME: insert proper C++ library support
++	_LT_AC_TAGVAR(ld_shlibs, $1)=no
++	;;
++      *)
++	# FIXME: insert proper C++ library support
++	_LT_AC_TAGVAR(ld_shlibs, $1)=no
++	;;
++    esac
++    ;;
++  netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
++    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
++      wlarc=
++      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
++      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
++      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
++    fi
++    # Workaround some broken pre-1.5 toolchains
++    output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
++    ;;
++  osf3*)
++    case $cc_basename in
++      KCC)
++	# Kuck and Associates, Inc. (KAI) C++ Compiler
+ 
+-# Compiler flag to generate shared objects directly from archives.
+-whole_archive_flag_spec=$lt_[]_LT_AC_TAGVAR(whole_archive_flag_spec, $1)
++	# KCC will only create a shared library if the output file
++	# ends with ".so" (or ".sl" for HP-UX), so rename the library
++	# to its proper name (with version) after linking.
++	_LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
+ 
+-# Compiler flag to generate thread-safe objects.
+-thread_safe_flag_spec=$lt_[]_LT_AC_TAGVAR(thread_safe_flag_spec, $1)
++	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
++	_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
+ 
+-# Library versioning type.
+-version_type=$version_type
++	# Archives containing C++ object files must be created using
++	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
++	_LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
+ 
+-# Format of library name prefix.
+-libname_spec=$lt_libname_spec
++	;;
++      RCC)
++	# Rational C++ 2.4.1
++	# FIXME: insert proper C++ library support
++	_LT_AC_TAGVAR(ld_shlibs, $1)=no
++	;;
++      cxx)
++	_LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
++	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
+ 
+-# List of archive names.  First name is the real one, the rest are links.
+-# The last name is the one that the linker finds with -lNAME.
+-library_names_spec=$lt_library_names_spec
++	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
++	_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
+ 
+-# The coded name of the library, if different from the real name.
+-soname_spec=$lt_soname_spec
++	# Commands to make compiler produce verbose output that lists
++	# what "hidden" libraries, object files and flags are used when
++	# linking a shared library.
++	#
++	# There doesn't appear to be a way to prevent this compiler from
++	# explicitly linking system object files so we need to strip them
++	# from the output so that they don't get included in the library
++	# dependencies.
++	output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
++	;;
++      *)
++	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
++	  _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
++	  _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
+ 
+-# Commands used to build and install an old-style archive.
+-RANLIB=$lt_RANLIB
+-old_archive_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_cmds, $1)
+-old_postinstall_cmds=$lt_old_postinstall_cmds
+-old_postuninstall_cmds=$lt_old_postuninstall_cmds
++	  _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
++	  _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
+ 
+-# Create an old-style archive from a shared archive.
+-old_archive_from_new_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_new_cmds, $1)
++	  # Commands to make compiler produce verbose output that lists
++	  # what "hidden" libraries, object files and flags are used when
++	  # linking a shared library.
++	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
+ 
+-# Create a temporary old-style archive to link instead of a shared archive.
+-old_archive_from_expsyms_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)
++	else
++	  # FIXME: insert proper C++ library support
++	  _LT_AC_TAGVAR(ld_shlibs, $1)=no
++	fi
++	;;
++    esac
++    ;;
++  osf4* | osf5*)
++    case $cc_basename in
++      KCC)
++	# Kuck and Associates, Inc. (KAI) C++ Compiler
+ 
+-# Commands used to build and install a shared archive.
+-archive_cmds=$lt_[]_LT_AC_TAGVAR(archive_cmds, $1)
+-archive_expsym_cmds=$lt_[]_LT_AC_TAGVAR(archive_expsym_cmds, $1)
+-postinstall_cmds=$lt_postinstall_cmds
+-postuninstall_cmds=$lt_postuninstall_cmds
++	# KCC will only create a shared library if the output file
++	# ends with ".so" (or ".sl" for HP-UX), so rename the library
++	# to its proper name (with version) after linking.
++	_LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
+ 
+-# Commands used to build a loadable module (assumed same as above if empty)
+-module_cmds=$lt_[]_LT_AC_TAGVAR(module_cmds, $1)
+-module_expsym_cmds=$lt_[]_LT_AC_TAGVAR(module_expsym_cmds, $1)
++	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
++	_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
+ 
+-# Commands to strip libraries.
+-old_striplib=$lt_old_striplib
+-striplib=$lt_striplib
++	# Archives containing C++ object files must be created using
++	# the KAI C++ compiler.
++	_LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs'
++	;;
++      RCC)
++	# Rational C++ 2.4.1
++	# FIXME: insert proper C++ library support
++	_LT_AC_TAGVAR(ld_shlibs, $1)=no
++	;;
++      cxx)
++	_LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
++	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
++	_LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
++	  echo "-hidden">> $lib.exp~
++	  $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp  `test -n "$verstring" && echo -set_version	$verstring` -update_registry $objdir/so_locations -o $lib~
++	  $rm $lib.exp'
+ 
+-# Dependencies to place before the objects being linked to create a
+-# shared library.
+-predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1)
++	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
++	_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
+ 
+-# Dependencies to place after the objects being linked to create a
+-# shared library.
+-postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1)
++	# Commands to make compiler produce verbose output that lists
++	# what "hidden" libraries, object files and flags are used when
++	# linking a shared library.
++	#
++	# There doesn't appear to be a way to prevent this compiler from
++	# explicitly linking system object files so we need to strip them
++	# from the output so that they don't get included in the library
++	# dependencies.
++	output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
++	;;
++      *)
++	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
++	  _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
++	 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
+ 
+-# Dependencies to place before the objects being linked to create a
+-# shared library.
+-predeps=$lt_[]_LT_AC_TAGVAR(predeps, $1)
++	  _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
++	  _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
+ 
+-# Dependencies to place after the objects being linked to create a
+-# shared library.
+-postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1)
++	  # Commands to make compiler produce verbose output that lists
++	  # what "hidden" libraries, object files and flags are used when
++	  # linking a shared library.
++	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
+ 
+-# The library search path used internally by the compiler when linking
+-# a shared library.
+-compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1)
++	else
++	  # FIXME: insert proper C++ library support
++	  _LT_AC_TAGVAR(ld_shlibs, $1)=no
++	fi
++	;;
++    esac
++    ;;
++  psos*)
++    # FIXME: insert proper C++ library support
++    _LT_AC_TAGVAR(ld_shlibs, $1)=no
++    ;;
++  sco*)
++    _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
++    case $cc_basename in
++      CC)
++	# FIXME: insert proper C++ library support
++	_LT_AC_TAGVAR(ld_shlibs, $1)=no
++	;;
++      *)
++	# FIXME: insert proper C++ library support
++	_LT_AC_TAGVAR(ld_shlibs, $1)=no
++	;;
++    esac
++    ;;
++  sunos4*)
++    case $cc_basename in
++      CC)
++	# Sun C++ 4.x
++	# FIXME: insert proper C++ library support
++	_LT_AC_TAGVAR(ld_shlibs, $1)=no
++	;;
++      lcc)
++	# Lucid
++	# FIXME: insert proper C++ library support
++	_LT_AC_TAGVAR(ld_shlibs, $1)=no
++	;;
++      *)
++	# FIXME: insert proper C++ library support
++	_LT_AC_TAGVAR(ld_shlibs, $1)=no
++	;;
++    esac
++    ;;
++  solaris*)
++    case $cc_basename in
++      CC)
++	# Sun C++ 4.2, 5.x and Centerline C++
++	_LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs'
++	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
++	_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++	$CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
+ 
+-# Method to check whether dependent libraries are shared objects.
+-deplibs_check_method=$lt_deplibs_check_method
++	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
++	_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
++	case $host_os in
++	  solaris2.[0-5] | solaris2.[0-5].*) ;;
++	  *)
++	    # The C++ compiler is used as linker so we must use $wl
++	    # flag to pass the commands to the underlying system
++	    # linker.
++	    # Supported since Solaris 2.6 (maybe 2.5.1?)
++	    _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
++	    ;;
++	esac
++	_LT_AC_TAGVAR(link_all_deplibs, $1)=yes
+ 
+-# Command to use when deplibs_check_method == file_magic.
+-file_magic_cmd=$lt_file_magic_cmd
++	# Commands to make compiler produce verbose output that lists
++	# what "hidden" libraries, object files and flags are used when
++	# linking a shared library.
++	#
++	# There doesn't appear to be a way to prevent this compiler from
++	# explicitly linking system object files so we need to strip them
++	# from the output so that they don't get included in the library
++	# dependencies.
++	output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[[LR]]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
+ 
+-# Flag that allows shared libraries with undefined symbols to be built.
+-allow_undefined_flag=$lt_[]_LT_AC_TAGVAR(allow_undefined_flag, $1)
++	# Archives containing C++ object files must be created using
++	# "CC -xar", where "CC" is the Sun C++ compiler.  This is
++	# necessary to make sure instantiated templates are included
++	# in the archive.
++	_LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
++	;;
++      gcx)
++	# Green Hills C++ Compiler
++	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
+ 
+-# Flag that forces no undefined symbols.
+-no_undefined_flag=$lt_[]_LT_AC_TAGVAR(no_undefined_flag, $1)
++	# The C++ compiler must be used to create the archive.
++	_LT_AC_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
++	;;
++      *)
++	# GNU C++ compiler with Solaris linker
++	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
++	  _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
++	  if $CC --version | grep -v '^2\.7' > /dev/null; then
++	    _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
++	    _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++		$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
+ 
+-# Commands used to finish a libtool library installation in a directory.
+-finish_cmds=$lt_finish_cmds
++	    # Commands to make compiler produce verbose output that lists
++	    # what "hidden" libraries, object files and flags are used when
++	    # linking a shared library.
++	    output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
++	  else
++	    # g++ 2.7 appears to require `-G' NOT `-shared' on this
++	    # platform.
++	    _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
++	    _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++		$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
+ 
+-# Same as above, but a single script fragment to be evaled but not shown.
+-finish_eval=$lt_finish_eval
++	    # Commands to make compiler produce verbose output that lists
++	    # what "hidden" libraries, object files and flags are used when
++	    # linking a shared library.
++	    output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
++	  fi
+ 
+-# Take the output of nm and produce a listing of raw symbols and C names.
+-global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
++	  _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
++	fi
++	;;
++    esac
++    ;;
++  sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*)
++    _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
++    ;;
++  tandem*)
++    case $cc_basename in
++      NCC)
++	# NonStop-UX NCC 3.20
++	# FIXME: insert proper C++ library support
++	_LT_AC_TAGVAR(ld_shlibs, $1)=no
++	;;
++      *)
++	# FIXME: insert proper C++ library support
++	_LT_AC_TAGVAR(ld_shlibs, $1)=no
++	;;
++    esac
++    ;;
++  vxworks*)
++    # FIXME: insert proper C++ library support
++    _LT_AC_TAGVAR(ld_shlibs, $1)=no
++    ;;
++  *)
++    # FIXME: insert proper C++ library support
++    _LT_AC_TAGVAR(ld_shlibs, $1)=no
++    ;;
++esac
++AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
++test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
+ 
+-# Transform the output of nm in a proper C declaration
+-global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
++_LT_AC_TAGVAR(GCC, $1)="$GXX"
++_LT_AC_TAGVAR(LD, $1)="$LD"
+ 
+-# Transform the output of nm in a C name address pair
+-global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
++AC_LIBTOOL_POSTDEP_PREDEP($1)
++AC_LIBTOOL_PROG_COMPILER_PIC($1)
++AC_LIBTOOL_PROG_CC_C_O($1)
++AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
++AC_LIBTOOL_PROG_LD_SHLIBS($1)
++AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
++AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
++AC_LIBTOOL_SYS_LIB_STRIP
++AC_LIBTOOL_DLOPEN_SELF($1)
+ 
+-# This is the shared library runtime path variable.
+-runpath_var=$runpath_var
++AC_LIBTOOL_CONFIG($1)
+ 
+-# This is the shared library path variable.
+-shlibpath_var=$shlibpath_var
++AC_LANG_POP
++CC=$lt_save_CC
++LDCXX=$LD
++LD=$lt_save_LD
++GCC=$lt_save_GCC
++with_gnu_ldcxx=$with_gnu_ld
++with_gnu_ld=$lt_save_with_gnu_ld
++lt_cv_path_LDCXX=$lt_cv_path_LD
++lt_cv_path_LD=$lt_save_path_LD
++lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
++lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
++])# AC_LIBTOOL_LANG_CXX_CONFIG
+ 
+-# Is shlibpath searched before the hard-coded library search path?
+-shlibpath_overrides_runpath=$shlibpath_overrides_runpath
++# AC_LIBTOOL_POSTDEP_PREDEP([TAGNAME])
++# ------------------------
++# Figure out "hidden" library dependencies from verbose
++# compiler output when linking a shared library.
++# Parse the compiler output and extract the necessary
++# objects, libraries and library flags.
++AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],[
++dnl we can't use the lt_simple_compile_test_code here,
++dnl because it contains code intended for an executable,
++dnl not a library.  It's possible we should let each
++dnl tag define a new lt_????_link_test_code variable,
++dnl but it's only used here...
++ifelse([$1],[],[cat > conftest.$ac_ext <<EOF
++int a;
++void foo (void) { a = 0; }
++EOF
++],[$1],[CXX],[cat > conftest.$ac_ext <<EOF
++class Foo
++{
++public:
++  Foo (void) { a = 0; }
++private:
++  int a;
++};
++EOF
++],[$1],[F77],[cat > conftest.$ac_ext <<EOF
++      subroutine foo
++      implicit none
++      integer*4 a
++      a=0
++      return
++      end
++EOF
++],[$1],[GCJ],[cat > conftest.$ac_ext <<EOF
++public class foo {
++  private int a;
++  public void bar (void) {
++    a = 0;
++  }
++};
++EOF
++])
++dnl Parse the compiler output and extract the necessary
++dnl objects, libraries and library flags.
++if AC_TRY_EVAL(ac_compile); then
++  # Parse the compiler output and extract the necessary
++  # objects, libraries and library flags.
+ 
+-# How to hardcode a shared library path into an executable.
+-hardcode_action=$_LT_AC_TAGVAR(hardcode_action, $1)
++  # Sentinel used to keep track of whether or not we are before
++  # the conftest object file.
++  pre_test_object_deps_done=no
+ 
+-# Whether we should hardcode library paths into libraries.
+-hardcode_into_libs=$hardcode_into_libs
++  # The `*' in the case matches for architectures that use `case' in
++  # $output_verbose_cmd can trigger glob expansion during the loop
++  # eval without this substitution.
++  output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
+ 
+-# Flag to hardcode \$libdir into a binary during linking.
+-# This must work even if \$libdir does not exist.
+-hardcode_libdir_flag_spec=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)
++  for p in `eval $output_verbose_link_cmd`; do
++    case $p in
+ 
+-# If ld is used when linking, flag to hardcode \$libdir into
+-# a binary during linking. This must work even if \$libdir does
+-# not exist.
+-hardcode_libdir_flag_spec_ld=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)
++    -L* | -R* | -l*)
++       # Some compilers place space between "-{L,R}" and the path.
++       # Remove the space.
++       if test $p = "-L" \
++	  || test $p = "-R"; then
++	 prev=$p
++	 continue
++       else
++	 prev=
++       fi
+ 
+-# Whether we need a single -rpath flag with a separated argument.
+-hardcode_libdir_separator=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_separator, $1)
++       if test "$pre_test_object_deps_done" = no; then
++	 case $p in
++	 -L* | -R*)
++	   # Internal compiler library paths should come after those
++	   # provided the user.  The postdeps already come after the
++	   # user supplied libs so there is no need to process them.
++	   if test -z "$_LT_AC_TAGVAR(compiler_lib_search_path, $1)"; then
++	     _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}"
++	   else
++	     _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${_LT_AC_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}"
++	   fi
++	   ;;
++	 # The "-l" case would never come before the object being
++	 # linked, so don't bother handling this case.
++	 esac
++       else
++	 if test -z "$_LT_AC_TAGVAR(postdeps, $1)"; then
++	   _LT_AC_TAGVAR(postdeps, $1)="${prev}${p}"
++	 else
++	   _LT_AC_TAGVAR(postdeps, $1)="${_LT_AC_TAGVAR(postdeps, $1)} ${prev}${p}"
++	 fi
++       fi
++       ;;
+ 
+-# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
+-# resulting binary.
+-hardcode_direct=$_LT_AC_TAGVAR(hardcode_direct, $1)
++    *.$objext)
++       # This assumes that the test object file only shows up
++       # once in the compiler output.
++       if test "$p" = "conftest.$objext"; then
++	 pre_test_object_deps_done=yes
++	 continue
++       fi
+ 
+-# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
+-# resulting binary.
+-hardcode_minus_L=$_LT_AC_TAGVAR(hardcode_minus_L, $1)
++       if test "$pre_test_object_deps_done" = no; then
++	 if test -z "$_LT_AC_TAGVAR(predep_objects, $1)"; then
++	   _LT_AC_TAGVAR(predep_objects, $1)="$p"
++	 else
++	   _LT_AC_TAGVAR(predep_objects, $1)="$_LT_AC_TAGVAR(predep_objects, $1) $p"
++	 fi
++       else
++	 if test -z "$_LT_AC_TAGVAR(postdep_objects, $1)"; then
++	   _LT_AC_TAGVAR(postdep_objects, $1)="$p"
++	 else
++	   _LT_AC_TAGVAR(postdep_objects, $1)="$_LT_AC_TAGVAR(postdep_objects, $1) $p"
++	 fi
++       fi
++       ;;
+ 
+-# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
+-# the resulting binary.
+-hardcode_shlibpath_var=$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)
++    *) ;; # Ignore the rest.
+ 
+-# Set to yes if building a shared library automatically hardcodes DIR into the library
+-# and all subsequent libraries and executables linked against it.
+-hardcode_automatic=$_LT_AC_TAGVAR(hardcode_automatic, $1)
+-
+-# Variables whose values should be saved in libtool wrapper scripts and
+-# restored at relink time.
+-variables_saved_for_relink="$variables_saved_for_relink"
+-
+-# Whether libtool must link a program against all its dependency libraries.
+-link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1)
++    esac
++  done
+ 
+-# Compile-time system search path for libraries
+-sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
++  # Clean up.
++  rm -f a.out a.exe
++else
++  echo "libtool.m4: error: problem compiling $1 test program"
++fi
+ 
+-# Run-time system search path for libraries
+-sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
++$rm -f confest.$objext
+ 
+-# Fix the shell variable \$srcfile for the compiler.
+-fix_srcfile_path="$_LT_AC_TAGVAR(fix_srcfile_path, $1)"
++case " $_LT_AC_TAGVAR(postdeps, $1) " in
++*" -lc "*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;;
++esac
++])# AC_LIBTOOL_POSTDEP_PREDEP
+ 
+-# Set to yes if exported symbols are required.
+-always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1)
++# AC_LIBTOOL_LANG_F77_CONFIG
++# ------------------------
++# Ensure that the configuration vars for the C compiler are
++# suitably defined.  Those variables are subsequently used by
++# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
++AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG], [_LT_AC_LANG_F77_CONFIG(F77)])
++AC_DEFUN([_LT_AC_LANG_F77_CONFIG],
++[AC_REQUIRE([AC_PROG_F77])
++AC_LANG_PUSH(Fortran 77)
+ 
+-# The commands to list exported symbols.
+-export_symbols_cmds=$lt_[]_LT_AC_TAGVAR(export_symbols_cmds, $1)
++_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
++_LT_AC_TAGVAR(allow_undefined_flag, $1)=
++_LT_AC_TAGVAR(always_export_symbols, $1)=no
++_LT_AC_TAGVAR(archive_expsym_cmds, $1)=
++_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
++_LT_AC_TAGVAR(hardcode_direct, $1)=no
++_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
++_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
++_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
++_LT_AC_TAGVAR(hardcode_minus_L, $1)=no
++_LT_AC_TAGVAR(hardcode_automatic, $1)=no
++_LT_AC_TAGVAR(module_cmds, $1)=
++_LT_AC_TAGVAR(module_expsym_cmds, $1)=
++_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
++_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
++_LT_AC_TAGVAR(no_undefined_flag, $1)=
++_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
++_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
+ 
+-# The commands to extract the exported symbol list from a shared archive.
+-extract_expsyms_cmds=$lt_extract_expsyms_cmds
++# Source file extension for f77 test sources.
++ac_ext=f
+ 
+-# Symbols that should not be listed in the preloaded symbols.
+-exclude_expsyms=$lt_[]_LT_AC_TAGVAR(exclude_expsyms, $1)
++# Object file extension for compiled f77 test sources.
++objext=o
++_LT_AC_TAGVAR(objext, $1)=$objext
+ 
+-# Symbols that must always be exported.
+-include_expsyms=$lt_[]_LT_AC_TAGVAR(include_expsyms, $1)
++# Code to be used in simple compile tests
++lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
+ 
+-ifelse([$1],[],
+-[# ### END LIBTOOL CONFIG],
+-[# ### END LIBTOOL TAG CONFIG: $tagname])
++# Code to be used in simple link tests
++lt_simple_link_test_code="      program t\n      end\n"
+ 
+-__EOF__
++# ltmain only uses $CC for tagged configurations so make sure $CC is set.
++_LT_AC_SYS_COMPILER
+ 
+-ifelse([$1],[], [
+-  case $host_os in
+-  aix3*)
+-    cat <<\EOF >> "$cfgfile"
++# Allow CC to be a program name with arguments.
++lt_save_CC="$CC"
++CC=${F77-"f77"}
++compiler=$CC
++_LT_AC_TAGVAR(compiler, $1)=$CC
++cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
+ 
+-# AIX sometimes has problems with the GCC collect2 program.  For some
+-# reason, if we set the COLLECT_NAMES environment variable, the problems
+-# vanish in a puff of smoke.
+-if test "X${COLLECT_NAMES+set}" != Xset; then
+-  COLLECT_NAMES=
+-  export COLLECT_NAMES
+-fi
+-EOF
+-    ;;
+-  esac
++AC_MSG_CHECKING([if libtool supports shared libraries])
++AC_MSG_RESULT([$can_build_shared])
+ 
+-  # We use sed instead of cat because bash on DJGPP gets confused if
+-  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
+-  # text mode, it properly converts lines to CR/LF.  This bash problem
+-  # is reportedly fixed, but why not run on old versions too?
+-  sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
++AC_MSG_CHECKING([whether to build shared libraries])
++test "$can_build_shared" = "no" && enable_shared=no
+ 
+-  mv -f "$cfgfile" "$ofile" || \
+-    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
+-  chmod +x "$ofile"
+-])
+-else
+-  # If there is no Makefile yet, we rely on a make rule to execute
+-  # `config.status --recheck' to rerun these tests and create the
+-  # libtool script then.
+-  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
+-  if test -f "$ltmain_in"; then
+-    test -f Makefile && make "$ltmain"
++# On AIX, shared libraries and static libraries use the same namespace, and
++# are all built from PIC.
++case "$host_os" in
++aix3*)
++  test "$enable_shared" = yes && enable_static=no
++  if test -n "$RANLIB"; then
++    archive_cmds="$archive_cmds~\$RANLIB \$lib"
++    postinstall_cmds='$RANLIB $lib'
+   fi
+-fi
+-])# AC_LIBTOOL_CONFIG
++  ;;
++aix4* | aix5*)
++  test "$enable_shared" = yes && enable_static=no
++  ;;
++esac
++AC_MSG_RESULT([$enable_shared])
+ 
++AC_MSG_CHECKING([whether to build static libraries])
++# Make sure either enable_shared or enable_static is yes.
++test "$enable_shared" = yes || enable_static=yes
++AC_MSG_RESULT([$enable_static])
+ 
+-# AC_LIBTOOL_PROG_COMPILER_NO_RTTI([TAGNAME])
+-# -------------------------------------------
+-AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI],
+-[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
++test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
+ 
+-_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
++_LT_AC_TAGVAR(GCC, $1)="$G77"
++_LT_AC_TAGVAR(LD, $1)="$LD"
+ 
+-if test "$GCC" = yes; then
+-  _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
++AC_LIBTOOL_PROG_COMPILER_PIC($1)
++AC_LIBTOOL_PROG_CC_C_O($1)
++AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
++AC_LIBTOOL_PROG_LD_SHLIBS($1)
++AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
++AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
++AC_LIBTOOL_SYS_LIB_STRIP
+ 
+-  AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
+-    lt_cv_prog_compiler_rtti_exceptions,
+-    [-fno-rtti -fno-exceptions], [],
+-    [_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
+-fi
+-])# AC_LIBTOOL_PROG_COMPILER_NO_RTTI
+ 
++AC_LIBTOOL_CONFIG($1)
+ 
+-# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
+-# ---------------------------------
+-AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE],
+-[AC_REQUIRE([AC_CANONICAL_HOST])
+-AC_REQUIRE([AC_PROG_NM])
+-AC_REQUIRE([AC_OBJEXT])
+-# Check for command to grab the raw symbol name followed by C symbol from nm.
+-AC_MSG_CHECKING([command to parse $NM output from $compiler object])
+-AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe],
+-[
+-# These are sane defaults that work on at least a few old systems.
+-# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
++AC_LANG_POP
++CC="$lt_save_CC"
++])# AC_LIBTOOL_LANG_F77_CONFIG
+ 
+-# Character class describing NM global symbol codes.
+-symcode='[[BCDEGRST]]'
+ 
+-# Regexp to match symbols that can be accessed directly from C.
+-sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
++# AC_LIBTOOL_LANG_GCJ_CONFIG
++# --------------------------
++# Ensure that the configuration vars for the C compiler are
++# suitably defined.  Those variables are subsequently used by
++# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
++AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG], [_LT_AC_LANG_GCJ_CONFIG(GCJ)])
++AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG],
++[AC_LANG_SAVE
+ 
+-# Transform the above into a raw symbol and a C symbol.
+-symxfrm='\1 \2\3 \3'
++# Source file extension for Java test sources.
++ac_ext=java
+ 
+-# Transform an extracted symbol line into a proper C declaration
+-lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
++# Object file extension for compiled Java test sources.
++objext=o
++_LT_AC_TAGVAR(objext, $1)=$objext
+ 
+-# Transform an extracted symbol line into symbol name and symbol address
+-lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([[^ ]]*\) \([[^ ]]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
++# Code to be used in simple compile tests
++lt_simple_compile_test_code="class foo {}\n"
+ 
+-# Define system-specific variables.
+-case $host_os in
+-aix*)
+-  symcode='[[BCDT]]'
+-  ;;
+-cygwin* | mingw* | pw32*)
+-  symcode='[[ABCDGISTW]]'
+-  ;;
+-hpux*) # Its linker distinguishes data from code symbols
+-  if test "$host_cpu" = ia64; then
+-    symcode='[[ABCDEGRST]]'
+-  fi
+-  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
+-  lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
+-  ;;
+-irix* | nonstopux*)
+-  symcode='[[BCDEGRST]]'
+-  ;;
+-osf*)
+-  symcode='[[BCDEGQRST]]'
+-  ;;
+-solaris* | sysv5*)
+-  symcode='[[BDRT]]'
+-  ;;
+-sysv4)
+-  symcode='[[DFNSTU]]'
+-  ;;
+-esac
++# Code to be used in simple link tests
++lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
+ 
+-# Handle CRLF in mingw tool chain
+-opt_cr=
+-case $build_os in
+-mingw*)
+-  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
+-  ;;
+-esac
++# ltmain only uses $CC for tagged configurations so make sure $CC is set.
++_LT_AC_SYS_COMPILER
+ 
+-# If we're using GNU nm, then use its standard symbol codes.
+-case `$NM -V 2>&1` in
+-*GNU* | *'with BFD'*)
+-  symcode='[[ABCDGIRSTW]]' ;;
+-esac
++# Allow CC to be a program name with arguments.
++lt_save_CC="$CC"
++CC=${GCJ-"gcj"}
++compiler=$CC
++_LT_AC_TAGVAR(compiler, $1)=$CC
+ 
+-# Try without a prefix undercore, then with it.
+-for ac_symprfx in "" "_"; do
++# GCJ did not exist at the time GCC didn't implicitly link libc in.
++_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
+ 
+-  # Write the raw and C identifiers.
+-  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ 	]]\($symcode$symcode*\)[[ 	]][[ 	]]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
++AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
++AC_LIBTOOL_PROG_COMPILER_PIC($1)
++AC_LIBTOOL_PROG_CC_C_O($1)
++AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
++AC_LIBTOOL_PROG_LD_SHLIBS($1)
++AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
++AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
++AC_LIBTOOL_SYS_LIB_STRIP
++AC_LIBTOOL_DLOPEN_SELF($1)
+ 
+-  # Check to see that the pipe works correctly.
+-  pipe_works=no
++AC_LIBTOOL_CONFIG($1)
+ 
+-  rm -f conftest*
+-  cat > conftest.$ac_ext <<EOF
+-#ifdef __cplusplus
+-extern "C" {
+-#endif
+-char nm_test_var;
+-void nm_test_func(){}
+-#ifdef __cplusplus
+-}
+-#endif
+-int main(){nm_test_var='a';nm_test_func();return(0);}
+-EOF
++AC_LANG_RESTORE
++CC="$lt_save_CC"
++])# AC_LIBTOOL_LANG_GCJ_CONFIG
+ 
+-  if AC_TRY_EVAL(ac_compile); then
+-    # Now try to grab the symbols.
+-    nlist=conftest.nm
+-    if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
+-      # Try sorting and uniquifying the output.
+-      if sort "$nlist" | uniq > "$nlist"T; then
+-	mv -f "$nlist"T "$nlist"
+-      else
+-	rm -f "$nlist"T
+-      fi
+ 
+-      # Make sure that we snagged all the symbols we need.
+-      if grep ' nm_test_var$' "$nlist" >/dev/null; then
+-	if grep ' nm_test_func$' "$nlist" >/dev/null; then
+-	  cat <<EOF > conftest.$ac_ext
+-#ifdef __cplusplus
+-extern "C" {
+-#endif
++# AC_LIBTOOL_LANG_RC_CONFIG
++# --------------------------
++# Ensure that the configuration vars for the Windows resource compiler are
++# suitably defined.  Those variables are subsequently used by
++# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
++AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG], [_LT_AC_LANG_RC_CONFIG(RC)])
++AC_DEFUN([_LT_AC_LANG_RC_CONFIG],
++[AC_LANG_SAVE
+ 
+-EOF
+-	  # Now generate the symbol file.
+-	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
++# Source file extension for RC test sources.
++ac_ext=rc
+ 
+-	  cat <<EOF >> conftest.$ac_ext
+-#if defined (__STDC__) && __STDC__
+-# define lt_ptr_t void *
+-#else
+-# define lt_ptr_t char *
+-# define const
+-#endif
++# Object file extension for compiled RC test sources.
++objext=o
++_LT_AC_TAGVAR(objext, $1)=$objext
+ 
+-/* The mapping between symbol names and symbols. */
+-const struct {
+-  const char *name;
+-  lt_ptr_t address;
+-}
+-lt_preloaded_symbols[[]] =
+-{
+-EOF
+-	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
+-	  cat <<\EOF >> conftest.$ac_ext
+-  {0, (lt_ptr_t) 0}
+-};
++# Code to be used in simple compile tests
++lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
+ 
+-#ifdef __cplusplus
+-}
+-#endif
+-EOF
+-	  # Now try linking the two files.
+-	  mv conftest.$ac_objext conftstm.$ac_objext
+-	  lt_save_LIBS="$LIBS"
+-	  lt_save_CFLAGS="$CFLAGS"
+-	  LIBS="conftstm.$ac_objext"
+-	  CFLAGS="$CFLAGS$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
+-	  if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then
+-	    pipe_works=yes
+-	  fi
+-	  LIBS="$lt_save_LIBS"
+-	  CFLAGS="$lt_save_CFLAGS"
+-	else
+-	  echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
+-	fi
+-      else
+-	echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD
+-      fi
+-    else
+-      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
+-    fi
+-  else
+-    echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
+-    cat conftest.$ac_ext >&5
+-  fi
+-  rm -f conftest* conftst*
++# Code to be used in simple link tests
++lt_simple_link_test_code="$lt_simple_compile_test_code"
+ 
+-  # Do not use the global_symbol_pipe unless it works.
+-  if test "$pipe_works" = yes; then
+-    break
+-  else
+-    lt_cv_sys_global_symbol_pipe=
+-  fi
+-done
+-])
+-if test -z "$lt_cv_sys_global_symbol_pipe"; then
+-  lt_cv_sys_global_symbol_to_cdecl=
+-fi
+-if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
+-  AC_MSG_RESULT(failed)
+-else
+-  AC_MSG_RESULT(ok)
+-fi
+-]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
++# ltmain only uses $CC for tagged configurations so make sure $CC is set.
++_LT_AC_SYS_COMPILER
+ 
++# Allow CC to be a program name with arguments.
++lt_save_CC="$CC"
++CC=${RC-"windres"}
++compiler=$CC
++_LT_AC_TAGVAR(compiler, $1)=$CC
++_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
+ 
+-# AC_LIBTOOL_PROG_COMPILER_PIC([TAGNAME])
+-# ---------------------------------------
+-AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC],
+-[_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)=
+-_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
+-_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=
++AC_LIBTOOL_CONFIG($1)
+ 
+-AC_MSG_CHECKING([for $compiler option to produce PIC])
+- ifelse([$1],[CXX],[
+-  # C++ specific cases for pic, static, wl, etc.
+-  if test "$GXX" = yes; then
+-    _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+-    _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
++AC_LANG_RESTORE
++CC="$lt_save_CC"
++])# AC_LIBTOOL_LANG_RC_CONFIG
+ 
+-    case $host_os in
+-    aix*)
+-      # All AIX code is PIC.
+-      if test "$host_cpu" = ia64; then
+-	# AIX 5 now supports IA64 processor
+-	_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+-      fi
+-      ;;
+-    amigaos*)
+-      # FIXME: we need at least 68020 code to build shared libraries, but
+-      # adding the `-m68020' flag to GCC prevents building anything better,
+-      # like `-m68040'.
+-      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
+-      ;;
+-    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
+-      # PIC is the default for these OSes.
++
++# AC_LIBTOOL_CONFIG([TAGNAME])
++# ----------------------------
++# If TAGNAME is not passed, then create an initial libtool script
++# with a default configuration from the untagged config vars.  Otherwise
++# add code to config.status for appending the configuration named by
++# TAGNAME from the matching tagged config vars.
++AC_DEFUN([AC_LIBTOOL_CONFIG],
++[# The else clause should only fire when bootstrapping the
++# libtool distribution, otherwise you forgot to ship ltmain.sh
++# with your package, and you will get complaints that there are
++# no rules to generate ltmain.sh.
++if test -f "$ltmain"; then
++  # See if we are running on zsh, and set the options which allow our commands through
++  # without removal of \ escapes.
++  if test -n "${ZSH_VERSION+set}" ; then
++    setopt NO_GLOB_SUBST
++  fi
++  # Now quote all the things that may contain metacharacters while being
++  # careful not to overquote the AC_SUBSTed values.  We take copies of the
++  # variables and quote the copies for generation of the libtool script.
++  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
++    SED SHELL STRIP \
++    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
++    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
++    deplibs_check_method reload_flag reload_cmds need_locks \
++    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
++    lt_cv_sys_global_symbol_to_c_name_address \
++    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
++    old_postinstall_cmds old_postuninstall_cmds \
++    _LT_AC_TAGVAR(compiler, $1) \
++    _LT_AC_TAGVAR(CC, $1) \
++    _LT_AC_TAGVAR(LD, $1) \
++    _LT_AC_TAGVAR(lt_prog_compiler_wl, $1) \
++    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1) \
++    _LT_AC_TAGVAR(lt_prog_compiler_static, $1) \
++    _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) \
++    _LT_AC_TAGVAR(export_dynamic_flag_spec, $1) \
++    _LT_AC_TAGVAR(thread_safe_flag_spec, $1) \
++    _LT_AC_TAGVAR(whole_archive_flag_spec, $1) \
++    _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1) \
++    _LT_AC_TAGVAR(old_archive_cmds, $1) \
++    _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) \
++    _LT_AC_TAGVAR(predep_objects, $1) \
++    _LT_AC_TAGVAR(postdep_objects, $1) \
++    _LT_AC_TAGVAR(predeps, $1) \
++    _LT_AC_TAGVAR(postdeps, $1) \
++    _LT_AC_TAGVAR(compiler_lib_search_path, $1) \
++    _LT_AC_TAGVAR(archive_cmds, $1) \
++    _LT_AC_TAGVAR(archive_expsym_cmds, $1) \
++    _LT_AC_TAGVAR(postinstall_cmds, $1) \
++    _LT_AC_TAGVAR(postuninstall_cmds, $1) \
++    _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) \
++    _LT_AC_TAGVAR(allow_undefined_flag, $1) \
++    _LT_AC_TAGVAR(no_undefined_flag, $1) \
++    _LT_AC_TAGVAR(export_symbols_cmds, $1) \
++    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) \
++    _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1) \
++    _LT_AC_TAGVAR(hardcode_libdir_separator, $1) \
++    _LT_AC_TAGVAR(hardcode_automatic, $1) \
++    _LT_AC_TAGVAR(module_cmds, $1) \
++    _LT_AC_TAGVAR(module_expsym_cmds, $1) \
++    _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) \
++    _LT_AC_TAGVAR(exclude_expsyms, $1) \
++    _LT_AC_TAGVAR(include_expsyms, $1); do
++
++    case $var in
++    _LT_AC_TAGVAR(old_archive_cmds, $1) | \
++    _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) | \
++    _LT_AC_TAGVAR(archive_cmds, $1) | \
++    _LT_AC_TAGVAR(archive_expsym_cmds, $1) | \
++    _LT_AC_TAGVAR(module_cmds, $1) | \
++    _LT_AC_TAGVAR(module_expsym_cmds, $1) | \
++    _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) | \
++    _LT_AC_TAGVAR(export_symbols_cmds, $1) | \
++    extract_expsyms_cmds | reload_cmds | finish_cmds | \
++    postinstall_cmds | postuninstall_cmds | \
++    old_postinstall_cmds | old_postuninstall_cmds | \
++    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
++      # Double-quote double-evaled strings.
++      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
+       ;;
+-    mingw* | os2* | pw32*)
+-      # This hack is so that the source file can tell whether it is being
+-      # built for inclusion in a dll (and should export symbols for example).
+-      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
++    *)
++      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
++      ;;
++    esac
++  done
++
++  case $lt_echo in
++  *'\[$]0 --fallback-echo"')
++    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\[$]0 --fallback-echo"[$]/[$]0 --fallback-echo"/'`
++    ;;
++  esac
++
++ifelse([$1], [],
++  [cfgfile="${ofile}T"
++  trap "$rm \"$cfgfile\"; exit 1" 1 2 15
++  $rm -f "$cfgfile"
++  AC_MSG_NOTICE([creating $ofile])],
++  [cfgfile="$ofile"])
++
++  cat <<__EOF__ >> "$cfgfile"
++ifelse([$1], [],
++[#! $SHELL
++
++# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
++# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
++# NOTE: Changes made to this file will be lost: look at ltmain.sh.
++#
++# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
++# Free Software Foundation, Inc.
++#
++# This file is part of GNU Libtool:
++# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
++#
++# 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
++#
++# As a special exception to the GNU General Public License, if you
++# distribute this file as part of a program that contains a
++# configuration script generated by Autoconf, you may include it under
++# the same distribution terms that you use for the rest of that program.
++
++# A sed program that does not truncate output.
++SED=$lt_SED
++
++# Sed that helps us avoid accidentally triggering echo(1) options like -n.
++Xsed="$SED -e s/^X//"
++
++# The HP-UX ksh and POSIX shell print the target directory to stdout
++# if CDPATH is set.
++if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
++
++# The names of the tagged configurations supported by this script.
++available_tags=
++
++# ### BEGIN LIBTOOL CONFIG],
++[# ### BEGIN LIBTOOL TAG CONFIG: $tagname])
++
++# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
++
++# Shell to use when invoking shell scripts.
++SHELL=$lt_SHELL
++
++# Whether or not to build shared libraries.
++build_libtool_libs=$enable_shared
++
++# Whether or not to build static libraries.
++build_old_libs=$enable_static
++
++# Whether or not to add -lc for building shared libraries.
++build_libtool_need_lc=$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)
++
++# Whether or not to disallow shared libs when runtime libs are static
++allow_libtool_libs_with_static_runtimes=$_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)
++
++# Whether or not to optimize for fast installation.
++fast_install=$enable_fast_install
++
++# The host system.
++host_alias=$host_alias
++host=$host
++
++# An echo program that does not interpret backslashes.
++echo=$lt_echo
++
++# The archiver.
++AR=$lt_AR
++AR_FLAGS=$lt_AR_FLAGS
++
++# A C compiler.
++LTCC=$lt_LTCC
++
++# A language-specific compiler.
++CC=$lt_[]_LT_AC_TAGVAR(compiler, $1)
++
++# Is the compiler the GNU C compiler?
++with_gcc=$_LT_AC_TAGVAR(GCC, $1)
++
++# An ERE matcher.
++EGREP=$lt_EGREP
++
++# The linker used to build libraries.
++LD=$lt_[]_LT_AC_TAGVAR(LD, $1)
++
++# Whether we need hard or soft links.
++LN_S=$lt_LN_S
++
++# A BSD-compatible nm program.
++NM=$lt_NM
++
++# A symbol stripping program
++STRIP=$lt_STRIP
++
++# Used to examine libraries when file_magic_cmd begins "file"
++MAGIC_CMD=$MAGIC_CMD
++
++# Used on cygwin: DLL creation program.
++DLLTOOL="$DLLTOOL"
++
++# Used on cygwin: object dumper.
++OBJDUMP="$OBJDUMP"
++
++# Used on cygwin: assembler.
++AS="$AS"
++
++# The name of the directory that contains temporary libtool files.
++objdir=$objdir
++
++# How to create reloadable object files.
++reload_flag=$lt_reload_flag
++reload_cmds=$lt_reload_cmds
++
++# How to pass a linker flag through the compiler.
++wl=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
++
++# Object file suffix (normally "o").
++objext="$ac_objext"
++
++# Old archive suffix (normally "a").
++libext="$libext"
++
++# Shared library suffix (normally ".so").
++shrext_cmds='$shrext_cmds'
++
++# Executable file suffix (normally "").
++exeext="$exeext"
++
++# Additional compiler flags for building library objects.
++pic_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)
++pic_mode=$pic_mode
++
++# What is the maximum length of a command?
++max_cmd_len=$lt_cv_sys_max_cmd_len
++
++# Does compiler simultaneously support -c and -o options?
++compiler_c_o=$lt_[]_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)
++
++# Must we lock files when doing compilation ?
++need_locks=$lt_need_locks
++
++# Do we need the lib prefix for modules?
++need_lib_prefix=$need_lib_prefix
++
++# Do we need a version for libraries?
++need_version=$need_version
++
++# Whether dlopen is supported.
++dlopen_support=$enable_dlopen
++
++# Whether dlopen of programs is supported.
++dlopen_self=$enable_dlopen_self
++
++# Whether dlopen of statically linked programs is supported.
++dlopen_self_static=$enable_dlopen_self_static
++
++# Compiler flag to prevent dynamic linking.
++link_static_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_static, $1)
++
++# Compiler flag to turn off builtin functions.
++no_builtin_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)
++
++# Compiler flag to allow reflexive dlopens.
++export_dynamic_flag_spec=$lt_[]_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)
++
++# Compiler flag to generate shared objects directly from archives.
++whole_archive_flag_spec=$lt_[]_LT_AC_TAGVAR(whole_archive_flag_spec, $1)
++
++# Compiler flag to generate thread-safe objects.
++thread_safe_flag_spec=$lt_[]_LT_AC_TAGVAR(thread_safe_flag_spec, $1)
++
++# Library versioning type.
++version_type=$version_type
++
++# Format of library name prefix.
++libname_spec=$lt_libname_spec
++
++# List of archive names.  First name is the real one, the rest are links.
++# The last name is the one that the linker finds with -lNAME.
++library_names_spec=$lt_library_names_spec
++
++# The coded name of the library, if different from the real name.
++soname_spec=$lt_soname_spec
++
++# Commands used to build and install an old-style archive.
++RANLIB=$lt_RANLIB
++old_archive_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_cmds, $1)
++old_postinstall_cmds=$lt_old_postinstall_cmds
++old_postuninstall_cmds=$lt_old_postuninstall_cmds
++
++# Create an old-style archive from a shared archive.
++old_archive_from_new_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_new_cmds, $1)
++
++# Create a temporary old-style archive to link instead of a shared archive.
++old_archive_from_expsyms_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)
++
++# Commands used to build and install a shared archive.
++archive_cmds=$lt_[]_LT_AC_TAGVAR(archive_cmds, $1)
++archive_expsym_cmds=$lt_[]_LT_AC_TAGVAR(archive_expsym_cmds, $1)
++postinstall_cmds=$lt_postinstall_cmds
++postuninstall_cmds=$lt_postuninstall_cmds
++
++# Commands used to build a loadable module (assumed same as above if empty)
++module_cmds=$lt_[]_LT_AC_TAGVAR(module_cmds, $1)
++module_expsym_cmds=$lt_[]_LT_AC_TAGVAR(module_expsym_cmds, $1)
++
++# Commands to strip libraries.
++old_striplib=$lt_old_striplib
++striplib=$lt_striplib
++
++# Dependencies to place before the objects being linked to create a
++# shared library.
++predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1)
++
++# Dependencies to place after the objects being linked to create a
++# shared library.
++postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1)
++
++# Dependencies to place before the objects being linked to create a
++# shared library.
++predeps=$lt_[]_LT_AC_TAGVAR(predeps, $1)
++
++# Dependencies to place after the objects being linked to create a
++# shared library.
++postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1)
++
++# The library search path used internally by the compiler when linking
++# a shared library.
++compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1)
++
++# Method to check whether dependent libraries are shared objects.
++deplibs_check_method=$lt_deplibs_check_method
++
++# Command to use when deplibs_check_method == file_magic.
++file_magic_cmd=$lt_file_magic_cmd
++
++# Flag that allows shared libraries with undefined symbols to be built.
++allow_undefined_flag=$lt_[]_LT_AC_TAGVAR(allow_undefined_flag, $1)
++
++# Flag that forces no undefined symbols.
++no_undefined_flag=$lt_[]_LT_AC_TAGVAR(no_undefined_flag, $1)
++
++# Commands used to finish a libtool library installation in a directory.
++finish_cmds=$lt_finish_cmds
++
++# Same as above, but a single script fragment to be evaled but not shown.
++finish_eval=$lt_finish_eval
++
++# Take the output of nm and produce a listing of raw symbols and C names.
++global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
++
++# Transform the output of nm in a proper C declaration
++global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
++
++# Transform the output of nm in a C name address pair
++global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
++
++# This is the shared library runtime path variable.
++runpath_var=$runpath_var
++
++# This is the shared library path variable.
++shlibpath_var=$shlibpath_var
++
++# Is shlibpath searched before the hard-coded library search path?
++shlibpath_overrides_runpath=$shlibpath_overrides_runpath
++
++# How to hardcode a shared library path into an executable.
++hardcode_action=$_LT_AC_TAGVAR(hardcode_action, $1)
++
++# Whether we should hardcode library paths into libraries.
++hardcode_into_libs=$hardcode_into_libs
++
++# Flag to hardcode \$libdir into a binary during linking.
++# This must work even if \$libdir does not exist.
++hardcode_libdir_flag_spec=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)
++
++# If ld is used when linking, flag to hardcode \$libdir into
++# a binary during linking. This must work even if \$libdir does
++# not exist.
++hardcode_libdir_flag_spec_ld=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)
++
++# Whether we need a single -rpath flag with a separated argument.
++hardcode_libdir_separator=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_separator, $1)
++
++# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
++# resulting binary.
++hardcode_direct=$_LT_AC_TAGVAR(hardcode_direct, $1)
++
++# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
++# resulting binary.
++hardcode_minus_L=$_LT_AC_TAGVAR(hardcode_minus_L, $1)
++
++# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
++# the resulting binary.
++hardcode_shlibpath_var=$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)
++
++# Set to yes if building a shared library automatically hardcodes DIR into the library
++# and all subsequent libraries and executables linked against it.
++hardcode_automatic=$_LT_AC_TAGVAR(hardcode_automatic, $1)
++
++# Variables whose values should be saved in libtool wrapper scripts and
++# restored at relink time.
++variables_saved_for_relink="$variables_saved_for_relink"
++
++# Whether libtool must link a program against all its dependency libraries.
++link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1)
++
++# Compile-time system search path for libraries
++sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
++
++# Run-time system search path for libraries
++sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
++
++# Fix the shell variable \$srcfile for the compiler.
++fix_srcfile_path="$_LT_AC_TAGVAR(fix_srcfile_path, $1)"
++
++# Set to yes if exported symbols are required.
++always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1)
++
++# The commands to list exported symbols.
++export_symbols_cmds=$lt_[]_LT_AC_TAGVAR(export_symbols_cmds, $1)
++
++# The commands to extract the exported symbol list from a shared archive.
++extract_expsyms_cmds=$lt_extract_expsyms_cmds
++
++# Symbols that should not be listed in the preloaded symbols.
++exclude_expsyms=$lt_[]_LT_AC_TAGVAR(exclude_expsyms, $1)
++
++# Symbols that must always be exported.
++include_expsyms=$lt_[]_LT_AC_TAGVAR(include_expsyms, $1)
++
++ifelse([$1],[],
++[# ### END LIBTOOL CONFIG],
++[# ### END LIBTOOL TAG CONFIG: $tagname])
++
++__EOF__
++
++ifelse([$1],[], [
++  case $host_os in
++  aix3*)
++    cat <<\EOF >> "$cfgfile"
++
++# AIX sometimes has problems with the GCC collect2 program.  For some
++# reason, if we set the COLLECT_NAMES environment variable, the problems
++# vanish in a puff of smoke.
++if test "X${COLLECT_NAMES+set}" != Xset; then
++  COLLECT_NAMES=
++  export COLLECT_NAMES
++fi
++EOF
++    ;;
++  esac
++
++  # We use sed instead of cat because bash on DJGPP gets confused if
++  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
++  # text mode, it properly converts lines to CR/LF.  This bash problem
++  # is reportedly fixed, but why not run on old versions too?
++  sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
++
++  mv -f "$cfgfile" "$ofile" || \
++    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
++  chmod +x "$ofile"
++])
++else
++  # If there is no Makefile yet, we rely on a make rule to execute
++  # `config.status --recheck' to rerun these tests and create the
++  # libtool script then.
++  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
++  if test -f "$ltmain_in"; then
++    test -f Makefile && make "$ltmain"
++  fi
++fi
++])# AC_LIBTOOL_CONFIG
++
++
++# AC_LIBTOOL_PROG_COMPILER_NO_RTTI([TAGNAME])
++# -------------------------------------------
++AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI],
++[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
++
++_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
++
++if test "$GCC" = yes; then
++  _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
++
++  AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
++    lt_cv_prog_compiler_rtti_exceptions,
++    [-fno-rtti -fno-exceptions], [],
++    [_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
++fi
++])# AC_LIBTOOL_PROG_COMPILER_NO_RTTI
++
++
++# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
++# ---------------------------------
++AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE],
++[AC_REQUIRE([AC_CANONICAL_HOST])
++AC_REQUIRE([AC_PROG_NM])
++AC_REQUIRE([AC_OBJEXT])
++# Check for command to grab the raw symbol name followed by C symbol from nm.
++AC_MSG_CHECKING([command to parse $NM output from $compiler object])
++AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe],
++[
++# These are sane defaults that work on at least a few old systems.
++# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
++
++# Character class describing NM global symbol codes.
++symcode='[[BCDEGRST]]'
++
++# Regexp to match symbols that can be accessed directly from C.
++sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
++
++# Transform the above into a raw symbol and a C symbol.
++symxfrm='\1 \2\3 \3'
++
++# Transform an extracted symbol line into a proper C declaration
++lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
++
++# Transform an extracted symbol line into symbol name and symbol address
++lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([[^ ]]*\) \([[^ ]]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
++
++# Define system-specific variables.
++case $host_os in
++aix*)
++  symcode='[[BCDT]]'
++  ;;
++cygwin* | mingw* | pw32*)
++  symcode='[[ABCDGISTW]]'
++  ;;
++hpux*) # Its linker distinguishes data from code symbols
++  if test "$host_cpu" = ia64; then
++    symcode='[[ABCDEGRST]]'
++  fi
++  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
++  lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
++  ;;
++irix* | nonstopux*)
++  symcode='[[BCDEGRST]]'
++  ;;
++osf*)
++  symcode='[[BCDEGQRST]]'
++  ;;
++solaris* | sysv5*)
++  symcode='[[BDRT]]'
++  ;;
++sysv4)
++  symcode='[[DFNSTU]]'
++  ;;
++esac
++
++# Handle CRLF in mingw tool chain
++opt_cr=
++case $build_os in
++mingw*)
++  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
++  ;;
++esac
++
++# If we're using GNU nm, then use its standard symbol codes.
++case `$NM -V 2>&1` in
++*GNU* | *'with BFD'*)
++  symcode='[[ABCDGIRSTW]]' ;;
++esac
++
++# Try without a prefix undercore, then with it.
++for ac_symprfx in "" "_"; do
++
++  # Write the raw and C identifiers.
++  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ 	]]\($symcode$symcode*\)[[ 	]][[ 	]]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
++
++  # Check to see that the pipe works correctly.
++  pipe_works=no
++
++  rm -f conftest*
++  cat > conftest.$ac_ext <<EOF
++#ifdef __cplusplus
++extern "C" {
++#endif
++char nm_test_var;
++void nm_test_func(){}
++#ifdef __cplusplus
++}
++#endif
++int main(){nm_test_var='a';nm_test_func();return(0);}
++EOF
++
++  if AC_TRY_EVAL(ac_compile); then
++    # Now try to grab the symbols.
++    nlist=conftest.nm
++    if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
++      # Try sorting and uniquifying the output.
++      if sort "$nlist" | uniq > "$nlist"T; then
++	mv -f "$nlist"T "$nlist"
++      else
++	rm -f "$nlist"T
++      fi
++
++      # Make sure that we snagged all the symbols we need.
++      if grep ' nm_test_var$' "$nlist" >/dev/null; then
++	if grep ' nm_test_func$' "$nlist" >/dev/null; then
++	  cat <<EOF > conftest.$ac_ext
++#ifdef __cplusplus
++extern "C" {
++#endif
++
++EOF
++	  # Now generate the symbol file.
++	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
++
++	  cat <<EOF >> conftest.$ac_ext
++#if defined (__STDC__) && __STDC__
++# define lt_ptr_t void *
++#else
++# define lt_ptr_t char *
++# define const
++#endif
++
++/* The mapping between symbol names and symbols. */
++const struct {
++  const char *name;
++  lt_ptr_t address;
++}
++lt_preloaded_symbols[[]] =
++{
++EOF
++	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
++	  cat <<\EOF >> conftest.$ac_ext
++  {0, (lt_ptr_t) 0}
++};
++
++#ifdef __cplusplus
++}
++#endif
++EOF
++	  # Now try linking the two files.
++	  mv conftest.$ac_objext conftstm.$ac_objext
++	  lt_save_LIBS="$LIBS"
++	  lt_save_CFLAGS="$CFLAGS"
++	  LIBS="conftstm.$ac_objext"
++	  CFLAGS="$CFLAGS$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
++	  if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then
++	    pipe_works=yes
++	  fi
++	  LIBS="$lt_save_LIBS"
++	  CFLAGS="$lt_save_CFLAGS"
++	else
++	  echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
++	fi
++      else
++	echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD
++      fi
++    else
++      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
++    fi
++  else
++    echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
++    cat conftest.$ac_ext >&5
++  fi
++  rm -f conftest* conftst*
++
++  # Do not use the global_symbol_pipe unless it works.
++  if test "$pipe_works" = yes; then
++    break
++  else
++    lt_cv_sys_global_symbol_pipe=
++  fi
++done
++])
++if test -z "$lt_cv_sys_global_symbol_pipe"; then
++  lt_cv_sys_global_symbol_to_cdecl=
++fi
++if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
++  AC_MSG_RESULT(failed)
++else
++  AC_MSG_RESULT(ok)
++fi
++]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
++
++
++# AC_LIBTOOL_PROG_COMPILER_PIC([TAGNAME])
++# ---------------------------------------
++AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC],
++[_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)=
++_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
++_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=
++
++AC_MSG_CHECKING([for $compiler option to produce PIC])
++ ifelse([$1],[CXX],[
++  # C++ specific cases for pic, static, wl, etc.
++  if test "$GXX" = yes; then
++    _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
++    _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
++
++    case $host_os in
++    aix*)
++      # All AIX code is PIC.
++      if test "$host_cpu" = ia64; then
++	# AIX 5 now supports IA64 processor
++	_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
++      fi
++      ;;
++    amigaos*)
++      # FIXME: we need at least 68020 code to build shared libraries, but
++      # adding the `-m68020' flag to GCC prevents building anything better,
++      # like `-m68040'.
++      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
++      ;;
++    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
++      # PIC is the default for these OSes.
++      ;;
++    mingw* | os2* | pw32*)
++      # This hack is so that the source file can tell whether it is being
++      # built for inclusion in a dll (and should export symbols for example).
++      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
+       ;;
+     darwin* | rhapsody*)
+       # PIC is the default on this platform
+@@ -4670,7 +5743,7 @@
+ 	    ;;
+ 	esac
+ 	;;
+-      netbsd*)
++      netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
+ 	;;
+       osf3* | osf4* | osf5*)
+ 	case $cc_basename in
+@@ -4745,1905 +5818,3961 @@
+ 	    ;;
+ 	esac
+ 	;;
+-      unixware*)
++      unixware*)
++	;;
++      vxworks*)
++	;;
++      *)
++	_LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
++	;;
++    esac
++  fi
++],
++[
++  if test "$GCC" = yes; then
++    _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
++    _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
++
++    case $host_os in
++      aix*)
++      # All AIX code is PIC.
++      if test "$host_cpu" = ia64; then
++	# AIX 5 now supports IA64 processor
++	_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
++      fi
++      ;;
++
++    amigaos*)
++      # FIXME: we need at least 68020 code to build shared libraries, but
++      # adding the `-m68020' flag to GCC prevents building anything better,
++      # like `-m68040'.
++      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
++      ;;
++
++    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
++      # PIC is the default for these OSes.
++      ;;
++
++    mingw* | pw32* | os2*)
++      # This hack is so that the source file can tell whether it is being
++      # built for inclusion in a dll (and should export symbols for example).
++      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
++      ;;
++
++    darwin* | rhapsody*)
++      # PIC is the default on this platform
++      # Common symbols not allowed in MH_DYLIB files
++      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
++      ;;
++
++    msdosdjgpp*)
++      # Just because we use GCC doesn't mean we suddenly get shared libraries
++      # on systems that don't support them.
++      _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
++      enable_shared=no
++      ;;
++
++    sysv4*MP*)
++      if test -d /usr/nec; then
++	_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
++      fi
++      ;;
++
++    hpux*)
++      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
++      # not for PA HP-UX.
++      case "$host_cpu" in
++      hppa*64*|ia64*)
++	# +Z the default
++	;;
++      *)
++	_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+ 	;;
+-      vxworks*)
++      esac
++      ;;
++
++    *)
++      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
++      ;;
++    esac
++  else
++    # PORTME Check for flag to pass linker flags through the system compiler.
++    case $host_os in
++    aix*)
++      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
++      if test "$host_cpu" = ia64; then
++	# AIX 5 now supports IA64 processor
++	_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
++      else
++	_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
++      fi
++      ;;
++
++    mingw* | pw32* | os2*)
++      # This hack is so that the source file can tell whether it is being
++      # built for inclusion in a dll (and should export symbols for example).
++      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
++      ;;
++
++    hpux9* | hpux10* | hpux11*)
++      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
++      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
++      # not for PA HP-UX.
++      case "$host_cpu" in
++      hppa*64*|ia64*)
++	# +Z the default
+ 	;;
+       *)
+-	_LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
++	_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
+ 	;;
++      esac
++      # Is there a better lt_prog_compiler_static that works with the bundled CC?
++      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
++      ;;
++
++    irix5* | irix6* | nonstopux*)
++      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
++      # PIC (with -KPIC) is the default.
++      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
++      ;;
++
++    newsos6)
++      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
++      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
++      ;;
++
++    linux*)
++      case $CC in
++      icc* | ecc*)
++	_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
++	_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
++	_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
++        ;;
++      ccc*)
++        _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
++        # All Alpha code is PIC.
++        _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
++        ;;
++      esac
++      ;;
++
++    osf3* | osf4* | osf5*)
++      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
++      # All OSF/1 code is PIC.
++      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
++      ;;
++
++    sco3.2v5*)
++      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kpic'
++      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-dn'
++      ;;
++
++    solaris*)
++      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
++      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
++      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
++      ;;
++
++    sunos4*)
++      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
++      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
++      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
++      ;;
++
++    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
++      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
++      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
++      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
++      ;;
++
++    sysv4*MP*)
++      if test -d /usr/nec ;then
++	_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
++	_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
++      fi
++      ;;
++
++    uts4*)
++      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
++      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
++      ;;
++
++    *)
++      _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
++      ;;
++    esac
++  fi
++])
++AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)])
++
++#
++# Check to make sure the PIC flag actually works.
++#
++if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then
++  AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works],
++    _LT_AC_TAGVAR(lt_prog_compiler_pic_works, $1),
++    [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [],
++    [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in
++     "" | " "*) ;;
++     *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)" ;;
++     esac],
++    [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
++     _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
++fi
++case "$host_os" in
++  # For platforms which do not support PIC, -DPIC is meaningless:
++  *djgpp*)
++    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
++    ;;
++  *)
++    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])"
++    ;;
++esac
++])
++
++
++# AC_LIBTOOL_PROG_LD_SHLIBS([TAGNAME])
++# ------------------------------------
++# See if the linker supports building shared libraries.
++AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS],
++[AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
++ifelse([$1],[CXX],[
++  _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
++  case $host_os in
++  aix4* | aix5*)
++    # If we're using GNU nm, then we don't want the "-C" option.
++    # -C means demangle to AIX nm, but means don't demangle with GNU nm
++    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
++      _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
++    else
++      _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
++    fi
++    ;;
++  pw32*)
++    _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
++  ;;
++  cygwin* | mingw*)
++    _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols'
++  ;;
++  linux*)
++    _LT_AC_TAGVAR(link_all_deplibs, $1)=no
++  ;;
++  *)
++    _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
++  ;;
++  esac
++],[
++  runpath_var=
++  _LT_AC_TAGVAR(allow_undefined_flag, $1)=
++  _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
++  _LT_AC_TAGVAR(archive_cmds, $1)=
++  _LT_AC_TAGVAR(archive_expsym_cmds, $1)=
++  _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)=
++  _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)=
++  _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
++  _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
++  _LT_AC_TAGVAR(thread_safe_flag_spec, $1)=
++  _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
++  _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
++  _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
++  _LT_AC_TAGVAR(hardcode_direct, $1)=no
++  _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
++  _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
++  _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
++  _LT_AC_TAGVAR(hardcode_automatic, $1)=no
++  _LT_AC_TAGVAR(module_cmds, $1)=
++  _LT_AC_TAGVAR(module_expsym_cmds, $1)=
++  _LT_AC_TAGVAR(always_export_symbols, $1)=no
++  _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
++  # include_expsyms should be a list of space-separated symbols to be *always*
++  # included in the symbol list
++  _LT_AC_TAGVAR(include_expsyms, $1)=
++  # exclude_expsyms can be an extended regexp of symbols to exclude
++  # it will be wrapped by ` (' and `)$', so one must not match beginning or
++  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
++  # as well as any symbol that contains `d'.
++  _LT_AC_TAGVAR(exclude_expsyms, $1)="_GLOBAL_OFFSET_TABLE_"
++  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
++  # platforms (ab)use it in PIC code, but their linkers get confused if
++  # the symbol is explicitly referenced.  Since portable code cannot
++  # rely on this symbol name, it's probably fine to never include it in
++  # preloaded symbol tables.
++  extract_expsyms_cmds=
++
++  case $host_os in
++  cygwin* | mingw* | pw32*)
++    # FIXME: the MSVC++ port hasn't been tested in a loooong time
++    # When not using gcc, we currently assume that we are using
++    # Microsoft Visual C++.
++    if test "$GCC" != yes; then
++      with_gnu_ld=no
++    fi
++    ;;
++  openbsd*)
++    with_gnu_ld=no
++    ;;
++  esac
++
++  _LT_AC_TAGVAR(ld_shlibs, $1)=yes
++  if test "$with_gnu_ld" = yes; then
++    # If archive_cmds runs LD, not CC, wlarc should be empty
++    wlarc='${wl}'
++
++    # See if GNU ld supports shared libraries.
++    case $host_os in
++    aix3* | aix4* | aix5*)
++      # On AIX/PPC, the GNU linker is very broken
++      if test "$host_cpu" != ia64; then
++	_LT_AC_TAGVAR(ld_shlibs, $1)=no
++	cat <<EOF 1>&2
++
++*** Warning: the GNU linker, at least up to release 2.9.1, is reported
++*** to be unable to reliably create shared libraries on AIX.
++*** Therefore, libtool is disabling shared libraries support.  If you
++*** really care for shared libraries, you may want to modify your PATH
++*** so that a non-GNU linker is found, and then restart.
++
++EOF
++      fi
++      ;;
++
++    amigaos*)
++      _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
++      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
++      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
++
++      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
++      # that the semantics of dynamic libraries on AmigaOS, at least up
++      # to version 4, is to share data among multiple programs linked
++      # with the same dynamic library.  Since this doesn't match the
++      # behavior of shared libraries on other platforms, we can't use
++      # them.
++      _LT_AC_TAGVAR(ld_shlibs, $1)=no
++      ;;
++
++    beos*)
++      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
++	_LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
++	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
++	# support --undefined.  This deserves some investigation.  FIXME
++	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++      else
++	_LT_AC_TAGVAR(ld_shlibs, $1)=no
++      fi
++      ;;
++
++    cygwin* | mingw* | pw32*)
++      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
++      # as there is no search path for DLLs.
++      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
++      _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
++      _LT_AC_TAGVAR(always_export_symbols, $1)=no
++      _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
++      _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols'
++
++      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
++        _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
++	# If the export-symbols file already is a .def file (1st line
++	# is EXPORTS), use it as is; otherwise, prepend...
++	_LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
++	  cp $export_symbols $output_objdir/$soname.def;
++	else
++	  echo EXPORTS > $output_objdir/$soname.def;
++	  cat $export_symbols >> $output_objdir/$soname.def;
++	fi~
++	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
++      else
++	ld_shlibs=no
++      fi
++      ;;
++
++    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
++      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++	_LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
++	wlarc=
++      else
++	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++	_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++      fi
++      ;;
++
++    solaris* | sysv5*)
++      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
++	_LT_AC_TAGVAR(ld_shlibs, $1)=no
++	cat <<EOF 1>&2
++
++*** Warning: The releases 2.8.* of the GNU linker cannot reliably
++*** create shared libraries on Solaris systems.  Therefore, libtool
++*** is disabling shared libraries support.  We urge you to upgrade GNU
++*** binutils to release 2.9.1 or newer.  Another option is to modify
++*** your PATH or compiler configuration so that the native linker is
++*** used, and then restart.
++
++EOF
++      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
++	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++	_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++      else
++	_LT_AC_TAGVAR(ld_shlibs, $1)=no
++      fi
++      ;;
++
++    sunos4*)
++      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++      wlarc=
++      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
++      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
++      ;;
++
++  linux*)
++    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
++        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++	_LT_AC_TAGVAR(archive_cmds, $1)="$tmp_archive_cmds"
++      supports_anon_versioning=no
++      case `$LD -v 2>/dev/null` in
++        *\ [01].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
++        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
++        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
++        *\ 2.11.*) ;; # other 2.11 versions
++        *) supports_anon_versioning=yes ;;
++      esac
++      if test $supports_anon_versioning = yes; then
++        _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~
++cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
++$echo "local: *; };" >> $output_objdir/$libname.ver~
++        $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
++      else
++        _LT_AC_TAGVAR(archive_expsym_cmds, $1)="$tmp_archive_cmds"
++      fi
++      _LT_AC_TAGVAR(link_all_deplibs, $1)=no
++    else
++      _LT_AC_TAGVAR(ld_shlibs, $1)=no
++    fi
++    ;;
++
++    *)
++      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
++	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++	_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++      else
++	_LT_AC_TAGVAR(ld_shlibs, $1)=no
++      fi
++      ;;
+     esac
+-  fi
+-],
+-[
+-  if test "$GCC" = yes; then
+-    _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+-    _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
+ 
++    if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = yes; then
++      runpath_var=LD_RUN_PATH
++      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
++      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
++      # ancient GNU ld didn't support --whole-archive et. al.
++      if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
++ 	_LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
++      else
++  	_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
++      fi
++    fi
++  else
++    # PORTME fill in a description of your system's linker (not GNU ld)
+     case $host_os in
+-      aix*)
+-      # All AIX code is PIC.
++    aix3*)
++      _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
++      _LT_AC_TAGVAR(always_export_symbols, $1)=yes
++      _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
++      # Note: this linker hardcodes the directories in LIBPATH if there
++      # are no directories specified by -L.
++      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
++      if test "$GCC" = yes && test -z "$link_static_flag"; then
++	# Neither direct hardcoding nor static linking is supported with a
++	# broken collect2.
++	_LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
++      fi
++      ;;
++
++    aix4* | aix5*)
+       if test "$host_cpu" = ia64; then
+-	# AIX 5 now supports IA64 processor
+-	_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
++	# On IA64, the linker does run time linking by default, so we don't
++	# have to do anything special.
++	aix_use_runtimelinking=no
++	exp_sym_flag='-Bexport'
++	no_entry_flag=""
++      else
++	# If we're using GNU nm, then we don't want the "-C" option.
++	# -C means demangle to AIX nm, but means don't demangle with GNU nm
++	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
++	  _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
++	else
++	  _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
++	fi
++	aix_use_runtimelinking=no
++
++	# Test if we are trying to use run time linking or normal
++	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
++	# need to do runtime linking.
++	case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
++	  for ld_flag in $LDFLAGS; do
++  	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
++  	    aix_use_runtimelinking=yes
++  	    break
++  	  fi
++	  done
++	esac
++
++	exp_sym_flag='-bexport'
++	no_entry_flag='-bnoentry'
++      fi
++
++      # When large executables or shared objects are built, AIX ld can
++      # have problems creating the table of contents.  If linking a library
++      # or program results in "error TOC overflow" add -mminimal-toc to
++      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
++      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
++
++      _LT_AC_TAGVAR(archive_cmds, $1)=''
++      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
++      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
++      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
++
++      if test "$GCC" = yes; then
++	case $host_os in aix4.[012]|aix4.[012].*)
++	# We only want to do this on AIX 4.2 and lower, the check
++	# below for broken collect2 doesn't work under 4.3+
++	  collect2name=`${CC} -print-prog-name=collect2`
++	  if test -f "$collect2name" && \
++  	   strings "$collect2name" | grep resolve_lib_name >/dev/null
++	  then
++  	  # We have reworked collect2
++  	  _LT_AC_TAGVAR(hardcode_direct, $1)=yes
++	  else
++  	  # We have old collect2
++  	  _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
++  	  # It fails to find uninstalled libraries when the uninstalled
++  	  # path is not listed in the libpath.  Setting hardcode_minus_L
++  	  # to unsupported forces relinking
++  	  _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
++  	  _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
++  	  _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
++	  fi
++	esac
++	shared_flag='-shared'
++      else
++	# not using gcc
++	if test "$host_cpu" = ia64; then
++  	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
++  	# chokes on -Wl,-G. The following line is correct:
++	  shared_flag='-G'
++	else
++  	if test "$aix_use_runtimelinking" = yes; then
++	    shared_flag='${wl}-G'
++	  else
++	    shared_flag='${wl}-bM:SRE'
++  	fi
++	fi
++      fi
++
++      # It seems that -bexpall does not export symbols beginning with
++      # underscore (_), so it is better to generate a list of symbols to export.
++      _LT_AC_TAGVAR(always_export_symbols, $1)=yes
++      if test "$aix_use_runtimelinking" = yes; then
++	# Warning - without using the other runtime loading flags (-brtl),
++	# -berok will link without error, but may produce a broken library.
++	_LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
++       # Determine the default libpath from the value encoded in an empty executable.
++       _LT_AC_SYS_LIBPATH_AIX
++       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
++	_LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
++       else
++	if test "$host_cpu" = ia64; then
++	  _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
++	  _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
++	  _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
++	else
++	 # Determine the default libpath from the value encoded in an empty executable.
++	 _LT_AC_SYS_LIBPATH_AIX
++	 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
++	  # Warning - without using the other run time loading flags,
++	  # -berok will link without error, but may produce a broken library.
++	  _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
++	  _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
++	  # -bexpall does not export symbols beginning with underscore (_)
++	  _LT_AC_TAGVAR(always_export_symbols, $1)=yes
++	  # Exported symbols can be pulled into shared objects from archives
++	  _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' '
++	  _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
++	  # This is similar to how AIX traditionally builds it's shared libraries.
++	  _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
++	fi
+       fi
+       ;;
+ 
+     amigaos*)
+-      # FIXME: we need at least 68020 code to build shared libraries, but
+-      # adding the `-m68020' flag to GCC prevents building anything better,
+-      # like `-m68040'.
+-      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
++      _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
++      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
++      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
++      # see comment about different semantics on the GNU ld section
++      _LT_AC_TAGVAR(ld_shlibs, $1)=no
+       ;;
+ 
+-    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
+-      # PIC is the default for these OSes.
++    bsdi4*)
++      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
+       ;;
+ 
+-    mingw* | pw32* | os2*)
+-      # This hack is so that the source file can tell whether it is being
+-      # built for inclusion in a dll (and should export symbols for example).
+-      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
++    cygwin* | mingw* | pw32*)
++      # When not using gcc, we currently assume that we are using
++      # Microsoft Visual C++.
++      # hardcode_libdir_flag_spec is actually meaningless, as there is
++      # no search path for DLLs.
++      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
++      _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
++      # Tell ltmain to make .lib files, not .a files.
++      libext=lib
++      # Tell ltmain to make .dll files, not .so files.
++      shrext_cmds=".dll"
++      # FIXME: Setting linknames here is a bad hack.
++      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
++      # The linker will automatically build a .lib file if we build a DLL.
++      _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true'
++      # FIXME: Should let the user specify the lib program.
++      _LT_AC_TAGVAR(old_archive_cmds, $1)='lib /OUT:$oldlib$oldobjs$old_deplibs'
++      fix_srcfile_path='`cygpath -w "$srcfile"`'
++      _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
+       ;;
+ 
+     darwin* | rhapsody*)
+-      # PIC is the default on this platform
+-      # Common symbols not allowed in MH_DYLIB files
+-      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
+-      ;;
+-
+-    msdosdjgpp*)
+-      # Just because we use GCC doesn't mean we suddenly get shared libraries
+-      # on systems that don't support them.
+-      _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
+-      enable_shared=no
+-      ;;
+-
+-    sysv4*MP*)
+-      if test -d /usr/nec; then
+-	_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
+-      fi
+-      ;;
+-
+-    hpux*)
+-      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
+-      # not for PA HP-UX.
+-      case "$host_cpu" in
+-      hppa*64*|ia64*)
+-	# +Z the default
++    if test "$GXX" = yes ; then
++      _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
++      case "$host_os" in
++      rhapsody* | darwin1.[[012]])
++	_LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'
+ 	;;
+-      *)
+-	_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
++      *) # Darwin 1.3 on
++      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
++      	_LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
++      else
++        case ${MACOSX_DEPLOYMENT_TARGET} in
++          10.[[012]])
++            _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
++            ;;
++          10.*)
++            _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'
++            ;;
++        esac
++      fi
+ 	;;
+       esac
++    	lt_int_apple_cc_single_mod=no
++    	output_verbose_link_cmd='echo'
++    	if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
++    	  lt_int_apple_cc_single_mod=yes
++    	fi
++    	if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
++    	  _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
++    	else
++        _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
++      fi
++      _LT_AC_TAGVAR(module_cmds, $1)='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
++      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
++        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
++          _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++        else
++          _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++        fi
++          _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++      _LT_AC_TAGVAR(hardcode_direct, $1)=no
++      _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
++      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
++      _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
++      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
++    else
++      _LT_AC_TAGVAR(ld_shlibs, $1)=no
++    fi
+       ;;
+ 
+-    *)
+-      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+-      ;;
+-    esac
+-  else
+-    # PORTME Check for flag to pass linker flags through the system compiler.
+-    case $host_os in
+-    aix*)
+-      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+-      if test "$host_cpu" = ia64; then
+-	# AIX 5 now supports IA64 processor
+-	_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+-      else
+-	_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
+-      fi
++    dgux*)
++      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
++      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+       ;;
+ 
+-    mingw* | pw32* | os2*)
+-      # This hack is so that the source file can tell whether it is being
+-      # built for inclusion in a dll (and should export symbols for example).
+-      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
++    freebsd1*)
++      _LT_AC_TAGVAR(ld_shlibs, $1)=no
+       ;;
+ 
+-    hpux9* | hpux10* | hpux11*)
+-      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+-      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
+-      # not for PA HP-UX.
+-      case "$host_cpu" in
+-      hppa*64*|ia64*)
+-	# +Z the default
+-	;;
+-      *)
+-	_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
+-	;;
+-      esac
+-      # Is there a better lt_prog_compiler_static that works with the bundled CC?
+-      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
++    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
++    # support.  Future versions do this automatically, but an explicit c++rt0.o
++    # does not break anything, and helps significantly (at the cost of a little
++    # extra space).
++    freebsd2.2*)
++      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
++      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
++      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
++      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+       ;;
+ 
+-    irix5* | irix6* | nonstopux*)
+-      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+-      # PIC (with -KPIC) is the default.
+-      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
++    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
++    freebsd2*)
++      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
++      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
++      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+       ;;
+ 
+-    newsos6)
+-      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+-      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
++    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
++    freebsd* | kfreebsd*-gnu)
++      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
++      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
++      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
++      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+       ;;
+ 
+-    linux*)
+-      case $CC in
+-      icc* | ecc*)
+-	_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+-	_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+-	_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
+-        ;;
+-      ccc*)
+-        _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+-        # All Alpha code is PIC.
+-        _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
+-        ;;
+-      esac
++    hpux9*)
++      if test "$GCC" = yes; then
++	_LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
++      else
++	_LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
++      fi
++      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
++      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
++      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
++
++      # hardcode_minus_L: Not really in the search PATH,
++      # but as the default location of the library.
++      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
++      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
+       ;;
+ 
+-    osf3* | osf4* | osf5*)
+-      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+-      # All OSF/1 code is PIC.
+-      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
+-      ;;
++    hpux10* | hpux11*)
++      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
++	case "$host_cpu" in
++	hppa*64*|ia64*)
++	  _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++	  ;;
++	*)
++	  _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
++	  ;;
++	esac
++      else
++	case "$host_cpu" in
++	hppa*64*|ia64*)
++	  _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
++	  ;;
++	*)
++	  _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
++	  ;;
++	esac
++      fi
++      if test "$with_gnu_ld" = no; then
++	case "$host_cpu" in
++	hppa*64*)
++	  _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
++	  _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
++	  _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
++	  _LT_AC_TAGVAR(hardcode_direct, $1)=no
++	  _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
++	  ;;
++	ia64*)
++	  _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
++	  _LT_AC_TAGVAR(hardcode_direct, $1)=no
++	  _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
++
++	  # hardcode_minus_L: Not really in the search PATH,
++	  # but as the default location of the library.
++	  _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
++	  ;;
++	*)
++	  _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
++	  _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
++	  _LT_AC_TAGVAR(hardcode_direct, $1)=yes
++	  _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
+ 
+-    sco3.2v5*)
+-      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kpic'
+-      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-dn'
++	  # hardcode_minus_L: Not really in the search PATH,
++	  # but as the default location of the library.
++	  _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
++	  ;;
++	esac
++      fi
+       ;;
+ 
+-    solaris*)
+-      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+-      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+-      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
++    irix5* | irix6* | nonstopux*)
++      if test "$GCC" = yes; then
++	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++      else
++	_LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
++	_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
++      fi
++      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
++      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
++      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
+       ;;
+ 
+-    sunos4*)
+-      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
+-      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
+-      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
++    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
++      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++	_LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
++      else
++	_LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
++      fi
++      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
++      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
++      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+       ;;
+ 
+-    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
+-      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+-      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+-      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
++    newsos6)
++      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
++      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
++      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
++      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+       ;;
+ 
+-    sysv4*MP*)
+-      if test -d /usr/nec ;then
+-	_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
+-	_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
++    openbsd*)
++      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
++      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
++      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
++	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
++	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
++	_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
++      else
++       case $host_os in
++	 openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
++	   _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++	   _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
++	   ;;
++	 *)
++	   _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
++	   _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
++	   ;;
++       esac
+       fi
+       ;;
+ 
+-    uts4*)
+-      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
+-      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
++    os2*)
++      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
++      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
++      _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
++      _LT_AC_TAGVAR(archive_cmds, $1)='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
++      _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
+       ;;
+ 
+-    *)
+-      _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
++    osf3*)
++      if test "$GCC" = yes; then
++	_LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
++	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++      else
++	_LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
++	_LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
++      fi
++      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
++      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
+       ;;
+-    esac
+-  fi
+-])
+-AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)])
+-
+-#
+-# Check to make sure the PIC flag actually works.
+-#
+-if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then
+-  AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works],
+-    _LT_AC_TAGVAR(lt_prog_compiler_pic_works, $1),
+-    [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [],
+-    [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in
+-     "" | " "*) ;;
+-     *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)" ;;
+-     esac],
+-    [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
+-     _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
+-fi
+-case "$host_os" in
+-  # For platforms which do not support PIC, -DPIC is meaningless:
+-  *djgpp*)
+-    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
+-    ;;
+-  *)
+-    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])"
+-    ;;
+-esac
+-])
+-
+-
+-# AC_LIBTOOL_PROG_LD_SHLIBS([TAGNAME])
+-# ------------------------------------
+-# See if the linker supports building shared libraries.
+-AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS],
+-[AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
+-ifelse([$1],[CXX],[
+-  _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
+-  case $host_os in
+-  aix4* | aix5*)
+-    # If we're using GNU nm, then we don't want the "-C" option.
+-    # -C means demangle to AIX nm, but means don't demangle with GNU nm
+-    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
+-      _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
+-    else
+-      _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
+-    fi
+-    ;;
+-  pw32*)
+-    _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
+-  ;;
+-  cygwin* | mingw*)
+-    _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols'
+-  ;;
+-  *)
+-    _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
+-  ;;
+-  esac
+-],[
+-  runpath_var=
+-  _LT_AC_TAGVAR(allow_undefined_flag, $1)=
+-  _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
+-  _LT_AC_TAGVAR(archive_cmds, $1)=
+-  _LT_AC_TAGVAR(archive_expsym_cmds, $1)=
+-  _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)=
+-  _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)=
+-  _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
+-  _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
+-  _LT_AC_TAGVAR(thread_safe_flag_spec, $1)=
+-  _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
+-  _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
+-  _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
+-  _LT_AC_TAGVAR(hardcode_direct, $1)=no
+-  _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
+-  _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
+-  _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
+-  _LT_AC_TAGVAR(hardcode_automatic, $1)=no
+-  _LT_AC_TAGVAR(module_cmds, $1)=
+-  _LT_AC_TAGVAR(module_expsym_cmds, $1)=
+-  _LT_AC_TAGVAR(always_export_symbols, $1)=no
+-  _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
+-  # include_expsyms should be a list of space-separated symbols to be *always*
+-  # included in the symbol list
+-  _LT_AC_TAGVAR(include_expsyms, $1)=
+-  # exclude_expsyms can be an extended regexp of symbols to exclude
+-  # it will be wrapped by ` (' and `)$', so one must not match beginning or
+-  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
+-  # as well as any symbol that contains `d'.
+-  _LT_AC_TAGVAR(exclude_expsyms, $1)="_GLOBAL_OFFSET_TABLE_"
+-  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
+-  # platforms (ab)use it in PIC code, but their linkers get confused if
+-  # the symbol is explicitly referenced.  Since portable code cannot
+-  # rely on this symbol name, it's probably fine to never include it in
+-  # preloaded symbol tables.
+-  extract_expsyms_cmds=
+-
+-  case $host_os in
+-  cygwin* | mingw* | pw32*)
+-    # FIXME: the MSVC++ port hasn't been tested in a loooong time
+-    # When not using gcc, we currently assume that we are using
+-    # Microsoft Visual C++.
+-    if test "$GCC" != yes; then
+-      with_gnu_ld=no
+-    fi
+-    ;;
+-  openbsd*)
+-    with_gnu_ld=no
+-    ;;
+-  esac
+ 
+-  _LT_AC_TAGVAR(ld_shlibs, $1)=yes
+-  if test "$with_gnu_ld" = yes; then
+-    # If archive_cmds runs LD, not CC, wlarc should be empty
+-    wlarc='${wl}'
++    osf4* | osf5*)	# as osf3* with the addition of -msym flag
++      if test "$GCC" = yes; then
++	_LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
++	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
++      else
++	_LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
++	_LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
++	_LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
++	$LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
+ 
+-    # See if GNU ld supports shared libraries.
+-    case $host_os in
+-    aix3* | aix4* | aix5*)
+-      # On AIX/PPC, the GNU linker is very broken
+-      if test "$host_cpu" != ia64; then
+-	_LT_AC_TAGVAR(ld_shlibs, $1)=no
+-	cat <<EOF 1>&2
++	# Both c and cxx compiler support -rpath directly
++	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
++      fi
++      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
++      ;;
+ 
+-*** Warning: the GNU linker, at least up to release 2.9.1, is reported
+-*** to be unable to reliably create shared libraries on AIX.
+-*** Therefore, libtool is disabling shared libraries support.  If you
+-*** really care for shared libraries, you may want to modify your PATH
+-*** so that a non-GNU linker is found, and then restart.
++    sco3.2v5*)
++      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
++      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
++      runpath_var=LD_RUN_PATH
++      hardcode_runpath_var=yes
++      ;;
+ 
+-EOF
++    solaris*)
++      _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
++      if test "$GCC" = yes; then
++	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++	_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
++      else
++	_LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
++	_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++  	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
+       fi
++      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
++      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
++      case $host_os in
++      solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
++      *) # Supported since Solaris 2.6 (maybe 2.5.1?)
++	_LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;;
++      esac
++      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
+       ;;
+ 
+-    amigaos*)
+-      _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
++    sunos4*)
++      if test "x$host_vendor" = xsequent; then
++	# Use $CC to link under sequent, because it throws in some extra .o
++	# files that make .init and .fini sections work.
++	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
++      else
++	_LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
++      fi
+       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
++      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
+       _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
++      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
++      ;;
+ 
+-      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
+-      # that the semantics of dynamic libraries on AmigaOS, at least up
+-      # to version 4, is to share data among multiple programs linked
+-      # with the same dynamic library.  Since this doesn't match the
+-      # behavior of shared libraries on other platforms, we can't use
+-      # them.
+-      _LT_AC_TAGVAR(ld_shlibs, $1)=no
++    sysv4)
++      case $host_vendor in
++	sni)
++	  _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++	  _LT_AC_TAGVAR(hardcode_direct, $1)=yes # is this really true???
++	;;
++	siemens)
++	  ## LD is ld it makes a PLAMLIB
++	  ## CC just makes a GrossModule.
++	  _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
++	  _LT_AC_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
++	  _LT_AC_TAGVAR(hardcode_direct, $1)=no
++        ;;
++	motorola)
++	  _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++	  _LT_AC_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie
++	;;
++      esac
++      runpath_var='LD_RUN_PATH'
++      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+       ;;
+ 
+-    beos*)
+-      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
+-	_LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
+-	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
+-	# support --undefined.  This deserves some investigation.  FIXME
+-	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+-      else
+-	_LT_AC_TAGVAR(ld_shlibs, $1)=no
++    sysv4.3*)
++      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
++      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
++      ;;
++
++    sysv4*MP*)
++      if test -d /usr/nec; then
++	_LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++	_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
++	runpath_var=LD_RUN_PATH
++	hardcode_runpath_var=yes
++	_LT_AC_TAGVAR(ld_shlibs, $1)=yes
+       fi
+       ;;
+ 
+-    cygwin* | mingw* | pw32*)
+-      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
+-      # as there is no search path for DLLs.
+-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+-      _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
+-      _LT_AC_TAGVAR(always_export_symbols, $1)=no
+-      _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
+-      _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols'
++    sysv4.2uw2*)
++      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
++      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
++      _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
++      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
++      hardcode_runpath_var=yes
++      runpath_var=LD_RUN_PATH
++      ;;
+ 
+-      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
+-        _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
+-	# If the export-symbols file already is a .def file (1st line
+-	# is EXPORTS), use it as is; otherwise, prepend...
+-	_LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
+-	  cp $export_symbols $output_objdir/$soname.def;
+-	else
+-	  echo EXPORTS > $output_objdir/$soname.def;
+-	  cat $export_symbols >> $output_objdir/$soname.def;
+-	fi~
+-	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
++   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[[78]]* | unixware7*)
++      _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z ${wl}text'
++      if test "$GCC" = yes; then
++	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
+       else
+-	ld_shlibs=no
++	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
+       fi
++      runpath_var='LD_RUN_PATH'
++      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+       ;;
+ 
+-    netbsd*)
+-      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
+-	_LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
+-	wlarc=
+-      else
+-	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+-	_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+-      fi
++    sysv5*)
++      _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
++      # $CC -shared without GNU ld will not create a library from C++
++      # object files and a static libstdc++, better avoid it by now
++      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++  		$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
++      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
++      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
++      runpath_var='LD_RUN_PATH'
+       ;;
+ 
+-    solaris* | sysv5*)
+-      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
+-	_LT_AC_TAGVAR(ld_shlibs, $1)=no
+-	cat <<EOF 1>&2
++    uts4*)
++      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
++      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
++      ;;
+ 
+-*** Warning: The releases 2.8.* of the GNU linker cannot reliably
+-*** create shared libraries on Solaris systems.  Therefore, libtool
+-*** is disabling shared libraries support.  We urge you to upgrade GNU
+-*** binutils to release 2.9.1 or newer.  Another option is to modify
+-*** your PATH or compiler configuration so that the native linker is
+-*** used, and then restart.
++    *)
++      _LT_AC_TAGVAR(ld_shlibs, $1)=no
++      ;;
++    esac
++  fi
++])
++AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
++test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
+ 
+-EOF
+-      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
+-	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+-	_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
++if test "$GCC" = yes; then
++  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
++fi
++
++#
++# Do we need to explicitly link libc?
++#
++case "x$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)" in
++x|xyes)
++  # Assume -lc should be added
++  _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
++
++  if test "$enable_shared" = yes && test "$GCC" = yes; then
++    case $_LT_AC_TAGVAR(archive_cmds, $1) in
++    *'~'*)
++      # FIXME: we may have to deal with multi-command sequences.
++      ;;
++    '$CC '*)
++      # Test whether the compiler implicitly links with -lc since on some
++      # systems, -lgcc has to come before -lc. If gcc already passes -lc
++      # to ld, don't add -lc before -lgcc.
++      AC_MSG_CHECKING([whether -lc should be explicitly linked in])
++      $rm conftest*
++      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
++
++      if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
++        soname=conftest
++        lib=conftest
++        libobjs=conftest.$ac_objext
++        deplibs=
++        wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
++        compiler_flags=-v
++        linker_flags=-v
++        verstring=
++        output_objdir=.
++        libname=conftest
++        lt_save_allow_undefined_flag=$_LT_AC_TAGVAR(allow_undefined_flag, $1)
++        _LT_AC_TAGVAR(allow_undefined_flag, $1)=
++        if AC_TRY_EVAL(_LT_AC_TAGVAR(archive_cmds, $1) 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1)
++        then
++	  _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
++        else
++	  _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
++        fi
++        _LT_AC_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
+       else
+-	_LT_AC_TAGVAR(ld_shlibs, $1)=no
++        cat conftest.err 1>&5
+       fi
++      $rm conftest*
++      AC_MSG_RESULT([$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)])
+       ;;
++    esac
++  fi
++  ;;
++esac
++])# AC_LIBTOOL_PROG_LD_SHLIBS
++
++
++# _LT_AC_FILE_LTDLL_C
++# -------------------
++# Be careful that the start marker always follows a newline.
++AC_DEFUN([_LT_AC_FILE_LTDLL_C], [
++# /* ltdll.c starts here */
++# #define WIN32_LEAN_AND_MEAN
++# #include <windows.h>
++# #undef WIN32_LEAN_AND_MEAN
++# #include <stdio.h>
++#
++# #ifndef __CYGWIN__
++# #  ifdef __CYGWIN32__
++# #    define __CYGWIN__ __CYGWIN32__
++# #  endif
++# #endif
++#
++# #ifdef __cplusplus
++# extern "C" {
++# #endif
++# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
++# #ifdef __cplusplus
++# }
++# #endif
++#
++# #ifdef __CYGWIN__
++# #include <cygwin/cygwin_dll.h>
++# DECLARE_CYGWIN_DLL( DllMain );
++# #endif
++# HINSTANCE __hDllInstance_base;
++#
++# BOOL APIENTRY
++# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
++# {
++#   __hDllInstance_base = hInst;
++#   return TRUE;
++# }
++# /* ltdll.c ends here */
++])# _LT_AC_FILE_LTDLL_C
++
++
++# _LT_AC_TAGVAR(VARNAME, [TAGNAME])
++# ---------------------------------
++AC_DEFUN([_LT_AC_TAGVAR], [ifelse([$2], [], [$1], [$1_$2])])
++
+ 
+-    sunos4*)
+-      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
+-      wlarc=
+-      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
+-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+-      ;;
++# old names
++AC_DEFUN([AM_PROG_LIBTOOL],   [AC_PROG_LIBTOOL])
++AC_DEFUN([AM_ENABLE_SHARED],  [AC_ENABLE_SHARED($@)])
++AC_DEFUN([AM_ENABLE_STATIC],  [AC_ENABLE_STATIC($@)])
++AC_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
++AC_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
++AC_DEFUN([AM_PROG_LD],        [AC_PROG_LD])
++AC_DEFUN([AM_PROG_NM],        [AC_PROG_NM])
+ 
+-  linux*)
+-    if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
+-        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+-	_LT_AC_TAGVAR(archive_cmds, $1)="$tmp_archive_cmds"
+-      supports_anon_versioning=no
+-      case `$LD -v 2>/dev/null` in
+-        *\ [01].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
+-        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
+-        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
+-        *\ 2.11.*) ;; # other 2.11 versions
+-        *) supports_anon_versioning=yes ;;
+-      esac
+-      if test $supports_anon_versioning = yes; then
+-        _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~
+-cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
+-$echo "local: *; };" >> $output_objdir/$libname.ver~
+-        $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
+-      else
+-        _LT_AC_TAGVAR(archive_expsym_cmds, $1)="$tmp_archive_cmds"
+-      fi
+-    else
+-      _LT_AC_TAGVAR(ld_shlibs, $1)=no
+-    fi
+-    ;;
++# This is just to silence aclocal about the macro not being used
++ifelse([AC_DISABLE_FAST_INSTALL])
+ 
+-    *)
+-      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
+-	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+-	_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+-      else
+-	_LT_AC_TAGVAR(ld_shlibs, $1)=no
+-      fi
+-      ;;
+-    esac
++AC_DEFUN([LT_AC_PROG_GCJ],
++[AC_CHECK_TOOL(GCJ, gcj, no)
++  test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
++  AC_SUBST(GCJFLAGS)
++])
+ 
+-    if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = yes; then
+-      runpath_var=LD_RUN_PATH
+-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
+-      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
+-      # ancient GNU ld didn't support --whole-archive et. al.
+-      if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
+- 	_LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
+-      else
+-  	_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
++AC_DEFUN([LT_AC_PROG_RC],
++[AC_CHECK_TOOL(RC, windres, no)
++])
++
++# NOTE: This macro has been submitted for inclusion into   #
++#  GNU Autoconf as AC_PROG_SED.  When it is available in   #
++#  a released version of Autoconf we should remove this    #
++#  macro and use it instead.                               #
++# LT_AC_PROG_SED
++# --------------
++# Check for a fully-functional sed program, that truncates
++# as few characters as possible.  Prefer GNU sed if found.
++AC_DEFUN([LT_AC_PROG_SED],
++[AC_MSG_CHECKING([for a sed that does not truncate output])
++AC_CACHE_VAL(lt_cv_path_SED,
++[# Loop through the user's path and test for sed and gsed.
++# Then use that list of sed's as ones to test for truncation.
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for lt_ac_prog in sed gsed; do
++    for ac_exec_ext in '' $ac_executable_extensions; do
++      if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
++        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
+       fi
++    done
++  done
++done
++lt_ac_max=0
++lt_ac_count=0
++# Add /usr/xpg4/bin/sed as it is typically found on Solaris
++# along with /bin/sed that truncates output.
++for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
++  test ! -f $lt_ac_sed && break
++  cat /dev/null > conftest.in
++  lt_ac_count=0
++  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
++  # Check for GNU sed and select it if it is found.
++  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
++    lt_cv_path_SED=$lt_ac_sed
++    break
++  fi
++  while true; do
++    cat conftest.in conftest.in >conftest.tmp
++    mv conftest.tmp conftest.in
++    cp conftest.in conftest.nl
++    echo >>conftest.nl
++    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
++    cmp -s conftest.out conftest.nl || break
++    # 10000 chars as input seems more than enough
++    test $lt_ac_count -gt 10 && break
++    lt_ac_count=`expr $lt_ac_count + 1`
++    if test $lt_ac_count -gt $lt_ac_max; then
++      lt_ac_max=$lt_ac_count
++      lt_cv_path_SED=$lt_ac_sed
+     fi
+-  else
+-    # PORTME fill in a description of your system's linker (not GNU ld)
+-    case $host_os in
+-    aix3*)
+-      _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
+-      _LT_AC_TAGVAR(always_export_symbols, $1)=yes
+-      _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
+-      # Note: this linker hardcodes the directories in LIBPATH if there
+-      # are no directories specified by -L.
+-      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
+-      if test "$GCC" = yes && test -z "$link_static_flag"; then
+-	# Neither direct hardcoding nor static linking is supported with a
+-	# broken collect2.
+-	_LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
+-      fi
+-      ;;
++  done
++done
++SED=$lt_cv_path_SED
++])
++AC_MSG_RESULT([$SED])
++])
+ 
+-    aix4* | aix5*)
+-      if test "$host_cpu" = ia64; then
+-	# On IA64, the linker does run time linking by default, so we don't
+-	# have to do anything special.
+-	aix_use_runtimelinking=no
+-	exp_sym_flag='-Bexport'
+-	no_entry_flag=""
+-      else
+-	# If we're using GNU nm, then we don't want the "-C" option.
+-	# -C means demangle to AIX nm, but means don't demangle with GNU nm
+-	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
+-	  _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
+-	else
+-	  _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
+-	fi
+-	aix_use_runtimelinking=no
++dnl $Id: wflags.m4,v 1.3.34.1 2004/04/01 07:27:35 joda Exp $
++dnl
++dnl set WFLAGS
+ 
+-	# Test if we are trying to use run time linking or normal
+-	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
+-	# need to do runtime linking.
+-	case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
+-	  for ld_flag in $LDFLAGS; do
+-  	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
+-  	    aix_use_runtimelinking=yes
+-  	    break
+-  	  fi
+-	  done
+-	esac
++AC_DEFUN([AC_WFLAGS],[
++WFLAGS_NOUNUSED=""
++WFLAGS_NOIMPLICITINT=""
++if test -z "$WFLAGS" -a "$GCC" = "yes"; then
++  # -Wno-implicit-int for broken X11 headers
++  # leave these out for now:
++  #   -Wcast-align doesn't work well on alpha osf/1
++  #   -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast
++  #   -Wmissing-declarations -Wnested-externs
++  WFLAGS="ifelse($#, 0,-Wall, $1)"
++  WFLAGS_NOUNUSED="-Wno-unused"
++  WFLAGS_NOIMPLICITINT="-Wno-implicit-int"
++fi
++AC_SUBST(WFLAGS)dnl
++AC_SUBST(WFLAGS_NOUNUSED)dnl
++AC_SUBST(WFLAGS_NOIMPLICITINT)dnl
++])
+ 
+-	exp_sym_flag='-bexport'
+-	no_entry_flag='-bnoentry'
+-      fi
++dnl $Id: test-package.m4,v 1.12.4.1 2004/04/01 07:27:35 joda Exp $
++dnl
++dnl rk_TEST_PACKAGE(package,headers,libraries,extra libs,
++dnl			default locations, conditional, config-program)
+ 
+-      # When large executables or shared objects are built, AIX ld can
+-      # have problems creating the table of contents.  If linking a library
+-      # or program results in "error TOC overflow" add -mminimal-toc to
+-      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
+-      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
++AC_DEFUN([rk_TEST_PACKAGE],[
++AC_ARG_WITH($1,
++	AC_HELP_STRING([--with-$1=dir],[use $1 in dir]))
++AC_ARG_WITH($1-lib,
++	AC_HELP_STRING([--with-$1-lib=dir],[use $1 libraries in dir]),
++[if test "$withval" = "yes" -o "$withval" = "no"; then
++  AC_MSG_ERROR([No argument for --with-$1-lib])
++elif test "X$with_$1" = "X"; then
++  with_$1=yes
++fi])
++AC_ARG_WITH($1-include,
++	AC_HELP_STRING([--with-$1-include=dir],[use $1 headers in dir]),
++[if test "$withval" = "yes" -o "$withval" = "no"; then
++  AC_MSG_ERROR([No argument for --with-$1-include])
++elif test "X$with_$1" = "X"; then
++  with_$1=yes
++fi])
++AC_ARG_WITH($1-config,
++	AC_HELP_STRING([--with-$1-config=path],[config program for $1]))
+ 
+-      _LT_AC_TAGVAR(archive_cmds, $1)=''
+-      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
+-      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
+-      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
++m4_ifval([$6],
++	m4_define([rk_pkgname], $6),
++	m4_define([rk_pkgname], AS_TR_CPP($1)))
++
++AC_MSG_CHECKING(for $1)
++
++case "$with_$1" in
++yes|"") d='$5' ;;
++no)	d= ;;
++*)	d="$with_$1" ;;
++esac
+ 
+-      if test "$GCC" = yes; then
+-	case $host_os in aix4.[012]|aix4.[012].*)
+-	# We only want to do this on AIX 4.2 and lower, the check
+-	# below for broken collect2 doesn't work under 4.3+
+-	  collect2name=`${CC} -print-prog-name=collect2`
+-	  if test -f "$collect2name" && \
+-  	   strings "$collect2name" | grep resolve_lib_name >/dev/null
+-	  then
+-  	  # We have reworked collect2
+-  	  _LT_AC_TAGVAR(hardcode_direct, $1)=yes
+-	  else
+-  	  # We have old collect2
+-  	  _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
+-  	  # It fails to find uninstalled libraries when the uninstalled
+-  	  # path is not listed in the libpath.  Setting hardcode_minus_L
+-  	  # to unsupported forces relinking
+-  	  _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
+-  	  _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+-  	  _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
+-	  fi
+-	esac
+-	shared_flag='-shared'
+-      else
+-	# not using gcc
+-	if test "$host_cpu" = ia64; then
+-  	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
+-  	# chokes on -Wl,-G. The following line is correct:
+-	  shared_flag='-G'
+-	else
+-  	if test "$aix_use_runtimelinking" = yes; then
+-	    shared_flag='${wl}-G'
+-	  else
+-	    shared_flag='${wl}-bM:SRE'
+-  	fi
++header_dirs=
++lib_dirs=
++for i in $d /usr; do
++	if test "$with_$1_include" = ""; then
++		if test -d "$i/include/$1"; then
++			header_dirs="$header_dirs $i/include/$1"
++		fi
++		if test -d "$i/include"; then
++			header_dirs="$header_dirs $i/include"
++		fi
+ 	fi
+-      fi
++	if test "$with_$1_lib" = ""; then
++		if test -d "$i/lib$abilibdirext"; then
++			lib_dirs="$lib_dirs $i/lib$abilibdirext"
++		fi
++	fi
++done
+ 
+-      # It seems that -bexpall does not export symbols beginning with
+-      # underscore (_), so it is better to generate a list of symbols to export.
+-      _LT_AC_TAGVAR(always_export_symbols, $1)=yes
+-      if test "$aix_use_runtimelinking" = yes; then
+-	# Warning - without using the other runtime loading flags (-brtl),
+-	# -berok will link without error, but may produce a broken library.
+-	_LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
+-       # Determine the default libpath from the value encoded in an empty executable.
+-       _LT_AC_SYS_LIBPATH_AIX
+-       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
+-	_LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
+-       else
+-	if test "$host_cpu" = ia64; then
+-	  _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
+-	  _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
+-	  _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
+-	else
+-	 # Determine the default libpath from the value encoded in an empty executable.
+-	 _LT_AC_SYS_LIBPATH_AIX
+-	 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
+-	  # Warning - without using the other run time loading flags,
+-	  # -berok will link without error, but may produce a broken library.
+-	  _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
+-	  _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
+-	  # -bexpall does not export symbols beginning with underscore (_)
+-	  _LT_AC_TAGVAR(always_export_symbols, $1)=yes
+-	  # Exported symbols can be pulled into shared objects from archives
+-	  _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' '
+-	  _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
+-	  # This is similar to how AIX traditionally builds it's shared libraries.
+-	  _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
++if test "$with_$1_include"; then
++	header_dirs="$with_$1_include $header_dirs"
++fi
++if test "$with_$1_lib"; then
++	lib_dirs="$with_$1_lib $lib_dirs"
++fi
++
++if test "$with_$1_config" = ""; then
++	with_$1_config='$7'
++fi
++
++$1_cflags=
++$1_libs=
++
++case "$with_$1_config" in
++yes|no|"")
++	;;
++*)
++	$1_cflags="`$with_$1_config --cflags 2>&1`"
++	$1_libs="`$with_$1_config --libs 2>&1`"
++	;;
++esac
++
++found=no
++if test "$with_$1" != no; then
++	save_CFLAGS="$CFLAGS"
++	save_LIBS="$LIBS"
++	if test "$[]$1_cflags" -a "$[]$1_libs"; then
++		CFLAGS="$[]$1_cflags $save_CFLAGS"
++		LIBS="$[]$1_libs $save_LIBS"
++		AC_TRY_LINK([$2],,[
++			INCLUDE_$1="$[]$1_cflags"
++			LIB_$1="$[]$1_libs"
++			AC_MSG_RESULT([from $with_$1_config])
++			found=yes])
+ 	fi
+-      fi
+-      ;;
++	if test "$found" = no; then
++		ires= lres=
++		for i in $header_dirs; do
++			CFLAGS="-I$i $save_CFLAGS"
++			AC_TRY_COMPILE([$2],,ires=$i;break)
++		done
++		for i in $lib_dirs; do
++			LIBS="-L$i $3 $4 $save_LIBS"
++			AC_TRY_LINK([$2],,lres=$i;break)
++		done
++		if test "$ires" -a "$lres" -a "$with_$1" != "no"; then
++			DIR_$1=
++			INCLUDE_$1="-I$ires"
++			LIB_$1="-L$lres $3 $4"
++			found=yes
++			AC_MSG_RESULT([headers $ires, libraries $lres])
++		fi
++	fi
++	CFLAGS="$save_CFLAGS"
++	LIBS="$save_LIBS"
++fi
+ 
+-    amigaos*)
+-      _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
+-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+-      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
+-      # see comment about different semantics on the GNU ld section
+-      _LT_AC_TAGVAR(ld_shlibs, $1)=no
+-      ;;
++if test "$found" = yes; then
++	AC_DEFINE_UNQUOTED(rk_pkgname, 1, [Define if you have the $1 package.])
++	with_$1=yes
++else
++	with_$1=no
++	DIR_$1=
++	INCLUDE_$1=
++	LIB_$1=
++	AC_MSG_RESULT(no)
++fi
+ 
+-    bsdi4*)
+-      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
+-      ;;
++AC_SUBST(DIR_$1)
++AC_SUBST(INCLUDE_$1)
++AC_SUBST(LIB_$1)
++])
+ 
+-    cygwin* | mingw* | pw32*)
+-      # When not using gcc, we currently assume that we are using
+-      # Microsoft Visual C++.
+-      # hardcode_libdir_flag_spec is actually meaningless, as there is
+-      # no search path for DLLs.
+-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
+-      _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
+-      # Tell ltmain to make .lib files, not .a files.
+-      libext=lib
+-      # Tell ltmain to make .dll files, not .so files.
+-      shrext=".dll"
+-      # FIXME: Setting linknames here is a bad hack.
+-      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
+-      # The linker will automatically build a .lib file if we build a DLL.
+-      _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true'
+-      # FIXME: Should let the user specify the lib program.
+-      _LT_AC_TAGVAR(old_archive_cmds, $1)='lib /OUT:$oldlib$oldobjs$old_deplibs'
+-      fix_srcfile_path='`cygpath -w "$srcfile"`'
+-      _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
+-      ;;
++dnl $Id: find-func.m4,v 1.1.42.1 2004/04/01 07:27:33 joda Exp $
++dnl
++dnl AC_FIND_FUNC(func, libraries, includes, arguments)
++AC_DEFUN([AC_FIND_FUNC], [
++AC_FIND_FUNC_NO_LIBS([$1], [$2], [$3], [$4])
++if test -n "$LIB_$1"; then
++	LIBS="$LIB_$1 $LIBS"
++fi
++])
+ 
+-    darwin* | rhapsody*)
+-    if test "$GXX" = yes ; then
+-      _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
+-      case "$host_os" in
+-      rhapsody* | darwin1.[[012]])
+-	_LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'
++dnl $Id: find-func-no-libs.m4,v 1.5.20.1 2004/04/01 07:27:33 joda Exp $
++dnl
++dnl
++dnl Look for function in any of the specified libraries
++dnl
++
++dnl AC_FIND_FUNC_NO_LIBS(func, libraries, includes, arguments, extra libs, extra args)
++AC_DEFUN([AC_FIND_FUNC_NO_LIBS], [
++AC_FIND_FUNC_NO_LIBS2([$1], ["" $2], [$3], [$4], [$5], [$6])])
++
++dnl $Id: find-func-no-libs2.m4,v 1.6.10.1 2004/04/01 07:27:33 joda Exp $
++dnl
++dnl
++dnl Look for function in any of the specified libraries
++dnl
++
++dnl AC_FIND_FUNC_NO_LIBS2(func, libraries, includes, arguments, extra libs, extra args)
++AC_DEFUN([AC_FIND_FUNC_NO_LIBS2], [
++
++AC_MSG_CHECKING([for $1])
++AC_CACHE_VAL(ac_cv_funclib_$1,
++[
++if eval "test \"\$ac_cv_func_$1\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in $2; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS="$6 $ac_lib $5 $ac_save_LIBS"
++		AC_TRY_LINK([$3],[$1($4)],eval "if test -n \"$ac_lib\";then ac_cv_funclib_$1=$ac_lib; else ac_cv_funclib_$1=yes; fi";break)
++	done
++	eval "ac_cv_funclib_$1=\${ac_cv_funclib_$1-no}"
++	LIBS="$ac_save_LIBS"
++fi
++])
++
++eval "ac_res=\$ac_cv_funclib_$1"
++
++if false; then
++	AC_CHECK_FUNCS($1)
++dnl	AC_CHECK_LIBS($2, foo)
++fi
++# $1
++eval "ac_tr_func=HAVE_[]upcase($1)"
++eval "ac_tr_lib=HAVE_LIB[]upcase($ac_res | sed -e 's/-l//')"
++eval "LIB_$1=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_$1=yes"
++	eval "LIB_$1="
++	AC_DEFINE_UNQUOTED($ac_tr_func)
++	AC_MSG_RESULT([yes])
++	;;
++	no)
++	eval "ac_cv_func_$1=no"
++	eval "LIB_$1="
++	AC_MSG_RESULT([no])
+ 	;;
+-      *) # Darwin 1.3 on
+-      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
+-      	_LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
+-      else
+-        case ${MACOSX_DEPLOYMENT_TARGET} in
+-          10.[[012]])
+-            _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
+-            ;;
+-          10.*)
+-            _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'
+-            ;;
+-        esac
+-      fi
++	*)
++	eval "ac_cv_func_$1=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	AC_DEFINE_UNQUOTED($ac_tr_func)
++	AC_DEFINE_UNQUOTED($ac_tr_lib)
++	AC_MSG_RESULT([yes, in $ac_res])
+ 	;;
+-      esac
+-    	lt_int_apple_cc_single_mod=no
+-    	output_verbose_link_cmd='echo'
+-    	if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
+-    	  lt_int_apple_cc_single_mod=yes
+-    	fi
+-    	if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
+-    	  _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
+-    	else
+-        _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
+-      fi
+-      _LT_AC_TAGVAR(module_cmds, $1)='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
+-      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
+-        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
+-          _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
+-        else
+-          _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
+-        fi
+-          _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
+-      _LT_AC_TAGVAR(hardcode_direct, $1)=no
+-      _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
+-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
+-      _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
+-      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
+-    else
+-      _LT_AC_TAGVAR(ld_shlibs, $1)=no
+-    fi
+-      ;;
++esac
++AC_SUBST(LIB_$1)
++])
+ 
+-    dgux*)
+-      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+-      ;;
+ 
+-    freebsd1*)
+-      _LT_AC_TAGVAR(ld_shlibs, $1)=no
+-      ;;
++dnl $Id: misc.m4,v 1.5 2002/05/24 15:35:32 joda Exp $
++dnl
++AC_DEFUN([upcase],[`echo $1 | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`])dnl
++AC_DEFUN([rk_LIBOBJ],[AC_LIBOBJ([$1])])dnl
++AC_DEFUN([rk_CONFIG_HEADER],[AH_TOP([#ifndef RCSID
++#define RCSID(msg) \
++static /**/const char *const rcsid[] = { (const char *)rcsid, "@(#)" msg }
++#endif
+ 
+-    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
+-    # support.  Future versions do this automatically, but an explicit c++rt0.o
+-    # does not break anything, and helps significantly (at the cost of a little
+-    # extra space).
+-    freebsd2.2*)
+-      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
+-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
+-      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
+-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+-      ;;
++/* Maximum values on all known systems */
++#define MaxHostNameLen (64+4)
++#define MaxPathLen (1024+4)
+ 
+-    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
+-    freebsd2*)
+-      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
+-      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
+-      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
+-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+-      ;;
++])])
++dnl $Id: crypto.m4,v 1.16.2.1 2003/05/05 20:08:32 joda Exp $
++dnl
++dnl test for crypto libraries:
++dnl - libcrypto (from openssl)
++dnl - libdes (from krb4)
++dnl - own-built libdes
++
++m4_define([test_headers], [
++		#undef KRB5 /* makes md4.h et al unhappy */
++		#ifdef HAVE_OPENSSL
++		#include <openssl/md4.h>
++		#include <openssl/md5.h>
++		#include <openssl/sha.h>
++		#define OPENSSL_DES_LIBDES_COMPATIBILITY
++		#include <openssl/des.h>
++		#include <openssl/rc4.h>
++		#include <openssl/rand.h>
++		#else
++		#include <md4.h>
++		#include <md5.h>
++		#include <sha.h>
++		#include <des.h>
++		#include <rc4.h>
++		#endif
++		#ifdef OLD_HASH_NAMES
++		typedef struct md4 MD4_CTX;
++		#define MD4_Init(C) md4_init((C))
++		#define MD4_Update(C, D, L) md4_update((C), (D), (L))
++		#define MD4_Final(D, C) md4_finito((C), (D))
++		typedef struct md5 MD5_CTX;
++		#define MD5_Init(C) md5_init((C))
++		#define MD5_Update(C, D, L) md5_update((C), (D), (L))
++		#define MD5_Final(D, C) md5_finito((C), (D))
++		typedef struct sha SHA_CTX;
++		#define SHA1_Init(C) sha_init((C))
++		#define SHA1_Update(C, D, L) sha_update((C), (D), (L))
++		#define SHA1_Final(D, C) sha_finito((C), (D))
++		#endif
++		])
++m4_define([test_body], [
++		void *schedule = 0;
++		MD4_CTX md4;
++		MD5_CTX md5;
++		SHA_CTX sha1;
++
++		MD4_Init(&md4);
++		MD5_Init(&md5);
++		SHA1_Init(&sha1);
++		#ifdef HAVE_OPENSSL
++		RAND_status();
++		#endif
++
++		des_cbc_encrypt(0, 0, 0, schedule, 0, 0);
++		RC4(0, 0, 0, 0);])
++
++
++AC_DEFUN([KRB_CRYPTO],[
++crypto_lib=unknown
++AC_WITH_ALL([openssl])
++
++DIR_des=
++
++AC_MSG_CHECKING([for crypto library])
++
++openssl=no
++old_hash=no
++
++if test "$crypto_lib" = "unknown" -a "$with_krb4" != "no"; then
++	save_CPPFLAGS="$CPPFLAGS"
++	save_LIBS="$LIBS"
++
++	cdirs= clibs=
++	for i in $LIB_krb4; do
++		case "$i" in
++		-L*) cdirs="$cdirs $i";;
++		-l*) clibs="$clibs $i";;
++		esac
++	done
+ 
+-    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
+-    freebsd* | kfreebsd*-gnu)
+-      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
+-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
+-      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
+-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+-      ;;
++	ires=
++	for i in $INCLUDE_krb4; do
++		CFLAGS="-DHAVE_OPENSSL $i $save_CFLAGS"
++		for j in $cdirs; do
++			for k in $clibs; do
++				LIBS="$j $k $save_LIBS"
++				AC_TRY_LINK(test_headers, test_body,
++					openssl=yes ires="$i" lres="$j $k"; break 3)
++			done
++		done
++		CFLAGS="$i $save_CFLAGS"
++		for j in $cdirs; do
++			for k in $clibs; do
++				LIBS="$j $k $save_LIBS"
++				AC_TRY_LINK(test_headers, test_body,
++					openssl=no ires="$i" lres="$j $k"; break 3)
++			done
++		done
++		CFLAGS="-DHAVE_OLD_HASH_NAMES $i $save_CFLAGS"
++		for j in $cdirs; do
++			for k in $clibs; do
++				LIBS="$j $k $save_LIBS"
++				AC_TRY_LINK(test_headers, test_body,
++					openssl=no ires="$i" lres="$j $k"; break 3)
++			done
++		done
++	done
++		
++	CFLAGS="$save_CFLAGS"
++	LIBS="$save_LIBS"
++	if test "$ires" -a "$lres"; then
++		INCLUDE_des="$ires"
++		LIB_des="$lres"
++		crypto_lib=krb4
++		AC_MSG_RESULT([same as krb4])
++		LIB_des_a='$(LIB_des)'
++		LIB_des_so='$(LIB_des)'
++		LIB_des_appl='$(LIB_des)'
++	fi
++fi
+ 
+-    hpux9*)
+-      if test "$GCC" = yes; then
+-	_LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
+-      else
+-	_LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
+-      fi
+-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
+-      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
+-      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
++if test "$crypto_lib" = "unknown" -a "$with_openssl" != "no"; then
++	save_CFLAGS="$CFLAGS"
++	save_LIBS="$LIBS"
++	INCLUDE_des=
++	LIB_des=
++	if test "$with_openssl_include" != ""; then
++		INCLUDE_des="-I${with_openssl_include}"
++	fi
++	if test "$with_openssl_lib" != ""; then
++		LIB_des="-L${with_openssl_lib}"
++	fi
++	CFLAGS="-DHAVE_OPENSSL ${INCLUDE_des} ${CFLAGS}"
++	saved_LIB_des="$LIB_des"
++	for lres in "" "-lnsl -lsocket"; do
++		LIB_des="${saved_LIB_des} -lcrypto $lres"
++		LIB_des_a="$LIB_des"
++		LIB_des_so="$LIB_des"
++		LIB_des_appl="$LIB_des"
++		LIBS="${LIBS} ${LIB_des}"
++		AC_TRY_LINK(test_headers, test_body, [
++			crypto_lib=libcrypto openssl=yes
++			AC_MSG_RESULT([libcrypto])
++		])
++		if test "$crypto_lib" = libcrypto ; then
++			break;
++		fi
++	done
++	CFLAGS="$save_CFLAGS"
++	LIBS="$save_LIBS"
++fi
+ 
+-      # hardcode_minus_L: Not really in the search PATH,
+-      # but as the default location of the library.
+-      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
+-      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
+-      ;;
++if test "$crypto_lib" = "unknown"; then
+ 
+-    hpux10* | hpux11*)
+-      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
+-	case "$host_cpu" in
+-	hppa*64*|ia64*)
+-	  _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
+-	  ;;
+-	*)
+-	  _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
+-	  ;;
+-	esac
+-      else
+-	case "$host_cpu" in
+-	hppa*64*|ia64*)
+-	  _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
+-	  ;;
+-	*)
+-	  _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
+-	  ;;
+-	esac
+-      fi
+-      if test "$with_gnu_ld" = no; then
+-	case "$host_cpu" in
+-	hppa*64*)
+-	  _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
+-	  _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
+-	  _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
+-	  _LT_AC_TAGVAR(hardcode_direct, $1)=no
+-	  _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+-	  ;;
+-	ia64*)
+-	  _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+-	  _LT_AC_TAGVAR(hardcode_direct, $1)=no
+-	  _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
++  DIR_des='des'
++  LIB_des='$(top_builddir)/lib/des/libdes.la'
++  LIB_des_a='$(top_builddir)/lib/des/.libs/libdes.a'
++  LIB_des_so='$(top_builddir)/lib/des/.libs/libdes.so'
++  LIB_des_appl="-ldes"
+ 
+-	  # hardcode_minus_L: Not really in the search PATH,
+-	  # but as the default location of the library.
+-	  _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
+-	  ;;
+-	*)
+-	  _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
+-	  _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
+-	  _LT_AC_TAGVAR(hardcode_direct, $1)=yes
+-	  _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
++  AC_MSG_RESULT([included libdes])
+ 
+-	  # hardcode_minus_L: Not really in the search PATH,
+-	  # but as the default location of the library.
+-	  _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
+-	  ;;
+-	esac
+-      fi
+-      ;;
++fi
++
++if test "$with_krb4" != no -a "$crypto_lib" != krb4; then
++	AC_MSG_ERROR([the crypto library used by krb4 lacks features
++required by Kerberos 5; to continue, you need to install a newer 
++Kerberos 4 or configure --without-krb4])
++fi
++
++if test "$openssl" = "yes"; then
++  AC_DEFINE([HAVE_OPENSSL], 1, [define to use openssl's libcrypto])
++fi
++if test "$old_hash" = yes; then
++  AC_DEFINE([HAVE_OLD_HASH_NAMES], 1,
++		[define if you have hash functions like md4_finito()])
++fi
++AM_CONDITIONAL(HAVE_OPENSSL, test "$openssl" = yes)dnl
++
++AC_SUBST(DIR_des)
++AC_SUBST(INCLUDE_des)
++AC_SUBST(LIB_des)
++AC_SUBST(LIB_des_a)
++AC_SUBST(LIB_des_so)
++AC_SUBST(LIB_des_appl)
++])
++
++dnl
++dnl $Id: with-all.m4,v 1.1 2001/08/29 17:01:23 assar Exp $
++dnl
++
++dnl AC_WITH_ALL(name)
++
++AC_DEFUN([AC_WITH_ALL], [
++AC_ARG_WITH($1,
++	AC_HELP_STRING([--with-$1=dir],
++		[use $1 in dir]))
++
++AC_ARG_WITH($1-lib,
++	AC_HELP_STRING([--with-$1-lib=dir],
++		[use $1 libraries in dir]),
++[if test "$withval" = "yes" -o "$withval" = "no"; then
++  AC_MSG_ERROR([No argument for --with-$1-lib])
++elif test "X$with_$1" = "X"; then
++  with_$1=yes
++fi])
++
++AC_ARG_WITH($1-include,
++	AC_HELP_STRING([--with-$1-include=dir],
++		[use $1 headers in dir]),
++[if test "$withval" = "yes" -o "$withval" = "no"; then
++  AC_MSG_ERROR([No argument for --with-$1-include])
++elif test "X$with_$1" = "X"; then
++  with_$1=yes
++fi])
++
++case "$with_$1" in
++yes)	;;
++no)	;;
++"")	;;
++*)	if test "$with_$1_include" = ""; then
++		with_$1_include="$with_$1/include"
++	fi
++	if test "$with_$1_lib" = ""; then
++		with_$1_lib="$with_$1/lib$abilibdirext"
++	fi
++	;;
++esac
++])
++dnl $Id: db.m4,v 1.9 2002/09/10 14:29:47 joda Exp $
++dnl
++dnl tests for various db libraries
++dnl
++AC_DEFUN([rk_DB],[
++AC_ARG_ENABLE(berkeley-db,
++                       AC_HELP_STRING([--disable-berkeley-db],
++                                      [if you don't want berkeley db]),[
++])
++
++have_ndbm=no
++db_type=unknown
++
++if test "$enable_berkeley_db" != no; then
++
++  AC_CHECK_HEADERS([				\
++	db4/db.h				\
++	db3/db.h				\
++	db.h					\
++	db_185.h				\
++  ])
++
++dnl db_create is used by db3 and db4
++
++  AC_FIND_FUNC_NO_LIBS(db_create, db4 db3 db, [
++  #include <stdio.h>
++  #ifdef HAVE_DB4_DB_H
++  #include <db4/db.h>
++  #elif defined(HAVE_DB3_DB_H)
++  #include <db3/db.h>
++  #else
++  #include <db.h>
++  #endif
++  ],[NULL, NULL, 0])
++
++  if test "$ac_cv_func_db_create" = "yes"; then
++    db_type=db3
++    if test "$ac_cv_funclib_db_create" != "yes"; then
++      DBLIB="$ac_cv_funclib_db_create"
++    else
++      DBLIB=""
++    fi
++    AC_DEFINE(HAVE_DB3, 1, [define if you have a berkeley db3/4 library])
++  else
++
++dnl dbopen is used by db1/db2
+ 
+-    irix5* | irix6* | nonstopux*)
+-      if test "$GCC" = yes; then
+-	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++    AC_FIND_FUNC_NO_LIBS(dbopen, db2 db, [
++    #include <stdio.h>
++    #if defined(HAVE_DB2_DB_H)
++    #include <db2/db.h>
++    #elif defined(HAVE_DB_185_H)
++    #include <db_185.h>
++    #elif defined(HAVE_DB_H)
++    #include <db.h>
++    #else
++    #error no db.h
++    #endif
++    ],[NULL, 0, 0, 0, NULL])
++
++    if test "$ac_cv_func_dbopen" = "yes"; then
++      db_type=db1
++      if test "$ac_cv_funclib_dbopen" != "yes"; then
++        DBLIB="$ac_cv_funclib_dbopen"
+       else
+-	_LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
+-	_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
++        DBLIB=""
+       fi
+-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
+-      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
+-      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
+-      ;;
++      AC_DEFINE(HAVE_DB1, 1, [define if you have a berkeley db1/2 library])
++    fi
++  fi
+ 
+-    netbsd*)
+-      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
+-	_LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
++dnl test for ndbm compatability
++
++  if test "$ac_cv_func_dbm_firstkey" != yes; then
++    AC_FIND_FUNC_NO_LIBS2(dbm_firstkey, $ac_cv_funclib_dbopen $ac_cv_funclib_db_create, [
++    #include <stdio.h>
++    #define DB_DBM_HSEARCH 1
++    #include <db.h>
++    DBM *dbm;
++    ],[NULL])
++  
++    if test "$ac_cv_func_dbm_firstkey" = "yes"; then
++      if test "$ac_cv_funclib_dbm_firstkey" != "yes"; then
++        LIB_NDBM="$ac_cv_funclib_dbm_firstkey"
+       else
+-	_LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
++        LIB_NDBM=""
+       fi
+-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
+-      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
+-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+-      ;;
++      AC_DEFINE(HAVE_DB_NDBM, 1, [define if you have ndbm compat in db])
++      AC_DEFINE(HAVE_NEW_DB, 1, [Define if NDBM really is DB (creates files *.db)])
++    else
++      $as_unset ac_cv_func_dbm_firstkey
++      $as_unset ac_cv_funclib_dbm_firstkey
++    fi
++  fi
+ 
+-    newsos6)
+-      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+-      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
+-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
+-      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
+-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+-      ;;
++fi # berkeley db
+ 
+-    openbsd*)
+-      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
+-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+-      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
+-	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
+-	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
+-	_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
+-      else
+-       case $host_os in
+-	 openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
+-	   _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
+-	   _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
+-	   ;;
+-	 *)
+-	   _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
+-	   _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
+-	   ;;
+-       esac
+-      fi
+-      ;;
++if test "$db_type" = "unknown" -o "$ac_cv_func_dbm_firstkey" = ""; then
+ 
+-    os2*)
+-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+-      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
+-      _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
+-      _LT_AC_TAGVAR(archive_cmds, $1)='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
+-      _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
+-      ;;
++  AC_CHECK_HEADERS([				\
++	dbm.h					\
++	ndbm.h					\
++  ])
+ 
+-    osf3*)
+-      if test "$GCC" = yes; then
+-	_LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
+-	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++  AC_FIND_FUNC_NO_LIBS(dbm_firstkey, ndbm, [
++  #include <stdio.h>
++  #if defined(HAVE_NDBM_H)
++  #include <ndbm.h>
++  #elif defined(HAVE_DBM_H)
++  #include <dbm.h>
++  #endif
++  DBM *dbm;
++  ],[NULL])
++
++  if test "$ac_cv_func_dbm_firstkey" = "yes"; then
++    if test "$ac_cv_funclib_dbm_firstkey" != "yes"; then
++      LIB_NDBM="$ac_cv_funclib_dbm_firstkey"
++    else
++      LIB_NDBM=""
++    fi
++    AC_DEFINE(HAVE_NDBM, 1, [define if you have a ndbm library])dnl
++    have_ndbm=yes
++    if test "$db_type" = "unknown"; then
++      db_type=ndbm
++      DBLIB="$LIB_NDBM"
++    fi
++  else
++
++    $as_unset ac_cv_func_dbm_firstkey
++    $as_unset ac_cv_funclib_dbm_firstkey
++
++    AC_CHECK_HEADERS([				\
++	  gdbm/ndbm.h				\
++    ])
++
++    AC_FIND_FUNC_NO_LIBS(dbm_firstkey, gdbm, [
++    #include <stdio.h>
++    #include <gdbm/ndbm.h>
++    DBM *dbm;
++    ],[NULL])
++
++    if test "$ac_cv_func_dbm_firstkey" = "yes"; then
++      if test "$ac_cv_funclib_dbm_firstkey" != "yes"; then
++	LIB_NDBM="$ac_cv_funclib_dbm_firstkey"
+       else
+-	_LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
+-	_LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
++	LIB_NDBM=""
+       fi
+-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
+-      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
+-      ;;
++      AC_DEFINE(HAVE_NDBM, 1, [define if you have a ndbm library])dnl
++      have_ndbm=yes
++      if test "$db_type" = "unknown"; then
++	db_type=ndbm
++	DBLIB="$LIB_NDBM"
++      fi
++    fi
++  fi
+ 
+-    osf4* | osf5*)	# as osf3* with the addition of -msym flag
+-      if test "$GCC" = yes; then
+-	_LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
+-	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+-	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
+-      else
+-	_LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
+-	_LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
+-	_LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
+-	$LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
++fi # unknown
+ 
+-	# Both c and cxx compiler support -rpath directly
+-	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
+-      fi
+-      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
+-      ;;
++if test "$have_ndbm" = "yes"; then
++  AC_MSG_CHECKING([if ndbm is implemented with db])
++  AC_TRY_RUN([
++#include <unistd.h>
++#include <fcntl.h>
++#if defined(HAVE_GDBM_NDBM_H)
++#include <gdbm/ndbm.h>
++#elif defined(HAVE_NDBM_H)
++#include <ndbm.h>
++#elif defined(HAVE_DBM_H)
++#include <dbm.h>
++#endif
++int main()
++{
++  DBM *d;
+ 
+-    sco3.2v5*)
+-      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+-      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
+-      runpath_var=LD_RUN_PATH
+-      hardcode_runpath_var=yes
+-      ;;
++  d = dbm_open("conftest", O_RDWR | O_CREAT, 0666);
++  if (d == NULL)
++    return 1;
++  dbm_close(d);
++  return 0;
++}],[
++    if test -f conftest.db; then
++      AC_MSG_RESULT([yes])
++      AC_DEFINE(HAVE_NEW_DB, 1, [Define if NDBM really is DB (creates files *.db)])
++    else
++      AC_MSG_RESULT([no])
++    fi],[AC_MSG_RESULT([no])])
++fi
+ 
+-    solaris*)
+-      _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
+-      if test "$GCC" = yes; then
+-	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
+-	_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
+-	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
+-      else
+-	_LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
+-	_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
+-  	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
+-      fi
+-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
+-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+-      case $host_os in
+-      solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
+-      *) # Supported since Solaris 2.6 (maybe 2.5.1?)
+-	_LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;;
+-      esac
+-      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
+-      ;;
++AM_CONDITIONAL(HAVE_DB1, test "$db_type" = db1)dnl
++AM_CONDITIONAL(HAVE_DB3, test "$db_type" = db3)dnl
++AM_CONDITIONAL(HAVE_NDBM, test "$db_type" = ndbm)dnl
++
++z=""
++for i in $LDFLAGS; do
++	case "$i" in
++	-L*) z="$z $i";;
++	esac
++done
++DBLIB="$z $DBLIB"
++AC_SUBST(DBLIB)dnl
++AC_SUBST(LIB_NDBM)dnl
++])
+ 
+-    sunos4*)
+-      if test "x$host_vendor" = xsequent; then
+-	# Use $CC to link under sequent, because it throws in some extra .o
+-	# files that make .init and .fini sections work.
+-	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
+-      else
+-	_LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
+-      fi
+-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+-      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
+-      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
+-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+-      ;;
++dnl $Id: roken.m4,v 1.3.8.1 2004/04/01 07:27:35 joda Exp $
++dnl
++dnl try to look for an installed roken library with sufficient stuff
++dnl
++dnl set LIB_roken to the what we should link with
++dnl set DIR_roken to if the directory should be built
++dnl set CPPFLAGS_roken to stuff to add to CPPFLAGS
++
++dnl AC_ROKEN(version,directory-to-try,roken-dir,fallback-library,fallback-cppflags)
++AC_DEFUN([AC_ROKEN], [
++
++AC_ARG_WITH(roken,
++	AC_HELP_STRING([--with-roken=dir],[use the roken library in dir]),
++[if test "$withval" = "no"; then
++  AC_MSG_ERROR(roken is required)
++fi])
+ 
+-    sysv4)
+-      case $host_vendor in
+-	sni)
+-	  _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+-	  _LT_AC_TAGVAR(hardcode_direct, $1)=yes # is this really true???
+-	;;
+-	siemens)
+-	  ## LD is ld it makes a PLAMLIB
+-	  ## CC just makes a GrossModule.
+-	  _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
+-	  _LT_AC_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
+-	  _LT_AC_TAGVAR(hardcode_direct, $1)=no
+-        ;;
+-	motorola)
+-	  _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+-	  _LT_AC_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie
+-	;;
+-      esac
+-      runpath_var='LD_RUN_PATH'
+-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+-      ;;
++save_CPPFLAGS="${CPPFLAGS}"
+ 
+-    sysv4.3*)
+-      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+-      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
+-      ;;
++case $with_roken in
++yes|"")
++  dirs="$2" ;;
++*)
++  dirs="$with_roken" ;;
++esac
+ 
+-    sysv4*MP*)
+-      if test -d /usr/nec; then
+-	_LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+-	_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+-	runpath_var=LD_RUN_PATH
+-	hardcode_runpath_var=yes
+-	_LT_AC_TAGVAR(ld_shlibs, $1)=yes
+-      fi
+-      ;;
++roken_installed=no
+ 
+-    sysv4.2uw2*)
+-      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
+-      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
+-      _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
+-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+-      hardcode_runpath_var=yes
+-      runpath_var=LD_RUN_PATH
+-      ;;
++for i in $dirs; do
+ 
+-   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[[78]]* | unixware7*)
+-      _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z ${wl}text'
+-      if test "$GCC" = yes; then
+-	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
+-      else
+-	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
+-      fi
+-      runpath_var='LD_RUN_PATH'
+-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+-      ;;
++AC_MSG_CHECKING(for roken in $i)
++
++CPPFLAGS="-I$i/include ${CPPFLAGS}"
++
++AC_TRY_CPP(
++[#include <roken.h>
++//#if ROKEN_VERSION < $1
++//#error old roken version, should be $1
++//fail
++//#endif
++],[roken_installed=yes; break])
++
++AC_MSG_RESULT($roken_installed)
++
++done
++
++CPPFLAGS="$save_CPPFLAGS"
++
++if test "$roken_installed" != "yes"; then
++  DIR_roken="roken"
++  LIB_roken='$4'
++  CPPFLAGS_roken='$5'
++dnl  AC_CONFIG_SUBDIRS(lib/roken)
++else
++  LIB_roken="$i/lib/libroken.la"
++  CPPFLAGS_roken="-I$i/include"
++fi
++
++AC_FIND_FUNC_NO_LIBS(crypt, crypt)dnl
++LIB_roken="${LIB_roken} \$(LIB_crypt) \$(LIB_dbopen)"
++
++AC_SUBST(LIB_roken)dnl
++AC_SUBST(DIR_roken)dnl
++AC_SUBST(CPPFLAGS_roken)dnl
++])
++
++dnl $Id: roken-frag.m4,v 1.45.2.1 2004/04/01 07:27:35 joda Exp $
++dnl
++dnl some code to get roken working
++dnl
++dnl rk_ROKEN(subdir)
++dnl
++AC_DEFUN([rk_ROKEN], [
++
++AC_REQUIRE([rk_CONFIG_HEADER])
++
++dnl DIR_roken=roken
++dnl LIB_roken='$(top_builddir)/$1/libroken.la'
++dnl INCLUDES_roken='-I$(top_builddir)/$1 -I$(top_srcdir)/$1'
++
++dnl Checks for programs
++AC_REQUIRE([AC_PROG_CC])
++AC_REQUIRE([AC_PROG_AWK])
++AC_REQUIRE([AC_OBJEXT])
++AC_REQUIRE([AC_EXEEXT])
++AC_REQUIRE([AC_PROG_LIBTOOL])
++
++AC_REQUIRE([AC_MIPS_ABI])
++
++dnl C characteristics
++
++AC_REQUIRE([AC_C___ATTRIBUTE__])
++AC_REQUIRE([AC_C_INLINE])
++AC_REQUIRE([AC_C_CONST])
++AC_WFLAGS(-Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs)
++
++AC_REQUIRE([rk_DB])
++
++dnl C types
++
++AC_REQUIRE([AC_TYPE_SIZE_T])
++AC_HAVE_TYPE([ssize_t],[#include <unistd.h>])
++AC_REQUIRE([AC_TYPE_PID_T])
++AC_REQUIRE([AC_TYPE_UID_T])
++AC_HAVE_TYPE([long long])
++
++AC_REQUIRE([rk_RETSIGTYPE])
++
++dnl Checks for header files.
++AC_REQUIRE([AC_HEADER_STDC])
++AC_REQUIRE([AC_HEADER_TIME])
++
++AC_CHECK_HEADERS([\
++	arpa/inet.h				\
++	arpa/nameser.h				\
++	config.h				\
++	crypt.h					\
++	dirent.h				\
++	errno.h					\
++	err.h					\
++	fcntl.h					\
++	grp.h					\
++	ifaddrs.h				\
++	net/if.h				\
++	netdb.h					\
++	netinet/in.h				\
++	netinet/in6.h				\
++	netinet/in_systm.h			\
++	netinet6/in6.h				\
++	netinet6/in6_var.h			\
++	paths.h					\
++	pwd.h					\
++	resolv.h				\
++	rpcsvc/ypclnt.h				\
++	shadow.h				\
++	sys/bswap.h				\
++	sys/ioctl.h				\
++	sys/mman.h				\
++	sys/param.h				\
++	sys/proc.h				\
++	sys/resource.h				\
++	sys/socket.h				\
++	sys/sockio.h				\
++	sys/stat.h				\
++	sys/sysctl.h				\
++	sys/time.h				\
++	sys/tty.h				\
++	sys/types.h				\
++	sys/uio.h				\
++	sys/utsname.h				\
++	sys/wait.h				\
++	syslog.h				\
++	termios.h				\
++	unistd.h				\
++	userconf.h				\
++	usersec.h				\
++	util.h					\
++	vis.h					\
++])
++	
++AC_REQUIRE([CHECK_NETINET_IP_AND_TCP])
++
++AM_CONDITIONAL(have_err_h, test "$ac_cv_header_err_h" = yes)
++AM_CONDITIONAL(have_fnmatch_h, test "$ac_cv_header_fnmatch_h" = yes)
++AM_CONDITIONAL(have_ifaddrs_h, test "$ac_cv_header_ifaddrs_h" = yes)
++AM_CONDITIONAL(have_vis_h, test "$ac_cv_header_vis_h" = yes)
++
++dnl Check for functions and libraries
++
++AC_FIND_FUNC(socket, socket)
++AC_FIND_FUNC(gethostbyname, nsl)
++AC_FIND_FUNC(syslog, syslog)
++
++AC_KRB_IPV6
++
++AC_FIND_FUNC(gethostbyname2, inet6 ip6)
++
++AC_FIND_FUNC(res_search, resolv,
++[
++#include <stdio.h>
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_NAMESER_H
++#include <arpa/nameser.h>
++#endif
++#ifdef HAVE_RESOLV_H
++#include <resolv.h>
++#endif
++],
++[0,0,0,0,0])
++
++AC_FIND_FUNC(res_nsearch, resolv,
++[
++#include <stdio.h>
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_NAMESER_H
++#include <arpa/nameser.h>
++#endif
++#ifdef HAVE_RESOLV_H
++#include <resolv.h>
++#endif
++],
++[0,0,0,0,0,0])
++
++AC_FIND_FUNC(dn_expand, resolv,
++[
++#include <stdio.h>
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_NAMESER_H
++#include <arpa/nameser.h>
++#endif
++#ifdef HAVE_RESOLV_H
++#include <resolv.h>
++#endif
++],
++[0,0,0,0,0])
++
++rk_CHECK_VAR(_res, 
++[#include <stdio.h>
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_NAMESER_H
++#include <arpa/nameser.h>
++#endif
++#ifdef HAVE_RESOLV_H
++#include <resolv.h>
++#endif])
++
++
++AC_BROKEN_SNPRINTF
++AC_BROKEN_VSNPRINTF
++
++AC_BROKEN_GLOB
++if test "$ac_cv_func_glob_working" != yes; then
++	AC_LIBOBJ(glob)
++fi
++AM_CONDITIONAL(have_glob_h, test "$ac_cv_func_glob_working" = yes)
++
++
++AC_CHECK_FUNCS([				\
++	asnprintf				\
++	asprintf				\
++	atexit					\
++	cgetent					\
++	getconfattr				\
++	getprogname				\
++	getrlimit				\
++	getspnam				\
++	initstate				\
++	issetugid				\
++	on_exit					\
++	random					\
++	setprogname				\
++	setstate				\
++	strsvis					\
++	strunvis				\
++	strvis					\
++	strvisx					\
++	svis					\
++	sysconf					\
++	sysctl					\
++	uname					\
++	unvis					\
++	vasnprintf				\
++	vasprintf				\
++	vis					\
++])
++
++if test "$ac_cv_func_cgetent" = no; then
++	AC_LIBOBJ(getcap)
++fi
+ 
+-    sysv5*)
+-      _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
+-      # $CC -shared without GNU ld will not create a library from C++
+-      # object files and a static libstdc++, better avoid it by now
+-      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
+-      _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
+-  		$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
+-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
+-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+-      runpath_var='LD_RUN_PATH'
+-      ;;
++AC_REQUIRE([AC_FUNC_GETLOGIN])
+ 
+-    uts4*)
+-      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+-      ;;
++AC_REQUIRE([AC_FUNC_MMAP])
+ 
+-    *)
+-      _LT_AC_TAGVAR(ld_shlibs, $1)=no
+-      ;;
+-    esac
+-  fi
++AC_FIND_FUNC_NO_LIBS(getsockopt,,
++[#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif],
++[0,0,0,0,0])
++AC_FIND_FUNC_NO_LIBS(setsockopt,,
++[#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif],
++[0,0,0,0,0])
++
++AC_FIND_IF_NOT_BROKEN(hstrerror, resolv,
++[#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif],
++17)
++AC_NEED_PROTO([
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif],
++hstrerror)
++
++AC_FOREACH([rk_func], [asprintf vasprintf asnprintf vasnprintf],
++	[AC_NEED_PROTO([
++	#include <stdio.h>
++	#include <string.h>],
++	rk_func)])
++
++AC_FIND_FUNC_NO_LIBS(bswap16,,
++[#ifdef HAVE_SYS_BSWAP_H
++#include <sys/bswap.h>
++#endif],0)
++
++AC_FIND_FUNC_NO_LIBS(bswap32,,
++[#ifdef HAVE_SYS_BSWAP_H
++#include <sys/bswap.h>
++#endif],0)
++
++AC_FIND_FUNC_NO_LIBS(pidfile,util,
++[#ifdef HAVE_UTIL_H
++#include <util.h>
++#endif],0)
++
++AC_FIND_IF_NOT_BROKEN(getaddrinfo,,
++[#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif],[0,0,0,0])
++
++AC_FIND_IF_NOT_BROKEN(getnameinfo,,
++[#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif],[0,0,0,0,0,0,0])
++
++AC_FIND_IF_NOT_BROKEN(freeaddrinfo,,
++[#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif],[0])
++
++AC_FIND_IF_NOT_BROKEN(gai_strerror,,
++[#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif],[0])
++
++AC_BROKEN([					\
++	chown					\
++	copyhostent				\
++	daemon					\
++	ecalloc					\
++	emalloc					\
++	erealloc				\
++	estrdup					\
++	err					\
++	errx					\
++	fchown					\
++	flock					\
++	fnmatch					\
++	freehostent				\
++	getcwd					\
++	getdtablesize				\
++	getegid					\
++	geteuid					\
++	getgid					\
++	gethostname				\
++	getifaddrs				\
++	getipnodebyaddr				\
++	getipnodebyname				\
++	getopt					\
++	gettimeofday				\
++	getuid					\
++	getusershell				\
++	initgroups				\
++	innetgr					\
++	iruserok				\
++	localtime_r				\
++	lstat					\
++	memmove					\
++	mkstemp					\
++	putenv					\
++	rcmd					\
++	readv					\
++	recvmsg					\
++	sendmsg					\
++	setegid					\
++	setenv					\
++	seteuid					\
++	strcasecmp				\
++	strdup					\
++	strerror				\
++	strftime				\
++	strlcat					\
++	strlcpy					\
++	strlwr					\
++	strncasecmp				\
++	strndup					\
++	strnlen					\
++	strptime				\
++	strsep					\
++	strsep_copy				\
++	strtok_r				\
++	strupr					\
++	swab					\
++	unsetenv				\
++	verr					\
++	verrx					\
++	vsyslog					\
++	vwarn					\
++	vwarnx					\
++	warn					\
++	warnx					\
++	writev					\
+ ])
+-AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
+-test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
+ 
+-variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
+-if test "$GCC" = yes; then
+-  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
+-fi
++AC_FOREACH([rk_func], [strndup strsep strtok_r],
++	[AC_NEED_PROTO([#include <string.h>], rk_func)])
+ 
+-#
+-# Do we need to explicitly link libc?
+-#
+-case "x$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)" in
+-x|xyes)
+-  # Assume -lc should be added
+-  _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
++AC_FOREACH([rk_func], [strsvis strunvis strvis strvisx svis unvis vis],
++[AC_NEED_PROTO([#ifdef HAVE_VIS_H
++#include <vis.h>
++#endif], rk_func)])
++
++AC_BROKEN2(inet_aton,
++[#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_INET_H
++#include <arpa/inet.h>
++#endif],
++[0,0])
++
++AC_BROKEN2(inet_ntop,
++[#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_INET_H
++#include <arpa/inet.h>
++#endif],
++[0, 0, 0, 0])
++
++AC_BROKEN2(inet_pton,
++[#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_INET_H
++#include <arpa/inet.h>
++#endif],
++[0,0,0])
+ 
+-  if test "$enable_shared" = yes && test "$GCC" = yes; then
+-    case $_LT_AC_TAGVAR(archive_cmds, $1) in
+-    *'~'*)
+-      # FIXME: we may have to deal with multi-command sequences.
+-      ;;
+-    '$CC '*)
+-      # Test whether the compiler implicitly links with -lc since on some
+-      # systems, -lgcc has to come before -lc. If gcc already passes -lc
+-      # to ld, don't add -lc before -lgcc.
+-      AC_MSG_CHECKING([whether -lc should be explicitly linked in])
+-      $rm conftest*
+-      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
++dnl
++dnl Check for sa_len in struct sockaddr, 
++dnl needs to come before the getnameinfo test
++dnl
++AC_HAVE_STRUCT_FIELD(struct sockaddr, sa_len, [#include <sys/types.h>
++#include <sys/socket.h>])
+ 
+-      if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
+-        soname=conftest
+-        lib=conftest
+-        libobjs=conftest.$ac_objext
+-        deplibs=
+-        wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
+-        compiler_flags=-v
+-        linker_flags=-v
+-        verstring=
+-        output_objdir=.
+-        libname=conftest
+-        lt_save_allow_undefined_flag=$_LT_AC_TAGVAR(allow_undefined_flag, $1)
+-        _LT_AC_TAGVAR(allow_undefined_flag, $1)=
+-        if AC_TRY_EVAL(_LT_AC_TAGVAR(archive_cmds, $1) 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1)
+-        then
+-	  _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
+-        else
+-	  _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
+-        fi
+-        _LT_AC_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
+-      else
+-        cat conftest.err 1>&5
+-      fi
+-      $rm conftest*
+-      AC_MSG_RESULT([$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)])
+-      ;;
+-    esac
++if test "$ac_cv_func_getnameinfo" = "yes"; then
++  rk_BROKEN_GETNAMEINFO
++  if test "$ac_cv_func_getnameinfo_broken" = yes; then
++	AC_LIBOBJ(getnameinfo)
+   fi
+-  ;;
+-esac
+-])# AC_LIBTOOL_PROG_LD_SHLIBS
++fi
+ 
++if test "$ac_cv_func_getaddrinfo" = "yes"; then
++  rk_BROKEN_GETADDRINFO
++  if test "$ac_cv_func_getaddrinfo_numserv" = no; then
++	AC_LIBOBJ(getaddrinfo)
++	AC_LIBOBJ(freeaddrinfo)
++  fi
++fi
+ 
+-# _LT_AC_FILE_LTDLL_C
+-# -------------------
+-# Be careful that the start marker always follows a newline.
+-AC_DEFUN([_LT_AC_FILE_LTDLL_C], [
+-# /* ltdll.c starts here */
+-# #define WIN32_LEAN_AND_MEAN
+-# #include <windows.h>
+-# #undef WIN32_LEAN_AND_MEAN
+-# #include <stdio.h>
+-#
+-# #ifndef __CYGWIN__
+-# #  ifdef __CYGWIN32__
+-# #    define __CYGWIN__ __CYGWIN32__
+-# #  endif
+-# #endif
+-#
+-# #ifdef __cplusplus
+-# extern "C" {
+-# #endif
+-# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
+-# #ifdef __cplusplus
+-# }
+-# #endif
+-#
+-# #ifdef __CYGWIN__
+-# #include <cygwin/cygwin_dll.h>
+-# DECLARE_CYGWIN_DLL( DllMain );
+-# #endif
+-# HINSTANCE __hDllInstance_base;
+-#
+-# BOOL APIENTRY
+-# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
+-# {
+-#   __hDllInstance_base = hInst;
+-#   return TRUE;
+-# }
+-# /* ltdll.c ends here */
+-])# _LT_AC_FILE_LTDLL_C
++AC_NEED_PROTO([#include <stdlib.h>], setenv)
++AC_NEED_PROTO([#include <stdlib.h>], unsetenv)
++AC_NEED_PROTO([#include <unistd.h>], gethostname)
++AC_NEED_PROTO([#include <unistd.h>], mkstemp)
++AC_NEED_PROTO([#include <unistd.h>], getusershell)
+ 
++AC_NEED_PROTO([
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_INET_H
++#include <arpa/inet.h>
++#endif],
++inet_aton)
+ 
+-# _LT_AC_TAGVAR(VARNAME, [TAGNAME])
+-# ---------------------------------
+-AC_DEFUN([_LT_AC_TAGVAR], [ifelse([$2], [], [$1], [$1_$2])])
++AC_FIND_FUNC_NO_LIBS(crypt, crypt)dnl
+ 
++AC_REQUIRE([rk_BROKEN_REALLOC])dnl
+ 
+-# old names
+-AC_DEFUN([AM_PROG_LIBTOOL],   [AC_PROG_LIBTOOL])
+-AC_DEFUN([AM_ENABLE_SHARED],  [AC_ENABLE_SHARED($@)])
+-AC_DEFUN([AM_ENABLE_STATIC],  [AC_ENABLE_STATIC($@)])
+-AC_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
+-AC_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
+-AC_DEFUN([AM_PROG_LD],        [AC_PROG_LD])
+-AC_DEFUN([AM_PROG_NM],        [AC_PROG_NM])
++dnl AC_KRB_FUNC_GETCWD_BROKEN
+ 
+-# This is just to silence aclocal about the macro not being used
+-ifelse([AC_DISABLE_FAST_INSTALL])
++dnl
++dnl Checks for prototypes and declarations
++dnl
+ 
+-AC_DEFUN([LT_AC_PROG_GCJ],
+-[AC_CHECK_TOOL(GCJ, gcj, no)
+-  test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
+-  AC_SUBST(GCJFLAGS)
+-])
++AC_PROTO_COMPAT([
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_INET_H
++#include <arpa/inet.h>
++#endif
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif
++],
++gethostbyname, struct hostent *gethostbyname(const char *))
+ 
+-AC_DEFUN([LT_AC_PROG_RC],
+-[AC_CHECK_TOOL(RC, windres, no)
+-])
++AC_PROTO_COMPAT([
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_INET_H
++#include <arpa/inet.h>
++#endif
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif
++],
++gethostbyaddr, struct hostent *gethostbyaddr(const void *, size_t, int))
+ 
+-# NOTE: This macro has been submitted for inclusion into   #
+-#  GNU Autoconf as AC_PROG_SED.  When it is available in   #
+-#  a released version of Autoconf we should remove this    #
+-#  macro and use it instead.                               #
+-# LT_AC_PROG_SED
+-# --------------
+-# Check for a fully-functional sed program, that truncates
+-# as few characters as possible.  Prefer GNU sed if found.
+-AC_DEFUN([LT_AC_PROG_SED],
+-[AC_MSG_CHECKING([for a sed that does not truncate output])
+-AC_CACHE_VAL(lt_cv_path_SED,
+-[# Loop through the user's path and test for sed and gsed.
+-# Then use that list of sed's as ones to test for truncation.
+-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+-for as_dir in $PATH
+-do
+-  IFS=$as_save_IFS
+-  test -z "$as_dir" && as_dir=.
+-  for lt_ac_prog in sed gsed; do
+-    for ac_exec_ext in '' $ac_executable_extensions; do
+-      if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
+-        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
+-      fi
+-    done
+-  done
+-done
+-lt_ac_max=0
+-lt_ac_count=0
+-# Add /usr/xpg4/bin/sed as it is typically found on Solaris
+-# along with /bin/sed that truncates output.
+-for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
+-  test ! -f $lt_ac_sed && break
+-  cat /dev/null > conftest.in
+-  lt_ac_count=0
+-  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
+-  # Check for GNU sed and select it if it is found.
+-  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
+-    lt_cv_path_SED=$lt_ac_sed
+-    break
+-  fi
+-  while true; do
+-    cat conftest.in conftest.in >conftest.tmp
+-    mv conftest.tmp conftest.in
+-    cp conftest.in conftest.nl
+-    echo >>conftest.nl
+-    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
+-    cmp -s conftest.out conftest.nl || break
+-    # 10000 chars as input seems more than enough
+-    test $lt_ac_count -gt 10 && break
+-    lt_ac_count=`expr $lt_ac_count + 1`
+-    if test $lt_ac_count -gt $lt_ac_max; then
+-      lt_ac_max=$lt_ac_count
+-      lt_cv_path_SED=$lt_ac_sed
+-    fi
+-  done
+-done
+-SED=$lt_cv_path_SED
++AC_PROTO_COMPAT([
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_INET_H
++#include <arpa/inet.h>
++#endif
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif
++],
++getservbyname, struct servent *getservbyname(const char *, const char *))
++
++AC_PROTO_COMPAT([
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++],
++getsockname, int getsockname(int, struct sockaddr*, socklen_t*))
++
++AC_PROTO_COMPAT([
++#ifdef HAVE_SYSLOG_H
++#include <syslog.h>
++#endif
++],
++openlog, void openlog(const char *, int, int))
++
++AC_NEED_PROTO([
++#ifdef HAVE_CRYPT_H
++#include <crypt.h>
++#endif
++#ifdef HAVE_UNISTD_H
++#include <unistd.h>
++#endif
++],
++crypt)
++
++dnl variables
++
++rk_CHECK_VAR(h_errno, 
++[#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif])
++
++rk_CHECK_VAR(h_errlist, 
++[#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif])
++
++rk_CHECK_VAR(h_nerr, 
++[#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif])
++
++rk_CHECK_VAR([__progname], 
++[#ifdef HAVE_ERR_H
++#include <err.h>
++#endif])
++
++AC_CHECK_DECLARATION([#include <stdlib.h>
++#ifdef HAVE_UNISTD_H
++#include <unistd.h>
++#endif], optarg)
++AC_CHECK_DECLARATION([#include <stdlib.h>
++#ifdef HAVE_UNISTD_H
++#include <unistd.h>
++#endif], optind)
++AC_CHECK_DECLARATION([#include <stdlib.h>
++#ifdef HAVE_UNISTD_H
++#include <unistd.h>
++#endif], opterr)
++AC_CHECK_DECLARATION([#include <stdlib.h>
++#ifdef HAVE_UNISTD_H
++#include <unistd.h>
++#endif], optopt)
++
++AC_CHECK_DECLARATION([#include <stdlib.h>], environ)
++
++dnl
++dnl Check for fields in struct tm
++dnl
++
++AC_HAVE_STRUCT_FIELD(struct tm, tm_gmtoff, [#include <time.h>])
++AC_HAVE_STRUCT_FIELD(struct tm, tm_zone, [#include <time.h>])
++
++dnl
++dnl or do we have a variable `timezone' ?
++dnl
++
++rk_CHECK_VAR(timezone,[#include <time.h>])
++rk_CHECK_VAR(altzone,[#include <time.h>])
++
++AC_HAVE_TYPE([sa_family_t],[#include <sys/socket.h>])
++AC_HAVE_TYPE([socklen_t],[#include <sys/socket.h>])
++AC_HAVE_TYPE([struct sockaddr], [#include <sys/socket.h>])
++AC_HAVE_TYPE([struct sockaddr_storage], [#include <sys/socket.h>])
++AC_HAVE_TYPE([struct addrinfo], [#include <netdb.h>])
++AC_HAVE_TYPE([struct ifaddrs], [#include <ifaddrs.h>])
++AC_HAVE_TYPE([struct iovec],[
++#include <sys/types.h>
++#include <sys/uio.h>
+ ])
+-AC_MSG_RESULT([$SED])
++AC_HAVE_TYPE([struct msghdr],[
++#include <sys/types.h>
++#include <sys/socket.h>
+ ])
+ 
+-#                                                        -*- Autoconf -*-
+-# Copyright (C) 2002, 2003  Free Software Foundation, Inc.
+-# Generated from amversion.in; do not edit by hand.
+-
+-# 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, or (at your option)
+-# any later version.
++dnl
++dnl Check for struct winsize
++dnl
+ 
+-# 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.
++AC_KRB_STRUCT_WINSIZE
+ 
+-# 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., 59 Temple Place - Suite 330, Boston, MA
++dnl
++dnl Check for struct spwd
++dnl
+ 
+-# AM_AUTOMAKE_VERSION(VERSION)
+-# ----------------------------
+-# Automake X.Y traces this macro to ensure aclocal.m4 has been
+-# generated from the m4 files accompanying Automake X.Y.
+-AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.8"])
++AC_KRB_STRUCT_SPWD
+ 
+-# AM_SET_CURRENT_AUTOMAKE_VERSION
+-# -------------------------------
+-# Call AM_AUTOMAKE_VERSION so it can be traced.
+-# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
+-AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
+-	 [AM_AUTOMAKE_VERSION([1.8.3])])
++dnl won't work with automake
++dnl moved to AC_OUTPUT in configure.in
++dnl AC_CONFIG_FILES($1/Makefile)
+ 
+-# AM_AUX_DIR_EXPAND
++dnl LIB_roken="${LIB_roken} \$(LIB_crypt) \$(LIB_dbopen)"
+ 
+-# Copyright (C) 2001, 2003 Free Software Foundation, Inc.
++dnl AC_SUBST(DIR_roken)dnl
++dnl AC_SUBST(LIB_roken)dnl
++dnl AC_SUBST(INCLUDES_roken)dnl
++])
+ 
+-# 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, or (at your option)
+-# any later version.
++dnl $Id: have-type.m4,v 1.6.12.1 2004/04/01 07:27:33 joda Exp $
++dnl
++dnl check for existance of a type
+ 
+-# 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.
++dnl AC_HAVE_TYPE(TYPE,INCLUDES)
++AC_DEFUN([AC_HAVE_TYPE], [
++AC_REQUIRE([AC_HEADER_STDC])
++cv=`echo "$1" | sed 'y%./+- %__p__%'`
++AC_MSG_CHECKING(for $1)
++AC_CACHE_VAL([ac_cv_type_$cv],
++AC_TRY_COMPILE(
++[#include <sys/types.h>
++#if STDC_HEADERS
++#include <stdlib.h>
++#include <stddef.h>
++#endif
++$2],
++[$1 foo;],
++eval "ac_cv_type_$cv=yes",
++eval "ac_cv_type_$cv=no"))dnl
++ac_foo=`eval echo \\$ac_cv_type_$cv`
++AC_MSG_RESULT($ac_foo)
++if test "$ac_foo" = yes; then
++  ac_tr_hdr=HAVE_`echo $1 | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
++if false; then
++	AC_CHECK_TYPES($1)
++fi
++  AC_DEFINE_UNQUOTED($ac_tr_hdr, 1, [Define if you have type `$1'])
++fi
++])
+ 
+-# 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., 59 Temple Place - Suite 330, Boston, MA
+-# 02111-1307, USA.
++dnl
++dnl $Id: retsigtype.m4,v 1.1.12.1 2004/04/01 07:27:35 joda Exp $
++dnl
++dnl Figure out return type of signal handlers, and define SIGRETURN macro
++dnl that can be used to return from one
++dnl
++AC_DEFUN([rk_RETSIGTYPE],[
++AC_TYPE_SIGNAL
++if test "$ac_cv_type_signal" = "void" ; then
++	AC_DEFINE(VOID_RETSIGTYPE, 1, [Define if signal handlers return void.])
++fi
++AC_SUBST(VOID_RETSIGTYPE)
++AH_BOTTOM([#ifdef VOID_RETSIGTYPE
++#define SIGRETURN(x) return
++#else
++#define SIGRETURN(x) return (RETSIGTYPE)(x)
++#endif])
++])
++dnl
++dnl $Id: check-netinet-ip-and-tcp.m4,v 1.3.12.1 2004/04/01 07:27:33 joda Exp $
++dnl
+ 
+-# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
+-# $ac_aux_dir to `$srcdir/foo'.  In other projects, it is set to
+-# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
+-#
+-# Of course, Automake must honor this variable whenever it calls a
+-# tool from the auxiliary directory.  The problem is that $srcdir (and
+-# therefore $ac_aux_dir as well) can be either absolute or relative,
+-# depending on how configure is run.  This is pretty annoying, since
+-# it makes $ac_aux_dir quite unusable in subdirectories: in the top
+-# source directory, any form will work fine, but in subdirectories a
+-# relative path needs to be adjusted first.
+-#
+-# $ac_aux_dir/missing
+-#    fails when called from a subdirectory if $ac_aux_dir is relative
+-# $top_srcdir/$ac_aux_dir/missing
+-#    fails if $ac_aux_dir is absolute,
+-#    fails when called from a subdirectory in a VPATH build with
+-#          a relative $ac_aux_dir
+-#
+-# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
+-# are both prefixed by $srcdir.  In an in-source build this is usually
+-# harmless because $srcdir is `.', but things will broke when you
+-# start a VPATH build or use an absolute $srcdir.
+-#
+-# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
+-# iff we strip the leading $srcdir from $ac_aux_dir.  That would be:
+-#   am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
+-# and then we would define $MISSING as
+-#   MISSING="\${SHELL} $am_aux_dir/missing"
+-# This will work as long as MISSING is not called from configure, because
+-# unfortunately $(top_srcdir) has no meaning in configure.
+-# However there are other variables, like CC, which are often used in
+-# configure, and could therefore not use this "fixed" $ac_aux_dir.
+-#
+-# Another solution, used here, is to always expand $ac_aux_dir to an
+-# absolute PATH.  The drawback is that using absolute paths prevent a
+-# configured tree to be moved without reconfiguration.
++dnl extra magic check for netinet/{ip.h,tcp.h} because on irix 6.5.3
++dnl you have to include standards.h before including these files
+ 
+-AC_DEFUN([AM_AUX_DIR_EXPAND],
+-[dnl Rely on autoconf to set up CDPATH properly.
+-AC_PREREQ([2.50])dnl
+-# expand $ac_aux_dir to an absolute path
+-am_aux_dir=`cd $ac_aux_dir && pwd`
+-])
++AC_DEFUN([CHECK_NETINET_IP_AND_TCP],
++[
++AC_CHECK_HEADERS(standards.h)
++for i in netinet/ip.h netinet/tcp.h; do
+ 
+-# AM_CONDITIONAL                                              -*- Autoconf -*-
++cv=`echo "$i" | sed 'y%./+-%__p_%'`
+ 
+-# Copyright (C) 1997, 2000, 2001, 2003 Free Software Foundation, Inc.
++AC_CACHE_CHECK([for $i],ac_cv_header_$cv,
++[AC_TRY_CPP([\
++#ifdef HAVE_STANDARDS_H
++#include <standards.h>
++#endif
++#include <$i>
++],
++eval "ac_cv_header_$cv=yes",
++eval "ac_cv_header_$cv=no")])
++ac_res=`eval echo \\$ac_cv_header_$cv`
++if test "$ac_res" = yes; then
++	ac_tr_hdr=HAVE_`echo $i | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
++	AC_DEFINE_UNQUOTED($ac_tr_hdr, 1)
++fi
++done
++if false;then
++	AC_CHECK_HEADERS(netinet/ip.h netinet/tcp.h)
++fi
++])
+ 
+-# 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, or (at your option)
+-# any later version.
++dnl $Id: krb-ipv6.m4,v 1.13.8.1 2004/04/01 07:27:34 joda Exp $
++dnl
++dnl test for IPv6
++dnl
++AC_DEFUN([AC_KRB_IPV6], [
++AC_ARG_WITH(ipv6,
++	AC_HELP_STRING([--without-ipv6],[do not enable IPv6 support]),[
++if test "$withval" = "no"; then
++	ac_cv_lib_ipv6=no
++fi])
++save_CFLAGS="${CFLAGS}"
++AC_CACHE_CHECK([for IPv6 stack type], v6type,
++[dnl check for different v6 implementations (by itojun)
++v6type=unknown
++v6lib=none
++
++for i in v6d toshiba kame inria zeta linux; do
++	case $i in
++	v6d)
++		AC_EGREP_CPP(yes, [
++#include </usr/local/v6/include/sys/types.h>
++#ifdef __V6D__
++yes
++#endif],
++			[v6type=$i; v6lib=v6;
++			v6libdir=/usr/local/v6/lib;
++			CFLAGS="-I/usr/local/v6/include $CFLAGS"])
++		;;
++	toshiba)
++		AC_EGREP_CPP(yes, [
++#include <sys/param.h>
++#ifdef _TOSHIBA_INET6
++yes
++#endif],
++			[v6type=$i; v6lib=inet6;
++			v6libdir=/usr/local/v6/lib;
++			CFLAGS="-DINET6 $CFLAGS"])
++		;;
++	kame)
++		AC_EGREP_CPP(yes, [
++#include <netinet/in.h>
++#ifdef __KAME__
++yes
++#endif],
++			[v6type=$i; v6lib=inet6;
++			v6libdir=/usr/local/v6/lib;
++			CFLAGS="-DINET6 $CFLAGS"])
++		;;
++	inria)
++		AC_EGREP_CPP(yes, [
++#include <netinet/in.h>
++#ifdef IPV6_INRIA_VERSION
++yes
++#endif],
++			[v6type=$i; CFLAGS="-DINET6 $CFLAGS"])
++		;;
++	zeta)
++		AC_EGREP_CPP(yes, [
++#include <sys/param.h>
++#ifdef _ZETA_MINAMI_INET6
++yes
++#endif],
++			[v6type=$i; v6lib=inet6;
++			v6libdir=/usr/local/v6/lib;
++			CFLAGS="-DINET6 $CFLAGS"])
++		;;
++	linux)
++		if test -d /usr/inet6; then
++			v6type=$i
++			v6lib=inet6
++			v6libdir=/usr/inet6
++			CFLAGS="-DINET6 $CFLAGS"
++		fi
++		;;
++	esac
++	if test "$v6type" != "unknown"; then
++		break
++	fi
++done
+ 
+-# 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.
++if test "$v6lib" != "none"; then
++	for dir in $v6libdir /usr/local/v6/lib /usr/local/lib; do
++		if test -d $dir -a -f $dir/lib$v6lib.a; then
++			LIBS="-L$dir -l$v6lib $LIBS"
++			break
++		fi
++	done
++fi
++])
+ 
+-# 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., 59 Temple Place - Suite 330, Boston, MA
+-# 02111-1307, USA.
++AC_CACHE_CHECK([for IPv6], ac_cv_lib_ipv6, [
++AC_TRY_LINK([
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_NETINET_IN6_H
++#include <netinet/in6.h>
++#endif
++],
++[
++ struct sockaddr_in6 sin6;
++ int s;
+ 
+-# serial 6
++ s = socket(AF_INET6, SOCK_DGRAM, 0);
+ 
+-# AM_CONDITIONAL(NAME, SHELL-CONDITION)
+-# -------------------------------------
+-# Define a conditional.
+-AC_DEFUN([AM_CONDITIONAL],
+-[AC_PREREQ(2.52)dnl
+- ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
+-	[$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
+-AC_SUBST([$1_TRUE])
+-AC_SUBST([$1_FALSE])
+-if $2; then
+-  $1_TRUE=
+-  $1_FALSE='#'
++ sin6.sin6_family = AF_INET6;
++ sin6.sin6_port = htons(17);
++ sin6.sin6_addr = in6addr_any;
++ bind(s, (struct sockaddr *)&sin6, sizeof(sin6));
++],
++ac_cv_lib_ipv6=yes,
++ac_cv_lib_ipv6=no)])
++if test "$ac_cv_lib_ipv6" = yes; then
++  AC_DEFINE(HAVE_IPV6, 1, [Define if you have IPv6.])
+ else
+-  $1_TRUE='#'
+-  $1_FALSE=
++  CFLAGS="${save_CFLAGS}"
+ fi
+-AC_CONFIG_COMMANDS_PRE(
+-[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
+-  AC_MSG_ERROR([conditional "$1" was never defined.
+-Usually this means the macro was only invoked conditionally.])
+-fi])])
+ 
+-# Like AC_CONFIG_HEADER, but automatically create stamp file. -*- Autoconf -*-
++if test "$ac_cv_lib_ipv6" = yes; then
++	AC_CACHE_CHECK([for in6addr_loopback],[ac_cv_var_in6addr_loopback],[
++	AC_TRY_LINK([
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_NETINET_IN6_H
++#include <netinet/in6.h>
++#endif],[
++struct sockaddr_in6 sin6;
++sin6.sin6_addr = in6addr_loopback;
++],ac_cv_var_in6addr_loopback=yes,ac_cv_var_in6addr_loopback=no)])
++	if test "$ac_cv_var_in6addr_loopback" = yes; then
++		AC_DEFINE(HAVE_IN6ADDR_LOOPBACK, 1, 
++			[Define if you have the in6addr_loopback variable])
++	fi
++fi
++])
++dnl $Id: check-var.m4,v 1.7 2003/02/17 00:44:57 lha Exp $
++dnl
++dnl rk_CHECK_VAR(variable, includes)
++AC_DEFUN([rk_CHECK_VAR], [
++AC_MSG_CHECKING(for $1)
++AC_CACHE_VAL(ac_cv_var_$1, [
++m4_ifval([$2],[
++	AC_TRY_LINK([$2
++	void * foo() { return &$1; }],
++	    [foo()],
++	    ac_cv_var_$1=yes, ac_cv_var_$1=no)])
++if test "$ac_cv_var_$1" != yes ; then
++AC_TRY_LINK([extern int $1;
++int foo() { return $1; }],
++	    [foo()],
++	    ac_cv_var_$1=yes, ac_cv_var_$1=no)
++fi
++])
++ac_foo=`eval echo \\$ac_cv_var_$1`
++AC_MSG_RESULT($ac_foo)
++if test "$ac_foo" = yes; then
++	AC_DEFINE_UNQUOTED(AS_TR_CPP(HAVE_[]$1), 1, 
++		[Define if you have the `]$1[' variable.])
++	m4_ifval([$2], AC_CHECK_DECLARATION([$2],[$1]))
++fi
++])
+ 
+-# Copyright (C) 1996, 1997, 2000, 2001, 2003 Free Software Foundation, Inc.
++AC_WARNING_ENABLE([obsolete])
++AU_DEFUN([AC_CHECK_VAR], [rk_CHECK_VAR([$2], [$1])], [foo])
+ 
+-# 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, or (at your option)
+-# any later version.
++dnl $Id: check-declaration.m4,v 1.3.34.1 2004/04/01 07:27:32 joda Exp $
++dnl
++dnl
++dnl Check if we need the declaration of a variable
++dnl
+ 
+-# 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.
++dnl AC_HAVE_DECLARATION(includes, variable)
++AC_DEFUN([AC_CHECK_DECLARATION], [
++AC_MSG_CHECKING([if $2 is properly declared])
++AC_CACHE_VAL(ac_cv_var_$2_declaration, [
++AC_TRY_COMPILE([$1
++extern struct { int foo; } $2;],
++[$2.foo = 1;],
++eval "ac_cv_var_$2_declaration=no",
++eval "ac_cv_var_$2_declaration=yes")
++])
+ 
+-# 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., 59 Temple Place - Suite 330, Boston, MA
+-# 02111-1307, USA.
++define(foo, [HAVE_]translit($2, [a-z], [A-Z])[_DECLARATION])
+ 
+-# serial 7
++AC_MSG_RESULT($ac_cv_var_$2_declaration)
++if eval "test \"\$ac_cv_var_$2_declaration\" = yes"; then
++	AC_DEFINE(foo, 1, [define if your system declares $2])
++fi
++undefine([foo])
++])
+ 
+-# AM_CONFIG_HEADER is obsolete.  It has been replaced by AC_CONFIG_HEADERS.
+-AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
++dnl $Id: broken-snprintf.m4,v 1.4.10.1 2004/04/01 07:27:32 joda Exp $
++dnl
++AC_DEFUN([AC_BROKEN_SNPRINTF], [
++AC_CACHE_CHECK(for working snprintf,ac_cv_func_snprintf_working,
++ac_cv_func_snprintf_working=yes
++AC_TRY_RUN([
++#include <stdio.h>
++#include <string.h>
++int main()
++{
++	char foo[[3]];
++	snprintf(foo, 2, "12");
++	return strcmp(foo, "1");
++}],:,ac_cv_func_snprintf_working=no,:))
+ 
+-# Do all the work for Automake.                            -*- Autoconf -*-
++if test "$ac_cv_func_snprintf_working" = yes; then
++	AC_DEFINE_UNQUOTED(HAVE_SNPRINTF, 1, [define if you have a working snprintf])
++fi
++if test "$ac_cv_func_snprintf_working" = yes; then
++AC_NEED_PROTO([#include <stdio.h>],snprintf)
++fi
++])
+ 
+-# This macro actually does too much some checks are only needed if
+-# your package does certain things.  But this isn't really a big deal.
++AC_DEFUN([AC_BROKEN_VSNPRINTF],[
++AC_CACHE_CHECK(for working vsnprintf,ac_cv_func_vsnprintf_working,
++ac_cv_func_vsnprintf_working=yes
++AC_TRY_RUN([
++#include <stdio.h>
++#include <string.h>
++#include <stdarg.h>
+ 
+-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
+-# Free Software Foundation, Inc.
++int foo(int num, ...)
++{
++	char bar[[3]];
++	va_list arg;
++	va_start(arg, num);
++	vsnprintf(bar, 2, "%s", arg);
++	va_end(arg);
++	return strcmp(bar, "1");
++}
+ 
+-# 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, 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.
++int main()
++{
++	return foo(0, "12");
++}],:,ac_cv_func_vsnprintf_working=no,:))
+ 
+-# 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., 59 Temple Place - Suite 330, Boston, MA
+-# 02111-1307, USA.
++if test "$ac_cv_func_vsnprintf_working" = yes; then
++	AC_DEFINE_UNQUOTED(HAVE_VSNPRINTF, 1, [define if you have a working vsnprintf])
++fi
++if test "$ac_cv_func_vsnprintf_working" = yes; then
++AC_NEED_PROTO([#include <stdio.h>],vsnprintf)
++fi
++])
+ 
+-# serial 11
++dnl $Id: need-proto.m4,v 1.4.6.1 2004/04/01 07:27:35 joda Exp $
++dnl
++dnl
++dnl Check if we need the prototype for a function
++dnl
+ 
+-# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
+-# AM_INIT_AUTOMAKE([OPTIONS])
+-# -----------------------------------------------
+-# The call with PACKAGE and VERSION arguments is the old style
+-# call (pre autoconf-2.50), which is being phased out.  PACKAGE
+-# and VERSION should now be passed to AC_INIT and removed from
+-# the call to AM_INIT_AUTOMAKE.
+-# We support both call styles for the transition.  After
+-# the next Automake release, Autoconf can make the AC_INIT
+-# arguments mandatory, and then we can depend on a new Autoconf
+-# release and drop the old call support.
+-AC_DEFUN([AM_INIT_AUTOMAKE],
+-[AC_PREREQ([2.58])dnl
+-dnl Autoconf wants to disallow AM_ names.  We explicitly allow
+-dnl the ones we care about.
+-m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
+-AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
+-AC_REQUIRE([AC_PROG_INSTALL])dnl
+-# test to see if srcdir already configured
+-if test "`cd $srcdir && pwd`" != "`pwd`" &&
+-   test -f $srcdir/config.status; then
+-  AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
++dnl AC_NEED_PROTO(includes, function)
++
++AC_DEFUN([AC_NEED_PROTO], [
++if test "$ac_cv_func_$2+set" != set -o "$ac_cv_func_$2" = yes; then
++AC_CACHE_CHECK([if $2 needs a prototype], ac_cv_func_$2_noproto,
++AC_TRY_COMPILE([$1],
++[struct foo { int foo; } xx;
++extern int $2 (struct foo*);
++$2(&xx);
++],
++eval "ac_cv_func_$2_noproto=yes",
++eval "ac_cv_func_$2_noproto=no"))
++if test "$ac_cv_func_$2_noproto" = yes; then
++	AC_DEFINE(AS_TR_CPP(NEED_[]$2[]_PROTO), 1,
++		[define if the system is missing a prototype for $2()])
++fi
+ fi
++])
+ 
+-# test whether we have cygpath
+-if test -z "$CYGPATH_W"; then
+-  if (cygpath --version) >/dev/null 2>/dev/null; then
+-    CYGPATH_W='cygpath -w'
+-  else
+-    CYGPATH_W=echo
+-  fi
++dnl $Id: broken-glob.m4,v 1.4.12.1 2004/04/01 07:27:32 joda Exp $
++dnl
++dnl check for glob(3)
++dnl
++AC_DEFUN([AC_BROKEN_GLOB],[
++AC_CACHE_CHECK(for working glob, ac_cv_func_glob_working,
++ac_cv_func_glob_working=yes
++AC_TRY_LINK([
++#include <stdio.h>
++#include <glob.h>],[
++glob(NULL, GLOB_BRACE|GLOB_NOCHECK|GLOB_QUOTE|GLOB_TILDE|
++#ifdef GLOB_MAXPATH
++GLOB_MAXPATH
++#else
++GLOB_LIMIT
++#endif
++,
++NULL, NULL);
++],:,ac_cv_func_glob_working=no,:))
++
++if test "$ac_cv_func_glob_working" = yes; then
++	AC_DEFINE(HAVE_GLOB, 1, [define if you have a glob() that groks 
++	GLOB_BRACE, GLOB_NOCHECK, GLOB_QUOTE, GLOB_TILDE, and GLOB_LIMIT])
++fi
++if test "$ac_cv_func_glob_working" = yes; then
++AC_NEED_PROTO([#include <stdio.h>
++#include <glob.h>],glob)
++fi
++])
++
++dnl
++dnl $Id: krb-func-getlogin.m4,v 1.1.32.1 2004/04/01 07:27:34 joda Exp $
++dnl
++dnl test for POSIX (broken) getlogin
++dnl
++
++
++AC_DEFUN([AC_FUNC_GETLOGIN], [
++AC_CHECK_FUNCS(getlogin setlogin)
++if test "$ac_cv_func_getlogin" = yes; then
++AC_CACHE_CHECK(if getlogin is posix, ac_cv_func_getlogin_posix, [
++if test "$ac_cv_func_getlogin" = yes -a "$ac_cv_func_setlogin" = yes; then
++	ac_cv_func_getlogin_posix=no
++else
++	ac_cv_func_getlogin_posix=yes
++fi
++])
++if test "$ac_cv_func_getlogin_posix" = yes; then
++	AC_DEFINE(POSIX_GETLOGIN, 1, [Define if getlogin has POSIX flavour (and not BSD).])
++fi
++fi
++])
++
++dnl $Id: find-if-not-broken.m4,v 1.4.8.1 2004/04/01 07:27:33 joda Exp $
++dnl
++dnl
++dnl Mix between AC_FIND_FUNC and AC_BROKEN
++dnl
++
++AC_DEFUN([AC_FIND_IF_NOT_BROKEN],
++[AC_FIND_FUNC([$1], [$2], [$3], [$4])
++if eval "test \"$ac_cv_func_$1\" != yes"; then 
++	rk_LIBOBJ([$1])
+ fi
+-AC_SUBST([CYGPATH_W])
++])
+ 
+-# Define the identity of the package.
+-dnl Distinguish between old-style and new-style calls.
+-m4_ifval([$2],
+-[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
+- AC_SUBST([PACKAGE], [$1])dnl
+- AC_SUBST([VERSION], [$2])],
+-[_AM_SET_OPTIONS([$1])dnl
+- AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
+- AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
++dnl $Id: broken.m4,v 1.6 2002/05/19 19:36:52 joda Exp $
++dnl
++dnl
++dnl Same as AC _REPLACE_FUNCS, just define HAVE_func if found in normal
++dnl libraries 
+ 
+-_AM_IF_OPTION([no-define],,
+-[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
+- AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
++AC_DEFUN([AC_BROKEN],
++[AC_FOREACH([rk_func], [$1],
++	[AC_CHECK_FUNC(rk_func,
++		[AC_DEFINE_UNQUOTED(AS_TR_CPP(HAVE_[]rk_func), 1, 
++			[Define if you have the function `]rk_func['.])],
++		[rk_LIBOBJ(rk_func)])])])
+ 
+-# Some tools Automake needs.
+-AC_REQUIRE([AM_SANITY_CHECK])dnl
+-AC_REQUIRE([AC_ARG_PROGRAM])dnl
+-AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
+-AM_MISSING_PROG(AUTOCONF, autoconf)
+-AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
+-AM_MISSING_PROG(AUTOHEADER, autoheader)
+-AM_MISSING_PROG(MAKEINFO, makeinfo)
+-AM_MISSING_PROG(AMTAR, tar)
+-AM_PROG_INSTALL_SH
+-AM_PROG_INSTALL_STRIP
+-AC_REQUIRE([AM_PROG_MKDIR_P])dnl
+-# We need awk for the "check" target.  The system "awk" is bad on
+-# some platforms.
+-AC_REQUIRE([AC_PROG_AWK])dnl
+-AC_REQUIRE([AC_PROG_MAKE_SET])dnl
+-AC_REQUIRE([AM_SET_LEADING_DOT])dnl
++dnl $Id: broken2.m4,v 1.4 2002/05/19 22:16:46 joda Exp $
++dnl
++dnl AC_BROKEN but with more arguments
+ 
+-_AM_IF_OPTION([no-dependencies],,
+-[AC_PROVIDE_IFELSE([AC_PROG_CC],
+-                  [_AM_DEPENDENCIES(CC)],
+-                  [define([AC_PROG_CC],
+-                          defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
+-AC_PROVIDE_IFELSE([AC_PROG_CXX],
+-                  [_AM_DEPENDENCIES(CXX)],
+-                  [define([AC_PROG_CXX],
+-                          defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
+-])
++dnl AC_BROKEN2(func, includes, arguments)
++AC_DEFUN([AC_BROKEN2],
++[AC_MSG_CHECKING([for $1])
++AC_CACHE_VAL(ac_cv_func_[]$1,
++[AC_TRY_LINK([$2],
++[
++/* 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_$1) || defined (__stub___$1)
++choke me
++#else
++$1($3)
++#endif
++], [eval "ac_cv_func_[]$1=yes"], [eval "ac_cv_func_[]$1=no"])])
++if eval "test \"\${ac_cv_func_[]$1}\" = yes"; then
++  AC_DEFINE_UNQUOTED(AS_TR_CPP(HAVE_[]$1), 1, define)
++  AC_MSG_RESULT(yes)
++else
++  AC_MSG_RESULT(no)
++  rk_LIBOBJ($1)
++fi])
++
++dnl $Id: have-struct-field.m4,v 1.6.22.1 2004/04/01 07:27:33 joda Exp $
++dnl
++dnl check for fields in a structure
++dnl
++dnl AC_HAVE_STRUCT_FIELD(struct, field, headers)
++
++AC_DEFUN([AC_HAVE_STRUCT_FIELD], [
++define(cache_val, translit(ac_cv_type_$1_$2, [A-Z ], [a-z_]))
++AC_CACHE_CHECK([for $2 in $1], cache_val,[
++AC_TRY_COMPILE([$3],[$1 x; x.$2;],
++cache_val=yes,
++cache_val=no)])
++if test "$cache_val" = yes; then
++	define(foo, translit(HAVE_$1_$2, [a-z ], [A-Z_]))
++	AC_DEFINE(foo, 1, [Define if $1 has field $2.])
++	undefine([foo])
++fi
++undefine([cache_val])
+ ])
+ 
++dnl $Id: broken-getnameinfo.m4,v 1.2.12.1 2004/04/01 07:27:32 joda Exp $
++dnl
++dnl test for broken AIX getnameinfo
+ 
+-# When config.status generates a header, we must update the stamp-h file.
+-# This file resides in the same directory as the config header
+-# that is generated.  The stamp files are numbered to have different names.
++AC_DEFUN([rk_BROKEN_GETNAMEINFO],[
++AC_CACHE_CHECK([if getnameinfo is broken], ac_cv_func_getnameinfo_broken,
++AC_TRY_RUN([[#include <stdio.h>
++#include <sys/types.h>
++#include <sys/socket.h>
++#include <netinet/in.h>
++#include <netdb.h>
+ 
+-# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
+-# loop where config.status creates the headers, so we can generate
+-# our stamp files there.
+-AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
+-[# Compute $1's index in $config_headers.
+-_am_stamp_count=1
+-for _am_header in $config_headers :; do
+-  case $_am_header in
+-    $1 | $1:* )
+-      break ;;
+-    * )
+-      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
+-  esac
+-done
+-echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
++int
++main(int argc, char **argv)
++{
++  struct sockaddr_in sin;
++  char host[256];
++  memset(&sin, 0, sizeof(sin));
++#ifdef HAVE_STRUCT_SOCKADDR_SA_LEN
++  sin.sin_len = sizeof(sin);
++#endif
++  sin.sin_family = AF_INET;
++  sin.sin_addr.s_addr = 0xffffffff;
++  sin.sin_port = 0;
++  return getnameinfo((struct sockaddr*)&sin, sizeof(sin), host, sizeof(host),
++	      NULL, 0, 0);
++}
++]], ac_cv_func_getnameinfo_broken=no, ac_cv_func_getnameinfo_broken=yes))])
+ 
+-# AM_PROG_INSTALL_SH
+-# ------------------
+-# Define $install_sh.
++dnl $Id: broken-getaddrinfo.m4,v 1.3.6.1 2004/04/01 07:27:32 joda Exp $
++dnl
++dnl test if getaddrinfo can handle numeric services
+ 
+-# Copyright (C) 2001, 2003 Free Software Foundation, Inc.
++AC_DEFUN([rk_BROKEN_GETADDRINFO],[
++AC_CACHE_CHECK([if getaddrinfo handles numeric services], ac_cv_func_getaddrinfo_numserv,
++AC_TRY_RUN([[#include <stdio.h>
++#include <sys/types.h>
++#include <sys/socket.h>
++#include <netdb.h>
+ 
+-# 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, or (at your option)
+-# any later version.
++int
++main(int argc, char **argv)
++{
++	struct addrinfo hints, *ai;
++	memset(&hints, 0, sizeof(hints));
++	hints.ai_flags = AI_PASSIVE;
++	hints.ai_socktype = SOCK_STREAM;
++	hints.ai_family = PF_UNSPEC;
++	if(getaddrinfo(NULL, "17", &hints, &ai) != 0)
++		return 1;
++	return 0;
++}
++]], ac_cv_func_getaddrinfo_numserv=yes, ac_cv_func_getaddrinfo_numserv=no))])
+ 
+-# 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.
++dnl
++dnl $Id: broken-realloc.m4,v 1.1.12.1 2004/04/01 07:27:32 joda Exp $
++dnl
++dnl Test for realloc that doesn't handle NULL as first parameter
++dnl
++AC_DEFUN([rk_BROKEN_REALLOC], [
++AC_CACHE_CHECK(if realloc if broken, ac_cv_func_realloc_broken, [
++ac_cv_func_realloc_broken=no
++AC_TRY_RUN([
++#include <stddef.h>
++#include <stdlib.h>
+ 
+-# 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., 59 Temple Place - Suite 330, Boston, MA
+-# 02111-1307, USA.
++int main()
++{
++	return realloc(NULL, 17) == NULL;
++}
++],:, ac_cv_func_realloc_broken=yes, :)
++])
++if test "$ac_cv_func_realloc_broken" = yes ; then
++	AC_DEFINE(BROKEN_REALLOC, 1, [Define if realloc(NULL) doesn't work.])
++fi
++AH_BOTTOM([#ifdef BROKEN_REALLOC
++#define realloc(X, Y) isoc_realloc((X), (Y))
++#define isoc_realloc(X, Y) ((X) ? realloc((X), (Y)) : malloc(Y))
++#endif])
++])
+ 
+-AC_DEFUN([AM_PROG_INSTALL_SH],
+-[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
+-install_sh=${install_sh-"$am_aux_dir/install-sh"}
+-AC_SUBST(install_sh)])
++dnl $Id: proto-compat.m4,v 1.3.34.1 2004/04/01 07:27:35 joda Exp $
++dnl
++dnl
++dnl Check if the prototype of a function is compatible with another one
++dnl
+ 
+-#                                                          -*- Autoconf -*-
+-# Copyright (C) 2003  Free Software Foundation, Inc.
++dnl AC_PROTO_COMPAT(includes, function, prototype)
+ 
+-# 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, or (at your option)
+-# any later version.
++AC_DEFUN([AC_PROTO_COMPAT], [
++AC_CACHE_CHECK([if $2 is compatible with system prototype],
++ac_cv_func_$2_proto_compat,
++AC_TRY_COMPILE([$1],
++[$3;],
++eval "ac_cv_func_$2_proto_compat=yes",
++eval "ac_cv_func_$2_proto_compat=no"))
++define([foo], translit($2, [a-z], [A-Z])[_PROTO_COMPATIBLE])
++if test "$ac_cv_func_$2_proto_compat" = yes; then
++	AC_DEFINE(foo, 1, [define if prototype of $2 is compatible with
++	$3])
++fi
++undefine([foo])
++])
++dnl $Id: krb-struct-winsize.m4,v 1.3.10.1 2004/04/01 07:27:34 joda Exp $
++dnl
++dnl
++dnl Search for struct winsize
++dnl
+ 
+-# 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.
++AC_DEFUN([AC_KRB_STRUCT_WINSIZE], [
++AC_MSG_CHECKING(for struct winsize)
++AC_CACHE_VAL(ac_cv_struct_winsize, [
++ac_cv_struct_winsize=no
++for i in sys/termios.h sys/ioctl.h; do
++AC_EGREP_HEADER(
++struct[[ 	]]*winsize,dnl
++$i, ac_cv_struct_winsize=yes; break)dnl
++done
++])
++if test "$ac_cv_struct_winsize" = "yes"; then
++  AC_DEFINE(HAVE_STRUCT_WINSIZE, 1, [define if struct winsize is declared in sys/termios.h])
++fi
++AC_MSG_RESULT($ac_cv_struct_winsize)
++AC_EGREP_HEADER(ws_xpixel, termios.h, 
++	AC_DEFINE(HAVE_WS_XPIXEL, 1, [define if struct winsize has ws_xpixel]))
++AC_EGREP_HEADER(ws_ypixel, termios.h, 
++	AC_DEFINE(HAVE_WS_YPIXEL, 1, [define if struct winsize has ws_ypixel]))
++])
+ 
+-# 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., 59 Temple Place - Suite 330, Boston, MA
+-# 02111-1307, USA.
++dnl $Id: krb-struct-spwd.m4,v 1.3.32.1 2004/04/01 07:27:34 joda Exp $
++dnl
++dnl Test for `struct spwd'
+ 
+-# serial 1
++AC_DEFUN([AC_KRB_STRUCT_SPWD], [
++AC_MSG_CHECKING(for struct spwd)
++AC_CACHE_VAL(ac_cv_struct_spwd, [
++AC_TRY_COMPILE(
++[#include <pwd.h>
++#ifdef HAVE_SHADOW_H
++#include <shadow.h>
++#endif],
++[struct spwd foo;],
++ac_cv_struct_spwd=yes,
++ac_cv_struct_spwd=no)
++])
++AC_MSG_RESULT($ac_cv_struct_spwd)
+ 
+-# Check whether the underlying file-system supports filenames
+-# with a leading dot.  For instance MS-DOS doesn't.
+-AC_DEFUN([AM_SET_LEADING_DOT],
+-[rm -rf .tst 2>/dev/null
+-mkdir .tst 2>/dev/null
+-if test -d .tst; then
+-  am__leading_dot=.
+-else
+-  am__leading_dot=_
++if test "$ac_cv_struct_spwd" = "yes"; then
++  AC_DEFINE(HAVE_STRUCT_SPWD, 1, [define if you have struct spwd])
+ fi
+-rmdir .tst 2>/dev/null
+-AC_SUBST([am__leading_dot])])
++])
++
++dnl $Id: otp.m4,v 1.2 2002/05/19 20:51:08 joda Exp $
++dnl
++dnl check requirements for OTP library
++dnl
++AC_DEFUN([rk_OTP],[
++AC_REQUIRE([rk_DB])dnl
++AC_ARG_ENABLE(otp,
++	AC_HELP_STRING([--disable-otp],[if you don't want OTP support]))
++if test "$enable_otp" = yes -a "$db_type" = unknown; then
++	AC_MSG_ERROR([OTP requires a NDBM/DB compatible library])
++fi
++if test "$enable_otp" != no; then
++	if test "$db_type" != unknown; then
++		enable_otp=yes
++	else
++		enable_otp=no
++	fi
++fi
++if test "$enable_otp" = yes; then
++	AC_DEFINE(OTP, 1, [Define if you want OTP support in applications.])
++fi
++AC_MSG_CHECKING([whether to enable OTP library])
++AC_MSG_RESULT($enable_otp)
++AM_CONDITIONAL(OTP, test "$enable_otp" = yes)dnl
++])
+ 
++dnl $Id: osfc2.m4,v 1.3.8.1 2004/04/01 07:27:35 joda Exp $
++dnl
++dnl enable OSF C2 stuff
+ 
+-# Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+-# Free Software Foundation, Inc.
++AC_DEFUN([AC_CHECK_OSFC2],[
++AC_ARG_ENABLE(osfc2,
++	AC_HELP_STRING([--enable-osfc2],[enable some OSF C2 support]))
++LIB_security=
++if test "$enable_osfc2" = yes; then
++	AC_DEFINE(HAVE_OSFC2, 1, [Define to enable basic OSF C2 support.])
++	LIB_security=-lsecurity
++fi
++AC_SUBST(LIB_security)
++])
+ 
+-# 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, or (at your option)
+-# any later version.
++dnl $Id: check-man.m4,v 1.3.12.1 2004/04/01 07:27:32 joda Exp $
++dnl check how to format manual pages
++dnl
+ 
+-# 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.
++AC_DEFUN([rk_CHECK_MAN],
++[AC_PATH_PROG(NROFF, nroff)
++AC_PATH_PROG(GROFF, groff)
++AC_CACHE_CHECK(how to format man pages,ac_cv_sys_man_format,
++[cat > conftest.1 << END
++.Dd January 1, 1970
++.Dt CONFTEST 1
++.Sh NAME
++.Nm conftest
++.Nd
++foobar
++END
++
++if test "$NROFF" ; then
++	for i in "-mdoc" "-mandoc"; do
++		if "$NROFF" $i conftest.1 2> /dev/null | \
++			grep Jan > /dev/null 2>&1 ; then
++			ac_cv_sys_man_format="$NROFF $i"
++			break
++		fi
++	done
++fi
++if test "$ac_cv_sys_man_format" = "" -a "$GROFF" ; then
++	for i in "-mdoc" "-mandoc"; do
++		if "$GROFF" -Tascii $i conftest.1 2> /dev/null | \
++			grep Jan > /dev/null 2>&1 ; then
++			ac_cv_sys_man_format="$GROFF -Tascii $i"
++			break
++		fi
++	done
++fi
++if test "$ac_cv_sys_man_format"; then
++	ac_cv_sys_man_format="$ac_cv_sys_man_format \[$]< > \[$]@"
++fi
++])
++if test "$ac_cv_sys_man_format"; then
++	CATMAN="$ac_cv_sys_man_format"
++	AC_SUBST(CATMAN)
++fi
++AM_CONDITIONAL(CATMAN, test "$CATMAN")
++AC_CACHE_CHECK(extension of pre-formatted manual pages,ac_cv_sys_catman_ext,
++[if grep _suffix /etc/man.conf > /dev/null 2>&1; then
++	ac_cv_sys_catman_ext=0
++else
++	ac_cv_sys_catman_ext=number
++fi
++])
++if test "$ac_cv_sys_catman_ext" = number; then
++	CATMANEXT='$$section'
++else
++	CATMANEXT=0
++fi
++AC_SUBST(CATMANEXT)
++])
++dnl
++dnl $Id: krb-bigendian.m4,v 1.8.6.1 2004/04/01 07:27:33 joda Exp $
++dnl
+ 
+-# 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., 59 Temple Place - Suite 330, Boston, MA
+-# 02111-1307, USA.
++dnl check if this computer is little or big-endian
++dnl if we can figure it out at compile-time then don't define the cpp symbol
++dnl otherwise test for it and define it.  also allow options for overriding
++dnl it when cross-compiling
++
++AC_DEFUN([KRB_C_BIGENDIAN], [
++AC_ARG_ENABLE(bigendian,
++	AC_HELP_STRING([--enable-bigendian],[the target is big endian]),
++krb_cv_c_bigendian=yes)
++AC_ARG_ENABLE(littleendian,
++	AC_HELP_STRING([--enable-littleendian],[the target is little endian]),
++krb_cv_c_bigendian=no)
++AC_CACHE_CHECK(whether byte order is known at compile time,
++krb_cv_c_bigendian_compile,
++[AC_TRY_COMPILE([
++#include <sys/types.h>
++#include <sys/param.h>],[
++#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
++ bogus endian macros
++#endif], krb_cv_c_bigendian_compile=yes, krb_cv_c_bigendian_compile=no)])
++AC_CACHE_CHECK(whether byte ordering is bigendian, krb_cv_c_bigendian,[
++  if test "$krb_cv_c_bigendian_compile" = "yes"; then
++    AC_TRY_COMPILE([
++#include <sys/types.h>
++#include <sys/param.h>],[
++#if BYTE_ORDER != BIG_ENDIAN
++  not big endian
++#endif], krb_cv_c_bigendian=yes, krb_cv_c_bigendian=no)
++  else
++    AC_TRY_RUN([main () {
++      /* Are we little or big endian?  From Harbison&Steele.  */
++      union
++      {
++	long l;
++	char c[sizeof (long)];
++    } u;
++    u.l = 1;
++    exit (u.c[sizeof (long) - 1] == 1);
++  }], krb_cv_c_bigendian=no, krb_cv_c_bigendian=yes,
++  AC_MSG_ERROR([specify either --enable-bigendian or --enable-littleendian]))
++  fi
++])
++if test "$krb_cv_c_bigendian" = "yes"; then
++  AC_DEFINE(WORDS_BIGENDIAN, 1, [define if target is big endian])dnl
++fi
++if test "$krb_cv_c_bigendian_compile" = "yes"; then
++  AC_DEFINE(ENDIANESS_IN_SYS_PARAM_H, 1, [define if sys/param.h defines the endiness])dnl
++fi
++AH_BOTTOM([
++#if ENDIANESS_IN_SYS_PARAM_H
++#  include <sys/types.h>
++#  include <sys/param.h>
++#  if BYTE_ORDER == BIG_ENDIAN
++#  define WORDS_BIGENDIAN 1
++#  endif
++#endif
++])
++])
+ 
+-# serial 4
++dnl
++dnl $Id: aix.m4,v 1.9.6.1 2004/04/01 07:27:32 joda Exp $
++dnl
+ 
+-# AM_PROG_LEX
+-# -----------
+-# Autoconf leaves LEX=: if lex or flex can't be found.  Change that to a
+-# "missing" invocation, for better error output.
+-AC_DEFUN([AM_PROG_LEX],
+-[AC_PREREQ(2.50)dnl
+-AC_REQUIRE([AM_MISSING_HAS_RUN])dnl
+-AC_REQUIRE([AC_PROG_LEX])dnl
+-if test "$LEX" = :; then
+-  LEX=${am_missing_run}flex
+-fi])
++AC_DEFUN([rk_AIX],[
+ 
+-# Add --enable-maintainer-mode option to configure.
+-# From Jim Meyering
++aix=no
++case "$host" in 
++*-*-aix3*)
++	aix=3
++	;;
++*-*-aix4*|*-*-aix5*)
++	aix=4
++	;;
++esac
+ 
+-# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004
+-# Free Software Foundation, Inc.
++AM_CONDITIONAL(AIX, test "$aix" != no)dnl
++AM_CONDITIONAL(AIX4, test "$aix" = 4)
+ 
+-# 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, 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.
++AC_ARG_ENABLE(dynamic-afs,
++	AC_HELP_STRING([--disable-dynamic-afs],
++		[do not use loaded AFS library with AIX]))
++
++if test "$aix" != no; then
++	if test "$enable_dynamic_afs" != no; then
++		AC_REQUIRE([rk_DLOPEN])
++		if test "$ac_cv_func_dlopen" = no; then
++			AC_FIND_FUNC_NO_LIBS(loadquery, ld)
++		fi
++		if test "$ac_cv_func_dlopen" != no; then
++			AIX_EXTRA_KAFS='$(LIB_dlopen)'
++		elif test "$ac_cv_func_loadquery" != no; then
++			AIX_EXTRA_KAFS='$(LIB_loadquery)'
++		else
++			AC_MSG_NOTICE([not using dynloaded AFS library])
++			AIX_EXTRA_KAFS=
++			enable_dynamic_afs=no
++		fi
++	else
++		AIX_EXTRA_KAFS=
++	fi
++fi
+ 
+-# 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., 59 Temple Place - Suite 330, Boston, MA
+-# 02111-1307, USA.
++AM_CONDITIONAL(AIX_DYNAMIC_AFS, test "$enable_dynamic_afs" != no)dnl
++AC_SUBST(AIX_EXTRA_KAFS)dnl
+ 
+-# serial 3
++AH_BOTTOM([#if _AIX
++#define _ALL_SOURCE
++/* XXX this is gross, but kills about a gazillion warnings */
++struct ether_addr;
++struct sockaddr;
++struct sockaddr_dl;
++struct sockaddr_in;
++#endif])
+ 
+-AC_DEFUN([AM_MAINTAINER_MODE],
+-[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
+-  dnl maintainer-mode is disabled by default
+-  AC_ARG_ENABLE(maintainer-mode,
+-[  --enable-maintainer-mode  enable make rules and dependencies not useful
+-			  (and sometimes confusing) to the casual installer],
+-      USE_MAINTAINER_MODE=$enableval,
+-      USE_MAINTAINER_MODE=no)
+-  AC_MSG_RESULT([$USE_MAINTAINER_MODE])
+-  AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
+-  MAINT=$MAINTAINER_MODE_TRUE
+-  AC_SUBST(MAINT)dnl
+-]
+-)
++])
+ 
+-AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
++dnl
++dnl $Id: dlopen.m4,v 1.1 2002/08/28 16:32:16 joda Exp $
++dnl
+ 
+-#  -*- Autoconf -*-
++AC_DEFUN([rk_DLOPEN], [
++	AC_FIND_FUNC_NO_LIBS(dlopen, dl)
++	AM_CONDITIONAL(HAVE_DLOPEN, test "$ac_cv_funclib_dlopen" != no)
++])
+ 
++dnl
++dnl $Id: irix.m4,v 1.1 2002/08/28 19:11:44 joda Exp $
++dnl
+ 
+-# Copyright (C) 1997, 1999, 2000, 2001, 2003 Free Software Foundation, Inc.
++AC_DEFUN([rk_IRIX],
++[
++irix=no
++case "$host" in
++*-*-irix4*) 
++	AC_DEFINE([IRIX4], 1,
++		[Define if you are running IRIX 4.])
++	irix=yes
++	;;
++*-*-irix*) 
++	irix=yes
++	;;
++esac
++AM_CONDITIONAL(IRIX, test "$irix" != no)dnl
+ 
+-# 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, or (at your option)
+-# any later version.
++AH_BOTTOM([
++/* IRIX 4 braindamage */
++#if IRIX == 4 && !defined(__STDC__)
++#define __STDC__ 0
++#endif
++])
++])
+ 
+-# 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.
++dnl
++dnl $Id: sunos.m4,v 1.2 2002/10/16 14:42:13 joda Exp $
++dnl
+ 
+-# 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., 59 Temple Place - Suite 330, Boston, MA
+-# 02111-1307, USA.
++AC_DEFUN([rk_SUNOS],[
++sunos=no
++case "$host" in 
++*-*-sunos4*)
++	sunos=40
++	;;
++*-*-solaris2.7)
++	sunos=57
++	;;
++*-*-solaris2.[[89]])
++	sunos=58
++	;;
++*-*-solaris2*)
++	sunos=50
++	;;
++esac
++if test "$sunos" != no; then
++	AC_DEFINE_UNQUOTED(SunOS, $sunos, 
++		[Define to what version of SunOS you are running.])
++fi
++])
++dnl 
++dnl See if there is any X11 present
++dnl
++dnl $Id: check-x.m4,v 1.2.20.1 2004/04/01 07:27:33 joda Exp $
+ 
+-# serial 3
++AC_DEFUN([KRB_CHECK_X],[
++AC_PATH_XTRA
+ 
+-# AM_MISSING_PROG(NAME, PROGRAM)
+-# ------------------------------
+-AC_DEFUN([AM_MISSING_PROG],
+-[AC_REQUIRE([AM_MISSING_HAS_RUN])
+-$1=${$1-"${am_missing_run}$2"}
+-AC_SUBST($1)])
++# try to figure out if we need any additional ld flags, like -R
++# and yes, the autoconf X test is utterly broken
++if test "$no_x" != yes; then
++	AC_CACHE_CHECK(for special X linker flags,krb_cv_sys_x_libs_rpath,[
++	ac_save_libs="$LIBS"
++	ac_save_cflags="$CFLAGS"
++	CFLAGS="$CFLAGS $X_CFLAGS"
++	krb_cv_sys_x_libs_rpath=""
++	krb_cv_sys_x_libs=""
++	for rflag in "" "-R" "-R " "-rpath "; do
++		if test "$rflag" = ""; then
++			foo="$X_LIBS"
++		else
++			foo=""
++			for flag in $X_LIBS; do
++			case $flag in
++			-L*)
++				foo="$foo $flag `echo $flag | sed \"s/-L/$rflag/\"`"
++				;;
++			*)
++				foo="$foo $flag"
++				;;
++			esac
++			done
++		fi
++		LIBS="$ac_save_libs $foo $X_PRE_LIBS -lX11 $X_EXTRA_LIBS"
++		AC_TRY_RUN([
++		#include <X11/Xlib.h>
++		foo()
++		{
++		XOpenDisplay(NULL);
++		}
++		main()
++		{
++		return 0;
++		}
++		], krb_cv_sys_x_libs_rpath="$rflag"; krb_cv_sys_x_libs="$foo"; break,:)
++	done
++	LIBS="$ac_save_libs"
++	CFLAGS="$ac_save_cflags"
++	])
++	X_LIBS="$krb_cv_sys_x_libs"
++fi
++])
+ 
++dnl $Id: check-xau.m4,v 1.3.34.1 2004/04/01 07:27:33 joda Exp $
++dnl
++dnl check for Xau{Read,Write}Auth and XauFileName
++dnl
++AC_DEFUN([AC_CHECK_XAU],[
++save_CFLAGS="$CFLAGS"
++CFLAGS="$X_CFLAGS $CFLAGS"
++save_LIBS="$LIBS"
++dnl LIBS="$X_LIBS $X_PRE_LIBS $X_EXTRA_LIBS $LIBS"
++LIBS="$X_PRE_LIBS $X_EXTRA_LIBS $LIBS"
++save_LDFLAGS="$LDFLAGS"
++LDFLAGS="$LDFLAGS $X_LIBS"
++
++
++AC_FIND_FUNC_NO_LIBS(XauWriteAuth, X11 Xau)
++ac_xxx="$LIBS"
++LIBS="$LIB_XauWriteAuth $LIBS"
++AC_FIND_FUNC_NO_LIBS(XauReadAuth, X11 Xau)
++LIBS="$LIB_XauReadAauth $LIBS"
++AC_FIND_FUNC_NO_LIBS(XauFileName, X11 Xau)
++LIBS="$ac_xxx"
++
++case "$ac_cv_funclib_XauWriteAuth" in
++yes)	;;
++no)	;;
++*)	if test "$ac_cv_funclib_XauReadAuth" = yes; then
++		if test "$ac_cv_funclib_XauFileName" = yes; then
++			LIB_XauReadAuth="$LIB_XauWriteAuth"
++		else
++			LIB_XauReadAuth="$LIB_XauWriteAuth $LIB_XauFileName"
++		fi
++	else
++		if test "$ac_cv_funclib_XauFileName" = yes; then
++			LIB_XauReadAuth="$LIB_XauReadAuth $LIB_XauWriteAuth"
++		else
++			LIB_XauReadAuth="$LIB_XauReadAuth $LIB_XauWriteAuth $LIB_XauFileName"
++		fi
++	fi
++	;;
++esac
+ 
+-# AM_MISSING_HAS_RUN
+-# ------------------
+-# Define MISSING if not defined so far and test if it supports --run.
+-# If it does, set am_missing_run to use it, otherwise, to nothing.
+-AC_DEFUN([AM_MISSING_HAS_RUN],
+-[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
+-test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
+-# Use eval to expand $SHELL
+-if eval "$MISSING --run true"; then
+-  am_missing_run="$MISSING --run "
++if test "$AUTOMAKE" != ""; then
++	AM_CONDITIONAL(NEED_WRITEAUTH, test "$ac_cv_func_XauWriteAuth" != "yes")
+ else
+-  am_missing_run=
+-  AC_MSG_WARN([`missing' script is too old or missing])
++	AC_SUBST(NEED_WRITEAUTH_TRUE)
++	AC_SUBST(NEED_WRITEAUTH_FALSE)
++	if test "$ac_cv_func_XauWriteAuth" != "yes"; then
++		NEED_WRITEAUTH_TRUE=
++		NEED_WRITEAUTH_FALSE='#'
++	else
++		NEED_WRITEAUTH_TRUE='#'
++		NEED_WRITEAUTH_FALSE=
++	fi
+ fi
++CFLAGS=$save_CFLAGS
++LIBS=$save_LIBS
++LDFLAGS=$save_LDFLAGS
+ ])
+ 
+-# AM_PROG_MKDIR_P
+-# ---------------
+-# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
++dnl $Id: check-type-extra.m4,v 1.2.34.1 2004/04/01 07:27:33 joda Exp $
++dnl
++dnl ac_check_type + extra headers
+ 
+-# Copyright (C) 2003, 2004 Free Software Foundation, Inc.
++dnl AC_CHECK_TYPE_EXTRA(TYPE, DEFAULT, HEADERS)
++AC_DEFUN([AC_CHECK_TYPE_EXTRA],
++[AC_REQUIRE([AC_HEADER_STDC])dnl
++AC_MSG_CHECKING(for $1)
++AC_CACHE_VAL(ac_cv_type_$1,
++[AC_EGREP_CPP(dnl
++changequote(<<,>>)dnl
++<<$1[^a-zA-Z_0-9]>>dnl
++changequote([,]), [#include <sys/types.h>
++#if STDC_HEADERS
++#include <stdlib.h>
++#include <stddef.h>
++#endif
++$3], ac_cv_type_$1=yes, ac_cv_type_$1=no)])dnl
++AC_MSG_RESULT($ac_cv_type_$1)
++if test $ac_cv_type_$1 = no; then
++  AC_DEFINE($1, $2, [Define this to what the type $1 should be.])
++fi
++])
+ 
+-# 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, or (at your option)
+-# any later version.
++dnl
++dnl $Id: capabilities.m4,v 1.2.20.1 2004/04/01 07:27:32 joda Exp $
++dnl
+ 
+-# 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.
++dnl
++dnl Test SGI capabilities
++dnl
+ 
+-# 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., 59 Temple Place - Suite 330, Boston, MA
+-# 02111-1307, USA.
++AC_DEFUN([KRB_CAPABILITIES],[
+ 
+-# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
+-# created by `make install' are always world readable, even if the
+-# installer happens to have an overly restrictive umask (e.g. 077).
+-# This was a mistake.  There are at least two reasons why we must not
+-# use `-m 0755':
+-#   - it causes special bits like SGID to be ignored,
+-#   - it may be too restrictive (some setups expect 775 directories).
+-#
+-# Do not use -m 0755 and let people choose whatever they expect by
+-# setting umask.
+-#
+-# We cannot accept any implementation of `mkdir' that recognizes `-p'.
+-# Some implementations (such as Solaris 8's) are not thread-safe: if a
+-# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'
+-# concurrently, both version can detect that a/ is missing, but only
+-# one can create it and the other will error out.  Consequently we
+-# restrict ourselves to GNU make (using the --version option ensures
+-# this.)
+-AC_DEFUN([AM_PROG_MKDIR_P],
+-[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
+-  # Keeping the `.' argument allows $(mkdir_p) to be used without
+-  # argument.  Indeed, we sometimes output rules like
+-  #   $(mkdir_p) $(somedir)
+-  # where $(somedir) is conditionally defined.
+-  # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
+-  # expensive solution, as it forces Make to start a sub-shell.)
+-  mkdir_p='mkdir -p -- .'
+-else
+-  # On NextStep and OpenStep, the `mkdir' command does not
+-  # recognize any option.  It will interpret all options as
+-  # directories to create, and then abort because `.' already
+-  # exists.
+-  for d in ./-p ./--version;
+-  do
+-    test -d $d && rmdir $d
+-  done
+-  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
+-  if test -f "$ac_aux_dir/mkinstalldirs"; then
+-    mkdir_p='$(mkinstalldirs)'
+-  else
+-    mkdir_p='$(install_sh) -d'
+-  fi
+-fi
+-AC_SUBST([mkdir_p])])
++AC_CHECK_HEADERS(capability.h sys/capability.h)
+ 
+-# Helper functions for option handling.                    -*- Autoconf -*-
++AC_CHECK_FUNCS(sgi_getcapabilitybyname cap_set_proc)
++])
+ 
+-# Copyright (C) 2001, 2002, 2003  Free Software Foundation, Inc.
++dnl $Id: check-getpwnam_r-posix.m4,v 1.2.34.1 2004/04/01 07:27:32 joda Exp $
++dnl
++dnl check for getpwnam_r, and if it's posix or not
+ 
+-# 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, or (at your option)
+-# any later version.
++AC_DEFUN([AC_CHECK_GETPWNAM_R_POSIX],[
++AC_FIND_FUNC_NO_LIBS(getpwnam_r,c_r)
++if test "$ac_cv_func_getpwnam_r" = yes; then
++	AC_CACHE_CHECK(if getpwnam_r is posix,ac_cv_func_getpwnam_r_posix,
++	ac_libs="$LIBS"
++	LIBS="$LIBS $LIB_getpwnam_r"
++	AC_TRY_RUN([
++#include <pwd.h>
++int main()
++{
++	struct passwd pw, *pwd;
++	return getpwnam_r("", &pw, NULL, 0, &pwd) < 0;
++}
++],ac_cv_func_getpwnam_r_posix=yes,ac_cv_func_getpwnam_r_posix=no,:)
++LIBS="$ac_libs")
++if test "$ac_cv_func_getpwnam_r_posix" = yes; then
++	AC_DEFINE(POSIX_GETPWNAM_R, 1, [Define if getpwnam_r has POSIX flavour.])
++fi
++fi
++])
++dnl $Id: krb-readline.m4,v 1.5.6.1 2004/04/01 07:27:34 joda Exp $
++dnl
++dnl Tests for readline functions
++dnl
+ 
+-# 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.
++dnl el_init
+ 
+-# 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., 59 Temple Place - Suite 330, Boston, MA
+-# 02111-1307, USA.
++AC_DEFUN([KRB_READLINE],[
++AC_FIND_FUNC_NO_LIBS(el_init, edit, [], [], [$LIB_tgetent])
++if test "$ac_cv_func_el_init" = yes ; then
++	AC_CACHE_CHECK(for four argument el_init, ac_cv_func_el_init_four,[
++		AC_TRY_COMPILE([#include <stdio.h>
++			#include <histedit.h>],
++			[el_init("", NULL, NULL, NULL);],
++			ac_cv_func_el_init_four=yes,
++			ac_cv_func_el_init_four=no)])
++	if test "$ac_cv_func_el_init_four" = yes; then
++		AC_DEFINE(HAVE_FOUR_VALUED_EL_INIT, 1, [Define if el_init takes four arguments.])
++	fi
++fi
+ 
+-# serial 2
++dnl readline
+ 
+-# _AM_MANGLE_OPTION(NAME)
+-# -----------------------
+-AC_DEFUN([_AM_MANGLE_OPTION],
+-[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
++ac_foo=no
++if test "$with_readline" = yes; then
++	:
++elif test "$ac_cv_func_readline" = yes; then
++	:
++elif test "$ac_cv_func_el_init" = yes; then
++	ac_foo=yes
++	DIR_readline="editline"
++	LIB_readline="\$(top_builddir)/lib/editline/libel_compat.la \$(LIB_el_init) \$(LIB_tgetent)"
++else
++	DIR_readline="editline"
++	LIB_readline="\$(top_builddir)/lib/editline/libeditline.la \$(LIB_tgetent)"
++fi
++AM_CONDITIONAL(el_compat, test "$ac_foo" = yes)
++AC_DEFINE(HAVE_READLINE, 1, 
++	[Define if you have a readline compatible library.])dnl
+ 
+-# _AM_SET_OPTION(NAME)
+-# ------------------------------
+-# Set option NAME.  Presently that only means defining a flag for this option.
+-AC_DEFUN([_AM_SET_OPTION],
+-[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
++])
+ 
+-# _AM_SET_OPTIONS(OPTIONS)
+-# ----------------------------------
+-# OPTIONS is a space-separated list of Automake options.
+-AC_DEFUN([_AM_SET_OPTIONS],
+-[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
++dnl
++dnl $Id: telnet.m4,v 1.1 2002/08/28 19:19:01 joda Exp $
++dnl
++dnl stuff used by telnet
+ 
+-# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
+-# -------------------------------------------
+-# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
+-AC_DEFUN([_AM_IF_OPTION],
+-[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
++AC_DEFUN([rk_TELNET],[
++AC_DEFINE(AUTHENTICATION, 1, 
++	[Define if you want authentication support in telnet.])dnl
++AC_DEFINE(ENCRYPTION, 1,
++	[Define if you want encryption support in telnet.])dnl
++AC_DEFINE(DES_ENCRYPTION, 1,
++	[Define if you want to use DES encryption in telnet.])dnl
++AC_DEFINE(DIAGNOSTICS, 1,
++	[Define this to enable diagnostics in telnet.])dnl
++AC_DEFINE(OLD_ENVIRON, 1,
++	[Define this to enable old environment option in telnet.])dnl
++if false; then
++	AC_DEFINE(ENV_HACK, 1,
++		[Define this if you want support for broken ENV_{VAR,VAL} telnets.])
++fi
+ 
++# Simple test for streamspty, based on the existance of getmsg(), alas
++# this breaks on SunOS4 which have streams but BSD-like ptys
+ #
+-# Check to make sure that the build environment is sane.
+-#
++# And also something wierd has happend with dec-osf1, fallback to bsd-ptys
+ 
+-# Copyright (C) 1996, 1997, 2000, 2001, 2003 Free Software Foundation, Inc.
+-
+-# 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, or (at your option)
+-# any later version.
++case "$host" in
++*-*-aix3*|*-*-sunos4*|*-*-osf*|*-*-hpux1[[01]]*)
++	;;
++*)
++	AC_CHECK_FUNC(getmsg)
++	if test "$ac_cv_func_getmsg" = "yes"; then
++		AC_CACHE_CHECK([if getmsg works], ac_cv_func_getmsg_works,
++		AC_TRY_RUN([
++			#include <stdio.h>
++			#include <errno.h>
++
++			int main()
++			{
++			  int ret;
++			  ret = getmsg(open("/dev/null", 0), NULL, NULL, NULL);
++			  if(ret < 0 && errno == ENOSYS)
++			    return 1;
++			  return 0;
++			}
++			], ac_cv_func_getmsg_works=yes, 
++			ac_cv_func_getmsg_works=no,
++			ac_cv_func_getmsg_works=no))
++		if test "$ac_cv_func_getmsg_works" = "yes"; then
++			AC_DEFINE(HAVE_GETMSG, 1,
++				[Define if you have a working getmsg.])
++			AC_DEFINE(STREAMSPTY, 1,
++				[Define if you have streams ptys.])
++		fi
++	fi
++	;;
++esac
+ 
+-# 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.
++AH_BOTTOM([
++#if defined(ENCRYPTION) && !defined(AUTHENTICATION)
++#define AUTHENTICATION 1
++#endif
+ 
+-# 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., 59 Temple Place - Suite 330, Boston, MA
+-# 02111-1307, USA.
++/* Set this to the default system lead string for telnetd 
++ * can contain %-escapes: %s=sysname, %m=machine, %r=os-release
++ * %v=os-version, %t=tty, %h=hostname, %d=date and time
++ */
++#undef USE_IM
++
++/* Used with login -p */
++#undef LOGIN_ARGS
++
++/* set this to a sensible login */
++#ifndef LOGIN_PATH
++#define LOGIN_PATH BINDIR "/login"
++#endif
++])
++])
+ 
+-# serial 3
++dnl $Id: check-compile-et.m4,v 1.7.2.1 2003/08/15 14:40:42 lha Exp $
++dnl
++dnl CHECK_COMPILE_ET
++AC_DEFUN([CHECK_COMPILE_ET], [
+ 
+-# AM_SANITY_CHECK
+-# ---------------
+-AC_DEFUN([AM_SANITY_CHECK],
+-[AC_MSG_CHECKING([whether build environment is sane])
+-# Just in case
+-sleep 1
+-echo timestamp > conftest.file
+-# Do `set' in a subshell so we don't clobber the current shell's
+-# arguments.  Must try -L first in case configure is actually a
+-# symlink; some systems play weird games with the mod time of symlinks
+-# (eg FreeBSD returns the mod time of the symlink's containing
+-# directory).
+-if (
+-   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
+-   if test "$[*]" = "X"; then
+-      # -L didn't work.
+-      set X `ls -t $srcdir/configure conftest.file`
+-   fi
+-   rm -f conftest.file
+-   if test "$[*]" != "X $srcdir/configure conftest.file" \
+-      && test "$[*]" != "X conftest.file $srcdir/configure"; then
++AC_CHECK_PROG(COMPILE_ET, compile_et, [compile_et])
+ 
+-      # If neither matched, then we have a broken ls.  This can happen
+-      # if, for instance, CONFIG_SHELL is bash and it inherits a
+-      # broken ls alias from the environment.  This has actually
+-      # happened.  Such a system could not be considered "sane".
+-      AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
+-alias in your environment])
+-   fi
++krb_cv_compile_et="no"
++krb_cv_com_err_need_r=""
++if test "${COMPILE_ET}" = "compile_et"; then
++
++dnl We have compile_et.  Now let's see if it supports `prefix' and `index'.
++AC_MSG_CHECKING(whether compile_et has the features we need)
++cat > conftest_et.et <<'EOF'
++error_table test conf
++prefix CONFTEST
++index 1
++error_code CODE1, "CODE1"
++index 128
++error_code CODE2, "CODE2"
++end
++EOF
++if ${COMPILE_ET} conftest_et.et >/dev/null 2>&1; then
++  dnl XXX Some systems have <et/com_err.h>.
++  save_CPPFLAGS="${CPPFLAGS}"
++  if test -d "/usr/include/et"; then
++    CPPFLAGS="-I/usr/include/et ${CPPFLAGS}"
++  fi
++  dnl Check that the `prefix' and `index' directives were honored.
++  AC_TRY_RUN([
++#include <com_err.h>
++#include <string.h>
++#include "conftest_et.h"
++int main(){
++#ifndef ERROR_TABLE_BASE_conf
++#error compile_et does not handle error_table N M
++#endif
++return (CONFTEST_CODE2 - CONFTEST_CODE1) != 127;}
++  ], [krb_cv_compile_et="yes"],[CPPFLAGS="${save_CPPFLAGS}"])
++fi
++AC_MSG_RESULT(${krb_cv_compile_et})
++if test "${krb_cv_compile_et}" = "yes"; then
++  AC_MSG_CHECKING(for if com_err needs to have a initialize_error_table_r)
++  AC_EGREP_CPP(initialize_error_table_r,[#include "conftest_et.c"],
++     [krb_cv_com_err_need_r="initialize_error_table_r(0,0,0,0);"])
++  if test X"$krb_cv_com_err_need_r" = X ; then
++    AC_MSG_RESULT(no)
++  else
++    AC_MSG_RESULT(yes)
++  fi
++fi
++rm -fr conftest*
++fi
+ 
+-   test "$[2]" = conftest.file
+-   )
+-then
+-   # Ok.
+-   :
++if test "${krb_cv_compile_et}" = "yes"; then
++  dnl Since compile_et seems to work, let's check libcom_err
++  krb_cv_save_LIBS="${LIBS}"
++  LIBS="${LIBS} -lcom_err"
++  AC_MSG_CHECKING(for com_err)
++  AC_TRY_LINK([#include <com_err.h>],[
++    const char *p;
++    p = error_message(0);
++    $krb_cv_com_err_need_r
++  ],[krb_cv_com_err="yes"],[krb_cv_com_err="no"; CPPFLAGS="${save_CPPFLAGS}"])
++  AC_MSG_RESULT(${krb_cv_com_err})
++  LIBS="${krb_cv_save_LIBS}"
+ else
+-   AC_MSG_ERROR([newly created file is older than distributed files!
+-Check your system clock])
++  dnl Since compile_et doesn't work, forget about libcom_err
++  krb_cv_com_err="no"
+ fi
+-AC_MSG_RESULT(yes)])
+ 
+-# AM_PROG_INSTALL_STRIP
++dnl Only use the system's com_err if we found compile_et, libcom_err, and
++dnl com_err.h.
++if test "${krb_cv_com_err}" = "yes"; then
++    DIR_com_err=""
++    LIB_com_err="-lcom_err"
++    LIB_com_err_a=""
++    LIB_com_err_so=""
++    AC_MSG_NOTICE(Using the already-installed com_err)
++else
++    COMPILE_ET="\$(top_builddir)/lib/com_err/compile_et"
++    DIR_com_err="com_err"
++    LIB_com_err="\$(top_builddir)/lib/com_err/libcom_err.la"
++    LIB_com_err_a="\$(top_builddir)/lib/com_err/.libs/libcom_err.a"
++    LIB_com_err_so="\$(top_builddir)/lib/com_err/.libs/libcom_err.so"
++    AC_MSG_NOTICE(Using our own com_err)
++fi
++AC_SUBST(DIR_com_err)
++AC_SUBST(LIB_com_err)
++AC_SUBST(LIB_com_err_a)
++AC_SUBST(LIB_com_err_so)
+ 
+-# Copyright (C) 2001, 2003 Free Software Foundation, Inc.
++])
+ 
+-# 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, or (at your option)
+-# any later version.
++dnl $Id: auth-modules.m4,v 1.5.6.1 2004/04/01 07:27:32 joda Exp $
++dnl
++dnl Figure what authentication modules should be built
++dnl
++dnl rk_AUTH_MODULES(module-list)
+ 
+-# 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.
++AC_DEFUN([rk_AUTH_MODULES],[
++AC_MSG_CHECKING([which authentication modules should be built])
+ 
+-# 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., 59 Temple Place - Suite 330, Boston, MA
+-# 02111-1307, USA.
++z='m4_ifval([$1], $1, [sia pam afskauthlib])'
++LIB_AUTH_SUBDIRS=
++for i in $z; do
++case $i in
++sia)
++if test "$ac_cv_header_siad_h" = yes; then
++	LIB_AUTH_SUBDIRS="$LIB_AUTH_SUBDIRS sia"
++fi
++;;
++pam)
++case "${host}" in
++*-*-freebsd*)	ac_cv_want_pam_krb4=no ;;
++*)		ac_cv_want_pam_krb4=yes ;;
++esac
+ 
+-# One issue with vendor `install' (even GNU) is that you can't
+-# specify the program used to strip binaries.  This is especially
+-# annoying in cross-compiling environments, where the build's strip
+-# is unlikely to handle the host's binaries.
+-# Fortunately install-sh will honor a STRIPPROG variable, so we
+-# always use install-sh in `make install-strip', and initialize
+-# STRIPPROG with the value of the STRIP variable (set by the user).
+-AC_DEFUN([AM_PROG_INSTALL_STRIP],
+-[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
+-# Installed binaries are usually stripped using `strip' when the user
+-# run `make install-strip'.  However `strip' might not be the right
+-# tool to use in cross-compilation environments, therefore Automake
+-# will honor the `STRIP' environment variable to overrule this program.
+-dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
+-if test "$cross_compiling" != no; then
+-  AC_CHECK_TOOL([STRIP], [strip], :)
++if test "$ac_cv_want_pam_krb4" = yes -a \
++    "$ac_cv_header_security_pam_modules_h" = yes -a \
++    "$enable_shared" = yes; then
++	LIB_AUTH_SUBDIRS="$LIB_AUTH_SUBDIRS pam"
++fi
++;;
++afskauthlib)
++case "${host}" in
++*-*-irix[[56]]*) LIB_AUTH_SUBDIRS="$LIB_AUTH_SUBDIRS afskauthlib" ;;
++esac
++;;
++esac
++done
++if test "$LIB_AUTH_SUBDIRS"; then
++	AC_MSG_RESULT($LIB_AUTH_SUBDIRS)
++else
++	AC_MSG_RESULT(none)
+ fi
+-INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
+-AC_SUBST([INSTALL_STRIP_PROGRAM])])
+ 
+-m4_include([cf/aix.m4])
+-m4_include([cf/auth-modules.m4])
+-m4_include([cf/broken-getaddrinfo.m4])
+-m4_include([cf/broken-getnameinfo.m4])
+-m4_include([cf/broken-glob.m4])
+-m4_include([cf/broken-realloc.m4])
+-m4_include([cf/broken-snprintf.m4])
+-m4_include([cf/broken.m4])
+-m4_include([cf/broken2.m4])
+-m4_include([cf/c-attribute.m4])
+-m4_include([cf/capabilities.m4])
+-m4_include([cf/check-compile-et.m4])
+-m4_include([cf/check-declaration.m4])
+-m4_include([cf/check-getpwnam_r-posix.m4])
+-m4_include([cf/check-man.m4])
+-m4_include([cf/check-netinet-ip-and-tcp.m4])
+-m4_include([cf/check-type-extra.m4])
+-m4_include([cf/check-var.m4])
+-m4_include([cf/check-x.m4])
+-m4_include([cf/check-xau.m4])
+-m4_include([cf/crypto.m4])
+-m4_include([cf/db.m4])
+-m4_include([cf/destdirs.m4])
+-m4_include([cf/dlopen.m4])
+-m4_include([cf/find-func-no-libs.m4])
+-m4_include([cf/find-func-no-libs2.m4])
+-m4_include([cf/find-func.m4])
+-m4_include([cf/find-if-not-broken.m4])
+-m4_include([cf/have-struct-field.m4])
+-m4_include([cf/have-type.m4])
+-m4_include([cf/irix.m4])
+-m4_include([cf/krb-bigendian.m4])
+-m4_include([cf/krb-func-getlogin.m4])
+-m4_include([cf/krb-ipv6.m4])
+-m4_include([cf/krb-prog-ln-s.m4])
+-m4_include([cf/krb-readline.m4])
+-m4_include([cf/krb-struct-spwd.m4])
+-m4_include([cf/krb-struct-winsize.m4])
+-m4_include([cf/mips-abi.m4])
+-m4_include([cf/misc.m4])
+-m4_include([cf/need-proto.m4])
+-m4_include([cf/osfc2.m4])
+-m4_include([cf/otp.m4])
+-m4_include([cf/proto-compat.m4])
+-m4_include([cf/retsigtype.m4])
+-m4_include([cf/roken-frag.m4])
+-m4_include([cf/sunos.m4])
+-m4_include([cf/telnet.m4])
+-m4_include([cf/test-package.m4])
+-m4_include([cf/wflags.m4])
+-m4_include([cf/with-all.m4])
++AC_SUBST(LIB_AUTH_SUBDIRS)dnl
++])
++
++dnl
++dnl $Id: destdirs.m4,v 1.2 2002/08/12 15:12:50 joda Exp $
++dnl
++
++AC_DEFUN([rk_DESTDIRS], [
++# This is done by AC_OUTPUT but we need the result here.
++test "x$prefix" = xNONE && prefix=$ac_default_prefix
++test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
++
++AC_FOREACH([rk_dir], [bin lib libexec localstate sbin sysconf], [
++	x="${rk_dir[]dir}"
++	eval y="$x"
++	while test "x$y" != "x$x"; do
++		x="$y"
++		eval y="$x"
++	done
++	AC_DEFINE_UNQUOTED(AS_TR_CPP(rk_dir[]dir), "$x", [path to ]rk_dir[])])
++])
++
+diff -ruN heimdal-0.6.3-old/admin/Makefile.in heimdal-0.6.3/admin/Makefile.in
+--- heimdal-0.6.3-old/admin/Makefile.in	2004-09-13 22:28:50.000000000 +1000
++++ heimdal-0.6.3/admin/Makefile.in	2004-09-14 08:39:41.000000000 +1000
+@@ -1,8 +1,8 @@
+-# Makefile.in generated by automake 1.8.3 from Makefile.am.
++# Makefile.in generated by automake 1.7.9 from Makefile.am.
+ # @configure_input@
+ 
+-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+-# 2003, 2004  Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
++# 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.
+@@ -20,8 +20,6 @@
+ 
+ # $Id: Makefile.am.common,v 1.37.2.2 2003/10/13 13:15:39 joda Exp $
+ 
+-SOURCES = $(ktutil_SOURCES)
+-
+ srcdir = @srcdir@
+ top_srcdir = @top_srcdir@
+ VPATH = @srcdir@
+@@ -29,6 +27,7 @@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+ top_builddir = ..
++
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+ INSTALL = @INSTALL@
+ install_sh_DATA = $(install_sh) -c -m 644
+@@ -43,87 +42,6 @@
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+ host_triplet = @host@
+-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+-	$(top_srcdir)/Makefile.am.common \
+-	$(top_srcdir)/cf/Makefile.am.common
+-sbin_PROGRAMS = ktutil$(EXEEXT)
+-subdir = admin
+-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+-am__aclocal_m4_deps = $(top_srcdir)/cf/aix.m4 \
+-	$(top_srcdir)/cf/auth-modules.m4 \
+-	$(top_srcdir)/cf/broken-getaddrinfo.m4 \
+-	$(top_srcdir)/cf/broken-getnameinfo.m4 \
+-	$(top_srcdir)/cf/broken-glob.m4 \
+-	$(top_srcdir)/cf/broken-realloc.m4 \
+-	$(top_srcdir)/cf/broken-snprintf.m4 $(top_srcdir)/cf/broken.m4 \
+-	$(top_srcdir)/cf/broken2.m4 $(top_srcdir)/cf/c-attribute.m4 \
+-	$(top_srcdir)/cf/capabilities.m4 \
+-	$(top_srcdir)/cf/check-compile-et.m4 \
+-	$(top_srcdir)/cf/check-declaration.m4 \
+-	$(top_srcdir)/cf/check-getpwnam_r-posix.m4 \
+-	$(top_srcdir)/cf/check-man.m4 \
+-	$(top_srcdir)/cf/check-netinet-ip-and-tcp.m4 \
+-	$(top_srcdir)/cf/check-type-extra.m4 \
+-	$(top_srcdir)/cf/check-var.m4 $(top_srcdir)/cf/check-x.m4 \
+-	$(top_srcdir)/cf/check-xau.m4 $(top_srcdir)/cf/crypto.m4 \
+-	$(top_srcdir)/cf/db.m4 $(top_srcdir)/cf/destdirs.m4 \
+-	$(top_srcdir)/cf/dlopen.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs2.m4 \
+-	$(top_srcdir)/cf/find-func.m4 \
+-	$(top_srcdir)/cf/find-if-not-broken.m4 \
+-	$(top_srcdir)/cf/have-struct-field.m4 \
+-	$(top_srcdir)/cf/have-type.m4 $(top_srcdir)/cf/irix.m4 \
+-	$(top_srcdir)/cf/krb-bigendian.m4 \
+-	$(top_srcdir)/cf/krb-func-getlogin.m4 \
+-	$(top_srcdir)/cf/krb-ipv6.m4 $(top_srcdir)/cf/krb-prog-ln-s.m4 \
+-	$(top_srcdir)/cf/krb-readline.m4 \
+-	$(top_srcdir)/cf/krb-struct-spwd.m4 \
+-	$(top_srcdir)/cf/krb-struct-winsize.m4 \
+-	$(top_srcdir)/cf/mips-abi.m4 $(top_srcdir)/cf/misc.m4 \
+-	$(top_srcdir)/cf/need-proto.m4 $(top_srcdir)/cf/osfc2.m4 \
+-	$(top_srcdir)/cf/otp.m4 $(top_srcdir)/cf/proto-compat.m4 \
+-	$(top_srcdir)/cf/retsigtype.m4 $(top_srcdir)/cf/roken-frag.m4 \
+-	$(top_srcdir)/cf/sunos.m4 $(top_srcdir)/cf/telnet.m4 \
+-	$(top_srcdir)/cf/test-package.m4 $(top_srcdir)/cf/wflags.m4 \
+-	$(top_srcdir)/cf/with-all.m4 $(top_srcdir)/configure.in
+-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+-	$(ACLOCAL_M4)
+-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = $(top_builddir)/include/config.h
+-CONFIG_CLEAN_FILES =
+-am__installdirs = "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(man8dir)"
+-sbinPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+-PROGRAMS = $(sbin_PROGRAMS)
+-am_ktutil_OBJECTS = add.$(OBJEXT) change.$(OBJEXT) copy.$(OBJEXT) \
+-	get.$(OBJEXT) ktutil.$(OBJEXT) list.$(OBJEXT) purge.$(OBJEXT) \
+-	remove.$(OBJEXT) rename.$(OBJEXT)
+-ktutil_OBJECTS = $(am_ktutil_OBJECTS)
+-ktutil_LDADD = $(LDADD)
+-am__DEPENDENCIES_1 =
+-ktutil_DEPENDENCIES = $(top_builddir)/lib/kadm5/libkadm5clnt.la \
+-	$(top_builddir)/lib/krb5/libkrb5.la $(am__DEPENDENCIES_1) \
+-	$(top_builddir)/lib/asn1/libasn1.la \
+-	$(top_builddir)/lib/sl/libsl.la $(am__DEPENDENCIES_1) \
+-	$(am__DEPENDENCIES_1)
+-DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
+-depcomp =
+-am__depfiles_maybe =
+-COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+-	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) \
+-	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+-	$(AM_CFLAGS) $(CFLAGS)
+-CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+-	$(AM_LDFLAGS) $(LDFLAGS) -o $@
+-SOURCES = $(ktutil_SOURCES)
+-DIST_SOURCES = $(ktutil_SOURCES)
+-man8dir = $(mandir)/man8
+-MANS = $(man_MANS)
+-ETAGS = etags
+-CTAGS = ctags
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ ACLOCAL = @ACLOCAL@
+ AIX4_FALSE = @AIX4_FALSE@
+ AIX4_TRUE = @AIX4_TRUE@
+@@ -148,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -158,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -181,12 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
++
+ INCLUDE_krb4 = @INCLUDE_krb4@
++
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
++
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -199,6 +130,7 @@
+ KRB5_TRUE = @KRB5_TRUE@
+ LDFLAGS = @LDFLAGS@
+ LEX = @LEX@
++
+ LEXLIB = @LEXLIB@
+ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+ LIBOBJS = @LIBOBJS@
+@@ -207,6 +139,7 @@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+ LIB_XauFileName = @LIB_XauFileName@
++
+ LIB_XauReadAuth = @LIB_XauReadAuth@
+ LIB_XauWriteAuth = @LIB_XauWriteAuth@
+ LIB_bswap16 = @LIB_bswap16@
+@@ -255,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -335,7 +270,6 @@
+ libexecdir = @libexecdir@
+ localstatedir = @localstatedir@
+ mandir = @mandir@
+-mkdir_p = @mkdir_p@
+ oldincludedir = @oldincludedir@
+ prefix = @prefix@
+ program_transform_name = @program_transform_name@
+@@ -343,26 +277,44 @@
+ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
++
+ SUFFIXES = .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8
++
+ INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) $(INCLUDE_readline) $(INCLUDE_des)
++
+ @do_roken_rename_TRUE@ROKEN_RENAME = -DROKEN_RENAME
++
+ AM_CFLAGS = $(WFLAGS)
++
+ CP = cp
++
+ buildinclude = $(top_builddir)/include
+ LIB_getattr = @LIB_getattr@
+ LIB_getpwent_r = @LIB_getpwent_r@
+ LIB_odm_initialize = @LIB_odm_initialize@
+ LIB_setpcred = @LIB_setpcred@
++
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
++
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
++
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++
+ @KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
+ @KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+ 
+ @KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
++
+ @DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
++
+ man_MANS = ktutil.8
++
++sbin_PROGRAMS = ktutil
++
+ ktutil_SOURCES = \
+ 	add.c					\
+ 	change.c				\
+@@ -374,59 +326,70 @@
+ 	remove.c				\
+ 	rename.c
+ 
++
+ LDADD = \
+ 	$(top_builddir)/lib/kadm5/libkadm5clnt.la \
+ 	$(top_builddir)/lib/krb5/libkrb5.la \
+ 	$(LIB_des) \
+ 	$(top_builddir)/lib/asn1/libasn1.la \
+-	$(top_builddir)/lib/sl/libsl.la \
+-	$(LIB_readline) \
+-	$(LIB_roken)
++	$(LIB_sl) \
++	-ledit
++
++subdir = admin
++ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
++mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++sbin_PROGRAMS = ktutil$(EXEEXT)
++PROGRAMS = $(sbin_PROGRAMS)
++
++am_ktutil_OBJECTS = add.$(OBJEXT) change.$(OBJEXT) copy.$(OBJEXT) \
++	get.$(OBJEXT) ktutil.$(OBJEXT) list.$(OBJEXT) purge.$(OBJEXT) \
++	remove.$(OBJEXT) rename.$(OBJEXT)
++ktutil_OBJECTS = $(am_ktutil_OBJECTS)
++ktutil_LDADD = $(LDADD)
++ktutil_DEPENDENCIES = $(top_builddir)/lib/kadm5/libkadm5clnt.la \
++	$(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++ktutil_LDFLAGS =
++
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
++depcomp =
++am__depfiles_maybe =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++CCLD = $(CC)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++DIST_SOURCES = $(ktutil_SOURCES)
++MANS = $(man_MANS)
++DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/Makefile.am.common \
++	$(top_srcdir)/cf/Makefile.am.common Makefile.am
++SOURCES = $(ktutil_SOURCES)
+ 
+ all: all-am
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj
+-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(am__configure_deps)
+-	@for dep in $?; do \
+-	  case '$(am__configure_deps)' in \
+-	    *$$dep*) \
+-	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+-		&& exit 0; \
+-	      exit 1;; \
+-	  esac; \
+-	done; \
+-	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  --ignore-deps admin/Makefile'; \
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+-	  $(AUTOMAKE) --foreign  --ignore-deps admin/Makefile
+-.PRECIOUS: Makefile
+-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+-	@case '$?' in \
+-	  *config.status*) \
+-	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+-	  *) \
+-	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+-	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+-	esac;
+-
+-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-
+-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
++	  $(AUTOMAKE) --foreign  admin/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
++sbinPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ install-sbinPROGRAMS: $(sbin_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(sbindir)" || $(mkdir_p) "$(DESTDIR)$(sbindir)"
++	$(mkinstalldirs) $(DESTDIR)$(sbindir)
+ 	@list='$(sbin_PROGRAMS)'; for p in $$list; do \
+ 	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+ 	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+-	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(sbinPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(sbindir)/$$f'"; \
+-	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(sbinPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(sbindir)/$$f" || exit 1; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(sbinPROGRAMS_INSTALL) $$p $(DESTDIR)$(sbindir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(sbinPROGRAMS_INSTALL) $$p $(DESTDIR)$(sbindir)/$$f || exit 1; \
+ 	  else :; fi; \
+ 	done
+ 
+@@ -434,8 +397,8 @@
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(sbin_PROGRAMS)'; for p in $$list; do \
+ 	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  echo " rm -f '$(DESTDIR)$(sbindir)/$$f'"; \
+-	  rm -f "$(DESTDIR)$(sbindir)/$$f"; \
++	  echo " rm -f $(DESTDIR)$(sbindir)/$$f"; \
++	  rm -f $(DESTDIR)$(sbindir)/$$f; \
+ 	done
+ 
+ clean-sbinPROGRAMS:
+@@ -449,19 +412,19 @@
+ 	$(LINK) $(ktutil_LDFLAGS) $(ktutil_OBJECTS) $(ktutil_LDADD) $(LIBS)
+ 
+ mostlyclean-compile:
+-	-rm -f *.$(OBJEXT)
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ .c.obj:
+-	$(COMPILE) -c `$(CYGPATH_W) '$<'`
++	$(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
+ 
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ mostlyclean-libtool:
+ 	-rm -f *.lo
+@@ -472,9 +435,11 @@
+ distclean-libtool:
+ 	-rm -f libtool
+ uninstall-info-am:
++
++man8dir = $(mandir)/man8
+ install-man8: $(man8_MANS) $(man_MANS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(man8dir)" || $(mkdir_p) "$(DESTDIR)$(man8dir)"
++	$(mkinstalldirs) $(DESTDIR)$(man8dir)
+ 	@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
+ 	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
+ 	for i in $$l2; do \
+@@ -493,8 +458,8 @@
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+-	  echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man8dir)/$$inst'"; \
+-	  $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man8dir)/$$inst"; \
++	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst"; \
++	  $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst; \
+ 	done
+ uninstall-man8:
+ 	@$(NORMAL_UNINSTALL)
+@@ -514,10 +479,18 @@
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+-	  echo " rm -f '$(DESTDIR)$(man8dir)/$$inst'"; \
+-	  rm -f "$(DESTDIR)$(man8dir)/$$inst"; \
++	  echo " rm -f $(DESTDIR)$(man8dir)/$$inst"; \
++	  rm -f $(DESTDIR)$(man8dir)/$$inst; \
+ 	done
+ 
++ETAGS = etags
++ETAGSFLAGS =
++
++CTAGS = ctags
++CTAGSFLAGS =
++
++tags: TAGS
++
+ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ 	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ 	unique=`for i in $$list; do \
+@@ -526,7 +499,6 @@
+ 	  $(AWK) '    { files[$$0] = 1; } \
+ 	       END { for (i in files) print i; }'`; \
+ 	mkid -fID $$unique
+-tags: TAGS
+ 
+ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -541,6 +513,7 @@
+ 	test -z "$(ETAGS_ARGS)$$tags$$unique" \
+ 	  || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ 	     $$tags $$unique
++
+ ctags: CTAGS
+ CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -563,9 +536,13 @@
+ 
+ distclean-tags:
+ 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++
++top_distdir = ..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	$(mkdir_p) $(distdir)/.. $(distdir)/../cf
++	$(mkinstalldirs) $(distdir)/.. $(distdir)/../cf
+ 	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ 	list='$(DISTFILES)'; for file in $$list; do \
+@@ -577,7 +554,7 @@
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ 	    dir="/$$dir"; \
+-	    $(mkdir_p) "$(distdir)$$dir"; \
++	    $(mkinstalldirs) "$(distdir)$$dir"; \
+ 	  else \
+ 	    dir=''; \
+ 	  fi; \
+@@ -599,10 +576,9 @@
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+ all-am: Makefile $(PROGRAMS) $(MANS) all-local
++
+ installdirs:
+-	for dir in "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(man8dir)"; do \
+-	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
+-	done
++	$(mkinstalldirs) $(DESTDIR)$(sbindir) $(DESTDIR)$(man8dir)
+ install: install-am
+ install-exec: install-exec-am
+ install-data: install-data-am
+@@ -629,8 +605,7 @@
+ 	@echo "it deletes files that may require special tools to rebuild."
+ clean: clean-am
+ 
+-clean-am: clean-generic clean-libtool clean-sbinPROGRAMS \
+-	mostlyclean-am
++clean-am: clean-generic clean-libtool clean-sbinPROGRAMS mostlyclean-am
+ 
+ distclean: distclean-am
+ 	-rm -f Makefile
+@@ -641,8 +616,6 @@
+ 
+ dvi-am:
+ 
+-html: html-am
+-
+ info: info-am
+ 
+ info-am:
+@@ -684,17 +657,16 @@
+ 
+ .PHONY: CTAGS GTAGS all all-am all-local check check-am check-local \
+ 	clean clean-generic clean-libtool clean-sbinPROGRAMS ctags \
+-	distclean distclean-compile distclean-generic \
+-	distclean-libtool distclean-tags distdir dvi dvi-am html \
+-	html-am info info-am install install-am install-data \
+-	install-data-am install-exec install-exec-am install-info \
+-	install-info-am install-man install-man8 install-sbinPROGRAMS \
+-	install-strip installcheck installcheck-am installdirs \
+-	maintainer-clean maintainer-clean-generic mostlyclean \
+-	mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
+-	pdf pdf-am ps ps-am tags uninstall uninstall-am \
+-	uninstall-info-am uninstall-man uninstall-man8 \
+-	uninstall-sbinPROGRAMS
++	distclean distclean-compile distclean-generic distclean-libtool \
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-data install-data-am install-exec \
++	install-exec-am install-info install-info-am install-man \
++	install-man8 install-sbinPROGRAMS install-strip installcheck \
++	installcheck-am installdirs maintainer-clean \
++	maintainer-clean-generic mostlyclean mostlyclean-compile \
++	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
++	tags uninstall uninstall-am uninstall-info-am uninstall-man \
++	uninstall-man8 uninstall-sbinPROGRAMS
+ 
+ 
+ install-suid-programs:
+@@ -826,6 +798,7 @@
+ 	$(COMPILE_ET) $<
+ .et.c:
+ 	$(COMPILE_ET) $<
++	$(LIB_roken)
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.6.3-old/appl/afsutil/Makefile.in heimdal-0.6.3/appl/afsutil/Makefile.in
+--- heimdal-0.6.3-old/appl/afsutil/Makefile.in	2004-09-13 22:28:52.000000000 +1000
++++ heimdal-0.6.3/appl/afsutil/Makefile.in	2004-09-14 08:39:41.000000000 +1000
+@@ -1,8 +1,8 @@
+-# Makefile.in generated by automake 1.8.3 from Makefile.am.
++# Makefile.in generated by automake 1.7.9 from Makefile.am.
+ # @configure_input@
+ 
+-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+-# 2003, 2004  Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
++# 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.
+@@ -20,8 +20,6 @@
+ 
+ # $Id: Makefile.am.common,v 1.37.2.2 2003/10/13 13:15:39 joda Exp $
+ 
+-SOURCES = $(afslog_SOURCES) $(pagsh_SOURCES)
+-
+ srcdir = @srcdir@
+ top_srcdir = @top_srcdir@
+ VPATH = @srcdir@
+@@ -29,6 +27,7 @@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+ top_builddir = ../..
++
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+ INSTALL = @INSTALL@
+ install_sh_DATA = $(install_sh) -c -m 644
+@@ -43,93 +42,6 @@
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+ host_triplet = @host@
+-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+-	$(top_srcdir)/Makefile.am.common \
+-	$(top_srcdir)/cf/Makefile.am.common ChangeLog
+-bin_PROGRAMS = afslog$(EXEEXT) pagsh$(EXEEXT)
+-subdir = appl/afsutil
+-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+-am__aclocal_m4_deps = $(top_srcdir)/cf/aix.m4 \
+-	$(top_srcdir)/cf/auth-modules.m4 \
+-	$(top_srcdir)/cf/broken-getaddrinfo.m4 \
+-	$(top_srcdir)/cf/broken-getnameinfo.m4 \
+-	$(top_srcdir)/cf/broken-glob.m4 \
+-	$(top_srcdir)/cf/broken-realloc.m4 \
+-	$(top_srcdir)/cf/broken-snprintf.m4 $(top_srcdir)/cf/broken.m4 \
+-	$(top_srcdir)/cf/broken2.m4 $(top_srcdir)/cf/c-attribute.m4 \
+-	$(top_srcdir)/cf/capabilities.m4 \
+-	$(top_srcdir)/cf/check-compile-et.m4 \
+-	$(top_srcdir)/cf/check-declaration.m4 \
+-	$(top_srcdir)/cf/check-getpwnam_r-posix.m4 \
+-	$(top_srcdir)/cf/check-man.m4 \
+-	$(top_srcdir)/cf/check-netinet-ip-and-tcp.m4 \
+-	$(top_srcdir)/cf/check-type-extra.m4 \
+-	$(top_srcdir)/cf/check-var.m4 $(top_srcdir)/cf/check-x.m4 \
+-	$(top_srcdir)/cf/check-xau.m4 $(top_srcdir)/cf/crypto.m4 \
+-	$(top_srcdir)/cf/db.m4 $(top_srcdir)/cf/destdirs.m4 \
+-	$(top_srcdir)/cf/dlopen.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs2.m4 \
+-	$(top_srcdir)/cf/find-func.m4 \
+-	$(top_srcdir)/cf/find-if-not-broken.m4 \
+-	$(top_srcdir)/cf/have-struct-field.m4 \
+-	$(top_srcdir)/cf/have-type.m4 $(top_srcdir)/cf/irix.m4 \
+-	$(top_srcdir)/cf/krb-bigendian.m4 \
+-	$(top_srcdir)/cf/krb-func-getlogin.m4 \
+-	$(top_srcdir)/cf/krb-ipv6.m4 $(top_srcdir)/cf/krb-prog-ln-s.m4 \
+-	$(top_srcdir)/cf/krb-readline.m4 \
+-	$(top_srcdir)/cf/krb-struct-spwd.m4 \
+-	$(top_srcdir)/cf/krb-struct-winsize.m4 \
+-	$(top_srcdir)/cf/mips-abi.m4 $(top_srcdir)/cf/misc.m4 \
+-	$(top_srcdir)/cf/need-proto.m4 $(top_srcdir)/cf/osfc2.m4 \
+-	$(top_srcdir)/cf/otp.m4 $(top_srcdir)/cf/proto-compat.m4 \
+-	$(top_srcdir)/cf/retsigtype.m4 $(top_srcdir)/cf/roken-frag.m4 \
+-	$(top_srcdir)/cf/sunos.m4 $(top_srcdir)/cf/telnet.m4 \
+-	$(top_srcdir)/cf/test-package.m4 $(top_srcdir)/cf/wflags.m4 \
+-	$(top_srcdir)/cf/with-all.m4 $(top_srcdir)/configure.in
+-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+-	$(ACLOCAL_M4)
+-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = $(top_builddir)/include/config.h
+-CONFIG_CLEAN_FILES =
+-am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"
+-binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+-PROGRAMS = $(bin_PROGRAMS)
+-am_afslog_OBJECTS = afslog.$(OBJEXT)
+-afslog_OBJECTS = $(am_afslog_OBJECTS)
+-afslog_LDADD = $(LDADD)
+-am__DEPENDENCIES_1 =
+-am__DEPENDENCIES_2 = $(top_builddir)/lib/kafs/libkafs.la \
+-	$(am__DEPENDENCIES_1)
+-afslog_DEPENDENCIES = $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_1) \
+-	$(top_builddir)/lib/krb5/libkrb5.la \
+-	$(top_builddir)/lib/asn1/libasn1.la $(am__DEPENDENCIES_1) \
+-	$(am__DEPENDENCIES_1)
+-am_pagsh_OBJECTS = pagsh.$(OBJEXT)
+-pagsh_OBJECTS = $(am_pagsh_OBJECTS)
+-pagsh_LDADD = $(LDADD)
+-pagsh_DEPENDENCIES = $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_1) \
+-	$(top_builddir)/lib/krb5/libkrb5.la \
+-	$(top_builddir)/lib/asn1/libasn1.la $(am__DEPENDENCIES_1) \
+-	$(am__DEPENDENCIES_1)
+-DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
+-depcomp =
+-am__depfiles_maybe =
+-COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+-	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) \
+-	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+-	$(AM_CFLAGS) $(CFLAGS)
+-CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+-	$(AM_LDFLAGS) $(LDFLAGS) -o $@
+-SOURCES = $(afslog_SOURCES) $(pagsh_SOURCES)
+-DIST_SOURCES = $(afslog_SOURCES) $(pagsh_SOURCES)
+-man1dir = $(mandir)/man1
+-MANS = $(man_MANS)
+-ETAGS = etags
+-CTAGS = ctags
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ ACLOCAL = @ACLOCAL@
+ AIX4_FALSE = @AIX4_FALSE@
+ AIX4_TRUE = @AIX4_TRUE@
+@@ -154,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -164,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -187,12 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
++
+ INCLUDE_krb4 = @INCLUDE_krb4@
++
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
++
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -205,6 +130,7 @@
+ KRB5_TRUE = @KRB5_TRUE@
+ LDFLAGS = @LDFLAGS@
+ LEX = @LEX@
++
+ LEXLIB = @LEXLIB@
+ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+ LIBOBJS = @LIBOBJS@
+@@ -213,6 +139,7 @@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+ LIB_XauFileName = @LIB_XauFileName@
++
+ LIB_XauReadAuth = @LIB_XauReadAuth@
+ LIB_XauWriteAuth = @LIB_XauWriteAuth@
+ LIB_bswap16 = @LIB_bswap16@
+@@ -261,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -341,7 +270,6 @@
+ libexecdir = @libexecdir@
+ localstatedir = @localstatedir@
+ mandir = @mandir@
+-mkdir_p = @mkdir_p@
+ oldincludedir = @oldincludedir@
+ prefix = @prefix@
+ program_transform_name = @program_transform_name@
+@@ -349,28 +277,48 @@
+ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
++
+ SUFFIXES = .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8
++
+ INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) $(INCLUDE_krb4)
++
+ @do_roken_rename_TRUE@ROKEN_RENAME = -DROKEN_RENAME
++
+ AM_CFLAGS = $(WFLAGS)
++
+ CP = cp
++
+ buildinclude = $(top_builddir)/include
+ LIB_getattr = @LIB_getattr@
+ LIB_getpwent_r = @LIB_getpwent_r@
+ LIB_odm_initialize = @LIB_odm_initialize@
+ LIB_setpcred = @LIB_setpcred@
++
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
++
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
++
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++
+ @KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
+ @KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+ 
+ @KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
++
+ @DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
++
++bin_PROGRAMS = afslog pagsh
++
+ afslog_SOURCES = afslog.c
++
+ pagsh_SOURCES = pagsh.c
++
+ man_MANS = afslog.1
++
+ LDADD = $(LIB_kafs) \
+ 	$(LIB_krb4) \
+ 	$(top_builddir)/lib/krb5/libkrb5.la \
+@@ -378,50 +326,66 @@
+ 	$(LIB_des) \
+ 	$(LIB_roken)
+ 
++subdir = appl/afsutil
++ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
++mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++bin_PROGRAMS = afslog$(EXEEXT) pagsh$(EXEEXT)
++PROGRAMS = $(bin_PROGRAMS)
++
++am_afslog_OBJECTS = afslog.$(OBJEXT)
++afslog_OBJECTS = $(am_afslog_OBJECTS)
++afslog_LDADD = $(LDADD)
++afslog_DEPENDENCIES = $(top_builddir)/lib/kafs/libkafs.la \
++	$(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++afslog_LDFLAGS =
++am_pagsh_OBJECTS = pagsh.$(OBJEXT)
++pagsh_OBJECTS = $(am_pagsh_OBJECTS)
++pagsh_LDADD = $(LDADD)
++pagsh_DEPENDENCIES = $(top_builddir)/lib/kafs/libkafs.la \
++	$(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++pagsh_LDFLAGS =
++
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
++depcomp =
++am__depfiles_maybe =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++CCLD = $(CC)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++DIST_SOURCES = $(afslog_SOURCES) $(pagsh_SOURCES)
++MANS = $(man_MANS)
++DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/Makefile.am.common \
++	$(top_srcdir)/cf/Makefile.am.common ChangeLog Makefile.am
++SOURCES = $(afslog_SOURCES) $(pagsh_SOURCES)
++
+ all: all-am
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj
+-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(am__configure_deps)
+-	@for dep in $?; do \
+-	  case '$(am__configure_deps)' in \
+-	    *$$dep*) \
+-	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+-		&& exit 0; \
+-	      exit 1;; \
+-	  esac; \
+-	done; \
+-	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  --ignore-deps appl/afsutil/Makefile'; \
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+-	  $(AUTOMAKE) --foreign  --ignore-deps appl/afsutil/Makefile
+-.PRECIOUS: Makefile
+-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+-	@case '$?' in \
+-	  *config.status*) \
+-	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+-	  *) \
+-	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+-	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+-	esac;
+-
+-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-
+-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
++	  $(AUTOMAKE) --foreign  appl/afsutil/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
++binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ install-binPROGRAMS: $(bin_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
++	$(mkinstalldirs) $(DESTDIR)$(bindir)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+ 	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+ 	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+-	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
+-	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f || exit 1; \
+ 	  else :; fi; \
+ 	done
+ 
+@@ -429,8 +393,8 @@
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+ 	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
+-	  rm -f "$(DESTDIR)$(bindir)/$$f"; \
++	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
++	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+ clean-binPROGRAMS:
+@@ -447,19 +411,19 @@
+ 	$(LINK) $(pagsh_LDFLAGS) $(pagsh_OBJECTS) $(pagsh_LDADD) $(LIBS)
+ 
+ mostlyclean-compile:
+-	-rm -f *.$(OBJEXT)
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ .c.obj:
+-	$(COMPILE) -c `$(CYGPATH_W) '$<'`
++	$(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
+ 
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ mostlyclean-libtool:
+ 	-rm -f *.lo
+@@ -470,9 +434,11 @@
+ distclean-libtool:
+ 	-rm -f libtool
+ uninstall-info-am:
++
++man1dir = $(mandir)/man1
+ install-man1: $(man1_MANS) $(man_MANS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(man1dir)" || $(mkdir_p) "$(DESTDIR)$(man1dir)"
++	$(mkinstalldirs) $(DESTDIR)$(man1dir)
+ 	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
+ 	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
+ 	for i in $$l2; do \
+@@ -491,8 +457,8 @@
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+-	  echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
+-	  $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst"; \
++	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
++	  $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
+ 	done
+ uninstall-man1:
+ 	@$(NORMAL_UNINSTALL)
+@@ -512,10 +478,18 @@
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+-	  echo " rm -f '$(DESTDIR)$(man1dir)/$$inst'"; \
+-	  rm -f "$(DESTDIR)$(man1dir)/$$inst"; \
++	  echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
++	  rm -f $(DESTDIR)$(man1dir)/$$inst; \
+ 	done
+ 
++ETAGS = etags
++ETAGSFLAGS =
++
++CTAGS = ctags
++CTAGSFLAGS =
++
++tags: TAGS
++
+ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ 	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ 	unique=`for i in $$list; do \
+@@ -524,7 +498,6 @@
+ 	  $(AWK) '    { files[$$0] = 1; } \
+ 	       END { for (i in files) print i; }'`; \
+ 	mkid -fID $$unique
+-tags: TAGS
+ 
+ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -539,6 +512,7 @@
+ 	test -z "$(ETAGS_ARGS)$$tags$$unique" \
+ 	  || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ 	     $$tags $$unique
++
+ ctags: CTAGS
+ CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -561,9 +535,13 @@
+ 
+ distclean-tags:
+ 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	$(mkdir_p) $(distdir)/../.. $(distdir)/../../cf
++	$(mkinstalldirs) $(distdir)/../.. $(distdir)/../../cf
+ 	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ 	list='$(DISTFILES)'; for file in $$list; do \
+@@ -575,7 +553,7 @@
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ 	    dir="/$$dir"; \
+-	    $(mkdir_p) "$(distdir)$$dir"; \
++	    $(mkinstalldirs) "$(distdir)$$dir"; \
+ 	  else \
+ 	    dir=''; \
+ 	  fi; \
+@@ -597,10 +575,9 @@
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+ all-am: Makefile $(PROGRAMS) $(MANS) all-local
++
+ installdirs:
+-	for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"; do \
+-	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
+-	done
++	$(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(man1dir)
+ install: install-am
+ install-exec: install-exec-am
+ install-data: install-data-am
+@@ -638,8 +615,6 @@
+ 
+ dvi-am:
+ 
+-html: html-am
+-
+ info: info-am
+ 
+ info-am:
+@@ -681,17 +656,16 @@
+ 
+ .PHONY: CTAGS GTAGS all all-am all-local check check-am check-local \
+ 	clean clean-binPROGRAMS clean-generic clean-libtool ctags \
+-	distclean distclean-compile distclean-generic \
+-	distclean-libtool distclean-tags distdir dvi dvi-am html \
+-	html-am info info-am install install-am install-binPROGRAMS \
+-	install-data install-data-am install-exec install-exec-am \
+-	install-info install-info-am install-man install-man1 \
+-	install-strip installcheck installcheck-am installdirs \
+-	maintainer-clean maintainer-clean-generic mostlyclean \
+-	mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
+-	pdf pdf-am ps ps-am tags uninstall uninstall-am \
+-	uninstall-binPROGRAMS uninstall-info-am uninstall-man \
+-	uninstall-man1
++	distclean distclean-compile distclean-generic distclean-libtool \
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-binPROGRAMS install-data install-data-am \
++	install-exec install-exec-am install-info install-info-am \
++	install-man install-man1 install-strip installcheck \
++	installcheck-am installdirs maintainer-clean \
++	maintainer-clean-generic mostlyclean mostlyclean-compile \
++	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
++	tags uninstall uninstall-am uninstall-binPROGRAMS \
++	uninstall-info-am uninstall-man uninstall-man1
+ 
+ 
+ install-suid-programs:
+diff -ruN heimdal-0.6.3-old/appl/dceutils/Makefile.in heimdal-0.6.3/appl/dceutils/Makefile.in
+--- heimdal-0.6.3-old/appl/dceutils/Makefile.in	2004-09-13 22:28:53.000000000 +1000
++++ heimdal-0.6.3/appl/dceutils/Makefile.in	2004-09-14 08:39:42.000000000 +1000
+@@ -1,8 +1,8 @@
+-# Makefile.in generated by automake 1.8.3 from Makefile.am.
++# Makefile.in generated by automake 1.7.9 from Makefile.am.
+ # @configure_input@
+ 
+-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+-# 2003, 2004  Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
++# 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.
+@@ -20,8 +20,6 @@
+ 
+ # $Id: Makefile.am.common,v 1.37.2.2 2003/10/13 13:15:39 joda Exp $
+ 
+-SOURCES = $(dpagaix_SOURCES) $(k5dcecon_SOURCES)
+-
+ srcdir = @srcdir@
+ top_srcdir = @top_srcdir@
+ VPATH = @srcdir@
+@@ -29,6 +27,7 @@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+ top_builddir = ../..
++
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+ INSTALL = @INSTALL@
+ install_sh_DATA = $(install_sh) -c -m 644
+@@ -43,86 +42,6 @@
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+ host_triplet = @host@
+-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+-	$(top_srcdir)/Makefile.am.common \
+-	$(top_srcdir)/cf/Makefile.am.common ChangeLog
+-libexec_PROGRAMS = $(am__EXEEXT_1) $(am__EXEEXT_2)
+-subdir = appl/dceutils
+-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+-am__aclocal_m4_deps = $(top_srcdir)/cf/aix.m4 \
+-	$(top_srcdir)/cf/auth-modules.m4 \
+-	$(top_srcdir)/cf/broken-getaddrinfo.m4 \
+-	$(top_srcdir)/cf/broken-getnameinfo.m4 \
+-	$(top_srcdir)/cf/broken-glob.m4 \
+-	$(top_srcdir)/cf/broken-realloc.m4 \
+-	$(top_srcdir)/cf/broken-snprintf.m4 $(top_srcdir)/cf/broken.m4 \
+-	$(top_srcdir)/cf/broken2.m4 $(top_srcdir)/cf/c-attribute.m4 \
+-	$(top_srcdir)/cf/capabilities.m4 \
+-	$(top_srcdir)/cf/check-compile-et.m4 \
+-	$(top_srcdir)/cf/check-declaration.m4 \
+-	$(top_srcdir)/cf/check-getpwnam_r-posix.m4 \
+-	$(top_srcdir)/cf/check-man.m4 \
+-	$(top_srcdir)/cf/check-netinet-ip-and-tcp.m4 \
+-	$(top_srcdir)/cf/check-type-extra.m4 \
+-	$(top_srcdir)/cf/check-var.m4 $(top_srcdir)/cf/check-x.m4 \
+-	$(top_srcdir)/cf/check-xau.m4 $(top_srcdir)/cf/crypto.m4 \
+-	$(top_srcdir)/cf/db.m4 $(top_srcdir)/cf/destdirs.m4 \
+-	$(top_srcdir)/cf/dlopen.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs2.m4 \
+-	$(top_srcdir)/cf/find-func.m4 \
+-	$(top_srcdir)/cf/find-if-not-broken.m4 \
+-	$(top_srcdir)/cf/have-struct-field.m4 \
+-	$(top_srcdir)/cf/have-type.m4 $(top_srcdir)/cf/irix.m4 \
+-	$(top_srcdir)/cf/krb-bigendian.m4 \
+-	$(top_srcdir)/cf/krb-func-getlogin.m4 \
+-	$(top_srcdir)/cf/krb-ipv6.m4 $(top_srcdir)/cf/krb-prog-ln-s.m4 \
+-	$(top_srcdir)/cf/krb-readline.m4 \
+-	$(top_srcdir)/cf/krb-struct-spwd.m4 \
+-	$(top_srcdir)/cf/krb-struct-winsize.m4 \
+-	$(top_srcdir)/cf/mips-abi.m4 $(top_srcdir)/cf/misc.m4 \
+-	$(top_srcdir)/cf/need-proto.m4 $(top_srcdir)/cf/osfc2.m4 \
+-	$(top_srcdir)/cf/otp.m4 $(top_srcdir)/cf/proto-compat.m4 \
+-	$(top_srcdir)/cf/retsigtype.m4 $(top_srcdir)/cf/roken-frag.m4 \
+-	$(top_srcdir)/cf/sunos.m4 $(top_srcdir)/cf/telnet.m4 \
+-	$(top_srcdir)/cf/test-package.m4 $(top_srcdir)/cf/wflags.m4 \
+-	$(top_srcdir)/cf/with-all.m4 $(top_srcdir)/configure.in
+-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+-	$(ACLOCAL_M4)
+-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = $(top_builddir)/include/config.h
+-CONFIG_CLEAN_FILES =
+-am__EXEEXT_1 = k5dcecon$(EXEEXT)
+-@AIX_TRUE@am__EXEEXT_2 = dpagaix$(EXEEXT)
+-am__installdirs = "$(DESTDIR)$(libexecdir)"
+-libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+-PROGRAMS = $(libexec_PROGRAMS)
+-am_dpagaix_OBJECTS = dpagaix-dpagaix.$(OBJEXT)
+-dpagaix_OBJECTS = $(am_dpagaix_OBJECTS)
+-am__DEPENDENCIES_1 =
+-dpagaix_DEPENDENCIES = $(am__DEPENDENCIES_1)
+-am_k5dcecon_OBJECTS = k5dcecon.$(OBJEXT)
+-k5dcecon_OBJECTS = $(am_k5dcecon_OBJECTS)
+-k5dcecon_LDADD = $(LDADD)
+-@IRIX_FALSE@k5dcecon_DEPENDENCIES = $(am__DEPENDENCIES_1) \
+-@IRIX_FALSE@	$(am__DEPENDENCIES_1)
+-@IRIX_TRUE@k5dcecon_DEPENDENCIES = $(am__DEPENDENCIES_1)
+-DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
+-depcomp =
+-am__depfiles_maybe =
+-COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+-	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) \
+-	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+-	$(AM_CFLAGS) $(CFLAGS)
+-CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+-	$(AM_LDFLAGS) $(LDFLAGS) -o $@
+-SOURCES = $(dpagaix_SOURCES) $(k5dcecon_SOURCES)
+-DIST_SOURCES = $(dpagaix_SOURCES) $(k5dcecon_SOURCES)
+-ETAGS = etags
+-CTAGS = ctags
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ ACLOCAL = @ACLOCAL@
+ AIX4_FALSE = @AIX4_FALSE@
+ AIX4_TRUE = @AIX4_TRUE@
+@@ -147,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -157,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -180,12 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
++
+ INCLUDE_krb4 = @INCLUDE_krb4@
++
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
++
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -198,6 +130,7 @@
+ KRB5_TRUE = @KRB5_TRUE@
+ LDFLAGS = @LDFLAGS@
+ LEX = @LEX@
++
+ LEXLIB = @LEXLIB@
+ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+ LIBOBJS = @LIBOBJS@
+@@ -206,6 +139,7 @@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+ LIB_XauFileName = @LIB_XauFileName@
++
+ LIB_XauReadAuth = @LIB_XauReadAuth@
+ LIB_XauWriteAuth = @LIB_XauWriteAuth@
+ LIB_bswap16 = @LIB_bswap16@
+@@ -254,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -334,7 +270,6 @@
+ libexecdir = @libexecdir@
+ localstatedir = @localstatedir@
+ mandir = @mandir@
+-mkdir_p = @mkdir_p@
+ oldincludedir = @oldincludedir@
+ prefix = @prefix@
+ program_transform_name = @program_transform_name@
+@@ -342,79 +277,112 @@
+ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
++
+ SUFFIXES = .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8
++
+ INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken)
++
+ @do_roken_rename_TRUE@ROKEN_RENAME = -DROKEN_RENAME
++
+ AM_CFLAGS = $(WFLAGS)
++
+ CP = cp
++
+ buildinclude = $(top_builddir)/include
+ LIB_getattr = @LIB_getattr@
+ LIB_getpwent_r = @LIB_getpwent_r@
+ LIB_odm_initialize = @LIB_odm_initialize@
+ LIB_setpcred = @LIB_setpcred@
++
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
++
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
++
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++
+ @KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
+ @KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+ 
+ @KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
++
+ @DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
++
+ DFSPROGS = k5dcecon
+ @AIX_TRUE@AIX_DFSPROGS = dpagaix
++
++libexec_PROGRAMS = $(DFSPROGS) $(AIX_DFSPROGS)
++
+ dpagaix_CFLAGS = $(dpagaix_cflags)
+ dpagaix_LDFLAGS = $(dpagaix_ldflags)
+ dpagaix_LDADD = $(dpagaix_ldadd)
++
+ LIB_dce = -ldce
++
+ k5dcecon_SOURCES = k5dcecon.c k5dce.h
++
+ dpagaix_SOURCES = dpagaix.c
+-@IRIX_FALSE@LDADD = $(LIB_roken) $(LIB_dce)
++
+ @IRIX_TRUE@LDADD = $(LIB_dce)
++@IRIX_FALSE@LDADD = $(LIB_roken) $(LIB_dce)
++subdir = appl/dceutils
++ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
++mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++@AIX_TRUE@libexec_PROGRAMS = k5dcecon$(EXEEXT) dpagaix$(EXEEXT)
++@AIX_FALSE@libexec_PROGRAMS = k5dcecon$(EXEEXT)
++PROGRAMS = $(libexec_PROGRAMS)
++
++am_dpagaix_OBJECTS = dpagaix-dpagaix.$(OBJEXT)
++dpagaix_OBJECTS = $(am_dpagaix_OBJECTS)
++dpagaix_DEPENDENCIES =
++am_k5dcecon_OBJECTS = k5dcecon.$(OBJEXT)
++k5dcecon_OBJECTS = $(am_k5dcecon_OBJECTS)
++k5dcecon_LDADD = $(LDADD)
++@IRIX_TRUE@k5dcecon_DEPENDENCIES =
++@IRIX_FALSE@k5dcecon_DEPENDENCIES =
++k5dcecon_LDFLAGS =
++
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
++depcomp =
++am__depfiles_maybe =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++CCLD = $(CC)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++DIST_SOURCES = $(dpagaix_SOURCES) $(k5dcecon_SOURCES)
++DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/Makefile.am.common \
++	$(top_srcdir)/cf/Makefile.am.common ChangeLog Makefile.am
++SOURCES = $(dpagaix_SOURCES) $(k5dcecon_SOURCES)
++
+ all: all-am
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj
+-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(am__configure_deps)
+-	@for dep in $?; do \
+-	  case '$(am__configure_deps)' in \
+-	    *$$dep*) \
+-	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+-		&& exit 0; \
+-	      exit 1;; \
+-	  esac; \
+-	done; \
+-	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  --ignore-deps appl/dceutils/Makefile'; \
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+-	  $(AUTOMAKE) --foreign  --ignore-deps appl/dceutils/Makefile
+-.PRECIOUS: Makefile
+-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+-	@case '$?' in \
+-	  *config.status*) \
+-	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+-	  *) \
+-	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+-	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+-	esac;
+-
+-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-
+-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
++	  $(AUTOMAKE) --foreign  appl/dceutils/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
++libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ install-libexecPROGRAMS: $(libexec_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(libexecdir)" || $(mkdir_p) "$(DESTDIR)$(libexecdir)"
++	$(mkinstalldirs) $(DESTDIR)$(libexecdir)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+ 	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+ 	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+-	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(libexecdir)/$$f'"; \
+-	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(libexecdir)/$$f" || exit 1; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f || exit 1; \
+ 	  else :; fi; \
+ 	done
+ 
+@@ -422,8 +390,8 @@
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+ 	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  echo " rm -f '$(DESTDIR)$(libexecdir)/$$f'"; \
+-	  rm -f "$(DESTDIR)$(libexecdir)/$$f"; \
++	  echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
++	  rm -f $(DESTDIR)$(libexecdir)/$$f; \
+ 	done
+ 
+ clean-libexecPROGRAMS:
+@@ -437,19 +405,19 @@
+ 	$(LINK) $(k5dcecon_LDFLAGS) $(k5dcecon_OBJECTS) $(k5dcecon_LDADD) $(LIBS)
+ 
+ mostlyclean-compile:
+-	-rm -f *.$(OBJEXT)
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ .c.obj:
+-	$(COMPILE) -c `$(CYGPATH_W) '$<'`
++	$(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
+ 
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ dpagaix-dpagaix.o: dpagaix.c
+ 	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(dpagaix_CFLAGS) $(CFLAGS) -c -o dpagaix-dpagaix.o `test -f 'dpagaix.c' || echo '$(srcdir)/'`dpagaix.c
+@@ -470,6 +438,14 @@
+ 	-rm -f libtool
+ uninstall-info-am:
+ 
++ETAGS = etags
++ETAGSFLAGS =
++
++CTAGS = ctags
++CTAGSFLAGS =
++
++tags: TAGS
++
+ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ 	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ 	unique=`for i in $$list; do \
+@@ -478,7 +454,6 @@
+ 	  $(AWK) '    { files[$$0] = 1; } \
+ 	       END { for (i in files) print i; }'`; \
+ 	mkid -fID $$unique
+-tags: TAGS
+ 
+ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -493,6 +468,7 @@
+ 	test -z "$(ETAGS_ARGS)$$tags$$unique" \
+ 	  || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ 	     $$tags $$unique
++
+ ctags: CTAGS
+ CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -515,9 +491,13 @@
+ 
+ distclean-tags:
+ 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	$(mkdir_p) $(distdir)/../.. $(distdir)/../../cf
++	$(mkinstalldirs) $(distdir)/../.. $(distdir)/../../cf
+ 	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ 	list='$(DISTFILES)'; for file in $$list; do \
+@@ -529,7 +509,7 @@
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ 	    dir="/$$dir"; \
+-	    $(mkdir_p) "$(distdir)$$dir"; \
++	    $(mkinstalldirs) "$(distdir)$$dir"; \
+ 	  else \
+ 	    dir=''; \
+ 	  fi; \
+@@ -551,10 +531,9 @@
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+ all-am: Makefile $(PROGRAMS) all-local
++
+ installdirs:
+-	for dir in "$(DESTDIR)$(libexecdir)"; do \
+-	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
+-	done
++	$(mkinstalldirs) $(DESTDIR)$(libexecdir)
+ install: install-am
+ install-exec: install-exec-am
+ install-data: install-data-am
+@@ -593,8 +572,6 @@
+ 
+ dvi-am:
+ 
+-html: html-am
+-
+ info: info-am
+ 
+ info-am:
+@@ -634,16 +611,16 @@
+ 
+ .PHONY: CTAGS GTAGS all all-am all-local check check-am check-local \
+ 	clean clean-generic clean-libexecPROGRAMS clean-libtool ctags \
+-	distclean distclean-compile distclean-generic \
+-	distclean-libtool distclean-tags distdir dvi dvi-am html \
+-	html-am info info-am install install-am install-data \
+-	install-data-am install-exec install-exec-am install-info \
+-	install-info-am install-libexecPROGRAMS install-man \
+-	install-strip installcheck installcheck-am installdirs \
+-	maintainer-clean maintainer-clean-generic mostlyclean \
+-	mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
+-	pdf pdf-am ps ps-am tags uninstall uninstall-am \
+-	uninstall-info-am uninstall-libexecPROGRAMS
++	distclean distclean-compile distclean-generic distclean-libtool \
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-data install-data-am install-exec \
++	install-exec-am install-info install-info-am \
++	install-libexecPROGRAMS install-man install-strip installcheck \
++	installcheck-am installdirs maintainer-clean \
++	maintainer-clean-generic mostlyclean mostlyclean-compile \
++	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
++	tags uninstall uninstall-am uninstall-info-am \
++	uninstall-libexecPROGRAMS
+ 
+ 
+ install-suid-programs:
+diff -ruN heimdal-0.6.3-old/appl/ftp/common/Makefile.in heimdal-0.6.3/appl/ftp/common/Makefile.in
+--- heimdal-0.6.3-old/appl/ftp/common/Makefile.in	2004-09-13 22:28:54.000000000 +1000
++++ heimdal-0.6.3/appl/ftp/common/Makefile.in	2004-09-14 08:39:43.000000000 +1000
+@@ -1,8 +1,8 @@
+-# Makefile.in generated by automake 1.8.3 from Makefile.am.
++# Makefile.in generated by automake 1.7.9 from Makefile.am.
+ # @configure_input@
+ 
+-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+-# 2003, 2004  Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
++# 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.
+@@ -20,8 +20,6 @@
+ 
+ # $Id: Makefile.am.common,v 1.37.2.2 2003/10/13 13:15:39 joda Exp $
+ 
+-SOURCES = $(libcommon_a_SOURCES)
+-
+ srcdir = @srcdir@
+ top_srcdir = @top_srcdir@
+ VPATH = @srcdir@
+@@ -29,6 +27,7 @@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+ top_builddir = ../../..
++
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+ INSTALL = @INSTALL@
+ install_sh_DATA = $(install_sh) -c -m 644
+@@ -43,76 +42,6 @@
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+ host_triplet = @host@
+-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+-	$(top_srcdir)/Makefile.am.common \
+-	$(top_srcdir)/cf/Makefile.am.common
+-subdir = appl/ftp/common
+-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+-am__aclocal_m4_deps = $(top_srcdir)/cf/aix.m4 \
+-	$(top_srcdir)/cf/auth-modules.m4 \
+-	$(top_srcdir)/cf/broken-getaddrinfo.m4 \
+-	$(top_srcdir)/cf/broken-getnameinfo.m4 \
+-	$(top_srcdir)/cf/broken-glob.m4 \
+-	$(top_srcdir)/cf/broken-realloc.m4 \
+-	$(top_srcdir)/cf/broken-snprintf.m4 $(top_srcdir)/cf/broken.m4 \
+-	$(top_srcdir)/cf/broken2.m4 $(top_srcdir)/cf/c-attribute.m4 \
+-	$(top_srcdir)/cf/capabilities.m4 \
+-	$(top_srcdir)/cf/check-compile-et.m4 \
+-	$(top_srcdir)/cf/check-declaration.m4 \
+-	$(top_srcdir)/cf/check-getpwnam_r-posix.m4 \
+-	$(top_srcdir)/cf/check-man.m4 \
+-	$(top_srcdir)/cf/check-netinet-ip-and-tcp.m4 \
+-	$(top_srcdir)/cf/check-type-extra.m4 \
+-	$(top_srcdir)/cf/check-var.m4 $(top_srcdir)/cf/check-x.m4 \
+-	$(top_srcdir)/cf/check-xau.m4 $(top_srcdir)/cf/crypto.m4 \
+-	$(top_srcdir)/cf/db.m4 $(top_srcdir)/cf/destdirs.m4 \
+-	$(top_srcdir)/cf/dlopen.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs2.m4 \
+-	$(top_srcdir)/cf/find-func.m4 \
+-	$(top_srcdir)/cf/find-if-not-broken.m4 \
+-	$(top_srcdir)/cf/have-struct-field.m4 \
+-	$(top_srcdir)/cf/have-type.m4 $(top_srcdir)/cf/irix.m4 \
+-	$(top_srcdir)/cf/krb-bigendian.m4 \
+-	$(top_srcdir)/cf/krb-func-getlogin.m4 \
+-	$(top_srcdir)/cf/krb-ipv6.m4 $(top_srcdir)/cf/krb-prog-ln-s.m4 \
+-	$(top_srcdir)/cf/krb-readline.m4 \
+-	$(top_srcdir)/cf/krb-struct-spwd.m4 \
+-	$(top_srcdir)/cf/krb-struct-winsize.m4 \
+-	$(top_srcdir)/cf/mips-abi.m4 $(top_srcdir)/cf/misc.m4 \
+-	$(top_srcdir)/cf/need-proto.m4 $(top_srcdir)/cf/osfc2.m4 \
+-	$(top_srcdir)/cf/otp.m4 $(top_srcdir)/cf/proto-compat.m4 \
+-	$(top_srcdir)/cf/retsigtype.m4 $(top_srcdir)/cf/roken-frag.m4 \
+-	$(top_srcdir)/cf/sunos.m4 $(top_srcdir)/cf/telnet.m4 \
+-	$(top_srcdir)/cf/test-package.m4 $(top_srcdir)/cf/wflags.m4 \
+-	$(top_srcdir)/cf/with-all.m4 $(top_srcdir)/configure.in
+-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+-	$(ACLOCAL_M4)
+-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = $(top_builddir)/include/config.h
+-CONFIG_CLEAN_FILES =
+-ARFLAGS = cru
+-LIBRARIES = $(noinst_LIBRARIES)
+-libcommon_a_AR = $(AR) $(ARFLAGS)
+-libcommon_a_LIBADD =
+-am_libcommon_a_OBJECTS = sockbuf.$(OBJEXT) buffer.$(OBJEXT)
+-libcommon_a_OBJECTS = $(am_libcommon_a_OBJECTS)
+-DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
+-depcomp =
+-am__depfiles_maybe =
+-COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+-	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) \
+-	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+-	$(AM_CFLAGS) $(CFLAGS)
+-CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+-	$(AM_LDFLAGS) $(LDFLAGS) -o $@
+-SOURCES = $(libcommon_a_SOURCES)
+-DIST_SOURCES = $(libcommon_a_SOURCES)
+-ETAGS = etags
+-CTAGS = ctags
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ ACLOCAL = @ACLOCAL@
+ AIX4_FALSE = @AIX4_FALSE@
+ AIX4_TRUE = @AIX4_TRUE@
+@@ -137,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -147,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -170,12 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
++
+ INCLUDE_krb4 = @INCLUDE_krb4@
++
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
++
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -188,6 +130,7 @@
+ KRB5_TRUE = @KRB5_TRUE@
+ LDFLAGS = @LDFLAGS@
+ LEX = @LEX@
++
+ LEXLIB = @LEXLIB@
+ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+ LIBOBJS = @LIBOBJS@
+@@ -196,6 +139,7 @@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+ LIB_XauFileName = @LIB_XauFileName@
++
+ LIB_XauReadAuth = @LIB_XauReadAuth@
+ LIB_XauWriteAuth = @LIB_XauWriteAuth@
+ LIB_bswap16 = @LIB_bswap16@
+@@ -244,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -324,7 +270,6 @@
+ libexecdir = @libexecdir@
+ localstatedir = @localstatedir@
+ mandir = @mandir@
+-mkdir_p = @mkdir_p@
+ oldincludedir = @oldincludedir@
+ prefix = @prefix@
+ program_transform_name = @program_transform_name@
+@@ -332,64 +277,83 @@
+ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
++
+ SUFFIXES = .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8
++
+ INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) $(INCLUDE_krb4) 
++
+ @do_roken_rename_TRUE@ROKEN_RENAME = -DROKEN_RENAME
++
+ AM_CFLAGS = $(WFLAGS)
++
+ CP = cp
++
+ buildinclude = $(top_builddir)/include
+ LIB_getattr = @LIB_getattr@
+ LIB_getpwent_r = @LIB_getpwent_r@
+ LIB_odm_initialize = @LIB_odm_initialize@
+ LIB_setpcred = @LIB_setpcred@
++
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
++
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
++
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++
+ @KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
+ @KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+ 
+ @KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
++
+ @DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
++
+ noinst_LIBRARIES = libcommon.a
++
+ libcommon_a_SOURCES = \
+ 	sockbuf.c \
+ 	buffer.c \
+ 	common.h
+ 
++subdir = appl/ftp/common
++ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
++mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++LIBRARIES = $(noinst_LIBRARIES)
++
++libcommon_a_AR = $(AR) cru
++libcommon_a_LIBADD =
++am_libcommon_a_OBJECTS = sockbuf.$(OBJEXT) buffer.$(OBJEXT)
++libcommon_a_OBJECTS = $(am_libcommon_a_OBJECTS)
++
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
++depcomp =
++am__depfiles_maybe =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++CCLD = $(CC)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++DIST_SOURCES = $(libcommon_a_SOURCES)
++DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/Makefile.am.common \
++	$(top_srcdir)/cf/Makefile.am.common Makefile.am
++SOURCES = $(libcommon_a_SOURCES)
++
+ all: all-am
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj
+-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(am__configure_deps)
+-	@for dep in $?; do \
+-	  case '$(am__configure_deps)' in \
+-	    *$$dep*) \
+-	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+-		&& exit 0; \
+-	      exit 1;; \
+-	  esac; \
+-	done; \
+-	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  --ignore-deps appl/ftp/common/Makefile'; \
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+-	  $(AUTOMAKE) --foreign  --ignore-deps appl/ftp/common/Makefile
+-.PRECIOUS: Makefile
+-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+-	@case '$?' in \
+-	  *config.status*) \
+-	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+-	  *) \
+-	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+-	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+-	esac;
+-
+-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-
+-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
++	  $(AUTOMAKE) --foreign  appl/ftp/common/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+ 
+ clean-noinstLIBRARIES:
+ 	-test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
+@@ -399,19 +363,19 @@
+ 	$(RANLIB) libcommon.a
+ 
+ mostlyclean-compile:
+-	-rm -f *.$(OBJEXT)
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ .c.obj:
+-	$(COMPILE) -c `$(CYGPATH_W) '$<'`
++	$(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
+ 
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ mostlyclean-libtool:
+ 	-rm -f *.lo
+@@ -423,6 +387,14 @@
+ 	-rm -f libtool
+ uninstall-info-am:
+ 
++ETAGS = etags
++ETAGSFLAGS =
++
++CTAGS = ctags
++CTAGSFLAGS =
++
++tags: TAGS
++
+ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ 	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ 	unique=`for i in $$list; do \
+@@ -431,7 +403,6 @@
+ 	  $(AWK) '    { files[$$0] = 1; } \
+ 	       END { for (i in files) print i; }'`; \
+ 	mkid -fID $$unique
+-tags: TAGS
+ 
+ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -446,6 +417,7 @@
+ 	test -z "$(ETAGS_ARGS)$$tags$$unique" \
+ 	  || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ 	     $$tags $$unique
++
+ ctags: CTAGS
+ CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -468,9 +440,13 @@
+ 
+ distclean-tags:
+ 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++
++top_distdir = ../../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	$(mkdir_p) $(distdir)/../../.. $(distdir)/../../../cf
++	$(mkinstalldirs) $(distdir)/../../.. $(distdir)/../../../cf
+ 	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ 	list='$(DISTFILES)'; for file in $$list; do \
+@@ -482,7 +458,7 @@
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ 	    dir="/$$dir"; \
+-	    $(mkdir_p) "$(distdir)$$dir"; \
++	    $(mkinstalldirs) "$(distdir)$$dir"; \
+ 	  else \
+ 	    dir=''; \
+ 	  fi; \
+@@ -504,6 +480,7 @@
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+ all-am: Makefile $(LIBRARIES) all-local
++
+ installdirs:
+ install: install-am
+ install-exec: install-exec-am
+@@ -543,8 +520,6 @@
+ 
+ dvi-am:
+ 
+-html: html-am
+-
+ info: info-am
+ 
+ info-am:
+@@ -584,15 +559,14 @@
+ 
+ .PHONY: CTAGS GTAGS all all-am all-local check check-am check-local \
+ 	clean clean-generic clean-libtool clean-noinstLIBRARIES ctags \
+-	distclean distclean-compile distclean-generic \
+-	distclean-libtool distclean-tags distdir dvi dvi-am html \
+-	html-am info info-am install install-am install-data \
+-	install-data-am install-exec install-exec-am install-info \
+-	install-info-am install-man install-strip installcheck \
+-	installcheck-am installdirs maintainer-clean \
+-	maintainer-clean-generic mostlyclean mostlyclean-compile \
+-	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+-	tags uninstall uninstall-am uninstall-info-am
++	distclean distclean-compile distclean-generic distclean-libtool \
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-data install-data-am install-exec \
++	install-exec-am install-info install-info-am install-man \
++	install-strip installcheck installcheck-am installdirs \
++	maintainer-clean maintainer-clean-generic mostlyclean \
++	mostlyclean-compile mostlyclean-generic mostlyclean-libtool pdf \
++	pdf-am ps ps-am tags uninstall uninstall-am uninstall-info-am
+ 
+ 
+ install-suid-programs:
+diff -ruN heimdal-0.6.3-old/appl/ftp/ftp/Makefile.in heimdal-0.6.3/appl/ftp/ftp/Makefile.in
+--- heimdal-0.6.3-old/appl/ftp/ftp/Makefile.in	2004-09-13 22:28:55.000000000 +1000
++++ heimdal-0.6.3/appl/ftp/ftp/Makefile.in	2004-09-14 08:39:43.000000000 +1000
+@@ -1,8 +1,8 @@
+-# Makefile.in generated by automake 1.8.3 from Makefile.am.
++# Makefile.in generated by automake 1.7.9 from Makefile.am.
+ # @configure_input@
+ 
+-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+-# 2003, 2004  Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
++# 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.
+@@ -20,8 +20,6 @@
+ 
+ # $Id: Makefile.am.common,v 1.37.2.2 2003/10/13 13:15:39 joda Exp $
+ 
+-SOURCES = $(ftp_SOURCES) $(EXTRA_ftp_SOURCES)
+-
+ srcdir = @srcdir@
+ top_srcdir = @top_srcdir@
+ VPATH = @srcdir@
+@@ -29,6 +27,7 @@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+ top_builddir = ../../..
++
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+ INSTALL = @INSTALL@
+ install_sh_DATA = $(install_sh) -c -m 644
+@@ -43,96 +42,6 @@
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+ host_triplet = @host@
+-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+-	$(top_srcdir)/Makefile.am.common \
+-	$(top_srcdir)/cf/Makefile.am.common
+-bin_PROGRAMS = ftp$(EXEEXT)
+-subdir = appl/ftp/ftp
+-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+-am__aclocal_m4_deps = $(top_srcdir)/cf/aix.m4 \
+-	$(top_srcdir)/cf/auth-modules.m4 \
+-	$(top_srcdir)/cf/broken-getaddrinfo.m4 \
+-	$(top_srcdir)/cf/broken-getnameinfo.m4 \
+-	$(top_srcdir)/cf/broken-glob.m4 \
+-	$(top_srcdir)/cf/broken-realloc.m4 \
+-	$(top_srcdir)/cf/broken-snprintf.m4 $(top_srcdir)/cf/broken.m4 \
+-	$(top_srcdir)/cf/broken2.m4 $(top_srcdir)/cf/c-attribute.m4 \
+-	$(top_srcdir)/cf/capabilities.m4 \
+-	$(top_srcdir)/cf/check-compile-et.m4 \
+-	$(top_srcdir)/cf/check-declaration.m4 \
+-	$(top_srcdir)/cf/check-getpwnam_r-posix.m4 \
+-	$(top_srcdir)/cf/check-man.m4 \
+-	$(top_srcdir)/cf/check-netinet-ip-and-tcp.m4 \
+-	$(top_srcdir)/cf/check-type-extra.m4 \
+-	$(top_srcdir)/cf/check-var.m4 $(top_srcdir)/cf/check-x.m4 \
+-	$(top_srcdir)/cf/check-xau.m4 $(top_srcdir)/cf/crypto.m4 \
+-	$(top_srcdir)/cf/db.m4 $(top_srcdir)/cf/destdirs.m4 \
+-	$(top_srcdir)/cf/dlopen.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs2.m4 \
+-	$(top_srcdir)/cf/find-func.m4 \
+-	$(top_srcdir)/cf/find-if-not-broken.m4 \
+-	$(top_srcdir)/cf/have-struct-field.m4 \
+-	$(top_srcdir)/cf/have-type.m4 $(top_srcdir)/cf/irix.m4 \
+-	$(top_srcdir)/cf/krb-bigendian.m4 \
+-	$(top_srcdir)/cf/krb-func-getlogin.m4 \
+-	$(top_srcdir)/cf/krb-ipv6.m4 $(top_srcdir)/cf/krb-prog-ln-s.m4 \
+-	$(top_srcdir)/cf/krb-readline.m4 \
+-	$(top_srcdir)/cf/krb-struct-spwd.m4 \
+-	$(top_srcdir)/cf/krb-struct-winsize.m4 \
+-	$(top_srcdir)/cf/mips-abi.m4 $(top_srcdir)/cf/misc.m4 \
+-	$(top_srcdir)/cf/need-proto.m4 $(top_srcdir)/cf/osfc2.m4 \
+-	$(top_srcdir)/cf/otp.m4 $(top_srcdir)/cf/proto-compat.m4 \
+-	$(top_srcdir)/cf/retsigtype.m4 $(top_srcdir)/cf/roken-frag.m4 \
+-	$(top_srcdir)/cf/sunos.m4 $(top_srcdir)/cf/telnet.m4 \
+-	$(top_srcdir)/cf/test-package.m4 $(top_srcdir)/cf/wflags.m4 \
+-	$(top_srcdir)/cf/with-all.m4 $(top_srcdir)/configure.in
+-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+-	$(ACLOCAL_M4)
+-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = $(top_builddir)/include/config.h
+-CONFIG_CLEAN_FILES =
+-am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"
+-binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+-PROGRAMS = $(bin_PROGRAMS)
+-am__ftp_SOURCES_DIST = cmds.c cmdtab.c extern.h ftp.c ftp_locl.h \
+-	ftp_var.h main.c pathnames.h ruserpass.c domacro.c globals.c \
+-	security.c security.h krb4.c kauth.c gssapi.c
+-@KRB4_TRUE@am__objects_1 = krb4.$(OBJEXT) kauth.$(OBJEXT)
+-@KRB5_TRUE@am__objects_2 = gssapi.$(OBJEXT)
+-am_ftp_OBJECTS = cmds.$(OBJEXT) cmdtab.$(OBJEXT) ftp.$(OBJEXT) \
+-	main.$(OBJEXT) ruserpass.$(OBJEXT) domacro.$(OBJEXT) \
+-	globals.$(OBJEXT) security.$(OBJEXT) $(am__objects_1) \
+-	$(am__objects_2)
+-ftp_OBJECTS = $(am_ftp_OBJECTS)
+-ftp_LDADD = $(LDADD)
+-@KRB5_TRUE@am__DEPENDENCIES_1 =  \
+-@KRB5_TRUE@	$(top_builddir)/lib/gssapi/libgssapi.la
+-@KRB5_TRUE@am__DEPENDENCIES_2 = $(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-am__DEPENDENCIES_3 =
+-ftp_DEPENDENCIES = ../common/libcommon.a $(am__DEPENDENCIES_1) \
+-	$(am__DEPENDENCIES_2) $(am__DEPENDENCIES_3) \
+-	$(am__DEPENDENCIES_3) $(am__DEPENDENCIES_3) \
+-	$(am__DEPENDENCIES_3)
+-DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
+-depcomp =
+-am__depfiles_maybe =
+-COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+-	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) \
+-	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+-	$(AM_CFLAGS) $(CFLAGS)
+-CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+-	$(AM_LDFLAGS) $(LDFLAGS) -o $@
+-SOURCES = $(ftp_SOURCES) $(EXTRA_ftp_SOURCES)
+-DIST_SOURCES = $(am__ftp_SOURCES_DIST) $(EXTRA_ftp_SOURCES)
+-man1dir = $(mandir)/man1
+-MANS = $(man_MANS)
+-ETAGS = etags
+-CTAGS = ctags
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ ACLOCAL = @ACLOCAL@
+ AIX4_FALSE = @AIX4_FALSE@
+ AIX4_TRUE = @AIX4_TRUE@
+@@ -157,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -167,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -190,12 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
++
+ INCLUDE_krb4 = @INCLUDE_krb4@
++
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
++
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -208,6 +130,7 @@
+ KRB5_TRUE = @KRB5_TRUE@
+ LDFLAGS = @LDFLAGS@
+ LEX = @LEX@
++
+ LEXLIB = @LEXLIB@
+ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+ LIBOBJS = @LIBOBJS@
+@@ -216,6 +139,7 @@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+ LIB_XauFileName = @LIB_XauFileName@
++
+ LIB_XauReadAuth = @LIB_XauReadAuth@
+ LIB_XauWriteAuth = @LIB_XauWriteAuth@
+ LIB_bswap16 = @LIB_bswap16@
+@@ -264,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -344,7 +270,6 @@
+ libexecdir = @libexecdir@
+ localstatedir = @localstatedir@
+ mandir = @mandir@
+-mkdir_p = @mkdir_p@
+ oldincludedir = @oldincludedir@
+ prefix = @prefix@
+ program_transform_name = @program_transform_name@
+@@ -352,28 +277,47 @@
+ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
++
+ SUFFIXES = .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8
+-INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) -I$(srcdir)/../common $(INCLUDE_readline) $(INCLUDE_krb4) $(INCLUDE_des)
++
++INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) -I$(srcdir)/../common -I/usr/include/editline $(INCLUDE_krb4) $(INCLUDE_des)
++
+ @do_roken_rename_TRUE@ROKEN_RENAME = -DROKEN_RENAME
++
+ AM_CFLAGS = $(WFLAGS)
++
+ CP = cp
++
+ buildinclude = $(top_builddir)/include
+ LIB_getattr = @LIB_getattr@
+ LIB_getpwent_r = @LIB_getpwent_r@
+ LIB_odm_initialize = @LIB_odm_initialize@
+ LIB_setpcred = @LIB_setpcred@
++
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
++
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
++
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++
+ @KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
+ @KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+ 
+ @KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
++
+ @DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
++
++bin_PROGRAMS = ftp
++
+ CHECK_LOCAL = 
++
+ @KRB4_TRUE@krb4_sources = krb4.c kauth.c
+ @KRB5_TRUE@krb5_sources = gssapi.c
++
+ ftp_SOURCES = \
+ 	cmds.c \
+ 	cmdtab.c \
+@@ -391,8 +335,11 @@
+ 	$(krb4_sources) \
+ 	$(krb5_sources)
+ 
++
+ EXTRA_ftp_SOURCES = krb4.c kauth.c gssapi.c
++
+ man_MANS = ftp.1
++
+ LDADD = \
+ 	../common/libcommon.a \
+ 	$(LIB_gssapi) \
+@@ -400,52 +347,71 @@
+ 	$(LIB_krb4) \
+ 	$(LIB_des) \
+ 	$(LIB_roken) \
+-	$(LIB_readline)
++	-ledit
++
++subdir = appl/ftp/ftp
++ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
++mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++bin_PROGRAMS = ftp$(EXEEXT)
++PROGRAMS = $(bin_PROGRAMS)
++
++am__ftp_SOURCES_DIST = cmds.c cmdtab.c extern.h ftp.c ftp_locl.h \
++	ftp_var.h main.c pathnames.h ruserpass.c domacro.c globals.c \
++	security.c security.h krb4.c kauth.c gssapi.c
++@KRB4_TRUE@am__objects_1 = krb4.$(OBJEXT) kauth.$(OBJEXT)
++@KRB5_TRUE@am__objects_2 = gssapi.$(OBJEXT)
++am_ftp_OBJECTS = cmds.$(OBJEXT) cmdtab.$(OBJEXT) ftp.$(OBJEXT) \
++	main.$(OBJEXT) ruserpass.$(OBJEXT) domacro.$(OBJEXT) \
++	globals.$(OBJEXT) security.$(OBJEXT) $(am__objects_1) \
++	$(am__objects_2)
++ftp_OBJECTS = $(am_ftp_OBJECTS)
++ftp_LDADD = $(LDADD)
++@KRB5_TRUE@ftp_DEPENDENCIES = ../common/libcommon.a \
++@KRB5_TRUE@	$(top_builddir)/lib/gssapi/libgssapi.la \
++@KRB5_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la \
++@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_FALSE@ftp_DEPENDENCIES = ../common/libcommon.a
++ftp_LDFLAGS =
++
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
++depcomp =
++am__depfiles_maybe =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++CCLD = $(CC)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++DIST_SOURCES = $(am__ftp_SOURCES_DIST) $(EXTRA_ftp_SOURCES)
++MANS = $(man_MANS)
++DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/Makefile.am.common \
++	$(top_srcdir)/cf/Makefile.am.common Makefile.am
++SOURCES = $(ftp_SOURCES) $(EXTRA_ftp_SOURCES)
+ 
+ all: all-am
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj
+-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(am__configure_deps)
+-	@for dep in $?; do \
+-	  case '$(am__configure_deps)' in \
+-	    *$$dep*) \
+-	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+-		&& exit 0; \
+-	      exit 1;; \
+-	  esac; \
+-	done; \
+-	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  --ignore-deps appl/ftp/ftp/Makefile'; \
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+-	  $(AUTOMAKE) --foreign  --ignore-deps appl/ftp/ftp/Makefile
+-.PRECIOUS: Makefile
+-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+-	@case '$?' in \
+-	  *config.status*) \
+-	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+-	  *) \
+-	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+-	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+-	esac;
+-
+-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-
+-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
++	  $(AUTOMAKE) --foreign  appl/ftp/ftp/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
++binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ install-binPROGRAMS: $(bin_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
++	$(mkinstalldirs) $(DESTDIR)$(bindir)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+ 	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+ 	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+-	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
+-	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f || exit 1; \
+ 	  else :; fi; \
+ 	done
+ 
+@@ -453,8 +419,8 @@
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+ 	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
+-	  rm -f "$(DESTDIR)$(bindir)/$$f"; \
++	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
++	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+ clean-binPROGRAMS:
+@@ -468,19 +434,19 @@
+ 	$(LINK) $(ftp_LDFLAGS) $(ftp_OBJECTS) $(ftp_LDADD) $(LIBS)
+ 
+ mostlyclean-compile:
+-	-rm -f *.$(OBJEXT)
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ .c.obj:
+-	$(COMPILE) -c `$(CYGPATH_W) '$<'`
++	$(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
+ 
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ mostlyclean-libtool:
+ 	-rm -f *.lo
+@@ -491,9 +457,11 @@
+ distclean-libtool:
+ 	-rm -f libtool
+ uninstall-info-am:
++
++man1dir = $(mandir)/man1
+ install-man1: $(man1_MANS) $(man_MANS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(man1dir)" || $(mkdir_p) "$(DESTDIR)$(man1dir)"
++	$(mkinstalldirs) $(DESTDIR)$(man1dir)
+ 	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
+ 	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
+ 	for i in $$l2; do \
+@@ -512,8 +480,8 @@
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+-	  echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
+-	  $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst"; \
++	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
++	  $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
+ 	done
+ uninstall-man1:
+ 	@$(NORMAL_UNINSTALL)
+@@ -533,10 +501,18 @@
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+-	  echo " rm -f '$(DESTDIR)$(man1dir)/$$inst'"; \
+-	  rm -f "$(DESTDIR)$(man1dir)/$$inst"; \
++	  echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
++	  rm -f $(DESTDIR)$(man1dir)/$$inst; \
+ 	done
+ 
++ETAGS = etags
++ETAGSFLAGS =
++
++CTAGS = ctags
++CTAGSFLAGS =
++
++tags: TAGS
++
+ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ 	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ 	unique=`for i in $$list; do \
+@@ -545,7 +521,6 @@
+ 	  $(AWK) '    { files[$$0] = 1; } \
+ 	       END { for (i in files) print i; }'`; \
+ 	mkid -fID $$unique
+-tags: TAGS
+ 
+ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -560,6 +535,7 @@
+ 	test -z "$(ETAGS_ARGS)$$tags$$unique" \
+ 	  || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ 	     $$tags $$unique
++
+ ctags: CTAGS
+ CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -582,9 +558,13 @@
+ 
+ distclean-tags:
+ 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++
++top_distdir = ../../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	$(mkdir_p) $(distdir)/../../.. $(distdir)/../../../cf
++	$(mkinstalldirs) $(distdir)/../../.. $(distdir)/../../../cf
+ 	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ 	list='$(DISTFILES)'; for file in $$list; do \
+@@ -596,7 +576,7 @@
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ 	    dir="/$$dir"; \
+-	    $(mkdir_p) "$(distdir)$$dir"; \
++	    $(mkinstalldirs) "$(distdir)$$dir"; \
+ 	  else \
+ 	    dir=''; \
+ 	  fi; \
+@@ -618,10 +598,9 @@
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+ all-am: Makefile $(PROGRAMS) $(MANS) all-local
++
+ installdirs:
+-	for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"; do \
+-	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
+-	done
++	$(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(man1dir)
+ install: install-am
+ install-exec: install-exec-am
+ install-data: install-data-am
+@@ -659,8 +638,6 @@
+ 
+ dvi-am:
+ 
+-html: html-am
+-
+ info: info-am
+ 
+ info-am:
+@@ -702,17 +679,16 @@
+ 
+ .PHONY: CTAGS GTAGS all all-am all-local check check-am check-local \
+ 	clean clean-binPROGRAMS clean-generic clean-libtool ctags \
+-	distclean distclean-compile distclean-generic \
+-	distclean-libtool distclean-tags distdir dvi dvi-am html \
+-	html-am info info-am install install-am install-binPROGRAMS \
+-	install-data install-data-am install-exec install-exec-am \
+-	install-info install-info-am install-man install-man1 \
+-	install-strip installcheck installcheck-am installdirs \
+-	maintainer-clean maintainer-clean-generic mostlyclean \
+-	mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
+-	pdf pdf-am ps ps-am tags uninstall uninstall-am \
+-	uninstall-binPROGRAMS uninstall-info-am uninstall-man \
+-	uninstall-man1
++	distclean distclean-compile distclean-generic distclean-libtool \
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-binPROGRAMS install-data install-data-am \
++	install-exec install-exec-am install-info install-info-am \
++	install-man install-man1 install-strip installcheck \
++	installcheck-am installdirs maintainer-clean \
++	maintainer-clean-generic mostlyclean mostlyclean-compile \
++	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
++	tags uninstall uninstall-am uninstall-binPROGRAMS \
++	uninstall-info-am uninstall-man uninstall-man1
+ 
+ 
+ install-suid-programs:
+diff -ruN heimdal-0.6.3-old/appl/ftp/ftpd/Makefile.in heimdal-0.6.3/appl/ftp/ftpd/Makefile.in
+--- heimdal-0.6.3-old/appl/ftp/ftpd/Makefile.in	2004-09-13 22:28:56.000000000 +1000
++++ heimdal-0.6.3/appl/ftp/ftpd/Makefile.in	2004-09-14 08:39:43.000000000 +1000
+@@ -1,8 +1,8 @@
+-# Makefile.in generated by automake 1.8.3 from Makefile.am.
++# Makefile.in generated by automake 1.7.9 from Makefile.am.
+ # @configure_input@
+ 
+-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+-# 2003, 2004  Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
++# 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.
+@@ -20,8 +20,6 @@
+ 
+ # $Id: Makefile.am.common,v 1.37.2.2 2003/10/13 13:15:39 joda Exp $
+ 
+-SOURCES = $(ftpd_SOURCES) $(EXTRA_ftpd_SOURCES)
+-
+ srcdir = @srcdir@
+ top_srcdir = @top_srcdir@
+ VPATH = @srcdir@
+@@ -29,6 +27,7 @@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+ top_builddir = ../../..
++
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+ INSTALL = @INSTALL@
+ install_sh_DATA = $(install_sh) -c -m 644
+@@ -43,101 +42,6 @@
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+ host_triplet = @host@
+-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+-	$(top_srcdir)/Makefile.am.common \
+-	$(top_srcdir)/cf/Makefile.am.common ftpcmd.c
+-libexec_PROGRAMS = ftpd$(EXEEXT)
+-subdir = appl/ftp/ftpd
+-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+-am__aclocal_m4_deps = $(top_srcdir)/cf/aix.m4 \
+-	$(top_srcdir)/cf/auth-modules.m4 \
+-	$(top_srcdir)/cf/broken-getaddrinfo.m4 \
+-	$(top_srcdir)/cf/broken-getnameinfo.m4 \
+-	$(top_srcdir)/cf/broken-glob.m4 \
+-	$(top_srcdir)/cf/broken-realloc.m4 \
+-	$(top_srcdir)/cf/broken-snprintf.m4 $(top_srcdir)/cf/broken.m4 \
+-	$(top_srcdir)/cf/broken2.m4 $(top_srcdir)/cf/c-attribute.m4 \
+-	$(top_srcdir)/cf/capabilities.m4 \
+-	$(top_srcdir)/cf/check-compile-et.m4 \
+-	$(top_srcdir)/cf/check-declaration.m4 \
+-	$(top_srcdir)/cf/check-getpwnam_r-posix.m4 \
+-	$(top_srcdir)/cf/check-man.m4 \
+-	$(top_srcdir)/cf/check-netinet-ip-and-tcp.m4 \
+-	$(top_srcdir)/cf/check-type-extra.m4 \
+-	$(top_srcdir)/cf/check-var.m4 $(top_srcdir)/cf/check-x.m4 \
+-	$(top_srcdir)/cf/check-xau.m4 $(top_srcdir)/cf/crypto.m4 \
+-	$(top_srcdir)/cf/db.m4 $(top_srcdir)/cf/destdirs.m4 \
+-	$(top_srcdir)/cf/dlopen.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs2.m4 \
+-	$(top_srcdir)/cf/find-func.m4 \
+-	$(top_srcdir)/cf/find-if-not-broken.m4 \
+-	$(top_srcdir)/cf/have-struct-field.m4 \
+-	$(top_srcdir)/cf/have-type.m4 $(top_srcdir)/cf/irix.m4 \
+-	$(top_srcdir)/cf/krb-bigendian.m4 \
+-	$(top_srcdir)/cf/krb-func-getlogin.m4 \
+-	$(top_srcdir)/cf/krb-ipv6.m4 $(top_srcdir)/cf/krb-prog-ln-s.m4 \
+-	$(top_srcdir)/cf/krb-readline.m4 \
+-	$(top_srcdir)/cf/krb-struct-spwd.m4 \
+-	$(top_srcdir)/cf/krb-struct-winsize.m4 \
+-	$(top_srcdir)/cf/mips-abi.m4 $(top_srcdir)/cf/misc.m4 \
+-	$(top_srcdir)/cf/need-proto.m4 $(top_srcdir)/cf/osfc2.m4 \
+-	$(top_srcdir)/cf/otp.m4 $(top_srcdir)/cf/proto-compat.m4 \
+-	$(top_srcdir)/cf/retsigtype.m4 $(top_srcdir)/cf/roken-frag.m4 \
+-	$(top_srcdir)/cf/sunos.m4 $(top_srcdir)/cf/telnet.m4 \
+-	$(top_srcdir)/cf/test-package.m4 $(top_srcdir)/cf/wflags.m4 \
+-	$(top_srcdir)/cf/with-all.m4 $(top_srcdir)/configure.in
+-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+-	$(ACLOCAL_M4)
+-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = $(top_builddir)/include/config.h
+-CONFIG_CLEAN_FILES =
+-am__installdirs = "$(DESTDIR)$(libexecdir)" "$(DESTDIR)$(man5dir)" "$(DESTDIR)$(man8dir)"
+-libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+-PROGRAMS = $(libexec_PROGRAMS)
+-am__ftpd_SOURCES_DIST = extern.h ftpcmd.y ftpd.c ftpd_locl.h logwtmp.c \
+-	ls.c pathnames.h popen.c security.c krb4.c kauth.c gssapi.c \
+-	gss_userok.c
+-@KRB4_TRUE@am__objects_1 = krb4.$(OBJEXT) kauth.$(OBJEXT)
+-@KRB5_TRUE@am__objects_2 = gssapi.$(OBJEXT) gss_userok.$(OBJEXT)
+-am_ftpd_OBJECTS = ftpcmd.$(OBJEXT) ftpd.$(OBJEXT) logwtmp.$(OBJEXT) \
+-	ls.$(OBJEXT) popen.$(OBJEXT) security.$(OBJEXT) \
+-	$(am__objects_1) $(am__objects_2)
+-ftpd_OBJECTS = $(am_ftpd_OBJECTS)
+-ftpd_LDADD = $(LDADD)
+-am__DEPENDENCIES_1 =
+-@KRB5_TRUE@am__DEPENDENCIES_2 =  \
+-@KRB5_TRUE@	$(top_builddir)/lib/gssapi/libgssapi.la
+-@KRB5_TRUE@am__DEPENDENCIES_3 = $(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-am__DEPENDENCIES_4 = $(top_builddir)/lib/kafs/libkafs.la \
+-	$(am__DEPENDENCIES_1)
+-ftpd_DEPENDENCIES = ../common/libcommon.a $(am__DEPENDENCIES_1) \
+-	$(am__DEPENDENCIES_2) $(am__DEPENDENCIES_3) \
+-	$(am__DEPENDENCIES_4) $(am__DEPENDENCIES_1) \
+-	$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
+-DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
+-depcomp =
+-am__depfiles_maybe =
+-COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+-	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) \
+-	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+-	$(AM_CFLAGS) $(CFLAGS)
+-CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+-	$(AM_LDFLAGS) $(LDFLAGS) -o $@
+-YACCCOMPILE = $(YACC) $(YFLAGS) $(AM_YFLAGS)
+-LTYACCCOMPILE = $(LIBTOOL) --mode=compile $(YACC) $(YFLAGS) \
+-	$(AM_YFLAGS)
+-SOURCES = $(ftpd_SOURCES) $(EXTRA_ftpd_SOURCES)
+-DIST_SOURCES = $(am__ftpd_SOURCES_DIST) $(EXTRA_ftpd_SOURCES)
+-man5dir = $(mandir)/man5
+-man8dir = $(mandir)/man8
+-MANS = $(man_MANS)
+-ETAGS = etags
+-CTAGS = ctags
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ ACLOCAL = @ACLOCAL@
+ AIX4_FALSE = @AIX4_FALSE@
+ AIX4_TRUE = @AIX4_TRUE@
+@@ -162,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -172,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -195,12 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
++
+ INCLUDE_krb4 = @INCLUDE_krb4@
++
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
++
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -213,6 +130,7 @@
+ KRB5_TRUE = @KRB5_TRUE@
+ LDFLAGS = @LDFLAGS@
+ LEX = @LEX@
++
+ LEXLIB = @LEXLIB@
+ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+ LIBOBJS = @LIBOBJS@
+@@ -221,6 +139,7 @@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+ LIB_XauFileName = @LIB_XauFileName@
++
+ LIB_XauReadAuth = @LIB_XauReadAuth@
+ LIB_XauWriteAuth = @LIB_XauWriteAuth@
+ LIB_bswap16 = @LIB_bswap16@
+@@ -269,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -349,7 +270,6 @@
+ libexecdir = @libexecdir@
+ localstatedir = @localstatedir@
+ mandir = @mandir@
+-mkdir_p = @mkdir_p@
+ oldincludedir = @oldincludedir@
+ prefix = @prefix@
+ program_transform_name = @program_transform_name@
+@@ -357,28 +277,47 @@
+ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
++
+ SUFFIXES = .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8
++
+ INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) -I$(srcdir)/../common $(INCLUDE_krb4) -DFTP_SERVER
++
+ @do_roken_rename_TRUE@ROKEN_RENAME = -DROKEN_RENAME
++
+ AM_CFLAGS = $(WFLAGS)
++
+ CP = cp
++
+ buildinclude = $(top_builddir)/include
+ LIB_getattr = @LIB_getattr@
+ LIB_getpwent_r = @LIB_getpwent_r@
+ LIB_odm_initialize = @LIB_odm_initialize@
+ LIB_setpcred = @LIB_setpcred@
++
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
++
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
++
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++
+ @KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
+ @KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+ 
+ @KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
++
+ @DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
++
++libexec_PROGRAMS = ftpd
++
+ CHECK_LOCAL = 
++
+ @KRB4_TRUE@krb4_sources = krb4.c kauth.c
+ @KRB5_TRUE@krb5_sources = gssapi.c gss_userok.c
++
+ ftpd_SOURCES = \
+ 	extern.h	\
+ 	ftpcmd.y	\
+@@ -392,9 +331,13 @@
+ 	$(krb4_sources) \
+ 	$(krb5_sources)
+ 
++
+ EXTRA_ftpd_SOURCES = krb4.c kauth.c gssapi.c gss_userok.c
++
+ CLEANFILES = security.c security.h krb4.c gssapi.c ftpcmd.c
++
+ man_MANS = ftpd.8 ftpusers.5
++
+ LDADD = ../common/libcommon.a \
+ 	$(LIB_otp) \
+ 	$(LIB_gssapi) \
+@@ -404,50 +347,72 @@
+ 	$(LIB_des) \
+ 	$(LIB_roken)
+ 
++subdir = appl/ftp/ftpd
++ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
++mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++libexec_PROGRAMS = ftpd$(EXEEXT)
++PROGRAMS = $(libexec_PROGRAMS)
++
++am__ftpd_SOURCES_DIST = extern.h ftpcmd.y ftpd.c ftpd_locl.h logwtmp.c \
++	ls.c pathnames.h popen.c security.c krb4.c kauth.c gssapi.c \
++	gss_userok.c
++@KRB4_TRUE@am__objects_1 = krb4.$(OBJEXT) kauth.$(OBJEXT)
++@KRB5_TRUE@am__objects_2 = gssapi.$(OBJEXT) gss_userok.$(OBJEXT)
++am_ftpd_OBJECTS = ftpcmd.$(OBJEXT) ftpd.$(OBJEXT) logwtmp.$(OBJEXT) \
++	ls.$(OBJEXT) popen.$(OBJEXT) security.$(OBJEXT) \
++	$(am__objects_1) $(am__objects_2)
++ftpd_OBJECTS = $(am_ftpd_OBJECTS)
++ftpd_LDADD = $(LDADD)
++@KRB5_TRUE@ftpd_DEPENDENCIES = ../common/libcommon.a \
++@KRB5_TRUE@	$(top_builddir)/lib/gssapi/libgssapi.la \
++@KRB5_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la \
++@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la \
++@KRB5_TRUE@	$(top_builddir)/lib/kafs/libkafs.la
++@KRB5_FALSE@ftpd_DEPENDENCIES = ../common/libcommon.a \
++@KRB5_FALSE@	$(top_builddir)/lib/kafs/libkafs.la
++ftpd_LDFLAGS =
++
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
++depcomp =
++am__depfiles_maybe =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++CCLD = $(CC)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++YACCCOMPILE = $(YACC) $(YFLAGS) $(AM_YFLAGS)
++LTYACCCOMPILE = $(LIBTOOL) --mode=compile $(YACC) $(YFLAGS) $(AM_YFLAGS)
++DIST_SOURCES = $(am__ftpd_SOURCES_DIST) $(EXTRA_ftpd_SOURCES)
++MANS = $(man_MANS)
++DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/Makefile.am.common \
++	$(top_srcdir)/cf/Makefile.am.common Makefile.am ftpcmd.c
++SOURCES = $(ftpd_SOURCES) $(EXTRA_ftpd_SOURCES)
++
+ all: all-am
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj .y
+-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(am__configure_deps)
+-	@for dep in $?; do \
+-	  case '$(am__configure_deps)' in \
+-	    *$$dep*) \
+-	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+-		&& exit 0; \
+-	      exit 1;; \
+-	  esac; \
+-	done; \
+-	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  --ignore-deps appl/ftp/ftpd/Makefile'; \
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+-	  $(AUTOMAKE) --foreign  --ignore-deps appl/ftp/ftpd/Makefile
+-.PRECIOUS: Makefile
+-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+-	@case '$?' in \
+-	  *config.status*) \
+-	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+-	  *) \
+-	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+-	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+-	esac;
+-
+-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-
+-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
++	  $(AUTOMAKE) --foreign  appl/ftp/ftpd/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
++libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ install-libexecPROGRAMS: $(libexec_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(libexecdir)" || $(mkdir_p) "$(DESTDIR)$(libexecdir)"
++	$(mkinstalldirs) $(DESTDIR)$(libexecdir)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+ 	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+ 	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+-	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(libexecdir)/$$f'"; \
+-	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(libexecdir)/$$f" || exit 1; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f || exit 1; \
+ 	  else :; fi; \
+ 	done
+ 
+@@ -455,8 +420,8 @@
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+ 	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  echo " rm -f '$(DESTDIR)$(libexecdir)/$$f'"; \
+-	  rm -f "$(DESTDIR)$(libexecdir)/$$f"; \
++	  echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
++	  rm -f $(DESTDIR)$(libexecdir)/$$f; \
+ 	done
+ 
+ clean-libexecPROGRAMS:
+@@ -470,22 +435,22 @@
+ 	$(LINK) $(ftpd_LDFLAGS) $(ftpd_OBJECTS) $(ftpd_LDADD) $(LIBS)
+ 
+ mostlyclean-compile:
+-	-rm -f *.$(OBJEXT)
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ .c.obj:
+-	$(COMPILE) -c `$(CYGPATH_W) '$<'`
++	$(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
+ 
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ .y.c:
+-	$(YACCCOMPILE) $<
++	$(YACCCOMPILE) `test -f '$<' || echo '$(srcdir)/'`$<
+ 	if test -f y.tab.h; then \
+ 	  to=`echo "$*_H" | sed \
+                 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/' \
+@@ -513,9 +478,11 @@
+ distclean-libtool:
+ 	-rm -f libtool
+ uninstall-info-am:
++
++man5dir = $(mandir)/man5
+ install-man5: $(man5_MANS) $(man_MANS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(man5dir)" || $(mkdir_p) "$(DESTDIR)$(man5dir)"
++	$(mkinstalldirs) $(DESTDIR)$(man5dir)
+ 	@list='$(man5_MANS) $(dist_man5_MANS) $(nodist_man5_MANS)'; \
+ 	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
+ 	for i in $$l2; do \
+@@ -534,8 +501,8 @@
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+-	  echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man5dir)/$$inst'"; \
+-	  $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man5dir)/$$inst"; \
++	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man5dir)/$$inst"; \
++	  $(INSTALL_DATA) $$file $(DESTDIR)$(man5dir)/$$inst; \
+ 	done
+ uninstall-man5:
+ 	@$(NORMAL_UNINSTALL)
+@@ -555,12 +522,14 @@
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+-	  echo " rm -f '$(DESTDIR)$(man5dir)/$$inst'"; \
+-	  rm -f "$(DESTDIR)$(man5dir)/$$inst"; \
++	  echo " rm -f $(DESTDIR)$(man5dir)/$$inst"; \
++	  rm -f $(DESTDIR)$(man5dir)/$$inst; \
+ 	done
++
++man8dir = $(mandir)/man8
+ install-man8: $(man8_MANS) $(man_MANS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(man8dir)" || $(mkdir_p) "$(DESTDIR)$(man8dir)"
++	$(mkinstalldirs) $(DESTDIR)$(man8dir)
+ 	@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
+ 	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
+ 	for i in $$l2; do \
+@@ -579,8 +548,8 @@
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+-	  echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man8dir)/$$inst'"; \
+-	  $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man8dir)/$$inst"; \
++	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst"; \
++	  $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst; \
+ 	done
+ uninstall-man8:
+ 	@$(NORMAL_UNINSTALL)
+@@ -600,10 +569,18 @@
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+-	  echo " rm -f '$(DESTDIR)$(man8dir)/$$inst'"; \
+-	  rm -f "$(DESTDIR)$(man8dir)/$$inst"; \
++	  echo " rm -f $(DESTDIR)$(man8dir)/$$inst"; \
++	  rm -f $(DESTDIR)$(man8dir)/$$inst; \
+ 	done
+ 
++ETAGS = etags
++ETAGSFLAGS =
++
++CTAGS = ctags
++CTAGSFLAGS =
++
++tags: TAGS
++
+ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ 	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ 	unique=`for i in $$list; do \
+@@ -612,7 +589,6 @@
+ 	  $(AWK) '    { files[$$0] = 1; } \
+ 	       END { for (i in files) print i; }'`; \
+ 	mkid -fID $$unique
+-tags: TAGS
+ 
+ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -627,6 +603,7 @@
+ 	test -z "$(ETAGS_ARGS)$$tags$$unique" \
+ 	  || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ 	     $$tags $$unique
++
+ ctags: CTAGS
+ CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -649,9 +626,13 @@
+ 
+ distclean-tags:
+ 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++
++top_distdir = ../../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	$(mkdir_p) $(distdir)/../../.. $(distdir)/../../../cf
++	$(mkinstalldirs) $(distdir)/../../.. $(distdir)/../../../cf
+ 	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ 	list='$(DISTFILES)'; for file in $$list; do \
+@@ -663,7 +644,7 @@
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ 	    dir="/$$dir"; \
+-	    $(mkdir_p) "$(distdir)$$dir"; \
++	    $(mkinstalldirs) "$(distdir)$$dir"; \
+ 	  else \
+ 	    dir=''; \
+ 	  fi; \
+@@ -685,10 +666,9 @@
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+ all-am: Makefile $(PROGRAMS) $(MANS) all-local
++
+ installdirs:
+-	for dir in "$(DESTDIR)$(libexecdir)" "$(DESTDIR)$(man5dir)" "$(DESTDIR)$(man8dir)"; do \
+-	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
+-	done
++	$(mkinstalldirs) $(DESTDIR)$(libexecdir) $(DESTDIR)$(man5dir) $(DESTDIR)$(man8dir)
+ install: install-am
+ install-exec: install-exec-am
+ install-data: install-data-am
+@@ -729,8 +709,6 @@
+ 
+ dvi-am:
+ 
+-html: html-am
+-
+ info: info-am
+ 
+ info-am:
+@@ -766,23 +744,21 @@
+ 
+ ps-am:
+ 
+-uninstall-am: uninstall-info-am uninstall-libexecPROGRAMS \
+-	uninstall-man
++uninstall-am: uninstall-info-am uninstall-libexecPROGRAMS uninstall-man
+ 
+ uninstall-man: uninstall-man5 uninstall-man8
+ 
+ .PHONY: CTAGS GTAGS all all-am all-local check check-am check-local \
+ 	clean clean-generic clean-libexecPROGRAMS clean-libtool ctags \
+-	distclean distclean-compile distclean-generic \
+-	distclean-libtool distclean-tags distdir dvi dvi-am html \
+-	html-am info info-am install install-am install-data \
+-	install-data-am install-exec install-exec-am install-info \
+-	install-info-am install-libexecPROGRAMS install-man \
+-	install-man5 install-man8 install-strip installcheck \
+-	installcheck-am installdirs maintainer-clean \
+-	maintainer-clean-generic mostlyclean mostlyclean-compile \
+-	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+-	tags uninstall uninstall-am uninstall-info-am \
++	distclean distclean-compile distclean-generic distclean-libtool \
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-data install-data-am install-exec \
++	install-exec-am install-info install-info-am \
++	install-libexecPROGRAMS install-man install-man5 install-man8 \
++	install-strip installcheck installcheck-am installdirs \
++	maintainer-clean maintainer-clean-generic mostlyclean \
++	mostlyclean-compile mostlyclean-generic mostlyclean-libtool pdf \
++	pdf-am ps ps-am tags uninstall uninstall-am uninstall-info-am \
+ 	uninstall-libexecPROGRAMS uninstall-man uninstall-man5 \
+ 	uninstall-man8
+ 
+diff -ruN heimdal-0.6.3-old/appl/ftp/Makefile.in heimdal-0.6.3/appl/ftp/Makefile.in
+--- heimdal-0.6.3-old/appl/ftp/Makefile.in	2004-09-13 22:28:53.000000000 +1000
++++ heimdal-0.6.3/appl/ftp/Makefile.in	2004-09-14 08:39:42.000000000 +1000
+@@ -1,8 +1,8 @@
+-# Makefile.in generated by automake 1.8.3 from Makefile.am.
++# Makefile.in generated by automake 1.7.9 from Makefile.am.
+ # @configure_input@
+ 
+-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+-# 2003, 2004  Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
++# 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.
+@@ -19,6 +19,7 @@
+ # $Id: Makefile.am.common,v 1.5 2002/05/19 18:35:37 joda Exp $
+ 
+ # $Id: Makefile.am.common,v 1.37.2.2 2003/10/13 13:15:39 joda Exp $
++
+ srcdir = @srcdir@
+ top_srcdir = @top_srcdir@
+ VPATH = @srcdir@
+@@ -26,6 +27,7 @@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+ top_builddir = ../..
++
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+ INSTALL = @INSTALL@
+ install_sh_DATA = $(install_sh) -c -m 644
+@@ -40,68 +42,6 @@
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+ host_triplet = @host@
+-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+-	$(top_srcdir)/Makefile.am.common \
+-	$(top_srcdir)/cf/Makefile.am.common ChangeLog
+-subdir = appl/ftp
+-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+-am__aclocal_m4_deps = $(top_srcdir)/cf/aix.m4 \
+-	$(top_srcdir)/cf/auth-modules.m4 \
+-	$(top_srcdir)/cf/broken-getaddrinfo.m4 \
+-	$(top_srcdir)/cf/broken-getnameinfo.m4 \
+-	$(top_srcdir)/cf/broken-glob.m4 \
+-	$(top_srcdir)/cf/broken-realloc.m4 \
+-	$(top_srcdir)/cf/broken-snprintf.m4 $(top_srcdir)/cf/broken.m4 \
+-	$(top_srcdir)/cf/broken2.m4 $(top_srcdir)/cf/c-attribute.m4 \
+-	$(top_srcdir)/cf/capabilities.m4 \
+-	$(top_srcdir)/cf/check-compile-et.m4 \
+-	$(top_srcdir)/cf/check-declaration.m4 \
+-	$(top_srcdir)/cf/check-getpwnam_r-posix.m4 \
+-	$(top_srcdir)/cf/check-man.m4 \
+-	$(top_srcdir)/cf/check-netinet-ip-and-tcp.m4 \
+-	$(top_srcdir)/cf/check-type-extra.m4 \
+-	$(top_srcdir)/cf/check-var.m4 $(top_srcdir)/cf/check-x.m4 \
+-	$(top_srcdir)/cf/check-xau.m4 $(top_srcdir)/cf/crypto.m4 \
+-	$(top_srcdir)/cf/db.m4 $(top_srcdir)/cf/destdirs.m4 \
+-	$(top_srcdir)/cf/dlopen.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs2.m4 \
+-	$(top_srcdir)/cf/find-func.m4 \
+-	$(top_srcdir)/cf/find-if-not-broken.m4 \
+-	$(top_srcdir)/cf/have-struct-field.m4 \
+-	$(top_srcdir)/cf/have-type.m4 $(top_srcdir)/cf/irix.m4 \
+-	$(top_srcdir)/cf/krb-bigendian.m4 \
+-	$(top_srcdir)/cf/krb-func-getlogin.m4 \
+-	$(top_srcdir)/cf/krb-ipv6.m4 $(top_srcdir)/cf/krb-prog-ln-s.m4 \
+-	$(top_srcdir)/cf/krb-readline.m4 \
+-	$(top_srcdir)/cf/krb-struct-spwd.m4 \
+-	$(top_srcdir)/cf/krb-struct-winsize.m4 \
+-	$(top_srcdir)/cf/mips-abi.m4 $(top_srcdir)/cf/misc.m4 \
+-	$(top_srcdir)/cf/need-proto.m4 $(top_srcdir)/cf/osfc2.m4 \
+-	$(top_srcdir)/cf/otp.m4 $(top_srcdir)/cf/proto-compat.m4 \
+-	$(top_srcdir)/cf/retsigtype.m4 $(top_srcdir)/cf/roken-frag.m4 \
+-	$(top_srcdir)/cf/sunos.m4 $(top_srcdir)/cf/telnet.m4 \
+-	$(top_srcdir)/cf/test-package.m4 $(top_srcdir)/cf/wflags.m4 \
+-	$(top_srcdir)/cf/with-all.m4 $(top_srcdir)/configure.in
+-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+-	$(ACLOCAL_M4)
+-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = $(top_builddir)/include/config.h
+-CONFIG_CLEAN_FILES =
+-depcomp =
+-am__depfiles_maybe =
+-SOURCES =
+-DIST_SOURCES =
+-RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
+-	html-recursive info-recursive install-data-recursive \
+-	install-exec-recursive install-info-recursive \
+-	install-recursive installcheck-recursive installdirs-recursive \
+-	pdf-recursive ps-recursive uninstall-info-recursive \
+-	uninstall-recursive
+-ETAGS = etags
+-CTAGS = ctags
+-DIST_SUBDIRS = $(SUBDIRS)
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ ACLOCAL = @ACLOCAL@
+ AIX4_FALSE = @AIX4_FALSE@
+ AIX4_TRUE = @AIX4_TRUE@
+@@ -126,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -136,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -159,12 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
++
+ INCLUDE_krb4 = @INCLUDE_krb4@
++
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
++
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -177,6 +130,7 @@
+ KRB5_TRUE = @KRB5_TRUE@
+ LDFLAGS = @LDFLAGS@
+ LEX = @LEX@
++
+ LEXLIB = @LEXLIB@
+ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+ LIBOBJS = @LIBOBJS@
+@@ -185,6 +139,7 @@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+ LIB_XauFileName = @LIB_XauFileName@
++
+ LIB_XauReadAuth = @LIB_XauReadAuth@
+ LIB_XauWriteAuth = @LIB_XauWriteAuth@
+ LIB_bswap16 = @LIB_bswap16@
+@@ -233,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -313,7 +270,6 @@
+ libexecdir = @libexecdir@
+ localstatedir = @localstatedir@
+ mandir = @mandir@
+-mkdir_p = @mkdir_p@
+ oldincludedir = @oldincludedir@
+ prefix = @prefix@
+ program_transform_name = @program_transform_name@
+@@ -321,59 +277,67 @@
+ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
++
+ SUFFIXES = .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8
++
+ INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken)
++
+ @do_roken_rename_TRUE@ROKEN_RENAME = -DROKEN_RENAME
++
+ AM_CFLAGS = $(WFLAGS)
++
+ CP = cp
++
+ buildinclude = $(top_builddir)/include
+ LIB_getattr = @LIB_getattr@
+ LIB_getpwent_r = @LIB_getpwent_r@
+ LIB_odm_initialize = @LIB_odm_initialize@
+ LIB_setpcred = @LIB_setpcred@
++
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
++
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
++
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++
+ @KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
+ @KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+ 
+ @KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
++
+ @DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
++
+ SUBDIRS = common ftp ftpd
++subdir = appl/ftp
++ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
++mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++depcomp =
++am__depfiles_maybe =
++DIST_SOURCES =
++
++RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \
++	ps-recursive install-info-recursive uninstall-info-recursive \
++	all-recursive install-data-recursive install-exec-recursive \
++	installdirs-recursive install-recursive uninstall-recursive \
++	check-recursive installcheck-recursive
++DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/Makefile.am.common \
++	$(top_srcdir)/cf/Makefile.am.common ChangeLog Makefile.am
++DIST_SUBDIRS = $(SUBDIRS)
+ all: all-recursive
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c
+-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(am__configure_deps)
+-	@for dep in $?; do \
+-	  case '$(am__configure_deps)' in \
+-	    *$$dep*) \
+-	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+-		&& exit 0; \
+-	      exit 1;; \
+-	  esac; \
+-	done; \
+-	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  --ignore-deps appl/ftp/Makefile'; \
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+-	  $(AUTOMAKE) --foreign  --ignore-deps appl/ftp/Makefile
+-.PRECIOUS: Makefile
+-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+-	@case '$?' in \
+-	  *config.status*) \
+-	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+-	  *) \
+-	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+-	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+-	esac;
+-
+-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-
+-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
++	  $(AUTOMAKE) --foreign  appl/ftp/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+ 
+ mostlyclean-libtool:
+ 	-rm -f *.lo
+@@ -444,6 +408,14 @@
+ 	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
+ 	done
+ 
++ETAGS = etags
++ETAGSFLAGS =
++
++CTAGS = ctags
++CTAGSFLAGS =
++
++tags: TAGS
++
+ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ 	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ 	unique=`for i in $$list; do \
+@@ -452,7 +424,6 @@
+ 	  $(AWK) '    { files[$$0] = 1; } \
+ 	       END { for (i in files) print i; }'`; \
+ 	mkid -fID $$unique
+-tags: TAGS
+ 
+ TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -478,6 +449,7 @@
+ 	test -z "$(ETAGS_ARGS)$$tags$$unique" \
+ 	  || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ 	     $$tags $$unique
++
+ ctags: CTAGS
+ CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -500,9 +472,13 @@
+ 
+ distclean-tags:
+ 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	$(mkdir_p) $(distdir)/../.. $(distdir)/../../cf
++	$(mkinstalldirs) $(distdir)/../.. $(distdir)/../../cf
+ 	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ 	list='$(DISTFILES)'; for file in $$list; do \
+@@ -514,7 +490,7 @@
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ 	    dir="/$$dir"; \
+-	    $(mkdir_p) "$(distdir)$$dir"; \
++	    $(mkinstalldirs) "$(distdir)$$dir"; \
+ 	  else \
+ 	    dir=''; \
+ 	  fi; \
+@@ -531,13 +507,13 @@
+ 	done
+ 	list='$(SUBDIRS)'; for subdir in $$list; do \
+ 	  if test "$$subdir" = .; then :; else \
+-	    test -d "$(distdir)/$$subdir" \
+-	    || mkdir "$(distdir)/$$subdir" \
++	    test -d $(distdir)/$$subdir \
++	    || mkdir $(distdir)/$$subdir \
+ 	    || exit 1; \
+ 	    (cd $$subdir && \
+ 	      $(MAKE) $(AM_MAKEFLAGS) \
+-	        top_distdir="../$(top_distdir)" \
+-	        distdir="../$(distdir)/$$subdir" \
++	        top_distdir="$(top_distdir)" \
++	        distdir=../$(distdir)/$$subdir \
+ 	        distdir) \
+ 	      || exit 1; \
+ 	  fi; \
+@@ -551,6 +527,7 @@
+ all-am: Makefile all-local
+ installdirs: installdirs-recursive
+ installdirs-am:
++
+ install: install-recursive
+ install-exec: install-exec-recursive
+ install-data: install-data-recursive
+@@ -588,8 +565,6 @@
+ 
+ dvi-am:
+ 
+-html: html-recursive
+-
+ info: info-recursive
+ 
+ info-am:
+@@ -632,14 +607,18 @@
+ 	check-am check-local clean clean-generic clean-libtool \
+ 	clean-recursive ctags ctags-recursive distclean \
+ 	distclean-generic distclean-libtool distclean-recursive \
+-	distclean-tags distdir dvi dvi-am html html-am info info-am \
+-	install install-am install-data install-data-am install-exec \
+-	install-exec-am install-info install-info-am install-man \
++	distclean-tags distdir dvi dvi-am dvi-recursive info info-am \
++	info-recursive install install-am install-data install-data-am \
++	install-data-recursive install-exec install-exec-am \
++	install-exec-recursive install-info install-info-am \
++	install-info-recursive install-man install-recursive \
+ 	install-strip installcheck installcheck-am installdirs \
+-	installdirs-am maintainer-clean maintainer-clean-generic \
+-	maintainer-clean-recursive mostlyclean mostlyclean-generic \
+-	mostlyclean-libtool mostlyclean-recursive pdf pdf-am ps ps-am \
+-	tags tags-recursive uninstall uninstall-am uninstall-info-am
++	installdirs-am installdirs-recursive maintainer-clean \
++	maintainer-clean-generic maintainer-clean-recursive mostlyclean \
++	mostlyclean-generic mostlyclean-libtool mostlyclean-recursive \
++	pdf pdf-am pdf-recursive ps ps-am ps-recursive tags \
++	tags-recursive uninstall uninstall-am uninstall-info-am \
++	uninstall-info-recursive uninstall-recursive
+ 
+ 
+ install-suid-programs:
+diff -ruN heimdal-0.6.3-old/appl/kf/Makefile.in heimdal-0.6.3/appl/kf/Makefile.in
+--- heimdal-0.6.3-old/appl/kf/Makefile.in	2004-09-13 22:28:57.000000000 +1000
++++ heimdal-0.6.3/appl/kf/Makefile.in	2004-09-14 08:39:44.000000000 +1000
+@@ -1,8 +1,8 @@
+-# Makefile.in generated by automake 1.8.3 from Makefile.am.
++# Makefile.in generated by automake 1.7.9 from Makefile.am.
+ # @configure_input@
+ 
+-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+-# 2003, 2004  Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
++# 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.
+@@ -20,8 +20,6 @@
+ 
+ # $Id: Makefile.am.common,v 1.37.2.2 2003/10/13 13:15:39 joda Exp $
+ 
+-SOURCES = $(kf_SOURCES) $(kfd_SOURCES)
+-
+ srcdir = @srcdir@
+ top_srcdir = @top_srcdir@
+ VPATH = @srcdir@
+@@ -29,6 +27,7 @@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+ top_builddir = ../..
++
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+ INSTALL = @INSTALL@
+ install_sh_DATA = $(install_sh) -c -m 644
+@@ -43,92 +42,6 @@
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+ host_triplet = @host@
+-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+-	$(top_srcdir)/Makefile.am.common \
+-	$(top_srcdir)/cf/Makefile.am.common
+-bin_PROGRAMS = kf$(EXEEXT)
+-libexec_PROGRAMS = kfd$(EXEEXT)
+-subdir = appl/kf
+-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+-am__aclocal_m4_deps = $(top_srcdir)/cf/aix.m4 \
+-	$(top_srcdir)/cf/auth-modules.m4 \
+-	$(top_srcdir)/cf/broken-getaddrinfo.m4 \
+-	$(top_srcdir)/cf/broken-getnameinfo.m4 \
+-	$(top_srcdir)/cf/broken-glob.m4 \
+-	$(top_srcdir)/cf/broken-realloc.m4 \
+-	$(top_srcdir)/cf/broken-snprintf.m4 $(top_srcdir)/cf/broken.m4 \
+-	$(top_srcdir)/cf/broken2.m4 $(top_srcdir)/cf/c-attribute.m4 \
+-	$(top_srcdir)/cf/capabilities.m4 \
+-	$(top_srcdir)/cf/check-compile-et.m4 \
+-	$(top_srcdir)/cf/check-declaration.m4 \
+-	$(top_srcdir)/cf/check-getpwnam_r-posix.m4 \
+-	$(top_srcdir)/cf/check-man.m4 \
+-	$(top_srcdir)/cf/check-netinet-ip-and-tcp.m4 \
+-	$(top_srcdir)/cf/check-type-extra.m4 \
+-	$(top_srcdir)/cf/check-var.m4 $(top_srcdir)/cf/check-x.m4 \
+-	$(top_srcdir)/cf/check-xau.m4 $(top_srcdir)/cf/crypto.m4 \
+-	$(top_srcdir)/cf/db.m4 $(top_srcdir)/cf/destdirs.m4 \
+-	$(top_srcdir)/cf/dlopen.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs2.m4 \
+-	$(top_srcdir)/cf/find-func.m4 \
+-	$(top_srcdir)/cf/find-if-not-broken.m4 \
+-	$(top_srcdir)/cf/have-struct-field.m4 \
+-	$(top_srcdir)/cf/have-type.m4 $(top_srcdir)/cf/irix.m4 \
+-	$(top_srcdir)/cf/krb-bigendian.m4 \
+-	$(top_srcdir)/cf/krb-func-getlogin.m4 \
+-	$(top_srcdir)/cf/krb-ipv6.m4 $(top_srcdir)/cf/krb-prog-ln-s.m4 \
+-	$(top_srcdir)/cf/krb-readline.m4 \
+-	$(top_srcdir)/cf/krb-struct-spwd.m4 \
+-	$(top_srcdir)/cf/krb-struct-winsize.m4 \
+-	$(top_srcdir)/cf/mips-abi.m4 $(top_srcdir)/cf/misc.m4 \
+-	$(top_srcdir)/cf/need-proto.m4 $(top_srcdir)/cf/osfc2.m4 \
+-	$(top_srcdir)/cf/otp.m4 $(top_srcdir)/cf/proto-compat.m4 \
+-	$(top_srcdir)/cf/retsigtype.m4 $(top_srcdir)/cf/roken-frag.m4 \
+-	$(top_srcdir)/cf/sunos.m4 $(top_srcdir)/cf/telnet.m4 \
+-	$(top_srcdir)/cf/test-package.m4 $(top_srcdir)/cf/wflags.m4 \
+-	$(top_srcdir)/cf/with-all.m4 $(top_srcdir)/configure.in
+-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+-	$(ACLOCAL_M4)
+-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = $(top_builddir)/include/config.h
+-CONFIG_CLEAN_FILES =
+-am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(libexecdir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man8dir)"
+-binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+-libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+-PROGRAMS = $(bin_PROGRAMS) $(libexec_PROGRAMS)
+-am_kf_OBJECTS = kf.$(OBJEXT)
+-kf_OBJECTS = $(am_kf_OBJECTS)
+-kf_LDADD = $(LDADD)
+-am__DEPENDENCIES_1 =
+-kf_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
+-	$(am__DEPENDENCIES_1) $(top_builddir)/lib/asn1/libasn1.la \
+-	$(am__DEPENDENCIES_1)
+-am_kfd_OBJECTS = kfd.$(OBJEXT)
+-kfd_OBJECTS = $(am_kfd_OBJECTS)
+-kfd_LDADD = $(LDADD)
+-kfd_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
+-	$(am__DEPENDENCIES_1) $(top_builddir)/lib/asn1/libasn1.la \
+-	$(am__DEPENDENCIES_1)
+-DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
+-depcomp =
+-am__depfiles_maybe =
+-COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+-	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) \
+-	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+-	$(AM_CFLAGS) $(CFLAGS)
+-CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+-	$(AM_LDFLAGS) $(LDFLAGS) -o $@
+-SOURCES = $(kf_SOURCES) $(kfd_SOURCES)
+-DIST_SOURCES = $(kf_SOURCES) $(kfd_SOURCES)
+-man1dir = $(mandir)/man1
+-man8dir = $(mandir)/man8
+-MANS = $(man_MANS)
+-ETAGS = etags
+-CTAGS = ctags
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ ACLOCAL = @ACLOCAL@
+ AIX4_FALSE = @AIX4_FALSE@
+ AIX4_TRUE = @AIX4_TRUE@
+@@ -153,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -163,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -186,12 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
++
+ INCLUDE_krb4 = @INCLUDE_krb4@
++
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
++
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -204,6 +130,7 @@
+ KRB5_TRUE = @KRB5_TRUE@
+ LDFLAGS = @LDFLAGS@
+ LEX = @LEX@
++
+ LEXLIB = @LEXLIB@
+ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+ LIBOBJS = @LIBOBJS@
+@@ -212,6 +139,7 @@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+ LIB_XauFileName = @LIB_XauFileName@
++
+ LIB_XauReadAuth = @LIB_XauReadAuth@
+ LIB_XauWriteAuth = @LIB_XauWriteAuth@
+ LIB_bswap16 = @LIB_bswap16@
+@@ -260,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -340,7 +270,6 @@
+ libexecdir = @libexecdir@
+ localstatedir = @localstatedir@
+ mandir = @mandir@
+-mkdir_p = @mkdir_p@
+ oldincludedir = @oldincludedir@
+ prefix = @prefix@
+ program_transform_name = @program_transform_name@
+@@ -348,77 +277,114 @@
+ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
++
+ SUFFIXES = .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8
++
+ INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken)
++
+ @do_roken_rename_TRUE@ROKEN_RENAME = -DROKEN_RENAME
++
+ AM_CFLAGS = $(WFLAGS)
++
+ CP = cp
++
+ buildinclude = $(top_builddir)/include
+ LIB_getattr = @LIB_getattr@
+ LIB_getpwent_r = @LIB_getpwent_r@
+ LIB_odm_initialize = @LIB_odm_initialize@
+ LIB_setpcred = @LIB_setpcred@
++
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
++
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
++
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++
+ @KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
+ @KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+ 
+ @KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
++
+ @DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
++
++bin_PROGRAMS = kf
++
++libexec_PROGRAMS = kfd
++
+ man_MANS = kf.1 kfd.8
++
+ kf_SOURCES = kf.c kf_locl.h
++
+ kfd_SOURCES = kfd.c kf_locl.h
++
+ LDADD = $(top_builddir)/lib/krb5/libkrb5.la \
+ 	$(LIB_des) \
+ 	$(top_builddir)/lib/asn1/libasn1.la \
+ 	$(LIB_roken)
+ 
++subdir = appl/kf
++ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
++mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++bin_PROGRAMS = kf$(EXEEXT)
++libexec_PROGRAMS = kfd$(EXEEXT)
++PROGRAMS = $(bin_PROGRAMS) $(libexec_PROGRAMS)
++
++am_kf_OBJECTS = kf.$(OBJEXT)
++kf_OBJECTS = $(am_kf_OBJECTS)
++kf_LDADD = $(LDADD)
++kf_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++kf_LDFLAGS =
++am_kfd_OBJECTS = kfd.$(OBJEXT)
++kfd_OBJECTS = $(am_kfd_OBJECTS)
++kfd_LDADD = $(LDADD)
++kfd_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++kfd_LDFLAGS =
++
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
++depcomp =
++am__depfiles_maybe =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++CCLD = $(CC)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++DIST_SOURCES = $(kf_SOURCES) $(kfd_SOURCES)
++MANS = $(man_MANS)
++DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/Makefile.am.common \
++	$(top_srcdir)/cf/Makefile.am.common Makefile.am
++SOURCES = $(kf_SOURCES) $(kfd_SOURCES)
++
+ all: all-am
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj
+-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(am__configure_deps)
+-	@for dep in $?; do \
+-	  case '$(am__configure_deps)' in \
+-	    *$$dep*) \
+-	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+-		&& exit 0; \
+-	      exit 1;; \
+-	  esac; \
+-	done; \
+-	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  --ignore-deps appl/kf/Makefile'; \
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+-	  $(AUTOMAKE) --foreign  --ignore-deps appl/kf/Makefile
+-.PRECIOUS: Makefile
+-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+-	@case '$?' in \
+-	  *config.status*) \
+-	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+-	  *) \
+-	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+-	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+-	esac;
+-
+-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-
+-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
++	  $(AUTOMAKE) --foreign  appl/kf/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
++binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ install-binPROGRAMS: $(bin_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
++	$(mkinstalldirs) $(DESTDIR)$(bindir)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+ 	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+ 	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+-	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
+-	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f || exit 1; \
+ 	  else :; fi; \
+ 	done
+ 
+@@ -426,8 +392,8 @@
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+ 	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
+-	  rm -f "$(DESTDIR)$(bindir)/$$f"; \
++	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
++	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+ clean-binPROGRAMS:
+@@ -436,17 +402,18 @@
+ 	  echo " rm -f $$p $$f"; \
+ 	  rm -f $$p $$f ; \
+ 	done
++libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ install-libexecPROGRAMS: $(libexec_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(libexecdir)" || $(mkdir_p) "$(DESTDIR)$(libexecdir)"
++	$(mkinstalldirs) $(DESTDIR)$(libexecdir)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+ 	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+ 	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+-	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(libexecdir)/$$f'"; \
+-	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(libexecdir)/$$f" || exit 1; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f || exit 1; \
+ 	  else :; fi; \
+ 	done
+ 
+@@ -454,8 +421,8 @@
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+ 	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  echo " rm -f '$(DESTDIR)$(libexecdir)/$$f'"; \
+-	  rm -f "$(DESTDIR)$(libexecdir)/$$f"; \
++	  echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
++	  rm -f $(DESTDIR)$(libexecdir)/$$f; \
+ 	done
+ 
+ clean-libexecPROGRAMS:
+@@ -472,19 +439,19 @@
+ 	$(LINK) $(kfd_LDFLAGS) $(kfd_OBJECTS) $(kfd_LDADD) $(LIBS)
+ 
+ mostlyclean-compile:
+-	-rm -f *.$(OBJEXT)
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ .c.obj:
+-	$(COMPILE) -c `$(CYGPATH_W) '$<'`
++	$(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
+ 
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ mostlyclean-libtool:
+ 	-rm -f *.lo
+@@ -495,9 +462,11 @@
+ distclean-libtool:
+ 	-rm -f libtool
+ uninstall-info-am:
++
++man1dir = $(mandir)/man1
+ install-man1: $(man1_MANS) $(man_MANS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(man1dir)" || $(mkdir_p) "$(DESTDIR)$(man1dir)"
++	$(mkinstalldirs) $(DESTDIR)$(man1dir)
+ 	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
+ 	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
+ 	for i in $$l2; do \
+@@ -516,8 +485,8 @@
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+-	  echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
+-	  $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst"; \
++	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
++	  $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
+ 	done
+ uninstall-man1:
+ 	@$(NORMAL_UNINSTALL)
+@@ -537,12 +506,14 @@
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+-	  echo " rm -f '$(DESTDIR)$(man1dir)/$$inst'"; \
+-	  rm -f "$(DESTDIR)$(man1dir)/$$inst"; \
++	  echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
++	  rm -f $(DESTDIR)$(man1dir)/$$inst; \
+ 	done
++
++man8dir = $(mandir)/man8
+ install-man8: $(man8_MANS) $(man_MANS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(man8dir)" || $(mkdir_p) "$(DESTDIR)$(man8dir)"
++	$(mkinstalldirs) $(DESTDIR)$(man8dir)
+ 	@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
+ 	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
+ 	for i in $$l2; do \
+@@ -561,8 +532,8 @@
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+-	  echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man8dir)/$$inst'"; \
+-	  $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man8dir)/$$inst"; \
++	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst"; \
++	  $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst; \
+ 	done
+ uninstall-man8:
+ 	@$(NORMAL_UNINSTALL)
+@@ -582,10 +553,18 @@
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+-	  echo " rm -f '$(DESTDIR)$(man8dir)/$$inst'"; \
+-	  rm -f "$(DESTDIR)$(man8dir)/$$inst"; \
++	  echo " rm -f $(DESTDIR)$(man8dir)/$$inst"; \
++	  rm -f $(DESTDIR)$(man8dir)/$$inst; \
+ 	done
+ 
++ETAGS = etags
++ETAGSFLAGS =
++
++CTAGS = ctags
++CTAGSFLAGS =
++
++tags: TAGS
++
+ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ 	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ 	unique=`for i in $$list; do \
+@@ -594,7 +573,6 @@
+ 	  $(AWK) '    { files[$$0] = 1; } \
+ 	       END { for (i in files) print i; }'`; \
+ 	mkid -fID $$unique
+-tags: TAGS
+ 
+ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -609,6 +587,7 @@
+ 	test -z "$(ETAGS_ARGS)$$tags$$unique" \
+ 	  || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ 	     $$tags $$unique
++
+ ctags: CTAGS
+ CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -631,9 +610,13 @@
+ 
+ distclean-tags:
+ 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	$(mkdir_p) $(distdir)/../.. $(distdir)/../../cf
++	$(mkinstalldirs) $(distdir)/../.. $(distdir)/../../cf
+ 	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ 	list='$(DISTFILES)'; for file in $$list; do \
+@@ -645,7 +628,7 @@
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ 	    dir="/$$dir"; \
+-	    $(mkdir_p) "$(distdir)$$dir"; \
++	    $(mkinstalldirs) "$(distdir)$$dir"; \
+ 	  else \
+ 	    dir=''; \
+ 	  fi; \
+@@ -667,10 +650,9 @@
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+ all-am: Makefile $(PROGRAMS) $(MANS) all-local
++
+ installdirs:
+-	for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(libexecdir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man8dir)"; do \
+-	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
+-	done
++	$(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(libexecdir) $(DESTDIR)$(man1dir) $(DESTDIR)$(man8dir)
+ install: install-am
+ install-exec: install-exec-am
+ install-data: install-data-am
+@@ -709,8 +691,6 @@
+ 
+ dvi-am:
+ 
+-html: html-am
+-
+ info: info-am
+ 
+ info-am:
+@@ -755,17 +735,16 @@
+ 	clean clean-binPROGRAMS clean-generic clean-libexecPROGRAMS \
+ 	clean-libtool ctags distclean distclean-compile \
+ 	distclean-generic distclean-libtool distclean-tags distdir dvi \
+-	dvi-am html html-am info info-am install install-am \
+-	install-binPROGRAMS install-data install-data-am install-exec \
+-	install-exec-am install-info install-info-am \
+-	install-libexecPROGRAMS install-man install-man1 install-man8 \
+-	install-strip installcheck installcheck-am installdirs \
+-	maintainer-clean maintainer-clean-generic mostlyclean \
+-	mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
+-	pdf pdf-am ps ps-am tags uninstall uninstall-am \
+-	uninstall-binPROGRAMS uninstall-info-am \
+-	uninstall-libexecPROGRAMS uninstall-man uninstall-man1 \
+-	uninstall-man8
++	dvi-am info info-am install install-am install-binPROGRAMS \
++	install-data install-data-am install-exec install-exec-am \
++	install-info install-info-am install-libexecPROGRAMS \
++	install-man install-man1 install-man8 install-strip \
++	installcheck installcheck-am installdirs maintainer-clean \
++	maintainer-clean-generic mostlyclean mostlyclean-compile \
++	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
++	tags uninstall uninstall-am uninstall-binPROGRAMS \
++	uninstall-info-am uninstall-libexecPROGRAMS uninstall-man \
++	uninstall-man1 uninstall-man8
+ 
+ 
+ install-suid-programs:
+diff -ruN heimdal-0.6.3-old/appl/kx/Makefile.in heimdal-0.6.3/appl/kx/Makefile.in
+--- heimdal-0.6.3-old/appl/kx/Makefile.in	2004-09-13 22:28:58.000000000 +1000
++++ heimdal-0.6.3/appl/kx/Makefile.in	2004-09-14 08:39:44.000000000 +1000
+@@ -1,8 +1,8 @@
+-# Makefile.in generated by automake 1.8.3 from Makefile.am.
++# Makefile.in generated by automake 1.7.9 from Makefile.am.
+ # @configure_input@
+ 
+-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+-# 2003, 2004  Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
++# 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.
+@@ -20,9 +20,6 @@
+ 
+ # $Id: Makefile.am.common,v 1.37.2.2 2003/10/13 13:15:39 joda Exp $
+ 
+-
+-SOURCES = $(kx_SOURCES) $(EXTRA_kx_SOURCES) $(kxd_SOURCES) $(EXTRA_kxd_SOURCES)
+-
+ srcdir = @srcdir@
+ top_srcdir = @top_srcdir@
+ VPATH = @srcdir@
+@@ -30,6 +27,7 @@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+ top_builddir = ../..
++
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+ INSTALL = @INSTALL@
+ install_sh_DATA = $(install_sh) -c -m 644
+@@ -44,111 +42,6 @@
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+ host_triplet = @host@
+-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+-	$(top_srcdir)/Makefile.am.common \
+-	$(top_srcdir)/cf/Makefile.am.common ChangeLog
+-@HAVE_X_TRUE@bin_PROGRAMS = kx$(EXEEXT)
+-@HAVE_X_TRUE@libexec_PROGRAMS = kxd$(EXEEXT)
+-subdir = appl/kx
+-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+-am__aclocal_m4_deps = $(top_srcdir)/cf/aix.m4 \
+-	$(top_srcdir)/cf/auth-modules.m4 \
+-	$(top_srcdir)/cf/broken-getaddrinfo.m4 \
+-	$(top_srcdir)/cf/broken-getnameinfo.m4 \
+-	$(top_srcdir)/cf/broken-glob.m4 \
+-	$(top_srcdir)/cf/broken-realloc.m4 \
+-	$(top_srcdir)/cf/broken-snprintf.m4 $(top_srcdir)/cf/broken.m4 \
+-	$(top_srcdir)/cf/broken2.m4 $(top_srcdir)/cf/c-attribute.m4 \
+-	$(top_srcdir)/cf/capabilities.m4 \
+-	$(top_srcdir)/cf/check-compile-et.m4 \
+-	$(top_srcdir)/cf/check-declaration.m4 \
+-	$(top_srcdir)/cf/check-getpwnam_r-posix.m4 \
+-	$(top_srcdir)/cf/check-man.m4 \
+-	$(top_srcdir)/cf/check-netinet-ip-and-tcp.m4 \
+-	$(top_srcdir)/cf/check-type-extra.m4 \
+-	$(top_srcdir)/cf/check-var.m4 $(top_srcdir)/cf/check-x.m4 \
+-	$(top_srcdir)/cf/check-xau.m4 $(top_srcdir)/cf/crypto.m4 \
+-	$(top_srcdir)/cf/db.m4 $(top_srcdir)/cf/destdirs.m4 \
+-	$(top_srcdir)/cf/dlopen.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs2.m4 \
+-	$(top_srcdir)/cf/find-func.m4 \
+-	$(top_srcdir)/cf/find-if-not-broken.m4 \
+-	$(top_srcdir)/cf/have-struct-field.m4 \
+-	$(top_srcdir)/cf/have-type.m4 $(top_srcdir)/cf/irix.m4 \
+-	$(top_srcdir)/cf/krb-bigendian.m4 \
+-	$(top_srcdir)/cf/krb-func-getlogin.m4 \
+-	$(top_srcdir)/cf/krb-ipv6.m4 $(top_srcdir)/cf/krb-prog-ln-s.m4 \
+-	$(top_srcdir)/cf/krb-readline.m4 \
+-	$(top_srcdir)/cf/krb-struct-spwd.m4 \
+-	$(top_srcdir)/cf/krb-struct-winsize.m4 \
+-	$(top_srcdir)/cf/mips-abi.m4 $(top_srcdir)/cf/misc.m4 \
+-	$(top_srcdir)/cf/need-proto.m4 $(top_srcdir)/cf/osfc2.m4 \
+-	$(top_srcdir)/cf/otp.m4 $(top_srcdir)/cf/proto-compat.m4 \
+-	$(top_srcdir)/cf/retsigtype.m4 $(top_srcdir)/cf/roken-frag.m4 \
+-	$(top_srcdir)/cf/sunos.m4 $(top_srcdir)/cf/telnet.m4 \
+-	$(top_srcdir)/cf/test-package.m4 $(top_srcdir)/cf/wflags.m4 \
+-	$(top_srcdir)/cf/with-all.m4 $(top_srcdir)/configure.in
+-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+-	$(ACLOCAL_M4)
+-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = $(top_builddir)/include/config.h
+-CONFIG_CLEAN_FILES =
+-am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(libexecdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man8dir)"
+-binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+-libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+-PROGRAMS = $(bin_PROGRAMS) $(libexec_PROGRAMS)
+-am__kx_SOURCES_DIST = kx.c kx.h common.c context.c krb4.c krb5.c \
+-	writeauth.c
+-@NEED_WRITEAUTH_TRUE@am__objects_1 = writeauth.$(OBJEXT)
+-am_kx_OBJECTS = kx.$(OBJEXT) common.$(OBJEXT) context.$(OBJEXT) \
+-	krb4.$(OBJEXT) krb5.$(OBJEXT) $(am__objects_1)
+-kx_OBJECTS = $(am_kx_OBJECTS)
+-kx_LDADD = $(LDADD)
+-am__DEPENDENCIES_1 =
+-am__DEPENDENCIES_2 = $(top_builddir)/lib/kafs/libkafs.la \
+-	$(am__DEPENDENCIES_1)
+-@KRB5_TRUE@am__DEPENDENCIES_3 = $(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-kx_DEPENDENCIES = $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_3) \
+-	$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
+-	$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
+-	$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
+-	$(am__DEPENDENCIES_1)
+-am__kxd_SOURCES_DIST = kxd.c kx.h common.c context.c krb4.c krb5.c \
+-	writeauth.c
+-am_kxd_OBJECTS = kxd.$(OBJEXT) common.$(OBJEXT) context.$(OBJEXT) \
+-	krb4.$(OBJEXT) krb5.$(OBJEXT) $(am__objects_1)
+-kxd_OBJECTS = $(am_kxd_OBJECTS)
+-kxd_LDADD = $(LDADD)
+-kxd_DEPENDENCIES = $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_3) \
+-	$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
+-	$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
+-	$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
+-	$(am__DEPENDENCIES_1)
+-binSCRIPT_INSTALL = $(INSTALL_SCRIPT)
+-SCRIPTS = $(bin_SCRIPTS)
+-DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
+-depcomp =
+-am__depfiles_maybe =
+-COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+-	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) \
+-	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+-	$(AM_CFLAGS) $(CFLAGS)
+-CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+-	$(AM_LDFLAGS) $(LDFLAGS) -o $@
+-SOURCES = $(kx_SOURCES) $(EXTRA_kx_SOURCES) $(kxd_SOURCES) \
+-	$(EXTRA_kxd_SOURCES)
+-DIST_SOURCES = $(am__kx_SOURCES_DIST) $(EXTRA_kx_SOURCES) \
+-	$(am__kxd_SOURCES_DIST) $(EXTRA_kxd_SOURCES)
+-man1dir = $(mandir)/man1
+-man8dir = $(mandir)/man8
+-MANS = $(man_MANS)
+-ETAGS = etags
+-CTAGS = ctags
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ ACLOCAL = @ACLOCAL@
+ AIX4_FALSE = @AIX4_FALSE@
+ AIX4_TRUE = @AIX4_TRUE@
+@@ -173,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -183,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -206,12 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
++
+ INCLUDE_krb4 = @INCLUDE_krb4@
++
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
++
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -224,6 +130,7 @@
+ KRB5_TRUE = @KRB5_TRUE@
+ LDFLAGS = @LDFLAGS@
+ LEX = @LEX@
++
+ LEXLIB = @LEXLIB@
+ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+ LIBOBJS = @LIBOBJS@
+@@ -232,6 +139,7 @@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+ LIB_XauFileName = @LIB_XauFileName@
++
+ LIB_XauReadAuth = @LIB_XauReadAuth@
+ LIB_XauWriteAuth = @LIB_XauWriteAuth@
+ LIB_bswap16 = @LIB_bswap16@
+@@ -280,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -308,6 +218,7 @@
+ STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
++
+ WFLAGS = @WFLAGS@ $(WFLAGS_NOIMPLICITINT)
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
+@@ -360,7 +271,6 @@
+ libexecdir = @libexecdir@
+ localstatedir = @localstatedir@
+ mandir = @mandir@
+-mkdir_p = @mkdir_p@
+ oldincludedir = @oldincludedir@
+ prefix = @prefix@
+ program_transform_name = @program_transform_name@
+@@ -368,29 +278,52 @@
+ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
++
+ SUFFIXES = .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8
++
+ INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) $(INCLUDE_krb4) $(X_CFLAGS)
++
+ @do_roken_rename_TRUE@ROKEN_RENAME = -DROKEN_RENAME
++
+ AM_CFLAGS = $(WFLAGS)
++
+ CP = cp
++
+ buildinclude = $(top_builddir)/include
+ LIB_getattr = @LIB_getattr@
+ LIB_getpwent_r = @LIB_getpwent_r@
+ LIB_odm_initialize = @LIB_odm_initialize@
+ LIB_setpcred = @LIB_setpcred@
++
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
++
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
++
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++
+ @KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
+ @KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+ 
+ @KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
++
+ @DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
++
++@HAVE_X_FALSE@bin_PROGRAMS = 
++
++@HAVE_X_TRUE@bin_PROGRAMS = kx
+ @HAVE_X_FALSE@bin_SCRIPTS = 
+ @HAVE_X_TRUE@bin_SCRIPTS = rxterm rxtelnet tenletxr
++@HAVE_X_FALSE@libexec_PROGRAMS = 
++@HAVE_X_TRUE@libexec_PROGRAMS = kxd
++
+ CLEANFILES = rxterm rxtelnet tenletxr
++
+ @NEED_WRITEAUTH_TRUE@XauWriteAuth_c = writeauth.c
++
+ kx_SOURCES = \
+ 	kx.c \
+ 	kx.h \
+@@ -400,7 +333,9 @@
+ 	krb5.c \
+ 	$(XauWriteAuth_c)
+ 
++
+ EXTRA_kx_SOURCES = writeauth.c
++
+ kxd_SOURCES = \
+ 	kxd.c \
+ 	kx.h \
+@@ -410,9 +345,13 @@
+ 	krb5.c \
+ 	$(XauWriteAuth_c)
+ 
++
+ EXTRA_kxd_SOURCES = writeauth.c
++
+ EXTRA_DIST = rxterm.in rxtelnet.in tenletxr.in
++
+ man_MANS = kx.1 rxtelnet.1 rxterm.1 tenletxr.1 kxd.8
++
+ LDADD = \
+ 	$(LIB_kafs)				\
+ 	$(LIB_krb5) \
+@@ -421,50 +360,81 @@
+ 	$(LIB_roken)				\
+ 	$(X_LIBS) $(LIB_XauReadAuth) $(X_PRE_LIBS) $(X_EXTRA_LIBS)
+ 
++subdir = appl/kx
++ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
++mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++@HAVE_X_TRUE@bin_PROGRAMS = kx$(EXEEXT)
++@HAVE_X_FALSE@bin_PROGRAMS =
++@HAVE_X_TRUE@libexec_PROGRAMS = kxd$(EXEEXT)
++@HAVE_X_FALSE@libexec_PROGRAMS =
++PROGRAMS = $(bin_PROGRAMS) $(libexec_PROGRAMS)
++
++am__kx_SOURCES_DIST = kx.c kx.h common.c context.c krb4.c krb5.c \
++	writeauth.c
++@NEED_WRITEAUTH_TRUE@am__objects_1 = writeauth.$(OBJEXT)
++am_kx_OBJECTS = kx.$(OBJEXT) common.$(OBJEXT) context.$(OBJEXT) \
++	krb4.$(OBJEXT) krb5.$(OBJEXT) $(am__objects_1)
++kx_OBJECTS = $(am_kx_OBJECTS)
++kx_LDADD = $(LDADD)
++@KRB5_TRUE@kx_DEPENDENCIES = $(top_builddir)/lib/kafs/libkafs.la \
++@KRB5_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la \
++@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_FALSE@kx_DEPENDENCIES = $(top_builddir)/lib/kafs/libkafs.la
++kx_LDFLAGS =
++am__kxd_SOURCES_DIST = kxd.c kx.h common.c context.c krb4.c krb5.c \
++	writeauth.c
++am_kxd_OBJECTS = kxd.$(OBJEXT) common.$(OBJEXT) context.$(OBJEXT) \
++	krb4.$(OBJEXT) krb5.$(OBJEXT) $(am__objects_1)
++kxd_OBJECTS = $(am_kxd_OBJECTS)
++kxd_LDADD = $(LDADD)
++@KRB5_TRUE@kxd_DEPENDENCIES = $(top_builddir)/lib/kafs/libkafs.la \
++@KRB5_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la \
++@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_FALSE@kxd_DEPENDENCIES = $(top_builddir)/lib/kafs/libkafs.la
++kxd_LDFLAGS =
++SCRIPTS = $(bin_SCRIPTS)
++
++
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
++depcomp =
++am__depfiles_maybe =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++CCLD = $(CC)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++DIST_SOURCES = $(am__kx_SOURCES_DIST) $(EXTRA_kx_SOURCES) \
++	$(am__kxd_SOURCES_DIST) $(EXTRA_kxd_SOURCES)
++MANS = $(man_MANS)
++DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/Makefile.am.common \
++	$(top_srcdir)/cf/Makefile.am.common ChangeLog Makefile.am
++SOURCES = $(kx_SOURCES) $(EXTRA_kx_SOURCES) $(kxd_SOURCES) $(EXTRA_kxd_SOURCES)
++
+ all: all-am
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj
+-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(am__configure_deps)
+-	@for dep in $?; do \
+-	  case '$(am__configure_deps)' in \
+-	    *$$dep*) \
+-	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+-		&& exit 0; \
+-	      exit 1;; \
+-	  esac; \
+-	done; \
+-	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  --ignore-deps appl/kx/Makefile'; \
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+-	  $(AUTOMAKE) --foreign  --ignore-deps appl/kx/Makefile
+-.PRECIOUS: Makefile
+-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+-	@case '$?' in \
+-	  *config.status*) \
+-	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+-	  *) \
+-	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+-	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+-	esac;
+-
+-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-
+-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
++	  $(AUTOMAKE) --foreign  appl/kx/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
++binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ install-binPROGRAMS: $(bin_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
++	$(mkinstalldirs) $(DESTDIR)$(bindir)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+ 	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+ 	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+-	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
+-	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f || exit 1; \
+ 	  else :; fi; \
+ 	done
+ 
+@@ -472,8 +442,8 @@
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+ 	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
+-	  rm -f "$(DESTDIR)$(bindir)/$$f"; \
++	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
++	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+ clean-binPROGRAMS:
+@@ -482,17 +452,18 @@
+ 	  echo " rm -f $$p $$f"; \
+ 	  rm -f $$p $$f ; \
+ 	done
++libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ install-libexecPROGRAMS: $(libexec_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(libexecdir)" || $(mkdir_p) "$(DESTDIR)$(libexecdir)"
++	$(mkinstalldirs) $(DESTDIR)$(libexecdir)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+ 	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+ 	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+-	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(libexecdir)/$$f'"; \
+-	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(libexecdir)/$$f" || exit 1; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f || exit 1; \
+ 	  else :; fi; \
+ 	done
+ 
+@@ -500,8 +471,8 @@
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+ 	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  echo " rm -f '$(DESTDIR)$(libexecdir)/$$f'"; \
+-	  rm -f "$(DESTDIR)$(libexecdir)/$$f"; \
++	  echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
++	  rm -f $(DESTDIR)$(libexecdir)/$$f; \
+ 	done
+ 
+ clean-libexecPROGRAMS:
+@@ -516,15 +487,16 @@
+ kxd$(EXEEXT): $(kxd_OBJECTS) $(kxd_DEPENDENCIES) 
+ 	@rm -f kxd$(EXEEXT)
+ 	$(LINK) $(kxd_LDFLAGS) $(kxd_OBJECTS) $(kxd_LDADD) $(LIBS)
++binSCRIPT_INSTALL = $(INSTALL_SCRIPT)
+ install-binSCRIPTS: $(bin_SCRIPTS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
++	$(mkinstalldirs) $(DESTDIR)$(bindir)
+ 	@list='$(bin_SCRIPTS)'; for p in $$list; do \
+ 	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ 	  if test -f $$d$$p; then \
+ 	    f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
+-	    echo " $(binSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(bindir)/$$f'"; \
+-	    $(binSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(bindir)/$$f"; \
++	    echo " $(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f"; \
++	    $(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+@@ -532,24 +504,24 @@
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_SCRIPTS)'; for p in $$list; do \
+ 	  f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
+-	  echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
+-	  rm -f "$(DESTDIR)$(bindir)/$$f"; \
++	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
++	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+ mostlyclean-compile:
+-	-rm -f *.$(OBJEXT)
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ .c.obj:
+-	$(COMPILE) -c `$(CYGPATH_W) '$<'`
++	$(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
+ 
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ mostlyclean-libtool:
+ 	-rm -f *.lo
+@@ -560,9 +532,11 @@
+ distclean-libtool:
+ 	-rm -f libtool
+ uninstall-info-am:
++
++man1dir = $(mandir)/man1
+ install-man1: $(man1_MANS) $(man_MANS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(man1dir)" || $(mkdir_p) "$(DESTDIR)$(man1dir)"
++	$(mkinstalldirs) $(DESTDIR)$(man1dir)
+ 	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
+ 	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
+ 	for i in $$l2; do \
+@@ -581,8 +555,8 @@
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+-	  echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
+-	  $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst"; \
++	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
++	  $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
+ 	done
+ uninstall-man1:
+ 	@$(NORMAL_UNINSTALL)
+@@ -602,12 +576,14 @@
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+-	  echo " rm -f '$(DESTDIR)$(man1dir)/$$inst'"; \
+-	  rm -f "$(DESTDIR)$(man1dir)/$$inst"; \
++	  echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
++	  rm -f $(DESTDIR)$(man1dir)/$$inst; \
+ 	done
++
++man8dir = $(mandir)/man8
+ install-man8: $(man8_MANS) $(man_MANS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(man8dir)" || $(mkdir_p) "$(DESTDIR)$(man8dir)"
++	$(mkinstalldirs) $(DESTDIR)$(man8dir)
+ 	@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
+ 	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
+ 	for i in $$l2; do \
+@@ -626,8 +602,8 @@
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+-	  echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man8dir)/$$inst'"; \
+-	  $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man8dir)/$$inst"; \
++	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst"; \
++	  $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst; \
+ 	done
+ uninstall-man8:
+ 	@$(NORMAL_UNINSTALL)
+@@ -647,10 +623,18 @@
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+-	  echo " rm -f '$(DESTDIR)$(man8dir)/$$inst'"; \
+-	  rm -f "$(DESTDIR)$(man8dir)/$$inst"; \
++	  echo " rm -f $(DESTDIR)$(man8dir)/$$inst"; \
++	  rm -f $(DESTDIR)$(man8dir)/$$inst; \
+ 	done
+ 
++ETAGS = etags
++ETAGSFLAGS =
++
++CTAGS = ctags
++CTAGSFLAGS =
++
++tags: TAGS
++
+ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ 	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ 	unique=`for i in $$list; do \
+@@ -659,7 +643,6 @@
+ 	  $(AWK) '    { files[$$0] = 1; } \
+ 	       END { for (i in files) print i; }'`; \
+ 	mkid -fID $$unique
+-tags: TAGS
+ 
+ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -674,6 +657,7 @@
+ 	test -z "$(ETAGS_ARGS)$$tags$$unique" \
+ 	  || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ 	     $$tags $$unique
++
+ ctags: CTAGS
+ CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -696,9 +680,13 @@
+ 
+ distclean-tags:
+ 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	$(mkdir_p) $(distdir)/../.. $(distdir)/../../cf
++	$(mkinstalldirs) $(distdir)/../.. $(distdir)/../../cf
+ 	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ 	list='$(DISTFILES)'; for file in $$list; do \
+@@ -710,7 +698,7 @@
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ 	    dir="/$$dir"; \
+-	    $(mkdir_p) "$(distdir)$$dir"; \
++	    $(mkinstalldirs) "$(distdir)$$dir"; \
+ 	  else \
+ 	    dir=''; \
+ 	  fi; \
+@@ -732,10 +720,9 @@
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+ all-am: Makefile $(PROGRAMS) $(SCRIPTS) $(MANS) all-local
++
+ installdirs:
+-	for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(libexecdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man8dir)"; do \
+-	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
+-	done
++	$(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(libexecdir) $(DESTDIR)$(bindir) $(DESTDIR)$(man1dir) $(DESTDIR)$(man8dir)
+ install: install-am
+ install-exec: install-exec-am
+ install-data: install-data-am
+@@ -775,8 +762,6 @@
+ 
+ dvi-am:
+ 
+-html: html-am
+-
+ info: info-am
+ 
+ info-am:
+@@ -822,16 +807,15 @@
+ 	clean clean-binPROGRAMS clean-generic clean-libexecPROGRAMS \
+ 	clean-libtool ctags distclean distclean-compile \
+ 	distclean-generic distclean-libtool distclean-tags distdir dvi \
+-	dvi-am html html-am info info-am install install-am \
+-	install-binPROGRAMS install-binSCRIPTS install-data \
+-	install-data-am install-exec install-exec-am install-info \
+-	install-info-am install-libexecPROGRAMS install-man \
+-	install-man1 install-man8 install-strip installcheck \
+-	installcheck-am installdirs maintainer-clean \
+-	maintainer-clean-generic mostlyclean mostlyclean-compile \
+-	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+-	tags uninstall uninstall-am uninstall-binPROGRAMS \
+-	uninstall-binSCRIPTS uninstall-info-am \
++	dvi-am info info-am install install-am install-binPROGRAMS \
++	install-binSCRIPTS install-data install-data-am install-exec \
++	install-exec-am install-info install-info-am \
++	install-libexecPROGRAMS install-man install-man1 install-man8 \
++	install-strip installcheck installcheck-am installdirs \
++	maintainer-clean maintainer-clean-generic mostlyclean \
++	mostlyclean-compile mostlyclean-generic mostlyclean-libtool pdf \
++	pdf-am ps ps-am tags uninstall uninstall-am \
++	uninstall-binPROGRAMS uninstall-binSCRIPTS uninstall-info-am \
+ 	uninstall-libexecPROGRAMS uninstall-man uninstall-man1 \
+ 	uninstall-man8
+ 
+diff -ruN heimdal-0.6.3-old/appl/login/Makefile.in heimdal-0.6.3/appl/login/Makefile.in
+--- heimdal-0.6.3-old/appl/login/Makefile.in	2004-09-13 22:28:59.000000000 +1000
++++ heimdal-0.6.3/appl/login/Makefile.in	2004-09-14 08:39:45.000000000 +1000
+@@ -1,8 +1,8 @@
+-# Makefile.in generated by automake 1.8.3 from Makefile.am.
++# Makefile.in generated by automake 1.7.9 from Makefile.am.
+ # @configure_input@
+ 
+-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+-# 2003, 2004  Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
++# 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.
+@@ -20,8 +20,6 @@
+ 
+ # $Id: Makefile.am.common,v 1.37.2.2 2003/10/13 13:15:39 joda Exp $
+ 
+-SOURCES = $(login_SOURCES)
+-
+ srcdir = @srcdir@
+ top_srcdir = @top_srcdir@
+ VPATH = @srcdir@
+@@ -29,6 +27,7 @@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+ top_builddir = ../..
++
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+ INSTALL = @INSTALL@
+ install_sh_DATA = $(install_sh) -c -m 644
+@@ -43,91 +42,6 @@
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+ host_triplet = @host@
+-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+-	$(top_srcdir)/Makefile.am.common \
+-	$(top_srcdir)/cf/Makefile.am.common ChangeLog
+-bin_PROGRAMS = login$(EXEEXT)
+-subdir = appl/login
+-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+-am__aclocal_m4_deps = $(top_srcdir)/cf/aix.m4 \
+-	$(top_srcdir)/cf/auth-modules.m4 \
+-	$(top_srcdir)/cf/broken-getaddrinfo.m4 \
+-	$(top_srcdir)/cf/broken-getnameinfo.m4 \
+-	$(top_srcdir)/cf/broken-glob.m4 \
+-	$(top_srcdir)/cf/broken-realloc.m4 \
+-	$(top_srcdir)/cf/broken-snprintf.m4 $(top_srcdir)/cf/broken.m4 \
+-	$(top_srcdir)/cf/broken2.m4 $(top_srcdir)/cf/c-attribute.m4 \
+-	$(top_srcdir)/cf/capabilities.m4 \
+-	$(top_srcdir)/cf/check-compile-et.m4 \
+-	$(top_srcdir)/cf/check-declaration.m4 \
+-	$(top_srcdir)/cf/check-getpwnam_r-posix.m4 \
+-	$(top_srcdir)/cf/check-man.m4 \
+-	$(top_srcdir)/cf/check-netinet-ip-and-tcp.m4 \
+-	$(top_srcdir)/cf/check-type-extra.m4 \
+-	$(top_srcdir)/cf/check-var.m4 $(top_srcdir)/cf/check-x.m4 \
+-	$(top_srcdir)/cf/check-xau.m4 $(top_srcdir)/cf/crypto.m4 \
+-	$(top_srcdir)/cf/db.m4 $(top_srcdir)/cf/destdirs.m4 \
+-	$(top_srcdir)/cf/dlopen.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs2.m4 \
+-	$(top_srcdir)/cf/find-func.m4 \
+-	$(top_srcdir)/cf/find-if-not-broken.m4 \
+-	$(top_srcdir)/cf/have-struct-field.m4 \
+-	$(top_srcdir)/cf/have-type.m4 $(top_srcdir)/cf/irix.m4 \
+-	$(top_srcdir)/cf/krb-bigendian.m4 \
+-	$(top_srcdir)/cf/krb-func-getlogin.m4 \
+-	$(top_srcdir)/cf/krb-ipv6.m4 $(top_srcdir)/cf/krb-prog-ln-s.m4 \
+-	$(top_srcdir)/cf/krb-readline.m4 \
+-	$(top_srcdir)/cf/krb-struct-spwd.m4 \
+-	$(top_srcdir)/cf/krb-struct-winsize.m4 \
+-	$(top_srcdir)/cf/mips-abi.m4 $(top_srcdir)/cf/misc.m4 \
+-	$(top_srcdir)/cf/need-proto.m4 $(top_srcdir)/cf/osfc2.m4 \
+-	$(top_srcdir)/cf/otp.m4 $(top_srcdir)/cf/proto-compat.m4 \
+-	$(top_srcdir)/cf/retsigtype.m4 $(top_srcdir)/cf/roken-frag.m4 \
+-	$(top_srcdir)/cf/sunos.m4 $(top_srcdir)/cf/telnet.m4 \
+-	$(top_srcdir)/cf/test-package.m4 $(top_srcdir)/cf/wflags.m4 \
+-	$(top_srcdir)/cf/with-all.m4 $(top_srcdir)/configure.in
+-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+-	$(ACLOCAL_M4)
+-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = $(top_builddir)/include/config.h
+-CONFIG_CLEAN_FILES =
+-am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man5dir)"
+-binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+-PROGRAMS = $(bin_PROGRAMS)
+-am_login_OBJECTS = conf.$(OBJEXT) env.$(OBJEXT) login.$(OBJEXT) \
+-	login_access.$(OBJEXT) osfc2.$(OBJEXT) read_string.$(OBJEXT) \
+-	shadow.$(OBJEXT) stty_default.$(OBJEXT) tty.$(OBJEXT) \
+-	utmp_login.$(OBJEXT) utmpx_login.$(OBJEXT)
+-login_OBJECTS = $(am_login_OBJECTS)
+-login_LDADD = $(LDADD)
+-am__DEPENDENCIES_1 =
+-am__DEPENDENCIES_2 = $(top_builddir)/lib/kafs/libkafs.la \
+-	$(am__DEPENDENCIES_1)
+-login_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_2) \
+-	$(top_builddir)/lib/krb5/libkrb5.la $(am__DEPENDENCIES_1) \
+-	$(am__DEPENDENCIES_1) $(top_builddir)/lib/asn1/libasn1.la \
+-	$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
+-	$(am__DEPENDENCIES_1)
+-DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
+-depcomp =
+-am__depfiles_maybe =
+-COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+-	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) \
+-	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+-	$(AM_CFLAGS) $(CFLAGS)
+-CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+-	$(AM_LDFLAGS) $(LDFLAGS) -o $@
+-SOURCES = $(login_SOURCES)
+-DIST_SOURCES = $(login_SOURCES)
+-man1dir = $(mandir)/man1
+-man5dir = $(mandir)/man5
+-MANS = $(man_MANS)
+-ETAGS = etags
+-CTAGS = ctags
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ ACLOCAL = @ACLOCAL@
+ AIX4_FALSE = @AIX4_FALSE@
+ AIX4_TRUE = @AIX4_TRUE@
+@@ -152,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -162,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -185,12 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
++
+ INCLUDE_krb4 = @INCLUDE_krb4@
++
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
++
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -203,6 +130,7 @@
+ KRB5_TRUE = @KRB5_TRUE@
+ LDFLAGS = @LDFLAGS@
+ LEX = @LEX@
++
+ LEXLIB = @LEXLIB@
+ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+ LIBOBJS = @LIBOBJS@
+@@ -211,6 +139,7 @@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+ LIB_XauFileName = @LIB_XauFileName@
++
+ LIB_XauReadAuth = @LIB_XauReadAuth@
+ LIB_XauWriteAuth = @LIB_XauWriteAuth@
+ LIB_bswap16 = @LIB_bswap16@
+@@ -259,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -339,7 +270,6 @@
+ libexecdir = @libexecdir@
+ localstatedir = @localstatedir@
+ mandir = @mandir@
+-mkdir_p = @mkdir_p@
+ oldincludedir = @oldincludedir@
+ prefix = @prefix@
+ program_transform_name = @program_transform_name@
+@@ -347,26 +277,44 @@
+ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
++
+ SUFFIXES = .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8
++
+ INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) $(INCLUDE_krb4)
++
+ @do_roken_rename_TRUE@ROKEN_RENAME = -DROKEN_RENAME
++
+ AM_CFLAGS = $(WFLAGS)
++
+ CP = cp
++
+ buildinclude = $(top_builddir)/include
+ LIB_getattr = @LIB_getattr@
+ LIB_getpwent_r = @LIB_getpwent_r@
+ LIB_odm_initialize = @LIB_odm_initialize@
+ LIB_setpcred = @LIB_setpcred@
++
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
++
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
++
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++
+ @KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
+ @KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+ 
+ @KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
++
+ @DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
++
+ man_MANS = login.1 login.access.5
++
++bin_PROGRAMS = login
++
+ login_SOURCES = \
+ 		conf.c				\
+ 		env.c				\
+@@ -382,6 +330,7 @@
+ 		utmp_login.c			\
+ 		utmpx_login.c
+ 
++
+ LDADD = $(LIB_otp) \
+ 	$(LIB_kafs) \
+ 	$(top_builddir)/lib/krb5/libkrb5.la \
+@@ -392,50 +341,62 @@
+ 	$(LIB_security) \
+ 	$(DBLIB)
+ 
++subdir = appl/login
++ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
++mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++bin_PROGRAMS = login$(EXEEXT)
++PROGRAMS = $(bin_PROGRAMS)
++
++am_login_OBJECTS = conf.$(OBJEXT) env.$(OBJEXT) login.$(OBJEXT) \
++	login_access.$(OBJEXT) osfc2.$(OBJEXT) read_string.$(OBJEXT) \
++	shadow.$(OBJEXT) stty_default.$(OBJEXT) tty.$(OBJEXT) \
++	utmp_login.$(OBJEXT) utmpx_login.$(OBJEXT)
++login_OBJECTS = $(am_login_OBJECTS)
++login_LDADD = $(LDADD)
++login_DEPENDENCIES = $(top_builddir)/lib/kafs/libkafs.la \
++	$(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++login_LDFLAGS =
++
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
++depcomp =
++am__depfiles_maybe =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++CCLD = $(CC)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++DIST_SOURCES = $(login_SOURCES)
++MANS = $(man_MANS)
++DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/Makefile.am.common \
++	$(top_srcdir)/cf/Makefile.am.common ChangeLog Makefile.am
++SOURCES = $(login_SOURCES)
++
+ all: all-am
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj
+-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(am__configure_deps)
+-	@for dep in $?; do \
+-	  case '$(am__configure_deps)' in \
+-	    *$$dep*) \
+-	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+-		&& exit 0; \
+-	      exit 1;; \
+-	  esac; \
+-	done; \
+-	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  --ignore-deps appl/login/Makefile'; \
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+-	  $(AUTOMAKE) --foreign  --ignore-deps appl/login/Makefile
+-.PRECIOUS: Makefile
+-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+-	@case '$?' in \
+-	  *config.status*) \
+-	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+-	  *) \
+-	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+-	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+-	esac;
+-
+-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-
+-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
++	  $(AUTOMAKE) --foreign  appl/login/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
++binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ install-binPROGRAMS: $(bin_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
++	$(mkinstalldirs) $(DESTDIR)$(bindir)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+ 	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+ 	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+-	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
+-	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f || exit 1; \
+ 	  else :; fi; \
+ 	done
+ 
+@@ -443,8 +404,8 @@
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+ 	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
+-	  rm -f "$(DESTDIR)$(bindir)/$$f"; \
++	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
++	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+ clean-binPROGRAMS:
+@@ -458,19 +419,19 @@
+ 	$(LINK) $(login_LDFLAGS) $(login_OBJECTS) $(login_LDADD) $(LIBS)
+ 
+ mostlyclean-compile:
+-	-rm -f *.$(OBJEXT)
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ .c.obj:
+-	$(COMPILE) -c `$(CYGPATH_W) '$<'`
++	$(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
+ 
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ mostlyclean-libtool:
+ 	-rm -f *.lo
+@@ -481,9 +442,11 @@
+ distclean-libtool:
+ 	-rm -f libtool
+ uninstall-info-am:
++
++man1dir = $(mandir)/man1
+ install-man1: $(man1_MANS) $(man_MANS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(man1dir)" || $(mkdir_p) "$(DESTDIR)$(man1dir)"
++	$(mkinstalldirs) $(DESTDIR)$(man1dir)
+ 	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
+ 	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
+ 	for i in $$l2; do \
+@@ -502,8 +465,8 @@
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+-	  echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
+-	  $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst"; \
++	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
++	  $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
+ 	done
+ uninstall-man1:
+ 	@$(NORMAL_UNINSTALL)
+@@ -523,12 +486,14 @@
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+-	  echo " rm -f '$(DESTDIR)$(man1dir)/$$inst'"; \
+-	  rm -f "$(DESTDIR)$(man1dir)/$$inst"; \
++	  echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
++	  rm -f $(DESTDIR)$(man1dir)/$$inst; \
+ 	done
++
++man5dir = $(mandir)/man5
+ install-man5: $(man5_MANS) $(man_MANS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(man5dir)" || $(mkdir_p) "$(DESTDIR)$(man5dir)"
++	$(mkinstalldirs) $(DESTDIR)$(man5dir)
+ 	@list='$(man5_MANS) $(dist_man5_MANS) $(nodist_man5_MANS)'; \
+ 	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
+ 	for i in $$l2; do \
+@@ -547,8 +512,8 @@
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+-	  echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man5dir)/$$inst'"; \
+-	  $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man5dir)/$$inst"; \
++	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man5dir)/$$inst"; \
++	  $(INSTALL_DATA) $$file $(DESTDIR)$(man5dir)/$$inst; \
+ 	done
+ uninstall-man5:
+ 	@$(NORMAL_UNINSTALL)
+@@ -568,10 +533,18 @@
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+-	  echo " rm -f '$(DESTDIR)$(man5dir)/$$inst'"; \
+-	  rm -f "$(DESTDIR)$(man5dir)/$$inst"; \
++	  echo " rm -f $(DESTDIR)$(man5dir)/$$inst"; \
++	  rm -f $(DESTDIR)$(man5dir)/$$inst; \
+ 	done
+ 
++ETAGS = etags
++ETAGSFLAGS =
++
++CTAGS = ctags
++CTAGSFLAGS =
++
++tags: TAGS
++
+ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ 	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ 	unique=`for i in $$list; do \
+@@ -580,7 +553,6 @@
+ 	  $(AWK) '    { files[$$0] = 1; } \
+ 	       END { for (i in files) print i; }'`; \
+ 	mkid -fID $$unique
+-tags: TAGS
+ 
+ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -595,6 +567,7 @@
+ 	test -z "$(ETAGS_ARGS)$$tags$$unique" \
+ 	  || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ 	     $$tags $$unique
++
+ ctags: CTAGS
+ CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -617,9 +590,13 @@
+ 
+ distclean-tags:
+ 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	$(mkdir_p) $(distdir)/../.. $(distdir)/../../cf
++	$(mkinstalldirs) $(distdir)/../.. $(distdir)/../../cf
+ 	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ 	list='$(DISTFILES)'; for file in $$list; do \
+@@ -631,7 +608,7 @@
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ 	    dir="/$$dir"; \
+-	    $(mkdir_p) "$(distdir)$$dir"; \
++	    $(mkinstalldirs) "$(distdir)$$dir"; \
+ 	  else \
+ 	    dir=''; \
+ 	  fi; \
+@@ -653,10 +630,9 @@
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+ all-am: Makefile $(PROGRAMS) $(MANS) all-local
++
+ installdirs:
+-	for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man5dir)"; do \
+-	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
+-	done
++	$(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(man1dir) $(DESTDIR)$(man5dir)
+ install: install-am
+ install-exec: install-exec-am
+ install-data: install-data-am
+@@ -694,8 +670,6 @@
+ 
+ dvi-am:
+ 
+-html: html-am
+-
+ info: info-am
+ 
+ info-am:
+@@ -737,17 +711,16 @@
+ 
+ .PHONY: CTAGS GTAGS all all-am all-local check check-am check-local \
+ 	clean clean-binPROGRAMS clean-generic clean-libtool ctags \
+-	distclean distclean-compile distclean-generic \
+-	distclean-libtool distclean-tags distdir dvi dvi-am html \
+-	html-am info info-am install install-am install-binPROGRAMS \
+-	install-data install-data-am install-exec install-exec-am \
+-	install-info install-info-am install-man install-man1 \
+-	install-man5 install-strip installcheck installcheck-am \
+-	installdirs maintainer-clean maintainer-clean-generic \
+-	mostlyclean mostlyclean-compile mostlyclean-generic \
+-	mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
+-	uninstall-am uninstall-binPROGRAMS uninstall-info-am \
+-	uninstall-man uninstall-man1 uninstall-man5
++	distclean distclean-compile distclean-generic distclean-libtool \
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-binPROGRAMS install-data install-data-am \
++	install-exec install-exec-am install-info install-info-am \
++	install-man install-man1 install-man5 install-strip \
++	installcheck installcheck-am installdirs maintainer-clean \
++	maintainer-clean-generic mostlyclean mostlyclean-compile \
++	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
++	tags uninstall uninstall-am uninstall-binPROGRAMS \
++	uninstall-info-am uninstall-man uninstall-man1 uninstall-man5
+ 
+ 
+ install-suid-programs:
+diff -ruN heimdal-0.6.3-old/appl/Makefile.in heimdal-0.6.3/appl/Makefile.in
+--- heimdal-0.6.3-old/appl/Makefile.in	2004-09-13 22:28:51.000000000 +1000
++++ heimdal-0.6.3/appl/Makefile.in	2004-09-14 08:39:41.000000000 +1000
+@@ -1,8 +1,8 @@
+-# Makefile.in generated by automake 1.8.3 from Makefile.am.
++# Makefile.in generated by automake 1.7.9 from Makefile.am.
+ # @configure_input@
+ 
+-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+-# 2003, 2004  Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
++# 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.
+@@ -19,6 +19,7 @@
+ # $Id: Makefile.am.common,v 1.5 2002/05/19 18:35:37 joda Exp $
+ 
+ # $Id: Makefile.am.common,v 1.37.2.2 2003/10/13 13:15:39 joda Exp $
++
+ srcdir = @srcdir@
+ top_srcdir = @top_srcdir@
+ VPATH = @srcdir@
+@@ -26,6 +27,7 @@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+ top_builddir = ..
++
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+ INSTALL = @INSTALL@
+ install_sh_DATA = $(install_sh) -c -m 644
+@@ -40,69 +42,6 @@
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+ host_triplet = @host@
+-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+-	$(top_srcdir)/Makefile.am.common \
+-	$(top_srcdir)/cf/Makefile.am.common
+-subdir = appl
+-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+-am__aclocal_m4_deps = $(top_srcdir)/cf/aix.m4 \
+-	$(top_srcdir)/cf/auth-modules.m4 \
+-	$(top_srcdir)/cf/broken-getaddrinfo.m4 \
+-	$(top_srcdir)/cf/broken-getnameinfo.m4 \
+-	$(top_srcdir)/cf/broken-glob.m4 \
+-	$(top_srcdir)/cf/broken-realloc.m4 \
+-	$(top_srcdir)/cf/broken-snprintf.m4 $(top_srcdir)/cf/broken.m4 \
+-	$(top_srcdir)/cf/broken2.m4 $(top_srcdir)/cf/c-attribute.m4 \
+-	$(top_srcdir)/cf/capabilities.m4 \
+-	$(top_srcdir)/cf/check-compile-et.m4 \
+-	$(top_srcdir)/cf/check-declaration.m4 \
+-	$(top_srcdir)/cf/check-getpwnam_r-posix.m4 \
+-	$(top_srcdir)/cf/check-man.m4 \
+-	$(top_srcdir)/cf/check-netinet-ip-and-tcp.m4 \
+-	$(top_srcdir)/cf/check-type-extra.m4 \
+-	$(top_srcdir)/cf/check-var.m4 $(top_srcdir)/cf/check-x.m4 \
+-	$(top_srcdir)/cf/check-xau.m4 $(top_srcdir)/cf/crypto.m4 \
+-	$(top_srcdir)/cf/db.m4 $(top_srcdir)/cf/destdirs.m4 \
+-	$(top_srcdir)/cf/dlopen.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs2.m4 \
+-	$(top_srcdir)/cf/find-func.m4 \
+-	$(top_srcdir)/cf/find-if-not-broken.m4 \
+-	$(top_srcdir)/cf/have-struct-field.m4 \
+-	$(top_srcdir)/cf/have-type.m4 $(top_srcdir)/cf/irix.m4 \
+-	$(top_srcdir)/cf/krb-bigendian.m4 \
+-	$(top_srcdir)/cf/krb-func-getlogin.m4 \
+-	$(top_srcdir)/cf/krb-ipv6.m4 $(top_srcdir)/cf/krb-prog-ln-s.m4 \
+-	$(top_srcdir)/cf/krb-readline.m4 \
+-	$(top_srcdir)/cf/krb-struct-spwd.m4 \
+-	$(top_srcdir)/cf/krb-struct-winsize.m4 \
+-	$(top_srcdir)/cf/mips-abi.m4 $(top_srcdir)/cf/misc.m4 \
+-	$(top_srcdir)/cf/need-proto.m4 $(top_srcdir)/cf/osfc2.m4 \
+-	$(top_srcdir)/cf/otp.m4 $(top_srcdir)/cf/proto-compat.m4 \
+-	$(top_srcdir)/cf/retsigtype.m4 $(top_srcdir)/cf/roken-frag.m4 \
+-	$(top_srcdir)/cf/sunos.m4 $(top_srcdir)/cf/telnet.m4 \
+-	$(top_srcdir)/cf/test-package.m4 $(top_srcdir)/cf/wflags.m4 \
+-	$(top_srcdir)/cf/with-all.m4 $(top_srcdir)/configure.in
+-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+-	$(ACLOCAL_M4)
+-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = $(top_builddir)/include/config.h
+-CONFIG_CLEAN_FILES =
+-depcomp =
+-am__depfiles_maybe =
+-SOURCES =
+-DIST_SOURCES =
+-RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
+-	html-recursive info-recursive install-data-recursive \
+-	install-exec-recursive install-info-recursive \
+-	install-recursive installcheck-recursive installdirs-recursive \
+-	pdf-recursive ps-recursive uninstall-info-recursive \
+-	uninstall-recursive
+-ETAGS = etags
+-CTAGS = ctags
+-DIST_SUBDIRS = afsutil ftp login otp popper push rsh rcp su xnlock \
+-	telnet test kx kf dceutils
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ ACLOCAL = @ACLOCAL@
+ AIX4_FALSE = @AIX4_FALSE@
+ AIX4_TRUE = @AIX4_TRUE@
+@@ -127,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -137,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -160,12 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
++
+ INCLUDE_krb4 = @INCLUDE_krb4@
++
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
++
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -178,6 +130,7 @@
+ KRB5_TRUE = @KRB5_TRUE@
+ LDFLAGS = @LDFLAGS@
+ LEX = @LEX@
++
+ LEXLIB = @LEXLIB@
+ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+ LIBOBJS = @LIBOBJS@
+@@ -186,6 +139,7 @@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+ LIB_XauFileName = @LIB_XauFileName@
++
+ LIB_XauReadAuth = @LIB_XauReadAuth@
+ LIB_XauWriteAuth = @LIB_XauWriteAuth@
+ LIB_bswap16 = @LIB_bswap16@
+@@ -234,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -314,7 +270,6 @@
+ libexecdir = @libexecdir@
+ localstatedir = @localstatedir@
+ mandir = @mandir@
+-mkdir_p = @mkdir_p@
+ oldincludedir = @oldincludedir@
+ prefix = @prefix@
+ program_transform_name = @program_transform_name@
+@@ -322,25 +277,40 @@
+ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
++
+ SUFFIXES = .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8
++
+ INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken)
++
+ @do_roken_rename_TRUE@ROKEN_RENAME = -DROKEN_RENAME
++
+ AM_CFLAGS = $(WFLAGS)
++
+ CP = cp
++
+ buildinclude = $(top_builddir)/include
+ LIB_getattr = @LIB_getattr@
+ LIB_getpwent_r = @LIB_getpwent_r@
+ LIB_odm_initialize = @LIB_odm_initialize@
+ LIB_setpcred = @LIB_setpcred@
++
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
++
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
++
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++
+ @KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
+ @KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+ 
+ @KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
++
+ @DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
++
+ @OTP_TRUE@dir_otp = otp
+ @DCE_TRUE@dir_dce = dceutils
+ SUBDIRS = \
+@@ -360,39 +330,33 @@
+ 	  kf					\
+ 	  $(dir_dce)
+ 
++subdir = appl
++ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
++mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++depcomp =
++am__depfiles_maybe =
++DIST_SOURCES =
++
++RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \
++	ps-recursive install-info-recursive uninstall-info-recursive \
++	all-recursive install-data-recursive install-exec-recursive \
++	installdirs-recursive install-recursive uninstall-recursive \
++	check-recursive installcheck-recursive
++DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/Makefile.am.common \
++	$(top_srcdir)/cf/Makefile.am.common Makefile.am
++DIST_SUBDIRS = afsutil ftp login otp popper push rsh rcp su xnlock \
++	telnet test kx kf dceutils
+ all: all-recursive
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c
+-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(am__configure_deps)
+-	@for dep in $?; do \
+-	  case '$(am__configure_deps)' in \
+-	    *$$dep*) \
+-	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+-		&& exit 0; \
+-	      exit 1;; \
+-	  esac; \
+-	done; \
+-	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  --ignore-deps appl/Makefile'; \
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+-	  $(AUTOMAKE) --foreign  --ignore-deps appl/Makefile
+-.PRECIOUS: Makefile
+-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+-	@case '$?' in \
+-	  *config.status*) \
+-	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+-	  *) \
+-	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+-	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+-	esac;
+-
+-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-
+-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
++	  $(AUTOMAKE) --foreign  appl/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+ 
+ mostlyclean-libtool:
+ 	-rm -f *.lo
+@@ -463,6 +427,14 @@
+ 	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
+ 	done
+ 
++ETAGS = etags
++ETAGSFLAGS =
++
++CTAGS = ctags
++CTAGSFLAGS =
++
++tags: TAGS
++
+ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ 	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ 	unique=`for i in $$list; do \
+@@ -471,7 +443,6 @@
+ 	  $(AWK) '    { files[$$0] = 1; } \
+ 	       END { for (i in files) print i; }'`; \
+ 	mkid -fID $$unique
+-tags: TAGS
+ 
+ TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -497,6 +468,7 @@
+ 	test -z "$(ETAGS_ARGS)$$tags$$unique" \
+ 	  || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ 	     $$tags $$unique
++
+ ctags: CTAGS
+ CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -519,9 +491,13 @@
+ 
+ distclean-tags:
+ 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++
++top_distdir = ..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	$(mkdir_p) $(distdir)/.. $(distdir)/../cf
++	$(mkinstalldirs) $(distdir)/.. $(distdir)/../cf
+ 	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ 	list='$(DISTFILES)'; for file in $$list; do \
+@@ -533,7 +509,7 @@
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ 	    dir="/$$dir"; \
+-	    $(mkdir_p) "$(distdir)$$dir"; \
++	    $(mkinstalldirs) "$(distdir)$$dir"; \
+ 	  else \
+ 	    dir=''; \
+ 	  fi; \
+@@ -550,13 +526,13 @@
+ 	done
+ 	list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
+ 	  if test "$$subdir" = .; then :; else \
+-	    test -d "$(distdir)/$$subdir" \
+-	    || mkdir "$(distdir)/$$subdir" \
++	    test -d $(distdir)/$$subdir \
++	    || mkdir $(distdir)/$$subdir \
+ 	    || exit 1; \
+ 	    (cd $$subdir && \
+ 	      $(MAKE) $(AM_MAKEFLAGS) \
+-	        top_distdir="../$(top_distdir)" \
+-	        distdir="../$(distdir)/$$subdir" \
++	        top_distdir="$(top_distdir)" \
++	        distdir=../$(distdir)/$$subdir \
+ 	        distdir) \
+ 	      || exit 1; \
+ 	  fi; \
+@@ -570,6 +546,7 @@
+ all-am: Makefile all-local
+ installdirs: installdirs-recursive
+ installdirs-am:
++
+ install: install-recursive
+ install-exec: install-exec-recursive
+ install-data: install-data-recursive
+@@ -607,8 +584,6 @@
+ 
+ dvi-am:
+ 
+-html: html-recursive
+-
+ info: info-recursive
+ 
+ info-am:
+@@ -651,14 +626,18 @@
+ 	check-am check-local clean clean-generic clean-libtool \
+ 	clean-recursive ctags ctags-recursive distclean \
+ 	distclean-generic distclean-libtool distclean-recursive \
+-	distclean-tags distdir dvi dvi-am html html-am info info-am \
+-	install install-am install-data install-data-am install-exec \
+-	install-exec-am install-info install-info-am install-man \
++	distclean-tags distdir dvi dvi-am dvi-recursive info info-am \
++	info-recursive install install-am install-data install-data-am \
++	install-data-recursive install-exec install-exec-am \
++	install-exec-recursive install-info install-info-am \
++	install-info-recursive install-man install-recursive \
+ 	install-strip installcheck installcheck-am installdirs \
+-	installdirs-am maintainer-clean maintainer-clean-generic \
+-	maintainer-clean-recursive mostlyclean mostlyclean-generic \
+-	mostlyclean-libtool mostlyclean-recursive pdf pdf-am ps ps-am \
+-	tags tags-recursive uninstall uninstall-am uninstall-info-am
++	installdirs-am installdirs-recursive maintainer-clean \
++	maintainer-clean-generic maintainer-clean-recursive mostlyclean \
++	mostlyclean-generic mostlyclean-libtool mostlyclean-recursive \
++	pdf pdf-am pdf-recursive ps ps-am ps-recursive tags \
++	tags-recursive uninstall uninstall-am uninstall-info-am \
++	uninstall-info-recursive uninstall-recursive
+ 
+ 
+ install-suid-programs:
+diff -ruN heimdal-0.6.3-old/appl/otp/Makefile.in heimdal-0.6.3/appl/otp/Makefile.in
+--- heimdal-0.6.3-old/appl/otp/Makefile.in	2004-09-13 22:29:00.000000000 +1000
++++ heimdal-0.6.3/appl/otp/Makefile.in	2004-09-14 08:39:45.000000000 +1000
+@@ -1,8 +1,8 @@
+-# Makefile.in generated by automake 1.8.3 from Makefile.am.
++# Makefile.in generated by automake 1.7.9 from Makefile.am.
+ # @configure_input@
+ 
+-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+-# 2003, 2004  Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
++# 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.
+@@ -20,8 +20,6 @@
+ 
+ # $Id: Makefile.am.common,v 1.37.2.2 2003/10/13 13:15:39 joda Exp $
+ 
+-SOURCES = $(otp_SOURCES) $(otpprint_SOURCES)
+-
+ srcdir = @srcdir@
+ top_srcdir = @top_srcdir@
+ VPATH = @srcdir@
+@@ -29,6 +27,7 @@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+ top_builddir = ../..
++
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+ INSTALL = @INSTALL@
+ install_sh_DATA = $(install_sh) -c -m 644
+@@ -43,84 +42,6 @@
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+ host_triplet = @host@
+-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+-	$(top_srcdir)/Makefile.am.common \
+-	$(top_srcdir)/cf/Makefile.am.common ChangeLog
+-bin_PROGRAMS = otp$(EXEEXT) otpprint$(EXEEXT)
+-subdir = appl/otp
+-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+-am__aclocal_m4_deps = $(top_srcdir)/cf/aix.m4 \
+-	$(top_srcdir)/cf/auth-modules.m4 \
+-	$(top_srcdir)/cf/broken-getaddrinfo.m4 \
+-	$(top_srcdir)/cf/broken-getnameinfo.m4 \
+-	$(top_srcdir)/cf/broken-glob.m4 \
+-	$(top_srcdir)/cf/broken-realloc.m4 \
+-	$(top_srcdir)/cf/broken-snprintf.m4 $(top_srcdir)/cf/broken.m4 \
+-	$(top_srcdir)/cf/broken2.m4 $(top_srcdir)/cf/c-attribute.m4 \
+-	$(top_srcdir)/cf/capabilities.m4 \
+-	$(top_srcdir)/cf/check-compile-et.m4 \
+-	$(top_srcdir)/cf/check-declaration.m4 \
+-	$(top_srcdir)/cf/check-getpwnam_r-posix.m4 \
+-	$(top_srcdir)/cf/check-man.m4 \
+-	$(top_srcdir)/cf/check-netinet-ip-and-tcp.m4 \
+-	$(top_srcdir)/cf/check-type-extra.m4 \
+-	$(top_srcdir)/cf/check-var.m4 $(top_srcdir)/cf/check-x.m4 \
+-	$(top_srcdir)/cf/check-xau.m4 $(top_srcdir)/cf/crypto.m4 \
+-	$(top_srcdir)/cf/db.m4 $(top_srcdir)/cf/destdirs.m4 \
+-	$(top_srcdir)/cf/dlopen.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs2.m4 \
+-	$(top_srcdir)/cf/find-func.m4 \
+-	$(top_srcdir)/cf/find-if-not-broken.m4 \
+-	$(top_srcdir)/cf/have-struct-field.m4 \
+-	$(top_srcdir)/cf/have-type.m4 $(top_srcdir)/cf/irix.m4 \
+-	$(top_srcdir)/cf/krb-bigendian.m4 \
+-	$(top_srcdir)/cf/krb-func-getlogin.m4 \
+-	$(top_srcdir)/cf/krb-ipv6.m4 $(top_srcdir)/cf/krb-prog-ln-s.m4 \
+-	$(top_srcdir)/cf/krb-readline.m4 \
+-	$(top_srcdir)/cf/krb-struct-spwd.m4 \
+-	$(top_srcdir)/cf/krb-struct-winsize.m4 \
+-	$(top_srcdir)/cf/mips-abi.m4 $(top_srcdir)/cf/misc.m4 \
+-	$(top_srcdir)/cf/need-proto.m4 $(top_srcdir)/cf/osfc2.m4 \
+-	$(top_srcdir)/cf/otp.m4 $(top_srcdir)/cf/proto-compat.m4 \
+-	$(top_srcdir)/cf/retsigtype.m4 $(top_srcdir)/cf/roken-frag.m4 \
+-	$(top_srcdir)/cf/sunos.m4 $(top_srcdir)/cf/telnet.m4 \
+-	$(top_srcdir)/cf/test-package.m4 $(top_srcdir)/cf/wflags.m4 \
+-	$(top_srcdir)/cf/with-all.m4 $(top_srcdir)/configure.in
+-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+-	$(ACLOCAL_M4)
+-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = $(top_builddir)/include/config.h
+-CONFIG_CLEAN_FILES =
+-am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"
+-binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+-PROGRAMS = $(bin_PROGRAMS)
+-am_otp_OBJECTS = otp.$(OBJEXT)
+-otp_OBJECTS = $(am_otp_OBJECTS)
+-otp_LDADD = $(LDADD)
+-otp_DEPENDENCIES = $(top_builddir)/lib/otp/libotp.la
+-am_otpprint_OBJECTS = otpprint.$(OBJEXT)
+-otpprint_OBJECTS = $(am_otpprint_OBJECTS)
+-otpprint_LDADD = $(LDADD)
+-otpprint_DEPENDENCIES = $(top_builddir)/lib/otp/libotp.la
+-DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
+-depcomp =
+-am__depfiles_maybe =
+-COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+-	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) \
+-	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+-	$(AM_CFLAGS) $(CFLAGS)
+-CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+-	$(AM_LDFLAGS) $(LDFLAGS) -o $@
+-SOURCES = $(otp_SOURCES) $(otpprint_SOURCES)
+-DIST_SOURCES = $(otp_SOURCES) $(otpprint_SOURCES)
+-man1dir = $(mandir)/man1
+-MANS = $(man_MANS)
+-ETAGS = etags
+-CTAGS = ctags
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ ACLOCAL = @ACLOCAL@
+ AIX4_FALSE = @AIX4_FALSE@
+ AIX4_TRUE = @AIX4_TRUE@
+@@ -145,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -155,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -178,12 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
++
+ INCLUDE_krb4 = @INCLUDE_krb4@
++
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
++
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -196,6 +130,7 @@
+ KRB5_TRUE = @KRB5_TRUE@
+ LDFLAGS = @LDFLAGS@
+ LEX = @LEX@
++
+ LEXLIB = @LEXLIB@
+ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+ LIBOBJS = @LIBOBJS@
+@@ -204,6 +139,7 @@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+ LIB_XauFileName = @LIB_XauFileName@
++
+ LIB_XauReadAuth = @LIB_XauReadAuth@
+ LIB_XauWriteAuth = @LIB_XauWriteAuth@
+ LIB_bswap16 = @LIB_bswap16@
+@@ -252,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -332,7 +270,6 @@
+ libexecdir = @libexecdir@
+ localstatedir = @localstatedir@
+ mandir = @mandir@
+-mkdir_p = @mkdir_p@
+ oldincludedir = @oldincludedir@
+ prefix = @prefix@
+ program_transform_name = @program_transform_name@
+@@ -340,76 +277,106 @@
+ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
++
+ SUFFIXES = .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8
++
+ INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) $(INCLUDE_des)
++
+ @do_roken_rename_TRUE@ROKEN_RENAME = -DROKEN_RENAME
++
+ AM_CFLAGS = $(WFLAGS)
++
+ CP = cp
++
+ buildinclude = $(top_builddir)/include
+ LIB_getattr = @LIB_getattr@
+ LIB_getpwent_r = @LIB_getpwent_r@
+ LIB_odm_initialize = @LIB_odm_initialize@
+ LIB_setpcred = @LIB_setpcred@
++
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
++
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
++
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++
+ @KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
+ @KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+ 
+ @KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
++
+ @DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
++
++bin_PROGRAMS = otp otpprint
+ bin_SUIDS = otp
+ otp_SOURCES = otp.c otp_locl.h
+ otpprint_SOURCES = otpprint.c otp_locl.h
++
+ man_MANS = otp.1  otpprint.1
++
+ LDADD = \
+-	$(top_builddir)/lib/otp/libotp.la
++	$(LIB_otp)
++
++subdir = appl/otp
++ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
++mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++bin_PROGRAMS = otp$(EXEEXT) otpprint$(EXEEXT)
++PROGRAMS = $(bin_PROGRAMS)
++
++am_otp_OBJECTS = otp.$(OBJEXT)
++otp_OBJECTS = $(am_otp_OBJECTS)
++otp_LDADD = $(LDADD)
++otp_DEPENDENCIES =
++otp_LDFLAGS =
++am_otpprint_OBJECTS = otpprint.$(OBJEXT)
++otpprint_OBJECTS = $(am_otpprint_OBJECTS)
++otpprint_LDADD = $(LDADD)
++otpprint_DEPENDENCIES =
++otpprint_LDFLAGS =
++
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
++depcomp =
++am__depfiles_maybe =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++CCLD = $(CC)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++DIST_SOURCES = $(otp_SOURCES) $(otpprint_SOURCES)
++MANS = $(man_MANS)
++DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/Makefile.am.common \
++	$(top_srcdir)/cf/Makefile.am.common ChangeLog Makefile.am
++SOURCES = $(otp_SOURCES) $(otpprint_SOURCES)
+ 
+ all: all-am
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj
+-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(am__configure_deps)
+-	@for dep in $?; do \
+-	  case '$(am__configure_deps)' in \
+-	    *$$dep*) \
+-	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+-		&& exit 0; \
+-	      exit 1;; \
+-	  esac; \
+-	done; \
+-	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  --ignore-deps appl/otp/Makefile'; \
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+-	  $(AUTOMAKE) --foreign  --ignore-deps appl/otp/Makefile
+-.PRECIOUS: Makefile
+-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+-	@case '$?' in \
+-	  *config.status*) \
+-	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+-	  *) \
+-	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+-	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+-	esac;
+-
+-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-
+-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
++	  $(AUTOMAKE) --foreign  appl/otp/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
++binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ install-binPROGRAMS: $(bin_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
++	$(mkinstalldirs) $(DESTDIR)$(bindir)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+ 	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+ 	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+-	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
+-	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f || exit 1; \
+ 	  else :; fi; \
+ 	done
+ 
+@@ -417,8 +384,8 @@
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+ 	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
+-	  rm -f "$(DESTDIR)$(bindir)/$$f"; \
++	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
++	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+ clean-binPROGRAMS:
+@@ -435,19 +402,19 @@
+ 	$(LINK) $(otpprint_LDFLAGS) $(otpprint_OBJECTS) $(otpprint_LDADD) $(LIBS)
+ 
+ mostlyclean-compile:
+-	-rm -f *.$(OBJEXT)
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ .c.obj:
+-	$(COMPILE) -c `$(CYGPATH_W) '$<'`
++	$(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
+ 
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ mostlyclean-libtool:
+ 	-rm -f *.lo
+@@ -458,9 +425,11 @@
+ distclean-libtool:
+ 	-rm -f libtool
+ uninstall-info-am:
++
++man1dir = $(mandir)/man1
+ install-man1: $(man1_MANS) $(man_MANS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(man1dir)" || $(mkdir_p) "$(DESTDIR)$(man1dir)"
++	$(mkinstalldirs) $(DESTDIR)$(man1dir)
+ 	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
+ 	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
+ 	for i in $$l2; do \
+@@ -479,8 +448,8 @@
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+-	  echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
+-	  $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst"; \
++	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
++	  $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
+ 	done
+ uninstall-man1:
+ 	@$(NORMAL_UNINSTALL)
+@@ -500,10 +469,18 @@
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+-	  echo " rm -f '$(DESTDIR)$(man1dir)/$$inst'"; \
+-	  rm -f "$(DESTDIR)$(man1dir)/$$inst"; \
++	  echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
++	  rm -f $(DESTDIR)$(man1dir)/$$inst; \
+ 	done
+ 
++ETAGS = etags
++ETAGSFLAGS =
++
++CTAGS = ctags
++CTAGSFLAGS =
++
++tags: TAGS
++
+ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ 	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ 	unique=`for i in $$list; do \
+@@ -512,7 +489,6 @@
+ 	  $(AWK) '    { files[$$0] = 1; } \
+ 	       END { for (i in files) print i; }'`; \
+ 	mkid -fID $$unique
+-tags: TAGS
+ 
+ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -527,6 +503,7 @@
+ 	test -z "$(ETAGS_ARGS)$$tags$$unique" \
+ 	  || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ 	     $$tags $$unique
++
+ ctags: CTAGS
+ CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -549,9 +526,13 @@
+ 
+ distclean-tags:
+ 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	$(mkdir_p) $(distdir)/../.. $(distdir)/../../cf
++	$(mkinstalldirs) $(distdir)/../.. $(distdir)/../../cf
+ 	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ 	list='$(DISTFILES)'; for file in $$list; do \
+@@ -563,7 +544,7 @@
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ 	    dir="/$$dir"; \
+-	    $(mkdir_p) "$(distdir)$$dir"; \
++	    $(mkinstalldirs) "$(distdir)$$dir"; \
+ 	  else \
+ 	    dir=''; \
+ 	  fi; \
+@@ -585,10 +566,9 @@
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+ all-am: Makefile $(PROGRAMS) $(MANS) all-local
++
+ installdirs:
+-	for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"; do \
+-	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
+-	done
++	$(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(man1dir)
+ install: install-am
+ install-exec: install-exec-am
+ install-data: install-data-am
+@@ -626,8 +606,6 @@
+ 
+ dvi-am:
+ 
+-html: html-am
+-
+ info: info-am
+ 
+ info-am:
+@@ -669,17 +647,16 @@
+ 
+ .PHONY: CTAGS GTAGS all all-am all-local check check-am check-local \
+ 	clean clean-binPROGRAMS clean-generic clean-libtool ctags \
+-	distclean distclean-compile distclean-generic \
+-	distclean-libtool distclean-tags distdir dvi dvi-am html \
+-	html-am info info-am install install-am install-binPROGRAMS \
+-	install-data install-data-am install-exec install-exec-am \
+-	install-info install-info-am install-man install-man1 \
+-	install-strip installcheck installcheck-am installdirs \
+-	maintainer-clean maintainer-clean-generic mostlyclean \
+-	mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
+-	pdf pdf-am ps ps-am tags uninstall uninstall-am \
+-	uninstall-binPROGRAMS uninstall-info-am uninstall-man \
+-	uninstall-man1
++	distclean distclean-compile distclean-generic distclean-libtool \
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-binPROGRAMS install-data install-data-am \
++	install-exec install-exec-am install-info install-info-am \
++	install-man install-man1 install-strip installcheck \
++	installcheck-am installdirs maintainer-clean \
++	maintainer-clean-generic mostlyclean mostlyclean-compile \
++	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
++	tags uninstall uninstall-am uninstall-binPROGRAMS \
++	uninstall-info-am uninstall-man uninstall-man1
+ 
+ 
+ install-suid-programs:
+diff -ruN heimdal-0.6.3-old/appl/popper/Makefile.in heimdal-0.6.3/appl/popper/Makefile.in
+--- heimdal-0.6.3-old/appl/popper/Makefile.in	2004-09-13 22:29:01.000000000 +1000
++++ heimdal-0.6.3/appl/popper/Makefile.in	2004-09-14 08:39:46.000000000 +1000
+@@ -1,8 +1,8 @@
+-# Makefile.in generated by automake 1.8.3 from Makefile.am.
++# Makefile.in generated by automake 1.7.9 from Makefile.am.
+ # @configure_input@
+ 
+-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+-# 2003, 2004  Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
++# 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.
+@@ -20,8 +20,6 @@
+ 
+ # $Id: Makefile.am.common,v 1.37.2.2 2003/10/13 13:15:39 joda Exp $
+ 
+-SOURCES = pop_debug.c $(popper_SOURCES)
+-
+ srcdir = @srcdir@
+ top_srcdir = @top_srcdir@
+ VPATH = @srcdir@
+@@ -29,6 +27,7 @@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+ top_builddir = ../..
++
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+ INSTALL = @INSTALL@
+ install_sh_DATA = $(install_sh) -c -m 644
+@@ -43,99 +42,6 @@
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+ host_triplet = @host@
+-DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+-	$(top_srcdir)/Makefile.am.common \
+-	$(top_srcdir)/cf/Makefile.am.common ChangeLog
+-noinst_PROGRAMS = pop_debug$(EXEEXT)
+-libexec_PROGRAMS = popper$(EXEEXT)
+-subdir = appl/popper
+-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+-am__aclocal_m4_deps = $(top_srcdir)/cf/aix.m4 \
+-	$(top_srcdir)/cf/auth-modules.m4 \
+-	$(top_srcdir)/cf/broken-getaddrinfo.m4 \
+-	$(top_srcdir)/cf/broken-getnameinfo.m4 \
+-	$(top_srcdir)/cf/broken-glob.m4 \
+-	$(top_srcdir)/cf/broken-realloc.m4 \
+-	$(top_srcdir)/cf/broken-snprintf.m4 $(top_srcdir)/cf/broken.m4 \
+-	$(top_srcdir)/cf/broken2.m4 $(top_srcdir)/cf/c-attribute.m4 \
+-	$(top_srcdir)/cf/capabilities.m4 \
+-	$(top_srcdir)/cf/check-compile-et.m4 \
+-	$(top_srcdir)/cf/check-declaration.m4 \
+-	$(top_srcdir)/cf/check-getpwnam_r-posix.m4 \
+-	$(top_srcdir)/cf/check-man.m4 \
+-	$(top_srcdir)/cf/check-netinet-ip-and-tcp.m4 \
+-	$(top_srcdir)/cf/check-type-extra.m4 \
+-	$(top_srcdir)/cf/check-var.m4 $(top_srcdir)/cf/check-x.m4 \
+-	$(top_srcdir)/cf/check-xau.m4 $(top_srcdir)/cf/crypto.m4 \
+-	$(top_srcdir)/cf/db.m4 $(top_srcdir)/cf/destdirs.m4 \
+-	$(top_srcdir)/cf/dlopen.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs2.m4 \
+-	$(top_srcdir)/cf/find-func.m4 \
+-	$(top_srcdir)/cf/find-if-not-broken.m4 \
+-	$(top_srcdir)/cf/have-struct-field.m4 \
+-	$(top_srcdir)/cf/have-type.m4 $(top_srcdir)/cf/irix.m4 \
+-	$(top_srcdir)/cf/krb-bigendian.m4 \
+-	$(top_srcdir)/cf/krb-func-getlogin.m4 \
+-	$(top_srcdir)/cf/krb-ipv6.m4 $(top_srcdir)/cf/krb-prog-ln-s.m4 \
+-	$(top_srcdir)/cf/krb-readline.m4 \
+-	$(top_srcdir)/cf/krb-struct-spwd.m4 \
+-	$(top_srcdir)/cf/krb-struct-winsize.m4 \
+-	$(top_srcdir)/cf/mips-abi.m4 $(top_srcdir)/cf/misc.m4 \
+-	$(top_srcdir)/cf/need-proto.m4 $(top_srcdir)/cf/osfc2.m4 \
+-	$(top_srcdir)/cf/otp.m4 $(top_srcdir)/cf/proto-compat.m4 \
+-	$(top_srcdir)/cf/retsigtype.m4 $(top_srcdir)/cf/roken-frag.m4 \
+-	$(top_srcdir)/cf/sunos.m4 $(top_srcdir)/cf/telnet.m4 \
+-	$(top_srcdir)/cf/test-package.m4 $(top_srcdir)/cf/wflags.m4 \
+-	$(top_srcdir)/cf/with-all.m4 $(top_srcdir)/configure.in
+-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+-	$(ACLOCAL_M4)
+-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = $(top_builddir)/include/config.h
+-CONFIG_CLEAN_FILES =
+-am__installdirs = "$(DESTDIR)$(libexecdir)" "$(DESTDIR)$(man8dir)"
+-libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+-PROGRAMS = $(libexec_PROGRAMS) $(noinst_PROGRAMS)
+-pop_debug_SOURCES = pop_debug.c
+-pop_debug_OBJECTS = pop_debug.$(OBJEXT)
+-pop_debug_LDADD = $(LDADD)
+-am__DEPENDENCIES_1 =
+-@KRB5_TRUE@am__DEPENDENCIES_2 = $(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-pop_debug_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_2) \
+-	$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
+-	$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
+-am_popper_OBJECTS = pop_dele.$(OBJEXT) pop_dropcopy.$(OBJEXT) \
+-	pop_dropinfo.$(OBJEXT) pop_get_command.$(OBJEXT) \
+-	pop_init.$(OBJEXT) pop_last.$(OBJEXT) pop_list.$(OBJEXT) \
+-	pop_log.$(OBJEXT) pop_msg.$(OBJEXT) pop_parse.$(OBJEXT) \
+-	pop_pass.$(OBJEXT) pop_quit.$(OBJEXT) pop_rset.$(OBJEXT) \
+-	pop_send.$(OBJEXT) pop_stat.$(OBJEXT) pop_updt.$(OBJEXT) \
+-	pop_user.$(OBJEXT) pop_uidl.$(OBJEXT) pop_xover.$(OBJEXT) \
+-	popper.$(OBJEXT) maildir.$(OBJEXT)
+-popper_OBJECTS = $(am_popper_OBJECTS)
+-popper_LDADD = $(LDADD)
+-popper_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_2) \
+-	$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
+-	$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
+-DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
+-depcomp =
+-am__depfiles_maybe =
+-COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+-	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) \
+-	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+-	$(AM_CFLAGS) $(CFLAGS)
+-CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+-	$(AM_LDFLAGS) $(LDFLAGS) -o $@
+-SOURCES = pop_debug.c $(popper_SOURCES)
+-DIST_SOURCES = pop_debug.c $(popper_SOURCES)
+-man8dir = $(mandir)/man8
+-MANS = $(man_MANS)
+-ETAGS = etags
+-CTAGS = ctags
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ ACLOCAL = @ACLOCAL@
+ AIX4_FALSE = @AIX4_FALSE@
+ AIX4_TRUE = @AIX4_TRUE@
+@@ -160,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -170,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -193,12 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
++
+ INCLUDE_krb4 = @INCLUDE_krb4@
++
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
++
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -211,6 +130,7 @@
+ KRB5_TRUE = @KRB5_TRUE@
+ LDFLAGS = @LDFLAGS@
+ LEX = @LEX@
++
+ LEXLIB = @LEXLIB@
+ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+ LIBOBJS = @LIBOBJS@
+@@ -219,6 +139,7 @@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+ LIB_XauFileName = @LIB_XauFileName@
++
+ LIB_XauReadAuth = @LIB_XauReadAuth@
+ LIB_XauWriteAuth = @LIB_XauWriteAuth@
+ LIB_bswap16 = @LIB_bswap16@
+@@ -267,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -347,7 +270,6 @@
+ libexecdir = @libexecdir@
+ localstatedir = @localstatedir@
+ mandir = @mandir@
+-mkdir_p = @mkdir_p@
+ oldincludedir = @oldincludedir@
+ prefix = @prefix@
+ program_transform_name = @program_transform_name@
+@@ -355,25 +277,44 @@
+ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
++
+ SUFFIXES = .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8
++
+ INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) $(INCLUDE_krb4)
++
+ @do_roken_rename_TRUE@ROKEN_RENAME = -DROKEN_RENAME
++
+ AM_CFLAGS = $(WFLAGS)
++
+ CP = cp
++
+ buildinclude = $(top_builddir)/include
+ LIB_getattr = @LIB_getattr@
+ LIB_getpwent_r = @LIB_getpwent_r@
+ LIB_odm_initialize = @LIB_odm_initialize@
+ LIB_setpcred = @LIB_setpcred@
++
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
++
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
++
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++
+ @KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
+ @KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+ 
+ @KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
++
+ @DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
++
++noinst_PROGRAMS = pop_debug
++
++libexec_PROGRAMS = popper
++
+ popper_SOURCES = \
+ 	pop_dele.c pop_dropcopy.c pop_dropinfo.c \
+ 	pop_get_command.c pop_init.c \
+@@ -383,9 +324,11 @@
+ 	pop_user.c pop_uidl.c pop_xover.c popper.c \
+ 	maildir.c popper.h version.h
+ 
++
+ EXTRA_DIST = pop3.rfc1081 pop3e.rfc1082 \
+ 	popper.README.release README-FIRST README-KRB4
+ 
++
+ LDADD = \
+ 	$(LIB_otp) \
+ 	$(LIB_krb5) \
+@@ -394,51 +337,77 @@
+ 	$(LIB_roken) \
+ 	$(DBLIB)
+ 
++
+ man_MANS = popper.8
++subdir = appl/popper
++ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
++mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++libexec_PROGRAMS = popper$(EXEEXT)
++noinst_PROGRAMS = pop_debug$(EXEEXT)
++PROGRAMS = $(libexec_PROGRAMS) $(noinst_PROGRAMS)
++
++pop_debug_SOURCES = pop_debug.c
++pop_debug_OBJECTS = pop_debug.$(OBJEXT)
++pop_debug_LDADD = $(LDADD)
++@KRB5_TRUE@pop_debug_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
++@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_FALSE@pop_debug_DEPENDENCIES =
++pop_debug_LDFLAGS =
++am_popper_OBJECTS = pop_dele.$(OBJEXT) pop_dropcopy.$(OBJEXT) \
++	pop_dropinfo.$(OBJEXT) pop_get_command.$(OBJEXT) \
++	pop_init.$(OBJEXT) pop_last.$(OBJEXT) pop_list.$(OBJEXT) \
++	pop_log.$(OBJEXT) pop_msg.$(OBJEXT) pop_parse.$(OBJEXT) \
++	pop_pass.$(OBJEXT) pop_quit.$(OBJEXT) pop_rset.$(OBJEXT) \
++	pop_send.$(OBJEXT) pop_stat.$(OBJEXT) pop_updt.$(OBJEXT) \
++	pop_user.$(OBJEXT) pop_uidl.$(OBJEXT) pop_xover.$(OBJEXT) \
++	popper.$(OBJEXT) maildir.$(OBJEXT)
++popper_OBJECTS = $(am_popper_OBJECTS)
++popper_LDADD = $(LDADD)
++@KRB5_TRUE@popper_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
++@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_FALSE@popper_DEPENDENCIES =
++popper_LDFLAGS =
++
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
++depcomp =
++am__depfiles_maybe =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++CCLD = $(CC)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++DIST_SOURCES = pop_debug.c $(popper_SOURCES)
++MANS = $(man_MANS)
++DIST_COMMON = README $(srcdir)/Makefile.in \
++	$(top_srcdir)/Makefile.am.common \
++	$(top_srcdir)/cf/Makefile.am.common ChangeLog Makefile.am
++SOURCES = pop_debug.c $(popper_SOURCES)
++
+ all: all-am
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj
+-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(am__configure_deps)
+-	@for dep in $?; do \
+-	  case '$(am__configure_deps)' in \
+-	    *$$dep*) \
+-	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+-		&& exit 0; \
+-	      exit 1;; \
+-	  esac; \
+-	done; \
+-	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  --ignore-deps appl/popper/Makefile'; \
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+-	  $(AUTOMAKE) --foreign  --ignore-deps appl/popper/Makefile
+-.PRECIOUS: Makefile
+-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+-	@case '$?' in \
+-	  *config.status*) \
+-	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+-	  *) \
+-	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+-	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+-	esac;
+-
+-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-
+-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
++	  $(AUTOMAKE) --foreign  appl/popper/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
++libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ install-libexecPROGRAMS: $(libexec_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(libexecdir)" || $(mkdir_p) "$(DESTDIR)$(libexecdir)"
++	$(mkinstalldirs) $(DESTDIR)$(libexecdir)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+ 	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+ 	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+-	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(libexecdir)/$$f'"; \
+-	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(libexecdir)/$$f" || exit 1; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f || exit 1; \
+ 	  else :; fi; \
+ 	done
+ 
+@@ -446,8 +415,8 @@
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+ 	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  echo " rm -f '$(DESTDIR)$(libexecdir)/$$f'"; \
+-	  rm -f "$(DESTDIR)$(libexecdir)/$$f"; \
++	  echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
++	  rm -f $(DESTDIR)$(libexecdir)/$$f; \
+ 	done
+ 
+ clean-libexecPROGRAMS:
+@@ -471,19 +440,19 @@
+ 	$(LINK) $(popper_LDFLAGS) $(popper_OBJECTS) $(popper_LDADD) $(LIBS)
+ 
+ mostlyclean-compile:
+-	-rm -f *.$(OBJEXT)
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ .c.obj:
+-	$(COMPILE) -c `$(CYGPATH_W) '$<'`
++	$(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
+ 
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ mostlyclean-libtool:
+ 	-rm -f *.lo
+@@ -494,9 +463,11 @@
+ distclean-libtool:
+ 	-rm -f libtool
+ uninstall-info-am:
++
++man8dir = $(mandir)/man8
+ install-man8: $(man8_MANS) $(man_MANS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(man8dir)" || $(mkdir_p) "$(DESTDIR)$(man8dir)"
++	$(mkinstalldirs) $(DESTDIR)$(man8dir)
+ 	@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
+ 	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
+ 	for i in $$l2; do \
+@@ -515,8 +486,8 @@
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+-	  echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man8dir)/$$inst'"; \
+-	  $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man8dir)/$$inst"; \
++	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst"; \
++	  $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst; \
+ 	done
+ uninstall-man8:
+ 	@$(NORMAL_UNINSTALL)
+@@ -536,10 +507,18 @@
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+-	  echo " rm -f '$(DESTDIR)$(man8dir)/$$inst'"; \
+-	  rm -f "$(DESTDIR)$(man8dir)/$$inst"; \
++	  echo " rm -f $(DESTDIR)$(man8dir)/$$inst"; \
++	  rm -f $(DESTDIR)$(man8dir)/$$inst; \
+ 	done
+ 
++ETAGS = etags
++ETAGSFLAGS =
++
++CTAGS = ctags
++CTAGSFLAGS =
++
++tags: TAGS
++
+ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ 	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ 	unique=`for i in $$list; do \
+@@ -548,7 +527,6 @@
+ 	  $(AWK) '    { files[$$0] = 1; } \
+ 	       END { for (i in files) print i; }'`; \
+ 	mkid -fID $$unique
+-tags: TAGS
+ 
+ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -563,6 +541,7 @@
+ 	test -z "$(ETAGS_ARGS)$$tags$$unique" \
+ 	  || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ 	     $$tags $$unique
++
+ ctags: CTAGS
+ CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -585,9 +564,13 @@
+ 
+ distclean-tags:
+ 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	$(mkdir_p) $(distdir)/../.. $(distdir)/../../cf
++	$(mkinstalldirs) $(distdir)/../.. $(distdir)/../../cf
+ 	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ 	list='$(DISTFILES)'; for file in $$list; do \
+@@ -599,7 +582,7 @@
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ 	    dir="/$$dir"; \
+-	    $(mkdir_p) "$(distdir)$$dir"; \
++	    $(mkinstalldirs) "$(distdir)$$dir"; \
+ 	  else \
+ 	    dir=''; \
+ 	  fi; \
+@@ -621,10 +604,9 @@
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+ all-am: Makefile $(PROGRAMS) $(MANS) all-local
++
+ installdirs:
+-	for dir in "$(DESTDIR)$(libexecdir)" "$(DESTDIR)$(man8dir)"; do \
+-	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
+-	done
++	$(mkinstalldirs) $(DESTDIR)$(libexecdir) $(DESTDIR)$(man8dir)
+ install: install-am
+ install-exec: install-exec-am
+ install-data: install-data-am
+@@ -663,8 +645,6 @@
+ 
+ dvi-am:
+ 
+-html: html-am
+-
+ info: info-am
+ 
+ info-am:
+@@ -700,8 +680,7 @@
+ 
+ ps-am:
+ 
+-uninstall-am: uninstall-info-am uninstall-libexecPROGRAMS \
+-	uninstall-man
++uninstall-am: uninstall-info-am uninstall-libexecPROGRAMS uninstall-man
+ 
+ uninstall-man: uninstall-man8
+ 
+@@ -709,15 +688,15 @@
+ 	clean clean-generic clean-libexecPROGRAMS clean-libtool \
+ 	clean-noinstPROGRAMS ctags distclean distclean-compile \
+ 	distclean-generic distclean-libtool distclean-tags distdir dvi \
+-	dvi-am html html-am info info-am install install-am \
+-	install-data install-data-am install-exec install-exec-am \
+-	install-info install-info-am install-libexecPROGRAMS \
+-	install-man install-man8 install-strip installcheck \
+-	installcheck-am installdirs maintainer-clean \
+-	maintainer-clean-generic mostlyclean mostlyclean-compile \
+-	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+-	tags uninstall uninstall-am uninstall-info-am \
+-	uninstall-libexecPROGRAMS uninstall-man uninstall-man8
++	dvi-am info info-am install install-am install-data \
++	install-data-am install-exec install-exec-am install-info \
++	install-info-am install-libexecPROGRAMS install-man \
++	install-man8 install-strip installcheck installcheck-am \
++	installdirs maintainer-clean maintainer-clean-generic \
++	mostlyclean mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
++	uninstall-am uninstall-info-am uninstall-libexecPROGRAMS \
++	uninstall-man uninstall-man8
+ 
+ 
+ install-suid-programs:
+diff -ruN heimdal-0.6.3-old/appl/push/Makefile.in heimdal-0.6.3/appl/push/Makefile.in
+--- heimdal-0.6.3-old/appl/push/Makefile.in	2004-09-13 22:29:02.000000000 +1000
++++ heimdal-0.6.3/appl/push/Makefile.in	2004-09-14 08:39:46.000000000 +1000
+@@ -1,8 +1,8 @@
+-# Makefile.in generated by automake 1.8.3 from Makefile.am.
++# Makefile.in generated by automake 1.7.9 from Makefile.am.
+ # @configure_input@
+ 
+-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+-# 2003, 2004  Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
++# 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.
+@@ -20,9 +20,6 @@
+ 
+ # $Id: Makefile.am.common,v 1.37.2.2 2003/10/13 13:15:39 joda Exp $
+ 
+-
+-SOURCES = $(push_SOURCES)
+-
+ srcdir = @srcdir@
+ top_srcdir = @top_srcdir@
+ VPATH = @srcdir@
+@@ -30,6 +27,7 @@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+ top_builddir = ../..
++
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+ INSTALL = @INSTALL@
+ install_sh_DATA = $(install_sh) -c -m 644
+@@ -44,88 +42,6 @@
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+ host_triplet = @host@
+-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+-	$(top_srcdir)/Makefile.am.common \
+-	$(top_srcdir)/cf/Makefile.am.common ChangeLog
+-libexec_PROGRAMS = push$(EXEEXT)
+-subdir = appl/push
+-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+-am__aclocal_m4_deps = $(top_srcdir)/cf/aix.m4 \
+-	$(top_srcdir)/cf/auth-modules.m4 \
+-	$(top_srcdir)/cf/broken-getaddrinfo.m4 \
+-	$(top_srcdir)/cf/broken-getnameinfo.m4 \
+-	$(top_srcdir)/cf/broken-glob.m4 \
+-	$(top_srcdir)/cf/broken-realloc.m4 \
+-	$(top_srcdir)/cf/broken-snprintf.m4 $(top_srcdir)/cf/broken.m4 \
+-	$(top_srcdir)/cf/broken2.m4 $(top_srcdir)/cf/c-attribute.m4 \
+-	$(top_srcdir)/cf/capabilities.m4 \
+-	$(top_srcdir)/cf/check-compile-et.m4 \
+-	$(top_srcdir)/cf/check-declaration.m4 \
+-	$(top_srcdir)/cf/check-getpwnam_r-posix.m4 \
+-	$(top_srcdir)/cf/check-man.m4 \
+-	$(top_srcdir)/cf/check-netinet-ip-and-tcp.m4 \
+-	$(top_srcdir)/cf/check-type-extra.m4 \
+-	$(top_srcdir)/cf/check-var.m4 $(top_srcdir)/cf/check-x.m4 \
+-	$(top_srcdir)/cf/check-xau.m4 $(top_srcdir)/cf/crypto.m4 \
+-	$(top_srcdir)/cf/db.m4 $(top_srcdir)/cf/destdirs.m4 \
+-	$(top_srcdir)/cf/dlopen.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs2.m4 \
+-	$(top_srcdir)/cf/find-func.m4 \
+-	$(top_srcdir)/cf/find-if-not-broken.m4 \
+-	$(top_srcdir)/cf/have-struct-field.m4 \
+-	$(top_srcdir)/cf/have-type.m4 $(top_srcdir)/cf/irix.m4 \
+-	$(top_srcdir)/cf/krb-bigendian.m4 \
+-	$(top_srcdir)/cf/krb-func-getlogin.m4 \
+-	$(top_srcdir)/cf/krb-ipv6.m4 $(top_srcdir)/cf/krb-prog-ln-s.m4 \
+-	$(top_srcdir)/cf/krb-readline.m4 \
+-	$(top_srcdir)/cf/krb-struct-spwd.m4 \
+-	$(top_srcdir)/cf/krb-struct-winsize.m4 \
+-	$(top_srcdir)/cf/mips-abi.m4 $(top_srcdir)/cf/misc.m4 \
+-	$(top_srcdir)/cf/need-proto.m4 $(top_srcdir)/cf/osfc2.m4 \
+-	$(top_srcdir)/cf/otp.m4 $(top_srcdir)/cf/proto-compat.m4 \
+-	$(top_srcdir)/cf/retsigtype.m4 $(top_srcdir)/cf/roken-frag.m4 \
+-	$(top_srcdir)/cf/sunos.m4 $(top_srcdir)/cf/telnet.m4 \
+-	$(top_srcdir)/cf/test-package.m4 $(top_srcdir)/cf/wflags.m4 \
+-	$(top_srcdir)/cf/with-all.m4 $(top_srcdir)/configure.in
+-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+-	$(ACLOCAL_M4)
+-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = $(top_builddir)/include/config.h
+-CONFIG_CLEAN_FILES =
+-am__installdirs = "$(DESTDIR)$(libexecdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man8dir)"
+-libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+-PROGRAMS = $(libexec_PROGRAMS)
+-am_push_OBJECTS = push.$(OBJEXT)
+-push_OBJECTS = $(am_push_OBJECTS)
+-push_LDADD = $(LDADD)
+-@KRB5_TRUE@am__DEPENDENCIES_1 = $(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-am__DEPENDENCIES_2 =
+-push_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_2) \
+-	$(am__DEPENDENCIES_2) $(am__DEPENDENCIES_2) \
+-	$(am__DEPENDENCIES_2)
+-binSCRIPT_INSTALL = $(INSTALL_SCRIPT)
+-SCRIPTS = $(bin_SCRIPTS)
+-DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
+-depcomp =
+-am__depfiles_maybe =
+-COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+-	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) \
+-	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+-	$(AM_CFLAGS) $(CFLAGS)
+-CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+-	$(AM_LDFLAGS) $(LDFLAGS) -o $@
+-SOURCES = $(push_SOURCES)
+-DIST_SOURCES = $(push_SOURCES)
+-man1dir = $(mandir)/man1
+-man8dir = $(mandir)/man8
+-MANS = $(man_MANS)
+-ETAGS = etags
+-CTAGS = ctags
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ ACLOCAL = @ACLOCAL@
+ AIX4_FALSE = @AIX4_FALSE@
+ AIX4_TRUE = @AIX4_TRUE@
+@@ -150,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -160,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -183,12 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
++
+ INCLUDE_krb4 = @INCLUDE_krb4@
++
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
++
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -201,6 +130,7 @@
+ KRB5_TRUE = @KRB5_TRUE@
+ LDFLAGS = @LDFLAGS@
+ LEX = @LEX@
++
+ LEXLIB = @LEXLIB@
+ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+ LIBOBJS = @LIBOBJS@
+@@ -209,6 +139,7 @@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+ LIB_XauFileName = @LIB_XauFileName@
++
+ LIB_XauReadAuth = @LIB_XauReadAuth@
+ LIB_XauWriteAuth = @LIB_XauWriteAuth@
+ LIB_bswap16 = @LIB_bswap16@
+@@ -257,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -337,7 +270,6 @@
+ libexecdir = @libexecdir@
+ localstatedir = @localstatedir@
+ mandir = @mandir@
+-mkdir_p = @mkdir_p@
+ oldincludedir = @oldincludedir@
+ prefix = @prefix@
+ program_transform_name = @program_transform_name@
+@@ -345,80 +277,113 @@
+ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
++
+ SUFFIXES = .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8
++
+ INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) $(INCLUDE_krb4) $(INCLUDE_hesiod)
++
+ @do_roken_rename_TRUE@ROKEN_RENAME = -DROKEN_RENAME
++
+ AM_CFLAGS = $(WFLAGS)
++
+ CP = cp
++
+ buildinclude = $(top_builddir)/include
+ LIB_getattr = @LIB_getattr@
+ LIB_getpwent_r = @LIB_getpwent_r@
+ LIB_odm_initialize = @LIB_odm_initialize@
+ LIB_setpcred = @LIB_setpcred@
++
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
++
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
++
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++
+ @KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
+ @KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+ 
+ @KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
++
+ @DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
++
+ bin_SCRIPTS = pfrom
++
++libexec_PROGRAMS = push
++
+ push_SOURCES = push.c push_locl.h
++
+ man_MANS = push.8 pfrom.1
++
+ CLEANFILES = pfrom
++
+ EXTRA_DIST = pfrom.in $(man_MANS)
++
+ LDADD = $(LIB_krb5) \
+ 	$(LIB_krb4) \
+ 	$(LIB_des) \
+ 	$(LIB_roken) \
+ 	$(LIB_hesiod)
+ 
++subdir = appl/push
++ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
++mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++libexec_PROGRAMS = push$(EXEEXT)
++PROGRAMS = $(libexec_PROGRAMS)
++
++am_push_OBJECTS = push.$(OBJEXT)
++push_OBJECTS = $(am_push_OBJECTS)
++push_LDADD = $(LDADD)
++@KRB5_TRUE@push_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
++@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_FALSE@push_DEPENDENCIES =
++push_LDFLAGS =
++SCRIPTS = $(bin_SCRIPTS)
++
++
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
++depcomp =
++am__depfiles_maybe =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++CCLD = $(CC)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++DIST_SOURCES = $(push_SOURCES)
++MANS = $(man_MANS)
++DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/Makefile.am.common \
++	$(top_srcdir)/cf/Makefile.am.common ChangeLog Makefile.am
++SOURCES = $(push_SOURCES)
++
+ all: all-am
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj
+-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(am__configure_deps)
+-	@for dep in $?; do \
+-	  case '$(am__configure_deps)' in \
+-	    *$$dep*) \
+-	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+-		&& exit 0; \
+-	      exit 1;; \
+-	  esac; \
+-	done; \
+-	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  --ignore-deps appl/push/Makefile'; \
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+-	  $(AUTOMAKE) --foreign  --ignore-deps appl/push/Makefile
+-.PRECIOUS: Makefile
+-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+-	@case '$?' in \
+-	  *config.status*) \
+-	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+-	  *) \
+-	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+-	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+-	esac;
+-
+-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-
+-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
++	  $(AUTOMAKE) --foreign  appl/push/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
++libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ install-libexecPROGRAMS: $(libexec_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(libexecdir)" || $(mkdir_p) "$(DESTDIR)$(libexecdir)"
++	$(mkinstalldirs) $(DESTDIR)$(libexecdir)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+ 	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+ 	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+-	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(libexecdir)/$$f'"; \
+-	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(libexecdir)/$$f" || exit 1; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f || exit 1; \
+ 	  else :; fi; \
+ 	done
+ 
+@@ -426,8 +391,8 @@
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+ 	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  echo " rm -f '$(DESTDIR)$(libexecdir)/$$f'"; \
+-	  rm -f "$(DESTDIR)$(libexecdir)/$$f"; \
++	  echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
++	  rm -f $(DESTDIR)$(libexecdir)/$$f; \
+ 	done
+ 
+ clean-libexecPROGRAMS:
+@@ -439,15 +404,16 @@
+ push$(EXEEXT): $(push_OBJECTS) $(push_DEPENDENCIES) 
+ 	@rm -f push$(EXEEXT)
+ 	$(LINK) $(push_LDFLAGS) $(push_OBJECTS) $(push_LDADD) $(LIBS)
++binSCRIPT_INSTALL = $(INSTALL_SCRIPT)
+ install-binSCRIPTS: $(bin_SCRIPTS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
++	$(mkinstalldirs) $(DESTDIR)$(bindir)
+ 	@list='$(bin_SCRIPTS)'; for p in $$list; do \
+ 	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ 	  if test -f $$d$$p; then \
+ 	    f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
+-	    echo " $(binSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(bindir)/$$f'"; \
+-	    $(binSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(bindir)/$$f"; \
++	    echo " $(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f"; \
++	    $(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+@@ -455,24 +421,24 @@
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_SCRIPTS)'; for p in $$list; do \
+ 	  f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
+-	  echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
+-	  rm -f "$(DESTDIR)$(bindir)/$$f"; \
++	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
++	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+ mostlyclean-compile:
+-	-rm -f *.$(OBJEXT)
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ .c.obj:
+-	$(COMPILE) -c `$(CYGPATH_W) '$<'`
++	$(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
+ 
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ mostlyclean-libtool:
+ 	-rm -f *.lo
+@@ -483,9 +449,11 @@
+ distclean-libtool:
+ 	-rm -f libtool
+ uninstall-info-am:
++
++man1dir = $(mandir)/man1
+ install-man1: $(man1_MANS) $(man_MANS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(man1dir)" || $(mkdir_p) "$(DESTDIR)$(man1dir)"
++	$(mkinstalldirs) $(DESTDIR)$(man1dir)
+ 	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
+ 	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
+ 	for i in $$l2; do \
+@@ -504,8 +472,8 @@
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+-	  echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
+-	  $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst"; \
++	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
++	  $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
+ 	done
+ uninstall-man1:
+ 	@$(NORMAL_UNINSTALL)
+@@ -525,12 +493,14 @@
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+-	  echo " rm -f '$(DESTDIR)$(man1dir)/$$inst'"; \
+-	  rm -f "$(DESTDIR)$(man1dir)/$$inst"; \
++	  echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
++	  rm -f $(DESTDIR)$(man1dir)/$$inst; \
+ 	done
++
++man8dir = $(mandir)/man8
+ install-man8: $(man8_MANS) $(man_MANS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(man8dir)" || $(mkdir_p) "$(DESTDIR)$(man8dir)"
++	$(mkinstalldirs) $(DESTDIR)$(man8dir)
+ 	@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
+ 	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
+ 	for i in $$l2; do \
+@@ -549,8 +519,8 @@
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+-	  echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man8dir)/$$inst'"; \
+-	  $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man8dir)/$$inst"; \
++	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst"; \
++	  $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst; \
+ 	done
+ uninstall-man8:
+ 	@$(NORMAL_UNINSTALL)
+@@ -570,10 +540,18 @@
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+-	  echo " rm -f '$(DESTDIR)$(man8dir)/$$inst'"; \
+-	  rm -f "$(DESTDIR)$(man8dir)/$$inst"; \
++	  echo " rm -f $(DESTDIR)$(man8dir)/$$inst"; \
++	  rm -f $(DESTDIR)$(man8dir)/$$inst; \
+ 	done
+ 
++ETAGS = etags
++ETAGSFLAGS =
++
++CTAGS = ctags
++CTAGSFLAGS =
++
++tags: TAGS
++
+ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ 	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ 	unique=`for i in $$list; do \
+@@ -582,7 +560,6 @@
+ 	  $(AWK) '    { files[$$0] = 1; } \
+ 	       END { for (i in files) print i; }'`; \
+ 	mkid -fID $$unique
+-tags: TAGS
+ 
+ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -597,6 +574,7 @@
+ 	test -z "$(ETAGS_ARGS)$$tags$$unique" \
+ 	  || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ 	     $$tags $$unique
++
+ ctags: CTAGS
+ CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -619,9 +597,13 @@
+ 
+ distclean-tags:
+ 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	$(mkdir_p) $(distdir)/../.. $(distdir)/../../cf
++	$(mkinstalldirs) $(distdir)/../.. $(distdir)/../../cf
+ 	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ 	list='$(DISTFILES)'; for file in $$list; do \
+@@ -633,7 +615,7 @@
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ 	    dir="/$$dir"; \
+-	    $(mkdir_p) "$(distdir)$$dir"; \
++	    $(mkinstalldirs) "$(distdir)$$dir"; \
+ 	  else \
+ 	    dir=''; \
+ 	  fi; \
+@@ -655,10 +637,9 @@
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+ all-am: Makefile $(PROGRAMS) $(SCRIPTS) $(MANS) all-local
++
+ installdirs:
+-	for dir in "$(DESTDIR)$(libexecdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man8dir)"; do \
+-	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
+-	done
++	$(mkinstalldirs) $(DESTDIR)$(libexecdir) $(DESTDIR)$(bindir) $(DESTDIR)$(man1dir) $(DESTDIR)$(man8dir)
+ install: install-am
+ install-exec: install-exec-am
+ install-data: install-data-am
+@@ -698,8 +679,6 @@
+ 
+ dvi-am:
+ 
+-html: html-am
+-
+ info: info-am
+ 
+ info-am:
+@@ -742,18 +721,18 @@
+ 
+ .PHONY: CTAGS GTAGS all all-am all-local check check-am check-local \
+ 	clean clean-generic clean-libexecPROGRAMS clean-libtool ctags \
+-	distclean distclean-compile distclean-generic \
+-	distclean-libtool distclean-tags distdir dvi dvi-am html \
+-	html-am info info-am install install-am install-binSCRIPTS \
+-	install-data install-data-am install-exec install-exec-am \
+-	install-info install-info-am install-libexecPROGRAMS \
+-	install-man install-man1 install-man8 install-strip \
+-	installcheck installcheck-am installdirs maintainer-clean \
+-	maintainer-clean-generic mostlyclean mostlyclean-compile \
+-	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+-	tags uninstall uninstall-am uninstall-binSCRIPTS \
+-	uninstall-info-am uninstall-libexecPROGRAMS uninstall-man \
+-	uninstall-man1 uninstall-man8
++	distclean distclean-compile distclean-generic distclean-libtool \
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-binSCRIPTS install-data install-data-am \
++	install-exec install-exec-am install-info install-info-am \
++	install-libexecPROGRAMS install-man install-man1 install-man8 \
++	install-strip installcheck installcheck-am installdirs \
++	maintainer-clean maintainer-clean-generic mostlyclean \
++	mostlyclean-compile mostlyclean-generic mostlyclean-libtool pdf \
++	pdf-am ps ps-am tags uninstall uninstall-am \
++	uninstall-binSCRIPTS uninstall-info-am \
++	uninstall-libexecPROGRAMS uninstall-man uninstall-man1 \
++	uninstall-man8
+ 
+ 
+ install-suid-programs:
+diff -ruN heimdal-0.6.3-old/appl/rcp/Makefile.in heimdal-0.6.3/appl/rcp/Makefile.in
+--- heimdal-0.6.3-old/appl/rcp/Makefile.in	2004-09-13 22:29:02.000000000 +1000
++++ heimdal-0.6.3/appl/rcp/Makefile.in	2004-09-14 08:39:47.000000000 +1000
+@@ -1,8 +1,8 @@
+-# Makefile.in generated by automake 1.8.3 from Makefile.am.
++# Makefile.in generated by automake 1.7.9 from Makefile.am.
+ # @configure_input@
+ 
+-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+-# 2003, 2004  Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
++# 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.
+@@ -20,8 +20,6 @@
+ 
+ # $Id: Makefile.am.common,v 1.37.2.2 2003/10/13 13:15:39 joda Exp $
+ 
+-SOURCES = $(rcp_SOURCES)
+-
+ srcdir = @srcdir@
+ top_srcdir = @top_srcdir@
+ VPATH = @srcdir@
+@@ -29,6 +27,7 @@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+ top_builddir = ../..
++
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+ INSTALL = @INSTALL@
+ install_sh_DATA = $(install_sh) -c -m 644
+@@ -43,79 +42,6 @@
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+ host_triplet = @host@
+-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+-	$(top_srcdir)/Makefile.am.common \
+-	$(top_srcdir)/cf/Makefile.am.common ChangeLog
+-bin_PROGRAMS = rcp$(EXEEXT)
+-subdir = appl/rcp
+-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+-am__aclocal_m4_deps = $(top_srcdir)/cf/aix.m4 \
+-	$(top_srcdir)/cf/auth-modules.m4 \
+-	$(top_srcdir)/cf/broken-getaddrinfo.m4 \
+-	$(top_srcdir)/cf/broken-getnameinfo.m4 \
+-	$(top_srcdir)/cf/broken-glob.m4 \
+-	$(top_srcdir)/cf/broken-realloc.m4 \
+-	$(top_srcdir)/cf/broken-snprintf.m4 $(top_srcdir)/cf/broken.m4 \
+-	$(top_srcdir)/cf/broken2.m4 $(top_srcdir)/cf/c-attribute.m4 \
+-	$(top_srcdir)/cf/capabilities.m4 \
+-	$(top_srcdir)/cf/check-compile-et.m4 \
+-	$(top_srcdir)/cf/check-declaration.m4 \
+-	$(top_srcdir)/cf/check-getpwnam_r-posix.m4 \
+-	$(top_srcdir)/cf/check-man.m4 \
+-	$(top_srcdir)/cf/check-netinet-ip-and-tcp.m4 \
+-	$(top_srcdir)/cf/check-type-extra.m4 \
+-	$(top_srcdir)/cf/check-var.m4 $(top_srcdir)/cf/check-x.m4 \
+-	$(top_srcdir)/cf/check-xau.m4 $(top_srcdir)/cf/crypto.m4 \
+-	$(top_srcdir)/cf/db.m4 $(top_srcdir)/cf/destdirs.m4 \
+-	$(top_srcdir)/cf/dlopen.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs2.m4 \
+-	$(top_srcdir)/cf/find-func.m4 \
+-	$(top_srcdir)/cf/find-if-not-broken.m4 \
+-	$(top_srcdir)/cf/have-struct-field.m4 \
+-	$(top_srcdir)/cf/have-type.m4 $(top_srcdir)/cf/irix.m4 \
+-	$(top_srcdir)/cf/krb-bigendian.m4 \
+-	$(top_srcdir)/cf/krb-func-getlogin.m4 \
+-	$(top_srcdir)/cf/krb-ipv6.m4 $(top_srcdir)/cf/krb-prog-ln-s.m4 \
+-	$(top_srcdir)/cf/krb-readline.m4 \
+-	$(top_srcdir)/cf/krb-struct-spwd.m4 \
+-	$(top_srcdir)/cf/krb-struct-winsize.m4 \
+-	$(top_srcdir)/cf/mips-abi.m4 $(top_srcdir)/cf/misc.m4 \
+-	$(top_srcdir)/cf/need-proto.m4 $(top_srcdir)/cf/osfc2.m4 \
+-	$(top_srcdir)/cf/otp.m4 $(top_srcdir)/cf/proto-compat.m4 \
+-	$(top_srcdir)/cf/retsigtype.m4 $(top_srcdir)/cf/roken-frag.m4 \
+-	$(top_srcdir)/cf/sunos.m4 $(top_srcdir)/cf/telnet.m4 \
+-	$(top_srcdir)/cf/test-package.m4 $(top_srcdir)/cf/wflags.m4 \
+-	$(top_srcdir)/cf/with-all.m4 $(top_srcdir)/configure.in
+-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+-	$(ACLOCAL_M4)
+-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = $(top_builddir)/include/config.h
+-CONFIG_CLEAN_FILES =
+-am__installdirs = "$(DESTDIR)$(bindir)"
+-binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+-PROGRAMS = $(bin_PROGRAMS)
+-am_rcp_OBJECTS = rcp.$(OBJEXT) util.$(OBJEXT)
+-rcp_OBJECTS = $(am_rcp_OBJECTS)
+-rcp_LDADD = $(LDADD)
+-am__DEPENDENCIES_1 =
+-rcp_DEPENDENCIES = $(am__DEPENDENCIES_1)
+-DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
+-depcomp =
+-am__depfiles_maybe =
+-COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+-	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) \
+-	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+-	$(AM_CFLAGS) $(CFLAGS)
+-CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+-	$(AM_LDFLAGS) $(LDFLAGS) -o $@
+-SOURCES = $(rcp_SOURCES)
+-DIST_SOURCES = $(rcp_SOURCES)
+-ETAGS = etags
+-CTAGS = ctags
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ ACLOCAL = @ACLOCAL@
+ AIX4_FALSE = @AIX4_FALSE@
+ AIX4_TRUE = @AIX4_TRUE@
+@@ -140,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -150,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -173,12 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
++
+ INCLUDE_krb4 = @INCLUDE_krb4@
++
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
++
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -191,6 +130,7 @@
+ KRB5_TRUE = @KRB5_TRUE@
+ LDFLAGS = @LDFLAGS@
+ LEX = @LEX@
++
+ LEXLIB = @LEXLIB@
+ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+ LIBOBJS = @LIBOBJS@
+@@ -199,6 +139,7 @@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+ LIB_XauFileName = @LIB_XauFileName@
++
+ LIB_XauReadAuth = @LIB_XauReadAuth@
+ LIB_XauWriteAuth = @LIB_XauWriteAuth@
+ LIB_bswap16 = @LIB_bswap16@
+@@ -247,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -327,7 +270,6 @@
+ libexecdir = @libexecdir@
+ localstatedir = @localstatedir@
+ mandir = @mandir@
+-mkdir_p = @mkdir_p@
+ oldincludedir = @oldincludedir@
+ prefix = @prefix@
+ program_transform_name = @program_transform_name@
+@@ -335,71 +277,95 @@
+ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
++
+ SUFFIXES = .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8
++
+ INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) $(INCLUDE_krb4)
++
+ @do_roken_rename_TRUE@ROKEN_RENAME = -DROKEN_RENAME
++
+ AM_CFLAGS = $(WFLAGS)
++
+ CP = cp
++
+ buildinclude = $(top_builddir)/include
+ LIB_getattr = @LIB_getattr@
+ LIB_getpwent_r = @LIB_getpwent_r@
+ LIB_odm_initialize = @LIB_odm_initialize@
+ LIB_setpcred = @LIB_setpcred@
++
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
++
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
++
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++
+ @KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
+ @KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+ 
+ @KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
++
+ @DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
++
++bin_PROGRAMS = rcp
++
+ rcp_SOURCES = rcp.c util.c
++
+ LDADD = $(LIB_roken)
++subdir = appl/rcp
++ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
++mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++bin_PROGRAMS = rcp$(EXEEXT)
++PROGRAMS = $(bin_PROGRAMS)
++
++am_rcp_OBJECTS = rcp.$(OBJEXT) util.$(OBJEXT)
++rcp_OBJECTS = $(am_rcp_OBJECTS)
++rcp_LDADD = $(LDADD)
++rcp_DEPENDENCIES =
++rcp_LDFLAGS =
++
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
++depcomp =
++am__depfiles_maybe =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++CCLD = $(CC)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++DIST_SOURCES = $(rcp_SOURCES)
++DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/Makefile.am.common \
++	$(top_srcdir)/cf/Makefile.am.common ChangeLog Makefile.am
++SOURCES = $(rcp_SOURCES)
++
+ all: all-am
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj
+-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(am__configure_deps)
+-	@for dep in $?; do \
+-	  case '$(am__configure_deps)' in \
+-	    *$$dep*) \
+-	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+-		&& exit 0; \
+-	      exit 1;; \
+-	  esac; \
+-	done; \
+-	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  --ignore-deps appl/rcp/Makefile'; \
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+-	  $(AUTOMAKE) --foreign  --ignore-deps appl/rcp/Makefile
+-.PRECIOUS: Makefile
+-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+-	@case '$?' in \
+-	  *config.status*) \
+-	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+-	  *) \
+-	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+-	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+-	esac;
+-
+-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-
+-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
++	  $(AUTOMAKE) --foreign  appl/rcp/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
++binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ install-binPROGRAMS: $(bin_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
++	$(mkinstalldirs) $(DESTDIR)$(bindir)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+ 	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+ 	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+-	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
+-	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f || exit 1; \
+ 	  else :; fi; \
+ 	done
+ 
+@@ -407,8 +373,8 @@
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+ 	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
+-	  rm -f "$(DESTDIR)$(bindir)/$$f"; \
++	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
++	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+ clean-binPROGRAMS:
+@@ -422,19 +388,19 @@
+ 	$(LINK) $(rcp_LDFLAGS) $(rcp_OBJECTS) $(rcp_LDADD) $(LIBS)
+ 
+ mostlyclean-compile:
+-	-rm -f *.$(OBJEXT)
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ .c.obj:
+-	$(COMPILE) -c `$(CYGPATH_W) '$<'`
++	$(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
+ 
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ mostlyclean-libtool:
+ 	-rm -f *.lo
+@@ -446,6 +412,14 @@
+ 	-rm -f libtool
+ uninstall-info-am:
+ 
++ETAGS = etags
++ETAGSFLAGS =
++
++CTAGS = ctags
++CTAGSFLAGS =
++
++tags: TAGS
++
+ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ 	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ 	unique=`for i in $$list; do \
+@@ -454,7 +428,6 @@
+ 	  $(AWK) '    { files[$$0] = 1; } \
+ 	       END { for (i in files) print i; }'`; \
+ 	mkid -fID $$unique
+-tags: TAGS
+ 
+ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -469,6 +442,7 @@
+ 	test -z "$(ETAGS_ARGS)$$tags$$unique" \
+ 	  || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ 	     $$tags $$unique
++
+ ctags: CTAGS
+ CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -491,9 +465,13 @@
+ 
+ distclean-tags:
+ 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	$(mkdir_p) $(distdir)/../.. $(distdir)/../../cf
++	$(mkinstalldirs) $(distdir)/../.. $(distdir)/../../cf
+ 	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ 	list='$(DISTFILES)'; for file in $$list; do \
+@@ -505,7 +483,7 @@
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ 	    dir="/$$dir"; \
+-	    $(mkdir_p) "$(distdir)$$dir"; \
++	    $(mkinstalldirs) "$(distdir)$$dir"; \
+ 	  else \
+ 	    dir=''; \
+ 	  fi; \
+@@ -527,10 +505,9 @@
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+ all-am: Makefile $(PROGRAMS) all-local
++
+ installdirs:
+-	for dir in "$(DESTDIR)$(bindir)"; do \
+-	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
+-	done
++	$(mkinstalldirs) $(DESTDIR)$(bindir)
+ install: install-am
+ install-exec: install-exec-am
+ install-data: install-data-am
+@@ -568,8 +545,6 @@
+ 
+ dvi-am:
+ 
+-html: html-am
+-
+ info: info-am
+ 
+ info-am:
+@@ -609,16 +584,15 @@
+ 
+ .PHONY: CTAGS GTAGS all all-am all-local check check-am check-local \
+ 	clean clean-binPROGRAMS clean-generic clean-libtool ctags \
+-	distclean distclean-compile distclean-generic \
+-	distclean-libtool distclean-tags distdir dvi dvi-am html \
+-	html-am info info-am install install-am install-binPROGRAMS \
+-	install-data install-data-am install-exec install-exec-am \
+-	install-info install-info-am install-man install-strip \
+-	installcheck installcheck-am installdirs maintainer-clean \
+-	maintainer-clean-generic mostlyclean mostlyclean-compile \
+-	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+-	tags uninstall uninstall-am uninstall-binPROGRAMS \
+-	uninstall-info-am
++	distclean distclean-compile distclean-generic distclean-libtool \
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-binPROGRAMS install-data install-data-am \
++	install-exec install-exec-am install-info install-info-am \
++	install-man install-strip installcheck installcheck-am \
++	installdirs maintainer-clean maintainer-clean-generic \
++	mostlyclean mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
++	uninstall-am uninstall-binPROGRAMS uninstall-info-am
+ 
+ 
+ install-suid-programs:
+diff -ruN heimdal-0.6.3-old/appl/rsh/Makefile.in heimdal-0.6.3/appl/rsh/Makefile.in
+--- heimdal-0.6.3-old/appl/rsh/Makefile.in	2004-09-13 22:29:03.000000000 +1000
++++ heimdal-0.6.3/appl/rsh/Makefile.in	2004-09-14 08:39:47.000000000 +1000
+@@ -1,8 +1,8 @@
+-# Makefile.in generated by automake 1.8.3 from Makefile.am.
++# Makefile.in generated by automake 1.7.9 from Makefile.am.
+ # @configure_input@
+ 
+-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+-# 2003, 2004  Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
++# 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.
+@@ -20,8 +20,6 @@
+ 
+ # $Id: Makefile.am.common,v 1.37.2.2 2003/10/13 13:15:39 joda Exp $
+ 
+-SOURCES = $(rsh_SOURCES) $(rshd_SOURCES)
+-
+ srcdir = @srcdir@
+ top_srcdir = @top_srcdir@
+ VPATH = @srcdir@
+@@ -29,6 +27,7 @@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+ top_builddir = ../..
++
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+ INSTALL = @INSTALL@
+ install_sh_DATA = $(install_sh) -c -m 644
+@@ -43,98 +42,6 @@
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+ host_triplet = @host@
+-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+-	$(top_srcdir)/Makefile.am.common \
+-	$(top_srcdir)/cf/Makefile.am.common ChangeLog
+-bin_PROGRAMS = rsh$(EXEEXT)
+-libexec_PROGRAMS = rshd$(EXEEXT)
+-subdir = appl/rsh
+-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+-am__aclocal_m4_deps = $(top_srcdir)/cf/aix.m4 \
+-	$(top_srcdir)/cf/auth-modules.m4 \
+-	$(top_srcdir)/cf/broken-getaddrinfo.m4 \
+-	$(top_srcdir)/cf/broken-getnameinfo.m4 \
+-	$(top_srcdir)/cf/broken-glob.m4 \
+-	$(top_srcdir)/cf/broken-realloc.m4 \
+-	$(top_srcdir)/cf/broken-snprintf.m4 $(top_srcdir)/cf/broken.m4 \
+-	$(top_srcdir)/cf/broken2.m4 $(top_srcdir)/cf/c-attribute.m4 \
+-	$(top_srcdir)/cf/capabilities.m4 \
+-	$(top_srcdir)/cf/check-compile-et.m4 \
+-	$(top_srcdir)/cf/check-declaration.m4 \
+-	$(top_srcdir)/cf/check-getpwnam_r-posix.m4 \
+-	$(top_srcdir)/cf/check-man.m4 \
+-	$(top_srcdir)/cf/check-netinet-ip-and-tcp.m4 \
+-	$(top_srcdir)/cf/check-type-extra.m4 \
+-	$(top_srcdir)/cf/check-var.m4 $(top_srcdir)/cf/check-x.m4 \
+-	$(top_srcdir)/cf/check-xau.m4 $(top_srcdir)/cf/crypto.m4 \
+-	$(top_srcdir)/cf/db.m4 $(top_srcdir)/cf/destdirs.m4 \
+-	$(top_srcdir)/cf/dlopen.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs2.m4 \
+-	$(top_srcdir)/cf/find-func.m4 \
+-	$(top_srcdir)/cf/find-if-not-broken.m4 \
+-	$(top_srcdir)/cf/have-struct-field.m4 \
+-	$(top_srcdir)/cf/have-type.m4 $(top_srcdir)/cf/irix.m4 \
+-	$(top_srcdir)/cf/krb-bigendian.m4 \
+-	$(top_srcdir)/cf/krb-func-getlogin.m4 \
+-	$(top_srcdir)/cf/krb-ipv6.m4 $(top_srcdir)/cf/krb-prog-ln-s.m4 \
+-	$(top_srcdir)/cf/krb-readline.m4 \
+-	$(top_srcdir)/cf/krb-struct-spwd.m4 \
+-	$(top_srcdir)/cf/krb-struct-winsize.m4 \
+-	$(top_srcdir)/cf/mips-abi.m4 $(top_srcdir)/cf/misc.m4 \
+-	$(top_srcdir)/cf/need-proto.m4 $(top_srcdir)/cf/osfc2.m4 \
+-	$(top_srcdir)/cf/otp.m4 $(top_srcdir)/cf/proto-compat.m4 \
+-	$(top_srcdir)/cf/retsigtype.m4 $(top_srcdir)/cf/roken-frag.m4 \
+-	$(top_srcdir)/cf/sunos.m4 $(top_srcdir)/cf/telnet.m4 \
+-	$(top_srcdir)/cf/test-package.m4 $(top_srcdir)/cf/wflags.m4 \
+-	$(top_srcdir)/cf/with-all.m4 $(top_srcdir)/configure.in
+-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+-	$(ACLOCAL_M4)
+-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = $(top_builddir)/include/config.h
+-CONFIG_CLEAN_FILES =
+-am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(libexecdir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man8dir)"
+-binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+-libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+-PROGRAMS = $(bin_PROGRAMS) $(libexec_PROGRAMS)
+-am_rsh_OBJECTS = rsh.$(OBJEXT) common.$(OBJEXT)
+-rsh_OBJECTS = $(am_rsh_OBJECTS)
+-rsh_LDADD = $(LDADD)
+-am__DEPENDENCIES_1 =
+-am__DEPENDENCIES_2 = $(top_builddir)/lib/kafs/libkafs.la \
+-	$(am__DEPENDENCIES_1)
+-@KRB5_TRUE@am__DEPENDENCIES_3 = $(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@DCE_TRUE@am__DEPENDENCIES_4 = $(top_builddir)/lib/kdfs/libkdfs.la
+-rsh_DEPENDENCIES = $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_3) \
+-	$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
+-	$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_4)
+-am_rshd_OBJECTS = rshd.$(OBJEXT) common.$(OBJEXT) \
+-	login_access.$(OBJEXT)
+-rshd_OBJECTS = $(am_rshd_OBJECTS)
+-rshd_LDADD = $(LDADD)
+-rshd_DEPENDENCIES = $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_3) \
+-	$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
+-	$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_4)
+-DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
+-depcomp =
+-am__depfiles_maybe =
+-COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+-	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) \
+-	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+-	$(AM_CFLAGS) $(CFLAGS)
+-CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+-	$(AM_LDFLAGS) $(LDFLAGS) -o $@
+-SOURCES = $(rsh_SOURCES) $(rshd_SOURCES)
+-DIST_SOURCES = $(rsh_SOURCES) $(rshd_SOURCES)
+-man1dir = $(mandir)/man1
+-man8dir = $(mandir)/man8
+-MANS = $(man_MANS)
+-ETAGS = etags
+-CTAGS = ctags
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ ACLOCAL = @ACLOCAL@
+ AIX4_FALSE = @AIX4_FALSE@
+ AIX4_TRUE = @AIX4_TRUE@
+@@ -159,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -169,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -192,12 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
++
+ INCLUDE_krb4 = @INCLUDE_krb4@
++
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
++
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -210,6 +130,7 @@
+ KRB5_TRUE = @KRB5_TRUE@
+ LDFLAGS = @LDFLAGS@
+ LEX = @LEX@
++
+ LEXLIB = @LEXLIB@
+ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+ LIBOBJS = @LIBOBJS@
+@@ -218,6 +139,7 @@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+ LIB_XauFileName = @LIB_XauFileName@
++
+ LIB_XauReadAuth = @LIB_XauReadAuth@
+ LIB_XauWriteAuth = @LIB_XauWriteAuth@
+ LIB_bswap16 = @LIB_bswap16@
+@@ -266,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -346,7 +270,6 @@
+ libexecdir = @libexecdir@
+ localstatedir = @localstatedir@
+ mandir = @mandir@
+-mkdir_p = @mkdir_p@
+ oldincludedir = @oldincludedir@
+ prefix = @prefix@
+ program_transform_name = @program_transform_name@
+@@ -354,28 +277,50 @@
+ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
++
+ SUFFIXES = .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8
++
+ INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) $(INCLUDE_krb4) -I$(srcdir)/../login
++
+ @do_roken_rename_TRUE@ROKEN_RENAME = -DROKEN_RENAME
++
+ AM_CFLAGS = $(WFLAGS)
++
+ CP = cp
++
+ buildinclude = $(top_builddir)/include
+ LIB_getattr = @LIB_getattr@
+ LIB_getpwent_r = @LIB_getpwent_r@
+ LIB_odm_initialize = @LIB_odm_initialize@
+ LIB_setpcred = @LIB_setpcred@
++
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
++
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
++
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++
+ @KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
+ @KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+ 
+ @KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
++
+ @DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
++
++bin_PROGRAMS = rsh
++
+ man_MANS = rsh.1 rshd.8
++
++libexec_PROGRAMS = rshd
++
+ rsh_SOURCES = rsh.c common.c rsh_locl.h
++
+ rshd_SOURCES = rshd.c common.c login_access.c rsh_locl.h
++
+ LDADD = $(LIB_kafs) \
+ 	$(LIB_krb5) \
+ 	$(LIB_krb4) \
+@@ -383,50 +328,89 @@
+ 	$(LIB_roken) \
+ 	$(LIB_kdfs)
+ 
++subdir = appl/rsh
++ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
++mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++bin_PROGRAMS = rsh$(EXEEXT)
++libexec_PROGRAMS = rshd$(EXEEXT)
++PROGRAMS = $(bin_PROGRAMS) $(libexec_PROGRAMS)
++
++am_rsh_OBJECTS = rsh.$(OBJEXT) common.$(OBJEXT)
++rsh_OBJECTS = $(am_rsh_OBJECTS)
++rsh_LDADD = $(LDADD)
++@DCE_FALSE@@KRB5_TRUE@rsh_DEPENDENCIES = \
++@DCE_FALSE@@KRB5_TRUE@	$(top_builddir)/lib/kafs/libkafs.la \
++@DCE_FALSE@@KRB5_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la \
++@DCE_FALSE@@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@DCE_FALSE@@KRB5_FALSE@rsh_DEPENDENCIES = \
++@DCE_FALSE@@KRB5_FALSE@	$(top_builddir)/lib/kafs/libkafs.la
++@DCE_TRUE@@KRB5_TRUE@rsh_DEPENDENCIES = \
++@DCE_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/kafs/libkafs.la \
++@DCE_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la \
++@DCE_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la \
++@DCE_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@@KRB5_FALSE@rsh_DEPENDENCIES = \
++@DCE_TRUE@@KRB5_FALSE@	$(top_builddir)/lib/kafs/libkafs.la \
++@DCE_TRUE@@KRB5_FALSE@	$(top_builddir)/lib/kdfs/libkdfs.la
++rsh_LDFLAGS =
++am_rshd_OBJECTS = rshd.$(OBJEXT) common.$(OBJEXT) login_access.$(OBJEXT)
++rshd_OBJECTS = $(am_rshd_OBJECTS)
++rshd_LDADD = $(LDADD)
++@DCE_FALSE@@KRB5_TRUE@rshd_DEPENDENCIES = \
++@DCE_FALSE@@KRB5_TRUE@	$(top_builddir)/lib/kafs/libkafs.la \
++@DCE_FALSE@@KRB5_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la \
++@DCE_FALSE@@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@DCE_FALSE@@KRB5_FALSE@rshd_DEPENDENCIES = \
++@DCE_FALSE@@KRB5_FALSE@	$(top_builddir)/lib/kafs/libkafs.la
++@DCE_TRUE@@KRB5_TRUE@rshd_DEPENDENCIES = \
++@DCE_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/kafs/libkafs.la \
++@DCE_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la \
++@DCE_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la \
++@DCE_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@@KRB5_FALSE@rshd_DEPENDENCIES = \
++@DCE_TRUE@@KRB5_FALSE@	$(top_builddir)/lib/kafs/libkafs.la \
++@DCE_TRUE@@KRB5_FALSE@	$(top_builddir)/lib/kdfs/libkdfs.la
++rshd_LDFLAGS =
++
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
++depcomp =
++am__depfiles_maybe =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++CCLD = $(CC)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++DIST_SOURCES = $(rsh_SOURCES) $(rshd_SOURCES)
++MANS = $(man_MANS)
++DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/Makefile.am.common \
++	$(top_srcdir)/cf/Makefile.am.common ChangeLog Makefile.am
++SOURCES = $(rsh_SOURCES) $(rshd_SOURCES)
++
+ all: all-am
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj
+-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(am__configure_deps)
+-	@for dep in $?; do \
+-	  case '$(am__configure_deps)' in \
+-	    *$$dep*) \
+-	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+-		&& exit 0; \
+-	      exit 1;; \
+-	  esac; \
+-	done; \
+-	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  --ignore-deps appl/rsh/Makefile'; \
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+-	  $(AUTOMAKE) --foreign  --ignore-deps appl/rsh/Makefile
+-.PRECIOUS: Makefile
+-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+-	@case '$?' in \
+-	  *config.status*) \
+-	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+-	  *) \
+-	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+-	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+-	esac;
+-
+-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-
+-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
++	  $(AUTOMAKE) --foreign  appl/rsh/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
++binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ install-binPROGRAMS: $(bin_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
++	$(mkinstalldirs) $(DESTDIR)$(bindir)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+ 	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+ 	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+-	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
+-	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f || exit 1; \
+ 	  else :; fi; \
+ 	done
+ 
+@@ -434,8 +418,8 @@
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+ 	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
+-	  rm -f "$(DESTDIR)$(bindir)/$$f"; \
++	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
++	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+ clean-binPROGRAMS:
+@@ -444,17 +428,18 @@
+ 	  echo " rm -f $$p $$f"; \
+ 	  rm -f $$p $$f ; \
+ 	done
++libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ install-libexecPROGRAMS: $(libexec_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(libexecdir)" || $(mkdir_p) "$(DESTDIR)$(libexecdir)"
++	$(mkinstalldirs) $(DESTDIR)$(libexecdir)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+ 	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+ 	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+-	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(libexecdir)/$$f'"; \
+-	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(libexecdir)/$$f" || exit 1; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f || exit 1; \
+ 	  else :; fi; \
+ 	done
+ 
+@@ -462,8 +447,8 @@
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+ 	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  echo " rm -f '$(DESTDIR)$(libexecdir)/$$f'"; \
+-	  rm -f "$(DESTDIR)$(libexecdir)/$$f"; \
++	  echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
++	  rm -f $(DESTDIR)$(libexecdir)/$$f; \
+ 	done
+ 
+ clean-libexecPROGRAMS:
+@@ -480,19 +465,19 @@
+ 	$(LINK) $(rshd_LDFLAGS) $(rshd_OBJECTS) $(rshd_LDADD) $(LIBS)
+ 
+ mostlyclean-compile:
+-	-rm -f *.$(OBJEXT)
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ .c.obj:
+-	$(COMPILE) -c `$(CYGPATH_W) '$<'`
++	$(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
+ 
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ mostlyclean-libtool:
+ 	-rm -f *.lo
+@@ -503,9 +488,11 @@
+ distclean-libtool:
+ 	-rm -f libtool
+ uninstall-info-am:
++
++man1dir = $(mandir)/man1
+ install-man1: $(man1_MANS) $(man_MANS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(man1dir)" || $(mkdir_p) "$(DESTDIR)$(man1dir)"
++	$(mkinstalldirs) $(DESTDIR)$(man1dir)
+ 	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
+ 	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
+ 	for i in $$l2; do \
+@@ -524,8 +511,8 @@
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+-	  echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
+-	  $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst"; \
++	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
++	  $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
+ 	done
+ uninstall-man1:
+ 	@$(NORMAL_UNINSTALL)
+@@ -545,12 +532,14 @@
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+-	  echo " rm -f '$(DESTDIR)$(man1dir)/$$inst'"; \
+-	  rm -f "$(DESTDIR)$(man1dir)/$$inst"; \
++	  echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
++	  rm -f $(DESTDIR)$(man1dir)/$$inst; \
+ 	done
++
++man8dir = $(mandir)/man8
+ install-man8: $(man8_MANS) $(man_MANS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(man8dir)" || $(mkdir_p) "$(DESTDIR)$(man8dir)"
++	$(mkinstalldirs) $(DESTDIR)$(man8dir)
+ 	@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
+ 	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
+ 	for i in $$l2; do \
+@@ -569,8 +558,8 @@
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+-	  echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man8dir)/$$inst'"; \
+-	  $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man8dir)/$$inst"; \
++	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst"; \
++	  $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst; \
+ 	done
+ uninstall-man8:
+ 	@$(NORMAL_UNINSTALL)
+@@ -590,10 +579,18 @@
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+-	  echo " rm -f '$(DESTDIR)$(man8dir)/$$inst'"; \
+-	  rm -f "$(DESTDIR)$(man8dir)/$$inst"; \
++	  echo " rm -f $(DESTDIR)$(man8dir)/$$inst"; \
++	  rm -f $(DESTDIR)$(man8dir)/$$inst; \
+ 	done
+ 
++ETAGS = etags
++ETAGSFLAGS =
++
++CTAGS = ctags
++CTAGSFLAGS =
++
++tags: TAGS
++
+ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ 	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ 	unique=`for i in $$list; do \
+@@ -602,7 +599,6 @@
+ 	  $(AWK) '    { files[$$0] = 1; } \
+ 	       END { for (i in files) print i; }'`; \
+ 	mkid -fID $$unique
+-tags: TAGS
+ 
+ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -617,6 +613,7 @@
+ 	test -z "$(ETAGS_ARGS)$$tags$$unique" \
+ 	  || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ 	     $$tags $$unique
++
+ ctags: CTAGS
+ CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -639,9 +636,13 @@
+ 
+ distclean-tags:
+ 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	$(mkdir_p) $(distdir)/../.. $(distdir)/../../cf
++	$(mkinstalldirs) $(distdir)/../.. $(distdir)/../../cf
+ 	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ 	list='$(DISTFILES)'; for file in $$list; do \
+@@ -653,7 +654,7 @@
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ 	    dir="/$$dir"; \
+-	    $(mkdir_p) "$(distdir)$$dir"; \
++	    $(mkinstalldirs) "$(distdir)$$dir"; \
+ 	  else \
+ 	    dir=''; \
+ 	  fi; \
+@@ -675,10 +676,9 @@
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+ all-am: Makefile $(PROGRAMS) $(MANS) all-local
++
+ installdirs:
+-	for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(libexecdir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man8dir)"; do \
+-	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
+-	done
++	$(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(libexecdir) $(DESTDIR)$(man1dir) $(DESTDIR)$(man8dir)
+ install: install-am
+ install-exec: install-exec-am
+ install-data: install-data-am
+@@ -717,8 +717,6 @@
+ 
+ dvi-am:
+ 
+-html: html-am
+-
+ info: info-am
+ 
+ info-am:
+@@ -763,17 +761,16 @@
+ 	clean clean-binPROGRAMS clean-generic clean-libexecPROGRAMS \
+ 	clean-libtool ctags distclean distclean-compile \
+ 	distclean-generic distclean-libtool distclean-tags distdir dvi \
+-	dvi-am html html-am info info-am install install-am \
+-	install-binPROGRAMS install-data install-data-am install-exec \
+-	install-exec-am install-info install-info-am \
+-	install-libexecPROGRAMS install-man install-man1 install-man8 \
+-	install-strip installcheck installcheck-am installdirs \
+-	maintainer-clean maintainer-clean-generic mostlyclean \
+-	mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
+-	pdf pdf-am ps ps-am tags uninstall uninstall-am \
+-	uninstall-binPROGRAMS uninstall-info-am \
+-	uninstall-libexecPROGRAMS uninstall-man uninstall-man1 \
+-	uninstall-man8
++	dvi-am info info-am install install-am install-binPROGRAMS \
++	install-data install-data-am install-exec install-exec-am \
++	install-info install-info-am install-libexecPROGRAMS \
++	install-man install-man1 install-man8 install-strip \
++	installcheck installcheck-am installdirs maintainer-clean \
++	maintainer-clean-generic mostlyclean mostlyclean-compile \
++	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
++	tags uninstall uninstall-am uninstall-binPROGRAMS \
++	uninstall-info-am uninstall-libexecPROGRAMS uninstall-man \
++	uninstall-man1 uninstall-man8
+ 
+ 
+ install-suid-programs:
+diff -ruN heimdal-0.6.3-old/appl/su/Makefile.in heimdal-0.6.3/appl/su/Makefile.in
+--- heimdal-0.6.3-old/appl/su/Makefile.in	2004-09-13 22:29:04.000000000 +1000
++++ heimdal-0.6.3/appl/su/Makefile.in	2004-09-14 08:39:47.000000000 +1000
+@@ -1,8 +1,8 @@
+-# Makefile.in generated by automake 1.8.3 from Makefile.am.
++# Makefile.in generated by automake 1.7.9 from Makefile.am.
+ # @configure_input@
+ 
+-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+-# 2003, 2004  Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
++# 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.
+@@ -20,8 +20,6 @@
+ 
+ # $Id: Makefile.am.common,v 1.37.2.2 2003/10/13 13:15:39 joda Exp $
+ 
+-SOURCES = $(su_SOURCES)
+-
+ srcdir = @srcdir@
+ top_srcdir = @top_srcdir@
+ VPATH = @srcdir@
+@@ -29,6 +27,7 @@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+ top_builddir = ../..
++
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+ INSTALL = @INSTALL@
+ install_sh_DATA = $(install_sh) -c -m 644
+@@ -43,84 +42,6 @@
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+ host_triplet = @host@
+-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+-	$(top_srcdir)/Makefile.am.common \
+-	$(top_srcdir)/cf/Makefile.am.common ChangeLog
+-bin_PROGRAMS = su$(EXEEXT)
+-subdir = appl/su
+-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+-am__aclocal_m4_deps = $(top_srcdir)/cf/aix.m4 \
+-	$(top_srcdir)/cf/auth-modules.m4 \
+-	$(top_srcdir)/cf/broken-getaddrinfo.m4 \
+-	$(top_srcdir)/cf/broken-getnameinfo.m4 \
+-	$(top_srcdir)/cf/broken-glob.m4 \
+-	$(top_srcdir)/cf/broken-realloc.m4 \
+-	$(top_srcdir)/cf/broken-snprintf.m4 $(top_srcdir)/cf/broken.m4 \
+-	$(top_srcdir)/cf/broken2.m4 $(top_srcdir)/cf/c-attribute.m4 \
+-	$(top_srcdir)/cf/capabilities.m4 \
+-	$(top_srcdir)/cf/check-compile-et.m4 \
+-	$(top_srcdir)/cf/check-declaration.m4 \
+-	$(top_srcdir)/cf/check-getpwnam_r-posix.m4 \
+-	$(top_srcdir)/cf/check-man.m4 \
+-	$(top_srcdir)/cf/check-netinet-ip-and-tcp.m4 \
+-	$(top_srcdir)/cf/check-type-extra.m4 \
+-	$(top_srcdir)/cf/check-var.m4 $(top_srcdir)/cf/check-x.m4 \
+-	$(top_srcdir)/cf/check-xau.m4 $(top_srcdir)/cf/crypto.m4 \
+-	$(top_srcdir)/cf/db.m4 $(top_srcdir)/cf/destdirs.m4 \
+-	$(top_srcdir)/cf/dlopen.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs2.m4 \
+-	$(top_srcdir)/cf/find-func.m4 \
+-	$(top_srcdir)/cf/find-if-not-broken.m4 \
+-	$(top_srcdir)/cf/have-struct-field.m4 \
+-	$(top_srcdir)/cf/have-type.m4 $(top_srcdir)/cf/irix.m4 \
+-	$(top_srcdir)/cf/krb-bigendian.m4 \
+-	$(top_srcdir)/cf/krb-func-getlogin.m4 \
+-	$(top_srcdir)/cf/krb-ipv6.m4 $(top_srcdir)/cf/krb-prog-ln-s.m4 \
+-	$(top_srcdir)/cf/krb-readline.m4 \
+-	$(top_srcdir)/cf/krb-struct-spwd.m4 \
+-	$(top_srcdir)/cf/krb-struct-winsize.m4 \
+-	$(top_srcdir)/cf/mips-abi.m4 $(top_srcdir)/cf/misc.m4 \
+-	$(top_srcdir)/cf/need-proto.m4 $(top_srcdir)/cf/osfc2.m4 \
+-	$(top_srcdir)/cf/otp.m4 $(top_srcdir)/cf/proto-compat.m4 \
+-	$(top_srcdir)/cf/retsigtype.m4 $(top_srcdir)/cf/roken-frag.m4 \
+-	$(top_srcdir)/cf/sunos.m4 $(top_srcdir)/cf/telnet.m4 \
+-	$(top_srcdir)/cf/test-package.m4 $(top_srcdir)/cf/wflags.m4 \
+-	$(top_srcdir)/cf/with-all.m4 $(top_srcdir)/configure.in
+-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+-	$(ACLOCAL_M4)
+-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = $(top_builddir)/include/config.h
+-CONFIG_CLEAN_FILES =
+-am__installdirs = "$(DESTDIR)$(bindir)"
+-binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+-PROGRAMS = $(bin_PROGRAMS)
+-am_su_OBJECTS = su.$(OBJEXT)
+-su_OBJECTS = $(am_su_OBJECTS)
+-su_LDADD = $(LDADD)
+-am__DEPENDENCIES_1 =
+-am__DEPENDENCIES_2 = $(top_builddir)/lib/kafs/libkafs.la \
+-	$(am__DEPENDENCIES_1)
+-su_DEPENDENCIES = $(am__DEPENDENCIES_2) \
+-	$(top_builddir)/lib/krb5/libkrb5.la $(am__DEPENDENCIES_1) \
+-	$(am__DEPENDENCIES_1) $(top_builddir)/lib/asn1/libasn1.la \
+-	$(am__DEPENDENCIES_1)
+-DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
+-depcomp =
+-am__depfiles_maybe =
+-COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+-	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) \
+-	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+-	$(AM_CFLAGS) $(CFLAGS)
+-CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+-	$(AM_LDFLAGS) $(LDFLAGS) -o $@
+-SOURCES = $(su_SOURCES)
+-DIST_SOURCES = $(su_SOURCES)
+-ETAGS = etags
+-CTAGS = ctags
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ ACLOCAL = @ACLOCAL@
+ AIX4_FALSE = @AIX4_FALSE@
+ AIX4_TRUE = @AIX4_TRUE@
+@@ -145,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -155,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -178,12 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
++
+ INCLUDE_krb4 = @INCLUDE_krb4@
++
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
++
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -196,6 +130,7 @@
+ KRB5_TRUE = @KRB5_TRUE@
+ LDFLAGS = @LDFLAGS@
+ LEX = @LEX@
++
+ LEXLIB = @LEXLIB@
+ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+ LIBOBJS = @LIBOBJS@
+@@ -204,6 +139,7 @@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+ LIB_XauFileName = @LIB_XauFileName@
++
+ LIB_XauReadAuth = @LIB_XauReadAuth@
+ LIB_XauWriteAuth = @LIB_XauWriteAuth@
+ LIB_bswap16 = @LIB_bswap16@
+@@ -252,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -332,7 +270,6 @@
+ libexecdir = @libexecdir@
+ localstatedir = @localstatedir@
+ mandir = @mandir@
+-mkdir_p = @mkdir_p@
+ oldincludedir = @oldincludedir@
+ prefix = @prefix@
+ program_transform_name = @program_transform_name@
+@@ -340,27 +277,44 @@
+ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
++
+ SUFFIXES = .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8
++
+ INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) $(INCLUDE_krb4) $(INCLUDE_des)
++
+ @do_roken_rename_TRUE@ROKEN_RENAME = -DROKEN_RENAME
++
+ AM_CFLAGS = $(WFLAGS)
++
+ CP = cp
++
+ buildinclude = $(top_builddir)/include
+ LIB_getattr = @LIB_getattr@
+ LIB_getpwent_r = @LIB_getpwent_r@
+ LIB_odm_initialize = @LIB_odm_initialize@
+ LIB_setpcred = @LIB_setpcred@
++
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
++
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
++
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++
+ @KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
+ @KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+ 
+ @KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
++
+ @DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
++
++bin_PROGRAMS = su
+ bin_SUIDS = su
+ su_SOURCES = su.c
++
+ LDADD = $(LIB_kafs) \
+ 	$(top_builddir)/lib/krb5/libkrb5.la \
+ 	$(LIB_krb4) \
+@@ -368,50 +322,58 @@
+ 	$(top_builddir)/lib/asn1/libasn1.la \
+ 	$(LIB_roken)
+ 
++subdir = appl/su
++ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
++mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++bin_PROGRAMS = su$(EXEEXT)
++PROGRAMS = $(bin_PROGRAMS)
++
++am_su_OBJECTS = su.$(OBJEXT)
++su_OBJECTS = $(am_su_OBJECTS)
++su_LDADD = $(LDADD)
++su_DEPENDENCIES = $(top_builddir)/lib/kafs/libkafs.la \
++	$(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++su_LDFLAGS =
++
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
++depcomp =
++am__depfiles_maybe =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++CCLD = $(CC)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++DIST_SOURCES = $(su_SOURCES)
++DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/Makefile.am.common \
++	$(top_srcdir)/cf/Makefile.am.common ChangeLog Makefile.am
++SOURCES = $(su_SOURCES)
++
+ all: all-am
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj
+-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(am__configure_deps)
+-	@for dep in $?; do \
+-	  case '$(am__configure_deps)' in \
+-	    *$$dep*) \
+-	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+-		&& exit 0; \
+-	      exit 1;; \
+-	  esac; \
+-	done; \
+-	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  --ignore-deps appl/su/Makefile'; \
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+-	  $(AUTOMAKE) --foreign  --ignore-deps appl/su/Makefile
+-.PRECIOUS: Makefile
+-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+-	@case '$?' in \
+-	  *config.status*) \
+-	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+-	  *) \
+-	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+-	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+-	esac;
+-
+-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-
+-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
++	  $(AUTOMAKE) --foreign  appl/su/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
++binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ install-binPROGRAMS: $(bin_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
++	$(mkinstalldirs) $(DESTDIR)$(bindir)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+ 	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+ 	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+-	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
+-	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f || exit 1; \
+ 	  else :; fi; \
+ 	done
+ 
+@@ -419,8 +381,8 @@
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+ 	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
+-	  rm -f "$(DESTDIR)$(bindir)/$$f"; \
++	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
++	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+ clean-binPROGRAMS:
+@@ -434,19 +396,19 @@
+ 	$(LINK) $(su_LDFLAGS) $(su_OBJECTS) $(su_LDADD) $(LIBS)
+ 
+ mostlyclean-compile:
+-	-rm -f *.$(OBJEXT)
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ .c.obj:
+-	$(COMPILE) -c `$(CYGPATH_W) '$<'`
++	$(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
+ 
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ mostlyclean-libtool:
+ 	-rm -f *.lo
+@@ -458,6 +420,14 @@
+ 	-rm -f libtool
+ uninstall-info-am:
+ 
++ETAGS = etags
++ETAGSFLAGS =
++
++CTAGS = ctags
++CTAGSFLAGS =
++
++tags: TAGS
++
+ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ 	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ 	unique=`for i in $$list; do \
+@@ -466,7 +436,6 @@
+ 	  $(AWK) '    { files[$$0] = 1; } \
+ 	       END { for (i in files) print i; }'`; \
+ 	mkid -fID $$unique
+-tags: TAGS
+ 
+ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -481,6 +450,7 @@
+ 	test -z "$(ETAGS_ARGS)$$tags$$unique" \
+ 	  || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ 	     $$tags $$unique
++
+ ctags: CTAGS
+ CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -503,9 +473,13 @@
+ 
+ distclean-tags:
+ 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	$(mkdir_p) $(distdir)/../.. $(distdir)/../../cf
++	$(mkinstalldirs) $(distdir)/../.. $(distdir)/../../cf
+ 	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ 	list='$(DISTFILES)'; for file in $$list; do \
+@@ -517,7 +491,7 @@
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ 	    dir="/$$dir"; \
+-	    $(mkdir_p) "$(distdir)$$dir"; \
++	    $(mkinstalldirs) "$(distdir)$$dir"; \
+ 	  else \
+ 	    dir=''; \
+ 	  fi; \
+@@ -539,10 +513,9 @@
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+ all-am: Makefile $(PROGRAMS) all-local
++
+ installdirs:
+-	for dir in "$(DESTDIR)$(bindir)"; do \
+-	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
+-	done
++	$(mkinstalldirs) $(DESTDIR)$(bindir)
+ install: install-am
+ install-exec: install-exec-am
+ install-data: install-data-am
+@@ -580,8 +553,6 @@
+ 
+ dvi-am:
+ 
+-html: html-am
+-
+ info: info-am
+ 
+ info-am:
+@@ -621,16 +592,15 @@
+ 
+ .PHONY: CTAGS GTAGS all all-am all-local check check-am check-local \
+ 	clean clean-binPROGRAMS clean-generic clean-libtool ctags \
+-	distclean distclean-compile distclean-generic \
+-	distclean-libtool distclean-tags distdir dvi dvi-am html \
+-	html-am info info-am install install-am install-binPROGRAMS \
+-	install-data install-data-am install-exec install-exec-am \
+-	install-info install-info-am install-man install-strip \
+-	installcheck installcheck-am installdirs maintainer-clean \
+-	maintainer-clean-generic mostlyclean mostlyclean-compile \
+-	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+-	tags uninstall uninstall-am uninstall-binPROGRAMS \
+-	uninstall-info-am
++	distclean distclean-compile distclean-generic distclean-libtool \
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-binPROGRAMS install-data install-data-am \
++	install-exec install-exec-am install-info install-info-am \
++	install-man install-strip installcheck installcheck-am \
++	installdirs maintainer-clean maintainer-clean-generic \
++	mostlyclean mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
++	uninstall-am uninstall-binPROGRAMS uninstall-info-am
+ 
+ 
+ install-suid-programs:
+diff -ruN heimdal-0.6.3-old/appl/telnet/libtelnet/Makefile.in heimdal-0.6.3/appl/telnet/libtelnet/Makefile.in
+--- heimdal-0.6.3-old/appl/telnet/libtelnet/Makefile.in	2004-09-13 22:29:06.000000000 +1000
++++ heimdal-0.6.3/appl/telnet/libtelnet/Makefile.in	2004-09-14 08:39:48.000000000 +1000
+@@ -1,8 +1,8 @@
+-# Makefile.in generated by automake 1.8.3 from Makefile.am.
++# Makefile.in generated by automake 1.7.9 from Makefile.am.
+ # @configure_input@
+ 
+-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+-# 2003, 2004  Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
++# 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.
+@@ -20,8 +20,6 @@
+ 
+ # $Id: Makefile.am.common,v 1.37.2.2 2003/10/13 13:15:39 joda Exp $
+ 
+-SOURCES = $(libtelnet_a_SOURCES)
+-
+ srcdir = @srcdir@
+ top_srcdir = @top_srcdir@
+ VPATH = @srcdir@
+@@ -29,6 +27,7 @@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+ top_builddir = ../../..
++
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+ INSTALL = @INSTALL@
+ install_sh_DATA = $(install_sh) -c -m 644
+@@ -43,78 +42,6 @@
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+ host_triplet = @host@
+-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+-	$(top_srcdir)/Makefile.am.common \
+-	$(top_srcdir)/cf/Makefile.am.common
+-subdir = appl/telnet/libtelnet
+-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+-am__aclocal_m4_deps = $(top_srcdir)/cf/aix.m4 \
+-	$(top_srcdir)/cf/auth-modules.m4 \
+-	$(top_srcdir)/cf/broken-getaddrinfo.m4 \
+-	$(top_srcdir)/cf/broken-getnameinfo.m4 \
+-	$(top_srcdir)/cf/broken-glob.m4 \
+-	$(top_srcdir)/cf/broken-realloc.m4 \
+-	$(top_srcdir)/cf/broken-snprintf.m4 $(top_srcdir)/cf/broken.m4 \
+-	$(top_srcdir)/cf/broken2.m4 $(top_srcdir)/cf/c-attribute.m4 \
+-	$(top_srcdir)/cf/capabilities.m4 \
+-	$(top_srcdir)/cf/check-compile-et.m4 \
+-	$(top_srcdir)/cf/check-declaration.m4 \
+-	$(top_srcdir)/cf/check-getpwnam_r-posix.m4 \
+-	$(top_srcdir)/cf/check-man.m4 \
+-	$(top_srcdir)/cf/check-netinet-ip-and-tcp.m4 \
+-	$(top_srcdir)/cf/check-type-extra.m4 \
+-	$(top_srcdir)/cf/check-var.m4 $(top_srcdir)/cf/check-x.m4 \
+-	$(top_srcdir)/cf/check-xau.m4 $(top_srcdir)/cf/crypto.m4 \
+-	$(top_srcdir)/cf/db.m4 $(top_srcdir)/cf/destdirs.m4 \
+-	$(top_srcdir)/cf/dlopen.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs2.m4 \
+-	$(top_srcdir)/cf/find-func.m4 \
+-	$(top_srcdir)/cf/find-if-not-broken.m4 \
+-	$(top_srcdir)/cf/have-struct-field.m4 \
+-	$(top_srcdir)/cf/have-type.m4 $(top_srcdir)/cf/irix.m4 \
+-	$(top_srcdir)/cf/krb-bigendian.m4 \
+-	$(top_srcdir)/cf/krb-func-getlogin.m4 \
+-	$(top_srcdir)/cf/krb-ipv6.m4 $(top_srcdir)/cf/krb-prog-ln-s.m4 \
+-	$(top_srcdir)/cf/krb-readline.m4 \
+-	$(top_srcdir)/cf/krb-struct-spwd.m4 \
+-	$(top_srcdir)/cf/krb-struct-winsize.m4 \
+-	$(top_srcdir)/cf/mips-abi.m4 $(top_srcdir)/cf/misc.m4 \
+-	$(top_srcdir)/cf/need-proto.m4 $(top_srcdir)/cf/osfc2.m4 \
+-	$(top_srcdir)/cf/otp.m4 $(top_srcdir)/cf/proto-compat.m4 \
+-	$(top_srcdir)/cf/retsigtype.m4 $(top_srcdir)/cf/roken-frag.m4 \
+-	$(top_srcdir)/cf/sunos.m4 $(top_srcdir)/cf/telnet.m4 \
+-	$(top_srcdir)/cf/test-package.m4 $(top_srcdir)/cf/wflags.m4 \
+-	$(top_srcdir)/cf/with-all.m4 $(top_srcdir)/configure.in
+-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+-	$(ACLOCAL_M4)
+-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = $(top_builddir)/include/config.h
+-CONFIG_CLEAN_FILES =
+-ARFLAGS = cru
+-LIBRARIES = $(noinst_LIBRARIES)
+-libtelnet_a_AR = $(AR) $(ARFLAGS)
+-libtelnet_a_LIBADD =
+-am_libtelnet_a_OBJECTS = auth.$(OBJEXT) enc_des.$(OBJEXT) \
+-	encrypt.$(OBJEXT) genget.$(OBJEXT) kerberos.$(OBJEXT) \
+-	kerberos5.$(OBJEXT) misc.$(OBJEXT)
+-libtelnet_a_OBJECTS = $(am_libtelnet_a_OBJECTS)
+-DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
+-depcomp =
+-am__depfiles_maybe =
+-COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+-	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) \
+-	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+-	$(AM_CFLAGS) $(CFLAGS)
+-CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+-	$(AM_LDFLAGS) $(LDFLAGS) -o $@
+-SOURCES = $(libtelnet_a_SOURCES)
+-DIST_SOURCES = $(libtelnet_a_SOURCES)
+-ETAGS = etags
+-CTAGS = ctags
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ ACLOCAL = @ACLOCAL@
+ AIX4_FALSE = @AIX4_FALSE@
+ AIX4_TRUE = @AIX4_TRUE@
+@@ -139,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -149,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -172,12 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
++
+ INCLUDE_krb4 = @INCLUDE_krb4@
++
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
++
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -190,6 +130,7 @@
+ KRB5_TRUE = @KRB5_TRUE@
+ LDFLAGS = @LDFLAGS@
+ LEX = @LEX@
++
+ LEXLIB = @LEXLIB@
+ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+ LIBOBJS = @LIBOBJS@
+@@ -198,6 +139,7 @@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+ LIB_XauFileName = @LIB_XauFileName@
++
+ LIB_XauReadAuth = @LIB_XauReadAuth@
+ LIB_XauWriteAuth = @LIB_XauWriteAuth@
+ LIB_bswap16 = @LIB_bswap16@
+@@ -246,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -326,7 +270,6 @@
+ libexecdir = @libexecdir@
+ localstatedir = @localstatedir@
+ mandir = @mandir@
+-mkdir_p = @mkdir_p@
+ oldincludedir = @oldincludedir@
+ prefix = @prefix@
+ program_transform_name = @program_transform_name@
+@@ -334,26 +277,42 @@
+ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
++
+ SUFFIXES = .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8
++
+ INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) -I$(srcdir)/.. $(INCLUDE_krb4) $(INCLUDE_des)
++
+ @do_roken_rename_TRUE@ROKEN_RENAME = -DROKEN_RENAME
++
+ AM_CFLAGS = $(WFLAGS)
++
+ CP = cp
++
+ buildinclude = $(top_builddir)/include
+ LIB_getattr = @LIB_getattr@
+ LIB_getpwent_r = @LIB_getpwent_r@
+ LIB_odm_initialize = @LIB_odm_initialize@
+ LIB_setpcred = @LIB_setpcred@
++
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
++
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
++
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++
+ @KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
+ @KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+ 
+ @KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
++
+ @DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
++
+ noinst_LIBRARIES = libtelnet.a
++
+ libtelnet_a_SOURCES = \
+ 	auth-proto.h	\
+ 	auth.c		\
+@@ -369,40 +328,46 @@
+ 	misc.c		\
+ 	misc.h
+ 
++
+ EXTRA_DIST = krb4encpwd.c rsaencpwd.c spx.c
++subdir = appl/telnet/libtelnet
++ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
++mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++LIBRARIES = $(noinst_LIBRARIES)
++
++libtelnet_a_AR = $(AR) cru
++libtelnet_a_LIBADD =
++am_libtelnet_a_OBJECTS = auth.$(OBJEXT) enc_des.$(OBJEXT) \
++	encrypt.$(OBJEXT) genget.$(OBJEXT) kerberos.$(OBJEXT) \
++	kerberos5.$(OBJEXT) misc.$(OBJEXT)
++libtelnet_a_OBJECTS = $(am_libtelnet_a_OBJECTS)
++
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
++depcomp =
++am__depfiles_maybe =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++CCLD = $(CC)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++DIST_SOURCES = $(libtelnet_a_SOURCES)
++DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/Makefile.am.common \
++	$(top_srcdir)/cf/Makefile.am.common Makefile.am
++SOURCES = $(libtelnet_a_SOURCES)
++
+ all: all-am
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj
+-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(am__configure_deps)
+-	@for dep in $?; do \
+-	  case '$(am__configure_deps)' in \
+-	    *$$dep*) \
+-	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+-		&& exit 0; \
+-	      exit 1;; \
+-	  esac; \
+-	done; \
+-	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  --ignore-deps appl/telnet/libtelnet/Makefile'; \
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+-	  $(AUTOMAKE) --foreign  --ignore-deps appl/telnet/libtelnet/Makefile
+-.PRECIOUS: Makefile
+-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+-	@case '$?' in \
+-	  *config.status*) \
+-	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+-	  *) \
+-	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+-	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+-	esac;
+-
+-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-
+-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
++	  $(AUTOMAKE) --foreign  appl/telnet/libtelnet/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+ 
+ clean-noinstLIBRARIES:
+ 	-test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
+@@ -412,19 +377,19 @@
+ 	$(RANLIB) libtelnet.a
+ 
+ mostlyclean-compile:
+-	-rm -f *.$(OBJEXT)
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ .c.obj:
+-	$(COMPILE) -c `$(CYGPATH_W) '$<'`
++	$(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
+ 
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ mostlyclean-libtool:
+ 	-rm -f *.lo
+@@ -436,6 +401,14 @@
+ 	-rm -f libtool
+ uninstall-info-am:
+ 
++ETAGS = etags
++ETAGSFLAGS =
++
++CTAGS = ctags
++CTAGSFLAGS =
++
++tags: TAGS
++
+ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ 	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ 	unique=`for i in $$list; do \
+@@ -444,7 +417,6 @@
+ 	  $(AWK) '    { files[$$0] = 1; } \
+ 	       END { for (i in files) print i; }'`; \
+ 	mkid -fID $$unique
+-tags: TAGS
+ 
+ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -459,6 +431,7 @@
+ 	test -z "$(ETAGS_ARGS)$$tags$$unique" \
+ 	  || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ 	     $$tags $$unique
++
+ ctags: CTAGS
+ CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -481,9 +454,13 @@
+ 
+ distclean-tags:
+ 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++
++top_distdir = ../../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	$(mkdir_p) $(distdir)/../../.. $(distdir)/../../../cf
++	$(mkinstalldirs) $(distdir)/../../.. $(distdir)/../../../cf
+ 	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ 	list='$(DISTFILES)'; for file in $$list; do \
+@@ -495,7 +472,7 @@
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ 	    dir="/$$dir"; \
+-	    $(mkdir_p) "$(distdir)$$dir"; \
++	    $(mkinstalldirs) "$(distdir)$$dir"; \
+ 	  else \
+ 	    dir=''; \
+ 	  fi; \
+@@ -517,6 +494,7 @@
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+ all-am: Makefile $(LIBRARIES) all-local
++
+ installdirs:
+ install: install-am
+ install-exec: install-exec-am
+@@ -556,8 +534,6 @@
+ 
+ dvi-am:
+ 
+-html: html-am
+-
+ info: info-am
+ 
+ info-am:
+@@ -597,15 +573,14 @@
+ 
+ .PHONY: CTAGS GTAGS all all-am all-local check check-am check-local \
+ 	clean clean-generic clean-libtool clean-noinstLIBRARIES ctags \
+-	distclean distclean-compile distclean-generic \
+-	distclean-libtool distclean-tags distdir dvi dvi-am html \
+-	html-am info info-am install install-am install-data \
+-	install-data-am install-exec install-exec-am install-info \
+-	install-info-am install-man install-strip installcheck \
+-	installcheck-am installdirs maintainer-clean \
+-	maintainer-clean-generic mostlyclean mostlyclean-compile \
+-	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+-	tags uninstall uninstall-am uninstall-info-am
++	distclean distclean-compile distclean-generic distclean-libtool \
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-data install-data-am install-exec \
++	install-exec-am install-info install-info-am install-man \
++	install-strip installcheck installcheck-am installdirs \
++	maintainer-clean maintainer-clean-generic mostlyclean \
++	mostlyclean-compile mostlyclean-generic mostlyclean-libtool pdf \
++	pdf-am ps ps-am tags uninstall uninstall-am uninstall-info-am
+ 
+ 
+ install-suid-programs:
+diff -ruN heimdal-0.6.3-old/appl/telnet/Makefile.in heimdal-0.6.3/appl/telnet/Makefile.in
+--- heimdal-0.6.3-old/appl/telnet/Makefile.in	2004-09-13 22:29:05.000000000 +1000
++++ heimdal-0.6.3/appl/telnet/Makefile.in	2004-09-14 08:39:48.000000000 +1000
+@@ -1,8 +1,8 @@
+-# Makefile.in generated by automake 1.8.3 from Makefile.am.
++# Makefile.in generated by automake 1.7.9 from Makefile.am.
+ # @configure_input@
+ 
+-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+-# 2003, 2004  Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
++# 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.
+@@ -19,6 +19,7 @@
+ # $Id: Makefile.am.common,v 1.5 2002/05/19 18:35:37 joda Exp $
+ 
+ # $Id: Makefile.am.common,v 1.37.2.2 2003/10/13 13:15:39 joda Exp $
++
+ srcdir = @srcdir@
+ top_srcdir = @top_srcdir@
+ VPATH = @srcdir@
+@@ -26,6 +27,7 @@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+ top_builddir = ../..
++
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+ INSTALL = @INSTALL@
+ install_sh_DATA = $(install_sh) -c -m 644
+@@ -40,68 +42,6 @@
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+ host_triplet = @host@
+-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+-	$(top_srcdir)/Makefile.am.common \
+-	$(top_srcdir)/cf/Makefile.am.common ChangeLog
+-subdir = appl/telnet
+-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+-am__aclocal_m4_deps = $(top_srcdir)/cf/aix.m4 \
+-	$(top_srcdir)/cf/auth-modules.m4 \
+-	$(top_srcdir)/cf/broken-getaddrinfo.m4 \
+-	$(top_srcdir)/cf/broken-getnameinfo.m4 \
+-	$(top_srcdir)/cf/broken-glob.m4 \
+-	$(top_srcdir)/cf/broken-realloc.m4 \
+-	$(top_srcdir)/cf/broken-snprintf.m4 $(top_srcdir)/cf/broken.m4 \
+-	$(top_srcdir)/cf/broken2.m4 $(top_srcdir)/cf/c-attribute.m4 \
+-	$(top_srcdir)/cf/capabilities.m4 \
+-	$(top_srcdir)/cf/check-compile-et.m4 \
+-	$(top_srcdir)/cf/check-declaration.m4 \
+-	$(top_srcdir)/cf/check-getpwnam_r-posix.m4 \
+-	$(top_srcdir)/cf/check-man.m4 \
+-	$(top_srcdir)/cf/check-netinet-ip-and-tcp.m4 \
+-	$(top_srcdir)/cf/check-type-extra.m4 \
+-	$(top_srcdir)/cf/check-var.m4 $(top_srcdir)/cf/check-x.m4 \
+-	$(top_srcdir)/cf/check-xau.m4 $(top_srcdir)/cf/crypto.m4 \
+-	$(top_srcdir)/cf/db.m4 $(top_srcdir)/cf/destdirs.m4 \
+-	$(top_srcdir)/cf/dlopen.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs2.m4 \
+-	$(top_srcdir)/cf/find-func.m4 \
+-	$(top_srcdir)/cf/find-if-not-broken.m4 \
+-	$(top_srcdir)/cf/have-struct-field.m4 \
+-	$(top_srcdir)/cf/have-type.m4 $(top_srcdir)/cf/irix.m4 \
+-	$(top_srcdir)/cf/krb-bigendian.m4 \
+-	$(top_srcdir)/cf/krb-func-getlogin.m4 \
+-	$(top_srcdir)/cf/krb-ipv6.m4 $(top_srcdir)/cf/krb-prog-ln-s.m4 \
+-	$(top_srcdir)/cf/krb-readline.m4 \
+-	$(top_srcdir)/cf/krb-struct-spwd.m4 \
+-	$(top_srcdir)/cf/krb-struct-winsize.m4 \
+-	$(top_srcdir)/cf/mips-abi.m4 $(top_srcdir)/cf/misc.m4 \
+-	$(top_srcdir)/cf/need-proto.m4 $(top_srcdir)/cf/osfc2.m4 \
+-	$(top_srcdir)/cf/otp.m4 $(top_srcdir)/cf/proto-compat.m4 \
+-	$(top_srcdir)/cf/retsigtype.m4 $(top_srcdir)/cf/roken-frag.m4 \
+-	$(top_srcdir)/cf/sunos.m4 $(top_srcdir)/cf/telnet.m4 \
+-	$(top_srcdir)/cf/test-package.m4 $(top_srcdir)/cf/wflags.m4 \
+-	$(top_srcdir)/cf/with-all.m4 $(top_srcdir)/configure.in
+-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+-	$(ACLOCAL_M4)
+-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = $(top_builddir)/include/config.h
+-CONFIG_CLEAN_FILES =
+-depcomp =
+-am__depfiles_maybe =
+-SOURCES =
+-DIST_SOURCES =
+-RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
+-	html-recursive info-recursive install-data-recursive \
+-	install-exec-recursive install-info-recursive \
+-	install-recursive installcheck-recursive installdirs-recursive \
+-	pdf-recursive ps-recursive uninstall-info-recursive \
+-	uninstall-recursive
+-ETAGS = etags
+-CTAGS = ctags
+-DIST_SUBDIRS = $(SUBDIRS)
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ ACLOCAL = @ACLOCAL@
+ AIX4_FALSE = @AIX4_FALSE@
+ AIX4_TRUE = @AIX4_TRUE@
+@@ -126,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -136,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -159,12 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
++
+ INCLUDE_krb4 = @INCLUDE_krb4@
++
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
++
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -177,6 +130,7 @@
+ KRB5_TRUE = @KRB5_TRUE@
+ LDFLAGS = @LDFLAGS@
+ LEX = @LEX@
++
+ LEXLIB = @LEXLIB@
+ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+ LIBOBJS = @LIBOBJS@
+@@ -185,6 +139,7 @@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+ LIB_XauFileName = @LIB_XauFileName@
++
+ LIB_XauReadAuth = @LIB_XauReadAuth@
+ LIB_XauWriteAuth = @LIB_XauWriteAuth@
+ LIB_bswap16 = @LIB_bswap16@
+@@ -233,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -313,7 +270,6 @@
+ libexecdir = @libexecdir@
+ localstatedir = @localstatedir@
+ mandir = @mandir@
+-mkdir_p = @mkdir_p@
+ oldincludedir = @oldincludedir@
+ prefix = @prefix@
+ program_transform_name = @program_transform_name@
+@@ -321,60 +277,69 @@
+ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
++
+ SUFFIXES = .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8
++
+ INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken)
++
+ @do_roken_rename_TRUE@ROKEN_RENAME = -DROKEN_RENAME
++
+ AM_CFLAGS = $(WFLAGS)
++
+ CP = cp
++
+ buildinclude = $(top_builddir)/include
+ LIB_getattr = @LIB_getattr@
+ LIB_getpwent_r = @LIB_getpwent_r@
+ LIB_odm_initialize = @LIB_odm_initialize@
+ LIB_setpcred = @LIB_setpcred@
++
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
++
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
++
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++
+ @KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
+ @KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+ 
+ @KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
++
+ @DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
++
+ SUBDIRS = libtelnet telnet telnetd
++
+ EXTRA_DIST = README.ORIG telnet.state
++subdir = appl/telnet
++ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
++mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++depcomp =
++am__depfiles_maybe =
++DIST_SOURCES =
++
++RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \
++	ps-recursive install-info-recursive uninstall-info-recursive \
++	all-recursive install-data-recursive install-exec-recursive \
++	installdirs-recursive install-recursive uninstall-recursive \
++	check-recursive installcheck-recursive
++DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/Makefile.am.common \
++	$(top_srcdir)/cf/Makefile.am.common ChangeLog Makefile.am
++DIST_SUBDIRS = $(SUBDIRS)
+ all: all-recursive
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c
+-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(am__configure_deps)
+-	@for dep in $?; do \
+-	  case '$(am__configure_deps)' in \
+-	    *$$dep*) \
+-	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+-		&& exit 0; \
+-	      exit 1;; \
+-	  esac; \
+-	done; \
+-	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  --ignore-deps appl/telnet/Makefile'; \
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+-	  $(AUTOMAKE) --foreign  --ignore-deps appl/telnet/Makefile
+-.PRECIOUS: Makefile
+-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+-	@case '$?' in \
+-	  *config.status*) \
+-	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+-	  *) \
+-	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+-	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+-	esac;
+-
+-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-
+-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
++	  $(AUTOMAKE) --foreign  appl/telnet/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+ 
+ mostlyclean-libtool:
+ 	-rm -f *.lo
+@@ -445,6 +410,14 @@
+ 	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
+ 	done
+ 
++ETAGS = etags
++ETAGSFLAGS =
++
++CTAGS = ctags
++CTAGSFLAGS =
++
++tags: TAGS
++
+ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ 	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ 	unique=`for i in $$list; do \
+@@ -453,7 +426,6 @@
+ 	  $(AWK) '    { files[$$0] = 1; } \
+ 	       END { for (i in files) print i; }'`; \
+ 	mkid -fID $$unique
+-tags: TAGS
+ 
+ TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -479,6 +451,7 @@
+ 	test -z "$(ETAGS_ARGS)$$tags$$unique" \
+ 	  || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ 	     $$tags $$unique
++
+ ctags: CTAGS
+ CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -501,9 +474,13 @@
+ 
+ distclean-tags:
+ 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	$(mkdir_p) $(distdir)/../.. $(distdir)/../../cf
++	$(mkinstalldirs) $(distdir)/../.. $(distdir)/../../cf
+ 	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ 	list='$(DISTFILES)'; for file in $$list; do \
+@@ -515,7 +492,7 @@
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ 	    dir="/$$dir"; \
+-	    $(mkdir_p) "$(distdir)$$dir"; \
++	    $(mkinstalldirs) "$(distdir)$$dir"; \
+ 	  else \
+ 	    dir=''; \
+ 	  fi; \
+@@ -532,13 +509,13 @@
+ 	done
+ 	list='$(SUBDIRS)'; for subdir in $$list; do \
+ 	  if test "$$subdir" = .; then :; else \
+-	    test -d "$(distdir)/$$subdir" \
+-	    || mkdir "$(distdir)/$$subdir" \
++	    test -d $(distdir)/$$subdir \
++	    || mkdir $(distdir)/$$subdir \
+ 	    || exit 1; \
+ 	    (cd $$subdir && \
+ 	      $(MAKE) $(AM_MAKEFLAGS) \
+-	        top_distdir="../$(top_distdir)" \
+-	        distdir="../$(distdir)/$$subdir" \
++	        top_distdir="$(top_distdir)" \
++	        distdir=../$(distdir)/$$subdir \
+ 	        distdir) \
+ 	      || exit 1; \
+ 	  fi; \
+@@ -552,6 +529,7 @@
+ all-am: Makefile all-local
+ installdirs: installdirs-recursive
+ installdirs-am:
++
+ install: install-recursive
+ install-exec: install-exec-recursive
+ install-data: install-data-recursive
+@@ -589,8 +567,6 @@
+ 
+ dvi-am:
+ 
+-html: html-recursive
+-
+ info: info-recursive
+ 
+ info-am:
+@@ -633,14 +609,18 @@
+ 	check-am check-local clean clean-generic clean-libtool \
+ 	clean-recursive ctags ctags-recursive distclean \
+ 	distclean-generic distclean-libtool distclean-recursive \
+-	distclean-tags distdir dvi dvi-am html html-am info info-am \
+-	install install-am install-data install-data-am install-exec \
+-	install-exec-am install-info install-info-am install-man \
++	distclean-tags distdir dvi dvi-am dvi-recursive info info-am \
++	info-recursive install install-am install-data install-data-am \
++	install-data-recursive install-exec install-exec-am \
++	install-exec-recursive install-info install-info-am \
++	install-info-recursive install-man install-recursive \
+ 	install-strip installcheck installcheck-am installdirs \
+-	installdirs-am maintainer-clean maintainer-clean-generic \
+-	maintainer-clean-recursive mostlyclean mostlyclean-generic \
+-	mostlyclean-libtool mostlyclean-recursive pdf pdf-am ps ps-am \
+-	tags tags-recursive uninstall uninstall-am uninstall-info-am
++	installdirs-am installdirs-recursive maintainer-clean \
++	maintainer-clean-generic maintainer-clean-recursive mostlyclean \
++	mostlyclean-generic mostlyclean-libtool mostlyclean-recursive \
++	pdf pdf-am pdf-recursive ps ps-am ps-recursive tags \
++	tags-recursive uninstall uninstall-am uninstall-info-am \
++	uninstall-info-recursive uninstall-recursive
+ 
+ 
+ install-suid-programs:
+diff -ruN heimdal-0.6.3-old/appl/telnet/telnet/Makefile.in heimdal-0.6.3/appl/telnet/telnet/Makefile.in
+--- heimdal-0.6.3-old/appl/telnet/telnet/Makefile.in	2004-09-13 22:29:07.000000000 +1000
++++ heimdal-0.6.3/appl/telnet/telnet/Makefile.in	2004-09-14 08:39:49.000000000 +1000
+@@ -1,8 +1,8 @@
+-# Makefile.in generated by automake 1.8.3 from Makefile.am.
++# Makefile.in generated by automake 1.7.9 from Makefile.am.
+ # @configure_input@
+ 
+-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+-# 2003, 2004  Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
++# 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.
+@@ -20,8 +20,6 @@
+ 
+ # $Id: Makefile.am.common,v 1.37.2.2 2003/10/13 13:15:39 joda Exp $
+ 
+-SOURCES = $(telnet_SOURCES)
+-
+ srcdir = @srcdir@
+ top_srcdir = @top_srcdir@
+ VPATH = @srcdir@
+@@ -29,6 +27,7 @@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+ top_builddir = ../../..
++
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+ INSTALL = @INSTALL@
+ install_sh_DATA = $(install_sh) -c -m 644
+@@ -43,90 +42,6 @@
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+ host_triplet = @host@
+-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+-	$(top_srcdir)/Makefile.am.common \
+-	$(top_srcdir)/cf/Makefile.am.common
+-bin_PROGRAMS = telnet$(EXEEXT)
+-subdir = appl/telnet/telnet
+-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+-am__aclocal_m4_deps = $(top_srcdir)/cf/aix.m4 \
+-	$(top_srcdir)/cf/auth-modules.m4 \
+-	$(top_srcdir)/cf/broken-getaddrinfo.m4 \
+-	$(top_srcdir)/cf/broken-getnameinfo.m4 \
+-	$(top_srcdir)/cf/broken-glob.m4 \
+-	$(top_srcdir)/cf/broken-realloc.m4 \
+-	$(top_srcdir)/cf/broken-snprintf.m4 $(top_srcdir)/cf/broken.m4 \
+-	$(top_srcdir)/cf/broken2.m4 $(top_srcdir)/cf/c-attribute.m4 \
+-	$(top_srcdir)/cf/capabilities.m4 \
+-	$(top_srcdir)/cf/check-compile-et.m4 \
+-	$(top_srcdir)/cf/check-declaration.m4 \
+-	$(top_srcdir)/cf/check-getpwnam_r-posix.m4 \
+-	$(top_srcdir)/cf/check-man.m4 \
+-	$(top_srcdir)/cf/check-netinet-ip-and-tcp.m4 \
+-	$(top_srcdir)/cf/check-type-extra.m4 \
+-	$(top_srcdir)/cf/check-var.m4 $(top_srcdir)/cf/check-x.m4 \
+-	$(top_srcdir)/cf/check-xau.m4 $(top_srcdir)/cf/crypto.m4 \
+-	$(top_srcdir)/cf/db.m4 $(top_srcdir)/cf/destdirs.m4 \
+-	$(top_srcdir)/cf/dlopen.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs2.m4 \
+-	$(top_srcdir)/cf/find-func.m4 \
+-	$(top_srcdir)/cf/find-if-not-broken.m4 \
+-	$(top_srcdir)/cf/have-struct-field.m4 \
+-	$(top_srcdir)/cf/have-type.m4 $(top_srcdir)/cf/irix.m4 \
+-	$(top_srcdir)/cf/krb-bigendian.m4 \
+-	$(top_srcdir)/cf/krb-func-getlogin.m4 \
+-	$(top_srcdir)/cf/krb-ipv6.m4 $(top_srcdir)/cf/krb-prog-ln-s.m4 \
+-	$(top_srcdir)/cf/krb-readline.m4 \
+-	$(top_srcdir)/cf/krb-struct-spwd.m4 \
+-	$(top_srcdir)/cf/krb-struct-winsize.m4 \
+-	$(top_srcdir)/cf/mips-abi.m4 $(top_srcdir)/cf/misc.m4 \
+-	$(top_srcdir)/cf/need-proto.m4 $(top_srcdir)/cf/osfc2.m4 \
+-	$(top_srcdir)/cf/otp.m4 $(top_srcdir)/cf/proto-compat.m4 \
+-	$(top_srcdir)/cf/retsigtype.m4 $(top_srcdir)/cf/roken-frag.m4 \
+-	$(top_srcdir)/cf/sunos.m4 $(top_srcdir)/cf/telnet.m4 \
+-	$(top_srcdir)/cf/test-package.m4 $(top_srcdir)/cf/wflags.m4 \
+-	$(top_srcdir)/cf/with-all.m4 $(top_srcdir)/configure.in
+-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+-	$(ACLOCAL_M4)
+-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = $(top_builddir)/include/config.h
+-CONFIG_CLEAN_FILES =
+-am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"
+-binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+-PROGRAMS = $(bin_PROGRAMS)
+-am_telnet_OBJECTS = authenc.$(OBJEXT) commands.$(OBJEXT) \
+-	main.$(OBJEXT) network.$(OBJEXT) ring.$(OBJEXT) \
+-	sys_bsd.$(OBJEXT) telnet.$(OBJEXT) terminal.$(OBJEXT) \
+-	utilities.$(OBJEXT)
+-telnet_OBJECTS = $(am_telnet_OBJECTS)
+-telnet_LDADD = $(LDADD)
+-@KRB5_TRUE@am__DEPENDENCIES_1 = $(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-am__DEPENDENCIES_2 =
+-@DCE_TRUE@am__DEPENDENCIES_3 = $(top_builddir)/lib/kdfs/libkdfs.la
+-telnet_DEPENDENCIES = ../libtelnet/libtelnet.a $(am__DEPENDENCIES_1) \
+-	$(am__DEPENDENCIES_2) $(am__DEPENDENCIES_2) \
+-	$(am__DEPENDENCIES_2) $(am__DEPENDENCIES_3) \
+-	$(am__DEPENDENCIES_2)
+-DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
+-depcomp =
+-am__depfiles_maybe =
+-COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+-	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) \
+-	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+-	$(AM_CFLAGS) $(CFLAGS)
+-CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+-	$(AM_LDFLAGS) $(LDFLAGS) -o $@
+-SOURCES = $(telnet_SOURCES)
+-DIST_SOURCES = $(telnet_SOURCES)
+-man1dir = $(mandir)/man1
+-MANS = $(man_MANS)
+-ETAGS = etags
+-CTAGS = ctags
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ ACLOCAL = @ACLOCAL@
+ AIX4_FALSE = @AIX4_FALSE@
+ AIX4_TRUE = @AIX4_TRUE@
+@@ -151,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -161,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -184,12 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
++
+ INCLUDE_krb4 = @INCLUDE_krb4@
++
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
++
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -202,6 +130,7 @@
+ KRB5_TRUE = @KRB5_TRUE@
+ LDFLAGS = @LDFLAGS@
+ LEX = @LEX@
++
+ LEXLIB = @LEXLIB@
+ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+ LIBOBJS = @LIBOBJS@
+@@ -210,6 +139,7 @@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+ LIB_XauFileName = @LIB_XauFileName@
++
+ LIB_XauReadAuth = @LIB_XauReadAuth@
+ LIB_XauWriteAuth = @LIB_XauWriteAuth@
+ LIB_bswap16 = @LIB_bswap16@
+@@ -258,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -338,7 +270,6 @@
+ libexecdir = @libexecdir@
+ localstatedir = @localstatedir@
+ mandir = @mandir@
+-mkdir_p = @mkdir_p@
+ oldincludedir = @oldincludedir@
+ prefix = @prefix@
+ program_transform_name = @program_transform_name@
+@@ -346,31 +277,51 @@
+ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
++
+ SUFFIXES = .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8
++
+ INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) -I$(srcdir)/.. $(INCLUDE_krb4) $(INCLUDE_des)
++
+ @do_roken_rename_TRUE@ROKEN_RENAME = -DROKEN_RENAME
++
+ AM_CFLAGS = $(WFLAGS)
++
+ CP = cp
++
+ buildinclude = $(top_builddir)/include
+ LIB_getattr = @LIB_getattr@
+ LIB_getpwent_r = @LIB_getpwent_r@
+ LIB_odm_initialize = @LIB_odm_initialize@
+ LIB_setpcred = @LIB_setpcred@
++
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
++
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
++
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++
+ @KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
+ @KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+ 
+ @KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
++
+ @DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
++
++bin_PROGRAMS = telnet
++
+ CHECK_LOCAL = 
++
+ telnet_SOURCES = authenc.c commands.c main.c network.c ring.c \
+ 		  sys_bsd.c telnet.c terminal.c \
+ 		  utilities.c defines.h externs.h ring.h telnet_locl.h types.h
+ 
++
+ man_MANS = telnet.1
++
+ LDADD = ../libtelnet/libtelnet.a \
+ 	$(LIB_krb5) \
+ 	$(LIB_krb4) \
+@@ -379,50 +330,68 @@
+ 	$(LIB_kdfs) \
+ 	$(LIB_roken)
+ 
++subdir = appl/telnet/telnet
++ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
++mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++bin_PROGRAMS = telnet$(EXEEXT)
++PROGRAMS = $(bin_PROGRAMS)
++
++am_telnet_OBJECTS = authenc.$(OBJEXT) commands.$(OBJEXT) main.$(OBJEXT) \
++	network.$(OBJEXT) ring.$(OBJEXT) sys_bsd.$(OBJEXT) \
++	telnet.$(OBJEXT) terminal.$(OBJEXT) utilities.$(OBJEXT)
++telnet_OBJECTS = $(am_telnet_OBJECTS)
++telnet_LDADD = $(LDADD)
++@DCE_FALSE@@KRB5_TRUE@telnet_DEPENDENCIES = ../libtelnet/libtelnet.a \
++@DCE_FALSE@@KRB5_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la \
++@DCE_FALSE@@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@DCE_FALSE@@KRB5_FALSE@telnet_DEPENDENCIES = ../libtelnet/libtelnet.a
++@DCE_TRUE@@KRB5_TRUE@telnet_DEPENDENCIES = ../libtelnet/libtelnet.a \
++@DCE_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la \
++@DCE_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la \
++@DCE_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@@KRB5_FALSE@telnet_DEPENDENCIES = ../libtelnet/libtelnet.a \
++@DCE_TRUE@@KRB5_FALSE@	$(top_builddir)/lib/kdfs/libkdfs.la
++telnet_LDFLAGS =
++
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
++depcomp =
++am__depfiles_maybe =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++CCLD = $(CC)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++DIST_SOURCES = $(telnet_SOURCES)
++MANS = $(man_MANS)
++DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/Makefile.am.common \
++	$(top_srcdir)/cf/Makefile.am.common Makefile.am
++SOURCES = $(telnet_SOURCES)
++
+ all: all-am
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj
+-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(am__configure_deps)
+-	@for dep in $?; do \
+-	  case '$(am__configure_deps)' in \
+-	    *$$dep*) \
+-	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+-		&& exit 0; \
+-	      exit 1;; \
+-	  esac; \
+-	done; \
+-	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  --ignore-deps appl/telnet/telnet/Makefile'; \
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+-	  $(AUTOMAKE) --foreign  --ignore-deps appl/telnet/telnet/Makefile
+-.PRECIOUS: Makefile
+-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+-	@case '$?' in \
+-	  *config.status*) \
+-	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+-	  *) \
+-	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+-	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+-	esac;
+-
+-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-
+-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
++	  $(AUTOMAKE) --foreign  appl/telnet/telnet/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
++binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ install-binPROGRAMS: $(bin_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
++	$(mkinstalldirs) $(DESTDIR)$(bindir)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+ 	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+ 	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+-	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
+-	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f || exit 1; \
+ 	  else :; fi; \
+ 	done
+ 
+@@ -430,8 +399,8 @@
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+ 	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
+-	  rm -f "$(DESTDIR)$(bindir)/$$f"; \
++	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
++	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+ clean-binPROGRAMS:
+@@ -445,19 +414,19 @@
+ 	$(LINK) $(telnet_LDFLAGS) $(telnet_OBJECTS) $(telnet_LDADD) $(LIBS)
+ 
+ mostlyclean-compile:
+-	-rm -f *.$(OBJEXT)
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ .c.obj:
+-	$(COMPILE) -c `$(CYGPATH_W) '$<'`
++	$(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
+ 
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ mostlyclean-libtool:
+ 	-rm -f *.lo
+@@ -468,9 +437,11 @@
+ distclean-libtool:
+ 	-rm -f libtool
+ uninstall-info-am:
++
++man1dir = $(mandir)/man1
+ install-man1: $(man1_MANS) $(man_MANS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(man1dir)" || $(mkdir_p) "$(DESTDIR)$(man1dir)"
++	$(mkinstalldirs) $(DESTDIR)$(man1dir)
+ 	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
+ 	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
+ 	for i in $$l2; do \
+@@ -489,8 +460,8 @@
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+-	  echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
+-	  $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst"; \
++	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
++	  $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
+ 	done
+ uninstall-man1:
+ 	@$(NORMAL_UNINSTALL)
+@@ -510,10 +481,18 @@
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+-	  echo " rm -f '$(DESTDIR)$(man1dir)/$$inst'"; \
+-	  rm -f "$(DESTDIR)$(man1dir)/$$inst"; \
++	  echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
++	  rm -f $(DESTDIR)$(man1dir)/$$inst; \
+ 	done
+ 
++ETAGS = etags
++ETAGSFLAGS =
++
++CTAGS = ctags
++CTAGSFLAGS =
++
++tags: TAGS
++
+ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ 	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ 	unique=`for i in $$list; do \
+@@ -522,7 +501,6 @@
+ 	  $(AWK) '    { files[$$0] = 1; } \
+ 	       END { for (i in files) print i; }'`; \
+ 	mkid -fID $$unique
+-tags: TAGS
+ 
+ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -537,6 +515,7 @@
+ 	test -z "$(ETAGS_ARGS)$$tags$$unique" \
+ 	  || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ 	     $$tags $$unique
++
+ ctags: CTAGS
+ CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -559,9 +538,13 @@
+ 
+ distclean-tags:
+ 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++
++top_distdir = ../../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	$(mkdir_p) $(distdir)/../../.. $(distdir)/../../../cf
++	$(mkinstalldirs) $(distdir)/../../.. $(distdir)/../../../cf
+ 	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ 	list='$(DISTFILES)'; for file in $$list; do \
+@@ -573,7 +556,7 @@
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ 	    dir="/$$dir"; \
+-	    $(mkdir_p) "$(distdir)$$dir"; \
++	    $(mkinstalldirs) "$(distdir)$$dir"; \
+ 	  else \
+ 	    dir=''; \
+ 	  fi; \
+@@ -595,10 +578,9 @@
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+ all-am: Makefile $(PROGRAMS) $(MANS) all-local
++
+ installdirs:
+-	for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"; do \
+-	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
+-	done
++	$(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(man1dir)
+ install: install-am
+ install-exec: install-exec-am
+ install-data: install-data-am
+@@ -636,8 +618,6 @@
+ 
+ dvi-am:
+ 
+-html: html-am
+-
+ info: info-am
+ 
+ info-am:
+@@ -679,17 +659,16 @@
+ 
+ .PHONY: CTAGS GTAGS all all-am all-local check check-am check-local \
+ 	clean clean-binPROGRAMS clean-generic clean-libtool ctags \
+-	distclean distclean-compile distclean-generic \
+-	distclean-libtool distclean-tags distdir dvi dvi-am html \
+-	html-am info info-am install install-am install-binPROGRAMS \
+-	install-data install-data-am install-exec install-exec-am \
+-	install-info install-info-am install-man install-man1 \
+-	install-strip installcheck installcheck-am installdirs \
+-	maintainer-clean maintainer-clean-generic mostlyclean \
+-	mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
+-	pdf pdf-am ps ps-am tags uninstall uninstall-am \
+-	uninstall-binPROGRAMS uninstall-info-am uninstall-man \
+-	uninstall-man1
++	distclean distclean-compile distclean-generic distclean-libtool \
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-binPROGRAMS install-data install-data-am \
++	install-exec install-exec-am install-info install-info-am \
++	install-man install-man1 install-strip installcheck \
++	installcheck-am installdirs maintainer-clean \
++	maintainer-clean-generic mostlyclean mostlyclean-compile \
++	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
++	tags uninstall uninstall-am uninstall-binPROGRAMS \
++	uninstall-info-am uninstall-man uninstall-man1
+ 
+ 
+ install-suid-programs:
+diff -ruN heimdal-0.6.3-old/appl/telnet/telnetd/Makefile.in heimdal-0.6.3/appl/telnet/telnetd/Makefile.in
+--- heimdal-0.6.3-old/appl/telnet/telnetd/Makefile.in	2004-09-13 22:29:08.000000000 +1000
++++ heimdal-0.6.3/appl/telnet/telnetd/Makefile.in	2004-09-14 08:39:49.000000000 +1000
+@@ -1,8 +1,8 @@
+-# Makefile.in generated by automake 1.8.3 from Makefile.am.
++# Makefile.in generated by automake 1.7.9 from Makefile.am.
+ # @configure_input@
+ 
+-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+-# 2003, 2004  Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
++# 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.
+@@ -20,8 +20,6 @@
+ 
+ # $Id: Makefile.am.common,v 1.37.2.2 2003/10/13 13:15:39 joda Exp $
+ 
+-SOURCES = $(telnetd_SOURCES)
+-
+ srcdir = @srcdir@
+ top_srcdir = @top_srcdir@
+ VPATH = @srcdir@
+@@ -29,6 +27,7 @@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+ top_builddir = ../../..
++
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+ INSTALL = @INSTALL@
+ install_sh_DATA = $(install_sh) -c -m 644
+@@ -43,90 +42,6 @@
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+ host_triplet = @host@
+-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+-	$(top_srcdir)/Makefile.am.common \
+-	$(top_srcdir)/cf/Makefile.am.common
+-libexec_PROGRAMS = telnetd$(EXEEXT)
+-subdir = appl/telnet/telnetd
+-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+-am__aclocal_m4_deps = $(top_srcdir)/cf/aix.m4 \
+-	$(top_srcdir)/cf/auth-modules.m4 \
+-	$(top_srcdir)/cf/broken-getaddrinfo.m4 \
+-	$(top_srcdir)/cf/broken-getnameinfo.m4 \
+-	$(top_srcdir)/cf/broken-glob.m4 \
+-	$(top_srcdir)/cf/broken-realloc.m4 \
+-	$(top_srcdir)/cf/broken-snprintf.m4 $(top_srcdir)/cf/broken.m4 \
+-	$(top_srcdir)/cf/broken2.m4 $(top_srcdir)/cf/c-attribute.m4 \
+-	$(top_srcdir)/cf/capabilities.m4 \
+-	$(top_srcdir)/cf/check-compile-et.m4 \
+-	$(top_srcdir)/cf/check-declaration.m4 \
+-	$(top_srcdir)/cf/check-getpwnam_r-posix.m4 \
+-	$(top_srcdir)/cf/check-man.m4 \
+-	$(top_srcdir)/cf/check-netinet-ip-and-tcp.m4 \
+-	$(top_srcdir)/cf/check-type-extra.m4 \
+-	$(top_srcdir)/cf/check-var.m4 $(top_srcdir)/cf/check-x.m4 \
+-	$(top_srcdir)/cf/check-xau.m4 $(top_srcdir)/cf/crypto.m4 \
+-	$(top_srcdir)/cf/db.m4 $(top_srcdir)/cf/destdirs.m4 \
+-	$(top_srcdir)/cf/dlopen.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs2.m4 \
+-	$(top_srcdir)/cf/find-func.m4 \
+-	$(top_srcdir)/cf/find-if-not-broken.m4 \
+-	$(top_srcdir)/cf/have-struct-field.m4 \
+-	$(top_srcdir)/cf/have-type.m4 $(top_srcdir)/cf/irix.m4 \
+-	$(top_srcdir)/cf/krb-bigendian.m4 \
+-	$(top_srcdir)/cf/krb-func-getlogin.m4 \
+-	$(top_srcdir)/cf/krb-ipv6.m4 $(top_srcdir)/cf/krb-prog-ln-s.m4 \
+-	$(top_srcdir)/cf/krb-readline.m4 \
+-	$(top_srcdir)/cf/krb-struct-spwd.m4 \
+-	$(top_srcdir)/cf/krb-struct-winsize.m4 \
+-	$(top_srcdir)/cf/mips-abi.m4 $(top_srcdir)/cf/misc.m4 \
+-	$(top_srcdir)/cf/need-proto.m4 $(top_srcdir)/cf/osfc2.m4 \
+-	$(top_srcdir)/cf/otp.m4 $(top_srcdir)/cf/proto-compat.m4 \
+-	$(top_srcdir)/cf/retsigtype.m4 $(top_srcdir)/cf/roken-frag.m4 \
+-	$(top_srcdir)/cf/sunos.m4 $(top_srcdir)/cf/telnet.m4 \
+-	$(top_srcdir)/cf/test-package.m4 $(top_srcdir)/cf/wflags.m4 \
+-	$(top_srcdir)/cf/with-all.m4 $(top_srcdir)/configure.in
+-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+-	$(ACLOCAL_M4)
+-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = $(top_builddir)/include/config.h
+-CONFIG_CLEAN_FILES =
+-am__installdirs = "$(DESTDIR)$(libexecdir)" "$(DESTDIR)$(man8dir)"
+-libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+-PROGRAMS = $(libexec_PROGRAMS)
+-am_telnetd_OBJECTS = telnetd.$(OBJEXT) state.$(OBJEXT) \
+-	termstat.$(OBJEXT) slc.$(OBJEXT) sys_term.$(OBJEXT) \
+-	utility.$(OBJEXT) global.$(OBJEXT) authenc.$(OBJEXT)
+-telnetd_OBJECTS = $(am_telnetd_OBJECTS)
+-telnetd_LDADD = $(LDADD)
+-@KRB5_TRUE@am__DEPENDENCIES_1 = $(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-am__DEPENDENCIES_2 =
+-@DCE_TRUE@am__DEPENDENCIES_3 = $(top_builddir)/lib/kdfs/libkdfs.la
+-telnetd_DEPENDENCIES = ../libtelnet/libtelnet.a $(am__DEPENDENCIES_1) \
+-	$(am__DEPENDENCIES_2) $(am__DEPENDENCIES_2) \
+-	$(am__DEPENDENCIES_2) $(am__DEPENDENCIES_2) \
+-	$(am__DEPENDENCIES_2) $(am__DEPENDENCIES_2) \
+-	$(am__DEPENDENCIES_3) $(am__DEPENDENCIES_2)
+-DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
+-depcomp =
+-am__depfiles_maybe =
+-COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+-	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) \
+-	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+-	$(AM_CFLAGS) $(CFLAGS)
+-CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+-	$(AM_LDFLAGS) $(LDFLAGS) -o $@
+-SOURCES = $(telnetd_SOURCES)
+-DIST_SOURCES = $(telnetd_SOURCES)
+-man8dir = $(mandir)/man8
+-MANS = $(man_MANS)
+-ETAGS = etags
+-CTAGS = ctags
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ ACLOCAL = @ACLOCAL@
+ AIX4_FALSE = @AIX4_FALSE@
+ AIX4_TRUE = @AIX4_TRUE@
+@@ -151,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -161,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -184,12 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
++
+ INCLUDE_krb4 = @INCLUDE_krb4@
++
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
++
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -202,6 +130,7 @@
+ KRB5_TRUE = @KRB5_TRUE@
+ LDFLAGS = @LDFLAGS@
+ LEX = @LEX@
++
+ LEXLIB = @LEXLIB@
+ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+ LIBOBJS = @LIBOBJS@
+@@ -210,6 +139,7 @@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+ LIB_XauFileName = @LIB_XauFileName@
++
+ LIB_XauReadAuth = @LIB_XauReadAuth@
+ LIB_XauWriteAuth = @LIB_XauWriteAuth@
+ LIB_bswap16 = @LIB_bswap16@
+@@ -258,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -338,7 +270,6 @@
+ libexecdir = @libexecdir@
+ localstatedir = @localstatedir@
+ mandir = @mandir@
+-mkdir_p = @mkdir_p@
+ oldincludedir = @oldincludedir@
+ prefix = @prefix@
+ program_transform_name = @program_transform_name@
+@@ -346,30 +277,50 @@
+ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
++
+ SUFFIXES = .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8
++
+ INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) -I$(srcdir)/.. $(INCLUDE_krb4) $(INCLUDE_des)
++
+ @do_roken_rename_TRUE@ROKEN_RENAME = -DROKEN_RENAME
++
+ AM_CFLAGS = $(WFLAGS)
++
+ CP = cp
++
+ buildinclude = $(top_builddir)/include
+ LIB_getattr = @LIB_getattr@
+ LIB_getpwent_r = @LIB_getpwent_r@
+ LIB_odm_initialize = @LIB_odm_initialize@
+ LIB_setpcred = @LIB_setpcred@
++
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
++
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
++
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++
+ @KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
+ @KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+ 
+ @KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
++
+ @DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
++
++libexec_PROGRAMS = telnetd
++
+ CHECK_LOCAL = 
++
+ telnetd_SOURCES = telnetd.c state.c termstat.c slc.c sys_term.c \
+ 		   utility.c global.c authenc.c defs.h ext.h telnetd.h
+ 
++
+ man_MANS = telnetd.8
++
+ LDADD = \
+ 	../libtelnet/libtelnet.a \
+ 	$(LIB_krb5) \
+@@ -382,50 +333,68 @@
+ 	$(LIB_kdfs) \
+ 	$(LIB_roken)
+ 
++subdir = appl/telnet/telnetd
++ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
++mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++libexec_PROGRAMS = telnetd$(EXEEXT)
++PROGRAMS = $(libexec_PROGRAMS)
++
++am_telnetd_OBJECTS = telnetd.$(OBJEXT) state.$(OBJEXT) \
++	termstat.$(OBJEXT) slc.$(OBJEXT) sys_term.$(OBJEXT) \
++	utility.$(OBJEXT) global.$(OBJEXT) authenc.$(OBJEXT)
++telnetd_OBJECTS = $(am_telnetd_OBJECTS)
++telnetd_LDADD = $(LDADD)
++@DCE_FALSE@@KRB5_TRUE@telnetd_DEPENDENCIES = ../libtelnet/libtelnet.a \
++@DCE_FALSE@@KRB5_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la \
++@DCE_FALSE@@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@DCE_FALSE@@KRB5_FALSE@telnetd_DEPENDENCIES = ../libtelnet/libtelnet.a
++@DCE_TRUE@@KRB5_TRUE@telnetd_DEPENDENCIES = ../libtelnet/libtelnet.a \
++@DCE_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la \
++@DCE_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la \
++@DCE_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@@KRB5_FALSE@telnetd_DEPENDENCIES = ../libtelnet/libtelnet.a \
++@DCE_TRUE@@KRB5_FALSE@	$(top_builddir)/lib/kdfs/libkdfs.la
++telnetd_LDFLAGS =
++
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
++depcomp =
++am__depfiles_maybe =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++CCLD = $(CC)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++DIST_SOURCES = $(telnetd_SOURCES)
++MANS = $(man_MANS)
++DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/Makefile.am.common \
++	$(top_srcdir)/cf/Makefile.am.common Makefile.am
++SOURCES = $(telnetd_SOURCES)
++
+ all: all-am
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj
+-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(am__configure_deps)
+-	@for dep in $?; do \
+-	  case '$(am__configure_deps)' in \
+-	    *$$dep*) \
+-	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+-		&& exit 0; \
+-	      exit 1;; \
+-	  esac; \
+-	done; \
+-	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  --ignore-deps appl/telnet/telnetd/Makefile'; \
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+-	  $(AUTOMAKE) --foreign  --ignore-deps appl/telnet/telnetd/Makefile
+-.PRECIOUS: Makefile
+-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+-	@case '$?' in \
+-	  *config.status*) \
+-	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+-	  *) \
+-	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+-	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+-	esac;
+-
+-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-
+-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
++	  $(AUTOMAKE) --foreign  appl/telnet/telnetd/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
++libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ install-libexecPROGRAMS: $(libexec_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(libexecdir)" || $(mkdir_p) "$(DESTDIR)$(libexecdir)"
++	$(mkinstalldirs) $(DESTDIR)$(libexecdir)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+ 	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+ 	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+-	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(libexecdir)/$$f'"; \
+-	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(libexecdir)/$$f" || exit 1; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f || exit 1; \
+ 	  else :; fi; \
+ 	done
+ 
+@@ -433,8 +402,8 @@
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+ 	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  echo " rm -f '$(DESTDIR)$(libexecdir)/$$f'"; \
+-	  rm -f "$(DESTDIR)$(libexecdir)/$$f"; \
++	  echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
++	  rm -f $(DESTDIR)$(libexecdir)/$$f; \
+ 	done
+ 
+ clean-libexecPROGRAMS:
+@@ -448,19 +417,19 @@
+ 	$(LINK) $(telnetd_LDFLAGS) $(telnetd_OBJECTS) $(telnetd_LDADD) $(LIBS)
+ 
+ mostlyclean-compile:
+-	-rm -f *.$(OBJEXT)
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ .c.obj:
+-	$(COMPILE) -c `$(CYGPATH_W) '$<'`
++	$(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
+ 
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ mostlyclean-libtool:
+ 	-rm -f *.lo
+@@ -471,9 +440,11 @@
+ distclean-libtool:
+ 	-rm -f libtool
+ uninstall-info-am:
++
++man8dir = $(mandir)/man8
+ install-man8: $(man8_MANS) $(man_MANS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(man8dir)" || $(mkdir_p) "$(DESTDIR)$(man8dir)"
++	$(mkinstalldirs) $(DESTDIR)$(man8dir)
+ 	@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
+ 	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
+ 	for i in $$l2; do \
+@@ -492,8 +463,8 @@
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+-	  echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man8dir)/$$inst'"; \
+-	  $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man8dir)/$$inst"; \
++	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst"; \
++	  $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst; \
+ 	done
+ uninstall-man8:
+ 	@$(NORMAL_UNINSTALL)
+@@ -513,10 +484,18 @@
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+-	  echo " rm -f '$(DESTDIR)$(man8dir)/$$inst'"; \
+-	  rm -f "$(DESTDIR)$(man8dir)/$$inst"; \
++	  echo " rm -f $(DESTDIR)$(man8dir)/$$inst"; \
++	  rm -f $(DESTDIR)$(man8dir)/$$inst; \
+ 	done
+ 
++ETAGS = etags
++ETAGSFLAGS =
++
++CTAGS = ctags
++CTAGSFLAGS =
++
++tags: TAGS
++
+ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ 	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ 	unique=`for i in $$list; do \
+@@ -525,7 +504,6 @@
+ 	  $(AWK) '    { files[$$0] = 1; } \
+ 	       END { for (i in files) print i; }'`; \
+ 	mkid -fID $$unique
+-tags: TAGS
+ 
+ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -540,6 +518,7 @@
+ 	test -z "$(ETAGS_ARGS)$$tags$$unique" \
+ 	  || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ 	     $$tags $$unique
++
+ ctags: CTAGS
+ CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -562,9 +541,13 @@
+ 
+ distclean-tags:
+ 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++
++top_distdir = ../../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	$(mkdir_p) $(distdir)/../../.. $(distdir)/../../../cf
++	$(mkinstalldirs) $(distdir)/../../.. $(distdir)/../../../cf
+ 	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ 	list='$(DISTFILES)'; for file in $$list; do \
+@@ -576,7 +559,7 @@
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ 	    dir="/$$dir"; \
+-	    $(mkdir_p) "$(distdir)$$dir"; \
++	    $(mkinstalldirs) "$(distdir)$$dir"; \
+ 	  else \
+ 	    dir=''; \
+ 	  fi; \
+@@ -598,10 +581,9 @@
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+ all-am: Makefile $(PROGRAMS) $(MANS) all-local
++
+ installdirs:
+-	for dir in "$(DESTDIR)$(libexecdir)" "$(DESTDIR)$(man8dir)"; do \
+-	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
+-	done
++	$(mkinstalldirs) $(DESTDIR)$(libexecdir) $(DESTDIR)$(man8dir)
+ install: install-am
+ install-exec: install-exec-am
+ install-data: install-data-am
+@@ -640,8 +622,6 @@
+ 
+ dvi-am:
+ 
+-html: html-am
+-
+ info: info-am
+ 
+ info-am:
+@@ -677,24 +657,22 @@
+ 
+ ps-am:
+ 
+-uninstall-am: uninstall-info-am uninstall-libexecPROGRAMS \
+-	uninstall-man
++uninstall-am: uninstall-info-am uninstall-libexecPROGRAMS uninstall-man
+ 
+ uninstall-man: uninstall-man8
+ 
+ .PHONY: CTAGS GTAGS all all-am all-local check check-am check-local \
+ 	clean clean-generic clean-libexecPROGRAMS clean-libtool ctags \
+-	distclean distclean-compile distclean-generic \
+-	distclean-libtool distclean-tags distdir dvi dvi-am html \
+-	html-am info info-am install install-am install-data \
+-	install-data-am install-exec install-exec-am install-info \
+-	install-info-am install-libexecPROGRAMS install-man \
+-	install-man8 install-strip installcheck installcheck-am \
+-	installdirs maintainer-clean maintainer-clean-generic \
+-	mostlyclean mostlyclean-compile mostlyclean-generic \
+-	mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
+-	uninstall-am uninstall-info-am uninstall-libexecPROGRAMS \
+-	uninstall-man uninstall-man8
++	distclean distclean-compile distclean-generic distclean-libtool \
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-data install-data-am install-exec \
++	install-exec-am install-info install-info-am \
++	install-libexecPROGRAMS install-man install-man8 install-strip \
++	installcheck installcheck-am installdirs maintainer-clean \
++	maintainer-clean-generic mostlyclean mostlyclean-compile \
++	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
++	tags uninstall uninstall-am uninstall-info-am \
++	uninstall-libexecPROGRAMS uninstall-man uninstall-man8
+ 
+ 
+ install-suid-programs:
+diff -ruN heimdal-0.6.3-old/appl/test/Makefile.in heimdal-0.6.3/appl/test/Makefile.in
+--- heimdal-0.6.3-old/appl/test/Makefile.in	2004-09-13 22:29:09.000000000 +1000
++++ heimdal-0.6.3/appl/test/Makefile.in	2004-09-14 08:39:50.000000000 +1000
+@@ -1,8 +1,8 @@
+-# Makefile.in generated by automake 1.8.3 from Makefile.am.
++# Makefile.in generated by automake 1.7.9 from Makefile.am.
+ # @configure_input@
+ 
+-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+-# 2003, 2004  Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
++# 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.
+@@ -20,8 +20,6 @@
+ 
+ # $Id: Makefile.am.common,v 1.37.2.2 2003/10/13 13:15:39 joda Exp $
+ 
+-SOURCES = $(gssapi_client_SOURCES) $(gssapi_server_SOURCES) $(nt_gss_client_SOURCES) $(nt_gss_server_SOURCES) $(tcp_client_SOURCES) $(tcp_server_SOURCES) $(uu_client_SOURCES) $(uu_server_SOURCES)
+-
+ srcdir = @srcdir@
+ top_srcdir = @top_srcdir@
+ VPATH = @srcdir@
+@@ -29,6 +27,7 @@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+ top_builddir = ../..
++
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+ INSTALL = @INSTALL@
+ install_sh_DATA = $(install_sh) -c -m 644
+@@ -43,129 +42,6 @@
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+ host_triplet = @host@
+-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+-	$(top_srcdir)/Makefile.am.common \
+-	$(top_srcdir)/cf/Makefile.am.common
+-noinst_PROGRAMS = tcp_client$(EXEEXT) tcp_server$(EXEEXT) \
+-	gssapi_server$(EXEEXT) gssapi_client$(EXEEXT) \
+-	uu_server$(EXEEXT) uu_client$(EXEEXT) nt_gss_server$(EXEEXT) \
+-	nt_gss_client$(EXEEXT)
+-subdir = appl/test
+-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+-am__aclocal_m4_deps = $(top_srcdir)/cf/aix.m4 \
+-	$(top_srcdir)/cf/auth-modules.m4 \
+-	$(top_srcdir)/cf/broken-getaddrinfo.m4 \
+-	$(top_srcdir)/cf/broken-getnameinfo.m4 \
+-	$(top_srcdir)/cf/broken-glob.m4 \
+-	$(top_srcdir)/cf/broken-realloc.m4 \
+-	$(top_srcdir)/cf/broken-snprintf.m4 $(top_srcdir)/cf/broken.m4 \
+-	$(top_srcdir)/cf/broken2.m4 $(top_srcdir)/cf/c-attribute.m4 \
+-	$(top_srcdir)/cf/capabilities.m4 \
+-	$(top_srcdir)/cf/check-compile-et.m4 \
+-	$(top_srcdir)/cf/check-declaration.m4 \
+-	$(top_srcdir)/cf/check-getpwnam_r-posix.m4 \
+-	$(top_srcdir)/cf/check-man.m4 \
+-	$(top_srcdir)/cf/check-netinet-ip-and-tcp.m4 \
+-	$(top_srcdir)/cf/check-type-extra.m4 \
+-	$(top_srcdir)/cf/check-var.m4 $(top_srcdir)/cf/check-x.m4 \
+-	$(top_srcdir)/cf/check-xau.m4 $(top_srcdir)/cf/crypto.m4 \
+-	$(top_srcdir)/cf/db.m4 $(top_srcdir)/cf/destdirs.m4 \
+-	$(top_srcdir)/cf/dlopen.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs2.m4 \
+-	$(top_srcdir)/cf/find-func.m4 \
+-	$(top_srcdir)/cf/find-if-not-broken.m4 \
+-	$(top_srcdir)/cf/have-struct-field.m4 \
+-	$(top_srcdir)/cf/have-type.m4 $(top_srcdir)/cf/irix.m4 \
+-	$(top_srcdir)/cf/krb-bigendian.m4 \
+-	$(top_srcdir)/cf/krb-func-getlogin.m4 \
+-	$(top_srcdir)/cf/krb-ipv6.m4 $(top_srcdir)/cf/krb-prog-ln-s.m4 \
+-	$(top_srcdir)/cf/krb-readline.m4 \
+-	$(top_srcdir)/cf/krb-struct-spwd.m4 \
+-	$(top_srcdir)/cf/krb-struct-winsize.m4 \
+-	$(top_srcdir)/cf/mips-abi.m4 $(top_srcdir)/cf/misc.m4 \
+-	$(top_srcdir)/cf/need-proto.m4 $(top_srcdir)/cf/osfc2.m4 \
+-	$(top_srcdir)/cf/otp.m4 $(top_srcdir)/cf/proto-compat.m4 \
+-	$(top_srcdir)/cf/retsigtype.m4 $(top_srcdir)/cf/roken-frag.m4 \
+-	$(top_srcdir)/cf/sunos.m4 $(top_srcdir)/cf/telnet.m4 \
+-	$(top_srcdir)/cf/test-package.m4 $(top_srcdir)/cf/wflags.m4 \
+-	$(top_srcdir)/cf/with-all.m4 $(top_srcdir)/configure.in
+-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+-	$(ACLOCAL_M4)
+-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = $(top_builddir)/include/config.h
+-CONFIG_CLEAN_FILES =
+-PROGRAMS = $(noinst_PROGRAMS)
+-am_gssapi_client_OBJECTS = gssapi_client.$(OBJEXT) \
+-	gss_common.$(OBJEXT) common.$(OBJEXT)
+-gssapi_client_OBJECTS = $(am_gssapi_client_OBJECTS)
+-am__DEPENDENCIES_1 =
+-am__DEPENDENCIES_2 = $(top_builddir)/lib/krb5/libkrb5.la \
+-	$(am__DEPENDENCIES_1) $(top_builddir)/lib/asn1/libasn1.la \
+-	$(am__DEPENDENCIES_1)
+-am__DEPENDENCIES_3 = $(top_builddir)/lib/gssapi/libgssapi.la \
+-	$(am__DEPENDENCIES_2)
+-gssapi_client_DEPENDENCIES = $(am__DEPENDENCIES_3)
+-am_gssapi_server_OBJECTS = gssapi_server.$(OBJEXT) \
+-	gss_common.$(OBJEXT) common.$(OBJEXT)
+-gssapi_server_OBJECTS = $(am_gssapi_server_OBJECTS)
+-gssapi_server_DEPENDENCIES = $(top_builddir)/lib/gssapi/libgssapi.la \
+-	$(am__DEPENDENCIES_2)
+-am_nt_gss_client_OBJECTS = nt_gss_client.$(OBJEXT) \
+-	nt_gss_common.$(OBJEXT) common.$(OBJEXT)
+-nt_gss_client_OBJECTS = $(am_nt_gss_client_OBJECTS)
+-nt_gss_client_DEPENDENCIES = $(am__DEPENDENCIES_3)
+-am_nt_gss_server_OBJECTS = nt_gss_server.$(OBJEXT) \
+-	nt_gss_common.$(OBJEXT)
+-nt_gss_server_OBJECTS = $(am_nt_gss_server_OBJECTS)
+-am__DEPENDENCIES_4 = $(am__DEPENDENCIES_3)
+-nt_gss_server_DEPENDENCIES = $(am__DEPENDENCIES_4)
+-am_tcp_client_OBJECTS = tcp_client.$(OBJEXT) common.$(OBJEXT)
+-tcp_client_OBJECTS = $(am_tcp_client_OBJECTS)
+-tcp_client_LDADD = $(LDADD)
+-tcp_client_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
+-	$(am__DEPENDENCIES_1) $(top_builddir)/lib/asn1/libasn1.la \
+-	$(am__DEPENDENCIES_1)
+-am_tcp_server_OBJECTS = tcp_server.$(OBJEXT) common.$(OBJEXT)
+-tcp_server_OBJECTS = $(am_tcp_server_OBJECTS)
+-tcp_server_LDADD = $(LDADD)
+-tcp_server_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
+-	$(am__DEPENDENCIES_1) $(top_builddir)/lib/asn1/libasn1.la \
+-	$(am__DEPENDENCIES_1)
+-am_uu_client_OBJECTS = uu_client.$(OBJEXT) common.$(OBJEXT)
+-uu_client_OBJECTS = $(am_uu_client_OBJECTS)
+-uu_client_LDADD = $(LDADD)
+-uu_client_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
+-	$(am__DEPENDENCIES_1) $(top_builddir)/lib/asn1/libasn1.la \
+-	$(am__DEPENDENCIES_1)
+-am_uu_server_OBJECTS = uu_server.$(OBJEXT) common.$(OBJEXT)
+-uu_server_OBJECTS = $(am_uu_server_OBJECTS)
+-uu_server_LDADD = $(LDADD)
+-uu_server_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
+-	$(am__DEPENDENCIES_1) $(top_builddir)/lib/asn1/libasn1.la \
+-	$(am__DEPENDENCIES_1)
+-DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
+-depcomp =
+-am__depfiles_maybe =
+-COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+-	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) \
+-	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+-	$(AM_CFLAGS) $(CFLAGS)
+-CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+-	$(AM_LDFLAGS) $(LDFLAGS) -o $@
+-SOURCES = $(gssapi_client_SOURCES) $(gssapi_server_SOURCES) \
+-	$(nt_gss_client_SOURCES) $(nt_gss_server_SOURCES) \
+-	$(tcp_client_SOURCES) $(tcp_server_SOURCES) \
+-	$(uu_client_SOURCES) $(uu_server_SOURCES)
+-DIST_SOURCES = $(gssapi_client_SOURCES) $(gssapi_server_SOURCES) \
+-	$(nt_gss_client_SOURCES) $(nt_gss_server_SOURCES) \
+-	$(tcp_client_SOURCES) $(tcp_server_SOURCES) \
+-	$(uu_client_SOURCES) $(uu_server_SOURCES)
+-ETAGS = etags
+-CTAGS = ctags
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ ACLOCAL = @ACLOCAL@
+ AIX4_FALSE = @AIX4_FALSE@
+ AIX4_TRUE = @AIX4_TRUE@
+@@ -190,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -200,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -223,12 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
++
+ INCLUDE_krb4 = @INCLUDE_krb4@
++
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
++
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -241,6 +130,7 @@
+ KRB5_TRUE = @KRB5_TRUE@
+ LDFLAGS = @LDFLAGS@
+ LEX = @LEX@
++
+ LEXLIB = @LEXLIB@
+ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+ LIBOBJS = @LIBOBJS@
+@@ -249,6 +139,7 @@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+ LIB_XauFileName = @LIB_XauFileName@
++
+ LIB_XauReadAuth = @LIB_XauReadAuth@
+ LIB_XauWriteAuth = @LIB_XauWriteAuth@
+ LIB_bswap16 = @LIB_bswap16@
+@@ -297,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -377,7 +270,6 @@
+ libexecdir = @libexecdir@
+ localstatedir = @localstatedir@
+ mandir = @mandir@
+-mkdir_p = @mkdir_p@
+ oldincludedir = @oldincludedir@
+ prefix = @prefix@
+ program_transform_name = @program_transform_name@
+@@ -385,79 +277,168 @@
+ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
++
+ SUFFIXES = .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8
++
+ INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken)
++
+ @do_roken_rename_TRUE@ROKEN_RENAME = -DROKEN_RENAME
++
+ AM_CFLAGS = $(WFLAGS)
++
+ CP = cp
++
+ buildinclude = $(top_builddir)/include
+ LIB_getattr = @LIB_getattr@
+ LIB_getpwent_r = @LIB_getpwent_r@
+ LIB_odm_initialize = @LIB_odm_initialize@
+ LIB_setpcred = @LIB_setpcred@
++
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
++
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
++
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++
+ @KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
+ @KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+ 
+ @KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
++
+ @DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
++
++noinst_PROGRAMS = tcp_client tcp_server gssapi_server gssapi_client \
++	uu_server uu_client nt_gss_server nt_gss_client
++
++
+ tcp_client_SOURCES = tcp_client.c common.c test_locl.h
++
+ tcp_server_SOURCES = tcp_server.c common.c test_locl.h
++
+ gssapi_server_SOURCES = gssapi_server.c gss_common.c common.c \
+ 	gss_common.h test_locl.h
+ 
++
+ gssapi_client_SOURCES = gssapi_client.c gss_common.c common.c \
+ 	gss_common.h test_locl.h
+ 
++
+ uu_server_SOURCES = uu_server.c common.c test_locl.h
++
+ uu_client_SOURCES = uu_client.c common.c test_locl.h
++
+ gssapi_server_LDADD = $(top_builddir)/lib/gssapi/libgssapi.la $(LDADD)
++
+ gssapi_client_LDADD = $(gssapi_server_LDADD)
++
+ nt_gss_client_SOURCES = nt_gss_client.c nt_gss_common.c common.c
++
+ nt_gss_server_SOURCES = nt_gss_server.c nt_gss_common.c
++
+ nt_gss_client_LDADD = $(gssapi_server_LDADD)
++
+ nt_gss_server_LDADD = $(nt_gss_client_LDADD)
++
+ LDADD = $(top_builddir)/lib/krb5/libkrb5.la \
+ 	$(LIB_des) \
+ 	$(top_builddir)/lib/asn1/libasn1.la \
+ 	$(LIB_roken)
+ 
++subdir = appl/test
++ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
++mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++noinst_PROGRAMS = tcp_client$(EXEEXT) tcp_server$(EXEEXT) \
++	gssapi_server$(EXEEXT) gssapi_client$(EXEEXT) \
++	uu_server$(EXEEXT) uu_client$(EXEEXT) nt_gss_server$(EXEEXT) \
++	nt_gss_client$(EXEEXT)
++PROGRAMS = $(noinst_PROGRAMS)
++
++am_gssapi_client_OBJECTS = gssapi_client.$(OBJEXT) gss_common.$(OBJEXT) \
++	common.$(OBJEXT)
++gssapi_client_OBJECTS = $(am_gssapi_client_OBJECTS)
++gssapi_client_DEPENDENCIES = $(top_builddir)/lib/gssapi/libgssapi.la \
++	$(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++gssapi_client_LDFLAGS =
++am_gssapi_server_OBJECTS = gssapi_server.$(OBJEXT) gss_common.$(OBJEXT) \
++	common.$(OBJEXT)
++gssapi_server_OBJECTS = $(am_gssapi_server_OBJECTS)
++gssapi_server_DEPENDENCIES = $(top_builddir)/lib/gssapi/libgssapi.la \
++	$(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++gssapi_server_LDFLAGS =
++am_nt_gss_client_OBJECTS = nt_gss_client.$(OBJEXT) \
++	nt_gss_common.$(OBJEXT) common.$(OBJEXT)
++nt_gss_client_OBJECTS = $(am_nt_gss_client_OBJECTS)
++nt_gss_client_DEPENDENCIES = $(top_builddir)/lib/gssapi/libgssapi.la \
++	$(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++nt_gss_client_LDFLAGS =
++am_nt_gss_server_OBJECTS = nt_gss_server.$(OBJEXT) \
++	nt_gss_common.$(OBJEXT)
++nt_gss_server_OBJECTS = $(am_nt_gss_server_OBJECTS)
++nt_gss_server_DEPENDENCIES = $(top_builddir)/lib/gssapi/libgssapi.la \
++	$(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++nt_gss_server_LDFLAGS =
++am_tcp_client_OBJECTS = tcp_client.$(OBJEXT) common.$(OBJEXT)
++tcp_client_OBJECTS = $(am_tcp_client_OBJECTS)
++tcp_client_LDADD = $(LDADD)
++tcp_client_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++tcp_client_LDFLAGS =
++am_tcp_server_OBJECTS = tcp_server.$(OBJEXT) common.$(OBJEXT)
++tcp_server_OBJECTS = $(am_tcp_server_OBJECTS)
++tcp_server_LDADD = $(LDADD)
++tcp_server_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++tcp_server_LDFLAGS =
++am_uu_client_OBJECTS = uu_client.$(OBJEXT) common.$(OBJEXT)
++uu_client_OBJECTS = $(am_uu_client_OBJECTS)
++uu_client_LDADD = $(LDADD)
++uu_client_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++uu_client_LDFLAGS =
++am_uu_server_OBJECTS = uu_server.$(OBJEXT) common.$(OBJEXT)
++uu_server_OBJECTS = $(am_uu_server_OBJECTS)
++uu_server_LDADD = $(LDADD)
++uu_server_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++uu_server_LDFLAGS =
++
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
++depcomp =
++am__depfiles_maybe =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++CCLD = $(CC)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++DIST_SOURCES = $(gssapi_client_SOURCES) $(gssapi_server_SOURCES) \
++	$(nt_gss_client_SOURCES) $(nt_gss_server_SOURCES) \
++	$(tcp_client_SOURCES) $(tcp_server_SOURCES) \
++	$(uu_client_SOURCES) $(uu_server_SOURCES)
++DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/Makefile.am.common \
++	$(top_srcdir)/cf/Makefile.am.common Makefile.am
++SOURCES = $(gssapi_client_SOURCES) $(gssapi_server_SOURCES) $(nt_gss_client_SOURCES) $(nt_gss_server_SOURCES) $(tcp_client_SOURCES) $(tcp_server_SOURCES) $(uu_client_SOURCES) $(uu_server_SOURCES)
++
+ all: all-am
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj
+-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(am__configure_deps)
+-	@for dep in $?; do \
+-	  case '$(am__configure_deps)' in \
+-	    *$$dep*) \
+-	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+-		&& exit 0; \
+-	      exit 1;; \
+-	  esac; \
+-	done; \
+-	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  --ignore-deps appl/test/Makefile'; \
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+-	  $(AUTOMAKE) --foreign  --ignore-deps appl/test/Makefile
+-.PRECIOUS: Makefile
+-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+-	@case '$?' in \
+-	  *config.status*) \
+-	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+-	  *) \
+-	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+-	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+-	esac;
+-
+-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-
+-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
++	  $(AUTOMAKE) --foreign  appl/test/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+ 
+ clean-noinstPROGRAMS:
+ 	@list='$(noinst_PROGRAMS)'; for p in $$list; do \
+@@ -491,19 +472,19 @@
+ 	$(LINK) $(uu_server_LDFLAGS) $(uu_server_OBJECTS) $(uu_server_LDADD) $(LIBS)
+ 
+ mostlyclean-compile:
+-	-rm -f *.$(OBJEXT)
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ .c.obj:
+-	$(COMPILE) -c `$(CYGPATH_W) '$<'`
++	$(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
+ 
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ mostlyclean-libtool:
+ 	-rm -f *.lo
+@@ -515,6 +496,14 @@
+ 	-rm -f libtool
+ uninstall-info-am:
+ 
++ETAGS = etags
++ETAGSFLAGS =
++
++CTAGS = ctags
++CTAGSFLAGS =
++
++tags: TAGS
++
+ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ 	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ 	unique=`for i in $$list; do \
+@@ -523,7 +512,6 @@
+ 	  $(AWK) '    { files[$$0] = 1; } \
+ 	       END { for (i in files) print i; }'`; \
+ 	mkid -fID $$unique
+-tags: TAGS
+ 
+ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -538,6 +526,7 @@
+ 	test -z "$(ETAGS_ARGS)$$tags$$unique" \
+ 	  || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ 	     $$tags $$unique
++
+ ctags: CTAGS
+ CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -560,9 +549,13 @@
+ 
+ distclean-tags:
+ 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	$(mkdir_p) $(distdir)/../.. $(distdir)/../../cf
++	$(mkinstalldirs) $(distdir)/../.. $(distdir)/../../cf
+ 	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ 	list='$(DISTFILES)'; for file in $$list; do \
+@@ -574,7 +567,7 @@
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ 	    dir="/$$dir"; \
+-	    $(mkdir_p) "$(distdir)$$dir"; \
++	    $(mkinstalldirs) "$(distdir)$$dir"; \
+ 	  else \
+ 	    dir=''; \
+ 	  fi; \
+@@ -596,6 +589,7 @@
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+ all-am: Makefile $(PROGRAMS) all-local
++
+ installdirs:
+ install: install-am
+ install-exec: install-exec-am
+@@ -635,8 +629,6 @@
+ 
+ dvi-am:
+ 
+-html: html-am
+-
+ info: info-am
+ 
+ info-am:
+@@ -676,15 +668,14 @@
+ 
+ .PHONY: CTAGS GTAGS all all-am all-local check check-am check-local \
+ 	clean clean-generic clean-libtool clean-noinstPROGRAMS ctags \
+-	distclean distclean-compile distclean-generic \
+-	distclean-libtool distclean-tags distdir dvi dvi-am html \
+-	html-am info info-am install install-am install-data \
+-	install-data-am install-exec install-exec-am install-info \
+-	install-info-am install-man install-strip installcheck \
+-	installcheck-am installdirs maintainer-clean \
+-	maintainer-clean-generic mostlyclean mostlyclean-compile \
+-	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+-	tags uninstall uninstall-am uninstall-info-am
++	distclean distclean-compile distclean-generic distclean-libtool \
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-data install-data-am install-exec \
++	install-exec-am install-info install-info-am install-man \
++	install-strip installcheck installcheck-am installdirs \
++	maintainer-clean maintainer-clean-generic mostlyclean \
++	mostlyclean-compile mostlyclean-generic mostlyclean-libtool pdf \
++	pdf-am ps ps-am tags uninstall uninstall-am uninstall-info-am
+ 
+ 
+ install-suid-programs:
+diff -ruN heimdal-0.6.3-old/appl/xnlock/Makefile.in heimdal-0.6.3/appl/xnlock/Makefile.in
+--- heimdal-0.6.3-old/appl/xnlock/Makefile.in	2004-09-13 22:29:10.000000000 +1000
++++ heimdal-0.6.3/appl/xnlock/Makefile.in	2004-09-14 08:39:50.000000000 +1000
+@@ -1,8 +1,8 @@
+-# Makefile.in generated by automake 1.8.3 from Makefile.am.
++# Makefile.in generated by automake 1.7.9 from Makefile.am.
+ # @configure_input@
+ 
+-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+-# 2003, 2004  Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
++# 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.
+@@ -20,8 +20,6 @@
+ 
+ # $Id: Makefile.am.common,v 1.37.2.2 2003/10/13 13:15:39 joda Exp $
+ 
+-SOURCES = xnlock.c
+-
+ srcdir = @srcdir@
+ top_srcdir = @top_srcdir@
+ VPATH = @srcdir@
+@@ -29,6 +27,7 @@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+ top_builddir = ../..
++
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+ INSTALL = @INSTALL@
+ install_sh_DATA = $(install_sh) -c -m 644
+@@ -43,88 +42,6 @@
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+ host_triplet = @host@
+-DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+-	$(top_srcdir)/Makefile.am.common \
+-	$(top_srcdir)/cf/Makefile.am.common ChangeLog
+-@HAVE_X_TRUE@bin_PROGRAMS = xnlock$(EXEEXT)
+-subdir = appl/xnlock
+-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+-am__aclocal_m4_deps = $(top_srcdir)/cf/aix.m4 \
+-	$(top_srcdir)/cf/auth-modules.m4 \
+-	$(top_srcdir)/cf/broken-getaddrinfo.m4 \
+-	$(top_srcdir)/cf/broken-getnameinfo.m4 \
+-	$(top_srcdir)/cf/broken-glob.m4 \
+-	$(top_srcdir)/cf/broken-realloc.m4 \
+-	$(top_srcdir)/cf/broken-snprintf.m4 $(top_srcdir)/cf/broken.m4 \
+-	$(top_srcdir)/cf/broken2.m4 $(top_srcdir)/cf/c-attribute.m4 \
+-	$(top_srcdir)/cf/capabilities.m4 \
+-	$(top_srcdir)/cf/check-compile-et.m4 \
+-	$(top_srcdir)/cf/check-declaration.m4 \
+-	$(top_srcdir)/cf/check-getpwnam_r-posix.m4 \
+-	$(top_srcdir)/cf/check-man.m4 \
+-	$(top_srcdir)/cf/check-netinet-ip-and-tcp.m4 \
+-	$(top_srcdir)/cf/check-type-extra.m4 \
+-	$(top_srcdir)/cf/check-var.m4 $(top_srcdir)/cf/check-x.m4 \
+-	$(top_srcdir)/cf/check-xau.m4 $(top_srcdir)/cf/crypto.m4 \
+-	$(top_srcdir)/cf/db.m4 $(top_srcdir)/cf/destdirs.m4 \
+-	$(top_srcdir)/cf/dlopen.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs2.m4 \
+-	$(top_srcdir)/cf/find-func.m4 \
+-	$(top_srcdir)/cf/find-if-not-broken.m4 \
+-	$(top_srcdir)/cf/have-struct-field.m4 \
+-	$(top_srcdir)/cf/have-type.m4 $(top_srcdir)/cf/irix.m4 \
+-	$(top_srcdir)/cf/krb-bigendian.m4 \
+-	$(top_srcdir)/cf/krb-func-getlogin.m4 \
+-	$(top_srcdir)/cf/krb-ipv6.m4 $(top_srcdir)/cf/krb-prog-ln-s.m4 \
+-	$(top_srcdir)/cf/krb-readline.m4 \
+-	$(top_srcdir)/cf/krb-struct-spwd.m4 \
+-	$(top_srcdir)/cf/krb-struct-winsize.m4 \
+-	$(top_srcdir)/cf/mips-abi.m4 $(top_srcdir)/cf/misc.m4 \
+-	$(top_srcdir)/cf/need-proto.m4 $(top_srcdir)/cf/osfc2.m4 \
+-	$(top_srcdir)/cf/otp.m4 $(top_srcdir)/cf/proto-compat.m4 \
+-	$(top_srcdir)/cf/retsigtype.m4 $(top_srcdir)/cf/roken-frag.m4 \
+-	$(top_srcdir)/cf/sunos.m4 $(top_srcdir)/cf/telnet.m4 \
+-	$(top_srcdir)/cf/test-package.m4 $(top_srcdir)/cf/wflags.m4 \
+-	$(top_srcdir)/cf/with-all.m4 $(top_srcdir)/configure.in
+-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+-	$(ACLOCAL_M4)
+-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = $(top_builddir)/include/config.h
+-CONFIG_CLEAN_FILES =
+-am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"
+-binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+-PROGRAMS = $(bin_PROGRAMS)
+-xnlock_SOURCES = xnlock.c
+-xnlock_OBJECTS = xnlock.$(OBJEXT)
+-xnlock_LDADD = $(LDADD)
+-am__DEPENDENCIES_1 =
+-am__DEPENDENCIES_2 = $(top_builddir)/lib/kafs/libkafs.la \
+-	$(am__DEPENDENCIES_1)
+-@KRB5_TRUE@am__DEPENDENCIES_3 = $(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-xnlock_DEPENDENCIES = $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_3) \
+-	$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
+-	$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
+-	$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
+-DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
+-depcomp =
+-am__depfiles_maybe =
+-COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+-	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) \
+-	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+-	$(AM_CFLAGS) $(CFLAGS)
+-CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+-	$(AM_LDFLAGS) $(LDFLAGS) -o $@
+-SOURCES = xnlock.c
+-DIST_SOURCES = xnlock.c
+-man1dir = $(mandir)/man1
+-MANS = $(man_MANS)
+-ETAGS = etags
+-CTAGS = ctags
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ ACLOCAL = @ACLOCAL@
+ AIX4_FALSE = @AIX4_FALSE@
+ AIX4_TRUE = @AIX4_TRUE@
+@@ -149,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -159,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -182,12 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
++
+ INCLUDE_krb4 = @INCLUDE_krb4@
++
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
++
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -200,6 +130,7 @@
+ KRB5_TRUE = @KRB5_TRUE@
+ LDFLAGS = @LDFLAGS@
+ LEX = @LEX@
++
+ LEXLIB = @LEXLIB@
+ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+ LIBOBJS = @LIBOBJS@
+@@ -208,6 +139,7 @@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+ LIB_XauFileName = @LIB_XauFileName@
++
+ LIB_XauReadAuth = @LIB_XauReadAuth@
+ LIB_XauWriteAuth = @LIB_XauWriteAuth@
+ LIB_bswap16 = @LIB_bswap16@
+@@ -256,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -284,6 +218,7 @@
+ STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
++
+ WFLAGS = @WFLAGS@ $(WFLAGS_NOIMPLICITINT)
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
+@@ -336,7 +271,6 @@
+ libexecdir = @libexecdir@
+ localstatedir = @localstatedir@
+ mandir = @mandir@
+-mkdir_p = @mkdir_p@
+ oldincludedir = @oldincludedir@
+ prefix = @prefix@
+ program_transform_name = @program_transform_name@
+@@ -344,30 +278,52 @@
+ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
++
+ SUFFIXES = .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8
++
+ INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) $(INCLUDE_krb4) $(X_CFLAGS)
++
+ @do_roken_rename_TRUE@ROKEN_RENAME = -DROKEN_RENAME
++
+ AM_CFLAGS = $(WFLAGS)
++
+ CP = cp
++
+ buildinclude = $(top_builddir)/include
+ LIB_getattr = @LIB_getattr@
+ LIB_getpwent_r = @LIB_getpwent_r@
+ LIB_odm_initialize = @LIB_odm_initialize@
+ LIB_setpcred = @LIB_setpcred@
++
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
++
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
++
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++
+ @KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
+ @KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+ 
+ @KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
++
+ @DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
++
++@HAVE_X_FALSE@bin_PROGRAMS = 
++
++@HAVE_X_TRUE@bin_PROGRAMS = xnlock
++
+ CHECK_LOCAL = 
++
+ man_MANS = xnlock.1
++
+ EXTRA_DIST = $(man_MANS) nose.0.left nose.0.right nose.1.left nose.1.right \
+ 	nose.down nose.front nose.left.front nose.right.front
+ 
++
+ LDADD = \
+ 	$(LIB_kafs) \
+ 	$(LIB_krb5) \
+@@ -376,50 +332,62 @@
+ 	$(LIB_roken) \
+ 	$(X_LIBS) -lXt $(X_PRE_LIBS) -lX11 $(X_EXTRA_LIBS)
+ 
++subdir = appl/xnlock
++ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
++mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++@HAVE_X_TRUE@bin_PROGRAMS = xnlock$(EXEEXT)
++@HAVE_X_FALSE@bin_PROGRAMS =
++PROGRAMS = $(bin_PROGRAMS)
++
++xnlock_SOURCES = xnlock.c
++xnlock_OBJECTS = xnlock.$(OBJEXT)
++xnlock_LDADD = $(LDADD)
++@KRB5_TRUE@xnlock_DEPENDENCIES = $(top_builddir)/lib/kafs/libkafs.la \
++@KRB5_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la \
++@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_FALSE@xnlock_DEPENDENCIES = $(top_builddir)/lib/kafs/libkafs.la
++xnlock_LDFLAGS =
++
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
++depcomp =
++am__depfiles_maybe =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++CCLD = $(CC)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++DIST_SOURCES = xnlock.c
++MANS = $(man_MANS)
++DIST_COMMON = README $(srcdir)/Makefile.in \
++	$(top_srcdir)/Makefile.am.common \
++	$(top_srcdir)/cf/Makefile.am.common ChangeLog Makefile.am
++SOURCES = xnlock.c
++
+ all: all-am
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj
+-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(am__configure_deps)
+-	@for dep in $?; do \
+-	  case '$(am__configure_deps)' in \
+-	    *$$dep*) \
+-	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+-		&& exit 0; \
+-	      exit 1;; \
+-	  esac; \
+-	done; \
+-	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  --ignore-deps appl/xnlock/Makefile'; \
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+-	  $(AUTOMAKE) --foreign  --ignore-deps appl/xnlock/Makefile
+-.PRECIOUS: Makefile
+-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+-	@case '$?' in \
+-	  *config.status*) \
+-	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+-	  *) \
+-	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+-	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+-	esac;
+-
+-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-
+-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
++	  $(AUTOMAKE) --foreign  appl/xnlock/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
++binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ install-binPROGRAMS: $(bin_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
++	$(mkinstalldirs) $(DESTDIR)$(bindir)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+ 	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+ 	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+-	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
+-	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f || exit 1; \
+ 	  else :; fi; \
+ 	done
+ 
+@@ -427,8 +395,8 @@
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+ 	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
+-	  rm -f "$(DESTDIR)$(bindir)/$$f"; \
++	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
++	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+ clean-binPROGRAMS:
+@@ -442,19 +410,19 @@
+ 	$(LINK) $(xnlock_LDFLAGS) $(xnlock_OBJECTS) $(xnlock_LDADD) $(LIBS)
+ 
+ mostlyclean-compile:
+-	-rm -f *.$(OBJEXT)
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ .c.obj:
+-	$(COMPILE) -c `$(CYGPATH_W) '$<'`
++	$(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
+ 
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ mostlyclean-libtool:
+ 	-rm -f *.lo
+@@ -465,9 +433,11 @@
+ distclean-libtool:
+ 	-rm -f libtool
+ uninstall-info-am:
++
++man1dir = $(mandir)/man1
+ install-man1: $(man1_MANS) $(man_MANS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(man1dir)" || $(mkdir_p) "$(DESTDIR)$(man1dir)"
++	$(mkinstalldirs) $(DESTDIR)$(man1dir)
+ 	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
+ 	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
+ 	for i in $$l2; do \
+@@ -486,8 +456,8 @@
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+-	  echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
+-	  $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst"; \
++	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
++	  $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
+ 	done
+ uninstall-man1:
+ 	@$(NORMAL_UNINSTALL)
+@@ -507,10 +477,18 @@
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+-	  echo " rm -f '$(DESTDIR)$(man1dir)/$$inst'"; \
+-	  rm -f "$(DESTDIR)$(man1dir)/$$inst"; \
++	  echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
++	  rm -f $(DESTDIR)$(man1dir)/$$inst; \
+ 	done
+ 
++ETAGS = etags
++ETAGSFLAGS =
++
++CTAGS = ctags
++CTAGSFLAGS =
++
++tags: TAGS
++
+ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ 	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ 	unique=`for i in $$list; do \
+@@ -519,7 +497,6 @@
+ 	  $(AWK) '    { files[$$0] = 1; } \
+ 	       END { for (i in files) print i; }'`; \
+ 	mkid -fID $$unique
+-tags: TAGS
+ 
+ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -534,6 +511,7 @@
+ 	test -z "$(ETAGS_ARGS)$$tags$$unique" \
+ 	  || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ 	     $$tags $$unique
++
+ ctags: CTAGS
+ CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -556,9 +534,13 @@
+ 
+ distclean-tags:
+ 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	$(mkdir_p) $(distdir)/../.. $(distdir)/../../cf
++	$(mkinstalldirs) $(distdir)/../.. $(distdir)/../../cf
+ 	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ 	list='$(DISTFILES)'; for file in $$list; do \
+@@ -570,7 +552,7 @@
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ 	    dir="/$$dir"; \
+-	    $(mkdir_p) "$(distdir)$$dir"; \
++	    $(mkinstalldirs) "$(distdir)$$dir"; \
+ 	  else \
+ 	    dir=''; \
+ 	  fi; \
+@@ -592,10 +574,9 @@
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+ all-am: Makefile $(PROGRAMS) $(MANS) all-local
++
+ installdirs:
+-	for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"; do \
+-	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
+-	done
++	$(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(man1dir)
+ install: install-am
+ install-exec: install-exec-am
+ install-data: install-data-am
+@@ -633,8 +614,6 @@
+ 
+ dvi-am:
+ 
+-html: html-am
+-
+ info: info-am
+ 
+ info-am:
+@@ -676,17 +655,16 @@
+ 
+ .PHONY: CTAGS GTAGS all all-am all-local check check-am check-local \
+ 	clean clean-binPROGRAMS clean-generic clean-libtool ctags \
+-	distclean distclean-compile distclean-generic \
+-	distclean-libtool distclean-tags distdir dvi dvi-am html \
+-	html-am info info-am install install-am install-binPROGRAMS \
+-	install-data install-data-am install-exec install-exec-am \
+-	install-info install-info-am install-man install-man1 \
+-	install-strip installcheck installcheck-am installdirs \
+-	maintainer-clean maintainer-clean-generic mostlyclean \
+-	mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
+-	pdf pdf-am ps ps-am tags uninstall uninstall-am \
+-	uninstall-binPROGRAMS uninstall-info-am uninstall-man \
+-	uninstall-man1
++	distclean distclean-compile distclean-generic distclean-libtool \
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-binPROGRAMS install-data install-data-am \
++	install-exec install-exec-am install-info install-info-am \
++	install-man install-man1 install-strip installcheck \
++	installcheck-am installdirs maintainer-clean \
++	maintainer-clean-generic mostlyclean mostlyclean-compile \
++	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
++	tags uninstall uninstall-am uninstall-binPROGRAMS \
++	uninstall-info-am uninstall-man uninstall-man1
+ 
+ 
+ install-suid-programs:
+diff -ruN heimdal-0.6.3-old/autom4te.cache/output.0 heimdal-0.6.3/autom4te.cache/output.0
+--- heimdal-0.6.3-old/autom4te.cache/output.0	1970-01-01 10:00:00.000000000 +1000
++++ heimdal-0.6.3/autom4te.cache/output.0	2004-09-14 08:39:13.000000000 +1000
+@@ -0,0 +1,55683 @@
++@%:@! /bin/sh
++@%:@ From configure.in Revision: 1.331.2.8 .
++@%:@ Guess values for system-dependent variables and create Makefiles.
++@%:@ Generated by GNU Autoconf 2.59 for Heimdal 0.6.3.
++@%:@
++@%:@ Report bugs to <heimdal-bugs@pdc.kth.se>.
++@%:@ 
++@%:@ Copyright (C) 2003 Free Software Foundation, Inc.
++@%:@ This configure script is free software; the Free Software Foundation
++@%:@ gives unlimited permission to copy, distribute and modify it.
++## --------------------- ##
++## M4sh Initialization.  ##
++## --------------------- ##
++
++# Be Bourne compatible
++if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
++  emulate sh
++  NULLCMD=:
++  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
++  # is contrary to our usage.  Disable this feature.
++  alias -g '${1+"$@"}'='"$@"'
++elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
++  set -o posix
++fi
++DUALCASE=1; export DUALCASE # for MKS sh
++
++# Support unset when possible.
++if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
++  as_unset=unset
++else
++  as_unset=false
++fi
++
++
++# Work around bugs in pre-3.0 UWIN ksh.
++$as_unset ENV MAIL MAILPATH
++PS1='$ '
++PS2='> '
++PS4='+ '
++
++# NLS nuisances.
++for as_var in \
++  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
++  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
++  LC_TELEPHONE LC_TIME
++do
++  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
++    eval $as_var=C; export $as_var
++  else
++    $as_unset $as_var
++  fi
++done
++
++# Required to use basename.
++if expr a : '\(a\)' >/dev/null 2>&1; then
++  as_expr=expr
++else
++  as_expr=false
++fi
++
++if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
++  as_basename=basename
++else
++  as_basename=false
++fi
++
++
++# Name of the executable.
++as_me=`$as_basename "$0" ||
++$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
++	 X"$0" : 'X\(//\)$' \| \
++	 X"$0" : 'X\(/\)$' \| \
++	 .     : '\(.\)' 2>/dev/null ||
++echo X/"$0" |
++    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
++  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
++  	  /^X\/\(\/\).*/{ s//\1/; q; }
++  	  s/.*/./; q'`
++
++
++# PATH needs CR, and LINENO needs CR and PATH.
++# Avoid depending upon Character Ranges.
++as_cr_letters='abcdefghijklmnopqrstuvwxyz'
++as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
++as_cr_Letters=$as_cr_letters$as_cr_LETTERS
++as_cr_digits='0123456789'
++as_cr_alnum=$as_cr_Letters$as_cr_digits
++
++# The user is always right.
++if test "${PATH_SEPARATOR+set}" != set; then
++  echo "#! /bin/sh" >conf$$.sh
++  echo  "exit 0"   >>conf$$.sh
++  chmod +x conf$$.sh
++  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
++    PATH_SEPARATOR=';'
++  else
++    PATH_SEPARATOR=:
++  fi
++  rm -f conf$$.sh
++fi
++
++
++  as_lineno_1=$LINENO
++  as_lineno_2=$LINENO
++  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
++  test "x$as_lineno_1" != "x$as_lineno_2" &&
++  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
++  # Find who we are.  Look in the path if we contain no path at all
++  # relative or not.
++  case $0 in
++    *[\\/]* ) as_myself=$0 ;;
++    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
++done
++
++       ;;
++  esac
++  # We did not find ourselves, most probably we were run as `sh COMMAND'
++  # in which case we are not to be found in the path.
++  if test "x$as_myself" = x; then
++    as_myself=$0
++  fi
++  if test ! -f "$as_myself"; then
++    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
++   { (exit 1); exit 1; }; }
++  fi
++  case $CONFIG_SHELL in
++  '')
++    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for as_base in sh bash ksh sh5; do
++	 case $as_dir in
++	 /*)
++	   if ("$as_dir/$as_base" -c '
++  as_lineno_1=$LINENO
++  as_lineno_2=$LINENO
++  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
++  test "x$as_lineno_1" != "x$as_lineno_2" &&
++  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
++	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
++	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
++	     CONFIG_SHELL=$as_dir/$as_base
++	     export CONFIG_SHELL
++	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
++	   fi;;
++	 esac
++       done
++done
++;;
++  esac
++
++  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
++  # uniformly replaced by the line number.  The first 'sed' inserts a
++  # line-number line before each line; the second 'sed' does the real
++  # work.  The second script uses 'N' to pair each line-number line
++  # with the numbered line, and appends trailing '-' during
++  # substitution so that $LINENO is not a special case at line end.
++  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
++  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
++  sed '=' <$as_myself |
++    sed '
++      N
++      s,$,-,
++      : loop
++      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
++      t loop
++      s,-$,,
++      s,^['$as_cr_digits']*\n,,
++    ' >$as_me.lineno &&
++  chmod +x $as_me.lineno ||
++    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
++   { (exit 1); exit 1; }; }
++
++  # Don't try to exec as it changes $[0], causing all sort of problems
++  # (the dirname of $[0] is not the place where we might find the
++  # original and so on.  Autoconf is especially sensible to this).
++  . ./$as_me.lineno
++  # Exit status is that of the last command.
++  exit
++}
++
++
++case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
++  *c*,-n*) ECHO_N= ECHO_C='
++' ECHO_T='	' ;;
++  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
++  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
++esac
++
++if expr a : '\(a\)' >/dev/null 2>&1; then
++  as_expr=expr
++else
++  as_expr=false
++fi
++
++rm -f conf$$ conf$$.exe conf$$.file
++echo >conf$$.file
++if ln -s conf$$.file conf$$ 2>/dev/null; then
++  # We could just check for DJGPP; but this test a) works b) is more generic
++  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
++  if test -f conf$$.exe; then
++    # Don't use ln at all; we don't have any links
++    as_ln_s='cp -p'
++  else
++    as_ln_s='ln -s'
++  fi
++elif ln conf$$.file conf$$ 2>/dev/null; then
++  as_ln_s=ln
++else
++  as_ln_s='cp -p'
++fi
++rm -f conf$$ conf$$.exe conf$$.file
++
++if mkdir -p . 2>/dev/null; then
++  as_mkdir_p=:
++else
++  test -d ./-p && rmdir ./-p
++  as_mkdir_p=false
++fi
++
++as_executable_p="test -f"
++
++# Sed expression to map a string onto a valid CPP name.
++as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
++
++# Sed expression to map a string onto a valid variable name.
++as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
++
++
++# IFS
++# We need space, tab and new line, in precisely that order.
++as_nl='
++'
++IFS=" 	$as_nl"
++
++# CDPATH.
++$as_unset CDPATH
++
++
++
++# Check that we are running under the correct shell.
++SHELL=${CONFIG_SHELL-/bin/sh}
++
++case X$ECHO in
++X*--fallback-echo)
++  # Remove one level of quotation (which was required for Make).
++  ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
++  ;;
++esac
++
++echo=${ECHO-echo}
++if test "X$1" = X--no-reexec; then
++  # Discard the --no-reexec flag, and continue.
++  shift
++elif test "X$1" = X--fallback-echo; then
++  # Avoid inline document here, it may be left over
++  :
++elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
++  # Yippee, $echo works!
++  :
++else
++  # Restart under the correct shell.
++  exec $SHELL "$0" --no-reexec ${1+"$@"}
++fi
++
++if test "X$1" = X--fallback-echo; then
++  # used as fallback echo
++  shift
++  cat <<EOF
++$*
++EOF
++  exit 0
++fi
++
++# The HP-UX ksh and POSIX shell print the target directory to stdout
++# if CDPATH is set.
++if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
++
++if test -z "$ECHO"; then
++if test "X${echo_test_string+set}" != Xset; then
++# find a string as large as possible, as long as the shell can cope with it
++  for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
++    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
++    if (echo_test_string="`eval $cmd`") 2>/dev/null &&
++       echo_test_string="`eval $cmd`" &&
++       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
++    then
++      break
++    fi
++  done
++fi
++
++if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
++   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
++   test "X$echo_testing_string" = "X$echo_test_string"; then
++  :
++else
++  # The Solaris, AIX, and Digital Unix default echo programs unquote
++  # backslashes.  This makes it impossible to quote backslashes using
++  #   echo "$something" | sed 's/\\/\\\\/g'
++  #
++  # So, first we look for a working echo in the user's PATH.
++
++  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
++  for dir in $PATH /usr/ucb; do
++    IFS="$lt_save_ifs"
++    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
++       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
++       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
++       test "X$echo_testing_string" = "X$echo_test_string"; then
++      echo="$dir/echo"
++      break
++    fi
++  done
++  IFS="$lt_save_ifs"
++
++  if test "X$echo" = Xecho; then
++    # We didn't find a better echo, so look for alternatives.
++    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
++       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
++       test "X$echo_testing_string" = "X$echo_test_string"; then
++      # This shell has a builtin print -r that does the trick.
++      echo='print -r'
++    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
++	 test "X$CONFIG_SHELL" != X/bin/ksh; then
++      # If we have ksh, try running configure again with it.
++      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
++      export ORIGINAL_CONFIG_SHELL
++      CONFIG_SHELL=/bin/ksh
++      export CONFIG_SHELL
++      exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
++    else
++      # Try using printf.
++      echo='printf %s\n'
++      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
++	 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
++	 test "X$echo_testing_string" = "X$echo_test_string"; then
++	# Cool, printf works
++	:
++      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
++	   test "X$echo_testing_string" = 'X\t' &&
++	   echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
++	   test "X$echo_testing_string" = "X$echo_test_string"; then
++	CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
++	export CONFIG_SHELL
++	SHELL="$CONFIG_SHELL"
++	export SHELL
++	echo="$CONFIG_SHELL $0 --fallback-echo"
++      elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
++	   test "X$echo_testing_string" = 'X\t' &&
++	   echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
++	   test "X$echo_testing_string" = "X$echo_test_string"; then
++	echo="$CONFIG_SHELL $0 --fallback-echo"
++      else
++	# maybe with a smaller string...
++	prev=:
++
++	for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
++	  if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
++	  then
++	    break
++	  fi
++	  prev="$cmd"
++	done
++
++	if test "$prev" != 'sed 50q "$0"'; then
++	  echo_test_string=`eval $prev`
++	  export echo_test_string
++	  exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
++	else
++	  # Oops.  We lost completely, so just stick with echo.
++	  echo=echo
++	fi
++      fi
++    fi
++  fi
++fi
++fi
++
++# Copy echo and quote the copy suitably for passing to libtool from
++# the Makefile, instead of quoting the original, which is used later.
++ECHO=$echo
++if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
++   ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
++fi
++
++
++
++
++tagnames=${tagnames+${tagnames},}CXX
++
++tagnames=${tagnames+${tagnames},}F77
++
++# Name of the host.
++# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
++# so uname gets run too.
++ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
++
++exec 6>&1
++
++#
++# Initializations.
++#
++ac_default_prefix=/usr/local
++ac_config_libobj_dir=.
++cross_compiling=no
++subdirs=
++MFLAGS=
++MAKEFLAGS=
++SHELL=${CONFIG_SHELL-/bin/sh}
++
++# Maximum number of lines to put in a shell here document.
++# This variable seems obsolete.  It should probably be removed, and
++# only ac_max_sed_lines should be used.
++: ${ac_max_here_lines=38}
++
++# Identity of this package.
++PACKAGE_NAME='Heimdal'
++PACKAGE_TARNAME='heimdal'
++PACKAGE_VERSION='0.6.3'
++PACKAGE_STRING='Heimdal 0.6.3'
++PACKAGE_BUGREPORT='heimdal-bugs@pdc.kth.se'
++
++ac_unique_file="kuser/kinit.c"
++ac_default_prefix=/usr/heimdal
++# Factoring default headers for most tests.
++ac_includes_default="\
++#include <stdio.h>
++#if HAVE_SYS_TYPES_H
++# include <sys/types.h>
++#endif
++#if HAVE_SYS_STAT_H
++# include <sys/stat.h>
++#endif
++#if STDC_HEADERS
++# include <stdlib.h>
++# include <stddef.h>
++#else
++# if HAVE_STDLIB_H
++#  include <stdlib.h>
++# endif
++#endif
++#if HAVE_STRING_H
++# if !STDC_HEADERS && HAVE_MEMORY_H
++#  include <memory.h>
++# endif
++# include <string.h>
++#endif
++#if HAVE_STRINGS_H
++# include <strings.h>
++#endif
++#if HAVE_INTTYPES_H
++# include <inttypes.h>
++#else
++# if HAVE_STDINT_H
++#  include <stdint.h>
++# endif
++#endif
++#if HAVE_UNISTD_H
++# include <unistd.h>
++#endif"
++
++ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot build build_cpu build_vendor build_os host host_cpu host_vendor host_os CANONICAL_HOST YACC LEX LEXLIB LEX_OUTPUT_ROOT LN_S EGREP ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CXX CXXFLAGS ac_ct_CXX CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL WFLAGS WFLAGS_NOUNUSED WFLAGS_NOIMPLICITINT DIR_openldap INCLUDE_openldap LIB_openldap DIR_krb4 INCLUDE_krb4 LIB_krb4 EXTRA_LIB45 LIB_krb_enable_debug LIB_krb_disable_debug LIB_krb_get_our_ip_for_realm LIB_krb_kdctimeofday LIB_krb_get_kdc_time_diff KRB4_TRUE KRB4_FALSE KRB5_TRUE KRB5_FALSE do_roken_rename_TRUE do_roken_rename_FALSE LIB_kdb HAVE_OPENSSL_TRUE HAVE_OPENSSL_FALSE DIR_des INCLUDE_des LIB_des LIB_des_a LIB_des_so LIB_des_appl DCE_TRUE DCE_FALSE dpagaix_cflags dpagaix_ldadd dpagaix_ldflags LIB_db_create LIB_dbopen LIB_dbm_firstkey HAVE_DB1_TRUE HAVE_DB1_FALSE HAVE_DB3_TRUE HAVE_DB3_FALSE HAVE_NDBM_TRUE HAVE_NDBM_FALSE DBLIB LIB_NDBM LIB_crypt LIB_roken DIR_roken CPPFLAGS_roken VOID_RETSIGTYPE have_err_h_TRUE have_err_h_FALSE have_fnmatch_h_TRUE have_fnmatch_h_FALSE have_ifaddrs_h_TRUE have_ifaddrs_h_FALSE have_vis_h_TRUE have_vis_h_FALSE LIB_socket LIB_gethostbyname LIB_syslog LIB_gethostbyname2 LIB_res_search LIB_res_nsearch LIB_dn_expand LIB@&t@OBJS have_glob_h_TRUE have_glob_h_FALSE LIB_getsockopt LIB_setsockopt LIB_hstrerror LIB_bswap16 LIB_bswap32 LIB_pidfile LIB_getaddrinfo LIB_getnameinfo LIB_freeaddrinfo LIB_gai_strerror OTP_TRUE OTP_FALSE LIB_security NROFF GROFF CATMAN CATMAN_TRUE CATMAN_FALSE CATMANEXT DIR_readline INCLUDE_readline LIB_readline DIR_hesiod INCLUDE_hesiod LIB_hesiod DIR_sl INCLUDE_sl LIB_sl DIR_ss INCLUDE_ss LIB_ss DIR_otp INCLUDE_otp LIB_otp AIX_TRUE AIX_FALSE AIX4_TRUE AIX4_FALSE LIB_dlopen HAVE_DLOPEN_TRUE HAVE_DLOPEN_FALSE LIB_loadquery AIX_DYNAMIC_AFS_TRUE AIX_DYNAMIC_AFS_FALSE AIX_EXTRA_KAFS IRIX_TRUE IRIX_FALSE X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS HAVE_X_TRUE HAVE_X_FALSE LIB_XauWriteAuth LIB_XauReadAuth LIB_XauFileName NEED_WRITEAUTH_TRUE NEED_WRITEAUTH_FALSE LIB_logwtmp LIB_logout LIB_openpty LIB_tgetent LIB_getpwnam_r LIB_el_init el_compat_TRUE el_compat_FALSE COMPILE_ET DIR_com_err LIB_com_err LIB_com_err_a LIB_com_err_so LIB_AUTH_SUBDIRS LTLIBOBJS'
++ac_subst_files=''
++
++# Initialize some variables set by options.
++ac_init_help=
++ac_init_version=false
++# The variables have the same names as the options, with
++# dashes changed to underlines.
++cache_file=/dev/null
++exec_prefix=NONE
++no_create=
++no_recursion=
++prefix=NONE
++program_prefix=NONE
++program_suffix=NONE
++program_transform_name=s,x,x,
++silent=
++site=
++srcdir=
++verbose=
++x_includes=NONE
++x_libraries=NONE
++
++# Installation directory options.
++# These are left unexpanded so users can "make install exec_prefix=/foo"
++# and all the variables that are supposed to be based on exec_prefix
++# by default will actually change.
++# Use braces instead of parens because sh, perl, etc. also accept them.
++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'
++
++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
++
++  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
++
++  # 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_alias ;;
++  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
++    build_alias=$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 ;;
++
++  --config-cache | -C)
++    cache_file=config.cache ;;
++
++  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
++    ac_prev=datadir ;;
++  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
++  | --da=*)
++    datadir=$ac_optarg ;;
++
++  -disable-* | --disable-*)
++    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
++    # Reject names that are not valid shell variable names.
++    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
++      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
++   { (exit 1); exit 1; }; }
++    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
++    eval "enable_$ac_feature=no" ;;
++
++  -enable-* | --enable-*)
++    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
++    # Reject names that are not valid shell variable names.
++    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
++      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
++   { (exit 1); exit 1; }; }
++    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
++    case $ac_option in
++      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
++      *) 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 | -h)
++    ac_init_help=long ;;
++  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
++    ac_init_help=recursive ;;
++  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
++    ac_init_help=short ;;
++
++  -host | --host | --hos | --ho)
++    ac_prev=host_alias ;;
++  -host=* | --host=* | --hos=* | --ho=*)
++    host_alias=$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 | -n)
++    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_alias ;;
++  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
++    target_alias=$ac_optarg ;;
++
++  -v | -verbose | --verbose | --verbos | --verbo | --verb)
++    verbose=yes ;;
++
++  -version | --version | --versio | --versi | --vers | -V)
++    ac_init_version=: ;;
++
++  -with-* | --with-*)
++    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
++    # Reject names that are not valid shell variable names.
++    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
++      { echo "$as_me: error: invalid package name: $ac_package" >&2
++   { (exit 1); exit 1; }; }
++    ac_package=`echo $ac_package| sed 's/-/_/g'`
++    case $ac_option in
++      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
++      *) ac_optarg=yes ;;
++    esac
++    eval "with_$ac_package='$ac_optarg'" ;;
++
++  -without-* | --without-*)
++    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
++    # Reject names that are not valid shell variable names.
++    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
++      { echo "$as_me: error: invalid package name: $ac_package" >&2
++   { (exit 1); exit 1; }; }
++    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 "$as_me: error: unrecognized option: $ac_option
++Try \`$0 --help' for more information." >&2
++   { (exit 1); exit 1; }; }
++    ;;
++
++  *=*)
++    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
++    # Reject names that are not valid shell variable names.
++    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
++      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
++   { (exit 1); exit 1; }; }
++    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
++    eval "$ac_envvar='$ac_optarg'"
++    export $ac_envvar ;;
++
++  *)
++    # FIXME: should be removed in autoconf 3.0.
++    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
++    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
++      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
++    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
++    ;;
++
++  esac
++done
++
++if test -n "$ac_prev"; then
++  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
++  { echo "$as_me: error: missing argument to $ac_option" >&2
++   { (exit 1); exit 1; }; }
++fi
++
++# Be sure to have absolute paths.
++for ac_var in exec_prefix prefix
++do
++  eval ac_val=$`echo $ac_var`
++  case $ac_val in
++    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
++    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
++   { (exit 1); exit 1; }; };;
++  esac
++done
++
++# Be sure to have absolute paths.
++for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
++	      localstatedir libdir includedir oldincludedir infodir mandir
++do
++  eval ac_val=$`echo $ac_var`
++  case $ac_val in
++    [\\/$]* | ?:[\\/]* ) ;;
++    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
++   { (exit 1); exit 1; }; };;
++  esac
++done
++
++# There might be people who depend on the old broken behavior: `$host'
++# used to hold the argument of --host etc.
++# FIXME: To remove some day.
++build=$build_alias
++host=$host_alias
++target=$target_alias
++
++# FIXME: To remove some day.
++if test "x$host_alias" != x; then
++  if test "x$build_alias" = x; then
++    cross_compiling=maybe
++    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
++    If a cross compiler is detected then cross compile mode will be used." >&2
++  elif test "x$build_alias" != "x$host_alias"; then
++    cross_compiling=yes
++  fi
++fi
++
++ac_tool_prefix=
++test -n "$host_alias" && ac_tool_prefix=$host_alias-
++
++test "$silent" = yes && exec 6>/dev/null
++
++
++# 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_confdir=`(dirname "$0") 2>/dev/null ||
++$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++	 X"$0" : 'X\(//\)[^/]' \| \
++	 X"$0" : 'X\(//\)$' \| \
++	 X"$0" : 'X\(/\)' \| \
++	 .     : '\(.\)' 2>/dev/null ||
++echo X"$0" |
++    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
++  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
++  	  /^X\(\/\/\)$/{ s//\1/; q; }
++  	  /^X\(\/\).*/{ s//\1/; q; }
++  	  s/.*/./; q'`
++  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 "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
++   { (exit 1); exit 1; }; }
++  else
++    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
++   { (exit 1); exit 1; }; }
++  fi
++fi
++(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
++  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
++   { (exit 1); exit 1; }; }
++srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
++ac_env_build_alias_set=${build_alias+set}
++ac_env_build_alias_value=$build_alias
++ac_cv_env_build_alias_set=${build_alias+set}
++ac_cv_env_build_alias_value=$build_alias
++ac_env_host_alias_set=${host_alias+set}
++ac_env_host_alias_value=$host_alias
++ac_cv_env_host_alias_set=${host_alias+set}
++ac_cv_env_host_alias_value=$host_alias
++ac_env_target_alias_set=${target_alias+set}
++ac_env_target_alias_value=$target_alias
++ac_cv_env_target_alias_set=${target_alias+set}
++ac_cv_env_target_alias_value=$target_alias
++ac_env_CC_set=${CC+set}
++ac_env_CC_value=$CC
++ac_cv_env_CC_set=${CC+set}
++ac_cv_env_CC_value=$CC
++ac_env_CFLAGS_set=${CFLAGS+set}
++ac_env_CFLAGS_value=$CFLAGS
++ac_cv_env_CFLAGS_set=${CFLAGS+set}
++ac_cv_env_CFLAGS_value=$CFLAGS
++ac_env_LDFLAGS_set=${LDFLAGS+set}
++ac_env_LDFLAGS_value=$LDFLAGS
++ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
++ac_cv_env_LDFLAGS_value=$LDFLAGS
++ac_env_CPPFLAGS_set=${CPPFLAGS+set}
++ac_env_CPPFLAGS_value=$CPPFLAGS
++ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
++ac_cv_env_CPPFLAGS_value=$CPPFLAGS
++ac_env_CPP_set=${CPP+set}
++ac_env_CPP_value=$CPP
++ac_cv_env_CPP_set=${CPP+set}
++ac_cv_env_CPP_value=$CPP
++ac_env_CXX_set=${CXX+set}
++ac_env_CXX_value=$CXX
++ac_cv_env_CXX_set=${CXX+set}
++ac_cv_env_CXX_value=$CXX
++ac_env_CXXFLAGS_set=${CXXFLAGS+set}
++ac_env_CXXFLAGS_value=$CXXFLAGS
++ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
++ac_cv_env_CXXFLAGS_value=$CXXFLAGS
++ac_env_CXXCPP_set=${CXXCPP+set}
++ac_env_CXXCPP_value=$CXXCPP
++ac_cv_env_CXXCPP_set=${CXXCPP+set}
++ac_cv_env_CXXCPP_value=$CXXCPP
++ac_env_F77_set=${F77+set}
++ac_env_F77_value=$F77
++ac_cv_env_F77_set=${F77+set}
++ac_cv_env_F77_value=$F77
++ac_env_FFLAGS_set=${FFLAGS+set}
++ac_env_FFLAGS_value=$FFLAGS
++ac_cv_env_FFLAGS_set=${FFLAGS+set}
++ac_cv_env_FFLAGS_value=$FFLAGS
++
++#
++# Report the --help message.
++#
++if test "$ac_init_help" = "long"; then
++  # 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 <<_ACEOF
++\`configure' configures Heimdal 0.6.3 to adapt to many kinds of systems.
++
++Usage: $0 [OPTION]... [VAR=VALUE]...
++
++To assign environment variables (e.g., CC, CFLAGS...), specify them as
++VAR=VALUE.  See below for descriptions of some of the useful variables.
++
++Defaults for the options are specified in brackets.
++
++Configuration:
++  -h, --help              display this help and exit
++      --help=short        display options specific to this package
++      --help=recursive    display the short help of all the included packages
++  -V, --version           display version information and exit
++  -q, --quiet, --silent   do not print \`checking...' messages
++      --cache-file=FILE   cache test results in FILE [disabled]
++  -C, --config-cache      alias for \`--cache-file=config.cache'
++  -n, --no-create         do not create output files
++      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
++
++_ACEOF
++
++  cat <<_ACEOF
++Installation directories:
++  --prefix=PREFIX         install architecture-independent files in PREFIX
++			  [$ac_default_prefix]
++  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
++			  [PREFIX]
++
++By default, \`make install' will install all the files in
++\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
++an installation prefix other than \`$ac_default_prefix' using \`--prefix',
++for instance \`--prefix=\$HOME'.
++
++For better control, use the options below.
++
++Fine tuning of the installation directories:
++  --bindir=DIR           user executables [EPREFIX/bin]
++  --sbindir=DIR          system admin executables [EPREFIX/sbin]
++  --libexecdir=DIR       program executables [EPREFIX/libexec]
++  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
++  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
++  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
++  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
++  --libdir=DIR           object code libraries [EPREFIX/lib]
++  --includedir=DIR       C header files [PREFIX/include]
++  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
++  --infodir=DIR          info documentation [PREFIX/info]
++  --mandir=DIR           man documentation [PREFIX/man]
++_ACEOF
++
++  cat <<\_ACEOF
++
++Program names:
++  --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
++
++X features:
++  --x-includes=DIR    X include files are in DIR
++  --x-libraries=DIR   X library files are in DIR
++
++System types:
++  --build=BUILD     configure for building on BUILD [guessed]
++  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
++_ACEOF
++fi
++
++if test -n "$ac_init_help"; then
++  case $ac_init_help in
++     short | recursive ) echo "Configuration of Heimdal 0.6.3:";;
++   esac
++  cat <<\_ACEOF
++
++Optional Features:
++  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
++  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
++  --enable-maintainer-mode enable make rules and dependencies not useful
++                          (and sometimes confusing) to the casual installer
++  --disable-largefile     omit support for large files
++  --enable-shared@<:@=PKGS@:>@ 
++                          build shared libraries @<:@default=no@:>@
++  --enable-static@<:@=PKGS@:>@ 
++                          build static libraries @<:@default=yes@:>@
++  --enable-fast-install@<:@=PKGS@:>@ 
++                          optimize for fast installation @<:@default=yes@:>@
++  --disable-libtool-lock  avoid locking (might break parallel builds)
++  --enable-dce            if you want support for DCE/DFS PAG's
++  --disable-berkeley-db   if you don't want berkeley db
++  --disable-otp           if you don't want OTP support
++  --enable-osfc2          enable some OSF C2 support
++  --disable-mmap          disable use of mmap
++  --enable-bigendian      the target is big endian
++  --enable-littleendian   the target is little endian
++  --disable-dynamic-afs   do not use loaded AFS library with AIX
++  --enable-netinfo        enable netinfo for configuration lookup
++
++Optional Packages:
++  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
++  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
++  --with-mips-abi=abi     ABI to use for IRIX (32, n32, or 64)
++  --with-gnu-ld           assume the C compiler uses GNU ld @<:@default=no@:>@
++  --with-pic              try to use only PIC/non-PIC objects @<:@default=use
++                          both@:>@
++  --with-tags@<:@=TAGS@:>@ 
++                          include additional configurations @<:@automatic@:>@
++  --with-openldap=dir     use openldap in dir
++  --with-openldap-lib=dir use openldap libraries in dir
++  --with-openldap-include=dir 
++                          use openldap headers in dir
++  --with-openldap-config=path 
++                          config program for openldap
++  --with-krb4=dir         use krb4 in dir
++  --with-krb4-lib=dir     use krb4 libraries in dir
++  --with-krb4-include=dir use krb4 headers in dir
++  --with-krb4-config=path config program for krb4
++  --with-openssl=dir      use openssl in dir
++  --with-openssl-lib=dir  use openssl libraries in dir
++  --with-openssl-include=dir 
++                          use openssl headers in dir
++  --with-roken=dir        use the roken library in dir
++  --without-ipv6          do not enable IPv6 support
++  --with-readline=dir     use readline in dir
++  --with-readline-lib=dir use readline libraries in dir
++  --with-readline-include=dir 
++                          use readline headers in dir
++  --with-readline-config=path 
++                          config program for readline
++  --with-hesiod=dir       use hesiod in dir
++  --with-hesiod-lib=dir   use hesiod libraries in dir
++  --with-hesiod-include=dir 
++                          use hesiod headers in dir
++  --with-hesiod-config=path 
++                          config program for hesiod
++  --with-sl=dir           use sl in dir
++  --with-sl-lib=dir       use sl libraries in dir
++  --with-sl-include=dir   use sl headers in dir
++  --with-sl-config=path   config program for sl
++  --with-ss=dir           use ss in dir
++  --with-ss-lib=dir       use ss libraries in dir
++  --with-ss-include=dir   use ss headers in dir
++  --with-ss-config=path   config program for ss
++  --with-otp=dir          use otp in dir
++  --with-otp-lib=dir      use otp libraries in dir
++  --with-otp-include=dir  use otp headers in dir
++  --with-otp-config=path  config program for otp
++  --with-x                use the X Window System
++
++Some influential environment variables:
++  CC          C compiler command
++  CFLAGS      C compiler flags
++  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
++              nonstandard directory <lib dir>
++  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
++              headers in a nonstandard directory <include dir>
++  CPP         C preprocessor
++  CXX         C++ compiler command
++  CXXFLAGS    C++ compiler flags
++  CXXCPP      C++ preprocessor
++  F77         Fortran 77 compiler command
++  FFLAGS      Fortran 77 compiler flags
++
++Use these variables to override the choices made by `configure' or to help
++it to find libraries and programs with nonstandard names/locations.
++
++Report bugs to <heimdal-bugs@pdc.kth.se>.
++_ACEOF
++fi
++
++if test "$ac_init_help" = "recursive"; then
++  # If there are subdirs, report their specific --help.
++  ac_popdir=`pwd`
++  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
++    test -d $ac_dir || continue
++    ac_builddir=.
++
++if test "$ac_dir" != .; then
++  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
++  # A "../" for each directory in $ac_dir_suffix.
++  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
++else
++  ac_dir_suffix= ac_top_builddir=
++fi
++
++case $srcdir in
++  .)  # No --srcdir option.  We are building in place.
++    ac_srcdir=.
++    if test -z "$ac_top_builddir"; then
++       ac_top_srcdir=.
++    else
++       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
++    fi ;;
++  [\\/]* | ?:[\\/]* )  # Absolute path.
++    ac_srcdir=$srcdir$ac_dir_suffix;
++    ac_top_srcdir=$srcdir ;;
++  *) # Relative path.
++    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
++    ac_top_srcdir=$ac_top_builddir$srcdir ;;
++esac
++
++# Do not use `cd foo && pwd` to compute absolute paths, because
++# the directories may not exist.
++case `pwd` in
++.) ac_abs_builddir="$ac_dir";;
++*)
++  case "$ac_dir" in
++  .) ac_abs_builddir=`pwd`;;
++  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
++  *) ac_abs_builddir=`pwd`/"$ac_dir";;
++  esac;;
++esac
++case $ac_abs_builddir in
++.) ac_abs_top_builddir=${ac_top_builddir}.;;
++*)
++  case ${ac_top_builddir}. in
++  .) ac_abs_top_builddir=$ac_abs_builddir;;
++  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
++  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
++  esac;;
++esac
++case $ac_abs_builddir in
++.) ac_abs_srcdir=$ac_srcdir;;
++*)
++  case $ac_srcdir in
++  .) ac_abs_srcdir=$ac_abs_builddir;;
++  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
++  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
++  esac;;
++esac
++case $ac_abs_builddir in
++.) ac_abs_top_srcdir=$ac_top_srcdir;;
++*)
++  case $ac_top_srcdir in
++  .) ac_abs_top_srcdir=$ac_abs_builddir;;
++  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
++  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
++  esac;;
++esac
++
++    cd $ac_dir
++    # Check for guested configure; otherwise get Cygnus style configure.
++    if test -f $ac_srcdir/configure.gnu; then
++      echo
++      $SHELL $ac_srcdir/configure.gnu  --help=recursive
++    elif test -f $ac_srcdir/configure; then
++      echo
++      $SHELL $ac_srcdir/configure  --help=recursive
++    elif test -f $ac_srcdir/configure.ac ||
++	   test -f $ac_srcdir/configure.in; then
++      echo
++      $ac_configure --help
++    else
++      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
++    fi
++    cd "$ac_popdir"
++  done
++fi
++
++test -n "$ac_init_help" && exit 0
++if $ac_init_version; then
++  cat <<\_ACEOF
++Heimdal configure 0.6.3
++generated by GNU Autoconf 2.59
++
++Copyright (C) 2003 Free Software Foundation, Inc.
++This configure script is free software; the Free Software Foundation
++gives unlimited permission to copy, distribute and modify it.
++_ACEOF
++  exit 0
++fi
++exec 5>config.log
++cat >&5 <<_ACEOF
++This file contains any messages produced by compilers while
++running configure, to aid debugging if configure makes a mistake.
++
++It was created by Heimdal $as_me 0.6.3, which was
++generated by GNU Autoconf 2.59.  Invocation command line was
++
++  $ $0 $@
++
++_ACEOF
++{
++cat <<_ASUNAME
++@%:@@%:@ --------- @%:@@%:@
++@%:@@%:@ Platform. @%:@@%:@
++@%:@@%:@ --------- @%:@@%:@
++
++hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
++uname -m = `(uname -m) 2>/dev/null || echo unknown`
++uname -r = `(uname -r) 2>/dev/null || echo unknown`
++uname -s = `(uname -s) 2>/dev/null || echo unknown`
++uname -v = `(uname -v) 2>/dev/null || echo unknown`
++
++/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
++/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
++
++/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
++/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
++/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
++hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
++/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
++/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
++/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
++
++_ASUNAME
++
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  echo "PATH: $as_dir"
++done
++
++} >&5
++
++cat >&5 <<_ACEOF
++
++
++@%:@@%:@ ----------- @%:@@%:@
++@%:@@%:@ Core tests. @%:@@%:@
++@%:@@%:@ ----------- @%:@@%:@
++
++_ACEOF
++
++
++# Keep a trace of the command line.
++# Strip out --no-create and --no-recursion so they do not pile up.
++# Strip out --silent because we don't want to record it for future runs.
++# Also quote any args containing shell meta-characters.
++# Make two passes to allow for proper duplicate-argument suppression.
++ac_configure_args=
++ac_configure_args0=
++ac_configure_args1=
++ac_sep=
++ac_must_keep_next=false
++for ac_pass in 1 2
++do
++  for ac_arg
++  do
++    case $ac_arg in
++    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
++    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
++    | -silent | --silent | --silen | --sile | --sil)
++      continue ;;
++    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
++      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
++    esac
++    case $ac_pass in
++    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
++    2)
++      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
++      if test $ac_must_keep_next = true; then
++	ac_must_keep_next=false # Got value, back to normal.
++      else
++	case $ac_arg in
++	  *=* | --config-cache | -C | -disable-* | --disable-* \
++	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
++	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
++	  | -with-* | --with-* | -without-* | --without-* | --x)
++	    case "$ac_configure_args0 " in
++	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
++	    esac
++	    ;;
++	  -* ) ac_must_keep_next=true ;;
++	esac
++      fi
++      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
++      # Get rid of the leading space.
++      ac_sep=" "
++      ;;
++    esac
++  done
++done
++$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
++$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
++
++# When interrupted or exit'd, cleanup temporary files, and complete
++# config.log.  We remove comments because anyway the quotes in there
++# would cause problems or look ugly.
++# WARNING: Be sure not to use single quotes in there, as some shells,
++# such as our DU 5.0 friend, will then `close' the trap.
++trap 'exit_status=$?
++  # Save into config.log some information that might help in debugging.
++  {
++    echo
++
++    cat <<\_ASBOX
++@%:@@%:@ ---------------- @%:@@%:@
++@%:@@%:@ Cache variables. @%:@@%:@
++@%:@@%:@ ---------------- @%:@@%:@
++_ASBOX
++    echo
++    # The following way of writing the cache mishandles newlines in values,
++{
++  (set) 2>&1 |
++    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
++    *ac_space=\ *)
++      sed -n \
++	"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
++	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
++      ;;
++    *)
++      sed -n \
++	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
++      ;;
++    esac;
++}
++    echo
++
++    cat <<\_ASBOX
++@%:@@%:@ ----------------- @%:@@%:@
++@%:@@%:@ Output variables. @%:@@%:@
++@%:@@%:@ ----------------- @%:@@%:@
++_ASBOX
++    echo
++    for ac_var in $ac_subst_vars
++    do
++      eval ac_val=$`echo $ac_var`
++      echo "$ac_var='"'"'$ac_val'"'"'"
++    done | sort
++    echo
++
++    if test -n "$ac_subst_files"; then
++      cat <<\_ASBOX
++@%:@@%:@ ------------- @%:@@%:@
++@%:@@%:@ Output files. @%:@@%:@
++@%:@@%:@ ------------- @%:@@%:@
++_ASBOX
++      echo
++      for ac_var in $ac_subst_files
++      do
++	eval ac_val=$`echo $ac_var`
++	echo "$ac_var='"'"'$ac_val'"'"'"
++      done | sort
++      echo
++    fi
++
++    if test -s confdefs.h; then
++      cat <<\_ASBOX
++@%:@@%:@ ----------- @%:@@%:@
++@%:@@%:@ confdefs.h. @%:@@%:@
++@%:@@%:@ ----------- @%:@@%:@
++_ASBOX
++      echo
++      sed "/^$/d" confdefs.h | sort
++      echo
++    fi
++    test "$ac_signal" != 0 &&
++      echo "$as_me: caught signal $ac_signal"
++    echo "$as_me: exit $exit_status"
++  } >&5
++  rm -f core *.core &&
++  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
++    exit $exit_status
++     ' 0
++for ac_signal in 1 2 13 15; do
++  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
++done
++ac_signal=0
++
++# 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
++
++# Predefined preprocessor variables.
++
++cat >>confdefs.h <<_ACEOF
++@%:@define PACKAGE_NAME "$PACKAGE_NAME"
++_ACEOF
++
++
++cat >>confdefs.h <<_ACEOF
++@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
++_ACEOF
++
++
++cat >>confdefs.h <<_ACEOF
++@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
++_ACEOF
++
++
++cat >>confdefs.h <<_ACEOF
++@%:@define PACKAGE_STRING "$PACKAGE_STRING"
++_ACEOF
++
++
++cat >>confdefs.h <<_ACEOF
++@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
++_ACEOF
++
++
++# Let the site file select an alternate cache file if it wants to.
++# 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 "$as_me:$LINENO: loading site script $ac_site_file" >&5
++echo "$as_me: loading site script $ac_site_file" >&6;}
++    sed 's/^/| /' "$ac_site_file" >&5
++    . "$ac_site_file"
++  fi
++done
++
++if test -r "$cache_file"; then
++  # Some versions of bash will fail to source /dev/null (special
++  # files actually), so we avoid doing that.
++  if test -f "$cache_file"; then
++    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
++echo "$as_me: loading cache $cache_file" >&6;}
++    case $cache_file in
++      [\\/]* | ?:[\\/]* ) . $cache_file;;
++      *)                      . ./$cache_file;;
++    esac
++  fi
++else
++  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
++echo "$as_me: creating cache $cache_file" >&6;}
++  >$cache_file
++fi
++
++# Check that the precious variables saved in the cache have kept the same
++# value.
++ac_cache_corrupted=false
++for ac_var in `(set) 2>&1 |
++	       sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
++  eval ac_old_set=\$ac_cv_env_${ac_var}_set
++  eval ac_new_set=\$ac_env_${ac_var}_set
++  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
++  eval ac_new_val="\$ac_env_${ac_var}_value"
++  case $ac_old_set,$ac_new_set in
++    set,)
++      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
++echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
++      ac_cache_corrupted=: ;;
++    ,set)
++      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
++echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
++      ac_cache_corrupted=: ;;
++    ,);;
++    *)
++      if test "x$ac_old_val" != "x$ac_new_val"; then
++	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
++echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
++	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
++echo "$as_me:   former value:  $ac_old_val" >&2;}
++	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
++echo "$as_me:   current value: $ac_new_val" >&2;}
++	ac_cache_corrupted=:
++      fi;;
++  esac
++  # Pass precious variables to config.status.
++  if test "$ac_new_set" = set; then
++    case $ac_new_val in
++    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
++      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
++    *) ac_arg=$ac_var=$ac_new_val ;;
++    esac
++    case " $ac_configure_args " in
++      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
++      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
++    esac
++  fi
++done
++if $ac_cache_corrupted; then
++  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
++echo "$as_me: error: changes in the environment can compromise the build" >&2;}
++  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
++echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
++   { (exit 1); exit 1; }; }
++fi
++
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
++echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
++    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
++if test "${enable_maintainer_mode+set}" = set; then
++  enableval="$enable_maintainer_mode"
++  USE_MAINTAINER_MODE=$enableval
++else
++  USE_MAINTAINER_MODE=no
++fi; 
++  echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
++echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
++  
++
++if test $USE_MAINTAINER_MODE = yes; then
++  MAINTAINER_MODE_TRUE=
++  MAINTAINER_MODE_FALSE='#'
++else
++  MAINTAINER_MODE_TRUE='#'
++  MAINTAINER_MODE_FALSE=
++fi
++
++  MAINT=$MAINTAINER_MODE_TRUE
++  
++
++
++          ac_config_headers="$ac_config_headers include/config.h"
++
++
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++if test -n "$ac_tool_prefix"; then
++  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
++set dummy ${ac_tool_prefix}gcc; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_CC+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$CC"; then
++  ac_cv_prog_CC="$CC" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_CC="${ac_tool_prefix}gcc"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++CC=$ac_cv_prog_CC
++if test -n "$CC"; then
++  echo "$as_me:$LINENO: result: $CC" >&5
++echo "${ECHO_T}$CC" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++fi
++if test -z "$ac_cv_prog_CC"; then
++  ac_ct_CC=$CC
++  # Extract the first word of "gcc", so it can be a program name with args.
++set dummy gcc; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$ac_ct_CC"; then
++  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_ac_ct_CC="gcc"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++ac_ct_CC=$ac_cv_prog_ac_ct_CC
++if test -n "$ac_ct_CC"; then
++  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
++echo "${ECHO_T}$ac_ct_CC" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  CC=$ac_ct_CC
++else
++  CC="$ac_cv_prog_CC"
++fi
++
++if test -z "$CC"; then
++  if test -n "$ac_tool_prefix"; then
++  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
++set dummy ${ac_tool_prefix}cc; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_CC+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$CC"; then
++  ac_cv_prog_CC="$CC" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_CC="${ac_tool_prefix}cc"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++CC=$ac_cv_prog_CC
++if test -n "$CC"; then
++  echo "$as_me:$LINENO: result: $CC" >&5
++echo "${ECHO_T}$CC" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++fi
++if test -z "$ac_cv_prog_CC"; then
++  ac_ct_CC=$CC
++  # Extract the first word of "cc", so it can be a program name with args.
++set dummy cc; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$ac_ct_CC"; then
++  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_ac_ct_CC="cc"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++ac_ct_CC=$ac_cv_prog_ac_ct_CC
++if test -n "$ac_ct_CC"; then
++  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
++echo "${ECHO_T}$ac_ct_CC" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  CC=$ac_ct_CC
++else
++  CC="$ac_cv_prog_CC"
++fi
++
++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 "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_CC+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$CC"; then
++  ac_cv_prog_CC="$CC" # Let the user override the test.
++else
++  ac_prog_rejected=no
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
++       ac_prog_rejected=yes
++       continue
++     fi
++    ac_cv_prog_CC="cc"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++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 $@%:@ != 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
++    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
++  fi
++fi
++fi
++fi
++CC=$ac_cv_prog_CC
++if test -n "$CC"; then
++  echo "$as_me:$LINENO: result: $CC" >&5
++echo "${ECHO_T}$CC" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++fi
++if test -z "$CC"; then
++  if test -n "$ac_tool_prefix"; then
++  for ac_prog in cl
++  do
++    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
++set dummy $ac_tool_prefix$ac_prog; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_CC+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$CC"; then
++  ac_cv_prog_CC="$CC" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++CC=$ac_cv_prog_CC
++if test -n "$CC"; then
++  echo "$as_me:$LINENO: result: $CC" >&5
++echo "${ECHO_T}$CC" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++    test -n "$CC" && break
++  done
++fi
++if test -z "$CC"; then
++  ac_ct_CC=$CC
++  for ac_prog in cl
++do
++  # Extract the first word of "$ac_prog", so it can be a program name with args.
++set dummy $ac_prog; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$ac_ct_CC"; then
++  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_ac_ct_CC="$ac_prog"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++ac_ct_CC=$ac_cv_prog_ac_ct_CC
++if test -n "$ac_ct_CC"; then
++  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
++echo "${ECHO_T}$ac_ct_CC" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  test -n "$ac_ct_CC" && break
++done
++
++  CC=$ac_ct_CC
++fi
++
++fi
++
++
++test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
++See \`config.log' for more details." >&5
++echo "$as_me: error: no acceptable C compiler found in \$PATH
++See \`config.log' for more details." >&2;}
++   { (exit 1); exit 1; }; }
++
++# Provide some information about the compiler.
++echo "$as_me:$LINENO:" \
++     "checking for C compiler version" >&5
++ac_compiler=`set X $ac_compile; echo $2`
++{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
++  (eval $ac_compiler --version </dev/null >&5) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }
++{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
++  (eval $ac_compiler -v </dev/null >&5) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }
++{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
++  (eval $ac_compiler -V </dev/null >&5) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }
++
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++ac_clean_files_save=$ac_clean_files
++ac_clean_files="$ac_clean_files a.out a.exe b.out"
++# Try to create an executable without -o first, disregard a.out.
++# It will help us diagnose broken compilers, and finding out an intuition
++# of exeext.
++echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
++echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
++ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
++if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
++  (eval $ac_link_default) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; then
++  # Find the output, starting from the most likely.  This scheme is
++# not robust to junk in `.', hence go to wildcards (a.*) only as a last
++# resort.
++
++# Be careful to initialize this variable, since it used to be cached.
++# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
++ac_cv_exeext=
++# b.out is created by i960 compilers.
++for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
++do
++  test -f "$ac_file" || continue
++  case $ac_file in
++    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
++	;;
++    conftest.$ac_ext )
++	# This is the source file.
++	;;
++    [ab].out )
++	# We found the default executable, but exeext='' is most
++	# certainly right.
++	break;;
++    *.* )
++	ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
++	# FIXME: I believe we export ac_cv_exeext for Libtool,
++	# but it would be cool to find out if it's true.  Does anybody
++	# maintain Libtool? --akim.
++	export ac_cv_exeext
++	break;;
++    * )
++	break;;
++  esac
++done
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
++See \`config.log' for more details." >&5
++echo "$as_me: error: C compiler cannot create executables
++See \`config.log' for more details." >&2;}
++   { (exit 77); exit 77; }; }
++fi
++
++ac_exeext=$ac_cv_exeext
++echo "$as_me:$LINENO: result: $ac_file" >&5
++echo "${ECHO_T}$ac_file" >&6
++
++# Check the compiler produces executables we can run.  If not, either
++# the compiler is broken, or we cross compile.
++echo "$as_me:$LINENO: checking whether the C compiler works" >&5
++echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
++# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
++# If not cross compiling, check that we can run a simple program.
++if test "$cross_compiling" != yes; then
++  if { ac_try='./$ac_file'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++    cross_compiling=no
++  else
++    if test "$cross_compiling" = maybe; then
++	cross_compiling=yes
++    else
++	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
++If you meant to cross compile, use \`--host'.
++See \`config.log' for more details." >&5
++echo "$as_me: error: cannot run C compiled programs.
++If you meant to cross compile, use \`--host'.
++See \`config.log' for more details." >&2;}
++   { (exit 1); exit 1; }; }
++    fi
++  fi
++fi
++echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++
++rm -f a.out a.exe conftest$ac_cv_exeext b.out
++ac_clean_files=$ac_clean_files_save
++# Check the compiler produces executables we can run.  If not, either
++# the compiler is broken, or we cross compile.
++echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
++echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
++echo "$as_me:$LINENO: result: $cross_compiling" >&5
++echo "${ECHO_T}$cross_compiling" >&6
++
++echo "$as_me:$LINENO: checking for suffix of executables" >&5
++echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; then
++  # If both `conftest.exe' and `conftest' are `present' (well, observable)
++# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
++# work properly (i.e., refer to `conftest.exe'), while it won't with
++# `rm'.
++for ac_file in conftest.exe conftest conftest.*; do
++  test -f "$ac_file" || continue
++  case $ac_file in
++    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
++    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
++	  export ac_cv_exeext
++	  break;;
++    * ) break;;
++  esac
++done
++else
++  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
++See \`config.log' for more details." >&5
++echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
++See \`config.log' for more details." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++
++rm -f conftest$ac_cv_exeext
++echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
++echo "${ECHO_T}$ac_cv_exeext" >&6
++
++rm -f conftest.$ac_ext
++EXEEXT=$ac_cv_exeext
++ac_exeext=$EXEEXT
++echo "$as_me:$LINENO: checking for suffix of object files" >&5
++echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
++if test "${ac_cv_objext+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.o conftest.obj
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; then
++  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
++  case $ac_file in
++    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
++    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
++       break;;
++  esac
++done
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
++See \`config.log' for more details." >&5
++echo "$as_me: error: cannot compute suffix of object files: cannot compile
++See \`config.log' for more details." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++
++rm -f conftest.$ac_cv_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
++echo "${ECHO_T}$ac_cv_objext" >&6
++OBJEXT=$ac_cv_objext
++ac_objext=$OBJEXT
++echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
++echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
++if test "${ac_cv_c_compiler_gnu+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++#ifndef __GNUC__
++       choke me
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_compiler_gnu=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_compiler_gnu=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++ac_cv_c_compiler_gnu=$ac_compiler_gnu
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
++echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
++GCC=`test $ac_compiler_gnu = yes && echo yes`
++ac_test_CFLAGS=${CFLAGS+set}
++ac_save_CFLAGS=$CFLAGS
++CFLAGS="-g"
++echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
++echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
++if test "${ac_cv_prog_cc_g+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_prog_cc_g=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_prog_cc_g=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
++echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
++if test "$ac_test_CFLAGS" = set; then
++  CFLAGS=$ac_save_CFLAGS
++elif test $ac_cv_prog_cc_g = yes; then
++  if test "$GCC" = yes; then
++    CFLAGS="-g -O2"
++  else
++    CFLAGS="-g"
++  fi
++else
++  if test "$GCC" = yes; then
++    CFLAGS="-O2"
++  else
++    CFLAGS=
++  fi
++fi
++echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
++echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
++if test "${ac_cv_prog_cc_stdc+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_cv_prog_cc_stdc=no
++ac_save_CC=$CC
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdarg.h>
++#include <stdio.h>
++#include <sys/types.h>
++#include <sys/stat.h>
++/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
++struct buf { int x; };
++FILE * (*rcsopen) (struct buf *, struct stat *, int);
++static char *e (p, i)
++     char **p;
++     int i;
++{
++  return p[i];
++}
++static char *f (char * (*g) (char **, int), char **p, ...)
++{
++  char *s;
++  va_list v;
++  va_start (v,p);
++  s = g (p, va_arg (v,int));
++  va_end (v);
++  return s;
++}
++
++/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
++   function prototypes and stuff, but not '\xHH' hex character constants.
++   These don't provoke an error unfortunately, instead are silently treated
++   as 'x'.  The following induces an error, until -std1 is added to get
++   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
++   array size at least.  It's necessary to write '\x00'==0 to get something
++   that's true only with -std1.  */
++int osf4_cc_array ['\x00' == 0 ? 1 : -1];
++
++int test (int i, double x);
++struct s1 {int (*f) (int a);};
++struct s2 {int (*f) (double a);};
++int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
++int argc;
++char **argv;
++int
++main ()
++{
++return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
++  ;
++  return 0;
++}
++_ACEOF
++# Don't try gcc -ansi; that turns off useful extensions and
++# breaks some systems' header files.
++# AIX			-qlanglvl=ansi
++# Ultrix and OSF/1	-std1
++# HP-UX 10.20 and later	-Ae
++# HP-UX older versions	-Aa -D_HPUX_SOURCE
++# SVR4			-Xc -D__EXTENSIONS__
++for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
++do
++  CC="$ac_save_CC $ac_arg"
++  rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_prog_cc_stdc=$ac_arg
++break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext 
++done
++rm -f conftest.$ac_ext conftest.$ac_objext
++CC=$ac_save_CC
++
++fi
++
++case "x$ac_cv_prog_cc_stdc" in
++  x|xno)
++    echo "$as_me:$LINENO: result: none needed" >&5
++echo "${ECHO_T}none needed" >&6 ;;
++  *)
++    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
++echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
++    CC="$CC $ac_cv_prog_cc_stdc" ;;
++esac
++
++# Some people use a C++ compiler to compile C.  Since we use `exit',
++# in C++ we need to declare it.  In case someone uses the same compiler
++# for both compiling C and C++ we need to have the C++ compiler decide
++# the declaration of exit, since it's the most demanding environment.
++cat >conftest.$ac_ext <<_ACEOF
++@%:@ifndef __cplusplus
++  choke me
++@%:@endif
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  for ac_declaration in \
++   '' \
++   'extern "C" void std::exit (int) throw (); using std::exit;' \
++   'extern "C" void std::exit (int); using std::exit;' \
++   'extern "C" void exit (int) throw ();' \
++   'extern "C" void exit (int);' \
++   'void exit (int);'
++do
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_declaration
++@%:@include <stdlib.h>
++int
++main ()
++{
++exit (42);
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  :
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++continue
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_declaration
++int
++main ()
++{
++exit (42);
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++done
++rm -f conftest*
++if test -n "$ac_declaration"; then
++  echo '#ifdef __cplusplus' >>confdefs.h
++  echo $ac_declaration      >>confdefs.h
++  echo '#endif'             >>confdefs.h
++fi
++
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
++echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
++# On Suns, sometimes $CPP names a directory.
++if test -n "$CPP" && test -d "$CPP"; then
++  CPP=
++fi
++if test -z "$CPP"; then
++  if test "${ac_cv_prog_CPP+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++      # Double quotes because CPP needs to be expanded
++    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
++    do
++      ac_preproc_ok=false
++for ac_c_preproc_warn_flag in '' yes
++do
++  # Use a header file that comes with gcc, so configuring glibc
++  # with a fresh cross-compiler works.
++  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++  # <limits.h> exists even on freestanding compilers.
++  # On the NeXT, cc -E runs the code through the compiler's parser,
++  # not just through cpp. "Syntax error" is here to catch this case.
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@ifdef __STDC__
++@%:@ include <limits.h>
++@%:@else
++@%:@ include <assert.h>
++@%:@endif
++		     Syntax error
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  :
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++  # Broken: fails on valid input.
++continue
++fi
++rm -f conftest.err conftest.$ac_ext
++
++  # OK, works on sane cases.  Now check whether non-existent headers
++  # can be detected and how.
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@include <ac_nonexistent.h>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  # Broken: success on invalid input.
++continue
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++  # Passes both tests.
++ac_preproc_ok=:
++break
++fi
++rm -f conftest.err conftest.$ac_ext
++
++done
++# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
++rm -f conftest.err conftest.$ac_ext
++if $ac_preproc_ok; then
++  break
++fi
++
++    done
++    ac_cv_prog_CPP=$CPP
++  
++fi
++  CPP=$ac_cv_prog_CPP
++else
++  ac_cv_prog_CPP=$CPP
++fi
++echo "$as_me:$LINENO: result: $CPP" >&5
++echo "${ECHO_T}$CPP" >&6
++ac_preproc_ok=false
++for ac_c_preproc_warn_flag in '' yes
++do
++  # Use a header file that comes with gcc, so configuring glibc
++  # with a fresh cross-compiler works.
++  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++  # <limits.h> exists even on freestanding compilers.
++  # On the NeXT, cc -E runs the code through the compiler's parser,
++  # not just through cpp. "Syntax error" is here to catch this case.
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@ifdef __STDC__
++@%:@ include <limits.h>
++@%:@else
++@%:@ include <assert.h>
++@%:@endif
++		     Syntax error
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  :
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++  # Broken: fails on valid input.
++continue
++fi
++rm -f conftest.err conftest.$ac_ext
++
++  # OK, works on sane cases.  Now check whether non-existent headers
++  # can be detected and how.
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@include <ac_nonexistent.h>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  # Broken: success on invalid input.
++continue
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++  # Passes both tests.
++ac_preproc_ok=:
++break
++fi
++rm -f conftest.err conftest.$ac_ext
++
++done
++# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
++rm -f conftest.err conftest.$ac_ext
++if $ac_preproc_ok; then
++  :
++else
++  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
++See \`config.log' for more details." >&5
++echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
++See \`config.log' for more details." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++
++
++am__api_version="1.7"
++ac_aux_dir=
++for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
++  if test -f $ac_dir/install-sh; then
++    ac_aux_dir=$ac_dir
++    ac_install_sh="$ac_aux_dir/install-sh -c"
++    break
++  elif test -f $ac_dir/install.sh; then
++    ac_aux_dir=$ac_dir
++    ac_install_sh="$ac_aux_dir/install.sh -c"
++    break
++  elif test -f $ac_dir/shtool; then
++    ac_aux_dir=$ac_dir
++    ac_install_sh="$ac_aux_dir/shtool install -c"
++    break
++  fi
++done
++if test -z "$ac_aux_dir"; then
++  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
++echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++ac_config_guess="$SHELL $ac_aux_dir/config.guess"
++ac_config_sub="$SHELL $ac_aux_dir/config.sub"
++ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
++
++# Find a good install program.  We prefer a C program (faster),
++# so one script is as good as another.  But avoid the broken or
++# incompatible versions:
++# SysV /etc/install, /usr/sbin/install
++# SunOS /usr/etc/install
++# IRIX /sbin/install
++# AIX /bin/install
++# AmigaOS /C/install, which installs bootblocks on floppy discs
++# 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"
++# OS/2's system install, which has a completely different semantic
++# ./install, which can be erroneously created by make from ./install.sh.
++echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
++echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
++if test -z "$INSTALL"; then
++if test "${ac_cv_path_install+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  # Account for people who put trailing slashes in PATH elements.
++case $as_dir/ in
++  ./ | .// | /cC/* | \
++  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
++  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
++  /usr/ucb/* ) ;;
++  *)
++    # OSF1 and SCO ODT 3.0 have their own names for install.
++    # Don't use installbsd from OSF since it installs stuff as root
++    # by default.
++    for ac_prog in ginstall scoinst install; do
++      for ac_exec_ext in '' $ac_executable_extensions; do
++	if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
++	  if test $ac_prog = install &&
++	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
++	    # AIX install.  It has an incompatible calling convention.
++	    :
++	  elif test $ac_prog = install &&
++	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
++	    # program-specific install script used by HP pwplus--don't use.
++	    :
++	  else
++	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
++	    break 3
++	  fi
++	fi
++      done
++    done
++    ;;
++esac
++done
++
++
++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 "$as_me:$LINENO: result: $INSTALL" >&5
++echo "${ECHO_T}$INSTALL" >&6
++
++# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
++# It thinks the first close brace ends the variable substitution.
++test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
++
++test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
++
++test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
++
++echo "$as_me:$LINENO: checking whether build environment is sane" >&5
++echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
++# Just in case
++sleep 1
++echo timestamp > conftest.file
++# Do `set' in a subshell so we don't clobber the current shell's
++# arguments.  Must try -L first in case configure is actually a
++# symlink; some systems play weird games with the mod time of symlinks
++# (eg FreeBSD returns the mod time of the symlink's containing
++# directory).
++if (
++   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
++   if test "$*" = "X"; then
++      # -L didn't work.
++      set X `ls -t $srcdir/configure conftest.file`
++   fi
++   rm -f conftest.file
++   if test "$*" != "X $srcdir/configure conftest.file" \
++      && test "$*" != "X conftest.file $srcdir/configure"; then
++
++      # If neither matched, then we have a broken ls.  This can happen
++      # if, for instance, CONFIG_SHELL is bash and it inherits a
++      # broken ls alias from the environment.  This has actually
++      # happened.  Such a system could not be considered "sane".
++      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
++alias in your environment" >&5
++echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
++alias in your environment" >&2;}
++   { (exit 1); exit 1; }; }
++   fi
++
++   test "$2" = conftest.file
++   )
++then
++   # Ok.
++   :
++else
++   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
++Check your system clock" >&5
++echo "$as_me: error: newly created file is older than distributed files!
++Check your system clock" >&2;}
++   { (exit 1); exit 1; }; }
++fi
++echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++test "$program_prefix" != NONE &&
++  program_transform_name="s,^,$program_prefix,;$program_transform_name"
++# Use a double $ so make ignores it.
++test "$program_suffix" != NONE &&
++  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
++# Double any \ or $.  echo might interpret backslashes.
++# By default was `s,x,x', remove it if useless.
++cat <<\_ACEOF >conftest.sed
++s/[\\$]/&&/g;s/;s,x,x,$//
++_ACEOF
++program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
++rm conftest.sed
++
++
++# expand $ac_aux_dir to an absolute path
++am_aux_dir=`cd $ac_aux_dir && pwd`
++
++test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
++# Use eval to expand $SHELL
++if eval "$MISSING --run true"; then
++  am_missing_run="$MISSING --run "
++else
++  am_missing_run=
++  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
++echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
++fi
++
++for ac_prog in gawk mawk nawk awk
++do
++  # Extract the first word of "$ac_prog", so it can be a program name with args.
++set dummy $ac_prog; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_AWK+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$AWK"; then
++  ac_cv_prog_AWK="$AWK" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_AWK="$ac_prog"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++AWK=$ac_cv_prog_AWK
++if test -n "$AWK"; then
++  echo "$as_me:$LINENO: result: $AWK" >&5
++echo "${ECHO_T}$AWK" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  test -n "$AWK" && break
++done
++
++echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
++echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
++set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
++if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.make <<\_ACEOF
++all:
++	@echo 'ac_maketemp="$(MAKE)"'
++_ACEOF
++# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
++eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
++if test -n "$ac_maketemp"; then
++  eval ac_cv_prog_make_${ac_make}_set=yes
++else
++  eval ac_cv_prog_make_${ac_make}_set=no
++fi
++rm -f conftest.make
++fi
++if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
++  echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++  SET_MAKE=
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++  SET_MAKE="MAKE=${MAKE-make}"
++fi
++
++rm -rf .tst 2>/dev/null
++mkdir .tst 2>/dev/null
++if test -d .tst; then
++  am__leading_dot=.
++else
++  am__leading_dot=_
++fi
++rmdir .tst 2>/dev/null
++
++ # test to see if srcdir already configured
++if test "`cd $srcdir && pwd`" != "`pwd`" &&
++   test -f $srcdir/config.status; then
++  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
++echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
++   { (exit 1); exit 1; }; }
++fi
++
++# test whether we have cygpath
++if test -z "$CYGPATH_W"; then
++  if (cygpath --version) >/dev/null 2>/dev/null; then
++    CYGPATH_W='cygpath -w'
++  else
++    CYGPATH_W=echo
++  fi
++fi
++
++
++# Define the identity of the package.
++ PACKAGE='heimdal'
++ VERSION='0.6.3'
++
++
++cat >>confdefs.h <<_ACEOF
++@%:@define PACKAGE "$PACKAGE"
++_ACEOF
++
++ 
++cat >>confdefs.h <<_ACEOF
++@%:@define VERSION "$VERSION"
++_ACEOF
++
++# Some tools Automake needs.
++
++ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
++
++
++AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
++
++
++AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
++
++
++AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
++
++
++MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
++
++
++AMTAR=${AMTAR-"${am_missing_run}tar"}
++
++install_sh=${install_sh-"$am_aux_dir/install-sh"}
++
++# Installed binaries are usually stripped using `strip' when the user
++# run `make install-strip'.  However `strip' might not be the right
++# tool to use in cross-compilation environments, therefore Automake
++# will honor the `STRIP' environment variable to overrule this program.
++if test "$cross_compiling" != no; then
++  if test -n "$ac_tool_prefix"; then
++  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
++set dummy ${ac_tool_prefix}strip; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_STRIP+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$STRIP"; then
++  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++STRIP=$ac_cv_prog_STRIP
++if test -n "$STRIP"; then
++  echo "$as_me:$LINENO: result: $STRIP" >&5
++echo "${ECHO_T}$STRIP" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++fi
++if test -z "$ac_cv_prog_STRIP"; then
++  ac_ct_STRIP=$STRIP
++  # Extract the first word of "strip", so it can be a program name with args.
++set dummy strip; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$ac_ct_STRIP"; then
++  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_ac_ct_STRIP="strip"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
++fi
++fi
++ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
++if test -n "$ac_ct_STRIP"; then
++  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
++echo "${ECHO_T}$ac_ct_STRIP" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  STRIP=$ac_ct_STRIP
++else
++  STRIP="$ac_cv_prog_STRIP"
++fi
++
++fi
++INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
++
++# We need awk for the "check" target.  The system "awk" is bad on
++# some platforms.
++
++
++
++echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
++echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
++    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
++if test "${enable_maintainer_mode+set}" = set; then
++  enableval="$enable_maintainer_mode"
++  USE_MAINTAINER_MODE=$enableval
++else
++  USE_MAINTAINER_MODE=no
++fi; 
++  echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
++echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
++  
++
++if test $USE_MAINTAINER_MODE = yes; then
++  MAINTAINER_MODE_TRUE=
++  MAINTAINER_MODE_FALSE='#'
++else
++  MAINTAINER_MODE_TRUE='#'
++  MAINTAINER_MODE_FALSE=
++fi
++
++  MAINT=$MAINTAINER_MODE_TRUE
++  
++
++
++
++
++test "$sysconfdir" = '${prefix}/etc' && sysconfdir='/etc'
++test "$localstatedir" = '${prefix}/var' && localstatedir='/var/heimdal'
++
++# Make sure we can run config.sub.
++$ac_config_sub sun4 >/dev/null 2>&1 ||
++  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
++echo "$as_me: error: cannot run $ac_config_sub" >&2;}
++   { (exit 1); exit 1; }; }
++
++echo "$as_me:$LINENO: checking build system type" >&5
++echo $ECHO_N "checking build system type... $ECHO_C" >&6
++if test "${ac_cv_build+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_cv_build_alias=$build_alias
++test -z "$ac_cv_build_alias" &&
++  ac_cv_build_alias=`$ac_config_guess`
++test -z "$ac_cv_build_alias" &&
++  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
++echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
++   { (exit 1); exit 1; }; }
++ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
++  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
++echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
++   { (exit 1); exit 1; }; }
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_build" >&5
++echo "${ECHO_T}$ac_cv_build" >&6
++build=$ac_cv_build
++build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
++build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
++build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
++
++
++echo "$as_me:$LINENO: checking host system type" >&5
++echo $ECHO_N "checking host system type... $ECHO_C" >&6
++if test "${ac_cv_host+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_cv_host_alias=$host_alias
++test -z "$ac_cv_host_alias" &&
++  ac_cv_host_alias=$ac_cv_build_alias
++ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
++  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
++echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
++   { (exit 1); exit 1; }; }
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_host" >&5
++echo "${ECHO_T}$ac_cv_host" >&6
++host=$ac_cv_host
++host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
++host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
++host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
++
++
++CANONICAL_HOST=$host
++
++
++
++# Check whether --enable-largefile or --disable-largefile was given.
++if test "${enable_largefile+set}" = set; then
++  enableval="$enable_largefile"
++  
++fi; 
++if test "$enable_largefile" != no; then
++
++  echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
++echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
++if test "${ac_cv_sys_largefile_CC+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_cv_sys_largefile_CC=no
++     if test "$GCC" != yes; then
++       ac_save_CC=$CC
++       while :; do
++     	 # IRIX 6.2 and later do not support large files by default,
++     	 # so use the C compiler's -n32 option if that helps.
++	 cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@include <sys/types.h>
++ /* Check that off_t can represent 2**63 - 1 correctly.
++    We can't simply define LARGE_OFF_T to be 9223372036854775807,
++    since some C++ compilers masquerading as C compilers
++    incorrectly reject 9223372036854775807.  */
++@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
++  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
++		       && LARGE_OFF_T % 2147483647 == 1)
++		      ? 1 : -1];
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++     	 rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext 
++     	 CC="$CC -n32"
++     	 rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_sys_largefile_CC=' -n32'; break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext 
++	 break
++       done
++       CC=$ac_save_CC
++       rm -f conftest.$ac_ext
++    fi
++fi
++echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
++echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
++  if test "$ac_cv_sys_largefile_CC" != no; then
++    CC=$CC$ac_cv_sys_largefile_CC
++  fi
++
++  echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
++echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
++if test "${ac_cv_sys_file_offset_bits+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  while :; do
++  ac_cv_sys_file_offset_bits=no
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@include <sys/types.h>
++ /* Check that off_t can represent 2**63 - 1 correctly.
++    We can't simply define LARGE_OFF_T to be 9223372036854775807,
++    since some C++ compilers masquerading as C compilers
++    incorrectly reject 9223372036854775807.  */
++@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
++  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
++		       && LARGE_OFF_T % 2147483647 == 1)
++		      ? 1 : -1];
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@define _FILE_OFFSET_BITS 64
++@%:@include <sys/types.h>
++ /* Check that off_t can represent 2**63 - 1 correctly.
++    We can't simply define LARGE_OFF_T to be 9223372036854775807,
++    since some C++ compilers masquerading as C compilers
++    incorrectly reject 9223372036854775807.  */
++@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
++  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
++		       && LARGE_OFF_T % 2147483647 == 1)
++		      ? 1 : -1];
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_sys_file_offset_bits=64; break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++  break
++done
++fi
++echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
++echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
++if test "$ac_cv_sys_file_offset_bits" != no; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
++_ACEOF
++
++fi
++rm -f conftest*
++  echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
++echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
++if test "${ac_cv_sys_large_files+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  while :; do
++  ac_cv_sys_large_files=no
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@include <sys/types.h>
++ /* Check that off_t can represent 2**63 - 1 correctly.
++    We can't simply define LARGE_OFF_T to be 9223372036854775807,
++    since some C++ compilers masquerading as C compilers
++    incorrectly reject 9223372036854775807.  */
++@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
++  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
++		       && LARGE_OFF_T % 2147483647 == 1)
++		      ? 1 : -1];
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@define _LARGE_FILES 1
++@%:@include <sys/types.h>
++ /* Check that off_t can represent 2**63 - 1 correctly.
++    We can't simply define LARGE_OFF_T to be 9223372036854775807,
++    since some C++ compilers masquerading as C compilers
++    incorrectly reject 9223372036854775807.  */
++@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
++  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
++		       && LARGE_OFF_T % 2147483647 == 1)
++		      ? 1 : -1];
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_sys_large_files=1; break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++  break
++done
++fi
++echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
++echo "${ECHO_T}$ac_cv_sys_large_files" >&6
++if test "$ac_cv_sys_large_files" != no; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define _LARGE_FILES $ac_cv_sys_large_files
++_ACEOF
++
++fi
++rm -f conftest*
++fi
++
++if test "$enable_largefile" != no -a "$ac_cv_sys_large_files" != no; then
++	CPPFLAGS="$CPPFLAGS -D_LARGE_FILES=$ac_cv_sys_large_files"
++fi
++
++
++cat >>confdefs.h <<\_ACEOF
++@%:@define _GNU_SOURCE 1
++_ACEOF
++
++
++
++
++
++for ac_prog in 'bison -y' byacc
++do
++  # Extract the first word of "$ac_prog", so it can be a program name with args.
++set dummy $ac_prog; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_YACC+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$YACC"; then
++  ac_cv_prog_YACC="$YACC" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_YACC="$ac_prog"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++YACC=$ac_cv_prog_YACC
++if test -n "$YACC"; then
++  echo "$as_me:$LINENO: result: $YACC" >&5
++echo "${ECHO_T}$YACC" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  test -n "$YACC" && break
++done
++test -n "$YACC" || YACC="yacc"
++
++for ac_prog in flex lex
++do
++  # Extract the first word of "$ac_prog", so it can be a program name with args.
++set dummy $ac_prog; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_LEX+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$LEX"; then
++  ac_cv_prog_LEX="$LEX" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_LEX="$ac_prog"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++LEX=$ac_cv_prog_LEX
++if test -n "$LEX"; then
++  echo "$as_me:$LINENO: result: $LEX" >&5
++echo "${ECHO_T}$LEX" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  test -n "$LEX" && break
++done
++test -n "$LEX" || LEX=":"
++
++if test -z "$LEXLIB"
++then
++  echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
++echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
++if test "${ac_cv_lib_fl_yywrap+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-lfl  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char yywrap ();
++int
++main ()
++{
++yywrap ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_fl_yywrap=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_fl_yywrap=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
++echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
++if test $ac_cv_lib_fl_yywrap = yes; then
++  LEXLIB="-lfl"
++else
++  echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
++echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
++if test "${ac_cv_lib_l_yywrap+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ll  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char yywrap ();
++int
++main ()
++{
++yywrap ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_l_yywrap=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_l_yywrap=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
++echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
++if test $ac_cv_lib_l_yywrap = yes; then
++  LEXLIB="-ll"
++fi
++
++fi
++
++fi
++
++if test "x$LEX" != "x:"; then
++  echo "$as_me:$LINENO: checking lex output file root" >&5
++echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
++if test "${ac_cv_prog_lex_root+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  # The minimal lex program is just a single line: %%.  But some broken lexes
++# (Solaris, I think it was) want two %% lines, so accommodate them.
++cat >conftest.l <<_ACEOF
++%%
++%%
++_ACEOF
++{ (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
++  (eval $LEX conftest.l) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }
++if test -f lex.yy.c; then
++  ac_cv_prog_lex_root=lex.yy
++elif test -f lexyy.c; then
++  ac_cv_prog_lex_root=lexyy
++else
++  { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
++echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
++   { (exit 1); exit 1; }; }
++fi
++fi
++echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
++echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
++rm -f conftest.l
++LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
++
++echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
++echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
++if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  # POSIX says lex can declare yytext either as a pointer or an array; the
++# default is implementation-dependent. Figure out which it is, since
++# not all implementations provide the %pointer and %array declarations.
++ac_cv_prog_lex_yytext_pointer=no
++echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
++ac_save_LIBS=$LIBS
++LIBS="$LIBS $LEXLIB"
++cat >conftest.$ac_ext <<_ACEOF
++`cat $LEX_OUTPUT_ROOT.c`
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_prog_lex_yytext_pointer=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_save_LIBS
++rm -f "${LEX_OUTPUT_ROOT}.c"
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
++echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
++if test $ac_cv_prog_lex_yytext_pointer = yes; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define YYTEXT_POINTER 1
++_ACEOF
++
++fi
++
++fi
++if test "$LEX" = :; then
++  LEX=${am_missing_run}flex
++fi
++for ac_prog in gawk mawk nawk awk
++do
++  # Extract the first word of "$ac_prog", so it can be a program name with args.
++set dummy $ac_prog; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_AWK+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$AWK"; then
++  ac_cv_prog_AWK="$AWK" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_AWK="$ac_prog"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++AWK=$ac_cv_prog_AWK
++if test -n "$AWK"; then
++  echo "$as_me:$LINENO: result: $AWK" >&5
++echo "${ECHO_T}$AWK" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  test -n "$AWK" && break
++done
++
++echo "$as_me:$LINENO: checking for ln -s or something else" >&5
++echo $ECHO_N "checking for ln -s or something else... $ECHO_C" >&6
++if test "${ac_cv_prog_LN_S+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  rm -f conftestdata
++if ln -s X conftestdata 2>/dev/null
++then
++  rm -f conftestdata
++  ac_cv_prog_LN_S="ln -s"
++else
++  touch conftestdata1
++  if ln conftestdata1 conftestdata2; then
++    rm -f conftestdata*
++    ac_cv_prog_LN_S=ln
++  else
++    ac_cv_prog_LN_S=cp
++  fi
++fi
++fi
++LN_S="$ac_cv_prog_LN_S"
++echo "$as_me:$LINENO: result: $ac_cv_prog_LN_S" >&5
++echo "${ECHO_T}$ac_cv_prog_LN_S" >&6
++
++
++
++
++# Check whether --with-mips_abi or --without-mips_abi was given.
++if test "${with_mips_abi+set}" = set; then
++  withval="$with_mips_abi"
++  
++fi; 
++
++case "$host_os" in
++irix*)
++with_mips_abi="${with_mips_abi:-yes}"
++if test -n "$GCC"; then
++
++# GCC < 2.8 only supports the O32 ABI. GCC >= 2.8 has a flag to select
++# which ABI to use, but only supports (as of 2.8.1) the N32 and 64 ABIs.
++#
++# Default to N32, but if GCC doesn't grok -mabi=n32, we assume an old
++# GCC and revert back to O32. The same goes if O32 is asked for - old
++# GCCs doesn't like the -mabi option, and new GCCs can't output O32.
++#
++# Don't you just love *all* the different SGI ABIs?
++
++case "${with_mips_abi}" in 
++        32|o32) abi='-mabi=32';  abilibdirext=''     ;;
++       n32|yes) abi='-mabi=n32'; abilibdirext='32'  ;;
++        64) abi='-mabi=64';  abilibdirext='64'   ;;
++	no) abi=''; abilibdirext='';;
++         *) { { echo "$as_me:$LINENO: error: \"Invalid ABI specified\"" >&5
++echo "$as_me: error: \"Invalid ABI specified\"" >&2;}
++   { (exit 1); exit 1; }; } ;;
++esac
++if test -n "$abi" ; then
++ac_foo=krb_cv_gcc_`echo $abi | tr =- __`
++echo "$as_me:$LINENO: checking if $CC supports the $abi option" >&5
++echo $ECHO_N "checking if $CC supports the $abi option... $ECHO_C" >&6
++if eval "test \"\${$ac_foo+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++save_CFLAGS="$CFLAGS"
++CFLAGS="$CFLAGS $abi"
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++int x;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval $ac_foo=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval $ac_foo=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++CFLAGS="$save_CFLAGS"
++
++fi
++
++ac_res=`eval echo \\\$$ac_foo`
++echo "$as_me:$LINENO: result: $ac_res" >&5
++echo "${ECHO_T}$ac_res" >&6
++if test $ac_res = no; then
++# Try to figure out why that failed...
++case $abi in
++	-mabi=32) 
++	save_CFLAGS="$CFLAGS"
++	CFLAGS="$CFLAGS -mabi=n32"
++	cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++int x;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_res=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_res=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++	CLAGS="$save_CFLAGS"
++	if test $ac_res = yes; then
++		# New GCC
++		{ { echo "$as_me:$LINENO: error: $CC does not support the $with_mips_abi ABI" >&5
++echo "$as_me: error: $CC does not support the $with_mips_abi ABI" >&2;}
++   { (exit 1); exit 1; }; }
++	fi
++	# Old GCC
++	abi=''
++	abilibdirext=''
++	;;
++	-mabi=n32|-mabi=64)
++		if test $with_mips_abi = yes; then
++			# Old GCC, default to O32
++			abi=''
++			abilibdirext=''
++		else
++			# Some broken GCC
++			{ { echo "$as_me:$LINENO: error: $CC does not support the $with_mips_abi ABI" >&5
++echo "$as_me: error: $CC does not support the $with_mips_abi ABI" >&2;}
++   { (exit 1); exit 1; }; }
++		fi
++	;;
++esac
++fi #if test $ac_res = no; then
++fi #if test -n "$abi" ; then
++else
++case "${with_mips_abi}" in
++        32|o32) abi='-32'; abilibdirext=''     ;;
++       n32|yes) abi='-n32'; abilibdirext='32'  ;;
++        64) abi='-64'; abilibdirext='64'   ;;
++	no) abi=''; abilibdirext='';;
++         *) { { echo "$as_me:$LINENO: error: \"Invalid ABI specified\"" >&5
++echo "$as_me: error: \"Invalid ABI specified\"" >&2;}
++   { (exit 1); exit 1; }; } ;;
++esac
++fi #if test -n "$GCC"; then
++;;
++esac
++
++CC="$CC $abi"
++libdir="$libdir$abilibdirext"
++
++
++echo "$as_me:$LINENO: checking for __attribute__" >&5
++echo $ECHO_N "checking for __attribute__... $ECHO_C" >&6
++if test "${ac_cv___attribute__+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#include <stdlib.h>
++
++int
++main ()
++{
++
++static void foo(void) __attribute__ ((noreturn));
++
++static void
++foo(void)
++{
++  exit(1);
++}
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv___attribute__=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv___attribute__=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++
++if test "$ac_cv___attribute__" = "yes"; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE___ATTRIBUTE__ 1
++_ACEOF
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv___attribute__" >&5
++echo "${ECHO_T}$ac_cv___attribute__" >&6
++
++
++# Check whether --enable-shared or --disable-shared was given.
++if test "${enable_shared+set}" = set; then
++  enableval="$enable_shared"
++  p=${PACKAGE-default}
++    case $enableval in
++    yes) enable_shared=yes ;;
++    no) enable_shared=no ;;
++    *)
++      enable_shared=no
++      # Look at the argument we got.  We use all the common list separators.
++      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
++      for pkg in $enableval; do
++	IFS="$lt_save_ifs"
++	if test "X$pkg" = "X$p"; then
++	  enable_shared=yes
++	fi
++      done
++      IFS="$lt_save_ifs"
++      ;;
++    esac
++else
++  enable_shared=no
++fi; 
++
++# Check whether --enable-static or --disable-static was given.
++if test "${enable_static+set}" = set; then
++  enableval="$enable_static"
++  p=${PACKAGE-default}
++    case $enableval in
++    yes) enable_static=yes ;;
++    no) enable_static=no ;;
++    *)
++     enable_static=no
++      # Look at the argument we got.  We use all the common list separators.
++      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
++      for pkg in $enableval; do
++	IFS="$lt_save_ifs"
++	if test "X$pkg" = "X$p"; then
++	  enable_static=yes
++	fi
++      done
++      IFS="$lt_save_ifs"
++      ;;
++    esac
++else
++  enable_static=yes
++fi; 
++
++# Check whether --enable-fast-install or --disable-fast-install was given.
++if test "${enable_fast_install+set}" = set; then
++  enableval="$enable_fast_install"
++  p=${PACKAGE-default}
++    case $enableval in
++    yes) enable_fast_install=yes ;;
++    no) enable_fast_install=no ;;
++    *)
++      enable_fast_install=no
++      # Look at the argument we got.  We use all the common list separators.
++      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
++      for pkg in $enableval; do
++	IFS="$lt_save_ifs"
++	if test "X$pkg" = "X$p"; then
++	  enable_fast_install=yes
++	fi
++      done
++      IFS="$lt_save_ifs"
++      ;;
++    esac
++else
++  enable_fast_install=yes
++fi; 
++
++echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
++echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
++if test "${lt_cv_path_SED+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  # Loop through the user's path and test for sed and gsed.
++# Then use that list of sed's as ones to test for truncation.
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for lt_ac_prog in sed gsed; do
++    for ac_exec_ext in '' $ac_executable_extensions; do
++      if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
++        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
++      fi
++    done
++  done
++done
++lt_ac_max=0
++lt_ac_count=0
++# Add /usr/xpg4/bin/sed as it is typically found on Solaris
++# along with /bin/sed that truncates output.
++for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
++  test ! -f $lt_ac_sed && break
++  cat /dev/null > conftest.in
++  lt_ac_count=0
++  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
++  # Check for GNU sed and select it if it is found.
++  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
++    lt_cv_path_SED=$lt_ac_sed
++    break
++  fi
++  while true; do
++    cat conftest.in conftest.in >conftest.tmp
++    mv conftest.tmp conftest.in
++    cp conftest.in conftest.nl
++    echo >>conftest.nl
++    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
++    cmp -s conftest.out conftest.nl || break
++    # 10000 chars as input seems more than enough
++    test $lt_ac_count -gt 10 && break
++    lt_ac_count=`expr $lt_ac_count + 1`
++    if test $lt_ac_count -gt $lt_ac_max; then
++      lt_ac_max=$lt_ac_count
++      lt_cv_path_SED=$lt_ac_sed
++    fi
++  done
++done
++SED=$lt_cv_path_SED
++
++fi
++
++echo "$as_me:$LINENO: result: $SED" >&5
++echo "${ECHO_T}$SED" >&6
++
++echo "$as_me:$LINENO: checking for egrep" >&5
++echo $ECHO_N "checking for egrep... $ECHO_C" >&6
++if test "${ac_cv_prog_egrep+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
++    then ac_cv_prog_egrep='grep -E'
++    else ac_cv_prog_egrep='egrep'
++    fi
++fi
++echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
++echo "${ECHO_T}$ac_cv_prog_egrep" >&6
++ EGREP=$ac_cv_prog_egrep
++ 
++
++
++# Check whether --with-gnu-ld or --without-gnu-ld was given.
++if test "${with_gnu_ld+set}" = set; then
++  withval="$with_gnu_ld"
++  test "$withval" = no || with_gnu_ld=yes
++else
++  with_gnu_ld=no
++fi; 
++ac_prog=ld
++if test "$GCC" = yes; then
++  # Check if gcc -print-prog-name=ld gives a path.
++  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
++echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
++  case $host in
++  *-*-mingw*)
++    # gcc leaves a trailing carriage return which upsets mingw
++    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
++  *)
++    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
++  esac
++  case $ac_prog in
++    # Accept absolute paths.
++    [\\/]* | ?:[\\/]*)
++      re_direlt='/[^/][^/]*/\.\./'
++      # Canonicalize the pathname of ld
++      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
++      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
++	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
++      done
++      test -z "$LD" && LD="$ac_prog"
++      ;;
++  "")
++    # If it fails, then pretend we aren't using GCC.
++    ac_prog=ld
++    ;;
++  *)
++    # If it is relative, then search for the first ld in PATH.
++    with_gnu_ld=unknown
++    ;;
++  esac
++elif test "$with_gnu_ld" = yes; then
++  echo "$as_me:$LINENO: checking for GNU ld" >&5
++echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
++else
++  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
++echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
++fi
++if test "${lt_cv_path_LD+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -z "$LD"; then
++  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
++  for ac_dir in $PATH; do
++    IFS="$lt_save_ifs"
++    test -z "$ac_dir" && ac_dir=.
++    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
++      lt_cv_path_LD="$ac_dir/$ac_prog"
++      # Check to see if the program is GNU ld.  I'd rather use --version,
++      # but apparently some GNU ld's only accept -v.
++      # Break only if it was the GNU/non-GNU ld that we prefer.
++      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
++      *GNU* | *'with BFD'*)
++	test "$with_gnu_ld" != no && break
++	;;
++      *)
++	test "$with_gnu_ld" != yes && break
++	;;
++      esac
++    fi
++  done
++  IFS="$lt_save_ifs"
++else
++  lt_cv_path_LD="$LD" # Let the user override the test with a path.
++fi
++fi
++
++LD="$lt_cv_path_LD"
++if test -n "$LD"; then
++  echo "$as_me:$LINENO: result: $LD" >&5
++echo "${ECHO_T}$LD" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
++echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
++   { (exit 1); exit 1; }; }
++echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
++echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
++if test "${lt_cv_prog_gnu_ld+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
++case `$LD -v 2>&1 </dev/null` in
++*GNU* | *'with BFD'*)
++  lt_cv_prog_gnu_ld=yes
++  ;;
++*)
++  lt_cv_prog_gnu_ld=no
++  ;;
++esac
++fi
++echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
++echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
++with_gnu_ld=$lt_cv_prog_gnu_ld
++
++
++echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
++echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
++if test "${lt_cv_ld_reload_flag+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  lt_cv_ld_reload_flag='-r'
++fi
++echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
++echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
++reload_flag=$lt_cv_ld_reload_flag
++case $reload_flag in
++"" | " "*) ;;
++*) reload_flag=" $reload_flag" ;;
++esac
++reload_cmds='$LD$reload_flag -o $output$reload_objs'
++
++echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
++echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
++if test "${lt_cv_path_NM+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$NM"; then
++  # Let the user override the test.
++  lt_cv_path_NM="$NM"
++else
++  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
++  for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
++    IFS="$lt_save_ifs"
++    test -z "$ac_dir" && ac_dir=.
++    tmp_nm="$ac_dir/${ac_tool_prefix}nm"
++    if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
++      # Check to see if the nm accepts a BSD-compat flag.
++      # Adding the `sed 1q' prevents false positives on HP-UX, which says:
++      #   nm: unknown option "B" ignored
++      # Tru64's nm complains that /dev/null is an invalid object file
++      case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
++      */dev/null* | *'Invalid file or object type'*)
++	lt_cv_path_NM="$tmp_nm -B"
++	break
++        ;;
++      *)
++	case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
++	*/dev/null*)
++	  lt_cv_path_NM="$tmp_nm -p"
++	  break
++	  ;;
++	*)
++	  lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
++	  continue # so that we can try to find one that supports BSD flags
++	  ;;
++	esac
++      esac
++    fi
++  done
++  IFS="$lt_save_ifs"
++  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
++fi
++fi
++echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
++echo "${ECHO_T}$lt_cv_path_NM" >&6
++NM="$lt_cv_path_NM"
++
++echo "$as_me:$LINENO: checking whether ln -s works" >&5
++echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
++LN_S=$as_ln_s
++if test "$LN_S" = "ln -s"; then
++  echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++else
++  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
++echo "${ECHO_T}no, using $LN_S" >&6
++fi
++
++echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
++echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
++if test "${lt_cv_deplibs_check_method+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  lt_cv_file_magic_cmd='$MAGIC_CMD'
++lt_cv_file_magic_test_file=
++lt_cv_deplibs_check_method='unknown'
++# Need to set the preceding variable on all platforms that support
++# interlibrary dependencies.
++# 'none' -- dependencies not supported.
++# `unknown' -- same as none, but documents that we really don't know.
++# 'pass_all' -- all dependencies passed with no checks.
++# 'test_compile' -- check by making test program.
++# 'file_magic [[regex]]' -- check by looking for files in library path
++# which responds to the $file_magic_cmd with a given extended regex.
++# If you have `file' or equivalent on your system and you're not sure
++# whether `pass_all' will *always* work, you probably want this one.
++
++case $host_os in
++aix4* | aix5*)
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++
++beos*)
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++
++bsdi4*)
++  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
++  lt_cv_file_magic_cmd='/usr/bin/file -L'
++  lt_cv_file_magic_test_file=/shlib/libc.so
++  ;;
++
++cygwin*)
++  # func_win32_libid is a shell function defined in ltmain.sh
++  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
++  lt_cv_file_magic_cmd='func_win32_libid'
++  ;;
++
++mingw* | pw32*)
++  # Base MSYS/MinGW do not provide the 'file' command needed by
++  # func_win32_libid shell function, so use a weaker test based on 'objdump'.
++  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
++  lt_cv_file_magic_cmd='$OBJDUMP -f'
++  ;;
++
++darwin* | rhapsody*)
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++
++freebsd* | kfreebsd*-gnu)
++  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
++    case $host_cpu in
++    i*86 )
++      # Not sure whether the presence of OpenBSD here was a mistake.
++      # Let's accept both of them until this is cleared up.
++      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
++      lt_cv_file_magic_cmd=/usr/bin/file
++      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
++      ;;
++    esac
++  else
++    lt_cv_deplibs_check_method=pass_all
++  fi
++  ;;
++
++gnu*)
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++
++hpux10.20* | hpux11*)
++  lt_cv_file_magic_cmd=/usr/bin/file
++  case "$host_cpu" in
++  ia64*)
++    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
++    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
++    ;;
++  hppa*64*)
++    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
++    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
++    ;;
++  *)
++    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
++    lt_cv_file_magic_test_file=/usr/lib/libc.sl
++    ;;
++  esac
++  ;;
++
++irix5* | irix6* | nonstopux*)
++  case $LD in
++  *-32|*"-32 ") libmagic=32-bit;;
++  *-n32|*"-n32 ") libmagic=N32;;
++  *-64|*"-64 ") libmagic=64-bit;;
++  *) libmagic=never-match;;
++  esac
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++
++# This must be Linux ELF.
++linux*)
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++
++netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
++  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
++    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
++  else
++    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
++  fi
++  ;;
++
++newos6*)
++  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
++  lt_cv_file_magic_cmd=/usr/bin/file
++  lt_cv_file_magic_test_file=/usr/lib/libnls.so
++  ;;
++
++nto-qnx*)
++  lt_cv_deplibs_check_method=unknown
++  ;;
++
++openbsd*)
++  lt_cv_file_magic_cmd=/usr/bin/file
++  lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
++  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
++    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
++  else
++    lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
++  fi
++  ;;
++
++osf3* | osf4* | osf5*)
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++
++sco3.2v5*)
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++
++solaris*)
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++
++sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
++  case $host_vendor in
++  motorola)
++    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
++    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
++    ;;
++  ncr)
++    lt_cv_deplibs_check_method=pass_all
++    ;;
++  sequent)
++    lt_cv_file_magic_cmd='/bin/file'
++    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
++    ;;
++  sni)
++    lt_cv_file_magic_cmd='/bin/file'
++    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
++    lt_cv_file_magic_test_file=/lib/libc.so
++    ;;
++  siemens)
++    lt_cv_deplibs_check_method=pass_all
++    ;;
++  esac
++  ;;
++
++sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++esac
++
++fi
++echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
++echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
++file_magic_cmd=$lt_cv_file_magic_cmd
++deplibs_check_method=$lt_cv_deplibs_check_method
++test -z "$deplibs_check_method" && deplibs_check_method=unknown
++
++
++# If no C compiler was specified, use CC.
++LTCC=${LTCC-"$CC"}
++
++# Allow CC to be a program name with arguments.
++compiler=$CC
++
++# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
++if test "${enable_libtool_lock+set}" = set; then
++  enableval="$enable_libtool_lock"
++  
++fi; 
++test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
++
++# Some flags need to be propagated to the compiler or linker for good
++# libtool support.
++case $host in
++ia64-*-hpux*)
++  # Find out which ABI we are using.
++  echo 'int i;' > conftest.$ac_ext
++  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; then
++    case `/usr/bin/file conftest.$ac_objext` in
++    *ELF-32*)
++      HPUX_IA64_MODE="32"
++      ;;
++    *ELF-64*)
++      HPUX_IA64_MODE="64"
++      ;;
++    esac
++  fi
++  rm -rf conftest*
++  ;;
++*-*-irix6*)
++  # Find out which ABI we are using.
++  echo '#line __oline__ "configure"' > conftest.$ac_ext
++  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; then
++   if test "$lt_cv_prog_gnu_ld" = yes; then
++    case `/usr/bin/file conftest.$ac_objext` in
++    *32-bit*)
++      LD="${LD-ld} -melf32bsmip"
++      ;;
++    *N32*)
++      LD="${LD-ld} -melf32bmipn32"
++      ;;
++    *64-bit*)
++      LD="${LD-ld} -melf64bmip"
++      ;;
++    esac
++   else
++    case `/usr/bin/file conftest.$ac_objext` in
++    *32-bit*)
++      LD="${LD-ld} -32"
++      ;;
++    *N32*)
++      LD="${LD-ld} -n32"
++      ;;
++    *64-bit*)
++      LD="${LD-ld} -64"
++      ;;
++    esac
++   fi
++  fi
++  rm -rf conftest*
++  ;;
++
++x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
++  # Find out which ABI we are using.
++  echo 'int i;' > conftest.$ac_ext
++  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; then
++    case "`/usr/bin/file conftest.o`" in
++    *32-bit*)
++      case $host in
++        x86_64-*linux*)
++          LD="${LD-ld} -m elf_i386"
++          ;;
++        ppc64-*linux*|powerpc64-*linux*)
++          LD="${LD-ld} -m elf32ppclinux"
++          ;;
++        s390x-*linux*)
++          LD="${LD-ld} -m elf_s390"
++          ;;
++        sparc64-*linux*)
++          LD="${LD-ld} -m elf32_sparc"
++          ;;
++      esac
++      ;;
++    *64-bit*)
++      case $host in
++        x86_64-*linux*)
++          LD="${LD-ld} -m elf_x86_64"
++          ;;
++        ppc*-*linux*|powerpc*-*linux*)
++          LD="${LD-ld} -m elf64ppc"
++          ;;
++        s390*-*linux*)
++          LD="${LD-ld} -m elf64_s390"
++          ;;
++        sparc*-*linux*)
++          LD="${LD-ld} -m elf64_sparc"
++          ;;
++      esac
++      ;;
++    esac
++  fi
++  rm -rf conftest*
++  ;;
++
++*-*-sco3.2v5*)
++  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
++  SAVE_CFLAGS="$CFLAGS"
++  CFLAGS="$CFLAGS -belf"
++  echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
++echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
++if test "${lt_cv_cc_needs_belf+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++     cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  lt_cv_cc_needs_belf=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++lt_cv_cc_needs_belf=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++     ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++fi
++echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
++echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
++  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
++    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
++    CFLAGS="$SAVE_CFLAGS"
++  fi
++  ;;
++
++esac
++
++need_locks="$enable_libtool_lock"
++
++
++
++echo "$as_me:$LINENO: checking for ANSI C header files" >&5
++echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
++if test "${ac_cv_header_stdc+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdlib.h>
++#include <stdarg.h>
++#include <string.h>
++#include <float.h>
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_header_stdc=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_header_stdc=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++
++if test $ac_cv_header_stdc = yes; then
++  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <string.h>
++
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  $EGREP "memchr" >/dev/null 2>&1; then
++  :
++else
++  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 <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdlib.h>
++
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  $EGREP "free" >/dev/null 2>&1; then
++  :
++else
++  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 <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <ctype.h>
++#if ((' ' & 0x0FF) == 0x020)
++# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
++# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
++#else
++# define ISLOWER(c) \
++		   (('a' <= (c) && (c) <= 'i') \
++		     || ('j' <= (c) && (c) <= 'r') \
++		     || ('s' <= (c) && (c) <= 'z'))
++# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
++#endif
++
++#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);
++}
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  :
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++( exit $ac_status )
++ac_cv_header_stdc=no
++fi
++rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++fi
++fi
++echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
++echo "${ECHO_T}$ac_cv_header_stdc" >&6
++if test $ac_cv_header_stdc = yes; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define STDC_HEADERS 1
++_ACEOF
++
++fi
++
++# On IRIX 5.3, sys/types and inttypes.h are conflicting.
++
++
++
++
++
++
++
++
++
++for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
++		  inttypes.h stdint.h unistd.h
++do
++as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++
++@%:@include <$ac_header>
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_Header=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_Header=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++if test `eval echo '${'$as_ac_Header'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++
++done
++
++
++
++for ac_header in dlfcn.h
++do
++as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++else
++  # Is the header compilable?
++echo "$as_me:$LINENO: checking $ac_header usability" >&5
++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++@%:@include <$ac_header>
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_header_compiler=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_header_compiler=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
++echo "${ECHO_T}$ac_header_compiler" >&6
++
++# Is the header present?
++echo "$as_me:$LINENO: checking $ac_header presence" >&5
++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@include <$ac_header>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  ac_header_preproc=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++  ac_header_preproc=no
++fi
++rm -f conftest.err conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
++echo "${ECHO_T}$ac_header_preproc" >&6
++
++# So?  What about this header?
++case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
++  yes:no: )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
++echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
++    ac_header_preproc=yes
++    ;;
++  no:yes:* )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
++echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
++echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
++echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
++echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
++echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
++    (
++      cat <<\_ASBOX
++@%:@@%:@ -------------------------------------- @%:@@%:@
++@%:@@%:@ Report this to heimdal-bugs@pdc.kth.se @%:@@%:@
++@%:@@%:@ -------------------------------------- @%:@@%:@
++_ASBOX
++    ) |
++      sed "s/^/$as_me: WARNING:     /" >&2
++    ;;
++esac
++echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  eval "$as_ac_Header=\$ac_header_preproc"
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++
++fi
++if test `eval echo '${'$as_ac_Header'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++
++done
++
++ac_ext=cc
++ac_cpp='$CXXCPP $CPPFLAGS'
++ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
++if test -n "$ac_tool_prefix"; then
++  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
++  do
++    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
++set dummy $ac_tool_prefix$ac_prog; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_CXX+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$CXX"; then
++  ac_cv_prog_CXX="$CXX" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++CXX=$ac_cv_prog_CXX
++if test -n "$CXX"; then
++  echo "$as_me:$LINENO: result: $CXX" >&5
++echo "${ECHO_T}$CXX" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++    test -n "$CXX" && break
++  done
++fi
++if test -z "$CXX"; then
++  ac_ct_CXX=$CXX
++  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
++do
++  # Extract the first word of "$ac_prog", so it can be a program name with args.
++set dummy $ac_prog; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$ac_ct_CXX"; then
++  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_ac_ct_CXX="$ac_prog"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
++if test -n "$ac_ct_CXX"; then
++  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
++echo "${ECHO_T}$ac_ct_CXX" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  test -n "$ac_ct_CXX" && break
++done
++test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
++
++  CXX=$ac_ct_CXX
++fi
++
++
++# Provide some information about the compiler.
++echo "$as_me:$LINENO:" \
++     "checking for C++ compiler version" >&5
++ac_compiler=`set X $ac_compile; echo $2`
++{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
++  (eval $ac_compiler --version </dev/null >&5) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }
++{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
++  (eval $ac_compiler -v </dev/null >&5) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }
++{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
++  (eval $ac_compiler -V </dev/null >&5) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }
++
++echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
++echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
++if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++#ifndef __GNUC__
++       choke me
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_compiler_gnu=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_compiler_gnu=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
++echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
++GXX=`test $ac_compiler_gnu = yes && echo yes`
++ac_test_CXXFLAGS=${CXXFLAGS+set}
++ac_save_CXXFLAGS=$CXXFLAGS
++CXXFLAGS="-g"
++echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
++echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
++if test "${ac_cv_prog_cxx_g+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_prog_cxx_g=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_prog_cxx_g=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
++echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
++if test "$ac_test_CXXFLAGS" = set; then
++  CXXFLAGS=$ac_save_CXXFLAGS
++elif test $ac_cv_prog_cxx_g = yes; then
++  if test "$GXX" = yes; then
++    CXXFLAGS="-g -O2"
++  else
++    CXXFLAGS="-g"
++  fi
++else
++  if test "$GXX" = yes; then
++    CXXFLAGS="-O2"
++  else
++    CXXFLAGS=
++  fi
++fi
++for ac_declaration in \
++   '' \
++   'extern "C" void std::exit (int) throw (); using std::exit;' \
++   'extern "C" void std::exit (int); using std::exit;' \
++   'extern "C" void exit (int) throw ();' \
++   'extern "C" void exit (int);' \
++   'void exit (int);'
++do
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_declaration
++@%:@include <stdlib.h>
++int
++main ()
++{
++exit (42);
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  :
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++continue
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_declaration
++int
++main ()
++{
++exit (42);
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++done
++rm -f conftest*
++if test -n "$ac_declaration"; then
++  echo '#ifdef __cplusplus' >>confdefs.h
++  echo $ac_declaration      >>confdefs.h
++  echo '#endif'             >>confdefs.h
++fi
++
++ac_ext=cc
++ac_cpp='$CXXCPP $CPPFLAGS'
++ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
++
++ac_ext=cc
++ac_cpp='$CXXCPP $CPPFLAGS'
++ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
++echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
++echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
++if test -z "$CXXCPP"; then
++  if test "${ac_cv_prog_CXXCPP+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++      # Double quotes because CXXCPP needs to be expanded
++    for CXXCPP in "$CXX -E" "/lib/cpp"
++    do
++      ac_preproc_ok=false
++for ac_cxx_preproc_warn_flag in '' yes
++do
++  # Use a header file that comes with gcc, so configuring glibc
++  # with a fresh cross-compiler works.
++  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++  # <limits.h> exists even on freestanding compilers.
++  # On the NeXT, cc -E runs the code through the compiler's parser,
++  # not just through cpp. "Syntax error" is here to catch this case.
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@ifdef __STDC__
++@%:@ include <limits.h>
++@%:@else
++@%:@ include <assert.h>
++@%:@endif
++		     Syntax error
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_cxx_preproc_warn_flag
++    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  :
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++  # Broken: fails on valid input.
++continue
++fi
++rm -f conftest.err conftest.$ac_ext
++
++  # OK, works on sane cases.  Now check whether non-existent headers
++  # can be detected and how.
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@include <ac_nonexistent.h>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_cxx_preproc_warn_flag
++    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  # Broken: success on invalid input.
++continue
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++  # Passes both tests.
++ac_preproc_ok=:
++break
++fi
++rm -f conftest.err conftest.$ac_ext
++
++done
++# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
++rm -f conftest.err conftest.$ac_ext
++if $ac_preproc_ok; then
++  break
++fi
++
++    done
++    ac_cv_prog_CXXCPP=$CXXCPP
++  
++fi
++  CXXCPP=$ac_cv_prog_CXXCPP
++else
++  ac_cv_prog_CXXCPP=$CXXCPP
++fi
++echo "$as_me:$LINENO: result: $CXXCPP" >&5
++echo "${ECHO_T}$CXXCPP" >&6
++ac_preproc_ok=false
++for ac_cxx_preproc_warn_flag in '' yes
++do
++  # Use a header file that comes with gcc, so configuring glibc
++  # with a fresh cross-compiler works.
++  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++  # <limits.h> exists even on freestanding compilers.
++  # On the NeXT, cc -E runs the code through the compiler's parser,
++  # not just through cpp. "Syntax error" is here to catch this case.
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@ifdef __STDC__
++@%:@ include <limits.h>
++@%:@else
++@%:@ include <assert.h>
++@%:@endif
++		     Syntax error
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_cxx_preproc_warn_flag
++    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  :
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++  # Broken: fails on valid input.
++continue
++fi
++rm -f conftest.err conftest.$ac_ext
++
++  # OK, works on sane cases.  Now check whether non-existent headers
++  # can be detected and how.
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@include <ac_nonexistent.h>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_cxx_preproc_warn_flag
++    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  # Broken: success on invalid input.
++continue
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++  # Passes both tests.
++ac_preproc_ok=:
++break
++fi
++rm -f conftest.err conftest.$ac_ext
++
++done
++# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
++rm -f conftest.err conftest.$ac_ext
++if $ac_preproc_ok; then
++  :
++else
++  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
++See \`config.log' for more details." >&5
++echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
++See \`config.log' for more details." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++
++ac_ext=cc
++ac_cpp='$CXXCPP $CPPFLAGS'
++ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
++
++
++ac_ext=f
++ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
++ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_f77_compiler_gnu
++if test -n "$ac_tool_prefix"; then
++  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
++  do
++    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
++set dummy $ac_tool_prefix$ac_prog; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_F77+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$F77"; then
++  ac_cv_prog_F77="$F77" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++F77=$ac_cv_prog_F77
++if test -n "$F77"; then
++  echo "$as_me:$LINENO: result: $F77" >&5
++echo "${ECHO_T}$F77" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++    test -n "$F77" && break
++  done
++fi
++if test -z "$F77"; then
++  ac_ct_F77=$F77
++  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
++do
++  # Extract the first word of "$ac_prog", so it can be a program name with args.
++set dummy $ac_prog; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$ac_ct_F77"; then
++  ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_ac_ct_F77="$ac_prog"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++ac_ct_F77=$ac_cv_prog_ac_ct_F77
++if test -n "$ac_ct_F77"; then
++  echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
++echo "${ECHO_T}$ac_ct_F77" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  test -n "$ac_ct_F77" && break
++done
++
++  F77=$ac_ct_F77
++fi
++
++
++# Provide some information about the compiler.
++echo "$as_me:__oline__:" \
++     "checking for Fortran 77 compiler version" >&5
++ac_compiler=`set X $ac_compile; echo $2`
++{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
++  (eval $ac_compiler --version </dev/null >&5) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }
++{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
++  (eval $ac_compiler -v </dev/null >&5) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }
++{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
++  (eval $ac_compiler -V </dev/null >&5) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }
++rm -f a.out
++
++# If we don't use `.F' as extension, the preprocessor is not run on the
++# input file.  (Note that this only needs to work for GNU compilers.)
++ac_save_ext=$ac_ext
++ac_ext=F
++echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
++echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
++if test "${ac_cv_f77_compiler_gnu+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++      program main
++#ifndef __GNUC__
++       choke me
++#endif
++
++      end
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_f77_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_compiler_gnu=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_compiler_gnu=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++ac_cv_f77_compiler_gnu=$ac_compiler_gnu
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
++echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
++ac_ext=$ac_save_ext
++ac_test_FFLAGS=${FFLAGS+set}
++ac_save_FFLAGS=$FFLAGS
++FFLAGS=
++echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
++echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
++if test "${ac_cv_prog_f77_g+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  FFLAGS=-g
++cat >conftest.$ac_ext <<_ACEOF
++      program main
++
++      end
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_f77_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_prog_f77_g=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_prog_f77_g=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
++echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
++if test "$ac_test_FFLAGS" = set; then
++  FFLAGS=$ac_save_FFLAGS
++elif test $ac_cv_prog_f77_g = yes; then
++  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
++    FFLAGS="-g -O2"
++  else
++    FFLAGS="-g"
++  fi
++else
++  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
++    FFLAGS="-O2"
++  else
++    FFLAGS=
++  fi
++fi
++
++G77=`test $ac_compiler_gnu = yes && echo yes`
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++
++
++# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
++
++# find the maximum length of command line arguments
++echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
++echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
++if test "${lt_cv_sys_max_cmd_len+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++    i=0
++  teststring="ABCD"
++
++  case $build_os in
++  msdosdjgpp*)
++    # On DJGPP, this test can blow up pretty badly due to problems in libc
++    # (any single argument exceeding 2000 bytes causes a buffer overrun
++    # during glob expansion).  Even if it were fixed, the result of this
++    # check would be larger than it should be.
++    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
++    ;;
++
++  gnu*)
++    # Under GNU Hurd, this test is not required because there is
++    # no limit to the length of command line arguments.
++    # Libtool will interpret -1 as no limit whatsoever
++    lt_cv_sys_max_cmd_len=-1;
++    ;;
++
++  cygwin* | mingw*)
++    # On Win9x/ME, this test blows up -- it succeeds, but takes
++    # about 5 minutes as the teststring grows exponentially.
++    # Worse, since 9x/ME are not pre-emptively multitasking,
++    # you end up with a "frozen" computer, even though with patience
++    # the test eventually succeeds (with a max line length of 256k).
++    # Instead, let's just punt: use the minimum linelength reported by
++    # all of the supported platforms: 8192 (on NT/2K/XP).
++    lt_cv_sys_max_cmd_len=8192;
++    ;;
++
++  amigaos*)
++    # On AmigaOS with pdksh, this test takes hours, literally.
++    # So we just punt and use a minimum line length of 8192.
++    lt_cv_sys_max_cmd_len=8192;
++    ;;
++
++ *)
++    # If test is not a shell built-in, we'll probably end up computing a
++    # maximum length that is only half of the actual maximum length, but
++    # we can't tell.
++    while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
++	       = "XX$teststring") >/dev/null 2>&1 &&
++	    new_result=`expr "X$teststring" : ".*" 2>&1` &&
++	    lt_cv_sys_max_cmd_len=$new_result &&
++	    test $i != 17 # 1/2 MB should be enough
++    do
++      i=`expr $i + 1`
++      teststring=$teststring$teststring
++    done
++    teststring=
++    # Add a significant safety factor because C++ compilers can tack on massive
++    # amounts of additional arguments before passing them to the linker.
++    # It appears as though 1/2 is a usable value.
++    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
++    ;;
++  esac
++
++fi
++
++if test -n $lt_cv_sys_max_cmd_len ; then
++  echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
++echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
++else
++  echo "$as_me:$LINENO: result: none" >&5
++echo "${ECHO_T}none" >&6
++fi
++
++
++
++
++# Check for command to grab the raw symbol name followed by C symbol from nm.
++echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
++echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
++if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++# These are sane defaults that work on at least a few old systems.
++# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
++
++# Character class describing NM global symbol codes.
++symcode='[BCDEGRST]'
++
++# Regexp to match symbols that can be accessed directly from C.
++sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
++
++# Transform the above into a raw symbol and a C symbol.
++symxfrm='\1 \2\3 \3'
++
++# Transform an extracted symbol line into a proper C declaration
++lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
++
++# Transform an extracted symbol line into symbol name and symbol address
++lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
++
++# Define system-specific variables.
++case $host_os in
++aix*)
++  symcode='[BCDT]'
++  ;;
++cygwin* | mingw* | pw32*)
++  symcode='[ABCDGISTW]'
++  ;;
++hpux*) # Its linker distinguishes data from code symbols
++  if test "$host_cpu" = ia64; then
++    symcode='[ABCDEGRST]'
++  fi
++  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
++  lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
++  ;;
++irix* | nonstopux*)
++  symcode='[BCDEGRST]'
++  ;;
++osf*)
++  symcode='[BCDEGQRST]'
++  ;;
++solaris* | sysv5*)
++  symcode='[BDRT]'
++  ;;
++sysv4)
++  symcode='[DFNSTU]'
++  ;;
++esac
++
++# Handle CRLF in mingw tool chain
++opt_cr=
++case $build_os in
++mingw*)
++  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
++  ;;
++esac
++
++# If we're using GNU nm, then use its standard symbol codes.
++case `$NM -V 2>&1` in
++*GNU* | *'with BFD'*)
++  symcode='[ABCDGIRSTW]' ;;
++esac
++
++# Try without a prefix undercore, then with it.
++for ac_symprfx in "" "_"; do
++
++  # Write the raw and C identifiers.
++  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
++
++  # Check to see that the pipe works correctly.
++  pipe_works=no
++
++  rm -f conftest*
++  cat > conftest.$ac_ext <<EOF
++#ifdef __cplusplus
++extern "C" {
++#endif
++char nm_test_var;
++void nm_test_func(){}
++#ifdef __cplusplus
++}
++#endif
++int main(){nm_test_var='a';nm_test_func();return(0);}
++EOF
++
++  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; then
++    # Now try to grab the symbols.
++    nlist=conftest.nm
++    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
++  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && test -s "$nlist"; then
++      # Try sorting and uniquifying the output.
++      if sort "$nlist" | uniq > "$nlist"T; then
++	mv -f "$nlist"T "$nlist"
++      else
++	rm -f "$nlist"T
++      fi
++
++      # Make sure that we snagged all the symbols we need.
++      if grep ' nm_test_var$' "$nlist" >/dev/null; then
++	if grep ' nm_test_func$' "$nlist" >/dev/null; then
++	  cat <<EOF > conftest.$ac_ext
++#ifdef __cplusplus
++extern "C" {
++#endif
++
++EOF
++	  # Now generate the symbol file.
++	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
++
++	  cat <<EOF >> conftest.$ac_ext
++#if defined (__STDC__) && __STDC__
++# define lt_ptr_t void *
++#else
++# define lt_ptr_t char *
++# define const
++#endif
++
++/* The mapping between symbol names and symbols. */
++const struct {
++  const char *name;
++  lt_ptr_t address;
++}
++lt_preloaded_symbols[] =
++{
++EOF
++	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
++	  cat <<\EOF >> conftest.$ac_ext
++  {0, (lt_ptr_t) 0}
++};
++
++#ifdef __cplusplus
++}
++#endif
++EOF
++	  # Now try linking the two files.
++	  mv conftest.$ac_objext conftstm.$ac_objext
++	  lt_save_LIBS="$LIBS"
++	  lt_save_CFLAGS="$CFLAGS"
++	  LIBS="conftstm.$ac_objext"
++	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
++	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && test -s conftest${ac_exeext}; then
++	    pipe_works=yes
++	  fi
++	  LIBS="$lt_save_LIBS"
++	  CFLAGS="$lt_save_CFLAGS"
++	else
++	  echo "cannot find nm_test_func in $nlist" >&5
++	fi
++      else
++	echo "cannot find nm_test_var in $nlist" >&5
++      fi
++    else
++      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
++    fi
++  else
++    echo "$progname: failed program was:" >&5
++    cat conftest.$ac_ext >&5
++  fi
++  rm -f conftest* conftst*
++
++  # Do not use the global_symbol_pipe unless it works.
++  if test "$pipe_works" = yes; then
++    break
++  else
++    lt_cv_sys_global_symbol_pipe=
++  fi
++done
++
++fi
++
++if test -z "$lt_cv_sys_global_symbol_pipe"; then
++  lt_cv_sys_global_symbol_to_cdecl=
++fi
++if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
++  echo "$as_me:$LINENO: result: failed" >&5
++echo "${ECHO_T}failed" >&6
++else
++  echo "$as_me:$LINENO: result: ok" >&5
++echo "${ECHO_T}ok" >&6
++fi
++
++echo "$as_me:$LINENO: checking for objdir" >&5
++echo $ECHO_N "checking for objdir... $ECHO_C" >&6
++if test "${lt_cv_objdir+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  rm -f .libs 2>/dev/null
++mkdir .libs 2>/dev/null
++if test -d .libs; then
++  lt_cv_objdir=.libs
++else
++  # MS-DOS does not allow filenames that begin with a dot.
++  lt_cv_objdir=_libs
++fi
++rmdir .libs 2>/dev/null
++fi
++echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
++echo "${ECHO_T}$lt_cv_objdir" >&6
++objdir=$lt_cv_objdir
++
++
++
++
++
++case $host_os in
++aix3*)
++  # AIX sometimes has problems with the GCC collect2 program.  For some
++  # reason, if we set the COLLECT_NAMES environment variable, the problems
++  # vanish in a puff of smoke.
++  if test "X${COLLECT_NAMES+set}" != Xset; then
++    COLLECT_NAMES=
++    export COLLECT_NAMES
++  fi
++  ;;
++esac
++
++# Sed substitution that helps us do robust quoting.  It backslashifies
++# metacharacters that are still active within double-quoted strings.
++Xsed='sed -e s/^X//'
++sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
++
++# Same as above, but do not quote variable references.
++double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
++
++# Sed substitution to delay expansion of an escaped shell variable in a
++# double_quote_subst'ed string.
++delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
++
++# Sed substitution to avoid accidental globbing in evaled expressions
++no_glob_subst='s/\*/\\\*/g'
++
++# Constants:
++rm="rm -f"
++
++# Global variables:
++default_ofile=libtool
++can_build_shared=yes
++
++# All known linkers require a `.a' archive for static linking (except M$VC,
++# which needs '.lib').
++libext=a
++ltmain="$ac_aux_dir/ltmain.sh"
++ofile="$default_ofile"
++with_gnu_ld="$lt_cv_prog_gnu_ld"
++
++if test -n "$ac_tool_prefix"; then
++  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
++set dummy ${ac_tool_prefix}ar; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_AR+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$AR"; then
++  ac_cv_prog_AR="$AR" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_AR="${ac_tool_prefix}ar"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++AR=$ac_cv_prog_AR
++if test -n "$AR"; then
++  echo "$as_me:$LINENO: result: $AR" >&5
++echo "${ECHO_T}$AR" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++fi
++if test -z "$ac_cv_prog_AR"; then
++  ac_ct_AR=$AR
++  # Extract the first word of "ar", so it can be a program name with args.
++set dummy ar; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$ac_ct_AR"; then
++  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_ac_ct_AR="ar"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++  test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
++fi
++fi
++ac_ct_AR=$ac_cv_prog_ac_ct_AR
++if test -n "$ac_ct_AR"; then
++  echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
++echo "${ECHO_T}$ac_ct_AR" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  AR=$ac_ct_AR
++else
++  AR="$ac_cv_prog_AR"
++fi
++
++if test -n "$ac_tool_prefix"; then
++  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
++set dummy ${ac_tool_prefix}ranlib; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_RANLIB+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$RANLIB"; then
++  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++RANLIB=$ac_cv_prog_RANLIB
++if test -n "$RANLIB"; then
++  echo "$as_me:$LINENO: result: $RANLIB" >&5
++echo "${ECHO_T}$RANLIB" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++fi
++if test -z "$ac_cv_prog_RANLIB"; then
++  ac_ct_RANLIB=$RANLIB
++  # Extract the first word of "ranlib", so it can be a program name with args.
++set dummy ranlib; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$ac_ct_RANLIB"; then
++  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_ac_ct_RANLIB="ranlib"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
++fi
++fi
++ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
++if test -n "$ac_ct_RANLIB"; then
++  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
++echo "${ECHO_T}$ac_ct_RANLIB" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  RANLIB=$ac_ct_RANLIB
++else
++  RANLIB="$ac_cv_prog_RANLIB"
++fi
++
++if test -n "$ac_tool_prefix"; then
++  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
++set dummy ${ac_tool_prefix}strip; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_STRIP+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$STRIP"; then
++  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++STRIP=$ac_cv_prog_STRIP
++if test -n "$STRIP"; then
++  echo "$as_me:$LINENO: result: $STRIP" >&5
++echo "${ECHO_T}$STRIP" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++fi
++if test -z "$ac_cv_prog_STRIP"; then
++  ac_ct_STRIP=$STRIP
++  # Extract the first word of "strip", so it can be a program name with args.
++set dummy strip; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$ac_ct_STRIP"; then
++  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_ac_ct_STRIP="strip"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
++fi
++fi
++ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
++if test -n "$ac_ct_STRIP"; then
++  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
++echo "${ECHO_T}$ac_ct_STRIP" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  STRIP=$ac_ct_STRIP
++else
++  STRIP="$ac_cv_prog_STRIP"
++fi
++
++
++old_CC="$CC"
++old_CFLAGS="$CFLAGS"
++
++# Set sane defaults for various variables
++test -z "$AR" && AR=ar
++test -z "$AR_FLAGS" && AR_FLAGS=cru
++test -z "$AS" && AS=as
++test -z "$CC" && CC=cc
++test -z "$LTCC" && LTCC=$CC
++test -z "$DLLTOOL" && DLLTOOL=dlltool
++test -z "$LD" && LD=ld
++test -z "$LN_S" && LN_S="ln -s"
++test -z "$MAGIC_CMD" && MAGIC_CMD=file
++test -z "$NM" && NM=nm
++test -z "$SED" && SED=sed
++test -z "$OBJDUMP" && OBJDUMP=objdump
++test -z "$RANLIB" && RANLIB=:
++test -z "$STRIP" && STRIP=:
++test -z "$ac_objext" && ac_objext=o
++
++# Determine commands to create old-style static archives.
++old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
++old_postinstall_cmds='chmod 644 $oldlib'
++old_postuninstall_cmds=
++
++if test -n "$RANLIB"; then
++  case $host_os in
++  openbsd*)
++    old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
++    ;;
++  *)
++    old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
++    ;;
++  esac
++  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
++fi
++
++# Only perform the check for file, if the check method requires it
++case $deplibs_check_method in
++file_magic*)
++  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
++    echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
++echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
++if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  case $MAGIC_CMD in
++[\\/*] |  ?:[\\/]*)
++  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
++  ;;
++*)
++  lt_save_MAGIC_CMD="$MAGIC_CMD"
++  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
++  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
++  for ac_dir in $ac_dummy; do
++    IFS="$lt_save_ifs"
++    test -z "$ac_dir" && ac_dir=.
++    if test -f $ac_dir/${ac_tool_prefix}file; then
++      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
++      if test -n "$file_magic_test_file"; then
++	case $deplibs_check_method in
++	"file_magic "*)
++	  file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
++	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
++	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
++	    $EGREP "$file_magic_regex" > /dev/null; then
++	    :
++	  else
++	    cat <<EOF 1>&2
++
++*** Warning: the command libtool uses to detect shared libraries,
++*** $file_magic_cmd, produces output that libtool cannot recognize.
++*** The result is that libtool may fail to recognize shared libraries
++*** as such.  This will affect the creation of libtool libraries that
++*** depend on shared libraries, but programs linked with such libtool
++*** libraries will work regardless of this problem.  Nevertheless, you
++*** may want to report the problem to your system manager and/or to
++*** bug-libtool@gnu.org
++
++EOF
++	  fi ;;
++	esac
++      fi
++      break
++    fi
++  done
++  IFS="$lt_save_ifs"
++  MAGIC_CMD="$lt_save_MAGIC_CMD"
++  ;;
++esac
++fi
++
++MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
++if test -n "$MAGIC_CMD"; then
++  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
++echo "${ECHO_T}$MAGIC_CMD" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++if test -z "$lt_cv_path_MAGIC_CMD"; then
++  if test -n "$ac_tool_prefix"; then
++    echo "$as_me:$LINENO: checking for file" >&5
++echo $ECHO_N "checking for file... $ECHO_C" >&6
++if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  case $MAGIC_CMD in
++[\\/*] |  ?:[\\/]*)
++  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
++  ;;
++*)
++  lt_save_MAGIC_CMD="$MAGIC_CMD"
++  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
++  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
++  for ac_dir in $ac_dummy; do
++    IFS="$lt_save_ifs"
++    test -z "$ac_dir" && ac_dir=.
++    if test -f $ac_dir/file; then
++      lt_cv_path_MAGIC_CMD="$ac_dir/file"
++      if test -n "$file_magic_test_file"; then
++	case $deplibs_check_method in
++	"file_magic "*)
++	  file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
++	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
++	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
++	    $EGREP "$file_magic_regex" > /dev/null; then
++	    :
++	  else
++	    cat <<EOF 1>&2
++
++*** Warning: the command libtool uses to detect shared libraries,
++*** $file_magic_cmd, produces output that libtool cannot recognize.
++*** The result is that libtool may fail to recognize shared libraries
++*** as such.  This will affect the creation of libtool libraries that
++*** depend on shared libraries, but programs linked with such libtool
++*** libraries will work regardless of this problem.  Nevertheless, you
++*** may want to report the problem to your system manager and/or to
++*** bug-libtool@gnu.org
++
++EOF
++	  fi ;;
++	esac
++      fi
++      break
++    fi
++  done
++  IFS="$lt_save_ifs"
++  MAGIC_CMD="$lt_save_MAGIC_CMD"
++  ;;
++esac
++fi
++
++MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
++if test -n "$MAGIC_CMD"; then
++  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
++echo "${ECHO_T}$MAGIC_CMD" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  else
++    MAGIC_CMD=:
++  fi
++fi
++
++  fi
++  ;;
++esac
++
++enable_dlopen=no
++enable_win32_dll=no
++
++# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
++if test "${enable_libtool_lock+set}" = set; then
++  enableval="$enable_libtool_lock"
++  
++fi; 
++test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
++
++
++# Check whether --with-pic or --without-pic was given.
++if test "${with_pic+set}" = set; then
++  withval="$with_pic"
++  pic_mode="$withval"
++else
++  pic_mode=default
++fi; 
++test -z "$pic_mode" && pic_mode=default
++
++# Use C for the default configuration in the libtool script
++tagname=
++lt_save_CC="$CC"
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++
++# Source file extension for C test sources.
++ac_ext=c
++
++# Object file extension for compiled C test sources.
++objext=o
++objext=$objext
++
++# Code to be used in simple compile tests
++lt_simple_compile_test_code="int some_variable = 0;\n"
++
++# Code to be used in simple link tests
++lt_simple_link_test_code='int main(){return(0);}\n'
++
++
++# If no C compiler was specified, use CC.
++LTCC=${LTCC-"$CC"}
++
++# Allow CC to be a program name with arguments.
++compiler=$CC
++
++
++#
++# Check for any special shared library compilation flags.
++#
++lt_prog_cc_shlib=
++if test "$GCC" = no; then
++  case $host_os in
++  sco3.2v5*)
++    lt_prog_cc_shlib='-belf'
++    ;;
++  esac
++fi
++if test -n "$lt_prog_cc_shlib"; then
++  { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
++echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
++  if echo "$old_CC $old_CFLAGS " | grep "[ 	]$lt_prog_cc_shlib[ 	]" >/dev/null; then :
++  else
++    { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
++echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
++    lt_cv_prog_cc_can_build_shared=no
++  fi
++fi
++
++
++#
++# Check to make sure the static flag actually works.
++#
++echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
++echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
++if test "${lt_prog_compiler_static_works+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  lt_prog_compiler_static_works=no
++   save_LDFLAGS="$LDFLAGS"
++   LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
++   printf "$lt_simple_link_test_code" > conftest.$ac_ext
++   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
++     # The compiler can only warn and ignore the option if not recognized
++     # So say no if there are warnings
++     if test -s conftest.err; then
++       # Append any errors to the config.log.
++       cat conftest.err 1>&5
++     else
++       lt_prog_compiler_static_works=yes
++     fi
++   fi
++   $rm conftest*
++   LDFLAGS="$save_LDFLAGS"
++
++fi
++echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
++echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
++
++if test x"$lt_prog_compiler_static_works" = xyes; then
++    :
++else
++    lt_prog_compiler_static=
++fi
++
++
++
++
++lt_prog_compiler_no_builtin_flag=
++
++if test "$GCC" = yes; then
++  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
++
++  
++echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
++echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
++if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  lt_cv_prog_compiler_rtti_exceptions=no
++  ac_outfile=conftest.$ac_objext
++   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
++   lt_compiler_flag="-fno-rtti -fno-exceptions"
++   # Insert the option either (1) after the last *FLAGS variable, or
++   # (2) before a word containing "conftest.", or (3) at the end.
++   # Note that $ac_compile itself does not contain backslashes and begins
++   # with a dollar sign (not a hyphen), so the echo should work correctly.
++   # The option is referenced via a variable to avoid confusing sed.
++   lt_compile=`echo "$ac_compile" | $SED \
++   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
++   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
++   -e 's:$: $lt_compiler_flag:'`
++   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
++   (eval "$lt_compile" 2>conftest.err)
++   ac_status=$?
++   cat conftest.err >&5
++   echo "$as_me:__oline__: \$? = $ac_status" >&5
++   if (exit $ac_status) && test -s "$ac_outfile"; then
++     # The compiler can only warn and ignore the option if not recognized
++     # So say no if there are warnings
++     if test ! -s conftest.err; then
++       lt_cv_prog_compiler_rtti_exceptions=yes
++     fi
++   fi
++   $rm conftest*
++
++fi
++echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
++echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
++
++if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
++    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
++else
++    :
++fi
++
++fi
++
++lt_prog_compiler_wl=
++lt_prog_compiler_pic=
++lt_prog_compiler_static=
++
++echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
++echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
++ 
++  if test "$GCC" = yes; then
++    lt_prog_compiler_wl='-Wl,'
++    lt_prog_compiler_static='-static'
++
++    case $host_os in
++      aix*)
++      # All AIX code is PIC.
++      if test "$host_cpu" = ia64; then
++	# AIX 5 now supports IA64 processor
++	lt_prog_compiler_static='-Bstatic'
++      fi
++      ;;
++
++    amigaos*)
++      # FIXME: we need at least 68020 code to build shared libraries, but
++      # adding the `-m68020' flag to GCC prevents building anything better,
++      # like `-m68040'.
++      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
++      ;;
++
++    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
++      # PIC is the default for these OSes.
++      ;;
++
++    mingw* | pw32* | os2*)
++      # This hack is so that the source file can tell whether it is being
++      # built for inclusion in a dll (and should export symbols for example).
++      lt_prog_compiler_pic='-DDLL_EXPORT'
++      ;;
++
++    darwin* | rhapsody*)
++      # PIC is the default on this platform
++      # Common symbols not allowed in MH_DYLIB files
++      lt_prog_compiler_pic='-fno-common'
++      ;;
++
++    msdosdjgpp*)
++      # Just because we use GCC doesn't mean we suddenly get shared libraries
++      # on systems that don't support them.
++      lt_prog_compiler_can_build_shared=no
++      enable_shared=no
++      ;;
++
++    sysv4*MP*)
++      if test -d /usr/nec; then
++	lt_prog_compiler_pic=-Kconform_pic
++      fi
++      ;;
++
++    hpux*)
++      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
++      # not for PA HP-UX.
++      case "$host_cpu" in
++      hppa*64*|ia64*)
++	# +Z the default
++	;;
++      *)
++	lt_prog_compiler_pic='-fPIC'
++	;;
++      esac
++      ;;
++
++    *)
++      lt_prog_compiler_pic='-fPIC'
++      ;;
++    esac
++  else
++    # PORTME Check for flag to pass linker flags through the system compiler.
++    case $host_os in
++    aix*)
++      lt_prog_compiler_wl='-Wl,'
++      if test "$host_cpu" = ia64; then
++	# AIX 5 now supports IA64 processor
++	lt_prog_compiler_static='-Bstatic'
++      else
++	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
++      fi
++      ;;
++
++    mingw* | pw32* | os2*)
++      # This hack is so that the source file can tell whether it is being
++      # built for inclusion in a dll (and should export symbols for example).
++      lt_prog_compiler_pic='-DDLL_EXPORT'
++      ;;
++
++    hpux9* | hpux10* | hpux11*)
++      lt_prog_compiler_wl='-Wl,'
++      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
++      # not for PA HP-UX.
++      case "$host_cpu" in
++      hppa*64*|ia64*)
++	# +Z the default
++	;;
++      *)
++	lt_prog_compiler_pic='+Z'
++	;;
++      esac
++      # Is there a better lt_prog_compiler_static that works with the bundled CC?
++      lt_prog_compiler_static='${wl}-a ${wl}archive'
++      ;;
++
++    irix5* | irix6* | nonstopux*)
++      lt_prog_compiler_wl='-Wl,'
++      # PIC (with -KPIC) is the default.
++      lt_prog_compiler_static='-non_shared'
++      ;;
++
++    newsos6)
++      lt_prog_compiler_pic='-KPIC'
++      lt_prog_compiler_static='-Bstatic'
++      ;;
++
++    linux*)
++      case $CC in
++      icc* | ecc*)
++	lt_prog_compiler_wl='-Wl,'
++	lt_prog_compiler_pic='-KPIC'
++	lt_prog_compiler_static='-static'
++        ;;
++      ccc*)
++        lt_prog_compiler_wl='-Wl,'
++        # All Alpha code is PIC.
++        lt_prog_compiler_static='-non_shared'
++        ;;
++      esac
++      ;;
++
++    osf3* | osf4* | osf5*)
++      lt_prog_compiler_wl='-Wl,'
++      # All OSF/1 code is PIC.
++      lt_prog_compiler_static='-non_shared'
++      ;;
++
++    sco3.2v5*)
++      lt_prog_compiler_pic='-Kpic'
++      lt_prog_compiler_static='-dn'
++      ;;
++
++    solaris*)
++      lt_prog_compiler_wl='-Wl,'
++      lt_prog_compiler_pic='-KPIC'
++      lt_prog_compiler_static='-Bstatic'
++      ;;
++
++    sunos4*)
++      lt_prog_compiler_wl='-Qoption ld '
++      lt_prog_compiler_pic='-PIC'
++      lt_prog_compiler_static='-Bstatic'
++      ;;
++
++    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
++      lt_prog_compiler_wl='-Wl,'
++      lt_prog_compiler_pic='-KPIC'
++      lt_prog_compiler_static='-Bstatic'
++      ;;
++
++    sysv4*MP*)
++      if test -d /usr/nec ;then
++	lt_prog_compiler_pic='-Kconform_pic'
++	lt_prog_compiler_static='-Bstatic'
++      fi
++      ;;
++
++    uts4*)
++      lt_prog_compiler_pic='-pic'
++      lt_prog_compiler_static='-Bstatic'
++      ;;
++
++    *)
++      lt_prog_compiler_can_build_shared=no
++      ;;
++    esac
++  fi
++
++echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
++echo "${ECHO_T}$lt_prog_compiler_pic" >&6
++
++#
++# Check to make sure the PIC flag actually works.
++#
++if test -n "$lt_prog_compiler_pic"; then
++  
++echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
++echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
++if test "${lt_prog_compiler_pic_works+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  lt_prog_compiler_pic_works=no
++  ac_outfile=conftest.$ac_objext
++   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
++   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
++   # Insert the option either (1) after the last *FLAGS variable, or
++   # (2) before a word containing "conftest.", or (3) at the end.
++   # Note that $ac_compile itself does not contain backslashes and begins
++   # with a dollar sign (not a hyphen), so the echo should work correctly.
++   # The option is referenced via a variable to avoid confusing sed.
++   lt_compile=`echo "$ac_compile" | $SED \
++   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
++   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
++   -e 's:$: $lt_compiler_flag:'`
++   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
++   (eval "$lt_compile" 2>conftest.err)
++   ac_status=$?
++   cat conftest.err >&5
++   echo "$as_me:__oline__: \$? = $ac_status" >&5
++   if (exit $ac_status) && test -s "$ac_outfile"; then
++     # The compiler can only warn and ignore the option if not recognized
++     # So say no if there are warnings
++     if test ! -s conftest.err; then
++       lt_prog_compiler_pic_works=yes
++     fi
++   fi
++   $rm conftest*
++
++fi
++echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
++echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
++
++if test x"$lt_prog_compiler_pic_works" = xyes; then
++    case $lt_prog_compiler_pic in
++     "" | " "*) ;;
++     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
++     esac
++else
++    lt_prog_compiler_pic=
++     lt_prog_compiler_can_build_shared=no
++fi
++
++fi
++case "$host_os" in
++  # For platforms which do not support PIC, -DPIC is meaningless:
++  *djgpp*)
++    lt_prog_compiler_pic=
++    ;;
++  *)
++    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
++    ;;
++esac
++
++echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
++echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
++if test "${lt_cv_prog_compiler_c_o+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  lt_cv_prog_compiler_c_o=no
++   $rm -r conftest 2>/dev/null
++   mkdir conftest
++   cd conftest
++   mkdir out
++   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
++
++   lt_compiler_flag="-o out/conftest2.$ac_objext"
++   # Insert the option either (1) after the last *FLAGS variable, or
++   # (2) before a word containing "conftest.", or (3) at the end.
++   # Note that $ac_compile itself does not contain backslashes and begins
++   # with a dollar sign (not a hyphen), so the echo should work correctly.
++   lt_compile=`echo "$ac_compile" | $SED \
++   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
++   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
++   -e 's:$: $lt_compiler_flag:'`
++   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
++   (eval "$lt_compile" 2>out/conftest.err)
++   ac_status=$?
++   cat out/conftest.err >&5
++   echo "$as_me:__oline__: \$? = $ac_status" >&5
++   if (exit $ac_status) && test -s out/conftest2.$ac_objext
++   then
++     # The compiler can only warn and ignore the option if not recognized
++     # So say no if there are warnings
++     if test ! -s out/conftest.err; then
++       lt_cv_prog_compiler_c_o=yes
++     fi
++   fi
++   chmod u+w .
++   $rm conftest*
++   # SGI C++ compiler will create directory out/ii_files/ for
++   # template instantiation
++   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
++   $rm out/* && rmdir out
++   cd ..
++   rmdir conftest
++   $rm conftest*
++
++fi
++echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
++echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
++
++
++hard_links="nottested"
++if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
++  # do not overwrite the value of need_locks provided by the user
++  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
++echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
++  hard_links=yes
++  $rm conftest*
++  ln conftest.a conftest.b 2>/dev/null && hard_links=no
++  touch conftest.a
++  ln conftest.a conftest.b 2>&5 || hard_links=no
++  ln conftest.a conftest.b 2>/dev/null && hard_links=no
++  echo "$as_me:$LINENO: result: $hard_links" >&5
++echo "${ECHO_T}$hard_links" >&6
++  if test "$hard_links" = no; then
++    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
++echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
++    need_locks=warn
++  fi
++else
++  need_locks=no
++fi
++
++echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
++echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
++
++  runpath_var=
++  allow_undefined_flag=
++  enable_shared_with_static_runtimes=no
++  archive_cmds=
++  archive_expsym_cmds=
++  old_archive_From_new_cmds=
++  old_archive_from_expsyms_cmds=
++  export_dynamic_flag_spec=
++  whole_archive_flag_spec=
++  thread_safe_flag_spec=
++  hardcode_libdir_flag_spec=
++  hardcode_libdir_flag_spec_ld=
++  hardcode_libdir_separator=
++  hardcode_direct=no
++  hardcode_minus_L=no
++  hardcode_shlibpath_var=unsupported
++  link_all_deplibs=unknown
++  hardcode_automatic=no
++  module_cmds=
++  module_expsym_cmds=
++  always_export_symbols=no
++  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
++  # include_expsyms should be a list of space-separated symbols to be *always*
++  # included in the symbol list
++  include_expsyms=
++  # exclude_expsyms can be an extended regexp of symbols to exclude
++  # it will be wrapped by ` (' and `)$', so one must not match beginning or
++  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
++  # as well as any symbol that contains `d'.
++  exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
++  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
++  # platforms (ab)use it in PIC code, but their linkers get confused if
++  # the symbol is explicitly referenced.  Since portable code cannot
++  # rely on this symbol name, it's probably fine to never include it in
++  # preloaded symbol tables.
++  extract_expsyms_cmds=
++
++  case $host_os in
++  cygwin* | mingw* | pw32*)
++    # FIXME: the MSVC++ port hasn't been tested in a loooong time
++    # When not using gcc, we currently assume that we are using
++    # Microsoft Visual C++.
++    if test "$GCC" != yes; then
++      with_gnu_ld=no
++    fi
++    ;;
++  openbsd*)
++    with_gnu_ld=no
++    ;;
++  esac
++
++  ld_shlibs=yes
++  if test "$with_gnu_ld" = yes; then
++    # If archive_cmds runs LD, not CC, wlarc should be empty
++    wlarc='${wl}'
++
++    # See if GNU ld supports shared libraries.
++    case $host_os in
++    aix3* | aix4* | aix5*)
++      # On AIX/PPC, the GNU linker is very broken
++      if test "$host_cpu" != ia64; then
++	ld_shlibs=no
++	cat <<EOF 1>&2
++
++*** Warning: the GNU linker, at least up to release 2.9.1, is reported
++*** to be unable to reliably create shared libraries on AIX.
++*** Therefore, libtool is disabling shared libraries support.  If you
++*** really care for shared libraries, you may want to modify your PATH
++*** so that a non-GNU linker is found, and then restart.
++
++EOF
++      fi
++      ;;
++
++    amigaos*)
++      archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
++      hardcode_libdir_flag_spec='-L$libdir'
++      hardcode_minus_L=yes
++
++      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
++      # that the semantics of dynamic libraries on AmigaOS, at least up
++      # to version 4, is to share data among multiple programs linked
++      # with the same dynamic library.  Since this doesn't match the
++      # behavior of shared libraries on other platforms, we can't use
++      # them.
++      ld_shlibs=no
++      ;;
++
++    beos*)
++      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
++	allow_undefined_flag=unsupported
++	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
++	# support --undefined.  This deserves some investigation.  FIXME
++	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++      else
++	ld_shlibs=no
++      fi
++      ;;
++
++    cygwin* | mingw* | pw32*)
++      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
++      # as there is no search path for DLLs.
++      hardcode_libdir_flag_spec='-L$libdir'
++      allow_undefined_flag=unsupported
++      always_export_symbols=no
++      enable_shared_with_static_runtimes=yes
++      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
++
++      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
++        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
++	# If the export-symbols file already is a .def file (1st line
++	# is EXPORTS), use it as is; otherwise, prepend...
++	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
++	  cp $export_symbols $output_objdir/$soname.def;
++	else
++	  echo EXPORTS > $output_objdir/$soname.def;
++	  cat $export_symbols >> $output_objdir/$soname.def;
++	fi~
++	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
++      else
++	ld_shlibs=no
++      fi
++      ;;
++
++    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
++      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
++	wlarc=
++      else
++	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++      fi
++      ;;
++
++    solaris* | sysv5*)
++      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
++	ld_shlibs=no
++	cat <<EOF 1>&2
++
++*** Warning: The releases 2.8.* of the GNU linker cannot reliably
++*** create shared libraries on Solaris systems.  Therefore, libtool
++*** is disabling shared libraries support.  We urge you to upgrade GNU
++*** binutils to release 2.9.1 or newer.  Another option is to modify
++*** your PATH or compiler configuration so that the native linker is
++*** used, and then restart.
++
++EOF
++      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
++	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++      else
++	ld_shlibs=no
++      fi
++      ;;
++
++    sunos4*)
++      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++      wlarc=
++      hardcode_direct=yes
++      hardcode_shlibpath_var=no
++      ;;
++
++  linux*)
++    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
++        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++	archive_cmds="$tmp_archive_cmds"
++      supports_anon_versioning=no
++      case `$LD -v 2>/dev/null` in
++        *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
++        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
++        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
++        *\ 2.11.*) ;; # other 2.11 versions
++        *) supports_anon_versioning=yes ;;
++      esac
++      if test $supports_anon_versioning = yes; then
++        archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
++cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
++$echo "local: *; };" >> $output_objdir/$libname.ver~
++        $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
++      else
++        archive_expsym_cmds="$tmp_archive_cmds"
++      fi
++      link_all_deplibs=no
++    else
++      ld_shlibs=no
++    fi
++    ;;
++
++    *)
++      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
++	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++      else
++	ld_shlibs=no
++      fi
++      ;;
++    esac
++
++    if test "$ld_shlibs" = yes; then
++      runpath_var=LD_RUN_PATH
++      hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
++      export_dynamic_flag_spec='${wl}--export-dynamic'
++      # ancient GNU ld didn't support --whole-archive et. al.
++      if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
++ 	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
++      else
++  	whole_archive_flag_spec=
++      fi
++    fi
++  else
++    # PORTME fill in a description of your system's linker (not GNU ld)
++    case $host_os in
++    aix3*)
++      allow_undefined_flag=unsupported
++      always_export_symbols=yes
++      archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
++      # Note: this linker hardcodes the directories in LIBPATH if there
++      # are no directories specified by -L.
++      hardcode_minus_L=yes
++      if test "$GCC" = yes && test -z "$link_static_flag"; then
++	# Neither direct hardcoding nor static linking is supported with a
++	# broken collect2.
++	hardcode_direct=unsupported
++      fi
++      ;;
++
++    aix4* | aix5*)
++      if test "$host_cpu" = ia64; then
++	# On IA64, the linker does run time linking by default, so we don't
++	# have to do anything special.
++	aix_use_runtimelinking=no
++	exp_sym_flag='-Bexport'
++	no_entry_flag=""
++      else
++	# If we're using GNU nm, then we don't want the "-C" option.
++	# -C means demangle to AIX nm, but means don't demangle with GNU nm
++	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
++	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
++	else
++	  export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
++	fi
++	aix_use_runtimelinking=no
++
++	# Test if we are trying to use run time linking or normal
++	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
++	# need to do runtime linking.
++	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
++	  for ld_flag in $LDFLAGS; do
++  	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
++  	    aix_use_runtimelinking=yes
++  	    break
++  	  fi
++	  done
++	esac
++
++	exp_sym_flag='-bexport'
++	no_entry_flag='-bnoentry'
++      fi
++
++      # When large executables or shared objects are built, AIX ld can
++      # have problems creating the table of contents.  If linking a library
++      # or program results in "error TOC overflow" add -mminimal-toc to
++      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
++      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
++
++      archive_cmds=''
++      hardcode_direct=yes
++      hardcode_libdir_separator=':'
++      link_all_deplibs=yes
++
++      if test "$GCC" = yes; then
++	case $host_os in aix4.012|aix4.012.*)
++	# We only want to do this on AIX 4.2 and lower, the check
++	# below for broken collect2 doesn't work under 4.3+
++	  collect2name=`${CC} -print-prog-name=collect2`
++	  if test -f "$collect2name" && \
++  	   strings "$collect2name" | grep resolve_lib_name >/dev/null
++	  then
++  	  # We have reworked collect2
++  	  hardcode_direct=yes
++	  else
++  	  # We have old collect2
++  	  hardcode_direct=unsupported
++  	  # It fails to find uninstalled libraries when the uninstalled
++  	  # path is not listed in the libpath.  Setting hardcode_minus_L
++  	  # to unsupported forces relinking
++  	  hardcode_minus_L=yes
++  	  hardcode_libdir_flag_spec='-L$libdir'
++  	  hardcode_libdir_separator=
++	  fi
++	esac
++	shared_flag='-shared'
++      else
++	# not using gcc
++	if test "$host_cpu" = ia64; then
++  	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
++  	# chokes on -Wl,-G. The following line is correct:
++	  shared_flag='-G'
++	else
++  	if test "$aix_use_runtimelinking" = yes; then
++	    shared_flag='${wl}-G'
++	  else
++	    shared_flag='${wl}-bM:SRE'
++  	fi
++	fi
++      fi
++
++      # It seems that -bexpall does not export symbols beginning with
++      # underscore (_), so it is better to generate a list of symbols to export.
++      always_export_symbols=yes
++      if test "$aix_use_runtimelinking" = yes; then
++	# Warning - without using the other runtime loading flags (-brtl),
++	# -berok will link without error, but may produce a broken library.
++	allow_undefined_flag='-berok'
++       # Determine the default libpath from the value encoded in an empty executable.
++       cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  
++aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
++}'`
++# Check for a 64-bit object if we didn't find anything.
++if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
++}'`; fi
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
++
++       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
++	archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
++       else
++	if test "$host_cpu" = ia64; then
++	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
++	  allow_undefined_flag="-z nodefs"
++	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
++	else
++	 # Determine the default libpath from the value encoded in an empty executable.
++	 cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  
++aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
++}'`
++# Check for a 64-bit object if we didn't find anything.
++if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
++}'`; fi
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
++
++	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
++	  # Warning - without using the other run time loading flags,
++	  # -berok will link without error, but may produce a broken library.
++	  no_undefined_flag=' ${wl}-bernotok'
++	  allow_undefined_flag=' ${wl}-berok'
++	  # -bexpall does not export symbols beginning with underscore (_)
++	  always_export_symbols=yes
++	  # Exported symbols can be pulled into shared objects from archives
++	  whole_archive_flag_spec=' '
++	  archive_cmds_need_lc=yes
++	  # This is similar to how AIX traditionally builds it's shared libraries.
++	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
++	fi
++      fi
++      ;;
++
++    amigaos*)
++      archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
++      hardcode_libdir_flag_spec='-L$libdir'
++      hardcode_minus_L=yes
++      # see comment about different semantics on the GNU ld section
++      ld_shlibs=no
++      ;;
++
++    bsdi4*)
++      export_dynamic_flag_spec=-rdynamic
++      ;;
++
++    cygwin* | mingw* | pw32*)
++      # When not using gcc, we currently assume that we are using
++      # Microsoft Visual C++.
++      # hardcode_libdir_flag_spec is actually meaningless, as there is
++      # no search path for DLLs.
++      hardcode_libdir_flag_spec=' '
++      allow_undefined_flag=unsupported
++      # Tell ltmain to make .lib files, not .a files.
++      libext=lib
++      # Tell ltmain to make .dll files, not .so files.
++      shrext_cmds=".dll"
++      # FIXME: Setting linknames here is a bad hack.
++      archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
++      # The linker will automatically build a .lib file if we build a DLL.
++      old_archive_From_new_cmds='true'
++      # FIXME: Should let the user specify the lib program.
++      old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
++      fix_srcfile_path='`cygpath -w "$srcfile"`'
++      enable_shared_with_static_runtimes=yes
++      ;;
++
++    darwin* | rhapsody*)
++    if test "$GXX" = yes ; then
++      archive_cmds_need_lc=no
++      case "$host_os" in
++      rhapsody* | darwin1.[012])
++	allow_undefined_flag='-undefined suppress'
++	;;
++      *) # Darwin 1.3 on
++      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
++      	allow_undefined_flag='-flat_namespace -undefined suppress'
++      else
++        case ${MACOSX_DEPLOYMENT_TARGET} in
++          10.[012])
++            allow_undefined_flag='-flat_namespace -undefined suppress'
++            ;;
++          10.*)
++            allow_undefined_flag='-undefined dynamic_lookup'
++            ;;
++        esac
++      fi
++	;;
++      esac
++    	lt_int_apple_cc_single_mod=no
++    	output_verbose_link_cmd='echo'
++    	if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
++    	  lt_int_apple_cc_single_mod=yes
++    	fi
++    	if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
++    	  archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
++    	else
++        archive_cmds='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
++      fi
++      module_cmds='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
++      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
++        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
++          archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++        else
++          archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++        fi
++          module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++      hardcode_direct=no
++      hardcode_automatic=yes
++      hardcode_shlibpath_var=unsupported
++      whole_archive_flag_spec='-all_load $convenience'
++      link_all_deplibs=yes
++    else
++      ld_shlibs=no
++    fi
++      ;;
++
++    dgux*)
++      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_libdir_flag_spec='-L$libdir'
++      hardcode_shlibpath_var=no
++      ;;
++
++    freebsd1*)
++      ld_shlibs=no
++      ;;
++
++    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
++    # support.  Future versions do this automatically, but an explicit c++rt0.o
++    # does not break anything, and helps significantly (at the cost of a little
++    # extra space).
++    freebsd2.2*)
++      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
++      hardcode_libdir_flag_spec='-R$libdir'
++      hardcode_direct=yes
++      hardcode_shlibpath_var=no
++      ;;
++
++    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
++    freebsd2*)
++      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_direct=yes
++      hardcode_minus_L=yes
++      hardcode_shlibpath_var=no
++      ;;
++
++    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
++    freebsd* | kfreebsd*-gnu)
++      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
++      hardcode_libdir_flag_spec='-R$libdir'
++      hardcode_direct=yes
++      hardcode_shlibpath_var=no
++      ;;
++
++    hpux9*)
++      if test "$GCC" = yes; then
++	archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
++      else
++	archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
++      fi
++      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
++      hardcode_libdir_separator=:
++      hardcode_direct=yes
++
++      # hardcode_minus_L: Not really in the search PATH,
++      # but as the default location of the library.
++      hardcode_minus_L=yes
++      export_dynamic_flag_spec='${wl}-E'
++      ;;
++
++    hpux10* | hpux11*)
++      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
++	case "$host_cpu" in
++	hppa*64*|ia64*)
++	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++	  ;;
++	*)
++	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
++	  ;;
++	esac
++      else
++	case "$host_cpu" in
++	hppa*64*|ia64*)
++	  archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
++	  ;;
++	*)
++	  archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
++	  ;;
++	esac
++      fi
++      if test "$with_gnu_ld" = no; then
++	case "$host_cpu" in
++	hppa*64*)
++	  hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
++	  hardcode_libdir_flag_spec_ld='+b $libdir'
++	  hardcode_libdir_separator=:
++	  hardcode_direct=no
++	  hardcode_shlibpath_var=no
++	  ;;
++	ia64*)
++	  hardcode_libdir_flag_spec='-L$libdir'
++	  hardcode_direct=no
++	  hardcode_shlibpath_var=no
++
++	  # hardcode_minus_L: Not really in the search PATH,
++	  # but as the default location of the library.
++	  hardcode_minus_L=yes
++	  ;;
++	*)
++	  hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
++	  hardcode_libdir_separator=:
++	  hardcode_direct=yes
++	  export_dynamic_flag_spec='${wl}-E'
++
++	  # hardcode_minus_L: Not really in the search PATH,
++	  # but as the default location of the library.
++	  hardcode_minus_L=yes
++	  ;;
++	esac
++      fi
++      ;;
++
++    irix5* | irix6* | nonstopux*)
++      if test "$GCC" = yes; then
++	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++      else
++	archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
++	hardcode_libdir_flag_spec_ld='-rpath $libdir'
++      fi
++      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
++      hardcode_libdir_separator=:
++      link_all_deplibs=yes
++      ;;
++
++    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
++      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
++      else
++	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
++      fi
++      hardcode_libdir_flag_spec='-R$libdir'
++      hardcode_direct=yes
++      hardcode_shlibpath_var=no
++      ;;
++
++    newsos6)
++      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_direct=yes
++      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
++      hardcode_libdir_separator=:
++      hardcode_shlibpath_var=no
++      ;;
++
++    openbsd*)
++      hardcode_direct=yes
++      hardcode_shlibpath_var=no
++      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
++	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
++	hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
++	export_dynamic_flag_spec='${wl}-E'
++      else
++       case $host_os in
++	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
++	   archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++	   hardcode_libdir_flag_spec='-R$libdir'
++	   ;;
++	 *)
++	   archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
++	   hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
++	   ;;
++       esac
++      fi
++      ;;
++
++    os2*)
++      hardcode_libdir_flag_spec='-L$libdir'
++      hardcode_minus_L=yes
++      allow_undefined_flag=unsupported
++      archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
++      old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
++      ;;
++
++    osf3*)
++      if test "$GCC" = yes; then
++	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
++	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++      else
++	allow_undefined_flag=' -expect_unresolved \*'
++	archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
++      fi
++      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
++      hardcode_libdir_separator=:
++      ;;
++
++    osf4* | osf5*)	# as osf3* with the addition of -msym flag
++      if test "$GCC" = yes; then
++	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
++	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
++      else
++	allow_undefined_flag=' -expect_unresolved \*'
++	archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
++	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
++	$LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
++
++	# Both c and cxx compiler support -rpath directly
++	hardcode_libdir_flag_spec='-rpath $libdir'
++      fi
++      hardcode_libdir_separator=:
++      ;;
++
++    sco3.2v5*)
++      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_shlibpath_var=no
++      export_dynamic_flag_spec='${wl}-Bexport'
++      runpath_var=LD_RUN_PATH
++      hardcode_runpath_var=yes
++      ;;
++
++    solaris*)
++      no_undefined_flag=' -z text'
++      if test "$GCC" = yes; then
++	archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
++      else
++	archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
++	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++  	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
++      fi
++      hardcode_libdir_flag_spec='-R$libdir'
++      hardcode_shlibpath_var=no
++      case $host_os in
++      solaris2.[0-5] | solaris2.[0-5].*) ;;
++      *) # Supported since Solaris 2.6 (maybe 2.5.1?)
++	whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
++      esac
++      link_all_deplibs=yes
++      ;;
++
++    sunos4*)
++      if test "x$host_vendor" = xsequent; then
++	# Use $CC to link under sequent, because it throws in some extra .o
++	# files that make .init and .fini sections work.
++	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
++      else
++	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
++      fi
++      hardcode_libdir_flag_spec='-L$libdir'
++      hardcode_direct=yes
++      hardcode_minus_L=yes
++      hardcode_shlibpath_var=no
++      ;;
++
++    sysv4)
++      case $host_vendor in
++	sni)
++	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++	  hardcode_direct=yes # is this really true???
++	;;
++	siemens)
++	  ## LD is ld it makes a PLAMLIB
++	  ## CC just makes a GrossModule.
++	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
++	  reload_cmds='$CC -r -o $output$reload_objs'
++	  hardcode_direct=no
++        ;;
++	motorola)
++	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
++	;;
++      esac
++      runpath_var='LD_RUN_PATH'
++      hardcode_shlibpath_var=no
++      ;;
++
++    sysv4.3*)
++      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_shlibpath_var=no
++      export_dynamic_flag_spec='-Bexport'
++      ;;
++
++    sysv4*MP*)
++      if test -d /usr/nec; then
++	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++	hardcode_shlibpath_var=no
++	runpath_var=LD_RUN_PATH
++	hardcode_runpath_var=yes
++	ld_shlibs=yes
++      fi
++      ;;
++
++    sysv4.2uw2*)
++      archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_direct=yes
++      hardcode_minus_L=no
++      hardcode_shlibpath_var=no
++      hardcode_runpath_var=yes
++      runpath_var=LD_RUN_PATH
++      ;;
++
++   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
++      no_undefined_flag='${wl}-z ${wl}text'
++      if test "$GCC" = yes; then
++	archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++      else
++	archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++      fi
++      runpath_var='LD_RUN_PATH'
++      hardcode_shlibpath_var=no
++      ;;
++
++    sysv5*)
++      no_undefined_flag=' -z text'
++      # $CC -shared without GNU ld will not create a library from C++
++      # object files and a static libstdc++, better avoid it by now
++      archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++  		$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
++      hardcode_libdir_flag_spec=
++      hardcode_shlibpath_var=no
++      runpath_var='LD_RUN_PATH'
++      ;;
++
++    uts4*)
++      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_libdir_flag_spec='-L$libdir'
++      hardcode_shlibpath_var=no
++      ;;
++
++    *)
++      ld_shlibs=no
++      ;;
++    esac
++  fi
++
++echo "$as_me:$LINENO: result: $ld_shlibs" >&5
++echo "${ECHO_T}$ld_shlibs" >&6
++test "$ld_shlibs" = no && can_build_shared=no
++
++variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
++if test "$GCC" = yes; then
++  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
++fi
++
++#
++# Do we need to explicitly link libc?
++#
++case "x$archive_cmds_need_lc" in
++x|xyes)
++  # Assume -lc should be added
++  archive_cmds_need_lc=yes
++
++  if test "$enable_shared" = yes && test "$GCC" = yes; then
++    case $archive_cmds in
++    *'~'*)
++      # FIXME: we may have to deal with multi-command sequences.
++      ;;
++    '$CC '*)
++      # Test whether the compiler implicitly links with -lc since on some
++      # systems, -lgcc has to come before -lc. If gcc already passes -lc
++      # to ld, don't add -lc before -lgcc.
++      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
++echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
++      $rm conftest*
++      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
++
++      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } 2>conftest.err; then
++        soname=conftest
++        lib=conftest
++        libobjs=conftest.$ac_objext
++        deplibs=
++        wl=$lt_prog_compiler_wl
++        compiler_flags=-v
++        linker_flags=-v
++        verstring=
++        output_objdir=.
++        libname=conftest
++        lt_save_allow_undefined_flag=$allow_undefined_flag
++        allow_undefined_flag=
++        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
++  (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }
++        then
++	  archive_cmds_need_lc=no
++        else
++	  archive_cmds_need_lc=yes
++        fi
++        allow_undefined_flag=$lt_save_allow_undefined_flag
++      else
++        cat conftest.err 1>&5
++      fi
++      $rm conftest*
++      echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
++echo "${ECHO_T}$archive_cmds_need_lc" >&6
++      ;;
++    esac
++  fi
++  ;;
++esac
++
++echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
++echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
++library_names_spec=
++libname_spec='lib$name'
++soname_spec=
++shrext_cmds=".so"
++postinstall_cmds=
++postuninstall_cmds=
++finish_cmds=
++finish_eval=
++shlibpath_var=
++shlibpath_overrides_runpath=unknown
++version_type=none
++dynamic_linker="$host_os ld.so"
++sys_lib_dlsearch_path_spec="/lib /usr/lib"
++if test "$GCC" = yes; then
++  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
++  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
++    # if the path contains ";" then we assume it to be the separator
++    # otherwise default to the standard path separator (i.e. ":") - it is
++    # assumed that no part of a normal pathname contains ";" but that should
++    # okay in the real world where ";" in dirpaths is itself problematic.
++    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
++  else
++    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
++  fi
++else
++  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
++fi
++need_lib_prefix=unknown
++hardcode_into_libs=no
++
++# when you set need_version to no, make sure it does not cause -set_version
++# flags to be left without arguments
++need_version=unknown
++
++case $host_os in
++aix3*)
++  version_type=linux
++  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
++  shlibpath_var=LIBPATH
++
++  # AIX 3 has no versioning support, so we append a major version to the name.
++  soname_spec='${libname}${release}${shared_ext}$major'
++  ;;
++
++aix4* | aix5*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  hardcode_into_libs=yes
++  if test "$host_cpu" = ia64; then
++    # AIX 5 supports IA64
++    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
++    shlibpath_var=LD_LIBRARY_PATH
++  else
++    # With GCC up to 2.95.x, collect2 would create an import file
++    # for dependence libraries.  The import file would start with
++    # the line `#! .'.  This would cause the generated library to
++    # depend on `.', always an invalid library.  This was fixed in
++    # development snapshots of GCC prior to 3.0.
++    case $host_os in
++      aix4 | aix4.[01] | aix4.[01].*)
++      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
++	   echo ' yes '
++	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
++	:
++      else
++	can_build_shared=no
++      fi
++      ;;
++    esac
++    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
++    # soname into executable. Probably we can add versioning support to
++    # collect2, so additional links can be useful in future.
++    if test "$aix_use_runtimelinking" = yes; then
++      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
++      # instead of lib<name>.a to let people know that these are not
++      # typical AIX shared libraries.
++      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++    else
++      # We preserve .a as extension for shared libraries through AIX4.2
++      # and later when we are not doing run time linking.
++      library_names_spec='${libname}${release}.a $libname.a'
++      soname_spec='${libname}${release}${shared_ext}$major'
++    fi
++    shlibpath_var=LIBPATH
++  fi
++  ;;
++
++amigaos*)
++  library_names_spec='$libname.ixlibrary $libname.a'
++  # Create ${libname}_ixlibrary.a entries in /sys/libs.
++  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
++  ;;
++
++beos*)
++  library_names_spec='${libname}${shared_ext}'
++  dynamic_linker="$host_os ld.so"
++  shlibpath_var=LIBRARY_PATH
++  ;;
++
++bsdi4*)
++  version_type=linux
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
++  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
++  # the default ld.so.conf also contains /usr/contrib/lib and
++  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
++  # libtool to hard-code these into programs
++  ;;
++
++cygwin* | mingw* | pw32*)
++  version_type=windows
++  shrext_cmds=".dll"
++  need_version=no
++  need_lib_prefix=no
++
++  case $GCC,$host_os in
++  yes,cygwin* | yes,mingw* | yes,pw32*)
++    library_names_spec='$libname.dll.a'
++    # DLL is installed to $(libdir)/../bin by postinstall_cmds
++    postinstall_cmds='base_file=`basename \${file}`~
++      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
++      dldir=$destdir/`dirname \$dlpath`~
++      test -d \$dldir || mkdir -p \$dldir~
++      $install_prog $dir/$dlname \$dldir/$dlname'
++    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
++      dlpath=$dir/\$dldll~
++       $rm \$dlpath'
++    shlibpath_overrides_runpath=yes
++
++    case $host_os in
++    cygwin*)
++      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
++      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
++      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
++      ;;
++    mingw*)
++      # MinGW DLLs use traditional 'lib' prefix
++      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
++      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
++      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
++        # It is most probably a Windows format PATH printed by
++        # mingw gcc, but we are running on Cygwin. Gcc prints its search
++        # path with ; separators, and with drive letters. We can handle the
++        # drive letters (cygwin fileutils understands them), so leave them,
++        # especially as we might pass files found there to a mingw objdump,
++        # which wouldn't understand a cygwinified path. Ahh.
++        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
++      else
++        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
++      fi
++      ;;
++    pw32*)
++      # pw32 DLLs use 'pw' prefix rather than 'lib'
++      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
++      ;;
++    esac
++    ;;
++
++  *)
++    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
++    ;;
++  esac
++  dynamic_linker='Win32 ld.exe'
++  # FIXME: first we should search . and the directory the executable is in
++  shlibpath_var=PATH
++  ;;
++
++darwin* | rhapsody*)
++  dynamic_linker="$host_os dyld"
++  version_type=darwin
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
++  soname_spec='${libname}${release}${major}$shared_ext'
++  shlibpath_overrides_runpath=yes
++  shlibpath_var=DYLD_LIBRARY_PATH
++  shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
++  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
++  if test "$GCC" = yes; then
++    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
++  else
++    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
++  fi
++  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
++  ;;
++
++dgux*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++freebsd1*)
++  dynamic_linker=no
++  ;;
++
++kfreebsd*-gnu)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=no
++  hardcode_into_libs=yes
++  dynamic_linker='GNU ld.so'
++  ;;
++
++freebsd*)
++  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
++  version_type=freebsd-$objformat
++  case $version_type in
++    freebsd-elf*)
++      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
++      need_version=no
++      need_lib_prefix=no
++      ;;
++    freebsd-*)
++      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
++      need_version=yes
++      ;;
++  esac
++  shlibpath_var=LD_LIBRARY_PATH
++  case $host_os in
++  freebsd2*)
++    shlibpath_overrides_runpath=yes
++    ;;
++  freebsd3.01* | freebsdelf3.01*)
++    shlibpath_overrides_runpath=yes
++    hardcode_into_libs=yes
++    ;;
++  *) # from 3.2 on
++    shlibpath_overrides_runpath=no
++    hardcode_into_libs=yes
++    ;;
++  esac
++  ;;
++
++gnu*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  hardcode_into_libs=yes
++  ;;
++
++hpux9* | hpux10* | hpux11*)
++  # Give a soname corresponding to the major version so that dld.sl refuses to
++  # link against other versions.
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=no
++  case "$host_cpu" in
++  ia64*)
++    shrext_cmds='.so'
++    hardcode_into_libs=yes
++    dynamic_linker="$host_os dld.so"
++    shlibpath_var=LD_LIBRARY_PATH
++    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
++    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++    soname_spec='${libname}${release}${shared_ext}$major'
++    if test "X$HPUX_IA64_MODE" = X32; then
++      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
++    else
++      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
++    fi
++    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
++    ;;
++   hppa*64*)
++     shrext_cmds='.sl'
++     hardcode_into_libs=yes
++     dynamic_linker="$host_os dld.sl"
++     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
++     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
++     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++     soname_spec='${libname}${release}${shared_ext}$major'
++     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
++     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
++     ;;
++   *)
++    shrext_cmds='.sl'
++    dynamic_linker="$host_os dld.sl"
++    shlibpath_var=SHLIB_PATH
++    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
++    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++    soname_spec='${libname}${release}${shared_ext}$major'
++    ;;
++  esac
++  # HP-UX runs *really* slowly unless shared libraries are mode 555.
++  postinstall_cmds='chmod 555 $lib'
++  ;;
++
++irix5* | irix6* | nonstopux*)
++  case $host_os in
++    nonstopux*) version_type=nonstopux ;;
++    *)
++	if test "$lt_cv_prog_gnu_ld" = yes; then
++		version_type=linux
++	else
++		version_type=irix
++	fi ;;
++  esac
++  need_lib_prefix=no
++  need_version=no
++  soname_spec='${libname}${release}${shared_ext}$major'
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
++  case $host_os in
++  irix5* | nonstopux*)
++    libsuff= shlibsuff=
++    ;;
++  *)
++    case $LD in # libtool.m4 will add one of these switches to LD
++    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
++      libsuff= shlibsuff= libmagic=32-bit;;
++    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
++      libsuff=32 shlibsuff=N32 libmagic=N32;;
++    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
++      libsuff=64 shlibsuff=64 libmagic=64-bit;;
++    *) libsuff= shlibsuff= libmagic=never-match;;
++    esac
++    ;;
++  esac
++  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
++  shlibpath_overrides_runpath=no
++  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
++  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
++  hardcode_into_libs=yes
++  ;;
++
++# No shared lib support for Linux oldld, aout, or coff.
++linux*oldld* | linux*aout* | linux*coff*)
++  dynamic_linker=no
++  ;;
++
++# This must be Linux ELF.
++linux*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=no
++  # This implies no fast_install, which is unacceptable.
++  # Some rework will be needed to allow for fast_install
++  # before this can be enabled.
++  hardcode_into_libs=yes
++
++  # Append ld.so.conf contents to the search path
++  if test -f /etc/ld.so.conf; then
++    lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
++    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
++  fi
++
++  # We used to test for /lib/ld.so.1 and disable shared libraries on
++  # powerpc, because MkLinux only supported shared libraries with the
++  # GNU dynamic linker.  Since this was broken with cross compilers,
++  # most powerpc-linux boxes support dynamic linking these days and
++  # people can always --disable-shared, the test was removed, and we
++  # assume the GNU/Linux dynamic linker is in use.
++  dynamic_linker='GNU/Linux ld.so'
++  ;;
++
++netbsdelf*-gnu)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=no
++  hardcode_into_libs=yes
++  dynamic_linker='NetBSD ld.elf_so'
++  ;;
++
++knetbsd*-gnu)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=no
++  hardcode_into_libs=yes
++  dynamic_linker='GNU ld.so'
++  ;;
++
++netbsd*)
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=no
++  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
++    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
++    dynamic_linker='NetBSD (a.out) ld.so'
++  else
++    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
++    soname_spec='${libname}${release}${shared_ext}$major'
++    dynamic_linker='NetBSD ld.elf_so'
++  fi
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  hardcode_into_libs=yes
++  ;;
++
++newsos6)
++  version_type=linux
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  ;;
++
++nto-qnx*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  ;;
++
++openbsd*)
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=yes
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
++    case $host_os in
++      openbsd2.[89] | openbsd2.[89].*)
++	shlibpath_overrides_runpath=no
++	;;
++      *)
++	shlibpath_overrides_runpath=yes
++	;;
++      esac
++  else
++    shlibpath_overrides_runpath=yes
++  fi
++  ;;
++
++os2*)
++  libname_spec='$name'
++  shrext_cmds=".dll"
++  need_lib_prefix=no
++  library_names_spec='$libname${shared_ext} $libname.a'
++  dynamic_linker='OS/2 ld.exe'
++  shlibpath_var=LIBPATH
++  ;;
++
++osf3* | osf4* | osf5*)
++  version_type=osf
++  need_lib_prefix=no
++  need_version=no
++  soname_spec='${libname}${release}${shared_ext}$major'
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  shlibpath_var=LD_LIBRARY_PATH
++  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
++  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
++  ;;
++
++sco3.2v5*)
++  version_type=osf
++  soname_spec='${libname}${release}${shared_ext}$major'
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++solaris*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  hardcode_into_libs=yes
++  # ldd complains unless libraries are executable
++  postinstall_cmds='chmod +x $lib'
++  ;;
++
++sunos4*)
++  version_type=sunos
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
++  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  if test "$with_gnu_ld" = yes; then
++    need_lib_prefix=no
++  fi
++  need_version=yes
++  ;;
++
++sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
++  version_type=linux
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  case $host_vendor in
++    sni)
++      shlibpath_overrides_runpath=no
++      need_lib_prefix=no
++      export_dynamic_flag_spec='${wl}-Blargedynsym'
++      runpath_var=LD_RUN_PATH
++      ;;
++    siemens)
++      need_lib_prefix=no
++      ;;
++    motorola)
++      need_lib_prefix=no
++      need_version=no
++      shlibpath_overrides_runpath=no
++      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
++      ;;
++  esac
++  ;;
++
++sysv4*MP*)
++  if test -d /usr/nec ;then
++    version_type=linux
++    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
++    soname_spec='$libname${shared_ext}.$major'
++    shlibpath_var=LD_LIBRARY_PATH
++  fi
++  ;;
++
++uts4*)
++  version_type=linux
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++*)
++  dynamic_linker=no
++  ;;
++esac
++echo "$as_me:$LINENO: result: $dynamic_linker" >&5
++echo "${ECHO_T}$dynamic_linker" >&6
++test "$dynamic_linker" = no && can_build_shared=no
++
++echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
++echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
++hardcode_action=
++if test -n "$hardcode_libdir_flag_spec" || \
++   test -n "$runpath_var " || \
++   test "X$hardcode_automatic"="Xyes" ; then
++
++  # We can hardcode non-existant directories.
++  if test "$hardcode_direct" != no &&
++     # If the only mechanism to avoid hardcoding is shlibpath_var, we
++     # have to relink, otherwise we might link with an installed library
++     # when we should be linking with a yet-to-be-installed one
++     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
++     test "$hardcode_minus_L" != no; then
++    # Linking always hardcodes the temporary library directory.
++    hardcode_action=relink
++  else
++    # We can link without hardcoding, and we can hardcode nonexisting dirs.
++    hardcode_action=immediate
++  fi
++else
++  # We cannot hardcode anything, or else we can only hardcode existing
++  # directories.
++  hardcode_action=unsupported
++fi
++echo "$as_me:$LINENO: result: $hardcode_action" >&5
++echo "${ECHO_T}$hardcode_action" >&6
++
++if test "$hardcode_action" = relink; then
++  # Fast installation is not supported
++  enable_fast_install=no
++elif test "$shlibpath_overrides_runpath" = yes ||
++     test "$enable_shared" = no; then
++  # Fast installation is not necessary
++  enable_fast_install=needless
++fi
++
++striplib=
++old_striplib=
++echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
++echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
++if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
++  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
++  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
++  echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++else
++# FIXME - insert some real tests, host_os isn't really good enough
++  case $host_os in
++   darwin*)
++       if test -n "$STRIP" ; then
++         striplib="$STRIP -x"
++         echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++       else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++       ;;
++   *)
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++    ;;
++  esac
++fi
++
++if test "x$enable_dlopen" != xyes; then
++  enable_dlopen=unknown
++  enable_dlopen_self=unknown
++  enable_dlopen_self_static=unknown
++else
++  lt_cv_dlopen=no
++  lt_cv_dlopen_libs=
++
++  case $host_os in
++  beos*)
++    lt_cv_dlopen="load_add_on"
++    lt_cv_dlopen_libs=
++    lt_cv_dlopen_self=yes
++    ;;
++
++  mingw* | pw32*)
++    lt_cv_dlopen="LoadLibrary"
++    lt_cv_dlopen_libs=
++   ;;
++
++  cygwin*)
++    lt_cv_dlopen="dlopen"
++    lt_cv_dlopen_libs=
++   ;;
++
++  darwin*)
++  # if libdl is installed we need to link against it
++    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
++echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
++if test "${ac_cv_lib_dl_dlopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ldl  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dlopen ();
++int
++main ()
++{
++dlopen ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_dl_dlopen=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_dl_dlopen=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
++echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
++if test $ac_cv_lib_dl_dlopen = yes; then
++  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
++else
++  
++    lt_cv_dlopen="dyld"
++    lt_cv_dlopen_libs=
++    lt_cv_dlopen_self=yes
++    
++fi
++
++   ;;
++
++  *)
++    echo "$as_me:$LINENO: checking for shl_load" >&5
++echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
++if test "${ac_cv_func_shl_load+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define shl_load innocuous_shl_load
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char shl_load (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef shl_load
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char shl_load ();
++/* 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_shl_load) || defined (__stub___shl_load)
++choke me
++#else
++char (*f) () = shl_load;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != shl_load;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_shl_load=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_shl_load=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
++echo "${ECHO_T}$ac_cv_func_shl_load" >&6
++if test $ac_cv_func_shl_load = yes; then
++  lt_cv_dlopen="shl_load"
++else
++  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
++echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
++if test "${ac_cv_lib_dld_shl_load+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ldld  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char shl_load ();
++int
++main ()
++{
++shl_load ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_dld_shl_load=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_dld_shl_load=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
++echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
++if test $ac_cv_lib_dld_shl_load = yes; then
++  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
++else
++  echo "$as_me:$LINENO: checking for dlopen" >&5
++echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
++if test "${ac_cv_func_dlopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define dlopen innocuous_dlopen
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char dlopen (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef dlopen
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dlopen ();
++/* 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_dlopen) || defined (__stub___dlopen)
++choke me
++#else
++char (*f) () = dlopen;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != dlopen;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_dlopen=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_dlopen=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
++echo "${ECHO_T}$ac_cv_func_dlopen" >&6
++if test $ac_cv_func_dlopen = yes; then
++  lt_cv_dlopen="dlopen"
++else
++  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
++echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
++if test "${ac_cv_lib_dl_dlopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ldl  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dlopen ();
++int
++main ()
++{
++dlopen ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_dl_dlopen=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_dl_dlopen=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
++echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
++if test $ac_cv_lib_dl_dlopen = yes; then
++  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
++else
++  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
++echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
++if test "${ac_cv_lib_svld_dlopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-lsvld  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dlopen ();
++int
++main ()
++{
++dlopen ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_svld_dlopen=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_svld_dlopen=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
++echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
++if test $ac_cv_lib_svld_dlopen = yes; then
++  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
++else
++  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
++echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
++if test "${ac_cv_lib_dld_dld_link+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ldld  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dld_link ();
++int
++main ()
++{
++dld_link ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_dld_dld_link=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_dld_dld_link=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
++echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
++if test $ac_cv_lib_dld_dld_link = yes; then
++  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
++fi
++
++	      
++fi
++
++	    
++fi
++
++	  
++fi
++
++	
++fi
++
++      
++fi
++
++    ;;
++  esac
++
++  if test "x$lt_cv_dlopen" != xno; then
++    enable_dlopen=yes
++  else
++    enable_dlopen=no
++  fi
++
++  case $lt_cv_dlopen in
++  dlopen)
++    save_CPPFLAGS="$CPPFLAGS"
++    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
++
++    save_LDFLAGS="$LDFLAGS"
++    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
++
++    save_LIBS="$LIBS"
++    LIBS="$lt_cv_dlopen_libs $LIBS"
++
++    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
++echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
++if test "${lt_cv_dlopen_self+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  	  if test "$cross_compiling" = yes; then :
++  lt_cv_dlopen_self=cross
++else
++  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
++  lt_status=$lt_dlunknown
++  cat > conftest.$ac_ext <<EOF
++#line __oline__ "configure"
++#include "confdefs.h"
++
++#if HAVE_DLFCN_H
++#include <dlfcn.h>
++#endif
++
++#include <stdio.h>
++
++#ifdef RTLD_GLOBAL
++#  define LT_DLGLOBAL		RTLD_GLOBAL
++#else
++#  ifdef DL_GLOBAL
++#    define LT_DLGLOBAL		DL_GLOBAL
++#  else
++#    define LT_DLGLOBAL		0
++#  endif
++#endif
++
++/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
++   find out it does not work in some platform. */
++#ifndef LT_DLLAZY_OR_NOW
++#  ifdef RTLD_LAZY
++#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
++#  else
++#    ifdef DL_LAZY
++#      define LT_DLLAZY_OR_NOW		DL_LAZY
++#    else
++#      ifdef RTLD_NOW
++#        define LT_DLLAZY_OR_NOW	RTLD_NOW
++#      else
++#        ifdef DL_NOW
++#          define LT_DLLAZY_OR_NOW	DL_NOW
++#        else
++#          define LT_DLLAZY_OR_NOW	0
++#        endif
++#      endif
++#    endif
++#  endif
++#endif
++
++#ifdef __cplusplus
++extern "C" void exit (int);
++#endif
++
++void fnord() { int i=42;}
++int main ()
++{
++  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
++  int status = $lt_dlunknown;
++
++  if (self)
++    {
++      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
++      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
++      /* dlclose (self); */
++    }
++
++    exit (status);
++}
++EOF
++  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
++    (./conftest; exit; ) 2>/dev/null
++    lt_status=$?
++    case x$lt_status in
++      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
++      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
++      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
++    esac
++  else :
++    # compilation failed
++    lt_cv_dlopen_self=no
++  fi
++fi
++rm -fr conftest*
++
++    
++fi
++echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
++echo "${ECHO_T}$lt_cv_dlopen_self" >&6
++
++    if test "x$lt_cv_dlopen_self" = xyes; then
++      LDFLAGS="$LDFLAGS $link_static_flag"
++      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
++echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
++if test "${lt_cv_dlopen_self_static+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  	  if test "$cross_compiling" = yes; then :
++  lt_cv_dlopen_self_static=cross
++else
++  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
++  lt_status=$lt_dlunknown
++  cat > conftest.$ac_ext <<EOF
++#line __oline__ "configure"
++#include "confdefs.h"
++
++#if HAVE_DLFCN_H
++#include <dlfcn.h>
++#endif
++
++#include <stdio.h>
++
++#ifdef RTLD_GLOBAL
++#  define LT_DLGLOBAL		RTLD_GLOBAL
++#else
++#  ifdef DL_GLOBAL
++#    define LT_DLGLOBAL		DL_GLOBAL
++#  else
++#    define LT_DLGLOBAL		0
++#  endif
++#endif
++
++/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
++   find out it does not work in some platform. */
++#ifndef LT_DLLAZY_OR_NOW
++#  ifdef RTLD_LAZY
++#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
++#  else
++#    ifdef DL_LAZY
++#      define LT_DLLAZY_OR_NOW		DL_LAZY
++#    else
++#      ifdef RTLD_NOW
++#        define LT_DLLAZY_OR_NOW	RTLD_NOW
++#      else
++#        ifdef DL_NOW
++#          define LT_DLLAZY_OR_NOW	DL_NOW
++#        else
++#          define LT_DLLAZY_OR_NOW	0
++#        endif
++#      endif
++#    endif
++#  endif
++#endif
++
++#ifdef __cplusplus
++extern "C" void exit (int);
++#endif
++
++void fnord() { int i=42;}
++int main ()
++{
++  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
++  int status = $lt_dlunknown;
++
++  if (self)
++    {
++      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
++      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
++      /* dlclose (self); */
++    }
++
++    exit (status);
++}
++EOF
++  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
++    (./conftest; exit; ) 2>/dev/null
++    lt_status=$?
++    case x$lt_status in
++      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
++      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
++      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
++    esac
++  else :
++    # compilation failed
++    lt_cv_dlopen_self_static=no
++  fi
++fi
++rm -fr conftest*
++
++      
++fi
++echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
++echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
++    fi
++
++    CPPFLAGS="$save_CPPFLAGS"
++    LDFLAGS="$save_LDFLAGS"
++    LIBS="$save_LIBS"
++    ;;
++  esac
++
++  case $lt_cv_dlopen_self in
++  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
++  *) enable_dlopen_self=unknown ;;
++  esac
++
++  case $lt_cv_dlopen_self_static in
++  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
++  *) enable_dlopen_self_static=unknown ;;
++  esac
++fi
++
++
++# Report which librarie types wil actually be built
++echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
++echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
++echo "$as_me:$LINENO: result: $can_build_shared" >&5
++echo "${ECHO_T}$can_build_shared" >&6
++
++echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
++echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
++test "$can_build_shared" = "no" && enable_shared=no
++
++# On AIX, shared libraries and static libraries use the same namespace, and
++# are all built from PIC.
++case "$host_os" in
++aix3*)
++  test "$enable_shared" = yes && enable_static=no
++  if test -n "$RANLIB"; then
++    archive_cmds="$archive_cmds~\$RANLIB \$lib"
++    postinstall_cmds='$RANLIB $lib'
++  fi
++  ;;
++
++aix4* | aix5*)
++  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
++    test "$enable_shared" = yes && enable_static=no
++  fi
++  ;;
++  darwin* | rhapsody*)
++  if test "$GCC" = yes; then
++    archive_cmds_need_lc=no
++    case "$host_os" in
++    rhapsody* | darwin1.[012])
++      allow_undefined_flag='-undefined suppress'
++      ;;
++    *) # Darwin 1.3 on
++      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
++      	allow_undefined_flag='-flat_namespace -undefined suppress'
++      else
++        case ${MACOSX_DEPLOYMENT_TARGET} in
++          10.[012])
++            allow_undefined_flag='-flat_namespace -undefined suppress'
++            ;;
++          10.*)
++            allow_undefined_flag='-undefined dynamic_lookup'
++            ;;
++        esac
++      fi
++      ;;
++    esac
++    output_verbose_link_cmd='echo'
++    archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
++    module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
++    # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
++    archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag  -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++    module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++    hardcode_direct=no
++    hardcode_automatic=yes
++    hardcode_shlibpath_var=unsupported
++    whole_archive_flag_spec='-all_load $convenience'
++    link_all_deplibs=yes
++  else
++    ld_shlibs=no
++  fi
++    ;;
++esac
++echo "$as_me:$LINENO: result: $enable_shared" >&5
++echo "${ECHO_T}$enable_shared" >&6
++
++echo "$as_me:$LINENO: checking whether to build static libraries" >&5
++echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
++# Make sure either enable_shared or enable_static is yes.
++test "$enable_shared" = yes || enable_static=yes
++echo "$as_me:$LINENO: result: $enable_static" >&5
++echo "${ECHO_T}$enable_static" >&6
++
++# The else clause should only fire when bootstrapping the
++# libtool distribution, otherwise you forgot to ship ltmain.sh
++# with your package, and you will get complaints that there are
++# no rules to generate ltmain.sh.
++if test -f "$ltmain"; then
++  # See if we are running on zsh, and set the options which allow our commands through
++  # without removal of \ escapes.
++  if test -n "${ZSH_VERSION+set}" ; then
++    setopt NO_GLOB_SUBST
++  fi
++  # Now quote all the things that may contain metacharacters while being
++  # careful not to overquote the AC_SUBSTed values.  We take copies of the
++  # variables and quote the copies for generation of the libtool script.
++  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
++    SED SHELL STRIP \
++    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
++    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
++    deplibs_check_method reload_flag reload_cmds need_locks \
++    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
++    lt_cv_sys_global_symbol_to_c_name_address \
++    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
++    old_postinstall_cmds old_postuninstall_cmds \
++    compiler \
++    CC \
++    LD \
++    lt_prog_compiler_wl \
++    lt_prog_compiler_pic \
++    lt_prog_compiler_static \
++    lt_prog_compiler_no_builtin_flag \
++    export_dynamic_flag_spec \
++    thread_safe_flag_spec \
++    whole_archive_flag_spec \
++    enable_shared_with_static_runtimes \
++    old_archive_cmds \
++    old_archive_from_new_cmds \
++    predep_objects \
++    postdep_objects \
++    predeps \
++    postdeps \
++    compiler_lib_search_path \
++    archive_cmds \
++    archive_expsym_cmds \
++    postinstall_cmds \
++    postuninstall_cmds \
++    old_archive_from_expsyms_cmds \
++    allow_undefined_flag \
++    no_undefined_flag \
++    export_symbols_cmds \
++    hardcode_libdir_flag_spec \
++    hardcode_libdir_flag_spec_ld \
++    hardcode_libdir_separator \
++    hardcode_automatic \
++    module_cmds \
++    module_expsym_cmds \
++    lt_cv_prog_compiler_c_o \
++    exclude_expsyms \
++    include_expsyms; do
++
++    case $var in
++    old_archive_cmds | \
++    old_archive_from_new_cmds | \
++    archive_cmds | \
++    archive_expsym_cmds | \
++    module_cmds | \
++    module_expsym_cmds | \
++    old_archive_from_expsyms_cmds | \
++    export_symbols_cmds | \
++    extract_expsyms_cmds | reload_cmds | finish_cmds | \
++    postinstall_cmds | postuninstall_cmds | \
++    old_postinstall_cmds | old_postuninstall_cmds | \
++    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
++      # Double-quote double-evaled strings.
++      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
++      ;;
++    *)
++      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
++      ;;
++    esac
++  done
++
++  case $lt_echo in
++  *'\$0 --fallback-echo"')
++    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
++    ;;
++  esac
++
++cfgfile="${ofile}T"
++  trap "$rm \"$cfgfile\"; exit 1" 1 2 15
++  $rm -f "$cfgfile"
++  { echo "$as_me:$LINENO: creating $ofile" >&5
++echo "$as_me: creating $ofile" >&6;}
++
++  cat <<__EOF__ >> "$cfgfile"
++#! $SHELL
++
++# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
++# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
++# NOTE: Changes made to this file will be lost: look at ltmain.sh.
++#
++# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
++# Free Software Foundation, Inc.
++#
++# This file is part of GNU Libtool:
++# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
++#
++# 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
++#
++# As a special exception to the GNU General Public License, if you
++# distribute this file as part of a program that contains a
++# configuration script generated by Autoconf, you may include it under
++# the same distribution terms that you use for the rest of that program.
++
++# A sed program that does not truncate output.
++SED=$lt_SED
++
++# Sed that helps us avoid accidentally triggering echo(1) options like -n.
++Xsed="$SED -e s/^X//"
++
++# The HP-UX ksh and POSIX shell print the target directory to stdout
++# if CDPATH is set.
++if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
++
++# The names of the tagged configurations supported by this script.
++available_tags=
++
++# ### BEGIN LIBTOOL CONFIG
++
++# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
++
++# Shell to use when invoking shell scripts.
++SHELL=$lt_SHELL
++
++# Whether or not to build shared libraries.
++build_libtool_libs=$enable_shared
++
++# Whether or not to build static libraries.
++build_old_libs=$enable_static
++
++# Whether or not to add -lc for building shared libraries.
++build_libtool_need_lc=$archive_cmds_need_lc
++
++# Whether or not to disallow shared libs when runtime libs are static
++allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
++
++# Whether or not to optimize for fast installation.
++fast_install=$enable_fast_install
++
++# The host system.
++host_alias=$host_alias
++host=$host
++
++# An echo program that does not interpret backslashes.
++echo=$lt_echo
++
++# The archiver.
++AR=$lt_AR
++AR_FLAGS=$lt_AR_FLAGS
++
++# A C compiler.
++LTCC=$lt_LTCC
++
++# A language-specific compiler.
++CC=$lt_compiler
++
++# Is the compiler the GNU C compiler?
++with_gcc=$GCC
++
++# An ERE matcher.
++EGREP=$lt_EGREP
++
++# The linker used to build libraries.
++LD=$lt_LD
++
++# Whether we need hard or soft links.
++LN_S=$lt_LN_S
++
++# A BSD-compatible nm program.
++NM=$lt_NM
++
++# A symbol stripping program
++STRIP=$lt_STRIP
++
++# Used to examine libraries when file_magic_cmd begins "file"
++MAGIC_CMD=$MAGIC_CMD
++
++# Used on cygwin: DLL creation program.
++DLLTOOL="$DLLTOOL"
++
++# Used on cygwin: object dumper.
++OBJDUMP="$OBJDUMP"
++
++# Used on cygwin: assembler.
++AS="$AS"
++
++# The name of the directory that contains temporary libtool files.
++objdir=$objdir
++
++# How to create reloadable object files.
++reload_flag=$lt_reload_flag
++reload_cmds=$lt_reload_cmds
++
++# How to pass a linker flag through the compiler.
++wl=$lt_lt_prog_compiler_wl
++
++# Object file suffix (normally "o").
++objext="$ac_objext"
++
++# Old archive suffix (normally "a").
++libext="$libext"
++
++# Shared library suffix (normally ".so").
++shrext_cmds='$shrext_cmds'
++
++# Executable file suffix (normally "").
++exeext="$exeext"
++
++# Additional compiler flags for building library objects.
++pic_flag=$lt_lt_prog_compiler_pic
++pic_mode=$pic_mode
++
++# What is the maximum length of a command?
++max_cmd_len=$lt_cv_sys_max_cmd_len
++
++# Does compiler simultaneously support -c and -o options?
++compiler_c_o=$lt_lt_cv_prog_compiler_c_o
++
++# Must we lock files when doing compilation ?
++need_locks=$lt_need_locks
++
++# Do we need the lib prefix for modules?
++need_lib_prefix=$need_lib_prefix
++
++# Do we need a version for libraries?
++need_version=$need_version
++
++# Whether dlopen is supported.
++dlopen_support=$enable_dlopen
++
++# Whether dlopen of programs is supported.
++dlopen_self=$enable_dlopen_self
++
++# Whether dlopen of statically linked programs is supported.
++dlopen_self_static=$enable_dlopen_self_static
++
++# Compiler flag to prevent dynamic linking.
++link_static_flag=$lt_lt_prog_compiler_static
++
++# Compiler flag to turn off builtin functions.
++no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
++
++# Compiler flag to allow reflexive dlopens.
++export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
++
++# Compiler flag to generate shared objects directly from archives.
++whole_archive_flag_spec=$lt_whole_archive_flag_spec
++
++# Compiler flag to generate thread-safe objects.
++thread_safe_flag_spec=$lt_thread_safe_flag_spec
++
++# Library versioning type.
++version_type=$version_type
++
++# Format of library name prefix.
++libname_spec=$lt_libname_spec
++
++# List of archive names.  First name is the real one, the rest are links.
++# The last name is the one that the linker finds with -lNAME.
++library_names_spec=$lt_library_names_spec
++
++# The coded name of the library, if different from the real name.
++soname_spec=$lt_soname_spec
++
++# Commands used to build and install an old-style archive.
++RANLIB=$lt_RANLIB
++old_archive_cmds=$lt_old_archive_cmds
++old_postinstall_cmds=$lt_old_postinstall_cmds
++old_postuninstall_cmds=$lt_old_postuninstall_cmds
++
++# Create an old-style archive from a shared archive.
++old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
++
++# Create a temporary old-style archive to link instead of a shared archive.
++old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
++
++# Commands used to build and install a shared archive.
++archive_cmds=$lt_archive_cmds
++archive_expsym_cmds=$lt_archive_expsym_cmds
++postinstall_cmds=$lt_postinstall_cmds
++postuninstall_cmds=$lt_postuninstall_cmds
++
++# Commands used to build a loadable module (assumed same as above if empty)
++module_cmds=$lt_module_cmds
++module_expsym_cmds=$lt_module_expsym_cmds
++
++# Commands to strip libraries.
++old_striplib=$lt_old_striplib
++striplib=$lt_striplib
++
++# Dependencies to place before the objects being linked to create a
++# shared library.
++predep_objects=$lt_predep_objects
++
++# Dependencies to place after the objects being linked to create a
++# shared library.
++postdep_objects=$lt_postdep_objects
++
++# Dependencies to place before the objects being linked to create a
++# shared library.
++predeps=$lt_predeps
++
++# Dependencies to place after the objects being linked to create a
++# shared library.
++postdeps=$lt_postdeps
++
++# The library search path used internally by the compiler when linking
++# a shared library.
++compiler_lib_search_path=$lt_compiler_lib_search_path
++
++# Method to check whether dependent libraries are shared objects.
++deplibs_check_method=$lt_deplibs_check_method
++
++# Command to use when deplibs_check_method == file_magic.
++file_magic_cmd=$lt_file_magic_cmd
++
++# Flag that allows shared libraries with undefined symbols to be built.
++allow_undefined_flag=$lt_allow_undefined_flag
++
++# Flag that forces no undefined symbols.
++no_undefined_flag=$lt_no_undefined_flag
++
++# Commands used to finish a libtool library installation in a directory.
++finish_cmds=$lt_finish_cmds
++
++# Same as above, but a single script fragment to be evaled but not shown.
++finish_eval=$lt_finish_eval
++
++# Take the output of nm and produce a listing of raw symbols and C names.
++global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
++
++# Transform the output of nm in a proper C declaration
++global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
++
++# Transform the output of nm in a C name address pair
++global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
++
++# This is the shared library runtime path variable.
++runpath_var=$runpath_var
++
++# This is the shared library path variable.
++shlibpath_var=$shlibpath_var
++
++# Is shlibpath searched before the hard-coded library search path?
++shlibpath_overrides_runpath=$shlibpath_overrides_runpath
++
++# How to hardcode a shared library path into an executable.
++hardcode_action=$hardcode_action
++
++# Whether we should hardcode library paths into libraries.
++hardcode_into_libs=$hardcode_into_libs
++
++# Flag to hardcode \$libdir into a binary during linking.
++# This must work even if \$libdir does not exist.
++hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
++
++# If ld is used when linking, flag to hardcode \$libdir into
++# a binary during linking. This must work even if \$libdir does
++# not exist.
++hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
++
++# Whether we need a single -rpath flag with a separated argument.
++hardcode_libdir_separator=$lt_hardcode_libdir_separator
++
++# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
++# resulting binary.
++hardcode_direct=$hardcode_direct
++
++# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
++# resulting binary.
++hardcode_minus_L=$hardcode_minus_L
++
++# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
++# the resulting binary.
++hardcode_shlibpath_var=$hardcode_shlibpath_var
++
++# Set to yes if building a shared library automatically hardcodes DIR into the library
++# and all subsequent libraries and executables linked against it.
++hardcode_automatic=$hardcode_automatic
++
++# Variables whose values should be saved in libtool wrapper scripts and
++# restored at relink time.
++variables_saved_for_relink="$variables_saved_for_relink"
++
++# Whether libtool must link a program against all its dependency libraries.
++link_all_deplibs=$link_all_deplibs
++
++# Compile-time system search path for libraries
++sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
++
++# Run-time system search path for libraries
++sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
++
++# Fix the shell variable \$srcfile for the compiler.
++fix_srcfile_path="$fix_srcfile_path"
++
++# Set to yes if exported symbols are required.
++always_export_symbols=$always_export_symbols
++
++# The commands to list exported symbols.
++export_symbols_cmds=$lt_export_symbols_cmds
++
++# The commands to extract the exported symbol list from a shared archive.
++extract_expsyms_cmds=$lt_extract_expsyms_cmds
++
++# Symbols that should not be listed in the preloaded symbols.
++exclude_expsyms=$lt_exclude_expsyms
++
++# Symbols that must always be exported.
++include_expsyms=$lt_include_expsyms
++
++# ### END LIBTOOL CONFIG
++
++__EOF__
++
++
++  case $host_os in
++  aix3*)
++    cat <<\EOF >> "$cfgfile"
++
++# AIX sometimes has problems with the GCC collect2 program.  For some
++# reason, if we set the COLLECT_NAMES environment variable, the problems
++# vanish in a puff of smoke.
++if test "X${COLLECT_NAMES+set}" != Xset; then
++  COLLECT_NAMES=
++  export COLLECT_NAMES
++fi
++EOF
++    ;;
++  esac
++
++  # We use sed instead of cat because bash on DJGPP gets confused if
++  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
++  # text mode, it properly converts lines to CR/LF.  This bash problem
++  # is reportedly fixed, but why not run on old versions too?
++  sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
++
++  mv -f "$cfgfile" "$ofile" || \
++    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
++  chmod +x "$ofile"
++
++else
++  # If there is no Makefile yet, we rely on a make rule to execute
++  # `config.status --recheck' to rerun these tests and create the
++  # libtool script then.
++  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
++  if test -f "$ltmain_in"; then
++    test -f Makefile && make "$ltmain"
++  fi
++fi
++
++
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++CC="$lt_save_CC"
++
++
++# Check whether --with-tags or --without-tags was given.
++if test "${with_tags+set}" = set; then
++  withval="$with_tags"
++  tagnames="$withval"
++fi; 
++
++if test -f "$ltmain" && test -n "$tagnames"; then
++  if test ! -f "${ofile}"; then
++    { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
++echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
++  fi
++
++  if test -z "$LTCC"; then
++    eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
++    if test -z "$LTCC"; then
++      { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
++echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
++    else
++      { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
++echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
++    fi
++  fi
++
++  # Extract list of available tagged configurations in $ofile.
++  # Note that this assumes the entire list is on one line.
++  available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
++
++  lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
++  for tagname in $tagnames; do
++    IFS="$lt_save_ifs"
++    # Check whether tagname contains only valid characters
++    case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
++    "") ;;
++    *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
++echo "$as_me: error: invalid tag name: $tagname" >&2;}
++   { (exit 1); exit 1; }; }
++	;;
++    esac
++
++    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
++    then
++      { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
++echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
++   { (exit 1); exit 1; }; }
++    fi
++
++    # Update the list of available tags.
++    if test -n "$tagname"; then
++      echo appending configuration tag \"$tagname\" to $ofile
++
++      case $tagname in
++      CXX)
++	if test -n "$CXX" && test "X$CXX" != "Xno"; then
++	  ac_ext=cc
++ac_cpp='$CXXCPP $CPPFLAGS'
++ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
++
++
++
++
++archive_cmds_need_lc_CXX=no
++allow_undefined_flag_CXX=
++always_export_symbols_CXX=no
++archive_expsym_cmds_CXX=
++export_dynamic_flag_spec_CXX=
++hardcode_direct_CXX=no
++hardcode_libdir_flag_spec_CXX=
++hardcode_libdir_flag_spec_ld_CXX=
++hardcode_libdir_separator_CXX=
++hardcode_minus_L_CXX=no
++hardcode_automatic_CXX=no
++module_cmds_CXX=
++module_expsym_cmds_CXX=
++link_all_deplibs_CXX=unknown
++old_archive_cmds_CXX=$old_archive_cmds
++no_undefined_flag_CXX=
++whole_archive_flag_spec_CXX=
++enable_shared_with_static_runtimes_CXX=no
++
++# Dependencies to place before and after the object being linked:
++predep_objects_CXX=
++postdep_objects_CXX=
++predeps_CXX=
++postdeps_CXX=
++compiler_lib_search_path_CXX=
++
++# Source file extension for C++ test sources.
++ac_ext=cc
++
++# Object file extension for compiled C++ test sources.
++objext=o
++objext_CXX=$objext
++
++# Code to be used in simple compile tests
++lt_simple_compile_test_code="int some_variable = 0;\n"
++
++# Code to be used in simple link tests
++lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
++
++# ltmain only uses $CC for tagged configurations so make sure $CC is set.
++
++# If no C compiler was specified, use CC.
++LTCC=${LTCC-"$CC"}
++
++# Allow CC to be a program name with arguments.
++compiler=$CC
++
++
++# Allow CC to be a program name with arguments.
++lt_save_CC=$CC
++lt_save_LD=$LD
++lt_save_GCC=$GCC
++GCC=$GXX
++lt_save_with_gnu_ld=$with_gnu_ld
++lt_save_path_LD=$lt_cv_path_LD
++if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
++  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
++else
++  unset lt_cv_prog_gnu_ld
++fi
++if test -n "${lt_cv_path_LDCXX+set}"; then
++  lt_cv_path_LD=$lt_cv_path_LDCXX
++else
++  unset lt_cv_path_LD
++fi
++test -z "${LDCXX+set}" || LD=$LDCXX
++CC=${CXX-"c++"}
++compiler=$CC
++compiler_CXX=$CC
++cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
++
++# We don't want -fno-exception wen compiling C++ code, so set the
++# no_builtin_flag separately
++if test "$GXX" = yes; then
++  lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
++else
++  lt_prog_compiler_no_builtin_flag_CXX=
++fi
++
++if test "$GXX" = yes; then
++  # Set up default GNU C++ configuration
++
++  
++# Check whether --with-gnu-ld or --without-gnu-ld was given.
++if test "${with_gnu_ld+set}" = set; then
++  withval="$with_gnu_ld"
++  test "$withval" = no || with_gnu_ld=yes
++else
++  with_gnu_ld=no
++fi; 
++ac_prog=ld
++if test "$GCC" = yes; then
++  # Check if gcc -print-prog-name=ld gives a path.
++  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
++echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
++  case $host in
++  *-*-mingw*)
++    # gcc leaves a trailing carriage return which upsets mingw
++    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
++  *)
++    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
++  esac
++  case $ac_prog in
++    # Accept absolute paths.
++    [\\/]* | ?:[\\/]*)
++      re_direlt='/[^/][^/]*/\.\./'
++      # Canonicalize the pathname of ld
++      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
++      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
++	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
++      done
++      test -z "$LD" && LD="$ac_prog"
++      ;;
++  "")
++    # If it fails, then pretend we aren't using GCC.
++    ac_prog=ld
++    ;;
++  *)
++    # If it is relative, then search for the first ld in PATH.
++    with_gnu_ld=unknown
++    ;;
++  esac
++elif test "$with_gnu_ld" = yes; then
++  echo "$as_me:$LINENO: checking for GNU ld" >&5
++echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
++else
++  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
++echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
++fi
++if test "${lt_cv_path_LD+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -z "$LD"; then
++  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
++  for ac_dir in $PATH; do
++    IFS="$lt_save_ifs"
++    test -z "$ac_dir" && ac_dir=.
++    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
++      lt_cv_path_LD="$ac_dir/$ac_prog"
++      # Check to see if the program is GNU ld.  I'd rather use --version,
++      # but apparently some GNU ld's only accept -v.
++      # Break only if it was the GNU/non-GNU ld that we prefer.
++      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
++      *GNU* | *'with BFD'*)
++	test "$with_gnu_ld" != no && break
++	;;
++      *)
++	test "$with_gnu_ld" != yes && break
++	;;
++      esac
++    fi
++  done
++  IFS="$lt_save_ifs"
++else
++  lt_cv_path_LD="$LD" # Let the user override the test with a path.
++fi
++fi
++
++LD="$lt_cv_path_LD"
++if test -n "$LD"; then
++  echo "$as_me:$LINENO: result: $LD" >&5
++echo "${ECHO_T}$LD" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
++echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
++   { (exit 1); exit 1; }; }
++echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
++echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
++if test "${lt_cv_prog_gnu_ld+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
++case `$LD -v 2>&1 </dev/null` in
++*GNU* | *'with BFD'*)
++  lt_cv_prog_gnu_ld=yes
++  ;;
++*)
++  lt_cv_prog_gnu_ld=no
++  ;;
++esac
++fi
++echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
++echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
++with_gnu_ld=$lt_cv_prog_gnu_ld
++
++
++
++  # Check if GNU C++ uses GNU ld as the underlying linker, since the
++  # archiving commands below assume that GNU ld is being used.
++  if test "$with_gnu_ld" = yes; then
++    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
++    archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++
++    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
++    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
++
++    # If archive_cmds runs LD, not CC, wlarc should be empty
++    # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
++    #     investigate it a little bit more. (MM)
++    wlarc='${wl}'
++
++    # ancient GNU ld didn't support --whole-archive et. al.
++    if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
++	grep 'no-whole-archive' > /dev/null; then
++      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
++    else
++      whole_archive_flag_spec_CXX=
++    fi
++  else
++    with_gnu_ld=no
++    wlarc=
++
++    # A generic and very simple default shared library creation
++    # command for GNU C++ for the case where it uses the native
++    # linker, instead of GNU ld.  If possible, this setting should
++    # overridden to take advantage of the native linker features on
++    # the platform it is being used on.
++    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
++  fi
++
++  # Commands to make compiler produce verbose output that lists
++  # what "hidden" libraries, object files and flags are used when
++  # linking a shared library.
++  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
++
++else
++  GXX=no
++  with_gnu_ld=no
++  wlarc=
++fi
++
++# PORTME: fill in a description of your system's C++ link characteristics
++echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
++echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
++ld_shlibs_CXX=yes
++case $host_os in
++  aix3*)
++    # FIXME: insert proper C++ library support
++    ld_shlibs_CXX=no
++    ;;
++  aix4* | aix5*)
++    if test "$host_cpu" = ia64; then
++      # On IA64, the linker does run time linking by default, so we don't
++      # have to do anything special.
++      aix_use_runtimelinking=no
++      exp_sym_flag='-Bexport'
++      no_entry_flag=""
++    else
++      aix_use_runtimelinking=no
++
++      # Test if we are trying to use run time linking or normal
++      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
++      # need to do runtime linking.
++      case $host_os in aix4.[23]|aix4.[23].*|aix5*)
++	for ld_flag in $LDFLAGS; do
++	  case $ld_flag in
++	  *-brtl*)
++	    aix_use_runtimelinking=yes
++	    break
++	    ;;
++	  esac
++	done
++      esac
++
++      exp_sym_flag='-bexport'
++      no_entry_flag='-bnoentry'
++    fi
++
++    # When large executables or shared objects are built, AIX ld can
++    # have problems creating the table of contents.  If linking a library
++    # or program results in "error TOC overflow" add -mminimal-toc to
++    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
++    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
++
++    archive_cmds_CXX=''
++    hardcode_direct_CXX=yes
++    hardcode_libdir_separator_CXX=':'
++    link_all_deplibs_CXX=yes
++
++    if test "$GXX" = yes; then
++      case $host_os in aix4.012|aix4.012.*)
++      # We only want to do this on AIX 4.2 and lower, the check
++      # below for broken collect2 doesn't work under 4.3+
++	collect2name=`${CC} -print-prog-name=collect2`
++	if test -f "$collect2name" && \
++	   strings "$collect2name" | grep resolve_lib_name >/dev/null
++	then
++	  # We have reworked collect2
++	  hardcode_direct_CXX=yes
++	else
++	  # We have old collect2
++	  hardcode_direct_CXX=unsupported
++	  # It fails to find uninstalled libraries when the uninstalled
++	  # path is not listed in the libpath.  Setting hardcode_minus_L
++	  # to unsupported forces relinking
++	  hardcode_minus_L_CXX=yes
++	  hardcode_libdir_flag_spec_CXX='-L$libdir'
++	  hardcode_libdir_separator_CXX=
++	fi
++      esac
++      shared_flag='-shared'
++    else
++      # not using gcc
++      if test "$host_cpu" = ia64; then
++	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
++	# chokes on -Wl,-G. The following line is correct:
++	shared_flag='-G'
++      else
++	if test "$aix_use_runtimelinking" = yes; then
++	  shared_flag='${wl}-G'
++	else
++	  shared_flag='${wl}-bM:SRE'
++	fi
++      fi
++    fi
++
++    # It seems that -bexpall does not export symbols beginning with
++    # underscore (_), so it is better to generate a list of symbols to export.
++    always_export_symbols_CXX=yes
++    if test "$aix_use_runtimelinking" = yes; then
++      # Warning - without using the other runtime loading flags (-brtl),
++      # -berok will link without error, but may produce a broken library.
++      allow_undefined_flag_CXX='-berok'
++      # Determine the default libpath from the value encoded in an empty executable.
++      cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  
++aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
++}'`
++# Check for a 64-bit object if we didn't find anything.
++if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
++}'`; fi
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
++
++      hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
++
++      archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
++     else
++      if test "$host_cpu" = ia64; then
++	hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
++	allow_undefined_flag_CXX="-z nodefs"
++	archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
++      else
++	# Determine the default libpath from the value encoded in an empty executable.
++	cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  
++aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
++}'`
++# Check for a 64-bit object if we didn't find anything.
++if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
++}'`; fi
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
++
++	hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
++	# Warning - without using the other run time loading flags,
++	# -berok will link without error, but may produce a broken library.
++	no_undefined_flag_CXX=' ${wl}-bernotok'
++	allow_undefined_flag_CXX=' ${wl}-berok'
++	# -bexpall does not export symbols beginning with underscore (_)
++	always_export_symbols_CXX=yes
++	# Exported symbols can be pulled into shared objects from archives
++	whole_archive_flag_spec_CXX=' '
++	archive_cmds_need_lc_CXX=yes
++	# This is similar to how AIX traditionally builds it's shared libraries.
++	archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
++      fi
++    fi
++    ;;
++  chorus*)
++    case $cc_basename in
++      *)
++	# FIXME: insert proper C++ library support
++	ld_shlibs_CXX=no
++	;;
++    esac
++    ;;
++
++  cygwin* | mingw* | pw32*)
++    # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
++    # as there is no search path for DLLs.
++    hardcode_libdir_flag_spec_CXX='-L$libdir'
++    allow_undefined_flag_CXX=unsupported
++    always_export_symbols_CXX=no
++    enable_shared_with_static_runtimes_CXX=yes
++
++    if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
++      archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
++      # If the export-symbols file already is a .def file (1st line
++      # is EXPORTS), use it as is; otherwise, prepend...
++      archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
++	cp $export_symbols $output_objdir/$soname.def;
++      else
++	echo EXPORTS > $output_objdir/$soname.def;
++	cat $export_symbols >> $output_objdir/$soname.def;
++      fi~
++      $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
++    else
++      ld_shlibs_CXX=no
++    fi
++  ;;
++
++  darwin* | rhapsody*)
++  if test "$GXX" = yes; then
++    archive_cmds_need_lc_CXX=no
++    case "$host_os" in
++    rhapsody* | darwin1.[012])
++      allow_undefined_flag_CXX='-undefined suppress'
++      ;;
++    *) # Darwin 1.3 on
++      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
++      	allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
++      else
++        case ${MACOSX_DEPLOYMENT_TARGET} in
++          10.[012])
++            allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
++            ;;
++          10.*)
++            allow_undefined_flag_CXX='-undefined dynamic_lookup'
++            ;;
++        esac
++      fi
++      ;;
++    esac
++    lt_int_apple_cc_single_mod=no
++    output_verbose_link_cmd='echo'
++    if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
++      lt_int_apple_cc_single_mod=yes
++    fi
++    if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
++      archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
++    else
++      archive_cmds_CXX='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
++    fi
++    module_cmds_CXX='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
++
++    # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
++    if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
++      archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++    else
++      archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++    fi
++    module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++    hardcode_direct_CXX=no
++    hardcode_automatic_CXX=yes
++    hardcode_shlibpath_var_CXX=unsupported
++    whole_archive_flag_spec_CXX='-all_load $convenience'
++    link_all_deplibs_CXX=yes
++  else
++    ld_shlibs_CXX=no
++  fi
++    ;;
++
++  dgux*)
++    case $cc_basename in
++      ec++)
++	# FIXME: insert proper C++ library support
++	ld_shlibs_CXX=no
++	;;
++      ghcx)
++	# Green Hills C++ Compiler
++	# FIXME: insert proper C++ library support
++	ld_shlibs_CXX=no
++	;;
++      *)
++	# FIXME: insert proper C++ library support
++	ld_shlibs_CXX=no
++	;;
++    esac
++    ;;
++  freebsd12*)
++    # C++ shared libraries reported to be fairly broken before switch to ELF
++    ld_shlibs_CXX=no
++    ;;
++  freebsd-elf*)
++    archive_cmds_need_lc_CXX=no
++    ;;
++  freebsd* | kfreebsd*-gnu)
++    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
++    # conventions
++    ld_shlibs_CXX=yes
++    ;;
++  gnu*)
++    ;;
++  hpux9*)
++    hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
++    hardcode_libdir_separator_CXX=:
++    export_dynamic_flag_spec_CXX='${wl}-E'
++    hardcode_direct_CXX=yes
++    hardcode_minus_L_CXX=yes # Not in the search PATH,
++				# but as the default
++				# location of the library.
++
++    case $cc_basename in
++    CC)
++      # FIXME: insert proper C++ library support
++      ld_shlibs_CXX=no
++      ;;
++    aCC)
++      archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
++      # Commands to make compiler produce verbose output that lists
++      # what "hidden" libraries, object files and flags are used when
++      # linking a shared library.
++      #
++      # There doesn't appear to be a way to prevent this compiler from
++      # explicitly linking system object files so we need to strip them
++      # from the output so that they don't get included in the library
++      # dependencies.
++      output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
++      ;;
++    *)
++      if test "$GXX" = yes; then
++        archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
++      else
++        # FIXME: insert proper C++ library support
++        ld_shlibs_CXX=no
++      fi
++      ;;
++    esac
++    ;;
++  hpux10*|hpux11*)
++    if test $with_gnu_ld = no; then
++      case "$host_cpu" in
++      hppa*64*)
++	hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
++	hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
++	hardcode_libdir_separator_CXX=:
++        ;;
++      ia64*)
++	hardcode_libdir_flag_spec_CXX='-L$libdir'
++        ;;
++      *)
++	hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
++	hardcode_libdir_separator_CXX=:
++	export_dynamic_flag_spec_CXX='${wl}-E'
++        ;;
++      esac
++    fi
++    case "$host_cpu" in
++    hppa*64*)
++      hardcode_direct_CXX=no
++      hardcode_shlibpath_var_CXX=no
++      ;;
++    ia64*)
++      hardcode_direct_CXX=no
++      hardcode_shlibpath_var_CXX=no
++      hardcode_minus_L_CXX=yes # Not in the search PATH,
++					      # but as the default
++					      # location of the library.
++      ;;
++    *)
++      hardcode_direct_CXX=yes
++      hardcode_minus_L_CXX=yes # Not in the search PATH,
++					      # but as the default
++					      # location of the library.
++      ;;
++    esac
++
++    case $cc_basename in
++      CC)
++	# FIXME: insert proper C++ library support
++	ld_shlibs_CXX=no
++	;;
++      aCC)
++	case "$host_cpu" in
++	hppa*64*|ia64*)
++	  archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
++	  ;;
++	*)
++	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
++	  ;;
++	esac
++	# Commands to make compiler produce verbose output that lists
++	# what "hidden" libraries, object files and flags are used when
++	# linking a shared library.
++	#
++	# There doesn't appear to be a way to prevent this compiler from
++	# explicitly linking system object files so we need to strip them
++	# from the output so that they don't get included in the library
++	# dependencies.
++	output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
++	;;
++      *)
++	if test "$GXX" = yes; then
++	  if test $with_gnu_ld = no; then
++	    case "$host_cpu" in
++	    ia64*|hppa*64*)
++	      archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
++	      ;;
++	    *)
++	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
++	      ;;
++	    esac
++	  fi
++	else
++	  # FIXME: insert proper C++ library support
++	  ld_shlibs_CXX=no
++	fi
++	;;
++    esac
++    ;;
++  irix5* | irix6*)
++    case $cc_basename in
++      CC)
++	# SGI C++
++	archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
++
++	# Archives containing C++ object files must be created using
++	# "CC -ar", where "CC" is the IRIX C++ compiler.  This is
++	# necessary to make sure instantiated templates are included
++	# in the archive.
++	old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
++	;;
++      *)
++	if test "$GXX" = yes; then
++	  if test "$with_gnu_ld" = no; then
++	    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
++	  else
++	    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
++	  fi
++	fi
++	link_all_deplibs_CXX=yes
++	;;
++    esac
++    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
++    hardcode_libdir_separator_CXX=:
++    ;;
++  linux*)
++    case $cc_basename in
++      KCC)
++	# Kuck and Associates, Inc. (KAI) C++ Compiler
++
++	# KCC will only create a shared library if the output file
++	# ends with ".so" (or ".sl" for HP-UX), so rename the library
++	# to its proper name (with version) after linking.
++	archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
++	archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
++	# Commands to make compiler produce verbose output that lists
++	# what "hidden" libraries, object files and flags are used when
++	# linking a shared library.
++	#
++	# There doesn't appear to be a way to prevent this compiler from
++	# explicitly linking system object files so we need to strip them
++	# from the output so that they don't get included in the library
++	# dependencies.
++	output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
++
++	hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
++	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
++
++	# Archives containing C++ object files must be created using
++	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
++	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
++	;;
++      icpc)
++	# Intel C++
++	with_gnu_ld=yes
++	archive_cmds_need_lc_CXX=no
++	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
++	archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
++	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
++	whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
++	;;
++      cxx)
++	# Compaq C++
++	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
++	archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
++
++	runpath_var=LD_RUN_PATH
++	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
++	hardcode_libdir_separator_CXX=:
++
++	# Commands to make compiler produce verbose output that lists
++	# what "hidden" libraries, object files and flags are used when
++	# linking a shared library.
++	#
++	# There doesn't appear to be a way to prevent this compiler from
++	# explicitly linking system object files so we need to strip them
++	# from the output so that they don't get included in the library
++	# dependencies.
++	output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
++	;;
++    esac
++    ;;
++  lynxos*)
++    # FIXME: insert proper C++ library support
++    ld_shlibs_CXX=no
++    ;;
++  m88k*)
++    # FIXME: insert proper C++ library support
++    ld_shlibs_CXX=no
++    ;;
++  mvs*)
++    case $cc_basename in
++      cxx)
++	# FIXME: insert proper C++ library support
++	ld_shlibs_CXX=no
++	;;
++      *)
++	# FIXME: insert proper C++ library support
++	ld_shlibs_CXX=no
++	;;
++    esac
++    ;;
++  netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
++    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
++      wlarc=
++      hardcode_libdir_flag_spec_CXX='-R$libdir'
++      hardcode_direct_CXX=yes
++      hardcode_shlibpath_var_CXX=no
++    fi
++    # Workaround some broken pre-1.5 toolchains
++    output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
++    ;;
++  osf3*)
++    case $cc_basename in
++      KCC)
++	# Kuck and Associates, Inc. (KAI) C++ Compiler
++
++	# KCC will only create a shared library if the output file
++	# ends with ".so" (or ".sl" for HP-UX), so rename the library
++	# to its proper name (with version) after linking.
++	archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
++
++	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
++	hardcode_libdir_separator_CXX=:
++
++	# Archives containing C++ object files must be created using
++	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
++	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
++
++	;;
++      RCC)
++	# Rational C++ 2.4.1
++	# FIXME: insert proper C++ library support
++	ld_shlibs_CXX=no
++	;;
++      cxx)
++	allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
++	archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
++
++	hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
++	hardcode_libdir_separator_CXX=:
++
++	# Commands to make compiler produce verbose output that lists
++	# what "hidden" libraries, object files and flags are used when
++	# linking a shared library.
++	#
++	# There doesn't appear to be a way to prevent this compiler from
++	# explicitly linking system object files so we need to strip them
++	# from the output so that they don't get included in the library
++	# dependencies.
++	output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
++	;;
++      *)
++	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
++	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
++	  archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
++
++	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
++	  hardcode_libdir_separator_CXX=:
++
++	  # Commands to make compiler produce verbose output that lists
++	  # what "hidden" libraries, object files and flags are used when
++	  # linking a shared library.
++	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
++
++	else
++	  # FIXME: insert proper C++ library support
++	  ld_shlibs_CXX=no
++	fi
++	;;
++    esac
++    ;;
++  osf4* | osf5*)
++    case $cc_basename in
++      KCC)
++	# Kuck and Associates, Inc. (KAI) C++ Compiler
++
++	# KCC will only create a shared library if the output file
++	# ends with ".so" (or ".sl" for HP-UX), so rename the library
++	# to its proper name (with version) after linking.
++	archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
++
++	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
++	hardcode_libdir_separator_CXX=:
++
++	# Archives containing C++ object files must be created using
++	# the KAI C++ compiler.
++	old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
++	;;
++      RCC)
++	# Rational C++ 2.4.1
++	# FIXME: insert proper C++ library support
++	ld_shlibs_CXX=no
++	;;
++      cxx)
++	allow_undefined_flag_CXX=' -expect_unresolved \*'
++	archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
++	archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
++	  echo "-hidden">> $lib.exp~
++	  $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp  `test -n "$verstring" && echo -set_version	$verstring` -update_registry $objdir/so_locations -o $lib~
++	  $rm $lib.exp'
++
++	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
++	hardcode_libdir_separator_CXX=:
++
++	# Commands to make compiler produce verbose output that lists
++	# what "hidden" libraries, object files and flags are used when
++	# linking a shared library.
++	#
++	# There doesn't appear to be a way to prevent this compiler from
++	# explicitly linking system object files so we need to strip them
++	# from the output so that they don't get included in the library
++	# dependencies.
++	output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
++	;;
++      *)
++	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
++	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
++	 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
++
++	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
++	  hardcode_libdir_separator_CXX=:
++
++	  # Commands to make compiler produce verbose output that lists
++	  # what "hidden" libraries, object files and flags are used when
++	  # linking a shared library.
++	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
++
++	else
++	  # FIXME: insert proper C++ library support
++	  ld_shlibs_CXX=no
++	fi
++	;;
++    esac
++    ;;
++  psos*)
++    # FIXME: insert proper C++ library support
++    ld_shlibs_CXX=no
++    ;;
++  sco*)
++    archive_cmds_need_lc_CXX=no
++    case $cc_basename in
++      CC)
++	# FIXME: insert proper C++ library support
++	ld_shlibs_CXX=no
++	;;
++      *)
++	# FIXME: insert proper C++ library support
++	ld_shlibs_CXX=no
++	;;
++    esac
++    ;;
++  sunos4*)
++    case $cc_basename in
++      CC)
++	# Sun C++ 4.x
++	# FIXME: insert proper C++ library support
++	ld_shlibs_CXX=no
++	;;
++      lcc)
++	# Lucid
++	# FIXME: insert proper C++ library support
++	ld_shlibs_CXX=no
++	;;
++      *)
++	# FIXME: insert proper C++ library support
++	ld_shlibs_CXX=no
++	;;
++    esac
++    ;;
++  solaris*)
++    case $cc_basename in
++      CC)
++	# Sun C++ 4.2, 5.x and Centerline C++
++	no_undefined_flag_CXX=' -zdefs'
++	archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
++	archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++	$CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
++
++	hardcode_libdir_flag_spec_CXX='-R$libdir'
++	hardcode_shlibpath_var_CXX=no
++	case $host_os in
++	  solaris2.0-5 | solaris2.0-5.*) ;;
++	  *)
++	    # The C++ compiler is used as linker so we must use $wl
++	    # flag to pass the commands to the underlying system
++	    # linker.
++	    # Supported since Solaris 2.6 (maybe 2.5.1?)
++	    whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
++	    ;;
++	esac
++	link_all_deplibs_CXX=yes
++
++	# Commands to make compiler produce verbose output that lists
++	# what "hidden" libraries, object files and flags are used when
++	# linking a shared library.
++	#
++	# There doesn't appear to be a way to prevent this compiler from
++	# explicitly linking system object files so we need to strip them
++	# from the output so that they don't get included in the library
++	# dependencies.
++	output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[LR]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
++
++	# Archives containing C++ object files must be created using
++	# "CC -xar", where "CC" is the Sun C++ compiler.  This is
++	# necessary to make sure instantiated templates are included
++	# in the archive.
++	old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
++	;;
++      gcx)
++	# Green Hills C++ Compiler
++	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
++
++	# The C++ compiler must be used to create the archive.
++	old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
++	;;
++      *)
++	# GNU C++ compiler with Solaris linker
++	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
++	  no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
++	  if $CC --version | grep -v '^2\.7' > /dev/null; then
++	    archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
++	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++		$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
++
++	    # Commands to make compiler produce verbose output that lists
++	    # what "hidden" libraries, object files and flags are used when
++	    # linking a shared library.
++	    output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
++	  else
++	    # g++ 2.7 appears to require `-G' NOT `-shared' on this
++	    # platform.
++	    archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
++	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++		$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
++
++	    # Commands to make compiler produce verbose output that lists
++	    # what "hidden" libraries, object files and flags are used when
++	    # linking a shared library.
++	    output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
++	  fi
++
++	  hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
++	fi
++	;;
++    esac
++    ;;
++  sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
++    archive_cmds_need_lc_CXX=no
++    ;;
++  tandem*)
++    case $cc_basename in
++      NCC)
++	# NonStop-UX NCC 3.20
++	# FIXME: insert proper C++ library support
++	ld_shlibs_CXX=no
++	;;
++      *)
++	# FIXME: insert proper C++ library support
++	ld_shlibs_CXX=no
++	;;
++    esac
++    ;;
++  vxworks*)
++    # FIXME: insert proper C++ library support
++    ld_shlibs_CXX=no
++    ;;
++  *)
++    # FIXME: insert proper C++ library support
++    ld_shlibs_CXX=no
++    ;;
++esac
++echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
++echo "${ECHO_T}$ld_shlibs_CXX" >&6
++test "$ld_shlibs_CXX" = no && can_build_shared=no
++
++GCC_CXX="$GXX"
++LD_CXX="$LD"
++
++
++cat > conftest.$ac_ext <<EOF
++class Foo
++{
++public:
++  Foo (void) { a = 0; }
++private:
++  int a;
++};
++EOF
++
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; then
++  # Parse the compiler output and extract the necessary
++  # objects, libraries and library flags.
++
++  # Sentinel used to keep track of whether or not we are before
++  # the conftest object file.
++  pre_test_object_deps_done=no
++
++  # The `*' in the case matches for architectures that use `case' in
++  # $output_verbose_cmd can trigger glob expansion during the loop
++  # eval without this substitution.
++  output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
++
++  for p in `eval $output_verbose_link_cmd`; do
++    case $p in
++
++    -L* | -R* | -l*)
++       # Some compilers place space between "-{L,R}" and the path.
++       # Remove the space.
++       if test $p = "-L" \
++	  || test $p = "-R"; then
++	 prev=$p
++	 continue
++       else
++	 prev=
++       fi
++
++       if test "$pre_test_object_deps_done" = no; then
++	 case $p in
++	 -L* | -R*)
++	   # Internal compiler library paths should come after those
++	   # provided the user.  The postdeps already come after the
++	   # user supplied libs so there is no need to process them.
++	   if test -z "$compiler_lib_search_path_CXX"; then
++	     compiler_lib_search_path_CXX="${prev}${p}"
++	   else
++	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
++	   fi
++	   ;;
++	 # The "-l" case would never come before the object being
++	 # linked, so don't bother handling this case.
++	 esac
++       else
++	 if test -z "$postdeps_CXX"; then
++	   postdeps_CXX="${prev}${p}"
++	 else
++	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
++	 fi
++       fi
++       ;;
++
++    *.$objext)
++       # This assumes that the test object file only shows up
++       # once in the compiler output.
++       if test "$p" = "conftest.$objext"; then
++	 pre_test_object_deps_done=yes
++	 continue
++       fi
++
++       if test "$pre_test_object_deps_done" = no; then
++	 if test -z "$predep_objects_CXX"; then
++	   predep_objects_CXX="$p"
++	 else
++	   predep_objects_CXX="$predep_objects_CXX $p"
++	 fi
++       else
++	 if test -z "$postdep_objects_CXX"; then
++	   postdep_objects_CXX="$p"
++	 else
++	   postdep_objects_CXX="$postdep_objects_CXX $p"
++	 fi
++       fi
++       ;;
++
++    *) ;; # Ignore the rest.
++
++    esac
++  done
++
++  # Clean up.
++  rm -f a.out a.exe
++else
++  echo "libtool.m4: error: problem compiling CXX test program"
++fi
++
++$rm -f confest.$objext
++
++case " $postdeps_CXX " in
++*" -lc "*) archive_cmds_need_lc_CXX=no ;;
++esac
++
++lt_prog_compiler_wl_CXX=
++lt_prog_compiler_pic_CXX=
++lt_prog_compiler_static_CXX=
++
++echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
++echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
++ 
++  # C++ specific cases for pic, static, wl, etc.
++  if test "$GXX" = yes; then
++    lt_prog_compiler_wl_CXX='-Wl,'
++    lt_prog_compiler_static_CXX='-static'
++
++    case $host_os in
++    aix*)
++      # All AIX code is PIC.
++      if test "$host_cpu" = ia64; then
++	# AIX 5 now supports IA64 processor
++	lt_prog_compiler_static_CXX='-Bstatic'
++      fi
++      ;;
++    amigaos*)
++      # FIXME: we need at least 68020 code to build shared libraries, but
++      # adding the `-m68020' flag to GCC prevents building anything better,
++      # like `-m68040'.
++      lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
++      ;;
++    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
++      # PIC is the default for these OSes.
++      ;;
++    mingw* | os2* | pw32*)
++      # This hack is so that the source file can tell whether it is being
++      # built for inclusion in a dll (and should export symbols for example).
++      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
++      ;;
++    darwin* | rhapsody*)
++      # PIC is the default on this platform
++      # Common symbols not allowed in MH_DYLIB files
++      lt_prog_compiler_pic_CXX='-fno-common'
++      ;;
++    *djgpp*)
++      # DJGPP does not support shared libraries at all
++      lt_prog_compiler_pic_CXX=
++      ;;
++    sysv4*MP*)
++      if test -d /usr/nec; then
++	lt_prog_compiler_pic_CXX=-Kconform_pic
++      fi
++      ;;
++    hpux*)
++      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
++      # not for PA HP-UX.
++      case "$host_cpu" in
++      hppa*64*|ia64*)
++	;;
++      *)
++	lt_prog_compiler_pic_CXX='-fPIC'
++	;;
++      esac
++      ;;
++    *)
++      lt_prog_compiler_pic_CXX='-fPIC'
++      ;;
++    esac
++  else
++    case $host_os in
++      aix4* | aix5*)
++	# All AIX code is PIC.
++	if test "$host_cpu" = ia64; then
++	  # AIX 5 now supports IA64 processor
++	  lt_prog_compiler_static_CXX='-Bstatic'
++	else
++	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
++	fi
++	;;
++      chorus*)
++	case $cc_basename in
++	cxch68)
++	  # Green Hills C++ Compiler
++	  # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
++	  ;;
++	esac
++	;;
++      dgux*)
++	case $cc_basename in
++	  ec++)
++	    lt_prog_compiler_pic_CXX='-KPIC'
++	    ;;
++	  ghcx)
++	    # Green Hills C++ Compiler
++	    lt_prog_compiler_pic_CXX='-pic'
++	    ;;
++	  *)
++	    ;;
++	esac
++	;;
++      freebsd* | kfreebsd*-gnu)
++	# FreeBSD uses GNU C++
++	;;
++      hpux9* | hpux10* | hpux11*)
++	case $cc_basename in
++	  CC)
++	    lt_prog_compiler_wl_CXX='-Wl,'
++	    lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
++	    if test "$host_cpu" != ia64; then
++	      lt_prog_compiler_pic_CXX='+Z'
++	    fi
++	    ;;
++	  aCC)
++	    lt_prog_compiler_wl_CXX='-Wl,'
++	    lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
++	    case "$host_cpu" in
++	    hppa*64*|ia64*)
++	      # +Z the default
++	      ;;
++	    *)
++	      lt_prog_compiler_pic_CXX='+Z'
++	      ;;
++	    esac
++	    ;;
++	  *)
++	    ;;
++	esac
++	;;
++      irix5* | irix6* | nonstopux*)
++	case $cc_basename in
++	  CC)
++	    lt_prog_compiler_wl_CXX='-Wl,'
++	    lt_prog_compiler_static_CXX='-non_shared'
++	    # CC pic flag -KPIC is the default.
++	    ;;
++	  *)
++	    ;;
++	esac
++	;;
++      linux*)
++	case $cc_basename in
++	  KCC)
++	    # KAI C++ Compiler
++	    lt_prog_compiler_wl_CXX='--backend -Wl,'
++	    lt_prog_compiler_pic_CXX='-fPIC'
++	    ;;
++	  icpc)
++	    # Intel C++
++	    lt_prog_compiler_wl_CXX='-Wl,'
++	    lt_prog_compiler_pic_CXX='-KPIC'
++	    lt_prog_compiler_static_CXX='-static'
++	    ;;
++	  cxx)
++	    # Compaq C++
++	    # Make sure the PIC flag is empty.  It appears that all Alpha
++	    # Linux and Compaq Tru64 Unix objects are PIC.
++	    lt_prog_compiler_pic_CXX=
++	    lt_prog_compiler_static_CXX='-non_shared'
++	    ;;
++	  *)
++	    ;;
++	esac
++	;;
++      lynxos*)
++	;;
++      m88k*)
++	;;
++      mvs*)
++	case $cc_basename in
++	  cxx)
++	    lt_prog_compiler_pic_CXX='-W c,exportall'
++	    ;;
++	  *)
++	    ;;
++	esac
++	;;
++      netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
++	;;
++      osf3* | osf4* | osf5*)
++	case $cc_basename in
++	  KCC)
++	    lt_prog_compiler_wl_CXX='--backend -Wl,'
++	    ;;
++	  RCC)
++	    # Rational C++ 2.4.1
++	    lt_prog_compiler_pic_CXX='-pic'
++	    ;;
++	  cxx)
++	    # Digital/Compaq C++
++	    lt_prog_compiler_wl_CXX='-Wl,'
++	    # Make sure the PIC flag is empty.  It appears that all Alpha
++	    # Linux and Compaq Tru64 Unix objects are PIC.
++	    lt_prog_compiler_pic_CXX=
++	    lt_prog_compiler_static_CXX='-non_shared'
++	    ;;
++	  *)
++	    ;;
++	esac
++	;;
++      psos*)
++	;;
++      sco*)
++	case $cc_basename in
++	  CC)
++	    lt_prog_compiler_pic_CXX='-fPIC'
++	    ;;
++	  *)
++	    ;;
++	esac
++	;;
++      solaris*)
++	case $cc_basename in
++	  CC)
++	    # Sun C++ 4.2, 5.x and Centerline C++
++	    lt_prog_compiler_pic_CXX='-KPIC'
++	    lt_prog_compiler_static_CXX='-Bstatic'
++	    lt_prog_compiler_wl_CXX='-Qoption ld '
++	    ;;
++	  gcx)
++	    # Green Hills C++ Compiler
++	    lt_prog_compiler_pic_CXX='-PIC'
++	    ;;
++	  *)
++	    ;;
++	esac
++	;;
++      sunos4*)
++	case $cc_basename in
++	  CC)
++	    # Sun C++ 4.x
++	    lt_prog_compiler_pic_CXX='-pic'
++	    lt_prog_compiler_static_CXX='-Bstatic'
++	    ;;
++	  lcc)
++	    # Lucid
++	    lt_prog_compiler_pic_CXX='-pic'
++	    ;;
++	  *)
++	    ;;
++	esac
++	;;
++      tandem*)
++	case $cc_basename in
++	  NCC)
++	    # NonStop-UX NCC 3.20
++	    lt_prog_compiler_pic_CXX='-KPIC'
++	    ;;
++	  *)
++	    ;;
++	esac
++	;;
++      unixware*)
++	;;
++      vxworks*)
++	;;
++      *)
++	lt_prog_compiler_can_build_shared_CXX=no
++	;;
++    esac
++  fi
++
++echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
++echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
++
++#
++# Check to make sure the PIC flag actually works.
++#
++if test -n "$lt_prog_compiler_pic_CXX"; then
++  
++echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
++echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
++if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  lt_prog_compiler_pic_works_CXX=no
++  ac_outfile=conftest.$ac_objext
++   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
++   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
++   # Insert the option either (1) after the last *FLAGS variable, or
++   # (2) before a word containing "conftest.", or (3) at the end.
++   # Note that $ac_compile itself does not contain backslashes and begins
++   # with a dollar sign (not a hyphen), so the echo should work correctly.
++   # The option is referenced via a variable to avoid confusing sed.
++   lt_compile=`echo "$ac_compile" | $SED \
++   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
++   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
++   -e 's:$: $lt_compiler_flag:'`
++   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
++   (eval "$lt_compile" 2>conftest.err)
++   ac_status=$?
++   cat conftest.err >&5
++   echo "$as_me:__oline__: \$? = $ac_status" >&5
++   if (exit $ac_status) && test -s "$ac_outfile"; then
++     # The compiler can only warn and ignore the option if not recognized
++     # So say no if there are warnings
++     if test ! -s conftest.err; then
++       lt_prog_compiler_pic_works_CXX=yes
++     fi
++   fi
++   $rm conftest*
++
++fi
++echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
++echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
++
++if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
++    case $lt_prog_compiler_pic_CXX in
++     "" | " "*) ;;
++     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
++     esac
++else
++    lt_prog_compiler_pic_CXX=
++     lt_prog_compiler_can_build_shared_CXX=no
++fi
++
++fi
++case "$host_os" in
++  # For platforms which do not support PIC, -DPIC is meaningless:
++  *djgpp*)
++    lt_prog_compiler_pic_CXX=
++    ;;
++  *)
++    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
++    ;;
++esac
++
++echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
++echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
++if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  lt_cv_prog_compiler_c_o_CXX=no
++   $rm -r conftest 2>/dev/null
++   mkdir conftest
++   cd conftest
++   mkdir out
++   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
++
++   lt_compiler_flag="-o out/conftest2.$ac_objext"
++   # Insert the option either (1) after the last *FLAGS variable, or
++   # (2) before a word containing "conftest.", or (3) at the end.
++   # Note that $ac_compile itself does not contain backslashes and begins
++   # with a dollar sign (not a hyphen), so the echo should work correctly.
++   lt_compile=`echo "$ac_compile" | $SED \
++   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
++   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
++   -e 's:$: $lt_compiler_flag:'`
++   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
++   (eval "$lt_compile" 2>out/conftest.err)
++   ac_status=$?
++   cat out/conftest.err >&5
++   echo "$as_me:__oline__: \$? = $ac_status" >&5
++   if (exit $ac_status) && test -s out/conftest2.$ac_objext
++   then
++     # The compiler can only warn and ignore the option if not recognized
++     # So say no if there are warnings
++     if test ! -s out/conftest.err; then
++       lt_cv_prog_compiler_c_o_CXX=yes
++     fi
++   fi
++   chmod u+w .
++   $rm conftest*
++   # SGI C++ compiler will create directory out/ii_files/ for
++   # template instantiation
++   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
++   $rm out/* && rmdir out
++   cd ..
++   rmdir conftest
++   $rm conftest*
++
++fi
++echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
++echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
++
++
++hard_links="nottested"
++if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
++  # do not overwrite the value of need_locks provided by the user
++  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
++echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
++  hard_links=yes
++  $rm conftest*
++  ln conftest.a conftest.b 2>/dev/null && hard_links=no
++  touch conftest.a
++  ln conftest.a conftest.b 2>&5 || hard_links=no
++  ln conftest.a conftest.b 2>/dev/null && hard_links=no
++  echo "$as_me:$LINENO: result: $hard_links" >&5
++echo "${ECHO_T}$hard_links" >&6
++  if test "$hard_links" = no; then
++    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
++echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
++    need_locks=warn
++  fi
++else
++  need_locks=no
++fi
++
++echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
++echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
++
++  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
++  case $host_os in
++  aix4* | aix5*)
++    # If we're using GNU nm, then we don't want the "-C" option.
++    # -C means demangle to AIX nm, but means don't demangle with GNU nm
++    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
++      export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
++    else
++      export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
++    fi
++    ;;
++  pw32*)
++    export_symbols_cmds_CXX="$ltdll_cmds"
++  ;;
++  cygwin* | mingw*)
++    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
++  ;;
++  linux*)
++    link_all_deplibs_CXX=no
++  ;;
++  *)
++    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
++  ;;
++  esac
++
++echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
++echo "${ECHO_T}$ld_shlibs_CXX" >&6
++test "$ld_shlibs_CXX" = no && can_build_shared=no
++
++variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
++if test "$GCC" = yes; then
++  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
++fi
++
++#
++# Do we need to explicitly link libc?
++#
++case "x$archive_cmds_need_lc_CXX" in
++x|xyes)
++  # Assume -lc should be added
++  archive_cmds_need_lc_CXX=yes
++
++  if test "$enable_shared" = yes && test "$GCC" = yes; then
++    case $archive_cmds_CXX in
++    *'~'*)
++      # FIXME: we may have to deal with multi-command sequences.
++      ;;
++    '$CC '*)
++      # Test whether the compiler implicitly links with -lc since on some
++      # systems, -lgcc has to come before -lc. If gcc already passes -lc
++      # to ld, don't add -lc before -lgcc.
++      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
++echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
++      $rm conftest*
++      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
++
++      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } 2>conftest.err; then
++        soname=conftest
++        lib=conftest
++        libobjs=conftest.$ac_objext
++        deplibs=
++        wl=$lt_prog_compiler_wl_CXX
++        compiler_flags=-v
++        linker_flags=-v
++        verstring=
++        output_objdir=.
++        libname=conftest
++        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
++        allow_undefined_flag_CXX=
++        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
++  (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }
++        then
++	  archive_cmds_need_lc_CXX=no
++        else
++	  archive_cmds_need_lc_CXX=yes
++        fi
++        allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
++      else
++        cat conftest.err 1>&5
++      fi
++      $rm conftest*
++      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
++echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
++      ;;
++    esac
++  fi
++  ;;
++esac
++
++echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
++echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
++library_names_spec=
++libname_spec='lib$name'
++soname_spec=
++shrext_cmds=".so"
++postinstall_cmds=
++postuninstall_cmds=
++finish_cmds=
++finish_eval=
++shlibpath_var=
++shlibpath_overrides_runpath=unknown
++version_type=none
++dynamic_linker="$host_os ld.so"
++sys_lib_dlsearch_path_spec="/lib /usr/lib"
++if test "$GCC" = yes; then
++  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
++  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
++    # if the path contains ";" then we assume it to be the separator
++    # otherwise default to the standard path separator (i.e. ":") - it is
++    # assumed that no part of a normal pathname contains ";" but that should
++    # okay in the real world where ";" in dirpaths is itself problematic.
++    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
++  else
++    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
++  fi
++else
++  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
++fi
++need_lib_prefix=unknown
++hardcode_into_libs=no
++
++# when you set need_version to no, make sure it does not cause -set_version
++# flags to be left without arguments
++need_version=unknown
++
++case $host_os in
++aix3*)
++  version_type=linux
++  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
++  shlibpath_var=LIBPATH
++
++  # AIX 3 has no versioning support, so we append a major version to the name.
++  soname_spec='${libname}${release}${shared_ext}$major'
++  ;;
++
++aix4* | aix5*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  hardcode_into_libs=yes
++  if test "$host_cpu" = ia64; then
++    # AIX 5 supports IA64
++    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
++    shlibpath_var=LD_LIBRARY_PATH
++  else
++    # With GCC up to 2.95.x, collect2 would create an import file
++    # for dependence libraries.  The import file would start with
++    # the line `#! .'.  This would cause the generated library to
++    # depend on `.', always an invalid library.  This was fixed in
++    # development snapshots of GCC prior to 3.0.
++    case $host_os in
++      aix4 | aix4.[01] | aix4.[01].*)
++      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
++	   echo ' yes '
++	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
++	:
++      else
++	can_build_shared=no
++      fi
++      ;;
++    esac
++    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
++    # soname into executable. Probably we can add versioning support to
++    # collect2, so additional links can be useful in future.
++    if test "$aix_use_runtimelinking" = yes; then
++      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
++      # instead of lib<name>.a to let people know that these are not
++      # typical AIX shared libraries.
++      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++    else
++      # We preserve .a as extension for shared libraries through AIX4.2
++      # and later when we are not doing run time linking.
++      library_names_spec='${libname}${release}.a $libname.a'
++      soname_spec='${libname}${release}${shared_ext}$major'
++    fi
++    shlibpath_var=LIBPATH
++  fi
++  ;;
++
++amigaos*)
++  library_names_spec='$libname.ixlibrary $libname.a'
++  # Create ${libname}_ixlibrary.a entries in /sys/libs.
++  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
++  ;;
++
++beos*)
++  library_names_spec='${libname}${shared_ext}'
++  dynamic_linker="$host_os ld.so"
++  shlibpath_var=LIBRARY_PATH
++  ;;
++
++bsdi4*)
++  version_type=linux
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
++  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
++  # the default ld.so.conf also contains /usr/contrib/lib and
++  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
++  # libtool to hard-code these into programs
++  ;;
++
++cygwin* | mingw* | pw32*)
++  version_type=windows
++  shrext_cmds=".dll"
++  need_version=no
++  need_lib_prefix=no
++
++  case $GCC,$host_os in
++  yes,cygwin* | yes,mingw* | yes,pw32*)
++    library_names_spec='$libname.dll.a'
++    # DLL is installed to $(libdir)/../bin by postinstall_cmds
++    postinstall_cmds='base_file=`basename \${file}`~
++      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
++      dldir=$destdir/`dirname \$dlpath`~
++      test -d \$dldir || mkdir -p \$dldir~
++      $install_prog $dir/$dlname \$dldir/$dlname'
++    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
++      dlpath=$dir/\$dldll~
++       $rm \$dlpath'
++    shlibpath_overrides_runpath=yes
++
++    case $host_os in
++    cygwin*)
++      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
++      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
++      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
++      ;;
++    mingw*)
++      # MinGW DLLs use traditional 'lib' prefix
++      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
++      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
++      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
++        # It is most probably a Windows format PATH printed by
++        # mingw gcc, but we are running on Cygwin. Gcc prints its search
++        # path with ; separators, and with drive letters. We can handle the
++        # drive letters (cygwin fileutils understands them), so leave them,
++        # especially as we might pass files found there to a mingw objdump,
++        # which wouldn't understand a cygwinified path. Ahh.
++        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
++      else
++        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
++      fi
++      ;;
++    pw32*)
++      # pw32 DLLs use 'pw' prefix rather than 'lib'
++      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
++      ;;
++    esac
++    ;;
++
++  *)
++    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
++    ;;
++  esac
++  dynamic_linker='Win32 ld.exe'
++  # FIXME: first we should search . and the directory the executable is in
++  shlibpath_var=PATH
++  ;;
++
++darwin* | rhapsody*)
++  dynamic_linker="$host_os dyld"
++  version_type=darwin
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
++  soname_spec='${libname}${release}${major}$shared_ext'
++  shlibpath_overrides_runpath=yes
++  shlibpath_var=DYLD_LIBRARY_PATH
++  shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
++  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
++  if test "$GCC" = yes; then
++    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
++  else
++    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
++  fi
++  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
++  ;;
++
++dgux*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++freebsd1*)
++  dynamic_linker=no
++  ;;
++
++kfreebsd*-gnu)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=no
++  hardcode_into_libs=yes
++  dynamic_linker='GNU ld.so'
++  ;;
++
++freebsd*)
++  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
++  version_type=freebsd-$objformat
++  case $version_type in
++    freebsd-elf*)
++      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
++      need_version=no
++      need_lib_prefix=no
++      ;;
++    freebsd-*)
++      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
++      need_version=yes
++      ;;
++  esac
++  shlibpath_var=LD_LIBRARY_PATH
++  case $host_os in
++  freebsd2*)
++    shlibpath_overrides_runpath=yes
++    ;;
++  freebsd3.01* | freebsdelf3.01*)
++    shlibpath_overrides_runpath=yes
++    hardcode_into_libs=yes
++    ;;
++  *) # from 3.2 on
++    shlibpath_overrides_runpath=no
++    hardcode_into_libs=yes
++    ;;
++  esac
++  ;;
++
++gnu*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  hardcode_into_libs=yes
++  ;;
++
++hpux9* | hpux10* | hpux11*)
++  # Give a soname corresponding to the major version so that dld.sl refuses to
++  # link against other versions.
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=no
++  case "$host_cpu" in
++  ia64*)
++    shrext_cmds='.so'
++    hardcode_into_libs=yes
++    dynamic_linker="$host_os dld.so"
++    shlibpath_var=LD_LIBRARY_PATH
++    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
++    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++    soname_spec='${libname}${release}${shared_ext}$major'
++    if test "X$HPUX_IA64_MODE" = X32; then
++      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
++    else
++      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
++    fi
++    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
++    ;;
++   hppa*64*)
++     shrext_cmds='.sl'
++     hardcode_into_libs=yes
++     dynamic_linker="$host_os dld.sl"
++     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
++     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
++     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++     soname_spec='${libname}${release}${shared_ext}$major'
++     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
++     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
++     ;;
++   *)
++    shrext_cmds='.sl'
++    dynamic_linker="$host_os dld.sl"
++    shlibpath_var=SHLIB_PATH
++    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
++    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++    soname_spec='${libname}${release}${shared_ext}$major'
++    ;;
++  esac
++  # HP-UX runs *really* slowly unless shared libraries are mode 555.
++  postinstall_cmds='chmod 555 $lib'
++  ;;
++
++irix5* | irix6* | nonstopux*)
++  case $host_os in
++    nonstopux*) version_type=nonstopux ;;
++    *)
++	if test "$lt_cv_prog_gnu_ld" = yes; then
++		version_type=linux
++	else
++		version_type=irix
++	fi ;;
++  esac
++  need_lib_prefix=no
++  need_version=no
++  soname_spec='${libname}${release}${shared_ext}$major'
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
++  case $host_os in
++  irix5* | nonstopux*)
++    libsuff= shlibsuff=
++    ;;
++  *)
++    case $LD in # libtool.m4 will add one of these switches to LD
++    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
++      libsuff= shlibsuff= libmagic=32-bit;;
++    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
++      libsuff=32 shlibsuff=N32 libmagic=N32;;
++    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
++      libsuff=64 shlibsuff=64 libmagic=64-bit;;
++    *) libsuff= shlibsuff= libmagic=never-match;;
++    esac
++    ;;
++  esac
++  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
++  shlibpath_overrides_runpath=no
++  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
++  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
++  hardcode_into_libs=yes
++  ;;
++
++# No shared lib support for Linux oldld, aout, or coff.
++linux*oldld* | linux*aout* | linux*coff*)
++  dynamic_linker=no
++  ;;
++
++# This must be Linux ELF.
++linux*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=no
++  # This implies no fast_install, which is unacceptable.
++  # Some rework will be needed to allow for fast_install
++  # before this can be enabled.
++  hardcode_into_libs=yes
++
++  # Append ld.so.conf contents to the search path
++  if test -f /etc/ld.so.conf; then
++    lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
++    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
++  fi
++
++  # We used to test for /lib/ld.so.1 and disable shared libraries on
++  # powerpc, because MkLinux only supported shared libraries with the
++  # GNU dynamic linker.  Since this was broken with cross compilers,
++  # most powerpc-linux boxes support dynamic linking these days and
++  # people can always --disable-shared, the test was removed, and we
++  # assume the GNU/Linux dynamic linker is in use.
++  dynamic_linker='GNU/Linux ld.so'
++  ;;
++
++netbsdelf*-gnu)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=no
++  hardcode_into_libs=yes
++  dynamic_linker='NetBSD ld.elf_so'
++  ;;
++
++knetbsd*-gnu)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=no
++  hardcode_into_libs=yes
++  dynamic_linker='GNU ld.so'
++  ;;
++
++netbsd*)
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=no
++  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
++    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
++    dynamic_linker='NetBSD (a.out) ld.so'
++  else
++    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
++    soname_spec='${libname}${release}${shared_ext}$major'
++    dynamic_linker='NetBSD ld.elf_so'
++  fi
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  hardcode_into_libs=yes
++  ;;
++
++newsos6)
++  version_type=linux
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  ;;
++
++nto-qnx*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  ;;
++
++openbsd*)
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=yes
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
++    case $host_os in
++      openbsd2.[89] | openbsd2.[89].*)
++	shlibpath_overrides_runpath=no
++	;;
++      *)
++	shlibpath_overrides_runpath=yes
++	;;
++      esac
++  else
++    shlibpath_overrides_runpath=yes
++  fi
++  ;;
++
++os2*)
++  libname_spec='$name'
++  shrext_cmds=".dll"
++  need_lib_prefix=no
++  library_names_spec='$libname${shared_ext} $libname.a'
++  dynamic_linker='OS/2 ld.exe'
++  shlibpath_var=LIBPATH
++  ;;
++
++osf3* | osf4* | osf5*)
++  version_type=osf
++  need_lib_prefix=no
++  need_version=no
++  soname_spec='${libname}${release}${shared_ext}$major'
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  shlibpath_var=LD_LIBRARY_PATH
++  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
++  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
++  ;;
++
++sco3.2v5*)
++  version_type=osf
++  soname_spec='${libname}${release}${shared_ext}$major'
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++solaris*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  hardcode_into_libs=yes
++  # ldd complains unless libraries are executable
++  postinstall_cmds='chmod +x $lib'
++  ;;
++
++sunos4*)
++  version_type=sunos
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
++  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  if test "$with_gnu_ld" = yes; then
++    need_lib_prefix=no
++  fi
++  need_version=yes
++  ;;
++
++sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
++  version_type=linux
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  case $host_vendor in
++    sni)
++      shlibpath_overrides_runpath=no
++      need_lib_prefix=no
++      export_dynamic_flag_spec='${wl}-Blargedynsym'
++      runpath_var=LD_RUN_PATH
++      ;;
++    siemens)
++      need_lib_prefix=no
++      ;;
++    motorola)
++      need_lib_prefix=no
++      need_version=no
++      shlibpath_overrides_runpath=no
++      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
++      ;;
++  esac
++  ;;
++
++sysv4*MP*)
++  if test -d /usr/nec ;then
++    version_type=linux
++    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
++    soname_spec='$libname${shared_ext}.$major'
++    shlibpath_var=LD_LIBRARY_PATH
++  fi
++  ;;
++
++uts4*)
++  version_type=linux
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++*)
++  dynamic_linker=no
++  ;;
++esac
++echo "$as_me:$LINENO: result: $dynamic_linker" >&5
++echo "${ECHO_T}$dynamic_linker" >&6
++test "$dynamic_linker" = no && can_build_shared=no
++
++echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
++echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
++hardcode_action_CXX=
++if test -n "$hardcode_libdir_flag_spec_CXX" || \
++   test -n "$runpath_var CXX" || \
++   test "X$hardcode_automatic_CXX"="Xyes" ; then
++
++  # We can hardcode non-existant directories.
++  if test "$hardcode_direct_CXX" != no &&
++     # If the only mechanism to avoid hardcoding is shlibpath_var, we
++     # have to relink, otherwise we might link with an installed library
++     # when we should be linking with a yet-to-be-installed one
++     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
++     test "$hardcode_minus_L_CXX" != no; then
++    # Linking always hardcodes the temporary library directory.
++    hardcode_action_CXX=relink
++  else
++    # We can link without hardcoding, and we can hardcode nonexisting dirs.
++    hardcode_action_CXX=immediate
++  fi
++else
++  # We cannot hardcode anything, or else we can only hardcode existing
++  # directories.
++  hardcode_action_CXX=unsupported
++fi
++echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
++echo "${ECHO_T}$hardcode_action_CXX" >&6
++
++if test "$hardcode_action_CXX" = relink; then
++  # Fast installation is not supported
++  enable_fast_install=no
++elif test "$shlibpath_overrides_runpath" = yes ||
++     test "$enable_shared" = no; then
++  # Fast installation is not necessary
++  enable_fast_install=needless
++fi
++
++striplib=
++old_striplib=
++echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
++echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
++if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
++  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
++  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
++  echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++else
++# FIXME - insert some real tests, host_os isn't really good enough
++  case $host_os in
++   darwin*)
++       if test -n "$STRIP" ; then
++         striplib="$STRIP -x"
++         echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++       else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++       ;;
++   *)
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++    ;;
++  esac
++fi
++
++if test "x$enable_dlopen" != xyes; then
++  enable_dlopen=unknown
++  enable_dlopen_self=unknown
++  enable_dlopen_self_static=unknown
++else
++  lt_cv_dlopen=no
++  lt_cv_dlopen_libs=
++
++  case $host_os in
++  beos*)
++    lt_cv_dlopen="load_add_on"
++    lt_cv_dlopen_libs=
++    lt_cv_dlopen_self=yes
++    ;;
++
++  mingw* | pw32*)
++    lt_cv_dlopen="LoadLibrary"
++    lt_cv_dlopen_libs=
++   ;;
++
++  cygwin*)
++    lt_cv_dlopen="dlopen"
++    lt_cv_dlopen_libs=
++   ;;
++
++  darwin*)
++  # if libdl is installed we need to link against it
++    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
++echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
++if test "${ac_cv_lib_dl_dlopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ldl  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dlopen ();
++int
++main ()
++{
++dlopen ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_dl_dlopen=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_dl_dlopen=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
++echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
++if test $ac_cv_lib_dl_dlopen = yes; then
++  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
++else
++  
++    lt_cv_dlopen="dyld"
++    lt_cv_dlopen_libs=
++    lt_cv_dlopen_self=yes
++    
++fi
++
++   ;;
++
++  *)
++    echo "$as_me:$LINENO: checking for shl_load" >&5
++echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
++if test "${ac_cv_func_shl_load+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define shl_load innocuous_shl_load
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char shl_load (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef shl_load
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char shl_load ();
++/* 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_shl_load) || defined (__stub___shl_load)
++choke me
++#else
++char (*f) () = shl_load;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != shl_load;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_shl_load=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_shl_load=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
++echo "${ECHO_T}$ac_cv_func_shl_load" >&6
++if test $ac_cv_func_shl_load = yes; then
++  lt_cv_dlopen="shl_load"
++else
++  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
++echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
++if test "${ac_cv_lib_dld_shl_load+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ldld  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char shl_load ();
++int
++main ()
++{
++shl_load ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_dld_shl_load=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_dld_shl_load=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
++echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
++if test $ac_cv_lib_dld_shl_load = yes; then
++  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
++else
++  echo "$as_me:$LINENO: checking for dlopen" >&5
++echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
++if test "${ac_cv_func_dlopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define dlopen innocuous_dlopen
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char dlopen (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef dlopen
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dlopen ();
++/* 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_dlopen) || defined (__stub___dlopen)
++choke me
++#else
++char (*f) () = dlopen;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != dlopen;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_dlopen=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_dlopen=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
++echo "${ECHO_T}$ac_cv_func_dlopen" >&6
++if test $ac_cv_func_dlopen = yes; then
++  lt_cv_dlopen="dlopen"
++else
++  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
++echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
++if test "${ac_cv_lib_dl_dlopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ldl  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dlopen ();
++int
++main ()
++{
++dlopen ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_dl_dlopen=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_dl_dlopen=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
++echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
++if test $ac_cv_lib_dl_dlopen = yes; then
++  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
++else
++  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
++echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
++if test "${ac_cv_lib_svld_dlopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-lsvld  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dlopen ();
++int
++main ()
++{
++dlopen ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_svld_dlopen=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_svld_dlopen=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
++echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
++if test $ac_cv_lib_svld_dlopen = yes; then
++  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
++else
++  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
++echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
++if test "${ac_cv_lib_dld_dld_link+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ldld  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dld_link ();
++int
++main ()
++{
++dld_link ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_dld_dld_link=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_dld_dld_link=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
++echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
++if test $ac_cv_lib_dld_dld_link = yes; then
++  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
++fi
++
++	      
++fi
++
++	    
++fi
++
++	  
++fi
++
++	
++fi
++
++      
++fi
++
++    ;;
++  esac
++
++  if test "x$lt_cv_dlopen" != xno; then
++    enable_dlopen=yes
++  else
++    enable_dlopen=no
++  fi
++
++  case $lt_cv_dlopen in
++  dlopen)
++    save_CPPFLAGS="$CPPFLAGS"
++    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
++
++    save_LDFLAGS="$LDFLAGS"
++    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
++
++    save_LIBS="$LIBS"
++    LIBS="$lt_cv_dlopen_libs $LIBS"
++
++    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
++echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
++if test "${lt_cv_dlopen_self+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  	  if test "$cross_compiling" = yes; then :
++  lt_cv_dlopen_self=cross
++else
++  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
++  lt_status=$lt_dlunknown
++  cat > conftest.$ac_ext <<EOF
++#line __oline__ "configure"
++#include "confdefs.h"
++
++#if HAVE_DLFCN_H
++#include <dlfcn.h>
++#endif
++
++#include <stdio.h>
++
++#ifdef RTLD_GLOBAL
++#  define LT_DLGLOBAL		RTLD_GLOBAL
++#else
++#  ifdef DL_GLOBAL
++#    define LT_DLGLOBAL		DL_GLOBAL
++#  else
++#    define LT_DLGLOBAL		0
++#  endif
++#endif
++
++/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
++   find out it does not work in some platform. */
++#ifndef LT_DLLAZY_OR_NOW
++#  ifdef RTLD_LAZY
++#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
++#  else
++#    ifdef DL_LAZY
++#      define LT_DLLAZY_OR_NOW		DL_LAZY
++#    else
++#      ifdef RTLD_NOW
++#        define LT_DLLAZY_OR_NOW	RTLD_NOW
++#      else
++#        ifdef DL_NOW
++#          define LT_DLLAZY_OR_NOW	DL_NOW
++#        else
++#          define LT_DLLAZY_OR_NOW	0
++#        endif
++#      endif
++#    endif
++#  endif
++#endif
++
++#ifdef __cplusplus
++extern "C" void exit (int);
++#endif
++
++void fnord() { int i=42;}
++int main ()
++{
++  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
++  int status = $lt_dlunknown;
++
++  if (self)
++    {
++      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
++      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
++      /* dlclose (self); */
++    }
++
++    exit (status);
++}
++EOF
++  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
++    (./conftest; exit; ) 2>/dev/null
++    lt_status=$?
++    case x$lt_status in
++      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
++      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
++      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
++    esac
++  else :
++    # compilation failed
++    lt_cv_dlopen_self=no
++  fi
++fi
++rm -fr conftest*
++
++    
++fi
++echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
++echo "${ECHO_T}$lt_cv_dlopen_self" >&6
++
++    if test "x$lt_cv_dlopen_self" = xyes; then
++      LDFLAGS="$LDFLAGS $link_static_flag"
++      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
++echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
++if test "${lt_cv_dlopen_self_static+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  	  if test "$cross_compiling" = yes; then :
++  lt_cv_dlopen_self_static=cross
++else
++  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
++  lt_status=$lt_dlunknown
++  cat > conftest.$ac_ext <<EOF
++#line __oline__ "configure"
++#include "confdefs.h"
++
++#if HAVE_DLFCN_H
++#include <dlfcn.h>
++#endif
++
++#include <stdio.h>
++
++#ifdef RTLD_GLOBAL
++#  define LT_DLGLOBAL		RTLD_GLOBAL
++#else
++#  ifdef DL_GLOBAL
++#    define LT_DLGLOBAL		DL_GLOBAL
++#  else
++#    define LT_DLGLOBAL		0
++#  endif
++#endif
++
++/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
++   find out it does not work in some platform. */
++#ifndef LT_DLLAZY_OR_NOW
++#  ifdef RTLD_LAZY
++#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
++#  else
++#    ifdef DL_LAZY
++#      define LT_DLLAZY_OR_NOW		DL_LAZY
++#    else
++#      ifdef RTLD_NOW
++#        define LT_DLLAZY_OR_NOW	RTLD_NOW
++#      else
++#        ifdef DL_NOW
++#          define LT_DLLAZY_OR_NOW	DL_NOW
++#        else
++#          define LT_DLLAZY_OR_NOW	0
++#        endif
++#      endif
++#    endif
++#  endif
++#endif
++
++#ifdef __cplusplus
++extern "C" void exit (int);
++#endif
++
++void fnord() { int i=42;}
++int main ()
++{
++  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
++  int status = $lt_dlunknown;
++
++  if (self)
++    {
++      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
++      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
++      /* dlclose (self); */
++    }
++
++    exit (status);
++}
++EOF
++  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
++    (./conftest; exit; ) 2>/dev/null
++    lt_status=$?
++    case x$lt_status in
++      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
++      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
++      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
++    esac
++  else :
++    # compilation failed
++    lt_cv_dlopen_self_static=no
++  fi
++fi
++rm -fr conftest*
++
++      
++fi
++echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
++echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
++    fi
++
++    CPPFLAGS="$save_CPPFLAGS"
++    LDFLAGS="$save_LDFLAGS"
++    LIBS="$save_LIBS"
++    ;;
++  esac
++
++  case $lt_cv_dlopen_self in
++  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
++  *) enable_dlopen_self=unknown ;;
++  esac
++
++  case $lt_cv_dlopen_self_static in
++  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
++  *) enable_dlopen_self_static=unknown ;;
++  esac
++fi
++
++
++# The else clause should only fire when bootstrapping the
++# libtool distribution, otherwise you forgot to ship ltmain.sh
++# with your package, and you will get complaints that there are
++# no rules to generate ltmain.sh.
++if test -f "$ltmain"; then
++  # See if we are running on zsh, and set the options which allow our commands through
++  # without removal of \ escapes.
++  if test -n "${ZSH_VERSION+set}" ; then
++    setopt NO_GLOB_SUBST
++  fi
++  # Now quote all the things that may contain metacharacters while being
++  # careful not to overquote the AC_SUBSTed values.  We take copies of the
++  # variables and quote the copies for generation of the libtool script.
++  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
++    SED SHELL STRIP \
++    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
++    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
++    deplibs_check_method reload_flag reload_cmds need_locks \
++    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
++    lt_cv_sys_global_symbol_to_c_name_address \
++    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
++    old_postinstall_cmds old_postuninstall_cmds \
++    compiler_CXX \
++    CC_CXX \
++    LD_CXX \
++    lt_prog_compiler_wl_CXX \
++    lt_prog_compiler_pic_CXX \
++    lt_prog_compiler_static_CXX \
++    lt_prog_compiler_no_builtin_flag_CXX \
++    export_dynamic_flag_spec_CXX \
++    thread_safe_flag_spec_CXX \
++    whole_archive_flag_spec_CXX \
++    enable_shared_with_static_runtimes_CXX \
++    old_archive_cmds_CXX \
++    old_archive_from_new_cmds_CXX \
++    predep_objects_CXX \
++    postdep_objects_CXX \
++    predeps_CXX \
++    postdeps_CXX \
++    compiler_lib_search_path_CXX \
++    archive_cmds_CXX \
++    archive_expsym_cmds_CXX \
++    postinstall_cmds_CXX \
++    postuninstall_cmds_CXX \
++    old_archive_from_expsyms_cmds_CXX \
++    allow_undefined_flag_CXX \
++    no_undefined_flag_CXX \
++    export_symbols_cmds_CXX \
++    hardcode_libdir_flag_spec_CXX \
++    hardcode_libdir_flag_spec_ld_CXX \
++    hardcode_libdir_separator_CXX \
++    hardcode_automatic_CXX \
++    module_cmds_CXX \
++    module_expsym_cmds_CXX \
++    lt_cv_prog_compiler_c_o_CXX \
++    exclude_expsyms_CXX \
++    include_expsyms_CXX; do
++
++    case $var in
++    old_archive_cmds_CXX | \
++    old_archive_from_new_cmds_CXX | \
++    archive_cmds_CXX | \
++    archive_expsym_cmds_CXX | \
++    module_cmds_CXX | \
++    module_expsym_cmds_CXX | \
++    old_archive_from_expsyms_cmds_CXX | \
++    export_symbols_cmds_CXX | \
++    extract_expsyms_cmds | reload_cmds | finish_cmds | \
++    postinstall_cmds | postuninstall_cmds | \
++    old_postinstall_cmds | old_postuninstall_cmds | \
++    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
++      # Double-quote double-evaled strings.
++      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
++      ;;
++    *)
++      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
++      ;;
++    esac
++  done
++
++  case $lt_echo in
++  *'\$0 --fallback-echo"')
++    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
++    ;;
++  esac
++
++cfgfile="$ofile"
++
++  cat <<__EOF__ >> "$cfgfile"
++# ### BEGIN LIBTOOL TAG CONFIG: $tagname
++
++# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
++
++# Shell to use when invoking shell scripts.
++SHELL=$lt_SHELL
++
++# Whether or not to build shared libraries.
++build_libtool_libs=$enable_shared
++
++# Whether or not to build static libraries.
++build_old_libs=$enable_static
++
++# Whether or not to add -lc for building shared libraries.
++build_libtool_need_lc=$archive_cmds_need_lc_CXX
++
++# Whether or not to disallow shared libs when runtime libs are static
++allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
++
++# Whether or not to optimize for fast installation.
++fast_install=$enable_fast_install
++
++# The host system.
++host_alias=$host_alias
++host=$host
++
++# An echo program that does not interpret backslashes.
++echo=$lt_echo
++
++# The archiver.
++AR=$lt_AR
++AR_FLAGS=$lt_AR_FLAGS
++
++# A C compiler.
++LTCC=$lt_LTCC
++
++# A language-specific compiler.
++CC=$lt_compiler_CXX
++
++# Is the compiler the GNU C compiler?
++with_gcc=$GCC_CXX
++
++# An ERE matcher.
++EGREP=$lt_EGREP
++
++# The linker used to build libraries.
++LD=$lt_LD_CXX
++
++# Whether we need hard or soft links.
++LN_S=$lt_LN_S
++
++# A BSD-compatible nm program.
++NM=$lt_NM
++
++# A symbol stripping program
++STRIP=$lt_STRIP
++
++# Used to examine libraries when file_magic_cmd begins "file"
++MAGIC_CMD=$MAGIC_CMD
++
++# Used on cygwin: DLL creation program.
++DLLTOOL="$DLLTOOL"
++
++# Used on cygwin: object dumper.
++OBJDUMP="$OBJDUMP"
++
++# Used on cygwin: assembler.
++AS="$AS"
++
++# The name of the directory that contains temporary libtool files.
++objdir=$objdir
++
++# How to create reloadable object files.
++reload_flag=$lt_reload_flag
++reload_cmds=$lt_reload_cmds
++
++# How to pass a linker flag through the compiler.
++wl=$lt_lt_prog_compiler_wl_CXX
++
++# Object file suffix (normally "o").
++objext="$ac_objext"
++
++# Old archive suffix (normally "a").
++libext="$libext"
++
++# Shared library suffix (normally ".so").
++shrext_cmds='$shrext_cmds'
++
++# Executable file suffix (normally "").
++exeext="$exeext"
++
++# Additional compiler flags for building library objects.
++pic_flag=$lt_lt_prog_compiler_pic_CXX
++pic_mode=$pic_mode
++
++# What is the maximum length of a command?
++max_cmd_len=$lt_cv_sys_max_cmd_len
++
++# Does compiler simultaneously support -c and -o options?
++compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
++
++# Must we lock files when doing compilation ?
++need_locks=$lt_need_locks
++
++# Do we need the lib prefix for modules?
++need_lib_prefix=$need_lib_prefix
++
++# Do we need a version for libraries?
++need_version=$need_version
++
++# Whether dlopen is supported.
++dlopen_support=$enable_dlopen
++
++# Whether dlopen of programs is supported.
++dlopen_self=$enable_dlopen_self
++
++# Whether dlopen of statically linked programs is supported.
++dlopen_self_static=$enable_dlopen_self_static
++
++# Compiler flag to prevent dynamic linking.
++link_static_flag=$lt_lt_prog_compiler_static_CXX
++
++# Compiler flag to turn off builtin functions.
++no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
++
++# Compiler flag to allow reflexive dlopens.
++export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
++
++# Compiler flag to generate shared objects directly from archives.
++whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
++
++# Compiler flag to generate thread-safe objects.
++thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
++
++# Library versioning type.
++version_type=$version_type
++
++# Format of library name prefix.
++libname_spec=$lt_libname_spec
++
++# List of archive names.  First name is the real one, the rest are links.
++# The last name is the one that the linker finds with -lNAME.
++library_names_spec=$lt_library_names_spec
++
++# The coded name of the library, if different from the real name.
++soname_spec=$lt_soname_spec
++
++# Commands used to build and install an old-style archive.
++RANLIB=$lt_RANLIB
++old_archive_cmds=$lt_old_archive_cmds_CXX
++old_postinstall_cmds=$lt_old_postinstall_cmds
++old_postuninstall_cmds=$lt_old_postuninstall_cmds
++
++# Create an old-style archive from a shared archive.
++old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
++
++# Create a temporary old-style archive to link instead of a shared archive.
++old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
++
++# Commands used to build and install a shared archive.
++archive_cmds=$lt_archive_cmds_CXX
++archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
++postinstall_cmds=$lt_postinstall_cmds
++postuninstall_cmds=$lt_postuninstall_cmds
++
++# Commands used to build a loadable module (assumed same as above if empty)
++module_cmds=$lt_module_cmds_CXX
++module_expsym_cmds=$lt_module_expsym_cmds_CXX
++
++# Commands to strip libraries.
++old_striplib=$lt_old_striplib
++striplib=$lt_striplib
++
++# Dependencies to place before the objects being linked to create a
++# shared library.
++predep_objects=$lt_predep_objects_CXX
++
++# Dependencies to place after the objects being linked to create a
++# shared library.
++postdep_objects=$lt_postdep_objects_CXX
++
++# Dependencies to place before the objects being linked to create a
++# shared library.
++predeps=$lt_predeps_CXX
++
++# Dependencies to place after the objects being linked to create a
++# shared library.
++postdeps=$lt_postdeps_CXX
++
++# The library search path used internally by the compiler when linking
++# a shared library.
++compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
++
++# Method to check whether dependent libraries are shared objects.
++deplibs_check_method=$lt_deplibs_check_method
++
++# Command to use when deplibs_check_method == file_magic.
++file_magic_cmd=$lt_file_magic_cmd
++
++# Flag that allows shared libraries with undefined symbols to be built.
++allow_undefined_flag=$lt_allow_undefined_flag_CXX
++
++# Flag that forces no undefined symbols.
++no_undefined_flag=$lt_no_undefined_flag_CXX
++
++# Commands used to finish a libtool library installation in a directory.
++finish_cmds=$lt_finish_cmds
++
++# Same as above, but a single script fragment to be evaled but not shown.
++finish_eval=$lt_finish_eval
++
++# Take the output of nm and produce a listing of raw symbols and C names.
++global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
++
++# Transform the output of nm in a proper C declaration
++global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
++
++# Transform the output of nm in a C name address pair
++global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
++
++# This is the shared library runtime path variable.
++runpath_var=$runpath_var
++
++# This is the shared library path variable.
++shlibpath_var=$shlibpath_var
++
++# Is shlibpath searched before the hard-coded library search path?
++shlibpath_overrides_runpath=$shlibpath_overrides_runpath
++
++# How to hardcode a shared library path into an executable.
++hardcode_action=$hardcode_action_CXX
++
++# Whether we should hardcode library paths into libraries.
++hardcode_into_libs=$hardcode_into_libs
++
++# Flag to hardcode \$libdir into a binary during linking.
++# This must work even if \$libdir does not exist.
++hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
++
++# If ld is used when linking, flag to hardcode \$libdir into
++# a binary during linking. This must work even if \$libdir does
++# not exist.
++hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
++
++# Whether we need a single -rpath flag with a separated argument.
++hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
++
++# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
++# resulting binary.
++hardcode_direct=$hardcode_direct_CXX
++
++# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
++# resulting binary.
++hardcode_minus_L=$hardcode_minus_L_CXX
++
++# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
++# the resulting binary.
++hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
++
++# Set to yes if building a shared library automatically hardcodes DIR into the library
++# and all subsequent libraries and executables linked against it.
++hardcode_automatic=$hardcode_automatic_CXX
++
++# Variables whose values should be saved in libtool wrapper scripts and
++# restored at relink time.
++variables_saved_for_relink="$variables_saved_for_relink"
++
++# Whether libtool must link a program against all its dependency libraries.
++link_all_deplibs=$link_all_deplibs_CXX
++
++# Compile-time system search path for libraries
++sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
++
++# Run-time system search path for libraries
++sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
++
++# Fix the shell variable \$srcfile for the compiler.
++fix_srcfile_path="$fix_srcfile_path_CXX"
++
++# Set to yes if exported symbols are required.
++always_export_symbols=$always_export_symbols_CXX
++
++# The commands to list exported symbols.
++export_symbols_cmds=$lt_export_symbols_cmds_CXX
++
++# The commands to extract the exported symbol list from a shared archive.
++extract_expsyms_cmds=$lt_extract_expsyms_cmds
++
++# Symbols that should not be listed in the preloaded symbols.
++exclude_expsyms=$lt_exclude_expsyms_CXX
++
++# Symbols that must always be exported.
++include_expsyms=$lt_include_expsyms_CXX
++
++# ### END LIBTOOL TAG CONFIG: $tagname
++
++__EOF__
++
++
++else
++  # If there is no Makefile yet, we rely on a make rule to execute
++  # `config.status --recheck' to rerun these tests and create the
++  # libtool script then.
++  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
++  if test -f "$ltmain_in"; then
++    test -f Makefile && make "$ltmain"
++  fi
++fi
++
++
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++CC=$lt_save_CC
++LDCXX=$LD
++LD=$lt_save_LD
++GCC=$lt_save_GCC
++with_gnu_ldcxx=$with_gnu_ld
++with_gnu_ld=$lt_save_with_gnu_ld
++lt_cv_path_LDCXX=$lt_cv_path_LD
++lt_cv_path_LD=$lt_save_path_LD
++lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
++lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
++
++	else
++	  tagname=""
++	fi
++	;;
++
++      F77)
++	if test -n "$F77" && test "X$F77" != "Xno"; then
++	  
++ac_ext=f
++ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
++ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_f77_compiler_gnu
++
++
++archive_cmds_need_lc_F77=no
++allow_undefined_flag_F77=
++always_export_symbols_F77=no
++archive_expsym_cmds_F77=
++export_dynamic_flag_spec_F77=
++hardcode_direct_F77=no
++hardcode_libdir_flag_spec_F77=
++hardcode_libdir_flag_spec_ld_F77=
++hardcode_libdir_separator_F77=
++hardcode_minus_L_F77=no
++hardcode_automatic_F77=no
++module_cmds_F77=
++module_expsym_cmds_F77=
++link_all_deplibs_F77=unknown
++old_archive_cmds_F77=$old_archive_cmds
++no_undefined_flag_F77=
++whole_archive_flag_spec_F77=
++enable_shared_with_static_runtimes_F77=no
++
++# Source file extension for f77 test sources.
++ac_ext=f
++
++# Object file extension for compiled f77 test sources.
++objext=o
++objext_F77=$objext
++
++# Code to be used in simple compile tests
++lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
++
++# Code to be used in simple link tests
++lt_simple_link_test_code="      program t\n      end\n"
++
++# ltmain only uses $CC for tagged configurations so make sure $CC is set.
++
++# If no C compiler was specified, use CC.
++LTCC=${LTCC-"$CC"}
++
++# Allow CC to be a program name with arguments.
++compiler=$CC
++
++
++# Allow CC to be a program name with arguments.
++lt_save_CC="$CC"
++CC=${F77-"f77"}
++compiler=$CC
++compiler_F77=$CC
++cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
++
++echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
++echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
++echo "$as_me:$LINENO: result: $can_build_shared" >&5
++echo "${ECHO_T}$can_build_shared" >&6
++
++echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
++echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
++test "$can_build_shared" = "no" && enable_shared=no
++
++# On AIX, shared libraries and static libraries use the same namespace, and
++# are all built from PIC.
++case "$host_os" in
++aix3*)
++  test "$enable_shared" = yes && enable_static=no
++  if test -n "$RANLIB"; then
++    archive_cmds="$archive_cmds~\$RANLIB \$lib"
++    postinstall_cmds='$RANLIB $lib'
++  fi
++  ;;
++aix4* | aix5*)
++  test "$enable_shared" = yes && enable_static=no
++  ;;
++esac
++echo "$as_me:$LINENO: result: $enable_shared" >&5
++echo "${ECHO_T}$enable_shared" >&6
++
++echo "$as_me:$LINENO: checking whether to build static libraries" >&5
++echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
++# Make sure either enable_shared or enable_static is yes.
++test "$enable_shared" = yes || enable_static=yes
++echo "$as_me:$LINENO: result: $enable_static" >&5
++echo "${ECHO_T}$enable_static" >&6
++
++test "$ld_shlibs_F77" = no && can_build_shared=no
++
++GCC_F77="$G77"
++LD_F77="$LD"
++
++lt_prog_compiler_wl_F77=
++lt_prog_compiler_pic_F77=
++lt_prog_compiler_static_F77=
++
++echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
++echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
++ 
++  if test "$GCC" = yes; then
++    lt_prog_compiler_wl_F77='-Wl,'
++    lt_prog_compiler_static_F77='-static'
++
++    case $host_os in
++      aix*)
++      # All AIX code is PIC.
++      if test "$host_cpu" = ia64; then
++	# AIX 5 now supports IA64 processor
++	lt_prog_compiler_static_F77='-Bstatic'
++      fi
++      ;;
++
++    amigaos*)
++      # FIXME: we need at least 68020 code to build shared libraries, but
++      # adding the `-m68020' flag to GCC prevents building anything better,
++      # like `-m68040'.
++      lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
++      ;;
++
++    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
++      # PIC is the default for these OSes.
++      ;;
++
++    mingw* | pw32* | os2*)
++      # This hack is so that the source file can tell whether it is being
++      # built for inclusion in a dll (and should export symbols for example).
++      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
++      ;;
++
++    darwin* | rhapsody*)
++      # PIC is the default on this platform
++      # Common symbols not allowed in MH_DYLIB files
++      lt_prog_compiler_pic_F77='-fno-common'
++      ;;
++
++    msdosdjgpp*)
++      # Just because we use GCC doesn't mean we suddenly get shared libraries
++      # on systems that don't support them.
++      lt_prog_compiler_can_build_shared_F77=no
++      enable_shared=no
++      ;;
++
++    sysv4*MP*)
++      if test -d /usr/nec; then
++	lt_prog_compiler_pic_F77=-Kconform_pic
++      fi
++      ;;
++
++    hpux*)
++      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
++      # not for PA HP-UX.
++      case "$host_cpu" in
++      hppa*64*|ia64*)
++	# +Z the default
++	;;
++      *)
++	lt_prog_compiler_pic_F77='-fPIC'
++	;;
++      esac
++      ;;
++
++    *)
++      lt_prog_compiler_pic_F77='-fPIC'
++      ;;
++    esac
++  else
++    # PORTME Check for flag to pass linker flags through the system compiler.
++    case $host_os in
++    aix*)
++      lt_prog_compiler_wl_F77='-Wl,'
++      if test "$host_cpu" = ia64; then
++	# AIX 5 now supports IA64 processor
++	lt_prog_compiler_static_F77='-Bstatic'
++      else
++	lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
++      fi
++      ;;
++
++    mingw* | pw32* | os2*)
++      # This hack is so that the source file can tell whether it is being
++      # built for inclusion in a dll (and should export symbols for example).
++      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
++      ;;
++
++    hpux9* | hpux10* | hpux11*)
++      lt_prog_compiler_wl_F77='-Wl,'
++      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
++      # not for PA HP-UX.
++      case "$host_cpu" in
++      hppa*64*|ia64*)
++	# +Z the default
++	;;
++      *)
++	lt_prog_compiler_pic_F77='+Z'
++	;;
++      esac
++      # Is there a better lt_prog_compiler_static that works with the bundled CC?
++      lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
++      ;;
++
++    irix5* | irix6* | nonstopux*)
++      lt_prog_compiler_wl_F77='-Wl,'
++      # PIC (with -KPIC) is the default.
++      lt_prog_compiler_static_F77='-non_shared'
++      ;;
++
++    newsos6)
++      lt_prog_compiler_pic_F77='-KPIC'
++      lt_prog_compiler_static_F77='-Bstatic'
++      ;;
++
++    linux*)
++      case $CC in
++      icc* | ecc*)
++	lt_prog_compiler_wl_F77='-Wl,'
++	lt_prog_compiler_pic_F77='-KPIC'
++	lt_prog_compiler_static_F77='-static'
++        ;;
++      ccc*)
++        lt_prog_compiler_wl_F77='-Wl,'
++        # All Alpha code is PIC.
++        lt_prog_compiler_static_F77='-non_shared'
++        ;;
++      esac
++      ;;
++
++    osf3* | osf4* | osf5*)
++      lt_prog_compiler_wl_F77='-Wl,'
++      # All OSF/1 code is PIC.
++      lt_prog_compiler_static_F77='-non_shared'
++      ;;
++
++    sco3.2v5*)
++      lt_prog_compiler_pic_F77='-Kpic'
++      lt_prog_compiler_static_F77='-dn'
++      ;;
++
++    solaris*)
++      lt_prog_compiler_wl_F77='-Wl,'
++      lt_prog_compiler_pic_F77='-KPIC'
++      lt_prog_compiler_static_F77='-Bstatic'
++      ;;
++
++    sunos4*)
++      lt_prog_compiler_wl_F77='-Qoption ld '
++      lt_prog_compiler_pic_F77='-PIC'
++      lt_prog_compiler_static_F77='-Bstatic'
++      ;;
++
++    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
++      lt_prog_compiler_wl_F77='-Wl,'
++      lt_prog_compiler_pic_F77='-KPIC'
++      lt_prog_compiler_static_F77='-Bstatic'
++      ;;
++
++    sysv4*MP*)
++      if test -d /usr/nec ;then
++	lt_prog_compiler_pic_F77='-Kconform_pic'
++	lt_prog_compiler_static_F77='-Bstatic'
++      fi
++      ;;
++
++    uts4*)
++      lt_prog_compiler_pic_F77='-pic'
++      lt_prog_compiler_static_F77='-Bstatic'
++      ;;
++
++    *)
++      lt_prog_compiler_can_build_shared_F77=no
++      ;;
++    esac
++  fi
++
++echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
++echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
++
++#
++# Check to make sure the PIC flag actually works.
++#
++if test -n "$lt_prog_compiler_pic_F77"; then
++  
++echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
++echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
++if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  lt_prog_compiler_pic_works_F77=no
++  ac_outfile=conftest.$ac_objext
++   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
++   lt_compiler_flag="$lt_prog_compiler_pic_F77"
++   # Insert the option either (1) after the last *FLAGS variable, or
++   # (2) before a word containing "conftest.", or (3) at the end.
++   # Note that $ac_compile itself does not contain backslashes and begins
++   # with a dollar sign (not a hyphen), so the echo should work correctly.
++   # The option is referenced via a variable to avoid confusing sed.
++   lt_compile=`echo "$ac_compile" | $SED \
++   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
++   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
++   -e 's:$: $lt_compiler_flag:'`
++   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
++   (eval "$lt_compile" 2>conftest.err)
++   ac_status=$?
++   cat conftest.err >&5
++   echo "$as_me:__oline__: \$? = $ac_status" >&5
++   if (exit $ac_status) && test -s "$ac_outfile"; then
++     # The compiler can only warn and ignore the option if not recognized
++     # So say no if there are warnings
++     if test ! -s conftest.err; then
++       lt_prog_compiler_pic_works_F77=yes
++     fi
++   fi
++   $rm conftest*
++
++fi
++echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
++echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
++
++if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
++    case $lt_prog_compiler_pic_F77 in
++     "" | " "*) ;;
++     *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
++     esac
++else
++    lt_prog_compiler_pic_F77=
++     lt_prog_compiler_can_build_shared_F77=no
++fi
++
++fi
++case "$host_os" in
++  # For platforms which do not support PIC, -DPIC is meaningless:
++  *djgpp*)
++    lt_prog_compiler_pic_F77=
++    ;;
++  *)
++    lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
++    ;;
++esac
++
++echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
++echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
++if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  lt_cv_prog_compiler_c_o_F77=no
++   $rm -r conftest 2>/dev/null
++   mkdir conftest
++   cd conftest
++   mkdir out
++   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
++
++   lt_compiler_flag="-o out/conftest2.$ac_objext"
++   # Insert the option either (1) after the last *FLAGS variable, or
++   # (2) before a word containing "conftest.", or (3) at the end.
++   # Note that $ac_compile itself does not contain backslashes and begins
++   # with a dollar sign (not a hyphen), so the echo should work correctly.
++   lt_compile=`echo "$ac_compile" | $SED \
++   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
++   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
++   -e 's:$: $lt_compiler_flag:'`
++   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
++   (eval "$lt_compile" 2>out/conftest.err)
++   ac_status=$?
++   cat out/conftest.err >&5
++   echo "$as_me:__oline__: \$? = $ac_status" >&5
++   if (exit $ac_status) && test -s out/conftest2.$ac_objext
++   then
++     # The compiler can only warn and ignore the option if not recognized
++     # So say no if there are warnings
++     if test ! -s out/conftest.err; then
++       lt_cv_prog_compiler_c_o_F77=yes
++     fi
++   fi
++   chmod u+w .
++   $rm conftest*
++   # SGI C++ compiler will create directory out/ii_files/ for
++   # template instantiation
++   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
++   $rm out/* && rmdir out
++   cd ..
++   rmdir conftest
++   $rm conftest*
++
++fi
++echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
++echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
++
++
++hard_links="nottested"
++if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
++  # do not overwrite the value of need_locks provided by the user
++  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
++echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
++  hard_links=yes
++  $rm conftest*
++  ln conftest.a conftest.b 2>/dev/null && hard_links=no
++  touch conftest.a
++  ln conftest.a conftest.b 2>&5 || hard_links=no
++  ln conftest.a conftest.b 2>/dev/null && hard_links=no
++  echo "$as_me:$LINENO: result: $hard_links" >&5
++echo "${ECHO_T}$hard_links" >&6
++  if test "$hard_links" = no; then
++    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
++echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
++    need_locks=warn
++  fi
++else
++  need_locks=no
++fi
++
++echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
++echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
++
++  runpath_var=
++  allow_undefined_flag_F77=
++  enable_shared_with_static_runtimes_F77=no
++  archive_cmds_F77=
++  archive_expsym_cmds_F77=
++  old_archive_From_new_cmds_F77=
++  old_archive_from_expsyms_cmds_F77=
++  export_dynamic_flag_spec_F77=
++  whole_archive_flag_spec_F77=
++  thread_safe_flag_spec_F77=
++  hardcode_libdir_flag_spec_F77=
++  hardcode_libdir_flag_spec_ld_F77=
++  hardcode_libdir_separator_F77=
++  hardcode_direct_F77=no
++  hardcode_minus_L_F77=no
++  hardcode_shlibpath_var_F77=unsupported
++  link_all_deplibs_F77=unknown
++  hardcode_automatic_F77=no
++  module_cmds_F77=
++  module_expsym_cmds_F77=
++  always_export_symbols_F77=no
++  export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
++  # include_expsyms should be a list of space-separated symbols to be *always*
++  # included in the symbol list
++  include_expsyms_F77=
++  # exclude_expsyms can be an extended regexp of symbols to exclude
++  # it will be wrapped by ` (' and `)$', so one must not match beginning or
++  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
++  # as well as any symbol that contains `d'.
++  exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
++  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
++  # platforms (ab)use it in PIC code, but their linkers get confused if
++  # the symbol is explicitly referenced.  Since portable code cannot
++  # rely on this symbol name, it's probably fine to never include it in
++  # preloaded symbol tables.
++  extract_expsyms_cmds=
++
++  case $host_os in
++  cygwin* | mingw* | pw32*)
++    # FIXME: the MSVC++ port hasn't been tested in a loooong time
++    # When not using gcc, we currently assume that we are using
++    # Microsoft Visual C++.
++    if test "$GCC" != yes; then
++      with_gnu_ld=no
++    fi
++    ;;
++  openbsd*)
++    with_gnu_ld=no
++    ;;
++  esac
++
++  ld_shlibs_F77=yes
++  if test "$with_gnu_ld" = yes; then
++    # If archive_cmds runs LD, not CC, wlarc should be empty
++    wlarc='${wl}'
++
++    # See if GNU ld supports shared libraries.
++    case $host_os in
++    aix3* | aix4* | aix5*)
++      # On AIX/PPC, the GNU linker is very broken
++      if test "$host_cpu" != ia64; then
++	ld_shlibs_F77=no
++	cat <<EOF 1>&2
++
++*** Warning: the GNU linker, at least up to release 2.9.1, is reported
++*** to be unable to reliably create shared libraries on AIX.
++*** Therefore, libtool is disabling shared libraries support.  If you
++*** really care for shared libraries, you may want to modify your PATH
++*** so that a non-GNU linker is found, and then restart.
++
++EOF
++      fi
++      ;;
++
++    amigaos*)
++      archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
++      hardcode_libdir_flag_spec_F77='-L$libdir'
++      hardcode_minus_L_F77=yes
++
++      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
++      # that the semantics of dynamic libraries on AmigaOS, at least up
++      # to version 4, is to share data among multiple programs linked
++      # with the same dynamic library.  Since this doesn't match the
++      # behavior of shared libraries on other platforms, we can't use
++      # them.
++      ld_shlibs_F77=no
++      ;;
++
++    beos*)
++      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
++	allow_undefined_flag_F77=unsupported
++	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
++	# support --undefined.  This deserves some investigation.  FIXME
++	archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++      else
++	ld_shlibs_F77=no
++      fi
++      ;;
++
++    cygwin* | mingw* | pw32*)
++      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
++      # as there is no search path for DLLs.
++      hardcode_libdir_flag_spec_F77='-L$libdir'
++      allow_undefined_flag_F77=unsupported
++      always_export_symbols_F77=no
++      enable_shared_with_static_runtimes_F77=yes
++      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
++
++      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
++        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
++	# If the export-symbols file already is a .def file (1st line
++	# is EXPORTS), use it as is; otherwise, prepend...
++	archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
++	  cp $export_symbols $output_objdir/$soname.def;
++	else
++	  echo EXPORTS > $output_objdir/$soname.def;
++	  cat $export_symbols >> $output_objdir/$soname.def;
++	fi~
++	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
++      else
++	ld_shlibs=no
++      fi
++      ;;
++
++    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
++      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++	archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
++	wlarc=
++      else
++	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++      fi
++      ;;
++
++    solaris* | sysv5*)
++      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
++	ld_shlibs_F77=no
++	cat <<EOF 1>&2
++
++*** Warning: The releases 2.8.* of the GNU linker cannot reliably
++*** create shared libraries on Solaris systems.  Therefore, libtool
++*** is disabling shared libraries support.  We urge you to upgrade GNU
++*** binutils to release 2.9.1 or newer.  Another option is to modify
++*** your PATH or compiler configuration so that the native linker is
++*** used, and then restart.
++
++EOF
++      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
++	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++      else
++	ld_shlibs_F77=no
++      fi
++      ;;
++
++    sunos4*)
++      archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++      wlarc=
++      hardcode_direct_F77=yes
++      hardcode_shlibpath_var_F77=no
++      ;;
++
++  linux*)
++    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
++        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++	archive_cmds_F77="$tmp_archive_cmds"
++      supports_anon_versioning=no
++      case `$LD -v 2>/dev/null` in
++        *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
++        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
++        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
++        *\ 2.11.*) ;; # other 2.11 versions
++        *) supports_anon_versioning=yes ;;
++      esac
++      if test $supports_anon_versioning = yes; then
++        archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
++cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
++$echo "local: *; };" >> $output_objdir/$libname.ver~
++        $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
++      else
++        archive_expsym_cmds_F77="$tmp_archive_cmds"
++      fi
++      link_all_deplibs_F77=no
++    else
++      ld_shlibs_F77=no
++    fi
++    ;;
++
++    *)
++      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
++	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++      else
++	ld_shlibs_F77=no
++      fi
++      ;;
++    esac
++
++    if test "$ld_shlibs_F77" = yes; then
++      runpath_var=LD_RUN_PATH
++      hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
++      export_dynamic_flag_spec_F77='${wl}--export-dynamic'
++      # ancient GNU ld didn't support --whole-archive et. al.
++      if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
++ 	whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
++      else
++  	whole_archive_flag_spec_F77=
++      fi
++    fi
++  else
++    # PORTME fill in a description of your system's linker (not GNU ld)
++    case $host_os in
++    aix3*)
++      allow_undefined_flag_F77=unsupported
++      always_export_symbols_F77=yes
++      archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
++      # Note: this linker hardcodes the directories in LIBPATH if there
++      # are no directories specified by -L.
++      hardcode_minus_L_F77=yes
++      if test "$GCC" = yes && test -z "$link_static_flag"; then
++	# Neither direct hardcoding nor static linking is supported with a
++	# broken collect2.
++	hardcode_direct_F77=unsupported
++      fi
++      ;;
++
++    aix4* | aix5*)
++      if test "$host_cpu" = ia64; then
++	# On IA64, the linker does run time linking by default, so we don't
++	# have to do anything special.
++	aix_use_runtimelinking=no
++	exp_sym_flag='-Bexport'
++	no_entry_flag=""
++      else
++	# If we're using GNU nm, then we don't want the "-C" option.
++	# -C means demangle to AIX nm, but means don't demangle with GNU nm
++	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
++	  export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
++	else
++	  export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
++	fi
++	aix_use_runtimelinking=no
++
++	# Test if we are trying to use run time linking or normal
++	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
++	# need to do runtime linking.
++	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
++	  for ld_flag in $LDFLAGS; do
++  	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
++  	    aix_use_runtimelinking=yes
++  	    break
++  	  fi
++	  done
++	esac
++
++	exp_sym_flag='-bexport'
++	no_entry_flag='-bnoentry'
++      fi
++
++      # When large executables or shared objects are built, AIX ld can
++      # have problems creating the table of contents.  If linking a library
++      # or program results in "error TOC overflow" add -mminimal-toc to
++      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
++      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
++
++      archive_cmds_F77=''
++      hardcode_direct_F77=yes
++      hardcode_libdir_separator_F77=':'
++      link_all_deplibs_F77=yes
++
++      if test "$GCC" = yes; then
++	case $host_os in aix4.012|aix4.012.*)
++	# We only want to do this on AIX 4.2 and lower, the check
++	# below for broken collect2 doesn't work under 4.3+
++	  collect2name=`${CC} -print-prog-name=collect2`
++	  if test -f "$collect2name" && \
++  	   strings "$collect2name" | grep resolve_lib_name >/dev/null
++	  then
++  	  # We have reworked collect2
++  	  hardcode_direct_F77=yes
++	  else
++  	  # We have old collect2
++  	  hardcode_direct_F77=unsupported
++  	  # It fails to find uninstalled libraries when the uninstalled
++  	  # path is not listed in the libpath.  Setting hardcode_minus_L
++  	  # to unsupported forces relinking
++  	  hardcode_minus_L_F77=yes
++  	  hardcode_libdir_flag_spec_F77='-L$libdir'
++  	  hardcode_libdir_separator_F77=
++	  fi
++	esac
++	shared_flag='-shared'
++      else
++	# not using gcc
++	if test "$host_cpu" = ia64; then
++  	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
++  	# chokes on -Wl,-G. The following line is correct:
++	  shared_flag='-G'
++	else
++  	if test "$aix_use_runtimelinking" = yes; then
++	    shared_flag='${wl}-G'
++	  else
++	    shared_flag='${wl}-bM:SRE'
++  	fi
++	fi
++      fi
++
++      # It seems that -bexpall does not export symbols beginning with
++      # underscore (_), so it is better to generate a list of symbols to export.
++      always_export_symbols_F77=yes
++      if test "$aix_use_runtimelinking" = yes; then
++	# Warning - without using the other runtime loading flags (-brtl),
++	# -berok will link without error, but may produce a broken library.
++	allow_undefined_flag_F77='-berok'
++       # Determine the default libpath from the value encoded in an empty executable.
++       cat >conftest.$ac_ext <<_ACEOF
++      program main
++
++      end
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_f77_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  
++aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
++}'`
++# Check for a 64-bit object if we didn't find anything.
++if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
++}'`; fi
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
++
++       hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
++	archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
++       else
++	if test "$host_cpu" = ia64; then
++	  hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
++	  allow_undefined_flag_F77="-z nodefs"
++	  archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
++	else
++	 # Determine the default libpath from the value encoded in an empty executable.
++	 cat >conftest.$ac_ext <<_ACEOF
++      program main
++
++      end
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_f77_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  
++aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
++}'`
++# Check for a 64-bit object if we didn't find anything.
++if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
++}'`; fi
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
++
++	 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
++	  # Warning - without using the other run time loading flags,
++	  # -berok will link without error, but may produce a broken library.
++	  no_undefined_flag_F77=' ${wl}-bernotok'
++	  allow_undefined_flag_F77=' ${wl}-berok'
++	  # -bexpall does not export symbols beginning with underscore (_)
++	  always_export_symbols_F77=yes
++	  # Exported symbols can be pulled into shared objects from archives
++	  whole_archive_flag_spec_F77=' '
++	  archive_cmds_need_lc_F77=yes
++	  # This is similar to how AIX traditionally builds it's shared libraries.
++	  archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
++	fi
++      fi
++      ;;
++
++    amigaos*)
++      archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
++      hardcode_libdir_flag_spec_F77='-L$libdir'
++      hardcode_minus_L_F77=yes
++      # see comment about different semantics on the GNU ld section
++      ld_shlibs_F77=no
++      ;;
++
++    bsdi4*)
++      export_dynamic_flag_spec_F77=-rdynamic
++      ;;
++
++    cygwin* | mingw* | pw32*)
++      # When not using gcc, we currently assume that we are using
++      # Microsoft Visual C++.
++      # hardcode_libdir_flag_spec is actually meaningless, as there is
++      # no search path for DLLs.
++      hardcode_libdir_flag_spec_F77=' '
++      allow_undefined_flag_F77=unsupported
++      # Tell ltmain to make .lib files, not .a files.
++      libext=lib
++      # Tell ltmain to make .dll files, not .so files.
++      shrext_cmds=".dll"
++      # FIXME: Setting linknames here is a bad hack.
++      archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
++      # The linker will automatically build a .lib file if we build a DLL.
++      old_archive_From_new_cmds_F77='true'
++      # FIXME: Should let the user specify the lib program.
++      old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
++      fix_srcfile_path='`cygpath -w "$srcfile"`'
++      enable_shared_with_static_runtimes_F77=yes
++      ;;
++
++    darwin* | rhapsody*)
++    if test "$GXX" = yes ; then
++      archive_cmds_need_lc_F77=no
++      case "$host_os" in
++      rhapsody* | darwin1.[012])
++	allow_undefined_flag_F77='-undefined suppress'
++	;;
++      *) # Darwin 1.3 on
++      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
++      	allow_undefined_flag_F77='-flat_namespace -undefined suppress'
++      else
++        case ${MACOSX_DEPLOYMENT_TARGET} in
++          10.[012])
++            allow_undefined_flag_F77='-flat_namespace -undefined suppress'
++            ;;
++          10.*)
++            allow_undefined_flag_F77='-undefined dynamic_lookup'
++            ;;
++        esac
++      fi
++	;;
++      esac
++    	lt_int_apple_cc_single_mod=no
++    	output_verbose_link_cmd='echo'
++    	if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
++    	  lt_int_apple_cc_single_mod=yes
++    	fi
++    	if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
++    	  archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
++    	else
++        archive_cmds_F77='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
++      fi
++      module_cmds_F77='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
++      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
++        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
++          archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++        else
++          archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++        fi
++          module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++      hardcode_direct_F77=no
++      hardcode_automatic_F77=yes
++      hardcode_shlibpath_var_F77=unsupported
++      whole_archive_flag_spec_F77='-all_load $convenience'
++      link_all_deplibs_F77=yes
++    else
++      ld_shlibs_F77=no
++    fi
++      ;;
++
++    dgux*)
++      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_libdir_flag_spec_F77='-L$libdir'
++      hardcode_shlibpath_var_F77=no
++      ;;
++
++    freebsd1*)
++      ld_shlibs_F77=no
++      ;;
++
++    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
++    # support.  Future versions do this automatically, but an explicit c++rt0.o
++    # does not break anything, and helps significantly (at the cost of a little
++    # extra space).
++    freebsd2.2*)
++      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
++      hardcode_libdir_flag_spec_F77='-R$libdir'
++      hardcode_direct_F77=yes
++      hardcode_shlibpath_var_F77=no
++      ;;
++
++    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
++    freebsd2*)
++      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_direct_F77=yes
++      hardcode_minus_L_F77=yes
++      hardcode_shlibpath_var_F77=no
++      ;;
++
++    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
++    freebsd* | kfreebsd*-gnu)
++      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
++      hardcode_libdir_flag_spec_F77='-R$libdir'
++      hardcode_direct_F77=yes
++      hardcode_shlibpath_var_F77=no
++      ;;
++
++    hpux9*)
++      if test "$GCC" = yes; then
++	archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
++      else
++	archive_cmds_F77='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
++      fi
++      hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
++      hardcode_libdir_separator_F77=:
++      hardcode_direct_F77=yes
++
++      # hardcode_minus_L: Not really in the search PATH,
++      # but as the default location of the library.
++      hardcode_minus_L_F77=yes
++      export_dynamic_flag_spec_F77='${wl}-E'
++      ;;
++
++    hpux10* | hpux11*)
++      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
++	case "$host_cpu" in
++	hppa*64*|ia64*)
++	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++	  ;;
++	*)
++	  archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
++	  ;;
++	esac
++      else
++	case "$host_cpu" in
++	hppa*64*|ia64*)
++	  archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
++	  ;;
++	*)
++	  archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
++	  ;;
++	esac
++      fi
++      if test "$with_gnu_ld" = no; then
++	case "$host_cpu" in
++	hppa*64*)
++	  hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
++	  hardcode_libdir_flag_spec_ld_F77='+b $libdir'
++	  hardcode_libdir_separator_F77=:
++	  hardcode_direct_F77=no
++	  hardcode_shlibpath_var_F77=no
++	  ;;
++	ia64*)
++	  hardcode_libdir_flag_spec_F77='-L$libdir'
++	  hardcode_direct_F77=no
++	  hardcode_shlibpath_var_F77=no
++
++	  # hardcode_minus_L: Not really in the search PATH,
++	  # but as the default location of the library.
++	  hardcode_minus_L_F77=yes
++	  ;;
++	*)
++	  hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
++	  hardcode_libdir_separator_F77=:
++	  hardcode_direct_F77=yes
++	  export_dynamic_flag_spec_F77='${wl}-E'
++
++	  # hardcode_minus_L: Not really in the search PATH,
++	  # but as the default location of the library.
++	  hardcode_minus_L_F77=yes
++	  ;;
++	esac
++      fi
++      ;;
++
++    irix5* | irix6* | nonstopux*)
++      if test "$GCC" = yes; then
++	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++      else
++	archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
++	hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
++      fi
++      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
++      hardcode_libdir_separator_F77=:
++      link_all_deplibs_F77=yes
++      ;;
++
++    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
++      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++	archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
++      else
++	archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
++      fi
++      hardcode_libdir_flag_spec_F77='-R$libdir'
++      hardcode_direct_F77=yes
++      hardcode_shlibpath_var_F77=no
++      ;;
++
++    newsos6)
++      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_direct_F77=yes
++      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
++      hardcode_libdir_separator_F77=:
++      hardcode_shlibpath_var_F77=no
++      ;;
++
++    openbsd*)
++      hardcode_direct_F77=yes
++      hardcode_shlibpath_var_F77=no
++      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
++	archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
++	hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
++	export_dynamic_flag_spec_F77='${wl}-E'
++      else
++       case $host_os in
++	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
++	   archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++	   hardcode_libdir_flag_spec_F77='-R$libdir'
++	   ;;
++	 *)
++	   archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
++	   hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
++	   ;;
++       esac
++      fi
++      ;;
++
++    os2*)
++      hardcode_libdir_flag_spec_F77='-L$libdir'
++      hardcode_minus_L_F77=yes
++      allow_undefined_flag_F77=unsupported
++      archive_cmds_F77='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
++      old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
++      ;;
++
++    osf3*)
++      if test "$GCC" = yes; then
++	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
++	archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++      else
++	allow_undefined_flag_F77=' -expect_unresolved \*'
++	archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
++      fi
++      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
++      hardcode_libdir_separator_F77=:
++      ;;
++
++    osf4* | osf5*)	# as osf3* with the addition of -msym flag
++      if test "$GCC" = yes; then
++	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
++	archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++	hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
++      else
++	allow_undefined_flag_F77=' -expect_unresolved \*'
++	archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
++	archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
++	$LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
++
++	# Both c and cxx compiler support -rpath directly
++	hardcode_libdir_flag_spec_F77='-rpath $libdir'
++      fi
++      hardcode_libdir_separator_F77=:
++      ;;
++
++    sco3.2v5*)
++      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_shlibpath_var_F77=no
++      export_dynamic_flag_spec_F77='${wl}-Bexport'
++      runpath_var=LD_RUN_PATH
++      hardcode_runpath_var=yes
++      ;;
++
++    solaris*)
++      no_undefined_flag_F77=' -z text'
++      if test "$GCC" = yes; then
++	archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
++      else
++	archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
++	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++  	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
++      fi
++      hardcode_libdir_flag_spec_F77='-R$libdir'
++      hardcode_shlibpath_var_F77=no
++      case $host_os in
++      solaris2.[0-5] | solaris2.[0-5].*) ;;
++      *) # Supported since Solaris 2.6 (maybe 2.5.1?)
++	whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
++      esac
++      link_all_deplibs_F77=yes
++      ;;
++
++    sunos4*)
++      if test "x$host_vendor" = xsequent; then
++	# Use $CC to link under sequent, because it throws in some extra .o
++	# files that make .init and .fini sections work.
++	archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
++      else
++	archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
++      fi
++      hardcode_libdir_flag_spec_F77='-L$libdir'
++      hardcode_direct_F77=yes
++      hardcode_minus_L_F77=yes
++      hardcode_shlibpath_var_F77=no
++      ;;
++
++    sysv4)
++      case $host_vendor in
++	sni)
++	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++	  hardcode_direct_F77=yes # is this really true???
++	;;
++	siemens)
++	  ## LD is ld it makes a PLAMLIB
++	  ## CC just makes a GrossModule.
++	  archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
++	  reload_cmds_F77='$CC -r -o $output$reload_objs'
++	  hardcode_direct_F77=no
++        ;;
++	motorola)
++	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++	  hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
++	;;
++      esac
++      runpath_var='LD_RUN_PATH'
++      hardcode_shlibpath_var_F77=no
++      ;;
++
++    sysv4.3*)
++      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_shlibpath_var_F77=no
++      export_dynamic_flag_spec_F77='-Bexport'
++      ;;
++
++    sysv4*MP*)
++      if test -d /usr/nec; then
++	archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++	hardcode_shlibpath_var_F77=no
++	runpath_var=LD_RUN_PATH
++	hardcode_runpath_var=yes
++	ld_shlibs_F77=yes
++      fi
++      ;;
++
++    sysv4.2uw2*)
++      archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_direct_F77=yes
++      hardcode_minus_L_F77=no
++      hardcode_shlibpath_var_F77=no
++      hardcode_runpath_var=yes
++      runpath_var=LD_RUN_PATH
++      ;;
++
++   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
++      no_undefined_flag_F77='${wl}-z ${wl}text'
++      if test "$GCC" = yes; then
++	archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++      else
++	archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++      fi
++      runpath_var='LD_RUN_PATH'
++      hardcode_shlibpath_var_F77=no
++      ;;
++
++    sysv5*)
++      no_undefined_flag_F77=' -z text'
++      # $CC -shared without GNU ld will not create a library from C++
++      # object files and a static libstdc++, better avoid it by now
++      archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++  		$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
++      hardcode_libdir_flag_spec_F77=
++      hardcode_shlibpath_var_F77=no
++      runpath_var='LD_RUN_PATH'
++      ;;
++
++    uts4*)
++      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_libdir_flag_spec_F77='-L$libdir'
++      hardcode_shlibpath_var_F77=no
++      ;;
++
++    *)
++      ld_shlibs_F77=no
++      ;;
++    esac
++  fi
++
++echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
++echo "${ECHO_T}$ld_shlibs_F77" >&6
++test "$ld_shlibs_F77" = no && can_build_shared=no
++
++variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
++if test "$GCC" = yes; then
++  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
++fi
++
++#
++# Do we need to explicitly link libc?
++#
++case "x$archive_cmds_need_lc_F77" in
++x|xyes)
++  # Assume -lc should be added
++  archive_cmds_need_lc_F77=yes
++
++  if test "$enable_shared" = yes && test "$GCC" = yes; then
++    case $archive_cmds_F77 in
++    *'~'*)
++      # FIXME: we may have to deal with multi-command sequences.
++      ;;
++    '$CC '*)
++      # Test whether the compiler implicitly links with -lc since on some
++      # systems, -lgcc has to come before -lc. If gcc already passes -lc
++      # to ld, don't add -lc before -lgcc.
++      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
++echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
++      $rm conftest*
++      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
++
++      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } 2>conftest.err; then
++        soname=conftest
++        lib=conftest
++        libobjs=conftest.$ac_objext
++        deplibs=
++        wl=$lt_prog_compiler_wl_F77
++        compiler_flags=-v
++        linker_flags=-v
++        verstring=
++        output_objdir=.
++        libname=conftest
++        lt_save_allow_undefined_flag=$allow_undefined_flag_F77
++        allow_undefined_flag_F77=
++        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
++  (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }
++        then
++	  archive_cmds_need_lc_F77=no
++        else
++	  archive_cmds_need_lc_F77=yes
++        fi
++        allow_undefined_flag_F77=$lt_save_allow_undefined_flag
++      else
++        cat conftest.err 1>&5
++      fi
++      $rm conftest*
++      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
++echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
++      ;;
++    esac
++  fi
++  ;;
++esac
++
++echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
++echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
++library_names_spec=
++libname_spec='lib$name'
++soname_spec=
++shrext_cmds=".so"
++postinstall_cmds=
++postuninstall_cmds=
++finish_cmds=
++finish_eval=
++shlibpath_var=
++shlibpath_overrides_runpath=unknown
++version_type=none
++dynamic_linker="$host_os ld.so"
++sys_lib_dlsearch_path_spec="/lib /usr/lib"
++if test "$GCC" = yes; then
++  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
++  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
++    # if the path contains ";" then we assume it to be the separator
++    # otherwise default to the standard path separator (i.e. ":") - it is
++    # assumed that no part of a normal pathname contains ";" but that should
++    # okay in the real world where ";" in dirpaths is itself problematic.
++    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
++  else
++    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
++  fi
++else
++  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
++fi
++need_lib_prefix=unknown
++hardcode_into_libs=no
++
++# when you set need_version to no, make sure it does not cause -set_version
++# flags to be left without arguments
++need_version=unknown
++
++case $host_os in
++aix3*)
++  version_type=linux
++  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
++  shlibpath_var=LIBPATH
++
++  # AIX 3 has no versioning support, so we append a major version to the name.
++  soname_spec='${libname}${release}${shared_ext}$major'
++  ;;
++
++aix4* | aix5*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  hardcode_into_libs=yes
++  if test "$host_cpu" = ia64; then
++    # AIX 5 supports IA64
++    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
++    shlibpath_var=LD_LIBRARY_PATH
++  else
++    # With GCC up to 2.95.x, collect2 would create an import file
++    # for dependence libraries.  The import file would start with
++    # the line `#! .'.  This would cause the generated library to
++    # depend on `.', always an invalid library.  This was fixed in
++    # development snapshots of GCC prior to 3.0.
++    case $host_os in
++      aix4 | aix4.[01] | aix4.[01].*)
++      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
++	   echo ' yes '
++	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
++	:
++      else
++	can_build_shared=no
++      fi
++      ;;
++    esac
++    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
++    # soname into executable. Probably we can add versioning support to
++    # collect2, so additional links can be useful in future.
++    if test "$aix_use_runtimelinking" = yes; then
++      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
++      # instead of lib<name>.a to let people know that these are not
++      # typical AIX shared libraries.
++      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++    else
++      # We preserve .a as extension for shared libraries through AIX4.2
++      # and later when we are not doing run time linking.
++      library_names_spec='${libname}${release}.a $libname.a'
++      soname_spec='${libname}${release}${shared_ext}$major'
++    fi
++    shlibpath_var=LIBPATH
++  fi
++  ;;
++
++amigaos*)
++  library_names_spec='$libname.ixlibrary $libname.a'
++  # Create ${libname}_ixlibrary.a entries in /sys/libs.
++  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
++  ;;
++
++beos*)
++  library_names_spec='${libname}${shared_ext}'
++  dynamic_linker="$host_os ld.so"
++  shlibpath_var=LIBRARY_PATH
++  ;;
++
++bsdi4*)
++  version_type=linux
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
++  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
++  # the default ld.so.conf also contains /usr/contrib/lib and
++  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
++  # libtool to hard-code these into programs
++  ;;
++
++cygwin* | mingw* | pw32*)
++  version_type=windows
++  shrext_cmds=".dll"
++  need_version=no
++  need_lib_prefix=no
++
++  case $GCC,$host_os in
++  yes,cygwin* | yes,mingw* | yes,pw32*)
++    library_names_spec='$libname.dll.a'
++    # DLL is installed to $(libdir)/../bin by postinstall_cmds
++    postinstall_cmds='base_file=`basename \${file}`~
++      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
++      dldir=$destdir/`dirname \$dlpath`~
++      test -d \$dldir || mkdir -p \$dldir~
++      $install_prog $dir/$dlname \$dldir/$dlname'
++    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
++      dlpath=$dir/\$dldll~
++       $rm \$dlpath'
++    shlibpath_overrides_runpath=yes
++
++    case $host_os in
++    cygwin*)
++      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
++      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
++      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
++      ;;
++    mingw*)
++      # MinGW DLLs use traditional 'lib' prefix
++      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
++      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
++      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
++        # It is most probably a Windows format PATH printed by
++        # mingw gcc, but we are running on Cygwin. Gcc prints its search
++        # path with ; separators, and with drive letters. We can handle the
++        # drive letters (cygwin fileutils understands them), so leave them,
++        # especially as we might pass files found there to a mingw objdump,
++        # which wouldn't understand a cygwinified path. Ahh.
++        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
++      else
++        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
++      fi
++      ;;
++    pw32*)
++      # pw32 DLLs use 'pw' prefix rather than 'lib'
++      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
++      ;;
++    esac
++    ;;
++
++  *)
++    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
++    ;;
++  esac
++  dynamic_linker='Win32 ld.exe'
++  # FIXME: first we should search . and the directory the executable is in
++  shlibpath_var=PATH
++  ;;
++
++darwin* | rhapsody*)
++  dynamic_linker="$host_os dyld"
++  version_type=darwin
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
++  soname_spec='${libname}${release}${major}$shared_ext'
++  shlibpath_overrides_runpath=yes
++  shlibpath_var=DYLD_LIBRARY_PATH
++  shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
++  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
++  if test "$GCC" = yes; then
++    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
++  else
++    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
++  fi
++  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
++  ;;
++
++dgux*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++freebsd1*)
++  dynamic_linker=no
++  ;;
++
++kfreebsd*-gnu)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=no
++  hardcode_into_libs=yes
++  dynamic_linker='GNU ld.so'
++  ;;
++
++freebsd*)
++  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
++  version_type=freebsd-$objformat
++  case $version_type in
++    freebsd-elf*)
++      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
++      need_version=no
++      need_lib_prefix=no
++      ;;
++    freebsd-*)
++      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
++      need_version=yes
++      ;;
++  esac
++  shlibpath_var=LD_LIBRARY_PATH
++  case $host_os in
++  freebsd2*)
++    shlibpath_overrides_runpath=yes
++    ;;
++  freebsd3.01* | freebsdelf3.01*)
++    shlibpath_overrides_runpath=yes
++    hardcode_into_libs=yes
++    ;;
++  *) # from 3.2 on
++    shlibpath_overrides_runpath=no
++    hardcode_into_libs=yes
++    ;;
++  esac
++  ;;
++
++gnu*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  hardcode_into_libs=yes
++  ;;
++
++hpux9* | hpux10* | hpux11*)
++  # Give a soname corresponding to the major version so that dld.sl refuses to
++  # link against other versions.
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=no
++  case "$host_cpu" in
++  ia64*)
++    shrext_cmds='.so'
++    hardcode_into_libs=yes
++    dynamic_linker="$host_os dld.so"
++    shlibpath_var=LD_LIBRARY_PATH
++    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
++    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++    soname_spec='${libname}${release}${shared_ext}$major'
++    if test "X$HPUX_IA64_MODE" = X32; then
++      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
++    else
++      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
++    fi
++    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
++    ;;
++   hppa*64*)
++     shrext_cmds='.sl'
++     hardcode_into_libs=yes
++     dynamic_linker="$host_os dld.sl"
++     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
++     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
++     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++     soname_spec='${libname}${release}${shared_ext}$major'
++     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
++     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
++     ;;
++   *)
++    shrext_cmds='.sl'
++    dynamic_linker="$host_os dld.sl"
++    shlibpath_var=SHLIB_PATH
++    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
++    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++    soname_spec='${libname}${release}${shared_ext}$major'
++    ;;
++  esac
++  # HP-UX runs *really* slowly unless shared libraries are mode 555.
++  postinstall_cmds='chmod 555 $lib'
++  ;;
++
++irix5* | irix6* | nonstopux*)
++  case $host_os in
++    nonstopux*) version_type=nonstopux ;;
++    *)
++	if test "$lt_cv_prog_gnu_ld" = yes; then
++		version_type=linux
++	else
++		version_type=irix
++	fi ;;
++  esac
++  need_lib_prefix=no
++  need_version=no
++  soname_spec='${libname}${release}${shared_ext}$major'
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
++  case $host_os in
++  irix5* | nonstopux*)
++    libsuff= shlibsuff=
++    ;;
++  *)
++    case $LD in # libtool.m4 will add one of these switches to LD
++    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
++      libsuff= shlibsuff= libmagic=32-bit;;
++    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
++      libsuff=32 shlibsuff=N32 libmagic=N32;;
++    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
++      libsuff=64 shlibsuff=64 libmagic=64-bit;;
++    *) libsuff= shlibsuff= libmagic=never-match;;
++    esac
++    ;;
++  esac
++  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
++  shlibpath_overrides_runpath=no
++  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
++  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
++  hardcode_into_libs=yes
++  ;;
++
++# No shared lib support for Linux oldld, aout, or coff.
++linux*oldld* | linux*aout* | linux*coff*)
++  dynamic_linker=no
++  ;;
++
++# This must be Linux ELF.
++linux*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=no
++  # This implies no fast_install, which is unacceptable.
++  # Some rework will be needed to allow for fast_install
++  # before this can be enabled.
++  hardcode_into_libs=yes
++
++  # Append ld.so.conf contents to the search path
++  if test -f /etc/ld.so.conf; then
++    lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
++    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
++  fi
++
++  # We used to test for /lib/ld.so.1 and disable shared libraries on
++  # powerpc, because MkLinux only supported shared libraries with the
++  # GNU dynamic linker.  Since this was broken with cross compilers,
++  # most powerpc-linux boxes support dynamic linking these days and
++  # people can always --disable-shared, the test was removed, and we
++  # assume the GNU/Linux dynamic linker is in use.
++  dynamic_linker='GNU/Linux ld.so'
++  ;;
++
++netbsdelf*-gnu)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=no
++  hardcode_into_libs=yes
++  dynamic_linker='NetBSD ld.elf_so'
++  ;;
++
++knetbsd*-gnu)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=no
++  hardcode_into_libs=yes
++  dynamic_linker='GNU ld.so'
++  ;;
++
++netbsd*)
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=no
++  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
++    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
++    dynamic_linker='NetBSD (a.out) ld.so'
++  else
++    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
++    soname_spec='${libname}${release}${shared_ext}$major'
++    dynamic_linker='NetBSD ld.elf_so'
++  fi
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  hardcode_into_libs=yes
++  ;;
++
++newsos6)
++  version_type=linux
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  ;;
++
++nto-qnx*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  ;;
++
++openbsd*)
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=yes
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
++    case $host_os in
++      openbsd2.[89] | openbsd2.[89].*)
++	shlibpath_overrides_runpath=no
++	;;
++      *)
++	shlibpath_overrides_runpath=yes
++	;;
++      esac
++  else
++    shlibpath_overrides_runpath=yes
++  fi
++  ;;
++
++os2*)
++  libname_spec='$name'
++  shrext_cmds=".dll"
++  need_lib_prefix=no
++  library_names_spec='$libname${shared_ext} $libname.a'
++  dynamic_linker='OS/2 ld.exe'
++  shlibpath_var=LIBPATH
++  ;;
++
++osf3* | osf4* | osf5*)
++  version_type=osf
++  need_lib_prefix=no
++  need_version=no
++  soname_spec='${libname}${release}${shared_ext}$major'
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  shlibpath_var=LD_LIBRARY_PATH
++  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
++  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
++  ;;
++
++sco3.2v5*)
++  version_type=osf
++  soname_spec='${libname}${release}${shared_ext}$major'
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++solaris*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  hardcode_into_libs=yes
++  # ldd complains unless libraries are executable
++  postinstall_cmds='chmod +x $lib'
++  ;;
++
++sunos4*)
++  version_type=sunos
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
++  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  if test "$with_gnu_ld" = yes; then
++    need_lib_prefix=no
++  fi
++  need_version=yes
++  ;;
++
++sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
++  version_type=linux
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  case $host_vendor in
++    sni)
++      shlibpath_overrides_runpath=no
++      need_lib_prefix=no
++      export_dynamic_flag_spec='${wl}-Blargedynsym'
++      runpath_var=LD_RUN_PATH
++      ;;
++    siemens)
++      need_lib_prefix=no
++      ;;
++    motorola)
++      need_lib_prefix=no
++      need_version=no
++      shlibpath_overrides_runpath=no
++      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
++      ;;
++  esac
++  ;;
++
++sysv4*MP*)
++  if test -d /usr/nec ;then
++    version_type=linux
++    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
++    soname_spec='$libname${shared_ext}.$major'
++    shlibpath_var=LD_LIBRARY_PATH
++  fi
++  ;;
++
++uts4*)
++  version_type=linux
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++*)
++  dynamic_linker=no
++  ;;
++esac
++echo "$as_me:$LINENO: result: $dynamic_linker" >&5
++echo "${ECHO_T}$dynamic_linker" >&6
++test "$dynamic_linker" = no && can_build_shared=no
++
++echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
++echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
++hardcode_action_F77=
++if test -n "$hardcode_libdir_flag_spec_F77" || \
++   test -n "$runpath_var F77" || \
++   test "X$hardcode_automatic_F77"="Xyes" ; then
++
++  # We can hardcode non-existant directories.
++  if test "$hardcode_direct_F77" != no &&
++     # If the only mechanism to avoid hardcoding is shlibpath_var, we
++     # have to relink, otherwise we might link with an installed library
++     # when we should be linking with a yet-to-be-installed one
++     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
++     test "$hardcode_minus_L_F77" != no; then
++    # Linking always hardcodes the temporary library directory.
++    hardcode_action_F77=relink
++  else
++    # We can link without hardcoding, and we can hardcode nonexisting dirs.
++    hardcode_action_F77=immediate
++  fi
++else
++  # We cannot hardcode anything, or else we can only hardcode existing
++  # directories.
++  hardcode_action_F77=unsupported
++fi
++echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
++echo "${ECHO_T}$hardcode_action_F77" >&6
++
++if test "$hardcode_action_F77" = relink; then
++  # Fast installation is not supported
++  enable_fast_install=no
++elif test "$shlibpath_overrides_runpath" = yes ||
++     test "$enable_shared" = no; then
++  # Fast installation is not necessary
++  enable_fast_install=needless
++fi
++
++striplib=
++old_striplib=
++echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
++echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
++if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
++  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
++  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
++  echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++else
++# FIXME - insert some real tests, host_os isn't really good enough
++  case $host_os in
++   darwin*)
++       if test -n "$STRIP" ; then
++         striplib="$STRIP -x"
++         echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++       else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++       ;;
++   *)
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++    ;;
++  esac
++fi
++
++
++
++# The else clause should only fire when bootstrapping the
++# libtool distribution, otherwise you forgot to ship ltmain.sh
++# with your package, and you will get complaints that there are
++# no rules to generate ltmain.sh.
++if test -f "$ltmain"; then
++  # See if we are running on zsh, and set the options which allow our commands through
++  # without removal of \ escapes.
++  if test -n "${ZSH_VERSION+set}" ; then
++    setopt NO_GLOB_SUBST
++  fi
++  # Now quote all the things that may contain metacharacters while being
++  # careful not to overquote the AC_SUBSTed values.  We take copies of the
++  # variables and quote the copies for generation of the libtool script.
++  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
++    SED SHELL STRIP \
++    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
++    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
++    deplibs_check_method reload_flag reload_cmds need_locks \
++    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
++    lt_cv_sys_global_symbol_to_c_name_address \
++    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
++    old_postinstall_cmds old_postuninstall_cmds \
++    compiler_F77 \
++    CC_F77 \
++    LD_F77 \
++    lt_prog_compiler_wl_F77 \
++    lt_prog_compiler_pic_F77 \
++    lt_prog_compiler_static_F77 \
++    lt_prog_compiler_no_builtin_flag_F77 \
++    export_dynamic_flag_spec_F77 \
++    thread_safe_flag_spec_F77 \
++    whole_archive_flag_spec_F77 \
++    enable_shared_with_static_runtimes_F77 \
++    old_archive_cmds_F77 \
++    old_archive_from_new_cmds_F77 \
++    predep_objects_F77 \
++    postdep_objects_F77 \
++    predeps_F77 \
++    postdeps_F77 \
++    compiler_lib_search_path_F77 \
++    archive_cmds_F77 \
++    archive_expsym_cmds_F77 \
++    postinstall_cmds_F77 \
++    postuninstall_cmds_F77 \
++    old_archive_from_expsyms_cmds_F77 \
++    allow_undefined_flag_F77 \
++    no_undefined_flag_F77 \
++    export_symbols_cmds_F77 \
++    hardcode_libdir_flag_spec_F77 \
++    hardcode_libdir_flag_spec_ld_F77 \
++    hardcode_libdir_separator_F77 \
++    hardcode_automatic_F77 \
++    module_cmds_F77 \
++    module_expsym_cmds_F77 \
++    lt_cv_prog_compiler_c_o_F77 \
++    exclude_expsyms_F77 \
++    include_expsyms_F77; do
++
++    case $var in
++    old_archive_cmds_F77 | \
++    old_archive_from_new_cmds_F77 | \
++    archive_cmds_F77 | \
++    archive_expsym_cmds_F77 | \
++    module_cmds_F77 | \
++    module_expsym_cmds_F77 | \
++    old_archive_from_expsyms_cmds_F77 | \
++    export_symbols_cmds_F77 | \
++    extract_expsyms_cmds | reload_cmds | finish_cmds | \
++    postinstall_cmds | postuninstall_cmds | \
++    old_postinstall_cmds | old_postuninstall_cmds | \
++    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
++      # Double-quote double-evaled strings.
++      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
++      ;;
++    *)
++      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
++      ;;
++    esac
++  done
++
++  case $lt_echo in
++  *'\$0 --fallback-echo"')
++    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
++    ;;
++  esac
++
++cfgfile="$ofile"
++
++  cat <<__EOF__ >> "$cfgfile"
++# ### BEGIN LIBTOOL TAG CONFIG: $tagname
++
++# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
++
++# Shell to use when invoking shell scripts.
++SHELL=$lt_SHELL
++
++# Whether or not to build shared libraries.
++build_libtool_libs=$enable_shared
++
++# Whether or not to build static libraries.
++build_old_libs=$enable_static
++
++# Whether or not to add -lc for building shared libraries.
++build_libtool_need_lc=$archive_cmds_need_lc_F77
++
++# Whether or not to disallow shared libs when runtime libs are static
++allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
++
++# Whether or not to optimize for fast installation.
++fast_install=$enable_fast_install
++
++# The host system.
++host_alias=$host_alias
++host=$host
++
++# An echo program that does not interpret backslashes.
++echo=$lt_echo
++
++# The archiver.
++AR=$lt_AR
++AR_FLAGS=$lt_AR_FLAGS
++
++# A C compiler.
++LTCC=$lt_LTCC
++
++# A language-specific compiler.
++CC=$lt_compiler_F77
++
++# Is the compiler the GNU C compiler?
++with_gcc=$GCC_F77
++
++# An ERE matcher.
++EGREP=$lt_EGREP
++
++# The linker used to build libraries.
++LD=$lt_LD_F77
++
++# Whether we need hard or soft links.
++LN_S=$lt_LN_S
++
++# A BSD-compatible nm program.
++NM=$lt_NM
++
++# A symbol stripping program
++STRIP=$lt_STRIP
++
++# Used to examine libraries when file_magic_cmd begins "file"
++MAGIC_CMD=$MAGIC_CMD
++
++# Used on cygwin: DLL creation program.
++DLLTOOL="$DLLTOOL"
++
++# Used on cygwin: object dumper.
++OBJDUMP="$OBJDUMP"
++
++# Used on cygwin: assembler.
++AS="$AS"
++
++# The name of the directory that contains temporary libtool files.
++objdir=$objdir
++
++# How to create reloadable object files.
++reload_flag=$lt_reload_flag
++reload_cmds=$lt_reload_cmds
++
++# How to pass a linker flag through the compiler.
++wl=$lt_lt_prog_compiler_wl_F77
++
++# Object file suffix (normally "o").
++objext="$ac_objext"
++
++# Old archive suffix (normally "a").
++libext="$libext"
++
++# Shared library suffix (normally ".so").
++shrext_cmds='$shrext_cmds'
++
++# Executable file suffix (normally "").
++exeext="$exeext"
++
++# Additional compiler flags for building library objects.
++pic_flag=$lt_lt_prog_compiler_pic_F77
++pic_mode=$pic_mode
++
++# What is the maximum length of a command?
++max_cmd_len=$lt_cv_sys_max_cmd_len
++
++# Does compiler simultaneously support -c and -o options?
++compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
++
++# Must we lock files when doing compilation ?
++need_locks=$lt_need_locks
++
++# Do we need the lib prefix for modules?
++need_lib_prefix=$need_lib_prefix
++
++# Do we need a version for libraries?
++need_version=$need_version
++
++# Whether dlopen is supported.
++dlopen_support=$enable_dlopen
++
++# Whether dlopen of programs is supported.
++dlopen_self=$enable_dlopen_self
++
++# Whether dlopen of statically linked programs is supported.
++dlopen_self_static=$enable_dlopen_self_static
++
++# Compiler flag to prevent dynamic linking.
++link_static_flag=$lt_lt_prog_compiler_static_F77
++
++# Compiler flag to turn off builtin functions.
++no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
++
++# Compiler flag to allow reflexive dlopens.
++export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
++
++# Compiler flag to generate shared objects directly from archives.
++whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
++
++# Compiler flag to generate thread-safe objects.
++thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
++
++# Library versioning type.
++version_type=$version_type
++
++# Format of library name prefix.
++libname_spec=$lt_libname_spec
++
++# List of archive names.  First name is the real one, the rest are links.
++# The last name is the one that the linker finds with -lNAME.
++library_names_spec=$lt_library_names_spec
++
++# The coded name of the library, if different from the real name.
++soname_spec=$lt_soname_spec
++
++# Commands used to build and install an old-style archive.
++RANLIB=$lt_RANLIB
++old_archive_cmds=$lt_old_archive_cmds_F77
++old_postinstall_cmds=$lt_old_postinstall_cmds
++old_postuninstall_cmds=$lt_old_postuninstall_cmds
++
++# Create an old-style archive from a shared archive.
++old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
++
++# Create a temporary old-style archive to link instead of a shared archive.
++old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
++
++# Commands used to build and install a shared archive.
++archive_cmds=$lt_archive_cmds_F77
++archive_expsym_cmds=$lt_archive_expsym_cmds_F77
++postinstall_cmds=$lt_postinstall_cmds
++postuninstall_cmds=$lt_postuninstall_cmds
++
++# Commands used to build a loadable module (assumed same as above if empty)
++module_cmds=$lt_module_cmds_F77
++module_expsym_cmds=$lt_module_expsym_cmds_F77
++
++# Commands to strip libraries.
++old_striplib=$lt_old_striplib
++striplib=$lt_striplib
++
++# Dependencies to place before the objects being linked to create a
++# shared library.
++predep_objects=$lt_predep_objects_F77
++
++# Dependencies to place after the objects being linked to create a
++# shared library.
++postdep_objects=$lt_postdep_objects_F77
++
++# Dependencies to place before the objects being linked to create a
++# shared library.
++predeps=$lt_predeps_F77
++
++# Dependencies to place after the objects being linked to create a
++# shared library.
++postdeps=$lt_postdeps_F77
++
++# The library search path used internally by the compiler when linking
++# a shared library.
++compiler_lib_search_path=$lt_compiler_lib_search_path_F77
++
++# Method to check whether dependent libraries are shared objects.
++deplibs_check_method=$lt_deplibs_check_method
++
++# Command to use when deplibs_check_method == file_magic.
++file_magic_cmd=$lt_file_magic_cmd
++
++# Flag that allows shared libraries with undefined symbols to be built.
++allow_undefined_flag=$lt_allow_undefined_flag_F77
++
++# Flag that forces no undefined symbols.
++no_undefined_flag=$lt_no_undefined_flag_F77
++
++# Commands used to finish a libtool library installation in a directory.
++finish_cmds=$lt_finish_cmds
++
++# Same as above, but a single script fragment to be evaled but not shown.
++finish_eval=$lt_finish_eval
++
++# Take the output of nm and produce a listing of raw symbols and C names.
++global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
++
++# Transform the output of nm in a proper C declaration
++global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
++
++# Transform the output of nm in a C name address pair
++global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
++
++# This is the shared library runtime path variable.
++runpath_var=$runpath_var
++
++# This is the shared library path variable.
++shlibpath_var=$shlibpath_var
++
++# Is shlibpath searched before the hard-coded library search path?
++shlibpath_overrides_runpath=$shlibpath_overrides_runpath
++
++# How to hardcode a shared library path into an executable.
++hardcode_action=$hardcode_action_F77
++
++# Whether we should hardcode library paths into libraries.
++hardcode_into_libs=$hardcode_into_libs
++
++# Flag to hardcode \$libdir into a binary during linking.
++# This must work even if \$libdir does not exist.
++hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
++
++# If ld is used when linking, flag to hardcode \$libdir into
++# a binary during linking. This must work even if \$libdir does
++# not exist.
++hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
++
++# Whether we need a single -rpath flag with a separated argument.
++hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
++
++# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
++# resulting binary.
++hardcode_direct=$hardcode_direct_F77
++
++# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
++# resulting binary.
++hardcode_minus_L=$hardcode_minus_L_F77
++
++# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
++# the resulting binary.
++hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
++
++# Set to yes if building a shared library automatically hardcodes DIR into the library
++# and all subsequent libraries and executables linked against it.
++hardcode_automatic=$hardcode_automatic_F77
++
++# Variables whose values should be saved in libtool wrapper scripts and
++# restored at relink time.
++variables_saved_for_relink="$variables_saved_for_relink"
++
++# Whether libtool must link a program against all its dependency libraries.
++link_all_deplibs=$link_all_deplibs_F77
++
++# Compile-time system search path for libraries
++sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
++
++# Run-time system search path for libraries
++sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
++
++# Fix the shell variable \$srcfile for the compiler.
++fix_srcfile_path="$fix_srcfile_path_F77"
++
++# Set to yes if exported symbols are required.
++always_export_symbols=$always_export_symbols_F77
++
++# The commands to list exported symbols.
++export_symbols_cmds=$lt_export_symbols_cmds_F77
++
++# The commands to extract the exported symbol list from a shared archive.
++extract_expsyms_cmds=$lt_extract_expsyms_cmds
++
++# Symbols that should not be listed in the preloaded symbols.
++exclude_expsyms=$lt_exclude_expsyms_F77
++
++# Symbols that must always be exported.
++include_expsyms=$lt_include_expsyms_F77
++
++# ### END LIBTOOL TAG CONFIG: $tagname
++
++__EOF__
++
++
++else
++  # If there is no Makefile yet, we rely on a make rule to execute
++  # `config.status --recheck' to rerun these tests and create the
++  # libtool script then.
++  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
++  if test -f "$ltmain_in"; then
++    test -f Makefile && make "$ltmain"
++  fi
++fi
++
++
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++CC="$lt_save_CC"
++
++	else
++	  tagname=""
++	fi
++	;;
++
++      GCJ)
++	if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
++	  
++
++
++# Source file extension for Java test sources.
++ac_ext=java
++
++# Object file extension for compiled Java test sources.
++objext=o
++objext_GCJ=$objext
++
++# Code to be used in simple compile tests
++lt_simple_compile_test_code="class foo {}\n"
++
++# Code to be used in simple link tests
++lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n'
++
++# ltmain only uses $CC for tagged configurations so make sure $CC is set.
++
++# If no C compiler was specified, use CC.
++LTCC=${LTCC-"$CC"}
++
++# Allow CC to be a program name with arguments.
++compiler=$CC
++
++
++# Allow CC to be a program name with arguments.
++lt_save_CC="$CC"
++CC=${GCJ-"gcj"}
++compiler=$CC
++compiler_GCJ=$CC
++
++# GCJ did not exist at the time GCC didn't implicitly link libc in.
++archive_cmds_need_lc_GCJ=no
++
++
++lt_prog_compiler_no_builtin_flag_GCJ=
++
++if test "$GCC" = yes; then
++  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
++
++  
++echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
++echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
++if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  lt_cv_prog_compiler_rtti_exceptions=no
++  ac_outfile=conftest.$ac_objext
++   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
++   lt_compiler_flag="-fno-rtti -fno-exceptions"
++   # Insert the option either (1) after the last *FLAGS variable, or
++   # (2) before a word containing "conftest.", or (3) at the end.
++   # Note that $ac_compile itself does not contain backslashes and begins
++   # with a dollar sign (not a hyphen), so the echo should work correctly.
++   # The option is referenced via a variable to avoid confusing sed.
++   lt_compile=`echo "$ac_compile" | $SED \
++   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
++   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
++   -e 's:$: $lt_compiler_flag:'`
++   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
++   (eval "$lt_compile" 2>conftest.err)
++   ac_status=$?
++   cat conftest.err >&5
++   echo "$as_me:__oline__: \$? = $ac_status" >&5
++   if (exit $ac_status) && test -s "$ac_outfile"; then
++     # The compiler can only warn and ignore the option if not recognized
++     # So say no if there are warnings
++     if test ! -s conftest.err; then
++       lt_cv_prog_compiler_rtti_exceptions=yes
++     fi
++   fi
++   $rm conftest*
++
++fi
++echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
++echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
++
++if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
++    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
++else
++    :
++fi
++
++fi
++
++lt_prog_compiler_wl_GCJ=
++lt_prog_compiler_pic_GCJ=
++lt_prog_compiler_static_GCJ=
++
++echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
++echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
++ 
++  if test "$GCC" = yes; then
++    lt_prog_compiler_wl_GCJ='-Wl,'
++    lt_prog_compiler_static_GCJ='-static'
++
++    case $host_os in
++      aix*)
++      # All AIX code is PIC.
++      if test "$host_cpu" = ia64; then
++	# AIX 5 now supports IA64 processor
++	lt_prog_compiler_static_GCJ='-Bstatic'
++      fi
++      ;;
++
++    amigaos*)
++      # FIXME: we need at least 68020 code to build shared libraries, but
++      # adding the `-m68020' flag to GCC prevents building anything better,
++      # like `-m68040'.
++      lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
++      ;;
++
++    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
++      # PIC is the default for these OSes.
++      ;;
++
++    mingw* | pw32* | os2*)
++      # This hack is so that the source file can tell whether it is being
++      # built for inclusion in a dll (and should export symbols for example).
++      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
++      ;;
++
++    darwin* | rhapsody*)
++      # PIC is the default on this platform
++      # Common symbols not allowed in MH_DYLIB files
++      lt_prog_compiler_pic_GCJ='-fno-common'
++      ;;
++
++    msdosdjgpp*)
++      # Just because we use GCC doesn't mean we suddenly get shared libraries
++      # on systems that don't support them.
++      lt_prog_compiler_can_build_shared_GCJ=no
++      enable_shared=no
++      ;;
++
++    sysv4*MP*)
++      if test -d /usr/nec; then
++	lt_prog_compiler_pic_GCJ=-Kconform_pic
++      fi
++      ;;
++
++    hpux*)
++      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
++      # not for PA HP-UX.
++      case "$host_cpu" in
++      hppa*64*|ia64*)
++	# +Z the default
++	;;
++      *)
++	lt_prog_compiler_pic_GCJ='-fPIC'
++	;;
++      esac
++      ;;
++
++    *)
++      lt_prog_compiler_pic_GCJ='-fPIC'
++      ;;
++    esac
++  else
++    # PORTME Check for flag to pass linker flags through the system compiler.
++    case $host_os in
++    aix*)
++      lt_prog_compiler_wl_GCJ='-Wl,'
++      if test "$host_cpu" = ia64; then
++	# AIX 5 now supports IA64 processor
++	lt_prog_compiler_static_GCJ='-Bstatic'
++      else
++	lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
++      fi
++      ;;
++
++    mingw* | pw32* | os2*)
++      # This hack is so that the source file can tell whether it is being
++      # built for inclusion in a dll (and should export symbols for example).
++      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
++      ;;
++
++    hpux9* | hpux10* | hpux11*)
++      lt_prog_compiler_wl_GCJ='-Wl,'
++      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
++      # not for PA HP-UX.
++      case "$host_cpu" in
++      hppa*64*|ia64*)
++	# +Z the default
++	;;
++      *)
++	lt_prog_compiler_pic_GCJ='+Z'
++	;;
++      esac
++      # Is there a better lt_prog_compiler_static that works with the bundled CC?
++      lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
++      ;;
++
++    irix5* | irix6* | nonstopux*)
++      lt_prog_compiler_wl_GCJ='-Wl,'
++      # PIC (with -KPIC) is the default.
++      lt_prog_compiler_static_GCJ='-non_shared'
++      ;;
++
++    newsos6)
++      lt_prog_compiler_pic_GCJ='-KPIC'
++      lt_prog_compiler_static_GCJ='-Bstatic'
++      ;;
++
++    linux*)
++      case $CC in
++      icc* | ecc*)
++	lt_prog_compiler_wl_GCJ='-Wl,'
++	lt_prog_compiler_pic_GCJ='-KPIC'
++	lt_prog_compiler_static_GCJ='-static'
++        ;;
++      ccc*)
++        lt_prog_compiler_wl_GCJ='-Wl,'
++        # All Alpha code is PIC.
++        lt_prog_compiler_static_GCJ='-non_shared'
++        ;;
++      esac
++      ;;
++
++    osf3* | osf4* | osf5*)
++      lt_prog_compiler_wl_GCJ='-Wl,'
++      # All OSF/1 code is PIC.
++      lt_prog_compiler_static_GCJ='-non_shared'
++      ;;
++
++    sco3.2v5*)
++      lt_prog_compiler_pic_GCJ='-Kpic'
++      lt_prog_compiler_static_GCJ='-dn'
++      ;;
++
++    solaris*)
++      lt_prog_compiler_wl_GCJ='-Wl,'
++      lt_prog_compiler_pic_GCJ='-KPIC'
++      lt_prog_compiler_static_GCJ='-Bstatic'
++      ;;
++
++    sunos4*)
++      lt_prog_compiler_wl_GCJ='-Qoption ld '
++      lt_prog_compiler_pic_GCJ='-PIC'
++      lt_prog_compiler_static_GCJ='-Bstatic'
++      ;;
++
++    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
++      lt_prog_compiler_wl_GCJ='-Wl,'
++      lt_prog_compiler_pic_GCJ='-KPIC'
++      lt_prog_compiler_static_GCJ='-Bstatic'
++      ;;
++
++    sysv4*MP*)
++      if test -d /usr/nec ;then
++	lt_prog_compiler_pic_GCJ='-Kconform_pic'
++	lt_prog_compiler_static_GCJ='-Bstatic'
++      fi
++      ;;
++
++    uts4*)
++      lt_prog_compiler_pic_GCJ='-pic'
++      lt_prog_compiler_static_GCJ='-Bstatic'
++      ;;
++
++    *)
++      lt_prog_compiler_can_build_shared_GCJ=no
++      ;;
++    esac
++  fi
++
++echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
++echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
++
++#
++# Check to make sure the PIC flag actually works.
++#
++if test -n "$lt_prog_compiler_pic_GCJ"; then
++  
++echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
++echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
++if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  lt_prog_compiler_pic_works_GCJ=no
++  ac_outfile=conftest.$ac_objext
++   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
++   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
++   # Insert the option either (1) after the last *FLAGS variable, or
++   # (2) before a word containing "conftest.", or (3) at the end.
++   # Note that $ac_compile itself does not contain backslashes and begins
++   # with a dollar sign (not a hyphen), so the echo should work correctly.
++   # The option is referenced via a variable to avoid confusing sed.
++   lt_compile=`echo "$ac_compile" | $SED \
++   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
++   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
++   -e 's:$: $lt_compiler_flag:'`
++   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
++   (eval "$lt_compile" 2>conftest.err)
++   ac_status=$?
++   cat conftest.err >&5
++   echo "$as_me:__oline__: \$? = $ac_status" >&5
++   if (exit $ac_status) && test -s "$ac_outfile"; then
++     # The compiler can only warn and ignore the option if not recognized
++     # So say no if there are warnings
++     if test ! -s conftest.err; then
++       lt_prog_compiler_pic_works_GCJ=yes
++     fi
++   fi
++   $rm conftest*
++
++fi
++echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
++echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
++
++if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
++    case $lt_prog_compiler_pic_GCJ in
++     "" | " "*) ;;
++     *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
++     esac
++else
++    lt_prog_compiler_pic_GCJ=
++     lt_prog_compiler_can_build_shared_GCJ=no
++fi
++
++fi
++case "$host_os" in
++  # For platforms which do not support PIC, -DPIC is meaningless:
++  *djgpp*)
++    lt_prog_compiler_pic_GCJ=
++    ;;
++  *)
++    lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
++    ;;
++esac
++
++echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
++echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
++if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  lt_cv_prog_compiler_c_o_GCJ=no
++   $rm -r conftest 2>/dev/null
++   mkdir conftest
++   cd conftest
++   mkdir out
++   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
++
++   lt_compiler_flag="-o out/conftest2.$ac_objext"
++   # Insert the option either (1) after the last *FLAGS variable, or
++   # (2) before a word containing "conftest.", or (3) at the end.
++   # Note that $ac_compile itself does not contain backslashes and begins
++   # with a dollar sign (not a hyphen), so the echo should work correctly.
++   lt_compile=`echo "$ac_compile" | $SED \
++   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
++   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
++   -e 's:$: $lt_compiler_flag:'`
++   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
++   (eval "$lt_compile" 2>out/conftest.err)
++   ac_status=$?
++   cat out/conftest.err >&5
++   echo "$as_me:__oline__: \$? = $ac_status" >&5
++   if (exit $ac_status) && test -s out/conftest2.$ac_objext
++   then
++     # The compiler can only warn and ignore the option if not recognized
++     # So say no if there are warnings
++     if test ! -s out/conftest.err; then
++       lt_cv_prog_compiler_c_o_GCJ=yes
++     fi
++   fi
++   chmod u+w .
++   $rm conftest*
++   # SGI C++ compiler will create directory out/ii_files/ for
++   # template instantiation
++   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
++   $rm out/* && rmdir out
++   cd ..
++   rmdir conftest
++   $rm conftest*
++
++fi
++echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
++echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
++
++
++hard_links="nottested"
++if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
++  # do not overwrite the value of need_locks provided by the user
++  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
++echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
++  hard_links=yes
++  $rm conftest*
++  ln conftest.a conftest.b 2>/dev/null && hard_links=no
++  touch conftest.a
++  ln conftest.a conftest.b 2>&5 || hard_links=no
++  ln conftest.a conftest.b 2>/dev/null && hard_links=no
++  echo "$as_me:$LINENO: result: $hard_links" >&5
++echo "${ECHO_T}$hard_links" >&6
++  if test "$hard_links" = no; then
++    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
++echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
++    need_locks=warn
++  fi
++else
++  need_locks=no
++fi
++
++echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
++echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
++
++  runpath_var=
++  allow_undefined_flag_GCJ=
++  enable_shared_with_static_runtimes_GCJ=no
++  archive_cmds_GCJ=
++  archive_expsym_cmds_GCJ=
++  old_archive_From_new_cmds_GCJ=
++  old_archive_from_expsyms_cmds_GCJ=
++  export_dynamic_flag_spec_GCJ=
++  whole_archive_flag_spec_GCJ=
++  thread_safe_flag_spec_GCJ=
++  hardcode_libdir_flag_spec_GCJ=
++  hardcode_libdir_flag_spec_ld_GCJ=
++  hardcode_libdir_separator_GCJ=
++  hardcode_direct_GCJ=no
++  hardcode_minus_L_GCJ=no
++  hardcode_shlibpath_var_GCJ=unsupported
++  link_all_deplibs_GCJ=unknown
++  hardcode_automatic_GCJ=no
++  module_cmds_GCJ=
++  module_expsym_cmds_GCJ=
++  always_export_symbols_GCJ=no
++  export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
++  # include_expsyms should be a list of space-separated symbols to be *always*
++  # included in the symbol list
++  include_expsyms_GCJ=
++  # exclude_expsyms can be an extended regexp of symbols to exclude
++  # it will be wrapped by ` (' and `)$', so one must not match beginning or
++  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
++  # as well as any symbol that contains `d'.
++  exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
++  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
++  # platforms (ab)use it in PIC code, but their linkers get confused if
++  # the symbol is explicitly referenced.  Since portable code cannot
++  # rely on this symbol name, it's probably fine to never include it in
++  # preloaded symbol tables.
++  extract_expsyms_cmds=
++
++  case $host_os in
++  cygwin* | mingw* | pw32*)
++    # FIXME: the MSVC++ port hasn't been tested in a loooong time
++    # When not using gcc, we currently assume that we are using
++    # Microsoft Visual C++.
++    if test "$GCC" != yes; then
++      with_gnu_ld=no
++    fi
++    ;;
++  openbsd*)
++    with_gnu_ld=no
++    ;;
++  esac
++
++  ld_shlibs_GCJ=yes
++  if test "$with_gnu_ld" = yes; then
++    # If archive_cmds runs LD, not CC, wlarc should be empty
++    wlarc='${wl}'
++
++    # See if GNU ld supports shared libraries.
++    case $host_os in
++    aix3* | aix4* | aix5*)
++      # On AIX/PPC, the GNU linker is very broken
++      if test "$host_cpu" != ia64; then
++	ld_shlibs_GCJ=no
++	cat <<EOF 1>&2
++
++*** Warning: the GNU linker, at least up to release 2.9.1, is reported
++*** to be unable to reliably create shared libraries on AIX.
++*** Therefore, libtool is disabling shared libraries support.  If you
++*** really care for shared libraries, you may want to modify your PATH
++*** so that a non-GNU linker is found, and then restart.
++
++EOF
++      fi
++      ;;
++
++    amigaos*)
++      archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
++      hardcode_libdir_flag_spec_GCJ='-L$libdir'
++      hardcode_minus_L_GCJ=yes
++
++      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
++      # that the semantics of dynamic libraries on AmigaOS, at least up
++      # to version 4, is to share data among multiple programs linked
++      # with the same dynamic library.  Since this doesn't match the
++      # behavior of shared libraries on other platforms, we can't use
++      # them.
++      ld_shlibs_GCJ=no
++      ;;
++
++    beos*)
++      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
++	allow_undefined_flag_GCJ=unsupported
++	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
++	# support --undefined.  This deserves some investigation.  FIXME
++	archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++      else
++	ld_shlibs_GCJ=no
++      fi
++      ;;
++
++    cygwin* | mingw* | pw32*)
++      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
++      # as there is no search path for DLLs.
++      hardcode_libdir_flag_spec_GCJ='-L$libdir'
++      allow_undefined_flag_GCJ=unsupported
++      always_export_symbols_GCJ=no
++      enable_shared_with_static_runtimes_GCJ=yes
++      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
++
++      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
++        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
++	# If the export-symbols file already is a .def file (1st line
++	# is EXPORTS), use it as is; otherwise, prepend...
++	archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
++	  cp $export_symbols $output_objdir/$soname.def;
++	else
++	  echo EXPORTS > $output_objdir/$soname.def;
++	  cat $export_symbols >> $output_objdir/$soname.def;
++	fi~
++	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
++      else
++	ld_shlibs=no
++      fi
++      ;;
++
++    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
++      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++	archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
++	wlarc=
++      else
++	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++      fi
++      ;;
++
++    solaris* | sysv5*)
++      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
++	ld_shlibs_GCJ=no
++	cat <<EOF 1>&2
++
++*** Warning: The releases 2.8.* of the GNU linker cannot reliably
++*** create shared libraries on Solaris systems.  Therefore, libtool
++*** is disabling shared libraries support.  We urge you to upgrade GNU
++*** binutils to release 2.9.1 or newer.  Another option is to modify
++*** your PATH or compiler configuration so that the native linker is
++*** used, and then restart.
++
++EOF
++      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
++	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++      else
++	ld_shlibs_GCJ=no
++      fi
++      ;;
++
++    sunos4*)
++      archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++      wlarc=
++      hardcode_direct_GCJ=yes
++      hardcode_shlibpath_var_GCJ=no
++      ;;
++
++  linux*)
++    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
++        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++	archive_cmds_GCJ="$tmp_archive_cmds"
++      supports_anon_versioning=no
++      case `$LD -v 2>/dev/null` in
++        *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
++        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
++        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
++        *\ 2.11.*) ;; # other 2.11 versions
++        *) supports_anon_versioning=yes ;;
++      esac
++      if test $supports_anon_versioning = yes; then
++        archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
++cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
++$echo "local: *; };" >> $output_objdir/$libname.ver~
++        $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
++      else
++        archive_expsym_cmds_GCJ="$tmp_archive_cmds"
++      fi
++      link_all_deplibs_GCJ=no
++    else
++      ld_shlibs_GCJ=no
++    fi
++    ;;
++
++    *)
++      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
++	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++      else
++	ld_shlibs_GCJ=no
++      fi
++      ;;
++    esac
++
++    if test "$ld_shlibs_GCJ" = yes; then
++      runpath_var=LD_RUN_PATH
++      hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
++      export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
++      # ancient GNU ld didn't support --whole-archive et. al.
++      if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
++ 	whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
++      else
++  	whole_archive_flag_spec_GCJ=
++      fi
++    fi
++  else
++    # PORTME fill in a description of your system's linker (not GNU ld)
++    case $host_os in
++    aix3*)
++      allow_undefined_flag_GCJ=unsupported
++      always_export_symbols_GCJ=yes
++      archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
++      # Note: this linker hardcodes the directories in LIBPATH if there
++      # are no directories specified by -L.
++      hardcode_minus_L_GCJ=yes
++      if test "$GCC" = yes && test -z "$link_static_flag"; then
++	# Neither direct hardcoding nor static linking is supported with a
++	# broken collect2.
++	hardcode_direct_GCJ=unsupported
++      fi
++      ;;
++
++    aix4* | aix5*)
++      if test "$host_cpu" = ia64; then
++	# On IA64, the linker does run time linking by default, so we don't
++	# have to do anything special.
++	aix_use_runtimelinking=no
++	exp_sym_flag='-Bexport'
++	no_entry_flag=""
++      else
++	# If we're using GNU nm, then we don't want the "-C" option.
++	# -C means demangle to AIX nm, but means don't demangle with GNU nm
++	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
++	  export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
++	else
++	  export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
++	fi
++	aix_use_runtimelinking=no
++
++	# Test if we are trying to use run time linking or normal
++	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
++	# need to do runtime linking.
++	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
++	  for ld_flag in $LDFLAGS; do
++  	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
++  	    aix_use_runtimelinking=yes
++  	    break
++  	  fi
++	  done
++	esac
++
++	exp_sym_flag='-bexport'
++	no_entry_flag='-bnoentry'
++      fi
++
++      # When large executables or shared objects are built, AIX ld can
++      # have problems creating the table of contents.  If linking a library
++      # or program results in "error TOC overflow" add -mminimal-toc to
++      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
++      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
++
++      archive_cmds_GCJ=''
++      hardcode_direct_GCJ=yes
++      hardcode_libdir_separator_GCJ=':'
++      link_all_deplibs_GCJ=yes
++
++      if test "$GCC" = yes; then
++	case $host_os in aix4.012|aix4.012.*)
++	# We only want to do this on AIX 4.2 and lower, the check
++	# below for broken collect2 doesn't work under 4.3+
++	  collect2name=`${CC} -print-prog-name=collect2`
++	  if test -f "$collect2name" && \
++  	   strings "$collect2name" | grep resolve_lib_name >/dev/null
++	  then
++  	  # We have reworked collect2
++  	  hardcode_direct_GCJ=yes
++	  else
++  	  # We have old collect2
++  	  hardcode_direct_GCJ=unsupported
++  	  # It fails to find uninstalled libraries when the uninstalled
++  	  # path is not listed in the libpath.  Setting hardcode_minus_L
++  	  # to unsupported forces relinking
++  	  hardcode_minus_L_GCJ=yes
++  	  hardcode_libdir_flag_spec_GCJ='-L$libdir'
++  	  hardcode_libdir_separator_GCJ=
++	  fi
++	esac
++	shared_flag='-shared'
++      else
++	# not using gcc
++	if test "$host_cpu" = ia64; then
++  	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
++  	# chokes on -Wl,-G. The following line is correct:
++	  shared_flag='-G'
++	else
++  	if test "$aix_use_runtimelinking" = yes; then
++	    shared_flag='${wl}-G'
++	  else
++	    shared_flag='${wl}-bM:SRE'
++  	fi
++	fi
++      fi
++
++      # It seems that -bexpall does not export symbols beginning with
++      # underscore (_), so it is better to generate a list of symbols to export.
++      always_export_symbols_GCJ=yes
++      if test "$aix_use_runtimelinking" = yes; then
++	# Warning - without using the other runtime loading flags (-brtl),
++	# -berok will link without error, but may produce a broken library.
++	allow_undefined_flag_GCJ='-berok'
++       # Determine the default libpath from the value encoded in an empty executable.
++       cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  
++aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
++}'`
++# Check for a 64-bit object if we didn't find anything.
++if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
++}'`; fi
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
++
++       hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
++	archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
++       else
++	if test "$host_cpu" = ia64; then
++	  hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
++	  allow_undefined_flag_GCJ="-z nodefs"
++	  archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
++	else
++	 # Determine the default libpath from the value encoded in an empty executable.
++	 cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  
++aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
++}'`
++# Check for a 64-bit object if we didn't find anything.
++if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
++}'`; fi
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
++
++	 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
++	  # Warning - without using the other run time loading flags,
++	  # -berok will link without error, but may produce a broken library.
++	  no_undefined_flag_GCJ=' ${wl}-bernotok'
++	  allow_undefined_flag_GCJ=' ${wl}-berok'
++	  # -bexpall does not export symbols beginning with underscore (_)
++	  always_export_symbols_GCJ=yes
++	  # Exported symbols can be pulled into shared objects from archives
++	  whole_archive_flag_spec_GCJ=' '
++	  archive_cmds_need_lc_GCJ=yes
++	  # This is similar to how AIX traditionally builds it's shared libraries.
++	  archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
++	fi
++      fi
++      ;;
++
++    amigaos*)
++      archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
++      hardcode_libdir_flag_spec_GCJ='-L$libdir'
++      hardcode_minus_L_GCJ=yes
++      # see comment about different semantics on the GNU ld section
++      ld_shlibs_GCJ=no
++      ;;
++
++    bsdi4*)
++      export_dynamic_flag_spec_GCJ=-rdynamic
++      ;;
++
++    cygwin* | mingw* | pw32*)
++      # When not using gcc, we currently assume that we are using
++      # Microsoft Visual C++.
++      # hardcode_libdir_flag_spec is actually meaningless, as there is
++      # no search path for DLLs.
++      hardcode_libdir_flag_spec_GCJ=' '
++      allow_undefined_flag_GCJ=unsupported
++      # Tell ltmain to make .lib files, not .a files.
++      libext=lib
++      # Tell ltmain to make .dll files, not .so files.
++      shrext_cmds=".dll"
++      # FIXME: Setting linknames here is a bad hack.
++      archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
++      # The linker will automatically build a .lib file if we build a DLL.
++      old_archive_From_new_cmds_GCJ='true'
++      # FIXME: Should let the user specify the lib program.
++      old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
++      fix_srcfile_path='`cygpath -w "$srcfile"`'
++      enable_shared_with_static_runtimes_GCJ=yes
++      ;;
++
++    darwin* | rhapsody*)
++    if test "$GXX" = yes ; then
++      archive_cmds_need_lc_GCJ=no
++      case "$host_os" in
++      rhapsody* | darwin1.[012])
++	allow_undefined_flag_GCJ='-undefined suppress'
++	;;
++      *) # Darwin 1.3 on
++      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
++      	allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
++      else
++        case ${MACOSX_DEPLOYMENT_TARGET} in
++          10.[012])
++            allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
++            ;;
++          10.*)
++            allow_undefined_flag_GCJ='-undefined dynamic_lookup'
++            ;;
++        esac
++      fi
++	;;
++      esac
++    	lt_int_apple_cc_single_mod=no
++    	output_verbose_link_cmd='echo'
++    	if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
++    	  lt_int_apple_cc_single_mod=yes
++    	fi
++    	if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
++    	  archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
++    	else
++        archive_cmds_GCJ='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
++      fi
++      module_cmds_GCJ='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
++      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
++        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
++          archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++        else
++          archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++        fi
++          module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++      hardcode_direct_GCJ=no
++      hardcode_automatic_GCJ=yes
++      hardcode_shlibpath_var_GCJ=unsupported
++      whole_archive_flag_spec_GCJ='-all_load $convenience'
++      link_all_deplibs_GCJ=yes
++    else
++      ld_shlibs_GCJ=no
++    fi
++      ;;
++
++    dgux*)
++      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_libdir_flag_spec_GCJ='-L$libdir'
++      hardcode_shlibpath_var_GCJ=no
++      ;;
++
++    freebsd1*)
++      ld_shlibs_GCJ=no
++      ;;
++
++    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
++    # support.  Future versions do this automatically, but an explicit c++rt0.o
++    # does not break anything, and helps significantly (at the cost of a little
++    # extra space).
++    freebsd2.2*)
++      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
++      hardcode_libdir_flag_spec_GCJ='-R$libdir'
++      hardcode_direct_GCJ=yes
++      hardcode_shlibpath_var_GCJ=no
++      ;;
++
++    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
++    freebsd2*)
++      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_direct_GCJ=yes
++      hardcode_minus_L_GCJ=yes
++      hardcode_shlibpath_var_GCJ=no
++      ;;
++
++    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
++    freebsd* | kfreebsd*-gnu)
++      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
++      hardcode_libdir_flag_spec_GCJ='-R$libdir'
++      hardcode_direct_GCJ=yes
++      hardcode_shlibpath_var_GCJ=no
++      ;;
++
++    hpux9*)
++      if test "$GCC" = yes; then
++	archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
++      else
++	archive_cmds_GCJ='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
++      fi
++      hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
++      hardcode_libdir_separator_GCJ=:
++      hardcode_direct_GCJ=yes
++
++      # hardcode_minus_L: Not really in the search PATH,
++      # but as the default location of the library.
++      hardcode_minus_L_GCJ=yes
++      export_dynamic_flag_spec_GCJ='${wl}-E'
++      ;;
++
++    hpux10* | hpux11*)
++      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
++	case "$host_cpu" in
++	hppa*64*|ia64*)
++	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++	  ;;
++	*)
++	  archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
++	  ;;
++	esac
++      else
++	case "$host_cpu" in
++	hppa*64*|ia64*)
++	  archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
++	  ;;
++	*)
++	  archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
++	  ;;
++	esac
++      fi
++      if test "$with_gnu_ld" = no; then
++	case "$host_cpu" in
++	hppa*64*)
++	  hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
++	  hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
++	  hardcode_libdir_separator_GCJ=:
++	  hardcode_direct_GCJ=no
++	  hardcode_shlibpath_var_GCJ=no
++	  ;;
++	ia64*)
++	  hardcode_libdir_flag_spec_GCJ='-L$libdir'
++	  hardcode_direct_GCJ=no
++	  hardcode_shlibpath_var_GCJ=no
++
++	  # hardcode_minus_L: Not really in the search PATH,
++	  # but as the default location of the library.
++	  hardcode_minus_L_GCJ=yes
++	  ;;
++	*)
++	  hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
++	  hardcode_libdir_separator_GCJ=:
++	  hardcode_direct_GCJ=yes
++	  export_dynamic_flag_spec_GCJ='${wl}-E'
++
++	  # hardcode_minus_L: Not really in the search PATH,
++	  # but as the default location of the library.
++	  hardcode_minus_L_GCJ=yes
++	  ;;
++	esac
++      fi
++      ;;
++
++    irix5* | irix6* | nonstopux*)
++      if test "$GCC" = yes; then
++	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++      else
++	archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
++	hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
++      fi
++      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
++      hardcode_libdir_separator_GCJ=:
++      link_all_deplibs_GCJ=yes
++      ;;
++
++    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
++      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++	archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
++      else
++	archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
++      fi
++      hardcode_libdir_flag_spec_GCJ='-R$libdir'
++      hardcode_direct_GCJ=yes
++      hardcode_shlibpath_var_GCJ=no
++      ;;
++
++    newsos6)
++      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_direct_GCJ=yes
++      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
++      hardcode_libdir_separator_GCJ=:
++      hardcode_shlibpath_var_GCJ=no
++      ;;
++
++    openbsd*)
++      hardcode_direct_GCJ=yes
++      hardcode_shlibpath_var_GCJ=no
++      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
++	archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
++	hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
++	export_dynamic_flag_spec_GCJ='${wl}-E'
++      else
++       case $host_os in
++	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
++	   archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++	   hardcode_libdir_flag_spec_GCJ='-R$libdir'
++	   ;;
++	 *)
++	   archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
++	   hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
++	   ;;
++       esac
++      fi
++      ;;
++
++    os2*)
++      hardcode_libdir_flag_spec_GCJ='-L$libdir'
++      hardcode_minus_L_GCJ=yes
++      allow_undefined_flag_GCJ=unsupported
++      archive_cmds_GCJ='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
++      old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
++      ;;
++
++    osf3*)
++      if test "$GCC" = yes; then
++	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
++	archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++      else
++	allow_undefined_flag_GCJ=' -expect_unresolved \*'
++	archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
++      fi
++      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
++      hardcode_libdir_separator_GCJ=:
++      ;;
++
++    osf4* | osf5*)	# as osf3* with the addition of -msym flag
++      if test "$GCC" = yes; then
++	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
++	archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++	hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
++      else
++	allow_undefined_flag_GCJ=' -expect_unresolved \*'
++	archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
++	archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
++	$LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
++
++	# Both c and cxx compiler support -rpath directly
++	hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
++      fi
++      hardcode_libdir_separator_GCJ=:
++      ;;
++
++    sco3.2v5*)
++      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_shlibpath_var_GCJ=no
++      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
++      runpath_var=LD_RUN_PATH
++      hardcode_runpath_var=yes
++      ;;
++
++    solaris*)
++      no_undefined_flag_GCJ=' -z text'
++      if test "$GCC" = yes; then
++	archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
++      else
++	archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
++	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++  	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
++      fi
++      hardcode_libdir_flag_spec_GCJ='-R$libdir'
++      hardcode_shlibpath_var_GCJ=no
++      case $host_os in
++      solaris2.[0-5] | solaris2.[0-5].*) ;;
++      *) # Supported since Solaris 2.6 (maybe 2.5.1?)
++	whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
++      esac
++      link_all_deplibs_GCJ=yes
++      ;;
++
++    sunos4*)
++      if test "x$host_vendor" = xsequent; then
++	# Use $CC to link under sequent, because it throws in some extra .o
++	# files that make .init and .fini sections work.
++	archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
++      else
++	archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
++      fi
++      hardcode_libdir_flag_spec_GCJ='-L$libdir'
++      hardcode_direct_GCJ=yes
++      hardcode_minus_L_GCJ=yes
++      hardcode_shlibpath_var_GCJ=no
++      ;;
++
++    sysv4)
++      case $host_vendor in
++	sni)
++	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++	  hardcode_direct_GCJ=yes # is this really true???
++	;;
++	siemens)
++	  ## LD is ld it makes a PLAMLIB
++	  ## CC just makes a GrossModule.
++	  archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
++	  reload_cmds_GCJ='$CC -r -o $output$reload_objs'
++	  hardcode_direct_GCJ=no
++        ;;
++	motorola)
++	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++	  hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
++	;;
++      esac
++      runpath_var='LD_RUN_PATH'
++      hardcode_shlibpath_var_GCJ=no
++      ;;
++
++    sysv4.3*)
++      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_shlibpath_var_GCJ=no
++      export_dynamic_flag_spec_GCJ='-Bexport'
++      ;;
++
++    sysv4*MP*)
++      if test -d /usr/nec; then
++	archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++	hardcode_shlibpath_var_GCJ=no
++	runpath_var=LD_RUN_PATH
++	hardcode_runpath_var=yes
++	ld_shlibs_GCJ=yes
++      fi
++      ;;
++
++    sysv4.2uw2*)
++      archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_direct_GCJ=yes
++      hardcode_minus_L_GCJ=no
++      hardcode_shlibpath_var_GCJ=no
++      hardcode_runpath_var=yes
++      runpath_var=LD_RUN_PATH
++      ;;
++
++   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
++      no_undefined_flag_GCJ='${wl}-z ${wl}text'
++      if test "$GCC" = yes; then
++	archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++      else
++	archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++      fi
++      runpath_var='LD_RUN_PATH'
++      hardcode_shlibpath_var_GCJ=no
++      ;;
++
++    sysv5*)
++      no_undefined_flag_GCJ=' -z text'
++      # $CC -shared without GNU ld will not create a library from C++
++      # object files and a static libstdc++, better avoid it by now
++      archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++  		$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
++      hardcode_libdir_flag_spec_GCJ=
++      hardcode_shlibpath_var_GCJ=no
++      runpath_var='LD_RUN_PATH'
++      ;;
++
++    uts4*)
++      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_libdir_flag_spec_GCJ='-L$libdir'
++      hardcode_shlibpath_var_GCJ=no
++      ;;
++
++    *)
++      ld_shlibs_GCJ=no
++      ;;
++    esac
++  fi
++
++echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
++echo "${ECHO_T}$ld_shlibs_GCJ" >&6
++test "$ld_shlibs_GCJ" = no && can_build_shared=no
++
++variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
++if test "$GCC" = yes; then
++  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
++fi
++
++#
++# Do we need to explicitly link libc?
++#
++case "x$archive_cmds_need_lc_GCJ" in
++x|xyes)
++  # Assume -lc should be added
++  archive_cmds_need_lc_GCJ=yes
++
++  if test "$enable_shared" = yes && test "$GCC" = yes; then
++    case $archive_cmds_GCJ in
++    *'~'*)
++      # FIXME: we may have to deal with multi-command sequences.
++      ;;
++    '$CC '*)
++      # Test whether the compiler implicitly links with -lc since on some
++      # systems, -lgcc has to come before -lc. If gcc already passes -lc
++      # to ld, don't add -lc before -lgcc.
++      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
++echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
++      $rm conftest*
++      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
++
++      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } 2>conftest.err; then
++        soname=conftest
++        lib=conftest
++        libobjs=conftest.$ac_objext
++        deplibs=
++        wl=$lt_prog_compiler_wl_GCJ
++        compiler_flags=-v
++        linker_flags=-v
++        verstring=
++        output_objdir=.
++        libname=conftest
++        lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
++        allow_undefined_flag_GCJ=
++        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
++  (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }
++        then
++	  archive_cmds_need_lc_GCJ=no
++        else
++	  archive_cmds_need_lc_GCJ=yes
++        fi
++        allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
++      else
++        cat conftest.err 1>&5
++      fi
++      $rm conftest*
++      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
++echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
++      ;;
++    esac
++  fi
++  ;;
++esac
++
++echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
++echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
++library_names_spec=
++libname_spec='lib$name'
++soname_spec=
++shrext_cmds=".so"
++postinstall_cmds=
++postuninstall_cmds=
++finish_cmds=
++finish_eval=
++shlibpath_var=
++shlibpath_overrides_runpath=unknown
++version_type=none
++dynamic_linker="$host_os ld.so"
++sys_lib_dlsearch_path_spec="/lib /usr/lib"
++if test "$GCC" = yes; then
++  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
++  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
++    # if the path contains ";" then we assume it to be the separator
++    # otherwise default to the standard path separator (i.e. ":") - it is
++    # assumed that no part of a normal pathname contains ";" but that should
++    # okay in the real world where ";" in dirpaths is itself problematic.
++    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
++  else
++    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
++  fi
++else
++  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
++fi
++need_lib_prefix=unknown
++hardcode_into_libs=no
++
++# when you set need_version to no, make sure it does not cause -set_version
++# flags to be left without arguments
++need_version=unknown
++
++case $host_os in
++aix3*)
++  version_type=linux
++  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
++  shlibpath_var=LIBPATH
++
++  # AIX 3 has no versioning support, so we append a major version to the name.
++  soname_spec='${libname}${release}${shared_ext}$major'
++  ;;
++
++aix4* | aix5*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  hardcode_into_libs=yes
++  if test "$host_cpu" = ia64; then
++    # AIX 5 supports IA64
++    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
++    shlibpath_var=LD_LIBRARY_PATH
++  else
++    # With GCC up to 2.95.x, collect2 would create an import file
++    # for dependence libraries.  The import file would start with
++    # the line `#! .'.  This would cause the generated library to
++    # depend on `.', always an invalid library.  This was fixed in
++    # development snapshots of GCC prior to 3.0.
++    case $host_os in
++      aix4 | aix4.[01] | aix4.[01].*)
++      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
++	   echo ' yes '
++	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
++	:
++      else
++	can_build_shared=no
++      fi
++      ;;
++    esac
++    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
++    # soname into executable. Probably we can add versioning support to
++    # collect2, so additional links can be useful in future.
++    if test "$aix_use_runtimelinking" = yes; then
++      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
++      # instead of lib<name>.a to let people know that these are not
++      # typical AIX shared libraries.
++      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++    else
++      # We preserve .a as extension for shared libraries through AIX4.2
++      # and later when we are not doing run time linking.
++      library_names_spec='${libname}${release}.a $libname.a'
++      soname_spec='${libname}${release}${shared_ext}$major'
++    fi
++    shlibpath_var=LIBPATH
++  fi
++  ;;
++
++amigaos*)
++  library_names_spec='$libname.ixlibrary $libname.a'
++  # Create ${libname}_ixlibrary.a entries in /sys/libs.
++  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
++  ;;
++
++beos*)
++  library_names_spec='${libname}${shared_ext}'
++  dynamic_linker="$host_os ld.so"
++  shlibpath_var=LIBRARY_PATH
++  ;;
++
++bsdi4*)
++  version_type=linux
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
++  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
++  # the default ld.so.conf also contains /usr/contrib/lib and
++  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
++  # libtool to hard-code these into programs
++  ;;
++
++cygwin* | mingw* | pw32*)
++  version_type=windows
++  shrext_cmds=".dll"
++  need_version=no
++  need_lib_prefix=no
++
++  case $GCC,$host_os in
++  yes,cygwin* | yes,mingw* | yes,pw32*)
++    library_names_spec='$libname.dll.a'
++    # DLL is installed to $(libdir)/../bin by postinstall_cmds
++    postinstall_cmds='base_file=`basename \${file}`~
++      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
++      dldir=$destdir/`dirname \$dlpath`~
++      test -d \$dldir || mkdir -p \$dldir~
++      $install_prog $dir/$dlname \$dldir/$dlname'
++    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
++      dlpath=$dir/\$dldll~
++       $rm \$dlpath'
++    shlibpath_overrides_runpath=yes
++
++    case $host_os in
++    cygwin*)
++      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
++      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
++      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
++      ;;
++    mingw*)
++      # MinGW DLLs use traditional 'lib' prefix
++      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
++      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
++      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
++        # It is most probably a Windows format PATH printed by
++        # mingw gcc, but we are running on Cygwin. Gcc prints its search
++        # path with ; separators, and with drive letters. We can handle the
++        # drive letters (cygwin fileutils understands them), so leave them,
++        # especially as we might pass files found there to a mingw objdump,
++        # which wouldn't understand a cygwinified path. Ahh.
++        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
++      else
++        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
++      fi
++      ;;
++    pw32*)
++      # pw32 DLLs use 'pw' prefix rather than 'lib'
++      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
++      ;;
++    esac
++    ;;
++
++  *)
++    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
++    ;;
++  esac
++  dynamic_linker='Win32 ld.exe'
++  # FIXME: first we should search . and the directory the executable is in
++  shlibpath_var=PATH
++  ;;
++
++darwin* | rhapsody*)
++  dynamic_linker="$host_os dyld"
++  version_type=darwin
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
++  soname_spec='${libname}${release}${major}$shared_ext'
++  shlibpath_overrides_runpath=yes
++  shlibpath_var=DYLD_LIBRARY_PATH
++  shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
++  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
++  if test "$GCC" = yes; then
++    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
++  else
++    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
++  fi
++  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
++  ;;
++
++dgux*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++freebsd1*)
++  dynamic_linker=no
++  ;;
++
++kfreebsd*-gnu)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=no
++  hardcode_into_libs=yes
++  dynamic_linker='GNU ld.so'
++  ;;
++
++freebsd*)
++  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
++  version_type=freebsd-$objformat
++  case $version_type in
++    freebsd-elf*)
++      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
++      need_version=no
++      need_lib_prefix=no
++      ;;
++    freebsd-*)
++      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
++      need_version=yes
++      ;;
++  esac
++  shlibpath_var=LD_LIBRARY_PATH
++  case $host_os in
++  freebsd2*)
++    shlibpath_overrides_runpath=yes
++    ;;
++  freebsd3.01* | freebsdelf3.01*)
++    shlibpath_overrides_runpath=yes
++    hardcode_into_libs=yes
++    ;;
++  *) # from 3.2 on
++    shlibpath_overrides_runpath=no
++    hardcode_into_libs=yes
++    ;;
++  esac
++  ;;
++
++gnu*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  hardcode_into_libs=yes
++  ;;
++
++hpux9* | hpux10* | hpux11*)
++  # Give a soname corresponding to the major version so that dld.sl refuses to
++  # link against other versions.
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=no
++  case "$host_cpu" in
++  ia64*)
++    shrext_cmds='.so'
++    hardcode_into_libs=yes
++    dynamic_linker="$host_os dld.so"
++    shlibpath_var=LD_LIBRARY_PATH
++    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
++    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++    soname_spec='${libname}${release}${shared_ext}$major'
++    if test "X$HPUX_IA64_MODE" = X32; then
++      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
++    else
++      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
++    fi
++    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
++    ;;
++   hppa*64*)
++     shrext_cmds='.sl'
++     hardcode_into_libs=yes
++     dynamic_linker="$host_os dld.sl"
++     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
++     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
++     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++     soname_spec='${libname}${release}${shared_ext}$major'
++     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
++     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
++     ;;
++   *)
++    shrext_cmds='.sl'
++    dynamic_linker="$host_os dld.sl"
++    shlibpath_var=SHLIB_PATH
++    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
++    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++    soname_spec='${libname}${release}${shared_ext}$major'
++    ;;
++  esac
++  # HP-UX runs *really* slowly unless shared libraries are mode 555.
++  postinstall_cmds='chmod 555 $lib'
++  ;;
++
++irix5* | irix6* | nonstopux*)
++  case $host_os in
++    nonstopux*) version_type=nonstopux ;;
++    *)
++	if test "$lt_cv_prog_gnu_ld" = yes; then
++		version_type=linux
++	else
++		version_type=irix
++	fi ;;
++  esac
++  need_lib_prefix=no
++  need_version=no
++  soname_spec='${libname}${release}${shared_ext}$major'
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
++  case $host_os in
++  irix5* | nonstopux*)
++    libsuff= shlibsuff=
++    ;;
++  *)
++    case $LD in # libtool.m4 will add one of these switches to LD
++    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
++      libsuff= shlibsuff= libmagic=32-bit;;
++    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
++      libsuff=32 shlibsuff=N32 libmagic=N32;;
++    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
++      libsuff=64 shlibsuff=64 libmagic=64-bit;;
++    *) libsuff= shlibsuff= libmagic=never-match;;
++    esac
++    ;;
++  esac
++  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
++  shlibpath_overrides_runpath=no
++  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
++  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
++  hardcode_into_libs=yes
++  ;;
++
++# No shared lib support for Linux oldld, aout, or coff.
++linux*oldld* | linux*aout* | linux*coff*)
++  dynamic_linker=no
++  ;;
++
++# This must be Linux ELF.
++linux*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=no
++  # This implies no fast_install, which is unacceptable.
++  # Some rework will be needed to allow for fast_install
++  # before this can be enabled.
++  hardcode_into_libs=yes
++
++  # Append ld.so.conf contents to the search path
++  if test -f /etc/ld.so.conf; then
++    lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
++    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
++  fi
++
++  # We used to test for /lib/ld.so.1 and disable shared libraries on
++  # powerpc, because MkLinux only supported shared libraries with the
++  # GNU dynamic linker.  Since this was broken with cross compilers,
++  # most powerpc-linux boxes support dynamic linking these days and
++  # people can always --disable-shared, the test was removed, and we
++  # assume the GNU/Linux dynamic linker is in use.
++  dynamic_linker='GNU/Linux ld.so'
++  ;;
++
++netbsdelf*-gnu)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=no
++  hardcode_into_libs=yes
++  dynamic_linker='NetBSD ld.elf_so'
++  ;;
++
++knetbsd*-gnu)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=no
++  hardcode_into_libs=yes
++  dynamic_linker='GNU ld.so'
++  ;;
++
++netbsd*)
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=no
++  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
++    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
++    dynamic_linker='NetBSD (a.out) ld.so'
++  else
++    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
++    soname_spec='${libname}${release}${shared_ext}$major'
++    dynamic_linker='NetBSD ld.elf_so'
++  fi
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  hardcode_into_libs=yes
++  ;;
++
++newsos6)
++  version_type=linux
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  ;;
++
++nto-qnx*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  ;;
++
++openbsd*)
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=yes
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
++    case $host_os in
++      openbsd2.[89] | openbsd2.[89].*)
++	shlibpath_overrides_runpath=no
++	;;
++      *)
++	shlibpath_overrides_runpath=yes
++	;;
++      esac
++  else
++    shlibpath_overrides_runpath=yes
++  fi
++  ;;
++
++os2*)
++  libname_spec='$name'
++  shrext_cmds=".dll"
++  need_lib_prefix=no
++  library_names_spec='$libname${shared_ext} $libname.a'
++  dynamic_linker='OS/2 ld.exe'
++  shlibpath_var=LIBPATH
++  ;;
++
++osf3* | osf4* | osf5*)
++  version_type=osf
++  need_lib_prefix=no
++  need_version=no
++  soname_spec='${libname}${release}${shared_ext}$major'
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  shlibpath_var=LD_LIBRARY_PATH
++  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
++  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
++  ;;
++
++sco3.2v5*)
++  version_type=osf
++  soname_spec='${libname}${release}${shared_ext}$major'
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++solaris*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  hardcode_into_libs=yes
++  # ldd complains unless libraries are executable
++  postinstall_cmds='chmod +x $lib'
++  ;;
++
++sunos4*)
++  version_type=sunos
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
++  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  if test "$with_gnu_ld" = yes; then
++    need_lib_prefix=no
++  fi
++  need_version=yes
++  ;;
++
++sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
++  version_type=linux
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  case $host_vendor in
++    sni)
++      shlibpath_overrides_runpath=no
++      need_lib_prefix=no
++      export_dynamic_flag_spec='${wl}-Blargedynsym'
++      runpath_var=LD_RUN_PATH
++      ;;
++    siemens)
++      need_lib_prefix=no
++      ;;
++    motorola)
++      need_lib_prefix=no
++      need_version=no
++      shlibpath_overrides_runpath=no
++      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
++      ;;
++  esac
++  ;;
++
++sysv4*MP*)
++  if test -d /usr/nec ;then
++    version_type=linux
++    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
++    soname_spec='$libname${shared_ext}.$major'
++    shlibpath_var=LD_LIBRARY_PATH
++  fi
++  ;;
++
++uts4*)
++  version_type=linux
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++*)
++  dynamic_linker=no
++  ;;
++esac
++echo "$as_me:$LINENO: result: $dynamic_linker" >&5
++echo "${ECHO_T}$dynamic_linker" >&6
++test "$dynamic_linker" = no && can_build_shared=no
++
++echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
++echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
++hardcode_action_GCJ=
++if test -n "$hardcode_libdir_flag_spec_GCJ" || \
++   test -n "$runpath_var GCJ" || \
++   test "X$hardcode_automatic_GCJ"="Xyes" ; then
++
++  # We can hardcode non-existant directories.
++  if test "$hardcode_direct_GCJ" != no &&
++     # If the only mechanism to avoid hardcoding is shlibpath_var, we
++     # have to relink, otherwise we might link with an installed library
++     # when we should be linking with a yet-to-be-installed one
++     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
++     test "$hardcode_minus_L_GCJ" != no; then
++    # Linking always hardcodes the temporary library directory.
++    hardcode_action_GCJ=relink
++  else
++    # We can link without hardcoding, and we can hardcode nonexisting dirs.
++    hardcode_action_GCJ=immediate
++  fi
++else
++  # We cannot hardcode anything, or else we can only hardcode existing
++  # directories.
++  hardcode_action_GCJ=unsupported
++fi
++echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
++echo "${ECHO_T}$hardcode_action_GCJ" >&6
++
++if test "$hardcode_action_GCJ" = relink; then
++  # Fast installation is not supported
++  enable_fast_install=no
++elif test "$shlibpath_overrides_runpath" = yes ||
++     test "$enable_shared" = no; then
++  # Fast installation is not necessary
++  enable_fast_install=needless
++fi
++
++striplib=
++old_striplib=
++echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
++echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
++if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
++  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
++  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
++  echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++else
++# FIXME - insert some real tests, host_os isn't really good enough
++  case $host_os in
++   darwin*)
++       if test -n "$STRIP" ; then
++         striplib="$STRIP -x"
++         echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++       else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++       ;;
++   *)
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++    ;;
++  esac
++fi
++
++if test "x$enable_dlopen" != xyes; then
++  enable_dlopen=unknown
++  enable_dlopen_self=unknown
++  enable_dlopen_self_static=unknown
++else
++  lt_cv_dlopen=no
++  lt_cv_dlopen_libs=
++
++  case $host_os in
++  beos*)
++    lt_cv_dlopen="load_add_on"
++    lt_cv_dlopen_libs=
++    lt_cv_dlopen_self=yes
++    ;;
++
++  mingw* | pw32*)
++    lt_cv_dlopen="LoadLibrary"
++    lt_cv_dlopen_libs=
++   ;;
++
++  cygwin*)
++    lt_cv_dlopen="dlopen"
++    lt_cv_dlopen_libs=
++   ;;
++
++  darwin*)
++  # if libdl is installed we need to link against it
++    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
++echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
++if test "${ac_cv_lib_dl_dlopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ldl  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dlopen ();
++int
++main ()
++{
++dlopen ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_dl_dlopen=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_dl_dlopen=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
++echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
++if test $ac_cv_lib_dl_dlopen = yes; then
++  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
++else
++  
++    lt_cv_dlopen="dyld"
++    lt_cv_dlopen_libs=
++    lt_cv_dlopen_self=yes
++    
++fi
++
++   ;;
++
++  *)
++    echo "$as_me:$LINENO: checking for shl_load" >&5
++echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
++if test "${ac_cv_func_shl_load+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define shl_load innocuous_shl_load
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char shl_load (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef shl_load
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char shl_load ();
++/* 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_shl_load) || defined (__stub___shl_load)
++choke me
++#else
++char (*f) () = shl_load;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != shl_load;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_shl_load=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_shl_load=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
++echo "${ECHO_T}$ac_cv_func_shl_load" >&6
++if test $ac_cv_func_shl_load = yes; then
++  lt_cv_dlopen="shl_load"
++else
++  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
++echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
++if test "${ac_cv_lib_dld_shl_load+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ldld  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char shl_load ();
++int
++main ()
++{
++shl_load ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_dld_shl_load=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_dld_shl_load=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
++echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
++if test $ac_cv_lib_dld_shl_load = yes; then
++  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
++else
++  echo "$as_me:$LINENO: checking for dlopen" >&5
++echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
++if test "${ac_cv_func_dlopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define dlopen innocuous_dlopen
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char dlopen (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef dlopen
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dlopen ();
++/* 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_dlopen) || defined (__stub___dlopen)
++choke me
++#else
++char (*f) () = dlopen;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != dlopen;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_dlopen=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_dlopen=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
++echo "${ECHO_T}$ac_cv_func_dlopen" >&6
++if test $ac_cv_func_dlopen = yes; then
++  lt_cv_dlopen="dlopen"
++else
++  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
++echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
++if test "${ac_cv_lib_dl_dlopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ldl  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dlopen ();
++int
++main ()
++{
++dlopen ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_dl_dlopen=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_dl_dlopen=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
++echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
++if test $ac_cv_lib_dl_dlopen = yes; then
++  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
++else
++  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
++echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
++if test "${ac_cv_lib_svld_dlopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-lsvld  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dlopen ();
++int
++main ()
++{
++dlopen ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_svld_dlopen=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_svld_dlopen=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
++echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
++if test $ac_cv_lib_svld_dlopen = yes; then
++  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
++else
++  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
++echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
++if test "${ac_cv_lib_dld_dld_link+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ldld  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dld_link ();
++int
++main ()
++{
++dld_link ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_dld_dld_link=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_dld_dld_link=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
++echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
++if test $ac_cv_lib_dld_dld_link = yes; then
++  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
++fi
++
++	      
++fi
++
++	    
++fi
++
++	  
++fi
++
++	
++fi
++
++      
++fi
++
++    ;;
++  esac
++
++  if test "x$lt_cv_dlopen" != xno; then
++    enable_dlopen=yes
++  else
++    enable_dlopen=no
++  fi
++
++  case $lt_cv_dlopen in
++  dlopen)
++    save_CPPFLAGS="$CPPFLAGS"
++    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
++
++    save_LDFLAGS="$LDFLAGS"
++    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
++
++    save_LIBS="$LIBS"
++    LIBS="$lt_cv_dlopen_libs $LIBS"
++
++    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
++echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
++if test "${lt_cv_dlopen_self+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  	  if test "$cross_compiling" = yes; then :
++  lt_cv_dlopen_self=cross
++else
++  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
++  lt_status=$lt_dlunknown
++  cat > conftest.$ac_ext <<EOF
++#line __oline__ "configure"
++#include "confdefs.h"
++
++#if HAVE_DLFCN_H
++#include <dlfcn.h>
++#endif
++
++#include <stdio.h>
++
++#ifdef RTLD_GLOBAL
++#  define LT_DLGLOBAL		RTLD_GLOBAL
++#else
++#  ifdef DL_GLOBAL
++#    define LT_DLGLOBAL		DL_GLOBAL
++#  else
++#    define LT_DLGLOBAL		0
++#  endif
++#endif
++
++/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
++   find out it does not work in some platform. */
++#ifndef LT_DLLAZY_OR_NOW
++#  ifdef RTLD_LAZY
++#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
++#  else
++#    ifdef DL_LAZY
++#      define LT_DLLAZY_OR_NOW		DL_LAZY
++#    else
++#      ifdef RTLD_NOW
++#        define LT_DLLAZY_OR_NOW	RTLD_NOW
++#      else
++#        ifdef DL_NOW
++#          define LT_DLLAZY_OR_NOW	DL_NOW
++#        else
++#          define LT_DLLAZY_OR_NOW	0
++#        endif
++#      endif
++#    endif
++#  endif
++#endif
++
++#ifdef __cplusplus
++extern "C" void exit (int);
++#endif
++
++void fnord() { int i=42;}
++int main ()
++{
++  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
++  int status = $lt_dlunknown;
++
++  if (self)
++    {
++      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
++      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
++      /* dlclose (self); */
++    }
++
++    exit (status);
++}
++EOF
++  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
++    (./conftest; exit; ) 2>/dev/null
++    lt_status=$?
++    case x$lt_status in
++      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
++      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
++      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
++    esac
++  else :
++    # compilation failed
++    lt_cv_dlopen_self=no
++  fi
++fi
++rm -fr conftest*
++
++    
++fi
++echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
++echo "${ECHO_T}$lt_cv_dlopen_self" >&6
++
++    if test "x$lt_cv_dlopen_self" = xyes; then
++      LDFLAGS="$LDFLAGS $link_static_flag"
++      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
++echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
++if test "${lt_cv_dlopen_self_static+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  	  if test "$cross_compiling" = yes; then :
++  lt_cv_dlopen_self_static=cross
++else
++  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
++  lt_status=$lt_dlunknown
++  cat > conftest.$ac_ext <<EOF
++#line __oline__ "configure"
++#include "confdefs.h"
++
++#if HAVE_DLFCN_H
++#include <dlfcn.h>
++#endif
++
++#include <stdio.h>
++
++#ifdef RTLD_GLOBAL
++#  define LT_DLGLOBAL		RTLD_GLOBAL
++#else
++#  ifdef DL_GLOBAL
++#    define LT_DLGLOBAL		DL_GLOBAL
++#  else
++#    define LT_DLGLOBAL		0
++#  endif
++#endif
++
++/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
++   find out it does not work in some platform. */
++#ifndef LT_DLLAZY_OR_NOW
++#  ifdef RTLD_LAZY
++#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
++#  else
++#    ifdef DL_LAZY
++#      define LT_DLLAZY_OR_NOW		DL_LAZY
++#    else
++#      ifdef RTLD_NOW
++#        define LT_DLLAZY_OR_NOW	RTLD_NOW
++#      else
++#        ifdef DL_NOW
++#          define LT_DLLAZY_OR_NOW	DL_NOW
++#        else
++#          define LT_DLLAZY_OR_NOW	0
++#        endif
++#      endif
++#    endif
++#  endif
++#endif
++
++#ifdef __cplusplus
++extern "C" void exit (int);
++#endif
++
++void fnord() { int i=42;}
++int main ()
++{
++  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
++  int status = $lt_dlunknown;
++
++  if (self)
++    {
++      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
++      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
++      /* dlclose (self); */
++    }
++
++    exit (status);
++}
++EOF
++  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
++    (./conftest; exit; ) 2>/dev/null
++    lt_status=$?
++    case x$lt_status in
++      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
++      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
++      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
++    esac
++  else :
++    # compilation failed
++    lt_cv_dlopen_self_static=no
++  fi
++fi
++rm -fr conftest*
++
++      
++fi
++echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
++echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
++    fi
++
++    CPPFLAGS="$save_CPPFLAGS"
++    LDFLAGS="$save_LDFLAGS"
++    LIBS="$save_LIBS"
++    ;;
++  esac
++
++  case $lt_cv_dlopen_self in
++  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
++  *) enable_dlopen_self=unknown ;;
++  esac
++
++  case $lt_cv_dlopen_self_static in
++  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
++  *) enable_dlopen_self_static=unknown ;;
++  esac
++fi
++
++
++# The else clause should only fire when bootstrapping the
++# libtool distribution, otherwise you forgot to ship ltmain.sh
++# with your package, and you will get complaints that there are
++# no rules to generate ltmain.sh.
++if test -f "$ltmain"; then
++  # See if we are running on zsh, and set the options which allow our commands through
++  # without removal of \ escapes.
++  if test -n "${ZSH_VERSION+set}" ; then
++    setopt NO_GLOB_SUBST
++  fi
++  # Now quote all the things that may contain metacharacters while being
++  # careful not to overquote the AC_SUBSTed values.  We take copies of the
++  # variables and quote the copies for generation of the libtool script.
++  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
++    SED SHELL STRIP \
++    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
++    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
++    deplibs_check_method reload_flag reload_cmds need_locks \
++    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
++    lt_cv_sys_global_symbol_to_c_name_address \
++    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
++    old_postinstall_cmds old_postuninstall_cmds \
++    compiler_GCJ \
++    CC_GCJ \
++    LD_GCJ \
++    lt_prog_compiler_wl_GCJ \
++    lt_prog_compiler_pic_GCJ \
++    lt_prog_compiler_static_GCJ \
++    lt_prog_compiler_no_builtin_flag_GCJ \
++    export_dynamic_flag_spec_GCJ \
++    thread_safe_flag_spec_GCJ \
++    whole_archive_flag_spec_GCJ \
++    enable_shared_with_static_runtimes_GCJ \
++    old_archive_cmds_GCJ \
++    old_archive_from_new_cmds_GCJ \
++    predep_objects_GCJ \
++    postdep_objects_GCJ \
++    predeps_GCJ \
++    postdeps_GCJ \
++    compiler_lib_search_path_GCJ \
++    archive_cmds_GCJ \
++    archive_expsym_cmds_GCJ \
++    postinstall_cmds_GCJ \
++    postuninstall_cmds_GCJ \
++    old_archive_from_expsyms_cmds_GCJ \
++    allow_undefined_flag_GCJ \
++    no_undefined_flag_GCJ \
++    export_symbols_cmds_GCJ \
++    hardcode_libdir_flag_spec_GCJ \
++    hardcode_libdir_flag_spec_ld_GCJ \
++    hardcode_libdir_separator_GCJ \
++    hardcode_automatic_GCJ \
++    module_cmds_GCJ \
++    module_expsym_cmds_GCJ \
++    lt_cv_prog_compiler_c_o_GCJ \
++    exclude_expsyms_GCJ \
++    include_expsyms_GCJ; do
++
++    case $var in
++    old_archive_cmds_GCJ | \
++    old_archive_from_new_cmds_GCJ | \
++    archive_cmds_GCJ | \
++    archive_expsym_cmds_GCJ | \
++    module_cmds_GCJ | \
++    module_expsym_cmds_GCJ | \
++    old_archive_from_expsyms_cmds_GCJ | \
++    export_symbols_cmds_GCJ | \
++    extract_expsyms_cmds | reload_cmds | finish_cmds | \
++    postinstall_cmds | postuninstall_cmds | \
++    old_postinstall_cmds | old_postuninstall_cmds | \
++    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
++      # Double-quote double-evaled strings.
++      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
++      ;;
++    *)
++      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
++      ;;
++    esac
++  done
++
++  case $lt_echo in
++  *'\$0 --fallback-echo"')
++    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
++    ;;
++  esac
++
++cfgfile="$ofile"
++
++  cat <<__EOF__ >> "$cfgfile"
++# ### BEGIN LIBTOOL TAG CONFIG: $tagname
++
++# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
++
++# Shell to use when invoking shell scripts.
++SHELL=$lt_SHELL
++
++# Whether or not to build shared libraries.
++build_libtool_libs=$enable_shared
++
++# Whether or not to build static libraries.
++build_old_libs=$enable_static
++
++# Whether or not to add -lc for building shared libraries.
++build_libtool_need_lc=$archive_cmds_need_lc_GCJ
++
++# Whether or not to disallow shared libs when runtime libs are static
++allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
++
++# Whether or not to optimize for fast installation.
++fast_install=$enable_fast_install
++
++# The host system.
++host_alias=$host_alias
++host=$host
++
++# An echo program that does not interpret backslashes.
++echo=$lt_echo
++
++# The archiver.
++AR=$lt_AR
++AR_FLAGS=$lt_AR_FLAGS
++
++# A C compiler.
++LTCC=$lt_LTCC
++
++# A language-specific compiler.
++CC=$lt_compiler_GCJ
++
++# Is the compiler the GNU C compiler?
++with_gcc=$GCC_GCJ
++
++# An ERE matcher.
++EGREP=$lt_EGREP
++
++# The linker used to build libraries.
++LD=$lt_LD_GCJ
++
++# Whether we need hard or soft links.
++LN_S=$lt_LN_S
++
++# A BSD-compatible nm program.
++NM=$lt_NM
++
++# A symbol stripping program
++STRIP=$lt_STRIP
++
++# Used to examine libraries when file_magic_cmd begins "file"
++MAGIC_CMD=$MAGIC_CMD
++
++# Used on cygwin: DLL creation program.
++DLLTOOL="$DLLTOOL"
++
++# Used on cygwin: object dumper.
++OBJDUMP="$OBJDUMP"
++
++# Used on cygwin: assembler.
++AS="$AS"
++
++# The name of the directory that contains temporary libtool files.
++objdir=$objdir
++
++# How to create reloadable object files.
++reload_flag=$lt_reload_flag
++reload_cmds=$lt_reload_cmds
++
++# How to pass a linker flag through the compiler.
++wl=$lt_lt_prog_compiler_wl_GCJ
++
++# Object file suffix (normally "o").
++objext="$ac_objext"
++
++# Old archive suffix (normally "a").
++libext="$libext"
++
++# Shared library suffix (normally ".so").
++shrext_cmds='$shrext_cmds'
++
++# Executable file suffix (normally "").
++exeext="$exeext"
++
++# Additional compiler flags for building library objects.
++pic_flag=$lt_lt_prog_compiler_pic_GCJ
++pic_mode=$pic_mode
++
++# What is the maximum length of a command?
++max_cmd_len=$lt_cv_sys_max_cmd_len
++
++# Does compiler simultaneously support -c and -o options?
++compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
++
++# Must we lock files when doing compilation ?
++need_locks=$lt_need_locks
++
++# Do we need the lib prefix for modules?
++need_lib_prefix=$need_lib_prefix
++
++# Do we need a version for libraries?
++need_version=$need_version
++
++# Whether dlopen is supported.
++dlopen_support=$enable_dlopen
++
++# Whether dlopen of programs is supported.
++dlopen_self=$enable_dlopen_self
++
++# Whether dlopen of statically linked programs is supported.
++dlopen_self_static=$enable_dlopen_self_static
++
++# Compiler flag to prevent dynamic linking.
++link_static_flag=$lt_lt_prog_compiler_static_GCJ
++
++# Compiler flag to turn off builtin functions.
++no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
++
++# Compiler flag to allow reflexive dlopens.
++export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
++
++# Compiler flag to generate shared objects directly from archives.
++whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
++
++# Compiler flag to generate thread-safe objects.
++thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
++
++# Library versioning type.
++version_type=$version_type
++
++# Format of library name prefix.
++libname_spec=$lt_libname_spec
++
++# List of archive names.  First name is the real one, the rest are links.
++# The last name is the one that the linker finds with -lNAME.
++library_names_spec=$lt_library_names_spec
++
++# The coded name of the library, if different from the real name.
++soname_spec=$lt_soname_spec
++
++# Commands used to build and install an old-style archive.
++RANLIB=$lt_RANLIB
++old_archive_cmds=$lt_old_archive_cmds_GCJ
++old_postinstall_cmds=$lt_old_postinstall_cmds
++old_postuninstall_cmds=$lt_old_postuninstall_cmds
++
++# Create an old-style archive from a shared archive.
++old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
++
++# Create a temporary old-style archive to link instead of a shared archive.
++old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
++
++# Commands used to build and install a shared archive.
++archive_cmds=$lt_archive_cmds_GCJ
++archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
++postinstall_cmds=$lt_postinstall_cmds
++postuninstall_cmds=$lt_postuninstall_cmds
++
++# Commands used to build a loadable module (assumed same as above if empty)
++module_cmds=$lt_module_cmds_GCJ
++module_expsym_cmds=$lt_module_expsym_cmds_GCJ
++
++# Commands to strip libraries.
++old_striplib=$lt_old_striplib
++striplib=$lt_striplib
++
++# Dependencies to place before the objects being linked to create a
++# shared library.
++predep_objects=$lt_predep_objects_GCJ
++
++# Dependencies to place after the objects being linked to create a
++# shared library.
++postdep_objects=$lt_postdep_objects_GCJ
++
++# Dependencies to place before the objects being linked to create a
++# shared library.
++predeps=$lt_predeps_GCJ
++
++# Dependencies to place after the objects being linked to create a
++# shared library.
++postdeps=$lt_postdeps_GCJ
++
++# The library search path used internally by the compiler when linking
++# a shared library.
++compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
++
++# Method to check whether dependent libraries are shared objects.
++deplibs_check_method=$lt_deplibs_check_method
++
++# Command to use when deplibs_check_method == file_magic.
++file_magic_cmd=$lt_file_magic_cmd
++
++# Flag that allows shared libraries with undefined symbols to be built.
++allow_undefined_flag=$lt_allow_undefined_flag_GCJ
++
++# Flag that forces no undefined symbols.
++no_undefined_flag=$lt_no_undefined_flag_GCJ
++
++# Commands used to finish a libtool library installation in a directory.
++finish_cmds=$lt_finish_cmds
++
++# Same as above, but a single script fragment to be evaled but not shown.
++finish_eval=$lt_finish_eval
++
++# Take the output of nm and produce a listing of raw symbols and C names.
++global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
++
++# Transform the output of nm in a proper C declaration
++global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
++
++# Transform the output of nm in a C name address pair
++global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
++
++# This is the shared library runtime path variable.
++runpath_var=$runpath_var
++
++# This is the shared library path variable.
++shlibpath_var=$shlibpath_var
++
++# Is shlibpath searched before the hard-coded library search path?
++shlibpath_overrides_runpath=$shlibpath_overrides_runpath
++
++# How to hardcode a shared library path into an executable.
++hardcode_action=$hardcode_action_GCJ
++
++# Whether we should hardcode library paths into libraries.
++hardcode_into_libs=$hardcode_into_libs
++
++# Flag to hardcode \$libdir into a binary during linking.
++# This must work even if \$libdir does not exist.
++hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
++
++# If ld is used when linking, flag to hardcode \$libdir into
++# a binary during linking. This must work even if \$libdir does
++# not exist.
++hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
++
++# Whether we need a single -rpath flag with a separated argument.
++hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
++
++# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
++# resulting binary.
++hardcode_direct=$hardcode_direct_GCJ
++
++# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
++# resulting binary.
++hardcode_minus_L=$hardcode_minus_L_GCJ
++
++# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
++# the resulting binary.
++hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
++
++# Set to yes if building a shared library automatically hardcodes DIR into the library
++# and all subsequent libraries and executables linked against it.
++hardcode_automatic=$hardcode_automatic_GCJ
++
++# Variables whose values should be saved in libtool wrapper scripts and
++# restored at relink time.
++variables_saved_for_relink="$variables_saved_for_relink"
++
++# Whether libtool must link a program against all its dependency libraries.
++link_all_deplibs=$link_all_deplibs_GCJ
++
++# Compile-time system search path for libraries
++sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
++
++# Run-time system search path for libraries
++sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
++
++# Fix the shell variable \$srcfile for the compiler.
++fix_srcfile_path="$fix_srcfile_path_GCJ"
++
++# Set to yes if exported symbols are required.
++always_export_symbols=$always_export_symbols_GCJ
++
++# The commands to list exported symbols.
++export_symbols_cmds=$lt_export_symbols_cmds_GCJ
++
++# The commands to extract the exported symbol list from a shared archive.
++extract_expsyms_cmds=$lt_extract_expsyms_cmds
++
++# Symbols that should not be listed in the preloaded symbols.
++exclude_expsyms=$lt_exclude_expsyms_GCJ
++
++# Symbols that must always be exported.
++include_expsyms=$lt_include_expsyms_GCJ
++
++# ### END LIBTOOL TAG CONFIG: $tagname
++
++__EOF__
++
++
++else
++  # If there is no Makefile yet, we rely on a make rule to execute
++  # `config.status --recheck' to rerun these tests and create the
++  # libtool script then.
++  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
++  if test -f "$ltmain_in"; then
++    test -f Makefile && make "$ltmain"
++  fi
++fi
++
++
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++CC="$lt_save_CC"
++
++	else
++	  tagname=""
++	fi
++	;;
++
++      RC)
++	
++
++
++# Source file extension for RC test sources.
++ac_ext=rc
++
++# Object file extension for compiled RC test sources.
++objext=o
++objext_RC=$objext
++
++# Code to be used in simple compile tests
++lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
++
++# Code to be used in simple link tests
++lt_simple_link_test_code="$lt_simple_compile_test_code"
++
++# ltmain only uses $CC for tagged configurations so make sure $CC is set.
++
++# If no C compiler was specified, use CC.
++LTCC=${LTCC-"$CC"}
++
++# Allow CC to be a program name with arguments.
++compiler=$CC
++
++
++# Allow CC to be a program name with arguments.
++lt_save_CC="$CC"
++CC=${RC-"windres"}
++compiler=$CC
++compiler_RC=$CC
++lt_cv_prog_compiler_c_o_RC=yes
++
++# The else clause should only fire when bootstrapping the
++# libtool distribution, otherwise you forgot to ship ltmain.sh
++# with your package, and you will get complaints that there are
++# no rules to generate ltmain.sh.
++if test -f "$ltmain"; then
++  # See if we are running on zsh, and set the options which allow our commands through
++  # without removal of \ escapes.
++  if test -n "${ZSH_VERSION+set}" ; then
++    setopt NO_GLOB_SUBST
++  fi
++  # Now quote all the things that may contain metacharacters while being
++  # careful not to overquote the AC_SUBSTed values.  We take copies of the
++  # variables and quote the copies for generation of the libtool script.
++  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
++    SED SHELL STRIP \
++    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
++    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
++    deplibs_check_method reload_flag reload_cmds need_locks \
++    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
++    lt_cv_sys_global_symbol_to_c_name_address \
++    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
++    old_postinstall_cmds old_postuninstall_cmds \
++    compiler_RC \
++    CC_RC \
++    LD_RC \
++    lt_prog_compiler_wl_RC \
++    lt_prog_compiler_pic_RC \
++    lt_prog_compiler_static_RC \
++    lt_prog_compiler_no_builtin_flag_RC \
++    export_dynamic_flag_spec_RC \
++    thread_safe_flag_spec_RC \
++    whole_archive_flag_spec_RC \
++    enable_shared_with_static_runtimes_RC \
++    old_archive_cmds_RC \
++    old_archive_from_new_cmds_RC \
++    predep_objects_RC \
++    postdep_objects_RC \
++    predeps_RC \
++    postdeps_RC \
++    compiler_lib_search_path_RC \
++    archive_cmds_RC \
++    archive_expsym_cmds_RC \
++    postinstall_cmds_RC \
++    postuninstall_cmds_RC \
++    old_archive_from_expsyms_cmds_RC \
++    allow_undefined_flag_RC \
++    no_undefined_flag_RC \
++    export_symbols_cmds_RC \
++    hardcode_libdir_flag_spec_RC \
++    hardcode_libdir_flag_spec_ld_RC \
++    hardcode_libdir_separator_RC \
++    hardcode_automatic_RC \
++    module_cmds_RC \
++    module_expsym_cmds_RC \
++    lt_cv_prog_compiler_c_o_RC \
++    exclude_expsyms_RC \
++    include_expsyms_RC; do
++
++    case $var in
++    old_archive_cmds_RC | \
++    old_archive_from_new_cmds_RC | \
++    archive_cmds_RC | \
++    archive_expsym_cmds_RC | \
++    module_cmds_RC | \
++    module_expsym_cmds_RC | \
++    old_archive_from_expsyms_cmds_RC | \
++    export_symbols_cmds_RC | \
++    extract_expsyms_cmds | reload_cmds | finish_cmds | \
++    postinstall_cmds | postuninstall_cmds | \
++    old_postinstall_cmds | old_postuninstall_cmds | \
++    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
++      # Double-quote double-evaled strings.
++      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
++      ;;
++    *)
++      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
++      ;;
++    esac
++  done
++
++  case $lt_echo in
++  *'\$0 --fallback-echo"')
++    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
++    ;;
++  esac
++
++cfgfile="$ofile"
++
++  cat <<__EOF__ >> "$cfgfile"
++# ### BEGIN LIBTOOL TAG CONFIG: $tagname
++
++# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
++
++# Shell to use when invoking shell scripts.
++SHELL=$lt_SHELL
++
++# Whether or not to build shared libraries.
++build_libtool_libs=$enable_shared
++
++# Whether or not to build static libraries.
++build_old_libs=$enable_static
++
++# Whether or not to add -lc for building shared libraries.
++build_libtool_need_lc=$archive_cmds_need_lc_RC
++
++# Whether or not to disallow shared libs when runtime libs are static
++allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
++
++# Whether or not to optimize for fast installation.
++fast_install=$enable_fast_install
++
++# The host system.
++host_alias=$host_alias
++host=$host
++
++# An echo program that does not interpret backslashes.
++echo=$lt_echo
++
++# The archiver.
++AR=$lt_AR
++AR_FLAGS=$lt_AR_FLAGS
++
++# A C compiler.
++LTCC=$lt_LTCC
++
++# A language-specific compiler.
++CC=$lt_compiler_RC
++
++# Is the compiler the GNU C compiler?
++with_gcc=$GCC_RC
++
++# An ERE matcher.
++EGREP=$lt_EGREP
++
++# The linker used to build libraries.
++LD=$lt_LD_RC
++
++# Whether we need hard or soft links.
++LN_S=$lt_LN_S
++
++# A BSD-compatible nm program.
++NM=$lt_NM
++
++# A symbol stripping program
++STRIP=$lt_STRIP
++
++# Used to examine libraries when file_magic_cmd begins "file"
++MAGIC_CMD=$MAGIC_CMD
++
++# Used on cygwin: DLL creation program.
++DLLTOOL="$DLLTOOL"
++
++# Used on cygwin: object dumper.
++OBJDUMP="$OBJDUMP"
++
++# Used on cygwin: assembler.
++AS="$AS"
++
++# The name of the directory that contains temporary libtool files.
++objdir=$objdir
++
++# How to create reloadable object files.
++reload_flag=$lt_reload_flag
++reload_cmds=$lt_reload_cmds
++
++# How to pass a linker flag through the compiler.
++wl=$lt_lt_prog_compiler_wl_RC
++
++# Object file suffix (normally "o").
++objext="$ac_objext"
++
++# Old archive suffix (normally "a").
++libext="$libext"
++
++# Shared library suffix (normally ".so").
++shrext_cmds='$shrext_cmds'
++
++# Executable file suffix (normally "").
++exeext="$exeext"
++
++# Additional compiler flags for building library objects.
++pic_flag=$lt_lt_prog_compiler_pic_RC
++pic_mode=$pic_mode
++
++# What is the maximum length of a command?
++max_cmd_len=$lt_cv_sys_max_cmd_len
++
++# Does compiler simultaneously support -c and -o options?
++compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
++
++# Must we lock files when doing compilation ?
++need_locks=$lt_need_locks
++
++# Do we need the lib prefix for modules?
++need_lib_prefix=$need_lib_prefix
++
++# Do we need a version for libraries?
++need_version=$need_version
++
++# Whether dlopen is supported.
++dlopen_support=$enable_dlopen
++
++# Whether dlopen of programs is supported.
++dlopen_self=$enable_dlopen_self
++
++# Whether dlopen of statically linked programs is supported.
++dlopen_self_static=$enable_dlopen_self_static
++
++# Compiler flag to prevent dynamic linking.
++link_static_flag=$lt_lt_prog_compiler_static_RC
++
++# Compiler flag to turn off builtin functions.
++no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
++
++# Compiler flag to allow reflexive dlopens.
++export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
++
++# Compiler flag to generate shared objects directly from archives.
++whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
++
++# Compiler flag to generate thread-safe objects.
++thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
++
++# Library versioning type.
++version_type=$version_type
++
++# Format of library name prefix.
++libname_spec=$lt_libname_spec
++
++# List of archive names.  First name is the real one, the rest are links.
++# The last name is the one that the linker finds with -lNAME.
++library_names_spec=$lt_library_names_spec
++
++# The coded name of the library, if different from the real name.
++soname_spec=$lt_soname_spec
++
++# Commands used to build and install an old-style archive.
++RANLIB=$lt_RANLIB
++old_archive_cmds=$lt_old_archive_cmds_RC
++old_postinstall_cmds=$lt_old_postinstall_cmds
++old_postuninstall_cmds=$lt_old_postuninstall_cmds
++
++# Create an old-style archive from a shared archive.
++old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
++
++# Create a temporary old-style archive to link instead of a shared archive.
++old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
++
++# Commands used to build and install a shared archive.
++archive_cmds=$lt_archive_cmds_RC
++archive_expsym_cmds=$lt_archive_expsym_cmds_RC
++postinstall_cmds=$lt_postinstall_cmds
++postuninstall_cmds=$lt_postuninstall_cmds
++
++# Commands used to build a loadable module (assumed same as above if empty)
++module_cmds=$lt_module_cmds_RC
++module_expsym_cmds=$lt_module_expsym_cmds_RC
++
++# Commands to strip libraries.
++old_striplib=$lt_old_striplib
++striplib=$lt_striplib
++
++# Dependencies to place before the objects being linked to create a
++# shared library.
++predep_objects=$lt_predep_objects_RC
++
++# Dependencies to place after the objects being linked to create a
++# shared library.
++postdep_objects=$lt_postdep_objects_RC
++
++# Dependencies to place before the objects being linked to create a
++# shared library.
++predeps=$lt_predeps_RC
++
++# Dependencies to place after the objects being linked to create a
++# shared library.
++postdeps=$lt_postdeps_RC
++
++# The library search path used internally by the compiler when linking
++# a shared library.
++compiler_lib_search_path=$lt_compiler_lib_search_path_RC
++
++# Method to check whether dependent libraries are shared objects.
++deplibs_check_method=$lt_deplibs_check_method
++
++# Command to use when deplibs_check_method == file_magic.
++file_magic_cmd=$lt_file_magic_cmd
++
++# Flag that allows shared libraries with undefined symbols to be built.
++allow_undefined_flag=$lt_allow_undefined_flag_RC
++
++# Flag that forces no undefined symbols.
++no_undefined_flag=$lt_no_undefined_flag_RC
++
++# Commands used to finish a libtool library installation in a directory.
++finish_cmds=$lt_finish_cmds
++
++# Same as above, but a single script fragment to be evaled but not shown.
++finish_eval=$lt_finish_eval
++
++# Take the output of nm and produce a listing of raw symbols and C names.
++global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
++
++# Transform the output of nm in a proper C declaration
++global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
++
++# Transform the output of nm in a C name address pair
++global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
++
++# This is the shared library runtime path variable.
++runpath_var=$runpath_var
++
++# This is the shared library path variable.
++shlibpath_var=$shlibpath_var
++
++# Is shlibpath searched before the hard-coded library search path?
++shlibpath_overrides_runpath=$shlibpath_overrides_runpath
++
++# How to hardcode a shared library path into an executable.
++hardcode_action=$hardcode_action_RC
++
++# Whether we should hardcode library paths into libraries.
++hardcode_into_libs=$hardcode_into_libs
++
++# Flag to hardcode \$libdir into a binary during linking.
++# This must work even if \$libdir does not exist.
++hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
++
++# If ld is used when linking, flag to hardcode \$libdir into
++# a binary during linking. This must work even if \$libdir does
++# not exist.
++hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
++
++# Whether we need a single -rpath flag with a separated argument.
++hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
++
++# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
++# resulting binary.
++hardcode_direct=$hardcode_direct_RC
++
++# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
++# resulting binary.
++hardcode_minus_L=$hardcode_minus_L_RC
++
++# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
++# the resulting binary.
++hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
++
++# Set to yes if building a shared library automatically hardcodes DIR into the library
++# and all subsequent libraries and executables linked against it.
++hardcode_automatic=$hardcode_automatic_RC
++
++# Variables whose values should be saved in libtool wrapper scripts and
++# restored at relink time.
++variables_saved_for_relink="$variables_saved_for_relink"
++
++# Whether libtool must link a program against all its dependency libraries.
++link_all_deplibs=$link_all_deplibs_RC
++
++# Compile-time system search path for libraries
++sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
++
++# Run-time system search path for libraries
++sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
++
++# Fix the shell variable \$srcfile for the compiler.
++fix_srcfile_path="$fix_srcfile_path_RC"
++
++# Set to yes if exported symbols are required.
++always_export_symbols=$always_export_symbols_RC
++
++# The commands to list exported symbols.
++export_symbols_cmds=$lt_export_symbols_cmds_RC
++
++# The commands to extract the exported symbol list from a shared archive.
++extract_expsyms_cmds=$lt_extract_expsyms_cmds
++
++# Symbols that should not be listed in the preloaded symbols.
++exclude_expsyms=$lt_exclude_expsyms_RC
++
++# Symbols that must always be exported.
++include_expsyms=$lt_include_expsyms_RC
++
++# ### END LIBTOOL TAG CONFIG: $tagname
++
++__EOF__
++
++
++else
++  # If there is no Makefile yet, we rely on a make rule to execute
++  # `config.status --recheck' to rerun these tests and create the
++  # libtool script then.
++  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
++  if test -f "$ltmain_in"; then
++    test -f Makefile && make "$ltmain"
++  fi
++fi
++
++
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++CC="$lt_save_CC"
++
++	;;
++
++      *)
++	{ { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
++echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
++   { (exit 1); exit 1; }; }
++	;;
++      esac
++
++      # Append the new tag name to the list of available tags.
++      if test -n "$tagname" ; then
++      available_tags="$available_tags $tagname"
++    fi
++    fi
++  done
++  IFS="$lt_save_ifs"
++
++  # Now substitute the updated list of available tags.
++  if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
++    mv "${ofile}T" "$ofile"
++    chmod +x "$ofile"
++  else
++    rm -f "${ofile}T"
++    { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
++echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
++   { (exit 1); exit 1; }; }
++  fi
++fi
++
++
++
++# This can be used to rebuild libtool when needed
++LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
++
++# Always use our own libtool.
++LIBTOOL='$(SHELL) $(top_builddir)/libtool'
++
++# Prevent multiple expansion
++
++
++
++
++
++
++
++
++
++
++
++  
++
++  
++
++
++  
++       
++       
++
++
++
++WFLAGS_NOUNUSED=""
++WFLAGS_NOIMPLICITINT=""
++if test -z "$WFLAGS" -a "$GCC" = "yes"; then
++  # -Wno-implicit-int for broken X11 headers
++  # leave these out for now:
++  #   -Wcast-align doesn't work well on alpha osf/1
++  #   -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast
++  #   -Wmissing-declarations -Wnested-externs
++  WFLAGS="-Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs"
++  WFLAGS_NOUNUSED="-Wno-unused"
++  WFLAGS_NOIMPLICITINT="-Wno-implicit-int"
++fi
++
++
++
++
++# Check whether --with-openldap or --without-openldap was given.
++if test "${with_openldap+set}" = set; then
++  withval="$with_openldap"
++  
++fi; 
++
++# Check whether --with-openldap-lib or --without-openldap-lib was given.
++if test "${with_openldap_lib+set}" = set; then
++  withval="$with_openldap_lib"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-openldap-lib" >&5
++echo "$as_me: error: No argument for --with-openldap-lib" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_openldap" = "X"; then
++  with_openldap=yes
++fi
++fi; 
++
++# Check whether --with-openldap-include or --without-openldap-include was given.
++if test "${with_openldap_include+set}" = set; then
++  withval="$with_openldap_include"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-openldap-include" >&5
++echo "$as_me: error: No argument for --with-openldap-include" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_openldap" = "X"; then
++  with_openldap=yes
++fi
++fi; 
++
++# Check whether --with-openldap-config or --without-openldap-config was given.
++if test "${with_openldap_config+set}" = set; then
++  withval="$with_openldap_config"
++  
++fi; 
++
++
++
++echo "$as_me:$LINENO: checking for openldap" >&5
++echo $ECHO_N "checking for openldap... $ECHO_C" >&6
++
++case "$with_openldap" in
++yes|"") d='' ;;
++no)	d= ;;
++*)	d="$with_openldap" ;;
++esac
++
++header_dirs=
++lib_dirs=
++for i in $d /usr; do
++	if test "$with_openldap_include" = ""; then
++		if test -d "$i/include/openldap"; then
++			header_dirs="$header_dirs $i/include/openldap"
++		fi
++		if test -d "$i/include"; then
++			header_dirs="$header_dirs $i/include"
++		fi
++	fi
++	if test "$with_openldap_lib" = ""; then
++		if test -d "$i/lib$abilibdirext"; then
++			lib_dirs="$lib_dirs $i/lib$abilibdirext"
++		fi
++	fi
++done
++
++if test "$with_openldap_include"; then
++	header_dirs="$with_openldap_include $header_dirs"
++fi
++if test "$with_openldap_lib"; then
++	lib_dirs="$with_openldap_lib $lib_dirs"
++fi
++
++if test "$with_openldap_config" = ""; then
++	with_openldap_config=''
++fi
++
++openldap_cflags=
++openldap_libs=
++
++case "$with_openldap_config" in
++yes|no|"")
++	;;
++*)
++	openldap_cflags="`$with_openldap_config --cflags 2>&1`"
++	openldap_libs="`$with_openldap_config --libs 2>&1`"
++	;;
++esac
++
++found=no
++if test "$with_openldap" != no; then
++	save_CFLAGS="$CFLAGS"
++	save_LIBS="$LIBS"
++	if test "$openldap_cflags" -a "$openldap_libs"; then
++		CFLAGS="$openldap_cflags $save_CFLAGS"
++		LIBS="$openldap_libs $save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <lber.h>
++#include <ldap.h>
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  
++			INCLUDE_openldap="$openldap_cflags"
++			LIB_openldap="$openldap_libs"
++			echo "$as_me:$LINENO: result: from $with_openldap_config" >&5
++echo "${ECHO_T}from $with_openldap_config" >&6
++			found=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	fi
++	if test "$found" = no; then
++		ires= lres=
++		for i in $header_dirs; do
++			CFLAGS="-I$i $save_CFLAGS"
++			cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <lber.h>
++#include <ldap.h>
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ires=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++		done
++		for i in $lib_dirs; do
++			LIBS="-L$i -lldap -llber  $save_LIBS"
++			cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <lber.h>
++#include <ldap.h>
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  lres=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++		done
++		if test "$ires" -a "$lres" -a "$with_openldap" != "no"; then
++			DIR_openldap=
++			INCLUDE_openldap="-I$ires"
++			LIB_openldap="-L$lres -lldap -llber "
++			found=yes
++			echo "$as_me:$LINENO: result: headers $ires, libraries $lres" >&5
++echo "${ECHO_T}headers $ires, libraries $lres" >&6
++		fi
++	fi
++	CFLAGS="$save_CFLAGS"
++	LIBS="$save_LIBS"
++fi
++
++if test "$found" = yes; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define OPENLDAP 1
++_ACEOF
++
++	with_openldap=yes
++else
++	with_openldap=no
++	DIR_openldap=
++	INCLUDE_openldap=
++	LIB_openldap=
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++
++
++
++
++
++
++
++# Check whether --with-krb4 or --without-krb4 was given.
++if test "${with_krb4+set}" = set; then
++  withval="$with_krb4"
++  
++fi; 
++
++# Check whether --with-krb4-lib or --without-krb4-lib was given.
++if test "${with_krb4_lib+set}" = set; then
++  withval="$with_krb4_lib"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-krb4-lib" >&5
++echo "$as_me: error: No argument for --with-krb4-lib" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_krb4" = "X"; then
++  with_krb4=yes
++fi
++fi; 
++
++# Check whether --with-krb4-include or --without-krb4-include was given.
++if test "${with_krb4_include+set}" = set; then
++  withval="$with_krb4_include"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-krb4-include" >&5
++echo "$as_me: error: No argument for --with-krb4-include" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_krb4" = "X"; then
++  with_krb4=yes
++fi
++fi; 
++
++# Check whether --with-krb4-config or --without-krb4-config was given.
++if test "${with_krb4_config+set}" = set; then
++  withval="$with_krb4_config"
++  
++fi; 
++
++
++
++echo "$as_me:$LINENO: checking for krb4" >&5
++echo $ECHO_N "checking for krb4... $ECHO_C" >&6
++
++case "$with_krb4" in
++yes|"") d='/usr/athena' ;;
++no)	d= ;;
++*)	d="$with_krb4" ;;
++esac
++
++header_dirs=
++lib_dirs=
++for i in $d /usr; do
++	if test "$with_krb4_include" = ""; then
++		if test -d "$i/include/krb4"; then
++			header_dirs="$header_dirs $i/include/krb4"
++		fi
++		if test -d "$i/include"; then
++			header_dirs="$header_dirs $i/include"
++		fi
++	fi
++	if test "$with_krb4_lib" = ""; then
++		if test -d "$i/lib$abilibdirext"; then
++			lib_dirs="$lib_dirs $i/lib$abilibdirext"
++		fi
++	fi
++done
++
++if test "$with_krb4_include"; then
++	header_dirs="$with_krb4_include $header_dirs"
++fi
++if test "$with_krb4_lib"; then
++	lib_dirs="$with_krb4_lib $lib_dirs"
++fi
++
++if test "$with_krb4_config" = ""; then
++	with_krb4_config='krb4-config'
++fi
++
++krb4_cflags=
++krb4_libs=
++
++case "$with_krb4_config" in
++yes|no|"")
++	;;
++*)
++	krb4_cflags="`$with_krb4_config --cflags 2>&1`"
++	krb4_libs="`$with_krb4_config --libs 2>&1`"
++	;;
++esac
++
++found=no
++if test "$with_krb4" != no; then
++	save_CFLAGS="$CFLAGS"
++	save_LIBS="$LIBS"
++	if test "$krb4_cflags" -a "$krb4_libs"; then
++		CFLAGS="$krb4_cflags $save_CFLAGS"
++		LIBS="$krb4_libs $save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <krb.h>
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  
++			INCLUDE_krb4="$krb4_cflags"
++			LIB_krb4="$krb4_libs"
++			echo "$as_me:$LINENO: result: from $with_krb4_config" >&5
++echo "${ECHO_T}from $with_krb4_config" >&6
++			found=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	fi
++	if test "$found" = no; then
++		ires= lres=
++		for i in $header_dirs; do
++			CFLAGS="-I$i $save_CFLAGS"
++			cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <krb.h>
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ires=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++		done
++		for i in $lib_dirs; do
++			LIBS="-L$i -lkrb -ldes $save_LIBS"
++			cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <krb.h>
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  lres=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++		done
++		if test "$ires" -a "$lres" -a "$with_krb4" != "no"; then
++			DIR_krb4=
++			INCLUDE_krb4="-I$ires"
++			LIB_krb4="-L$lres -lkrb -ldes"
++			found=yes
++			echo "$as_me:$LINENO: result: headers $ires, libraries $lres" >&5
++echo "${ECHO_T}headers $ires, libraries $lres" >&6
++		fi
++	fi
++	CFLAGS="$save_CFLAGS"
++	LIBS="$save_LIBS"
++fi
++
++if test "$found" = yes; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define KRB4 1
++_ACEOF
++
++	with_krb4=yes
++else
++	with_krb4=no
++	DIR_krb4=
++	INCLUDE_krb4=
++	LIB_krb4=
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++
++
++
++
++
++LIB_kdb=
++if test "$with_krb4" != "no"; then
++	save_CFLAGS="$CFLAGS"
++	CFLAGS="$CFLAGS $INCLUDE_krb4"
++	save_LIBS="$LIBS"
++	LIBS="$LIB_krb4 $LIBS"
++	EXTRA_LIB45=lib45.a
++	
++	echo "$as_me:$LINENO: checking for four valued krb_put_int" >&5
++echo $ECHO_N "checking for four valued krb_put_int... $ECHO_C" >&6
++if test "${ac_cv_func_krb_put_int_four+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <krb.h>
++int
++main ()
++{
++
++		char tmp[4];
++		krb_put_int(17, tmp, 4, sizeof(tmp));
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_krb_put_int_four=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_krb_put_int_four=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++	
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_krb_put_int_four" >&5
++echo "${ECHO_T}$ac_cv_func_krb_put_int_four" >&6
++	if test "$ac_cv_func_krb_put_int_four" = yes; then
++		
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_FOUR_VALUED_KRB_PUT_INT 1
++_ACEOF
++
++	fi
++	
++
++	echo "$as_me:$LINENO: checking for KRB_VERIFY_SECURE" >&5
++echo $ECHO_N "checking for KRB_VERIFY_SECURE... $ECHO_C" >&6
++if test "${ac_cv_func_krb_verify_secure+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <krb.h>
++int
++main ()
++{
++
++		int x = KRB_VERIFY_SECURE
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_krb_verify_secure=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_krb_verify_secure=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++	
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_krb_verify_secure" >&5
++echo "${ECHO_T}$ac_cv_func_krb_verify_secure" >&6
++	if test "$ac_cv_func_krb_verify_secure" != yes; then
++		
++cat >>confdefs.h <<\_ACEOF
++@%:@define KRB_VERIFY_SECURE 1
++_ACEOF
++
++		
++cat >>confdefs.h <<\_ACEOF
++@%:@define KRB_VERIFY_SECURE_FAIL 2
++_ACEOF
++
++	fi
++	echo "$as_me:$LINENO: checking for KRB_VERIFY_NOT_SECURE" >&5
++echo $ECHO_N "checking for KRB_VERIFY_NOT_SECURE... $ECHO_C" >&6
++if test "${ac_cv_func_krb_verify_not_secure+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <krb.h>
++int
++main ()
++{
++
++		int x = KRB_VERIFY_NOT_SECURE
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_krb_verify_not_secure=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_krb_verify_not_secure=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++	
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_krb_verify_not_secure" >&5
++echo "${ECHO_T}$ac_cv_func_krb_verify_not_secure" >&6
++	if test "$ac_cv_func_krb_verify_not_secure" != yes; then
++		
++cat >>confdefs.h <<\_ACEOF
++@%:@define KRB_VERIFY_NOT_SECURE 0
++_ACEOF
++
++	fi
++	
++
++
++
++echo "$as_me:$LINENO: checking for krb_enable_debug" >&5
++echo $ECHO_N "checking for krb_enable_debug... $ECHO_C" >&6
++if test "${ac_cv_funclib_krb_enable_debug+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_krb_enable_debug\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++krb_enable_debug()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_krb_enable_debug=$ac_lib; else ac_cv_funclib_krb_enable_debug=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_krb_enable_debug=\${ac_cv_funclib_krb_enable_debug-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_krb_enable_debug"
++
++if false; then
++	
++for ac_func in krb_enable_debug
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# krb_enable_debug
++eval "ac_tr_func=HAVE_`echo krb_enable_debug | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_krb_enable_debug=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_krb_enable_debug=yes"
++	eval "LIB_krb_enable_debug="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_krb_enable_debug=no"
++	eval "LIB_krb_enable_debug="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_krb_enable_debug=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_krb_enable_debug"; then
++	LIBS="$LIB_krb_enable_debug $LIBS"
++fi
++
++	
++
++
++
++echo "$as_me:$LINENO: checking for krb_disable_debug" >&5
++echo $ECHO_N "checking for krb_disable_debug... $ECHO_C" >&6
++if test "${ac_cv_funclib_krb_disable_debug+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_krb_disable_debug\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++krb_disable_debug()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_krb_disable_debug=$ac_lib; else ac_cv_funclib_krb_disable_debug=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_krb_disable_debug=\${ac_cv_funclib_krb_disable_debug-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_krb_disable_debug"
++
++if false; then
++	
++for ac_func in krb_disable_debug
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# krb_disable_debug
++eval "ac_tr_func=HAVE_`echo krb_disable_debug | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_krb_disable_debug=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_krb_disable_debug=yes"
++	eval "LIB_krb_disable_debug="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_krb_disable_debug=no"
++	eval "LIB_krb_disable_debug="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_krb_disable_debug=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_krb_disable_debug"; then
++	LIBS="$LIB_krb_disable_debug $LIBS"
++fi
++
++	
++
++
++
++echo "$as_me:$LINENO: checking for krb_get_our_ip_for_realm" >&5
++echo $ECHO_N "checking for krb_get_our_ip_for_realm... $ECHO_C" >&6
++if test "${ac_cv_funclib_krb_get_our_ip_for_realm+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_krb_get_our_ip_for_realm\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++krb_get_our_ip_for_realm()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_krb_get_our_ip_for_realm=$ac_lib; else ac_cv_funclib_krb_get_our_ip_for_realm=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_krb_get_our_ip_for_realm=\${ac_cv_funclib_krb_get_our_ip_for_realm-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_krb_get_our_ip_for_realm"
++
++if false; then
++	
++for ac_func in krb_get_our_ip_for_realm
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# krb_get_our_ip_for_realm
++eval "ac_tr_func=HAVE_`echo krb_get_our_ip_for_realm | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_krb_get_our_ip_for_realm=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_krb_get_our_ip_for_realm=yes"
++	eval "LIB_krb_get_our_ip_for_realm="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_krb_get_our_ip_for_realm=no"
++	eval "LIB_krb_get_our_ip_for_realm="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_krb_get_our_ip_for_realm=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_krb_get_our_ip_for_realm"; then
++	LIBS="$LIB_krb_get_our_ip_for_realm $LIBS"
++fi
++
++	
++
++
++
++echo "$as_me:$LINENO: checking for krb_kdctimeofday" >&5
++echo $ECHO_N "checking for krb_kdctimeofday... $ECHO_C" >&6
++if test "${ac_cv_funclib_krb_kdctimeofday+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_krb_kdctimeofday\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++krb_kdctimeofday()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_krb_kdctimeofday=$ac_lib; else ac_cv_funclib_krb_kdctimeofday=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_krb_kdctimeofday=\${ac_cv_funclib_krb_kdctimeofday-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_krb_kdctimeofday"
++
++if false; then
++	
++for ac_func in krb_kdctimeofday
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# krb_kdctimeofday
++eval "ac_tr_func=HAVE_`echo krb_kdctimeofday | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_krb_kdctimeofday=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_krb_kdctimeofday=yes"
++	eval "LIB_krb_kdctimeofday="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_krb_kdctimeofday=no"
++	eval "LIB_krb_kdctimeofday="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_krb_kdctimeofday=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_krb_kdctimeofday"; then
++	LIBS="$LIB_krb_kdctimeofday $LIBS"
++fi
++
++	
++
++	
++
++
++
++echo "$as_me:$LINENO: checking for krb_get_kdc_time_diff" >&5
++echo $ECHO_N "checking for krb_get_kdc_time_diff... $ECHO_C" >&6
++if test "${ac_cv_funclib_krb_get_kdc_time_diff+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_krb_get_kdc_time_diff\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++krb_get_kdc_time_diff()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_krb_get_kdc_time_diff=$ac_lib; else ac_cv_funclib_krb_get_kdc_time_diff=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_krb_get_kdc_time_diff=\${ac_cv_funclib_krb_get_kdc_time_diff-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_krb_get_kdc_time_diff"
++
++if false; then
++	
++for ac_func in krb_get_kdc_time_diff
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# krb_get_kdc_time_diff
++eval "ac_tr_func=HAVE_`echo krb_get_kdc_time_diff | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_krb_get_kdc_time_diff=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_krb_get_kdc_time_diff=yes"
++	eval "LIB_krb_get_kdc_time_diff="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_krb_get_kdc_time_diff=no"
++	eval "LIB_krb_get_kdc_time_diff="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_krb_get_kdc_time_diff=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_krb_get_kdc_time_diff"; then
++	LIBS="$LIB_krb_get_kdc_time_diff $LIBS"
++fi
++
++	
++
++	echo "$as_me:$LINENO: checking for KRB_SENDAUTH_VERS" >&5
++echo $ECHO_N "checking for KRB_SENDAUTH_VERS... $ECHO_C" >&6
++if test "${ac_cv_func_krb_sendauth_vers+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <krb.h>
++			#include <prot.h>
++int
++main ()
++{
++
++		char *x = KRB_SENDAUTH_VERS
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_krb_sendauth_vers=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_krb_sendauth_vers=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++	
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_krb_sendauth_vers" >&5
++echo "${ECHO_T}$ac_cv_func_krb_sendauth_vers" >&6
++	if test "$ac_cv_func_krb_sendauth_vers" != yes; then
++		
++cat >>confdefs.h <<\_ACEOF
++@%:@define KRB_SENDAUTH_VERS "AUTHV0.1"
++_ACEOF
++
++	fi
++	echo "$as_me:$LINENO: checking for krb_mk_req with const arguments" >&5
++echo $ECHO_N "checking for krb_mk_req with const arguments... $ECHO_C" >&6
++if test "${ac_cv_func_krb_mk_req_const+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <krb.h>
++		int krb_mk_req(KTEXT a, const char *s, const char *i,
++			       const char *r, int32_t checksum)
++		{ return 17; }
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_krb_mk_req_const=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_krb_mk_req_const=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++	
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_krb_mk_req_const" >&5
++echo "${ECHO_T}$ac_cv_func_krb_mk_req_const" >&6
++	if test "$ac_cv_func_krb_mk_req_const" = "yes"; then
++		
++cat >>confdefs.h <<\_ACEOF
++@%:@define KRB_MK_REQ_CONST 1
++_ACEOF
++
++	fi
++
++	LIBS="$save_LIBS"
++	CFLAGS="$save_CFLAGS"
++	LIB_kdb="-lkdb -lkrb"
++fi
++
++
++if test "$with_krb4" != "no"; then
++  KRB4_TRUE=
++  KRB4_FALSE='#'
++else
++  KRB4_TRUE='#'
++  KRB4_FALSE=
++fi
++
++
++
++if true; then
++  KRB5_TRUE=
++  KRB5_FALSE='#'
++else
++  KRB5_TRUE='#'
++  KRB5_FALSE=
++fi
++
++
++
++if true; then
++  do_roken_rename_TRUE=
++  do_roken_rename_FALSE='#'
++else
++  do_roken_rename_TRUE='#'
++  do_roken_rename_FALSE=
++fi
++
++
++
++cat >>confdefs.h <<\_ACEOF
++@%:@define KRB5 1
++_ACEOF
++
++
++crypto_lib=unknown
++
++
++# Check whether --with-openssl or --without-openssl was given.
++if test "${with_openssl+set}" = set; then
++  withval="$with_openssl"
++  
++fi; 
++
++
++# Check whether --with-openssl-lib or --without-openssl-lib was given.
++if test "${with_openssl_lib+set}" = set; then
++  withval="$with_openssl_lib"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-openssl-lib" >&5
++echo "$as_me: error: No argument for --with-openssl-lib" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_openssl" = "X"; then
++  with_openssl=yes
++fi
++fi; 
++
++
++# Check whether --with-openssl-include or --without-openssl-include was given.
++if test "${with_openssl_include+set}" = set; then
++  withval="$with_openssl_include"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-openssl-include" >&5
++echo "$as_me: error: No argument for --with-openssl-include" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_openssl" = "X"; then
++  with_openssl=yes
++fi
++fi; 
++
++case "$with_openssl" in
++yes)	;;
++no)	;;
++"")	;;
++*)	if test "$with_openssl_include" = ""; then
++		with_openssl_include="$with_openssl/include"
++	fi
++	if test "$with_openssl_lib" = ""; then
++		with_openssl_lib="$with_openssl/lib$abilibdirext"
++	fi
++	;;
++esac
++
++
++DIR_des=
++
++echo "$as_me:$LINENO: checking for crypto library" >&5
++echo $ECHO_N "checking for crypto library... $ECHO_C" >&6
++
++openssl=no
++old_hash=no
++
++if test "$crypto_lib" = "unknown" -a "$with_krb4" != "no"; then
++	save_CPPFLAGS="$CPPFLAGS"
++	save_LIBS="$LIBS"
++
++	cdirs= clibs=
++	for i in $LIB_krb4; do
++		case "$i" in
++		-L*) cdirs="$cdirs $i";;
++		-l*) clibs="$clibs $i";;
++		esac
++	done
++
++	ires=
++	for i in $INCLUDE_krb4; do
++		CFLAGS="-DHAVE_OPENSSL $i $save_CFLAGS"
++		for j in $cdirs; do
++			for k in $clibs; do
++				LIBS="$j $k $save_LIBS"
++				cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++		#undef KRB5 /* makes md4.h et al unhappy */
++		#ifdef HAVE_OPENSSL
++		#include <openssl/md4.h>
++		#include <openssl/md5.h>
++		#include <openssl/sha.h>
++		#define OPENSSL_DES_LIBDES_COMPATIBILITY
++		#include <openssl/des.h>
++		#include <openssl/rc4.h>
++		#include <openssl/rand.h>
++		#else
++		#include <md4.h>
++		#include <md5.h>
++		#include <sha.h>
++		#include <des.h>
++		#include <rc4.h>
++		#endif
++		#ifdef OLD_HASH_NAMES
++		typedef struct md4 MD4_CTX;
++		#define MD4_Init(C) md4_init((C))
++		#define MD4_Update(C, D, L) md4_update((C), (D), (L))
++		#define MD4_Final(D, C) md4_finito((C), (D))
++		typedef struct md5 MD5_CTX;
++		#define MD5_Init(C) md5_init((C))
++		#define MD5_Update(C, D, L) md5_update((C), (D), (L))
++		#define MD5_Final(D, C) md5_finito((C), (D))
++		typedef struct sha SHA_CTX;
++		#define SHA1_Init(C) sha_init((C))
++		#define SHA1_Update(C, D, L) sha_update((C), (D), (L))
++		#define SHA1_Final(D, C) sha_finito((C), (D))
++		#endif
++		
++int
++main ()
++{
++
++		void *schedule = 0;
++		MD4_CTX md4;
++		MD5_CTX md5;
++		SHA_CTX sha1;
++
++		MD4_Init(&md4);
++		MD5_Init(&md5);
++		SHA1_Init(&sha1);
++		#ifdef HAVE_OPENSSL
++		RAND_status();
++		#endif
++
++		des_cbc_encrypt(0, 0, 0, schedule, 0, 0);
++		RC4(0, 0, 0, 0);
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  openssl=yes ires="$i" lres="$j $k"; break 3
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++			done
++		done
++		CFLAGS="$i $save_CFLAGS"
++		for j in $cdirs; do
++			for k in $clibs; do
++				LIBS="$j $k $save_LIBS"
++				cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++		#undef KRB5 /* makes md4.h et al unhappy */
++		#ifdef HAVE_OPENSSL
++		#include <openssl/md4.h>
++		#include <openssl/md5.h>
++		#include <openssl/sha.h>
++		#define OPENSSL_DES_LIBDES_COMPATIBILITY
++		#include <openssl/des.h>
++		#include <openssl/rc4.h>
++		#include <openssl/rand.h>
++		#else
++		#include <md4.h>
++		#include <md5.h>
++		#include <sha.h>
++		#include <des.h>
++		#include <rc4.h>
++		#endif
++		#ifdef OLD_HASH_NAMES
++		typedef struct md4 MD4_CTX;
++		#define MD4_Init(C) md4_init((C))
++		#define MD4_Update(C, D, L) md4_update((C), (D), (L))
++		#define MD4_Final(D, C) md4_finito((C), (D))
++		typedef struct md5 MD5_CTX;
++		#define MD5_Init(C) md5_init((C))
++		#define MD5_Update(C, D, L) md5_update((C), (D), (L))
++		#define MD5_Final(D, C) md5_finito((C), (D))
++		typedef struct sha SHA_CTX;
++		#define SHA1_Init(C) sha_init((C))
++		#define SHA1_Update(C, D, L) sha_update((C), (D), (L))
++		#define SHA1_Final(D, C) sha_finito((C), (D))
++		#endif
++		
++int
++main ()
++{
++
++		void *schedule = 0;
++		MD4_CTX md4;
++		MD5_CTX md5;
++		SHA_CTX sha1;
++
++		MD4_Init(&md4);
++		MD5_Init(&md5);
++		SHA1_Init(&sha1);
++		#ifdef HAVE_OPENSSL
++		RAND_status();
++		#endif
++
++		des_cbc_encrypt(0, 0, 0, schedule, 0, 0);
++		RC4(0, 0, 0, 0);
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  openssl=no ires="$i" lres="$j $k"; break 3
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++			done
++		done
++		CFLAGS="-DHAVE_OLD_HASH_NAMES $i $save_CFLAGS"
++		for j in $cdirs; do
++			for k in $clibs; do
++				LIBS="$j $k $save_LIBS"
++				cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++		#undef KRB5 /* makes md4.h et al unhappy */
++		#ifdef HAVE_OPENSSL
++		#include <openssl/md4.h>
++		#include <openssl/md5.h>
++		#include <openssl/sha.h>
++		#define OPENSSL_DES_LIBDES_COMPATIBILITY
++		#include <openssl/des.h>
++		#include <openssl/rc4.h>
++		#include <openssl/rand.h>
++		#else
++		#include <md4.h>
++		#include <md5.h>
++		#include <sha.h>
++		#include <des.h>
++		#include <rc4.h>
++		#endif
++		#ifdef OLD_HASH_NAMES
++		typedef struct md4 MD4_CTX;
++		#define MD4_Init(C) md4_init((C))
++		#define MD4_Update(C, D, L) md4_update((C), (D), (L))
++		#define MD4_Final(D, C) md4_finito((C), (D))
++		typedef struct md5 MD5_CTX;
++		#define MD5_Init(C) md5_init((C))
++		#define MD5_Update(C, D, L) md5_update((C), (D), (L))
++		#define MD5_Final(D, C) md5_finito((C), (D))
++		typedef struct sha SHA_CTX;
++		#define SHA1_Init(C) sha_init((C))
++		#define SHA1_Update(C, D, L) sha_update((C), (D), (L))
++		#define SHA1_Final(D, C) sha_finito((C), (D))
++		#endif
++		
++int
++main ()
++{
++
++		void *schedule = 0;
++		MD4_CTX md4;
++		MD5_CTX md5;
++		SHA_CTX sha1;
++
++		MD4_Init(&md4);
++		MD5_Init(&md5);
++		SHA1_Init(&sha1);
++		#ifdef HAVE_OPENSSL
++		RAND_status();
++		#endif
++
++		des_cbc_encrypt(0, 0, 0, schedule, 0, 0);
++		RC4(0, 0, 0, 0);
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  openssl=no ires="$i" lres="$j $k"; break 3
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++			done
++		done
++	done
++		
++	CFLAGS="$save_CFLAGS"
++	LIBS="$save_LIBS"
++	if test "$ires" -a "$lres"; then
++		INCLUDE_des="$ires"
++		LIB_des="$lres"
++		crypto_lib=krb4
++		echo "$as_me:$LINENO: result: same as krb4" >&5
++echo "${ECHO_T}same as krb4" >&6
++		LIB_des_a='$(LIB_des)'
++		LIB_des_so='$(LIB_des)'
++		LIB_des_appl='$(LIB_des)'
++	fi
++fi
++
++if test "$crypto_lib" = "unknown" -a "$with_openssl" != "no"; then
++	save_CFLAGS="$CFLAGS"
++	save_LIBS="$LIBS"
++	INCLUDE_des=
++	LIB_des=
++	if test "$with_openssl_include" != ""; then
++		INCLUDE_des="-I${with_openssl_include}"
++	fi
++	if test "$with_openssl_lib" != ""; then
++		LIB_des="-L${with_openssl_lib}"
++	fi
++	CFLAGS="-DHAVE_OPENSSL ${INCLUDE_des} ${CFLAGS}"
++	saved_LIB_des="$LIB_des"
++	for lres in "" "-lnsl -lsocket"; do
++		LIB_des="${saved_LIB_des} -lcrypto $lres"
++		LIB_des_a="$LIB_des"
++		LIB_des_so="$LIB_des"
++		LIB_des_appl="$LIB_des"
++		LIBS="${LIBS} ${LIB_des}"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++		#undef KRB5 /* makes md4.h et al unhappy */
++		#ifdef HAVE_OPENSSL
++		#include <openssl/md4.h>
++		#include <openssl/md5.h>
++		#include <openssl/sha.h>
++		#define OPENSSL_DES_LIBDES_COMPATIBILITY
++		#include <openssl/des.h>
++		#include <openssl/rc4.h>
++		#include <openssl/rand.h>
++		#else
++		#include <md4.h>
++		#include <md5.h>
++		#include <sha.h>
++		#include <des.h>
++		#include <rc4.h>
++		#endif
++		#ifdef OLD_HASH_NAMES
++		typedef struct md4 MD4_CTX;
++		#define MD4_Init(C) md4_init((C))
++		#define MD4_Update(C, D, L) md4_update((C), (D), (L))
++		#define MD4_Final(D, C) md4_finito((C), (D))
++		typedef struct md5 MD5_CTX;
++		#define MD5_Init(C) md5_init((C))
++		#define MD5_Update(C, D, L) md5_update((C), (D), (L))
++		#define MD5_Final(D, C) md5_finito((C), (D))
++		typedef struct sha SHA_CTX;
++		#define SHA1_Init(C) sha_init((C))
++		#define SHA1_Update(C, D, L) sha_update((C), (D), (L))
++		#define SHA1_Final(D, C) sha_finito((C), (D))
++		#endif
++		
++int
++main ()
++{
++
++		void *schedule = 0;
++		MD4_CTX md4;
++		MD5_CTX md5;
++		SHA_CTX sha1;
++
++		MD4_Init(&md4);
++		MD5_Init(&md5);
++		SHA1_Init(&sha1);
++		#ifdef HAVE_OPENSSL
++		RAND_status();
++		#endif
++
++		des_cbc_encrypt(0, 0, 0, schedule, 0, 0);
++		RC4(0, 0, 0, 0);
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  
++			crypto_lib=libcrypto openssl=yes
++			echo "$as_me:$LINENO: result: libcrypto" >&5
++echo "${ECHO_T}libcrypto" >&6
++		
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++		if test "$crypto_lib" = libcrypto ; then
++			break;
++		fi
++	done
++	CFLAGS="$save_CFLAGS"
++	LIBS="$save_LIBS"
++fi
++
++if test "$crypto_lib" = "unknown"; then
++
++  DIR_des='des'
++  LIB_des='$(top_builddir)/lib/des/libdes.la'
++  LIB_des_a='$(top_builddir)/lib/des/.libs/libdes.a'
++  LIB_des_so='$(top_builddir)/lib/des/.libs/libdes.so'
++  LIB_des_appl="-ldes"
++
++  echo "$as_me:$LINENO: result: included libdes" >&5
++echo "${ECHO_T}included libdes" >&6
++
++fi
++
++if test "$with_krb4" != no -a "$crypto_lib" != krb4; then
++	{ { echo "$as_me:$LINENO: error: the crypto library used by krb4 lacks features
++required by Kerberos 5; to continue, you need to install a newer 
++Kerberos 4 or configure --without-krb4" >&5
++echo "$as_me: error: the crypto library used by krb4 lacks features
++required by Kerberos 5; to continue, you need to install a newer 
++Kerberos 4 or configure --without-krb4" >&2;}
++   { (exit 1); exit 1; }; }
++fi
++
++if test "$openssl" = "yes"; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_OPENSSL 1
++_ACEOF
++
++fi
++if test "$old_hash" = yes; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_OLD_HASH_NAMES 1
++_ACEOF
++
++fi
++
++
++if test "$openssl" = yes; then
++  HAVE_OPENSSL_TRUE=
++  HAVE_OPENSSL_FALSE='#'
++else
++  HAVE_OPENSSL_TRUE='#'
++  HAVE_OPENSSL_FALSE=
++fi
++
++
++
++
++
++
++
++
++
++# Check whether --enable-dce or --disable-dce was given.
++if test "${enable_dce+set}" = set; then
++  enableval="$enable_dce"
++  
++fi; 
++if test "$enable_dce" = yes; then
++    
++cat >>confdefs.h <<\_ACEOF
++@%:@define DCE 1
++_ACEOF
++
++fi
++
++
++if test "$enable_dce" = yes; then
++  DCE_TRUE=
++  DCE_FALSE='#'
++else
++  DCE_TRUE='#'
++  DCE_FALSE=
++fi
++
++
++## XXX quite horrible:
++if test -f /etc/ibmcxx.cfg; then
++	dpagaix_ldadd=`sed -n '/^xlc_r4/,/^$/p' /etc/ibmcxx.cfg | sed -n -e '/libraries/{;s/^[^=]*=\(.*\)/\1/;s/,/ /gp;}'`
++	dpagaix_cflags=`sed -n '/^xlc_r4/,/^$/p' /etc/ibmcxx.cfg | sed -n -e '/options/{;s/^[^=]*=\(.*\)/\1/;s/-q^,*//;s/,/ /gp;}'`
++	dpagaix_ldflags=
++else
++	dpagaix_cflags="-D_THREAD_SAFE -D_AIX_PTHREADS_D7 -D_AIX32_THREADS=1 -D_AES_SOURCE -D_AIX41 -I/usr/include/dce"
++	dpagaix_ldadd="-L/usr/lib/threads -ldcelibc_r -ldcepthreads -lpthreads_compat lpthreads -lc_r"
++	dpagaix_ldflags="-Wl,-bI:dfspag.exp"
++fi
++
++
++
++
++
++# Check whether --enable-berkeley-db or --disable-berkeley-db was given.
++if test "${enable_berkeley_db+set}" = set; then
++  enableval="$enable_berkeley_db"
++  
++
++fi; 
++
++have_ndbm=no
++db_type=unknown
++
++if test "$enable_berkeley_db" != no; then
++
++  
++
++
++
++for ac_header in 				\
++	db4/db.h				\
++	db3/db.h				\
++	db.h					\
++	db_185.h				\
++  
++do
++as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++else
++  # Is the header compilable?
++echo "$as_me:$LINENO: checking $ac_header usability" >&5
++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++@%:@include <$ac_header>
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_header_compiler=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_header_compiler=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
++echo "${ECHO_T}$ac_header_compiler" >&6
++
++# Is the header present?
++echo "$as_me:$LINENO: checking $ac_header presence" >&5
++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@include <$ac_header>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  ac_header_preproc=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++  ac_header_preproc=no
++fi
++rm -f conftest.err conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
++echo "${ECHO_T}$ac_header_preproc" >&6
++
++# So?  What about this header?
++case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
++  yes:no: )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
++echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
++    ac_header_preproc=yes
++    ;;
++  no:yes:* )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
++echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
++echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
++echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
++echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
++echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
++    (
++      cat <<\_ASBOX
++@%:@@%:@ -------------------------------------- @%:@@%:@
++@%:@@%:@ Report this to heimdal-bugs@pdc.kth.se @%:@@%:@
++@%:@@%:@ -------------------------------------- @%:@@%:@
++_ASBOX
++    ) |
++      sed "s/^/$as_me: WARNING:     /" >&2
++    ;;
++esac
++echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  eval "$as_ac_Header=\$ac_header_preproc"
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++
++fi
++if test `eval echo '${'$as_ac_Header'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++
++done
++
++
++
++  
++
++
++echo "$as_me:$LINENO: checking for db_create" >&5
++echo $ECHO_N "checking for db_create... $ECHO_C" >&6
++if test "${ac_cv_funclib_db_create+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_db_create\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" db4 db3 db; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++  #include <stdio.h>
++  #ifdef HAVE_DB4_DB_H
++  #include <db4/db.h>
++  #elif defined(HAVE_DB3_DB_H)
++  #include <db3/db.h>
++  #else
++  #include <db.h>
++  #endif
++  
++int
++main ()
++{
++db_create(NULL, NULL, 0)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_db_create=$ac_lib; else ac_cv_funclib_db_create=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_db_create=\${ac_cv_funclib_db_create-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_db_create"
++
++if false; then
++	
++for ac_func in db_create
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# db_create
++eval "ac_tr_func=HAVE_`echo db_create | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_db_create=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_db_create=yes"
++	eval "LIB_db_create="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_db_create=no"
++	eval "LIB_db_create="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_db_create=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++
++  if test "$ac_cv_func_db_create" = "yes"; then
++    db_type=db3
++    if test "$ac_cv_funclib_db_create" != "yes"; then
++      DBLIB="$ac_cv_funclib_db_create"
++    else
++      DBLIB=""
++    fi
++    
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_DB3 1
++_ACEOF
++
++  else
++
++
++    
++
++
++echo "$as_me:$LINENO: checking for dbopen" >&5
++echo $ECHO_N "checking for dbopen... $ECHO_C" >&6
++if test "${ac_cv_funclib_dbopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_dbopen\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" db2 db; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++    #include <stdio.h>
++    #if defined(HAVE_DB2_DB_H)
++    #include <db2/db.h>
++    #elif defined(HAVE_DB_185_H)
++    #include <db_185.h>
++    #elif defined(HAVE_DB_H)
++    #include <db.h>
++    #else
++    #error no db.h
++    #endif
++    
++int
++main ()
++{
++dbopen(NULL, 0, 0, 0, NULL)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_dbopen=$ac_lib; else ac_cv_funclib_dbopen=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_dbopen=\${ac_cv_funclib_dbopen-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_dbopen"
++
++if false; then
++	
++for ac_func in dbopen
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# dbopen
++eval "ac_tr_func=HAVE_`echo dbopen | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_dbopen=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_dbopen=yes"
++	eval "LIB_dbopen="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_dbopen=no"
++	eval "LIB_dbopen="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_dbopen=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++
++    if test "$ac_cv_func_dbopen" = "yes"; then
++      db_type=db1
++      if test "$ac_cv_funclib_dbopen" != "yes"; then
++        DBLIB="$ac_cv_funclib_dbopen"
++      else
++        DBLIB=""
++      fi
++      
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_DB1 1
++_ACEOF
++
++    fi
++  fi
++
++
++  if test "$ac_cv_func_dbm_firstkey" != yes; then
++    
++
++echo "$as_me:$LINENO: checking for dbm_firstkey" >&5
++echo $ECHO_N "checking for dbm_firstkey... $ECHO_C" >&6
++if test "${ac_cv_funclib_dbm_firstkey+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_dbm_firstkey\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in $ac_cv_funclib_dbopen $ac_cv_funclib_db_create; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++    #include <stdio.h>
++    #define DB_DBM_HSEARCH 1
++    #include <db.h>
++    DBM *dbm;
++    
++int
++main ()
++{
++dbm_firstkey(NULL)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_dbm_firstkey=$ac_lib; else ac_cv_funclib_dbm_firstkey=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_dbm_firstkey=\${ac_cv_funclib_dbm_firstkey-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_dbm_firstkey"
++
++if false; then
++	
++for ac_func in dbm_firstkey
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# dbm_firstkey
++eval "ac_tr_func=HAVE_`echo dbm_firstkey | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_dbm_firstkey=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_dbm_firstkey=yes"
++	eval "LIB_dbm_firstkey="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_dbm_firstkey=no"
++	eval "LIB_dbm_firstkey="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_dbm_firstkey=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++  
++    if test "$ac_cv_func_dbm_firstkey" = "yes"; then
++      if test "$ac_cv_funclib_dbm_firstkey" != "yes"; then
++        LIB_NDBM="$ac_cv_funclib_dbm_firstkey"
++      else
++        LIB_NDBM=""
++      fi
++      
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_DB_NDBM 1
++_ACEOF
++
++      
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_NEW_DB 1
++_ACEOF
++
++    else
++      $as_unset ac_cv_func_dbm_firstkey
++      $as_unset ac_cv_funclib_dbm_firstkey
++    fi
++  fi
++
++fi # berkeley db
++
++if test "$db_type" = "unknown" -o "$ac_cv_func_dbm_firstkey" = ""; then
++
++  
++
++for ac_header in 				\
++	dbm.h					\
++	ndbm.h					\
++  
++do
++as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++else
++  # Is the header compilable?
++echo "$as_me:$LINENO: checking $ac_header usability" >&5
++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++@%:@include <$ac_header>
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_header_compiler=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_header_compiler=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
++echo "${ECHO_T}$ac_header_compiler" >&6
++
++# Is the header present?
++echo "$as_me:$LINENO: checking $ac_header presence" >&5
++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@include <$ac_header>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  ac_header_preproc=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++  ac_header_preproc=no
++fi
++rm -f conftest.err conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
++echo "${ECHO_T}$ac_header_preproc" >&6
++
++# So?  What about this header?
++case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
++  yes:no: )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
++echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
++    ac_header_preproc=yes
++    ;;
++  no:yes:* )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
++echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
++echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
++echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
++echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
++echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
++    (
++      cat <<\_ASBOX
++@%:@@%:@ -------------------------------------- @%:@@%:@
++@%:@@%:@ Report this to heimdal-bugs@pdc.kth.se @%:@@%:@
++@%:@@%:@ -------------------------------------- @%:@@%:@
++_ASBOX
++    ) |
++      sed "s/^/$as_me: WARNING:     /" >&2
++    ;;
++esac
++echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  eval "$as_ac_Header=\$ac_header_preproc"
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++
++fi
++if test `eval echo '${'$as_ac_Header'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++
++done
++
++
++  
++
++
++echo "$as_me:$LINENO: checking for dbm_firstkey" >&5
++echo $ECHO_N "checking for dbm_firstkey... $ECHO_C" >&6
++if test "${ac_cv_funclib_dbm_firstkey+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_dbm_firstkey\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ndbm; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++  #include <stdio.h>
++  #if defined(HAVE_NDBM_H)
++  #include <ndbm.h>
++  #elif defined(HAVE_DBM_H)
++  #include <dbm.h>
++  #endif
++  DBM *dbm;
++  
++int
++main ()
++{
++dbm_firstkey(NULL)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_dbm_firstkey=$ac_lib; else ac_cv_funclib_dbm_firstkey=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_dbm_firstkey=\${ac_cv_funclib_dbm_firstkey-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_dbm_firstkey"
++
++if false; then
++	
++for ac_func in dbm_firstkey
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# dbm_firstkey
++eval "ac_tr_func=HAVE_`echo dbm_firstkey | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_dbm_firstkey=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_dbm_firstkey=yes"
++	eval "LIB_dbm_firstkey="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_dbm_firstkey=no"
++	eval "LIB_dbm_firstkey="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_dbm_firstkey=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++
++  if test "$ac_cv_func_dbm_firstkey" = "yes"; then
++    if test "$ac_cv_funclib_dbm_firstkey" != "yes"; then
++      LIB_NDBM="$ac_cv_funclib_dbm_firstkey"
++    else
++      LIB_NDBM=""
++    fi
++    
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_NDBM 1
++_ACEOF
++    have_ndbm=yes
++    if test "$db_type" = "unknown"; then
++      db_type=ndbm
++      DBLIB="$LIB_NDBM"
++    fi
++  else
++
++    $as_unset ac_cv_func_dbm_firstkey
++    $as_unset ac_cv_funclib_dbm_firstkey
++
++    
++for ac_header in 				\
++	  gdbm/ndbm.h				\
++    
++do
++as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++else
++  # Is the header compilable?
++echo "$as_me:$LINENO: checking $ac_header usability" >&5
++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++@%:@include <$ac_header>
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_header_compiler=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_header_compiler=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
++echo "${ECHO_T}$ac_header_compiler" >&6
++
++# Is the header present?
++echo "$as_me:$LINENO: checking $ac_header presence" >&5
++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@include <$ac_header>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  ac_header_preproc=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++  ac_header_preproc=no
++fi
++rm -f conftest.err conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
++echo "${ECHO_T}$ac_header_preproc" >&6
++
++# So?  What about this header?
++case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
++  yes:no: )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
++echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
++    ac_header_preproc=yes
++    ;;
++  no:yes:* )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
++echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
++echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
++echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
++echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
++echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
++    (
++      cat <<\_ASBOX
++@%:@@%:@ -------------------------------------- @%:@@%:@
++@%:@@%:@ Report this to heimdal-bugs@pdc.kth.se @%:@@%:@
++@%:@@%:@ -------------------------------------- @%:@@%:@
++_ASBOX
++    ) |
++      sed "s/^/$as_me: WARNING:     /" >&2
++    ;;
++esac
++echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  eval "$as_ac_Header=\$ac_header_preproc"
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++
++fi
++if test `eval echo '${'$as_ac_Header'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++
++done
++
++
++    
++
++
++echo "$as_me:$LINENO: checking for dbm_firstkey" >&5
++echo $ECHO_N "checking for dbm_firstkey... $ECHO_C" >&6
++if test "${ac_cv_funclib_dbm_firstkey+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_dbm_firstkey\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" gdbm; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++    #include <stdio.h>
++    #include <gdbm/ndbm.h>
++    DBM *dbm;
++    
++int
++main ()
++{
++dbm_firstkey(NULL)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_dbm_firstkey=$ac_lib; else ac_cv_funclib_dbm_firstkey=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_dbm_firstkey=\${ac_cv_funclib_dbm_firstkey-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_dbm_firstkey"
++
++if false; then
++	
++for ac_func in dbm_firstkey
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# dbm_firstkey
++eval "ac_tr_func=HAVE_`echo dbm_firstkey | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_dbm_firstkey=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_dbm_firstkey=yes"
++	eval "LIB_dbm_firstkey="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_dbm_firstkey=no"
++	eval "LIB_dbm_firstkey="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_dbm_firstkey=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++
++    if test "$ac_cv_func_dbm_firstkey" = "yes"; then
++      if test "$ac_cv_funclib_dbm_firstkey" != "yes"; then
++	LIB_NDBM="$ac_cv_funclib_dbm_firstkey"
++      else
++	LIB_NDBM=""
++      fi
++      
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_NDBM 1
++_ACEOF
++      have_ndbm=yes
++      if test "$db_type" = "unknown"; then
++	db_type=ndbm
++	DBLIB="$LIB_NDBM"
++      fi
++    fi
++  fi
++
++fi # unknown
++
++if test "$have_ndbm" = "yes"; then
++  echo "$as_me:$LINENO: checking if ndbm is implemented with db" >&5
++echo $ECHO_N "checking if ndbm is implemented with db... $ECHO_C" >&6
++  if test "$cross_compiling" = yes; then
++  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
++See \`config.log' for more details." >&5
++echo "$as_me: error: cannot run test program while cross compiling
++See \`config.log' for more details." >&2;}
++   { (exit 1); exit 1; }; }
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#include <unistd.h>
++#include <fcntl.h>
++#if defined(HAVE_GDBM_NDBM_H)
++#include <gdbm/ndbm.h>
++#elif defined(HAVE_NDBM_H)
++#include <ndbm.h>
++#elif defined(HAVE_DBM_H)
++#include <dbm.h>
++#endif
++int main()
++{
++  DBM *d;
++
++  d = dbm_open("conftest", O_RDWR | O_CREAT, 0666);
++  if (d == NULL)
++    return 1;
++  dbm_close(d);
++  return 0;
++}
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  
++    if test -f conftest.db; then
++      echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++      
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_NEW_DB 1
++_ACEOF
++
++    else
++      echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++    fi
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++( exit $ac_status )
++echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++fi
++
++
++
++if test "$db_type" = db1; then
++  HAVE_DB1_TRUE=
++  HAVE_DB1_FALSE='#'
++else
++  HAVE_DB1_TRUE='#'
++  HAVE_DB1_FALSE=
++fi
++
++
++if test "$db_type" = db3; then
++  HAVE_DB3_TRUE=
++  HAVE_DB3_FALSE='#'
++else
++  HAVE_DB3_TRUE='#'
++  HAVE_DB3_FALSE=
++fi
++
++
++if test "$db_type" = ndbm; then
++  HAVE_NDBM_TRUE=
++  HAVE_NDBM_FALSE='#'
++else
++  HAVE_NDBM_TRUE='#'
++  HAVE_NDBM_FALSE=
++fi
++
++z=""
++for i in $LDFLAGS; do
++	case "$i" in
++	-L*) z="$z $i";;
++	esac
++done
++DBLIB="$z $DBLIB"
++
++
++
++
++
++# Check whether --with-roken or --without-roken was given.
++if test "${with_roken+set}" = set; then
++  withval="$with_roken"
++  if test "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: roken is required" >&5
++echo "$as_me: error: roken is required" >&2;}
++   { (exit 1); exit 1; }; }
++fi
++fi; 
++
++save_CPPFLAGS="${CPPFLAGS}"
++
++case $with_roken in
++yes|"")
++  dirs="/usr/heimdal /usr/athena" ;;
++*)
++  dirs="$with_roken" ;;
++esac
++
++roken_installed=no
++
++for i in $dirs; do
++
++echo "$as_me:$LINENO: checking for roken in $i" >&5
++echo $ECHO_N "checking for roken in $i... $ECHO_C" >&6
++
++CPPFLAGS="-I$i/include ${CPPFLAGS}"
++
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <roken.h>
++//#if ROKEN_VERSION < 10
++//#error old roken version, should be 10
++//fail
++//#endif
++
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  roken_installed=yes; break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++  
++fi
++rm -f conftest.err conftest.$ac_ext
++
++echo "$as_me:$LINENO: result: $roken_installed" >&5
++echo "${ECHO_T}$roken_installed" >&6
++
++done
++
++CPPFLAGS="$save_CPPFLAGS"
++
++if test "$roken_installed" != "yes"; then
++  DIR_roken="roken"
++  LIB_roken='$(top_builddir)/lib/roken/libroken.la'
++  CPPFLAGS_roken='-I$(top_builddir)/lib/roken -I$(top_srcdir)/lib/roken'
++else
++  LIB_roken="$i/lib/libroken.la"
++  CPPFLAGS_roken="-I$i/include"
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking for crypt" >&5
++echo $ECHO_N "checking for crypt... $ECHO_C" >&6
++if test "${ac_cv_funclib_crypt+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_crypt\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" crypt; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++crypt()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_crypt=$ac_lib; else ac_cv_funclib_crypt=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_crypt=\${ac_cv_funclib_crypt-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_crypt"
++
++if false; then
++	
++for ac_func in crypt
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# crypt
++eval "ac_tr_func=HAVE_`echo crypt | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_crypt=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_crypt=yes"
++	eval "LIB_crypt="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_crypt=no"
++	eval "LIB_crypt="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_crypt=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++LIB_roken="${LIB_roken} \$(LIB_crypt) \$(LIB_dbopen)"
++
++
++#if ! test "$roken_installed" = yes; then
++	
++
++echo "$as_me:$LINENO: checking for inline" >&5
++echo $ECHO_N "checking for inline... $ECHO_C" >&6
++if test "${ac_cv_c_inline+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_cv_c_inline=no
++for ac_kw in inline __inline__ __inline; do
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifndef __cplusplus
++typedef int foo_t;
++static $ac_kw foo_t static_foo () {return 0; }
++$ac_kw foo_t foo () {return 0; }
++#endif
++
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_c_inline=$ac_kw; break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++done
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
++echo "${ECHO_T}$ac_cv_c_inline" >&6
++
++
++case $ac_cv_c_inline in
++  inline | yes) ;;
++  *)
++    case $ac_cv_c_inline in
++      no) ac_val=;;
++      *) ac_val=$ac_cv_c_inline;;
++    esac
++    cat >>confdefs.h <<_ACEOF
++#ifndef __cplusplus
++#define inline $ac_val
++#endif
++_ACEOF
++    ;;
++esac
++
++echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
++echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
++if test "${ac_cv_c_const+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++/* FIXME: Include the comments suggested by Paul. */
++#ifndef __cplusplus
++  /* Ultrix mips cc rejects this.  */
++  typedef int charset[2];
++  const charset x;
++  /* SunOS 4.1.1 cc rejects this.  */
++  char const *const *ccp;
++  char **p;
++  /* NEC SVR4.0.2 mips cc rejects this.  */
++  struct point {int x, y;};
++  static struct point const zero = {0,0};
++  /* AIX XL C 1.02.0.0 rejects this.
++     It does not let you subtract one const X* pointer from another in
++     an arm of an if-expression whose if-part is not a constant
++     expression */
++  const char *g = "string";
++  ccp = &g + (g ? g-g : 0);
++  /* HPUX 7.0 cc rejects these. */
++  ++ccp;
++  p = (char**) ccp;
++  ccp = (char const *const *) p;
++  { /* SCO 3.2v4 cc rejects this.  */
++    char *t;
++    char const *s = 0 ? (char *) 0 : (char const *) 0;
++
++    *t++ = 0;
++  }
++  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
++    int x[] = {25, 17};
++    const int *foo = &x[0];
++    ++foo;
++  }
++  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
++    typedef const int *iptr;
++    iptr p = 0;
++    ++p;
++  }
++  { /* AIX XL C 1.02.0.0 rejects this saying
++       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
++    struct s { int j; const int *ap[3]; };
++    struct s *b; b->j = 5;
++  }
++  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
++    const int foo = 10;
++  }
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_c_const=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_c_const=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
++echo "${ECHO_T}$ac_cv_c_const" >&6
++if test $ac_cv_c_const = no; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define const 
++_ACEOF
++
++fi
++
++echo "$as_me:$LINENO: checking for size_t" >&5
++echo $ECHO_N "checking for size_t... $ECHO_C" >&6
++if test "${ac_cv_type_size_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++int
++main ()
++{
++if ((size_t *) 0)
++  return 0;
++if (sizeof (size_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_size_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_size_t=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
++echo "${ECHO_T}$ac_cv_type_size_t" >&6
++if test $ac_cv_type_size_t = yes; then
++  :
++else
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define size_t unsigned
++_ACEOF
++
++fi
++
++echo "$as_me:$LINENO: checking for pid_t" >&5
++echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
++if test "${ac_cv_type_pid_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++int
++main ()
++{
++if ((pid_t *) 0)
++  return 0;
++if (sizeof (pid_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_pid_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_pid_t=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
++echo "${ECHO_T}$ac_cv_type_pid_t" >&6
++if test $ac_cv_type_pid_t = yes; then
++  :
++else
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define pid_t int
++_ACEOF
++
++fi
++
++echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
++echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
++if test "${ac_cv_type_uid_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <sys/types.h>
++
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  $EGREP "uid_t" >/dev/null 2>&1; then
++  ac_cv_type_uid_t=yes
++else
++  ac_cv_type_uid_t=no
++fi
++rm -f conftest*
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
++echo "${ECHO_T}$ac_cv_type_uid_t" >&6
++if test $ac_cv_type_uid_t = no; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define uid_t int
++_ACEOF
++
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define gid_t int
++_ACEOF
++
++fi
++
++
++echo "$as_me:$LINENO: checking return type of signal handlers" >&5
++echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
++if test "${ac_cv_type_signal+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end 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;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_signal=void
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_signal=int
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
++echo "${ECHO_T}$ac_cv_type_signal" >&6
++
++cat >>confdefs.h <<_ACEOF
++@%:@define RETSIGTYPE $ac_cv_type_signal
++_ACEOF
++
++
++if test "$ac_cv_type_signal" = "void" ; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define VOID_RETSIGTYPE 1
++_ACEOF
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
++echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
++if test "${ac_cv_header_time+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <sys/types.h>
++#include <sys/time.h>
++#include <time.h>
++
++int
++main ()
++{
++if ((struct tm *) 0)
++return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_header_time=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_header_time=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
++echo "${ECHO_T}$ac_cv_header_time" >&6
++if test $ac_cv_header_time = yes; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define TIME_WITH_SYS_TIME 1
++_ACEOF
++
++fi
++
++
++
++for ac_header in standards.h
++do
++as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++else
++  # Is the header compilable?
++echo "$as_me:$LINENO: checking $ac_header usability" >&5
++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++@%:@include <$ac_header>
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_header_compiler=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_header_compiler=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
++echo "${ECHO_T}$ac_header_compiler" >&6
++
++# Is the header present?
++echo "$as_me:$LINENO: checking $ac_header presence" >&5
++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@include <$ac_header>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  ac_header_preproc=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++  ac_header_preproc=no
++fi
++rm -f conftest.err conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
++echo "${ECHO_T}$ac_header_preproc" >&6
++
++# So?  What about this header?
++case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
++  yes:no: )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
++echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
++    ac_header_preproc=yes
++    ;;
++  no:yes:* )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
++echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
++echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
++echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
++echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
++echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
++    (
++      cat <<\_ASBOX
++@%:@@%:@ -------------------------------------- @%:@@%:@
++@%:@@%:@ Report this to heimdal-bugs@pdc.kth.se @%:@@%:@
++@%:@@%:@ -------------------------------------- @%:@@%:@
++_ASBOX
++    ) |
++      sed "s/^/$as_me: WARNING:     /" >&2
++    ;;
++esac
++echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  eval "$as_ac_Header=\$ac_header_preproc"
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++
++fi
++if test `eval echo '${'$as_ac_Header'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++
++done
++
++for i in netinet/ip.h netinet/tcp.h; do
++
++cv=`echo "$i" | sed 'y%./+-%__p_%'`
++
++echo "$as_me:$LINENO: checking for $i" >&5
++echo $ECHO_N "checking for $i... $ECHO_C" >&6
++if eval "test \"\${ac_cv_header_$cv+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++\
++#ifdef HAVE_STANDARDS_H
++#include <standards.h>
++#endif
++#include <$i>
++
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  eval "ac_cv_header_$cv=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++  eval "ac_cv_header_$cv=no"
++fi
++rm -f conftest.err conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'ac_cv_header_$cv'}'`" >&5
++echo "${ECHO_T}`eval echo '${'ac_cv_header_$cv'}'`" >&6
++ac_res=`eval echo \\$ac_cv_header_$cv`
++if test "$ac_res" = yes; then
++	ac_tr_hdr=HAVE_`echo $i | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_hdr 1
++_ACEOF
++
++fi
++done
++if false;then
++	
++
++for ac_header in netinet/ip.h netinet/tcp.h
++do
++as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++else
++  # Is the header compilable?
++echo "$as_me:$LINENO: checking $ac_header usability" >&5
++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++@%:@include <$ac_header>
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_header_compiler=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_header_compiler=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
++echo "${ECHO_T}$ac_header_compiler" >&6
++
++# Is the header present?
++echo "$as_me:$LINENO: checking $ac_header presence" >&5
++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@include <$ac_header>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  ac_header_preproc=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++  ac_header_preproc=no
++fi
++rm -f conftest.err conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
++echo "${ECHO_T}$ac_header_preproc" >&6
++
++# So?  What about this header?
++case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
++  yes:no: )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
++echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
++    ac_header_preproc=yes
++    ;;
++  no:yes:* )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
++echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
++echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
++echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
++echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
++echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
++    (
++      cat <<\_ASBOX
++@%:@@%:@ -------------------------------------- @%:@@%:@
++@%:@@%:@ Report this to heimdal-bugs@pdc.kth.se @%:@@%:@
++@%:@@%:@ -------------------------------------- @%:@@%:@
++_ASBOX
++    ) |
++      sed "s/^/$as_me: WARNING:     /" >&2
++    ;;
++esac
++echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  eval "$as_ac_Header=\$ac_header_preproc"
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++
++fi
++if test `eval echo '${'$as_ac_Header'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++
++done
++
++fi
++
++
++
++
++for ac_func in getlogin setlogin
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++if test "$ac_cv_func_getlogin" = yes; then
++echo "$as_me:$LINENO: checking if getlogin is posix" >&5
++echo $ECHO_N "checking if getlogin is posix... $ECHO_C" >&6
++if test "${ac_cv_func_getlogin_posix+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if test "$ac_cv_func_getlogin" = yes -a "$ac_cv_func_setlogin" = yes; then
++	ac_cv_func_getlogin_posix=no
++else
++	ac_cv_func_getlogin_posix=yes
++fi
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getlogin_posix" >&5
++echo "${ECHO_T}$ac_cv_func_getlogin_posix" >&6
++if test "$ac_cv_func_getlogin_posix" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define POSIX_GETLOGIN 1
++_ACEOF
++
++fi
++fi
++
++
++
++for ac_header in stdlib.h unistd.h
++do
++as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++else
++  # Is the header compilable?
++echo "$as_me:$LINENO: checking $ac_header usability" >&5
++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++@%:@include <$ac_header>
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_header_compiler=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_header_compiler=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
++echo "${ECHO_T}$ac_header_compiler" >&6
++
++# Is the header present?
++echo "$as_me:$LINENO: checking $ac_header presence" >&5
++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@include <$ac_header>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  ac_header_preproc=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++  ac_header_preproc=no
++fi
++rm -f conftest.err conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
++echo "${ECHO_T}$ac_header_preproc" >&6
++
++# So?  What about this header?
++case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
++  yes:no: )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
++echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
++    ac_header_preproc=yes
++    ;;
++  no:yes:* )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
++echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
++echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
++echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
++echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
++echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
++    (
++      cat <<\_ASBOX
++@%:@@%:@ -------------------------------------- @%:@@%:@
++@%:@@%:@ Report this to heimdal-bugs@pdc.kth.se @%:@@%:@
++@%:@@%:@ -------------------------------------- @%:@@%:@
++_ASBOX
++    ) |
++      sed "s/^/$as_me: WARNING:     /" >&2
++    ;;
++esac
++echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  eval "$as_ac_Header=\$ac_header_preproc"
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++
++fi
++if test `eval echo '${'$as_ac_Header'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++
++done
++
++
++for ac_func in getpagesize
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++echo "$as_me:$LINENO: checking for working mmap" >&5
++echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
++if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test "$cross_compiling" = yes; then
++  ac_cv_func_mmap_fixed_mapped=no
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++/* malloc might have been renamed as rpl_malloc. */
++#undef malloc
++
++/* Thanks to Mike Haertel and Jim Avera for this test.
++   Here is a matrix of mmap possibilities:
++	mmap private not fixed
++	mmap private fixed at somewhere currently unmapped
++	mmap private fixed at somewhere already mapped
++	mmap shared not fixed
++	mmap shared fixed at somewhere currently unmapped
++	mmap shared fixed at somewhere already mapped
++   For private mappings, we should verify that changes cannot be read()
++   back from the file, nor mmap's back from the file at a different
++   address.  (There have been systems where private was not correctly
++   implemented like the infamous i386 svr4.0, and systems where the
++   VM page cache was not coherent with the file system buffer cache
++   like early versions of FreeBSD and possibly contemporary NetBSD.)
++   For shared mappings, we should conversely verify that changes get
++   propagated back to all the places they're supposed to be.
++
++   Grep wants private fixed already mapped.
++   The main things grep needs to know about mmap are:
++   * does it exist and is it safe to write into the mmap'd area
++   * how to use it (BSD variants)  */
++
++#include <fcntl.h>
++#include <sys/mman.h>
++
++#if !STDC_HEADERS && !HAVE_STDLIB_H
++char *malloc ();
++#endif
++
++/* This mess was copied from the GNU getpagesize.h.  */
++#if !HAVE_GETPAGESIZE
++/* Assume that all systems that can run configure have sys/param.h.  */
++# if !HAVE_SYS_PARAM_H
++#  define HAVE_SYS_PARAM_H 1
++# endif
++
++# ifdef _SC_PAGESIZE
++#  define getpagesize() sysconf(_SC_PAGESIZE)
++# else /* no _SC_PAGESIZE */
++#  if HAVE_SYS_PARAM_H
++#   include <sys/param.h>
++#   ifdef EXEC_PAGESIZE
++#    define getpagesize() EXEC_PAGESIZE
++#   else /* no EXEC_PAGESIZE */
++#    ifdef NBPG
++#     define getpagesize() NBPG * CLSIZE
++#     ifndef CLSIZE
++#      define CLSIZE 1
++#     endif /* no CLSIZE */
++#    else /* no NBPG */
++#     ifdef NBPC
++#      define getpagesize() NBPC
++#     else /* no NBPC */
++#      ifdef PAGESIZE
++#       define getpagesize() PAGESIZE
++#      endif /* PAGESIZE */
++#     endif /* no NBPC */
++#    endif /* no NBPG */
++#   endif /* no EXEC_PAGESIZE */
++#  else /* no HAVE_SYS_PARAM_H */
++#   define getpagesize() 8192	/* punt totally */
++#  endif /* no HAVE_SYS_PARAM_H */
++# endif /* no _SC_PAGESIZE */
++
++#endif /* no HAVE_GETPAGESIZE */
++
++int
++main ()
++{
++  char *data, *data2, *data3;
++  int i, pagesize;
++  int fd;
++
++  pagesize = getpagesize ();
++
++  /* First, make a file with some known garbage in it. */
++  data = (char *) malloc (pagesize);
++  if (!data)
++    exit (1);
++  for (i = 0; i < pagesize; ++i)
++    *(data + i) = rand ();
++  umask (0);
++  fd = creat ("conftest.mmap", 0600);
++  if (fd < 0)
++    exit (1);
++  if (write (fd, data, pagesize) != pagesize)
++    exit (1);
++  close (fd);
++
++  /* Next, try to mmap the file at a fixed address which already has
++     something else allocated at it.  If we can, also make sure that
++     we see the same garbage.  */
++  fd = open ("conftest.mmap", O_RDWR);
++  if (fd < 0)
++    exit (1);
++  data2 = (char *) malloc (2 * pagesize);
++  if (!data2)
++    exit (1);
++  data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
++  if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
++		     MAP_PRIVATE | MAP_FIXED, fd, 0L))
++    exit (1);
++  for (i = 0; i < pagesize; ++i)
++    if (*(data + i) != *(data2 + i))
++      exit (1);
++
++  /* Finally, make sure that changes to the mapped area do not
++     percolate back to the file as seen by read().  (This is a bug on
++     some variants of i386 svr4.0.)  */
++  for (i = 0; i < pagesize; ++i)
++    *(data2 + i) = *(data2 + i) + 1;
++  data3 = (char *) malloc (pagesize);
++  if (!data3)
++    exit (1);
++  if (read (fd, data3, pagesize) != pagesize)
++    exit (1);
++  for (i = 0; i < pagesize; ++i)
++    if (*(data + i) != *(data3 + i))
++      exit (1);
++  close (fd);
++  exit (0);
++}
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_mmap_fixed_mapped=yes
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++( exit $ac_status )
++ac_cv_func_mmap_fixed_mapped=no
++fi
++rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
++echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
++if test $ac_cv_func_mmap_fixed_mapped = yes; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_MMAP 1
++_ACEOF
++
++fi
++rm -f conftest.mmap
++
++
++echo "$as_me:$LINENO: checking if realloc if broken" >&5
++echo $ECHO_N "checking if realloc if broken... $ECHO_C" >&6
++if test "${ac_cv_func_realloc_broken+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++ac_cv_func_realloc_broken=no
++if test "$cross_compiling" = yes; then
++  :
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#include <stddef.h>
++#include <stdlib.h>
++
++int main()
++{
++	return realloc(NULL, 17) == NULL;
++}
++
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  :
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++( exit $ac_status )
++ac_cv_func_realloc_broken=yes
++fi
++rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_realloc_broken" >&5
++echo "${ECHO_T}$ac_cv_func_realloc_broken" >&6
++if test "$ac_cv_func_realloc_broken" = yes ; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define BROKEN_REALLOC 1
++_ACEOF
++
++fi
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++WFLAGS_NOUNUSED=""
++WFLAGS_NOIMPLICITINT=""
++if test -z "$WFLAGS" -a "$GCC" = "yes"; then
++  # -Wno-implicit-int for broken X11 headers
++  # leave these out for now:
++  #   -Wcast-align doesn't work well on alpha osf/1
++  #   -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast
++  #   -Wmissing-declarations -Wnested-externs
++  WFLAGS="-Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs"
++  WFLAGS_NOUNUSED="-Wno-unused"
++  WFLAGS_NOIMPLICITINT="-Wno-implicit-int"
++fi
++
++
++
++
++
++
++
++
++cv=`echo "ssize_t" | sed 'y%./+- %__p__%'`
++echo "$as_me:$LINENO: checking for ssize_t" >&5
++echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
++if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <sys/types.h>
++#if STDC_HEADERS
++#include <stdlib.h>
++#include <stddef.h>
++#endif
++#include <unistd.h>
++int
++main ()
++{
++ssize_t foo;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_type_$cv=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_type_$cv=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++ac_foo=`eval echo \\$ac_cv_type_$cv`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++  ac_tr_hdr=HAVE_`echo ssize_t | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
++if false; then
++	echo "$as_me:$LINENO: checking for ssize_t" >&5
++echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
++if test "${ac_cv_type_ssize_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++int
++main ()
++{
++if ((ssize_t *) 0)
++  return 0;
++if (sizeof (ssize_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_ssize_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_ssize_t=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
++echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
++if test $ac_cv_type_ssize_t = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_SSIZE_T 1
++_ACEOF
++
++
++fi
++
++fi
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_hdr 1
++_ACEOF
++
++fi
++
++
++
++
++
++cv=`echo "long long" | sed 'y%./+- %__p__%'`
++echo "$as_me:$LINENO: checking for long long" >&5
++echo $ECHO_N "checking for long long... $ECHO_C" >&6
++if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <sys/types.h>
++#if STDC_HEADERS
++#include <stdlib.h>
++#include <stddef.h>
++#endif
++
++int
++main ()
++{
++long long foo;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_type_$cv=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_type_$cv=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++ac_foo=`eval echo \\$ac_cv_type_$cv`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++  ac_tr_hdr=HAVE_`echo long long | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
++if false; then
++	echo "$as_me:$LINENO: checking for long long" >&5
++echo $ECHO_N "checking for long long... $ECHO_C" >&6
++if test "${ac_cv_type_long_long+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++int
++main ()
++{
++if ((long long *) 0)
++  return 0;
++if (sizeof (long long))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_long_long=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_long_long=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
++echo "${ECHO_T}$ac_cv_type_long_long" >&6
++if test $ac_cv_type_long_long = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_LONG_LONG 1
++_ACEOF
++
++
++fi
++
++fi
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_hdr 1
++_ACEOF
++
++fi
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++for ac_header in \
++	arpa/inet.h				\
++	arpa/nameser.h				\
++	config.h				\
++	crypt.h					\
++	dirent.h				\
++	errno.h					\
++	err.h					\
++	fcntl.h					\
++	grp.h					\
++	ifaddrs.h				\
++	net/if.h				\
++	netdb.h					\
++	netinet/in.h				\
++	netinet/in6.h				\
++	netinet/in_systm.h			\
++	netinet6/in6.h				\
++	netinet6/in6_var.h			\
++	paths.h					\
++	pwd.h					\
++	resolv.h				\
++	rpcsvc/ypclnt.h				\
++	shadow.h				\
++	sys/bswap.h				\
++	sys/ioctl.h				\
++	sys/mman.h				\
++	sys/param.h				\
++	sys/proc.h				\
++	sys/resource.h				\
++	sys/socket.h				\
++	sys/sockio.h				\
++	sys/stat.h				\
++	sys/sysctl.h				\
++	sys/time.h				\
++	sys/tty.h				\
++	sys/types.h				\
++	sys/uio.h				\
++	sys/utsname.h				\
++	sys/wait.h				\
++	syslog.h				\
++	termios.h				\
++	unistd.h				\
++	userconf.h				\
++	usersec.h				\
++	util.h					\
++	vis.h					\
++
++do
++as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++else
++  # Is the header compilable?
++echo "$as_me:$LINENO: checking $ac_header usability" >&5
++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++@%:@include <$ac_header>
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_header_compiler=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_header_compiler=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
++echo "${ECHO_T}$ac_header_compiler" >&6
++
++# Is the header present?
++echo "$as_me:$LINENO: checking $ac_header presence" >&5
++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@include <$ac_header>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  ac_header_preproc=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++  ac_header_preproc=no
++fi
++rm -f conftest.err conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
++echo "${ECHO_T}$ac_header_preproc" >&6
++
++# So?  What about this header?
++case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
++  yes:no: )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
++echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
++    ac_header_preproc=yes
++    ;;
++  no:yes:* )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
++echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
++echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
++echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
++echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
++echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
++    (
++      cat <<\_ASBOX
++@%:@@%:@ -------------------------------------- @%:@@%:@
++@%:@@%:@ Report this to heimdal-bugs@pdc.kth.se @%:@@%:@
++@%:@@%:@ -------------------------------------- @%:@@%:@
++_ASBOX
++    ) |
++      sed "s/^/$as_me: WARNING:     /" >&2
++    ;;
++esac
++echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  eval "$as_ac_Header=\$ac_header_preproc"
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++
++fi
++if test `eval echo '${'$as_ac_Header'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++
++done
++
++	
++
++
++
++
++if test "$ac_cv_header_err_h" = yes; then
++  have_err_h_TRUE=
++  have_err_h_FALSE='#'
++else
++  have_err_h_TRUE='#'
++  have_err_h_FALSE=
++fi
++
++
++
++if test "$ac_cv_header_fnmatch_h" = yes; then
++  have_fnmatch_h_TRUE=
++  have_fnmatch_h_FALSE='#'
++else
++  have_fnmatch_h_TRUE='#'
++  have_fnmatch_h_FALSE=
++fi
++
++
++
++if test "$ac_cv_header_ifaddrs_h" = yes; then
++  have_ifaddrs_h_TRUE=
++  have_ifaddrs_h_FALSE='#'
++else
++  have_ifaddrs_h_TRUE='#'
++  have_ifaddrs_h_FALSE=
++fi
++
++
++
++if test "$ac_cv_header_vis_h" = yes; then
++  have_vis_h_TRUE=
++  have_vis_h_FALSE='#'
++else
++  have_vis_h_TRUE='#'
++  have_vis_h_FALSE=
++fi
++
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for socket" >&5
++echo $ECHO_N "checking for socket... $ECHO_C" >&6
++if test "${ac_cv_funclib_socket+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_socket\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" socket; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++socket()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_socket=$ac_lib; else ac_cv_funclib_socket=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_socket=\${ac_cv_funclib_socket-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_socket"
++
++if false; then
++	
++for ac_func in socket
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# socket
++eval "ac_tr_func=HAVE_`echo socket | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_socket=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_socket=yes"
++	eval "LIB_socket="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_socket=no"
++	eval "LIB_socket="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_socket=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_socket"; then
++	LIBS="$LIB_socket $LIBS"
++fi
++
++
++
++
++
++echo "$as_me:$LINENO: checking for gethostbyname" >&5
++echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
++if test "${ac_cv_funclib_gethostbyname+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_gethostbyname\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" nsl; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++gethostbyname()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_gethostbyname=$ac_lib; else ac_cv_funclib_gethostbyname=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_gethostbyname=\${ac_cv_funclib_gethostbyname-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_gethostbyname"
++
++if false; then
++	
++for ac_func in gethostbyname
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# gethostbyname
++eval "ac_tr_func=HAVE_`echo gethostbyname | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_gethostbyname=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_gethostbyname=yes"
++	eval "LIB_gethostbyname="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_gethostbyname=no"
++	eval "LIB_gethostbyname="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_gethostbyname=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_gethostbyname"; then
++	LIBS="$LIB_gethostbyname $LIBS"
++fi
++
++
++
++
++
++echo "$as_me:$LINENO: checking for syslog" >&5
++echo $ECHO_N "checking for syslog... $ECHO_C" >&6
++if test "${ac_cv_funclib_syslog+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_syslog\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" syslog; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++syslog()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_syslog=$ac_lib; else ac_cv_funclib_syslog=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_syslog=\${ac_cv_funclib_syslog-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_syslog"
++
++if false; then
++	
++for ac_func in syslog
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# syslog
++eval "ac_tr_func=HAVE_`echo syslog | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_syslog=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_syslog=yes"
++	eval "LIB_syslog="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_syslog=no"
++	eval "LIB_syslog="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_syslog=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_syslog"; then
++	LIBS="$LIB_syslog $LIBS"
++fi
++
++
++
++
++# Check whether --with-ipv6 or --without-ipv6 was given.
++if test "${with_ipv6+set}" = set; then
++  withval="$with_ipv6"
++  
++if test "$withval" = "no"; then
++	ac_cv_lib_ipv6=no
++fi
++fi; 
++save_CFLAGS="${CFLAGS}"
++echo "$as_me:$LINENO: checking for IPv6 stack type" >&5
++echo $ECHO_N "checking for IPv6 stack type... $ECHO_C" >&6
++if test "${v6type+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  v6type=unknown
++v6lib=none
++
++for i in v6d toshiba kame inria zeta linux; do
++	case $i in
++	v6d)
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#include </usr/local/v6/include/sys/types.h>
++#ifdef __V6D__
++yes
++#endif
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  $EGREP "yes" >/dev/null 2>&1; then
++  v6type=$i; v6lib=v6;
++			v6libdir=/usr/local/v6/lib;
++			CFLAGS="-I/usr/local/v6/include $CFLAGS"
++fi
++rm -f conftest*
++
++		;;
++	toshiba)
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#include <sys/param.h>
++#ifdef _TOSHIBA_INET6
++yes
++#endif
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  $EGREP "yes" >/dev/null 2>&1; then
++  v6type=$i; v6lib=inet6;
++			v6libdir=/usr/local/v6/lib;
++			CFLAGS="-DINET6 $CFLAGS"
++fi
++rm -f conftest*
++
++		;;
++	kame)
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#include <netinet/in.h>
++#ifdef __KAME__
++yes
++#endif
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  $EGREP "yes" >/dev/null 2>&1; then
++  v6type=$i; v6lib=inet6;
++			v6libdir=/usr/local/v6/lib;
++			CFLAGS="-DINET6 $CFLAGS"
++fi
++rm -f conftest*
++
++		;;
++	inria)
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#include <netinet/in.h>
++#ifdef IPV6_INRIA_VERSION
++yes
++#endif
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  $EGREP "yes" >/dev/null 2>&1; then
++  v6type=$i; CFLAGS="-DINET6 $CFLAGS"
++fi
++rm -f conftest*
++
++		;;
++	zeta)
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#include <sys/param.h>
++#ifdef _ZETA_MINAMI_INET6
++yes
++#endif
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  $EGREP "yes" >/dev/null 2>&1; then
++  v6type=$i; v6lib=inet6;
++			v6libdir=/usr/local/v6/lib;
++			CFLAGS="-DINET6 $CFLAGS"
++fi
++rm -f conftest*
++
++		;;
++	linux)
++		if test -d /usr/inet6; then
++			v6type=$i
++			v6lib=inet6
++			v6libdir=/usr/inet6
++			CFLAGS="-DINET6 $CFLAGS"
++		fi
++		;;
++	esac
++	if test "$v6type" != "unknown"; then
++		break
++	fi
++done
++
++if test "$v6lib" != "none"; then
++	for dir in $v6libdir /usr/local/v6/lib /usr/local/lib; do
++		if test -d $dir -a -f $dir/lib$v6lib.a; then
++			LIBS="-L$dir -l$v6lib $LIBS"
++			break
++		fi
++	done
++fi
++
++fi
++echo "$as_me:$LINENO: result: $v6type" >&5
++echo "${ECHO_T}$v6type" >&6
++
++echo "$as_me:$LINENO: checking for IPv6" >&5
++echo $ECHO_N "checking for IPv6... $ECHO_C" >&6
++if test "${ac_cv_lib_ipv6+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_NETINET_IN6_H
++#include <netinet/in6.h>
++#endif
++
++int
++main ()
++{
++
++ struct sockaddr_in6 sin6;
++ int s;
++
++ s = socket(AF_INET6, SOCK_DGRAM, 0);
++
++ sin6.sin6_family = AF_INET6;
++ sin6.sin6_port = htons(17);
++ sin6.sin6_addr = in6addr_any;
++ bind(s, (struct sockaddr *)&sin6, sizeof(sin6));
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_ipv6=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_ipv6=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_ipv6" >&5
++echo "${ECHO_T}$ac_cv_lib_ipv6" >&6
++if test "$ac_cv_lib_ipv6" = yes; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_IPV6 1
++_ACEOF
++
++else
++  CFLAGS="${save_CFLAGS}"
++fi
++
++if test "$ac_cv_lib_ipv6" = yes; then
++	echo "$as_me:$LINENO: checking for in6addr_loopback" >&5
++echo $ECHO_N "checking for in6addr_loopback... $ECHO_C" >&6
++if test "${ac_cv_var_in6addr_loopback+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++	cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_NETINET_IN6_H
++#include <netinet/in6.h>
++#endif
++int
++main ()
++{
++
++struct sockaddr_in6 sin6;
++sin6.sin6_addr = in6addr_loopback;
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_var_in6addr_loopback=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_var_in6addr_loopback=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_var_in6addr_loopback" >&5
++echo "${ECHO_T}$ac_cv_var_in6addr_loopback" >&6
++	if test "$ac_cv_var_in6addr_loopback" = yes; then
++		
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_IN6ADDR_LOOPBACK 1
++_ACEOF
++
++	fi
++fi
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for gethostbyname2" >&5
++echo $ECHO_N "checking for gethostbyname2... $ECHO_C" >&6
++if test "${ac_cv_funclib_gethostbyname2+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_gethostbyname2\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" inet6 ip6; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++gethostbyname2()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_gethostbyname2=$ac_lib; else ac_cv_funclib_gethostbyname2=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_gethostbyname2=\${ac_cv_funclib_gethostbyname2-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_gethostbyname2"
++
++if false; then
++	
++for ac_func in gethostbyname2
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# gethostbyname2
++eval "ac_tr_func=HAVE_`echo gethostbyname2 | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_gethostbyname2=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_gethostbyname2=yes"
++	eval "LIB_gethostbyname2="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_gethostbyname2=no"
++	eval "LIB_gethostbyname2="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_gethostbyname2=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_gethostbyname2"; then
++	LIBS="$LIB_gethostbyname2 $LIBS"
++fi
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for res_search" >&5
++echo $ECHO_N "checking for res_search... $ECHO_C" >&6
++if test "${ac_cv_funclib_res_search+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_res_search\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" resolv; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#include <stdio.h>
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_NAMESER_H
++#include <arpa/nameser.h>
++#endif
++#ifdef HAVE_RESOLV_H
++#include <resolv.h>
++#endif
++
++int
++main ()
++{
++res_search(0,0,0,0,0)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_res_search=$ac_lib; else ac_cv_funclib_res_search=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_res_search=\${ac_cv_funclib_res_search-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_res_search"
++
++if false; then
++	
++for ac_func in res_search
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# res_search
++eval "ac_tr_func=HAVE_`echo res_search | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_res_search=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_res_search=yes"
++	eval "LIB_res_search="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_res_search=no"
++	eval "LIB_res_search="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_res_search=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_res_search"; then
++	LIBS="$LIB_res_search $LIBS"
++fi
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for res_nsearch" >&5
++echo $ECHO_N "checking for res_nsearch... $ECHO_C" >&6
++if test "${ac_cv_funclib_res_nsearch+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_res_nsearch\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" resolv; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#include <stdio.h>
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_NAMESER_H
++#include <arpa/nameser.h>
++#endif
++#ifdef HAVE_RESOLV_H
++#include <resolv.h>
++#endif
++
++int
++main ()
++{
++res_nsearch(0,0,0,0,0,0)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_res_nsearch=$ac_lib; else ac_cv_funclib_res_nsearch=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_res_nsearch=\${ac_cv_funclib_res_nsearch-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_res_nsearch"
++
++if false; then
++	
++for ac_func in res_nsearch
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# res_nsearch
++eval "ac_tr_func=HAVE_`echo res_nsearch | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_res_nsearch=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_res_nsearch=yes"
++	eval "LIB_res_nsearch="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_res_nsearch=no"
++	eval "LIB_res_nsearch="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_res_nsearch=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_res_nsearch"; then
++	LIBS="$LIB_res_nsearch $LIBS"
++fi
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for dn_expand" >&5
++echo $ECHO_N "checking for dn_expand... $ECHO_C" >&6
++if test "${ac_cv_funclib_dn_expand+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_dn_expand\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" resolv; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#include <stdio.h>
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_NAMESER_H
++#include <arpa/nameser.h>
++#endif
++#ifdef HAVE_RESOLV_H
++#include <resolv.h>
++#endif
++
++int
++main ()
++{
++dn_expand(0,0,0,0,0)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_dn_expand=$ac_lib; else ac_cv_funclib_dn_expand=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_dn_expand=\${ac_cv_funclib_dn_expand-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_dn_expand"
++
++if false; then
++	
++for ac_func in dn_expand
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# dn_expand
++eval "ac_tr_func=HAVE_`echo dn_expand | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_dn_expand=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_dn_expand=yes"
++	eval "LIB_dn_expand="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_dn_expand=no"
++	eval "LIB_dn_expand="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_dn_expand=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_dn_expand"; then
++	LIBS="$LIB_dn_expand $LIBS"
++fi
++
++
++
++echo "$as_me:$LINENO: checking for _res" >&5
++echo $ECHO_N "checking for _res... $ECHO_C" >&6
++if test "${ac_cv_var__res+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++
++	cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdio.h>
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_NAMESER_H
++#include <arpa/nameser.h>
++#endif
++#ifdef HAVE_RESOLV_H
++#include <resolv.h>
++#endif
++	void * foo() { return &_res; }
++int
++main ()
++{
++foo()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_var__res=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_var__res=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++if test "$ac_cv_var__res" != yes ; then
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++extern int _res;
++int foo() { return _res; }
++int
++main ()
++{
++foo()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_var__res=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_var__res=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++
++fi
++
++ac_foo=`eval echo \\$ac_cv_var__res`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE__RES 1
++_ACEOF
++
++	
++echo "$as_me:$LINENO: checking if _res is properly declared" >&5
++echo $ECHO_N "checking if _res is properly declared... $ECHO_C" >&6
++if test "${ac_cv_var__res_declaration+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdio.h>
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_NAMESER_H
++#include <arpa/nameser.h>
++#endif
++#ifdef HAVE_RESOLV_H
++#include <resolv.h>
++#endif
++extern struct { int foo; } _res;
++int
++main ()
++{
++_res.foo = 1;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_var__res_declaration=no"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_var__res_declaration=yes"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var__res_declaration" >&5
++echo "${ECHO_T}$ac_cv_var__res_declaration" >&6
++if eval "test \"\$ac_cv_var__res_declaration\" = yes"; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE__RES_DECLARATION 1
++_ACEOF
++
++fi
++
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking for working snprintf" >&5
++echo $ECHO_N "checking for working snprintf... $ECHO_C" >&6
++if test "${ac_cv_func_snprintf_working+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_cv_func_snprintf_working=yes
++if test "$cross_compiling" = yes; then
++  :
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#include <stdio.h>
++#include <string.h>
++int main()
++{
++	char foo[3];
++	snprintf(foo, 2, "12");
++	return strcmp(foo, "1");
++}
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  :
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++( exit $ac_status )
++ac_cv_func_snprintf_working=no
++fi
++rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_snprintf_working" >&5
++echo "${ECHO_T}$ac_cv_func_snprintf_working" >&6
++
++if test "$ac_cv_func_snprintf_working" = yes; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_SNPRINTF 1
++_ACEOF
++
++fi
++if test "$ac_cv_func_snprintf_working" = yes; then
++
++if test "$ac_cv_func_snprintf+set" != set -o "$ac_cv_func_snprintf" = yes; then
++echo "$as_me:$LINENO: checking if snprintf needs a prototype" >&5
++echo $ECHO_N "checking if snprintf needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_snprintf_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdio.h>
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int snprintf (struct foo*);
++snprintf(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_snprintf_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_snprintf_noproto=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_snprintf_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_snprintf_noproto" >&6
++if test "$ac_cv_func_snprintf_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_SNPRINTF_PROTO 1
++_ACEOF
++
++fi
++fi
++
++fi
++
++
++echo "$as_me:$LINENO: checking for working vsnprintf" >&5
++echo $ECHO_N "checking for working vsnprintf... $ECHO_C" >&6
++if test "${ac_cv_func_vsnprintf_working+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_cv_func_vsnprintf_working=yes
++if test "$cross_compiling" = yes; then
++  :
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#include <stdio.h>
++#include <string.h>
++#include <stdarg.h>
++
++int foo(int num, ...)
++{
++	char bar[3];
++	va_list arg;
++	va_start(arg, num);
++	vsnprintf(bar, 2, "%s", arg);
++	va_end(arg);
++	return strcmp(bar, "1");
++}
++
++
++int main()
++{
++	return foo(0, "12");
++}
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  :
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++( exit $ac_status )
++ac_cv_func_vsnprintf_working=no
++fi
++rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_vsnprintf_working" >&5
++echo "${ECHO_T}$ac_cv_func_vsnprintf_working" >&6
++
++if test "$ac_cv_func_vsnprintf_working" = yes; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_VSNPRINTF 1
++_ACEOF
++
++fi
++if test "$ac_cv_func_vsnprintf_working" = yes; then
++
++if test "$ac_cv_func_vsnprintf+set" != set -o "$ac_cv_func_vsnprintf" = yes; then
++echo "$as_me:$LINENO: checking if vsnprintf needs a prototype" >&5
++echo $ECHO_N "checking if vsnprintf needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_vsnprintf_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdio.h>
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int vsnprintf (struct foo*);
++vsnprintf(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_vsnprintf_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_vsnprintf_noproto=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_vsnprintf_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_vsnprintf_noproto" >&6
++if test "$ac_cv_func_vsnprintf_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_VSNPRINTF_PROTO 1
++_ACEOF
++
++fi
++fi
++
++fi
++
++
++
++echo "$as_me:$LINENO: checking for working glob" >&5
++echo $ECHO_N "checking for working glob... $ECHO_C" >&6
++if test "${ac_cv_func_glob_working+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_cv_func_glob_working=yes
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#include <stdio.h>
++#include <glob.h>
++int
++main ()
++{
++
++glob(NULL, GLOB_BRACE|GLOB_NOCHECK|GLOB_QUOTE|GLOB_TILDE|
++#ifdef GLOB_MAXPATH
++GLOB_MAXPATH
++#else
++GLOB_LIMIT
++#endif
++,
++NULL, NULL);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  :
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_glob_working=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_glob_working" >&5
++echo "${ECHO_T}$ac_cv_func_glob_working" >&6
++
++if test "$ac_cv_func_glob_working" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_GLOB 1
++_ACEOF
++
++fi
++if test "$ac_cv_func_glob_working" = yes; then
++
++if test "$ac_cv_func_glob+set" != set -o "$ac_cv_func_glob" = yes; then
++echo "$as_me:$LINENO: checking if glob needs a prototype" >&5
++echo $ECHO_N "checking if glob needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_glob_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdio.h>
++#include <glob.h>
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int glob (struct foo*);
++glob(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_glob_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_glob_noproto=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_glob_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_glob_noproto" >&6
++if test "$ac_cv_func_glob_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_GLOB_PROTO 1
++_ACEOF
++
++fi
++fi
++
++fi
++
++if test "$ac_cv_func_glob_working" != yes; then
++	case $LIB@&t@OBJS in
++    "glob.$ac_objext"   | \
++  *" glob.$ac_objext"   | \
++    "glob.$ac_objext "* | \
++  *" glob.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS glob.$ac_objext" ;;
++esac
++
++fi
++
++
++if test "$ac_cv_func_glob_working" = yes; then
++  have_glob_h_TRUE=
++  have_glob_h_FALSE='#'
++else
++  have_glob_h_TRUE='#'
++  have_glob_h_FALSE=
++fi
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++for ac_func in 				\
++	asnprintf				\
++	asprintf				\
++	atexit					\
++	cgetent					\
++	getconfattr				\
++	getprogname				\
++	getrlimit				\
++	getspnam				\
++	initstate				\
++	issetugid				\
++	on_exit					\
++	random					\
++	setprogname				\
++	setstate				\
++	strsvis					\
++	strunvis				\
++	strvis					\
++	strvisx					\
++	svis					\
++	sysconf					\
++	sysctl					\
++	uname					\
++	unvis					\
++	vasnprintf				\
++	vasprintf				\
++	vis					\
++
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++
++if test "$ac_cv_func_cgetent" = no; then
++	case $LIB@&t@OBJS in
++    "getcap.$ac_objext"   | \
++  *" getcap.$ac_objext"   | \
++    "getcap.$ac_objext "* | \
++  *" getcap.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS getcap.$ac_objext" ;;
++esac
++
++fi
++
++
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for getsockopt" >&5
++echo $ECHO_N "checking for getsockopt... $ECHO_C" >&6
++if test "${ac_cv_funclib_getsockopt+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_getsockopt\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++int
++main ()
++{
++getsockopt(0,0,0,0,0)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_getsockopt=$ac_lib; else ac_cv_funclib_getsockopt=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_getsockopt=\${ac_cv_funclib_getsockopt-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_getsockopt"
++
++if false; then
++	
++for ac_func in getsockopt
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# getsockopt
++eval "ac_tr_func=HAVE_`echo getsockopt | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_getsockopt=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_getsockopt=yes"
++	eval "LIB_getsockopt="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_getsockopt=no"
++	eval "LIB_getsockopt="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_getsockopt=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++
++
++
++echo "$as_me:$LINENO: checking for setsockopt" >&5
++echo $ECHO_N "checking for setsockopt... $ECHO_C" >&6
++if test "${ac_cv_funclib_setsockopt+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_setsockopt\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++int
++main ()
++{
++setsockopt(0,0,0,0,0)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_setsockopt=$ac_lib; else ac_cv_funclib_setsockopt=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_setsockopt=\${ac_cv_funclib_setsockopt-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_setsockopt"
++
++if false; then
++	
++for ac_func in setsockopt
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# setsockopt
++eval "ac_tr_func=HAVE_`echo setsockopt | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_setsockopt=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_setsockopt=yes"
++	eval "LIB_setsockopt="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_setsockopt=no"
++	eval "LIB_setsockopt="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_setsockopt=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for hstrerror" >&5
++echo $ECHO_N "checking for hstrerror... $ECHO_C" >&6
++if test "${ac_cv_funclib_hstrerror+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_hstrerror\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" resolv; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif
++int
++main ()
++{
++hstrerror(17)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_hstrerror=$ac_lib; else ac_cv_funclib_hstrerror=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_hstrerror=\${ac_cv_funclib_hstrerror-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_hstrerror"
++
++if false; then
++	
++for ac_func in hstrerror
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# hstrerror
++eval "ac_tr_func=HAVE_`echo hstrerror | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_hstrerror=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_hstrerror=yes"
++	eval "LIB_hstrerror="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_hstrerror=no"
++	eval "LIB_hstrerror="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_hstrerror=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_hstrerror"; then
++	LIBS="$LIB_hstrerror $LIBS"
++fi
++
++if eval "test \"$ac_cv_func_hstrerror\" != yes"; then 
++	case $LIB@&t@OBJS in
++    "hstrerror.$ac_objext"   | \
++  *" hstrerror.$ac_objext"   | \
++    "hstrerror.$ac_objext "* | \
++  *" hstrerror.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS hstrerror.$ac_objext" ;;
++esac
++
++fi
++
++
++if test "$ac_cv_func_hstrerror+set" != set -o "$ac_cv_func_hstrerror" = yes; then
++echo "$as_me:$LINENO: checking if hstrerror needs a prototype" >&5
++echo $ECHO_N "checking if hstrerror needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_hstrerror_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int hstrerror (struct foo*);
++hstrerror(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_hstrerror_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_hstrerror_noproto=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_hstrerror_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_hstrerror_noproto" >&6
++if test "$ac_cv_func_hstrerror_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_HSTRERROR_PROTO 1
++_ACEOF
++
++fi
++fi
++
++
++
++if test "$ac_cv_func_asprintf+set" != set -o "$ac_cv_func_asprintf" = yes; then
++echo "$as_me:$LINENO: checking if asprintf needs a prototype" >&5
++echo $ECHO_N "checking if asprintf needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_asprintf_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++	#include <stdio.h>
++	#include <string.h>
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int asprintf (struct foo*);
++asprintf(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_asprintf_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_asprintf_noproto=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_asprintf_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_asprintf_noproto" >&6
++if test "$ac_cv_func_asprintf_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_ASPRINTF_PROTO 1
++_ACEOF
++
++fi
++fi
++
++if test "$ac_cv_func_vasprintf+set" != set -o "$ac_cv_func_vasprintf" = yes; then
++echo "$as_me:$LINENO: checking if vasprintf needs a prototype" >&5
++echo $ECHO_N "checking if vasprintf needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_vasprintf_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++	#include <stdio.h>
++	#include <string.h>
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int vasprintf (struct foo*);
++vasprintf(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_vasprintf_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_vasprintf_noproto=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_vasprintf_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_vasprintf_noproto" >&6
++if test "$ac_cv_func_vasprintf_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_VASPRINTF_PROTO 1
++_ACEOF
++
++fi
++fi
++
++if test "$ac_cv_func_asnprintf+set" != set -o "$ac_cv_func_asnprintf" = yes; then
++echo "$as_me:$LINENO: checking if asnprintf needs a prototype" >&5
++echo $ECHO_N "checking if asnprintf needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_asnprintf_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++	#include <stdio.h>
++	#include <string.h>
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int asnprintf (struct foo*);
++asnprintf(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_asnprintf_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_asnprintf_noproto=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_asnprintf_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_asnprintf_noproto" >&6
++if test "$ac_cv_func_asnprintf_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_ASNPRINTF_PROTO 1
++_ACEOF
++
++fi
++fi
++
++if test "$ac_cv_func_vasnprintf+set" != set -o "$ac_cv_func_vasnprintf" = yes; then
++echo "$as_me:$LINENO: checking if vasnprintf needs a prototype" >&5
++echo $ECHO_N "checking if vasnprintf needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_vasnprintf_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++	#include <stdio.h>
++	#include <string.h>
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int vasnprintf (struct foo*);
++vasnprintf(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_vasnprintf_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_vasnprintf_noproto=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_vasnprintf_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_vasnprintf_noproto" >&6
++if test "$ac_cv_func_vasnprintf_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_VASNPRINTF_PROTO 1
++_ACEOF
++
++fi
++fi
++
++
++
++
++
++echo "$as_me:$LINENO: checking for bswap16" >&5
++echo $ECHO_N "checking for bswap16... $ECHO_C" >&6
++if test "${ac_cv_funclib_bswap16+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_bswap16\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_SYS_BSWAP_H
++#include <sys/bswap.h>
++#endif
++int
++main ()
++{
++bswap16(0)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_bswap16=$ac_lib; else ac_cv_funclib_bswap16=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_bswap16=\${ac_cv_funclib_bswap16-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_bswap16"
++
++if false; then
++	
++for ac_func in bswap16
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# bswap16
++eval "ac_tr_func=HAVE_`echo bswap16 | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_bswap16=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_bswap16=yes"
++	eval "LIB_bswap16="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_bswap16=no"
++	eval "LIB_bswap16="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_bswap16=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for bswap32" >&5
++echo $ECHO_N "checking for bswap32... $ECHO_C" >&6
++if test "${ac_cv_funclib_bswap32+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_bswap32\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_SYS_BSWAP_H
++#include <sys/bswap.h>
++#endif
++int
++main ()
++{
++bswap32(0)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_bswap32=$ac_lib; else ac_cv_funclib_bswap32=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_bswap32=\${ac_cv_funclib_bswap32-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_bswap32"
++
++if false; then
++	
++for ac_func in bswap32
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# bswap32
++eval "ac_tr_func=HAVE_`echo bswap32 | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_bswap32=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_bswap32=yes"
++	eval "LIB_bswap32="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_bswap32=no"
++	eval "LIB_bswap32="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_bswap32=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for pidfile" >&5
++echo $ECHO_N "checking for pidfile... $ECHO_C" >&6
++if test "${ac_cv_funclib_pidfile+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_pidfile\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" util; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_UTIL_H
++#include <util.h>
++#endif
++int
++main ()
++{
++pidfile(0)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_pidfile=$ac_lib; else ac_cv_funclib_pidfile=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_pidfile=\${ac_cv_funclib_pidfile-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_pidfile"
++
++if false; then
++	
++for ac_func in pidfile
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# pidfile
++eval "ac_tr_func=HAVE_`echo pidfile | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_pidfile=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_pidfile=yes"
++	eval "LIB_pidfile="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_pidfile=no"
++	eval "LIB_pidfile="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_pidfile=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for getaddrinfo" >&5
++echo $ECHO_N "checking for getaddrinfo... $ECHO_C" >&6
++if test "${ac_cv_funclib_getaddrinfo+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_getaddrinfo\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif
++int
++main ()
++{
++getaddrinfo(0,0,0,0)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_getaddrinfo=$ac_lib; else ac_cv_funclib_getaddrinfo=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_getaddrinfo=\${ac_cv_funclib_getaddrinfo-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_getaddrinfo"
++
++if false; then
++	
++for ac_func in getaddrinfo
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# getaddrinfo
++eval "ac_tr_func=HAVE_`echo getaddrinfo | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_getaddrinfo=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_getaddrinfo=yes"
++	eval "LIB_getaddrinfo="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_getaddrinfo=no"
++	eval "LIB_getaddrinfo="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_getaddrinfo=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_getaddrinfo"; then
++	LIBS="$LIB_getaddrinfo $LIBS"
++fi
++
++if eval "test \"$ac_cv_func_getaddrinfo\" != yes"; then 
++	case $LIB@&t@OBJS in
++    "getaddrinfo.$ac_objext"   | \
++  *" getaddrinfo.$ac_objext"   | \
++    "getaddrinfo.$ac_objext "* | \
++  *" getaddrinfo.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS getaddrinfo.$ac_objext" ;;
++esac
++
++fi
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for getnameinfo" >&5
++echo $ECHO_N "checking for getnameinfo... $ECHO_C" >&6
++if test "${ac_cv_funclib_getnameinfo+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_getnameinfo\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif
++int
++main ()
++{
++getnameinfo(0,0,0,0,0,0,0)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_getnameinfo=$ac_lib; else ac_cv_funclib_getnameinfo=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_getnameinfo=\${ac_cv_funclib_getnameinfo-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_getnameinfo"
++
++if false; then
++	
++for ac_func in getnameinfo
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# getnameinfo
++eval "ac_tr_func=HAVE_`echo getnameinfo | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_getnameinfo=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_getnameinfo=yes"
++	eval "LIB_getnameinfo="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_getnameinfo=no"
++	eval "LIB_getnameinfo="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_getnameinfo=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_getnameinfo"; then
++	LIBS="$LIB_getnameinfo $LIBS"
++fi
++
++if eval "test \"$ac_cv_func_getnameinfo\" != yes"; then 
++	case $LIB@&t@OBJS in
++    "getnameinfo.$ac_objext"   | \
++  *" getnameinfo.$ac_objext"   | \
++    "getnameinfo.$ac_objext "* | \
++  *" getnameinfo.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS getnameinfo.$ac_objext" ;;
++esac
++
++fi
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for freeaddrinfo" >&5
++echo $ECHO_N "checking for freeaddrinfo... $ECHO_C" >&6
++if test "${ac_cv_funclib_freeaddrinfo+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_freeaddrinfo\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif
++int
++main ()
++{
++freeaddrinfo(0)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_freeaddrinfo=$ac_lib; else ac_cv_funclib_freeaddrinfo=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_freeaddrinfo=\${ac_cv_funclib_freeaddrinfo-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_freeaddrinfo"
++
++if false; then
++	
++for ac_func in freeaddrinfo
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# freeaddrinfo
++eval "ac_tr_func=HAVE_`echo freeaddrinfo | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_freeaddrinfo=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_freeaddrinfo=yes"
++	eval "LIB_freeaddrinfo="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_freeaddrinfo=no"
++	eval "LIB_freeaddrinfo="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_freeaddrinfo=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_freeaddrinfo"; then
++	LIBS="$LIB_freeaddrinfo $LIBS"
++fi
++
++if eval "test \"$ac_cv_func_freeaddrinfo\" != yes"; then 
++	case $LIB@&t@OBJS in
++    "freeaddrinfo.$ac_objext"   | \
++  *" freeaddrinfo.$ac_objext"   | \
++    "freeaddrinfo.$ac_objext "* | \
++  *" freeaddrinfo.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS freeaddrinfo.$ac_objext" ;;
++esac
++
++fi
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for gai_strerror" >&5
++echo $ECHO_N "checking for gai_strerror... $ECHO_C" >&6
++if test "${ac_cv_funclib_gai_strerror+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_gai_strerror\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif
++int
++main ()
++{
++gai_strerror(0)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_gai_strerror=$ac_lib; else ac_cv_funclib_gai_strerror=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_gai_strerror=\${ac_cv_funclib_gai_strerror-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_gai_strerror"
++
++if false; then
++	
++for ac_func in gai_strerror
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# gai_strerror
++eval "ac_tr_func=HAVE_`echo gai_strerror | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_gai_strerror=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_gai_strerror=yes"
++	eval "LIB_gai_strerror="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_gai_strerror=no"
++	eval "LIB_gai_strerror="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_gai_strerror=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_gai_strerror"; then
++	LIBS="$LIB_gai_strerror $LIBS"
++fi
++
++if eval "test \"$ac_cv_func_gai_strerror\" != yes"; then 
++	case $LIB@&t@OBJS in
++    "gai_strerror.$ac_objext"   | \
++  *" gai_strerror.$ac_objext"   | \
++    "gai_strerror.$ac_objext "* | \
++  *" gai_strerror.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS gai_strerror.$ac_objext" ;;
++esac
++
++fi
++
++
++echo "$as_me:$LINENO: checking for chown" >&5
++echo $ECHO_N "checking for chown... $ECHO_C" >&6
++if test "${ac_cv_func_chown+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define chown to an innocuous variant, in case <limits.h> declares chown.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define chown innocuous_chown
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char chown (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef chown
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char chown ();
++/* 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_chown) || defined (__stub___chown)
++choke me
++#else
++char (*f) () = chown;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != chown;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_chown=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_chown=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_chown" >&5
++echo "${ECHO_T}$ac_cv_func_chown" >&6
++if test $ac_cv_func_chown = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_CHOWN 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "chown.$ac_objext"   | \
++  *" chown.$ac_objext"   | \
++    "chown.$ac_objext "* | \
++  *" chown.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS chown.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for copyhostent" >&5
++echo $ECHO_N "checking for copyhostent... $ECHO_C" >&6
++if test "${ac_cv_func_copyhostent+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define copyhostent to an innocuous variant, in case <limits.h> declares copyhostent.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define copyhostent innocuous_copyhostent
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char copyhostent (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef copyhostent
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char copyhostent ();
++/* 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_copyhostent) || defined (__stub___copyhostent)
++choke me
++#else
++char (*f) () = copyhostent;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != copyhostent;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_copyhostent=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_copyhostent=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_copyhostent" >&5
++echo "${ECHO_T}$ac_cv_func_copyhostent" >&6
++if test $ac_cv_func_copyhostent = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_COPYHOSTENT 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "copyhostent.$ac_objext"   | \
++  *" copyhostent.$ac_objext"   | \
++    "copyhostent.$ac_objext "* | \
++  *" copyhostent.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS copyhostent.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for daemon" >&5
++echo $ECHO_N "checking for daemon... $ECHO_C" >&6
++if test "${ac_cv_func_daemon+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define daemon to an innocuous variant, in case <limits.h> declares daemon.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define daemon innocuous_daemon
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char daemon (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef daemon
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char daemon ();
++/* 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_daemon) || defined (__stub___daemon)
++choke me
++#else
++char (*f) () = daemon;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != daemon;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_daemon=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_daemon=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_daemon" >&5
++echo "${ECHO_T}$ac_cv_func_daemon" >&6
++if test $ac_cv_func_daemon = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_DAEMON 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "daemon.$ac_objext"   | \
++  *" daemon.$ac_objext"   | \
++    "daemon.$ac_objext "* | \
++  *" daemon.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS daemon.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for ecalloc" >&5
++echo $ECHO_N "checking for ecalloc... $ECHO_C" >&6
++if test "${ac_cv_func_ecalloc+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define ecalloc to an innocuous variant, in case <limits.h> declares ecalloc.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define ecalloc innocuous_ecalloc
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char ecalloc (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef ecalloc
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char ecalloc ();
++/* 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_ecalloc) || defined (__stub___ecalloc)
++choke me
++#else
++char (*f) () = ecalloc;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != ecalloc;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_ecalloc=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_ecalloc=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_ecalloc" >&5
++echo "${ECHO_T}$ac_cv_func_ecalloc" >&6
++if test $ac_cv_func_ecalloc = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_ECALLOC 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "ecalloc.$ac_objext"   | \
++  *" ecalloc.$ac_objext"   | \
++    "ecalloc.$ac_objext "* | \
++  *" ecalloc.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS ecalloc.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for emalloc" >&5
++echo $ECHO_N "checking for emalloc... $ECHO_C" >&6
++if test "${ac_cv_func_emalloc+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define emalloc to an innocuous variant, in case <limits.h> declares emalloc.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define emalloc innocuous_emalloc
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char emalloc (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef emalloc
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char emalloc ();
++/* 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_emalloc) || defined (__stub___emalloc)
++choke me
++#else
++char (*f) () = emalloc;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != emalloc;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_emalloc=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_emalloc=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_emalloc" >&5
++echo "${ECHO_T}$ac_cv_func_emalloc" >&6
++if test $ac_cv_func_emalloc = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_EMALLOC 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "emalloc.$ac_objext"   | \
++  *" emalloc.$ac_objext"   | \
++    "emalloc.$ac_objext "* | \
++  *" emalloc.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS emalloc.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for erealloc" >&5
++echo $ECHO_N "checking for erealloc... $ECHO_C" >&6
++if test "${ac_cv_func_erealloc+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define erealloc to an innocuous variant, in case <limits.h> declares erealloc.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define erealloc innocuous_erealloc
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char erealloc (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef erealloc
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char erealloc ();
++/* 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_erealloc) || defined (__stub___erealloc)
++choke me
++#else
++char (*f) () = erealloc;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != erealloc;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_erealloc=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_erealloc=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_erealloc" >&5
++echo "${ECHO_T}$ac_cv_func_erealloc" >&6
++if test $ac_cv_func_erealloc = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_EREALLOC 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "erealloc.$ac_objext"   | \
++  *" erealloc.$ac_objext"   | \
++    "erealloc.$ac_objext "* | \
++  *" erealloc.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS erealloc.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for estrdup" >&5
++echo $ECHO_N "checking for estrdup... $ECHO_C" >&6
++if test "${ac_cv_func_estrdup+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define estrdup to an innocuous variant, in case <limits.h> declares estrdup.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define estrdup innocuous_estrdup
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char estrdup (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef estrdup
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char estrdup ();
++/* 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_estrdup) || defined (__stub___estrdup)
++choke me
++#else
++char (*f) () = estrdup;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != estrdup;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_estrdup=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_estrdup=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_estrdup" >&5
++echo "${ECHO_T}$ac_cv_func_estrdup" >&6
++if test $ac_cv_func_estrdup = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_ESTRDUP 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "estrdup.$ac_objext"   | \
++  *" estrdup.$ac_objext"   | \
++    "estrdup.$ac_objext "* | \
++  *" estrdup.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS estrdup.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for err" >&5
++echo $ECHO_N "checking for err... $ECHO_C" >&6
++if test "${ac_cv_func_err+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define err to an innocuous variant, in case <limits.h> declares err.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define err innocuous_err
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char err (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef err
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char err ();
++/* 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_err) || defined (__stub___err)
++choke me
++#else
++char (*f) () = err;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != err;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_err=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_err=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_err" >&5
++echo "${ECHO_T}$ac_cv_func_err" >&6
++if test $ac_cv_func_err = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_ERR 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "err.$ac_objext"   | \
++  *" err.$ac_objext"   | \
++    "err.$ac_objext "* | \
++  *" err.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS err.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for errx" >&5
++echo $ECHO_N "checking for errx... $ECHO_C" >&6
++if test "${ac_cv_func_errx+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define errx to an innocuous variant, in case <limits.h> declares errx.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define errx innocuous_errx
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char errx (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef errx
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char errx ();
++/* 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_errx) || defined (__stub___errx)
++choke me
++#else
++char (*f) () = errx;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != errx;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_errx=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_errx=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_errx" >&5
++echo "${ECHO_T}$ac_cv_func_errx" >&6
++if test $ac_cv_func_errx = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_ERRX 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "errx.$ac_objext"   | \
++  *" errx.$ac_objext"   | \
++    "errx.$ac_objext "* | \
++  *" errx.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS errx.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for fchown" >&5
++echo $ECHO_N "checking for fchown... $ECHO_C" >&6
++if test "${ac_cv_func_fchown+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define fchown to an innocuous variant, in case <limits.h> declares fchown.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define fchown innocuous_fchown
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char fchown (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef fchown
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char fchown ();
++/* 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_fchown) || defined (__stub___fchown)
++choke me
++#else
++char (*f) () = fchown;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != fchown;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_fchown=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_fchown=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_fchown" >&5
++echo "${ECHO_T}$ac_cv_func_fchown" >&6
++if test $ac_cv_func_fchown = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_FCHOWN 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "fchown.$ac_objext"   | \
++  *" fchown.$ac_objext"   | \
++    "fchown.$ac_objext "* | \
++  *" fchown.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS fchown.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for flock" >&5
++echo $ECHO_N "checking for flock... $ECHO_C" >&6
++if test "${ac_cv_func_flock+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define flock to an innocuous variant, in case <limits.h> declares flock.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define flock innocuous_flock
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char flock (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef flock
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char flock ();
++/* 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_flock) || defined (__stub___flock)
++choke me
++#else
++char (*f) () = flock;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != flock;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_flock=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_flock=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_flock" >&5
++echo "${ECHO_T}$ac_cv_func_flock" >&6
++if test $ac_cv_func_flock = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_FLOCK 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "flock.$ac_objext"   | \
++  *" flock.$ac_objext"   | \
++    "flock.$ac_objext "* | \
++  *" flock.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS flock.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for fnmatch" >&5
++echo $ECHO_N "checking for fnmatch... $ECHO_C" >&6
++if test "${ac_cv_func_fnmatch+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define fnmatch to an innocuous variant, in case <limits.h> declares fnmatch.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define fnmatch innocuous_fnmatch
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char fnmatch (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef fnmatch
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char fnmatch ();
++/* 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_fnmatch) || defined (__stub___fnmatch)
++choke me
++#else
++char (*f) () = fnmatch;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != fnmatch;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_fnmatch=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_fnmatch=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_fnmatch" >&5
++echo "${ECHO_T}$ac_cv_func_fnmatch" >&6
++if test $ac_cv_func_fnmatch = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_FNMATCH 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "fnmatch.$ac_objext"   | \
++  *" fnmatch.$ac_objext"   | \
++    "fnmatch.$ac_objext "* | \
++  *" fnmatch.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS fnmatch.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for freehostent" >&5
++echo $ECHO_N "checking for freehostent... $ECHO_C" >&6
++if test "${ac_cv_func_freehostent+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define freehostent to an innocuous variant, in case <limits.h> declares freehostent.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define freehostent innocuous_freehostent
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char freehostent (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef freehostent
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char freehostent ();
++/* 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_freehostent) || defined (__stub___freehostent)
++choke me
++#else
++char (*f) () = freehostent;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != freehostent;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_freehostent=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_freehostent=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_freehostent" >&5
++echo "${ECHO_T}$ac_cv_func_freehostent" >&6
++if test $ac_cv_func_freehostent = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_FREEHOSTENT 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "freehostent.$ac_objext"   | \
++  *" freehostent.$ac_objext"   | \
++    "freehostent.$ac_objext "* | \
++  *" freehostent.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS freehostent.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for getcwd" >&5
++echo $ECHO_N "checking for getcwd... $ECHO_C" >&6
++if test "${ac_cv_func_getcwd+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define getcwd to an innocuous variant, in case <limits.h> declares getcwd.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define getcwd innocuous_getcwd
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char getcwd (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef getcwd
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char getcwd ();
++/* 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_getcwd) || defined (__stub___getcwd)
++choke me
++#else
++char (*f) () = getcwd;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != getcwd;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_getcwd=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_getcwd=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getcwd" >&5
++echo "${ECHO_T}$ac_cv_func_getcwd" >&6
++if test $ac_cv_func_getcwd = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_GETCWD 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "getcwd.$ac_objext"   | \
++  *" getcwd.$ac_objext"   | \
++    "getcwd.$ac_objext "* | \
++  *" getcwd.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS getcwd.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for getdtablesize" >&5
++echo $ECHO_N "checking for getdtablesize... $ECHO_C" >&6
++if test "${ac_cv_func_getdtablesize+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define getdtablesize to an innocuous variant, in case <limits.h> declares getdtablesize.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define getdtablesize innocuous_getdtablesize
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char getdtablesize (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef getdtablesize
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char getdtablesize ();
++/* 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_getdtablesize) || defined (__stub___getdtablesize)
++choke me
++#else
++char (*f) () = getdtablesize;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != getdtablesize;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_getdtablesize=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_getdtablesize=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getdtablesize" >&5
++echo "${ECHO_T}$ac_cv_func_getdtablesize" >&6
++if test $ac_cv_func_getdtablesize = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_GETDTABLESIZE 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "getdtablesize.$ac_objext"   | \
++  *" getdtablesize.$ac_objext"   | \
++    "getdtablesize.$ac_objext "* | \
++  *" getdtablesize.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS getdtablesize.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for getegid" >&5
++echo $ECHO_N "checking for getegid... $ECHO_C" >&6
++if test "${ac_cv_func_getegid+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define getegid to an innocuous variant, in case <limits.h> declares getegid.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define getegid innocuous_getegid
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char getegid (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef getegid
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char getegid ();
++/* 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_getegid) || defined (__stub___getegid)
++choke me
++#else
++char (*f) () = getegid;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != getegid;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_getegid=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_getegid=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getegid" >&5
++echo "${ECHO_T}$ac_cv_func_getegid" >&6
++if test $ac_cv_func_getegid = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_GETEGID 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "getegid.$ac_objext"   | \
++  *" getegid.$ac_objext"   | \
++    "getegid.$ac_objext "* | \
++  *" getegid.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS getegid.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for geteuid" >&5
++echo $ECHO_N "checking for geteuid... $ECHO_C" >&6
++if test "${ac_cv_func_geteuid+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define geteuid to an innocuous variant, in case <limits.h> declares geteuid.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define geteuid innocuous_geteuid
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char geteuid (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef geteuid
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char geteuid ();
++/* 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_geteuid) || defined (__stub___geteuid)
++choke me
++#else
++char (*f) () = geteuid;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != geteuid;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_geteuid=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_geteuid=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_geteuid" >&5
++echo "${ECHO_T}$ac_cv_func_geteuid" >&6
++if test $ac_cv_func_geteuid = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_GETEUID 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "geteuid.$ac_objext"   | \
++  *" geteuid.$ac_objext"   | \
++    "geteuid.$ac_objext "* | \
++  *" geteuid.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS geteuid.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for getgid" >&5
++echo $ECHO_N "checking for getgid... $ECHO_C" >&6
++if test "${ac_cv_func_getgid+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define getgid to an innocuous variant, in case <limits.h> declares getgid.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define getgid innocuous_getgid
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char getgid (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef getgid
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char getgid ();
++/* 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_getgid) || defined (__stub___getgid)
++choke me
++#else
++char (*f) () = getgid;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != getgid;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_getgid=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_getgid=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getgid" >&5
++echo "${ECHO_T}$ac_cv_func_getgid" >&6
++if test $ac_cv_func_getgid = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_GETGID 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "getgid.$ac_objext"   | \
++  *" getgid.$ac_objext"   | \
++    "getgid.$ac_objext "* | \
++  *" getgid.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS getgid.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for gethostname" >&5
++echo $ECHO_N "checking for gethostname... $ECHO_C" >&6
++if test "${ac_cv_func_gethostname+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define gethostname to an innocuous variant, in case <limits.h> declares gethostname.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define gethostname innocuous_gethostname
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char gethostname (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef gethostname
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char gethostname ();
++/* 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_gethostname) || defined (__stub___gethostname)
++choke me
++#else
++char (*f) () = gethostname;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != gethostname;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_gethostname=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_gethostname=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_gethostname" >&5
++echo "${ECHO_T}$ac_cv_func_gethostname" >&6
++if test $ac_cv_func_gethostname = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_GETHOSTNAME 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "gethostname.$ac_objext"   | \
++  *" gethostname.$ac_objext"   | \
++    "gethostname.$ac_objext "* | \
++  *" gethostname.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS gethostname.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for getifaddrs" >&5
++echo $ECHO_N "checking for getifaddrs... $ECHO_C" >&6
++if test "${ac_cv_func_getifaddrs+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define getifaddrs to an innocuous variant, in case <limits.h> declares getifaddrs.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define getifaddrs innocuous_getifaddrs
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char getifaddrs (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef getifaddrs
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char getifaddrs ();
++/* 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_getifaddrs) || defined (__stub___getifaddrs)
++choke me
++#else
++char (*f) () = getifaddrs;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != getifaddrs;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_getifaddrs=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_getifaddrs=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getifaddrs" >&5
++echo "${ECHO_T}$ac_cv_func_getifaddrs" >&6
++if test $ac_cv_func_getifaddrs = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_GETIFADDRS 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "getifaddrs.$ac_objext"   | \
++  *" getifaddrs.$ac_objext"   | \
++    "getifaddrs.$ac_objext "* | \
++  *" getifaddrs.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS getifaddrs.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for getipnodebyaddr" >&5
++echo $ECHO_N "checking for getipnodebyaddr... $ECHO_C" >&6
++if test "${ac_cv_func_getipnodebyaddr+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define getipnodebyaddr to an innocuous variant, in case <limits.h> declares getipnodebyaddr.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define getipnodebyaddr innocuous_getipnodebyaddr
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char getipnodebyaddr (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef getipnodebyaddr
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char getipnodebyaddr ();
++/* 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_getipnodebyaddr) || defined (__stub___getipnodebyaddr)
++choke me
++#else
++char (*f) () = getipnodebyaddr;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != getipnodebyaddr;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_getipnodebyaddr=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_getipnodebyaddr=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getipnodebyaddr" >&5
++echo "${ECHO_T}$ac_cv_func_getipnodebyaddr" >&6
++if test $ac_cv_func_getipnodebyaddr = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_GETIPNODEBYADDR 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "getipnodebyaddr.$ac_objext"   | \
++  *" getipnodebyaddr.$ac_objext"   | \
++    "getipnodebyaddr.$ac_objext "* | \
++  *" getipnodebyaddr.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS getipnodebyaddr.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for getipnodebyname" >&5
++echo $ECHO_N "checking for getipnodebyname... $ECHO_C" >&6
++if test "${ac_cv_func_getipnodebyname+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define getipnodebyname to an innocuous variant, in case <limits.h> declares getipnodebyname.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define getipnodebyname innocuous_getipnodebyname
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char getipnodebyname (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef getipnodebyname
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char getipnodebyname ();
++/* 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_getipnodebyname) || defined (__stub___getipnodebyname)
++choke me
++#else
++char (*f) () = getipnodebyname;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != getipnodebyname;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_getipnodebyname=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_getipnodebyname=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getipnodebyname" >&5
++echo "${ECHO_T}$ac_cv_func_getipnodebyname" >&6
++if test $ac_cv_func_getipnodebyname = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_GETIPNODEBYNAME 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "getipnodebyname.$ac_objext"   | \
++  *" getipnodebyname.$ac_objext"   | \
++    "getipnodebyname.$ac_objext "* | \
++  *" getipnodebyname.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS getipnodebyname.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for getopt" >&5
++echo $ECHO_N "checking for getopt... $ECHO_C" >&6
++if test "${ac_cv_func_getopt+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define getopt to an innocuous variant, in case <limits.h> declares getopt.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define getopt innocuous_getopt
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char getopt (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef getopt
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char getopt ();
++/* 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_getopt) || defined (__stub___getopt)
++choke me
++#else
++char (*f) () = getopt;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != getopt;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_getopt=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_getopt=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getopt" >&5
++echo "${ECHO_T}$ac_cv_func_getopt" >&6
++if test $ac_cv_func_getopt = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_GETOPT 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "getopt.$ac_objext"   | \
++  *" getopt.$ac_objext"   | \
++    "getopt.$ac_objext "* | \
++  *" getopt.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS getopt.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for gettimeofday" >&5
++echo $ECHO_N "checking for gettimeofday... $ECHO_C" >&6
++if test "${ac_cv_func_gettimeofday+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define gettimeofday to an innocuous variant, in case <limits.h> declares gettimeofday.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define gettimeofday innocuous_gettimeofday
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char gettimeofday (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef gettimeofday
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char gettimeofday ();
++/* 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
++char (*f) () = gettimeofday;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != gettimeofday;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_gettimeofday=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_gettimeofday=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_gettimeofday" >&5
++echo "${ECHO_T}$ac_cv_func_gettimeofday" >&6
++if test $ac_cv_func_gettimeofday = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_GETTIMEOFDAY 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "gettimeofday.$ac_objext"   | \
++  *" gettimeofday.$ac_objext"   | \
++    "gettimeofday.$ac_objext "* | \
++  *" gettimeofday.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS gettimeofday.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for getuid" >&5
++echo $ECHO_N "checking for getuid... $ECHO_C" >&6
++if test "${ac_cv_func_getuid+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define getuid to an innocuous variant, in case <limits.h> declares getuid.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define getuid innocuous_getuid
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char getuid (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef getuid
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char getuid ();
++/* 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_getuid) || defined (__stub___getuid)
++choke me
++#else
++char (*f) () = getuid;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != getuid;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_getuid=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_getuid=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getuid" >&5
++echo "${ECHO_T}$ac_cv_func_getuid" >&6
++if test $ac_cv_func_getuid = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_GETUID 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "getuid.$ac_objext"   | \
++  *" getuid.$ac_objext"   | \
++    "getuid.$ac_objext "* | \
++  *" getuid.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS getuid.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for getusershell" >&5
++echo $ECHO_N "checking for getusershell... $ECHO_C" >&6
++if test "${ac_cv_func_getusershell+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define getusershell to an innocuous variant, in case <limits.h> declares getusershell.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define getusershell innocuous_getusershell
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char getusershell (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef getusershell
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char getusershell ();
++/* 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_getusershell) || defined (__stub___getusershell)
++choke me
++#else
++char (*f) () = getusershell;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != getusershell;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_getusershell=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_getusershell=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getusershell" >&5
++echo "${ECHO_T}$ac_cv_func_getusershell" >&6
++if test $ac_cv_func_getusershell = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_GETUSERSHELL 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "getusershell.$ac_objext"   | \
++  *" getusershell.$ac_objext"   | \
++    "getusershell.$ac_objext "* | \
++  *" getusershell.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS getusershell.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for initgroups" >&5
++echo $ECHO_N "checking for initgroups... $ECHO_C" >&6
++if test "${ac_cv_func_initgroups+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define initgroups to an innocuous variant, in case <limits.h> declares initgroups.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define initgroups innocuous_initgroups
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char initgroups (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef initgroups
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char initgroups ();
++/* 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_initgroups) || defined (__stub___initgroups)
++choke me
++#else
++char (*f) () = initgroups;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != initgroups;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_initgroups=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_initgroups=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_initgroups" >&5
++echo "${ECHO_T}$ac_cv_func_initgroups" >&6
++if test $ac_cv_func_initgroups = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_INITGROUPS 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "initgroups.$ac_objext"   | \
++  *" initgroups.$ac_objext"   | \
++    "initgroups.$ac_objext "* | \
++  *" initgroups.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS initgroups.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for innetgr" >&5
++echo $ECHO_N "checking for innetgr... $ECHO_C" >&6
++if test "${ac_cv_func_innetgr+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define innetgr to an innocuous variant, in case <limits.h> declares innetgr.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define innetgr innocuous_innetgr
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char innetgr (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef innetgr
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char innetgr ();
++/* 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_innetgr) || defined (__stub___innetgr)
++choke me
++#else
++char (*f) () = innetgr;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != innetgr;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_innetgr=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_innetgr=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_innetgr" >&5
++echo "${ECHO_T}$ac_cv_func_innetgr" >&6
++if test $ac_cv_func_innetgr = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_INNETGR 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "innetgr.$ac_objext"   | \
++  *" innetgr.$ac_objext"   | \
++    "innetgr.$ac_objext "* | \
++  *" innetgr.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS innetgr.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for iruserok" >&5
++echo $ECHO_N "checking for iruserok... $ECHO_C" >&6
++if test "${ac_cv_func_iruserok+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define iruserok to an innocuous variant, in case <limits.h> declares iruserok.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define iruserok innocuous_iruserok
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char iruserok (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef iruserok
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char iruserok ();
++/* 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_iruserok) || defined (__stub___iruserok)
++choke me
++#else
++char (*f) () = iruserok;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != iruserok;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_iruserok=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_iruserok=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_iruserok" >&5
++echo "${ECHO_T}$ac_cv_func_iruserok" >&6
++if test $ac_cv_func_iruserok = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_IRUSEROK 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "iruserok.$ac_objext"   | \
++  *" iruserok.$ac_objext"   | \
++    "iruserok.$ac_objext "* | \
++  *" iruserok.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS iruserok.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for localtime_r" >&5
++echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
++if test "${ac_cv_func_localtime_r+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define localtime_r innocuous_localtime_r
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char localtime_r (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef localtime_r
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char localtime_r ();
++/* 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_localtime_r) || defined (__stub___localtime_r)
++choke me
++#else
++char (*f) () = localtime_r;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != localtime_r;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_localtime_r=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_localtime_r=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
++echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
++if test $ac_cv_func_localtime_r = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_LOCALTIME_R 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "localtime_r.$ac_objext"   | \
++  *" localtime_r.$ac_objext"   | \
++    "localtime_r.$ac_objext "* | \
++  *" localtime_r.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS localtime_r.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for lstat" >&5
++echo $ECHO_N "checking for lstat... $ECHO_C" >&6
++if test "${ac_cv_func_lstat+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define lstat to an innocuous variant, in case <limits.h> declares lstat.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define lstat innocuous_lstat
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char lstat (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef lstat
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char lstat ();
++/* 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_lstat) || defined (__stub___lstat)
++choke me
++#else
++char (*f) () = lstat;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != lstat;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_lstat=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_lstat=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_lstat" >&5
++echo "${ECHO_T}$ac_cv_func_lstat" >&6
++if test $ac_cv_func_lstat = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_LSTAT 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "lstat.$ac_objext"   | \
++  *" lstat.$ac_objext"   | \
++    "lstat.$ac_objext "* | \
++  *" lstat.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS lstat.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for memmove" >&5
++echo $ECHO_N "checking for memmove... $ECHO_C" >&6
++if test "${ac_cv_func_memmove+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define memmove to an innocuous variant, in case <limits.h> declares memmove.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define memmove innocuous_memmove
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char memmove (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef memmove
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char memmove ();
++/* 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_memmove) || defined (__stub___memmove)
++choke me
++#else
++char (*f) () = memmove;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != memmove;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_memmove=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_memmove=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_memmove" >&5
++echo "${ECHO_T}$ac_cv_func_memmove" >&6
++if test $ac_cv_func_memmove = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_MEMMOVE 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "memmove.$ac_objext"   | \
++  *" memmove.$ac_objext"   | \
++    "memmove.$ac_objext "* | \
++  *" memmove.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS memmove.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for mkstemp" >&5
++echo $ECHO_N "checking for mkstemp... $ECHO_C" >&6
++if test "${ac_cv_func_mkstemp+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define mkstemp to an innocuous variant, in case <limits.h> declares mkstemp.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define mkstemp innocuous_mkstemp
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char mkstemp (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef mkstemp
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char mkstemp ();
++/* 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_mkstemp) || defined (__stub___mkstemp)
++choke me
++#else
++char (*f) () = mkstemp;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != mkstemp;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_mkstemp=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_mkstemp=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_mkstemp" >&5
++echo "${ECHO_T}$ac_cv_func_mkstemp" >&6
++if test $ac_cv_func_mkstemp = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_MKSTEMP 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "mkstemp.$ac_objext"   | \
++  *" mkstemp.$ac_objext"   | \
++    "mkstemp.$ac_objext "* | \
++  *" mkstemp.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS mkstemp.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for putenv" >&5
++echo $ECHO_N "checking for putenv... $ECHO_C" >&6
++if test "${ac_cv_func_putenv+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define putenv to an innocuous variant, in case <limits.h> declares putenv.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define putenv innocuous_putenv
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char putenv (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef putenv
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char putenv ();
++/* 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_putenv) || defined (__stub___putenv)
++choke me
++#else
++char (*f) () = putenv;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != putenv;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_putenv=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_putenv=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_putenv" >&5
++echo "${ECHO_T}$ac_cv_func_putenv" >&6
++if test $ac_cv_func_putenv = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_PUTENV 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "putenv.$ac_objext"   | \
++  *" putenv.$ac_objext"   | \
++    "putenv.$ac_objext "* | \
++  *" putenv.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS putenv.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for rcmd" >&5
++echo $ECHO_N "checking for rcmd... $ECHO_C" >&6
++if test "${ac_cv_func_rcmd+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define rcmd to an innocuous variant, in case <limits.h> declares rcmd.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define rcmd innocuous_rcmd
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char rcmd (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef rcmd
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char rcmd ();
++/* 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_rcmd) || defined (__stub___rcmd)
++choke me
++#else
++char (*f) () = rcmd;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != rcmd;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_rcmd=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_rcmd=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_rcmd" >&5
++echo "${ECHO_T}$ac_cv_func_rcmd" >&6
++if test $ac_cv_func_rcmd = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_RCMD 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "rcmd.$ac_objext"   | \
++  *" rcmd.$ac_objext"   | \
++    "rcmd.$ac_objext "* | \
++  *" rcmd.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS rcmd.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for readv" >&5
++echo $ECHO_N "checking for readv... $ECHO_C" >&6
++if test "${ac_cv_func_readv+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define readv to an innocuous variant, in case <limits.h> declares readv.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define readv innocuous_readv
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char readv (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef readv
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char readv ();
++/* 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_readv) || defined (__stub___readv)
++choke me
++#else
++char (*f) () = readv;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != readv;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_readv=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_readv=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_readv" >&5
++echo "${ECHO_T}$ac_cv_func_readv" >&6
++if test $ac_cv_func_readv = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_READV 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "readv.$ac_objext"   | \
++  *" readv.$ac_objext"   | \
++    "readv.$ac_objext "* | \
++  *" readv.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS readv.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for recvmsg" >&5
++echo $ECHO_N "checking for recvmsg... $ECHO_C" >&6
++if test "${ac_cv_func_recvmsg+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define recvmsg to an innocuous variant, in case <limits.h> declares recvmsg.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define recvmsg innocuous_recvmsg
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char recvmsg (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef recvmsg
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char recvmsg ();
++/* 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_recvmsg) || defined (__stub___recvmsg)
++choke me
++#else
++char (*f) () = recvmsg;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != recvmsg;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_recvmsg=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_recvmsg=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_recvmsg" >&5
++echo "${ECHO_T}$ac_cv_func_recvmsg" >&6
++if test $ac_cv_func_recvmsg = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_RECVMSG 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "recvmsg.$ac_objext"   | \
++  *" recvmsg.$ac_objext"   | \
++    "recvmsg.$ac_objext "* | \
++  *" recvmsg.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS recvmsg.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for sendmsg" >&5
++echo $ECHO_N "checking for sendmsg... $ECHO_C" >&6
++if test "${ac_cv_func_sendmsg+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define sendmsg to an innocuous variant, in case <limits.h> declares sendmsg.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define sendmsg innocuous_sendmsg
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char sendmsg (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef sendmsg
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char sendmsg ();
++/* 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_sendmsg) || defined (__stub___sendmsg)
++choke me
++#else
++char (*f) () = sendmsg;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != sendmsg;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_sendmsg=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_sendmsg=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_sendmsg" >&5
++echo "${ECHO_T}$ac_cv_func_sendmsg" >&6
++if test $ac_cv_func_sendmsg = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_SENDMSG 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "sendmsg.$ac_objext"   | \
++  *" sendmsg.$ac_objext"   | \
++    "sendmsg.$ac_objext "* | \
++  *" sendmsg.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS sendmsg.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for setegid" >&5
++echo $ECHO_N "checking for setegid... $ECHO_C" >&6
++if test "${ac_cv_func_setegid+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define setegid to an innocuous variant, in case <limits.h> declares setegid.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define setegid innocuous_setegid
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char setegid (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef setegid
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char setegid ();
++/* 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_setegid) || defined (__stub___setegid)
++choke me
++#else
++char (*f) () = setegid;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != setegid;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_setegid=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_setegid=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_setegid" >&5
++echo "${ECHO_T}$ac_cv_func_setegid" >&6
++if test $ac_cv_func_setegid = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_SETEGID 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "setegid.$ac_objext"   | \
++  *" setegid.$ac_objext"   | \
++    "setegid.$ac_objext "* | \
++  *" setegid.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS setegid.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for setenv" >&5
++echo $ECHO_N "checking for setenv... $ECHO_C" >&6
++if test "${ac_cv_func_setenv+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define setenv to an innocuous variant, in case <limits.h> declares setenv.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define setenv innocuous_setenv
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char setenv (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef setenv
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char setenv ();
++/* 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
++char (*f) () = setenv;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != setenv;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_setenv=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_setenv=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_setenv" >&5
++echo "${ECHO_T}$ac_cv_func_setenv" >&6
++if test $ac_cv_func_setenv = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_SETENV 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "setenv.$ac_objext"   | \
++  *" setenv.$ac_objext"   | \
++    "setenv.$ac_objext "* | \
++  *" setenv.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS setenv.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for seteuid" >&5
++echo $ECHO_N "checking for seteuid... $ECHO_C" >&6
++if test "${ac_cv_func_seteuid+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define seteuid to an innocuous variant, in case <limits.h> declares seteuid.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define seteuid innocuous_seteuid
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char seteuid (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef seteuid
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char seteuid ();
++/* 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_seteuid) || defined (__stub___seteuid)
++choke me
++#else
++char (*f) () = seteuid;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != seteuid;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_seteuid=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_seteuid=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_seteuid" >&5
++echo "${ECHO_T}$ac_cv_func_seteuid" >&6
++if test $ac_cv_func_seteuid = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_SETEUID 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "seteuid.$ac_objext"   | \
++  *" seteuid.$ac_objext"   | \
++    "seteuid.$ac_objext "* | \
++  *" seteuid.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS seteuid.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for strcasecmp" >&5
++echo $ECHO_N "checking for strcasecmp... $ECHO_C" >&6
++if test "${ac_cv_func_strcasecmp+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define strcasecmp to an innocuous variant, in case <limits.h> declares strcasecmp.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define strcasecmp innocuous_strcasecmp
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char strcasecmp (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef strcasecmp
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char strcasecmp ();
++/* 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_strcasecmp) || defined (__stub___strcasecmp)
++choke me
++#else
++char (*f) () = strcasecmp;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != strcasecmp;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_strcasecmp=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_strcasecmp=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strcasecmp" >&5
++echo "${ECHO_T}$ac_cv_func_strcasecmp" >&6
++if test $ac_cv_func_strcasecmp = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRCASECMP 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "strcasecmp.$ac_objext"   | \
++  *" strcasecmp.$ac_objext"   | \
++    "strcasecmp.$ac_objext "* | \
++  *" strcasecmp.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS strcasecmp.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for strdup" >&5
++echo $ECHO_N "checking for strdup... $ECHO_C" >&6
++if test "${ac_cv_func_strdup+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define strdup to an innocuous variant, in case <limits.h> declares strdup.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define strdup innocuous_strdup
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char strdup (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef strdup
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char strdup ();
++/* 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_strdup) || defined (__stub___strdup)
++choke me
++#else
++char (*f) () = strdup;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != strdup;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_strdup=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_strdup=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strdup" >&5
++echo "${ECHO_T}$ac_cv_func_strdup" >&6
++if test $ac_cv_func_strdup = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRDUP 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "strdup.$ac_objext"   | \
++  *" strdup.$ac_objext"   | \
++    "strdup.$ac_objext "* | \
++  *" strdup.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS strdup.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for strerror" >&5
++echo $ECHO_N "checking for strerror... $ECHO_C" >&6
++if test "${ac_cv_func_strerror+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define strerror to an innocuous variant, in case <limits.h> declares strerror.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define strerror innocuous_strerror
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char strerror (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef strerror
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char strerror ();
++/* 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
++char (*f) () = strerror;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != strerror;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_strerror=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_strerror=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strerror" >&5
++echo "${ECHO_T}$ac_cv_func_strerror" >&6
++if test $ac_cv_func_strerror = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRERROR 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "strerror.$ac_objext"   | \
++  *" strerror.$ac_objext"   | \
++    "strerror.$ac_objext "* | \
++  *" strerror.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS strerror.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for strftime" >&5
++echo $ECHO_N "checking for strftime... $ECHO_C" >&6
++if test "${ac_cv_func_strftime+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define strftime to an innocuous variant, in case <limits.h> declares strftime.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define strftime innocuous_strftime
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char strftime (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef strftime
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char strftime ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_strftime) || defined (__stub___strftime)
++choke me
++#else
++char (*f) () = strftime;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != strftime;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_strftime=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_strftime=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strftime" >&5
++echo "${ECHO_T}$ac_cv_func_strftime" >&6
++if test $ac_cv_func_strftime = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRFTIME 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "strftime.$ac_objext"   | \
++  *" strftime.$ac_objext"   | \
++    "strftime.$ac_objext "* | \
++  *" strftime.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS strftime.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for strlcat" >&5
++echo $ECHO_N "checking for strlcat... $ECHO_C" >&6
++if test "${ac_cv_func_strlcat+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define strlcat to an innocuous variant, in case <limits.h> declares strlcat.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define strlcat innocuous_strlcat
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char strlcat (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef strlcat
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char strlcat ();
++/* 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_strlcat) || defined (__stub___strlcat)
++choke me
++#else
++char (*f) () = strlcat;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != strlcat;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_strlcat=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_strlcat=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strlcat" >&5
++echo "${ECHO_T}$ac_cv_func_strlcat" >&6
++if test $ac_cv_func_strlcat = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRLCAT 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "strlcat.$ac_objext"   | \
++  *" strlcat.$ac_objext"   | \
++    "strlcat.$ac_objext "* | \
++  *" strlcat.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS strlcat.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for strlcpy" >&5
++echo $ECHO_N "checking for strlcpy... $ECHO_C" >&6
++if test "${ac_cv_func_strlcpy+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define strlcpy to an innocuous variant, in case <limits.h> declares strlcpy.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define strlcpy innocuous_strlcpy
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char strlcpy (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef strlcpy
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char strlcpy ();
++/* 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_strlcpy) || defined (__stub___strlcpy)
++choke me
++#else
++char (*f) () = strlcpy;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != strlcpy;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_strlcpy=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_strlcpy=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strlcpy" >&5
++echo "${ECHO_T}$ac_cv_func_strlcpy" >&6
++if test $ac_cv_func_strlcpy = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRLCPY 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "strlcpy.$ac_objext"   | \
++  *" strlcpy.$ac_objext"   | \
++    "strlcpy.$ac_objext "* | \
++  *" strlcpy.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS strlcpy.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for strlwr" >&5
++echo $ECHO_N "checking for strlwr... $ECHO_C" >&6
++if test "${ac_cv_func_strlwr+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define strlwr to an innocuous variant, in case <limits.h> declares strlwr.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define strlwr innocuous_strlwr
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char strlwr (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef strlwr
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char strlwr ();
++/* 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_strlwr) || defined (__stub___strlwr)
++choke me
++#else
++char (*f) () = strlwr;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != strlwr;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_strlwr=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_strlwr=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strlwr" >&5
++echo "${ECHO_T}$ac_cv_func_strlwr" >&6
++if test $ac_cv_func_strlwr = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRLWR 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "strlwr.$ac_objext"   | \
++  *" strlwr.$ac_objext"   | \
++    "strlwr.$ac_objext "* | \
++  *" strlwr.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS strlwr.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for strncasecmp" >&5
++echo $ECHO_N "checking for strncasecmp... $ECHO_C" >&6
++if test "${ac_cv_func_strncasecmp+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define strncasecmp to an innocuous variant, in case <limits.h> declares strncasecmp.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define strncasecmp innocuous_strncasecmp
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char strncasecmp (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef strncasecmp
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char strncasecmp ();
++/* 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_strncasecmp) || defined (__stub___strncasecmp)
++choke me
++#else
++char (*f) () = strncasecmp;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != strncasecmp;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_strncasecmp=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_strncasecmp=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strncasecmp" >&5
++echo "${ECHO_T}$ac_cv_func_strncasecmp" >&6
++if test $ac_cv_func_strncasecmp = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRNCASECMP 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "strncasecmp.$ac_objext"   | \
++  *" strncasecmp.$ac_objext"   | \
++    "strncasecmp.$ac_objext "* | \
++  *" strncasecmp.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS strncasecmp.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for strndup" >&5
++echo $ECHO_N "checking for strndup... $ECHO_C" >&6
++if test "${ac_cv_func_strndup+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define strndup to an innocuous variant, in case <limits.h> declares strndup.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define strndup innocuous_strndup
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char strndup (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef strndup
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char strndup ();
++/* 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_strndup) || defined (__stub___strndup)
++choke me
++#else
++char (*f) () = strndup;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != strndup;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_strndup=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_strndup=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strndup" >&5
++echo "${ECHO_T}$ac_cv_func_strndup" >&6
++if test $ac_cv_func_strndup = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRNDUP 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "strndup.$ac_objext"   | \
++  *" strndup.$ac_objext"   | \
++    "strndup.$ac_objext "* | \
++  *" strndup.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS strndup.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for strnlen" >&5
++echo $ECHO_N "checking for strnlen... $ECHO_C" >&6
++if test "${ac_cv_func_strnlen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define strnlen to an innocuous variant, in case <limits.h> declares strnlen.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define strnlen innocuous_strnlen
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char strnlen (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef strnlen
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char strnlen ();
++/* 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_strnlen) || defined (__stub___strnlen)
++choke me
++#else
++char (*f) () = strnlen;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != strnlen;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_strnlen=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_strnlen=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strnlen" >&5
++echo "${ECHO_T}$ac_cv_func_strnlen" >&6
++if test $ac_cv_func_strnlen = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRNLEN 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "strnlen.$ac_objext"   | \
++  *" strnlen.$ac_objext"   | \
++    "strnlen.$ac_objext "* | \
++  *" strnlen.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS strnlen.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for strptime" >&5
++echo $ECHO_N "checking for strptime... $ECHO_C" >&6
++if test "${ac_cv_func_strptime+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define strptime innocuous_strptime
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char strptime (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef strptime
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char strptime ();
++/* 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_strptime) || defined (__stub___strptime)
++choke me
++#else
++char (*f) () = strptime;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != strptime;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_strptime=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_strptime=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
++echo "${ECHO_T}$ac_cv_func_strptime" >&6
++if test $ac_cv_func_strptime = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRPTIME 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "strptime.$ac_objext"   | \
++  *" strptime.$ac_objext"   | \
++    "strptime.$ac_objext "* | \
++  *" strptime.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS strptime.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for strsep" >&5
++echo $ECHO_N "checking for strsep... $ECHO_C" >&6
++if test "${ac_cv_func_strsep+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define strsep to an innocuous variant, in case <limits.h> declares strsep.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define strsep innocuous_strsep
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char strsep (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef strsep
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char strsep ();
++/* 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_strsep) || defined (__stub___strsep)
++choke me
++#else
++char (*f) () = strsep;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != strsep;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_strsep=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_strsep=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strsep" >&5
++echo "${ECHO_T}$ac_cv_func_strsep" >&6
++if test $ac_cv_func_strsep = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRSEP 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "strsep.$ac_objext"   | \
++  *" strsep.$ac_objext"   | \
++    "strsep.$ac_objext "* | \
++  *" strsep.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS strsep.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for strsep_copy" >&5
++echo $ECHO_N "checking for strsep_copy... $ECHO_C" >&6
++if test "${ac_cv_func_strsep_copy+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define strsep_copy to an innocuous variant, in case <limits.h> declares strsep_copy.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define strsep_copy innocuous_strsep_copy
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char strsep_copy (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef strsep_copy
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char strsep_copy ();
++/* 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_strsep_copy) || defined (__stub___strsep_copy)
++choke me
++#else
++char (*f) () = strsep_copy;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != strsep_copy;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_strsep_copy=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_strsep_copy=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strsep_copy" >&5
++echo "${ECHO_T}$ac_cv_func_strsep_copy" >&6
++if test $ac_cv_func_strsep_copy = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRSEP_COPY 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "strsep_copy.$ac_objext"   | \
++  *" strsep_copy.$ac_objext"   | \
++    "strsep_copy.$ac_objext "* | \
++  *" strsep_copy.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS strsep_copy.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for strtok_r" >&5
++echo $ECHO_N "checking for strtok_r... $ECHO_C" >&6
++if test "${ac_cv_func_strtok_r+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define strtok_r to an innocuous variant, in case <limits.h> declares strtok_r.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define strtok_r innocuous_strtok_r
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char strtok_r (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef strtok_r
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char strtok_r ();
++/* 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_strtok_r) || defined (__stub___strtok_r)
++choke me
++#else
++char (*f) () = strtok_r;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != strtok_r;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_strtok_r=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_strtok_r=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strtok_r" >&5
++echo "${ECHO_T}$ac_cv_func_strtok_r" >&6
++if test $ac_cv_func_strtok_r = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRTOK_R 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "strtok_r.$ac_objext"   | \
++  *" strtok_r.$ac_objext"   | \
++    "strtok_r.$ac_objext "* | \
++  *" strtok_r.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS strtok_r.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for strupr" >&5
++echo $ECHO_N "checking for strupr... $ECHO_C" >&6
++if test "${ac_cv_func_strupr+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define strupr to an innocuous variant, in case <limits.h> declares strupr.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define strupr innocuous_strupr
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char strupr (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef strupr
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char strupr ();
++/* 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_strupr) || defined (__stub___strupr)
++choke me
++#else
++char (*f) () = strupr;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != strupr;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_strupr=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_strupr=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strupr" >&5
++echo "${ECHO_T}$ac_cv_func_strupr" >&6
++if test $ac_cv_func_strupr = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRUPR 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "strupr.$ac_objext"   | \
++  *" strupr.$ac_objext"   | \
++    "strupr.$ac_objext "* | \
++  *" strupr.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS strupr.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for swab" >&5
++echo $ECHO_N "checking for swab... $ECHO_C" >&6
++if test "${ac_cv_func_swab+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define swab to an innocuous variant, in case <limits.h> declares swab.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define swab innocuous_swab
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char swab (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef swab
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char swab ();
++/* 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_swab) || defined (__stub___swab)
++choke me
++#else
++char (*f) () = swab;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != swab;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_swab=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_swab=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_swab" >&5
++echo "${ECHO_T}$ac_cv_func_swab" >&6
++if test $ac_cv_func_swab = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_SWAB 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "swab.$ac_objext"   | \
++  *" swab.$ac_objext"   | \
++    "swab.$ac_objext "* | \
++  *" swab.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS swab.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for unsetenv" >&5
++echo $ECHO_N "checking for unsetenv... $ECHO_C" >&6
++if test "${ac_cv_func_unsetenv+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define unsetenv to an innocuous variant, in case <limits.h> declares unsetenv.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define unsetenv innocuous_unsetenv
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char unsetenv (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef unsetenv
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char unsetenv ();
++/* 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_unsetenv) || defined (__stub___unsetenv)
++choke me
++#else
++char (*f) () = unsetenv;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != unsetenv;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_unsetenv=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_unsetenv=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_unsetenv" >&5
++echo "${ECHO_T}$ac_cv_func_unsetenv" >&6
++if test $ac_cv_func_unsetenv = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_UNSETENV 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "unsetenv.$ac_objext"   | \
++  *" unsetenv.$ac_objext"   | \
++    "unsetenv.$ac_objext "* | \
++  *" unsetenv.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS unsetenv.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for verr" >&5
++echo $ECHO_N "checking for verr... $ECHO_C" >&6
++if test "${ac_cv_func_verr+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define verr to an innocuous variant, in case <limits.h> declares verr.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define verr innocuous_verr
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char verr (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef verr
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char verr ();
++/* 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_verr) || defined (__stub___verr)
++choke me
++#else
++char (*f) () = verr;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != verr;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_verr=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_verr=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_verr" >&5
++echo "${ECHO_T}$ac_cv_func_verr" >&6
++if test $ac_cv_func_verr = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_VERR 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "verr.$ac_objext"   | \
++  *" verr.$ac_objext"   | \
++    "verr.$ac_objext "* | \
++  *" verr.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS verr.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for verrx" >&5
++echo $ECHO_N "checking for verrx... $ECHO_C" >&6
++if test "${ac_cv_func_verrx+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define verrx to an innocuous variant, in case <limits.h> declares verrx.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define verrx innocuous_verrx
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char verrx (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef verrx
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char verrx ();
++/* 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_verrx) || defined (__stub___verrx)
++choke me
++#else
++char (*f) () = verrx;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != verrx;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_verrx=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_verrx=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_verrx" >&5
++echo "${ECHO_T}$ac_cv_func_verrx" >&6
++if test $ac_cv_func_verrx = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_VERRX 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "verrx.$ac_objext"   | \
++  *" verrx.$ac_objext"   | \
++    "verrx.$ac_objext "* | \
++  *" verrx.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS verrx.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for vsyslog" >&5
++echo $ECHO_N "checking for vsyslog... $ECHO_C" >&6
++if test "${ac_cv_func_vsyslog+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define vsyslog to an innocuous variant, in case <limits.h> declares vsyslog.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define vsyslog innocuous_vsyslog
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char vsyslog (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef vsyslog
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char vsyslog ();
++/* 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_vsyslog) || defined (__stub___vsyslog)
++choke me
++#else
++char (*f) () = vsyslog;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != vsyslog;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_vsyslog=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_vsyslog=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_vsyslog" >&5
++echo "${ECHO_T}$ac_cv_func_vsyslog" >&6
++if test $ac_cv_func_vsyslog = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_VSYSLOG 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "vsyslog.$ac_objext"   | \
++  *" vsyslog.$ac_objext"   | \
++    "vsyslog.$ac_objext "* | \
++  *" vsyslog.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS vsyslog.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for vwarn" >&5
++echo $ECHO_N "checking for vwarn... $ECHO_C" >&6
++if test "${ac_cv_func_vwarn+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define vwarn to an innocuous variant, in case <limits.h> declares vwarn.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define vwarn innocuous_vwarn
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char vwarn (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef vwarn
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char vwarn ();
++/* 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_vwarn) || defined (__stub___vwarn)
++choke me
++#else
++char (*f) () = vwarn;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != vwarn;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_vwarn=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_vwarn=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_vwarn" >&5
++echo "${ECHO_T}$ac_cv_func_vwarn" >&6
++if test $ac_cv_func_vwarn = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_VWARN 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "vwarn.$ac_objext"   | \
++  *" vwarn.$ac_objext"   | \
++    "vwarn.$ac_objext "* | \
++  *" vwarn.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS vwarn.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for vwarnx" >&5
++echo $ECHO_N "checking for vwarnx... $ECHO_C" >&6
++if test "${ac_cv_func_vwarnx+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define vwarnx to an innocuous variant, in case <limits.h> declares vwarnx.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define vwarnx innocuous_vwarnx
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char vwarnx (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef vwarnx
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char vwarnx ();
++/* 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_vwarnx) || defined (__stub___vwarnx)
++choke me
++#else
++char (*f) () = vwarnx;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != vwarnx;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_vwarnx=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_vwarnx=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_vwarnx" >&5
++echo "${ECHO_T}$ac_cv_func_vwarnx" >&6
++if test $ac_cv_func_vwarnx = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_VWARNX 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "vwarnx.$ac_objext"   | \
++  *" vwarnx.$ac_objext"   | \
++    "vwarnx.$ac_objext "* | \
++  *" vwarnx.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS vwarnx.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for warn" >&5
++echo $ECHO_N "checking for warn... $ECHO_C" >&6
++if test "${ac_cv_func_warn+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define warn to an innocuous variant, in case <limits.h> declares warn.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define warn innocuous_warn
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char warn (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef warn
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char warn ();
++/* 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_warn) || defined (__stub___warn)
++choke me
++#else
++char (*f) () = warn;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != warn;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_warn=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_warn=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_warn" >&5
++echo "${ECHO_T}$ac_cv_func_warn" >&6
++if test $ac_cv_func_warn = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_WARN 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "warn.$ac_objext"   | \
++  *" warn.$ac_objext"   | \
++    "warn.$ac_objext "* | \
++  *" warn.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS warn.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for warnx" >&5
++echo $ECHO_N "checking for warnx... $ECHO_C" >&6
++if test "${ac_cv_func_warnx+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define warnx to an innocuous variant, in case <limits.h> declares warnx.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define warnx innocuous_warnx
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char warnx (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef warnx
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char warnx ();
++/* 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_warnx) || defined (__stub___warnx)
++choke me
++#else
++char (*f) () = warnx;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != warnx;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_warnx=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_warnx=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_warnx" >&5
++echo "${ECHO_T}$ac_cv_func_warnx" >&6
++if test $ac_cv_func_warnx = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_WARNX 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "warnx.$ac_objext"   | \
++  *" warnx.$ac_objext"   | \
++    "warnx.$ac_objext "* | \
++  *" warnx.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS warnx.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for writev" >&5
++echo $ECHO_N "checking for writev... $ECHO_C" >&6
++if test "${ac_cv_func_writev+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define writev to an innocuous variant, in case <limits.h> declares writev.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define writev innocuous_writev
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char writev (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef writev
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char writev ();
++/* 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_writev) || defined (__stub___writev)
++choke me
++#else
++char (*f) () = writev;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != writev;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_writev=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_writev=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_writev" >&5
++echo "${ECHO_T}$ac_cv_func_writev" >&6
++if test $ac_cv_func_writev = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_WRITEV 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "writev.$ac_objext"   | \
++  *" writev.$ac_objext"   | \
++    "writev.$ac_objext "* | \
++  *" writev.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS writev.$ac_objext" ;;
++esac
++
++fi
++
++
++
++if test "$ac_cv_func_strndup+set" != set -o "$ac_cv_func_strndup" = yes; then
++echo "$as_me:$LINENO: checking if strndup needs a prototype" >&5
++echo $ECHO_N "checking if strndup needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_strndup_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <string.h>
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int strndup (struct foo*);
++strndup(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_strndup_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_strndup_noproto=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strndup_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_strndup_noproto" >&6
++if test "$ac_cv_func_strndup_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_STRNDUP_PROTO 1
++_ACEOF
++
++fi
++fi
++
++if test "$ac_cv_func_strsep+set" != set -o "$ac_cv_func_strsep" = yes; then
++echo "$as_me:$LINENO: checking if strsep needs a prototype" >&5
++echo $ECHO_N "checking if strsep needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_strsep_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <string.h>
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int strsep (struct foo*);
++strsep(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_strsep_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_strsep_noproto=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strsep_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_strsep_noproto" >&6
++if test "$ac_cv_func_strsep_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_STRSEP_PROTO 1
++_ACEOF
++
++fi
++fi
++
++if test "$ac_cv_func_strtok_r+set" != set -o "$ac_cv_func_strtok_r" = yes; then
++echo "$as_me:$LINENO: checking if strtok_r needs a prototype" >&5
++echo $ECHO_N "checking if strtok_r needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_strtok_r_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <string.h>
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int strtok_r (struct foo*);
++strtok_r(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_strtok_r_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_strtok_r_noproto=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strtok_r_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_strtok_r_noproto" >&6
++if test "$ac_cv_func_strtok_r_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_STRTOK_R_PROTO 1
++_ACEOF
++
++fi
++fi
++
++
++
++if test "$ac_cv_func_strsvis+set" != set -o "$ac_cv_func_strsvis" = yes; then
++echo "$as_me:$LINENO: checking if strsvis needs a prototype" >&5
++echo $ECHO_N "checking if strsvis needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_strsvis_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_VIS_H
++#include <vis.h>
++#endif
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int strsvis (struct foo*);
++strsvis(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_strsvis_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_strsvis_noproto=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strsvis_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_strsvis_noproto" >&6
++if test "$ac_cv_func_strsvis_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_STRSVIS_PROTO 1
++_ACEOF
++
++fi
++fi
++
++if test "$ac_cv_func_strunvis+set" != set -o "$ac_cv_func_strunvis" = yes; then
++echo "$as_me:$LINENO: checking if strunvis needs a prototype" >&5
++echo $ECHO_N "checking if strunvis needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_strunvis_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_VIS_H
++#include <vis.h>
++#endif
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int strunvis (struct foo*);
++strunvis(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_strunvis_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_strunvis_noproto=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strunvis_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_strunvis_noproto" >&6
++if test "$ac_cv_func_strunvis_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_STRUNVIS_PROTO 1
++_ACEOF
++
++fi
++fi
++
++if test "$ac_cv_func_strvis+set" != set -o "$ac_cv_func_strvis" = yes; then
++echo "$as_me:$LINENO: checking if strvis needs a prototype" >&5
++echo $ECHO_N "checking if strvis needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_strvis_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_VIS_H
++#include <vis.h>
++#endif
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int strvis (struct foo*);
++strvis(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_strvis_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_strvis_noproto=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strvis_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_strvis_noproto" >&6
++if test "$ac_cv_func_strvis_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_STRVIS_PROTO 1
++_ACEOF
++
++fi
++fi
++
++if test "$ac_cv_func_strvisx+set" != set -o "$ac_cv_func_strvisx" = yes; then
++echo "$as_me:$LINENO: checking if strvisx needs a prototype" >&5
++echo $ECHO_N "checking if strvisx needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_strvisx_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_VIS_H
++#include <vis.h>
++#endif
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int strvisx (struct foo*);
++strvisx(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_strvisx_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_strvisx_noproto=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strvisx_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_strvisx_noproto" >&6
++if test "$ac_cv_func_strvisx_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_STRVISX_PROTO 1
++_ACEOF
++
++fi
++fi
++
++if test "$ac_cv_func_svis+set" != set -o "$ac_cv_func_svis" = yes; then
++echo "$as_me:$LINENO: checking if svis needs a prototype" >&5
++echo $ECHO_N "checking if svis needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_svis_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_VIS_H
++#include <vis.h>
++#endif
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int svis (struct foo*);
++svis(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_svis_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_svis_noproto=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_svis_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_svis_noproto" >&6
++if test "$ac_cv_func_svis_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_SVIS_PROTO 1
++_ACEOF
++
++fi
++fi
++
++if test "$ac_cv_func_unvis+set" != set -o "$ac_cv_func_unvis" = yes; then
++echo "$as_me:$LINENO: checking if unvis needs a prototype" >&5
++echo $ECHO_N "checking if unvis needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_unvis_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_VIS_H
++#include <vis.h>
++#endif
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int unvis (struct foo*);
++unvis(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_unvis_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_unvis_noproto=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_unvis_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_unvis_noproto" >&6
++if test "$ac_cv_func_unvis_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_UNVIS_PROTO 1
++_ACEOF
++
++fi
++fi
++
++if test "$ac_cv_func_vis+set" != set -o "$ac_cv_func_vis" = yes; then
++echo "$as_me:$LINENO: checking if vis needs a prototype" >&5
++echo $ECHO_N "checking if vis needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_vis_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_VIS_H
++#include <vis.h>
++#endif
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int vis (struct foo*);
++vis(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_vis_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_vis_noproto=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_vis_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_vis_noproto" >&6
++if test "$ac_cv_func_vis_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_VIS_PROTO 1
++_ACEOF
++
++fi
++fi
++
++
++echo "$as_me:$LINENO: checking for inet_aton" >&5
++echo $ECHO_N "checking for inet_aton... $ECHO_C" >&6
++if test "${ac_cv_func_inet_aton+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_INET_H
++#include <arpa/inet.h>
++#endif
++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_inet_aton) || defined (__stub___inet_aton)
++choke me
++#else
++inet_aton(0,0)
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_inet_aton=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_inet_aton=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++
++if eval "test \"\${ac_cv_func_inet_aton}\" = yes"; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_INET_ATON 1
++_ACEOF
++
++  echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++  case $LIB@&t@OBJS in
++    "inet_aton.$ac_objext"   | \
++  *" inet_aton.$ac_objext"   | \
++    "inet_aton.$ac_objext "* | \
++  *" inet_aton.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS inet_aton.$ac_objext" ;;
++esac
++
++fi
++
++echo "$as_me:$LINENO: checking for inet_ntop" >&5
++echo $ECHO_N "checking for inet_ntop... $ECHO_C" >&6
++if test "${ac_cv_func_inet_ntop+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_INET_H
++#include <arpa/inet.h>
++#endif
++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_inet_ntop) || defined (__stub___inet_ntop)
++choke me
++#else
++inet_ntop(0, 0, 0, 0)
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_inet_ntop=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_inet_ntop=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++
++if eval "test \"\${ac_cv_func_inet_ntop}\" = yes"; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_INET_NTOP 1
++_ACEOF
++
++  echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++  case $LIB@&t@OBJS in
++    "inet_ntop.$ac_objext"   | \
++  *" inet_ntop.$ac_objext"   | \
++    "inet_ntop.$ac_objext "* | \
++  *" inet_ntop.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS inet_ntop.$ac_objext" ;;
++esac
++
++fi
++
++echo "$as_me:$LINENO: checking for inet_pton" >&5
++echo $ECHO_N "checking for inet_pton... $ECHO_C" >&6
++if test "${ac_cv_func_inet_pton+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_INET_H
++#include <arpa/inet.h>
++#endif
++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_inet_pton) || defined (__stub___inet_pton)
++choke me
++#else
++inet_pton(0,0,0)
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_inet_pton=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_inet_pton=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++
++if eval "test \"\${ac_cv_func_inet_pton}\" = yes"; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_INET_PTON 1
++_ACEOF
++
++  echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++  case $LIB@&t@OBJS in
++    "inet_pton.$ac_objext"   | \
++  *" inet_pton.$ac_objext"   | \
++    "inet_pton.$ac_objext "* | \
++  *" inet_pton.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS inet_pton.$ac_objext" ;;
++esac
++
++fi
++
++
++
++echo "$as_me:$LINENO: checking for sa_len in struct sockaddr" >&5
++echo $ECHO_N "checking for sa_len in struct sockaddr... $ECHO_C" >&6
++if test "${ac_cv_type_struct_sockaddr_sa_len+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <sys/types.h>
++#include <sys/socket.h>
++int
++main ()
++{
++struct sockaddr x; x.sa_len;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_sockaddr_sa_len=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_struct_sockaddr_sa_len=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_sockaddr_sa_len" >&5
++echo "${ECHO_T}$ac_cv_type_struct_sockaddr_sa_len" >&6
++if test "$ac_cv_type_struct_sockaddr_sa_len" = yes; then
++	
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_STRUCT_SOCKADDR_SA_LEN 1
++_ACEOF
++
++	
++fi
++
++
++
++if test "$ac_cv_func_getnameinfo" = "yes"; then
++  
++echo "$as_me:$LINENO: checking if getnameinfo is broken" >&5
++echo $ECHO_N "checking if getnameinfo is broken... $ECHO_C" >&6
++if test "${ac_cv_func_getnameinfo_broken+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test "$cross_compiling" = yes; then
++  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
++See \`config.log' for more details." >&5
++echo "$as_me: error: cannot run test program while cross compiling
++See \`config.log' for more details." >&2;}
++   { (exit 1); exit 1; }; }
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdio.h>
++#include <sys/types.h>
++#include <sys/socket.h>
++#include <netinet/in.h>
++#include <netdb.h>
++
++int
++main(int argc, char **argv)
++{
++  struct sockaddr_in sin;
++  char host[256];
++  memset(&sin, 0, sizeof(sin));
++#ifdef HAVE_STRUCT_SOCKADDR_SA_LEN
++  sin.sin_len = sizeof(sin);
++#endif
++  sin.sin_family = AF_INET;
++  sin.sin_addr.s_addr = 0xffffffff;
++  sin.sin_port = 0;
++  return getnameinfo((struct sockaddr*)&sin, sizeof(sin), host, sizeof(host),
++	      NULL, 0, 0);
++}
++
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_getnameinfo_broken=no
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++( exit $ac_status )
++ac_cv_func_getnameinfo_broken=yes
++fi
++rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getnameinfo_broken" >&5
++echo "${ECHO_T}$ac_cv_func_getnameinfo_broken" >&6
++  if test "$ac_cv_func_getnameinfo_broken" = yes; then
++	case $LIB@&t@OBJS in
++    "getnameinfo.$ac_objext"   | \
++  *" getnameinfo.$ac_objext"   | \
++    "getnameinfo.$ac_objext "* | \
++  *" getnameinfo.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS getnameinfo.$ac_objext" ;;
++esac
++
++  fi
++fi
++
++if test "$ac_cv_func_getaddrinfo" = "yes"; then
++  
++echo "$as_me:$LINENO: checking if getaddrinfo handles numeric services" >&5
++echo $ECHO_N "checking if getaddrinfo handles numeric services... $ECHO_C" >&6
++if test "${ac_cv_func_getaddrinfo_numserv+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test "$cross_compiling" = yes; then
++  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
++See \`config.log' for more details." >&5
++echo "$as_me: error: cannot run test program while cross compiling
++See \`config.log' for more details." >&2;}
++   { (exit 1); exit 1; }; }
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdio.h>
++#include <sys/types.h>
++#include <sys/socket.h>
++#include <netdb.h>
++
++int
++main(int argc, char **argv)
++{
++	struct addrinfo hints, *ai;
++	memset(&hints, 0, sizeof(hints));
++	hints.ai_flags = AI_PASSIVE;
++	hints.ai_socktype = SOCK_STREAM;
++	hints.ai_family = PF_UNSPEC;
++	if(getaddrinfo(NULL, "17", &hints, &ai) != 0)
++		return 1;
++	return 0;
++}
++
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_getaddrinfo_numserv=yes
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++( exit $ac_status )
++ac_cv_func_getaddrinfo_numserv=no
++fi
++rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getaddrinfo_numserv" >&5
++echo "${ECHO_T}$ac_cv_func_getaddrinfo_numserv" >&6
++  if test "$ac_cv_func_getaddrinfo_numserv" = no; then
++	case $LIB@&t@OBJS in
++    "getaddrinfo.$ac_objext"   | \
++  *" getaddrinfo.$ac_objext"   | \
++    "getaddrinfo.$ac_objext "* | \
++  *" getaddrinfo.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS getaddrinfo.$ac_objext" ;;
++esac
++
++	case $LIB@&t@OBJS in
++    "freeaddrinfo.$ac_objext"   | \
++  *" freeaddrinfo.$ac_objext"   | \
++    "freeaddrinfo.$ac_objext "* | \
++  *" freeaddrinfo.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS freeaddrinfo.$ac_objext" ;;
++esac
++
++  fi
++fi
++
++
++if test "$ac_cv_func_setenv+set" != set -o "$ac_cv_func_setenv" = yes; then
++echo "$as_me:$LINENO: checking if setenv needs a prototype" >&5
++echo $ECHO_N "checking if setenv needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_setenv_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdlib.h>
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int setenv (struct foo*);
++setenv(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_setenv_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_setenv_noproto=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_setenv_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_setenv_noproto" >&6
++if test "$ac_cv_func_setenv_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_SETENV_PROTO 1
++_ACEOF
++
++fi
++fi
++
++
++if test "$ac_cv_func_unsetenv+set" != set -o "$ac_cv_func_unsetenv" = yes; then
++echo "$as_me:$LINENO: checking if unsetenv needs a prototype" >&5
++echo $ECHO_N "checking if unsetenv needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_unsetenv_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdlib.h>
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int unsetenv (struct foo*);
++unsetenv(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_unsetenv_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_unsetenv_noproto=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_unsetenv_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_unsetenv_noproto" >&6
++if test "$ac_cv_func_unsetenv_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_UNSETENV_PROTO 1
++_ACEOF
++
++fi
++fi
++
++
++if test "$ac_cv_func_gethostname+set" != set -o "$ac_cv_func_gethostname" = yes; then
++echo "$as_me:$LINENO: checking if gethostname needs a prototype" >&5
++echo $ECHO_N "checking if gethostname needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_gethostname_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <unistd.h>
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int gethostname (struct foo*);
++gethostname(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_gethostname_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_gethostname_noproto=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_gethostname_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_gethostname_noproto" >&6
++if test "$ac_cv_func_gethostname_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_GETHOSTNAME_PROTO 1
++_ACEOF
++
++fi
++fi
++
++
++if test "$ac_cv_func_mkstemp+set" != set -o "$ac_cv_func_mkstemp" = yes; then
++echo "$as_me:$LINENO: checking if mkstemp needs a prototype" >&5
++echo $ECHO_N "checking if mkstemp needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_mkstemp_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <unistd.h>
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int mkstemp (struct foo*);
++mkstemp(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_mkstemp_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_mkstemp_noproto=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_mkstemp_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_mkstemp_noproto" >&6
++if test "$ac_cv_func_mkstemp_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_MKSTEMP_PROTO 1
++_ACEOF
++
++fi
++fi
++
++
++if test "$ac_cv_func_getusershell+set" != set -o "$ac_cv_func_getusershell" = yes; then
++echo "$as_me:$LINENO: checking if getusershell needs a prototype" >&5
++echo $ECHO_N "checking if getusershell needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_getusershell_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <unistd.h>
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int getusershell (struct foo*);
++getusershell(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_getusershell_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_getusershell_noproto=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getusershell_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_getusershell_noproto" >&6
++if test "$ac_cv_func_getusershell_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_GETUSERSHELL_PROTO 1
++_ACEOF
++
++fi
++fi
++
++
++
++if test "$ac_cv_func_inet_aton+set" != set -o "$ac_cv_func_inet_aton" = yes; then
++echo "$as_me:$LINENO: checking if inet_aton needs a prototype" >&5
++echo $ECHO_N "checking if inet_aton needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_inet_aton_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_INET_H
++#include <arpa/inet.h>
++#endif
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int inet_aton (struct foo*);
++inet_aton(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_inet_aton_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_inet_aton_noproto=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_inet_aton_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_inet_aton_noproto" >&6
++if test "$ac_cv_func_inet_aton_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_INET_ATON_PROTO 1
++_ACEOF
++
++fi
++fi
++
++
++
++
++
++echo "$as_me:$LINENO: checking for crypt" >&5
++echo $ECHO_N "checking for crypt... $ECHO_C" >&6
++if test "${ac_cv_funclib_crypt+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_crypt\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" crypt; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++crypt()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_crypt=$ac_lib; else ac_cv_funclib_crypt=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_crypt=\${ac_cv_funclib_crypt-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_crypt"
++
++if false; then
++	
++for ac_func in crypt
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# crypt
++eval "ac_tr_func=HAVE_`echo crypt | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_crypt=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_crypt=yes"
++	eval "LIB_crypt="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_crypt=no"
++	eval "LIB_crypt="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_crypt=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking if gethostbyname is compatible with system prototype" >&5
++echo $ECHO_N "checking if gethostbyname is compatible with system prototype... $ECHO_C" >&6
++if test "${ac_cv_func_gethostbyname_proto_compat+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_INET_H
++#include <arpa/inet.h>
++#endif
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif
++
++int
++main ()
++{
++struct hostent *gethostbyname(const char *);
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_gethostbyname_proto_compat=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_gethostbyname_proto_compat=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname_proto_compat" >&5
++echo "${ECHO_T}$ac_cv_func_gethostbyname_proto_compat" >&6
++
++if test "$ac_cv_func_gethostbyname_proto_compat" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define GETHOSTBYNAME_PROTO_COMPATIBLE 1
++_ACEOF
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking if gethostbyaddr is compatible with system prototype" >&5
++echo $ECHO_N "checking if gethostbyaddr is compatible with system prototype... $ECHO_C" >&6
++if test "${ac_cv_func_gethostbyaddr_proto_compat+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_INET_H
++#include <arpa/inet.h>
++#endif
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif
++
++int
++main ()
++{
++struct hostent *gethostbyaddr(const void *, size_t, int);
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_gethostbyaddr_proto_compat=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_gethostbyaddr_proto_compat=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyaddr_proto_compat" >&5
++echo "${ECHO_T}$ac_cv_func_gethostbyaddr_proto_compat" >&6
++
++if test "$ac_cv_func_gethostbyaddr_proto_compat" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define GETHOSTBYADDR_PROTO_COMPATIBLE 1
++_ACEOF
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking if getservbyname is compatible with system prototype" >&5
++echo $ECHO_N "checking if getservbyname is compatible with system prototype... $ECHO_C" >&6
++if test "${ac_cv_func_getservbyname_proto_compat+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_INET_H
++#include <arpa/inet.h>
++#endif
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif
++
++int
++main ()
++{
++struct servent *getservbyname(const char *, const char *);
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_getservbyname_proto_compat=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_getservbyname_proto_compat=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getservbyname_proto_compat" >&5
++echo "${ECHO_T}$ac_cv_func_getservbyname_proto_compat" >&6
++
++if test "$ac_cv_func_getservbyname_proto_compat" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define GETSERVBYNAME_PROTO_COMPATIBLE 1
++_ACEOF
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking if getsockname is compatible with system prototype" >&5
++echo $ECHO_N "checking if getsockname is compatible with system prototype... $ECHO_C" >&6
++if test "${ac_cv_func_getsockname_proto_compat+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++
++int
++main ()
++{
++int getsockname(int, struct sockaddr*, socklen_t*);
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_getsockname_proto_compat=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_getsockname_proto_compat=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getsockname_proto_compat" >&5
++echo "${ECHO_T}$ac_cv_func_getsockname_proto_compat" >&6
++
++if test "$ac_cv_func_getsockname_proto_compat" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define GETSOCKNAME_PROTO_COMPATIBLE 1
++_ACEOF
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking if openlog is compatible with system prototype" >&5
++echo $ECHO_N "checking if openlog is compatible with system prototype... $ECHO_C" >&6
++if test "${ac_cv_func_openlog_proto_compat+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#ifdef HAVE_SYSLOG_H
++#include <syslog.h>
++#endif
++
++int
++main ()
++{
++void openlog(const char *, int, int);
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_openlog_proto_compat=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_openlog_proto_compat=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_openlog_proto_compat" >&5
++echo "${ECHO_T}$ac_cv_func_openlog_proto_compat" >&6
++
++if test "$ac_cv_func_openlog_proto_compat" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define OPENLOG_PROTO_COMPATIBLE 1
++_ACEOF
++
++fi
++
++
++
++
++if test "$ac_cv_func_crypt+set" != set -o "$ac_cv_func_crypt" = yes; then
++echo "$as_me:$LINENO: checking if crypt needs a prototype" >&5
++echo $ECHO_N "checking if crypt needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_crypt_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#ifdef HAVE_CRYPT_H
++#include <crypt.h>
++#endif
++#ifdef HAVE_UNISTD_H
++#include <unistd.h>
++#endif
++
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int crypt (struct foo*);
++crypt(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_crypt_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_crypt_noproto=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_crypt_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_crypt_noproto" >&6
++if test "$ac_cv_func_crypt_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_CRYPT_PROTO 1
++_ACEOF
++
++fi
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking for h_errno" >&5
++echo $ECHO_N "checking for h_errno... $ECHO_C" >&6
++if test "${ac_cv_var_h_errno+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++
++	cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif
++	void * foo() { return &h_errno; }
++int
++main ()
++{
++foo()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_var_h_errno=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_var_h_errno=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++if test "$ac_cv_var_h_errno" != yes ; then
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++extern int h_errno;
++int foo() { return h_errno; }
++int
++main ()
++{
++foo()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_var_h_errno=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_var_h_errno=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++
++fi
++
++ac_foo=`eval echo \\$ac_cv_var_h_errno`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_H_ERRNO 1
++_ACEOF
++
++	
++echo "$as_me:$LINENO: checking if h_errno is properly declared" >&5
++echo $ECHO_N "checking if h_errno is properly declared... $ECHO_C" >&6
++if test "${ac_cv_var_h_errno_declaration+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif
++extern struct { int foo; } h_errno;
++int
++main ()
++{
++h_errno.foo = 1;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_var_h_errno_declaration=no"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_var_h_errno_declaration=yes"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var_h_errno_declaration" >&5
++echo "${ECHO_T}$ac_cv_var_h_errno_declaration" >&6
++if eval "test \"\$ac_cv_var_h_errno_declaration\" = yes"; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_H_ERRNO_DECLARATION 1
++_ACEOF
++
++fi
++
++
++fi
++
++
++
++echo "$as_me:$LINENO: checking for h_errlist" >&5
++echo $ECHO_N "checking for h_errlist... $ECHO_C" >&6
++if test "${ac_cv_var_h_errlist+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++
++	cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif
++	void * foo() { return &h_errlist; }
++int
++main ()
++{
++foo()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_var_h_errlist=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_var_h_errlist=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++if test "$ac_cv_var_h_errlist" != yes ; then
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++extern int h_errlist;
++int foo() { return h_errlist; }
++int
++main ()
++{
++foo()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_var_h_errlist=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_var_h_errlist=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++
++fi
++
++ac_foo=`eval echo \\$ac_cv_var_h_errlist`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_H_ERRLIST 1
++_ACEOF
++
++	
++echo "$as_me:$LINENO: checking if h_errlist is properly declared" >&5
++echo $ECHO_N "checking if h_errlist is properly declared... $ECHO_C" >&6
++if test "${ac_cv_var_h_errlist_declaration+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif
++extern struct { int foo; } h_errlist;
++int
++main ()
++{
++h_errlist.foo = 1;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_var_h_errlist_declaration=no"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_var_h_errlist_declaration=yes"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var_h_errlist_declaration" >&5
++echo "${ECHO_T}$ac_cv_var_h_errlist_declaration" >&6
++if eval "test \"\$ac_cv_var_h_errlist_declaration\" = yes"; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_H_ERRLIST_DECLARATION 1
++_ACEOF
++
++fi
++
++
++fi
++
++
++
++echo "$as_me:$LINENO: checking for h_nerr" >&5
++echo $ECHO_N "checking for h_nerr... $ECHO_C" >&6
++if test "${ac_cv_var_h_nerr+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++
++	cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif
++	void * foo() { return &h_nerr; }
++int
++main ()
++{
++foo()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_var_h_nerr=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_var_h_nerr=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++if test "$ac_cv_var_h_nerr" != yes ; then
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++extern int h_nerr;
++int foo() { return h_nerr; }
++int
++main ()
++{
++foo()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_var_h_nerr=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_var_h_nerr=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++
++fi
++
++ac_foo=`eval echo \\$ac_cv_var_h_nerr`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_H_NERR 1
++_ACEOF
++
++	
++echo "$as_me:$LINENO: checking if h_nerr is properly declared" >&5
++echo $ECHO_N "checking if h_nerr is properly declared... $ECHO_C" >&6
++if test "${ac_cv_var_h_nerr_declaration+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif
++extern struct { int foo; } h_nerr;
++int
++main ()
++{
++h_nerr.foo = 1;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_var_h_nerr_declaration=no"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_var_h_nerr_declaration=yes"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var_h_nerr_declaration" >&5
++echo "${ECHO_T}$ac_cv_var_h_nerr_declaration" >&6
++if eval "test \"\$ac_cv_var_h_nerr_declaration\" = yes"; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_H_NERR_DECLARATION 1
++_ACEOF
++
++fi
++
++
++fi
++
++
++
++echo "$as_me:$LINENO: checking for __progname" >&5
++echo $ECHO_N "checking for __progname... $ECHO_C" >&6
++if test "${ac_cv_var___progname+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++
++	cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_ERR_H
++#include <err.h>
++#endif
++	void * foo() { return &__progname; }
++int
++main ()
++{
++foo()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_var___progname=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_var___progname=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++if test "$ac_cv_var___progname" != yes ; then
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++extern int __progname;
++int foo() { return __progname; }
++int
++main ()
++{
++foo()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_var___progname=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_var___progname=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++
++fi
++
++ac_foo=`eval echo \\$ac_cv_var___progname`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE___PROGNAME 1
++_ACEOF
++
++	
++echo "$as_me:$LINENO: checking if __progname is properly declared" >&5
++echo $ECHO_N "checking if __progname is properly declared... $ECHO_C" >&6
++if test "${ac_cv_var___progname_declaration+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_ERR_H
++#include <err.h>
++#endif
++extern struct { int foo; } __progname;
++int
++main ()
++{
++__progname.foo = 1;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_var___progname_declaration=no"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_var___progname_declaration=yes"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var___progname_declaration" >&5
++echo "${ECHO_T}$ac_cv_var___progname_declaration" >&6
++if eval "test \"\$ac_cv_var___progname_declaration\" = yes"; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE___PROGNAME_DECLARATION 1
++_ACEOF
++
++fi
++
++
++fi
++
++
++
++echo "$as_me:$LINENO: checking if optarg is properly declared" >&5
++echo $ECHO_N "checking if optarg is properly declared... $ECHO_C" >&6
++if test "${ac_cv_var_optarg_declaration+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdlib.h>
++#ifdef HAVE_UNISTD_H
++#include <unistd.h>
++#endif
++extern struct { int foo; } optarg;
++int
++main ()
++{
++optarg.foo = 1;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_var_optarg_declaration=no"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_var_optarg_declaration=yes"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var_optarg_declaration" >&5
++echo "${ECHO_T}$ac_cv_var_optarg_declaration" >&6
++if eval "test \"\$ac_cv_var_optarg_declaration\" = yes"; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_OPTARG_DECLARATION 1
++_ACEOF
++
++fi
++
++
++
++echo "$as_me:$LINENO: checking if optind is properly declared" >&5
++echo $ECHO_N "checking if optind is properly declared... $ECHO_C" >&6
++if test "${ac_cv_var_optind_declaration+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdlib.h>
++#ifdef HAVE_UNISTD_H
++#include <unistd.h>
++#endif
++extern struct { int foo; } optind;
++int
++main ()
++{
++optind.foo = 1;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_var_optind_declaration=no"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_var_optind_declaration=yes"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var_optind_declaration" >&5
++echo "${ECHO_T}$ac_cv_var_optind_declaration" >&6
++if eval "test \"\$ac_cv_var_optind_declaration\" = yes"; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_OPTIND_DECLARATION 1
++_ACEOF
++
++fi
++
++
++
++echo "$as_me:$LINENO: checking if opterr is properly declared" >&5
++echo $ECHO_N "checking if opterr is properly declared... $ECHO_C" >&6
++if test "${ac_cv_var_opterr_declaration+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdlib.h>
++#ifdef HAVE_UNISTD_H
++#include <unistd.h>
++#endif
++extern struct { int foo; } opterr;
++int
++main ()
++{
++opterr.foo = 1;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_var_opterr_declaration=no"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_var_opterr_declaration=yes"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var_opterr_declaration" >&5
++echo "${ECHO_T}$ac_cv_var_opterr_declaration" >&6
++if eval "test \"\$ac_cv_var_opterr_declaration\" = yes"; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_OPTERR_DECLARATION 1
++_ACEOF
++
++fi
++
++
++
++echo "$as_me:$LINENO: checking if optopt is properly declared" >&5
++echo $ECHO_N "checking if optopt is properly declared... $ECHO_C" >&6
++if test "${ac_cv_var_optopt_declaration+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdlib.h>
++#ifdef HAVE_UNISTD_H
++#include <unistd.h>
++#endif
++extern struct { int foo; } optopt;
++int
++main ()
++{
++optopt.foo = 1;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_var_optopt_declaration=no"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_var_optopt_declaration=yes"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var_optopt_declaration" >&5
++echo "${ECHO_T}$ac_cv_var_optopt_declaration" >&6
++if eval "test \"\$ac_cv_var_optopt_declaration\" = yes"; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_OPTOPT_DECLARATION 1
++_ACEOF
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking if environ is properly declared" >&5
++echo $ECHO_N "checking if environ is properly declared... $ECHO_C" >&6
++if test "${ac_cv_var_environ_declaration+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdlib.h>
++extern struct { int foo; } environ;
++int
++main ()
++{
++environ.foo = 1;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_var_environ_declaration=no"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_var_environ_declaration=yes"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var_environ_declaration" >&5
++echo "${ECHO_T}$ac_cv_var_environ_declaration" >&6
++if eval "test \"\$ac_cv_var_environ_declaration\" = yes"; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_ENVIRON_DECLARATION 1
++_ACEOF
++
++fi
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
++echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
++if test "${ac_cv_type_struct_tm_tm_gmtoff+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <time.h>
++int
++main ()
++{
++struct tm x; x.tm_gmtoff;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_tm_tm_gmtoff=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_struct_tm_tm_gmtoff=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_tm_tm_gmtoff" >&5
++echo "${ECHO_T}$ac_cv_type_struct_tm_tm_gmtoff" >&6
++if test "$ac_cv_type_struct_tm_tm_gmtoff" = yes; then
++	
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_STRUCT_TM_TM_GMTOFF 1
++_ACEOF
++
++	
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking for tm_zone in struct tm" >&5
++echo $ECHO_N "checking for tm_zone in struct tm... $ECHO_C" >&6
++if test "${ac_cv_type_struct_tm_tm_zone+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <time.h>
++int
++main ()
++{
++struct tm x; x.tm_zone;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_tm_tm_zone=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_struct_tm_tm_zone=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_tm_tm_zone" >&5
++echo "${ECHO_T}$ac_cv_type_struct_tm_tm_zone" >&6
++if test "$ac_cv_type_struct_tm_tm_zone" = yes; then
++	
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_STRUCT_TM_TM_ZONE 1
++_ACEOF
++
++	
++fi
++
++
++
++
++
++echo "$as_me:$LINENO: checking for timezone" >&5
++echo $ECHO_N "checking for timezone... $ECHO_C" >&6
++if test "${ac_cv_var_timezone+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++
++	cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <time.h>
++	void * foo() { return &timezone; }
++int
++main ()
++{
++foo()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_var_timezone=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_var_timezone=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++if test "$ac_cv_var_timezone" != yes ; then
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++extern int timezone;
++int foo() { return timezone; }
++int
++main ()
++{
++foo()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_var_timezone=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_var_timezone=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++
++fi
++
++ac_foo=`eval echo \\$ac_cv_var_timezone`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_TIMEZONE 1
++_ACEOF
++
++	
++echo "$as_me:$LINENO: checking if timezone is properly declared" >&5
++echo $ECHO_N "checking if timezone is properly declared... $ECHO_C" >&6
++if test "${ac_cv_var_timezone_declaration+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <time.h>
++extern struct { int foo; } timezone;
++int
++main ()
++{
++timezone.foo = 1;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_var_timezone_declaration=no"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_var_timezone_declaration=yes"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var_timezone_declaration" >&5
++echo "${ECHO_T}$ac_cv_var_timezone_declaration" >&6
++if eval "test \"\$ac_cv_var_timezone_declaration\" = yes"; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_TIMEZONE_DECLARATION 1
++_ACEOF
++
++fi
++
++
++fi
++
++
++echo "$as_me:$LINENO: checking for altzone" >&5
++echo $ECHO_N "checking for altzone... $ECHO_C" >&6
++if test "${ac_cv_var_altzone+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++
++	cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <time.h>
++	void * foo() { return &altzone; }
++int
++main ()
++{
++foo()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_var_altzone=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_var_altzone=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++if test "$ac_cv_var_altzone" != yes ; then
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++extern int altzone;
++int foo() { return altzone; }
++int
++main ()
++{
++foo()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_var_altzone=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_var_altzone=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++
++fi
++
++ac_foo=`eval echo \\$ac_cv_var_altzone`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_ALTZONE 1
++_ACEOF
++
++	
++echo "$as_me:$LINENO: checking if altzone is properly declared" >&5
++echo $ECHO_N "checking if altzone is properly declared... $ECHO_C" >&6
++if test "${ac_cv_var_altzone_declaration+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <time.h>
++extern struct { int foo; } altzone;
++int
++main ()
++{
++altzone.foo = 1;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_var_altzone_declaration=no"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_var_altzone_declaration=yes"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var_altzone_declaration" >&5
++echo "${ECHO_T}$ac_cv_var_altzone_declaration" >&6
++if eval "test \"\$ac_cv_var_altzone_declaration\" = yes"; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_ALTZONE_DECLARATION 1
++_ACEOF
++
++fi
++
++
++fi
++
++
++
++
++cv=`echo "sa_family_t" | sed 'y%./+- %__p__%'`
++echo "$as_me:$LINENO: checking for sa_family_t" >&5
++echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6
++if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <sys/types.h>
++#if STDC_HEADERS
++#include <stdlib.h>
++#include <stddef.h>
++#endif
++#include <sys/socket.h>
++int
++main ()
++{
++sa_family_t foo;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_type_$cv=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_type_$cv=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++ac_foo=`eval echo \\$ac_cv_type_$cv`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++  ac_tr_hdr=HAVE_`echo sa_family_t | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
++if false; then
++	echo "$as_me:$LINENO: checking for sa_family_t" >&5
++echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6
++if test "${ac_cv_type_sa_family_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++int
++main ()
++{
++if ((sa_family_t *) 0)
++  return 0;
++if (sizeof (sa_family_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_sa_family_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_sa_family_t=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_sa_family_t" >&5
++echo "${ECHO_T}$ac_cv_type_sa_family_t" >&6
++if test $ac_cv_type_sa_family_t = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_SA_FAMILY_T 1
++_ACEOF
++
++
++fi
++
++fi
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_hdr 1
++_ACEOF
++
++fi
++
++
++
++cv=`echo "socklen_t" | sed 'y%./+- %__p__%'`
++echo "$as_me:$LINENO: checking for socklen_t" >&5
++echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
++if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <sys/types.h>
++#if STDC_HEADERS
++#include <stdlib.h>
++#include <stddef.h>
++#endif
++#include <sys/socket.h>
++int
++main ()
++{
++socklen_t foo;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_type_$cv=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_type_$cv=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++ac_foo=`eval echo \\$ac_cv_type_$cv`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++  ac_tr_hdr=HAVE_`echo socklen_t | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
++if false; then
++	echo "$as_me:$LINENO: checking for socklen_t" >&5
++echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
++if test "${ac_cv_type_socklen_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++int
++main ()
++{
++if ((socklen_t *) 0)
++  return 0;
++if (sizeof (socklen_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_socklen_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_socklen_t=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
++echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
++if test $ac_cv_type_socklen_t = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_SOCKLEN_T 1
++_ACEOF
++
++
++fi
++
++fi
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_hdr 1
++_ACEOF
++
++fi
++
++
++
++cv=`echo "struct sockaddr" | sed 'y%./+- %__p__%'`
++echo "$as_me:$LINENO: checking for struct sockaddr" >&5
++echo $ECHO_N "checking for struct sockaddr... $ECHO_C" >&6
++if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <sys/types.h>
++#if STDC_HEADERS
++#include <stdlib.h>
++#include <stddef.h>
++#endif
++#include <sys/socket.h>
++int
++main ()
++{
++struct sockaddr foo;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_type_$cv=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_type_$cv=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++ac_foo=`eval echo \\$ac_cv_type_$cv`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++  ac_tr_hdr=HAVE_`echo struct sockaddr | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
++if false; then
++	echo "$as_me:$LINENO: checking for struct sockaddr" >&5
++echo $ECHO_N "checking for struct sockaddr... $ECHO_C" >&6
++if test "${ac_cv_type_struct_sockaddr+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++int
++main ()
++{
++if ((struct sockaddr *) 0)
++  return 0;
++if (sizeof (struct sockaddr))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_sockaddr=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_struct_sockaddr=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_sockaddr" >&5
++echo "${ECHO_T}$ac_cv_type_struct_sockaddr" >&6
++if test $ac_cv_type_struct_sockaddr = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRUCT_SOCKADDR 1
++_ACEOF
++
++
++fi
++
++fi
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_hdr 1
++_ACEOF
++
++fi
++
++
++
++cv=`echo "struct sockaddr_storage" | sed 'y%./+- %__p__%'`
++echo "$as_me:$LINENO: checking for struct sockaddr_storage" >&5
++echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6
++if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <sys/types.h>
++#if STDC_HEADERS
++#include <stdlib.h>
++#include <stddef.h>
++#endif
++#include <sys/socket.h>
++int
++main ()
++{
++struct sockaddr_storage foo;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_type_$cv=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_type_$cv=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++ac_foo=`eval echo \\$ac_cv_type_$cv`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++  ac_tr_hdr=HAVE_`echo struct sockaddr_storage | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
++if false; then
++	echo "$as_me:$LINENO: checking for struct sockaddr_storage" >&5
++echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6
++if test "${ac_cv_type_struct_sockaddr_storage+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++int
++main ()
++{
++if ((struct sockaddr_storage *) 0)
++  return 0;
++if (sizeof (struct sockaddr_storage))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_sockaddr_storage=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_struct_sockaddr_storage=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_sockaddr_storage" >&5
++echo "${ECHO_T}$ac_cv_type_struct_sockaddr_storage" >&6
++if test $ac_cv_type_struct_sockaddr_storage = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRUCT_SOCKADDR_STORAGE 1
++_ACEOF
++
++
++fi
++
++fi
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_hdr 1
++_ACEOF
++
++fi
++
++
++
++cv=`echo "struct addrinfo" | sed 'y%./+- %__p__%'`
++echo "$as_me:$LINENO: checking for struct addrinfo" >&5
++echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6
++if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <sys/types.h>
++#if STDC_HEADERS
++#include <stdlib.h>
++#include <stddef.h>
++#endif
++#include <netdb.h>
++int
++main ()
++{
++struct addrinfo foo;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_type_$cv=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_type_$cv=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++ac_foo=`eval echo \\$ac_cv_type_$cv`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++  ac_tr_hdr=HAVE_`echo struct addrinfo | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
++if false; then
++	echo "$as_me:$LINENO: checking for struct addrinfo" >&5
++echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6
++if test "${ac_cv_type_struct_addrinfo+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++int
++main ()
++{
++if ((struct addrinfo *) 0)
++  return 0;
++if (sizeof (struct addrinfo))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_addrinfo=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_struct_addrinfo=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_addrinfo" >&5
++echo "${ECHO_T}$ac_cv_type_struct_addrinfo" >&6
++if test $ac_cv_type_struct_addrinfo = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRUCT_ADDRINFO 1
++_ACEOF
++
++
++fi
++
++fi
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_hdr 1
++_ACEOF
++
++fi
++
++
++
++cv=`echo "struct ifaddrs" | sed 'y%./+- %__p__%'`
++echo "$as_me:$LINENO: checking for struct ifaddrs" >&5
++echo $ECHO_N "checking for struct ifaddrs... $ECHO_C" >&6
++if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <sys/types.h>
++#if STDC_HEADERS
++#include <stdlib.h>
++#include <stddef.h>
++#endif
++#include <ifaddrs.h>
++int
++main ()
++{
++struct ifaddrs foo;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_type_$cv=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_type_$cv=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++ac_foo=`eval echo \\$ac_cv_type_$cv`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++  ac_tr_hdr=HAVE_`echo struct ifaddrs | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
++if false; then
++	echo "$as_me:$LINENO: checking for struct ifaddrs" >&5
++echo $ECHO_N "checking for struct ifaddrs... $ECHO_C" >&6
++if test "${ac_cv_type_struct_ifaddrs+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++int
++main ()
++{
++if ((struct ifaddrs *) 0)
++  return 0;
++if (sizeof (struct ifaddrs))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_ifaddrs=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_struct_ifaddrs=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_ifaddrs" >&5
++echo "${ECHO_T}$ac_cv_type_struct_ifaddrs" >&6
++if test $ac_cv_type_struct_ifaddrs = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRUCT_IFADDRS 1
++_ACEOF
++
++
++fi
++
++fi
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_hdr 1
++_ACEOF
++
++fi
++
++
++
++cv=`echo "struct iovec" | sed 'y%./+- %__p__%'`
++echo "$as_me:$LINENO: checking for struct iovec" >&5
++echo $ECHO_N "checking for struct iovec... $ECHO_C" >&6
++if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <sys/types.h>
++#if STDC_HEADERS
++#include <stdlib.h>
++#include <stddef.h>
++#endif
++
++#include <sys/types.h>
++#include <sys/uio.h>
++
++int
++main ()
++{
++struct iovec foo;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_type_$cv=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_type_$cv=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++ac_foo=`eval echo \\$ac_cv_type_$cv`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++  ac_tr_hdr=HAVE_`echo struct iovec | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
++if false; then
++	echo "$as_me:$LINENO: checking for struct iovec" >&5
++echo $ECHO_N "checking for struct iovec... $ECHO_C" >&6
++if test "${ac_cv_type_struct_iovec+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++int
++main ()
++{
++if ((struct iovec *) 0)
++  return 0;
++if (sizeof (struct iovec))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_iovec=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_struct_iovec=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_iovec" >&5
++echo "${ECHO_T}$ac_cv_type_struct_iovec" >&6
++if test $ac_cv_type_struct_iovec = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRUCT_IOVEC 1
++_ACEOF
++
++
++fi
++
++fi
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_hdr 1
++_ACEOF
++
++fi
++
++
++
++cv=`echo "struct msghdr" | sed 'y%./+- %__p__%'`
++echo "$as_me:$LINENO: checking for struct msghdr" >&5
++echo $ECHO_N "checking for struct msghdr... $ECHO_C" >&6
++if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <sys/types.h>
++#if STDC_HEADERS
++#include <stdlib.h>
++#include <stddef.h>
++#endif
++
++#include <sys/types.h>
++#include <sys/socket.h>
++
++int
++main ()
++{
++struct msghdr foo;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_type_$cv=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_type_$cv=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++ac_foo=`eval echo \\$ac_cv_type_$cv`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++  ac_tr_hdr=HAVE_`echo struct msghdr | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
++if false; then
++	echo "$as_me:$LINENO: checking for struct msghdr" >&5
++echo $ECHO_N "checking for struct msghdr... $ECHO_C" >&6
++if test "${ac_cv_type_struct_msghdr+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++int
++main ()
++{
++if ((struct msghdr *) 0)
++  return 0;
++if (sizeof (struct msghdr))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_msghdr=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_struct_msghdr=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_msghdr" >&5
++echo "${ECHO_T}$ac_cv_type_struct_msghdr" >&6
++if test $ac_cv_type_struct_msghdr = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRUCT_MSGHDR 1
++_ACEOF
++
++
++fi
++
++fi
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_hdr 1
++_ACEOF
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking for struct winsize" >&5
++echo $ECHO_N "checking for struct winsize... $ECHO_C" >&6
++if test "${ac_cv_struct_winsize+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++ac_cv_struct_winsize=no
++for i in sys/termios.h sys/ioctl.h; do
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <$i>
++
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  $EGREP "struct[ 	]*winsize" >/dev/null 2>&1; then
++  ac_cv_struct_winsize=yes; break
++fi
++rm -f conftest*
++done
++
++fi
++
++if test "$ac_cv_struct_winsize" = "yes"; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_STRUCT_WINSIZE 1
++_ACEOF
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_struct_winsize" >&5
++echo "${ECHO_T}$ac_cv_struct_winsize" >&6
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <termios.h>
++
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  $EGREP "ws_xpixel" >/dev/null 2>&1; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_WS_XPIXEL 1
++_ACEOF
++
++fi
++rm -f conftest*
++
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <termios.h>
++
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  $EGREP "ws_ypixel" >/dev/null 2>&1; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_WS_YPIXEL 1
++_ACEOF
++
++fi
++rm -f conftest*
++
++
++
++
++
++echo "$as_me:$LINENO: checking for struct spwd" >&5
++echo $ECHO_N "checking for struct spwd... $ECHO_C" >&6
++if test "${ac_cv_struct_spwd+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <pwd.h>
++#ifdef HAVE_SHADOW_H
++#include <shadow.h>
++#endif
++int
++main ()
++{
++struct spwd foo;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_struct_spwd=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_struct_spwd=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++
++fi
++
++echo "$as_me:$LINENO: result: $ac_cv_struct_spwd" >&5
++echo "${ECHO_T}$ac_cv_struct_spwd" >&6
++
++if test "$ac_cv_struct_spwd" = "yes"; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_STRUCT_SPWD 1
++_ACEOF
++
++fi
++
++
++
++
++
++#fi
++LIB_roken="\$(top_builddir)/lib/vers/libvers.la $LIB_roken"
++
++
++# Check whether --enable-otp or --disable-otp was given.
++if test "${enable_otp+set}" = set; then
++  enableval="$enable_otp"
++  
++fi; 
++if test "$enable_otp" = yes -a "$db_type" = unknown; then
++	{ { echo "$as_me:$LINENO: error: OTP requires a NDBM/DB compatible library" >&5
++echo "$as_me: error: OTP requires a NDBM/DB compatible library" >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test "$enable_otp" != no; then
++	if test "$db_type" != unknown; then
++		enable_otp=yes
++	else
++		enable_otp=no
++	fi
++fi
++if test "$enable_otp" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define OTP 1
++_ACEOF
++
++fi
++echo "$as_me:$LINENO: checking whether to enable OTP library" >&5
++echo $ECHO_N "checking whether to enable OTP library... $ECHO_C" >&6
++echo "$as_me:$LINENO: result: $enable_otp" >&5
++echo "${ECHO_T}$enable_otp" >&6
++
++
++if test "$enable_otp" = yes; then
++  OTP_TRUE=
++  OTP_FALSE='#'
++else
++  OTP_TRUE='#'
++  OTP_FALSE=
++fi
++
++
++
++# Check whether --enable-osfc2 or --disable-osfc2 was given.
++if test "${enable_osfc2+set}" = set; then
++  enableval="$enable_osfc2"
++  
++fi; 
++LIB_security=
++if test "$enable_osfc2" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_OSFC2 1
++_ACEOF
++
++	LIB_security=-lsecurity
++fi
++
++
++
++# Check whether --enable-mmap or --disable-mmap was given.
++if test "${enable_mmap+set}" = set; then
++  enableval="$enable_mmap"
++  
++fi; 
++if test "$enable_mmap" = "no"; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NO_MMAP 1
++_ACEOF
++
++fi
++
++# Extract the first word of "nroff", so it can be a program name with args.
++set dummy nroff; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_path_NROFF+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  case $NROFF in
++  [\\/]* | ?:[\\/]*)
++  ac_cv_path_NROFF="$NROFF" # Let the user override the test with a path.
++  ;;
++  *)
++  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_path_NROFF="$as_dir/$ac_word$ac_exec_ext"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++  ;;
++esac
++fi
++NROFF=$ac_cv_path_NROFF
++
++if test -n "$NROFF"; then
++  echo "$as_me:$LINENO: result: $NROFF" >&5
++echo "${ECHO_T}$NROFF" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++# Extract the first word of "groff", so it can be a program name with args.
++set dummy groff; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_path_GROFF+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  case $GROFF in
++  [\\/]* | ?:[\\/]*)
++  ac_cv_path_GROFF="$GROFF" # Let the user override the test with a path.
++  ;;
++  *)
++  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_path_GROFF="$as_dir/$ac_word$ac_exec_ext"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++  ;;
++esac
++fi
++GROFF=$ac_cv_path_GROFF
++
++if test -n "$GROFF"; then
++  echo "$as_me:$LINENO: result: $GROFF" >&5
++echo "${ECHO_T}$GROFF" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++echo "$as_me:$LINENO: checking how to format man pages" >&5
++echo $ECHO_N "checking how to format man pages... $ECHO_C" >&6
++if test "${ac_cv_sys_man_format+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat > conftest.1 << END
++.Dd January 1, 1970
++.Dt CONFTEST 1
++.Sh NAME
++.Nm conftest
++.Nd
++foobar
++END
++
++if test "$NROFF" ; then
++	for i in "-mdoc" "-mandoc"; do
++		if "$NROFF" $i conftest.1 2> /dev/null | \
++			grep Jan > /dev/null 2>&1 ; then
++			ac_cv_sys_man_format="$NROFF $i"
++			break
++		fi
++	done
++fi
++if test "$ac_cv_sys_man_format" = "" -a "$GROFF" ; then
++	for i in "-mdoc" "-mandoc"; do
++		if "$GROFF" -Tascii $i conftest.1 2> /dev/null | \
++			grep Jan > /dev/null 2>&1 ; then
++			ac_cv_sys_man_format="$GROFF -Tascii $i"
++			break
++		fi
++	done
++fi
++if test "$ac_cv_sys_man_format"; then
++	ac_cv_sys_man_format="$ac_cv_sys_man_format \$< > \$@"
++fi
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_sys_man_format" >&5
++echo "${ECHO_T}$ac_cv_sys_man_format" >&6
++if test "$ac_cv_sys_man_format"; then
++	CATMAN="$ac_cv_sys_man_format"
++	
++fi
++
++
++if test "$CATMAN"; then
++  CATMAN_TRUE=
++  CATMAN_FALSE='#'
++else
++  CATMAN_TRUE='#'
++  CATMAN_FALSE=
++fi
++
++echo "$as_me:$LINENO: checking extension of pre-formatted manual pages" >&5
++echo $ECHO_N "checking extension of pre-formatted manual pages... $ECHO_C" >&6
++if test "${ac_cv_sys_catman_ext+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if grep _suffix /etc/man.conf > /dev/null 2>&1; then
++	ac_cv_sys_catman_ext=0
++else
++	ac_cv_sys_catman_ext=number
++fi
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_sys_catman_ext" >&5
++echo "${ECHO_T}$ac_cv_sys_catman_ext" >&6
++if test "$ac_cv_sys_catman_ext" = number; then
++	CATMANEXT='$$section'
++else
++	CATMANEXT=0
++fi
++
++
++
++
++
++# Check whether --with-readline or --without-readline was given.
++if test "${with_readline+set}" = set; then
++  withval="$with_readline"
++  
++fi; 
++
++# Check whether --with-readline-lib or --without-readline-lib was given.
++if test "${with_readline_lib+set}" = set; then
++  withval="$with_readline_lib"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-readline-lib" >&5
++echo "$as_me: error: No argument for --with-readline-lib" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_readline" = "X"; then
++  with_readline=yes
++fi
++fi; 
++
++# Check whether --with-readline-include or --without-readline-include was given.
++if test "${with_readline_include+set}" = set; then
++  withval="$with_readline_include"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-readline-include" >&5
++echo "$as_me: error: No argument for --with-readline-include" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_readline" = "X"; then
++  with_readline=yes
++fi
++fi; 
++
++# Check whether --with-readline-config or --without-readline-config was given.
++if test "${with_readline_config+set}" = set; then
++  withval="$with_readline_config"
++  
++fi; 
++
++
++
++echo "$as_me:$LINENO: checking for readline" >&5
++echo $ECHO_N "checking for readline... $ECHO_C" >&6
++
++case "$with_readline" in
++yes|"") d='' ;;
++no)	d= ;;
++*)	d="$with_readline" ;;
++esac
++
++header_dirs=
++lib_dirs=
++for i in $d /usr; do
++	if test "$with_readline_include" = ""; then
++		if test -d "$i/include/readline"; then
++			header_dirs="$header_dirs $i/include/readline"
++		fi
++		if test -d "$i/include"; then
++			header_dirs="$header_dirs $i/include"
++		fi
++	fi
++	if test "$with_readline_lib" = ""; then
++		if test -d "$i/lib$abilibdirext"; then
++			lib_dirs="$lib_dirs $i/lib$abilibdirext"
++		fi
++	fi
++done
++
++if test "$with_readline_include"; then
++	header_dirs="$with_readline_include $header_dirs"
++fi
++if test "$with_readline_lib"; then
++	lib_dirs="$with_readline_lib $lib_dirs"
++fi
++
++if test "$with_readline_config" = ""; then
++	with_readline_config=''
++fi
++
++readline_cflags=
++readline_libs=
++
++case "$with_readline_config" in
++yes|no|"")
++	;;
++*)
++	readline_cflags="`$with_readline_config --cflags 2>&1`"
++	readline_libs="`$with_readline_config --libs 2>&1`"
++	;;
++esac
++
++found=no
++if test "$with_readline" != no; then
++	save_CFLAGS="$CFLAGS"
++	save_LIBS="$LIBS"
++	if test "$readline_cflags" -a "$readline_libs"; then
++		CFLAGS="$readline_cflags $save_CFLAGS"
++		LIBS="$readline_libs $save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdio.h>
++ #include <readline.h>
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  
++			INCLUDE_readline="$readline_cflags"
++			LIB_readline="$readline_libs"
++			echo "$as_me:$LINENO: result: from $with_readline_config" >&5
++echo "${ECHO_T}from $with_readline_config" >&6
++			found=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	fi
++	if test "$found" = no; then
++		ires= lres=
++		for i in $header_dirs; do
++			CFLAGS="-I$i $save_CFLAGS"
++			cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdio.h>
++ #include <readline.h>
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ires=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++		done
++		for i in $lib_dirs; do
++			LIBS="-L$i -lreadline  $save_LIBS"
++			cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdio.h>
++ #include <readline.h>
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  lres=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++		done
++		if test "$ires" -a "$lres" -a "$with_readline" != "no"; then
++			DIR_readline=
++			INCLUDE_readline="-I$ires"
++			LIB_readline="-L$lres -lreadline "
++			found=yes
++			echo "$as_me:$LINENO: result: headers $ires, libraries $lres" >&5
++echo "${ECHO_T}headers $ires, libraries $lres" >&6
++		fi
++	fi
++	CFLAGS="$save_CFLAGS"
++	LIBS="$save_LIBS"
++fi
++
++if test "$found" = yes; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define READLINE 1
++_ACEOF
++
++	with_readline=yes
++else
++	with_readline=no
++	DIR_readline=
++	INCLUDE_readline=
++	LIB_readline=
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++
++
++
++
++
++
++
++# Check whether --with-hesiod or --without-hesiod was given.
++if test "${with_hesiod+set}" = set; then
++  withval="$with_hesiod"
++  
++fi; 
++
++# Check whether --with-hesiod-lib or --without-hesiod-lib was given.
++if test "${with_hesiod_lib+set}" = set; then
++  withval="$with_hesiod_lib"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-hesiod-lib" >&5
++echo "$as_me: error: No argument for --with-hesiod-lib" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_hesiod" = "X"; then
++  with_hesiod=yes
++fi
++fi; 
++
++# Check whether --with-hesiod-include or --without-hesiod-include was given.
++if test "${with_hesiod_include+set}" = set; then
++  withval="$with_hesiod_include"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-hesiod-include" >&5
++echo "$as_me: error: No argument for --with-hesiod-include" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_hesiod" = "X"; then
++  with_hesiod=yes
++fi
++fi; 
++
++# Check whether --with-hesiod-config or --without-hesiod-config was given.
++if test "${with_hesiod_config+set}" = set; then
++  withval="$with_hesiod_config"
++  
++fi; 
++
++
++
++echo "$as_me:$LINENO: checking for hesiod" >&5
++echo $ECHO_N "checking for hesiod... $ECHO_C" >&6
++
++case "$with_hesiod" in
++yes|"") d='' ;;
++no)	d= ;;
++*)	d="$with_hesiod" ;;
++esac
++
++header_dirs=
++lib_dirs=
++for i in $d /usr; do
++	if test "$with_hesiod_include" = ""; then
++		if test -d "$i/include/hesiod"; then
++			header_dirs="$header_dirs $i/include/hesiod"
++		fi
++		if test -d "$i/include"; then
++			header_dirs="$header_dirs $i/include"
++		fi
++	fi
++	if test "$with_hesiod_lib" = ""; then
++		if test -d "$i/lib$abilibdirext"; then
++			lib_dirs="$lib_dirs $i/lib$abilibdirext"
++		fi
++	fi
++done
++
++if test "$with_hesiod_include"; then
++	header_dirs="$with_hesiod_include $header_dirs"
++fi
++if test "$with_hesiod_lib"; then
++	lib_dirs="$with_hesiod_lib $lib_dirs"
++fi
++
++if test "$with_hesiod_config" = ""; then
++	with_hesiod_config=''
++fi
++
++hesiod_cflags=
++hesiod_libs=
++
++case "$with_hesiod_config" in
++yes|no|"")
++	;;
++*)
++	hesiod_cflags="`$with_hesiod_config --cflags 2>&1`"
++	hesiod_libs="`$with_hesiod_config --libs 2>&1`"
++	;;
++esac
++
++found=no
++if test "$with_hesiod" != no; then
++	save_CFLAGS="$CFLAGS"
++	save_LIBS="$LIBS"
++	if test "$hesiod_cflags" -a "$hesiod_libs"; then
++		CFLAGS="$hesiod_cflags $save_CFLAGS"
++		LIBS="$hesiod_libs $save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <hesiod.h>
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  
++			INCLUDE_hesiod="$hesiod_cflags"
++			LIB_hesiod="$hesiod_libs"
++			echo "$as_me:$LINENO: result: from $with_hesiod_config" >&5
++echo "${ECHO_T}from $with_hesiod_config" >&6
++			found=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	fi
++	if test "$found" = no; then
++		ires= lres=
++		for i in $header_dirs; do
++			CFLAGS="-I$i $save_CFLAGS"
++			cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <hesiod.h>
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ires=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++		done
++		for i in $lib_dirs; do
++			LIBS="-L$i -lhesiod  $save_LIBS"
++			cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <hesiod.h>
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  lres=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++		done
++		if test "$ires" -a "$lres" -a "$with_hesiod" != "no"; then
++			DIR_hesiod=
++			INCLUDE_hesiod="-I$ires"
++			LIB_hesiod="-L$lres -lhesiod "
++			found=yes
++			echo "$as_me:$LINENO: result: headers $ires, libraries $lres" >&5
++echo "${ECHO_T}headers $ires, libraries $lres" >&6
++		fi
++	fi
++	CFLAGS="$save_CFLAGS"
++	LIBS="$save_LIBS"
++fi
++
++if test "$found" = yes; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define HESIOD 1
++_ACEOF
++
++	with_hesiod=yes
++else
++	with_hesiod=no
++	DIR_hesiod=
++	INCLUDE_hesiod=
++	LIB_hesiod=
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++
++
++
++
++
++
++
++# Check whether --with-sl or --without-sl was given.
++if test "${with_sl+set}" = set; then
++  withval="$with_sl"
++  
++fi; 
++
++# Check whether --with-sl-lib or --without-sl-lib was given.
++if test "${with_sl_lib+set}" = set; then
++  withval="$with_sl_lib"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-sl-lib" >&5
++echo "$as_me: error: No argument for --with-sl-lib" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_sl" = "X"; then
++  with_sl=yes
++fi
++fi; 
++
++# Check whether --with-sl-include or --without-sl-include was given.
++if test "${with_sl_include+set}" = set; then
++  withval="$with_sl_include"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-sl-include" >&5
++echo "$as_me: error: No argument for --with-sl-include" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_sl" = "X"; then
++  with_sl=yes
++fi
++fi; 
++
++# Check whether --with-sl-config or --without-sl-config was given.
++if test "${with_sl_config+set}" = set; then
++  withval="$with_sl_config"
++  
++fi; 
++
++
++
++echo "$as_me:$LINENO: checking for sl" >&5
++echo $ECHO_N "checking for sl... $ECHO_C" >&6
++
++case "$with_sl" in
++yes|"") d='' ;;
++no)	d= ;;
++*)	d="$with_sl" ;;
++esac
++
++header_dirs=
++lib_dirs=
++for i in $d /usr; do
++	if test "$with_sl_include" = ""; then
++		if test -d "$i/include/sl"; then
++			header_dirs="$header_dirs $i/include/sl"
++		fi
++		if test -d "$i/include"; then
++			header_dirs="$header_dirs $i/include"
++		fi
++	fi
++	if test "$with_sl_lib" = ""; then
++		if test -d "$i/lib$abilibdirext"; then
++			lib_dirs="$lib_dirs $i/lib$abilibdirext"
++		fi
++	fi
++done
++
++if test "$with_sl_include"; then
++	header_dirs="$with_sl_include $header_dirs"
++fi
++if test "$with_sl_lib"; then
++	lib_dirs="$with_sl_lib $lib_dirs"
++fi
++
++if test "$with_sl_config" = ""; then
++	with_sl_config=''
++fi
++
++sl_cflags=
++sl_libs=
++
++case "$with_sl_config" in
++yes|no|"")
++	;;
++*)
++	sl_cflags="`$with_sl_config --cflags 2>&1`"
++	sl_libs="`$with_sl_config --libs 2>&1`"
++	;;
++esac
++
++found=no
++if test "$with_sl" != no; then
++	save_CFLAGS="$CFLAGS"
++	save_LIBS="$LIBS"
++	if test "$sl_cflags" -a "$sl_libs"; then
++		CFLAGS="$sl_cflags $save_CFLAGS"
++		LIBS="$sl_libs $save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  
++			INCLUDE_sl="$sl_cflags"
++			LIB_sl="$sl_libs"
++			echo "$as_me:$LINENO: result: from $with_sl_config" >&5
++echo "${ECHO_T}from $with_sl_config" >&6
++			found=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	fi
++	if test "$found" = no; then
++		ires= lres=
++		for i in $header_dirs; do
++			CFLAGS="-I$i $save_CFLAGS"
++			cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ires=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++		done
++		for i in $lib_dirs; do
++			LIBS="-L$i -lsl  $save_LIBS"
++			cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  lres=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++		done
++		if test "$ires" -a "$lres" -a "$with_sl" != "no"; then
++			DIR_sl=
++			INCLUDE_sl="-I$ires"
++			LIB_sl="-L$lres -lsl "
++			found=yes
++			echo "$as_me:$LINENO: result: headers $ires, libraries $lres" >&5
++echo "${ECHO_T}headers $ires, libraries $lres" >&6
++		fi
++	fi
++	CFLAGS="$save_CFLAGS"
++	LIBS="$save_LIBS"
++fi
++
++if test "$found" = yes; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define SL 1
++_ACEOF
++
++	with_sl=yes
++else
++	with_sl=no
++	DIR_sl=
++	INCLUDE_sl=
++	LIB_sl=
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++
++
++
++
++if ! test "$with_sl" = yes; then
++	DIR_sl="sl"
++	LIB_sl='$(top_builddir)/lib/sl/libsl.la'
++fi
++
++
++# Check whether --with-ss or --without-ss was given.
++if test "${with_ss+set}" = set; then
++  withval="$with_ss"
++  
++fi; 
++
++# Check whether --with-ss-lib or --without-ss-lib was given.
++if test "${with_ss_lib+set}" = set; then
++  withval="$with_ss_lib"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-ss-lib" >&5
++echo "$as_me: error: No argument for --with-ss-lib" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_ss" = "X"; then
++  with_ss=yes
++fi
++fi; 
++
++# Check whether --with-ss-include or --without-ss-include was given.
++if test "${with_ss_include+set}" = set; then
++  withval="$with_ss_include"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-ss-include" >&5
++echo "$as_me: error: No argument for --with-ss-include" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_ss" = "X"; then
++  with_ss=yes
++fi
++fi; 
++
++# Check whether --with-ss-config or --without-ss-config was given.
++if test "${with_ss_config+set}" = set; then
++  withval="$with_ss_config"
++  
++fi; 
++
++
++
++echo "$as_me:$LINENO: checking for ss" >&5
++echo $ECHO_N "checking for ss... $ECHO_C" >&6
++
++case "$with_ss" in
++yes|"") d='' ;;
++no)	d= ;;
++*)	d="$with_ss" ;;
++esac
++
++header_dirs=
++lib_dirs=
++for i in $d /usr; do
++	if test "$with_ss_include" = ""; then
++		if test -d "$i/include/ss"; then
++			header_dirs="$header_dirs $i/include/ss"
++		fi
++		if test -d "$i/include"; then
++			header_dirs="$header_dirs $i/include"
++		fi
++	fi
++	if test "$with_ss_lib" = ""; then
++		if test -d "$i/lib$abilibdirext"; then
++			lib_dirs="$lib_dirs $i/lib$abilibdirext"
++		fi
++	fi
++done
++
++if test "$with_ss_include"; then
++	header_dirs="$with_ss_include $header_dirs"
++fi
++if test "$with_ss_lib"; then
++	lib_dirs="$with_ss_lib $lib_dirs"
++fi
++
++if test "$with_ss_config" = ""; then
++	with_ss_config=''
++fi
++
++ss_cflags=
++ss_libs=
++
++case "$with_ss_config" in
++yes|no|"")
++	;;
++*)
++	ss_cflags="`$with_ss_config --cflags 2>&1`"
++	ss_libs="`$with_ss_config --libs 2>&1`"
++	;;
++esac
++
++found=no
++if test "$with_ss" != no; then
++	save_CFLAGS="$CFLAGS"
++	save_LIBS="$LIBS"
++	if test "$ss_cflags" -a "$ss_libs"; then
++		CFLAGS="$ss_cflags $save_CFLAGS"
++		LIBS="$ss_libs $save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  
++			INCLUDE_ss="$ss_cflags"
++			LIB_ss="$ss_libs"
++			echo "$as_me:$LINENO: result: from $with_ss_config" >&5
++echo "${ECHO_T}from $with_ss_config" >&6
++			found=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	fi
++	if test "$found" = no; then
++		ires= lres=
++		for i in $header_dirs; do
++			CFLAGS="-I$i $save_CFLAGS"
++			cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ires=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++		done
++		for i in $lib_dirs; do
++			LIBS="-L$i -lss  $save_LIBS"
++			cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  lres=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++		done
++		if test "$ires" -a "$lres" -a "$with_ss" != "no"; then
++			DIR_ss=
++			INCLUDE_ss="-I$ires"
++			LIB_ss="-L$lres -lss "
++			found=yes
++			echo "$as_me:$LINENO: result: headers $ires, libraries $lres" >&5
++echo "${ECHO_T}headers $ires, libraries $lres" >&6
++		fi
++	fi
++	CFLAGS="$save_CFLAGS"
++	LIBS="$save_LIBS"
++fi
++
++if test "$found" = yes; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define SS 1
++_ACEOF
++
++	with_ss=yes
++else
++	with_ss=no
++	DIR_ss=
++	INCLUDE_ss=
++	LIB_ss=
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++
++
++
++
++if ! test "$with_sl" = yes; then
++	DIR_sl="sl"
++	LIB_sl='$(top_builddir)/lib/sl/libsl.la'
++	DIR_ss=""
++	LIB_ss='$(top_builddir)/lib/sl/libss.la'
++fi
++if test "$enable_otp" = "yes"; then
++  
++
++# Check whether --with-otp or --without-otp was given.
++if test "${with_otp+set}" = set; then
++  withval="$with_otp"
++  
++fi; 
++
++# Check whether --with-otp-lib or --without-otp-lib was given.
++if test "${with_otp_lib+set}" = set; then
++  withval="$with_otp_lib"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-otp-lib" >&5
++echo "$as_me: error: No argument for --with-otp-lib" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_otp" = "X"; then
++  with_otp=yes
++fi
++fi; 
++
++# Check whether --with-otp-include or --without-otp-include was given.
++if test "${with_otp_include+set}" = set; then
++  withval="$with_otp_include"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-otp-include" >&5
++echo "$as_me: error: No argument for --with-otp-include" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_otp" = "X"; then
++  with_otp=yes
++fi
++fi; 
++
++# Check whether --with-otp-config or --without-otp-config was given.
++if test "${with_otp_config+set}" = set; then
++  withval="$with_otp_config"
++  
++fi; 
++
++
++
++echo "$as_me:$LINENO: checking for otp" >&5
++echo $ECHO_N "checking for otp... $ECHO_C" >&6
++
++case "$with_otp" in
++yes|"") d='' ;;
++no)	d= ;;
++*)	d="$with_otp" ;;
++esac
++
++header_dirs=
++lib_dirs=
++for i in $d /usr; do
++	if test "$with_otp_include" = ""; then
++		if test -d "$i/include/otp"; then
++			header_dirs="$header_dirs $i/include/otp"
++		fi
++		if test -d "$i/include"; then
++			header_dirs="$header_dirs $i/include"
++		fi
++	fi
++	if test "$with_otp_lib" = ""; then
++		if test -d "$i/lib$abilibdirext"; then
++			lib_dirs="$lib_dirs $i/lib$abilibdirext"
++		fi
++	fi
++done
++
++if test "$with_otp_include"; then
++	header_dirs="$with_otp_include $header_dirs"
++fi
++if test "$with_otp_lib"; then
++	lib_dirs="$with_otp_lib $lib_dirs"
++fi
++
++if test "$with_otp_config" = ""; then
++	with_otp_config=''
++fi
++
++otp_cflags=
++otp_libs=
++
++case "$with_otp_config" in
++yes|no|"")
++	;;
++*)
++	otp_cflags="`$with_otp_config --cflags 2>&1`"
++	otp_libs="`$with_otp_config --libs 2>&1`"
++	;;
++esac
++
++found=no
++if test "$with_otp" != no; then
++	save_CFLAGS="$CFLAGS"
++	save_LIBS="$LIBS"
++	if test "$otp_cflags" -a "$otp_libs"; then
++		CFLAGS="$otp_cflags $save_CFLAGS"
++		LIBS="$otp_libs $save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  
++			INCLUDE_otp="$otp_cflags"
++			LIB_otp="$otp_libs"
++			echo "$as_me:$LINENO: result: from $with_otp_config" >&5
++echo "${ECHO_T}from $with_otp_config" >&6
++			found=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	fi
++	if test "$found" = no; then
++		ires= lres=
++		for i in $header_dirs; do
++			CFLAGS="-I$i $save_CFLAGS"
++			cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ires=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++		done
++		for i in $lib_dirs; do
++			LIBS="-L$i -lotp  $save_LIBS"
++			cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  lres=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++		done
++		if test "$ires" -a "$lres" -a "$with_otp" != "no"; then
++			DIR_otp=
++			INCLUDE_otp="-I$ires"
++			LIB_otp="-L$lres -lotp "
++			found=yes
++			echo "$as_me:$LINENO: result: headers $ires, libraries $lres" >&5
++echo "${ECHO_T}headers $ires, libraries $lres" >&6
++		fi
++	fi
++	CFLAGS="$save_CFLAGS"
++	LIBS="$save_LIBS"
++fi
++
++if test "$found" = yes; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define OTP 1
++_ACEOF
++
++	with_otp=yes
++else
++	with_otp=no
++	DIR_otp=
++	INCLUDE_otp=
++	LIB_otp=
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++
++
++
++
++  if ! test "$with_otp" = yes; then
++	DIR_otp="otp"
++ 	LIB_otp='$(top_builddir)/lib/otp/libotp.la'
++  fi
++fi
++
++
++# Check whether --enable-bigendian or --disable-bigendian was given.
++if test "${enable_bigendian+set}" = set; then
++  enableval="$enable_bigendian"
++  krb_cv_c_bigendian=yes
++fi; 
++# Check whether --enable-littleendian or --disable-littleendian was given.
++if test "${enable_littleendian+set}" = set; then
++  enableval="$enable_littleendian"
++  krb_cv_c_bigendian=no
++fi; 
++echo "$as_me:$LINENO: checking whether byte order is known at compile time" >&5
++echo $ECHO_N "checking whether byte order is known at compile time... $ECHO_C" >&6
++if test "${krb_cv_c_bigendian_compile+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#include <sys/types.h>
++#include <sys/param.h>
++int
++main ()
++{
++
++#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
++ bogus endian macros
++#endif
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  krb_cv_c_bigendian_compile=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++krb_cv_c_bigendian_compile=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $krb_cv_c_bigendian_compile" >&5
++echo "${ECHO_T}$krb_cv_c_bigendian_compile" >&6
++echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
++echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
++if test "${krb_cv_c_bigendian+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++  if test "$krb_cv_c_bigendian_compile" = "yes"; then
++    cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#include <sys/types.h>
++#include <sys/param.h>
++int
++main ()
++{
++
++#if BYTE_ORDER != BIG_ENDIAN
++  not big endian
++#endif
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  krb_cv_c_bigendian=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++krb_cv_c_bigendian=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++  else
++    if test "$cross_compiling" = yes; then
++  { { echo "$as_me:$LINENO: error: specify either --enable-bigendian or --enable-littleendian" >&5
++echo "$as_me: error: specify either --enable-bigendian or --enable-littleendian" >&2;}
++   { (exit 1); exit 1; }; }
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++main () {
++      /* Are we little or big endian?  From Harbison&Steele.  */
++      union
++      {
++	long l;
++	char c[sizeof (long)];
++    } u;
++    u.l = 1;
++    exit (u.c[sizeof (long) - 1] == 1);
++  }
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  krb_cv_c_bigendian=no
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++( exit $ac_status )
++krb_cv_c_bigendian=yes
++fi
++rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++  fi
++
++fi
++echo "$as_me:$LINENO: result: $krb_cv_c_bigendian" >&5
++echo "${ECHO_T}$krb_cv_c_bigendian" >&6
++if test "$krb_cv_c_bigendian" = "yes"; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define WORDS_BIGENDIAN 1
++_ACEOF
++fi
++if test "$krb_cv_c_bigendian_compile" = "yes"; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define ENDIANESS_IN_SYS_PARAM_H 1
++_ACEOF
++fi
++
++
++
++echo "$as_me:$LINENO: checking for inline" >&5
++echo $ECHO_N "checking for inline... $ECHO_C" >&6
++if test "${ac_cv_c_inline+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_cv_c_inline=no
++for ac_kw in inline __inline__ __inline; do
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifndef __cplusplus
++typedef int foo_t;
++static $ac_kw foo_t static_foo () {return 0; }
++$ac_kw foo_t foo () {return 0; }
++#endif
++
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_c_inline=$ac_kw; break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++done
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
++echo "${ECHO_T}$ac_cv_c_inline" >&6
++
++
++case $ac_cv_c_inline in
++  inline | yes) ;;
++  *)
++    case $ac_cv_c_inline in
++      no) ac_val=;;
++      *) ac_val=$ac_cv_c_inline;;
++    esac
++    cat >>confdefs.h <<_ACEOF
++#ifndef __cplusplus
++#define inline $ac_val
++#endif
++_ACEOF
++    ;;
++esac
++
++
++
++	
++
++
++echo "$as_me:$LINENO: checking for dlopen" >&5
++echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
++if test "${ac_cv_funclib_dlopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_dlopen\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" dl; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++dlopen()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_dlopen=$ac_lib; else ac_cv_funclib_dlopen=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_dlopen=\${ac_cv_funclib_dlopen-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_dlopen"
++
++if false; then
++	
++for ac_func in dlopen
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# dlopen
++eval "ac_tr_func=HAVE_`echo dlopen | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_dlopen=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_dlopen=yes"
++	eval "LIB_dlopen="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_dlopen=no"
++	eval "LIB_dlopen="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_dlopen=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++	
++
++if test "$ac_cv_funclib_dlopen" != no; then
++  HAVE_DLOPEN_TRUE=
++  HAVE_DLOPEN_FALSE='#'
++else
++  HAVE_DLOPEN_TRUE='#'
++  HAVE_DLOPEN_FALSE=
++fi
++
++
++
++
++aix=no
++case "$host" in 
++*-*-aix3*)
++	aix=3
++	;;
++*-*-aix4*|*-*-aix5*)
++	aix=4
++	;;
++esac
++
++
++
++if test "$aix" != no; then
++  AIX_TRUE=
++  AIX_FALSE='#'
++else
++  AIX_TRUE='#'
++  AIX_FALSE=
++fi
++
++
++if test "$aix" = 4; then
++  AIX4_TRUE=
++  AIX4_FALSE='#'
++else
++  AIX4_TRUE='#'
++  AIX4_FALSE=
++fi
++
++
++
++# Check whether --enable-dynamic-afs or --disable-dynamic-afs was given.
++if test "${enable_dynamic_afs+set}" = set; then
++  enableval="$enable_dynamic_afs"
++  
++fi; 
++
++if test "$aix" != no; then
++	if test "$enable_dynamic_afs" != no; then
++		
++		if test "$ac_cv_func_dlopen" = no; then
++			
++
++
++echo "$as_me:$LINENO: checking for loadquery" >&5
++echo $ECHO_N "checking for loadquery... $ECHO_C" >&6
++if test "${ac_cv_funclib_loadquery+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_loadquery\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ld; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++loadquery()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_loadquery=$ac_lib; else ac_cv_funclib_loadquery=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_loadquery=\${ac_cv_funclib_loadquery-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_loadquery"
++
++if false; then
++	
++for ac_func in loadquery
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# loadquery
++eval "ac_tr_func=HAVE_`echo loadquery | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_loadquery=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_loadquery=yes"
++	eval "LIB_loadquery="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_loadquery=no"
++	eval "LIB_loadquery="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_loadquery=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++		fi
++		if test "$ac_cv_func_dlopen" != no; then
++			AIX_EXTRA_KAFS='$(LIB_dlopen)'
++		elif test "$ac_cv_func_loadquery" != no; then
++			AIX_EXTRA_KAFS='$(LIB_loadquery)'
++		else
++			{ echo "$as_me:$LINENO: not using dynloaded AFS library" >&5
++echo "$as_me: not using dynloaded AFS library" >&6;}
++			AIX_EXTRA_KAFS=
++			enable_dynamic_afs=no
++		fi
++	else
++		AIX_EXTRA_KAFS=
++	fi
++fi
++
++
++
++if test "$enable_dynamic_afs" != no; then
++  AIX_DYNAMIC_AFS_TRUE=
++  AIX_DYNAMIC_AFS_FALSE='#'
++else
++  AIX_DYNAMIC_AFS_TRUE='#'
++  AIX_DYNAMIC_AFS_FALSE=
++fi
++
++
++
++
++
++
++irix=no
++case "$host" in
++*-*-irix4*) 
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define IRIX4 1
++_ACEOF
++
++	irix=yes
++	;;
++*-*-irix*) 
++	irix=yes
++	;;
++esac
++
++
++if test "$irix" != no; then
++  IRIX_TRUE=
++  IRIX_FALSE='#'
++else
++  IRIX_TRUE='#'
++  IRIX_FALSE=
++fi
++
++
++
++
++
++sunos=no
++case "$host" in 
++*-*-sunos4*)
++	sunos=40
++	;;
++*-*-solaris2.7)
++	sunos=57
++	;;
++*-*-solaris2.[89])
++	sunos=58
++	;;
++*-*-solaris2*)
++	sunos=50
++	;;
++esac
++if test "$sunos" != no; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define SunOS $sunos
++_ACEOF
++
++fi
++
++
++
++
++if test "x$ac_path_x_has_been_run" != xyes; then
++  echo "$as_me:$LINENO: checking for X" >&5
++echo $ECHO_N "checking for X... $ECHO_C" >&6
++
++ac_path_x_has_been_run=yes
++
++# Check whether --with-x or --without-x was given.
++if test "${with_x+set}" = set; then
++  withval="$with_x"
++  
++fi; 
++# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
++if test "x$with_x" = xno; then
++  # The user explicitly disabled X.
++  have_x=disabled
++else
++  if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
++    # Both variables are already set.
++    have_x=yes
++  else
++    if test "${ac_cv_have_x+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  # One or both of the vars are not set, and there is no cached value.
++ac_x_includes=no ac_x_libraries=no
++rm -fr conftest.dir
++if mkdir conftest.dir; then
++  cd conftest.dir
++  # Make sure to not put "make" in the Imakefile rules, since we grep it out.
++  cat >Imakefile <<'_ACEOF'
++acfindx:
++	@echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
++_ACEOF
++  if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
++    # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
++    eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
++    # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
++    for ac_extension in a so sl; do
++      if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
++	 test -f $ac_im_libdir/libX11.$ac_extension; then
++	ac_im_usrlibdir=$ac_im_libdir; break
++      fi
++    done
++    # Screen out bogus values from the imake configuration.  They are
++    # bogus both because they are the default anyway, and because
++    # using them would break gcc on systems where it needs fixed includes.
++    case $ac_im_incroot in
++	/usr/include) ;;
++	*) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
++    esac
++    case $ac_im_usrlibdir in
++	/usr/lib | /lib) ;;
++	*) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
++    esac
++  fi
++  cd ..
++  rm -fr conftest.dir
++fi
++
++# Standard set of common directories for X headers.
++# Check X11 before X11Rn because it is often a symlink to the current release.
++ac_x_header_dirs='
++/usr/X11/include
++/usr/X11R6/include
++/usr/X11R5/include
++/usr/X11R4/include
++
++/usr/include/X11
++/usr/include/X11R6
++/usr/include/X11R5
++/usr/include/X11R4
++
++/usr/local/X11/include
++/usr/local/X11R6/include
++/usr/local/X11R5/include
++/usr/local/X11R4/include
++
++/usr/local/include/X11
++/usr/local/include/X11R6
++/usr/local/include/X11R5
++/usr/local/include/X11R4
++
++/usr/X386/include
++/usr/x386/include
++/usr/XFree86/include/X11
++
++/usr/include
++/usr/local/include
++/usr/unsupported/include
++/usr/athena/include
++/usr/local/x11r5/include
++/usr/lpp/Xamples/include
++
++/usr/openwin/include
++/usr/openwin/share/include'
++
++if test "$ac_x_includes" = no; then
++  # Guess where to find include files, by looking for a specified header file.
++  # First, try using that file with no special directory specified.
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@include <X11/Intrinsic.h>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  # We can compile using X headers with no special include directory.
++ac_x_includes=
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++  for ac_dir in $ac_x_header_dirs; do
++  if test -r "$ac_dir/X11/Intrinsic.h"; then
++    ac_x_includes=$ac_dir
++    break
++  fi
++done
++fi
++rm -f conftest.err conftest.$ac_ext
++fi # $ac_x_includes = no
++
++if test "$ac_x_libraries" = no; then
++  # Check for the libraries.
++  # See if we find them without any special options.
++  # Don't add to $LIBS permanently.
++  ac_save_LIBS=$LIBS
++  LIBS="-lXt $LIBS"
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@include <X11/Intrinsic.h>
++int
++main ()
++{
++XtMalloc (0)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  LIBS=$ac_save_LIBS
++# We can link X programs with no special library path.
++ac_x_libraries=
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++LIBS=$ac_save_LIBS
++for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
++do
++  # Don't even attempt the hair of trying to link an X program!
++  for ac_extension in a so sl; do
++    if test -r $ac_dir/libXt.$ac_extension; then
++      ac_x_libraries=$ac_dir
++      break 2
++    fi
++  done
++done
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi # $ac_x_libraries = no
++
++if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
++  # Didn't find X anywhere.  Cache the known absence of X.
++  ac_cv_have_x="have_x=no"
++else
++  # Record where we found X for the cache.
++  ac_cv_have_x="have_x=yes \
++		ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
++fi
++fi
++
++  fi
++  eval "$ac_cv_have_x"
++fi # $with_x != no
++
++if test "$have_x" != yes; then
++  echo "$as_me:$LINENO: result: $have_x" >&5
++echo "${ECHO_T}$have_x" >&6
++  no_x=yes
++else
++  # If each of the values was on the command line, it overrides each guess.
++  test "x$x_includes" = xNONE && x_includes=$ac_x_includes
++  test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
++  # Update the cache value to reflect the command line values.
++  ac_cv_have_x="have_x=yes \
++		ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
++  # It might be that x_includes is empty (headers are found in the
++  # standard search path. Then output the corresponding message
++  ac_out_x_includes=$x_includes
++  test "x$x_includes" = x && ac_out_x_includes="in standard search path"
++  echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
++echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
++fi
++
++fi
++if test "$no_x" = yes; then
++  # Not all programs may use this symbol, but it does not hurt to define it.
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define X_DISPLAY_MISSING 1
++_ACEOF
++
++  X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
++else
++  if test -n "$x_includes"; then
++    X_CFLAGS="$X_CFLAGS -I$x_includes"
++  fi
++
++  # It would also be nice to do this for all -L options, not just this one.
++  if test -n "$x_libraries"; then
++    X_LIBS="$X_LIBS -L$x_libraries"
++    # For Solaris; some versions of Sun CC require a space after -R and
++    # others require no space.  Words are not sufficient . . . .
++    case `(uname -sr) 2>/dev/null` in
++    "SunOS 5"*)
++      echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
++echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
++      ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
++      cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_R_nospace=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_R_nospace=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++      if test $ac_R_nospace = yes; then
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	X_LIBS="$X_LIBS -R$x_libraries"
++      else
++	LIBS="$ac_xsave_LIBS -R $x_libraries"
++	cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_R_space=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_R_space=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	if test $ac_R_space = yes; then
++	  echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	  X_LIBS="$X_LIBS -R $x_libraries"
++	else
++	  echo "$as_me:$LINENO: result: neither works" >&5
++echo "${ECHO_T}neither works" >&6
++	fi
++      fi
++      LIBS=$ac_xsave_LIBS
++    esac
++  fi
++
++  # Check for system-dependent libraries X programs must link with.
++  # Do this before checking for the system-independent R6 libraries
++  # (-lICE), since we may need -lsocket or whatever for X linking.
++
++  if test "$ISC" = yes; then
++    X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
++  else
++    # Martyn Johnson says this is needed for Ultrix, if the X
++    # libraries were built with DECnet support.  And Karl Berry says
++    # the Alpha needs dnet_stub (dnet does not exist).
++    ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
++    cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char XOpenDisplay ();
++int
++main ()
++{
++XOpenDisplay ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  :
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
++echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
++if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ldnet  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dnet_ntoa ();
++int
++main ()
++{
++dnet_ntoa ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_dnet_dnet_ntoa=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_dnet_dnet_ntoa=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
++echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
++if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
++  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
++fi
++
++    if test $ac_cv_lib_dnet_dnet_ntoa = no; then
++      echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
++echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
++if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ldnet_stub  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dnet_ntoa ();
++int
++main ()
++{
++dnet_ntoa ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_dnet_stub_dnet_ntoa=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_dnet_stub_dnet_ntoa=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
++echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
++if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
++  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
++fi
++
++    fi
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++    LIBS="$ac_xsave_LIBS"
++
++    # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
++    # to get the SysV transport functions.
++    # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
++    # needs -lnsl.
++    # The nsl library prevents programs from opening the X display
++    # on Irix 5.2, according to T.E. Dickey.
++    # The functions gethostbyname, getservbyname, and inet_addr are
++    # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
++    echo "$as_me:$LINENO: checking for gethostbyname" >&5
++echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
++if test "${ac_cv_func_gethostbyname+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define gethostbyname innocuous_gethostbyname
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char gethostbyname (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef gethostbyname
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char gethostbyname ();
++/* 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_gethostbyname) || defined (__stub___gethostbyname)
++choke me
++#else
++char (*f) () = gethostbyname;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != gethostbyname;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_gethostbyname=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_gethostbyname=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
++echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
++
++    if test $ac_cv_func_gethostbyname = no; then
++      echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
++echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
++if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-lnsl  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* 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;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_nsl_gethostbyname=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_nsl_gethostbyname=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
++echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
++if test $ac_cv_lib_nsl_gethostbyname = yes; then
++  X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
++fi
++
++      if test $ac_cv_lib_nsl_gethostbyname = no; then
++	echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
++echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
++if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-lbsd  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* 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;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_bsd_gethostbyname=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_bsd_gethostbyname=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
++echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
++if test $ac_cv_lib_bsd_gethostbyname = yes; then
++  X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
++fi
++
++      fi
++    fi
++
++    # lieder@skyler.mavd.honeywell.com says without -lsocket,
++    # socket/setsockopt and other routines are undefined under SCO ODT
++    # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
++    # on later versions), says Simon Leinen: it contains gethostby*
++    # variants that don't use the name server (or something).  -lsocket
++    # must be given before -lnsl if both are needed.  We assume that
++    # if connect needs -lnsl, so does gethostbyname.
++    echo "$as_me:$LINENO: checking for connect" >&5
++echo $ECHO_N "checking for connect... $ECHO_C" >&6
++if test "${ac_cv_func_connect+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define connect to an innocuous variant, in case <limits.h> declares connect.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define connect innocuous_connect
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char connect (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef connect
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char connect ();
++/* 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_connect) || defined (__stub___connect)
++choke me
++#else
++char (*f) () = connect;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != connect;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_connect=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_connect=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
++echo "${ECHO_T}$ac_cv_func_connect" >&6
++
++    if test $ac_cv_func_connect = no; then
++      echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
++echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
++if test "${ac_cv_lib_socket_connect+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char connect ();
++int
++main ()
++{
++connect ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_socket_connect=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_socket_connect=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
++echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
++if test $ac_cv_lib_socket_connect = yes; then
++  X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
++fi
++
++    fi
++
++    # Guillermo Gomez says -lposix is necessary on A/UX.
++    echo "$as_me:$LINENO: checking for remove" >&5
++echo $ECHO_N "checking for remove... $ECHO_C" >&6
++if test "${ac_cv_func_remove+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define remove to an innocuous variant, in case <limits.h> declares remove.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define remove innocuous_remove
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char remove (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef remove
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char remove ();
++/* 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_remove) || defined (__stub___remove)
++choke me
++#else
++char (*f) () = remove;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != remove;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_remove=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_remove=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
++echo "${ECHO_T}$ac_cv_func_remove" >&6
++
++    if test $ac_cv_func_remove = no; then
++      echo "$as_me:$LINENO: checking for remove in -lposix" >&5
++echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
++if test "${ac_cv_lib_posix_remove+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-lposix  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char remove ();
++int
++main ()
++{
++remove ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_posix_remove=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_posix_remove=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
++echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
++if test $ac_cv_lib_posix_remove = yes; then
++  X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
++fi
++
++    fi
++
++    # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
++    echo "$as_me:$LINENO: checking for shmat" >&5
++echo $ECHO_N "checking for shmat... $ECHO_C" >&6
++if test "${ac_cv_func_shmat+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define shmat innocuous_shmat
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char shmat (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef shmat
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char shmat ();
++/* 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_shmat) || defined (__stub___shmat)
++choke me
++#else
++char (*f) () = shmat;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != shmat;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_shmat=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_shmat=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
++echo "${ECHO_T}$ac_cv_func_shmat" >&6
++
++    if test $ac_cv_func_shmat = no; then
++      echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
++echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
++if test "${ac_cv_lib_ipc_shmat+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-lipc  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char shmat ();
++int
++main ()
++{
++shmat ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_ipc_shmat=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_ipc_shmat=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
++echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
++if test $ac_cv_lib_ipc_shmat = yes; then
++  X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
++fi
++
++    fi
++  fi
++
++  # Check for libraries that X11R6 Xt/Xaw programs need.
++  ac_save_LDFLAGS=$LDFLAGS
++  test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
++  # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
++  # check for ICE first), but we must link in the order -lSM -lICE or
++  # we get undefined symbols.  So assume we have SM if we have ICE.
++  # These have to be linked with before -lX11, unlike the other
++  # libraries we check for below, so use a different variable.
++  # John Interrante, Karl Berry
++  echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
++echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
++if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-lICE $X_EXTRA_LIBS $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char IceConnectionNumber ();
++int
++main ()
++{
++IceConnectionNumber ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_ICE_IceConnectionNumber=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_ICE_IceConnectionNumber=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
++echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
++if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
++  X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
++fi
++
++  LDFLAGS=$ac_save_LDFLAGS
++
++fi
++
++
++# try to figure out if we need any additional ld flags, like -R
++# and yes, the autoconf X test is utterly broken
++if test "$no_x" != yes; then
++	echo "$as_me:$LINENO: checking for special X linker flags" >&5
++echo $ECHO_N "checking for special X linker flags... $ECHO_C" >&6
++if test "${krb_cv_sys_x_libs_rpath+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++	ac_save_libs="$LIBS"
++	ac_save_cflags="$CFLAGS"
++	CFLAGS="$CFLAGS $X_CFLAGS"
++	krb_cv_sys_x_libs_rpath=""
++	krb_cv_sys_x_libs=""
++	for rflag in "" "-R" "-R " "-rpath "; do
++		if test "$rflag" = ""; then
++			foo="$X_LIBS"
++		else
++			foo=""
++			for flag in $X_LIBS; do
++			case $flag in
++			-L*)
++				foo="$foo $flag `echo $flag | sed \"s/-L/$rflag/\"`"
++				;;
++			*)
++				foo="$foo $flag"
++				;;
++			esac
++			done
++		fi
++		LIBS="$ac_save_libs $foo $X_PRE_LIBS -lX11 $X_EXTRA_LIBS"
++		if test "$cross_compiling" = yes; then
++  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
++See \`config.log' for more details." >&5
++echo "$as_me: error: cannot run test program while cross compiling
++See \`config.log' for more details." >&2;}
++   { (exit 1); exit 1; }; }
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++		#include <X11/Xlib.h>
++		foo()
++		{
++		XOpenDisplay(NULL);
++		}
++		main()
++		{
++		return 0;
++		}
++		
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  krb_cv_sys_x_libs_rpath="$rflag"; krb_cv_sys_x_libs="$foo"; break
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++( exit $ac_status )
++:
++fi
++rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++	done
++	LIBS="$ac_save_libs"
++	CFLAGS="$ac_save_cflags"
++	
++fi
++echo "$as_me:$LINENO: result: $krb_cv_sys_x_libs_rpath" >&5
++echo "${ECHO_T}$krb_cv_sys_x_libs_rpath" >&6
++	X_LIBS="$krb_cv_sys_x_libs"
++fi
++
++
++
++
++if test "$no_x" != yes; then
++  HAVE_X_TRUE=
++  HAVE_X_FALSE='#'
++else
++  HAVE_X_TRUE='#'
++  HAVE_X_FALSE=
++fi
++
++
++
++save_CFLAGS="$CFLAGS"
++CFLAGS="$X_CFLAGS $CFLAGS"
++save_LIBS="$LIBS"
++LIBS="$X_PRE_LIBS $X_EXTRA_LIBS $LIBS"
++save_LDFLAGS="$LDFLAGS"
++LDFLAGS="$LDFLAGS $X_LIBS"
++
++
++
++
++
++echo "$as_me:$LINENO: checking for XauWriteAuth" >&5
++echo $ECHO_N "checking for XauWriteAuth... $ECHO_C" >&6
++if test "${ac_cv_funclib_XauWriteAuth+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_XauWriteAuth\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" X11 Xau; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++XauWriteAuth()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_XauWriteAuth=$ac_lib; else ac_cv_funclib_XauWriteAuth=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_XauWriteAuth=\${ac_cv_funclib_XauWriteAuth-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_XauWriteAuth"
++
++if false; then
++	
++for ac_func in XauWriteAuth
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# XauWriteAuth
++eval "ac_tr_func=HAVE_`echo XauWriteAuth | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_XauWriteAuth=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_XauWriteAuth=yes"
++	eval "LIB_XauWriteAuth="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_XauWriteAuth=no"
++	eval "LIB_XauWriteAuth="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_XauWriteAuth=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++ac_xxx="$LIBS"
++LIBS="$LIB_XauWriteAuth $LIBS"
++
++
++
++echo "$as_me:$LINENO: checking for XauReadAuth" >&5
++echo $ECHO_N "checking for XauReadAuth... $ECHO_C" >&6
++if test "${ac_cv_funclib_XauReadAuth+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_XauReadAuth\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" X11 Xau; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++XauReadAuth()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_XauReadAuth=$ac_lib; else ac_cv_funclib_XauReadAuth=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_XauReadAuth=\${ac_cv_funclib_XauReadAuth-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_XauReadAuth"
++
++if false; then
++	
++for ac_func in XauReadAuth
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# XauReadAuth
++eval "ac_tr_func=HAVE_`echo XauReadAuth | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_XauReadAuth=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_XauReadAuth=yes"
++	eval "LIB_XauReadAuth="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_XauReadAuth=no"
++	eval "LIB_XauReadAuth="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_XauReadAuth=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++LIBS="$LIB_XauReadAauth $LIBS"
++
++
++
++echo "$as_me:$LINENO: checking for XauFileName" >&5
++echo $ECHO_N "checking for XauFileName... $ECHO_C" >&6
++if test "${ac_cv_funclib_XauFileName+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_XauFileName\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" X11 Xau; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++XauFileName()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_XauFileName=$ac_lib; else ac_cv_funclib_XauFileName=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_XauFileName=\${ac_cv_funclib_XauFileName-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_XauFileName"
++
++if false; then
++	
++for ac_func in XauFileName
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# XauFileName
++eval "ac_tr_func=HAVE_`echo XauFileName | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_XauFileName=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_XauFileName=yes"
++	eval "LIB_XauFileName="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_XauFileName=no"
++	eval "LIB_XauFileName="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_XauFileName=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++LIBS="$ac_xxx"
++
++case "$ac_cv_funclib_XauWriteAuth" in
++yes)	;;
++no)	;;
++*)	if test "$ac_cv_funclib_XauReadAuth" = yes; then
++		if test "$ac_cv_funclib_XauFileName" = yes; then
++			LIB_XauReadAuth="$LIB_XauWriteAuth"
++		else
++			LIB_XauReadAuth="$LIB_XauWriteAuth $LIB_XauFileName"
++		fi
++	else
++		if test "$ac_cv_funclib_XauFileName" = yes; then
++			LIB_XauReadAuth="$LIB_XauReadAuth $LIB_XauWriteAuth"
++		else
++			LIB_XauReadAuth="$LIB_XauReadAuth $LIB_XauWriteAuth $LIB_XauFileName"
++		fi
++	fi
++	;;
++esac
++
++if test "$AUTOMAKE" != ""; then
++	
++
++if test "$ac_cv_func_XauWriteAuth" != "yes"; then
++  NEED_WRITEAUTH_TRUE=
++  NEED_WRITEAUTH_FALSE='#'
++else
++  NEED_WRITEAUTH_TRUE='#'
++  NEED_WRITEAUTH_FALSE=
++fi
++
++else
++	
++	
++	if test "$ac_cv_func_XauWriteAuth" != "yes"; then
++		NEED_WRITEAUTH_TRUE=
++		NEED_WRITEAUTH_FALSE='#'
++	else
++		NEED_WRITEAUTH_TRUE='#'
++		NEED_WRITEAUTH_FALSE=
++	fi
++fi
++CFLAGS=$save_CFLAGS
++LIBS=$save_LIBS
++LDFLAGS=$save_LDFLAGS
++
++
++
++echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
++echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
++if test "${ac_cv_c_const+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++/* FIXME: Include the comments suggested by Paul. */
++#ifndef __cplusplus
++  /* Ultrix mips cc rejects this.  */
++  typedef int charset[2];
++  const charset x;
++  /* SunOS 4.1.1 cc rejects this.  */
++  char const *const *ccp;
++  char **p;
++  /* NEC SVR4.0.2 mips cc rejects this.  */
++  struct point {int x, y;};
++  static struct point const zero = {0,0};
++  /* AIX XL C 1.02.0.0 rejects this.
++     It does not let you subtract one const X* pointer from another in
++     an arm of an if-expression whose if-part is not a constant
++     expression */
++  const char *g = "string";
++  ccp = &g + (g ? g-g : 0);
++  /* HPUX 7.0 cc rejects these. */
++  ++ccp;
++  p = (char**) ccp;
++  ccp = (char const *const *) p;
++  { /* SCO 3.2v4 cc rejects this.  */
++    char *t;
++    char const *s = 0 ? (char *) 0 : (char const *) 0;
++
++    *t++ = 0;
++  }
++  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
++    int x[] = {25, 17};
++    const int *foo = &x[0];
++    ++foo;
++  }
++  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
++    typedef const int *iptr;
++    iptr p = 0;
++    ++p;
++  }
++  { /* AIX XL C 1.02.0.0 rejects this saying
++       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
++    struct s { int j; const int *ap[3]; };
++    struct s *b; b->j = 5;
++  }
++  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
++    const int foo = 10;
++  }
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_c_const=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_c_const=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
++echo "${ECHO_T}$ac_cv_c_const" >&6
++if test $ac_cv_c_const = no; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define const 
++_ACEOF
++
++fi
++
++echo "$as_me:$LINENO: checking for off_t" >&5
++echo $ECHO_N "checking for off_t... $ECHO_C" >&6
++if test "${ac_cv_type_off_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++int
++main ()
++{
++if ((off_t *) 0)
++  return 0;
++if (sizeof (off_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_off_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_off_t=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
++echo "${ECHO_T}$ac_cv_type_off_t" >&6
++if test $ac_cv_type_off_t = yes; then
++  :
++else
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define off_t long
++_ACEOF
++
++fi
++
++echo "$as_me:$LINENO: checking for mode_t" >&5
++echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
++if test "${ac_cv_type_mode_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <sys/types.h>
++#if STDC_HEADERS
++#include <stdlib.h>
++#include <stddef.h>
++#endif
++
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  $EGREP "mode_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
++  ac_cv_type_mode_t=yes
++else
++  ac_cv_type_mode_t=no
++fi
++rm -f conftest*
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
++echo "${ECHO_T}$ac_cv_type_mode_t" >&6
++if test $ac_cv_type_mode_t = no; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define mode_t unsigned short
++_ACEOF
++
++fi
++
++echo "$as_me:$LINENO: checking for sig_atomic_t" >&5
++echo $ECHO_N "checking for sig_atomic_t... $ECHO_C" >&6
++if test "${ac_cv_type_sig_atomic_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <sys/types.h>
++#if STDC_HEADERS
++#include <stdlib.h>
++#include <stddef.h>
++#endif
++#include <signal.h>
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  $EGREP "sig_atomic_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
++  ac_cv_type_sig_atomic_t=yes
++else
++  ac_cv_type_sig_atomic_t=no
++fi
++rm -f conftest*
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_sig_atomic_t" >&5
++echo "${ECHO_T}$ac_cv_type_sig_atomic_t" >&6
++if test $ac_cv_type_sig_atomic_t = no; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define sig_atomic_t int
++_ACEOF
++
++fi
++
++
++
++cv=`echo "long long" | sed 'y%./+- %__p__%'`
++echo "$as_me:$LINENO: checking for long long" >&5
++echo $ECHO_N "checking for long long... $ECHO_C" >&6
++if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <sys/types.h>
++#if STDC_HEADERS
++#include <stdlib.h>
++#include <stddef.h>
++#endif
++
++int
++main ()
++{
++long long foo;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_type_$cv=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_type_$cv=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++ac_foo=`eval echo \\$ac_cv_type_$cv`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++  ac_tr_hdr=HAVE_`echo long long | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
++if false; then
++	echo "$as_me:$LINENO: checking for long long" >&5
++echo $ECHO_N "checking for long long... $ECHO_C" >&6
++if test "${ac_cv_type_long_long+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++int
++main ()
++{
++if ((long long *) 0)
++  return 0;
++if (sizeof (long long))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_long_long=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_long_long=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
++echo "${ECHO_T}$ac_cv_type_long_long" >&6
++if test $ac_cv_type_long_long = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_LONG_LONG 1
++_ACEOF
++
++
++fi
++
++fi
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_hdr 1
++_ACEOF
++
++fi
++
++echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
++echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
++if test "${ac_cv_header_time+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <sys/types.h>
++#include <sys/time.h>
++#include <time.h>
++
++int
++main ()
++{
++if ((struct tm *) 0)
++return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_header_time=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_header_time=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
++echo "${ECHO_T}$ac_cv_header_time" >&6
++if test $ac_cv_header_time = yes; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define TIME_WITH_SYS_TIME 1
++_ACEOF
++
++fi
++
++echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
++echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
++if test "${ac_cv_struct_tm+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <sys/types.h>
++#include <time.h>
++
++int
++main ()
++{
++struct tm *tp; tp->tm_sec;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_struct_tm=time.h
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_struct_tm=sys/time.h
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
++echo "${ECHO_T}$ac_cv_struct_tm" >&6
++if test $ac_cv_struct_tm = sys/time.h; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define TM_IN_SYS_TIME 1
++_ACEOF
++
++fi
++
++
++echo "$as_me:$LINENO: checking for ANSI C header files" >&5
++echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
++if test "${ac_cv_header_stdc+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdlib.h>
++#include <stdarg.h>
++#include <string.h>
++#include <float.h>
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_header_stdc=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_header_stdc=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++
++if test $ac_cv_header_stdc = yes; then
++  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <string.h>
++
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  $EGREP "memchr" >/dev/null 2>&1; then
++  :
++else
++  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 <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdlib.h>
++
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  $EGREP "free" >/dev/null 2>&1; then
++  :
++else
++  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 <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <ctype.h>
++#if ((' ' & 0x0FF) == 0x020)
++# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
++# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
++#else
++# define ISLOWER(c) \
++		   (('a' <= (c) && (c) <= 'i') \
++		     || ('j' <= (c) && (c) <= 'r') \
++		     || ('s' <= (c) && (c) <= 'z'))
++# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
++#endif
++
++#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);
++}
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  :
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++( exit $ac_status )
++ac_cv_header_stdc=no
++fi
++rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++fi
++fi
++echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
++echo "${ECHO_T}$ac_cv_header_stdc" >&6
++if test $ac_cv_header_stdc = yes; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define STDC_HEADERS 1
++_ACEOF
++
++fi
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++for ac_header in \
++	arpa/ftp.h				\
++	arpa/telnet.h				\
++	bind/bitypes.h				\
++	bsdsetjmp.h				\
++	curses.h				\
++	dlfcn.h					\
++	fnmatch.h				\
++	inttypes.h				\
++	io.h					\
++	libutil.h				\
++	limits.h				\
++	maillock.h				\
++	netgroup.h				\
++	netinet/in6_machtypes.h			\
++	netinfo/ni.h				\
++	pthread.h				\
++	pty.h					\
++	sac.h					\
++	security/pam_modules.h			\
++	sgtty.h					\
++	siad.h					\
++	signal.h				\
++	stropts.h				\
++	sys/bitypes.h				\
++	sys/category.h				\
++	sys/file.h				\
++	sys/filio.h				\
++	sys/ioccom.h				\
++	sys/mman.h				\
++	sys/pty.h				\
++	sys/ptyio.h				\
++	sys/ptyvar.h				\
++	sys/select.h				\
++	sys/str_tty.h				\
++	sys/stream.h				\
++	sys/stropts.h				\
++	sys/strtty.h				\
++	sys/syscall.h				\
++	sys/termio.h				\
++	sys/timeb.h				\
++	sys/times.h				\
++	sys/un.h				\
++	term.h					\
++	termcap.h				\
++	termio.h				\
++	time.h					\
++	tmpdir.h				\
++	udb.h					\
++	utmp.h					\
++	utmpx.h					\
++
++do
++as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++else
++  # Is the header compilable?
++echo "$as_me:$LINENO: checking $ac_header usability" >&5
++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++@%:@include <$ac_header>
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_header_compiler=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_header_compiler=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
++echo "${ECHO_T}$ac_header_compiler" >&6
++
++# Is the header present?
++echo "$as_me:$LINENO: checking $ac_header presence" >&5
++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@include <$ac_header>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  ac_header_preproc=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++  ac_header_preproc=no
++fi
++rm -f conftest.err conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
++echo "${ECHO_T}$ac_header_preproc" >&6
++
++# So?  What about this header?
++case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
++  yes:no: )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
++echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
++    ac_header_preproc=yes
++    ;;
++  no:yes:* )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
++echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
++echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
++echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
++echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
++echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
++    (
++      cat <<\_ASBOX
++@%:@@%:@ -------------------------------------- @%:@@%:@
++@%:@@%:@ Report this to heimdal-bugs@pdc.kth.se @%:@@%:@
++@%:@@%:@ -------------------------------------- @%:@@%:@
++_ASBOX
++    ) |
++      sed "s/^/$as_me: WARNING:     /" >&2
++    ;;
++esac
++echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  eval "$as_ac_Header=\$ac_header_preproc"
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++
++fi
++if test `eval echo '${'$as_ac_Header'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++
++done
++
++
++# Check whether --enable-netinfo or --disable-netinfo was given.
++if test "${enable_netinfo+set}" = set; then
++  enableval="$enable_netinfo"
++  
++fi; 
++
++if test "$ac_cv_header_netinfo_ni_h" = yes -a "$enable_netinfo" = yes; then
++       
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_NETINFO 1
++_ACEOF
++
++fi
++
++
++
++
++
++echo "$as_me:$LINENO: checking for logwtmp" >&5
++echo $ECHO_N "checking for logwtmp... $ECHO_C" >&6
++if test "${ac_cv_funclib_logwtmp+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_logwtmp\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" util; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++logwtmp()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_logwtmp=$ac_lib; else ac_cv_funclib_logwtmp=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_logwtmp=\${ac_cv_funclib_logwtmp-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_logwtmp"
++
++if false; then
++	
++for ac_func in logwtmp
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# logwtmp
++eval "ac_tr_func=HAVE_`echo logwtmp | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_logwtmp=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_logwtmp=yes"
++	eval "LIB_logwtmp="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_logwtmp=no"
++	eval "LIB_logwtmp="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_logwtmp=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++
++
++
++echo "$as_me:$LINENO: checking for logout" >&5
++echo $ECHO_N "checking for logout... $ECHO_C" >&6
++if test "${ac_cv_funclib_logout+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_logout\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" util; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++logout()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_logout=$ac_lib; else ac_cv_funclib_logout=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_logout=\${ac_cv_funclib_logout-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_logout"
++
++if false; then
++	
++for ac_func in logout
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# logout
++eval "ac_tr_func=HAVE_`echo logout | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_logout=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_logout=yes"
++	eval "LIB_logout="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_logout=no"
++	eval "LIB_logout="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_logout=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++
++
++
++echo "$as_me:$LINENO: checking for openpty" >&5
++echo $ECHO_N "checking for openpty... $ECHO_C" >&6
++if test "${ac_cv_funclib_openpty+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_openpty\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" util; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++openpty()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_openpty=$ac_lib; else ac_cv_funclib_openpty=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_openpty=\${ac_cv_funclib_openpty-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_openpty"
++
++if false; then
++	
++for ac_func in openpty
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# openpty
++eval "ac_tr_func=HAVE_`echo openpty | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_openpty=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_openpty=yes"
++	eval "LIB_openpty="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_openpty=no"
++	eval "LIB_openpty="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_openpty=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++
++
++
++echo "$as_me:$LINENO: checking for tgetent" >&5
++echo $ECHO_N "checking for tgetent... $ECHO_C" >&6
++if test "${ac_cv_funclib_tgetent+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_tgetent\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" termcap ncurses curses; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++tgetent()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_tgetent=$ac_lib; else ac_cv_funclib_tgetent=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_tgetent=\${ac_cv_funclib_tgetent-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_tgetent"
++
++if false; then
++	
++for ac_func in tgetent
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# tgetent
++eval "ac_tr_func=HAVE_`echo tgetent | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_tgetent=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_tgetent=yes"
++	eval "LIB_tgetent="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_tgetent=no"
++	eval "LIB_tgetent="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_tgetent=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++for ac_func in 				\
++	_getpty					\
++	_scrsize				\
++	fcntl					\
++	grantpt					\
++	mktime					\
++	ptsname					\
++	rand					\
++	revoke					\
++	select					\
++	setitimer				\
++	setpcred				\
++	setpgid					\
++	setproctitle				\
++	setregid				\
++	setresgid				\
++	setresuid				\
++	setreuid				\
++	setsid					\
++	setutent				\
++	sigaction				\
++	strstr					\
++	timegm					\
++	ttyname					\
++	ttyslot					\
++	umask					\
++	unlockpt				\
++	vhangup					\
++	yp_get_default_domain			\
++
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++
++
++
++for ac_header in stdlib.h unistd.h
++do
++as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++else
++  # Is the header compilable?
++echo "$as_me:$LINENO: checking $ac_header usability" >&5
++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++@%:@include <$ac_header>
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_header_compiler=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_header_compiler=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
++echo "${ECHO_T}$ac_header_compiler" >&6
++
++# Is the header present?
++echo "$as_me:$LINENO: checking $ac_header presence" >&5
++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@include <$ac_header>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  ac_header_preproc=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++  ac_header_preproc=no
++fi
++rm -f conftest.err conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
++echo "${ECHO_T}$ac_header_preproc" >&6
++
++# So?  What about this header?
++case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
++  yes:no: )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
++echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
++    ac_header_preproc=yes
++    ;;
++  no:yes:* )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
++echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
++echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
++echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
++echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
++echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
++    (
++      cat <<\_ASBOX
++@%:@@%:@ -------------------------------------- @%:@@%:@
++@%:@@%:@ Report this to heimdal-bugs@pdc.kth.se @%:@@%:@
++@%:@@%:@ -------------------------------------- @%:@@%:@
++_ASBOX
++    ) |
++      sed "s/^/$as_me: WARNING:     /" >&2
++    ;;
++esac
++echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  eval "$as_ac_Header=\$ac_header_preproc"
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++
++fi
++if test `eval echo '${'$as_ac_Header'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++
++done
++
++
++for ac_func in getpagesize
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++echo "$as_me:$LINENO: checking for working mmap" >&5
++echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
++if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test "$cross_compiling" = yes; then
++  ac_cv_func_mmap_fixed_mapped=no
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++/* malloc might have been renamed as rpl_malloc. */
++#undef malloc
++
++/* Thanks to Mike Haertel and Jim Avera for this test.
++   Here is a matrix of mmap possibilities:
++	mmap private not fixed
++	mmap private fixed at somewhere currently unmapped
++	mmap private fixed at somewhere already mapped
++	mmap shared not fixed
++	mmap shared fixed at somewhere currently unmapped
++	mmap shared fixed at somewhere already mapped
++   For private mappings, we should verify that changes cannot be read()
++   back from the file, nor mmap's back from the file at a different
++   address.  (There have been systems where private was not correctly
++   implemented like the infamous i386 svr4.0, and systems where the
++   VM page cache was not coherent with the file system buffer cache
++   like early versions of FreeBSD and possibly contemporary NetBSD.)
++   For shared mappings, we should conversely verify that changes get
++   propagated back to all the places they're supposed to be.
++
++   Grep wants private fixed already mapped.
++   The main things grep needs to know about mmap are:
++   * does it exist and is it safe to write into the mmap'd area
++   * how to use it (BSD variants)  */
++
++#include <fcntl.h>
++#include <sys/mman.h>
++
++#if !STDC_HEADERS && !HAVE_STDLIB_H
++char *malloc ();
++#endif
++
++/* This mess was copied from the GNU getpagesize.h.  */
++#if !HAVE_GETPAGESIZE
++/* Assume that all systems that can run configure have sys/param.h.  */
++# if !HAVE_SYS_PARAM_H
++#  define HAVE_SYS_PARAM_H 1
++# endif
++
++# ifdef _SC_PAGESIZE
++#  define getpagesize() sysconf(_SC_PAGESIZE)
++# else /* no _SC_PAGESIZE */
++#  if HAVE_SYS_PARAM_H
++#   include <sys/param.h>
++#   ifdef EXEC_PAGESIZE
++#    define getpagesize() EXEC_PAGESIZE
++#   else /* no EXEC_PAGESIZE */
++#    ifdef NBPG
++#     define getpagesize() NBPG * CLSIZE
++#     ifndef CLSIZE
++#      define CLSIZE 1
++#     endif /* no CLSIZE */
++#    else /* no NBPG */
++#     ifdef NBPC
++#      define getpagesize() NBPC
++#     else /* no NBPC */
++#      ifdef PAGESIZE
++#       define getpagesize() PAGESIZE
++#      endif /* PAGESIZE */
++#     endif /* no NBPC */
++#    endif /* no NBPG */
++#   endif /* no EXEC_PAGESIZE */
++#  else /* no HAVE_SYS_PARAM_H */
++#   define getpagesize() 8192	/* punt totally */
++#  endif /* no HAVE_SYS_PARAM_H */
++# endif /* no _SC_PAGESIZE */
++
++#endif /* no HAVE_GETPAGESIZE */
++
++int
++main ()
++{
++  char *data, *data2, *data3;
++  int i, pagesize;
++  int fd;
++
++  pagesize = getpagesize ();
++
++  /* First, make a file with some known garbage in it. */
++  data = (char *) malloc (pagesize);
++  if (!data)
++    exit (1);
++  for (i = 0; i < pagesize; ++i)
++    *(data + i) = rand ();
++  umask (0);
++  fd = creat ("conftest.mmap", 0600);
++  if (fd < 0)
++    exit (1);
++  if (write (fd, data, pagesize) != pagesize)
++    exit (1);
++  close (fd);
++
++  /* Next, try to mmap the file at a fixed address which already has
++     something else allocated at it.  If we can, also make sure that
++     we see the same garbage.  */
++  fd = open ("conftest.mmap", O_RDWR);
++  if (fd < 0)
++    exit (1);
++  data2 = (char *) malloc (2 * pagesize);
++  if (!data2)
++    exit (1);
++  data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
++  if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
++		     MAP_PRIVATE | MAP_FIXED, fd, 0L))
++    exit (1);
++  for (i = 0; i < pagesize; ++i)
++    if (*(data + i) != *(data2 + i))
++      exit (1);
++
++  /* Finally, make sure that changes to the mapped area do not
++     percolate back to the file as seen by read().  (This is a bug on
++     some variants of i386 svr4.0.)  */
++  for (i = 0; i < pagesize; ++i)
++    *(data2 + i) = *(data2 + i) + 1;
++  data3 = (char *) malloc (pagesize);
++  if (!data3)
++    exit (1);
++  if (read (fd, data3, pagesize) != pagesize)
++    exit (1);
++  for (i = 0; i < pagesize; ++i)
++    if (*(data + i) != *(data3 + i))
++      exit (1);
++  close (fd);
++  exit (0);
++}
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_mmap_fixed_mapped=yes
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++( exit $ac_status )
++ac_cv_func_mmap_fixed_mapped=no
++fi
++rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
++echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
++if test $ac_cv_func_mmap_fixed_mapped = yes; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_MMAP 1
++_ACEOF
++
++fi
++rm -f conftest.mmap
++
++
++
++
++
++
++for ac_header in capability.h sys/capability.h
++do
++as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++else
++  # Is the header compilable?
++echo "$as_me:$LINENO: checking $ac_header usability" >&5
++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++@%:@include <$ac_header>
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_header_compiler=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_header_compiler=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
++echo "${ECHO_T}$ac_header_compiler" >&6
++
++# Is the header present?
++echo "$as_me:$LINENO: checking $ac_header presence" >&5
++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@include <$ac_header>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  ac_header_preproc=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++  ac_header_preproc=no
++fi
++rm -f conftest.err conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
++echo "${ECHO_T}$ac_header_preproc" >&6
++
++# So?  What about this header?
++case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
++  yes:no: )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
++echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
++    ac_header_preproc=yes
++    ;;
++  no:yes:* )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
++echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
++echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
++echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
++echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
++echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
++    (
++      cat <<\_ASBOX
++@%:@@%:@ -------------------------------------- @%:@@%:@
++@%:@@%:@ Report this to heimdal-bugs@pdc.kth.se @%:@@%:@
++@%:@@%:@ -------------------------------------- @%:@@%:@
++_ASBOX
++    ) |
++      sed "s/^/$as_me: WARNING:     /" >&2
++    ;;
++esac
++echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  eval "$as_ac_Header=\$ac_header_preproc"
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++
++fi
++if test `eval echo '${'$as_ac_Header'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++
++done
++
++
++
++
++for ac_func in sgi_getcapabilitybyname cap_set_proc
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for getpwnam_r" >&5
++echo $ECHO_N "checking for getpwnam_r... $ECHO_C" >&6
++if test "${ac_cv_funclib_getpwnam_r+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_getpwnam_r\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" c_r; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++getpwnam_r()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_getpwnam_r=$ac_lib; else ac_cv_funclib_getpwnam_r=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_getpwnam_r=\${ac_cv_funclib_getpwnam_r-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_getpwnam_r"
++
++if false; then
++	
++for ac_func in getpwnam_r
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# getpwnam_r
++eval "ac_tr_func=HAVE_`echo getpwnam_r | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_getpwnam_r=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_getpwnam_r=yes"
++	eval "LIB_getpwnam_r="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_getpwnam_r=no"
++	eval "LIB_getpwnam_r="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_getpwnam_r=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test "$ac_cv_func_getpwnam_r" = yes; then
++	echo "$as_me:$LINENO: checking if getpwnam_r is posix" >&5
++echo $ECHO_N "checking if getpwnam_r is posix... $ECHO_C" >&6
++if test "${ac_cv_func_getpwnam_r_posix+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_libs="$LIBS"
++	LIBS="$LIBS $LIB_getpwnam_r"
++	if test "$cross_compiling" = yes; then
++  :
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#include <pwd.h>
++int main()
++{
++	struct passwd pw, *pwd;
++	return getpwnam_r("", &pw, NULL, 0, &pwd) < 0;
++}
++
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_getpwnam_r_posix=yes
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++( exit $ac_status )
++ac_cv_func_getpwnam_r_posix=no
++fi
++rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++LIBS="$ac_libs"
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getpwnam_r_posix" >&5
++echo "${ECHO_T}$ac_cv_func_getpwnam_r_posix" >&6
++if test "$ac_cv_func_getpwnam_r_posix" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define POSIX_GETPWNAM_R 1
++_ACEOF
++
++fi
++fi
++
++
++
++
++for ac_func in getudbnam setlim
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for ut_addr in struct utmp" >&5
++echo $ECHO_N "checking for ut_addr in struct utmp... $ECHO_C" >&6
++if test "${ac_cv_type_struct_utmp_ut_addr+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <utmp.h>
++int
++main ()
++{
++struct utmp x; x.ut_addr;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_utmp_ut_addr=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_struct_utmp_ut_addr=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_utmp_ut_addr" >&5
++echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_addr" >&6
++if test "$ac_cv_type_struct_utmp_ut_addr" = yes; then
++	
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_STRUCT_UTMP_UT_ADDR 1
++_ACEOF
++
++	
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking for ut_host in struct utmp" >&5
++echo $ECHO_N "checking for ut_host in struct utmp... $ECHO_C" >&6
++if test "${ac_cv_type_struct_utmp_ut_host+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <utmp.h>
++int
++main ()
++{
++struct utmp x; x.ut_host;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_utmp_ut_host=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_struct_utmp_ut_host=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_utmp_ut_host" >&5
++echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_host" >&6
++if test "$ac_cv_type_struct_utmp_ut_host" = yes; then
++	
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_STRUCT_UTMP_UT_HOST 1
++_ACEOF
++
++	
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking for ut_id in struct utmp" >&5
++echo $ECHO_N "checking for ut_id in struct utmp... $ECHO_C" >&6
++if test "${ac_cv_type_struct_utmp_ut_id+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <utmp.h>
++int
++main ()
++{
++struct utmp x; x.ut_id;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_utmp_ut_id=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_struct_utmp_ut_id=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_utmp_ut_id" >&5
++echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_id" >&6
++if test "$ac_cv_type_struct_utmp_ut_id" = yes; then
++	
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_STRUCT_UTMP_UT_ID 1
++_ACEOF
++
++	
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking for ut_pid in struct utmp" >&5
++echo $ECHO_N "checking for ut_pid in struct utmp... $ECHO_C" >&6
++if test "${ac_cv_type_struct_utmp_ut_pid+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <utmp.h>
++int
++main ()
++{
++struct utmp x; x.ut_pid;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_utmp_ut_pid=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_struct_utmp_ut_pid=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_utmp_ut_pid" >&5
++echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_pid" >&6
++if test "$ac_cv_type_struct_utmp_ut_pid" = yes; then
++	
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_STRUCT_UTMP_UT_PID 1
++_ACEOF
++
++	
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking for ut_type in struct utmp" >&5
++echo $ECHO_N "checking for ut_type in struct utmp... $ECHO_C" >&6
++if test "${ac_cv_type_struct_utmp_ut_type+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <utmp.h>
++int
++main ()
++{
++struct utmp x; x.ut_type;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_utmp_ut_type=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_struct_utmp_ut_type=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_utmp_ut_type" >&5
++echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_type" >&6
++if test "$ac_cv_type_struct_utmp_ut_type" = yes; then
++	
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_STRUCT_UTMP_UT_TYPE 1
++_ACEOF
++
++	
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking for ut_user in struct utmp" >&5
++echo $ECHO_N "checking for ut_user in struct utmp... $ECHO_C" >&6
++if test "${ac_cv_type_struct_utmp_ut_user+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <utmp.h>
++int
++main ()
++{
++struct utmp x; x.ut_user;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_utmp_ut_user=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_struct_utmp_ut_user=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_utmp_ut_user" >&5
++echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_user" >&6
++if test "$ac_cv_type_struct_utmp_ut_user" = yes; then
++	
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_STRUCT_UTMP_UT_USER 1
++_ACEOF
++
++	
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking for ut_exit in struct utmpx" >&5
++echo $ECHO_N "checking for ut_exit in struct utmpx... $ECHO_C" >&6
++if test "${ac_cv_type_struct_utmpx_ut_exit+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <utmpx.h>
++int
++main ()
++{
++struct utmpx x; x.ut_exit;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_utmpx_ut_exit=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_struct_utmpx_ut_exit=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_utmpx_ut_exit" >&5
++echo "${ECHO_T}$ac_cv_type_struct_utmpx_ut_exit" >&6
++if test "$ac_cv_type_struct_utmpx_ut_exit" = yes; then
++	
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_STRUCT_UTMPX_UT_EXIT 1
++_ACEOF
++
++	
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking for ut_syslen in struct utmpx" >&5
++echo $ECHO_N "checking for ut_syslen in struct utmpx... $ECHO_C" >&6
++if test "${ac_cv_type_struct_utmpx_ut_syslen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <utmpx.h>
++int
++main ()
++{
++struct utmpx x; x.ut_syslen;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_utmpx_ut_syslen=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_struct_utmpx_ut_syslen=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_utmpx_ut_syslen" >&5
++echo "${ECHO_T}$ac_cv_type_struct_utmpx_ut_syslen" >&6
++if test "$ac_cv_type_struct_utmpx_ut_syslen" = yes; then
++	
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_STRUCT_UTMPX_UT_SYSLEN 1
++_ACEOF
++
++	
++fi
++
++
++
++echo "$as_me:$LINENO: checking for int8_t" >&5
++echo $ECHO_N "checking for int8_t... $ECHO_C" >&6
++if test "${ac_cv_type_int8_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#ifdef HAVE_INTTYPES_H
++#include <inttypes.h>
++#endif
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_BITYPES_H
++#include <sys/bitypes.h>
++#endif
++#ifdef HAVE_BIND_BITYPES_H
++#include <bind/bitypes.h>
++#endif
++#ifdef HAVE_NETINET_IN6_MACHTYPES_H
++#include <netinet/in6_machtypes.h>
++#endif
++
++
++int
++main ()
++{
++if ((int8_t *) 0)
++  return 0;
++if (sizeof (int8_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_int8_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_int8_t=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_int8_t" >&5
++echo "${ECHO_T}$ac_cv_type_int8_t" >&6
++if test $ac_cv_type_int8_t = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_INT8_T 1
++_ACEOF
++
++
++fi
++echo "$as_me:$LINENO: checking for int16_t" >&5
++echo $ECHO_N "checking for int16_t... $ECHO_C" >&6
++if test "${ac_cv_type_int16_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#ifdef HAVE_INTTYPES_H
++#include <inttypes.h>
++#endif
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_BITYPES_H
++#include <sys/bitypes.h>
++#endif
++#ifdef HAVE_BIND_BITYPES_H
++#include <bind/bitypes.h>
++#endif
++#ifdef HAVE_NETINET_IN6_MACHTYPES_H
++#include <netinet/in6_machtypes.h>
++#endif
++
++
++int
++main ()
++{
++if ((int16_t *) 0)
++  return 0;
++if (sizeof (int16_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_int16_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_int16_t=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_int16_t" >&5
++echo "${ECHO_T}$ac_cv_type_int16_t" >&6
++if test $ac_cv_type_int16_t = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_INT16_T 1
++_ACEOF
++
++
++fi
++echo "$as_me:$LINENO: checking for int32_t" >&5
++echo $ECHO_N "checking for int32_t... $ECHO_C" >&6
++if test "${ac_cv_type_int32_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#ifdef HAVE_INTTYPES_H
++#include <inttypes.h>
++#endif
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_BITYPES_H
++#include <sys/bitypes.h>
++#endif
++#ifdef HAVE_BIND_BITYPES_H
++#include <bind/bitypes.h>
++#endif
++#ifdef HAVE_NETINET_IN6_MACHTYPES_H
++#include <netinet/in6_machtypes.h>
++#endif
++
++
++int
++main ()
++{
++if ((int32_t *) 0)
++  return 0;
++if (sizeof (int32_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_int32_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_int32_t=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_int32_t" >&5
++echo "${ECHO_T}$ac_cv_type_int32_t" >&6
++if test $ac_cv_type_int32_t = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_INT32_T 1
++_ACEOF
++
++
++fi
++echo "$as_me:$LINENO: checking for int64_t" >&5
++echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
++if test "${ac_cv_type_int64_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#ifdef HAVE_INTTYPES_H
++#include <inttypes.h>
++#endif
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_BITYPES_H
++#include <sys/bitypes.h>
++#endif
++#ifdef HAVE_BIND_BITYPES_H
++#include <bind/bitypes.h>
++#endif
++#ifdef HAVE_NETINET_IN6_MACHTYPES_H
++#include <netinet/in6_machtypes.h>
++#endif
++
++
++int
++main ()
++{
++if ((int64_t *) 0)
++  return 0;
++if (sizeof (int64_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_int64_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_int64_t=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
++echo "${ECHO_T}$ac_cv_type_int64_t" >&6
++if test $ac_cv_type_int64_t = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_INT64_T 1
++_ACEOF
++
++
++fi
++echo "$as_me:$LINENO: checking for u_int8_t" >&5
++echo $ECHO_N "checking for u_int8_t... $ECHO_C" >&6
++if test "${ac_cv_type_u_int8_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#ifdef HAVE_INTTYPES_H
++#include <inttypes.h>
++#endif
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_BITYPES_H
++#include <sys/bitypes.h>
++#endif
++#ifdef HAVE_BIND_BITYPES_H
++#include <bind/bitypes.h>
++#endif
++#ifdef HAVE_NETINET_IN6_MACHTYPES_H
++#include <netinet/in6_machtypes.h>
++#endif
++
++
++int
++main ()
++{
++if ((u_int8_t *) 0)
++  return 0;
++if (sizeof (u_int8_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_u_int8_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_u_int8_t=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_u_int8_t" >&5
++echo "${ECHO_T}$ac_cv_type_u_int8_t" >&6
++if test $ac_cv_type_u_int8_t = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_U_INT8_T 1
++_ACEOF
++
++
++fi
++echo "$as_me:$LINENO: checking for u_int16_t" >&5
++echo $ECHO_N "checking for u_int16_t... $ECHO_C" >&6
++if test "${ac_cv_type_u_int16_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#ifdef HAVE_INTTYPES_H
++#include <inttypes.h>
++#endif
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_BITYPES_H
++#include <sys/bitypes.h>
++#endif
++#ifdef HAVE_BIND_BITYPES_H
++#include <bind/bitypes.h>
++#endif
++#ifdef HAVE_NETINET_IN6_MACHTYPES_H
++#include <netinet/in6_machtypes.h>
++#endif
++
++
++int
++main ()
++{
++if ((u_int16_t *) 0)
++  return 0;
++if (sizeof (u_int16_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_u_int16_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_u_int16_t=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_u_int16_t" >&5
++echo "${ECHO_T}$ac_cv_type_u_int16_t" >&6
++if test $ac_cv_type_u_int16_t = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_U_INT16_T 1
++_ACEOF
++
++
++fi
++echo "$as_me:$LINENO: checking for u_int32_t" >&5
++echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
++if test "${ac_cv_type_u_int32_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#ifdef HAVE_INTTYPES_H
++#include <inttypes.h>
++#endif
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_BITYPES_H
++#include <sys/bitypes.h>
++#endif
++#ifdef HAVE_BIND_BITYPES_H
++#include <bind/bitypes.h>
++#endif
++#ifdef HAVE_NETINET_IN6_MACHTYPES_H
++#include <netinet/in6_machtypes.h>
++#endif
++
++
++int
++main ()
++{
++if ((u_int32_t *) 0)
++  return 0;
++if (sizeof (u_int32_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_u_int32_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_u_int32_t=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
++echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
++if test $ac_cv_type_u_int32_t = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_U_INT32_T 1
++_ACEOF
++
++
++fi
++echo "$as_me:$LINENO: checking for u_int64_t" >&5
++echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
++if test "${ac_cv_type_u_int64_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#ifdef HAVE_INTTYPES_H
++#include <inttypes.h>
++#endif
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_BITYPES_H
++#include <sys/bitypes.h>
++#endif
++#ifdef HAVE_BIND_BITYPES_H
++#include <bind/bitypes.h>
++#endif
++#ifdef HAVE_NETINET_IN6_MACHTYPES_H
++#include <netinet/in6_machtypes.h>
++#endif
++
++
++int
++main ()
++{
++if ((u_int64_t *) 0)
++  return 0;
++if (sizeof (u_int64_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_u_int64_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_u_int64_t=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
++echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
++if test $ac_cv_type_u_int64_t = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_U_INT64_T 1
++_ACEOF
++
++
++fi
++echo "$as_me:$LINENO: checking for uint8_t" >&5
++echo $ECHO_N "checking for uint8_t... $ECHO_C" >&6
++if test "${ac_cv_type_uint8_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#ifdef HAVE_INTTYPES_H
++#include <inttypes.h>
++#endif
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_BITYPES_H
++#include <sys/bitypes.h>
++#endif
++#ifdef HAVE_BIND_BITYPES_H
++#include <bind/bitypes.h>
++#endif
++#ifdef HAVE_NETINET_IN6_MACHTYPES_H
++#include <netinet/in6_machtypes.h>
++#endif
++
++
++int
++main ()
++{
++if ((uint8_t *) 0)
++  return 0;
++if (sizeof (uint8_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_uint8_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_uint8_t=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_uint8_t" >&5
++echo "${ECHO_T}$ac_cv_type_uint8_t" >&6
++if test $ac_cv_type_uint8_t = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_UINT8_T 1
++_ACEOF
++
++
++fi
++echo "$as_me:$LINENO: checking for uint16_t" >&5
++echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6
++if test "${ac_cv_type_uint16_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#ifdef HAVE_INTTYPES_H
++#include <inttypes.h>
++#endif
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_BITYPES_H
++#include <sys/bitypes.h>
++#endif
++#ifdef HAVE_BIND_BITYPES_H
++#include <bind/bitypes.h>
++#endif
++#ifdef HAVE_NETINET_IN6_MACHTYPES_H
++#include <netinet/in6_machtypes.h>
++#endif
++
++
++int
++main ()
++{
++if ((uint16_t *) 0)
++  return 0;
++if (sizeof (uint16_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_uint16_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_uint16_t=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_uint16_t" >&5
++echo "${ECHO_T}$ac_cv_type_uint16_t" >&6
++if test $ac_cv_type_uint16_t = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_UINT16_T 1
++_ACEOF
++
++
++fi
++echo "$as_me:$LINENO: checking for uint32_t" >&5
++echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
++if test "${ac_cv_type_uint32_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#ifdef HAVE_INTTYPES_H
++#include <inttypes.h>
++#endif
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_BITYPES_H
++#include <sys/bitypes.h>
++#endif
++#ifdef HAVE_BIND_BITYPES_H
++#include <bind/bitypes.h>
++#endif
++#ifdef HAVE_NETINET_IN6_MACHTYPES_H
++#include <netinet/in6_machtypes.h>
++#endif
++
++
++int
++main ()
++{
++if ((uint32_t *) 0)
++  return 0;
++if (sizeof (uint32_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_uint32_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_uint32_t=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
++echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
++if test $ac_cv_type_uint32_t = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_UINT32_T 1
++_ACEOF
++
++
++fi
++echo "$as_me:$LINENO: checking for uint64_t" >&5
++echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
++if test "${ac_cv_type_uint64_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#ifdef HAVE_INTTYPES_H
++#include <inttypes.h>
++#endif
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_BITYPES_H
++#include <sys/bitypes.h>
++#endif
++#ifdef HAVE_BIND_BITYPES_H
++#include <bind/bitypes.h>
++#endif
++#ifdef HAVE_NETINET_IN6_MACHTYPES_H
++#include <netinet/in6_machtypes.h>
++#endif
++
++
++int
++main ()
++{
++if ((uint64_t *) 0)
++  return 0;
++if (sizeof (uint64_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_uint64_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_uint64_t=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
++echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
++if test $ac_cv_type_uint64_t = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_UINT64_T 1
++_ACEOF
++
++
++fi
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for el_init" >&5
++echo $ECHO_N "checking for el_init... $ECHO_C" >&6
++if test "${ac_cv_funclib_el_init+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_el_init\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" edit; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib $LIB_tgetent $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++el_init()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_el_init=$ac_lib; else ac_cv_funclib_el_init=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_el_init=\${ac_cv_funclib_el_init-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_el_init"
++
++if false; then
++	
++for ac_func in el_init
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# el_init
++eval "ac_tr_func=HAVE_`echo el_init | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_el_init=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_el_init=yes"
++	eval "LIB_el_init="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_el_init=no"
++	eval "LIB_el_init="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_el_init=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test "$ac_cv_func_el_init" = yes ; then
++	echo "$as_me:$LINENO: checking for four argument el_init" >&5
++echo $ECHO_N "checking for four argument el_init... $ECHO_C" >&6
++if test "${ac_cv_func_el_init_four+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdio.h>
++			#include <histedit.h>
++int
++main ()
++{
++el_init("", NULL, NULL, NULL);
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_el_init_four=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_el_init_four=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_el_init_four" >&5
++echo "${ECHO_T}$ac_cv_func_el_init_four" >&6
++	if test "$ac_cv_func_el_init_four" = yes; then
++		
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_FOUR_VALUED_EL_INIT 1
++_ACEOF
++
++	fi
++fi
++
++
++ac_foo=no
++if test "$with_readline" = yes; then
++	:
++elif test "$ac_cv_func_readline" = yes; then
++	:
++elif test "$ac_cv_func_el_init" = yes; then
++	ac_foo=yes
++	DIR_readline="editline"
++	LIB_readline="\$(top_builddir)/lib/editline/libel_compat.la \$(LIB_el_init) \$(LIB_tgetent)"
++else
++	DIR_readline="editline"
++	LIB_readline="\$(top_builddir)/lib/editline/libeditline.la \$(LIB_tgetent)"
++fi
++
++
++if test "$ac_foo" = yes; then
++  el_compat_TRUE=
++  el_compat_FALSE='#'
++else
++  el_compat_TRUE='#'
++  el_compat_FALSE=
++fi
++
++
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_READLINE 1
++_ACEOF
++
++
++
++
++
++cat >>confdefs.h <<\_ACEOF
++@%:@define AUTHENTICATION 1
++_ACEOF
++
++cat >>confdefs.h <<\_ACEOF
++@%:@define ENCRYPTION 1
++_ACEOF
++
++cat >>confdefs.h <<\_ACEOF
++@%:@define DES_ENCRYPTION 1
++_ACEOF
++
++cat >>confdefs.h <<\_ACEOF
++@%:@define DIAGNOSTICS 1
++_ACEOF
++
++cat >>confdefs.h <<\_ACEOF
++@%:@define OLD_ENVIRON 1
++_ACEOF
++if false; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define ENV_HACK 1
++_ACEOF
++
++fi
++
++# Simple test for streamspty, based on the existance of getmsg(), alas
++# this breaks on SunOS4 which have streams but BSD-like ptys
++#
++# And also something wierd has happend with dec-osf1, fallback to bsd-ptys
++
++case "$host" in
++*-*-aix3*|*-*-sunos4*|*-*-osf*|*-*-hpux1[01]*)
++	;;
++*)
++	echo "$as_me:$LINENO: checking for getmsg" >&5
++echo $ECHO_N "checking for getmsg... $ECHO_C" >&6
++if test "${ac_cv_func_getmsg+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define getmsg to an innocuous variant, in case <limits.h> declares getmsg.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define getmsg innocuous_getmsg
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char getmsg (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef getmsg
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char getmsg ();
++/* 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_getmsg) || defined (__stub___getmsg)
++choke me
++#else
++char (*f) () = getmsg;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != getmsg;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_getmsg=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_getmsg=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getmsg" >&5
++echo "${ECHO_T}$ac_cv_func_getmsg" >&6
++
++	if test "$ac_cv_func_getmsg" = "yes"; then
++		echo "$as_me:$LINENO: checking if getmsg works" >&5
++echo $ECHO_N "checking if getmsg works... $ECHO_C" >&6
++if test "${ac_cv_func_getmsg_works+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test "$cross_compiling" = yes; then
++  ac_cv_func_getmsg_works=no
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++			#include <stdio.h>
++			#include <errno.h>
++
++			int main()
++			{
++			  int ret;
++			  ret = getmsg(open("/dev/null", 0), NULL, NULL, NULL);
++			  if(ret < 0 && errno == ENOSYS)
++			    return 1;
++			  return 0;
++			}
++			
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_getmsg_works=yes
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++( exit $ac_status )
++ac_cv_func_getmsg_works=no
++fi
++rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getmsg_works" >&5
++echo "${ECHO_T}$ac_cv_func_getmsg_works" >&6
++		if test "$ac_cv_func_getmsg_works" = "yes"; then
++			
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_GETMSG 1
++_ACEOF
++
++			
++cat >>confdefs.h <<\_ACEOF
++@%:@define STREAMSPTY 1
++_ACEOF
++
++		fi
++	fi
++	;;
++esac
++
++
++
++
++
++
++
++# Extract the first word of "compile_et", so it can be a program name with args.
++set dummy compile_et; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_COMPILE_ET+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$COMPILE_ET"; then
++  ac_cv_prog_COMPILE_ET="$COMPILE_ET" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_COMPILE_ET="compile_et"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++COMPILE_ET=$ac_cv_prog_COMPILE_ET
++if test -n "$COMPILE_ET"; then
++  echo "$as_me:$LINENO: result: $COMPILE_ET" >&5
++echo "${ECHO_T}$COMPILE_ET" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++
++krb_cv_compile_et="no"
++krb_cv_com_err_need_r=""
++if test "${COMPILE_ET}" = "compile_et"; then
++
++echo "$as_me:$LINENO: checking whether compile_et has the features we need" >&5
++echo $ECHO_N "checking whether compile_et has the features we need... $ECHO_C" >&6
++cat > conftest_et.et <<'EOF'
++error_table test conf
++prefix CONFTEST
++index 1
++error_code CODE1, "CODE1"
++index 128
++error_code CODE2, "CODE2"
++end
++EOF
++if ${COMPILE_ET} conftest_et.et >/dev/null 2>&1; then
++    save_CPPFLAGS="${CPPFLAGS}"
++  if test -d "/usr/include/et"; then
++    CPPFLAGS="-I/usr/include/et ${CPPFLAGS}"
++  fi
++    if test "$cross_compiling" = yes; then
++  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
++See \`config.log' for more details." >&5
++echo "$as_me: error: cannot run test program while cross compiling
++See \`config.log' for more details." >&2;}
++   { (exit 1); exit 1; }; }
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#include <com_err.h>
++#include <string.h>
++#include "conftest_et.h"
++int main(){
++#ifndef ERROR_TABLE_BASE_conf
++#error compile_et does not handle error_table N M
++#endif
++return (CONFTEST_CODE2 - CONFTEST_CODE1) != 127;}
++  
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  krb_cv_compile_et="yes"
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++( exit $ac_status )
++CPPFLAGS="${save_CPPFLAGS}"
++fi
++rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++fi
++echo "$as_me:$LINENO: result: ${krb_cv_compile_et}" >&5
++echo "${ECHO_T}${krb_cv_compile_et}" >&6
++if test "${krb_cv_compile_et}" = "yes"; then
++  echo "$as_me:$LINENO: checking for if com_err needs to have a initialize_error_table_r" >&5
++echo $ECHO_N "checking for if com_err needs to have a initialize_error_table_r... $ECHO_C" >&6
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include "conftest_et.c"
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  $EGREP "initialize_error_table_r" >/dev/null 2>&1; then
++  krb_cv_com_err_need_r="initialize_error_table_r(0,0,0,0);"
++fi
++rm -f conftest*
++
++  if test X"$krb_cv_com_err_need_r" = X ; then
++    echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++  else
++    echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++  fi
++fi
++rm -fr conftest*
++fi
++
++if test "${krb_cv_compile_et}" = "yes"; then
++    krb_cv_save_LIBS="${LIBS}"
++  LIBS="${LIBS} -lcom_err"
++  echo "$as_me:$LINENO: checking for com_err" >&5
++echo $ECHO_N "checking for com_err... $ECHO_C" >&6
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <com_err.h>
++int
++main ()
++{
++
++    const char *p;
++    p = error_message(0);
++    $krb_cv_com_err_need_r
++  
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  krb_cv_com_err="yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++krb_cv_com_err="no"; CPPFLAGS="${save_CPPFLAGS}"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++  echo "$as_me:$LINENO: result: ${krb_cv_com_err}" >&5
++echo "${ECHO_T}${krb_cv_com_err}" >&6
++  LIBS="${krb_cv_save_LIBS}"
++else
++    krb_cv_com_err="no"
++fi
++
++if test "${krb_cv_com_err}" = "yes"; then
++    DIR_com_err=""
++    LIB_com_err="-lcom_err"
++    LIB_com_err_a=""
++    LIB_com_err_so=""
++    { echo "$as_me:$LINENO: Using the already-installed com_err" >&5
++echo "$as_me: Using the already-installed com_err" >&6;}
++else
++    COMPILE_ET="\$(top_builddir)/lib/com_err/compile_et"
++    DIR_com_err="com_err"
++    LIB_com_err="\$(top_builddir)/lib/com_err/libcom_err.la"
++    LIB_com_err_a="\$(top_builddir)/lib/com_err/.libs/libcom_err.a"
++    LIB_com_err_so="\$(top_builddir)/lib/com_err/.libs/libcom_err.so"
++    { echo "$as_me:$LINENO: Using our own com_err" >&5
++echo "$as_me: Using our own com_err" >&6;}
++fi
++
++
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking which authentication modules should be built" >&5
++echo $ECHO_N "checking which authentication modules should be built... $ECHO_C" >&6
++
++z='sia afskauthlib'
++LIB_AUTH_SUBDIRS=
++for i in $z; do
++case $i in
++sia)
++if test "$ac_cv_header_siad_h" = yes; then
++	LIB_AUTH_SUBDIRS="$LIB_AUTH_SUBDIRS sia"
++fi
++;;
++pam)
++case "${host}" in
++*-*-freebsd*)	ac_cv_want_pam_krb4=no ;;
++*)		ac_cv_want_pam_krb4=yes ;;
++esac
++
++if test "$ac_cv_want_pam_krb4" = yes -a \
++    "$ac_cv_header_security_pam_modules_h" = yes -a \
++    "$enable_shared" = yes; then
++	LIB_AUTH_SUBDIRS="$LIB_AUTH_SUBDIRS pam"
++fi
++;;
++afskauthlib)
++case "${host}" in
++*-*-irix[56]*) LIB_AUTH_SUBDIRS="$LIB_AUTH_SUBDIRS afskauthlib" ;;
++esac
++;;
++esac
++done
++if test "$LIB_AUTH_SUBDIRS"; then
++	echo "$as_me:$LINENO: result: $LIB_AUTH_SUBDIRS" >&5
++echo "${ECHO_T}$LIB_AUTH_SUBDIRS" >&6
++else
++	echo "$as_me:$LINENO: result: none" >&5
++echo "${ECHO_T}none" >&6
++fi
++
++
++
++
++# This is done by AC_OUTPUT but we need the result here.
++test "x$prefix" = xNONE && prefix=$ac_default_prefix
++test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
++
++
++	x="${bindir}"
++	eval y="$x"
++	while test "x$y" != "x$x"; do
++		x="$y"
++		eval y="$x"
++	done
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define BINDIR "$x"
++_ACEOF
++
++	x="${libdir}"
++	eval y="$x"
++	while test "x$y" != "x$x"; do
++		x="$y"
++		eval y="$x"
++	done
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define LIBDIR "$x"
++_ACEOF
++
++	x="${libexecdir}"
++	eval y="$x"
++	while test "x$y" != "x$x"; do
++		x="$y"
++		eval y="$x"
++	done
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define LIBEXECDIR "$x"
++_ACEOF
++
++	x="${localstatedir}"
++	eval y="$x"
++	while test "x$y" != "x$x"; do
++		x="$y"
++		eval y="$x"
++	done
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define LOCALSTATEDIR "$x"
++_ACEOF
++
++	x="${sbindir}"
++	eval y="$x"
++	while test "x$y" != "x$x"; do
++		x="$y"
++		eval y="$x"
++	done
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define SBINDIR "$x"
++_ACEOF
++
++	x="${sysconfdir}"
++	eval y="$x"
++	while test "x$y" != "x$x"; do
++		x="$y"
++		eval y="$x"
++	done
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define SYSCONFDIR "$x"
++_ACEOF
++
++
++
++LTLIBOBJS=`echo "$LIB@&t@OBJS" |
++	sed 's,\.[^.]* ,.lo ,g;s,\.[^.]*$,.lo,'`
++
++
++
++
++
++                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        ac_config_files="$ac_config_files Makefile include/Makefile include/kadm5/Makefile lib/Makefile lib/45/Makefile lib/auth/Makefile lib/auth/afskauthlib/Makefile lib/auth/pam/Makefile lib/auth/sia/Makefile lib/asn1/Makefile lib/com_err/Makefile lib/des/Makefile lib/editline/Makefile lib/gssapi/Makefile lib/hdb/Makefile lib/kadm5/Makefile lib/kafs/Makefile lib/kdfs/Makefile lib/krb5/Makefile lib/otp/Makefile lib/roken/Makefile lib/sl/Makefile lib/vers/Makefile kuser/Makefile kpasswd/Makefile kadmin/Makefile admin/Makefile kdc/Makefile appl/Makefile appl/afsutil/Makefile appl/ftp/Makefile appl/ftp/common/Makefile appl/ftp/ftp/Makefile appl/ftp/ftpd/Makefile appl/kx/Makefile appl/login/Makefile appl/otp/Makefile appl/popper/Makefile appl/push/Makefile appl/rsh/Makefile appl/rcp/Makefile appl/su/Makefile appl/xnlock/Makefile appl/telnet/Makefile appl/telnet/libtelnet/Makefile appl/telnet/telnet/Makefile appl/telnet/telnetd/Makefile appl/test/Makefile appl/kf/Makefile appl/dceutils/Makefile doc/Makefile tools/Makefile"
++
++
++cat >confcache <<\_ACEOF
++# 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, see configure's option --config-cache.
++# It is not useful on other systems.  If it contains results you don't
++# want to keep, you may remove or edit it.
++#
++# config.status only pays attention to the cache file if you give it
++# the --recheck option to rerun configure.
++#
++# `ac_cv_env_foo' variables (set or unset) will be overridden when
++# loading this file, other *unset* `ac_cv_foo' will be assigned the
++# following values.
++
++_ACEOF
++
++# The following way of writing the cache mishandles newlines in values,
++# but we know of no workaround that is simple, portable, and efficient.
++# So, don't put newlines in cache variables' values.
++# Ultrix sh set writes to stderr and can't be redirected directly,
++# and sets the high bit in the cache file unless we assign to the vars.
++{
++  (set) 2>&1 |
++    case `(ac_space=' '; set | grep ac_space) 2>&1` in
++    *ac_space=\ *)
++      # `set' does not quote correctly, so add quotes (double-quote
++      # substitution turns \\\\ into \\, and sed turns \\ into \).
++      sed -n \
++	"s/'/'\\\\''/g;
++	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
++      ;;
++    *)
++      # `set' quotes correctly as required by POSIX, so do not add quotes.
++      sed -n \
++	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
++      ;;
++    esac;
++} |
++  sed '
++     t clear
++     : clear
++     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
++     t end
++     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
++     : end' >>confcache
++if diff $cache_file confcache >/dev/null 2>&1; then :; else
++  if test -w $cache_file; then
++    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
++    cat confcache >$cache_file
++  else
++    echo "not updating unwritable cache $cache_file"
++  fi
++fi
++rm -f confcache
++
++test "x$prefix" = xNONE && prefix=$ac_default_prefix
++# Let make expand exec_prefix.
++test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
++
++# VPATH may cause trouble with some makes, so we remove $(srcdir),
++# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
++# trailing colons and then remove the whole line if VPATH becomes empty
++# (actually we leave an empty line to preserve line numbers).
++if test "x$srcdir" = x.; then
++  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
++s/:*\$(srcdir):*/:/;
++s/:*\${srcdir}:*/:/;
++s/:*@srcdir@:*/:/;
++s/^\([^=]*=[	 ]*\):*/\1/;
++s/:*$//;
++s/^[^=]*=[	 ]*$//;
++}'
++fi
++
++DEFS=-DHAVE_CONFIG_H
++
++ac_libobjs=
++ac_ltlibobjs=
++for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
++  # 1. Remove the extension, and $U if already installed.
++  ac_i=`echo "$ac_i" |
++	 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
++  # 2. Add them.
++  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
++  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
++done
++LIB@&t@OBJS=$ac_libobjs
++
++LTLIBOBJS=$ac_ltlibobjs
++
++
++if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${KRB4_TRUE}" && test -z "${KRB4_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"KRB4\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"KRB4\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${KRB5_TRUE}" && test -z "${KRB5_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"KRB5\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"KRB5\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${do_roken_rename_TRUE}" && test -z "${do_roken_rename_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"do_roken_rename\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"do_roken_rename\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${HAVE_OPENSSL_TRUE}" && test -z "${HAVE_OPENSSL_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"HAVE_OPENSSL\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"HAVE_OPENSSL\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${DCE_TRUE}" && test -z "${DCE_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"DCE\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"DCE\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${HAVE_DB1_TRUE}" && test -z "${HAVE_DB1_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"HAVE_DB1\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"HAVE_DB1\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${HAVE_DB3_TRUE}" && test -z "${HAVE_DB3_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"HAVE_DB3\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"HAVE_DB3\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${HAVE_NDBM_TRUE}" && test -z "${HAVE_NDBM_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"HAVE_NDBM\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"HAVE_NDBM\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${have_err_h_TRUE}" && test -z "${have_err_h_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"have_err_h\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"have_err_h\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${have_fnmatch_h_TRUE}" && test -z "${have_fnmatch_h_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"have_fnmatch_h\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"have_fnmatch_h\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${have_ifaddrs_h_TRUE}" && test -z "${have_ifaddrs_h_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"have_ifaddrs_h\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"have_ifaddrs_h\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${have_vis_h_TRUE}" && test -z "${have_vis_h_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"have_vis_h\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"have_vis_h\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${have_glob_h_TRUE}" && test -z "${have_glob_h_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"have_glob_h\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"have_glob_h\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${OTP_TRUE}" && test -z "${OTP_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"OTP\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"OTP\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${CATMAN_TRUE}" && test -z "${CATMAN_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"CATMAN\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"CATMAN\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${AIX_TRUE}" && test -z "${AIX_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"AIX\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"AIX\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${AIX4_TRUE}" && test -z "${AIX4_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"AIX4\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"AIX4\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${HAVE_DLOPEN_TRUE}" && test -z "${HAVE_DLOPEN_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"HAVE_DLOPEN\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"HAVE_DLOPEN\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${AIX_DYNAMIC_AFS_TRUE}" && test -z "${AIX_DYNAMIC_AFS_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"AIX_DYNAMIC_AFS\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"AIX_DYNAMIC_AFS\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${IRIX_TRUE}" && test -z "${IRIX_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"IRIX\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"IRIX\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${HAVE_X_TRUE}" && test -z "${HAVE_X_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"HAVE_X\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"HAVE_X\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${NEED_WRITEAUTH_TRUE}" && test -z "${NEED_WRITEAUTH_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"NEED_WRITEAUTH\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"NEED_WRITEAUTH\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${el_compat_TRUE}" && test -z "${el_compat_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"el_compat\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"el_compat\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++
++: ${CONFIG_STATUS=./config.status}
++ac_clean_files_save=$ac_clean_files
++ac_clean_files="$ac_clean_files $CONFIG_STATUS"
++{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
++echo "$as_me: creating $CONFIG_STATUS" >&6;}
++cat >$CONFIG_STATUS <<_ACEOF
++#! $SHELL
++# Generated by $as_me.
++# Run this file to recreate the current configuration.
++# Compiler output produced by configure, useful for debugging
++# configure, is in config.log if it exists.
++
++debug=false
++ac_cs_recheck=false
++ac_cs_silent=false
++SHELL=\${CONFIG_SHELL-$SHELL}
++_ACEOF
++
++cat >>$CONFIG_STATUS <<\_ACEOF
++## --------------------- ##
++## M4sh Initialization.  ##
++## --------------------- ##
++
++# Be Bourne compatible
++if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
++  emulate sh
++  NULLCMD=:
++  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
++  # is contrary to our usage.  Disable this feature.
++  alias -g '${1+"$@"}'='"$@"'
++elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
++  set -o posix
++fi
++DUALCASE=1; export DUALCASE # for MKS sh
++
++# Support unset when possible.
++if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
++  as_unset=unset
++else
++  as_unset=false
++fi
++
++
++# Work around bugs in pre-3.0 UWIN ksh.
++$as_unset ENV MAIL MAILPATH
++PS1='$ '
++PS2='> '
++PS4='+ '
++
++# NLS nuisances.
++for as_var in \
++  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
++  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
++  LC_TELEPHONE LC_TIME
++do
++  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
++    eval $as_var=C; export $as_var
++  else
++    $as_unset $as_var
++  fi
++done
++
++# Required to use basename.
++if expr a : '\(a\)' >/dev/null 2>&1; then
++  as_expr=expr
++else
++  as_expr=false
++fi
++
++if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
++  as_basename=basename
++else
++  as_basename=false
++fi
++
++
++# Name of the executable.
++as_me=`$as_basename "$0" ||
++$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
++	 X"$0" : 'X\(//\)$' \| \
++	 X"$0" : 'X\(/\)$' \| \
++	 .     : '\(.\)' 2>/dev/null ||
++echo X/"$0" |
++    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
++  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
++  	  /^X\/\(\/\).*/{ s//\1/; q; }
++  	  s/.*/./; q'`
++
++
++# PATH needs CR, and LINENO needs CR and PATH.
++# Avoid depending upon Character Ranges.
++as_cr_letters='abcdefghijklmnopqrstuvwxyz'
++as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
++as_cr_Letters=$as_cr_letters$as_cr_LETTERS
++as_cr_digits='0123456789'
++as_cr_alnum=$as_cr_Letters$as_cr_digits
++
++# The user is always right.
++if test "${PATH_SEPARATOR+set}" != set; then
++  echo "#! /bin/sh" >conf$$.sh
++  echo  "exit 0"   >>conf$$.sh
++  chmod +x conf$$.sh
++  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
++    PATH_SEPARATOR=';'
++  else
++    PATH_SEPARATOR=:
++  fi
++  rm -f conf$$.sh
++fi
++
++
++  as_lineno_1=$LINENO
++  as_lineno_2=$LINENO
++  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
++  test "x$as_lineno_1" != "x$as_lineno_2" &&
++  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
++  # Find who we are.  Look in the path if we contain no path at all
++  # relative or not.
++  case $0 in
++    *[\\/]* ) as_myself=$0 ;;
++    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
++done
++
++       ;;
++  esac
++  # We did not find ourselves, most probably we were run as `sh COMMAND'
++  # in which case we are not to be found in the path.
++  if test "x$as_myself" = x; then
++    as_myself=$0
++  fi
++  if test ! -f "$as_myself"; then
++    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
++echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
++   { (exit 1); exit 1; }; }
++  fi
++  case $CONFIG_SHELL in
++  '')
++    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for as_base in sh bash ksh sh5; do
++	 case $as_dir in
++	 /*)
++	   if ("$as_dir/$as_base" -c '
++  as_lineno_1=$LINENO
++  as_lineno_2=$LINENO
++  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
++  test "x$as_lineno_1" != "x$as_lineno_2" &&
++  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
++	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
++	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
++	     CONFIG_SHELL=$as_dir/$as_base
++	     export CONFIG_SHELL
++	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
++	   fi;;
++	 esac
++       done
++done
++;;
++  esac
++
++  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
++  # uniformly replaced by the line number.  The first 'sed' inserts a
++  # line-number line before each line; the second 'sed' does the real
++  # work.  The second script uses 'N' to pair each line-number line
++  # with the numbered line, and appends trailing '-' during
++  # substitution so that $LINENO is not a special case at line end.
++  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
++  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
++  sed '=' <$as_myself |
++    sed '
++      N
++      s,$,-,
++      : loop
++      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
++      t loop
++      s,-$,,
++      s,^['$as_cr_digits']*\n,,
++    ' >$as_me.lineno &&
++  chmod +x $as_me.lineno ||
++    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
++echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
++   { (exit 1); exit 1; }; }
++
++  # Don't try to exec as it changes $[0], causing all sort of problems
++  # (the dirname of $[0] is not the place where we might find the
++  # original and so on.  Autoconf is especially sensible to this).
++  . ./$as_me.lineno
++  # Exit status is that of the last command.
++  exit
++}
++
++
++case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
++  *c*,-n*) ECHO_N= ECHO_C='
++' ECHO_T='	' ;;
++  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
++  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
++esac
++
++if expr a : '\(a\)' >/dev/null 2>&1; then
++  as_expr=expr
++else
++  as_expr=false
++fi
++
++rm -f conf$$ conf$$.exe conf$$.file
++echo >conf$$.file
++if ln -s conf$$.file conf$$ 2>/dev/null; then
++  # We could just check for DJGPP; but this test a) works b) is more generic
++  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
++  if test -f conf$$.exe; then
++    # Don't use ln at all; we don't have any links
++    as_ln_s='cp -p'
++  else
++    as_ln_s='ln -s'
++  fi
++elif ln conf$$.file conf$$ 2>/dev/null; then
++  as_ln_s=ln
++else
++  as_ln_s='cp -p'
++fi
++rm -f conf$$ conf$$.exe conf$$.file
++
++if mkdir -p . 2>/dev/null; then
++  as_mkdir_p=:
++else
++  test -d ./-p && rmdir ./-p
++  as_mkdir_p=false
++fi
++
++as_executable_p="test -f"
++
++# Sed expression to map a string onto a valid CPP name.
++as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
++
++# Sed expression to map a string onto a valid variable name.
++as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
++
++
++# IFS
++# We need space, tab and new line, in precisely that order.
++as_nl='
++'
++IFS=" 	$as_nl"
++
++# CDPATH.
++$as_unset CDPATH
++
++exec 6>&1
++
++# Open the log real soon, to keep \$[0] and so on meaningful, and to
++# report actual input values of CONFIG_FILES etc. instead of their
++# values after options handling.  Logging --version etc. is OK.
++exec 5>>config.log
++{
++  echo
++  sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
++@%:@@%:@ Running $as_me. @%:@@%:@
++_ASBOX
++} >&5
++cat >&5 <<_CSEOF
++
++This file was extended by Heimdal $as_me 0.6.3, which was
++generated by GNU Autoconf 2.59.  Invocation command line was
++
++  CONFIG_FILES    = $CONFIG_FILES
++  CONFIG_HEADERS  = $CONFIG_HEADERS
++  CONFIG_LINKS    = $CONFIG_LINKS
++  CONFIG_COMMANDS = $CONFIG_COMMANDS
++  $ $0 $@
++
++_CSEOF
++echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
++echo >&5
++_ACEOF
++
++# Files that config.status was made for.
++if test -n "$ac_config_files"; then
++  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
++fi
++
++if test -n "$ac_config_headers"; then
++  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
++fi
++
++if test -n "$ac_config_links"; then
++  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
++fi
++
++if test -n "$ac_config_commands"; then
++  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
++fi
++
++cat >>$CONFIG_STATUS <<\_ACEOF
++
++ac_cs_usage="\
++\`$as_me' instantiates files from templates according to the
++current configuration.
++
++Usage: $0 [OPTIONS] [FILE]...
++
++  -h, --help       print this help, then exit
++  -V, --version    print version number, then exit
++  -q, --quiet      do not print progress messages
++  -d, --debug      don't remove temporary files
++      --recheck    update $as_me by reconfiguring in the same conditions
++  --file=FILE[:TEMPLATE]
++		   instantiate the configuration file FILE
++  --header=FILE[:TEMPLATE]
++		   instantiate the configuration header FILE
++
++Configuration files:
++$config_files
++
++Configuration headers:
++$config_headers
++
++Report bugs to <bug-autoconf@gnu.org>."
++_ACEOF
++
++cat >>$CONFIG_STATUS <<_ACEOF
++ac_cs_version="\\
++Heimdal config.status 0.6.3
++configured by $0, generated by GNU Autoconf 2.59,
++  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
++
++Copyright (C) 2003 Free Software Foundation, Inc.
++This config.status script is free software; the Free Software Foundation
++gives unlimited permission to copy, distribute and modify it."
++srcdir=$srcdir
++INSTALL="$INSTALL"
++_ACEOF
++
++cat >>$CONFIG_STATUS <<\_ACEOF
++# If no file are specified by the user, then we need to provide default
++# value.  By we need to know if files were specified by the user.
++ac_need_defaults=:
++while test $# != 0
++do
++  case $1 in
++  --*=*)
++    ac_option=`expr "x$1" : 'x\([^=]*\)='`
++    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
++    ac_shift=:
++    ;;
++  -*)
++    ac_option=$1
++    ac_optarg=$2
++    ac_shift=shift
++    ;;
++  *) # This is not an option, so the user has probably given explicit
++     # arguments.
++     ac_option=$1
++     ac_need_defaults=false;;
++  esac
++
++  case $ac_option in
++  # Handling of the options.
++_ACEOF
++cat >>$CONFIG_STATUS <<\_ACEOF
++  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
++    ac_cs_recheck=: ;;
++  --version | --vers* | -V )
++    echo "$ac_cs_version"; exit 0 ;;
++  --he | --h)
++    # Conflict between --help and --header
++    { { echo "$as_me:$LINENO: error: ambiguous option: $1
++Try \`$0 --help' for more information." >&5
++echo "$as_me: error: ambiguous option: $1
++Try \`$0 --help' for more information." >&2;}
++   { (exit 1); exit 1; }; };;
++  --help | --hel | -h )
++    echo "$ac_cs_usage"; exit 0 ;;
++  --debug | --d* | -d )
++    debug=: ;;
++  --file | --fil | --fi | --f )
++    $ac_shift
++    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
++    ac_need_defaults=false;;
++  --header | --heade | --head | --hea )
++    $ac_shift
++    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
++    ac_need_defaults=false;;
++  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
++  | -silent | --silent | --silen | --sile | --sil | --si | --s)
++    ac_cs_silent=: ;;
++
++  # This is an error.
++  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
++Try \`$0 --help' for more information." >&5
++echo "$as_me: error: unrecognized option: $1
++Try \`$0 --help' for more information." >&2;}
++   { (exit 1); exit 1; }; } ;;
++
++  *) ac_config_targets="$ac_config_targets $1" ;;
++
++  esac
++  shift
++done
++
++ac_configure_extra_args=
++
++if $ac_cs_silent; then
++  exec 6>/dev/null
++  ac_configure_extra_args="$ac_configure_extra_args --silent"
++fi
++
++_ACEOF
++cat >>$CONFIG_STATUS <<_ACEOF
++if \$ac_cs_recheck; then
++  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
++  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
++fi
++
++_ACEOF
++
++
++
++
++
++cat >>$CONFIG_STATUS <<\_ACEOF
++for ac_config_target in $ac_config_targets
++do
++  case "$ac_config_target" in
++  # Handling of arguments.
++  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
++  "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
++  "include/kadm5/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/kadm5/Makefile" ;;
++  "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
++  "lib/45/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/45/Makefile" ;;
++  "lib/auth/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/auth/Makefile" ;;
++  "lib/auth/afskauthlib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/auth/afskauthlib/Makefile" ;;
++  "lib/auth/pam/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/auth/pam/Makefile" ;;
++  "lib/auth/sia/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/auth/sia/Makefile" ;;
++  "lib/asn1/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/asn1/Makefile" ;;
++  "lib/com_err/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/com_err/Makefile" ;;
++  "lib/des/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/des/Makefile" ;;
++  "lib/editline/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/editline/Makefile" ;;
++  "lib/gssapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/gssapi/Makefile" ;;
++  "lib/hdb/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/hdb/Makefile" ;;
++  "lib/kadm5/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/kadm5/Makefile" ;;
++  "lib/kafs/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/kafs/Makefile" ;;
++  "lib/kdfs/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/kdfs/Makefile" ;;
++  "lib/krb5/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/krb5/Makefile" ;;
++  "lib/otp/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/otp/Makefile" ;;
++  "lib/roken/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/roken/Makefile" ;;
++  "lib/sl/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/sl/Makefile" ;;
++  "lib/vers/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/vers/Makefile" ;;
++  "kuser/Makefile" ) CONFIG_FILES="$CONFIG_FILES kuser/Makefile" ;;
++  "kpasswd/Makefile" ) CONFIG_FILES="$CONFIG_FILES kpasswd/Makefile" ;;
++  "kadmin/Makefile" ) CONFIG_FILES="$CONFIG_FILES kadmin/Makefile" ;;
++  "admin/Makefile" ) CONFIG_FILES="$CONFIG_FILES admin/Makefile" ;;
++  "kdc/Makefile" ) CONFIG_FILES="$CONFIG_FILES kdc/Makefile" ;;
++  "appl/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/Makefile" ;;
++  "appl/afsutil/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/afsutil/Makefile" ;;
++  "appl/ftp/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/ftp/Makefile" ;;
++  "appl/ftp/common/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/ftp/common/Makefile" ;;
++  "appl/ftp/ftp/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/ftp/ftp/Makefile" ;;
++  "appl/ftp/ftpd/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/ftp/ftpd/Makefile" ;;
++  "appl/kx/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/kx/Makefile" ;;
++  "appl/login/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/login/Makefile" ;;
++  "appl/otp/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/otp/Makefile" ;;
++  "appl/popper/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/popper/Makefile" ;;
++  "appl/push/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/push/Makefile" ;;
++  "appl/rsh/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/rsh/Makefile" ;;
++  "appl/rcp/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/rcp/Makefile" ;;
++  "appl/su/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/su/Makefile" ;;
++  "appl/xnlock/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/xnlock/Makefile" ;;
++  "appl/telnet/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/telnet/Makefile" ;;
++  "appl/telnet/libtelnet/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/telnet/libtelnet/Makefile" ;;
++  "appl/telnet/telnet/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/telnet/telnet/Makefile" ;;
++  "appl/telnet/telnetd/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/telnet/telnetd/Makefile" ;;
++  "appl/test/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/test/Makefile" ;;
++  "appl/kf/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/kf/Makefile" ;;
++  "appl/dceutils/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/dceutils/Makefile" ;;
++  "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
++  "tools/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
++  "include/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
++  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
++echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
++   { (exit 1); exit 1; }; };;
++  esac
++done
++
++# If the user did not use the arguments to specify the items to instantiate,
++# then the envvar interface is used.  Set only those that are not.
++# We use the long form for the default assignment because of an extremely
++# bizarre bug on SunOS 4.1.3.
++if $ac_need_defaults; then
++  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
++  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
++fi
++
++# Have a temporary directory for convenience.  Make it in the build tree
++# simply because there is no reason to put it here, and in addition,
++# creating and moving files from /tmp can sometimes cause problems.
++# Create a temporary directory, and hook for its removal unless debugging.
++$debug ||
++{
++  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
++  trap '{ (exit 1); exit 1; }' 1 2 13 15
++}
++
++# Create a (secure) tmp directory for tmp files.
++
++{
++  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
++  test -n "$tmp" && test -d "$tmp"
++}  ||
++{
++  tmp=./confstat$$-$RANDOM
++  (umask 077 && mkdir $tmp)
++} ||
++{
++   echo "$me: cannot create a temporary directory in ." >&2
++   { (exit 1); exit 1; }
++}
++
++_ACEOF
++
++cat >>$CONFIG_STATUS <<_ACEOF
++
++#
++# CONFIG_FILES section.
++#
++
++# No need to generate the scripts if there are no CONFIG_FILES.
++# This happens for instance when ./config.status config.h
++if test -n "\$CONFIG_FILES"; then
++  # Protect against being on the right side of a sed subst in config.status.
++  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
++   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
++s,@SHELL@,$SHELL,;t t
++s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
++s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
++s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
++s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
++s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
++s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
++s,@exec_prefix@,$exec_prefix,;t t
++s,@prefix@,$prefix,;t t
++s,@program_transform_name@,$program_transform_name,;t t
++s,@bindir@,$bindir,;t t
++s,@sbindir@,$sbindir,;t t
++s,@libexecdir@,$libexecdir,;t t
++s,@datadir@,$datadir,;t t
++s,@sysconfdir@,$sysconfdir,;t t
++s,@sharedstatedir@,$sharedstatedir,;t t
++s,@localstatedir@,$localstatedir,;t t
++s,@libdir@,$libdir,;t t
++s,@includedir@,$includedir,;t t
++s,@oldincludedir@,$oldincludedir,;t t
++s,@infodir@,$infodir,;t t
++s,@mandir@,$mandir,;t t
++s,@build_alias@,$build_alias,;t t
++s,@host_alias@,$host_alias,;t t
++s,@target_alias@,$target_alias,;t t
++s,@DEFS@,$DEFS,;t t
++s,@ECHO_C@,$ECHO_C,;t t
++s,@ECHO_N@,$ECHO_N,;t t
++s,@ECHO_T@,$ECHO_T,;t t
++s,@LIBS@,$LIBS,;t t
++s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
++s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
++s,@MAINT@,$MAINT,;t t
++s,@CC@,$CC,;t t
++s,@CFLAGS@,$CFLAGS,;t t
++s,@LDFLAGS@,$LDFLAGS,;t t
++s,@CPPFLAGS@,$CPPFLAGS,;t t
++s,@ac_ct_CC@,$ac_ct_CC,;t t
++s,@EXEEXT@,$EXEEXT,;t t
++s,@OBJEXT@,$OBJEXT,;t t
++s,@CPP@,$CPP,;t t
++s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
++s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
++s,@INSTALL_DATA@,$INSTALL_DATA,;t t
++s,@CYGPATH_W@,$CYGPATH_W,;t t
++s,@PACKAGE@,$PACKAGE,;t t
++s,@VERSION@,$VERSION,;t t
++s,@ACLOCAL@,$ACLOCAL,;t t
++s,@AUTOCONF@,$AUTOCONF,;t t
++s,@AUTOMAKE@,$AUTOMAKE,;t t
++s,@AUTOHEADER@,$AUTOHEADER,;t t
++s,@MAKEINFO@,$MAKEINFO,;t t
++s,@AMTAR@,$AMTAR,;t t
++s,@install_sh@,$install_sh,;t t
++s,@STRIP@,$STRIP,;t t
++s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
++s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
++s,@AWK@,$AWK,;t t
++s,@SET_MAKE@,$SET_MAKE,;t t
++s,@am__leading_dot@,$am__leading_dot,;t t
++s,@build@,$build,;t t
++s,@build_cpu@,$build_cpu,;t t
++s,@build_vendor@,$build_vendor,;t t
++s,@build_os@,$build_os,;t t
++s,@host@,$host,;t t
++s,@host_cpu@,$host_cpu,;t t
++s,@host_vendor@,$host_vendor,;t t
++s,@host_os@,$host_os,;t t
++s,@CANONICAL_HOST@,$CANONICAL_HOST,;t t
++s,@YACC@,$YACC,;t t
++s,@LEX@,$LEX,;t t
++s,@LEXLIB@,$LEXLIB,;t t
++s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
++s,@LN_S@,$LN_S,;t t
++s,@EGREP@,$EGREP,;t t
++s,@ECHO@,$ECHO,;t t
++s,@AR@,$AR,;t t
++s,@ac_ct_AR@,$ac_ct_AR,;t t
++s,@RANLIB@,$RANLIB,;t t
++s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
++s,@CXX@,$CXX,;t t
++s,@CXXFLAGS@,$CXXFLAGS,;t t
++s,@ac_ct_CXX@,$ac_ct_CXX,;t t
++s,@CXXCPP@,$CXXCPP,;t t
++s,@F77@,$F77,;t t
++s,@FFLAGS@,$FFLAGS,;t t
++s,@ac_ct_F77@,$ac_ct_F77,;t t
++s,@LIBTOOL@,$LIBTOOL,;t t
++s,@WFLAGS@,$WFLAGS,;t t
++s,@WFLAGS_NOUNUSED@,$WFLAGS_NOUNUSED,;t t
++s,@WFLAGS_NOIMPLICITINT@,$WFLAGS_NOIMPLICITINT,;t t
++s,@DIR_openldap@,$DIR_openldap,;t t
++s,@INCLUDE_openldap@,$INCLUDE_openldap,;t t
++s,@LIB_openldap@,$LIB_openldap,;t t
++s,@DIR_krb4@,$DIR_krb4,;t t
++s,@INCLUDE_krb4@,$INCLUDE_krb4,;t t
++s,@LIB_krb4@,$LIB_krb4,;t t
++s,@EXTRA_LIB45@,$EXTRA_LIB45,;t t
++s,@LIB_krb_enable_debug@,$LIB_krb_enable_debug,;t t
++s,@LIB_krb_disable_debug@,$LIB_krb_disable_debug,;t t
++s,@LIB_krb_get_our_ip_for_realm@,$LIB_krb_get_our_ip_for_realm,;t t
++s,@LIB_krb_kdctimeofday@,$LIB_krb_kdctimeofday,;t t
++s,@LIB_krb_get_kdc_time_diff@,$LIB_krb_get_kdc_time_diff,;t t
++s,@KRB4_TRUE@,$KRB4_TRUE,;t t
++s,@KRB4_FALSE@,$KRB4_FALSE,;t t
++s,@KRB5_TRUE@,$KRB5_TRUE,;t t
++s,@KRB5_FALSE@,$KRB5_FALSE,;t t
++s,@do_roken_rename_TRUE@,$do_roken_rename_TRUE,;t t
++s,@do_roken_rename_FALSE@,$do_roken_rename_FALSE,;t t
++s,@LIB_kdb@,$LIB_kdb,;t t
++s,@HAVE_OPENSSL_TRUE@,$HAVE_OPENSSL_TRUE,;t t
++s,@HAVE_OPENSSL_FALSE@,$HAVE_OPENSSL_FALSE,;t t
++s,@DIR_des@,$DIR_des,;t t
++s,@INCLUDE_des@,$INCLUDE_des,;t t
++s,@LIB_des@,$LIB_des,;t t
++s,@LIB_des_a@,$LIB_des_a,;t t
++s,@LIB_des_so@,$LIB_des_so,;t t
++s,@LIB_des_appl@,$LIB_des_appl,;t t
++s,@DCE_TRUE@,$DCE_TRUE,;t t
++s,@DCE_FALSE@,$DCE_FALSE,;t t
++s,@dpagaix_cflags@,$dpagaix_cflags,;t t
++s,@dpagaix_ldadd@,$dpagaix_ldadd,;t t
++s,@dpagaix_ldflags@,$dpagaix_ldflags,;t t
++s,@LIB_db_create@,$LIB_db_create,;t t
++s,@LIB_dbopen@,$LIB_dbopen,;t t
++s,@LIB_dbm_firstkey@,$LIB_dbm_firstkey,;t t
++s,@HAVE_DB1_TRUE@,$HAVE_DB1_TRUE,;t t
++s,@HAVE_DB1_FALSE@,$HAVE_DB1_FALSE,;t t
++s,@HAVE_DB3_TRUE@,$HAVE_DB3_TRUE,;t t
++s,@HAVE_DB3_FALSE@,$HAVE_DB3_FALSE,;t t
++s,@HAVE_NDBM_TRUE@,$HAVE_NDBM_TRUE,;t t
++s,@HAVE_NDBM_FALSE@,$HAVE_NDBM_FALSE,;t t
++s,@DBLIB@,$DBLIB,;t t
++s,@LIB_NDBM@,$LIB_NDBM,;t t
++s,@LIB_crypt@,$LIB_crypt,;t t
++s,@LIB_roken@,$LIB_roken,;t t
++s,@DIR_roken@,$DIR_roken,;t t
++s,@CPPFLAGS_roken@,$CPPFLAGS_roken,;t t
++s,@VOID_RETSIGTYPE@,$VOID_RETSIGTYPE,;t t
++s,@have_err_h_TRUE@,$have_err_h_TRUE,;t t
++s,@have_err_h_FALSE@,$have_err_h_FALSE,;t t
++s,@have_fnmatch_h_TRUE@,$have_fnmatch_h_TRUE,;t t
++s,@have_fnmatch_h_FALSE@,$have_fnmatch_h_FALSE,;t t
++s,@have_ifaddrs_h_TRUE@,$have_ifaddrs_h_TRUE,;t t
++s,@have_ifaddrs_h_FALSE@,$have_ifaddrs_h_FALSE,;t t
++s,@have_vis_h_TRUE@,$have_vis_h_TRUE,;t t
++s,@have_vis_h_FALSE@,$have_vis_h_FALSE,;t t
++s,@LIB_socket@,$LIB_socket,;t t
++s,@LIB_gethostbyname@,$LIB_gethostbyname,;t t
++s,@LIB_syslog@,$LIB_syslog,;t t
++s,@LIB_gethostbyname2@,$LIB_gethostbyname2,;t t
++s,@LIB_res_search@,$LIB_res_search,;t t
++s,@LIB_res_nsearch@,$LIB_res_nsearch,;t t
++s,@LIB_dn_expand@,$LIB_dn_expand,;t t
++s,@LIB@&t@OBJS@,$LIB@&t@OBJS,;t t
++s,@have_glob_h_TRUE@,$have_glob_h_TRUE,;t t
++s,@have_glob_h_FALSE@,$have_glob_h_FALSE,;t t
++s,@LIB_getsockopt@,$LIB_getsockopt,;t t
++s,@LIB_setsockopt@,$LIB_setsockopt,;t t
++s,@LIB_hstrerror@,$LIB_hstrerror,;t t
++s,@LIB_bswap16@,$LIB_bswap16,;t t
++s,@LIB_bswap32@,$LIB_bswap32,;t t
++s,@LIB_pidfile@,$LIB_pidfile,;t t
++s,@LIB_getaddrinfo@,$LIB_getaddrinfo,;t t
++s,@LIB_getnameinfo@,$LIB_getnameinfo,;t t
++s,@LIB_freeaddrinfo@,$LIB_freeaddrinfo,;t t
++s,@LIB_gai_strerror@,$LIB_gai_strerror,;t t
++s,@OTP_TRUE@,$OTP_TRUE,;t t
++s,@OTP_FALSE@,$OTP_FALSE,;t t
++s,@LIB_security@,$LIB_security,;t t
++s,@NROFF@,$NROFF,;t t
++s,@GROFF@,$GROFF,;t t
++s,@CATMAN@,$CATMAN,;t t
++s,@CATMAN_TRUE@,$CATMAN_TRUE,;t t
++s,@CATMAN_FALSE@,$CATMAN_FALSE,;t t
++s,@CATMANEXT@,$CATMANEXT,;t t
++s,@DIR_readline@,$DIR_readline,;t t
++s,@INCLUDE_readline@,$INCLUDE_readline,;t t
++s,@LIB_readline@,$LIB_readline,;t t
++s,@DIR_hesiod@,$DIR_hesiod,;t t
++s,@INCLUDE_hesiod@,$INCLUDE_hesiod,;t t
++s,@LIB_hesiod@,$LIB_hesiod,;t t
++s,@DIR_sl@,$DIR_sl,;t t
++s,@INCLUDE_sl@,$INCLUDE_sl,;t t
++s,@LIB_sl@,$LIB_sl,;t t
++s,@DIR_ss@,$DIR_ss,;t t
++s,@INCLUDE_ss@,$INCLUDE_ss,;t t
++s,@LIB_ss@,$LIB_ss,;t t
++s,@DIR_otp@,$DIR_otp,;t t
++s,@INCLUDE_otp@,$INCLUDE_otp,;t t
++s,@LIB_otp@,$LIB_otp,;t t
++s,@AIX_TRUE@,$AIX_TRUE,;t t
++s,@AIX_FALSE@,$AIX_FALSE,;t t
++s,@AIX4_TRUE@,$AIX4_TRUE,;t t
++s,@AIX4_FALSE@,$AIX4_FALSE,;t t
++s,@LIB_dlopen@,$LIB_dlopen,;t t
++s,@HAVE_DLOPEN_TRUE@,$HAVE_DLOPEN_TRUE,;t t
++s,@HAVE_DLOPEN_FALSE@,$HAVE_DLOPEN_FALSE,;t t
++s,@LIB_loadquery@,$LIB_loadquery,;t t
++s,@AIX_DYNAMIC_AFS_TRUE@,$AIX_DYNAMIC_AFS_TRUE,;t t
++s,@AIX_DYNAMIC_AFS_FALSE@,$AIX_DYNAMIC_AFS_FALSE,;t t
++s,@AIX_EXTRA_KAFS@,$AIX_EXTRA_KAFS,;t t
++s,@IRIX_TRUE@,$IRIX_TRUE,;t t
++s,@IRIX_FALSE@,$IRIX_FALSE,;t t
++s,@X_CFLAGS@,$X_CFLAGS,;t t
++s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
++s,@X_LIBS@,$X_LIBS,;t t
++s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
++s,@HAVE_X_TRUE@,$HAVE_X_TRUE,;t t
++s,@HAVE_X_FALSE@,$HAVE_X_FALSE,;t t
++s,@LIB_XauWriteAuth@,$LIB_XauWriteAuth,;t t
++s,@LIB_XauReadAuth@,$LIB_XauReadAuth,;t t
++s,@LIB_XauFileName@,$LIB_XauFileName,;t t
++s,@NEED_WRITEAUTH_TRUE@,$NEED_WRITEAUTH_TRUE,;t t
++s,@NEED_WRITEAUTH_FALSE@,$NEED_WRITEAUTH_FALSE,;t t
++s,@LIB_logwtmp@,$LIB_logwtmp,;t t
++s,@LIB_logout@,$LIB_logout,;t t
++s,@LIB_openpty@,$LIB_openpty,;t t
++s,@LIB_tgetent@,$LIB_tgetent,;t t
++s,@LIB_getpwnam_r@,$LIB_getpwnam_r,;t t
++s,@LIB_el_init@,$LIB_el_init,;t t
++s,@el_compat_TRUE@,$el_compat_TRUE,;t t
++s,@el_compat_FALSE@,$el_compat_FALSE,;t t
++s,@COMPILE_ET@,$COMPILE_ET,;t t
++s,@DIR_com_err@,$DIR_com_err,;t t
++s,@LIB_com_err@,$LIB_com_err,;t t
++s,@LIB_com_err_a@,$LIB_com_err_a,;t t
++s,@LIB_com_err_so@,$LIB_com_err_so,;t t
++s,@LIB_AUTH_SUBDIRS@,$LIB_AUTH_SUBDIRS,;t t
++s,@LTLIBOBJS@,$LTLIBOBJS,;t t
++CEOF
++
++_ACEOF
++
++  cat >>$CONFIG_STATUS <<\_ACEOF
++  # 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_lines=48
++  ac_sed_frag=1 # Number of current file.
++  ac_beg=1 # First line for current file.
++  ac_end=$ac_max_sed_lines # 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" $tmp/subs.sed >$tmp/subs.frag
++    else
++      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
++    fi
++    if test ! -s $tmp/subs.frag; then
++      ac_more_lines=false
++    else
++      # The purpose of the label and of the branching condition is to
++      # speed up the sed processing (if there are no `@' at all, there
++      # is no need to browse any of the substitutions).
++      # These are the two extra sed commands mentioned above.
++      (echo ':t
++  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
++      if test -z "$ac_sed_cmds"; then
++	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
++      else
++	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
++      fi
++      ac_sed_frag=`expr $ac_sed_frag + 1`
++      ac_beg=$ac_end
++      ac_end=`expr $ac_end + $ac_max_sed_lines`
++    fi
++  done
++  if test -z "$ac_sed_cmds"; then
++    ac_sed_cmds=cat
++  fi
++fi # test -n "$CONFIG_FILES"
++
++_ACEOF
++cat >>$CONFIG_STATUS <<\_ACEOF
++for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
++  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
++  case $ac_file in
++  - | *:- | *:-:* ) # input from stdin
++	cat >$tmp/stdin
++	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
++	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
++  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
++	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
++  * )   ac_file_in=$ac_file.in ;;
++  esac
++
++  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
++  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
++$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++	 X"$ac_file" : 'X\(//\)[^/]' \| \
++	 X"$ac_file" : 'X\(//\)$' \| \
++	 X"$ac_file" : 'X\(/\)' \| \
++	 .     : '\(.\)' 2>/dev/null ||
++echo X"$ac_file" |
++    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
++  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
++  	  /^X\(\/\/\)$/{ s//\1/; q; }
++  	  /^X\(\/\).*/{ s//\1/; q; }
++  	  s/.*/./; q'`
++  { if $as_mkdir_p; then
++    mkdir -p "$ac_dir"
++  else
++    as_dir="$ac_dir"
++    as_dirs=
++    while test ! -d "$as_dir"; do
++      as_dirs="$as_dir $as_dirs"
++      as_dir=`(dirname "$as_dir") 2>/dev/null ||
++$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++	 X"$as_dir" : 'X\(//\)[^/]' \| \
++	 X"$as_dir" : 'X\(//\)$' \| \
++	 X"$as_dir" : 'X\(/\)' \| \
++	 .     : '\(.\)' 2>/dev/null ||
++echo X"$as_dir" |
++    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
++  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
++  	  /^X\(\/\/\)$/{ s//\1/; q; }
++  	  /^X\(\/\).*/{ s//\1/; q; }
++  	  s/.*/./; q'`
++    done
++    test ! -n "$as_dirs" || mkdir $as_dirs
++  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
++echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
++   { (exit 1); exit 1; }; }; }
++
++  ac_builddir=.
++
++if test "$ac_dir" != .; then
++  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
++  # A "../" for each directory in $ac_dir_suffix.
++  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
++else
++  ac_dir_suffix= ac_top_builddir=
++fi
++
++case $srcdir in
++  .)  # No --srcdir option.  We are building in place.
++    ac_srcdir=.
++    if test -z "$ac_top_builddir"; then
++       ac_top_srcdir=.
++    else
++       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
++    fi ;;
++  [\\/]* | ?:[\\/]* )  # Absolute path.
++    ac_srcdir=$srcdir$ac_dir_suffix;
++    ac_top_srcdir=$srcdir ;;
++  *) # Relative path.
++    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
++    ac_top_srcdir=$ac_top_builddir$srcdir ;;
++esac
++
++# Do not use `cd foo && pwd` to compute absolute paths, because
++# the directories may not exist.
++case `pwd` in
++.) ac_abs_builddir="$ac_dir";;
++*)
++  case "$ac_dir" in
++  .) ac_abs_builddir=`pwd`;;
++  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
++  *) ac_abs_builddir=`pwd`/"$ac_dir";;
++  esac;;
++esac
++case $ac_abs_builddir in
++.) ac_abs_top_builddir=${ac_top_builddir}.;;
++*)
++  case ${ac_top_builddir}. in
++  .) ac_abs_top_builddir=$ac_abs_builddir;;
++  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
++  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
++  esac;;
++esac
++case $ac_abs_builddir in
++.) ac_abs_srcdir=$ac_srcdir;;
++*)
++  case $ac_srcdir in
++  .) ac_abs_srcdir=$ac_abs_builddir;;
++  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
++  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
++  esac;;
++esac
++case $ac_abs_builddir in
++.) ac_abs_top_srcdir=$ac_top_srcdir;;
++*)
++  case $ac_top_srcdir in
++  .) ac_abs_top_srcdir=$ac_abs_builddir;;
++  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
++  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
++  esac;;
++esac
++
++
++  case $INSTALL in
++  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
++  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
++  esac
++
++  # Let's still pretend it is `configure' which instantiates (i.e., don't
++  # use $as_me), people would be surprised to read:
++  #    /* config.h.  Generated by config.status.  */
++  if test x"$ac_file" = x-; then
++    configure_input=
++  else
++    configure_input="$ac_file.  "
++  fi
++  configure_input=$configure_input"Generated from `echo $ac_file_in |
++				     sed 's,.*/,,'` by configure."
++
++  # First look for the input files in the build tree, otherwise in the
++  # src tree.
++  ac_file_inputs=`IFS=:
++    for f in $ac_file_in; do
++      case $f in
++      -) echo $tmp/stdin ;;
++      [\\/$]*)
++	 # Absolute (can't be DOS-style, as IFS=:)
++	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
++echo "$as_me: error: cannot find input file: $f" >&2;}
++   { (exit 1); exit 1; }; }
++	 echo "$f";;
++      *) # Relative
++	 if test -f "$f"; then
++	   # Build tree
++	   echo "$f"
++	 elif test -f "$srcdir/$f"; then
++	   # Source tree
++	   echo "$srcdir/$f"
++	 else
++	   # /dev/null tree
++	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
++echo "$as_me: error: cannot find input file: $f" >&2;}
++   { (exit 1); exit 1; }; }
++	 fi;;
++      esac
++    done` || { (exit 1); exit 1; }
++
++  if test x"$ac_file" != x-; then
++    { echo "$as_me:$LINENO: creating $ac_file" >&5
++echo "$as_me: creating $ac_file" >&6;}
++    rm -f "$ac_file"
++  fi
++_ACEOF
++cat >>$CONFIG_STATUS <<_ACEOF
++  sed "$ac_vpsub
++$extrasub
++_ACEOF
++cat >>$CONFIG_STATUS <<\_ACEOF
++:t
++/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
++s,@configure_input@,$configure_input,;t t
++s,@srcdir@,$ac_srcdir,;t t
++s,@abs_srcdir@,$ac_abs_srcdir,;t t
++s,@top_srcdir@,$ac_top_srcdir,;t t
++s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
++s,@builddir@,$ac_builddir,;t t
++s,@abs_builddir@,$ac_abs_builddir,;t t
++s,@top_builddir@,$ac_top_builddir,;t t
++s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
++s,@INSTALL@,$ac_INSTALL,;t t
++" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
++  rm -f $tmp/stdin
++  if test x"$ac_file" != x-; then
++    mv $tmp/out $ac_file
++  else
++    cat $tmp/out
++    rm -f $tmp/out
++  fi
++
++done
++_ACEOF
++cat >>$CONFIG_STATUS <<\_ACEOF
++
++#
++# CONFIG_HEADER section.
++#
++
++# 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=' '
++ac_dD=',;t'
++# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
++ac_uA='s,^\([	 ]*\)#\([	 ]*\)undef\([	 ][	 ]*\)'
++ac_uB='$,\1#\2define\3'
++ac_uC=' '
++ac_uD=',;t'
++
++for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
++  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
++  case $ac_file in
++  - | *:- | *:-:* ) # input from stdin
++	cat >$tmp/stdin
++	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
++	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
++  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
++	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
++  * )   ac_file_in=$ac_file.in ;;
++  esac
++
++  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
++echo "$as_me: creating $ac_file" >&6;}
++
++  # First look for the input files in the build tree, otherwise in the
++  # src tree.
++  ac_file_inputs=`IFS=:
++    for f in $ac_file_in; do
++      case $f in
++      -) echo $tmp/stdin ;;
++      [\\/$]*)
++	 # Absolute (can't be DOS-style, as IFS=:)
++	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
++echo "$as_me: error: cannot find input file: $f" >&2;}
++   { (exit 1); exit 1; }; }
++	 # Do quote $f, to prevent DOS paths from being IFS'd.
++	 echo "$f";;
++      *) # Relative
++	 if test -f "$f"; then
++	   # Build tree
++	   echo "$f"
++	 elif test -f "$srcdir/$f"; then
++	   # Source tree
++	   echo "$srcdir/$f"
++	 else
++	   # /dev/null tree
++	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
++echo "$as_me: error: cannot find input file: $f" >&2;}
++   { (exit 1); exit 1; }; }
++	 fi;;
++      esac
++    done` || { (exit 1); exit 1; }
++  # Remove the trailing spaces.
++  sed 's/[	 ]*$//' $ac_file_inputs >$tmp/in
++
++_ACEOF
++
++# Transform confdefs.h into two sed scripts, `conftest.defines' and
++# `conftest.undefs', that substitutes the proper values into
++# config.h.in to produce config.h.  The first handles `#define'
++# templates, and the second `#undef' templates.
++# 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.defines conftest.undefs
++# Using a here document instead of a string reduces the quoting nightmare.
++# Putting comments in sed scripts is not portable.
++#
++# `end' is used to avoid that the second main sed command (meant for
++# 0-ary CPP macros) applies to n-ary macro definitions.
++# See the Autoconf documentation for `clear'.
++cat >confdef2sed.sed <<\_ACEOF
++s/[\\&,]/\\&/g
++s,[\\$`],\\&,g
++t clear
++: clear
++s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*\)\(([^)]*)\)[	 ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
++t end
++s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
++: end
++_ACEOF
++# If some macros were called several times there might be several times
++# the same #defines, which is useless.  Nevertheless, we may not want to
++# sort them, since we want the *last* AC-DEFINE to be honored.
++uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
++sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
++rm -f confdef2sed.sed
++
++# 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.undefs <<\_ACEOF
++s,^[	 ]*#[	 ]*undef[	 ][	 ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
++_ACEOF
++
++# Break up conftest.defines because some shells have a limit on the size
++# of here documents, and old seds have small limits too (100 cmds).
++echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
++echo '  if grep "^[	 ]*#[	 ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
++echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
++echo '  :' >>$CONFIG_STATUS
++rm -f conftest.tail
++while grep . conftest.defines >/dev/null
++do
++  # Write a limited-size here document to $tmp/defines.sed.
++  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
++  # Speed up: don't consider the non `#define' lines.
++  echo '/^[	 ]*#[	 ]*define/!b' >>$CONFIG_STATUS
++  # Work around the forget-to-reset-the-flag bug.
++  echo 't clr' >>$CONFIG_STATUS
++  echo ': clr' >>$CONFIG_STATUS
++  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
++  echo 'CEOF
++  sed -f $tmp/defines.sed $tmp/in >$tmp/out
++  rm -f $tmp/in
++  mv $tmp/out $tmp/in
++' >>$CONFIG_STATUS
++  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
++  rm -f conftest.defines
++  mv conftest.tail conftest.defines
++done
++rm -f conftest.defines
++echo '  fi # grep' >>$CONFIG_STATUS
++echo >>$CONFIG_STATUS
++
++# Break up conftest.undefs because some shells have a limit on the size
++# of here documents, and old seds have small limits too (100 cmds).
++echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
++rm -f conftest.tail
++while grep . conftest.undefs >/dev/null
++do
++  # Write a limited-size here document to $tmp/undefs.sed.
++  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
++  # Speed up: don't consider the non `#undef'
++  echo '/^[	 ]*#[	 ]*undef/!b' >>$CONFIG_STATUS
++  # Work around the forget-to-reset-the-flag bug.
++  echo 't clr' >>$CONFIG_STATUS
++  echo ': clr' >>$CONFIG_STATUS
++  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
++  echo 'CEOF
++  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
++  rm -f $tmp/in
++  mv $tmp/out $tmp/in
++' >>$CONFIG_STATUS
++  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
++  rm -f conftest.undefs
++  mv conftest.tail conftest.undefs
++done
++rm -f conftest.undefs
++
++cat >>$CONFIG_STATUS <<\_ACEOF
++  # Let's still pretend it is `configure' which instantiates (i.e., don't
++  # use $as_me), people would be surprised to read:
++  #    /* config.h.  Generated by config.status.  */
++  if test x"$ac_file" = x-; then
++    echo "/* Generated by configure.  */" >$tmp/config.h
++  else
++    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
++  fi
++  cat $tmp/in >>$tmp/config.h
++  rm -f $tmp/in
++  if test x"$ac_file" != x-; then
++    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
++      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
++echo "$as_me: $ac_file is unchanged" >&6;}
++    else
++      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
++$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++	 X"$ac_file" : 'X\(//\)[^/]' \| \
++	 X"$ac_file" : 'X\(//\)$' \| \
++	 X"$ac_file" : 'X\(/\)' \| \
++	 .     : '\(.\)' 2>/dev/null ||
++echo X"$ac_file" |
++    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
++  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
++  	  /^X\(\/\/\)$/{ s//\1/; q; }
++  	  /^X\(\/\).*/{ s//\1/; q; }
++  	  s/.*/./; q'`
++      { if $as_mkdir_p; then
++    mkdir -p "$ac_dir"
++  else
++    as_dir="$ac_dir"
++    as_dirs=
++    while test ! -d "$as_dir"; do
++      as_dirs="$as_dir $as_dirs"
++      as_dir=`(dirname "$as_dir") 2>/dev/null ||
++$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++	 X"$as_dir" : 'X\(//\)[^/]' \| \
++	 X"$as_dir" : 'X\(//\)$' \| \
++	 X"$as_dir" : 'X\(/\)' \| \
++	 .     : '\(.\)' 2>/dev/null ||
++echo X"$as_dir" |
++    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
++  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
++  	  /^X\(\/\/\)$/{ s//\1/; q; }
++  	  /^X\(\/\).*/{ s//\1/; q; }
++  	  s/.*/./; q'`
++    done
++    test ! -n "$as_dirs" || mkdir $as_dirs
++  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
++echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
++   { (exit 1); exit 1; }; }; }
++
++      rm -f $ac_file
++      mv $tmp/config.h $ac_file
++    fi
++  else
++    cat $tmp/config.h
++    rm -f $tmp/config.h
++  fi
++# Compute $ac_file's index in $config_headers.
++_am_stamp_count=1
++for _am_header in $config_headers :; do
++  case $_am_header in
++    $ac_file | $ac_file:* )
++      break ;;
++    * )
++      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
++  esac
++done
++echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
++$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++	 X$ac_file : 'X\(//\)[^/]' \| \
++	 X$ac_file : 'X\(//\)$' \| \
++	 X$ac_file : 'X\(/\)' \| \
++	 .     : '\(.\)' 2>/dev/null ||
++echo X$ac_file |
++    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
++  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
++  	  /^X\(\/\/\)$/{ s//\1/; q; }
++  	  /^X\(\/\).*/{ s//\1/; q; }
++  	  s/.*/./; q'`/stamp-h$_am_stamp_count
++done
++_ACEOF
++
++cat >>$CONFIG_STATUS <<\_ACEOF
++
++{ (exit 0); exit 0; }
++_ACEOF
++chmod +x $CONFIG_STATUS
++ac_clean_files=$ac_clean_files_save
++
++
++# configure is writing to config.log, and then calls config.status.
++# config.status does its own redirection, appending to config.log.
++# Unfortunately, on DOS this fails, as config.log is still kept open
++# by configure, so config.status won't be able to write to it; its
++# output is simply discarded.  So we exec the FD to /dev/null,
++# effectively closing config.log, so it can be properly (re)opened and
++# appended to by config.status.  When coming back to configure, we
++# need to make the FD available again.
++if test "$no_create" != yes; then
++  ac_cs_success=:
++  ac_config_status_args=
++  test "$silent" = yes &&
++    ac_config_status_args="$ac_config_status_args --quiet"
++  exec 5>/dev/null
++  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
++  exec 5>>config.log
++  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
++  # would make configure fail if this is the last instruction.
++  $ac_cs_success || { (exit 1); exit 1; }
++fi
++
++
++
++cat > include/newversion.h.in <<EOF
++const char *heimdal_long_version = "@(#)\$Version: $PACKAGE_STRING by @USER@ on @HOST@ ($host) @DATE@ \$";
++const char *heimdal_version = "Heimdal 0.6.3";
++EOF
++
++if test -f include/version.h && cmp -s include/newversion.h.in include/version.h.in; then
++	echo "include/version.h is unchanged"
++	rm -f include/newversion.h.in
++else
++ 	echo "creating include/version.h"
++ 	User=${USER-${LOGNAME}}
++ 	Host=`(hostname || uname -n || echo unknown) 2>/dev/null | sed 1q`
++ 	Date=`date`
++	mv -f include/newversion.h.in include/version.h.in
++	sed -e "s/@USER@/$User/" -e "s/@HOST@/$Host/" -e "s/@DATE@/$Date/" include/version.h.in > include/version.h
++fi
+diff -ruN heimdal-0.6.3-old/autom4te.cache/requests heimdal-0.6.3/autom4te.cache/requests
+--- heimdal-0.6.3-old/autom4te.cache/requests	1970-01-01 10:00:00.000000000 +1000
++++ heimdal-0.6.3/autom4te.cache/requests	2004-09-14 08:39:40.000000000 +1000
+@@ -0,0 +1,117 @@
++# This file was generated by Autom4te Mon Jul 12 13:11:24 PDT 2004.
++# It contains the lists of macros which have been traced.
++# It can be safely removed.
++
++@request = (
++             bless( [
++                      '0',
++                      1,
++                      [
++                        '/usr/share/autoconf'
++                      ],
++                      [
++                        '/usr/share/autoconf/autoconf/autoconf.m4f',
++                        'aclocal.m4',
++                        'configure.in'
++                      ],
++                      {
++                        'm4_pattern_forbid' => 1,
++                        'AC_CONFIG_LIBOBJ_DIR' => 1,
++                        'AC_TYPE_OFF_T' => 1,
++                        'AC_C_VOLATILE' => 1,
++                        'AC_FUNC_CLOSEDIR_VOID' => 1,
++                        'AC_REPLACE_FNMATCH' => 1,
++                        'AC_PROG_LIBTOOL' => 1,
++                        'AC_FUNC_STAT' => 1,
++                        'AC_HEADER_TIME' => 1,
++                        'AC_FUNC_WAIT3' => 1,
++                        'AM_AUTOMAKE_VERSION' => 1,
++                        'AC_STRUCT_TM' => 1,
++                        'AC_FUNC_LSTAT' => 1,
++                        'AC_TYPE_MODE_T' => 1,
++                        'AC_FUNC_GETMNTENT' => 1,
++                        'AC_FUNC_STRTOD' => 1,
++                        'AC_CHECK_HEADERS' => 1,
++                        'AC_FUNC_STRNLEN' => 1,
++                        'm4_sinclude' => 1,
++                        'AC_PROG_CXX' => 1,
++                        'AC_PATH_X' => 1,
++                        'AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK' => 1,
++                        'AC_PROG_AWK' => 1,
++                        '_m4_warn' => 1,
++                        'AC_HEADER_STDC' => 1,
++                        'AC_HEADER_MAJOR' => 1,
++                        'AC_FUNC_ERROR_AT_LINE' => 1,
++                        'AC_PROG_GCC_TRADITIONAL' => 1,
++                        'AC_LIBSOURCE' => 1,
++                        'AC_FUNC_MBRTOWC' => 1,
++                        'AC_STRUCT_ST_BLOCKS' => 1,
++                        'AC_TYPE_SIGNAL' => 1,
++                        'AC_TYPE_UID_T' => 1,
++                        'AC_PROG_MAKE_SET' => 1,
++                        'AC_CONFIG_AUX_DIR' => 1,
++                        'sinclude' => 1,
++                        'm4_pattern_allow' => 1,
++                        'AC_DEFINE_TRACE_LITERAL' => 1,
++                        'AC_FUNC_STRERROR_R' => 1,
++                        'AC_PROG_CC' => 1,
++                        'AC_DECL_SYS_SIGLIST' => 1,
++                        'AC_FUNC_FORK' => 1,
++                        'AC_FUNC_VPRINTF' => 1,
++                        'AC_FUNC_STRCOLL' => 1,
++                        'AC_PROG_YACC' => 1,
++                        'AC_STRUCT_TIMEZONE' => 1,
++                        'AC_INIT' => 1,
++                        'AC_FUNC_CHOWN' => 1,
++                        'AC_SUBST' => 1,
++                        'AC_FUNC_ALLOCA' => 1,
++                        'AC_CANONICAL_HOST' => 1,
++                        'AC_FUNC_GETPGRP' => 1,
++                        'AC_PROG_RANLIB' => 1,
++                        'AM_INIT_AUTOMAKE' => 1,
++                        'AC_FUNC_SETPGRP' => 1,
++                        'AC_CONFIG_SUBDIRS' => 1,
++                        'AC_FUNC_MMAP' => 1,
++                        'AC_FUNC_REALLOC' => 1,
++                        'AC_TYPE_SIZE_T' => 1,
++                        'AC_CONFIG_LINKS' => 1,
++                        'AC_CHECK_TYPES' => 1,
++                        'AC_CHECK_MEMBERS' => 1,
++                        'AM_MAINTAINER_MODE' => 1,
++                        'AC_FUNC_UTIME_NULL' => 1,
++                        'AC_FUNC_SELECT_ARGTYPES' => 1,
++                        'AC_FUNC_STRFTIME' => 1,
++                        'AC_HEADER_STAT' => 1,
++                        'AC_C_INLINE' => 1,
++                        'AC_PROG_CPP' => 1,
++                        'AC_TYPE_PID_T' => 1,
++                        'AC_C_CONST' => 1,
++                        'AC_PROG_LEX' => 1,
++                        'AM_ENABLE_MULTILIB' => 1,
++                        'AC_CONFIG_FILES' => 1,
++                        'include' => 1,
++                        'AC_FUNC_SETVBUF_REVERSED' => 1,
++                        'AC_PROG_INSTALL' => 1,
++                        'AM_GNU_GETTEXT' => 1,
++                        'AC_CHECK_LIB' => 1,
++                        'AC_FUNC_OBSTACK' => 1,
++                        'AC_FUNC_MALLOC' => 1,
++                        'AC_FUNC_GETGROUPS' => 1,
++                        'AC_FUNC_GETLOADAVG' => 1,
++                        'AH_OUTPUT' => 1,
++                        'AC_FUNC_FSEEKO' => 1,
++                        'AM_PROG_CC_C_O' => 1,
++                        'AM_CONDITIONAL' => 1,
++                        'AC_CANONICAL_SYSTEM' => 1,
++                        'AC_FUNC_MKTIME' => 1,
++                        'AC_CONFIG_HEADERS' => 1,
++                        'AC_HEADER_SYS_WAIT' => 1,
++                        'AC_PROG_LN_S' => 1,
++                        'AC_FUNC_MEMCMP' => 1,
++                        'm4_include' => 1,
++                        'AC_HEADER_DIRENT' => 1,
++                        'AC_CHECK_FUNCS' => 1
++                      }
++                    ], 'Autom4te::Request' )
++           );
++
+diff -ruN heimdal-0.6.3-old/autom4te.cache/traces.0 heimdal-0.6.3/autom4te.cache/traces.0
+--- heimdal-0.6.3-old/autom4te.cache/traces.0	1970-01-01 10:00:00.000000000 +1000
++++ heimdal-0.6.3/autom4te.cache/traces.0	2004-09-14 08:39:13.000000000 +1000
+@@ -0,0 +1,3521 @@
++m4trace:aclocal.m4:152: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
++m4trace:configure.in:5: -1- AC_INIT([Heimdal], [0.6.3], [heimdal-bugs@pdc.kth.se])
++m4trace:configure.in:5: -1- m4_pattern_forbid([^_?A[CHUM]_])
++m4trace:configure.in:5: -1- m4_pattern_forbid([_AC_])
++m4trace:configure.in:5: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
++m4trace:configure.in:5: -1- m4_pattern_allow([^AS_FLAGS$])
++m4trace:configure.in:5: -1- m4_pattern_forbid([^_?m4_])
++m4trace:configure.in:5: -1- m4_pattern_forbid([^dnl$])
++m4trace:configure.in:5: -1- m4_pattern_forbid([^_?AS_])
++m4trace:configure.in:5: -1- AC_SUBST([SHELL], [${CONFIG_SHELL-/bin/sh}])
++m4trace:configure.in:5: -1- AC_SUBST([PATH_SEPARATOR])
++m4trace:configure.in:5: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME],      ['AC_PACKAGE_NAME'])])
++m4trace:configure.in:5: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME],   ['AC_PACKAGE_TARNAME'])])
++m4trace:configure.in:5: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION],   ['AC_PACKAGE_VERSION'])])
++m4trace:configure.in:5: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING],    ['AC_PACKAGE_STRING'])])
++m4trace:configure.in:5: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])])
++m4trace:configure.in:5: -1- AC_SUBST([exec_prefix], [NONE])
++m4trace:configure.in:5: -1- AC_SUBST([prefix], [NONE])
++m4trace:configure.in:5: -1- AC_SUBST([program_transform_name], [s,x,x,])
++m4trace:configure.in:5: -1- AC_SUBST([bindir], ['${exec_prefix}/bin'])
++m4trace:configure.in:5: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin'])
++m4trace:configure.in:5: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec'])
++m4trace:configure.in:5: -1- AC_SUBST([datadir], ['${prefix}/share'])
++m4trace:configure.in:5: -1- AC_SUBST([sysconfdir], ['${prefix}/etc'])
++m4trace:configure.in:5: -1- AC_SUBST([sharedstatedir], ['${prefix}/com'])
++m4trace:configure.in:5: -1- AC_SUBST([localstatedir], ['${prefix}/var'])
++m4trace:configure.in:5: -1- AC_SUBST([libdir], ['${exec_prefix}/lib'])
++m4trace:configure.in:5: -1- AC_SUBST([includedir], ['${prefix}/include'])
++m4trace:configure.in:5: -1- AC_SUBST([oldincludedir], ['/usr/include'])
++m4trace:configure.in:5: -1- AC_SUBST([infodir], ['${prefix}/info'])
++m4trace:configure.in:5: -1- AC_SUBST([mandir], ['${prefix}/man'])
++m4trace:configure.in:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME])
++m4trace:configure.in:5: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */
++#undef PACKAGE_NAME])
++m4trace:configure.in:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME])
++m4trace:configure.in:5: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */
++#undef PACKAGE_TARNAME])
++m4trace:configure.in:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION])
++m4trace:configure.in:5: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */
++#undef PACKAGE_VERSION])
++m4trace:configure.in:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING])
++m4trace:configure.in:5: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */
++#undef PACKAGE_STRING])
++m4trace:configure.in:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT])
++m4trace:configure.in:5: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */
++#undef PACKAGE_BUGREPORT])
++m4trace:configure.in:5: -1- AC_SUBST([build_alias])
++m4trace:configure.in:5: -1- AC_SUBST([host_alias])
++m4trace:configure.in:5: -1- AC_SUBST([target_alias])
++m4trace:configure.in:5: -1- AC_SUBST([DEFS])
++m4trace:configure.in:5: -1- AC_SUBST([ECHO_C])
++m4trace:configure.in:5: -1- AC_SUBST([ECHO_N])
++m4trace:configure.in:5: -1- AC_SUBST([ECHO_T])
++m4trace:configure.in:5: -1- AC_SUBST([LIBS])
++m4trace:configure.in:6: -1- AM_MAINTAINER_MODE
++m4trace:configure.in:6: -1- AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
++m4trace:configure.in:6: -1- AC_SUBST([MAINTAINER_MODE_TRUE])
++m4trace:configure.in:6: -1- AC_SUBST([MAINTAINER_MODE_FALSE])
++m4trace:configure.in:6: -1- AC_SUBST([MAINT])
++m4trace:configure.in:8: -1- _m4_warn([obsolete], [The macro `AM_CONFIG_HEADER' is obsolete.
++You should run autoupdate.], [aclocal.m4:121: AM_CONFIG_HEADER is expanded from...
++configure.in:8: the top level])
++m4trace:configure.in:8: -1- AC_CONFIG_HEADERS([include/config.h])
++m4trace:configure.in:11: -1- AC_PROG_CC
++m4trace:configure.in:11: -1- AC_SUBST([CC])
++m4trace:configure.in:11: -1- AC_SUBST([CFLAGS])
++m4trace:configure.in:11: -1- AC_SUBST([LDFLAGS])
++m4trace:configure.in:11: -1- AC_SUBST([CPPFLAGS])
++m4trace:configure.in:11: -1- AC_SUBST([CC])
++m4trace:configure.in:11: -1- AC_SUBST([ac_ct_CC])
++m4trace:configure.in:11: -1- AC_SUBST([CC])
++m4trace:configure.in:11: -1- AC_SUBST([ac_ct_CC])
++m4trace:configure.in:11: -1- AC_SUBST([CC])
++m4trace:configure.in:11: -1- AC_SUBST([CC])
++m4trace:configure.in:11: -1- AC_SUBST([ac_ct_CC])
++m4trace:configure.in:11: -1- AC_SUBST([EXEEXT], [$ac_cv_exeext])
++m4trace:configure.in:11: -1- AC_SUBST([OBJEXT], [$ac_cv_objext])
++m4trace:configure.in:12: -1- AC_PROG_CPP
++m4trace:configure.in:12: -1- AC_SUBST([CPP])
++m4trace:configure.in:12: -1- AC_SUBST([CPPFLAGS])
++m4trace:configure.in:12: -1- AC_SUBST([CPP])
++m4trace:configure.in:13: -1- _m4_warn([obsolete], [The macro `AC_PROG_CC_STDC' is obsolete.
++You should run autoupdate.], [autoconf/c.m4:870: AC_PROG_CC_STDC is expanded from...
++configure.in:13: the top level])
++m4trace:configure.in:15: -1- AM_INIT_AUTOMAKE([foreign no-dependencies 1.7])
++m4trace:configure.in:15: -1- AM_AUTOMAKE_VERSION([1.7.9])
++m4trace:configure.in:15: -1- AC_PROG_INSTALL
++m4trace:configure.in:15: -1- AC_SUBST([INSTALL_PROGRAM])
++m4trace:configure.in:15: -1- AC_SUBST([INSTALL_SCRIPT])
++m4trace:configure.in:15: -1- AC_SUBST([INSTALL_DATA])
++m4trace:configure.in:15: -1- AC_SUBST([CYGPATH_W])
++m4trace:configure.in:15: -1- AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])
++m4trace:configure.in:15: -1- AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])
++m4trace:configure.in:15: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE])
++m4trace:configure.in:15: -1- AH_OUTPUT([PACKAGE], [/* Name of package */
++#undef PACKAGE])
++m4trace:configure.in:15: -1- AC_DEFINE_TRACE_LITERAL([VERSION])
++m4trace:configure.in:15: -1- AH_OUTPUT([VERSION], [/* Version number of package */
++#undef VERSION])
++m4trace:configure.in:15: -1- AC_SUBST([ACLOCAL])
++m4trace:configure.in:15: -1- AC_SUBST([AUTOCONF])
++m4trace:configure.in:15: -1- AC_SUBST([AUTOMAKE])
++m4trace:configure.in:15: -1- AC_SUBST([AUTOHEADER])
++m4trace:configure.in:15: -1- AC_SUBST([MAKEINFO])
++m4trace:configure.in:15: -1- AC_SUBST([AMTAR])
++m4trace:configure.in:15: -1- AC_SUBST([install_sh])
++m4trace:configure.in:15: -1- AC_SUBST([STRIP])
++m4trace:configure.in:15: -1- AC_SUBST([ac_ct_STRIP])
++m4trace:configure.in:15: -1- AC_SUBST([INSTALL_STRIP_PROGRAM])
++m4trace:configure.in:15: -1- AC_PROG_AWK
++m4trace:configure.in:15: -1- AC_SUBST([AWK])
++m4trace:configure.in:15: -1- AC_PROG_MAKE_SET
++m4trace:configure.in:15: -1- AC_SUBST([SET_MAKE])
++m4trace:configure.in:15: -1- AC_SUBST([am__leading_dot])
++m4trace:configure.in:16: -1- AM_MAINTAINER_MODE
++m4trace:configure.in:16: -1- AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
++m4trace:configure.in:16: -1- AC_SUBST([MAINTAINER_MODE_TRUE])
++m4trace:configure.in:16: -1- AC_SUBST([MAINTAINER_MODE_FALSE])
++m4trace:configure.in:16: -1- AC_SUBST([MAINT])
++m4trace:configure.in:23: -1- AC_CANONICAL_HOST
++m4trace:configure.in:23: -1- AC_SUBST([build], [$ac_cv_build])
++m4trace:configure.in:23: -1- AC_SUBST([build_cpu], [`echo $ac_cv_build | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\1/'`])
++m4trace:configure.in:23: -1- AC_SUBST([build_vendor], [`echo $ac_cv_build | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\2/'`])
++m4trace:configure.in:23: -1- AC_SUBST([build_os], [`echo $ac_cv_build | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\3/'`])
++m4trace:configure.in:23: -1- AC_SUBST([host], [$ac_cv_host])
++m4trace:configure.in:23: -1- AC_SUBST([host_cpu], [`echo $ac_cv_host | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\1/'`])
++m4trace:configure.in:23: -1- AC_SUBST([host_vendor], [`echo $ac_cv_host | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\2/'`])
++m4trace:configure.in:23: -1- AC_SUBST([host_os], [`echo $ac_cv_host | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\3/'`])
++m4trace:configure.in:25: -1- AC_SUBST([CANONICAL_HOST])
++m4trace:configure.in:27: -1- AC_DEFINE_TRACE_LITERAL([_FILE_OFFSET_BITS])
++m4trace:configure.in:27: -1- AH_OUTPUT([_FILE_OFFSET_BITS], [/* Number of bits in a file offset, on hosts where this is settable. */
++#undef _FILE_OFFSET_BITS])
++m4trace:configure.in:27: -1- AC_DEFINE_TRACE_LITERAL([_LARGE_FILES])
++m4trace:configure.in:27: -1- AH_OUTPUT([_LARGE_FILES], [/* Define for large files, on AIX-style hosts. */
++#undef _LARGE_FILES])
++m4trace:configure.in:38: -1- AC_DEFINE_TRACE_LITERAL([_GNU_SOURCE])
++m4trace:configure.in:38: -1- AH_OUTPUT([_GNU_SOURCE], [/* Define to enable extensions on glibc-based systems such as Linux. */
++#undef _GNU_SOURCE])
++m4trace:configure.in:44: -1- AC_PROG_YACC
++m4trace:configure.in:44: -1- AC_SUBST([YACC])
++m4trace:configure.in:45: -1- AC_PROG_LEX
++m4trace:configure.in:45: -1- AC_SUBST([LEX])
++m4trace:configure.in:45: -1- AC_CHECK_LIB([fl], [yywrap], [LEXLIB="-lfl"], [AC_CHECK_LIB(l, yywrap, LEXLIB="-ll")])
++m4trace:configure.in:45: -1- AC_CHECK_LIB([l], [yywrap], [LEXLIB="-ll"])
++m4trace:configure.in:45: -1- AC_SUBST([LEXLIB])
++m4trace:configure.in:45: -1- AC_SUBST([LEX_OUTPUT_ROOT], [$ac_cv_prog_lex_root])
++m4trace:configure.in:45: -1- AC_DEFINE_TRACE_LITERAL([YYTEXT_POINTER])
++m4trace:configure.in:45: -1- AH_OUTPUT([YYTEXT_POINTER], [/* Define to 1 if `lex\' declares `yytext\' as a `char *\' by default, not a
++   `char[]\'. */
++#undef YYTEXT_POINTER])
++m4trace:configure.in:47: -1- AC_PROG_AWK
++m4trace:configure.in:47: -1- AC_SUBST([AWK])
++m4trace:configure.in:48: -1- AC_SUBST([LN_S])
++m4trace:configure.in:50: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:1049: AC_MIPS_ABI is expanded from...
++configure.in:50: the top level])
++m4trace:configure.in:50: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:1049: AC_MIPS_ABI is expanded from...
++configure.in:50: the top level])
++m4trace:configure.in:50: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:1049: AC_MIPS_ABI is expanded from...
++configure.in:50: the top level])
++m4trace:configure.in:54: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:1080: AC_C___ATTRIBUTE__ is expanded from...
++configure.in:54: the top level])
++m4trace:configure.in:54: -1- AC_DEFINE_TRACE_LITERAL([HAVE___ATTRIBUTE__])
++m4trace:configure.in:54: -1- AH_OUTPUT([HAVE___ATTRIBUTE__], [/* define if your compiler has __attribute__ */
++#undef HAVE___ATTRIBUTE__])
++m4trace:configure.in:56: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++autoconf/general.m4:1303: AC_ARG_ENABLE is expanded from...
++aclocal.m4:2843: AC_ENABLE_SHARED is expanded from...
++configure.in:56: the top level])
++m4trace:configure.in:57: -1- AC_PROG_LIBTOOL
++m4trace:configure.in:57: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++autoconf/general.m4:1303: AC_ARG_ENABLE is expanded from...
++aclocal.m4:2882: AC_ENABLE_STATIC is expanded from...
++configure.in:57: AC_ENABLE_STATIC is required by...
++aclocal.m4:1293: AC_LIBTOOL_SETUP is expanded from...
++configure.in:57: AC_LIBTOOL_SETUP is required by...
++aclocal.m4:1151: _AC_PROG_LIBTOOL is expanded from...
++configure.in:57: _AC_PROG_LIBTOOL is required by...
++aclocal.m4:1131: AC_PROG_LIBTOOL is expanded from...
++configure.in:57: the top level])
++m4trace:configure.in:57: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++autoconf/general.m4:1303: AC_ARG_ENABLE is expanded from...
++aclocal.m4:2921: AC_ENABLE_FAST_INSTALL is expanded from...
++configure.in:57: AC_ENABLE_FAST_INSTALL is required by...
++aclocal.m4:1293: AC_LIBTOOL_SETUP is expanded from...
++configure.in:57: AC_LIBTOOL_SETUP is required by...
++aclocal.m4:1151: _AC_PROG_LIBTOOL is expanded from...
++configure.in:57: _AC_PROG_LIBTOOL is required by...
++aclocal.m4:1131: AC_PROG_LIBTOOL is expanded from...
++configure.in:57: the top level])
++m4trace:configure.in:57: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++autoconf/general.m4:1331: AC_ARG_WITH is expanded from...
++aclocal.m4:3118: AC_PROG_LD is expanded from...
++configure.in:57: AC_PROG_LD is required by...
++aclocal.m4:1293: AC_LIBTOOL_SETUP is expanded from...
++configure.in:57: AC_LIBTOOL_SETUP is required by...
++aclocal.m4:1151: _AC_PROG_LIBTOOL is expanded from...
++configure.in:57: _AC_PROG_LIBTOOL is required by...
++aclocal.m4:1131: AC_PROG_LIBTOOL is expanded from...
++configure.in:57: the top level])
++m4trace:configure.in:57: -1- AC_SUBST([EGREP])
++m4trace:configure.in:57: -1- AC_PROG_LN_S
++m4trace:configure.in:57: -1- AC_SUBST([LN_S], [$as_ln_s])
++m4trace:configure.in:57: -1- AC_SUBST([ECHO])
++m4trace:configure.in:57: -1- AC_SUBST([AR])
++m4trace:configure.in:57: -1- AC_SUBST([ac_ct_AR])
++m4trace:configure.in:57: -1- AC_SUBST([RANLIB])
++m4trace:configure.in:57: -1- AC_SUBST([ac_ct_RANLIB])
++m4trace:configure.in:57: -1- AC_SUBST([STRIP])
++m4trace:configure.in:57: -1- AC_SUBST([ac_ct_STRIP])
++m4trace:configure.in:57: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++autoconf/general.m4:1303: AC_ARG_ENABLE is expanded from...
++aclocal.m4:1293: AC_LIBTOOL_SETUP is expanded from...
++configure.in:57: AC_LIBTOOL_SETUP is required by...
++aclocal.m4:1151: _AC_PROG_LIBTOOL is expanded from...
++configure.in:57: _AC_PROG_LIBTOOL is required by...
++aclocal.m4:1131: AC_PROG_LIBTOOL is expanded from...
++configure.in:57: the top level])
++m4trace:configure.in:57: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++autoconf/general.m4:1331: AC_ARG_WITH is expanded from...
++aclocal.m4:1293: AC_LIBTOOL_SETUP is expanded from...
++configure.in:57: AC_LIBTOOL_SETUP is required by...
++aclocal.m4:1151: _AC_PROG_LIBTOOL is expanded from...
++configure.in:57: _AC_PROG_LIBTOOL is required by...
++aclocal.m4:1131: AC_PROG_LIBTOOL is expanded from...
++configure.in:57: the top level])
++m4trace:configure.in:57: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
++aclocal.m4:1620: _LT_AC_LOCK is expanded from...
++configure.in:57: _LT_AC_LOCK is required by...
++aclocal.m4:2051: AC_LIBTOOL_SYS_HARD_LINK_LOCKS is expanded from...
++aclocal.m4:3665: _LT_AC_LANG_C_CONFIG is expanded from...
++aclocal.m4:3532: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
++aclocal.m4:1293: AC_LIBTOOL_SETUP is expanded from...
++configure.in:57: AC_LIBTOOL_SETUP is required by...
++aclocal.m4:1151: _AC_PROG_LIBTOOL is expanded from...
++configure.in:57: _AC_PROG_LIBTOOL is required by...
++aclocal.m4:1131: AC_PROG_LIBTOOL is expanded from...
++configure.in:57: the top level])
++m4trace:configure.in:57: -1- AC_CHECK_HEADERS([dlfcn.h])
++m4trace:configure.in:57: -1- AH_OUTPUT([HAVE_DLFCN_H], [/* Define to 1 if you have the <dlfcn.h> header file. */
++#undef HAVE_DLFCN_H])
++m4trace:configure.in:57: -1- AC_HEADER_STDC
++m4trace:configure.in:57: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS])
++m4trace:configure.in:57: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */
++#undef STDC_HEADERS])
++m4trace:configure.in:57: -1- AC_CHECK_HEADERS([sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
++		  inttypes.h stdint.h unistd.h], [], [], [$ac_includes_default])
++m4trace:configure.in:57: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the <sys/types.h> header file. */
++#undef HAVE_SYS_TYPES_H])
++m4trace:configure.in:57: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the <sys/stat.h> header file. */
++#undef HAVE_SYS_STAT_H])
++m4trace:configure.in:57: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
++#undef HAVE_STDLIB_H])
++m4trace:configure.in:57: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */
++#undef HAVE_STRING_H])
++m4trace:configure.in:57: -1- AH_OUTPUT([HAVE_MEMORY_H], [/* Define to 1 if you have the <memory.h> header file. */
++#undef HAVE_MEMORY_H])
++m4trace:configure.in:57: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the <strings.h> header file. */
++#undef HAVE_STRINGS_H])
++m4trace:configure.in:57: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */
++#undef HAVE_INTTYPES_H])
++m4trace:configure.in:57: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */
++#undef HAVE_STDINT_H])
++m4trace:configure.in:57: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
++#undef HAVE_UNISTD_H])
++m4trace:configure.in:57: -1- AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], [
++    lt_cv_dlopen="dyld"
++    lt_cv_dlopen_libs=
++    lt_cv_dlopen_self=yes
++    ])
++m4trace:configure.in:57: -1- AC_CHECK_LIB([dld], [shl_load], [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"], [AC_CHECK_FUNC([dlopen],
++	      [lt_cv_dlopen="dlopen"],
++	  [AC_CHECK_LIB([dl], [dlopen],
++		[lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
++	    [AC_CHECK_LIB([svld], [dlopen],
++		  [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
++	      [AC_CHECK_LIB([dld], [dld_link],
++		    [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
++	      ])
++	    ])
++	  ])
++	])
++m4trace:configure.in:57: -1- AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], [AC_CHECK_LIB([svld], [dlopen],
++		  [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
++	      [AC_CHECK_LIB([dld], [dld_link],
++		    [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
++	      ])
++	    ])
++m4trace:configure.in:57: -1- AC_CHECK_LIB([svld], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], [AC_CHECK_LIB([dld], [dld_link],
++		    [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
++	      ])
++m4trace:configure.in:57: -1- AC_CHECK_LIB([dld], [dld_link], [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
++m4trace:configure.in:57: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++autoconf/general.m4:1331: AC_ARG_WITH is expanded from...
++aclocal.m4:2797: _LT_AC_TAGCONFIG is expanded from...
++aclocal.m4:1293: AC_LIBTOOL_SETUP is expanded from...
++configure.in:57: AC_LIBTOOL_SETUP is required by...
++aclocal.m4:1151: _AC_PROG_LIBTOOL is expanded from...
++configure.in:57: _AC_PROG_LIBTOOL is required by...
++aclocal.m4:1131: AC_PROG_LIBTOOL is expanded from...
++configure.in:57: the top level])
++m4trace:configure.in:57: -1- _m4_warn([obsolete], [back quotes and double quotes must not be escaped in: $as_me:$LINENO: error: tag name \"$tagname\" already exists], [aclocal.m4:2797: _LT_AC_TAGCONFIG is expanded from...
++aclocal.m4:1293: AC_LIBTOOL_SETUP is expanded from...
++configure.in:57: AC_LIBTOOL_SETUP is required by...
++aclocal.m4:1151: _AC_PROG_LIBTOOL is expanded from...
++configure.in:57: _AC_PROG_LIBTOOL is required by...
++aclocal.m4:1131: AC_PROG_LIBTOOL is expanded from...
++configure.in:57: the top level])
++m4trace:configure.in:57: -1- _m4_warn([obsolete], [back quotes and double quotes must not be escaped in: $as_me: error: tag name \"$tagname\" already exists], [aclocal.m4:2797: _LT_AC_TAGCONFIG is expanded from...
++aclocal.m4:1293: AC_LIBTOOL_SETUP is expanded from...
++configure.in:57: AC_LIBTOOL_SETUP is required by...
++aclocal.m4:1151: _AC_PROG_LIBTOOL is expanded from...
++configure.in:57: _AC_PROG_LIBTOOL is required by...
++aclocal.m4:1131: AC_PROG_LIBTOOL is expanded from...
++configure.in:57: the top level])
++m4trace:configure.in:57: -1- AC_PROG_CXX
++m4trace:configure.in:57: -1- AC_SUBST([CXX])
++m4trace:configure.in:57: -1- AC_SUBST([CXXFLAGS])
++m4trace:configure.in:57: -1- AC_SUBST([LDFLAGS])
++m4trace:configure.in:57: -1- AC_SUBST([CPPFLAGS])
++m4trace:configure.in:57: -1- AC_SUBST([CXX])
++m4trace:configure.in:57: -1- AC_SUBST([ac_ct_CXX])
++m4trace:configure.in:57: -1- AC_SUBST([CXXCPP])
++m4trace:configure.in:57: -1- AC_SUBST([CPPFLAGS])
++m4trace:configure.in:57: -1- AC_SUBST([CXXCPP])
++m4trace:configure.in:57: -1- AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], [
++    lt_cv_dlopen="dyld"
++    lt_cv_dlopen_libs=
++    lt_cv_dlopen_self=yes
++    ])
++m4trace:configure.in:57: -1- AC_CHECK_LIB([dld], [shl_load], [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"], [AC_CHECK_FUNC([dlopen],
++	      [lt_cv_dlopen="dlopen"],
++	  [AC_CHECK_LIB([dl], [dlopen],
++		[lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
++	    [AC_CHECK_LIB([svld], [dlopen],
++		  [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
++	      [AC_CHECK_LIB([dld], [dld_link],
++		    [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
++	      ])
++	    ])
++	  ])
++	])
++m4trace:configure.in:57: -1- AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], [AC_CHECK_LIB([svld], [dlopen],
++		  [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
++	      [AC_CHECK_LIB([dld], [dld_link],
++		    [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
++	      ])
++	    ])
++m4trace:configure.in:57: -1- AC_CHECK_LIB([svld], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], [AC_CHECK_LIB([dld], [dld_link],
++		    [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
++	      ])
++m4trace:configure.in:57: -1- AC_CHECK_LIB([dld], [dld_link], [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
++m4trace:configure.in:57: -1- AC_SUBST([F77])
++m4trace:configure.in:57: -1- AC_SUBST([FFLAGS])
++m4trace:configure.in:57: -1- AC_SUBST([LDFLAGS])
++m4trace:configure.in:57: -1- AC_SUBST([F77])
++m4trace:configure.in:57: -1- AC_SUBST([ac_ct_F77])
++m4trace:configure.in:57: -1- _m4_warn([obsolete], [The macro `AC_LANG_SAVE' is obsolete.
++You should run autoupdate.], [autoconf/lang.m4:166: AC_LANG_SAVE is expanded from...
++aclocal.m4:4842: _LT_AC_LANG_GCJ_CONFIG is expanded from...
++aclocal.m4:4799: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from...
++aclocal.m4:2797: _LT_AC_TAGCONFIG is expanded from...
++aclocal.m4:1293: AC_LIBTOOL_SETUP is expanded from...
++configure.in:57: AC_LIBTOOL_SETUP is required by...
++aclocal.m4:1151: _AC_PROG_LIBTOOL is expanded from...
++configure.in:57: _AC_PROG_LIBTOOL is required by...
++aclocal.m4:1131: AC_PROG_LIBTOOL is expanded from...
++configure.in:57: the top level])
++m4trace:configure.in:57: -1- _m4_warn([obsolete], [instead of using `AC_LANG', `AC_LANG_SAVE',
++and `AC_LANG_RESTORE', you should use `AC_LANG_PUSH' and `AC_LANG_POP'.], [autoconf/lang.m4:166: AC_LANG_SAVE is expanded from...
++aclocal.m4:4842: _LT_AC_LANG_GCJ_CONFIG is expanded from...
++aclocal.m4:4799: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from...
++aclocal.m4:2797: _LT_AC_TAGCONFIG is expanded from...
++aclocal.m4:1293: AC_LIBTOOL_SETUP is expanded from...
++configure.in:57: AC_LIBTOOL_SETUP is required by...
++aclocal.m4:1151: _AC_PROG_LIBTOOL is expanded from...
++configure.in:57: _AC_PROG_LIBTOOL is required by...
++aclocal.m4:1131: AC_PROG_LIBTOOL is expanded from...
++configure.in:57: the top level])
++m4trace:configure.in:57: -1- AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], [
++    lt_cv_dlopen="dyld"
++    lt_cv_dlopen_libs=
++    lt_cv_dlopen_self=yes
++    ])
++m4trace:configure.in:57: -1- AC_CHECK_LIB([dld], [shl_load], [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"], [AC_CHECK_FUNC([dlopen],
++	      [lt_cv_dlopen="dlopen"],
++	  [AC_CHECK_LIB([dl], [dlopen],
++		[lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
++	    [AC_CHECK_LIB([svld], [dlopen],
++		  [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
++	      [AC_CHECK_LIB([dld], [dld_link],
++		    [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
++	      ])
++	    ])
++	  ])
++	])
++m4trace:configure.in:57: -1- AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], [AC_CHECK_LIB([svld], [dlopen],
++		  [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
++	      [AC_CHECK_LIB([dld], [dld_link],
++		    [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
++	      ])
++	    ])
++m4trace:configure.in:57: -1- AC_CHECK_LIB([svld], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], [AC_CHECK_LIB([dld], [dld_link],
++		    [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
++	      ])
++m4trace:configure.in:57: -1- AC_CHECK_LIB([dld], [dld_link], [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
++m4trace:configure.in:57: -1- _m4_warn([obsolete], [The macro `AC_LANG_RESTORE' is obsolete.
++You should run autoupdate.], [autoconf/lang.m4:172: AC_LANG_RESTORE is expanded from...
++aclocal.m4:4842: _LT_AC_LANG_GCJ_CONFIG is expanded from...
++aclocal.m4:4799: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from...
++aclocal.m4:2797: _LT_AC_TAGCONFIG is expanded from...
++aclocal.m4:1293: AC_LIBTOOL_SETUP is expanded from...
++configure.in:57: AC_LIBTOOL_SETUP is required by...
++aclocal.m4:1151: _AC_PROG_LIBTOOL is expanded from...
++configure.in:57: _AC_PROG_LIBTOOL is required by...
++aclocal.m4:1131: AC_PROG_LIBTOOL is expanded from...
++configure.in:57: the top level])
++m4trace:configure.in:57: -1- _m4_warn([obsolete], [The macro `AC_LANG_SAVE' is obsolete.
++You should run autoupdate.], [autoconf/lang.m4:166: AC_LANG_SAVE is expanded from...
++aclocal.m4:4881: _LT_AC_LANG_RC_CONFIG is expanded from...
++aclocal.m4:4850: AC_LIBTOOL_LANG_RC_CONFIG is expanded from...
++aclocal.m4:2797: _LT_AC_TAGCONFIG is expanded from...
++aclocal.m4:1293: AC_LIBTOOL_SETUP is expanded from...
++configure.in:57: AC_LIBTOOL_SETUP is required by...
++aclocal.m4:1151: _AC_PROG_LIBTOOL is expanded from...
++configure.in:57: _AC_PROG_LIBTOOL is required by...
++aclocal.m4:1131: AC_PROG_LIBTOOL is expanded from...
++configure.in:57: the top level])
++m4trace:configure.in:57: -1- _m4_warn([obsolete], [instead of using `AC_LANG', `AC_LANG_SAVE',
++and `AC_LANG_RESTORE', you should use `AC_LANG_PUSH' and `AC_LANG_POP'.], [autoconf/lang.m4:166: AC_LANG_SAVE is expanded from...
++aclocal.m4:4881: _LT_AC_LANG_RC_CONFIG is expanded from...
++aclocal.m4:4850: AC_LIBTOOL_LANG_RC_CONFIG is expanded from...
++aclocal.m4:2797: _LT_AC_TAGCONFIG is expanded from...
++aclocal.m4:1293: AC_LIBTOOL_SETUP is expanded from...
++configure.in:57: AC_LIBTOOL_SETUP is required by...
++aclocal.m4:1151: _AC_PROG_LIBTOOL is expanded from...
++configure.in:57: _AC_PROG_LIBTOOL is required by...
++aclocal.m4:1131: AC_PROG_LIBTOOL is expanded from...
++configure.in:57: the top level])
++m4trace:configure.in:57: -1- _m4_warn([obsolete], [The macro `AC_LANG_RESTORE' is obsolete.
++You should run autoupdate.], [autoconf/lang.m4:172: AC_LANG_RESTORE is expanded from...
++aclocal.m4:4881: _LT_AC_LANG_RC_CONFIG is expanded from...
++aclocal.m4:4850: AC_LIBTOOL_LANG_RC_CONFIG is expanded from...
++aclocal.m4:2797: _LT_AC_TAGCONFIG is expanded from...
++aclocal.m4:1293: AC_LIBTOOL_SETUP is expanded from...
++configure.in:57: AC_LIBTOOL_SETUP is required by...
++aclocal.m4:1151: _AC_PROG_LIBTOOL is expanded from...
++configure.in:57: _AC_PROG_LIBTOOL is required by...
++aclocal.m4:1131: AC_PROG_LIBTOOL is expanded from...
++configure.in:57: the top level])
++m4trace:configure.in:57: -1- AC_SUBST([LIBTOOL])
++m4trace:configure.in:59: -1- AC_SUBST([WFLAGS])
++m4trace:configure.in:59: -1- AC_SUBST([WFLAGS_NOUNUSED])
++m4trace:configure.in:59: -1- AC_SUBST([WFLAGS_NOIMPLICITINT])
++m4trace:configure.in:64: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:7148: rk_TEST_PACKAGE is expanded from...
++configure.in:64: the top level])
++m4trace:configure.in:64: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:7148: rk_TEST_PACKAGE is expanded from...
++configure.in:64: the top level])
++m4trace:configure.in:64: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:7148: rk_TEST_PACKAGE is expanded from...
++configure.in:64: the top level])
++m4trace:configure.in:64: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:7148: rk_TEST_PACKAGE is expanded from...
++configure.in:64: the top level])
++m4trace:configure.in:64: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++aclocal.m4:7148: rk_TEST_PACKAGE is expanded from...
++configure.in:64: the top level])
++m4trace:configure.in:64: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:7148: rk_TEST_PACKAGE is expanded from...
++configure.in:64: the top level])
++m4trace:configure.in:64: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++aclocal.m4:7148: rk_TEST_PACKAGE is expanded from...
++configure.in:64: the top level])
++m4trace:configure.in:64: -1- AC_DEFINE_TRACE_LITERAL([OPENLDAP])
++m4trace:configure.in:64: -1- AH_OUTPUT([OPENLDAP], [/* Define if you have the openldap package. */
++#undef OPENLDAP])
++m4trace:configure.in:64: -1- AC_SUBST([DIR_openldap])
++m4trace:configure.in:64: -1- AC_SUBST([INCLUDE_openldap])
++m4trace:configure.in:64: -1- AC_SUBST([LIB_openldap])
++m4trace:configure.in:66: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:7148: rk_TEST_PACKAGE is expanded from...
++configure.in:66: the top level])
++m4trace:configure.in:66: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:7148: rk_TEST_PACKAGE is expanded from...
++configure.in:66: the top level])
++m4trace:configure.in:66: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:7148: rk_TEST_PACKAGE is expanded from...
++configure.in:66: the top level])
++m4trace:configure.in:66: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:7148: rk_TEST_PACKAGE is expanded from...
++configure.in:66: the top level])
++m4trace:configure.in:66: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++aclocal.m4:7148: rk_TEST_PACKAGE is expanded from...
++configure.in:66: the top level])
++m4trace:configure.in:66: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:7148: rk_TEST_PACKAGE is expanded from...
++configure.in:66: the top level])
++m4trace:configure.in:66: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++aclocal.m4:7148: rk_TEST_PACKAGE is expanded from...
++configure.in:66: the top level])
++m4trace:configure.in:66: -1- AC_DEFINE_TRACE_LITERAL([KRB4])
++m4trace:configure.in:66: -1- AH_OUTPUT([KRB4], [/* Define if you have the krb4 package. */
++#undef KRB4])
++m4trace:configure.in:66: -1- AC_SUBST([DIR_krb4])
++m4trace:configure.in:66: -1- AC_SUBST([INCLUDE_krb4])
++m4trace:configure.in:66: -1- AC_SUBST([LIB_krb4])
++m4trace:configure.in:75: -1- AC_SUBST([EXTRA_LIB45])
++m4trace:configure.in:82: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
++configure.in:82: the top level])
++m4trace:configure.in:85: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FOUR_VALUED_KRB_PUT_INT])
++m4trace:configure.in:85: -1- AH_OUTPUT([HAVE_FOUR_VALUED_KRB_PUT_INT], [/* define if krb_put_int takes four arguments. */
++#undef HAVE_FOUR_VALUED_KRB_PUT_INT])
++m4trace:configure.in:92: -1- AH_OUTPUT([zzzz1], [#if defined(HAVE_FOUR_VALUED_KRB_PUT_INT) || !defined(KRB4)
++#define KRB_PUT_INT(F, T, L, S) krb_put_int((F), (T), (L), (S))
++#else
++#define KRB_PUT_INT(F, T, L, S) krb_put_int((F), (T), (S))
++#endif
++])
++m4trace:configure.in:98: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
++configure.in:98: the top level])
++m4trace:configure.in:101: -1- AC_DEFINE_TRACE_LITERAL([KRB_VERIFY_SECURE])
++m4trace:configure.in:101: -1- AH_OUTPUT([KRB_VERIFY_SECURE], [/* Define to one if your krb.h doesn\'t */
++#undef KRB_VERIFY_SECURE])
++m4trace:configure.in:103: -1- AC_DEFINE_TRACE_LITERAL([KRB_VERIFY_SECURE_FAIL])
++m4trace:configure.in:103: -1- AH_OUTPUT([KRB_VERIFY_SECURE_FAIL], [/* Define to two if your krb.h doesn\'t */
++#undef KRB_VERIFY_SECURE_FAIL])
++m4trace:configure.in:111: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
++configure.in:111: the top level])
++m4trace:configure.in:114: -1- AC_DEFINE_TRACE_LITERAL([KRB_VERIFY_NOT_SECURE])
++m4trace:configure.in:114: -1- AH_OUTPUT([KRB_VERIFY_NOT_SECURE], [/* Define to zero if your krb.h doesn\'t */
++#undef KRB_VERIFY_NOT_SECURE])
++m4trace:configure.in:116: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7232: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7168: AC_FIND_FUNC_NO_LIBS is expanded from...
++aclocal.m4:7158: AC_FIND_FUNC is expanded from...
++configure.in:116: the top level])
++m4trace:configure.in:116: -1- AC_CHECK_FUNCS([krb_enable_debug])
++m4trace:configure.in:116: -1- AH_OUTPUT([HAVE_KRB_ENABLE_DEBUG], [/* Define to 1 if you have the `krb_enable_debug\' function. */
++#undef HAVE_KRB_ENABLE_DEBUG])
++m4trace:configure.in:116: -1- AC_SUBST([LIB_krb_enable_debug])
++m4trace:configure.in:117: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7232: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7168: AC_FIND_FUNC_NO_LIBS is expanded from...
++aclocal.m4:7158: AC_FIND_FUNC is expanded from...
++configure.in:117: the top level])
++m4trace:configure.in:117: -1- AC_CHECK_FUNCS([krb_disable_debug])
++m4trace:configure.in:117: -1- AH_OUTPUT([HAVE_KRB_DISABLE_DEBUG], [/* Define to 1 if you have the `krb_disable_debug\' function. */
++#undef HAVE_KRB_DISABLE_DEBUG])
++m4trace:configure.in:117: -1- AC_SUBST([LIB_krb_disable_debug])
++m4trace:configure.in:118: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7232: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7168: AC_FIND_FUNC_NO_LIBS is expanded from...
++aclocal.m4:7158: AC_FIND_FUNC is expanded from...
++configure.in:118: the top level])
++m4trace:configure.in:118: -1- AC_CHECK_FUNCS([krb_get_our_ip_for_realm])
++m4trace:configure.in:118: -1- AH_OUTPUT([HAVE_KRB_GET_OUR_IP_FOR_REALM], [/* Define to 1 if you have the `krb_get_our_ip_for_realm\' function. */
++#undef HAVE_KRB_GET_OUR_IP_FOR_REALM])
++m4trace:configure.in:118: -1- AC_SUBST([LIB_krb_get_our_ip_for_realm])
++m4trace:configure.in:119: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7232: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7168: AC_FIND_FUNC_NO_LIBS is expanded from...
++aclocal.m4:7158: AC_FIND_FUNC is expanded from...
++configure.in:119: the top level])
++m4trace:configure.in:119: -1- AC_CHECK_FUNCS([krb_kdctimeofday])
++m4trace:configure.in:119: -1- AH_OUTPUT([HAVE_KRB_KDCTIMEOFDAY], [/* Define to 1 if you have the `krb_kdctimeofday\' function. */
++#undef HAVE_KRB_KDCTIMEOFDAY])
++m4trace:configure.in:119: -1- AC_SUBST([LIB_krb_kdctimeofday])
++m4trace:configure.in:123: -1- AH_OUTPUT([zzzz2], [#ifndef HAVE_KRB_KDCTIMEOFDAY
++#define krb_kdctimeofday(X) gettimeofday((X), NULL)
++#endif])
++m4trace:configure.in:124: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7232: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7168: AC_FIND_FUNC_NO_LIBS is expanded from...
++aclocal.m4:7158: AC_FIND_FUNC is expanded from...
++configure.in:124: the top level])
++m4trace:configure.in:124: -1- AC_CHECK_FUNCS([krb_get_kdc_time_diff])
++m4trace:configure.in:124: -1- AH_OUTPUT([HAVE_KRB_GET_KDC_TIME_DIFF], [/* Define to 1 if you have the `krb_get_kdc_time_diff\' function. */
++#undef HAVE_KRB_GET_KDC_TIME_DIFF])
++m4trace:configure.in:124: -1- AC_SUBST([LIB_krb_get_kdc_time_diff])
++m4trace:configure.in:128: -1- AH_OUTPUT([zzzz3], [#ifndef HAVE_KRB_GET_KDC_TIME_DIFF
++#define krb_get_kdc_time_diff() (0)
++#endif])
++m4trace:configure.in:136: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
++configure.in:136: the top level])
++m4trace:configure.in:139: -1- AC_DEFINE_TRACE_LITERAL([KRB_SENDAUTH_VERS])
++m4trace:configure.in:139: -1- AH_OUTPUT([KRB_SENDAUTH_VERS], [/* This is the krb4 sendauth version. */
++#undef KRB_SENDAUTH_VERS])
++m4trace:configure.in:149: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
++configure.in:149: the top level])
++m4trace:configure.in:152: -1- AC_DEFINE_TRACE_LITERAL([KRB_MK_REQ_CONST])
++m4trace:configure.in:152: -1- AH_OUTPUT([KRB_MK_REQ_CONST], [/* Define if krb_mk_req takes const char * */
++#undef KRB_MK_REQ_CONST])
++m4trace:configure.in:159: -1- AM_CONDITIONAL([KRB4], [test "$with_krb4" != "no"])
++m4trace:configure.in:159: -1- AC_SUBST([KRB4_TRUE])
++m4trace:configure.in:159: -1- AC_SUBST([KRB4_FALSE])
++m4trace:configure.in:160: -1- AM_CONDITIONAL([KRB5], [true])
++m4trace:configure.in:160: -1- AC_SUBST([KRB5_TRUE])
++m4trace:configure.in:160: -1- AC_SUBST([KRB5_FALSE])
++m4trace:configure.in:161: -1- AM_CONDITIONAL([do_roken_rename], [true])
++m4trace:configure.in:161: -1- AC_SUBST([do_roken_rename_TRUE])
++m4trace:configure.in:161: -1- AC_SUBST([do_roken_rename_FALSE])
++m4trace:configure.in:163: -1- AC_DEFINE_TRACE_LITERAL([KRB5])
++m4trace:configure.in:163: -1- AH_OUTPUT([KRB5], [/* Enable Kerberos 5 support in applications. */
++#undef KRB5])
++m4trace:configure.in:164: -1- AC_SUBST([LIB_kdb])
++m4trace:configure.in:166: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:7476: AC_WITH_ALL is expanded from...
++aclocal.m4:7433: KRB_CRYPTO is expanded from...
++configure.in:166: the top level])
++m4trace:configure.in:166: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:7476: AC_WITH_ALL is expanded from...
++aclocal.m4:7433: KRB_CRYPTO is expanded from...
++configure.in:166: the top level])
++m4trace:configure.in:166: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:7476: AC_WITH_ALL is expanded from...
++aclocal.m4:7433: KRB_CRYPTO is expanded from...
++configure.in:166: the top level])
++m4trace:configure.in:166: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++aclocal.m4:7433: KRB_CRYPTO is expanded from...
++configure.in:166: the top level])
++m4trace:configure.in:166: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++aclocal.m4:7433: KRB_CRYPTO is expanded from...
++configure.in:166: the top level])
++m4trace:configure.in:166: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++aclocal.m4:7433: KRB_CRYPTO is expanded from...
++configure.in:166: the top level])
++m4trace:configure.in:166: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++aclocal.m4:7433: KRB_CRYPTO is expanded from...
++configure.in:166: the top level])
++m4trace:configure.in:166: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OPENSSL])
++m4trace:configure.in:166: -1- AH_OUTPUT([HAVE_OPENSSL], [/* define to use openssl\'s libcrypto */
++#undef HAVE_OPENSSL])
++m4trace:configure.in:166: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OLD_HASH_NAMES])
++m4trace:configure.in:166: -1- AH_OUTPUT([HAVE_OLD_HASH_NAMES], [/* define if you have hash functions like md4_finito() */
++#undef HAVE_OLD_HASH_NAMES])
++m4trace:configure.in:166: -1- AM_CONDITIONAL([HAVE_OPENSSL], [test "$openssl" = yes])
++m4trace:configure.in:166: -1- AC_SUBST([HAVE_OPENSSL_TRUE])
++m4trace:configure.in:166: -1- AC_SUBST([HAVE_OPENSSL_FALSE])
++m4trace:configure.in:166: -1- AC_SUBST([DIR_des])
++m4trace:configure.in:166: -1- AC_SUBST([INCLUDE_des])
++m4trace:configure.in:166: -1- AC_SUBST([LIB_des])
++m4trace:configure.in:166: -1- AC_SUBST([LIB_des_a])
++m4trace:configure.in:166: -1- AC_SUBST([LIB_des_so])
++m4trace:configure.in:166: -1- AC_SUBST([LIB_des_appl])
++m4trace:configure.in:169: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++configure.in:169: the top level])
++m4trace:configure.in:171: -1- AC_DEFINE_TRACE_LITERAL([DCE])
++m4trace:configure.in:171: -1- AH_OUTPUT([DCE], [/* Define if you want support for DCE/DFS PAG\'s. */
++#undef DCE])
++m4trace:configure.in:173: -1- AM_CONDITIONAL([DCE], [test "$enable_dce" = yes])
++m4trace:configure.in:173: -1- AC_SUBST([DCE_TRUE])
++m4trace:configure.in:173: -1- AC_SUBST([DCE_FALSE])
++m4trace:configure.in:185: -1- AC_SUBST([dpagaix_cflags])
++m4trace:configure.in:186: -1- AC_SUBST([dpagaix_ldadd])
++m4trace:configure.in:187: -1- AC_SUBST([dpagaix_ldflags])
++m4trace:configure.in:189: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:7678: rk_DB is expanded from...
++configure.in:189: the top level])
++m4trace:configure.in:189: -1- AC_CHECK_HEADERS([				\
++	db4/db.h				\
++	db3/db.h				\
++	db.h					\
++	db_185.h				\
++  ])
++m4trace:configure.in:189: -1- AH_OUTPUT([HAVE_DB4_DB_H], [/* Define to 1 if you have the <db4/db.h> header file. */
++#undef HAVE_DB4_DB_H])
++m4trace:configure.in:189: -1- AH_OUTPUT([HAVE_DB3_DB_H], [/* Define to 1 if you have the <db3/db.h> header file. */
++#undef HAVE_DB3_DB_H])
++m4trace:configure.in:189: -1- AH_OUTPUT([HAVE_DB_H], [/* Define to 1 if you have the <db.h> header file. */
++#undef HAVE_DB_H])
++m4trace:configure.in:189: -1- AH_OUTPUT([HAVE_DB_185_H], [/* Define to 1 if you have the <db_185.h> header file. */
++#undef HAVE_DB_185_H])
++m4trace:configure.in:189: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7232: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7168: AC_FIND_FUNC_NO_LIBS is expanded from...
++aclocal.m4:7678: rk_DB is expanded from...
++configure.in:189: the top level])
++m4trace:configure.in:189: -1- AC_CHECK_FUNCS([db_create])
++m4trace:configure.in:189: -1- AH_OUTPUT([HAVE_DB_CREATE], [/* Define to 1 if you have the `db_create\' function. */
++#undef HAVE_DB_CREATE])
++m4trace:configure.in:189: -1- AC_SUBST([LIB_db_create])
++m4trace:configure.in:189: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DB3])
++m4trace:configure.in:189: -1- AH_OUTPUT([HAVE_DB3], [/* define if you have a berkeley db3/4 library */
++#undef HAVE_DB3])
++m4trace:configure.in:189: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7232: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7168: AC_FIND_FUNC_NO_LIBS is expanded from...
++aclocal.m4:7678: rk_DB is expanded from...
++configure.in:189: the top level])
++m4trace:configure.in:189: -1- AC_CHECK_FUNCS([dbopen])
++m4trace:configure.in:189: -1- AH_OUTPUT([HAVE_DBOPEN], [/* Define to 1 if you have the `dbopen\' function. */
++#undef HAVE_DBOPEN])
++m4trace:configure.in:189: -1- AC_SUBST([LIB_dbopen])
++m4trace:configure.in:189: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DB1])
++m4trace:configure.in:189: -1- AH_OUTPUT([HAVE_DB1], [/* define if you have a berkeley db1/2 library */
++#undef HAVE_DB1])
++m4trace:configure.in:189: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7232: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7678: rk_DB is expanded from...
++configure.in:189: the top level])
++m4trace:configure.in:189: -1- AC_CHECK_FUNCS([dbm_firstkey])
++m4trace:configure.in:189: -1- AH_OUTPUT([HAVE_DBM_FIRSTKEY], [/* Define to 1 if you have the `dbm_firstkey\' function. */
++#undef HAVE_DBM_FIRSTKEY])
++m4trace:configure.in:189: -1- AC_SUBST([LIB_dbm_firstkey])
++m4trace:configure.in:189: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DB_NDBM])
++m4trace:configure.in:189: -1- AH_OUTPUT([HAVE_DB_NDBM], [/* define if you have ndbm compat in db */
++#undef HAVE_DB_NDBM])
++m4trace:configure.in:189: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NEW_DB])
++m4trace:configure.in:189: -1- AH_OUTPUT([HAVE_NEW_DB], [/* Define if NDBM really is DB (creates files *.db) */
++#undef HAVE_NEW_DB])
++m4trace:configure.in:189: -1- AC_CHECK_HEADERS([				\
++	dbm.h					\
++	ndbm.h					\
++  ])
++m4trace:configure.in:189: -1- AH_OUTPUT([HAVE_DBM_H], [/* Define to 1 if you have the <dbm.h> header file. */
++#undef HAVE_DBM_H])
++m4trace:configure.in:189: -1- AH_OUTPUT([HAVE_NDBM_H], [/* Define to 1 if you have the <ndbm.h> header file. */
++#undef HAVE_NDBM_H])
++m4trace:configure.in:189: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7232: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7168: AC_FIND_FUNC_NO_LIBS is expanded from...
++aclocal.m4:7678: rk_DB is expanded from...
++configure.in:189: the top level])
++m4trace:configure.in:189: -1- AC_CHECK_FUNCS([dbm_firstkey])
++m4trace:configure.in:189: -1- AH_OUTPUT([HAVE_DBM_FIRSTKEY], [/* Define to 1 if you have the `dbm_firstkey\' function. */
++#undef HAVE_DBM_FIRSTKEY])
++m4trace:configure.in:189: -1- AC_SUBST([LIB_dbm_firstkey])
++m4trace:configure.in:189: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NDBM])
++m4trace:configure.in:189: -1- AH_OUTPUT([HAVE_NDBM], [/* define if you have a ndbm library */
++#undef HAVE_NDBM])
++m4trace:configure.in:189: -1- AC_CHECK_HEADERS([				\
++	  gdbm/ndbm.h				\
++    ])
++m4trace:configure.in:189: -1- AH_OUTPUT([HAVE_GDBM_NDBM_H], [/* Define to 1 if you have the <gdbm/ndbm.h> header file. */
++#undef HAVE_GDBM_NDBM_H])
++m4trace:configure.in:189: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7232: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7168: AC_FIND_FUNC_NO_LIBS is expanded from...
++aclocal.m4:7678: rk_DB is expanded from...
++configure.in:189: the top level])
++m4trace:configure.in:189: -1- AC_CHECK_FUNCS([dbm_firstkey])
++m4trace:configure.in:189: -1- AH_OUTPUT([HAVE_DBM_FIRSTKEY], [/* Define to 1 if you have the `dbm_firstkey\' function. */
++#undef HAVE_DBM_FIRSTKEY])
++m4trace:configure.in:189: -1- AC_SUBST([LIB_dbm_firstkey])
++m4trace:configure.in:189: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NDBM])
++m4trace:configure.in:189: -1- AH_OUTPUT([HAVE_NDBM], [/* define if you have a ndbm library */
++#undef HAVE_NDBM])
++m4trace:configure.in:189: -1- _m4_warn([obsolete], [The macro `AC_TRY_RUN' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2289: AC_TRY_RUN is expanded from...
++aclocal.m4:7678: rk_DB is expanded from...
++configure.in:189: the top level])
++m4trace:configure.in:189: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [autoconf/general.m4:2281: AC_RUN_IFELSE is expanded from...
++autoconf/general.m4:2289: AC_TRY_RUN is expanded from...
++aclocal.m4:7678: rk_DB is expanded from...
++configure.in:189: the top level])
++m4trace:configure.in:189: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NEW_DB])
++m4trace:configure.in:189: -1- AH_OUTPUT([HAVE_NEW_DB], [/* Define if NDBM really is DB (creates files *.db) */
++#undef HAVE_NEW_DB])
++m4trace:configure.in:189: -1- AM_CONDITIONAL([HAVE_DB1], [test "$db_type" = db1])
++m4trace:configure.in:189: -1- AC_SUBST([HAVE_DB1_TRUE])
++m4trace:configure.in:189: -1- AC_SUBST([HAVE_DB1_FALSE])
++m4trace:configure.in:189: -1- AM_CONDITIONAL([HAVE_DB3], [test "$db_type" = db3])
++m4trace:configure.in:189: -1- AC_SUBST([HAVE_DB3_TRUE])
++m4trace:configure.in:189: -1- AC_SUBST([HAVE_DB3_FALSE])
++m4trace:configure.in:189: -1- AM_CONDITIONAL([HAVE_NDBM], [test "$db_type" = ndbm])
++m4trace:configure.in:189: -1- AC_SUBST([HAVE_NDBM_TRUE])
++m4trace:configure.in:189: -1- AC_SUBST([HAVE_NDBM_FALSE])
++m4trace:configure.in:189: -1- AC_SUBST([DBLIB])
++m4trace:configure.in:189: -1- AC_SUBST([LIB_NDBM])
++m4trace:configure.in:191: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:7744: AC_ROKEN is expanded from...
++configure.in:191: the top level])
++m4trace:configure.in:191: -1- _m4_warn([obsolete], [The macro `AC_TRY_CPP' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2107: AC_TRY_CPP is expanded from...
++aclocal.m4:7744: AC_ROKEN is expanded from...
++configure.in:191: the top level])
++m4trace:configure.in:191: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7232: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7168: AC_FIND_FUNC_NO_LIBS is expanded from...
++aclocal.m4:7744: AC_ROKEN is expanded from...
++configure.in:191: the top level])
++m4trace:configure.in:191: -1- AC_CHECK_FUNCS([crypt])
++m4trace:configure.in:191: -1- AH_OUTPUT([HAVE_CRYPT], [/* Define to 1 if you have the `crypt\' function. */
++#undef HAVE_CRYPT])
++m4trace:configure.in:191: -1- AC_SUBST([LIB_crypt])
++m4trace:configure.in:191: -1- AC_SUBST([LIB_roken])
++m4trace:configure.in:191: -1- AC_SUBST([DIR_roken])
++m4trace:configure.in:191: -1- AC_SUBST([CPPFLAGS_roken])
++m4trace:configure.in:193: -1- AH_OUTPUT([00004], [#ifndef RCSID
++#define RCSID(msg) \\
++static /**/const char *const rcsid[] = { (const char *)rcsid, "@(#)" msg }
++#endif
++
++/* Maximum values on all known systems */
++#define MaxHostNameLen (64+4)
++#define MaxPathLen (1024+4)
++
++])
++m4trace:configure.in:193: -1- AC_C_INLINE
++m4trace:configure.in:193: -1- AH_OUTPUT([inline], [/* Define to `__inline__\' or `__inline\' if that\'s what the C compiler
++   calls it, or to nothing if \'inline\' is not supported under any name.  */
++#ifndef __cplusplus
++#undef inline
++#endif])
++m4trace:configure.in:193: -1- AC_C_CONST
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([const])
++m4trace:configure.in:193: -1- AH_OUTPUT([const], [/* Define to empty if `const\' does not conform to ANSI C. */
++#undef const])
++m4trace:configure.in:193: -1- AC_SUBST([WFLAGS])
++m4trace:configure.in:193: -1- AC_SUBST([WFLAGS_NOUNUSED])
++m4trace:configure.in:193: -1- AC_SUBST([WFLAGS_NOIMPLICITINT])
++m4trace:configure.in:193: -1- AC_TYPE_SIZE_T
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([size_t])
++m4trace:configure.in:193: -1- AH_OUTPUT([size_t], [/* Define to `unsigned\' if <sys/types.h> does not define. */
++#undef size_t])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8427: AC_HAVE_TYPE is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_CHECK_TYPES([ssize_t])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SSIZE_T])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SSIZE_T], [/* Define to 1 if the system has the type `ssize_t\'. */
++#undef HAVE_SSIZE_T])
++m4trace:configure.in:193: -1- AC_TYPE_PID_T
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([pid_t])
++m4trace:configure.in:193: -1- AH_OUTPUT([pid_t], [/* Define to `int\' if <sys/types.h> does not define. */
++#undef pid_t])
++m4trace:configure.in:193: -1- AC_TYPE_UID_T
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([uid_t])
++m4trace:configure.in:193: -1- AH_OUTPUT([uid_t], [/* Define to `int\' if <sys/types.h> doesn\'t define. */
++#undef uid_t])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([gid_t])
++m4trace:configure.in:193: -1- AH_OUTPUT([gid_t], [/* Define to `int\' if <sys/types.h> doesn\'t define. */
++#undef gid_t])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8427: AC_HAVE_TYPE is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_CHECK_TYPES([long long])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LONG_LONG])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_LONG_LONG], [/* Define to 1 if the system has the type `long long\'. */
++#undef HAVE_LONG_LONG])
++m4trace:configure.in:193: -1- AC_TYPE_SIGNAL
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([RETSIGTYPE])
++m4trace:configure.in:193: -1- AH_OUTPUT([RETSIGTYPE], [/* Define as the return type of signal handlers (`int\' or `void\'). */
++#undef RETSIGTYPE])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([VOID_RETSIGTYPE])
++m4trace:configure.in:193: -1- AH_OUTPUT([VOID_RETSIGTYPE], [/* Define if signal handlers return void. */
++#undef VOID_RETSIGTYPE])
++m4trace:configure.in:193: -1- AC_SUBST([VOID_RETSIGTYPE])
++m4trace:configure.in:193: -1- AH_OUTPUT([zzzz5], [#ifdef VOID_RETSIGTYPE
++#define SIGRETURN(x) return
++#else
++#define SIGRETURN(x) return (RETSIGTYPE)(x)
++#endif])
++m4trace:configure.in:193: -1- AC_HEADER_TIME
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([TIME_WITH_SYS_TIME])
++m4trace:configure.in:193: -1- AH_OUTPUT([TIME_WITH_SYS_TIME], [/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
++#undef TIME_WITH_SYS_TIME])
++m4trace:configure.in:193: -1- AC_CHECK_HEADERS([\
++	arpa/inet.h				\
++	arpa/nameser.h				\
++	config.h				\
++	crypt.h					\
++	dirent.h				\
++	errno.h					\
++	err.h					\
++	fcntl.h					\
++	grp.h					\
++	ifaddrs.h				\
++	net/if.h				\
++	netdb.h					\
++	netinet/in.h				\
++	netinet/in6.h				\
++	netinet/in_systm.h			\
++	netinet6/in6.h				\
++	netinet6/in6_var.h			\
++	paths.h					\
++	pwd.h					\
++	resolv.h				\
++	rpcsvc/ypclnt.h				\
++	shadow.h				\
++	sys/bswap.h				\
++	sys/ioctl.h				\
++	sys/mman.h				\
++	sys/param.h				\
++	sys/proc.h				\
++	sys/resource.h				\
++	sys/socket.h				\
++	sys/sockio.h				\
++	sys/stat.h				\
++	sys/sysctl.h				\
++	sys/time.h				\
++	sys/tty.h				\
++	sys/types.h				\
++	sys/uio.h				\
++	sys/utsname.h				\
++	sys/wait.h				\
++	syslog.h				\
++	termios.h				\
++	unistd.h				\
++	userconf.h				\
++	usersec.h				\
++	util.h					\
++	vis.h					\
++])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_ARPA_INET_H], [/* Define to 1 if you have the <arpa/inet.h> header file. */
++#undef HAVE_ARPA_INET_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_ARPA_NAMESER_H], [/* Define to 1 if you have the <arpa/nameser.h> header file. */
++#undef HAVE_ARPA_NAMESER_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_CONFIG_H], [/* Define to 1 if you have the <config.h> header file. */
++#undef HAVE_CONFIG_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_CRYPT_H], [/* Define to 1 if you have the <crypt.h> header file. */
++#undef HAVE_CRYPT_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_DIRENT_H], [/* Define to 1 if you have the <dirent.h> header file. */
++#undef HAVE_DIRENT_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_ERRNO_H], [/* Define to 1 if you have the <errno.h> header file. */
++#undef HAVE_ERRNO_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_ERR_H], [/* Define to 1 if you have the <err.h> header file. */
++#undef HAVE_ERR_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_FCNTL_H], [/* Define to 1 if you have the <fcntl.h> header file. */
++#undef HAVE_FCNTL_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GRP_H], [/* Define to 1 if you have the <grp.h> header file. */
++#undef HAVE_GRP_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_IFADDRS_H], [/* Define to 1 if you have the <ifaddrs.h> header file. */
++#undef HAVE_IFADDRS_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_NET_IF_H], [/* Define to 1 if you have the <net/if.h> header file. */
++#undef HAVE_NET_IF_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_NETDB_H], [/* Define to 1 if you have the <netdb.h> header file. */
++#undef HAVE_NETDB_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_NETINET_IN_H], [/* Define to 1 if you have the <netinet/in.h> header file. */
++#undef HAVE_NETINET_IN_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_NETINET_IN6_H], [/* Define to 1 if you have the <netinet/in6.h> header file. */
++#undef HAVE_NETINET_IN6_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_NETINET_IN_SYSTM_H], [/* Define to 1 if you have the <netinet/in_systm.h> header file. */
++#undef HAVE_NETINET_IN_SYSTM_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_NETINET6_IN6_H], [/* Define to 1 if you have the <netinet6/in6.h> header file. */
++#undef HAVE_NETINET6_IN6_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_NETINET6_IN6_VAR_H], [/* Define to 1 if you have the <netinet6/in6_var.h> header file. */
++#undef HAVE_NETINET6_IN6_VAR_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_PATHS_H], [/* Define to 1 if you have the <paths.h> header file. */
++#undef HAVE_PATHS_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_PWD_H], [/* Define to 1 if you have the <pwd.h> header file. */
++#undef HAVE_PWD_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_RESOLV_H], [/* Define to 1 if you have the <resolv.h> header file. */
++#undef HAVE_RESOLV_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_RPCSVC_YPCLNT_H], [/* Define to 1 if you have the <rpcsvc/ypclnt.h> header file. */
++#undef HAVE_RPCSVC_YPCLNT_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SHADOW_H], [/* Define to 1 if you have the <shadow.h> header file. */
++#undef HAVE_SHADOW_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SYS_BSWAP_H], [/* Define to 1 if you have the <sys/bswap.h> header file. */
++#undef HAVE_SYS_BSWAP_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SYS_IOCTL_H], [/* Define to 1 if you have the <sys/ioctl.h> header file. */
++#undef HAVE_SYS_IOCTL_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SYS_MMAN_H], [/* Define to 1 if you have the <sys/mman.h> header file. */
++#undef HAVE_SYS_MMAN_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SYS_PARAM_H], [/* Define to 1 if you have the <sys/param.h> header file. */
++#undef HAVE_SYS_PARAM_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SYS_PROC_H], [/* Define to 1 if you have the <sys/proc.h> header file. */
++#undef HAVE_SYS_PROC_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SYS_RESOURCE_H], [/* Define to 1 if you have the <sys/resource.h> header file. */
++#undef HAVE_SYS_RESOURCE_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SYS_SOCKET_H], [/* Define to 1 if you have the <sys/socket.h> header file. */
++#undef HAVE_SYS_SOCKET_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SYS_SOCKIO_H], [/* Define to 1 if you have the <sys/sockio.h> header file. */
++#undef HAVE_SYS_SOCKIO_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the <sys/stat.h> header file. */
++#undef HAVE_SYS_STAT_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SYS_SYSCTL_H], [/* Define to 1 if you have the <sys/sysctl.h> header file. */
++#undef HAVE_SYS_SYSCTL_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SYS_TIME_H], [/* Define to 1 if you have the <sys/time.h> header file. */
++#undef HAVE_SYS_TIME_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SYS_TTY_H], [/* Define to 1 if you have the <sys/tty.h> header file. */
++#undef HAVE_SYS_TTY_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the <sys/types.h> header file. */
++#undef HAVE_SYS_TYPES_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SYS_UIO_H], [/* Define to 1 if you have the <sys/uio.h> header file. */
++#undef HAVE_SYS_UIO_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SYS_UTSNAME_H], [/* Define to 1 if you have the <sys/utsname.h> header file. */
++#undef HAVE_SYS_UTSNAME_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SYS_WAIT_H], [/* Define to 1 if you have the <sys/wait.h> header file. */
++#undef HAVE_SYS_WAIT_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SYSLOG_H], [/* Define to 1 if you have the <syslog.h> header file. */
++#undef HAVE_SYSLOG_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_TERMIOS_H], [/* Define to 1 if you have the <termios.h> header file. */
++#undef HAVE_TERMIOS_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
++#undef HAVE_UNISTD_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_USERCONF_H], [/* Define to 1 if you have the <userconf.h> header file. */
++#undef HAVE_USERCONF_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_USERSEC_H], [/* Define to 1 if you have the <usersec.h> header file. */
++#undef HAVE_USERSEC_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_UTIL_H], [/* Define to 1 if you have the <util.h> header file. */
++#undef HAVE_UTIL_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_VIS_H], [/* Define to 1 if you have the <vis.h> header file. */
++#undef HAVE_VIS_H])
++m4trace:configure.in:193: -1- AC_CHECK_HEADERS([standards.h])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STANDARDS_H], [/* Define to 1 if you have the <standards.h> header file. */
++#undef HAVE_STANDARDS_H])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_CPP' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2107: AC_TRY_CPP is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
++aclocal.m4:8479: CHECK_NETINET_IP_AND_TCP is expanded from...
++configure.in:193: CHECK_NETINET_IP_AND_TCP is required by...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_CHECK_HEADERS([netinet/ip.h netinet/tcp.h])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_NETINET_IP_H], [/* Define to 1 if you have the <netinet/ip.h> header file. */
++#undef HAVE_NETINET_IP_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_NETINET_TCP_H], [/* Define to 1 if you have the <netinet/tcp.h> header file. */
++#undef HAVE_NETINET_TCP_H])
++m4trace:configure.in:193: -1- AM_CONDITIONAL([have_err_h], [test "$ac_cv_header_err_h" = yes])
++m4trace:configure.in:193: -1- AC_SUBST([have_err_h_TRUE])
++m4trace:configure.in:193: -1- AC_SUBST([have_err_h_FALSE])
++m4trace:configure.in:193: -1- AM_CONDITIONAL([have_fnmatch_h], [test "$ac_cv_header_fnmatch_h" = yes])
++m4trace:configure.in:193: -1- AC_SUBST([have_fnmatch_h_TRUE])
++m4trace:configure.in:193: -1- AC_SUBST([have_fnmatch_h_FALSE])
++m4trace:configure.in:193: -1- AM_CONDITIONAL([have_ifaddrs_h], [test "$ac_cv_header_ifaddrs_h" = yes])
++m4trace:configure.in:193: -1- AC_SUBST([have_ifaddrs_h_TRUE])
++m4trace:configure.in:193: -1- AC_SUBST([have_ifaddrs_h_FALSE])
++m4trace:configure.in:193: -1- AM_CONDITIONAL([have_vis_h], [test "$ac_cv_header_vis_h" = yes])
++m4trace:configure.in:193: -1- AC_SUBST([have_vis_h_TRUE])
++m4trace:configure.in:193: -1- AC_SUBST([have_vis_h_FALSE])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7232: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7168: AC_FIND_FUNC_NO_LIBS is expanded from...
++aclocal.m4:7158: AC_FIND_FUNC is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_CHECK_FUNCS([socket])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SOCKET], [/* Define to 1 if you have the `socket\' function. */
++#undef HAVE_SOCKET])
++m4trace:configure.in:193: -1- AC_SUBST([LIB_socket])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7232: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7168: AC_FIND_FUNC_NO_LIBS is expanded from...
++aclocal.m4:7158: AC_FIND_FUNC is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_CHECK_FUNCS([gethostbyname])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GETHOSTBYNAME], [/* Define to 1 if you have the `gethostbyname\' function. */
++#undef HAVE_GETHOSTBYNAME])
++m4trace:configure.in:193: -1- AC_SUBST([LIB_gethostbyname])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7232: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7168: AC_FIND_FUNC_NO_LIBS is expanded from...
++aclocal.m4:7158: AC_FIND_FUNC is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_CHECK_FUNCS([syslog])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SYSLOG], [/* Define to 1 if you have the `syslog\' function. */
++#undef HAVE_SYSLOG])
++m4trace:configure.in:193: -1- AC_SUBST([LIB_syslog])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:8628: AC_KRB_IPV6 is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
++aclocal.m4:8628: AC_KRB_IPV6 is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_IPV6])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_IPV6], [/* Define if you have IPv6. */
++#undef HAVE_IPV6])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
++aclocal.m4:8628: AC_KRB_IPV6 is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_IN6ADDR_LOOPBACK])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_IN6ADDR_LOOPBACK], [/* Define if you have the in6addr_loopback variable */
++#undef HAVE_IN6ADDR_LOOPBACK])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7232: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7168: AC_FIND_FUNC_NO_LIBS is expanded from...
++aclocal.m4:7158: AC_FIND_FUNC is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_CHECK_FUNCS([gethostbyname2])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GETHOSTBYNAME2], [/* Define to 1 if you have the `gethostbyname2\' function. */
++#undef HAVE_GETHOSTBYNAME2])
++m4trace:configure.in:193: -1- AC_SUBST([LIB_gethostbyname2])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7232: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7168: AC_FIND_FUNC_NO_LIBS is expanded from...
++aclocal.m4:7158: AC_FIND_FUNC is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_CHECK_FUNCS([res_search])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_RES_SEARCH], [/* Define to 1 if you have the `res_search\' function. */
++#undef HAVE_RES_SEARCH])
++m4trace:configure.in:193: -1- AC_SUBST([LIB_res_search])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7232: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7168: AC_FIND_FUNC_NO_LIBS is expanded from...
++aclocal.m4:7158: AC_FIND_FUNC is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_CHECK_FUNCS([res_nsearch])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_RES_NSEARCH], [/* Define to 1 if you have the `res_nsearch\' function. */
++#undef HAVE_RES_NSEARCH])
++m4trace:configure.in:193: -1- AC_SUBST([LIB_res_nsearch])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7232: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7168: AC_FIND_FUNC_NO_LIBS is expanded from...
++aclocal.m4:7158: AC_FIND_FUNC is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_CHECK_FUNCS([dn_expand])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_DN_EXPAND], [/* Define to 1 if you have the `dn_expand\' function. */
++#undef HAVE_DN_EXPAND])
++m4trace:configure.in:193: -1- AC_SUBST([LIB_dn_expand])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:8654: rk_CHECK_VAR is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:8654: rk_CHECK_VAR is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE__RES])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE__RES], [/* Define if you have the `_res\' variable. */
++#undef HAVE__RES])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:8683: AC_CHECK_DECLARATION is expanded from...
++aclocal.m4:8654: rk_CHECK_VAR is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -2- AC_DEFINE_TRACE_LITERAL([HAVE__RES_DECLARATION])
++m4trace:configure.in:193: -2- AH_OUTPUT([HAVE__RES_DECLARATION], [/* define if your system declares _res */
++#undef HAVE__RES_DECLARATION])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_RUN' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2289: AC_TRY_RUN is expanded from...
++aclocal.m4:8706: AC_BROKEN_SNPRINTF is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SNPRINTF])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SNPRINTF], [/* define if you have a working snprintf */
++#undef HAVE_SNPRINTF])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8763: AC_NEED_PROTO is expanded from...
++aclocal.m4:8706: AC_BROKEN_SNPRINTF is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([NEED_SNPRINTF_PROTO])
++m4trace:configure.in:193: -1- AH_OUTPUT([NEED_SNPRINTF_PROTO], [/* define if the system is missing a prototype for snprintf() */
++#undef NEED_SNPRINTF_PROTO])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_RUN' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2289: AC_TRY_RUN is expanded from...
++aclocal.m4:8738: AC_BROKEN_VSNPRINTF is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_VSNPRINTF])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_VSNPRINTF], [/* define if you have a working vsnprintf */
++#undef HAVE_VSNPRINTF])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8763: AC_NEED_PROTO is expanded from...
++aclocal.m4:8738: AC_BROKEN_VSNPRINTF is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([NEED_VSNPRINTF_PROTO])
++m4trace:configure.in:193: -1- AH_OUTPUT([NEED_VSNPRINTF_PROTO], [/* define if the system is missing a prototype for vsnprintf() */
++#undef NEED_VSNPRINTF_PROTO])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++aclocal.m4:8793: AC_BROKEN_GLOB is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GLOB])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GLOB], [/* define if you have a glob() that groks GLOB_BRACE, GLOB_NOCHECK,
++   GLOB_QUOTE, GLOB_TILDE, and GLOB_LIMIT */
++#undef HAVE_GLOB])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8763: AC_NEED_PROTO is expanded from...
++aclocal.m4:8793: AC_BROKEN_GLOB is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([NEED_GLOB_PROTO])
++m4trace:configure.in:193: -1- AH_OUTPUT([NEED_GLOB_PROTO], [/* define if the system is missing a prototype for glob() */
++#undef NEED_GLOB_PROTO])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([glob.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AM_CONDITIONAL([have_glob_h], [test "$ac_cv_func_glob_working" = yes])
++m4trace:configure.in:193: -1- AC_SUBST([have_glob_h_TRUE])
++m4trace:configure.in:193: -1- AC_SUBST([have_glob_h_FALSE])
++m4trace:configure.in:193: -1- AC_CHECK_FUNCS([				\
++	asnprintf				\
++	asprintf				\
++	atexit					\
++	cgetent					\
++	getconfattr				\
++	getprogname				\
++	getrlimit				\
++	getspnam				\
++	initstate				\
++	issetugid				\
++	on_exit					\
++	random					\
++	setprogname				\
++	setstate				\
++	strsvis					\
++	strunvis				\
++	strvis					\
++	strvisx					\
++	svis					\
++	sysconf					\
++	sysctl					\
++	uname					\
++	unvis					\
++	vasnprintf				\
++	vasprintf				\
++	vis					\
++])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_ASNPRINTF], [/* Define to 1 if you have the `asnprintf\' function. */
++#undef HAVE_ASNPRINTF])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_ASPRINTF], [/* Define to 1 if you have the `asprintf\' function. */
++#undef HAVE_ASPRINTF])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_ATEXIT], [/* Define to 1 if you have the `atexit\' function. */
++#undef HAVE_ATEXIT])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_CGETENT], [/* Define to 1 if you have the `cgetent\' function. */
++#undef HAVE_CGETENT])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GETCONFATTR], [/* Define to 1 if you have the `getconfattr\' function. */
++#undef HAVE_GETCONFATTR])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GETPROGNAME], [/* Define to 1 if you have the `getprogname\' function. */
++#undef HAVE_GETPROGNAME])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GETRLIMIT], [/* Define to 1 if you have the `getrlimit\' function. */
++#undef HAVE_GETRLIMIT])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GETSPNAM], [/* Define to 1 if you have the `getspnam\' function. */
++#undef HAVE_GETSPNAM])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_INITSTATE], [/* Define to 1 if you have the `initstate\' function. */
++#undef HAVE_INITSTATE])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_ISSETUGID], [/* Define to 1 if you have the `issetugid\' function. */
++#undef HAVE_ISSETUGID])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_ON_EXIT], [/* Define to 1 if you have the `on_exit\' function. */
++#undef HAVE_ON_EXIT])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_RANDOM], [/* Define to 1 if you have the `random\' function. */
++#undef HAVE_RANDOM])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SETPROGNAME], [/* Define to 1 if you have the `setprogname\' function. */
++#undef HAVE_SETPROGNAME])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SETSTATE], [/* Define to 1 if you have the `setstate\' function. */
++#undef HAVE_SETSTATE])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRSVIS], [/* Define to 1 if you have the `strsvis\' function. */
++#undef HAVE_STRSVIS])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRUNVIS], [/* Define to 1 if you have the `strunvis\' function. */
++#undef HAVE_STRUNVIS])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRVIS], [/* Define to 1 if you have the `strvis\' function. */
++#undef HAVE_STRVIS])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRVISX], [/* Define to 1 if you have the `strvisx\' function. */
++#undef HAVE_STRVISX])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SVIS], [/* Define to 1 if you have the `svis\' function. */
++#undef HAVE_SVIS])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SYSCONF], [/* Define to 1 if you have the `sysconf\' function. */
++#undef HAVE_SYSCONF])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SYSCTL], [/* Define to 1 if you have the `sysctl\' function. */
++#undef HAVE_SYSCTL])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_UNAME], [/* Define to 1 if you have the `uname\' function. */
++#undef HAVE_UNAME])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_UNVIS], [/* Define to 1 if you have the `unvis\' function. */
++#undef HAVE_UNVIS])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_VASNPRINTF], [/* Define to 1 if you have the `vasnprintf\' function. */
++#undef HAVE_VASNPRINTF])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_VASPRINTF], [/* Define to 1 if you have the `vasprintf\' function. */
++#undef HAVE_VASPRINTF])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_VIS], [/* Define to 1 if you have the `vis\' function. */
++#undef HAVE_VIS])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([getcap.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_CHECK_FUNCS([getlogin setlogin])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GETLOGIN], [/* Define to 1 if you have the `getlogin\' function. */
++#undef HAVE_GETLOGIN])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SETLOGIN], [/* Define to 1 if you have the `setlogin\' function. */
++#undef HAVE_SETLOGIN])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([POSIX_GETLOGIN])
++m4trace:configure.in:193: -1- AH_OUTPUT([POSIX_GETLOGIN], [/* Define if getlogin has POSIX flavour (and not BSD). */
++#undef POSIX_GETLOGIN])
++m4trace:configure.in:193: -1- AC_FUNC_MMAP
++m4trace:configure.in:193: -1- AC_CHECK_HEADERS([stdlib.h unistd.h])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
++#undef HAVE_STDLIB_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
++#undef HAVE_UNISTD_H])
++m4trace:configure.in:193: -1- AC_CHECK_FUNCS([getpagesize])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GETPAGESIZE], [/* Define to 1 if you have the `getpagesize\' function. */
++#undef HAVE_GETPAGESIZE])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MMAP])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_MMAP], [/* Define to 1 if you have a working `mmap\' system call. */
++#undef HAVE_MMAP])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7232: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7168: AC_FIND_FUNC_NO_LIBS is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_CHECK_FUNCS([getsockopt])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GETSOCKOPT], [/* Define to 1 if you have the `getsockopt\' function. */
++#undef HAVE_GETSOCKOPT])
++m4trace:configure.in:193: -1- AC_SUBST([LIB_getsockopt])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7232: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7168: AC_FIND_FUNC_NO_LIBS is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_CHECK_FUNCS([setsockopt])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SETSOCKOPT], [/* Define to 1 if you have the `setsockopt\' function. */
++#undef HAVE_SETSOCKOPT])
++m4trace:configure.in:193: -1- AC_SUBST([LIB_setsockopt])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7232: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7168: AC_FIND_FUNC_NO_LIBS is expanded from...
++aclocal.m4:7158: AC_FIND_FUNC is expanded from...
++aclocal.m4:8829: AC_FIND_IF_NOT_BROKEN is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_CHECK_FUNCS([hstrerror])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_HSTRERROR], [/* Define to 1 if you have the `hstrerror\' function. */
++#undef HAVE_HSTRERROR])
++m4trace:configure.in:193: -1- AC_SUBST([LIB_hstrerror])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([hstrerror.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8763: AC_NEED_PROTO is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([NEED_HSTRERROR_PROTO])
++m4trace:configure.in:193: -1- AH_OUTPUT([NEED_HSTRERROR_PROTO], [/* define if the system is missing a prototype for hstrerror() */
++#undef NEED_HSTRERROR_PROTO])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8763: AC_NEED_PROTO is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([NEED_ASPRINTF_PROTO])
++m4trace:configure.in:193: -1- AH_OUTPUT([NEED_ASPRINTF_PROTO], [/* define if the system is missing a prototype for asprintf() */
++#undef NEED_ASPRINTF_PROTO])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8763: AC_NEED_PROTO is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([NEED_VASPRINTF_PROTO])
++m4trace:configure.in:193: -1- AH_OUTPUT([NEED_VASPRINTF_PROTO], [/* define if the system is missing a prototype for vasprintf() */
++#undef NEED_VASPRINTF_PROTO])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8763: AC_NEED_PROTO is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([NEED_ASNPRINTF_PROTO])
++m4trace:configure.in:193: -1- AH_OUTPUT([NEED_ASNPRINTF_PROTO], [/* define if the system is missing a prototype for asnprintf() */
++#undef NEED_ASNPRINTF_PROTO])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8763: AC_NEED_PROTO is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([NEED_VASNPRINTF_PROTO])
++m4trace:configure.in:193: -1- AH_OUTPUT([NEED_VASNPRINTF_PROTO], [/* define if the system is missing a prototype for vasnprintf() */
++#undef NEED_VASNPRINTF_PROTO])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7232: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7168: AC_FIND_FUNC_NO_LIBS is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_CHECK_FUNCS([bswap16])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_BSWAP16], [/* Define to 1 if you have the `bswap16\' function. */
++#undef HAVE_BSWAP16])
++m4trace:configure.in:193: -1- AC_SUBST([LIB_bswap16])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7232: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7168: AC_FIND_FUNC_NO_LIBS is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_CHECK_FUNCS([bswap32])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_BSWAP32], [/* Define to 1 if you have the `bswap32\' function. */
++#undef HAVE_BSWAP32])
++m4trace:configure.in:193: -1- AC_SUBST([LIB_bswap32])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7232: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7168: AC_FIND_FUNC_NO_LIBS is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_CHECK_FUNCS([pidfile])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_PIDFILE], [/* Define to 1 if you have the `pidfile\' function. */
++#undef HAVE_PIDFILE])
++m4trace:configure.in:193: -1- AC_SUBST([LIB_pidfile])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7232: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7168: AC_FIND_FUNC_NO_LIBS is expanded from...
++aclocal.m4:7158: AC_FIND_FUNC is expanded from...
++aclocal.m4:8829: AC_FIND_IF_NOT_BROKEN is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_CHECK_FUNCS([getaddrinfo])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GETADDRINFO], [/* Define to 1 if you have the `getaddrinfo\' function. */
++#undef HAVE_GETADDRINFO])
++m4trace:configure.in:193: -1- AC_SUBST([LIB_getaddrinfo])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([getaddrinfo.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7232: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7168: AC_FIND_FUNC_NO_LIBS is expanded from...
++aclocal.m4:7158: AC_FIND_FUNC is expanded from...
++aclocal.m4:8829: AC_FIND_IF_NOT_BROKEN is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_CHECK_FUNCS([getnameinfo])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GETNAMEINFO], [/* Define to 1 if you have the `getnameinfo\' function. */
++#undef HAVE_GETNAMEINFO])
++m4trace:configure.in:193: -1- AC_SUBST([LIB_getnameinfo])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([getnameinfo.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7232: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7168: AC_FIND_FUNC_NO_LIBS is expanded from...
++aclocal.m4:7158: AC_FIND_FUNC is expanded from...
++aclocal.m4:8829: AC_FIND_IF_NOT_BROKEN is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_CHECK_FUNCS([freeaddrinfo])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_FREEADDRINFO], [/* Define to 1 if you have the `freeaddrinfo\' function. */
++#undef HAVE_FREEADDRINFO])
++m4trace:configure.in:193: -1- AC_SUBST([LIB_freeaddrinfo])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([freeaddrinfo.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7232: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7168: AC_FIND_FUNC_NO_LIBS is expanded from...
++aclocal.m4:7158: AC_FIND_FUNC is expanded from...
++aclocal.m4:8829: AC_FIND_IF_NOT_BROKEN is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_CHECK_FUNCS([gai_strerror])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GAI_STRERROR], [/* Define to 1 if you have the `gai_strerror\' function. */
++#undef HAVE_GAI_STRERROR])
++m4trace:configure.in:193: -1- AC_SUBST([LIB_gai_strerror])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([gai_strerror.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_CHOWN])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_CHOWN], [/* Define if you have the function `chown\'. */
++#undef HAVE_CHOWN])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([chown.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_COPYHOSTENT])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_COPYHOSTENT], [/* Define if you have the function `copyhostent\'. */
++#undef HAVE_COPYHOSTENT])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([copyhostent.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DAEMON])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_DAEMON], [/* Define if you have the function `daemon\'. */
++#undef HAVE_DAEMON])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([daemon.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ECALLOC])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_ECALLOC], [/* Define if you have the function `ecalloc\'. */
++#undef HAVE_ECALLOC])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([ecalloc.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_EMALLOC])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_EMALLOC], [/* Define if you have the function `emalloc\'. */
++#undef HAVE_EMALLOC])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([emalloc.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_EREALLOC])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_EREALLOC], [/* Define if you have the function `erealloc\'. */
++#undef HAVE_EREALLOC])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([erealloc.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ESTRDUP])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_ESTRDUP], [/* Define if you have the function `estrdup\'. */
++#undef HAVE_ESTRDUP])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([estrdup.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ERR])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_ERR], [/* Define if you have the function `err\'. */
++#undef HAVE_ERR])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([err.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ERRX])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_ERRX], [/* Define if you have the function `errx\'. */
++#undef HAVE_ERRX])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([errx.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FCHOWN])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_FCHOWN], [/* Define if you have the function `fchown\'. */
++#undef HAVE_FCHOWN])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([fchown.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FLOCK])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_FLOCK], [/* Define if you have the function `flock\'. */
++#undef HAVE_FLOCK])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([flock.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FNMATCH])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_FNMATCH], [/* Define if you have the function `fnmatch\'. */
++#undef HAVE_FNMATCH])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([fnmatch.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FREEHOSTENT])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_FREEHOSTENT], [/* Define if you have the function `freehostent\'. */
++#undef HAVE_FREEHOSTENT])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([freehostent.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETCWD])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GETCWD], [/* Define if you have the function `getcwd\'. */
++#undef HAVE_GETCWD])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([getcwd.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETDTABLESIZE])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GETDTABLESIZE], [/* Define if you have the function `getdtablesize\'. */
++#undef HAVE_GETDTABLESIZE])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([getdtablesize.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETEGID])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GETEGID], [/* Define if you have the function `getegid\'. */
++#undef HAVE_GETEGID])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([getegid.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETEUID])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GETEUID], [/* Define if you have the function `geteuid\'. */
++#undef HAVE_GETEUID])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([geteuid.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETGID])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GETGID], [/* Define if you have the function `getgid\'. */
++#undef HAVE_GETGID])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([getgid.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETHOSTNAME])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GETHOSTNAME], [/* Define if you have the function `gethostname\'. */
++#undef HAVE_GETHOSTNAME])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([gethostname.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETIFADDRS])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GETIFADDRS], [/* Define if you have the function `getifaddrs\'. */
++#undef HAVE_GETIFADDRS])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([getifaddrs.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETIPNODEBYADDR])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GETIPNODEBYADDR], [/* Define if you have the function `getipnodebyaddr\'. */
++#undef HAVE_GETIPNODEBYADDR])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([getipnodebyaddr.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETIPNODEBYNAME])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GETIPNODEBYNAME], [/* Define if you have the function `getipnodebyname\'. */
++#undef HAVE_GETIPNODEBYNAME])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([getipnodebyname.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETOPT])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GETOPT], [/* Define if you have the function `getopt\'. */
++#undef HAVE_GETOPT])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([getopt.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETTIMEOFDAY])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GETTIMEOFDAY], [/* Define if you have the function `gettimeofday\'. */
++#undef HAVE_GETTIMEOFDAY])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([gettimeofday.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETUID])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GETUID], [/* Define if you have the function `getuid\'. */
++#undef HAVE_GETUID])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([getuid.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETUSERSHELL])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GETUSERSHELL], [/* Define if you have the function `getusershell\'. */
++#undef HAVE_GETUSERSHELL])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([getusershell.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INITGROUPS])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_INITGROUPS], [/* Define if you have the function `initgroups\'. */
++#undef HAVE_INITGROUPS])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([initgroups.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INNETGR])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_INNETGR], [/* Define if you have the function `innetgr\'. */
++#undef HAVE_INNETGR])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([innetgr.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_IRUSEROK])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_IRUSEROK], [/* Define if you have the function `iruserok\'. */
++#undef HAVE_IRUSEROK])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([iruserok.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LOCALTIME_R])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_LOCALTIME_R], [/* Define if you have the function `localtime_r\'. */
++#undef HAVE_LOCALTIME_R])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([localtime_r.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LSTAT])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_LSTAT], [/* Define if you have the function `lstat\'. */
++#undef HAVE_LSTAT])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([lstat.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MEMMOVE])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_MEMMOVE], [/* Define if you have the function `memmove\'. */
++#undef HAVE_MEMMOVE])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([memmove.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MKSTEMP])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_MKSTEMP], [/* Define if you have the function `mkstemp\'. */
++#undef HAVE_MKSTEMP])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([mkstemp.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PUTENV])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_PUTENV], [/* Define if you have the function `putenv\'. */
++#undef HAVE_PUTENV])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([putenv.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_RCMD])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_RCMD], [/* Define if you have the function `rcmd\'. */
++#undef HAVE_RCMD])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([rcmd.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_READV])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_READV], [/* Define if you have the function `readv\'. */
++#undef HAVE_READV])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([readv.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_RECVMSG])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_RECVMSG], [/* Define if you have the function `recvmsg\'. */
++#undef HAVE_RECVMSG])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([recvmsg.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SENDMSG])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SENDMSG], [/* Define if you have the function `sendmsg\'. */
++#undef HAVE_SENDMSG])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([sendmsg.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SETEGID])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SETEGID], [/* Define if you have the function `setegid\'. */
++#undef HAVE_SETEGID])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([setegid.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SETENV])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SETENV], [/* Define if you have the function `setenv\'. */
++#undef HAVE_SETENV])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([setenv.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SETEUID])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SETEUID], [/* Define if you have the function `seteuid\'. */
++#undef HAVE_SETEUID])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([seteuid.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRCASECMP])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRCASECMP], [/* Define if you have the function `strcasecmp\'. */
++#undef HAVE_STRCASECMP])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([strcasecmp.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRDUP])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRDUP], [/* Define if you have the function `strdup\'. */
++#undef HAVE_STRDUP])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([strdup.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRERROR])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRERROR], [/* Define if you have the function `strerror\'. */
++#undef HAVE_STRERROR])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([strerror.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRFTIME])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRFTIME], [/* Define if you have the function `strftime\'. */
++#undef HAVE_STRFTIME])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([strftime.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRLCAT])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRLCAT], [/* Define if you have the function `strlcat\'. */
++#undef HAVE_STRLCAT])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([strlcat.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRLCPY])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRLCPY], [/* Define if you have the function `strlcpy\'. */
++#undef HAVE_STRLCPY])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([strlcpy.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRLWR])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRLWR], [/* Define if you have the function `strlwr\'. */
++#undef HAVE_STRLWR])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([strlwr.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRNCASECMP])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRNCASECMP], [/* Define if you have the function `strncasecmp\'. */
++#undef HAVE_STRNCASECMP])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([strncasecmp.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRNDUP])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRNDUP], [/* Define if you have the function `strndup\'. */
++#undef HAVE_STRNDUP])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([strndup.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRNLEN])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRNLEN], [/* Define if you have the function `strnlen\'. */
++#undef HAVE_STRNLEN])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([strnlen.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRPTIME])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRPTIME], [/* Define if you have the function `strptime\'. */
++#undef HAVE_STRPTIME])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([strptime.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRSEP])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRSEP], [/* Define if you have the function `strsep\'. */
++#undef HAVE_STRSEP])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([strsep.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRSEP_COPY])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRSEP_COPY], [/* Define if you have the function `strsep_copy\'. */
++#undef HAVE_STRSEP_COPY])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([strsep_copy.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRTOK_R])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRTOK_R], [/* Define if you have the function `strtok_r\'. */
++#undef HAVE_STRTOK_R])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([strtok_r.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUPR])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRUPR], [/* Define if you have the function `strupr\'. */
++#undef HAVE_STRUPR])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([strupr.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SWAB])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SWAB], [/* Define if you have the function `swab\'. */
++#undef HAVE_SWAB])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([swab.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_UNSETENV])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_UNSETENV], [/* Define if you have the function `unsetenv\'. */
++#undef HAVE_UNSETENV])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([unsetenv.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_VERR])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_VERR], [/* Define if you have the function `verr\'. */
++#undef HAVE_VERR])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([verr.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_VERRX])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_VERRX], [/* Define if you have the function `verrx\'. */
++#undef HAVE_VERRX])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([verrx.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_VSYSLOG])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_VSYSLOG], [/* Define if you have the function `vsyslog\'. */
++#undef HAVE_VSYSLOG])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([vsyslog.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_VWARN])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_VWARN], [/* Define if you have the function `vwarn\'. */
++#undef HAVE_VWARN])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([vwarn.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_VWARNX])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_VWARNX], [/* Define if you have the function `vwarnx\'. */
++#undef HAVE_VWARNX])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([vwarnx.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WARN])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_WARN], [/* Define if you have the function `warn\'. */
++#undef HAVE_WARN])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([warn.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WARNX])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_WARNX], [/* Define if you have the function `warnx\'. */
++#undef HAVE_WARNX])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([warnx.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WRITEV])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_WRITEV], [/* Define if you have the function `writev\'. */
++#undef HAVE_WRITEV])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([writev.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8763: AC_NEED_PROTO is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([NEED_STRNDUP_PROTO])
++m4trace:configure.in:193: -1- AH_OUTPUT([NEED_STRNDUP_PROTO], [/* define if the system is missing a prototype for strndup() */
++#undef NEED_STRNDUP_PROTO])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8763: AC_NEED_PROTO is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([NEED_STRSEP_PROTO])
++m4trace:configure.in:193: -1- AH_OUTPUT([NEED_STRSEP_PROTO], [/* define if the system is missing a prototype for strsep() */
++#undef NEED_STRSEP_PROTO])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8763: AC_NEED_PROTO is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([NEED_STRTOK_R_PROTO])
++m4trace:configure.in:193: -1- AH_OUTPUT([NEED_STRTOK_R_PROTO], [/* define if the system is missing a prototype for strtok_r() */
++#undef NEED_STRTOK_R_PROTO])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8763: AC_NEED_PROTO is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([NEED_STRSVIS_PROTO])
++m4trace:configure.in:193: -1- AH_OUTPUT([NEED_STRSVIS_PROTO], [/* define if the system is missing a prototype for strsvis() */
++#undef NEED_STRSVIS_PROTO])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8763: AC_NEED_PROTO is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([NEED_STRUNVIS_PROTO])
++m4trace:configure.in:193: -1- AH_OUTPUT([NEED_STRUNVIS_PROTO], [/* define if the system is missing a prototype for strunvis() */
++#undef NEED_STRUNVIS_PROTO])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8763: AC_NEED_PROTO is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([NEED_STRVIS_PROTO])
++m4trace:configure.in:193: -1- AH_OUTPUT([NEED_STRVIS_PROTO], [/* define if the system is missing a prototype for strvis() */
++#undef NEED_STRVIS_PROTO])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8763: AC_NEED_PROTO is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([NEED_STRVISX_PROTO])
++m4trace:configure.in:193: -1- AH_OUTPUT([NEED_STRVISX_PROTO], [/* define if the system is missing a prototype for strvisx() */
++#undef NEED_STRVISX_PROTO])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8763: AC_NEED_PROTO is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([NEED_SVIS_PROTO])
++m4trace:configure.in:193: -1- AH_OUTPUT([NEED_SVIS_PROTO], [/* define if the system is missing a prototype for svis() */
++#undef NEED_SVIS_PROTO])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8763: AC_NEED_PROTO is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([NEED_UNVIS_PROTO])
++m4trace:configure.in:193: -1- AH_OUTPUT([NEED_UNVIS_PROTO], [/* define if the system is missing a prototype for unvis() */
++#undef NEED_UNVIS_PROTO])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8763: AC_NEED_PROTO is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([NEED_VIS_PROTO])
++m4trace:configure.in:193: -1- AH_OUTPUT([NEED_VIS_PROTO], [/* define if the system is missing a prototype for vis() */
++#undef NEED_VIS_PROTO])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:8869: AC_BROKEN2 is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INET_ATON])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_INET_ATON], [/* define */
++#undef HAVE_INET_ATON])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([inet_aton.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:8869: AC_BROKEN2 is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INET_NTOP])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_INET_NTOP], [/* define */
++#undef HAVE_INET_NTOP])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([inet_ntop.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:8869: AC_BROKEN2 is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INET_PTON])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_INET_PTON], [/* define */
++#undef HAVE_INET_PTON])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([inet_pton.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
++aclocal.m4:8889: AC_HAVE_STRUCT_FIELD is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_SOCKADDR_SA_LEN])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRUCT_SOCKADDR_SA_LEN], [/* Define if struct sockaddr has field sa_len. */
++#undef HAVE_STRUCT_SOCKADDR_SA_LEN])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_RUN' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2289: AC_TRY_RUN is expanded from...
++aclocal.m4:8918: rk_BROKEN_GETNAMEINFO is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -2- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [autoconf/general.m4:2281: AC_RUN_IFELSE is expanded from...
++autoconf/general.m4:2289: AC_TRY_RUN is expanded from...
++aclocal.m4:8918: rk_BROKEN_GETNAMEINFO is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([getnameinfo.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_RUN' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2289: AC_TRY_RUN is expanded from...
++aclocal.m4:8943: rk_BROKEN_GETADDRINFO is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -2- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [autoconf/general.m4:2281: AC_RUN_IFELSE is expanded from...
++autoconf/general.m4:2289: AC_TRY_RUN is expanded from...
++aclocal.m4:8943: rk_BROKEN_GETADDRINFO is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([getaddrinfo.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([freeaddrinfo.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8763: AC_NEED_PROTO is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([NEED_SETENV_PROTO])
++m4trace:configure.in:193: -1- AH_OUTPUT([NEED_SETENV_PROTO], [/* define if the system is missing a prototype for setenv() */
++#undef NEED_SETENV_PROTO])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8763: AC_NEED_PROTO is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([NEED_UNSETENV_PROTO])
++m4trace:configure.in:193: -1- AH_OUTPUT([NEED_UNSETENV_PROTO], [/* define if the system is missing a prototype for unsetenv() */
++#undef NEED_UNSETENV_PROTO])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8763: AC_NEED_PROTO is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([NEED_GETHOSTNAME_PROTO])
++m4trace:configure.in:193: -1- AH_OUTPUT([NEED_GETHOSTNAME_PROTO], [/* define if the system is missing a prototype for gethostname() */
++#undef NEED_GETHOSTNAME_PROTO])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8763: AC_NEED_PROTO is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([NEED_MKSTEMP_PROTO])
++m4trace:configure.in:193: -1- AH_OUTPUT([NEED_MKSTEMP_PROTO], [/* define if the system is missing a prototype for mkstemp() */
++#undef NEED_MKSTEMP_PROTO])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8763: AC_NEED_PROTO is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([NEED_GETUSERSHELL_PROTO])
++m4trace:configure.in:193: -1- AH_OUTPUT([NEED_GETUSERSHELL_PROTO], [/* define if the system is missing a prototype for getusershell() */
++#undef NEED_GETUSERSHELL_PROTO])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8763: AC_NEED_PROTO is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([NEED_INET_ATON_PROTO])
++m4trace:configure.in:193: -1- AH_OUTPUT([NEED_INET_ATON_PROTO], [/* define if the system is missing a prototype for inet_aton() */
++#undef NEED_INET_ATON_PROTO])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7232: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7168: AC_FIND_FUNC_NO_LIBS is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_CHECK_FUNCS([crypt])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_CRYPT], [/* Define to 1 if you have the `crypt\' function. */
++#undef HAVE_CRYPT])
++m4trace:configure.in:193: -1- AC_SUBST([LIB_crypt])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_RUN' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2289: AC_TRY_RUN is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
++aclocal.m4:8970: rk_BROKEN_REALLOC is expanded from...
++configure.in:193: rk_BROKEN_REALLOC is required by...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([BROKEN_REALLOC])
++m4trace:configure.in:193: -1- AH_OUTPUT([BROKEN_REALLOC], [/* Define if realloc(NULL) doesn\'t work. */
++#undef BROKEN_REALLOC])
++m4trace:configure.in:193: -1- AH_OUTPUT([zzzz6], [#ifdef BROKEN_REALLOC
++#define realloc(X, Y) isoc_realloc((X), (Y))
++#define isoc_realloc(X, Y) ((X) ? realloc((X), (Y)) : malloc(Y))
++#endif])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8993: AC_PROTO_COMPAT is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([GETHOSTBYNAME_PROTO_COMPATIBLE])
++m4trace:configure.in:193: -1- AH_OUTPUT([GETHOSTBYNAME_PROTO_COMPATIBLE], [/* define if prototype of gethostbyname is compatible with struct hostent
++   *gethostbyname(const char *) */
++#undef GETHOSTBYNAME_PROTO_COMPATIBLE])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8993: AC_PROTO_COMPAT is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([GETHOSTBYADDR_PROTO_COMPATIBLE])
++m4trace:configure.in:193: -1- AH_OUTPUT([GETHOSTBYADDR_PROTO_COMPATIBLE], [/* define if prototype of gethostbyaddr is compatible with struct hostent
++   *gethostbyaddr(const void *, size_t, int) */
++#undef GETHOSTBYADDR_PROTO_COMPATIBLE])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8993: AC_PROTO_COMPAT is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([GETSERVBYNAME_PROTO_COMPATIBLE])
++m4trace:configure.in:193: -1- AH_OUTPUT([GETSERVBYNAME_PROTO_COMPATIBLE], [/* define if prototype of getservbyname is compatible with struct servent
++   *getservbyname(const char *, const char *) */
++#undef GETSERVBYNAME_PROTO_COMPATIBLE])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8993: AC_PROTO_COMPAT is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([GETSOCKNAME_PROTO_COMPATIBLE])
++m4trace:configure.in:193: -1- AH_OUTPUT([GETSOCKNAME_PROTO_COMPATIBLE], [/* define if prototype of getsockname is compatible with int getsockname(int,
++   struct sockaddr*, socklen_t*) */
++#undef GETSOCKNAME_PROTO_COMPATIBLE])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8993: AC_PROTO_COMPAT is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([OPENLOG_PROTO_COMPATIBLE])
++m4trace:configure.in:193: -1- AH_OUTPUT([OPENLOG_PROTO_COMPATIBLE], [/* define if prototype of openlog is compatible with void openlog(const char
++   *, int, int) */
++#undef OPENLOG_PROTO_COMPATIBLE])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8763: AC_NEED_PROTO is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([NEED_CRYPT_PROTO])
++m4trace:configure.in:193: -1- AH_OUTPUT([NEED_CRYPT_PROTO], [/* define if the system is missing a prototype for crypt() */
++#undef NEED_CRYPT_PROTO])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:8654: rk_CHECK_VAR is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:8654: rk_CHECK_VAR is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_H_ERRNO])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_H_ERRNO], [/* Define if you have the `h_errno\' variable. */
++#undef HAVE_H_ERRNO])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:8683: AC_CHECK_DECLARATION is expanded from...
++aclocal.m4:8654: rk_CHECK_VAR is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -2- AC_DEFINE_TRACE_LITERAL([HAVE_H_ERRNO_DECLARATION])
++m4trace:configure.in:193: -2- AH_OUTPUT([HAVE_H_ERRNO_DECLARATION], [/* define if your system declares h_errno */
++#undef HAVE_H_ERRNO_DECLARATION])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:8654: rk_CHECK_VAR is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:8654: rk_CHECK_VAR is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_H_ERRLIST])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_H_ERRLIST], [/* Define if you have the `h_errlist\' variable. */
++#undef HAVE_H_ERRLIST])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:8683: AC_CHECK_DECLARATION is expanded from...
++aclocal.m4:8654: rk_CHECK_VAR is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -2- AC_DEFINE_TRACE_LITERAL([HAVE_H_ERRLIST_DECLARATION])
++m4trace:configure.in:193: -2- AH_OUTPUT([HAVE_H_ERRLIST_DECLARATION], [/* define if your system declares h_errlist */
++#undef HAVE_H_ERRLIST_DECLARATION])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:8654: rk_CHECK_VAR is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:8654: rk_CHECK_VAR is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_H_NERR])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_H_NERR], [/* Define if you have the `h_nerr\' variable. */
++#undef HAVE_H_NERR])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:8683: AC_CHECK_DECLARATION is expanded from...
++aclocal.m4:8654: rk_CHECK_VAR is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -2- AC_DEFINE_TRACE_LITERAL([HAVE_H_NERR_DECLARATION])
++m4trace:configure.in:193: -2- AH_OUTPUT([HAVE_H_NERR_DECLARATION], [/* define if your system declares h_nerr */
++#undef HAVE_H_NERR_DECLARATION])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:8654: rk_CHECK_VAR is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:8654: rk_CHECK_VAR is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE___PROGNAME])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE___PROGNAME], [/* Define if you have the `__progname\' variable. */
++#undef HAVE___PROGNAME])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:8683: AC_CHECK_DECLARATION is expanded from...
++aclocal.m4:8654: rk_CHECK_VAR is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -2- AC_DEFINE_TRACE_LITERAL([HAVE___PROGNAME_DECLARATION])
++m4trace:configure.in:193: -2- AH_OUTPUT([HAVE___PROGNAME_DECLARATION], [/* define if your system declares __progname */
++#undef HAVE___PROGNAME_DECLARATION])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:8683: AC_CHECK_DECLARATION is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OPTARG_DECLARATION])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_OPTARG_DECLARATION], [/* define if your system declares optarg */
++#undef HAVE_OPTARG_DECLARATION])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:8683: AC_CHECK_DECLARATION is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OPTIND_DECLARATION])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_OPTIND_DECLARATION], [/* define if your system declares optind */
++#undef HAVE_OPTIND_DECLARATION])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:8683: AC_CHECK_DECLARATION is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OPTERR_DECLARATION])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_OPTERR_DECLARATION], [/* define if your system declares opterr */
++#undef HAVE_OPTERR_DECLARATION])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:8683: AC_CHECK_DECLARATION is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OPTOPT_DECLARATION])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_OPTOPT_DECLARATION], [/* define if your system declares optopt */
++#undef HAVE_OPTOPT_DECLARATION])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:8683: AC_CHECK_DECLARATION is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ENVIRON_DECLARATION])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_ENVIRON_DECLARATION], [/* define if your system declares environ */
++#undef HAVE_ENVIRON_DECLARATION])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
++aclocal.m4:8889: AC_HAVE_STRUCT_FIELD is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_TM_TM_GMTOFF])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRUCT_TM_TM_GMTOFF], [/* Define if struct tm has field tm_gmtoff. */
++#undef HAVE_STRUCT_TM_TM_GMTOFF])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
++aclocal.m4:8889: AC_HAVE_STRUCT_FIELD is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_TM_TM_ZONE])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRUCT_TM_TM_ZONE], [/* Define if struct tm has field tm_zone. */
++#undef HAVE_STRUCT_TM_TM_ZONE])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:8654: rk_CHECK_VAR is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:8654: rk_CHECK_VAR is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_TIMEZONE])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_TIMEZONE], [/* Define if you have the `timezone\' variable. */
++#undef HAVE_TIMEZONE])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:8683: AC_CHECK_DECLARATION is expanded from...
++aclocal.m4:8654: rk_CHECK_VAR is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -2- AC_DEFINE_TRACE_LITERAL([HAVE_TIMEZONE_DECLARATION])
++m4trace:configure.in:193: -2- AH_OUTPUT([HAVE_TIMEZONE_DECLARATION], [/* define if your system declares timezone */
++#undef HAVE_TIMEZONE_DECLARATION])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:8654: rk_CHECK_VAR is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:8654: rk_CHECK_VAR is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ALTZONE])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_ALTZONE], [/* Define if you have the `altzone\' variable. */
++#undef HAVE_ALTZONE])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:8683: AC_CHECK_DECLARATION is expanded from...
++aclocal.m4:8654: rk_CHECK_VAR is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -2- AC_DEFINE_TRACE_LITERAL([HAVE_ALTZONE_DECLARATION])
++m4trace:configure.in:193: -2- AH_OUTPUT([HAVE_ALTZONE_DECLARATION], [/* define if your system declares altzone */
++#undef HAVE_ALTZONE_DECLARATION])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8427: AC_HAVE_TYPE is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_CHECK_TYPES([sa_family_t])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SA_FAMILY_T])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SA_FAMILY_T], [/* Define to 1 if the system has the type `sa_family_t\'. */
++#undef HAVE_SA_FAMILY_T])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8427: AC_HAVE_TYPE is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_CHECK_TYPES([socklen_t])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SOCKLEN_T])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SOCKLEN_T], [/* Define to 1 if the system has the type `socklen_t\'. */
++#undef HAVE_SOCKLEN_T])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8427: AC_HAVE_TYPE is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_CHECK_TYPES([struct sockaddr])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_SOCKADDR])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRUCT_SOCKADDR], [/* Define to 1 if the system has the type `struct sockaddr\'. */
++#undef HAVE_STRUCT_SOCKADDR])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8427: AC_HAVE_TYPE is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_CHECK_TYPES([struct sockaddr_storage])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_SOCKADDR_STORAGE])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRUCT_SOCKADDR_STORAGE], [/* Define to 1 if the system has the type `struct sockaddr_storage\'. */
++#undef HAVE_STRUCT_SOCKADDR_STORAGE])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8427: AC_HAVE_TYPE is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_CHECK_TYPES([struct addrinfo])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_ADDRINFO])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRUCT_ADDRINFO], [/* Define to 1 if the system has the type `struct addrinfo\'. */
++#undef HAVE_STRUCT_ADDRINFO])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8427: AC_HAVE_TYPE is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_CHECK_TYPES([struct ifaddrs])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_IFADDRS])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRUCT_IFADDRS], [/* Define to 1 if the system has the type `struct ifaddrs\'. */
++#undef HAVE_STRUCT_IFADDRS])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8427: AC_HAVE_TYPE is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_CHECK_TYPES([struct iovec])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_IOVEC])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRUCT_IOVEC], [/* Define to 1 if the system has the type `struct iovec\'. */
++#undef HAVE_STRUCT_IOVEC])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8427: AC_HAVE_TYPE is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_CHECK_TYPES([struct msghdr])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_MSGHDR])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRUCT_MSGHDR], [/* Define to 1 if the system has the type `struct msghdr\'. */
++#undef HAVE_STRUCT_MSGHDR])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_WINSIZE])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRUCT_WINSIZE], [/* define if struct winsize is declared in sys/termios.h */
++#undef HAVE_STRUCT_WINSIZE])
++m4trace:configure.in:193: -2- AC_DEFINE_TRACE_LITERAL([HAVE_WS_XPIXEL])
++m4trace:configure.in:193: -2- AH_OUTPUT([HAVE_WS_XPIXEL], [/* define if struct winsize has ws_xpixel */
++#undef HAVE_WS_XPIXEL])
++m4trace:configure.in:193: -2- AC_DEFINE_TRACE_LITERAL([HAVE_WS_YPIXEL])
++m4trace:configure.in:193: -2- AH_OUTPUT([HAVE_WS_YPIXEL], [/* define if struct winsize has ws_ypixel */
++#undef HAVE_WS_YPIXEL])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:9041: AC_KRB_STRUCT_SPWD is expanded from...
++aclocal.m4:8396: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_SPWD])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRUCT_SPWD], [/* define if you have struct spwd */
++#undef HAVE_STRUCT_SPWD])
++m4trace:configure.in:197: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:9067: rk_OTP is expanded from...
++configure.in:197: the top level])
++m4trace:configure.in:197: -1- AC_DEFINE_TRACE_LITERAL([OTP])
++m4trace:configure.in:197: -1- AH_OUTPUT([OTP], [/* Define if you want OTP support in applications. */
++#undef OTP])
++m4trace:configure.in:197: -1- AM_CONDITIONAL([OTP], [test "$enable_otp" = yes])
++m4trace:configure.in:197: -1- AC_SUBST([OTP_TRUE])
++m4trace:configure.in:197: -1- AC_SUBST([OTP_FALSE])
++m4trace:configure.in:199: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:9082: AC_CHECK_OSFC2 is expanded from...
++configure.in:199: the top level])
++m4trace:configure.in:199: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OSFC2])
++m4trace:configure.in:199: -1- AH_OUTPUT([HAVE_OSFC2], [/* Define to enable basic OSF C2 support. */
++#undef HAVE_OSFC2])
++m4trace:configure.in:199: -1- AC_SUBST([LIB_security])
++m4trace:configure.in:202: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++configure.in:202: the top level])
++m4trace:configure.in:204: -1- AC_DEFINE_TRACE_LITERAL([NO_MMAP])
++m4trace:configure.in:204: -1- AH_OUTPUT([NO_MMAP], [/* Define if you don\'t want to use mmap. */
++#undef NO_MMAP])
++m4trace:configure.in:207: -1- AC_SUBST([NROFF], [$ac_cv_path_NROFF])
++m4trace:configure.in:207: -1- AC_SUBST([GROFF], [$ac_cv_path_GROFF])
++m4trace:configure.in:207: -1- AC_SUBST([CATMAN])
++m4trace:configure.in:207: -1- AM_CONDITIONAL([CATMAN], [test "$CATMAN"])
++m4trace:configure.in:207: -1- AC_SUBST([CATMAN_TRUE])
++m4trace:configure.in:207: -1- AC_SUBST([CATMAN_FALSE])
++m4trace:configure.in:207: -1- AC_SUBST([CATMANEXT])
++m4trace:configure.in:211: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:7148: rk_TEST_PACKAGE is expanded from...
++configure.in:211: the top level])
++m4trace:configure.in:211: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:7148: rk_TEST_PACKAGE is expanded from...
++configure.in:211: the top level])
++m4trace:configure.in:211: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:7148: rk_TEST_PACKAGE is expanded from...
++configure.in:211: the top level])
++m4trace:configure.in:211: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:7148: rk_TEST_PACKAGE is expanded from...
++configure.in:211: the top level])
++m4trace:configure.in:211: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++aclocal.m4:7148: rk_TEST_PACKAGE is expanded from...
++configure.in:211: the top level])
++m4trace:configure.in:211: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:7148: rk_TEST_PACKAGE is expanded from...
++configure.in:211: the top level])
++m4trace:configure.in:211: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++aclocal.m4:7148: rk_TEST_PACKAGE is expanded from...
++configure.in:211: the top level])
++m4trace:configure.in:211: -1- AC_DEFINE_TRACE_LITERAL([READLINE])
++m4trace:configure.in:211: -1- AH_OUTPUT([READLINE], [/* Define if you have the readline package. */
++#undef READLINE])
++m4trace:configure.in:211: -1- AC_SUBST([DIR_readline])
++m4trace:configure.in:211: -1- AC_SUBST([INCLUDE_readline])
++m4trace:configure.in:211: -1- AC_SUBST([LIB_readline])
++m4trace:configure.in:213: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:7148: rk_TEST_PACKAGE is expanded from...
++configure.in:213: the top level])
++m4trace:configure.in:213: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:7148: rk_TEST_PACKAGE is expanded from...
++configure.in:213: the top level])
++m4trace:configure.in:213: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:7148: rk_TEST_PACKAGE is expanded from...
++configure.in:213: the top level])
++m4trace:configure.in:213: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:7148: rk_TEST_PACKAGE is expanded from...
++configure.in:213: the top level])
++m4trace:configure.in:213: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++aclocal.m4:7148: rk_TEST_PACKAGE is expanded from...
++configure.in:213: the top level])
++m4trace:configure.in:213: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:7148: rk_TEST_PACKAGE is expanded from...
++configure.in:213: the top level])
++m4trace:configure.in:213: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++aclocal.m4:7148: rk_TEST_PACKAGE is expanded from...
++configure.in:213: the top level])
++m4trace:configure.in:213: -1- AC_DEFINE_TRACE_LITERAL([HESIOD])
++m4trace:configure.in:213: -1- AH_OUTPUT([HESIOD], [/* Define if you have the hesiod package. */
++#undef HESIOD])
++m4trace:configure.in:213: -1- AC_SUBST([DIR_hesiod])
++m4trace:configure.in:213: -1- AC_SUBST([INCLUDE_hesiod])
++m4trace:configure.in:213: -1- AC_SUBST([LIB_hesiod])
++m4trace:configure.in:215: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:7148: rk_TEST_PACKAGE is expanded from...
++configure.in:215: the top level])
++m4trace:configure.in:215: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:7148: rk_TEST_PACKAGE is expanded from...
++configure.in:215: the top level])
++m4trace:configure.in:215: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:7148: rk_TEST_PACKAGE is expanded from...
++configure.in:215: the top level])
++m4trace:configure.in:215: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:7148: rk_TEST_PACKAGE is expanded from...
++configure.in:215: the top level])
++m4trace:configure.in:215: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++aclocal.m4:7148: rk_TEST_PACKAGE is expanded from...
++configure.in:215: the top level])
++m4trace:configure.in:215: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:7148: rk_TEST_PACKAGE is expanded from...
++configure.in:215: the top level])
++m4trace:configure.in:215: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++aclocal.m4:7148: rk_TEST_PACKAGE is expanded from...
++configure.in:215: the top level])
++m4trace:configure.in:215: -1- AC_DEFINE_TRACE_LITERAL([SL])
++m4trace:configure.in:215: -1- AH_OUTPUT([SL], [/* Define if you have the sl package. */
++#undef SL])
++m4trace:configure.in:215: -1- AC_SUBST([DIR_sl])
++m4trace:configure.in:215: -1- AC_SUBST([INCLUDE_sl])
++m4trace:configure.in:215: -1- AC_SUBST([LIB_sl])
++m4trace:configure.in:220: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:7148: rk_TEST_PACKAGE is expanded from...
++configure.in:220: the top level])
++m4trace:configure.in:220: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:7148: rk_TEST_PACKAGE is expanded from...
++configure.in:220: the top level])
++m4trace:configure.in:220: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:7148: rk_TEST_PACKAGE is expanded from...
++configure.in:220: the top level])
++m4trace:configure.in:220: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:7148: rk_TEST_PACKAGE is expanded from...
++configure.in:220: the top level])
++m4trace:configure.in:220: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++aclocal.m4:7148: rk_TEST_PACKAGE is expanded from...
++configure.in:220: the top level])
++m4trace:configure.in:220: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:7148: rk_TEST_PACKAGE is expanded from...
++configure.in:220: the top level])
++m4trace:configure.in:220: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++aclocal.m4:7148: rk_TEST_PACKAGE is expanded from...
++configure.in:220: the top level])
++m4trace:configure.in:220: -1- AC_DEFINE_TRACE_LITERAL([SS])
++m4trace:configure.in:220: -1- AH_OUTPUT([SS], [/* Define if you have the ss package. */
++#undef SS])
++m4trace:configure.in:220: -1- AC_SUBST([DIR_ss])
++m4trace:configure.in:220: -1- AC_SUBST([INCLUDE_ss])
++m4trace:configure.in:220: -1- AC_SUBST([LIB_ss])
++m4trace:configure.in:228: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:7148: rk_TEST_PACKAGE is expanded from...
++configure.in:228: the top level])
++m4trace:configure.in:228: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:7148: rk_TEST_PACKAGE is expanded from...
++configure.in:228: the top level])
++m4trace:configure.in:228: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:7148: rk_TEST_PACKAGE is expanded from...
++configure.in:228: the top level])
++m4trace:configure.in:228: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:7148: rk_TEST_PACKAGE is expanded from...
++configure.in:228: the top level])
++m4trace:configure.in:228: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++aclocal.m4:7148: rk_TEST_PACKAGE is expanded from...
++configure.in:228: the top level])
++m4trace:configure.in:228: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:7148: rk_TEST_PACKAGE is expanded from...
++configure.in:228: the top level])
++m4trace:configure.in:228: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++aclocal.m4:7148: rk_TEST_PACKAGE is expanded from...
++configure.in:228: the top level])
++m4trace:configure.in:228: -1- AC_DEFINE_TRACE_LITERAL([OTP])
++m4trace:configure.in:228: -1- AH_OUTPUT([OTP], [/* Define if you have the otp package. */
++#undef OTP])
++m4trace:configure.in:228: -1- AC_SUBST([DIR_otp])
++m4trace:configure.in:228: -1- AC_SUBST([INCLUDE_otp])
++m4trace:configure.in:228: -1- AC_SUBST([LIB_otp])
++m4trace:configure.in:235: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:9203: KRB_C_BIGENDIAN is expanded from...
++configure.in:235: the top level])
++m4trace:configure.in:235: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:9203: KRB_C_BIGENDIAN is expanded from...
++configure.in:235: the top level])
++m4trace:configure.in:235: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
++aclocal.m4:9203: KRB_C_BIGENDIAN is expanded from...
++configure.in:235: the top level])
++m4trace:configure.in:235: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
++aclocal.m4:9203: KRB_C_BIGENDIAN is expanded from...
++configure.in:235: the top level])
++m4trace:configure.in:235: -1- _m4_warn([obsolete], [The macro `AC_TRY_RUN' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2289: AC_TRY_RUN is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
++aclocal.m4:9203: KRB_C_BIGENDIAN is expanded from...
++configure.in:235: the top level])
++m4trace:configure.in:235: -1- AC_DEFINE_TRACE_LITERAL([WORDS_BIGENDIAN])
++m4trace:configure.in:235: -1- AH_OUTPUT([WORDS_BIGENDIAN], [/* define if target is big endian */
++#undef WORDS_BIGENDIAN])
++m4trace:configure.in:235: -1- AC_DEFINE_TRACE_LITERAL([ENDIANESS_IN_SYS_PARAM_H])
++m4trace:configure.in:235: -1- AH_OUTPUT([ENDIANESS_IN_SYS_PARAM_H], [/* define if sys/param.h defines the endiness */
++#undef ENDIANESS_IN_SYS_PARAM_H])
++m4trace:configure.in:235: -1- AH_OUTPUT([zzzz7], [
++#if ENDIANESS_IN_SYS_PARAM_H
++#  include <sys/types.h>
++#  include <sys/param.h>
++#  if BYTE_ORDER == BIG_ENDIAN
++#  define WORDS_BIGENDIAN 1
++#  endif
++#endif
++])
++m4trace:configure.in:236: -1- AC_C_INLINE
++m4trace:configure.in:236: -1- AH_OUTPUT([inline], [/* Define to `__inline__\' or `__inline\' if that\'s what the C compiler
++   calls it, or to nothing if \'inline\' is not supported under any name.  */
++#ifndef __cplusplus
++#undef inline
++#endif])
++m4trace:configure.in:238: -1- AM_CONDITIONAL([AIX], [test "$aix" != no])
++m4trace:configure.in:238: -1- AC_SUBST([AIX_TRUE])
++m4trace:configure.in:238: -1- AC_SUBST([AIX_FALSE])
++m4trace:configure.in:238: -1- AM_CONDITIONAL([AIX4], [test "$aix" = 4])
++m4trace:configure.in:238: -1- AC_SUBST([AIX4_TRUE])
++m4trace:configure.in:238: -1- AC_SUBST([AIX4_FALSE])
++m4trace:configure.in:238: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:9261: rk_AIX is expanded from...
++configure.in:238: the top level])
++m4trace:configure.in:238: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7232: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7168: AC_FIND_FUNC_NO_LIBS is expanded from...
++aclocal.m4:9270: rk_DLOPEN is expanded from...
++configure.in:238: rk_DLOPEN is required by...
++aclocal.m4:9261: rk_AIX is expanded from...
++configure.in:238: the top level])
++m4trace:configure.in:238: -1- AC_CHECK_FUNCS([dlopen])
++m4trace:configure.in:238: -1- AH_OUTPUT([HAVE_DLOPEN], [/* Define to 1 if you have the `dlopen\' function. */
++#undef HAVE_DLOPEN])
++m4trace:configure.in:238: -1- AC_SUBST([LIB_dlopen])
++m4trace:configure.in:238: -1- AM_CONDITIONAL([HAVE_DLOPEN], [test "$ac_cv_funclib_dlopen" != no])
++m4trace:configure.in:238: -1- AC_SUBST([HAVE_DLOPEN_TRUE])
++m4trace:configure.in:238: -1- AC_SUBST([HAVE_DLOPEN_FALSE])
++m4trace:configure.in:238: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7232: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7168: AC_FIND_FUNC_NO_LIBS is expanded from...
++aclocal.m4:9261: rk_AIX is expanded from...
++configure.in:238: the top level])
++m4trace:configure.in:238: -1- AC_CHECK_FUNCS([loadquery])
++m4trace:configure.in:238: -1- AH_OUTPUT([HAVE_LOADQUERY], [/* Define to 1 if you have the `loadquery\' function. */
++#undef HAVE_LOADQUERY])
++m4trace:configure.in:238: -1- AC_SUBST([LIB_loadquery])
++m4trace:configure.in:238: -1- AM_CONDITIONAL([AIX_DYNAMIC_AFS], [test "$enable_dynamic_afs" != no])
++m4trace:configure.in:238: -1- AC_SUBST([AIX_DYNAMIC_AFS_TRUE])
++m4trace:configure.in:238: -1- AC_SUBST([AIX_DYNAMIC_AFS_FALSE])
++m4trace:configure.in:238: -1- AC_SUBST([AIX_EXTRA_KAFS])
++m4trace:configure.in:238: -1- AH_OUTPUT([zzzz8], [#if _AIX
++#define _ALL_SOURCE
++/* XXX this is gross, but kills about a gazillion warnings */
++struct ether_addr;
++struct sockaddr;
++struct sockaddr_dl;
++struct sockaddr_in;
++#endif])
++m4trace:configure.in:239: -1- AC_DEFINE_TRACE_LITERAL([IRIX4])
++m4trace:configure.in:239: -1- AH_OUTPUT([IRIX4], [/* Define if you are running IRIX 4. */
++#undef IRIX4])
++m4trace:configure.in:239: -1- AM_CONDITIONAL([IRIX], [test "$irix" != no])
++m4trace:configure.in:239: -1- AC_SUBST([IRIX_TRUE])
++m4trace:configure.in:239: -1- AC_SUBST([IRIX_FALSE])
++m4trace:configure.in:239: -1- AH_OUTPUT([zzzz9], [
++/* IRIX 4 braindamage */
++#if IRIX == 4 && !defined(__STDC__)
++#define __STDC__ 0
++#endif
++])
++m4trace:configure.in:240: -1- AC_DEFINE_TRACE_LITERAL([SunOS])
++m4trace:configure.in:240: -1- AH_OUTPUT([SunOS], [/* Define to what version of SunOS you are running. */
++#undef SunOS])
++m4trace:configure.in:242: -1- AC_PATH_X([])
++m4trace:configure.in:242: -1- AC_DEFINE_TRACE_LITERAL([X_DISPLAY_MISSING])
++m4trace:configure.in:242: -1- AH_OUTPUT([X_DISPLAY_MISSING], [/* Define to 1 if the X Window System is missing or not being used. */
++#undef X_DISPLAY_MISSING])
++m4trace:configure.in:242: -1- AC_CHECK_LIB([dnet], [dnet_ntoa], [X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"])
++m4trace:configure.in:242: -1- AC_CHECK_LIB([dnet_stub], [dnet_ntoa], [X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"])
++m4trace:configure.in:242: -1- AC_CHECK_LIB([nsl], [gethostbyname], [X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"])
++m4trace:configure.in:242: -1- AC_CHECK_LIB([bsd], [gethostbyname], [X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"])
++m4trace:configure.in:242: -1- AC_CHECK_LIB([socket], [connect], [X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"], [], [$X_EXTRA_LIBS])
++m4trace:configure.in:242: -1- AC_CHECK_LIB([posix], [remove], [X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"])
++m4trace:configure.in:242: -1- AC_CHECK_LIB([ipc], [shmat], [X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"])
++m4trace:configure.in:242: -1- AC_CHECK_LIB([ICE], [IceConnectionNumber], [X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"], [], [$X_EXTRA_LIBS])
++m4trace:configure.in:242: -1- AC_SUBST([X_CFLAGS])
++m4trace:configure.in:242: -1- AC_SUBST([X_PRE_LIBS])
++m4trace:configure.in:242: -1- AC_SUBST([X_LIBS])
++m4trace:configure.in:242: -1- AC_SUBST([X_EXTRA_LIBS])
++m4trace:configure.in:242: -1- _m4_warn([obsolete], [The macro `AC_TRY_RUN' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2289: AC_TRY_RUN is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
++aclocal.m4:9375: KRB_CHECK_X is expanded from...
++configure.in:242: the top level])
++m4trace:configure.in:242: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [autoconf/general.m4:2281: AC_RUN_IFELSE is expanded from...
++autoconf/general.m4:2289: AC_TRY_RUN is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
++aclocal.m4:9375: KRB_CHECK_X is expanded from...
++configure.in:242: the top level])
++m4trace:configure.in:244: -1- AM_CONDITIONAL([HAVE_X], [test "$no_x" != yes])
++m4trace:configure.in:244: -1- AC_SUBST([HAVE_X_TRUE])
++m4trace:configure.in:244: -1- AC_SUBST([HAVE_X_FALSE])
++m4trace:configure.in:246: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7232: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7168: AC_FIND_FUNC_NO_LIBS is expanded from...
++aclocal.m4:9434: AC_CHECK_XAU is expanded from...
++configure.in:246: the top level])
++m4trace:configure.in:246: -1- AC_CHECK_FUNCS([XauWriteAuth])
++m4trace:configure.in:246: -1- AH_OUTPUT([HAVE_XAUWRITEAUTH], [/* Define to 1 if you have the `XauWriteAuth\' function. */
++#undef HAVE_XAUWRITEAUTH])
++m4trace:configure.in:246: -1- AC_SUBST([LIB_XauWriteAuth])
++m4trace:configure.in:246: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7232: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7168: AC_FIND_FUNC_NO_LIBS is expanded from...
++aclocal.m4:9434: AC_CHECK_XAU is expanded from...
++configure.in:246: the top level])
++m4trace:configure.in:246: -1- AC_CHECK_FUNCS([XauReadAuth])
++m4trace:configure.in:246: -1- AH_OUTPUT([HAVE_XAUREADAUTH], [/* Define to 1 if you have the `XauReadAuth\' function. */
++#undef HAVE_XAUREADAUTH])
++m4trace:configure.in:246: -1- AC_SUBST([LIB_XauReadAuth])
++m4trace:configure.in:246: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7232: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7168: AC_FIND_FUNC_NO_LIBS is expanded from...
++aclocal.m4:9434: AC_CHECK_XAU is expanded from...
++configure.in:246: the top level])
++m4trace:configure.in:246: -1- AC_CHECK_FUNCS([XauFileName])
++m4trace:configure.in:246: -1- AH_OUTPUT([HAVE_XAUFILENAME], [/* Define to 1 if you have the `XauFileName\' function. */
++#undef HAVE_XAUFILENAME])
++m4trace:configure.in:246: -1- AC_SUBST([LIB_XauFileName])
++m4trace:configure.in:246: -1- AM_CONDITIONAL([NEED_WRITEAUTH], [test "$ac_cv_func_XauWriteAuth" != "yes"])
++m4trace:configure.in:246: -1- AC_SUBST([NEED_WRITEAUTH_TRUE])
++m4trace:configure.in:246: -1- AC_SUBST([NEED_WRITEAUTH_FALSE])
++m4trace:configure.in:246: -1- AC_SUBST([NEED_WRITEAUTH_TRUE])
++m4trace:configure.in:246: -1- AC_SUBST([NEED_WRITEAUTH_FALSE])
++m4trace:configure.in:251: -1- AC_C_CONST
++m4trace:configure.in:251: -1- AC_DEFINE_TRACE_LITERAL([const])
++m4trace:configure.in:251: -1- AH_OUTPUT([const], [/* Define to empty if `const\' does not conform to ANSI C. */
++#undef const])
++m4trace:configure.in:252: -1- AC_TYPE_OFF_T
++m4trace:configure.in:252: -1- AC_DEFINE_TRACE_LITERAL([off_t])
++m4trace:configure.in:252: -1- AH_OUTPUT([off_t], [/* Define to `long\' if <sys/types.h> does not define. */
++#undef off_t])
++m4trace:configure.in:253: -1- AC_DEFINE_TRACE_LITERAL([mode_t])
++m4trace:configure.in:253: -1- AH_OUTPUT([mode_t], [/* Define this to what the type mode_t should be. */
++#undef mode_t])
++m4trace:configure.in:254: -1- AC_DEFINE_TRACE_LITERAL([sig_atomic_t])
++m4trace:configure.in:254: -1- AH_OUTPUT([sig_atomic_t], [/* Define this to what the type sig_atomic_t should be. */
++#undef sig_atomic_t])
++m4trace:configure.in:255: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8427: AC_HAVE_TYPE is expanded from...
++configure.in:255: the top level])
++m4trace:configure.in:255: -1- AC_CHECK_TYPES([long long])
++m4trace:configure.in:255: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LONG_LONG])
++m4trace:configure.in:255: -1- AH_OUTPUT([HAVE_LONG_LONG], [/* Define to 1 if the system has the type `long long\'. */
++#undef HAVE_LONG_LONG])
++m4trace:configure.in:256: -1- AC_HEADER_TIME
++m4trace:configure.in:256: -1- AC_DEFINE_TRACE_LITERAL([TIME_WITH_SYS_TIME])
++m4trace:configure.in:256: -1- AH_OUTPUT([TIME_WITH_SYS_TIME], [/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
++#undef TIME_WITH_SYS_TIME])
++m4trace:configure.in:257: -1- AC_STRUCT_TM
++m4trace:configure.in:257: -1- AC_DEFINE_TRACE_LITERAL([TM_IN_SYS_TIME])
++m4trace:configure.in:257: -1- AH_OUTPUT([TM_IN_SYS_TIME], [/* Define to 1 if your <sys/time.h> declares `struct tm\'. */
++#undef TM_IN_SYS_TIME])
++m4trace:configure.in:260: -1- AC_HEADER_STDC
++m4trace:configure.in:260: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS])
++m4trace:configure.in:260: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */
++#undef STDC_HEADERS])
++m4trace:configure.in:313: -1- AC_CHECK_HEADERS([\
++	arpa/ftp.h				\
++	arpa/telnet.h				\
++	bind/bitypes.h				\
++	bsdsetjmp.h				\
++	curses.h				\
++	dlfcn.h					\
++	fnmatch.h				\
++	inttypes.h				\
++	io.h					\
++	libutil.h				\
++	limits.h				\
++	maillock.h				\
++	netgroup.h				\
++	netinet/in6_machtypes.h			\
++	netinfo/ni.h				\
++	pthread.h				\
++	pty.h					\
++	sac.h					\
++	security/pam_modules.h			\
++	sgtty.h					\
++	siad.h					\
++	signal.h				\
++	stropts.h				\
++	sys/bitypes.h				\
++	sys/category.h				\
++	sys/file.h				\
++	sys/filio.h				\
++	sys/ioccom.h				\
++	sys/mman.h				\
++	sys/pty.h				\
++	sys/ptyio.h				\
++	sys/ptyvar.h				\
++	sys/select.h				\
++	sys/str_tty.h				\
++	sys/stream.h				\
++	sys/stropts.h				\
++	sys/strtty.h				\
++	sys/syscall.h				\
++	sys/termio.h				\
++	sys/timeb.h				\
++	sys/times.h				\
++	sys/un.h				\
++	term.h					\
++	termcap.h				\
++	termio.h				\
++	time.h					\
++	tmpdir.h				\
++	udb.h					\
++	utmp.h					\
++	utmpx.h					\
++])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_ARPA_FTP_H], [/* Define to 1 if you have the <arpa/ftp.h> header file. */
++#undef HAVE_ARPA_FTP_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_ARPA_TELNET_H], [/* Define to 1 if you have the <arpa/telnet.h> header file. */
++#undef HAVE_ARPA_TELNET_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_BIND_BITYPES_H], [/* Define to 1 if you have the <bind/bitypes.h> header file. */
++#undef HAVE_BIND_BITYPES_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_BSDSETJMP_H], [/* Define to 1 if you have the <bsdsetjmp.h> header file. */
++#undef HAVE_BSDSETJMP_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_CURSES_H], [/* Define to 1 if you have the <curses.h> header file. */
++#undef HAVE_CURSES_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_DLFCN_H], [/* Define to 1 if you have the <dlfcn.h> header file. */
++#undef HAVE_DLFCN_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_FNMATCH_H], [/* Define to 1 if you have the <fnmatch.h> header file. */
++#undef HAVE_FNMATCH_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */
++#undef HAVE_INTTYPES_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_IO_H], [/* Define to 1 if you have the <io.h> header file. */
++#undef HAVE_IO_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_LIBUTIL_H], [/* Define to 1 if you have the <libutil.h> header file. */
++#undef HAVE_LIBUTIL_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_LIMITS_H], [/* Define to 1 if you have the <limits.h> header file. */
++#undef HAVE_LIMITS_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_MAILLOCK_H], [/* Define to 1 if you have the <maillock.h> header file. */
++#undef HAVE_MAILLOCK_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_NETGROUP_H], [/* Define to 1 if you have the <netgroup.h> header file. */
++#undef HAVE_NETGROUP_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_NETINET_IN6_MACHTYPES_H], [/* Define to 1 if you have the <netinet/in6_machtypes.h> header file. */
++#undef HAVE_NETINET_IN6_MACHTYPES_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_NETINFO_NI_H], [/* Define to 1 if you have the <netinfo/ni.h> header file. */
++#undef HAVE_NETINFO_NI_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_PTHREAD_H], [/* Define to 1 if you have the <pthread.h> header file. */
++#undef HAVE_PTHREAD_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_PTY_H], [/* Define to 1 if you have the <pty.h> header file. */
++#undef HAVE_PTY_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_SAC_H], [/* Define to 1 if you have the <sac.h> header file. */
++#undef HAVE_SAC_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_SECURITY_PAM_MODULES_H], [/* Define to 1 if you have the <security/pam_modules.h> header file. */
++#undef HAVE_SECURITY_PAM_MODULES_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_SGTTY_H], [/* Define to 1 if you have the <sgtty.h> header file. */
++#undef HAVE_SGTTY_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_SIAD_H], [/* Define to 1 if you have the <siad.h> header file. */
++#undef HAVE_SIAD_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_SIGNAL_H], [/* Define to 1 if you have the <signal.h> header file. */
++#undef HAVE_SIGNAL_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_STROPTS_H], [/* Define to 1 if you have the <stropts.h> header file. */
++#undef HAVE_STROPTS_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_SYS_BITYPES_H], [/* Define to 1 if you have the <sys/bitypes.h> header file. */
++#undef HAVE_SYS_BITYPES_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_SYS_CATEGORY_H], [/* Define to 1 if you have the <sys/category.h> header file. */
++#undef HAVE_SYS_CATEGORY_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_SYS_FILE_H], [/* Define to 1 if you have the <sys/file.h> header file. */
++#undef HAVE_SYS_FILE_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_SYS_FILIO_H], [/* Define to 1 if you have the <sys/filio.h> header file. */
++#undef HAVE_SYS_FILIO_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_SYS_IOCCOM_H], [/* Define to 1 if you have the <sys/ioccom.h> header file. */
++#undef HAVE_SYS_IOCCOM_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_SYS_MMAN_H], [/* Define to 1 if you have the <sys/mman.h> header file. */
++#undef HAVE_SYS_MMAN_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_SYS_PTY_H], [/* Define to 1 if you have the <sys/pty.h> header file. */
++#undef HAVE_SYS_PTY_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_SYS_PTYIO_H], [/* Define to 1 if you have the <sys/ptyio.h> header file. */
++#undef HAVE_SYS_PTYIO_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_SYS_PTYVAR_H], [/* Define to 1 if you have the <sys/ptyvar.h> header file. */
++#undef HAVE_SYS_PTYVAR_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_SYS_SELECT_H], [/* Define to 1 if you have the <sys/select.h> header file. */
++#undef HAVE_SYS_SELECT_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_SYS_STR_TTY_H], [/* Define to 1 if you have the <sys/str_tty.h> header file. */
++#undef HAVE_SYS_STR_TTY_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_SYS_STREAM_H], [/* Define to 1 if you have the <sys/stream.h> header file. */
++#undef HAVE_SYS_STREAM_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_SYS_STROPTS_H], [/* Define to 1 if you have the <sys/stropts.h> header file. */
++#undef HAVE_SYS_STROPTS_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_SYS_STRTTY_H], [/* Define to 1 if you have the <sys/strtty.h> header file. */
++#undef HAVE_SYS_STRTTY_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_SYS_SYSCALL_H], [/* Define to 1 if you have the <sys/syscall.h> header file. */
++#undef HAVE_SYS_SYSCALL_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_SYS_TERMIO_H], [/* Define to 1 if you have the <sys/termio.h> header file. */
++#undef HAVE_SYS_TERMIO_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_SYS_TIMEB_H], [/* Define to 1 if you have the <sys/timeb.h> header file. */
++#undef HAVE_SYS_TIMEB_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_SYS_TIMES_H], [/* Define to 1 if you have the <sys/times.h> header file. */
++#undef HAVE_SYS_TIMES_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_SYS_UN_H], [/* Define to 1 if you have the <sys/un.h> header file. */
++#undef HAVE_SYS_UN_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_TERM_H], [/* Define to 1 if you have the <term.h> header file. */
++#undef HAVE_TERM_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_TERMCAP_H], [/* Define to 1 if you have the <termcap.h> header file. */
++#undef HAVE_TERMCAP_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_TERMIO_H], [/* Define to 1 if you have the <termio.h> header file. */
++#undef HAVE_TERMIO_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_TIME_H], [/* Define to 1 if you have the <time.h> header file. */
++#undef HAVE_TIME_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_TMPDIR_H], [/* Define to 1 if you have the <tmpdir.h> header file. */
++#undef HAVE_TMPDIR_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_UDB_H], [/* Define to 1 if you have the <udb.h> header file. */
++#undef HAVE_UDB_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_UTMP_H], [/* Define to 1 if you have the <utmp.h> header file. */
++#undef HAVE_UTMP_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_UTMPX_H], [/* Define to 1 if you have the <utmpx.h> header file. */
++#undef HAVE_UTMPX_H])
++m4trace:configure.in:316: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++configure.in:316: the top level])
++m4trace:configure.in:320: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NETINFO])
++m4trace:configure.in:320: -1- AH_OUTPUT([HAVE_NETINFO], [/* Define if you want to use Netinfo instead of krb5.conf. */
++#undef HAVE_NETINFO])
++m4trace:configure.in:325: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7232: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7168: AC_FIND_FUNC_NO_LIBS is expanded from...
++configure.in:325: the top level])
++m4trace:configure.in:325: -1- AC_CHECK_FUNCS([logwtmp])
++m4trace:configure.in:325: -1- AH_OUTPUT([HAVE_LOGWTMP], [/* Define to 1 if you have the `logwtmp\' function. */
++#undef HAVE_LOGWTMP])
++m4trace:configure.in:325: -1- AC_SUBST([LIB_logwtmp])
++m4trace:configure.in:326: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7232: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7168: AC_FIND_FUNC_NO_LIBS is expanded from...
++configure.in:326: the top level])
++m4trace:configure.in:326: -1- AC_CHECK_FUNCS([logout])
++m4trace:configure.in:326: -1- AH_OUTPUT([HAVE_LOGOUT], [/* Define to 1 if you have the `logout\' function. */
++#undef HAVE_LOGOUT])
++m4trace:configure.in:326: -1- AC_SUBST([LIB_logout])
++m4trace:configure.in:327: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7232: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7168: AC_FIND_FUNC_NO_LIBS is expanded from...
++configure.in:327: the top level])
++m4trace:configure.in:327: -1- AC_CHECK_FUNCS([openpty])
++m4trace:configure.in:327: -1- AH_OUTPUT([HAVE_OPENPTY], [/* Define to 1 if you have the `openpty\' function. */
++#undef HAVE_OPENPTY])
++m4trace:configure.in:327: -1- AC_SUBST([LIB_openpty])
++m4trace:configure.in:328: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7232: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7168: AC_FIND_FUNC_NO_LIBS is expanded from...
++configure.in:328: the top level])
++m4trace:configure.in:328: -1- AC_CHECK_FUNCS([tgetent])
++m4trace:configure.in:328: -1- AH_OUTPUT([HAVE_TGETENT], [/* Define to 1 if you have the `tgetent\' function. */
++#undef HAVE_TGETENT])
++m4trace:configure.in:328: -1- AC_SUBST([LIB_tgetent])
++m4trace:configure.in:361: -1- AC_CHECK_FUNCS([				\
++	_getpty					\
++	_scrsize				\
++	fcntl					\
++	grantpt					\
++	mktime					\
++	ptsname					\
++	rand					\
++	revoke					\
++	select					\
++	setitimer				\
++	setpcred				\
++	setpgid					\
++	setproctitle				\
++	setregid				\
++	setresgid				\
++	setresuid				\
++	setreuid				\
++	setsid					\
++	setutent				\
++	sigaction				\
++	strstr					\
++	timegm					\
++	ttyname					\
++	ttyslot					\
++	umask					\
++	unlockpt				\
++	vhangup					\
++	yp_get_default_domain			\
++])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE__GETPTY], [/* Define to 1 if you have the `_getpty\' function. */
++#undef HAVE__GETPTY])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE__SCRSIZE], [/* Define to 1 if you have the `_scrsize\' function. */
++#undef HAVE__SCRSIZE])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_FCNTL], [/* Define to 1 if you have the `fcntl\' function. */
++#undef HAVE_FCNTL])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_GRANTPT], [/* Define to 1 if you have the `grantpt\' function. */
++#undef HAVE_GRANTPT])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_MKTIME], [/* Define to 1 if you have the `mktime\' function. */
++#undef HAVE_MKTIME])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_PTSNAME], [/* Define to 1 if you have the `ptsname\' function. */
++#undef HAVE_PTSNAME])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_RAND], [/* Define to 1 if you have the `rand\' function. */
++#undef HAVE_RAND])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_REVOKE], [/* Define to 1 if you have the `revoke\' function. */
++#undef HAVE_REVOKE])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_SELECT], [/* Define to 1 if you have the `select\' function. */
++#undef HAVE_SELECT])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_SETITIMER], [/* Define to 1 if you have the `setitimer\' function. */
++#undef HAVE_SETITIMER])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_SETPCRED], [/* Define to 1 if you have the `setpcred\' function. */
++#undef HAVE_SETPCRED])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_SETPGID], [/* Define to 1 if you have the `setpgid\' function. */
++#undef HAVE_SETPGID])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_SETPROCTITLE], [/* Define to 1 if you have the `setproctitle\' function. */
++#undef HAVE_SETPROCTITLE])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_SETREGID], [/* Define to 1 if you have the `setregid\' function. */
++#undef HAVE_SETREGID])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_SETRESGID], [/* Define to 1 if you have the `setresgid\' function. */
++#undef HAVE_SETRESGID])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_SETRESUID], [/* Define to 1 if you have the `setresuid\' function. */
++#undef HAVE_SETRESUID])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_SETREUID], [/* Define to 1 if you have the `setreuid\' function. */
++#undef HAVE_SETREUID])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_SETSID], [/* Define to 1 if you have the `setsid\' function. */
++#undef HAVE_SETSID])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_SETUTENT], [/* Define to 1 if you have the `setutent\' function. */
++#undef HAVE_SETUTENT])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_SIGACTION], [/* Define to 1 if you have the `sigaction\' function. */
++#undef HAVE_SIGACTION])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_STRSTR], [/* Define to 1 if you have the `strstr\' function. */
++#undef HAVE_STRSTR])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_TIMEGM], [/* Define to 1 if you have the `timegm\' function. */
++#undef HAVE_TIMEGM])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_TTYNAME], [/* Define to 1 if you have the `ttyname\' function. */
++#undef HAVE_TTYNAME])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_TTYSLOT], [/* Define to 1 if you have the `ttyslot\' function. */
++#undef HAVE_TTYSLOT])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_UMASK], [/* Define to 1 if you have the `umask\' function. */
++#undef HAVE_UMASK])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_UNLOCKPT], [/* Define to 1 if you have the `unlockpt\' function. */
++#undef HAVE_UNLOCKPT])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_VHANGUP], [/* Define to 1 if you have the `vhangup\' function. */
++#undef HAVE_VHANGUP])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_YP_GET_DEFAULT_DOMAIN], [/* Define to 1 if you have the `yp_get_default_domain\' function. */
++#undef HAVE_YP_GET_DEFAULT_DOMAIN])
++m4trace:configure.in:363: -1- AC_FUNC_MMAP
++m4trace:configure.in:363: -1- AC_CHECK_HEADERS([stdlib.h unistd.h])
++m4trace:configure.in:363: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
++#undef HAVE_STDLIB_H])
++m4trace:configure.in:363: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
++#undef HAVE_UNISTD_H])
++m4trace:configure.in:363: -1- AC_CHECK_FUNCS([getpagesize])
++m4trace:configure.in:363: -1- AH_OUTPUT([HAVE_GETPAGESIZE], [/* Define to 1 if you have the `getpagesize\' function. */
++#undef HAVE_GETPAGESIZE])
++m4trace:configure.in:363: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MMAP])
++m4trace:configure.in:363: -1- AH_OUTPUT([HAVE_MMAP], [/* Define to 1 if you have a working `mmap\' system call. */
++#undef HAVE_MMAP])
++m4trace:configure.in:365: -1- AC_CHECK_HEADERS([capability.h sys/capability.h])
++m4trace:configure.in:365: -1- AH_OUTPUT([HAVE_CAPABILITY_H], [/* Define to 1 if you have the <capability.h> header file. */
++#undef HAVE_CAPABILITY_H])
++m4trace:configure.in:365: -1- AH_OUTPUT([HAVE_SYS_CAPABILITY_H], [/* Define to 1 if you have the <sys/capability.h> header file. */
++#undef HAVE_SYS_CAPABILITY_H])
++m4trace:configure.in:365: -1- AC_CHECK_FUNCS([sgi_getcapabilitybyname cap_set_proc])
++m4trace:configure.in:365: -1- AH_OUTPUT([HAVE_SGI_GETCAPABILITYBYNAME], [/* Define to 1 if you have the `sgi_getcapabilitybyname\' function. */
++#undef HAVE_SGI_GETCAPABILITYBYNAME])
++m4trace:configure.in:365: -1- AH_OUTPUT([HAVE_CAP_SET_PROC], [/* Define to 1 if you have the `cap_set_proc\' function. */
++#undef HAVE_CAP_SET_PROC])
++m4trace:configure.in:367: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7232: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7168: AC_FIND_FUNC_NO_LIBS is expanded from...
++aclocal.m4:9498: AC_CHECK_GETPWNAM_R_POSIX is expanded from...
++configure.in:367: the top level])
++m4trace:configure.in:367: -1- AC_CHECK_FUNCS([getpwnam_r])
++m4trace:configure.in:367: -1- AH_OUTPUT([HAVE_GETPWNAM_R], [/* Define to 1 if you have the `getpwnam_r\' function. */
++#undef HAVE_GETPWNAM_R])
++m4trace:configure.in:367: -1- AC_SUBST([LIB_getpwnam_r])
++m4trace:configure.in:367: -2- _m4_warn([obsolete], [The macro `AC_TRY_RUN' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2289: AC_TRY_RUN is expanded from...
++aclocal.m4:9498: AC_CHECK_GETPWNAM_R_POSIX is expanded from...
++configure.in:367: the top level])
++m4trace:configure.in:367: -1- AC_DEFINE_TRACE_LITERAL([POSIX_GETPWNAM_R])
++m4trace:configure.in:367: -1- AH_OUTPUT([POSIX_GETPWNAM_R], [/* Define if getpwnam_r has POSIX flavour. */
++#undef POSIX_GETPWNAM_R])
++m4trace:configure.in:370: -1- AC_CHECK_FUNCS([getudbnam setlim])
++m4trace:configure.in:370: -1- AH_OUTPUT([HAVE_GETUDBNAM], [/* Define to 1 if you have the `getudbnam\' function. */
++#undef HAVE_GETUDBNAM])
++m4trace:configure.in:370: -1- AH_OUTPUT([HAVE_SETLIM], [/* Define to 1 if you have the `setlim\' function. */
++#undef HAVE_SETLIM])
++m4trace:configure.in:378: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
++aclocal.m4:8889: AC_HAVE_STRUCT_FIELD is expanded from...
++configure.in:378: the top level])
++m4trace:configure.in:378: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_UTMP_UT_ADDR])
++m4trace:configure.in:378: -1- AH_OUTPUT([HAVE_STRUCT_UTMP_UT_ADDR], [/* Define if struct utmp has field ut_addr. */
++#undef HAVE_STRUCT_UTMP_UT_ADDR])
++m4trace:configure.in:379: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
++aclocal.m4:8889: AC_HAVE_STRUCT_FIELD is expanded from...
++configure.in:379: the top level])
++m4trace:configure.in:379: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_UTMP_UT_HOST])
++m4trace:configure.in:379: -1- AH_OUTPUT([HAVE_STRUCT_UTMP_UT_HOST], [/* Define if struct utmp has field ut_host. */
++#undef HAVE_STRUCT_UTMP_UT_HOST])
++m4trace:configure.in:380: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
++aclocal.m4:8889: AC_HAVE_STRUCT_FIELD is expanded from...
++configure.in:380: the top level])
++m4trace:configure.in:380: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_UTMP_UT_ID])
++m4trace:configure.in:380: -1- AH_OUTPUT([HAVE_STRUCT_UTMP_UT_ID], [/* Define if struct utmp has field ut_id. */
++#undef HAVE_STRUCT_UTMP_UT_ID])
++m4trace:configure.in:381: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
++aclocal.m4:8889: AC_HAVE_STRUCT_FIELD is expanded from...
++configure.in:381: the top level])
++m4trace:configure.in:381: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_UTMP_UT_PID])
++m4trace:configure.in:381: -1- AH_OUTPUT([HAVE_STRUCT_UTMP_UT_PID], [/* Define if struct utmp has field ut_pid. */
++#undef HAVE_STRUCT_UTMP_UT_PID])
++m4trace:configure.in:382: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
++aclocal.m4:8889: AC_HAVE_STRUCT_FIELD is expanded from...
++configure.in:382: the top level])
++m4trace:configure.in:382: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_UTMP_UT_TYPE])
++m4trace:configure.in:382: -1- AH_OUTPUT([HAVE_STRUCT_UTMP_UT_TYPE], [/* Define if struct utmp has field ut_type. */
++#undef HAVE_STRUCT_UTMP_UT_TYPE])
++m4trace:configure.in:383: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
++aclocal.m4:8889: AC_HAVE_STRUCT_FIELD is expanded from...
++configure.in:383: the top level])
++m4trace:configure.in:383: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_UTMP_UT_USER])
++m4trace:configure.in:383: -1- AH_OUTPUT([HAVE_STRUCT_UTMP_UT_USER], [/* Define if struct utmp has field ut_user. */
++#undef HAVE_STRUCT_UTMP_UT_USER])
++m4trace:configure.in:384: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
++aclocal.m4:8889: AC_HAVE_STRUCT_FIELD is expanded from...
++configure.in:384: the top level])
++m4trace:configure.in:384: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_UTMPX_UT_EXIT])
++m4trace:configure.in:384: -1- AH_OUTPUT([HAVE_STRUCT_UTMPX_UT_EXIT], [/* Define if struct utmpx has field ut_exit. */
++#undef HAVE_STRUCT_UTMPX_UT_EXIT])
++m4trace:configure.in:385: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
++aclocal.m4:8889: AC_HAVE_STRUCT_FIELD is expanded from...
++configure.in:385: the top level])
++m4trace:configure.in:385: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_UTMPX_UT_SYSLEN])
++m4trace:configure.in:385: -1- AH_OUTPUT([HAVE_STRUCT_UTMPX_UT_SYSLEN], [/* Define if struct utmpx has field ut_syslen. */
++#undef HAVE_STRUCT_UTMPX_UT_SYSLEN])
++m4trace:configure.in:405: -1- AC_CHECK_TYPES([int8_t, int16_t, int32_t, int64_t, 
++	u_int8_t, u_int16_t, u_int32_t, u_int64_t,
++	uint8_t, uint16_t, uint32_t, uint64_t], [], [], [
++#ifdef HAVE_INTTYPES_H
++#include <inttypes.h>
++#endif
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_BITYPES_H
++#include <sys/bitypes.h>
++#endif
++#ifdef HAVE_BIND_BITYPES_H
++#include <bind/bitypes.h>
++#endif
++#ifdef HAVE_NETINET_IN6_MACHTYPES_H
++#include <netinet/in6_machtypes.h>
++#endif
++])
++m4trace:configure.in:405: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INT8_T])
++m4trace:configure.in:405: -1- AH_OUTPUT([HAVE_INT8_T], [/* Define to 1 if the system has the type `int8_t\'. */
++#undef HAVE_INT8_T])
++m4trace:configure.in:405: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INT16_T])
++m4trace:configure.in:405: -1- AH_OUTPUT([HAVE_INT16_T], [/* Define to 1 if the system has the type `int16_t\'. */
++#undef HAVE_INT16_T])
++m4trace:configure.in:405: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INT32_T])
++m4trace:configure.in:405: -1- AH_OUTPUT([HAVE_INT32_T], [/* Define to 1 if the system has the type `int32_t\'. */
++#undef HAVE_INT32_T])
++m4trace:configure.in:405: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INT64_T])
++m4trace:configure.in:405: -1- AH_OUTPUT([HAVE_INT64_T], [/* Define to 1 if the system has the type `int64_t\'. */
++#undef HAVE_INT64_T])
++m4trace:configure.in:405: -1- AC_DEFINE_TRACE_LITERAL([HAVE_U_INT8_T])
++m4trace:configure.in:405: -1- AH_OUTPUT([HAVE_U_INT8_T], [/* Define to 1 if the system has the type `u_int8_t\'. */
++#undef HAVE_U_INT8_T])
++m4trace:configure.in:405: -1- AC_DEFINE_TRACE_LITERAL([HAVE_U_INT16_T])
++m4trace:configure.in:405: -1- AH_OUTPUT([HAVE_U_INT16_T], [/* Define to 1 if the system has the type `u_int16_t\'. */
++#undef HAVE_U_INT16_T])
++m4trace:configure.in:405: -1- AC_DEFINE_TRACE_LITERAL([HAVE_U_INT32_T])
++m4trace:configure.in:405: -1- AH_OUTPUT([HAVE_U_INT32_T], [/* Define to 1 if the system has the type `u_int32_t\'. */
++#undef HAVE_U_INT32_T])
++m4trace:configure.in:405: -1- AC_DEFINE_TRACE_LITERAL([HAVE_U_INT64_T])
++m4trace:configure.in:405: -1- AH_OUTPUT([HAVE_U_INT64_T], [/* Define to 1 if the system has the type `u_int64_t\'. */
++#undef HAVE_U_INT64_T])
++m4trace:configure.in:405: -1- AC_DEFINE_TRACE_LITERAL([HAVE_UINT8_T])
++m4trace:configure.in:405: -1- AH_OUTPUT([HAVE_UINT8_T], [/* Define to 1 if the system has the type `uint8_t\'. */
++#undef HAVE_UINT8_T])
++m4trace:configure.in:405: -1- AC_DEFINE_TRACE_LITERAL([HAVE_UINT16_T])
++m4trace:configure.in:405: -1- AH_OUTPUT([HAVE_UINT16_T], [/* Define to 1 if the system has the type `uint16_t\'. */
++#undef HAVE_UINT16_T])
++m4trace:configure.in:405: -1- AC_DEFINE_TRACE_LITERAL([HAVE_UINT32_T])
++m4trace:configure.in:405: -1- AH_OUTPUT([HAVE_UINT32_T], [/* Define to 1 if the system has the type `uint32_t\'. */
++#undef HAVE_UINT32_T])
++m4trace:configure.in:405: -1- AC_DEFINE_TRACE_LITERAL([HAVE_UINT64_T])
++m4trace:configure.in:405: -1- AH_OUTPUT([HAVE_UINT64_T], [/* Define to 1 if the system has the type `uint64_t\'. */
++#undef HAVE_UINT64_T])
++m4trace:configure.in:407: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7232: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7168: AC_FIND_FUNC_NO_LIBS is expanded from...
++aclocal.m4:9539: KRB_READLINE is expanded from...
++configure.in:407: the top level])
++m4trace:configure.in:407: -1- AC_CHECK_FUNCS([el_init])
++m4trace:configure.in:407: -1- AH_OUTPUT([HAVE_EL_INIT], [/* Define to 1 if you have the `el_init\' function. */
++#undef HAVE_EL_INIT])
++m4trace:configure.in:407: -1- AC_SUBST([LIB_el_init])
++m4trace:configure.in:407: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
++aclocal.m4:9539: KRB_READLINE is expanded from...
++configure.in:407: the top level])
++m4trace:configure.in:407: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FOUR_VALUED_EL_INIT])
++m4trace:configure.in:407: -1- AH_OUTPUT([HAVE_FOUR_VALUED_EL_INIT], [/* Define if el_init takes four arguments. */
++#undef HAVE_FOUR_VALUED_EL_INIT])
++m4trace:configure.in:407: -1- AM_CONDITIONAL([el_compat], [test "$ac_foo" = yes])
++m4trace:configure.in:407: -1- AC_SUBST([el_compat_TRUE])
++m4trace:configure.in:407: -1- AC_SUBST([el_compat_FALSE])
++m4trace:configure.in:407: -1- AC_DEFINE_TRACE_LITERAL([HAVE_READLINE])
++m4trace:configure.in:407: -1- AH_OUTPUT([HAVE_READLINE], [/* Define if you have a readline compatible library. */
++#undef HAVE_READLINE])
++m4trace:configure.in:409: -1- AC_DEFINE_TRACE_LITERAL([AUTHENTICATION])
++m4trace:configure.in:409: -1- AH_OUTPUT([AUTHENTICATION], [/* Define if you want authentication support in telnet. */
++#undef AUTHENTICATION])
++m4trace:configure.in:409: -1- AC_DEFINE_TRACE_LITERAL([ENCRYPTION])
++m4trace:configure.in:409: -1- AH_OUTPUT([ENCRYPTION], [/* Define if you want encryption support in telnet. */
++#undef ENCRYPTION])
++m4trace:configure.in:409: -1- AC_DEFINE_TRACE_LITERAL([DES_ENCRYPTION])
++m4trace:configure.in:409: -1- AH_OUTPUT([DES_ENCRYPTION], [/* Define if you want to use DES encryption in telnet. */
++#undef DES_ENCRYPTION])
++m4trace:configure.in:409: -1- AC_DEFINE_TRACE_LITERAL([DIAGNOSTICS])
++m4trace:configure.in:409: -1- AH_OUTPUT([DIAGNOSTICS], [/* Define this to enable diagnostics in telnet. */
++#undef DIAGNOSTICS])
++m4trace:configure.in:409: -1- AC_DEFINE_TRACE_LITERAL([OLD_ENVIRON])
++m4trace:configure.in:409: -1- AH_OUTPUT([OLD_ENVIRON], [/* Define this to enable old environment option in telnet. */
++#undef OLD_ENVIRON])
++m4trace:configure.in:409: -1- AC_DEFINE_TRACE_LITERAL([ENV_HACK])
++m4trace:configure.in:409: -1- AH_OUTPUT([ENV_HACK], [/* Define this if you want support for broken ENV_{VAR,VAL} telnets. */
++#undef ENV_HACK])
++m4trace:configure.in:409: -2- _m4_warn([obsolete], [The macro `AC_TRY_RUN' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2289: AC_TRY_RUN is expanded from...
++aclocal.m4:9618: rk_TELNET is expanded from...
++configure.in:409: the top level])
++m4trace:configure.in:409: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETMSG])
++m4trace:configure.in:409: -1- AH_OUTPUT([HAVE_GETMSG], [/* Define if you have a working getmsg. */
++#undef HAVE_GETMSG])
++m4trace:configure.in:409: -1- AC_DEFINE_TRACE_LITERAL([STREAMSPTY])
++m4trace:configure.in:409: -1- AH_OUTPUT([STREAMSPTY], [/* Define if you have streams ptys. */
++#undef STREAMSPTY])
++m4trace:configure.in:409: -1- AH_OUTPUT([zzzz10], [
++#if defined(ENCRYPTION) && !defined(AUTHENTICATION)
++#define AUTHENTICATION 1
++#endif
++
++/* Set this to the default system lead string for telnetd 
++ * can contain %-escapes: %s=sysname, %m=machine, %r=os-release
++ * %v=os-version, %t=tty, %h=hostname, %d=date and time
++ */
++#undef USE_IM
++
++/* Used with login -p */
++#undef LOGIN_ARGS
++
++/* set this to a sensible login */
++#ifndef LOGIN_PATH
++#define LOGIN_PATH BINDIR "/login"
++#endif
++])
++m4trace:configure.in:412: -1- AC_SUBST([COMPILE_ET])
++m4trace:configure.in:412: -1- _m4_warn([obsolete], [The macro `AC_TRY_RUN' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2289: AC_TRY_RUN is expanded from...
++aclocal.m4:9712: CHECK_COMPILE_ET is expanded from...
++configure.in:412: the top level])
++m4trace:configure.in:412: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [autoconf/general.m4:2281: AC_RUN_IFELSE is expanded from...
++autoconf/general.m4:2289: AC_TRY_RUN is expanded from...
++aclocal.m4:9712: CHECK_COMPILE_ET is expanded from...
++configure.in:412: the top level])
++m4trace:configure.in:412: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++aclocal.m4:9712: CHECK_COMPILE_ET is expanded from...
++configure.in:412: the top level])
++m4trace:configure.in:412: -1- AC_SUBST([DIR_com_err])
++m4trace:configure.in:412: -1- AC_SUBST([LIB_com_err])
++m4trace:configure.in:412: -1- AC_SUBST([LIB_com_err_a])
++m4trace:configure.in:412: -1- AC_SUBST([LIB_com_err_so])
++m4trace:configure.in:414: -1- AC_SUBST([LIB_AUTH_SUBDIRS])
++m4trace:configure.in:416: -1- AC_DEFINE_TRACE_LITERAL([BINDIR])
++m4trace:configure.in:416: -1- AH_OUTPUT([BINDIR], [/* path to bin */
++#undef BINDIR])
++m4trace:configure.in:416: -1- AC_DEFINE_TRACE_LITERAL([LIBDIR])
++m4trace:configure.in:416: -1- AH_OUTPUT([LIBDIR], [/* path to lib */
++#undef LIBDIR])
++m4trace:configure.in:416: -1- AC_DEFINE_TRACE_LITERAL([LIBEXECDIR])
++m4trace:configure.in:416: -1- AH_OUTPUT([LIBEXECDIR], [/* path to libexec */
++#undef LIBEXECDIR])
++m4trace:configure.in:416: -1- AC_DEFINE_TRACE_LITERAL([LOCALSTATEDIR])
++m4trace:configure.in:416: -1- AH_OUTPUT([LOCALSTATEDIR], [/* path to localstate */
++#undef LOCALSTATEDIR])
++m4trace:configure.in:416: -1- AC_DEFINE_TRACE_LITERAL([SBINDIR])
++m4trace:configure.in:416: -1- AH_OUTPUT([SBINDIR], [/* path to sbin */
++#undef SBINDIR])
++m4trace:configure.in:416: -1- AC_DEFINE_TRACE_LITERAL([SYSCONFDIR])
++m4trace:configure.in:416: -1- AH_OUTPUT([SYSCONFDIR], [/* path to sysconf */
++#undef SYSCONFDIR])
++m4trace:configure.in:420: -1- AC_SUBST([LTLIBOBJS])
++m4trace:configure.in:424: -1- AH_OUTPUT([zzzz11], [#ifdef ROKEN_RENAME
++#include "roken_rename.h"
++#endif])
++m4trace:configure.in:478: -1- AC_CONFIG_FILES([Makefile 		\
++	include/Makefile		\
++	include/kadm5/Makefile		\
++	lib/Makefile			\
++	lib/45/Makefile			\
++	lib/auth/Makefile		\
++	lib/auth/afskauthlib/Makefile	\
++	lib/auth/pam/Makefile		\
++	lib/auth/sia/Makefile		\
++	lib/asn1/Makefile		\
++	lib/com_err/Makefile		\
++	lib/des/Makefile		\
++	lib/editline/Makefile		\
++	lib/gssapi/Makefile		\
++	lib/hdb/Makefile		\
++	lib/kadm5/Makefile		\
++	lib/kafs/Makefile		\
++	lib/kdfs/Makefile		\
++	lib/krb5/Makefile		\
++	lib/otp/Makefile		\
++	lib/roken/Makefile		\
++	lib/sl/Makefile			\
++	lib/vers/Makefile		\
++	kuser/Makefile			\
++	kpasswd/Makefile		\
++	kadmin/Makefile			\
++	admin/Makefile			\
++	kdc/Makefile			\
++	appl/Makefile			\
++	appl/afsutil/Makefile		\
++	appl/ftp/Makefile		\
++	appl/ftp/common/Makefile	\
++	appl/ftp/ftp/Makefile		\
++	appl/ftp/ftpd/Makefile		\
++	appl/kx/Makefile		\
++	appl/login/Makefile		\
++	appl/otp/Makefile		\
++	appl/popper/Makefile		\
++	appl/push/Makefile		\
++	appl/rsh/Makefile		\
++	appl/rcp/Makefile		\
++	appl/su/Makefile		\
++	appl/xnlock/Makefile		\
++	appl/telnet/Makefile		\
++	appl/telnet/libtelnet/Makefile	\
++	appl/telnet/telnet/Makefile	\
++	appl/telnet/telnetd/Makefile	\
++	appl/test/Makefile		\
++	appl/kf/Makefile		\
++	appl/dceutils/Makefile		\
++	doc/Makefile			\
++	tools/Makefile			\
++])
++m4trace:configure.in:480: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs])
++m4trace:configure.in:480: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])
+diff -ruN heimdal-0.6.3-old/config.guess heimdal-0.6.3/config.guess
+--- heimdal-0.6.3-old/config.guess	2004-09-13 22:28:49.000000000 +1000
++++ heimdal-0.6.3/config.guess	2004-09-14 08:39:38.000000000 +1000
+@@ -3,7 +3,7 @@
+ #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
+ #   2000, 2001, 2002, 2003 Free Software Foundation, Inc.
+ 
+-timestamp='2004-03-03'
++timestamp='2004-03-12'
+ 
+ # This file is free software; you can redistribute it and/or modify it
+ # under the terms of the GNU General Public License as published by
+@@ -853,6 +853,9 @@
+     ia64:Linux:*:*)
+ 	echo ${UNAME_MACHINE}-unknown-linux-gnu
+ 	exit 0 ;;
++    m32r*:Linux:*:*)
++	echo ${UNAME_MACHINE}-unknown-linux-gnu
++	exit 0 ;;
+     m68*:Linux:*:*)
+ 	echo ${UNAME_MACHINE}-unknown-linux-gnu
+ 	exit 0 ;;
+diff -ruN heimdal-0.6.3-old/config.sub heimdal-0.6.3/config.sub
+--- heimdal-0.6.3-old/config.sub	2004-09-13 22:28:49.000000000 +1000
++++ heimdal-0.6.3/config.sub	2004-09-14 08:39:38.000000000 +1000
+@@ -3,7 +3,7 @@
+ #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
+ #   2000, 2001, 2002, 2003 Free Software Foundation, Inc.
+ 
+-timestamp='2004-02-23'
++timestamp='2004-03-12'
+ 
+ # This file is (in principle) common to ALL GNU software.
+ # The presence of a machine in this file suggests that SOME GNU software
+@@ -237,7 +237,7 @@
+ 	| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
+ 	| i370 | i860 | i960 | ia64 \
+ 	| ip2k | iq2000 \
+-	| m32r | m68000 | m68k | m88k | mcore \
++	| m32r | m32rle | m68000 | m68k | m88k | mcore \
+ 	| mips | mipsbe | mipseb | mipsel | mipsle \
+ 	| mips16 \
+ 	| mips64 | mips64el \
+@@ -262,7 +262,7 @@
+ 	| pyramid \
+ 	| sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
+ 	| sh64 | sh64le \
+-	| sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \
++	| sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv8 | sparcv9 | sparcv9b \
+ 	| strongarm \
+ 	| tahoe | thumb | tic4x | tic80 | tron \
+ 	| v850 | v850e \
+@@ -308,7 +308,7 @@
+ 	| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
+ 	| i*86-* | i860-* | i960-* | ia64-* \
+ 	| ip2k-* | iq2000-* \
+-	| m32r-* \
++	| m32r-* | m32rle-* \
+ 	| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
+ 	| m88110-* | m88k-* | mcore-* \
+ 	| mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
+@@ -336,7 +336,7 @@
+ 	| sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \
+ 	| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
+ 	| sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
+-	| sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
++	| sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
+ 	| tahoe-* | thumb-* \
+ 	| tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
+ 	| tron-* \
+@@ -1081,7 +1081,7 @@
+ 	sh64)
+ 		basic_machine=sh64-unknown
+ 		;;
+-	sparc | sparcv9 | sparcv9b)
++	sparc | sparcv8 | sparcv9 | sparcv9b)
+ 		basic_machine=sparc-sun
+ 		;;
+ 	cydra)
+diff -ruN heimdal-0.6.3-old/configure heimdal-0.6.3/configure
+--- heimdal-0.6.3-old/configure	2004-09-13 22:27:10.000000000 +1000
++++ heimdal-0.6.3/configure	2004-09-14 08:38:51.000000000 +1000
+@@ -467,7 +467,7 @@
+ # include <unistd.h>
+ #endif"
+ 
+-ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT build build_cpu build_vendor build_os host host_cpu host_vendor host_os CANONICAL_HOST YACC LEX LEXLIB LEX_OUTPUT_ROOT LN_S EGREP ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CXX CXXFLAGS ac_ct_CXX CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL WFLAGS WFLAGS_NOUNUSED WFLAGS_NOIMPLICITINT INCLUDE_openldap LIB_openldap INCLUDE_krb4 LIB_krb4 EXTRA_LIB45 LIB_krb_enable_debug LIB_krb_disable_debug LIB_krb_get_our_ip_for_realm LIB_krb_kdctimeofday LIB_krb_get_kdc_time_diff KRB4_TRUE KRB4_FALSE KRB5_TRUE KRB5_FALSE do_roken_rename_TRUE do_roken_rename_FALSE LIB_kdb HAVE_OPENSSL_TRUE HAVE_OPENSSL_FALSE DIR_des INCLUDE_des LIB_des LIB_des_a LIB_des_so LIB_des_appl DCE_TRUE DCE_FALSE dpagaix_cflags dpagaix_ldadd dpagaix_ldflags LIB_db_create LIB_dbopen LIB_dbm_firstkey HAVE_DB1_TRUE HAVE_DB1_FALSE HAVE_DB3_TRUE HAVE_DB3_FALSE HAVE_NDBM_TRUE HAVE_NDBM_FALSE DBLIB LIB_NDBM VOID_RETSIGTYPE have_err_h_TRUE have_err_h_FALSE have_fnmatch_h_TRUE have_fnmatch_h_FALSE have_ifaddrs_h_TRUE have_ifaddrs_h_FALSE have_vis_h_TRUE have_vis_h_FALSE LIB_socket LIB_gethostbyname LIB_syslog LIB_gethostbyname2 LIB_res_search LIB_res_nsearch LIB_dn_expand LIBOBJS have_glob_h_TRUE have_glob_h_FALSE LIB_getsockopt LIB_setsockopt LIB_hstrerror LIB_bswap16 LIB_bswap32 LIB_pidfile LIB_getaddrinfo LIB_getnameinfo LIB_freeaddrinfo LIB_gai_strerror LIB_crypt DIR_roken LIB_roken INCLUDES_roken LIB_otp OTP_TRUE OTP_FALSE LIB_security NROFF GROFF CATMAN CATMAN_TRUE CATMAN_FALSE CATMANEXT INCLUDE_readline LIB_readline INCLUDE_hesiod LIB_hesiod AIX_TRUE AIX_FALSE AIX4_TRUE AIX4_FALSE LIB_dlopen HAVE_DLOPEN_TRUE HAVE_DLOPEN_FALSE LIB_loadquery AIX_DYNAMIC_AFS_TRUE AIX_DYNAMIC_AFS_FALSE AIX_EXTRA_KAFS IRIX_TRUE IRIX_FALSE X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS HAVE_X_TRUE HAVE_X_FALSE LIB_XauWriteAuth LIB_XauReadAuth LIB_XauFileName NEED_WRITEAUTH_TRUE NEED_WRITEAUTH_FALSE LIB_logwtmp LIB_logout LIB_openpty LIB_tgetent LIB_getpwnam_r LIB_el_init el_compat_TRUE el_compat_FALSE COMPILE_ET DIR_com_err LIB_com_err LIB_com_err_a LIB_com_err_so LIB_AUTH_SUBDIRS LTLIBOBJS'
++ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot build build_cpu build_vendor build_os host host_cpu host_vendor host_os CANONICAL_HOST YACC LEX LEXLIB LEX_OUTPUT_ROOT LN_S EGREP ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CXX CXXFLAGS ac_ct_CXX CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL WFLAGS WFLAGS_NOUNUSED WFLAGS_NOIMPLICITINT DIR_openldap INCLUDE_openldap LIB_openldap DIR_krb4 INCLUDE_krb4 LIB_krb4 EXTRA_LIB45 LIB_krb_enable_debug LIB_krb_disable_debug LIB_krb_get_our_ip_for_realm LIB_krb_kdctimeofday LIB_krb_get_kdc_time_diff KRB4_TRUE KRB4_FALSE KRB5_TRUE KRB5_FALSE do_roken_rename_TRUE do_roken_rename_FALSE LIB_kdb HAVE_OPENSSL_TRUE HAVE_OPENSSL_FALSE DIR_des INCLUDE_des LIB_des LIB_des_a LIB_des_so LIB_des_appl DCE_TRUE DCE_FALSE dpagaix_cflags dpagaix_ldadd dpagaix_ldflags LIB_db_create LIB_dbopen LIB_dbm_firstkey HAVE_DB1_TRUE HAVE_DB1_FALSE HAVE_DB3_TRUE HAVE_DB3_FALSE HAVE_NDBM_TRUE HAVE_NDBM_FALSE DBLIB LIB_NDBM LIB_crypt LIB_roken DIR_roken CPPFLAGS_roken VOID_RETSIGTYPE have_err_h_TRUE have_err_h_FALSE have_fnmatch_h_TRUE have_fnmatch_h_FALSE have_ifaddrs_h_TRUE have_ifaddrs_h_FALSE have_vis_h_TRUE have_vis_h_FALSE LIB_socket LIB_gethostbyname LIB_syslog LIB_gethostbyname2 LIB_res_search LIB_res_nsearch LIB_dn_expand LIBOBJS have_glob_h_TRUE have_glob_h_FALSE LIB_getsockopt LIB_setsockopt LIB_hstrerror LIB_bswap16 LIB_bswap32 LIB_pidfile LIB_getaddrinfo LIB_getnameinfo LIB_freeaddrinfo LIB_gai_strerror OTP_TRUE OTP_FALSE LIB_security NROFF GROFF CATMAN CATMAN_TRUE CATMAN_FALSE CATMANEXT DIR_readline INCLUDE_readline LIB_readline DIR_hesiod INCLUDE_hesiod LIB_hesiod DIR_sl INCLUDE_sl LIB_sl DIR_ss INCLUDE_ss LIB_ss DIR_otp INCLUDE_otp LIB_otp AIX_TRUE AIX_FALSE AIX4_TRUE AIX4_FALSE LIB_dlopen HAVE_DLOPEN_TRUE HAVE_DLOPEN_FALSE LIB_loadquery AIX_DYNAMIC_AFS_TRUE AIX_DYNAMIC_AFS_FALSE AIX_EXTRA_KAFS IRIX_TRUE IRIX_FALSE X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS HAVE_X_TRUE HAVE_X_FALSE LIB_XauWriteAuth LIB_XauReadAuth LIB_XauFileName NEED_WRITEAUTH_TRUE NEED_WRITEAUTH_FALSE LIB_logwtmp LIB_logout LIB_openpty LIB_tgetent LIB_getpwnam_r LIB_el_init el_compat_TRUE el_compat_FALSE COMPILE_ET DIR_com_err LIB_com_err LIB_com_err_a LIB_com_err_so LIB_AUTH_SUBDIRS LTLIBOBJS'
+ ac_subst_files=''
+ 
+ # Initialize some variables set by options.
+@@ -1033,8 +1033,8 @@
+ Optional Features:
+   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
+   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
+-  --enable-maintainer-mode  enable make rules and dependencies not useful
+-			  (and sometimes confusing) to the casual installer
++  --enable-maintainer-mode enable make rules and dependencies not useful
++                          (and sometimes confusing) to the casual installer
+   --disable-largefile     omit support for large files
+   --enable-shared[=PKGS]
+                           build shared libraries [default=no]
+@@ -1076,6 +1076,7 @@
+   --with-openssl-lib=dir  use openssl libraries in dir
+   --with-openssl-include=dir
+                           use openssl headers in dir
++  --with-roken=dir        use the roken library in dir
+   --without-ipv6          do not enable IPv6 support
+   --with-readline=dir     use readline in dir
+   --with-readline-lib=dir use readline libraries in dir
+@@ -1089,6 +1090,18 @@
+                           use hesiod headers in dir
+   --with-hesiod-config=path
+                           config program for hesiod
++  --with-sl=dir           use sl in dir
++  --with-sl-lib=dir       use sl libraries in dir
++  --with-sl-include=dir   use sl headers in dir
++  --with-sl-config=path   config program for sl
++  --with-ss=dir           use ss in dir
++  --with-ss-lib=dir       use ss libraries in dir
++  --with-ss-include=dir   use ss headers in dir
++  --with-ss-config=path   config program for ss
++  --with-otp=dir          use otp in dir
++  --with-otp-lib=dir      use otp libraries in dir
++  --with-otp-include=dir  use otp headers in dir
++  --with-otp-config=path  config program for otp
+   --with-x                use the X Window System
+ 
+ Some influential environment variables:
+@@ -1197,7 +1210,7 @@
+     else
+       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
+     fi
+-    cd $ac_popdir
++    cd "$ac_popdir"
+   done
+ fi
+ 
+@@ -1554,6 +1567,30 @@
+ 
+ 
+ 
++echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
++echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
++    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
++if test "${enable_maintainer_mode+set}" = set; then
++  enableval="$enable_maintainer_mode"
++  USE_MAINTAINER_MODE=$enableval
++else
++  USE_MAINTAINER_MODE=no
++fi;
++  echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
++echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
++
++
++if test $USE_MAINTAINER_MODE = yes; then
++  MAINTAINER_MODE_TRUE=
++  MAINTAINER_MODE_FALSE='#'
++else
++  MAINTAINER_MODE_TRUE='#'
++  MAINTAINER_MODE_FALSE=
++fi
++
++  MAINT=$MAINTAINER_MODE_TRUE
++
++
+ 
+           ac_config_headers="$ac_config_headers include/config.h"
+ 
+@@ -2126,8 +2163,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -2185,8 +2221,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -2302,8 +2337,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -2357,8 +2391,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -2403,8 +2436,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -2448,8 +2480,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -2724,7 +2755,7 @@
+ 
+ 
+ 
+-am__api_version="1.8"
++am__api_version="1.7"
+ ac_aux_dir=
+ for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
+   if test -f $ac_dir/install-sh; then
+@@ -2887,6 +2918,7 @@
+ program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
+ rm conftest.sed
+ 
++
+ # expand $ac_aux_dir to an absolute path
+ am_aux_dir=`cd $ac_aux_dir && pwd`
+ 
+@@ -2900,31 +2932,6 @@
+ echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
+ fi
+ 
+-if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
+-  # Keeping the `.' argument allows $(mkdir_p) to be used without
+-  # argument.  Indeed, we sometimes output rules like
+-  #   $(mkdir_p) $(somedir)
+-  # where $(somedir) is conditionally defined.
+-  # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
+-  # expensive solution, as it forces Make to start a sub-shell.)
+-  mkdir_p='mkdir -p -- .'
+-else
+-  # On NextStep and OpenStep, the `mkdir' command does not
+-  # recognize any option.  It will interpret all options as
+-  # directories to create, and then abort because `.' already
+-  # exists.
+-  for d in ./-p ./--version;
+-  do
+-    test -d $d && rmdir $d
+-  done
+-  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
+-  if test -f "$ac_aux_dir/mkinstalldirs"; then
+-    mkdir_p='$(mkinstalldirs)'
+-  else
+-    mkdir_p='$(install_sh) -d'
+-  fi
+-fi
+-
+ for ac_prog in gawk mawk nawk awk
+ do
+   # Extract the first word of "$ac_prog", so it can be a program name with args.
+@@ -3003,7 +3010,7 @@
+ fi
+ rmdir .tst 2>/dev/null
+ 
+-# test to see if srcdir already configured
++ # test to see if srcdir already configured
+ if test "`cd $srcdir && pwd`" != "`pwd`" &&
+    test -f $srcdir/config.status; then
+   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
+@@ -3287,8 +3294,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -3317,8 +3323,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -3388,8 +3393,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -3441,8 +3445,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -3513,8 +3516,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -3566,8 +3568,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -3736,8 +3737,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -3803,8 +3803,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -3893,8 +3892,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -4062,8 +4060,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -4120,8 +4117,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -4225,8 +4221,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -4618,14 +4613,14 @@
+   ;;
+ 
+ cygwin*)
+-  # win32_libid is a shell function defined in ltmain.sh
++  # func_win32_libid is a shell function defined in ltmain.sh
+   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
+-  lt_cv_file_magic_cmd='win32_libid'
++  lt_cv_file_magic_cmd='func_win32_libid'
+   ;;
+ 
+ mingw* | pw32*)
+   # Base MSYS/MinGW do not provide the 'file' command needed by
+-  # win32_libid shell function, so use a weaker test based on 'objdump'.
++  # func_win32_libid shell function, so use a weaker test based on 'objdump'.
+   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
+   lt_cv_file_magic_cmd='$OBJDUMP -f'
+   ;;
+@@ -4684,19 +4679,10 @@
+ 
+ # This must be Linux ELF.
+ linux*)
+-  case $host_cpu in
+-  alpha*|hppa*|i*86|ia64*|m68*|mips*|powerpc*|sparc*|s390*|sh*)
+-    lt_cv_deplibs_check_method=pass_all ;;
+-  *)
+-    # glibc up to 2.1.1 does not perform some relocations on ARM
+-    # this will be overridden with pass_all, but let us keep it just in case
+-    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
+-  esac
+-  lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
+   lt_cv_deplibs_check_method=pass_all
+   ;;
+ 
+-netbsd*)
++netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
+   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
+     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
+   else
+@@ -4810,7 +4796,7 @@
+   ;;
+ *-*-irix6*)
+   # Find out which ABI we are using.
+-  echo '#line 4813 "configure"' > conftest.$ac_ext
++  echo '#line 4799 "configure"' > conftest.$ac_ext
+   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+@@ -4930,8 +4916,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -5006,8 +4991,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -5177,8 +5161,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -5245,8 +5228,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -5506,8 +5488,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_cxx_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -5565,8 +5546,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_cxx_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -5637,8 +5617,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_cxx_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -5682,8 +5661,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_cxx_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -6039,7 +6017,7 @@
+ 
+ 
+ # Provide some information about the compiler.
+-echo "$as_me:6042:" \
++echo "$as_me:6020:" \
+      "checking for Fortran 77 compiler version" >&5
+ ac_compiler=`set X $ac_compile; echo $2`
+ { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
+@@ -6085,8 +6063,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_f77_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_f77_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -6135,8 +6112,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_f77_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_f77_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -6194,7 +6170,7 @@
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+     i=0
+-  testring="ABCD"
++  teststring="ABCD"
+ 
+   case $build_os in
+   msdosdjgpp*)
+@@ -6233,16 +6209,16 @@
+     # If test is not a shell built-in, we'll probably end up computing a
+     # maximum length that is only half of the actual maximum length, but
+     # we can't tell.
+-    while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \
+-	       = "XX$testring") >/dev/null 2>&1 &&
+-	    new_result=`expr "X$testring" : ".*" 2>&1` &&
++    while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
++	       = "XX$teststring") >/dev/null 2>&1 &&
++	    new_result=`expr "X$teststring" : ".*" 2>&1` &&
+ 	    lt_cv_sys_max_cmd_len=$new_result &&
+ 	    test $i != 17 # 1/2 MB should be enough
+     do
+       i=`expr $i + 1`
+-      testring=$testring$testring
++      teststring=$teststring$teststring
+     done
+-    testring=
++    teststring=
+     # Add a significant safety factor because C++ compilers can tack on massive
+     # amounts of additional arguments before passing them to the linker.
+     # It appears as though 1/2 is a usable value.
+@@ -7073,11 +7049,11 @@
+    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
+    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+    -e 's:$: $lt_compiler_flag:'`
+-   (eval echo "\"\$as_me:7076: $lt_compile\"" >&5)
++   (eval echo "\"\$as_me:7052: $lt_compile\"" >&5)
+    (eval "$lt_compile" 2>conftest.err)
+    ac_status=$?
+    cat conftest.err >&5
+-   echo "$as_me:7080: \$? = $ac_status" >&5
++   echo "$as_me:7056: \$? = $ac_status" >&5
+    if (exit $ac_status) && test -s "$ac_outfile"; then
+      # The compiler can only warn and ignore the option if not recognized
+      # So say no if there are warnings
+@@ -7306,11 +7282,11 @@
+    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
+    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+    -e 's:$: $lt_compiler_flag:'`
+-   (eval echo "\"\$as_me:7309: $lt_compile\"" >&5)
++   (eval echo "\"\$as_me:7285: $lt_compile\"" >&5)
+    (eval "$lt_compile" 2>conftest.err)
+    ac_status=$?
+    cat conftest.err >&5
+-   echo "$as_me:7313: \$? = $ac_status" >&5
++   echo "$as_me:7289: \$? = $ac_status" >&5
+    if (exit $ac_status) && test -s "$ac_outfile"; then
+      # The compiler can only warn and ignore the option if not recognized
+      # So say no if there are warnings
+@@ -7366,11 +7342,11 @@
+    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
+    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+    -e 's:$: $lt_compiler_flag:'`
+-   (eval echo "\"\$as_me:7369: $lt_compile\"" >&5)
++   (eval echo "\"\$as_me:7345: $lt_compile\"" >&5)
+    (eval "$lt_compile" 2>out/conftest.err)
+    ac_status=$?
+    cat out/conftest.err >&5
+-   echo "$as_me:7373: \$? = $ac_status" >&5
++   echo "$as_me:7349: \$? = $ac_status" >&5
+    if (exit $ac_status) && test -s out/conftest2.$ac_objext
+    then
+      # The compiler can only warn and ignore the option if not recognized
+@@ -7543,7 +7519,7 @@
+       fi
+       ;;
+ 
+-    netbsd*)
++    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
+       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
+ 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
+ 	wlarc=
+@@ -7582,7 +7558,7 @@
+       ;;
+ 
+   linux*)
+-    if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
++    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
+         tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+ 	archive_cmds="$tmp_archive_cmds"
+       supports_anon_versioning=no
+@@ -7601,6 +7577,7 @@
+       else
+         archive_expsym_cmds="$tmp_archive_cmds"
+       fi
++      link_all_deplibs=no
+     else
+       ld_shlibs=no
+     fi
+@@ -7757,8 +7734,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -7818,8 +7794,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -7884,7 +7859,7 @@
+       # Tell ltmain to make .lib files, not .a files.
+       libext=lib
+       # Tell ltmain to make .dll files, not .so files.
+-      shrext=".dll"
++      shrext_cmds=".dll"
+       # FIXME: Setting linknames here is a bad hack.
+       archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
+       # The linker will automatically build a .lib file if we build a DLL.
+@@ -8062,7 +8037,7 @@
+       link_all_deplibs=yes
+       ;;
+ 
+-    netbsd*)
++    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
+       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
+ 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
+       else
+@@ -8340,7 +8315,7 @@
+ library_names_spec=
+ libname_spec='lib$name'
+ soname_spec=
+-shrext=".so"
++shrext_cmds=".so"
+ postinstall_cmds=
+ postuninstall_cmds=
+ finish_cmds=
+@@ -8453,7 +8428,7 @@
+ 
+ cygwin* | mingw* | pw32*)
+   version_type=windows
+-  shrext=".dll"
++  shrext_cmds=".dll"
+   need_version=no
+   need_lib_prefix=no
+ 
+@@ -8518,7 +8493,7 @@
+   soname_spec='${libname}${release}${major}$shared_ext'
+   shlibpath_overrides_runpath=yes
+   shlibpath_var=DYLD_LIBRARY_PATH
+-  shrext='$(test .$module = .yes && echo .so || echo .dylib)'
++  shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
+   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
+   if test "$GCC" = yes; then
+     sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
+@@ -8601,7 +8576,7 @@
+   need_version=no
+   case "$host_cpu" in
+   ia64*)
+-    shrext='.so'
++    shrext_cmds='.so'
+     hardcode_into_libs=yes
+     dynamic_linker="$host_os dld.so"
+     shlibpath_var=LD_LIBRARY_PATH
+@@ -8616,7 +8591,7 @@
+     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+     ;;
+    hppa*64*)
+-     shrext='.sl'
++     shrext_cmds='.sl'
+      hardcode_into_libs=yes
+      dynamic_linker="$host_os dld.sl"
+      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
+@@ -8627,7 +8602,7 @@
+      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+      ;;
+    *)
+-    shrext='.sl'
++    shrext_cmds='.sl'
+     dynamic_linker="$host_os dld.sl"
+     shlibpath_var=SHLIB_PATH
+     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
+@@ -8698,8 +8673,8 @@
+ 
+   # Append ld.so.conf contents to the search path
+   if test -f /etc/ld.so.conf; then
+-    ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf`
+-    sys_lib_dlsearch_path_spec="/lib /usr/lib $ld_extra"
++    lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
++    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
+   fi
+ 
+   # We used to test for /lib/ld.so.1 and disable shared libraries on
+@@ -8711,6 +8686,18 @@
+   dynamic_linker='GNU/Linux ld.so'
+   ;;
+ 
++netbsdelf*-gnu)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=no
++  hardcode_into_libs=yes
++  dynamic_linker='NetBSD ld.elf_so'
++  ;;
++
+ knetbsd*-gnu)
+   version_type=linux
+   need_lib_prefix=no
+@@ -8781,7 +8768,7 @@
+ 
+ os2*)
+   libname_spec='$name'
+-  shrext=".dll"
++  shrext_cmds=".dll"
+   need_lib_prefix=no
+   library_names_spec='$libname${shared_ext} $libname.a'
+   dynamic_linker='OS/2 ld.exe'
+@@ -9010,8 +8997,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -9114,8 +9100,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -9180,8 +9165,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -9274,8 +9258,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -9340,8 +9323,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -9407,8 +9389,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -9474,8 +9455,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -9550,7 +9530,7 @@
+   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
+   lt_status=$lt_dlunknown
+   cat > conftest.$ac_ext <<EOF
+-#line 9553 "configure"
++#line 9533 "configure"
+ #include "confdefs.h"
+ 
+ #if HAVE_DLFCN_H
+@@ -9648,7 +9628,7 @@
+   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
+   lt_status=$lt_dlunknown
+   cat > conftest.$ac_ext <<EOF
+-#line 9651 "configure"
++#line 9631 "configure"
+ #include "confdefs.h"
+ 
+ #if HAVE_DLFCN_H
+@@ -9773,7 +9753,7 @@
+   fi
+   ;;
+ 
+-aix4*)
++aix4* | aix5*)
+   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
+     test "$enable_shared" = yes && enable_static=no
+   fi
+@@ -10049,7 +10029,7 @@
+ libext="$libext"
+ 
+ # Shared library suffix (normally ".so").
+-shrext='$shrext'
++shrext_cmds='$shrext_cmds'
+ 
+ # Executable file suffix (normally "").
+ exeext="$exeext"
+@@ -10720,8 +10700,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_cxx_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -10782,8 +10761,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_cxx_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -10964,7 +10942,7 @@
+       # explicitly linking system object files so we need to strip them
+       # from the output so that they don't get included in the library
+       # dependencies.
+-      output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | egrep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
++      output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
+       ;;
+     *)
+       if test "$GXX" = yes; then
+@@ -11161,7 +11139,7 @@
+ 	;;
+     esac
+     ;;
+-  netbsd*)
++  netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
+     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
+       archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
+       wlarc=
+@@ -11716,7 +11694,7 @@
+ 	    ;;
+ 	esac
+ 	;;
+-      netbsd*)
++      netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
+ 	;;
+       osf3* | osf4* | osf5*)
+ 	case $cc_basename in
+@@ -11827,11 +11805,11 @@
+    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
+    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+    -e 's:$: $lt_compiler_flag:'`
+-   (eval echo "\"\$as_me:11830: $lt_compile\"" >&5)
++   (eval echo "\"\$as_me:11808: $lt_compile\"" >&5)
+    (eval "$lt_compile" 2>conftest.err)
+    ac_status=$?
+    cat conftest.err >&5
+-   echo "$as_me:11834: \$? = $ac_status" >&5
++   echo "$as_me:11812: \$? = $ac_status" >&5
+    if (exit $ac_status) && test -s "$ac_outfile"; then
+      # The compiler can only warn and ignore the option if not recognized
+      # So say no if there are warnings
+@@ -11887,11 +11865,11 @@
+    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
+    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+    -e 's:$: $lt_compiler_flag:'`
+-   (eval echo "\"\$as_me:11890: $lt_compile\"" >&5)
++   (eval echo "\"\$as_me:11868: $lt_compile\"" >&5)
+    (eval "$lt_compile" 2>out/conftest.err)
+    ac_status=$?
+    cat out/conftest.err >&5
+-   echo "$as_me:11894: \$? = $ac_status" >&5
++   echo "$as_me:11872: \$? = $ac_status" >&5
+    if (exit $ac_status) && test -s out/conftest2.$ac_objext
+    then
+      # The compiler can only warn and ignore the option if not recognized
+@@ -11957,6 +11935,9 @@
+   cygwin* | mingw*)
+     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
+   ;;
++  linux*)
++    link_all_deplibs_CXX=no
++  ;;
+   *)
+     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
+   ;;
+@@ -12038,7 +12019,7 @@
+ library_names_spec=
+ libname_spec='lib$name'
+ soname_spec=
+-shrext=".so"
++shrext_cmds=".so"
+ postinstall_cmds=
+ postuninstall_cmds=
+ finish_cmds=
+@@ -12151,7 +12132,7 @@
+ 
+ cygwin* | mingw* | pw32*)
+   version_type=windows
+-  shrext=".dll"
++  shrext_cmds=".dll"
+   need_version=no
+   need_lib_prefix=no
+ 
+@@ -12216,7 +12197,7 @@
+   soname_spec='${libname}${release}${major}$shared_ext'
+   shlibpath_overrides_runpath=yes
+   shlibpath_var=DYLD_LIBRARY_PATH
+-  shrext='$(test .$module = .yes && echo .so || echo .dylib)'
++  shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
+   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
+   if test "$GCC" = yes; then
+     sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
+@@ -12299,7 +12280,7 @@
+   need_version=no
+   case "$host_cpu" in
+   ia64*)
+-    shrext='.so'
++    shrext_cmds='.so'
+     hardcode_into_libs=yes
+     dynamic_linker="$host_os dld.so"
+     shlibpath_var=LD_LIBRARY_PATH
+@@ -12314,7 +12295,7 @@
+     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+     ;;
+    hppa*64*)
+-     shrext='.sl'
++     shrext_cmds='.sl'
+      hardcode_into_libs=yes
+      dynamic_linker="$host_os dld.sl"
+      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
+@@ -12325,7 +12306,7 @@
+      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+      ;;
+    *)
+-    shrext='.sl'
++    shrext_cmds='.sl'
+     dynamic_linker="$host_os dld.sl"
+     shlibpath_var=SHLIB_PATH
+     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
+@@ -12396,8 +12377,8 @@
+ 
+   # Append ld.so.conf contents to the search path
+   if test -f /etc/ld.so.conf; then
+-    ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf`
+-    sys_lib_dlsearch_path_spec="/lib /usr/lib $ld_extra"
++    lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
++    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
+   fi
+ 
+   # We used to test for /lib/ld.so.1 and disable shared libraries on
+@@ -12409,6 +12390,18 @@
+   dynamic_linker='GNU/Linux ld.so'
+   ;;
+ 
++netbsdelf*-gnu)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=no
++  hardcode_into_libs=yes
++  dynamic_linker='NetBSD ld.elf_so'
++  ;;
++
+ knetbsd*-gnu)
+   version_type=linux
+   need_lib_prefix=no
+@@ -12479,7 +12472,7 @@
+ 
+ os2*)
+   libname_spec='$name'
+-  shrext=".dll"
++  shrext_cmds=".dll"
+   need_lib_prefix=no
+   library_names_spec='$libname${shared_ext} $libname.a'
+   dynamic_linker='OS/2 ld.exe'
+@@ -12708,8 +12701,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_cxx_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -12812,8 +12804,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_cxx_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -12878,8 +12869,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_cxx_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -12972,8 +12962,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_cxx_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -13038,8 +13027,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_cxx_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -13105,8 +13093,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_cxx_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -13172,8 +13159,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_cxx_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -13248,7 +13234,7 @@
+   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
+   lt_status=$lt_dlunknown
+   cat > conftest.$ac_ext <<EOF
+-#line 13251 "configure"
++#line 13237 "configure"
+ #include "confdefs.h"
+ 
+ #if HAVE_DLFCN_H
+@@ -13346,7 +13332,7 @@
+   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
+   lt_status=$lt_dlunknown
+   cat > conftest.$ac_ext <<EOF
+-#line 13349 "configure"
++#line 13335 "configure"
+ #include "confdefs.h"
+ 
+ #if HAVE_DLFCN_H
+@@ -13625,7 +13611,7 @@
+ libext="$libext"
+ 
+ # Shared library suffix (normally ".so").
+-shrext='$shrext'
++shrext_cmds='$shrext_cmds'
+ 
+ # Executable file suffix (normally "").
+ exeext="$exeext"
+@@ -13947,7 +13933,7 @@
+     postinstall_cmds='$RANLIB $lib'
+   fi
+   ;;
+-aix4*)
++aix4* | aix5*)
+   test "$enable_shared" = yes && enable_static=no
+   ;;
+ esac
+@@ -14173,11 +14159,11 @@
+    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
+    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+    -e 's:$: $lt_compiler_flag:'`
+-   (eval echo "\"\$as_me:14176: $lt_compile\"" >&5)
++   (eval echo "\"\$as_me:14162: $lt_compile\"" >&5)
+    (eval "$lt_compile" 2>conftest.err)
+    ac_status=$?
+    cat conftest.err >&5
+-   echo "$as_me:14180: \$? = $ac_status" >&5
++   echo "$as_me:14166: \$? = $ac_status" >&5
+    if (exit $ac_status) && test -s "$ac_outfile"; then
+      # The compiler can only warn and ignore the option if not recognized
+      # So say no if there are warnings
+@@ -14233,11 +14219,11 @@
+    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
+    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+    -e 's:$: $lt_compiler_flag:'`
+-   (eval echo "\"\$as_me:14236: $lt_compile\"" >&5)
++   (eval echo "\"\$as_me:14222: $lt_compile\"" >&5)
+    (eval "$lt_compile" 2>out/conftest.err)
+    ac_status=$?
+    cat out/conftest.err >&5
+-   echo "$as_me:14240: \$? = $ac_status" >&5
++   echo "$as_me:14226: \$? = $ac_status" >&5
+    if (exit $ac_status) && test -s out/conftest2.$ac_objext
+    then
+      # The compiler can only warn and ignore the option if not recognized
+@@ -14410,7 +14396,7 @@
+       fi
+       ;;
+ 
+-    netbsd*)
++    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
+       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
+ 	archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
+ 	wlarc=
+@@ -14449,7 +14435,7 @@
+       ;;
+ 
+   linux*)
+-    if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
++    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
+         tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+ 	archive_cmds_F77="$tmp_archive_cmds"
+       supports_anon_versioning=no
+@@ -14468,6 +14454,7 @@
+       else
+         archive_expsym_cmds_F77="$tmp_archive_cmds"
+       fi
++      link_all_deplibs_F77=no
+     else
+       ld_shlibs_F77=no
+     fi
+@@ -14614,8 +14601,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_f77_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_f77_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -14665,8 +14651,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_f77_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_f77_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -14731,7 +14716,7 @@
+       # Tell ltmain to make .lib files, not .a files.
+       libext=lib
+       # Tell ltmain to make .dll files, not .so files.
+-      shrext=".dll"
++      shrext_cmds=".dll"
+       # FIXME: Setting linknames here is a bad hack.
+       archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
+       # The linker will automatically build a .lib file if we build a DLL.
+@@ -14909,7 +14894,7 @@
+       link_all_deplibs_F77=yes
+       ;;
+ 
+-    netbsd*)
++    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
+       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
+ 	archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
+       else
+@@ -15187,7 +15172,7 @@
+ library_names_spec=
+ libname_spec='lib$name'
+ soname_spec=
+-shrext=".so"
++shrext_cmds=".so"
+ postinstall_cmds=
+ postuninstall_cmds=
+ finish_cmds=
+@@ -15300,7 +15285,7 @@
+ 
+ cygwin* | mingw* | pw32*)
+   version_type=windows
+-  shrext=".dll"
++  shrext_cmds=".dll"
+   need_version=no
+   need_lib_prefix=no
+ 
+@@ -15365,7 +15350,7 @@
+   soname_spec='${libname}${release}${major}$shared_ext'
+   shlibpath_overrides_runpath=yes
+   shlibpath_var=DYLD_LIBRARY_PATH
+-  shrext='$(test .$module = .yes && echo .so || echo .dylib)'
++  shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
+   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
+   if test "$GCC" = yes; then
+     sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
+@@ -15448,7 +15433,7 @@
+   need_version=no
+   case "$host_cpu" in
+   ia64*)
+-    shrext='.so'
++    shrext_cmds='.so'
+     hardcode_into_libs=yes
+     dynamic_linker="$host_os dld.so"
+     shlibpath_var=LD_LIBRARY_PATH
+@@ -15463,7 +15448,7 @@
+     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+     ;;
+    hppa*64*)
+-     shrext='.sl'
++     shrext_cmds='.sl'
+      hardcode_into_libs=yes
+      dynamic_linker="$host_os dld.sl"
+      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
+@@ -15474,7 +15459,7 @@
+      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+      ;;
+    *)
+-    shrext='.sl'
++    shrext_cmds='.sl'
+     dynamic_linker="$host_os dld.sl"
+     shlibpath_var=SHLIB_PATH
+     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
+@@ -15545,8 +15530,8 @@
+ 
+   # Append ld.so.conf contents to the search path
+   if test -f /etc/ld.so.conf; then
+-    ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf`
+-    sys_lib_dlsearch_path_spec="/lib /usr/lib $ld_extra"
++    lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
++    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
+   fi
+ 
+   # We used to test for /lib/ld.so.1 and disable shared libraries on
+@@ -15558,6 +15543,18 @@
+   dynamic_linker='GNU/Linux ld.so'
+   ;;
+ 
++netbsdelf*-gnu)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=no
++  hardcode_into_libs=yes
++  dynamic_linker='NetBSD ld.elf_so'
++  ;;
++
+ knetbsd*-gnu)
+   version_type=linux
+   need_lib_prefix=no
+@@ -15628,7 +15625,7 @@
+ 
+ os2*)
+   libname_spec='$name'
+-  shrext=".dll"
++  shrext_cmds=".dll"
+   need_lib_prefix=no
+   library_names_spec='$libname${shared_ext} $libname.a'
+   dynamic_linker='OS/2 ld.exe'
+@@ -15969,7 +15966,7 @@
+ libext="$libext"
+ 
+ # Shared library suffix (normally ".so").
+-shrext='$shrext'
++shrext_cmds='$shrext_cmds'
+ 
+ # Executable file suffix (normally "").
+ exeext="$exeext"
+@@ -16267,11 +16264,11 @@
+    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
+    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+    -e 's:$: $lt_compiler_flag:'`
+-   (eval echo "\"\$as_me:16270: $lt_compile\"" >&5)
++   (eval echo "\"\$as_me:16267: $lt_compile\"" >&5)
+    (eval "$lt_compile" 2>conftest.err)
+    ac_status=$?
+    cat conftest.err >&5
+-   echo "$as_me:16274: \$? = $ac_status" >&5
++   echo "$as_me:16271: \$? = $ac_status" >&5
+    if (exit $ac_status) && test -s "$ac_outfile"; then
+      # The compiler can only warn and ignore the option if not recognized
+      # So say no if there are warnings
+@@ -16500,11 +16497,11 @@
+    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
+    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+    -e 's:$: $lt_compiler_flag:'`
+-   (eval echo "\"\$as_me:16503: $lt_compile\"" >&5)
++   (eval echo "\"\$as_me:16500: $lt_compile\"" >&5)
+    (eval "$lt_compile" 2>conftest.err)
+    ac_status=$?
+    cat conftest.err >&5
+-   echo "$as_me:16507: \$? = $ac_status" >&5
++   echo "$as_me:16504: \$? = $ac_status" >&5
+    if (exit $ac_status) && test -s "$ac_outfile"; then
+      # The compiler can only warn and ignore the option if not recognized
+      # So say no if there are warnings
+@@ -16560,11 +16557,11 @@
+    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
+    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+    -e 's:$: $lt_compiler_flag:'`
+-   (eval echo "\"\$as_me:16563: $lt_compile\"" >&5)
++   (eval echo "\"\$as_me:16560: $lt_compile\"" >&5)
+    (eval "$lt_compile" 2>out/conftest.err)
+    ac_status=$?
+    cat out/conftest.err >&5
+-   echo "$as_me:16567: \$? = $ac_status" >&5
++   echo "$as_me:16564: \$? = $ac_status" >&5
+    if (exit $ac_status) && test -s out/conftest2.$ac_objext
+    then
+      # The compiler can only warn and ignore the option if not recognized
+@@ -16737,7 +16734,7 @@
+       fi
+       ;;
+ 
+-    netbsd*)
++    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
+       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
+ 	archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
+ 	wlarc=
+@@ -16776,7 +16773,7 @@
+       ;;
+ 
+   linux*)
+-    if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
++    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
+         tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+ 	archive_cmds_GCJ="$tmp_archive_cmds"
+       supports_anon_versioning=no
+@@ -16795,6 +16792,7 @@
+       else
+         archive_expsym_cmds_GCJ="$tmp_archive_cmds"
+       fi
++      link_all_deplibs_GCJ=no
+     else
+       ld_shlibs_GCJ=no
+     fi
+@@ -16951,8 +16949,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -17012,8 +17009,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -17078,7 +17074,7 @@
+       # Tell ltmain to make .lib files, not .a files.
+       libext=lib
+       # Tell ltmain to make .dll files, not .so files.
+-      shrext=".dll"
++      shrext_cmds=".dll"
+       # FIXME: Setting linknames here is a bad hack.
+       archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
+       # The linker will automatically build a .lib file if we build a DLL.
+@@ -17256,7 +17252,7 @@
+       link_all_deplibs_GCJ=yes
+       ;;
+ 
+-    netbsd*)
++    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
+       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
+ 	archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
+       else
+@@ -17534,7 +17530,7 @@
+ library_names_spec=
+ libname_spec='lib$name'
+ soname_spec=
+-shrext=".so"
++shrext_cmds=".so"
+ postinstall_cmds=
+ postuninstall_cmds=
+ finish_cmds=
+@@ -17647,7 +17643,7 @@
+ 
+ cygwin* | mingw* | pw32*)
+   version_type=windows
+-  shrext=".dll"
++  shrext_cmds=".dll"
+   need_version=no
+   need_lib_prefix=no
+ 
+@@ -17712,7 +17708,7 @@
+   soname_spec='${libname}${release}${major}$shared_ext'
+   shlibpath_overrides_runpath=yes
+   shlibpath_var=DYLD_LIBRARY_PATH
+-  shrext='$(test .$module = .yes && echo .so || echo .dylib)'
++  shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
+   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
+   if test "$GCC" = yes; then
+     sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
+@@ -17795,7 +17791,7 @@
+   need_version=no
+   case "$host_cpu" in
+   ia64*)
+-    shrext='.so'
++    shrext_cmds='.so'
+     hardcode_into_libs=yes
+     dynamic_linker="$host_os dld.so"
+     shlibpath_var=LD_LIBRARY_PATH
+@@ -17810,7 +17806,7 @@
+     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+     ;;
+    hppa*64*)
+-     shrext='.sl'
++     shrext_cmds='.sl'
+      hardcode_into_libs=yes
+      dynamic_linker="$host_os dld.sl"
+      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
+@@ -17821,7 +17817,7 @@
+      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+      ;;
+    *)
+-    shrext='.sl'
++    shrext_cmds='.sl'
+     dynamic_linker="$host_os dld.sl"
+     shlibpath_var=SHLIB_PATH
+     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
+@@ -17892,8 +17888,8 @@
+ 
+   # Append ld.so.conf contents to the search path
+   if test -f /etc/ld.so.conf; then
+-    ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf`
+-    sys_lib_dlsearch_path_spec="/lib /usr/lib $ld_extra"
++    lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
++    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
+   fi
+ 
+   # We used to test for /lib/ld.so.1 and disable shared libraries on
+@@ -17905,6 +17901,18 @@
+   dynamic_linker='GNU/Linux ld.so'
+   ;;
+ 
++netbsdelf*-gnu)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=no
++  hardcode_into_libs=yes
++  dynamic_linker='NetBSD ld.elf_so'
++  ;;
++
+ knetbsd*-gnu)
+   version_type=linux
+   need_lib_prefix=no
+@@ -17975,7 +17983,7 @@
+ 
+ os2*)
+   libname_spec='$name'
+-  shrext=".dll"
++  shrext_cmds=".dll"
+   need_lib_prefix=no
+   library_names_spec='$libname${shared_ext} $libname.a'
+   dynamic_linker='OS/2 ld.exe'
+@@ -18204,8 +18212,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -18308,8 +18315,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -18374,8 +18380,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -18468,8 +18473,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -18534,8 +18538,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -18601,8 +18604,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -18668,8 +18670,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -18744,7 +18745,7 @@
+   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
+   lt_status=$lt_dlunknown
+   cat > conftest.$ac_ext <<EOF
+-#line 18747 "configure"
++#line 18748 "configure"
+ #include "confdefs.h"
+ 
+ #if HAVE_DLFCN_H
+@@ -18842,7 +18843,7 @@
+   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
+   lt_status=$lt_dlunknown
+   cat > conftest.$ac_ext <<EOF
+-#line 18845 "configure"
++#line 18846 "configure"
+ #include "confdefs.h"
+ 
+ #if HAVE_DLFCN_H
+@@ -19121,7 +19122,7 @@
+ libext="$libext"
+ 
+ # Shared library suffix (normally ".so").
+-shrext='$shrext'
++shrext_cmds='$shrext_cmds'
+ 
+ # Executable file suffix (normally "").
+ exeext="$exeext"
+@@ -19566,7 +19567,7 @@
+ libext="$libext"
+ 
+ # Shared library suffix (normally ".so").
+-shrext='$shrext'
++shrext_cmds='$shrext_cmds'
+ 
+ # Executable file suffix (normally "").
+ exeext="$exeext"
+@@ -19923,7 +19924,7 @@
+ 
+ header_dirs=
+ lib_dirs=
+-for i in $d; do
++for i in $d /usr; do
+ 	if test "$with_openldap_include" = ""; then
+ 		if test -d "$i/include/openldap"; then
+ 			header_dirs="$header_dirs $i/include/openldap"
+@@ -19994,8 +19995,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -20050,8 +20050,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -20098,8 +20097,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -20121,6 +20119,7 @@
+       conftest$ac_exeext conftest.$ac_ext
+ 		done
+ 		if test "$ires" -a "$lres" -a "$with_openldap" != "no"; then
++			DIR_openldap=
+ 			INCLUDE_openldap="-I$ires"
+ 			LIB_openldap="-L$lres -lldap -llber "
+ 			found=yes
+@@ -20141,6 +20140,7 @@
+ 	with_openldap=yes
+ else
+ 	with_openldap=no
++	DIR_openldap=
+ 	INCLUDE_openldap=
+ 	LIB_openldap=
+ 	echo "$as_me:$LINENO: result: no" >&5
+@@ -20153,6 +20153,7 @@
+ 
+ 
+ 
++
+ # Check whether --with-krb4 or --without-krb4 was given.
+ if test "${with_krb4+set}" = set; then
+   withval="$with_krb4"
+@@ -20202,7 +20203,7 @@
+ 
+ header_dirs=
+ lib_dirs=
+-for i in $d; do
++for i in $d /usr; do
+ 	if test "$with_krb4_include" = ""; then
+ 		if test -d "$i/include/krb4"; then
+ 			header_dirs="$header_dirs $i/include/krb4"
+@@ -20272,8 +20273,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -20327,8 +20327,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -20374,8 +20373,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -20397,6 +20395,7 @@
+       conftest$ac_exeext conftest.$ac_ext
+ 		done
+ 		if test "$ires" -a "$lres" -a "$with_krb4" != "no"; then
++			DIR_krb4=
+ 			INCLUDE_krb4="-I$ires"
+ 			LIB_krb4="-L$lres -lkrb -ldes"
+ 			found=yes
+@@ -20417,6 +20416,7 @@
+ 	with_krb4=yes
+ else
+ 	with_krb4=no
++	DIR_krb4=
+ 	INCLUDE_krb4=
+ 	LIB_krb4=
+ 	echo "$as_me:$LINENO: result: no" >&5
+@@ -20427,6 +20427,7 @@
+ 
+ 
+ 
++
+ LIB_kdb=
+ if test "$with_krb4" != "no"; then
+ 	save_CFLAGS="$CFLAGS"
+@@ -20466,8 +20467,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -20530,8 +20530,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -20597,8 +20596,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -20674,8 +20672,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -20775,8 +20772,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -20897,8 +20893,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -20998,8 +20993,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -21120,8 +21114,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -21221,8 +21214,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -21343,8 +21335,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -21444,8 +21435,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -21568,8 +21558,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -21669,8 +21658,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -21779,8 +21767,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -21843,8 +21830,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -22061,8 +22047,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -22157,8 +22142,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -22253,8 +22237,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -22380,8 +22363,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -22560,8 +22542,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -22731,8 +22712,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -22832,8 +22812,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -22976,8 +22955,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -23077,8 +23055,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -23216,8 +23193,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -23317,8 +23293,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -23455,8 +23430,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -23624,8 +23598,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -23725,8 +23698,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -23855,8 +23827,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -24020,8 +23991,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -24121,8 +24091,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -24317,8 +24286,6 @@
+   HAVE_NDBM_FALSE=
+ fi
+ 
+-## it's probably not correct to include LDFLAGS here, but we might
+-## need it, for now just add any possible -L
+ z=""
+ for i in $LDFLAGS; do
+ 	case "$i" in
+@@ -24331,6 +24298,311 @@
+ 
+ 
+ 
++# Check whether --with-roken or --without-roken was given.
++if test "${with_roken+set}" = set; then
++  withval="$with_roken"
++  if test "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: roken is required" >&5
++echo "$as_me: error: roken is required" >&2;}
++   { (exit 1); exit 1; }; }
++fi
++fi;
++
++save_CPPFLAGS="${CPPFLAGS}"
++
++case $with_roken in
++yes|"")
++  dirs="/usr/heimdal /usr/athena" ;;
++*)
++  dirs="$with_roken" ;;
++esac
++
++roken_installed=no
++
++for i in $dirs; do
++
++echo "$as_me:$LINENO: checking for roken in $i" >&5
++echo $ECHO_N "checking for roken in $i... $ECHO_C" >&6
++
++CPPFLAGS="-I$i/include ${CPPFLAGS}"
++
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <roken.h>
++//#if ROKEN_VERSION < 10
++//#error old roken version, should be 10
++//fail
++//#endif
++
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  roken_installed=yes; break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++
++fi
++rm -f conftest.err conftest.$ac_ext
++
++echo "$as_me:$LINENO: result: $roken_installed" >&5
++echo "${ECHO_T}$roken_installed" >&6
++
++done
++
++CPPFLAGS="$save_CPPFLAGS"
++
++if test "$roken_installed" != "yes"; then
++  DIR_roken="roken"
++  LIB_roken='$(top_builddir)/lib/roken/libroken.la'
++  CPPFLAGS_roken='-I$(top_builddir)/lib/roken -I$(top_srcdir)/lib/roken'
++else
++  LIB_roken="$i/lib/libroken.la"
++  CPPFLAGS_roken="-I$i/include"
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking for crypt" >&5
++echo $ECHO_N "checking for crypt... $ECHO_C" >&6
++if test "${ac_cv_funclib_crypt+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++
++if eval "test \"\$ac_cv_func_crypt\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" crypt; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++crypt()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_crypt=$ac_lib; else ac_cv_funclib_crypt=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_crypt=\${ac_cv_funclib_crypt-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_crypt"
++
++if false; then
++
++for ac_func in crypt
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++
++fi
++done
++
++fi
++# crypt
++eval "ac_tr_func=HAVE_`echo crypt | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_crypt=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_crypt=yes"
++	eval "LIB_crypt="
++	cat >>confdefs.h <<_ACEOF
++#define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_crypt=no"
++	eval "LIB_crypt="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_crypt=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++#define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++#define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++LIB_roken="${LIB_roken} \$(LIB_crypt) \$(LIB_dbopen)"
++
++
++#if ! test "$roken_installed" = yes; then
++
++
+ echo "$as_me:$LINENO: checking for inline" >&5
+ echo $ECHO_N "checking for inline... $ECHO_C" >&6
+ if test "${ac_cv_c_inline+set}" = set; then
+@@ -24360,8 +24632,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -24477,8 +24748,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -24541,8 +24811,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -24607,8 +24876,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -24719,8 +24987,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -24793,8 +25060,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -24860,8 +25126,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -25072,8 +25337,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -25261,8 +25525,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -25354,8 +25617,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -25539,8 +25801,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -25814,9 +26075,6 @@
+ 
+ 
+ 
+-DIR_roken=roken
+-LIB_roken='$(top_builddir)/lib/roken/libroken.la'
+-INCLUDES_roken='-I$(top_builddir)/lib/roken -I$(top_srcdir)/lib/roken'
+ 
+ 
+ 
+@@ -25886,8 +26144,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -25946,8 +26203,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -26026,8 +26282,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -26086,8 +26341,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -26257,8 +26511,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -26463,8 +26716,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -26564,8 +26816,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -26686,8 +26937,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -26787,8 +27037,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -26909,8 +27158,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -27010,8 +27258,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -27297,8 +27544,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -27332,7 +27578,6 @@
+   CFLAGS="${save_CFLAGS}"
+ fi
+ 
+-## test for AIX missing in6addr_loopback
+ if test "$ac_cv_lib_ipv6" = yes; then
+ 	echo "$as_me:$LINENO: checking for in6addr_loopback" >&5
+ echo $ECHO_N "checking for in6addr_loopback... $ECHO_C" >&6
+@@ -27379,8 +27624,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -27459,8 +27703,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -27560,8 +27803,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -27697,8 +27939,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -27798,8 +28039,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -27935,8 +28175,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -28036,8 +28275,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -28173,8 +28411,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -28274,8 +28511,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -28397,8 +28633,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -28445,8 +28680,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -28524,8 +28758,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -28660,8 +28893,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -28800,8 +29032,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -28878,8 +29109,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -28947,8 +29177,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -29125,8 +29354,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -29223,8 +29451,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -29324,8 +29551,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -29446,8 +29672,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -29547,8 +29772,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -29668,8 +29892,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -29769,8 +29992,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -29894,8 +30116,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -29964,8 +30185,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -30032,8 +30252,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -30100,8 +30319,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -30168,8 +30386,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -30248,8 +30465,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -30349,8 +30565,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -30469,8 +30684,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -30570,8 +30784,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -30690,8 +30903,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -30791,8 +31003,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -30912,8 +31123,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -31013,8 +31223,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -31149,8 +31358,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -31250,8 +31458,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -31386,8 +31593,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -31487,8 +31693,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -31623,8 +31828,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -31724,8 +31928,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -31878,8 +32081,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -31984,8 +32186,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -32090,8 +32291,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -32196,8 +32396,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -32302,8 +32501,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -32408,8 +32606,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -32514,8 +32711,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -32620,8 +32816,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -32726,8 +32921,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -32832,8 +33026,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -32938,8 +33131,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -33044,8 +33236,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -33150,8 +33341,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -33256,8 +33446,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -33362,8 +33551,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -33468,8 +33656,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -33574,8 +33761,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -33680,8 +33866,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -33786,8 +33971,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -33892,8 +34076,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -33998,8 +34181,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -34104,8 +34286,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -34210,8 +34391,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -34316,8 +34496,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -34422,8 +34601,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -34528,8 +34706,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -34634,8 +34811,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -34740,8 +34916,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -34846,8 +35021,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -34952,8 +35126,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -35058,8 +35231,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -35164,8 +35336,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -35270,8 +35441,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -35376,8 +35546,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -35482,8 +35651,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -35588,8 +35756,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -35694,8 +35861,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -35800,8 +35966,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -35906,8 +36071,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -36012,8 +36176,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -36118,8 +36281,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -36224,8 +36386,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -36330,8 +36491,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -36436,8 +36596,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -36542,8 +36701,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -36648,8 +36806,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -36754,8 +36911,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -36860,8 +37016,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -36966,8 +37121,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -37072,8 +37226,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -37178,8 +37331,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -37284,8 +37436,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -37390,8 +37541,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -37496,8 +37646,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -37602,8 +37751,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -37708,8 +37856,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -37814,8 +37961,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -37920,8 +38066,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -38026,8 +38171,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -38132,8 +38276,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -38238,8 +38381,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -38344,8 +38486,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -38450,8 +38591,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -38556,8 +38696,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -38662,8 +38801,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -38768,8 +38906,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -38845,8 +38982,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -38911,8 +39047,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -38977,8 +39112,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -39047,8 +39181,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -39115,8 +39248,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -39183,8 +39315,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -39251,8 +39382,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -39319,8 +39449,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -39387,8 +39516,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -39455,8 +39583,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -39538,8 +39665,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -39632,8 +39758,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -39726,8 +39851,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -39804,8 +39928,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -40038,8 +40161,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -40105,8 +40227,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -40172,8 +40293,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -40239,8 +40359,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -40306,8 +40425,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -40386,8 +40504,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -40464,8 +40581,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -40565,8 +40681,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -40687,8 +40802,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -40768,8 +40882,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -40849,8 +40962,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -40921,8 +41033,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -40990,8 +41101,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -41066,8 +41176,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -41139,8 +41248,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -41187,8 +41295,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -41259,8 +41366,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -41335,8 +41441,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -41383,8 +41488,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -41452,8 +41556,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -41528,8 +41631,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -41576,8 +41678,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -41645,8 +41746,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -41721,8 +41821,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -41769,8 +41868,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -41838,8 +41936,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -41914,8 +42011,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -41987,8 +42083,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -42060,8 +42155,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -42133,8 +42227,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -42204,8 +42297,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -42276,8 +42368,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -42343,8 +42434,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -42413,8 +42503,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -42461,8 +42550,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -42528,8 +42616,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -42601,8 +42688,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -42649,8 +42735,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -42716,8 +42801,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -42794,8 +42878,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -42854,8 +42937,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -42932,8 +43014,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -42992,8 +43073,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -43070,8 +43150,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -43130,8 +43209,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -43208,8 +43286,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -43268,8 +43345,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -43346,8 +43422,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -43406,8 +43481,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -43484,8 +43558,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -43544,8 +43617,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -43625,8 +43697,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -43685,8 +43756,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -43766,8 +43836,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -43826,8 +43895,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -43980,8 +44048,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -44017,9 +44084,9 @@
+ 
+ 
+ 
+-LIB_roken="${LIB_roken} \$(LIB_crypt) \$(LIB_dbopen)"
+ 
+ 
++#fi
+ LIB_roken="\$(top_builddir)/lib/vers/libvers.la $LIB_roken"
+ 
+ 
+@@ -44046,8 +44113,6 @@
+ #define OTP 1
+ _ACEOF
+ 
+-	LIB_otp='$(top_builddir)/lib/otp/libotp.la'
+-
+ fi
+ echo "$as_me:$LINENO: checking whether to enable OTP library" >&5
+ echo $ECHO_N "checking whether to enable OTP library... $ECHO_C" >&6
+@@ -44299,7 +44364,7 @@
+ 
+ header_dirs=
+ lib_dirs=
+-for i in $d; do
++for i in $d /usr; do
+ 	if test "$with_readline_include" = ""; then
+ 		if test -d "$i/include/readline"; then
+ 			header_dirs="$header_dirs $i/include/readline"
+@@ -44370,8 +44435,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -44426,8 +44490,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -44474,8 +44537,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -44497,6 +44559,7 @@
+       conftest$ac_exeext conftest.$ac_ext
+ 		done
+ 		if test "$ires" -a "$lres" -a "$with_readline" != "no"; then
++			DIR_readline=
+ 			INCLUDE_readline="-I$ires"
+ 			LIB_readline="-L$lres -lreadline "
+ 			found=yes
+@@ -44517,6 +44580,7 @@
+ 	with_readline=yes
+ else
+ 	with_readline=no
++	DIR_readline=
+ 	INCLUDE_readline=
+ 	LIB_readline=
+ 	echo "$as_me:$LINENO: result: no" >&5
+@@ -44529,6 +44593,7 @@
+ 
+ 
+ 
++
+ # Check whether --with-hesiod or --without-hesiod was given.
+ if test "${with_hesiod+set}" = set; then
+   withval="$with_hesiod"
+@@ -44578,7 +44643,7 @@
+ 
+ header_dirs=
+ lib_dirs=
+-for i in $d; do
++for i in $d /usr; do
+ 	if test "$with_hesiod_include" = ""; then
+ 		if test -d "$i/include/hesiod"; then
+ 			header_dirs="$header_dirs $i/include/hesiod"
+@@ -44648,8 +44713,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -44703,8 +44767,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -44750,8 +44813,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -44773,6 +44835,7 @@
+       conftest$ac_exeext conftest.$ac_ext
+ 		done
+ 		if test "$ires" -a "$lres" -a "$with_hesiod" != "no"; then
++			DIR_hesiod=
+ 			INCLUDE_hesiod="-I$ires"
+ 			LIB_hesiod="-L$lres -lhesiod "
+ 			found=yes
+@@ -44793,6 +44856,7 @@
+ 	with_hesiod=yes
+ else
+ 	with_hesiod=no
++	DIR_hesiod=
+ 	INCLUDE_hesiod=
+ 	LIB_hesiod=
+ 	echo "$as_me:$LINENO: result: no" >&5
+@@ -44804,97 +44868,168 @@
+ 
+ 
+ 
+-# Check whether --enable-bigendian or --disable-bigendian was given.
+-if test "${enable_bigendian+set}" = set; then
+-  enableval="$enable_bigendian"
+-  krb_cv_c_bigendian=yes
++
++
++# Check whether --with-sl or --without-sl was given.
++if test "${with_sl+set}" = set; then
++  withval="$with_sl"
++
+ fi;
+-# Check whether --enable-littleendian or --disable-littleendian was given.
+-if test "${enable_littleendian+set}" = set; then
+-  enableval="$enable_littleendian"
+-  krb_cv_c_bigendian=no
++
++# Check whether --with-sl-lib or --without-sl-lib was given.
++if test "${with_sl_lib+set}" = set; then
++  withval="$with_sl_lib"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-sl-lib" >&5
++echo "$as_me: error: No argument for --with-sl-lib" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_sl" = "X"; then
++  with_sl=yes
++fi
+ fi;
+-echo "$as_me:$LINENO: checking whether byte order is known at compile time" >&5
+-echo $ECHO_N "checking whether byte order is known at compile time... $ECHO_C" >&6
+-if test "${krb_cv_c_bigendian_compile+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  cat >conftest.$ac_ext <<_ACEOF
++
++# Check whether --with-sl-include or --without-sl-include was given.
++if test "${with_sl_include+set}" = set; then
++  withval="$with_sl_include"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-sl-include" >&5
++echo "$as_me: error: No argument for --with-sl-include" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_sl" = "X"; then
++  with_sl=yes
++fi
++fi;
++
++# Check whether --with-sl-config or --without-sl-config was given.
++if test "${with_sl_config+set}" = set; then
++  withval="$with_sl_config"
++
++fi;
++
++
++
++echo "$as_me:$LINENO: checking for sl" >&5
++echo $ECHO_N "checking for sl... $ECHO_C" >&6
++
++case "$with_sl" in
++yes|"") d='' ;;
++no)	d= ;;
++*)	d="$with_sl" ;;
++esac
++
++header_dirs=
++lib_dirs=
++for i in $d /usr; do
++	if test "$with_sl_include" = ""; then
++		if test -d "$i/include/sl"; then
++			header_dirs="$header_dirs $i/include/sl"
++		fi
++		if test -d "$i/include"; then
++			header_dirs="$header_dirs $i/include"
++		fi
++	fi
++	if test "$with_sl_lib" = ""; then
++		if test -d "$i/lib$abilibdirext"; then
++			lib_dirs="$lib_dirs $i/lib$abilibdirext"
++		fi
++	fi
++done
++
++if test "$with_sl_include"; then
++	header_dirs="$with_sl_include $header_dirs"
++fi
++if test "$with_sl_lib"; then
++	lib_dirs="$with_sl_lib $lib_dirs"
++fi
++
++if test "$with_sl_config" = ""; then
++	with_sl_config=''
++fi
++
++sl_cflags=
++sl_libs=
++
++case "$with_sl_config" in
++yes|no|"")
++	;;
++*)
++	sl_cflags="`$with_sl_config --cflags 2>&1`"
++	sl_libs="`$with_sl_config --libs 2>&1`"
++	;;
++esac
++
++found=no
++if test "$with_sl" != no; then
++	save_CFLAGS="$CFLAGS"
++	save_LIBS="$LIBS"
++	if test "$sl_cflags" -a "$sl_libs"; then
++		CFLAGS="$sl_cflags $save_CFLAGS"
++		LIBS="$sl_libs $save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h.  */
+ _ACEOF
+ cat confdefs.h >>conftest.$ac_ext
+ cat >>conftest.$ac_ext <<_ACEOF
+ /* end confdefs.h.  */
+ 
+-#include <sys/types.h>
+-#include <sys/param.h>
+ int
+ main ()
+ {
+ 
+-#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
+- bogus endian macros
+-#endif
+   ;
+   return 0;
+ }
+ _ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>conftest.er1
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
+   ac_status=$?
+   grep -v '^ *+' conftest.er1 >conftest.err
+   rm -f conftest.er1
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; } &&
+-	 { ac_try='test -s conftest.$ac_objext'
++	 { ac_try='test -s conftest$ac_exeext'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  krb_cv_c_bigendian_compile=yes
++
++			INCLUDE_sl="$sl_cflags"
++			LIB_sl="$sl_libs"
++			echo "$as_me:$LINENO: result: from $with_sl_config" >&5
++echo "${ECHO_T}from $with_sl_config" >&6
++			found=yes
+ else
+   echo "$as_me: failed program was:" >&5
+ sed 's/^/| /' conftest.$ac_ext >&5
+ 
+-krb_cv_c_bigendian_compile=no
+-fi
+-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $krb_cv_c_bigendian_compile" >&5
+-echo "${ECHO_T}$krb_cv_c_bigendian_compile" >&6
+-echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
+-echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
+-if test "${krb_cv_c_bigendian+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-
+-  if test "$krb_cv_c_bigendian_compile" = "yes"; then
+-    cat >conftest.$ac_ext <<_ACEOF
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	fi
++	if test "$found" = no; then
++		ires= lres=
++		for i in $header_dirs; do
++			CFLAGS="-I$i $save_CFLAGS"
++			cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h.  */
+ _ACEOF
+ cat confdefs.h >>conftest.$ac_ext
+ cat >>conftest.$ac_ext <<_ACEOF
+ /* end confdefs.h.  */
+ 
+-#include <sys/types.h>
+-#include <sys/param.h>
+ int
+ main ()
+ {
+ 
+-#if BYTE_ORDER != BIG_ENDIAN
+-  not big endian
+-#endif
+   ;
+   return 0;
+ }
+@@ -44908,8 +45043,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -44921,52 +45055,823 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  krb_cv_c_bigendian=yes
++  ires=$i;break
+ else
+   echo "$as_me: failed program was:" >&5
+ sed 's/^/| /' conftest.$ac_ext >&5
+ 
+-krb_cv_c_bigendian=no
+ fi
+ rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
+-  else
+-    if test "$cross_compiling" = yes; then
+-  { { echo "$as_me:$LINENO: error: specify either --enable-bigendian or --enable-littleendian" >&5
+-echo "$as_me: error: specify either --enable-bigendian or --enable-littleendian" >&2;}
+-   { (exit 1); exit 1; }; }
+-else
+-  cat >conftest.$ac_ext <<_ACEOF
++		done
++		for i in $lib_dirs; do
++			LIBS="-L$i -lsl  $save_LIBS"
++			cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h.  */
+ _ACEOF
+ cat confdefs.h >>conftest.$ac_ext
+ cat >>conftest.$ac_ext <<_ACEOF
+ /* end confdefs.h.  */
+-main () {
+-      /* Are we little or big endian?  From Harbison&Steele.  */
+-      union
+-      {
+-	long l;
+-	char c[sizeof (long)];
+-    } u;
+-    u.l = 1;
+-    exit (u.c[sizeof (long) - 1] == 1);
+-  }
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
+ _ACEOF
+-rm -f conftest$ac_exeext
++rm -f conftest.$ac_objext conftest$ac_exeext
+ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
++  (eval $ac_link) 2>conftest.er1
+   ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  krb_cv_c_bigendian=no
++  lres=$i;break
+ else
+-  echo "$as_me: program exited with status $ac_status" >&5
+-echo "$as_me: failed program was:" >&5
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++		done
++		if test "$ires" -a "$lres" -a "$with_sl" != "no"; then
++			DIR_sl=
++			INCLUDE_sl="-I$ires"
++			LIB_sl="-L$lres -lsl "
++			found=yes
++			echo "$as_me:$LINENO: result: headers $ires, libraries $lres" >&5
++echo "${ECHO_T}headers $ires, libraries $lres" >&6
++		fi
++	fi
++	CFLAGS="$save_CFLAGS"
++	LIBS="$save_LIBS"
++fi
++
++if test "$found" = yes; then
++
++cat >>confdefs.h <<_ACEOF
++#define SL 1
++_ACEOF
++
++	with_sl=yes
++else
++	with_sl=no
++	DIR_sl=
++	INCLUDE_sl=
++	LIB_sl=
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++
++
++
++
++if ! test "$with_sl" = yes; then
++	DIR_sl="sl"
++	LIB_sl='$(top_builddir)/lib/sl/libsl.la'
++fi
++
++
++# Check whether --with-ss or --without-ss was given.
++if test "${with_ss+set}" = set; then
++  withval="$with_ss"
++
++fi;
++
++# Check whether --with-ss-lib or --without-ss-lib was given.
++if test "${with_ss_lib+set}" = set; then
++  withval="$with_ss_lib"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-ss-lib" >&5
++echo "$as_me: error: No argument for --with-ss-lib" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_ss" = "X"; then
++  with_ss=yes
++fi
++fi;
++
++# Check whether --with-ss-include or --without-ss-include was given.
++if test "${with_ss_include+set}" = set; then
++  withval="$with_ss_include"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-ss-include" >&5
++echo "$as_me: error: No argument for --with-ss-include" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_ss" = "X"; then
++  with_ss=yes
++fi
++fi;
++
++# Check whether --with-ss-config or --without-ss-config was given.
++if test "${with_ss_config+set}" = set; then
++  withval="$with_ss_config"
++
++fi;
++
++
++
++echo "$as_me:$LINENO: checking for ss" >&5
++echo $ECHO_N "checking for ss... $ECHO_C" >&6
++
++case "$with_ss" in
++yes|"") d='' ;;
++no)	d= ;;
++*)	d="$with_ss" ;;
++esac
++
++header_dirs=
++lib_dirs=
++for i in $d /usr; do
++	if test "$with_ss_include" = ""; then
++		if test -d "$i/include/ss"; then
++			header_dirs="$header_dirs $i/include/ss"
++		fi
++		if test -d "$i/include"; then
++			header_dirs="$header_dirs $i/include"
++		fi
++	fi
++	if test "$with_ss_lib" = ""; then
++		if test -d "$i/lib$abilibdirext"; then
++			lib_dirs="$lib_dirs $i/lib$abilibdirext"
++		fi
++	fi
++done
++
++if test "$with_ss_include"; then
++	header_dirs="$with_ss_include $header_dirs"
++fi
++if test "$with_ss_lib"; then
++	lib_dirs="$with_ss_lib $lib_dirs"
++fi
++
++if test "$with_ss_config" = ""; then
++	with_ss_config=''
++fi
++
++ss_cflags=
++ss_libs=
++
++case "$with_ss_config" in
++yes|no|"")
++	;;
++*)
++	ss_cflags="`$with_ss_config --cflags 2>&1`"
++	ss_libs="`$with_ss_config --libs 2>&1`"
++	;;
++esac
++
++found=no
++if test "$with_ss" != no; then
++	save_CFLAGS="$CFLAGS"
++	save_LIBS="$LIBS"
++	if test "$ss_cflags" -a "$ss_libs"; then
++		CFLAGS="$ss_cflags $save_CFLAGS"
++		LIBS="$ss_libs $save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++
++			INCLUDE_ss="$ss_cflags"
++			LIB_ss="$ss_libs"
++			echo "$as_me:$LINENO: result: from $with_ss_config" >&5
++echo "${ECHO_T}from $with_ss_config" >&6
++			found=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	fi
++	if test "$found" = no; then
++		ires= lres=
++		for i in $header_dirs; do
++			CFLAGS="-I$i $save_CFLAGS"
++			cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ires=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++		done
++		for i in $lib_dirs; do
++			LIBS="-L$i -lss  $save_LIBS"
++			cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  lres=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++		done
++		if test "$ires" -a "$lres" -a "$with_ss" != "no"; then
++			DIR_ss=
++			INCLUDE_ss="-I$ires"
++			LIB_ss="-L$lres -lss "
++			found=yes
++			echo "$as_me:$LINENO: result: headers $ires, libraries $lres" >&5
++echo "${ECHO_T}headers $ires, libraries $lres" >&6
++		fi
++	fi
++	CFLAGS="$save_CFLAGS"
++	LIBS="$save_LIBS"
++fi
++
++if test "$found" = yes; then
++
++cat >>confdefs.h <<_ACEOF
++#define SS 1
++_ACEOF
++
++	with_ss=yes
++else
++	with_ss=no
++	DIR_ss=
++	INCLUDE_ss=
++	LIB_ss=
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++
++
++
++
++if ! test "$with_sl" = yes; then
++	DIR_sl="sl"
++	LIB_sl='$(top_builddir)/lib/sl/libsl.la'
++	DIR_ss=""
++	LIB_ss='$(top_builddir)/lib/sl/libss.la'
++fi
++if test "$enable_otp" = "yes"; then
++
++
++# Check whether --with-otp or --without-otp was given.
++if test "${with_otp+set}" = set; then
++  withval="$with_otp"
++
++fi;
++
++# Check whether --with-otp-lib or --without-otp-lib was given.
++if test "${with_otp_lib+set}" = set; then
++  withval="$with_otp_lib"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-otp-lib" >&5
++echo "$as_me: error: No argument for --with-otp-lib" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_otp" = "X"; then
++  with_otp=yes
++fi
++fi;
++
++# Check whether --with-otp-include or --without-otp-include was given.
++if test "${with_otp_include+set}" = set; then
++  withval="$with_otp_include"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-otp-include" >&5
++echo "$as_me: error: No argument for --with-otp-include" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_otp" = "X"; then
++  with_otp=yes
++fi
++fi;
++
++# Check whether --with-otp-config or --without-otp-config was given.
++if test "${with_otp_config+set}" = set; then
++  withval="$with_otp_config"
++
++fi;
++
++
++
++echo "$as_me:$LINENO: checking for otp" >&5
++echo $ECHO_N "checking for otp... $ECHO_C" >&6
++
++case "$with_otp" in
++yes|"") d='' ;;
++no)	d= ;;
++*)	d="$with_otp" ;;
++esac
++
++header_dirs=
++lib_dirs=
++for i in $d /usr; do
++	if test "$with_otp_include" = ""; then
++		if test -d "$i/include/otp"; then
++			header_dirs="$header_dirs $i/include/otp"
++		fi
++		if test -d "$i/include"; then
++			header_dirs="$header_dirs $i/include"
++		fi
++	fi
++	if test "$with_otp_lib" = ""; then
++		if test -d "$i/lib$abilibdirext"; then
++			lib_dirs="$lib_dirs $i/lib$abilibdirext"
++		fi
++	fi
++done
++
++if test "$with_otp_include"; then
++	header_dirs="$with_otp_include $header_dirs"
++fi
++if test "$with_otp_lib"; then
++	lib_dirs="$with_otp_lib $lib_dirs"
++fi
++
++if test "$with_otp_config" = ""; then
++	with_otp_config=''
++fi
++
++otp_cflags=
++otp_libs=
++
++case "$with_otp_config" in
++yes|no|"")
++	;;
++*)
++	otp_cflags="`$with_otp_config --cflags 2>&1`"
++	otp_libs="`$with_otp_config --libs 2>&1`"
++	;;
++esac
++
++found=no
++if test "$with_otp" != no; then
++	save_CFLAGS="$CFLAGS"
++	save_LIBS="$LIBS"
++	if test "$otp_cflags" -a "$otp_libs"; then
++		CFLAGS="$otp_cflags $save_CFLAGS"
++		LIBS="$otp_libs $save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++
++			INCLUDE_otp="$otp_cflags"
++			LIB_otp="$otp_libs"
++			echo "$as_me:$LINENO: result: from $with_otp_config" >&5
++echo "${ECHO_T}from $with_otp_config" >&6
++			found=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	fi
++	if test "$found" = no; then
++		ires= lres=
++		for i in $header_dirs; do
++			CFLAGS="-I$i $save_CFLAGS"
++			cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ires=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++		done
++		for i in $lib_dirs; do
++			LIBS="-L$i -lotp  $save_LIBS"
++			cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  lres=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++		done
++		if test "$ires" -a "$lres" -a "$with_otp" != "no"; then
++			DIR_otp=
++			INCLUDE_otp="-I$ires"
++			LIB_otp="-L$lres -lotp "
++			found=yes
++			echo "$as_me:$LINENO: result: headers $ires, libraries $lres" >&5
++echo "${ECHO_T}headers $ires, libraries $lres" >&6
++		fi
++	fi
++	CFLAGS="$save_CFLAGS"
++	LIBS="$save_LIBS"
++fi
++
++if test "$found" = yes; then
++
++cat >>confdefs.h <<_ACEOF
++#define OTP 1
++_ACEOF
++
++	with_otp=yes
++else
++	with_otp=no
++	DIR_otp=
++	INCLUDE_otp=
++	LIB_otp=
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++
++
++
++
++  if ! test "$with_otp" = yes; then
++	DIR_otp="otp"
++ 	LIB_otp='$(top_builddir)/lib/otp/libotp.la'
++  fi
++fi
++
++
++# Check whether --enable-bigendian or --disable-bigendian was given.
++if test "${enable_bigendian+set}" = set; then
++  enableval="$enable_bigendian"
++  krb_cv_c_bigendian=yes
++fi;
++# Check whether --enable-littleendian or --disable-littleendian was given.
++if test "${enable_littleendian+set}" = set; then
++  enableval="$enable_littleendian"
++  krb_cv_c_bigendian=no
++fi;
++echo "$as_me:$LINENO: checking whether byte order is known at compile time" >&5
++echo $ECHO_N "checking whether byte order is known at compile time... $ECHO_C" >&6
++if test "${krb_cv_c_bigendian_compile+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#include <sys/types.h>
++#include <sys/param.h>
++int
++main ()
++{
++
++#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
++ bogus endian macros
++#endif
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  krb_cv_c_bigendian_compile=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++krb_cv_c_bigendian_compile=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $krb_cv_c_bigendian_compile" >&5
++echo "${ECHO_T}$krb_cv_c_bigendian_compile" >&6
++echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
++echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
++if test "${krb_cv_c_bigendian+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++
++  if test "$krb_cv_c_bigendian_compile" = "yes"; then
++    cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#include <sys/types.h>
++#include <sys/param.h>
++int
++main ()
++{
++
++#if BYTE_ORDER != BIG_ENDIAN
++  not big endian
++#endif
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  krb_cv_c_bigendian=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++krb_cv_c_bigendian=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++  else
++    if test "$cross_compiling" = yes; then
++  { { echo "$as_me:$LINENO: error: specify either --enable-bigendian or --enable-littleendian" >&5
++echo "$as_me: error: specify either --enable-bigendian or --enable-littleendian" >&2;}
++   { (exit 1); exit 1; }; }
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++main () {
++      /* Are we little or big endian?  From Harbison&Steele.  */
++      union
++      {
++	long l;
++	char c[sizeof (long)];
++    } u;
++    u.l = 1;
++    exit (u.c[sizeof (long) - 1] == 1);
++  }
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  krb_cv_c_bigendian=no
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
+ sed 's/^/| /' conftest.$ac_ext >&5
+ 
+ ( exit $ac_status )
+@@ -45023,8 +45928,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -45111,8 +46015,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -45212,8 +46115,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -45383,8 +46285,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -45484,8 +46385,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -45640,9 +46540,13 @@
+ fi
+ 
+ 
+-echo "$as_me:$LINENO: checking for X" >&5
++
++
++if test "x$ac_path_x_has_been_run" != xyes; then
++  echo "$as_me:$LINENO: checking for X" >&5
+ echo $ECHO_N "checking for X... $ECHO_C" >&6
+ 
++ac_path_x_has_been_run=yes
+ 
+ # Check whether --with-x or --without-x was given.
+ if test "${with_x+set}" = set; then
+@@ -45735,7 +46639,7 @@
+ /usr/openwin/share/include'
+ 
+ if test "$ac_x_includes" = no; then
+-  # Guess where to find include files, by looking for Intrinsic.h.
++  # Guess where to find include files, by looking for a specified header file.
+   # First, try using that file with no special directory specified.
+   cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h.  */
+@@ -45809,8 +46713,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -45870,11 +46773,15 @@
+   # Update the cache value to reflect the command line values.
+   ac_cv_have_x="have_x=yes \
+ 		ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
+-  echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
+-echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
++  # It might be that x_includes is empty (headers are found in the
++  # standard search path. Then output the corresponding message
++  ac_out_x_includes=$x_includes
++  test "x$x_includes" = x && ac_out_x_includes="in standard search path"
++  echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
++echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
+ fi
+ 
+-
++fi
+ if test "$no_x" = yes; then
+   # Not all programs may use this symbol, but it does not hurt to define it.
+ 
+@@ -45922,8 +46829,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -45974,8 +46880,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -46051,8 +46956,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -46107,8 +47011,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -46176,8 +47079,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -46285,8 +47187,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -46350,8 +47251,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -46419,8 +47319,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -46524,8 +47423,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -46589,8 +47487,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -46687,8 +47584,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -46752,8 +47648,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -46850,8 +47745,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -46915,8 +47809,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -46995,8 +47888,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -47138,10 +48030,6 @@
+ save_LDFLAGS="$LDFLAGS"
+ LDFLAGS="$LDFLAGS $X_LIBS"
+ 
+-## check for XauWriteAuth first, so we detect the case where
+-## XauReadAuth is in -lX11, but XauWriteAuth is only in -lXau this
+-## could be done by checking for XauReadAuth in -lXau first, but this
+-## breaks in IRIX 6.5
+ 
+ 
+ 
+@@ -47187,8 +48075,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -47288,8 +48175,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -47407,8 +48293,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -47508,8 +48393,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -47626,8 +48510,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -47727,8 +48610,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -47802,8 +48684,6 @@
+ 
+ LIBS="$ac_xxx"
+ 
+-## set LIB_XauReadAuth to union of these tests, since this is what the
+-## Makefiles are using
+ case "$ac_cv_funclib_XauWriteAuth" in
+ yes)	;;
+ no)	;;
+@@ -47926,8 +48806,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -47990,8 +48869,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -48135,8 +49013,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -48195,8 +49072,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -48269,8 +49145,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -48332,8 +49207,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -48398,8 +49272,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -48666,8 +49539,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -48842,8 +49714,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -48943,8 +49814,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -49060,8 +49930,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -49161,8 +50030,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -49278,8 +50146,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -49379,8 +50246,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -49496,8 +50362,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -49597,8 +50462,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -49797,8 +50661,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -49866,8 +50729,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -50051,8 +50913,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -50297,8 +51158,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -50484,8 +51344,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -50564,8 +51423,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -50665,8 +51523,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -50870,8 +51727,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -50938,8 +51794,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -51005,8 +51860,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -51072,8 +51926,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -51139,8 +51992,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -51206,8 +52058,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -51273,8 +52124,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -51340,8 +52190,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -51407,8 +52256,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -51492,8 +52340,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -51573,8 +52420,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -51654,8 +52500,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -51735,8 +52580,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -51816,8 +52660,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -51897,8 +52740,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -51978,8 +52820,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -52059,8 +52900,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -52140,8 +52980,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -52221,8 +53060,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -52302,8 +53140,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -52383,8 +53220,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -52462,8 +53298,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -52563,8 +53398,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -52668,8 +53502,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -52709,8 +53542,10 @@
+ 	:
+ elif test "$ac_cv_func_el_init" = yes; then
+ 	ac_foo=yes
++	DIR_readline="editline"
+ 	LIB_readline="\$(top_builddir)/lib/editline/libel_compat.la \$(LIB_el_init) \$(LIB_tgetent)"
+ else
++	DIR_readline="editline"
+ 	LIB_readline="\$(top_builddir)/lib/editline/libeditline.la \$(LIB_tgetent)"
+ fi
+ 
+@@ -52833,8 +53668,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -53101,8 +53935,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -53377,6 +54210,13 @@
+ Usually this means the macro was only invoked conditionally." >&2;}
+    { (exit 1); exit 1; }; }
+ fi
++if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
+ if test -z "${KRB4_TRUE}" && test -z "${KRB4_FALSE}"; then
+   { { echo "$as_me:$LINENO: error: conditional \"KRB4\" was never defined.
+ Usually this means the macro was only invoked conditionally." >&5
+@@ -54109,6 +54949,9 @@
+ s,@ECHO_N@,$ECHO_N,;t t
+ s,@ECHO_T@,$ECHO_T,;t t
+ s,@LIBS@,$LIBS,;t t
++s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
++s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
++s,@MAINT@,$MAINT,;t t
+ s,@CC@,$CC,;t t
+ s,@CFLAGS@,$CFLAGS,;t t
+ s,@LDFLAGS@,$LDFLAGS,;t t
+@@ -54133,13 +54976,9 @@
+ s,@STRIP@,$STRIP,;t t
+ s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
+ s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
+-s,@mkdir_p@,$mkdir_p,;t t
+ s,@AWK@,$AWK,;t t
+ s,@SET_MAKE@,$SET_MAKE,;t t
+ s,@am__leading_dot@,$am__leading_dot,;t t
+-s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
+-s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
+-s,@MAINT@,$MAINT,;t t
+ s,@build@,$build,;t t
+ s,@build_cpu@,$build_cpu,;t t
+ s,@build_vendor@,$build_vendor,;t t
+@@ -54171,8 +55010,10 @@
+ s,@WFLAGS@,$WFLAGS,;t t
+ s,@WFLAGS_NOUNUSED@,$WFLAGS_NOUNUSED,;t t
+ s,@WFLAGS_NOIMPLICITINT@,$WFLAGS_NOIMPLICITINT,;t t
++s,@DIR_openldap@,$DIR_openldap,;t t
+ s,@INCLUDE_openldap@,$INCLUDE_openldap,;t t
+ s,@LIB_openldap@,$LIB_openldap,;t t
++s,@DIR_krb4@,$DIR_krb4,;t t
+ s,@INCLUDE_krb4@,$INCLUDE_krb4,;t t
+ s,@LIB_krb4@,$LIB_krb4,;t t
+ s,@EXTRA_LIB45@,$EXTRA_LIB45,;t t
+@@ -54212,6 +55053,10 @@
+ s,@HAVE_NDBM_FALSE@,$HAVE_NDBM_FALSE,;t t
+ s,@DBLIB@,$DBLIB,;t t
+ s,@LIB_NDBM@,$LIB_NDBM,;t t
++s,@LIB_crypt@,$LIB_crypt,;t t
++s,@LIB_roken@,$LIB_roken,;t t
++s,@DIR_roken@,$DIR_roken,;t t
++s,@CPPFLAGS_roken@,$CPPFLAGS_roken,;t t
+ s,@VOID_RETSIGTYPE@,$VOID_RETSIGTYPE,;t t
+ s,@have_err_h_TRUE@,$have_err_h_TRUE,;t t
+ s,@have_err_h_FALSE@,$have_err_h_FALSE,;t t
+@@ -54241,11 +55086,6 @@
+ s,@LIB_getnameinfo@,$LIB_getnameinfo,;t t
+ s,@LIB_freeaddrinfo@,$LIB_freeaddrinfo,;t t
+ s,@LIB_gai_strerror@,$LIB_gai_strerror,;t t
+-s,@LIB_crypt@,$LIB_crypt,;t t
+-s,@DIR_roken@,$DIR_roken,;t t
+-s,@LIB_roken@,$LIB_roken,;t t
+-s,@INCLUDES_roken@,$INCLUDES_roken,;t t
+-s,@LIB_otp@,$LIB_otp,;t t
+ s,@OTP_TRUE@,$OTP_TRUE,;t t
+ s,@OTP_FALSE@,$OTP_FALSE,;t t
+ s,@LIB_security@,$LIB_security,;t t
+@@ -54255,10 +55095,21 @@
+ s,@CATMAN_TRUE@,$CATMAN_TRUE,;t t
+ s,@CATMAN_FALSE@,$CATMAN_FALSE,;t t
+ s,@CATMANEXT@,$CATMANEXT,;t t
++s,@DIR_readline@,$DIR_readline,;t t
+ s,@INCLUDE_readline@,$INCLUDE_readline,;t t
+ s,@LIB_readline@,$LIB_readline,;t t
++s,@DIR_hesiod@,$DIR_hesiod,;t t
+ s,@INCLUDE_hesiod@,$INCLUDE_hesiod,;t t
+ s,@LIB_hesiod@,$LIB_hesiod,;t t
++s,@DIR_sl@,$DIR_sl,;t t
++s,@INCLUDE_sl@,$INCLUDE_sl,;t t
++s,@LIB_sl@,$LIB_sl,;t t
++s,@DIR_ss@,$DIR_ss,;t t
++s,@INCLUDE_ss@,$INCLUDE_ss,;t t
++s,@LIB_ss@,$LIB_ss,;t t
++s,@DIR_otp@,$DIR_otp,;t t
++s,@INCLUDE_otp@,$INCLUDE_otp,;t t
++s,@LIB_otp@,$LIB_otp,;t t
+ s,@AIX_TRUE@,$AIX_TRUE,;t t
+ s,@AIX_FALSE@,$AIX_FALSE,;t t
+ s,@AIX4_TRUE@,$AIX4_TRUE,;t t
+@@ -54464,11 +55315,6 @@
+   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
+   esac
+ 
+-  if test x"$ac_file" != x-; then
+-    { echo "$as_me:$LINENO: creating $ac_file" >&5
+-echo "$as_me: creating $ac_file" >&6;}
+-    rm -f "$ac_file"
+-  fi
+   # Let's still pretend it is `configure' which instantiates (i.e., don't
+   # use $as_me), people would be surprised to read:
+   #    /* config.h.  Generated by config.status.  */
+@@ -54507,6 +55353,12 @@
+ 	 fi;;
+       esac
+     done` || { (exit 1); exit 1; }
++
++  if test x"$ac_file" != x-; then
++    { echo "$as_me:$LINENO: creating $ac_file" >&5
++echo "$as_me: creating $ac_file" >&6;}
++    rm -f "$ac_file"
++  fi
+ _ACEOF
+ cat >>$CONFIG_STATUS <<_ACEOF
+   sed "$ac_vpsub
+diff -ruN heimdal-0.6.3-old/doc/Makefile.in heimdal-0.6.3/doc/Makefile.in
+--- heimdal-0.6.3-old/doc/Makefile.in	2004-09-13 22:29:11.000000000 +1000
++++ heimdal-0.6.3/doc/Makefile.in	2004-09-14 08:39:50.000000000 +1000
+@@ -1,8 +1,8 @@
+-# Makefile.in generated by automake 1.8.3 from Makefile.am.
++# Makefile.in generated by automake 1.7.9 from Makefile.am.
+ # @configure_input@
+ 
+-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+-# 2003, 2004  Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
++# 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.
+@@ -19,6 +19,7 @@
+ # $Id: Makefile.am.common,v 1.5 2002/05/19 18:35:37 joda Exp $
+ 
+ # $Id: Makefile.am.common,v 1.37.2.2 2003/10/13 13:15:39 joda Exp $
++
+ srcdir = @srcdir@
+ top_srcdir = @top_srcdir@
+ VPATH = @srcdir@
+@@ -26,6 +27,7 @@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+ top_builddir = ..
++
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+ INSTALL = @INSTALL@
+ install_sh_DATA = $(install_sh) -c -m 644
+@@ -40,72 +42,6 @@
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+ host_triplet = @host@
+-DIST_COMMON = $(heimdal_TEXINFOS) $(srcdir)/Makefile.am \
+-	$(srcdir)/Makefile.in $(top_srcdir)/Makefile.am.common \
+-	$(top_srcdir)/cf/Makefile.am.common mdate-sh
+-subdir = doc
+-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+-am__aclocal_m4_deps = $(top_srcdir)/cf/aix.m4 \
+-	$(top_srcdir)/cf/auth-modules.m4 \
+-	$(top_srcdir)/cf/broken-getaddrinfo.m4 \
+-	$(top_srcdir)/cf/broken-getnameinfo.m4 \
+-	$(top_srcdir)/cf/broken-glob.m4 \
+-	$(top_srcdir)/cf/broken-realloc.m4 \
+-	$(top_srcdir)/cf/broken-snprintf.m4 $(top_srcdir)/cf/broken.m4 \
+-	$(top_srcdir)/cf/broken2.m4 $(top_srcdir)/cf/c-attribute.m4 \
+-	$(top_srcdir)/cf/capabilities.m4 \
+-	$(top_srcdir)/cf/check-compile-et.m4 \
+-	$(top_srcdir)/cf/check-declaration.m4 \
+-	$(top_srcdir)/cf/check-getpwnam_r-posix.m4 \
+-	$(top_srcdir)/cf/check-man.m4 \
+-	$(top_srcdir)/cf/check-netinet-ip-and-tcp.m4 \
+-	$(top_srcdir)/cf/check-type-extra.m4 \
+-	$(top_srcdir)/cf/check-var.m4 $(top_srcdir)/cf/check-x.m4 \
+-	$(top_srcdir)/cf/check-xau.m4 $(top_srcdir)/cf/crypto.m4 \
+-	$(top_srcdir)/cf/db.m4 $(top_srcdir)/cf/destdirs.m4 \
+-	$(top_srcdir)/cf/dlopen.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs2.m4 \
+-	$(top_srcdir)/cf/find-func.m4 \
+-	$(top_srcdir)/cf/find-if-not-broken.m4 \
+-	$(top_srcdir)/cf/have-struct-field.m4 \
+-	$(top_srcdir)/cf/have-type.m4 $(top_srcdir)/cf/irix.m4 \
+-	$(top_srcdir)/cf/krb-bigendian.m4 \
+-	$(top_srcdir)/cf/krb-func-getlogin.m4 \
+-	$(top_srcdir)/cf/krb-ipv6.m4 $(top_srcdir)/cf/krb-prog-ln-s.m4 \
+-	$(top_srcdir)/cf/krb-readline.m4 \
+-	$(top_srcdir)/cf/krb-struct-spwd.m4 \
+-	$(top_srcdir)/cf/krb-struct-winsize.m4 \
+-	$(top_srcdir)/cf/mips-abi.m4 $(top_srcdir)/cf/misc.m4 \
+-	$(top_srcdir)/cf/need-proto.m4 $(top_srcdir)/cf/osfc2.m4 \
+-	$(top_srcdir)/cf/otp.m4 $(top_srcdir)/cf/proto-compat.m4 \
+-	$(top_srcdir)/cf/retsigtype.m4 $(top_srcdir)/cf/roken-frag.m4 \
+-	$(top_srcdir)/cf/sunos.m4 $(top_srcdir)/cf/telnet.m4 \
+-	$(top_srcdir)/cf/test-package.m4 $(top_srcdir)/cf/wflags.m4 \
+-	$(top_srcdir)/cf/with-all.m4 $(top_srcdir)/configure.in
+-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+-	$(ACLOCAL_M4)
+-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = $(top_builddir)/include/config.h
+-CONFIG_CLEAN_FILES =
+-depcomp =
+-am__depfiles_maybe =
+-SOURCES =
+-DIST_SOURCES =
+-INFO_DEPS = $(srcdir)/heimdal.info
+-am__TEXINFO_TEX_DIR = $(srcdir)
+-DVIS = heimdal.dvi
+-PDFS = heimdal.pdf
+-PSS = heimdal.ps
+-HTMLS = heimdal.html
+-TEXINFOS = heimdal.texi
+-TEXI2DVI = texi2dvi
+-TEXI2PDF = $(TEXI2DVI) --pdf --batch
+-MAKEINFOHTML = $(MAKEINFO) --html
+-AM_MAKEINFOHTMLFLAGS = $(AM_MAKEINFOFLAGS)
+-DVIPS = dvips
+-am__installdirs = "$(DESTDIR)$(infodir)"
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ ACLOCAL = @ACLOCAL@
+ AIX4_FALSE = @AIX4_FALSE@
+ AIX4_TRUE = @AIX4_TRUE@
+@@ -130,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -140,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -163,12 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
++
+ INCLUDE_krb4 = @INCLUDE_krb4@
++
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
++
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -181,6 +130,7 @@
+ KRB5_TRUE = @KRB5_TRUE@
+ LDFLAGS = @LDFLAGS@
+ LEX = @LEX@
++
+ LEXLIB = @LEXLIB@
+ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+ LIBOBJS = @LIBOBJS@
+@@ -189,6 +139,7 @@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+ LIB_XauFileName = @LIB_XauFileName@
++
+ LIB_XauReadAuth = @LIB_XauReadAuth@
+ LIB_XauWriteAuth = @LIB_XauWriteAuth@
+ LIB_bswap16 = @LIB_bswap16@
+@@ -237,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -317,7 +270,6 @@
+ libexecdir = @libexecdir@
+ localstatedir = @localstatedir@
+ mandir = @mandir@
+-mkdir_p = @mkdir_p@
+ oldincludedir = @oldincludedir@
+ prefix = @prefix@
+ program_transform_name = @program_transform_name@
+@@ -325,61 +277,70 @@
+ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
++
+ SUFFIXES = .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8
++
+ INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken)
++
+ @do_roken_rename_TRUE@ROKEN_RENAME = -DROKEN_RENAME
++
+ AM_CFLAGS = $(WFLAGS)
++
+ CP = cp
++
+ buildinclude = $(top_builddir)/include
+ LIB_getattr = @LIB_getattr@
+ LIB_getpwent_r = @LIB_getpwent_r@
+ LIB_odm_initialize = @LIB_odm_initialize@
+ LIB_setpcred = @LIB_setpcred@
++
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
++
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
++
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++
+ @KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
+ @KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+ 
+ @KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
++
+ @DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
++
+ AUTOMAKE_OPTIONS = no-texinfo.tex
++
+ info_TEXINFOS = heimdal.texi
+ heimdal_TEXINFOS = intro.texi install.texi setup.texi kerberos4.texi
++subdir = doc
++ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
++mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++depcomp =
++am__depfiles_maybe =
++DIST_SOURCES =
++am__TEXINFO_TEX_DIR = $(srcdir)
++INFO_DEPS = heimdal.info
++DVIS = heimdal.dvi
++PDFS = heimdal.pdf
++PSS = heimdal.ps
++TEXINFOS = heimdal.texi
++DIST_COMMON = $(heimdal_TEXINFOS) $(srcdir)/Makefile.in \
++	$(top_srcdir)/Makefile.am.common \
++	$(top_srcdir)/cf/Makefile.am.common Makefile.am mdate-sh
+ all: all-am
+ 
+ .SUFFIXES:
+-.SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .dvi .html .info .pdf .ps .texi
+-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(am__configure_deps)
+-	@for dep in $?; do \
+-	  case '$(am__configure_deps)' in \
+-	    *$$dep*) \
+-	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+-		&& exit 0; \
+-	      exit 1;; \
+-	  esac; \
+-	done; \
+-	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  --ignore-deps doc/Makefile'; \
++.SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .dvi .info .pdf .ps .texi
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+-	  $(AUTOMAKE) --foreign  --ignore-deps doc/Makefile
+-.PRECIOUS: Makefile
+-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+-	@case '$?' in \
+-	  *config.status*) \
+-	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+-	  *) \
+-	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+-	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+-	esac;
+-
+-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-
+-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
++	  $(AUTOMAKE) --foreign  doc/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+ 
+ mostlyclean-libtool:
+ 	-rm -f *.lo
+@@ -391,49 +352,26 @@
+ 	-rm -f libtool
+ 
+ .texi.info:
+-	restore=: && \
+-	backupdir="$(am__leading_dot)am$$$$" && \
+-	am__cwd=`pwd` && cd $(srcdir) && \
+-	rm -rf $$backupdir && mkdir $$backupdir && \
+-	for f in $@ $@-[0-9] $@-[0-9][0-9] $(@:.info=).i[0-9] $(@:.info=).i[0-9][0-9]; do \
+-	  if test -f $$f; then \
+-	    mv $$f $$backupdir; \
+-	    restore=mv; \
+-	  fi; \
+-	done; \
+-	cd "$$am__cwd"; \
+-	if $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \
+-	 -o $@ $<; \
+-	then \
+-	  rc=0; \
+-	  cd $(srcdir); \
+-	else \
+-	  rc=$$?; \
+-	  cd $(srcdir) && \
+-	  $$restore $$backupdir/* `echo "./$@" | sed 's|[^/]*$$||'`; \
+-	fi; \
+-	rm -rf $$backupdir; \
+-	exit $$rc
++	@rm -f $@ $@-[0-9] $@-[0-9][0-9] $(@:.info=).i[0-9] $(@:.info=).i[0-9][0-9]
++	$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \
++	 -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ .texi.dvi:
+ 	TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
+ 	MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
+-	$(TEXI2DVI) $<
++	$(TEXI2DVI) `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ .texi.pdf:
+ 	TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
+ 	MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
+-	$(TEXI2PDF) $<
+-
+-.texi.html:
+-	$(MAKEINFOHTML) $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \
+-	 -o $@ $<
+-	if test ! -d $@ && test -d $(@:.html=); then \
+-	  mv $(@:.html=) $@; else :; fi
+-$(srcdir)/heimdal.info: heimdal.texi $(heimdal_TEXINFOS)
++	$(TEXI2PDF) `test -f '$<' || echo '$(srcdir)/'`$<
++heimdal.info: heimdal.texi $(heimdal_TEXINFOS)
+ heimdal.dvi: heimdal.texi $(heimdal_TEXINFOS)
+ heimdal.pdf: heimdal.texi $(heimdal_TEXINFOS)
+-heimdal.html: heimdal.texi $(heimdal_TEXINFOS)
++TEXI2DVI = texi2dvi
++
++TEXI2PDF = $(TEXI2DVI) --pdf --batch
++DVIPS = dvips
+ .dvi.ps:
+ 	$(DVIPS) -o $@ $<
+ 
+@@ -444,8 +382,8 @@
+ 	  list='$(INFO_DEPS)'; \
+ 	  for file in $$list; do \
+ 	    relfile=`echo "$$file" | sed 's|^.*/||'`; \
+-	    echo " install-info --info-dir='$(DESTDIR)$(infodir)' --remove '$(DESTDIR)$(infodir)/$$relfile'"; \
+-	    install-info --info-dir="$(DESTDIR)$(infodir)" --remove "$(DESTDIR)$(infodir)/$$relfile"; \
++	    echo " install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$relfile"; \
++	    install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$relfile; \
+ 	  done; \
+ 	else :; fi
+ 	@$(NORMAL_UNINSTALL)
+@@ -453,19 +391,15 @@
+ 	for file in $$list; do \
+ 	  relfile=`echo "$$file" | sed 's|^.*/||'`; \
+ 	  relfile_i=`echo "$$relfile" | sed 's|\.info$$||;s|$$|.i|'`; \
+-	  (if cd "$(DESTDIR)$(infodir)"; then \
++	  (if cd $(DESTDIR)$(infodir); then \
+ 	     echo " rm -f $$relfile $$relfile-[0-9] $$relfile-[0-9][0-9] $$relfile_i[0-9] $$relfile_i[0-9][0-9])"; \
+ 	     rm -f $$relfile $$relfile-[0-9] $$relfile-[0-9][0-9] $$relfile_i[0-9] $$relfile_i[0-9][0-9]; \
+ 	   else :; fi); \
+ 	done
+ 
+ dist-info: $(INFO_DEPS)
+-	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ 	list='$(INFO_DEPS)'; \
+ 	for base in $$list; do \
+-	  case $$base in \
+-	    $(srcdir)/*) base=`echo "$$base" | sed "s|^$$srcdirstrip/||"`;; \
+-	  esac; \
+ 	  if test -f $$base; then d=.; else d=$(srcdir); fi; \
+ 	  for file in $$d/$$base*; do \
+ 	    relfile=`expr "$$file" : "$$d/\(.*\)"`; \
+@@ -475,10 +409,10 @@
+ 	done
+ 
+ mostlyclean-aminfo:
+-	-rm -rf heimdal.aux heimdal.cp heimdal.cps heimdal.fn heimdal.fns heimdal.ky \
++	-rm -f heimdal.aux heimdal.cp heimdal.cps heimdal.fn heimdal.fns heimdal.ky \
+ 	  heimdal.kys heimdal.log heimdal.pg heimdal.tmp heimdal.toc \
+ 	  heimdal.tp heimdal.tps heimdal.vr heimdal.vrs heimdal.dvi \
+-	  heimdal.pdf heimdal.ps heimdal.html
++	  heimdal.pdf heimdal.ps
+ 
+ maintainer-clean-aminfo:
+ 	@list='$(INFO_DEPS)'; for i in $$list; do \
+@@ -492,9 +426,13 @@
+ ctags: CTAGS
+ CTAGS:
+ 
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++
++top_distdir = ..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	$(mkdir_p) $(distdir)/.. $(distdir)/../cf
++	$(mkinstalldirs) $(distdir)/.. $(distdir)/../cf
+ 	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ 	list='$(DISTFILES)'; for file in $$list; do \
+@@ -506,7 +444,7 @@
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ 	    dir="/$$dir"; \
+-	    $(mkdir_p) "$(distdir)$$dir"; \
++	    $(mkinstalldirs) "$(distdir)$$dir"; \
+ 	  else \
+ 	    dir=''; \
+ 	  fi; \
+@@ -528,10 +466,9 @@
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+ all-am: Makefile $(INFO_DEPS) all-local
++
+ installdirs:
+-	for dir in "$(DESTDIR)$(infodir)"; do \
+-	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
+-	done
++	$(mkinstalldirs) $(DESTDIR)$(infodir)
+ install: install-am
+ install-exec: install-exec-am
+ install-data: install-data-am
+@@ -568,10 +505,6 @@
+ 
+ dvi-am: $(DVIS)
+ 
+-html: html-am
+-
+-html-am: $(HTMLS)
+-
+ info: info-am
+ 
+ info-am: $(INFO_DEPS)
+@@ -588,21 +521,17 @@
+ 
+ install-info-am: $(INFO_DEPS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(infodir)" || $(mkdir_p) "$(DESTDIR)$(infodir)"
+-	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+-	list='$(INFO_DEPS)'; \
++	$(mkinstalldirs) $(DESTDIR)$(infodir)
++	@list='$(INFO_DEPS)'; \
+ 	for file in $$list; do \
+-	  case $$file in \
+-	    $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
+-	  esac; \
+ 	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
+ 	  file_i=`echo "$$file" | sed 's|\.info$$||;s|$$|.i|'`; \
+ 	  for ifile in $$d/$$file $$d/$$file-[0-9] $$d/$$file-[0-9][0-9] \
+                        $$d/$$file_i[0-9] $$d/$$file_i[0-9][0-9] ; do \
+ 	    if test -f $$ifile; then \
+ 	      relfile=`echo "$$ifile" | sed 's|^.*/||'`; \
+-	      echo " $(INSTALL_DATA) '$$ifile' '$(DESTDIR)$(infodir)/$$relfile'"; \
+-	      $(INSTALL_DATA) "$$ifile" "$(DESTDIR)$(infodir)/$$relfile"; \
++	      echo " $(INSTALL_DATA) $$ifile $(DESTDIR)$(infodir)/$$relfile"; \
++	      $(INSTALL_DATA) $$ifile $(DESTDIR)$(infodir)/$$relfile; \
+ 	    else : ; fi; \
+ 	  done; \
+ 	done
+@@ -612,8 +541,8 @@
+ 	  list='$(INFO_DEPS)'; \
+ 	  for file in $$list; do \
+ 	    relfile=`echo "$$file" | sed 's|^.*/||'`; \
+-	    echo " install-info --info-dir='$(DESTDIR)$(infodir)' '$(DESTDIR)$(infodir)/$$relfile'";\
+-	    install-info --info-dir="$(DESTDIR)$(infodir)" "$(DESTDIR)$(infodir)/$$relfile" || :;\
++	    echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$relfile";\
++	    install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$relfile || :;\
+ 	  done; \
+ 	else : ; fi
+ install-man:
+@@ -642,14 +571,14 @@
+ 
+ .PHONY: all all-am all-local check check-am check-local clean \
+ 	clean-generic clean-libtool dist-info distclean \
+-	distclean-generic distclean-libtool distdir dvi dvi-am html \
+-	html-am info info-am install install-am install-data \
+-	install-data-am install-exec install-exec-am install-info \
+-	install-info-am install-man install-strip installcheck \
+-	installcheck-am installdirs maintainer-clean \
+-	maintainer-clean-aminfo maintainer-clean-generic mostlyclean \
+-	mostlyclean-aminfo mostlyclean-generic mostlyclean-libtool pdf \
+-	pdf-am ps ps-am uninstall uninstall-am uninstall-info-am
++	distclean-generic distclean-libtool distdir dvi dvi-am info \
++	info-am install install-am install-data install-data-am \
++	install-exec install-exec-am install-info install-info-am \
++	install-man install-strip installcheck installcheck-am \
++	installdirs maintainer-clean maintainer-clean-aminfo \
++	maintainer-clean-generic mostlyclean mostlyclean-aminfo \
++	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
++	uninstall uninstall-am uninstall-info-am
+ 
+ 
+ install-suid-programs:
+diff -ruN heimdal-0.6.3-old/include/config.h.in heimdal-0.6.3/include/config.h.in
+--- heimdal-0.6.3-old/include/config.h.in	2004-09-13 22:27:35.000000000 +1000
++++ heimdal-0.6.3/include/config.h.in	2004-09-14 08:38:53.000000000 +1000
+@@ -1241,7 +1241,7 @@
+    *, int, int) */
+ #undef OPENLOG_PROTO_COMPATIBLE
+ 
+-/* Define if you want OTP support in applications. */
++/* Define if you have the otp package. */
+ #undef OTP
+ 
+ /* Name of package */
+@@ -1277,6 +1277,12 @@
+ /* path to sbin */
+ #undef SBINDIR
+ 
++/* Define if you have the sl package. */
++#undef SL
++
++/* Define if you have the ss package. */
++#undef SS
++
+ /* Define to 1 if you have the ANSI C header files. */
+ #undef STDC_HEADERS
+ 
+diff -ruN heimdal-0.6.3-old/include/kadm5/Makefile.in heimdal-0.6.3/include/kadm5/Makefile.in
+--- heimdal-0.6.3-old/include/kadm5/Makefile.in	2004-09-13 22:29:12.000000000 +1000
++++ heimdal-0.6.3/include/kadm5/Makefile.in	2004-09-14 08:39:51.000000000 +1000
+@@ -1,8 +1,8 @@
+-# Makefile.in generated by automake 1.8.3 from Makefile.am.
++# Makefile.in generated by automake 1.7.9 from Makefile.am.
+ # @configure_input@
+ 
+-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+-# 2003, 2004  Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
++# 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.
+@@ -19,6 +19,7 @@
+ # $Id: Makefile.am.common,v 1.5 2002/05/19 18:35:37 joda Exp $
+ 
+ # $Id: Makefile.am.common,v 1.37.2.2 2003/10/13 13:15:39 joda Exp $
++
+ srcdir = @srcdir@
+ top_srcdir = @top_srcdir@
+ VPATH = @srcdir@
+@@ -26,6 +27,7 @@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+ top_builddir = ../..
++
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+ INSTALL = @INSTALL@
+ install_sh_DATA = $(install_sh) -c -m 644
+@@ -40,59 +42,6 @@
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+ host_triplet = @host@
+-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+-	$(top_srcdir)/Makefile.am.common \
+-	$(top_srcdir)/cf/Makefile.am.common
+-subdir = include/kadm5
+-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+-am__aclocal_m4_deps = $(top_srcdir)/cf/aix.m4 \
+-	$(top_srcdir)/cf/auth-modules.m4 \
+-	$(top_srcdir)/cf/broken-getaddrinfo.m4 \
+-	$(top_srcdir)/cf/broken-getnameinfo.m4 \
+-	$(top_srcdir)/cf/broken-glob.m4 \
+-	$(top_srcdir)/cf/broken-realloc.m4 \
+-	$(top_srcdir)/cf/broken-snprintf.m4 $(top_srcdir)/cf/broken.m4 \
+-	$(top_srcdir)/cf/broken2.m4 $(top_srcdir)/cf/c-attribute.m4 \
+-	$(top_srcdir)/cf/capabilities.m4 \
+-	$(top_srcdir)/cf/check-compile-et.m4 \
+-	$(top_srcdir)/cf/check-declaration.m4 \
+-	$(top_srcdir)/cf/check-getpwnam_r-posix.m4 \
+-	$(top_srcdir)/cf/check-man.m4 \
+-	$(top_srcdir)/cf/check-netinet-ip-and-tcp.m4 \
+-	$(top_srcdir)/cf/check-type-extra.m4 \
+-	$(top_srcdir)/cf/check-var.m4 $(top_srcdir)/cf/check-x.m4 \
+-	$(top_srcdir)/cf/check-xau.m4 $(top_srcdir)/cf/crypto.m4 \
+-	$(top_srcdir)/cf/db.m4 $(top_srcdir)/cf/destdirs.m4 \
+-	$(top_srcdir)/cf/dlopen.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs2.m4 \
+-	$(top_srcdir)/cf/find-func.m4 \
+-	$(top_srcdir)/cf/find-if-not-broken.m4 \
+-	$(top_srcdir)/cf/have-struct-field.m4 \
+-	$(top_srcdir)/cf/have-type.m4 $(top_srcdir)/cf/irix.m4 \
+-	$(top_srcdir)/cf/krb-bigendian.m4 \
+-	$(top_srcdir)/cf/krb-func-getlogin.m4 \
+-	$(top_srcdir)/cf/krb-ipv6.m4 $(top_srcdir)/cf/krb-prog-ln-s.m4 \
+-	$(top_srcdir)/cf/krb-readline.m4 \
+-	$(top_srcdir)/cf/krb-struct-spwd.m4 \
+-	$(top_srcdir)/cf/krb-struct-winsize.m4 \
+-	$(top_srcdir)/cf/mips-abi.m4 $(top_srcdir)/cf/misc.m4 \
+-	$(top_srcdir)/cf/need-proto.m4 $(top_srcdir)/cf/osfc2.m4 \
+-	$(top_srcdir)/cf/otp.m4 $(top_srcdir)/cf/proto-compat.m4 \
+-	$(top_srcdir)/cf/retsigtype.m4 $(top_srcdir)/cf/roken-frag.m4 \
+-	$(top_srcdir)/cf/sunos.m4 $(top_srcdir)/cf/telnet.m4 \
+-	$(top_srcdir)/cf/test-package.m4 $(top_srcdir)/cf/wflags.m4 \
+-	$(top_srcdir)/cf/with-all.m4 $(top_srcdir)/configure.in
+-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+-	$(ACLOCAL_M4)
+-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = $(top_builddir)/include/config.h
+-CONFIG_CLEAN_FILES =
+-depcomp =
+-am__depfiles_maybe =
+-SOURCES =
+-DIST_SOURCES =
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ ACLOCAL = @ACLOCAL@
+ AIX4_FALSE = @AIX4_FALSE@
+ AIX4_TRUE = @AIX4_TRUE@
+@@ -117,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -127,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -150,12 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
++
+ INCLUDE_krb4 = @INCLUDE_krb4@
++
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
++
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -168,6 +130,7 @@
+ KRB5_TRUE = @KRB5_TRUE@
+ LDFLAGS = @LDFLAGS@
+ LEX = @LEX@
++
+ LEXLIB = @LEXLIB@
+ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+ LIBOBJS = @LIBOBJS@
+@@ -176,6 +139,7 @@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+ LIB_XauFileName = @LIB_XauFileName@
++
+ LIB_XauReadAuth = @LIB_XauReadAuth@
+ LIB_XauWriteAuth = @LIB_XauWriteAuth@
+ LIB_bswap16 = @LIB_bswap16@
+@@ -224,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -304,7 +270,6 @@
+ libexecdir = @libexecdir@
+ localstatedir = @localstatedir@
+ mandir = @mandir@
+-mkdir_p = @mkdir_p@
+ oldincludedir = @oldincludedir@
+ prefix = @prefix@
+ program_transform_name = @program_transform_name@
+@@ -312,59 +277,60 @@
+ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
++
+ SUFFIXES = .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8
++
+ INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken)
++
+ @do_roken_rename_TRUE@ROKEN_RENAME = -DROKEN_RENAME
++
+ AM_CFLAGS = $(WFLAGS)
++
+ CP = cp
++
+ buildinclude = $(top_builddir)/include
+ LIB_getattr = @LIB_getattr@
+ LIB_getpwent_r = @LIB_getpwent_r@
+ LIB_odm_initialize = @LIB_odm_initialize@
+ LIB_setpcred = @LIB_setpcred@
++
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
++
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
++
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++
+ @KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
+ @KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+ 
+ @KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
++
+ @DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
++
+ CLEANFILES = admin.h kadm5_err.h private.h
++subdir = include/kadm5
++ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
++mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++depcomp =
++am__depfiles_maybe =
++DIST_SOURCES =
++DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/Makefile.am.common \
++	$(top_srcdir)/cf/Makefile.am.common Makefile.am
+ all: all-am
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c
+-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(am__configure_deps)
+-	@for dep in $?; do \
+-	  case '$(am__configure_deps)' in \
+-	    *$$dep*) \
+-	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+-		&& exit 0; \
+-	      exit 1;; \
+-	  esac; \
+-	done; \
+-	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  --ignore-deps include/kadm5/Makefile'; \
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+-	  $(AUTOMAKE) --foreign  --ignore-deps include/kadm5/Makefile
+-.PRECIOUS: Makefile
+-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+-	@case '$?' in \
+-	  *config.status*) \
+-	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+-	  *) \
+-	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+-	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+-	esac;
+-
+-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-
+-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
++	  $(AUTOMAKE) --foreign  include/kadm5/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+ 
+ mostlyclean-libtool:
+ 	-rm -f *.lo
+@@ -381,9 +347,13 @@
+ ctags: CTAGS
+ CTAGS:
+ 
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	$(mkdir_p) $(distdir)/../.. $(distdir)/../../cf
++	$(mkinstalldirs) $(distdir)/../.. $(distdir)/../../cf
+ 	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ 	list='$(DISTFILES)'; for file in $$list; do \
+@@ -395,7 +365,7 @@
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ 	    dir="/$$dir"; \
+-	    $(mkdir_p) "$(distdir)$$dir"; \
++	    $(mkinstalldirs) "$(distdir)$$dir"; \
+ 	  else \
+ 	    dir=''; \
+ 	  fi; \
+@@ -417,6 +387,7 @@
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+ all-am: Makefile all-local
++
+ installdirs:
+ install: install-am
+ install-exec: install-exec-am
+@@ -455,8 +426,6 @@
+ 
+ dvi-am:
+ 
+-html: html-am
+-
+ info: info-am
+ 
+ info-am:
+@@ -495,8 +464,8 @@
+ 
+ .PHONY: all all-am all-local check check-am check-local clean \
+ 	clean-generic clean-libtool distclean distclean-generic \
+-	distclean-libtool distdir dvi dvi-am html html-am info info-am \
+-	install install-am install-data install-data-am install-exec \
++	distclean-libtool distdir dvi dvi-am info info-am install \
++	install-am install-data install-data-am install-exec \
+ 	install-exec-am install-info install-info-am install-man \
+ 	install-strip installcheck installcheck-am installdirs \
+ 	maintainer-clean maintainer-clean-generic mostlyclean \
+diff -ruN heimdal-0.6.3-old/include/Makefile.in heimdal-0.6.3/include/Makefile.in
+--- heimdal-0.6.3-old/include/Makefile.in	2004-09-13 22:29:11.000000000 +1000
++++ heimdal-0.6.3/include/Makefile.in	2004-09-14 08:39:51.000000000 +1000
+@@ -1,8 +1,8 @@
+-# Makefile.in generated by automake 1.8.3 from Makefile.am.
++# Makefile.in generated by automake 1.7.9 from Makefile.am.
+ # @configure_input@
+ 
+-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+-# 2003, 2004  Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
++# 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.
+@@ -20,9 +20,6 @@
+ 
+ # $Id: Makefile.am.common,v 1.37.2.2 2003/10/13 13:15:39 joda Exp $
+ 
+-
+-SOURCES = bits.c make_crypto.c
+-
+ srcdir = @srcdir@
+ top_srcdir = @top_srcdir@
+ VPATH = @srcdir@
+@@ -30,6 +27,7 @@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+ top_builddir = ..
++
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+ INSTALL = @INSTALL@
+ install_sh_DATA = $(install_sh) -c -m 644
+@@ -44,89 +42,6 @@
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+ host_triplet = @host@
+-DIST_COMMON = $(include_HEADERS) $(noinst_HEADERS) \
+-	$(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+-	$(srcdir)/config.h.in $(top_srcdir)/Makefile.am.common \
+-	$(top_srcdir)/cf/Makefile.am.common
+-noinst_PROGRAMS = bits$(EXEEXT) make_crypto$(EXEEXT)
+-subdir = include
+-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+-am__aclocal_m4_deps = $(top_srcdir)/cf/aix.m4 \
+-	$(top_srcdir)/cf/auth-modules.m4 \
+-	$(top_srcdir)/cf/broken-getaddrinfo.m4 \
+-	$(top_srcdir)/cf/broken-getnameinfo.m4 \
+-	$(top_srcdir)/cf/broken-glob.m4 \
+-	$(top_srcdir)/cf/broken-realloc.m4 \
+-	$(top_srcdir)/cf/broken-snprintf.m4 $(top_srcdir)/cf/broken.m4 \
+-	$(top_srcdir)/cf/broken2.m4 $(top_srcdir)/cf/c-attribute.m4 \
+-	$(top_srcdir)/cf/capabilities.m4 \
+-	$(top_srcdir)/cf/check-compile-et.m4 \
+-	$(top_srcdir)/cf/check-declaration.m4 \
+-	$(top_srcdir)/cf/check-getpwnam_r-posix.m4 \
+-	$(top_srcdir)/cf/check-man.m4 \
+-	$(top_srcdir)/cf/check-netinet-ip-and-tcp.m4 \
+-	$(top_srcdir)/cf/check-type-extra.m4 \
+-	$(top_srcdir)/cf/check-var.m4 $(top_srcdir)/cf/check-x.m4 \
+-	$(top_srcdir)/cf/check-xau.m4 $(top_srcdir)/cf/crypto.m4 \
+-	$(top_srcdir)/cf/db.m4 $(top_srcdir)/cf/destdirs.m4 \
+-	$(top_srcdir)/cf/dlopen.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs2.m4 \
+-	$(top_srcdir)/cf/find-func.m4 \
+-	$(top_srcdir)/cf/find-if-not-broken.m4 \
+-	$(top_srcdir)/cf/have-struct-field.m4 \
+-	$(top_srcdir)/cf/have-type.m4 $(top_srcdir)/cf/irix.m4 \
+-	$(top_srcdir)/cf/krb-bigendian.m4 \
+-	$(top_srcdir)/cf/krb-func-getlogin.m4 \
+-	$(top_srcdir)/cf/krb-ipv6.m4 $(top_srcdir)/cf/krb-prog-ln-s.m4 \
+-	$(top_srcdir)/cf/krb-readline.m4 \
+-	$(top_srcdir)/cf/krb-struct-spwd.m4 \
+-	$(top_srcdir)/cf/krb-struct-winsize.m4 \
+-	$(top_srcdir)/cf/mips-abi.m4 $(top_srcdir)/cf/misc.m4 \
+-	$(top_srcdir)/cf/need-proto.m4 $(top_srcdir)/cf/osfc2.m4 \
+-	$(top_srcdir)/cf/otp.m4 $(top_srcdir)/cf/proto-compat.m4 \
+-	$(top_srcdir)/cf/retsigtype.m4 $(top_srcdir)/cf/roken-frag.m4 \
+-	$(top_srcdir)/cf/sunos.m4 $(top_srcdir)/cf/telnet.m4 \
+-	$(top_srcdir)/cf/test-package.m4 $(top_srcdir)/cf/wflags.m4 \
+-	$(top_srcdir)/cf/with-all.m4 $(top_srcdir)/configure.in
+-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+-	$(ACLOCAL_M4)
+-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = config.h
+-CONFIG_CLEAN_FILES =
+-PROGRAMS = $(noinst_PROGRAMS)
+-bits_SOURCES = bits.c
+-bits_OBJECTS = bits.$(OBJEXT)
+-bits_LDADD = $(LDADD)
+-make_crypto_SOURCES = make_crypto.c
+-make_crypto_OBJECTS = make_crypto.$(OBJEXT)
+-make_crypto_LDADD = $(LDADD)
+-DEFAULT_INCLUDES = -I. -I$(srcdir) -I.
+-depcomp =
+-am__depfiles_maybe =
+-COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+-	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) \
+-	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+-	$(AM_CFLAGS) $(CFLAGS)
+-CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+-	$(AM_LDFLAGS) $(LDFLAGS) -o $@
+-SOURCES = bits.c make_crypto.c
+-DIST_SOURCES = bits.c make_crypto.c
+-RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
+-	html-recursive info-recursive install-data-recursive \
+-	install-exec-recursive install-info-recursive \
+-	install-recursive installcheck-recursive installdirs-recursive \
+-	pdf-recursive ps-recursive uninstall-info-recursive \
+-	uninstall-recursive
+-am__installdirs = "$(DESTDIR)$(includedir)"
+-includeHEADERS_INSTALL = $(INSTALL_HEADER)
+-HEADERS = $(include_HEADERS) $(noinst_HEADERS)
+-ETAGS = etags
+-CTAGS = ctags
+-DIST_SUBDIRS = $(SUBDIRS)
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ ACLOCAL = @ACLOCAL@
+ AIX4_FALSE = @AIX4_FALSE@
+ AIX4_TRUE = @AIX4_TRUE@
+@@ -151,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -161,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -184,12 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
++
+ INCLUDE_krb4 = @INCLUDE_krb4@
++
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
++
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -202,6 +130,7 @@
+ KRB5_TRUE = @KRB5_TRUE@
+ LDFLAGS = @LDFLAGS@
+ LEX = @LEX@
++
+ LEXLIB = @LEXLIB@
+ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+ LIBOBJS = @LIBOBJS@
+@@ -210,6 +139,7 @@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+ LIB_XauFileName = @LIB_XauFileName@
++
+ LIB_XauReadAuth = @LIB_XauReadAuth@
+ LIB_XauWriteAuth = @LIB_XauWriteAuth@
+ LIB_bswap16 = @LIB_bswap16@
+@@ -258,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -338,7 +270,6 @@
+ libexecdir = @libexecdir@
+ localstatedir = @localstatedir@
+ mandir = @mandir@
+-mkdir_p = @mkdir_p@
+ oldincludedir = @oldincludedir@
+ prefix = @prefix@
+ program_transform_name = @program_transform_name@
+@@ -346,29 +277,48 @@
+ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
++
+ SUFFIXES = .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8
++
+ INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) -DHOST=\"$(CANONICAL_HOST)\"
++
+ @do_roken_rename_TRUE@ROKEN_RENAME = -DROKEN_RENAME
++
+ AM_CFLAGS = $(WFLAGS)
++
+ CP = cp
++
+ buildinclude = $(top_builddir)/include
+ LIB_getattr = @LIB_getattr@
+ LIB_getpwent_r = @LIB_getpwent_r@
+ LIB_odm_initialize = @LIB_odm_initialize@
+ LIB_setpcred = @LIB_setpcred@
++
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
++
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
++
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++
+ @KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
+ @KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+ 
+ @KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
++
+ @DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
++
+ SUBDIRS = kadm5
++
++noinst_PROGRAMS = bits make_crypto
+ CHECK_LOCAL = 
++
+ include_HEADERS = krb5-types.h
+ noinst_HEADERS = crypto-headers.h
++
+ CLEANFILES = \
+ 	asn1.h		\
+ 	asn1_err.h	\
+@@ -406,40 +356,60 @@
+ 	sl.h		\
+ 	xdbm.h
+ 
++subdir = include
++ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
++mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
++CONFIG_HEADER = config.h
++CONFIG_CLEAN_FILES =
++noinst_PROGRAMS = bits$(EXEEXT) make_crypto$(EXEEXT)
++PROGRAMS = $(noinst_PROGRAMS)
++
++bits_SOURCES = bits.c
++bits_OBJECTS = bits.$(OBJEXT)
++bits_LDADD = $(LDADD)
++bits_DEPENDENCIES =
++bits_LDFLAGS =
++make_crypto_SOURCES = make_crypto.c
++make_crypto_OBJECTS = make_crypto.$(OBJEXT)
++make_crypto_LDADD = $(LDADD)
++make_crypto_DEPENDENCIES =
++make_crypto_LDFLAGS =
++
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I.
++depcomp =
++am__depfiles_maybe =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++CCLD = $(CC)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++DIST_SOURCES = bits.c make_crypto.c
++HEADERS = $(include_HEADERS) $(noinst_HEADERS)
++
++
++RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \
++	ps-recursive install-info-recursive uninstall-info-recursive \
++	all-recursive install-data-recursive install-exec-recursive \
++	installdirs-recursive install-recursive uninstall-recursive \
++	check-recursive installcheck-recursive
++DIST_COMMON = $(include_HEADERS) $(noinst_HEADERS) \
++	$(srcdir)/Makefile.in $(top_srcdir)/Makefile.am.common \
++	$(top_srcdir)/cf/Makefile.am.common Makefile.am config.h.in
++DIST_SUBDIRS = $(SUBDIRS)
++SOURCES = bits.c make_crypto.c
++
+ all: config.h
+ 	$(MAKE) $(AM_MAKEFLAGS) all-recursive
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj
+-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(am__configure_deps)
+-	@for dep in $?; do \
+-	  case '$(am__configure_deps)' in \
+-	    *$$dep*) \
+-	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+-		&& exit 0; \
+-	      exit 1;; \
+-	  esac; \
+-	done; \
+-	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  --ignore-deps include/Makefile'; \
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+-	  $(AUTOMAKE) --foreign  --ignore-deps include/Makefile
+-.PRECIOUS: Makefile
+-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+-	@case '$?' in \
+-	  *config.status*) \
+-	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+-	  *) \
+-	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+-	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+-	esac;
+-
+-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-
+-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
++	  $(AUTOMAKE) --foreign  include/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+ 
+ config.h: stamp-h1
+ 	@if test ! -f $@; then \
+@@ -450,10 +420,10 @@
+ stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
+ 	@rm -f stamp-h1
+ 	cd $(top_builddir) && $(SHELL) ./config.status include/config.h
+-$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) 
++
++$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(top_srcdir)/configure.in $(ACLOCAL_M4) 
+ 	cd $(top_srcdir) && $(AUTOHEADER)
+-	rm -f stamp-h1
+-	touch $@
++	touch $(srcdir)/config.h.in
+ 
+ distclean-hdr:
+ 	-rm -f config.h stamp-h1
+@@ -472,19 +442,19 @@
+ 	$(LINK) $(make_crypto_LDFLAGS) $(make_crypto_OBJECTS) $(make_crypto_LDADD) $(LIBS)
+ 
+ mostlyclean-compile:
+-	-rm -f *.$(OBJEXT)
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ .c.obj:
+-	$(COMPILE) -c `$(CYGPATH_W) '$<'`
++	$(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
+ 
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ mostlyclean-libtool:
+ 	-rm -f *.lo
+@@ -495,22 +465,23 @@
+ distclean-libtool:
+ 	-rm -f libtool
+ uninstall-info-am:
++includeHEADERS_INSTALL = $(INSTALL_HEADER)
+ install-includeHEADERS: $(include_HEADERS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(includedir)" || $(mkdir_p) "$(DESTDIR)$(includedir)"
++	$(mkinstalldirs) $(DESTDIR)$(includedir)
+ 	@list='$(include_HEADERS)'; for p in $$list; do \
+ 	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " $(includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(includedir)/$$f'"; \
+-	  $(includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(includedir)/$$f"; \
++	  echo " $(includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
++	  $(includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(includedir)/$$f; \
+ 	done
+ 
+ uninstall-includeHEADERS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(include_HEADERS)'; for p in $$list; do \
+ 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " rm -f '$(DESTDIR)$(includedir)/$$f'"; \
+-	  rm -f "$(DESTDIR)$(includedir)/$$f"; \
++	  echo " rm -f $(DESTDIR)$(includedir)/$$f"; \
++	  rm -f $(DESTDIR)$(includedir)/$$f; \
+ 	done
+ 
+ # This directory's subdirectories are mostly independent; you can cd
+@@ -572,6 +543,14 @@
+ 	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
+ 	done
+ 
++ETAGS = etags
++ETAGSFLAGS =
++
++CTAGS = ctags
++CTAGSFLAGS =
++
++tags: TAGS
++
+ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ 	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ 	unique=`for i in $$list; do \
+@@ -580,7 +559,6 @@
+ 	  $(AWK) '    { files[$$0] = 1; } \
+ 	       END { for (i in files) print i; }'`; \
+ 	mkid -fID $$unique
+-tags: TAGS
+ 
+ TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -606,6 +584,7 @@
+ 	test -z "$(ETAGS_ARGS)$$tags$$unique" \
+ 	  || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ 	     $$tags $$unique
++
+ ctags: CTAGS
+ CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -628,9 +607,13 @@
+ 
+ distclean-tags:
+ 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++
++top_distdir = ..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	$(mkdir_p) $(distdir)/.. $(distdir)/../cf
++	$(mkinstalldirs) $(distdir)/.. $(distdir)/../cf
+ 	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ 	list='$(DISTFILES)'; for file in $$list; do \
+@@ -642,7 +625,7 @@
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ 	    dir="/$$dir"; \
+-	    $(mkdir_p) "$(distdir)$$dir"; \
++	    $(mkinstalldirs) "$(distdir)$$dir"; \
+ 	  else \
+ 	    dir=''; \
+ 	  fi; \
+@@ -659,13 +642,13 @@
+ 	done
+ 	list='$(SUBDIRS)'; for subdir in $$list; do \
+ 	  if test "$$subdir" = .; then :; else \
+-	    test -d "$(distdir)/$$subdir" \
+-	    || mkdir "$(distdir)/$$subdir" \
++	    test -d $(distdir)/$$subdir \
++	    || mkdir $(distdir)/$$subdir \
+ 	    || exit 1; \
+ 	    (cd $$subdir && \
+ 	      $(MAKE) $(AM_MAKEFLAGS) \
+-	        top_distdir="../$(top_distdir)" \
+-	        distdir="../$(distdir)/$$subdir" \
++	        top_distdir="$(top_distdir)" \
++	        distdir=../$(distdir)/$$subdir \
+ 	        distdir) \
+ 	      || exit 1; \
+ 	  fi; \
+@@ -679,9 +662,8 @@
+ all-am: Makefile $(PROGRAMS) $(HEADERS) config.h all-local
+ installdirs: installdirs-recursive
+ installdirs-am:
+-	for dir in "$(DESTDIR)$(includedir)"; do \
+-	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
+-	done
++	$(mkinstalldirs) $(DESTDIR)$(includedir)
++
+ install: install-recursive
+ install-exec: install-exec-recursive
+ install-data: install-data-recursive
+@@ -714,15 +696,13 @@
+ 
+ distclean: distclean-recursive
+ 	-rm -f Makefile
+-distclean-am: clean-am distclean-compile distclean-generic \
+-	distclean-hdr distclean-libtool distclean-tags
++distclean-am: clean-am distclean-compile distclean-generic distclean-hdr \
++	distclean-libtool distclean-tags
+ 
+ dvi: dvi-recursive
+ 
+ dvi-am:
+ 
+-html: html-recursive
+-
+ info: info-recursive
+ 
+ info-am:
+@@ -767,16 +747,19 @@
+ 	clean-noinstPROGRAMS clean-recursive ctags ctags-recursive \
+ 	distclean distclean-compile distclean-generic distclean-hdr \
+ 	distclean-libtool distclean-recursive distclean-tags distdir \
+-	dvi dvi-am html html-am info info-am install install-am \
+-	install-data install-data-am install-exec install-exec-am \
++	dvi dvi-am dvi-recursive info info-am info-recursive install \
++	install-am install-data install-data-am install-data-recursive \
++	install-exec install-exec-am install-exec-recursive \
+ 	install-includeHEADERS install-info install-info-am \
+-	install-man install-strip installcheck installcheck-am \
+-	installdirs installdirs-am maintainer-clean \
+-	maintainer-clean-generic maintainer-clean-recursive \
+-	mostlyclean mostlyclean-compile mostlyclean-generic \
+-	mostlyclean-libtool mostlyclean-recursive pdf pdf-am ps ps-am \
+-	tags tags-recursive uninstall uninstall-am \
+-	uninstall-includeHEADERS uninstall-info-am
++	install-info-recursive install-man install-recursive \
++	install-strip installcheck installcheck-am installdirs \
++	installdirs-am installdirs-recursive maintainer-clean \
++	maintainer-clean-generic maintainer-clean-recursive mostlyclean \
++	mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
++	mostlyclean-recursive pdf pdf-am pdf-recursive ps ps-am \
++	ps-recursive tags tags-recursive uninstall uninstall-am \
++	uninstall-includeHEADERS uninstall-info-am \
++	uninstall-info-recursive uninstall-recursive
+ 
+ 
+ install-suid-programs:
+diff -ruN heimdal-0.6.3-old/kadmin/Makefile.in heimdal-0.6.3/kadmin/Makefile.in
+--- heimdal-0.6.3-old/kadmin/Makefile.in	2004-09-13 22:29:13.000000000 +1000
++++ heimdal-0.6.3/kadmin/Makefile.in	2004-09-14 08:39:52.000000000 +1000
+@@ -1,8 +1,8 @@
+-# Makefile.in generated by automake 1.8.3 from Makefile.am.
++# Makefile.in generated by automake 1.7.9 from Makefile.am.
+ # @configure_input@
+ 
+-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+-# 2003, 2004  Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
++# 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.
+@@ -20,8 +20,6 @@
+ 
+ # $Id: Makefile.am.common,v 1.37.2.2 2003/10/13 13:15:39 joda Exp $
+ 
+-SOURCES = $(add_random_users_SOURCES) $(kadmin_SOURCES) $(kadmind_SOURCES) $(EXTRA_kadmind_SOURCES)
+-
+ srcdir = @srcdir@
+ top_srcdir = @top_srcdir@
+ VPATH = @srcdir@
+@@ -29,6 +27,7 @@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+ top_builddir = ..
++
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+ INSTALL = @INSTALL@
+ install_sh_DATA = $(install_sh) -c -m 644
+@@ -43,112 +42,6 @@
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+ host_triplet = @host@
+-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+-	$(top_srcdir)/Makefile.am.common \
+-	$(top_srcdir)/cf/Makefile.am.common ChangeLog
+-sbin_PROGRAMS = kadmin$(EXEEXT)
+-libexec_PROGRAMS = kadmind$(EXEEXT)
+-noinst_PROGRAMS = add_random_users$(EXEEXT)
+-subdir = kadmin
+-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+-am__aclocal_m4_deps = $(top_srcdir)/cf/aix.m4 \
+-	$(top_srcdir)/cf/auth-modules.m4 \
+-	$(top_srcdir)/cf/broken-getaddrinfo.m4 \
+-	$(top_srcdir)/cf/broken-getnameinfo.m4 \
+-	$(top_srcdir)/cf/broken-glob.m4 \
+-	$(top_srcdir)/cf/broken-realloc.m4 \
+-	$(top_srcdir)/cf/broken-snprintf.m4 $(top_srcdir)/cf/broken.m4 \
+-	$(top_srcdir)/cf/broken2.m4 $(top_srcdir)/cf/c-attribute.m4 \
+-	$(top_srcdir)/cf/capabilities.m4 \
+-	$(top_srcdir)/cf/check-compile-et.m4 \
+-	$(top_srcdir)/cf/check-declaration.m4 \
+-	$(top_srcdir)/cf/check-getpwnam_r-posix.m4 \
+-	$(top_srcdir)/cf/check-man.m4 \
+-	$(top_srcdir)/cf/check-netinet-ip-and-tcp.m4 \
+-	$(top_srcdir)/cf/check-type-extra.m4 \
+-	$(top_srcdir)/cf/check-var.m4 $(top_srcdir)/cf/check-x.m4 \
+-	$(top_srcdir)/cf/check-xau.m4 $(top_srcdir)/cf/crypto.m4 \
+-	$(top_srcdir)/cf/db.m4 $(top_srcdir)/cf/destdirs.m4 \
+-	$(top_srcdir)/cf/dlopen.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs2.m4 \
+-	$(top_srcdir)/cf/find-func.m4 \
+-	$(top_srcdir)/cf/find-if-not-broken.m4 \
+-	$(top_srcdir)/cf/have-struct-field.m4 \
+-	$(top_srcdir)/cf/have-type.m4 $(top_srcdir)/cf/irix.m4 \
+-	$(top_srcdir)/cf/krb-bigendian.m4 \
+-	$(top_srcdir)/cf/krb-func-getlogin.m4 \
+-	$(top_srcdir)/cf/krb-ipv6.m4 $(top_srcdir)/cf/krb-prog-ln-s.m4 \
+-	$(top_srcdir)/cf/krb-readline.m4 \
+-	$(top_srcdir)/cf/krb-struct-spwd.m4 \
+-	$(top_srcdir)/cf/krb-struct-winsize.m4 \
+-	$(top_srcdir)/cf/mips-abi.m4 $(top_srcdir)/cf/misc.m4 \
+-	$(top_srcdir)/cf/need-proto.m4 $(top_srcdir)/cf/osfc2.m4 \
+-	$(top_srcdir)/cf/otp.m4 $(top_srcdir)/cf/proto-compat.m4 \
+-	$(top_srcdir)/cf/retsigtype.m4 $(top_srcdir)/cf/roken-frag.m4 \
+-	$(top_srcdir)/cf/sunos.m4 $(top_srcdir)/cf/telnet.m4 \
+-	$(top_srcdir)/cf/test-package.m4 $(top_srcdir)/cf/wflags.m4 \
+-	$(top_srcdir)/cf/with-all.m4 $(top_srcdir)/configure.in
+-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+-	$(ACLOCAL_M4)
+-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = $(top_builddir)/include/config.h
+-CONFIG_CLEAN_FILES =
+-am__installdirs = "$(DESTDIR)$(libexecdir)" "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(man8dir)"
+-libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+-sbinPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+-PROGRAMS = $(libexec_PROGRAMS) $(noinst_PROGRAMS) $(sbin_PROGRAMS)
+-am_add_random_users_OBJECTS = add-random-users.$(OBJEXT)
+-add_random_users_OBJECTS = $(am_add_random_users_OBJECTS)
+-am__DEPENDENCIES_1 =
+-am__DEPENDENCIES_2 = $(top_builddir)/lib/hdb/libhdb.la \
+-	$(am__DEPENDENCIES_1) $(top_builddir)/lib/krb5/libkrb5.la \
+-	$(am__DEPENDENCIES_1) $(top_builddir)/lib/asn1/libasn1.la \
+-	$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
+-add_random_users_DEPENDENCIES =  \
+-	$(top_builddir)/lib/kadm5/libkadm5clnt.la \
+-	$(top_builddir)/lib/kadm5/libkadm5srv.la $(am__DEPENDENCIES_2) \
+-	$(am__DEPENDENCIES_1)
+-am_kadmin_OBJECTS = ank.$(OBJEXT) cpw.$(OBJEXT) del.$(OBJEXT) \
+-	del_enctype.$(OBJEXT) dump.$(OBJEXT) ext.$(OBJEXT) \
+-	get.$(OBJEXT) init.$(OBJEXT) kadmin.$(OBJEXT) load.$(OBJEXT) \
+-	mod.$(OBJEXT) rename.$(OBJEXT) util.$(OBJEXT) \
+-	random_password.$(OBJEXT)
+-kadmin_OBJECTS = $(am_kadmin_OBJECTS)
+-kadmin_DEPENDENCIES = $(top_builddir)/lib/kadm5/libkadm5clnt.la \
+-	$(top_builddir)/lib/kadm5/libkadm5srv.la \
+-	$(top_builddir)/lib/sl/libsl.la $(am__DEPENDENCIES_1) \
+-	$(am__DEPENDENCIES_2) $(am__DEPENDENCIES_1)
+-am__kadmind_SOURCES_DIST = kadmind.c server.c kadmin_locl.h version4.c \
+-	kadm_conn.c
+-@KRB4_TRUE@am__objects_1 = version4.$(OBJEXT)
+-am_kadmind_OBJECTS = kadmind.$(OBJEXT) server.$(OBJEXT) \
+-	$(am__objects_1) kadm_conn.$(OBJEXT)
+-kadmind_OBJECTS = $(am_kadmind_OBJECTS)
+-@KRB4_TRUE@am__DEPENDENCIES_3 = $(am__DEPENDENCIES_1)
+-kadmind_DEPENDENCIES = $(am__DEPENDENCIES_3) \
+-	$(top_builddir)/lib/kadm5/libkadm5srv.la $(am__DEPENDENCIES_2) \
+-	$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
+-DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
+-depcomp =
+-am__depfiles_maybe =
+-COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+-	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) \
+-	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+-	$(AM_CFLAGS) $(CFLAGS)
+-CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+-	$(AM_LDFLAGS) $(LDFLAGS) -o $@
+-SOURCES = $(add_random_users_SOURCES) $(kadmin_SOURCES) \
+-	$(kadmind_SOURCES) $(EXTRA_kadmind_SOURCES)
+-DIST_SOURCES = $(add_random_users_SOURCES) $(kadmin_SOURCES) \
+-	$(am__kadmind_SOURCES_DIST) $(EXTRA_kadmind_SOURCES)
+-man8dir = $(mandir)/man8
+-MANS = $(man_MANS)
+-ETAGS = etags
+-CTAGS = ctags
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ ACLOCAL = @ACLOCAL@
+ AIX4_FALSE = @AIX4_FALSE@
+ AIX4_TRUE = @AIX4_TRUE@
+@@ -173,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -183,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -206,12 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
++
+ INCLUDE_krb4 = @INCLUDE_krb4@
++
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
++
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -224,6 +130,7 @@
+ KRB5_TRUE = @KRB5_TRUE@
+ LDFLAGS = @LDFLAGS@
+ LEX = @LEX@
++
+ LEXLIB = @LEXLIB@
+ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+ LIBOBJS = @LIBOBJS@
+@@ -232,6 +139,7 @@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+ LIB_XauFileName = @LIB_XauFileName@
++
+ LIB_XauReadAuth = @LIB_XauReadAuth@
+ LIB_XauWriteAuth = @LIB_XauWriteAuth@
+ LIB_bswap16 = @LIB_bswap16@
+@@ -280,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -360,7 +270,6 @@
+ libexecdir = @libexecdir@
+ localstatedir = @localstatedir@
+ mandir = @mandir@
+-mkdir_p = @mkdir_p@
+ oldincludedir = @oldincludedir@
+ prefix = @prefix@
+ program_transform_name = @program_transform_name@
+@@ -368,26 +277,48 @@
+ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
++
+ SUFFIXES = .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8
+-INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) $(INCLUDE_readline) $(INCLUDE_krb4) $(INCLUDE_des) -I$(srcdir)/../lib/krb5
++
++INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) -I/usr/include/editline $(INCLUDE_krb4) $(INCLUDE_des) -I$(srcdir)/../lib/krb5
++
+ @do_roken_rename_TRUE@ROKEN_RENAME = -DROKEN_RENAME
++
+ AM_CFLAGS = $(WFLAGS)
++
+ CP = cp
++
+ buildinclude = $(top_builddir)/include
+ LIB_getattr = @LIB_getattr@
+ LIB_getpwent_r = @LIB_getpwent_r@
+ LIB_odm_initialize = @LIB_odm_initialize@
+ LIB_setpcred = @LIB_setpcred@
++
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
++
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
++
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++
+ @KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
+ @KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+ 
+ @KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
++
+ @DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
++
++sbin_PROGRAMS = kadmin
++
++libexec_PROGRAMS = kadmind
++
+ man_MANS = kadmin.8 kadmind.8
++
++noinst_PROGRAMS = add_random_users
++
+ kadmin_SOURCES = \
+ 	ank.c					\
+ 	cpw.c					\
+@@ -405,8 +336,10 @@
+ 	random_password.c			\
+ 	kadmin_locl.h
+ 
++
+ @KRB4_TRUE@KRB4LIB = $(LIB_krb4)
+ @KRB4_TRUE@version4_c = version4.c
++
+ kadmind_SOURCES = \
+ 	kadmind.c				\
+ 	server.c				\
+@@ -414,8 +347,11 @@
+ 	$(version4_c)				\
+ 	kadm_conn.c
+ 
++
+ EXTRA_kadmind_SOURCES = version4.c
++
+ add_random_users_SOURCES = add-random-users.c
++
+ LDADD_common = \
+ 	$(top_builddir)/lib/hdb/libhdb.la \
+ 	$(LIB_openldap) \
+@@ -425,69 +361,115 @@
+ 	$(LIB_roken) \
+ 	$(DBLIB)
+ 
++
+ kadmind_LDADD = $(KRB4LIB) $(top_builddir)/lib/kadm5/libkadm5srv.la \
+ 	$(LDADD_common) \
+ 	$(LIB_pidfile) \
+ 	$(LIB_dlopen)
+ 
++
+ kadmin_LDADD = \
+ 	$(top_builddir)/lib/kadm5/libkadm5clnt.la \
+ 	$(top_builddir)/lib/kadm5/libkadm5srv.la \
+-	$(top_builddir)/lib/sl/libsl.la \
+-	$(LIB_readline) \
++	$(LIB_sl) \
++	-ledit \
+ 	$(LDADD_common) \
+ 	$(LIB_dlopen)
+ 
++
+ add_random_users_LDADD = \
+ 	$(top_builddir)/lib/kadm5/libkadm5clnt.la \
+ 	$(top_builddir)/lib/kadm5/libkadm5srv.la \
+ 	$(LDADD_common) \
+ 	$(LIB_dlopen)
+ 
++subdir = kadmin
++ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
++mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++libexec_PROGRAMS = kadmind$(EXEEXT)
++noinst_PROGRAMS = add_random_users$(EXEEXT)
++sbin_PROGRAMS = kadmin$(EXEEXT)
++PROGRAMS = $(libexec_PROGRAMS) $(noinst_PROGRAMS) $(sbin_PROGRAMS)
++
++am_add_random_users_OBJECTS = add-random-users.$(OBJEXT)
++add_random_users_OBJECTS = $(am_add_random_users_OBJECTS)
++add_random_users_DEPENDENCIES = \
++	$(top_builddir)/lib/kadm5/libkadm5clnt.la \
++	$(top_builddir)/lib/kadm5/libkadm5srv.la \
++	$(top_builddir)/lib/hdb/libhdb.la \
++	$(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++add_random_users_LDFLAGS =
++am_kadmin_OBJECTS = ank.$(OBJEXT) cpw.$(OBJEXT) del.$(OBJEXT) \
++	del_enctype.$(OBJEXT) dump.$(OBJEXT) ext.$(OBJEXT) \
++	get.$(OBJEXT) init.$(OBJEXT) kadmin.$(OBJEXT) load.$(OBJEXT) \
++	mod.$(OBJEXT) rename.$(OBJEXT) util.$(OBJEXT) \
++	random_password.$(OBJEXT)
++kadmin_OBJECTS = $(am_kadmin_OBJECTS)
++kadmin_DEPENDENCIES = $(top_builddir)/lib/kadm5/libkadm5clnt.la \
++	$(top_builddir)/lib/kadm5/libkadm5srv.la \
++	$(top_builddir)/lib/hdb/libhdb.la \
++	$(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++kadmin_LDFLAGS =
++am__kadmind_SOURCES_DIST = kadmind.c server.c kadmin_locl.h version4.c \
++	kadm_conn.c
++@KRB4_TRUE@am__objects_1 = version4.$(OBJEXT)
++am_kadmind_OBJECTS = kadmind.$(OBJEXT) server.$(OBJEXT) $(am__objects_1) \
++	kadm_conn.$(OBJEXT)
++kadmind_OBJECTS = $(am_kadmind_OBJECTS)
++@KRB4_TRUE@kadmind_DEPENDENCIES = \
++@KRB4_TRUE@	$(top_builddir)/lib/kadm5/libkadm5srv.la \
++@KRB4_TRUE@	$(top_builddir)/lib/hdb/libhdb.la \
++@KRB4_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la \
++@KRB4_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB4_FALSE@kadmind_DEPENDENCIES = \
++@KRB4_FALSE@	$(top_builddir)/lib/kadm5/libkadm5srv.la \
++@KRB4_FALSE@	$(top_builddir)/lib/hdb/libhdb.la \
++@KRB4_FALSE@	$(top_builddir)/lib/krb5/libkrb5.la \
++@KRB4_FALSE@	$(top_builddir)/lib/asn1/libasn1.la
++kadmind_LDFLAGS =
++
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
++depcomp =
++am__depfiles_maybe =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++CCLD = $(CC)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++DIST_SOURCES = $(add_random_users_SOURCES) $(kadmin_SOURCES) \
++	$(am__kadmind_SOURCES_DIST) $(EXTRA_kadmind_SOURCES)
++MANS = $(man_MANS)
++DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/Makefile.am.common \
++	$(top_srcdir)/cf/Makefile.am.common ChangeLog Makefile.am
++SOURCES = $(add_random_users_SOURCES) $(kadmin_SOURCES) $(kadmind_SOURCES) $(EXTRA_kadmind_SOURCES)
++
+ all: all-am
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj
+-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(am__configure_deps)
+-	@for dep in $?; do \
+-	  case '$(am__configure_deps)' in \
+-	    *$$dep*) \
+-	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+-		&& exit 0; \
+-	      exit 1;; \
+-	  esac; \
+-	done; \
+-	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  --ignore-deps kadmin/Makefile'; \
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+-	  $(AUTOMAKE) --foreign  --ignore-deps kadmin/Makefile
+-.PRECIOUS: Makefile
+-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+-	@case '$?' in \
+-	  *config.status*) \
+-	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+-	  *) \
+-	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+-	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+-	esac;
+-
+-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-
+-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
++	  $(AUTOMAKE) --foreign  kadmin/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
++libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ install-libexecPROGRAMS: $(libexec_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(libexecdir)" || $(mkdir_p) "$(DESTDIR)$(libexecdir)"
++	$(mkinstalldirs) $(DESTDIR)$(libexecdir)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+ 	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+ 	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+-	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(libexecdir)/$$f'"; \
+-	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(libexecdir)/$$f" || exit 1; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f || exit 1; \
+ 	  else :; fi; \
+ 	done
+ 
+@@ -495,8 +477,8 @@
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+ 	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  echo " rm -f '$(DESTDIR)$(libexecdir)/$$f'"; \
+-	  rm -f "$(DESTDIR)$(libexecdir)/$$f"; \
++	  echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
++	  rm -f $(DESTDIR)$(libexecdir)/$$f; \
+ 	done
+ 
+ clean-libexecPROGRAMS:
+@@ -512,17 +494,18 @@
+ 	  echo " rm -f $$p $$f"; \
+ 	  rm -f $$p $$f ; \
+ 	done
++sbinPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ install-sbinPROGRAMS: $(sbin_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(sbindir)" || $(mkdir_p) "$(DESTDIR)$(sbindir)"
++	$(mkinstalldirs) $(DESTDIR)$(sbindir)
+ 	@list='$(sbin_PROGRAMS)'; for p in $$list; do \
+ 	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+ 	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+-	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(sbinPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(sbindir)/$$f'"; \
+-	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(sbinPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(sbindir)/$$f" || exit 1; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(sbinPROGRAMS_INSTALL) $$p $(DESTDIR)$(sbindir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(sbinPROGRAMS_INSTALL) $$p $(DESTDIR)$(sbindir)/$$f || exit 1; \
+ 	  else :; fi; \
+ 	done
+ 
+@@ -530,8 +513,8 @@
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(sbin_PROGRAMS)'; for p in $$list; do \
+ 	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  echo " rm -f '$(DESTDIR)$(sbindir)/$$f'"; \
+-	  rm -f "$(DESTDIR)$(sbindir)/$$f"; \
++	  echo " rm -f $(DESTDIR)$(sbindir)/$$f"; \
++	  rm -f $(DESTDIR)$(sbindir)/$$f; \
+ 	done
+ 
+ clean-sbinPROGRAMS:
+@@ -551,19 +534,19 @@
+ 	$(LINK) $(kadmind_LDFLAGS) $(kadmind_OBJECTS) $(kadmind_LDADD) $(LIBS)
+ 
+ mostlyclean-compile:
+-	-rm -f *.$(OBJEXT)
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ .c.obj:
+-	$(COMPILE) -c `$(CYGPATH_W) '$<'`
++	$(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
+ 
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ mostlyclean-libtool:
+ 	-rm -f *.lo
+@@ -574,9 +557,11 @@
+ distclean-libtool:
+ 	-rm -f libtool
+ uninstall-info-am:
++
++man8dir = $(mandir)/man8
+ install-man8: $(man8_MANS) $(man_MANS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(man8dir)" || $(mkdir_p) "$(DESTDIR)$(man8dir)"
++	$(mkinstalldirs) $(DESTDIR)$(man8dir)
+ 	@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
+ 	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
+ 	for i in $$l2; do \
+@@ -595,8 +580,8 @@
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+-	  echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man8dir)/$$inst'"; \
+-	  $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man8dir)/$$inst"; \
++	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst"; \
++	  $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst; \
+ 	done
+ uninstall-man8:
+ 	@$(NORMAL_UNINSTALL)
+@@ -616,10 +601,18 @@
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+-	  echo " rm -f '$(DESTDIR)$(man8dir)/$$inst'"; \
+-	  rm -f "$(DESTDIR)$(man8dir)/$$inst"; \
++	  echo " rm -f $(DESTDIR)$(man8dir)/$$inst"; \
++	  rm -f $(DESTDIR)$(man8dir)/$$inst; \
+ 	done
+ 
++ETAGS = etags
++ETAGSFLAGS =
++
++CTAGS = ctags
++CTAGSFLAGS =
++
++tags: TAGS
++
+ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ 	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ 	unique=`for i in $$list; do \
+@@ -628,7 +621,6 @@
+ 	  $(AWK) '    { files[$$0] = 1; } \
+ 	       END { for (i in files) print i; }'`; \
+ 	mkid -fID $$unique
+-tags: TAGS
+ 
+ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -643,6 +635,7 @@
+ 	test -z "$(ETAGS_ARGS)$$tags$$unique" \
+ 	  || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ 	     $$tags $$unique
++
+ ctags: CTAGS
+ CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -665,9 +658,13 @@
+ 
+ distclean-tags:
+ 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++
++top_distdir = ..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	$(mkdir_p) $(distdir)/.. $(distdir)/../cf
++	$(mkinstalldirs) $(distdir)/.. $(distdir)/../cf
+ 	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ 	list='$(DISTFILES)'; for file in $$list; do \
+@@ -679,7 +676,7 @@
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ 	    dir="/$$dir"; \
+-	    $(mkdir_p) "$(distdir)$$dir"; \
++	    $(mkinstalldirs) "$(distdir)$$dir"; \
+ 	  else \
+ 	    dir=''; \
+ 	  fi; \
+@@ -701,10 +698,9 @@
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+ all-am: Makefile $(PROGRAMS) $(MANS) all-local
++
+ installdirs:
+-	for dir in "$(DESTDIR)$(libexecdir)" "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(man8dir)"; do \
+-	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
+-	done
++	$(mkinstalldirs) $(DESTDIR)$(libexecdir) $(DESTDIR)$(sbindir) $(DESTDIR)$(man8dir)
+ install: install-am
+ install-exec: install-exec-am
+ install-data: install-data-am
+@@ -743,8 +739,6 @@
+ 
+ dvi-am:
+ 
+-html: html-am
+-
+ info: info-am
+ 
+ info-am:
+@@ -780,8 +774,8 @@
+ 
+ ps-am:
+ 
+-uninstall-am: uninstall-info-am uninstall-libexecPROGRAMS \
+-	uninstall-man uninstall-sbinPROGRAMS
++uninstall-am: uninstall-info-am uninstall-libexecPROGRAMS uninstall-man \
++	uninstall-sbinPROGRAMS
+ 
+ uninstall-man: uninstall-man8
+ 
+@@ -789,17 +783,16 @@
+ 	clean clean-generic clean-libexecPROGRAMS clean-libtool \
+ 	clean-noinstPROGRAMS clean-sbinPROGRAMS ctags distclean \
+ 	distclean-compile distclean-generic distclean-libtool \
+-	distclean-tags distdir dvi dvi-am html html-am info info-am \
+-	install install-am install-data install-data-am install-exec \
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-data install-data-am install-exec \
+ 	install-exec-am install-info install-info-am \
+ 	install-libexecPROGRAMS install-man install-man8 \
+-	install-sbinPROGRAMS install-strip installcheck \
+-	installcheck-am installdirs maintainer-clean \
+-	maintainer-clean-generic mostlyclean mostlyclean-compile \
+-	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+-	tags uninstall uninstall-am uninstall-info-am \
+-	uninstall-libexecPROGRAMS uninstall-man uninstall-man8 \
+-	uninstall-sbinPROGRAMS
++	install-sbinPROGRAMS install-strip installcheck installcheck-am \
++	installdirs maintainer-clean maintainer-clean-generic \
++	mostlyclean mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
++	uninstall-am uninstall-info-am uninstall-libexecPROGRAMS \
++	uninstall-man uninstall-man8 uninstall-sbinPROGRAMS
+ 
+ 
+ install-suid-programs:
+diff -ruN heimdal-0.6.3-old/kdc/Makefile.in heimdal-0.6.3/kdc/Makefile.in
+--- heimdal-0.6.3-old/kdc/Makefile.in	2004-09-13 22:29:15.000000000 +1000
++++ heimdal-0.6.3/kdc/Makefile.in	2004-09-14 08:39:52.000000000 +1000
+@@ -1,8 +1,8 @@
+-# Makefile.in generated by automake 1.8.3 from Makefile.am.
++# Makefile.in generated by automake 1.7.9 from Makefile.am.
+ # @configure_input@
+ 
+-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+-# 2003, 2004  Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
++# 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.
+@@ -20,8 +20,6 @@
+ 
+ # $Id: Makefile.am.common,v 1.37.2.2 2003/10/13 13:15:39 joda Exp $
+ 
+-SOURCES = $(hprop_SOURCES) $(hpropd_SOURCES) $(kdc_SOURCES) $(kstash_SOURCES) $(string2key_SOURCES)
+-
+ srcdir = @srcdir@
+ top_srcdir = @top_srcdir@
+ VPATH = @srcdir@
+@@ -29,6 +27,7 @@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+ top_builddir = ..
++
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+ INSTALL = @INSTALL@
+ install_sh_DATA = $(install_sh) -c -m 644
+@@ -43,129 +42,6 @@
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+ host_triplet = @host@
+-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+-	$(top_srcdir)/Makefile.am.common \
+-	$(top_srcdir)/cf/Makefile.am.common
+-bin_PROGRAMS = string2key$(EXEEXT)
+-sbin_PROGRAMS = kstash$(EXEEXT)
+-libexec_PROGRAMS = hprop$(EXEEXT) hpropd$(EXEEXT) kdc$(EXEEXT)
+-subdir = kdc
+-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+-am__aclocal_m4_deps = $(top_srcdir)/cf/aix.m4 \
+-	$(top_srcdir)/cf/auth-modules.m4 \
+-	$(top_srcdir)/cf/broken-getaddrinfo.m4 \
+-	$(top_srcdir)/cf/broken-getnameinfo.m4 \
+-	$(top_srcdir)/cf/broken-glob.m4 \
+-	$(top_srcdir)/cf/broken-realloc.m4 \
+-	$(top_srcdir)/cf/broken-snprintf.m4 $(top_srcdir)/cf/broken.m4 \
+-	$(top_srcdir)/cf/broken2.m4 $(top_srcdir)/cf/c-attribute.m4 \
+-	$(top_srcdir)/cf/capabilities.m4 \
+-	$(top_srcdir)/cf/check-compile-et.m4 \
+-	$(top_srcdir)/cf/check-declaration.m4 \
+-	$(top_srcdir)/cf/check-getpwnam_r-posix.m4 \
+-	$(top_srcdir)/cf/check-man.m4 \
+-	$(top_srcdir)/cf/check-netinet-ip-and-tcp.m4 \
+-	$(top_srcdir)/cf/check-type-extra.m4 \
+-	$(top_srcdir)/cf/check-var.m4 $(top_srcdir)/cf/check-x.m4 \
+-	$(top_srcdir)/cf/check-xau.m4 $(top_srcdir)/cf/crypto.m4 \
+-	$(top_srcdir)/cf/db.m4 $(top_srcdir)/cf/destdirs.m4 \
+-	$(top_srcdir)/cf/dlopen.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs2.m4 \
+-	$(top_srcdir)/cf/find-func.m4 \
+-	$(top_srcdir)/cf/find-if-not-broken.m4 \
+-	$(top_srcdir)/cf/have-struct-field.m4 \
+-	$(top_srcdir)/cf/have-type.m4 $(top_srcdir)/cf/irix.m4 \
+-	$(top_srcdir)/cf/krb-bigendian.m4 \
+-	$(top_srcdir)/cf/krb-func-getlogin.m4 \
+-	$(top_srcdir)/cf/krb-ipv6.m4 $(top_srcdir)/cf/krb-prog-ln-s.m4 \
+-	$(top_srcdir)/cf/krb-readline.m4 \
+-	$(top_srcdir)/cf/krb-struct-spwd.m4 \
+-	$(top_srcdir)/cf/krb-struct-winsize.m4 \
+-	$(top_srcdir)/cf/mips-abi.m4 $(top_srcdir)/cf/misc.m4 \
+-	$(top_srcdir)/cf/need-proto.m4 $(top_srcdir)/cf/osfc2.m4 \
+-	$(top_srcdir)/cf/otp.m4 $(top_srcdir)/cf/proto-compat.m4 \
+-	$(top_srcdir)/cf/retsigtype.m4 $(top_srcdir)/cf/roken-frag.m4 \
+-	$(top_srcdir)/cf/sunos.m4 $(top_srcdir)/cf/telnet.m4 \
+-	$(top_srcdir)/cf/test-package.m4 $(top_srcdir)/cf/wflags.m4 \
+-	$(top_srcdir)/cf/with-all.m4 $(top_srcdir)/configure.in
+-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+-	$(ACLOCAL_M4)
+-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = $(top_builddir)/include/config.h
+-CONFIG_CLEAN_FILES =
+-am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(libexecdir)" "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(man8dir)"
+-binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+-libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+-sbinPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+-PROGRAMS = $(bin_PROGRAMS) $(libexec_PROGRAMS) $(sbin_PROGRAMS)
+-am_hprop_OBJECTS = hprop.$(OBJEXT) mit_dump.$(OBJEXT) \
+-	v4_dump.$(OBJEXT)
+-hprop_OBJECTS = $(am_hprop_OBJECTS)
+-am__DEPENDENCIES_1 =
+-hprop_DEPENDENCIES = $(top_builddir)/lib/hdb/libhdb.la \
+-	$(am__DEPENDENCIES_1) $(top_builddir)/lib/krb5/libkrb5.la \
+-	$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
+-	$(am__DEPENDENCIES_1) $(top_builddir)/lib/asn1/libasn1.la \
+-	$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
+-am_hpropd_OBJECTS = hpropd.$(OBJEXT)
+-hpropd_OBJECTS = $(am_hpropd_OBJECTS)
+-hpropd_DEPENDENCIES = $(top_builddir)/lib/hdb/libhdb.la \
+-	$(am__DEPENDENCIES_1) $(top_builddir)/lib/krb5/libkrb5.la \
+-	$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
+-	$(am__DEPENDENCIES_1) $(top_builddir)/lib/asn1/libasn1.la \
+-	$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
+-am__kdc_SOURCES_DIST = config.c connect.c kdc_locl.h kerberos5.c log.c \
+-	main.c misc.c 524.c kerberos4.c kaserver.c rx.h
+-@KRB4_TRUE@am__objects_1 = kaserver.$(OBJEXT)
+-am_kdc_OBJECTS = config.$(OBJEXT) connect.$(OBJEXT) \
+-	kerberos5.$(OBJEXT) log.$(OBJEXT) main.$(OBJEXT) \
+-	misc.$(OBJEXT) 524.$(OBJEXT) kerberos4.$(OBJEXT) \
+-	$(am__objects_1)
+-kdc_OBJECTS = $(am_kdc_OBJECTS)
+-am__DEPENDENCIES_2 = $(top_builddir)/lib/hdb/libhdb.la \
+-	$(am__DEPENDENCIES_1) $(top_builddir)/lib/krb5/libkrb5.la \
+-	$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
+-	$(top_builddir)/lib/asn1/libasn1.la $(am__DEPENDENCIES_1) \
+-	$(am__DEPENDENCIES_1)
+-kdc_DEPENDENCIES = $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_1)
+-am_kstash_OBJECTS = kstash.$(OBJEXT)
+-kstash_OBJECTS = $(am_kstash_OBJECTS)
+-kstash_LDADD = $(LDADD)
+-kstash_DEPENDENCIES = $(top_builddir)/lib/hdb/libhdb.la \
+-	$(am__DEPENDENCIES_1) $(top_builddir)/lib/krb5/libkrb5.la \
+-	$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
+-	$(top_builddir)/lib/asn1/libasn1.la $(am__DEPENDENCIES_1) \
+-	$(am__DEPENDENCIES_1)
+-am_string2key_OBJECTS = string2key.$(OBJEXT)
+-string2key_OBJECTS = $(am_string2key_OBJECTS)
+-string2key_LDADD = $(LDADD)
+-string2key_DEPENDENCIES = $(top_builddir)/lib/hdb/libhdb.la \
+-	$(am__DEPENDENCIES_1) $(top_builddir)/lib/krb5/libkrb5.la \
+-	$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
+-	$(top_builddir)/lib/asn1/libasn1.la $(am__DEPENDENCIES_1) \
+-	$(am__DEPENDENCIES_1)
+-DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
+-depcomp =
+-am__depfiles_maybe =
+-COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+-	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) \
+-	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+-	$(AM_CFLAGS) $(CFLAGS)
+-CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+-	$(AM_LDFLAGS) $(LDFLAGS) -o $@
+-SOURCES = $(hprop_SOURCES) $(hpropd_SOURCES) $(kdc_SOURCES) \
+-	$(kstash_SOURCES) $(string2key_SOURCES)
+-DIST_SOURCES = $(hprop_SOURCES) $(hpropd_SOURCES) \
+-	$(am__kdc_SOURCES_DIST) $(kstash_SOURCES) \
+-	$(string2key_SOURCES)
+-man8dir = $(mandir)/man8
+-MANS = $(man_MANS)
+-ETAGS = etags
+-CTAGS = ctags
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ ACLOCAL = @ACLOCAL@
+ AIX4_FALSE = @AIX4_FALSE@
+ AIX4_TRUE = @AIX4_TRUE@
+@@ -190,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -200,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -223,12 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
++
+ INCLUDE_krb4 = @INCLUDE_krb4@
++
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
++
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -241,6 +130,7 @@
+ KRB5_TRUE = @KRB5_TRUE@
+ LDFLAGS = @LDFLAGS@
+ LEX = @LEX@
++
+ LEXLIB = @LEXLIB@
+ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+ LIBOBJS = @LIBOBJS@
+@@ -249,6 +139,7 @@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+ LIB_XauFileName = @LIB_XauFileName@
++
+ LIB_XauReadAuth = @LIB_XauReadAuth@
+ LIB_XauWriteAuth = @LIB_XauWriteAuth@
+ LIB_bswap16 = @LIB_bswap16@
+@@ -297,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -377,7 +270,6 @@
+ libexecdir = @libexecdir@
+ localstatedir = @localstatedir@
+ mandir = @mandir@
+-mkdir_p = @mkdir_p@
+ oldincludedir = @oldincludedir@
+ prefix = @prefix@
+ program_transform_name = @program_transform_name@
+@@ -385,32 +277,58 @@
+ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
++
+ SUFFIXES = .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8
++
+ INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) $(INCLUDE_krb4) $(INCLUDE_des) -I$(srcdir)/../lib/krb5
++
+ @do_roken_rename_TRUE@ROKEN_RENAME = -DROKEN_RENAME
++
+ AM_CFLAGS = $(WFLAGS)
++
+ CP = cp
++
+ buildinclude = $(top_builddir)/include
+ LIB_getattr = @LIB_getattr@
+ LIB_getpwent_r = @LIB_getpwent_r@
+ LIB_odm_initialize = @LIB_odm_initialize@
+ LIB_setpcred = @LIB_setpcred@
++
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
++
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
++
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++
+ @KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
+ @KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+ 
+ @KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
++
+ @DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
++
++bin_PROGRAMS = string2key
++
++sbin_PROGRAMS = kstash
++
++libexec_PROGRAMS = hprop hpropd kdc
++
+ man_MANS = kdc.8 kstash.8 hprop.8 hpropd.8 string2key.8
++
+ hprop_SOURCES = hprop.c mit_dump.c v4_dump.c hprop.h kadb.h 
+ hpropd_SOURCES = hpropd.c hprop.h
++
+ kstash_SOURCES = kstash.c headers.h
++
+ string2key_SOURCES = string2key.c headers.h
+-@KRB4_FALSE@krb4_sources = 
++
+ @KRB4_TRUE@krb4_sources = kaserver.c rx.h
++@KRB4_FALSE@krb4_sources = 
++
+ kdc_SOURCES = \
+ 	config.c	\
+ 	connect.c	\
+@@ -423,6 +341,7 @@
+ 	kerberos4.c	\
+ 	$(krb4_sources)
+ 
++
+ hprop_LDADD = \
+ 	$(top_builddir)/lib/hdb/libhdb.la \
+ 	$(LIB_openldap) \
+@@ -433,6 +352,7 @@
+ 	$(LIB_roken) \
+ 	$(DBLIB) 
+ 
++
+ hpropd_LDADD = \
+ 	$(top_builddir)/lib/hdb/libhdb.la \
+ 	$(LIB_openldap) \
+@@ -443,6 +363,7 @@
+ 	$(LIB_roken) \
+ 	$(DBLIB) 
+ 
++
+ LDADD = $(top_builddir)/lib/hdb/libhdb.la \
+ 	$(LIB_openldap) \
+ 	$(top_builddir)/lib/krb5/libkrb5.la \
+@@ -452,51 +373,95 @@
+ 	$(LIB_roken) \
+ 	$(DBLIB)
+ 
++
+ kdc_LDADD = $(LDADD) $(LIB_pidfile)
++subdir = kdc
++ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
++mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++bin_PROGRAMS = string2key$(EXEEXT)
++libexec_PROGRAMS = hprop$(EXEEXT) hpropd$(EXEEXT) kdc$(EXEEXT)
++sbin_PROGRAMS = kstash$(EXEEXT)
++PROGRAMS = $(bin_PROGRAMS) $(libexec_PROGRAMS) $(sbin_PROGRAMS)
++
++am_hprop_OBJECTS = hprop.$(OBJEXT) mit_dump.$(OBJEXT) v4_dump.$(OBJEXT)
++hprop_OBJECTS = $(am_hprop_OBJECTS)
++hprop_DEPENDENCIES = $(top_builddir)/lib/hdb/libhdb.la \
++	$(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++hprop_LDFLAGS =
++am_hpropd_OBJECTS = hpropd.$(OBJEXT)
++hpropd_OBJECTS = $(am_hpropd_OBJECTS)
++hpropd_DEPENDENCIES = $(top_builddir)/lib/hdb/libhdb.la \
++	$(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++hpropd_LDFLAGS =
++am__kdc_SOURCES_DIST = config.c connect.c kdc_locl.h kerberos5.c log.c \
++	main.c misc.c 524.c kerberos4.c kaserver.c rx.h
++@KRB4_TRUE@am__objects_1 = kaserver.$(OBJEXT)
++@KRB4_FALSE@am__objects_1 =
++am_kdc_OBJECTS = config.$(OBJEXT) connect.$(OBJEXT) kerberos5.$(OBJEXT) \
++	log.$(OBJEXT) main.$(OBJEXT) misc.$(OBJEXT) 524.$(OBJEXT) \
++	kerberos4.$(OBJEXT) $(am__objects_1)
++kdc_OBJECTS = $(am_kdc_OBJECTS)
++kdc_DEPENDENCIES = $(top_builddir)/lib/hdb/libhdb.la \
++	$(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++kdc_LDFLAGS =
++am_kstash_OBJECTS = kstash.$(OBJEXT)
++kstash_OBJECTS = $(am_kstash_OBJECTS)
++kstash_LDADD = $(LDADD)
++kstash_DEPENDENCIES = $(top_builddir)/lib/hdb/libhdb.la \
++	$(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++kstash_LDFLAGS =
++am_string2key_OBJECTS = string2key.$(OBJEXT)
++string2key_OBJECTS = $(am_string2key_OBJECTS)
++string2key_LDADD = $(LDADD)
++string2key_DEPENDENCIES = $(top_builddir)/lib/hdb/libhdb.la \
++	$(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++string2key_LDFLAGS =
++
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
++depcomp =
++am__depfiles_maybe =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++CCLD = $(CC)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++DIST_SOURCES = $(hprop_SOURCES) $(hpropd_SOURCES) \
++	$(am__kdc_SOURCES_DIST) $(kstash_SOURCES) $(string2key_SOURCES)
++MANS = $(man_MANS)
++DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/Makefile.am.common \
++	$(top_srcdir)/cf/Makefile.am.common Makefile.am
++SOURCES = $(hprop_SOURCES) $(hpropd_SOURCES) $(kdc_SOURCES) $(kstash_SOURCES) $(string2key_SOURCES)
++
+ all: all-am
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj
+-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(am__configure_deps)
+-	@for dep in $?; do \
+-	  case '$(am__configure_deps)' in \
+-	    *$$dep*) \
+-	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+-		&& exit 0; \
+-	      exit 1;; \
+-	  esac; \
+-	done; \
+-	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  --ignore-deps kdc/Makefile'; \
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+-	  $(AUTOMAKE) --foreign  --ignore-deps kdc/Makefile
+-.PRECIOUS: Makefile
+-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+-	@case '$?' in \
+-	  *config.status*) \
+-	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+-	  *) \
+-	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+-	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+-	esac;
+-
+-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-
+-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
++	  $(AUTOMAKE) --foreign  kdc/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
++binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ install-binPROGRAMS: $(bin_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
++	$(mkinstalldirs) $(DESTDIR)$(bindir)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+ 	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+ 	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+-	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
+-	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f || exit 1; \
+ 	  else :; fi; \
+ 	done
+ 
+@@ -504,8 +469,8 @@
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+ 	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
+-	  rm -f "$(DESTDIR)$(bindir)/$$f"; \
++	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
++	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+ clean-binPROGRAMS:
+@@ -514,17 +479,18 @@
+ 	  echo " rm -f $$p $$f"; \
+ 	  rm -f $$p $$f ; \
+ 	done
++libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ install-libexecPROGRAMS: $(libexec_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(libexecdir)" || $(mkdir_p) "$(DESTDIR)$(libexecdir)"
++	$(mkinstalldirs) $(DESTDIR)$(libexecdir)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+ 	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+ 	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+-	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(libexecdir)/$$f'"; \
+-	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(libexecdir)/$$f" || exit 1; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f || exit 1; \
+ 	  else :; fi; \
+ 	done
+ 
+@@ -532,8 +498,8 @@
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+ 	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  echo " rm -f '$(DESTDIR)$(libexecdir)/$$f'"; \
+-	  rm -f "$(DESTDIR)$(libexecdir)/$$f"; \
++	  echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
++	  rm -f $(DESTDIR)$(libexecdir)/$$f; \
+ 	done
+ 
+ clean-libexecPROGRAMS:
+@@ -542,17 +508,18 @@
+ 	  echo " rm -f $$p $$f"; \
+ 	  rm -f $$p $$f ; \
+ 	done
++sbinPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ install-sbinPROGRAMS: $(sbin_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(sbindir)" || $(mkdir_p) "$(DESTDIR)$(sbindir)"
++	$(mkinstalldirs) $(DESTDIR)$(sbindir)
+ 	@list='$(sbin_PROGRAMS)'; for p in $$list; do \
+ 	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+ 	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+-	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(sbinPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(sbindir)/$$f'"; \
+-	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(sbinPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(sbindir)/$$f" || exit 1; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(sbinPROGRAMS_INSTALL) $$p $(DESTDIR)$(sbindir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(sbinPROGRAMS_INSTALL) $$p $(DESTDIR)$(sbindir)/$$f || exit 1; \
+ 	  else :; fi; \
+ 	done
+ 
+@@ -560,8 +527,8 @@
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(sbin_PROGRAMS)'; for p in $$list; do \
+ 	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  echo " rm -f '$(DESTDIR)$(sbindir)/$$f'"; \
+-	  rm -f "$(DESTDIR)$(sbindir)/$$f"; \
++	  echo " rm -f $(DESTDIR)$(sbindir)/$$f"; \
++	  rm -f $(DESTDIR)$(sbindir)/$$f; \
+ 	done
+ 
+ clean-sbinPROGRAMS:
+@@ -587,19 +554,19 @@
+ 	$(LINK) $(string2key_LDFLAGS) $(string2key_OBJECTS) $(string2key_LDADD) $(LIBS)
+ 
+ mostlyclean-compile:
+-	-rm -f *.$(OBJEXT)
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ .c.obj:
+-	$(COMPILE) -c `$(CYGPATH_W) '$<'`
++	$(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
+ 
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ mostlyclean-libtool:
+ 	-rm -f *.lo
+@@ -610,9 +577,11 @@
+ distclean-libtool:
+ 	-rm -f libtool
+ uninstall-info-am:
++
++man8dir = $(mandir)/man8
+ install-man8: $(man8_MANS) $(man_MANS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(man8dir)" || $(mkdir_p) "$(DESTDIR)$(man8dir)"
++	$(mkinstalldirs) $(DESTDIR)$(man8dir)
+ 	@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
+ 	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
+ 	for i in $$l2; do \
+@@ -631,8 +600,8 @@
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+-	  echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man8dir)/$$inst'"; \
+-	  $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man8dir)/$$inst"; \
++	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst"; \
++	  $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst; \
+ 	done
+ uninstall-man8:
+ 	@$(NORMAL_UNINSTALL)
+@@ -652,10 +621,18 @@
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+-	  echo " rm -f '$(DESTDIR)$(man8dir)/$$inst'"; \
+-	  rm -f "$(DESTDIR)$(man8dir)/$$inst"; \
++	  echo " rm -f $(DESTDIR)$(man8dir)/$$inst"; \
++	  rm -f $(DESTDIR)$(man8dir)/$$inst; \
+ 	done
+ 
++ETAGS = etags
++ETAGSFLAGS =
++
++CTAGS = ctags
++CTAGSFLAGS =
++
++tags: TAGS
++
+ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ 	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ 	unique=`for i in $$list; do \
+@@ -664,7 +641,6 @@
+ 	  $(AWK) '    { files[$$0] = 1; } \
+ 	       END { for (i in files) print i; }'`; \
+ 	mkid -fID $$unique
+-tags: TAGS
+ 
+ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -679,6 +655,7 @@
+ 	test -z "$(ETAGS_ARGS)$$tags$$unique" \
+ 	  || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ 	     $$tags $$unique
++
+ ctags: CTAGS
+ CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -701,9 +678,13 @@
+ 
+ distclean-tags:
+ 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++
++top_distdir = ..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	$(mkdir_p) $(distdir)/.. $(distdir)/../cf
++	$(mkinstalldirs) $(distdir)/.. $(distdir)/../cf
+ 	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ 	list='$(DISTFILES)'; for file in $$list; do \
+@@ -715,7 +696,7 @@
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ 	    dir="/$$dir"; \
+-	    $(mkdir_p) "$(distdir)$$dir"; \
++	    $(mkinstalldirs) "$(distdir)$$dir"; \
+ 	  else \
+ 	    dir=''; \
+ 	  fi; \
+@@ -737,10 +718,9 @@
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+ all-am: Makefile $(PROGRAMS) $(MANS) all-local
++
+ installdirs:
+-	for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(libexecdir)" "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(man8dir)"; do \
+-	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
+-	done
++	$(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(libexecdir) $(DESTDIR)$(sbindir) $(DESTDIR)$(man8dir)
+ install: install-am
+ install-exec: install-exec-am
+ install-data: install-data-am
+@@ -779,8 +759,6 @@
+ 
+ dvi-am:
+ 
+-html: html-am
+-
+ info: info-am
+ 
+ info-am:
+@@ -826,17 +804,17 @@
+ 	clean clean-binPROGRAMS clean-generic clean-libexecPROGRAMS \
+ 	clean-libtool clean-sbinPROGRAMS ctags distclean \
+ 	distclean-compile distclean-generic distclean-libtool \
+-	distclean-tags distdir dvi dvi-am html html-am info info-am \
+-	install install-am install-binPROGRAMS install-data \
+-	install-data-am install-exec install-exec-am install-info \
+-	install-info-am install-libexecPROGRAMS install-man \
+-	install-man8 install-sbinPROGRAMS install-strip installcheck \
+-	installcheck-am installdirs maintainer-clean \
+-	maintainer-clean-generic mostlyclean mostlyclean-compile \
+-	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+-	tags uninstall uninstall-am uninstall-binPROGRAMS \
+-	uninstall-info-am uninstall-libexecPROGRAMS uninstall-man \
+-	uninstall-man8 uninstall-sbinPROGRAMS
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-binPROGRAMS install-data install-data-am \
++	install-exec install-exec-am install-info install-info-am \
++	install-libexecPROGRAMS install-man install-man8 \
++	install-sbinPROGRAMS install-strip installcheck installcheck-am \
++	installdirs maintainer-clean maintainer-clean-generic \
++	mostlyclean mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
++	uninstall-am uninstall-binPROGRAMS uninstall-info-am \
++	uninstall-libexecPROGRAMS uninstall-man uninstall-man8 \
++	uninstall-sbinPROGRAMS
+ 
+ 
+ install-suid-programs:
+diff -ruN heimdal-0.6.3-old/kpasswd/Makefile.in heimdal-0.6.3/kpasswd/Makefile.in
+--- heimdal-0.6.3-old/kpasswd/Makefile.in	2004-09-13 22:29:16.000000000 +1000
++++ heimdal-0.6.3/kpasswd/Makefile.in	2004-09-14 08:39:53.000000000 +1000
+@@ -1,8 +1,8 @@
+-# Makefile.in generated by automake 1.8.3 from Makefile.am.
++# Makefile.in generated by automake 1.7.9 from Makefile.am.
+ # @configure_input@
+ 
+-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+-# 2003, 2004  Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
++# 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.
+@@ -20,8 +20,6 @@
+ 
+ # $Id: Makefile.am.common,v 1.37.2.2 2003/10/13 13:15:39 joda Exp $
+ 
+-SOURCES = $(kpasswd_SOURCES) kpasswd-generator.c $(kpasswdd_SOURCES)
+-
+ srcdir = @srcdir@
+ top_srcdir = @top_srcdir@
+ VPATH = @srcdir@
+@@ -29,6 +27,7 @@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+ top_builddir = ..
++
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+ INSTALL = @INSTALL@
+ install_sh_DATA = $(install_sh) -c -m 644
+@@ -43,103 +42,6 @@
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+ host_triplet = @host@
+-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+-	$(top_srcdir)/Makefile.am.common \
+-	$(top_srcdir)/cf/Makefile.am.common
+-bin_PROGRAMS = kpasswd$(EXEEXT)
+-libexec_PROGRAMS = kpasswdd$(EXEEXT)
+-noinst_PROGRAMS = kpasswd-generator$(EXEEXT)
+-subdir = kpasswd
+-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+-am__aclocal_m4_deps = $(top_srcdir)/cf/aix.m4 \
+-	$(top_srcdir)/cf/auth-modules.m4 \
+-	$(top_srcdir)/cf/broken-getaddrinfo.m4 \
+-	$(top_srcdir)/cf/broken-getnameinfo.m4 \
+-	$(top_srcdir)/cf/broken-glob.m4 \
+-	$(top_srcdir)/cf/broken-realloc.m4 \
+-	$(top_srcdir)/cf/broken-snprintf.m4 $(top_srcdir)/cf/broken.m4 \
+-	$(top_srcdir)/cf/broken2.m4 $(top_srcdir)/cf/c-attribute.m4 \
+-	$(top_srcdir)/cf/capabilities.m4 \
+-	$(top_srcdir)/cf/check-compile-et.m4 \
+-	$(top_srcdir)/cf/check-declaration.m4 \
+-	$(top_srcdir)/cf/check-getpwnam_r-posix.m4 \
+-	$(top_srcdir)/cf/check-man.m4 \
+-	$(top_srcdir)/cf/check-netinet-ip-and-tcp.m4 \
+-	$(top_srcdir)/cf/check-type-extra.m4 \
+-	$(top_srcdir)/cf/check-var.m4 $(top_srcdir)/cf/check-x.m4 \
+-	$(top_srcdir)/cf/check-xau.m4 $(top_srcdir)/cf/crypto.m4 \
+-	$(top_srcdir)/cf/db.m4 $(top_srcdir)/cf/destdirs.m4 \
+-	$(top_srcdir)/cf/dlopen.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs2.m4 \
+-	$(top_srcdir)/cf/find-func.m4 \
+-	$(top_srcdir)/cf/find-if-not-broken.m4 \
+-	$(top_srcdir)/cf/have-struct-field.m4 \
+-	$(top_srcdir)/cf/have-type.m4 $(top_srcdir)/cf/irix.m4 \
+-	$(top_srcdir)/cf/krb-bigendian.m4 \
+-	$(top_srcdir)/cf/krb-func-getlogin.m4 \
+-	$(top_srcdir)/cf/krb-ipv6.m4 $(top_srcdir)/cf/krb-prog-ln-s.m4 \
+-	$(top_srcdir)/cf/krb-readline.m4 \
+-	$(top_srcdir)/cf/krb-struct-spwd.m4 \
+-	$(top_srcdir)/cf/krb-struct-winsize.m4 \
+-	$(top_srcdir)/cf/mips-abi.m4 $(top_srcdir)/cf/misc.m4 \
+-	$(top_srcdir)/cf/need-proto.m4 $(top_srcdir)/cf/osfc2.m4 \
+-	$(top_srcdir)/cf/otp.m4 $(top_srcdir)/cf/proto-compat.m4 \
+-	$(top_srcdir)/cf/retsigtype.m4 $(top_srcdir)/cf/roken-frag.m4 \
+-	$(top_srcdir)/cf/sunos.m4 $(top_srcdir)/cf/telnet.m4 \
+-	$(top_srcdir)/cf/test-package.m4 $(top_srcdir)/cf/wflags.m4 \
+-	$(top_srcdir)/cf/with-all.m4 $(top_srcdir)/configure.in
+-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+-	$(ACLOCAL_M4)
+-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = $(top_builddir)/include/config.h
+-CONFIG_CLEAN_FILES =
+-am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(libexecdir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man8dir)"
+-binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+-libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+-PROGRAMS = $(bin_PROGRAMS) $(libexec_PROGRAMS) $(noinst_PROGRAMS)
+-am_kpasswd_OBJECTS = kpasswd.$(OBJEXT)
+-kpasswd_OBJECTS = $(am_kpasswd_OBJECTS)
+-kpasswd_LDADD = $(LDADD)
+-am__DEPENDENCIES_1 =
+-kpasswd_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
+-	$(am__DEPENDENCIES_1) $(top_builddir)/lib/asn1/libasn1.la \
+-	$(am__DEPENDENCIES_1)
+-kpasswd_generator_SOURCES = kpasswd-generator.c
+-kpasswd_generator_OBJECTS = kpasswd-generator.$(OBJEXT)
+-kpasswd_generator_LDADD = $(LDADD)
+-kpasswd_generator_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
+-	$(am__DEPENDENCIES_1) $(top_builddir)/lib/asn1/libasn1.la \
+-	$(am__DEPENDENCIES_1)
+-am_kpasswdd_OBJECTS = kpasswdd.$(OBJEXT)
+-kpasswdd_OBJECTS = $(am_kpasswdd_OBJECTS)
+-am__DEPENDENCIES_2 = $(top_builddir)/lib/krb5/libkrb5.la \
+-	$(am__DEPENDENCIES_1) $(top_builddir)/lib/asn1/libasn1.la \
+-	$(am__DEPENDENCIES_1)
+-kpasswdd_DEPENDENCIES = $(top_builddir)/lib/kadm5/libkadm5srv.la \
+-	$(top_builddir)/lib/hdb/libhdb.la $(am__DEPENDENCIES_1) \
+-	$(am__DEPENDENCIES_2) $(am__DEPENDENCIES_1) \
+-	$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
+-DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
+-depcomp =
+-am__depfiles_maybe =
+-COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+-	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) \
+-	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+-	$(AM_CFLAGS) $(CFLAGS)
+-CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+-	$(AM_LDFLAGS) $(LDFLAGS) -o $@
+-SOURCES = $(kpasswd_SOURCES) kpasswd-generator.c $(kpasswdd_SOURCES)
+-DIST_SOURCES = $(kpasswd_SOURCES) kpasswd-generator.c \
+-	$(kpasswdd_SOURCES)
+-man1dir = $(mandir)/man1
+-man8dir = $(mandir)/man8
+-MANS = $(man_MANS)
+-ETAGS = etags
+-CTAGS = ctags
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ ACLOCAL = @ACLOCAL@
+ AIX4_FALSE = @AIX4_FALSE@
+ AIX4_TRUE = @AIX4_TRUE@
+@@ -164,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -174,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -197,12 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
++
+ INCLUDE_krb4 = @INCLUDE_krb4@
++
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
++
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -215,6 +130,7 @@
+ KRB5_TRUE = @KRB5_TRUE@
+ LDFLAGS = @LDFLAGS@
+ LEX = @LEX@
++
+ LEXLIB = @LEXLIB@
+ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+ LIBOBJS = @LIBOBJS@
+@@ -223,6 +139,7 @@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+ LIB_XauFileName = @LIB_XauFileName@
++
+ LIB_XauReadAuth = @LIB_XauReadAuth@
+ LIB_XauWriteAuth = @LIB_XauWriteAuth@
+ LIB_bswap16 = @LIB_bswap16@
+@@ -271,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -351,7 +270,6 @@
+ libexecdir = @libexecdir@
+ localstatedir = @localstatedir@
+ mandir = @mandir@
+-mkdir_p = @mkdir_p@
+ oldincludedir = @oldincludedir@
+ prefix = @prefix@
+ program_transform_name = @program_transform_name@
+@@ -359,28 +277,52 @@
+ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
++
+ SUFFIXES = .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8
++
+ INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) $(INCLUDE_des)
++
+ @do_roken_rename_TRUE@ROKEN_RENAME = -DROKEN_RENAME
++
+ AM_CFLAGS = $(WFLAGS)
++
+ CP = cp
++
+ buildinclude = $(top_builddir)/include
+ LIB_getattr = @LIB_getattr@
+ LIB_getpwent_r = @LIB_getpwent_r@
+ LIB_odm_initialize = @LIB_odm_initialize@
+ LIB_setpcred = @LIB_setpcred@
++
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
++
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
++
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++
+ @KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
+ @KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+ 
+ @KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
++
+ @DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
++
+ man_MANS = kpasswd.1 kpasswdd.8
++
++bin_PROGRAMS = kpasswd
++
+ kpasswd_SOURCES = kpasswd.c kpasswd_locl.h
++
++libexec_PROGRAMS = kpasswdd
++
++noinst_PROGRAMS = kpasswd-generator
++
+ kpasswdd_SOURCES = kpasswdd.c kpasswd_locl.h
++
+ kpasswdd_LDADD = \
+ 	$(top_builddir)/lib/kadm5/libkadm5srv.la \
+ 	$(top_builddir)/lib/hdb/libhdb.la \
+@@ -390,55 +332,80 @@
+ 	$(LIB_dlopen) \
+ 	$(DBLIB)
+ 
++
+ LDADD = $(top_builddir)/lib/krb5/libkrb5.la \
+ 	$(LIB_des) \
+ 	$(top_builddir)/lib/asn1/libasn1.la \
+ 	$(LIB_roken)
+ 
++subdir = kpasswd
++ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
++mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++bin_PROGRAMS = kpasswd$(EXEEXT)
++libexec_PROGRAMS = kpasswdd$(EXEEXT)
++noinst_PROGRAMS = kpasswd-generator$(EXEEXT)
++PROGRAMS = $(bin_PROGRAMS) $(libexec_PROGRAMS) $(noinst_PROGRAMS)
++
++am_kpasswd_OBJECTS = kpasswd.$(OBJEXT)
++kpasswd_OBJECTS = $(am_kpasswd_OBJECTS)
++kpasswd_LDADD = $(LDADD)
++kpasswd_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++kpasswd_LDFLAGS =
++kpasswd_generator_SOURCES = kpasswd-generator.c
++kpasswd_generator_OBJECTS = kpasswd-generator.$(OBJEXT)
++kpasswd_generator_LDADD = $(LDADD)
++kpasswd_generator_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++kpasswd_generator_LDFLAGS =
++am_kpasswdd_OBJECTS = kpasswdd.$(OBJEXT)
++kpasswdd_OBJECTS = $(am_kpasswdd_OBJECTS)
++kpasswdd_DEPENDENCIES = $(top_builddir)/lib/kadm5/libkadm5srv.la \
++	$(top_builddir)/lib/hdb/libhdb.la \
++	$(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++kpasswdd_LDFLAGS =
++
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
++depcomp =
++am__depfiles_maybe =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++CCLD = $(CC)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++DIST_SOURCES = $(kpasswd_SOURCES) kpasswd-generator.c \
++	$(kpasswdd_SOURCES)
++MANS = $(man_MANS)
++DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/Makefile.am.common \
++	$(top_srcdir)/cf/Makefile.am.common Makefile.am
++SOURCES = $(kpasswd_SOURCES) kpasswd-generator.c $(kpasswdd_SOURCES)
++
+ all: all-am
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj
+-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(am__configure_deps)
+-	@for dep in $?; do \
+-	  case '$(am__configure_deps)' in \
+-	    *$$dep*) \
+-	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+-		&& exit 0; \
+-	      exit 1;; \
+-	  esac; \
+-	done; \
+-	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  --ignore-deps kpasswd/Makefile'; \
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+-	  $(AUTOMAKE) --foreign  --ignore-deps kpasswd/Makefile
+-.PRECIOUS: Makefile
+-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+-	@case '$?' in \
+-	  *config.status*) \
+-	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+-	  *) \
+-	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+-	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+-	esac;
+-
+-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-
+-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
++	  $(AUTOMAKE) --foreign  kpasswd/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
++binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ install-binPROGRAMS: $(bin_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
++	$(mkinstalldirs) $(DESTDIR)$(bindir)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+ 	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+ 	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+-	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
+-	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f || exit 1; \
+ 	  else :; fi; \
+ 	done
+ 
+@@ -446,8 +413,8 @@
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+ 	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
+-	  rm -f "$(DESTDIR)$(bindir)/$$f"; \
++	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
++	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+ clean-binPROGRAMS:
+@@ -456,17 +423,18 @@
+ 	  echo " rm -f $$p $$f"; \
+ 	  rm -f $$p $$f ; \
+ 	done
++libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ install-libexecPROGRAMS: $(libexec_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(libexecdir)" || $(mkdir_p) "$(DESTDIR)$(libexecdir)"
++	$(mkinstalldirs) $(DESTDIR)$(libexecdir)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+ 	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+ 	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+-	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(libexecdir)/$$f'"; \
+-	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(libexecdir)/$$f" || exit 1; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f || exit 1; \
+ 	  else :; fi; \
+ 	done
+ 
+@@ -474,8 +442,8 @@
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+ 	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  echo " rm -f '$(DESTDIR)$(libexecdir)/$$f'"; \
+-	  rm -f "$(DESTDIR)$(libexecdir)/$$f"; \
++	  echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
++	  rm -f $(DESTDIR)$(libexecdir)/$$f; \
+ 	done
+ 
+ clean-libexecPROGRAMS:
+@@ -502,19 +470,19 @@
+ 	$(LINK) $(kpasswdd_LDFLAGS) $(kpasswdd_OBJECTS) $(kpasswdd_LDADD) $(LIBS)
+ 
+ mostlyclean-compile:
+-	-rm -f *.$(OBJEXT)
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ .c.obj:
+-	$(COMPILE) -c `$(CYGPATH_W) '$<'`
++	$(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
+ 
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ mostlyclean-libtool:
+ 	-rm -f *.lo
+@@ -525,9 +493,11 @@
+ distclean-libtool:
+ 	-rm -f libtool
+ uninstall-info-am:
++
++man1dir = $(mandir)/man1
+ install-man1: $(man1_MANS) $(man_MANS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(man1dir)" || $(mkdir_p) "$(DESTDIR)$(man1dir)"
++	$(mkinstalldirs) $(DESTDIR)$(man1dir)
+ 	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
+ 	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
+ 	for i in $$l2; do \
+@@ -546,8 +516,8 @@
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+-	  echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
+-	  $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst"; \
++	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
++	  $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
+ 	done
+ uninstall-man1:
+ 	@$(NORMAL_UNINSTALL)
+@@ -567,12 +537,14 @@
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+-	  echo " rm -f '$(DESTDIR)$(man1dir)/$$inst'"; \
+-	  rm -f "$(DESTDIR)$(man1dir)/$$inst"; \
++	  echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
++	  rm -f $(DESTDIR)$(man1dir)/$$inst; \
+ 	done
++
++man8dir = $(mandir)/man8
+ install-man8: $(man8_MANS) $(man_MANS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(man8dir)" || $(mkdir_p) "$(DESTDIR)$(man8dir)"
++	$(mkinstalldirs) $(DESTDIR)$(man8dir)
+ 	@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
+ 	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
+ 	for i in $$l2; do \
+@@ -591,8 +563,8 @@
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+-	  echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man8dir)/$$inst'"; \
+-	  $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man8dir)/$$inst"; \
++	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst"; \
++	  $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst; \
+ 	done
+ uninstall-man8:
+ 	@$(NORMAL_UNINSTALL)
+@@ -612,10 +584,18 @@
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+-	  echo " rm -f '$(DESTDIR)$(man8dir)/$$inst'"; \
+-	  rm -f "$(DESTDIR)$(man8dir)/$$inst"; \
++	  echo " rm -f $(DESTDIR)$(man8dir)/$$inst"; \
++	  rm -f $(DESTDIR)$(man8dir)/$$inst; \
+ 	done
+ 
++ETAGS = etags
++ETAGSFLAGS =
++
++CTAGS = ctags
++CTAGSFLAGS =
++
++tags: TAGS
++
+ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ 	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ 	unique=`for i in $$list; do \
+@@ -624,7 +604,6 @@
+ 	  $(AWK) '    { files[$$0] = 1; } \
+ 	       END { for (i in files) print i; }'`; \
+ 	mkid -fID $$unique
+-tags: TAGS
+ 
+ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -639,6 +618,7 @@
+ 	test -z "$(ETAGS_ARGS)$$tags$$unique" \
+ 	  || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ 	     $$tags $$unique
++
+ ctags: CTAGS
+ CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -661,9 +641,13 @@
+ 
+ distclean-tags:
+ 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++
++top_distdir = ..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	$(mkdir_p) $(distdir)/.. $(distdir)/../cf
++	$(mkinstalldirs) $(distdir)/.. $(distdir)/../cf
+ 	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ 	list='$(DISTFILES)'; for file in $$list; do \
+@@ -675,7 +659,7 @@
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ 	    dir="/$$dir"; \
+-	    $(mkdir_p) "$(distdir)$$dir"; \
++	    $(mkinstalldirs) "$(distdir)$$dir"; \
+ 	  else \
+ 	    dir=''; \
+ 	  fi; \
+@@ -697,10 +681,9 @@
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+ all-am: Makefile $(PROGRAMS) $(MANS) all-local
++
+ installdirs:
+-	for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(libexecdir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man8dir)"; do \
+-	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
+-	done
++	$(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(libexecdir) $(DESTDIR)$(man1dir) $(DESTDIR)$(man8dir)
+ install: install-am
+ install-exec: install-exec-am
+ install-data: install-data-am
+@@ -739,8 +722,6 @@
+ 
+ dvi-am:
+ 
+-html: html-am
+-
+ info: info-am
+ 
+ info-am:
+@@ -785,17 +766,17 @@
+ 	clean clean-binPROGRAMS clean-generic clean-libexecPROGRAMS \
+ 	clean-libtool clean-noinstPROGRAMS ctags distclean \
+ 	distclean-compile distclean-generic distclean-libtool \
+-	distclean-tags distdir dvi dvi-am html html-am info info-am \
+-	install install-am install-binPROGRAMS install-data \
+-	install-data-am install-exec install-exec-am install-info \
+-	install-info-am install-libexecPROGRAMS install-man \
+-	install-man1 install-man8 install-strip installcheck \
+-	installcheck-am installdirs maintainer-clean \
+-	maintainer-clean-generic mostlyclean mostlyclean-compile \
+-	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+-	tags uninstall uninstall-am uninstall-binPROGRAMS \
+-	uninstall-info-am uninstall-libexecPROGRAMS uninstall-man \
+-	uninstall-man1 uninstall-man8
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-binPROGRAMS install-data install-data-am \
++	install-exec install-exec-am install-info install-info-am \
++	install-libexecPROGRAMS install-man install-man1 install-man8 \
++	install-strip installcheck installcheck-am installdirs \
++	maintainer-clean maintainer-clean-generic mostlyclean \
++	mostlyclean-compile mostlyclean-generic mostlyclean-libtool pdf \
++	pdf-am ps ps-am tags uninstall uninstall-am \
++	uninstall-binPROGRAMS uninstall-info-am \
++	uninstall-libexecPROGRAMS uninstall-man uninstall-man1 \
++	uninstall-man8
+ 
+ 
+ install-suid-programs:
+diff -ruN heimdal-0.6.3-old/kuser/Makefile.in heimdal-0.6.3/kuser/Makefile.in
+--- heimdal-0.6.3-old/kuser/Makefile.in	2004-09-13 22:29:17.000000000 +1000
++++ heimdal-0.6.3/kuser/Makefile.in	2004-09-14 08:39:53.000000000 +1000
+@@ -1,8 +1,8 @@
+-# Makefile.in generated by automake 1.8.3 from Makefile.am.
++# Makefile.in generated by automake 1.7.9 from Makefile.am.
+ # @configure_input@
+ 
+-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+-# 2003, 2004  Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
++# 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.
+@@ -20,8 +20,6 @@
+ 
+ # $Id: Makefile.am.common,v 1.37.2.2 2003/10/13 13:15:39 joda Exp $
+ 
+-SOURCES = generate-requests.c kdecode_ticket.c kdestroy.c kgetcred.c kinit.c klist.c kverify.c
+-
+ srcdir = @srcdir@
+ top_srcdir = @top_srcdir@
+ VPATH = @srcdir@
+@@ -29,6 +27,7 @@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+ top_builddir = ..
++
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+ INSTALL = @INSTALL@
+ install_sh_DATA = $(install_sh) -c -m 644
+@@ -43,124 +42,6 @@
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+ host_triplet = @host@
+-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+-	$(top_srcdir)/Makefile.am.common \
+-	$(top_srcdir)/cf/Makefile.am.common
+-bin_PROGRAMS = kinit$(EXEEXT) klist$(EXEEXT) kdestroy$(EXEEXT) \
+-	kgetcred$(EXEEXT)
+-noinst_PROGRAMS = kverify$(EXEEXT) kdecode_ticket$(EXEEXT) \
+-	generate-requests$(EXEEXT)
+-subdir = kuser
+-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+-am__aclocal_m4_deps = $(top_srcdir)/cf/aix.m4 \
+-	$(top_srcdir)/cf/auth-modules.m4 \
+-	$(top_srcdir)/cf/broken-getaddrinfo.m4 \
+-	$(top_srcdir)/cf/broken-getnameinfo.m4 \
+-	$(top_srcdir)/cf/broken-glob.m4 \
+-	$(top_srcdir)/cf/broken-realloc.m4 \
+-	$(top_srcdir)/cf/broken-snprintf.m4 $(top_srcdir)/cf/broken.m4 \
+-	$(top_srcdir)/cf/broken2.m4 $(top_srcdir)/cf/c-attribute.m4 \
+-	$(top_srcdir)/cf/capabilities.m4 \
+-	$(top_srcdir)/cf/check-compile-et.m4 \
+-	$(top_srcdir)/cf/check-declaration.m4 \
+-	$(top_srcdir)/cf/check-getpwnam_r-posix.m4 \
+-	$(top_srcdir)/cf/check-man.m4 \
+-	$(top_srcdir)/cf/check-netinet-ip-and-tcp.m4 \
+-	$(top_srcdir)/cf/check-type-extra.m4 \
+-	$(top_srcdir)/cf/check-var.m4 $(top_srcdir)/cf/check-x.m4 \
+-	$(top_srcdir)/cf/check-xau.m4 $(top_srcdir)/cf/crypto.m4 \
+-	$(top_srcdir)/cf/db.m4 $(top_srcdir)/cf/destdirs.m4 \
+-	$(top_srcdir)/cf/dlopen.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs2.m4 \
+-	$(top_srcdir)/cf/find-func.m4 \
+-	$(top_srcdir)/cf/find-if-not-broken.m4 \
+-	$(top_srcdir)/cf/have-struct-field.m4 \
+-	$(top_srcdir)/cf/have-type.m4 $(top_srcdir)/cf/irix.m4 \
+-	$(top_srcdir)/cf/krb-bigendian.m4 \
+-	$(top_srcdir)/cf/krb-func-getlogin.m4 \
+-	$(top_srcdir)/cf/krb-ipv6.m4 $(top_srcdir)/cf/krb-prog-ln-s.m4 \
+-	$(top_srcdir)/cf/krb-readline.m4 \
+-	$(top_srcdir)/cf/krb-struct-spwd.m4 \
+-	$(top_srcdir)/cf/krb-struct-winsize.m4 \
+-	$(top_srcdir)/cf/mips-abi.m4 $(top_srcdir)/cf/misc.m4 \
+-	$(top_srcdir)/cf/need-proto.m4 $(top_srcdir)/cf/osfc2.m4 \
+-	$(top_srcdir)/cf/otp.m4 $(top_srcdir)/cf/proto-compat.m4 \
+-	$(top_srcdir)/cf/retsigtype.m4 $(top_srcdir)/cf/roken-frag.m4 \
+-	$(top_srcdir)/cf/sunos.m4 $(top_srcdir)/cf/telnet.m4 \
+-	$(top_srcdir)/cf/test-package.m4 $(top_srcdir)/cf/wflags.m4 \
+-	$(top_srcdir)/cf/with-all.m4 $(top_srcdir)/configure.in
+-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+-	$(ACLOCAL_M4)
+-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = $(top_builddir)/include/config.h
+-CONFIG_CLEAN_FILES =
+-am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"
+-binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+-PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS)
+-generate_requests_SOURCES = generate-requests.c
+-generate_requests_OBJECTS = generate-requests.$(OBJEXT)
+-generate_requests_LDADD = $(LDADD)
+-am__DEPENDENCIES_1 =
+-generate_requests_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
+-	$(am__DEPENDENCIES_1) $(top_builddir)/lib/asn1/libasn1.la \
+-	$(am__DEPENDENCIES_1)
+-kdecode_ticket_SOURCES = kdecode_ticket.c
+-kdecode_ticket_OBJECTS = kdecode_ticket.$(OBJEXT)
+-kdecode_ticket_LDADD = $(LDADD)
+-kdecode_ticket_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
+-	$(am__DEPENDENCIES_1) $(top_builddir)/lib/asn1/libasn1.la \
+-	$(am__DEPENDENCIES_1)
+-kdestroy_SOURCES = kdestroy.c
+-kdestroy_OBJECTS = kdestroy.$(OBJEXT)
+-am__DEPENDENCIES_2 = $(top_builddir)/lib/kafs/libkafs.la \
+-	$(am__DEPENDENCIES_1)
+-am__DEPENDENCIES_3 = $(am__DEPENDENCIES_2) \
+-	$(top_builddir)/lib/krb5/libkrb5.la $(am__DEPENDENCIES_1) \
+-	$(am__DEPENDENCIES_1) $(top_builddir)/lib/asn1/libasn1.la \
+-	$(am__DEPENDENCIES_1)
+-kdestroy_DEPENDENCIES = $(am__DEPENDENCIES_3)
+-kgetcred_SOURCES = kgetcred.c
+-kgetcred_OBJECTS = kgetcred.$(OBJEXT)
+-kgetcred_LDADD = $(LDADD)
+-kgetcred_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
+-	$(am__DEPENDENCIES_1) $(top_builddir)/lib/asn1/libasn1.la \
+-	$(am__DEPENDENCIES_1)
+-kinit_SOURCES = kinit.c
+-kinit_OBJECTS = kinit.$(OBJEXT)
+-kinit_DEPENDENCIES = $(am__DEPENDENCIES_2) \
+-	$(top_builddir)/lib/krb5/libkrb5.la $(am__DEPENDENCIES_1) \
+-	$(am__DEPENDENCIES_1) $(top_builddir)/lib/asn1/libasn1.la \
+-	$(am__DEPENDENCIES_1)
+-klist_SOURCES = klist.c
+-klist_OBJECTS = klist.$(OBJEXT)
+-klist_DEPENDENCIES = $(am__DEPENDENCIES_3)
+-kverify_SOURCES = kverify.c
+-kverify_OBJECTS = kverify.$(OBJEXT)
+-kverify_LDADD = $(LDADD)
+-kverify_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
+-	$(am__DEPENDENCIES_1) $(top_builddir)/lib/asn1/libasn1.la \
+-	$(am__DEPENDENCIES_1)
+-DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
+-depcomp =
+-am__depfiles_maybe =
+-COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+-	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) \
+-	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+-	$(AM_CFLAGS) $(CFLAGS)
+-CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+-	$(AM_LDFLAGS) $(LDFLAGS) -o $@
+-SOURCES = generate-requests.c kdecode_ticket.c kdestroy.c kgetcred.c \
+-	kinit.c klist.c kverify.c
+-DIST_SOURCES = generate-requests.c kdecode_ticket.c kdestroy.c \
+-	kgetcred.c kinit.c klist.c kverify.c
+-man1dir = $(mandir)/man1
+-MANS = $(man_MANS)
+-ETAGS = etags
+-CTAGS = ctags
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ ACLOCAL = @ACLOCAL@
+ AIX4_FALSE = @AIX4_FALSE@
+ AIX4_TRUE = @AIX4_TRUE@
+@@ -185,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -195,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -218,12 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
++
+ INCLUDE_krb4 = @INCLUDE_krb4@
++
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
++
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -236,6 +130,7 @@
+ KRB5_TRUE = @KRB5_TRUE@
+ LDFLAGS = @LDFLAGS@
+ LEX = @LEX@
++
+ LEXLIB = @LEXLIB@
+ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+ LIBOBJS = @LIBOBJS@
+@@ -244,6 +139,7 @@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+ LIB_XauFileName = @LIB_XauFileName@
++
+ LIB_XauReadAuth = @LIB_XauReadAuth@
+ LIB_XauWriteAuth = @LIB_XauWriteAuth@
+ LIB_bswap16 = @LIB_bswap16@
+@@ -292,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -372,7 +270,6 @@
+ libexecdir = @libexecdir@
+ localstatedir = @localstatedir@
+ mandir = @mandir@
+-mkdir_p = @mkdir_p@
+ oldincludedir = @oldincludedir@
+ prefix = @prefix@
+ program_transform_name = @program_transform_name@
+@@ -380,26 +277,46 @@
+ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
++
+ SUFFIXES = .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8
++
+ INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) $(INCLUDE_krb4) $(INCLUDE_des) -I$(srcdir)/../lib/krb5
++
+ @do_roken_rename_TRUE@ROKEN_RENAME = -DROKEN_RENAME
++
+ AM_CFLAGS = $(WFLAGS)
++
+ CP = cp
++
+ buildinclude = $(top_builddir)/include
+ LIB_getattr = @LIB_getattr@
+ LIB_getpwent_r = @LIB_getpwent_r@
+ LIB_odm_initialize = @LIB_odm_initialize@
+ LIB_setpcred = @LIB_setpcred@
++
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
++
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
++
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++
+ @KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
+ @KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+ 
+ @KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
++
+ @DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
++
+ man_MANS = kinit.1 klist.1 kdestroy.1 kgetcred.1
++
++bin_PROGRAMS = kinit klist kdestroy kgetcred
++
++noinst_PROGRAMS = kverify kdecode_ticket generate-requests
++
+ kinit_LDADD = \
+ 	$(LIB_kafs) \
+ 	$(top_builddir)/lib/krb5/libkrb5.la \
+@@ -408,58 +325,109 @@
+ 	$(top_builddir)/lib/asn1/libasn1.la \
+ 	$(LIB_roken)
+ 
++
+ kdestroy_LDADD = $(kinit_LDADD)
++
+ klist_LDADD = $(kinit_LDADD)
++
+ LDADD = \
+ 	$(top_builddir)/lib/krb5/libkrb5.la \
+ 	$(LIB_des) \
+ 	$(top_builddir)/lib/asn1/libasn1.la \
+ 	$(LIB_roken)
+ 
++subdir = kuser
++ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
++mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++bin_PROGRAMS = kinit$(EXEEXT) klist$(EXEEXT) kdestroy$(EXEEXT) \
++	kgetcred$(EXEEXT)
++noinst_PROGRAMS = kverify$(EXEEXT) kdecode_ticket$(EXEEXT) \
++	generate-requests$(EXEEXT)
++PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS)
++
++generate_requests_SOURCES = generate-requests.c
++generate_requests_OBJECTS = generate-requests.$(OBJEXT)
++generate_requests_LDADD = $(LDADD)
++generate_requests_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++generate_requests_LDFLAGS =
++kdecode_ticket_SOURCES = kdecode_ticket.c
++kdecode_ticket_OBJECTS = kdecode_ticket.$(OBJEXT)
++kdecode_ticket_LDADD = $(LDADD)
++kdecode_ticket_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++kdecode_ticket_LDFLAGS =
++kdestroy_SOURCES = kdestroy.c
++kdestroy_OBJECTS = kdestroy.$(OBJEXT)
++kdestroy_DEPENDENCIES = $(top_builddir)/lib/kafs/libkafs.la \
++	$(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++kdestroy_LDFLAGS =
++kgetcred_SOURCES = kgetcred.c
++kgetcred_OBJECTS = kgetcred.$(OBJEXT)
++kgetcred_LDADD = $(LDADD)
++kgetcred_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++kgetcred_LDFLAGS =
++kinit_SOURCES = kinit.c
++kinit_OBJECTS = kinit.$(OBJEXT)
++kinit_DEPENDENCIES = $(top_builddir)/lib/kafs/libkafs.la \
++	$(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++kinit_LDFLAGS =
++klist_SOURCES = klist.c
++klist_OBJECTS = klist.$(OBJEXT)
++klist_DEPENDENCIES = $(top_builddir)/lib/kafs/libkafs.la \
++	$(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++klist_LDFLAGS =
++kverify_SOURCES = kverify.c
++kverify_OBJECTS = kverify.$(OBJEXT)
++kverify_LDADD = $(LDADD)
++kverify_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++kverify_LDFLAGS =
++
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
++depcomp =
++am__depfiles_maybe =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++CCLD = $(CC)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++DIST_SOURCES = generate-requests.c kdecode_ticket.c kdestroy.c \
++	kgetcred.c kinit.c klist.c kverify.c
++MANS = $(man_MANS)
++DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/Makefile.am.common \
++	$(top_srcdir)/cf/Makefile.am.common Makefile.am
++SOURCES = generate-requests.c kdecode_ticket.c kdestroy.c kgetcred.c kinit.c klist.c kverify.c
++
+ all: all-am
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj
+-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(am__configure_deps)
+-	@for dep in $?; do \
+-	  case '$(am__configure_deps)' in \
+-	    *$$dep*) \
+-	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+-		&& exit 0; \
+-	      exit 1;; \
+-	  esac; \
+-	done; \
+-	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  --ignore-deps kuser/Makefile'; \
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+-	  $(AUTOMAKE) --foreign  --ignore-deps kuser/Makefile
+-.PRECIOUS: Makefile
+-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+-	@case '$?' in \
+-	  *config.status*) \
+-	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+-	  *) \
+-	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+-	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+-	esac;
+-
+-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-
+-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
++	  $(AUTOMAKE) --foreign  kuser/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
++binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ install-binPROGRAMS: $(bin_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
++	$(mkinstalldirs) $(DESTDIR)$(bindir)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+ 	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+ 	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+-	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
+-	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f || exit 1; \
+ 	  else :; fi; \
+ 	done
+ 
+@@ -467,8 +435,8 @@
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+ 	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
+-	  rm -f "$(DESTDIR)$(bindir)/$$f"; \
++	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
++	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+ clean-binPROGRAMS:
+@@ -507,19 +475,19 @@
+ 	$(LINK) $(kverify_LDFLAGS) $(kverify_OBJECTS) $(kverify_LDADD) $(LIBS)
+ 
+ mostlyclean-compile:
+-	-rm -f *.$(OBJEXT)
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ .c.obj:
+-	$(COMPILE) -c `$(CYGPATH_W) '$<'`
++	$(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
+ 
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ mostlyclean-libtool:
+ 	-rm -f *.lo
+@@ -530,9 +498,11 @@
+ distclean-libtool:
+ 	-rm -f libtool
+ uninstall-info-am:
++
++man1dir = $(mandir)/man1
+ install-man1: $(man1_MANS) $(man_MANS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(man1dir)" || $(mkdir_p) "$(DESTDIR)$(man1dir)"
++	$(mkinstalldirs) $(DESTDIR)$(man1dir)
+ 	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
+ 	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
+ 	for i in $$l2; do \
+@@ -551,8 +521,8 @@
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+-	  echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
+-	  $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst"; \
++	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
++	  $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
+ 	done
+ uninstall-man1:
+ 	@$(NORMAL_UNINSTALL)
+@@ -572,10 +542,18 @@
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+-	  echo " rm -f '$(DESTDIR)$(man1dir)/$$inst'"; \
+-	  rm -f "$(DESTDIR)$(man1dir)/$$inst"; \
++	  echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
++	  rm -f $(DESTDIR)$(man1dir)/$$inst; \
+ 	done
+ 
++ETAGS = etags
++ETAGSFLAGS =
++
++CTAGS = ctags
++CTAGSFLAGS =
++
++tags: TAGS
++
+ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ 	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ 	unique=`for i in $$list; do \
+@@ -584,7 +562,6 @@
+ 	  $(AWK) '    { files[$$0] = 1; } \
+ 	       END { for (i in files) print i; }'`; \
+ 	mkid -fID $$unique
+-tags: TAGS
+ 
+ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -599,6 +576,7 @@
+ 	test -z "$(ETAGS_ARGS)$$tags$$unique" \
+ 	  || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ 	     $$tags $$unique
++
+ ctags: CTAGS
+ CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -621,9 +599,13 @@
+ 
+ distclean-tags:
+ 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++
++top_distdir = ..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	$(mkdir_p) $(distdir)/.. $(distdir)/../cf
++	$(mkinstalldirs) $(distdir)/.. $(distdir)/../cf
+ 	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ 	list='$(DISTFILES)'; for file in $$list; do \
+@@ -635,7 +617,7 @@
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ 	    dir="/$$dir"; \
+-	    $(mkdir_p) "$(distdir)$$dir"; \
++	    $(mkinstalldirs) "$(distdir)$$dir"; \
+ 	  else \
+ 	    dir=''; \
+ 	  fi; \
+@@ -657,10 +639,9 @@
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+ all-am: Makefile $(PROGRAMS) $(MANS) all-local
++
+ installdirs:
+-	for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"; do \
+-	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
+-	done
++	$(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(man1dir)
+ install: install-am
+ install-exec: install-exec-am
+ install-data: install-data-am
+@@ -699,8 +680,6 @@
+ 
+ dvi-am:
+ 
+-html: html-am
+-
+ info: info-am
+ 
+ info-am:
+@@ -744,15 +723,15 @@
+ 	clean clean-binPROGRAMS clean-generic clean-libtool \
+ 	clean-noinstPROGRAMS ctags distclean distclean-compile \
+ 	distclean-generic distclean-libtool distclean-tags distdir dvi \
+-	dvi-am html html-am info info-am install install-am \
+-	install-binPROGRAMS install-data install-data-am install-exec \
+-	install-exec-am install-info install-info-am install-man \
+-	install-man1 install-strip installcheck installcheck-am \
+-	installdirs maintainer-clean maintainer-clean-generic \
+-	mostlyclean mostlyclean-compile mostlyclean-generic \
+-	mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
+-	uninstall-am uninstall-binPROGRAMS uninstall-info-am \
+-	uninstall-man uninstall-man1
++	dvi-am info info-am install install-am install-binPROGRAMS \
++	install-data install-data-am install-exec install-exec-am \
++	install-info install-info-am install-man install-man1 \
++	install-strip installcheck installcheck-am installdirs \
++	maintainer-clean maintainer-clean-generic mostlyclean \
++	mostlyclean-compile mostlyclean-generic mostlyclean-libtool pdf \
++	pdf-am ps ps-am tags uninstall uninstall-am \
++	uninstall-binPROGRAMS uninstall-info-am uninstall-man \
++	uninstall-man1
+ 
+ 
+ install-suid-programs:
+diff -ruN heimdal-0.6.3-old/lib/45/Makefile.in heimdal-0.6.3/lib/45/Makefile.in
+--- heimdal-0.6.3-old/lib/45/Makefile.in	2004-09-13 22:29:17.000000000 +1000
++++ heimdal-0.6.3/lib/45/Makefile.in	2004-09-14 08:39:54.000000000 +1000
+@@ -1,8 +1,8 @@
+-# Makefile.in generated by automake 1.8.3 from Makefile.am.
++# Makefile.in generated by automake 1.7.9 from Makefile.am.
+ # @configure_input@
+ 
+-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+-# 2003, 2004  Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
++# 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.
+@@ -20,8 +20,6 @@
+ 
+ # $Id: Makefile.am.common,v 1.37.2.2 2003/10/13 13:15:39 joda Exp $
+ 
+-SOURCES = $(lib45_a_SOURCES)
+-
+ srcdir = @srcdir@
+ top_srcdir = @top_srcdir@
+ VPATH = @srcdir@
+@@ -29,6 +27,7 @@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+ top_builddir = ../..
++
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+ INSTALL = @INSTALL@
+ install_sh_DATA = $(install_sh) -c -m 644
+@@ -43,78 +42,6 @@
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+ host_triplet = @host@
+-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+-	$(top_srcdir)/Makefile.am.common \
+-	$(top_srcdir)/cf/Makefile.am.common
+-subdir = lib/45
+-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+-am__aclocal_m4_deps = $(top_srcdir)/cf/aix.m4 \
+-	$(top_srcdir)/cf/auth-modules.m4 \
+-	$(top_srcdir)/cf/broken-getaddrinfo.m4 \
+-	$(top_srcdir)/cf/broken-getnameinfo.m4 \
+-	$(top_srcdir)/cf/broken-glob.m4 \
+-	$(top_srcdir)/cf/broken-realloc.m4 \
+-	$(top_srcdir)/cf/broken-snprintf.m4 $(top_srcdir)/cf/broken.m4 \
+-	$(top_srcdir)/cf/broken2.m4 $(top_srcdir)/cf/c-attribute.m4 \
+-	$(top_srcdir)/cf/capabilities.m4 \
+-	$(top_srcdir)/cf/check-compile-et.m4 \
+-	$(top_srcdir)/cf/check-declaration.m4 \
+-	$(top_srcdir)/cf/check-getpwnam_r-posix.m4 \
+-	$(top_srcdir)/cf/check-man.m4 \
+-	$(top_srcdir)/cf/check-netinet-ip-and-tcp.m4 \
+-	$(top_srcdir)/cf/check-type-extra.m4 \
+-	$(top_srcdir)/cf/check-var.m4 $(top_srcdir)/cf/check-x.m4 \
+-	$(top_srcdir)/cf/check-xau.m4 $(top_srcdir)/cf/crypto.m4 \
+-	$(top_srcdir)/cf/db.m4 $(top_srcdir)/cf/destdirs.m4 \
+-	$(top_srcdir)/cf/dlopen.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs2.m4 \
+-	$(top_srcdir)/cf/find-func.m4 \
+-	$(top_srcdir)/cf/find-if-not-broken.m4 \
+-	$(top_srcdir)/cf/have-struct-field.m4 \
+-	$(top_srcdir)/cf/have-type.m4 $(top_srcdir)/cf/irix.m4 \
+-	$(top_srcdir)/cf/krb-bigendian.m4 \
+-	$(top_srcdir)/cf/krb-func-getlogin.m4 \
+-	$(top_srcdir)/cf/krb-ipv6.m4 $(top_srcdir)/cf/krb-prog-ln-s.m4 \
+-	$(top_srcdir)/cf/krb-readline.m4 \
+-	$(top_srcdir)/cf/krb-struct-spwd.m4 \
+-	$(top_srcdir)/cf/krb-struct-winsize.m4 \
+-	$(top_srcdir)/cf/mips-abi.m4 $(top_srcdir)/cf/misc.m4 \
+-	$(top_srcdir)/cf/need-proto.m4 $(top_srcdir)/cf/osfc2.m4 \
+-	$(top_srcdir)/cf/otp.m4 $(top_srcdir)/cf/proto-compat.m4 \
+-	$(top_srcdir)/cf/retsigtype.m4 $(top_srcdir)/cf/roken-frag.m4 \
+-	$(top_srcdir)/cf/sunos.m4 $(top_srcdir)/cf/telnet.m4 \
+-	$(top_srcdir)/cf/test-package.m4 $(top_srcdir)/cf/wflags.m4 \
+-	$(top_srcdir)/cf/with-all.m4 $(top_srcdir)/configure.in
+-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+-	$(ACLOCAL_M4)
+-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = $(top_builddir)/include/config.h
+-CONFIG_CLEAN_FILES =
+-ARFLAGS = cru
+-am__installdirs = "$(DESTDIR)$(libdir)"
+-libLIBRARIES_INSTALL = $(INSTALL_DATA)
+-LIBRARIES = $(lib_LIBRARIES)
+-lib45_a_AR = $(AR) $(ARFLAGS)
+-lib45_a_LIBADD =
+-am_lib45_a_OBJECTS = get_ad_tkt.$(OBJEXT) mk_req.$(OBJEXT)
+-lib45_a_OBJECTS = $(am_lib45_a_OBJECTS)
+-DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
+-depcomp =
+-am__depfiles_maybe =
+-COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+-	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) \
+-	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+-	$(AM_CFLAGS) $(CFLAGS)
+-CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+-	$(AM_LDFLAGS) $(LDFLAGS) -o $@
+-SOURCES = $(lib45_a_SOURCES)
+-DIST_SOURCES = $(lib45_a_SOURCES)
+-ETAGS = etags
+-CTAGS = ctags
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ ACLOCAL = @ACLOCAL@
+ AIX4_FALSE = @AIX4_FALSE@
+ AIX4_TRUE = @AIX4_TRUE@
+@@ -139,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -149,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -172,12 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
++
+ INCLUDE_krb4 = @INCLUDE_krb4@
++
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
++
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -190,6 +130,7 @@
+ KRB5_TRUE = @KRB5_TRUE@
+ LDFLAGS = @LDFLAGS@
+ LEX = @LEX@
++
+ LEXLIB = @LEXLIB@
+ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+ LIBOBJS = @LIBOBJS@
+@@ -198,6 +139,7 @@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+ LIB_XauFileName = @LIB_XauFileName@
++
+ LIB_XauReadAuth = @LIB_XauReadAuth@
+ LIB_XauWriteAuth = @LIB_XauWriteAuth@
+ LIB_bswap16 = @LIB_bswap16@
+@@ -246,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -326,7 +270,6 @@
+ libexecdir = @libexecdir@
+ localstatedir = @localstatedir@
+ mandir = @mandir@
+-mkdir_p = @mkdir_p@
+ oldincludedir = @oldincludedir@
+ prefix = @prefix@
+ program_transform_name = @program_transform_name@
+@@ -334,77 +277,98 @@
+ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
++
+ SUFFIXES = .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8
++
+ INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) $(INCLUDE_krb4)
++
+ @do_roken_rename_TRUE@ROKEN_RENAME = -DROKEN_RENAME
++
+ AM_CFLAGS = $(WFLAGS)
++
+ CP = cp
++
+ buildinclude = $(top_builddir)/include
+ LIB_getattr = @LIB_getattr@
+ LIB_getpwent_r = @LIB_getpwent_r@
+ LIB_odm_initialize = @LIB_odm_initialize@
+ LIB_setpcred = @LIB_setpcred@
++
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
++
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
++
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++
+ @KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
+ @KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+ 
+ @KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
++
+ @DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
++
+ lib_LIBRARIES = @EXTRA_LIB45@
++
+ EXTRA_LIBRARIES = lib45.a
++
+ lib45_a_SOURCES = get_ad_tkt.c mk_req.c 45_locl.h
++subdir = lib/45
++ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
++mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++LIBRARIES = $(lib_LIBRARIES)
++
++lib45_a_AR = $(AR) cru
++lib45_a_LIBADD =
++am_lib45_a_OBJECTS = get_ad_tkt.$(OBJEXT) mk_req.$(OBJEXT)
++lib45_a_OBJECTS = $(am_lib45_a_OBJECTS)
++
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
++depcomp =
++am__depfiles_maybe =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++CCLD = $(CC)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++DIST_SOURCES = $(lib45_a_SOURCES)
++DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/Makefile.am.common \
++	$(top_srcdir)/cf/Makefile.am.common Makefile.am
++SOURCES = $(lib45_a_SOURCES)
++
+ all: all-am
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj
+-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(am__configure_deps)
+-	@for dep in $?; do \
+-	  case '$(am__configure_deps)' in \
+-	    *$$dep*) \
+-	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+-		&& exit 0; \
+-	      exit 1;; \
+-	  esac; \
+-	done; \
+-	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  --ignore-deps lib/45/Makefile'; \
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+-	  $(AUTOMAKE) --foreign  --ignore-deps lib/45/Makefile
+-.PRECIOUS: Makefile
+-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+-	@case '$?' in \
+-	  *config.status*) \
+-	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+-	  *) \
+-	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+-	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+-	esac;
+-
+-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-
+-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
++	  $(AUTOMAKE) --foreign  lib/45/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
++libLIBRARIES_INSTALL = $(INSTALL_DATA)
+ install-libLIBRARIES: $(lib_LIBRARIES)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)"
++	$(mkinstalldirs) $(DESTDIR)$(libdir)
+ 	@list='$(lib_LIBRARIES)'; for p in $$list; do \
+ 	  if test -f $$p; then \
+ 	    f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	    echo " $(libLIBRARIES_INSTALL) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
+-	    $(libLIBRARIES_INSTALL) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
++	    echo " $(libLIBRARIES_INSTALL) $$p $(DESTDIR)$(libdir)/$$f"; \
++	    $(libLIBRARIES_INSTALL) $$p $(DESTDIR)$(libdir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 	@$(POST_INSTALL)
+ 	@list='$(lib_LIBRARIES)'; for p in $$list; do \
+ 	  if test -f $$p; then \
+ 	    p="`echo $$p | sed -e 's|^.*/||'`"; \
+-	    echo " $(RANLIB) '$(DESTDIR)$(libdir)/$$p'"; \
+-	    $(RANLIB) "$(DESTDIR)$(libdir)/$$p"; \
++	    echo " $(RANLIB) $(DESTDIR)$(libdir)/$$p"; \
++	    $(RANLIB) $(DESTDIR)$(libdir)/$$p; \
+ 	  else :; fi; \
+ 	done
+ 
+@@ -412,8 +376,8 @@
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(lib_LIBRARIES)'; for p in $$list; do \
+ 	  p="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " rm -f '$(DESTDIR)$(libdir)/$$p'"; \
+-	  rm -f "$(DESTDIR)$(libdir)/$$p"; \
++	  echo " rm -f $(DESTDIR)$(libdir)/$$p"; \
++	  rm -f $(DESTDIR)$(libdir)/$$p; \
+ 	done
+ 
+ clean-libLIBRARIES:
+@@ -424,19 +388,19 @@
+ 	$(RANLIB) lib45.a
+ 
+ mostlyclean-compile:
+-	-rm -f *.$(OBJEXT)
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ .c.obj:
+-	$(COMPILE) -c `$(CYGPATH_W) '$<'`
++	$(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
+ 
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ mostlyclean-libtool:
+ 	-rm -f *.lo
+@@ -448,6 +412,14 @@
+ 	-rm -f libtool
+ uninstall-info-am:
+ 
++ETAGS = etags
++ETAGSFLAGS =
++
++CTAGS = ctags
++CTAGSFLAGS =
++
++tags: TAGS
++
+ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ 	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ 	unique=`for i in $$list; do \
+@@ -456,7 +428,6 @@
+ 	  $(AWK) '    { files[$$0] = 1; } \
+ 	       END { for (i in files) print i; }'`; \
+ 	mkid -fID $$unique
+-tags: TAGS
+ 
+ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -471,6 +442,7 @@
+ 	test -z "$(ETAGS_ARGS)$$tags$$unique" \
+ 	  || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ 	     $$tags $$unique
++
+ ctags: CTAGS
+ CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -493,9 +465,13 @@
+ 
+ distclean-tags:
+ 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	$(mkdir_p) $(distdir)/../.. $(distdir)/../../cf
++	$(mkinstalldirs) $(distdir)/../.. $(distdir)/../../cf
+ 	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ 	list='$(DISTFILES)'; for file in $$list; do \
+@@ -507,7 +483,7 @@
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ 	    dir="/$$dir"; \
+-	    $(mkdir_p) "$(distdir)$$dir"; \
++	    $(mkinstalldirs) "$(distdir)$$dir"; \
+ 	  else \
+ 	    dir=''; \
+ 	  fi; \
+@@ -529,10 +505,9 @@
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+ all-am: Makefile $(LIBRARIES) all-local
++
+ installdirs:
+-	for dir in "$(DESTDIR)$(libdir)"; do \
+-	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
+-	done
++	$(mkinstalldirs) $(DESTDIR)$(libdir)
+ install: install-am
+ install-exec: install-exec-am
+ install-data: install-data-am
+@@ -559,8 +534,7 @@
+ 	@echo "it deletes files that may require special tools to rebuild."
+ clean: clean-am
+ 
+-clean-am: clean-generic clean-libLIBRARIES clean-libtool \
+-	mostlyclean-am
++clean-am: clean-generic clean-libLIBRARIES clean-libtool mostlyclean-am
+ 
+ distclean: distclean-am
+ 	-rm -f Makefile
+@@ -571,8 +545,6 @@
+ 
+ dvi-am:
+ 
+-html: html-am
+-
+ info: info-am
+ 
+ info-am:
+@@ -612,12 +584,12 @@
+ 
+ .PHONY: CTAGS GTAGS all all-am all-local check check-am check-local \
+ 	clean clean-generic clean-libLIBRARIES clean-libtool ctags \
+-	distclean distclean-compile distclean-generic \
+-	distclean-libtool distclean-tags distdir dvi dvi-am html \
+-	html-am info info-am install install-am install-data \
+-	install-data-am install-exec install-exec-am install-info \
+-	install-info-am install-libLIBRARIES install-man install-strip \
+-	installcheck installcheck-am installdirs maintainer-clean \
++	distclean distclean-compile distclean-generic distclean-libtool \
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-data install-data-am install-exec \
++	install-exec-am install-info install-info-am \
++	install-libLIBRARIES install-man install-strip installcheck \
++	installcheck-am installdirs maintainer-clean \
+ 	maintainer-clean-generic mostlyclean mostlyclean-compile \
+ 	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+ 	tags uninstall uninstall-am uninstall-info-am \
+diff -ruN heimdal-0.6.3-old/lib/asn1/Makefile.in heimdal-0.6.3/lib/asn1/Makefile.in
+--- heimdal-0.6.3-old/lib/asn1/Makefile.in	2004-09-13 22:29:19.000000000 +1000
++++ heimdal-0.6.3/lib/asn1/Makefile.in	2004-09-14 08:39:55.000000000 +1000
+@@ -1,8 +1,8 @@
+-# Makefile.in generated by automake 1.8.3 from Makefile.am.
++# Makefile.in generated by automake 1.7.9 from Makefile.am.
+ # @configure_input@
+ 
+-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+-# 2003, 2004  Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
++# 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.
+@@ -20,10 +20,6 @@
+ 
+ # $Id: Makefile.am.common,v 1.37.2.2 2003/10/13 13:15:39 joda Exp $
+ 
+-
+-
+-SOURCES = $(libasn1_la_SOURCES) $(asn1_compile_SOURCES) asn1_print.c $(check_der_SOURCES) $(check_gen_SOURCES)
+-
+ srcdir = @srcdir@
+ top_srcdir = @top_srcdir@
+ VPATH = @srcdir@
+@@ -31,6 +27,7 @@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+ top_builddir = ../..
++
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+ INSTALL = @INSTALL@
+ install_sh_DATA = $(install_sh) -c -m 644
+@@ -45,128 +42,6 @@
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+ host_triplet = @host@
+-DIST_COMMON = $(include_HEADERS) $(srcdir)/Makefile.am \
+-	$(srcdir)/Makefile.in $(top_srcdir)/Makefile.am.common \
+-	$(top_srcdir)/cf/Makefile.am.common lex.c parse.c parse.h
+-noinst_PROGRAMS = asn1_compile$(EXEEXT) asn1_print$(EXEEXT)
+-check_PROGRAMS = check-der$(EXEEXT) check-gen$(EXEEXT)
+-subdir = lib/asn1
+-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+-am__aclocal_m4_deps = $(top_srcdir)/cf/aix.m4 \
+-	$(top_srcdir)/cf/auth-modules.m4 \
+-	$(top_srcdir)/cf/broken-getaddrinfo.m4 \
+-	$(top_srcdir)/cf/broken-getnameinfo.m4 \
+-	$(top_srcdir)/cf/broken-glob.m4 \
+-	$(top_srcdir)/cf/broken-realloc.m4 \
+-	$(top_srcdir)/cf/broken-snprintf.m4 $(top_srcdir)/cf/broken.m4 \
+-	$(top_srcdir)/cf/broken2.m4 $(top_srcdir)/cf/c-attribute.m4 \
+-	$(top_srcdir)/cf/capabilities.m4 \
+-	$(top_srcdir)/cf/check-compile-et.m4 \
+-	$(top_srcdir)/cf/check-declaration.m4 \
+-	$(top_srcdir)/cf/check-getpwnam_r-posix.m4 \
+-	$(top_srcdir)/cf/check-man.m4 \
+-	$(top_srcdir)/cf/check-netinet-ip-and-tcp.m4 \
+-	$(top_srcdir)/cf/check-type-extra.m4 \
+-	$(top_srcdir)/cf/check-var.m4 $(top_srcdir)/cf/check-x.m4 \
+-	$(top_srcdir)/cf/check-xau.m4 $(top_srcdir)/cf/crypto.m4 \
+-	$(top_srcdir)/cf/db.m4 $(top_srcdir)/cf/destdirs.m4 \
+-	$(top_srcdir)/cf/dlopen.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs2.m4 \
+-	$(top_srcdir)/cf/find-func.m4 \
+-	$(top_srcdir)/cf/find-if-not-broken.m4 \
+-	$(top_srcdir)/cf/have-struct-field.m4 \
+-	$(top_srcdir)/cf/have-type.m4 $(top_srcdir)/cf/irix.m4 \
+-	$(top_srcdir)/cf/krb-bigendian.m4 \
+-	$(top_srcdir)/cf/krb-func-getlogin.m4 \
+-	$(top_srcdir)/cf/krb-ipv6.m4 $(top_srcdir)/cf/krb-prog-ln-s.m4 \
+-	$(top_srcdir)/cf/krb-readline.m4 \
+-	$(top_srcdir)/cf/krb-struct-spwd.m4 \
+-	$(top_srcdir)/cf/krb-struct-winsize.m4 \
+-	$(top_srcdir)/cf/mips-abi.m4 $(top_srcdir)/cf/misc.m4 \
+-	$(top_srcdir)/cf/need-proto.m4 $(top_srcdir)/cf/osfc2.m4 \
+-	$(top_srcdir)/cf/otp.m4 $(top_srcdir)/cf/proto-compat.m4 \
+-	$(top_srcdir)/cf/retsigtype.m4 $(top_srcdir)/cf/roken-frag.m4 \
+-	$(top_srcdir)/cf/sunos.m4 $(top_srcdir)/cf/telnet.m4 \
+-	$(top_srcdir)/cf/test-package.m4 $(top_srcdir)/cf/wflags.m4 \
+-	$(top_srcdir)/cf/with-all.m4 $(top_srcdir)/configure.in
+-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+-	$(ACLOCAL_M4)
+-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = $(top_builddir)/include/config.h
+-CONFIG_CLEAN_FILES =
+-am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(includedir)"
+-libLTLIBRARIES_INSTALL = $(INSTALL)
+-LTLIBRARIES = $(lib_LTLIBRARIES)
+-libasn1_la_DEPENDENCIES =
+-am__objects_1 = asn1_APOptions.lo asn1_AP_REP.lo asn1_AP_REQ.lo \
+-	asn1_AS_REP.lo asn1_AS_REQ.lo asn1_Authenticator.lo \
+-	asn1_AuthorizationData.lo asn1_CKSUMTYPE.lo \
+-	asn1_ChangePasswdDataMS.lo asn1_Checksum.lo asn1_ENCTYPE.lo \
+-	asn1_ETYPE_INFO.lo asn1_ETYPE_INFO_ENTRY.lo \
+-	asn1_EncAPRepPart.lo asn1_EncASRepPart.lo \
+-	asn1_EncKDCRepPart.lo asn1_EncKrbCredPart.lo \
+-	asn1_EncKrbPrivPart.lo asn1_EncTGSRepPart.lo \
+-	asn1_EncTicketPart.lo asn1_EncryptedData.lo \
+-	asn1_EncryptionKey.lo asn1_HostAddress.lo \
+-	asn1_HostAddresses.lo asn1_KDCOptions.lo asn1_KDC_REP.lo \
+-	asn1_KDC_REQ.lo asn1_KDC_REQ_BODY.lo asn1_KRB_CRED.lo \
+-	asn1_KRB_ERROR.lo asn1_KRB_PRIV.lo asn1_KRB_SAFE.lo \
+-	asn1_KRB_SAFE_BODY.lo asn1_KerberosTime.lo asn1_KrbCredInfo.lo \
+-	asn1_LastReq.lo asn1_LR_TYPE.lo asn1_MESSAGE_TYPE.lo \
+-	asn1_METHOD_DATA.lo asn1_NAME_TYPE.lo asn1_PADATA_TYPE.lo \
+-	asn1_PA_DATA.lo asn1_PA_ENC_TS_ENC.lo asn1_Principal.lo \
+-	asn1_PrincipalName.lo asn1_Realm.lo asn1_TGS_REP.lo \
+-	asn1_TGS_REQ.lo asn1_Ticket.lo asn1_TicketFlags.lo \
+-	asn1_TransitedEncoding.lo asn1_UNSIGNED.lo
+-am__objects_2 = $(am__objects_1) asn1_err.lo
+-am_libasn1_la_OBJECTS = der_get.lo der_put.lo der_free.lo \
+-	der_length.lo der_copy.lo timegm.lo $(am__objects_2)
+-libasn1_la_OBJECTS = $(am_libasn1_la_OBJECTS)
+-PROGRAMS = $(noinst_PROGRAMS)
+-am_asn1_compile_OBJECTS = gen.$(OBJEXT) gen_copy.$(OBJEXT) \
+-	gen_decode.$(OBJEXT) gen_encode.$(OBJEXT) gen_free.$(OBJEXT) \
+-	gen_glue.$(OBJEXT) gen_length.$(OBJEXT) hash.$(OBJEXT) \
+-	lex.$(OBJEXT) main.$(OBJEXT) parse.$(OBJEXT) symbol.$(OBJEXT)
+-asn1_compile_OBJECTS = $(am_asn1_compile_OBJECTS)
+-am__DEPENDENCIES_1 =
+-asn1_compile_DEPENDENCIES = $(am__DEPENDENCIES_1) \
+-	$(am__DEPENDENCIES_1)
+-asn1_print_SOURCES = asn1_print.c
+-asn1_print_OBJECTS = asn1_print.$(OBJEXT)
+-am__DEPENDENCIES_2 = libasn1.la $(am__DEPENDENCIES_1)
+-asn1_print_DEPENDENCIES = $(am__DEPENDENCIES_2)
+-am_check_der_OBJECTS = check-der.$(OBJEXT) check-common.$(OBJEXT)
+-check_der_OBJECTS = $(am_check_der_OBJECTS)
+-check_der_DEPENDENCIES = libasn1.la $(am__DEPENDENCIES_1)
+-am_check_gen_OBJECTS = check-gen.$(OBJEXT) check-common.$(OBJEXT)
+-check_gen_OBJECTS = $(am_check_gen_OBJECTS)
+-check_gen_DEPENDENCIES = $(am__DEPENDENCIES_2)
+-DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
+-depcomp =
+-am__depfiles_maybe =
+-COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+-	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) \
+-	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+-	$(AM_CFLAGS) $(CFLAGS)
+-CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+-	$(AM_LDFLAGS) $(LDFLAGS) -o $@
+-LEXCOMPILE = $(LEX) $(LFLAGS) $(AM_LFLAGS)
+-LTLEXCOMPILE = $(LIBTOOL) --mode=compile $(LEX) $(LFLAGS) $(AM_LFLAGS)
+-YACCCOMPILE = $(YACC) $(YFLAGS) $(AM_YFLAGS)
+-LTYACCCOMPILE = $(LIBTOOL) --mode=compile $(YACC) $(YFLAGS) \
+-	$(AM_YFLAGS)
+-SOURCES = $(libasn1_la_SOURCES) $(asn1_compile_SOURCES) asn1_print.c \
+-	$(check_der_SOURCES) $(check_gen_SOURCES)
+-DIST_SOURCES = $(libasn1_la_SOURCES) $(asn1_compile_SOURCES) \
+-	asn1_print.c $(check_der_SOURCES) $(check_gen_SOURCES)
+-includeHEADERS_INSTALL = $(INSTALL_HEADER)
+-HEADERS = $(include_HEADERS)
+-ETAGS = etags
+-CTAGS = ctags
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ ACLOCAL = @ACLOCAL@
+ AIX4_FALSE = @AIX4_FALSE@
+ AIX4_TRUE = @AIX4_TRUE@
+@@ -191,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -201,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -224,12 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
++
+ INCLUDE_krb4 = @INCLUDE_krb4@
++
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
++
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -242,6 +130,7 @@
+ KRB5_TRUE = @KRB5_TRUE@
+ LDFLAGS = @LDFLAGS@
+ LEX = @LEX@
++
+ LEXLIB = @LEXLIB@
+ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+ LIBOBJS = @LIBOBJS@
+@@ -250,6 +139,7 @@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+ LIB_XauFileName = @LIB_XauFileName@
++
+ LIB_XauReadAuth = @LIB_XauReadAuth@
+ LIB_XauWriteAuth = @LIB_XauWriteAuth@
+ LIB_bswap16 = @LIB_bswap16@
+@@ -298,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -378,7 +270,6 @@
+ libexecdir = @libexecdir@
+ localstatedir = @localstatedir@
+ mandir = @mandir@
+-mkdir_p = @mkdir_p@
+ oldincludedir = @oldincludedir@
+ prefix = @prefix@
+ program_transform_name = @program_transform_name@
+@@ -386,34 +277,53 @@
+ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
++
+ SUFFIXES = .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8
++
+ INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken)
++
+ @do_roken_rename_TRUE@ROKEN_RENAME = -DROKEN_RENAME
++
+ AM_CFLAGS = $(WFLAGS)
++
+ CP = cp
++
+ buildinclude = $(top_builddir)/include
+ LIB_getattr = @LIB_getattr@
+ LIB_getpwent_r = @LIB_getpwent_r@
+ LIB_odm_initialize = @LIB_odm_initialize@
+ LIB_setpcred = @LIB_setpcred@
++
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
++
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
++
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++
+ @KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
+ @KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+ 
+ @KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
++
+ @DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
++
+ YFLAGS = -d
++
+ lib_LTLIBRARIES = libasn1.la
+ libasn1_la_LDFLAGS = -version-info 6:2:0
++
+ libasn1_la_LIBADD = @LIB_com_err@
++
+ BUILT_SOURCES = \
+ 	$(gen_files:.x=.c)	\
+ 	asn1_err.h		\
+ 	asn1_err.c
+ 
++
+ gen_files = \
+ 	asn1_APOptions.x			\
+ 	asn1_AP_REP.x				\
+@@ -468,9 +378,14 @@
+ 	asn1_TransitedEncoding.x		\
+ 	asn1_UNSIGNED.x
+ 
++
++noinst_PROGRAMS = asn1_compile asn1_print
++check_PROGRAMS = check-der check-gen
+ TESTS = check-der check-gen
++
+ check_der_SOURCES = check-der.c check-common.c
+ check_gen_SOURCES = check-gen.c check-common.c
++
+ asn1_compile_SOURCES = \
+ 	gen.c					\
+ 	gen_copy.c				\
+@@ -485,6 +400,7 @@
+ 	parse.y					\
+ 	symbol.c
+ 
++
+ libasn1_la_SOURCES = \
+ 	der_get.c				\
+ 	der_put.c				\
+@@ -494,62 +410,124 @@
+ 	timegm.c				\
+ 	$(BUILT_SOURCES)
+ 
++
+ asn1_compile_LDADD = \
+ 	$(LIB_roken) $(LEXLIB)
+ 
++
+ check_der_LDADD = \
+ 	libasn1.la \
+ 	$(LIB_roken)
+ 
++
+ check_gen_LDADD = $(check_der_LDADD)
+ asn1_print_LDADD = $(check_der_LDADD)
++
+ CLEANFILES = lex.c parse.c parse.h krb5_asn1.h $(BUILT_SOURCES) \
+ 	$(gen_files) asn1_files
+ 
++
+ include_HEADERS = krb5_asn1.h asn1_err.h der.h
++
+ EXTRA_DIST = asn1_err.et
++subdir = lib/asn1
++ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
++mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++LTLIBRARIES = $(lib_LTLIBRARIES)
++
++libasn1_la_DEPENDENCIES =
++am__objects_1 = asn1_APOptions.lo asn1_AP_REP.lo asn1_AP_REQ.lo \
++	asn1_AS_REP.lo asn1_AS_REQ.lo asn1_Authenticator.lo \
++	asn1_AuthorizationData.lo asn1_CKSUMTYPE.lo \
++	asn1_ChangePasswdDataMS.lo asn1_Checksum.lo asn1_ENCTYPE.lo \
++	asn1_ETYPE_INFO.lo asn1_ETYPE_INFO_ENTRY.lo \
++	asn1_EncAPRepPart.lo asn1_EncASRepPart.lo asn1_EncKDCRepPart.lo \
++	asn1_EncKrbCredPart.lo asn1_EncKrbPrivPart.lo \
++	asn1_EncTGSRepPart.lo asn1_EncTicketPart.lo \
++	asn1_EncryptedData.lo asn1_EncryptionKey.lo asn1_HostAddress.lo \
++	asn1_HostAddresses.lo asn1_KDCOptions.lo asn1_KDC_REP.lo \
++	asn1_KDC_REQ.lo asn1_KDC_REQ_BODY.lo asn1_KRB_CRED.lo \
++	asn1_KRB_ERROR.lo asn1_KRB_PRIV.lo asn1_KRB_SAFE.lo \
++	asn1_KRB_SAFE_BODY.lo asn1_KerberosTime.lo asn1_KrbCredInfo.lo \
++	asn1_LastReq.lo asn1_LR_TYPE.lo asn1_MESSAGE_TYPE.lo \
++	asn1_METHOD_DATA.lo asn1_NAME_TYPE.lo asn1_PADATA_TYPE.lo \
++	asn1_PA_DATA.lo asn1_PA_ENC_TS_ENC.lo asn1_Principal.lo \
++	asn1_PrincipalName.lo asn1_Realm.lo asn1_TGS_REP.lo \
++	asn1_TGS_REQ.lo asn1_Ticket.lo asn1_TicketFlags.lo \
++	asn1_TransitedEncoding.lo asn1_UNSIGNED.lo
++am__objects_2 = $(am__objects_1) asn1_err.lo
++am_libasn1_la_OBJECTS = der_get.lo der_put.lo der_free.lo der_length.lo \
++	der_copy.lo timegm.lo $(am__objects_2)
++libasn1_la_OBJECTS = $(am_libasn1_la_OBJECTS)
++check_PROGRAMS = check-der$(EXEEXT) check-gen$(EXEEXT)
++noinst_PROGRAMS = asn1_compile$(EXEEXT) asn1_print$(EXEEXT)
++PROGRAMS = $(noinst_PROGRAMS)
++
++am_asn1_compile_OBJECTS = gen.$(OBJEXT) gen_copy.$(OBJEXT) \
++	gen_decode.$(OBJEXT) gen_encode.$(OBJEXT) gen_free.$(OBJEXT) \
++	gen_glue.$(OBJEXT) gen_length.$(OBJEXT) hash.$(OBJEXT) \
++	lex.$(OBJEXT) main.$(OBJEXT) parse.$(OBJEXT) symbol.$(OBJEXT)
++asn1_compile_OBJECTS = $(am_asn1_compile_OBJECTS)
++asn1_compile_DEPENDENCIES =
++asn1_compile_LDFLAGS =
++asn1_print_SOURCES = asn1_print.c
++asn1_print_OBJECTS = asn1_print.$(OBJEXT)
++asn1_print_DEPENDENCIES = libasn1.la
++asn1_print_LDFLAGS =
++am_check_der_OBJECTS = check-der.$(OBJEXT) check-common.$(OBJEXT)
++check_der_OBJECTS = $(am_check_der_OBJECTS)
++check_der_DEPENDENCIES = libasn1.la
++check_der_LDFLAGS =
++am_check_gen_OBJECTS = check-gen.$(OBJEXT) check-common.$(OBJEXT)
++check_gen_OBJECTS = $(am_check_gen_OBJECTS)
++check_gen_DEPENDENCIES = libasn1.la
++check_gen_LDFLAGS =
++
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
++depcomp =
++am__depfiles_maybe =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++CCLD = $(CC)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++LEXCOMPILE = $(LEX) $(LFLAGS) $(AM_LFLAGS)
++LTLEXCOMPILE = $(LIBTOOL) --mode=compile $(LEX) $(LFLAGS) $(AM_LFLAGS)
++YACCCOMPILE = $(YACC) $(YFLAGS) $(AM_YFLAGS)
++LTYACCCOMPILE = $(LIBTOOL) --mode=compile $(YACC) $(YFLAGS) $(AM_YFLAGS)
++DIST_SOURCES = $(libasn1_la_SOURCES) $(asn1_compile_SOURCES) \
++	asn1_print.c $(check_der_SOURCES) $(check_gen_SOURCES)
++HEADERS = $(include_HEADERS)
++
++DIST_COMMON = $(include_HEADERS) $(srcdir)/Makefile.in \
++	$(top_srcdir)/Makefile.am.common \
++	$(top_srcdir)/cf/Makefile.am.common Makefile.am lex.c parse.c \
++	parse.h
++SOURCES = $(libasn1_la_SOURCES) $(asn1_compile_SOURCES) asn1_print.c $(check_der_SOURCES) $(check_gen_SOURCES)
++
+ all: $(BUILT_SOURCES)
+ 	$(MAKE) $(AM_MAKEFLAGS) all-am
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .l .lo .o .obj .y
+-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(am__configure_deps)
+-	@for dep in $?; do \
+-	  case '$(am__configure_deps)' in \
+-	    *$$dep*) \
+-	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+-		&& exit 0; \
+-	      exit 1;; \
+-	  esac; \
+-	done; \
+-	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  --ignore-deps lib/asn1/Makefile'; \
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+-	  $(AUTOMAKE) --foreign  --ignore-deps lib/asn1/Makefile
+-.PRECIOUS: Makefile
+-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+-	@case '$?' in \
+-	  *config.status*) \
+-	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+-	  *) \
+-	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+-	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+-	esac;
+-
+-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-
+-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
++	  $(AUTOMAKE) --foreign  lib/asn1/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
++libLTLIBRARIES_INSTALL = $(INSTALL)
+ install-libLTLIBRARIES: $(lib_LTLIBRARIES)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)"
++	$(mkinstalldirs) $(DESTDIR)$(libdir)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+ 	  if test -f $$p; then \
+ 	    f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	    echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
+-	    $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
++	    echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$f"; \
++	    $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+@@ -557,8 +535,8 @@
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+ 	    p="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \
+-	  $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \
++	  echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
++	  $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
+ 	done
+ 
+ clean-libLTLIBRARIES:
+@@ -604,27 +582,27 @@
+ 	$(LINK) $(check_gen_LDFLAGS) $(check_gen_OBJECTS) $(check_gen_LDADD) $(LIBS)
+ 
+ mostlyclean-compile:
+-	-rm -f *.$(OBJEXT)
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ .c.obj:
+-	$(COMPILE) -c `$(CYGPATH_W) '$<'`
++	$(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
+ 
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ .l.c:
+-	$(LEXCOMPILE) $<
++	$(LEXCOMPILE) `test -f $< || echo '$(srcdir)/'`$<
+ 	sed '/^#/ s|$(LEX_OUTPUT_ROOT)\.c|$@|' $(LEX_OUTPUT_ROOT).c >$@
+ 	rm -f $(LEX_OUTPUT_ROOT).c
+ 
+ .y.c:
+-	$(YACCCOMPILE) $<
++	$(YACCCOMPILE) `test -f '$<' || echo '$(srcdir)/'`$<
+ 	if test -f y.tab.h; then \
+ 	  to=`echo "$*_H" | sed \
+                 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/' \
+@@ -652,24 +630,33 @@
+ distclean-libtool:
+ 	-rm -f libtool
+ uninstall-info-am:
++includeHEADERS_INSTALL = $(INSTALL_HEADER)
+ install-includeHEADERS: $(include_HEADERS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(includedir)" || $(mkdir_p) "$(DESTDIR)$(includedir)"
++	$(mkinstalldirs) $(DESTDIR)$(includedir)
+ 	@list='$(include_HEADERS)'; for p in $$list; do \
+ 	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " $(includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(includedir)/$$f'"; \
+-	  $(includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(includedir)/$$f"; \
++	  echo " $(includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
++	  $(includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(includedir)/$$f; \
+ 	done
+ 
+ uninstall-includeHEADERS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(include_HEADERS)'; for p in $$list; do \
+ 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " rm -f '$(DESTDIR)$(includedir)/$$f'"; \
+-	  rm -f "$(DESTDIR)$(includedir)/$$f"; \
++	  echo " rm -f $(DESTDIR)$(includedir)/$$f"; \
++	  rm -f $(DESTDIR)$(includedir)/$$f; \
+ 	done
+ 
++ETAGS = etags
++ETAGSFLAGS =
++
++CTAGS = ctags
++CTAGSFLAGS =
++
++tags: TAGS
++
+ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ 	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ 	unique=`for i in $$list; do \
+@@ -678,7 +665,6 @@
+ 	  $(AWK) '    { files[$$0] = 1; } \
+ 	       END { for (i in files) print i; }'`; \
+ 	mkid -fID $$unique
+-tags: TAGS
+ 
+ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -693,6 +679,7 @@
+ 	test -z "$(ETAGS_ARGS)$$tags$$unique" \
+ 	  || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ 	     $$tags $$unique
++
+ ctags: CTAGS
+ CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -729,24 +716,24 @@
+ 	      all=`expr $$all + 1`; \
+ 	      case " $(XFAIL_TESTS) " in \
+ 	      *" $$tst "*) \
+-		xpass=`expr $$xpass + 1`; \
+-		failed=`expr $$failed + 1`; \
+-		echo "XPASS: $$tst"; \
++	        xpass=`expr $$xpass + 1`; \
++	        failed=`expr $$failed + 1`; \
++	        echo "XPASS: $$tst"; \
+ 	      ;; \
+ 	      *) \
+-		echo "PASS: $$tst"; \
++	        echo "PASS: $$tst"; \
+ 	      ;; \
+ 	      esac; \
+ 	    elif test $$? -ne 77; then \
+ 	      all=`expr $$all + 1`; \
+ 	      case " $(XFAIL_TESTS) " in \
+ 	      *" $$tst "*) \
+-		xfail=`expr $$xfail + 1`; \
+-		echo "XFAIL: $$tst"; \
++	        xfail=`expr $$xfail + 1`; \
++	        echo "XFAIL: $$tst"; \
+ 	      ;; \
+ 	      *) \
+-		failed=`expr $$failed + 1`; \
+-		echo "FAIL: $$tst"; \
++	        failed=`expr $$failed + 1`; \
++	        echo "FAIL: $$tst"; \
+ 	      ;; \
+ 	      esac; \
+ 	    else \
+@@ -788,9 +775,13 @@
+ 	  echo "$$dashes"; \
+ 	  test "$$failed" -eq 0; \
+ 	else :; fi
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	$(mkdir_p) $(distdir)/../.. $(distdir)/../../cf
++	$(mkinstalldirs) $(distdir)/../.. $(distdir)/../../cf
+ 	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ 	list='$(DISTFILES)'; for file in $$list; do \
+@@ -802,7 +793,7 @@
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ 	    dir="/$$dir"; \
+-	    $(mkdir_p) "$(distdir)$$dir"; \
++	    $(mkinstalldirs) "$(distdir)$$dir"; \
+ 	  else \
+ 	    dir=''; \
+ 	  fi; \
+@@ -826,10 +817,9 @@
+ check: $(BUILT_SOURCES)
+ 	$(MAKE) $(AM_MAKEFLAGS) check-am
+ all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(HEADERS) all-local
++
+ installdirs:
+-	for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(includedir)"; do \
+-	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
+-	done
++	$(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(includedir)
+ install: $(BUILT_SOURCES)
+ 	$(MAKE) $(AM_MAKEFLAGS) install-am
+ install-exec: install-exec-am
+@@ -856,9 +846,9 @@
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+ 	@echo "it deletes files that may require special tools to rebuild."
+-	-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
+ 	-rm -f parse.h
+ 	-rm -f lex.c
++	-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
+ 	-rm -f parse.c
+ clean: clean-am
+ 
+@@ -874,8 +864,6 @@
+ 
+ dvi-am:
+ 
+-html: html-am
+-
+ info: info-am
+ 
+ info-am:
+@@ -917,17 +905,17 @@
+ .PHONY: CTAGS GTAGS all all-am all-local check check-TESTS check-am \
+ 	check-local clean clean-checkPROGRAMS clean-generic \
+ 	clean-libLTLIBRARIES clean-libtool clean-noinstPROGRAMS ctags \
+-	distclean distclean-compile distclean-generic \
+-	distclean-libtool distclean-tags distdir dvi dvi-am html \
+-	html-am info info-am install install-am install-data \
+-	install-data-am install-exec install-exec-am \
+-	install-includeHEADERS install-info install-info-am \
+-	install-libLTLIBRARIES install-man install-strip installcheck \
+-	installcheck-am installdirs maintainer-clean \
+-	maintainer-clean-generic mostlyclean mostlyclean-compile \
+-	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+-	tags uninstall uninstall-am uninstall-includeHEADERS \
+-	uninstall-info-am uninstall-libLTLIBRARIES
++	distclean distclean-compile distclean-generic distclean-libtool \
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-data install-data-am install-exec \
++	install-exec-am install-includeHEADERS install-info \
++	install-info-am install-libLTLIBRARIES install-man \
++	install-strip installcheck installcheck-am installdirs \
++	maintainer-clean maintainer-clean-generic mostlyclean \
++	mostlyclean-compile mostlyclean-generic mostlyclean-libtool pdf \
++	pdf-am ps ps-am tags uninstall uninstall-am \
++	uninstall-includeHEADERS uninstall-info-am \
++	uninstall-libLTLIBRARIES
+ 
+ 
+ install-suid-programs:
+diff -ruN heimdal-0.6.3-old/lib/auth/afskauthlib/Makefile.in heimdal-0.6.3/lib/auth/afskauthlib/Makefile.in
+--- heimdal-0.6.3-old/lib/auth/afskauthlib/Makefile.in	2004-09-13 22:29:21.000000000 +1000
++++ heimdal-0.6.3/lib/auth/afskauthlib/Makefile.in	2004-09-14 08:39:55.000000000 +1000
+@@ -1,8 +1,8 @@
+-# Makefile.in generated by automake 1.8.3 from Makefile.am.
++# Makefile.in generated by automake 1.7.9 from Makefile.am.
+ # @configure_input@
+ 
+-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+-# 2003, 2004  Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
++# 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.
+@@ -27,6 +27,7 @@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+ top_builddir = ../../..
++
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+ INSTALL = @INSTALL@
+ install_sh_DATA = $(install_sh) -c -m 644
+@@ -41,62 +42,6 @@
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+ host_triplet = @host@
+-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+-	$(top_srcdir)/Makefile.am.common \
+-	$(top_srcdir)/cf/Makefile.am.common
+-subdir = lib/auth/afskauthlib
+-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+-am__aclocal_m4_deps = $(top_srcdir)/cf/aix.m4 \
+-	$(top_srcdir)/cf/auth-modules.m4 \
+-	$(top_srcdir)/cf/broken-getaddrinfo.m4 \
+-	$(top_srcdir)/cf/broken-getnameinfo.m4 \
+-	$(top_srcdir)/cf/broken-glob.m4 \
+-	$(top_srcdir)/cf/broken-realloc.m4 \
+-	$(top_srcdir)/cf/broken-snprintf.m4 $(top_srcdir)/cf/broken.m4 \
+-	$(top_srcdir)/cf/broken2.m4 $(top_srcdir)/cf/c-attribute.m4 \
+-	$(top_srcdir)/cf/capabilities.m4 \
+-	$(top_srcdir)/cf/check-compile-et.m4 \
+-	$(top_srcdir)/cf/check-declaration.m4 \
+-	$(top_srcdir)/cf/check-getpwnam_r-posix.m4 \
+-	$(top_srcdir)/cf/check-man.m4 \
+-	$(top_srcdir)/cf/check-netinet-ip-and-tcp.m4 \
+-	$(top_srcdir)/cf/check-type-extra.m4 \
+-	$(top_srcdir)/cf/check-var.m4 $(top_srcdir)/cf/check-x.m4 \
+-	$(top_srcdir)/cf/check-xau.m4 $(top_srcdir)/cf/crypto.m4 \
+-	$(top_srcdir)/cf/db.m4 $(top_srcdir)/cf/destdirs.m4 \
+-	$(top_srcdir)/cf/dlopen.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs2.m4 \
+-	$(top_srcdir)/cf/find-func.m4 \
+-	$(top_srcdir)/cf/find-if-not-broken.m4 \
+-	$(top_srcdir)/cf/have-struct-field.m4 \
+-	$(top_srcdir)/cf/have-type.m4 $(top_srcdir)/cf/irix.m4 \
+-	$(top_srcdir)/cf/krb-bigendian.m4 \
+-	$(top_srcdir)/cf/krb-func-getlogin.m4 \
+-	$(top_srcdir)/cf/krb-ipv6.m4 $(top_srcdir)/cf/krb-prog-ln-s.m4 \
+-	$(top_srcdir)/cf/krb-readline.m4 \
+-	$(top_srcdir)/cf/krb-struct-spwd.m4 \
+-	$(top_srcdir)/cf/krb-struct-winsize.m4 \
+-	$(top_srcdir)/cf/mips-abi.m4 $(top_srcdir)/cf/misc.m4 \
+-	$(top_srcdir)/cf/need-proto.m4 $(top_srcdir)/cf/osfc2.m4 \
+-	$(top_srcdir)/cf/otp.m4 $(top_srcdir)/cf/proto-compat.m4 \
+-	$(top_srcdir)/cf/retsigtype.m4 $(top_srcdir)/cf/roken-frag.m4 \
+-	$(top_srcdir)/cf/sunos.m4 $(top_srcdir)/cf/telnet.m4 \
+-	$(top_srcdir)/cf/test-package.m4 $(top_srcdir)/cf/wflags.m4 \
+-	$(top_srcdir)/cf/with-all.m4 $(top_srcdir)/configure.in
+-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+-	$(ACLOCAL_M4)
+-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = $(top_builddir)/include/config.h
+-CONFIG_CLEAN_FILES =
+-depcomp =
+-am__depfiles_maybe =
+-SOURCES =
+-DIST_SOURCES =
+-am__installdirs = "$(DESTDIR)$(foodir)"
+-fooDATA_INSTALL = $(INSTALL_DATA)
+-DATA = $(foo_DATA)
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ ACLOCAL = @ACLOCAL@
+ AIX4_FALSE = @AIX4_FALSE@
+ AIX4_TRUE = @AIX4_TRUE@
+@@ -121,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -128,10 +74,18 @@
+ DBLIB = @DBLIB@
+ DCE_FALSE = @DCE_FALSE@
+ DCE_TRUE = @DCE_TRUE@
++
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -154,12 +108,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
++
+ INCLUDE_krb4 = @INCLUDE_krb4@
++
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
++
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -172,6 +131,7 @@
+ KRB5_TRUE = @KRB5_TRUE@
+ LDFLAGS = @LDFLAGS@
+ LEX = @LEX@
++
+ LEXLIB = @LEXLIB@
+ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+ LIBOBJS = @LIBOBJS@
+@@ -180,6 +140,7 @@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+ LIB_XauFileName = @LIB_XauFileName@
++
+ LIB_XauReadAuth = @LIB_XauReadAuth@
+ LIB_XauWriteAuth = @LIB_XauWriteAuth@
+ LIB_bswap16 = @LIB_bswap16@
+@@ -228,7 +189,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -308,7 +271,6 @@
+ libexecdir = @libexecdir@
+ localstatedir = @localstatedir@
+ mandir = @mandir@
+-mkdir_p = @mkdir_p@
+ oldincludedir = @oldincludedir@
+ prefix = @prefix@
+ program_transform_name = @program_transform_name@
+@@ -316,37 +278,49 @@
+ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
++
+ SUFFIXES = .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .o
++
+ INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) $(INCLUDE_krb4)
++
+ @do_roken_rename_TRUE@ROKEN_RENAME = -DROKEN_RENAME
++
+ AM_CFLAGS = $(WFLAGS)
++
+ CP = cp
++
+ buildinclude = $(top_builddir)/include
+ LIB_getattr = @LIB_getattr@
+ LIB_getpwent_r = @LIB_getpwent_r@
+ LIB_odm_initialize = @LIB_odm_initialize@
+ LIB_setpcred = @LIB_setpcred@
++
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
++
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
++
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++
+ @KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
+ @KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+ 
+ @KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
++
+ @DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
++
+ foodir = $(libdir)
+ foo_DATA = afskauthlib.so
++
+ SRCS = verify.c
+ OBJS = verify.o
++
+ CLEANFILES = $(foo_DATA) $(OBJS) so_locations
+-@KRB4_TRUE@KAFS = $(top_builddir)/lib/kafs/libkafs.la
+-@KRB5_FALSE@L = \
+-@KRB5_FALSE@	$(KAFS)	\
+-@KRB5_FALSE@	$(LIB_krb4)				\
+-@KRB5_FALSE@	$(LIB_des)				\
+-@KRB5_FALSE@	$(top_builddir)/lib/roken/libroken.la	\
+-@KRB5_FALSE@	-lc
++
++@KRB4_TRUE@KAFS = $(LIB_kafs)
+ 
+ @KRB5_TRUE@L = \
+ @KRB5_TRUE@	$(KAFS)	\
+@@ -354,42 +328,38 @@
+ @KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la	\
+ @KRB5_TRUE@	$(LIB_krb4)				\
+ @KRB5_TRUE@	$(LIB_des)				\
+-@KRB5_TRUE@	$(top_builddir)/lib/roken/libroken.la	\
++@KRB5_TRUE@	$(LIB_roken)	\
+ @KRB5_TRUE@	-lc
+ 
++
++@KRB5_FALSE@L = \
++@KRB5_FALSE@	$(KAFS)	\
++@KRB5_FALSE@	$(LIB_krb4)				\
++@KRB5_FALSE@	$(LIB_des)				\
++@KRB5_FALSE@	$(LIB_roken)	\
++@KRB5_FALSE@	-lc
++
++subdir = lib/auth/afskauthlib
++ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
++mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++depcomp =
++am__depfiles_maybe =
++DIST_SOURCES =
++DATA = $(foo_DATA)
++
++DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/Makefile.am.common \
++	$(top_srcdir)/cf/Makefile.am.common Makefile.am
+ all: all-am
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .o
+-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(am__configure_deps)
+-	@for dep in $?; do \
+-	  case '$(am__configure_deps)' in \
+-	    *$$dep*) \
+-	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+-		&& exit 0; \
+-	      exit 1;; \
+-	  esac; \
+-	done; \
+-	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  --ignore-deps lib/auth/afskauthlib/Makefile'; \
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+-	  $(AUTOMAKE) --foreign  --ignore-deps lib/auth/afskauthlib/Makefile
+-.PRECIOUS: Makefile
+-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+-	@case '$?' in \
+-	  *config.status*) \
+-	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+-	  *) \
+-	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+-	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+-	esac;
+-
+-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-
+-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
++	  $(AUTOMAKE) --foreign  lib/auth/afskauthlib/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+ 
+ mostlyclean-libtool:
+ 	-rm -f *.lo
+@@ -400,22 +370,23 @@
+ distclean-libtool:
+ 	-rm -f libtool
+ uninstall-info-am:
++fooDATA_INSTALL = $(INSTALL_DATA)
+ install-fooDATA: $(foo_DATA)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(foodir)" || $(mkdir_p) "$(DESTDIR)$(foodir)"
++	$(mkinstalldirs) $(DESTDIR)$(foodir)
+ 	@list='$(foo_DATA)'; for p in $$list; do \
+ 	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " $(fooDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(foodir)/$$f'"; \
+-	  $(fooDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(foodir)/$$f"; \
++	  echo " $(fooDATA_INSTALL) $$d$$p $(DESTDIR)$(foodir)/$$f"; \
++	  $(fooDATA_INSTALL) $$d$$p $(DESTDIR)$(foodir)/$$f; \
+ 	done
+ 
+ uninstall-fooDATA:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(foo_DATA)'; for p in $$list; do \
+ 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " rm -f '$(DESTDIR)$(foodir)/$$f'"; \
+-	  rm -f "$(DESTDIR)$(foodir)/$$f"; \
++	  echo " rm -f $(DESTDIR)$(foodir)/$$f"; \
++	  rm -f $(DESTDIR)$(foodir)/$$f; \
+ 	done
+ tags: TAGS
+ TAGS:
+@@ -423,9 +394,13 @@
+ ctags: CTAGS
+ CTAGS:
+ 
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++
++top_distdir = ../../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	$(mkdir_p) $(distdir)/../../.. $(distdir)/../../../cf
++	$(mkinstalldirs) $(distdir)/../../.. $(distdir)/../../../cf
+ 	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ 	list='$(DISTFILES)'; for file in $$list; do \
+@@ -437,7 +412,7 @@
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ 	    dir="/$$dir"; \
+-	    $(mkdir_p) "$(distdir)$$dir"; \
++	    $(mkinstalldirs) "$(distdir)$$dir"; \
+ 	  else \
+ 	    dir=''; \
+ 	  fi; \
+@@ -459,10 +434,9 @@
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+ all-am: Makefile $(DATA) all-local
++
+ installdirs:
+-	for dir in "$(DESTDIR)$(foodir)"; do \
+-	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
+-	done
++	$(mkinstalldirs) $(DESTDIR)$(foodir)
+ install: install-am
+ install-exec: install-exec-am
+ install-data: install-data-am
+@@ -500,8 +474,6 @@
+ 
+ dvi-am:
+ 
+-html: html-am
+-
+ info: info-am
+ 
+ info-am:
+@@ -540,8 +512,8 @@
+ 
+ .PHONY: all all-am all-local check check-am check-local clean \
+ 	clean-generic clean-libtool distclean distclean-generic \
+-	distclean-libtool distdir dvi dvi-am html html-am info info-am \
+-	install install-am install-data install-data-am install-exec \
++	distclean-libtool distdir dvi dvi-am info info-am install \
++	install-am install-data install-data-am install-exec \
+ 	install-exec-am install-fooDATA install-info install-info-am \
+ 	install-man install-strip installcheck installcheck-am \
+ 	installdirs maintainer-clean maintainer-clean-generic \
+diff -ruN heimdal-0.6.3-old/lib/auth/Makefile.in heimdal-0.6.3/lib/auth/Makefile.in
+--- heimdal-0.6.3-old/lib/auth/Makefile.in	2004-09-13 22:29:20.000000000 +1000
++++ heimdal-0.6.3/lib/auth/Makefile.in	2004-09-14 08:39:55.000000000 +1000
+@@ -1,8 +1,8 @@
+-# Makefile.in generated by automake 1.8.3 from Makefile.am.
++# Makefile.in generated by automake 1.7.9 from Makefile.am.
+ # @configure_input@
+ 
+-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+-# 2003, 2004  Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
++# 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.
+@@ -19,6 +19,7 @@
+ # $Id: Makefile.am.common,v 1.5 2002/05/19 18:35:37 joda Exp $
+ 
+ # $Id: Makefile.am.common,v 1.37.2.2 2003/10/13 13:15:39 joda Exp $
++
+ srcdir = @srcdir@
+ top_srcdir = @top_srcdir@
+ VPATH = @srcdir@
+@@ -26,6 +27,7 @@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+ top_builddir = ../..
++
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+ INSTALL = @INSTALL@
+ install_sh_DATA = $(install_sh) -c -m 644
+@@ -40,67 +42,6 @@
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+ host_triplet = @host@
+-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+-	$(top_srcdir)/Makefile.am.common \
+-	$(top_srcdir)/cf/Makefile.am.common ChangeLog
+-subdir = lib/auth
+-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+-am__aclocal_m4_deps = $(top_srcdir)/cf/aix.m4 \
+-	$(top_srcdir)/cf/auth-modules.m4 \
+-	$(top_srcdir)/cf/broken-getaddrinfo.m4 \
+-	$(top_srcdir)/cf/broken-getnameinfo.m4 \
+-	$(top_srcdir)/cf/broken-glob.m4 \
+-	$(top_srcdir)/cf/broken-realloc.m4 \
+-	$(top_srcdir)/cf/broken-snprintf.m4 $(top_srcdir)/cf/broken.m4 \
+-	$(top_srcdir)/cf/broken2.m4 $(top_srcdir)/cf/c-attribute.m4 \
+-	$(top_srcdir)/cf/capabilities.m4 \
+-	$(top_srcdir)/cf/check-compile-et.m4 \
+-	$(top_srcdir)/cf/check-declaration.m4 \
+-	$(top_srcdir)/cf/check-getpwnam_r-posix.m4 \
+-	$(top_srcdir)/cf/check-man.m4 \
+-	$(top_srcdir)/cf/check-netinet-ip-and-tcp.m4 \
+-	$(top_srcdir)/cf/check-type-extra.m4 \
+-	$(top_srcdir)/cf/check-var.m4 $(top_srcdir)/cf/check-x.m4 \
+-	$(top_srcdir)/cf/check-xau.m4 $(top_srcdir)/cf/crypto.m4 \
+-	$(top_srcdir)/cf/db.m4 $(top_srcdir)/cf/destdirs.m4 \
+-	$(top_srcdir)/cf/dlopen.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs2.m4 \
+-	$(top_srcdir)/cf/find-func.m4 \
+-	$(top_srcdir)/cf/find-if-not-broken.m4 \
+-	$(top_srcdir)/cf/have-struct-field.m4 \
+-	$(top_srcdir)/cf/have-type.m4 $(top_srcdir)/cf/irix.m4 \
+-	$(top_srcdir)/cf/krb-bigendian.m4 \
+-	$(top_srcdir)/cf/krb-func-getlogin.m4 \
+-	$(top_srcdir)/cf/krb-ipv6.m4 $(top_srcdir)/cf/krb-prog-ln-s.m4 \
+-	$(top_srcdir)/cf/krb-readline.m4 \
+-	$(top_srcdir)/cf/krb-struct-spwd.m4 \
+-	$(top_srcdir)/cf/krb-struct-winsize.m4 \
+-	$(top_srcdir)/cf/mips-abi.m4 $(top_srcdir)/cf/misc.m4 \
+-	$(top_srcdir)/cf/need-proto.m4 $(top_srcdir)/cf/osfc2.m4 \
+-	$(top_srcdir)/cf/otp.m4 $(top_srcdir)/cf/proto-compat.m4 \
+-	$(top_srcdir)/cf/retsigtype.m4 $(top_srcdir)/cf/roken-frag.m4 \
+-	$(top_srcdir)/cf/sunos.m4 $(top_srcdir)/cf/telnet.m4 \
+-	$(top_srcdir)/cf/test-package.m4 $(top_srcdir)/cf/wflags.m4 \
+-	$(top_srcdir)/cf/with-all.m4 $(top_srcdir)/configure.in
+-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+-	$(ACLOCAL_M4)
+-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = $(top_builddir)/include/config.h
+-CONFIG_CLEAN_FILES =
+-depcomp =
+-am__depfiles_maybe =
+-SOURCES =
+-DIST_SOURCES =
+-RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
+-	html-recursive info-recursive install-data-recursive \
+-	install-exec-recursive install-info-recursive \
+-	install-recursive installcheck-recursive installdirs-recursive \
+-	pdf-recursive ps-recursive uninstall-info-recursive \
+-	uninstall-recursive
+-ETAGS = etags
+-CTAGS = ctags
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ ACLOCAL = @ACLOCAL@
+ AIX4_FALSE = @AIX4_FALSE@
+ AIX4_TRUE = @AIX4_TRUE@
+@@ -125,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -135,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -158,12 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
++
+ INCLUDE_krb4 = @INCLUDE_krb4@
++
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
++
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -176,6 +130,7 @@
+ KRB5_TRUE = @KRB5_TRUE@
+ LDFLAGS = @LDFLAGS@
+ LEX = @LEX@
++
+ LEXLIB = @LEXLIB@
+ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+ LIBOBJS = @LIBOBJS@
+@@ -184,6 +139,7 @@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+ LIB_XauFileName = @LIB_XauFileName@
++
+ LIB_XauReadAuth = @LIB_XauReadAuth@
+ LIB_XauWriteAuth = @LIB_XauWriteAuth@
+ LIB_bswap16 = @LIB_bswap16@
+@@ -232,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -312,7 +270,6 @@
+ libexecdir = @libexecdir@
+ localstatedir = @localstatedir@
+ mandir = @mandir@
+-mkdir_p = @mkdir_p@
+ oldincludedir = @oldincludedir@
+ prefix = @prefix@
+ program_transform_name = @program_transform_name@
+@@ -320,60 +277,67 @@
+ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
++
+ SUFFIXES = .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8
++
+ INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken)
++
+ @do_roken_rename_TRUE@ROKEN_RENAME = -DROKEN_RENAME
++
+ AM_CFLAGS = $(WFLAGS)
++
+ CP = cp
++
+ buildinclude = $(top_builddir)/include
+ LIB_getattr = @LIB_getattr@
+ LIB_getpwent_r = @LIB_getpwent_r@
+ LIB_odm_initialize = @LIB_odm_initialize@
+ LIB_setpcred = @LIB_setpcred@
++
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
++
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
++
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++
+ @KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
+ @KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+ 
+ @KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
++
+ @DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
++
+ SUBDIRS = @LIB_AUTH_SUBDIRS@
+ DIST_SUBDIRS = afskauthlib pam sia
++subdir = lib/auth
++ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
++mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++depcomp =
++am__depfiles_maybe =
++DIST_SOURCES =
++
++RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \
++	ps-recursive install-info-recursive uninstall-info-recursive \
++	all-recursive install-data-recursive install-exec-recursive \
++	installdirs-recursive install-recursive uninstall-recursive \
++	check-recursive installcheck-recursive
++DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/Makefile.am.common \
++	$(top_srcdir)/cf/Makefile.am.common ChangeLog Makefile.am
+ all: all-recursive
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c
+-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(am__configure_deps)
+-	@for dep in $?; do \
+-	  case '$(am__configure_deps)' in \
+-	    *$$dep*) \
+-	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+-		&& exit 0; \
+-	      exit 1;; \
+-	  esac; \
+-	done; \
+-	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  --ignore-deps lib/auth/Makefile'; \
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+-	  $(AUTOMAKE) --foreign  --ignore-deps lib/auth/Makefile
+-.PRECIOUS: Makefile
+-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+-	@case '$?' in \
+-	  *config.status*) \
+-	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+-	  *) \
+-	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+-	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+-	esac;
+-
+-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-
+-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
++	  $(AUTOMAKE) --foreign  lib/auth/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+ 
+ mostlyclean-libtool:
+ 	-rm -f *.lo
+@@ -444,6 +408,14 @@
+ 	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
+ 	done
+ 
++ETAGS = etags
++ETAGSFLAGS =
++
++CTAGS = ctags
++CTAGSFLAGS =
++
++tags: TAGS
++
+ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ 	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ 	unique=`for i in $$list; do \
+@@ -452,7 +424,6 @@
+ 	  $(AWK) '    { files[$$0] = 1; } \
+ 	       END { for (i in files) print i; }'`; \
+ 	mkid -fID $$unique
+-tags: TAGS
+ 
+ TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -478,6 +449,7 @@
+ 	test -z "$(ETAGS_ARGS)$$tags$$unique" \
+ 	  || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ 	     $$tags $$unique
++
+ ctags: CTAGS
+ CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -500,9 +472,13 @@
+ 
+ distclean-tags:
+ 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	$(mkdir_p) $(distdir)/../.. $(distdir)/../../cf
++	$(mkinstalldirs) $(distdir)/../.. $(distdir)/../../cf
+ 	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ 	list='$(DISTFILES)'; for file in $$list; do \
+@@ -514,7 +490,7 @@
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ 	    dir="/$$dir"; \
+-	    $(mkdir_p) "$(distdir)$$dir"; \
++	    $(mkinstalldirs) "$(distdir)$$dir"; \
+ 	  else \
+ 	    dir=''; \
+ 	  fi; \
+@@ -531,13 +507,13 @@
+ 	done
+ 	list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
+ 	  if test "$$subdir" = .; then :; else \
+-	    test -d "$(distdir)/$$subdir" \
+-	    || mkdir "$(distdir)/$$subdir" \
++	    test -d $(distdir)/$$subdir \
++	    || mkdir $(distdir)/$$subdir \
+ 	    || exit 1; \
+ 	    (cd $$subdir && \
+ 	      $(MAKE) $(AM_MAKEFLAGS) \
+-	        top_distdir="../$(top_distdir)" \
+-	        distdir="../$(distdir)/$$subdir" \
++	        top_distdir="$(top_distdir)" \
++	        distdir=../$(distdir)/$$subdir \
+ 	        distdir) \
+ 	      || exit 1; \
+ 	  fi; \
+@@ -551,6 +527,7 @@
+ all-am: Makefile all-local
+ installdirs: installdirs-recursive
+ installdirs-am:
++
+ install: install-recursive
+ install-exec: install-exec-recursive
+ install-data: install-data-recursive
+@@ -588,8 +565,6 @@
+ 
+ dvi-am:
+ 
+-html: html-recursive
+-
+ info: info-recursive
+ 
+ info-am:
+@@ -632,14 +607,18 @@
+ 	check-am check-local clean clean-generic clean-libtool \
+ 	clean-recursive ctags ctags-recursive distclean \
+ 	distclean-generic distclean-libtool distclean-recursive \
+-	distclean-tags distdir dvi dvi-am html html-am info info-am \
+-	install install-am install-data install-data-am install-exec \
+-	install-exec-am install-info install-info-am install-man \
++	distclean-tags distdir dvi dvi-am dvi-recursive info info-am \
++	info-recursive install install-am install-data install-data-am \
++	install-data-recursive install-exec install-exec-am \
++	install-exec-recursive install-info install-info-am \
++	install-info-recursive install-man install-recursive \
+ 	install-strip installcheck installcheck-am installdirs \
+-	installdirs-am maintainer-clean maintainer-clean-generic \
+-	maintainer-clean-recursive mostlyclean mostlyclean-generic \
+-	mostlyclean-libtool mostlyclean-recursive pdf pdf-am ps ps-am \
+-	tags tags-recursive uninstall uninstall-am uninstall-info-am
++	installdirs-am installdirs-recursive maintainer-clean \
++	maintainer-clean-generic maintainer-clean-recursive mostlyclean \
++	mostlyclean-generic mostlyclean-libtool mostlyclean-recursive \
++	pdf pdf-am pdf-recursive ps ps-am ps-recursive tags \
++	tags-recursive uninstall uninstall-am uninstall-info-am \
++	uninstall-info-recursive uninstall-recursive
+ 
+ 
+ install-suid-programs:
+diff -ruN heimdal-0.6.3-old/lib/auth/pam/Makefile.in heimdal-0.6.3/lib/auth/pam/Makefile.in
+--- heimdal-0.6.3-old/lib/auth/pam/Makefile.in	2004-09-13 22:29:22.000000000 +1000
++++ heimdal-0.6.3/lib/auth/pam/Makefile.in	2004-09-14 08:39:56.000000000 +1000
+@@ -1,8 +1,8 @@
+-# Makefile.in generated by automake 1.8.3 from Makefile.am.
++# Makefile.in generated by automake 1.7.9 from Makefile.am.
+ # @configure_input@
+ 
+-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+-# 2003, 2004  Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
++# 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.
+@@ -27,6 +27,7 @@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+ top_builddir = ../../..
++
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+ INSTALL = @INSTALL@
+ install_sh_DATA = $(install_sh) -c -m 644
+@@ -41,62 +42,6 @@
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+ host_triplet = @host@
+-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+-	$(top_srcdir)/Makefile.am.common \
+-	$(top_srcdir)/cf/Makefile.am.common
+-subdir = lib/auth/pam
+-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+-am__aclocal_m4_deps = $(top_srcdir)/cf/aix.m4 \
+-	$(top_srcdir)/cf/auth-modules.m4 \
+-	$(top_srcdir)/cf/broken-getaddrinfo.m4 \
+-	$(top_srcdir)/cf/broken-getnameinfo.m4 \
+-	$(top_srcdir)/cf/broken-glob.m4 \
+-	$(top_srcdir)/cf/broken-realloc.m4 \
+-	$(top_srcdir)/cf/broken-snprintf.m4 $(top_srcdir)/cf/broken.m4 \
+-	$(top_srcdir)/cf/broken2.m4 $(top_srcdir)/cf/c-attribute.m4 \
+-	$(top_srcdir)/cf/capabilities.m4 \
+-	$(top_srcdir)/cf/check-compile-et.m4 \
+-	$(top_srcdir)/cf/check-declaration.m4 \
+-	$(top_srcdir)/cf/check-getpwnam_r-posix.m4 \
+-	$(top_srcdir)/cf/check-man.m4 \
+-	$(top_srcdir)/cf/check-netinet-ip-and-tcp.m4 \
+-	$(top_srcdir)/cf/check-type-extra.m4 \
+-	$(top_srcdir)/cf/check-var.m4 $(top_srcdir)/cf/check-x.m4 \
+-	$(top_srcdir)/cf/check-xau.m4 $(top_srcdir)/cf/crypto.m4 \
+-	$(top_srcdir)/cf/db.m4 $(top_srcdir)/cf/destdirs.m4 \
+-	$(top_srcdir)/cf/dlopen.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs2.m4 \
+-	$(top_srcdir)/cf/find-func.m4 \
+-	$(top_srcdir)/cf/find-if-not-broken.m4 \
+-	$(top_srcdir)/cf/have-struct-field.m4 \
+-	$(top_srcdir)/cf/have-type.m4 $(top_srcdir)/cf/irix.m4 \
+-	$(top_srcdir)/cf/krb-bigendian.m4 \
+-	$(top_srcdir)/cf/krb-func-getlogin.m4 \
+-	$(top_srcdir)/cf/krb-ipv6.m4 $(top_srcdir)/cf/krb-prog-ln-s.m4 \
+-	$(top_srcdir)/cf/krb-readline.m4 \
+-	$(top_srcdir)/cf/krb-struct-spwd.m4 \
+-	$(top_srcdir)/cf/krb-struct-winsize.m4 \
+-	$(top_srcdir)/cf/mips-abi.m4 $(top_srcdir)/cf/misc.m4 \
+-	$(top_srcdir)/cf/need-proto.m4 $(top_srcdir)/cf/osfc2.m4 \
+-	$(top_srcdir)/cf/otp.m4 $(top_srcdir)/cf/proto-compat.m4 \
+-	$(top_srcdir)/cf/retsigtype.m4 $(top_srcdir)/cf/roken-frag.m4 \
+-	$(top_srcdir)/cf/sunos.m4 $(top_srcdir)/cf/telnet.m4 \
+-	$(top_srcdir)/cf/test-package.m4 $(top_srcdir)/cf/wflags.m4 \
+-	$(top_srcdir)/cf/with-all.m4 $(top_srcdir)/configure.in
+-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+-	$(ACLOCAL_M4)
+-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = $(top_builddir)/include/config.h
+-CONFIG_CLEAN_FILES =
+-depcomp =
+-am__depfiles_maybe =
+-SOURCES =
+-DIST_SOURCES =
+-am__installdirs = "$(DESTDIR)$(foodir)"
+-fooDATA_INSTALL = $(INSTALL_DATA)
+-DATA = $(foo_DATA)
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ ACLOCAL = @ACLOCAL@
+ AIX4_FALSE = @AIX4_FALSE@
+ AIX4_TRUE = @AIX4_TRUE@
+@@ -121,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -128,10 +74,18 @@
+ DBLIB = @DBLIB@
+ DCE_FALSE = @DCE_FALSE@
+ DCE_TRUE = @DCE_TRUE@
++
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -154,12 +108,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
++
+ INCLUDE_krb4 = @INCLUDE_krb4@
++
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
++
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -170,8 +129,10 @@
+ KRB4_TRUE = @KRB4_TRUE@
+ KRB5_FALSE = @KRB5_FALSE@
+ KRB5_TRUE = @KRB5_TRUE@
++
+ LDFLAGS = @LDFLAGS@
+ LEX = @LEX@
++
+ LEXLIB = @LEXLIB@
+ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+ LIBOBJS = @LIBOBJS@
+@@ -180,6 +141,7 @@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+ LIB_XauFileName = @LIB_XauFileName@
++
+ LIB_XauReadAuth = @LIB_XauReadAuth@
+ LIB_XauWriteAuth = @LIB_XauWriteAuth@
+ LIB_bswap16 = @LIB_bswap16@
+@@ -228,7 +190,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -256,6 +220,7 @@
+ STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
++
+ WFLAGS = @WFLAGS@ $(WFLAGS_NOIMPLICITINT)
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
+@@ -308,7 +273,6 @@
+ libexecdir = @libexecdir@
+ localstatedir = @localstatedir@
+ mandir = @mandir@
+-mkdir_p = @mkdir_p@
+ oldincludedir = @oldincludedir@
+ prefix = @prefix@
+ program_transform_name = @program_transform_name@
+@@ -316,27 +280,43 @@
+ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
++
+ SUFFIXES = .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .o
++
+ INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) $(INCLUDE_krb4)
++
+ @do_roken_rename_TRUE@ROKEN_RENAME = -DROKEN_RENAME
++
+ AM_CFLAGS = $(WFLAGS)
++
+ CP = cp
++
+ buildinclude = $(top_builddir)/include
+ LIB_getattr = @LIB_getattr@
+ LIB_getpwent_r = @LIB_getpwent_r@
+ LIB_odm_initialize = @LIB_odm_initialize@
+ LIB_setpcred = @LIB_setpcred@
++
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
++
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
++
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++
+ @KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
+ @KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+ 
+ @KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
++
+ @DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
++
+ @KRB4_TRUE@KAFS = $(top_builddir)/lib/kafs/.libs/libkafs.a
+ @KRB4_TRUE@KAFS_S = $(top_builddir)/lib/kafs/.libs/libkafs.so
++
+ @KRB4_TRUE@L = \
+ @KRB4_TRUE@	$(KAFS)						\
+ @KRB4_TRUE@	$(top_builddir)/lib/krb/.libs/libkrb.a		\
+@@ -344,6 +324,7 @@
+ @KRB4_TRUE@	$(top_builddir)/lib/roken/.libs/libroken.a	\
+ @KRB4_TRUE@	-lc
+ 
++
+ @KRB4_TRUE@L_shared = \
+ @KRB4_TRUE@	$(KAFS_S)					\
+ @KRB4_TRUE@	$(top_builddir)/lib/krb/.libs/libkrb.so		\
+@@ -352,45 +333,38 @@
+ @KRB4_TRUE@	$(LIB_getpwnam_r)				\
+ @KRB4_TRUE@	-lc
+ 
++
+ @KRB4_TRUE@MOD = pam_krb4.so
++
+ EXTRA_DIST = pam.conf.add
++
+ foodir = $(libdir)
+ foo_DATA = $(MOD)
++
+ OBJS = pam.o
++
+ CLEANFILES = $(MOD) $(OBJS)
++subdir = lib/auth/pam
++ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
++mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++depcomp =
++am__depfiles_maybe =
++DIST_SOURCES =
++DATA = $(foo_DATA)
++
++DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/Makefile.am.common \
++	$(top_srcdir)/cf/Makefile.am.common Makefile.am
+ all: all-am
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .o
+-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(am__configure_deps)
+-	@for dep in $?; do \
+-	  case '$(am__configure_deps)' in \
+-	    *$$dep*) \
+-	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+-		&& exit 0; \
+-	      exit 1;; \
+-	  esac; \
+-	done; \
+-	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  --ignore-deps lib/auth/pam/Makefile'; \
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+-	  $(AUTOMAKE) --foreign  --ignore-deps lib/auth/pam/Makefile
+-.PRECIOUS: Makefile
+-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+-	@case '$?' in \
+-	  *config.status*) \
+-	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+-	  *) \
+-	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+-	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+-	esac;
+-
+-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-
+-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
++	  $(AUTOMAKE) --foreign  lib/auth/pam/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+ 
+ mostlyclean-libtool:
+ 	-rm -f *.lo
+@@ -401,22 +375,23 @@
+ distclean-libtool:
+ 	-rm -f libtool
+ uninstall-info-am:
++fooDATA_INSTALL = $(INSTALL_DATA)
+ install-fooDATA: $(foo_DATA)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(foodir)" || $(mkdir_p) "$(DESTDIR)$(foodir)"
++	$(mkinstalldirs) $(DESTDIR)$(foodir)
+ 	@list='$(foo_DATA)'; for p in $$list; do \
+ 	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " $(fooDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(foodir)/$$f'"; \
+-	  $(fooDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(foodir)/$$f"; \
++	  echo " $(fooDATA_INSTALL) $$d$$p $(DESTDIR)$(foodir)/$$f"; \
++	  $(fooDATA_INSTALL) $$d$$p $(DESTDIR)$(foodir)/$$f; \
+ 	done
+ 
+ uninstall-fooDATA:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(foo_DATA)'; for p in $$list; do \
+ 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " rm -f '$(DESTDIR)$(foodir)/$$f'"; \
+-	  rm -f "$(DESTDIR)$(foodir)/$$f"; \
++	  echo " rm -f $(DESTDIR)$(foodir)/$$f"; \
++	  rm -f $(DESTDIR)$(foodir)/$$f; \
+ 	done
+ tags: TAGS
+ TAGS:
+@@ -424,9 +399,13 @@
+ ctags: CTAGS
+ CTAGS:
+ 
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++
++top_distdir = ../../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	$(mkdir_p) $(distdir)/../../.. $(distdir)/../../../cf
++	$(mkinstalldirs) $(distdir)/../../.. $(distdir)/../../../cf
+ 	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ 	list='$(DISTFILES)'; for file in $$list; do \
+@@ -438,7 +417,7 @@
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ 	    dir="/$$dir"; \
+-	    $(mkdir_p) "$(distdir)$$dir"; \
++	    $(mkinstalldirs) "$(distdir)$$dir"; \
+ 	  else \
+ 	    dir=''; \
+ 	  fi; \
+@@ -460,10 +439,9 @@
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+ all-am: Makefile $(DATA) all-local
++
+ installdirs:
+-	for dir in "$(DESTDIR)$(foodir)"; do \
+-	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
+-	done
++	$(mkinstalldirs) $(DESTDIR)$(foodir)
+ install: install-am
+ install-exec: install-exec-am
+ install-data: install-data-am
+@@ -501,8 +479,6 @@
+ 
+ dvi-am:
+ 
+-html: html-am
+-
+ info: info-am
+ 
+ info-am:
+@@ -541,8 +517,8 @@
+ 
+ .PHONY: all all-am all-local check check-am check-local clean \
+ 	clean-generic clean-libtool distclean distclean-generic \
+-	distclean-libtool distdir dvi dvi-am html html-am info info-am \
+-	install install-am install-data install-data-am install-exec \
++	distclean-libtool distdir dvi dvi-am info info-am install \
++	install-am install-data install-data-am install-exec \
+ 	install-exec-am install-fooDATA install-info install-info-am \
+ 	install-man install-strip installcheck installcheck-am \
+ 	installdirs maintainer-clean maintainer-clean-generic \
+diff -ruN heimdal-0.6.3-old/lib/auth/sia/Makefile.in heimdal-0.6.3/lib/auth/sia/Makefile.in
+--- heimdal-0.6.3-old/lib/auth/sia/Makefile.in	2004-09-13 22:29:22.000000000 +1000
++++ heimdal-0.6.3/lib/auth/sia/Makefile.in	2004-09-14 08:39:56.000000000 +1000
+@@ -1,8 +1,8 @@
+-# Makefile.in generated by automake 1.8.3 from Makefile.am.
++# Makefile.in generated by automake 1.7.9 from Makefile.am.
+ # @configure_input@
+ 
+-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+-# 2003, 2004  Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
++# 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.
+@@ -27,6 +27,7 @@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+ top_builddir = ../../..
++
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+ INSTALL = @INSTALL@
+ install_sh_DATA = $(install_sh) -c -m 644
+@@ -41,62 +42,6 @@
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+ host_triplet = @host@
+-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+-	$(top_srcdir)/Makefile.am.common \
+-	$(top_srcdir)/cf/Makefile.am.common
+-subdir = lib/auth/sia
+-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+-am__aclocal_m4_deps = $(top_srcdir)/cf/aix.m4 \
+-	$(top_srcdir)/cf/auth-modules.m4 \
+-	$(top_srcdir)/cf/broken-getaddrinfo.m4 \
+-	$(top_srcdir)/cf/broken-getnameinfo.m4 \
+-	$(top_srcdir)/cf/broken-glob.m4 \
+-	$(top_srcdir)/cf/broken-realloc.m4 \
+-	$(top_srcdir)/cf/broken-snprintf.m4 $(top_srcdir)/cf/broken.m4 \
+-	$(top_srcdir)/cf/broken2.m4 $(top_srcdir)/cf/c-attribute.m4 \
+-	$(top_srcdir)/cf/capabilities.m4 \
+-	$(top_srcdir)/cf/check-compile-et.m4 \
+-	$(top_srcdir)/cf/check-declaration.m4 \
+-	$(top_srcdir)/cf/check-getpwnam_r-posix.m4 \
+-	$(top_srcdir)/cf/check-man.m4 \
+-	$(top_srcdir)/cf/check-netinet-ip-and-tcp.m4 \
+-	$(top_srcdir)/cf/check-type-extra.m4 \
+-	$(top_srcdir)/cf/check-var.m4 $(top_srcdir)/cf/check-x.m4 \
+-	$(top_srcdir)/cf/check-xau.m4 $(top_srcdir)/cf/crypto.m4 \
+-	$(top_srcdir)/cf/db.m4 $(top_srcdir)/cf/destdirs.m4 \
+-	$(top_srcdir)/cf/dlopen.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs2.m4 \
+-	$(top_srcdir)/cf/find-func.m4 \
+-	$(top_srcdir)/cf/find-if-not-broken.m4 \
+-	$(top_srcdir)/cf/have-struct-field.m4 \
+-	$(top_srcdir)/cf/have-type.m4 $(top_srcdir)/cf/irix.m4 \
+-	$(top_srcdir)/cf/krb-bigendian.m4 \
+-	$(top_srcdir)/cf/krb-func-getlogin.m4 \
+-	$(top_srcdir)/cf/krb-ipv6.m4 $(top_srcdir)/cf/krb-prog-ln-s.m4 \
+-	$(top_srcdir)/cf/krb-readline.m4 \
+-	$(top_srcdir)/cf/krb-struct-spwd.m4 \
+-	$(top_srcdir)/cf/krb-struct-winsize.m4 \
+-	$(top_srcdir)/cf/mips-abi.m4 $(top_srcdir)/cf/misc.m4 \
+-	$(top_srcdir)/cf/need-proto.m4 $(top_srcdir)/cf/osfc2.m4 \
+-	$(top_srcdir)/cf/otp.m4 $(top_srcdir)/cf/proto-compat.m4 \
+-	$(top_srcdir)/cf/retsigtype.m4 $(top_srcdir)/cf/roken-frag.m4 \
+-	$(top_srcdir)/cf/sunos.m4 $(top_srcdir)/cf/telnet.m4 \
+-	$(top_srcdir)/cf/test-package.m4 $(top_srcdir)/cf/wflags.m4 \
+-	$(top_srcdir)/cf/with-all.m4 $(top_srcdir)/configure.in
+-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+-	$(ACLOCAL_M4)
+-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = $(top_builddir)/include/config.h
+-CONFIG_CLEAN_FILES =
+-depcomp =
+-am__depfiles_maybe =
+-SOURCES =
+-DIST_SOURCES =
+-am__installdirs = "$(DESTDIR)$(foodir)"
+-fooDATA_INSTALL = $(INSTALL_DATA)
+-DATA = $(foo_DATA)
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ ACLOCAL = @ACLOCAL@
+ AIX4_FALSE = @AIX4_FALSE@
+ AIX4_TRUE = @AIX4_TRUE@
+@@ -121,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -128,10 +74,18 @@
+ DBLIB = @DBLIB@
+ DCE_FALSE = @DCE_FALSE@
+ DCE_TRUE = @DCE_TRUE@
++
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -154,12 +108,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
++
+ INCLUDE_krb4 = @INCLUDE_krb4@
++
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
++
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -170,8 +129,10 @@
+ KRB4_TRUE = @KRB4_TRUE@
+ KRB5_FALSE = @KRB5_FALSE@
+ KRB5_TRUE = @KRB5_TRUE@
++
+ LDFLAGS = @LDFLAGS@ -rpath $(libdir) -Wl,-hidden -Wl,-exported_symbol -Wl,siad_\* 
+ LEX = @LEX@
++
+ LEXLIB = @LEXLIB@
+ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+ LIBOBJS = @LIBOBJS@
+@@ -180,6 +141,7 @@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+ LIB_XauFileName = @LIB_XauFileName@
++
+ LIB_XauReadAuth = @LIB_XauReadAuth@
+ LIB_XauWriteAuth = @LIB_XauWriteAuth@
+ LIB_bswap16 = @LIB_bswap16@
+@@ -228,7 +190,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -256,6 +220,7 @@
+ STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
++
+ WFLAGS = @WFLAGS@ $(WFLAGS_NOIMPLICITINT)
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
+@@ -308,7 +273,6 @@
+ libexecdir = @libexecdir@
+ localstatedir = @localstatedir@
+ mandir = @mandir@
+-mkdir_p = @mkdir_p@
+ oldincludedir = @oldincludedir@
+ prefix = @prefix@
+ program_transform_name = @program_transform_name@
+@@ -316,36 +280,42 @@
+ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
++
+ SUFFIXES = .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .o
++
+ INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) $(INCLUDE_krb4)
++
+ @do_roken_rename_TRUE@ROKEN_RENAME = -DROKEN_RENAME
++
+ AM_CFLAGS = $(WFLAGS)
++
+ CP = cp
++
+ buildinclude = $(top_builddir)/include
+ LIB_getattr = @LIB_getattr@
+ LIB_getpwent_r = @LIB_getpwent_r@
+ LIB_odm_initialize = @LIB_odm_initialize@
+ LIB_setpcred = @LIB_setpcred@
++
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
++
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
++
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++
+ @KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
+ @KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+ 
+ @KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
++
+ @DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
++
+ KAFS = $(top_builddir)/lib/kafs/.libs/libkafs.a
+ KAFS_S = $(top_builddir)/lib/kafs/.libs/libkafs.so
+-@KRB5_FALSE@L = \
+-@KRB5_FALSE@	$(KAFS)						\
+-@KRB5_FALSE@	$(top_builddir)/lib/kadm/.libs/libkadm.a	\
+-@KRB5_FALSE@	$(top_builddir)/lib/krb/.libs/libkrb.a		\
+-@KRB5_FALSE@	$(LIB_des_a)		\
+-@KRB5_FALSE@	$(top_builddir)/lib/com_err/.libs/libcom_err.a	\
+-@KRB5_FALSE@	$(top_builddir)/lib/roken/.libs/libroken.a	\
+-@KRB5_FALSE@	$(LIB_getpwnam_r)				\
+-@KRB5_FALSE@	-lc
+ 
+ @KRB5_TRUE@L = \
+ @KRB5_TRUE@	$(KAFS)						\
+@@ -358,16 +328,18 @@
+ @KRB5_TRUE@	$(LIB_getpwnam_r)				\
+ @KRB5_TRUE@	-lc
+ 
+-@KRB5_FALSE@L_shared = \
+-@KRB5_FALSE@	$(KAFS_S)					\
+-@KRB5_FALSE@	$(top_builddir)/lib/kadm/.libs/libkadm.so	\
+-@KRB5_FALSE@	$(top_builddir)/lib/krb/.libs/libkrb.so		\
+-@KRB5_FALSE@	$(LIB_des_so)		\
+-@KRB5_FALSE@	$(top_builddir)/lib/com_err/.libs/libcom_err.so	\
+-@KRB5_FALSE@	$(top_builddir)/lib/roken/.libs/libroken.so	\
++
++@KRB5_FALSE@L = \
++@KRB5_FALSE@	$(KAFS)						\
++@KRB5_FALSE@	$(top_builddir)/lib/kadm/.libs/libkadm.a	\
++@KRB5_FALSE@	$(top_builddir)/lib/krb/.libs/libkrb.a		\
++@KRB5_FALSE@	$(LIB_des_a)		\
++@KRB5_FALSE@	$(top_builddir)/lib/com_err/.libs/libcom_err.a	\
++@KRB5_FALSE@	$(top_builddir)/lib/roken/.libs/libroken.a	\
+ @KRB5_FALSE@	$(LIB_getpwnam_r)				\
+ @KRB5_FALSE@	-lc
+ 
++
+ @KRB5_TRUE@L_shared = \
+ @KRB5_TRUE@	$(KAFS_S)					\
+ @KRB5_TRUE@	$(top_builddir)/lib/krb5/.libs/libkrb5.so	\
+@@ -379,48 +351,53 @@
+ @KRB5_TRUE@	$(LIB_getpwnam_r)				\
+ @KRB5_TRUE@	-lc
+ 
+-@KRB5_FALSE@MOD = libsia_krb4.so
++
++@KRB5_FALSE@L_shared = \
++@KRB5_FALSE@	$(KAFS_S)					\
++@KRB5_FALSE@	$(top_builddir)/lib/kadm/.libs/libkadm.so	\
++@KRB5_FALSE@	$(top_builddir)/lib/krb/.libs/libkrb.so		\
++@KRB5_FALSE@	$(LIB_des_so)		\
++@KRB5_FALSE@	$(top_builddir)/lib/com_err/.libs/libcom_err.so	\
++@KRB5_FALSE@	$(top_builddir)/lib/roken/.libs/libroken.so	\
++@KRB5_FALSE@	$(LIB_getpwnam_r)				\
++@KRB5_FALSE@	-lc
++
++
+ @KRB5_TRUE@MOD = libsia_krb5.so
++
++@KRB5_FALSE@MOD = libsia_krb4.so
++
+ EXTRA_DIST = sia.c krb4_matrix.conf krb4+c2_matrix.conf \
+ 	krb5_matrix.conf krb5+c2_matrix.conf security.patch
+ 
++
+ foodir = $(libdir)
+ foo_DATA = $(MOD)
++
+ OBJS = sia.o posix_getpw.o
++
+ CLEANFILES = $(MOD) $(OBJS) so_locations
++subdir = lib/auth/sia
++ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
++mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++depcomp =
++am__depfiles_maybe =
++DIST_SOURCES =
++DATA = $(foo_DATA)
++
++DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/Makefile.am.common \
++	$(top_srcdir)/cf/Makefile.am.common Makefile.am
+ all: all-am
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .o
+-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(am__configure_deps)
+-	@for dep in $?; do \
+-	  case '$(am__configure_deps)' in \
+-	    *$$dep*) \
+-	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+-		&& exit 0; \
+-	      exit 1;; \
+-	  esac; \
+-	done; \
+-	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  --ignore-deps lib/auth/sia/Makefile'; \
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+-	  $(AUTOMAKE) --foreign  --ignore-deps lib/auth/sia/Makefile
+-.PRECIOUS: Makefile
+-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+-	@case '$?' in \
+-	  *config.status*) \
+-	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+-	  *) \
+-	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+-	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+-	esac;
+-
+-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-
+-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
++	  $(AUTOMAKE) --foreign  lib/auth/sia/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+ 
+ mostlyclean-libtool:
+ 	-rm -f *.lo
+@@ -431,22 +408,23 @@
+ distclean-libtool:
+ 	-rm -f libtool
+ uninstall-info-am:
++fooDATA_INSTALL = $(INSTALL_DATA)
+ install-fooDATA: $(foo_DATA)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(foodir)" || $(mkdir_p) "$(DESTDIR)$(foodir)"
++	$(mkinstalldirs) $(DESTDIR)$(foodir)
+ 	@list='$(foo_DATA)'; for p in $$list; do \
+ 	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " $(fooDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(foodir)/$$f'"; \
+-	  $(fooDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(foodir)/$$f"; \
++	  echo " $(fooDATA_INSTALL) $$d$$p $(DESTDIR)$(foodir)/$$f"; \
++	  $(fooDATA_INSTALL) $$d$$p $(DESTDIR)$(foodir)/$$f; \
+ 	done
+ 
+ uninstall-fooDATA:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(foo_DATA)'; for p in $$list; do \
+ 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " rm -f '$(DESTDIR)$(foodir)/$$f'"; \
+-	  rm -f "$(DESTDIR)$(foodir)/$$f"; \
++	  echo " rm -f $(DESTDIR)$(foodir)/$$f"; \
++	  rm -f $(DESTDIR)$(foodir)/$$f; \
+ 	done
+ tags: TAGS
+ TAGS:
+@@ -454,9 +432,13 @@
+ ctags: CTAGS
+ CTAGS:
+ 
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++
++top_distdir = ../../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	$(mkdir_p) $(distdir)/../../.. $(distdir)/../../../cf
++	$(mkinstalldirs) $(distdir)/../../.. $(distdir)/../../../cf
+ 	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ 	list='$(DISTFILES)'; for file in $$list; do \
+@@ -468,7 +450,7 @@
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ 	    dir="/$$dir"; \
+-	    $(mkdir_p) "$(distdir)$$dir"; \
++	    $(mkinstalldirs) "$(distdir)$$dir"; \
+ 	  else \
+ 	    dir=''; \
+ 	  fi; \
+@@ -490,10 +472,9 @@
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+ all-am: Makefile $(DATA) all-local
++
+ installdirs:
+-	for dir in "$(DESTDIR)$(foodir)"; do \
+-	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
+-	done
++	$(mkinstalldirs) $(DESTDIR)$(foodir)
+ install: install-am
+ install-exec: install-exec-am
+ install-data: install-data-am
+@@ -531,8 +512,6 @@
+ 
+ dvi-am:
+ 
+-html: html-am
+-
+ info: info-am
+ 
+ info-am:
+@@ -571,8 +550,8 @@
+ 
+ .PHONY: all all-am all-local check check-am check-local clean \
+ 	clean-generic clean-libtool distclean distclean-generic \
+-	distclean-libtool distdir dvi dvi-am html html-am info info-am \
+-	install install-am install-data install-data-am install-exec \
++	distclean-libtool distdir dvi dvi-am info info-am install \
++	install-am install-data install-data-am install-exec \
+ 	install-exec-am install-fooDATA install-info install-info-am \
+ 	install-man install-strip installcheck installcheck-am \
+ 	installdirs maintainer-clean maintainer-clean-generic \
+diff -ruN heimdal-0.6.3-old/lib/com_err/Makefile.in heimdal-0.6.3/lib/com_err/Makefile.in
+--- heimdal-0.6.3-old/lib/com_err/Makefile.in	2004-09-13 22:29:23.000000000 +1000
++++ heimdal-0.6.3/lib/com_err/Makefile.in	2004-09-14 08:39:57.000000000 +1000
+@@ -1,8 +1,8 @@
+-# Makefile.in generated by automake 1.8.3 from Makefile.am.
++# Makefile.in generated by automake 1.7.9 from Makefile.am.
+ # @configure_input@
+ 
+-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+-# 2003, 2004  Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
++# 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.
+@@ -20,10 +20,6 @@
+ 
+ # $Id: Makefile.am.common,v 1.37.2.2 2003/10/13 13:15:39 joda Exp $
+ 
+-
+-
+-SOURCES = $(libcom_err_la_SOURCES) $(compile_et_SOURCES)
+-
+ srcdir = @srcdir@
+ top_srcdir = @top_srcdir@
+ VPATH = @srcdir@
+@@ -31,6 +27,7 @@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+ top_builddir = ../..
++
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+ INSTALL = @INSTALL@
+ install_sh_DATA = $(install_sh) -c -m 644
+@@ -45,92 +42,6 @@
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+ host_triplet = @host@
+-DIST_COMMON = $(include_HEADERS) $(srcdir)/Makefile.am \
+-	$(srcdir)/Makefile.in $(top_srcdir)/Makefile.am.common \
+-	$(top_srcdir)/cf/Makefile.am.common ChangeLog lex.c parse.c \
+-	parse.h
+-bin_PROGRAMS = compile_et$(EXEEXT)
+-subdir = lib/com_err
+-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+-am__aclocal_m4_deps = $(top_srcdir)/cf/aix.m4 \
+-	$(top_srcdir)/cf/auth-modules.m4 \
+-	$(top_srcdir)/cf/broken-getaddrinfo.m4 \
+-	$(top_srcdir)/cf/broken-getnameinfo.m4 \
+-	$(top_srcdir)/cf/broken-glob.m4 \
+-	$(top_srcdir)/cf/broken-realloc.m4 \
+-	$(top_srcdir)/cf/broken-snprintf.m4 $(top_srcdir)/cf/broken.m4 \
+-	$(top_srcdir)/cf/broken2.m4 $(top_srcdir)/cf/c-attribute.m4 \
+-	$(top_srcdir)/cf/capabilities.m4 \
+-	$(top_srcdir)/cf/check-compile-et.m4 \
+-	$(top_srcdir)/cf/check-declaration.m4 \
+-	$(top_srcdir)/cf/check-getpwnam_r-posix.m4 \
+-	$(top_srcdir)/cf/check-man.m4 \
+-	$(top_srcdir)/cf/check-netinet-ip-and-tcp.m4 \
+-	$(top_srcdir)/cf/check-type-extra.m4 \
+-	$(top_srcdir)/cf/check-var.m4 $(top_srcdir)/cf/check-x.m4 \
+-	$(top_srcdir)/cf/check-xau.m4 $(top_srcdir)/cf/crypto.m4 \
+-	$(top_srcdir)/cf/db.m4 $(top_srcdir)/cf/destdirs.m4 \
+-	$(top_srcdir)/cf/dlopen.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs2.m4 \
+-	$(top_srcdir)/cf/find-func.m4 \
+-	$(top_srcdir)/cf/find-if-not-broken.m4 \
+-	$(top_srcdir)/cf/have-struct-field.m4 \
+-	$(top_srcdir)/cf/have-type.m4 $(top_srcdir)/cf/irix.m4 \
+-	$(top_srcdir)/cf/krb-bigendian.m4 \
+-	$(top_srcdir)/cf/krb-func-getlogin.m4 \
+-	$(top_srcdir)/cf/krb-ipv6.m4 $(top_srcdir)/cf/krb-prog-ln-s.m4 \
+-	$(top_srcdir)/cf/krb-readline.m4 \
+-	$(top_srcdir)/cf/krb-struct-spwd.m4 \
+-	$(top_srcdir)/cf/krb-struct-winsize.m4 \
+-	$(top_srcdir)/cf/mips-abi.m4 $(top_srcdir)/cf/misc.m4 \
+-	$(top_srcdir)/cf/need-proto.m4 $(top_srcdir)/cf/osfc2.m4 \
+-	$(top_srcdir)/cf/otp.m4 $(top_srcdir)/cf/proto-compat.m4 \
+-	$(top_srcdir)/cf/retsigtype.m4 $(top_srcdir)/cf/roken-frag.m4 \
+-	$(top_srcdir)/cf/sunos.m4 $(top_srcdir)/cf/telnet.m4 \
+-	$(top_srcdir)/cf/test-package.m4 $(top_srcdir)/cf/wflags.m4 \
+-	$(top_srcdir)/cf/with-all.m4 $(top_srcdir)/configure.in
+-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+-	$(ACLOCAL_M4)
+-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = $(top_builddir)/include/config.h
+-CONFIG_CLEAN_FILES =
+-am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(includedir)"
+-libLTLIBRARIES_INSTALL = $(INSTALL)
+-LTLIBRARIES = $(lib_LTLIBRARIES)
+-libcom_err_la_LIBADD =
+-am_libcom_err_la_OBJECTS = error.lo com_err.lo
+-libcom_err_la_OBJECTS = $(am_libcom_err_la_OBJECTS)
+-binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+-PROGRAMS = $(bin_PROGRAMS)
+-am_compile_et_OBJECTS = compile_et.$(OBJEXT) parse.$(OBJEXT) \
+-	lex.$(OBJEXT)
+-compile_et_OBJECTS = $(am_compile_et_OBJECTS)
+-am__DEPENDENCIES_1 =
+-compile_et_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
+-DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
+-depcomp =
+-am__depfiles_maybe =
+-COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+-	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) \
+-	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+-	$(AM_CFLAGS) $(CFLAGS)
+-CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+-	$(AM_LDFLAGS) $(LDFLAGS) -o $@
+-LEXCOMPILE = $(LEX) $(LFLAGS) $(AM_LFLAGS)
+-LTLEXCOMPILE = $(LIBTOOL) --mode=compile $(LEX) $(LFLAGS) $(AM_LFLAGS)
+-YACCCOMPILE = $(YACC) $(YFLAGS) $(AM_YFLAGS)
+-LTYACCCOMPILE = $(LIBTOOL) --mode=compile $(YACC) $(YFLAGS) \
+-	$(AM_YFLAGS)
+-SOURCES = $(libcom_err_la_SOURCES) $(compile_et_SOURCES)
+-DIST_SOURCES = $(libcom_err_la_SOURCES) $(compile_et_SOURCES)
+-includeHEADERS_INSTALL = $(INSTALL_HEADER)
+-HEADERS = $(include_HEADERS)
+-ETAGS = etags
+-CTAGS = ctags
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ ACLOCAL = @ACLOCAL@
+ AIX4_FALSE = @AIX4_FALSE@
+ AIX4_TRUE = @AIX4_TRUE@
+@@ -155,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -165,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -188,12 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
++
+ INCLUDE_krb4 = @INCLUDE_krb4@
++
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
++
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -206,6 +130,7 @@
+ KRB5_TRUE = @KRB5_TRUE@
+ LDFLAGS = @LDFLAGS@
+ LEX = @LEX@
++
+ LEXLIB = @LEXLIB@
+ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+ LIBOBJS = @LIBOBJS@
+@@ -214,6 +139,7 @@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+ LIB_XauFileName = @LIB_XauFileName@
++
+ LIB_XauReadAuth = @LIB_XauReadAuth@
+ LIB_XauWriteAuth = @LIB_XauWriteAuth@
+ LIB_bswap16 = @LIB_bswap16@
+@@ -262,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -342,7 +270,6 @@
+ libexecdir = @libexecdir@
+ localstatedir = @localstatedir@
+ mandir = @mandir@
+-mkdir_p = @mkdir_p@
+ oldincludedir = @oldincludedir@
+ prefix = @prefix@
+ program_transform_name = @program_transform_name@
+@@ -350,77 +277,119 @@
+ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
++
+ SUFFIXES = .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8
++
+ INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken)
++
+ @do_roken_rename_TRUE@ROKEN_RENAME = -DROKEN_RENAME
++
+ AM_CFLAGS = $(WFLAGS)
++
+ CP = cp
++
+ buildinclude = $(top_builddir)/include
+ LIB_getattr = @LIB_getattr@
+ LIB_getpwent_r = @LIB_getpwent_r@
+ LIB_odm_initialize = @LIB_odm_initialize@
+ LIB_setpcred = @LIB_setpcred@
++
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
++
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
++
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++
+ @KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
+ @KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+ 
+ @KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
++
+ @DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
++
+ YFLAGS = -d
++
+ lib_LTLIBRARIES = libcom_err.la
+ libcom_err_la_LDFLAGS = -version-info 2:1:1
++
++bin_PROGRAMS = compile_et
++
+ include_HEADERS = com_err.h com_right.h
++
+ compile_et_SOURCES = compile_et.c compile_et.h parse.y lex.l
++
+ libcom_err_la_SOURCES = error.c com_err.c roken_rename.h
++
+ CLEANFILES = lex.c parse.c parse.h
++
+ compile_et_LDADD = \
+ 	$(LIB_roken) \
+ 	$(LEXLIB)
+ 
++subdir = lib/com_err
++ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
++mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++LTLIBRARIES = $(lib_LTLIBRARIES)
++
++libcom_err_la_LIBADD =
++am_libcom_err_la_OBJECTS = error.lo com_err.lo
++libcom_err_la_OBJECTS = $(am_libcom_err_la_OBJECTS)
++bin_PROGRAMS = compile_et$(EXEEXT)
++PROGRAMS = $(bin_PROGRAMS)
++
++am_compile_et_OBJECTS = compile_et.$(OBJEXT) parse.$(OBJEXT) \
++	lex.$(OBJEXT)
++compile_et_OBJECTS = $(am_compile_et_OBJECTS)
++compile_et_DEPENDENCIES =
++compile_et_LDFLAGS =
++
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
++depcomp =
++am__depfiles_maybe =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++CCLD = $(CC)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++LEXCOMPILE = $(LEX) $(LFLAGS) $(AM_LFLAGS)
++LTLEXCOMPILE = $(LIBTOOL) --mode=compile $(LEX) $(LFLAGS) $(AM_LFLAGS)
++YACCCOMPILE = $(YACC) $(YFLAGS) $(AM_YFLAGS)
++LTYACCCOMPILE = $(LIBTOOL) --mode=compile $(YACC) $(YFLAGS) $(AM_YFLAGS)
++DIST_SOURCES = $(libcom_err_la_SOURCES) $(compile_et_SOURCES)
++HEADERS = $(include_HEADERS)
++
++DIST_COMMON = $(include_HEADERS) $(srcdir)/Makefile.in \
++	$(top_srcdir)/Makefile.am.common \
++	$(top_srcdir)/cf/Makefile.am.common ChangeLog Makefile.am lex.c \
++	parse.c parse.h
++SOURCES = $(libcom_err_la_SOURCES) $(compile_et_SOURCES)
++
+ all: all-am
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .l .lo .o .obj .y
+-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(am__configure_deps)
+-	@for dep in $?; do \
+-	  case '$(am__configure_deps)' in \
+-	    *$$dep*) \
+-	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+-		&& exit 0; \
+-	      exit 1;; \
+-	  esac; \
+-	done; \
+-	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  --ignore-deps lib/com_err/Makefile'; \
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+-	  $(AUTOMAKE) --foreign  --ignore-deps lib/com_err/Makefile
+-.PRECIOUS: Makefile
+-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+-	@case '$?' in \
+-	  *config.status*) \
+-	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+-	  *) \
+-	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+-	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+-	esac;
+-
+-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-
+-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
++	  $(AUTOMAKE) --foreign  lib/com_err/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
++libLTLIBRARIES_INSTALL = $(INSTALL)
+ install-libLTLIBRARIES: $(lib_LTLIBRARIES)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)"
++	$(mkinstalldirs) $(DESTDIR)$(libdir)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+ 	  if test -f $$p; then \
+ 	    f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	    echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
+-	    $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
++	    echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$f"; \
++	    $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+@@ -428,8 +397,8 @@
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+ 	    p="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \
+-	  $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \
++	  echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
++	  $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
+ 	done
+ 
+ clean-libLTLIBRARIES:
+@@ -442,17 +411,18 @@
+ 	done
+ libcom_err.la: $(libcom_err_la_OBJECTS) $(libcom_err_la_DEPENDENCIES) 
+ 	$(LINK) -rpath $(libdir) $(libcom_err_la_LDFLAGS) $(libcom_err_la_OBJECTS) $(libcom_err_la_LIBADD) $(LIBS)
++binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ install-binPROGRAMS: $(bin_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
++	$(mkinstalldirs) $(DESTDIR)$(bindir)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+ 	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+ 	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+-	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
+-	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f || exit 1; \
+ 	  else :; fi; \
+ 	done
+ 
+@@ -460,8 +430,8 @@
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+ 	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
+-	  rm -f "$(DESTDIR)$(bindir)/$$f"; \
++	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
++	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+ clean-binPROGRAMS:
+@@ -480,27 +450,27 @@
+ 	$(LINK) $(compile_et_LDFLAGS) $(compile_et_OBJECTS) $(compile_et_LDADD) $(LIBS)
+ 
+ mostlyclean-compile:
+-	-rm -f *.$(OBJEXT)
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ .c.obj:
+-	$(COMPILE) -c `$(CYGPATH_W) '$<'`
++	$(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
+ 
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ .l.c:
+-	$(LEXCOMPILE) $<
++	$(LEXCOMPILE) `test -f $< || echo '$(srcdir)/'`$<
+ 	sed '/^#/ s|$(LEX_OUTPUT_ROOT)\.c|$@|' $(LEX_OUTPUT_ROOT).c >$@
+ 	rm -f $(LEX_OUTPUT_ROOT).c
+ 
+ .y.c:
+-	$(YACCCOMPILE) $<
++	$(YACCCOMPILE) `test -f '$<' || echo '$(srcdir)/'`$<
+ 	if test -f y.tab.h; then \
+ 	  to=`echo "$*_H" | sed \
+                 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/' \
+@@ -528,24 +498,33 @@
+ distclean-libtool:
+ 	-rm -f libtool
+ uninstall-info-am:
++includeHEADERS_INSTALL = $(INSTALL_HEADER)
+ install-includeHEADERS: $(include_HEADERS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(includedir)" || $(mkdir_p) "$(DESTDIR)$(includedir)"
++	$(mkinstalldirs) $(DESTDIR)$(includedir)
+ 	@list='$(include_HEADERS)'; for p in $$list; do \
+ 	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " $(includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(includedir)/$$f'"; \
+-	  $(includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(includedir)/$$f"; \
++	  echo " $(includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
++	  $(includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(includedir)/$$f; \
+ 	done
+ 
+ uninstall-includeHEADERS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(include_HEADERS)'; for p in $$list; do \
+ 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " rm -f '$(DESTDIR)$(includedir)/$$f'"; \
+-	  rm -f "$(DESTDIR)$(includedir)/$$f"; \
++	  echo " rm -f $(DESTDIR)$(includedir)/$$f"; \
++	  rm -f $(DESTDIR)$(includedir)/$$f; \
+ 	done
+ 
++ETAGS = etags
++ETAGSFLAGS =
++
++CTAGS = ctags
++CTAGSFLAGS =
++
++tags: TAGS
++
+ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ 	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ 	unique=`for i in $$list; do \
+@@ -554,7 +533,6 @@
+ 	  $(AWK) '    { files[$$0] = 1; } \
+ 	       END { for (i in files) print i; }'`; \
+ 	mkid -fID $$unique
+-tags: TAGS
+ 
+ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -569,6 +547,7 @@
+ 	test -z "$(ETAGS_ARGS)$$tags$$unique" \
+ 	  || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ 	     $$tags $$unique
++
+ ctags: CTAGS
+ CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -591,9 +570,13 @@
+ 
+ distclean-tags:
+ 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	$(mkdir_p) $(distdir)/../.. $(distdir)/../../cf
++	$(mkinstalldirs) $(distdir)/../.. $(distdir)/../../cf
+ 	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ 	list='$(DISTFILES)'; for file in $$list; do \
+@@ -605,7 +588,7 @@
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ 	    dir="/$$dir"; \
+-	    $(mkdir_p) "$(distdir)$$dir"; \
++	    $(mkinstalldirs) "$(distdir)$$dir"; \
+ 	  else \
+ 	    dir=''; \
+ 	  fi; \
+@@ -629,10 +612,9 @@
+ all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(HEADERS) all-local
+ install-binPROGRAMS: install-libLTLIBRARIES
+ 
++
+ installdirs:
+-	for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(includedir)"; do \
+-	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
+-	done
++	$(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(bindir) $(DESTDIR)$(includedir)
+ install: install-am
+ install-exec: install-exec-am
+ install-data: install-data-am
+@@ -675,8 +657,6 @@
+ 
+ dvi-am:
+ 
+-html: html-am
+-
+ info: info-am
+ 
+ info-am:
+@@ -719,16 +699,16 @@
+ 	clean clean-binPROGRAMS clean-generic clean-libLTLIBRARIES \
+ 	clean-libtool ctags distclean distclean-compile \
+ 	distclean-generic distclean-libtool distclean-tags distdir dvi \
+-	dvi-am html html-am info info-am install install-am \
+-	install-binPROGRAMS install-data install-data-am install-exec \
+-	install-exec-am install-includeHEADERS install-info \
+-	install-info-am install-libLTLIBRARIES install-man \
+-	install-strip installcheck installcheck-am installdirs \
+-	maintainer-clean maintainer-clean-generic mostlyclean \
+-	mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
+-	pdf pdf-am ps ps-am tags uninstall uninstall-am \
+-	uninstall-binPROGRAMS uninstall-includeHEADERS \
+-	uninstall-info-am uninstall-libLTLIBRARIES
++	dvi-am info info-am install install-am install-binPROGRAMS \
++	install-data install-data-am install-exec install-exec-am \
++	install-includeHEADERS install-info install-info-am \
++	install-libLTLIBRARIES install-man install-strip installcheck \
++	installcheck-am installdirs maintainer-clean \
++	maintainer-clean-generic mostlyclean mostlyclean-compile \
++	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
++	tags uninstall uninstall-am uninstall-binPROGRAMS \
++	uninstall-includeHEADERS uninstall-info-am \
++	uninstall-libLTLIBRARIES
+ 
+ 
+ install-suid-programs:
+diff -ruN heimdal-0.6.3-old/lib/des/Makefile.in heimdal-0.6.3/lib/des/Makefile.in
+--- heimdal-0.6.3-old/lib/des/Makefile.in	2004-09-13 22:29:25.000000000 +1000
++++ heimdal-0.6.3/lib/des/Makefile.in	2004-09-14 08:39:57.000000000 +1000
+@@ -1,8 +1,8 @@
+-# Makefile.in generated by automake 1.8.3 from Makefile.am.
++# Makefile.in generated by automake 1.7.9 from Makefile.am.
+ # @configure_input@
+ 
+-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+-# 2003, 2004  Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
++# 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.
+@@ -20,10 +20,6 @@
+ 
+ # $Id: Makefile.am.common,v 1.37.2.2 2003/10/13 13:15:39 joda Exp $
+ 
+-
+-
+-SOURCES = $(libdes_la_SOURCES) $(EXTRA_libdes_la_SOURCES) $(des_SOURCES) destest.c md5crypt_test.c mdtest.c
+-
+ srcdir = @srcdir@
+ top_srcdir = @top_srcdir@
+ VPATH = @srcdir@
+@@ -31,6 +27,7 @@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+ top_builddir = ../..
++
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+ INSTALL = @INSTALL@
+ install_sh_DATA = $(install_sh) -c -m 644
+@@ -45,110 +42,6 @@
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+ host_triplet = @host@
+-DIST_COMMON = README $(include_HEADERS) $(srcdir)/Makefile.am \
+-	$(srcdir)/Makefile.in $(top_srcdir)/Makefile.am.common \
+-	$(top_srcdir)/cf/Makefile.am.common ChangeLog INSTALL
+-check_PROGRAMS = destest$(EXEEXT) mdtest$(EXEEXT) \
+-	md5crypt_test$(EXEEXT)
+-bin_PROGRAMS = des$(EXEEXT)
+-subdir = lib/des
+-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+-am__aclocal_m4_deps = $(top_srcdir)/cf/aix.m4 \
+-	$(top_srcdir)/cf/auth-modules.m4 \
+-	$(top_srcdir)/cf/broken-getaddrinfo.m4 \
+-	$(top_srcdir)/cf/broken-getnameinfo.m4 \
+-	$(top_srcdir)/cf/broken-glob.m4 \
+-	$(top_srcdir)/cf/broken-realloc.m4 \
+-	$(top_srcdir)/cf/broken-snprintf.m4 $(top_srcdir)/cf/broken.m4 \
+-	$(top_srcdir)/cf/broken2.m4 $(top_srcdir)/cf/c-attribute.m4 \
+-	$(top_srcdir)/cf/capabilities.m4 \
+-	$(top_srcdir)/cf/check-compile-et.m4 \
+-	$(top_srcdir)/cf/check-declaration.m4 \
+-	$(top_srcdir)/cf/check-getpwnam_r-posix.m4 \
+-	$(top_srcdir)/cf/check-man.m4 \
+-	$(top_srcdir)/cf/check-netinet-ip-and-tcp.m4 \
+-	$(top_srcdir)/cf/check-type-extra.m4 \
+-	$(top_srcdir)/cf/check-var.m4 $(top_srcdir)/cf/check-x.m4 \
+-	$(top_srcdir)/cf/check-xau.m4 $(top_srcdir)/cf/crypto.m4 \
+-	$(top_srcdir)/cf/db.m4 $(top_srcdir)/cf/destdirs.m4 \
+-	$(top_srcdir)/cf/dlopen.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs2.m4 \
+-	$(top_srcdir)/cf/find-func.m4 \
+-	$(top_srcdir)/cf/find-if-not-broken.m4 \
+-	$(top_srcdir)/cf/have-struct-field.m4 \
+-	$(top_srcdir)/cf/have-type.m4 $(top_srcdir)/cf/irix.m4 \
+-	$(top_srcdir)/cf/krb-bigendian.m4 \
+-	$(top_srcdir)/cf/krb-func-getlogin.m4 \
+-	$(top_srcdir)/cf/krb-ipv6.m4 $(top_srcdir)/cf/krb-prog-ln-s.m4 \
+-	$(top_srcdir)/cf/krb-readline.m4 \
+-	$(top_srcdir)/cf/krb-struct-spwd.m4 \
+-	$(top_srcdir)/cf/krb-struct-winsize.m4 \
+-	$(top_srcdir)/cf/mips-abi.m4 $(top_srcdir)/cf/misc.m4 \
+-	$(top_srcdir)/cf/need-proto.m4 $(top_srcdir)/cf/osfc2.m4 \
+-	$(top_srcdir)/cf/otp.m4 $(top_srcdir)/cf/proto-compat.m4 \
+-	$(top_srcdir)/cf/retsigtype.m4 $(top_srcdir)/cf/roken-frag.m4 \
+-	$(top_srcdir)/cf/sunos.m4 $(top_srcdir)/cf/telnet.m4 \
+-	$(top_srcdir)/cf/test-package.m4 $(top_srcdir)/cf/wflags.m4 \
+-	$(top_srcdir)/cf/with-all.m4 $(top_srcdir)/configure.in
+-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+-	$(ACLOCAL_M4)
+-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = $(top_builddir)/include/config.h
+-CONFIG_CLEAN_FILES =
+-am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man3dir)" "$(DESTDIR)$(includedir)"
+-libLTLIBRARIES_INSTALL = $(INSTALL)
+-LTLIBRARIES = $(lib_LTLIBRARIES)
+-libdes_la_LIBADD =
+-am_libdes_la_OBJECTS = cbc3_enc.lo cbc_cksm.lo cbc_enc.lo cfb64ede.lo \
+-	cfb64enc.lo cfb_enc.lo des_enc.lo ecb3_enc.lo ecb_enc.lo \
+-	ede_enc.lo enc_read.lo enc_writ.lo fcrypt.lo key_par.lo md4.lo \
+-	md5.lo ncbc_enc.lo ofb64ede.lo ofb64enc.lo ofb_enc.lo \
+-	pcbc_enc.lo qud_cksm.lo rc4_skey.lo rc4_enc.lo read_pwd.lo \
+-	rnd_keys.lo set_key.lo sha.lo str2key.lo xcbc_enc.lo
+-libdes_la_OBJECTS = $(am_libdes_la_OBJECTS)
+-binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+-PROGRAMS = $(bin_PROGRAMS)
+-am_des_OBJECTS = des.$(OBJEXT)
+-des_OBJECTS = $(am_des_OBJECTS)
+-des_LDADD = $(LDADD)
+-am__DEPENDENCIES_1 = libdes.la
+-des_DEPENDENCIES = $(am__DEPENDENCIES_1)
+-destest_SOURCES = destest.c
+-destest_OBJECTS = destest.$(OBJEXT)
+-destest_LDADD = $(LDADD)
+-destest_DEPENDENCIES = $(am__DEPENDENCIES_1)
+-md5crypt_test_SOURCES = md5crypt_test.c
+-md5crypt_test_OBJECTS = md5crypt_test.$(OBJEXT)
+-md5crypt_test_LDADD = $(LDADD)
+-md5crypt_test_DEPENDENCIES = $(am__DEPENDENCIES_1)
+-mdtest_SOURCES = mdtest.c
+-mdtest_OBJECTS = mdtest.$(OBJEXT)
+-mdtest_LDADD = $(LDADD)
+-mdtest_DEPENDENCIES = $(am__DEPENDENCIES_1)
+-DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
+-depcomp =
+-am__depfiles_maybe =
+-COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+-	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) \
+-	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+-	$(AM_CFLAGS) $(CFLAGS)
+-CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+-	$(AM_LDFLAGS) $(LDFLAGS) -o $@
+-SOURCES = $(libdes_la_SOURCES) $(EXTRA_libdes_la_SOURCES) \
+-	$(des_SOURCES) destest.c md5crypt_test.c mdtest.c
+-DIST_SOURCES = $(libdes_la_SOURCES) $(EXTRA_libdes_la_SOURCES) \
+-	$(des_SOURCES) destest.c md5crypt_test.c mdtest.c
+-man1dir = $(mandir)/man1
+-man3dir = $(mandir)/man3
+-MANS = $(man_MANS)
+-includeHEADERS_INSTALL = $(INSTALL_HEADER)
+-HEADERS = $(include_HEADERS)
+-ETAGS = etags
+-CTAGS = ctags
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ ACLOCAL = @ACLOCAL@
+ AIX4_FALSE = @AIX4_FALSE@
+ AIX4_TRUE = @AIX4_TRUE@
+@@ -173,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -183,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -206,12 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
++
+ INCLUDE_krb4 = @INCLUDE_krb4@
++
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
++
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -224,6 +130,7 @@
+ KRB5_TRUE = @KRB5_TRUE@
+ LDFLAGS = @LDFLAGS@
+ LEX = @LEX@
++
+ LEXLIB = @LEXLIB@
+ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+ LIBOBJS = @LIBOBJS@
+@@ -232,6 +139,7 @@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+ LIB_XauFileName = @LIB_XauFileName@
++
+ LIB_XauReadAuth = @LIB_XauReadAuth@
+ LIB_XauWriteAuth = @LIB_XauWriteAuth@
+ LIB_bswap16 = @LIB_bswap16@
+@@ -280,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -360,7 +270,6 @@
+ libexecdir = @libexecdir@
+ localstatedir = @localstatedir@
+ mandir = @mandir@
+-mkdir_p = @mkdir_p@
+ oldincludedir = @oldincludedir@
+ prefix = @prefix@
+ program_transform_name = @program_transform_name@
+@@ -368,33 +277,57 @@
+ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
++
+ SUFFIXES = .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8
++
+ INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken)
++
+ @do_roken_rename_TRUE@ROKEN_RENAME = -DROKEN_RENAME
++
+ AM_CFLAGS = $(WFLAGS)
++
+ CP = cp
++
+ buildinclude = $(top_builddir)/include
+ LIB_getattr = @LIB_getattr@
+ LIB_getpwent_r = @LIB_getpwent_r@
+ LIB_odm_initialize = @LIB_odm_initialize@
+ LIB_setpcred = @LIB_setpcred@
++
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
++
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
++
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++
+ @KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
+ @KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+ 
+ @KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
++
+ @DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
++
+ lib_LTLIBRARIES = libdes.la
+ libdes_la_LDFLAGS = -version-info 3:1:0
++
+ include_HEADERS = des.h md4.h md5.h sha.h rc4.h
++
+ build_HEADERZ = $(include_HEADERS)
++
++check_PROGRAMS = destest mdtest md5crypt_test
++
+ TESTS = destest mdtest md5crypt_test
+ CHECK_LOCAL = 
++bin_PROGRAMS = des #rpw speed
++
+ des_SOURCES = des.c des_ver.h
++
+ LDADD = $(lib_LTLIBRARIES)
++
+ libdes_la_SOURCES = \
+ 	cbc3_enc.c	\
+ 	cbc_cksm.c	\
+@@ -432,10 +365,13 @@
+ 	str2key.c	\
+ 	xcbc_enc.c
+ 
++
+ EXTRA_libdes_la_SOURCES = dllmain.c passwd_dialog.aps passwd_dialog.clw \
+ 	passwd_dialog.rc passwd_dialog.res passwd_dlg.c passwd_dlg.h resource.h
+ 
++
+ man_MANS = des.1 des_crypt.3
++
+ EXTRA_DIST = \
+ 	COPYRIGHT	\
+ 	DES.pm		\
+@@ -476,51 +412,90 @@
+ 	version.h	\
+ 	vms.com
+ 
++
+ asm_files = des-som2.pl des-som3.pl des586.pl des686.pl desboth.pl \
+ 	dx86-cpp.s dx86unix.cpp readme win32.asm win32.obj win32.uu x86ms.pl \
+ 	x86unix.pl
+ 
++subdir = lib/des
++ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
++mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++LTLIBRARIES = $(lib_LTLIBRARIES)
++
++libdes_la_LIBADD =
++am_libdes_la_OBJECTS = cbc3_enc.lo cbc_cksm.lo cbc_enc.lo cfb64ede.lo \
++	cfb64enc.lo cfb_enc.lo des_enc.lo ecb3_enc.lo ecb_enc.lo \
++	ede_enc.lo enc_read.lo enc_writ.lo fcrypt.lo key_par.lo md4.lo \
++	md5.lo ncbc_enc.lo ofb64ede.lo ofb64enc.lo ofb_enc.lo \
++	pcbc_enc.lo qud_cksm.lo rc4_skey.lo rc4_enc.lo read_pwd.lo \
++	rnd_keys.lo set_key.lo sha.lo str2key.lo xcbc_enc.lo
++libdes_la_OBJECTS = $(am_libdes_la_OBJECTS)
++bin_PROGRAMS = des$(EXEEXT)
++check_PROGRAMS = destest$(EXEEXT) mdtest$(EXEEXT) md5crypt_test$(EXEEXT)
++PROGRAMS = $(bin_PROGRAMS)
++
++am_des_OBJECTS = des.$(OBJEXT)
++des_OBJECTS = $(am_des_OBJECTS)
++des_LDADD = $(LDADD)
++des_DEPENDENCIES = libdes.la
++des_LDFLAGS =
++destest_SOURCES = destest.c
++destest_OBJECTS = destest.$(OBJEXT)
++destest_LDADD = $(LDADD)
++destest_DEPENDENCIES = libdes.la
++destest_LDFLAGS =
++md5crypt_test_SOURCES = md5crypt_test.c
++md5crypt_test_OBJECTS = md5crypt_test.$(OBJEXT)
++md5crypt_test_LDADD = $(LDADD)
++md5crypt_test_DEPENDENCIES = libdes.la
++md5crypt_test_LDFLAGS =
++mdtest_SOURCES = mdtest.c
++mdtest_OBJECTS = mdtest.$(OBJEXT)
++mdtest_LDADD = $(LDADD)
++mdtest_DEPENDENCIES = libdes.la
++mdtest_LDFLAGS =
++
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
++depcomp =
++am__depfiles_maybe =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++CCLD = $(CC)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++DIST_SOURCES = $(libdes_la_SOURCES) $(EXTRA_libdes_la_SOURCES) \
++	$(des_SOURCES) destest.c md5crypt_test.c mdtest.c
++MANS = $(man_MANS)
++HEADERS = $(include_HEADERS)
++
++DIST_COMMON = README $(include_HEADERS) $(srcdir)/Makefile.in \
++	$(top_srcdir)/Makefile.am.common \
++	$(top_srcdir)/cf/Makefile.am.common ChangeLog INSTALL \
++	Makefile.am
++SOURCES = $(libdes_la_SOURCES) $(EXTRA_libdes_la_SOURCES) $(des_SOURCES) destest.c md5crypt_test.c mdtest.c
++
+ all: all-am
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj
+-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(am__configure_deps)
+-	@for dep in $?; do \
+-	  case '$(am__configure_deps)' in \
+-	    *$$dep*) \
+-	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+-		&& exit 0; \
+-	      exit 1;; \
+-	  esac; \
+-	done; \
+-	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  --ignore-deps lib/des/Makefile'; \
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+-	  $(AUTOMAKE) --foreign  --ignore-deps lib/des/Makefile
+-.PRECIOUS: Makefile
+-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+-	@case '$?' in \
+-	  *config.status*) \
+-	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+-	  *) \
+-	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+-	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+-	esac;
+-
+-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-
+-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
++	  $(AUTOMAKE) --foreign  lib/des/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
++libLTLIBRARIES_INSTALL = $(INSTALL)
+ install-libLTLIBRARIES: $(lib_LTLIBRARIES)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)"
++	$(mkinstalldirs) $(DESTDIR)$(libdir)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+ 	  if test -f $$p; then \
+ 	    f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	    echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
+-	    $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
++	    echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$f"; \
++	    $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+@@ -528,8 +503,8 @@
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+ 	    p="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \
+-	  $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \
++	  echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
++	  $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
+ 	done
+ 
+ clean-libLTLIBRARIES:
+@@ -542,17 +517,18 @@
+ 	done
+ libdes.la: $(libdes_la_OBJECTS) $(libdes_la_DEPENDENCIES) 
+ 	$(LINK) -rpath $(libdir) $(libdes_la_LDFLAGS) $(libdes_la_OBJECTS) $(libdes_la_LIBADD) $(LIBS)
++binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ install-binPROGRAMS: $(bin_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
++	$(mkinstalldirs) $(DESTDIR)$(bindir)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+ 	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+ 	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+-	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
+-	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f || exit 1; \
+ 	  else :; fi; \
+ 	done
+ 
+@@ -560,8 +536,8 @@
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+ 	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
+-	  rm -f "$(DESTDIR)$(bindir)/$$f"; \
++	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
++	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+ clean-binPROGRAMS:
+@@ -591,19 +567,19 @@
+ 	$(LINK) $(mdtest_LDFLAGS) $(mdtest_OBJECTS) $(mdtest_LDADD) $(LIBS)
+ 
+ mostlyclean-compile:
+-	-rm -f *.$(OBJEXT)
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ .c.obj:
+-	$(COMPILE) -c `$(CYGPATH_W) '$<'`
++	$(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
+ 
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ mostlyclean-libtool:
+ 	-rm -f *.lo
+@@ -614,9 +590,11 @@
+ distclean-libtool:
+ 	-rm -f libtool
+ uninstall-info-am:
++
++man1dir = $(mandir)/man1
+ install-man1: $(man1_MANS) $(man_MANS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(man1dir)" || $(mkdir_p) "$(DESTDIR)$(man1dir)"
++	$(mkinstalldirs) $(DESTDIR)$(man1dir)
+ 	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
+ 	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
+ 	for i in $$l2; do \
+@@ -635,8 +613,8 @@
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+-	  echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
+-	  $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst"; \
++	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
++	  $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
+ 	done
+ uninstall-man1:
+ 	@$(NORMAL_UNINSTALL)
+@@ -656,12 +634,14 @@
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+-	  echo " rm -f '$(DESTDIR)$(man1dir)/$$inst'"; \
+-	  rm -f "$(DESTDIR)$(man1dir)/$$inst"; \
++	  echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
++	  rm -f $(DESTDIR)$(man1dir)/$$inst; \
+ 	done
++
++man3dir = $(mandir)/man3
+ install-man3: $(man3_MANS) $(man_MANS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(man3dir)" || $(mkdir_p) "$(DESTDIR)$(man3dir)"
++	$(mkinstalldirs) $(DESTDIR)$(man3dir)
+ 	@list='$(man3_MANS) $(dist_man3_MANS) $(nodist_man3_MANS)'; \
+ 	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
+ 	for i in $$l2; do \
+@@ -680,8 +660,8 @@
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+-	  echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man3dir)/$$inst'"; \
+-	  $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man3dir)/$$inst"; \
++	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man3dir)/$$inst"; \
++	  $(INSTALL_DATA) $$file $(DESTDIR)$(man3dir)/$$inst; \
+ 	done
+ uninstall-man3:
+ 	@$(NORMAL_UNINSTALL)
+@@ -701,27 +681,36 @@
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+-	  echo " rm -f '$(DESTDIR)$(man3dir)/$$inst'"; \
+-	  rm -f "$(DESTDIR)$(man3dir)/$$inst"; \
++	  echo " rm -f $(DESTDIR)$(man3dir)/$$inst"; \
++	  rm -f $(DESTDIR)$(man3dir)/$$inst; \
+ 	done
++includeHEADERS_INSTALL = $(INSTALL_HEADER)
+ install-includeHEADERS: $(include_HEADERS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(includedir)" || $(mkdir_p) "$(DESTDIR)$(includedir)"
++	$(mkinstalldirs) $(DESTDIR)$(includedir)
+ 	@list='$(include_HEADERS)'; for p in $$list; do \
+ 	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " $(includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(includedir)/$$f'"; \
+-	  $(includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(includedir)/$$f"; \
++	  echo " $(includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
++	  $(includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(includedir)/$$f; \
+ 	done
+ 
+ uninstall-includeHEADERS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(include_HEADERS)'; for p in $$list; do \
+ 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " rm -f '$(DESTDIR)$(includedir)/$$f'"; \
+-	  rm -f "$(DESTDIR)$(includedir)/$$f"; \
++	  echo " rm -f $(DESTDIR)$(includedir)/$$f"; \
++	  rm -f $(DESTDIR)$(includedir)/$$f; \
+ 	done
+ 
++ETAGS = etags
++ETAGSFLAGS =
++
++CTAGS = ctags
++CTAGSFLAGS =
++
++tags: TAGS
++
+ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ 	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ 	unique=`for i in $$list; do \
+@@ -730,7 +719,6 @@
+ 	  $(AWK) '    { files[$$0] = 1; } \
+ 	       END { for (i in files) print i; }'`; \
+ 	mkid -fID $$unique
+-tags: TAGS
+ 
+ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -745,6 +733,7 @@
+ 	test -z "$(ETAGS_ARGS)$$tags$$unique" \
+ 	  || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ 	     $$tags $$unique
++
+ ctags: CTAGS
+ CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -781,24 +770,24 @@
+ 	      all=`expr $$all + 1`; \
+ 	      case " $(XFAIL_TESTS) " in \
+ 	      *" $$tst "*) \
+-		xpass=`expr $$xpass + 1`; \
+-		failed=`expr $$failed + 1`; \
+-		echo "XPASS: $$tst"; \
++	        xpass=`expr $$xpass + 1`; \
++	        failed=`expr $$failed + 1`; \
++	        echo "XPASS: $$tst"; \
+ 	      ;; \
+ 	      *) \
+-		echo "PASS: $$tst"; \
++	        echo "PASS: $$tst"; \
+ 	      ;; \
+ 	      esac; \
+ 	    elif test $$? -ne 77; then \
+ 	      all=`expr $$all + 1`; \
+ 	      case " $(XFAIL_TESTS) " in \
+ 	      *" $$tst "*) \
+-		xfail=`expr $$xfail + 1`; \
+-		echo "XFAIL: $$tst"; \
++	        xfail=`expr $$xfail + 1`; \
++	        echo "XFAIL: $$tst"; \
+ 	      ;; \
+ 	      *) \
+-		failed=`expr $$failed + 1`; \
+-		echo "FAIL: $$tst"; \
++	        failed=`expr $$failed + 1`; \
++	        echo "FAIL: $$tst"; \
+ 	      ;; \
+ 	      esac; \
+ 	    else \
+@@ -840,9 +829,13 @@
+ 	  echo "$$dashes"; \
+ 	  test "$$failed" -eq 0; \
+ 	else :; fi
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	$(mkdir_p) $(distdir)/../.. $(distdir)/../../cf
++	$(mkinstalldirs) $(distdir)/../.. $(distdir)/../../cf
+ 	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ 	list='$(DISTFILES)'; for file in $$list; do \
+@@ -854,7 +847,7 @@
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ 	    dir="/$$dir"; \
+-	    $(mkdir_p) "$(distdir)$$dir"; \
++	    $(mkinstalldirs) "$(distdir)$$dir"; \
+ 	  else \
+ 	    dir=''; \
+ 	  fi; \
+@@ -876,14 +869,12 @@
+ 	$(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
+ 	$(MAKE) $(AM_MAKEFLAGS) check-TESTS check-local
+ check: check-am
+-all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(MANS) $(HEADERS) \
+-		all-local
++all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(MANS) $(HEADERS) all-local
+ install-binPROGRAMS: install-libLTLIBRARIES
+ 
++
+ installdirs:
+-	for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man3dir)" "$(DESTDIR)$(includedir)"; do \
+-	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
+-	done
++	$(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(bindir) $(DESTDIR)$(man1dir) $(DESTDIR)$(man3dir) $(DESTDIR)$(includedir)
+ install: install-am
+ install-exec: install-exec-am
+ install-data: install-data-am
+@@ -922,8 +913,6 @@
+ 
+ dvi-am:
+ 
+-html: html-am
+-
+ info: info-am
+ 
+ info-am:
+@@ -967,19 +956,19 @@
+ .PHONY: CTAGS GTAGS all all-am all-local check check-TESTS check-am \
+ 	check-local clean clean-binPROGRAMS clean-checkPROGRAMS \
+ 	clean-generic clean-libLTLIBRARIES clean-libtool ctags \
+-	distclean distclean-compile distclean-generic \
+-	distclean-libtool distclean-tags distdir dvi dvi-am html \
+-	html-am info info-am install install-am install-binPROGRAMS \
+-	install-data install-data-am install-exec install-exec-am \
+-	install-includeHEADERS install-info install-info-am \
+-	install-libLTLIBRARIES install-man install-man1 install-man3 \
+-	install-strip installcheck installcheck-am installdirs \
+-	maintainer-clean maintainer-clean-generic mostlyclean \
+-	mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
+-	pdf pdf-am ps ps-am tags uninstall uninstall-am \
+-	uninstall-binPROGRAMS uninstall-includeHEADERS \
+-	uninstall-info-am uninstall-libLTLIBRARIES uninstall-man \
+-	uninstall-man1 uninstall-man3
++	distclean distclean-compile distclean-generic distclean-libtool \
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-binPROGRAMS install-data install-data-am \
++	install-exec install-exec-am install-includeHEADERS \
++	install-info install-info-am install-libLTLIBRARIES install-man \
++	install-man1 install-man3 install-strip installcheck \
++	installcheck-am installdirs maintainer-clean \
++	maintainer-clean-generic mostlyclean mostlyclean-compile \
++	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
++	tags uninstall uninstall-am uninstall-binPROGRAMS \
++	uninstall-includeHEADERS uninstall-info-am \
++	uninstall-libLTLIBRARIES uninstall-man uninstall-man1 \
++	uninstall-man3
+ 
+ 
+ install-suid-programs:
+diff -ruN heimdal-0.6.3-old/lib/editline/Makefile.in heimdal-0.6.3/lib/editline/Makefile.in
+--- heimdal-0.6.3-old/lib/editline/Makefile.in	2004-09-13 22:29:26.000000000 +1000
++++ heimdal-0.6.3/lib/editline/Makefile.in	2004-09-14 08:39:58.000000000 +1000
+@@ -1,8 +1,8 @@
+-# Makefile.in generated by automake 1.8.3 from Makefile.am.
++# Makefile.in generated by automake 1.7.9 from Makefile.am.
+ # @configure_input@
+ 
+-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+-# 2003, 2004  Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
++# 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.
+@@ -20,10 +20,6 @@
+ 
+ # $Id: Makefile.am.common,v 1.37.2.2 2003/10/13 13:15:39 joda Exp $
+ 
+-
+-
+-SOURCES = $(libeditline_la_SOURCES) $(libel_compat_la_SOURCES) testit.c
+-
+ srcdir = @srcdir@
+ top_srcdir = @top_srcdir@
+ VPATH = @srcdir@
+@@ -31,6 +27,7 @@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+ top_builddir = ../..
++
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+ INSTALL = @INSTALL@
+ install_sh_DATA = $(install_sh) -c -m 644
+@@ -45,97 +42,6 @@
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+ host_triplet = @host@
+-DIST_COMMON = README $(include_HEADERS) $(srcdir)/Makefile.am \
+-	$(srcdir)/Makefile.in $(top_srcdir)/Makefile.am.common \
+-	$(top_srcdir)/cf/Makefile.am.common ChangeLog
+-noinst_PROGRAMS = testit$(EXEEXT)
+-subdir = lib/editline
+-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+-am__aclocal_m4_deps = $(top_srcdir)/cf/aix.m4 \
+-	$(top_srcdir)/cf/auth-modules.m4 \
+-	$(top_srcdir)/cf/broken-getaddrinfo.m4 \
+-	$(top_srcdir)/cf/broken-getnameinfo.m4 \
+-	$(top_srcdir)/cf/broken-glob.m4 \
+-	$(top_srcdir)/cf/broken-realloc.m4 \
+-	$(top_srcdir)/cf/broken-snprintf.m4 $(top_srcdir)/cf/broken.m4 \
+-	$(top_srcdir)/cf/broken2.m4 $(top_srcdir)/cf/c-attribute.m4 \
+-	$(top_srcdir)/cf/capabilities.m4 \
+-	$(top_srcdir)/cf/check-compile-et.m4 \
+-	$(top_srcdir)/cf/check-declaration.m4 \
+-	$(top_srcdir)/cf/check-getpwnam_r-posix.m4 \
+-	$(top_srcdir)/cf/check-man.m4 \
+-	$(top_srcdir)/cf/check-netinet-ip-and-tcp.m4 \
+-	$(top_srcdir)/cf/check-type-extra.m4 \
+-	$(top_srcdir)/cf/check-var.m4 $(top_srcdir)/cf/check-x.m4 \
+-	$(top_srcdir)/cf/check-xau.m4 $(top_srcdir)/cf/crypto.m4 \
+-	$(top_srcdir)/cf/db.m4 $(top_srcdir)/cf/destdirs.m4 \
+-	$(top_srcdir)/cf/dlopen.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs2.m4 \
+-	$(top_srcdir)/cf/find-func.m4 \
+-	$(top_srcdir)/cf/find-if-not-broken.m4 \
+-	$(top_srcdir)/cf/have-struct-field.m4 \
+-	$(top_srcdir)/cf/have-type.m4 $(top_srcdir)/cf/irix.m4 \
+-	$(top_srcdir)/cf/krb-bigendian.m4 \
+-	$(top_srcdir)/cf/krb-func-getlogin.m4 \
+-	$(top_srcdir)/cf/krb-ipv6.m4 $(top_srcdir)/cf/krb-prog-ln-s.m4 \
+-	$(top_srcdir)/cf/krb-readline.m4 \
+-	$(top_srcdir)/cf/krb-struct-spwd.m4 \
+-	$(top_srcdir)/cf/krb-struct-winsize.m4 \
+-	$(top_srcdir)/cf/mips-abi.m4 $(top_srcdir)/cf/misc.m4 \
+-	$(top_srcdir)/cf/need-proto.m4 $(top_srcdir)/cf/osfc2.m4 \
+-	$(top_srcdir)/cf/otp.m4 $(top_srcdir)/cf/proto-compat.m4 \
+-	$(top_srcdir)/cf/retsigtype.m4 $(top_srcdir)/cf/roken-frag.m4 \
+-	$(top_srcdir)/cf/sunos.m4 $(top_srcdir)/cf/telnet.m4 \
+-	$(top_srcdir)/cf/test-package.m4 $(top_srcdir)/cf/wflags.m4 \
+-	$(top_srcdir)/cf/with-all.m4 $(top_srcdir)/configure.in
+-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+-	$(ACLOCAL_M4)
+-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = $(top_builddir)/include/config.h
+-CONFIG_CLEAN_FILES =
+-am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(man3dir)" "$(DESTDIR)$(includedir)"
+-libLTLIBRARIES_INSTALL = $(INSTALL)
+-LTLIBRARIES = $(lib_LTLIBRARIES) $(noinst_LTLIBRARIES)
+-libeditline_la_LIBADD =
+-am__libeditline_la_SOURCES_DIST = complete.c editline.c sysunix.c \
+-	editline.h roken_rename.h unix.h snprintf.c strdup.c
+-@do_roken_rename_TRUE@am__objects_1 = snprintf.lo strdup.lo
+-am__objects_2 = $(am__objects_1)
+-am_libeditline_la_OBJECTS = complete.lo editline.lo sysunix.lo \
+-	$(am__objects_2)
+-libeditline_la_OBJECTS = $(am_libeditline_la_OBJECTS)
+-libel_compat_la_LIBADD =
+-am_libel_compat_la_OBJECTS = edit_compat.lo
+-libel_compat_la_OBJECTS = $(am_libel_compat_la_OBJECTS)
+-PROGRAMS = $(noinst_PROGRAMS)
+-testit_SOURCES = testit.c
+-testit_OBJECTS = testit.$(OBJEXT)
+-am__DEPENDENCIES_1 =
+-testit_DEPENDENCIES = libeditline.la $(am__DEPENDENCIES_1) \
+-	$(am__DEPENDENCIES_1)
+-DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
+-depcomp =
+-am__depfiles_maybe =
+-COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+-	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) \
+-	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+-	$(AM_CFLAGS) $(CFLAGS)
+-CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+-	$(AM_LDFLAGS) $(LDFLAGS) -o $@
+-SOURCES = $(libeditline_la_SOURCES) $(libel_compat_la_SOURCES) \
+-	testit.c
+-DIST_SOURCES = $(am__libeditline_la_SOURCES_DIST) \
+-	$(libel_compat_la_SOURCES) testit.c
+-man3dir = $(mandir)/man3
+-MANS = $(man_MANS)
+-includeHEADERS_INSTALL = $(INSTALL_HEADER)
+-HEADERS = $(include_HEADERS)
+-ETAGS = etags
+-CTAGS = ctags
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ ACLOCAL = @ACLOCAL@
+ AIX4_FALSE = @AIX4_FALSE@
+ AIX4_TRUE = @AIX4_TRUE@
+@@ -160,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -170,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -193,12 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
++
+ INCLUDE_krb4 = @INCLUDE_krb4@
++
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
++
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -211,6 +130,7 @@
+ KRB5_TRUE = @KRB5_TRUE@
+ LDFLAGS = @LDFLAGS@
+ LEX = @LEX@
++
+ LEXLIB = @LEXLIB@
+ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+ LIBOBJS = @LIBOBJS@
+@@ -219,6 +139,7 @@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+ LIB_XauFileName = @LIB_XauFileName@
++
+ LIB_XauReadAuth = @LIB_XauReadAuth@
+ LIB_XauWriteAuth = @LIB_XauWriteAuth@
+ LIB_bswap16 = @LIB_bswap16@
+@@ -267,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -347,7 +270,6 @@
+ libexecdir = @libexecdir@
+ localstatedir = @localstatedir@
+ mandir = @mandir@
+-mkdir_p = @mkdir_p@
+ oldincludedir = @oldincludedir@
+ prefix = @prefix@
+ program_transform_name = @program_transform_name@
+@@ -355,37 +277,60 @@
+ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
++
+ SUFFIXES = .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8
++
+ INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) $(ROKEN_RENAME)
++
+ @do_roken_rename_TRUE@ROKEN_RENAME = -DROKEN_RENAME
++
+ AM_CFLAGS = $(WFLAGS)
++
+ CP = cp
++
+ buildinclude = $(top_builddir)/include
+ LIB_getattr = @LIB_getattr@
+ LIB_getpwent_r = @LIB_getpwent_r@
+ LIB_odm_initialize = @LIB_odm_initialize@
+ LIB_setpcred = @LIB_setpcred@
++
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
++
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
++
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++
+ @KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
+ @KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+ 
+ @KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
++
+ @DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
++
+ @do_roken_rename_TRUE@ES = snprintf.c strdup.c
++
+ man_MANS = editline.3
++
+ lib_LTLIBRARIES = libeditline.la
+-@el_compat_FALSE@noinst_LTLIBRARIES = 
+ @el_compat_TRUE@noinst_LTLIBRARIES = libel_compat.la
++@el_compat_FALSE@noinst_LTLIBRARIES = 
++
++noinst_PROGRAMS = testit
++
+ CHECK_LOCAL = 
++
+ testit_LDADD = \
+ 	libeditline.la \
+ 	$(LIB_tgetent) \
+ 	$(LIB_roken)
+ 
++
+ include_HEADERS = editline.h
++
+ libeditline_la_SOURCES = \
+ 	complete.c \
+ 	editline.c \
+@@ -395,52 +340,80 @@
+ 	unix.h \
+ 	$(EXTRA_SOURCE)
+ 
+-libeditline_la_LDFLAGS = -static
++
++libeditline_la_LDFLAGS = -no-undefined
++
+ EXTRA_SOURCE = $(ES) 
++
+ libel_compat_la_SOURCES = edit_compat.c
+-libel_compat_la_LDFLAGS = -static
++
++libel_compat_la_LDFLAGS = -no-undefined
++
+ EXTRA_DIST = $(man_MANS)
++subdir = lib/editline
++ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
++mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++LTLIBRARIES = $(lib_LTLIBRARIES) $(noinst_LTLIBRARIES)
++
++libeditline_la_LIBADD =
++am__libeditline_la_SOURCES_DIST = complete.c editline.c sysunix.c \
++	editline.h roken_rename.h unix.h snprintf.c strdup.c
++@do_roken_rename_TRUE@am__objects_1 = snprintf.lo strdup.lo
++am__objects_2 = $(am__objects_1)
++am_libeditline_la_OBJECTS = complete.lo editline.lo sysunix.lo \
++	$(am__objects_2)
++libeditline_la_OBJECTS = $(am_libeditline_la_OBJECTS)
++libel_compat_la_LIBADD =
++am_libel_compat_la_OBJECTS = edit_compat.lo
++libel_compat_la_OBJECTS = $(am_libel_compat_la_OBJECTS)
++noinst_PROGRAMS = testit$(EXEEXT)
++PROGRAMS = $(noinst_PROGRAMS)
++
++testit_SOURCES = testit.c
++testit_OBJECTS = testit.$(OBJEXT)
++testit_DEPENDENCIES = libeditline.la
++testit_LDFLAGS =
++
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
++depcomp =
++am__depfiles_maybe =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++CCLD = $(CC)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++DIST_SOURCES = $(am__libeditline_la_SOURCES_DIST) \
++	$(libel_compat_la_SOURCES) testit.c
++MANS = $(man_MANS)
++HEADERS = $(include_HEADERS)
++
++DIST_COMMON = README $(include_HEADERS) $(srcdir)/Makefile.in \
++	$(top_srcdir)/Makefile.am.common \
++	$(top_srcdir)/cf/Makefile.am.common ChangeLog Makefile.am
++SOURCES = $(libeditline_la_SOURCES) $(libel_compat_la_SOURCES) testit.c
++
+ all: all-am
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj
+-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(am__configure_deps)
+-	@for dep in $?; do \
+-	  case '$(am__configure_deps)' in \
+-	    *$$dep*) \
+-	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+-		&& exit 0; \
+-	      exit 1;; \
+-	  esac; \
+-	done; \
+-	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  --ignore-deps lib/editline/Makefile'; \
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+-	  $(AUTOMAKE) --foreign  --ignore-deps lib/editline/Makefile
+-.PRECIOUS: Makefile
+-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+-	@case '$?' in \
+-	  *config.status*) \
+-	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+-	  *) \
+-	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+-	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+-	esac;
+-
+-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-
+-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
++	  $(AUTOMAKE) --foreign  lib/editline/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
++libLTLIBRARIES_INSTALL = $(INSTALL)
+ install-libLTLIBRARIES: $(lib_LTLIBRARIES)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)"
++	$(mkinstalldirs) $(DESTDIR)$(libdir)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+ 	  if test -f $$p; then \
+ 	    f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	    echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
+-	    $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
++	    echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$f"; \
++	    $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+@@ -448,8 +421,8 @@
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+ 	    p="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \
+-	  $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \
++	  echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
++	  $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
+ 	done
+ 
+ clean-libLTLIBRARIES:
+@@ -485,19 +458,19 @@
+ 	$(LINK) $(testit_LDFLAGS) $(testit_OBJECTS) $(testit_LDADD) $(LIBS)
+ 
+ mostlyclean-compile:
+-	-rm -f *.$(OBJEXT)
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ .c.obj:
+-	$(COMPILE) -c `$(CYGPATH_W) '$<'`
++	$(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
+ 
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ mostlyclean-libtool:
+ 	-rm -f *.lo
+@@ -508,9 +481,11 @@
+ distclean-libtool:
+ 	-rm -f libtool
+ uninstall-info-am:
++
++man3dir = $(mandir)/man3
+ install-man3: $(man3_MANS) $(man_MANS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(man3dir)" || $(mkdir_p) "$(DESTDIR)$(man3dir)"
++	$(mkinstalldirs) $(DESTDIR)$(man3dir)
+ 	@list='$(man3_MANS) $(dist_man3_MANS) $(nodist_man3_MANS)'; \
+ 	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
+ 	for i in $$l2; do \
+@@ -529,8 +504,8 @@
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+-	  echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man3dir)/$$inst'"; \
+-	  $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man3dir)/$$inst"; \
++	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man3dir)/$$inst"; \
++	  $(INSTALL_DATA) $$file $(DESTDIR)$(man3dir)/$$inst; \
+ 	done
+ uninstall-man3:
+ 	@$(NORMAL_UNINSTALL)
+@@ -550,27 +525,36 @@
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+-	  echo " rm -f '$(DESTDIR)$(man3dir)/$$inst'"; \
+-	  rm -f "$(DESTDIR)$(man3dir)/$$inst"; \
++	  echo " rm -f $(DESTDIR)$(man3dir)/$$inst"; \
++	  rm -f $(DESTDIR)$(man3dir)/$$inst; \
+ 	done
++includeHEADERS_INSTALL = $(INSTALL_HEADER)
+ install-includeHEADERS: $(include_HEADERS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(includedir)" || $(mkdir_p) "$(DESTDIR)$(includedir)"
++	$(mkinstalldirs) $(DESTDIR)$(includedir)
+ 	@list='$(include_HEADERS)'; for p in $$list; do \
+ 	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " $(includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(includedir)/$$f'"; \
+-	  $(includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(includedir)/$$f"; \
++	  echo " $(includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
++	  $(includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(includedir)/$$f; \
+ 	done
+ 
+ uninstall-includeHEADERS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(include_HEADERS)'; for p in $$list; do \
+ 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " rm -f '$(DESTDIR)$(includedir)/$$f'"; \
+-	  rm -f "$(DESTDIR)$(includedir)/$$f"; \
++	  echo " rm -f $(DESTDIR)$(includedir)/$$f"; \
++	  rm -f $(DESTDIR)$(includedir)/$$f; \
+ 	done
+ 
++ETAGS = etags
++ETAGSFLAGS =
++
++CTAGS = ctags
++CTAGSFLAGS =
++
++tags: TAGS
++
+ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ 	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ 	unique=`for i in $$list; do \
+@@ -579,7 +563,6 @@
+ 	  $(AWK) '    { files[$$0] = 1; } \
+ 	       END { for (i in files) print i; }'`; \
+ 	mkid -fID $$unique
+-tags: TAGS
+ 
+ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -594,6 +577,7 @@
+ 	test -z "$(ETAGS_ARGS)$$tags$$unique" \
+ 	  || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ 	     $$tags $$unique
++
+ ctags: CTAGS
+ CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -616,9 +600,13 @@
+ 
+ distclean-tags:
+ 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	$(mkdir_p) $(distdir)/../.. $(distdir)/../../cf
++	$(mkinstalldirs) $(distdir)/../.. $(distdir)/../../cf
+ 	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ 	list='$(DISTFILES)'; for file in $$list; do \
+@@ -630,7 +618,7 @@
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ 	    dir="/$$dir"; \
+-	    $(mkdir_p) "$(distdir)$$dir"; \
++	    $(mkinstalldirs) "$(distdir)$$dir"; \
+ 	  else \
+ 	    dir=''; \
+ 	  fi; \
+@@ -651,12 +639,10 @@
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(MANS) $(HEADERS) \
+-		all-local
++all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(MANS) $(HEADERS) all-local
++
+ installdirs:
+-	for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(man3dir)" "$(DESTDIR)$(includedir)"; do \
+-	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
+-	done
++	$(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(man3dir) $(DESTDIR)$(includedir)
+ install: install-am
+ install-exec: install-exec-am
+ install-data: install-data-am
+@@ -695,8 +681,6 @@
+ 
+ dvi-am:
+ 
+-html: html-am
+-
+ info: info-am
+ 
+ info-am:
+@@ -741,15 +725,15 @@
+ 	clean clean-generic clean-libLTLIBRARIES clean-libtool \
+ 	clean-noinstLTLIBRARIES clean-noinstPROGRAMS ctags distclean \
+ 	distclean-compile distclean-generic distclean-libtool \
+-	distclean-tags distdir dvi dvi-am html html-am info info-am \
+-	install install-am install-data install-data-am install-exec \
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-data install-data-am install-exec \
+ 	install-exec-am install-includeHEADERS install-info \
+-	install-info-am install-libLTLIBRARIES install-man \
+-	install-man3 install-strip installcheck installcheck-am \
+-	installdirs maintainer-clean maintainer-clean-generic \
+-	mostlyclean mostlyclean-compile mostlyclean-generic \
+-	mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
+-	uninstall-am uninstall-includeHEADERS uninstall-info-am \
++	install-info-am install-libLTLIBRARIES install-man install-man3 \
++	install-strip installcheck installcheck-am installdirs \
++	maintainer-clean maintainer-clean-generic mostlyclean \
++	mostlyclean-compile mostlyclean-generic mostlyclean-libtool pdf \
++	pdf-am ps ps-am tags uninstall uninstall-am \
++	uninstall-includeHEADERS uninstall-info-am \
+ 	uninstall-libLTLIBRARIES uninstall-man uninstall-man3
+ 
+ 
+diff -ruN heimdal-0.6.3-old/lib/gssapi/Makefile.in heimdal-0.6.3/lib/gssapi/Makefile.in
+--- heimdal-0.6.3-old/lib/gssapi/Makefile.in	2004-09-13 22:29:27.000000000 +1000
++++ heimdal-0.6.3/lib/gssapi/Makefile.in	2004-09-14 08:39:58.000000000 +1000
+@@ -1,8 +1,8 @@
+-# Makefile.in generated by automake 1.8.3 from Makefile.am.
++# Makefile.in generated by automake 1.7.9 from Makefile.am.
+ # @configure_input@
+ 
+-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+-# 2003, 2004  Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
++# 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.
+@@ -20,9 +20,6 @@
+ 
+ # $Id: Makefile.am.common,v 1.37.2.2 2003/10/13 13:15:39 joda Exp $
+ 
+-
+-SOURCES = $(libgssapi_la_SOURCES)
+-
+ srcdir = @srcdir@
+ top_srcdir = @top_srcdir@
+ VPATH = @srcdir@
+@@ -30,6 +27,7 @@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+ top_builddir = ../..
++
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+ INSTALL = @INSTALL@
+ install_sh_DATA = $(install_sh) -c -m 644
+@@ -44,95 +42,6 @@
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+ host_triplet = @host@
+-DIST_COMMON = $(include_HEADERS) $(srcdir)/Makefile.am \
+-	$(srcdir)/Makefile.in $(top_srcdir)/Makefile.am.common \
+-	$(top_srcdir)/cf/Makefile.am.common ChangeLog
+-subdir = lib/gssapi
+-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+-am__aclocal_m4_deps = $(top_srcdir)/cf/aix.m4 \
+-	$(top_srcdir)/cf/auth-modules.m4 \
+-	$(top_srcdir)/cf/broken-getaddrinfo.m4 \
+-	$(top_srcdir)/cf/broken-getnameinfo.m4 \
+-	$(top_srcdir)/cf/broken-glob.m4 \
+-	$(top_srcdir)/cf/broken-realloc.m4 \
+-	$(top_srcdir)/cf/broken-snprintf.m4 $(top_srcdir)/cf/broken.m4 \
+-	$(top_srcdir)/cf/broken2.m4 $(top_srcdir)/cf/c-attribute.m4 \
+-	$(top_srcdir)/cf/capabilities.m4 \
+-	$(top_srcdir)/cf/check-compile-et.m4 \
+-	$(top_srcdir)/cf/check-declaration.m4 \
+-	$(top_srcdir)/cf/check-getpwnam_r-posix.m4 \
+-	$(top_srcdir)/cf/check-man.m4 \
+-	$(top_srcdir)/cf/check-netinet-ip-and-tcp.m4 \
+-	$(top_srcdir)/cf/check-type-extra.m4 \
+-	$(top_srcdir)/cf/check-var.m4 $(top_srcdir)/cf/check-x.m4 \
+-	$(top_srcdir)/cf/check-xau.m4 $(top_srcdir)/cf/crypto.m4 \
+-	$(top_srcdir)/cf/db.m4 $(top_srcdir)/cf/destdirs.m4 \
+-	$(top_srcdir)/cf/dlopen.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs2.m4 \
+-	$(top_srcdir)/cf/find-func.m4 \
+-	$(top_srcdir)/cf/find-if-not-broken.m4 \
+-	$(top_srcdir)/cf/have-struct-field.m4 \
+-	$(top_srcdir)/cf/have-type.m4 $(top_srcdir)/cf/irix.m4 \
+-	$(top_srcdir)/cf/krb-bigendian.m4 \
+-	$(top_srcdir)/cf/krb-func-getlogin.m4 \
+-	$(top_srcdir)/cf/krb-ipv6.m4 $(top_srcdir)/cf/krb-prog-ln-s.m4 \
+-	$(top_srcdir)/cf/krb-readline.m4 \
+-	$(top_srcdir)/cf/krb-struct-spwd.m4 \
+-	$(top_srcdir)/cf/krb-struct-winsize.m4 \
+-	$(top_srcdir)/cf/mips-abi.m4 $(top_srcdir)/cf/misc.m4 \
+-	$(top_srcdir)/cf/need-proto.m4 $(top_srcdir)/cf/osfc2.m4 \
+-	$(top_srcdir)/cf/otp.m4 $(top_srcdir)/cf/proto-compat.m4 \
+-	$(top_srcdir)/cf/retsigtype.m4 $(top_srcdir)/cf/roken-frag.m4 \
+-	$(top_srcdir)/cf/sunos.m4 $(top_srcdir)/cf/telnet.m4 \
+-	$(top_srcdir)/cf/test-package.m4 $(top_srcdir)/cf/wflags.m4 \
+-	$(top_srcdir)/cf/with-all.m4 $(top_srcdir)/configure.in
+-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+-	$(ACLOCAL_M4)
+-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = $(top_builddir)/include/config.h
+-CONFIG_CLEAN_FILES =
+-am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(man3dir)" "$(DESTDIR)$(includedir)"
+-libLTLIBRARIES_INSTALL = $(INSTALL)
+-LTLIBRARIES = $(lib_LTLIBRARIES)
+-am__DEPENDENCIES_1 =
+-libgssapi_la_DEPENDENCIES = ../krb5/libkrb5.la $(am__DEPENDENCIES_1) \
+-	../asn1/libasn1.la ../roken/libroken.la
+-am_libgssapi_la_OBJECTS = 8003.lo arcfour.lo accept_sec_context.lo \
+-	acquire_cred.lo add_cred.lo add_oid_set_member.lo \
+-	canonicalize_name.lo compare_name.lo compat.lo context_time.lo \
+-	copy_ccache.lo create_emtpy_oid_set.lo decapsulate.lo \
+-	delete_sec_context.lo display_name.lo display_status.lo \
+-	duplicate_name.lo encapsulate.lo export_sec_context.lo \
+-	export_name.lo external.lo get_mic.lo import_name.lo \
+-	import_sec_context.lo indicate_mechs.lo init.lo \
+-	init_sec_context.lo inquire_context.lo inquire_cred.lo \
+-	inquire_cred_by_mech.lo inquire_mechs_for_name.lo \
+-	inquire_names_for_mech.lo release_buffer.lo release_cred.lo \
+-	release_name.lo release_oid_set.lo process_context_token.lo \
+-	test_oid_set_member.lo unwrap.lo v1.lo verify_mic.lo wrap.lo \
+-	address_to_krb5addr.lo
+-libgssapi_la_OBJECTS = $(am_libgssapi_la_OBJECTS)
+-DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
+-depcomp =
+-am__depfiles_maybe =
+-COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+-	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) \
+-	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+-	$(AM_CFLAGS) $(CFLAGS)
+-CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+-	$(AM_LDFLAGS) $(LDFLAGS) -o $@
+-SOURCES = $(libgssapi_la_SOURCES)
+-DIST_SOURCES = $(libgssapi_la_SOURCES)
+-man3dir = $(mandir)/man3
+-MANS = $(man_MANS)
+-includeHEADERS_INSTALL = $(INSTALL_HEADER)
+-HEADERS = $(include_HEADERS)
+-ETAGS = etags
+-CTAGS = ctags
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ ACLOCAL = @ACLOCAL@
+ AIX4_FALSE = @AIX4_FALSE@
+ AIX4_TRUE = @AIX4_TRUE@
+@@ -157,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -167,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -190,12 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
++
+ INCLUDE_krb4 = @INCLUDE_krb4@
++
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
++
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -208,6 +130,7 @@
+ KRB5_TRUE = @KRB5_TRUE@
+ LDFLAGS = @LDFLAGS@
+ LEX = @LEX@
++
+ LEXLIB = @LEXLIB@
+ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+ LIBOBJS = @LIBOBJS@
+@@ -216,6 +139,7 @@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+ LIB_XauFileName = @LIB_XauFileName@
++
+ LIB_XauReadAuth = @LIB_XauReadAuth@
+ LIB_XauWriteAuth = @LIB_XauWriteAuth@
+ LIB_bswap16 = @LIB_bswap16@
+@@ -264,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -344,7 +270,6 @@
+ libexecdir = @libexecdir@
+ localstatedir = @localstatedir@
+ mandir = @mandir@
+-mkdir_p = @mkdir_p@
+ oldincludedir = @oldincludedir@
+ prefix = @prefix@
+ program_transform_name = @program_transform_name@
+@@ -352,30 +277,48 @@
+ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
++
+ SUFFIXES = .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8
++
+ INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) -I$(srcdir)/../krb5 $(INCLUDE_des) $(INCLUDE_krb4)
++
+ @do_roken_rename_TRUE@ROKEN_RENAME = -DROKEN_RENAME
++
+ AM_CFLAGS = $(WFLAGS)
++
+ CP = cp
++
+ buildinclude = $(top_builddir)/include
+ LIB_getattr = @LIB_getattr@
+ LIB_getpwent_r = @LIB_getpwent_r@
+ LIB_odm_initialize = @LIB_odm_initialize@
+ LIB_setpcred = @LIB_setpcred@
++
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
++
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
++
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++
+ @KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
+ @KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+ 
+ @KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
++
+ @DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
++
+ lib_LTLIBRARIES = libgssapi.la
+ libgssapi_la_LDFLAGS = -version-info 5:0:4
+-libgssapi_la_LIBADD = ../krb5/libkrb5.la $(LIB_des) ../asn1/libasn1.la ../roken/libroken.la
++libgssapi_la_LIBADD = ../krb5/libkrb5.la $(LIB_des) ../asn1/libasn1.la $(LIB_roken)
++
+ man_MANS = gssapi.3 gss_acquire_cred.3
++
+ include_HEADERS = gssapi.h
++
+ libgssapi_la_SOURCES = \
+ 	8003.c			\
+ 	arcfour.c		\
+@@ -423,47 +366,67 @@
+         wrap.c                  \
+         address_to_krb5addr.c
+ 
++subdir = lib/gssapi
++ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
++mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++LTLIBRARIES = $(lib_LTLIBRARIES)
++
++libgssapi_la_DEPENDENCIES = ../krb5/libkrb5.la ../asn1/libasn1.la
++am_libgssapi_la_OBJECTS = 8003.lo arcfour.lo accept_sec_context.lo \
++	acquire_cred.lo add_cred.lo add_oid_set_member.lo \
++	canonicalize_name.lo compare_name.lo compat.lo context_time.lo \
++	copy_ccache.lo create_emtpy_oid_set.lo decapsulate.lo \
++	delete_sec_context.lo display_name.lo display_status.lo \
++	duplicate_name.lo encapsulate.lo export_sec_context.lo \
++	export_name.lo external.lo get_mic.lo import_name.lo \
++	import_sec_context.lo indicate_mechs.lo init.lo \
++	init_sec_context.lo inquire_context.lo inquire_cred.lo \
++	inquire_cred_by_mech.lo inquire_mechs_for_name.lo \
++	inquire_names_for_mech.lo release_buffer.lo release_cred.lo \
++	release_name.lo release_oid_set.lo process_context_token.lo \
++	test_oid_set_member.lo unwrap.lo v1.lo verify_mic.lo wrap.lo \
++	address_to_krb5addr.lo
++libgssapi_la_OBJECTS = $(am_libgssapi_la_OBJECTS)
++
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
++depcomp =
++am__depfiles_maybe =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++CCLD = $(CC)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++DIST_SOURCES = $(libgssapi_la_SOURCES)
++MANS = $(man_MANS)
++HEADERS = $(include_HEADERS)
++
++DIST_COMMON = $(include_HEADERS) $(srcdir)/Makefile.in \
++	$(top_srcdir)/Makefile.am.common \
++	$(top_srcdir)/cf/Makefile.am.common ChangeLog Makefile.am
++SOURCES = $(libgssapi_la_SOURCES)
++
+ all: all-am
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj
+-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(am__configure_deps)
+-	@for dep in $?; do \
+-	  case '$(am__configure_deps)' in \
+-	    *$$dep*) \
+-	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+-		&& exit 0; \
+-	      exit 1;; \
+-	  esac; \
+-	done; \
+-	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  --ignore-deps lib/gssapi/Makefile'; \
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+-	  $(AUTOMAKE) --foreign  --ignore-deps lib/gssapi/Makefile
+-.PRECIOUS: Makefile
+-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+-	@case '$?' in \
+-	  *config.status*) \
+-	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+-	  *) \
+-	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+-	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+-	esac;
+-
+-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-
+-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
++	  $(AUTOMAKE) --foreign  lib/gssapi/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
++libLTLIBRARIES_INSTALL = $(INSTALL)
+ install-libLTLIBRARIES: $(lib_LTLIBRARIES)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)"
++	$(mkinstalldirs) $(DESTDIR)$(libdir)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+ 	  if test -f $$p; then \
+ 	    f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	    echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
+-	    $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
++	    echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$f"; \
++	    $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+@@ -471,8 +434,8 @@
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+ 	    p="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \
+-	  $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \
++	  echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
++	  $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
+ 	done
+ 
+ clean-libLTLIBRARIES:
+@@ -487,19 +450,19 @@
+ 	$(LINK) -rpath $(libdir) $(libgssapi_la_LDFLAGS) $(libgssapi_la_OBJECTS) $(libgssapi_la_LIBADD) $(LIBS)
+ 
+ mostlyclean-compile:
+-	-rm -f *.$(OBJEXT)
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ .c.obj:
+-	$(COMPILE) -c `$(CYGPATH_W) '$<'`
++	$(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
+ 
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ mostlyclean-libtool:
+ 	-rm -f *.lo
+@@ -510,9 +473,11 @@
+ distclean-libtool:
+ 	-rm -f libtool
+ uninstall-info-am:
++
++man3dir = $(mandir)/man3
+ install-man3: $(man3_MANS) $(man_MANS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(man3dir)" || $(mkdir_p) "$(DESTDIR)$(man3dir)"
++	$(mkinstalldirs) $(DESTDIR)$(man3dir)
+ 	@list='$(man3_MANS) $(dist_man3_MANS) $(nodist_man3_MANS)'; \
+ 	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
+ 	for i in $$l2; do \
+@@ -531,8 +496,8 @@
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+-	  echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man3dir)/$$inst'"; \
+-	  $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man3dir)/$$inst"; \
++	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man3dir)/$$inst"; \
++	  $(INSTALL_DATA) $$file $(DESTDIR)$(man3dir)/$$inst; \
+ 	done
+ uninstall-man3:
+ 	@$(NORMAL_UNINSTALL)
+@@ -552,27 +517,36 @@
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+-	  echo " rm -f '$(DESTDIR)$(man3dir)/$$inst'"; \
+-	  rm -f "$(DESTDIR)$(man3dir)/$$inst"; \
++	  echo " rm -f $(DESTDIR)$(man3dir)/$$inst"; \
++	  rm -f $(DESTDIR)$(man3dir)/$$inst; \
+ 	done
++includeHEADERS_INSTALL = $(INSTALL_HEADER)
+ install-includeHEADERS: $(include_HEADERS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(includedir)" || $(mkdir_p) "$(DESTDIR)$(includedir)"
++	$(mkinstalldirs) $(DESTDIR)$(includedir)
+ 	@list='$(include_HEADERS)'; for p in $$list; do \
+ 	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " $(includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(includedir)/$$f'"; \
+-	  $(includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(includedir)/$$f"; \
++	  echo " $(includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
++	  $(includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(includedir)/$$f; \
+ 	done
+ 
+ uninstall-includeHEADERS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(include_HEADERS)'; for p in $$list; do \
+ 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " rm -f '$(DESTDIR)$(includedir)/$$f'"; \
+-	  rm -f "$(DESTDIR)$(includedir)/$$f"; \
++	  echo " rm -f $(DESTDIR)$(includedir)/$$f"; \
++	  rm -f $(DESTDIR)$(includedir)/$$f; \
+ 	done
+ 
++ETAGS = etags
++ETAGSFLAGS =
++
++CTAGS = ctags
++CTAGSFLAGS =
++
++tags: TAGS
++
+ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ 	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ 	unique=`for i in $$list; do \
+@@ -581,7 +555,6 @@
+ 	  $(AWK) '    { files[$$0] = 1; } \
+ 	       END { for (i in files) print i; }'`; \
+ 	mkid -fID $$unique
+-tags: TAGS
+ 
+ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -596,6 +569,7 @@
+ 	test -z "$(ETAGS_ARGS)$$tags$$unique" \
+ 	  || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ 	     $$tags $$unique
++
+ ctags: CTAGS
+ CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -618,9 +592,13 @@
+ 
+ distclean-tags:
+ 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	$(mkdir_p) $(distdir)/../.. $(distdir)/../../cf
++	$(mkinstalldirs) $(distdir)/../.. $(distdir)/../../cf
+ 	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ 	list='$(DISTFILES)'; for file in $$list; do \
+@@ -632,7 +610,7 @@
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ 	    dir="/$$dir"; \
+-	    $(mkdir_p) "$(distdir)$$dir"; \
++	    $(mkinstalldirs) "$(distdir)$$dir"; \
+ 	  else \
+ 	    dir=''; \
+ 	  fi; \
+@@ -654,10 +632,9 @@
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+ all-am: Makefile $(LTLIBRARIES) $(MANS) $(HEADERS) all-local
++
+ installdirs:
+-	for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(man3dir)" "$(DESTDIR)$(includedir)"; do \
+-	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
+-	done
++	$(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(man3dir) $(DESTDIR)$(includedir)
+ install: install-am
+ install-exec: install-exec-am
+ install-data: install-data-am
+@@ -696,8 +673,6 @@
+ 
+ dvi-am:
+ 
+-html: html-am
+-
+ info: info-am
+ 
+ info-am:
+@@ -740,18 +715,17 @@
+ 
+ .PHONY: CTAGS GTAGS all all-am all-local check check-am check-local \
+ 	clean clean-generic clean-libLTLIBRARIES clean-libtool ctags \
+-	distclean distclean-compile distclean-generic \
+-	distclean-libtool distclean-tags distdir dvi dvi-am html \
+-	html-am info info-am install install-am install-data \
+-	install-data-am install-exec install-exec-am \
+-	install-includeHEADERS install-info install-info-am \
+-	install-libLTLIBRARIES install-man install-man3 install-strip \
+-	installcheck installcheck-am installdirs maintainer-clean \
+-	maintainer-clean-generic mostlyclean mostlyclean-compile \
+-	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+-	tags uninstall uninstall-am uninstall-includeHEADERS \
+-	uninstall-info-am uninstall-libLTLIBRARIES uninstall-man \
+-	uninstall-man3
++	distclean distclean-compile distclean-generic distclean-libtool \
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-data install-data-am install-exec \
++	install-exec-am install-includeHEADERS install-info \
++	install-info-am install-libLTLIBRARIES install-man install-man3 \
++	install-strip installcheck installcheck-am installdirs \
++	maintainer-clean maintainer-clean-generic mostlyclean \
++	mostlyclean-compile mostlyclean-generic mostlyclean-libtool pdf \
++	pdf-am ps ps-am tags uninstall uninstall-am \
++	uninstall-includeHEADERS uninstall-info-am \
++	uninstall-libLTLIBRARIES uninstall-man uninstall-man3
+ 
+ 
+ install-suid-programs:
+diff -ruN heimdal-0.6.3-old/lib/hdb/Makefile.in heimdal-0.6.3/lib/hdb/Makefile.in
+--- heimdal-0.6.3-old/lib/hdb/Makefile.in	2004-09-13 22:29:28.000000000 +1000
++++ heimdal-0.6.3/lib/hdb/Makefile.in	2004-09-14 08:39:59.000000000 +1000
+@@ -1,8 +1,8 @@
+-# Makefile.in generated by automake 1.8.3 from Makefile.am.
++# Makefile.in generated by automake 1.7.9 from Makefile.am.
+ # @configure_input@
+ 
+-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+-# 2003, 2004  Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
++# 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.
+@@ -20,10 +20,6 @@
+ 
+ # $Id: Makefile.am.common,v 1.37.2.2 2003/10/13 13:15:39 joda Exp $
+ 
+-
+-
+-SOURCES = $(libhdb_la_SOURCES) convert_db.c
+-
+ srcdir = @srcdir@
+ top_srcdir = @top_srcdir@
+ VPATH = @srcdir@
+@@ -31,6 +27,7 @@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+ top_builddir = ../..
++
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+ INSTALL = @INSTALL@
+ install_sh_DATA = $(install_sh) -c -m 644
+@@ -45,92 +42,6 @@
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+ host_triplet = @host@
+-DIST_COMMON = $(include_HEADERS) $(srcdir)/Makefile.am \
+-	$(srcdir)/Makefile.in $(top_srcdir)/Makefile.am.common \
+-	$(top_srcdir)/cf/Makefile.am.common
+-noinst_PROGRAMS = convert_db$(EXEEXT)
+-subdir = lib/hdb
+-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+-am__aclocal_m4_deps = $(top_srcdir)/cf/aix.m4 \
+-	$(top_srcdir)/cf/auth-modules.m4 \
+-	$(top_srcdir)/cf/broken-getaddrinfo.m4 \
+-	$(top_srcdir)/cf/broken-getnameinfo.m4 \
+-	$(top_srcdir)/cf/broken-glob.m4 \
+-	$(top_srcdir)/cf/broken-realloc.m4 \
+-	$(top_srcdir)/cf/broken-snprintf.m4 $(top_srcdir)/cf/broken.m4 \
+-	$(top_srcdir)/cf/broken2.m4 $(top_srcdir)/cf/c-attribute.m4 \
+-	$(top_srcdir)/cf/capabilities.m4 \
+-	$(top_srcdir)/cf/check-compile-et.m4 \
+-	$(top_srcdir)/cf/check-declaration.m4 \
+-	$(top_srcdir)/cf/check-getpwnam_r-posix.m4 \
+-	$(top_srcdir)/cf/check-man.m4 \
+-	$(top_srcdir)/cf/check-netinet-ip-and-tcp.m4 \
+-	$(top_srcdir)/cf/check-type-extra.m4 \
+-	$(top_srcdir)/cf/check-var.m4 $(top_srcdir)/cf/check-x.m4 \
+-	$(top_srcdir)/cf/check-xau.m4 $(top_srcdir)/cf/crypto.m4 \
+-	$(top_srcdir)/cf/db.m4 $(top_srcdir)/cf/destdirs.m4 \
+-	$(top_srcdir)/cf/dlopen.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs2.m4 \
+-	$(top_srcdir)/cf/find-func.m4 \
+-	$(top_srcdir)/cf/find-if-not-broken.m4 \
+-	$(top_srcdir)/cf/have-struct-field.m4 \
+-	$(top_srcdir)/cf/have-type.m4 $(top_srcdir)/cf/irix.m4 \
+-	$(top_srcdir)/cf/krb-bigendian.m4 \
+-	$(top_srcdir)/cf/krb-func-getlogin.m4 \
+-	$(top_srcdir)/cf/krb-ipv6.m4 $(top_srcdir)/cf/krb-prog-ln-s.m4 \
+-	$(top_srcdir)/cf/krb-readline.m4 \
+-	$(top_srcdir)/cf/krb-struct-spwd.m4 \
+-	$(top_srcdir)/cf/krb-struct-winsize.m4 \
+-	$(top_srcdir)/cf/mips-abi.m4 $(top_srcdir)/cf/misc.m4 \
+-	$(top_srcdir)/cf/need-proto.m4 $(top_srcdir)/cf/osfc2.m4 \
+-	$(top_srcdir)/cf/otp.m4 $(top_srcdir)/cf/proto-compat.m4 \
+-	$(top_srcdir)/cf/retsigtype.m4 $(top_srcdir)/cf/roken-frag.m4 \
+-	$(top_srcdir)/cf/sunos.m4 $(top_srcdir)/cf/telnet.m4 \
+-	$(top_srcdir)/cf/test-package.m4 $(top_srcdir)/cf/wflags.m4 \
+-	$(top_srcdir)/cf/with-all.m4 $(top_srcdir)/configure.in
+-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+-	$(ACLOCAL_M4)
+-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = $(top_builddir)/include/config.h
+-CONFIG_CLEAN_FILES =
+-am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(includedir)"
+-libLTLIBRARIES_INSTALL = $(INSTALL)
+-LTLIBRARIES = $(lib_LTLIBRARIES)
+-am__DEPENDENCIES_1 =
+-libhdb_la_DEPENDENCIES = ../krb5/libkrb5.la ../asn1/libasn1.la \
+-	../roken/libroken.la $(am__DEPENDENCIES_1) \
+-	$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
+-am__objects_1 = asn1_Key.lo asn1_Event.lo asn1_HDBFlags.lo \
+-	asn1_hdb_entry.lo asn1_Salt.lo hdb_err.lo asn1_GENERATION.lo
+-am_libhdb_la_OBJECTS = common.lo db.lo db3.lo hdb-ldap.lo hdb.lo \
+-	keytab.lo mkey.lo ndbm.lo print.lo $(am__objects_1)
+-libhdb_la_OBJECTS = $(am_libhdb_la_OBJECTS)
+-PROGRAMS = $(noinst_PROGRAMS)
+-convert_db_SOURCES = convert_db.c
+-convert_db_OBJECTS = convert_db.$(OBJEXT)
+-convert_db_LDADD = $(LDADD)
+-convert_db_DEPENDENCIES = libhdb.la $(am__DEPENDENCIES_1) \
+-	../krb5/libkrb5.la ../asn1/libasn1.la $(am__DEPENDENCIES_1) \
+-	$(am__DEPENDENCIES_1)
+-DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
+-depcomp =
+-am__depfiles_maybe =
+-COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+-	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) \
+-	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+-	$(AM_CFLAGS) $(CFLAGS)
+-CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+-	$(AM_LDFLAGS) $(LDFLAGS) -o $@
+-SOURCES = $(libhdb_la_SOURCES) convert_db.c
+-DIST_SOURCES = $(libhdb_la_SOURCES) convert_db.c
+-includeHEADERS_INSTALL = $(INSTALL_HEADER)
+-HEADERS = $(include_HEADERS)
+-ETAGS = etags
+-CTAGS = ctags
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ ACLOCAL = @ACLOCAL@
+ AIX4_FALSE = @AIX4_FALSE@
+ AIX4_TRUE = @AIX4_TRUE@
+@@ -155,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -165,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -188,12 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
++
+ INCLUDE_krb4 = @INCLUDE_krb4@
++
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
++
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -206,6 +130,7 @@
+ KRB5_TRUE = @KRB5_TRUE@
+ LDFLAGS = @LDFLAGS@
+ LEX = @LEX@
++
+ LEXLIB = @LEXLIB@
+ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+ LIBOBJS = @LIBOBJS@
+@@ -214,6 +139,7 @@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+ LIB_XauFileName = @LIB_XauFileName@
++
+ LIB_XauReadAuth = @LIB_XauReadAuth@
+ LIB_XauWriteAuth = @LIB_XauWriteAuth@
+ LIB_bswap16 = @LIB_bswap16@
+@@ -262,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -342,7 +270,6 @@
+ libexecdir = @libexecdir@
+ localstatedir = @localstatedir@
+ mandir = @mandir@
+-mkdir_p = @mkdir_p@
+ oldincludedir = @oldincludedir@
+ prefix = @prefix@
+ program_transform_name = @program_transform_name@
+@@ -350,30 +277,49 @@
+ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
++
+ SUFFIXES = .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8
++
+ INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) -I../asn1 -I$(srcdir)/../asn1 $(INCLUDE_des) $(INCLUDE_openldap)
++
+ @do_roken_rename_TRUE@ROKEN_RENAME = -DROKEN_RENAME
++
+ AM_CFLAGS = $(WFLAGS)
++
+ CP = cp
++
+ buildinclude = $(top_builddir)/include
+ LIB_getattr = @LIB_getattr@
+ LIB_getpwent_r = @LIB_getpwent_r@
+ LIB_odm_initialize = @LIB_odm_initialize@
+ LIB_setpcred = @LIB_setpcred@
++
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
++
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
++
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++
+ @KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
+ @KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+ 
+ @KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
++
+ @DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
++
+ BUILT_SOURCES = asn1_Key.c asn1_Event.c asn1_HDBFlags.c asn1_hdb_entry.c \
+ 	asn1_Salt.c hdb_err.c hdb_err.h asn1_GENERATION.c
+ 
++
+ foo = asn1_Key.x asn1_GENERATION.x asn1_Event.x asn1_HDBFlags.x asn1_hdb_entry.x asn1_Salt.x
++
+ CLEANFILES = $(BUILT_SOURCES) $(foo) hdb_asn1.h asn1_files
++
++noinst_PROGRAMS = convert_db
+ LDADD = libhdb.la \
+ 	$(LIB_openldap) \
+ 	../krb5/libkrb5.la \
+@@ -381,8 +327,10 @@
+ 	$(LIB_des) \
+ 	$(LIB_roken)
+ 
++
+ lib_LTLIBRARIES = libhdb.la
+ libhdb_la_LDFLAGS = -version-info 7:7:0
++
+ libhdb_la_SOURCES = \
+ 	common.c				\
+ 	db.c					\
+@@ -395,50 +343,70 @@
+ 	print.c					\
+ 	$(BUILT_SOURCES)
+ 
++
+ include_HEADERS = hdb.h hdb_err.h hdb_asn1.h hdb-protos.h hdb-private.h
+-libhdb_la_LIBADD = ../krb5/libkrb5.la ../asn1/libasn1.la ../roken/libroken.la $(LIB_openldap) $(DBLIB) $(LIB_NDBM)
++
++libhdb_la_LIBADD = ../krb5/libkrb5.la ../asn1/libasn1.la $(LIB_roken) $(LIB_openldap) $(DBLIB) $(LIB_NDBM)
++subdir = lib/hdb
++ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
++mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++LTLIBRARIES = $(lib_LTLIBRARIES)
++
++libhdb_la_DEPENDENCIES = ../krb5/libkrb5.la ../asn1/libasn1.la
++am__objects_1 = asn1_Key.lo asn1_Event.lo asn1_HDBFlags.lo \
++	asn1_hdb_entry.lo asn1_Salt.lo hdb_err.lo asn1_GENERATION.lo
++am_libhdb_la_OBJECTS = common.lo db.lo db3.lo hdb-ldap.lo hdb.lo \
++	keytab.lo mkey.lo ndbm.lo print.lo $(am__objects_1)
++libhdb_la_OBJECTS = $(am_libhdb_la_OBJECTS)
++noinst_PROGRAMS = convert_db$(EXEEXT)
++PROGRAMS = $(noinst_PROGRAMS)
++
++convert_db_SOURCES = convert_db.c
++convert_db_OBJECTS = convert_db.$(OBJEXT)
++convert_db_LDADD = $(LDADD)
++convert_db_DEPENDENCIES = libhdb.la ../krb5/libkrb5.la \
++	../asn1/libasn1.la
++convert_db_LDFLAGS =
++
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
++depcomp =
++am__depfiles_maybe =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++CCLD = $(CC)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++DIST_SOURCES = $(libhdb_la_SOURCES) convert_db.c
++HEADERS = $(include_HEADERS)
++
++DIST_COMMON = $(include_HEADERS) $(srcdir)/Makefile.in \
++	$(top_srcdir)/Makefile.am.common \
++	$(top_srcdir)/cf/Makefile.am.common Makefile.am
++SOURCES = $(libhdb_la_SOURCES) convert_db.c
++
+ all: $(BUILT_SOURCES)
+ 	$(MAKE) $(AM_MAKEFLAGS) all-am
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj
+-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(am__configure_deps)
+-	@for dep in $?; do \
+-	  case '$(am__configure_deps)' in \
+-	    *$$dep*) \
+-	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+-		&& exit 0; \
+-	      exit 1;; \
+-	  esac; \
+-	done; \
+-	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  --ignore-deps lib/hdb/Makefile'; \
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+-	  $(AUTOMAKE) --foreign  --ignore-deps lib/hdb/Makefile
+-.PRECIOUS: Makefile
+-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+-	@case '$?' in \
+-	  *config.status*) \
+-	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+-	  *) \
+-	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+-	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+-	esac;
+-
+-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-
+-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
++	  $(AUTOMAKE) --foreign  lib/hdb/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
++libLTLIBRARIES_INSTALL = $(INSTALL)
+ install-libLTLIBRARIES: $(lib_LTLIBRARIES)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)"
++	$(mkinstalldirs) $(DESTDIR)$(libdir)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+ 	  if test -f $$p; then \
+ 	    f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	    echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
+-	    $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
++	    echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$f"; \
++	    $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+@@ -446,8 +414,8 @@
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+ 	    p="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \
+-	  $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \
++	  echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
++	  $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
+ 	done
+ 
+ clean-libLTLIBRARIES:
+@@ -472,19 +440,19 @@
+ 	$(LINK) $(convert_db_LDFLAGS) $(convert_db_OBJECTS) $(convert_db_LDADD) $(LIBS)
+ 
+ mostlyclean-compile:
+-	-rm -f *.$(OBJEXT)
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ .c.obj:
+-	$(COMPILE) -c `$(CYGPATH_W) '$<'`
++	$(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
+ 
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ mostlyclean-libtool:
+ 	-rm -f *.lo
+@@ -495,24 +463,33 @@
+ distclean-libtool:
+ 	-rm -f libtool
+ uninstall-info-am:
++includeHEADERS_INSTALL = $(INSTALL_HEADER)
+ install-includeHEADERS: $(include_HEADERS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(includedir)" || $(mkdir_p) "$(DESTDIR)$(includedir)"
++	$(mkinstalldirs) $(DESTDIR)$(includedir)
+ 	@list='$(include_HEADERS)'; for p in $$list; do \
+ 	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " $(includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(includedir)/$$f'"; \
+-	  $(includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(includedir)/$$f"; \
++	  echo " $(includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
++	  $(includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(includedir)/$$f; \
+ 	done
+ 
+ uninstall-includeHEADERS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(include_HEADERS)'; for p in $$list; do \
+ 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " rm -f '$(DESTDIR)$(includedir)/$$f'"; \
+-	  rm -f "$(DESTDIR)$(includedir)/$$f"; \
++	  echo " rm -f $(DESTDIR)$(includedir)/$$f"; \
++	  rm -f $(DESTDIR)$(includedir)/$$f; \
+ 	done
+ 
++ETAGS = etags
++ETAGSFLAGS =
++
++CTAGS = ctags
++CTAGSFLAGS =
++
++tags: TAGS
++
+ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ 	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ 	unique=`for i in $$list; do \
+@@ -521,7 +498,6 @@
+ 	  $(AWK) '    { files[$$0] = 1; } \
+ 	       END { for (i in files) print i; }'`; \
+ 	mkid -fID $$unique
+-tags: TAGS
+ 
+ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -536,6 +512,7 @@
+ 	test -z "$(ETAGS_ARGS)$$tags$$unique" \
+ 	  || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ 	     $$tags $$unique
++
+ ctags: CTAGS
+ CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -558,9 +535,13 @@
+ 
+ distclean-tags:
+ 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	$(mkdir_p) $(distdir)/../.. $(distdir)/../../cf
++	$(mkinstalldirs) $(distdir)/../.. $(distdir)/../../cf
+ 	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ 	list='$(DISTFILES)'; for file in $$list; do \
+@@ -572,7 +553,7 @@
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ 	    dir="/$$dir"; \
+-	    $(mkdir_p) "$(distdir)$$dir"; \
++	    $(mkinstalldirs) "$(distdir)$$dir"; \
+ 	  else \
+ 	    dir=''; \
+ 	  fi; \
+@@ -595,10 +576,9 @@
+ check: $(BUILT_SOURCES)
+ 	$(MAKE) $(AM_MAKEFLAGS) check-am
+ all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(HEADERS) all-local
++
+ installdirs:
+-	for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(includedir)"; do \
+-	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
+-	done
++	$(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(includedir)
+ install: $(BUILT_SOURCES)
+ 	$(MAKE) $(AM_MAKEFLAGS) install-am
+ install-exec: install-exec-am
+@@ -640,8 +620,6 @@
+ 
+ dvi-am:
+ 
+-html: html-am
+-
+ info: info-am
+ 
+ info-am:
+@@ -684,8 +662,8 @@
+ 	clean clean-generic clean-libLTLIBRARIES clean-libtool \
+ 	clean-noinstPROGRAMS ctags distclean distclean-compile \
+ 	distclean-generic distclean-libtool distclean-tags distdir dvi \
+-	dvi-am html html-am info info-am install install-am \
+-	install-data install-data-am install-exec install-exec-am \
++	dvi-am info info-am install install-am install-data \
++	install-data-am install-exec install-exec-am \
+ 	install-includeHEADERS install-info install-info-am \
+ 	install-libLTLIBRARIES install-man install-strip installcheck \
+ 	installcheck-am installdirs maintainer-clean \
+diff -ruN heimdal-0.6.3-old/lib/kadm5/Makefile.in heimdal-0.6.3/lib/kadm5/Makefile.in
+--- heimdal-0.6.3-old/lib/kadm5/Makefile.in	2004-09-13 22:29:29.000000000 +1000
++++ heimdal-0.6.3/lib/kadm5/Makefile.in	2004-09-14 08:40:00.000000000 +1000
+@@ -1,8 +1,8 @@
+-# Makefile.in generated by automake 1.8.3 from Makefile.am.
++# Makefile.in generated by automake 1.7.9 from Makefile.am.
+ # @configure_input@
+ 
+-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+-# 2003, 2004  Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
++# 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.
+@@ -20,10 +20,6 @@
+ 
+ # $Id: Makefile.am.common,v 1.37.2.2 2003/10/13 13:15:39 joda Exp $
+ 
+-
+-
+-SOURCES = $(libkadm5clnt_la_SOURCES) $(libkadm5srv_la_SOURCES) $(dump_log_SOURCES) $(ipropd_master_SOURCES) $(ipropd_slave_SOURCES) $(replay_log_SOURCES) $(truncate_log_SOURCES)
+-
+ srcdir = @srcdir@
+ top_srcdir = @top_srcdir@
+ VPATH = @srcdir@
+@@ -31,6 +27,7 @@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+ top_builddir = ../..
++
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+ INSTALL = @INSTALL@
+ install_sh_DATA = $(install_sh) -c -m 644
+@@ -45,151 +42,6 @@
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+ host_triplet = @host@
+-DIST_COMMON = $(kadm5include_HEADERS) $(srcdir)/Makefile.am \
+-	$(srcdir)/Makefile.in $(top_srcdir)/Makefile.am.common \
+-	$(top_srcdir)/cf/Makefile.am.common ChangeLog
+-sbin_PROGRAMS = dump_log$(EXEEXT) replay_log$(EXEEXT) \
+-	truncate_log$(EXEEXT)
+-libexec_PROGRAMS = ipropd-master$(EXEEXT) ipropd-slave$(EXEEXT)
+-subdir = lib/kadm5
+-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+-am__aclocal_m4_deps = $(top_srcdir)/cf/aix.m4 \
+-	$(top_srcdir)/cf/auth-modules.m4 \
+-	$(top_srcdir)/cf/broken-getaddrinfo.m4 \
+-	$(top_srcdir)/cf/broken-getnameinfo.m4 \
+-	$(top_srcdir)/cf/broken-glob.m4 \
+-	$(top_srcdir)/cf/broken-realloc.m4 \
+-	$(top_srcdir)/cf/broken-snprintf.m4 $(top_srcdir)/cf/broken.m4 \
+-	$(top_srcdir)/cf/broken2.m4 $(top_srcdir)/cf/c-attribute.m4 \
+-	$(top_srcdir)/cf/capabilities.m4 \
+-	$(top_srcdir)/cf/check-compile-et.m4 \
+-	$(top_srcdir)/cf/check-declaration.m4 \
+-	$(top_srcdir)/cf/check-getpwnam_r-posix.m4 \
+-	$(top_srcdir)/cf/check-man.m4 \
+-	$(top_srcdir)/cf/check-netinet-ip-and-tcp.m4 \
+-	$(top_srcdir)/cf/check-type-extra.m4 \
+-	$(top_srcdir)/cf/check-var.m4 $(top_srcdir)/cf/check-x.m4 \
+-	$(top_srcdir)/cf/check-xau.m4 $(top_srcdir)/cf/crypto.m4 \
+-	$(top_srcdir)/cf/db.m4 $(top_srcdir)/cf/destdirs.m4 \
+-	$(top_srcdir)/cf/dlopen.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs2.m4 \
+-	$(top_srcdir)/cf/find-func.m4 \
+-	$(top_srcdir)/cf/find-if-not-broken.m4 \
+-	$(top_srcdir)/cf/have-struct-field.m4 \
+-	$(top_srcdir)/cf/have-type.m4 $(top_srcdir)/cf/irix.m4 \
+-	$(top_srcdir)/cf/krb-bigendian.m4 \
+-	$(top_srcdir)/cf/krb-func-getlogin.m4 \
+-	$(top_srcdir)/cf/krb-ipv6.m4 $(top_srcdir)/cf/krb-prog-ln-s.m4 \
+-	$(top_srcdir)/cf/krb-readline.m4 \
+-	$(top_srcdir)/cf/krb-struct-spwd.m4 \
+-	$(top_srcdir)/cf/krb-struct-winsize.m4 \
+-	$(top_srcdir)/cf/mips-abi.m4 $(top_srcdir)/cf/misc.m4 \
+-	$(top_srcdir)/cf/need-proto.m4 $(top_srcdir)/cf/osfc2.m4 \
+-	$(top_srcdir)/cf/otp.m4 $(top_srcdir)/cf/proto-compat.m4 \
+-	$(top_srcdir)/cf/retsigtype.m4 $(top_srcdir)/cf/roken-frag.m4 \
+-	$(top_srcdir)/cf/sunos.m4 $(top_srcdir)/cf/telnet.m4 \
+-	$(top_srcdir)/cf/test-package.m4 $(top_srcdir)/cf/wflags.m4 \
+-	$(top_srcdir)/cf/with-all.m4 $(top_srcdir)/configure.in
+-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+-	$(ACLOCAL_M4)
+-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = $(top_builddir)/include/config.h
+-CONFIG_CLEAN_FILES =
+-am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(libexecdir)" "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(kadm5includedir)"
+-libLTLIBRARIES_INSTALL = $(INSTALL)
+-LTLIBRARIES = $(lib_LTLIBRARIES)
+-libkadm5clnt_la_DEPENDENCIES = ../krb5/libkrb5.la ../hdb/libhdb.la \
+-	../roken/libroken.la
+-am__objects_1 = chpass_c.lo common_glue.lo create_c.lo delete_c.lo \
+-	destroy_c.lo flush_c.lo free.lo get_c.lo get_princs_c.lo \
+-	init_c.lo kadm5_err.lo marshall.lo modify_c.lo privs_c.lo \
+-	randkey_c.lo rename_c.lo send_recv.lo
+-am_libkadm5clnt_la_OBJECTS = $(am__objects_1) client_glue.lo
+-libkadm5clnt_la_OBJECTS = $(am_libkadm5clnt_la_OBJECTS)
+-libkadm5srv_la_DEPENDENCIES = ../krb5/libkrb5.la ../hdb/libhdb.la \
+-	../roken/libroken.la
+-am__objects_2 = acl.lo bump_pw_expire.lo chpass_s.lo common_glue.lo \
+-	context_s.lo create_s.lo delete_s.lo destroy_s.lo ent_setup.lo \
+-	error.lo flush_s.lo free.lo get_princs_s.lo get_s.lo init_s.lo \
+-	kadm5_err.lo keys.lo log.lo marshall.lo modify_s.lo privs_s.lo \
+-	randkey_s.lo rename_s.lo set_keys.lo set_modifier.lo \
+-	password_quality.lo
+-am_libkadm5srv_la_OBJECTS = $(am__objects_2) server_glue.lo
+-libkadm5srv_la_OBJECTS = $(am_libkadm5srv_la_OBJECTS)
+-libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+-sbinPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+-PROGRAMS = $(libexec_PROGRAMS) $(sbin_PROGRAMS)
+-am_dump_log_OBJECTS = dump_log.$(OBJEXT)
+-dump_log_OBJECTS = $(am_dump_log_OBJECTS)
+-dump_log_LDADD = $(LDADD)
+-am__DEPENDENCIES_1 =
+-dump_log_DEPENDENCIES = libkadm5srv.la \
+-	$(top_builddir)/lib/hdb/libhdb.la $(am__DEPENDENCIES_1) \
+-	$(top_builddir)/lib/krb5/libkrb5.la \
+-	$(top_builddir)/lib/asn1/libasn1.la $(am__DEPENDENCIES_1) \
+-	$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
+-	$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
+-am_ipropd_master_OBJECTS = ipropd_master.$(OBJEXT)
+-ipropd_master_OBJECTS = $(am_ipropd_master_OBJECTS)
+-ipropd_master_LDADD = $(LDADD)
+-ipropd_master_DEPENDENCIES = libkadm5srv.la \
+-	$(top_builddir)/lib/hdb/libhdb.la $(am__DEPENDENCIES_1) \
+-	$(top_builddir)/lib/krb5/libkrb5.la \
+-	$(top_builddir)/lib/asn1/libasn1.la $(am__DEPENDENCIES_1) \
+-	$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
+-	$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
+-am_ipropd_slave_OBJECTS = ipropd_slave.$(OBJEXT)
+-ipropd_slave_OBJECTS = $(am_ipropd_slave_OBJECTS)
+-ipropd_slave_LDADD = $(LDADD)
+-ipropd_slave_DEPENDENCIES = libkadm5srv.la \
+-	$(top_builddir)/lib/hdb/libhdb.la $(am__DEPENDENCIES_1) \
+-	$(top_builddir)/lib/krb5/libkrb5.la \
+-	$(top_builddir)/lib/asn1/libasn1.la $(am__DEPENDENCIES_1) \
+-	$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
+-	$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
+-am_replay_log_OBJECTS = replay_log.$(OBJEXT)
+-replay_log_OBJECTS = $(am_replay_log_OBJECTS)
+-replay_log_LDADD = $(LDADD)
+-replay_log_DEPENDENCIES = libkadm5srv.la \
+-	$(top_builddir)/lib/hdb/libhdb.la $(am__DEPENDENCIES_1) \
+-	$(top_builddir)/lib/krb5/libkrb5.la \
+-	$(top_builddir)/lib/asn1/libasn1.la $(am__DEPENDENCIES_1) \
+-	$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
+-	$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
+-am_truncate_log_OBJECTS = truncate_log.$(OBJEXT)
+-truncate_log_OBJECTS = $(am_truncate_log_OBJECTS)
+-truncate_log_LDADD = $(LDADD)
+-truncate_log_DEPENDENCIES = libkadm5srv.la \
+-	$(top_builddir)/lib/hdb/libhdb.la $(am__DEPENDENCIES_1) \
+-	$(top_builddir)/lib/krb5/libkrb5.la \
+-	$(top_builddir)/lib/asn1/libasn1.la $(am__DEPENDENCIES_1) \
+-	$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
+-	$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
+-DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
+-depcomp =
+-am__depfiles_maybe =
+-COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+-	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) \
+-	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+-	$(AM_CFLAGS) $(CFLAGS)
+-CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+-	$(AM_LDFLAGS) $(LDFLAGS) -o $@
+-SOURCES = $(libkadm5clnt_la_SOURCES) $(libkadm5srv_la_SOURCES) \
+-	$(dump_log_SOURCES) $(ipropd_master_SOURCES) \
+-	$(ipropd_slave_SOURCES) $(replay_log_SOURCES) \
+-	$(truncate_log_SOURCES)
+-DIST_SOURCES = $(libkadm5clnt_la_SOURCES) $(libkadm5srv_la_SOURCES) \
+-	$(dump_log_SOURCES) $(ipropd_master_SOURCES) \
+-	$(ipropd_slave_SOURCES) $(replay_log_SOURCES) \
+-	$(truncate_log_SOURCES)
+-kadm5includeHEADERS_INSTALL = $(INSTALL_HEADER)
+-HEADERS = $(kadm5include_HEADERS)
+-ETAGS = etags
+-CTAGS = ctags
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ ACLOCAL = @ACLOCAL@
+ AIX4_FALSE = @AIX4_FALSE@
+ AIX4_TRUE = @AIX4_TRUE@
+@@ -214,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -224,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -247,12 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
++
+ INCLUDE_krb4 = @INCLUDE_krb4@
++
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
++
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -265,6 +130,7 @@
+ KRB5_TRUE = @KRB5_TRUE@
+ LDFLAGS = @LDFLAGS@
+ LEX = @LEX@
++
+ LEXLIB = @LEXLIB@
+ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+ LIBOBJS = @LIBOBJS@
+@@ -273,6 +139,7 @@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+ LIB_XauFileName = @LIB_XauFileName@
++
+ LIB_XauReadAuth = @LIB_XauReadAuth@
+ LIB_XauWriteAuth = @LIB_XauWriteAuth@
+ LIB_bswap16 = @LIB_bswap16@
+@@ -321,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -401,7 +270,6 @@
+ libexecdir = @libexecdir@
+ localstatedir = @localstatedir@
+ mandir = @mandir@
+-mkdir_p = @mkdir_p@
+ oldincludedir = @oldincludedir@
+ prefix = @prefix@
+ program_transform_name = @program_transform_name@
+@@ -409,35 +277,57 @@
+ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
++
+ SUFFIXES = .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8
++
+ INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken)
++
+ @do_roken_rename_TRUE@ROKEN_RENAME = -DROKEN_RENAME
++
+ AM_CFLAGS = $(WFLAGS)
++
+ CP = cp
++
+ buildinclude = $(top_builddir)/include
+ LIB_getattr = @LIB_getattr@
+ LIB_getpwent_r = @LIB_getpwent_r@
+ LIB_odm_initialize = @LIB_odm_initialize@
+ LIB_setpcred = @LIB_setpcred@
++
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
++
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
++
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++
+ @KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
+ @KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+ 
+ @KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
++
+ @DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
++
+ lib_LTLIBRARIES = libkadm5srv.la libkadm5clnt.la
+ libkadm5srv_la_LDFLAGS = -version-info 7:6:0
+ libkadm5clnt_la_LDFLAGS = -version-info 6:4:2
+-libkadm5srv_la_LIBADD = ../krb5/libkrb5.la ../hdb/libhdb.la ../roken/libroken.la
+-libkadm5clnt_la_LIBADD = ../krb5/libkrb5.la ../hdb/libhdb.la ../roken/libroken.la
++sbin_PROGRAMS = dump_log replay_log truncate_log
++
++libkadm5srv_la_LIBADD = ../krb5/libkrb5.la ../hdb/libhdb.la $(LIB_roken)
++libkadm5clnt_la_LIBADD = ../krb5/libkrb5.la ../hdb/libhdb.la $(LIB_roken)
++
++libexec_PROGRAMS = ipropd-master ipropd-slave
++
+ kadm5includedir = $(includedir)/kadm5
+ buildkadm5include = $(buildinclude)/kadm5
++
+ kadm5include_HEADERS = kadm5_err.h admin.h private.h \
+ 	kadm5-protos.h kadm5-private.h
+ 
++
+ SOURCES_client = \
+ 	admin.h					\
+ 	chpass_c.c				\
+@@ -460,6 +350,7 @@
+ 	rename_c.c				\
+ 	send_recv.c
+ 
++
+ SOURCES_server = \
+ 	acl.c					\
+ 	admin.h					\
+@@ -491,13 +382,20 @@
+ 	set_modifier.c				\
+ 	password_quality.c
+ 
++
+ libkadm5srv_la_SOURCES = $(SOURCES_server) server_glue.c
+ libkadm5clnt_la_SOURCES = $(SOURCES_client) client_glue.c
++
+ dump_log_SOURCES = dump_log.c kadm5_locl.h
++
+ replay_log_SOURCES = replay_log.c kadm5_locl.h
++
+ ipropd_master_SOURCES = ipropd_master.c iprop.h kadm5_locl.h
++
+ ipropd_slave_SOURCES = ipropd_slave.c iprop.h kadm5_locl.h
++
+ truncate_log_SOURCES = truncate_log.c
++
+ LDADD = \
+ 	libkadm5srv.la \
+ 	$(top_builddir)/lib/hdb/libhdb.la \
+@@ -510,49 +408,117 @@
+ 	$(LIB_dlopen) \
+ 	$(LIB_pidfile)
+ 
++
+ CLEANFILES = kadm5_err.c kadm5_err.h
++
+ proto_opts = -q -R '^(_|kadm5_c_|kadm5_s_|kadm5_log)' -P comment
++subdir = lib/kadm5
++ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
++mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++LTLIBRARIES = $(lib_LTLIBRARIES)
++
++libkadm5clnt_la_DEPENDENCIES = ../krb5/libkrb5.la ../hdb/libhdb.la
++am__objects_1 = chpass_c.lo common_glue.lo create_c.lo delete_c.lo \
++	destroy_c.lo flush_c.lo free.lo get_c.lo get_princs_c.lo \
++	init_c.lo kadm5_err.lo marshall.lo modify_c.lo privs_c.lo \
++	randkey_c.lo rename_c.lo send_recv.lo
++am_libkadm5clnt_la_OBJECTS = $(am__objects_1) client_glue.lo
++libkadm5clnt_la_OBJECTS = $(am_libkadm5clnt_la_OBJECTS)
++libkadm5srv_la_DEPENDENCIES = ../krb5/libkrb5.la ../hdb/libhdb.la
++am__objects_2 = acl.lo bump_pw_expire.lo chpass_s.lo common_glue.lo \
++	context_s.lo create_s.lo delete_s.lo destroy_s.lo ent_setup.lo \
++	error.lo flush_s.lo free.lo get_princs_s.lo get_s.lo init_s.lo \
++	kadm5_err.lo keys.lo log.lo marshall.lo modify_s.lo privs_s.lo \
++	randkey_s.lo rename_s.lo set_keys.lo set_modifier.lo \
++	password_quality.lo
++am_libkadm5srv_la_OBJECTS = $(am__objects_2) server_glue.lo
++libkadm5srv_la_OBJECTS = $(am_libkadm5srv_la_OBJECTS)
++libexec_PROGRAMS = ipropd-master$(EXEEXT) ipropd-slave$(EXEEXT)
++sbin_PROGRAMS = dump_log$(EXEEXT) replay_log$(EXEEXT) \
++	truncate_log$(EXEEXT)
++PROGRAMS = $(libexec_PROGRAMS) $(sbin_PROGRAMS)
++
++am_dump_log_OBJECTS = dump_log.$(OBJEXT)
++dump_log_OBJECTS = $(am_dump_log_OBJECTS)
++dump_log_LDADD = $(LDADD)
++dump_log_DEPENDENCIES = libkadm5srv.la $(top_builddir)/lib/hdb/libhdb.la \
++	$(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++dump_log_LDFLAGS =
++am_ipropd_master_OBJECTS = ipropd_master.$(OBJEXT)
++ipropd_master_OBJECTS = $(am_ipropd_master_OBJECTS)
++ipropd_master_LDADD = $(LDADD)
++ipropd_master_DEPENDENCIES = libkadm5srv.la \
++	$(top_builddir)/lib/hdb/libhdb.la \
++	$(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++ipropd_master_LDFLAGS =
++am_ipropd_slave_OBJECTS = ipropd_slave.$(OBJEXT)
++ipropd_slave_OBJECTS = $(am_ipropd_slave_OBJECTS)
++ipropd_slave_LDADD = $(LDADD)
++ipropd_slave_DEPENDENCIES = libkadm5srv.la \
++	$(top_builddir)/lib/hdb/libhdb.la \
++	$(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++ipropd_slave_LDFLAGS =
++am_replay_log_OBJECTS = replay_log.$(OBJEXT)
++replay_log_OBJECTS = $(am_replay_log_OBJECTS)
++replay_log_LDADD = $(LDADD)
++replay_log_DEPENDENCIES = libkadm5srv.la \
++	$(top_builddir)/lib/hdb/libhdb.la \
++	$(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++replay_log_LDFLAGS =
++am_truncate_log_OBJECTS = truncate_log.$(OBJEXT)
++truncate_log_OBJECTS = $(am_truncate_log_OBJECTS)
++truncate_log_LDADD = $(LDADD)
++truncate_log_DEPENDENCIES = libkadm5srv.la \
++	$(top_builddir)/lib/hdb/libhdb.la \
++	$(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++truncate_log_LDFLAGS =
++
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
++depcomp =
++am__depfiles_maybe =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++CCLD = $(CC)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++DIST_SOURCES = $(libkadm5clnt_la_SOURCES) $(libkadm5srv_la_SOURCES) \
++	$(dump_log_SOURCES) $(ipropd_master_SOURCES) \
++	$(ipropd_slave_SOURCES) $(replay_log_SOURCES) \
++	$(truncate_log_SOURCES)
++HEADERS = $(kadm5include_HEADERS)
++
++DIST_COMMON = $(kadm5include_HEADERS) $(srcdir)/Makefile.in \
++	$(top_srcdir)/Makefile.am.common \
++	$(top_srcdir)/cf/Makefile.am.common ChangeLog Makefile.am
++SOURCES = $(libkadm5clnt_la_SOURCES) $(libkadm5srv_la_SOURCES) $(dump_log_SOURCES) $(ipropd_master_SOURCES) $(ipropd_slave_SOURCES) $(replay_log_SOURCES) $(truncate_log_SOURCES)
++
+ all: all-am
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj
+-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(am__configure_deps)
+-	@for dep in $?; do \
+-	  case '$(am__configure_deps)' in \
+-	    *$$dep*) \
+-	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+-		&& exit 0; \
+-	      exit 1;; \
+-	  esac; \
+-	done; \
+-	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  --ignore-deps lib/kadm5/Makefile'; \
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+-	  $(AUTOMAKE) --foreign  --ignore-deps lib/kadm5/Makefile
+-.PRECIOUS: Makefile
+-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+-	@case '$?' in \
+-	  *config.status*) \
+-	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+-	  *) \
+-	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+-	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+-	esac;
+-
+-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-
+-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
++	  $(AUTOMAKE) --foreign  lib/kadm5/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
++libLTLIBRARIES_INSTALL = $(INSTALL)
+ install-libLTLIBRARIES: $(lib_LTLIBRARIES)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)"
++	$(mkinstalldirs) $(DESTDIR)$(libdir)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+ 	  if test -f $$p; then \
+ 	    f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	    echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
+-	    $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
++	    echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$f"; \
++	    $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+@@ -560,8 +526,8 @@
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+ 	    p="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \
+-	  $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \
++	  echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
++	  $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
+ 	done
+ 
+ clean-libLTLIBRARIES:
+@@ -576,17 +542,18 @@
+ 	$(LINK) -rpath $(libdir) $(libkadm5clnt_la_LDFLAGS) $(libkadm5clnt_la_OBJECTS) $(libkadm5clnt_la_LIBADD) $(LIBS)
+ libkadm5srv.la: $(libkadm5srv_la_OBJECTS) $(libkadm5srv_la_DEPENDENCIES) 
+ 	$(LINK) -rpath $(libdir) $(libkadm5srv_la_LDFLAGS) $(libkadm5srv_la_OBJECTS) $(libkadm5srv_la_LIBADD) $(LIBS)
++libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ install-libexecPROGRAMS: $(libexec_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(libexecdir)" || $(mkdir_p) "$(DESTDIR)$(libexecdir)"
++	$(mkinstalldirs) $(DESTDIR)$(libexecdir)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+ 	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+ 	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+-	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(libexecdir)/$$f'"; \
+-	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(libexecdir)/$$f" || exit 1; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f || exit 1; \
+ 	  else :; fi; \
+ 	done
+ 
+@@ -594,8 +561,8 @@
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+ 	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  echo " rm -f '$(DESTDIR)$(libexecdir)/$$f'"; \
+-	  rm -f "$(DESTDIR)$(libexecdir)/$$f"; \
++	  echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
++	  rm -f $(DESTDIR)$(libexecdir)/$$f; \
+ 	done
+ 
+ clean-libexecPROGRAMS:
+@@ -604,17 +571,18 @@
+ 	  echo " rm -f $$p $$f"; \
+ 	  rm -f $$p $$f ; \
+ 	done
++sbinPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ install-sbinPROGRAMS: $(sbin_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(sbindir)" || $(mkdir_p) "$(DESTDIR)$(sbindir)"
++	$(mkinstalldirs) $(DESTDIR)$(sbindir)
+ 	@list='$(sbin_PROGRAMS)'; for p in $$list; do \
+ 	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+ 	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+-	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(sbinPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(sbindir)/$$f'"; \
+-	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(sbinPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(sbindir)/$$f" || exit 1; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(sbinPROGRAMS_INSTALL) $$p $(DESTDIR)$(sbindir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(sbinPROGRAMS_INSTALL) $$p $(DESTDIR)$(sbindir)/$$f || exit 1; \
+ 	  else :; fi; \
+ 	done
+ 
+@@ -622,8 +590,8 @@
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(sbin_PROGRAMS)'; for p in $$list; do \
+ 	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  echo " rm -f '$(DESTDIR)$(sbindir)/$$f'"; \
+-	  rm -f "$(DESTDIR)$(sbindir)/$$f"; \
++	  echo " rm -f $(DESTDIR)$(sbindir)/$$f"; \
++	  rm -f $(DESTDIR)$(sbindir)/$$f; \
+ 	done
+ 
+ clean-sbinPROGRAMS:
+@@ -649,19 +617,19 @@
+ 	$(LINK) $(truncate_log_LDFLAGS) $(truncate_log_OBJECTS) $(truncate_log_LDADD) $(LIBS)
+ 
+ mostlyclean-compile:
+-	-rm -f *.$(OBJEXT)
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ .c.obj:
+-	$(COMPILE) -c `$(CYGPATH_W) '$<'`
++	$(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
+ 
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ mostlyclean-libtool:
+ 	-rm -f *.lo
+@@ -672,24 +640,33 @@
+ distclean-libtool:
+ 	-rm -f libtool
+ uninstall-info-am:
++kadm5includeHEADERS_INSTALL = $(INSTALL_HEADER)
+ install-kadm5includeHEADERS: $(kadm5include_HEADERS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(kadm5includedir)" || $(mkdir_p) "$(DESTDIR)$(kadm5includedir)"
++	$(mkinstalldirs) $(DESTDIR)$(kadm5includedir)
+ 	@list='$(kadm5include_HEADERS)'; for p in $$list; do \
+ 	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " $(kadm5includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(kadm5includedir)/$$f'"; \
+-	  $(kadm5includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(kadm5includedir)/$$f"; \
++	  echo " $(kadm5includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(kadm5includedir)/$$f"; \
++	  $(kadm5includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(kadm5includedir)/$$f; \
+ 	done
+ 
+ uninstall-kadm5includeHEADERS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(kadm5include_HEADERS)'; for p in $$list; do \
+ 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " rm -f '$(DESTDIR)$(kadm5includedir)/$$f'"; \
+-	  rm -f "$(DESTDIR)$(kadm5includedir)/$$f"; \
++	  echo " rm -f $(DESTDIR)$(kadm5includedir)/$$f"; \
++	  rm -f $(DESTDIR)$(kadm5includedir)/$$f; \
+ 	done
+ 
++ETAGS = etags
++ETAGSFLAGS =
++
++CTAGS = ctags
++CTAGSFLAGS =
++
++tags: TAGS
++
+ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ 	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ 	unique=`for i in $$list; do \
+@@ -698,7 +675,6 @@
+ 	  $(AWK) '    { files[$$0] = 1; } \
+ 	       END { for (i in files) print i; }'`; \
+ 	mkid -fID $$unique
+-tags: TAGS
+ 
+ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -713,6 +689,7 @@
+ 	test -z "$(ETAGS_ARGS)$$tags$$unique" \
+ 	  || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ 	     $$tags $$unique
++
+ ctags: CTAGS
+ CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -735,9 +712,13 @@
+ 
+ distclean-tags:
+ 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	$(mkdir_p) $(distdir)/../.. $(distdir)/../../cf
++	$(mkinstalldirs) $(distdir)/../.. $(distdir)/../../cf
+ 	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ 	list='$(DISTFILES)'; for file in $$list; do \
+@@ -749,7 +730,7 @@
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ 	    dir="/$$dir"; \
+-	    $(mkdir_p) "$(distdir)$$dir"; \
++	    $(mkinstalldirs) "$(distdir)$$dir"; \
+ 	  else \
+ 	    dir=''; \
+ 	  fi; \
+@@ -771,10 +752,9 @@
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+ all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(HEADERS) all-local
++
+ installdirs:
+-	for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(libexecdir)" "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(kadm5includedir)"; do \
+-	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
+-	done
++	$(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(libexecdir) $(DESTDIR)$(sbindir) $(DESTDIR)$(kadm5includedir)
+ install: install-am
+ install-exec: install-exec-am
+ install-data: install-data-am
+@@ -814,8 +794,6 @@
+ 
+ dvi-am:
+ 
+-html: html-am
+-
+ info: info-am
+ 
+ info-am:
+@@ -860,18 +838,17 @@
+ 	clean clean-generic clean-libLTLIBRARIES clean-libexecPROGRAMS \
+ 	clean-libtool clean-sbinPROGRAMS ctags distclean \
+ 	distclean-compile distclean-generic distclean-libtool \
+-	distclean-tags distdir dvi dvi-am html html-am info info-am \
+-	install install-am install-data install-data-am install-exec \
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-data install-data-am install-exec \
+ 	install-exec-am install-info install-info-am \
+ 	install-kadm5includeHEADERS install-libLTLIBRARIES \
+ 	install-libexecPROGRAMS install-man install-sbinPROGRAMS \
+ 	install-strip installcheck installcheck-am installdirs \
+ 	maintainer-clean maintainer-clean-generic mostlyclean \
+-	mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
+-	pdf pdf-am ps ps-am tags uninstall uninstall-am \
+-	uninstall-info-am uninstall-kadm5includeHEADERS \
+-	uninstall-libLTLIBRARIES uninstall-libexecPROGRAMS \
+-	uninstall-sbinPROGRAMS
++	mostlyclean-compile mostlyclean-generic mostlyclean-libtool pdf \
++	pdf-am ps ps-am tags uninstall uninstall-am uninstall-info-am \
++	uninstall-kadm5includeHEADERS uninstall-libLTLIBRARIES \
++	uninstall-libexecPROGRAMS uninstall-sbinPROGRAMS
+ 
+ 
+ install-suid-programs:
+diff -ruN heimdal-0.6.3-old/lib/kafs/Makefile.in heimdal-0.6.3/lib/kafs/Makefile.in
+--- heimdal-0.6.3-old/lib/kafs/Makefile.in	2004-09-13 22:29:30.000000000 +1000
++++ heimdal-0.6.3/lib/kafs/Makefile.in	2004-09-14 08:40:00.000000000 +1000
+@@ -1,8 +1,8 @@
+-# Makefile.in generated by automake 1.8.3 from Makefile.am.
++# Makefile.in generated by automake 1.7.9 from Makefile.am.
+ # @configure_input@
+ 
+-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+-# 2003, 2004  Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
++# 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.
+@@ -20,10 +20,6 @@
+ 
+ # $Id: Makefile.am.common,v 1.37.2.2 2003/10/13 13:15:39 joda Exp $
+ 
+-
+-
+-SOURCES = $(libkafs_la_SOURCES) $(EXTRA_libkafs_la_SOURCES)
+-
+ srcdir = @srcdir@
+ top_srcdir = @top_srcdir@
+ VPATH = @srcdir@
+@@ -31,6 +27,7 @@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+ top_builddir = ../..
++
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+ INSTALL = @INSTALL@
+ install_sh_DATA = $(install_sh) -c -m 644
+@@ -45,99 +42,6 @@
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+ host_triplet = @host@
+-DIST_COMMON = $(include_HEADERS) $(srcdir)/Makefile.am \
+-	$(srcdir)/Makefile.in $(top_srcdir)/Makefile.am.common \
+-	$(top_srcdir)/cf/Makefile.am.common ChangeLog
+-subdir = lib/kafs
+-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+-am__aclocal_m4_deps = $(top_srcdir)/cf/aix.m4 \
+-	$(top_srcdir)/cf/auth-modules.m4 \
+-	$(top_srcdir)/cf/broken-getaddrinfo.m4 \
+-	$(top_srcdir)/cf/broken-getnameinfo.m4 \
+-	$(top_srcdir)/cf/broken-glob.m4 \
+-	$(top_srcdir)/cf/broken-realloc.m4 \
+-	$(top_srcdir)/cf/broken-snprintf.m4 $(top_srcdir)/cf/broken.m4 \
+-	$(top_srcdir)/cf/broken2.m4 $(top_srcdir)/cf/c-attribute.m4 \
+-	$(top_srcdir)/cf/capabilities.m4 \
+-	$(top_srcdir)/cf/check-compile-et.m4 \
+-	$(top_srcdir)/cf/check-declaration.m4 \
+-	$(top_srcdir)/cf/check-getpwnam_r-posix.m4 \
+-	$(top_srcdir)/cf/check-man.m4 \
+-	$(top_srcdir)/cf/check-netinet-ip-and-tcp.m4 \
+-	$(top_srcdir)/cf/check-type-extra.m4 \
+-	$(top_srcdir)/cf/check-var.m4 $(top_srcdir)/cf/check-x.m4 \
+-	$(top_srcdir)/cf/check-xau.m4 $(top_srcdir)/cf/crypto.m4 \
+-	$(top_srcdir)/cf/db.m4 $(top_srcdir)/cf/destdirs.m4 \
+-	$(top_srcdir)/cf/dlopen.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs2.m4 \
+-	$(top_srcdir)/cf/find-func.m4 \
+-	$(top_srcdir)/cf/find-if-not-broken.m4 \
+-	$(top_srcdir)/cf/have-struct-field.m4 \
+-	$(top_srcdir)/cf/have-type.m4 $(top_srcdir)/cf/irix.m4 \
+-	$(top_srcdir)/cf/krb-bigendian.m4 \
+-	$(top_srcdir)/cf/krb-func-getlogin.m4 \
+-	$(top_srcdir)/cf/krb-ipv6.m4 $(top_srcdir)/cf/krb-prog-ln-s.m4 \
+-	$(top_srcdir)/cf/krb-readline.m4 \
+-	$(top_srcdir)/cf/krb-struct-spwd.m4 \
+-	$(top_srcdir)/cf/krb-struct-winsize.m4 \
+-	$(top_srcdir)/cf/mips-abi.m4 $(top_srcdir)/cf/misc.m4 \
+-	$(top_srcdir)/cf/need-proto.m4 $(top_srcdir)/cf/osfc2.m4 \
+-	$(top_srcdir)/cf/otp.m4 $(top_srcdir)/cf/proto-compat.m4 \
+-	$(top_srcdir)/cf/retsigtype.m4 $(top_srcdir)/cf/roken-frag.m4 \
+-	$(top_srcdir)/cf/sunos.m4 $(top_srcdir)/cf/telnet.m4 \
+-	$(top_srcdir)/cf/test-package.m4 $(top_srcdir)/cf/wflags.m4 \
+-	$(top_srcdir)/cf/with-all.m4 $(top_srcdir)/configure.in
+-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+-	$(ACLOCAL_M4)
+-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = $(top_builddir)/include/config.h
+-CONFIG_CLEAN_FILES =
+-am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(man3dir)" "$(DESTDIR)$(foodir)" "$(DESTDIR)$(includedir)"
+-libLTLIBRARIES_INSTALL = $(INSTALL)
+-LTLIBRARIES = $(lib_LTLIBRARIES)
+-@KRB5_TRUE@am__DEPENDENCIES_1 = ../krb5/libkrb5.la
+-am__DEPENDENCIES_2 =
+-@KRB4_TRUE@am__DEPENDENCIES_3 = $(am__DEPENDENCIES_2) \
+-@KRB4_TRUE@	$(am__DEPENDENCIES_2)
+-libkafs_la_DEPENDENCIES = $(am__DEPENDENCIES_1) ../roken/libroken.la \
+-	$(am__DEPENDENCIES_3)
+-am__libkafs_la_SOURCES_DIST = afssys.c afskrb.c afskrb5.c common.c \
+-	afslib.c dlfcn.c kafs_locl.h afssysdefs.h resolve.c strtok_r.c \
+-	strlcpy.c strsep.c
+-@KRB4_TRUE@am__objects_1 = afskrb.lo
+-@KRB5_TRUE@am__objects_2 = afskrb5.lo
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@am__objects_3 = afslib.lo
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@am__objects_3 =  \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@	dlfcn.lo
+-@do_roken_rename_TRUE@am__objects_4 = resolve.lo strtok_r.lo \
+-@do_roken_rename_TRUE@	strlcpy.lo strsep.lo
+-am_libkafs_la_OBJECTS = afssys.lo $(am__objects_1) $(am__objects_2) \
+-	common.lo $(am__objects_3) $(am__objects_4)
+-libkafs_la_OBJECTS = $(am_libkafs_la_OBJECTS)
+-DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
+-depcomp =
+-am__depfiles_maybe =
+-COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+-	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) \
+-	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+-	$(AM_CFLAGS) $(CFLAGS)
+-CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+-	$(AM_LDFLAGS) $(LDFLAGS) -o $@
+-SOURCES = $(libkafs_la_SOURCES) $(EXTRA_libkafs_la_SOURCES)
+-DIST_SOURCES = $(am__libkafs_la_SOURCES_DIST) \
+-	$(EXTRA_libkafs_la_SOURCES)
+-man3dir = $(mandir)/man3
+-MANS = $(man_MANS)
+-fooDATA_INSTALL = $(INSTALL_DATA)
+-DATA = $(foo_DATA)
+-includeHEADERS_INSTALL = $(INSTALL_HEADER)
+-HEADERS = $(include_HEADERS)
+-ETAGS = etags
+-CTAGS = ctags
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ ACLOCAL = @ACLOCAL@
+ AIX4_FALSE = @AIX4_FALSE@
+ AIX4_TRUE = @AIX4_TRUE@
+@@ -162,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -172,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -195,12 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
++
+ INCLUDE_krb4 = @INCLUDE_krb4@
++
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
++
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -213,6 +130,7 @@
+ KRB5_TRUE = @KRB5_TRUE@
+ LDFLAGS = @LDFLAGS@
+ LEX = @LEX@
++
+ LEXLIB = @LEXLIB@
+ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+ LIBOBJS = @LIBOBJS@
+@@ -221,6 +139,7 @@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+ LIB_XauFileName = @LIB_XauFileName@
++
+ LIB_XauReadAuth = @LIB_XauReadAuth@
+ LIB_XauWriteAuth = @LIB_XauWriteAuth@
+ LIB_bswap16 = @LIB_bswap16@
+@@ -269,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -349,7 +270,6 @@
+ libexecdir = @libexecdir@
+ localstatedir = @localstatedir@
+ mandir = @mandir@
+-mkdir_p = @mkdir_p@
+ oldincludedir = @oldincludedir@
+ prefix = @prefix@
+ program_transform_name = @program_transform_name@
+@@ -357,56 +277,84 @@
+ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
++
+ SUFFIXES = .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8
++
+ INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) $(AFS_EXTRA_DEFS) $(ROKEN_RENAME) $(krb4_am_workaround) $(krb5_am_workaround)
++
+ @do_roken_rename_TRUE@ROKEN_RENAME = -DROKEN_RENAME
++
+ AM_CFLAGS = $(WFLAGS)
++
+ CP = cp
++
+ buildinclude = $(top_builddir)/include
+ LIB_getattr = @LIB_getattr@
+ LIB_getpwent_r = @LIB_getpwent_r@
+ LIB_odm_initialize = @LIB_odm_initialize@
+ LIB_setpcred = @LIB_setpcred@
++
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
++
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
++
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++
+ @KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
+ @KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+ 
+ @KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
++
+ @DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+-@KRB4_FALSE@DEPLIB_krb4 = 
++
+ @KRB4_TRUE@DEPLIB_krb4 = $(LIB_krb4) $(LIB_des)
+-@KRB4_FALSE@krb4_am_workaround = 
++@KRB4_FALSE@DEPLIB_krb4 = 
+ @KRB4_TRUE@krb4_am_workaround = $(INCLUDE_krb4)
+-@KRB5_FALSE@DEPLIB_krb5 = 
++@KRB4_FALSE@krb4_am_workaround = 
++
+ @KRB5_TRUE@DEPLIB_krb5 = ../krb5/libkrb5.la 
+-@KRB5_FALSE@krb5_am_workaround = 
++@KRB5_FALSE@DEPLIB_krb5 = 
+ @KRB5_TRUE@krb5_am_workaround = $(INCLUDE_des) -I$(top_srcdir)/lib/krb5
+-@AIX_FALSE@AFSL_EXP = 
++@KRB5_FALSE@krb5_am_workaround = 
++
+ @AIX_TRUE@AFSL_EXP = $(srcdir)/afsl.exp
++
++@AIX_FALSE@AFSL_EXP = 
+ @AIX4_FALSE@@AIX_TRUE@AFS_EXTRA_LD = -e _nostart
++
+ @AIX4_TRUE@@AIX_TRUE@AFS_EXTRA_LD = -bnoentry
+ @AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@AIX_SRC = afslib.c
++@AIX_FALSE@AIX_SRC = 
+ @AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@AIX_SRC = dlfcn.c
++
+ @AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@AIX_SRC = 
+-@AIX_FALSE@AIX_SRC = 
+ @AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@AFS_EXTRA_LIBS = 
+ @AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@AFS_EXTRA_LIBS = afslib.so
+ @AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@AFS_EXTRA_DEFS = -DSTATIC_AFS
+ @AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@AFS_EXTRA_DEFS = 
+-libkafs_la_LIBADD = $(DEPLIB_krb5) ../roken/libroken.la $(DEPLIB_krb4)
++
++libkafs_la_LIBADD = $(DEPLIB_krb5) $(LIB_roken) $(DEPLIB_krb4)
++
+ lib_LTLIBRARIES = libkafs.la
+ libkafs_la_LDFLAGS = -version-info 4:0:4
+ foodir = $(libdir)
+ foo_DATA = $(AFS_EXTRA_LIBS)
++
+ # EXTRA_DATA = afslib.so
+ CLEANFILES = $(AFS_EXTRA_LIBS) $(ROKEN_SRCS)
++
+ include_HEADERS = kafs.h
++
+ @KRB5_TRUE@afskrb5_c = afskrb5.c
++
+ @KRB4_TRUE@afskrb_c = afskrb.c
++
+ @do_roken_rename_TRUE@ROKEN_SRCS = resolve.c strtok_r.c strlcpy.c strsep.c
++
+ libkafs_la_SOURCES = \
+ 	afssys.c				\
+ 	$(afskrb_c)				\
+@@ -418,51 +366,80 @@
+ 	$(ROKEN_SRCS)
+ 
+ 
++
+ #afslib_so_SOURCES = afslib.c
+ EXTRA_libkafs_la_SOURCES = afskrb.c afskrb5.c dlfcn.c afslib.c dlfcn.h
++
+ EXTRA_DIST = README.dlfcn afsl.exp afslib.exp
++
+ man_MANS = kafs.3
++subdir = lib/kafs
++ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
++mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++LTLIBRARIES = $(lib_LTLIBRARIES)
++
++@KRB4_FALSE@@KRB5_TRUE@libkafs_la_DEPENDENCIES = ../krb5/libkrb5.la
++@KRB4_FALSE@@KRB5_FALSE@libkafs_la_DEPENDENCIES =
++@KRB4_TRUE@@KRB5_TRUE@libkafs_la_DEPENDENCIES = ../krb5/libkrb5.la
++@KRB4_TRUE@@KRB5_FALSE@libkafs_la_DEPENDENCIES =
++am__libkafs_la_SOURCES_DIST = afssys.c afskrb.c afskrb5.c common.c \
++	afslib.c dlfcn.c kafs_locl.h afssysdefs.h resolve.c strtok_r.c \
++	strlcpy.c strsep.c
++@KRB4_TRUE@am__objects_1 = afskrb.lo
++@KRB5_TRUE@am__objects_2 = afskrb5.lo
++@AIX_FALSE@am__objects_3 =
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@am__objects_3 = afslib.lo
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@am__objects_3 =
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@am__objects_3 = \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@	dlfcn.lo
++@do_roken_rename_TRUE@am__objects_4 = resolve.lo strtok_r.lo strlcpy.lo \
++@do_roken_rename_TRUE@	strsep.lo
++am_libkafs_la_OBJECTS = afssys.lo $(am__objects_1) $(am__objects_2) \
++	common.lo $(am__objects_3) $(am__objects_4)
++libkafs_la_OBJECTS = $(am_libkafs_la_OBJECTS)
++
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
++depcomp =
++am__depfiles_maybe =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++CCLD = $(CC)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++DIST_SOURCES = $(am__libkafs_la_SOURCES_DIST) \
++	$(EXTRA_libkafs_la_SOURCES)
++MANS = $(man_MANS)
++DATA = $(foo_DATA)
++
++HEADERS = $(include_HEADERS)
++
++DIST_COMMON = $(include_HEADERS) $(srcdir)/Makefile.in \
++	$(top_srcdir)/Makefile.am.common \
++	$(top_srcdir)/cf/Makefile.am.common ChangeLog Makefile.am
++SOURCES = $(libkafs_la_SOURCES) $(EXTRA_libkafs_la_SOURCES)
++
+ all: all-am
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj
+-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(am__configure_deps)
+-	@for dep in $?; do \
+-	  case '$(am__configure_deps)' in \
+-	    *$$dep*) \
+-	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+-		&& exit 0; \
+-	      exit 1;; \
+-	  esac; \
+-	done; \
+-	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  --ignore-deps lib/kafs/Makefile'; \
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+-	  $(AUTOMAKE) --foreign  --ignore-deps lib/kafs/Makefile
+-.PRECIOUS: Makefile
+-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+-	@case '$?' in \
+-	  *config.status*) \
+-	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+-	  *) \
+-	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+-	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+-	esac;
+-
+-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-
+-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
++	  $(AUTOMAKE) --foreign  lib/kafs/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
++libLTLIBRARIES_INSTALL = $(INSTALL)
+ install-libLTLIBRARIES: $(lib_LTLIBRARIES)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)"
++	$(mkinstalldirs) $(DESTDIR)$(libdir)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+ 	  if test -f $$p; then \
+ 	    f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	    echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
+-	    $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
++	    echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$f"; \
++	    $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+@@ -470,8 +447,8 @@
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+ 	    p="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \
+-	  $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \
++	  echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
++	  $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
+ 	done
+ 
+ clean-libLTLIBRARIES:
+@@ -486,19 +463,19 @@
+ 	$(LINK) -rpath $(libdir) $(libkafs_la_LDFLAGS) $(libkafs_la_OBJECTS) $(libkafs_la_LIBADD) $(LIBS)
+ 
+ mostlyclean-compile:
+-	-rm -f *.$(OBJEXT)
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ .c.obj:
+-	$(COMPILE) -c `$(CYGPATH_W) '$<'`
++	$(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
+ 
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ mostlyclean-libtool:
+ 	-rm -f *.lo
+@@ -509,9 +486,11 @@
+ distclean-libtool:
+ 	-rm -f libtool
+ uninstall-info-am:
++
++man3dir = $(mandir)/man3
+ install-man3: $(man3_MANS) $(man_MANS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(man3dir)" || $(mkdir_p) "$(DESTDIR)$(man3dir)"
++	$(mkinstalldirs) $(DESTDIR)$(man3dir)
+ 	@list='$(man3_MANS) $(dist_man3_MANS) $(nodist_man3_MANS)'; \
+ 	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
+ 	for i in $$l2; do \
+@@ -530,8 +509,8 @@
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+-	  echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man3dir)/$$inst'"; \
+-	  $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man3dir)/$$inst"; \
++	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man3dir)/$$inst"; \
++	  $(INSTALL_DATA) $$file $(DESTDIR)$(man3dir)/$$inst; \
+ 	done
+ uninstall-man3:
+ 	@$(NORMAL_UNINSTALL)
+@@ -551,44 +530,54 @@
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+-	  echo " rm -f '$(DESTDIR)$(man3dir)/$$inst'"; \
+-	  rm -f "$(DESTDIR)$(man3dir)/$$inst"; \
++	  echo " rm -f $(DESTDIR)$(man3dir)/$$inst"; \
++	  rm -f $(DESTDIR)$(man3dir)/$$inst; \
+ 	done
++fooDATA_INSTALL = $(INSTALL_DATA)
+ install-fooDATA: $(foo_DATA)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(foodir)" || $(mkdir_p) "$(DESTDIR)$(foodir)"
++	$(mkinstalldirs) $(DESTDIR)$(foodir)
+ 	@list='$(foo_DATA)'; for p in $$list; do \
+ 	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " $(fooDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(foodir)/$$f'"; \
+-	  $(fooDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(foodir)/$$f"; \
++	  echo " $(fooDATA_INSTALL) $$d$$p $(DESTDIR)$(foodir)/$$f"; \
++	  $(fooDATA_INSTALL) $$d$$p $(DESTDIR)$(foodir)/$$f; \
+ 	done
+ 
+ uninstall-fooDATA:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(foo_DATA)'; for p in $$list; do \
+ 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " rm -f '$(DESTDIR)$(foodir)/$$f'"; \
+-	  rm -f "$(DESTDIR)$(foodir)/$$f"; \
++	  echo " rm -f $(DESTDIR)$(foodir)/$$f"; \
++	  rm -f $(DESTDIR)$(foodir)/$$f; \
+ 	done
++includeHEADERS_INSTALL = $(INSTALL_HEADER)
+ install-includeHEADERS: $(include_HEADERS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(includedir)" || $(mkdir_p) "$(DESTDIR)$(includedir)"
++	$(mkinstalldirs) $(DESTDIR)$(includedir)
+ 	@list='$(include_HEADERS)'; for p in $$list; do \
+ 	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " $(includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(includedir)/$$f'"; \
+-	  $(includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(includedir)/$$f"; \
++	  echo " $(includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
++	  $(includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(includedir)/$$f; \
+ 	done
+ 
+ uninstall-includeHEADERS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(include_HEADERS)'; for p in $$list; do \
+ 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " rm -f '$(DESTDIR)$(includedir)/$$f'"; \
+-	  rm -f "$(DESTDIR)$(includedir)/$$f"; \
++	  echo " rm -f $(DESTDIR)$(includedir)/$$f"; \
++	  rm -f $(DESTDIR)$(includedir)/$$f; \
+ 	done
+ 
++ETAGS = etags
++ETAGSFLAGS =
++
++CTAGS = ctags
++CTAGSFLAGS =
++
++tags: TAGS
++
+ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ 	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ 	unique=`for i in $$list; do \
+@@ -597,7 +586,6 @@
+ 	  $(AWK) '    { files[$$0] = 1; } \
+ 	       END { for (i in files) print i; }'`; \
+ 	mkid -fID $$unique
+-tags: TAGS
+ 
+ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -612,6 +600,7 @@
+ 	test -z "$(ETAGS_ARGS)$$tags$$unique" \
+ 	  || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ 	     $$tags $$unique
++
+ ctags: CTAGS
+ CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -634,9 +623,13 @@
+ 
+ distclean-tags:
+ 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	$(mkdir_p) $(distdir)/../.. $(distdir)/../../cf
++	$(mkinstalldirs) $(distdir)/../.. $(distdir)/../../cf
+ 	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ 	list='$(DISTFILES)'; for file in $$list; do \
+@@ -648,7 +641,7 @@
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ 	    dir="/$$dir"; \
+-	    $(mkdir_p) "$(distdir)$$dir"; \
++	    $(mkinstalldirs) "$(distdir)$$dir"; \
+ 	  else \
+ 	    dir=''; \
+ 	  fi; \
+@@ -670,10 +663,9 @@
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+ all-am: Makefile $(LTLIBRARIES) $(MANS) $(DATA) $(HEADERS) all-local
++
+ installdirs:
+-	for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(man3dir)" "$(DESTDIR)$(foodir)" "$(DESTDIR)$(includedir)"; do \
+-	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
+-	done
++	$(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(man3dir) $(DESTDIR)$(foodir) $(DESTDIR)$(includedir)
+ install: install-am
+ install-exec: install-exec-am
+ install-data: install-data-am
+@@ -713,8 +705,6 @@
+ 
+ dvi-am:
+ 
+-html: html-am
+-
+ info: info-am
+ 
+ info-am:
+@@ -757,18 +747,18 @@
+ 
+ .PHONY: CTAGS GTAGS all all-am all-local check check-am check-local \
+ 	clean clean-generic clean-libLTLIBRARIES clean-libtool ctags \
+-	distclean distclean-compile distclean-generic \
+-	distclean-libtool distclean-tags distdir dvi dvi-am html \
+-	html-am info info-am install install-am install-data \
+-	install-data-am install-exec install-exec-am install-fooDATA \
+-	install-includeHEADERS install-info install-info-am \
+-	install-libLTLIBRARIES install-man install-man3 install-strip \
+-	installcheck installcheck-am installdirs maintainer-clean \
+-	maintainer-clean-generic mostlyclean mostlyclean-compile \
+-	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+-	tags uninstall uninstall-am uninstall-fooDATA \
+-	uninstall-includeHEADERS uninstall-info-am \
+-	uninstall-libLTLIBRARIES uninstall-man uninstall-man3
++	distclean distclean-compile distclean-generic distclean-libtool \
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-data install-data-am install-exec \
++	install-exec-am install-fooDATA install-includeHEADERS \
++	install-info install-info-am install-libLTLIBRARIES install-man \
++	install-man3 install-strip installcheck installcheck-am \
++	installdirs maintainer-clean maintainer-clean-generic \
++	mostlyclean mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
++	uninstall-am uninstall-fooDATA uninstall-includeHEADERS \
++	uninstall-info-am uninstall-libLTLIBRARIES uninstall-man \
++	uninstall-man3
+ 
+ 
+ install-suid-programs:
+diff -ruN heimdal-0.6.3-old/lib/kdfs/Makefile.in heimdal-0.6.3/lib/kdfs/Makefile.in
+--- heimdal-0.6.3-old/lib/kdfs/Makefile.in	2004-09-13 22:29:31.000000000 +1000
++++ heimdal-0.6.3/lib/kdfs/Makefile.in	2004-09-14 08:40:01.000000000 +1000
+@@ -1,8 +1,8 @@
+-# Makefile.in generated by automake 1.8.3 from Makefile.am.
++# Makefile.in generated by automake 1.7.9 from Makefile.am.
+ # @configure_input@
+ 
+-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+-# 2003, 2004  Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
++# 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.
+@@ -20,8 +20,6 @@
+ 
+ # $Id: Makefile.am.common,v 1.37.2.2 2003/10/13 13:15:39 joda Exp $
+ 
+-SOURCES = $(libkdfs_la_SOURCES)
+-
+ srcdir = @srcdir@
+ top_srcdir = @top_srcdir@
+ VPATH = @srcdir@
+@@ -29,6 +27,7 @@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+ top_builddir = ../..
++
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+ INSTALL = @INSTALL@
+ install_sh_DATA = $(install_sh) -c -m 644
+@@ -43,76 +42,6 @@
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+ host_triplet = @host@
+-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+-	$(top_srcdir)/Makefile.am.common \
+-	$(top_srcdir)/cf/Makefile.am.common ChangeLog
+-subdir = lib/kdfs
+-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+-am__aclocal_m4_deps = $(top_srcdir)/cf/aix.m4 \
+-	$(top_srcdir)/cf/auth-modules.m4 \
+-	$(top_srcdir)/cf/broken-getaddrinfo.m4 \
+-	$(top_srcdir)/cf/broken-getnameinfo.m4 \
+-	$(top_srcdir)/cf/broken-glob.m4 \
+-	$(top_srcdir)/cf/broken-realloc.m4 \
+-	$(top_srcdir)/cf/broken-snprintf.m4 $(top_srcdir)/cf/broken.m4 \
+-	$(top_srcdir)/cf/broken2.m4 $(top_srcdir)/cf/c-attribute.m4 \
+-	$(top_srcdir)/cf/capabilities.m4 \
+-	$(top_srcdir)/cf/check-compile-et.m4 \
+-	$(top_srcdir)/cf/check-declaration.m4 \
+-	$(top_srcdir)/cf/check-getpwnam_r-posix.m4 \
+-	$(top_srcdir)/cf/check-man.m4 \
+-	$(top_srcdir)/cf/check-netinet-ip-and-tcp.m4 \
+-	$(top_srcdir)/cf/check-type-extra.m4 \
+-	$(top_srcdir)/cf/check-var.m4 $(top_srcdir)/cf/check-x.m4 \
+-	$(top_srcdir)/cf/check-xau.m4 $(top_srcdir)/cf/crypto.m4 \
+-	$(top_srcdir)/cf/db.m4 $(top_srcdir)/cf/destdirs.m4 \
+-	$(top_srcdir)/cf/dlopen.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs2.m4 \
+-	$(top_srcdir)/cf/find-func.m4 \
+-	$(top_srcdir)/cf/find-if-not-broken.m4 \
+-	$(top_srcdir)/cf/have-struct-field.m4 \
+-	$(top_srcdir)/cf/have-type.m4 $(top_srcdir)/cf/irix.m4 \
+-	$(top_srcdir)/cf/krb-bigendian.m4 \
+-	$(top_srcdir)/cf/krb-func-getlogin.m4 \
+-	$(top_srcdir)/cf/krb-ipv6.m4 $(top_srcdir)/cf/krb-prog-ln-s.m4 \
+-	$(top_srcdir)/cf/krb-readline.m4 \
+-	$(top_srcdir)/cf/krb-struct-spwd.m4 \
+-	$(top_srcdir)/cf/krb-struct-winsize.m4 \
+-	$(top_srcdir)/cf/mips-abi.m4 $(top_srcdir)/cf/misc.m4 \
+-	$(top_srcdir)/cf/need-proto.m4 $(top_srcdir)/cf/osfc2.m4 \
+-	$(top_srcdir)/cf/otp.m4 $(top_srcdir)/cf/proto-compat.m4 \
+-	$(top_srcdir)/cf/retsigtype.m4 $(top_srcdir)/cf/roken-frag.m4 \
+-	$(top_srcdir)/cf/sunos.m4 $(top_srcdir)/cf/telnet.m4 \
+-	$(top_srcdir)/cf/test-package.m4 $(top_srcdir)/cf/wflags.m4 \
+-	$(top_srcdir)/cf/with-all.m4 $(top_srcdir)/configure.in
+-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+-	$(ACLOCAL_M4)
+-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = $(top_builddir)/include/config.h
+-CONFIG_CLEAN_FILES =
+-am__installdirs = "$(DESTDIR)$(libdir)"
+-libLTLIBRARIES_INSTALL = $(INSTALL)
+-LTLIBRARIES = $(lib_LTLIBRARIES)
+-libkdfs_la_LIBADD =
+-am_libkdfs_la_OBJECTS = k5dfspag.lo
+-libkdfs_la_OBJECTS = $(am_libkdfs_la_OBJECTS)
+-DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
+-depcomp =
+-am__depfiles_maybe =
+-COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+-	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) \
+-	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+-	$(AM_CFLAGS) $(CFLAGS)
+-CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+-	$(AM_LDFLAGS) $(LDFLAGS) -o $@
+-SOURCES = $(libkdfs_la_SOURCES)
+-DIST_SOURCES = $(libkdfs_la_SOURCES)
+-ETAGS = etags
+-CTAGS = ctags
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ ACLOCAL = @ACLOCAL@
+ AIX4_FALSE = @AIX4_FALSE@
+ AIX4_TRUE = @AIX4_TRUE@
+@@ -137,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -147,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -170,12 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
++
+ INCLUDE_krb4 = @INCLUDE_krb4@
++
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
++
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -188,6 +130,7 @@
+ KRB5_TRUE = @KRB5_TRUE@
+ LDFLAGS = @LDFLAGS@
+ LEX = @LEX@
++
+ LEXLIB = @LEXLIB@
+ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+ LIBOBJS = @LIBOBJS@
+@@ -196,6 +139,7 @@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+ LIB_XauFileName = @LIB_XauFileName@
++
+ LIB_XauReadAuth = @LIB_XauReadAuth@
+ LIB_XauWriteAuth = @LIB_XauWriteAuth@
+ LIB_bswap16 = @LIB_bswap16@
+@@ -244,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -324,7 +270,6 @@
+ libexecdir = @libexecdir@
+ localstatedir = @localstatedir@
+ mandir = @mandir@
+-mkdir_p = @mkdir_p@
+ oldincludedir = @oldincludedir@
+ prefix = @prefix@
+ program_transform_name = @program_transform_name@
+@@ -332,71 +277,91 @@
+ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
++
+ SUFFIXES = .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8
++
+ INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken)
++
+ @do_roken_rename_TRUE@ROKEN_RENAME = -DROKEN_RENAME
++
+ AM_CFLAGS = $(WFLAGS)
++
+ CP = cp
++
+ buildinclude = $(top_builddir)/include
+ LIB_getattr = @LIB_getattr@
+ LIB_getpwent_r = @LIB_getpwent_r@
+ LIB_odm_initialize = @LIB_odm_initialize@
+ LIB_setpcred = @LIB_setpcred@
++
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
++
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
++
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++
+ @KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
+ @KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+ 
+ @KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
++
+ @DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
++
+ lib_LTLIBRARIES = libkdfs.la
++
+ libkdfs_la_SOURCES = \
+ 	k5dfspag.c
+ 
++
+ libkdfs_la_LDFLAGS = -version-info 0:2:0
++subdir = lib/kdfs
++ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
++mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++LTLIBRARIES = $(lib_LTLIBRARIES)
++
++libkdfs_la_LIBADD =
++am_libkdfs_la_OBJECTS = k5dfspag.lo
++libkdfs_la_OBJECTS = $(am_libkdfs_la_OBJECTS)
++
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
++depcomp =
++am__depfiles_maybe =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++CCLD = $(CC)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++DIST_SOURCES = $(libkdfs_la_SOURCES)
++DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/Makefile.am.common \
++	$(top_srcdir)/cf/Makefile.am.common ChangeLog Makefile.am
++SOURCES = $(libkdfs_la_SOURCES)
++
+ all: all-am
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj
+-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(am__configure_deps)
+-	@for dep in $?; do \
+-	  case '$(am__configure_deps)' in \
+-	    *$$dep*) \
+-	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+-		&& exit 0; \
+-	      exit 1;; \
+-	  esac; \
+-	done; \
+-	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  --ignore-deps lib/kdfs/Makefile'; \
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+-	  $(AUTOMAKE) --foreign  --ignore-deps lib/kdfs/Makefile
+-.PRECIOUS: Makefile
+-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+-	@case '$?' in \
+-	  *config.status*) \
+-	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+-	  *) \
+-	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+-	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+-	esac;
+-
+-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-
+-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
++	  $(AUTOMAKE) --foreign  lib/kdfs/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
++libLTLIBRARIES_INSTALL = $(INSTALL)
+ install-libLTLIBRARIES: $(lib_LTLIBRARIES)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)"
++	$(mkinstalldirs) $(DESTDIR)$(libdir)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+ 	  if test -f $$p; then \
+ 	    f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	    echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
+-	    $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
++	    echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$f"; \
++	    $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+@@ -404,8 +369,8 @@
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+ 	    p="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \
+-	  $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \
++	  echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
++	  $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
+ 	done
+ 
+ clean-libLTLIBRARIES:
+@@ -420,19 +385,19 @@
+ 	$(LINK) -rpath $(libdir) $(libkdfs_la_LDFLAGS) $(libkdfs_la_OBJECTS) $(libkdfs_la_LIBADD) $(LIBS)
+ 
+ mostlyclean-compile:
+-	-rm -f *.$(OBJEXT)
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ .c.obj:
+-	$(COMPILE) -c `$(CYGPATH_W) '$<'`
++	$(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
+ 
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ mostlyclean-libtool:
+ 	-rm -f *.lo
+@@ -444,6 +409,14 @@
+ 	-rm -f libtool
+ uninstall-info-am:
+ 
++ETAGS = etags
++ETAGSFLAGS =
++
++CTAGS = ctags
++CTAGSFLAGS =
++
++tags: TAGS
++
+ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ 	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ 	unique=`for i in $$list; do \
+@@ -452,7 +425,6 @@
+ 	  $(AWK) '    { files[$$0] = 1; } \
+ 	       END { for (i in files) print i; }'`; \
+ 	mkid -fID $$unique
+-tags: TAGS
+ 
+ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -467,6 +439,7 @@
+ 	test -z "$(ETAGS_ARGS)$$tags$$unique" \
+ 	  || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ 	     $$tags $$unique
++
+ ctags: CTAGS
+ CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -489,9 +462,13 @@
+ 
+ distclean-tags:
+ 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	$(mkdir_p) $(distdir)/../.. $(distdir)/../../cf
++	$(mkinstalldirs) $(distdir)/../.. $(distdir)/../../cf
+ 	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ 	list='$(DISTFILES)'; for file in $$list; do \
+@@ -503,7 +480,7 @@
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ 	    dir="/$$dir"; \
+-	    $(mkdir_p) "$(distdir)$$dir"; \
++	    $(mkinstalldirs) "$(distdir)$$dir"; \
+ 	  else \
+ 	    dir=''; \
+ 	  fi; \
+@@ -525,10 +502,9 @@
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+ all-am: Makefile $(LTLIBRARIES) all-local
++
+ installdirs:
+-	for dir in "$(DESTDIR)$(libdir)"; do \
+-	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
+-	done
++	$(mkinstalldirs) $(DESTDIR)$(libdir)
+ install: install-am
+ install-exec: install-exec-am
+ install-data: install-data-am
+@@ -567,8 +543,6 @@
+ 
+ dvi-am:
+ 
+-html: html-am
+-
+ info: info-am
+ 
+ info-am:
+@@ -608,16 +582,16 @@
+ 
+ .PHONY: CTAGS GTAGS all all-am all-local check check-am check-local \
+ 	clean clean-generic clean-libLTLIBRARIES clean-libtool ctags \
+-	distclean distclean-compile distclean-generic \
+-	distclean-libtool distclean-tags distdir dvi dvi-am html \
+-	html-am info info-am install install-am install-data \
+-	install-data-am install-exec install-exec-am install-info \
+-	install-info-am install-libLTLIBRARIES install-man \
+-	install-strip installcheck installcheck-am installdirs \
+-	maintainer-clean maintainer-clean-generic mostlyclean \
+-	mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
+-	pdf pdf-am ps ps-am tags uninstall uninstall-am \
+-	uninstall-info-am uninstall-libLTLIBRARIES
++	distclean distclean-compile distclean-generic distclean-libtool \
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-data install-data-am install-exec \
++	install-exec-am install-info install-info-am \
++	install-libLTLIBRARIES install-man install-strip installcheck \
++	installcheck-am installdirs maintainer-clean \
++	maintainer-clean-generic mostlyclean mostlyclean-compile \
++	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
++	tags uninstall uninstall-am uninstall-info-am \
++	uninstall-libLTLIBRARIES
+ 
+ 
+ install-suid-programs:
+diff -ruN heimdal-0.6.3-old/lib/krb5/Makefile.in heimdal-0.6.3/lib/krb5/Makefile.in
+--- heimdal-0.6.3-old/lib/krb5/Makefile.in	2004-09-13 22:29:32.000000000 +1000
++++ heimdal-0.6.3/lib/krb5/Makefile.in	2004-09-14 08:40:01.000000000 +1000
+@@ -1,8 +1,8 @@
+-# Makefile.in generated by automake 1.8.3 from Makefile.am.
++# Makefile.in generated by automake 1.7.9 from Makefile.am.
+ # @configure_input@
+ 
+-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+-# 2003, 2004  Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
++# 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.
+@@ -20,10 +20,6 @@
+ 
+ # $Id: Makefile.am.common,v 1.37.2.2 2003/10/13 13:15:39 joda Exp $
+ 
+-
+-
+-SOURCES = $(libkrb5_la_SOURCES) aes-test.c derived-key-test.c dump_config.c krbhst-test.c n-fold-test.c name-45-test.c parse-name-test.c store-test.c string-to-key-test.c test_alname.c test_cc.c test_get_addrs.c verify_krb5_conf.c
+-
+ srcdir = @srcdir@
+ top_srcdir = @top_srcdir@
+ VPATH = @srcdir@
+@@ -31,6 +27,7 @@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+ top_builddir = ../..
++
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+ INSTALL = @INSTALL@
+ install_sh_DATA = $(install_sh) -c -m 644
+@@ -45,190 +42,6 @@
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+ host_triplet = @host@
+-DIST_COMMON = $(include_HEADERS) $(srcdir)/Makefile.am \
+-	$(srcdir)/Makefile.in $(top_srcdir)/Makefile.am.common \
+-	$(top_srcdir)/cf/Makefile.am.common
+-bin_PROGRAMS = verify_krb5_conf$(EXEEXT)
+-noinst_PROGRAMS = dump_config$(EXEEXT) test_get_addrs$(EXEEXT) \
+-	krbhst-test$(EXEEXT) test_alname$(EXEEXT)
+-check_PROGRAMS = $(am__EXEEXT_1)
+-subdir = lib/krb5
+-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+-am__aclocal_m4_deps = $(top_srcdir)/cf/aix.m4 \
+-	$(top_srcdir)/cf/auth-modules.m4 \
+-	$(top_srcdir)/cf/broken-getaddrinfo.m4 \
+-	$(top_srcdir)/cf/broken-getnameinfo.m4 \
+-	$(top_srcdir)/cf/broken-glob.m4 \
+-	$(top_srcdir)/cf/broken-realloc.m4 \
+-	$(top_srcdir)/cf/broken-snprintf.m4 $(top_srcdir)/cf/broken.m4 \
+-	$(top_srcdir)/cf/broken2.m4 $(top_srcdir)/cf/c-attribute.m4 \
+-	$(top_srcdir)/cf/capabilities.m4 \
+-	$(top_srcdir)/cf/check-compile-et.m4 \
+-	$(top_srcdir)/cf/check-declaration.m4 \
+-	$(top_srcdir)/cf/check-getpwnam_r-posix.m4 \
+-	$(top_srcdir)/cf/check-man.m4 \
+-	$(top_srcdir)/cf/check-netinet-ip-and-tcp.m4 \
+-	$(top_srcdir)/cf/check-type-extra.m4 \
+-	$(top_srcdir)/cf/check-var.m4 $(top_srcdir)/cf/check-x.m4 \
+-	$(top_srcdir)/cf/check-xau.m4 $(top_srcdir)/cf/crypto.m4 \
+-	$(top_srcdir)/cf/db.m4 $(top_srcdir)/cf/destdirs.m4 \
+-	$(top_srcdir)/cf/dlopen.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs2.m4 \
+-	$(top_srcdir)/cf/find-func.m4 \
+-	$(top_srcdir)/cf/find-if-not-broken.m4 \
+-	$(top_srcdir)/cf/have-struct-field.m4 \
+-	$(top_srcdir)/cf/have-type.m4 $(top_srcdir)/cf/irix.m4 \
+-	$(top_srcdir)/cf/krb-bigendian.m4 \
+-	$(top_srcdir)/cf/krb-func-getlogin.m4 \
+-	$(top_srcdir)/cf/krb-ipv6.m4 $(top_srcdir)/cf/krb-prog-ln-s.m4 \
+-	$(top_srcdir)/cf/krb-readline.m4 \
+-	$(top_srcdir)/cf/krb-struct-spwd.m4 \
+-	$(top_srcdir)/cf/krb-struct-winsize.m4 \
+-	$(top_srcdir)/cf/mips-abi.m4 $(top_srcdir)/cf/misc.m4 \
+-	$(top_srcdir)/cf/need-proto.m4 $(top_srcdir)/cf/osfc2.m4 \
+-	$(top_srcdir)/cf/otp.m4 $(top_srcdir)/cf/proto-compat.m4 \
+-	$(top_srcdir)/cf/retsigtype.m4 $(top_srcdir)/cf/roken-frag.m4 \
+-	$(top_srcdir)/cf/sunos.m4 $(top_srcdir)/cf/telnet.m4 \
+-	$(top_srcdir)/cf/test-package.m4 $(top_srcdir)/cf/wflags.m4 \
+-	$(top_srcdir)/cf/with-all.m4 $(top_srcdir)/configure.in
+-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+-	$(ACLOCAL_M4)
+-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = $(top_builddir)/include/config.h
+-CONFIG_CLEAN_FILES =
+-am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man3dir)" "$(DESTDIR)$(man5dir)" "$(DESTDIR)$(man8dir)" "$(DESTDIR)$(includedir)"
+-libLTLIBRARIES_INSTALL = $(INSTALL)
+-LTLIBRARIES = $(lib_LTLIBRARIES)
+-am__DEPENDENCIES_1 =
+-libkrb5_la_DEPENDENCIES = ../com_err/error.lo ../com_err/com_err.lo \
+-	$(am__DEPENDENCIES_1) $(top_builddir)/lib/asn1/libasn1.la \
+-	$(am__DEPENDENCIES_1)
+-am__objects_1 = krb5_err.lo heim_err.lo k524_err.lo
+-am_libkrb5_la_OBJECTS = acl.lo add_et_list.lo addr_families.lo \
+-	aname_to_localname.lo appdefault.lo asn1_glue.lo \
+-	auth_context.lo build_ap_req.lo build_auth.lo cache.lo \
+-	changepw.lo codec.lo config_file.lo config_file_netinfo.lo \
+-	convert_creds.lo constants.lo context.lo copy_host_realm.lo \
+-	crc.lo creds.lo crypto.lo data.lo eai_to_heim_errno.lo \
+-	error_string.lo expand_hostname.lo fcache.lo free.lo \
+-	free_host_realm.lo generate_seq_number.lo generate_subkey.lo \
+-	get_addrs.lo get_cred.lo get_default_principal.lo \
+-	get_default_realm.lo get_for_creds.lo get_host_realm.lo \
+-	get_in_tkt.lo get_in_tkt_pw.lo get_in_tkt_with_keytab.lo \
+-	get_in_tkt_with_skey.lo get_port.lo init_creds.lo \
+-	init_creds_pw.lo keyblock.lo keytab.lo keytab_any.lo \
+-	keytab_file.lo keytab_memory.lo keytab_keyfile.lo \
+-	keytab_krb4.lo krbhst.lo kuserok.lo log.lo mcache.lo misc.lo \
+-	mk_error.lo mk_priv.lo mk_rep.lo mk_req.lo mk_req_ext.lo \
+-	mk_safe.lo net_read.lo net_write.lo n-fold.lo padata.lo \
+-	principal.lo prog_setup.lo prompter_posix.lo rd_cred.lo \
+-	rd_error.lo rd_priv.lo rd_rep.lo rd_req.lo rd_safe.lo \
+-	read_message.lo recvauth.lo replay.lo send_to_kdc.lo \
+-	sendauth.lo set_default_realm.lo sock_principal.lo store.lo \
+-	store_emem.lo store_fd.lo store_mem.lo ticket.lo time.lo \
+-	transited.lo verify_init.lo verify_user.lo version.lo warn.lo \
+-	write_message.lo $(am__objects_1)
+-libkrb5_la_OBJECTS = $(am_libkrb5_la_OBJECTS)
+-binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+-am__EXEEXT_1 = aes-test$(EXEEXT) n-fold-test$(EXEEXT) \
+-	string-to-key-test$(EXEEXT) derived-key-test$(EXEEXT) \
+-	store-test$(EXEEXT) parse-name-test$(EXEEXT) test_cc$(EXEEXT) \
+-	name-45-test$(EXEEXT)
+-PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS)
+-aes_test_SOURCES = aes-test.c
+-aes_test_OBJECTS = aes-test.$(OBJEXT)
+-aes_test_LDADD = $(LDADD)
+-aes_test_DEPENDENCIES = libkrb5.la $(am__DEPENDENCIES_1) \
+-	$(top_builddir)/lib/asn1/libasn1.la $(am__DEPENDENCIES_1)
+-derived_key_test_SOURCES = derived-key-test.c
+-derived_key_test_OBJECTS = derived-key-test.$(OBJEXT)
+-derived_key_test_LDADD = $(LDADD)
+-derived_key_test_DEPENDENCIES = libkrb5.la $(am__DEPENDENCIES_1) \
+-	$(top_builddir)/lib/asn1/libasn1.la $(am__DEPENDENCIES_1)
+-dump_config_SOURCES = dump_config.c
+-dump_config_OBJECTS = dump_config.$(OBJEXT)
+-dump_config_LDADD = $(LDADD)
+-dump_config_DEPENDENCIES = libkrb5.la $(am__DEPENDENCIES_1) \
+-	$(top_builddir)/lib/asn1/libasn1.la $(am__DEPENDENCIES_1)
+-krbhst_test_SOURCES = krbhst-test.c
+-krbhst_test_OBJECTS = krbhst-test.$(OBJEXT)
+-krbhst_test_LDADD = $(LDADD)
+-krbhst_test_DEPENDENCIES = libkrb5.la $(am__DEPENDENCIES_1) \
+-	$(top_builddir)/lib/asn1/libasn1.la $(am__DEPENDENCIES_1)
+-n_fold_test_SOURCES = n-fold-test.c
+-n_fold_test_OBJECTS = n-fold-test.$(OBJEXT)
+-n_fold_test_LDADD = $(LDADD)
+-n_fold_test_DEPENDENCIES = libkrb5.la $(am__DEPENDENCIES_1) \
+-	$(top_builddir)/lib/asn1/libasn1.la $(am__DEPENDENCIES_1)
+-name_45_test_SOURCES = name-45-test.c
+-name_45_test_OBJECTS = name-45-test.$(OBJEXT)
+-name_45_test_LDADD = $(LDADD)
+-name_45_test_DEPENDENCIES = libkrb5.la $(am__DEPENDENCIES_1) \
+-	$(top_builddir)/lib/asn1/libasn1.la $(am__DEPENDENCIES_1)
+-parse_name_test_SOURCES = parse-name-test.c
+-parse_name_test_OBJECTS = parse-name-test.$(OBJEXT)
+-parse_name_test_LDADD = $(LDADD)
+-parse_name_test_DEPENDENCIES = libkrb5.la $(am__DEPENDENCIES_1) \
+-	$(top_builddir)/lib/asn1/libasn1.la $(am__DEPENDENCIES_1)
+-store_test_SOURCES = store-test.c
+-store_test_OBJECTS = store-test.$(OBJEXT)
+-store_test_LDADD = $(LDADD)
+-store_test_DEPENDENCIES = libkrb5.la $(am__DEPENDENCIES_1) \
+-	$(top_builddir)/lib/asn1/libasn1.la $(am__DEPENDENCIES_1)
+-string_to_key_test_SOURCES = string-to-key-test.c
+-string_to_key_test_OBJECTS = string-to-key-test.$(OBJEXT)
+-string_to_key_test_LDADD = $(LDADD)
+-string_to_key_test_DEPENDENCIES = libkrb5.la $(am__DEPENDENCIES_1) \
+-	$(top_builddir)/lib/asn1/libasn1.la $(am__DEPENDENCIES_1)
+-test_alname_SOURCES = test_alname.c
+-test_alname_OBJECTS = test_alname.$(OBJEXT)
+-test_alname_LDADD = $(LDADD)
+-test_alname_DEPENDENCIES = libkrb5.la $(am__DEPENDENCIES_1) \
+-	$(top_builddir)/lib/asn1/libasn1.la $(am__DEPENDENCIES_1)
+-test_cc_SOURCES = test_cc.c
+-test_cc_OBJECTS = test_cc.$(OBJEXT)
+-test_cc_LDADD = $(LDADD)
+-test_cc_DEPENDENCIES = libkrb5.la $(am__DEPENDENCIES_1) \
+-	$(top_builddir)/lib/asn1/libasn1.la $(am__DEPENDENCIES_1)
+-test_get_addrs_SOURCES = test_get_addrs.c
+-test_get_addrs_OBJECTS = test_get_addrs.$(OBJEXT)
+-test_get_addrs_LDADD = $(LDADD)
+-test_get_addrs_DEPENDENCIES = libkrb5.la $(am__DEPENDENCIES_1) \
+-	$(top_builddir)/lib/asn1/libasn1.la $(am__DEPENDENCIES_1)
+-verify_krb5_conf_SOURCES = verify_krb5_conf.c
+-verify_krb5_conf_OBJECTS = verify_krb5_conf.$(OBJEXT)
+-verify_krb5_conf_LDADD = $(LDADD)
+-verify_krb5_conf_DEPENDENCIES = libkrb5.la $(am__DEPENDENCIES_1) \
+-	$(top_builddir)/lib/asn1/libasn1.la $(am__DEPENDENCIES_1)
+-DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
+-depcomp =
+-am__depfiles_maybe =
+-COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+-	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) \
+-	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+-	$(AM_CFLAGS) $(CFLAGS)
+-CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+-	$(AM_LDFLAGS) $(LDFLAGS) -o $@
+-SOURCES = $(libkrb5_la_SOURCES) aes-test.c derived-key-test.c \
+-	dump_config.c krbhst-test.c n-fold-test.c name-45-test.c \
+-	parse-name-test.c store-test.c string-to-key-test.c \
+-	test_alname.c test_cc.c test_get_addrs.c verify_krb5_conf.c
+-DIST_SOURCES = $(libkrb5_la_SOURCES) aes-test.c derived-key-test.c \
+-	dump_config.c krbhst-test.c n-fold-test.c name-45-test.c \
+-	parse-name-test.c store-test.c string-to-key-test.c \
+-	test_alname.c test_cc.c test_get_addrs.c verify_krb5_conf.c
+-man3dir = $(mandir)/man3
+-man5dir = $(mandir)/man5
+-man8dir = $(mandir)/man8
+-MANS = $(man_MANS)
+-includeHEADERS_INSTALL = $(INSTALL_HEADER)
+-HEADERS = $(include_HEADERS)
+-ETAGS = etags
+-CTAGS = ctags
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ ACLOCAL = @ACLOCAL@
+ AIX4_FALSE = @AIX4_FALSE@
+ AIX4_TRUE = @AIX4_TRUE@
+@@ -253,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -263,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -286,12 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
++
+ INCLUDE_krb4 = @INCLUDE_krb4@
++
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
++
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -304,6 +130,7 @@
+ KRB5_TRUE = @KRB5_TRUE@
+ LDFLAGS = @LDFLAGS@
+ LEX = @LEX@
++
+ LEXLIB = @LEXLIB@
+ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+ LIBOBJS = @LIBOBJS@
+@@ -312,6 +139,7 @@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+ LIB_XauFileName = @LIB_XauFileName@
++
+ LIB_XauReadAuth = @LIB_XauReadAuth@
+ LIB_XauWriteAuth = @LIB_XauWriteAuth@
+ LIB_bswap16 = @LIB_bswap16@
+@@ -360,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -440,7 +270,6 @@
+ libexecdir = @libexecdir@
+ localstatedir = @localstatedir@
+ mandir = @mandir@
+-mkdir_p = @mkdir_p@
+ oldincludedir = @oldincludedir@
+ prefix = @prefix@
+ program_transform_name = @program_transform_name@
+@@ -448,25 +277,44 @@
+ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
++
+ SUFFIXES = .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8
++
+ INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) $(INCLUDE_krb4) $(INCLUDE_des) -I../com_err -I$(srcdir)/../com_err
++
+ @do_roken_rename_TRUE@ROKEN_RENAME = -DROKEN_RENAME
++
+ AM_CFLAGS = $(WFLAGS)
++
+ CP = cp
++
+ buildinclude = $(top_builddir)/include
+ LIB_getattr = @LIB_getattr@
+ LIB_getpwent_r = @LIB_getpwent_r@
+ LIB_odm_initialize = @LIB_odm_initialize@
+ LIB_setpcred = @LIB_setpcred@
++
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
++
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
++
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++
+ @KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
+ @KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+ 
+ @KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
++
+ @DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
++
++bin_PROGRAMS = verify_krb5_conf
++
++noinst_PROGRAMS = dump_config test_get_addrs krbhst-test test_alname
++
+ TESTS = \
+ 	aes-test				\
+ 	n-fold-test				\
+@@ -477,19 +325,26 @@
+ 	test_cc					\
+ 	name-45-test
+ 
++
++check_PROGRAMS = $(TESTS)
++
+ LDADD = libkrb5.la \
+ 	$(LIB_des) \
+ 	$(top_builddir)/lib/asn1/libasn1.la \
+ 	$(LIB_roken)
+ 
++
+ libkrb5_la_LIBADD = \
+-	../com_err/error.lo ../com_err/com_err.lo \
++	$(LIB_com_err) \
+ 	$(LIB_des) \
+ 	$(top_builddir)/lib/asn1/libasn1.la \
+ 	$(LIB_roken)
+ 
++
+ lib_LTLIBRARIES = libkrb5.la
++
+ ERR_FILES = krb5_err.c heim_err.c k524_err.c
++
+ libkrb5_la_SOURCES = \
+ 	acl.c					\
+ 	add_et_list.c				\
+@@ -587,8 +442,10 @@
+ 	write_message.c				\
+ 	$(ERR_FILES)
+ 
++
+ libkrb5_la_LDFLAGS = -version-info 20:0:3
+ 
++
+ #libkrb5_la_LIBADD = ../com_err/error.lo ../com_err/com_err.lo
+ man_MANS = \
+ 	kerberos.8				\
+@@ -627,49 +484,169 @@
+ 	krb5_warn.3				\
+ 	verify_krb5_conf.8
+ 
++
+ include_HEADERS = krb5.h krb5-protos.h krb5-private.h krb5_err.h heim_err.h k524_err.h
++
+ CLEANFILES = krb5_err.c krb5_err.h heim_err.c heim_err.h k524_err.c k524_err.h
++subdir = lib/krb5
++ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
++mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++LTLIBRARIES = $(lib_LTLIBRARIES)
++
++libkrb5_la_DEPENDENCIES = $(top_builddir)/lib/asn1/libasn1.la
++am__objects_1 = krb5_err.lo heim_err.lo k524_err.lo
++am_libkrb5_la_OBJECTS = acl.lo add_et_list.lo addr_families.lo \
++	aname_to_localname.lo appdefault.lo asn1_glue.lo \
++	auth_context.lo build_ap_req.lo build_auth.lo cache.lo \
++	changepw.lo codec.lo config_file.lo config_file_netinfo.lo \
++	convert_creds.lo constants.lo context.lo copy_host_realm.lo \
++	crc.lo creds.lo crypto.lo data.lo eai_to_heim_errno.lo \
++	error_string.lo expand_hostname.lo fcache.lo free.lo \
++	free_host_realm.lo generate_seq_number.lo generate_subkey.lo \
++	get_addrs.lo get_cred.lo get_default_principal.lo \
++	get_default_realm.lo get_for_creds.lo get_host_realm.lo \
++	get_in_tkt.lo get_in_tkt_pw.lo get_in_tkt_with_keytab.lo \
++	get_in_tkt_with_skey.lo get_port.lo init_creds.lo \
++	init_creds_pw.lo keyblock.lo keytab.lo keytab_any.lo \
++	keytab_file.lo keytab_memory.lo keytab_keyfile.lo \
++	keytab_krb4.lo krbhst.lo kuserok.lo log.lo mcache.lo misc.lo \
++	mk_error.lo mk_priv.lo mk_rep.lo mk_req.lo mk_req_ext.lo \
++	mk_safe.lo net_read.lo net_write.lo n-fold.lo padata.lo \
++	principal.lo prog_setup.lo prompter_posix.lo rd_cred.lo \
++	rd_error.lo rd_priv.lo rd_rep.lo rd_req.lo rd_safe.lo \
++	read_message.lo recvauth.lo replay.lo send_to_kdc.lo \
++	sendauth.lo set_default_realm.lo sock_principal.lo store.lo \
++	store_emem.lo store_fd.lo store_mem.lo ticket.lo time.lo \
++	transited.lo verify_init.lo verify_user.lo version.lo warn.lo \
++	write_message.lo $(am__objects_1)
++libkrb5_la_OBJECTS = $(am_libkrb5_la_OBJECTS)
++bin_PROGRAMS = verify_krb5_conf$(EXEEXT)
++check_PROGRAMS = aes-test$(EXEEXT) n-fold-test$(EXEEXT) \
++	string-to-key-test$(EXEEXT) derived-key-test$(EXEEXT) \
++	store-test$(EXEEXT) parse-name-test$(EXEEXT) test_cc$(EXEEXT) \
++	name-45-test$(EXEEXT)
++noinst_PROGRAMS = dump_config$(EXEEXT) test_get_addrs$(EXEEXT) \
++	krbhst-test$(EXEEXT) test_alname$(EXEEXT)
++PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS)
++
++aes_test_SOURCES = aes-test.c
++aes_test_OBJECTS = aes-test.$(OBJEXT)
++aes_test_LDADD = $(LDADD)
++aes_test_DEPENDENCIES = libkrb5.la $(top_builddir)/lib/asn1/libasn1.la
++aes_test_LDFLAGS =
++derived_key_test_SOURCES = derived-key-test.c
++derived_key_test_OBJECTS = derived-key-test.$(OBJEXT)
++derived_key_test_LDADD = $(LDADD)
++derived_key_test_DEPENDENCIES = libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++derived_key_test_LDFLAGS =
++dump_config_SOURCES = dump_config.c
++dump_config_OBJECTS = dump_config.$(OBJEXT)
++dump_config_LDADD = $(LDADD)
++dump_config_DEPENDENCIES = libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++dump_config_LDFLAGS =
++krbhst_test_SOURCES = krbhst-test.c
++krbhst_test_OBJECTS = krbhst-test.$(OBJEXT)
++krbhst_test_LDADD = $(LDADD)
++krbhst_test_DEPENDENCIES = libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++krbhst_test_LDFLAGS =
++n_fold_test_SOURCES = n-fold-test.c
++n_fold_test_OBJECTS = n-fold-test.$(OBJEXT)
++n_fold_test_LDADD = $(LDADD)
++n_fold_test_DEPENDENCIES = libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++n_fold_test_LDFLAGS =
++name_45_test_SOURCES = name-45-test.c
++name_45_test_OBJECTS = name-45-test.$(OBJEXT)
++name_45_test_LDADD = $(LDADD)
++name_45_test_DEPENDENCIES = libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++name_45_test_LDFLAGS =
++parse_name_test_SOURCES = parse-name-test.c
++parse_name_test_OBJECTS = parse-name-test.$(OBJEXT)
++parse_name_test_LDADD = $(LDADD)
++parse_name_test_DEPENDENCIES = libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++parse_name_test_LDFLAGS =
++store_test_SOURCES = store-test.c
++store_test_OBJECTS = store-test.$(OBJEXT)
++store_test_LDADD = $(LDADD)
++store_test_DEPENDENCIES = libkrb5.la $(top_builddir)/lib/asn1/libasn1.la
++store_test_LDFLAGS =
++string_to_key_test_SOURCES = string-to-key-test.c
++string_to_key_test_OBJECTS = string-to-key-test.$(OBJEXT)
++string_to_key_test_LDADD = $(LDADD)
++string_to_key_test_DEPENDENCIES = libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++string_to_key_test_LDFLAGS =
++test_alname_SOURCES = test_alname.c
++test_alname_OBJECTS = test_alname.$(OBJEXT)
++test_alname_LDADD = $(LDADD)
++test_alname_DEPENDENCIES = libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++test_alname_LDFLAGS =
++test_cc_SOURCES = test_cc.c
++test_cc_OBJECTS = test_cc.$(OBJEXT)
++test_cc_LDADD = $(LDADD)
++test_cc_DEPENDENCIES = libkrb5.la $(top_builddir)/lib/asn1/libasn1.la
++test_cc_LDFLAGS =
++test_get_addrs_SOURCES = test_get_addrs.c
++test_get_addrs_OBJECTS = test_get_addrs.$(OBJEXT)
++test_get_addrs_LDADD = $(LDADD)
++test_get_addrs_DEPENDENCIES = libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++test_get_addrs_LDFLAGS =
++verify_krb5_conf_SOURCES = verify_krb5_conf.c
++verify_krb5_conf_OBJECTS = verify_krb5_conf.$(OBJEXT)
++verify_krb5_conf_LDADD = $(LDADD)
++verify_krb5_conf_DEPENDENCIES = libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++verify_krb5_conf_LDFLAGS =
++
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
++depcomp =
++am__depfiles_maybe =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++CCLD = $(CC)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++DIST_SOURCES = $(libkrb5_la_SOURCES) aes-test.c derived-key-test.c \
++	dump_config.c krbhst-test.c n-fold-test.c name-45-test.c \
++	parse-name-test.c store-test.c string-to-key-test.c \
++	test_alname.c test_cc.c test_get_addrs.c verify_krb5_conf.c
++MANS = $(man_MANS)
++HEADERS = $(include_HEADERS)
++
++DIST_COMMON = $(include_HEADERS) $(srcdir)/Makefile.in \
++	$(top_srcdir)/Makefile.am.common \
++	$(top_srcdir)/cf/Makefile.am.common Makefile.am
++SOURCES = $(libkrb5_la_SOURCES) aes-test.c derived-key-test.c dump_config.c krbhst-test.c n-fold-test.c name-45-test.c parse-name-test.c store-test.c string-to-key-test.c test_alname.c test_cc.c test_get_addrs.c verify_krb5_conf.c
++
+ all: all-am
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj
+-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(am__configure_deps)
+-	@for dep in $?; do \
+-	  case '$(am__configure_deps)' in \
+-	    *$$dep*) \
+-	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+-		&& exit 0; \
+-	      exit 1;; \
+-	  esac; \
+-	done; \
+-	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  --ignore-deps lib/krb5/Makefile'; \
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+-	  $(AUTOMAKE) --foreign  --ignore-deps lib/krb5/Makefile
+-.PRECIOUS: Makefile
+-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+-	@case '$?' in \
+-	  *config.status*) \
+-	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+-	  *) \
+-	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+-	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+-	esac;
+-
+-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-
+-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
++	  $(AUTOMAKE) --foreign  lib/krb5/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
++libLTLIBRARIES_INSTALL = $(INSTALL)
+ install-libLTLIBRARIES: $(lib_LTLIBRARIES)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)"
++	$(mkinstalldirs) $(DESTDIR)$(libdir)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+ 	  if test -f $$p; then \
+ 	    f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	    echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
+-	    $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
++	    echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$f"; \
++	    $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+@@ -677,8 +654,8 @@
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+ 	    p="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \
+-	  $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \
++	  echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
++	  $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
+ 	done
+ 
+ clean-libLTLIBRARIES:
+@@ -691,17 +668,18 @@
+ 	done
+ libkrb5.la: $(libkrb5_la_OBJECTS) $(libkrb5_la_DEPENDENCIES) 
+ 	$(LINK) -rpath $(libdir) $(libkrb5_la_LDFLAGS) $(libkrb5_la_OBJECTS) $(libkrb5_la_LIBADD) $(LIBS)
++binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ install-binPROGRAMS: $(bin_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
++	$(mkinstalldirs) $(DESTDIR)$(bindir)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+ 	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+ 	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+-	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
+-	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f || exit 1; \
+ 	  else :; fi; \
+ 	done
+ 
+@@ -709,8 +687,8 @@
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+ 	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
+-	  rm -f "$(DESTDIR)$(bindir)/$$f"; \
++	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
++	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+ clean-binPROGRAMS:
+@@ -774,19 +752,19 @@
+ 	$(LINK) $(verify_krb5_conf_LDFLAGS) $(verify_krb5_conf_OBJECTS) $(verify_krb5_conf_LDADD) $(LIBS)
+ 
+ mostlyclean-compile:
+-	-rm -f *.$(OBJEXT)
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ .c.obj:
+-	$(COMPILE) -c `$(CYGPATH_W) '$<'`
++	$(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
+ 
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ mostlyclean-libtool:
+ 	-rm -f *.lo
+@@ -797,9 +775,11 @@
+ distclean-libtool:
+ 	-rm -f libtool
+ uninstall-info-am:
++
++man3dir = $(mandir)/man3
+ install-man3: $(man3_MANS) $(man_MANS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(man3dir)" || $(mkdir_p) "$(DESTDIR)$(man3dir)"
++	$(mkinstalldirs) $(DESTDIR)$(man3dir)
+ 	@list='$(man3_MANS) $(dist_man3_MANS) $(nodist_man3_MANS)'; \
+ 	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
+ 	for i in $$l2; do \
+@@ -818,8 +798,8 @@
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+-	  echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man3dir)/$$inst'"; \
+-	  $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man3dir)/$$inst"; \
++	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man3dir)/$$inst"; \
++	  $(INSTALL_DATA) $$file $(DESTDIR)$(man3dir)/$$inst; \
+ 	done
+ uninstall-man3:
+ 	@$(NORMAL_UNINSTALL)
+@@ -839,12 +819,14 @@
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+-	  echo " rm -f '$(DESTDIR)$(man3dir)/$$inst'"; \
+-	  rm -f "$(DESTDIR)$(man3dir)/$$inst"; \
++	  echo " rm -f $(DESTDIR)$(man3dir)/$$inst"; \
++	  rm -f $(DESTDIR)$(man3dir)/$$inst; \
+ 	done
++
++man5dir = $(mandir)/man5
+ install-man5: $(man5_MANS) $(man_MANS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(man5dir)" || $(mkdir_p) "$(DESTDIR)$(man5dir)"
++	$(mkinstalldirs) $(DESTDIR)$(man5dir)
+ 	@list='$(man5_MANS) $(dist_man5_MANS) $(nodist_man5_MANS)'; \
+ 	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
+ 	for i in $$l2; do \
+@@ -863,8 +845,8 @@
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+-	  echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man5dir)/$$inst'"; \
+-	  $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man5dir)/$$inst"; \
++	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man5dir)/$$inst"; \
++	  $(INSTALL_DATA) $$file $(DESTDIR)$(man5dir)/$$inst; \
+ 	done
+ uninstall-man5:
+ 	@$(NORMAL_UNINSTALL)
+@@ -884,12 +866,14 @@
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+-	  echo " rm -f '$(DESTDIR)$(man5dir)/$$inst'"; \
+-	  rm -f "$(DESTDIR)$(man5dir)/$$inst"; \
++	  echo " rm -f $(DESTDIR)$(man5dir)/$$inst"; \
++	  rm -f $(DESTDIR)$(man5dir)/$$inst; \
+ 	done
++
++man8dir = $(mandir)/man8
+ install-man8: $(man8_MANS) $(man_MANS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(man8dir)" || $(mkdir_p) "$(DESTDIR)$(man8dir)"
++	$(mkinstalldirs) $(DESTDIR)$(man8dir)
+ 	@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
+ 	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
+ 	for i in $$l2; do \
+@@ -908,8 +892,8 @@
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+-	  echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man8dir)/$$inst'"; \
+-	  $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man8dir)/$$inst"; \
++	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst"; \
++	  $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst; \
+ 	done
+ uninstall-man8:
+ 	@$(NORMAL_UNINSTALL)
+@@ -929,27 +913,36 @@
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+-	  echo " rm -f '$(DESTDIR)$(man8dir)/$$inst'"; \
+-	  rm -f "$(DESTDIR)$(man8dir)/$$inst"; \
++	  echo " rm -f $(DESTDIR)$(man8dir)/$$inst"; \
++	  rm -f $(DESTDIR)$(man8dir)/$$inst; \
+ 	done
++includeHEADERS_INSTALL = $(INSTALL_HEADER)
+ install-includeHEADERS: $(include_HEADERS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(includedir)" || $(mkdir_p) "$(DESTDIR)$(includedir)"
++	$(mkinstalldirs) $(DESTDIR)$(includedir)
+ 	@list='$(include_HEADERS)'; for p in $$list; do \
+ 	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " $(includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(includedir)/$$f'"; \
+-	  $(includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(includedir)/$$f"; \
++	  echo " $(includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
++	  $(includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(includedir)/$$f; \
+ 	done
+ 
+ uninstall-includeHEADERS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(include_HEADERS)'; for p in $$list; do \
+ 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " rm -f '$(DESTDIR)$(includedir)/$$f'"; \
+-	  rm -f "$(DESTDIR)$(includedir)/$$f"; \
++	  echo " rm -f $(DESTDIR)$(includedir)/$$f"; \
++	  rm -f $(DESTDIR)$(includedir)/$$f; \
+ 	done
+ 
++ETAGS = etags
++ETAGSFLAGS =
++
++CTAGS = ctags
++CTAGSFLAGS =
++
++tags: TAGS
++
+ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ 	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ 	unique=`for i in $$list; do \
+@@ -958,7 +951,6 @@
+ 	  $(AWK) '    { files[$$0] = 1; } \
+ 	       END { for (i in files) print i; }'`; \
+ 	mkid -fID $$unique
+-tags: TAGS
+ 
+ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -973,6 +965,7 @@
+ 	test -z "$(ETAGS_ARGS)$$tags$$unique" \
+ 	  || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ 	     $$tags $$unique
++
+ ctags: CTAGS
+ CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -1009,24 +1002,24 @@
+ 	      all=`expr $$all + 1`; \
+ 	      case " $(XFAIL_TESTS) " in \
+ 	      *" $$tst "*) \
+-		xpass=`expr $$xpass + 1`; \
+-		failed=`expr $$failed + 1`; \
+-		echo "XPASS: $$tst"; \
++	        xpass=`expr $$xpass + 1`; \
++	        failed=`expr $$failed + 1`; \
++	        echo "XPASS: $$tst"; \
+ 	      ;; \
+ 	      *) \
+-		echo "PASS: $$tst"; \
++	        echo "PASS: $$tst"; \
+ 	      ;; \
+ 	      esac; \
+ 	    elif test $$? -ne 77; then \
+ 	      all=`expr $$all + 1`; \
+ 	      case " $(XFAIL_TESTS) " in \
+ 	      *" $$tst "*) \
+-		xfail=`expr $$xfail + 1`; \
+-		echo "XFAIL: $$tst"; \
++	        xfail=`expr $$xfail + 1`; \
++	        echo "XFAIL: $$tst"; \
+ 	      ;; \
+ 	      *) \
+-		failed=`expr $$failed + 1`; \
+-		echo "FAIL: $$tst"; \
++	        failed=`expr $$failed + 1`; \
++	        echo "FAIL: $$tst"; \
+ 	      ;; \
+ 	      esac; \
+ 	    else \
+@@ -1068,9 +1061,13 @@
+ 	  echo "$$dashes"; \
+ 	  test "$$failed" -eq 0; \
+ 	else :; fi
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	$(mkdir_p) $(distdir)/../.. $(distdir)/../../cf
++	$(mkinstalldirs) $(distdir)/../.. $(distdir)/../../cf
+ 	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ 	list='$(DISTFILES)'; for file in $$list; do \
+@@ -1082,7 +1079,7 @@
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ 	    dir="/$$dir"; \
+-	    $(mkdir_p) "$(distdir)$$dir"; \
++	    $(mkinstalldirs) "$(distdir)$$dir"; \
+ 	  else \
+ 	    dir=''; \
+ 	  fi; \
+@@ -1104,14 +1101,12 @@
+ 	$(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
+ 	$(MAKE) $(AM_MAKEFLAGS) check-TESTS check-local
+ check: check-am
+-all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(MANS) $(HEADERS) \
+-		all-local
++all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(MANS) $(HEADERS) all-local
+ install-binPROGRAMS: install-libLTLIBRARIES
+ 
++
+ installdirs:
+-	for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man3dir)" "$(DESTDIR)$(man5dir)" "$(DESTDIR)$(man8dir)" "$(DESTDIR)$(includedir)"; do \
+-	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
+-	done
++	$(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(bindir) $(DESTDIR)$(man3dir) $(DESTDIR)$(man5dir) $(DESTDIR)$(man8dir) $(DESTDIR)$(includedir)
+ install: install-am
+ install-exec: install-exec-am
+ install-data: install-data-am
+@@ -1152,8 +1147,6 @@
+ 
+ dvi-am:
+ 
+-html: html-am
+-
+ info: info-am
+ 
+ info-am:
+@@ -1199,18 +1192,17 @@
+ 	clean-generic clean-libLTLIBRARIES clean-libtool \
+ 	clean-noinstPROGRAMS ctags distclean distclean-compile \
+ 	distclean-generic distclean-libtool distclean-tags distdir dvi \
+-	dvi-am html html-am info info-am install install-am \
+-	install-binPROGRAMS install-data install-data-am install-exec \
+-	install-exec-am install-includeHEADERS install-info \
+-	install-info-am install-libLTLIBRARIES install-man \
+-	install-man3 install-man5 install-man8 install-strip \
+-	installcheck installcheck-am installdirs maintainer-clean \
+-	maintainer-clean-generic mostlyclean mostlyclean-compile \
+-	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+-	tags uninstall uninstall-am uninstall-binPROGRAMS \
+-	uninstall-includeHEADERS uninstall-info-am \
+-	uninstall-libLTLIBRARIES uninstall-man uninstall-man3 \
+-	uninstall-man5 uninstall-man8
++	dvi-am info info-am install install-am install-binPROGRAMS \
++	install-data install-data-am install-exec install-exec-am \
++	install-includeHEADERS install-info install-info-am \
++	install-libLTLIBRARIES install-man install-man3 install-man5 \
++	install-man8 install-strip installcheck installcheck-am \
++	installdirs maintainer-clean maintainer-clean-generic \
++	mostlyclean mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
++	uninstall-am uninstall-binPROGRAMS uninstall-includeHEADERS \
++	uninstall-info-am uninstall-libLTLIBRARIES uninstall-man \
++	uninstall-man3 uninstall-man5 uninstall-man8
+ 
+ 
+ install-suid-programs:
+diff -ruN heimdal-0.6.3-old/lib/Makefile.in heimdal-0.6.3/lib/Makefile.in
+--- heimdal-0.6.3-old/lib/Makefile.in	2004-09-13 22:29:18.000000000 +1000
++++ heimdal-0.6.3/lib/Makefile.in	2004-09-14 08:39:54.000000000 +1000
+@@ -1,8 +1,8 @@
+-# Makefile.in generated by automake 1.8.3 from Makefile.am.
++# Makefile.in generated by automake 1.7.9 from Makefile.am.
+ # @configure_input@
+ 
+-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+-# 2003, 2004  Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
++# 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.
+@@ -19,6 +19,7 @@
+ # $Id: Makefile.am.common,v 1.5 2002/05/19 18:35:37 joda Exp $
+ 
+ # $Id: Makefile.am.common,v 1.37.2.2 2003/10/13 13:15:39 joda Exp $
++
+ srcdir = @srcdir@
+ top_srcdir = @top_srcdir@
+ VPATH = @srcdir@
+@@ -26,6 +27,7 @@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+ top_builddir = ..
++
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+ INSTALL = @INSTALL@
+ install_sh_DATA = $(install_sh) -c -m 644
+@@ -40,69 +42,6 @@
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+ host_triplet = @host@
+-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+-	$(top_srcdir)/Makefile.am.common \
+-	$(top_srcdir)/cf/Makefile.am.common
+-subdir = lib
+-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+-am__aclocal_m4_deps = $(top_srcdir)/cf/aix.m4 \
+-	$(top_srcdir)/cf/auth-modules.m4 \
+-	$(top_srcdir)/cf/broken-getaddrinfo.m4 \
+-	$(top_srcdir)/cf/broken-getnameinfo.m4 \
+-	$(top_srcdir)/cf/broken-glob.m4 \
+-	$(top_srcdir)/cf/broken-realloc.m4 \
+-	$(top_srcdir)/cf/broken-snprintf.m4 $(top_srcdir)/cf/broken.m4 \
+-	$(top_srcdir)/cf/broken2.m4 $(top_srcdir)/cf/c-attribute.m4 \
+-	$(top_srcdir)/cf/capabilities.m4 \
+-	$(top_srcdir)/cf/check-compile-et.m4 \
+-	$(top_srcdir)/cf/check-declaration.m4 \
+-	$(top_srcdir)/cf/check-getpwnam_r-posix.m4 \
+-	$(top_srcdir)/cf/check-man.m4 \
+-	$(top_srcdir)/cf/check-netinet-ip-and-tcp.m4 \
+-	$(top_srcdir)/cf/check-type-extra.m4 \
+-	$(top_srcdir)/cf/check-var.m4 $(top_srcdir)/cf/check-x.m4 \
+-	$(top_srcdir)/cf/check-xau.m4 $(top_srcdir)/cf/crypto.m4 \
+-	$(top_srcdir)/cf/db.m4 $(top_srcdir)/cf/destdirs.m4 \
+-	$(top_srcdir)/cf/dlopen.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs2.m4 \
+-	$(top_srcdir)/cf/find-func.m4 \
+-	$(top_srcdir)/cf/find-if-not-broken.m4 \
+-	$(top_srcdir)/cf/have-struct-field.m4 \
+-	$(top_srcdir)/cf/have-type.m4 $(top_srcdir)/cf/irix.m4 \
+-	$(top_srcdir)/cf/krb-bigendian.m4 \
+-	$(top_srcdir)/cf/krb-func-getlogin.m4 \
+-	$(top_srcdir)/cf/krb-ipv6.m4 $(top_srcdir)/cf/krb-prog-ln-s.m4 \
+-	$(top_srcdir)/cf/krb-readline.m4 \
+-	$(top_srcdir)/cf/krb-struct-spwd.m4 \
+-	$(top_srcdir)/cf/krb-struct-winsize.m4 \
+-	$(top_srcdir)/cf/mips-abi.m4 $(top_srcdir)/cf/misc.m4 \
+-	$(top_srcdir)/cf/need-proto.m4 $(top_srcdir)/cf/osfc2.m4 \
+-	$(top_srcdir)/cf/otp.m4 $(top_srcdir)/cf/proto-compat.m4 \
+-	$(top_srcdir)/cf/retsigtype.m4 $(top_srcdir)/cf/roken-frag.m4 \
+-	$(top_srcdir)/cf/sunos.m4 $(top_srcdir)/cf/telnet.m4 \
+-	$(top_srcdir)/cf/test-package.m4 $(top_srcdir)/cf/wflags.m4 \
+-	$(top_srcdir)/cf/with-all.m4 $(top_srcdir)/configure.in
+-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+-	$(ACLOCAL_M4)
+-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = $(top_builddir)/include/config.h
+-CONFIG_CLEAN_FILES =
+-depcomp =
+-am__depfiles_maybe =
+-SOURCES =
+-DIST_SOURCES =
+-RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
+-	html-recursive info-recursive install-data-recursive \
+-	install-exec-recursive install-info-recursive \
+-	install-recursive installcheck-recursive installdirs-recursive \
+-	pdf-recursive ps-recursive uninstall-info-recursive \
+-	uninstall-recursive
+-ETAGS = etags
+-CTAGS = ctags
+-DIST_SUBDIRS = @DIR_roken@ vers editline @DIR_com_err@ sl asn1 \
+-	@DIR_des@ krb5 kafs hdb kadm5 gssapi auth 45 otp kdfs
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ ACLOCAL = @ACLOCAL@
+ AIX4_FALSE = @AIX4_FALSE@
+ AIX4_TRUE = @AIX4_TRUE@
+@@ -127,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -137,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -160,12 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
++
+ INCLUDE_krb4 = @INCLUDE_krb4@
++
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
++
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -178,6 +130,7 @@
+ KRB5_TRUE = @KRB5_TRUE@
+ LDFLAGS = @LDFLAGS@
+ LEX = @LEX@
++
+ LEXLIB = @LEXLIB@
+ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+ LIBOBJS = @LIBOBJS@
+@@ -186,6 +139,7 @@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+ LIB_XauFileName = @LIB_XauFileName@
++
+ LIB_XauReadAuth = @LIB_XauReadAuth@
+ LIB_XauWriteAuth = @LIB_XauWriteAuth@
+ LIB_bswap16 = @LIB_bswap16@
+@@ -234,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -314,7 +270,6 @@
+ libexecdir = @libexecdir@
+ localstatedir = @localstatedir@
+ mandir = @mandir@
+-mkdir_p = @mkdir_p@
+ oldincludedir = @oldincludedir@
+ prefix = @prefix@
+ program_transform_name = @program_transform_name@
+@@ -322,64 +277,73 @@
+ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
++
+ SUFFIXES = .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8
++
+ INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken)
++
+ @do_roken_rename_TRUE@ROKEN_RENAME = -DROKEN_RENAME
++
+ AM_CFLAGS = $(WFLAGS)
++
+ CP = cp
++
+ buildinclude = $(top_builddir)/include
+ LIB_getattr = @LIB_getattr@
+ LIB_getpwent_r = @LIB_getpwent_r@
+ LIB_odm_initialize = @LIB_odm_initialize@
+ LIB_setpcred = @LIB_setpcred@
++
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
++
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
++
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++
+ @KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
+ @KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+ 
+ @KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
++
+ @DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
++
+ @KRB4_TRUE@dir_45 = 45
+-@OTP_TRUE@dir_otp = otp
+ @DCE_TRUE@dir_dce = kdfs
+-SUBDIRS = @DIR_roken@ vers editline @DIR_com_err@ sl asn1 @DIR_des@ krb5 \
+-	kafs hdb kadm5 gssapi auth $(dir_45) $(dir_otp) $(dir_dce)
+ 
++SUBDIRS = @DIR_roken@ vers @DIR_com_err@ @DIR_sl@ asn1 @DIR_des@ krb5 \
++	kafs hdb kadm5 gssapi auth $(dir_45) @DIR_otp@ $(dir_dce)
++
++subdir = lib
++ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
++mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++depcomp =
++am__depfiles_maybe =
++DIST_SOURCES =
++
++RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \
++	ps-recursive install-info-recursive uninstall-info-recursive \
++	all-recursive install-data-recursive install-exec-recursive \
++	installdirs-recursive install-recursive uninstall-recursive \
++	check-recursive installcheck-recursive
++DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/Makefile.am.common \
++	$(top_srcdir)/cf/Makefile.am.common Makefile.am
++DIST_SUBDIRS = @DIR_roken@ vers @DIR_com_err@ @DIR_sl@ asn1 @DIR_des@ \
++	krb5 kafs hdb kadm5 gssapi auth 45 @DIR_otp@ kdfs
+ all: all-recursive
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c
+-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(am__configure_deps)
+-	@for dep in $?; do \
+-	  case '$(am__configure_deps)' in \
+-	    *$$dep*) \
+-	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+-		&& exit 0; \
+-	      exit 1;; \
+-	  esac; \
+-	done; \
+-	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  --ignore-deps lib/Makefile'; \
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+-	  $(AUTOMAKE) --foreign  --ignore-deps lib/Makefile
+-.PRECIOUS: Makefile
+-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+-	@case '$?' in \
+-	  *config.status*) \
+-	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+-	  *) \
+-	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+-	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+-	esac;
+-
+-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-
+-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
++	  $(AUTOMAKE) --foreign  lib/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+ 
+ mostlyclean-libtool:
+ 	-rm -f *.lo
+@@ -450,6 +414,14 @@
+ 	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
+ 	done
+ 
++ETAGS = etags
++ETAGSFLAGS =
++
++CTAGS = ctags
++CTAGSFLAGS =
++
++tags: TAGS
++
+ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ 	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ 	unique=`for i in $$list; do \
+@@ -458,7 +430,6 @@
+ 	  $(AWK) '    { files[$$0] = 1; } \
+ 	       END { for (i in files) print i; }'`; \
+ 	mkid -fID $$unique
+-tags: TAGS
+ 
+ TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -484,6 +455,7 @@
+ 	test -z "$(ETAGS_ARGS)$$tags$$unique" \
+ 	  || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ 	     $$tags $$unique
++
+ ctags: CTAGS
+ CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -506,9 +478,13 @@
+ 
+ distclean-tags:
+ 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++
++top_distdir = ..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	$(mkdir_p) $(distdir)/.. $(distdir)/../cf
++	$(mkinstalldirs) $(distdir)/.. $(distdir)/../cf
+ 	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ 	list='$(DISTFILES)'; for file in $$list; do \
+@@ -520,7 +496,7 @@
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ 	    dir="/$$dir"; \
+-	    $(mkdir_p) "$(distdir)$$dir"; \
++	    $(mkinstalldirs) "$(distdir)$$dir"; \
+ 	  else \
+ 	    dir=''; \
+ 	  fi; \
+@@ -537,13 +513,13 @@
+ 	done
+ 	list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
+ 	  if test "$$subdir" = .; then :; else \
+-	    test -d "$(distdir)/$$subdir" \
+-	    || mkdir "$(distdir)/$$subdir" \
++	    test -d $(distdir)/$$subdir \
++	    || mkdir $(distdir)/$$subdir \
+ 	    || exit 1; \
+ 	    (cd $$subdir && \
+ 	      $(MAKE) $(AM_MAKEFLAGS) \
+-	        top_distdir="../$(top_distdir)" \
+-	        distdir="../$(distdir)/$$subdir" \
++	        top_distdir="$(top_distdir)" \
++	        distdir=../$(distdir)/$$subdir \
+ 	        distdir) \
+ 	      || exit 1; \
+ 	  fi; \
+@@ -557,6 +533,7 @@
+ all-am: Makefile all-local
+ installdirs: installdirs-recursive
+ installdirs-am:
++
+ install: install-recursive
+ install-exec: install-exec-recursive
+ install-data: install-data-recursive
+@@ -594,8 +571,6 @@
+ 
+ dvi-am:
+ 
+-html: html-recursive
+-
+ info: info-recursive
+ 
+ info-am:
+@@ -638,14 +613,18 @@
+ 	check-am check-local clean clean-generic clean-libtool \
+ 	clean-recursive ctags ctags-recursive distclean \
+ 	distclean-generic distclean-libtool distclean-recursive \
+-	distclean-tags distdir dvi dvi-am html html-am info info-am \
+-	install install-am install-data install-data-am install-exec \
+-	install-exec-am install-info install-info-am install-man \
++	distclean-tags distdir dvi dvi-am dvi-recursive info info-am \
++	info-recursive install install-am install-data install-data-am \
++	install-data-recursive install-exec install-exec-am \
++	install-exec-recursive install-info install-info-am \
++	install-info-recursive install-man install-recursive \
+ 	install-strip installcheck installcheck-am installdirs \
+-	installdirs-am maintainer-clean maintainer-clean-generic \
+-	maintainer-clean-recursive mostlyclean mostlyclean-generic \
+-	mostlyclean-libtool mostlyclean-recursive pdf pdf-am ps ps-am \
+-	tags tags-recursive uninstall uninstall-am uninstall-info-am
++	installdirs-am installdirs-recursive maintainer-clean \
++	maintainer-clean-generic maintainer-clean-recursive mostlyclean \
++	mostlyclean-generic mostlyclean-libtool mostlyclean-recursive \
++	pdf pdf-am pdf-recursive ps ps-am ps-recursive tags \
++	tags-recursive uninstall uninstall-am uninstall-info-am \
++	uninstall-info-recursive uninstall-recursive
+ 
+ 
+ install-suid-programs:
+diff -ruN heimdal-0.6.3-old/lib/otp/Makefile.in heimdal-0.6.3/lib/otp/Makefile.in
+--- heimdal-0.6.3-old/lib/otp/Makefile.in	2004-09-13 22:29:34.000000000 +1000
++++ heimdal-0.6.3/lib/otp/Makefile.in	2004-09-14 08:40:02.000000000 +1000
+@@ -1,8 +1,8 @@
+-# Makefile.in generated by automake 1.8.3 from Makefile.am.
++# Makefile.in generated by automake 1.7.9 from Makefile.am.
+ # @configure_input@
+ 
+-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+-# 2003, 2004  Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
++# 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.
+@@ -20,10 +20,6 @@
+ 
+ # $Id: Makefile.am.common,v 1.37.2.2 2003/10/13 13:15:39 joda Exp $
+ 
+-
+-
+-SOURCES = $(libotp_la_SOURCES) otptest.c
+-
+ srcdir = @srcdir@
+ top_srcdir = @top_srcdir@
+ VPATH = @srcdir@
+@@ -31,6 +27,7 @@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+ top_builddir = ../..
++
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+ INSTALL = @INSTALL@
+ install_sh_DATA = $(install_sh) -c -m 644
+@@ -45,96 +42,6 @@
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+ host_triplet = @host@
+-DIST_COMMON = $(include_HEADERS) $(srcdir)/Makefile.am \
+-	$(srcdir)/Makefile.in $(top_srcdir)/Makefile.am.common \
+-	$(top_srcdir)/cf/Makefile.am.common ChangeLog
+-noinst_PROGRAMS = otptest$(EXEEXT)
+-check_PROGRAMS = otptest$(EXEEXT)
+-subdir = lib/otp
+-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+-am__aclocal_m4_deps = $(top_srcdir)/cf/aix.m4 \
+-	$(top_srcdir)/cf/auth-modules.m4 \
+-	$(top_srcdir)/cf/broken-getaddrinfo.m4 \
+-	$(top_srcdir)/cf/broken-getnameinfo.m4 \
+-	$(top_srcdir)/cf/broken-glob.m4 \
+-	$(top_srcdir)/cf/broken-realloc.m4 \
+-	$(top_srcdir)/cf/broken-snprintf.m4 $(top_srcdir)/cf/broken.m4 \
+-	$(top_srcdir)/cf/broken2.m4 $(top_srcdir)/cf/c-attribute.m4 \
+-	$(top_srcdir)/cf/capabilities.m4 \
+-	$(top_srcdir)/cf/check-compile-et.m4 \
+-	$(top_srcdir)/cf/check-declaration.m4 \
+-	$(top_srcdir)/cf/check-getpwnam_r-posix.m4 \
+-	$(top_srcdir)/cf/check-man.m4 \
+-	$(top_srcdir)/cf/check-netinet-ip-and-tcp.m4 \
+-	$(top_srcdir)/cf/check-type-extra.m4 \
+-	$(top_srcdir)/cf/check-var.m4 $(top_srcdir)/cf/check-x.m4 \
+-	$(top_srcdir)/cf/check-xau.m4 $(top_srcdir)/cf/crypto.m4 \
+-	$(top_srcdir)/cf/db.m4 $(top_srcdir)/cf/destdirs.m4 \
+-	$(top_srcdir)/cf/dlopen.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs2.m4 \
+-	$(top_srcdir)/cf/find-func.m4 \
+-	$(top_srcdir)/cf/find-if-not-broken.m4 \
+-	$(top_srcdir)/cf/have-struct-field.m4 \
+-	$(top_srcdir)/cf/have-type.m4 $(top_srcdir)/cf/irix.m4 \
+-	$(top_srcdir)/cf/krb-bigendian.m4 \
+-	$(top_srcdir)/cf/krb-func-getlogin.m4 \
+-	$(top_srcdir)/cf/krb-ipv6.m4 $(top_srcdir)/cf/krb-prog-ln-s.m4 \
+-	$(top_srcdir)/cf/krb-readline.m4 \
+-	$(top_srcdir)/cf/krb-struct-spwd.m4 \
+-	$(top_srcdir)/cf/krb-struct-winsize.m4 \
+-	$(top_srcdir)/cf/mips-abi.m4 $(top_srcdir)/cf/misc.m4 \
+-	$(top_srcdir)/cf/need-proto.m4 $(top_srcdir)/cf/osfc2.m4 \
+-	$(top_srcdir)/cf/otp.m4 $(top_srcdir)/cf/proto-compat.m4 \
+-	$(top_srcdir)/cf/retsigtype.m4 $(top_srcdir)/cf/roken-frag.m4 \
+-	$(top_srcdir)/cf/sunos.m4 $(top_srcdir)/cf/telnet.m4 \
+-	$(top_srcdir)/cf/test-package.m4 $(top_srcdir)/cf/wflags.m4 \
+-	$(top_srcdir)/cf/with-all.m4 $(top_srcdir)/configure.in
+-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+-	$(ACLOCAL_M4)
+-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = $(top_builddir)/include/config.h
+-CONFIG_CLEAN_FILES =
+-am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(includedir)"
+-libLTLIBRARIES_INSTALL = $(INSTALL)
+-LTLIBRARIES = $(lib_LTLIBRARIES)
+-am__DEPENDENCIES_1 =
+-libotp_la_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
+-	$(am__DEPENDENCIES_1)
+-am__libotp_la_SOURCES_DIST = otp.c otp_challenge.c otp_db.c otp_md.c \
+-	otp_parse.c otp_print.c otp_verify.c otp_locl.h otp_md.h \
+-	roken_rename.h ndbm_wrap.c ndbm_wrap.h snprintf.c strcasecmp.c \
+-	strncasecmp.c strlwr.c strlcpy.c strlcat.c
+-@HAVE_DB3_TRUE@am__objects_1 = ndbm_wrap.lo
+-@do_roken_rename_TRUE@am__objects_2 = snprintf.lo strcasecmp.lo \
+-@do_roken_rename_TRUE@	strncasecmp.lo strlwr.lo strlcpy.lo \
+-@do_roken_rename_TRUE@	strlcat.lo
+-am_libotp_la_OBJECTS = otp.lo otp_challenge.lo otp_db.lo otp_md.lo \
+-	otp_parse.lo otp_print.lo otp_verify.lo $(am__objects_1) \
+-	$(am__objects_2)
+-libotp_la_OBJECTS = $(am_libotp_la_OBJECTS)
+-PROGRAMS = $(noinst_PROGRAMS)
+-otptest_SOURCES = otptest.c
+-otptest_OBJECTS = otptest.$(OBJEXT)
+-otptest_DEPENDENCIES = libotp.la
+-DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
+-depcomp =
+-am__depfiles_maybe =
+-COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+-	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) \
+-	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+-	$(AM_CFLAGS) $(CFLAGS)
+-CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+-	$(AM_LDFLAGS) $(LDFLAGS) -o $@
+-SOURCES = $(libotp_la_SOURCES) otptest.c
+-DIST_SOURCES = $(am__libotp_la_SOURCES_DIST) otptest.c
+-includeHEADERS_INSTALL = $(INSTALL_HEADER)
+-HEADERS = $(include_HEADERS)
+-ETAGS = etags
+-CTAGS = ctags
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ ACLOCAL = @ACLOCAL@
+ AIX4_FALSE = @AIX4_FALSE@
+ AIX4_TRUE = @AIX4_TRUE@
+@@ -159,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -169,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -192,12 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
++
+ INCLUDE_krb4 = @INCLUDE_krb4@
++
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
++
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -210,6 +130,7 @@
+ KRB5_TRUE = @KRB5_TRUE@
+ LDFLAGS = @LDFLAGS@
+ LEX = @LEX@
++
+ LEXLIB = @LEXLIB@
+ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+ LIBOBJS = @LIBOBJS@
+@@ -218,6 +139,7 @@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+ LIB_XauFileName = @LIB_XauFileName@
++
+ LIB_XauReadAuth = @LIB_XauReadAuth@
+ LIB_XauWriteAuth = @LIB_XauWriteAuth@
+ LIB_bswap16 = @LIB_bswap16@
+@@ -266,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -346,7 +270,6 @@
+ libexecdir = @libexecdir@
+ localstatedir = @localstatedir@
+ mandir = @mandir@
+-mkdir_p = @mkdir_p@
+ oldincludedir = @oldincludedir@
+ prefix = @prefix@
+ program_transform_name = @program_transform_name@
+@@ -354,32 +277,55 @@
+ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
++
+ SUFFIXES = .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8
++
+ INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) $(INCLUDE_des) $(ROKEN_RENAME)
++
+ @do_roken_rename_TRUE@ROKEN_RENAME = -DROKEN_RENAME
++
+ AM_CFLAGS = $(WFLAGS)
++
+ CP = cp
++
+ buildinclude = $(top_builddir)/include
+ LIB_getattr = @LIB_getattr@
+ LIB_getpwent_r = @LIB_getpwent_r@
+ LIB_odm_initialize = @LIB_odm_initialize@
+ LIB_setpcred = @LIB_setpcred@
++
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
++
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
++
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++
+ @KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
+ @KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+ 
+ @KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
++
+ @DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
++
++noinst_PROGRAMS = otptest
++
++check_PROGRAMS = otptest
++
+ otptest_LDADD = libotp.la
++
+ include_HEADERS = otp.h
++
+ lib_LTLIBRARIES = libotp.la
+ libotp_la_LDFLAGS = -version-info 1:4:1
+ libotp_la_LIBADD = $(LIB_des) $(LIB_roken) $(LIB_NDBM)
+-@HAVE_DB3_FALSE@ndbm_wrap = 
++
+ @HAVE_DB3_TRUE@ndbm_wrap = ndbm_wrap.c ndbm_wrap.h
++@HAVE_DB3_FALSE@ndbm_wrap = 
++
+ libotp_la_SOURCES = \
+ 	otp.c \
+ 	otp_challenge.c \
+@@ -394,48 +340,74 @@
+ 	$(ndbm_wrap) \
+ 	$(ROKEN_SRCS)
+ 
++
+ @do_roken_rename_TRUE@ROKEN_SRCS = snprintf.c strcasecmp.c strncasecmp.c strlwr.c strlcpy.c strlcat.c
++subdir = lib/otp
++ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
++mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++LTLIBRARIES = $(lib_LTLIBRARIES)
++
++libotp_la_DEPENDENCIES =
++am__libotp_la_SOURCES_DIST = otp.c otp_challenge.c otp_db.c otp_md.c \
++	otp_parse.c otp_print.c otp_verify.c otp_locl.h otp_md.h \
++	roken_rename.h ndbm_wrap.c ndbm_wrap.h snprintf.c strcasecmp.c \
++	strncasecmp.c strlwr.c strlcpy.c strlcat.c
++@HAVE_DB3_TRUE@am__objects_1 = ndbm_wrap.lo
++@HAVE_DB3_FALSE@am__objects_1 =
++@do_roken_rename_TRUE@am__objects_2 = snprintf.lo strcasecmp.lo \
++@do_roken_rename_TRUE@	strncasecmp.lo strlwr.lo strlcpy.lo \
++@do_roken_rename_TRUE@	strlcat.lo
++am_libotp_la_OBJECTS = otp.lo otp_challenge.lo otp_db.lo otp_md.lo \
++	otp_parse.lo otp_print.lo otp_verify.lo $(am__objects_1) \
++	$(am__objects_2)
++libotp_la_OBJECTS = $(am_libotp_la_OBJECTS)
++check_PROGRAMS = otptest$(EXEEXT)
++noinst_PROGRAMS = otptest$(EXEEXT)
++PROGRAMS = $(noinst_PROGRAMS)
++
++otptest_SOURCES = otptest.c
++otptest_OBJECTS = otptest.$(OBJEXT)
++otptest_DEPENDENCIES = libotp.la
++otptest_LDFLAGS =
++
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
++depcomp =
++am__depfiles_maybe =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++CCLD = $(CC)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++DIST_SOURCES = $(am__libotp_la_SOURCES_DIST) otptest.c
++HEADERS = $(include_HEADERS)
++
++DIST_COMMON = $(include_HEADERS) $(srcdir)/Makefile.in \
++	$(top_srcdir)/Makefile.am.common \
++	$(top_srcdir)/cf/Makefile.am.common ChangeLog Makefile.am
++SOURCES = $(libotp_la_SOURCES) otptest.c
++
+ all: all-am
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj
+-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(am__configure_deps)
+-	@for dep in $?; do \
+-	  case '$(am__configure_deps)' in \
+-	    *$$dep*) \
+-	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+-		&& exit 0; \
+-	      exit 1;; \
+-	  esac; \
+-	done; \
+-	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  --ignore-deps lib/otp/Makefile'; \
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+-	  $(AUTOMAKE) --foreign  --ignore-deps lib/otp/Makefile
+-.PRECIOUS: Makefile
+-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+-	@case '$?' in \
+-	  *config.status*) \
+-	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+-	  *) \
+-	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+-	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+-	esac;
+-
+-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-
+-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
++	  $(AUTOMAKE) --foreign  lib/otp/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
++libLTLIBRARIES_INSTALL = $(INSTALL)
+ install-libLTLIBRARIES: $(lib_LTLIBRARIES)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)"
++	$(mkinstalldirs) $(DESTDIR)$(libdir)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+ 	  if test -f $$p; then \
+ 	    f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	    echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
+-	    $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
++	    echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$f"; \
++	    $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+@@ -443,8 +415,8 @@
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+ 	    p="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \
+-	  $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \
++	  echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
++	  $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
+ 	done
+ 
+ clean-libLTLIBRARIES:
+@@ -476,19 +448,19 @@
+ 	$(LINK) $(otptest_LDFLAGS) $(otptest_OBJECTS) $(otptest_LDADD) $(LIBS)
+ 
+ mostlyclean-compile:
+-	-rm -f *.$(OBJEXT)
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ .c.obj:
+-	$(COMPILE) -c `$(CYGPATH_W) '$<'`
++	$(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
+ 
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ mostlyclean-libtool:
+ 	-rm -f *.lo
+@@ -499,24 +471,33 @@
+ distclean-libtool:
+ 	-rm -f libtool
+ uninstall-info-am:
++includeHEADERS_INSTALL = $(INSTALL_HEADER)
+ install-includeHEADERS: $(include_HEADERS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(includedir)" || $(mkdir_p) "$(DESTDIR)$(includedir)"
++	$(mkinstalldirs) $(DESTDIR)$(includedir)
+ 	@list='$(include_HEADERS)'; for p in $$list; do \
+ 	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " $(includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(includedir)/$$f'"; \
+-	  $(includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(includedir)/$$f"; \
++	  echo " $(includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
++	  $(includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(includedir)/$$f; \
+ 	done
+ 
+ uninstall-includeHEADERS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(include_HEADERS)'; for p in $$list; do \
+ 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " rm -f '$(DESTDIR)$(includedir)/$$f'"; \
+-	  rm -f "$(DESTDIR)$(includedir)/$$f"; \
++	  echo " rm -f $(DESTDIR)$(includedir)/$$f"; \
++	  rm -f $(DESTDIR)$(includedir)/$$f; \
+ 	done
+ 
++ETAGS = etags
++ETAGSFLAGS =
++
++CTAGS = ctags
++CTAGSFLAGS =
++
++tags: TAGS
++
+ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ 	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ 	unique=`for i in $$list; do \
+@@ -525,7 +506,6 @@
+ 	  $(AWK) '    { files[$$0] = 1; } \
+ 	       END { for (i in files) print i; }'`; \
+ 	mkid -fID $$unique
+-tags: TAGS
+ 
+ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -540,6 +520,7 @@
+ 	test -z "$(ETAGS_ARGS)$$tags$$unique" \
+ 	  || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ 	     $$tags $$unique
++
+ ctags: CTAGS
+ CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -562,9 +543,13 @@
+ 
+ distclean-tags:
+ 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	$(mkdir_p) $(distdir)/../.. $(distdir)/../../cf
++	$(mkinstalldirs) $(distdir)/../.. $(distdir)/../../cf
+ 	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ 	list='$(DISTFILES)'; for file in $$list; do \
+@@ -576,7 +561,7 @@
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ 	    dir="/$$dir"; \
+-	    $(mkdir_p) "$(distdir)$$dir"; \
++	    $(mkinstalldirs) "$(distdir)$$dir"; \
+ 	  else \
+ 	    dir=''; \
+ 	  fi; \
+@@ -599,10 +584,9 @@
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+ all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(HEADERS) all-local
++
+ installdirs:
+-	for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(includedir)"; do \
+-	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
+-	done
++	$(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(includedir)
+ install: install-am
+ install-exec: install-exec-am
+ install-data: install-data-am
+@@ -641,8 +625,6 @@
+ 
+ dvi-am:
+ 
+-html: html-am
+-
+ info: info-am
+ 
+ info-am:
+@@ -685,14 +667,14 @@
+ 	clean clean-checkPROGRAMS clean-generic clean-libLTLIBRARIES \
+ 	clean-libtool clean-noinstPROGRAMS ctags distclean \
+ 	distclean-compile distclean-generic distclean-libtool \
+-	distclean-tags distdir dvi dvi-am html html-am info info-am \
+-	install install-am install-data install-data-am install-exec \
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-data install-data-am install-exec \
+ 	install-exec-am install-includeHEADERS install-info \
+ 	install-info-am install-libLTLIBRARIES install-man \
+ 	install-strip installcheck installcheck-am installdirs \
+ 	maintainer-clean maintainer-clean-generic mostlyclean \
+-	mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
+-	pdf pdf-am ps ps-am tags uninstall uninstall-am \
++	mostlyclean-compile mostlyclean-generic mostlyclean-libtool pdf \
++	pdf-am ps ps-am tags uninstall uninstall-am \
+ 	uninstall-includeHEADERS uninstall-info-am \
+ 	uninstall-libLTLIBRARIES
+ 
+diff -ruN heimdal-0.6.3-old/lib/roken/Makefile.in heimdal-0.6.3/lib/roken/Makefile.in
+--- heimdal-0.6.3-old/lib/roken/Makefile.in	2004-09-13 22:29:35.000000000 +1000
++++ heimdal-0.6.3/lib/roken/Makefile.in	2004-09-14 08:40:03.000000000 +1000
+@@ -1,8 +1,8 @@
+-# Makefile.in generated by automake 1.8.3 from Makefile.am.
++# Makefile.in generated by automake 1.7.9 from Makefile.am.
+ # @configure_input@
+ 
+-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+-# 2003, 2004  Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
++# 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.
+@@ -20,10 +20,6 @@
+ 
+ # $Id: Makefile.am.common,v 1.37.2.2 2003/10/13 13:15:39 joda Exp $
+ 
+-
+-
+-SOURCES = $(libroken_la_SOURCES) $(EXTRA_libroken_la_SOURCES) $(libtest_la_SOURCES) base64-test.c getaddrinfo-test.c $(nodist_make_roken_SOURCES) parse_bytes-test.c $(parse_reply_test_SOURCES) $(snprintf_test_SOURCES) $(strpftime_test_SOURCES)
+-
+ srcdir = @srcdir@
+ top_srcdir = @top_srcdir@
+ VPATH = @srcdir@
+@@ -31,6 +27,7 @@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+ top_builddir = ../..
++
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+ INSTALL = @INSTALL@
+ install_sh_DATA = $(install_sh) -c -m 644
+@@ -45,153 +42,6 @@
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+ host_triplet = @host@
+-DIST_COMMON = $(am__include_HEADERS_DIST) $(srcdir)/Makefile.am \
+-	$(srcdir)/Makefile.in $(top_srcdir)/Makefile.am.common \
+-	$(top_srcdir)/cf/Makefile.am.common ChangeLog chown.c \
+-	copyhostent.c daemon.c ecalloc.c emalloc.c erealloc.c err.c \
+-	errx.c estrdup.c fchown.c flock.c fnmatch.c freeaddrinfo.c \
+-	freehostent.c gai_strerror.c getaddrinfo.c getcap.c getcwd.c \
+-	getdtablesize.c getegid.c geteuid.c getgid.c gethostname.c \
+-	getifaddrs.c getipnodebyaddr.c getipnodebyname.c getnameinfo.c \
+-	getopt.c gettimeofday.c getuid.c getusershell.c glob.c \
+-	hstrerror.c inet_aton.c inet_ntop.c inet_pton.c initgroups.c \
+-	innetgr.c install-sh iruserok.c localtime_r.c lstat.c \
+-	memmove.c missing mkinstalldirs mkstemp.c putenv.c rcmd.c \
+-	readv.c recvmsg.c sendmsg.c setegid.c setenv.c seteuid.c \
+-	strcasecmp.c strdup.c strerror.c strftime.c strlcat.c \
+-	strlcpy.c strlwr.c strncasecmp.c strndup.c strnlen.c \
+-	strptime.c strsep.c strsep_copy.c strtok_r.c strupr.c swab.c \
+-	unsetenv.c verr.c verrx.c vsyslog.c vwarn.c vwarnx.c warn.c \
+-	warnx.c writev.c
+-noinst_PROGRAMS = make-roken$(EXEEXT) snprintf-test$(EXEEXT)
+-check_PROGRAMS = base64-test$(EXEEXT) getaddrinfo-test$(EXEEXT) \
+-	parse_bytes-test$(EXEEXT) parse_reply-test$(EXEEXT) \
+-	snprintf-test$(EXEEXT) strpftime-test$(EXEEXT)
+-subdir = lib/roken
+-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+-am__aclocal_m4_deps = $(top_srcdir)/cf/aix.m4 \
+-	$(top_srcdir)/cf/auth-modules.m4 \
+-	$(top_srcdir)/cf/broken-getaddrinfo.m4 \
+-	$(top_srcdir)/cf/broken-getnameinfo.m4 \
+-	$(top_srcdir)/cf/broken-glob.m4 \
+-	$(top_srcdir)/cf/broken-realloc.m4 \
+-	$(top_srcdir)/cf/broken-snprintf.m4 $(top_srcdir)/cf/broken.m4 \
+-	$(top_srcdir)/cf/broken2.m4 $(top_srcdir)/cf/c-attribute.m4 \
+-	$(top_srcdir)/cf/capabilities.m4 \
+-	$(top_srcdir)/cf/check-compile-et.m4 \
+-	$(top_srcdir)/cf/check-declaration.m4 \
+-	$(top_srcdir)/cf/check-getpwnam_r-posix.m4 \
+-	$(top_srcdir)/cf/check-man.m4 \
+-	$(top_srcdir)/cf/check-netinet-ip-and-tcp.m4 \
+-	$(top_srcdir)/cf/check-type-extra.m4 \
+-	$(top_srcdir)/cf/check-var.m4 $(top_srcdir)/cf/check-x.m4 \
+-	$(top_srcdir)/cf/check-xau.m4 $(top_srcdir)/cf/crypto.m4 \
+-	$(top_srcdir)/cf/db.m4 $(top_srcdir)/cf/destdirs.m4 \
+-	$(top_srcdir)/cf/dlopen.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs2.m4 \
+-	$(top_srcdir)/cf/find-func.m4 \
+-	$(top_srcdir)/cf/find-if-not-broken.m4 \
+-	$(top_srcdir)/cf/have-struct-field.m4 \
+-	$(top_srcdir)/cf/have-type.m4 $(top_srcdir)/cf/irix.m4 \
+-	$(top_srcdir)/cf/krb-bigendian.m4 \
+-	$(top_srcdir)/cf/krb-func-getlogin.m4 \
+-	$(top_srcdir)/cf/krb-ipv6.m4 $(top_srcdir)/cf/krb-prog-ln-s.m4 \
+-	$(top_srcdir)/cf/krb-readline.m4 \
+-	$(top_srcdir)/cf/krb-struct-spwd.m4 \
+-	$(top_srcdir)/cf/krb-struct-winsize.m4 \
+-	$(top_srcdir)/cf/mips-abi.m4 $(top_srcdir)/cf/misc.m4 \
+-	$(top_srcdir)/cf/need-proto.m4 $(top_srcdir)/cf/osfc2.m4 \
+-	$(top_srcdir)/cf/otp.m4 $(top_srcdir)/cf/proto-compat.m4 \
+-	$(top_srcdir)/cf/retsigtype.m4 $(top_srcdir)/cf/roken-frag.m4 \
+-	$(top_srcdir)/cf/sunos.m4 $(top_srcdir)/cf/telnet.m4 \
+-	$(top_srcdir)/cf/test-package.m4 $(top_srcdir)/cf/wflags.m4 \
+-	$(top_srcdir)/cf/with-all.m4 $(top_srcdir)/configure.in
+-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+-	$(ACLOCAL_M4)
+-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = $(top_builddir)/include/config.h
+-CONFIG_CLEAN_FILES =
+-am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(man3dir)" "$(DESTDIR)$(includedir)" "$(DESTDIR)$(includedir)"
+-libLTLIBRARIES_INSTALL = $(INSTALL)
+-LTLIBRARIES = $(lib_LTLIBRARIES) $(noinst_LTLIBRARIES)
+-am__DEPENDENCIES_1 =
+-libroken_la_DEPENDENCIES = @LTLIBOBJS@ $(am__DEPENDENCIES_1)
+-am_libroken_la_OBJECTS = base64.lo bswap.lo concat.lo environment.lo \
+-	eread.lo esetenv.lo ewrite.lo getaddrinfo_hostspec.lo \
+-	get_default_username.lo get_window_size.lo getarg.lo \
+-	getnameinfo_verified.lo getprogname.lo h_errno.lo \
+-	hostent_find_fqdn.lo issuid.lo k_getpwnam.lo k_getpwuid.lo \
+-	mini_inetd.lo net_read.lo net_write.lo parse_bytes.lo \
+-	parse_time.lo parse_units.lo resolve.lo roken_gethostby.lo \
+-	rtbl.lo setprogname.lo signal.lo simple_exec.lo snprintf.lo \
+-	socket.lo strcollect.lo timeval.lo tm2time.lo unvis.lo \
+-	verify.lo vis.lo warnerr.lo write_pid.lo
+-libroken_la_OBJECTS = $(am_libroken_la_OBJECTS)
+-libtest_la_LIBADD =
+-am_libtest_la_OBJECTS = libtest_la-strftime.lo libtest_la-strptime.lo \
+-	libtest_la-snprintf.lo
+-libtest_la_OBJECTS = $(am_libtest_la_OBJECTS)
+-PROGRAMS = $(noinst_PROGRAMS)
+-base64_test_SOURCES = base64-test.c
+-base64_test_OBJECTS = base64-test.$(OBJEXT)
+-base64_test_LDADD = $(LDADD)
+-base64_test_DEPENDENCIES = libroken.la $(am__DEPENDENCIES_1)
+-getaddrinfo_test_SOURCES = getaddrinfo-test.c
+-getaddrinfo_test_OBJECTS = getaddrinfo-test.$(OBJEXT)
+-getaddrinfo_test_LDADD = $(LDADD)
+-getaddrinfo_test_DEPENDENCIES = libroken.la $(am__DEPENDENCIES_1)
+-nodist_make_roken_OBJECTS = make-roken.$(OBJEXT)
+-make_roken_OBJECTS = $(nodist_make_roken_OBJECTS)
+-make_roken_DEPENDENCIES =
+-parse_bytes_test_SOURCES = parse_bytes-test.c
+-parse_bytes_test_OBJECTS = parse_bytes-test.$(OBJEXT)
+-parse_bytes_test_LDADD = $(LDADD)
+-parse_bytes_test_DEPENDENCIES = libroken.la $(am__DEPENDENCIES_1)
+-am_parse_reply_test_OBJECTS =  \
+-	parse_reply_test-parse_reply-test.$(OBJEXT) \
+-	parse_reply_test-resolve.$(OBJEXT)
+-parse_reply_test_OBJECTS = $(am_parse_reply_test_OBJECTS)
+-parse_reply_test_LDADD = $(LDADD)
+-parse_reply_test_DEPENDENCIES = libroken.la $(am__DEPENDENCIES_1)
+-am_snprintf_test_OBJECTS = snprintf_test-snprintf-test.$(OBJEXT)
+-snprintf_test_OBJECTS = $(am_snprintf_test_OBJECTS)
+-am__DEPENDENCIES_2 = libroken.la $(am__DEPENDENCIES_1)
+-snprintf_test_DEPENDENCIES = libtest.la $(am__DEPENDENCIES_2)
+-am_strpftime_test_OBJECTS = strpftime-test.$(OBJEXT)
+-strpftime_test_OBJECTS = $(am_strpftime_test_OBJECTS)
+-strpftime_test_DEPENDENCIES = libtest.la $(am__DEPENDENCIES_2)
+-DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
+-depcomp =
+-am__depfiles_maybe =
+-COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+-	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) \
+-	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+-	$(AM_CFLAGS) $(CFLAGS)
+-CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+-	$(AM_LDFLAGS) $(LDFLAGS) -o $@
+-SOURCES = $(libroken_la_SOURCES) $(EXTRA_libroken_la_SOURCES) \
+-	$(libtest_la_SOURCES) base64-test.c getaddrinfo-test.c \
+-	$(nodist_make_roken_SOURCES) parse_bytes-test.c \
+-	$(parse_reply_test_SOURCES) $(snprintf_test_SOURCES) \
+-	$(strpftime_test_SOURCES)
+-DIST_SOURCES = $(libroken_la_SOURCES) $(EXTRA_libroken_la_SOURCES) \
+-	$(libtest_la_SOURCES) base64-test.c getaddrinfo-test.c \
+-	parse_bytes-test.c $(parse_reply_test_SOURCES) \
+-	$(snprintf_test_SOURCES) $(strpftime_test_SOURCES)
+-man3dir = $(mandir)/man3
+-MANS = $(man_MANS)
+-am__include_HEADERS_DIST = base64.h getarg.h parse_bytes.h \
+-	parse_time.h parse_units.h resolve.h roken-common.h rtbl.h \
+-	xdbm.h err.h fnmatch.h glob.h ifaddrs.h vis.h
+-includeHEADERS_INSTALL = $(INSTALL_HEADER)
+-nodist_includeHEADERS_INSTALL = $(INSTALL_HEADER)
+-HEADERS = $(include_HEADERS) $(nodist_include_HEADERS)
+-ETAGS = etags
+-CTAGS = ctags
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ ACLOCAL = @ACLOCAL@
+ AIX4_FALSE = @AIX4_FALSE@
+ AIX4_TRUE = @AIX4_TRUE@
+@@ -216,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -226,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -249,12 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
++
+ INCLUDE_krb4 = @INCLUDE_krb4@
++
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
++
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -267,6 +130,7 @@
+ KRB5_TRUE = @KRB5_TRUE@
+ LDFLAGS = @LDFLAGS@
+ LEX = @LEX@
++
+ LEXLIB = @LEXLIB@
+ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+ LIBOBJS = @LIBOBJS@
+@@ -275,6 +139,7 @@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+ LIB_XauFileName = @LIB_XauFileName@
++
+ LIB_XauReadAuth = @LIB_XauReadAuth@
+ LIB_XauWriteAuth = @LIB_XauWriteAuth@
+ LIB_bswap16 = @LIB_bswap16@
+@@ -323,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -403,7 +270,6 @@
+ libexecdir = @libexecdir@
+ localstatedir = @localstatedir@
+ mandir = @mandir@
+-mkdir_p = @mkdir_p@
+ oldincludedir = @oldincludedir@
+ prefix = @prefix@
+ program_transform_name = @program_transform_name@
+@@ -411,43 +277,78 @@
+ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
++
+ SUFFIXES = .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .hin
++
+ INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken)
++
+ @do_roken_rename_TRUE@ROKEN_RENAME = -DROKEN_RENAME
++
+ AM_CFLAGS = $(WFLAGS)
++
+ CP = cp
++
+ buildinclude = $(top_builddir)/include
+ LIB_getattr = @LIB_getattr@
+ LIB_getpwent_r = @LIB_getpwent_r@
+ LIB_odm_initialize = @LIB_odm_initialize@
+ LIB_setpcred = @LIB_setpcred@
++
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
++
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
++
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++
+ @KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
+ @KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+ 
+ @KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
++
+ @DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
++
+ ACLOCAL_AMFLAGS = -I ../../cf
++
+ CLEANFILES = roken.h make-roken.c $(XHEADERS)
++
+ lib_LTLIBRARIES = libroken.la
+ libroken_la_LDFLAGS = -version-info 16:3:0
++
++noinst_PROGRAMS = make-roken snprintf-test
++
+ nodist_make_roken_SOURCES = make-roken.c
++
++check_PROGRAMS = \
++		base64-test			\
++		getaddrinfo-test		\
++		parse_bytes-test		\
++		parse_reply-test		\
++		snprintf-test			\
++		strpftime-test
++
++
+ TESTS = $(check_PROGRAMS)
++
+ LDADD = libroken.la $(LIB_crypt)
+ make_roken_LDADD = 
++
+ noinst_LTLIBRARIES = libtest.la
+ libtest_la_SOURCES = strftime.c strptime.c snprintf.c
+ libtest_la_CFLAGS = -DTEST_SNPRINTF
++
+ parse_reply_test_SOURCES = parse_reply-test.c resolve.c
+ parse_reply_test_CFLAGS = -DTEST_RESOLVE
++
+ strpftime_test_SOURCES = strpftime-test.c
+ strpftime_test_LDADD = libtest.la $(LDADD)
+ snprintf_test_SOURCES = snprintf-test.c
+ snprintf_test_LDADD = libtest.la $(LDADD)
+ snprintf_test_CFLAGS = -DTEST_SNPRINTF
++
+ libroken_la_SOURCES = \
+ 	base64.c		\
+ 	bswap.c			\
+@@ -493,26 +394,37 @@
+ 	write_pid.c		\
+ 	xdbm.h
+ 
++
+ EXTRA_libroken_la_SOURCES = \
+ 	err.hin			\
+ 	glob.hin		\
+ 	ifaddrs.hin		\
+ 	vis.hin	
+ 
++
+ EXTRA_DIST = roken.awk roken.h.in
++
+ libroken_la_LIBADD = @LTLIBOBJS@ $(DBLIB)
++
+ BUILT_SOURCES = make-roken.c roken.h
+ @have_err_h_FALSE@err_h = err.h
++
+ @have_err_h_TRUE@err_h = 
+ @have_fnmatch_h_FALSE@fnmatch_h = fnmatch.h
++
+ @have_fnmatch_h_TRUE@fnmatch_h = 
+-@have_glob_h_FALSE@glob_h = glob.h
++
+ @have_glob_h_TRUE@glob_h = 
+-@have_ifaddrs_h_FALSE@ifaddrs_h = ifaddrs.h
++@have_glob_h_FALSE@glob_h = roken-glob.h
++
+ @have_ifaddrs_h_TRUE@ifaddrs_h = 
++@have_ifaddrs_h_FALSE@ifaddrs_h = ifaddrs.h
+ @have_vis_h_FALSE@vis_h = vis.h
++
+ @have_vis_h_TRUE@vis_h = 
++
+ XHEADERS = $(err_h) $(fnmatch_h) $(glob_h) $(ifaddrs_h) $(vis_h)
++
+ include_HEADERS = \
+ 	base64.h				\
+ 	getarg.h				\
+@@ -525,50 +437,130 @@
+ 	xdbm.h					\
+ 	$(XHEADERS) 
+ 
++
+ nodist_include_HEADERS = roken.h
++
+ man_MANS = getarg.3
++subdir = lib/roken
++ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
++mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++LTLIBRARIES = $(lib_LTLIBRARIES) $(noinst_LTLIBRARIES)
++
++libroken_la_DEPENDENCIES = @LTLIBOBJS@
++am_libroken_la_OBJECTS = base64.lo bswap.lo concat.lo environment.lo \
++	eread.lo esetenv.lo ewrite.lo getaddrinfo_hostspec.lo \
++	get_default_username.lo get_window_size.lo getarg.lo \
++	getnameinfo_verified.lo getprogname.lo h_errno.lo \
++	hostent_find_fqdn.lo issuid.lo k_getpwnam.lo k_getpwuid.lo \
++	mini_inetd.lo net_read.lo net_write.lo parse_bytes.lo \
++	parse_time.lo parse_units.lo resolve.lo roken_gethostby.lo \
++	rtbl.lo setprogname.lo signal.lo simple_exec.lo snprintf.lo \
++	socket.lo strcollect.lo timeval.lo tm2time.lo unvis.lo \
++	verify.lo vis.lo warnerr.lo write_pid.lo
++libroken_la_OBJECTS = $(am_libroken_la_OBJECTS)
++libtest_la_LDFLAGS =
++libtest_la_LIBADD =
++am_libtest_la_OBJECTS = libtest_la-strftime.lo libtest_la-strptime.lo \
++	libtest_la-snprintf.lo
++libtest_la_OBJECTS = $(am_libtest_la_OBJECTS)
++check_PROGRAMS = base64-test$(EXEEXT) getaddrinfo-test$(EXEEXT) \
++	parse_bytes-test$(EXEEXT) parse_reply-test$(EXEEXT) \
++	snprintf-test$(EXEEXT) strpftime-test$(EXEEXT)
++noinst_PROGRAMS = make-roken$(EXEEXT) snprintf-test$(EXEEXT)
++PROGRAMS = $(noinst_PROGRAMS)
++
++base64_test_SOURCES = base64-test.c
++base64_test_OBJECTS = base64-test.$(OBJEXT)
++base64_test_LDADD = $(LDADD)
++base64_test_DEPENDENCIES = libroken.la
++base64_test_LDFLAGS =
++getaddrinfo_test_SOURCES = getaddrinfo-test.c
++getaddrinfo_test_OBJECTS = getaddrinfo-test.$(OBJEXT)
++getaddrinfo_test_LDADD = $(LDADD)
++getaddrinfo_test_DEPENDENCIES = libroken.la
++getaddrinfo_test_LDFLAGS =
++nodist_make_roken_OBJECTS = make-roken.$(OBJEXT)
++make_roken_OBJECTS = $(nodist_make_roken_OBJECTS)
++make_roken_DEPENDENCIES =
++make_roken_LDFLAGS =
++parse_bytes_test_SOURCES = parse_bytes-test.c
++parse_bytes_test_OBJECTS = parse_bytes-test.$(OBJEXT)
++parse_bytes_test_LDADD = $(LDADD)
++parse_bytes_test_DEPENDENCIES = libroken.la
++parse_bytes_test_LDFLAGS =
++am_parse_reply_test_OBJECTS = \
++	parse_reply_test-parse_reply-test.$(OBJEXT) \
++	parse_reply_test-resolve.$(OBJEXT)
++parse_reply_test_OBJECTS = $(am_parse_reply_test_OBJECTS)
++parse_reply_test_LDADD = $(LDADD)
++parse_reply_test_DEPENDENCIES = libroken.la
++parse_reply_test_LDFLAGS =
++am_snprintf_test_OBJECTS = snprintf_test-snprintf-test.$(OBJEXT)
++snprintf_test_OBJECTS = $(am_snprintf_test_OBJECTS)
++snprintf_test_DEPENDENCIES = libtest.la libroken.la
++snprintf_test_LDFLAGS =
++am_strpftime_test_OBJECTS = strpftime-test.$(OBJEXT)
++strpftime_test_OBJECTS = $(am_strpftime_test_OBJECTS)
++strpftime_test_DEPENDENCIES = libtest.la libroken.la
++strpftime_test_LDFLAGS =
++
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
++depcomp =
++am__depfiles_maybe =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++CCLD = $(CC)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++DIST_SOURCES = $(libroken_la_SOURCES) $(EXTRA_libroken_la_SOURCES) \
++	$(libtest_la_SOURCES) base64-test.c getaddrinfo-test.c \
++	parse_bytes-test.c $(parse_reply_test_SOURCES) \
++	$(snprintf_test_SOURCES) $(strpftime_test_SOURCES)
++MANS = $(man_MANS)
++HEADERS = $(include_HEADERS) $(nodist_include_HEADERS)
++
++DIST_COMMON = $(include_HEADERS) $(srcdir)/Makefile.in \
++	$(top_srcdir)/Makefile.am.common \
++	$(top_srcdir)/cf/Makefile.am.common ChangeLog Makefile.am \
++	acinclude.m4 chown.c copyhostent.c daemon.c ecalloc.c emalloc.c \
++	erealloc.c err.c errx.c estrdup.c fchown.c flock.c fnmatch.c \
++	freeaddrinfo.c freehostent.c gai_strerror.c getaddrinfo.c \
++	getcap.c getcwd.c getdtablesize.c getegid.c geteuid.c getgid.c \
++	gethostname.c getifaddrs.c getipnodebyaddr.c getipnodebyname.c \
++	getnameinfo.c getopt.c gettimeofday.c getuid.c getusershell.c \
++	glob.c hstrerror.c inet_aton.c inet_ntop.c inet_pton.c \
++	initgroups.c innetgr.c install-sh iruserok.c localtime_r.c \
++	lstat.c memmove.c missing mkinstalldirs mkstemp.c putenv.c \
++	rcmd.c readv.c recvmsg.c sendmsg.c setegid.c setenv.c seteuid.c \
++	strcasecmp.c strdup.c strerror.c strftime.c strlcat.c strlcpy.c \
++	strlwr.c strncasecmp.c strndup.c strnlen.c strptime.c strsep.c \
++	strsep_copy.c strtok_r.c strupr.c swab.c unsetenv.c verr.c \
++	verrx.c vsyslog.c vwarn.c vwarnx.c warn.c warnx.c writev.c
++SOURCES = $(libroken_la_SOURCES) $(EXTRA_libroken_la_SOURCES) $(libtest_la_SOURCES) base64-test.c getaddrinfo-test.c $(nodist_make_roken_SOURCES) parse_bytes-test.c $(parse_reply_test_SOURCES) $(snprintf_test_SOURCES) $(strpftime_test_SOURCES)
++
+ all: $(BUILT_SOURCES)
+ 	$(MAKE) $(AM_MAKEFLAGS) all-am
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .hin .c .lo .o .obj
+-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(am__configure_deps)
+-	@for dep in $?; do \
+-	  case '$(am__configure_deps)' in \
+-	    *$$dep*) \
+-	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+-		&& exit 0; \
+-	      exit 1;; \
+-	  esac; \
+-	done; \
+-	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  --ignore-deps lib/roken/Makefile'; \
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+-	  $(AUTOMAKE) --foreign  --ignore-deps lib/roken/Makefile
+-.PRECIOUS: Makefile
+-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+-	@case '$?' in \
+-	  *config.status*) \
+-	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+-	  *) \
+-	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+-	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+-	esac;
+-
+-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-
+-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
++	  $(AUTOMAKE) --foreign  lib/roken/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
++libLTLIBRARIES_INSTALL = $(INSTALL)
+ install-libLTLIBRARIES: $(lib_LTLIBRARIES)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)"
++	$(mkinstalldirs) $(DESTDIR)$(libdir)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+ 	  if test -f $$p; then \
+ 	    f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	    echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
+-	    $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
++	    echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$f"; \
++	    $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+@@ -576,8 +568,8 @@
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+ 	    p="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \
+-	  $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \
++	  echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
++	  $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
+ 	done
+ 
+ clean-libLTLIBRARIES:
+@@ -638,19 +630,19 @@
+ 	$(LINK) $(strpftime_test_LDFLAGS) $(strpftime_test_OBJECTS) $(strpftime_test_LDADD) $(LIBS)
+ 
+ mostlyclean-compile:
+-	-rm -f *.$(OBJEXT)
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ .c.obj:
+-	$(COMPILE) -c `$(CYGPATH_W) '$<'`
++	$(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
+ 
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ libtest_la-strftime.o: strftime.c
+ 	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtest_la_CFLAGS) $(CFLAGS) -c -o libtest_la-strftime.o `test -f 'strftime.c' || echo '$(srcdir)/'`strftime.c
+@@ -715,9 +707,11 @@
+ distclean-libtool:
+ 	-rm -f libtool
+ uninstall-info-am:
++
++man3dir = $(mandir)/man3
+ install-man3: $(man3_MANS) $(man_MANS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(man3dir)" || $(mkdir_p) "$(DESTDIR)$(man3dir)"
++	$(mkinstalldirs) $(DESTDIR)$(man3dir)
+ 	@list='$(man3_MANS) $(dist_man3_MANS) $(nodist_man3_MANS)'; \
+ 	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
+ 	for i in $$l2; do \
+@@ -736,8 +730,8 @@
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+-	  echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man3dir)/$$inst'"; \
+-	  $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man3dir)/$$inst"; \
++	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man3dir)/$$inst"; \
++	  $(INSTALL_DATA) $$file $(DESTDIR)$(man3dir)/$$inst; \
+ 	done
+ uninstall-man3:
+ 	@$(NORMAL_UNINSTALL)
+@@ -757,44 +751,54 @@
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+-	  echo " rm -f '$(DESTDIR)$(man3dir)/$$inst'"; \
+-	  rm -f "$(DESTDIR)$(man3dir)/$$inst"; \
++	  echo " rm -f $(DESTDIR)$(man3dir)/$$inst"; \
++	  rm -f $(DESTDIR)$(man3dir)/$$inst; \
+ 	done
++includeHEADERS_INSTALL = $(INSTALL_HEADER)
+ install-includeHEADERS: $(include_HEADERS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(includedir)" || $(mkdir_p) "$(DESTDIR)$(includedir)"
++	$(mkinstalldirs) $(DESTDIR)$(includedir)
+ 	@list='$(include_HEADERS)'; for p in $$list; do \
+ 	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " $(includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(includedir)/$$f'"; \
+-	  $(includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(includedir)/$$f"; \
++	  echo " $(includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
++	  $(includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(includedir)/$$f; \
+ 	done
+ 
+ uninstall-includeHEADERS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(include_HEADERS)'; for p in $$list; do \
+ 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " rm -f '$(DESTDIR)$(includedir)/$$f'"; \
+-	  rm -f "$(DESTDIR)$(includedir)/$$f"; \
++	  echo " rm -f $(DESTDIR)$(includedir)/$$f"; \
++	  rm -f $(DESTDIR)$(includedir)/$$f; \
+ 	done
++nodist_includeHEADERS_INSTALL = $(INSTALL_HEADER)
+ install-nodist_includeHEADERS: $(nodist_include_HEADERS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(includedir)" || $(mkdir_p) "$(DESTDIR)$(includedir)"
++	$(mkinstalldirs) $(DESTDIR)$(includedir)
+ 	@list='$(nodist_include_HEADERS)'; for p in $$list; do \
+ 	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " $(nodist_includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(includedir)/$$f'"; \
+-	  $(nodist_includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(includedir)/$$f"; \
++	  echo " $(nodist_includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
++	  $(nodist_includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(includedir)/$$f; \
+ 	done
+ 
+ uninstall-nodist_includeHEADERS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(nodist_include_HEADERS)'; for p in $$list; do \
+ 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " rm -f '$(DESTDIR)$(includedir)/$$f'"; \
+-	  rm -f "$(DESTDIR)$(includedir)/$$f"; \
++	  echo " rm -f $(DESTDIR)$(includedir)/$$f"; \
++	  rm -f $(DESTDIR)$(includedir)/$$f; \
+ 	done
+ 
++ETAGS = etags
++ETAGSFLAGS =
++
++CTAGS = ctags
++CTAGSFLAGS =
++
++tags: TAGS
++
+ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ 	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ 	unique=`for i in $$list; do \
+@@ -803,7 +807,6 @@
+ 	  $(AWK) '    { files[$$0] = 1; } \
+ 	       END { for (i in files) print i; }'`; \
+ 	mkid -fID $$unique
+-tags: TAGS
+ 
+ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -818,6 +821,7 @@
+ 	test -z "$(ETAGS_ARGS)$$tags$$unique" \
+ 	  || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ 	     $$tags $$unique
++
+ ctags: CTAGS
+ CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -854,24 +858,24 @@
+ 	      all=`expr $$all + 1`; \
+ 	      case " $(XFAIL_TESTS) " in \
+ 	      *" $$tst "*) \
+-		xpass=`expr $$xpass + 1`; \
+-		failed=`expr $$failed + 1`; \
+-		echo "XPASS: $$tst"; \
++	        xpass=`expr $$xpass + 1`; \
++	        failed=`expr $$failed + 1`; \
++	        echo "XPASS: $$tst"; \
+ 	      ;; \
+ 	      *) \
+-		echo "PASS: $$tst"; \
++	        echo "PASS: $$tst"; \
+ 	      ;; \
+ 	      esac; \
+ 	    elif test $$? -ne 77; then \
+ 	      all=`expr $$all + 1`; \
+ 	      case " $(XFAIL_TESTS) " in \
+ 	      *" $$tst "*) \
+-		xfail=`expr $$xfail + 1`; \
+-		echo "XFAIL: $$tst"; \
++	        xfail=`expr $$xfail + 1`; \
++	        echo "XFAIL: $$tst"; \
+ 	      ;; \
+ 	      *) \
+-		failed=`expr $$failed + 1`; \
+-		echo "FAIL: $$tst"; \
++	        failed=`expr $$failed + 1`; \
++	        echo "FAIL: $$tst"; \
+ 	      ;; \
+ 	      esac; \
+ 	    else \
+@@ -913,9 +917,13 @@
+ 	  echo "$$dashes"; \
+ 	  test "$$failed" -eq 0; \
+ 	else :; fi
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	$(mkdir_p) $(distdir)/../.. $(distdir)/../../cf
++	$(mkinstalldirs) $(distdir)/../.. $(distdir)/../../cf
+ 	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ 	list='$(DISTFILES)'; for file in $$list; do \
+@@ -927,7 +935,7 @@
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ 	    dir="/$$dir"; \
+-	    $(mkdir_p) "$(distdir)$$dir"; \
++	    $(mkinstalldirs) "$(distdir)$$dir"; \
+ 	  else \
+ 	    dir=''; \
+ 	  fi; \
+@@ -950,12 +958,10 @@
+ 	$(MAKE) $(AM_MAKEFLAGS) check-TESTS check-local
+ check: $(BUILT_SOURCES)
+ 	$(MAKE) $(AM_MAKEFLAGS) check-am
+-all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(MANS) $(HEADERS) \
+-		all-local
++all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(MANS) $(HEADERS) all-local
++
+ installdirs:
+-	for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(man3dir)" "$(DESTDIR)$(includedir)" "$(DESTDIR)$(includedir)"; do \
+-	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
+-	done
++	$(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(man3dir) $(DESTDIR)$(includedir) $(DESTDIR)$(includedir)
+ install: $(BUILT_SOURCES)
+ 	$(MAKE) $(AM_MAKEFLAGS) install-am
+ install-exec: install-exec-am
+@@ -998,8 +1004,6 @@
+ 
+ dvi-am:
+ 
+-html: html-am
+-
+ info: info-am
+ 
+ info-am:
+@@ -1047,8 +1051,8 @@
+ 	clean-libLTLIBRARIES clean-libtool clean-noinstLTLIBRARIES \
+ 	clean-noinstPROGRAMS ctags distclean distclean-compile \
+ 	distclean-generic distclean-libtool distclean-tags distdir dvi \
+-	dvi-am html html-am info info-am install install-am \
+-	install-data install-data-am install-exec install-exec-am \
++	dvi-am info info-am install install-am install-data \
++	install-data-am install-exec install-exec-am \
+ 	install-includeHEADERS install-info install-info-am \
+ 	install-libLTLIBRARIES install-man install-man3 \
+ 	install-nodist_includeHEADERS install-strip installcheck \
+@@ -1193,6 +1197,8 @@
+ $(LTLIBOBJS) $(libroken_la_OBJECTS): roken.h $(XHEADERS)
+ .hin.h:
+ 	cp $< $@
++roken-glob.h:
++	cp glob.hin roken-glob.h
+ 
+ roken.h: make-roken$(EXEEXT)
+ 	@./make-roken$(EXEEXT) > tmp.h ;\
+diff -ruN heimdal-0.6.3-old/lib/sl/Makefile.in heimdal-0.6.3/lib/sl/Makefile.in
+--- heimdal-0.6.3-old/lib/sl/Makefile.in	2004-09-13 22:29:37.000000000 +1000
++++ heimdal-0.6.3/lib/sl/Makefile.in	2004-09-14 08:40:03.000000000 +1000
+@@ -1,8 +1,8 @@
+-# Makefile.in generated by automake 1.8.3 from Makefile.am.
++# Makefile.in generated by automake 1.7.9 from Makefile.am.
+ # @configure_input@
+ 
+-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+-# 2003, 2004  Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
++# 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.
+@@ -20,10 +20,6 @@
+ 
+ # $Id: Makefile.am.common,v 1.37.2.2 2003/10/13 13:15:39 joda Exp $
+ 
+-
+-
+-SOURCES = $(libsl_la_SOURCES) $(libss_la_SOURCES) $(mk_cmds_SOURCES)
+-
+ srcdir = @srcdir@
+ top_srcdir = @top_srcdir@
+ VPATH = @srcdir@
+@@ -31,6 +27,7 @@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+ top_builddir = ../..
++
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+ INSTALL = @INSTALL@
+ install_sh_DATA = $(install_sh) -c -m 644
+@@ -45,105 +42,6 @@
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+ host_triplet = @host@
+-DIST_COMMON = $(include_HEADERS) $(srcdir)/Makefile.am \
+-	$(srcdir)/Makefile.in $(ssinclude_HEADERS) \
+-	$(top_srcdir)/Makefile.am.common \
+-	$(top_srcdir)/cf/Makefile.am.common ChangeLog lex.c parse.c \
+-	parse.h
+-bin_PROGRAMS = mk_cmds$(EXEEXT)
+-subdir = lib/sl
+-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+-am__aclocal_m4_deps = $(top_srcdir)/cf/aix.m4 \
+-	$(top_srcdir)/cf/auth-modules.m4 \
+-	$(top_srcdir)/cf/broken-getaddrinfo.m4 \
+-	$(top_srcdir)/cf/broken-getnameinfo.m4 \
+-	$(top_srcdir)/cf/broken-glob.m4 \
+-	$(top_srcdir)/cf/broken-realloc.m4 \
+-	$(top_srcdir)/cf/broken-snprintf.m4 $(top_srcdir)/cf/broken.m4 \
+-	$(top_srcdir)/cf/broken2.m4 $(top_srcdir)/cf/c-attribute.m4 \
+-	$(top_srcdir)/cf/capabilities.m4 \
+-	$(top_srcdir)/cf/check-compile-et.m4 \
+-	$(top_srcdir)/cf/check-declaration.m4 \
+-	$(top_srcdir)/cf/check-getpwnam_r-posix.m4 \
+-	$(top_srcdir)/cf/check-man.m4 \
+-	$(top_srcdir)/cf/check-netinet-ip-and-tcp.m4 \
+-	$(top_srcdir)/cf/check-type-extra.m4 \
+-	$(top_srcdir)/cf/check-var.m4 $(top_srcdir)/cf/check-x.m4 \
+-	$(top_srcdir)/cf/check-xau.m4 $(top_srcdir)/cf/crypto.m4 \
+-	$(top_srcdir)/cf/db.m4 $(top_srcdir)/cf/destdirs.m4 \
+-	$(top_srcdir)/cf/dlopen.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs2.m4 \
+-	$(top_srcdir)/cf/find-func.m4 \
+-	$(top_srcdir)/cf/find-if-not-broken.m4 \
+-	$(top_srcdir)/cf/have-struct-field.m4 \
+-	$(top_srcdir)/cf/have-type.m4 $(top_srcdir)/cf/irix.m4 \
+-	$(top_srcdir)/cf/krb-bigendian.m4 \
+-	$(top_srcdir)/cf/krb-func-getlogin.m4 \
+-	$(top_srcdir)/cf/krb-ipv6.m4 $(top_srcdir)/cf/krb-prog-ln-s.m4 \
+-	$(top_srcdir)/cf/krb-readline.m4 \
+-	$(top_srcdir)/cf/krb-struct-spwd.m4 \
+-	$(top_srcdir)/cf/krb-struct-winsize.m4 \
+-	$(top_srcdir)/cf/mips-abi.m4 $(top_srcdir)/cf/misc.m4 \
+-	$(top_srcdir)/cf/need-proto.m4 $(top_srcdir)/cf/osfc2.m4 \
+-	$(top_srcdir)/cf/otp.m4 $(top_srcdir)/cf/proto-compat.m4 \
+-	$(top_srcdir)/cf/retsigtype.m4 $(top_srcdir)/cf/roken-frag.m4 \
+-	$(top_srcdir)/cf/sunos.m4 $(top_srcdir)/cf/telnet.m4 \
+-	$(top_srcdir)/cf/test-package.m4 $(top_srcdir)/cf/wflags.m4 \
+-	$(top_srcdir)/cf/with-all.m4 $(top_srcdir)/configure.in
+-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+-	$(ACLOCAL_M4)
+-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = $(top_builddir)/include/config.h
+-CONFIG_CLEAN_FILES =
+-am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(includedir)" "$(DESTDIR)$(ssincludedir)"
+-libLTLIBRARIES_INSTALL = $(INSTALL)
+-LTLIBRARIES = $(lib_LTLIBRARIES)
+-libsl_la_DEPENDENCIES =
+-am__libsl_la_SOURCES_DIST = sl_locl.h sl.c strtok_r.c snprintf.c \
+-	strdup.c strupr.c getprogname.c
+-@do_roken_rename_TRUE@am__objects_1 = strtok_r.lo snprintf.lo \
+-@do_roken_rename_TRUE@	strdup.lo strupr.lo getprogname.lo
+-am_libsl_la_OBJECTS = sl.lo $(am__objects_1)
+-libsl_la_OBJECTS = $(am_libsl_la_OBJECTS)
+-libss_la_DEPENDENCIES =
+-am__libss_la_SOURCES_DIST = sl_locl.h sl.c strtok_r.c snprintf.c \
+-	strdup.c strupr.c getprogname.c ss.c ss.h
+-am__objects_2 = sl.lo $(am__objects_1)
+-am_libss_la_OBJECTS = $(am__objects_2) ss.lo
+-libss_la_OBJECTS = $(am_libss_la_OBJECTS)
+-binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+-PROGRAMS = $(bin_PROGRAMS)
+-am_mk_cmds_OBJECTS = make_cmds.$(OBJEXT) parse.$(OBJEXT) lex.$(OBJEXT)
+-mk_cmds_OBJECTS = $(am_mk_cmds_OBJECTS)
+-am__DEPENDENCIES_1 =
+-am__DEPENDENCIES_2 = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
+-mk_cmds_DEPENDENCIES = libsl.la $(am__DEPENDENCIES_2)
+-DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
+-depcomp =
+-am__depfiles_maybe =
+-COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+-	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) \
+-	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+-	$(AM_CFLAGS) $(CFLAGS)
+-CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+-	$(AM_LDFLAGS) $(LDFLAGS) -o $@
+-LEXCOMPILE = $(LEX) $(LFLAGS) $(AM_LFLAGS)
+-LTLEXCOMPILE = $(LIBTOOL) --mode=compile $(LEX) $(LFLAGS) $(AM_LFLAGS)
+-YACCCOMPILE = $(YACC) $(YFLAGS) $(AM_YFLAGS)
+-LTYACCCOMPILE = $(LIBTOOL) --mode=compile $(YACC) $(YFLAGS) \
+-	$(AM_YFLAGS)
+-SOURCES = $(libsl_la_SOURCES) $(libss_la_SOURCES) $(mk_cmds_SOURCES)
+-DIST_SOURCES = $(am__libsl_la_SOURCES_DIST) \
+-	$(am__libss_la_SOURCES_DIST) $(mk_cmds_SOURCES)
+-includeHEADERS_INSTALL = $(INSTALL_HEADER)
+-ssincludeHEADERS_INSTALL = $(INSTALL_HEADER)
+-HEADERS = $(include_HEADERS) $(ssinclude_HEADERS)
+-ETAGS = etags
+-CTAGS = ctags
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ ACLOCAL = @ACLOCAL@
+ AIX4_FALSE = @AIX4_FALSE@
+ AIX4_TRUE = @AIX4_TRUE@
+@@ -168,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -178,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -201,12 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
++
+ INCLUDE_krb4 = @INCLUDE_krb4@
++
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
++
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -219,6 +130,7 @@
+ KRB5_TRUE = @KRB5_TRUE@
+ LDFLAGS = @LDFLAGS@
+ LEX = @LEX@
++
+ LEXLIB = @LEXLIB@
+ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+ LIBOBJS = @LIBOBJS@
+@@ -227,6 +139,7 @@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+ LIB_XauFileName = @LIB_XauFileName@
++
+ LIB_XauReadAuth = @LIB_XauReadAuth@
+ LIB_XauWriteAuth = @LIB_XauWriteAuth@
+ LIB_bswap16 = @LIB_bswap16@
+@@ -275,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -355,7 +270,6 @@
+ libexecdir = @libexecdir@
+ localstatedir = @localstatedir@
+ mandir = @mandir@
+-mkdir_p = @mkdir_p@
+ oldincludedir = @oldincludedir@
+ prefix = @prefix@
+ program_transform_name = @program_transform_name@
+@@ -363,85 +277,142 @@
+ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
++
+ SUFFIXES = .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8
++
+ INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) $(ROKEN_RENAME)
++
+ @do_roken_rename_TRUE@ROKEN_RENAME = -DROKEN_RENAME
++
+ AM_CFLAGS = $(WFLAGS)
++
+ CP = cp
++
+ buildinclude = $(top_builddir)/include
+ LIB_getattr = @LIB_getattr@
+ LIB_getpwent_r = @LIB_getpwent_r@
+ LIB_odm_initialize = @LIB_odm_initialize@
+ LIB_setpcred = @LIB_setpcred@
++
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
++
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
++
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++
+ @KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
+ @KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+ 
+ @KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
++
+ @DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
++
+ @do_roken_rename_TRUE@ES = strtok_r.c snprintf.c strdup.c strupr.c getprogname.c
++
+ YFLAGS = -d
++
+ include_HEADERS = sl.h
++
+ lib_LTLIBRARIES = libsl.la libss.la
+ libsl_la_LDFLAGS = -version-info 1:2:1
+ libss_la_LDFLAGS = -version-info 1:4:1
++
+ libsl_la_LIBADD = @LIB_readline@
+ libss_la_LIBADD = @LIB_readline@ @LIB_com_err@
++
+ libsl_la_SOURCES = sl_locl.h sl.c $(ES)
+ libss_la_SOURCES = $(libsl_la_SOURCES) ss.c ss.h
++
++
++# install these?
++bin_PROGRAMS = mk_cmds
++
+ mk_cmds_SOURCES = make_cmds.c make_cmds.h parse.y lex.l
+ mk_cmds_LDADD = libsl.la $(LDADD)
++
+ ssincludedir = $(includedir)/ss
+ ssinclude_HEADERS = ss.h
++
+ CLEANFILES = lex.c parse.c parse.h snprintf.c strtok_r.c strdup.c strupr.c getprogname.c
++
+ LDADD = \
+ 	$(LIB_roken)				\
+ 	$(LEXLIB)
+ 
++subdir = lib/sl
++ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
++mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++LTLIBRARIES = $(lib_LTLIBRARIES)
++
++libsl_la_DEPENDENCIES =
++am__libsl_la_SOURCES_DIST = sl_locl.h sl.c strtok_r.c snprintf.c \
++	strdup.c strupr.c getprogname.c
++@do_roken_rename_TRUE@am__objects_1 = strtok_r.lo snprintf.lo strdup.lo \
++@do_roken_rename_TRUE@	strupr.lo getprogname.lo
++am_libsl_la_OBJECTS = sl.lo $(am__objects_1)
++libsl_la_OBJECTS = $(am_libsl_la_OBJECTS)
++libss_la_DEPENDENCIES =
++am__libss_la_SOURCES_DIST = sl_locl.h sl.c strtok_r.c snprintf.c \
++	strdup.c strupr.c getprogname.c ss.c ss.h
++am__objects_2 = sl.lo $(am__objects_1)
++am_libss_la_OBJECTS = $(am__objects_2) ss.lo
++libss_la_OBJECTS = $(am_libss_la_OBJECTS)
++bin_PROGRAMS = mk_cmds$(EXEEXT)
++PROGRAMS = $(bin_PROGRAMS)
++
++am_mk_cmds_OBJECTS = make_cmds.$(OBJEXT) parse.$(OBJEXT) lex.$(OBJEXT)
++mk_cmds_OBJECTS = $(am_mk_cmds_OBJECTS)
++mk_cmds_DEPENDENCIES = libsl.la
++mk_cmds_LDFLAGS =
++
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
++depcomp =
++am__depfiles_maybe =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++CCLD = $(CC)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++LEXCOMPILE = $(LEX) $(LFLAGS) $(AM_LFLAGS)
++LTLEXCOMPILE = $(LIBTOOL) --mode=compile $(LEX) $(LFLAGS) $(AM_LFLAGS)
++YACCCOMPILE = $(YACC) $(YFLAGS) $(AM_YFLAGS)
++LTYACCCOMPILE = $(LIBTOOL) --mode=compile $(YACC) $(YFLAGS) $(AM_YFLAGS)
++DIST_SOURCES = $(am__libsl_la_SOURCES_DIST) $(am__libss_la_SOURCES_DIST) \
++	$(mk_cmds_SOURCES)
++HEADERS = $(include_HEADERS) $(ssinclude_HEADERS)
++
++DIST_COMMON = $(include_HEADERS) $(srcdir)/Makefile.in \
++	$(ssinclude_HEADERS) $(top_srcdir)/Makefile.am.common \
++	$(top_srcdir)/cf/Makefile.am.common ChangeLog Makefile.am lex.c \
++	parse.c parse.h
++SOURCES = $(libsl_la_SOURCES) $(libss_la_SOURCES) $(mk_cmds_SOURCES)
++
+ all: all-am
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .l .lo .o .obj .y
+-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(am__configure_deps)
+-	@for dep in $?; do \
+-	  case '$(am__configure_deps)' in \
+-	    *$$dep*) \
+-	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+-		&& exit 0; \
+-	      exit 1;; \
+-	  esac; \
+-	done; \
+-	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  --ignore-deps lib/sl/Makefile'; \
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+-	  $(AUTOMAKE) --foreign  --ignore-deps lib/sl/Makefile
+-.PRECIOUS: Makefile
+-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+-	@case '$?' in \
+-	  *config.status*) \
+-	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+-	  *) \
+-	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+-	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+-	esac;
+-
+-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-
+-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
++	  $(AUTOMAKE) --foreign  lib/sl/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
++libLTLIBRARIES_INSTALL = $(INSTALL)
+ install-libLTLIBRARIES: $(lib_LTLIBRARIES)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)"
++	$(mkinstalldirs) $(DESTDIR)$(libdir)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+ 	  if test -f $$p; then \
+ 	    f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	    echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
+-	    $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
++	    echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$f"; \
++	    $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+@@ -449,8 +420,8 @@
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+ 	    p="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \
+-	  $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \
++	  echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
++	  $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
+ 	done
+ 
+ clean-libLTLIBRARIES:
+@@ -465,17 +436,18 @@
+ 	$(LINK) -rpath $(libdir) $(libsl_la_LDFLAGS) $(libsl_la_OBJECTS) $(libsl_la_LIBADD) $(LIBS)
+ libss.la: $(libss_la_OBJECTS) $(libss_la_DEPENDENCIES) 
+ 	$(LINK) -rpath $(libdir) $(libss_la_LDFLAGS) $(libss_la_OBJECTS) $(libss_la_LIBADD) $(LIBS)
++binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ install-binPROGRAMS: $(bin_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
++	$(mkinstalldirs) $(DESTDIR)$(bindir)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+ 	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+ 	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+-	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
+-	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f || exit 1; \
+ 	  else :; fi; \
+ 	done
+ 
+@@ -483,8 +455,8 @@
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+ 	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
+-	  rm -f "$(DESTDIR)$(bindir)/$$f"; \
++	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
++	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+ clean-binPROGRAMS:
+@@ -503,27 +475,27 @@
+ 	$(LINK) $(mk_cmds_LDFLAGS) $(mk_cmds_OBJECTS) $(mk_cmds_LDADD) $(LIBS)
+ 
+ mostlyclean-compile:
+-	-rm -f *.$(OBJEXT)
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ .c.obj:
+-	$(COMPILE) -c `$(CYGPATH_W) '$<'`
++	$(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
+ 
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ .l.c:
+-	$(LEXCOMPILE) $<
++	$(LEXCOMPILE) `test -f $< || echo '$(srcdir)/'`$<
+ 	sed '/^#/ s|$(LEX_OUTPUT_ROOT)\.c|$@|' $(LEX_OUTPUT_ROOT).c >$@
+ 	rm -f $(LEX_OUTPUT_ROOT).c
+ 
+ .y.c:
+-	$(YACCCOMPILE) $<
++	$(YACCCOMPILE) `test -f '$<' || echo '$(srcdir)/'`$<
+ 	if test -f y.tab.h; then \
+ 	  to=`echo "$*_H" | sed \
+                 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/' \
+@@ -551,41 +523,51 @@
+ distclean-libtool:
+ 	-rm -f libtool
+ uninstall-info-am:
++includeHEADERS_INSTALL = $(INSTALL_HEADER)
+ install-includeHEADERS: $(include_HEADERS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(includedir)" || $(mkdir_p) "$(DESTDIR)$(includedir)"
++	$(mkinstalldirs) $(DESTDIR)$(includedir)
+ 	@list='$(include_HEADERS)'; for p in $$list; do \
+ 	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " $(includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(includedir)/$$f'"; \
+-	  $(includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(includedir)/$$f"; \
++	  echo " $(includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
++	  $(includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(includedir)/$$f; \
+ 	done
+ 
+ uninstall-includeHEADERS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(include_HEADERS)'; for p in $$list; do \
+ 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " rm -f '$(DESTDIR)$(includedir)/$$f'"; \
+-	  rm -f "$(DESTDIR)$(includedir)/$$f"; \
++	  echo " rm -f $(DESTDIR)$(includedir)/$$f"; \
++	  rm -f $(DESTDIR)$(includedir)/$$f; \
+ 	done
++ssincludeHEADERS_INSTALL = $(INSTALL_HEADER)
+ install-ssincludeHEADERS: $(ssinclude_HEADERS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(ssincludedir)" || $(mkdir_p) "$(DESTDIR)$(ssincludedir)"
++	$(mkinstalldirs) $(DESTDIR)$(ssincludedir)
+ 	@list='$(ssinclude_HEADERS)'; for p in $$list; do \
+ 	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " $(ssincludeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(ssincludedir)/$$f'"; \
+-	  $(ssincludeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(ssincludedir)/$$f"; \
++	  echo " $(ssincludeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(ssincludedir)/$$f"; \
++	  $(ssincludeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(ssincludedir)/$$f; \
+ 	done
+ 
+ uninstall-ssincludeHEADERS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(ssinclude_HEADERS)'; for p in $$list; do \
+ 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " rm -f '$(DESTDIR)$(ssincludedir)/$$f'"; \
+-	  rm -f "$(DESTDIR)$(ssincludedir)/$$f"; \
++	  echo " rm -f $(DESTDIR)$(ssincludedir)/$$f"; \
++	  rm -f $(DESTDIR)$(ssincludedir)/$$f; \
+ 	done
+ 
++ETAGS = etags
++ETAGSFLAGS =
++
++CTAGS = ctags
++CTAGSFLAGS =
++
++tags: TAGS
++
+ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ 	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ 	unique=`for i in $$list; do \
+@@ -594,7 +576,6 @@
+ 	  $(AWK) '    { files[$$0] = 1; } \
+ 	       END { for (i in files) print i; }'`; \
+ 	mkid -fID $$unique
+-tags: TAGS
+ 
+ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -609,6 +590,7 @@
+ 	test -z "$(ETAGS_ARGS)$$tags$$unique" \
+ 	  || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ 	     $$tags $$unique
++
+ ctags: CTAGS
+ CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -631,9 +613,13 @@
+ 
+ distclean-tags:
+ 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	$(mkdir_p) $(distdir)/../.. $(distdir)/../../cf
++	$(mkinstalldirs) $(distdir)/../.. $(distdir)/../../cf
+ 	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ 	list='$(DISTFILES)'; for file in $$list; do \
+@@ -645,7 +631,7 @@
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ 	    dir="/$$dir"; \
+-	    $(mkdir_p) "$(distdir)$$dir"; \
++	    $(mkinstalldirs) "$(distdir)$$dir"; \
+ 	  else \
+ 	    dir=''; \
+ 	  fi; \
+@@ -669,10 +655,9 @@
+ all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(HEADERS) all-local
+ install-binPROGRAMS: install-libLTLIBRARIES
+ 
++
+ installdirs:
+-	for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(includedir)" "$(DESTDIR)$(ssincludedir)"; do \
+-	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
+-	done
++	$(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(bindir) $(DESTDIR)$(includedir) $(DESTDIR)$(ssincludedir)
+ install: install-am
+ install-exec: install-exec-am
+ install-data: install-data-am
+@@ -715,8 +700,6 @@
+ 
+ dvi-am:
+ 
+-html: html-am
+-
+ info: info-am
+ 
+ info-am:
+@@ -760,17 +743,17 @@
+ 	clean clean-binPROGRAMS clean-generic clean-libLTLIBRARIES \
+ 	clean-libtool ctags distclean distclean-compile \
+ 	distclean-generic distclean-libtool distclean-tags distdir dvi \
+-	dvi-am html html-am info info-am install install-am \
+-	install-binPROGRAMS install-data install-data-am install-exec \
+-	install-exec-am install-includeHEADERS install-info \
+-	install-info-am install-libLTLIBRARIES install-man \
+-	install-ssincludeHEADERS install-strip installcheck \
+-	installcheck-am installdirs maintainer-clean \
+-	maintainer-clean-generic mostlyclean mostlyclean-compile \
+-	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+-	tags uninstall uninstall-am uninstall-binPROGRAMS \
+-	uninstall-includeHEADERS uninstall-info-am \
+-	uninstall-libLTLIBRARIES uninstall-ssincludeHEADERS
++	dvi-am info info-am install install-am install-binPROGRAMS \
++	install-data install-data-am install-exec install-exec-am \
++	install-includeHEADERS install-info install-info-am \
++	install-libLTLIBRARIES install-man install-ssincludeHEADERS \
++	install-strip installcheck installcheck-am installdirs \
++	maintainer-clean maintainer-clean-generic mostlyclean \
++	mostlyclean-compile mostlyclean-generic mostlyclean-libtool pdf \
++	pdf-am ps ps-am tags uninstall uninstall-am \
++	uninstall-binPROGRAMS uninstall-includeHEADERS \
++	uninstall-info-am uninstall-libLTLIBRARIES \
++	uninstall-ssincludeHEADERS
+ 
+ 
+ install-suid-programs:
+diff -ruN heimdal-0.6.3-old/lib/vers/Makefile.in heimdal-0.6.3/lib/vers/Makefile.in
+--- heimdal-0.6.3-old/lib/vers/Makefile.in	2004-09-13 22:29:38.000000000 +1000
++++ heimdal-0.6.3/lib/vers/Makefile.in	2004-09-14 08:40:04.000000000 +1000
+@@ -1,8 +1,8 @@
+-# Makefile.in generated by automake 1.8.3 from Makefile.am.
++# Makefile.in generated by automake 1.7.9 from Makefile.am.
+ # @configure_input@
+ 
+-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+-# 2003, 2004  Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
++# 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.
+@@ -20,9 +20,6 @@
+ 
+ # $Id: Makefile.am.common,v 1.37.2.2 2003/10/13 13:15:39 joda Exp $
+ 
+-
+-SOURCES = $(libvers_la_SOURCES) make-print-version.c
+-
+ srcdir = @srcdir@
+ top_srcdir = @top_srcdir@
+ VPATH = @srcdir@
+@@ -30,6 +27,7 @@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+ top_builddir = ../..
++
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+ INSTALL = @INSTALL@
+ install_sh_DATA = $(install_sh) -c -m 644
+@@ -44,82 +42,6 @@
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+ host_triplet = @host@
+-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+-	$(top_srcdir)/Makefile.am.common \
+-	$(top_srcdir)/cf/Makefile.am.common ChangeLog
+-noinst_PROGRAMS = make-print-version$(EXEEXT)
+-subdir = lib/vers
+-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+-am__aclocal_m4_deps = $(top_srcdir)/cf/aix.m4 \
+-	$(top_srcdir)/cf/auth-modules.m4 \
+-	$(top_srcdir)/cf/broken-getaddrinfo.m4 \
+-	$(top_srcdir)/cf/broken-getnameinfo.m4 \
+-	$(top_srcdir)/cf/broken-glob.m4 \
+-	$(top_srcdir)/cf/broken-realloc.m4 \
+-	$(top_srcdir)/cf/broken-snprintf.m4 $(top_srcdir)/cf/broken.m4 \
+-	$(top_srcdir)/cf/broken2.m4 $(top_srcdir)/cf/c-attribute.m4 \
+-	$(top_srcdir)/cf/capabilities.m4 \
+-	$(top_srcdir)/cf/check-compile-et.m4 \
+-	$(top_srcdir)/cf/check-declaration.m4 \
+-	$(top_srcdir)/cf/check-getpwnam_r-posix.m4 \
+-	$(top_srcdir)/cf/check-man.m4 \
+-	$(top_srcdir)/cf/check-netinet-ip-and-tcp.m4 \
+-	$(top_srcdir)/cf/check-type-extra.m4 \
+-	$(top_srcdir)/cf/check-var.m4 $(top_srcdir)/cf/check-x.m4 \
+-	$(top_srcdir)/cf/check-xau.m4 $(top_srcdir)/cf/crypto.m4 \
+-	$(top_srcdir)/cf/db.m4 $(top_srcdir)/cf/destdirs.m4 \
+-	$(top_srcdir)/cf/dlopen.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs2.m4 \
+-	$(top_srcdir)/cf/find-func.m4 \
+-	$(top_srcdir)/cf/find-if-not-broken.m4 \
+-	$(top_srcdir)/cf/have-struct-field.m4 \
+-	$(top_srcdir)/cf/have-type.m4 $(top_srcdir)/cf/irix.m4 \
+-	$(top_srcdir)/cf/krb-bigendian.m4 \
+-	$(top_srcdir)/cf/krb-func-getlogin.m4 \
+-	$(top_srcdir)/cf/krb-ipv6.m4 $(top_srcdir)/cf/krb-prog-ln-s.m4 \
+-	$(top_srcdir)/cf/krb-readline.m4 \
+-	$(top_srcdir)/cf/krb-struct-spwd.m4 \
+-	$(top_srcdir)/cf/krb-struct-winsize.m4 \
+-	$(top_srcdir)/cf/mips-abi.m4 $(top_srcdir)/cf/misc.m4 \
+-	$(top_srcdir)/cf/need-proto.m4 $(top_srcdir)/cf/osfc2.m4 \
+-	$(top_srcdir)/cf/otp.m4 $(top_srcdir)/cf/proto-compat.m4 \
+-	$(top_srcdir)/cf/retsigtype.m4 $(top_srcdir)/cf/roken-frag.m4 \
+-	$(top_srcdir)/cf/sunos.m4 $(top_srcdir)/cf/telnet.m4 \
+-	$(top_srcdir)/cf/test-package.m4 $(top_srcdir)/cf/wflags.m4 \
+-	$(top_srcdir)/cf/with-all.m4 $(top_srcdir)/configure.in
+-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+-	$(ACLOCAL_M4)
+-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = $(top_builddir)/include/config.h
+-CONFIG_CLEAN_FILES =
+-LTLIBRARIES = $(noinst_LTLIBRARIES)
+-libvers_la_LIBADD =
+-am_libvers_la_OBJECTS = print_version.lo
+-libvers_la_OBJECTS = $(am_libvers_la_OBJECTS)
+-PROGRAMS = $(noinst_PROGRAMS)
+-make_print_version_SOURCES = make-print-version.c
+-make_print_version_OBJECTS = make-print-version.$(OBJEXT)
+-am__DEPENDENCIES_1 =
+-@KRB4_TRUE@@KRB5_TRUE@make_print_version_DEPENDENCIES =  \
+-@KRB4_TRUE@@KRB5_TRUE@	$(am__DEPENDENCIES_1) \
+-@KRB4_TRUE@@KRB5_TRUE@	$(am__DEPENDENCIES_1)
+-DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
+-depcomp =
+-am__depfiles_maybe =
+-COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+-	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) \
+-	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+-	$(AM_CFLAGS) $(CFLAGS)
+-CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+-	$(AM_LDFLAGS) $(LDFLAGS) -o $@
+-SOURCES = $(libvers_la_SOURCES) make-print-version.c
+-DIST_SOURCES = $(libvers_la_SOURCES) make-print-version.c
+-ETAGS = etags
+-CTAGS = ctags
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ ACLOCAL = @ACLOCAL@
+ AIX4_FALSE = @AIX4_FALSE@
+ AIX4_TRUE = @AIX4_TRUE@
+@@ -144,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -154,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -177,12 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
++
+ INCLUDE_krb4 = @INCLUDE_krb4@
++
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
++
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -195,6 +130,7 @@
+ KRB5_TRUE = @KRB5_TRUE@
+ LDFLAGS = @LDFLAGS@
+ LEX = @LEX@
++
+ LEXLIB = @LEXLIB@
+ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+ LIBOBJS = @LIBOBJS@
+@@ -203,6 +139,7 @@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+ LIB_XauFileName = @LIB_XauFileName@
++
+ LIB_XauReadAuth = @LIB_XauReadAuth@
+ LIB_XauWriteAuth = @LIB_XauWriteAuth@
+ LIB_bswap16 = @LIB_bswap16@
+@@ -251,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -331,7 +270,6 @@
+ libexecdir = @libexecdir@
+ localstatedir = @localstatedir@
+ mandir = @mandir@
+-mkdir_p = @mkdir_p@
+ oldincludedir = @oldincludedir@
+ prefix = @prefix@
+ program_transform_name = @program_transform_name@
+@@ -339,63 +277,97 @@
+ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
++
+ SUFFIXES = .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8
++
+ INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken)
++
+ @do_roken_rename_TRUE@ROKEN_RENAME = -DROKEN_RENAME
++
+ AM_CFLAGS = $(WFLAGS)
++
+ CP = cp
++
+ buildinclude = $(top_builddir)/include
+ LIB_getattr = @LIB_getattr@
+ LIB_getpwent_r = @LIB_getpwent_r@
+ LIB_odm_initialize = @LIB_odm_initialize@
+ LIB_setpcred = @LIB_setpcred@
++
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
++
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
++
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++
+ @KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
+ @KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+ 
+ @KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
++
+ @DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
++
+ CLEANFILES = print_version.h
++
+ noinst_LTLIBRARIES = libvers.la
++
+ build_HEADERZ = vers.h
++
++noinst_PROGRAMS = make-print-version
++
+ @KRB4_TRUE@@KRB5_TRUE@make_print_version_LDADD = $(LIB_krb4) $(LIB_des)
++
+ libvers_la_SOURCES = print_version.c
++subdir = lib/vers
++ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
++mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++LTLIBRARIES = $(noinst_LTLIBRARIES)
++
++libvers_la_LDFLAGS =
++libvers_la_LIBADD =
++am_libvers_la_OBJECTS = print_version.lo
++libvers_la_OBJECTS = $(am_libvers_la_OBJECTS)
++noinst_PROGRAMS = make-print-version$(EXEEXT)
++PROGRAMS = $(noinst_PROGRAMS)
++
++make_print_version_SOURCES = make-print-version.c
++make_print_version_OBJECTS = make-print-version.$(OBJEXT)
++@KRB4_FALSE@@KRB5_TRUE@make_print_version_DEPENDENCIES =
++@KRB4_FALSE@@KRB5_FALSE@make_print_version_DEPENDENCIES =
++@KRB4_TRUE@@KRB5_TRUE@make_print_version_DEPENDENCIES =
++@KRB4_TRUE@@KRB5_FALSE@make_print_version_DEPENDENCIES =
++make_print_version_LDFLAGS =
++
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
++depcomp =
++am__depfiles_maybe =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++CCLD = $(CC)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++DIST_SOURCES = $(libvers_la_SOURCES) make-print-version.c
++DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/Makefile.am.common \
++	$(top_srcdir)/cf/Makefile.am.common ChangeLog Makefile.am
++SOURCES = $(libvers_la_SOURCES) make-print-version.c
++
+ all: all-am
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj
+-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(am__configure_deps)
+-	@for dep in $?; do \
+-	  case '$(am__configure_deps)' in \
+-	    *$$dep*) \
+-	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+-		&& exit 0; \
+-	      exit 1;; \
+-	  esac; \
+-	done; \
+-	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  --ignore-deps lib/vers/Makefile'; \
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+-	  $(AUTOMAKE) --foreign  --ignore-deps lib/vers/Makefile
+-.PRECIOUS: Makefile
+-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+-	@case '$?' in \
+-	  *config.status*) \
+-	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+-	  *) \
+-	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+-	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+-	esac;
+-
+-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-
+-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
++	  $(AUTOMAKE) --foreign  lib/vers/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+ 
+ clean-noinstLTLIBRARIES:
+ 	-test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
+@@ -419,19 +391,19 @@
+ 	$(LINK) $(make_print_version_LDFLAGS) $(make_print_version_OBJECTS) $(make_print_version_LDADD) $(LIBS)
+ 
+ mostlyclean-compile:
+-	-rm -f *.$(OBJEXT)
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ .c.obj:
+-	$(COMPILE) -c `$(CYGPATH_W) '$<'`
++	$(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
+ 
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
+ 
+ mostlyclean-libtool:
+ 	-rm -f *.lo
+@@ -443,6 +415,14 @@
+ 	-rm -f libtool
+ uninstall-info-am:
+ 
++ETAGS = etags
++ETAGSFLAGS =
++
++CTAGS = ctags
++CTAGSFLAGS =
++
++tags: TAGS
++
+ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ 	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ 	unique=`for i in $$list; do \
+@@ -451,7 +431,6 @@
+ 	  $(AWK) '    { files[$$0] = 1; } \
+ 	       END { for (i in files) print i; }'`; \
+ 	mkid -fID $$unique
+-tags: TAGS
+ 
+ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -466,6 +445,7 @@
+ 	test -z "$(ETAGS_ARGS)$$tags$$unique" \
+ 	  || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ 	     $$tags $$unique
++
+ ctags: CTAGS
+ CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -488,9 +468,13 @@
+ 
+ distclean-tags:
+ 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	$(mkdir_p) $(distdir)/../.. $(distdir)/../../cf
++	$(mkinstalldirs) $(distdir)/../.. $(distdir)/../../cf
+ 	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ 	list='$(DISTFILES)'; for file in $$list; do \
+@@ -502,7 +486,7 @@
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ 	    dir="/$$dir"; \
+-	    $(mkdir_p) "$(distdir)$$dir"; \
++	    $(mkinstalldirs) "$(distdir)$$dir"; \
+ 	  else \
+ 	    dir=''; \
+ 	  fi; \
+@@ -524,6 +508,7 @@
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+ all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) all-local
++
+ installdirs:
+ install: install-am
+ install-exec: install-exec-am
+@@ -564,8 +549,6 @@
+ 
+ dvi-am:
+ 
+-html: html-am
+-
+ info: info-am
+ 
+ info-am:
+@@ -607,10 +590,10 @@
+ 	clean clean-generic clean-libtool clean-noinstLTLIBRARIES \
+ 	clean-noinstPROGRAMS ctags distclean distclean-compile \
+ 	distclean-generic distclean-libtool distclean-tags distdir dvi \
+-	dvi-am html html-am info info-am install install-am \
+-	install-data install-data-am install-exec install-exec-am \
+-	install-info install-info-am install-man install-strip \
+-	installcheck installcheck-am installdirs maintainer-clean \
++	dvi-am info info-am install install-am install-data \
++	install-data-am install-exec install-exec-am install-info \
++	install-info-am install-man install-strip installcheck \
++	installcheck-am installdirs maintainer-clean \
+ 	maintainer-clean-generic mostlyclean mostlyclean-compile \
+ 	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+ 	tags uninstall uninstall-am uninstall-info-am
+diff -ruN heimdal-0.6.3-old/ltmain.sh heimdal-0.6.3/ltmain.sh
+--- heimdal-0.6.3-old/ltmain.sh	2004-09-13 22:26:36.000000000 +1000
++++ heimdal-0.6.3/ltmain.sh	2004-09-14 08:39:38.000000000 +1000
+@@ -1,7 +1,7 @@
+ # ltmain.sh - Provide generalized library-building support services.
+ # NOTE: Changing this file will not affect anything until you rerun configure.
+ #
+-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003
++# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004
+ # Free Software Foundation, Inc.
+ # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
+ #
+@@ -24,6 +24,29 @@
+ # configuration script generated by Autoconf, you may include it under
+ # the same distribution terms that you use for the rest of that program.
+ 
++basename="s,^.*/,,g"
++
++# Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh
++# is ksh but when the shell is invoked as "sh" and the current value of
++# the _XPG environment variable is not equal to 1 (one), the special
++# positional parameter $0, within a function call, is the name of the
++# function.
++progpath="$0"
++
++# The name of this program:
++progname=`echo "$progpath" | $SED $basename`
++modename="$progname"
++
++# Global variables:
++EXIT_SUCCESS=0
++EXIT_FAILURE=1
++
++PROGRAM=ltmain.sh
++PACKAGE=libtool
++VERSION=1.5.6
++TIMESTAMP=" (1.1220.2.95 2004/04/11 05:50:42) Debian$Rev: 215 $"
++
++
+ # Check that we have a working $echo.
+ if test "X$1" = X--no-reexec; then
+   # Discard the --no-reexec flag, and continue.
+@@ -36,7 +59,7 @@
+   :
+ else
+   # Restart under the correct shell, and then maybe $echo will work.
+-  exec $SHELL "$0" --no-reexec ${1+"$@"}
++  exec $SHELL "$progpath" --no-reexec ${1+"$@"}
+ fi
+ 
+ if test "X$1" = X--fallback-echo; then
+@@ -45,19 +68,9 @@
+   cat <<EOF
+ $*
+ EOF
+-  exit 0
++  exit $EXIT_SUCCESS
+ fi
+ 
+-# The name of this program.
+-progname=`$echo "$0" | ${SED} 's%^.*/%%'`
+-modename="$progname"
+-
+-# Constants.
+-PROGRAM=ltmain.sh
+-PACKAGE=libtool
+-VERSION=1.5.2
+-TIMESTAMP=" (1.1220.2.60 2004/01/25 12:25:08)"
+-
+ default_mode=
+ help="Try \`$progname --help' for more information."
+ magic="%%%MAGIC variable%%%"
+@@ -100,7 +113,7 @@
+ if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then
+   $echo "$modename: not configured to build any kind of library" 1>&2
+   $echo "Fatal configuration error.  See the $PACKAGE docs for more information." 1>&2
+-  exit 1
++  exit $EXIT_FAILURE
+ fi
+ 
+ # Global variables.
+@@ -119,10 +132,13 @@
+ # Shell function definitions:
+ # This seems to be the best place for them
+ 
++# func_win32_libid arg
++# return the library type of file 'arg'
++#
+ # Need a lot of goo to handle *both* DLLs and import libs
+ # Has to be a shell function in order to 'eat' the argument
+ # that is supplied when $file_magic_command is called.
+-win32_libid () {
++func_win32_libid () {
+   win32_libid_type="unknown"
+   win32_fileres=`file -L $1 2>/dev/null`
+   case $win32_fileres in
+@@ -131,7 +147,7 @@
+     ;;
+   *ar\ archive*) # could be an import, or static
+     if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | \
+-      grep -E 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then
++      $EGREP -e 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then
+       win32_nmres=`eval $NM -f posix -A $1 | \
+ 	sed -n -e '1,100{/ I /{x;/import/!{s/^/import/;h;p;};x;};}'`
+       if test "X$win32_nmres" = "Ximport" ; then
+@@ -141,7 +157,7 @@
+       fi
+     fi
+     ;;
+-  *DLL*) 
++  *DLL*)
+     win32_libid_type="x86 DLL"
+     ;;
+   *executable*) # but shell scripts are "executable" too...
+@@ -155,9 +171,76 @@
+   $echo $win32_libid_type
+ }
+ 
++
++# func_infer_tag arg
++# Infer tagged configuration to use if any are available and
++# if one wasn't chosen via the "--tag" command line option.
++# Only attempt this if the compiler in the base compile
++# command doesn't match the default compiler.
++# arg is usually of the form 'gcc ...'
++func_infer_tag () {
++    if test -n "$available_tags" && test -z "$tagname"; then
++      CC_quoted=
++      for arg in $CC; do
++	case $arg in
++	  *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \	]*|*]*|"")
++	  arg="\"$arg\""
++	  ;;
++	esac
++	CC_quoted="$CC_quoted $arg"
++      done
++      case $@ in
++      # Blanks in the command may have been stripped by the calling shell,
++      # but not from the CC environment variable when configure was run.
++      " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*) ;;
++      # Blanks at the start of $base_compile will cause this to fail
++      # if we don't check for them as well.
++      *)
++	for z in $available_tags; do
++	  if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then
++	    # Evaluate the configuration.
++	    eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`"
++	    CC_quoted=
++	    for arg in $CC; do
++	    # Double-quote args containing other shell metacharacters.
++	    case $arg in
++	      *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \	]*|*]*|"")
++	      arg="\"$arg\""
++	      ;;
++	    esac
++	    CC_quoted="$CC_quoted $arg"
++	  done
++	    case "$@ " in
++	      " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*)
++	      # The compiler in the base compile command matches
++	      # the one in the tagged configuration.
++	      # Assume this is the tagged configuration we want.
++	      tagname=$z
++	      break
++	      ;;
++	    esac
++	  fi
++	done
++	# If $tagname still isn't set, then no tagged configuration
++	# was found and let the user know that the "--tag" command
++	# line option must be used.
++	if test -z "$tagname"; then
++	  $echo "$modename: unable to infer tagged configuration"
++	  $echo "$modename: specify a tag with \`--tag'" 1>&2
++	  exit $EXIT_FAILURE
++#        else
++#          $echo "$modename: using $tagname tagged configuration"
++	fi
++	;;
++      esac
++    fi
++}
+ # End of Shell function definitions
+ #####################################
+ 
++# Darwin sucks
++eval std_shrext=\"$shrext_cmds\"
++
+ # Parse our command line options once, thoroughly.
+ while test "$#" -gt 0
+ do
+@@ -183,7 +266,7 @@
+       case $tagname in
+       *[!-_A-Za-z0-9,/]*)
+ 	$echo "$progname: invalid tag name: $tagname" 1>&2
+-	exit 1
++	exit $EXIT_FAILURE
+ 	;;
+       esac
+ 
+@@ -193,10 +276,10 @@
+ 	# not specially marked.
+ 	;;
+       *)
+-	if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "$0" > /dev/null; then
++	if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "$progpath" > /dev/null; then
+ 	  taglist="$taglist $tagname"
+ 	  # Evaluate the configuration.
+-	  eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$tagname'$/,/^# ### END LIBTOOL TAG CONFIG: '$tagname'$/p' < $0`"
++	  eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$tagname'$/,/^# ### END LIBTOOL TAG CONFIG: '$tagname'$/p' < $progpath`"
+ 	else
+ 	  $echo "$progname: ignoring unknown tag $tagname" 1>&2
+ 	fi
+@@ -225,16 +308,16 @@
+     $echo "Copyright (C) 2003  Free Software Foundation, Inc."
+     $echo "This is free software; see the source for copying conditions.  There is NO"
+     $echo "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
+-    exit 0
++    exit $EXIT_SUCCESS
+     ;;
+ 
+   --config)
+-    ${SED} -e '1,/^# ### BEGIN LIBTOOL CONFIG/d' -e '/^# ### END LIBTOOL CONFIG/,$d' $0
++    ${SED} -e '1,/^# ### BEGIN LIBTOOL CONFIG/d' -e '/^# ### END LIBTOOL CONFIG/,$d' $progpath
+     # Now print the configurations for the tags.
+     for tagname in $taglist; do
+-      ${SED} -n -e "/^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$/,/^# ### END LIBTOOL TAG CONFIG: $tagname$/p" < "$0"
++      ${SED} -n -e "/^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$/,/^# ### END LIBTOOL TAG CONFIG: $tagname$/p" < "$progpath"
+     done
+-    exit 0
++    exit $EXIT_SUCCESS
+     ;;
+ 
+   --debug)
+@@ -259,7 +342,7 @@
+     else
+       $echo "disable static libraries"
+     fi
+-    exit 0
++    exit $EXIT_SUCCESS
+     ;;
+ 
+   --finish) mode="finish" ;;
+@@ -290,7 +373,7 @@
+   -*)
+     $echo "$modename: unrecognized option \`$arg'" 1>&2
+     $echo "$help" 1>&2
+-    exit 1
++    exit $EXIT_FAILURE
+     ;;
+ 
+   *)
+@@ -303,7 +386,7 @@
+ if test -n "$prevopt"; then
+   $echo "$modename: option \`$prevopt' requires an argument" 1>&2
+   $echo "$help" 1>&2
+-  exit 1
++  exit $EXIT_FAILURE
+ fi
+ 
+ # If this variable is set in any of the actions, the command in it
+@@ -359,7 +442,7 @@
+   if test -n "$execute_dlfiles" && test "$mode" != execute; then
+     $echo "$modename: unrecognized option \`-dlopen'" 1>&2
+     $echo "$help" 1>&2
+-    exit 1
++    exit $EXIT_FAILURE
+   fi
+ 
+   # Change the help message to a mode-specific one.
+@@ -401,7 +484,7 @@
+ 	-o)
+ 	  if test -n "$libobj" ; then
+ 	    $echo "$modename: you cannot specify \`-o' more than once" 1>&2
+-	    exit 1
++	    exit $EXIT_FAILURE
+ 	  fi
+ 	  arg_mode=target
+ 	  continue
+@@ -426,7 +509,7 @@
+ 	  args=`$echo "X$arg" | $Xsed -e "s/^-Wc,//"`
+ 	  lastarg=
+ 	  save_ifs="$IFS"; IFS=','
+-	  for arg in $args; do
++ 	  for arg in $args; do
+ 	    IFS="$save_ifs"
+ 
+ 	    # Double-quote args containing other shell metacharacters.
+@@ -476,11 +559,11 @@
+     case $arg_mode in
+     arg)
+       $echo "$modename: you must specify an argument for -Xcompile"
+-      exit 1
++      exit $EXIT_FAILURE
+       ;;
+     target)
+       $echo "$modename: you must specify a target with \`-o'" 1>&2
+-      exit 1
++      exit $EXIT_FAILURE
+       ;;
+     *)
+       # Get the name of the library object.
+@@ -513,50 +596,11 @@
+     *.lo) obj=`$echo "X$libobj" | $Xsed -e "$lo2o"` ;;
+     *)
+       $echo "$modename: cannot determine name of library object from \`$libobj'" 1>&2
+-      exit 1
++      exit $EXIT_FAILURE
+       ;;
+     esac
+ 
+-    # Infer tagged configuration to use if any are available and
+-    # if one wasn't chosen via the "--tag" command line option.
+-    # Only attempt this if the compiler in the base compile
+-    # command doesn't match the default compiler.
+-    if test -n "$available_tags" && test -z "$tagname"; then
+-      case $base_compile in
+-      # Blanks in the command may have been stripped by the calling shell,
+-      # but not from the CC environment variable when configure was run.
+-      " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "*) ;;
+-      # Blanks at the start of $base_compile will cause this to fail
+-      # if we don't check for them as well.
+-      *)
+-	for z in $available_tags; do
+-	  if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$0" > /dev/null; then
+-	    # Evaluate the configuration.
+-	    eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $0`"
+-	    case "$base_compile " in
+-	    "$CC "* | " $CC "* | "`$echo $CC` "* | " `$echo $CC` "*)
+-	      # The compiler in the base compile command matches
+-	      # the one in the tagged configuration.
+-	      # Assume this is the tagged configuration we want.
+-	      tagname=$z
+-	      break
+-	      ;;
+-	    esac
+-	  fi
+-	done
+-	# If $tagname still isn't set, then no tagged configuration
+-	# was found and let the user know that the "--tag" command
+-	# line option must be used.
+-	if test -z "$tagname"; then
+-	  $echo "$modename: unable to infer tagged configuration"
+-	  $echo "$modename: specify a tag with \`--tag'" 1>&2
+-	  exit 1
+-#        else
+-#          $echo "$modename: using $tagname tagged configuration"
+-	fi
+-	;;
+-      esac
+-    fi
++    func_infer_tag $base_compile
+ 
+     for arg in $later; do
+       case $arg in
+@@ -589,7 +633,7 @@
+     if test -z "$base_compile"; then
+       $echo "$modename: you must specify a compilation command" 1>&2
+       $echo "$help" 1>&2
+-      exit 1
++      exit $EXIT_FAILURE
+     fi
+ 
+     # Delete any leftover library objects.
+@@ -600,7 +644,7 @@
+     fi
+ 
+     $run $rm $removelist
+-    trap "$run $rm $removelist; exit 1" 1 2 15
++    trap "$run $rm $removelist; exit $EXIT_FAILURE" 1 2 15
+ 
+     # On Cygwin there's no "real" PIC flag so we must build both object types
+     case $host_os in
+@@ -619,7 +663,7 @@
+       output_obj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext}
+       lockfile="$output_obj.lock"
+       removelist="$removelist $output_obj $lockfile"
+-      trap "$run $rm $removelist; exit 1" 1 2 15
++      trap "$run $rm $removelist; exit $EXIT_FAILURE" 1 2 15
+     else
+       output_obj=
+       need_locks=no
+@@ -629,7 +673,7 @@
+     # Lock this critical section if it is needed
+     # We use this script file to make the link, it avoids creating a new file
+     if test "$need_locks" = yes; then
+-      until $run ln "$0" "$lockfile" 2>/dev/null; do
++      until $run ln "$progpath" "$lockfile" 2>/dev/null; do
+ 	$show "Waiting for $lockfile to be removed"
+ 	sleep 2
+       done
+@@ -647,7 +691,7 @@
+ compiler."
+ 
+ 	$run $rm $removelist
+-	exit 1
++	exit $EXIT_FAILURE
+       fi
+       $echo $srcfile > "$lockfile"
+     fi
+@@ -702,7 +746,7 @@
+       if $run eval "$command"; then :
+       else
+ 	test -n "$output_obj" && $run $rm $removelist
+-	exit 1
++	exit $EXIT_FAILURE
+       fi
+ 
+       if test "$need_locks" = warn &&
+@@ -722,7 +766,7 @@
+ compiler."
+ 
+ 	$run $rm $removelist
+-	exit 1
++	exit $EXIT_FAILURE
+       fi
+ 
+       # Just move the object if needed, then go on to compile the next one
+@@ -774,7 +818,7 @@
+       if $run eval "$command"; then :
+       else
+ 	$run $rm $removelist
+-	exit 1
++	exit $EXIT_FAILURE
+       fi
+ 
+       if test "$need_locks" = warn &&
+@@ -794,7 +838,7 @@
+ compiler."
+ 
+ 	$run $rm $removelist
+-	exit 1
++	exit $EXIT_FAILURE
+       fi
+ 
+       # Just move the object if needed
+@@ -832,7 +876,7 @@
+       $run $rm "$lockfile"
+     fi
+ 
+-    exit 0
++    exit $EXIT_SUCCESS
+     ;;
+ 
+   # libtool link mode
+@@ -904,46 +948,7 @@
+     vinfo=
+     vinfo_number=no
+ 
+-    # Infer tagged configuration to use if any are available and
+-    # if one wasn't chosen via the "--tag" command line option.
+-    # Only attempt this if the compiler in the base link
+-    # command doesn't match the default compiler.
+-    if test -n "$available_tags" && test -z "$tagname"; then
+-      case $base_compile in
+-      # Blanks in the command may have been stripped by the calling shell,
+-      # but not from the CC environment variable when configure was run.
+-      "$CC "* | " $CC "* | "`$echo $CC` "* | " `$echo $CC` "*) ;;
+-      # Blanks at the start of $base_compile will cause this to fail
+-      # if we don't check for them as well.
+-      *)
+-	for z in $available_tags; do
+-	  if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$0" > /dev/null; then
+-	    # Evaluate the configuration.
+-	    eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $0`"
+-	    case $base_compile in
+-	    "$CC "* | " $CC "* | "`$echo $CC` "* | " `$echo $CC` "*)
+-	      # The compiler in $compile_command matches
+-	      # the one in the tagged configuration.
+-	      # Assume this is the tagged configuration we want.
+-	      tagname=$z
+-	      break
+-	      ;;
+-	    esac
+-	  fi
+-	done
+-	# If $tagname still isn't set, then no tagged configuration
+-	# was found and let the user know that the "--tag" command
+-	# line option must be used.
+-	if test -z "$tagname"; then
+-	  $echo "$modename: unable to infer tagged configuration"
+-	  $echo "$modename: specify a tag with \`--tag'" 1>&2
+-	  exit 1
+-#       else
+-#         $echo "$modename: using $tagname tagged configuration"
+-	fi
+-	;;
+-      esac
+-    fi
++    func_infer_tag $base_compile
+ 
+     # We need to know -static, to get the right output filenames.
+     for arg
+@@ -1039,7 +1044,7 @@
+ 	  export_symbols="$arg"
+ 	  if test ! -f "$arg"; then
+ 	    $echo "$modename: symbol file \`$arg' does not exist"
+-	    exit 1
++	    exit $EXIT_FAILURE
+ 	  fi
+ 	  prev=
+ 	  continue
+@@ -1091,7 +1096,7 @@
+ 		   test "$pic_object" = none && \
+ 		   test "$non_pic_object" = none; then
+ 		  $echo "$modename: cannot find name of object for \`$arg'" 1>&2
+-		  exit 1
++		  exit $EXIT_FAILURE
+ 		fi
+ 
+ 		# Extract subdirectory from the argument.
+@@ -1144,7 +1149,7 @@
+ 		# Only an error if not doing a dry-run.
+ 		if test -z "$run"; then
+ 		  $echo "$modename: \`$arg' is not a valid libtool object" 1>&2
+-		  exit 1
++		  exit $EXIT_FAILURE
+ 		else
+ 		  # Dry-run case.
+ 
+@@ -1165,7 +1170,7 @@
+ 	    done
+ 	  else
+ 	    $echo "$modename: link input file \`$save_arg' does not exist"
+-	    exit 1
++	    exit $EXIT_FAILURE
+ 	  fi
+ 	  arg=$save_arg
+ 	  prev=
+@@ -1177,7 +1182,7 @@
+ 	  [\\/]* | [A-Za-z]:[\\/]*) ;;
+ 	  *)
+ 	    $echo "$modename: only absolute run-paths are allowed" 1>&2
+-	    exit 1
++	    exit $EXIT_FAILURE
+ 	    ;;
+ 	  esac
+ 	  if test "$prev" = rpath; then
+@@ -1217,6 +1222,11 @@
+ 	  finalize_command="$finalize_command $qarg"
+ 	  continue
+ 	  ;;
++	shrext)
++  	  shrext_cmds="$arg"
++	  prev=
++	  continue
++	  ;;
+ 	*)
+ 	  eval "$prev=\"\$arg\""
+ 	  prev=
+@@ -1265,7 +1275,7 @@
+       -export-symbols | -export-symbols-regex)
+ 	if test -n "$export_symbols" || test -n "$export_symbols_regex"; then
+ 	  $echo "$modename: more than one -exported-symbols argument is not allowed"
+-	  exit 1
++	  exit $EXIT_FAILURE
+ 	fi
+ 	if test "X$arg" = "X-export-symbols"; then
+ 	  prev=expsyms
+@@ -1301,7 +1311,7 @@
+ 	  absdir=`cd "$dir" && pwd`
+ 	  if test -z "$absdir"; then
+ 	    $echo "$modename: cannot determine absolute directory name of \`$dir'" 1>&2
+-	    exit 1
++	    exit $EXIT_FAILURE
+ 	  fi
+ 	  dir="$absdir"
+ 	  ;;
+@@ -1452,7 +1462,7 @@
+ 	[\\/]* | [A-Za-z]:[\\/]*) ;;
+ 	*)
+ 	  $echo "$modename: only absolute run-paths are allowed" 1>&2
+-	  exit 1
++	  exit $EXIT_FAILURE
+ 	  ;;
+ 	esac
+ 	case "$xrpath " in
+@@ -1575,7 +1585,7 @@
+ 	     test "$pic_object" = none && \
+ 	     test "$non_pic_object" = none; then
+ 	    $echo "$modename: cannot find name of object for \`$arg'" 1>&2
+-	    exit 1
++	    exit $EXIT_FAILURE
+ 	  fi
+ 
+ 	  # Extract subdirectory from the argument.
+@@ -1628,7 +1638,7 @@
+ 	  # Only an error if not doing a dry-run.
+ 	  if test -z "$run"; then
+ 	    $echo "$modename: \`$arg' is not a valid libtool object" 1>&2
+-	    exit 1
++	    exit $EXIT_FAILURE
+ 	  else
+ 	    # Dry-run case.
+ 
+@@ -1695,7 +1705,7 @@
+     if test -n "$prev"; then
+       $echo "$modename: the \`$prevarg' option requires an argument" 1>&2
+       $echo "$help" 1>&2
+-      exit 1
++      exit $EXIT_FAILURE
+     fi
+ 
+     if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then
+@@ -1739,7 +1749,7 @@
+     "")
+       $echo "$modename: you must specify an output file" 1>&2
+       $echo "$help" 1>&2
+-      exit 1
++      exit $EXIT_FAILURE
+       ;;
+     *.$libext) linkmode=oldlib ;;
+     *.lo | *.$objext) linkmode=obj ;;
+@@ -1749,7 +1759,7 @@
+ 
+     case $host in
+     *cygwin* | *mingw* | *pw32*)
+-      # don't eliminate duplcations in $postdeps and $predeps
++      # don't eliminate duplications in $postdeps and $predeps
+       duplicate_compiler_generated_deps=yes
+       ;;
+     *)
+@@ -1802,7 +1812,7 @@
+ 	  *.la) ;;
+ 	  *)
+ 	    $echo "$modename: libraries can \`-dlopen' only libtool libraries: $file" 1>&2
+-	    exit 1
++	    exit $EXIT_FAILURE
+ 	    ;;
+ 	  esac
+ 	done
+@@ -1828,7 +1838,10 @@
+ 	case $pass in
+ 	dlopen) libs="$dlfiles" ;;
+ 	dlpreopen) libs="$dlprefiles" ;;
+-	link) libs="$deplibs %DEPLIBS% $dependency_libs" ;;
++	link)
++	  libs="$deplibs %DEPLIBS%"
++	  test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs"
++	  ;;
+ 	esac
+       fi
+       if test "$pass" = dlopen; then
+@@ -1860,7 +1873,7 @@
+ 	  fi
+ 	  name=`$echo "X$deplib" | $Xsed -e 's/^-l//'`
+ 	  for searchdir in $newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path; do
+-	    for search_ext in .la $shrext .so .a; do
++	    for search_ext in .la $std_shrext .so .a; do
+ 	      # Search the libtool library
+ 	      lib="$searchdir/lib${name}${search_ext}"
+ 	      if test -f "$lib"; then
+@@ -1936,11 +1949,11 @@
+ 	    fi
+ 	    if test "$pass" = scan; then
+ 	      deplibs="$deplib $deplibs"
+-	      newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`
+ 	    else
+ 	      compile_deplibs="$deplib $compile_deplibs"
+ 	      finalize_deplibs="$deplib $finalize_deplibs"
+ 	    fi
++	    newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`
+ 	    ;;
+ 	  *)
+ 	    $echo "$modename: warning: \`-L' is ignored for archives/objects" 1>&2
+@@ -2019,14 +2032,14 @@
+ 	if test "$found" = yes || test -f "$lib"; then :
+ 	else
+ 	  $echo "$modename: cannot find the library \`$lib'" 1>&2
+-	  exit 1
++	  exit $EXIT_FAILURE
+ 	fi
+ 
+ 	# Check to see that this really is a libtool archive.
+ 	if (${SED} -e '2q' $lib | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
+ 	else
+ 	  $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
+-	  exit 1
++	  exit $EXIT_FAILURE
+ 	fi
+ 
+ 	ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'`
+@@ -2062,7 +2075,7 @@
+ 	  if test -z "$libdir"; then
+ 	    if test -z "$old_library"; then
+ 	      $echo "$modename: cannot find name of link library for \`$lib'" 1>&2
+-	      exit 1
++	      exit $EXIT_FAILURE
+ 	    fi
+ 	    # It is a libtool convenience library, so add in its objects.
+ 	    convenience="$convenience $ladir/$objdir/$old_library"
+@@ -2079,12 +2092,12 @@
+ 	    done
+ 	  elif test "$linkmode" != prog && test "$linkmode" != lib; then
+ 	    $echo "$modename: \`$lib' is not a convenience library" 1>&2
+-	    exit 1
++	    exit $EXIT_FAILURE
+ 	  fi
+ 	  continue
+ 	fi # $pass = conv
+ 
+-    
++
+ 	# Get the name of the library we link against.
+ 	linklib=
+ 	for l in $old_library $library_names; do
+@@ -2092,16 +2105,18 @@
+ 	done
+ 	if test -z "$linklib"; then
+ 	  $echo "$modename: cannot find name of link library for \`$lib'" 1>&2
+-	  exit 1
++	  exit $EXIT_FAILURE
+ 	fi
+ 
+ 	# This library was specified with -dlopen.
+ 	if test "$pass" = dlopen; then
+ 	  if test -z "$libdir"; then
+ 	    $echo "$modename: cannot -dlopen a convenience library: \`$lib'" 1>&2
+-	    exit 1
++	    exit $EXIT_FAILURE
+ 	  fi
+-	  if test -z "$dlname" || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
++	  if test -z "$dlname" ||
++	     test "$dlopen_support" != yes ||
++	     test "$build_libtool_libs" = no; then
+ 	    # If there is no dlname, no dlopen support or we're linking
+ 	    # statically, we need to preload.  We also need to preload any
+ 	    # dependent libraries so libltdl's deplib preloader doesn't
+@@ -2150,7 +2165,7 @@
+ 	if test "$pass" = dlpreopen; then
+ 	  if test -z "$libdir"; then
+ 	    $echo "$modename: cannot -dlpreopen a convenience library: \`$lib'" 1>&2
+-	    exit 1
++	    exit $EXIT_FAILURE
+ 	  fi
+ 	  # Prefer using a static library (so that no silly _DYNAMIC symbols
+ 	  # are required to link).
+@@ -2177,7 +2192,7 @@
+ 	  continue
+ 	fi
+ 
+-    
++
+ 	if test "$linkmode" = prog && test "$pass" != link; then
+ 	  newlib_search_path="$newlib_search_path $ladir"
+ 	  deplibs="$lib $deplibs"
+@@ -2264,17 +2279,18 @@
+ 	    need_relink=yes
+ 	  fi
+ 	  # This is a shared library
+-	
+-      # Warn about portability, can't link against -module's on some systems (darwin)
+-      if test "$shouldnotlink" = yes && test "$pass" = link ; then
++
++	  # Warn about portability, can't link against -module's on
++	  # some systems (darwin)
++	  if test "$shouldnotlink" = yes && test "$pass" = link ; then
+ 	    $echo
+ 	    if test "$linkmode" = prog; then
+ 	      $echo "*** Warning: Linking the executable $output against the loadable module"
+ 	    else
+ 	      $echo "*** Warning: Linking the shared library $output against the loadable module"
+ 	    fi
+-	    $echo "*** $linklib is not portable!"    
+-      fi	  
++	    $echo "*** $linklib is not portable!"
++	  fi
+ 	  if test "$linkmode" = lib &&
+ 	     test "$hardcode_into_libs" = yes; then
+ 	    # Hardcode the library path.
+@@ -2372,9 +2388,9 @@
+ 		case $host in
+ 		  *-*-sco3.2v5* ) add_dir="-L$dir" ;;
+ 		  *-*-darwin* )
+-		    # if the lib is a module then we can not link against it, someone
+-		    # is ignoring the new warnings I added
+-		    if /usr/bin/file -L $add 2> /dev/null | grep "bundle" >/dev/null ; then
++		    # if the lib is a module then we can not link against
++		    # it, someone is ignoring the new warnings I added
++		    if /usr/bin/file -L $add 2> /dev/null | $EGREP "bundle" >/dev/null ; then
+ 		      $echo "** Warning, lib $linklib is a module, not a shared library"
+ 		      if test -z "$old_library" ; then
+ 		        $echo
+@@ -2382,7 +2398,7 @@
+ 		        $echo "** The link will probably fail, sorry"
+ 		      else
+ 		        add="$dir/$old_library"
+-		      fi 
++		      fi
+ 		    fi
+ 		esac
+ 	      elif test "$hardcode_minus_L" = no; then
+@@ -2424,7 +2440,7 @@
+ 
+ 	    if test "$lib_linked" != yes; then
+ 	      $echo "$modename: configuration error: unsupported hardcode properties"
+-	      exit 1
++	      exit $EXIT_FAILURE
+ 	    fi
+ 
+ 	    if test -n "$add_shlibpath"; then
+@@ -2467,7 +2483,8 @@
+ 	      esac
+ 	      add="-l$name"
+ 	    elif test "$hardcode_automatic" = yes; then
+-	      if test -n "$inst_prefix_dir" && test -f "$inst_prefix_dir$libdir/$linklib" ; then
++	      if test -n "$inst_prefix_dir" &&
++		 test -f "$inst_prefix_dir$libdir/$linklib" ; then
+ 	        add="$inst_prefix_dir$libdir/$linklib"
+ 	      else
+ 	        add="$libdir/$linklib"
+@@ -2547,7 +2564,8 @@
+ 
+ 	if test "$linkmode" = lib; then
+ 	  if test -n "$dependency_libs" &&
+-	     { test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes ||
++	     { test "$hardcode_into_libs" != yes ||
++	       test "$build_old_libs" = yes ||
+ 	       test "$link_static" = yes; }; then
+ 	    # Extract -R from dependency_libs
+ 	    temp_deplibs=
+@@ -2604,7 +2622,7 @@
+ 		  eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
+ 		  if test -z "$libdir"; then
+ 		    $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2
+-		    exit 1
++		    exit $EXIT_FAILURE
+ 		  fi
+ 		  if test "$absdir" != "$libdir"; then
+ 		    $echo "$modename: warning: \`$deplib' seems to be moved" 1>&2
+@@ -2614,7 +2632,8 @@
+ 		depdepl=
+ 		case $host in
+ 		*-*-darwin*)
+-		  # we do not want to link against static libs, but need to link against shared
++		  # we do not want to link against static libs,
++		  # but need to link against shared
+ 		  eval deplibrary_names=`${SED} -n -e 's/^library_names=\(.*\)$/\1/p' $deplib`
+ 		  if test -n "$deplibrary_names" ; then
+ 		    for tmp in $deplibrary_names ; do
+@@ -2622,7 +2641,7 @@
+ 		    done
+ 		    if test -f "$path/$depdepl" ; then
+ 		      depdepl="$path/$depdepl"
+-		   fi
++		    fi
+ 		    # do not add paths which are already there
+ 		    case " $newlib_search_path " in
+ 		    *" $path "*) ;;
+@@ -2632,33 +2651,32 @@
+ 		  path=""
+ 		  ;;
+ 		*)
+-		path="-L$path"
+-		;;
+-		esac 
+-		
++		  path="-L$path"
++		  ;;
++		esac
+ 		;;
+-		  -l*)
++	      -l*)
+ 		case $host in
+ 		*-*-darwin*)
+-		 # Again, we only want to link against shared libraries
+-		 eval tmp_libs=`$echo "X$deplib" | $Xsed -e "s,^\-l,,"`
+-		 for tmp in $newlib_search_path ; do
+-		     if test -f "$tmp/lib$tmp_libs.dylib" ; then
+-		       eval depdepl="$tmp/lib$tmp_libs.dylib"
+-		       break
+-		     fi  
+-         done
+-         path=""
++		  # Again, we only want to link against shared libraries
++		  eval tmp_libs=`$echo "X$deplib" | $Xsed -e "s,^\-l,,"`
++		  for tmp in $newlib_search_path ; do
++		    if test -f "$tmp/lib$tmp_libs.dylib" ; then
++		      eval depdepl="$tmp/lib$tmp_libs.dylib"
++		      break
++		    fi
++		  done
++		  path=""
+ 		  ;;
+ 		*) continue ;;
+-		esac  		  
++		esac
+ 		;;
+ 	      *) continue ;;
+ 	      esac
+ 	      case " $deplibs " in
+ 	      *" $depdepl "*) ;;
+-	      *) deplibs="$deplibs $depdepl" ;;
+-	      esac	      
++	      *) deplibs="$depdepl $deplibs" ;;
++	      esac
+ 	      case " $deplibs " in
+ 	      *" $path "*) ;;
+ 	      *) deplibs="$deplibs $path" ;;
+@@ -2748,7 +2766,8 @@
+ 	  eval $var=\"$tmp_libs\"
+ 	done # for var
+       fi
+-      # Last step: remove runtime libs from dependency_libs (they stay in deplibs)
++      # Last step: remove runtime libs from dependency_libs
++      # (they stay in deplibs)
+       tmp_libs=
+       for i in $dependency_libs ; do
+ 	case " $predeps $postdeps $compiler_lib_search_path " in
+@@ -2808,19 +2827,19 @@
+       case $outputname in
+       lib*)
+ 	name=`$echo "X$outputname" | $Xsed -e 's/\.la$//' -e 's/^lib//'`
+-	eval shared_ext=\"$shrext\"
++	eval shared_ext=\"$shrext_cmds\"
+ 	eval libname=\"$libname_spec\"
+ 	;;
+       *)
+ 	if test "$module" = no; then
+ 	  $echo "$modename: libtool library \`$output' must begin with \`lib'" 1>&2
+ 	  $echo "$help" 1>&2
+-	  exit 1
++	  exit $EXIT_FAILURE
+ 	fi
+ 	if test "$need_lib_prefix" != no; then
+ 	  # Add the "lib" prefix for modules if required
+ 	  name=`$echo "X$outputname" | $Xsed -e 's/\.la$//'`
+-	  eval shared_ext=\"$shrext\"
++	  eval shared_ext=\"$shrext_cmds\"
+ 	  eval libname=\"$libname_spec\"
+ 	else
+ 	  libname=`$echo "X$outputname" | $Xsed -e 's/\.la$//'`
+@@ -2831,7 +2850,7 @@
+       if test -n "$objs"; then
+ 	if test "$deplibs_check_method" != pass_all; then
+ 	  $echo "$modename: cannot build libtool library \`$output' from non-libtool objects on this host:$objs" 2>&1
+-	  exit 1
++	  exit $EXIT_FAILURE
+ 	else
+ 	  $echo
+ 	  $echo "*** Warning: Linking the shared library $output against the non-libtool"
+@@ -2879,13 +2898,13 @@
+ 	if test -n "$8"; then
+ 	  $echo "$modename: too many parameters to \`-version-info'" 1>&2
+ 	  $echo "$help" 1>&2
+-	  exit 1
++	  exit $EXIT_FAILURE
+ 	fi
+ 
+ 	# convert absolute version numbers to libtool ages
+ 	# this retains compatibility with .la files and attempts
+ 	# to make the code below a bit more comprehensible
+-	
++
+ 	case $vinfo_number in
+ 	yes)
+ 	  number_major="$2"
+@@ -2914,6 +2933,11 @@
+ 	    age="$number_minor"
+ 	    revision="$number_minor"
+ 	    ;;
++	  *)
++	    $echo "$modename: unknown library version type \`$version_type'" 1>&2
++	    $echo "Fatal configuration error.  See the $PACKAGE docs for more information." 1>&2
++	    exit $EXIT_FAILURE
++	    ;;
+ 	  esac
+ 	  ;;
+ 	no)
+@@ -2929,7 +2953,7 @@
+ 	*)
+ 	  $echo "$modename: CURRENT \`$current' is not a nonnegative integer" 1>&2
+ 	  $echo "$modename: \`$vinfo' is not valid version information" 1>&2
+-	  exit 1
++	  exit $EXIT_FAILURE
+ 	  ;;
+ 	esac
+ 
+@@ -2938,7 +2962,7 @@
+ 	*)
+ 	  $echo "$modename: REVISION \`$revision' is not a nonnegative integer" 1>&2
+ 	  $echo "$modename: \`$vinfo' is not valid version information" 1>&2
+-	  exit 1
++	  exit $EXIT_FAILURE
+ 	  ;;
+ 	esac
+ 
+@@ -2947,14 +2971,14 @@
+ 	*)
+ 	  $echo "$modename: AGE \`$age' is not a nonnegative integer" 1>&2
+ 	  $echo "$modename: \`$vinfo' is not valid version information" 1>&2
+-	  exit 1
++	  exit $EXIT_FAILURE
+ 	  ;;
+ 	esac
+ 
+ 	if test "$age" -gt "$current"; then
+ 	  $echo "$modename: AGE \`$age' is greater than the current interface number \`$current'" 1>&2
+ 	  $echo "$modename: \`$vinfo' is not valid version information" 1>&2
+-	  exit 1
++	  exit $EXIT_FAILURE
+ 	fi
+ 
+ 	# Calculate the version variables.
+@@ -3043,7 +3067,7 @@
+ 	*)
+ 	  $echo "$modename: unknown library version type \`$version_type'" 1>&2
+ 	  $echo "Fatal configuration error.  See the $PACKAGE docs for more information." 1>&2
+-	  exit 1
++	  exit $EXIT_FAILURE
+ 	  ;;
+ 	esac
+ 
+@@ -3097,9 +3121,11 @@
+ 	    *.$objext)
+ 	       ;;
+ 	    $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*)
+-	       if echo $p | $EGREP -e "$precious_files_regex" >/dev/null 2>&1
+-	       then
+-		 continue
++	       if test "X$precious_files_regex" != "X"; then
++	         if echo $p | $EGREP -e "$precious_files_regex" >/dev/null 2>&1
++	         then
++		   continue
++		 fi
+ 	       fi
+ 	       removelist="$removelist $p"
+ 	       ;;
+@@ -3580,7 +3606,7 @@
+ 	fi
+ 
+ 	# Get the real and link names of the library.
+-	eval shared_ext=\"$shrext\"
++	eval shared_ext=\"$shrext_cmds\"
+ 	eval library_names=\"$library_names_spec\"
+ 	set dummy $library_names
+ 	realname="$2"
+@@ -3644,12 +3670,12 @@
+ 	for test_deplib in $deplibs; do
+ 		case " $convenience " in
+ 		*" $test_deplib "*) ;;
+-		*) 
++		*)
+ 			tmp_deplibs="$tmp_deplibs $test_deplib"
+ 			;;
+ 		esac
+ 	done
+-	deplibs="$tmp_deplibs" 
++	deplibs="$tmp_deplibs"
+ 
+ 	if test -n "$convenience"; then
+ 	  if test -n "$whole_archive_flag_spec"; then
+@@ -3832,7 +3858,6 @@
+ 	  save_ifs="$IFS"; IFS='~'
+ 	  for cmd in $concat_cmds; do
+ 	    IFS="$save_ifs"
+-	    eval cmd=\"$cmd\"
+ 	    $show "$cmd"
+ 	    $run eval "$cmd" || exit $?
+ 	  done
+@@ -3879,7 +3904,7 @@
+ 	# Restore the uninstalled library and exit
+ 	if test "$mode" = relink; then
+ 	  $run eval '(cd $output_objdir && $rm ${realname}T && $mv $realname ${realname}T && $mv "$realname"U $realname)' || exit $?
+-	  exit 0
++	  exit $EXIT_SUCCESS
+ 	fi
+ 
+ 	# Create links to the real library.
+@@ -3927,7 +3952,7 @@
+       *.lo)
+ 	if test -n "$objs$old_deplibs"; then
+ 	  $echo "$modename: cannot build library object \`$output' from non-libtool objects" 1>&2
+-	  exit 1
++	  exit $EXIT_FAILURE
+ 	fi
+ 	libobj="$output"
+ 	obj=`$echo "X$output" | $Xsed -e "$lo2o"`
+@@ -4038,7 +4063,7 @@
+ 	  $run ${rm}r $gentop
+ 	fi
+ 
+-	exit 0
++	exit $EXIT_SUCCESS
+       fi
+ 
+       if test "$build_libtool_libs" != yes; then
+@@ -4051,7 +4076,7 @@
+ 	# accidentally link it into a program.
+ 	# $show "echo timestamp > $libobj"
+ 	# $run eval "echo timestamp > $libobj" || exit $?
+-	exit 0
++	exit $EXIT_SUCCESS
+       fi
+ 
+       if test -n "$pic_flag" || test "$pic_mode" != default; then
+@@ -4074,7 +4099,7 @@
+ 	$run ${rm}r $gentop
+       fi
+ 
+-      exit 0
++      exit $EXIT_SUCCESS
+       ;;
+ 
+     prog)
+@@ -4392,7 +4417,7 @@
+ 	  ;;
+ 	*)
+ 	  $echo "$modename: unknown suffix for \`$dlsyms'" 1>&2
+-	  exit 1
++	  exit $EXIT_FAILURE
+ 	  ;;
+ 	esac
+       else
+@@ -4480,7 +4505,7 @@
+ 	# Link the executable and exit
+ 	$show "$link_command"
+ 	$run eval "$link_command" || exit $?
+-	exit 0
++	exit $EXIT_SUCCESS
+       fi
+ 
+       if test "$hardcode_action" = relink; then
+@@ -4535,10 +4560,10 @@
+       fi
+ 
+       # Quote $echo for shipping.
+-      if test "X$echo" = "X$SHELL $0 --fallback-echo"; then
+-	case $0 in
+-	[\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $0 --fallback-echo";;
+-	*) qecho="$SHELL `pwd`/$0 --fallback-echo";;
++      if test "X$echo" = "X$SHELL $progpath --fallback-echo"; then
++	case $progpath in
++	[\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $progpath --fallback-echo";;
++	*) qecho="$SHELL `pwd`/$progpath --fallback-echo";;
+ 	esac
+ 	qecho=`$echo "X$qecho" | $Xsed -e "$sed_quote_subst"`
+       else
+@@ -4564,7 +4589,7 @@
+ 	    cwrappersource=`$echo ${objdir}/lt-${output}.c`
+ 	    cwrapper=`$echo ${output}.exe`
+ 	    $rm $cwrappersource $cwrapper
+-	    trap "$rm $cwrappersource $cwrapper; exit 1" 1 2 15
++	    trap "$rm $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15
+ 
+ 	    cat > $cwrappersource <<EOF
+ 
+@@ -4573,7 +4598,7 @@
+ 
+    The $output program cannot be directly executed until all the libtool
+    libraries that it depends on are installed.
+-   
++
+    This wrapper executable should never be moved out of the build directory.
+    If it is, it will not operate correctly.
+ 
+@@ -4605,7 +4630,7 @@
+ #if defined (_WIN32) || defined (__MSDOS__) || defined (__DJGPP__) || \
+   defined (__OS2__)
+ #define HAVE_DOS_BASED_FILE_SYSTEM
+-#ifndef DIR_SEPARATOR_2 
++#ifndef DIR_SEPARATOR_2
+ #define DIR_SEPARATOR_2 '\\'
+ #endif
+ #endif
+@@ -4636,7 +4661,7 @@
+ {
+   char **newargz;
+   int i;
+-  
++
+   program_name = (char *) xstrdup ((char *) basename (argv[0]));
+   newargz = XMALLOC(char *, argc+2);
+ EOF
+@@ -4649,7 +4674,7 @@
+   newargz[1] = fnqualify(argv[0]);
+   /* we know the script has the same name, without the .exe */
+   /* so make sure newargz[1] doesn't end in .exe */
+-  strendzap(newargz[1],".exe"); 
++  strendzap(newargz[1],".exe");
+   for (i = 1; i < argc; i++)
+     newargz[i+1] = xstrdup(argv[i]);
+   newargz[argc+1] = NULL;
+@@ -4672,7 +4697,7 @@
+   return p;
+ }
+ 
+-char * 
++char *
+ xstrdup (const char *string)
+ {
+   return string ? strcpy ((char *) xmalloc (strlen (string) + 1), string) : NULL
+@@ -4686,7 +4711,7 @@
+ 
+ #if defined (HAVE_DOS_BASED_FILE_SYSTEM)
+   /* Skip over the disk name in MSDOS pathnames. */
+-  if (isalpha (name[0]) && name[1] == ':') 
++  if (isalpha (name[0]) && name[1] == ':')
+     name += 2;
+ #endif
+ 
+@@ -4696,7 +4721,7 @@
+   return (char *) base;
+ }
+ 
+-char * 
++char *
+ fnqualify(const char *path)
+ {
+   size_t size;
+@@ -4724,7 +4749,7 @@
+ }
+ 
+ char *
+-strendzap(char *str, const char *pat) 
++strendzap(char *str, const char *pat)
+ {
+   size_t len, patlen;
+ 
+@@ -4744,7 +4769,7 @@
+ }
+ 
+ static void
+-lt_error_core (int exit_status, const char * mode, 
++lt_error_core (int exit_status, const char * mode,
+           const char * message, va_list ap)
+ {
+   fprintf (stderr, "%s: %s: ", program_name, mode);
+@@ -4773,7 +4798,7 @@
+ 	  ;;
+ 	esac
+ 	$rm $output
+-	trap "$rm $output; exit 1" 1 2 15
++	trap "$rm $output; exit $EXIT_FAILURE" 1 2 15
+ 
+ 	$echo > $output "\
+ #! $SHELL
+@@ -4873,7 +4898,7 @@
+       else
+ 	$echo \"\$relink_command_output\" >&2
+ 	$rm \"\$progdir/\$file\"
+-	exit 1
++	exit $EXIT_FAILURE
+       fi
+     fi
+ 
+@@ -4935,20 +4960,20 @@
+ 	esac
+ 	$echo >> $output "\
+       \$echo \"\$0: cannot exec \$program \${1+\"\$@\"}\"
+-      exit 1
++      exit $EXIT_FAILURE
+     fi
+   else
+     # The program doesn't exist.
+     \$echo \"\$0: error: \$progdir/\$program does not exist\" 1>&2
+     \$echo \"This script is just a wrapper for \$program.\" 1>&2
+     $echo \"See the $PACKAGE documentation for more information.\" 1>&2
+-    exit 1
++    exit $EXIT_FAILURE
+   fi
+ fi\
+ "
+ 	chmod +x $output
+       fi
+-      exit 0
++      exit $EXIT_SUCCESS
+       ;;
+     esac
+ 
+@@ -5067,7 +5092,7 @@
+ 	  for obj in $save_oldobjs
+ 	  do
+ 	    last_oldobj=$obj
+-	  done  
++	  done
+ 	  for obj in $save_oldobjs
+ 	  do
+ 	    oldobjs="$objlist $obj"
+@@ -5081,7 +5106,7 @@
+ 	      oldobjs=$objlist
+ 	      if test "$obj" = "$last_oldobj" ; then
+ 	        RANLIB=$save_RANLIB
+-	      fi  
++	      fi
+ 	      test -z "$concat_cmds" || concat_cmds=$concat_cmds~
+ 	      eval concat_cmds=\"\${concat_cmds}$old_archive_cmds\"
+ 	      objlist=
+@@ -5130,11 +5155,13 @@
+ 	fi
+       done
+       # Quote the link command for shipping.
+-      relink_command="(cd `pwd`; $SHELL $0 $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)"
++      relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)"
+       relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"`
+       if test "$hardcode_automatic" = yes ; then
+-        relink_command=
+-      fi  
++	relink_command=
++      fi
++
++
+       # Only create the output if not a dry run.
+       if test -z "$run"; then
+ 	for installed in no yes; do
+@@ -5152,7 +5179,7 @@
+ 		eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
+ 		if test -z "$libdir"; then
+ 		  $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2
+-		  exit 1
++		  exit $EXIT_FAILURE
+ 		fi
+ 		newdependency_libs="$newdependency_libs $libdir/$name"
+ 		;;
+@@ -5166,7 +5193,7 @@
+ 	      eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
+ 	      if test -z "$libdir"; then
+ 		$echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
+-		exit 1
++		exit $EXIT_FAILURE
+ 	      fi
+ 	      newdlfiles="$newdlfiles $libdir/$name"
+ 	    done
+@@ -5177,7 +5204,7 @@
+ 	      eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
+ 	      if test -z "$libdir"; then
+ 		$echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
+-		exit 1
++		exit $EXIT_FAILURE
+ 	      fi
+ 	      newdlprefiles="$newdlprefiles $libdir/$name"
+ 	    done
+@@ -5185,7 +5212,7 @@
+ 	  else
+ 	    newdlfiles=
+ 	    for lib in $dlfiles; do
+-	      case $lib in 
++	      case $lib in
+ 		[\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
+ 		*) abs=`pwd`"/$lib" ;;
+ 	      esac
+@@ -5194,7 +5221,7 @@
+ 	    dlfiles="$newdlfiles"
+ 	    newdlprefiles=
+ 	    for lib in $dlprefiles; do
+-	      case $lib in 
++	      case $lib in
+ 		[\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
+ 		*) abs=`pwd`"/$lib" ;;
+ 	      esac
+@@ -5257,7 +5284,7 @@
+       $run eval '(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)' || exit $?
+       ;;
+     esac
+-    exit 0
++    exit $EXIT_SUCCESS
+     ;;
+ 
+   # libtool install mode
+@@ -5346,13 +5373,13 @@
+     if test -z "$install_prog"; then
+       $echo "$modename: you must specify an install program" 1>&2
+       $echo "$help" 1>&2
+-      exit 1
++      exit $EXIT_FAILURE
+     fi
+ 
+     if test -n "$prev"; then
+       $echo "$modename: the \`$prev' option requires an argument" 1>&2
+       $echo "$help" 1>&2
+-      exit 1
++      exit $EXIT_FAILURE
+     fi
+ 
+     if test -z "$files"; then
+@@ -5362,7 +5389,7 @@
+ 	$echo "$modename: you must specify a destination" 1>&2
+       fi
+       $echo "$help" 1>&2
+-      exit 1
++      exit $EXIT_FAILURE
+     fi
+ 
+     # Strip any trailing slash from the destination.
+@@ -5383,7 +5410,7 @@
+       if test "$#" -gt 2; then
+ 	$echo "$modename: \`$dest' is not a directory" 1>&2
+ 	$echo "$help" 1>&2
+-	exit 1
++	exit $EXIT_FAILURE
+       fi
+     fi
+     case $destdir in
+@@ -5395,7 +5422,7 @@
+ 	*)
+ 	  $echo "$modename: \`$destdir' must be an absolute directory name" 1>&2
+ 	  $echo "$help" 1>&2
+-	  exit 1
++	  exit $EXIT_FAILURE
+ 	  ;;
+ 	esac
+       done
+@@ -5424,7 +5451,7 @@
+ 	else
+ 	  $echo "$modename: \`$file' is not a valid libtool archive" 1>&2
+ 	  $echo "$help" 1>&2
+-	  exit 1
++	  exit $EXIT_FAILURE
+ 	fi
+ 
+ 	library_names=
+@@ -5466,7 +5493,7 @@
+ 	  # but it's something to keep an eye on.
+ 	  if test "$inst_prefix_dir" = "$destdir"; then
+ 	    $echo "$modename: error: cannot install \`$file' to a directory not ending in $libdir" 1>&2
+-	    exit 1
++	    exit $EXIT_FAILURE
+ 	  fi
+ 
+ 	  if test -n "$inst_prefix_dir"; then
+@@ -5481,7 +5508,7 @@
+ 	  if $run eval "$relink_command"; then :
+ 	  else
+ 	    $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2
+-	    exit 1
++	    exit $EXIT_FAILURE
+ 	  fi
+ 	fi
+ 
+@@ -5560,7 +5587,7 @@
+ 	*)
+ 	  $echo "$modename: cannot copy a libtool object to \`$destfile'" 1>&2
+ 	  $echo "$help" 1>&2
+-	  exit 1
++	  exit $EXIT_FAILURE
+ 	  ;;
+ 	esac
+ 
+@@ -5578,7 +5605,7 @@
+ 	  $show "$install_prog $staticobj $staticdest"
+ 	  $run eval "$install_prog \$staticobj \$staticdest" || exit $?
+ 	fi
+-	exit 0
++	exit $EXIT_SUCCESS
+ 	;;
+ 
+       *)
+@@ -5632,7 +5659,7 @@
+ 	  # Check the variables that should have been set.
+ 	  if test -z "$notinst_deplibs"; then
+ 	    $echo "$modename: invalid libtool wrapper script \`$wrapper'" 1>&2
+-	    exit 1
++	    exit $EXIT_FAILURE
+ 	  fi
+ 
+ 	  finalize=yes
+@@ -5673,8 +5700,12 @@
+ 	      tmpdir="/tmp"
+ 	      test -n "$TMPDIR" && tmpdir="$TMPDIR"
+ 	      tmpdir="$tmpdir/libtool-$$"
+-	      if $mkdir "$tmpdir" && chmod 700 "$tmpdir"; then :
++	      save_umask=`umask`
++	      umask 0077
++	      if $mkdir "$tmpdir"; then
++	        umask $save_umask
+ 	      else
++	        umask $save_umask
+ 		$echo "$modename: error: cannot create temporary directory \`$tmpdir'" 1>&2
+ 		continue
+ 	      fi
+@@ -5757,9 +5788,9 @@
+     if test -n "$current_libdirs"; then
+       # Maybe just do a dry run.
+       test -n "$run" && current_libdirs=" -n$current_libdirs"
+-      exec_cmd='$SHELL $0 $preserve_args --finish$current_libdirs'
++      exec_cmd='$SHELL $progpath $preserve_args --finish$current_libdirs'
+     else
+-      exit 0
++      exit $EXIT_SUCCESS
+     fi
+     ;;
+ 
+@@ -5799,7 +5830,7 @@
+     fi
+ 
+     # Exit here if they wanted silent mode.
+-    test "$show" = : && exit 0
++    test "$show" = : && exit $EXIT_SUCCESS
+ 
+     $echo "----------------------------------------------------------------------"
+     $echo "Libraries have been installed in:"
+@@ -5835,7 +5866,7 @@
+     $echo "See any operating system documentation about shared libraries for"
+     $echo "more information, such as the ld(1) and ld.so(8) manual pages."
+     $echo "----------------------------------------------------------------------"
+-    exit 0
++    exit $EXIT_SUCCESS
+     ;;
+ 
+   # libtool execute mode
+@@ -5847,7 +5878,7 @@
+     if test -z "$cmd"; then
+       $echo "$modename: you must specify a COMMAND" 1>&2
+       $echo "$help"
+-      exit 1
++      exit $EXIT_FAILURE
+     fi
+ 
+     # Handle -dlopen flags immediately.
+@@ -5855,7 +5886,7 @@
+       if test ! -f "$file"; then
+ 	$echo "$modename: \`$file' is not a file" 1>&2
+ 	$echo "$help" 1>&2
+-	exit 1
++	exit $EXIT_FAILURE
+       fi
+ 
+       dir=
+@@ -5866,7 +5897,7 @@
+ 	else
+ 	  $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
+ 	  $echo "$help" 1>&2
+-	  exit 1
++	  exit $EXIT_FAILURE
+ 	fi
+ 
+ 	# Read the libtool library.
+@@ -5893,7 +5924,7 @@
+ 	  dir="$dir/$objdir"
+ 	else
+ 	  $echo "$modename: cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" 1>&2
+-	  exit 1
++	  exit $EXIT_FAILURE
+ 	fi
+ 	;;
+ 
+@@ -5973,7 +6004,7 @@
+ 	$echo "export $shlibpath_var"
+       fi
+       $echo "$cmd$args"
+-      exit 0
++      exit $EXIT_SUCCESS
+     fi
+     ;;
+ 
+@@ -6001,7 +6032,7 @@
+     if test -z "$rm"; then
+       $echo "$modename: you must specify an RM program" 1>&2
+       $echo "$help" 1>&2
+-      exit 1
++      exit $EXIT_FAILURE
+     fi
+ 
+     rmdirs=
+@@ -6115,7 +6146,7 @@
+ 	if test "$mode" = clean ; then
+ 	  noexename=$name
+ 	  case $file in
+-	  *.exe) 
++	  *.exe)
+ 	    file=`$echo $file|${SED} 's,.exe$,,'`
+ 	    noexename=`$echo $name|${SED} 's,.exe$,,'`
+ 	    # $file with .exe has already been added to rmfiles,
+@@ -6160,20 +6191,20 @@
+   "")
+     $echo "$modename: you must specify a MODE" 1>&2
+     $echo "$generic_help" 1>&2
+-    exit 1
++    exit $EXIT_FAILURE
+     ;;
+   esac
+ 
+   if test -z "$exec_cmd"; then
+     $echo "$modename: invalid operation mode \`$mode'" 1>&2
+     $echo "$generic_help" 1>&2
+-    exit 1
++    exit $EXIT_FAILURE
+   fi
+ fi # test -z "$show_help"
+ 
+ if test -n "$exec_cmd"; then
+   eval exec $exec_cmd
+-  exit 1
++  exit $EXIT_FAILURE
+ fi
+ 
+ # We need to display help for each of the modes.
+@@ -6209,7 +6240,7 @@
+ a more detailed description of MODE.
+ 
+ Report bugs to <bug-libtool@gnu.org>."
+-  exit 0
++  exit $EXIT_SUCCESS
+   ;;
+ 
+ clean)
+@@ -6364,14 +6395,14 @@
+ *)
+   $echo "$modename: invalid operation mode \`$mode'" 1>&2
+   $echo "$help" 1>&2
+-  exit 1
++  exit $EXIT_FAILURE
+   ;;
+ esac
+ 
+ $echo
+ $echo "Try \`$modename --help' for more information about other modes."
+ 
+-exit 0
++exit $EXIT_SUCCESS
+ 
+ # The TAGs below are defined such that we never get into a situation
+ # in which we disable both kinds of libraries.  Given conflicting
+diff -ruN heimdal-0.6.3-old/Makefile.in heimdal-0.6.3/Makefile.in
+--- heimdal-0.6.3-old/Makefile.in	2004-09-13 22:28:49.000000000 +1000
++++ heimdal-0.6.3/Makefile.in	2004-09-14 08:39:40.000000000 +1000
+@@ -1,8 +1,8 @@
+-# Makefile.in generated by automake 1.8.3 from Makefile.am.
++# Makefile.in generated by automake 1.7.9 from Makefile.am.
+ # @configure_input@
+ 
+-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+-# 2003, 2004  Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
++# 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.
+@@ -19,6 +19,7 @@
+ # $Id: Makefile.am.common,v 1.5 2002/05/19 18:35:37 joda Exp $
+ 
+ # $Id: Makefile.am.common,v 1.37.2.2 2003/10/13 13:15:39 joda Exp $
++
+ srcdir = @srcdir@
+ top_srcdir = @top_srcdir@
+ VPATH = @srcdir@
+@@ -26,6 +27,7 @@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+ top_builddir = .
++
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+ INSTALL = @INSTALL@
+ install_sh_DATA = $(install_sh) -c -m 644
+@@ -40,82 +42,6 @@
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+ host_triplet = @host@
+-DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
+-	$(srcdir)/Makefile.in $(top_srcdir)/Makefile.am.common \
+-	$(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure \
+-	ChangeLog NEWS TODO compile config.guess config.sub install-sh \
+-	ltconfig ltmain.sh missing mkinstalldirs
+-subdir = .
+-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+-am__aclocal_m4_deps = $(top_srcdir)/cf/aix.m4 \
+-	$(top_srcdir)/cf/auth-modules.m4 \
+-	$(top_srcdir)/cf/broken-getaddrinfo.m4 \
+-	$(top_srcdir)/cf/broken-getnameinfo.m4 \
+-	$(top_srcdir)/cf/broken-glob.m4 \
+-	$(top_srcdir)/cf/broken-realloc.m4 \
+-	$(top_srcdir)/cf/broken-snprintf.m4 $(top_srcdir)/cf/broken.m4 \
+-	$(top_srcdir)/cf/broken2.m4 $(top_srcdir)/cf/c-attribute.m4 \
+-	$(top_srcdir)/cf/capabilities.m4 \
+-	$(top_srcdir)/cf/check-compile-et.m4 \
+-	$(top_srcdir)/cf/check-declaration.m4 \
+-	$(top_srcdir)/cf/check-getpwnam_r-posix.m4 \
+-	$(top_srcdir)/cf/check-man.m4 \
+-	$(top_srcdir)/cf/check-netinet-ip-and-tcp.m4 \
+-	$(top_srcdir)/cf/check-type-extra.m4 \
+-	$(top_srcdir)/cf/check-var.m4 $(top_srcdir)/cf/check-x.m4 \
+-	$(top_srcdir)/cf/check-xau.m4 $(top_srcdir)/cf/crypto.m4 \
+-	$(top_srcdir)/cf/db.m4 $(top_srcdir)/cf/destdirs.m4 \
+-	$(top_srcdir)/cf/dlopen.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs2.m4 \
+-	$(top_srcdir)/cf/find-func.m4 \
+-	$(top_srcdir)/cf/find-if-not-broken.m4 \
+-	$(top_srcdir)/cf/have-struct-field.m4 \
+-	$(top_srcdir)/cf/have-type.m4 $(top_srcdir)/cf/irix.m4 \
+-	$(top_srcdir)/cf/krb-bigendian.m4 \
+-	$(top_srcdir)/cf/krb-func-getlogin.m4 \
+-	$(top_srcdir)/cf/krb-ipv6.m4 $(top_srcdir)/cf/krb-prog-ln-s.m4 \
+-	$(top_srcdir)/cf/krb-readline.m4 \
+-	$(top_srcdir)/cf/krb-struct-spwd.m4 \
+-	$(top_srcdir)/cf/krb-struct-winsize.m4 \
+-	$(top_srcdir)/cf/mips-abi.m4 $(top_srcdir)/cf/misc.m4 \
+-	$(top_srcdir)/cf/need-proto.m4 $(top_srcdir)/cf/osfc2.m4 \
+-	$(top_srcdir)/cf/otp.m4 $(top_srcdir)/cf/proto-compat.m4 \
+-	$(top_srcdir)/cf/retsigtype.m4 $(top_srcdir)/cf/roken-frag.m4 \
+-	$(top_srcdir)/cf/sunos.m4 $(top_srcdir)/cf/telnet.m4 \
+-	$(top_srcdir)/cf/test-package.m4 $(top_srcdir)/cf/wflags.m4 \
+-	$(top_srcdir)/cf/with-all.m4 $(top_srcdir)/configure.in
+-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+-	$(ACLOCAL_M4)
+-am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
+- configure.lineno configure.status.lineno
+-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = $(top_builddir)/include/config.h
+-CONFIG_CLEAN_FILES =
+-depcomp =
+-am__depfiles_maybe =
+-SOURCES =
+-DIST_SOURCES =
+-RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
+-	html-recursive info-recursive install-data-recursive \
+-	install-exec-recursive install-info-recursive \
+-	install-recursive installcheck-recursive installdirs-recursive \
+-	pdf-recursive ps-recursive uninstall-info-recursive \
+-	uninstall-recursive
+-ETAGS = etags
+-CTAGS = ctags
+-DIST_SUBDIRS = $(SUBDIRS)
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+-distdir = $(PACKAGE)-$(VERSION)
+-top_distdir = $(distdir)
+-am__remove_distdir = \
+-  { test ! -d $(distdir) \
+-    || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
+-         && rm -fr $(distdir); }; }
+-DIST_ARCHIVES = $(distdir).tar.gz
+-GZIP_ENV = --best
+-distuninstallcheck_listfiles = find . -type f -print
+-distcleancheck_listfiles = find . -type f -print
+ ACLOCAL = @ACLOCAL@
+ AIX4_FALSE = @AIX4_FALSE@
+ AIX4_TRUE = @AIX4_TRUE@
+@@ -140,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -150,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -173,12 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
++
+ INCLUDE_krb4 = @INCLUDE_krb4@
++
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
++
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -191,6 +130,7 @@
+ KRB5_TRUE = @KRB5_TRUE@
+ LDFLAGS = @LDFLAGS@
+ LEX = @LEX@
++
+ LEXLIB = @LEXLIB@
+ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+ LIBOBJS = @LIBOBJS@
+@@ -199,6 +139,7 @@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+ LIB_XauFileName = @LIB_XauFileName@
++
+ LIB_XauReadAuth = @LIB_XauReadAuth@
+ LIB_XauWriteAuth = @LIB_XauWriteAuth@
+ LIB_bswap16 = @LIB_bswap16@
+@@ -247,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -327,7 +270,6 @@
+ libexecdir = @libexecdir@
+ localstatedir = @localstatedir@
+ mandir = @mandir@
+-mkdir_p = @mkdir_p@
+ oldincludedir = @oldincludedir@
+ prefix = @prefix@
+ program_transform_name = @program_transform_name@
+@@ -335,64 +277,85 @@
+ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
++
+ SUFFIXES = .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8
++
+ INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken)
++
+ @do_roken_rename_TRUE@ROKEN_RENAME = -DROKEN_RENAME
++
+ AM_CFLAGS = $(WFLAGS)
++
+ CP = cp
++
+ buildinclude = $(top_builddir)/include
+ LIB_getattr = @LIB_getattr@
+ LIB_getpwent_r = @LIB_getpwent_r@
+ LIB_odm_initialize = @LIB_odm_initialize@
+ LIB_setpcred = @LIB_setpcred@
++
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
++
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
++
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++
+ @KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
+ @KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+ 
+ @KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
++
+ @DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
++
+ SUBDIRS = include lib kuser kdc admin kadmin kpasswd appl doc tools
++
+ ACLOCAL_AMFLAGS = -I cf
++
+ EXTRA_DIST = Makefile.am.common krb5.conf
++subdir = .
++ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
++mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++depcomp =
++am__depfiles_maybe =
++DIST_SOURCES =
++
++RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \
++	ps-recursive install-info-recursive uninstall-info-recursive \
++	all-recursive install-data-recursive install-exec-recursive \
++	installdirs-recursive install-recursive uninstall-recursive \
++	check-recursive installcheck-recursive
++DIST_COMMON = README $(srcdir)/Makefile.in $(srcdir)/configure \
++	$(top_srcdir)/Makefile.am.common \
++	$(top_srcdir)/cf/Makefile.am.common ChangeLog Makefile.am NEWS \
++	TODO aclocal.m4 compile config.guess config.sub configure \
++	configure.in install-sh ltconfig ltmain.sh missing \
++	mkinstalldirs
++DIST_SUBDIRS = $(SUBDIRS)
+ all: all-recursive
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c
+-am--refresh:
+-	@:
+-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(am__configure_deps)
+-	@for dep in $?; do \
+-	  case '$(am__configure_deps)' in \
+-	    *$$dep*) \
+-	      echo ' cd $(srcdir) && $(AUTOMAKE) --foreign  --ignore-deps'; \
+-	      cd $(srcdir) && $(AUTOMAKE) --foreign  --ignore-deps \
+-		&& exit 0; \
+-	      exit 1;; \
+-	  esac; \
+-	done; \
+-	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  --ignore-deps Makefile'; \
++
++am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
++ configure.lineno
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+-	  $(AUTOMAKE) --foreign  --ignore-deps Makefile
+-.PRECIOUS: Makefile
+-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+-	@case '$?' in \
+-	  *config.status*) \
+-	    echo ' $(SHELL) ./config.status'; \
+-	    $(SHELL) ./config.status;; \
+-	  *) \
+-	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
+-	    cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
+-	esac;
++	  $(AUTOMAKE) --foreign  Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)
+ 
+-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
++$(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ 	$(SHELL) ./config.status --recheck
+-
+-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
++$(srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
+ 	cd $(srcdir) && $(AUTOCONF)
+-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
++
++$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in cf/aix.m4 cf/auth-modules.m4 cf/broken-getaddrinfo.m4 cf/broken-getnameinfo.m4 cf/broken-glob.m4 cf/broken-realloc.m4 cf/broken-snprintf.m4 cf/broken.m4 cf/broken2.m4 cf/c-attribute.m4 cf/c-function.m4 cf/capabilities.m4 cf/check-compile-et.m4 cf/check-declaration.m4 cf/check-getpwnam_r-posix.m4 cf/check-man.m4 cf/check-netinet-ip-and-tcp.m4 cf/check-type-extra.m4 cf/check-var.m4 cf/check-x.m4 cf/check-xau.m4 cf/crypto.m4 cf/db.m4 cf/destdirs.m4 cf/dlopen.m4 cf/find-func-no-libs.m4 cf/find-func-no-libs2.m4 cf/find-func.m4 cf/find-if-not-broken.m4 cf/have-pragma-weak.m4 cf/have-struct-field.m4 cf/have-type.m4 cf/have-types.m4 cf/irix.m4 cf/krb-bigendian.m4 cf/krb-func-getcwd-broken.m4 cf/krb-func-getlogin.m4 cf/krb-ipv6.m4 cf/krb-prog-ln-s.m4 cf/krb-prog-ranlib.m4 cf/krb-prog-yacc.m4 cf/krb-readline.m4 cf/krb-struct-spwd.m4 cf/krb-struct-winsize.m4 cf/krb-sys-aix.m4 cf/krb-sys-nextstep.m4 cf/krb-version.m4 cf/mips-abi.m4 cf/misc.m4 cf/need-proto.m4 cf/osfc2.m4 cf/otp.m4 cf/proto-compat.m4 cf/retsigtype.m4 cf/roken-frag.m4 cf/roken.m4 cf/sunos.m4 cf/telnet.m4 cf/test-package.m4 cf/wflags.m4 cf/with-all.m4
+ 	cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
+ 
+ mostlyclean-libtool:
+@@ -464,6 +427,14 @@
+ 	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
+ 	done
+ 
++ETAGS = etags
++ETAGSFLAGS =
++
++CTAGS = ctags
++CTAGSFLAGS =
++
++tags: TAGS
++
+ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ 	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ 	unique=`for i in $$list; do \
+@@ -472,7 +443,6 @@
+ 	  $(AWK) '    { files[$$0] = 1; } \
+ 	       END { for (i in files) print i; }'`; \
+ 	mkid -fID $$unique
+-tags: TAGS
+ 
+ TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -498,6 +468,7 @@
+ 	test -z "$(ETAGS_ARGS)$$tags$$unique" \
+ 	  || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ 	     $$tags $$unique
++
+ ctags: CTAGS
+ CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+ 		$(TAGS_FILES) $(LISP)
+@@ -520,11 +491,24 @@
+ 
+ distclean-tags:
+ 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++
++top_distdir = .
++distdir = $(PACKAGE)-$(VERSION)
++
++am__remove_distdir = \
++  { test ! -d $(distdir) \
++    || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
++         && rm -fr $(distdir); }; }
++
++GZIP_ENV = --best
++distuninstallcheck_listfiles = find . -type f -print
++distcleancheck_listfiles = find . -type f -print
+ 
+ distdir: $(DISTFILES)
+ 	$(am__remove_distdir)
+ 	mkdir $(distdir)
+-	$(mkdir_p) $(distdir)/cf
++	$(mkinstalldirs) $(distdir)/./cf
+ 	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ 	list='$(DISTFILES)'; for file in $$list; do \
+@@ -536,7 +520,7 @@
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ 	    dir="/$$dir"; \
+-	    $(mkdir_p) "$(distdir)$$dir"; \
++	    $(mkinstalldirs) "$(distdir)$$dir"; \
+ 	  else \
+ 	    dir=''; \
+ 	  fi; \
+@@ -553,13 +537,13 @@
+ 	done
+ 	list='$(SUBDIRS)'; for subdir in $$list; do \
+ 	  if test "$$subdir" = .; then :; else \
+-	    test -d "$(distdir)/$$subdir" \
+-	    || mkdir "$(distdir)/$$subdir" \
++	    test -d $(distdir)/$$subdir \
++	    || mkdir $(distdir)/$$subdir \
+ 	    || exit 1; \
+ 	    (cd $$subdir && \
+ 	      $(MAKE) $(AM_MAKEFLAGS) \
+-	        top_distdir="../$(top_distdir)" \
+-	        distdir="../$(distdir)/$$subdir" \
++	        top_distdir="$(top_distdir)" \
++	        distdir=../$(distdir)/$$subdir \
+ 	        distdir) \
+ 	      || exit 1; \
+ 	  fi; \
+@@ -576,23 +560,6 @@
+ 	$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
+ 	$(am__remove_distdir)
+ 
+-dist-bzip2: distdir
+-	$(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
+-	$(am__remove_distdir)
+-
+-dist-tarZ: distdir
+-	$(AMTAR) chof - $(distdir) | compress -c >$(distdir).tar.Z
+-	$(am__remove_distdir)
+-
+-dist-shar: distdir
+-	shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
+-	$(am__remove_distdir)
+-
+-dist-zip: distdir
+-	-rm -f $(distdir).zip
+-	zip -rq $(distdir).zip $(distdir)
+-	$(am__remove_distdir)
+-
+ dist dist-all: distdir
+ 	$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
+ 	$(am__remove_distdir)
+@@ -601,18 +568,8 @@
+ # it guarantees that the distribution is self-contained by making another
+ # tarfile.
+ distcheck: dist
+-	case '$(DIST_ARCHIVES)' in \
+-	*.tar.gz*) \
+-	  GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf - ;;\
+-	*.tar.bz2*) \
+-	  bunzip2 -c $(distdir).tar.bz2 | $(AMTAR) xf - ;;\
+-	*.tar.Z*) \
+-	  uncompress -c $(distdir).tar.Z | $(AMTAR) xf - ;;\
+-	*.shar.gz*) \
+-	  GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | unshar ;;\
+-	*.zip*) \
+-	  unzip $(distdir).zip ;;\
+-	esac
++	$(am__remove_distdir)
++	GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
+ 	chmod -R a-w $(distdir); chmod a+w $(distdir)
+ 	mkdir $(distdir)/_build
+ 	mkdir $(distdir)/_inst
+@@ -632,20 +589,19 @@
+ 	        distuninstallcheck \
+ 	  && chmod -R a-w "$$dc_install_base" \
+ 	  && ({ \
+-	       (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
++	       (cd ../.. && $(mkinstalldirs) "$$dc_destdir") \
+ 	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
+ 	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
+ 	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
+ 	            distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
+ 	      } || { rm -rf "$$dc_destdir"; exit 1; }) \
+ 	  && rm -rf "$$dc_destdir" \
+-	  && $(MAKE) $(AM_MAKEFLAGS) dist \
+-	  && rm -rf $(DIST_ARCHIVES) \
++	  && $(MAKE) $(AM_MAKEFLAGS) dist-gzip \
++	  && rm -f $(distdir).tar.gz \
+ 	  && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
+ 	$(am__remove_distdir)
+-	@(echo "$(distdir) archives ready for distribution: "; \
+-	  list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
+-	  sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
++	@echo "$(distdir).tar.gz is ready for distribution" | \
++	  sed 'h;s/./=/g;p;x;p;x'
+ distuninstallcheck:
+ 	@cd $(distuninstallcheck_dir) \
+ 	&& test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
+@@ -670,6 +626,7 @@
+ all-am: Makefile all-local
+ installdirs: installdirs-recursive
+ installdirs-am:
++
+ install: install-recursive
+ install-exec: install-exec-recursive
+ install-data: install-data-recursive
+@@ -708,8 +665,6 @@
+ 
+ dvi-am:
+ 
+-html: html-recursive
+-
+ info: info-recursive
+ 
+ info-am:
+@@ -750,20 +705,23 @@
+ 
+ uninstall-info: uninstall-info-recursive
+ 
+-.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am all-local \
+-	am--refresh check check-am check-local clean clean-generic \
+-	clean-libtool clean-recursive ctags ctags-recursive dist \
+-	dist-all dist-bzip2 dist-gzip dist-shar dist-tarZ dist-zip \
++.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am all-local check \
++	check-am check-local clean clean-generic clean-libtool \
++	clean-recursive ctags ctags-recursive dist dist-all dist-gzip \
+ 	distcheck distclean distclean-generic distclean-libtool \
+ 	distclean-recursive distclean-tags distcleancheck distdir \
+-	distuninstallcheck dvi dvi-am html html-am info info-am \
+-	install install-am install-data install-data-am install-exec \
+-	install-exec-am install-info install-info-am install-man \
++	distuninstallcheck dvi dvi-am dvi-recursive info info-am \
++	info-recursive install install-am install-data install-data-am \
++	install-data-recursive install-exec install-exec-am \
++	install-exec-recursive install-info install-info-am \
++	install-info-recursive install-man install-recursive \
+ 	install-strip installcheck installcheck-am installdirs \
+-	installdirs-am maintainer-clean maintainer-clean-generic \
+-	maintainer-clean-recursive mostlyclean mostlyclean-generic \
+-	mostlyclean-libtool mostlyclean-recursive pdf pdf-am ps ps-am \
+-	tags tags-recursive uninstall uninstall-am uninstall-info-am
++	installdirs-am installdirs-recursive maintainer-clean \
++	maintainer-clean-generic maintainer-clean-recursive mostlyclean \
++	mostlyclean-generic mostlyclean-libtool mostlyclean-recursive \
++	pdf pdf-am pdf-recursive ps ps-am ps-recursive tags \
++	tags-recursive uninstall uninstall-am uninstall-info-am \
++	uninstall-info-recursive uninstall-recursive
+ 
+ 
+ install-suid-programs:
+diff -ruN heimdal-0.6.3-old/tools/Makefile.in heimdal-0.6.3/tools/Makefile.in
+--- heimdal-0.6.3-old/tools/Makefile.in	2004-09-13 22:29:38.000000000 +1000
++++ heimdal-0.6.3/tools/Makefile.in	2004-09-14 08:40:04.000000000 +1000
+@@ -1,8 +1,8 @@
+-# Makefile.in generated by automake 1.8.3 from Makefile.am.
++# Makefile.in generated by automake 1.7.9 from Makefile.am.
+ # @configure_input@
+ 
+-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+-# 2003, 2004  Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
++# 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.
+@@ -27,6 +27,7 @@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+ top_builddir = ..
++
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+ INSTALL = @INSTALL@
+ install_sh_DATA = $(install_sh) -c -m 644
+@@ -41,64 +42,6 @@
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+ host_triplet = @host@
+-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+-	$(top_srcdir)/Makefile.am.common \
+-	$(top_srcdir)/cf/Makefile.am.common
+-subdir = tools
+-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+-am__aclocal_m4_deps = $(top_srcdir)/cf/aix.m4 \
+-	$(top_srcdir)/cf/auth-modules.m4 \
+-	$(top_srcdir)/cf/broken-getaddrinfo.m4 \
+-	$(top_srcdir)/cf/broken-getnameinfo.m4 \
+-	$(top_srcdir)/cf/broken-glob.m4 \
+-	$(top_srcdir)/cf/broken-realloc.m4 \
+-	$(top_srcdir)/cf/broken-snprintf.m4 $(top_srcdir)/cf/broken.m4 \
+-	$(top_srcdir)/cf/broken2.m4 $(top_srcdir)/cf/c-attribute.m4 \
+-	$(top_srcdir)/cf/capabilities.m4 \
+-	$(top_srcdir)/cf/check-compile-et.m4 \
+-	$(top_srcdir)/cf/check-declaration.m4 \
+-	$(top_srcdir)/cf/check-getpwnam_r-posix.m4 \
+-	$(top_srcdir)/cf/check-man.m4 \
+-	$(top_srcdir)/cf/check-netinet-ip-and-tcp.m4 \
+-	$(top_srcdir)/cf/check-type-extra.m4 \
+-	$(top_srcdir)/cf/check-var.m4 $(top_srcdir)/cf/check-x.m4 \
+-	$(top_srcdir)/cf/check-xau.m4 $(top_srcdir)/cf/crypto.m4 \
+-	$(top_srcdir)/cf/db.m4 $(top_srcdir)/cf/destdirs.m4 \
+-	$(top_srcdir)/cf/dlopen.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs.m4 \
+-	$(top_srcdir)/cf/find-func-no-libs2.m4 \
+-	$(top_srcdir)/cf/find-func.m4 \
+-	$(top_srcdir)/cf/find-if-not-broken.m4 \
+-	$(top_srcdir)/cf/have-struct-field.m4 \
+-	$(top_srcdir)/cf/have-type.m4 $(top_srcdir)/cf/irix.m4 \
+-	$(top_srcdir)/cf/krb-bigendian.m4 \
+-	$(top_srcdir)/cf/krb-func-getlogin.m4 \
+-	$(top_srcdir)/cf/krb-ipv6.m4 $(top_srcdir)/cf/krb-prog-ln-s.m4 \
+-	$(top_srcdir)/cf/krb-readline.m4 \
+-	$(top_srcdir)/cf/krb-struct-spwd.m4 \
+-	$(top_srcdir)/cf/krb-struct-winsize.m4 \
+-	$(top_srcdir)/cf/mips-abi.m4 $(top_srcdir)/cf/misc.m4 \
+-	$(top_srcdir)/cf/need-proto.m4 $(top_srcdir)/cf/osfc2.m4 \
+-	$(top_srcdir)/cf/otp.m4 $(top_srcdir)/cf/proto-compat.m4 \
+-	$(top_srcdir)/cf/retsigtype.m4 $(top_srcdir)/cf/roken-frag.m4 \
+-	$(top_srcdir)/cf/sunos.m4 $(top_srcdir)/cf/telnet.m4 \
+-	$(top_srcdir)/cf/test-package.m4 $(top_srcdir)/cf/wflags.m4 \
+-	$(top_srcdir)/cf/with-all.m4 $(top_srcdir)/configure.in
+-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+-	$(ACLOCAL_M4)
+-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = $(top_builddir)/include/config.h
+-CONFIG_CLEAN_FILES =
+-am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"
+-binSCRIPT_INSTALL = $(INSTALL_SCRIPT)
+-SCRIPTS = $(bin_SCRIPTS)
+-depcomp =
+-am__depfiles_maybe =
+-SOURCES =
+-DIST_SOURCES =
+-man1dir = $(mandir)/man1
+-MANS = $(man_MANS)
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ ACLOCAL = @ACLOCAL@
+ AIX4_FALSE = @AIX4_FALSE@
+ AIX4_TRUE = @AIX4_TRUE@
+@@ -123,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -133,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -156,12 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
++
+ INCLUDE_krb4 = @INCLUDE_krb4@
++
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
++
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -174,6 +130,7 @@
+ KRB5_TRUE = @KRB5_TRUE@
+ LDFLAGS = @LDFLAGS@
+ LEX = @LEX@
++
+ LEXLIB = @LEXLIB@
+ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+ LIBOBJS = @LIBOBJS@
+@@ -182,6 +139,7 @@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+ LIB_XauFileName = @LIB_XauFileName@
++
+ LIB_XauReadAuth = @LIB_XauReadAuth@
+ LIB_XauWriteAuth = @LIB_XauWriteAuth@
+ LIB_bswap16 = @LIB_bswap16@
+@@ -230,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -310,7 +270,6 @@
+ libexecdir = @libexecdir@
+ localstatedir = @localstatedir@
+ mandir = @mandir@
+-mkdir_p = @mkdir_p@
+ oldincludedir = @oldincludedir@
+ prefix = @prefix@
+ program_transform_name = @program_transform_name@
+@@ -318,71 +277,79 @@
+ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
++
+ SUFFIXES = .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8
++
+ INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken)
++
+ @do_roken_rename_TRUE@ROKEN_RENAME = -DROKEN_RENAME
++
+ AM_CFLAGS = $(WFLAGS)
++
+ CP = cp
++
+ buildinclude = $(top_builddir)/include
+ LIB_getattr = @LIB_getattr@
+ LIB_getpwent_r = @LIB_getpwent_r@
+ LIB_odm_initialize = @LIB_odm_initialize@
+ LIB_setpcred = @LIB_setpcred@
++
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
++
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
++
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++
+ @KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
+ @KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+ 
+ @KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
++
+ @DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
++
+ EXTRA_DIST = krb5-config.1
++
+ CLEANFILES = krb5-config
++
+ bin_SCRIPTS = krb5-config
++
+ man_MANS = krb5-config.1
++subdir = tools
++ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
++mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++SCRIPTS = $(bin_SCRIPTS)
++
++depcomp =
++am__depfiles_maybe =
++DIST_SOURCES =
++MANS = $(man_MANS)
++DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/Makefile.am.common \
++	$(top_srcdir)/cf/Makefile.am.common Makefile.am
+ all: all-am
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c
+-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(am__configure_deps)
+-	@for dep in $?; do \
+-	  case '$(am__configure_deps)' in \
+-	    *$$dep*) \
+-	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+-		&& exit 0; \
+-	      exit 1;; \
+-	  esac; \
+-	done; \
+-	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  --ignore-deps tools/Makefile'; \
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+-	  $(AUTOMAKE) --foreign  --ignore-deps tools/Makefile
+-.PRECIOUS: Makefile
+-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+-	@case '$?' in \
+-	  *config.status*) \
+-	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+-	  *) \
+-	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+-	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+-	esac;
+-
+-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-
+-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
++	  $(AUTOMAKE) --foreign  tools/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
++binSCRIPT_INSTALL = $(INSTALL_SCRIPT)
+ install-binSCRIPTS: $(bin_SCRIPTS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
++	$(mkinstalldirs) $(DESTDIR)$(bindir)
+ 	@list='$(bin_SCRIPTS)'; for p in $$list; do \
+ 	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ 	  if test -f $$d$$p; then \
+ 	    f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
+-	    echo " $(binSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(bindir)/$$f'"; \
+-	    $(binSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(bindir)/$$f"; \
++	    echo " $(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f"; \
++	    $(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+@@ -390,8 +357,8 @@
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_SCRIPTS)'; for p in $$list; do \
+ 	  f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
+-	  echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
+-	  rm -f "$(DESTDIR)$(bindir)/$$f"; \
++	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
++	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+ mostlyclean-libtool:
+@@ -403,9 +370,11 @@
+ distclean-libtool:
+ 	-rm -f libtool
+ uninstall-info-am:
++
++man1dir = $(mandir)/man1
+ install-man1: $(man1_MANS) $(man_MANS)
+ 	@$(NORMAL_INSTALL)
+-	test -z "$(man1dir)" || $(mkdir_p) "$(DESTDIR)$(man1dir)"
++	$(mkinstalldirs) $(DESTDIR)$(man1dir)
+ 	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
+ 	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
+ 	for i in $$l2; do \
+@@ -424,8 +393,8 @@
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+-	  echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
+-	  $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst"; \
++	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
++	  $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
+ 	done
+ uninstall-man1:
+ 	@$(NORMAL_UNINSTALL)
+@@ -445,8 +414,8 @@
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+-	  echo " rm -f '$(DESTDIR)$(man1dir)/$$inst'"; \
+-	  rm -f "$(DESTDIR)$(man1dir)/$$inst"; \
++	  echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
++	  rm -f $(DESTDIR)$(man1dir)/$$inst; \
+ 	done
+ tags: TAGS
+ TAGS:
+@@ -454,9 +423,13 @@
+ ctags: CTAGS
+ CTAGS:
+ 
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++
++top_distdir = ..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	$(mkdir_p) $(distdir)/.. $(distdir)/../cf
++	$(mkinstalldirs) $(distdir)/.. $(distdir)/../cf
+ 	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ 	list='$(DISTFILES)'; for file in $$list; do \
+@@ -468,7 +441,7 @@
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ 	    dir="/$$dir"; \
+-	    $(mkdir_p) "$(distdir)$$dir"; \
++	    $(mkinstalldirs) "$(distdir)$$dir"; \
+ 	  else \
+ 	    dir=''; \
+ 	  fi; \
+@@ -490,10 +463,9 @@
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+ all-am: Makefile $(SCRIPTS) $(MANS) all-local
++
+ installdirs:
+-	for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"; do \
+-	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
+-	done
++	$(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(man1dir)
+ install: install-am
+ install-exec: install-exec-am
+ install-data: install-data-am
+@@ -531,8 +503,6 @@
+ 
+ dvi-am:
+ 
+-html: html-am
+-
+ info: info-am
+ 
+ info-am:
+@@ -573,11 +543,11 @@
+ 
+ .PHONY: all all-am all-local check check-am check-local clean \
+ 	clean-generic clean-libtool distclean distclean-generic \
+-	distclean-libtool distdir dvi dvi-am html html-am info info-am \
+-	install install-am install-binSCRIPTS install-data \
+-	install-data-am install-exec install-exec-am install-info \
+-	install-info-am install-man install-man1 install-strip \
+-	installcheck installcheck-am installdirs maintainer-clean \
++	distclean-libtool distdir dvi dvi-am info info-am install \
++	install-am install-binSCRIPTS install-data install-data-am \
++	install-exec install-exec-am install-info install-info-am \
++	install-man install-man1 install-strip installcheck \
++	installcheck-am installdirs maintainer-clean \
+ 	maintainer-clean-generic mostlyclean mostlyclean-generic \
+ 	mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
+ 	uninstall-binSCRIPTS uninstall-info-am uninstall-man \
--- heimdal-0.6.3.orig/debian/patches/022_ftp-roken-glob
+++ heimdal-0.6.3/debian/patches/022_ftp-roken-glob
@@ -0,0 +1,250 @@
+diff -ruN heimdal-0.6.3-old/appl/ftp/ftp/cmds.c heimdal-0.6.3/appl/ftp/ftp/cmds.c
+--- heimdal-0.6.3-old/appl/ftp/ftp/cmds.c	2001-08-05 16:39:14.000000000 +1000
++++ heimdal-0.6.3/appl/ftp/ftp/cmds.c	2004-09-13 15:48:26.000000000 +1000
+@@ -535,9 +535,17 @@
+ 
+ 	memset(&gl, 0, sizeof(gl));
+ 	flags = GLOB_BRACE|GLOB_NOCHECK|GLOB_QUOTE|GLOB_TILDE;
++#ifdef HAVE_GLOB
+ 	if (glob(argv[i], flags, NULL, &gl) || gl.gl_pathc == 0) {
++#else
++	if (roken_glob(argv[i], flags, NULL, &gl) || gl.gl_pathc == 0) {
++#endif 
+ 	    warnx("%s: not found", argv[i]);
++#ifdef HAVE_GLOB
+ 	    globfree(&gl);
++#else
++	    roken_globfree(&gl);
++#endif
+ 	    continue;
+ 	}
+ 	for (cpp = gl.gl_pathv; cpp && *cpp != NULL; cpp++) {
+@@ -558,7 +566,11 @@
+ 		}
+ 	    }
+ 	}
++#ifdef HAVE_GLOB
+ 	globfree(&gl);
++#else
++	roken_globfree(&gl);
++#endif
+     }
+     signal(SIGINT, oldintr);
+     mflag = 0;
+@@ -1567,14 +1579,27 @@
+ 
+ 	flags = GLOB_BRACE|GLOB_NOCHECK|GLOB_QUOTE|GLOB_TILDE;
+ 	memset(&gl, 0, sizeof(gl));
++#ifdef HAVE_GLOB
+ 	if (glob(*cpp, flags, NULL, &gl) ||
++#else 
++	if (roken_glob(*cpp, flags, NULL, &gl) ||
++#endif
+ 	    gl.gl_pathc == 0) {
+ 		warnx("%s: not found", *cpp);
++#ifdef HAVE_GLOB
+ 		globfree(&gl);
++#else
++		roken_globfree(&gl);
++#endif
+ 		return (0);
+ 	}
+ 	*cpp = strdup(gl.gl_pathv[0]);	/* XXX - wasted memory */
++#ifdef HAVE_GLOB
+ 	globfree(&gl);
++#else
++	roken_globfree(&gl);
++#endif
++
+ 	return (1);
+ }
+ 
+diff -ruN heimdal-0.6.3-old/appl/ftp/ftp/ftp_locl.h heimdal-0.6.3/appl/ftp/ftp/ftp_locl.h
+--- heimdal-0.6.3-old/appl/ftp/ftp/ftp_locl.h	2002-09-11 06:03:46.000000000 +1000
++++ heimdal-0.6.3/appl/ftp/ftp/ftp_locl.h	2004-09-13 15:48:26.000000000 +1000
+@@ -101,7 +101,11 @@
+ 
+ #include <errno.h>
+ #include <ctype.h>
++#ifdef HAVE_GLOB
+ #include <glob.h>
++#else
++#include <roken-glob.h>
++#endif 
+ #ifdef HAVE_NETDB_H
+ #include <netdb.h>
+ #endif
+diff -ruN heimdal-0.6.3-old/appl/ftp/ftpd/ftpcmd.y heimdal-0.6.3/appl/ftp/ftpd/ftpcmd.y
+--- heimdal-0.6.3-old/appl/ftp/ftpd/ftpcmd.y	2004-08-21 01:15:46.000000000 +1000
++++ heimdal-0.6.3/appl/ftp/ftpd/ftpcmd.y	2004-09-13 15:48:26.000000000 +1000
+@@ -826,14 +826,22 @@
+ 				 GLOB_BRACE|GLOB_NOCHECK|GLOB_QUOTE|GLOB_TILDE;
+ 
+ 				memset(&gl, 0, sizeof(gl));
++#ifdef HAVE_GLOB
+ 				if (glob($1, flags, NULL, &gl) ||
++#else
++				if (roken_glob($1, flags, NULL, &gl) ||
++#endif
+ 				    gl.gl_pathc == 0) {
+ 					reply(550, "not found");
+ 					$$ = NULL;
+ 				} else {
+ 					$$ = strdup(gl.gl_pathv[0]);
+ 				}
++#ifdef HAVE_GLOB
+ 				globfree(&gl);
++#else
++				roken_globfree(&gl);
++#endif
+ 				free($1);
+ 			} else
+ 				$$ = $1;
+diff -ruN heimdal-0.6.3-old/appl/ftp/ftpd/ftpd.c heimdal-0.6.3/appl/ftp/ftpd/ftpd.c
+--- heimdal-0.6.3-old/appl/ftp/ftpd/ftpd.c	2004-08-21 01:16:37.000000000 +1000
++++ heimdal-0.6.3/appl/ftp/ftpd/ftpd.c	2004-09-13 15:51:10.000000000 +1000
+@@ -2234,7 +2234,11 @@
+ 
+ 	memset(&gl, 0, sizeof(gl));
+ 	freeglob = 1;
++#ifdef HAVE_GLOB
+ 	if (glob(whichf, flags, 0, &gl)) {
++#else
++	if (roken_glob(whichf, flags, 0, &gl)) {
++#endif
+ 	    reply(550, "not found");
+ 	    goto out;
+ 	} else if (gl.gl_pathc == 0) {
+@@ -2341,7 +2345,11 @@
+     pdata = -1;
+     if (freeglob) {
+ 	freeglob = 0;
++#ifdef HAVE_GLOB
+ 	globfree(&gl);
++#else
++	roken_globfree(&gl);
++#endif
+     }
+ }
+ 
+diff -ruN heimdal-0.6.3-old/appl/ftp/ftpd/ftpd_locl.h heimdal-0.6.3/appl/ftp/ftpd/ftpd_locl.h
+--- heimdal-0.6.3-old/appl/ftp/ftpd/ftpd_locl.h	2004-08-21 01:17:07.000000000 +1000
++++ heimdal-0.6.3/appl/ftp/ftpd/ftpd_locl.h	2004-09-13 15:48:26.000000000 +1000
+@@ -106,7 +106,11 @@
+ #ifdef HAVE_FCNTL_H
+ #include <fcntl.h>
+ #endif
++#ifdef HAVE_GLOB
+ #include <glob.h>
++#else
++#include <roken-glob.h>
++#endif 
+ #include <limits.h>
+ #ifdef HAVE_PWD_H
+ #include <pwd.h>
+diff -ruN heimdal-0.6.3-old/appl/ftp/ftpd/popen.c heimdal-0.6.3/appl/ftp/ftpd/popen.c
+--- heimdal-0.6.3-old/appl/ftp/ftpd/popen.c	2002-04-02 21:57:39.000000000 +1000
++++ heimdal-0.6.3/appl/ftp/ftpd/popen.c	2004-09-13 15:48:26.000000000 +1000
+@@ -55,7 +55,11 @@
+ #include <sys/wait.h>
+ 
+ #include <errno.h>
++#ifdef HAVE_GLOB
+ #include <glob.h>
++#else
++#include <roken-glob.h>
++#endif
+ #include <signal.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+@@ -149,7 +153,11 @@
+ 
+ 		memset(&gl, 0, sizeof(gl));
+ 		if (no_glob || 
++#ifdef HAVE_GLOB
+ 		    glob(argv[argc], flags, NULL, &gl) || 
++#else
++		    roken_glob(argv[argc], flags, NULL, &gl) ||
++#endif
+ 		    gl.gl_pathc == 0)
+ 			gargv[gargc++] = strdup(argv[argc]);
+ 		else
+@@ -157,7 +165,11 @@
+ 			     *pop && gargc < MAXGLOBS - 1;
+ 			     pop++)
+ 				gargv[gargc++] = strdup(*pop);
++#ifdef HAVE_GLOB
+ 		globfree(&gl);
++#else
++		roken_globfree(&gl);
++#endif
+ 	}
+ 	gargv[gargc] = NULL;
+ 
+diff -ruN heimdal-0.6.3-old/lib/roken/glob.c heimdal-0.6.3/lib/roken/glob.c
+--- heimdal-0.6.3-old/lib/roken/glob.c	2001-08-22 01:32:44.000000000 +1000
++++ heimdal-0.6.3/lib/roken/glob.c	2004-09-13 15:48:26.000000000 +1000
+@@ -171,7 +171,7 @@
+ #endif
+ 
+ int
+-glob(const char *pattern, 
++roken_glob(const char *pattern, 
+      int flags, 
+      int (*errfunc)(const char *, int), 
+      glob_t *pglob)
+@@ -746,7 +746,7 @@
+ 
+ /* Free allocated data belonging to a glob_t structure. */
+ void
+-globfree(glob_t *pglob)
++roken_globfree(glob_t *pglob)
+ {
+ 	int i;
+ 	char **pp;
+diff -ruN heimdal-0.6.3-old/lib/roken/glob.hin heimdal-0.6.3/lib/roken/glob.hin
+--- heimdal-0.6.3-old/lib/roken/glob.hin	2001-03-26 09:43:19.000000000 +1000
++++ heimdal-0.6.3/lib/roken/glob.hin	2004-09-13 15:48:26.000000000 +1000
+@@ -36,8 +36,8 @@
+  *	@(#)glob.h	8.1 (Berkeley) 6/2/93
+  */
+ 
+-#ifndef _GLOB_H_
+-#define	_GLOB_H_
++#ifndef _ROKEN_GLOB_H_
++#define	_ROKEN_GLOB_H_
+ 
+ struct stat;
+ typedef struct {
+@@ -79,7 +79,7 @@
+ #define	GLOB_NOSPACE	(-1)	/* Malloc call failed. */
+ #define	GLOB_ABEND	(-2)	/* Unignored error. */
+ 
+-int	glob (const char *, int, int (*)(const char *, int), glob_t *);
+-void	globfree (glob_t *);
++int	roken_glob (const char *, int, int (*)(const char *, int), glob_t *);
++void	roken_globfree (glob_t *);
+ 
+-#endif /* !_GLOB_H_ */
++#endif /* !_ROKEN_GLOB_H_ */
+diff -ruN heimdal-0.6.3-old/lib/roken/Makefile.am heimdal-0.6.3/lib/roken/Makefile.am
+--- heimdal-0.6.3-old/lib/roken/Makefile.am	2003-10-15 02:13:15.000000000 +1000
++++ heimdal-0.6.3/lib/roken/Makefile.am	2004-09-13 15:48:26.000000000 +1000
+@@ -113,7 +113,7 @@
+ if have_glob_h
+ glob_h =
+ else
+-glob_h = glob.h
++glob_h = roken-glob.h
+ endif
+ 
+ if have_ifaddrs_h
+@@ -150,6 +150,8 @@
+ SUFFIXES += .hin
+ .hin.h:
+ 	cp $< $@
++roken-glob.h:
++	cp glob.hin roken-glob.h
+ 
+ roken.h: make-roken$(EXEEXT)
+ 	@./make-roken$(EXEEXT) > tmp.h ;\
--- heimdal-0.6.3.orig/debian/patches/032_libtool_version_script
+++ heimdal-0.6.3/debian/patches/032_libtool_version_script
@@ -0,0 +1,311 @@
+diff -ruN heimdal-0.6.3-old/aclocal.m4 heimdal-0.6.3/aclocal.m4
+--- heimdal-0.6.3-old/aclocal.m4	2004-05-11 10:11:33.000000000 +1000
++++ heimdal-0.6.3/aclocal.m4	2004-05-11 10:15:47.000000000 +1000
+@@ -2508,6 +2508,9 @@
+     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
+   fi
+ 
++  # argument to support GNU version scripts
++  version_script_arg='${wl}--version-script=\${libname}.ver'
++
+   # We used to test for /lib/ld.so.1 and disable shared libraries on
+   # powerpc, because MkLinux only supported shared libraries with the
+   # GNU dynamic linker.  Since this was broken with cross compilers,
+@@ -3745,8 +3748,8 @@
+   # Check if GNU C++ uses GNU ld as the underlying linker, since the
+   # archiving commands below assume that GNU ld is being used.
+   if test "$with_gnu_ld" = yes; then
+-    _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
+-    _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++    _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname $version_script_arg -o $lib'
++    _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols $version_script_arg -o $lib'
+ 
+     _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
+     _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
+@@ -4897,7 +4900,7 @@
+     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
+     lt_cv_sys_global_symbol_to_c_name_address \
+     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
+-    old_postinstall_cmds old_postuninstall_cmds \
++    old_postinstall_cmds old_postuninstall_cmds version_script_arg \
+     _LT_AC_TAGVAR(compiler, $1) \
+     _LT_AC_TAGVAR(CC, $1) \
+     _LT_AC_TAGVAR(LD, $1) \
+@@ -5098,6 +5101,9 @@
+ # Object file suffix (normally "o").
+ objext="$ac_objext"
+ 
++# Linker argument to specify a version script (if supported)
++version_script_arg="$version_script_arg"
++
+ # Old archive suffix (normally "a").
+ libext="$libext"
+ 
+@@ -6214,7 +6220,7 @@
+ 
+   linux*)
+     if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
+-        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname $version_script_arg -o $lib'
+ 	_LT_AC_TAGVAR(archive_cmds, $1)="$tmp_archive_cmds"
+       supports_anon_versioning=no
+       case `$LD -v 2>/dev/null` in
+diff -ruN heimdal-0.6.3-old/configure heimdal-0.6.3/configure
+--- heimdal-0.6.3-old/configure	2004-05-11 10:11:34.000000000 +1000
++++ heimdal-0.6.3/configure	2004-05-11 10:18:06.000000000 +1000
+@@ -7559,7 +7559,7 @@
+ 
+   linux*)
+     if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
+-        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname $version_script_arg -o $lib'
+ 	archive_cmds="$tmp_archive_cmds"
+       supports_anon_versioning=no
+       case `$LD -v 2>/dev/null` in
+@@ -8677,6 +8677,9 @@
+     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
+   fi
+ 
++  # argument to support GNU version scripts
++  version_script_arg='${wl}--version-script=\${libname}.ver'
++
+   # We used to test for /lib/ld.so.1 and disable shared libraries on
+   # powerpc, because MkLinux only supported shared libraries with the
+   # GNU dynamic linker.  Since this was broken with cross compilers,
+@@ -9815,7 +9818,7 @@
+     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
+     lt_cv_sys_global_symbol_to_c_name_address \
+     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
+-    old_postinstall_cmds old_postuninstall_cmds \
++    old_postinstall_cmds old_postuninstall_cmds version_script_arg \
+     compiler \
+     CC \
+     LD \
+@@ -10013,6 +10016,9 @@
+ # Object file suffix (normally "o").
+ objext="$ac_objext"
+ 
++# Linker argument to specify a version script (if supported)
++version_script_arg="$version_script_arg"
++
+ # Old archive suffix (normally "a").
+ libext="$libext"
+ 
+@@ -10530,8 +10536,8 @@
+   # Check if GNU C++ uses GNU ld as the underlying linker, since the
+   # archiving commands below assume that GNU ld is being used.
+   if test "$with_gnu_ld" = yes; then
+-    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
+-    archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname $version_script_arg -o $lib'
++    archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols $version_script_arg -o $lib'
+ 
+     hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
+     export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
+@@ -12369,6 +12375,9 @@
+     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
+   fi
+ 
++  # argument to support GNU version scripts
++  version_script_arg='${wl}--version-script=\${libname}.ver'
++
+   # We used to test for /lib/ld.so.1 and disable shared libraries on
+   # powerpc, because MkLinux only supported shared libraries with the
+   # GNU dynamic linker.  Since this was broken with cross compilers,
+@@ -13433,7 +13442,7 @@
+     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
+     lt_cv_sys_global_symbol_to_c_name_address \
+     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
+-    old_postinstall_cmds old_postuninstall_cmds \
++    old_postinstall_cmds old_postuninstall_cmds version_script_arg \
+     compiler_CXX \
+     CC_CXX \
+     LD_CXX \
+@@ -13583,6 +13592,9 @@
+ # Object file suffix (normally "o").
+ objext="$ac_objext"
+ 
++# Linker argument to specify a version script (if supported)
++version_script_arg="$version_script_arg"
++
+ # Old archive suffix (normally "a").
+ libext="$libext"
+ 
+@@ -14412,7 +14424,7 @@
+ 
+   linux*)
+     if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
+-        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname $version_script_arg -o $lib'
+ 	archive_cmds_F77="$tmp_archive_cmds"
+       supports_anon_versioning=no
+       case `$LD -v 2>/dev/null` in
+@@ -15510,6 +15522,9 @@
+     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
+   fi
+ 
++  # argument to support GNU version scripts
++  version_script_arg='${wl}--version-script=\${libname}.ver'
++
+   # We used to test for /lib/ld.so.1 and disable shared libraries on
+   # powerpc, because MkLinux only supported shared libraries with the
+   # GNU dynamic linker.  Since this was broken with cross compilers,
+@@ -15776,7 +15791,7 @@
+     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
+     lt_cv_sys_global_symbol_to_c_name_address \
+     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
+-    old_postinstall_cmds old_postuninstall_cmds \
++    old_postinstall_cmds old_postuninstall_cmds version_script_arg \
+     compiler_F77 \
+     CC_F77 \
+     LD_F77 \
+@@ -15926,6 +15941,9 @@
+ # Object file suffix (normally "o").
+ objext="$ac_objext"
+ 
++# Linker argument to specify a version script (if supported)
++version_script_arg="$version_script_arg"
++
+ # Old archive suffix (normally "a").
+ libext="$libext"
+ 
+@@ -16738,7 +16756,7 @@
+ 
+   linux*)
+     if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
+-        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname $version_script_arg -o $lib'
+ 	archive_cmds_GCJ="$tmp_archive_cmds"
+       supports_anon_versioning=no
+       case `$LD -v 2>/dev/null` in
+@@ -17856,6 +17874,9 @@
+     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
+   fi
+ 
++  # argument to support GNU version scripts
++  version_script_arg='${wl}--version-script=\${libname}.ver'
++
+   # We used to test for /lib/ld.so.1 and disable shared libraries on
+   # powerpc, because MkLinux only supported shared libraries with the
+   # GNU dynamic linker.  Since this was broken with cross compilers,
+@@ -18920,7 +18941,7 @@
+     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
+     lt_cv_sys_global_symbol_to_c_name_address \
+     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
+-    old_postinstall_cmds old_postuninstall_cmds \
++    old_postinstall_cmds old_postuninstall_cmds version_script_arg \
+     compiler_GCJ \
+     CC_GCJ \
+     LD_GCJ \
+@@ -19070,6 +19091,9 @@
+ # Object file suffix (normally "o").
+ objext="$ac_objext"
+ 
++# Linker argument to specify a version script (if supported)
++version_script_arg="$version_script_arg"
++
+ # Old archive suffix (normally "a").
+ libext="$libext"
+ 
+@@ -19365,7 +19389,7 @@
+     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
+     lt_cv_sys_global_symbol_to_c_name_address \
+     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
+-    old_postinstall_cmds old_postuninstall_cmds \
++    old_postinstall_cmds old_postuninstall_cmds version_script_arg \
+     compiler_RC \
+     CC_RC \
+     LD_RC \
+@@ -19515,6 +19539,9 @@
+ # Object file suffix (normally "o").
+ objext="$ac_objext"
+ 
++# Linker argument to specify a version script (if supported)
++version_script_arg="$version_script_arg"
++
+ # Old archive suffix (normally "a").
+ libext="$libext"
+ 
+diff -ruN heimdal-0.6.3-old/lib/krb5/Makefile.am heimdal-0.6.3/lib/krb5/Makefile.am
+--- heimdal-0.6.3-old/lib/krb5/Makefile.am	2004-05-11 10:11:32.000000000 +1000
++++ heimdal-0.6.3/lib/krb5/Makefile.am	2004-05-11 10:11:39.000000000 +1000
+@@ -132,7 +132,7 @@
+ 	write_message.c				\
+ 	$(ERR_FILES)
+ 
+-libkrb5_la_LDFLAGS = -version-info 20:0:3
++libkrb5_la_LDFLAGS = -version-info 20:0:3 -symbol-version KRB5_17_HEIMDAL
+ 
+ $(libkrb5_la_OBJECTS): $(srcdir)/krb5-protos.h $(srcdir)/krb5-private.h
+ 
+diff -ruN heimdal-0.6.3-old/lib/krb5/Makefile.in heimdal-0.6.3/lib/krb5/Makefile.in
+--- heimdal-0.6.3-old/lib/krb5/Makefile.in	2004-05-11 10:11:34.000000000 +1000
++++ heimdal-0.6.3/lib/krb5/Makefile.in	2004-05-11 10:11:39.000000000 +1000
+@@ -443,7 +443,7 @@
+ 	$(ERR_FILES)
+ 
+ 
+-libkrb5_la_LDFLAGS = -version-info 20:0:3
++libkrb5_la_LDFLAGS = -version-info 20:0:3 -symbol-version KRB5_17_HEIMDAL
+ 
+ 
+ #libkrb5_la_LIBADD = ../com_err/error.lo ../com_err/com_err.lo
+diff -ruN heimdal-0.6.3-old/ltmain.sh heimdal-0.6.3/ltmain.sh
+--- heimdal-0.6.3-old/ltmain.sh	2004-05-11 10:11:36.000000000 +1000
++++ heimdal-0.6.3/ltmain.sh	2004-05-11 10:11:39.000000000 +1000
+@@ -947,6 +947,7 @@
+     thread_safe=no
+     vinfo=
+     vinfo_number=no
++    symbolversion=
+ 
+     func_infer_tag $base_compile
+ 
+@@ -1496,6 +1497,11 @@
+ 	continue
+ 	;;
+ 
++      -symbol-version)
++	prev=symbolversion
++	continue
++	;;
++	
+       -Wc,*)
+ 	args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wc,//'`
+ 	arg=
+@@ -3750,6 +3756,13 @@
+ 	  $run eval '(cd $output_objdir && $rm ${realname}U && $mv $realname ${realname}U)' || exit $?
+ 	fi
+ 
++	# Eval so we get the libname.
++	if test -n "$symbolversion"; then
++		eval version_script_arg=\"$version_script_arg\"
++	else
++		version_script_arg=
++	fi
++
+ 	# Do each of the archive commands.
+ 	if test "$module" = yes && test -n "$module_cmds" ; then
+ 	  if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
+@@ -3768,6 +3781,21 @@
+ 	  cmds=$archive_cmds
+ 	  fi
+ 	fi
++	if test -n "$symbolversion"; then
++	  cat > ${libname}.ver <<EOF
++HIDDEN {
++	local:
++		__*;
++		_rest*;
++		_save*;
++};
++
++$symbolversion {
++	global:
++		*;
++};
++EOF
++	fi
+ 
+ 	if test "X$skipped_export" != "X:" && len=`expr "X$test_cmds" : ".*"` &&
+ 	   test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
--- heimdal-0.6.3.orig/debian/patches/031_autotools
+++ heimdal-0.6.3/debian/patches/031_autotools
@@ -0,0 +1,9 @@
+--- heimdal-0.6.3/ltmain.sh.orig	Fri May 11 05:34:59 2001
++++ heimdal-0.6.3/ltmain.sh	Thu May 31 02:14:09 2001
+@@ -1862,6 +1862,7 @@
+ 	    else
+ 	      # We cannot seem to hardcode it, guess we'll fake it.
+ 	      add_dir="-L$libdir"
++	      test -d $ladir/.libs && add_dir="$add_dir -L$ladir/.libs"
+ 	      add="-l$name"
+ 	    fi
--- heimdal-0.6.3.orig/debian/patches/022_openafs
+++ heimdal-0.6.3/debian/patches/022_openafs
@@ -0,0 +1,14 @@
+diff -ruN heimdal-0.6.3-old/lib/krb5/keytab_keyfile.c heimdal-0.6.3/lib/krb5/keytab_keyfile.c
+--- heimdal-0.6.3-old/lib/krb5/keytab_keyfile.c 2002-10-21 17:42:06.000000000 +0200
++++ heimdal-0.6.3/lib/krb5/keytab_keyfile.c     2004-12-18 20:16:30.000000000 +0100
+@@ -48,8 +48,8 @@
+  *
+  */
+ 
+-#define AFS_SERVERTHISCELL "/usr/afs/etc/ThisCell"
+-#define AFS_SERVERMAGICKRBCONF "/usr/afs/etc/krb.conf"
++#define AFS_SERVERTHISCELL "/etc/openafs/ThisCell"
++#define AFS_SERVERMAGICKRBCONF "/etc/openafs/etc/krb.conf"
+ 
+ struct akf_data {
+     int num_entries;
--- heimdal-0.6.3.orig/debian/patches/001_kdc_sigpipe
+++ heimdal-0.6.3/debian/patches/001_kdc_sigpipe
@@ -0,0 +1,88 @@
+
+Love <lha@stacken.kth.se> writes:
+
+> "Jeffrey Layton" <jtlayton@poochiereds.net> writes:
+>
+>> On 12/13/2004, "Love" <lha@stacken.kth.se> wrote:
+>>
+>>>
+>>>Here is a tested, and soon commited patch that fixes the problem.
+>>>
+>>>Love
+>>>
+>>>
+>>
+>> Been out of the loop for a couple of days and was going to give this
+>> patch a shot, but it doesn't apply cleanly for me. I'm using the
+>> debian 0.6.3-4 source package. Is this patch against a different version?
+>
+> Yes, its agaist the upcoming 0.7 release, I'll backport the change, I'll se
+> if I get the changes to do it tonight.
+
+Here is a diff to 0.6.3 release.
+
+Love
+
+diff -u -r1.27 -r1.27.4.1
+--- heimdal-0.6.3-old/kdc/main.c	28 Aug 2002 21:27:16 -0000	1.27
++++ heimdal-0.6.3/kdc/main.c	14 Dec 2004 21:43:37 -0000	1.27.4.1
+@@ -98,10 +98,14 @@
+ 
+ 	sigaction(SIGINT, &sa, NULL);
+ 	sigaction(SIGTERM, &sa, NULL);
++
++	sa.sa_handler = SIG_IGN;
++	sigaction(SIGPIPE, &sa, NULL);
+     }
+ #else
+     signal(SIGINT, sigterm);
+     signal(SIGTERM, sigterm);
++    signal(SIGPIPE, SIG_IGN);
+ #endif
+ #ifdef HAVE_DAEMON
+     if (detach_from_console)
+diff -u -r1.90.2.2 -r1.90.2.3
+--- heimdal-0.6.3-old/kdc/connect.c	2 Apr 2004 20:50:53 -0000	1.90.2.2
++++ heimdal-0.6.3/kdc/connect.c	14 Dec 2004 21:42:55 -0000	1.90.2.3
+@@ -660,11 +660,19 @@
+ 	    "<H1>404 Not found</H1>\r\n"
+ 	    "That page doesn't exist, maybe you are looking for "
+ 	    "<A HREF=\"http://www.pdc.kth.se/heimdal/\">Heimdal</A>?\r\n";
+-	write(d->s, proto, strlen(proto));
+-	write(d->s, msg, strlen(msg));
+ 	kdc_log(0, "HTTP request from %s is non KDC request", d->addr_string);
+ 	kdc_log(5, "Request: %s", t);
+ 	free(data);
++	if (write(d->s, proto, strlen(proto)) < 0) {
++	    kdc_log(0, "HTTP write failed: %s: %s", 
++		    d->addr_string, strerror(errno));
++	    return -1;
++	}
++	if (write(d->s, msg, strlen(msg)) < 0) {
++	    kdc_log(0, "HTTP write failed: %s: %s", 
++		    d->addr_string, strerror(errno));
++	    return -1;
++	}
+ 	return -1;
+     }
+     {
+@@ -675,8 +683,16 @@
+ 	    "Pragma: no-cache\r\n"
+ 	    "Content-type: application/octet-stream\r\n"
+ 	    "Content-transfer-encoding: binary\r\n\r\n";
+-	write(d->s, proto, strlen(proto));
+-	write(d->s, msg, strlen(msg));
++	if (write(d->s, proto, strlen(proto)) < 0) {
++	    kdc_log(0, "HTTP write failed: %s: %s", 
++		    d->addr_string, strerror(errno));
++	    return -1;
++	}
++	if (write(d->s, msg, strlen(msg)) < 0) {
++	    kdc_log(0, "HTTP write failed: %s: %s", 
++		    d->addr_string, strerror(errno));
++	    return -1;
++	}
+     }
+     memcpy(d->buf, data, len);
+     d->len = len;
+
--- heimdal-0.6.3.orig/debian/patches/023_gcc4_fix
+++ heimdal-0.6.3/debian/patches/023_gcc4_fix
@@ -0,0 +1,41 @@
+diff -urN tmp/lib/asn1/gen_glue.c heimdal-0.6.3/lib/asn1/gen_glue.c
+--- tmp/lib/asn1/gen_glue.c	2005-03-21 23:03:47.637549000 +0100
++++ heimdal-0.6.3/lib/asn1/gen_glue.c	2005-03-21 23:04:53.005929285 +0100
+@@ -101,11 +101,11 @@
+     Type *t = s->type;
+     Member *m;
+     int tag = -1;
+-
++/*
+     fprintf (headerfile,
+ 	     "extern struct units %s_units[];",
+ 	     s->gen_name);
+-
++*/
+     fprintf (codefile,
+ 	     "struct units %s_units[] = {\n",
+ 	     s->gen_name);
+diff -urN tmp/kdc/kerberos5.c heimdal-0.6.3/kdc/kerberos5.c
+--- tmp/kdc/kerberos5.c	2004-08-13 21:28:26.000000000 +0200
++++ heimdal-0.6.3/kdc/kerberos5.c	2005-03-22 00:12:33.680196105 +0100
+@@ -37,6 +37,8 @@
+ 
+ #define MAX_TIME ((time_t)((1U << 31) - 1))
+ 
++extern struct units KDCOptions_units[];
++
+ static void
+ fix_time(time_t **t)
+ {
+diff -urN tmp/lib/kadm5/dump_log.c heimdal-0.6.3/lib/kadm5/dump_log.c
+--- tmp/lib/kadm5/dump_log.c	2003-04-16 19:56:02.000000000 +0200
++++ heimdal-0.6.3/lib/kadm5/dump_log.c	2005-03-22 00:11:26.201221863 +0100
+@@ -36,6 +36,8 @@
+ 
+ RCSID("$Id: dump_log.c,v 1.13 2003/04/16 17:56:02 lha Exp $");
+ 
++extern struct units HDBFlags_units[];
++
+ static char *op_names[] = {
+     "get",
+     "delete",
--- heimdal-0.6.3.orig/debian/patches/002_telnet_bof
+++ heimdal-0.6.3/debian/patches/002_telnet_bof
@@ -0,0 +1,88 @@
+--- heimdal-0.6.3/appl/telnet/telnet/telnet.c.orig	2002-05-03 12:19:43.000000000 +0200
++++ heimdal-0.6.3/appl/telnet/telnet/telnet.c	2005-04-21 01:07:40.854403312 +0200
+@@ -1294,6 +1294,7 @@
+ 
+ 
+ unsigned char slc_reply[128];
++unsigned char const * const slc_reply_eom = &slc_reply[sizeof(slc_reply)];
+ unsigned char *slc_replyp;
+ 
+ void
+@@ -1309,6 +1310,14 @@
+ void
+ slc_add_reply(unsigned char func, unsigned char flags, cc_t value)
+ {
++	/* A sequence of up to 6 bytes my be written for this member of the SLC
++	 * suboption list by this function.  The end of negotiation command,
++	 * which is written by slc_end_reply(), will require 2 additional
++	 * bytes.  Do not proceed unless there is sufficient space for these
++	 * items.
++	 */
++	if (&slc_replyp[6+2] > slc_reply_eom)
++		return;
+ 	if ((*slc_replyp++ = func) == IAC)
+ 		*slc_replyp++ = IAC;
+ 	if ((*slc_replyp++ = flags) == IAC)
+@@ -1322,6 +1331,9 @@
+ {
+     int len;
+ 
++    /* The end of negotiation command requires 2 bytes. */
++    if (&slc_replyp[2] > slc_reply_eom)
++            return;
+     *slc_replyp++ = IAC;
+     *slc_replyp++ = SE;
+     len = slc_replyp - slc_reply;
+@@ -1415,8 +1427,8 @@
+ 	}
+ }
+ 
+-#define	OPT_REPLY_SIZE	256
+-unsigned char *opt_reply;
++#define	OPT_REPLY_SIZE	(2 * SUBBUFSIZE)
++unsigned char *opt_reply = NULL;
+ unsigned char *opt_replyp;
+ unsigned char *opt_replyend;
+ 
+@@ -1475,9 +1487,9 @@
+ 		return;
+ 	}
+ 	vp = env_getvalue(ep);
+-	if (opt_replyp + (vp ? strlen((char *)vp) : 0) +
+-				strlen((char *)ep) + 6 > opt_replyend)
+-	{
++        if (opt_replyp + (vp ? 2 * strlen((char *)vp) : 0) +
++                                2 * strlen((char *)ep) + 6 > opt_replyend)
++        {
+ 		int len;
+ 		void *tmp;
+ 		opt_replyend += OPT_REPLY_SIZE;
+@@ -1503,6 +1515,8 @@
+ 		*opt_replyp++ = ENV_USERVAR;
+ 	for (;;) {
+ 		while ((c = *ep++)) {
++			if (opt_replyp + (2 + 2) > opt_replyend)
++				return;
+ 			switch(c&0xff) {
+ 			case IAC:
+ 				*opt_replyp++ = IAC;
+@@ -1517,6 +1531,8 @@
+ 			*opt_replyp++ = c;
+ 		}
+ 		if ((ep = vp)) {
++			if (opt_replyp + (1 + 2 + 2) > opt_replyend)
++				return;
+ #ifdef	OLD_ENVIRON
+ 			if (telopt_environ == TELOPT_OLD_ENVIRON)
+ 				*opt_replyp++ = old_env_value;
+@@ -1547,7 +1563,9 @@
+ {
+ 	int len;
+ 
+-	len = opt_replyp - opt_reply + 2;
++	if (opt_replyp + 2 > opt_replyend)
++		return;
++	len = opt_replyp + 2 - opt_reply;
+ 	if (emptyok || len > 6) {
+ 		*opt_replyp++ = IAC;
+ 		*opt_replyp++ = SE;
--- heimdal-0.6.3.orig/debian/patches-0.3c/014_xnlock_manpage
+++ heimdal-0.6.3/debian/patches-0.3c/014_xnlock_manpage
@@ -0,0 +1,266 @@
+diff -ruN heimdal-0.3c-old/appl/xnlock/Makefile.am heimdal-0.3c/appl/xnlock/Makefile.am
+--- heimdal-0.3c-old/appl/xnlock/Makefile.am	Tue Jul 18 02:38:16 2000
++++ heimdal-0.3c/appl/xnlock/Makefile.am	Tue Nov 28 09:50:46 2000
+@@ -16,7 +16,7 @@
+ 
+ endif
+ 
+-man1_MANS = xnlock.man
++man1_MANS = xnlock.1
+ 
+ EXTRA_DIST = $(man1_MANS) nose.0.left nose.0.right nose.1.left nose.1.right \
+ 	nose.down nose.front nose.left.front nose.right.front
+diff -ruN heimdal-0.3c-old/appl/xnlock/xnlock.1 heimdal-0.3c/appl/xnlock/xnlock.1
+--- heimdal-0.3c-old/appl/xnlock/xnlock.1	Thu Jan  1 10:00:00 1970
++++ heimdal-0.3c/appl/xnlock/xnlock.1	Mon Oct 23 21:18:01 1995
+@@ -0,0 +1,123 @@
++.\" xnlock -- Dan Heller 1985 <argv@sun.com>
++.TH XNLOCK 1L "19 April 1990"
++.SH NAME
++xnlock \- amusing lock screen program with message for passers-by
++.SH SYNOPSIS
++.B xnlock
++[
++\fIoptions\fP
++]
++[
++\fImessage\fP
++]
++.SH DESCRIPTION
++.I xnlock
++is a program that acts as a screen saver for workstations running X11.
++It also "locks" the screen such that the workstation can be left
++unattended without worry that someone else will walk up to it and
++mess everything up.  When \fIxnlock\fP is running, a little man with
++a big nose and a hat runs around spewing out messages to the screen.
++By default, the messages are "humorous", but that depends on your
++sense of humor.
++.LP
++If a key or mouse button is pressed, a prompt is printed requesting the
++user's password.  If a RETURN is not typed within 30 seconds,
++the little man resumes running around.
++.LP
++Text on the command line is used as the message.  For example:
++.br
++	% xnlock I\'m out to lunch for a couple of hours.
++.br
++Note the need to quote shell metacharacters.
++.LP
++In the absence of flags or text, \fIxnlock\fP displays random fortunes.
++.SH OPTIONS
++Command line options override all resource specifications.
++All arguments that are not associated with a command line option
++is taken to be message text that the little man will "say" every
++once in a while.  The resource \fBxnlock.text\fP may be set to
++a string.
++.TP
++.BI \-fn " fontname"
++The default font is the first 18 point font in the \fInew century schoolbook\fP
++family.  While larger fonts are recokmmended over smaller ones, any font
++in the server's font list will work.  The resource to use for this option
++is \fBxnlock.font\fP.
++.TP
++.BI \-filename "  filename"
++Take the message to be displayed from the file \fIfilename\fP.
++If \fIfilename\fP is not specified, \fI$HOME/.msgfile\fP is used.
++If the contents of the file are changed during runtime, the most recent text
++of the file is used (allowing the displayed message to be altered remotely).
++Carriage returns within the text are allowed, but tabs or other control
++characters are not translated and should not be used.
++The resource available for this option is \fBxnlock.file\fP.
++.TP
++.BI \-ar
++Accept root's password to unlock screen.  This option is true by
++default.  The reason for this is so that someone's screen may be
++unlocked by autorized users in case of emergency and the person
++running the program is still out to lunch.  The resource available
++for specifying this option is \fBxnlock.acceptRootPasswd\fP.
++.TP
++.BI \-noar
++Don't accept root's password.  This option is for paranoids who
++fear their peers might breakin using root's password and remove
++their files anyway.  Specifying this option on the command line
++overrides the \fBxnlock.acceptRootPasswd\fP if set to True.
++.TP
++.BI \-ip
++Ignore password prompt.
++The resource available for this option is \fBxnlock.ignorePasswd\fP.
++.TP
++.BI \-noip
++Don't ignore password prompt.  This is available in order to
++override the resource \fBignorePasswd\fP if set to True.
++.TP
++.BI -fg " color"
++Specifies the foreground color.  The resource available for this
++is \fBxnlock.foreground\fP.
++.TP
++.BI -bg " color"
++Specifies the background color.  The resource available for this
++is \fBxnlock.background\fP.
++.TP
++.BI \-rv
++Reverse the foreground and background colors.
++The resource for this is \fBxvnlock.reverseVideo\fP.
++.TP
++.BI \-norv
++Don't use reverse video.  This is available to override the reverseVideo
++resource if set to True.
++.TP
++.BI \-prog " program"
++Receive message text from the running program \fIprogram\fP. If there
++are arguments to \fIprogram\fP, encase them with the name of the program in
++quotes (e.g. xnlock -t "fortune -o").
++The resource for this is \fBxnlock.program\fP.
++.SH RESOURCES
++.br
++xnlock.font:               fontname
++.br
++xnlock.foreground:         color
++.br
++xnlock.background:         color
++.br
++xnlock.reverseVideo:       True/False
++.br
++xnlock.text:               Some random text string
++.br
++xnlock.program:            program [args]
++.br
++xnlock.ignorePasswd:       True/False
++.br
++xnlock.acceptRootPasswd:   True/False
++.SH FILES
++\fIxnlock\fP               executable file
++.br
++~/.msgfile                 default message file
++.SH AUTHOR
++Dan Heller <argv@sun.com>  Copyright (c) 1985, 1990.
++.br
++The original version of this program was written using pixrects on
++a Sun 2 running SunOS 1.1.
+diff -ruN heimdal-0.3c-old/appl/xnlock/xnlock.man heimdal-0.3c/appl/xnlock/xnlock.man
+--- heimdal-0.3c-old/appl/xnlock/xnlock.man	Mon Oct 23 21:18:01 1995
++++ heimdal-0.3c/appl/xnlock/xnlock.man	Thu Jan  1 10:00:00 1970
+@@ -1,123 +0,0 @@
+-.\" xnlock -- Dan Heller 1985 <argv@sun.com>
+-.TH XNLOCK 1L "19 April 1990"
+-.SH NAME
+-xnlock \- amusing lock screen program with message for passers-by
+-.SH SYNOPSIS
+-.B xnlock
+-[
+-\fIoptions\fP
+-]
+-[
+-\fImessage\fP
+-]
+-.SH DESCRIPTION
+-.I xnlock
+-is a program that acts as a screen saver for workstations running X11.
+-It also "locks" the screen such that the workstation can be left
+-unattended without worry that someone else will walk up to it and
+-mess everything up.  When \fIxnlock\fP is running, a little man with
+-a big nose and a hat runs around spewing out messages to the screen.
+-By default, the messages are "humorous", but that depends on your
+-sense of humor.
+-.LP
+-If a key or mouse button is pressed, a prompt is printed requesting the
+-user's password.  If a RETURN is not typed within 30 seconds,
+-the little man resumes running around.
+-.LP
+-Text on the command line is used as the message.  For example:
+-.br
+-	% xnlock I\'m out to lunch for a couple of hours.
+-.br
+-Note the need to quote shell metacharacters.
+-.LP
+-In the absence of flags or text, \fIxnlock\fP displays random fortunes.
+-.SH OPTIONS
+-Command line options override all resource specifications.
+-All arguments that are not associated with a command line option
+-is taken to be message text that the little man will "say" every
+-once in a while.  The resource \fBxnlock.text\fP may be set to
+-a string.
+-.TP
+-.BI \-fn " fontname"
+-The default font is the first 18 point font in the \fInew century schoolbook\fP
+-family.  While larger fonts are recokmmended over smaller ones, any font
+-in the server's font list will work.  The resource to use for this option
+-is \fBxnlock.font\fP.
+-.TP
+-.BI \-filename "  filename"
+-Take the message to be displayed from the file \fIfilename\fP.
+-If \fIfilename\fP is not specified, \fI$HOME/.msgfile\fP is used.
+-If the contents of the file are changed during runtime, the most recent text
+-of the file is used (allowing the displayed message to be altered remotely).
+-Carriage returns within the text are allowed, but tabs or other control
+-characters are not translated and should not be used.
+-The resource available for this option is \fBxnlock.file\fP.
+-.TP
+-.BI \-ar
+-Accept root's password to unlock screen.  This option is true by
+-default.  The reason for this is so that someone's screen may be
+-unlocked by autorized users in case of emergency and the person
+-running the program is still out to lunch.  The resource available
+-for specifying this option is \fBxnlock.acceptRootPasswd\fP.
+-.TP
+-.BI \-noar
+-Don't accept root's password.  This option is for paranoids who
+-fear their peers might breakin using root's password and remove
+-their files anyway.  Specifying this option on the command line
+-overrides the \fBxnlock.acceptRootPasswd\fP if set to True.
+-.TP
+-.BI \-ip
+-Ignore password prompt.
+-The resource available for this option is \fBxnlock.ignorePasswd\fP.
+-.TP
+-.BI \-noip
+-Don't ignore password prompt.  This is available in order to
+-override the resource \fBignorePasswd\fP if set to True.
+-.TP
+-.BI -fg " color"
+-Specifies the foreground color.  The resource available for this
+-is \fBxnlock.foreground\fP.
+-.TP
+-.BI -bg " color"
+-Specifies the background color.  The resource available for this
+-is \fBxnlock.background\fP.
+-.TP
+-.BI \-rv
+-Reverse the foreground and background colors.
+-The resource for this is \fBxvnlock.reverseVideo\fP.
+-.TP
+-.BI \-norv
+-Don't use reverse video.  This is available to override the reverseVideo
+-resource if set to True.
+-.TP
+-.BI \-prog " program"
+-Receive message text from the running program \fIprogram\fP. If there
+-are arguments to \fIprogram\fP, encase them with the name of the program in
+-quotes (e.g. xnlock -t "fortune -o").
+-The resource for this is \fBxnlock.program\fP.
+-.SH RESOURCES
+-.br
+-xnlock.font:               fontname
+-.br
+-xnlock.foreground:         color
+-.br
+-xnlock.background:         color
+-.br
+-xnlock.reverseVideo:       True/False
+-.br
+-xnlock.text:               Some random text string
+-.br
+-xnlock.program:            program [args]
+-.br
+-xnlock.ignorePasswd:       True/False
+-.br
+-xnlock.acceptRootPasswd:   True/False
+-.SH FILES
+-\fIxnlock\fP               executable file
+-.br
+-~/.msgfile                 default message file
+-.SH AUTHOR
+-Dan Heller <argv@sun.com>  Copyright (c) 1985, 1990.
+-.br
+-The original version of this program was written using pixrects on
+-a Sun 2 running SunOS 1.1.
--- heimdal-0.6.3.orig/debian/patches-0.3c/000_ftp-lineedit
+++ heimdal-0.6.3/debian/patches-0.3c/000_ftp-lineedit
@@ -0,0 +1,181 @@
+Index: heimdal-0.3c/appl/ftp/ftp/ftp_var.h
+===================================================================
+RCS file: /homes/bam/cvsroot/debian/heimdal/appl/ftp/ftp/ftp_var.h,v
+retrieving revision 1.1.1.2
+retrieving revision 1.2
+diff -c -r1.1.1.2 -r1.2
+*** heimdal-0.3c/appl/ftp/ftp/ftp_var.h 2000/07/31 03:16:33 1.1.1.2
+--- heimdal-0.3c/appl/ftp/ftp/ftp_var.h	2000/10/04 23:06:57	1.2
+***************
+*** 52,57 ****
+--- 52,58 ----
+  extern int	connected;		/* connected to server */
+  extern int	fromatty;		/* input is from a terminal */
+  extern int	interactive;		/* interactively prompt on m* cmds */
++ extern int	lineedit;		/* use line-editing */
+  extern int	debug;			/* debugging level */
+  extern int	bell;			/* ring bell on cmd completion */
+  extern int	doglob;			/* glob local file names */
+Index: heimdal-0.3c/appl/ftp/ftp/globals.c
+===================================================================
+RCS file: /homes/bam/cvsroot/debian/heimdal/appl/ftp/ftp/globals.c,v
+retrieving revision 1.1.1.2
+retrieving revision 1.2
+diff -c -r1.1.1.2 -r1.2
+*** heimdal-0.3c/appl/ftp/ftp/globals.c 2000/07/31 03:16:33 1.1.1.2
+--- heimdal-0.3c/appl/ftp/ftp/globals.c	2000/10/04 23:06:57	1.2
+***************
+*** 11,16 ****
+--- 11,17 ----
+  int	connected;		/* connected to server */
+  int	fromatty;		/* input is from a terminal */
+  int	interactive;		/* interactively prompt on m* cmds */
++ int	lineedit;		/* use line-editing */
+  int	debug;			/* debugging level */
+  int	bell;			/* ring bell on cmd completion */
+  int	doglob;			/* glob local file names */
+Index: heimdal-0.3c/appl/ftp/ftp/main.c
+===================================================================
+RCS file: /homes/bam/cvsroot/debian/heimdal/appl/ftp/ftp/main.c,v
+retrieving revision 1.1.1.4
+retrieving revision 1.3
+diff -c -r1.1.1.4 -r1.3
+*** heimdal-0.3c/appl/ftp/ftp/main.c 2000/07/31 03:16:33 1.1.1.4
+--- appl/ftp/ftp/main.c	2000/10/04 23:06:57	1.3
+***************
+*** 36,42 ****
+   */
+  
+  #include "ftp_locl.h"
+! RCSID("$Id: main.c,v 1.28 2000/06/21 02:46:10 assar Exp $");
+  
+  int
+  main(int argc, char **argv)
+--- 36,42 ----
+   */
+  
+  #include "ftp_locl.h"
+! RCSID("$Id: main.c,v 1.29 2000/10/04 06:08:54 assar Exp $");
+  
+  int
+  main(int argc, char **argv)
+***************
+*** 54,63 ****
+  	doglob = 1;
+  	interactive = 1;
+  	autologin = 1;
+  	passivemode = 0; /* passive mode not active */
+          use_kerberos = 1;
+  
+! 	while ((ch = getopt(argc, argv, "dginptvK")) != -1) {
+  		switch (ch) {
+  		case 'd':
+  			options |= SO_DEBUG;
+--- 54,64 ----
+  	doglob = 1;
+  	interactive = 1;
+  	autologin = 1;
++ 	lineedit = 1;
+  	passivemode = 0; /* passive mode not active */
+          use_kerberos = 1;
+  
+! 	while ((ch = getopt(argc, argv, "dgilnptvK")) != -1) {
+  		switch (ch) {
+  		case 'd':
+  			options |= SO_DEBUG;
+***************
+*** 72,77 ****
+--- 73,81 ----
+  			interactive = 0;
+  			break;
+  
++ 		case 'l':
++ 			lineedit = 0;
++ 			break;
+  		case 'n':
+  			autologin = 0;
+  			break;
+***************
+*** 94,100 ****
+  
+  		default:
+  		    fprintf(stderr,
+!                             "usage: ftp [-dginptvK] [host [port]]\n");
+  		    exit(1);
+  		}
+  	}
+--- 98,104 ----
+  
+  		default:
+  		    fprintf(stderr,
+!                             "usage: ftp [-dgilnptvK] [host [port]]\n");
+  		    exit(1);
+  		}
+  	}
+***************
+*** 206,215 ****
+  }
+  */
+  
+- #ifndef HAVE_READLINE
+- 
+  static char *
+! readline(char *prompt)
+  {
+      char buf[BUFSIZ];
+      printf ("%s", prompt);
+--- 210,217 ----
+  }
+  */
+  
+  static char *
+! simple_readline(char *prompt)
+  {
+      char buf[BUFSIZ];
+      printf ("%s", prompt);
+***************
+*** 221,226 ****
+--- 223,236 ----
+      return strdup(buf);
+  }
+  
++ #ifndef HAVE_READLINE
++ 
++ static char *
++ readline(char *prompt)
++ {
++     return simple_readline (prompt);
++ }
++ 
+  static void
+  add_history(char *p)
+  {
+***************
+*** 249,258 ****
+      for (;;) {
+  	if (fromatty) {
+  	    char *p;
+  	    p = readline("ftp> ");
+! 	    if(p == NULL)
+  		quit(0, 0);
+  	    strlcpy(line, p, sizeof(line));
+  	    add_history(p);
+  	    free(p);
+  	} else{
+--- 259,274 ----
+      for (;;) {
+  	if (fromatty) {
+  	    char *p;
++ 	    if (lineedit)
+  	    p = readline("ftp> ");
+! 	    else
+! 		p = simple_readline("ftp> ");
+! 	    if(p == NULL) {
+! 		printf("\n");
+  		quit(0, 0);
++ 	    }
+  	    strlcpy(line, p, sizeof(line));
++ 	    if (lineedit)
+  	    add_history(p);
+  	    free(p);
+  	} else{
--- heimdal-0.6.3.orig/debian/patches-0.3c/010_ftp-bugfix
+++ heimdal-0.6.3/debian/patches-0.3c/010_ftp-bugfix
@@ -0,0 +1,25 @@
+Index: heimdal-0.3c/appl/ftp/ftp/security.c
+===================================================================
+RCS file: /homes/bam/cvsroot/debian/heimdal/appl/ftp/ftp/security.c,v
+retrieving revision 1.1.1.7
+retrieving revision 1.3
+diff -c -r1.1.1.7 -r1.3
+*** heimdal-0.3c/appl/ftp/ftp/security.c 2000/02/16 02:38:56 1.1.1.7
+--- heimdal-0.3c/appl/ftp/ftp/security.c	2000/11/08 06:27:32	1.3
+***************
+*** 237,243 ****
+  	ret = sec_get_data(fd, &in_buffer, data_prot);
+  	if (ret < 0)
+  	    return -1;
+! 	if(ret == 0 || in_buffer.size == 0) {
+  	    if(rx)
+  		in_buffer.eof_flag = 1;
+  	    return rx;
+--- 237,243 ----
+  	ret = sec_get_data(fd, &in_buffer, data_prot);
+  	if (ret < 0)
+  	    return -1;
+! 	if(ret == 0 && in_buffer.size == 0) {
+  	    if(rx)
+  		in_buffer.eof_flag = 1;
+  	    return rx;
--- heimdal-0.6.3.orig/debian/patches-0.3c/011_sharedlibs
+++ heimdal-0.6.3/debian/patches-0.3c/011_sharedlibs
@@ -0,0 +1,514 @@
+diff -ruN heimdal-0.3c-old/admin/Makefile.am heimdal-0.3c/admin/Makefile.am
+--- heimdal-0.3c-old/admin/Makefile.am	Thu Jan  6 19:02:37 2000
++++ heimdal-0.3c/admin/Makefile.am	Fri Nov 17 15:10:51 2000
+@@ -2,7 +2,7 @@
+ 
+ include $(top_srcdir)/Makefile.am.common
+ 
+-INCLUDES += $(INCLUDE_readline)
++INCLUDES += $(INCLUDE_readline) $(INCLUDE_ss)
+ 
+ man_MANS = ktutil.8
+ 
+@@ -24,6 +24,6 @@
+ 	$(top_builddir)/lib/krb5/libkrb5.la \
+ 	$(top_builddir)/lib/des/libdes.la \
+ 	$(top_builddir)/lib/asn1/libasn1.la \
+-	$(top_builddir)/lib/sl/libsl.la \
++	$(LIB_ss) \
+ 	$(LIB_readline) \
+ 	$(LIB_roken)
+diff -ruN heimdal-0.3c-old/admin/ktutil_locl.h heimdal-0.3c/admin/ktutil_locl.h
+--- heimdal-0.3c-old/admin/ktutil_locl.h	Wed Jul 19 23:58:19 2000
++++ heimdal-0.3c/admin/ktutil_locl.h	Fri Nov 17 15:10:51 2000
+@@ -60,7 +60,7 @@
+ #include <kadm5/admin.h>
+ #include <kadm5/kadm5_err.h>
+ 
+-#include <sl.h>
++#include <ss.h>
+ #include <getarg.h>
+ 
+ extern krb5_context context;
+diff -ruN heimdal-0.3c-old/cf/Makefile.am.common heimdal-0.3c/cf/Makefile.am.common
+--- heimdal-0.3c-old/cf/Makefile.am.common	Fri Aug  4 21:20:28 2000
++++ heimdal-0.3c/cf/Makefile.am.common	Fri Nov 17 15:10:51 2000
+@@ -10,7 +10,7 @@
+ 
+ CP	= cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ ## set build_HEADERZ to headers that should just be installed in build tree
+ 
+@@ -54,6 +54,13 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
++
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
+ 
+ LEXLIB = @LEXLIB@
+ 
+diff -ruN heimdal-0.3c-old/cf/krb-com_err.m4 heimdal-0.3c/cf/krb-com_err.m4
+--- heimdal-0.3c-old/cf/krb-com_err.m4	Thu Jan  1 10:00:00 1970
++++ heimdal-0.3c/cf/krb-com_err.m4	Fri Nov 17 15:56:33 2000
+@@ -0,0 +1,35 @@
++dnl
++dnl Tests for readline functions
++dnl
++
++dnl el_init
++
++AC_DEFUN(KRB_COM_ERR,[
++dnl com_err
++
++ac_foo=no
++if test "$with_com_err" = yes; then
++	COMPILE_ET='compile_et'
++#elif test "$ac_cv_func_com_err" = yes; then
++#	COMPILE_ET='compile_et'
++else
++	COMPILE_ET='$(top_builddir)/lib/com_err/compile_et'
++	DIR_com_err="com_err"
++	LIB_com_err='$(top_builddir)/lib/com_err/libcom_err.la'
++fi
++
++if true; then
++#	!FIXME! why doesn't built in version of com_err work?
++	COMPILE_ET='$(top_builddir)/lib/com_err/compile_et'
++	DIR_com_err="com_err"
++	LIB_com_err='$(top_builddir)/lib/com_err/libcom_err.la'
++fi
++
++#if test "$com_err_libdir"; then
++#	LIB_com_err="-rpath $com_err_libdir $LIB_com_err"
++#fi
++AC_DEFINE(HAVE_COM_ERR, 1, 
++	[Define if you have a com_err compatible library.])dnl
++
++])
++AC_SUBST(COMPILE_ET)
+diff -ruN heimdal-0.3c-old/cf/krb-readline.m4 heimdal-0.3c/cf/krb-readline.m4
+--- heimdal-0.3c-old/cf/krb-readline.m4	Mon Jun 12 22:52:57 2000
++++ heimdal-0.3c/cf/krb-readline.m4	Fri Nov 17 15:10:51 2000
+@@ -27,16 +27,18 @@
+ 	:
+ elif test "$ac_cv_func_el_init" = yes; then
+ 	ac_foo=yes
++ 	DIR_readline="editline"
+ 	LIB_readline="\$(top_builddir)/lib/editline/libel_compat.a $LIB_el_init"
+ else
+-	LIB_readline='$(top_builddir)/lib/editline/libeditline.a'
++ 	DIR_readline="editline"
++	LIB_readline='$(top_builddir)/lib/editline/libeditline.la'
+ fi
+ AM_CONDITIONAL(el_compat, test "$ac_foo" = yes)
+-if test "$readline_libdir"; then
+-	LIB_readline="-rpath $readline_libdir $LIB_readline"
+-fi
++#if test "$readline_libdir"; then
++#	LIB_readline="-rpath $readline_libdir $LIB_readline"
++#fi
+ LIB_readline="$LIB_readline \$(LIB_tgetent)"
+ AC_DEFINE(HAVE_READLINE, 1, 
+ 	[Define if you have a readline compatible library.])dnl
+ 
+-])
+\ No newline at end of file
++])
+diff -ruN heimdal-0.3c-old/cf/krb-ss.m4 heimdal-0.3c/cf/krb-ss.m4
+--- heimdal-0.3c-old/cf/krb-ss.m4	Thu Jan  1 10:00:00 1970
++++ heimdal-0.3c/cf/krb-ss.m4	Fri Nov 17 19:18:13 2000
+@@ -0,0 +1,36 @@
++dnl
++dnl Tests for readline functions
++dnl
++
++dnl el_init
++
++AC_DEFUN(KRB_SS,[
++dnl com_err
++
++ac_foo=no
++if test "$with_ss" = yes; then
++	LIB_sl="$LIB_ss"
++else
++	DIR_ss="sl"
++	LIB_sl='$(top_builddir)/lib/sl/libsl.la'
++	LIB_ss='$(top_builddir)/lib/sl/libss.la'
++	INCLUDE_ss='-I$(top_builddir)/include/sl'
++fi
++
++
++#if test "$ss_libdir"; then
++#	LIB_ss="-rpath $sl_libdir $LIB_ss"
++#fi
++
++if true; then
++#	!FIXME! why doesn't built in version of ss work?
++	LIB_sl='$(top_builddir)/lib/sl/libsl.la'
++	LIB_ss='$(top_builddir)/lib/sl/libss.la'
++	INCLUDE_ss='-I$(top_builddir)/include/ss'
++fi
++
++AC_DEFINE(HAVE_SS, 1, 
++	[Define if you have a ss compatible library.])dnl
++
++])
++AC_SUBST(LIB_sl)
+diff -ruN heimdal-0.3c-old/cf/test-package.m4 heimdal-0.3c/cf/test-package.m4
+--- heimdal-0.3c-old/cf/test-package.m4	Sun Jul 16 04:08:58 2000
++++ heimdal-0.3c/cf/test-package.m4	Fri Nov 17 15:10:51 2000
+@@ -2,7 +2,7 @@
+ dnl
+ dnl AC_TEST_PACKAGE_NEW(package,headers,libraries,extra libs,default locations, conditional)
+ 
+-AC_DEFUN(AC_TEST_PACKAGE,[AC_TEST_PACKAGE_NEW($1,[#include <$2>],$4,,$5)])
++AC_DEFUN(AC_TEST_PACKAGE,[MY_TEST_PACKAGE_NEW($1,[#include <$2>],$4,,$5)])
+ 
+ AC_DEFUN(AC_TEST_PACKAGE_NEW,[
+ AC_ARG_WITH($1,
+@@ -39,7 +39,7 @@
+ header_dirs=
+ lib_dirs=
+ d='$5'
+-for i in $d; do
++for i in $d /usr; do
+ 	header_dirs="$header_dirs $i/include"
+ 	lib_dirs="$lib_dirs $i/lib$abilibdirext"
+ done
+@@ -72,6 +72,7 @@
+ if test "$ires" -a "$lres" -a "$with_$1" != "no"; then
+ 	$1_includedir="$ires"
+ 	$1_libdir="$lres"
++	DIR_$1=
+ 	INCLUDE_$1="-I$$1_includedir"
+ 	LIB_$1="-L$$1_libdir $3"
+ 	ifval([$6],
+@@ -80,6 +81,7 @@
+ 	with_$1=yes
+ 	AC_MSG_RESULT([headers $ires, libraries $lres])
+ else
++	DIR_$1="$1"
+ 	INCLUDE_$1=
+ 	LIB_$1=
+ 	with_$1=no
+@@ -88,6 +90,7 @@
+ dnl ifval([$6],
+ dnl 	AM_CONDITIONAL($6, test "$with_$1" = yes)
+ dnl 	AM_CONDITIONAL(upcase($1), test "$with_$1" = yes))
++AC_SUBST(DIR_$1)
+ AC_SUBST(INCLUDE_$1)
+ AC_SUBST(LIB_$1)
+ ])
+diff -ruN heimdal-0.3c-old/configure.in heimdal-0.3c/configure.in
+--- heimdal-0.3c-old/configure.in	Wed Sep 20 20:55:26 2000
++++ heimdal-0.3c/configure.in	Fri Nov 17 15:10:51 2000
+@@ -226,6 +226,12 @@
+ [#include <stdio.h>
+  #include <readline.h>],-lreadline,,, READLINE)
+ 
++AC_TEST_PACKAGE_NEW(com_err,
++[#include <et/com_err.h>],-lcom_err,,, COM_ERR)
++
++AC_TEST_PACKAGE_NEW(ss,
++[#include <ss.h>],-lss,,, SS)
++
+ AC_TEST_PACKAGE_NEW(hesiod,[#include <hesiod.h>],-lhesiod,,, HESIOD)
+ 
+ KRB_C_BIGENDIAN
+@@ -553,6 +559,8 @@
+ AC_FIND_FUNC_NO_LIBS(des_cbc_encrypt, crypto des)
+ 
+ KRB_READLINE
++KRB_COM_ERR
++KRB_SS
+ 
+ dnl telnet muck --------------------------------------------------
+ 
+diff -ruN heimdal-0.3c-old/include/ss/Makefile.am heimdal-0.3c/include/ss/Makefile.am
+--- heimdal-0.3c-old/include/ss/Makefile.am	Thu Jan  1 10:00:00 1970
++++ heimdal-0.3c/include/ss/Makefile.am	Fri Nov 17 16:32:42 2000
+@@ -0,0 +1,5 @@
++# $Id: Makefile.am,v 1.6 1999/03/20 13:58:17 joda Exp $
++
++include $(top_srcdir)/Makefile.am.common
++
++CLEANFILES = ss.h sl.h
+diff -ruN heimdal-0.3c-old/kadmin/Makefile.am heimdal-0.3c/kadmin/Makefile.am
+--- heimdal-0.3c-old/kadmin/Makefile.am	Mon Sep 11 06:14:45 2000
++++ heimdal-0.3c/kadmin/Makefile.am	Fri Nov 17 15:10:51 2000
+@@ -2,7 +2,7 @@
+ 
+ include $(top_srcdir)/Makefile.am.common
+ 
+-INCLUDES += $(INCLUDE_readline) $(INCLUDE_krb4) -I$(srcdir)/../lib/krb5
++INCLUDES += $(INCLUDE_readline) $(INCLUDE_krb4) $(INCLUDE_ss) -I$(srcdir)/../lib/krb5
+ 
+ sbin_PROGRAMS = kadmin
+ 
+@@ -62,7 +62,7 @@
+ kadmin_LDADD = \
+ 	$(top_builddir)/lib/kadm5/libkadm5clnt.la \
+ 	$(top_builddir)/lib/kadm5/libkadm5srv.la \
+-	$(top_builddir)/lib/sl/libsl.la \
++	$(LIB_ss) \
+ 	$(LIB_readline) \
+ 	$(COMMON_LDADD) \
+ 	$(LIB_dlopen)
+diff -ruN heimdal-0.3c-old/kadmin/kadmin.c heimdal-0.3c/kadmin/kadmin.c
+--- heimdal-0.3c-old/kadmin/kadmin.c	Mon Sep 11 06:20:49 2000
++++ heimdal-0.3c/kadmin/kadmin.c	Fri Nov 17 15:10:51 2000
+@@ -32,7 +32,7 @@
+  */
+ 
+ #include "kadmin_locl.h"
+-#include <sl.h>
++#include <ss.h>
+ 
+ RCSID("$Id: kadmin.c,v 1.32 2000/09/10 19:20:49 joda Exp $");
+ 
+diff -ruN heimdal-0.3c-old/lib/Makefile.am heimdal-0.3c/lib/Makefile.am
+--- heimdal-0.3c-old/lib/Makefile.am	Sun Jul 16 01:19:04 2000
++++ heimdal-0.3c/lib/Makefile.am	Fri Nov 17 15:10:51 2000
+@@ -12,5 +12,5 @@
+ dir_dce = kdfs
+ endif
+ 
+-SUBDIRS = @DIR_roken@ vers editline com_err sl asn1 des krb5 \
++SUBDIRS = @DIR_roken@ vers @DIR_readline@ @DIR_com_err@ @DIR_ss@ asn1 des krb5 \
+ 	kafs hdb kadm5 gssapi auth $(dir_45) $(dir_otp) $(dir_dce)
+diff -ruN heimdal-0.3c-old/lib/asn1/Makefile.am heimdal-0.3c/lib/asn1/Makefile.am
+--- heimdal-0.3c-old/lib/asn1/Makefile.am	Tue Jul 25 20:35:19 2000
++++ heimdal-0.3c/lib/asn1/Makefile.am	Fri Nov 17 15:10:51 2000
+@@ -2,6 +2,8 @@
+ 
+ include $(top_srcdir)/Makefile.am.common
+ 
++INCLUDES += $(INCLUDE_com_err)
++
+ YFLAGS = -d
+ 
+ lib_LTLIBRARIES = libasn1.la
+@@ -82,11 +84,11 @@
+ 	$(BUILT_SOURCES)
+ 
+ asn1_compile_LDADD = \
+-	$(LIB_roken) $(LEXLIB)
++        $(LIB_roken) $(LEXLIB)
+ 
+ check_der_LDADD = \
+ 	libasn1.la \
+-	../com_err/libcom_err.la \
++	$(LIB_com_err) \
+ 	$(LIB_roken)
+ 
+ asn1_print_LDADD = $(check_der_LDADD)
+diff -ruN heimdal-0.3c-old/lib/asn1/libasn1.h heimdal-0.3c/lib/asn1/libasn1.h
+--- heimdal-0.3c-old/lib/asn1/libasn1.h	Fri Dec  3 04:05:02 1999
++++ heimdal-0.3c/lib/asn1/libasn1.h	Fri Nov 17 15:10:51 2000
+@@ -47,4 +47,17 @@
+ #include "asn1_err.h"
+ #include <parse_units.h>
+ 
++#ifdef HACKED_AND_STUPID
++#define ASN1_BAD_TIMEFORMAT BAD_TIMEFORMAT
++#define ASN1_MISSING_FIELD MISSING_FIELD
++#define ASN1_MISPLACED_FIELD MISPLACED_FIELD
++#define ASN1_TYPE_MISMATCH TYPE_MISMATCH
++#define ASN1_OVERFLOW OVERFLOW
++#define ASN1_OVERRUN OVERRUN
++#define ASN1_BAD_ID BAD_ID
++#define ASN1_BAD_LENGTH BAD_LENGTH
++#define ASN1_BAD_FORMAT BAD_FORMAT
++#define ASN1_PARSE_ERROR PARSE_ERROR
++#endif
++
+ #endif /* __LIBASN1_H__ */
+diff -ruN heimdal-0.3c-old/lib/auth/sia/Makefile.am heimdal-0.3c/lib/auth/sia/Makefile.am
+--- heimdal-0.3c-old/lib/auth/sia/Makefile.am	Mon Jul 31 06:40:24 2000
++++ heimdal-0.3c/lib/auth/sia/Makefile.am	Fri Nov 17 15:10:51 2000
+@@ -23,7 +23,7 @@
+ 	$(top_builddir)/lib/asn1/.libs/libasn1.a	\
+ 	$(LIB_krb4)					\
+ 	$(top_builddir)/lib/des/.libs/libdes.a		\
+-	$(top_builddir)/lib/com_err/.libs/libcom_err.a	\
++	@LIB_sl@
+ 	$(top_builddir)/lib/roken/.libs/libroken.a	\
+ 	$(LIB_getpwnam_r)				\
+ 	-lc
+@@ -34,7 +34,7 @@
+ 	$(top_builddir)/lib/asn1/.libs/libasn1.so	\
+ 	$(LIB_krb4)					\
+ 	$(top_builddir)/lib/des/.libs/libdes.so		\
+-	$(top_builddir)/lib/com_err/.libs/libcom_err.so	\
++	@LIB_sl@
+ 	$(top_builddir)/lib/roken/.libs/libroken.so	\
+ 	$(LIB_getpwnam_r)				\
+ 	-lc
+diff -ruN heimdal-0.3c-old/lib/editline/Makefile.am heimdal-0.3c/lib/editline/Makefile.am
+--- heimdal-0.3c-old/lib/editline/Makefile.am	Thu Aug  5 03:30:12 1999
++++ heimdal-0.3c/lib/editline/Makefile.am	Fri Nov 17 15:10:51 2000
+@@ -4,7 +4,8 @@
+ 
+ man_MANS = editline.3
+ 
+-lib_LIBRARIES = libeditline.a
++lib_LTLIBRARIES = libeditline.la
++libeditline_la_LDFLAGS = -static
+ if el_compat
+ noinst_LIBRARIES = libel_compat.a
+ else
+@@ -16,13 +17,13 @@
+ CHECK_LOCAL =
+ 
+ testit_LDADD = \
+-	libeditline.a \
++	libeditline.la \
+ 	$(LIB_tgetent) \
+ 	$(LIB_roken)
+ 
+ include_HEADERS = editline.h
+ 
+-libeditline_a_SOURCES = complete.c editline.c sysunix.c \
++libeditline_la_SOURCES = complete.c editline.c sysunix.c \
+ 	editline.h roken_rename.h unix.h
+ libel_compat_a_SOURCES = edit_compat.c
+ 
+diff -ruN heimdal-0.3c-old/lib/krb5/Makefile.am heimdal-0.3c/lib/krb5/Makefile.am
+--- heimdal-0.3c-old/lib/krb5/Makefile.am	Wed Sep 20 00:09:26 2000
++++ heimdal-0.3c/lib/krb5/Makefile.am	Fri Nov 17 15:10:51 2000
+@@ -2,7 +2,7 @@
+ 
+ include $(top_srcdir)/Makefile.am.common
+ 
+-INCLUDES += $(INCLUDE_krb4)
++INCLUDES += $(INCLUDE_com_err) $(INCLUDE_krb4)
+ 
+ bin_PROGRAMS = verify_krb5_conf
+ 
+@@ -132,7 +132,7 @@
+ $(srcdir)/krb5-private.h:
+ 	cd $(srcdir); perl ../../cf/make-proto.pl -p krb5-private.h $(libkrb5_la_SOURCES) || rm -f krb5-private.h
+ 
+-libkrb5_la_LIBADD = ../com_err/error.lo ../com_err/com_err.lo
++libkrb5_la_LIBADD = $(LIB_com_err)
+ 
+ man_MANS =					\
+ 	krb5.conf.5				\
+diff -ruN heimdal-0.3c-old/lib/roken/Makefile.am heimdal-0.3c/lib/roken/Makefile.am
+--- heimdal-0.3c-old/lib/roken/Makefile.am	Wed Aug 16 21:22:59 2000
++++ heimdal-0.3c/lib/roken/Makefile.am	Fri Nov 17 15:10:51 2000
+@@ -155,7 +155,7 @@
+ 	parse_bytes.h parse_time.h parse_units.h	\
+ 	resolve.h roken-common.h		\
+ 	$(err_h) $(fnmatch_h) $(glob_h) rtbl.h xdbm.h
+-nodist_include_HEADERS = roken.h
++#!#nodist_include_HEADERS = roken.h
+ 
+ if have_err_h
+ err_h =
+diff -ruN heimdal-0.3c-old/lib/sl/Makefile.am heimdal-0.3c/lib/sl/Makefile.am
+--- heimdal-0.3c-old/lib/sl/Makefile.am	Sun Aug 20 01:00:39 2000
++++ heimdal-0.3c/lib/sl/Makefile.am	Sat Nov 18 12:27:46 2000
+@@ -4,8 +4,6 @@
+ 
+ YFLAGS = -d
+ 
+-include_HEADERS = sl.h
+-
+ lib_LTLIBRARIES = libsl.la libss.la
+ libsl_la_LDFLAGS = -version-info 1:0:1
+ libss_la_LDFLAGS = -version-info 1:1:1
+@@ -31,7 +29,21 @@
+ EXTRA_mk_cmds_SOURCES = snprintf.c roken_rename.h
+ 
+ ssincludedir = $(includedir)/ss
+-ssinclude_HEADERS = ss.h
++buildssinclude = $(buildinclude)/ss
++ssinclude_HEADERS = sl.h ss.h
++
++install-build-headers:: $(ssinclude_HEADERS)
++	@foo='$(ssinclude_HEADERS)'; \
++	for f in $$foo; do \
++		f=`basename $$f`; \
++		if test -f "$(srcdir)/$$f"; then file="$(srcdir)/$$f"; \
++		else file="$$f"; fi; \
++		if cmp -s  $$file $(buildssinclude)/$$f 2> /dev/null ; then \
++		: ; else \
++			echo "cp $$file $(buildssinclude)/$$f";\
++			cp $$file $(buildssinclude)/$$f; \
++		fi ; \
++	done
+ 
+ CLEANFILES = lex.c parse.c parse.h snprintf.c strtok_r.c
+ 
+diff -ruN heimdal-0.3c-old/lib/sl/Makefile.am.bak heimdal-0.3c/lib/sl/Makefile.am.bak
+--- heimdal-0.3c-old/lib/sl/Makefile.am.bak	Thu Jan  1 10:00:00 1970
++++ heimdal-0.3c/lib/sl/Makefile.am.bak	Fri Nov 17 16:14:44 2000
+@@ -0,0 +1,58 @@
++# $Id: Makefile.am,v 1.19 2000/08/19 15:00:39 assar Exp $
++
++include $(top_srcdir)/Makefile.am.common
++
++YFLAGS = -d
++
++lib_LTLIBRARIES = libsl.la libss.la
++libsl_la_LDFLAGS = -version-info 1:0:1
++libss_la_LDFLAGS = -version-info 1:1:1
++
++libsl_la_LIBADD = @LIB_readline@
++libss_la_LIBADD = @LIB_readline@
++
++RENAME_SRC = roken_rename.h strtok_r.c snprintf.c
++
++libsl_la_SOURCES = sl_locl.h sl.c
++libss_la_SOURCES = $(libsl_la_SOURCES) ss.c ss.h
++
++EXTRA_libsl_la_SOURCES = strtok_r.c snprintf.c roken_rename.h
++
++# install these?
++
++bin_PROGRAMS = mk_cmds
++
++mk_cmds_SOURCES = make_cmds.c make_cmds.h parse.y lex.l
++
++RENAME_mk_cmds_SRC = roken_rename.h snprintf.c
++
++EXTRA_mk_cmds_SOURCES = snprintf.c roken_rename.h
++
++ssincludedir = $(includedir)/ss
++buildssinclude = $(buildinclude)/ss
++ssinclude_HEADERS = sl.h ss.h
++
++install-build-headers:: $(ssinclude_HEADERS)
++	@foo='$(ssinclude_HEADERS)'; \
++	for f in $$foo; do \
++		f=`basename $$f`; \
++		if test -f "$(srcdir)/$$f"; then file="$(srcdir)/$$f"; \
++		else file="$$f"; fi; \
++		if cmp -s  $$file $(buildssinclude)/$$f 2> /dev/null ; then \                : ; else \
++			echo "cp $$file $(buildssinclude)/$$f";\
++			cp $$file $(buildssinclude)/$$f; \
++		fi ; \
++	done
++
++CLEANFILES = lex.c parse.c parse.h snprintf.c strtok_r.c
++
++$(mk_cmds_OBJECTS): parse.h
++
++LDADD =						\
++	$(LIB_roken)				\
++	$(LEXLIB)
++
++strtok_r.c:
++	$(LN_S) $(srcdir)/../roken/strtok_r.c .
++snprintf.c:
++	$(LN_S) $(srcdir)/../roken/snprintf.c .
--- heimdal-0.6.3.orig/debian/patches-0.3c/012_maildir
+++ heimdal-0.6.3/debian/patches-0.3c/012_maildir
@@ -0,0 +1,40 @@
+Index: heimdal-0.3c/appl/popper/pop_pass.c
+===================================================================
+RCS file: /homes/bam/cvsroot/debian/heimdal/appl/popper/pop_pass.c,v
+retrieving revision 1.1.1.3
+retrieving revision 1.5
+diff -c -r1.1.1.3 -r1.5
+*** heimdal-0.3c/appl/popper/pop_pass.c 2000/05/19 05:23:42 1.1.1.3
+--- heimdal-0.3c/appl/popper/pop_pass.c	2000/05/19 05:33:06	1.5
+***************
+*** 197,203 ****
+  	    p->ipaddr, p->user);
+  
+      /*  Build the name of the user's maildrop */
+!     snprintf(p->drop_name, sizeof(p->drop_name), "%s/%s", POP_MAILDIR, p->user);
+  
+      if(stat(p->drop_name, &st) < 0 || !S_ISDIR(st.st_mode)){
+  	/*  Make a temporary copy of the user's maildrop */
+--- 197,218 ----
+  	    p->ipaddr, p->user);
+  
+      /*  Build the name of the user's maildrop */
+! 
+!     /* Try ~/Maildir */
+!     if (pw->pw_dir != NULL)
+! 	{
+!         snprintf(p->drop_name, sizeof(p->drop_name), "%s/%s", pw->pw_dir, "Maildir");
+! 	}
+!     if(pw->pw_dir != NULL && stat(p->drop_name, &st) < 0)
+! 	{
+!     	/* else try ~/Mailbox */
+! 	snprintf(p->drop_name, sizeof(p->drop_name), "%s/%s", pw->pw_dir, "Mailbox");
+! 	}
+!     if(pw->pw_dir == NULL || stat(p->drop_name, &st) < 0)
+! 	{
+!     	/* else try /var/spool/mail/userid */
+! 	snprintf(p->drop_name, sizeof(p->drop_name), "%s/%s", POP_MAILDIR, p->user);
+! 	}
+  
+      if(stat(p->drop_name, &st) < 0 || !S_ISDIR(st.st_mode)){
+  	/*  Make a temporary copy of the user's maildrop */
--- heimdal-0.6.3.orig/debian/patches-0.3c/013_cache
+++ heimdal-0.6.3/debian/patches-0.3c/013_cache
@@ -0,0 +1,63 @@
+--- heimdal-0.3c/lib/krb5/cache.c.orig-heimdal	Tue Nov 14 18:41:58 2000
++++ heimdal-0.3c/lib/krb5/cache.c	Tue Nov 14 19:02:07 2000
+@@ -89,11 +89,24 @@
+ {
+     krb5_error_code ret;
+     krb5_ccache p;
++    krb5_cc_ops *q;
+ 
+     p = malloc(sizeof(*p));
+     if(p == NULL)
+ 	return KRB5_CC_NOMEM;
+-    p->ops = ops;
++
++    q = malloc(sizeof(*q));
++    if(q == NULL)
++        return KRB5_CC_NOMEM;
++    memcpy(q, ops, sizeof(*q));
++    q->prefix = strdup(ops->prefix);
++    if(q->prefix == NULL)
++    {
++        free(q);
++        return KRB5_CC_NOMEM;
++    }
++    
++    p->ops = q;
+     *id = p;
+     ret = p->ops->resolve(context, id, residual);
+     if(ret)
+@@ -141,11 +154,24 @@
+ 		krb5_ccache *id)
+ {
+     krb5_ccache p;
++    krb5_cc_ops *q;
+ 
+     p = malloc (sizeof(*p));
+     if (p == NULL)
+ 	return KRB5_CC_NOMEM;
+-    p->ops = ops;
++
++    q = malloc(sizeof(*q));
++    if(q == NULL)
++        return KRB5_CC_NOMEM;
++    memcpy(q, ops, sizeof(*q));
++    q->prefix = strdup(ops->prefix);
++    if(q->prefix == NULL)
++    {
++        free(q);
++        return KRB5_CC_NOMEM;
++    }
++    
++    p->ops = q;
+     *id = p;
+     return p->ops->gen_new(context, id);
+ }
+@@ -248,6 +274,8 @@
+ {
+     krb5_error_code ret;
+     ret = id->ops->close(context, id);
++    free(id->ops->prefix);
++    free((krb5_cc_ops *)id->ops);
+     free(id);
+     return ret;
+ }
--- heimdal-0.6.3.orig/debian/patches-0.3c/020_missingconf
+++ heimdal-0.6.3/debian/patches-0.3c/020_missingconf
@@ -0,0 +1,45 @@
+Index: heimdal-0.3c/kdc.conf
+===================================================================
+RCS file: kdc.conf
+diff -N kdc.conf
+*** /dev/null	Tue Nov 14 18:36:24 2000
+--- heimdal-0.3c/kdc.conf	Fri Nov 17 11:25:12 2000
+***************
+*** 0 ****
+--- 1,22 ----
++ [kdc]
++ #key-file = /var/lib/heimdal-kdc/key-file
++ logging = FILE:/var/log/heimdal-kdc.log
++ 
++ [kdcdefaults]
++ kdc_ports = 88,750
++ 
++ [realms]
++ REALM.ORG = {
++ # everything here needs checking. This might be MIT syntax, not Heimdal's
++ # syntax. At least, everything here should be defaults (or not even used).
++   database_name = /var/lib/heimdal-kdc/heimdal
++   admin_keytab = /var/lib/heimdal-kdc/kadmind.keytab
++   acl_file = /var/lib/heimdal-kdc/kadmind.acl
++   dict_file = /var/lib/heimdal-kdc/kadmind.dict
++   key_stash_file = /var/lib/heimdal-kdc/m-key
++   kadmind_port = 749
++   max_life = 10h 0m 0s
++   max_renewable_life = 7d 0h 0m 0s
++ #  master_key_type = des-cbc-crc
++ #  supported_enctypes = des-cbc-crc:normal des-cbc-crc:v4
++ }
+Index: heimdal-0.3c/logrotate
+===================================================================
+RCS file: logrotate
+diff -N logrotate
+*** /dev/null	Tue Nov 14 18:36:24 2000
+--- heimdal-0.3c/logrotate	Fri Nov 17 11:25:12 2000
+***************
+*** 0 ****
+--- 1,5 ----
++ /var/log/heimdal-kdc.log {
++ 	rotate 5
++ 	weekly
++ 	compress
++ }
--- heimdal-0.6.3.orig/debian/patches-0.3c/021_debian
+++ heimdal-0.6.3/debian/patches-0.3c/021_debian
@@ -0,0 +1,153 @@
+Index: heimdal-0.3c/setconfig
+===================================================================
+RCS file: setconfig
+diff -N setconfig
+*** /dev/null	Tue Nov 14 18:36:24 2000
+--- heimdal-0.3c/setconfig	Fri Nov 17 11:25:12 2000
+***************
+*** 0 ****
+--- 1,94 ----
++ #!/usr/bin/perl -w
++ use strict;
++ use Getopt::Long;
++ 
++ my $section;
++ my $file;
++ 
++ sub set {
++     my $setting = shift;
++     my $oldvalue = shift;
++     my $newvalue = shift;
++     
++     if (defined($newvalue))
++     {
++ 	print OUT "$setting=$newvalue\n"
++ 	     or die "Cannot write to $file.new: $!";
++     }
++ }
++ 
++ sub doit {
++     my $setting;
++     my $value;
++     ($setting,$value) = split("=",shift);
++ 
++     die "No filename given\n" if (!defined($file));
++     die "No section given\n" if (!defined($section));
++ 
++     open(IN,"<$file") or die "Cannot open $file for reading: $!\n";
++     open(OUT,">$file.new") or die "Cannot open $file.new for writing: $!\n";
++ 
++     my $insection = "none";
++     my $done = 0;
++     while (<IN>)
++     {
++ 	my $output = 1;
++ 	if (/^\s*\[([^\]]+)\]\s*$/)
++ 	{
++ 	    if (!$done and $section eq $insection)
++ 	    {
++ 	    	set($setting,undef,$value);
++ 	    	$done = 1;
++ 	    }
++ 	    $insection = $1;
++ 	}
++ 	elsif (/^\s*([\w\.]+)\s*=\s*\{\s*$/)
++ 	{
++ 		$insection = $insection . "::" . $1;
++ 	    	if ($section eq $insection and $setting eq "")
++ 		{
++ 	    		print(OUT "$value = {\n")
++ 				or die "Cannot write to $file.new: $!";
++ 			$done = 1;
++ 			$output = 0;
++ 		}
++ 	}
++ 	elsif (/^\s*\}\s*$/)
++ 	{
++ 		$insection =~ s/::[^:]+//;
++ 	}
++ 	elsif (/^\s*([\w\.]+)\s*=\s*(.*)\s*$/)
++ 	{
++ 	#print "$insection $1=$2\n";
++ 	    if ($section eq $insection and
++ 	    	$setting ne "" and
++ 	    	$setting eq $1)
++ 	    {
++ 		set($setting,$2,$value);
++ 		$output = 0;
++ 		$done = 1;
++ 	    }
++ 	}
++ 	if ($output)
++ 	{
++ 	    print(OUT $_) or die "Cannot write to $file.new: $!";
++ 	}
++     }
++ 	    
++     if (!$done)
++     {
++ 	if ($section ne $insection)
++ 	{
++ 		die "Section $section doesn't exist\n";
++ 	}
++     	set($setting,undef,$value);
++     	$done = 1;
++     }
++ 
++     close(OUT) or die "Cannot close $file.new: $!";
++     close(IN) or die "Cannot close $file: $!";
++     rename("$file.new",$file) or die "Cannot remame $file.new to $file";
++ }
++ 
++ GetOptions("file=s",\$file,"section=s",\$section,"<>",\&doit)
++ 	|| die "Cannot parse command line\n";
+Index: heimdal-0.3c/appl/telnet/telnetd/telnetd.h
+===================================================================
+RCS file: /homes/bam/cvsroot/debian/heimdal/appl/telnet/telnetd/telnetd.h,v
+retrieving revision 1.1.1.2
+retrieving revision 1.2
+diff -c -r1.1.1.2 -r1.2
+*** heimdal-0.3c/appl/telnet/telnetd/telnetd.h 1999/07/24 08:24:26 1.1.1.2
+--- appl/telnet/telnetd/telnetd.h	2000/01/06 09:22:48	1.2
+***************
+*** 193,199 ****
+  #endif
+  
+  #undef _PATH_LOGIN
+! #define _PATH_LOGIN	BINDIR "/login"
+  
+  /* fallbacks */
+  
+--- 193,199 ----
+  #endif
+  
+  #undef _PATH_LOGIN
+! #define _PATH_LOGIN	LIBEXECDIR "/login"
+  
+  /* fallbacks */
+  
+Index: heimdal-0.3c/lib/hdb/hdb.h
+===================================================================
+RCS file: /homes/bam/cvsroot/debian/heimdal/lib/hdb/hdb.h,v
+retrieving revision 1.1.1.4
+retrieving revision 1.3
+diff -c -r1.1.1.4 -r1.3
+*** heimdal-0.3c/lib/hdb/hdb.h 2000/07/31 03:16:43 1.1.1.4
+--- heimdal-0.3c/lib/hdb/hdb.h	2000/07/31 03:22:57	1.3
+***************
+*** 78,84 ****
+      krb5_error_code (*destroy)(krb5_context, struct HDB*);
+  }HDB;
+  
+! #define HDB_DB_DIR "/var/heimdal"
+  #define HDB_DEFAULT_DB HDB_DB_DIR "/heimdal"
+  #define HDB_DB_FORMAT_ENTRY "hdb/db-format"
+  
+--- 78,84 ----
+      krb5_error_code (*destroy)(krb5_context, struct HDB*);
+  }HDB;
+  
+! #define HDB_DB_DIR "/var/lib/heimdal-kdc"
+  #define HDB_DEFAULT_DB HDB_DB_DIR "/heimdal"
+  #define HDB_DB_FORMAT_ENTRY "hdb/db-format"
+  
--- heimdal-0.6.3.orig/debian/patches-0.3c/030_autotools
+++ heimdal-0.6.3/debian/patches-0.3c/030_autotools
@@ -0,0 +1,20878 @@
+diff -ruN heimdal-0.3c-old/Makefile.in heimdal-0.3c/Makefile.in
+--- heimdal-0.3c-old/Makefile.in	Wed Sep 20 20:55:32 2000
++++ heimdal-0.3c/Makefile.in	Tue Nov 28 09:56:22 2000
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,12 +69,14 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ EXEEXT = @EXEEXT@
+@@ -89,6 +92,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -99,7 +103,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -129,7 +132,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -170,6 +173,13 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ cat1dir = $(mandir)/cat1
+@@ -237,16 +247,17 @@
+ 		cf/find-if-not-broken.m4 cf/grok-type.m4 \
+ 		cf/have-pragma-weak.m4 cf/have-struct-field.m4 \
+ 		cf/have-type.m4 cf/have-types.m4 cf/krb-bigendian.m4 \
+-		cf/krb-find-db.m4 cf/krb-func-getcwd-broken.m4 \
+-		cf/krb-func-getlogin.m4 cf/krb-ipv6.m4 \
+-		cf/krb-prog-ln-s.m4 cf/krb-prog-ranlib.m4 \
+-		cf/krb-prog-yacc.m4 cf/krb-readline.m4 \
+-		cf/krb-struct-spwd.m4 cf/krb-struct-winsize.m4 \
+-		cf/krb-sys-aix.m4 cf/krb-sys-nextstep.m4 \
+-		cf/krb-version.m4 cf/mips-abi.m4 cf/misc.m4 \
+-		cf/need-proto.m4 cf/osfc2.m4 cf/proto-compat.m4 \
+-		cf/retsigtype.m4 cf/roken-frag.m4 cf/roken.m4 \
+-		cf/shared-libs.m4 cf/test-package.m4 cf/wflags.m4
++		cf/krb-com_err.m4 cf/krb-find-db.m4 \
++		cf/krb-func-getcwd-broken.m4 cf/krb-func-getlogin.m4 \
++		cf/krb-ipv6.m4 cf/krb-prog-ln-s.m4 \
++		cf/krb-prog-ranlib.m4 cf/krb-prog-yacc.m4 \
++		cf/krb-readline.m4 cf/krb-ss.m4 cf/krb-struct-spwd.m4 \
++		cf/krb-struct-winsize.m4 cf/krb-sys-aix.m4 \
++		cf/krb-sys-nextstep.m4 cf/krb-version.m4 cf/mips-abi.m4 \
++		cf/misc.m4 cf/need-proto.m4 cf/osfc2.m4 \
++		cf/proto-compat.m4 cf/retsigtype.m4 cf/roken-frag.m4 \
++		cf/roken.m4 cf/shared-libs.m4 cf/test-package.m4 \
++		cf/wflags.m4
+ 	cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
+ 
+ config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+@@ -287,10 +298,11 @@
+ 	@set fnord $(MAKEFLAGS); amf=$$2; \
+ 	dot_seen=no; \
+ 	rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
+-	  rev="$$subdir $$rev"; \
+-	  if test "$$subdir" = "."; then dot_seen=yes; else :; fi; \
++	  if test "$$subdir" = "."; then :; else \
++	    rev="$$subdir $$rev"; \
++	  fi; \
+ 	done; \
+-	test "$$dot_seen" = "no" && rev=". $$rev"; \
++	rev="$$rev ."; \
+ 	target=`echo $@ | sed s/-recursive//`; \
+ 	for subdir in $$rev; do \
+ 	  echo "Making $$target in $$subdir"; \
+@@ -369,6 +381,7 @@
+ 	  && $(MAKE) $(AM_MAKEFLAGS) installcheck \
+ 	  && $(MAKE) $(AM_MAKEFLAGS) uninstall \
+ 	  && test `find $$dc_install_base -type f -print | wc -l` -le 1 \
++	  && chmod -R u+w .. \
+ 	  && $(MAKE) $(AM_MAKEFLAGS) dist \
+ 	  && $(MAKE) $(AM_MAKEFLAGS) distclean \
+ 	  && rm -f $(distdir).tar.gz \
+diff -ruN heimdal-0.3c-old/aclocal.m4 heimdal-0.3c/aclocal.m4
+--- heimdal-0.3c-old/aclocal.m4	Wed Sep 20 20:55:29 2000
++++ heimdal-0.3c/aclocal.m4	Tue Nov 28 09:55:47 2000
+@@ -1,14 +1,15 @@
+-dnl ./aclocal.m4 generated automatically by aclocal 1.4a
++# aclocal.m4 generated automatically by aclocal 1.4a
+ 
+-dnl Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
+-dnl This file is free software; the Free Software Foundation
+-dnl gives unlimited permission to copy and/or distribute it,
+-dnl with or without modifications, as long as this notice is preserved.
+-
+-dnl This program is distributed in the hope that it will be useful,
+-dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+-dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+-dnl PARTICULAR PURPOSE.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Free Software Foundation, Inc.
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# This program is distributed in the hope that it will be useful,
++# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
++# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
++# PARTICULAR PURPOSE.
+ 
+ dnl $Id: acinclude.m4,v 1.15 1998/05/23 14:54:53 joda Exp $
+ dnl
+@@ -49,32 +50,40 @@
+ ])])
+ # Like AC_CONFIG_HEADER, but automatically create stamp file.
+ 
+-AC_DEFUN(AM_CONFIG_HEADER,
+-[AC_PREREQ([2.12])
+-AC_CONFIG_HEADER([$1])
+-dnl When config.status generates a header, we must update the stamp-h file.
+-dnl This file resides in the same directory as the config header
+-dnl that is generated.  We must strip everything past the first ":",
+-dnl and everything past the last "/".
+-AC_OUTPUT_COMMANDS(changequote(<<,>>)dnl
+-ifelse(patsubst(<<$1>>, <<[^ ]>>, <<>>), <<>>,
+-<<test -z "<<$>>CONFIG_HEADERS" || echo timestamp > patsubst(<<$1>>, <<^\([^:]*/\)?.*>>, <<\1>>)stamp-h<<>>dnl>>,
+-<<am_indx=1
+-for am_file in <<$1>>; do
+-  case " <<$>>CONFIG_HEADERS " in
+-  *" <<$>>am_file "*<<)>>
+-    echo timestamp > `echo <<$>>am_file | sed -e 's%:.*%%' -e 's%[^/]*$%%'`stamp-h$am_indx
+-    ;;
+-  esac
+-  am_indx=`expr "<<$>>am_indx" + 1`
+-done<<>>dnl>>)
+-changequote([,]))])
++# serial 3
++
++# When config.status generates a header, we must update the stamp-h file.
++# This file resides in the same directory as the config header
++# that is generated.  We must strip everything past the first ":",
++# and everything past the last "/".
++
++AC_PREREQ([2.12])
++
++AC_DEFUN([AM_CONFIG_HEADER],
++[AC_CONFIG_HEADER([$1])
++  AC_OUTPUT_COMMANDS(
++   ifelse(patsubst([$1], [[^ ]], []),
++	  [],
++	  [test -z "$CONFIG_HEADERS" || echo timestamp >dnl
++	   patsubst([$1], [^\([^:]*/\)?.*], [\1])stamp-h]),
++  [am_indx=1
++  for am_file in $1; do
++    case " $CONFIG_HEADERS " in
++    *" $am_file "*)
++      echo timestamp > `echo $am_file | sed 's%:.*%%;s%[^/]*$%%'`stamp-h$am_indx
++      ;;
++    esac
++    am_indx=\`expr \$am_indx + 1\`
++  done])
++])
+ 
+ # Do all the work for Automake.  This macro actually does too much --
+ # some checks are only needed if your package does certain things.
+ # But this isn't really a big deal.
+ 
+-# serial 2
++# serial 3
++
++AC_PREREQ([2.13])
+ 
+ # AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
+ # -----------------------------------------------------------
+@@ -92,12 +101,11 @@
+ 
+ # AM_INIT_AUTOMAKE(PACKAGE,VERSION, [NO-DEFINE])
+ # ----------------------------------------------
+-AC_DEFUN(AM_INIT_AUTOMAKE,
++AC_DEFUN([AM_INIT_AUTOMAKE],
+ [dnl We require 2.13 because we rely on SHELL being computed by configure.
+-AC_PREREQ([2.13])dnl
+ AC_REQUIRE([AC_PROG_INSTALL])dnl
+ # test to see if srcdir already configured
+-if test "`CDPATH=: && cd $srcdir && pwd`" != "`pwd`" &&
++if test "`CDPATH=:; cd $srcdir && pwd`" != "`pwd`" &&
+    test -f $srcdir/config.status; then
+   AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
+ fi
+@@ -121,8 +129,8 @@
+ AM_MISSING_PROG(MAKEINFO, makeinfo)
+ AM_MISSING_PROG(AMTAR, tar)
+ AM_MISSING_INSTALL_SH
+-dnl We need awk for the "check" target.  The system "awk" is bad on
+-dnl some platforms.
++# We need awk for the "check" target.  The system "awk" is bad on
++# some platforms.
+ AC_REQUIRE([AC_PROG_AWK])dnl
+ AC_REQUIRE([AC_PROG_MAKE_SET])dnl
+ AC_REQUIRE([AM_DEP_TRACK])dnl
+@@ -141,7 +149,7 @@
+ # Check to make sure that the build environment is sane.
+ #
+ 
+-AC_DEFUN(AM_SANITY_CHECK,
++AC_DEFUN([AM_SANITY_CHECK],
+ [AC_MSG_CHECKING([whether build environment is sane])
+ # Just in case
+ sleep 1
+@@ -180,15 +188,15 @@
+ rm -f conftest*
+ AC_MSG_RESULT(yes)])
+ 
+-dnl AM_MISSING_PROG(NAME, PROGRAM)
+-AC_DEFUN(AM_MISSING_PROG, [
++# AM_MISSING_PROG(NAME, PROGRAM)
++AC_DEFUN([AM_MISSING_PROG], [
+ AC_REQUIRE([AM_MISSING_HAS_RUN])
+ $1=${$1-"${am_missing_run}$2"}
+ AC_SUBST($1)])
+ 
+-dnl Like AM_MISSING_PROG, but only looks for install-sh.
+-dnl AM_MISSING_INSTALL_SH()
+-AC_DEFUN(AM_MISSING_INSTALL_SH, [
++# Like AM_MISSING_PROG, but only looks for install-sh.
++# AM_MISSING_INSTALL_SH()
++AC_DEFUN([AM_MISSING_INSTALL_SH], [
+ AC_REQUIRE([AM_MISSING_HAS_RUN])
+ if test -z "$install_sh"; then
+    install_sh="$ac_aux_dir/install-sh"
+@@ -200,13 +208,13 @@
+ fi
+ AC_SUBST(install_sh)])
+ 
+-dnl AM_MISSING_HAS_RUN.
+-dnl Define MISSING if not defined so far and test if it supports --run.
+-dnl If it does, set am_missing_run to use it, otherwise, to nothing.
++# AM_MISSING_HAS_RUN.
++# Define MISSING if not defined so far and test if it supports --run.
++# If it does, set am_missing_run to use it, otherwise, to nothing.
+ AC_DEFUN([AM_MISSING_HAS_RUN], [
+ test x"${MISSING+set}" = xset || \
+-  MISSING="\${SHELL} `CDPATH=: && cd $ac_aux_dir && pwd`/missing"
+-dnl Use eval to expand $SHELL
++  MISSING="\${SHELL} `CDPATH=:; cd $ac_aux_dir && pwd`/missing"
++# Use eval to expand $SHELL
+ if eval "$MISSING --run :"; then
+   am_missing_run="$MISSING --run "
+ else
+@@ -216,14 +224,14 @@
+ fi
+ ])
+ 
+-dnl See how the compiler implements dependency checking.
+-dnl Usage:
+-dnl AM_DEPENDENCIES(NAME)
+-dnl NAME is "CC", "CXX" or "OBJC".
++# See how the compiler implements dependency checking.
++# Usage:
++# AM_DEPENDENCIES(NAME)
++# NAME is "CC", "CXX" or "OBJC".
+ 
+-dnl We try a few techniques and use that to set a single cache variable.
++# We try a few techniques and use that to set a single cache variable.
+ 
+-AC_DEFUN(AM_DEPENDENCIES,[
++AC_DEFUN([AM_DEPENDENCIES],[
+ AC_REQUIRE([AM_SET_DEPDIR])
+ AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])
+ ifelse([$1],CC,[
+@@ -259,10 +267,13 @@
+       ;;
+     none) break ;;
+     esac
++    # We check with `-c' and `-o' for the sake of the "dashmstdout"
++    # mode.  It turns out that the SunPro C++ compiler does not properly
++    # handle `-M -o', and we need to detect this.
+     if depmode="$depmode" \
+        source=conftest.c object=conftest.o \
+        depfile=conftest.Po tmpdepfile=conftest.TPo \
+-       $SHELL $am_depcomp $depcc -c conftest.c 2>/dev/null &&
++       $SHELL $am_depcomp $depcc -c conftest.c -o conftest.o 2>/dev/null &&
+        grep conftest.h conftest.Po > /dev/null 2>&1; then
+       am_cv_[$1]_dependencies_compiler_type="$depmode"
+       break
+@@ -279,10 +290,10 @@
+ AC_SUBST([$1]DEPMODE)
+ ])
+ 
+-dnl Choose a directory name for dependency files.
+-dnl This macro is AC_REQUIREd in AM_DEPENDENCIES
++# Choose a directory name for dependency files.
++# This macro is AC_REQUIREd in AM_DEPENDENCIES
+ 
+-AC_DEFUN(AM_SET_DEPDIR,[
++AC_DEFUN([AM_SET_DEPDIR],[
+ if test -d .deps || mkdir .deps 2> /dev/null || test -d .deps; then
+   DEPDIR=.deps
+ else
+@@ -291,7 +302,7 @@
+ AC_SUBST(DEPDIR)
+ ])
+ 
+-AC_DEFUN(AM_DEP_TRACK,[
++AC_DEFUN([AM_DEP_TRACK],[
+ AC_ARG_ENABLE(dependency-tracking,
+ [  --disable-dependency-tracking Speeds up one-time builds
+   --enable-dependency-tracking  Do not reject slow dependency extractors])
+@@ -316,16 +327,16 @@
+ popdef([subst])
+ ])
+ 
+-dnl Generate code to set up dependency tracking.
+-dnl This macro should only be invoked once -- use via AC_REQUIRE.
+-dnl Usage:
+-dnl AM_OUTPUT_DEPENDENCY_COMMANDS
++# Generate code to set up dependency tracking.
++# This macro should only be invoked once -- use via AC_REQUIRE.
++# Usage:
++# AM_OUTPUT_DEPENDENCY_COMMANDS
+ 
+-dnl
+-dnl This code is only required when automatic dependency tracking
+-dnl is enabled.  FIXME.  This creates each `.P' file that we will
+-dnl need in order to bootstrap the dependency handling code.
+-AC_DEFUN(AM_OUTPUT_DEPENDENCY_COMMANDS,[
++#
++# This code is only required when automatic dependency tracking
++# is enabled.  FIXME.  This creates each `.P' file that we will
++# need in order to bootstrap the dependency handling code.
++AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],[
+ AC_OUTPUT_COMMANDS([
+ test x"$AMDEP" != x"" ||
+ for mf in $CONFIG_FILES; do
+@@ -368,9 +379,9 @@
+ ac_aux_dir="$ac_aux_dir"])])
+ 
+ 
+-dnl AM_PROG_LEX
+-dnl Look for flex, lex or missing, then run AC_PROG_LEX and AC_DECL_YYTEXT
+-AC_DEFUN(AM_PROG_LEX,
++# AM_PROG_LEX
++# Look for flex, lex or missing, then run AC_PROG_LEX and AC_DECL_YYTEXT
++AC_DEFUN([AM_PROG_LEX],
+ [AC_REQUIRE([AM_MISSING_HAS_RUN])
+ AC_CHECK_PROGS(LEX, flex lex, [${am_missing_run}flex])
+ AC_PROG_LEX
+@@ -526,23 +537,20 @@
+ 
+ 
+ 
+-# serial 44 AC_PROG_LIBTOOL
+-AC_DEFUN(AC_PROG_LIBTOOL,[AC_REQUIRE([_AC_PROG_LIBTOOL])])
+-AC_DEFUN(_AC_PROG_LIBTOOL,
++# serial 40 AC_PROG_LIBTOOL
++AC_DEFUN(AC_PROG_LIBTOOL,
+ [AC_REQUIRE([AC_LIBTOOL_SETUP])dnl
+ 
+ # Save cache, so that ltconfig can load it
+ AC_CACHE_SAVE
+ 
+ # Actually configure libtool.  ac_aux_dir is where install-sh is found.
+-AR="$AR" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
+-MAGIC="$MAGIC" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
+-LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
+-AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
+-objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
+-deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
++CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
++LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
++LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" \
++DLLTOOL="$DLLTOOL" AS="$AS" OBJDUMP="$OBJDUMP" \
+ ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
+-$libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
++$libtool_flags --no-verify $ac_aux_dir/ltmain.sh $lt_target \
+ || AC_MSG_ERROR([libtool configure failed])
+ 
+ # Reload cache, that may have been modified by ltconfig
+@@ -567,28 +575,18 @@
+ AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl
+ AC_REQUIRE([AC_CANONICAL_HOST])dnl
+ AC_REQUIRE([AC_CANONICAL_BUILD])dnl
++AC_REQUIRE([AC_PROG_RANLIB])dnl
+ AC_REQUIRE([AC_PROG_CC])dnl
+ AC_REQUIRE([AC_PROG_LD])dnl
+-AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl
+ AC_REQUIRE([AC_PROG_NM])dnl
+ AC_REQUIRE([AC_PROG_LN_S])dnl
+-AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl
+-AC_REQUIRE([AC_OBJEXT])dnl
+-AC_REQUIRE([AC_EXEEXT])dnl
+ dnl
+ 
+-# Only perform the check for file, if the check method requires it
+-case "$deplibs_check_method" in
+-file_magic*)
+-  if test "$file_magic_cmd" = '${MAGIC}'; then
+-    AC_PATH_MAGIC
+-  fi
+-  ;;
++case "$target" in
++NONE) lt_target="$host" ;;
++*) lt_target="$target" ;;
+ esac
+ 
+-AC_CHECK_TOOL(RANLIB, ranlib, :)
+-AC_CHECK_TOOL(STRIP, strip, :)
+-
+ # Check for any special flags to pass to ltconfig.
+ libtool_flags="--cache-file=$cache_file"
+ test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
+@@ -605,15 +603,9 @@
+ test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
+ test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
+ 
+-AC_ARG_WITH(pic,
+-  [  --with-pic              try to use only PIC/non-PIC objects [default=use both]],
+-     pic_mode="$withval", pic_mode=default)
+-test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
+-test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
+-
+ # Some flags need to be propagated to the compiler or linker for good
+ # libtool support.
+-case "$host" in
++case "$lt_target" in
+ *-*-irix6*)
+   # Find out which ABI we are using.
+   echo '[#]line __oline__ "configure"' > conftest.$ac_ext
+@@ -638,10 +630,7 @@
+   SAVE_CFLAGS="$CFLAGS"
+   CFLAGS="$CFLAGS -belf"
+   AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
+-    [AC_LANG_SAVE
+-     AC_LANG_C
+-     AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
+-     AC_LANG_RESTORE])
++    [AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])])
+   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
+     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
+     CFLAGS="$SAVE_CFLAGS"
+@@ -653,31 +642,8 @@
+   AC_CHECK_TOOL(DLLTOOL, dlltool, false)
+   AC_CHECK_TOOL(AS, as, false)
+   AC_CHECK_TOOL(OBJDUMP, objdump, false)
+-
+-  # recent cygwin and mingw systems supply a stub DllMain which the user
+-  # can override, but on older systems we have to supply one
+-  AC_CACHE_CHECK([if libtool should supply DllMain function], lt_cv_need_dllmain,
+-    [AC_TRY_LINK([],
+-      [extern int __attribute__((__stdcall__)) DllMain(void*, int, void*);
+-      DllMain (0, 0, 0);],
+-      [lt_cv_need_dllmain=no],[lt_cv_need_dllmain=yes])])
+-
+-  case "$host/$CC" in
+-  *-*-cygwin*/gcc*-mno-cygwin*|*-*-mingw*)
+-    # old mingw systems require "-dll" to link a DLL, while more recent ones
+-    # require "-mdll"
+-    SAVE_CFLAGS="$CFLAGS"
+-    CFLAGS="$CFLAGS -mdll"
+-    AC_CACHE_CHECK([how to link DLLs], lt_cv_cc_dll_switch,
+-      [AC_TRY_LINK([], [], [lt_cv_cc_dll_switch=-mdll],[lt_cv_cc_dll_switch=-dll])])
+-    CFLAGS="$SAVE_CFLAGS" ;;
+-  *-*-cygwin*)
+-    # cygwin systems need to pass --dll to the linker, and not link
+-    # crt.o which will require a WinMain@16 definition.
+-    lt_cv_cc_dll_switch="-Wl,--dll -nostartfiles" ;;
+-  esac
+   ;;
+-  ])
++])
+ esac
+ ])
+ 
+@@ -783,94 +749,10 @@
+ enable_fast_install=AC_ENABLE_FAST_INSTALL_DEFAULT)dnl
+ ])
+ 
+-# AC_DISABLE_FAST_INSTALL - set the default to --disable-fast-install
++# AC_ENABLE_FAST_INSTALL - set the default to --disable-fast-install
+ AC_DEFUN(AC_DISABLE_FAST_INSTALL, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
+ AC_ENABLE_FAST_INSTALL(no)])
+ 
+-# AC_LIBTOOL_PICMODE - implement the --with-pic flag
+-# Usage: AC_LIBTOOL_PICMODE[(MODE)]
+-#   Where MODE is either `yes' or `no'.  If omitted, it defaults to
+-#   `both'.
+-AC_DEFUN(AC_LIBTOOL_PICMODE, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
+-pic_mode=ifelse($#,1,$1,default)])
+-
+-
+-# AC_PATH_TOOL_PREFIX - find a file program which can recognise shared library
+-AC_DEFUN(AC_PATH_TOOL_PREFIX,
+-[AC_MSG_CHECKING([for $1])
+-AC_CACHE_VAL(lt_cv_path_MAGIC,
+-[case "$MAGIC" in
+-  /*)
+-  lt_cv_path_MAGIC="$MAGIC" # Let the user override the test with a path.
+-  ;;
+-  ?:/*)
+-  ac_cv_path_MAGIC="$MAGIC" # Let the user override the test with a dos path.
+-  ;;
+-  *)
+-  ac_save_MAGIC="$MAGIC"
+-  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
+-dnl $ac_dummy forces splitting on constant user-supplied paths.
+-dnl POSIX.2 word splitting is done only on the output of word expansions,
+-dnl not every word.  This closes a longstanding sh security hole.
+-  ac_dummy="ifelse([$2], , $PATH, [$2])"
+-  for ac_dir in $ac_dummy; do
+-    test -z "$ac_dir" && ac_dir=.
+-    if test -f $ac_dir/$1; then
+-      lt_cv_path_MAGIC="$ac_dir/$1"
+-      if test -n "$file_magic_test_file"; then
+-	case "$deplibs_check_method" in
+-	"file_magic "*)
+-	  file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
+-	  MAGIC="$lt_cv_path_MAGIC"
+-	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
+-	    egrep "$file_magic_regex" > /dev/null; then
+-	    :
+-	  else
+-	    cat <<EOF 1>&2
+-
+-*** Warning: the command libtool uses to detect shared libraries,
+-*** $file_magic_cmd, produces output that libtool cannot recognize.
+-*** The result is that libtool may fail to recognize shared libraries
+-*** as such.  This will affect the creation of libtool libraries that
+-*** depend on shared libraries, but programs linked with such libtool
+-*** libraries will work regardless of this problem.  Nevertheless, you
+-*** may want to report the problem to your system manager and/or to
+-*** bug-libtool@gnu.org
+-
+-EOF
+-	  fi ;;
+-	esac
+-      fi
+-      break
+-    fi
+-  done
+-  IFS="$ac_save_ifs"
+-  MAGIC="$ac_save_MAGIC"
+-  ;;
+-esac])
+-MAGIC="$lt_cv_path_MAGIC"
+-if test -n "$MAGIC"; then
+-  AC_MSG_RESULT($MAGIC)
+-else
+-  AC_MSG_RESULT(no)
+-fi
+-])
+-
+-
+-# AC_PATH_MAGIC - find a file program which can recognise a shared library
+-AC_DEFUN(AC_PATH_MAGIC,
+-[AC_REQUIRE([AC_CHECK_TOOL_PREFIX])dnl
+-AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin:$PATH)
+-if test -z "$lt_cv_path_MAGIC"; then
+-  if test -n "$ac_tool_prefix"; then
+-    AC_PATH_TOOL_PREFIX(file, /usr/bin:$PATH)
+-  else
+-    MAGIC=:
+-  fi
+-fi
+-])
+-
+-
+ # AC_PROG_LD - find the path to the GNU or non-GNU linker
+ AC_DEFUN(AC_PROG_LD,
+ [AC_ARG_WITH(gnu-ld,
+@@ -883,13 +765,7 @@
+ if test "$ac_cv_prog_gcc" = yes; then
+   # Check if gcc -print-prog-name=ld gives a path.
+   AC_MSG_CHECKING([for ld used by GCC])
+-  case $host in
+-  *-*-mingw*)
+-    # gcc leaves a trailing carriage return which upsets mingw
+-    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
+-  *)
+-    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
+-  esac
++  ac_prog=`($CC -print-prog-name=ld) 2>&5`
+   case "$ac_prog" in
+     # Accept absolute paths.
+ changequote(,)dnl
+@@ -956,170 +832,8 @@
+ else
+   ac_cv_prog_gnu_ld=no
+ fi])
+-with_gnu_ld=$ac_cv_prog_gnu_ld
+ ])
+ 
+-# AC_PROG_LD_RELOAD_FLAG - find reload flag for linker
+-#   -- PORTME Some linkers may need a different reload flag.
+-AC_DEFUN(AC_PROG_LD_RELOAD_FLAG,
+-[AC_CACHE_CHECK([for $LD option to reload object files], lt_cv_ld_reload_flag,
+-[lt_cv_ld_reload_flag='-r'])
+-reload_flag=$lt_cv_ld_reload_flag
+-test -n "$reload_flag" && reload_flag=" $reload_flag"
+-])
+-
+-# AC_DEPLIBS_CHECK_METHOD - how to check for library dependencies
+-#  -- PORTME fill in with the dynamic library characteristics
+-AC_DEFUN(AC_DEPLIBS_CHECK_METHOD,
+-[AC_CACHE_CHECK([how to recognise dependant libraries],
+-lt_cv_deplibs_check_method,
+-[lt_cv_file_magic_cmd='${MAGIC}'
+-lt_cv_file_magic_test_file=
+-lt_cv_deplibs_check_method='unknown'
+-# Need to set the preceding variable on all platforms that support
+-# interlibrary dependencies.
+-# 'none' -- dependencies not supported.
+-# `unknown' -- same as none, but documents that we really don't know.
+-# 'pass_all' -- all dependencies passed with no checks.
+-# 'test_compile' -- check by making test program.
+-# 'file_magic [regex]' -- check by looking for files in library path
+-# which responds to the $file_magic_cmd with a given egrep regex.
+-# If you have `file' or equivalent on your system and you're not sure
+-# whether `pass_all' will *always* work, you probably want this one.
+-
+-case "$host_os" in
+-aix4*)
+-  lt_cv_deplibs_check_method=pass_all
+-  ;;
+-
+-beos*)
+-  lt_cv_deplibs_check_method=pass_all
+-  ;;
+-
+-bsdi4*)
+-  changequote(,)dnl
+-  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
+-  changequote([, ])dnl
+-  lt_cv_file_magic_cmd='/usr/bin/file -L'
+-  lt_cv_file_magic_test_file=/shlib/libc.so
+-  ;;
+-
+-cygwin* | mingw*)
+-  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
+-  lt_cv_file_magic_cmd='${OBJDUMP} -f'
+-  ;;
+-
+-freebsd*)
+-  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
+-    case "$host_cpu" in
+-    i*86 )
+-      changequote(,)dnl
+-      lt_cv_deplibs_check_method=='file_magic OpenBSD/i[3-9]86 demand paged shared library'
+-      changequote([, ])dnl
+-      lt_cv_file_magic_cmd=/usr/bin/file
+-      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
+-      ;;
+-    esac
+-  else
+-    lt_cv_deplibs_check_method=pass_all
+-  fi
+-  ;;
+-
+-gnu*)
+-  lt_cv_deplibs_check_method=pass_all
+-  ;;
+-
+-hpux10.20*)
+-  # TODO:  Does this work for hpux-11 too?
+-  lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
+-  lt_cv_file_magic_cmd=/usr/bin/file
+-  lt_cv_file_magic_test_file=/usr/lib/libc.sl
+-  ;;
+-
+-irix5* | irix6*)
+-  case "$host_os" in
+-  irix5*)
+-    # this will be overridden with pass_all, but let us keep it just in case
+-    lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
+-    ;;
+-  *)
+-    case "$LD" in
+-    *-32|*"-32 ") libmagic=32-bit;;
+-    *-n32|*"-n32 ") libmagic=N32;;
+-    *-64|*"-64 ") libmagic=64-bit;;
+-    *) libmagic=never-match;;
+-    esac
+-    # this will be overridden with pass_all, but let us keep it just in case
+-    changequote(,)dnl
+-    lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
+-    changequote([, ])dnl
+-    ;;
+-  esac
+-  lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
+-  lt_cv_deplibs_check_method=pass_all
+-  ;;
+-
+-# This must be Linux ELF.
+-linux-gnu*)
+-  case "$host_cpu" in
+-  alpha* | i*86 | powerpc* | sparc* | ia64* )
+-    lt_cv_deplibs_check_method=pass_all ;;
+-  *)
+-    # glibc up to 2.1.1 does not perform some relocations on ARM
+-    changequote(,)dnl
+-    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
+-    changequote([, ])dnl
+-  esac
+-  lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
+-  ;;
+-
+-netbsd*)
+-  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then :
+-  else
+-    changequote(,)dnl
+-    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
+-    changequote([, ])dnl
+-    lt_cv_file_magic_cmd='/usr/bin/file -L'
+-    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
+-  fi
+-  ;;
+-
+-osf3* | osf4* | osf5*)
+-  # this will be overridden with pass_all, but let us keep it just in case
+-  lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
+-  lt_cv_file_magic_test_file=/shlib/libc.so
+-  lt_cv_deplibs_check_method=pass_all
+-  ;;
+-
+-sco3.2v5*)
+-  lt_cv_deplibs_check_method=pass_all
+-  ;;
+-
+-solaris*)
+-  lt_cv_deplibs_check_method=pass_all
+-  lt_cv_file_magic_test_file=/lib/libc.so
+-  ;;
+-
+-sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
+-  case "$host_vendor" in
+-  ncr)
+-    lt_cv_deplibs_check_method=pass_all
+-    ;;
+-  motorola)
+-    changequote(,)dnl
+-    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
+-    changequote([, ])dnl
+-    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
+-    ;;
+-  esac
+-  ;;
+-esac
+-])
+-file_magic_cmd=$lt_cv_file_magic_cmd
+-deplibs_check_method=$lt_cv_deplibs_check_method
+-])
+-
+-
+ # AC_PROG_NM - find the path to a BSD-compatible name lister
+ AC_DEFUN(AC_PROG_NM,
+ [AC_MSG_CHECKING([for BSD-compatible nm])
+@@ -1131,19 +845,18 @@
+   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
+   for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
+     test -z "$ac_dir" && ac_dir=.
+-    tmp_nm=$ac_dir/${ac_tool_prefix}nm
+-    if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
++    if test -f $ac_dir/nm || test -f $ac_dir/nm$ac_exeext ; then
+       # Check to see if the nm accepts a BSD-compat flag.
+       # Adding the `sed 1q' prevents false positives on HP-UX, which says:
+       #   nm: unknown option "B" ignored
+-      if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
+-	ac_cv_path_NM="$tmp_nm -B"
++      if ($ac_dir/nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
++	ac_cv_path_NM="$ac_dir/nm -B"
+ 	break
+-      elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
+-	ac_cv_path_NM="$tmp_nm -p"
++      elif ($ac_dir/nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
++	ac_cv_path_NM="$ac_dir/nm -p"
+ 	break
+       else
+-	ac_cv_path_NM=${ac_cv_path_NM="$tmp_nm"} # keep the first match, but
++	ac_cv_path_NM=${ac_cv_path_NM="$ac_dir/nm"} # keep the first match, but
+ 	continue # so that we can try to find one that supports BSD flags
+       fi
+     fi
+@@ -1159,7 +872,7 @@
+ AC_DEFUN(AC_CHECK_LIBM,
+ [AC_REQUIRE([AC_CANONICAL_HOST])dnl
+ LIBM=
+-case "$host" in
++case "$lt_target" in
+ *-*-beos* | *-*-cygwin*)
+   # These system don't have libm
+   ;;
+@@ -1999,7 +1712,7 @@
+ 
+ # Define a conditional.
+ 
+-AC_DEFUN(AM_CONDITIONAL,
++AC_DEFUN([AM_CONDITIONAL],
+ [AC_SUBST($1_TRUE)
+ AC_SUBST($1_FALSE)
+ if $2; then
+@@ -2334,49 +2047,6 @@
+ #endif])
+ ])
+ 
+-dnl $Id: krb-func-getcwd-broken.m4,v 1.2 1999/03/01 13:03:32 joda Exp $
+-dnl
+-dnl
+-dnl test for broken getcwd in (SunOS braindamage)
+-dnl
+-
+-AC_DEFUN(AC_KRB_FUNC_GETCWD_BROKEN, [
+-if test "$ac_cv_func_getcwd" = yes; then
+-AC_MSG_CHECKING(if getcwd is broken)
+-AC_CACHE_VAL(ac_cv_func_getcwd_broken, [
+-ac_cv_func_getcwd_broken=no
+-
+-AC_TRY_RUN([
+-#include <errno.h>
+-char *getcwd(char*, int);
+-
+-void *popen(char *cmd, char *mode)
+-{
+-	errno = ENOTTY;
+-	return 0;
+-}
+-
+-int main()
+-{
+-	char *ret;
+-	ret = getcwd(0, 1024);
+-	if(ret == 0 && errno == ENOTTY)
+-		return 0;
+-	return 1;
+-}
+-], ac_cv_func_getcwd_broken=yes,:,:)
+-])
+-if test "$ac_cv_func_getcwd_broken" = yes; then
+-	AC_DEFINE(BROKEN_GETCWD, 1, [Define if getcwd is broken (like in SunOS 4).])dnl
+-	LIBOBJS="$LIBOBJS getcwd.o"
+-	AC_SUBST(LIBOBJS)dnl
+-	AC_MSG_RESULT($ac_cv_func_getcwd_broken)
+-else
+-	AC_MSG_RESULT([seems ok])
+-fi
+-fi
+-])
+-
+ dnl $Id: proto-compat.m4,v 1.3 1999/03/01 13:03:48 joda Exp $
+ dnl
+ dnl
+@@ -2522,7 +2192,7 @@
+ dnl
+ dnl AC_TEST_PACKAGE_NEW(package,headers,libraries,extra libs,default locations, conditional)
+ 
+-AC_DEFUN(AC_TEST_PACKAGE,[AC_TEST_PACKAGE_NEW($1,[#include <$2>],$4,,$5)])
++AC_DEFUN(AC_TEST_PACKAGE,[MY_TEST_PACKAGE_NEW($1,[#include <$2>],$4,,$5)])
+ 
+ AC_DEFUN(AC_TEST_PACKAGE_NEW,[
+ AC_ARG_WITH($1,
+@@ -2559,7 +2229,7 @@
+ header_dirs=
+ lib_dirs=
+ d='$5'
+-for i in $d; do
++for i in $d /usr; do
+ 	header_dirs="$header_dirs $i/include"
+ 	lib_dirs="$lib_dirs $i/lib$abilibdirext"
+ done
+@@ -2592,6 +2262,7 @@
+ if test "$ires" -a "$lres" -a "$with_$1" != "no"; then
+ 	$1_includedir="$ires"
+ 	$1_libdir="$lres"
++	DIR_$1=
+ 	INCLUDE_$1="-I$$1_includedir"
+ 	LIB_$1="-L$$1_libdir $3"
+ 	ifval([$6],
+@@ -2600,6 +2271,7 @@
+ 	with_$1=yes
+ 	AC_MSG_RESULT([headers $ires, libraries $lres])
+ else
++	DIR_$1="$1"
+ 	INCLUDE_$1=
+ 	LIB_$1=
+ 	with_$1=no
+@@ -2608,6 +2280,7 @@
+ dnl ifval([$6],
+ dnl 	AM_CONDITIONAL($6, test "$with_$1" = yes)
+ dnl 	AM_CONDITIONAL(upcase($1), test "$with_$1" = yes))
++AC_SUBST(DIR_$1)
+ AC_SUBST(INCLUDE_$1)
+ AC_SUBST(LIB_$1)
+ ])
+@@ -2985,19 +2658,95 @@
+ 	:
+ elif test "$ac_cv_func_el_init" = yes; then
+ 	ac_foo=yes
++ 	DIR_readline="editline"
+ 	LIB_readline="\$(top_builddir)/lib/editline/libel_compat.a $LIB_el_init"
+ else
+-	LIB_readline='$(top_builddir)/lib/editline/libeditline.a'
++ 	DIR_readline="editline"
++	LIB_readline='$(top_builddir)/lib/editline/libeditline.la'
+ fi
+ AM_CONDITIONAL(el_compat, test "$ac_foo" = yes)
+-if test "$readline_libdir"; then
+-	LIB_readline="-rpath $readline_libdir $LIB_readline"
+-fi
++#if test "$readline_libdir"; then
++#	LIB_readline="-rpath $readline_libdir $LIB_readline"
++#fi
+ LIB_readline="$LIB_readline \$(LIB_tgetent)"
+ AC_DEFINE(HAVE_READLINE, 1, 
+ 	[Define if you have a readline compatible library.])dnl
+ 
+ ])
++
++dnl
++dnl Tests for readline functions
++dnl
++
++dnl el_init
++
++AC_DEFUN(KRB_COM_ERR,[
++dnl com_err
++
++ac_foo=no
++if test "$with_com_err" = yes; then
++	COMPILE_ET='compile_et'
++#elif test "$ac_cv_func_com_err" = yes; then
++#	COMPILE_ET='compile_et'
++else
++	COMPILE_ET='$(top_builddir)/lib/com_err/compile_et'
++	DIR_com_err="com_err"
++	LIB_com_err='$(top_builddir)/lib/com_err/libcom_err.la'
++fi
++
++if true; then
++#	!FIXME! why doesn't built in version of com_err work?
++	COMPILE_ET='$(top_builddir)/lib/com_err/compile_et'
++	DIR_com_err="com_err"
++	LIB_com_err='$(top_builddir)/lib/com_err/libcom_err.la'
++fi
++
++#if test "$com_err_libdir"; then
++#	LIB_com_err="-rpath $com_err_libdir $LIB_com_err"
++#fi
++AC_DEFINE(HAVE_COM_ERR, 1, 
++	[Define if you have a com_err compatible library.])dnl
++
++])
++AC_SUBST(COMPILE_ET)
++
++dnl
++dnl Tests for readline functions
++dnl
++
++dnl el_init
++
++AC_DEFUN(KRB_SS,[
++dnl com_err
++
++ac_foo=no
++if test "$with_ss" = yes; then
++	LIB_sl="$LIB_ss"
++else
++	DIR_ss="sl"
++	LIB_sl='$(top_builddir)/lib/sl/libsl.la'
++	LIB_ss='$(top_builddir)/lib/sl/libss.la'
++	INCLUDE_ss='-I$(top_builddir)/include/sl'
++fi
++
++
++#if test "$ss_libdir"; then
++#	LIB_ss="-rpath $sl_libdir $LIB_ss"
++#fi
++
++if true; then
++#	!FIXME! why doesn't built in version of ss work?
++	LIB_sl='$(top_builddir)/lib/sl/libsl.la'
++	LIB_ss='$(top_builddir)/lib/sl/libss.la'
++	INCLUDE_ss='-I$(top_builddir)/include/ss'
++fi
++
++AC_DEFINE(HAVE_SS, 1, 
++	[Define if you have a ss compatible library.])dnl
++
++])
++AC_SUBST(LIB_sl)
++
+ dnl $Id: auth-modules.m4,v 1.1 1999/03/21 13:48:00 joda Exp $
+ dnl
+ dnl Figure what authentication modules should be built
+diff -ruN heimdal-0.3c-old/admin/Makefile.in heimdal-0.3c/admin/Makefile.in
+--- heimdal-0.3c-old/admin/Makefile.in	Wed Sep 20 20:55:45 2000
++++ heimdal-0.3c/admin/Makefile.in	Tue Nov 28 09:56:30 2000
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,12 +69,14 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ EXEEXT = @EXEEXT@
+@@ -89,6 +92,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -99,7 +103,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -123,13 +126,13 @@
+ 
+ SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+ 
+-INCLUDES = -I$(top_builddir)/include $(INCLUDE_readline)
++INCLUDES = -I$(top_builddir)/include $(INCLUDE_readline) $(INCLUDE_ss)
+ 
+ AM_CFLAGS =  $(WFLAGS) $(CPPFLAGS_roken)
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -170,6 +173,13 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ cat1dir = $(mandir)/cat1
+@@ -211,7 +221,7 @@
+ 	$(top_builddir)/lib/krb5/libkrb5.la \
+ 	$(top_builddir)/lib/des/libdes.la \
+ 	$(top_builddir)/lib/asn1/libasn1.la \
+-	$(top_builddir)/lib/sl/libsl.la \
++	$(LIB_ss) \
+ 	$(LIB_readline) \
+ 	$(LIB_roken)
+ 
+@@ -238,7 +248,7 @@
+ ktutil_LDADD = $(LDADD)
+ ktutil_DEPENDENCIES =  $(top_builddir)/lib/kadm5/libkadm5clnt.la \
+ $(top_builddir)/lib/krb5/libkrb5.la $(top_builddir)/lib/des/libdes.la \
+-$(top_builddir)/lib/asn1/libasn1.la $(top_builddir)/lib/sl/libsl.la
++$(top_builddir)/lib/asn1/libasn1.la
+ ktutil_LDFLAGS = 
+ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+diff -ruN heimdal-0.3c-old/appl/Makefile.in heimdal-0.3c/appl/Makefile.in
+--- heimdal-0.3c-old/appl/Makefile.in	Wed Sep 20 20:55:46 2000
++++ heimdal-0.3c/appl/Makefile.in	Tue Nov 28 09:56:30 2000
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,12 +69,14 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ EXEEXT = @EXEEXT@
+@@ -89,6 +92,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -99,7 +103,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -129,7 +132,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -170,6 +173,13 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ cat1dir = $(mandir)/cat1
+@@ -271,10 +281,11 @@
+ 	@set fnord $(MAKEFLAGS); amf=$$2; \
+ 	dot_seen=no; \
+ 	rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
+-	  rev="$$subdir $$rev"; \
+-	  if test "$$subdir" = "."; then dot_seen=yes; else :; fi; \
++	  if test "$$subdir" = "."; then :; else \
++	    rev="$$subdir $$rev"; \
++	  fi; \
+ 	done; \
+-	test "$$dot_seen" = "no" && rev=". $$rev"; \
++	rev="$$rev ."; \
+ 	target=`echo $@ | sed s/-recursive//`; \
+ 	for subdir in $$rev; do \
+ 	  echo "Making $$target in $$subdir"; \
+diff -ruN heimdal-0.3c-old/appl/afsutil/Makefile.in heimdal-0.3c/appl/afsutil/Makefile.in
+--- heimdal-0.3c-old/appl/afsutil/Makefile.in	Wed Sep 20 20:55:47 2000
++++ heimdal-0.3c/appl/afsutil/Makefile.in	Tue Nov 28 09:56:31 2000
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,12 +69,14 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ EXEEXT = @EXEEXT@
+@@ -89,6 +92,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -99,7 +103,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -129,7 +132,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -169,6 +172,13 @@
+ LIB_openldap = @LIB_openldap@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
+ 
+ LEXLIB = @LEXLIB@
+ 
+diff -ruN heimdal-0.3c-old/appl/dceutils/Makefile.in heimdal-0.3c/appl/dceutils/Makefile.in
+--- heimdal-0.3c-old/appl/dceutils/Makefile.in	Wed Sep 20 20:55:57 2000
++++ heimdal-0.3c/appl/dceutils/Makefile.in	Tue Nov 28 09:56:36 2000
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,12 +69,14 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ EXEEXT = @EXEEXT@
+@@ -89,6 +92,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -99,7 +103,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -129,7 +132,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -170,6 +173,13 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ cat1dir = $(mandir)/cat1
+@@ -238,8 +248,7 @@
+ LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+ DIST_SOURCES =  $(dpagaix_SOURCES) $(k5dcecon_SOURCES)
+ depcomp = 
+-DIST_COMMON =  ChangeLog Makefile.am Makefile.in appl/dceutils/compile \
+-compile
++DIST_COMMON =  ChangeLog Makefile.am Makefile.in compile
+ 
+ 
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+@@ -360,7 +369,6 @@
+ distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
+ 
+ distdir: $(DISTFILES)
+-	$(mkinstalldirs) $(distdir)/appl/dceutils
+ 	@for file in $(DISTFILES); do \
+ 	  d=$(srcdir); \
+ 	  if test -d $$d/$$file; then \
+diff -ruN heimdal-0.3c-old/appl/ftp/Makefile.in heimdal-0.3c/appl/ftp/Makefile.in
+--- heimdal-0.3c-old/appl/ftp/Makefile.in	Wed Sep 20 20:55:47 2000
++++ heimdal-0.3c/appl/ftp/Makefile.in	Tue Nov 28 09:56:31 2000
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,12 +69,14 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ EXEEXT = @EXEEXT@
+@@ -89,6 +92,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -99,7 +103,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -129,7 +132,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -170,6 +173,13 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ cat1dir = $(mandir)/cat1
+@@ -252,10 +262,11 @@
+ 	@set fnord $(MAKEFLAGS); amf=$$2; \
+ 	dot_seen=no; \
+ 	rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
+-	  rev="$$subdir $$rev"; \
+-	  if test "$$subdir" = "."; then dot_seen=yes; else :; fi; \
++	  if test "$$subdir" = "."; then :; else \
++	    rev="$$subdir $$rev"; \
++	  fi; \
+ 	done; \
+-	test "$$dot_seen" = "no" && rev=". $$rev"; \
++	rev="$$rev ."; \
+ 	target=`echo $@ | sed s/-recursive//`; \
+ 	for subdir in $$rev; do \
+ 	  echo "Making $$target in $$subdir"; \
+diff -ruN heimdal-0.3c-old/appl/ftp/common/Makefile.in heimdal-0.3c/appl/ftp/common/Makefile.in
+--- heimdal-0.3c-old/appl/ftp/common/Makefile.in	Wed Sep 20 20:55:47 2000
++++ heimdal-0.3c/appl/ftp/common/Makefile.in	Tue Nov 28 09:56:31 2000
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,12 +69,14 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ EXEEXT = @EXEEXT@
+@@ -89,6 +92,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -99,7 +103,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -129,7 +132,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -169,6 +172,13 @@
+ LIB_openldap = @LIB_openldap@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
+ 
+ LEXLIB = @LEXLIB@
+ 
+diff -ruN heimdal-0.3c-old/appl/ftp/ftp/Makefile.in heimdal-0.3c/appl/ftp/ftp/Makefile.in
+--- heimdal-0.3c-old/appl/ftp/ftp/Makefile.in	Wed Sep 20 20:55:48 2000
++++ heimdal-0.3c/appl/ftp/ftp/Makefile.in	Tue Nov 28 09:56:31 2000
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,12 +69,14 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ EXEEXT = @EXEEXT@
+@@ -89,6 +92,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -99,7 +103,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -129,7 +132,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -169,6 +172,13 @@
+ LIB_openldap = @LIB_openldap@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
+ 
+ LEXLIB = @LEXLIB@
+ 
+diff -ruN heimdal-0.3c-old/appl/ftp/ftpd/Makefile.in heimdal-0.3c/appl/ftp/ftpd/Makefile.in
+--- heimdal-0.3c-old/appl/ftp/ftpd/Makefile.in	Wed Sep 20 20:55:49 2000
++++ heimdal-0.3c/appl/ftp/ftpd/Makefile.in	Tue Nov 28 09:56:32 2000
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,12 +69,14 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ EXEEXT = @EXEEXT@
+@@ -89,6 +92,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -99,7 +103,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -129,7 +132,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -169,6 +172,13 @@
+ LIB_openldap = @LIB_openldap@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
+ 
+ LEXLIB = @LEXLIB@
+ 
+diff -ruN heimdal-0.3c-old/appl/kf/Makefile.in heimdal-0.3c/appl/kf/Makefile.in
+--- heimdal-0.3c-old/appl/kf/Makefile.in	Wed Sep 20 20:55:56 2000
++++ heimdal-0.3c/appl/kf/Makefile.in	Tue Nov 28 09:56:36 2000
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,12 +69,14 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ EXEEXT = @EXEEXT@
+@@ -89,6 +92,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -99,7 +103,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -129,7 +132,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -169,6 +172,13 @@
+ LIB_openldap = @LIB_openldap@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
+ 
+ LEXLIB = @LEXLIB@
+ 
+diff -ruN heimdal-0.3c-old/appl/kx/Makefile.in heimdal-0.3c/appl/kx/Makefile.in
+--- heimdal-0.3c-old/appl/kx/Makefile.in	Wed Sep 20 20:55:49 2000
++++ heimdal-0.3c/appl/kx/Makefile.in	Tue Nov 28 09:56:32 2000
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,12 +69,14 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ EXEEXT = @EXEEXT@
+@@ -89,6 +92,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -99,7 +103,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+@@ -128,7 +131,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -168,6 +171,13 @@
+ LIB_openldap = @LIB_openldap@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
+ 
+ LEXLIB = @LEXLIB@
+ 
+diff -ruN heimdal-0.3c-old/appl/login/Makefile.in heimdal-0.3c/appl/login/Makefile.in
+--- heimdal-0.3c-old/appl/login/Makefile.in	Wed Sep 20 20:55:50 2000
++++ heimdal-0.3c/appl/login/Makefile.in	Tue Nov 28 09:56:32 2000
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,12 +69,14 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ EXEEXT = @EXEEXT@
+@@ -89,6 +92,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -99,7 +103,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -129,7 +132,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -169,6 +172,13 @@
+ LIB_openldap = @LIB_openldap@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
+ 
+ LEXLIB = @LEXLIB@
+ 
+diff -ruN heimdal-0.3c-old/appl/otp/Makefile.in heimdal-0.3c/appl/otp/Makefile.in
+--- heimdal-0.3c-old/appl/otp/Makefile.in	Wed Sep 20 20:55:50 2000
++++ heimdal-0.3c/appl/otp/Makefile.in	Tue Nov 28 09:56:33 2000
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,12 +69,14 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ EXEEXT = @EXEEXT@
+@@ -89,6 +92,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -99,7 +103,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -129,7 +132,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -169,6 +172,13 @@
+ LIB_openldap = @LIB_openldap@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
+ 
+ LEXLIB = @LEXLIB@
+ 
+diff -ruN heimdal-0.3c-old/appl/popper/Makefile.in heimdal-0.3c/appl/popper/Makefile.in
+--- heimdal-0.3c-old/appl/popper/Makefile.in	Wed Sep 20 20:55:51 2000
++++ heimdal-0.3c/appl/popper/Makefile.in	Tue Nov 28 09:56:33 2000
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,12 +69,14 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ EXEEXT = @EXEEXT@
+@@ -89,6 +92,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -99,7 +103,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -129,7 +132,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -169,6 +172,13 @@
+ LIB_openldap = @LIB_openldap@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
+ 
+ LEXLIB = @LEXLIB@
+ 
+diff -ruN heimdal-0.3c-old/appl/push/Makefile.in heimdal-0.3c/appl/push/Makefile.in
+--- heimdal-0.3c-old/appl/push/Makefile.in	Wed Sep 20 20:55:51 2000
++++ heimdal-0.3c/appl/push/Makefile.in	Tue Nov 28 09:56:33 2000
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,12 +69,14 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ EXEEXT = @EXEEXT@
+@@ -89,6 +92,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -99,7 +103,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -129,7 +132,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -169,6 +172,13 @@
+ LIB_openldap = @LIB_openldap@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
+ 
+ LEXLIB = @LEXLIB@
+ 
+diff -ruN heimdal-0.3c-old/appl/rsh/Makefile.in heimdal-0.3c/appl/rsh/Makefile.in
+--- heimdal-0.3c-old/appl/rsh/Makefile.in	Wed Sep 20 20:55:52 2000
++++ heimdal-0.3c/appl/rsh/Makefile.in	Tue Nov 28 09:56:34 2000
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,12 +69,14 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ EXEEXT = @EXEEXT@
+@@ -89,6 +92,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -99,7 +103,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -129,7 +132,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -169,6 +172,13 @@
+ LIB_openldap = @LIB_openldap@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
+ 
+ LEXLIB = @LEXLIB@
+ 
+diff -ruN heimdal-0.3c-old/appl/su/Makefile.in heimdal-0.3c/appl/su/Makefile.in
+--- heimdal-0.3c-old/appl/su/Makefile.in	Wed Sep 20 20:55:53 2000
++++ heimdal-0.3c/appl/su/Makefile.in	Tue Nov 28 09:56:34 2000
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,12 +69,14 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ EXEEXT = @EXEEXT@
+@@ -89,6 +92,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -99,7 +103,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -129,7 +132,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -169,6 +172,13 @@
+ LIB_openldap = @LIB_openldap@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
+ 
+ LEXLIB = @LEXLIB@
+ 
+diff -ruN heimdal-0.3c-old/appl/telnet/Makefile.in heimdal-0.3c/appl/telnet/Makefile.in
+--- heimdal-0.3c-old/appl/telnet/Makefile.in	Wed Sep 20 20:55:53 2000
++++ heimdal-0.3c/appl/telnet/Makefile.in	Tue Nov 28 09:56:34 2000
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,12 +69,14 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ EXEEXT = @EXEEXT@
+@@ -89,6 +92,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -99,7 +103,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -129,7 +132,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -170,6 +173,13 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ cat1dir = $(mandir)/cat1
+@@ -254,10 +264,11 @@
+ 	@set fnord $(MAKEFLAGS); amf=$$2; \
+ 	dot_seen=no; \
+ 	rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
+-	  rev="$$subdir $$rev"; \
+-	  if test "$$subdir" = "."; then dot_seen=yes; else :; fi; \
++	  if test "$$subdir" = "."; then :; else \
++	    rev="$$subdir $$rev"; \
++	  fi; \
+ 	done; \
+-	test "$$dot_seen" = "no" && rev=". $$rev"; \
++	rev="$$rev ."; \
+ 	target=`echo $@ | sed s/-recursive//`; \
+ 	for subdir in $$rev; do \
+ 	  echo "Making $$target in $$subdir"; \
+diff -ruN heimdal-0.3c-old/appl/telnet/libtelnet/Makefile.in heimdal-0.3c/appl/telnet/libtelnet/Makefile.in
+--- heimdal-0.3c-old/appl/telnet/libtelnet/Makefile.in	Wed Sep 20 20:55:54 2000
++++ heimdal-0.3c/appl/telnet/libtelnet/Makefile.in	Tue Nov 28 09:56:35 2000
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,12 +69,14 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ EXEEXT = @EXEEXT@
+@@ -89,6 +92,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -99,7 +103,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -129,7 +132,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -169,6 +172,13 @@
+ LIB_openldap = @LIB_openldap@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
+ 
+ LEXLIB = @LEXLIB@
+ 
+diff -ruN heimdal-0.3c-old/appl/telnet/telnet/Makefile.in heimdal-0.3c/appl/telnet/telnet/Makefile.in
+--- heimdal-0.3c-old/appl/telnet/telnet/Makefile.in	Wed Sep 20 20:55:54 2000
++++ heimdal-0.3c/appl/telnet/telnet/Makefile.in	Tue Nov 28 09:56:35 2000
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,12 +69,14 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ EXEEXT = @EXEEXT@
+@@ -89,6 +92,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -99,7 +103,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -129,7 +132,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -169,6 +172,13 @@
+ LIB_openldap = @LIB_openldap@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
+ 
+ LEXLIB = @LEXLIB@
+ 
+diff -ruN heimdal-0.3c-old/appl/telnet/telnetd/Makefile.in heimdal-0.3c/appl/telnet/telnetd/Makefile.in
+--- heimdal-0.3c-old/appl/telnet/telnetd/Makefile.in	Wed Sep 20 20:55:55 2000
++++ heimdal-0.3c/appl/telnet/telnetd/Makefile.in	Tue Nov 28 09:56:35 2000
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,12 +69,14 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ EXEEXT = @EXEEXT@
+@@ -89,6 +92,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -99,7 +103,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -129,7 +132,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -169,6 +172,13 @@
+ LIB_openldap = @LIB_openldap@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
+ 
+ LEXLIB = @LEXLIB@
+ 
+diff -ruN heimdal-0.3c-old/appl/test/Makefile.in heimdal-0.3c/appl/test/Makefile.in
+--- heimdal-0.3c-old/appl/test/Makefile.in	Wed Sep 20 20:55:55 2000
++++ heimdal-0.3c/appl/test/Makefile.in	Tue Nov 28 09:56:35 2000
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,12 +69,14 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ EXEEXT = @EXEEXT@
+@@ -89,6 +92,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -99,7 +103,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -129,7 +132,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -169,6 +172,13 @@
+ LIB_openldap = @LIB_openldap@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
+ 
+ LEXLIB = @LEXLIB@
+ 
+diff -ruN heimdal-0.3c-old/appl/xnlock/Makefile.in heimdal-0.3c/appl/xnlock/Makefile.in
+--- heimdal-0.3c-old/appl/xnlock/Makefile.in	Wed Sep 20 20:55:53 2000
++++ heimdal-0.3c/appl/xnlock/Makefile.in	Tue Nov 28 09:56:34 2000
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,12 +69,14 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ EXEEXT = @EXEEXT@
+@@ -89,6 +92,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -99,7 +103,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+@@ -128,7 +131,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -169,6 +172,13 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ cat1dir = $(mandir)/cat1
+@@ -194,7 +204,7 @@
+ @HAVE_X_TRUE@bin_PROGRAMS = @HAVE_X_TRUE@xnlock
+ @HAVE_X_FALSE@bin_PROGRAMS = 
+ 
+-man1_MANS = xnlock.man
++man1_MANS = xnlock.1
+ 
+ EXTRA_DIST = $(man1_MANS) nose.0.left nose.0.right nose.1.left nose.1.right \
+ 	nose.down nose.front nose.left.front nose.right.front
+@@ -248,6 +258,8 @@
+ CCLD = $(CC)
+ LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+ DIST_SOURCES =  xnlock.c
++man1dir = $(mandir)/man1
++MANS = $(man1_MANS)
+ depcomp = 
+ DIST_COMMON =  README ChangeLog Makefile.am Makefile.in
+ 
+@@ -328,6 +340,47 @@
+ .c.lo:
+ 	$(LTCOMPILE) -c -o $@ $<
+ 
++install-man1:
++	$(mkinstalldirs) $(DESTDIR)$(man1dir)
++	@list='$(man1_MANS)'; \
++	l2='$(man_MANS)'; for i in $$l2; do \
++	  case "$$i" in \
++	    *.1*) list="$$list $$i" ;; \
++	  esac; \
++	done; \
++	for i in $$list; do \
++	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
++	  else file=$$i; fi; \
++	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
++	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
++	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
++	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
++	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
++	  $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
++	done
++
++uninstall-man1:
++	@list='$(man1_MANS)'; \
++	l2='$(man_MANS)'; for i in $$l2; do \
++	  case "$$i" in \
++	    *.1*) list="$$list $$i" ;; \
++	  esac; \
++	done; \
++	for i in $$list; do \
++	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
++	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
++	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
++	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
++	  echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
++	  rm -f $(DESTDIR)$(man1dir)/$$inst; \
++	done
++install-man: $(MANS)
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-man1
++uninstall-man:
++	@$(NORMAL_UNINSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) uninstall-man1
++
+ tags: TAGS
+ 
+ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+@@ -390,20 +443,20 @@
+ 	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+ install-exec: install-exec-am
+ 
+-install-data-am: install-data-local
++install-data-am: install-man install-data-local
+ install-data: install-data-am
+ 
+ install-am: all-am
+ 	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am: uninstall-binPROGRAMS
++uninstall-am: uninstall-binPROGRAMS uninstall-man
+ uninstall: uninstall-am
+-all-am: Makefile $(PROGRAMS) all-local
++all-am: Makefile $(PROGRAMS) $(MANS) all-local
+ all-redirect: all-am
+ install-strip:
+ 	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+ installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(bindir)
++	$(mkinstalldirs)  $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1
+ 
+ 
+ mostlyclean-generic:
+@@ -446,14 +499,15 @@
+ maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
+ mostlyclean-compile distclean-compile clean-compile \
+ maintainer-clean-compile mostlyclean-libtool distclean-libtool \
+-clean-libtool maintainer-clean-libtool tags mostlyclean-tags \
+-distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
+-dvi-am dvi check-local check check-am installcheck-am installcheck \
+-install-exec-am install-exec install-data-local install-data-am \
+-install-data install-am install uninstall-am uninstall all-local \
+-all-redirect all-am all install-strip installdirs mostlyclean-generic \
+-distclean-generic clean-generic maintainer-clean-generic clean \
+-mostlyclean distclean maintainer-clean
++clean-libtool maintainer-clean-libtool install-man1 uninstall-man1 \
++install-man uninstall-man tags mostlyclean-tags distclean-tags \
++clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi \
++check-local check check-am installcheck-am installcheck install-exec-am \
++install-exec install-data-local install-data-am install-data install-am \
++install uninstall-am uninstall all-local all-redirect all-am all \
++install-strip installdirs mostlyclean-generic distclean-generic \
++clean-generic maintainer-clean-generic clean mostlyclean distclean \
++maintainer-clean
+ 
+ 
+ install-suid-programs:
+diff -ruN heimdal-0.3c-old/configure heimdal-0.3c/configure
+--- heimdal-0.3c-old/configure	Wed Sep 20 20:56:50 2000
++++ heimdal-0.3c/configure	Tue Nov 28 09:56:48 2000
+@@ -1,12 +1,47 @@
+ #! /bin/sh
+-# From configure.in Revision: 1.255
++# From configure.in Revision: 1.255 .
+ # Guess values for system-dependent variables and create Makefiles.
+-# Generated by Autoconf 2.14a.
++# Generated by Autoconf 2.49b for heimdal 0.3c.
+ #
+-# Copyright (C) 1992, 93, 94, 95, 96, 98, 99, 2000
++# Report bugs to <heimdal-bugs@pdc.kth.se>.
++#
++# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+ # This configure script is free software; the Free Software Foundation
+ # gives unlimited permission to copy, distribute and modify it.
++# Be Bourne compatible
++if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
++  emulate sh
++  NULLCMD=:
++elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
++  set -o posix
++fi
++
++# Support unset when possible.
++if (unset FOO) >/dev/null 2>&1; then
++  ac_unset=unset
++else
++  ac_unset=false
++fi
++
++# NLS nuisances.
++$ac_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
++$ac_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
++$ac_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
++$ac_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
++$ac_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
++$ac_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
++$ac_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
++$ac_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
++
++# IFS
++# We need space, tab and new line, in precisely that order.
++ac_nl='
++'
++IFS=" 	$ac_nl"
++
++# CDPATH.
++$ac_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
+ 
+ #
+ # Initializations.
+@@ -445,6 +480,34 @@
+   fi
+ fi
+ srcdir=`echo "$srcdir" | sed 's%\([^/]\)/*$%\1%'`
++ac_env_build_alias_set=${build_alias+set}
++ac_env_build_alias_value=$build_alias
++ac_cv_env_build_alias_set=${build_alias+set}
++ac_cv_env_build_alias_value=$build_alias
++ac_env_host_alias_set=${host_alias+set}
++ac_env_host_alias_value=$host_alias
++ac_cv_env_host_alias_set=${host_alias+set}
++ac_cv_env_host_alias_value=$host_alias
++ac_env_target_alias_set=${target_alias+set}
++ac_env_target_alias_value=$target_alias
++ac_cv_env_target_alias_set=${target_alias+set}
++ac_cv_env_target_alias_value=$target_alias
++ac_env_CC_set=${CC+set}
++ac_env_CC_value=$CC
++ac_cv_env_CC_set=${CC+set}
++ac_cv_env_CC_value=$CC
++ac_env_CFLAGS_set=${CFLAGS+set}
++ac_env_CFLAGS_value=$CFLAGS
++ac_cv_env_CFLAGS_set=${CFLAGS+set}
++ac_cv_env_CFLAGS_value=$CFLAGS
++ac_env_LDFLAGS_set=${LDFLAGS+set}
++ac_env_LDFLAGS_value=$LDFLAGS
++ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
++ac_cv_env_LDFLAGS_value=$LDFLAGS
++ac_env_CPPFLAGS_set=${CPPFLAGS+set}
++ac_env_CPPFLAGS_value=$CPPFLAGS
++ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
++ac_cv_env_CPPFLAGS_value=$CPPFLAGS
+ 
+ #
+ # Report the --help message.
+@@ -458,7 +521,7 @@
+ Usage: $0 [OPTION]... [VAR=VALUE]...
+ 
+ To assign environment variables (e.g., CC, CFLAGS...), specify them as
+-VAR=VALUE.  See below for descriptions of useful variables.
++VAR=VALUE.  See below for descriptions of some of the useful variables.
+ 
+ Defaults for the options are specified in brackets.
+ 
+@@ -550,7 +613,6 @@
+   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
+   --with-mips-abi=abi     ABI to use for IRIX (32, n32, or 64)
+   --with-gnu-ld           assume the C compiler uses GNU ld default=no
+-  --with-pic              try to use only PIC/non-PIC objects default=use both
+   --without-berkeley-db   if you don't want berkeley db
+   --without-ipv6	do not enable IPv6 support
+   --with-openldap=dir                use openldap in dir
+@@ -562,21 +624,29 @@
+   --with-readline=dir                use readline in dir
+   --with-readline-lib=dir            use readline libraries in dir
+   --with-readline-include=dir        use readline headers in dir
++  --with-com_err=dir                use com_err in dir
++  --with-com_err-lib=dir            use com_err libraries in dir
++  --with-com_err-include=dir        use com_err headers in dir
++  --with-ss=dir                use ss in dir
++  --with-ss-lib=dir            use ss libraries in dir
++  --with-ss-include=dir        use ss headers in dir
+   --with-hesiod=dir                use hesiod in dir
+   --with-hesiod-lib=dir            use hesiod libraries in dir
+   --with-hesiod-include=dir        use hesiod headers in dir
+   --with-x                use the X Window System
+-  --without-ipv6	do not enable IPv6 support
+ 
+-Some relevant environment variables, which you can use to override the
+-choices made by the configure script or to help it to find libraries and
+-programs with nonstandard names/locations:
++Some influential environment variables:
+   CC          C compiler command
+   CFLAGS      C compiler flags
+   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
+               nonstandard directory <lib dir>
+   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
+               headers in a nonstandard directory <include dir>
++
++Use these variables to override the choices made by `configure' or to help
++it to find libraries and programs with nonstandard names/locations.
++
++Report bugs to <heimdal-bugs@pdc.kth.se>.
+ EOF
+ fi
+ 
+@@ -599,7 +669,10 @@
+     esac
+ 
+     # Check for guested configure; otherwise get Cygnus style configure.
+-    if test -f $ac_sub_srcdir/configure; then
++    if test -f $ac_sub_srcdir/configure.gnu; then
++      echo
++      $SHELL $ac_sub_srcdir/configure.gnu  --help=recursive
++    elif test -f $ac_sub_srcdir/configure; then
+       echo
+       $SHELL $ac_sub_srcdir/configure  --help=recursive
+     elif test -f $ac_sub_srcdir/configure.in; then
+@@ -615,45 +688,15 @@
+ test -n "$ac_init_help" && exit 0
+ if $ac_init_version; then
+   cat <<\EOF
+-configure (heimdal 0.3c) 2.14a
++configure (heimdal 0.3c) 2.49b
+ 
+-Copyright (C) 1992, 93, 94, 95, 96, 98, 99, 2000
++Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000
+ Free Software Foundation, Inc.
+ This configure script is free software; the Free Software Foundation
+ gives unlimited permission to copy, distribute and modify it.
+ EOF
+   exit 0
+ fi
+-# Be Bourne compatible
+-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
+-  emulate sh
+-  NULLCMD=:
+-elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
+-  set -o posix
+-fi
+-
+-# Support unset when possible.
+-if (unset FOO) >/dev/null 2>&1; then
+-  ac_unset=unset
+-else
+-  ac_unset=false
+-fi
+-
+-# NLS nuisances.
+-$ac_unset LANG || test "${LANG+set}" != set || LANG=C && export LANG
+-$ac_unset LC_ALL || test "${LC_ALL+set}" != set || LC_ALL=C && export LC_ALL
+-$ac_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || LC_CTYPE=C && export LC_CTYPE
+-$ac_unset LANGUAGE || test "${LANGUAGE+set}" != set || LANGUAGE=C && export LANGUAGE
+-$ac_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || LC_MESSAGES=C && export LC_MESSAGES
+-
+-# IFS
+-# We need space, tab and new line, in precisely that order.
+-ac_nl='
+-'
+-IFS=" 	$ac_nl"
+-
+-# CDPATH.
+-$ac_unset CDPATH || test "${CDPATH+set}" != set || CDPATH=: && export CDPATH
+ 
+ trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
+ 
+@@ -698,7 +741,7 @@
+ This file contains any messages produced by compilers while
+ running configure, to aid debugging if configure makes a mistake.
+ 
+-It was created by configure (heimdal 0.3c) 2.14a, executed with
++It was created by configure (heimdal 0.3c) 2.49b, executed with
+  > $0 $ac_configure_args
+ " >&5
+ 
+@@ -707,6 +750,7 @@
+ # AIX cpp loses on an empty file, so make sure it contains at least a newline.
+ echo >confdefs.h
+ 
++# Let the site file select an alternate cache file if it wants to.
+ # Prefer explicitly selected file to automatically selected ones.
+ if test -z "$CONFIG_SITE"; then
+   if test "x$prefix" != xNONE; then
+@@ -737,12 +781,42 @@
+   >$cache_file
+ fi
+ 
++# Check that the precious variables saved in the cache have kept the same
++# value.
++ac_suggest_removing_cache=false
++for ac_var in `(set) 2>&1 |
++               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
++  eval ac_old_set=\$ac_cv_env_${ac_var}_set
++  eval ac_new_set=\$ac_env_${ac_var}_set
++  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
++  eval ac_new_val="\$ac_env_${ac_var}_value"
++  case $ac_old_set,$ac_new_set in
++    set,)
++      echo "configure: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2
++      ac_suggest_removing_cache=: ;;
++    ,set)
++      echo "configure: WARNING: \`$ac_var' was not set in the previous run" >&2
++      ac_suggest_removing_cache=: ;;
++    ,);;
++    *)
++      if test "x$ac_old_val" != "x$ac_new_val"; then
++        echo "configure: WARNING: \`$ac_var' has changed since the previous run:" >&2
++        echo "configure: WARNING:   former value:  $ac_old_val" >&2
++        echo "configure: WARNING:   current value: $ac_new_val" >&2
++        ac_suggest_removing_cache=:
++      fi;;
++  esac
++done
++if $ac_suggest_removing_cache; then
++  echo "configure: WARNING: changes in the environment can compromise the build" >&2
++  echo "configure: WARNING: consider removing $cache_file and starting over" >&2
++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 >&5'
+-ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+-ac_gnu_compiler=$ac_cv_prog_gcc
++ac_link='${CC-cc} -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
+ 
+ case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
+   *c*,-n*) ECHO_N= ECHO_C='
+@@ -753,27 +827,18 @@
+ 
+ ac_config_headers="$ac_config_headers include/config.h"
+ 
+-ac_config_commands="$ac_config_commands default-1"
++  ac_config_commands="$ac_config_commands default-1"
+ 
+ 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 >&5'
+-ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+-ac_gnu_compiler=$ac_cv_prog_gcc
+-
+-case "${CC+set} $ac_configure_args" in
+- *" CC="* );;
+- "set "*) ac_configure_args="CC='$CC' $ac_configure_args";;
+-esac
+-case "${CFLAGS+set} $ac_configure_args" in
+- *" CFLAGS="* );;
+- "set "*) ac_configure_args="CFLAGS='$CFLAGS' $ac_configure_args";;
+-esac
++ac_link='${CC-cc} -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
+ 
++if test -n "$ac_tool_prefix"; then
+   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
+ set dummy ${ac_tool_prefix}gcc; ac_word=$2
+-echo "configure:678: checking for $ac_word" >&5
++echo "configure:841: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_CC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -786,7 +851,7 @@
+ for ac_dir in $ac_dummy; do
+   IFS=$ac_save_IFS
+   test -z "$ac_dir" && ac_dir=.
+-  test -f $ac_dir/$ac_word || continue
++  test -f "$ac_dir/$ac_word" || continue
+ ac_cv_prog_CC="${ac_tool_prefix}gcc"
+ break
+ done
+@@ -795,18 +860,19 @@
+ fi
+ CC=$ac_cv_prog_CC
+ if test -n "$CC"; then
+-  echo "configure:699: result: $CC" >&5
++  echo "configure:863: result: $CC" >&5
+ echo "${ECHO_T}$CC" >&6
+ else
+-  echo "configure:702: result: no" >&5
++  echo "configure:866: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
++fi
+ if test -z "$ac_cv_prog_CC"; then
+-  if test -n "$ac_tool_prefix"; then
+-    # Extract the first word of "gcc", so it can be a program name with args.
++  ac_ct_CC=$CC
++  # Extract the first word of "gcc", so it can be a program name with args.
+ set dummy gcc; ac_word=$2
+-echo "configure:709: checking for $ac_word" >&5
++echo "configure:875: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -819,7 +885,7 @@
+ for ac_dir in $ac_dummy; do
+   IFS=$ac_save_IFS
+   test -z "$ac_dir" && ac_dir=.
+-  test -f $ac_dir/$ac_word || continue
++  test -f "$ac_dir/$ac_word" || continue
+ ac_cv_prog_ac_ct_CC="gcc"
+ break
+ done
+@@ -828,23 +894,91 @@
+ fi
+ ac_ct_CC=$ac_cv_prog_ac_ct_CC
+ if test -n "$ac_ct_CC"; then
+-  echo "configure:730: result: $ac_ct_CC" >&5
++  echo "configure:897: result: $ac_ct_CC" >&5
+ echo "${ECHO_T}$ac_ct_CC" >&6
+ else
+-  echo "configure:733: result: no" >&5
++  echo "configure:900: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+-    CC="$ac_ct_CC"
+-  else
+-    CC=""
+-  fi
++  CC=$ac_ct_CC
+ fi
+ 
+-  if test -z "$CC"; then
+-    # Extract the first word of "cc", so it can be a program name with args.
++if test -z "$CC"; then
++  if test -n "$ac_tool_prefix"; then
++  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
++set dummy ${ac_tool_prefix}cc; ac_word=$2
++echo "configure:911: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_CC+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$CC"; then
++  ac_cv_prog_CC="$CC" # Let the user override the test.
++else
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
++  IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_CC="${ac_tool_prefix}cc"
++break
++done
++
++fi
++fi
++CC=$ac_cv_prog_CC
++if test -n "$CC"; then
++  echo "configure:933: result: $CC" >&5
++echo "${ECHO_T}$CC" >&6
++else
++  echo "configure:936: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++fi
++if test -z "$ac_cv_prog_CC"; then
++  ac_ct_CC=$CC
++  # Extract the first word of "cc", so it can be a program name with args.
++set dummy cc; ac_word=$2
++echo "configure:945: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$ac_ct_CC"; then
++  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
++else
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
++  IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_ac_ct_CC="cc"
++break
++done
++
++fi
++fi
++ac_ct_CC=$ac_cv_prog_ac_ct_CC
++if test -n "$ac_ct_CC"; then
++  echo "configure:967: result: $ac_ct_CC" >&5
++echo "${ECHO_T}$ac_ct_CC" >&6
++else
++  echo "configure:970: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  CC=$ac_ct_CC
++fi
++
++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 "configure:744: checking for $ac_word" >&5
++echo "configure:981: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_CC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -858,7 +992,7 @@
+ for ac_dir in $ac_dummy; do
+   IFS=$ac_save_IFS
+   test -z "$ac_dir" && ac_dir=.
+-  test -f $ac_dir/$ac_word || continue
++  test -f "$ac_dir/$ac_word" || continue
+ if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
+   ac_prog_rejected=yes
+   continue
+@@ -885,19 +1019,21 @@
+ fi
+ CC=$ac_cv_prog_CC
+ if test -n "$CC"; then
+-  echo "configure:784: result: $CC" >&5
++  echo "configure:1022: result: $CC" >&5
+ echo "${ECHO_T}$CC" >&6
+ else
+-  echo "configure:787: result: no" >&5
++  echo "configure:1025: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+-    if test -z "$CC"; then
+-      for ac_prog in cl
+-do
+-# Extract the first word of "$ac_prog", so it can be a program name with args.
+-set dummy $ac_prog; ac_word=$2
+-echo "configure:795: checking for $ac_word" >&5
++fi
++if test -z "$CC"; then
++  if test -n "$ac_tool_prefix"; then
++  for ac_prog in cl
++  do
++    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
++set dummy $ac_tool_prefix$ac_prog; ac_word=$2
++echo "configure:1036: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_CC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -910,8 +1046,8 @@
+ for ac_dir in $ac_dummy; do
+   IFS=$ac_save_IFS
+   test -z "$ac_dir" && ac_dir=.
+-  test -f $ac_dir/$ac_word || continue
+-ac_cv_prog_CC="$ac_prog"
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
+ break
+ done
+ 
+@@ -919,25 +1055,65 @@
+ fi
+ CC=$ac_cv_prog_CC
+ if test -n "$CC"; then
+-  echo "configure:816: result: $CC" >&5
++  echo "configure:1058: result: $CC" >&5
+ echo "${ECHO_T}$CC" >&6
+ else
+-  echo "configure:819: result: no" >&5
++  echo "configure:1061: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++    test -n "$CC" && break
++  done
++fi
++if test -z "$CC"; then
++  ac_ct_CC=$CC
++  for ac_prog in cl
++do
++  # Extract the first word of "$ac_prog", so it can be a program name with args.
++set dummy $ac_prog; ac_word=$2
++echo "configure:1074: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$ac_ct_CC"; then
++  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
++else
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
++  IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_ac_ct_CC="$ac_prog"
++break
++done
++
++fi
++fi
++ac_ct_CC=$ac_cv_prog_ac_ct_CC
++if test -n "$ac_ct_CC"; then
++  echo "configure:1096: result: $ac_ct_CC" >&5
++echo "${ECHO_T}$ac_ct_CC" >&6
++else
++  echo "configure:1099: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+-test -n "$CC" && break
++  test -n "$ac_ct_CC" && break
+ done
+ 
+-    fi
+-  fi
++  CC=$ac_ct_CC
++fi
++
++fi
+ 
+ test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" >&2; exit 1; }
+ 
+-echo "configure:827: checking whether the C compiler works" >&5
++echo "configure:1113: checking whether the C compiler works" >&5
+ echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
+-cat >conftest.$ac_ext <<EOF
+-#line 830 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 1116 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -947,12 +1123,13 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:839: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:1128: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   # FIXME: these cross compiler hacks should be removed for autoconf 3.0
+ # If not cross compiling, check that we can run a simple program.
+ if test "$cross_compiling" != yes; then
+-  if { ac_try='./conftest'; { (eval echo configure:843: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; }; then
++  if { ac_try='./conftest$ac_exeext'; { (eval echo configure:1132: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; }; then
+     cross_compiling=no
+   else
+     if test "$cross_compiling" = maybe; then
+@@ -963,179 +1140,101 @@
+     fi
+   fi
+ fi
+-echo "configure:854: result: yes" >&5
++echo "configure:1143: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+-  echo "configure:859: result: no" >&5
++  echo "configure:1148: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ { echo "configure: error: C compiler cannot create executables" >&2; exit 77; }
+ fi
+-rm -f conftest*echo "configure:863: checking whether we are cross compiling" >&5
++rm -f conftest$ac_exeext conftest.$ac_ext
++echo "configure:1153: checking whether we are cross compiling" >&5
+ echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
+-echo "configure:865: result: $cross_compiling" >&5
++echo "configure:1155: result: $cross_compiling" >&5
+ echo "${ECHO_T}$cross_compiling" >&6
+ 
+-echo "configure:867: checking whether we are using GNU C" >&5
+-echo $ECHO_N "checking whether we are using GNU C... $ECHO_C" >&6
+-if test "${ac_cv_prog_gcc+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  # The semicolon is to pacify NeXT's syntax-checking cpp.
+-cat >conftest.c <<EOF
+-#ifdef __GNUC__
+-  yes;
+-#endif
+-EOF
+-if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:878: \"$ac_try\") >&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 "configure:884: result: $ac_cv_prog_gcc" >&5
+-echo "${ECHO_T}$ac_cv_prog_gcc" >&6
+-ac_gnu_compiler=$ac_cv_prog_gcc
+-if test $ac_gnu_compiler = yes; then
+-  GCC=yes
+-else
+-  GCC=
+-fi
+-ac_test_CFLAGS=${CFLAGS+set}
+-ac_save_CFLAGS=$CFLAGS
+-CFLAGS=
+-echo "configure:895: checking whether ${CC-cc} accepts -g" >&5
+-echo $ECHO_N "checking whether ${CC-cc} accepts -g... $ECHO_C" >&6
+-if test "${ac_cv_prog_cc_g+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&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 "configure:908: result: $ac_cv_prog_cc_g" >&5
+-echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
+-if test "$ac_test_CFLAGS" = set; then
+-  CFLAGS=$ac_save_CFLAGS
+-elif test $ac_cv_prog_cc_g = yes; then
+-  if test "$GCC" = yes; then
+-    CFLAGS="-g -O2"
+-  else
+-    CFLAGS="-g"
+-  fi
+-else
+-  if test "$GCC" = yes; then
+-    CFLAGS="-O2"
+-  else
+-    CFLAGS=
+-  fi
+-fi
+-echo "configure:925: checking for Cygwin environment" >&5
+-echo $ECHO_N "checking for Cygwin environment... $ECHO_C" >&6
+-if test "${ac_cv_cygwin+set}" = set; then
++echo "configure:1158: checking whether we are using the GNU C compiler" >&5
++echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
++if test "${ac_cv_c_compiler_gnu+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 931 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 1164 "configure"
+ #include "confdefs.h"
+-
+-int
+-main ()
+-{
+-#ifndef __CYGWIN__
+-# define __CYGWIN__ __CYGWIN32__
++#ifndef __GNUC__
++  choke me
+ #endif
+-return __CYGWIN__;
+-  ;
+-  return 0;
+-}
+-EOF
+-if { (eval echo configure:944: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
+-  ac_cv_cygwin=yes
+-else
+-  echo "configure: failed program was:" >&5
+-  cat conftest.$ac_ext >&5
+-  ac_cv_cygwin=no
+-fi
+-rm -f conftest*
+-fi
+-echo "configure:953: result: $ac_cv_cygwin" >&5
+-echo "${ECHO_T}$ac_cv_cygwin" >&6
+-test "$ac_cv_cygwin" = yes && CYGWIN=yes
+-echo "configure:956: checking for mingw32 environment" >&5
+-echo $ECHO_N "checking for mingw32 environment... $ECHO_C" >&6
+-if test "${ac_cv_mingw32+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  cat >conftest.$ac_ext <<EOF
+-#line 962 "configure"
+-#include "confdefs.h"
+ 
+ int
+ main ()
+ {
+-return __MINGW32__;
++
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:972: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
+-  ac_cv_mingw32=yes
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:1179: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++  ac_compiler_gnu=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+-  ac_cv_mingw32=no
++  ac_compiler_gnu=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
++ac_cv_c_compiler_gnu=$ac_compiler_gnu
++
+ fi
+-echo "configure:981: result: $ac_cv_mingw32" >&5
+-echo "${ECHO_T}$ac_cv_mingw32" >&6
+-test "$ac_cv_mingw32" = yes && MINGW32=yes
+-echo "configure:984: checking for EMX OS/2 environment" >&5
+-echo $ECHO_N "checking for EMX OS/2 environment... $ECHO_C" >&6
+-if test "${ac_cv_emxos2+set}" = set; then
++echo "configure:1190: result: $ac_cv_c_compiler_gnu" >&5
++echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
++GCC=`test $ac_compiler_gnu = yes && echo yes`
++echo "configure:1193: checking for object suffix" >&5
++echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
++if test "${ac_cv_objext+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 990 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 1199 "configure"
+ #include "confdefs.h"
+ 
+ int
+ main ()
+ {
+-return __EMX__;
++
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:1000: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
+-  ac_cv_emxos2=yes
++_ACEOF
++if { (eval echo configure:1210: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++  for ac_file in conftest.*; do
++  case $ac_file in
++    *.$ac_ext) ;;
++    *) ac_cv_objext=`echo $ac_file | sed s/conftest.//` ;;
++  esac
++  done
+ else
+-  echo "configure: failed program was:" >&5
+-  cat conftest.$ac_ext >&5
+-  ac_cv_emxos2=no
++  rm -f conftest.$ac_ext
++  { echo "configure: error: cannot compile" >&2; exit 1; }
+ fi
+-rm -f conftest*
+ fi
+-echo "configure:1009: result: $ac_cv_emxos2" >&5
+-echo "${ECHO_T}$ac_cv_emxos2" >&6
+-test "$ac_cv_emxos2" = yes && EMXOS2=yes
+-echo "configure:1012: checking for executable suffix" >&5
++echo "configure:1222: result: $ac_cv_objext" >&5
++echo "${ECHO_T}$ac_cv_objext" >&6
++OBJEXT=$ac_cv_objext
++ac_objext=$ac_cv_objext
++rm -f conftest.$ac_objext conftest.$ac_ext
++
++echo "configure:1228: checking for executable suffix" >&5
+ echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
+ if test "${ac_cv_exeext+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  if test "$CYGWIN" = yes || test "$MINGW32" = yes || test "$EMXOS2" = yes; then
+-  ac_cv_exeext=.exe
+-else
+-  cat >conftest.$ac_ext <<EOF
+-#line 1021 "configure"
++  case "$CYGWIN $MINGW32 $EMXOS2" in
++  *yes*) ac_cv_exeext=.exe ;;
++  *)
++  cat >conftest.$ac_ext <<_ACEOF
++#line 1237 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -1145,36 +1244,42 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:1030: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+-  for ac_file in conftest.*; do
+-     case $ac_file in
+-       *.$ac_ext | *.o | *.obj | *.xcoff) ;;
+-       *) ac_cv_exeext=`echo $ac_file | sed s/conftest//` ;;
+-     esac
+-   done
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:1249: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  if test ! -f conftest; then
++    for ac_file in conftest.*; do
++       case $ac_file in
++         *.$ac_ext | *.o | *.obj | *.xcoff) ;;
++         *) ac_cv_exeext=`expr "$ac_file" : 'conftest\(.*\)'`;;
++       esac
++     done
++   fi
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   { echo "configure: error: cannot compile and link" >&2; exit 1; }
+ fi
+-rm -f conftest*
+-  test -n "$ac_cv_exeext" && ac_cv_exeext=no
+-fi
++rm -f conftest$ac_exeext conftest.$ac_ext
++  test -n "$ac_cv_exeext" && ac_cv_exeext=no;;
++esac
+ fi
+-echo "configure:1046: result: $ac_cv_exeext" >&5
++echo "configure:1267: result: $ac_cv_exeext" >&5
+ echo "${ECHO_T}$ac_cv_exeext" >&6
+ EXEEXT=
+ test "$ac_cv_exeext" != no && EXEEXT=$ac_cv_exeext
+ ac_exeext=$EXEEXT
+ 
+-echo "configure:1051: checking for object suffix" >&5
+-echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
+-if test "${ac_cv_objext+set}" = set; then
++ac_test_CFLAGS=${CFLAGS+set}
++ac_save_CFLAGS=$CFLAGS
++CFLAGS="-g"
++echo "configure:1276: checking whether ${CC-cc} accepts -g" >&5
++echo $ECHO_N "checking whether ${CC-cc} accepts -g... $ECHO_C" >&6
++if test "${ac_cv_prog_cc_g+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 1057 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 1282 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -1184,114 +1289,606 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:1066: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
+-  for ac_file in conftest.*; do
+-    case $ac_file in
+-      *.$ac_ext) ;;
+-      *) ac_cv_objext=`echo $ac_file | sed s/conftest.//` ;;
+-    esac
+-  done
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:1294: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++  ac_cv_prog_cc_g=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+-  { echo "configure: error: cannot compile" >&2; exit 1; }
++  ac_cv_prog_cc_g=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "configure:1303: result: $ac_cv_prog_cc_g" >&5
++echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
++if test "$ac_test_CFLAGS" = set; then
++  CFLAGS=$ac_save_CFLAGS
++elif test $ac_cv_prog_cc_g = yes; then
++  if test "$GCC" = yes; then
++    CFLAGS="-g -O2"
++  else
++    CFLAGS="-g"
++  fi
++else
++  if test "$GCC" = yes; then
++    CFLAGS="-O2"
++  else
++    CFLAGS=
++  fi
+ fi
+-echo "configure:1080: result: $ac_cv_objext" >&5
+-echo "${ECHO_T}$ac_cv_objext" >&6
+-OBJEXT=$ac_cv_objext
+-ac_objext=$ac_cv_objext
+-
+ 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 >&5'
+-ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+-ac_gnu_compiler=$ac_cv_prog_gcc
++ac_link='${CC-cc} -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
+ 
+-echo "configure:1090: checking how to run the C preprocessor" >&5
++echo "configure:1326: checking how to run the C preprocessor" >&5
+ echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='${CC-cc} -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
+ # On Suns, sometimes $CPP names a directory.
+ if test -n "$CPP" && test -d "$CPP"; then
+   CPP=
+ fi
+ if test -z "$CPP"; then
+-if test "${ac_cv_prog_CPP+set}" = set; then
++  if test "${ac_cv_prog_CPP+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&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.
+-  # Use a header file that comes with gcc, so configuring glibc
+-  # with a fresh cross-compiler works.
+-  cat >conftest.$ac_ext <<EOF
+-#line 1108 "configure"
++      # Double quotes because CPP needs to be expanded
++    for CPP in "${CC-cc} -E" "${CC-cc} -E -traditional-cpp" "/lib/cpp"
++    do
++      # Use a header file that comes with gcc, so configuring glibc
++# with a fresh cross-compiler works.
++# On the NeXT, cc -E runs the code through the compiler's parser,
++# not just through cpp. "Syntax error" is here to catch this case.
++cat >conftest.$ac_ext <<_ACEOF
++#line 1349 "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:1114: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }
+-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+-if test -z "$ac_err"; then
+-  :
++Syntax error
++_ACEOF
++ac_c_preproc_warn_flag=maybe
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:1356: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
+ else
+-  echo "$ac_err" >&5
+-  echo "configure: failed program was:" >&5
+-  cat conftest.$ac_ext >&5
+-  CPP="${CC-cc} -E -traditional-cpp"
+-  cat >conftest.$ac_ext <<EOF
+-#line 1124 "configure"
++  ac_cpp_err=yes
++fi
++
++# Now check whether non-existent headers can be detected and how
++# Skip if ac_cpp_err is not empty - ac_cpp is broken
++if test -z "$ac_cpp_err"; then
++  cat >conftest.$ac_ext <<_ACEOF
++#line 1370 "configure"
++#include "confdefs.h"
++#include <ac_nonexistent.h>
++_ACEOF
++  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:1375: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++
++  if test -z "$ac_cpp_err"; then
++    # cannot detect missing includes at all
++    ac_cpp_err=yes
++  else
++    if test "x$ac_cpp_err" = xmaybe; then
++      ac_c_preproc_warn_flag=yes
++    else
++      ac_c_preproc_warn_flag=
++    fi
++    ac_cpp_err=
++  fi
++fi
++rm -f conftest*
++
++      if test -z "$ac_cpp_err"; then
++        break
++      fi
++    done
++    ac_cv_prog_CPP=$CPP
++
++fi
++  CPP=$ac_cv_prog_CPP
++else
++  # Use a header file that comes with gcc, so configuring glibc
++# with a fresh cross-compiler works.
++# On the NeXT, cc -E runs the code through the compiler's parser,
++# not just through cpp. "Syntax error" is here to catch this case.
++cat >conftest.$ac_ext <<_ACEOF
++#line 1413 "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:1130: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }
+-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+-if test -z "$ac_err"; then
+-  :
++Syntax error
++_ACEOF
++ac_c_preproc_warn_flag=maybe
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:1420: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++
++# Now check whether non-existent headers can be detected and how
++# Skip if ac_cpp_err is not empty - ac_cpp is broken
++if test -z "$ac_cpp_err"; then
++  cat >conftest.$ac_ext <<_ACEOF
++#line 1434 "configure"
++#include "confdefs.h"
++#include <ac_nonexistent.h>
++_ACEOF
++  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:1439: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++
++  if test -z "$ac_cpp_err"; then
++    # cannot detect missing includes at all
++    ac_cpp_err=yes
++  else
++    if test "x$ac_cpp_err" = xmaybe; then
++      ac_c_preproc_warn_flag=yes
++    else
++      ac_c_preproc_warn_flag=
++    fi
++    ac_cpp_err=
++  fi
++fi
++rm -f conftest*
++
++  ac_cv_prog_CPP=$CPP
++fi
++echo "configure:1465: result: $CPP" >&5
++echo "${ECHO_T}$CPP" >&6
++if test -n "$ac_cpp_err"; then
++  { echo "configure: error: C preprocessor \"$CPP\" fails sanity check" >&2; exit 1; }
++fi
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='${CC-cc} -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='${CC-cc} -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++if test -n "$ac_tool_prefix"; then
++  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
++set dummy ${ac_tool_prefix}gcc; ac_word=$2
++echo "configure:1485: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_CC+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$CC"; then
++  ac_cv_prog_CC="$CC" # Let the user override the test.
++else
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
++  IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_CC="${ac_tool_prefix}gcc"
++break
++done
++
++fi
++fi
++CC=$ac_cv_prog_CC
++if test -n "$CC"; then
++  echo "configure:1507: result: $CC" >&5
++echo "${ECHO_T}$CC" >&6
++else
++  echo "configure:1510: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++fi
++if test -z "$ac_cv_prog_CC"; then
++  ac_ct_CC=$CC
++  # Extract the first word of "gcc", so it can be a program name with args.
++set dummy gcc; ac_word=$2
++echo "configure:1519: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$ac_ct_CC"; then
++  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
++else
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
++  IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_ac_ct_CC="gcc"
++break
++done
++
++fi
++fi
++ac_ct_CC=$ac_cv_prog_ac_ct_CC
++if test -n "$ac_ct_CC"; then
++  echo "configure:1541: result: $ac_ct_CC" >&5
++echo "${ECHO_T}$ac_ct_CC" >&6
++else
++  echo "configure:1544: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  CC=$ac_ct_CC
++fi
++
++if test -z "$CC"; then
++  if test -n "$ac_tool_prefix"; then
++  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
++set dummy ${ac_tool_prefix}cc; ac_word=$2
++echo "configure:1555: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_CC+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$CC"; then
++  ac_cv_prog_CC="$CC" # Let the user override the test.
++else
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
++  IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_CC="${ac_tool_prefix}cc"
++break
++done
++
++fi
++fi
++CC=$ac_cv_prog_CC
++if test -n "$CC"; then
++  echo "configure:1577: result: $CC" >&5
++echo "${ECHO_T}$CC" >&6
++else
++  echo "configure:1580: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++fi
++if test -z "$ac_cv_prog_CC"; then
++  ac_ct_CC=$CC
++  # Extract the first word of "cc", so it can be a program name with args.
++set dummy cc; ac_word=$2
++echo "configure:1589: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$ac_ct_CC"; then
++  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
++else
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
++  IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_ac_ct_CC="cc"
++break
++done
++
++fi
++fi
++ac_ct_CC=$ac_cv_prog_ac_ct_CC
++if test -n "$ac_ct_CC"; then
++  echo "configure:1611: result: $ac_ct_CC" >&5
++echo "${ECHO_T}$ac_ct_CC" >&6
++else
++  echo "configure:1614: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  CC=$ac_ct_CC
++fi
++
++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 "configure:1625: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_CC+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$CC"; then
++  ac_cv_prog_CC="$CC" # Let the user override the test.
++else
++  ac_prog_rejected=no
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
++  IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
++  ac_prog_rejected=yes
++  continue
++fi
++ac_cv_prog_CC="cc"
++break
++done
++
++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 $# != 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" ${1+"$@"}
++    shift
++    ac_cv_prog_CC="$@"
++  fi
++fi
++fi
++fi
++CC=$ac_cv_prog_CC
++if test -n "$CC"; then
++  echo "configure:1666: result: $CC" >&5
++echo "${ECHO_T}$CC" >&6
++else
++  echo "configure:1669: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++fi
++if test -z "$CC"; then
++  if test -n "$ac_tool_prefix"; then
++  for ac_prog in cl
++  do
++    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
++set dummy $ac_tool_prefix$ac_prog; ac_word=$2
++echo "configure:1680: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_CC+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$CC"; then
++  ac_cv_prog_CC="$CC" # Let the user override the test.
++else
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
++  IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
++break
++done
++
++fi
++fi
++CC=$ac_cv_prog_CC
++if test -n "$CC"; then
++  echo "configure:1702: result: $CC" >&5
++echo "${ECHO_T}$CC" >&6
++else
++  echo "configure:1705: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++    test -n "$CC" && break
++  done
++fi
++if test -z "$CC"; then
++  ac_ct_CC=$CC
++  for ac_prog in cl
++do
++  # Extract the first word of "$ac_prog", so it can be a program name with args.
++set dummy $ac_prog; ac_word=$2
++echo "configure:1718: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$ac_ct_CC"; then
++  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
++else
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
++  IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_ac_ct_CC="$ac_prog"
++break
++done
++
++fi
++fi
++ac_ct_CC=$ac_cv_prog_ac_ct_CC
++if test -n "$ac_ct_CC"; then
++  echo "configure:1740: result: $ac_ct_CC" >&5
++echo "${ECHO_T}$ac_ct_CC" >&6
++else
++  echo "configure:1743: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  test -n "$ac_ct_CC" && break
++done
++
++  CC=$ac_ct_CC
++fi
++
++fi
++
++test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" >&2; exit 1; }
++
++echo "configure:1757: checking whether the C compiler works" >&5
++echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line 1760 "configure"
++#include "confdefs.h"
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:1772: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  # FIXME: these cross compiler hacks should be removed for autoconf 3.0
++# If not cross compiling, check that we can run a simple program.
++if test "$cross_compiling" != yes; then
++  if { ac_try='./conftest$ac_exeext'; { (eval echo configure:1776: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; }; then
++    cross_compiling=no
++  else
++    if test "$cross_compiling" = maybe; then
++      cross_compiling=yes
++    else
++      { echo "configure: error: cannot run C compiled programs.
++To enable cross compilation, use \`--host'." >&2; exit 1; }
++    fi
++  fi
++fi
++echo "configure:1787: result: yes" >&5
++echo "${ECHO_T}yes" >&6
+ else
+-  echo "$ac_err" >&5
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+-  CPP="${CC-cc} -nologo -E"
+-  cat >conftest.$ac_ext <<EOF
+-#line 1140 "configure"
++  echo "configure:1792: result: no" >&5
++echo "${ECHO_T}no" >&6
++{ echo "configure: error: C compiler cannot create executables" >&2; exit 77; }
++fi
++rm -f conftest$ac_exeext conftest.$ac_ext
++echo "configure:1797: checking whether we are cross compiling" >&5
++echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
++echo "configure:1799: result: $cross_compiling" >&5
++echo "${ECHO_T}$cross_compiling" >&6
++
++echo "configure:1802: checking whether we are using the GNU C compiler" >&5
++echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
++if test "${ac_cv_c_compiler_gnu+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line 1808 "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:1146: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }
+-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+-if test -z "$ac_err"; then
+-  :
++#ifndef __GNUC__
++  choke me
++#endif
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:1823: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++  ac_compiler_gnu=yes
+ else
+-  echo "$ac_err" >&5
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+-  CPP=/lib/cpp
++  ac_compiler_gnu=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
++ac_cv_c_compiler_gnu=$ac_compiler_gnu
++
+ fi
+-rm -f conftest*
++echo "configure:1834: result: $ac_cv_c_compiler_gnu" >&5
++echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
++GCC=`test $ac_compiler_gnu = yes && echo yes`
++
++ac_test_CFLAGS=${CFLAGS+set}
++ac_save_CFLAGS=$CFLAGS
++CFLAGS="-g"
++echo "configure:1841: checking whether ${CC-cc} accepts -g" >&5
++echo $ECHO_N "checking whether ${CC-cc} accepts -g... $ECHO_C" >&6
++if test "${ac_cv_prog_cc_g+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line 1847 "configure"
++#include "confdefs.h"
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:1859: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++  ac_cv_prog_cc_g=yes
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_prog_cc_g=no
+ fi
+-rm -f conftest*
+-  ac_cv_prog_CPP=$CPP
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-  CPP=$ac_cv_prog_CPP
++echo "configure:1868: result: $ac_cv_prog_cc_g" >&5
++echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
++if test "$ac_test_CFLAGS" = set; then
++  CFLAGS=$ac_save_CFLAGS
++elif test $ac_cv_prog_cc_g = yes; then
++  if test "$GCC" = yes; then
++    CFLAGS="-g -O2"
++  else
++    CFLAGS="-g"
++  fi
+ else
+-  ac_cv_prog_CPP=$CPP
++  if test "$GCC" = yes; then
++    CFLAGS="-O2"
++  else
++    CFLAGS=
++  fi
+ fi
+-echo "configure:1167: result: $CPP" >&5
+-echo "${ECHO_T}$CPP" >&6
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='${CC-cc} -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
+ 
+-echo "configure:1169: checking for ${CC-cc} option to accept ANSI C" >&5
++echo "configure:1891: checking for ${CC-cc} option to accept ANSI C" >&5
+ echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
+ if test "${ac_cv_prog_cc_stdc+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -1308,8 +1905,8 @@
+ for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
+ do
+   CC="$ac_save_CC $ac_arg"
+-  cat >conftest.$ac_ext <<EOF
+-#line 1187 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 1909 "configure"
+ #include "confdefs.h"
+ #include <stdarg.h>
+ #include <stdio.h>
+@@ -1346,14 +1943,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:1225: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:1948: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_prog_cc_stdc=$ac_arg; break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ done
+ CC=$ac_save_CC
+ 
+@@ -1361,10 +1959,10 @@
+ 
+ case "x$ac_cv_prog_cc_stdc" in
+   x|xno)
+-    echo "configure:1237: result: none needed" >&5
++    echo "configure:1962: result: none needed" >&5
+ echo "${ECHO_T}none needed" >&6 ;;
+   *)
+-    echo "configure:1240: result: $ac_cv_prog_cc_stdc" >&5
++    echo "configure:1965: result: $ac_cv_prog_cc_stdc" >&5
+ echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
+     CC="$CC $ac_cv_prog_cc_stdc" ;;
+ esac
+@@ -1399,11 +1997,12 @@
+ # SunOS /usr/etc/install
+ # IRIX /sbin/install
+ # AIX /bin/install
++# AmigaOS /C/install, which installs bootblocks on floppy discs
+ # 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 "configure:1277: checking for a BSD compatible install" >&5
++echo "configure:2005: checking for a BSD compatible install" >&5
+ echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
+ if test -z "$INSTALL"; then
+ if test "${ac_cv_path_install+set}" = set; then
+@@ -1413,19 +2012,21 @@
+   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/*) ;;
++    / | ./ | .// | /cC/* \
++    | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
++    | /usr/ucb/* ) ;;
+     *)
+       # OSF1 and SCO ODT 3.0 have their own names for install.
+       # Don't use installbsd from OSF since it installs stuff as root
+       # by default.
+       for ac_prog in ginstall scoinst install; do
+-        if test -f $ac_dir/$ac_prog; then
++        if test -f "$ac_dir/$ac_prog"; then
+ 	  if test $ac_prog = install &&
+-            grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
++            grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
+ 	    # AIX install.  It has an incompatible calling convention.
+ 	    :
+ 	  elif test $ac_prog = install &&
+-	    grep pwplus $ac_dir/$ac_prog >/dev/null 2>&1; then
++	    grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
+ 	    # program-specific install script used by HP pwplus--don't use.
+ 	    :
+ 	  else
+@@ -1450,7 +2051,7 @@
+     INSTALL=$ac_install_sh
+   fi
+ fi
+-echo "configure:1323: result: $INSTALL" >&5
++echo "configure:2054: result: $INSTALL" >&5
+ echo "${ECHO_T}$INSTALL" >&6
+ 
+ # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
+@@ -1461,7 +2062,7 @@
+ 
+ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
+ 
+-echo "configure:1330: checking whether build environment is sane" >&5
++echo "configure:2065: checking whether build environment is sane" >&5
+ echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
+ # Just in case
+ sleep 1
+@@ -1498,7 +2099,7 @@
+ Check your system clock" >&2; exit 1; }
+ fi
+ rm -f conftest*
+-echo "configure:1365: result: yes" >&5
++echo "configure:2102: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ if test "$program_transform_name" = s,x,x,; then
+   program_transform_name=
+@@ -1520,7 +2121,8 @@
+ test -z "$program_transform_name" && program_transform_name="s,x,x,"
+ 
+ test x"${MISSING+set}" = xset || \
+-  MISSING="\${SHELL} `CDPATH=: && cd $ac_aux_dir && pwd`/missing"
++  MISSING="\${SHELL} `CDPATH=:; cd $ac_aux_dir && pwd`/missing"
++# Use eval to expand $SHELL
+ if eval "$MISSING --run :"; then
+   am_missing_run="$MISSING --run "
+ else
+@@ -1531,9 +2133,9 @@
+ 
+ for ac_prog in mawk gawk nawk awk
+ do
+-# Extract the first word of "$ac_prog", so it can be a program name with args.
++  # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+-echo "configure:1397: checking for $ac_word" >&5
++echo "configure:2138: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_AWK+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -1546,7 +2148,7 @@
+ for ac_dir in $ac_dummy; do
+   IFS=$ac_save_IFS
+   test -z "$ac_dir" && ac_dir=.
+-  test -f $ac_dir/$ac_word || continue
++  test -f "$ac_dir/$ac_word" || continue
+ ac_cv_prog_AWK="$ac_prog"
+ break
+ done
+@@ -1555,17 +2157,17 @@
+ fi
+ AWK=$ac_cv_prog_AWK
+ if test -n "$AWK"; then
+-  echo "configure:1418: result: $AWK" >&5
++  echo "configure:2160: result: $AWK" >&5
+ echo "${ECHO_T}$AWK" >&6
+ else
+-  echo "configure:1421: result: no" >&5
++  echo "configure:2163: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+-test -n "$AWK" && break
++  test -n "$AWK" && break
+ done
+ 
+-echo "configure:1426: checking whether ${MAKE-make} sets \${MAKE}" >&5
++echo "configure:2170: checking whether ${MAKE-make} sets \${MAKE}" >&5
+ echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
+ set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
+ if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
+@@ -1585,11 +2187,11 @@
+ rm -f conftestmake
+ fi
+ if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
+-  echo "configure:1446: result: yes" >&5
++  echo "configure:2190: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+   SET_MAKE=
+ else
+-  echo "configure:1450: result: no" >&5
++  echo "configure:2194: result: no" >&5
+ echo "${ECHO_T}no" >&6
+   SET_MAKE="MAKE=${MAKE-make}"
+ fi
+@@ -1598,7 +2200,7 @@
+ if test "${enable_dependency_tracking+set}" = set; then
+   enableval="$enable_dependency_tracking"
+ 
+-fi
++fi;
+ if test "x$enable_dependency_tracking" = xno; then
+   AMDEP="#"
+ else
+@@ -1625,7 +2227,7 @@
+ ac_config_commands="$ac_config_commands default-2"
+ 
+ # test to see if srcdir already configured
+-if test "`CDPATH=: && cd $srcdir && pwd`" != "`pwd`" &&
++if test "`CDPATH=:; cd $srcdir && pwd`" != "`pwd`" &&
+    test -f $srcdir/config.status; then
+   { echo "configure: error: source directory already configured; run \"make distclean\" there first" >&2; exit 1; }
+ fi
+@@ -1663,9 +2265,12 @@
+          install_sh="`echo $install_sh | sed -e 's/\${SHELL}//'`"
+ fi
+ 
++# We need awk for the "check" target.  The system "awk" is bad on
++# some platforms.
++
+ depcc="$CC"
+ depcpp="$CPP"
+-echo "configure:1508: checking dependency style of $depcc" >&5
++echo "configure:2273: checking dependency style of $depcc" >&5
+ echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
+ if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -1689,10 +2294,13 @@
+       ;;
+     none) break ;;
+     esac
++    # We check with `-c' and `-o' for the sake of the "dashmstdout"
++    # mode.  It turns out that the SunPro C++ compiler does not properly
++    # handle `-M -o', and we need to detect this.
+     if depmode="$depmode" \
+        source=conftest.c object=conftest.o \
+        depfile=conftest.Po tmpdepfile=conftest.TPo \
+-       $SHELL $am_depcomp $depcc -c conftest.c 2>/dev/null &&
++       $SHELL $am_depcomp $depcc -c conftest.c -o conftest.o 2>/dev/null &&
+        grep conftest.h conftest.Po > /dev/null 2>&1; then
+       am_cv_CC_dependencies_compiler_type="$depmode"
+       break
+@@ -1706,7 +2314,7 @@
+ 
+ fi
+ 
+-echo "configure:1544: result: $am_cv_CC_dependencies_compiler_type" >&5
++echo "configure:2317: result: $am_cv_CC_dependencies_compiler_type" >&5
+ echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
+ CCDEPMODE="depmode=$am_cv_CC_dependencies_compiler_type"
+ 
+@@ -1714,7 +2322,7 @@
+ $ac_config_sub sun4 >/dev/null 2>&1 ||
+   { echo "configure: error: cannot run $ac_config_sub" >&2; exit 1; }
+ 
+-echo "configure:1550: checking build system type" >&5
++echo "configure:2325: checking build system type" >&5
+ echo $ECHO_N "checking build system type... $ECHO_C" >&6
+ if test "${ac_cv_build+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -1727,14 +2335,14 @@
+ ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || exit 1
+ 
+ fi
+-echo "configure:1562: result: $ac_cv_build" >&5
++echo "configure:2338: result: $ac_cv_build" >&5
+ echo "${ECHO_T}$ac_cv_build" >&6
+ build=$ac_cv_build
+ build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
+ build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
+ build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
+ 
+-echo "configure:1568: checking host system type" >&5
++echo "configure:2345: checking host system type" >&5
+ echo $ECHO_N "checking host system type... $ECHO_C" >&6
+ if test "${ac_cv_host+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -1745,7 +2353,7 @@
+ ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || exit 1
+ 
+ fi
+-echo "configure:1578: result: $ac_cv_host" >&5
++echo "configure:2356: result: $ac_cv_host" >&5
+ echo "${ECHO_T}$ac_cv_host" >&6
+ host=$ac_cv_host
+ host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
+@@ -1791,9 +2399,9 @@
+ 
+ for ac_prog in 'bison -y' byacc
+ do
+-# Extract the first word of "$ac_prog", so it can be a program name with args.
++  # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+-echo "configure:1620: checking for $ac_word" >&5
++echo "configure:2404: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_YACC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -1806,7 +2414,7 @@
+ for ac_dir in $ac_dummy; do
+   IFS=$ac_save_IFS
+   test -z "$ac_dir" && ac_dir=.
+-  test -f $ac_dir/$ac_word || continue
++  test -f "$ac_dir/$ac_word" || continue
+ ac_cv_prog_YACC="$ac_prog"
+ break
+ done
+@@ -1815,22 +2423,22 @@
+ fi
+ YACC=$ac_cv_prog_YACC
+ if test -n "$YACC"; then
+-  echo "configure:1641: result: $YACC" >&5
++  echo "configure:2426: result: $YACC" >&5
+ echo "${ECHO_T}$YACC" >&6
+ else
+-  echo "configure:1644: result: no" >&5
++  echo "configure:2429: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+-test -n "$YACC" && break
++  test -n "$YACC" && break
+ done
+ test -n "$YACC" || YACC="yacc"
+ 
+ for ac_prog in flex lex
+ do
+-# Extract the first word of "$ac_prog", so it can be a program name with args.
++  # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+-echo "configure:1654: checking for $ac_word" >&5
++echo "configure:2441: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_LEX+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -1843,7 +2451,7 @@
+ for ac_dir in $ac_dummy; do
+   IFS=$ac_save_IFS
+   test -z "$ac_dir" && ac_dir=.
+-  test -f $ac_dir/$ac_word || continue
++  test -f "$ac_dir/$ac_word" || continue
+ ac_cv_prog_LEX="$ac_prog"
+ break
+ done
+@@ -1852,20 +2460,22 @@
+ fi
+ LEX=$ac_cv_prog_LEX
+ if test -n "$LEX"; then
+-  echo "configure:1675: result: $LEX" >&5
++  echo "configure:2463: result: $LEX" >&5
+ echo "${ECHO_T}$LEX" >&6
+ else
+-  echo "configure:1678: result: no" >&5
++  echo "configure:2466: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+-test -n "$LEX" && break
++  test -n "$LEX" && break
+ done
+ test -n "$LEX" || LEX="${am_missing_run}flex"
+ 
+-# Extract the first word of "flex", so it can be a program name with args.
+-set dummy flex; ac_word=$2
+-echo "configure:1686: checking for $ac_word" >&5
++for ac_prog in flex lex
++do
++  # Extract the first word of "$ac_prog", so it can be a program name with args.
++set dummy $ac_prog; ac_word=$2
++echo "configure:2478: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_LEX+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -1878,44 +2488,38 @@
+ for ac_dir in $ac_dummy; do
+   IFS=$ac_save_IFS
+   test -z "$ac_dir" && ac_dir=.
+-  test -f $ac_dir/$ac_word || continue
+-ac_cv_prog_LEX="flex"
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_LEX="$ac_prog"
+ break
+ done
+ 
+-  test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX="lex"
+ fi
+ fi
+ LEX=$ac_cv_prog_LEX
+ if test -n "$LEX"; then
+-  echo "configure:1708: result: $LEX" >&5
++  echo "configure:2500: result: $LEX" >&5
+ echo "${ECHO_T}$LEX" >&6
+ else
+-  echo "configure:1711: result: no" >&5
++  echo "configure:2503: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
++  test -n "$LEX" && break
++done
++test -n "$LEX" || LEX=":"
++
+ if test -z "$LEXLIB"
+ then
+-  case $LEX in
+-  flex*) ac_lib=fl ;;
+-  *) ac_lib=l ;;
+-  esac
+ 
+-ac_ac_Lib=`echo "ac_cv_lib_$ac_lib_yywrap" | $ac_tr_sh`
+-case "${LDFLAGS+set} $ac_configure_args" in
+- *" LDFLAGS="* );;
+- "set "*) ac_configure_args="LDFLAGS='$LDFLAGS' $ac_configure_args";;
+-esac
+-echo "configure:1725: checking for yywrap in -l$ac_lib" >&5
+-echo $ECHO_N "checking for yywrap in -l$ac_lib... $ECHO_C" >&6
+-if eval "test \"\${$ac_ac_Lib+set}\" = set"; then
++echo "configure:2514: checking for yywrap in -lfl" >&5
++echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
++if test "${ac_cv_lib_fl_yywrap+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   ac_check_lib_save_LIBS=$LIBS
+-LIBS="-l$ac_lib  $LIBS"
+-cat >conftest.$ac_ext <<EOF
+-#line 1733 "configure"
++LIBS="-lfl  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line 2522 "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -1932,26 +2536,73 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:1750: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+-  eval "$ac_ac_Lib=yes"
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:2541: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  ac_cv_lib_fl_yywrap=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+-  eval "$ac_ac_Lib=no"
++  ac_cv_lib_fl_yywrap=no
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "configure:1760: result: `eval echo '${'$ac_ac_Lib'}'`" >&5
+-echo "${ECHO_T}`eval echo '${'$ac_ac_Lib'}'`" >&6
+-if test `eval echo '${'$ac_ac_Lib'}'` = yes; then
+-  LEXLIB="-l$ac_lib"
++echo "configure:2551: result: $ac_cv_lib_fl_yywrap" >&5
++echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
++if test $ac_cv_lib_fl_yywrap = yes; then
++  LEXLIB="-lfl"
++else
++
++echo "configure:2557: checking for yywrap in -ll" >&5
++echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
++if test "${ac_cv_lib_l_yywrap+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ll  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line 2565 "configure"
++#include "confdefs.h"
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char yywrap ();
++int
++main ()
++{
++yywrap ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:2584: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  ac_cv_lib_l_yywrap=yes
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_lib_l_yywrap=no
++fi
++rm -f conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "configure:2594: result: $ac_cv_lib_l_yywrap" >&5
++echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
++if test $ac_cv_lib_l_yywrap = yes; then
++  LEXLIB="-ll"
+ fi
+ 
+ fi
+ 
+-echo "configure:1766: checking lex output file root" >&5
++fi
++
++if test "x$LEX" != "x:"; then
++  echo "configure:2605: checking lex output file root" >&5
+ echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
+ if test "${ac_cv_prog_lex_root+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -1968,11 +2619,11 @@
+   { echo "configure: error: cannot find output from $LEX; giving up" >&2; exit 1; }
+ fi
+ fi
+-echo "configure:1783: result: $ac_cv_prog_lex_root" >&5
++echo "configure:2622: result: $ac_cv_prog_lex_root" >&5
+ echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
+ LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
+ 
+-echo "configure:1786: checking whether yytext is a pointer" >&5
++echo "configure:2626: checking whether yytext is a pointer" >&5
+ echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
+ if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -1984,67 +2635,108 @@
+ echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
+ ac_save_LIBS=$LIBS
+ LIBS="$LIBS $LEXLIB"
+-cat >conftest.$ac_ext <<EOF
++cat >conftest.$ac_ext <<_ACEOF
+ `cat $LEX_OUTPUT_ROOT.c`
+-EOF
+-if { (eval echo configure:1801: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:2642: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_prog_lex_yytext_pointer=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_save_LIBS
+ rm -f "${LEX_OUTPUT_ROOT}.c"
+ 
+ fi
+-echo "configure:1811: result: $ac_cv_prog_lex_yytext_pointer" >&5
+-echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
+-if test $ac_cv_prog_lex_yytext_pointer = yes; then
+-
+-cat >>confdefs.h <<\EOF
+-#define YYTEXT_POINTER 1
+-EOF
++echo "configure:2653: result: $ac_cv_prog_lex_yytext_pointer" >&5
++echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
++if test $ac_cv_prog_lex_yytext_pointer = yes; then
++
++cat >>confdefs.h <<\EOF
++#define YYTEXT_POINTER 1
++EOF
++
++fi
++
++fi
++
++if test -n "$ac_tool_prefix"; then
++  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
++set dummy ${ac_tool_prefix}ranlib; ac_word=$2
++echo "configure:2668: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_RANLIB+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$RANLIB"; then
++  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
++else
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
++  IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
++break
++done
++
++fi
++fi
++RANLIB=$ac_cv_prog_RANLIB
++if test -n "$RANLIB"; then
++  echo "configure:2690: result: $RANLIB" >&5
++echo "${ECHO_T}$RANLIB" >&6
++else
++  echo "configure:2693: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
+ 
+ fi
+-
+-# Extract the first word of "ranlib", so it can be a program name with args.
++if test -z "$ac_cv_prog_RANLIB"; then
++  ac_ct_RANLIB=$RANLIB
++  # Extract the first word of "ranlib", so it can be a program name with args.
+ set dummy ranlib; ac_word=$2
+-echo "configure:1820: checking for $ac_word" >&5
++echo "configure:2702: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+-if test "${ac_cv_prog_RANLIB+set}" = set; then
++if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  if test -n "$RANLIB"; then
+-  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
++  if test -n "$ac_ct_RANLIB"; then
++  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
+ else
+   ac_save_IFS=$IFS; IFS=':'
+ ac_dummy="$PATH"
+ for ac_dir in $ac_dummy; do
+   IFS=$ac_save_IFS
+   test -z "$ac_dir" && ac_dir=.
+-  test -f $ac_dir/$ac_word || continue
+-ac_cv_prog_RANLIB="ranlib"
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_ac_ct_RANLIB="ranlib"
+ break
+ done
+ 
+-  test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
++  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
+ fi
+ fi
+-RANLIB=$ac_cv_prog_RANLIB
+-if test -n "$RANLIB"; then
+-  echo "configure:1842: result: $RANLIB" >&5
+-echo "${ECHO_T}$RANLIB" >&6
++ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
++if test -n "$ac_ct_RANLIB"; then
++  echo "configure:2725: result: $ac_ct_RANLIB" >&5
++echo "${ECHO_T}$ac_ct_RANLIB" >&6
+ else
+-  echo "configure:1845: result: no" >&5
++  echo "configure:2728: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
++  RANLIB=$ac_ct_RANLIB
++fi
++
+ for ac_prog in mawk gawk nawk awk
+ do
+-# Extract the first word of "$ac_prog", so it can be a program name with args.
++  # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+-echo "configure:1852: checking for $ac_word" >&5
++echo "configure:2739: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_AWK+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -2057,7 +2749,7 @@
+ for ac_dir in $ac_dummy; do
+   IFS=$ac_save_IFS
+   test -z "$ac_dir" && ac_dir=.
+-  test -f $ac_dir/$ac_word || continue
++  test -f "$ac_dir/$ac_word" || continue
+ ac_cv_prog_AWK="$ac_prog"
+ break
+ done
+@@ -2066,17 +2758,17 @@
+ fi
+ AWK=$ac_cv_prog_AWK
+ if test -n "$AWK"; then
+-  echo "configure:1873: result: $AWK" >&5
++  echo "configure:2761: result: $AWK" >&5
+ echo "${ECHO_T}$AWK" >&6
+ else
+-  echo "configure:1876: result: no" >&5
++  echo "configure:2764: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+-test -n "$AWK" && break
++  test -n "$AWK" && break
+ done
+ 
+-echo "configure:1881: checking for ln -s or something else" >&5
++echo "configure:2771: checking for ln -s or something else" >&5
+ echo $ECHO_N "checking for ln -s or something else... $ECHO_C" >&6
+ if test "${ac_cv_prog_LN_S+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -2097,14 +2789,14 @@
+ fi
+ fi
+ LN_S="$ac_cv_prog_LN_S"
+-echo "configure:1902: result: $ac_cv_prog_LN_S" >&5
++echo "configure:2792: result: $ac_cv_prog_LN_S" >&5
+ echo "${ECHO_T}$ac_cv_prog_LN_S" >&6
+ 
+ # Check whether --with-mips_abi or --without-mips_abi was given.
+ if test "${with_mips_abi+set}" = set; then
+   withval="$with_mips_abi"
+ 
+-fi
++fi;
+ 
+ case "$host_os" in
+ irix*)
+@@ -2129,7 +2821,7 @@
+ esac
+ if test -n "$abi" ; then
+ ac_foo=krb_cv_gcc_`echo $abi | tr =- __`
+-echo "configure:1929: checking if $CC supports the $abi option" >&5
++echo "configure:2824: checking if $CC supports the $abi option" >&5
+ echo $ECHO_N "checking if $CC supports the $abi option... $ECHO_C" >&6
+ if eval "test \"\${$ac_foo+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -2137,8 +2829,8 @@
+ 
+ save_CFLAGS="$CFLAGS"
+ CFLAGS="$CFLAGS $abi"
+-cat >conftest.$ac_ext <<EOF
+-#line 1937 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 2833 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -2148,21 +2840,22 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:1947: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:2845: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval $ac_foo=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval $ac_foo=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ CFLAGS="$save_CFLAGS"
+ 
+ fi
+ 
+ ac_res=`eval echo \\\$$ac_foo`
+-echo "configure:1958: result: $ac_res" >&5
++echo "configure:2858: result: $ac_res" >&5
+ echo "${ECHO_T}$ac_res" >&6
+ if test $ac_res = no; then
+ # Try to figure out why that failed...
+@@ -2170,8 +2863,8 @@
+ 	-mabi=32)
+ 	save_CFLAGS="$CFLAGS"
+ 	CFLAGS="$CFLAGS -mabi=n32"
+-	cat >conftest.$ac_ext <<EOF
+-#line 1967 "configure"
++	cat >conftest.$ac_ext <<_ACEOF
++#line 2867 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -2181,15 +2874,16 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:1977: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:2879: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_res=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_res=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ 	CLAGS="$save_CFLAGS"
+ 	if test $ac_res = yes; then
+ 		# New GCC
+@@ -2227,14 +2921,14 @@
+ CC="$CC $abi"
+ libdir="$libdir$abilibdirext"
+ 
+-echo "configure:2020: checking for __attribute__" >&5
++echo "configure:2924: checking for __attribute__" >&5
+ echo $ECHO_N "checking for __attribute__... $ECHO_C" >&6
+ if test "${ac_cv___attribute__+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-cat >conftest.$ac_ext <<EOF
+-#line 2026 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 2931 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdlib.h>
+@@ -2254,15 +2948,16 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:2042: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:2953: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv___attribute__=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv___attribute__=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ 
+ if test "$ac_cv___attribute__" = "yes"; then
+@@ -2272,7 +2967,7 @@
+ EOF
+ 
+ fi
+-echo "configure:2056: result: $ac_cv___attribute__" >&5
++echo "configure:2970: result: $ac_cv___attribute__" >&5
+ echo "${ECHO_T}$ac_cv___attribute__" >&6
+ 
+ # Check whether --enable-shared or --disable-shared was given.
+@@ -2296,7 +2991,7 @@
+ esac
+ else
+   enable_shared=no
+-fi
++fi;
+ # Check whether --enable-static or --disable-static was given.
+ if test "${enable_static+set}" = set; then
+   enableval="$enable_static"
+@@ -2318,7 +3013,7 @@
+ esac
+ else
+   enable_static=yes
+-fi
++fi;
+ # Check whether --enable-fast-install or --disable-fast-install was given.
+ if test "${enable_fast_install+set}" = set; then
+   enableval="$enable_fast_install"
+@@ -2340,26 +3035,21 @@
+ esac
+ else
+   enable_fast_install=yes
+-fi
++fi;
++
+ # Check whether --with-gnu-ld or --without-gnu-ld was given.
+ if test "${with_gnu_ld+set}" = set; then
+   withval="$with_gnu_ld"
+   test "$withval" = no || with_gnu_ld=yes
+ else
+   with_gnu_ld=no
+-fi
++fi;
+ ac_prog=ld
+-if test "$ac_cv_prog_gcc" = yes; then
++if test "$ac_cv_c_compiler_gnu" = yes; then
+   # Check if gcc -print-prog-name=ld gives a path.
+-  echo "configure:2134: checking for ld used by GCC" >&5
++  echo "configure:3050: checking for ld used by GCC" >&5
+ echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
+-  case $host in
+-  *-*-mingw*)
+-    # gcc leaves a trailing carriage return which upsets mingw
+-    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
+-  *)
+-    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
+-  esac
++  ac_prog=`($CC -print-prog-name=ld) 2>&5`
+   case "$ac_prog" in
+     # Accept absolute paths.
+     [\\/]* | [A-Za-z]:[\\/]*)
+@@ -2381,10 +3071,10 @@
+     ;;
+   esac
+ elif test "$with_gnu_ld" = yes; then
+-  echo "configure:2164: checking for GNU ld" >&5
++  echo "configure:3074: checking for GNU ld" >&5
+ echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
+ else
+-  echo "configure:2167: checking for non-GNU ld" >&5
++  echo "configure:3077: checking for non-GNU ld" >&5
+ echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
+ fi
+ if test "${ac_cv_path_LD+set}" = set; then
+@@ -2414,14 +3104,14 @@
+ 
+ LD="$ac_cv_path_LD"
+ if test -n "$LD"; then
+-  echo "configure:2196: result: $LD" >&5
++  echo "configure:3107: result: $LD" >&5
+ echo "${ECHO_T}$LD" >&6
+ else
+-  echo "configure:2199: result: no" >&5
++  echo "configure:3110: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" >&2; exit 1; }
+-echo "configure:2203: checking if the linker ($LD) is GNU ld" >&5
++echo "configure:3114: checking if the linker ($LD) is GNU ld" >&5
+ echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
+ if test "${ac_cv_prog_gnu_ld+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -2433,23 +3123,10 @@
+   ac_cv_prog_gnu_ld=no
+ fi
+ fi
+-echo "configure:2215: result: $ac_cv_prog_gnu_ld" >&5
++echo "configure:3126: result: $ac_cv_prog_gnu_ld" >&5
+ echo "${ECHO_T}$ac_cv_prog_gnu_ld" >&6
+-with_gnu_ld=$ac_cv_prog_gnu_ld
+-
+-echo "configure:2218: checking for $LD option to reload object files" >&5
+-echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
+-if test "${lt_cv_ld_reload_flag+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  lt_cv_ld_reload_flag='-r'
+-fi
+-echo "configure:2225: result: $lt_cv_ld_reload_flag" >&5
+-echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
+-reload_flag=$lt_cv_ld_reload_flag
+-test -n "$reload_flag" && reload_flag=" $reload_flag"
+ 
+-echo "configure:2229: checking for BSD-compatible nm" >&5
++echo "configure:3129: checking for BSD-compatible nm" >&5
+ echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
+ if test "${ac_cv_path_NM+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -2460,510 +3137,86 @@
+ else
+   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
+   for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
+-    test -z "$ac_dir" && ac_dir=.
+-    tmp_nm=$ac_dir/${ac_tool_prefix}nm
+-    if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
+-      # Check to see if the nm accepts a BSD-compat flag.
+-      # Adding the `sed 1q' prevents false positives on HP-UX, which says:
+-      #   nm: unknown option "B" ignored
+-      if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
+-	ac_cv_path_NM="$tmp_nm -B"
+-	break
+-      elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
+-	ac_cv_path_NM="$tmp_nm -p"
+-	break
+-      else
+-	ac_cv_path_NM=${ac_cv_path_NM="$tmp_nm"} # keep the first match, but
+-	continue # so that we can try to find one that supports BSD flags
+-      fi
+-    fi
+-  done
+-  IFS="$ac_save_ifs"
+-  test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm
+-fi
+-fi
+-
+-NM="$ac_cv_path_NM"
+-echo "configure:2263: result: $NM" >&5
+-echo "${ECHO_T}$NM" >&6
+-
+-echo "configure:2265: checking whether ln -s works" >&5
+-echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
+-if test "${ac_cv_prog_LN_S+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  rm -f conftest.sym conftest.file
+-echo >conftest.file
+-if ln -s conftest.file conftest.sym 2>/dev/null; then
+-  ac_cv_prog_LN_S="ln -s"
+-else
+-  ac_cv_prog_LN_S=ln
+-fi
+-fi
+-LN_S=$ac_cv_prog_LN_S
+-if test "$ac_cv_prog_LN_S" = "ln -s"; then
+-  echo "configure:2280: result: yes" >&5
+-echo "${ECHO_T}yes" >&6
+-else
+-  echo "configure:2283: result: no" >&5
+-echo "${ECHO_T}no" >&6
+-fi
+-
+-echo "configure:2286: checking how to recognise dependant libraries" >&5
+-echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
+-if test "${lt_cv_deplibs_check_method+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  lt_cv_file_magic_cmd='${MAGIC}'
+-lt_cv_file_magic_test_file=
+-lt_cv_deplibs_check_method='unknown'
+-# Need to set the preceding variable on all platforms that support
+-# interlibrary dependencies.
+-# 'none' -- dependencies not supported.
+-# `unknown' -- same as none, but documents that we really don't know.
+-# 'pass_all' -- all dependencies passed with no checks.
+-# 'test_compile' -- check by making test program.
+-# 'file_magic [regex]' -- check by looking for files in library path
+-# which responds to the $file_magic_cmd with a given egrep regex.
+-# If you have `file' or equivalent on your system and you're not sure
+-# whether `pass_all' will *always* work, you probably want this one.
+-
+-case "$host_os" in
+-aix4*)
+-  lt_cv_deplibs_check_method=pass_all
+-  ;;
+-
+-beos*)
+-  lt_cv_deplibs_check_method=pass_all
+-  ;;
+-
+-bsdi4*)
+-    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
+-    lt_cv_file_magic_cmd='/usr/bin/file -L'
+-  lt_cv_file_magic_test_file=/shlib/libc.so
+-  ;;
+-
+-cygwin* | mingw*)
+-  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
+-  lt_cv_file_magic_cmd='${OBJDUMP} -f'
+-  ;;
+-
+-freebsd*)
+-  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
+-    case "$host_cpu" in
+-    i*86 )
+-            lt_cv_deplibs_check_method=='file_magic OpenBSD/i[3-9]86 demand paged shared library'
+-            lt_cv_file_magic_cmd=/usr/bin/file
+-      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
+-      ;;
+-    esac
+-  else
+-    lt_cv_deplibs_check_method=pass_all
+-  fi
+-  ;;
+-
+-gnu*)
+-  lt_cv_deplibs_check_method=pass_all
+-  ;;
+-
+-hpux10.20*)
+-  # TODO:  Does this work for hpux-11 too?
+-  lt_cv_deplibs_check_method='file_magic (s0-90-90-9|PA-RISC0-9.0-9) shared library'
+-  lt_cv_file_magic_cmd=/usr/bin/file
+-  lt_cv_file_magic_test_file=/usr/lib/libc.sl
+-  ;;
+-
+-irix5* | irix6*)
+-  case "$host_os" in
+-  irix5*)
+-    # this will be overridden with pass_all, but let us keep it just in case
+-    lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
+-    ;;
+-  *)
+-    case "$LD" in
+-    *-32|*"-32 ") libmagic=32-bit;;
+-    *-n32|*"-n32 ") libmagic=N32;;
+-    *-64|*"-64 ") libmagic=64-bit;;
+-    *) libmagic=never-match;;
+-    esac
+-    # this will be overridden with pass_all, but let us keep it just in case
+-        lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
+-        ;;
+-  esac
+-  lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
+-  lt_cv_deplibs_check_method=pass_all
+-  ;;
+-
+-# This must be Linux ELF.
+-linux-gnu*)
+-  case "$host_cpu" in
+-  alpha* | i*86 | powerpc* | sparc* | ia64* )
+-    lt_cv_deplibs_check_method=pass_all ;;
+-  *)
+-    # glibc up to 2.1.1 does not perform some relocations on ARM
+-        lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
+-      esac
+-  lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
+-  ;;
+-
+-netbsd*)
+-  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then :
+-  else
+-        lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
+-        lt_cv_file_magic_cmd='/usr/bin/file -L'
+-    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
+-  fi
+-  ;;
+-
+-osf3* | osf4* | osf5*)
+-  # this will be overridden with pass_all, but let us keep it just in case
+-  lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
+-  lt_cv_file_magic_test_file=/shlib/libc.so
+-  lt_cv_deplibs_check_method=pass_all
+-  ;;
+-
+-sco3.2v5*)
+-  lt_cv_deplibs_check_method=pass_all
+-  ;;
+-
+-solaris*)
+-  lt_cv_deplibs_check_method=pass_all
+-  lt_cv_file_magic_test_file=/lib/libc.so
+-  ;;
+-
+-sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
+-  case "$host_vendor" in
+-  ncr)
+-    lt_cv_deplibs_check_method=pass_all
+-    ;;
+-  motorola)
+-        lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
+-        lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
+-    ;;
+-  esac
+-  ;;
+-esac
+-
+-fi
+-echo "configure:2407: result: $lt_cv_deplibs_check_method" >&5
+-echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
+-file_magic_cmd=$lt_cv_file_magic_cmd
+-deplibs_check_method=$lt_cv_deplibs_check_method
+-
+-# Only perform the check for file, if the check method requires it
+-case "$deplibs_check_method" in
+-file_magic*)
+-  if test "$file_magic_cmd" = '${MAGIC}'; then
+-    echo "configure:2415: checking for ${ac_tool_prefix}file" >&5
+-echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
+-if test "${lt_cv_path_MAGIC+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  case "$MAGIC" in
+-  /*)
+-  lt_cv_path_MAGIC="$MAGIC" # Let the user override the test with a path.
+-  ;;
+-  ?:/*)
+-  ac_cv_path_MAGIC="$MAGIC" # Let the user override the test with a dos path.
+-  ;;
+-  *)
+-  ac_save_MAGIC="$MAGIC"
+-  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
+-  ac_dummy="/usr/bin:$PATH"
+-  for ac_dir in $ac_dummy; do
+-    test -z "$ac_dir" && ac_dir=.
+-    if test -f $ac_dir/${ac_tool_prefix}file; then
+-      lt_cv_path_MAGIC="$ac_dir/${ac_tool_prefix}file"
+-      if test -n "$file_magic_test_file"; then
+-	case "$deplibs_check_method" in
+-	"file_magic "*)
+-	  file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
+-	  MAGIC="$lt_cv_path_MAGIC"
+-	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
+-	    egrep "$file_magic_regex" > /dev/null; then
+-	    :
+-	  else
+-	    cat <<EOF 1>&2
+-
+-*** Warning: the command libtool uses to detect shared libraries,
+-*** $file_magic_cmd, produces output that libtool cannot recognize.
+-*** The result is that libtool may fail to recognize shared libraries
+-*** as such.  This will affect the creation of libtool libraries that
+-*** depend on shared libraries, but programs linked with such libtool
+-*** libraries will work regardless of this problem.  Nevertheless, you
+-*** may want to report the problem to your system manager and/or to
+-*** bug-libtool@gnu.org
+-
+-EOF
+-	  fi ;;
+-	esac
+-      fi
+-      break
+-    fi
+-  done
+-  IFS="$ac_save_ifs"
+-  MAGIC="$ac_save_MAGIC"
+-  ;;
+-esac
+-fi
+-
+-MAGIC="$lt_cv_path_MAGIC"
+-if test -n "$MAGIC"; then
+-  echo "configure:2467: result: $MAGIC" >&5
+-echo "${ECHO_T}$MAGIC" >&6
+-else
+-  echo "configure:2470: result: no" >&5
+-echo "${ECHO_T}no" >&6
+-fi
+-
+-if test -z "$lt_cv_path_MAGIC"; then
+-  if test -n "$ac_tool_prefix"; then
+-    echo "configure:2475: checking for file" >&5
+-echo $ECHO_N "checking for file... $ECHO_C" >&6
+-if test "${lt_cv_path_MAGIC+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  case "$MAGIC" in
+-  /*)
+-  lt_cv_path_MAGIC="$MAGIC" # Let the user override the test with a path.
+-  ;;
+-  ?:/*)
+-  ac_cv_path_MAGIC="$MAGIC" # Let the user override the test with a dos path.
+-  ;;
+-  *)
+-  ac_save_MAGIC="$MAGIC"
+-  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
+-  ac_dummy="/usr/bin:$PATH"
+-  for ac_dir in $ac_dummy; do
+-    test -z "$ac_dir" && ac_dir=.
+-    if test -f $ac_dir/file; then
+-      lt_cv_path_MAGIC="$ac_dir/file"
+-      if test -n "$file_magic_test_file"; then
+-	case "$deplibs_check_method" in
+-	"file_magic "*)
+-	  file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
+-	  MAGIC="$lt_cv_path_MAGIC"
+-	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
+-	    egrep "$file_magic_regex" > /dev/null; then
+-	    :
+-	  else
+-	    cat <<EOF 1>&2
+-
+-*** Warning: the command libtool uses to detect shared libraries,
+-*** $file_magic_cmd, produces output that libtool cannot recognize.
+-*** The result is that libtool may fail to recognize shared libraries
+-*** as such.  This will affect the creation of libtool libraries that
+-*** depend on shared libraries, but programs linked with such libtool
+-*** libraries will work regardless of this problem.  Nevertheless, you
+-*** may want to report the problem to your system manager and/or to
+-*** bug-libtool@gnu.org
+-
+-EOF
+-	  fi ;;
+-	esac
+-      fi
+-      break
+-    fi
+-  done
+-  IFS="$ac_save_ifs"
+-  MAGIC="$ac_save_MAGIC"
+-  ;;
+-esac
+-fi
+-
+-MAGIC="$lt_cv_path_MAGIC"
+-if test -n "$MAGIC"; then
+-  echo "configure:2527: result: $MAGIC" >&5
+-echo "${ECHO_T}$MAGIC" >&6
+-else
+-  echo "configure:2530: result: no" >&5
+-echo "${ECHO_T}no" >&6
+-fi
+-
+-  else
+-    MAGIC=:
+-  fi
+-fi
+-
+-  fi
+-  ;;
+-esac
+-
+-# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
+-set dummy ${ac_tool_prefix}ranlib; ac_word=$2
+-echo "configure:2542: checking for $ac_word" >&5
+-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+-if test "${ac_cv_prog_RANLIB+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  if test -n "$RANLIB"; then
+-  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
+-else
+-  ac_save_IFS=$IFS; IFS=':'
+-ac_dummy="$PATH"
+-for ac_dir in $ac_dummy; do
+-  IFS=$ac_save_IFS
+-  test -z "$ac_dir" && ac_dir=.
+-  test -f $ac_dir/$ac_word || continue
+-ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
+-break
+-done
+-
+-fi
+-fi
+-RANLIB=$ac_cv_prog_RANLIB
+-if test -n "$RANLIB"; then
+-  echo "configure:2563: result: $RANLIB" >&5
+-echo "${ECHO_T}$RANLIB" >&6
+-else
+-  echo "configure:2566: result: no" >&5
+-echo "${ECHO_T}no" >&6
+-fi
+-
+-if test -z "$ac_cv_prog_RANLIB"; then
+-  if test -n "$ac_tool_prefix"; then
+-    # Extract the first word of "ranlib", so it can be a program name with args.
+-set dummy ranlib; ac_word=$2
+-echo "configure:2573: checking for $ac_word" >&5
+-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+-if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  if test -n "$ac_ct_RANLIB"; then
+-  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
+-else
+-  ac_save_IFS=$IFS; IFS=':'
+-ac_dummy="$PATH"
+-for ac_dir in $ac_dummy; do
+-  IFS=$ac_save_IFS
+-  test -z "$ac_dir" && ac_dir=.
+-  test -f $ac_dir/$ac_word || continue
+-ac_cv_prog_ac_ct_RANLIB="ranlib"
+-break
+-done
+-
+-  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
+-fi
+-fi
+-ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
+-if test -n "$ac_ct_RANLIB"; then
+-  echo "configure:2595: result: $ac_ct_RANLIB" >&5
+-echo "${ECHO_T}$ac_ct_RANLIB" >&6
+-else
+-  echo "configure:2598: result: no" >&5
+-echo "${ECHO_T}no" >&6
+-fi
+-
+-    RANLIB="$ac_ct_RANLIB"
+-  else
+-    RANLIB=":"
+-  fi
+-fi
+-
+-# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
+-set dummy ${ac_tool_prefix}strip; ac_word=$2
+-echo "configure:2608: checking for $ac_word" >&5
+-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+-if test "${ac_cv_prog_STRIP+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  if test -n "$STRIP"; then
+-  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
+-else
+-  ac_save_IFS=$IFS; IFS=':'
+-ac_dummy="$PATH"
+-for ac_dir in $ac_dummy; do
+-  IFS=$ac_save_IFS
+-  test -z "$ac_dir" && ac_dir=.
+-  test -f $ac_dir/$ac_word || continue
+-ac_cv_prog_STRIP="${ac_tool_prefix}strip"
+-break
+-done
+-
+-fi
++    test -z "$ac_dir" && ac_dir=.
++    if test -f $ac_dir/nm || test -f $ac_dir/nm$ac_exeext ; then
++      # Check to see if the nm accepts a BSD-compat flag.
++      # Adding the `sed 1q' prevents false positives on HP-UX, which says:
++      #   nm: unknown option "B" ignored
++      if ($ac_dir/nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
++	ac_cv_path_NM="$ac_dir/nm -B"
++	break
++      elif ($ac_dir/nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
++	ac_cv_path_NM="$ac_dir/nm -p"
++	break
++      else
++	ac_cv_path_NM=${ac_cv_path_NM="$ac_dir/nm"} # keep the first match, but
++	continue # so that we can try to find one that supports BSD flags
++      fi
++    fi
++  done
++  IFS="$ac_save_ifs"
++  test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm
+ fi
+-STRIP=$ac_cv_prog_STRIP
+-if test -n "$STRIP"; then
+-  echo "configure:2629: result: $STRIP" >&5
+-echo "${ECHO_T}$STRIP" >&6
+-else
+-  echo "configure:2632: result: no" >&5
+-echo "${ECHO_T}no" >&6
+ fi
+ 
+-if test -z "$ac_cv_prog_STRIP"; then
+-  if test -n "$ac_tool_prefix"; then
+-    # Extract the first word of "strip", so it can be a program name with args.
+-set dummy strip; ac_word=$2
+-echo "configure:2639: checking for $ac_word" >&5
+-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+-if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
++NM="$ac_cv_path_NM"
++echo "configure:3163: result: $NM" >&5
++echo "${ECHO_T}$NM" >&6
++
++echo "configure:3166: checking whether ln -s works" >&5
++echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
++if test "${ac_cv_prog_LN_S+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  if test -n "$ac_ct_STRIP"; then
+-  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
++  rm -f conftest.sym conftest.file
++echo >conftest.file
++if ln -s conftest.file conftest.sym 2>/dev/null; then
++  ac_cv_prog_LN_S="ln -s"
++elif ln conftest.file conftest.sym 2>/dev/null; then
++  ac_cv_prog_LN_S=ln
+ else
+-  ac_save_IFS=$IFS; IFS=':'
+-ac_dummy="$PATH"
+-for ac_dir in $ac_dummy; do
+-  IFS=$ac_save_IFS
+-  test -z "$ac_dir" && ac_dir=.
+-  test -f $ac_dir/$ac_word || continue
+-ac_cv_prog_ac_ct_STRIP="strip"
+-break
+-done
+-
+-  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
++  ac_cv_prog_LN_S=cp
+ fi
++rm -f conftest.sym conftest.file
+ fi
+-ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
+-if test -n "$ac_ct_STRIP"; then
+-  echo "configure:2661: result: $ac_ct_STRIP" >&5
+-echo "${ECHO_T}$ac_ct_STRIP" >&6
++LN_S=$ac_cv_prog_LN_S
++
++if test "$ac_cv_prog_LN_S" = "ln -s"; then
++  echo "configure:3185: result: yes" >&5
++echo "${ECHO_T}yes" >&6
+ else
+-  echo "configure:2664: result: no" >&5
+-echo "${ECHO_T}no" >&6
++  echo "configure:3188: result: no, using $LN_S" >&5
++echo "${ECHO_T}no, using $LN_S" >&6
+ fi
+ 
+-    STRIP="$ac_ct_STRIP"
+-  else
+-    STRIP=":"
+-  fi
+-fi
++case "$target" in
++NONE) lt_target="$host" ;;
++*) lt_target="$target" ;;
++esac
+ 
+ # Check for any special flags to pass to ltconfig.
+ libtool_flags="--cache-file=$cache_file"
+ test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
+ test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
+ test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
+-test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"
++test "$ac_cv_c_compiler_gnu" = yes && libtool_flags="$libtool_flags --with-gcc"
+ test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
+ 
+ # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
+ if test "${enable_libtool_lock+set}" = set; then
+   enableval="$enable_libtool_lock"
+ 
+-fi
++fi;
+ test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
+ test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
+ 
+-# Check whether --with-pic or --without-pic was given.
+-if test "${with_pic+set}" = set; then
+-  withval="$with_pic"
+-  pic_mode="$withval"
+-else
+-  pic_mode=default
+-fi
+-test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
+-test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
+-
+ # Some flags need to be propagated to the compiler or linker for good
+ # libtool support.
+-case "$host" in
++case "$lt_target" in
+ *-*-irix6*)
+   # Find out which ABI we are using.
+-  echo '#line 2699 "configure"' > conftest.$ac_ext
+-  if { (eval echo configure:2700: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++  echo '#line 3218 "configure"' > conftest.$ac_ext
++  if { (eval echo configure:3219: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
+     case "`/usr/bin/file conftest.o`" in
+     *32-bit*)
+       LD="${LD-ld} -32"
+@@ -2983,21 +3236,13 @@
+   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
+   SAVE_CFLAGS="$CFLAGS"
+   CFLAGS="$CFLAGS -belf"
+-  echo "configure:2719: checking whether the C compiler needs -belf" >&5
++  echo "configure:3239: checking whether the C compiler needs -belf" >&5
+ echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
+ if test "${lt_cv_cc_needs_belf+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-
+-     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 >&5'
+-ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+-ac_gnu_compiler=$ac_cv_prog_gcc
+-
+-     cat >conftest.$ac_ext <<EOF
+-#line 2731 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 3245 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -3007,24 +3252,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:2740: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:3257: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   lt_cv_cc_needs_belf=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   lt_cv_cc_needs_belf=no
+ fi
+-rm -f 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 >&5'
+-ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+-ac_gnu_compiler=$ac_cv_prog_gcc
+-
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:2755: result: $lt_cv_cc_needs_belf" >&5
++echo "configure:3266: result: $lt_cv_cc_needs_belf" >&5
+ echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
+   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
+     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
+@@ -3038,18 +3277,17 @@
+ 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.
++# scripts and configure runs, see configure's option --config-cache.
++# 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.
++# config.status only pays attention to the cache file if you give it
++# the --recheck option to rerun configure.
+ #
++# `ac_cv_env_foo' variables (set or unset) will be overriden when
++# loading this file, other *unset* `ac_cv_foo' will be assigned the
++# following values.
++
+ EOF
+ # The following way of writing the cache mishandles newlines in values,
+ # but we know of no workaround that is simple, portable, and efficient.
+@@ -3072,7 +3310,7 @@
+       ;;
+     esac;
+ } |
+-  sed 's/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/' >>confcache
++  sed '/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/' >>confcache
+ if cmp -s $cache_file confcache; then :; else
+   if test -w $cache_file; then
+     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
+@@ -3084,14 +3322,12 @@
+ rm -f confcache
+ 
+ # Actually configure libtool.  ac_aux_dir is where install-sh is found.
+-AR="$AR" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
+-MAGIC="$MAGIC" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
+-LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
+-AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
+-objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
+-deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
++CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
++LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
++LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" \
++DLLTOOL="$DLLTOOL" AS="$AS" OBJDUMP="$OBJDUMP" \
+ ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
+-$libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
++$libtool_flags $ac_aux_dir/ltmain.sh $lt_target \
+ || { echo "configure: error: libtool configure failed" >&2; exit 1; }
+ 
+ # Reload cache, that may have been modified by ltconfig
+@@ -3134,6 +3370,7 @@
+ fi
+ 
+ berkeley_db=db
++
+ # Check whether --with-berkeley-db or --without-berkeley-db was given.
+ if test "${with_berkeley_db+set}" = set; then
+   withval="$with_berkeley_db"
+@@ -3142,7 +3379,7 @@
+ 	berkeley_db=""
+ fi
+ 
+-fi
++fi;
+ if test "$berkeley_db"; then
+ 
+ for ac_header in 				\
+@@ -3151,35 +3388,41 @@
+ 
+ do
+ ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
+-case "${CPPFLAGS+set} $ac_configure_args" in
+- *" CPPFLAGS="* );;
+- "set "*) ac_configure_args="CPPFLAGS='$CPPFLAGS' $ac_configure_args";;
+-esac
+-echo "configure:2873: checking for $ac_header" >&5
++
++echo "configure:3392: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 2879 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 3398 "configure"
+ #include "confdefs.h"
+ #include <$ac_header>
+ 
+-EOF
+-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+-{ (eval echo configure:2884: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }
+-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+-if test -z "$ac_err"; then
++_ACEOF
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:3404: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++
++if test -z "$ac_cpp_err"; then
+   eval "$ac_ac_Header=yes"
+ else
+-  echo "$ac_err" >&5
++  cat conftest.err >&5
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_Header=no"
+ fi
+ rm -f conftest*
++
+ fi
+-echo "configure:2896: result: `eval echo '${'$ac_ac_Header'}'`" >&5
++echo "configure:3425: result: `eval echo '${'$ac_ac_Header'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
+ if test `eval echo '${'$ac_ac_Header'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -3191,7 +3434,7 @@
+ 
+ fi
+ 
+-echo "configure:2905: checking for dbopen" >&5
++echo "configure:3437: checking for dbopen" >&5
+ echo $ECHO_N "checking for dbopen... $ECHO_C" >&6
+ if test "${ac_cv_funclib_dbopen+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -3206,8 +3449,8 @@
+ 			ac_lib=""
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 2920 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 3453 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -3224,14 +3467,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:2936: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:3472: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_dbopen=$ac_lib; else ac_cv_funclib_dbopen=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_dbopen=\${ac_cv_funclib_dbopen-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -3246,13 +3490,13 @@
+ for ac_func in dbopen
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:2954: checking for $ac_func" >&5
++echo "configure:3493: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 2960 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 3499 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -3281,17 +3525,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:2988: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:3530: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:2997: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:3539: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -3315,13 +3560,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:3017: result: yes" >&5
++	echo "configure:3563: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_dbopen=no"
+ 	eval "LIB_dbopen="
+-	echo "configure:3023: result: no" >&5
++	echo "configure:3569: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -3335,12 +3580,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:3035: result: yes, in $ac_res" >&5
++	echo "configure:3583: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "configure:3039: checking for dbm_firstkey" >&5
++echo "configure:3588: checking for dbm_firstkey" >&5
+ echo $ECHO_N "checking for dbm_firstkey... $ECHO_C" >&6
+ if test "${ac_cv_funclib_dbm_firstkey+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -3355,8 +3600,8 @@
+ 			ac_lib=""
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 3054 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 3604 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -3366,14 +3611,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:3064: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:3616: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_dbm_firstkey=$ac_lib; else ac_cv_funclib_dbm_firstkey=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_dbm_firstkey=\${ac_cv_funclib_dbm_firstkey-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -3388,13 +3634,13 @@
+ for ac_func in dbm_firstkey
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:3082: checking for $ac_func" >&5
++echo "configure:3637: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 3088 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 3643 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -3423,17 +3669,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:3116: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:3674: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:3125: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:3683: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -3457,13 +3704,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:3145: result: yes" >&5
++	echo "configure:3707: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_dbm_firstkey=no"
+ 	eval "LIB_dbm_firstkey="
+-	echo "configure:3151: result: no" >&5
++	echo "configure:3713: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -3477,12 +3724,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:3163: result: yes, in $ac_res" >&5
++	echo "configure:3727: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "configure:3167: checking for db_create" >&5
++echo "configure:3732: checking for db_create" >&5
+ echo $ECHO_N "checking for db_create... $ECHO_C" >&6
+ if test "${ac_cv_funclib_db_create+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -3497,8 +3744,8 @@
+ 			ac_lib=""
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 3182 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 3748 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -3508,14 +3755,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:3192: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:3760: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_db_create=$ac_lib; else ac_cv_funclib_db_create=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_db_create=\${ac_cv_funclib_db_create-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -3530,13 +3778,13 @@
+ for ac_func in db_create
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:3210: checking for $ac_func" >&5
++echo "configure:3781: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 3216 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 3787 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -3565,17 +3813,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:3244: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:3818: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:3253: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:3827: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -3599,13 +3848,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:3273: result: yes" >&5
++	echo "configure:3851: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_db_create=no"
+ 	eval "LIB_db_create="
+-	echo "configure:3279: result: no" >&5
++	echo "configure:3857: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -3619,7 +3868,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:3291: result: yes, in $ac_res" >&5
++	echo "configure:3871: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -3632,32 +3881,33 @@
+ 	DBLIB="$DBLIB $LIB_dbm_firstkey"
+ fi
+ 
+-echo "configure:3302: checking for inline" >&5
++echo "configure:3884: checking for inline" >&5
+ echo $ECHO_N "checking for inline... $ECHO_C" >&6
+ if test "${ac_cv_c_inline+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   ac_cv_c_inline=no
+ for ac_kw in inline __inline__ __inline; do
+-  cat >conftest.$ac_ext <<EOF
+-#line 3310 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 3892 "configure"
+ #include "confdefs.h"
+ #ifndef __cplusplus
+ $ac_kw int foo () {return 0; }
+ #endif
+ 
+-EOF
+-if { (eval echo configure:3316: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:3900: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_c_inline=$ac_kw; break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ done
+ 
+ fi
+-echo "configure:3325: result: $ac_cv_c_inline" >&5
++echo "configure:3910: result: $ac_cv_c_inline" >&5
+ echo "${ECHO_T}$ac_cv_c_inline" >&6
+ case $ac_cv_c_inline in
+   inline | yes) ;;
+@@ -3672,13 +3922,13 @@
+  ;;
+ esac
+ 
+-echo "configure:3339: checking for an ANSI C-conforming const" >&5
++echo "configure:3925: checking for an ANSI C-conforming const" >&5
+ echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
+ if test "${ac_cv_c_const+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 3345 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 3931 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -3734,17 +3984,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:3399: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:3989: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_c_const=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_c_const=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:3408: result: $ac_cv_c_const" >&5
++echo "configure:3998: result: $ac_cv_c_const" >&5
+ echo "${ECHO_T}$ac_cv_c_const" >&6
+ if test $ac_cv_c_const = no; then
+ 
+@@ -3754,27 +4005,35 @@
+ 
+ fi
+ 
+-echo "configure:3415: checking for ANSI C header files" >&5
++echo "configure:4008: checking for ANSI C header files" >&5
+ echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
+ if test "${ac_cv_header_stdc+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 3421 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 4014 "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:3429: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }
+-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+-if test -z "$ac_err"; then
++_ACEOF
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:4023: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++
++if test -z "$ac_cpp_err"; then
+   ac_cv_header_stdc=yes
+ else
+-  echo "$ac_err" >&5
++  cat conftest.err >&5
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_header_stdc=no
+@@ -3783,12 +4042,12 @@
+ 
+ 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 3443 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 4046 "configure"
+ #include "confdefs.h"
+ #include <string.h>
+ 
+-EOF
++_ACEOF
+ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+   egrep "memchr" >/dev/null 2>&1; then
+   :
+@@ -3801,12 +4060,12 @@
+ 
+ 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 3458 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 4064 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ 
+-EOF
++_ACEOF
+ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+   egrep "free" >/dev/null 2>&1; then
+   :
+@@ -3822,8 +4081,8 @@
+   if test "$cross_compiling" = yes; then
+   :
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 3476 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 4085 "configure"
+ #include "confdefs.h"
+ #include <ctype.h>
+ #if ((' ' & 0x0FF) == 0x020)
+@@ -3847,21 +4106,22 @@
+       exit(2);
+   exit (0);
+ }
+-EOF
+-if { (eval echo configure:3500: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
+-   test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null; then
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo configure:4111: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
++   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
+   :
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_header_stdc=no
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+ 
+ fi
+ fi
+-echo "configure:3512: result: $ac_cv_header_stdc" >&5
++echo "configure:4124: result: $ac_cv_header_stdc" >&5
+ echo "${ECHO_T}$ac_cv_header_stdc" >&6
+ if test $ac_cv_header_stdc = yes; then
+ 
+@@ -3871,13 +4131,13 @@
+ 
+ fi
+ 
+-echo "configure:3519: checking for size_t" >&5
++echo "configure:4134: checking for size_t" >&5
+ echo $ECHO_N "checking for size_t... $ECHO_C" >&6
+ if test "${ac_cv_type_size_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 3525 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 4140 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -3890,17 +4150,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:3539: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:4155: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_size_t=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_size_t=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:3548: result: $ac_cv_type_size_t" >&5
++echo "configure:4164: result: $ac_cv_type_size_t" >&5
+ echo "${ECHO_T}$ac_cv_type_size_t" >&6
+ if test $ac_cv_type_size_t = yes; then
+   :
+@@ -3912,13 +4173,13 @@
+ 
+ fi
+ 
+-echo "configure:3557: checking for pid_t" >&5
++echo "configure:4176: checking for pid_t" >&5
+ echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
+ if test "${ac_cv_type_pid_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 3563 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 4182 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -3931,17 +4192,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:3577: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:4197: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_pid_t=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_pid_t=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:3586: result: $ac_cv_type_pid_t" >&5
++echo "configure:4206: result: $ac_cv_type_pid_t" >&5
+ echo "${ECHO_T}$ac_cv_type_pid_t" >&6
+ if test $ac_cv_type_pid_t = yes; then
+   :
+@@ -3953,17 +4215,17 @@
+ 
+ fi
+ 
+-echo "configure:3595: checking for uid_t in sys/types.h" >&5
++echo "configure:4218: checking for uid_t in sys/types.h" >&5
+ echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
+ if test "${ac_cv_type_uid_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 3601 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 4224 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ 
+-EOF
++_ACEOF
+ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+   egrep "uid_t" >/dev/null 2>&1; then
+   ac_cv_type_uid_t=yes
+@@ -3973,7 +4235,7 @@
+ rm -f conftest*
+ 
+ fi
+-echo "configure:3613: result: $ac_cv_type_uid_t" >&5
++echo "configure:4238: result: $ac_cv_type_uid_t" >&5
+ echo "${ECHO_T}$ac_cv_type_uid_t" >&6
+ if test $ac_cv_type_uid_t = no; then
+ 
+@@ -3987,13 +4249,13 @@
+ 
+ fi
+ 
+-echo "configure:3623: checking return type of signal handlers" >&5
++echo "configure:4252: checking return type of signal handlers" >&5
+ echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
+ if test "${ac_cv_type_signal+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 3629 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 4258 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #include <signal.h>
+@@ -4013,17 +4275,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:3649: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:4280: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_signal=void
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_signal=int
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:3658: result: $ac_cv_type_signal" >&5
++echo "configure:4289: result: $ac_cv_type_signal" >&5
+ echo "${ECHO_T}$ac_cv_type_signal" >&6
+ 
+ cat >>confdefs.h <<EOF
+@@ -4038,13 +4301,13 @@
+ 
+ fi
+ 
+-echo "configure:3669: checking whether time.h and sys/time.h may both be included" >&5
++echo "configure:4304: checking whether time.h and sys/time.h may both be included" >&5
+ echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
+ if test "${ac_cv_header_time+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 3675 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 4310 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #include <sys/time.h>
+@@ -4057,17 +4320,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:3688: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:4325: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_header_time=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_header_time=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:3697: result: $ac_cv_header_time" >&5
++echo "configure:4334: result: $ac_cv_header_time" >&5
+ echo "${ECHO_T}$ac_cv_header_time" >&6
+ if test $ac_cv_header_time = yes; then
+ 
+@@ -4080,35 +4344,41 @@
+ for ac_header in standards.h
+ do
+ ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
+-case "${CPPFLAGS+set} $ac_configure_args" in
+- *" CPPFLAGS="* );;
+- "set "*) ac_configure_args="CPPFLAGS='$CPPFLAGS' $ac_configure_args";;
+-esac
+-echo "configure:3711: checking for $ac_header" >&5
++
++echo "configure:4348: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 3717 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 4354 "configure"
+ #include "confdefs.h"
+ #include <$ac_header>
+ 
+-EOF
+-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+-{ (eval echo configure:3722: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }
+-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+-if test -z "$ac_err"; then
++_ACEOF
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:4360: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++
++if test -z "$ac_cpp_err"; then
+   eval "$ac_ac_Header=yes"
+ else
+-  echo "$ac_err" >&5
++  cat conftest.err >&5
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_Header=no"
+ fi
+ rm -f conftest*
++
+ fi
+-echo "configure:3734: result: `eval echo '${'$ac_ac_Header'}'`" >&5
++echo "configure:4381: result: `eval echo '${'$ac_ac_Header'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
+ if test `eval echo '${'$ac_ac_Header'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -4122,13 +4392,13 @@
+ 
+ cv=`echo "$i" | sed 'y%./+-%__p_%'`
+ 
+-echo "configure:3744: checking for $i" >&5
++echo "configure:4395: checking for $i" >&5
+ echo $ECHO_N "checking for $i... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_header_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 3750 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 4401 "configure"
+ #include "confdefs.h"
+ \
+ #ifdef HAVE_STANDARDS_H
+@@ -4136,21 +4406,30 @@
+ #endif
+ #include <$i>
+ 
+-EOF
+-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+-{ (eval echo configure:3759: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }
+-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+-if test -z "$ac_err"; then
++_ACEOF
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:4411: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++
++if test -z "$ac_cpp_err"; then
+   eval "ac_cv_header_$cv=yes"
+ else
+-  echo "$ac_err" >&5
++  cat conftest.err >&5
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_header_$cv=no"
+ fi
+ rm -f conftest*
++
+ fi
+-echo "configure:3771: result: `eval echo '${'ac_cv_header_$cv'}'`" >&5
++echo "configure:4432: result: `eval echo '${'ac_cv_header_$cv'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'ac_cv_header_$cv'}'`" >&6
+ ac_res=`eval echo \\$ac_cv_header_$cv`
+ if test "$ac_res" = yes; then
+@@ -4167,35 +4446,41 @@
+ for ac_header in netinet/ip.h netinet/tcp.h
+ do
+ ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
+-case "${CPPFLAGS+set} $ac_configure_args" in
+- *" CPPFLAGS="* );;
+- "set "*) ac_configure_args="CPPFLAGS='$CPPFLAGS' $ac_configure_args";;
+-esac
+-echo "configure:3790: checking for $ac_header" >&5
++
++echo "configure:4450: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 3796 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 4456 "configure"
+ #include "confdefs.h"
+ #include <$ac_header>
+ 
+-EOF
+-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+-{ (eval echo configure:3801: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }
+-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+-if test -z "$ac_err"; then
++_ACEOF
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:4462: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++
++if test -z "$ac_cpp_err"; then
+   eval "$ac_ac_Header=yes"
+ else
+-  echo "$ac_err" >&5
++  cat conftest.err >&5
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_Header=no"
+ fi
+ rm -f conftest*
++
+ fi
+-echo "configure:3813: result: `eval echo '${'$ac_ac_Header'}'`" >&5
++echo "configure:4483: result: `eval echo '${'$ac_ac_Header'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
+ if test `eval echo '${'$ac_ac_Header'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -4210,13 +4495,13 @@
+ for ac_func in getlogin setlogin
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:3825: checking for $ac_func" >&5
++echo "configure:4498: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 3831 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 4504 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -4245,17 +4530,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:3859: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:4535: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:3868: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:4544: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -4266,7 +4552,7 @@
+ done
+ 
+ if test "$ac_cv_func_getlogin" = yes; then
+-echo "configure:3877: checking if getlogin is posix" >&5
++echo "configure:4555: checking if getlogin is posix" >&5
+ echo $ECHO_N "checking if getlogin is posix... $ECHO_C" >&6
+ if test "${ac_cv_func_getlogin_posix+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -4279,7 +4565,7 @@
+ fi
+ 
+ fi
+-echo "configure:3888: result: $ac_cv_func_getlogin_posix" >&5
++echo "configure:4568: result: $ac_cv_func_getlogin_posix" >&5
+ echo "${ECHO_T}$ac_cv_func_getlogin_posix" >&6
+ if test "$ac_cv_func_getlogin_posix" = yes; then
+ 	
+@@ -4290,7 +4576,7 @@
+ fi
+ fi
+ 
+-echo "configure:3897: checking if realloc if broken" >&5
++echo "configure:4579: checking if realloc if broken" >&5
+ echo $ECHO_N "checking if realloc if broken... $ECHO_C" >&6
+ if test "${ac_cv_func_realloc_broken+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -4300,8 +4586,8 @@
+ if test "$cross_compiling" = yes; then
+   :
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 3907 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 4590 "configure"
+ #include "confdefs.h"
+ 
+ #include <stddef.h>
+@@ -4312,20 +4598,21 @@
+ 	return realloc(NULL, 17) == NULL;
+ }
+ 
+-EOF
+-if { (eval echo configure:3916: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
+-   test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null; then
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo configure:4603: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
++   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
+   :
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_func_realloc_broken=yes
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+ 
+ fi
+-echo "configure:3927: result: $ac_cv_func_realloc_broken" >&5
++echo "configure:4615: result: $ac_cv_func_realloc_broken" >&5
+ echo "${ECHO_T}$ac_cv_func_realloc_broken" >&6
+ if test "$ac_cv_func_realloc_broken" = yes ; then
+ 	
+@@ -4352,13 +4639,13 @@
+   WFLAGS_NOIMPLICITINT="-Wno-implicit-int"
+ fi
+ 
+-echo "configure:3950: checking for ssize_t" >&5
++echo "configure:4642: checking for ssize_t" >&5
+ echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
+ if test "${ac_cv_type_ssize_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 3956 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 4648 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -4366,7 +4653,7 @@
+ #include <stddef.h>
+ #endif
+ #include <unistd.h>
+-EOF
++_ACEOF
+ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+   egrep "ssize_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
+   ac_cv_type_ssize_t=yes
+@@ -4376,7 +4663,7 @@
+ rm -f conftest*
+ 
+ fi
+-echo "configure:3973: result: $ac_cv_type_ssize_t" >&5
++echo "configure:4666: result: $ac_cv_type_ssize_t" >&5
+ echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
+ if test $ac_cv_type_ssize_t = no; then
+ 
+@@ -4387,13 +4674,13 @@
+ fi
+ 
+ cv=`echo "long long" | sed 'y%./+- %__p__%'`
+-echo "configure:3981: checking for long long" >&5
++echo "configure:4677: checking for long long" >&5
+ echo $ECHO_N "checking for long long... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 3987 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 4683 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -4408,29 +4695,30 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:4002: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:4700: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_type_$cv=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_type_$cv=no"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "configure:4012: result: $ac_foo" >&5
++echo "configure:4710: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo long long | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "configure:4017: checking for long long" >&5
++	echo "configure:4715: checking for long long" >&5
+ echo $ECHO_N "checking for long long... $ECHO_C" >&6
+ if test "${ac_cv_type_long_long+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 4023 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 4721 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -4443,17 +4731,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:4037: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:4736: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_long_long=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_long_long=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:4046: result: $ac_cv_type_long_long" >&5
++echo "configure:4745: result: $ac_cv_type_long_long" >&5
+ echo "${ECHO_T}$ac_cv_type_long_long" >&6
+ if test $ac_cv_type_long_long = yes; then
+ 
+@@ -4519,35 +4808,41 @@
+ 
+ do
+ ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
+-case "${CPPFLAGS+set} $ac_configure_args" in
+- *" CPPFLAGS="* );;
+- "set "*) ac_configure_args="CPPFLAGS='$CPPFLAGS' $ac_configure_args";;
+-esac
+-echo "configure:4109: checking for $ac_header" >&5
++
++echo "configure:4812: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 4115 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 4818 "configure"
+ #include "confdefs.h"
+ #include <$ac_header>
+ 
+-EOF
+-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+-{ (eval echo configure:4120: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }
+-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+-if test -z "$ac_err"; then
++_ACEOF
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:4824: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++
++if test -z "$ac_cpp_err"; then
+   eval "$ac_ac_Header=yes"
+ else
+-  echo "$ac_err" >&5
++  cat conftest.err >&5
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_Header=no"
+ fi
+ rm -f conftest*
++
+ fi
+-echo "configure:4132: result: `eval echo '${'$ac_ac_Header'}'`" >&5
++echo "configure:4845: result: `eval echo '${'$ac_ac_Header'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
+ if test `eval echo '${'$ac_ac_Header'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -4582,27 +4877,27 @@
+ if test "$withval" = "no"; then
+ 	ac_cv_lib_ipv6=no
+ fi
+-fi
++fi;
+ if test "${ac_cv_lib_ipv6+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   v6type=unknown
+ v6lib=none
+ 
+-echo "configure:4167: checking ipv6 stack type" >&5
++echo "configure:4887: checking ipv6 stack type" >&5
+ echo $ECHO_N "checking ipv6 stack type... $ECHO_C" >&6
+ for i in v6d toshiba kame inria zeta linux; do
+ 	case $i in
+ 	v6d)
+-		cat >conftest.$ac_ext <<EOF
+-#line 4173 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 4893 "configure"
+ #include "confdefs.h"
+ dnl
+ #include </usr/local/v6/include/sys/types.h>
+ #ifdef __V6D__
+ yes
+ #endif
+-EOF
++_ACEOF
+ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+   egrep "yes" >/dev/null 2>&1; then
+   v6type=$i; v6lib=v6;
+@@ -4613,15 +4908,15 @@
+ 
+ 		;;
+ 	toshiba)
+-		cat >conftest.$ac_ext <<EOF
+-#line 4191 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 4912 "configure"
+ #include "confdefs.h"
+ dnl
+ #include <sys/param.h>
+ #ifdef _TOSHIBA_INET6
+ yes
+ #endif
+-EOF
++_ACEOF
+ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+   egrep "yes" >/dev/null 2>&1; then
+   v6type=$i; v6lib=inet6;
+@@ -4632,15 +4927,15 @@
+ 
+ 		;;
+ 	kame)
+-		cat >conftest.$ac_ext <<EOF
+-#line 4209 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 4931 "configure"
+ #include "confdefs.h"
+ dnl
+ #include <netinet/in.h>
+ #ifdef __KAME__
+ yes
+ #endif
+-EOF
++_ACEOF
+ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+   egrep "yes" >/dev/null 2>&1; then
+   v6type=$i; v6lib=inet6;
+@@ -4651,15 +4946,15 @@
+ 
+ 		;;
+ 	inria)
+-		cat >conftest.$ac_ext <<EOF
+-#line 4227 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 4950 "configure"
+ #include "confdefs.h"
+ dnl
+ #include <netinet/in.h>
+ #ifdef IPV6_INRIA_VERSION
+ yes
+ #endif
+-EOF
++_ACEOF
+ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+   egrep "yes" >/dev/null 2>&1; then
+   v6type=$i; CFLAGS="-DINET6 $CFLAGS"
+@@ -4668,15 +4963,15 @@
+ 
+ 		;;
+ 	zeta)
+-		cat >conftest.$ac_ext <<EOF
+-#line 4243 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 4967 "configure"
+ #include "confdefs.h"
+ dnl
+ #include <sys/param.h>
+ #ifdef _ZETA_MINAMI_INET6
+ yes
+ #endif
+-EOF
++_ACEOF
+ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+   egrep "yes" >/dev/null 2>&1; then
+   v6type=$i; v6lib=inet6;
+@@ -4699,7 +4994,7 @@
+ 		break
+ 	fi
+ done
+-echo "configure:4272: result: $v6type" >&5
++echo "configure:4997: result: $v6type" >&5
+ echo "${ECHO_T}$v6type" >&6
+ 
+ if test "$v6lib" != "none"; then
+@@ -4710,8 +5005,8 @@
+ 		fi
+ 	done
+ fi
+-cat >conftest.$ac_ext <<EOF
+-#line 4283 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 5009 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_SYS_TYPES_H
+@@ -4744,20 +5039,21 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:4311: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:5044: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_lib_ipv6=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_lib_ipv6=no
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+ 
+-echo "configure:4320: checking for IPv6" >&5
++echo "configure:5054: checking for IPv6" >&5
+ echo $ECHO_N "checking for IPv6... $ECHO_C" >&6
+-echo "configure:4322: result: $ac_cv_lib_ipv6" >&5
++echo "configure:5056: result: $ac_cv_lib_ipv6" >&5
+ echo "${ECHO_T}$ac_cv_lib_ipv6" >&6
+ if test "$ac_cv_lib_ipv6" = yes; then
+ 
+@@ -4767,7 +5063,7 @@
+ 
+ fi
+ 
+-echo "configure:4329: checking for socket" >&5
++echo "configure:5066: checking for socket" >&5
+ echo $ECHO_N "checking for socket... $ECHO_C" >&6
+ if test "${ac_cv_funclib_socket+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -4782,8 +5078,8 @@
+ 			ac_lib=""
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 4344 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 5082 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -4793,14 +5089,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:4354: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:5094: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_socket=$ac_lib; else ac_cv_funclib_socket=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_socket=\${ac_cv_funclib_socket-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -4815,13 +5112,13 @@
+ for ac_func in socket
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:4372: checking for $ac_func" >&5
++echo "configure:5115: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 4378 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 5121 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -4850,17 +5147,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:4406: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:5152: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:4415: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:5161: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -4884,13 +5182,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:4435: result: yes" >&5
++	echo "configure:5185: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_socket=no"
+ 	eval "LIB_socket="
+-	echo "configure:4441: result: no" >&5
++	echo "configure:5191: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -4904,7 +5202,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:4453: result: yes, in $ac_res" >&5
++	echo "configure:5205: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -4913,7 +5211,7 @@
+ 	LIBS="$LIB_socket $LIBS"
+ fi
+ 
+-echo "configure:4460: checking for gethostbyname" >&5
++echo "configure:5214: checking for gethostbyname" >&5
+ echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
+ if test "${ac_cv_funclib_gethostbyname+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -4928,8 +5226,8 @@
+ 			ac_lib=""
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 4475 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 5230 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -4939,14 +5237,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:4485: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:5242: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_gethostbyname=$ac_lib; else ac_cv_funclib_gethostbyname=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_gethostbyname=\${ac_cv_funclib_gethostbyname-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -4961,13 +5260,13 @@
+ for ac_func in gethostbyname
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:4503: checking for $ac_func" >&5
++echo "configure:5263: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 4509 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 5269 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -4996,17 +5295,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:4537: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:5300: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:4546: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:5309: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -5030,13 +5330,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:4566: result: yes" >&5
++	echo "configure:5333: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_gethostbyname=no"
+ 	eval "LIB_gethostbyname="
+-	echo "configure:4572: result: no" >&5
++	echo "configure:5339: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -5050,7 +5350,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:4584: result: yes, in $ac_res" >&5
++	echo "configure:5353: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -5059,7 +5359,7 @@
+ 	LIBS="$LIB_gethostbyname $LIBS"
+ fi
+ 
+-echo "configure:4591: checking for syslog" >&5
++echo "configure:5362: checking for syslog" >&5
+ echo $ECHO_N "checking for syslog... $ECHO_C" >&6
+ if test "${ac_cv_funclib_syslog+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -5074,8 +5374,8 @@
+ 			ac_lib=""
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 4606 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 5378 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -5085,14 +5385,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:4616: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:5390: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_syslog=$ac_lib; else ac_cv_funclib_syslog=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_syslog=\${ac_cv_funclib_syslog-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -5107,13 +5408,13 @@
+ for ac_func in syslog
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:4634: checking for $ac_func" >&5
++echo "configure:5411: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 4640 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 5417 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -5142,17 +5443,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:4668: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:5448: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:4677: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:5457: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -5176,13 +5478,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:4697: result: yes" >&5
++	echo "configure:5481: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_syslog=no"
+ 	eval "LIB_syslog="
+-	echo "configure:4703: result: no" >&5
++	echo "configure:5487: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -5196,7 +5498,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:4715: result: yes, in $ac_res" >&5
++	echo "configure:5501: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -5205,7 +5507,7 @@
+ 	LIBS="$LIB_syslog $LIBS"
+ fi
+ 
+-echo "configure:4722: checking for gethostbyname2" >&5
++echo "configure:5510: checking for gethostbyname2" >&5
+ echo $ECHO_N "checking for gethostbyname2... $ECHO_C" >&6
+ if test "${ac_cv_funclib_gethostbyname2+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -5220,8 +5522,8 @@
+ 			ac_lib=""
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 4737 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 5526 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -5231,14 +5533,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:4747: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:5538: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_gethostbyname2=$ac_lib; else ac_cv_funclib_gethostbyname2=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_gethostbyname2=\${ac_cv_funclib_gethostbyname2-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -5253,13 +5556,13 @@
+ for ac_func in gethostbyname2
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:4765: checking for $ac_func" >&5
++echo "configure:5559: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 4771 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 5565 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -5288,17 +5591,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:4799: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:5596: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:4808: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:5605: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -5322,13 +5626,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:4828: result: yes" >&5
++	echo "configure:5629: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_gethostbyname2=no"
+ 	eval "LIB_gethostbyname2="
+-	echo "configure:4834: result: no" >&5
++	echo "configure:5635: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -5342,7 +5646,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:4846: result: yes, in $ac_res" >&5
++	echo "configure:5649: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -5351,7 +5655,7 @@
+ 	LIBS="$LIB_gethostbyname2 $LIBS"
+ fi
+ 
+-echo "configure:4853: checking for res_search" >&5
++echo "configure:5658: checking for res_search" >&5
+ echo $ECHO_N "checking for res_search... $ECHO_C" >&6
+ if test "${ac_cv_funclib_res_search+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -5366,8 +5670,8 @@
+ 			ac_lib=""
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 4868 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 5674 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -5391,14 +5695,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:4891: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:5700: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_res_search=$ac_lib; else ac_cv_funclib_res_search=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_res_search=\${ac_cv_funclib_res_search-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -5413,13 +5718,13 @@
+ for ac_func in res_search
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:4909: checking for $ac_func" >&5
++echo "configure:5721: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 4915 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 5727 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -5448,17 +5753,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:4943: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:5758: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:4952: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:5767: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -5482,13 +5788,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:4972: result: yes" >&5
++	echo "configure:5791: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_res_search=no"
+ 	eval "LIB_res_search="
+-	echo "configure:4978: result: no" >&5
++	echo "configure:5797: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -5502,7 +5808,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:4990: result: yes, in $ac_res" >&5
++	echo "configure:5811: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -5511,7 +5817,7 @@
+ 	LIBS="$LIB_res_search $LIBS"
+ fi
+ 
+-echo "configure:4997: checking for dn_expand" >&5
++echo "configure:5820: checking for dn_expand" >&5
+ echo $ECHO_N "checking for dn_expand... $ECHO_C" >&6
+ if test "${ac_cv_funclib_dn_expand+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -5526,8 +5832,8 @@
+ 			ac_lib=""
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 5012 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 5836 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -5551,14 +5857,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:5035: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:5862: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_dn_expand=$ac_lib; else ac_cv_funclib_dn_expand=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_dn_expand=\${ac_cv_funclib_dn_expand-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -5573,13 +5880,13 @@
+ for ac_func in dn_expand
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:5053: checking for $ac_func" >&5
++echo "configure:5883: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 5059 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 5889 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -5608,17 +5915,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:5087: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:5920: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:5096: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:5929: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -5642,13 +5950,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:5116: result: yes" >&5
++	echo "configure:5953: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_dn_expand=no"
+ 	eval "LIB_dn_expand="
+-	echo "configure:5122: result: no" >&5
++	echo "configure:5959: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -5662,7 +5970,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:5134: result: yes, in $ac_res" >&5
++	echo "configure:5973: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -5671,7 +5979,7 @@
+ 	LIBS="$LIB_dn_expand $LIBS"
+ fi
+ 
+-echo "configure:5141: checking for working snprintf" >&5
++echo "configure:5982: checking for working snprintf" >&5
+ echo $ECHO_N "checking for working snprintf... $ECHO_C" >&6
+ if test "${ac_cv_func_snprintf_working+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -5680,8 +5988,8 @@
+ if test "$cross_compiling" = yes; then
+   :
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 5151 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 5992 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -5692,20 +6000,21 @@
+ 	snprintf(foo, 2, "12");
+ 	return strcmp(foo, "1");
+ }
+-EOF
+-if { (eval echo configure:5162: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
+-   test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null; then
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo configure:6005: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
++   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
+   :
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_func_snprintf_working=no
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+ 
+ fi
+-echo "configure:5173: result: $ac_cv_func_snprintf_working" >&5
++echo "configure:6017: result: $ac_cv_func_snprintf_working" >&5
+ echo "${ECHO_T}$ac_cv_func_snprintf_working" >&6
+ 
+ if test "$ac_cv_func_snprintf_working" = yes; then
+@@ -5718,13 +6027,13 @@
+ if test "$ac_cv_func_snprintf_working" = yes; then
+ 
+ if test "$ac_cv_func_snprintf+set" != set -o "$ac_cv_func_snprintf" = yes; then
+-echo "configure:5183: checking if snprintf needs a prototype" >&5
++echo "configure:6030: checking if snprintf needs a prototype" >&5
+ echo $ECHO_N "checking if snprintf needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_snprintf_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 5189 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 6036 "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
+ int
+@@ -5737,17 +6046,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:5202: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:6051: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_snprintf_noproto=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_func_snprintf_noproto=no"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:5211: result: $ac_cv_func_snprintf_noproto" >&5
++echo "configure:6060: result: $ac_cv_func_snprintf_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_snprintf_noproto" >&6
+ 
+ if test "$ac_cv_func_snprintf_noproto" = yes; then
+@@ -5762,7 +6072,7 @@
+ 
+ fi
+ 
+-echo "configure:5221: checking for working vsnprintf" >&5
++echo "configure:6075: checking for working vsnprintf" >&5
+ echo $ECHO_N "checking for working vsnprintf... $ECHO_C" >&6
+ if test "${ac_cv_func_vsnprintf_working+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -5771,8 +6081,8 @@
+ if test "$cross_compiling" = yes; then
+   :
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 5231 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 6085 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -5793,20 +6103,21 @@
+ {
+ 	return foo(0, "12");
+ }
+-EOF
+-if { (eval echo configure:5250: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
+-   test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null; then
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo configure:6108: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
++   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
+   :
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_func_vsnprintf_working=no
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+ 
+ fi
+-echo "configure:5261: result: $ac_cv_func_vsnprintf_working" >&5
++echo "configure:6120: result: $ac_cv_func_vsnprintf_working" >&5
+ echo "${ECHO_T}$ac_cv_func_vsnprintf_working" >&6
+ 
+ if test "$ac_cv_func_vsnprintf_working" = yes; then
+@@ -5819,13 +6130,13 @@
+ if test "$ac_cv_func_vsnprintf_working" = yes; then
+ 
+ if test "$ac_cv_func_vsnprintf+set" != set -o "$ac_cv_func_vsnprintf" = yes; then
+-echo "configure:5271: checking if vsnprintf needs a prototype" >&5
++echo "configure:6133: checking if vsnprintf needs a prototype" >&5
+ echo $ECHO_N "checking if vsnprintf needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_vsnprintf_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 5277 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 6139 "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
+ int
+@@ -5838,17 +6149,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:5290: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:6154: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_vsnprintf_noproto=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_func_vsnprintf_noproto=no"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:5299: result: $ac_cv_func_vsnprintf_noproto" >&5
++echo "configure:6163: result: $ac_cv_func_vsnprintf_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_vsnprintf_noproto" >&6
+ 
+ if test "$ac_cv_func_vsnprintf_noproto" = yes; then
+@@ -5863,14 +6175,14 @@
+ 
+ fi
+ 
+-echo "configure:5309: checking for working glob" >&5
++echo "configure:6178: checking for working glob" >&5
+ echo $ECHO_N "checking for working glob... $ECHO_C" >&6
+ if test "${ac_cv_func_glob_working+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   ac_cv_func_glob_working=yes
+-cat >conftest.$ac_ext <<EOF
+-#line 5316 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 6185 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -5884,17 +6196,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:5328: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:6201: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   :
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_func_glob_working=no
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:5337: result: $ac_cv_func_glob_working" >&5
++echo "configure:6210: result: $ac_cv_func_glob_working" >&5
+ echo "${ECHO_T}$ac_cv_func_glob_working" >&6
+ 
+ if test "$ac_cv_func_glob_working" = yes; then
+@@ -5907,13 +6220,13 @@
+ if test "$ac_cv_func_glob_working" = yes; then
+ 
+ if test "$ac_cv_func_glob+set" != set -o "$ac_cv_func_glob" = yes; then
+-echo "configure:5347: checking if glob needs a prototype" >&5
++echo "configure:6223: checking if glob needs a prototype" >&5
+ echo $ECHO_N "checking if glob needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_glob_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 5353 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 6229 "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
+ #include <glob.h>
+@@ -5927,17 +6240,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:5367: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:6245: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_glob_noproto=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_func_glob_noproto=no"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:5376: result: $ac_cv_func_glob_noproto" >&5
++echo "configure:6254: result: $ac_cv_func_glob_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_glob_noproto" >&6
+ 
+ if test "$ac_cv_func_glob_noproto" = yes; then
+@@ -5979,13 +6293,13 @@
+ 
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:5410: checking for $ac_func" >&5
++echo "configure:6296: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 5416 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 6302 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -6014,17 +6328,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:5444: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:6333: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:5453: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:6342: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -6038,7 +6353,7 @@
+ 	LIBOBJS="$LIBOBJS getcap.o"
+ fi
+ 
+-echo "configure:5464: checking for getsockopt" >&5
++echo "configure:6356: checking for getsockopt" >&5
+ echo $ECHO_N "checking for getsockopt... $ECHO_C" >&6
+ if test "${ac_cv_funclib_getsockopt+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -6053,8 +6368,8 @@
+ 			ac_lib=""
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 5479 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 6372 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_SYS_TYPES_H
+ #include <sys/types.h>
+@@ -6069,14 +6384,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:5495: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:6389: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_getsockopt=$ac_lib; else ac_cv_funclib_getsockopt=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_getsockopt=\${ac_cv_funclib_getsockopt-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -6091,13 +6407,13 @@
+ for ac_func in getsockopt
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:5513: checking for $ac_func" >&5
++echo "configure:6410: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 5519 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 6416 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -6126,17 +6442,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:5547: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:6447: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:5556: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:6456: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -6160,13 +6477,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:5576: result: yes" >&5
++	echo "configure:6480: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_getsockopt=no"
+ 	eval "LIB_getsockopt="
+-	echo "configure:5582: result: no" >&5
++	echo "configure:6486: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -6180,12 +6497,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:5594: result: yes, in $ac_res" >&5
++	echo "configure:6500: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "configure:5598: checking for setsockopt" >&5
++echo "configure:6505: checking for setsockopt" >&5
+ echo $ECHO_N "checking for setsockopt... $ECHO_C" >&6
+ if test "${ac_cv_funclib_setsockopt+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -6200,8 +6517,8 @@
+ 			ac_lib=""
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 5613 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 6521 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_SYS_TYPES_H
+ #include <sys/types.h>
+@@ -6216,14 +6533,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:5629: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:6538: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_setsockopt=$ac_lib; else ac_cv_funclib_setsockopt=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_setsockopt=\${ac_cv_funclib_setsockopt-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -6238,13 +6556,13 @@
+ for ac_func in setsockopt
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:5647: checking for $ac_func" >&5
++echo "configure:6559: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 5653 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 6565 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -6273,17 +6591,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:5681: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:6596: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:5690: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:6605: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -6307,13 +6626,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:5710: result: yes" >&5
++	echo "configure:6629: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_setsockopt=no"
+ 	eval "LIB_setsockopt="
+-	echo "configure:5716: result: no" >&5
++	echo "configure:6635: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -6327,12 +6646,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:5728: result: yes, in $ac_res" >&5
++	echo "configure:6649: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "configure:5732: checking for hstrerror" >&5
++echo "configure:6654: checking for hstrerror" >&5
+ echo $ECHO_N "checking for hstrerror... $ECHO_C" >&6
+ if test "${ac_cv_funclib_hstrerror+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -6347,8 +6666,8 @@
+ 			ac_lib=""
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 5747 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 6670 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_NETDB_H
+ #include <netdb.h>
+@@ -6360,14 +6679,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:5760: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:6684: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_hstrerror=$ac_lib; else ac_cv_funclib_hstrerror=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_hstrerror=\${ac_cv_funclib_hstrerror-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -6382,13 +6702,13 @@
+ for ac_func in hstrerror
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:5778: checking for $ac_func" >&5
++echo "configure:6705: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 5784 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 6711 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -6417,17 +6737,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:5812: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:6742: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:5821: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:6751: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -6451,13 +6772,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:5841: result: yes" >&5
++	echo "configure:6775: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_hstrerror=no"
+ 	eval "LIB_hstrerror="
+-	echo "configure:5847: result: no" >&5
++	echo "configure:6781: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -6471,7 +6792,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:5859: result: yes, in $ac_res" >&5
++	echo "configure:6795: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -6487,13 +6808,13 @@
+ if test "$ac_cv_func_hstrerror" = yes; then
+ 
+ if test "$ac_cv_func_hstrerror+set" != set -o "$ac_cv_func_hstrerror" = yes; then
+-echo "configure:5871: checking if hstrerror needs a prototype" >&5
++echo "configure:6811: checking if hstrerror needs a prototype" >&5
+ echo $ECHO_N "checking if hstrerror needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_hstrerror_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 5877 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 6817 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_NETDB_H
+@@ -6509,17 +6830,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:5892: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:6835: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_hstrerror_noproto=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_func_hstrerror_noproto=no"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:5901: result: $ac_cv_func_hstrerror_noproto" >&5
++echo "configure:6844: result: $ac_cv_func_hstrerror_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_hstrerror_noproto" >&6
+ 
+ if test "$ac_cv_func_hstrerror_noproto" = yes; then
+@@ -6537,13 +6859,13 @@
+ if test "$ac_cv_func_asprintf" = yes; then
+ 
+ if test "$ac_cv_func_asprintf+set" != set -o "$ac_cv_func_asprintf" = yes; then
+-echo "configure:5913: checking if asprintf needs a prototype" >&5
++echo "configure:6862: checking if asprintf needs a prototype" >&5
+ echo $ECHO_N "checking if asprintf needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_asprintf_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 5919 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 6868 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -6558,17 +6880,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:5933: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:6885: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_asprintf_noproto=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_func_asprintf_noproto=no"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:5942: result: $ac_cv_func_asprintf_noproto" >&5
++echo "configure:6894: result: $ac_cv_func_asprintf_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_asprintf_noproto" >&6
+ 
+ if test "$ac_cv_func_asprintf_noproto" = yes; then
+@@ -6584,13 +6907,13 @@
+ if test "$ac_cv_func_vasprintf" = yes; then
+ 
+ if test "$ac_cv_func_vasprintf+set" != set -o "$ac_cv_func_vasprintf" = yes; then
+-echo "configure:5954: checking if vasprintf needs a prototype" >&5
++echo "configure:6910: checking if vasprintf needs a prototype" >&5
+ echo $ECHO_N "checking if vasprintf needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_vasprintf_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 5960 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 6916 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -6605,17 +6928,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:5974: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:6933: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_vasprintf_noproto=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_func_vasprintf_noproto=no"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:5983: result: $ac_cv_func_vasprintf_noproto" >&5
++echo "configure:6942: result: $ac_cv_func_vasprintf_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_vasprintf_noproto" >&6
+ 
+ if test "$ac_cv_func_vasprintf_noproto" = yes; then
+@@ -6631,13 +6955,13 @@
+ if test "$ac_cv_func_asnprintf" = yes; then
+ 
+ if test "$ac_cv_func_asnprintf+set" != set -o "$ac_cv_func_asnprintf" = yes; then
+-echo "configure:5995: checking if asnprintf needs a prototype" >&5
++echo "configure:6958: checking if asnprintf needs a prototype" >&5
+ echo $ECHO_N "checking if asnprintf needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_asnprintf_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 6001 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 6964 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -6652,17 +6976,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:6015: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:6981: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_asnprintf_noproto=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_func_asnprintf_noproto=no"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:6024: result: $ac_cv_func_asnprintf_noproto" >&5
++echo "configure:6990: result: $ac_cv_func_asnprintf_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_asnprintf_noproto" >&6
+ 
+ if test "$ac_cv_func_asnprintf_noproto" = yes; then
+@@ -6678,13 +7003,13 @@
+ if test "$ac_cv_func_vasnprintf" = yes; then
+ 
+ if test "$ac_cv_func_vasnprintf+set" != set -o "$ac_cv_func_vasnprintf" = yes; then
+-echo "configure:6036: checking if vasnprintf needs a prototype" >&5
++echo "configure:7006: checking if vasnprintf needs a prototype" >&5
+ echo $ECHO_N "checking if vasnprintf needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_vasnprintf_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 6042 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 7012 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -6699,17 +7024,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:6056: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:7029: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_vasnprintf_noproto=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_func_vasnprintf_noproto=no"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:6065: result: $ac_cv_func_vasnprintf_noproto" >&5
++echo "configure:7038: result: $ac_cv_func_vasnprintf_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_vasnprintf_noproto" >&6
+ 
+ if test "$ac_cv_func_vasnprintf_noproto" = yes; then
+@@ -6723,7 +7049,7 @@
+ fi
+ fi
+ 
+-echo "configure:6075: checking for pidfile" >&5
++echo "configure:7052: checking for pidfile" >&5
+ echo $ECHO_N "checking for pidfile... $ECHO_C" >&6
+ if test "${ac_cv_funclib_pidfile+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -6738,8 +7064,8 @@
+ 			ac_lib=""
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 6090 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 7068 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_UTIL_H
+ #include <util.h>
+@@ -6751,14 +7077,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:6103: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:7082: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_pidfile=$ac_lib; else ac_cv_funclib_pidfile=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_pidfile=\${ac_cv_funclib_pidfile-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -6773,13 +7100,13 @@
+ for ac_func in pidfile
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:6121: checking for $ac_func" >&5
++echo "configure:7103: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 6127 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 7109 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -6808,17 +7135,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:6155: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:7140: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:6164: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:7149: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -6842,13 +7170,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:6184: result: yes" >&5
++	echo "configure:7173: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_pidfile=no"
+ 	eval "LIB_pidfile="
+-	echo "configure:6190: result: no" >&5
++	echo "configure:7179: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -6862,7 +7190,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:6202: result: yes, in $ac_res" >&5
++	echo "configure:7193: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -6938,13 +7266,13 @@
+ 
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:6276: checking for $ac_func" >&5
++echo "configure:7269: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 6282 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 7275 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -6973,17 +7301,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:6310: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:7306: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:6319: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:7315: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+ 
+@@ -7070,13 +7399,13 @@
+ 
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:6401: checking for $ac_func" >&5
++echo "configure:7402: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 6407 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 7408 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -7105,17 +7434,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:6435: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:7439: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:6444: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:7448: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -7129,13 +7459,13 @@
+ done
+ 
+ if test "$ac_cv_func_setenv+set" != set -o "$ac_cv_func_setenv" = yes; then
+-echo "configure:6455: checking if setenv needs a prototype" >&5
++echo "configure:7462: checking if setenv needs a prototype" >&5
+ echo $ECHO_N "checking if setenv needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_setenv_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 6461 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 7468 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ int
+@@ -7148,17 +7478,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:6474: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:7483: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_setenv_noproto=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_func_setenv_noproto=no"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:6483: result: $ac_cv_func_setenv_noproto" >&5
++echo "configure:7492: result: $ac_cv_func_setenv_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_setenv_noproto" >&6
+ 
+ if test "$ac_cv_func_setenv_noproto" = yes; then
+@@ -7172,13 +7503,13 @@
+ fi
+ 
+ if test "$ac_cv_func_unsetenv+set" != set -o "$ac_cv_func_unsetenv" = yes; then
+-echo "configure:6493: checking if unsetenv needs a prototype" >&5
++echo "configure:7506: checking if unsetenv needs a prototype" >&5
+ echo $ECHO_N "checking if unsetenv needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_unsetenv_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 6499 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 7512 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ int
+@@ -7191,17 +7522,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:6512: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:7527: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_unsetenv_noproto=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_func_unsetenv_noproto=no"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:6521: result: $ac_cv_func_unsetenv_noproto" >&5
++echo "configure:7536: result: $ac_cv_func_unsetenv_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_unsetenv_noproto" >&6
+ 
+ if test "$ac_cv_func_unsetenv_noproto" = yes; then
+@@ -7215,13 +7547,13 @@
+ fi
+ 
+ if test "$ac_cv_func_gethostname+set" != set -o "$ac_cv_func_gethostname" = yes; then
+-echo "configure:6531: checking if gethostname needs a prototype" >&5
++echo "configure:7550: checking if gethostname needs a prototype" >&5
+ echo $ECHO_N "checking if gethostname needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_gethostname_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 6537 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 7556 "configure"
+ #include "confdefs.h"
+ #include <unistd.h>
+ int
+@@ -7234,17 +7566,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:6550: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:7571: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_gethostname_noproto=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_func_gethostname_noproto=no"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:6559: result: $ac_cv_func_gethostname_noproto" >&5
++echo "configure:7580: result: $ac_cv_func_gethostname_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_gethostname_noproto" >&6
+ 
+ if test "$ac_cv_func_gethostname_noproto" = yes; then
+@@ -7258,13 +7591,13 @@
+ fi
+ 
+ if test "$ac_cv_func_mkstemp+set" != set -o "$ac_cv_func_mkstemp" = yes; then
+-echo "configure:6569: checking if mkstemp needs a prototype" >&5
++echo "configure:7594: checking if mkstemp needs a prototype" >&5
+ echo $ECHO_N "checking if mkstemp needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_mkstemp_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 6575 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 7600 "configure"
+ #include "confdefs.h"
+ #include <unistd.h>
+ int
+@@ -7277,17 +7610,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:6588: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:7615: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_mkstemp_noproto=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_func_mkstemp_noproto=no"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:6597: result: $ac_cv_func_mkstemp_noproto" >&5
++echo "configure:7624: result: $ac_cv_func_mkstemp_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_mkstemp_noproto" >&6
+ 
+ if test "$ac_cv_func_mkstemp_noproto" = yes; then
+@@ -7301,13 +7635,13 @@
+ fi
+ 
+ if test "$ac_cv_func_getusershell+set" != set -o "$ac_cv_func_getusershell" = yes; then
+-echo "configure:6607: checking if getusershell needs a prototype" >&5
++echo "configure:7638: checking if getusershell needs a prototype" >&5
+ echo $ECHO_N "checking if getusershell needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_getusershell_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 6613 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 7644 "configure"
+ #include "confdefs.h"
+ #include <unistd.h>
+ int
+@@ -7320,17 +7654,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:6626: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:7659: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_getusershell_noproto=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_func_getusershell_noproto=no"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:6635: result: $ac_cv_func_getusershell_noproto" >&5
++echo "configure:7668: result: $ac_cv_func_getusershell_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_getusershell_noproto" >&6
+ 
+ if test "$ac_cv_func_getusershell_noproto" = yes; then
+@@ -7344,13 +7679,13 @@
+ fi
+ 
+ if test "$ac_cv_func_inet_aton+set" != set -o "$ac_cv_func_inet_aton" = yes; then
+-echo "configure:6645: checking if inet_aton needs a prototype" >&5
++echo "configure:7682: checking if inet_aton needs a prototype" >&5
+ echo $ECHO_N "checking if inet_aton needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_inet_aton_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 6651 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 7688 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_SYS_TYPES_H
+@@ -7375,17 +7710,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:6675: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:7715: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_inet_aton_noproto=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_func_inet_aton_noproto=no"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:6684: result: $ac_cv_func_inet_aton_noproto" >&5
++echo "configure:7724: result: $ac_cv_func_inet_aton_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_inet_aton_noproto" >&6
+ 
+ if test "$ac_cv_func_inet_aton_noproto" = yes; then
+@@ -7398,7 +7734,7 @@
+ 
+ fi
+ 
+-echo "configure:6693: checking for crypt" >&5
++echo "configure:7737: checking for crypt" >&5
+ echo $ECHO_N "checking for crypt... $ECHO_C" >&6
+ if test "${ac_cv_funclib_crypt+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -7413,8 +7749,8 @@
+ 			ac_lib=""
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 6708 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 7753 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -7424,14 +7760,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:6718: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:7765: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_crypt=$ac_lib; else ac_cv_funclib_crypt=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_crypt=\${ac_cv_funclib_crypt-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -7446,13 +7783,13 @@
+ for ac_func in crypt
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:6736: checking for $ac_func" >&5
++echo "configure:7786: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 6742 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 7792 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -7481,17 +7818,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:6770: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:7823: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:6779: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:7832: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -7515,13 +7853,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:6799: result: yes" >&5
++	echo "configure:7856: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_crypt=no"
+ 	eval "LIB_crypt="
+-	echo "configure:6805: result: no" >&5
++	echo "configure:7862: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -7535,18 +7873,18 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:6817: result: yes, in $ac_res" >&5
++	echo "configure:7876: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "configure:6821: checking if gethostbyname is compatible with system prototype" >&5
++echo "configure:7881: checking if gethostbyname is compatible with system prototype" >&5
+ echo $ECHO_N "checking if gethostbyname is compatible with system prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_gethostbyname_proto_compat+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 6827 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 7887 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_SYS_TYPES_H
+@@ -7572,17 +7910,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:6852: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:7915: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_gethostbyname_proto_compat=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_func_gethostbyname_proto_compat=no"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:6861: result: $ac_cv_func_gethostbyname_proto_compat" >&5
++echo "configure:7924: result: $ac_cv_func_gethostbyname_proto_compat" >&5
+ echo "${ECHO_T}$ac_cv_func_gethostbyname_proto_compat" >&6
+ 
+ if test "$ac_cv_func_gethostbyname_proto_compat" = yes; then
+@@ -7593,13 +7932,13 @@
+ 
+ fi
+ 
+-echo "configure:6869: checking if gethostbyaddr is compatible with system prototype" >&5
++echo "configure:7935: checking if gethostbyaddr is compatible with system prototype" >&5
+ echo $ECHO_N "checking if gethostbyaddr is compatible with system prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_gethostbyaddr_proto_compat+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 6875 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 7941 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_SYS_TYPES_H
+@@ -7625,17 +7964,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:6900: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:7969: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_gethostbyaddr_proto_compat=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_func_gethostbyaddr_proto_compat=no"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:6909: result: $ac_cv_func_gethostbyaddr_proto_compat" >&5
++echo "configure:7978: result: $ac_cv_func_gethostbyaddr_proto_compat" >&5
+ echo "${ECHO_T}$ac_cv_func_gethostbyaddr_proto_compat" >&6
+ 
+ if test "$ac_cv_func_gethostbyaddr_proto_compat" = yes; then
+@@ -7646,13 +7986,13 @@
+ 
+ fi
+ 
+-echo "configure:6917: checking if getservbyname is compatible with system prototype" >&5
++echo "configure:7989: checking if getservbyname is compatible with system prototype" >&5
+ echo $ECHO_N "checking if getservbyname is compatible with system prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_getservbyname_proto_compat+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 6923 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 7995 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_SYS_TYPES_H
+@@ -7678,17 +8018,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:6948: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:8023: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_getservbyname_proto_compat=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_func_getservbyname_proto_compat=no"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:6957: result: $ac_cv_func_getservbyname_proto_compat" >&5
++echo "configure:8032: result: $ac_cv_func_getservbyname_proto_compat" >&5
+ echo "${ECHO_T}$ac_cv_func_getservbyname_proto_compat" >&6
+ 
+ if test "$ac_cv_func_getservbyname_proto_compat" = yes; then
+@@ -7699,13 +8040,13 @@
+ 
+ fi
+ 
+-echo "configure:6965: checking if getsockname is compatible with system prototype" >&5
++echo "configure:8043: checking if getsockname is compatible with system prototype" >&5
+ echo $ECHO_N "checking if getsockname is compatible with system prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_getsockname_proto_compat+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 6971 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 8049 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_SYS_TYPES_H
+@@ -7722,17 +8063,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:6987: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:8068: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_getsockname_proto_compat=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_func_getsockname_proto_compat=no"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:6996: result: $ac_cv_func_getsockname_proto_compat" >&5
++echo "configure:8077: result: $ac_cv_func_getsockname_proto_compat" >&5
+ echo "${ECHO_T}$ac_cv_func_getsockname_proto_compat" >&6
+ 
+ if test "$ac_cv_func_getsockname_proto_compat" = yes; then
+@@ -7743,13 +8085,13 @@
+ 
+ fi
+ 
+-echo "configure:7004: checking if openlog is compatible with system prototype" >&5
++echo "configure:8088: checking if openlog is compatible with system prototype" >&5
+ echo $ECHO_N "checking if openlog is compatible with system prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_openlog_proto_compat+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 7010 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 8094 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_SYSLOG_H
+@@ -7763,17 +8105,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:7023: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:8110: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_openlog_proto_compat=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_func_openlog_proto_compat=no"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:7032: result: $ac_cv_func_openlog_proto_compat" >&5
++echo "configure:8119: result: $ac_cv_func_openlog_proto_compat" >&5
+ echo "${ECHO_T}$ac_cv_func_openlog_proto_compat" >&6
+ 
+ if test "$ac_cv_func_openlog_proto_compat" = yes; then
+@@ -7785,13 +8128,13 @@
+ fi
+ 
+ if test "$ac_cv_func_crypt+set" != set -o "$ac_cv_func_crypt" = yes; then
+-echo "configure:7041: checking if crypt needs a prototype" >&5
++echo "configure:8131: checking if crypt needs a prototype" >&5
+ echo $ECHO_N "checking if crypt needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_crypt_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 7047 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 8137 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_CRYPT_H
+@@ -7811,17 +8154,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:7065: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:8159: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_crypt_noproto=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_func_crypt_noproto=no"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:7074: result: $ac_cv_func_crypt_noproto" >&5
++echo "configure:8168: result: $ac_cv_func_crypt_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_crypt_noproto" >&6
+ 
+ if test "$ac_cv_func_crypt_noproto" = yes; then
+@@ -7835,13 +8179,13 @@
+ fi
+ 
+ if test "$ac_cv_func_strtok_r+set" != set -o "$ac_cv_func_strtok_r" = yes; then
+-echo "configure:7084: checking if strtok_r needs a prototype" >&5
++echo "configure:8182: checking if strtok_r needs a prototype" >&5
+ echo $ECHO_N "checking if strtok_r needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_strtok_r_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 7090 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 8188 "configure"
+ #include "confdefs.h"
+ 
+ #include <string.h>
+@@ -7856,17 +8200,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:7103: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:8205: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_strtok_r_noproto=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_func_strtok_r_noproto=no"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:7112: result: $ac_cv_func_strtok_r_noproto" >&5
++echo "configure:8214: result: $ac_cv_func_strtok_r_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_strtok_r_noproto" >&6
+ 
+ if test "$ac_cv_func_strtok_r_noproto" = yes; then
+@@ -7880,13 +8225,13 @@
+ fi
+ 
+ if test "$ac_cv_func_strsep+set" != set -o "$ac_cv_func_strsep" = yes; then
+-echo "configure:7122: checking if strsep needs a prototype" >&5
++echo "configure:8228: checking if strsep needs a prototype" >&5
+ echo $ECHO_N "checking if strsep needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_strsep_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 7128 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 8234 "configure"
+ #include "confdefs.h"
+ 
+ #include <string.h>
+@@ -7901,17 +8246,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:7141: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:8251: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_strsep_noproto=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_func_strsep_noproto=no"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:7150: result: $ac_cv_func_strsep_noproto" >&5
++echo "configure:8260: result: $ac_cv_func_strsep_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_strsep_noproto" >&6
+ 
+ if test "$ac_cv_func_strsep_noproto" = yes; then
+@@ -7924,14 +8270,14 @@
+ 
+ fi
+ 
+-echo "configure:7159: checking for h_errno" >&5
++echo "configure:8273: checking for h_errno" >&5
+ echo $ECHO_N "checking for h_errno... $ECHO_C" >&6
+ if test "${ac_cv_var_h_errno+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-cat >conftest.$ac_ext <<EOF
+-#line 7165 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 8280 "configure"
+ #include "confdefs.h"
+ extern int h_errno;
+ int foo() { return h_errno; }
+@@ -7942,20 +8288,21 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:7177: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:8293: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_var_h_errno=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_var_h_errno=no
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 
+ fi
+ 
+ ac_foo=`eval echo \\$ac_cv_var_h_errno`
+-echo "configure:7187: result: $ac_foo" >&5
++echo "configure:8305: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+ 	
+@@ -7964,14 +8311,14 @@
+ EOF
+ 
+ 	
+-echo "configure:7195: checking if h_errno is properly declared" >&5
++echo "configure:8314: checking if h_errno is properly declared" >&5
+ echo $ECHO_N "checking if h_errno is properly declared... $ECHO_C" >&6
+ if test "${ac_cv_var_h_errno_declaration+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-cat >conftest.$ac_ext <<EOF
+-#line 7201 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 8321 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_SYS_TYPES_H
+ #include <sys/types.h>
+@@ -7987,19 +8334,20 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:7218: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:8339: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_var_h_errno_declaration=no"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_var_h_errno_declaration=yes"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ 
+ fi
+ 
+-echo "configure:7227: result: $ac_cv_var_h_errno_declaration" >&5
++echo "configure:8350: result: $ac_cv_var_h_errno_declaration" >&5
+ echo "${ECHO_T}$ac_cv_var_h_errno_declaration" >&6
+ if eval "test \"\$ac_cv_var_h_errno_declaration\" = yes"; then
+ 	
+@@ -8011,14 +8359,14 @@
+ 
+ fi
+ 
+-echo "configure:7236: checking for h_errlist" >&5
++echo "configure:8362: checking for h_errlist" >&5
+ echo $ECHO_N "checking for h_errlist... $ECHO_C" >&6
+ if test "${ac_cv_var_h_errlist+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-cat >conftest.$ac_ext <<EOF
+-#line 7242 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 8369 "configure"
+ #include "confdefs.h"
+ extern int h_errlist;
+ int foo() { return h_errlist; }
+@@ -8029,20 +8377,21 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:7254: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:8382: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_var_h_errlist=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_var_h_errlist=no
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 
+ fi
+ 
+ ac_foo=`eval echo \\$ac_cv_var_h_errlist`
+-echo "configure:7264: result: $ac_foo" >&5
++echo "configure:8394: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+ 	
+@@ -8051,14 +8400,14 @@
+ EOF
+ 
+ 	
+-echo "configure:7272: checking if h_errlist is properly declared" >&5
++echo "configure:8403: checking if h_errlist is properly declared" >&5
+ echo $ECHO_N "checking if h_errlist is properly declared... $ECHO_C" >&6
+ if test "${ac_cv_var_h_errlist_declaration+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-cat >conftest.$ac_ext <<EOF
+-#line 7278 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 8410 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_NETDB_H
+ #include <netdb.h>
+@@ -8071,19 +8420,20 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:7292: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:8425: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_var_h_errlist_declaration=no"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_var_h_errlist_declaration=yes"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ 
+ fi
+ 
+-echo "configure:7301: result: $ac_cv_var_h_errlist_declaration" >&5
++echo "configure:8436: result: $ac_cv_var_h_errlist_declaration" >&5
+ echo "${ECHO_T}$ac_cv_var_h_errlist_declaration" >&6
+ if eval "test \"\$ac_cv_var_h_errlist_declaration\" = yes"; then
+ 	
+@@ -8095,14 +8445,14 @@
+ 
+ fi
+ 
+-echo "configure:7310: checking for h_nerr" >&5
++echo "configure:8448: checking for h_nerr" >&5
+ echo $ECHO_N "checking for h_nerr... $ECHO_C" >&6
+ if test "${ac_cv_var_h_nerr+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-cat >conftest.$ac_ext <<EOF
+-#line 7316 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 8455 "configure"
+ #include "confdefs.h"
+ extern int h_nerr;
+ int foo() { return h_nerr; }
+@@ -8113,20 +8463,21 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:7328: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:8468: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_var_h_nerr=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_var_h_nerr=no
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 
+ fi
+ 
+ ac_foo=`eval echo \\$ac_cv_var_h_nerr`
+-echo "configure:7338: result: $ac_foo" >&5
++echo "configure:8480: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+ 	
+@@ -8135,14 +8486,14 @@
+ EOF
+ 
+ 	
+-echo "configure:7346: checking if h_nerr is properly declared" >&5
++echo "configure:8489: checking if h_nerr is properly declared" >&5
+ echo $ECHO_N "checking if h_nerr is properly declared... $ECHO_C" >&6
+ if test "${ac_cv_var_h_nerr_declaration+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-cat >conftest.$ac_ext <<EOF
+-#line 7352 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 8496 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_NETDB_H
+ #include <netdb.h>
+@@ -8155,19 +8506,20 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:7366: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:8511: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_var_h_nerr_declaration=no"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_var_h_nerr_declaration=yes"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ 
+ fi
+ 
+-echo "configure:7375: result: $ac_cv_var_h_nerr_declaration" >&5
++echo "configure:8522: result: $ac_cv_var_h_nerr_declaration" >&5
+ echo "${ECHO_T}$ac_cv_var_h_nerr_declaration" >&6
+ if eval "test \"\$ac_cv_var_h_nerr_declaration\" = yes"; then
+ 	
+@@ -8179,14 +8531,14 @@
+ 
+ fi
+ 
+-echo "configure:7384: checking for __progname" >&5
++echo "configure:8534: checking for __progname" >&5
+ echo $ECHO_N "checking for __progname... $ECHO_C" >&6
+ if test "${ac_cv_var___progname+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-cat >conftest.$ac_ext <<EOF
+-#line 7390 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 8541 "configure"
+ #include "confdefs.h"
+ extern int __progname;
+ int foo() { return __progname; }
+@@ -8197,20 +8549,21 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:7402: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:8554: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_var___progname=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_var___progname=no
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 
+ fi
+ 
+ ac_foo=`eval echo \\$ac_cv_var___progname`
+-echo "configure:7412: result: $ac_foo" >&5
++echo "configure:8566: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+ 	
+@@ -8219,14 +8572,14 @@
+ EOF
+ 
+ 	
+-echo "configure:7420: checking if __progname is properly declared" >&5
++echo "configure:8575: checking if __progname is properly declared" >&5
+ echo $ECHO_N "checking if __progname is properly declared... $ECHO_C" >&6
+ if test "${ac_cv_var___progname_declaration+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-cat >conftest.$ac_ext <<EOF
+-#line 7426 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 8582 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_ERR_H
+ #include <err.h>
+@@ -8239,19 +8592,20 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:7440: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:8597: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_var___progname_declaration=no"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_var___progname_declaration=yes"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ 
+ fi
+ 
+-echo "configure:7449: result: $ac_cv_var___progname_declaration" >&5
++echo "configure:8608: result: $ac_cv_var___progname_declaration" >&5
+ echo "${ECHO_T}$ac_cv_var___progname_declaration" >&6
+ if eval "test \"\$ac_cv_var___progname_declaration\" = yes"; then
+ 	
+@@ -8263,14 +8617,14 @@
+ 
+ fi
+ 
+-echo "configure:7458: checking if optarg is properly declared" >&5
++echo "configure:8620: checking if optarg is properly declared" >&5
+ echo $ECHO_N "checking if optarg is properly declared... $ECHO_C" >&6
+ if test "${ac_cv_var_optarg_declaration+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-cat >conftest.$ac_ext <<EOF
+-#line 7464 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 8627 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ #ifdef HAVE_UNISTD_H
+@@ -8284,19 +8638,20 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:7479: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:8643: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_var_optarg_declaration=no"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_var_optarg_declaration=yes"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ 
+ fi
+ 
+-echo "configure:7488: result: $ac_cv_var_optarg_declaration" >&5
++echo "configure:8654: result: $ac_cv_var_optarg_declaration" >&5
+ echo "${ECHO_T}$ac_cv_var_optarg_declaration" >&6
+ if eval "test \"\$ac_cv_var_optarg_declaration\" = yes"; then
+ 	
+@@ -8306,14 +8661,14 @@
+ 
+ fi
+ 
+-echo "configure:7496: checking if optind is properly declared" >&5
++echo "configure:8664: checking if optind is properly declared" >&5
+ echo $ECHO_N "checking if optind is properly declared... $ECHO_C" >&6
+ if test "${ac_cv_var_optind_declaration+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-cat >conftest.$ac_ext <<EOF
+-#line 7502 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 8671 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ #ifdef HAVE_UNISTD_H
+@@ -8327,19 +8682,20 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:7517: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:8687: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_var_optind_declaration=no"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_var_optind_declaration=yes"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ 
+ fi
+ 
+-echo "configure:7526: result: $ac_cv_var_optind_declaration" >&5
++echo "configure:8698: result: $ac_cv_var_optind_declaration" >&5
+ echo "${ECHO_T}$ac_cv_var_optind_declaration" >&6
+ if eval "test \"\$ac_cv_var_optind_declaration\" = yes"; then
+ 	
+@@ -8349,14 +8705,14 @@
+ 
+ fi
+ 
+-echo "configure:7534: checking if opterr is properly declared" >&5
++echo "configure:8708: checking if opterr is properly declared" >&5
+ echo $ECHO_N "checking if opterr is properly declared... $ECHO_C" >&6
+ if test "${ac_cv_var_opterr_declaration+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-cat >conftest.$ac_ext <<EOF
+-#line 7540 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 8715 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ #ifdef HAVE_UNISTD_H
+@@ -8370,19 +8726,20 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:7555: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:8731: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_var_opterr_declaration=no"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_var_opterr_declaration=yes"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ 
+ fi
+ 
+-echo "configure:7564: result: $ac_cv_var_opterr_declaration" >&5
++echo "configure:8742: result: $ac_cv_var_opterr_declaration" >&5
+ echo "${ECHO_T}$ac_cv_var_opterr_declaration" >&6
+ if eval "test \"\$ac_cv_var_opterr_declaration\" = yes"; then
+ 	
+@@ -8392,14 +8749,14 @@
+ 
+ fi
+ 
+-echo "configure:7572: checking if optopt is properly declared" >&5
++echo "configure:8752: checking if optopt is properly declared" >&5
+ echo $ECHO_N "checking if optopt is properly declared... $ECHO_C" >&6
+ if test "${ac_cv_var_optopt_declaration+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-cat >conftest.$ac_ext <<EOF
+-#line 7578 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 8759 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ #ifdef HAVE_UNISTD_H
+@@ -8413,19 +8770,20 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:7593: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:8775: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_var_optopt_declaration=no"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_var_optopt_declaration=yes"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ 
+ fi
+ 
+-echo "configure:7602: result: $ac_cv_var_optopt_declaration" >&5
++echo "configure:8786: result: $ac_cv_var_optopt_declaration" >&5
+ echo "${ECHO_T}$ac_cv_var_optopt_declaration" >&6
+ if eval "test \"\$ac_cv_var_optopt_declaration\" = yes"; then
+ 	
+@@ -8435,14 +8793,14 @@
+ 
+ fi
+ 
+-echo "configure:7610: checking if environ is properly declared" >&5
++echo "configure:8796: checking if environ is properly declared" >&5
+ echo $ECHO_N "checking if environ is properly declared... $ECHO_C" >&6
+ if test "${ac_cv_var_environ_declaration+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-cat >conftest.$ac_ext <<EOF
+-#line 7616 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 8803 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ extern struct { int foo; } environ;
+@@ -8453,19 +8811,20 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:7628: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:8816: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_var_environ_declaration=no"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_var_environ_declaration=yes"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ 
+ fi
+ 
+-echo "configure:7637: result: $ac_cv_var_environ_declaration" >&5
++echo "configure:8827: result: $ac_cv_var_environ_declaration" >&5
+ echo "${ECHO_T}$ac_cv_var_environ_declaration" >&6
+ if eval "test \"\$ac_cv_var_environ_declaration\" = yes"; then
+ 	
+@@ -8475,14 +8834,14 @@
+ 
+ fi
+ 
+-echo "configure:7645: checking for tm_gmtoff in struct tm" >&5
++echo "configure:8837: checking for tm_gmtoff in struct tm" >&5
+ echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_tm_tm_gmtoff+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-cat >conftest.$ac_ext <<EOF
+-#line 7651 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 8844 "configure"
+ #include "confdefs.h"
+ #include <time.h>
+ int
+@@ -8492,17 +8851,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:7662: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:8856: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_tm_tm_gmtoff=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_struct_tm_tm_gmtoff=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:7671: result: $ac_cv_type_struct_tm_tm_gmtoff" >&5
++echo "configure:8865: result: $ac_cv_type_struct_tm_tm_gmtoff" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_tm_tm_gmtoff" >&6
+ if test "$ac_cv_type_struct_tm_tm_gmtoff" = yes; then
+ 	
+@@ -8514,14 +8874,14 @@
+ 	
+ fi
+ 
+-echo "configure:7681: checking for tm_zone in struct tm" >&5
++echo "configure:8877: checking for tm_zone in struct tm" >&5
+ echo $ECHO_N "checking for tm_zone in struct tm... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_tm_tm_zone+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-cat >conftest.$ac_ext <<EOF
+-#line 7687 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 8884 "configure"
+ #include "confdefs.h"
+ #include <time.h>
+ int
+@@ -8531,17 +8891,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:7698: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:8896: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_tm_tm_zone=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_struct_tm_tm_zone=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:7707: result: $ac_cv_type_struct_tm_tm_zone" >&5
++echo "configure:8905: result: $ac_cv_type_struct_tm_tm_zone" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_tm_tm_zone" >&6
+ if test "$ac_cv_type_struct_tm_tm_zone" = yes; then
+ 	
+@@ -8553,14 +8914,14 @@
+ 	
+ fi
+ 
+-echo "configure:7717: checking for timezone" >&5
++echo "configure:8917: checking for timezone" >&5
+ echo $ECHO_N "checking for timezone... $ECHO_C" >&6
+ if test "${ac_cv_var_timezone+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-cat >conftest.$ac_ext <<EOF
+-#line 7723 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 8924 "configure"
+ #include "confdefs.h"
+ extern int timezone;
+ int foo() { return timezone; }
+@@ -8571,20 +8932,21 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:7735: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:8937: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_var_timezone=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_var_timezone=no
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 
+ fi
+ 
+ ac_foo=`eval echo \\$ac_cv_var_timezone`
+-echo "configure:7745: result: $ac_foo" >&5
++echo "configure:8949: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+ 	
+@@ -8593,14 +8955,14 @@
+ EOF
+ 
+ 	
+-echo "configure:7753: checking if timezone is properly declared" >&5
++echo "configure:8958: checking if timezone is properly declared" >&5
+ echo $ECHO_N "checking if timezone is properly declared... $ECHO_C" >&6
+ if test "${ac_cv_var_timezone_declaration+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-cat >conftest.$ac_ext <<EOF
+-#line 7759 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 8965 "configure"
+ #include "confdefs.h"
+ #include <time.h>
+ extern struct { int foo; } timezone;
+@@ -8611,19 +8973,20 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:7771: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:8978: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_var_timezone_declaration=no"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_var_timezone_declaration=yes"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ 
+ fi
+ 
+-echo "configure:7780: result: $ac_cv_var_timezone_declaration" >&5
++echo "configure:8989: result: $ac_cv_var_timezone_declaration" >&5
+ echo "${ECHO_T}$ac_cv_var_timezone_declaration" >&6
+ if eval "test \"\$ac_cv_var_timezone_declaration\" = yes"; then
+ 	
+@@ -8636,13 +8999,13 @@
+ fi
+ 
+ cv=`echo "sa_family_t" | sed 'y%./+- %__p__%'`
+-echo "configure:7790: checking for sa_family_t" >&5
++echo "configure:9002: checking for sa_family_t" >&5
+ echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 7796 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 9008 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -8657,29 +9020,30 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:7812: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:9025: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_type_$cv=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_type_$cv=no"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "configure:7822: result: $ac_foo" >&5
++echo "configure:9035: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo sa_family_t | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "configure:7827: checking for sa_family_t" >&5
++	echo "configure:9040: checking for sa_family_t" >&5
+ echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6
+ if test "${ac_cv_type_sa_family_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 7833 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 9046 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -8692,17 +9056,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:7847: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:9061: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_sa_family_t=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_sa_family_t=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:7856: result: $ac_cv_type_sa_family_t" >&5
++echo "configure:9070: result: $ac_cv_type_sa_family_t" >&5
+ echo "${ECHO_T}$ac_cv_type_sa_family_t" >&6
+ if test $ac_cv_type_sa_family_t = yes; then
+ 
+@@ -8721,13 +9086,13 @@
+ fi
+ 
+ cv=`echo "socklen_t" | sed 'y%./+- %__p__%'`
+-echo "configure:7869: checking for socklen_t" >&5
++echo "configure:9089: checking for socklen_t" >&5
+ echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 7875 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 9095 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -8742,29 +9107,30 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:7891: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:9112: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_type_$cv=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_type_$cv=no"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "configure:7901: result: $ac_foo" >&5
++echo "configure:9122: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo socklen_t | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "configure:7906: checking for socklen_t" >&5
++	echo "configure:9127: checking for socklen_t" >&5
+ echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
+ if test "${ac_cv_type_socklen_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 7912 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 9133 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -8777,17 +9143,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:7926: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:9148: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_socklen_t=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_socklen_t=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:7935: result: $ac_cv_type_socklen_t" >&5
++echo "configure:9157: result: $ac_cv_type_socklen_t" >&5
+ echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
+ if test $ac_cv_type_socklen_t = yes; then
+ 
+@@ -8806,13 +9173,13 @@
+ fi
+ 
+ cv=`echo "struct sockaddr" | sed 'y%./+- %__p__%'`
+-echo "configure:7948: checking for struct sockaddr" >&5
++echo "configure:9176: checking for struct sockaddr" >&5
+ echo $ECHO_N "checking for struct sockaddr... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 7954 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 9182 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -8827,29 +9194,30 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:7970: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:9199: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_type_$cv=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_type_$cv=no"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "configure:7980: result: $ac_foo" >&5
++echo "configure:9209: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo struct sockaddr | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "configure:7985: checking for struct sockaddr" >&5
++	echo "configure:9214: checking for struct sockaddr" >&5
+ echo $ECHO_N "checking for struct sockaddr... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_sockaddr+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 7991 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 9220 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -8862,17 +9230,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:8005: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:9235: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_sockaddr=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_struct_sockaddr=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:8014: result: $ac_cv_type_struct_sockaddr" >&5
++echo "configure:9244: result: $ac_cv_type_struct_sockaddr" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_sockaddr" >&6
+ if test $ac_cv_type_struct_sockaddr = yes; then
+ 
+@@ -8891,13 +9260,13 @@
+ fi
+ 
+ cv=`echo "struct sockaddr_storage" | sed 'y%./+- %__p__%'`
+-echo "configure:8027: checking for struct sockaddr_storage" >&5
++echo "configure:9263: checking for struct sockaddr_storage" >&5
+ echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 8033 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 9269 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -8912,29 +9281,30 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:8049: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:9286: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_type_$cv=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_type_$cv=no"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "configure:8059: result: $ac_foo" >&5
++echo "configure:9296: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo struct sockaddr_storage | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "configure:8064: checking for struct sockaddr_storage" >&5
++	echo "configure:9301: checking for struct sockaddr_storage" >&5
+ echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_sockaddr_storage+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 8070 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 9307 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -8947,17 +9317,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:8084: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:9322: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_sockaddr_storage=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_struct_sockaddr_storage=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:8093: result: $ac_cv_type_struct_sockaddr_storage" >&5
++echo "configure:9331: result: $ac_cv_type_struct_sockaddr_storage" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_sockaddr_storage" >&6
+ if test $ac_cv_type_struct_sockaddr_storage = yes; then
+ 
+@@ -8976,13 +9347,13 @@
+ fi
+ 
+ cv=`echo "struct addrinfo" | sed 'y%./+- %__p__%'`
+-echo "configure:8106: checking for struct addrinfo" >&5
++echo "configure:9350: checking for struct addrinfo" >&5
+ echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 8112 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 9356 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -8997,29 +9368,30 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:8128: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:9373: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_type_$cv=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_type_$cv=no"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "configure:8138: result: $ac_foo" >&5
++echo "configure:9383: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo struct addrinfo | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "configure:8143: checking for struct addrinfo" >&5
++	echo "configure:9388: checking for struct addrinfo" >&5
+ echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_addrinfo+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 8149 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 9394 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -9032,17 +9404,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:8163: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:9409: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_addrinfo=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_struct_addrinfo=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:8172: result: $ac_cv_type_struct_addrinfo" >&5
++echo "configure:9418: result: $ac_cv_type_struct_addrinfo" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_addrinfo" >&6
+ if test $ac_cv_type_struct_addrinfo = yes; then
+ 
+@@ -9060,7 +9433,7 @@
+ 
+ fi
+ 
+-echo "configure:8184: checking for struct winsize" >&5
++echo "configure:9436: checking for struct winsize" >&5
+ echo $ECHO_N "checking for struct winsize... $ECHO_C" >&6
+ if test "${ac_cv_struct_winsize+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -9068,12 +9441,12 @@
+ 
+ ac_cv_struct_winsize=no
+ for i in sys/termios.h sys/ioctl.h; do
+-cat >conftest.$ac_ext <<EOF
+-#line 8192 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 9445 "configure"
+ #include "confdefs.h"
+ #include <$i>
+ 
+-EOF
++_ACEOF
+ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+   egrep "struct[ 	]*winsize" >/dev/null 2>&1; then
+   ac_cv_struct_winsize=yes; break
+@@ -9090,14 +9463,14 @@
+ EOF
+ 
+ fi
+-echo "configure:8208: result: $ac_cv_struct_winsize" >&5
++echo "configure:9466: result: $ac_cv_struct_winsize" >&5
+ echo "${ECHO_T}$ac_cv_struct_winsize" >&6
+-cat >conftest.$ac_ext <<EOF
+-#line 8211 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 9469 "configure"
+ #include "confdefs.h"
+ #include <termios.h>
+ 
+-EOF
++_ACEOF
+ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+   egrep "ws_xpixel" >/dev/null 2>&1; then
+ 
+@@ -9108,12 +9481,12 @@
+ fi
+ rm -f conftest*
+ 
+-cat >conftest.$ac_ext <<EOF
+-#line 8223 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 9485 "configure"
+ #include "confdefs.h"
+ #include <termios.h>
+ 
+-EOF
++_ACEOF
+ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+   egrep "ws_ypixel" >/dev/null 2>&1; then
+ 
+@@ -9124,14 +9497,14 @@
+ fi
+ rm -f conftest*
+ 
+-echo "configure:8234: checking for struct spwd" >&5
++echo "configure:9500: checking for struct spwd" >&5
+ echo $ECHO_N "checking for struct spwd... $ECHO_C" >&6
+ if test "${ac_cv_struct_spwd+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-cat >conftest.$ac_ext <<EOF
+-#line 8240 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 9507 "configure"
+ #include "confdefs.h"
+ #include <pwd.h>
+ #ifdef HAVE_SHADOW_H
+@@ -9144,19 +9517,20 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:8254: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:9522: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_struct_spwd=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_struct_spwd=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ 
+ fi
+ 
+-echo "configure:8263: result: $ac_cv_struct_spwd" >&5
++echo "configure:9533: result: $ac_cv_struct_spwd" >&5
+ echo "${ECHO_T}$ac_cv_struct_spwd" >&6
+ 
+ if test "$ac_cv_struct_spwd" = "yes"; then
+@@ -9167,14 +9541,14 @@
+ 
+ fi
+ 
+-echo "configure:8270: checking for sa_len in struct sockaddr" >&5
++echo "configure:9544: checking for sa_len in struct sockaddr" >&5
+ echo $ECHO_N "checking for sa_len in struct sockaddr... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_sockaddr_sa_len+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-cat >conftest.$ac_ext <<EOF
+-#line 8276 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 9551 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #include <sys/socket.h>
+@@ -9185,17 +9559,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:8288: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:9564: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_sockaddr_sa_len=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_struct_sockaddr_sa_len=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:8297: result: $ac_cv_type_struct_sockaddr_sa_len" >&5
++echo "configure:9573: result: $ac_cv_type_struct_sockaddr_sa_len" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_sockaddr_sa_len" >&6
+ if test "$ac_cv_type_struct_sockaddr_sa_len" = yes; then
+ 	
+@@ -9217,7 +9592,8 @@
+ if test "${with_openldap+set}" = set; then
+   withval="$with_openldap"
+ 
+-fi
++fi;
++
+ # Check whether --with-openldap-lib or --without-openldap-lib was given.
+ if test "${with_openldap_lib+set}" = set; then
+   withval="$with_openldap_lib"
+@@ -9226,7 +9602,8 @@
+ elif test "X$with_openldap" = "X"; then
+   with_openldap=yes
+ fi
+-fi
++fi;
++
+ # Check whether --with-openldap-include or --without-openldap-include was given.
+ if test "${with_openldap_include+set}" = set; then
+   withval="$with_openldap_include"
+@@ -9235,9 +9612,9 @@
+ elif test "X$with_openldap" = "X"; then
+   with_openldap=yes
+ fi
+-fi
++fi;
+ 
+-echo "configure:8332: checking for openldap" >&5
++echo "configure:9617: checking for openldap" >&5
+ echo $ECHO_N "checking for openldap... $ECHO_C" >&6
+ 
+ case "$with_openldap" in
+@@ -9255,7 +9632,7 @@
+ header_dirs=
+ lib_dirs=
+ d=''
+-for i in $d; do
++for i in $d /usr; do
+ 	header_dirs="$header_dirs $i/include"
+ 	lib_dirs="$lib_dirs $i/lib$abilibdirext"
+ done
+@@ -9276,8 +9653,8 @@
+ ires= lres=
+ for i in $header_dirs; do
+ 	CFLAGS="-I$i $save_CFLAGS"
+-	cat >conftest.$ac_ext <<EOF
+-#line 8369 "configure"
++	cat >conftest.$ac_ext <<_ACEOF
++#line 9657 "configure"
+ #include "confdefs.h"
+ #include <ldap.h>
+ int
+@@ -9287,19 +9664,20 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:8379: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:9669: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ires=$i;break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ done
+ for i in $lib_dirs; do
+ 	LIBS="-L$i -lldap -llber  $save_LIBS"
+-	cat >conftest.$ac_ext <<EOF
+-#line 8390 "configure"
++	cat >conftest.$ac_ext <<_ACEOF
++#line 9680 "configure"
+ #include "confdefs.h"
+ #include <ldap.h>
+ int
+@@ -9309,14 +9687,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:8400: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:9692: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   lres=$i;break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ done
+ CFLAGS="$save_CFLAGS"
+ LIBS="$save_LIBS"
+@@ -9324,6 +9703,7 @@
+ if test "$ires" -a "$lres" -a "$with_openldap" != "no"; then
+ 	openldap_includedir="$ires"
+ 	openldap_libdir="$lres"
++	DIR_openldap=
+ 	INCLUDE_openldap="-I$openldap_includedir"
+ 	LIB_openldap="-L$openldap_libdir -lldap -llber"
+ 	
+@@ -9332,13 +9712,14 @@
+ EOF
+ 
+ 	with_openldap=yes
+-	echo "configure:8420: result: headers $ires, libraries $lres" >&5
++	echo "configure:9715: result: headers $ires, libraries $lres" >&5
+ echo "${ECHO_T}headers $ires, libraries $lres" >&6
+ else
++	DIR_openldap="openldap"
+ 	INCLUDE_openldap=
+ 	LIB_openldap=
+ 	with_openldap=no
+-	echo "configure:8426: result: $with_openldap" >&5
++	echo "configure:9722: result: $with_openldap" >&5
+ echo "${ECHO_T}$with_openldap" >&6
+ fi
+ 
+@@ -9350,7 +9731,8 @@
+ if test "${with_krb4+set}" = set; then
+   withval="$with_krb4"
+ 
+-fi
++fi;
++
+ # Check whether --with-krb4-lib or --without-krb4-lib was given.
+ if test "${with_krb4_lib+set}" = set; then
+   withval="$with_krb4_lib"
+@@ -9359,7 +9741,8 @@
+ elif test "X$with_krb4" = "X"; then
+   with_krb4=yes
+ fi
+-fi
++fi;
++
+ # Check whether --with-krb4-include or --without-krb4-include was given.
+ if test "${with_krb4_include+set}" = set; then
+   withval="$with_krb4_include"
+@@ -9368,9 +9751,9 @@
+ elif test "X$with_krb4" = "X"; then
+   with_krb4=yes
+ fi
+-fi
++fi;
+ 
+-echo "configure:8454: checking for krb4" >&5
++echo "configure:9756: checking for krb4" >&5
+ echo $ECHO_N "checking for krb4... $ECHO_C" >&6
+ 
+ case "$with_krb4" in
+@@ -9388,7 +9771,7 @@
+ header_dirs=
+ lib_dirs=
+ d='/usr/athena'
+-for i in $d; do
++for i in $d /usr; do
+ 	header_dirs="$header_dirs $i/include"
+ 	lib_dirs="$lib_dirs $i/lib$abilibdirext"
+ done
+@@ -9409,8 +9792,8 @@
+ ires= lres=
+ for i in $header_dirs; do
+ 	CFLAGS="-I$i $save_CFLAGS"
+-	cat >conftest.$ac_ext <<EOF
+-#line 8491 "configure"
++	cat >conftest.$ac_ext <<_ACEOF
++#line 9796 "configure"
+ #include "confdefs.h"
+ #include <krb.h>
+ int
+@@ -9420,19 +9803,20 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:8501: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:9808: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ires=$i;break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ done
+ for i in $lib_dirs; do
+ 	LIBS="-L$i -lkrb -ldes $save_LIBS"
+-	cat >conftest.$ac_ext <<EOF
+-#line 8512 "configure"
++	cat >conftest.$ac_ext <<_ACEOF
++#line 9819 "configure"
+ #include "confdefs.h"
+ #include <krb.h>
+ int
+@@ -9442,14 +9826,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:8522: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:9831: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   lres=$i;break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ done
+ CFLAGS="$save_CFLAGS"
+ LIBS="$save_LIBS"
+@@ -9457,6 +9842,7 @@
+ if test "$ires" -a "$lres" -a "$with_krb4" != "no"; then
+ 	krb4_includedir="$ires"
+ 	krb4_libdir="$lres"
++	DIR_krb4=
+ 	INCLUDE_krb4="-I$krb4_includedir"
+ 	LIB_krb4="-L$krb4_libdir -lkrb"
+ 	
+@@ -9465,13 +9851,14 @@
+ EOF
+ 
+ 	with_krb4=yes
+-	echo "configure:8542: result: headers $ires, libraries $lres" >&5
++	echo "configure:9854: result: headers $ires, libraries $lres" >&5
+ echo "${ECHO_T}headers $ires, libraries $lres" >&6
+ else
++	DIR_krb4="krb4"
+ 	INCLUDE_krb4=
+ 	LIB_krb4=
+ 	with_krb4=no
+-	echo "configure:8548: result: $with_krb4" >&5
++	echo "configure:9861: result: $with_krb4" >&5
+ echo "${ECHO_T}$with_krb4" >&6
+ fi
+ 
+@@ -9483,13 +9870,13 @@
+ 	LIBS="$LIB_krb4 -ldes $LIBS"
+ 	EXTRA_LIB45=lib45.a
+ 	
+-	echo "configure:8559: checking for four valued krb_put_int" >&5
++	echo "configure:9873: checking for four valued krb_put_int" >&5
+ echo $ECHO_N "checking for four valued krb_put_int... $ECHO_C" >&6
+ if test "${ac_cv_func_krb_put_int_four+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 8565 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 9879 "configure"
+ #include "confdefs.h"
+ #include <krb.h>
+ int
+@@ -9501,18 +9888,19 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:8577: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:9893: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_func_krb_put_int_four=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_func_krb_put_int_four=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ 	
+ fi
+-echo "configure:8587: result: $ac_cv_func_krb_put_int_four" >&5
++echo "configure:9903: result: $ac_cv_func_krb_put_int_four" >&5
+ echo "${ECHO_T}$ac_cv_func_krb_put_int_four" >&6
+ 	if test "$ac_cv_func_krb_put_int_four" = yes; then
+ 		
+@@ -9523,13 +9911,13 @@
+ 	fi
+ 	
+ 
+-	echo "configure:8596: checking for KRB_VERIFY_SECURE" >&5
++	echo "configure:9914: checking for KRB_VERIFY_SECURE" >&5
+ echo $ECHO_N "checking for KRB_VERIFY_SECURE... $ECHO_C" >&6
+ if test "${ac_cv_func_krb_verify_secure+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 8602 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 9920 "configure"
+ #include "confdefs.h"
+ #include <krb.h>
+ int
+@@ -9540,18 +9928,19 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:8613: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:9933: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_func_krb_verify_secure=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_func_krb_verify_secure=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ 	
+ fi
+-echo "configure:8623: result: $ac_cv_func_krb_verify_secure" >&5
++echo "configure:9943: result: $ac_cv_func_krb_verify_secure" >&5
+ echo "${ECHO_T}$ac_cv_func_krb_verify_secure" >&6
+ 	if test "$ac_cv_func_krb_verify_secure" != yes; then
+ 		
+@@ -9565,13 +9954,13 @@
+ EOF
+ 
+ 	fi
+-	echo "configure:8635: checking for KRB_VERIFY_NOT_SECURE" >&5
++	echo "configure:9957: checking for KRB_VERIFY_NOT_SECURE" >&5
+ echo $ECHO_N "checking for KRB_VERIFY_NOT_SECURE... $ECHO_C" >&6
+ if test "${ac_cv_func_krb_verify_not_secure+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 8641 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 9963 "configure"
+ #include "confdefs.h"
+ #include <krb.h>
+ int
+@@ -9582,18 +9971,19 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:8652: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:9976: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_func_krb_verify_not_secure=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_func_krb_verify_not_secure=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ 	
+ fi
+-echo "configure:8662: result: $ac_cv_func_krb_verify_not_secure" >&5
++echo "configure:9986: result: $ac_cv_func_krb_verify_not_secure" >&5
+ echo "${ECHO_T}$ac_cv_func_krb_verify_not_secure" >&6
+ 	if test "$ac_cv_func_krb_verify_not_secure" != yes; then
+ 		
+@@ -9604,7 +9994,7 @@
+ 	fi
+ 	
+ 
+-echo "configure:8671: checking for krb_enable_debug" >&5
++echo "configure:9997: checking for krb_enable_debug" >&5
+ echo $ECHO_N "checking for krb_enable_debug... $ECHO_C" >&6
+ if test "${ac_cv_funclib_krb_enable_debug+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -9619,8 +10009,8 @@
+ 			ac_lib=""
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 8686 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 10013 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -9630,14 +10020,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:8696: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:10025: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_krb_enable_debug=$ac_lib; else ac_cv_funclib_krb_enable_debug=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_krb_enable_debug=\${ac_cv_funclib_krb_enable_debug-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -9652,13 +10043,13 @@
+ for ac_func in krb_enable_debug
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:8714: checking for $ac_func" >&5
++echo "configure:10046: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 8720 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 10052 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -9687,17 +10078,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:8748: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:10083: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:8757: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:10092: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -9721,13 +10113,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:8777: result: yes" >&5
++	echo "configure:10116: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_krb_enable_debug=no"
+ 	eval "LIB_krb_enable_debug="
+-	echo "configure:8783: result: no" >&5
++	echo "configure:10122: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -9741,7 +10133,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:8795: result: yes, in $ac_res" >&5
++	echo "configure:10136: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -9752,7 +10144,7 @@
+ 
+ 	
+ 
+-echo "configure:8803: checking for krb_disable_debug" >&5
++echo "configure:10147: checking for krb_disable_debug" >&5
+ echo $ECHO_N "checking for krb_disable_debug... $ECHO_C" >&6
+ if test "${ac_cv_funclib_krb_disable_debug+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -9767,8 +10159,8 @@
+ 			ac_lib=""
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 8818 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 10163 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -9778,14 +10170,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:8828: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:10175: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_krb_disable_debug=$ac_lib; else ac_cv_funclib_krb_disable_debug=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_krb_disable_debug=\${ac_cv_funclib_krb_disable_debug-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -9800,13 +10193,13 @@
+ for ac_func in krb_disable_debug
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:8846: checking for $ac_func" >&5
++echo "configure:10196: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 8852 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 10202 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -9835,17 +10228,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:8880: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:10233: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:8889: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:10242: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -9869,13 +10263,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:8909: result: yes" >&5
++	echo "configure:10266: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_krb_disable_debug=no"
+ 	eval "LIB_krb_disable_debug="
+-	echo "configure:8915: result: no" >&5
++	echo "configure:10272: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -9889,7 +10283,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:8927: result: yes, in $ac_res" >&5
++	echo "configure:10286: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -9900,7 +10294,7 @@
+ 
+ 	
+ 
+-echo "configure:8935: checking for krb_get_our_ip_for_realm" >&5
++echo "configure:10297: checking for krb_get_our_ip_for_realm" >&5
+ echo $ECHO_N "checking for krb_get_our_ip_for_realm... $ECHO_C" >&6
+ if test "${ac_cv_funclib_krb_get_our_ip_for_realm+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -9915,8 +10309,8 @@
+ 			ac_lib=""
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 8950 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 10313 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -9926,14 +10320,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:8960: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:10325: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_krb_get_our_ip_for_realm=$ac_lib; else ac_cv_funclib_krb_get_our_ip_for_realm=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_krb_get_our_ip_for_realm=\${ac_cv_funclib_krb_get_our_ip_for_realm-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -9948,13 +10343,13 @@
+ for ac_func in krb_get_our_ip_for_realm
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:8978: checking for $ac_func" >&5
++echo "configure:10346: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 8984 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 10352 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -9983,17 +10378,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:9012: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:10383: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:9021: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:10392: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -10017,13 +10413,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:9041: result: yes" >&5
++	echo "configure:10416: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_krb_get_our_ip_for_realm=no"
+ 	eval "LIB_krb_get_our_ip_for_realm="
+-	echo "configure:9047: result: no" >&5
++	echo "configure:10422: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -10037,7 +10433,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:9059: result: yes, in $ac_res" >&5
++	echo "configure:10436: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -10046,13 +10442,13 @@
+ 	LIBS="$LIB_krb_get_our_ip_for_realm $LIBS"
+ fi
+ 
+-	echo "configure:9066: checking for krb_mk_req with const arguments" >&5
++	echo "configure:10445: checking for krb_mk_req with const arguments" >&5
+ echo $ECHO_N "checking for krb_mk_req with const arguments... $ECHO_C" >&6
+ if test "${ac_cv_func_krb_mk_req_const+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 9072 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 10451 "configure"
+ #include "confdefs.h"
+ #include <krb.h>
+ 		int krb_mk_req(KTEXT a, const char *s, const char *i,
+@@ -10065,18 +10461,19 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:9085: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:10466: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_func_krb_mk_req_const=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_func_krb_mk_req_const=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ 	
+ fi
+-echo "configure:9095: result: $ac_cv_func_krb_mk_req_const" >&5
++echo "configure:10476: result: $ac_cv_func_krb_mk_req_const" >&5
+ echo "${ECHO_T}$ac_cv_func_krb_mk_req_const" >&6
+ 	if test "$ac_cv_func_krb_mk_req_const" = "yes"; then
+ 		
+@@ -10119,7 +10516,7 @@
+ if test "${enable_dce+set}" = set; then
+   enableval="$enable_dce"
+ 
+-fi
++fi;
+ if test "$enable_dce" = yes; then
+ 
+ cat >>confdefs.h <<\EOF
+@@ -10149,7 +10546,7 @@
+ if test "${enable_kaserver+set}" = set; then
+   enableval="$enable_kaserver"
+ 
+-fi
++fi;
+ if test "$enable_kaserver" = yes; then
+ 	
+ cat >>confdefs.h <<\EOF
+@@ -10166,7 +10563,7 @@
+ if test "${enable_kaserver_db+set}" = set; then
+   enableval="$enable_kaserver_db"
+ 
+-fi
++fi;
+ if test "$enable_kaserver_db" = yes; then
+ 	
+ cat >>confdefs.h <<\EOF
+@@ -10188,7 +10585,7 @@
+ 	otp=no
+ fi
+ 
+-fi
++fi;
+ if test "$otp" = "yes"; then
+ 	
+ cat >>confdefs.h <<\EOF
+@@ -10210,7 +10607,7 @@
+ if test "${enable_osfc2+set}" = set; then
+   enableval="$enable_osfc2"
+ 
+-fi
++fi;
+ LIB_security=
+ if test "$enable_osfc2" = yes; then
+ 	
+@@ -10223,7 +10620,7 @@
+ 
+ # Extract the first word of "nroff", so it can be a program name with args.
+ set dummy nroff; ac_word=$2
+-echo "configure:9216: checking for $ac_word" >&5
++echo "configure:10623: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_path_NROFF+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -10239,7 +10636,7 @@
+   IFS=$ac_save_IFS
+   test -z "$ac_dir" && ac_dir=.
+   if test -f "$ac_dir/$ac_word"; then
+-   ac_cv_path_NROFF=$ac_dir/$ac_word
++   ac_cv_path_NROFF="$ac_dir/$ac_word"
+    break
+ fi
+ done
+@@ -10248,17 +10645,18 @@
+ esac
+ fi
+ NROFF=$ac_cv_path_NROFF
++
+ if test -n "$NROFF"; then
+-  echo "configure:9241: result: $NROFF" >&5
++  echo "configure:10650: result: $NROFF" >&5
+ echo "${ECHO_T}$NROFF" >&6
+ else
+-  echo "configure:9244: result: no" >&5
++  echo "configure:10653: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+ # Extract the first word of "groff", so it can be a program name with args.
+ set dummy groff; ac_word=$2
+-echo "configure:9249: checking for $ac_word" >&5
++echo "configure:10659: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_path_GROFF+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -10274,7 +10672,7 @@
+   IFS=$ac_save_IFS
+   test -z "$ac_dir" && ac_dir=.
+   if test -f "$ac_dir/$ac_word"; then
+-   ac_cv_path_GROFF=$ac_dir/$ac_word
++   ac_cv_path_GROFF="$ac_dir/$ac_word"
+    break
+ fi
+ done
+@@ -10283,15 +10681,16 @@
+ esac
+ fi
+ GROFF=$ac_cv_path_GROFF
++
+ if test -n "$GROFF"; then
+-  echo "configure:9274: result: $GROFF" >&5
++  echo "configure:10686: result: $GROFF" >&5
+ echo "${ECHO_T}$GROFF" >&6
+ else
+-  echo "configure:9277: result: no" >&5
++  echo "configure:10689: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+-echo "configure:9280: checking how to format man pages" >&5
++echo "configure:10693: checking how to format man pages" >&5
+ echo $ECHO_N "checking how to format man pages... $ECHO_C" >&6
+ if test "${ac_cv_sys_man_format+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -10328,96 +10727,370 @@
+ fi
+ 
+ fi
+-echo "configure:9315: result: $ac_cv_sys_man_format" >&5
+-echo "${ECHO_T}$ac_cv_sys_man_format" >&6
+-if test "$ac_cv_sys_man_format"; then
+-	CATMAN="$ac_cv_sys_man_format"
+-	
+-fi
++echo "configure:10730: result: $ac_cv_sys_man_format" >&5
++echo "${ECHO_T}$ac_cv_sys_man_format" >&6
++if test "$ac_cv_sys_man_format"; then
++	CATMAN="$ac_cv_sys_man_format"
++	
++fi
++
++if test "$CATMAN"; then
++  CATMAN_TRUE=
++  CATMAN_FALSE='#'
++else
++  CATMAN_TRUE='#'
++  CATMAN_FALSE=
++fi
++echo "configure:10744: checking extension of pre-formatted manual pages" >&5
++echo $ECHO_N "checking extension of pre-formatted manual pages... $ECHO_C" >&6
++if test "${ac_cv_sys_catman_ext+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if grep _suffix /etc/man.conf > /dev/null 2>&1; then
++	ac_cv_sys_catman_ext=0
++else
++	ac_cv_sys_catman_ext=number
++fi
++
++fi
++echo "configure:10756: result: $ac_cv_sys_catman_ext" >&5
++echo "${ECHO_T}$ac_cv_sys_catman_ext" >&6
++if test "$ac_cv_sys_catman_ext" = number; then
++	CATMANEXT='$$ext'
++else
++	CATMANEXT=0
++fi
++
++# Check whether --with-readline or --without-readline was given.
++if test "${with_readline+set}" = set; then
++  withval="$with_readline"
++
++fi;
++
++# Check whether --with-readline-lib or --without-readline-lib was given.
++if test "${with_readline_lib+set}" = set; then
++  withval="$with_readline_lib"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { echo "configure: error: No argument for --with-readline-lib" >&2; exit 1; }
++elif test "X$with_readline" = "X"; then
++  with_readline=yes
++fi
++fi;
++
++# Check whether --with-readline-include or --without-readline-include was given.
++if test "${with_readline_include+set}" = set; then
++  withval="$with_readline_include"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { echo "configure: error: No argument for --with-readline-include" >&2; exit 1; }
++elif test "X$with_readline" = "X"; then
++  with_readline=yes
++fi
++fi;
++
++echo "configure:10790: checking for readline" >&5
++echo $ECHO_N "checking for readline... $ECHO_C" >&6
++
++case "$with_readline" in
++yes)	;;
++no)	;;
++"")	;;
++*)	if test "$with_readline_include" = ""; then
++		with_readline_include="$with_readline/include"
++	fi
++	if test "$with_readline_lib" = ""; then
++		with_readline_lib="$with_readline/lib$abilibdirext"
++	fi
++	;;
++esac
++header_dirs=
++lib_dirs=
++d=''
++for i in $d /usr; do
++	header_dirs="$header_dirs $i/include"
++	lib_dirs="$lib_dirs $i/lib$abilibdirext"
++done
++
++case "$with_readline_include" in
++yes) ;;
++no)  ;;
++*)   header_dirs="$with_readline_include $header_dirs";;
++esac
++case "$with_readline_lib" in
++yes) ;;
++no)  ;;
++*)   lib_dirs="$with_readline_lib $lib_dirs";;
++esac
++
++save_CFLAGS="$CFLAGS"
++save_LIBS="$LIBS"
++ires= lres=
++for i in $header_dirs; do
++	CFLAGS="-I$i $save_CFLAGS"
++	cat >conftest.$ac_ext <<_ACEOF
++#line 10830 "configure"
++#include "confdefs.h"
++#include <stdio.h>
++ #include <readline.h>
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:10843: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++  ires=$i;break
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++done
++for i in $lib_dirs; do
++	LIBS="-L$i -lreadline  $save_LIBS"
++	cat >conftest.$ac_ext <<_ACEOF
++#line 10854 "configure"
++#include "confdefs.h"
++#include <stdio.h>
++ #include <readline.h>
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:10867: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  lres=$i;break
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++fi
++rm -f conftest$ac_exeext conftest.$ac_ext
++done
++CFLAGS="$save_CFLAGS"
++LIBS="$save_LIBS"
++
++if test "$ires" -a "$lres" -a "$with_readline" != "no"; then
++	readline_includedir="$ires"
++	readline_libdir="$lres"
++	DIR_readline=
++	INCLUDE_readline="-I$readline_includedir"
++	LIB_readline="-L$readline_libdir -lreadline"
++	
++cat >>confdefs.h <<EOF
++#define READLINE 1
++EOF
++
++	with_readline=yes
++	echo "configure:10890: result: headers $ires, libraries $lres" >&5
++echo "${ECHO_T}headers $ires, libraries $lres" >&6
++else
++	DIR_readline="readline"
++	INCLUDE_readline=
++	LIB_readline=
++	with_readline=no
++	echo "configure:10897: result: $with_readline" >&5
++echo "${ECHO_T}$with_readline" >&6
++fi
++
++# Check whether --with-com_err or --without-com_err was given.
++if test "${with_com_err+set}" = set; then
++  withval="$with_com_err"
++
++fi;
++
++# Check whether --with-com_err-lib or --without-com_err-lib was given.
++if test "${with_com_err_lib+set}" = set; then
++  withval="$with_com_err_lib"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { echo "configure: error: No argument for --with-com_err-lib" >&2; exit 1; }
++elif test "X$with_com_err" = "X"; then
++  with_com_err=yes
++fi
++fi;
++
++# Check whether --with-com_err-include or --without-com_err-include was given.
++if test "${with_com_err_include+set}" = set; then
++  withval="$with_com_err_include"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { echo "configure: error: No argument for --with-com_err-include" >&2; exit 1; }
++elif test "X$with_com_err" = "X"; then
++  with_com_err=yes
++fi
++fi;
+ 
+-if test "$CATMAN"; then
+-  CATMAN_TRUE=
+-  CATMAN_FALSE='#'
+-else
+-  CATMAN_TRUE='#'
+-  CATMAN_FALSE=
+-fi
+-echo "configure:9328: checking extension of pre-formatted manual pages" >&5
+-echo $ECHO_N "checking extension of pre-formatted manual pages... $ECHO_C" >&6
+-if test "${ac_cv_sys_catman_ext+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  if grep _suffix /etc/man.conf > /dev/null 2>&1; then
+-	ac_cv_sys_catman_ext=0
++echo "configure:10927: checking for com_err" >&5
++echo $ECHO_N "checking for com_err... $ECHO_C" >&6
++
++case "$with_com_err" in
++yes)	;;
++no)	;;
++"")	;;
++*)	if test "$with_com_err_include" = ""; then
++		with_com_err_include="$with_com_err/include"
++	fi
++	if test "$with_com_err_lib" = ""; then
++		with_com_err_lib="$with_com_err/lib$abilibdirext"
++	fi
++	;;
++esac
++header_dirs=
++lib_dirs=
++d=''
++for i in $d /usr; do
++	header_dirs="$header_dirs $i/include"
++	lib_dirs="$lib_dirs $i/lib$abilibdirext"
++done
++
++case "$with_com_err_include" in
++yes) ;;
++no)  ;;
++*)   header_dirs="$with_com_err_include $header_dirs";;
++esac
++case "$with_com_err_lib" in
++yes) ;;
++no)  ;;
++*)   lib_dirs="$with_com_err_lib $lib_dirs";;
++esac
++
++save_CFLAGS="$CFLAGS"
++save_LIBS="$LIBS"
++ires= lres=
++for i in $header_dirs; do
++	CFLAGS="-I$i $save_CFLAGS"
++	cat >conftest.$ac_ext <<_ACEOF
++#line 10967 "configure"
++#include "confdefs.h"
++#include <et/com_err.h>
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:10979: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++  ires=$i;break
+ else
+-	ac_cv_sys_catman_ext=number
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++done
++for i in $lib_dirs; do
++	LIBS="-L$i -lcom_err  $save_LIBS"
++	cat >conftest.$ac_ext <<_ACEOF
++#line 10990 "configure"
++#include "confdefs.h"
++#include <et/com_err.h>
++int
++main ()
++{
+ 
+-fi
+-echo "configure:9339: result: $ac_cv_sys_catman_ext" >&5
+-echo "${ECHO_T}$ac_cv_sys_catman_ext" >&6
+-if test "$ac_cv_sys_catman_ext" = number; then
+-	CATMANEXT='$$ext'
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:11002: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  lres=$i;break
+ else
+-	CATMANEXT=0
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
++rm -f conftest$ac_exeext conftest.$ac_ext
++done
++CFLAGS="$save_CFLAGS"
++LIBS="$save_LIBS"
+ 
+-# Check whether --with-readline or --without-readline was given.
+-if test "${with_readline+set}" = set; then
+-  withval="$with_readline"
++if test "$ires" -a "$lres" -a "$with_com_err" != "no"; then
++	com_err_includedir="$ires"
++	com_err_libdir="$lres"
++	DIR_com_err=
++	INCLUDE_com_err="-I$com_err_includedir"
++	LIB_com_err="-L$com_err_libdir -lcom_err"
++	
++cat >>confdefs.h <<EOF
++#define COM_ERR 1
++EOF
+ 
+-fi
+-# Check whether --with-readline-lib or --without-readline-lib was given.
+-if test "${with_readline_lib+set}" = set; then
+-  withval="$with_readline_lib"
++	with_com_err=yes
++	echo "configure:11025: result: headers $ires, libraries $lres" >&5
++echo "${ECHO_T}headers $ires, libraries $lres" >&6
++else
++	DIR_com_err="com_err"
++	INCLUDE_com_err=
++	LIB_com_err=
++	with_com_err=no
++	echo "configure:11032: result: $with_com_err" >&5
++echo "${ECHO_T}$with_com_err" >&6
++fi
++
++# Check whether --with-ss or --without-ss was given.
++if test "${with_ss+set}" = set; then
++  withval="$with_ss"
++
++fi;
++
++# Check whether --with-ss-lib or --without-ss-lib was given.
++if test "${with_ss_lib+set}" = set; then
++  withval="$with_ss_lib"
+   if test "$withval" = "yes" -o "$withval" = "no"; then
+-  { echo "configure: error: No argument for --with-readline-lib" >&2; exit 1; }
+-elif test "X$with_readline" = "X"; then
+-  with_readline=yes
+-fi
+-fi
+-# Check whether --with-readline-include or --without-readline-include was given.
+-if test "${with_readline_include+set}" = set; then
+-  withval="$with_readline_include"
++  { echo "configure: error: No argument for --with-ss-lib" >&2; exit 1; }
++elif test "X$with_ss" = "X"; then
++  with_ss=yes
++fi
++fi;
++
++# Check whether --with-ss-include or --without-ss-include was given.
++if test "${with_ss_include+set}" = set; then
++  withval="$with_ss_include"
+   if test "$withval" = "yes" -o "$withval" = "no"; then
+-  { echo "configure: error: No argument for --with-readline-include" >&2; exit 1; }
+-elif test "X$with_readline" = "X"; then
+-  with_readline=yes
+-fi
++  { echo "configure: error: No argument for --with-ss-include" >&2; exit 1; }
++elif test "X$with_ss" = "X"; then
++  with_ss=yes
+ fi
++fi;
+ 
+-echo "configure:9368: checking for readline" >&5
+-echo $ECHO_N "checking for readline... $ECHO_C" >&6
++echo "configure:11062: checking for ss" >&5
++echo $ECHO_N "checking for ss... $ECHO_C" >&6
+ 
+-case "$with_readline" in
++case "$with_ss" in
+ yes)	;;
+ no)	;;
+ "")	;;
+-*)	if test "$with_readline_include" = ""; then
+-		with_readline_include="$with_readline/include"
++*)	if test "$with_ss_include" = ""; then
++		with_ss_include="$with_ss/include"
+ 	fi
+-	if test "$with_readline_lib" = ""; then
+-		with_readline_lib="$with_readline/lib$abilibdirext"
++	if test "$with_ss_lib" = ""; then
++		with_ss_lib="$with_ss/lib$abilibdirext"
+ 	fi
+ 	;;
+ esac
+ header_dirs=
+ lib_dirs=
+ d=''
+-for i in $d; do
++for i in $d /usr; do
+ 	header_dirs="$header_dirs $i/include"
+ 	lib_dirs="$lib_dirs $i/lib$abilibdirext"
+ done
+ 
+-case "$with_readline_include" in
++case "$with_ss_include" in
+ yes) ;;
+ no)  ;;
+-*)   header_dirs="$with_readline_include $header_dirs";;
++*)   header_dirs="$with_ss_include $header_dirs";;
+ esac
+-case "$with_readline_lib" in
++case "$with_ss_lib" in
+ yes) ;;
+ no)  ;;
+-*)   lib_dirs="$with_readline_lib $lib_dirs";;
++*)   lib_dirs="$with_ss_lib $lib_dirs";;
+ esac
+ 
+ save_CFLAGS="$CFLAGS"
+@@ -10425,11 +11098,10 @@
+ ires= lres=
+ for i in $header_dirs; do
+ 	CFLAGS="-I$i $save_CFLAGS"
+-	cat >conftest.$ac_ext <<EOF
+-#line 9405 "configure"
++	cat >conftest.$ac_ext <<_ACEOF
++#line 11102 "configure"
+ #include "confdefs.h"
+-#include <stdio.h>
+- #include <readline.h>
++#include <ss.h>
+ int
+ main ()
+ {
+@@ -10437,22 +11109,22 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:9416: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:11114: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ires=$i;break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ done
+ for i in $lib_dirs; do
+-	LIBS="-L$i -lreadline  $save_LIBS"
+-	cat >conftest.$ac_ext <<EOF
+-#line 9427 "configure"
++	LIBS="-L$i -lss  $save_LIBS"
++	cat >conftest.$ac_ext <<_ACEOF
++#line 11125 "configure"
+ #include "confdefs.h"
+-#include <stdio.h>
+- #include <readline.h>
++#include <ss.h>
+ int
+ main ()
+ {
+@@ -10460,44 +11132,48 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:9438: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:11137: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   lres=$i;break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ done
+ CFLAGS="$save_CFLAGS"
+ LIBS="$save_LIBS"
+ 
+-if test "$ires" -a "$lres" -a "$with_readline" != "no"; then
+-	readline_includedir="$ires"
+-	readline_libdir="$lres"
+-	INCLUDE_readline="-I$readline_includedir"
+-	LIB_readline="-L$readline_libdir -lreadline"
++if test "$ires" -a "$lres" -a "$with_ss" != "no"; then
++	ss_includedir="$ires"
++	ss_libdir="$lres"
++	DIR_ss=
++	INCLUDE_ss="-I$ss_includedir"
++	LIB_ss="-L$ss_libdir -lss"
+ 	
+ cat >>confdefs.h <<EOF
+-#define READLINE 1
++#define SS 1
+ EOF
+ 
+-	with_readline=yes
+-	echo "configure:9458: result: headers $ires, libraries $lres" >&5
++	with_ss=yes
++	echo "configure:11160: result: headers $ires, libraries $lres" >&5
+ echo "${ECHO_T}headers $ires, libraries $lres" >&6
+ else
+-	INCLUDE_readline=
+-	LIB_readline=
+-	with_readline=no
+-	echo "configure:9464: result: $with_readline" >&5
+-echo "${ECHO_T}$with_readline" >&6
++	DIR_ss="ss"
++	INCLUDE_ss=
++	LIB_ss=
++	with_ss=no
++	echo "configure:11167: result: $with_ss" >&5
++echo "${ECHO_T}$with_ss" >&6
+ fi
+ 
+ # Check whether --with-hesiod or --without-hesiod was given.
+ if test "${with_hesiod+set}" = set; then
+   withval="$with_hesiod"
+ 
+-fi
++fi;
++
+ # Check whether --with-hesiod-lib or --without-hesiod-lib was given.
+ if test "${with_hesiod_lib+set}" = set; then
+   withval="$with_hesiod_lib"
+@@ -10506,7 +11182,8 @@
+ elif test "X$with_hesiod" = "X"; then
+   with_hesiod=yes
+ fi
+-fi
++fi;
++
+ # Check whether --with-hesiod-include or --without-hesiod-include was given.
+ if test "${with_hesiod_include+set}" = set; then
+   withval="$with_hesiod_include"
+@@ -10515,9 +11192,9 @@
+ elif test "X$with_hesiod" = "X"; then
+   with_hesiod=yes
+ fi
+-fi
++fi;
+ 
+-echo "configure:9489: checking for hesiod" >&5
++echo "configure:11197: checking for hesiod" >&5
+ echo $ECHO_N "checking for hesiod... $ECHO_C" >&6
+ 
+ case "$with_hesiod" in
+@@ -10535,7 +11212,7 @@
+ header_dirs=
+ lib_dirs=
+ d=''
+-for i in $d; do
++for i in $d /usr; do
+ 	header_dirs="$header_dirs $i/include"
+ 	lib_dirs="$lib_dirs $i/lib$abilibdirext"
+ done
+@@ -10556,8 +11233,8 @@
+ ires= lres=
+ for i in $header_dirs; do
+ 	CFLAGS="-I$i $save_CFLAGS"
+-	cat >conftest.$ac_ext <<EOF
+-#line 9526 "configure"
++	cat >conftest.$ac_ext <<_ACEOF
++#line 11237 "configure"
+ #include "confdefs.h"
+ #include <hesiod.h>
+ int
+@@ -10567,19 +11244,20 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:9536: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:11249: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ires=$i;break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ done
+ for i in $lib_dirs; do
+ 	LIBS="-L$i -lhesiod  $save_LIBS"
+-	cat >conftest.$ac_ext <<EOF
+-#line 9547 "configure"
++	cat >conftest.$ac_ext <<_ACEOF
++#line 11260 "configure"
+ #include "confdefs.h"
+ #include <hesiod.h>
+ int
+@@ -10589,14 +11267,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:9557: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:11272: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   lres=$i;break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ done
+ CFLAGS="$save_CFLAGS"
+ LIBS="$save_LIBS"
+@@ -10604,6 +11283,7 @@
+ if test "$ires" -a "$lres" -a "$with_hesiod" != "no"; then
+ 	hesiod_includedir="$ires"
+ 	hesiod_libdir="$lres"
++	DIR_hesiod=
+ 	INCLUDE_hesiod="-I$hesiod_includedir"
+ 	LIB_hesiod="-L$hesiod_libdir -lhesiod"
+ 	
+@@ -10612,13 +11292,14 @@
+ EOF
+ 
+ 	with_hesiod=yes
+-	echo "configure:9577: result: headers $ires, libraries $lres" >&5
++	echo "configure:11295: result: headers $ires, libraries $lres" >&5
+ echo "${ECHO_T}headers $ires, libraries $lres" >&6
+ else
++	DIR_hesiod="hesiod"
+ 	INCLUDE_hesiod=
+ 	LIB_hesiod=
+ 	with_hesiod=no
+-	echo "configure:9583: result: $with_hesiod" >&5
++	echo "configure:11302: result: $with_hesiod" >&5
+ echo "${ECHO_T}$with_hesiod" >&6
+ fi
+ 
+@@ -10626,19 +11307,19 @@
+ if test "${enable_bigendian+set}" = set; then
+   enableval="$enable_bigendian"
+   krb_cv_c_bigendian=yes
+-fi
++fi;
+ # Check whether --enable-littleendian or --disable-littleendian was given.
+ if test "${enable_littleendian+set}" = set; then
+   enableval="$enable_littleendian"
+   krb_cv_c_bigendian=no
+-fi
+-echo "configure:9596: checking whether byte order is known at compile time" >&5
++fi;
++echo "configure:11316: checking whether byte order is known at compile time" >&5
+ echo $ECHO_N "checking whether byte order is known at compile time... $ECHO_C" >&6
+ if test "${krb_cv_c_bigendian_compile+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 9602 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 11322 "configure"
+ #include "confdefs.h"
+ 
+ #include <sys/types.h>
+@@ -10653,27 +11334,28 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:9616: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:11339: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   krb_cv_c_bigendian_compile=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   krb_cv_c_bigendian_compile=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:9625: result: $krb_cv_c_bigendian_compile" >&5
++echo "configure:11348: result: $krb_cv_c_bigendian_compile" >&5
+ echo "${ECHO_T}$krb_cv_c_bigendian_compile" >&6
+-echo "configure:9627: checking whether byte ordering is bigendian" >&5
++echo "configure:11350: checking whether byte ordering is bigendian" >&5
+ echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
+ if test "${krb_cv_c_bigendian+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+   if test "$krb_cv_c_bigendian_compile" = "yes"; then
+-    cat >conftest.$ac_ext <<EOF
+-#line 9634 "configure"
++    cat >conftest.$ac_ext <<_ACEOF
++#line 11358 "configure"
+ #include "confdefs.h"
+ 
+ #include <sys/types.h>
+@@ -10688,21 +11370,22 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:9648: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:11375: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   krb_cv_c_bigendian=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   krb_cv_c_bigendian=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+   else
+     if test "$cross_compiling" = yes; then
+   { echo "configure: error: specify either --enable-bigendian or --enable-littleendian" >&2; exit 1; }
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 9661 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 11388 "configure"
+ #include "confdefs.h"
+ main () {
+       /* Are we little or big endian?  From Harbison&Steele.  */
+@@ -10714,22 +11397,23 @@
+     u.l = 1;
+     exit (u.c[sizeof (long) - 1] == 1);
+   }
+-EOF
+-if { (eval echo configure:9674: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
+-   test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null; then
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo configure:11402: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
++   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
+   krb_cv_c_bigendian=no
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   krb_cv_c_bigendian=yes
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+ 
+   fi
+ 
+ fi
+-echo "configure:9686: result: $krb_cv_c_bigendian" >&5
++echo "configure:11416: result: $krb_cv_c_bigendian" >&5
+ echo "${ECHO_T}$krb_cv_c_bigendian" >&6
+ if test "$krb_cv_c_bigendian" = "yes"; then
+ 
+@@ -10744,32 +11428,33 @@
+ EOF
+ fi
+ 
+-echo "configure:9698: checking for inline" >&5
++echo "configure:11431: checking for inline" >&5
+ echo $ECHO_N "checking for inline... $ECHO_C" >&6
+ if test "${ac_cv_c_inline+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   ac_cv_c_inline=no
+ for ac_kw in inline __inline__ __inline; do
+-  cat >conftest.$ac_ext <<EOF
+-#line 9706 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 11439 "configure"
+ #include "confdefs.h"
+ #ifndef __cplusplus
+ $ac_kw int foo () {return 0; }
+ #endif
+ 
+-EOF
+-if { (eval echo configure:9712: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:11447: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_c_inline=$ac_kw; break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ done
+ 
+ fi
+-echo "configure:9721: result: $ac_cv_c_inline" >&5
++echo "configure:11457: result: $ac_cv_c_inline" >&5
+ echo "${ECHO_T}$ac_cv_c_inline" >&6
+ case $ac_cv_c_inline in
+   inline | yes) ;;
+@@ -10809,7 +11494,7 @@
+   AIX_DYNAMIC_AFS_FALSE=
+ fi
+ 
+-echo "configure:9757: checking for dlopen" >&5
++echo "configure:11497: checking for dlopen" >&5
+ echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
+ if test "${ac_cv_funclib_dlopen+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -10824,8 +11509,8 @@
+ 			ac_lib=""
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 9772 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 11513 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -10835,14 +11520,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:9782: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:11525: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_dlopen=$ac_lib; else ac_cv_funclib_dlopen=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_dlopen=\${ac_cv_funclib_dlopen-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -10857,13 +11543,13 @@
+ for ac_func in dlopen
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:9800: checking for $ac_func" >&5
++echo "configure:11546: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 9806 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 11552 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -10892,17 +11578,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:9834: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:11583: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:9843: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:11592: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -10926,13 +11613,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:9863: result: yes" >&5
++	echo "configure:11616: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_dlopen=no"
+ 	eval "LIB_dlopen="
+-	echo "configure:9869: result: no" >&5
++	echo "configure:11622: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -10946,7 +11633,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:9881: result: yes, in $ac_res" >&5
++	echo "configure:11636: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -10973,14 +11660,14 @@
+   HAVE_DLOPEN_FALSE=
+ fi
+ 
+-echo "configure:9905: checking for X" >&5
++echo "configure:11663: checking for X" >&5
+ echo $ECHO_N "checking for X... $ECHO_C" >&6
+ 
+ # Check whether --with-x or --without-x was given.
+ if test "${with_x+set}" = set; then
+   withval="$with_x"
+ 
+-fi
++fi;
+ # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
+ if test "x$with_x" = xno; then
+   # The user explicitly disabled X.
+@@ -11069,19 +11756,27 @@
+ if test "$ac_x_includes" = no; then
+   # Guess where to find include files, by looking for Intrinsic.h.
+   # First, try using that file with no special directory specified.
+-  cat >conftest.$ac_ext <<EOF
+-#line 9992 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 11760 "configure"
+ #include "confdefs.h"
+ #include <X11/Intrinsic.h>
+-EOF
+-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+-{ (eval echo configure:9997: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }
+-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+-if test -z "$ac_err"; then
++_ACEOF
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:11765: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++
++if test -z "$ac_cpp_err"; then
+   # We can compile using X headers with no special include directory.
+ ac_x_includes=
+ else
+-  echo "$ac_err" >&5
++  cat conftest.err >&5
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   for ac_dir in $ac_x_header_dirs; do
+@@ -11092,6 +11787,7 @@
+ done
+ fi
+ rm -f conftest*
++
+ fi # $ac_x_includes = no
+ 
+ if test "$ac_x_libraries" = no; then
+@@ -11100,8 +11796,8 @@
+   # Don't add to $LIBS permanently.
+   ac_save_LIBS=$LIBS
+   LIBS="-lXt $LIBS"
+-  cat >conftest.$ac_ext <<EOF
+-#line 10022 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 11800 "configure"
+ #include "confdefs.h"
+ #include <X11/Intrinsic.h>
+ int
+@@ -11111,8 +11807,9 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:10033: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:11812: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   LIBS=$ac_save_LIBS
+ # We can link X programs with no special library path.
+ ac_x_libraries=
+@@ -11131,7 +11828,7 @@
+   done
+ done
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi # $ac_x_libraries = no
+ 
+ if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
+@@ -11148,7 +11845,7 @@
+ fi # $with_x != no
+ 
+ if test "$have_x" != yes; then
+-  echo "configure:10067: result: $have_x" >&5
++  echo "configure:11848: result: $have_x" >&5
+ echo "${ECHO_T}$have_x" >&6
+   no_x=yes
+ else
+@@ -11158,7 +11855,7 @@
+   # Update the cache value to reflect the command line values.
+   ac_cv_have_x="have_x=yes \
+ 		ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
+-  echo "configure:10077: result: libraries $x_libraries, headers $x_includes" >&5
++  echo "configure:11858: result: libraries $x_libraries, headers $x_includes" >&5
+ echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
+ fi
+ 
+@@ -11182,43 +11879,39 @@
+     # others require no space.  Words are not sufficient . . . .
+     case `(uname -sr) 2>/dev/null` in
+     "SunOS 5"*)
+-      echo "configure:10097: checking whether -R must be followed by a space" >&5
++      echo "configure:11882: checking whether -R must be followed by a space" >&5
+ echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
+       ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
+-      cat >conftest.$ac_ext <<EOF
+-
+-EOF
+-if { (eval echo configure:10102: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++      rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:11886: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_R_nospace=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_R_nospace=no
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext
+       if test $ac_R_nospace = yes; then
+-	echo "configure:10111: result: no" >&5
++	echo "configure:11895: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	X_LIBS="$X_LIBS -R$x_libraries"
+       else
+ 	LIBS="$ac_xsave_LIBS -R $x_libraries"
+-	cat >conftest.$ac_ext <<EOF
+-
+-EOF
+-if { (eval echo configure:10118: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++	rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:11901: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_R_space=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_R_space=no
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext
+ 	if test $ac_R_space = yes; then
+-	  echo "configure:10127: result: yes" >&5
++	  echo "configure:11910: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	  X_LIBS="$X_LIBS -R $x_libraries"
+ 	else
+-	  echo "configure:10131: result: neither works" >&5
++	  echo "configure:11914: result: neither works" >&5
+ echo "${ECHO_T}neither works" >&6
+ 	fi
+       fi
+@@ -11237,19 +11930,15 @@
+     # libraries were built with DECnet support.  And Karl Berry says
+     # the Alpha needs dnet_stub (dnet does not exist).
+ 
+-case "${LDFLAGS+set} $ac_configure_args" in
+- *" LDFLAGS="* );;
+- "set "*) ac_configure_args="LDFLAGS='$LDFLAGS' $ac_configure_args";;
+-esac
+-echo "configure:10151: checking for dnet_ntoa in -ldnet" >&5
++echo "configure:11933: checking for dnet_ntoa in -ldnet" >&5
+ echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
+ if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   ac_check_lib_save_LIBS=$LIBS
+ LIBS="-ldnet  $LIBS"
+-cat >conftest.$ac_ext <<EOF
+-#line 10159 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 11941 "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -11266,18 +11955,19 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:10176: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:11960: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_lib_dnet_dnet_ntoa=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_lib_dnet_dnet_ntoa=no
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "configure:10186: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
++echo "configure:11970: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
+ echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
+ if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
+   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
+@@ -11285,19 +11975,15 @@
+ 
+     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
+ 
+-case "${LDFLAGS+set} $ac_configure_args" in
+- *" LDFLAGS="* );;
+- "set "*) ac_configure_args="LDFLAGS='$LDFLAGS' $ac_configure_args";;
+-esac
+-echo "configure:10196: checking for dnet_ntoa in -ldnet_stub" >&5
++echo "configure:11978: checking for dnet_ntoa in -ldnet_stub" >&5
+ echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
+ if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   ac_check_lib_save_LIBS=$LIBS
+ LIBS="-ldnet_stub  $LIBS"
+-cat >conftest.$ac_ext <<EOF
+-#line 10204 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 11986 "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -11314,18 +12000,19 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:10221: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:12005: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_lib_dnet_stub_dnet_ntoa=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_lib_dnet_stub_dnet_ntoa=no
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "configure:10231: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
++echo "configure:12015: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
+ echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
+ if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
+   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
+@@ -11341,13 +12028,13 @@
+     # on Irix 5.2, according to T.E. Dickey.
+     # The functions gethostbyname, getservbyname, and inet_addr are
+     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
+-    echo "configure:10245: checking for gethostbyname" >&5
++    echo "configure:12031: checking for gethostbyname" >&5
+ echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
+ if test "${ac_cv_func_gethostbyname+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 10251 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 12037 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char gethostbyname (); below.  */
+@@ -11376,34 +12063,31 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:10279: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:12068: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_func_gethostbyname=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_func_gethostbyname=no
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:10288: result: $ac_cv_func_gethostbyname" >&5
++echo "configure:12077: result: $ac_cv_func_gethostbyname" >&5
+ echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
+ 
+     if test $ac_cv_func_gethostbyname = no; then
+ 
+-case "${LDFLAGS+set} $ac_configure_args" in
+- *" LDFLAGS="* );;
+- "set "*) ac_configure_args="LDFLAGS='$LDFLAGS' $ac_configure_args";;
+-esac
+-echo "configure:10295: checking for gethostbyname in -lnsl" >&5
++echo "configure:12082: checking for gethostbyname in -lnsl" >&5
+ echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
+ if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   ac_check_lib_save_LIBS=$LIBS
+ LIBS="-lnsl  $LIBS"
+-cat >conftest.$ac_ext <<EOF
+-#line 10303 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 12090 "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -11420,18 +12104,19 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:10320: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:12109: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_lib_nsl_gethostbyname=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_lib_nsl_gethostbyname=no
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "configure:10330: result: $ac_cv_lib_nsl_gethostbyname" >&5
++echo "configure:12119: result: $ac_cv_lib_nsl_gethostbyname" >&5
+ echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
+ if test $ac_cv_lib_nsl_gethostbyname = yes; then
+   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
+@@ -11439,19 +12124,15 @@
+ 
+       if test $ac_cv_lib_nsl_gethostbyname = no; then
+ 
+-case "${LDFLAGS+set} $ac_configure_args" in
+- *" LDFLAGS="* );;
+- "set "*) ac_configure_args="LDFLAGS='$LDFLAGS' $ac_configure_args";;
+-esac
+-echo "configure:10340: checking for gethostbyname in -lbsd" >&5
++echo "configure:12127: checking for gethostbyname in -lbsd" >&5
+ echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
+ if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   ac_check_lib_save_LIBS=$LIBS
+ LIBS="-lbsd  $LIBS"
+-cat >conftest.$ac_ext <<EOF
+-#line 10348 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 12135 "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -11468,18 +12149,19 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:10365: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:12154: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_lib_bsd_gethostbyname=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_lib_bsd_gethostbyname=no
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "configure:10375: result: $ac_cv_lib_bsd_gethostbyname" >&5
++echo "configure:12164: result: $ac_cv_lib_bsd_gethostbyname" >&5
+ echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
+ if test $ac_cv_lib_bsd_gethostbyname = yes; then
+   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
+@@ -11495,13 +12177,13 @@
+     # variants that don't use the nameserver (or something).  -lsocket
+     # must be given before -lnsl if both are needed.  We assume that
+     # if connect needs -lnsl, so does gethostbyname.
+-    echo "configure:10389: checking for connect" >&5
++    echo "configure:12180: checking for connect" >&5
+ echo $ECHO_N "checking for connect... $ECHO_C" >&6
+ if test "${ac_cv_func_connect+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 10395 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 12186 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char connect (); below.  */
+@@ -11530,34 +12212,31 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:10423: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:12217: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_func_connect=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_func_connect=no
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:10432: result: $ac_cv_func_connect" >&5
++echo "configure:12226: result: $ac_cv_func_connect" >&5
+ echo "${ECHO_T}$ac_cv_func_connect" >&6
+ 
+     if test $ac_cv_func_connect = no; then
+ 
+-case "${LDFLAGS+set} $ac_configure_args" in
+- *" LDFLAGS="* );;
+- "set "*) ac_configure_args="LDFLAGS='$LDFLAGS' $ac_configure_args";;
+-esac
+-echo "configure:10439: checking for connect in -lsocket" >&5
++echo "configure:12231: checking for connect in -lsocket" >&5
+ echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
+ if test "${ac_cv_lib_socket_connect+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   ac_check_lib_save_LIBS=$LIBS
+ LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
+-cat >conftest.$ac_ext <<EOF
+-#line 10447 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 12239 "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -11574,18 +12253,19 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:10464: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:12258: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_lib_socket_connect=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_lib_socket_connect=no
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "configure:10474: result: $ac_cv_lib_socket_connect" >&5
++echo "configure:12268: result: $ac_cv_lib_socket_connect" >&5
+ echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
+ if test $ac_cv_lib_socket_connect = yes; then
+   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
+@@ -11594,13 +12274,13 @@
+     fi
+ 
+     # Guillermo Gomez says -lposix is necessary on A/UX.
+-    echo "configure:10481: checking for remove" >&5
++    echo "configure:12277: checking for remove" >&5
+ echo $ECHO_N "checking for remove... $ECHO_C" >&6
+ if test "${ac_cv_func_remove+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 10487 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 12283 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char remove (); below.  */
+@@ -11629,34 +12309,31 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:10515: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:12314: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_func_remove=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_func_remove=no
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:10524: result: $ac_cv_func_remove" >&5
++echo "configure:12323: result: $ac_cv_func_remove" >&5
+ echo "${ECHO_T}$ac_cv_func_remove" >&6
+ 
+     if test $ac_cv_func_remove = no; then
+ 
+-case "${LDFLAGS+set} $ac_configure_args" in
+- *" LDFLAGS="* );;
+- "set "*) ac_configure_args="LDFLAGS='$LDFLAGS' $ac_configure_args";;
+-esac
+-echo "configure:10531: checking for remove in -lposix" >&5
++echo "configure:12328: checking for remove in -lposix" >&5
+ echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
+ if test "${ac_cv_lib_posix_remove+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   ac_check_lib_save_LIBS=$LIBS
+ LIBS="-lposix  $LIBS"
+-cat >conftest.$ac_ext <<EOF
+-#line 10539 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 12336 "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -11673,18 +12350,19 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:10556: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:12355: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_lib_posix_remove=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_lib_posix_remove=no
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "configure:10566: result: $ac_cv_lib_posix_remove" >&5
++echo "configure:12365: result: $ac_cv_lib_posix_remove" >&5
+ echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
+ if test $ac_cv_lib_posix_remove = yes; then
+   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
+@@ -11693,13 +12371,13 @@
+     fi
+ 
+     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
+-    echo "configure:10573: checking for shmat" >&5
++    echo "configure:12374: checking for shmat" >&5
+ echo $ECHO_N "checking for shmat... $ECHO_C" >&6
+ if test "${ac_cv_func_shmat+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 10579 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 12380 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char shmat (); below.  */
+@@ -11728,34 +12406,31 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:10607: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:12411: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_func_shmat=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_func_shmat=no
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:10616: result: $ac_cv_func_shmat" >&5
++echo "configure:12420: result: $ac_cv_func_shmat" >&5
+ echo "${ECHO_T}$ac_cv_func_shmat" >&6
+ 
+     if test $ac_cv_func_shmat = no; then
+ 
+-case "${LDFLAGS+set} $ac_configure_args" in
+- *" LDFLAGS="* );;
+- "set "*) ac_configure_args="LDFLAGS='$LDFLAGS' $ac_configure_args";;
+-esac
+-echo "configure:10623: checking for shmat in -lipc" >&5
++echo "configure:12425: checking for shmat in -lipc" >&5
+ echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
+ if test "${ac_cv_lib_ipc_shmat+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   ac_check_lib_save_LIBS=$LIBS
+ LIBS="-lipc  $LIBS"
+-cat >conftest.$ac_ext <<EOF
+-#line 10631 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 12433 "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -11772,18 +12447,19 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:10648: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:12452: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_lib_ipc_shmat=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_lib_ipc_shmat=no
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "configure:10658: result: $ac_cv_lib_ipc_shmat" >&5
++echo "configure:12462: result: $ac_cv_lib_ipc_shmat" >&5
+ echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
+ if test $ac_cv_lib_ipc_shmat = yes; then
+   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
+@@ -11802,19 +12478,15 @@
+   # libraries we check for below, so use a different variable.
+   # John Interrante, Karl Berry
+ 
+-case "${LDFLAGS+set} $ac_configure_args" in
+- *" LDFLAGS="* );;
+- "set "*) ac_configure_args="LDFLAGS='$LDFLAGS' $ac_configure_args";;
+-esac
+-echo "configure:10678: checking for IceConnectionNumber in -lICE" >&5
++echo "configure:12481: checking for IceConnectionNumber in -lICE" >&5
+ echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
+ if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   ac_check_lib_save_LIBS=$LIBS
+ LIBS="-lICE $X_EXTRA_LIBS $LIBS"
+-cat >conftest.$ac_ext <<EOF
+-#line 10686 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 12489 "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -11831,18 +12503,19 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:10703: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:12508: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_lib_ICE_IceConnectionNumber=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_lib_ICE_IceConnectionNumber=no
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "configure:10713: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
++echo "configure:12518: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
+ echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
+ if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
+   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
+@@ -11855,7 +12528,7 @@
+ # try to figure out if we need any additional ld flags, like -R
+ # and yes, the autoconf X test is utterly broken
+ if test "$no_x" != yes; then
+-	echo "configure:10723: checking for special X linker flags" >&5
++	echo "configure:12531: checking for special X linker flags" >&5
+ echo $ECHO_N "checking for special X linker flags... $ECHO_C" >&6
+ if test "${krb_cv_sys_x_libs_rpath+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -11886,8 +12559,8 @@
+ 		if test "$cross_compiling" = yes; then
+   { echo "configure: error: cannot run test program while cross compiling" >&2; exit 1; }
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 10754 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 12563 "configure"
+ #include "confdefs.h"
+ 
+ 		#include <X11/Xlib.h>
+@@ -11900,16 +12573,17 @@
+ 		return 0;
+ 		}
+ 		
+-EOF
+-if { (eval echo configure:10767: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
+-   test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null; then
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo configure:12578: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
++   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
+   krb_cv_sys_x_libs_rpath="$rflag"; krb_cv_sys_x_libs="$foo"; break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   :
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+ 
+ 	done
+@@ -11917,7 +12591,7 @@
+ 	CFLAGS="$ac_save_cflags"
+ 	
+ fi
+-echo "configure:10782: result: $krb_cv_sys_x_libs_rpath" >&5
++echo "configure:12594: result: $krb_cv_sys_x_libs_rpath" >&5
+ echo "${ECHO_T}$krb_cv_sys_x_libs_rpath" >&6
+ 	X_LIBS="$krb_cv_sys_x_libs"
+ fi
+@@ -11937,7 +12611,7 @@
+ save_LDFLAGS="$LDFLAGS"
+ LDFLAGS="$LDFLAGS $X_LIBS"
+ 
+-echo "configure:10799: checking for XauWriteAuth" >&5
++echo "configure:12614: checking for XauWriteAuth" >&5
+ echo $ECHO_N "checking for XauWriteAuth... $ECHO_C" >&6
+ if test "${ac_cv_funclib_XauWriteAuth+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -11952,8 +12626,8 @@
+ 			ac_lib=""
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 10814 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 12630 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -11963,14 +12637,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:10824: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:12642: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_XauWriteAuth=$ac_lib; else ac_cv_funclib_XauWriteAuth=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_XauWriteAuth=\${ac_cv_funclib_XauWriteAuth-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -11985,13 +12660,13 @@
+ for ac_func in XauWriteAuth
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:10842: checking for $ac_func" >&5
++echo "configure:12663: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 10848 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 12669 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -12020,17 +12695,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:10876: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:12700: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:10885: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:12709: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -12054,13 +12730,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:10905: result: yes" >&5
++	echo "configure:12733: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_XauWriteAuth=no"
+ 	eval "LIB_XauWriteAuth="
+-	echo "configure:10911: result: no" >&5
++	echo "configure:12739: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -12074,7 +12750,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:10923: result: yes, in $ac_res" >&5
++	echo "configure:12753: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -12082,7 +12758,7 @@
+ ac_xxx="$LIBS"
+ LIBS="$LIB_XauWriteAuth $LIBS"
+ 
+-echo "configure:10929: checking for XauReadAuth" >&5
++echo "configure:12761: checking for XauReadAuth" >&5
+ echo $ECHO_N "checking for XauReadAuth... $ECHO_C" >&6
+ if test "${ac_cv_funclib_XauReadAuth+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -12097,8 +12773,8 @@
+ 			ac_lib=""
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 10944 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 12777 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -12108,14 +12784,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:10954: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:12789: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_XauReadAuth=$ac_lib; else ac_cv_funclib_XauReadAuth=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_XauReadAuth=\${ac_cv_funclib_XauReadAuth-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -12130,13 +12807,13 @@
+ for ac_func in XauReadAuth
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:10972: checking for $ac_func" >&5
++echo "configure:12810: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 10978 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 12816 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -12165,17 +12842,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:11006: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:12847: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:11015: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:12856: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -12199,13 +12877,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:11035: result: yes" >&5
++	echo "configure:12880: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_XauReadAuth=no"
+ 	eval "LIB_XauReadAuth="
+-	echo "configure:11041: result: no" >&5
++	echo "configure:12886: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -12219,14 +12897,14 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:11053: result: yes, in $ac_res" >&5
++	echo "configure:12900: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+ LIBS="$LIB_XauReadAauth $LIBS"
+ 
+-echo "configure:11058: checking for XauFileName" >&5
++echo "configure:12907: checking for XauFileName" >&5
+ echo $ECHO_N "checking for XauFileName... $ECHO_C" >&6
+ if test "${ac_cv_funclib_XauFileName+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -12241,8 +12919,8 @@
+ 			ac_lib=""
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 11073 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 12923 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -12252,14 +12930,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:11083: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:12935: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_XauFileName=$ac_lib; else ac_cv_funclib_XauFileName=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_XauFileName=\${ac_cv_funclib_XauFileName-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -12274,13 +12953,13 @@
+ for ac_func in XauFileName
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:11101: checking for $ac_func" >&5
++echo "configure:12956: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 11107 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 12962 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -12309,17 +12988,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:11135: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:12993: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:11144: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:13002: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -12343,13 +13023,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:11164: result: yes" >&5
++	echo "configure:13026: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_XauFileName=no"
+ 	eval "LIB_XauFileName="
+-	echo "configure:11170: result: no" >&5
++	echo "configure:13032: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -12363,7 +13043,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:11182: result: yes, in $ac_res" >&5
++	echo "configure:13046: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -12414,13 +13094,13 @@
+ LIBS=$save_LIBS
+ LDFLAGS=$save_LDFLAGS
+ 
+-echo "configure:11228: checking for an ANSI C-conforming const" >&5
++echo "configure:13097: checking for an ANSI C-conforming const" >&5
+ echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
+ if test "${ac_cv_c_const+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 11234 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 13103 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -12476,17 +13156,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:11288: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:13161: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_c_const=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_c_const=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:11297: result: $ac_cv_c_const" >&5
++echo "configure:13170: result: $ac_cv_c_const" >&5
+ echo "${ECHO_T}$ac_cv_c_const" >&6
+ if test $ac_cv_c_const = no; then
+ 
+@@ -12496,13 +13177,13 @@
+ 
+ fi
+ 
+-echo "configure:11304: checking for off_t" >&5
++echo "configure:13180: checking for off_t" >&5
+ echo $ECHO_N "checking for off_t... $ECHO_C" >&6
+ if test "${ac_cv_type_off_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 11310 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 13186 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -12515,17 +13196,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:11324: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:13201: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_off_t=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_off_t=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:11333: result: $ac_cv_type_off_t" >&5
++echo "configure:13210: result: $ac_cv_type_off_t" >&5
+ echo "${ECHO_T}$ac_cv_type_off_t" >&6
+ if test $ac_cv_type_off_t = yes; then
+   :
+@@ -12537,13 +13219,13 @@
+ 
+ fi
+ 
+-echo "configure:11342: checking for size_t" >&5
++echo "configure:13222: checking for size_t" >&5
+ echo $ECHO_N "checking for size_t... $ECHO_C" >&6
+ if test "${ac_cv_type_size_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 11348 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 13228 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -12556,17 +13238,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:11362: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:13243: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_size_t=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_size_t=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:11371: result: $ac_cv_type_size_t" >&5
++echo "configure:13252: result: $ac_cv_type_size_t" >&5
+ echo "${ECHO_T}$ac_cv_type_size_t" >&6
+ if test $ac_cv_type_size_t = yes; then
+   :
+@@ -12578,13 +13261,13 @@
+ 
+ fi
+ 
+-echo "configure:11380: checking for ssize_t" >&5
++echo "configure:13264: checking for ssize_t" >&5
+ echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
+ if test "${ac_cv_type_ssize_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 11386 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 13270 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -12592,7 +13275,7 @@
+ #include <stddef.h>
+ #endif
+ #include <unistd.h>
+-EOF
++_ACEOF
+ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+   egrep "ssize_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
+   ac_cv_type_ssize_t=yes
+@@ -12602,7 +13285,7 @@
+ rm -f conftest*
+ 
+ fi
+-echo "configure:11403: result: $ac_cv_type_ssize_t" >&5
++echo "configure:13288: result: $ac_cv_type_ssize_t" >&5
+ echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
+ if test $ac_cv_type_ssize_t = no; then
+ 
+@@ -12612,13 +13295,13 @@
+ 
+ fi
+ 
+-echo "configure:11410: checking for pid_t" >&5
++echo "configure:13298: checking for pid_t" >&5
+ echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
+ if test "${ac_cv_type_pid_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 11416 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 13304 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -12631,17 +13314,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:11430: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:13319: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_pid_t=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_pid_t=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:11439: result: $ac_cv_type_pid_t" >&5
++echo "configure:13328: result: $ac_cv_type_pid_t" >&5
+ echo "${ECHO_T}$ac_cv_type_pid_t" >&6
+ if test $ac_cv_type_pid_t = yes; then
+   :
+@@ -12653,17 +13337,17 @@
+ 
+ fi
+ 
+-echo "configure:11448: checking for uid_t in sys/types.h" >&5
++echo "configure:13340: checking for uid_t in sys/types.h" >&5
+ echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
+ if test "${ac_cv_type_uid_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 11454 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 13346 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ 
+-EOF
++_ACEOF
+ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+   egrep "uid_t" >/dev/null 2>&1; then
+   ac_cv_type_uid_t=yes
+@@ -12673,7 +13357,7 @@
+ rm -f conftest*
+ 
+ fi
+-echo "configure:11466: result: $ac_cv_type_uid_t" >&5
++echo "configure:13360: result: $ac_cv_type_uid_t" >&5
+ echo "${ECHO_T}$ac_cv_type_uid_t" >&6
+ if test $ac_cv_type_uid_t = no; then
+ 
+@@ -12687,13 +13371,13 @@
+ 
+ fi
+ 
+-echo "configure:11476: checking for mode_t" >&5
++echo "configure:13374: checking for mode_t" >&5
+ echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
+ if test "${ac_cv_type_mode_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 11482 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 13380 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -12701,7 +13385,7 @@
+ #include <stddef.h>
+ #endif
+ 
+-EOF
++_ACEOF
+ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+   egrep "mode_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
+   ac_cv_type_mode_t=yes
+@@ -12711,7 +13395,7 @@
+ rm -f conftest*
+ 
+ fi
+-echo "configure:11498: result: $ac_cv_type_mode_t" >&5
++echo "configure:13398: result: $ac_cv_type_mode_t" >&5
+ echo "${ECHO_T}$ac_cv_type_mode_t" >&6
+ if test $ac_cv_type_mode_t = no; then
+ 
+@@ -12721,13 +13405,13 @@
+ 
+ fi
+ 
+-echo "configure:11505: checking for sig_atomic_t" >&5
++echo "configure:13408: checking for sig_atomic_t" >&5
+ echo $ECHO_N "checking for sig_atomic_t... $ECHO_C" >&6
+ if test "${ac_cv_type_sig_atomic_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 11511 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 13414 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -12735,7 +13419,7 @@
+ #include <stddef.h>
+ #endif
+ #include <signal.h>
+-EOF
++_ACEOF
+ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+   egrep "sig_atomic_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
+   ac_cv_type_sig_atomic_t=yes
+@@ -12745,7 +13429,7 @@
+ rm -f conftest*
+ 
+ fi
+-echo "configure:11528: result: $ac_cv_type_sig_atomic_t" >&5
++echo "configure:13432: result: $ac_cv_type_sig_atomic_t" >&5
+ echo "${ECHO_T}$ac_cv_type_sig_atomic_t" >&6
+ if test $ac_cv_type_sig_atomic_t = no; then
+ 
+@@ -12756,13 +13440,13 @@
+ fi
+ 
+ cv=`echo "long long" | sed 'y%./+- %__p__%'`
+-echo "configure:11536: checking for long long" >&5
++echo "configure:13443: checking for long long" >&5
+ echo $ECHO_N "checking for long long... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 11542 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 13449 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -12777,29 +13461,30 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:11557: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:13466: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_type_$cv=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_type_$cv=no"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "configure:11567: result: $ac_foo" >&5
++echo "configure:13476: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo long long | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "configure:11572: checking for long long" >&5
++	echo "configure:13481: checking for long long" >&5
+ echo $ECHO_N "checking for long long... $ECHO_C" >&6
+ if test "${ac_cv_type_long_long+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 11578 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 13487 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -12812,17 +13497,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:11592: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:13502: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_long_long=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_long_long=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:11601: result: $ac_cv_type_long_long" >&5
++echo "configure:13511: result: $ac_cv_type_long_long" >&5
+ echo "${ECHO_T}$ac_cv_type_long_long" >&6
+ if test $ac_cv_type_long_long = yes; then
+ 
+@@ -12840,13 +13526,13 @@
+ 
+ fi
+ 
+-echo "configure:11613: checking whether time.h and sys/time.h may both be included" >&5
++echo "configure:13529: checking whether time.h and sys/time.h may both be included" >&5
+ echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
+ if test "${ac_cv_header_time+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 11619 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 13535 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #include <sys/time.h>
+@@ -12859,17 +13545,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:11632: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:13550: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_header_time=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_header_time=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:11641: result: $ac_cv_header_time" >&5
++echo "configure:13559: result: $ac_cv_header_time" >&5
+ echo "${ECHO_T}$ac_cv_header_time" >&6
+ if test $ac_cv_header_time = yes; then
+ 
+@@ -12879,13 +13566,13 @@
+ 
+ fi
+ 
+-echo "configure:11648: checking whether struct tm is in sys/time.h or time.h" >&5
++echo "configure:13569: checking whether struct tm is in sys/time.h or time.h" >&5
+ echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
+ if test "${ac_cv_struct_tm+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 11654 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 13575 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #include <time.h>
+@@ -12897,17 +13584,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:11666: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:13589: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_struct_tm=time.h
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_struct_tm=sys/time.h
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:11675: result: $ac_cv_struct_tm" >&5
++echo "configure:13598: result: $ac_cv_struct_tm" >&5
+ echo "${ECHO_T}$ac_cv_struct_tm" >&6
+ if test $ac_cv_struct_tm = sys/time.h; then
+ 
+@@ -12917,27 +13605,35 @@
+ 
+ fi
+ 
+-echo "configure:11682: checking for ANSI C header files" >&5
++echo "configure:13608: checking for ANSI C header files" >&5
+ echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
+ if test "${ac_cv_header_stdc+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 11688 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 13614 "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:11696: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }
+-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+-if test -z "$ac_err"; then
++_ACEOF
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:13623: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++
++if test -z "$ac_cpp_err"; then
+   ac_cv_header_stdc=yes
+ else
+-  echo "$ac_err" >&5
++  cat conftest.err >&5
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_header_stdc=no
+@@ -12946,12 +13642,12 @@
+ 
+ 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 11710 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 13646 "configure"
+ #include "confdefs.h"
+ #include <string.h>
+ 
+-EOF
++_ACEOF
+ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+   egrep "memchr" >/dev/null 2>&1; then
+   :
+@@ -12964,12 +13660,12 @@
+ 
+ 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 11725 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 13664 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ 
+-EOF
++_ACEOF
+ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+   egrep "free" >/dev/null 2>&1; then
+   :
+@@ -12985,8 +13681,8 @@
+   if test "$cross_compiling" = yes; then
+   :
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 11743 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 13685 "configure"
+ #include "confdefs.h"
+ #include <ctype.h>
+ #if ((' ' & 0x0FF) == 0x020)
+@@ -13010,21 +13706,22 @@
+       exit(2);
+   exit (0);
+ }
+-EOF
+-if { (eval echo configure:11767: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
+-   test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null; then
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo configure:13711: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
++   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
+   :
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_header_stdc=no
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+ 
+ fi
+ fi
+-echo "configure:11779: result: $ac_cv_header_stdc" >&5
++echo "configure:13724: result: $ac_cv_header_stdc" >&5
+ echo "${ECHO_T}$ac_cv_header_stdc" >&6
+ if test $ac_cv_header_stdc = yes; then
+ 
+@@ -13127,35 +13824,41 @@
+ 
+ do
+ ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
+-case "${CPPFLAGS+set} $ac_configure_args" in
+- *" CPPFLAGS="* );;
+- "set "*) ac_configure_args="CPPFLAGS='$CPPFLAGS' $ac_configure_args";;
+-esac
+-echo "configure:11882: checking for $ac_header" >&5
++
++echo "configure:13828: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 11888 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 13834 "configure"
+ #include "confdefs.h"
+ #include <$ac_header>
+ 
+-EOF
+-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+-{ (eval echo configure:11893: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }
+-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+-if test -z "$ac_err"; then
++_ACEOF
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:13840: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++
++if test -z "$ac_cpp_err"; then
+   eval "$ac_ac_Header=yes"
+ else
+-  echo "$ac_err" >&5
++  cat conftest.err >&5
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_Header=no"
+ fi
+ rm -f conftest*
++
+ fi
+-echo "configure:11905: result: `eval echo '${'$ac_ac_Header'}'`" >&5
++echo "configure:13861: result: `eval echo '${'$ac_ac_Header'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
+ if test `eval echo '${'$ac_ac_Header'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -13168,35 +13871,41 @@
+ for ac_header in standards.h
+ do
+ ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
+-case "${CPPFLAGS+set} $ac_configure_args" in
+- *" CPPFLAGS="* );;
+- "set "*) ac_configure_args="CPPFLAGS='$CPPFLAGS' $ac_configure_args";;
+-esac
+-echo "configure:11920: checking for $ac_header" >&5
++
++echo "configure:13875: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 11926 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 13881 "configure"
+ #include "confdefs.h"
+ #include <$ac_header>
+ 
+-EOF
+-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+-{ (eval echo configure:11931: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }
+-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+-if test -z "$ac_err"; then
++_ACEOF
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:13887: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++
++if test -z "$ac_cpp_err"; then
+   eval "$ac_ac_Header=yes"
+ else
+-  echo "$ac_err" >&5
++  cat conftest.err >&5
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_Header=no"
+ fi
+ rm -f conftest*
++
+ fi
+-echo "configure:11943: result: `eval echo '${'$ac_ac_Header'}'`" >&5
++echo "configure:13908: result: `eval echo '${'$ac_ac_Header'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
+ if test `eval echo '${'$ac_ac_Header'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -13210,13 +13919,13 @@
+ 
+ cv=`echo "$i" | sed 'y%./+-%__p_%'`
+ 
+-echo "configure:11953: checking for $i" >&5
++echo "configure:13922: checking for $i" >&5
+ echo $ECHO_N "checking for $i... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_header_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 11959 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 13928 "configure"
+ #include "confdefs.h"
+ \
+ #ifdef HAVE_STANDARDS_H
+@@ -13224,21 +13933,30 @@
+ #endif
+ #include <$i>
+ 
+-EOF
+-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+-{ (eval echo configure:11968: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }
+-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+-if test -z "$ac_err"; then
++_ACEOF
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:13938: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++
++if test -z "$ac_cpp_err"; then
+   eval "ac_cv_header_$cv=yes"
+ else
+-  echo "$ac_err" >&5
++  cat conftest.err >&5
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_header_$cv=no"
+ fi
+ rm -f conftest*
++
+ fi
+-echo "configure:11980: result: `eval echo '${'ac_cv_header_$cv'}'`" >&5
++echo "configure:13959: result: `eval echo '${'ac_cv_header_$cv'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'ac_cv_header_$cv'}'`" >&6
+ ac_res=`eval echo \\$ac_cv_header_$cv`
+ if test "$ac_res" = yes; then
+@@ -13255,35 +13973,41 @@
+ for ac_header in netinet/ip.h netinet/tcp.h
+ do
+ ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
+-case "${CPPFLAGS+set} $ac_configure_args" in
+- *" CPPFLAGS="* );;
+- "set "*) ac_configure_args="CPPFLAGS='$CPPFLAGS' $ac_configure_args";;
+-esac
+-echo "configure:11999: checking for $ac_header" >&5
++
++echo "configure:13977: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 12005 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 13983 "configure"
+ #include "confdefs.h"
+ #include <$ac_header>
+ 
+-EOF
+-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+-{ (eval echo configure:12010: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }
+-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+-if test -z "$ac_err"; then
++_ACEOF
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:13989: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++
++if test -z "$ac_cpp_err"; then
+   eval "$ac_ac_Header=yes"
+ else
+-  echo "$ac_err" >&5
++  cat conftest.err >&5
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_Header=no"
+ fi
+ rm -f conftest*
++
+ fi
+-echo "configure:12022: result: `eval echo '${'$ac_ac_Header'}'`" >&5
++echo "configure:14010: result: `eval echo '${'$ac_ac_Header'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
+ if test `eval echo '${'$ac_ac_Header'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -13299,7 +14023,7 @@
+ if test "${enable_netinfo+set}" = set; then
+   enableval="$enable_netinfo"
+ 
+-fi
++fi;
+ 
+ if test "$ac_cv_header_netinfo_ni_h" = yes -a "$enable_netinfo" = yes; then
+ 
+@@ -13332,27 +14056,27 @@
+ if test "$withval" = "no"; then
+ 	ac_cv_lib_ipv6=no
+ fi
+-fi
++fi;
+ if test "${ac_cv_lib_ipv6+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   v6type=unknown
+ v6lib=none
+ 
+-echo "configure:12066: checking ipv6 stack type" >&5
++echo "configure:14066: checking ipv6 stack type" >&5
+ echo $ECHO_N "checking ipv6 stack type... $ECHO_C" >&6
+ for i in v6d toshiba kame inria zeta linux; do
+ 	case $i in
+ 	v6d)
+-		cat >conftest.$ac_ext <<EOF
+-#line 12072 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 14072 "configure"
+ #include "confdefs.h"
+ dnl
+ #include </usr/local/v6/include/sys/types.h>
+ #ifdef __V6D__
+ yes
+ #endif
+-EOF
++_ACEOF
+ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+   egrep "yes" >/dev/null 2>&1; then
+   v6type=$i; v6lib=v6;
+@@ -13363,15 +14087,15 @@
+ 
+ 		;;
+ 	toshiba)
+-		cat >conftest.$ac_ext <<EOF
+-#line 12090 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 14091 "configure"
+ #include "confdefs.h"
+ dnl
+ #include <sys/param.h>
+ #ifdef _TOSHIBA_INET6
+ yes
+ #endif
+-EOF
++_ACEOF
+ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+   egrep "yes" >/dev/null 2>&1; then
+   v6type=$i; v6lib=inet6;
+@@ -13382,15 +14106,15 @@
+ 
+ 		;;
+ 	kame)
+-		cat >conftest.$ac_ext <<EOF
+-#line 12108 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 14110 "configure"
+ #include "confdefs.h"
+ dnl
+ #include <netinet/in.h>
+ #ifdef __KAME__
+ yes
+ #endif
+-EOF
++_ACEOF
+ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+   egrep "yes" >/dev/null 2>&1; then
+   v6type=$i; v6lib=inet6;
+@@ -13401,15 +14125,15 @@
+ 
+ 		;;
+ 	inria)
+-		cat >conftest.$ac_ext <<EOF
+-#line 12126 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 14129 "configure"
+ #include "confdefs.h"
+ dnl
+ #include <netinet/in.h>
+ #ifdef IPV6_INRIA_VERSION
+ yes
+ #endif
+-EOF
++_ACEOF
+ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+   egrep "yes" >/dev/null 2>&1; then
+   v6type=$i; CFLAGS="-DINET6 $CFLAGS"
+@@ -13418,15 +14142,15 @@
+ 
+ 		;;
+ 	zeta)
+-		cat >conftest.$ac_ext <<EOF
+-#line 12142 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 14146 "configure"
+ #include "confdefs.h"
+ dnl
+ #include <sys/param.h>
+ #ifdef _ZETA_MINAMI_INET6
+ yes
+ #endif
+-EOF
++_ACEOF
+ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+   egrep "yes" >/dev/null 2>&1; then
+   v6type=$i; v6lib=inet6;
+@@ -13449,7 +14173,7 @@
+ 		break
+ 	fi
+ done
+-echo "configure:12171: result: $v6type" >&5
++echo "configure:14176: result: $v6type" >&5
+ echo "${ECHO_T}$v6type" >&6
+ 
+ if test "$v6lib" != "none"; then
+@@ -13460,8 +14184,8 @@
+ 		fi
+ 	done
+ fi
+-cat >conftest.$ac_ext <<EOF
+-#line 12182 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 14188 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_SYS_TYPES_H
+@@ -13494,20 +14218,21 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:12210: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:14223: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_lib_ipv6=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_lib_ipv6=no
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+ 
+-echo "configure:12219: checking for IPv6" >&5
++echo "configure:14233: checking for IPv6" >&5
+ echo $ECHO_N "checking for IPv6... $ECHO_C" >&6
+-echo "configure:12221: result: $ac_cv_lib_ipv6" >&5
++echo "configure:14235: result: $ac_cv_lib_ipv6" >&5
+ echo "${ECHO_T}$ac_cv_lib_ipv6" >&6
+ if test "$ac_cv_lib_ipv6" = yes; then
+ 
+@@ -13517,7 +14242,7 @@
+ 
+ fi
+ 
+-echo "configure:12228: checking for socket" >&5
++echo "configure:14245: checking for socket" >&5
+ echo $ECHO_N "checking for socket... $ECHO_C" >&6
+ if test "${ac_cv_funclib_socket+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -13532,8 +14257,8 @@
+ 			ac_lib=""
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 12243 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 14261 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -13543,14 +14268,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:12253: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:14273: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_socket=$ac_lib; else ac_cv_funclib_socket=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_socket=\${ac_cv_funclib_socket-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -13565,13 +14291,13 @@
+ for ac_func in socket
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:12271: checking for $ac_func" >&5
++echo "configure:14294: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 12277 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 14300 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -13600,17 +14326,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:12305: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:14331: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:12314: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:14340: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -13634,13 +14361,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:12334: result: yes" >&5
++	echo "configure:14364: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_socket=no"
+ 	eval "LIB_socket="
+-	echo "configure:12340: result: no" >&5
++	echo "configure:14370: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -13654,7 +14381,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:12352: result: yes, in $ac_res" >&5
++	echo "configure:14384: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -13663,7 +14390,7 @@
+ 	LIBS="$LIB_socket $LIBS"
+ fi
+ 
+-echo "configure:12359: checking for gethostbyname" >&5
++echo "configure:14393: checking for gethostbyname" >&5
+ echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
+ if test "${ac_cv_funclib_gethostbyname+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -13678,8 +14405,8 @@
+ 			ac_lib=""
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 12374 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 14409 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -13689,14 +14416,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:12384: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:14421: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_gethostbyname=$ac_lib; else ac_cv_funclib_gethostbyname=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_gethostbyname=\${ac_cv_funclib_gethostbyname-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -13711,13 +14439,13 @@
+ for ac_func in gethostbyname
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:12402: checking for $ac_func" >&5
++echo "configure:14442: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 12408 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 14448 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -13746,17 +14474,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:12436: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:14479: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:12445: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:14488: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -13780,13 +14509,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:12465: result: yes" >&5
++	echo "configure:14512: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_gethostbyname=no"
+ 	eval "LIB_gethostbyname="
+-	echo "configure:12471: result: no" >&5
++	echo "configure:14518: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -13800,7 +14529,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:12483: result: yes, in $ac_res" >&5
++	echo "configure:14532: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -13809,7 +14538,7 @@
+ 	LIBS="$LIB_gethostbyname $LIBS"
+ fi
+ 
+-echo "configure:12490: checking for syslog" >&5
++echo "configure:14541: checking for syslog" >&5
+ echo $ECHO_N "checking for syslog... $ECHO_C" >&6
+ if test "${ac_cv_funclib_syslog+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -13824,8 +14553,8 @@
+ 			ac_lib=""
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 12505 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 14557 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -13835,14 +14564,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:12515: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:14569: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_syslog=$ac_lib; else ac_cv_funclib_syslog=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_syslog=\${ac_cv_funclib_syslog-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -13857,13 +14587,13 @@
+ for ac_func in syslog
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:12533: checking for $ac_func" >&5
++echo "configure:14590: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 12539 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 14596 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -13892,17 +14622,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:12567: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:14627: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:12576: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:14636: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -13926,13 +14657,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:12596: result: yes" >&5
++	echo "configure:14660: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_syslog=no"
+ 	eval "LIB_syslog="
+-	echo "configure:12602: result: no" >&5
++	echo "configure:14666: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -13946,7 +14677,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:12614: result: yes, in $ac_res" >&5
++	echo "configure:14680: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -13955,7 +14686,7 @@
+ 	LIBS="$LIB_syslog $LIBS"
+ fi
+ 
+-echo "configure:12621: checking for logwtmp" >&5
++echo "configure:14689: checking for logwtmp" >&5
+ echo $ECHO_N "checking for logwtmp... $ECHO_C" >&6
+ if test "${ac_cv_funclib_logwtmp+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -13970,8 +14701,8 @@
+ 			ac_lib=""
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 12636 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 14705 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -13981,14 +14712,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:12646: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:14717: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_logwtmp=$ac_lib; else ac_cv_funclib_logwtmp=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_logwtmp=\${ac_cv_funclib_logwtmp-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -14003,13 +14735,13 @@
+ for ac_func in logwtmp
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:12664: checking for $ac_func" >&5
++echo "configure:14738: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 12670 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 14744 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -14038,17 +14770,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:12698: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:14775: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:12707: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:14784: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -14072,13 +14805,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:12727: result: yes" >&5
++	echo "configure:14808: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_logwtmp=no"
+ 	eval "LIB_logwtmp="
+-	echo "configure:12733: result: no" >&5
++	echo "configure:14814: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -14092,12 +14825,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:12745: result: yes, in $ac_res" >&5
++	echo "configure:14828: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "configure:12749: checking for tgetent" >&5
++echo "configure:14833: checking for tgetent" >&5
+ echo $ECHO_N "checking for tgetent... $ECHO_C" >&6
+ if test "${ac_cv_funclib_tgetent+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -14112,8 +14845,8 @@
+ 			ac_lib=""
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 12764 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 14849 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -14123,14 +14856,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:12774: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:14861: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_tgetent=$ac_lib; else ac_cv_funclib_tgetent=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_tgetent=\${ac_cv_funclib_tgetent-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -14145,13 +14879,13 @@
+ for ac_func in tgetent
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:12792: checking for $ac_func" >&5
++echo "configure:14882: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 12798 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 14888 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -14180,17 +14914,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:12826: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:14919: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:12835: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:14928: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -14214,13 +14949,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:12855: result: yes" >&5
++	echo "configure:14952: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_tgetent=no"
+ 	eval "LIB_tgetent="
+-	echo "configure:12861: result: no" >&5
++	echo "configure:14958: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -14234,12 +14969,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:12873: result: yes, in $ac_res" >&5
++	echo "configure:14972: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "configure:12877: checking for gethostbyname2" >&5
++echo "configure:14977: checking for gethostbyname2" >&5
+ echo $ECHO_N "checking for gethostbyname2... $ECHO_C" >&6
+ if test "${ac_cv_funclib_gethostbyname2+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -14254,8 +14989,8 @@
+ 			ac_lib=""
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 12892 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 14993 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -14265,14 +15000,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:12902: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:15005: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_gethostbyname2=$ac_lib; else ac_cv_funclib_gethostbyname2=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_gethostbyname2=\${ac_cv_funclib_gethostbyname2-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -14287,13 +15023,13 @@
+ for ac_func in gethostbyname2
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:12920: checking for $ac_func" >&5
++echo "configure:15026: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 12926 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 15032 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -14322,17 +15058,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:12954: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:15063: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:12963: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:15072: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -14356,13 +15093,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:12983: result: yes" >&5
++	echo "configure:15096: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_gethostbyname2=no"
+ 	eval "LIB_gethostbyname2="
+-	echo "configure:12989: result: no" >&5
++	echo "configure:15102: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -14376,7 +15113,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:13001: result: yes, in $ac_res" >&5
++	echo "configure:15116: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -14385,7 +15122,7 @@
+ 	LIBS="$LIB_gethostbyname2 $LIBS"
+ fi
+ 
+-echo "configure:13008: checking for res_search" >&5
++echo "configure:15125: checking for res_search" >&5
+ echo $ECHO_N "checking for res_search... $ECHO_C" >&6
+ if test "${ac_cv_funclib_res_search+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -14400,8 +15137,8 @@
+ 			ac_lib=""
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 13023 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 15141 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -14425,14 +15162,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:13046: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:15167: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_res_search=$ac_lib; else ac_cv_funclib_res_search=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_res_search=\${ac_cv_funclib_res_search-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -14447,13 +15185,13 @@
+ for ac_func in res_search
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:13064: checking for $ac_func" >&5
++echo "configure:15188: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 13070 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 15194 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -14482,17 +15220,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:13098: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:15225: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:13107: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:15234: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -14516,13 +15255,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:13127: result: yes" >&5
++	echo "configure:15258: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_res_search=no"
+ 	eval "LIB_res_search="
+-	echo "configure:13133: result: no" >&5
++	echo "configure:15264: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -14536,7 +15275,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:13145: result: yes, in $ac_res" >&5
++	echo "configure:15278: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -14545,7 +15284,7 @@
+ 	LIBS="$LIB_res_search $LIBS"
+ fi
+ 
+-echo "configure:13152: checking for dn_expand" >&5
++echo "configure:15287: checking for dn_expand" >&5
+ echo $ECHO_N "checking for dn_expand... $ECHO_C" >&6
+ if test "${ac_cv_funclib_dn_expand+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -14560,8 +15299,8 @@
+ 			ac_lib=""
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 13167 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 15303 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -14585,14 +15324,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:13190: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:15329: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_dn_expand=$ac_lib; else ac_cv_funclib_dn_expand=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_dn_expand=\${ac_cv_funclib_dn_expand-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -14607,13 +15347,13 @@
+ for ac_func in dn_expand
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:13208: checking for $ac_func" >&5
++echo "configure:15350: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 13214 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 15356 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -14642,17 +15382,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:13242: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:15387: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:13251: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:15396: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -14676,13 +15417,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:13271: result: yes" >&5
++	echo "configure:15420: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_dn_expand=no"
+ 	eval "LIB_dn_expand="
+-	echo "configure:13277: result: no" >&5
++	echo "configure:15426: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -14696,7 +15437,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:13289: result: yes, in $ac_res" >&5
++	echo "configure:15440: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -14705,7 +15446,7 @@
+ 	LIBS="$LIB_dn_expand $LIBS"
+ fi
+ 
+-echo "configure:13296: checking for working snprintf" >&5
++echo "configure:15449: checking for working snprintf" >&5
+ echo $ECHO_N "checking for working snprintf... $ECHO_C" >&6
+ if test "${ac_cv_func_snprintf_working+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -14714,8 +15455,8 @@
+ if test "$cross_compiling" = yes; then
+   :
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 13306 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 15459 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -14726,20 +15467,21 @@
+ 	snprintf(foo, 2, "12");
+ 	return strcmp(foo, "1");
+ }
+-EOF
+-if { (eval echo configure:13317: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
+-   test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null; then
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo configure:15472: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
++   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
+   :
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_func_snprintf_working=no
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+ 
+ fi
+-echo "configure:13328: result: $ac_cv_func_snprintf_working" >&5
++echo "configure:15484: result: $ac_cv_func_snprintf_working" >&5
+ echo "${ECHO_T}$ac_cv_func_snprintf_working" >&6
+ 
+ if test "$ac_cv_func_snprintf_working" = yes; then
+@@ -14752,13 +15494,13 @@
+ if test "$ac_cv_func_snprintf_working" = yes; then
+ 
+ if test "$ac_cv_func_snprintf+set" != set -o "$ac_cv_func_snprintf" = yes; then
+-echo "configure:13338: checking if snprintf needs a prototype" >&5
++echo "configure:15497: checking if snprintf needs a prototype" >&5
+ echo $ECHO_N "checking if snprintf needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_snprintf_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 13344 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 15503 "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
+ int
+@@ -14771,17 +15513,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:13357: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:15518: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_snprintf_noproto=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_func_snprintf_noproto=no"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:13366: result: $ac_cv_func_snprintf_noproto" >&5
++echo "configure:15527: result: $ac_cv_func_snprintf_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_snprintf_noproto" >&6
+ 
+ if test "$ac_cv_func_snprintf_noproto" = yes; then
+@@ -14796,7 +15539,7 @@
+ 
+ fi
+ 
+-echo "configure:13376: checking for working vsnprintf" >&5
++echo "configure:15542: checking for working vsnprintf" >&5
+ echo $ECHO_N "checking for working vsnprintf... $ECHO_C" >&6
+ if test "${ac_cv_func_vsnprintf_working+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -14805,8 +15548,8 @@
+ if test "$cross_compiling" = yes; then
+   :
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 13386 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 15552 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -14827,20 +15570,21 @@
+ {
+ 	return foo(0, "12");
+ }
+-EOF
+-if { (eval echo configure:13405: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
+-   test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null; then
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo configure:15575: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
++   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
+   :
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_func_vsnprintf_working=no
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+ 
+ fi
+-echo "configure:13416: result: $ac_cv_func_vsnprintf_working" >&5
++echo "configure:15587: result: $ac_cv_func_vsnprintf_working" >&5
+ echo "${ECHO_T}$ac_cv_func_vsnprintf_working" >&6
+ 
+ if test "$ac_cv_func_vsnprintf_working" = yes; then
+@@ -14853,13 +15597,13 @@
+ if test "$ac_cv_func_vsnprintf_working" = yes; then
+ 
+ if test "$ac_cv_func_vsnprintf+set" != set -o "$ac_cv_func_vsnprintf" = yes; then
+-echo "configure:13426: checking if vsnprintf needs a prototype" >&5
++echo "configure:15600: checking if vsnprintf needs a prototype" >&5
+ echo $ECHO_N "checking if vsnprintf needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_vsnprintf_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 13432 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 15606 "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
+ int
+@@ -14872,17 +15616,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:13445: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:15621: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_vsnprintf_noproto=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_func_vsnprintf_noproto=no"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:13454: result: $ac_cv_func_vsnprintf_noproto" >&5
++echo "configure:15630: result: $ac_cv_func_vsnprintf_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_vsnprintf_noproto" >&6
+ 
+ if test "$ac_cv_func_vsnprintf_noproto" = yes; then
+@@ -14932,13 +15677,13 @@
+ 
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:13498: checking for $ac_func" >&5
++echo "configure:15680: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 13504 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 15686 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -14967,17 +15712,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:13532: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:15717: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:13541: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:15726: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -14990,35 +15736,41 @@
+ for ac_header in capability.h sys/capability.h
+ do
+ ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
+-case "${CPPFLAGS+set} $ac_configure_args" in
+- *" CPPFLAGS="* );;
+- "set "*) ac_configure_args="CPPFLAGS='$CPPFLAGS' $ac_configure_args";;
+-esac
+-echo "configure:13556: checking for $ac_header" >&5
++
++echo "configure:15740: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 13562 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 15746 "configure"
+ #include "confdefs.h"
+ #include <$ac_header>
+ 
+-EOF
+-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+-{ (eval echo configure:13567: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }
+-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+-if test -z "$ac_err"; then
++_ACEOF
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:15752: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++
++if test -z "$ac_cpp_err"; then
+   eval "$ac_ac_Header=yes"
+ else
+-  echo "$ac_err" >&5
++  cat conftest.err >&5
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_Header=no"
+ fi
+ rm -f conftest*
++
+ fi
+-echo "configure:13579: result: `eval echo '${'$ac_ac_Header'}'`" >&5
++echo "configure:15773: result: `eval echo '${'$ac_ac_Header'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
+ if test `eval echo '${'$ac_ac_Header'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -15031,13 +15783,13 @@
+ for ac_func in sgi_getcapabilitybyname cap_set_proc
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:13590: checking for $ac_func" >&5
++echo "configure:15786: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 13596 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 15792 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -15066,17 +15818,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:13624: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:15823: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:13633: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:15832: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -15086,7 +15839,7 @@
+ fi
+ done
+ 
+-echo "configure:13641: checking for getpwnam_r" >&5
++echo "configure:15842: checking for getpwnam_r" >&5
+ echo $ECHO_N "checking for getpwnam_r... $ECHO_C" >&6
+ if test "${ac_cv_funclib_getpwnam_r+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -15101,8 +15854,8 @@
+ 			ac_lib=""
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 13656 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 15858 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -15112,14 +15865,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:13666: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:15870: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_getpwnam_r=$ac_lib; else ac_cv_funclib_getpwnam_r=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_getpwnam_r=\${ac_cv_funclib_getpwnam_r-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -15134,13 +15888,13 @@
+ for ac_func in getpwnam_r
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:13684: checking for $ac_func" >&5
++echo "configure:15891: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 13690 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 15897 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -15169,17 +15923,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:13718: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:15928: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:13727: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:15937: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -15203,13 +15958,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:13747: result: yes" >&5
++	echo "configure:15961: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_getpwnam_r=no"
+ 	eval "LIB_getpwnam_r="
+-	echo "configure:13753: result: no" >&5
++	echo "configure:15967: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -15223,13 +15978,13 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:13765: result: yes, in $ac_res" >&5
++	echo "configure:15981: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+ if test "$ac_cv_func_getpwnam_r" = yes; then
+-	echo "configure:13770: checking if getpwnam_r is posix" >&5
++	echo "configure:15987: checking if getpwnam_r is posix" >&5
+ echo $ECHO_N "checking if getpwnam_r is posix... $ECHO_C" >&6
+ if test "${ac_cv_func_getpwnam_r_posix+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -15239,8 +15994,8 @@
+ 	if test "$cross_compiling" = yes; then
+   :
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 13781 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 15998 "configure"
+ #include "confdefs.h"
+ 
+ #include <pwd.h>
+@@ -15250,21 +16005,22 @@
+ 	return getpwnam_r("", &pw, NULL, 0, &pwd) < 0;
+ }
+ 
+-EOF
+-if { (eval echo configure:13790: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
+-   test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null; then
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo configure:16010: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
++   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
+   ac_cv_func_getpwnam_r_posix=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_func_getpwnam_r_posix=no
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+ 
+ LIBS="$ac_libs"
+ fi
+-echo "configure:13802: result: $ac_cv_func_getpwnam_r_posix" >&5
++echo "configure:16023: result: $ac_cv_func_getpwnam_r_posix" >&5
+ echo "${ECHO_T}$ac_cv_func_getpwnam_r_posix" >&6
+ if test "$ac_cv_func_getpwnam_r_posix" = yes; then
+ 	
+@@ -15275,7 +16031,7 @@
+ fi
+ fi
+ 
+-echo "configure:13811: checking for getsockopt" >&5
++echo "configure:16034: checking for getsockopt" >&5
+ echo $ECHO_N "checking for getsockopt... $ECHO_C" >&6
+ if test "${ac_cv_funclib_getsockopt+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -15290,8 +16046,8 @@
+ 			ac_lib=""
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 13826 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 16050 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_SYS_TYPES_H
+ #include <sys/types.h>
+@@ -15306,14 +16062,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:13842: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:16067: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_getsockopt=$ac_lib; else ac_cv_funclib_getsockopt=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_getsockopt=\${ac_cv_funclib_getsockopt-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -15328,13 +16085,13 @@
+ for ac_func in getsockopt
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:13860: checking for $ac_func" >&5
++echo "configure:16088: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 13866 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 16094 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -15363,17 +16120,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:13894: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:16125: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:13903: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:16134: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -15397,13 +16155,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:13923: result: yes" >&5
++	echo "configure:16158: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_getsockopt=no"
+ 	eval "LIB_getsockopt="
+-	echo "configure:13929: result: no" >&5
++	echo "configure:16164: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -15417,12 +16175,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:13941: result: yes, in $ac_res" >&5
++	echo "configure:16178: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "configure:13945: checking for setsockopt" >&5
++echo "configure:16183: checking for setsockopt" >&5
+ echo $ECHO_N "checking for setsockopt... $ECHO_C" >&6
+ if test "${ac_cv_funclib_setsockopt+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -15437,8 +16195,8 @@
+ 			ac_lib=""
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 13960 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 16199 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_SYS_TYPES_H
+ #include <sys/types.h>
+@@ -15453,14 +16211,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:13976: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:16216: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_setsockopt=$ac_lib; else ac_cv_funclib_setsockopt=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_setsockopt=\${ac_cv_funclib_setsockopt-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -15475,13 +16234,13 @@
+ for ac_func in setsockopt
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:13994: checking for $ac_func" >&5
++echo "configure:16237: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 14000 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 16243 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -15510,17 +16269,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:14028: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:16274: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:14037: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:16283: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -15544,13 +16304,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:14057: result: yes" >&5
++	echo "configure:16307: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_setsockopt=no"
+ 	eval "LIB_setsockopt="
+-	echo "configure:14063: result: no" >&5
++	echo "configure:16313: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -15564,7 +16324,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:14075: result: yes, in $ac_res" >&5
++	echo "configure:16327: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -15572,13 +16332,13 @@
+ for ac_func in getudbnam setlim
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:14082: checking for $ac_func" >&5
++echo "configure:16335: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 14088 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 16341 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -15607,17 +16367,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:14116: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:16372: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:14125: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:16381: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -15627,13 +16388,13 @@
+ fi
+ done
+ 
+-echo "configure:14133: checking return type of signal handlers" >&5
++echo "configure:16391: checking return type of signal handlers" >&5
+ echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
+ if test "${ac_cv_type_signal+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 14139 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 16397 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #include <signal.h>
+@@ -15653,17 +16414,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:14159: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:16419: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_signal=void
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_signal=int
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:14168: result: $ac_cv_type_signal" >&5
++echo "configure:16428: result: $ac_cv_type_signal" >&5
+ echo "${ECHO_T}$ac_cv_type_signal" >&6
+ 
+ cat >>confdefs.h <<EOF
+@@ -15678,7 +16440,7 @@
+ 
+ fi
+ 
+-echo "configure:14179: checking if realloc if broken" >&5
++echo "configure:16443: checking if realloc if broken" >&5
+ echo $ECHO_N "checking if realloc if broken... $ECHO_C" >&6
+ if test "${ac_cv_func_realloc_broken+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -15688,8 +16450,8 @@
+ if test "$cross_compiling" = yes; then
+   :
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 14189 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 16454 "configure"
+ #include "confdefs.h"
+ 
+ #include <stddef.h>
+@@ -15700,20 +16462,21 @@
+ 	return realloc(NULL, 17) == NULL;
+ }
+ 
+-EOF
+-if { (eval echo configure:14198: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
+-   test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null; then
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo configure:16467: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
++   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
+   :
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_func_realloc_broken=yes
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+ 
+ fi
+-echo "configure:14209: result: $ac_cv_func_realloc_broken" >&5
++echo "configure:16479: result: $ac_cv_func_realloc_broken" >&5
+ echo "${ECHO_T}$ac_cv_func_realloc_broken" >&6
+ if test "$ac_cv_func_realloc_broken" = yes ; then
+ 	
+@@ -15723,14 +16486,14 @@
+ 
+ fi
+ 
+-echo "configure:14217: checking for ut_addr in struct utmp" >&5
++echo "configure:16489: checking for ut_addr in struct utmp" >&5
+ echo $ECHO_N "checking for ut_addr in struct utmp... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_utmp_ut_addr+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-cat >conftest.$ac_ext <<EOF
+-#line 14223 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 16496 "configure"
+ #include "confdefs.h"
+ #include <utmp.h>
+ int
+@@ -15740,17 +16503,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:14234: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:16508: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_utmp_ut_addr=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_struct_utmp_ut_addr=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:14243: result: $ac_cv_type_struct_utmp_ut_addr" >&5
++echo "configure:16517: result: $ac_cv_type_struct_utmp_ut_addr" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_addr" >&6
+ if test "$ac_cv_type_struct_utmp_ut_addr" = yes; then
+ 	
+@@ -15762,14 +16526,14 @@
+ 	
+ fi
+ 
+-echo "configure:14253: checking for ut_host in struct utmp" >&5
++echo "configure:16529: checking for ut_host in struct utmp" >&5
+ echo $ECHO_N "checking for ut_host in struct utmp... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_utmp_ut_host+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-cat >conftest.$ac_ext <<EOF
+-#line 14259 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 16536 "configure"
+ #include "confdefs.h"
+ #include <utmp.h>
+ int
+@@ -15779,17 +16543,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:14270: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:16548: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_utmp_ut_host=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_struct_utmp_ut_host=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:14279: result: $ac_cv_type_struct_utmp_ut_host" >&5
++echo "configure:16557: result: $ac_cv_type_struct_utmp_ut_host" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_host" >&6
+ if test "$ac_cv_type_struct_utmp_ut_host" = yes; then
+ 	
+@@ -15801,14 +16566,14 @@
+ 	
+ fi
+ 
+-echo "configure:14289: checking for ut_id in struct utmp" >&5
++echo "configure:16569: checking for ut_id in struct utmp" >&5
+ echo $ECHO_N "checking for ut_id in struct utmp... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_utmp_ut_id+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-cat >conftest.$ac_ext <<EOF
+-#line 14295 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 16576 "configure"
+ #include "confdefs.h"
+ #include <utmp.h>
+ int
+@@ -15818,17 +16583,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:14306: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:16588: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_utmp_ut_id=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_struct_utmp_ut_id=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:14315: result: $ac_cv_type_struct_utmp_ut_id" >&5
++echo "configure:16597: result: $ac_cv_type_struct_utmp_ut_id" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_id" >&6
+ if test "$ac_cv_type_struct_utmp_ut_id" = yes; then
+ 	
+@@ -15840,14 +16606,14 @@
+ 	
+ fi
+ 
+-echo "configure:14325: checking for ut_pid in struct utmp" >&5
++echo "configure:16609: checking for ut_pid in struct utmp" >&5
+ echo $ECHO_N "checking for ut_pid in struct utmp... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_utmp_ut_pid+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-cat >conftest.$ac_ext <<EOF
+-#line 14331 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 16616 "configure"
+ #include "confdefs.h"
+ #include <utmp.h>
+ int
+@@ -15857,17 +16623,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:14342: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:16628: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_utmp_ut_pid=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_struct_utmp_ut_pid=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:14351: result: $ac_cv_type_struct_utmp_ut_pid" >&5
++echo "configure:16637: result: $ac_cv_type_struct_utmp_ut_pid" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_pid" >&6
+ if test "$ac_cv_type_struct_utmp_ut_pid" = yes; then
+ 	
+@@ -15879,14 +16646,14 @@
+ 	
+ fi
+ 
+-echo "configure:14361: checking for ut_type in struct utmp" >&5
++echo "configure:16649: checking for ut_type in struct utmp" >&5
+ echo $ECHO_N "checking for ut_type in struct utmp... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_utmp_ut_type+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-cat >conftest.$ac_ext <<EOF
+-#line 14367 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 16656 "configure"
+ #include "confdefs.h"
+ #include <utmp.h>
+ int
+@@ -15896,17 +16663,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:14378: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:16668: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_utmp_ut_type=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_struct_utmp_ut_type=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:14387: result: $ac_cv_type_struct_utmp_ut_type" >&5
++echo "configure:16677: result: $ac_cv_type_struct_utmp_ut_type" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_type" >&6
+ if test "$ac_cv_type_struct_utmp_ut_type" = yes; then
+ 	
+@@ -15918,14 +16686,14 @@
+ 	
+ fi
+ 
+-echo "configure:14397: checking for ut_user in struct utmp" >&5
++echo "configure:16689: checking for ut_user in struct utmp" >&5
+ echo $ECHO_N "checking for ut_user in struct utmp... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_utmp_ut_user+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-cat >conftest.$ac_ext <<EOF
+-#line 14403 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 16696 "configure"
+ #include "confdefs.h"
+ #include <utmp.h>
+ int
+@@ -15935,17 +16703,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:14414: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:16708: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_utmp_ut_user=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_struct_utmp_ut_user=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:14423: result: $ac_cv_type_struct_utmp_ut_user" >&5
++echo "configure:16717: result: $ac_cv_type_struct_utmp_ut_user" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_user" >&6
+ if test "$ac_cv_type_struct_utmp_ut_user" = yes; then
+ 	
+@@ -15957,14 +16726,14 @@
+ 	
+ fi
+ 
+-echo "configure:14433: checking for ut_exit in struct utmpx" >&5
++echo "configure:16729: checking for ut_exit in struct utmpx" >&5
+ echo $ECHO_N "checking for ut_exit in struct utmpx... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_utmpx_ut_exit+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-cat >conftest.$ac_ext <<EOF
+-#line 14439 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 16736 "configure"
+ #include "confdefs.h"
+ #include <utmpx.h>
+ int
+@@ -15974,17 +16743,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:14450: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:16748: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_utmpx_ut_exit=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_struct_utmpx_ut_exit=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:14459: result: $ac_cv_type_struct_utmpx_ut_exit" >&5
++echo "configure:16757: result: $ac_cv_type_struct_utmpx_ut_exit" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_utmpx_ut_exit" >&6
+ if test "$ac_cv_type_struct_utmpx_ut_exit" = yes; then
+ 	
+@@ -15996,14 +16766,14 @@
+ 	
+ fi
+ 
+-echo "configure:14469: checking for ut_syslen in struct utmpx" >&5
++echo "configure:16769: checking for ut_syslen in struct utmpx" >&5
+ echo $ECHO_N "checking for ut_syslen in struct utmpx... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_utmpx_ut_syslen+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-cat >conftest.$ac_ext <<EOF
+-#line 14475 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 16776 "configure"
+ #include "confdefs.h"
+ #include <utmpx.h>
+ int
+@@ -16013,17 +16783,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:14486: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:16788: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_utmpx_ut_syslen=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_struct_utmpx_ut_syslen=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:14495: result: $ac_cv_type_struct_utmpx_ut_syslen" >&5
++echo "configure:16797: result: $ac_cv_type_struct_utmpx_ut_syslen" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_utmpx_ut_syslen" >&6
+ if test "$ac_cv_type_struct_utmpx_ut_syslen" = yes; then
+ 	
+@@ -16035,14 +16806,14 @@
+ 	
+ fi
+ 
+-echo "configure:14505: checking for tm_gmtoff in struct tm" >&5
++echo "configure:16809: checking for tm_gmtoff in struct tm" >&5
+ echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_tm_tm_gmtoff+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-cat >conftest.$ac_ext <<EOF
+-#line 14511 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 16816 "configure"
+ #include "confdefs.h"
+ #include <time.h>
+ int
+@@ -16052,17 +16823,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:14522: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:16828: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_tm_tm_gmtoff=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_struct_tm_tm_gmtoff=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:14531: result: $ac_cv_type_struct_tm_tm_gmtoff" >&5
++echo "configure:16837: result: $ac_cv_type_struct_tm_tm_gmtoff" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_tm_tm_gmtoff" >&6
+ if test "$ac_cv_type_struct_tm_tm_gmtoff" = yes; then
+ 	
+@@ -16074,14 +16846,14 @@
+ 	
+ fi
+ 
+-echo "configure:14541: checking for tm_zone in struct tm" >&5
++echo "configure:16849: checking for tm_zone in struct tm" >&5
+ echo $ECHO_N "checking for tm_zone in struct tm... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_tm_tm_zone+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-cat >conftest.$ac_ext <<EOF
+-#line 14547 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 16856 "configure"
+ #include "confdefs.h"
+ #include <time.h>
+ int
+@@ -16091,17 +16863,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:14558: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:16868: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_tm_tm_zone=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_struct_tm_tm_zone=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:14567: result: $ac_cv_type_struct_tm_tm_zone" >&5
++echo "configure:16877: result: $ac_cv_type_struct_tm_tm_zone" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_tm_tm_zone" >&6
+ if test "$ac_cv_type_struct_tm_tm_zone" = yes; then
+ 	
+@@ -16113,14 +16886,14 @@
+ 	
+ fi
+ 
+-echo "configure:14577: checking for timezone" >&5
++echo "configure:16889: checking for timezone" >&5
+ echo $ECHO_N "checking for timezone... $ECHO_C" >&6
+ if test "${ac_cv_var_timezone+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-cat >conftest.$ac_ext <<EOF
+-#line 14583 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 16896 "configure"
+ #include "confdefs.h"
+ extern int timezone;
+ int foo() { return timezone; }
+@@ -16131,20 +16904,21 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:14595: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:16909: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_var_timezone=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_var_timezone=no
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 
+ fi
+ 
+ ac_foo=`eval echo \\$ac_cv_var_timezone`
+-echo "configure:14605: result: $ac_foo" >&5
++echo "configure:16921: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+ 	
+@@ -16153,14 +16927,14 @@
+ EOF
+ 
+ 	
+-echo "configure:14613: checking if timezone is properly declared" >&5
++echo "configure:16930: checking if timezone is properly declared" >&5
+ echo $ECHO_N "checking if timezone is properly declared... $ECHO_C" >&6
+ if test "${ac_cv_var_timezone_declaration+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-cat >conftest.$ac_ext <<EOF
+-#line 14619 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 16937 "configure"
+ #include "confdefs.h"
+ #include <time.h>
+ extern struct { int foo; } timezone;
+@@ -16171,19 +16945,20 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:14631: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:16950: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_var_timezone_declaration=no"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_var_timezone_declaration=yes"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ 
+ fi
+ 
+-echo "configure:14640: result: $ac_cv_var_timezone_declaration" >&5
++echo "configure:16961: result: $ac_cv_var_timezone_declaration" >&5
+ echo "${ECHO_T}$ac_cv_var_timezone_declaration" >&6
+ if eval "test \"\$ac_cv_var_timezone_declaration\" = yes"; then
+ 	
+@@ -16196,13 +16971,13 @@
+ fi
+ 
+ cv=`echo "sa_family_t" | sed 'y%./+- %__p__%'`
+-echo "configure:14650: checking for sa_family_t" >&5
++echo "configure:16974: checking for sa_family_t" >&5
+ echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 14656 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 16980 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -16217,29 +16992,30 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:14672: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:16997: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_type_$cv=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_type_$cv=no"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "configure:14682: result: $ac_foo" >&5
++echo "configure:17007: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo sa_family_t | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "configure:14687: checking for sa_family_t" >&5
++	echo "configure:17012: checking for sa_family_t" >&5
+ echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6
+ if test "${ac_cv_type_sa_family_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 14693 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 17018 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -16252,17 +17028,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:14707: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:17033: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_sa_family_t=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_sa_family_t=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:14716: result: $ac_cv_type_sa_family_t" >&5
++echo "configure:17042: result: $ac_cv_type_sa_family_t" >&5
+ echo "${ECHO_T}$ac_cv_type_sa_family_t" >&6
+ if test $ac_cv_type_sa_family_t = yes; then
+ 
+@@ -16281,13 +17058,13 @@
+ fi
+ 
+ cv=`echo "socklen_t" | sed 'y%./+- %__p__%'`
+-echo "configure:14729: checking for socklen_t" >&5
++echo "configure:17061: checking for socklen_t" >&5
+ echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 14735 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 17067 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -16302,29 +17079,30 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:14751: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:17084: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_type_$cv=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_type_$cv=no"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "configure:14761: result: $ac_foo" >&5
++echo "configure:17094: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo socklen_t | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "configure:14766: checking for socklen_t" >&5
++	echo "configure:17099: checking for socklen_t" >&5
+ echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
+ if test "${ac_cv_type_socklen_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 14772 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 17105 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -16337,17 +17115,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:14786: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:17120: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_socklen_t=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_socklen_t=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:14795: result: $ac_cv_type_socklen_t" >&5
++echo "configure:17129: result: $ac_cv_type_socklen_t" >&5
+ echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
+ if test $ac_cv_type_socklen_t = yes; then
+ 
+@@ -16366,13 +17145,13 @@
+ fi
+ 
+ cv=`echo "struct sockaddr" | sed 'y%./+- %__p__%'`
+-echo "configure:14808: checking for struct sockaddr" >&5
++echo "configure:17148: checking for struct sockaddr" >&5
+ echo $ECHO_N "checking for struct sockaddr... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 14814 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 17154 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -16387,29 +17166,30 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:14830: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:17171: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_type_$cv=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_type_$cv=no"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "configure:14840: result: $ac_foo" >&5
++echo "configure:17181: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo struct sockaddr | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "configure:14845: checking for struct sockaddr" >&5
++	echo "configure:17186: checking for struct sockaddr" >&5
+ echo $ECHO_N "checking for struct sockaddr... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_sockaddr+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 14851 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 17192 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -16422,17 +17202,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:14865: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:17207: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_sockaddr=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_struct_sockaddr=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:14874: result: $ac_cv_type_struct_sockaddr" >&5
++echo "configure:17216: result: $ac_cv_type_struct_sockaddr" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_sockaddr" >&6
+ if test $ac_cv_type_struct_sockaddr = yes; then
+ 
+@@ -16451,13 +17232,13 @@
+ fi
+ 
+ cv=`echo "struct sockaddr_storage" | sed 'y%./+- %__p__%'`
+-echo "configure:14887: checking for struct sockaddr_storage" >&5
++echo "configure:17235: checking for struct sockaddr_storage" >&5
+ echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 14893 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 17241 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -16472,29 +17253,30 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:14909: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:17258: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_type_$cv=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_type_$cv=no"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "configure:14919: result: $ac_foo" >&5
++echo "configure:17268: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo struct sockaddr_storage | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "configure:14924: checking for struct sockaddr_storage" >&5
++	echo "configure:17273: checking for struct sockaddr_storage" >&5
+ echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_sockaddr_storage+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 14930 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 17279 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -16507,17 +17289,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:14944: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:17294: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_sockaddr_storage=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_struct_sockaddr_storage=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:14953: result: $ac_cv_type_struct_sockaddr_storage" >&5
++echo "configure:17303: result: $ac_cv_type_struct_sockaddr_storage" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_sockaddr_storage" >&6
+ if test $ac_cv_type_struct_sockaddr_storage = yes; then
+ 
+@@ -16536,13 +17319,13 @@
+ fi
+ 
+ cv=`echo "struct addrinfo" | sed 'y%./+- %__p__%'`
+-echo "configure:14966: checking for struct addrinfo" >&5
++echo "configure:17322: checking for struct addrinfo" >&5
+ echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 14972 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 17328 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -16557,29 +17340,30 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:14988: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:17345: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_type_$cv=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_type_$cv=no"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "configure:14998: result: $ac_foo" >&5
++echo "configure:17355: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo struct addrinfo | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "configure:15003: checking for struct addrinfo" >&5
++	echo "configure:17360: checking for struct addrinfo" >&5
+ echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_addrinfo+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 15009 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 17366 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -16592,17 +17376,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:15023: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:17381: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_addrinfo=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_struct_addrinfo=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:15032: result: $ac_cv_type_struct_addrinfo" >&5
++echo "configure:17390: result: $ac_cv_type_struct_addrinfo" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_addrinfo" >&6
+ if test $ac_cv_type_struct_addrinfo = yes; then
+ 
+@@ -16620,7 +17405,7 @@
+ 
+ fi
+ 
+-echo "configure:15044: checking for struct winsize" >&5
++echo "configure:17408: checking for struct winsize" >&5
+ echo $ECHO_N "checking for struct winsize... $ECHO_C" >&6
+ if test "${ac_cv_struct_winsize+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -16628,12 +17413,12 @@
+ 
+ ac_cv_struct_winsize=no
+ for i in sys/termios.h sys/ioctl.h; do
+-cat >conftest.$ac_ext <<EOF
+-#line 15052 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 17417 "configure"
+ #include "confdefs.h"
+ #include <$i>
+ 
+-EOF
++_ACEOF
+ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+   egrep "struct[ 	]*winsize" >/dev/null 2>&1; then
+   ac_cv_struct_winsize=yes; break
+@@ -16650,14 +17435,14 @@
+ EOF
+ 
+ fi
+-echo "configure:15068: result: $ac_cv_struct_winsize" >&5
++echo "configure:17438: result: $ac_cv_struct_winsize" >&5
+ echo "${ECHO_T}$ac_cv_struct_winsize" >&6
+-cat >conftest.$ac_ext <<EOF
+-#line 15071 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 17441 "configure"
+ #include "confdefs.h"
+ #include <termios.h>
+ 
+-EOF
++_ACEOF
+ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+   egrep "ws_xpixel" >/dev/null 2>&1; then
+ 
+@@ -16668,12 +17453,12 @@
+ fi
+ rm -f conftest*
+ 
+-cat >conftest.$ac_ext <<EOF
+-#line 15083 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 17457 "configure"
+ #include "confdefs.h"
+ #include <termios.h>
+ 
+-EOF
++_ACEOF
+ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+   egrep "ws_ypixel" >/dev/null 2>&1; then
+ 
+@@ -16684,14 +17469,14 @@
+ fi
+ rm -f conftest*
+ 
+-echo "configure:15094: checking for struct spwd" >&5
++echo "configure:17472: checking for struct spwd" >&5
+ echo $ECHO_N "checking for struct spwd... $ECHO_C" >&6
+ if test "${ac_cv_struct_spwd+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-cat >conftest.$ac_ext <<EOF
+-#line 15100 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 17479 "configure"
+ #include "confdefs.h"
+ #include <pwd.h>
+ #ifdef HAVE_SHADOW_H
+@@ -16704,19 +17489,20 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:15114: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:17494: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_struct_spwd=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_struct_spwd=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ 
+ fi
+ 
+-echo "configure:15123: result: $ac_cv_struct_spwd" >&5
++echo "configure:17505: result: $ac_cv_struct_spwd" >&5
+ echo "${ECHO_T}$ac_cv_struct_spwd" >&6
+ 
+ if test "$ac_cv_struct_spwd" = "yes"; then
+@@ -16727,14 +17513,14 @@
+ 
+ fi
+ 
+-echo "configure:15130: checking for sa_len in struct sockaddr" >&5
++echo "configure:17516: checking for sa_len in struct sockaddr" >&5
+ echo $ECHO_N "checking for sa_len in struct sockaddr... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_sockaddr_sa_len+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-cat >conftest.$ac_ext <<EOF
+-#line 15136 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 17523 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #include <sys/socket.h>
+@@ -16745,17 +17531,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:15148: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:17536: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_sockaddr_sa_len=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_struct_sockaddr_sa_len=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:15157: result: $ac_cv_type_struct_sockaddr_sa_len" >&5
++echo "configure:17545: result: $ac_cv_type_struct_sockaddr_sa_len" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_sockaddr_sa_len" >&6
+ if test "$ac_cv_type_struct_sockaddr_sa_len" = yes; then
+ 	
+@@ -16770,14 +17557,14 @@
+ for i in int8_t int16_t int32_t int64_t \
+ 	u_int8_t u_int16_t u_int32_t u_int64_t \
+ 	uint8_t uint16_t uint32_t uint64_t; do
+-	echo "configure:15170: checking for $i" >&5
++	echo "configure:17560: checking for $i" >&5
+ echo $ECHO_N "checking for $i... $ECHO_C" >&6
+ 	
+ if eval "test \"\${ac_cv_type_$i+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 15177 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 17567 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_INTTYPES_H
+@@ -16804,15 +17591,16 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:15202: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:17596: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval ac_cv_type_$i=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval ac_cv_type_$i=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ 
+ 	eval ac_res=\$ac_cv_type_$i
+@@ -16823,11 +17611,11 @@
+ EOF
+ 
+ 	fi
+-	echo "configure:15218: result: $ac_res" >&5
++	echo "configure:17614: result: $ac_res" >&5
+ echo "${ECHO_T}$ac_res" >&6
+ done
+ 
+-echo "configure:15221: checking for MD4Init" >&5
++echo "configure:17618: checking for MD4Init" >&5
+ echo $ECHO_N "checking for MD4Init... $ECHO_C" >&6
+ if test "${ac_cv_funclib_MD4Init+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -16842,8 +17630,8 @@
+ 			ac_lib=""
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 15236 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 17634 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -16853,14 +17641,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:15246: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:17646: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_MD4Init=$ac_lib; else ac_cv_funclib_MD4Init=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_MD4Init=\${ac_cv_funclib_MD4Init-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -16875,13 +17664,13 @@
+ for ac_func in MD4Init
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:15264: checking for $ac_func" >&5
++echo "configure:17667: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 15270 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 17673 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -16910,17 +17699,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:15298: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:17704: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:15307: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:17713: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -16944,13 +17734,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:15327: result: yes" >&5
++	echo "configure:17737: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_MD4Init=no"
+ 	eval "LIB_MD4Init="
+-	echo "configure:15333: result: no" >&5
++	echo "configure:17743: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -16964,12 +17754,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:15345: result: yes, in $ac_res" >&5
++	echo "configure:17757: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "configure:15349: checking for MD4_Init" >&5
++echo "configure:17762: checking for MD4_Init" >&5
+ echo $ECHO_N "checking for MD4_Init... $ECHO_C" >&6
+ if test "${ac_cv_funclib_MD4_Init+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -16984,8 +17774,8 @@
+ 			ac_lib=""
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 15364 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 17778 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -16995,14 +17785,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:15374: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:17790: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_MD4_Init=$ac_lib; else ac_cv_funclib_MD4_Init=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_MD4_Init=\${ac_cv_funclib_MD4_Init-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -17017,13 +17808,13 @@
+ for ac_func in MD4_Init
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:15392: checking for $ac_func" >&5
++echo "configure:17811: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 15398 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 17817 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -17052,17 +17843,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:15426: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:17848: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:15435: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:17857: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -17086,13 +17878,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:15455: result: yes" >&5
++	echo "configure:17881: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_MD4_Init=no"
+ 	eval "LIB_MD4_Init="
+-	echo "configure:15461: result: no" >&5
++	echo "configure:17887: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -17106,12 +17898,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:15473: result: yes, in $ac_res" >&5
++	echo "configure:17901: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "configure:15477: checking for MD5Init" >&5
++echo "configure:17906: checking for MD5Init" >&5
+ echo $ECHO_N "checking for MD5Init... $ECHO_C" >&6
+ if test "${ac_cv_funclib_MD5Init+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -17126,8 +17918,8 @@
+ 			ac_lib=""
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 15492 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 17922 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -17137,14 +17929,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:15502: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:17934: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_MD5Init=$ac_lib; else ac_cv_funclib_MD5Init=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_MD5Init=\${ac_cv_funclib_MD5Init-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -17159,13 +17952,13 @@
+ for ac_func in MD5Init
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:15520: checking for $ac_func" >&5
++echo "configure:17955: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 15526 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 17961 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -17194,17 +17987,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:15554: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:17992: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:15563: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:18001: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -17228,13 +18022,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:15583: result: yes" >&5
++	echo "configure:18025: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_MD5Init=no"
+ 	eval "LIB_MD5Init="
+-	echo "configure:15589: result: no" >&5
++	echo "configure:18031: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -17248,12 +18042,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:15601: result: yes, in $ac_res" >&5
++	echo "configure:18045: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "configure:15605: checking for MD5_Init" >&5
++echo "configure:18050: checking for MD5_Init" >&5
+ echo $ECHO_N "checking for MD5_Init... $ECHO_C" >&6
+ if test "${ac_cv_funclib_MD5_Init+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -17268,8 +18062,8 @@
+ 			ac_lib=""
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 15620 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 18066 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -17279,14 +18073,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:15630: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:18078: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_MD5_Init=$ac_lib; else ac_cv_funclib_MD5_Init=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_MD5_Init=\${ac_cv_funclib_MD5_Init-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -17301,13 +18096,13 @@
+ for ac_func in MD5_Init
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:15648: checking for $ac_func" >&5
++echo "configure:18099: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 15654 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 18105 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -17336,17 +18131,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:15682: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:18136: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:15691: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:18145: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -17370,13 +18166,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:15711: result: yes" >&5
++	echo "configure:18169: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_MD5_Init=no"
+ 	eval "LIB_MD5_Init="
+-	echo "configure:15717: result: no" >&5
++	echo "configure:18175: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -17390,12 +18186,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:15729: result: yes, in $ac_res" >&5
++	echo "configure:18189: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "configure:15733: checking for SHA1Init" >&5
++echo "configure:18194: checking for SHA1Init" >&5
+ echo $ECHO_N "checking for SHA1Init... $ECHO_C" >&6
+ if test "${ac_cv_funclib_SHA1Init+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -17410,8 +18206,8 @@
+ 			ac_lib=""
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 15748 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 18210 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -17421,14 +18217,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:15758: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:18222: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_SHA1Init=$ac_lib; else ac_cv_funclib_SHA1Init=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_SHA1Init=\${ac_cv_funclib_SHA1Init-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -17443,13 +18240,13 @@
+ for ac_func in SHA1Init
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:15776: checking for $ac_func" >&5
++echo "configure:18243: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 15782 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 18249 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -17478,17 +18275,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:15810: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:18280: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:15819: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:18289: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -17512,13 +18310,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:15839: result: yes" >&5
++	echo "configure:18313: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_SHA1Init=no"
+ 	eval "LIB_SHA1Init="
+-	echo "configure:15845: result: no" >&5
++	echo "configure:18319: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -17532,12 +18330,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:15857: result: yes, in $ac_res" >&5
++	echo "configure:18333: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "configure:15861: checking for SHA1_Init" >&5
++echo "configure:18338: checking for SHA1_Init" >&5
+ echo $ECHO_N "checking for SHA1_Init... $ECHO_C" >&6
+ if test "${ac_cv_funclib_SHA1_Init+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -17552,8 +18350,8 @@
+ 			ac_lib=""
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 15876 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 18354 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -17563,14 +18361,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:15886: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:18366: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_SHA1_Init=$ac_lib; else ac_cv_funclib_SHA1_Init=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_SHA1_Init=\${ac_cv_funclib_SHA1_Init-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -17585,13 +18384,13 @@
+ for ac_func in SHA1_Init
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:15904: checking for $ac_func" >&5
++echo "configure:18387: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 15910 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 18393 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -17620,17 +18419,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:15938: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:18424: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:15947: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:18433: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -17654,13 +18454,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:15967: result: yes" >&5
++	echo "configure:18457: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_SHA1_Init=no"
+ 	eval "LIB_SHA1_Init="
+-	echo "configure:15973: result: no" >&5
++	echo "configure:18463: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -17674,12 +18474,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:15985: result: yes, in $ac_res" >&5
++	echo "configure:18477: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "configure:15989: checking for des_cbc_encrypt" >&5
++echo "configure:18482: checking for des_cbc_encrypt" >&5
+ echo $ECHO_N "checking for des_cbc_encrypt... $ECHO_C" >&6
+ if test "${ac_cv_funclib_des_cbc_encrypt+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -17694,8 +18494,8 @@
+ 			ac_lib=""
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 16004 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 18498 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -17705,14 +18505,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:16014: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:18510: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_des_cbc_encrypt=$ac_lib; else ac_cv_funclib_des_cbc_encrypt=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_des_cbc_encrypt=\${ac_cv_funclib_des_cbc_encrypt-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -17727,13 +18528,13 @@
+ for ac_func in des_cbc_encrypt
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:16032: checking for $ac_func" >&5
++echo "configure:18531: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 16038 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 18537 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -17762,17 +18563,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:16066: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:18568: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:16075: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:18577: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -17796,13 +18598,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:16095: result: yes" >&5
++	echo "configure:18601: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_des_cbc_encrypt=no"
+ 	eval "LIB_des_cbc_encrypt="
+-	echo "configure:16101: result: no" >&5
++	echo "configure:18607: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -17816,12 +18618,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:16113: result: yes, in $ac_res" >&5
++	echo "configure:18621: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "configure:16117: checking for el_init" >&5
++echo "configure:18626: checking for el_init" >&5
+ echo $ECHO_N "checking for el_init... $ECHO_C" >&6
+ if test "${ac_cv_funclib_el_init+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -17836,8 +18638,8 @@
+ 			ac_lib=""
+ 		fi
+ 		LIBS=" $ac_lib $LIB_tgetent $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 16132 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 18642 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -17847,14 +18649,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:16142: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:18654: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_el_init=$ac_lib; else ac_cv_funclib_el_init=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_el_init=\${ac_cv_funclib_el_init-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -17869,13 +18672,13 @@
+ for ac_func in el_init
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:16160: checking for $ac_func" >&5
++echo "configure:18675: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 16166 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 18681 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -17904,17 +18707,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:16194: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:18712: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:16203: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:18721: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -17938,13 +18742,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:16223: result: yes" >&5
++	echo "configure:18745: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_el_init=no"
+ 	eval "LIB_el_init="
+-	echo "configure:16229: result: no" >&5
++	echo "configure:18751: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -17958,20 +18762,20 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:16241: result: yes, in $ac_res" >&5
++	echo "configure:18765: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+ if test "$ac_cv_func_el_init" = yes ; then
+-	echo "configure:16246: checking for four argument el_init" >&5
++	echo "configure:18771: checking for four argument el_init" >&5
+ echo $ECHO_N "checking for four argument el_init... $ECHO_C" >&6
+ if test "${ac_cv_func_el_init_four+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-		cat >conftest.$ac_ext <<EOF
+-#line 16252 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 18778 "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
+ 			#include <histedit.h>
+@@ -17982,17 +18786,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:16264: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:18791: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_func_el_init_four=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_func_el_init_four=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:16273: result: $ac_cv_func_el_init_four" >&5
++echo "configure:18800: result: $ac_cv_func_el_init_four" >&5
+ echo "${ECHO_T}$ac_cv_func_el_init_four" >&6
+ 	if test "$ac_cv_func_el_init_four" = yes; then
+ 		
+@@ -18010,9 +18815,11 @@
+ 	:
+ elif test "$ac_cv_func_el_init" = yes; then
+ 	ac_foo=yes
++ 	DIR_readline="editline"
+ 	LIB_readline="\$(top_builddir)/lib/editline/libel_compat.a $LIB_el_init"
+ else
+-	LIB_readline='$(top_builddir)/lib/editline/libeditline.a'
++ 	DIR_readline="editline"
++	LIB_readline='$(top_builddir)/lib/editline/libeditline.la'
+ fi
+ 
+ if test "$ac_foo" = yes; then
+@@ -18022,15 +18829,66 @@
+   el_compat_TRUE='#'
+   el_compat_FALSE=
+ fi
+-if test "$readline_libdir"; then
+-	LIB_readline="-rpath $readline_libdir $LIB_readline"
+-fi
++#if test "$readline_libdir"; then
++#	LIB_readline="-rpath $readline_libdir $LIB_readline"
++#fi
+ LIB_readline="$LIB_readline \$(LIB_tgetent)"
+ 
+ cat >>confdefs.h <<\EOF
+ #define HAVE_READLINE 1
+ EOF
+ 
++ac_foo=no
++if test "$with_com_err" = yes; then
++	COMPILE_ET='compile_et'
++#elif test "$ac_cv_func_com_err" = yes; then
++#	COMPILE_ET='compile_et'
++else
++	COMPILE_ET='$(top_builddir)/lib/com_err/compile_et'
++	DIR_com_err="com_err"
++	LIB_com_err='$(top_builddir)/lib/com_err/libcom_err.la'
++fi
++
++if true; then
++#	!FIXME! why doesn't built in version of com_err work?
++	COMPILE_ET='$(top_builddir)/lib/com_err/compile_et'
++	DIR_com_err="com_err"
++	LIB_com_err='$(top_builddir)/lib/com_err/libcom_err.la'
++fi
++
++#if test "$com_err_libdir"; then
++#	LIB_com_err="-rpath $com_err_libdir $LIB_com_err"
++#fi
++
++cat >>confdefs.h <<\EOF
++#define HAVE_COM_ERR 1
++EOF
++
++ac_foo=no
++if test "$with_ss" = yes; then
++	LIB_sl="$LIB_ss"
++else
++	DIR_ss="sl"
++	LIB_sl='$(top_builddir)/lib/sl/libsl.la'
++	LIB_ss='$(top_builddir)/lib/sl/libss.la'
++	INCLUDE_ss='-I$(top_builddir)/include/sl'
++fi
++
++#if test "$ss_libdir"; then
++#	LIB_ss="-rpath $sl_libdir $LIB_ss"
++#fi
++
++if true; then
++#	!FIXME! why doesn't built in version of ss work?
++	LIB_sl='$(top_builddir)/lib/sl/libsl.la'
++	LIB_ss='$(top_builddir)/lib/sl/libss.la'
++	INCLUDE_ss='-I$(top_builddir)/include/ss'
++fi
++
++cat >>confdefs.h <<\EOF
++#define HAVE_SS 1
++EOF
++
+ cat >>confdefs.h <<\EOF
+ #define AUTHENTICATION 1
+ EOF
+@@ -18063,13 +18921,13 @@
+ #
+ # And also something wierd has happend with dec-osf1, fallback to bsd-ptys
+ 
+-echo "configure:16331: checking for getmsg" >&5
++echo "configure:18924: checking for getmsg" >&5
+ echo $ECHO_N "checking for getmsg... $ECHO_C" >&6
+ if test "${ac_cv_func_getmsg+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 16337 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 18930 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char getmsg (); below.  */
+@@ -18098,20 +18956,21 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:16365: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:18961: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_func_getmsg=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_func_getmsg=no
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:16374: result: $ac_cv_func_getmsg" >&5
++echo "configure:18970: result: $ac_cv_func_getmsg" >&5
+ echo "${ECHO_T}$ac_cv_func_getmsg" >&6
+ 
+-echo "configure:16376: checking for working getmsg" >&5
++echo "configure:18973: checking for working getmsg" >&5
+ echo $ECHO_N "checking for working getmsg... $ECHO_C" >&6
+ if test "${ac_cv_func_getmsg_work+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -18119,8 +18978,8 @@
+   if test "$cross_compiling" = yes; then
+   ac_cv_func_getmsg_work=no
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 16385 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 18982 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -18135,20 +18994,21 @@
+   return 0;
+ }
+ 
+-EOF
+-if { (eval echo configure:16398: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
+-   test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null; then
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo configure:18999: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
++   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
+   ac_cv_func_getmsg_work=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_func_getmsg_work=no
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+ 
+ fi
+-echo "configure:16409: result: $ac_cv_func_getmsg_work" >&5
++echo "configure:19011: result: $ac_cv_func_getmsg_work" >&5
+ echo "${ECHO_T}$ac_cv_func_getmsg_work" >&6
+ test "$ac_cv_func_getmsg_work" = "yes" &&
+ 
+@@ -18157,7 +19017,7 @@
+ EOF
+ 
+ if test "$ac_cv_func_getmsg_work" = yes; then
+-echo "configure:16416: checking for streamspty" >&5
++echo "configure:19020: checking for streamspty" >&5
+ echo $ECHO_N "checking for streamspty... $ECHO_C" >&6
+ case "$host" in
+ *-*-aix3*|*-*-sunos4*|*-*-osf*|*-*-hpux1[01]*)
+@@ -18167,7 +19027,7 @@
+ 	krb_cv_sys_streamspty=yes
+ 	;;
+ esac
+-echo "configure:16426: result: $krb_cv_sys_streamspty" >&5
++echo "configure:19030: result: $krb_cv_sys_streamspty" >&5
+ echo "${ECHO_T}$krb_cv_sys_streamspty" >&6
+ fi
+ if test "$krb_cv_sys_streamspty" = yes; then
+@@ -18178,7 +19038,7 @@
+ 
+ fi
+ 
+-echo "configure:16435: checking which authentication modules should be built" >&5
++echo "configure:19041: checking which authentication modules should be built" >&5
+ echo $ECHO_N "checking which authentication modules should be built... $ECHO_C" >&6
+ 
+ LIB_AUTH_SUBDIRS=
+@@ -18195,7 +19055,7 @@
+ *-*-irix[56]*) LIB_AUTH_SUBDIRS="$LIB_AUTH_SUBDIRS afskauthlib" ;;
+ esac
+ 
+-echo "configure:16447: result: $LIB_AUTH_SUBDIRS" >&5
++echo "configure:19058: result: $LIB_AUTH_SUBDIRS" >&5
+ echo "${ECHO_T}$LIB_AUTH_SUBDIRS" >&6
+ 
+ test "x$prefix" = xNONE && prefix=$ac_default_prefix
+@@ -18277,18 +19137,17 @@
+ 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.
++# scripts and configure runs, see configure's option --config-cache.
++# 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.
++# config.status only pays attention to the cache file if you give it
++# the --recheck option to rerun configure.
+ #
++# `ac_cv_env_foo' variables (set or unset) will be overriden when
++# loading this file, other *unset* `ac_cv_foo' will be assigned the
++# following values.
++
+ EOF
+ # The following way of writing the cache mishandles newlines in values,
+ # but we know of no workaround that is simple, portable, and efficient.
+@@ -18311,7 +19170,7 @@
+       ;;
+     esac;
+ } |
+-  sed 's/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/' >>confcache
++  sed '/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/' >>confcache
+ if cmp -s $cache_file confcache; then :; else
+   if test -w $cache_file; then
+     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
+@@ -18374,6 +19233,40 @@
+ # Compiler output produced by configure, useful for debugging
+ # configure, is in ./config.log if it exists.
+ 
++# Be Bourne compatible
++if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
++  emulate sh
++  NULLCMD=:
++elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
++  set -o posix
++fi
++
++# Support unset when possible.
++if (unset FOO) >/dev/null 2>&1; then
++  ac_unset=unset
++else
++  ac_unset=false
++fi
++
++# NLS nuisances.
++$ac_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
++$ac_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
++$ac_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
++$ac_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
++$ac_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
++$ac_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
++$ac_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
++$ac_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
++
++# IFS
++# We need space, tab and new line, in precisely that order.
++ac_nl='
++'
++IFS=" 	$ac_nl"
++
++# CDPATH.
++$ac_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
++
+ debug=false
+ me=`echo "$0" | sed 's,.*/,,'`
+ SHELL=${CONFIG_SHELL-/bin/sh}
+@@ -18403,7 +19296,7 @@
+ \`$me' instantiates files from templates according to the
+ current configuration.
+ 
+-Usage: $0 [OPTIONS] FILE...
++Usage: $0 [OPTIONS] [FILE]...
+ 
+   -h, --help       print this help, then exit
+   -V, --version    print version number, then exit
+@@ -18428,7 +19321,7 @@
+ 
+ cat >>$CONFIG_STATUS <<EOF
+ ac_cs_version="\\
+-$CONFIG_STATUS generated by autoconf version 2.14a.
++$CONFIG_STATUS generated by autoconf version 2.49b.
+ Configured on host `(hostname || uname -n) 2>/dev/null | sed 1q` by
+   `echo "$0 $ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`"
+ 
+@@ -18572,7 +19465,8 @@
+   test -n "$tmp" && test -d "$tmp"
+ }  ||
+ {
+-  tmp=$TMPDIR/cs$$-$RANDOM && (umask 077 && mkdir $tmp)
++  tmp=$TMPDIR/cs$$-$RANDOM
++  (umask 077 && mkdir $tmp)
+ } ||
+ {
+    echo "$me: cannot create a temporary directory in $TMPDIR" >&2
+@@ -18586,6 +19480,15 @@
+ # INIT-COMMANDS section.
+ #
+ 
++am_indx=1
++  for am_file in include/config.h; do
++    case " $CONFIG_HEADERS " in
++    *" $am_file "*)
++      echo timestamp > `echo $am_file | sed 's%:.*%%;s%[^/]*$%%'`stamp-h$am_indx
++      ;;
++    esac
++    am_indx=\`expr \$am_indx + 1\`
++  done
+ AMDEP="$AMDEP"
+ ac_aux_dir="$ac_aux_dir"
+ 
+@@ -18603,6 +19506,8 @@
+   # Protect against being on the right side of a sed subst in config.status.
+   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
+    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
++s,@COMPILE_ET@,$COMPILE_ET,;t t
++s,@LIB_sl@,$LIB_sl,;t t
+ s,@SHELL@,$SHELL,;t t
+ s,@exec_prefix@,$exec_prefix,;t t
+ s,@prefix@,$prefix,;t t
+@@ -18631,8 +19536,8 @@
+ s,@LIBS@,$LIBS,;t t
+ s,@CC@,$CC,;t t
+ s,@ac_ct_CC@,$ac_ct_CC,;t t
+-s,@EXEEXT@,$EXEEXT,;t t
+ s,@OBJEXT@,$OBJEXT,;t t
++s,@EXEEXT@,$EXEEXT,;t t
+ s,@CPP@,$CPP,;t t
+ s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
+ s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
+@@ -18666,10 +19571,8 @@
+ s,@LEXLIB@,$LEXLIB,;t t
+ s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
+ s,@RANLIB@,$RANLIB,;t t
+-s,@LN_S@,$LN_S,;t t
+ s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
+-s,@STRIP@,$STRIP,;t t
+-s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
++s,@LN_S@,$LN_S,;t t
+ s,@LIBTOOL@,$LIBTOOL,;t t
+ s,@WFLAGS@,$WFLAGS,;t t
+ s,@WFLAGS_NOUNUSED@,$WFLAGS_NOUNUSED,;t t
+@@ -18700,8 +19603,10 @@
+ s,@DIR_roken@,$DIR_roken,;t t
+ s,@LIB_roken@,$LIB_roken,;t t
+ s,@CPPFLAGS_roken@,$CPPFLAGS_roken,;t t
++s,@DIR_openldap@,$DIR_openldap,;t t
+ s,@INCLUDE_openldap@,$INCLUDE_openldap,;t t
+ s,@LIB_openldap@,$LIB_openldap,;t t
++s,@DIR_krb4@,$DIR_krb4,;t t
+ s,@INCLUDE_krb4@,$INCLUDE_krb4,;t t
+ s,@LIB_krb4@,$LIB_krb4,;t t
+ s,@EXTRA_LIB45@,$EXTRA_LIB45,;t t
+@@ -18727,8 +19632,16 @@
+ s,@CATMAN_TRUE@,$CATMAN_TRUE,;t t
+ s,@CATMAN_FALSE@,$CATMAN_FALSE,;t t
+ s,@CATMANEXT@,$CATMANEXT,;t t
++s,@DIR_readline@,$DIR_readline,;t t
+ s,@INCLUDE_readline@,$INCLUDE_readline,;t t
+ s,@LIB_readline@,$LIB_readline,;t t
++s,@DIR_com_err@,$DIR_com_err,;t t
++s,@INCLUDE_com_err@,$INCLUDE_com_err,;t t
++s,@LIB_com_err@,$LIB_com_err,;t t
++s,@DIR_ss@,$DIR_ss,;t t
++s,@INCLUDE_ss@,$INCLUDE_ss,;t t
++s,@LIB_ss@,$LIB_ss,;t t
++s,@DIR_hesiod@,$DIR_hesiod,;t t
+ s,@INCLUDE_hesiod@,$INCLUDE_hesiod,;t t
+ s,@LIB_hesiod@,$LIB_hesiod,;t t
+ s,@AIX_TRUE@,$AIX_TRUE,;t t
+@@ -18829,7 +19742,13 @@
+       X"$ac_file" : 'X\(//\)[^/]' \| \
+       X"$ac_file" : 'X\(//\)$' \| \
+       X"$ac_file" : 'X\(/\)' \| \
+-      .   : '\(.\)'`
++      .   : '\(.\)' 2>/dev/null ||
++echo "X"$ac_file"" | sed '
++	    /^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/p; q; }
++	    /^X\(\/\/\)[^/].*/{ s//\1/p; q; }
++	    /^X\(\/\/\)$/{ s//\1/p; q; }
++	    /^X\(\/\).*/{ s//\1/p; q; }
++	    s/.*/./p; q'`
+   if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
+     { case "$ac_dir" in
+   [\\/]* | ?:[\\/]* ) ac_incr_dir=;;
+@@ -18897,7 +19816,7 @@
+            { echo "configure: error: cannot find input file \\\`$f'" >&2; exit 1; }
+          fi;;
+       esac
+-    done`
++    done` || { (exit 1); exit; }
+ EOF
+ cat >>$CONFIG_STATUS <<EOF
+   sed "$ac_vpsub
+@@ -18977,7 +19896,7 @@
+            { echo "configure: error: cannot find input file \\\`$f'" >&2; exit 1; }
+          fi;;
+       esac
+-    done`
++    done` || { (exit 1); exit; }
+   # Remove the trailing spaces.
+   sed 's/[ 	]*$//' $ac_file_inputs >$tmp/in
+ 
+@@ -19093,7 +20012,13 @@
+       X"$ac_file" : 'X\(//\)[^/]' \| \
+       X"$ac_file" : 'X\(//\)$' \| \
+       X"$ac_file" : 'X\(/\)' \| \
+-      .   : '\(.\)'`
++      .   : '\(.\)' 2>/dev/null ||
++echo "X"$ac_file"" | sed '
++	    /^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/p; q; }
++	    /^X\(\/\/\)[^/].*/{ s//\1/p; q; }
++	    /^X\(\/\/\)$/{ s//\1/p; q; }
++	    /^X\(\/\).*/{ s//\1/p; q; }
++	    s/.*/./p; q'`
+       if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
+         { case "$ac_dir" in
+   [\\/]* | ?:[\\/]* ) ac_incr_dir=;;
+@@ -19125,7 +20050,7 @@
+   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
+ 
+   case $ac_dest in
+-    default-1 ) test -z "$CONFIG_HEADERS" || echo timestamp > include/stamp-h ;;
++    default-1 ) test -z "$CONFIG_HEADERS" || echo timestamp >	   include/stamp-h ;;
+     default-2 )
+ test x"$AMDEP" != x"" ||
+ for mf in $CONFIG_FILES; do
+diff -ruN heimdal-0.3c-old/doc/Makefile.in heimdal-0.3c/doc/Makefile.in
+--- heimdal-0.3c-old/doc/Makefile.in	Wed Sep 20 20:55:57 2000
++++ heimdal-0.3c/doc/Makefile.in	Tue Nov 28 09:56:36 2000
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,12 +69,14 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ EXEEXT = @EXEEXT@
+@@ -89,6 +92,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -99,7 +103,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -129,7 +132,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -169,6 +172,13 @@
+ LIB_openldap = @LIB_openldap@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
+ 
+ LEXLIB = @LEXLIB@
+ 
+diff -ruN heimdal-0.3c-old/include/Makefile.in heimdal-0.3c/include/Makefile.in
+--- heimdal-0.3c-old/include/Makefile.in	Wed Sep 20 20:55:32 2000
++++ heimdal-0.3c/include/Makefile.in	Tue Nov 28 09:56:22 2000
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,12 +69,14 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ EXEEXT = @EXEEXT@
+@@ -89,6 +92,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -99,7 +103,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -129,7 +132,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -170,6 +173,13 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ cat1dir = $(mandir)/cat1
+@@ -405,10 +415,11 @@
+ 	@set fnord $(MAKEFLAGS); amf=$$2; \
+ 	dot_seen=no; \
+ 	rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
+-	  rev="$$subdir $$rev"; \
+-	  if test "$$subdir" = "."; then dot_seen=yes; else :; fi; \
++	  if test "$$subdir" = "."; then :; else \
++	    rev="$$subdir $$rev"; \
++	  fi; \
+ 	done; \
+-	test "$$dot_seen" = "no" && rev=". $$rev"; \
++	rev="$$rev ."; \
+ 	target=`echo $@ | sed s/-recursive//`; \
+ 	for subdir in $$rev; do \
+ 	  echo "Making $$target in $$subdir"; \
+diff -ruN heimdal-0.3c-old/include/config.h.in heimdal-0.3c/include/config.h.in
+--- heimdal-0.3c-old/include/config.h.in	Wed Sep 20 20:58:25 2000
++++ heimdal-0.3c/include/config.h.in	Tue Nov 28 09:56:20 2000
+@@ -30,6 +30,9 @@
+ /* Define if realloc(NULL) doesn't work. */
+ #undef BROKEN_REALLOC
+ 
++/* Define if you have the com_err package. */
++#undef COM_ERR
++
+ /* Define if you want support for DCE/DFS PAG's. */
+ #undef DCE
+ 
+@@ -100,6 +103,9 @@
+ /* Define if you have the `chown' function. */
+ #undef HAVE_CHOWN
+ 
++/* Define if you have a com_err compatible library. */
++#undef HAVE_COM_ERR
++
+ /* Define if you have the <config.h> header file. */
+ #undef HAVE_CONFIG_H
+ 
+@@ -344,36 +350,6 @@
+ /* Define if you have the `krb_get_our_ip_for_realm' function. */
+ #undef HAVE_KRB_GET_OUR_IP_FOR_REALM
+ 
+-/* Define if you have the `bsd' library (-lbsd). */
+-#undef HAVE_LIBBSD
+-
+-/* Define if you have the `dnet' library (-ldnet). */
+-#undef HAVE_LIBDNET
+-
+-/* Define if you have the `dnet_stub' library (-ldnet_stub). */
+-#undef HAVE_LIBDNET_STUB
+-
+-/* Define if you have the `fl' library (-lfl). */
+-#undef HAVE_LIBFL
+-
+-/* Define if you have the `ICE' library (-lICE). */
+-#undef HAVE_LIBICE
+-
+-/* Define if you have the `ipc' library (-lipc). */
+-#undef HAVE_LIBIPC
+-
+-/* Define if you have the `l' library (-ll). */
+-#undef HAVE_LIBL
+-
+-/* Define if you have the `nsl' library (-lnsl). */
+-#undef HAVE_LIBNSL
+-
+-/* Define if you have the `posix' library (-lposix). */
+-#undef HAVE_LIBPOSIX
+-
+-/* Define if you have the `socket' library (-lsocket). */
+-#undef HAVE_LIBSOCKET
+-
+ /* Define if you have the <limits.h> header file. */
+ #undef HAVE_LIMITS_H
+ 
+@@ -614,6 +590,9 @@
+ /* Define if the system has the type `socklen_t'. */
+ #undef HAVE_SOCKLEN_T
+ 
++/* Define if you have a ss compatible library. */
++#undef HAVE_SS
++
+ /* Define if you have the <standards.h> header file. */
+ #undef HAVE_STANDARDS_H
+ 
+@@ -1073,6 +1052,9 @@
+ 
+ /* Define as the return type of signal handlers (`int' or `void'). */
+ #undef RETSIGTYPE
++
++/* Define if you have the ss package. */
++#undef SS
+ 
+ /* Define if you have the ANSI C header files. */
+ #undef STDC_HEADERS
+diff -ruN heimdal-0.3c-old/include/kadm5/Makefile.in heimdal-0.3c/include/kadm5/Makefile.in
+--- heimdal-0.3c-old/include/kadm5/Makefile.in	Wed Sep 20 20:55:32 2000
++++ heimdal-0.3c/include/kadm5/Makefile.in	Tue Nov 28 09:56:23 2000
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,12 +69,14 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ EXEEXT = @EXEEXT@
+@@ -89,6 +92,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -99,7 +103,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -129,7 +132,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -169,6 +172,13 @@
+ LIB_openldap = @LIB_openldap@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
+ 
+ LEXLIB = @LEXLIB@
+ 
+diff -ruN heimdal-0.3c-old/kadmin/Makefile.in heimdal-0.3c/kadmin/Makefile.in
+--- heimdal-0.3c-old/kadmin/Makefile.in	Wed Sep 20 20:55:45 2000
++++ heimdal-0.3c/kadmin/Makefile.in	Tue Nov 28 09:56:30 2000
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,12 +69,14 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ EXEEXT = @EXEEXT@
+@@ -89,6 +92,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -99,7 +103,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -123,13 +126,13 @@
+ 
+ SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+ 
+-INCLUDES = -I$(top_builddir)/include $(INCLUDE_readline) $(INCLUDE_krb4) -I$(srcdir)/../lib/krb5
++INCLUDES = -I$(top_builddir)/include $(INCLUDE_readline) $(INCLUDE_krb4) $(INCLUDE_ss) -I$(srcdir)/../lib/krb5
+ 
+ AM_CFLAGS =  $(WFLAGS) $(CPPFLAGS_roken)
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -170,6 +173,13 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ cat1dir = $(mandir)/cat1
+@@ -250,7 +260,7 @@
+ kadmin_LDADD = \
+ 	$(top_builddir)/lib/kadm5/libkadm5clnt.la \
+ 	$(top_builddir)/lib/kadm5/libkadm5srv.la \
+-	$(top_builddir)/lib/sl/libsl.la \
++	$(LIB_ss) \
+ 	$(LIB_readline) \
+ 	$(COMMON_LDADD) \
+ 	$(LIB_dlopen)
+@@ -295,9 +305,8 @@
+ kadmin_OBJECTS =  $(am_kadmin_OBJECTS)
+ kadmin_DEPENDENCIES =  $(top_builddir)/lib/kadm5/libkadm5clnt.la \
+ $(top_builddir)/lib/kadm5/libkadm5srv.la \
+-$(top_builddir)/lib/sl/libsl.la $(top_builddir)/lib/hdb/libhdb.la \
+-$(top_builddir)/lib/krb5/libkrb5.la $(top_builddir)/lib/des/libdes.la \
+-$(top_builddir)/lib/asn1/libasn1.la
++$(top_builddir)/lib/hdb/libhdb.la $(top_builddir)/lib/krb5/libkrb5.la \
++$(top_builddir)/lib/des/libdes.la $(top_builddir)/lib/asn1/libasn1.la
+ kadmin_LDFLAGS = 
+ @KRB4_FALSE@am_kadmind_OBJECTS =  kadmind.$(OBJEXT) server.$(OBJEXT) \
+ @KRB4_FALSE@kadm_conn.$(OBJEXT)
+diff -ruN heimdal-0.3c-old/kdc/Makefile.in heimdal-0.3c/kdc/Makefile.in
+--- heimdal-0.3c-old/kdc/Makefile.in	Wed Sep 20 20:55:46 2000
++++ heimdal-0.3c/kdc/Makefile.in	Tue Nov 28 09:56:30 2000
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,12 +69,14 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ EXEEXT = @EXEEXT@
+@@ -89,6 +92,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -99,7 +103,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -129,7 +132,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -169,6 +172,13 @@
+ LIB_openldap = @LIB_openldap@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
+ 
+ LEXLIB = @LEXLIB@
+ 
+diff -ruN heimdal-0.3c-old/kpasswd/Makefile.in heimdal-0.3c/kpasswd/Makefile.in
+--- heimdal-0.3c-old/kpasswd/Makefile.in	Wed Sep 20 20:55:44 2000
++++ heimdal-0.3c/kpasswd/Makefile.in	Tue Nov 28 09:56:29 2000
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,12 +69,14 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ EXEEXT = @EXEEXT@
+@@ -89,6 +92,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -99,7 +103,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -129,7 +132,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -169,6 +172,13 @@
+ LIB_openldap = @LIB_openldap@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
+ 
+ LEXLIB = @LEXLIB@
+ 
+diff -ruN heimdal-0.3c-old/kuser/Makefile.in heimdal-0.3c/kuser/Makefile.in
+--- heimdal-0.3c-old/kuser/Makefile.in	Wed Sep 20 20:55:44 2000
++++ heimdal-0.3c/kuser/Makefile.in	Tue Nov 28 09:56:29 2000
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,12 +69,14 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ EXEEXT = @EXEEXT@
+@@ -89,6 +92,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -99,7 +103,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -129,7 +132,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -169,6 +172,13 @@
+ LIB_openldap = @LIB_openldap@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
+ 
+ LEXLIB = @LEXLIB@
+ 
+diff -ruN heimdal-0.3c-old/lib/45/Makefile.in heimdal-0.3c/lib/45/Makefile.in
+--- heimdal-0.3c-old/lib/45/Makefile.in	Wed Sep 20 20:55:33 2000
++++ heimdal-0.3c/lib/45/Makefile.in	Tue Nov 28 09:56:23 2000
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,12 +69,14 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ EXEEXT = @EXEEXT@
+@@ -89,6 +92,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -99,7 +103,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -129,7 +132,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -169,6 +172,13 @@
+ LIB_openldap = @LIB_openldap@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
+ 
+ LEXLIB = @LEXLIB@
+ 
+diff -ruN heimdal-0.3c-old/lib/Makefile.in heimdal-0.3c/lib/Makefile.in
+--- heimdal-0.3c-old/lib/Makefile.in	Wed Sep 20 20:55:33 2000
++++ heimdal-0.3c/lib/Makefile.in	Tue Nov 28 09:56:23 2000
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,12 +69,14 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ EXEEXT = @EXEEXT@
+@@ -89,6 +92,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -99,7 +103,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -129,7 +132,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -170,6 +173,13 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ cat1dir = $(mandir)/cat1
+@@ -194,7 +204,7 @@
+ @OTP_TRUE@dir_otp = @OTP_TRUE@otp
+ @DCE_TRUE@dir_dce = @DCE_TRUE@kdfs
+ 
+-SUBDIRS = @DIR_roken@ vers editline com_err sl asn1 des krb5 \
++SUBDIRS = @DIR_roken@ vers @DIR_readline@ @DIR_com_err@ @DIR_ss@ asn1 des krb5 \
+ 	kafs hdb kadm5 gssapi auth $(dir_45) $(dir_otp) $(dir_dce)
+ 
+ subdir = lib
+@@ -214,8 +224,8 @@
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+ GZIP_ENV = --best
+-DIST_SUBDIRS =  @DIR_roken@ vers editline com_err sl asn1 des krb5 kafs \
+-hdb kadm5 gssapi auth 45 otp kdfs
++DIST_SUBDIRS =  @DIR_roken@ vers @DIR_readline@ @DIR_com_err@ @DIR_ss@ \
++asn1 des krb5 kafs hdb kadm5 gssapi auth 45 otp kdfs
+ all: all-redirect
+ .SUFFIXES:
+ .SUFFIXES: .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .et .h .x
+@@ -260,10 +270,11 @@
+ 	@set fnord $(MAKEFLAGS); amf=$$2; \
+ 	dot_seen=no; \
+ 	rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
+-	  rev="$$subdir $$rev"; \
+-	  if test "$$subdir" = "."; then dot_seen=yes; else :; fi; \
++	  if test "$$subdir" = "."; then :; else \
++	    rev="$$subdir $$rev"; \
++	  fi; \
+ 	done; \
+-	test "$$dot_seen" = "no" && rev=". $$rev"; \
++	rev="$$rev ."; \
+ 	target=`echo $@ | sed s/-recursive//`; \
+ 	for subdir in $$rev; do \
+ 	  echo "Making $$target in $$subdir"; \
+diff -ruN heimdal-0.3c-old/lib/asn1/Makefile.in heimdal-0.3c/lib/asn1/Makefile.in
+--- heimdal-0.3c-old/lib/asn1/Makefile.in	Wed Sep 20 20:55:35 2000
++++ heimdal-0.3c/lib/asn1/Makefile.in	Tue Nov 28 09:56:24 2000
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,12 +69,14 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ EXEEXT = @EXEEXT@
+@@ -89,6 +92,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -99,7 +103,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -123,13 +126,13 @@
+ 
+ SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+ 
+-INCLUDES = -I$(top_builddir)/include
++INCLUDES = -I$(top_builddir)/include $(INCLUDE_com_err)
+ 
+ AM_CFLAGS =  $(WFLAGS) $(CPPFLAGS_roken)
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -170,6 +173,13 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ cat1dir = $(mandir)/cat1
+@@ -274,12 +284,12 @@
+ 
+ 
+ asn1_compile_LDADD = \
+-	$(LIB_roken) $(LEXLIB)
++        $(LIB_roken) $(LEXLIB)
+ 
+ 
+ check_der_LDADD = \
+ 	libasn1.la \
+-	../com_err/libcom_err.la \
++	$(LIB_com_err) \
+ 	$(LIB_roken)
+ 
+ 
+@@ -339,11 +349,11 @@
+ asn1_compile_LDFLAGS = 
+ asn1_print_SOURCES = asn1_print.c
+ asn1_print_OBJECTS =  asn1_print.$(OBJEXT)
+-asn1_print_DEPENDENCIES =  libasn1.la ../com_err/libcom_err.la
++asn1_print_DEPENDENCIES =  libasn1.la
+ asn1_print_LDFLAGS = 
+ check_der_SOURCES = check-der.c
+ check_der_OBJECTS =  check-der.$(OBJEXT)
+-check_der_DEPENDENCIES =  libasn1.la ../com_err/libcom_err.la
++check_der_DEPENDENCIES =  libasn1.la
+ check_der_LDFLAGS = 
+ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+diff -ruN heimdal-0.3c-old/lib/auth/Makefile.in heimdal-0.3c/lib/auth/Makefile.in
+--- heimdal-0.3c-old/lib/auth/Makefile.in	Wed Sep 20 20:55:34 2000
++++ heimdal-0.3c/lib/auth/Makefile.in	Tue Nov 28 09:56:23 2000
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,12 +69,14 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ EXEEXT = @EXEEXT@
+@@ -89,6 +92,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -99,7 +103,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -129,7 +132,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -170,6 +173,13 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ cat1dir = $(mandir)/cat1
+@@ -253,10 +263,11 @@
+ 	@set fnord $(MAKEFLAGS); amf=$$2; \
+ 	dot_seen=no; \
+ 	rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
+-	  rev="$$subdir $$rev"; \
+-	  if test "$$subdir" = "."; then dot_seen=yes; else :; fi; \
++	  if test "$$subdir" = "."; then :; else \
++	    rev="$$subdir $$rev"; \
++	  fi; \
+ 	done; \
+-	test "$$dot_seen" = "no" && rev=". $$rev"; \
++	rev="$$rev ."; \
+ 	target=`echo $@ | sed s/-recursive//`; \
+ 	for subdir in $$rev; do \
+ 	  echo "Making $$target in $$subdir"; \
+diff -ruN heimdal-0.3c-old/lib/auth/afskauthlib/Makefile.in heimdal-0.3c/lib/auth/afskauthlib/Makefile.in
+--- heimdal-0.3c-old/lib/auth/afskauthlib/Makefile.in	Wed Sep 20 20:55:34 2000
++++ heimdal-0.3c/lib/auth/afskauthlib/Makefile.in	Tue Nov 28 09:56:23 2000
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,12 +69,14 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ EXEEXT = @EXEEXT@
+@@ -89,6 +92,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -99,7 +103,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -129,7 +132,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -169,6 +172,13 @@
+ LIB_openldap = @LIB_openldap@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
+ 
+ LEXLIB = @LEXLIB@
+ 
+diff -ruN heimdal-0.3c-old/lib/auth/pam/Makefile.in heimdal-0.3c/lib/auth/pam/Makefile.in
+--- heimdal-0.3c-old/lib/auth/pam/Makefile.in	Wed Sep 20 20:55:34 2000
++++ heimdal-0.3c/lib/auth/pam/Makefile.in	Tue Nov 28 09:56:24 2000
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,12 +69,14 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ EXEEXT = @EXEEXT@
+@@ -89,6 +92,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -99,7 +103,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -129,7 +132,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -169,6 +172,13 @@
+ LIB_openldap = @LIB_openldap@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
+ 
+ LEXLIB = @LEXLIB@
+ 
+diff -ruN heimdal-0.3c-old/lib/auth/sia/Makefile.in heimdal-0.3c/lib/auth/sia/Makefile.in
+--- heimdal-0.3c-old/lib/auth/sia/Makefile.in	Wed Sep 20 20:55:35 2000
++++ heimdal-0.3c/lib/auth/sia/Makefile.in	Tue Nov 28 09:56:24 2000
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,12 +69,14 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ EXEEXT = @EXEEXT@
+@@ -89,6 +92,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -99,7 +103,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+@@ -128,7 +131,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -169,6 +172,13 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ cat1dir = $(mandir)/cat1
+@@ -202,10 +212,7 @@
+ 	$(top_builddir)/lib/asn1/.libs/libasn1.a	\
+ 	$(LIB_krb4)					\
+ 	$(top_builddir)/lib/des/.libs/libdes.a		\
+-	$(top_builddir)/lib/com_err/.libs/libcom_err.a	\
+-	$(top_builddir)/lib/roken/.libs/libroken.a	\
+-	$(LIB_getpwnam_r)				\
+-	-lc
++	@LIB_sl@
+ 
+ 
+ L_shared = \
+@@ -214,10 +221,7 @@
+ 	$(top_builddir)/lib/asn1/.libs/libasn1.so	\
+ 	$(LIB_krb4)					\
+ 	$(top_builddir)/lib/des/.libs/libdes.so		\
+-	$(top_builddir)/lib/com_err/.libs/libcom_err.so	\
+-	$(top_builddir)/lib/roken/.libs/libroken.so	\
+-	$(LIB_getpwnam_r)				\
+-	-lc
++	@LIB_sl@
+ 
+ 
+ EXTRA_DIST = sia.c krb5_matrix.conf krb5+c2_matrix.conf security.patch
+@@ -568,6 +572,12 @@
+ 	  echo "$$dashes"; \
+ 	  test "$$failed" -eq 0; \
+ 	fi
++	$(top_builddir)/lib/roken/.libs/libroken.a	\
++	$(LIB_getpwnam_r)				\
++	-lc
++	$(top_builddir)/lib/roken/.libs/libroken.so	\
++	$(LIB_getpwnam_r)				\
++	-lc
+ 
+ libsia_krb5.so: $(OBJS)
+ 	if test -f $(top_builddir)/lib/krb5/.libs/libkrb5.a; then \
+diff -ruN heimdal-0.3c-old/lib/com_err/Makefile.in heimdal-0.3c/lib/com_err/Makefile.in
+--- heimdal-0.3c-old/lib/com_err/Makefile.in	Wed Sep 20 20:55:36 2000
++++ heimdal-0.3c/lib/com_err/Makefile.in	Tue Nov 28 09:56:25 2000
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,12 +69,14 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ EXEEXT = @EXEEXT@
+@@ -89,6 +92,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -99,7 +103,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -129,7 +132,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -170,6 +173,13 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ cat1dir = $(mandir)/cat1
+@@ -438,6 +448,8 @@
+ check: check-am
+ installcheck-am:
+ installcheck: installcheck-am
++install-binPROGRAMS: install-libLTLIBRARIES
++
+ install-exec-am: install-libLTLIBRARIES install-binPROGRAMS
+ 	@$(NORMAL_INSTALL)
+ 	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+diff -ruN heimdal-0.3c-old/lib/des/Makefile.in heimdal-0.3c/lib/des/Makefile.in
+--- heimdal-0.3c-old/lib/des/Makefile.in	Wed Sep 20 20:55:36 2000
++++ heimdal-0.3c/lib/des/Makefile.in	Tue Nov 28 09:56:25 2000
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,12 +69,14 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ EXEEXT = @EXEEXT@
+@@ -89,6 +92,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -99,7 +103,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -129,7 +132,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -170,6 +173,13 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ cat1dir = $(mandir)/cat1
+@@ -610,6 +620,8 @@
+ check: check-am
+ installcheck-am:
+ installcheck: installcheck-am
++install-binPROGRAMS: install-libLTLIBRARIES
++
+ install-exec-am: install-libLTLIBRARIES install-binPROGRAMS
+ 	@$(NORMAL_INSTALL)
+ 	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+diff -ruN heimdal-0.3c-old/lib/editline/Makefile.in heimdal-0.3c/lib/editline/Makefile.in
+--- heimdal-0.3c-old/lib/editline/Makefile.in	Wed Sep 20 20:55:37 2000
++++ heimdal-0.3c/lib/editline/Makefile.in	Tue Nov 28 09:56:25 2000
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,12 +69,14 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ EXEEXT = @EXEEXT@
+@@ -89,6 +92,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -99,7 +103,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -129,7 +132,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -170,6 +173,13 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ cat1dir = $(mandir)/cat1
+@@ -192,21 +202,22 @@
+ 
+ man_MANS = editline.3
+ 
+-lib_LIBRARIES = libeditline.a
++lib_LTLIBRARIES = libeditline.la
++libeditline_la_LDFLAGS = -static
+ @el_compat_TRUE@noinst_LIBRARIES = @el_compat_TRUE@libel_compat.a
+ @el_compat_FALSE@noinst_LIBRARIES = 
+ 
+ noinst_PROGRAMS = testit
+ 
+ testit_LDADD = \
+-	libeditline.a \
++	libeditline.la \
+ 	$(LIB_tgetent) \
+ 	$(LIB_roken)
+ 
+ 
+ include_HEADERS = editline.h
+ 
+-libeditline_a_SOURCES = complete.c editline.c sysunix.c \
++libeditline_la_SOURCES = complete.c editline.c sysunix.c \
+ 	editline.h roken_rename.h unix.h
+ 
+ libel_compat_a_SOURCES = edit_compat.c
+@@ -216,7 +227,7 @@
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+ CONFIG_HEADER = ../../include/config.h
+ CONFIG_CLEAN_FILES = 
+-LIBRARIES =  $(lib_LIBRARIES) $(noinst_LIBRARIES)
++LIBRARIES =  $(noinst_LIBRARIES)
+ 
+ 
+ DEFS = @DEFS@ -I. -I$(srcdir) -I../../include
+@@ -227,29 +238,29 @@
+ X_LIBS = @X_LIBS@
+ X_EXTRA_LIBS = @X_EXTRA_LIBS@
+ X_PRE_LIBS = @X_PRE_LIBS@
+-libeditline_a_AR = $(AR) cru
+-libeditline_a_LIBADD = 
+-am_libeditline_a_OBJECTS =  complete.$(OBJEXT) editline.$(OBJEXT) \
+-sysunix.$(OBJEXT)
+-libeditline_a_OBJECTS =  $(am_libeditline_a_OBJECTS)
+ libel_compat_a_AR = $(AR) cru
+ libel_compat_a_LIBADD = 
+ am_libel_compat_a_OBJECTS =  edit_compat.$(OBJEXT)
+ libel_compat_a_OBJECTS =  $(am_libel_compat_a_OBJECTS)
+ AR = ar
++LTLIBRARIES =  $(lib_LTLIBRARIES)
++
++libeditline_la_LIBADD = 
++am_libeditline_la_OBJECTS =  complete.lo editline.lo sysunix.lo
++libeditline_la_OBJECTS =  $(am_libeditline_la_OBJECTS)
+ noinst_PROGRAMS =  testit$(EXEEXT)
+ PROGRAMS =  $(noinst_PROGRAMS)
+ 
+ testit_SOURCES = testit.c
+ testit_OBJECTS =  testit.$(OBJEXT)
+-testit_DEPENDENCIES =  libeditline.a
++testit_DEPENDENCIES =  libeditline.la
+ testit_LDFLAGS = 
+ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CFLAGS = @CFLAGS@
+ CCLD = $(CC)
+ LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  $(libeditline_a_SOURCES) $(libel_compat_a_SOURCES) \
++DIST_SOURCES =  $(libel_compat_a_SOURCES) $(libeditline_la_SOURCES) \
+ testit.c
+ man3dir = $(mandir)/man3
+ MANS = $(man_MANS)
+@@ -263,8 +274,8 @@
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+ GZIP_ENV = --best
+-SOURCES = $(libeditline_a_SOURCES) $(libel_compat_a_SOURCES) testit.c
+-OBJECTS = $(am_libeditline_a_OBJECTS) $(am_libel_compat_a_OBJECTS) testit.$(OBJEXT)
++SOURCES = $(libel_compat_a_SOURCES) $(libeditline_la_SOURCES) testit.c
++OBJECTS = $(am_libel_compat_a_OBJECTS) $(am_libeditline_la_OBJECTS) testit.$(OBJEXT)
+ 
+ all: all-redirect
+ .SUFFIXES:
+@@ -277,39 +288,6 @@
+ 	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+ 
+ 
+-mostlyclean-libLIBRARIES:
+-
+-clean-libLIBRARIES:
+-	-test -z "$(lib_LIBRARIES)" || rm -f $(lib_LIBRARIES)
+-
+-distclean-libLIBRARIES:
+-
+-maintainer-clean-libLIBRARIES:
+-
+-install-libLIBRARIES: $(lib_LIBRARIES)
+-	@$(NORMAL_INSTALL)
+-	$(mkinstalldirs) $(DESTDIR)$(libdir)
+-	@list='$(lib_LIBRARIES)'; for p in $$list; do \
+-	  if test -f $$p; then \
+-	    echo " $(INSTALL_DATA) $$p $(DESTDIR)$(libdir)/$$p"; \
+-	    $(INSTALL_DATA) $$p $(DESTDIR)$(libdir)/$$p; \
+-	  else :; fi; \
+-	done
+-	@$(POST_INSTALL)
+-	@list='$(lib_LIBRARIES)'; for p in $$list; do \
+-	  if test -f $$p; then \
+-	    echo " $(RANLIB) $(DESTDIR)$(libdir)/$$p"; \
+-	    $(RANLIB) $(DESTDIR)$(libdir)/$$p; \
+-	  else :; fi; \
+-	done
+-
+-uninstall-libLIBRARIES:
+-	@$(NORMAL_UNINSTALL)
+-	@list='$(lib_LIBRARIES)'; for p in $$list; do \
+-	  echo " rm -f $(DESTDIR)$(libdir)/$$p"; \
+-	  rm -f $(DESTDIR)$(libdir)/$$p; \
+-	done
+-
+ mostlyclean-noinstLIBRARIES:
+ 
+ clean-noinstLIBRARIES:
+@@ -340,16 +318,40 @@
+ 
+ maintainer-clean-libtool:
+ 
+-libeditline.a: $(libeditline_a_OBJECTS) $(libeditline_a_DEPENDENCIES)
+-	-rm -f libeditline.a
+-	$(libeditline_a_AR) libeditline.a $(libeditline_a_OBJECTS) $(libeditline_a_LIBADD)
+-	$(RANLIB) libeditline.a
+-
+ libel_compat.a: $(libel_compat_a_OBJECTS) $(libel_compat_a_DEPENDENCIES)
+ 	-rm -f libel_compat.a
+ 	$(libel_compat_a_AR) libel_compat.a $(libel_compat_a_OBJECTS) $(libel_compat_a_LIBADD)
+ 	$(RANLIB) libel_compat.a
+ 
++mostlyclean-libLTLIBRARIES:
++
++clean-libLTLIBRARIES:
++	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
++
++distclean-libLTLIBRARIES:
++
++maintainer-clean-libLTLIBRARIES:
++
++install-libLTLIBRARIES: $(lib_LTLIBRARIES)
++	@$(NORMAL_INSTALL)
++	$(mkinstalldirs) $(DESTDIR)$(libdir)
++	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
++	  if test -f $$p; then \
++	    echo " $(LIBTOOL)  --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p"; \
++	    $(LIBTOOL)  --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p; \
++	  else :; fi; \
++	done
++
++uninstall-libLTLIBRARIES:
++	@$(NORMAL_UNINSTALL)
++	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
++	  echo " $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
++	  $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
++	done
++
++libeditline.la: $(libeditline_la_OBJECTS) $(libeditline_la_DEPENDENCIES)
++	$(LINK) -rpath $(libdir) $(libeditline_la_LDFLAGS) $(libeditline_la_OBJECTS) $(libeditline_la_LIBADD) $(LIBS)
++
+ mostlyclean-noinstPROGRAMS:
+ 
+ clean-noinstPROGRAMS:
+@@ -485,7 +487,7 @@
+ check: check-am
+ installcheck-am:
+ installcheck: installcheck-am
+-install-exec-am: install-libLIBRARIES
++install-exec-am: install-libLTLIBRARIES
+ 	@$(NORMAL_INSTALL)
+ 	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+ install-exec: install-exec-am
+@@ -496,10 +498,11 @@
+ install-am: all-am
+ 	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am: uninstall-libLIBRARIES uninstall-man \
++uninstall-am: uninstall-libLTLIBRARIES uninstall-man \
+ 		uninstall-includeHEADERS
+ uninstall: uninstall-am
+-all-am: Makefile $(LIBRARIES) $(PROGRAMS) $(MANS) $(HEADERS) all-local
++all-am: Makefile $(LIBRARIES) $(LTLIBRARIES) $(PROGRAMS) $(MANS) \
++		$(HEADERS) all-local
+ all-redirect: all-am
+ install-strip:
+ 	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+@@ -518,30 +521,30 @@
+ 
+ maintainer-clean-generic:
+ 	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-libLIBRARIES mostlyclean-noinstLIBRARIES \
+-		mostlyclean-compile mostlyclean-libtool \
++mostlyclean-am:  mostlyclean-noinstLIBRARIES mostlyclean-compile \
++		mostlyclean-libtool mostlyclean-libLTLIBRARIES \
+ 		mostlyclean-noinstPROGRAMS mostlyclean-tags \
+ 		mostlyclean-generic
+ 
+ mostlyclean: mostlyclean-am
+ 
+-clean-am:  clean-libLIBRARIES clean-noinstLIBRARIES clean-compile \
+-		clean-libtool clean-noinstPROGRAMS clean-tags \
++clean-am:  clean-noinstLIBRARIES clean-compile clean-libtool \
++		clean-libLTLIBRARIES clean-noinstPROGRAMS clean-tags \
+ 		clean-generic mostlyclean-am
+ 
+ clean: clean-am
+ 
+-distclean-am:  distclean-libLIBRARIES distclean-noinstLIBRARIES \
+-		distclean-compile distclean-libtool \
++distclean-am:  distclean-noinstLIBRARIES distclean-compile \
++		distclean-libtool distclean-libLTLIBRARIES \
+ 		distclean-noinstPROGRAMS distclean-tags \
+ 		distclean-generic clean-am
+ 	-rm -f libtool
+ 
+ distclean: distclean-am
+ 
+-maintainer-clean-am:  maintainer-clean-libLIBRARIES \
+-		maintainer-clean-noinstLIBRARIES \
++maintainer-clean-am:  maintainer-clean-noinstLIBRARIES \
+ 		maintainer-clean-compile maintainer-clean-libtool \
++		maintainer-clean-libLTLIBRARIES \
+ 		maintainer-clean-noinstPROGRAMS maintainer-clean-tags \
+ 		maintainer-clean-generic distclean-am
+ 	@echo "This command is intended for maintainers to use;"
+@@ -549,19 +552,20 @@
+ 
+ maintainer-clean: maintainer-clean-am
+ 
+-.PHONY: mostlyclean-libLIBRARIES distclean-libLIBRARIES \
+-clean-libLIBRARIES maintainer-clean-libLIBRARIES uninstall-libLIBRARIES \
+-install-libLIBRARIES mostlyclean-noinstLIBRARIES \
+-distclean-noinstLIBRARIES clean-noinstLIBRARIES \
+-maintainer-clean-noinstLIBRARIES mostlyclean-compile distclean-compile \
+-clean-compile maintainer-clean-compile mostlyclean-libtool \
+-distclean-libtool clean-libtool maintainer-clean-libtool \
+-mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \
+-clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS install-man3 \
+-uninstall-man3 install-man uninstall-man uninstall-includeHEADERS \
+-install-includeHEADERS tags mostlyclean-tags distclean-tags clean-tags \
+-maintainer-clean-tags distdir info-am info dvi-am dvi check-local check \
+-check-am installcheck-am installcheck install-exec-am install-exec \
++.PHONY: mostlyclean-noinstLIBRARIES distclean-noinstLIBRARIES \
++clean-noinstLIBRARIES maintainer-clean-noinstLIBRARIES \
++mostlyclean-compile distclean-compile clean-compile \
++maintainer-clean-compile mostlyclean-libtool distclean-libtool \
++clean-libtool maintainer-clean-libtool mostlyclean-libLTLIBRARIES \
++distclean-libLTLIBRARIES clean-libLTLIBRARIES \
++maintainer-clean-libLTLIBRARIES uninstall-libLTLIBRARIES \
++install-libLTLIBRARIES mostlyclean-noinstPROGRAMS \
++distclean-noinstPROGRAMS clean-noinstPROGRAMS \
++maintainer-clean-noinstPROGRAMS install-man3 uninstall-man3 install-man \
++uninstall-man uninstall-includeHEADERS install-includeHEADERS tags \
++mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
++distdir info-am info dvi-am dvi check-local check check-am \
++installcheck-am installcheck install-exec-am install-exec \
+ install-data-local install-data-am install-data install-am install \
+ uninstall-am uninstall all-local all-redirect all-am all install-strip \
+ installdirs mostlyclean-generic distclean-generic clean-generic \
+diff -ruN heimdal-0.3c-old/lib/gssapi/Makefile.in heimdal-0.3c/lib/gssapi/Makefile.in
+--- heimdal-0.3c-old/lib/gssapi/Makefile.in	Wed Sep 20 20:55:37 2000
++++ heimdal-0.3c/lib/gssapi/Makefile.in	Tue Nov 28 09:56:26 2000
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,12 +69,14 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ EXEEXT = @EXEEXT@
+@@ -89,6 +92,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -99,7 +103,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -129,7 +132,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -169,6 +172,13 @@
+ LIB_openldap = @LIB_openldap@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
+ 
+ LEXLIB = @LEXLIB@
+ 
+diff -ruN heimdal-0.3c-old/lib/hdb/Makefile.in heimdal-0.3c/lib/hdb/Makefile.in
+--- heimdal-0.3c-old/lib/hdb/Makefile.in	Wed Sep 20 20:55:38 2000
++++ heimdal-0.3c/lib/hdb/Makefile.in	Tue Nov 28 09:56:26 2000
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,12 +69,14 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ EXEEXT = @EXEEXT@
+@@ -89,6 +92,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -99,7 +103,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -129,7 +132,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -169,6 +172,13 @@
+ LIB_openldap = @LIB_openldap@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
+ 
+ LEXLIB = @LEXLIB@
+ 
+diff -ruN heimdal-0.3c-old/lib/kadm5/Makefile.in heimdal-0.3c/lib/kadm5/Makefile.in
+--- heimdal-0.3c-old/lib/kadm5/Makefile.in	Wed Sep 20 20:55:39 2000
++++ heimdal-0.3c/lib/kadm5/Makefile.in	Tue Nov 28 09:56:26 2000
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,12 +69,14 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ EXEEXT = @EXEEXT@
+@@ -89,6 +92,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -99,7 +103,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -129,7 +132,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -169,6 +172,13 @@
+ LIB_openldap = @LIB_openldap@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
+ 
+ LEXLIB = @LEXLIB@
+ 
+diff -ruN heimdal-0.3c-old/lib/kafs/Makefile.in heimdal-0.3c/lib/kafs/Makefile.in
+--- heimdal-0.3c-old/lib/kafs/Makefile.in	Wed Sep 20 20:55:40 2000
++++ heimdal-0.3c/lib/kafs/Makefile.in	Tue Nov 28 09:56:27 2000
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,12 +69,14 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ EXEEXT = @EXEEXT@
+@@ -89,6 +92,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -99,7 +103,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -129,7 +132,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -169,6 +172,13 @@
+ LIB_openldap = @LIB_openldap@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
+ 
+ LEXLIB = @LEXLIB@
+ 
+diff -ruN heimdal-0.3c-old/lib/kdfs/Makefile.in heimdal-0.3c/lib/kdfs/Makefile.in
+--- heimdal-0.3c-old/lib/kdfs/Makefile.in	Wed Sep 20 20:55:41 2000
++++ heimdal-0.3c/lib/kdfs/Makefile.in	Tue Nov 28 09:56:27 2000
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,12 +69,14 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ EXEEXT = @EXEEXT@
+@@ -89,6 +92,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -99,7 +103,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -129,7 +132,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -169,6 +172,13 @@
+ LIB_openldap = @LIB_openldap@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
+ 
+ LEXLIB = @LEXLIB@
+ 
+diff -ruN heimdal-0.3c-old/lib/krb5/Makefile.in heimdal-0.3c/lib/krb5/Makefile.in
+--- heimdal-0.3c-old/lib/krb5/Makefile.in	Wed Sep 20 20:55:41 2000
++++ heimdal-0.3c/lib/krb5/Makefile.in	Tue Nov 28 09:56:27 2000
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,12 +69,14 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ EXEEXT = @EXEEXT@
+@@ -89,6 +92,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -99,7 +103,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -123,13 +126,13 @@
+ 
+ SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+ 
+-INCLUDES = -I$(top_builddir)/include $(INCLUDE_krb4)
++INCLUDES = -I$(top_builddir)/include $(INCLUDE_com_err) $(INCLUDE_krb4)
+ 
+ AM_CFLAGS =  $(WFLAGS) $(CPPFLAGS_roken)
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -170,6 +173,13 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ cat1dir = $(mandir)/cat1
+@@ -310,7 +320,7 @@
+ 
+ libkrb5_la_LDFLAGS = -version-info 13:1:0
+ 
+-libkrb5_la_LIBADD = ../com_err/error.lo ../com_err/com_err.lo
++libkrb5_la_LIBADD = $(LIB_com_err)
+ 
+ man_MANS = \
+ 	krb5.conf.5				\
+@@ -345,7 +355,7 @@
+ X_LIBS = @X_LIBS@
+ X_EXTRA_LIBS = @X_EXTRA_LIBS@
+ X_PRE_LIBS = @X_PRE_LIBS@
+-libkrb5_la_DEPENDENCIES =  ../com_err/error.lo ../com_err/com_err.lo
++libkrb5_la_DEPENDENCIES = 
+ @KRB4_FALSE@am_libkrb5_la_OBJECTS =  acl.lo add_et_list.lo \
+ @KRB4_FALSE@addr_families.lo address.lo aname_to_localname.lo \
+ @KRB4_FALSE@appdefault.lo asn1_glue.lo auth_context.lo build_ap_req.lo \
+@@ -850,6 +860,8 @@
+ check: check-am
+ installcheck-am:
+ installcheck: installcheck-am
++install-binPROGRAMS: install-libLTLIBRARIES
++
+ install-exec-am: install-libLTLIBRARIES install-binPROGRAMS
+ 	@$(NORMAL_INSTALL)
+ 	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+diff -ruN heimdal-0.3c-old/lib/otp/Makefile.in heimdal-0.3c/lib/otp/Makefile.in
+--- heimdal-0.3c-old/lib/otp/Makefile.in	Wed Sep 20 20:55:42 2000
++++ heimdal-0.3c/lib/otp/Makefile.in	Tue Nov 28 09:56:28 2000
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,12 +69,14 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ EXEEXT = @EXEEXT@
+@@ -89,6 +92,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -99,7 +103,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -129,7 +132,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -169,6 +172,13 @@
+ LIB_openldap = @LIB_openldap@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
+ 
+ LEXLIB = @LEXLIB@
+ 
+diff -ruN heimdal-0.3c-old/lib/sl/Makefile.in heimdal-0.3c/lib/sl/Makefile.in
+--- heimdal-0.3c-old/lib/sl/Makefile.in	Wed Sep 20 20:55:43 2000
++++ heimdal-0.3c/lib/sl/Makefile.in	Tue Nov 28 09:56:28 2000
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,12 +69,14 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ EXEEXT = @EXEEXT@
+@@ -89,6 +92,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -99,7 +103,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -129,7 +132,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -170,6 +173,13 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ cat1dir = $(mandir)/cat1
+@@ -192,8 +202,6 @@
+ 
+ YFLAGS = -d
+ 
+-include_HEADERS = sl.h
+-
+ lib_LTLIBRARIES = libsl.la libss.la
+ libsl_la_LDFLAGS = -version-info 1:0:1
+ libss_la_LDFLAGS = -version-info 1:1:1
+@@ -219,7 +227,8 @@
+ EXTRA_mk_cmds_SOURCES = snprintf.c roken_rename.h
+ 
+ ssincludedir = $(includedir)/ss
+-ssinclude_HEADERS = ss.h
++buildssinclude = $(buildinclude)/ss
++ssinclude_HEADERS = sl.h ss.h
+ 
+ CLEANFILES = lex.c parse.c parse.h snprintf.c strtok_r.c
+ 
+@@ -264,11 +273,11 @@
+ LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+ DIST_SOURCES =  $(libsl_la_SOURCES) $(EXTRA_libsl_la_SOURCES) \
+ $(libss_la_SOURCES) $(mk_cmds_SOURCES) $(EXTRA_mk_cmds_SOURCES)
+-HEADERS =  $(include_HEADERS) $(ssinclude_HEADERS)
++HEADERS =  $(ssinclude_HEADERS)
+ 
+ depcomp = 
+-DIST_COMMON =  $(include_HEADERS) $(ssinclude_HEADERS) ChangeLog \
+-Makefile.am Makefile.in lex.c parse.c parse.h
++DIST_COMMON =  $(ssinclude_HEADERS) ChangeLog Makefile.am Makefile.in \
++lex.c parse.c parse.h
+ 
+ 
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+@@ -388,24 +397,6 @@
+ parse.h: parse.c
+ 
+ 
+-install-includeHEADERS: $(include_HEADERS)
+-	@$(NORMAL_INSTALL)
+-	$(mkinstalldirs) $(DESTDIR)$(includedir)
+-	@list='$(include_HEADERS)'; for p in $$list; do \
+-	  if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
+-	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
+-	  $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f; \
+-	done
+-
+-uninstall-includeHEADERS:
+-	@$(NORMAL_UNINSTALL)
+-	@list='$(include_HEADERS)'; for p in $$list; do \
+-	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " rm -f $(DESTDIR)$(includedir)/$$f"; \
+-	  rm -f $(DESTDIR)$(includedir)/$$f; \
+-	done
+-
+ install-ssincludeHEADERS: $(ssinclude_HEADERS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(ssincludedir)
+@@ -481,20 +472,21 @@
+ check: check-am
+ installcheck-am:
+ installcheck: installcheck-am
++install-binPROGRAMS: install-libLTLIBRARIES
++
+ install-exec-am: install-libLTLIBRARIES install-binPROGRAMS
+ 	@$(NORMAL_INSTALL)
+ 	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+ install-exec: install-exec-am
+ 
+-install-data-am: install-includeHEADERS install-ssincludeHEADERS \
+-		install-data-local
++install-data-am: install-ssincludeHEADERS install-data-local
+ install-data: install-data-am
+ 
+ install-am: all-am
+ 	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+ uninstall-am: uninstall-libLTLIBRARIES uninstall-binPROGRAMS \
+-		uninstall-includeHEADERS uninstall-ssincludeHEADERS
++		uninstall-ssincludeHEADERS
+ uninstall: uninstall-am
+ all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(HEADERS) all-local
+ all-redirect: all-am
+@@ -502,7 +494,7 @@
+ 	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+ installdirs:
+ 	$(mkinstalldirs)  $(DESTDIR)$(libdir) $(DESTDIR)$(bindir) \
+-		$(DESTDIR)$(includedir) $(DESTDIR)$(ssincludedir)
++		$(DESTDIR)$(ssincludedir)
+ 
+ 
+ mostlyclean-generic:
+@@ -552,9 +544,8 @@
+ mostlyclean-libtool distclean-libtool clean-libtool \
+ maintainer-clean-libtool mostlyclean-binPROGRAMS distclean-binPROGRAMS \
+ clean-binPROGRAMS maintainer-clean-binPROGRAMS uninstall-binPROGRAMS \
+-install-binPROGRAMS uninstall-includeHEADERS install-includeHEADERS \
+-uninstall-ssincludeHEADERS install-ssincludeHEADERS tags \
+-mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
++install-binPROGRAMS uninstall-ssincludeHEADERS install-ssincludeHEADERS \
++tags mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
+ distdir info-am info dvi-am dvi check-local check check-am \
+ installcheck-am installcheck install-exec-am install-exec \
+ install-data-local install-data-am install-data install-am install \
+@@ -766,6 +757,19 @@
+ 	  echo "$$dashes"; \
+ 	  test "$$failed" -eq 0; \
+ 	fi
++
++install-build-headers:: $(ssinclude_HEADERS)
++	@foo='$(ssinclude_HEADERS)'; \
++	for f in $$foo; do \
++		f=`basename $$f`; \
++		if test -f "$(srcdir)/$$f"; then file="$(srcdir)/$$f"; \
++		else file="$$f"; fi; \
++		if cmp -s  $$file $(buildssinclude)/$$f 2> /dev/null ; then \
++		: ; else \
++			echo "cp $$file $(buildssinclude)/$$f";\
++			cp $$file $(buildssinclude)/$$f; \
++		fi ; \
++	done
+ 
+ $(mk_cmds_OBJECTS): parse.h
+ 
+diff -ruN heimdal-0.3c-old/lib/vers/Makefile.in heimdal-0.3c/lib/vers/Makefile.in
+--- heimdal-0.3c-old/lib/vers/Makefile.in	Wed Sep 20 20:55:43 2000
++++ heimdal-0.3c/lib/vers/Makefile.in	Tue Nov 28 09:56:28 2000
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,12 +69,14 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ EXEEXT = @EXEEXT@
+@@ -89,6 +92,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -99,7 +103,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -129,7 +132,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -169,6 +172,13 @@
+ LIB_openldap = @LIB_openldap@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
+ 
+ LEXLIB = @LEXLIB@
+ 
--- heimdal-0.6.3.orig/debian/patches-0.3d/011_sharedlibs
+++ heimdal-0.6.3/debian/patches-0.3d/011_sharedlibs
@@ -0,0 +1,410 @@
+diff -ruN heimdal-0.3d-old/admin/Makefile.am heimdal-0.3d/admin/Makefile.am
+--- heimdal-0.3d-old/admin/Makefile.am	Thu Nov 16 09:51:06 2000
++++ heimdal-0.3d/admin/Makefile.am	Tue Dec 12 15:58:34 2000
+@@ -2,7 +2,7 @@
+ 
+ include $(top_srcdir)/Makefile.am.common
+ 
+-INCLUDES += $(INCLUDE_readline)
++INCLUDES += $(INCLUDE_readline) $(INCLUDE_ss)
+ 
+ man_MANS = ktutil.8
+ 
+@@ -24,6 +24,6 @@
+ 	$(top_builddir)/lib/krb5/libkrb5.la \
+ 	$(LIB_des) \
+ 	$(top_builddir)/lib/asn1/libasn1.la \
+-	$(top_builddir)/lib/sl/libsl.la \
++	$(LIB_ss) \
+ 	$(LIB_readline) \
+ 	$(LIB_roken)
+diff -ruN heimdal-0.3d-old/admin/ktutil_locl.h heimdal-0.3d/admin/ktutil_locl.h
+--- heimdal-0.3d-old/admin/ktutil_locl.h	Wed Jul 19 23:58:19 2000
++++ heimdal-0.3d/admin/ktutil_locl.h	Tue Dec 12 15:58:34 2000
+@@ -60,7 +60,7 @@
+ #include <kadm5/admin.h>
+ #include <kadm5/kadm5_err.h>
+ 
+-#include <sl.h>
++#include <ss.h>
+ #include <getarg.h>
+ 
+ extern krb5_context context;
+diff -ruN heimdal-0.3d-old/cf/Makefile.am.common heimdal-0.3d/cf/Makefile.am.common
+--- heimdal-0.3d-old/cf/Makefile.am.common	Tue Dec  5 20:11:09 2000
++++ heimdal-0.3d/cf/Makefile.am.common	Tue Dec 12 15:58:34 2000
+@@ -10,7 +10,7 @@
+ 
+ CP	= cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ ## set build_HEADERZ to headers that should just be installed in build tree
+ 
+@@ -56,6 +56,13 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
++
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
+ 
+ LEXLIB = @LEXLIB@
+ 
+diff -ruN heimdal-0.3d-old/cf/krb-com_err.m4 heimdal-0.3d/cf/krb-com_err.m4
+--- heimdal-0.3d-old/cf/krb-com_err.m4	Thu Jan  1 10:00:00 1970
++++ heimdal-0.3d/cf/krb-com_err.m4	Tue Dec 12 15:58:34 2000
+@@ -0,0 +1,35 @@
++dnl
++dnl Tests for readline functions
++dnl
++
++dnl el_init
++
++AC_DEFUN(KRB_COM_ERR,[
++dnl com_err
++
++ac_foo=no
++if test "$with_com_err" = yes; then
++	COMPILE_ET='compile_et'
++#elif test "$ac_cv_func_com_err" = yes; then
++#	COMPILE_ET='compile_et'
++else
++	COMPILE_ET='$(top_builddir)/lib/com_err/compile_et'
++	DIR_com_err="com_err"
++	LIB_com_err='$(top_builddir)/lib/com_err/libcom_err.la'
++fi
++
++if true; then
++#	!FIXME! why doesn't built in version of com_err work?
++	COMPILE_ET='$(top_builddir)/lib/com_err/compile_et'
++	DIR_com_err="com_err"
++	LIB_com_err='$(top_builddir)/lib/com_err/libcom_err.la'
++fi
++
++#if test "$com_err_libdir"; then
++#	LIB_com_err="-rpath $com_err_libdir $LIB_com_err"
++#fi
++AC_DEFINE(HAVE_COM_ERR, 1, 
++	[Define if you have a com_err compatible library.])dnl
++
++])
++AC_SUBST(COMPILE_ET)
+diff -ruN heimdal-0.3d-old/cf/krb-readline.m4 heimdal-0.3d/cf/krb-readline.m4
+--- heimdal-0.3d-old/cf/krb-readline.m4	Wed Nov 15 11:47:08 2000
++++ heimdal-0.3d/cf/krb-readline.m4	Tue Dec 12 16:04:28 2000
+@@ -28,16 +28,18 @@
+ 	:
+ elif test "$ac_cv_func_el_init" = yes; then
+ 	ac_foo=yes
++	DIR_readline="editline"
+ 	LIB_readline="\$(top_builddir)/lib/editline/libel_compat.la $LIB_el_init"
+ else
++	DIR_readline="editline"
+ 	LIB_readline='$(top_builddir)/lib/editline/libeditline.la'
+ fi
+ AM_CONDITIONAL(el_compat, test "$ac_foo" = yes)
+-if test "$readline_libdir"; then
+-	LIB_readline="-rpath $readline_libdir $LIB_readline"
+-fi
++#if test "$readline_libdir"; then
++#	LIB_readline="-rpath $readline_libdir $LIB_readline"
++#fi
+ LIB_readline="$LIB_readline \$(LIB_tgetent)"
+ AC_DEFINE(HAVE_READLINE, 1, 
+ 	[Define if you have a readline compatible library.])dnl
+ 
+-])
+\ No newline at end of file
++])
+diff -ruN heimdal-0.3d-old/cf/krb-ss.m4 heimdal-0.3d/cf/krb-ss.m4
+--- heimdal-0.3d-old/cf/krb-ss.m4	Thu Jan  1 10:00:00 1970
++++ heimdal-0.3d/cf/krb-ss.m4	Tue Dec 12 15:58:34 2000
+@@ -0,0 +1,36 @@
++dnl
++dnl Tests for readline functions
++dnl
++
++dnl el_init
++
++AC_DEFUN(KRB_SS,[
++dnl com_err
++
++ac_foo=no
++if test "$with_ss" = yes; then
++	LIB_sl="$LIB_ss"
++else
++	DIR_ss="sl"
++	LIB_sl='$(top_builddir)/lib/sl/libsl.la'
++	LIB_ss='$(top_builddir)/lib/sl/libss.la'
++	INCLUDE_ss='-I$(top_builddir)/include/sl'
++fi
++
++
++#if test "$ss_libdir"; then
++#	LIB_ss="-rpath $sl_libdir $LIB_ss"
++#fi
++
++if true; then
++#	!FIXME! why doesn't built in version of ss work?
++	LIB_sl='$(top_builddir)/lib/sl/libsl.la'
++	LIB_ss='$(top_builddir)/lib/sl/libss.la'
++	INCLUDE_ss='-I$(top_builddir)/include/ss'
++fi
++
++AC_DEFINE(HAVE_SS, 1, 
++	[Define if you have a ss compatible library.])dnl
++
++])
++AC_SUBST(LIB_sl)
+diff -ruN heimdal-0.3d-old/cf/test-package.m4 heimdal-0.3d/cf/test-package.m4
+--- heimdal-0.3d-old/cf/test-package.m4	Sun Jul 16 04:08:58 2000
++++ heimdal-0.3d/cf/test-package.m4	Tue Dec 12 15:58:34 2000
+@@ -2,7 +2,7 @@
+ dnl
+ dnl AC_TEST_PACKAGE_NEW(package,headers,libraries,extra libs,default locations, conditional)
+ 
+-AC_DEFUN(AC_TEST_PACKAGE,[AC_TEST_PACKAGE_NEW($1,[#include <$2>],$4,,$5)])
++AC_DEFUN(AC_TEST_PACKAGE,[MY_TEST_PACKAGE_NEW($1,[#include <$2>],$4,,$5)])
+ 
+ AC_DEFUN(AC_TEST_PACKAGE_NEW,[
+ AC_ARG_WITH($1,
+@@ -39,7 +39,7 @@
+ header_dirs=
+ lib_dirs=
+ d='$5'
+-for i in $d; do
++for i in $d /usr; do
+ 	header_dirs="$header_dirs $i/include"
+ 	lib_dirs="$lib_dirs $i/lib$abilibdirext"
+ done
+@@ -72,6 +72,7 @@
+ if test "$ires" -a "$lres" -a "$with_$1" != "no"; then
+ 	$1_includedir="$ires"
+ 	$1_libdir="$lres"
++	DIR_$1=
+ 	INCLUDE_$1="-I$$1_includedir"
+ 	LIB_$1="-L$$1_libdir $3"
+ 	ifval([$6],
+@@ -80,6 +81,7 @@
+ 	with_$1=yes
+ 	AC_MSG_RESULT([headers $ires, libraries $lres])
+ else
++	DIR_$1="$1"
+ 	INCLUDE_$1=
+ 	LIB_$1=
+ 	with_$1=no
+@@ -88,6 +90,7 @@
+ dnl ifval([$6],
+ dnl 	AM_CONDITIONAL($6, test "$with_$1" = yes)
+ dnl 	AM_CONDITIONAL(upcase($1), test "$with_$1" = yes))
++AC_SUBST(DIR_$1)
+ AC_SUBST(INCLUDE_$1)
+ AC_SUBST(LIB_$1)
+ ])
+diff -ruN heimdal-0.3d-old/configure.in heimdal-0.3d/configure.in
+--- heimdal-0.3d-old/configure.in	Mon Dec 11 14:19:36 2000
++++ heimdal-0.3d/configure.in	Tue Dec 12 15:58:34 2000
+@@ -228,6 +228,12 @@
+ [#include <stdio.h>
+  #include <readline.h>],-lreadline,,, READLINE)
+ 
++AC_TEST_PACKAGE_NEW(com_err,
++[#include <et/com_err.h>],-lcom_err,,, COM_ERR)
++
++AC_TEST_PACKAGE_NEW(ss,
++[#include <ss.h>],-lss,,, SS)
++
+ AC_TEST_PACKAGE_NEW(hesiod,[#include <hesiod.h>],-lhesiod,,, HESIOD)
+ 
+ KRB_C_BIGENDIAN
+@@ -570,6 +576,8 @@
+ AC_SUBST(LIB_des)
+ 
+ KRB_READLINE
++KRB_COM_ERR
++KRB_SS
+ 
+ dnl telnet muck --------------------------------------------------
+ 
+diff -ruN heimdal-0.3d-old/include/ss/Makefile.am heimdal-0.3d/include/ss/Makefile.am
+--- heimdal-0.3d-old/include/ss/Makefile.am	Thu Jan  1 10:00:00 1970
++++ heimdal-0.3d/include/ss/Makefile.am	Tue Dec 12 15:58:34 2000
+@@ -0,0 +1,5 @@
++# $Id: Makefile.am,v 1.6 1999/03/20 13:58:17 joda Exp $
++
++include $(top_srcdir)/Makefile.am.common
++
++CLEANFILES = ss.h sl.h
+diff -ruN heimdal-0.3d-old/kadmin/Makefile.am heimdal-0.3d/kadmin/Makefile.am
+--- heimdal-0.3d-old/kadmin/Makefile.am	Thu Nov 16 09:51:12 2000
++++ heimdal-0.3d/kadmin/Makefile.am	Tue Dec 12 15:58:34 2000
+@@ -2,7 +2,7 @@
+ 
+ include $(top_srcdir)/Makefile.am.common
+ 
+-INCLUDES += $(INCLUDE_readline) $(INCLUDE_krb4) -I$(srcdir)/../lib/krb5
++INCLUDES += $(INCLUDE_readline) $(INCLUDE_krb4) $(INCLUDE_ss) -I$(srcdir)/../lib/krb5
+ 
+ sbin_PROGRAMS = kadmin
+ 
+@@ -62,7 +62,7 @@
+ kadmin_LDADD = \
+ 	$(top_builddir)/lib/kadm5/libkadm5clnt.la \
+ 	$(top_builddir)/lib/kadm5/libkadm5srv.la \
+-	$(top_builddir)/lib/sl/libsl.la \
++	$(LIB_ss) \
+ 	$(LIB_readline) \
+ 	$(COMMON_LDADD) \
+ 	$(LIB_dlopen)
+diff -ruN heimdal-0.3d-old/kadmin/kadmin.c heimdal-0.3d/kadmin/kadmin.c
+--- heimdal-0.3d-old/kadmin/kadmin.c	Mon Sep 11 06:20:49 2000
++++ heimdal-0.3d/kadmin/kadmin.c	Tue Dec 12 15:58:34 2000
+@@ -32,7 +32,7 @@
+  */
+ 
+ #include "kadmin_locl.h"
+-#include <sl.h>
++#include <ss.h>
+ 
+ RCSID("$Id: kadmin.c,v 1.32 2000/09/10 19:20:49 joda Exp $");
+ 
+diff -ruN heimdal-0.3d-old/lib/Makefile.am heimdal-0.3d/lib/Makefile.am
+--- heimdal-0.3d-old/lib/Makefile.am	Thu Nov 16 10:11:05 2000
++++ heimdal-0.3d/lib/Makefile.am	Tue Dec 12 16:08:42 2000
+@@ -12,5 +12,5 @@
+ dir_dce = kdfs
+ endif
+ 
+-SUBDIRS = @DIR_roken@ vers editline com_err sl asn1 @DIR_des@ krb5 \
++SUBDIRS = @DIR_roken@ vers @DIR_readline@ @DIR_com_err@ @DIR_ss@ asn1 @DIR_des@ krb5 \
+ 	kafs hdb kadm5 gssapi auth $(dir_45) $(dir_otp) $(dir_dce)
+diff -ruN heimdal-0.3d-old/lib/asn1/Makefile.am heimdal-0.3d/lib/asn1/Makefile.am
+--- heimdal-0.3d-old/lib/asn1/Makefile.am	Tue Jul 25 20:35:19 2000
++++ heimdal-0.3d/lib/asn1/Makefile.am	Tue Dec 12 15:58:34 2000
+@@ -2,6 +2,8 @@
+ 
+ include $(top_srcdir)/Makefile.am.common
+ 
++INCLUDES += $(INCLUDE_com_err)
++
+ YFLAGS = -d
+ 
+ lib_LTLIBRARIES = libasn1.la
+@@ -82,11 +84,11 @@
+ 	$(BUILT_SOURCES)
+ 
+ asn1_compile_LDADD = \
+-	$(LIB_roken) $(LEXLIB)
++        $(LIB_roken) $(LEXLIB)
+ 
+ check_der_LDADD = \
+ 	libasn1.la \
+-	../com_err/libcom_err.la \
++	$(LIB_com_err) \
+ 	$(LIB_roken)
+ 
+ asn1_print_LDADD = $(check_der_LDADD)
+diff -ruN heimdal-0.3d-old/lib/asn1/libasn1.h heimdal-0.3d/lib/asn1/libasn1.h
+--- heimdal-0.3d-old/lib/asn1/libasn1.h	Fri Dec  3 04:05:02 1999
++++ heimdal-0.3d/lib/asn1/libasn1.h	Tue Dec 12 15:58:34 2000
+@@ -47,4 +47,17 @@
+ #include "asn1_err.h"
+ #include <parse_units.h>
+ 
++#ifdef HACKED_AND_STUPID
++#define ASN1_BAD_TIMEFORMAT BAD_TIMEFORMAT
++#define ASN1_MISSING_FIELD MISSING_FIELD
++#define ASN1_MISPLACED_FIELD MISPLACED_FIELD
++#define ASN1_TYPE_MISMATCH TYPE_MISMATCH
++#define ASN1_OVERFLOW OVERFLOW
++#define ASN1_OVERRUN OVERRUN
++#define ASN1_BAD_ID BAD_ID
++#define ASN1_BAD_LENGTH BAD_LENGTH
++#define ASN1_BAD_FORMAT BAD_FORMAT
++#define ASN1_PARSE_ERROR PARSE_ERROR
++#endif
++
+ #endif /* __LIBASN1_H__ */
+diff -ruN heimdal-0.3d-old/lib/auth/sia/Makefile.am heimdal-0.3d/lib/auth/sia/Makefile.am
+--- heimdal-0.3d-old/lib/auth/sia/Makefile.am	Mon Nov  6 04:16:36 2000
++++ heimdal-0.3d/lib/auth/sia/Makefile.am	Tue Dec 12 15:58:34 2000
+@@ -24,7 +24,7 @@
+ 	$(top_builddir)/lib/asn1/.libs/libasn1.a	\
+ 	$(LIB_krb4)					\
+ 	$(top_builddir)/lib/des/.libs/libdes.a		\
+-	$(top_builddir)/lib/com_err/.libs/libcom_err.a	\
++	@LIB_sl@
+ 	$(top_builddir)/lib/roken/.libs/libroken.a	\
+ 	$(LIB_getpwnam_r)				\
+ 	-lc
+@@ -35,7 +35,7 @@
+ 	$(top_builddir)/lib/asn1/.libs/libasn1.so	\
+ 	$(LIB_krb4)					\
+ 	$(top_builddir)/lib/des/.libs/libdes.so		\
+-	$(top_builddir)/lib/com_err/.libs/libcom_err.so	\
++	@LIB_sl@
+ 	$(top_builddir)/lib/roken/.libs/libroken.so	\
+ 	$(LIB_getpwnam_r)				\
+ 	-lc
+diff -ruN heimdal-0.3d-old/lib/krb5/Makefile.am heimdal-0.3d/lib/krb5/Makefile.am
+--- heimdal-0.3d-old/lib/krb5/Makefile.am	Mon Dec 11 11:40:35 2000
++++ heimdal-0.3d/lib/krb5/Makefile.am	Tue Dec 12 16:11:55 2000
+@@ -2,7 +2,7 @@
+ 
+ include $(top_srcdir)/Makefile.am.common
+ 
+-INCLUDES += $(INCLUDE_krb4)
++INCLUDES += $(INCLUDE_com_err) $(INCLUDE_krb4)
+ 
+ bin_PROGRAMS = verify_krb5_conf
+ 
+@@ -23,7 +23,7 @@
+ 	$(LIB_roken)
+ 
+ libkrb5_la_LIBADD = \
+-	../com_err/error.lo ../com_err/com_err.lo \
++	$(LIB_com_err) \
+ 	$(KRB4LIB) \
+ 	$(LIB_des) \
+ 	$(top_builddir)/lib/asn1/libasn1.la \
+diff -ruN heimdal-0.3d-old/lib/sl/Makefile.am heimdal-0.3d/lib/sl/Makefile.am
+--- heimdal-0.3d-old/lib/sl/Makefile.am	Mon Dec 11 11:45:34 2000
++++ heimdal-0.3d/lib/sl/Makefile.am	Tue Dec 12 15:58:34 2000
+@@ -4,8 +4,6 @@
+ 
+ YFLAGS = -d
+ 
+-include_HEADERS = sl.h
+-
+ lib_LTLIBRARIES = libsl.la libss.la
+ libsl_la_LDFLAGS = -version-info 1:0:1
+ libss_la_LDFLAGS = -version-info 1:2:1
+@@ -31,7 +29,21 @@
+ EXTRA_mk_cmds_SOURCES = snprintf.c roken_rename.h
+ 
+ ssincludedir = $(includedir)/ss
+-ssinclude_HEADERS = ss.h
++buildssinclude = $(buildinclude)/ss
++ssinclude_HEADERS = sl.h ss.h
++
++install-build-headers:: $(ssinclude_HEADERS)
++	@foo='$(ssinclude_HEADERS)'; \
++	for f in $$foo; do \
++		f=`basename $$f`; \
++		if test -f "$(srcdir)/$$f"; then file="$(srcdir)/$$f"; \
++		else file="$$f"; fi; \
++		if cmp -s  $$file $(buildssinclude)/$$f 2> /dev/null ; then \
++		: ; else \
++			echo "cp $$file $(buildssinclude)/$$f";\
++			cp $$file $(buildssinclude)/$$f; \
++		fi ; \
++	done
+ 
+ CLEANFILES = lex.c parse.c parse.h snprintf.c strtok_r.c
+ 
--- heimdal-0.6.3.orig/debian/patches-0.3d/001_replay
+++ heimdal-0.6.3/debian/patches-0.3d/001_replay
@@ -0,0 +1,13 @@
+diff -u -r1.2 replay.c
+--- heimdal-0.3d/lib/krb5/replay.c	2000/12/12 15:50:14	1.2
++++ heimdal-0.3d/lib/krb5/replay.c	2000/12/13 21:25:47
+@@ -156,7 +156,7 @@
+ 		  strlen(auth->cname.name_string.val[i]));
+     MD5Update (&md5, &auth->ctime, sizeof(auth->ctime));
+     MD5Update (&md5, &auth->cusec, sizeof(auth->cusec));
+-    MD5Final (&md5, data);
++    MD5Final (data, &md5);
+ }
+ 
+ krb5_error_code
+
--- heimdal-0.6.3.orig/debian/patches-0.3d/002_libvers
+++ heimdal-0.6.3/debian/patches-0.3d/002_libvers
@@ -0,0 +1,11 @@
+diff -ruN heimdal-0.3d-old/lib/vers/Makefile.am heimdal-0.3d/lib/vers/Makefile.am
+--- heimdal-0.3d-old/lib/vers/Makefile.am	Thu Nov 16 08:15:35 2000
++++ heimdal-0.3d/lib/vers/Makefile.am	Wed Dec 20 14:08:09 2000
+@@ -5,7 +5,6 @@
+ CLEANFILES		= print_version.h
+ 
+ noinst_LTLIBRARIES	= libvers.la
+-libvers_la_LDFLAGS	= -static
+ 
+ build_HEADERZ		= vers.h
+ 
--- heimdal-0.6.3.orig/debian/patches-0.3d/010_openssl
+++ heimdal-0.6.3/debian/patches-0.3d/010_openssl
@@ -0,0 +1,540 @@
+This patch is meant to be used with Heimdal. It can be used and distributed
+under the same conditions as Heimdal itself.
+
+diff -u -r heimdal-0.3d.orig/admin/ktutil_locl.h heimdal/admin/ktutil_locl.h
+--- heimdal-0.3d.orig/admin/ktutil_locl.h	Wed Jul 19 15:58:19 2000
++++ heimdal/admin/ktutil_locl.h	Sat Jan  6 12:03:20 2001
+@@ -54,7 +54,11 @@
+ #include <parse_time.h>
+ #include <roken.h>
+ 
++#ifdef HAVE_OPENSSL_CRYPTO_H
++#include <openssl/des.h>
++#else
+ #include <des.h>
++#endif
+ 
+ #include <krb5.h>
+ #include <kadm5/admin.h>
+diff -u -r heimdal-0.3d.orig/appl/ftp/ftp/ftp_locl.h heimdal/appl/ftp/ftp/ftp_locl.h
+--- heimdal-0.3d.orig/appl/ftp/ftp/ftp_locl.h	Thu Dec  2 17:58:29 1999
++++ heimdal/appl/ftp/ftp/ftp_locl.h	Sat Jan  6 12:03:20 2001
+@@ -129,7 +129,12 @@
+ 
+ #include "roken.h"
+ #include "security.h"
+-#include <des.h> /* for des_read_pw_string */
++
++#ifdef HAVE_OPENSSL_CRYPTO_H
++#include <openssl/des.h>
++#else
++#include <des.h>
++#endif
+ 
+ #if defined(__sun__) && !defined(__svr4)
+ int fclose(FILE*);
+diff -u -r heimdal-0.3d.orig/appl/kx/common.c heimdal/appl/kx/common.c
+--- heimdal-0.3d.orig/appl/kx/common.c	Wed Aug  9 22:53:02 2000
++++ heimdal/appl/kx/common.c	Sat Jan  6 12:03:20 2001
+@@ -405,7 +405,7 @@
+      auth.name_length = strlen(auth.name);
+      auth.data_length = cookie_sz;
+      auth.data = (char*)cookie;
+-     des_rand_data (cookie, cookie_sz);
++     krb5_generate_random_block (cookie, cookie_sz);
+ 
+      strlcpy(xauthfile, "/tmp/AXXXXXX", xauthfile_size);
+      fd = mkstemp(xauthfile);
+diff -u -r heimdal-0.3d.orig/appl/otp/otp_locl.h heimdal/appl/otp/otp_locl.h
+--- heimdal-0.3d.orig/appl/otp/otp_locl.h	Thu Dec  2 17:58:32 1999
++++ heimdal/appl/otp/otp_locl.h	Sat Jan  6 12:03:20 2001
+@@ -52,5 +52,9 @@
+ #endif
+ #include <roken.h>
+ #include <err.h>
+-#include <des.h>
+ #include <otp.h>
++#ifdef HAVE_OPENSSL_CRYPTO_H
++#include <openssl/des.h>
++#else
++#include <des.h>
++#endif
+diff -u -r heimdal-0.3d.orig/appl/su/su.c heimdal/appl/su/su.c
+--- heimdal-0.3d.orig/appl/su/su.c	Mon Oct  2 07:06:01 2000
++++ heimdal/appl/su/su.c	Sat Jan  6 12:03:20 2001
+@@ -50,7 +50,11 @@
+ 
+ #include <pwd.h>
+ 
++#ifdef HAVE_OPENSSL_CRYPTO_H
++#include <openssl/des.h>
++#else
+ #include <des.h>
++#endif
+ #include <krb5.h>
+ #include <kafs.h>
+ #include <err.h>
+diff -u -r heimdal-0.3d.orig/appl/telnet/libtelnet/enc_des.c heimdal/appl/telnet/libtelnet/enc_des.c
+--- heimdal-0.3d.orig/appl/telnet/libtelnet/enc_des.c	Fri Jul 10 01:16:23 1998
++++ heimdal/appl/telnet/libtelnet/enc_des.c	Sat Jan  6 12:03:20 2001
+@@ -50,8 +50,6 @@
+ #include "encrypt.h"
+ #include "misc-proto.h"
+ 
+-#include <des.h>
+-
+ extern int encrypt_debug_mode;
+ 
+ #define	CFB	0
+@@ -208,19 +206,7 @@
+ 		/*
+ 		 * Create a random feed and send it over.
+ 		 */
+-#ifndef OLD_DES_RANDOM_KEY
+ 		des_new_random_key(&fbp->temp_feed);
+-#else
+-		/*
+-		 * From des_cryp.man "If the des_check_key flag is non-zero,
+-		 *  des_set_key will check that the key passed is
+-		 *  of odd parity and is not a week or semi-weak key."
+-		 */
+-		do {
+-			des_random_key(fbp->temp_feed);
+-			des_set_odd_parity(fbp->temp_feed);
+-		} while (des_is_weak_key(fbp->temp_feed));
+-#endif
+ 		des_ecb_encrypt(&fbp->temp_feed,
+ 				&fbp->temp_feed,
+ 				fbp->krbdes_sched, 1);
+@@ -404,7 +390,7 @@
+ 	fb64_stream_key(fbp->krbdes_key, &fbp->streams[DIR_DECRYPT-1]);
+ 
+ 	if (fbp->once == 0) {
+-#ifndef OLD_DES_RANDOM_KEY
++#ifndef HAVE_OPENSSL_CRYPTO_H
+ 		des_init_random_number_generator(&fbp->krbdes_key);
+ #endif
+ 		fbp->once = 1;
+diff -u -r heimdal-0.3d.orig/appl/telnet/libtelnet/encrypt.h heimdal/appl/telnet/libtelnet/encrypt.h
+--- heimdal-0.3d.orig/appl/telnet/libtelnet/encrypt.h	Sat Jan 25 00:10:56 1997
++++ heimdal/appl/telnet/libtelnet/encrypt.h	Sat Jan  6 12:03:20 2001
+@@ -90,6 +90,13 @@
+ 
+ #define	SK_DES		1	/* Matched Kerberos v5 KEYTYPE_DES */
+ 
++#ifdef HAVE_OPENSSL_CRYPTO_H
++#include <openssl/des.h>
++#define des_new_random_key des_random_key
++#else
++#include <des.h>
++#endif
++
+ #include "enc-proto.h"
+ 
+ extern int encrypt_debug_mode;
+diff -u -r heimdal-0.3d.orig/appl/telnet/libtelnet/kerberos.c heimdal/appl/telnet/libtelnet/kerberos.c
+--- heimdal-0.3d.orig/appl/telnet/libtelnet/kerberos.c	Thu Nov 23 03:28:06 2000
++++ heimdal/appl/telnet/libtelnet/kerberos.c	Sat Jan  6 12:03:20 2001
+@@ -65,7 +65,6 @@
+ #include <arpa/telnet.h>
+ #endif
+ #include <stdio.h>
+-#include <des.h>	/* BSD wont include this in krb.h, so we do it here */
+ #include <krb.h>
+ #include <pwd.h>
+ #include <stdlib.h>
+diff -u -r heimdal-0.3d.orig/appl/telnet/libtelnet/krb4encpwd.c heimdal/appl/telnet/libtelnet/krb4encpwd.c
+--- heimdal-0.3d.orig/appl/telnet/libtelnet/krb4encpwd.c	Thu Sep 16 22:41:34 1999
++++ heimdal/appl/telnet/libtelnet/krb4encpwd.c	Sat Jan  6 12:03:20 2001
+@@ -74,7 +74,6 @@
+ #include <pwd.h>
+ #include <stdio.h>
+ 
+-#include <des.h>
+ #include <krb.h>
+ #include <stdlib.h>
+ #include <string.h>
+diff -u -r heimdal-0.3d.orig/configure.in heimdal/configure.in
+--- heimdal-0.3d.orig/configure.in	Mon Dec 11 04:19:36 2000
++++ heimdal/configure.in	Sat Jan  6 12:03:20 2001
+@@ -292,6 +292,7 @@
+ 	netinet/in_systm.h			\
+ 	netinet6/in6.h				\
+ 	netinfo/ni.h				\
++	openssl/crypto.h			\
+ 	paths.h					\
+ 	pthread.h				\
+ 	pty.h					\
+@@ -547,21 +548,35 @@
+ dnl crypto functions tests
+ dnl
+ 
+-AC_FIND_FUNC_NO_LIBS2(MD4Init, crypto des, [], [], [], [$LIB_krb4])
+-AC_FIND_FUNC_NO_LIBS2(MD4_Init, crypto des, [], [], [], [$LIB_krb4])
+-AC_FIND_FUNC_NO_LIBS2(MD5Init, crypto des, [], [], [], [$LIB_krb4])
+-AC_FIND_FUNC_NO_LIBS2(MD5_Init, crypto des, [], [], [], [$LIB_krb4])
+-AC_FIND_FUNC_NO_LIBS2(SHA1Init, crypto des, [], [], [], [$LIB_krb4])
+-AC_FIND_FUNC_NO_LIBS2(SHA1_Init, crypto des, [], [], [], [$LIB_krb4])
+-AC_FIND_FUNC_NO_LIBS2(des_cbc_encrypt, crypto des, [], [], [], [$LIB_krb4])
+-AC_FIND_FUNC_NO_LIBS2(RC4, crypto des, [], [], [], [$LIB_krb4])
++if test "$with_krb4" != "no"; then
++  DESLIBS="crypto des"
++else
++  DESLIBS="crypto"
++fi
++
++AC_FIND_FUNC_NO_LIBS2(MD4Init, $DESLIBS, [], [], [], [$LIB_krb4])
++AC_FIND_FUNC_NO_LIBS2(MD4_Init, $DESLIBS, [], [], [], [$LIB_krb4])
++AC_FIND_FUNC_NO_LIBS2(MD5Init, $DESLIBS, [], [], [], [$LIB_krb4])
++AC_FIND_FUNC_NO_LIBS2(MD5_Init, $DESLIBS, [], [], [], [$LIB_krb4])
++AC_FIND_FUNC_NO_LIBS2(SHA1Init, $DESLIBS, [], [], [], [$LIB_krb4])
++AC_FIND_FUNC_NO_LIBS2(SHA1_Init, $DESLIBS, [], [], [], [$LIB_krb4])
++AC_FIND_FUNC_NO_LIBS2(des_cbc_encrypt, $DESLIBS, [], [], [], [$LIB_krb4])
++AC_FIND_FUNC_NO_LIBS2(RC4, $DESLIBS, [], [], [], [$LIB_krb4])
+ if test "$ac_cv_func_des_cbc_encrypt" = "yes" -a \
+ \( "$ac_cv_func_MD4Init"  = "yes" -o "$ac_cv_func_MD4_Init"  = "yes" \) -a \
+ \( "$ac_cv_func_MD5Init"  = "yes" -o "$ac_cv_func_MD5_Init"  = "yes" \) -a \
+ \( "$ac_cv_func_SHA1Init" = "yes" -o "$ac_cv_func_SHA1_Init" = "yes" \) -a \
+ "$ac_cv_func_RC4" = "yes"; then
+   DIR_des=''
+-  LIB_des="-rpath $krb4_libdir -L$krb4_libdir $ac_cv_funclib_MD4Init"
++  LIB_des=''
++  if test "$krb4_libdir" != ""; then
++    LIB_des="-rpath $krb4_libdir -L$krb4_libdir"
++  fi
++  if test "$ac_cv_func_MD4Init" = "yes"; then
++    LIB_des="$LIB_des $ac_cv_funclib_MD4Init"
++  else
++    LIB_des="$LIB_des $ac_cv_funclib_MD4_Init"
++  fi
+ else
+   DIR_des='des'
+   LIB_des='$(top_builddir)/lib/des/libdes.la'
+diff -u -r heimdal-0.3d.orig/kadmin/kadmin_locl.h heimdal/kadmin/kadmin_locl.h
+--- heimdal-0.3d.orig/kadmin/kadmin_locl.h	Tue Sep 19 14:46:18 2000
++++ heimdal/kadmin/kadmin_locl.h	Sat Jan  6 12:03:20 2001
+@@ -83,7 +83,11 @@
+ #endif
+ #include <err.h>
+ #include <roken.h>
++#ifdef HAVE_OPENSSL_CRYPTO_H
++#include <openssl/des.h>
++#else
+ #include <des.h>
++#endif
+ #include <krb5.h>
+ #include <krb5_locl.h>
+ #include <hdb.h>
+diff -u -r heimdal-0.3d.orig/kadmin/random_password.c heimdal/kadmin/random_password.c
+--- heimdal-0.3d.orig/kadmin/random_password.c	Thu Dec  2 18:04:58 1999
++++ heimdal/kadmin/random_password.c	Sat Jan  6 12:03:20 2001
+@@ -57,9 +57,9 @@
+ {
+ #ifdef OTP_STYLE
+     {
+-	des_cblock newkey;
++	OtpKey newkey;
+ 
+-	des_new_random_key(&newkey);
++	krb5_generate_random_block(&newkey, sizeof(newkey));
+ 	otp_print_stddict (newkey, pw, len);
+ 	strlwr(pw);
+     }
+@@ -80,11 +80,11 @@
+ #ifndef OTP_STYLE
+ /* return a random value in range 0-127 */
+ static int
+-RND(des_cblock *key, int *left)
++RND(unsigned char *key, int keylen, int *left)
+ {
+     if(*left == 0){
+-	des_new_random_key(key);
+-	*left = 8;
++	krb5_generate_random_block(key, keylen);
++	*left = keylen;
+     }
+     (*left)--;
+     return ((unsigned char*)key)[*left];
+@@ -120,7 +120,7 @@
+     } *classes;
+     va_list ap;
+     int len, i;
+-    des_cblock rbuf; /* random buffer */
++    unsigned char rbuf[8]; /* random buffer */
+     int rleft = 0;
+ 
+     classes = malloc(num_classes * sizeof(*classes));
+@@ -138,11 +138,12 @@
+ 	return;
+     for(i = 0; i < len; i++) {
+ 	int j;
+-	int x = RND(&rbuf, &rleft) % (len - i);
++	int x = RND(rbuf, sizeof(rbuf), &rleft) % (len - i);
+ 	int t = 0;
+ 	for(j = 0; j < num_classes; j++) {
+ 	    if(x < t + classes[j].freq) {
+-		(*pw)[i] = classes[j].str[RND(&rbuf, &rleft) % classes[j].len];
++		(*pw)[i] = classes[j].str[RND(rbuf, sizeof(rbuf), &rleft) %
++		    classes[j].len];
+ 		classes[j].freq--;
+ 		break;
+ 	    }
+diff -u -r heimdal-0.3d.orig/kdc/headers.h heimdal/kdc/headers.h
+--- heimdal-0.3d.orig/kdc/headers.h	Fri Aug  4 13:21:38 2000
++++ heimdal/kdc/headers.h	Sat Jan  6 12:03:20 2001
+@@ -82,7 +82,11 @@
+ #include <getarg.h>
+ #include <base64.h>
+ #include <parse_units.h>
++#ifdef HAVE_OPENSSL_CRYPTO_H
++#include <openssl/des.h>
++#else
+ #include <des.h>
++#endif
+ #include <krb5.h>
+ #include <krb5_locl.h>
+ #include <hdb.h>
+diff -u -r heimdal-0.3d.orig/kpasswd/kpasswd_locl.h heimdal/kpasswd/kpasswd_locl.h
+--- heimdal-0.3d.orig/kpasswd/kpasswd_locl.h	Fri Aug  4 13:22:51 2000
++++ heimdal/kpasswd/kpasswd_locl.h	Sat Jan  6 12:03:20 2001
+@@ -95,7 +95,11 @@
+ #include <err.h>
+ #include <roken.h>
+ #include <getarg.h>
++#ifdef HAVE_OPENSSL_CRYPTO_H
++#include <openssl/des.h>
++#else
+ #include <des.h>
++#endif
+ #include <krb5.h>
+ 
+ #endif /* __KPASSWD_LOCL_H__ */
+diff -u -r heimdal-0.3d.orig/lib/hdb/hdb_locl.h heimdal/lib/hdb/hdb_locl.h
+--- heimdal-0.3d.orig/lib/hdb/hdb_locl.h	Tue Nov 14 07:57:17 2000
++++ heimdal/lib/hdb/hdb_locl.h	Sat Jan  6 12:03:21 2001
+@@ -56,7 +56,11 @@
+ #endif
+ #include <roken.h>
+ 
++#ifdef HAVE_OPENSSL_CRYPTO_H
++#include <openssl/des.h>
++#else
+ #include <des.h>
++#endif
+ #include <krb5.h>
+ #include <hdb.h>
+ #include <hdb-private.h>
+diff -u -r heimdal-0.3d.orig/lib/hdb/mkey.c heimdal/lib/hdb/mkey.c
+--- heimdal-0.3d.orig/lib/hdb/mkey.c	Sat Jul  8 18:03:59 2000
++++ heimdal/lib/hdb/mkey.c	Sat Jan  6 12:03:21 2001
+@@ -387,9 +387,6 @@
+     if (ret)
+ 	return ret;
+     db->master_key = mkey;
+-#if 0 /* XXX - why? */
+-    des_set_random_generator_seed(key.keyvalue.data);
+-#endif
+     db->master_key_set = 1;
+     return 0;
+ }
+diff -u -r heimdal-0.3d.orig/lib/krb5/crypto.c heimdal/lib/krb5/crypto.c
+--- heimdal-0.3d.orig/lib/krb5/crypto.c	Fri Dec  8 06:01:31 2000
++++ heimdal/lib/krb5/crypto.c	Sun Jan  7 17:03:16 2001
+@@ -2529,6 +2529,71 @@
+  *                                                          *
+  ************************************************************/
+ 
++#ifdef HAVE_OPENSSL_CRYPTO_H
++/* From openssl/crypto/rand/rand_lcl.h */
++#define ENTROPY_NEEDED 20
++static int seed_something(void)
++{
++    int fd = -1;
++    size_t len;
++    char buf[1024], seedfile[256];
++
++    /* If there is a seed file, load it. But such a file cannot be trusted,
++       so use 0 for the entropy estimate */
++    if (RAND_file_name(seedfile, sizeof(seedfile))) {
++	fd = open(seedfile, O_RDONLY);
++	if (fd >= 0) {
++	    read(fd, buf, sizeof(buf));
++	    /* Use the full buffer anyway */
++	    RAND_add(buf, sizeof(buf), 0.0);
++	}
++	else
++	    seedfile[0] = '\0';
++    }
++    else
++	seedfile[0] = '\0';
++
++    /* Calling RAND_status() will try to use /dev/urandom if it exists so
++       we do not have to deal with it. */
++    if (RAND_status() != 1) {
++	krb5_context context;
++	char *p;
++
++	/* Try using egd */
++	if (!krb5_init_context(&context)) {
++	    p = krb5_config_get_string(context, NULL, "libdefaults",
++		"egd_socket", NULL);
++	    if (p != NULL)
++		RAND_egd_bytes(p, ENTROPY_NEEDED);
++	    krb5_free_context(context);
++	}
++    }
++    
++    if (RAND_status() == 1)	{
++	/* Update the seed file */
++	if (seedfile[0])
++	    RAND_write_file(seedfile);
++
++	return 0;
++    }
++    else
++	return -1;
++}
++
++void
++krb5_generate_random_block(void *buf, size_t len)
++{
++    static int rng_initialized = 0;
++    
++    if (!rng_initialized) {
++	if (seed_something())
++	    krb5_abortx(NULL, "Fatal: could not seed the random number generator");
++	
++	rng_initialized = 1;
++    }
++    RAND_bytes(buf, len);
++}
++#else
+ void
+ krb5_generate_random_block(void *buf, size_t len)
+ {
+@@ -2554,6 +2619,7 @@
+ 	buf = (char*)buf + sizeof(out);
+     }
+ }
++#endif
+ 
+ static void
+ DES3_postproc(krb5_context context,
+diff -u -r heimdal-0.3d.orig/lib/krb5/krb5_locl.h heimdal/lib/krb5/krb5_locl.h
+--- heimdal-0.3d.orig/lib/krb5/krb5_locl.h	Thu Dec  2 18:05:11 1999
++++ heimdal/lib/krb5/krb5_locl.h	Sat Jan  6 12:03:21 2001
+@@ -109,11 +109,40 @@
+ #include <parse_time.h>
+ #include <base64.h>
+ 
++#ifdef HAVE_OPENSSL_CRYPTO_H
++#include <openssl/des.h>
++#include <openssl/md4.h>
++#include <openssl/md5.h>
++#include <openssl/sha.h>
++#include <openssl/rc4.h>
++#include <openssl/blowfish.h>
++#include <openssl/rand.h>
++#define des_new_random_key des_random_key
++#else
+ #include <des.h>
+ #include <md4.h>
+ #include <md5.h>
+ #include <sha.h>
+ #include <rc4.h>
++#endif
++
++/* Compatibility stuff */
++#if defined(HAVE_MD4_INIT) && !defined(HAVE_MD4INIT)
++#define MD4Init		MD4_Init
++#define MD4Update	MD4_Update
++#define MD4Final	MD4_Final
++#endif
++#if defined(HAVE_MD5_INIT) && !defined(HAVE_MD5INIT)
++#define MD5Init		MD5_Init
++#define MD5Update	MD5_Update
++#define MD5Final	MD5_Final
++#endif
++#if defined(HAVE_SHA1_INIT) && !defined(HAVE_SHA1INIT)
++#define SHA1_CTX	SHA_CTX
++#define SHA1Init	SHA1_Init
++#define SHA1Update	SHA1_Update
++#define SHA1Final	SHA1_Final
++#endif
+ 
+ #include <asn1.h>
+ #include <der.h>
+diff -u -r heimdal-0.3d.orig/lib/otp/otp_md.c heimdal/lib/otp/otp_md.c
+--- heimdal-0.3d.orig/lib/otp/otp_md.c	Wed Jul 12 02:26:43 2000
++++ heimdal/lib/otp/otp_md.c	Sat Jan  6 12:03:21 2001
+@@ -38,9 +38,34 @@
+ #include "otp_locl.h"
+ 
+ #include "otp_md.h"
++
++#ifdef HAVE_OPENSSL_CRYPTO_H
++#include <openssl/md4.h>
++#include <openssl/md5.h>
++#include <openssl/sha.h>
++#else
+ #include <md4.h>
+ #include <md5.h>
+ #include <sha.h>
++#endif
++
++/* Compatibility stuff */
++#if defined(HAVE_MD4_INIT) && !defined(HAVE_MD4INIT)
++#define MD4Init		MD4_Init
++#define MD4Update	MD4_Update
++#define MD4Final	MD4_Final
++#endif
++#if defined(HAVE_MD5_INIT) && !defined(HAVE_MD5INIT)
++#define MD5Init		MD5_Init
++#define MD5Update	MD5_Update
++#define MD5Final	MD5_Final
++#endif
++#if defined(HAVE_SHA1_INIT) && !defined(HAVE_SHA1INIT)
++#define SHA1_CTX	SHA_CTX
++#define SHA1Init	SHA1_Init
++#define SHA1Update	SHA1_Update
++#define SHA1Final	SHA1_Final
++#endif
+ 
+ /*
+  * Compress len bytes from md into key
+@@ -212,7 +237,7 @@
+  */
+ 
+ static void
+-SHA1Final_little_endian (void *res, struct sha1 *m)
++SHA1Final_little_endian (void *res, SHA1_CTX *m)
+ {
+   unsigned char tmp[20];
+   unsigned char *p = res;
+@@ -231,7 +256,7 @@
+ otp_sha_init (OtpKey key, const char *pwd, const char *seed)
+ {
+   unsigned char res[20];
+-  struct sha1 sha1;
++  SHA1_CTX sha1;
+ 
+   return otp_md_init (key, pwd, seed, 
+ 		      (void (*)(void *))SHA1Init, 
+@@ -245,7 +270,7 @@
+ 	      size_t len,
+ 	      unsigned char *res)
+ {
+-  struct sha1 sha1;
++  SHA1_CTX sha1;
+ 
+   return otp_md_hash (data, len,
+ 		      (void (*)(void *))SHA1Init,
+@@ -258,7 +283,7 @@
+ otp_sha_next (OtpKey key)
+ {
+   unsigned char res[20];
+-  struct sha1 sha1;
++  SHA1_CTX sha1;
+ 
+   return otp_md_next (key, 
+ 		      (void (*)(void *))SHA1Init, 
--- heimdal-0.6.3.orig/debian/patches-0.3d/014_krb5-config
+++ heimdal-0.6.3/debian/patches-0.3d/014_krb5-config
@@ -0,0 +1,44 @@
+From: GOMBAS Gabor <gombasg@inf.elte.hu>
+Subject: Re: OpenSSL patch for Heimdal 0.3d
+To: Brian May <bam@snoopy.apana.org.au>
+Cc: heimdal-discuss@sics.se
+Date: Mon, 8 Jan 2001 15:07:31 +0100
+
+On Mon, Jan 08, 2001 at 12:44:06PM +1100, Brian May wrote:
+
+> 1. It still includes -ldes, not -lcrypto
+> 2. It fails to specify -lcom_err
+
+How about the following patch:
+
+diff -u -r heimdal-0.3d.orig/tools/Makefile.am heimdal/tools/Makefile.am
+--- heimdal-0.3d.orig/tools/Makefile.am	Fri Dec  1 06:05:27 2000
++++ heimdal/tools/Makefile.am	Mon Jan  8 14:55:48 2001
+@@ -19,6 +19,7 @@
+ 		-e "s,@includedir\@,$(includedir),g" \
+ 		-e "s,@LIB_crypt\@,$(LIB_crypt),g" \
+ 		-e "s,@LIB_dbopen\@,$(LIB_dbopen),g" \
++		-e "s,@LIB_des\@,$(LIB_des),g" \
+ 		-e "s,@LIBS\@,$(LIBS),g" \
+ 		$(srcdir)/krb5-config.in > $@
+ 	chmod +x $@
+diff -u -r heimdal-0.3d.orig/tools/krb5-config.in heimdal/tools/krb5-config.in
+--- heimdal-0.3d.orig/tools/krb5-config.in	Fri Dec  1 05:58:54 2000
++++ heimdal/tools/krb5-config.in	Mon Jan  8 14:56:09 2001
+@@ -99,7 +99,7 @@
+ 	echo -n " -lkadm5srv"
+ 	;;
+     esac
+-    echo " -lkrb5 -lasn1 -ldes -lroken @LIB_crypt@ @LIB_dbopen@ @LIBS@"
++    echo " -lkrb5 -lasn1 @LIB_des@ -lroken -lcom_err @LIB_crypt@ @LIB_dbopen@ @LIBS@"
+ fi
+ if test "$do_cflags" = "yes"; then
+     echo "-I${includedir}"
+
+Gabor
+
+-- 
+Gabor Gombas                                       Eotvos Lorand University
+E-mail: gombasg@inf.elte.hu                        Hungary
+
+
--- heimdal-0.6.3.orig/debian/patches-0.3d/012_maildir
+++ heimdal-0.6.3/debian/patches-0.3d/012_maildir
@@ -0,0 +1,40 @@
+Index: heimdal-0.3d/appl/popper/pop_pass.c
+===================================================================
+RCS file: /homes/bam/cvsroot/debian/heimdal/appl/popper/pop_pass.c,v
+retrieving revision 1.1.1.3
+retrieving revision 1.5
+diff -c -r1.1.1.3 -r1.5
+*** heimdal-0.3d/appl/popper/pop_pass.c 2000/05/19 05:23:42 1.1.1.3
+--- heimdal-0.3d/appl/popper/pop_pass.c	2000/05/19 05:33:06	1.5
+***************
+*** 197,203 ****
+  	    p->ipaddr, p->user);
+  
+      /*  Build the name of the user's maildrop */
+!     snprintf(p->drop_name, sizeof(p->drop_name), "%s/%s", POP_MAILDIR, p->user);
+  
+      if(stat(p->drop_name, &st) < 0 || !S_ISDIR(st.st_mode)){
+  	/*  Make a temporary copy of the user's maildrop */
+--- 197,218 ----
+  	    p->ipaddr, p->user);
+  
+      /*  Build the name of the user's maildrop */
+! 
+!     /* Try ~/Maildir */
+!     if (pw->pw_dir != NULL)
+! 	{
+!         snprintf(p->drop_name, sizeof(p->drop_name), "%s/%s", pw->pw_dir, "Maildir");
+! 	}
+!     if(pw->pw_dir != NULL && stat(p->drop_name, &st) < 0)
+! 	{
+!     	/* else try ~/Mailbox */
+! 	snprintf(p->drop_name, sizeof(p->drop_name), "%s/%s", pw->pw_dir, "Mailbox");
+! 	}
+!     if(pw->pw_dir == NULL || stat(p->drop_name, &st) < 0)
+! 	{
+!     	/* else try /var/spool/mail/userid */
+! 	snprintf(p->drop_name, sizeof(p->drop_name), "%s/%s", POP_MAILDIR, p->user);
+! 	}
+  
+      if(stat(p->drop_name, &st) < 0 || !S_ISDIR(st.st_mode)){
+  	/*  Make a temporary copy of the user's maildrop */
--- heimdal-0.6.3.orig/debian/patches-0.3d/013_cache
+++ heimdal-0.6.3/debian/patches-0.3d/013_cache
@@ -0,0 +1,63 @@
+--- heimdal-0.3c/lib/krb5/cache.c.orig-heimdal	Tue Nov 14 18:41:58 2000
++++ heimdal-0.3c/lib/krb5/cache.c	Tue Nov 14 19:02:07 2000
+@@ -89,11 +89,24 @@
+ {
+     krb5_error_code ret;
+     krb5_ccache p;
++    krb5_cc_ops *q;
+ 
+     p = malloc(sizeof(*p));
+     if(p == NULL)
+ 	return KRB5_CC_NOMEM;
+-    p->ops = ops;
++
++    q = malloc(sizeof(*q));
++    if(q == NULL)
++        return KRB5_CC_NOMEM;
++    memcpy(q, ops, sizeof(*q));
++    q->prefix = strdup(ops->prefix);
++    if(q->prefix == NULL)
++    {
++        free(q);
++        return KRB5_CC_NOMEM;
++    }
++    
++    p->ops = q;
+     *id = p;
+     ret = p->ops->resolve(context, id, residual);
+     if(ret)
+@@ -141,11 +154,24 @@
+ 		krb5_ccache *id)
+ {
+     krb5_ccache p;
++    krb5_cc_ops *q;
+ 
+     p = malloc (sizeof(*p));
+     if (p == NULL)
+ 	return KRB5_CC_NOMEM;
+-    p->ops = ops;
++
++    q = malloc(sizeof(*q));
++    if(q == NULL)
++        return KRB5_CC_NOMEM;
++    memcpy(q, ops, sizeof(*q));
++    q->prefix = strdup(ops->prefix);
++    if(q->prefix == NULL)
++    {
++        free(q);
++        return KRB5_CC_NOMEM;
++    }
++    
++    p->ops = q;
+     *id = p;
+     return p->ops->gen_new(context, id);
+ }
+@@ -248,6 +274,8 @@
+ {
+     krb5_error_code ret;
+     ret = id->ops->close(context, id);
++    free(id->ops->prefix);
++    free((krb5_cc_ops *)id->ops);
+     free(id);
+     return ret;
+ }
--- heimdal-0.6.3.orig/debian/patches-0.3d/016_openldap
+++ heimdal-0.6.3/debian/patches-0.3d/016_openldap
@@ -0,0 +1,77 @@
+From nobody Wed Jan 31 09:23:34 2001
+X-From-Line: maildir Wed Jan 31 01:48:43 2001
+Return-Path: <heimdal-discuss-owner@sics.se>
+Delivered-To: bam@snoopy.apana.org.au
+Received: from color.sics.se (color.sics.se [193.10.66.199])
+	by snoopy.apana.org.au (Postfix) with ESMTP id 25073349DF
+	for <bam@snoopy.apana.org.au>; Wed, 31 Jan 2001 01:48:08 +1100 (EST)
+Received: (from majordom@localhost)
+	by color.sics.se (8.9.3/8.9.3) id PAA04832
+        for heimdal-discuss-outgoing; Tue, 30 Jan 2001 15:13:19 +0100 (MET)
+	env-from (owner-heimdal-discuss@sics.se)
+Received: from gw.nectar.com (nectar@gw.nectar.com [208.42.49.153])
+	by color.sics.se (8.9.3/8.9.3) with ESMTP id PAA04818
+        for <heimdal-discuss@sics.se>; Tue, 30 Jan 2001 15:13:17 +0100 (MET)
+	env-from (nectar@nectar.com)
+Received: by gw.nectar.com (Postfix, from userid 1001)
+	id A4E4B18D06; Tue, 30 Jan 2001 08:13:05 -0600 (CST)
+Date: Tue, 30 Jan 2001 08:13:05 -0600
+From: "Jacques A. Vidrine" <n@nectar.com>
+To: Brian May <bam@snoopy.apana.org.au>
+Cc: heimdal-discuss@sics.se
+Subject: Re: openldap support
+X-Gnus-Mail-Source: maildir:~/Maildir/new
+Gnus-Warning: This is a duplicate of message <20010130081041.B43043@spawn.nectar.com>
+Message-ID: <20010130081041.B43043@spawn.nectar.com>
+Mail-Followup-To: "Jacques A. Vidrine" <n@nectar.com>,
+	Brian May <bam@snoopy.apana.org.au>, heimdal-discuss@sics.se
+References: <84elxlmw0e.fsf@snoopy.apana.org.au>
+Mime-Version: 1.0
+Content-Type: text/plain; charset=us-ascii
+Content-Disposition: inline
+User-Agent: Mutt/1.2.5i
+In-Reply-To: <84elxlmw0e.fsf@snoopy.apana.org.au>; from bam@snoopy.apana.org.au on Tue, Jan 30, 2001 at 04:47:29PM +1100
+X-Url: http://www.nectar.com/
+Sender: owner-heimdal-discuss@sics.se
+Precedence: bulk
+Lines: 38
+Xref: snoopy.apana.org.au heimdal.discuss:273
+
+On Tue, Jan 30, 2001 at 04:47:29PM +1100, Brian May wrote:
+> Hello,
+> 
+> I got a bug report recently for my Heimdal package because
+> it unexpectedly tried to link into the openldap libraries.
+> 
+> I was wondering what this LDAP support does, and if I should
+> enable or disable it in the Debian version.
+> 
+> Comments?
+
+It allows you to store the KDC database in LDAP rather than
+Berkeley db files. 
+
+In the FreeBSD ports system, we build it conditionally based on
+a WITH_LDAP make variable.  Also, there is a small patch to make
+it actually work, included below.
+
+
+--- heimdal-0.3d-old/lib/hdb/hdb-ldap.c.orig	Wed Nov  8 14:42:11 2000
++++ heimdal-0.3d/lib/hdb/hdb-ldap.c	Wed Nov  8 15:39:50 2000
+@@ -583,8 +583,8 @@
+     rc = 1;
+     (void) ldap_set_option((LDAP *) db->db, LDAP_OPT_SIZELIMIT, (void *) &rc);
+ 
+-    rc = ldap_search_s((LDAP *) db->db, db->name,
+-		       LDAP_SCOPE_ONELEVEL, filter, NULL, 0, msg);
++    rc = ldap_search_s((LDAP *) db->db, db->name, LDAP_SCOPE_ONELEVEL, filter,
++	krb5kdcentry_attrs, 0, msg);
+     if (rc != LDAP_SUCCESS) {
+ 	ret = HDB_ERR_NOENTRY;
+ 	goto out;
+
+-- 
+Jacques Vidrine / n@nectar.com / jvidrine@verio.net / nectar@FreeBSD.org
+
+
+
--- heimdal-0.6.3.orig/debian/patches-0.3d/015_ftp
+++ heimdal-0.6.3/debian/patches-0.3d/015_ftp
@@ -0,0 +1,25 @@
+diff -ruN heimdal-0.3d-old/appl/ftp/ftp/cmds.c heimdal-0.3d/appl/ftp/ftp/cmds.c
+--- heimdal-0.3d-old/appl/ftp/ftp/cmds.c	Tue Jul 18 20:00:31 2000
++++ heimdal-0.3d/appl/ftp/ftp/cmds.c	Wed Jan 10 13:29:04 2001
+@@ -81,7 +81,7 @@
+ setpeer(int argc, char **argv)
+ {
+ 	char *host;
+-	short port;
++	unsigned short port;
+ 	struct servent *sp;
+ 
+ 	if (connected) {
+@@ -103,12 +103,6 @@
+ 	port = sp->s_port;
+ 	if (argc > 2) {
+ 		port = atoi(argv[2]);
+-		if (port <= 0) {
+-			printf("%s: bad port number-- %s\n", argv[1], argv[2]);
+-			printf ("usage: %s host-name [port]\n", argv[0]);
+-			code = -1;
+-			return;
+-		}
+ 		port = htons(port);
+ 	}
+ 	host = hookup(argv[1], port);
--- heimdal-0.6.3.orig/debian/patches-0.3d/020_missingconf
+++ heimdal-0.6.3/debian/patches-0.3d/020_missingconf
@@ -0,0 +1,45 @@
+Index: heimdal-0.3d/kdc.conf
+===================================================================
+RCS file: kdc.conf
+diff -N kdc.conf
+*** /dev/null	Tue Nov 14 18:36:24 2000
+--- heimdal-0.3d/kdc.conf	Fri Nov 17 11:25:12 2000
+***************
+*** 0 ****
+--- 1,22 ----
++ [kdc]
++ #key-file = /var/lib/heimdal-kdc/key-file
++ logging = FILE:/var/log/heimdal-kdc.log
++ 
++ [kdcdefaults]
++ kdc_ports = 88,750
++ 
++ [realms]
++ REALM.ORG = {
++ # everything here needs checking. This might be MIT syntax, not Heimdal's
++ # syntax. At least, everything here should be defaults (or not even used).
++   database_name = /var/lib/heimdal-kdc/heimdal
++   admin_keytab = /var/lib/heimdal-kdc/kadmind.keytab
++   acl_file = /var/lib/heimdal-kdc/kadmind.acl
++   dict_file = /var/lib/heimdal-kdc/kadmind.dict
++   key_stash_file = /var/lib/heimdal-kdc/m-key
++   kadmind_port = 749
++   max_life = 10h 0m 0s
++   max_renewable_life = 7d 0h 0m 0s
++ #  master_key_type = des-cbc-crc
++ #  supported_enctypes = des-cbc-crc:normal des-cbc-crc:v4
++ }
+Index: heimdal-0.3d/logrotate
+===================================================================
+RCS file: logrotate
+diff -N logrotate
+*** /dev/null	Tue Nov 14 18:36:24 2000
+--- heimdal-0.3d/logrotate	Fri Nov 17 11:25:12 2000
+***************
+*** 0 ****
+--- 1,5 ----
++ /var/log/heimdal-kdc.log {
++ 	rotate 5
++ 	weekly
++ 	compress
++ }
--- heimdal-0.6.3.orig/debian/patches-0.3d/021_debian
+++ heimdal-0.6.3/debian/patches-0.3d/021_debian
@@ -0,0 +1,153 @@
+Index: heimdal-0.3d/setconfig
+===================================================================
+RCS file: setconfig
+diff -N setconfig
+*** /dev/null	Tue Nov 14 18:36:24 2000
+--- heimdal-0.3d/setconfig	Fri Nov 17 11:25:12 2000
+***************
+*** 0 ****
+--- 1,94 ----
++ #!/usr/bin/perl -w
++ use strict;
++ use Getopt::Long;
++ 
++ my $section;
++ my $file;
++ 
++ sub set {
++     my $setting = shift;
++     my $oldvalue = shift;
++     my $newvalue = shift;
++     
++     if (defined($newvalue))
++     {
++ 	print OUT "$setting=$newvalue\n"
++ 	     or die "Cannot write to $file.new: $!";
++     }
++ }
++ 
++ sub doit {
++     my $setting;
++     my $value;
++     ($setting,$value) = split("=",shift);
++ 
++     die "No filename given\n" if (!defined($file));
++     die "No section given\n" if (!defined($section));
++ 
++     open(IN,"<$file") or die "Cannot open $file for reading: $!\n";
++     open(OUT,">$file.new") or die "Cannot open $file.new for writing: $!\n";
++ 
++     my $insection = "none";
++     my $done = 0;
++     while (<IN>)
++     {
++ 	my $output = 1;
++ 	if (/^\s*\[([^\]]+)\]\s*$/)
++ 	{
++ 	    if (!$done and $section eq $insection)
++ 	    {
++ 	    	set($setting,undef,$value);
++ 	    	$done = 1;
++ 	    }
++ 	    $insection = $1;
++ 	}
++ 	elsif (/^\s*([\w\.]+)\s*=\s*\{\s*$/)
++ 	{
++ 		$insection = $insection . "::" . $1;
++ 	    	if ($section eq $insection and $setting eq "")
++ 		{
++ 	    		print(OUT "$value = {\n")
++ 				or die "Cannot write to $file.new: $!";
++ 			$done = 1;
++ 			$output = 0;
++ 		}
++ 	}
++ 	elsif (/^\s*\}\s*$/)
++ 	{
++ 		$insection =~ s/::[^:]+//;
++ 	}
++ 	elsif (/^\s*([\w\.]+)\s*=\s*(.*)\s*$/)
++ 	{
++ 	#print "$insection $1=$2\n";
++ 	    if ($section eq $insection and
++ 	    	$setting ne "" and
++ 	    	$setting eq $1)
++ 	    {
++ 		set($setting,$2,$value);
++ 		$output = 0;
++ 		$done = 1;
++ 	    }
++ 	}
++ 	if ($output)
++ 	{
++ 	    print(OUT $_) or die "Cannot write to $file.new: $!";
++ 	}
++     }
++ 	    
++     if (!$done)
++     {
++ 	if ($section ne $insection)
++ 	{
++ 		die "Section $section doesn't exist\n";
++ 	}
++     	set($setting,undef,$value);
++     	$done = 1;
++     }
++ 
++     close(OUT) or die "Cannot close $file.new: $!";
++     close(IN) or die "Cannot close $file: $!";
++     rename("$file.new",$file) or die "Cannot remame $file.new to $file";
++ }
++ 
++ GetOptions("file=s",\$file,"section=s",\$section,"<>",\&doit)
++ 	|| die "Cannot parse command line\n";
+Index: heimdal-0.3d/appl/telnet/telnetd/telnetd.h
+===================================================================
+RCS file: /homes/bam/cvsroot/debian/heimdal/appl/telnet/telnetd/telnetd.h,v
+retrieving revision 1.1.1.2
+retrieving revision 1.2
+diff -c -r1.1.1.2 -r1.2
+*** heimdal-0.3d/appl/telnet/telnetd/telnetd.h 1999/07/24 08:24:26 1.1.1.2
+--- appl/telnet/telnetd/telnetd.h	2000/01/06 09:22:48	1.2
+***************
+*** 193,199 ****
+  #endif
+  
+  #undef _PATH_LOGIN
+! #define _PATH_LOGIN	BINDIR "/login"
+  
+  /* fallbacks */
+  
+--- 193,199 ----
+  #endif
+  
+  #undef _PATH_LOGIN
+! #define _PATH_LOGIN	LIBEXECDIR "/login"
+  
+  /* fallbacks */
+  
+Index: heimdal-0.3d/lib/hdb/hdb.h
+===================================================================
+RCS file: /homes/bam/cvsroot/debian/heimdal/lib/hdb/hdb.h,v
+retrieving revision 1.1.1.4
+retrieving revision 1.3
+diff -c -r1.1.1.4 -r1.3
+*** heimdal-0.3d/lib/hdb/hdb.h 2000/07/31 03:16:43 1.1.1.4
+--- heimdal-0.3d/lib/hdb/hdb.h	2000/07/31 03:22:57	1.3
+***************
+*** 78,84 ****
+      krb5_error_code (*destroy)(krb5_context, struct HDB*);
+  }HDB;
+  
+! #define HDB_DB_DIR "/var/heimdal"
+  #define HDB_DEFAULT_DB HDB_DB_DIR "/heimdal"
+  #define HDB_DB_FORMAT_ENTRY "hdb/db-format"
+  
+--- 78,84 ----
+      krb5_error_code (*destroy)(krb5_context, struct HDB*);
+  }HDB;
+  
+! #define HDB_DB_DIR "/var/lib/heimdal-kdc"
+  #define HDB_DEFAULT_DB HDB_DB_DIR "/heimdal"
+  #define HDB_DB_FORMAT_ENTRY "hdb/db-format"
+  
--- heimdal-0.6.3.orig/debian/patches-0.3d/030_autotools
+++ heimdal-0.6.3/debian/patches-0.3d/030_autotools
@@ -0,0 +1,20904 @@
+diff -ruN heimdal-0.3d-old/Makefile.in heimdal-0.3d/Makefile.in
+--- heimdal-0.3d-old/Makefile.in	Mon Dec 11 14:19:43 2000
++++ heimdal-0.3d/Makefile.in	Tue Jan  9 10:36:40 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,11 +69,13 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+@@ -91,6 +94,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -101,7 +105,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -131,7 +134,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -174,6 +177,13 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+@@ -233,16 +243,17 @@
+ 		cf/find-if-not-broken.m4 cf/grok-type.m4 \
+ 		cf/have-pragma-weak.m4 cf/have-struct-field.m4 \
+ 		cf/have-type.m4 cf/have-types.m4 cf/krb-bigendian.m4 \
+-		cf/krb-find-db.m4 cf/krb-func-getcwd-broken.m4 \
+-		cf/krb-func-getlogin.m4 cf/krb-ipv6.m4 cf/krb-irix.m4 \
+-		cf/krb-prog-ln-s.m4 cf/krb-prog-ranlib.m4 \
+-		cf/krb-prog-yacc.m4 cf/krb-readline.m4 \
+-		cf/krb-struct-spwd.m4 cf/krb-struct-winsize.m4 \
+-		cf/krb-sys-aix.m4 cf/krb-sys-nextstep.m4 \
+-		cf/krb-version.m4 cf/mips-abi.m4 cf/misc.m4 \
+-		cf/need-proto.m4 cf/osfc2.m4 cf/proto-compat.m4 \
+-		cf/retsigtype.m4 cf/roken-frag.m4 cf/roken.m4 \
+-		cf/shared-libs.m4 cf/test-package.m4 cf/wflags.m4
++		cf/krb-com_err.m4 cf/krb-find-db.m4 \
++		cf/krb-func-getcwd-broken.m4 cf/krb-func-getlogin.m4 \
++		cf/krb-ipv6.m4 cf/krb-irix.m4 cf/krb-prog-ln-s.m4 \
++		cf/krb-prog-ranlib.m4 cf/krb-prog-yacc.m4 \
++		cf/krb-readline.m4 cf/krb-ss.m4 cf/krb-struct-spwd.m4 \
++		cf/krb-struct-winsize.m4 cf/krb-sys-aix.m4 \
++		cf/krb-sys-nextstep.m4 cf/krb-version.m4 cf/mips-abi.m4 \
++		cf/misc.m4 cf/need-proto.m4 cf/osfc2.m4 \
++		cf/proto-compat.m4 cf/retsigtype.m4 cf/roken-frag.m4 \
++		cf/roken.m4 cf/shared-libs.m4 cf/test-package.m4 \
++		cf/wflags.m4
+ 	cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
+ 
+ config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+@@ -283,10 +294,11 @@
+ 	@set fnord $(MAKEFLAGS); amf=$$2; \
+ 	dot_seen=no; \
+ 	rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
+-	  rev="$$subdir $$rev"; \
+-	  if test "$$subdir" = "."; then dot_seen=yes; else :; fi; \
++	  if test "$$subdir" = "."; then :; else \
++	    rev="$$subdir $$rev"; \
++	  fi; \
+ 	done; \
+-	test "$$dot_seen" = "no" && rev=". $$rev"; \
++	rev="$$rev ."; \
+ 	target=`echo $@ | sed s/-recursive//`; \
+ 	for subdir in $$rev; do \
+ 	  echo "Making $$target in $$subdir"; \
+@@ -365,6 +377,7 @@
+ 	  && $(MAKE) $(AM_MAKEFLAGS) installcheck \
+ 	  && $(MAKE) $(AM_MAKEFLAGS) uninstall \
+ 	  && test `find $$dc_install_base -type f -print | wc -l` -le 1 \
++	  && chmod -R u+w .. \
+ 	  && $(MAKE) $(AM_MAKEFLAGS) dist \
+ 	  && $(MAKE) $(AM_MAKEFLAGS) distclean \
+ 	  && rm -f $(distdir).tar.gz \
+diff -ruN heimdal-0.3d-old/aclocal.m4 heimdal-0.3d/aclocal.m4
+--- heimdal-0.3d-old/aclocal.m4	Mon Dec 11 14:19:40 2000
++++ heimdal-0.3d/aclocal.m4	Tue Jan  9 10:36:04 2001
+@@ -1,14 +1,15 @@
+-dnl ./aclocal.m4 generated automatically by aclocal 1.4a
++# aclocal.m4 generated automatically by aclocal 1.4a
+ 
+-dnl Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
+-dnl This file is free software; the Free Software Foundation
+-dnl gives unlimited permission to copy and/or distribute it,
+-dnl with or without modifications, as long as this notice is preserved.
+-
+-dnl This program is distributed in the hope that it will be useful,
+-dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+-dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+-dnl PARTICULAR PURPOSE.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Free Software Foundation, Inc.
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# This program is distributed in the hope that it will be useful,
++# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
++# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
++# PARTICULAR PURPOSE.
+ 
+ dnl $Id: acinclude.m4,v 1.15 1998/05/23 14:54:53 joda Exp $
+ dnl
+@@ -49,32 +50,40 @@
+ ])])
+ # Like AC_CONFIG_HEADER, but automatically create stamp file.
+ 
+-AC_DEFUN(AM_CONFIG_HEADER,
+-[AC_PREREQ([2.12])
+-AC_CONFIG_HEADER([$1])
+-dnl When config.status generates a header, we must update the stamp-h file.
+-dnl This file resides in the same directory as the config header
+-dnl that is generated.  We must strip everything past the first ":",
+-dnl and everything past the last "/".
+-AC_OUTPUT_COMMANDS(changequote(<<,>>)dnl
+-ifelse(patsubst(<<$1>>, <<[^ ]>>, <<>>), <<>>,
+-<<test -z "<<$>>CONFIG_HEADERS" || echo timestamp > patsubst(<<$1>>, <<^\([^:]*/\)?.*>>, <<\1>>)stamp-h<<>>dnl>>,
+-<<am_indx=1
+-for am_file in <<$1>>; do
+-  case " <<$>>CONFIG_HEADERS " in
+-  *" <<$>>am_file "*<<)>>
+-    echo timestamp > `echo <<$>>am_file | sed -e 's%:.*%%' -e 's%[^/]*$%%'`stamp-h$am_indx
+-    ;;
+-  esac
+-  am_indx=`expr "<<$>>am_indx" + 1`
+-done<<>>dnl>>)
+-changequote([,]))])
++# serial 3
++
++# When config.status generates a header, we must update the stamp-h file.
++# This file resides in the same directory as the config header
++# that is generated.  We must strip everything past the first ":",
++# and everything past the last "/".
++
++AC_PREREQ([2.12])
++
++AC_DEFUN([AM_CONFIG_HEADER],
++[AC_CONFIG_HEADER([$1])
++  AC_OUTPUT_COMMANDS(
++   ifelse(patsubst([$1], [[^ ]], []),
++	  [],
++	  [test -z "$CONFIG_HEADERS" || echo timestamp >dnl
++	   patsubst([$1], [^\([^:]*/\)?.*], [\1])stamp-h]),
++  [am_indx=1
++  for am_file in $1; do
++    case " $CONFIG_HEADERS " in
++    *" $am_file "*)
++      echo timestamp > `echo $am_file | sed 's%:.*%%;s%[^/]*$%%'`stamp-h$am_indx
++      ;;
++    esac
++    am_indx=\`expr \$am_indx + 1\`
++  done])
++])
+ 
+ # Do all the work for Automake.  This macro actually does too much --
+ # some checks are only needed if your package does certain things.
+ # But this isn't really a big deal.
+ 
+-# serial 2
++# serial 3
++
++AC_PREREQ([2.13])
+ 
+ # AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
+ # -----------------------------------------------------------
+@@ -92,12 +101,11 @@
+ 
+ # AM_INIT_AUTOMAKE(PACKAGE,VERSION, [NO-DEFINE])
+ # ----------------------------------------------
+-AC_DEFUN(AM_INIT_AUTOMAKE,
++AC_DEFUN([AM_INIT_AUTOMAKE],
+ [dnl We require 2.13 because we rely on SHELL being computed by configure.
+-AC_PREREQ([2.13])dnl
+ AC_REQUIRE([AC_PROG_INSTALL])dnl
+ # test to see if srcdir already configured
+-if test "`CDPATH=: && cd $srcdir && pwd`" != "`pwd`" &&
++if test "`CDPATH=:; cd $srcdir && pwd`" != "`pwd`" &&
+    test -f $srcdir/config.status; then
+   AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
+ fi
+@@ -121,8 +129,8 @@
+ AM_MISSING_PROG(MAKEINFO, makeinfo)
+ AM_MISSING_PROG(AMTAR, tar)
+ AM_MISSING_INSTALL_SH
+-dnl We need awk for the "check" target.  The system "awk" is bad on
+-dnl some platforms.
++# We need awk for the "check" target.  The system "awk" is bad on
++# some platforms.
+ AC_REQUIRE([AC_PROG_AWK])dnl
+ AC_REQUIRE([AC_PROG_MAKE_SET])dnl
+ AC_REQUIRE([AM_DEP_TRACK])dnl
+@@ -141,7 +149,7 @@
+ # Check to make sure that the build environment is sane.
+ #
+ 
+-AC_DEFUN(AM_SANITY_CHECK,
++AC_DEFUN([AM_SANITY_CHECK],
+ [AC_MSG_CHECKING([whether build environment is sane])
+ # Just in case
+ sleep 1
+@@ -180,15 +188,15 @@
+ rm -f conftest*
+ AC_MSG_RESULT(yes)])
+ 
+-dnl AM_MISSING_PROG(NAME, PROGRAM)
+-AC_DEFUN(AM_MISSING_PROG, [
++# AM_MISSING_PROG(NAME, PROGRAM)
++AC_DEFUN([AM_MISSING_PROG], [
+ AC_REQUIRE([AM_MISSING_HAS_RUN])
+ $1=${$1-"${am_missing_run}$2"}
+ AC_SUBST($1)])
+ 
+-dnl Like AM_MISSING_PROG, but only looks for install-sh.
+-dnl AM_MISSING_INSTALL_SH()
+-AC_DEFUN(AM_MISSING_INSTALL_SH, [
++# Like AM_MISSING_PROG, but only looks for install-sh.
++# AM_MISSING_INSTALL_SH()
++AC_DEFUN([AM_MISSING_INSTALL_SH], [
+ AC_REQUIRE([AM_MISSING_HAS_RUN])
+ if test -z "$install_sh"; then
+    install_sh="$ac_aux_dir/install-sh"
+@@ -200,13 +208,13 @@
+ fi
+ AC_SUBST(install_sh)])
+ 
+-dnl AM_MISSING_HAS_RUN.
+-dnl Define MISSING if not defined so far and test if it supports --run.
+-dnl If it does, set am_missing_run to use it, otherwise, to nothing.
++# AM_MISSING_HAS_RUN.
++# Define MISSING if not defined so far and test if it supports --run.
++# If it does, set am_missing_run to use it, otherwise, to nothing.
+ AC_DEFUN([AM_MISSING_HAS_RUN], [
+ test x"${MISSING+set}" = xset || \
+-  MISSING="\${SHELL} `CDPATH=: && cd $ac_aux_dir && pwd`/missing"
+-dnl Use eval to expand $SHELL
++  MISSING="\${SHELL} `CDPATH=:; cd $ac_aux_dir && pwd`/missing"
++# Use eval to expand $SHELL
+ if eval "$MISSING --run :"; then
+   am_missing_run="$MISSING --run "
+ else
+@@ -216,14 +224,14 @@
+ fi
+ ])
+ 
+-dnl See how the compiler implements dependency checking.
+-dnl Usage:
+-dnl AM_DEPENDENCIES(NAME)
+-dnl NAME is "CC", "CXX" or "OBJC".
++# See how the compiler implements dependency checking.
++# Usage:
++# AM_DEPENDENCIES(NAME)
++# NAME is "CC", "CXX" or "OBJC".
+ 
+-dnl We try a few techniques and use that to set a single cache variable.
++# We try a few techniques and use that to set a single cache variable.
+ 
+-AC_DEFUN(AM_DEPENDENCIES,[
++AC_DEFUN([AM_DEPENDENCIES],[
+ AC_REQUIRE([AM_SET_DEPDIR])
+ AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])
+ ifelse([$1],CC,[
+@@ -259,10 +267,13 @@
+       ;;
+     none) break ;;
+     esac
++    # We check with `-c' and `-o' for the sake of the "dashmstdout"
++    # mode.  It turns out that the SunPro C++ compiler does not properly
++    # handle `-M -o', and we need to detect this.
+     if depmode="$depmode" \
+        source=conftest.c object=conftest.o \
+        depfile=conftest.Po tmpdepfile=conftest.TPo \
+-       $SHELL $am_depcomp $depcc -c conftest.c 2>/dev/null &&
++       $SHELL $am_depcomp $depcc -c conftest.c -o conftest.o 2>/dev/null &&
+        grep conftest.h conftest.Po > /dev/null 2>&1; then
+       am_cv_[$1]_dependencies_compiler_type="$depmode"
+       break
+@@ -279,10 +290,10 @@
+ AC_SUBST([$1]DEPMODE)
+ ])
+ 
+-dnl Choose a directory name for dependency files.
+-dnl This macro is AC_REQUIREd in AM_DEPENDENCIES
++# Choose a directory name for dependency files.
++# This macro is AC_REQUIREd in AM_DEPENDENCIES
+ 
+-AC_DEFUN(AM_SET_DEPDIR,[
++AC_DEFUN([AM_SET_DEPDIR],[
+ if test -d .deps || mkdir .deps 2> /dev/null || test -d .deps; then
+   DEPDIR=.deps
+ else
+@@ -291,7 +302,7 @@
+ AC_SUBST(DEPDIR)
+ ])
+ 
+-AC_DEFUN(AM_DEP_TRACK,[
++AC_DEFUN([AM_DEP_TRACK],[
+ AC_ARG_ENABLE(dependency-tracking,
+ [  --disable-dependency-tracking Speeds up one-time builds
+   --enable-dependency-tracking  Do not reject slow dependency extractors])
+@@ -316,16 +327,16 @@
+ popdef([subst])
+ ])
+ 
+-dnl Generate code to set up dependency tracking.
+-dnl This macro should only be invoked once -- use via AC_REQUIRE.
+-dnl Usage:
+-dnl AM_OUTPUT_DEPENDENCY_COMMANDS
++# Generate code to set up dependency tracking.
++# This macro should only be invoked once -- use via AC_REQUIRE.
++# Usage:
++# AM_OUTPUT_DEPENDENCY_COMMANDS
+ 
+-dnl
+-dnl This code is only required when automatic dependency tracking
+-dnl is enabled.  FIXME.  This creates each `.P' file that we will
+-dnl need in order to bootstrap the dependency handling code.
+-AC_DEFUN(AM_OUTPUT_DEPENDENCY_COMMANDS,[
++#
++# This code is only required when automatic dependency tracking
++# is enabled.  FIXME.  This creates each `.P' file that we will
++# need in order to bootstrap the dependency handling code.
++AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],[
+ AC_OUTPUT_COMMANDS([
+ test x"$AMDEP" != x"" ||
+ for mf in $CONFIG_FILES; do
+@@ -368,9 +379,9 @@
+ ac_aux_dir="$ac_aux_dir"])])
+ 
+ 
+-dnl AM_PROG_LEX
+-dnl Look for flex, lex or missing, then run AC_PROG_LEX and AC_DECL_YYTEXT
+-AC_DEFUN(AM_PROG_LEX,
++# AM_PROG_LEX
++# Look for flex, lex or missing, then run AC_PROG_LEX and AC_DECL_YYTEXT
++AC_DEFUN([AM_PROG_LEX],
+ [AC_REQUIRE([AM_MISSING_HAS_RUN])
+ AC_CHECK_PROGS(LEX, flex lex, [${am_missing_run}flex])
+ AC_PROG_LEX
+@@ -526,23 +537,20 @@
+ 
+ 
+ 
+-# serial 44 AC_PROG_LIBTOOL
+-AC_DEFUN(AC_PROG_LIBTOOL,[AC_REQUIRE([_AC_PROG_LIBTOOL])])
+-AC_DEFUN(_AC_PROG_LIBTOOL,
++# serial 40 AC_PROG_LIBTOOL
++AC_DEFUN(AC_PROG_LIBTOOL,
+ [AC_REQUIRE([AC_LIBTOOL_SETUP])dnl
+ 
+ # Save cache, so that ltconfig can load it
+ AC_CACHE_SAVE
+ 
+ # Actually configure libtool.  ac_aux_dir is where install-sh is found.
+-AR="$AR" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
+-MAGIC="$MAGIC" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
+-LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
+-AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
+-objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
+-deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
++CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
++LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
++LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" \
++DLLTOOL="$DLLTOOL" AS="$AS" OBJDUMP="$OBJDUMP" \
+ ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
+-$libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
++$libtool_flags --no-verify $ac_aux_dir/ltmain.sh $lt_target \
+ || AC_MSG_ERROR([libtool configure failed])
+ 
+ # Reload cache, that may have been modified by ltconfig
+@@ -567,28 +575,18 @@
+ AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl
+ AC_REQUIRE([AC_CANONICAL_HOST])dnl
+ AC_REQUIRE([AC_CANONICAL_BUILD])dnl
++AC_REQUIRE([AC_PROG_RANLIB])dnl
+ AC_REQUIRE([AC_PROG_CC])dnl
+ AC_REQUIRE([AC_PROG_LD])dnl
+-AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl
+ AC_REQUIRE([AC_PROG_NM])dnl
+ AC_REQUIRE([AC_PROG_LN_S])dnl
+-AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl
+-AC_REQUIRE([AC_OBJEXT])dnl
+-AC_REQUIRE([AC_EXEEXT])dnl
+ dnl
+ 
+-# Only perform the check for file, if the check method requires it
+-case "$deplibs_check_method" in
+-file_magic*)
+-  if test "$file_magic_cmd" = '${MAGIC}'; then
+-    AC_PATH_MAGIC
+-  fi
+-  ;;
++case "$target" in
++NONE) lt_target="$host" ;;
++*) lt_target="$target" ;;
+ esac
+ 
+-AC_CHECK_TOOL(RANLIB, ranlib, :)
+-AC_CHECK_TOOL(STRIP, strip, :)
+-
+ # Check for any special flags to pass to ltconfig.
+ libtool_flags="--cache-file=$cache_file"
+ test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
+@@ -605,15 +603,9 @@
+ test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
+ test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
+ 
+-AC_ARG_WITH(pic,
+-  [  --with-pic              try to use only PIC/non-PIC objects [default=use both]],
+-     pic_mode="$withval", pic_mode=default)
+-test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
+-test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
+-
+ # Some flags need to be propagated to the compiler or linker for good
+ # libtool support.
+-case "$host" in
++case "$lt_target" in
+ *-*-irix6*)
+   # Find out which ABI we are using.
+   echo '[#]line __oline__ "configure"' > conftest.$ac_ext
+@@ -638,10 +630,7 @@
+   SAVE_CFLAGS="$CFLAGS"
+   CFLAGS="$CFLAGS -belf"
+   AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
+-    [AC_LANG_SAVE
+-     AC_LANG_C
+-     AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
+-     AC_LANG_RESTORE])
++    [AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])])
+   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
+     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
+     CFLAGS="$SAVE_CFLAGS"
+@@ -653,31 +642,8 @@
+   AC_CHECK_TOOL(DLLTOOL, dlltool, false)
+   AC_CHECK_TOOL(AS, as, false)
+   AC_CHECK_TOOL(OBJDUMP, objdump, false)
+-
+-  # recent cygwin and mingw systems supply a stub DllMain which the user
+-  # can override, but on older systems we have to supply one
+-  AC_CACHE_CHECK([if libtool should supply DllMain function], lt_cv_need_dllmain,
+-    [AC_TRY_LINK([],
+-      [extern int __attribute__((__stdcall__)) DllMain(void*, int, void*);
+-      DllMain (0, 0, 0);],
+-      [lt_cv_need_dllmain=no],[lt_cv_need_dllmain=yes])])
+-
+-  case "$host/$CC" in
+-  *-*-cygwin*/gcc*-mno-cygwin*|*-*-mingw*)
+-    # old mingw systems require "-dll" to link a DLL, while more recent ones
+-    # require "-mdll"
+-    SAVE_CFLAGS="$CFLAGS"
+-    CFLAGS="$CFLAGS -mdll"
+-    AC_CACHE_CHECK([how to link DLLs], lt_cv_cc_dll_switch,
+-      [AC_TRY_LINK([], [], [lt_cv_cc_dll_switch=-mdll],[lt_cv_cc_dll_switch=-dll])])
+-    CFLAGS="$SAVE_CFLAGS" ;;
+-  *-*-cygwin*)
+-    # cygwin systems need to pass --dll to the linker, and not link
+-    # crt.o which will require a WinMain@16 definition.
+-    lt_cv_cc_dll_switch="-Wl,--dll -nostartfiles" ;;
+-  esac
+   ;;
+-  ])
++])
+ esac
+ ])
+ 
+@@ -783,94 +749,10 @@
+ enable_fast_install=AC_ENABLE_FAST_INSTALL_DEFAULT)dnl
+ ])
+ 
+-# AC_DISABLE_FAST_INSTALL - set the default to --disable-fast-install
++# AC_ENABLE_FAST_INSTALL - set the default to --disable-fast-install
+ AC_DEFUN(AC_DISABLE_FAST_INSTALL, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
+ AC_ENABLE_FAST_INSTALL(no)])
+ 
+-# AC_LIBTOOL_PICMODE - implement the --with-pic flag
+-# Usage: AC_LIBTOOL_PICMODE[(MODE)]
+-#   Where MODE is either `yes' or `no'.  If omitted, it defaults to
+-#   `both'.
+-AC_DEFUN(AC_LIBTOOL_PICMODE, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
+-pic_mode=ifelse($#,1,$1,default)])
+-
+-
+-# AC_PATH_TOOL_PREFIX - find a file program which can recognise shared library
+-AC_DEFUN(AC_PATH_TOOL_PREFIX,
+-[AC_MSG_CHECKING([for $1])
+-AC_CACHE_VAL(lt_cv_path_MAGIC,
+-[case "$MAGIC" in
+-  /*)
+-  lt_cv_path_MAGIC="$MAGIC" # Let the user override the test with a path.
+-  ;;
+-  ?:/*)
+-  ac_cv_path_MAGIC="$MAGIC" # Let the user override the test with a dos path.
+-  ;;
+-  *)
+-  ac_save_MAGIC="$MAGIC"
+-  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
+-dnl $ac_dummy forces splitting on constant user-supplied paths.
+-dnl POSIX.2 word splitting is done only on the output of word expansions,
+-dnl not every word.  This closes a longstanding sh security hole.
+-  ac_dummy="ifelse([$2], , $PATH, [$2])"
+-  for ac_dir in $ac_dummy; do
+-    test -z "$ac_dir" && ac_dir=.
+-    if test -f $ac_dir/$1; then
+-      lt_cv_path_MAGIC="$ac_dir/$1"
+-      if test -n "$file_magic_test_file"; then
+-	case "$deplibs_check_method" in
+-	"file_magic "*)
+-	  file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
+-	  MAGIC="$lt_cv_path_MAGIC"
+-	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
+-	    egrep "$file_magic_regex" > /dev/null; then
+-	    :
+-	  else
+-	    cat <<EOF 1>&2
+-
+-*** Warning: the command libtool uses to detect shared libraries,
+-*** $file_magic_cmd, produces output that libtool cannot recognize.
+-*** The result is that libtool may fail to recognize shared libraries
+-*** as such.  This will affect the creation of libtool libraries that
+-*** depend on shared libraries, but programs linked with such libtool
+-*** libraries will work regardless of this problem.  Nevertheless, you
+-*** may want to report the problem to your system manager and/or to
+-*** bug-libtool@gnu.org
+-
+-EOF
+-	  fi ;;
+-	esac
+-      fi
+-      break
+-    fi
+-  done
+-  IFS="$ac_save_ifs"
+-  MAGIC="$ac_save_MAGIC"
+-  ;;
+-esac])
+-MAGIC="$lt_cv_path_MAGIC"
+-if test -n "$MAGIC"; then
+-  AC_MSG_RESULT($MAGIC)
+-else
+-  AC_MSG_RESULT(no)
+-fi
+-])
+-
+-
+-# AC_PATH_MAGIC - find a file program which can recognise a shared library
+-AC_DEFUN(AC_PATH_MAGIC,
+-[AC_REQUIRE([AC_CHECK_TOOL_PREFIX])dnl
+-AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin:$PATH)
+-if test -z "$lt_cv_path_MAGIC"; then
+-  if test -n "$ac_tool_prefix"; then
+-    AC_PATH_TOOL_PREFIX(file, /usr/bin:$PATH)
+-  else
+-    MAGIC=:
+-  fi
+-fi
+-])
+-
+-
+ # AC_PROG_LD - find the path to the GNU or non-GNU linker
+ AC_DEFUN(AC_PROG_LD,
+ [AC_ARG_WITH(gnu-ld,
+@@ -883,13 +765,7 @@
+ if test "$ac_cv_prog_gcc" = yes; then
+   # Check if gcc -print-prog-name=ld gives a path.
+   AC_MSG_CHECKING([for ld used by GCC])
+-  case $host in
+-  *-*-mingw*)
+-    # gcc leaves a trailing carriage return which upsets mingw
+-    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
+-  *)
+-    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
+-  esac
++  ac_prog=`($CC -print-prog-name=ld) 2>&5`
+   case "$ac_prog" in
+     # Accept absolute paths.
+ changequote(,)dnl
+@@ -956,170 +832,8 @@
+ else
+   ac_cv_prog_gnu_ld=no
+ fi])
+-with_gnu_ld=$ac_cv_prog_gnu_ld
+ ])
+ 
+-# AC_PROG_LD_RELOAD_FLAG - find reload flag for linker
+-#   -- PORTME Some linkers may need a different reload flag.
+-AC_DEFUN(AC_PROG_LD_RELOAD_FLAG,
+-[AC_CACHE_CHECK([for $LD option to reload object files], lt_cv_ld_reload_flag,
+-[lt_cv_ld_reload_flag='-r'])
+-reload_flag=$lt_cv_ld_reload_flag
+-test -n "$reload_flag" && reload_flag=" $reload_flag"
+-])
+-
+-# AC_DEPLIBS_CHECK_METHOD - how to check for library dependencies
+-#  -- PORTME fill in with the dynamic library characteristics
+-AC_DEFUN(AC_DEPLIBS_CHECK_METHOD,
+-[AC_CACHE_CHECK([how to recognise dependant libraries],
+-lt_cv_deplibs_check_method,
+-[lt_cv_file_magic_cmd='${MAGIC}'
+-lt_cv_file_magic_test_file=
+-lt_cv_deplibs_check_method='unknown'
+-# Need to set the preceding variable on all platforms that support
+-# interlibrary dependencies.
+-# 'none' -- dependencies not supported.
+-# `unknown' -- same as none, but documents that we really don't know.
+-# 'pass_all' -- all dependencies passed with no checks.
+-# 'test_compile' -- check by making test program.
+-# 'file_magic [regex]' -- check by looking for files in library path
+-# which responds to the $file_magic_cmd with a given egrep regex.
+-# If you have `file' or equivalent on your system and you're not sure
+-# whether `pass_all' will *always* work, you probably want this one.
+-
+-case "$host_os" in
+-aix4*)
+-  lt_cv_deplibs_check_method=pass_all
+-  ;;
+-
+-beos*)
+-  lt_cv_deplibs_check_method=pass_all
+-  ;;
+-
+-bsdi4*)
+-  changequote(,)dnl
+-  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
+-  changequote([, ])dnl
+-  lt_cv_file_magic_cmd='/usr/bin/file -L'
+-  lt_cv_file_magic_test_file=/shlib/libc.so
+-  ;;
+-
+-cygwin* | mingw*)
+-  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
+-  lt_cv_file_magic_cmd='${OBJDUMP} -f'
+-  ;;
+-
+-freebsd*)
+-  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
+-    case "$host_cpu" in
+-    i*86 )
+-      changequote(,)dnl
+-      lt_cv_deplibs_check_method=='file_magic OpenBSD/i[3-9]86 demand paged shared library'
+-      changequote([, ])dnl
+-      lt_cv_file_magic_cmd=/usr/bin/file
+-      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
+-      ;;
+-    esac
+-  else
+-    lt_cv_deplibs_check_method=pass_all
+-  fi
+-  ;;
+-
+-gnu*)
+-  lt_cv_deplibs_check_method=pass_all
+-  ;;
+-
+-hpux10.20*)
+-  # TODO:  Does this work for hpux-11 too?
+-  lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
+-  lt_cv_file_magic_cmd=/usr/bin/file
+-  lt_cv_file_magic_test_file=/usr/lib/libc.sl
+-  ;;
+-
+-irix5* | irix6*)
+-  case "$host_os" in
+-  irix5*)
+-    # this will be overridden with pass_all, but let us keep it just in case
+-    lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
+-    ;;
+-  *)
+-    case "$LD" in
+-    *-32|*"-32 ") libmagic=32-bit;;
+-    *-n32|*"-n32 ") libmagic=N32;;
+-    *-64|*"-64 ") libmagic=64-bit;;
+-    *) libmagic=never-match;;
+-    esac
+-    # this will be overridden with pass_all, but let us keep it just in case
+-    changequote(,)dnl
+-    lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
+-    changequote([, ])dnl
+-    ;;
+-  esac
+-  lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
+-  lt_cv_deplibs_check_method=pass_all
+-  ;;
+-
+-# This must be Linux ELF.
+-linux-gnu*)
+-  case "$host_cpu" in
+-  alpha* | i*86 | powerpc* | sparc* | ia64* )
+-    lt_cv_deplibs_check_method=pass_all ;;
+-  *)
+-    # glibc up to 2.1.1 does not perform some relocations on ARM
+-    changequote(,)dnl
+-    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
+-    changequote([, ])dnl
+-  esac
+-  lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
+-  ;;
+-
+-netbsd*)
+-  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then :
+-  else
+-    changequote(,)dnl
+-    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
+-    changequote([, ])dnl
+-    lt_cv_file_magic_cmd='/usr/bin/file -L'
+-    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
+-  fi
+-  ;;
+-
+-osf3* | osf4* | osf5*)
+-  # this will be overridden with pass_all, but let us keep it just in case
+-  lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
+-  lt_cv_file_magic_test_file=/shlib/libc.so
+-  lt_cv_deplibs_check_method=pass_all
+-  ;;
+-
+-sco3.2v5*)
+-  lt_cv_deplibs_check_method=pass_all
+-  ;;
+-
+-solaris*)
+-  lt_cv_deplibs_check_method=pass_all
+-  lt_cv_file_magic_test_file=/lib/libc.so
+-  ;;
+-
+-sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
+-  case "$host_vendor" in
+-  ncr)
+-    lt_cv_deplibs_check_method=pass_all
+-    ;;
+-  motorola)
+-    changequote(,)dnl
+-    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
+-    changequote([, ])dnl
+-    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
+-    ;;
+-  esac
+-  ;;
+-esac
+-])
+-file_magic_cmd=$lt_cv_file_magic_cmd
+-deplibs_check_method=$lt_cv_deplibs_check_method
+-])
+-
+-
+ # AC_PROG_NM - find the path to a BSD-compatible name lister
+ AC_DEFUN(AC_PROG_NM,
+ [AC_MSG_CHECKING([for BSD-compatible nm])
+@@ -1131,19 +845,18 @@
+   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
+   for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
+     test -z "$ac_dir" && ac_dir=.
+-    tmp_nm=$ac_dir/${ac_tool_prefix}nm
+-    if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
++    if test -f $ac_dir/nm || test -f $ac_dir/nm$ac_exeext ; then
+       # Check to see if the nm accepts a BSD-compat flag.
+       # Adding the `sed 1q' prevents false positives on HP-UX, which says:
+       #   nm: unknown option "B" ignored
+-      if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
+-	ac_cv_path_NM="$tmp_nm -B"
++      if ($ac_dir/nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
++	ac_cv_path_NM="$ac_dir/nm -B"
+ 	break
+-      elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
+-	ac_cv_path_NM="$tmp_nm -p"
++      elif ($ac_dir/nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
++	ac_cv_path_NM="$ac_dir/nm -p"
+ 	break
+       else
+-	ac_cv_path_NM=${ac_cv_path_NM="$tmp_nm"} # keep the first match, but
++	ac_cv_path_NM=${ac_cv_path_NM="$ac_dir/nm"} # keep the first match, but
+ 	continue # so that we can try to find one that supports BSD flags
+       fi
+     fi
+@@ -1159,7 +872,7 @@
+ AC_DEFUN(AC_CHECK_LIBM,
+ [AC_REQUIRE([AC_CANONICAL_HOST])dnl
+ LIBM=
+-case "$host" in
++case "$lt_target" in
+ *-*-beos* | *-*-cygwin*)
+   # These system don't have libm
+   ;;
+@@ -2022,7 +1735,7 @@
+ 
+ # Define a conditional.
+ 
+-AC_DEFUN(AM_CONDITIONAL,
++AC_DEFUN([AM_CONDITIONAL],
+ [AC_SUBST($1_TRUE)
+ AC_SUBST($1_FALSE)
+ if $2; then
+@@ -2386,49 +2099,6 @@
+ #endif])
+ ])
+ 
+-dnl $Id: krb-func-getcwd-broken.m4,v 1.2 1999/03/01 13:03:32 joda Exp $
+-dnl
+-dnl
+-dnl test for broken getcwd in (SunOS braindamage)
+-dnl
+-
+-AC_DEFUN(AC_KRB_FUNC_GETCWD_BROKEN, [
+-if test "$ac_cv_func_getcwd" = yes; then
+-AC_MSG_CHECKING(if getcwd is broken)
+-AC_CACHE_VAL(ac_cv_func_getcwd_broken, [
+-ac_cv_func_getcwd_broken=no
+-
+-AC_TRY_RUN([
+-#include <errno.h>
+-char *getcwd(char*, int);
+-
+-void *popen(char *cmd, char *mode)
+-{
+-	errno = ENOTTY;
+-	return 0;
+-}
+-
+-int main()
+-{
+-	char *ret;
+-	ret = getcwd(0, 1024);
+-	if(ret == 0 && errno == ENOTTY)
+-		return 0;
+-	return 1;
+-}
+-], ac_cv_func_getcwd_broken=yes,:,:)
+-])
+-if test "$ac_cv_func_getcwd_broken" = yes; then
+-	AC_DEFINE(BROKEN_GETCWD, 1, [Define if getcwd is broken (like in SunOS 4).])dnl
+-	LIBOBJS="$LIBOBJS getcwd.o"
+-	AC_SUBST(LIBOBJS)dnl
+-	AC_MSG_RESULT($ac_cv_func_getcwd_broken)
+-else
+-	AC_MSG_RESULT([seems ok])
+-fi
+-fi
+-])
+-
+ dnl $Id: proto-compat.m4,v 1.3 1999/03/01 13:03:48 joda Exp $
+ dnl
+ dnl
+@@ -2574,7 +2244,7 @@
+ dnl
+ dnl AC_TEST_PACKAGE_NEW(package,headers,libraries,extra libs,default locations, conditional)
+ 
+-AC_DEFUN(AC_TEST_PACKAGE,[AC_TEST_PACKAGE_NEW($1,[#include <$2>],$4,,$5)])
++AC_DEFUN(AC_TEST_PACKAGE,[MY_TEST_PACKAGE_NEW($1,[#include <$2>],$4,,$5)])
+ 
+ AC_DEFUN(AC_TEST_PACKAGE_NEW,[
+ AC_ARG_WITH($1,
+@@ -2611,7 +2281,7 @@
+ header_dirs=
+ lib_dirs=
+ d='$5'
+-for i in $d; do
++for i in $d /usr; do
+ 	header_dirs="$header_dirs $i/include"
+ 	lib_dirs="$lib_dirs $i/lib$abilibdirext"
+ done
+@@ -2644,6 +2314,7 @@
+ if test "$ires" -a "$lres" -a "$with_$1" != "no"; then
+ 	$1_includedir="$ires"
+ 	$1_libdir="$lres"
++	DIR_$1=
+ 	INCLUDE_$1="-I$$1_includedir"
+ 	LIB_$1="-L$$1_libdir $3"
+ 	ifval([$6],
+@@ -2652,6 +2323,7 @@
+ 	with_$1=yes
+ 	AC_MSG_RESULT([headers $ires, libraries $lres])
+ else
++	DIR_$1="$1"
+ 	INCLUDE_$1=
+ 	LIB_$1=
+ 	with_$1=no
+@@ -2660,6 +2332,7 @@
+ dnl ifval([$6],
+ dnl 	AM_CONDITIONAL($6, test "$with_$1" = yes)
+ dnl 	AM_CONDITIONAL(upcase($1), test "$with_$1" = yes))
++AC_SUBST(DIR_$1)
+ AC_SUBST(INCLUDE_$1)
+ AC_SUBST(LIB_$1)
+ ])
+@@ -3062,19 +2735,95 @@
+ 	:
+ elif test "$ac_cv_func_el_init" = yes; then
+ 	ac_foo=yes
++	DIR_readline="editline"
+ 	LIB_readline="\$(top_builddir)/lib/editline/libel_compat.la $LIB_el_init"
+ else
++	DIR_readline="editline"
+ 	LIB_readline='$(top_builddir)/lib/editline/libeditline.la'
+ fi
+ AM_CONDITIONAL(el_compat, test "$ac_foo" = yes)
+-if test "$readline_libdir"; then
+-	LIB_readline="-rpath $readline_libdir $LIB_readline"
+-fi
++#if test "$readline_libdir"; then
++#	LIB_readline="-rpath $readline_libdir $LIB_readline"
++#fi
+ LIB_readline="$LIB_readline \$(LIB_tgetent)"
+ AC_DEFINE(HAVE_READLINE, 1, 
+ 	[Define if you have a readline compatible library.])dnl
+ 
+ ])
++
++dnl
++dnl Tests for readline functions
++dnl
++
++dnl el_init
++
++AC_DEFUN(KRB_COM_ERR,[
++dnl com_err
++
++ac_foo=no
++if test "$with_com_err" = yes; then
++	COMPILE_ET='compile_et'
++#elif test "$ac_cv_func_com_err" = yes; then
++#	COMPILE_ET='compile_et'
++else
++	COMPILE_ET='$(top_builddir)/lib/com_err/compile_et'
++	DIR_com_err="com_err"
++	LIB_com_err='$(top_builddir)/lib/com_err/libcom_err.la'
++fi
++
++if true; then
++#	!FIXME! why doesn't built in version of com_err work?
++	COMPILE_ET='$(top_builddir)/lib/com_err/compile_et'
++	DIR_com_err="com_err"
++	LIB_com_err='$(top_builddir)/lib/com_err/libcom_err.la'
++fi
++
++#if test "$com_err_libdir"; then
++#	LIB_com_err="-rpath $com_err_libdir $LIB_com_err"
++#fi
++AC_DEFINE(HAVE_COM_ERR, 1, 
++	[Define if you have a com_err compatible library.])dnl
++
++])
++AC_SUBST(COMPILE_ET)
++
++dnl
++dnl Tests for readline functions
++dnl
++
++dnl el_init
++
++AC_DEFUN(KRB_SS,[
++dnl com_err
++
++ac_foo=no
++if test "$with_ss" = yes; then
++	LIB_sl="$LIB_ss"
++else
++	DIR_ss="sl"
++	LIB_sl='$(top_builddir)/lib/sl/libsl.la'
++	LIB_ss='$(top_builddir)/lib/sl/libss.la'
++	INCLUDE_ss='-I$(top_builddir)/include/sl'
++fi
++
++
++#if test "$ss_libdir"; then
++#	LIB_ss="-rpath $sl_libdir $LIB_ss"
++#fi
++
++if true; then
++#	!FIXME! why doesn't built in version of ss work?
++	LIB_sl='$(top_builddir)/lib/sl/libsl.la'
++	LIB_ss='$(top_builddir)/lib/sl/libss.la'
++	INCLUDE_ss='-I$(top_builddir)/include/ss'
++fi
++
++AC_DEFINE(HAVE_SS, 1, 
++	[Define if you have a ss compatible library.])dnl
++
++])
++AC_SUBST(LIB_sl)
++
+ dnl $Id: auth-modules.m4,v 1.1 1999/03/21 13:48:00 joda Exp $
+ dnl
+ dnl Figure what authentication modules should be built
+diff -ruN heimdal-0.3d-old/admin/Makefile.in heimdal-0.3d/admin/Makefile.in
+--- heimdal-0.3d-old/admin/Makefile.in	Mon Dec 11 14:19:58 2000
++++ heimdal-0.3d/admin/Makefile.in	Tue Jan  9 10:36:48 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,11 +69,13 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+@@ -91,6 +94,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -101,7 +105,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -125,13 +128,13 @@
+ 
+ SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+ 
+-INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) $(INCLUDE_readline)
++INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) $(INCLUDE_readline) $(INCLUDE_ss)
+ 
+ AM_CFLAGS =  $(WFLAGS)
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -174,6 +177,13 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+@@ -207,7 +217,7 @@
+ 	$(top_builddir)/lib/krb5/libkrb5.la \
+ 	$(LIB_des) \
+ 	$(top_builddir)/lib/asn1/libasn1.la \
+-	$(top_builddir)/lib/sl/libsl.la \
++	$(LIB_ss) \
+ 	$(LIB_readline) \
+ 	$(LIB_roken)
+ 
+@@ -232,8 +242,7 @@
+ ktutil_OBJECTS =  $(am_ktutil_OBJECTS)
+ ktutil_LDADD = $(LDADD)
+ ktutil_DEPENDENCIES =  $(top_builddir)/lib/kadm5/libkadm5clnt.la \
+-$(top_builddir)/lib/krb5/libkrb5.la $(top_builddir)/lib/asn1/libasn1.la \
+-$(top_builddir)/lib/sl/libsl.la
++$(top_builddir)/lib/krb5/libkrb5.la $(top_builddir)/lib/asn1/libasn1.la
+ ktutil_LDFLAGS = 
+ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+diff -ruN heimdal-0.3d-old/appl/Makefile.in heimdal-0.3d/appl/Makefile.in
+--- heimdal-0.3d-old/appl/Makefile.in	Mon Dec 11 14:19:59 2000
++++ heimdal-0.3d/appl/Makefile.in	Tue Jan  9 10:36:49 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,11 +69,13 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+@@ -91,6 +94,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -101,7 +105,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -131,7 +134,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -174,6 +177,13 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+@@ -267,10 +277,11 @@
+ 	@set fnord $(MAKEFLAGS); amf=$$2; \
+ 	dot_seen=no; \
+ 	rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
+-	  rev="$$subdir $$rev"; \
+-	  if test "$$subdir" = "."; then dot_seen=yes; else :; fi; \
++	  if test "$$subdir" = "."; then :; else \
++	    rev="$$subdir $$rev"; \
++	  fi; \
+ 	done; \
+-	test "$$dot_seen" = "no" && rev=". $$rev"; \
++	rev="$$rev ."; \
+ 	target=`echo $@ | sed s/-recursive//`; \
+ 	for subdir in $$rev; do \
+ 	  echo "Making $$target in $$subdir"; \
+diff -ruN heimdal-0.3d-old/appl/afsutil/Makefile.in heimdal-0.3d/appl/afsutil/Makefile.in
+--- heimdal-0.3d-old/appl/afsutil/Makefile.in	Mon Dec 11 14:19:59 2000
++++ heimdal-0.3d/appl/afsutil/Makefile.in	Tue Jan  9 10:36:49 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,11 +69,13 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+@@ -91,6 +94,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -101,7 +105,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -131,7 +134,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -173,6 +176,13 @@
+ LIB_openldap = @LIB_openldap@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
+ 
+ LEXLIB = @LEXLIB@
+ 
+diff -ruN heimdal-0.3d-old/appl/dceutils/Makefile.in heimdal-0.3d/appl/dceutils/Makefile.in
+--- heimdal-0.3d-old/appl/dceutils/Makefile.in	Mon Dec 11 14:20:08 2000
++++ heimdal-0.3d/appl/dceutils/Makefile.in	Tue Jan  9 10:36:55 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,11 +69,13 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+@@ -91,6 +94,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -101,7 +105,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -131,7 +134,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -174,6 +177,13 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+@@ -234,8 +244,7 @@
+ LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+ DIST_SOURCES =  $(dpagaix_SOURCES) $(k5dcecon_SOURCES)
+ depcomp = 
+-DIST_COMMON =  ChangeLog Makefile.am Makefile.in appl/dceutils/compile \
+-compile
++DIST_COMMON =  ChangeLog Makefile.am Makefile.in compile
+ 
+ 
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+@@ -356,7 +365,6 @@
+ distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
+ 
+ distdir: $(DISTFILES)
+-	$(mkinstalldirs) $(distdir)/appl/dceutils
+ 	@for file in $(DISTFILES); do \
+ 	  d=$(srcdir); \
+ 	  if test -d $$d/$$file; then \
+diff -ruN heimdal-0.3d-old/appl/ftp/Makefile.in heimdal-0.3d/appl/ftp/Makefile.in
+--- heimdal-0.3d-old/appl/ftp/Makefile.in	Mon Dec 11 14:19:59 2000
++++ heimdal-0.3d/appl/ftp/Makefile.in	Tue Jan  9 10:36:49 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,11 +69,13 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+@@ -91,6 +94,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -101,7 +105,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -131,7 +134,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -174,6 +177,13 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+@@ -248,10 +258,11 @@
+ 	@set fnord $(MAKEFLAGS); amf=$$2; \
+ 	dot_seen=no; \
+ 	rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
+-	  rev="$$subdir $$rev"; \
+-	  if test "$$subdir" = "."; then dot_seen=yes; else :; fi; \
++	  if test "$$subdir" = "."; then :; else \
++	    rev="$$subdir $$rev"; \
++	  fi; \
+ 	done; \
+-	test "$$dot_seen" = "no" && rev=". $$rev"; \
++	rev="$$rev ."; \
+ 	target=`echo $@ | sed s/-recursive//`; \
+ 	for subdir in $$rev; do \
+ 	  echo "Making $$target in $$subdir"; \
+diff -ruN heimdal-0.3d-old/appl/ftp/common/Makefile.in heimdal-0.3d/appl/ftp/common/Makefile.in
+--- heimdal-0.3d-old/appl/ftp/common/Makefile.in	Mon Dec 11 14:20:00 2000
++++ heimdal-0.3d/appl/ftp/common/Makefile.in	Tue Jan  9 10:36:49 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,11 +69,13 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+@@ -91,6 +94,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -101,7 +105,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -131,7 +134,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -173,6 +176,13 @@
+ LIB_openldap = @LIB_openldap@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
+ 
+ LEXLIB = @LEXLIB@
+ 
+diff -ruN heimdal-0.3d-old/appl/ftp/ftp/Makefile.in heimdal-0.3d/appl/ftp/ftp/Makefile.in
+--- heimdal-0.3d-old/appl/ftp/ftp/Makefile.in	Mon Dec 11 14:20:00 2000
++++ heimdal-0.3d/appl/ftp/ftp/Makefile.in	Tue Jan  9 10:36:50 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,11 +69,13 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+@@ -91,6 +94,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -101,7 +105,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -131,7 +134,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -173,6 +176,13 @@
+ LIB_openldap = @LIB_openldap@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
+ 
+ LEXLIB = @LEXLIB@
+ 
+diff -ruN heimdal-0.3d-old/appl/ftp/ftpd/Makefile.in heimdal-0.3d/appl/ftp/ftpd/Makefile.in
+--- heimdal-0.3d-old/appl/ftp/ftpd/Makefile.in	Mon Dec 11 14:20:01 2000
++++ heimdal-0.3d/appl/ftp/ftpd/Makefile.in	Tue Jan  9 10:36:50 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,11 +69,13 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+@@ -91,6 +94,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -101,7 +105,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -131,7 +134,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -173,6 +176,13 @@
+ LIB_openldap = @LIB_openldap@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
+ 
+ LEXLIB = @LEXLIB@
+ 
+diff -ruN heimdal-0.3d-old/appl/kf/Makefile.in heimdal-0.3d/appl/kf/Makefile.in
+--- heimdal-0.3d-old/appl/kf/Makefile.in	Mon Dec 11 14:20:08 2000
++++ heimdal-0.3d/appl/kf/Makefile.in	Tue Jan  9 10:36:55 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,11 +69,13 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+@@ -91,6 +94,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -101,7 +105,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -131,7 +134,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -173,6 +176,13 @@
+ LIB_openldap = @LIB_openldap@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
+ 
+ LEXLIB = @LEXLIB@
+ 
+diff -ruN heimdal-0.3d-old/appl/kx/Makefile.in heimdal-0.3d/appl/kx/Makefile.in
+--- heimdal-0.3d-old/appl/kx/Makefile.in	Mon Dec 11 14:20:02 2000
++++ heimdal-0.3d/appl/kx/Makefile.in	Tue Jan  9 10:36:51 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,11 +69,13 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+@@ -91,6 +94,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -101,7 +105,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+@@ -130,7 +133,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -172,6 +175,13 @@
+ LIB_openldap = @LIB_openldap@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
+ 
+ LEXLIB = @LEXLIB@
+ 
+diff -ruN heimdal-0.3d-old/appl/login/Makefile.in heimdal-0.3d/appl/login/Makefile.in
+--- heimdal-0.3d-old/appl/login/Makefile.in	Mon Dec 11 14:20:02 2000
++++ heimdal-0.3d/appl/login/Makefile.in	Tue Jan  9 10:36:51 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,11 +69,13 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+@@ -91,6 +94,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -101,7 +105,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -131,7 +134,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -173,6 +176,13 @@
+ LIB_openldap = @LIB_openldap@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
+ 
+ LEXLIB = @LEXLIB@
+ 
+diff -ruN heimdal-0.3d-old/appl/otp/Makefile.in heimdal-0.3d/appl/otp/Makefile.in
+--- heimdal-0.3d-old/appl/otp/Makefile.in	Mon Dec 11 14:20:03 2000
++++ heimdal-0.3d/appl/otp/Makefile.in	Tue Jan  9 10:36:51 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,11 +69,13 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+@@ -91,6 +94,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -101,7 +105,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -131,7 +134,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -173,6 +176,13 @@
+ LIB_openldap = @LIB_openldap@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
+ 
+ LEXLIB = @LEXLIB@
+ 
+diff -ruN heimdal-0.3d-old/appl/popper/Makefile.in heimdal-0.3d/appl/popper/Makefile.in
+--- heimdal-0.3d-old/appl/popper/Makefile.in	Mon Dec 11 14:20:03 2000
++++ heimdal-0.3d/appl/popper/Makefile.in	Tue Jan  9 10:36:51 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,11 +69,13 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+@@ -91,6 +94,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -101,7 +105,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -131,7 +134,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -173,6 +176,13 @@
+ LIB_openldap = @LIB_openldap@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
+ 
+ LEXLIB = @LEXLIB@
+ 
+diff -ruN heimdal-0.3d-old/appl/push/Makefile.in heimdal-0.3d/appl/push/Makefile.in
+--- heimdal-0.3d-old/appl/push/Makefile.in	Mon Dec 11 14:20:04 2000
++++ heimdal-0.3d/appl/push/Makefile.in	Tue Jan  9 10:36:52 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,11 +69,13 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+@@ -91,6 +94,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -101,7 +105,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -131,7 +134,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -173,6 +176,13 @@
+ LIB_openldap = @LIB_openldap@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
+ 
+ LEXLIB = @LEXLIB@
+ 
+diff -ruN heimdal-0.3d-old/appl/rsh/Makefile.in heimdal-0.3d/appl/rsh/Makefile.in
+--- heimdal-0.3d-old/appl/rsh/Makefile.in	Mon Dec 11 14:20:04 2000
++++ heimdal-0.3d/appl/rsh/Makefile.in	Tue Jan  9 10:36:52 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,11 +69,13 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+@@ -91,6 +94,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -101,7 +105,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -131,7 +134,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -173,6 +176,13 @@
+ LIB_openldap = @LIB_openldap@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
+ 
+ LEXLIB = @LEXLIB@
+ 
+diff -ruN heimdal-0.3d-old/appl/su/Makefile.in heimdal-0.3d/appl/su/Makefile.in
+--- heimdal-0.3d-old/appl/su/Makefile.in	Mon Dec 11 14:20:05 2000
++++ heimdal-0.3d/appl/su/Makefile.in	Tue Jan  9 10:36:52 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,11 +69,13 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+@@ -91,6 +94,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -101,7 +105,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -131,7 +134,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -173,6 +176,13 @@
+ LIB_openldap = @LIB_openldap@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
+ 
+ LEXLIB = @LEXLIB@
+ 
+diff -ruN heimdal-0.3d-old/appl/telnet/Makefile.in heimdal-0.3d/appl/telnet/Makefile.in
+--- heimdal-0.3d-old/appl/telnet/Makefile.in	Mon Dec 11 14:20:05 2000
++++ heimdal-0.3d/appl/telnet/Makefile.in	Tue Jan  9 10:36:53 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,11 +69,13 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+@@ -91,6 +94,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -101,7 +105,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -131,7 +134,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -174,6 +177,13 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+@@ -250,10 +260,11 @@
+ 	@set fnord $(MAKEFLAGS); amf=$$2; \
+ 	dot_seen=no; \
+ 	rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
+-	  rev="$$subdir $$rev"; \
+-	  if test "$$subdir" = "."; then dot_seen=yes; else :; fi; \
++	  if test "$$subdir" = "."; then :; else \
++	    rev="$$subdir $$rev"; \
++	  fi; \
+ 	done; \
+-	test "$$dot_seen" = "no" && rev=". $$rev"; \
++	rev="$$rev ."; \
+ 	target=`echo $@ | sed s/-recursive//`; \
+ 	for subdir in $$rev; do \
+ 	  echo "Making $$target in $$subdir"; \
+diff -ruN heimdal-0.3d-old/appl/telnet/libtelnet/Makefile.in heimdal-0.3d/appl/telnet/libtelnet/Makefile.in
+--- heimdal-0.3d-old/appl/telnet/libtelnet/Makefile.in	Mon Dec 11 14:20:06 2000
++++ heimdal-0.3d/appl/telnet/libtelnet/Makefile.in	Tue Jan  9 10:36:53 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,11 +69,13 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+@@ -91,6 +94,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -101,7 +105,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -131,7 +134,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -173,6 +176,13 @@
+ LIB_openldap = @LIB_openldap@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
+ 
+ LEXLIB = @LEXLIB@
+ 
+diff -ruN heimdal-0.3d-old/appl/telnet/telnet/Makefile.in heimdal-0.3d/appl/telnet/telnet/Makefile.in
+--- heimdal-0.3d-old/appl/telnet/telnet/Makefile.in	Mon Dec 11 14:20:06 2000
++++ heimdal-0.3d/appl/telnet/telnet/Makefile.in	Tue Jan  9 10:36:53 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,11 +69,13 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+@@ -91,6 +94,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -101,7 +105,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -131,7 +134,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -173,6 +176,13 @@
+ LIB_openldap = @LIB_openldap@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
+ 
+ LEXLIB = @LEXLIB@
+ 
+diff -ruN heimdal-0.3d-old/appl/telnet/telnetd/Makefile.in heimdal-0.3d/appl/telnet/telnetd/Makefile.in
+--- heimdal-0.3d-old/appl/telnet/telnetd/Makefile.in	Mon Dec 11 14:20:07 2000
++++ heimdal-0.3d/appl/telnet/telnetd/Makefile.in	Tue Jan  9 10:36:54 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,11 +69,13 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+@@ -91,6 +94,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -101,7 +105,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -131,7 +134,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -173,6 +176,13 @@
+ LIB_openldap = @LIB_openldap@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
+ 
+ LEXLIB = @LEXLIB@
+ 
+diff -ruN heimdal-0.3d-old/appl/test/Makefile.in heimdal-0.3d/appl/test/Makefile.in
+--- heimdal-0.3d-old/appl/test/Makefile.in	Mon Dec 11 14:20:07 2000
++++ heimdal-0.3d/appl/test/Makefile.in	Tue Jan  9 10:36:54 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,11 +69,13 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+@@ -91,6 +94,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -101,7 +105,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -131,7 +134,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -173,6 +176,13 @@
+ LIB_openldap = @LIB_openldap@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
+ 
+ LEXLIB = @LEXLIB@
+ 
+diff -ruN heimdal-0.3d-old/appl/xnlock/Makefile.in heimdal-0.3d/appl/xnlock/Makefile.in
+--- heimdal-0.3d-old/appl/xnlock/Makefile.in	Mon Dec 11 14:20:05 2000
++++ heimdal-0.3d/appl/xnlock/Makefile.in	Tue Jan  9 10:36:53 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,11 +69,13 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+@@ -91,6 +94,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -101,7 +105,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+@@ -130,7 +133,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -172,6 +175,13 @@
+ LIB_openldap = @LIB_openldap@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
+ 
+ LEXLIB = @LEXLIB@
+ 
+diff -ruN heimdal-0.3d-old/configure heimdal-0.3d/configure
+--- heimdal-0.3d-old/configure	Mon Dec 11 14:21:14 2000
++++ heimdal-0.3d/configure	Tue Jan  9 10:37:04 2001
+@@ -1,12 +1,47 @@
+ #! /bin/sh
+-# From configure.in Revision: 1.263
++# From configure.in Revision: 1.263 .
+ # Guess values for system-dependent variables and create Makefiles.
+-# Generated by Autoconf 2.14a.
++# Generated by Autoconf 2.49b for heimdal 0.3d.
+ #
+-# Copyright (C) 1992, 93, 94, 95, 96, 98, 99, 2000
++# Report bugs to <heimdal-bugs@pdc.kth.se>.
++#
++# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+ # This configure script is free software; the Free Software Foundation
+ # gives unlimited permission to copy, distribute and modify it.
++# Be Bourne compatible
++if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
++  emulate sh
++  NULLCMD=:
++elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
++  set -o posix
++fi
++
++# Support unset when possible.
++if (unset FOO) >/dev/null 2>&1; then
++  ac_unset=unset
++else
++  ac_unset=false
++fi
++
++# NLS nuisances.
++$ac_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
++$ac_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
++$ac_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
++$ac_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
++$ac_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
++$ac_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
++$ac_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
++$ac_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
++
++# IFS
++# We need space, tab and new line, in precisely that order.
++ac_nl='
++'
++IFS=" 	$ac_nl"
++
++# CDPATH.
++$ac_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
+ 
+ #
+ # Initializations.
+@@ -445,6 +480,34 @@
+   fi
+ fi
+ srcdir=`echo "$srcdir" | sed 's%\([^/]\)/*$%\1%'`
++ac_env_build_alias_set=${build_alias+set}
++ac_env_build_alias_value=$build_alias
++ac_cv_env_build_alias_set=${build_alias+set}
++ac_cv_env_build_alias_value=$build_alias
++ac_env_host_alias_set=${host_alias+set}
++ac_env_host_alias_value=$host_alias
++ac_cv_env_host_alias_set=${host_alias+set}
++ac_cv_env_host_alias_value=$host_alias
++ac_env_target_alias_set=${target_alias+set}
++ac_env_target_alias_value=$target_alias
++ac_cv_env_target_alias_set=${target_alias+set}
++ac_cv_env_target_alias_value=$target_alias
++ac_env_CC_set=${CC+set}
++ac_env_CC_value=$CC
++ac_cv_env_CC_set=${CC+set}
++ac_cv_env_CC_value=$CC
++ac_env_CFLAGS_set=${CFLAGS+set}
++ac_env_CFLAGS_value=$CFLAGS
++ac_cv_env_CFLAGS_set=${CFLAGS+set}
++ac_cv_env_CFLAGS_value=$CFLAGS
++ac_env_LDFLAGS_set=${LDFLAGS+set}
++ac_env_LDFLAGS_value=$LDFLAGS
++ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
++ac_cv_env_LDFLAGS_value=$LDFLAGS
++ac_env_CPPFLAGS_set=${CPPFLAGS+set}
++ac_env_CPPFLAGS_value=$CPPFLAGS
++ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
++ac_cv_env_CPPFLAGS_value=$CPPFLAGS
+ 
+ #
+ # Report the --help message.
+@@ -458,7 +521,7 @@
+ Usage: $0 [OPTION]... [VAR=VALUE]...
+ 
+ To assign environment variables (e.g., CC, CFLAGS...), specify them as
+-VAR=VALUE.  See below for descriptions of useful variables.
++VAR=VALUE.  See below for descriptions of some of the useful variables.
+ 
+ Defaults for the options are specified in brackets.
+ 
+@@ -550,7 +613,6 @@
+   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
+   --with-mips-abi=abi     ABI to use for IRIX (32, n32, or 64)
+   --with-gnu-ld           assume the C compiler uses GNU ld default=no
+-  --with-pic              try to use only PIC/non-PIC objects default=use both
+   --without-berkeley-db   if you don't want berkeley db
+   --without-ipv6	do not enable IPv6 support
+   --with-openldap=dir                use openldap in dir
+@@ -562,21 +624,29 @@
+   --with-readline=dir                use readline in dir
+   --with-readline-lib=dir            use readline libraries in dir
+   --with-readline-include=dir        use readline headers in dir
++  --with-com_err=dir                use com_err in dir
++  --with-com_err-lib=dir            use com_err libraries in dir
++  --with-com_err-include=dir        use com_err headers in dir
++  --with-ss=dir                use ss in dir
++  --with-ss-lib=dir            use ss libraries in dir
++  --with-ss-include=dir        use ss headers in dir
+   --with-hesiod=dir                use hesiod in dir
+   --with-hesiod-lib=dir            use hesiod libraries in dir
+   --with-hesiod-include=dir        use hesiod headers in dir
+   --with-x                use the X Window System
+-  --without-ipv6	do not enable IPv6 support
+ 
+-Some relevant environment variables, which you can use to override the
+-choices made by the configure script or to help it to find libraries and
+-programs with nonstandard names/locations:
++Some influential environment variables:
+   CC          C compiler command
+   CFLAGS      C compiler flags
+   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
+               nonstandard directory <lib dir>
+   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
+               headers in a nonstandard directory <include dir>
++
++Use these variables to override the choices made by `configure' or to help
++it to find libraries and programs with nonstandard names/locations.
++
++Report bugs to <heimdal-bugs@pdc.kth.se>.
+ EOF
+ fi
+ 
+@@ -599,7 +669,10 @@
+     esac
+ 
+     # Check for guested configure; otherwise get Cygnus style configure.
+-    if test -f $ac_sub_srcdir/configure; then
++    if test -f $ac_sub_srcdir/configure.gnu; then
++      echo
++      $SHELL $ac_sub_srcdir/configure.gnu  --help=recursive
++    elif test -f $ac_sub_srcdir/configure; then
+       echo
+       $SHELL $ac_sub_srcdir/configure  --help=recursive
+     elif test -f $ac_sub_srcdir/configure.in; then
+@@ -615,45 +688,15 @@
+ test -n "$ac_init_help" && exit 0
+ if $ac_init_version; then
+   cat <<\EOF
+-configure (heimdal 0.3d) 2.14a
++configure (heimdal 0.3d) 2.49b
+ 
+-Copyright (C) 1992, 93, 94, 95, 96, 98, 99, 2000
++Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000
+ Free Software Foundation, Inc.
+ This configure script is free software; the Free Software Foundation
+ gives unlimited permission to copy, distribute and modify it.
+ EOF
+   exit 0
+ fi
+-# Be Bourne compatible
+-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
+-  emulate sh
+-  NULLCMD=:
+-elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
+-  set -o posix
+-fi
+-
+-# Support unset when possible.
+-if (unset FOO) >/dev/null 2>&1; then
+-  ac_unset=unset
+-else
+-  ac_unset=false
+-fi
+-
+-# NLS nuisances.
+-$ac_unset LANG || test "${LANG+set}" != set || LANG=C && export LANG
+-$ac_unset LC_ALL || test "${LC_ALL+set}" != set || LC_ALL=C && export LC_ALL
+-$ac_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || LC_CTYPE=C && export LC_CTYPE
+-$ac_unset LANGUAGE || test "${LANGUAGE+set}" != set || LANGUAGE=C && export LANGUAGE
+-$ac_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || LC_MESSAGES=C && export LC_MESSAGES
+-
+-# IFS
+-# We need space, tab and new line, in precisely that order.
+-ac_nl='
+-'
+-IFS=" 	$ac_nl"
+-
+-# CDPATH.
+-$ac_unset CDPATH || test "${CDPATH+set}" != set || CDPATH=: && export CDPATH
+ 
+ trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
+ 
+@@ -698,7 +741,7 @@
+ This file contains any messages produced by compilers while
+ running configure, to aid debugging if configure makes a mistake.
+ 
+-It was created by configure (heimdal 0.3d) 2.14a, executed with
++It was created by configure (heimdal 0.3d) 2.49b, executed with
+  > $0 $ac_configure_args
+ " >&5
+ 
+@@ -707,6 +750,7 @@
+ # AIX cpp loses on an empty file, so make sure it contains at least a newline.
+ echo >confdefs.h
+ 
++# Let the site file select an alternate cache file if it wants to.
+ # Prefer explicitly selected file to automatically selected ones.
+ if test -z "$CONFIG_SITE"; then
+   if test "x$prefix" != xNONE; then
+@@ -737,12 +781,42 @@
+   >$cache_file
+ fi
+ 
++# Check that the precious variables saved in the cache have kept the same
++# value.
++ac_suggest_removing_cache=false
++for ac_var in `(set) 2>&1 |
++               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
++  eval ac_old_set=\$ac_cv_env_${ac_var}_set
++  eval ac_new_set=\$ac_env_${ac_var}_set
++  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
++  eval ac_new_val="\$ac_env_${ac_var}_value"
++  case $ac_old_set,$ac_new_set in
++    set,)
++      echo "configure: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2
++      ac_suggest_removing_cache=: ;;
++    ,set)
++      echo "configure: WARNING: \`$ac_var' was not set in the previous run" >&2
++      ac_suggest_removing_cache=: ;;
++    ,);;
++    *)
++      if test "x$ac_old_val" != "x$ac_new_val"; then
++        echo "configure: WARNING: \`$ac_var' has changed since the previous run:" >&2
++        echo "configure: WARNING:   former value:  $ac_old_val" >&2
++        echo "configure: WARNING:   current value: $ac_new_val" >&2
++        ac_suggest_removing_cache=:
++      fi;;
++  esac
++done
++if $ac_suggest_removing_cache; then
++  echo "configure: WARNING: changes in the environment can compromise the build" >&2
++  echo "configure: WARNING: consider removing $cache_file and starting over" >&2
++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 >&5'
+-ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+-ac_gnu_compiler=$ac_cv_prog_gcc
++ac_link='${CC-cc} -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
+ 
+ case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
+   *c*,-n*) ECHO_N= ECHO_C='
+@@ -753,27 +827,18 @@
+ 
+ ac_config_headers="$ac_config_headers include/config.h"
+ 
+-ac_config_commands="$ac_config_commands default-1"
++  ac_config_commands="$ac_config_commands default-1"
+ 
+ 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 >&5'
+-ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+-ac_gnu_compiler=$ac_cv_prog_gcc
+-
+-case "${CC+set} $ac_configure_args" in
+- *" CC="* );;
+- "set "*) ac_configure_args="CC='$CC' $ac_configure_args";;
+-esac
+-case "${CFLAGS+set} $ac_configure_args" in
+- *" CFLAGS="* );;
+- "set "*) ac_configure_args="CFLAGS='$CFLAGS' $ac_configure_args";;
+-esac
++ac_link='${CC-cc} -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
+ 
++if test -n "$ac_tool_prefix"; then
+   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
+ set dummy ${ac_tool_prefix}gcc; ac_word=$2
+-echo "configure:678: checking for $ac_word" >&5
++echo "configure:841: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_CC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -786,7 +851,7 @@
+ for ac_dir in $ac_dummy; do
+   IFS=$ac_save_IFS
+   test -z "$ac_dir" && ac_dir=.
+-  test -f $ac_dir/$ac_word || continue
++  test -f "$ac_dir/$ac_word" || continue
+ ac_cv_prog_CC="${ac_tool_prefix}gcc"
+ break
+ done
+@@ -795,18 +860,19 @@
+ fi
+ CC=$ac_cv_prog_CC
+ if test -n "$CC"; then
+-  echo "configure:699: result: $CC" >&5
++  echo "configure:863: result: $CC" >&5
+ echo "${ECHO_T}$CC" >&6
+ else
+-  echo "configure:702: result: no" >&5
++  echo "configure:866: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
++fi
+ if test -z "$ac_cv_prog_CC"; then
+-  if test -n "$ac_tool_prefix"; then
+-    # Extract the first word of "gcc", so it can be a program name with args.
++  ac_ct_CC=$CC
++  # Extract the first word of "gcc", so it can be a program name with args.
+ set dummy gcc; ac_word=$2
+-echo "configure:709: checking for $ac_word" >&5
++echo "configure:875: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -819,7 +885,7 @@
+ for ac_dir in $ac_dummy; do
+   IFS=$ac_save_IFS
+   test -z "$ac_dir" && ac_dir=.
+-  test -f $ac_dir/$ac_word || continue
++  test -f "$ac_dir/$ac_word" || continue
+ ac_cv_prog_ac_ct_CC="gcc"
+ break
+ done
+@@ -828,23 +894,91 @@
+ fi
+ ac_ct_CC=$ac_cv_prog_ac_ct_CC
+ if test -n "$ac_ct_CC"; then
+-  echo "configure:730: result: $ac_ct_CC" >&5
++  echo "configure:897: result: $ac_ct_CC" >&5
+ echo "${ECHO_T}$ac_ct_CC" >&6
+ else
+-  echo "configure:733: result: no" >&5
++  echo "configure:900: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+-    CC="$ac_ct_CC"
+-  else
+-    CC=""
+-  fi
++  CC=$ac_ct_CC
+ fi
+ 
+-  if test -z "$CC"; then
+-    # Extract the first word of "cc", so it can be a program name with args.
++if test -z "$CC"; then
++  if test -n "$ac_tool_prefix"; then
++  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
++set dummy ${ac_tool_prefix}cc; ac_word=$2
++echo "configure:911: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_CC+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$CC"; then
++  ac_cv_prog_CC="$CC" # Let the user override the test.
++else
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
++  IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_CC="${ac_tool_prefix}cc"
++break
++done
++
++fi
++fi
++CC=$ac_cv_prog_CC
++if test -n "$CC"; then
++  echo "configure:933: result: $CC" >&5
++echo "${ECHO_T}$CC" >&6
++else
++  echo "configure:936: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++fi
++if test -z "$ac_cv_prog_CC"; then
++  ac_ct_CC=$CC
++  # Extract the first word of "cc", so it can be a program name with args.
++set dummy cc; ac_word=$2
++echo "configure:945: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$ac_ct_CC"; then
++  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
++else
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
++  IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_ac_ct_CC="cc"
++break
++done
++
++fi
++fi
++ac_ct_CC=$ac_cv_prog_ac_ct_CC
++if test -n "$ac_ct_CC"; then
++  echo "configure:967: result: $ac_ct_CC" >&5
++echo "${ECHO_T}$ac_ct_CC" >&6
++else
++  echo "configure:970: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  CC=$ac_ct_CC
++fi
++
++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 "configure:744: checking for $ac_word" >&5
++echo "configure:981: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_CC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -858,7 +992,7 @@
+ for ac_dir in $ac_dummy; do
+   IFS=$ac_save_IFS
+   test -z "$ac_dir" && ac_dir=.
+-  test -f $ac_dir/$ac_word || continue
++  test -f "$ac_dir/$ac_word" || continue
+ if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
+   ac_prog_rejected=yes
+   continue
+@@ -885,19 +1019,21 @@
+ fi
+ CC=$ac_cv_prog_CC
+ if test -n "$CC"; then
+-  echo "configure:784: result: $CC" >&5
++  echo "configure:1022: result: $CC" >&5
+ echo "${ECHO_T}$CC" >&6
+ else
+-  echo "configure:787: result: no" >&5
++  echo "configure:1025: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+-    if test -z "$CC"; then
+-      for ac_prog in cl
+-do
+-# Extract the first word of "$ac_prog", so it can be a program name with args.
+-set dummy $ac_prog; ac_word=$2
+-echo "configure:795: checking for $ac_word" >&5
++fi
++if test -z "$CC"; then
++  if test -n "$ac_tool_prefix"; then
++  for ac_prog in cl
++  do
++    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
++set dummy $ac_tool_prefix$ac_prog; ac_word=$2
++echo "configure:1036: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_CC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -910,8 +1046,8 @@
+ for ac_dir in $ac_dummy; do
+   IFS=$ac_save_IFS
+   test -z "$ac_dir" && ac_dir=.
+-  test -f $ac_dir/$ac_word || continue
+-ac_cv_prog_CC="$ac_prog"
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
+ break
+ done
+ 
+@@ -919,25 +1055,65 @@
+ fi
+ CC=$ac_cv_prog_CC
+ if test -n "$CC"; then
+-  echo "configure:816: result: $CC" >&5
++  echo "configure:1058: result: $CC" >&5
+ echo "${ECHO_T}$CC" >&6
+ else
+-  echo "configure:819: result: no" >&5
++  echo "configure:1061: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++    test -n "$CC" && break
++  done
++fi
++if test -z "$CC"; then
++  ac_ct_CC=$CC
++  for ac_prog in cl
++do
++  # Extract the first word of "$ac_prog", so it can be a program name with args.
++set dummy $ac_prog; ac_word=$2
++echo "configure:1074: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$ac_ct_CC"; then
++  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
++else
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
++  IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_ac_ct_CC="$ac_prog"
++break
++done
++
++fi
++fi
++ac_ct_CC=$ac_cv_prog_ac_ct_CC
++if test -n "$ac_ct_CC"; then
++  echo "configure:1096: result: $ac_ct_CC" >&5
++echo "${ECHO_T}$ac_ct_CC" >&6
++else
++  echo "configure:1099: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+-test -n "$CC" && break
++  test -n "$ac_ct_CC" && break
+ done
+ 
+-    fi
+-  fi
++  CC=$ac_ct_CC
++fi
++
++fi
+ 
+ test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" >&2; exit 1; }
+ 
+-echo "configure:827: checking whether the C compiler works" >&5
++echo "configure:1113: checking whether the C compiler works" >&5
+ echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
+-cat >conftest.$ac_ext <<EOF
+-#line 830 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 1116 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -947,12 +1123,13 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:839: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:1128: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   # FIXME: these cross compiler hacks should be removed for autoconf 3.0
+ # If not cross compiling, check that we can run a simple program.
+ if test "$cross_compiling" != yes; then
+-  if { ac_try='./conftest'; { (eval echo configure:843: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; }; then
++  if { ac_try='./conftest$ac_exeext'; { (eval echo configure:1132: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; }; then
+     cross_compiling=no
+   else
+     if test "$cross_compiling" = maybe; then
+@@ -963,179 +1140,101 @@
+     fi
+   fi
+ fi
+-echo "configure:854: result: yes" >&5
++echo "configure:1143: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+-  echo "configure:859: result: no" >&5
++  echo "configure:1148: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ { echo "configure: error: C compiler cannot create executables" >&2; exit 77; }
+ fi
+-rm -f conftest*echo "configure:863: checking whether we are cross compiling" >&5
++rm -f conftest$ac_exeext conftest.$ac_ext
++echo "configure:1153: checking whether we are cross compiling" >&5
+ echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
+-echo "configure:865: result: $cross_compiling" >&5
++echo "configure:1155: result: $cross_compiling" >&5
+ echo "${ECHO_T}$cross_compiling" >&6
+ 
+-echo "configure:867: checking whether we are using GNU C" >&5
+-echo $ECHO_N "checking whether we are using GNU C... $ECHO_C" >&6
+-if test "${ac_cv_prog_gcc+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  # The semicolon is to pacify NeXT's syntax-checking cpp.
+-cat >conftest.c <<EOF
+-#ifdef __GNUC__
+-  yes;
+-#endif
+-EOF
+-if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:878: \"$ac_try\") >&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 "configure:884: result: $ac_cv_prog_gcc" >&5
+-echo "${ECHO_T}$ac_cv_prog_gcc" >&6
+-ac_gnu_compiler=$ac_cv_prog_gcc
+-if test $ac_gnu_compiler = yes; then
+-  GCC=yes
+-else
+-  GCC=
+-fi
+-ac_test_CFLAGS=${CFLAGS+set}
+-ac_save_CFLAGS=$CFLAGS
+-CFLAGS=
+-echo "configure:895: checking whether ${CC-cc} accepts -g" >&5
+-echo $ECHO_N "checking whether ${CC-cc} accepts -g... $ECHO_C" >&6
+-if test "${ac_cv_prog_cc_g+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&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 "configure:908: result: $ac_cv_prog_cc_g" >&5
+-echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
+-if test "$ac_test_CFLAGS" = set; then
+-  CFLAGS=$ac_save_CFLAGS
+-elif test $ac_cv_prog_cc_g = yes; then
+-  if test "$GCC" = yes; then
+-    CFLAGS="-g -O2"
+-  else
+-    CFLAGS="-g"
+-  fi
+-else
+-  if test "$GCC" = yes; then
+-    CFLAGS="-O2"
+-  else
+-    CFLAGS=
+-  fi
+-fi
+-echo "configure:925: checking for Cygwin environment" >&5
+-echo $ECHO_N "checking for Cygwin environment... $ECHO_C" >&6
+-if test "${ac_cv_cygwin+set}" = set; then
++echo "configure:1158: checking whether we are using the GNU C compiler" >&5
++echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
++if test "${ac_cv_c_compiler_gnu+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 931 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 1164 "configure"
+ #include "confdefs.h"
+-
+-int
+-main ()
+-{
+-#ifndef __CYGWIN__
+-# define __CYGWIN__ __CYGWIN32__
++#ifndef __GNUC__
++  choke me
+ #endif
+-return __CYGWIN__;
+-  ;
+-  return 0;
+-}
+-EOF
+-if { (eval echo configure:944: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
+-  ac_cv_cygwin=yes
+-else
+-  echo "configure: failed program was:" >&5
+-  cat conftest.$ac_ext >&5
+-  ac_cv_cygwin=no
+-fi
+-rm -f conftest*
+-fi
+-echo "configure:953: result: $ac_cv_cygwin" >&5
+-echo "${ECHO_T}$ac_cv_cygwin" >&6
+-test "$ac_cv_cygwin" = yes && CYGWIN=yes
+-echo "configure:956: checking for mingw32 environment" >&5
+-echo $ECHO_N "checking for mingw32 environment... $ECHO_C" >&6
+-if test "${ac_cv_mingw32+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  cat >conftest.$ac_ext <<EOF
+-#line 962 "configure"
+-#include "confdefs.h"
+ 
+ int
+ main ()
+ {
+-return __MINGW32__;
++
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:972: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
+-  ac_cv_mingw32=yes
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:1179: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++  ac_compiler_gnu=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+-  ac_cv_mingw32=no
++  ac_compiler_gnu=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
++ac_cv_c_compiler_gnu=$ac_compiler_gnu
++
+ fi
+-echo "configure:981: result: $ac_cv_mingw32" >&5
+-echo "${ECHO_T}$ac_cv_mingw32" >&6
+-test "$ac_cv_mingw32" = yes && MINGW32=yes
+-echo "configure:984: checking for EMX OS/2 environment" >&5
+-echo $ECHO_N "checking for EMX OS/2 environment... $ECHO_C" >&6
+-if test "${ac_cv_emxos2+set}" = set; then
++echo "configure:1190: result: $ac_cv_c_compiler_gnu" >&5
++echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
++GCC=`test $ac_compiler_gnu = yes && echo yes`
++echo "configure:1193: checking for object suffix" >&5
++echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
++if test "${ac_cv_objext+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 990 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 1199 "configure"
+ #include "confdefs.h"
+ 
+ int
+ main ()
+ {
+-return __EMX__;
++
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:1000: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
+-  ac_cv_emxos2=yes
++_ACEOF
++if { (eval echo configure:1210: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++  for ac_file in conftest.*; do
++  case $ac_file in
++    *.$ac_ext) ;;
++    *) ac_cv_objext=`echo $ac_file | sed s/conftest.//` ;;
++  esac
++  done
+ else
+-  echo "configure: failed program was:" >&5
+-  cat conftest.$ac_ext >&5
+-  ac_cv_emxos2=no
++  rm -f conftest.$ac_ext
++  { echo "configure: error: cannot compile" >&2; exit 1; }
+ fi
+-rm -f conftest*
+ fi
+-echo "configure:1009: result: $ac_cv_emxos2" >&5
+-echo "${ECHO_T}$ac_cv_emxos2" >&6
+-test "$ac_cv_emxos2" = yes && EMXOS2=yes
+-echo "configure:1012: checking for executable suffix" >&5
++echo "configure:1222: result: $ac_cv_objext" >&5
++echo "${ECHO_T}$ac_cv_objext" >&6
++OBJEXT=$ac_cv_objext
++ac_objext=$ac_cv_objext
++rm -f conftest.$ac_objext conftest.$ac_ext
++
++echo "configure:1228: checking for executable suffix" >&5
+ echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
+ if test "${ac_cv_exeext+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  if test "$CYGWIN" = yes || test "$MINGW32" = yes || test "$EMXOS2" = yes; then
+-  ac_cv_exeext=.exe
+-else
+-  cat >conftest.$ac_ext <<EOF
+-#line 1021 "configure"
++  case "$CYGWIN $MINGW32 $EMXOS2" in
++  *yes*) ac_cv_exeext=.exe ;;
++  *)
++  cat >conftest.$ac_ext <<_ACEOF
++#line 1237 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -1145,36 +1244,42 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:1030: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+-  for ac_file in conftest.*; do
+-     case $ac_file in
+-       *.$ac_ext | *.o | *.obj | *.xcoff) ;;
+-       *) ac_cv_exeext=`echo $ac_file | sed s/conftest//` ;;
+-     esac
+-   done
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:1249: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  if test ! -f conftest; then
++    for ac_file in conftest.*; do
++       case $ac_file in
++         *.$ac_ext | *.o | *.obj | *.xcoff) ;;
++         *) ac_cv_exeext=`expr "$ac_file" : 'conftest\(.*\)'`;;
++       esac
++     done
++   fi
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   { echo "configure: error: cannot compile and link" >&2; exit 1; }
+ fi
+-rm -f conftest*
+-  test -n "$ac_cv_exeext" && ac_cv_exeext=no
+-fi
++rm -f conftest$ac_exeext conftest.$ac_ext
++  test -n "$ac_cv_exeext" && ac_cv_exeext=no;;
++esac
+ fi
+-echo "configure:1046: result: $ac_cv_exeext" >&5
++echo "configure:1267: result: $ac_cv_exeext" >&5
+ echo "${ECHO_T}$ac_cv_exeext" >&6
+ EXEEXT=
+ test "$ac_cv_exeext" != no && EXEEXT=$ac_cv_exeext
+ ac_exeext=$EXEEXT
+ 
+-echo "configure:1051: checking for object suffix" >&5
+-echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
+-if test "${ac_cv_objext+set}" = set; then
++ac_test_CFLAGS=${CFLAGS+set}
++ac_save_CFLAGS=$CFLAGS
++CFLAGS="-g"
++echo "configure:1276: checking whether ${CC-cc} accepts -g" >&5
++echo $ECHO_N "checking whether ${CC-cc} accepts -g... $ECHO_C" >&6
++if test "${ac_cv_prog_cc_g+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 1057 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 1282 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -1184,114 +1289,606 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:1066: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
+-  for ac_file in conftest.*; do
+-    case $ac_file in
+-      *.$ac_ext) ;;
+-      *) ac_cv_objext=`echo $ac_file | sed s/conftest.//` ;;
+-    esac
+-  done
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:1294: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++  ac_cv_prog_cc_g=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+-  { echo "configure: error: cannot compile" >&2; exit 1; }
++  ac_cv_prog_cc_g=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "configure:1303: result: $ac_cv_prog_cc_g" >&5
++echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
++if test "$ac_test_CFLAGS" = set; then
++  CFLAGS=$ac_save_CFLAGS
++elif test $ac_cv_prog_cc_g = yes; then
++  if test "$GCC" = yes; then
++    CFLAGS="-g -O2"
++  else
++    CFLAGS="-g"
++  fi
++else
++  if test "$GCC" = yes; then
++    CFLAGS="-O2"
++  else
++    CFLAGS=
++  fi
+ fi
+-echo "configure:1080: result: $ac_cv_objext" >&5
+-echo "${ECHO_T}$ac_cv_objext" >&6
+-OBJEXT=$ac_cv_objext
+-ac_objext=$ac_cv_objext
+-
+ 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 >&5'
+-ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+-ac_gnu_compiler=$ac_cv_prog_gcc
++ac_link='${CC-cc} -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
+ 
+-echo "configure:1090: checking how to run the C preprocessor" >&5
++echo "configure:1326: checking how to run the C preprocessor" >&5
+ echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='${CC-cc} -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
+ # On Suns, sometimes $CPP names a directory.
+ if test -n "$CPP" && test -d "$CPP"; then
+   CPP=
+ fi
+ if test -z "$CPP"; then
+-if test "${ac_cv_prog_CPP+set}" = set; then
++  if test "${ac_cv_prog_CPP+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&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.
+-  # Use a header file that comes with gcc, so configuring glibc
+-  # with a fresh cross-compiler works.
+-  cat >conftest.$ac_ext <<EOF
+-#line 1108 "configure"
++      # Double quotes because CPP needs to be expanded
++    for CPP in "${CC-cc} -E" "${CC-cc} -E -traditional-cpp" "/lib/cpp"
++    do
++      # Use a header file that comes with gcc, so configuring glibc
++# with a fresh cross-compiler works.
++# On the NeXT, cc -E runs the code through the compiler's parser,
++# not just through cpp. "Syntax error" is here to catch this case.
++cat >conftest.$ac_ext <<_ACEOF
++#line 1349 "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:1114: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }
+-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+-if test -z "$ac_err"; then
+-  :
++Syntax error
++_ACEOF
++ac_c_preproc_warn_flag=maybe
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:1356: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
+ else
+-  echo "$ac_err" >&5
+-  echo "configure: failed program was:" >&5
+-  cat conftest.$ac_ext >&5
+-  CPP="${CC-cc} -E -traditional-cpp"
+-  cat >conftest.$ac_ext <<EOF
+-#line 1124 "configure"
++  ac_cpp_err=yes
++fi
++
++# Now check whether non-existent headers can be detected and how
++# Skip if ac_cpp_err is not empty - ac_cpp is broken
++if test -z "$ac_cpp_err"; then
++  cat >conftest.$ac_ext <<_ACEOF
++#line 1370 "configure"
++#include "confdefs.h"
++#include <ac_nonexistent.h>
++_ACEOF
++  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:1375: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++
++  if test -z "$ac_cpp_err"; then
++    # cannot detect missing includes at all
++    ac_cpp_err=yes
++  else
++    if test "x$ac_cpp_err" = xmaybe; then
++      ac_c_preproc_warn_flag=yes
++    else
++      ac_c_preproc_warn_flag=
++    fi
++    ac_cpp_err=
++  fi
++fi
++rm -f conftest*
++
++      if test -z "$ac_cpp_err"; then
++        break
++      fi
++    done
++    ac_cv_prog_CPP=$CPP
++
++fi
++  CPP=$ac_cv_prog_CPP
++else
++  # Use a header file that comes with gcc, so configuring glibc
++# with a fresh cross-compiler works.
++# On the NeXT, cc -E runs the code through the compiler's parser,
++# not just through cpp. "Syntax error" is here to catch this case.
++cat >conftest.$ac_ext <<_ACEOF
++#line 1413 "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:1130: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }
+-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+-if test -z "$ac_err"; then
+-  :
++Syntax error
++_ACEOF
++ac_c_preproc_warn_flag=maybe
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:1420: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++
++# Now check whether non-existent headers can be detected and how
++# Skip if ac_cpp_err is not empty - ac_cpp is broken
++if test -z "$ac_cpp_err"; then
++  cat >conftest.$ac_ext <<_ACEOF
++#line 1434 "configure"
++#include "confdefs.h"
++#include <ac_nonexistent.h>
++_ACEOF
++  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:1439: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++
++  if test -z "$ac_cpp_err"; then
++    # cannot detect missing includes at all
++    ac_cpp_err=yes
++  else
++    if test "x$ac_cpp_err" = xmaybe; then
++      ac_c_preproc_warn_flag=yes
++    else
++      ac_c_preproc_warn_flag=
++    fi
++    ac_cpp_err=
++  fi
++fi
++rm -f conftest*
++
++  ac_cv_prog_CPP=$CPP
++fi
++echo "configure:1465: result: $CPP" >&5
++echo "${ECHO_T}$CPP" >&6
++if test -n "$ac_cpp_err"; then
++  { echo "configure: error: C preprocessor \"$CPP\" fails sanity check" >&2; exit 1; }
++fi
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='${CC-cc} -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='${CC-cc} -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++if test -n "$ac_tool_prefix"; then
++  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
++set dummy ${ac_tool_prefix}gcc; ac_word=$2
++echo "configure:1485: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_CC+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$CC"; then
++  ac_cv_prog_CC="$CC" # Let the user override the test.
++else
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
++  IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_CC="${ac_tool_prefix}gcc"
++break
++done
++
++fi
++fi
++CC=$ac_cv_prog_CC
++if test -n "$CC"; then
++  echo "configure:1507: result: $CC" >&5
++echo "${ECHO_T}$CC" >&6
++else
++  echo "configure:1510: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++fi
++if test -z "$ac_cv_prog_CC"; then
++  ac_ct_CC=$CC
++  # Extract the first word of "gcc", so it can be a program name with args.
++set dummy gcc; ac_word=$2
++echo "configure:1519: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$ac_ct_CC"; then
++  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
++else
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
++  IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_ac_ct_CC="gcc"
++break
++done
++
++fi
++fi
++ac_ct_CC=$ac_cv_prog_ac_ct_CC
++if test -n "$ac_ct_CC"; then
++  echo "configure:1541: result: $ac_ct_CC" >&5
++echo "${ECHO_T}$ac_ct_CC" >&6
++else
++  echo "configure:1544: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  CC=$ac_ct_CC
++fi
++
++if test -z "$CC"; then
++  if test -n "$ac_tool_prefix"; then
++  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
++set dummy ${ac_tool_prefix}cc; ac_word=$2
++echo "configure:1555: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_CC+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$CC"; then
++  ac_cv_prog_CC="$CC" # Let the user override the test.
++else
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
++  IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_CC="${ac_tool_prefix}cc"
++break
++done
++
++fi
++fi
++CC=$ac_cv_prog_CC
++if test -n "$CC"; then
++  echo "configure:1577: result: $CC" >&5
++echo "${ECHO_T}$CC" >&6
++else
++  echo "configure:1580: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++fi
++if test -z "$ac_cv_prog_CC"; then
++  ac_ct_CC=$CC
++  # Extract the first word of "cc", so it can be a program name with args.
++set dummy cc; ac_word=$2
++echo "configure:1589: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$ac_ct_CC"; then
++  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
++else
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
++  IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_ac_ct_CC="cc"
++break
++done
++
++fi
++fi
++ac_ct_CC=$ac_cv_prog_ac_ct_CC
++if test -n "$ac_ct_CC"; then
++  echo "configure:1611: result: $ac_ct_CC" >&5
++echo "${ECHO_T}$ac_ct_CC" >&6
++else
++  echo "configure:1614: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  CC=$ac_ct_CC
++fi
++
++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 "configure:1625: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_CC+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$CC"; then
++  ac_cv_prog_CC="$CC" # Let the user override the test.
++else
++  ac_prog_rejected=no
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
++  IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
++  ac_prog_rejected=yes
++  continue
++fi
++ac_cv_prog_CC="cc"
++break
++done
++
++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 $# != 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" ${1+"$@"}
++    shift
++    ac_cv_prog_CC="$@"
++  fi
++fi
++fi
++fi
++CC=$ac_cv_prog_CC
++if test -n "$CC"; then
++  echo "configure:1666: result: $CC" >&5
++echo "${ECHO_T}$CC" >&6
++else
++  echo "configure:1669: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++fi
++if test -z "$CC"; then
++  if test -n "$ac_tool_prefix"; then
++  for ac_prog in cl
++  do
++    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
++set dummy $ac_tool_prefix$ac_prog; ac_word=$2
++echo "configure:1680: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_CC+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$CC"; then
++  ac_cv_prog_CC="$CC" # Let the user override the test.
++else
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
++  IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
++break
++done
++
++fi
++fi
++CC=$ac_cv_prog_CC
++if test -n "$CC"; then
++  echo "configure:1702: result: $CC" >&5
++echo "${ECHO_T}$CC" >&6
++else
++  echo "configure:1705: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++    test -n "$CC" && break
++  done
++fi
++if test -z "$CC"; then
++  ac_ct_CC=$CC
++  for ac_prog in cl
++do
++  # Extract the first word of "$ac_prog", so it can be a program name with args.
++set dummy $ac_prog; ac_word=$2
++echo "configure:1718: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$ac_ct_CC"; then
++  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
++else
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
++  IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_ac_ct_CC="$ac_prog"
++break
++done
++
++fi
++fi
++ac_ct_CC=$ac_cv_prog_ac_ct_CC
++if test -n "$ac_ct_CC"; then
++  echo "configure:1740: result: $ac_ct_CC" >&5
++echo "${ECHO_T}$ac_ct_CC" >&6
++else
++  echo "configure:1743: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  test -n "$ac_ct_CC" && break
++done
++
++  CC=$ac_ct_CC
++fi
++
++fi
++
++test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" >&2; exit 1; }
++
++echo "configure:1757: checking whether the C compiler works" >&5
++echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line 1760 "configure"
++#include "confdefs.h"
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:1772: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  # FIXME: these cross compiler hacks should be removed for autoconf 3.0
++# If not cross compiling, check that we can run a simple program.
++if test "$cross_compiling" != yes; then
++  if { ac_try='./conftest$ac_exeext'; { (eval echo configure:1776: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; }; then
++    cross_compiling=no
++  else
++    if test "$cross_compiling" = maybe; then
++      cross_compiling=yes
++    else
++      { echo "configure: error: cannot run C compiled programs.
++To enable cross compilation, use \`--host'." >&2; exit 1; }
++    fi
++  fi
++fi
++echo "configure:1787: result: yes" >&5
++echo "${ECHO_T}yes" >&6
+ else
+-  echo "$ac_err" >&5
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+-  CPP="${CC-cc} -nologo -E"
+-  cat >conftest.$ac_ext <<EOF
+-#line 1140 "configure"
++  echo "configure:1792: result: no" >&5
++echo "${ECHO_T}no" >&6
++{ echo "configure: error: C compiler cannot create executables" >&2; exit 77; }
++fi
++rm -f conftest$ac_exeext conftest.$ac_ext
++echo "configure:1797: checking whether we are cross compiling" >&5
++echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
++echo "configure:1799: result: $cross_compiling" >&5
++echo "${ECHO_T}$cross_compiling" >&6
++
++echo "configure:1802: checking whether we are using the GNU C compiler" >&5
++echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
++if test "${ac_cv_c_compiler_gnu+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line 1808 "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:1146: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }
+-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+-if test -z "$ac_err"; then
+-  :
++#ifndef __GNUC__
++  choke me
++#endif
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:1823: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++  ac_compiler_gnu=yes
+ else
+-  echo "$ac_err" >&5
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+-  CPP=/lib/cpp
++  ac_compiler_gnu=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
++ac_cv_c_compiler_gnu=$ac_compiler_gnu
++
+ fi
+-rm -f conftest*
++echo "configure:1834: result: $ac_cv_c_compiler_gnu" >&5
++echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
++GCC=`test $ac_compiler_gnu = yes && echo yes`
++
++ac_test_CFLAGS=${CFLAGS+set}
++ac_save_CFLAGS=$CFLAGS
++CFLAGS="-g"
++echo "configure:1841: checking whether ${CC-cc} accepts -g" >&5
++echo $ECHO_N "checking whether ${CC-cc} accepts -g... $ECHO_C" >&6
++if test "${ac_cv_prog_cc_g+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line 1847 "configure"
++#include "confdefs.h"
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:1859: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++  ac_cv_prog_cc_g=yes
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_prog_cc_g=no
+ fi
+-rm -f conftest*
+-  ac_cv_prog_CPP=$CPP
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-  CPP=$ac_cv_prog_CPP
++echo "configure:1868: result: $ac_cv_prog_cc_g" >&5
++echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
++if test "$ac_test_CFLAGS" = set; then
++  CFLAGS=$ac_save_CFLAGS
++elif test $ac_cv_prog_cc_g = yes; then
++  if test "$GCC" = yes; then
++    CFLAGS="-g -O2"
++  else
++    CFLAGS="-g"
++  fi
+ else
+-  ac_cv_prog_CPP=$CPP
++  if test "$GCC" = yes; then
++    CFLAGS="-O2"
++  else
++    CFLAGS=
++  fi
+ fi
+-echo "configure:1167: result: $CPP" >&5
+-echo "${ECHO_T}$CPP" >&6
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='${CC-cc} -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
+ 
+-echo "configure:1169: checking for ${CC-cc} option to accept ANSI C" >&5
++echo "configure:1891: checking for ${CC-cc} option to accept ANSI C" >&5
+ echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
+ if test "${ac_cv_prog_cc_stdc+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -1308,8 +1905,8 @@
+ for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
+ do
+   CC="$ac_save_CC $ac_arg"
+-  cat >conftest.$ac_ext <<EOF
+-#line 1187 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 1909 "configure"
+ #include "confdefs.h"
+ #include <stdarg.h>
+ #include <stdio.h>
+@@ -1346,14 +1943,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:1225: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:1948: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_prog_cc_stdc=$ac_arg; break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ done
+ CC=$ac_save_CC
+ 
+@@ -1361,10 +1959,10 @@
+ 
+ case "x$ac_cv_prog_cc_stdc" in
+   x|xno)
+-    echo "configure:1237: result: none needed" >&5
++    echo "configure:1962: result: none needed" >&5
+ echo "${ECHO_T}none needed" >&6 ;;
+   *)
+-    echo "configure:1240: result: $ac_cv_prog_cc_stdc" >&5
++    echo "configure:1965: result: $ac_cv_prog_cc_stdc" >&5
+ echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
+     CC="$CC $ac_cv_prog_cc_stdc" ;;
+ esac
+@@ -1399,11 +1997,12 @@
+ # SunOS /usr/etc/install
+ # IRIX /sbin/install
+ # AIX /bin/install
++# AmigaOS /C/install, which installs bootblocks on floppy discs
+ # 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 "configure:1277: checking for a BSD compatible install" >&5
++echo "configure:2005: checking for a BSD compatible install" >&5
+ echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
+ if test -z "$INSTALL"; then
+ if test "${ac_cv_path_install+set}" = set; then
+@@ -1413,19 +2012,21 @@
+   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/*) ;;
++    / | ./ | .// | /cC/* \
++    | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
++    | /usr/ucb/* ) ;;
+     *)
+       # OSF1 and SCO ODT 3.0 have their own names for install.
+       # Don't use installbsd from OSF since it installs stuff as root
+       # by default.
+       for ac_prog in ginstall scoinst install; do
+-        if test -f $ac_dir/$ac_prog; then
++        if test -f "$ac_dir/$ac_prog"; then
+ 	  if test $ac_prog = install &&
+-            grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
++            grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
+ 	    # AIX install.  It has an incompatible calling convention.
+ 	    :
+ 	  elif test $ac_prog = install &&
+-	    grep pwplus $ac_dir/$ac_prog >/dev/null 2>&1; then
++	    grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
+ 	    # program-specific install script used by HP pwplus--don't use.
+ 	    :
+ 	  else
+@@ -1450,7 +2051,7 @@
+     INSTALL=$ac_install_sh
+   fi
+ fi
+-echo "configure:1323: result: $INSTALL" >&5
++echo "configure:2054: result: $INSTALL" >&5
+ echo "${ECHO_T}$INSTALL" >&6
+ 
+ # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
+@@ -1461,7 +2062,7 @@
+ 
+ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
+ 
+-echo "configure:1330: checking whether build environment is sane" >&5
++echo "configure:2065: checking whether build environment is sane" >&5
+ echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
+ # Just in case
+ sleep 1
+@@ -1498,7 +2099,7 @@
+ Check your system clock" >&2; exit 1; }
+ fi
+ rm -f conftest*
+-echo "configure:1365: result: yes" >&5
++echo "configure:2102: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ if test "$program_transform_name" = s,x,x,; then
+   program_transform_name=
+@@ -1520,7 +2121,8 @@
+ test -z "$program_transform_name" && program_transform_name="s,x,x,"
+ 
+ test x"${MISSING+set}" = xset || \
+-  MISSING="\${SHELL} `CDPATH=: && cd $ac_aux_dir && pwd`/missing"
++  MISSING="\${SHELL} `CDPATH=:; cd $ac_aux_dir && pwd`/missing"
++# Use eval to expand $SHELL
+ if eval "$MISSING --run :"; then
+   am_missing_run="$MISSING --run "
+ else
+@@ -1531,9 +2133,9 @@
+ 
+ for ac_prog in mawk gawk nawk awk
+ do
+-# Extract the first word of "$ac_prog", so it can be a program name with args.
++  # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+-echo "configure:1397: checking for $ac_word" >&5
++echo "configure:2138: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_AWK+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -1546,7 +2148,7 @@
+ for ac_dir in $ac_dummy; do
+   IFS=$ac_save_IFS
+   test -z "$ac_dir" && ac_dir=.
+-  test -f $ac_dir/$ac_word || continue
++  test -f "$ac_dir/$ac_word" || continue
+ ac_cv_prog_AWK="$ac_prog"
+ break
+ done
+@@ -1555,17 +2157,17 @@
+ fi
+ AWK=$ac_cv_prog_AWK
+ if test -n "$AWK"; then
+-  echo "configure:1418: result: $AWK" >&5
++  echo "configure:2160: result: $AWK" >&5
+ echo "${ECHO_T}$AWK" >&6
+ else
+-  echo "configure:1421: result: no" >&5
++  echo "configure:2163: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+-test -n "$AWK" && break
++  test -n "$AWK" && break
+ done
+ 
+-echo "configure:1426: checking whether ${MAKE-make} sets \${MAKE}" >&5
++echo "configure:2170: checking whether ${MAKE-make} sets \${MAKE}" >&5
+ echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
+ set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
+ if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
+@@ -1585,11 +2187,11 @@
+ rm -f conftestmake
+ fi
+ if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
+-  echo "configure:1446: result: yes" >&5
++  echo "configure:2190: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+   SET_MAKE=
+ else
+-  echo "configure:1450: result: no" >&5
++  echo "configure:2194: result: no" >&5
+ echo "${ECHO_T}no" >&6
+   SET_MAKE="MAKE=${MAKE-make}"
+ fi
+@@ -1598,7 +2200,7 @@
+ if test "${enable_dependency_tracking+set}" = set; then
+   enableval="$enable_dependency_tracking"
+ 
+-fi
++fi;
+ if test "x$enable_dependency_tracking" = xno; then
+   AMDEP="#"
+ else
+@@ -1625,7 +2227,7 @@
+ ac_config_commands="$ac_config_commands default-2"
+ 
+ # test to see if srcdir already configured
+-if test "`CDPATH=: && cd $srcdir && pwd`" != "`pwd`" &&
++if test "`CDPATH=:; cd $srcdir && pwd`" != "`pwd`" &&
+    test -f $srcdir/config.status; then
+   { echo "configure: error: source directory already configured; run \"make distclean\" there first" >&2; exit 1; }
+ fi
+@@ -1663,9 +2265,12 @@
+          install_sh="`echo $install_sh | sed -e 's/\${SHELL}//'`"
+ fi
+ 
++# We need awk for the "check" target.  The system "awk" is bad on
++# some platforms.
++
+ depcc="$CC"
+ depcpp="$CPP"
+-echo "configure:1508: checking dependency style of $depcc" >&5
++echo "configure:2273: checking dependency style of $depcc" >&5
+ echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
+ if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -1689,10 +2294,13 @@
+       ;;
+     none) break ;;
+     esac
++    # We check with `-c' and `-o' for the sake of the "dashmstdout"
++    # mode.  It turns out that the SunPro C++ compiler does not properly
++    # handle `-M -o', and we need to detect this.
+     if depmode="$depmode" \
+        source=conftest.c object=conftest.o \
+        depfile=conftest.Po tmpdepfile=conftest.TPo \
+-       $SHELL $am_depcomp $depcc -c conftest.c 2>/dev/null &&
++       $SHELL $am_depcomp $depcc -c conftest.c -o conftest.o 2>/dev/null &&
+        grep conftest.h conftest.Po > /dev/null 2>&1; then
+       am_cv_CC_dependencies_compiler_type="$depmode"
+       break
+@@ -1706,7 +2314,7 @@
+ 
+ fi
+ 
+-echo "configure:1544: result: $am_cv_CC_dependencies_compiler_type" >&5
++echo "configure:2317: result: $am_cv_CC_dependencies_compiler_type" >&5
+ echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
+ CCDEPMODE="depmode=$am_cv_CC_dependencies_compiler_type"
+ 
+@@ -1714,7 +2322,7 @@
+ $ac_config_sub sun4 >/dev/null 2>&1 ||
+   { echo "configure: error: cannot run $ac_config_sub" >&2; exit 1; }
+ 
+-echo "configure:1550: checking build system type" >&5
++echo "configure:2325: checking build system type" >&5
+ echo $ECHO_N "checking build system type... $ECHO_C" >&6
+ if test "${ac_cv_build+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -1727,14 +2335,14 @@
+ ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || exit 1
+ 
+ fi
+-echo "configure:1562: result: $ac_cv_build" >&5
++echo "configure:2338: result: $ac_cv_build" >&5
+ echo "${ECHO_T}$ac_cv_build" >&6
+ build=$ac_cv_build
+ build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
+ build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
+ build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
+ 
+-echo "configure:1568: checking host system type" >&5
++echo "configure:2345: checking host system type" >&5
+ echo $ECHO_N "checking host system type... $ECHO_C" >&6
+ if test "${ac_cv_host+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -1745,7 +2353,7 @@
+ ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || exit 1
+ 
+ fi
+-echo "configure:1578: result: $ac_cv_host" >&5
++echo "configure:2356: result: $ac_cv_host" >&5
+ echo "${ECHO_T}$ac_cv_host" >&6
+ host=$ac_cv_host
+ host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
+@@ -1791,9 +2399,9 @@
+ 
+ for ac_prog in 'bison -y' byacc
+ do
+-# Extract the first word of "$ac_prog", so it can be a program name with args.
++  # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+-echo "configure:1620: checking for $ac_word" >&5
++echo "configure:2404: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_YACC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -1806,7 +2414,7 @@
+ for ac_dir in $ac_dummy; do
+   IFS=$ac_save_IFS
+   test -z "$ac_dir" && ac_dir=.
+-  test -f $ac_dir/$ac_word || continue
++  test -f "$ac_dir/$ac_word" || continue
+ ac_cv_prog_YACC="$ac_prog"
+ break
+ done
+@@ -1815,22 +2423,22 @@
+ fi
+ YACC=$ac_cv_prog_YACC
+ if test -n "$YACC"; then
+-  echo "configure:1641: result: $YACC" >&5
++  echo "configure:2426: result: $YACC" >&5
+ echo "${ECHO_T}$YACC" >&6
+ else
+-  echo "configure:1644: result: no" >&5
++  echo "configure:2429: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+-test -n "$YACC" && break
++  test -n "$YACC" && break
+ done
+ test -n "$YACC" || YACC="yacc"
+ 
+ for ac_prog in flex lex
+ do
+-# Extract the first word of "$ac_prog", so it can be a program name with args.
++  # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+-echo "configure:1654: checking for $ac_word" >&5
++echo "configure:2441: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_LEX+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -1843,7 +2451,7 @@
+ for ac_dir in $ac_dummy; do
+   IFS=$ac_save_IFS
+   test -z "$ac_dir" && ac_dir=.
+-  test -f $ac_dir/$ac_word || continue
++  test -f "$ac_dir/$ac_word" || continue
+ ac_cv_prog_LEX="$ac_prog"
+ break
+ done
+@@ -1852,20 +2460,22 @@
+ fi
+ LEX=$ac_cv_prog_LEX
+ if test -n "$LEX"; then
+-  echo "configure:1675: result: $LEX" >&5
++  echo "configure:2463: result: $LEX" >&5
+ echo "${ECHO_T}$LEX" >&6
+ else
+-  echo "configure:1678: result: no" >&5
++  echo "configure:2466: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+-test -n "$LEX" && break
++  test -n "$LEX" && break
+ done
+ test -n "$LEX" || LEX="${am_missing_run}flex"
+ 
+-# Extract the first word of "flex", so it can be a program name with args.
+-set dummy flex; ac_word=$2
+-echo "configure:1686: checking for $ac_word" >&5
++for ac_prog in flex lex
++do
++  # Extract the first word of "$ac_prog", so it can be a program name with args.
++set dummy $ac_prog; ac_word=$2
++echo "configure:2478: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_LEX+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -1878,44 +2488,38 @@
+ for ac_dir in $ac_dummy; do
+   IFS=$ac_save_IFS
+   test -z "$ac_dir" && ac_dir=.
+-  test -f $ac_dir/$ac_word || continue
+-ac_cv_prog_LEX="flex"
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_LEX="$ac_prog"
+ break
+ done
+ 
+-  test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX="lex"
+ fi
+ fi
+ LEX=$ac_cv_prog_LEX
+ if test -n "$LEX"; then
+-  echo "configure:1708: result: $LEX" >&5
++  echo "configure:2500: result: $LEX" >&5
+ echo "${ECHO_T}$LEX" >&6
+ else
+-  echo "configure:1711: result: no" >&5
++  echo "configure:2503: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
++  test -n "$LEX" && break
++done
++test -n "$LEX" || LEX=":"
++
+ if test -z "$LEXLIB"
+ then
+-  case $LEX in
+-  flex*) ac_lib=fl ;;
+-  *) ac_lib=l ;;
+-  esac
+ 
+-ac_ac_Lib=`echo "ac_cv_lib_$ac_lib_yywrap" | $ac_tr_sh`
+-case "${LDFLAGS+set} $ac_configure_args" in
+- *" LDFLAGS="* );;
+- "set "*) ac_configure_args="LDFLAGS='$LDFLAGS' $ac_configure_args";;
+-esac
+-echo "configure:1725: checking for yywrap in -l$ac_lib" >&5
+-echo $ECHO_N "checking for yywrap in -l$ac_lib... $ECHO_C" >&6
+-if eval "test \"\${$ac_ac_Lib+set}\" = set"; then
++echo "configure:2514: checking for yywrap in -lfl" >&5
++echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
++if test "${ac_cv_lib_fl_yywrap+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   ac_check_lib_save_LIBS=$LIBS
+-LIBS="-l$ac_lib  $LIBS"
+-cat >conftest.$ac_ext <<EOF
+-#line 1733 "configure"
++LIBS="-lfl  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line 2522 "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -1932,26 +2536,73 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:1750: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+-  eval "$ac_ac_Lib=yes"
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:2541: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  ac_cv_lib_fl_yywrap=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+-  eval "$ac_ac_Lib=no"
++  ac_cv_lib_fl_yywrap=no
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "configure:1760: result: `eval echo '${'$ac_ac_Lib'}'`" >&5
+-echo "${ECHO_T}`eval echo '${'$ac_ac_Lib'}'`" >&6
+-if test `eval echo '${'$ac_ac_Lib'}'` = yes; then
+-  LEXLIB="-l$ac_lib"
++echo "configure:2551: result: $ac_cv_lib_fl_yywrap" >&5
++echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
++if test $ac_cv_lib_fl_yywrap = yes; then
++  LEXLIB="-lfl"
++else
++
++echo "configure:2557: checking for yywrap in -ll" >&5
++echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
++if test "${ac_cv_lib_l_yywrap+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ll  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line 2565 "configure"
++#include "confdefs.h"
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char yywrap ();
++int
++main ()
++{
++yywrap ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:2584: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  ac_cv_lib_l_yywrap=yes
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_lib_l_yywrap=no
++fi
++rm -f conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "configure:2594: result: $ac_cv_lib_l_yywrap" >&5
++echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
++if test $ac_cv_lib_l_yywrap = yes; then
++  LEXLIB="-ll"
++fi
++
+ fi
+ 
+ fi
+ 
+-echo "configure:1766: checking lex output file root" >&5
++if test "x$LEX" != "x:"; then
++  echo "configure:2605: checking lex output file root" >&5
+ echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
+ if test "${ac_cv_prog_lex_root+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -1968,11 +2619,11 @@
+   { echo "configure: error: cannot find output from $LEX; giving up" >&2; exit 1; }
+ fi
+ fi
+-echo "configure:1783: result: $ac_cv_prog_lex_root" >&5
++echo "configure:2622: result: $ac_cv_prog_lex_root" >&5
+ echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
+ LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
+ 
+-echo "configure:1786: checking whether yytext is a pointer" >&5
++echo "configure:2626: checking whether yytext is a pointer" >&5
+ echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
+ if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -1984,21 +2635,22 @@
+ echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
+ ac_save_LIBS=$LIBS
+ LIBS="$LIBS $LEXLIB"
+-cat >conftest.$ac_ext <<EOF
++cat >conftest.$ac_ext <<_ACEOF
+ `cat $LEX_OUTPUT_ROOT.c`
+-EOF
+-if { (eval echo configure:1801: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:2642: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_prog_lex_yytext_pointer=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_save_LIBS
+ rm -f "${LEX_OUTPUT_ROOT}.c"
+ 
+ fi
+-echo "configure:1811: result: $ac_cv_prog_lex_yytext_pointer" >&5
++echo "configure:2653: result: $ac_cv_prog_lex_yytext_pointer" >&5
+ echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
+ if test $ac_cv_prog_lex_yytext_pointer = yes; then
+ 
+@@ -2008,43 +2660,83 @@
+ 
+ fi
+ 
+-# Extract the first word of "ranlib", so it can be a program name with args.
++fi
++
++if test -n "$ac_tool_prefix"; then
++  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
++set dummy ${ac_tool_prefix}ranlib; ac_word=$2
++echo "configure:2668: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_RANLIB+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$RANLIB"; then
++  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
++else
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
++  IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
++break
++done
++
++fi
++fi
++RANLIB=$ac_cv_prog_RANLIB
++if test -n "$RANLIB"; then
++  echo "configure:2690: result: $RANLIB" >&5
++echo "${ECHO_T}$RANLIB" >&6
++else
++  echo "configure:2693: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++fi
++if test -z "$ac_cv_prog_RANLIB"; then
++  ac_ct_RANLIB=$RANLIB
++  # Extract the first word of "ranlib", so it can be a program name with args.
+ set dummy ranlib; ac_word=$2
+-echo "configure:1820: checking for $ac_word" >&5
++echo "configure:2702: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+-if test "${ac_cv_prog_RANLIB+set}" = set; then
++if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  if test -n "$RANLIB"; then
+-  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
++  if test -n "$ac_ct_RANLIB"; then
++  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
+ else
+   ac_save_IFS=$IFS; IFS=':'
+ ac_dummy="$PATH"
+ for ac_dir in $ac_dummy; do
+   IFS=$ac_save_IFS
+   test -z "$ac_dir" && ac_dir=.
+-  test -f $ac_dir/$ac_word || continue
+-ac_cv_prog_RANLIB="ranlib"
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_ac_ct_RANLIB="ranlib"
+ break
+ done
+ 
+-  test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
++  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
+ fi
+ fi
+-RANLIB=$ac_cv_prog_RANLIB
+-if test -n "$RANLIB"; then
+-  echo "configure:1842: result: $RANLIB" >&5
+-echo "${ECHO_T}$RANLIB" >&6
++ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
++if test -n "$ac_ct_RANLIB"; then
++  echo "configure:2725: result: $ac_ct_RANLIB" >&5
++echo "${ECHO_T}$ac_ct_RANLIB" >&6
+ else
+-  echo "configure:1845: result: no" >&5
++  echo "configure:2728: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
++  RANLIB=$ac_ct_RANLIB
++fi
++
+ for ac_prog in mawk gawk nawk awk
+ do
+-# Extract the first word of "$ac_prog", so it can be a program name with args.
++  # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+-echo "configure:1852: checking for $ac_word" >&5
++echo "configure:2739: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_AWK+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -2057,7 +2749,7 @@
+ for ac_dir in $ac_dummy; do
+   IFS=$ac_save_IFS
+   test -z "$ac_dir" && ac_dir=.
+-  test -f $ac_dir/$ac_word || continue
++  test -f "$ac_dir/$ac_word" || continue
+ ac_cv_prog_AWK="$ac_prog"
+ break
+ done
+@@ -2066,17 +2758,17 @@
+ fi
+ AWK=$ac_cv_prog_AWK
+ if test -n "$AWK"; then
+-  echo "configure:1873: result: $AWK" >&5
++  echo "configure:2761: result: $AWK" >&5
+ echo "${ECHO_T}$AWK" >&6
+ else
+-  echo "configure:1876: result: no" >&5
++  echo "configure:2764: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+-test -n "$AWK" && break
++  test -n "$AWK" && break
+ done
+ 
+-echo "configure:1881: checking for ln -s or something else" >&5
++echo "configure:2771: checking for ln -s or something else" >&5
+ echo $ECHO_N "checking for ln -s or something else... $ECHO_C" >&6
+ if test "${ac_cv_prog_LN_S+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -2097,14 +2789,14 @@
+ fi
+ fi
+ LN_S="$ac_cv_prog_LN_S"
+-echo "configure:1902: result: $ac_cv_prog_LN_S" >&5
++echo "configure:2792: result: $ac_cv_prog_LN_S" >&5
+ echo "${ECHO_T}$ac_cv_prog_LN_S" >&6
+ 
+ # Check whether --with-mips_abi or --without-mips_abi was given.
+ if test "${with_mips_abi+set}" = set; then
+   withval="$with_mips_abi"
+ 
+-fi
++fi;
+ 
+ case "$host_os" in
+ irix*)
+@@ -2129,7 +2821,7 @@
+ esac
+ if test -n "$abi" ; then
+ ac_foo=krb_cv_gcc_`echo $abi | tr =- __`
+-echo "configure:1929: checking if $CC supports the $abi option" >&5
++echo "configure:2824: checking if $CC supports the $abi option" >&5
+ echo $ECHO_N "checking if $CC supports the $abi option... $ECHO_C" >&6
+ if eval "test \"\${$ac_foo+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -2137,8 +2829,8 @@
+ 
+ save_CFLAGS="$CFLAGS"
+ CFLAGS="$CFLAGS $abi"
+-cat >conftest.$ac_ext <<EOF
+-#line 1937 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 2833 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -2148,21 +2840,22 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:1947: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:2845: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval $ac_foo=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval $ac_foo=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ CFLAGS="$save_CFLAGS"
+ 
+ fi
+ 
+ ac_res=`eval echo \\\$$ac_foo`
+-echo "configure:1958: result: $ac_res" >&5
++echo "configure:2858: result: $ac_res" >&5
+ echo "${ECHO_T}$ac_res" >&6
+ if test $ac_res = no; then
+ # Try to figure out why that failed...
+@@ -2170,8 +2863,8 @@
+ 	-mabi=32)
+ 	save_CFLAGS="$CFLAGS"
+ 	CFLAGS="$CFLAGS -mabi=n32"
+-	cat >conftest.$ac_ext <<EOF
+-#line 1967 "configure"
++	cat >conftest.$ac_ext <<_ACEOF
++#line 2867 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -2181,15 +2874,16 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:1977: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:2879: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_res=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_res=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ 	CLAGS="$save_CFLAGS"
+ 	if test $ac_res = yes; then
+ 		# New GCC
+@@ -2227,14 +2921,14 @@
+ CC="$CC $abi"
+ libdir="$libdir$abilibdirext"
+ 
+-echo "configure:2020: checking for __attribute__" >&5
++echo "configure:2924: checking for __attribute__" >&5
+ echo $ECHO_N "checking for __attribute__... $ECHO_C" >&6
+ if test "${ac_cv___attribute__+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-cat >conftest.$ac_ext <<EOF
+-#line 2026 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 2931 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdlib.h>
+@@ -2254,15 +2948,16 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:2042: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:2953: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv___attribute__=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv___attribute__=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ 
+ if test "$ac_cv___attribute__" = "yes"; then
+@@ -2272,7 +2967,7 @@
+ EOF
+ 
+ fi
+-echo "configure:2056: result: $ac_cv___attribute__" >&5
++echo "configure:2970: result: $ac_cv___attribute__" >&5
+ echo "${ECHO_T}$ac_cv___attribute__" >&6
+ 
+ # Check whether --enable-shared or --disable-shared was given.
+@@ -2296,7 +2991,7 @@
+ esac
+ else
+   enable_shared=no
+-fi
++fi;
+ # Check whether --enable-static or --disable-static was given.
+ if test "${enable_static+set}" = set; then
+   enableval="$enable_static"
+@@ -2318,7 +3013,7 @@
+ esac
+ else
+   enable_static=yes
+-fi
++fi;
+ # Check whether --enable-fast-install or --disable-fast-install was given.
+ if test "${enable_fast_install+set}" = set; then
+   enableval="$enable_fast_install"
+@@ -2340,26 +3035,21 @@
+ esac
+ else
+   enable_fast_install=yes
+-fi
++fi;
++
+ # Check whether --with-gnu-ld or --without-gnu-ld was given.
+ if test "${with_gnu_ld+set}" = set; then
+   withval="$with_gnu_ld"
+   test "$withval" = no || with_gnu_ld=yes
+ else
+   with_gnu_ld=no
+-fi
++fi;
+ ac_prog=ld
+-if test "$ac_cv_prog_gcc" = yes; then
++if test "$ac_cv_c_compiler_gnu" = yes; then
+   # Check if gcc -print-prog-name=ld gives a path.
+-  echo "configure:2134: checking for ld used by GCC" >&5
++  echo "configure:3050: checking for ld used by GCC" >&5
+ echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
+-  case $host in
+-  *-*-mingw*)
+-    # gcc leaves a trailing carriage return which upsets mingw
+-    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
+-  *)
+-    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
+-  esac
++  ac_prog=`($CC -print-prog-name=ld) 2>&5`
+   case "$ac_prog" in
+     # Accept absolute paths.
+     [\\/]* | [A-Za-z]:[\\/]*)
+@@ -2381,10 +3071,10 @@
+     ;;
+   esac
+ elif test "$with_gnu_ld" = yes; then
+-  echo "configure:2164: checking for GNU ld" >&5
++  echo "configure:3074: checking for GNU ld" >&5
+ echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
+ else
+-  echo "configure:2167: checking for non-GNU ld" >&5
++  echo "configure:3077: checking for non-GNU ld" >&5
+ echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
+ fi
+ if test "${ac_cv_path_LD+set}" = set; then
+@@ -2414,14 +3104,14 @@
+ 
+ LD="$ac_cv_path_LD"
+ if test -n "$LD"; then
+-  echo "configure:2196: result: $LD" >&5
++  echo "configure:3107: result: $LD" >&5
+ echo "${ECHO_T}$LD" >&6
+ else
+-  echo "configure:2199: result: no" >&5
++  echo "configure:3110: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" >&2; exit 1; }
+-echo "configure:2203: checking if the linker ($LD) is GNU ld" >&5
++echo "configure:3114: checking if the linker ($LD) is GNU ld" >&5
+ echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
+ if test "${ac_cv_prog_gnu_ld+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -2433,23 +3123,10 @@
+   ac_cv_prog_gnu_ld=no
+ fi
+ fi
+-echo "configure:2215: result: $ac_cv_prog_gnu_ld" >&5
++echo "configure:3126: result: $ac_cv_prog_gnu_ld" >&5
+ echo "${ECHO_T}$ac_cv_prog_gnu_ld" >&6
+-with_gnu_ld=$ac_cv_prog_gnu_ld
+-
+-echo "configure:2218: checking for $LD option to reload object files" >&5
+-echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
+-if test "${lt_cv_ld_reload_flag+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  lt_cv_ld_reload_flag='-r'
+-fi
+-echo "configure:2225: result: $lt_cv_ld_reload_flag" >&5
+-echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
+-reload_flag=$lt_cv_ld_reload_flag
+-test -n "$reload_flag" && reload_flag=" $reload_flag"
+ 
+-echo "configure:2229: checking for BSD-compatible nm" >&5
++echo "configure:3129: checking for BSD-compatible nm" >&5
+ echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
+ if test "${ac_cv_path_NM+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -2461,19 +3138,18 @@
+   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
+   for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
+     test -z "$ac_dir" && ac_dir=.
+-    tmp_nm=$ac_dir/${ac_tool_prefix}nm
+-    if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
++    if test -f $ac_dir/nm || test -f $ac_dir/nm$ac_exeext ; then
+       # Check to see if the nm accepts a BSD-compat flag.
+       # Adding the `sed 1q' prevents false positives on HP-UX, which says:
+       #   nm: unknown option "B" ignored
+-      if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
+-	ac_cv_path_NM="$tmp_nm -B"
++      if ($ac_dir/nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
++	ac_cv_path_NM="$ac_dir/nm -B"
+ 	break
+-      elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
+-	ac_cv_path_NM="$tmp_nm -p"
++      elif ($ac_dir/nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
++	ac_cv_path_NM="$ac_dir/nm -p"
+ 	break
+       else
+-	ac_cv_path_NM=${ac_cv_path_NM="$tmp_nm"} # keep the first match, but
++	ac_cv_path_NM=${ac_cv_path_NM="$ac_dir/nm"} # keep the first match, but
+ 	continue # so that we can try to find one that supports BSD flags
+       fi
+     fi
+@@ -2483,487 +3159,64 @@
+ fi
+ fi
+ 
+-NM="$ac_cv_path_NM"
+-echo "configure:2263: result: $NM" >&5
+-echo "${ECHO_T}$NM" >&6
+-
+-echo "configure:2265: checking whether ln -s works" >&5
+-echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
+-if test "${ac_cv_prog_LN_S+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  rm -f conftest.sym conftest.file
+-echo >conftest.file
+-if ln -s conftest.file conftest.sym 2>/dev/null; then
+-  ac_cv_prog_LN_S="ln -s"
+-else
+-  ac_cv_prog_LN_S=ln
+-fi
+-fi
+-LN_S=$ac_cv_prog_LN_S
+-if test "$ac_cv_prog_LN_S" = "ln -s"; then
+-  echo "configure:2280: result: yes" >&5
+-echo "${ECHO_T}yes" >&6
+-else
+-  echo "configure:2283: result: no" >&5
+-echo "${ECHO_T}no" >&6
+-fi
+-
+-echo "configure:2286: checking how to recognise dependant libraries" >&5
+-echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
+-if test "${lt_cv_deplibs_check_method+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  lt_cv_file_magic_cmd='${MAGIC}'
+-lt_cv_file_magic_test_file=
+-lt_cv_deplibs_check_method='unknown'
+-# Need to set the preceding variable on all platforms that support
+-# interlibrary dependencies.
+-# 'none' -- dependencies not supported.
+-# `unknown' -- same as none, but documents that we really don't know.
+-# 'pass_all' -- all dependencies passed with no checks.
+-# 'test_compile' -- check by making test program.
+-# 'file_magic [regex]' -- check by looking for files in library path
+-# which responds to the $file_magic_cmd with a given egrep regex.
+-# If you have `file' or equivalent on your system and you're not sure
+-# whether `pass_all' will *always* work, you probably want this one.
+-
+-case "$host_os" in
+-aix4*)
+-  lt_cv_deplibs_check_method=pass_all
+-  ;;
+-
+-beos*)
+-  lt_cv_deplibs_check_method=pass_all
+-  ;;
+-
+-bsdi4*)
+-    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
+-    lt_cv_file_magic_cmd='/usr/bin/file -L'
+-  lt_cv_file_magic_test_file=/shlib/libc.so
+-  ;;
+-
+-cygwin* | mingw*)
+-  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
+-  lt_cv_file_magic_cmd='${OBJDUMP} -f'
+-  ;;
+-
+-freebsd*)
+-  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
+-    case "$host_cpu" in
+-    i*86 )
+-            lt_cv_deplibs_check_method=='file_magic OpenBSD/i[3-9]86 demand paged shared library'
+-            lt_cv_file_magic_cmd=/usr/bin/file
+-      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
+-      ;;
+-    esac
+-  else
+-    lt_cv_deplibs_check_method=pass_all
+-  fi
+-  ;;
+-
+-gnu*)
+-  lt_cv_deplibs_check_method=pass_all
+-  ;;
+-
+-hpux10.20*)
+-  # TODO:  Does this work for hpux-11 too?
+-  lt_cv_deplibs_check_method='file_magic (s0-90-90-9|PA-RISC0-9.0-9) shared library'
+-  lt_cv_file_magic_cmd=/usr/bin/file
+-  lt_cv_file_magic_test_file=/usr/lib/libc.sl
+-  ;;
+-
+-irix5* | irix6*)
+-  case "$host_os" in
+-  irix5*)
+-    # this will be overridden with pass_all, but let us keep it just in case
+-    lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
+-    ;;
+-  *)
+-    case "$LD" in
+-    *-32|*"-32 ") libmagic=32-bit;;
+-    *-n32|*"-n32 ") libmagic=N32;;
+-    *-64|*"-64 ") libmagic=64-bit;;
+-    *) libmagic=never-match;;
+-    esac
+-    # this will be overridden with pass_all, but let us keep it just in case
+-        lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
+-        ;;
+-  esac
+-  lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
+-  lt_cv_deplibs_check_method=pass_all
+-  ;;
+-
+-# This must be Linux ELF.
+-linux-gnu*)
+-  case "$host_cpu" in
+-  alpha* | i*86 | powerpc* | sparc* | ia64* )
+-    lt_cv_deplibs_check_method=pass_all ;;
+-  *)
+-    # glibc up to 2.1.1 does not perform some relocations on ARM
+-        lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
+-      esac
+-  lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
+-  ;;
+-
+-netbsd*)
+-  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then :
+-  else
+-        lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
+-        lt_cv_file_magic_cmd='/usr/bin/file -L'
+-    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
+-  fi
+-  ;;
+-
+-osf3* | osf4* | osf5*)
+-  # this will be overridden with pass_all, but let us keep it just in case
+-  lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
+-  lt_cv_file_magic_test_file=/shlib/libc.so
+-  lt_cv_deplibs_check_method=pass_all
+-  ;;
+-
+-sco3.2v5*)
+-  lt_cv_deplibs_check_method=pass_all
+-  ;;
+-
+-solaris*)
+-  lt_cv_deplibs_check_method=pass_all
+-  lt_cv_file_magic_test_file=/lib/libc.so
+-  ;;
+-
+-sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
+-  case "$host_vendor" in
+-  ncr)
+-    lt_cv_deplibs_check_method=pass_all
+-    ;;
+-  motorola)
+-        lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
+-        lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
+-    ;;
+-  esac
+-  ;;
+-esac
+-
+-fi
+-echo "configure:2407: result: $lt_cv_deplibs_check_method" >&5
+-echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
+-file_magic_cmd=$lt_cv_file_magic_cmd
+-deplibs_check_method=$lt_cv_deplibs_check_method
+-
+-# Only perform the check for file, if the check method requires it
+-case "$deplibs_check_method" in
+-file_magic*)
+-  if test "$file_magic_cmd" = '${MAGIC}'; then
+-    echo "configure:2415: checking for ${ac_tool_prefix}file" >&5
+-echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
+-if test "${lt_cv_path_MAGIC+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  case "$MAGIC" in
+-  /*)
+-  lt_cv_path_MAGIC="$MAGIC" # Let the user override the test with a path.
+-  ;;
+-  ?:/*)
+-  ac_cv_path_MAGIC="$MAGIC" # Let the user override the test with a dos path.
+-  ;;
+-  *)
+-  ac_save_MAGIC="$MAGIC"
+-  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
+-  ac_dummy="/usr/bin:$PATH"
+-  for ac_dir in $ac_dummy; do
+-    test -z "$ac_dir" && ac_dir=.
+-    if test -f $ac_dir/${ac_tool_prefix}file; then
+-      lt_cv_path_MAGIC="$ac_dir/${ac_tool_prefix}file"
+-      if test -n "$file_magic_test_file"; then
+-	case "$deplibs_check_method" in
+-	"file_magic "*)
+-	  file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
+-	  MAGIC="$lt_cv_path_MAGIC"
+-	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
+-	    egrep "$file_magic_regex" > /dev/null; then
+-	    :
+-	  else
+-	    cat <<EOF 1>&2
+-
+-*** Warning: the command libtool uses to detect shared libraries,
+-*** $file_magic_cmd, produces output that libtool cannot recognize.
+-*** The result is that libtool may fail to recognize shared libraries
+-*** as such.  This will affect the creation of libtool libraries that
+-*** depend on shared libraries, but programs linked with such libtool
+-*** libraries will work regardless of this problem.  Nevertheless, you
+-*** may want to report the problem to your system manager and/or to
+-*** bug-libtool@gnu.org
+-
+-EOF
+-	  fi ;;
+-	esac
+-      fi
+-      break
+-    fi
+-  done
+-  IFS="$ac_save_ifs"
+-  MAGIC="$ac_save_MAGIC"
+-  ;;
+-esac
+-fi
+-
+-MAGIC="$lt_cv_path_MAGIC"
+-if test -n "$MAGIC"; then
+-  echo "configure:2467: result: $MAGIC" >&5
+-echo "${ECHO_T}$MAGIC" >&6
+-else
+-  echo "configure:2470: result: no" >&5
+-echo "${ECHO_T}no" >&6
+-fi
+-
+-if test -z "$lt_cv_path_MAGIC"; then
+-  if test -n "$ac_tool_prefix"; then
+-    echo "configure:2475: checking for file" >&5
+-echo $ECHO_N "checking for file... $ECHO_C" >&6
+-if test "${lt_cv_path_MAGIC+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  case "$MAGIC" in
+-  /*)
+-  lt_cv_path_MAGIC="$MAGIC" # Let the user override the test with a path.
+-  ;;
+-  ?:/*)
+-  ac_cv_path_MAGIC="$MAGIC" # Let the user override the test with a dos path.
+-  ;;
+-  *)
+-  ac_save_MAGIC="$MAGIC"
+-  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
+-  ac_dummy="/usr/bin:$PATH"
+-  for ac_dir in $ac_dummy; do
+-    test -z "$ac_dir" && ac_dir=.
+-    if test -f $ac_dir/file; then
+-      lt_cv_path_MAGIC="$ac_dir/file"
+-      if test -n "$file_magic_test_file"; then
+-	case "$deplibs_check_method" in
+-	"file_magic "*)
+-	  file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
+-	  MAGIC="$lt_cv_path_MAGIC"
+-	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
+-	    egrep "$file_magic_regex" > /dev/null; then
+-	    :
+-	  else
+-	    cat <<EOF 1>&2
+-
+-*** Warning: the command libtool uses to detect shared libraries,
+-*** $file_magic_cmd, produces output that libtool cannot recognize.
+-*** The result is that libtool may fail to recognize shared libraries
+-*** as such.  This will affect the creation of libtool libraries that
+-*** depend on shared libraries, but programs linked with such libtool
+-*** libraries will work regardless of this problem.  Nevertheless, you
+-*** may want to report the problem to your system manager and/or to
+-*** bug-libtool@gnu.org
+-
+-EOF
+-	  fi ;;
+-	esac
+-      fi
+-      break
+-    fi
+-  done
+-  IFS="$ac_save_ifs"
+-  MAGIC="$ac_save_MAGIC"
+-  ;;
+-esac
+-fi
+-
+-MAGIC="$lt_cv_path_MAGIC"
+-if test -n "$MAGIC"; then
+-  echo "configure:2527: result: $MAGIC" >&5
+-echo "${ECHO_T}$MAGIC" >&6
+-else
+-  echo "configure:2530: result: no" >&5
+-echo "${ECHO_T}no" >&6
+-fi
+-
+-  else
+-    MAGIC=:
+-  fi
+-fi
+-
+-  fi
+-  ;;
+-esac
+-
+-# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
+-set dummy ${ac_tool_prefix}ranlib; ac_word=$2
+-echo "configure:2542: checking for $ac_word" >&5
+-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+-if test "${ac_cv_prog_RANLIB+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  if test -n "$RANLIB"; then
+-  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
+-else
+-  ac_save_IFS=$IFS; IFS=':'
+-ac_dummy="$PATH"
+-for ac_dir in $ac_dummy; do
+-  IFS=$ac_save_IFS
+-  test -z "$ac_dir" && ac_dir=.
+-  test -f $ac_dir/$ac_word || continue
+-ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
+-break
+-done
+-
+-fi
+-fi
+-RANLIB=$ac_cv_prog_RANLIB
+-if test -n "$RANLIB"; then
+-  echo "configure:2563: result: $RANLIB" >&5
+-echo "${ECHO_T}$RANLIB" >&6
+-else
+-  echo "configure:2566: result: no" >&5
+-echo "${ECHO_T}no" >&6
+-fi
+-
+-if test -z "$ac_cv_prog_RANLIB"; then
+-  if test -n "$ac_tool_prefix"; then
+-    # Extract the first word of "ranlib", so it can be a program name with args.
+-set dummy ranlib; ac_word=$2
+-echo "configure:2573: checking for $ac_word" >&5
+-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+-if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  if test -n "$ac_ct_RANLIB"; then
+-  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
+-else
+-  ac_save_IFS=$IFS; IFS=':'
+-ac_dummy="$PATH"
+-for ac_dir in $ac_dummy; do
+-  IFS=$ac_save_IFS
+-  test -z "$ac_dir" && ac_dir=.
+-  test -f $ac_dir/$ac_word || continue
+-ac_cv_prog_ac_ct_RANLIB="ranlib"
+-break
+-done
+-
+-  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
+-fi
+-fi
+-ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
+-if test -n "$ac_ct_RANLIB"; then
+-  echo "configure:2595: result: $ac_ct_RANLIB" >&5
+-echo "${ECHO_T}$ac_ct_RANLIB" >&6
+-else
+-  echo "configure:2598: result: no" >&5
+-echo "${ECHO_T}no" >&6
+-fi
+-
+-    RANLIB="$ac_ct_RANLIB"
+-  else
+-    RANLIB=":"
+-  fi
+-fi
+-
+-# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
+-set dummy ${ac_tool_prefix}strip; ac_word=$2
+-echo "configure:2608: checking for $ac_word" >&5
+-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+-if test "${ac_cv_prog_STRIP+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  if test -n "$STRIP"; then
+-  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
+-else
+-  ac_save_IFS=$IFS; IFS=':'
+-ac_dummy="$PATH"
+-for ac_dir in $ac_dummy; do
+-  IFS=$ac_save_IFS
+-  test -z "$ac_dir" && ac_dir=.
+-  test -f $ac_dir/$ac_word || continue
+-ac_cv_prog_STRIP="${ac_tool_prefix}strip"
+-break
+-done
+-
+-fi
+-fi
+-STRIP=$ac_cv_prog_STRIP
+-if test -n "$STRIP"; then
+-  echo "configure:2629: result: $STRIP" >&5
+-echo "${ECHO_T}$STRIP" >&6
+-else
+-  echo "configure:2632: result: no" >&5
+-echo "${ECHO_T}no" >&6
+-fi
+-
+-if test -z "$ac_cv_prog_STRIP"; then
+-  if test -n "$ac_tool_prefix"; then
+-    # Extract the first word of "strip", so it can be a program name with args.
+-set dummy strip; ac_word=$2
+-echo "configure:2639: checking for $ac_word" >&5
+-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+-if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  if test -n "$ac_ct_STRIP"; then
+-  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
+-else
+-  ac_save_IFS=$IFS; IFS=':'
+-ac_dummy="$PATH"
+-for ac_dir in $ac_dummy; do
+-  IFS=$ac_save_IFS
+-  test -z "$ac_dir" && ac_dir=.
+-  test -f $ac_dir/$ac_word || continue
+-ac_cv_prog_ac_ct_STRIP="strip"
+-break
+-done
++NM="$ac_cv_path_NM"
++echo "configure:3163: result: $NM" >&5
++echo "${ECHO_T}$NM" >&6
+ 
+-  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
++echo "configure:3166: checking whether ln -s works" >&5
++echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
++if test "${ac_cv_prog_LN_S+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  rm -f conftest.sym conftest.file
++echo >conftest.file
++if ln -s conftest.file conftest.sym 2>/dev/null; then
++  ac_cv_prog_LN_S="ln -s"
++elif ln conftest.file conftest.sym 2>/dev/null; then
++  ac_cv_prog_LN_S=ln
++else
++  ac_cv_prog_LN_S=cp
+ fi
++rm -f conftest.sym conftest.file
+ fi
+-ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
+-if test -n "$ac_ct_STRIP"; then
+-  echo "configure:2661: result: $ac_ct_STRIP" >&5
+-echo "${ECHO_T}$ac_ct_STRIP" >&6
++LN_S=$ac_cv_prog_LN_S
++
++if test "$ac_cv_prog_LN_S" = "ln -s"; then
++  echo "configure:3185: result: yes" >&5
++echo "${ECHO_T}yes" >&6
+ else
+-  echo "configure:2664: result: no" >&5
+-echo "${ECHO_T}no" >&6
++  echo "configure:3188: result: no, using $LN_S" >&5
++echo "${ECHO_T}no, using $LN_S" >&6
+ fi
+ 
+-    STRIP="$ac_ct_STRIP"
+-  else
+-    STRIP=":"
+-  fi
+-fi
++case "$target" in
++NONE) lt_target="$host" ;;
++*) lt_target="$target" ;;
++esac
+ 
+ # Check for any special flags to pass to ltconfig.
+ libtool_flags="--cache-file=$cache_file"
+ test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
+ test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
+ test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
+-test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"
++test "$ac_cv_c_compiler_gnu" = yes && libtool_flags="$libtool_flags --with-gcc"
+ test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
+ 
+ # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
+ if test "${enable_libtool_lock+set}" = set; then
+   enableval="$enable_libtool_lock"
+ 
+-fi
++fi;
+ test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
+ test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
+ 
+-# Check whether --with-pic or --without-pic was given.
+-if test "${with_pic+set}" = set; then
+-  withval="$with_pic"
+-  pic_mode="$withval"
+-else
+-  pic_mode=default
+-fi
+-test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
+-test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
+-
+ # Some flags need to be propagated to the compiler or linker for good
+ # libtool support.
+-case "$host" in
++case "$lt_target" in
+ *-*-irix6*)
+   # Find out which ABI we are using.
+-  echo '#line 2699 "configure"' > conftest.$ac_ext
+-  if { (eval echo configure:2700: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++  echo '#line 3218 "configure"' > conftest.$ac_ext
++  if { (eval echo configure:3219: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
+     case "`/usr/bin/file conftest.o`" in
+     *32-bit*)
+       LD="${LD-ld} -32"
+@@ -2983,21 +3236,13 @@
+   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
+   SAVE_CFLAGS="$CFLAGS"
+   CFLAGS="$CFLAGS -belf"
+-  echo "configure:2719: checking whether the C compiler needs -belf" >&5
++  echo "configure:3239: checking whether the C compiler needs -belf" >&5
+ echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
+ if test "${lt_cv_cc_needs_belf+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-
+-     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 >&5'
+-ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+-ac_gnu_compiler=$ac_cv_prog_gcc
+-
+-     cat >conftest.$ac_ext <<EOF
+-#line 2731 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 3245 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -3007,24 +3252,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:2740: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:3257: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   lt_cv_cc_needs_belf=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   lt_cv_cc_needs_belf=no
+ fi
+-rm -f 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 >&5'
+-ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+-ac_gnu_compiler=$ac_cv_prog_gcc
+-
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:2755: result: $lt_cv_cc_needs_belf" >&5
++echo "configure:3266: result: $lt_cv_cc_needs_belf" >&5
+ echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
+   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
+     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
+@@ -3038,18 +3277,17 @@
+ 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.
++# scripts and configure runs, see configure's option --config-cache.
++# 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.
++# config.status only pays attention to the cache file if you give it
++# the --recheck option to rerun configure.
+ #
++# `ac_cv_env_foo' variables (set or unset) will be overriden when
++# loading this file, other *unset* `ac_cv_foo' will be assigned the
++# following values.
++
+ EOF
+ # The following way of writing the cache mishandles newlines in values,
+ # but we know of no workaround that is simple, portable, and efficient.
+@@ -3072,7 +3310,7 @@
+       ;;
+     esac;
+ } |
+-  sed 's/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/' >>confcache
++  sed '/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/' >>confcache
+ if cmp -s $cache_file confcache; then :; else
+   if test -w $cache_file; then
+     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
+@@ -3084,14 +3322,12 @@
+ rm -f confcache
+ 
+ # Actually configure libtool.  ac_aux_dir is where install-sh is found.
+-AR="$AR" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
+-MAGIC="$MAGIC" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
+-LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
+-AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
+-objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
+-deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
++CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
++LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
++LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" \
++DLLTOOL="$DLLTOOL" AS="$AS" OBJDUMP="$OBJDUMP" \
+ ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
+-$libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
++$libtool_flags $ac_aux_dir/ltmain.sh $lt_target \
+ || { echo "configure: error: libtool configure failed" >&2; exit 1; }
+ 
+ # Reload cache, that may have been modified by ltconfig
+@@ -3134,6 +3370,7 @@
+ fi
+ 
+ berkeley_db=db
++
+ # Check whether --with-berkeley-db or --without-berkeley-db was given.
+ if test "${with_berkeley_db+set}" = set; then
+   withval="$with_berkeley_db"
+@@ -3142,7 +3379,7 @@
+ 	berkeley_db=""
+ fi
+ 
+-fi
++fi;
+ if test "$berkeley_db"; then
+ 
+ for ac_header in 				\
+@@ -3151,35 +3388,41 @@
+ 
+ do
+ ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
+-case "${CPPFLAGS+set} $ac_configure_args" in
+- *" CPPFLAGS="* );;
+- "set "*) ac_configure_args="CPPFLAGS='$CPPFLAGS' $ac_configure_args";;
+-esac
+-echo "configure:2873: checking for $ac_header" >&5
++
++echo "configure:3392: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 2879 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 3398 "configure"
+ #include "confdefs.h"
+ #include <$ac_header>
+ 
+-EOF
+-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+-{ (eval echo configure:2884: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }
+-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+-if test -z "$ac_err"; then
++_ACEOF
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:3404: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++
++if test -z "$ac_cpp_err"; then
+   eval "$ac_ac_Header=yes"
+ else
+-  echo "$ac_err" >&5
++  cat conftest.err >&5
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_Header=no"
+ fi
+ rm -f conftest*
++
+ fi
+-echo "configure:2896: result: `eval echo '${'$ac_ac_Header'}'`" >&5
++echo "configure:3425: result: `eval echo '${'$ac_ac_Header'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
+ if test `eval echo '${'$ac_ac_Header'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -3191,7 +3434,7 @@
+ 
+ fi
+ 
+-echo "configure:2905: checking for dbopen" >&5
++echo "configure:3437: checking for dbopen" >&5
+ echo $ECHO_N "checking for dbopen... $ECHO_C" >&6
+ if test "${ac_cv_funclib_dbopen+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -3206,8 +3449,8 @@
+ 			ac_lib=""
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 2920 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 3453 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -3224,14 +3467,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:2936: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:3472: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_dbopen=$ac_lib; else ac_cv_funclib_dbopen=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_dbopen=\${ac_cv_funclib_dbopen-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -3246,13 +3490,13 @@
+ for ac_func in dbopen
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:2954: checking for $ac_func" >&5
++echo "configure:3493: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 2960 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 3499 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -3281,17 +3525,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:2988: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:3530: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:2997: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:3539: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -3315,13 +3560,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:3017: result: yes" >&5
++	echo "configure:3563: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_dbopen=no"
+ 	eval "LIB_dbopen="
+-	echo "configure:3023: result: no" >&5
++	echo "configure:3569: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -3335,12 +3580,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:3035: result: yes, in $ac_res" >&5
++	echo "configure:3583: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "configure:3039: checking for dbm_firstkey" >&5
++echo "configure:3588: checking for dbm_firstkey" >&5
+ echo $ECHO_N "checking for dbm_firstkey... $ECHO_C" >&6
+ if test "${ac_cv_funclib_dbm_firstkey+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -3355,8 +3600,8 @@
+ 			ac_lib=""
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 3054 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 3604 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -3366,14 +3611,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:3064: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:3616: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_dbm_firstkey=$ac_lib; else ac_cv_funclib_dbm_firstkey=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_dbm_firstkey=\${ac_cv_funclib_dbm_firstkey-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -3388,13 +3634,13 @@
+ for ac_func in dbm_firstkey
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:3082: checking for $ac_func" >&5
++echo "configure:3637: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 3088 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 3643 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -3423,17 +3669,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:3116: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:3674: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:3125: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:3683: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -3457,13 +3704,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:3145: result: yes" >&5
++	echo "configure:3707: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_dbm_firstkey=no"
+ 	eval "LIB_dbm_firstkey="
+-	echo "configure:3151: result: no" >&5
++	echo "configure:3713: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -3477,12 +3724,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:3163: result: yes, in $ac_res" >&5
++	echo "configure:3727: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "configure:3167: checking for db_create" >&5
++echo "configure:3732: checking for db_create" >&5
+ echo $ECHO_N "checking for db_create... $ECHO_C" >&6
+ if test "${ac_cv_funclib_db_create+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -3497,8 +3744,8 @@
+ 			ac_lib=""
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 3182 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 3748 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -3508,14 +3755,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:3192: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:3760: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_db_create=$ac_lib; else ac_cv_funclib_db_create=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_db_create=\${ac_cv_funclib_db_create-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -3530,13 +3778,13 @@
+ for ac_func in db_create
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:3210: checking for $ac_func" >&5
++echo "configure:3781: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 3216 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 3787 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -3565,17 +3813,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:3244: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:3818: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:3253: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:3827: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -3599,13 +3848,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:3273: result: yes" >&5
++	echo "configure:3851: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_db_create=no"
+ 	eval "LIB_db_create="
+-	echo "configure:3279: result: no" >&5
++	echo "configure:3857: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -3619,7 +3868,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:3291: result: yes, in $ac_res" >&5
++	echo "configure:3871: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -3632,32 +3881,33 @@
+ 	DBLIB="$DBLIB $LIB_dbm_firstkey"
+ fi
+ 
+-echo "configure:3302: checking for inline" >&5
++echo "configure:3884: checking for inline" >&5
+ echo $ECHO_N "checking for inline... $ECHO_C" >&6
+ if test "${ac_cv_c_inline+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   ac_cv_c_inline=no
+ for ac_kw in inline __inline__ __inline; do
+-  cat >conftest.$ac_ext <<EOF
+-#line 3310 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 3892 "configure"
+ #include "confdefs.h"
+ #ifndef __cplusplus
+ $ac_kw int foo () {return 0; }
+ #endif
+ 
+-EOF
+-if { (eval echo configure:3316: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:3900: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_c_inline=$ac_kw; break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ done
+ 
+ fi
+-echo "configure:3325: result: $ac_cv_c_inline" >&5
++echo "configure:3910: result: $ac_cv_c_inline" >&5
+ echo "${ECHO_T}$ac_cv_c_inline" >&6
+ case $ac_cv_c_inline in
+   inline | yes) ;;
+@@ -3672,13 +3922,13 @@
+  ;;
+ esac
+ 
+-echo "configure:3339: checking for an ANSI C-conforming const" >&5
++echo "configure:3925: checking for an ANSI C-conforming const" >&5
+ echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
+ if test "${ac_cv_c_const+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 3345 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 3931 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -3734,17 +3984,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:3399: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:3989: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_c_const=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_c_const=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:3408: result: $ac_cv_c_const" >&5
++echo "configure:3998: result: $ac_cv_c_const" >&5
+ echo "${ECHO_T}$ac_cv_c_const" >&6
+ if test $ac_cv_c_const = no; then
+ 
+@@ -3754,27 +4005,35 @@
+ 
+ fi
+ 
+-echo "configure:3415: checking for ANSI C header files" >&5
++echo "configure:4008: checking for ANSI C header files" >&5
+ echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
+ if test "${ac_cv_header_stdc+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 3421 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 4014 "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:3429: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }
+-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+-if test -z "$ac_err"; then
++_ACEOF
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:4023: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++
++if test -z "$ac_cpp_err"; then
+   ac_cv_header_stdc=yes
+ else
+-  echo "$ac_err" >&5
++  cat conftest.err >&5
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_header_stdc=no
+@@ -3783,12 +4042,12 @@
+ 
+ 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 3443 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 4046 "configure"
+ #include "confdefs.h"
+ #include <string.h>
+ 
+-EOF
++_ACEOF
+ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+   egrep "memchr" >/dev/null 2>&1; then
+   :
+@@ -3801,12 +4060,12 @@
+ 
+ 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 3458 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 4064 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ 
+-EOF
++_ACEOF
+ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+   egrep "free" >/dev/null 2>&1; then
+   :
+@@ -3822,8 +4081,8 @@
+   if test "$cross_compiling" = yes; then
+   :
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 3476 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 4085 "configure"
+ #include "confdefs.h"
+ #include <ctype.h>
+ #if ((' ' & 0x0FF) == 0x020)
+@@ -3847,21 +4106,22 @@
+       exit(2);
+   exit (0);
+ }
+-EOF
+-if { (eval echo configure:3500: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
+-   test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null; then
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo configure:4111: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
++   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
+   :
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_header_stdc=no
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+ 
+ fi
+ fi
+-echo "configure:3512: result: $ac_cv_header_stdc" >&5
++echo "configure:4124: result: $ac_cv_header_stdc" >&5
+ echo "${ECHO_T}$ac_cv_header_stdc" >&6
+ if test $ac_cv_header_stdc = yes; then
+ 
+@@ -3871,13 +4131,13 @@
+ 
+ fi
+ 
+-echo "configure:3519: checking for size_t" >&5
++echo "configure:4134: checking for size_t" >&5
+ echo $ECHO_N "checking for size_t... $ECHO_C" >&6
+ if test "${ac_cv_type_size_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 3525 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 4140 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -3890,17 +4150,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:3539: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:4155: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_size_t=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_size_t=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:3548: result: $ac_cv_type_size_t" >&5
++echo "configure:4164: result: $ac_cv_type_size_t" >&5
+ echo "${ECHO_T}$ac_cv_type_size_t" >&6
+ if test $ac_cv_type_size_t = yes; then
+   :
+@@ -3912,13 +4173,13 @@
+ 
+ fi
+ 
+-echo "configure:3557: checking for pid_t" >&5
++echo "configure:4176: checking for pid_t" >&5
+ echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
+ if test "${ac_cv_type_pid_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 3563 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 4182 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -3931,17 +4192,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:3577: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:4197: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_pid_t=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_pid_t=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:3586: result: $ac_cv_type_pid_t" >&5
++echo "configure:4206: result: $ac_cv_type_pid_t" >&5
+ echo "${ECHO_T}$ac_cv_type_pid_t" >&6
+ if test $ac_cv_type_pid_t = yes; then
+   :
+@@ -3953,17 +4215,17 @@
+ 
+ fi
+ 
+-echo "configure:3595: checking for uid_t in sys/types.h" >&5
++echo "configure:4218: checking for uid_t in sys/types.h" >&5
+ echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
+ if test "${ac_cv_type_uid_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 3601 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 4224 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ 
+-EOF
++_ACEOF
+ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+   egrep "uid_t" >/dev/null 2>&1; then
+   ac_cv_type_uid_t=yes
+@@ -3973,7 +4235,7 @@
+ rm -f conftest*
+ 
+ fi
+-echo "configure:3613: result: $ac_cv_type_uid_t" >&5
++echo "configure:4238: result: $ac_cv_type_uid_t" >&5
+ echo "${ECHO_T}$ac_cv_type_uid_t" >&6
+ if test $ac_cv_type_uid_t = no; then
+ 
+@@ -3987,13 +4249,13 @@
+ 
+ fi
+ 
+-echo "configure:3623: checking return type of signal handlers" >&5
++echo "configure:4252: checking return type of signal handlers" >&5
+ echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
+ if test "${ac_cv_type_signal+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 3629 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 4258 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #include <signal.h>
+@@ -4013,17 +4275,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:3649: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:4280: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_signal=void
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_signal=int
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:3658: result: $ac_cv_type_signal" >&5
++echo "configure:4289: result: $ac_cv_type_signal" >&5
+ echo "${ECHO_T}$ac_cv_type_signal" >&6
+ 
+ cat >>confdefs.h <<EOF
+@@ -4038,13 +4301,13 @@
+ 
+ fi
+ 
+-echo "configure:3669: checking whether time.h and sys/time.h may both be included" >&5
++echo "configure:4304: checking whether time.h and sys/time.h may both be included" >&5
+ echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
+ if test "${ac_cv_header_time+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 3675 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 4310 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #include <sys/time.h>
+@@ -4057,17 +4320,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:3688: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:4325: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_header_time=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_header_time=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:3697: result: $ac_cv_header_time" >&5
++echo "configure:4334: result: $ac_cv_header_time" >&5
+ echo "${ECHO_T}$ac_cv_header_time" >&6
+ if test $ac_cv_header_time = yes; then
+ 
+@@ -4080,35 +4344,41 @@
+ for ac_header in standards.h
+ do
+ ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
+-case "${CPPFLAGS+set} $ac_configure_args" in
+- *" CPPFLAGS="* );;
+- "set "*) ac_configure_args="CPPFLAGS='$CPPFLAGS' $ac_configure_args";;
+-esac
+-echo "configure:3711: checking for $ac_header" >&5
++
++echo "configure:4348: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 3717 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 4354 "configure"
+ #include "confdefs.h"
+ #include <$ac_header>
+ 
+-EOF
+-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+-{ (eval echo configure:3722: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }
+-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+-if test -z "$ac_err"; then
++_ACEOF
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:4360: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++
++if test -z "$ac_cpp_err"; then
+   eval "$ac_ac_Header=yes"
+ else
+-  echo "$ac_err" >&5
++  cat conftest.err >&5
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_Header=no"
+ fi
+ rm -f conftest*
++
+ fi
+-echo "configure:3734: result: `eval echo '${'$ac_ac_Header'}'`" >&5
++echo "configure:4381: result: `eval echo '${'$ac_ac_Header'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
+ if test `eval echo '${'$ac_ac_Header'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -4122,13 +4392,13 @@
+ 
+ cv=`echo "$i" | sed 'y%./+-%__p_%'`
+ 
+-echo "configure:3744: checking for $i" >&5
++echo "configure:4395: checking for $i" >&5
+ echo $ECHO_N "checking for $i... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_header_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 3750 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 4401 "configure"
+ #include "confdefs.h"
+ \
+ #ifdef HAVE_STANDARDS_H
+@@ -4136,21 +4406,30 @@
+ #endif
+ #include <$i>
+ 
+-EOF
+-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+-{ (eval echo configure:3759: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }
+-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+-if test -z "$ac_err"; then
++_ACEOF
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:4411: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++
++if test -z "$ac_cpp_err"; then
+   eval "ac_cv_header_$cv=yes"
+ else
+-  echo "$ac_err" >&5
++  cat conftest.err >&5
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_header_$cv=no"
+ fi
+ rm -f conftest*
++
+ fi
+-echo "configure:3771: result: `eval echo '${'ac_cv_header_$cv'}'`" >&5
++echo "configure:4432: result: `eval echo '${'ac_cv_header_$cv'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'ac_cv_header_$cv'}'`" >&6
+ ac_res=`eval echo \\$ac_cv_header_$cv`
+ if test "$ac_res" = yes; then
+@@ -4167,35 +4446,41 @@
+ for ac_header in netinet/ip.h netinet/tcp.h
+ do
+ ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
+-case "${CPPFLAGS+set} $ac_configure_args" in
+- *" CPPFLAGS="* );;
+- "set "*) ac_configure_args="CPPFLAGS='$CPPFLAGS' $ac_configure_args";;
+-esac
+-echo "configure:3790: checking for $ac_header" >&5
++
++echo "configure:4450: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 3796 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 4456 "configure"
+ #include "confdefs.h"
+ #include <$ac_header>
+ 
+-EOF
+-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+-{ (eval echo configure:3801: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }
+-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+-if test -z "$ac_err"; then
++_ACEOF
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:4462: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++
++if test -z "$ac_cpp_err"; then
+   eval "$ac_ac_Header=yes"
+ else
+-  echo "$ac_err" >&5
++  cat conftest.err >&5
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_Header=no"
+ fi
+ rm -f conftest*
++
+ fi
+-echo "configure:3813: result: `eval echo '${'$ac_ac_Header'}'`" >&5
++echo "configure:4483: result: `eval echo '${'$ac_ac_Header'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
+ if test `eval echo '${'$ac_ac_Header'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -4210,13 +4495,13 @@
+ for ac_func in getlogin setlogin
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:3825: checking for $ac_func" >&5
++echo "configure:4498: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 3831 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 4504 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -4245,17 +4530,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:3859: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:4535: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:3868: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:4544: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -4266,7 +4552,7 @@
+ done
+ 
+ if test "$ac_cv_func_getlogin" = yes; then
+-echo "configure:3877: checking if getlogin is posix" >&5
++echo "configure:4555: checking if getlogin is posix" >&5
+ echo $ECHO_N "checking if getlogin is posix... $ECHO_C" >&6
+ if test "${ac_cv_func_getlogin_posix+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -4279,7 +4565,7 @@
+ fi
+ 
+ fi
+-echo "configure:3888: result: $ac_cv_func_getlogin_posix" >&5
++echo "configure:4568: result: $ac_cv_func_getlogin_posix" >&5
+ echo "${ECHO_T}$ac_cv_func_getlogin_posix" >&6
+ if test "$ac_cv_func_getlogin_posix" = yes; then
+ 	
+@@ -4290,7 +4576,7 @@
+ fi
+ fi
+ 
+-echo "configure:3897: checking if realloc if broken" >&5
++echo "configure:4579: checking if realloc if broken" >&5
+ echo $ECHO_N "checking if realloc if broken... $ECHO_C" >&6
+ if test "${ac_cv_func_realloc_broken+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -4300,8 +4586,8 @@
+ if test "$cross_compiling" = yes; then
+   :
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 3907 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 4590 "configure"
+ #include "confdefs.h"
+ 
+ #include <stddef.h>
+@@ -4312,20 +4598,21 @@
+ 	return realloc(NULL, 17) == NULL;
+ }
+ 
+-EOF
+-if { (eval echo configure:3916: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
+-   test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null; then
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo configure:4603: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
++   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
+   :
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_func_realloc_broken=yes
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+ 
+ fi
+-echo "configure:3927: result: $ac_cv_func_realloc_broken" >&5
++echo "configure:4615: result: $ac_cv_func_realloc_broken" >&5
+ echo "${ECHO_T}$ac_cv_func_realloc_broken" >&6
+ if test "$ac_cv_func_realloc_broken" = yes ; then
+ 	
+@@ -4352,13 +4639,13 @@
+   WFLAGS_NOIMPLICITINT="-Wno-implicit-int"
+ fi
+ 
+-echo "configure:3950: checking for ssize_t" >&5
++echo "configure:4642: checking for ssize_t" >&5
+ echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
+ if test "${ac_cv_type_ssize_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 3956 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 4648 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -4366,7 +4653,7 @@
+ #include <stddef.h>
+ #endif
+ #include <unistd.h>
+-EOF
++_ACEOF
+ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+   egrep "ssize_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
+   ac_cv_type_ssize_t=yes
+@@ -4376,7 +4663,7 @@
+ rm -f conftest*
+ 
+ fi
+-echo "configure:3973: result: $ac_cv_type_ssize_t" >&5
++echo "configure:4666: result: $ac_cv_type_ssize_t" >&5
+ echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
+ if test $ac_cv_type_ssize_t = no; then
+ 
+@@ -4387,13 +4674,13 @@
+ fi
+ 
+ cv=`echo "long long" | sed 'y%./+- %__p__%'`
+-echo "configure:3981: checking for long long" >&5
++echo "configure:4677: checking for long long" >&5
+ echo $ECHO_N "checking for long long... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 3987 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 4683 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -4408,29 +4695,30 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:4002: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:4700: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_type_$cv=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_type_$cv=no"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "configure:4012: result: $ac_foo" >&5
++echo "configure:4710: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo long long | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "configure:4017: checking for long long" >&5
++	echo "configure:4715: checking for long long" >&5
+ echo $ECHO_N "checking for long long... $ECHO_C" >&6
+ if test "${ac_cv_type_long_long+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 4023 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 4721 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -4443,17 +4731,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:4037: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:4736: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_long_long=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_long_long=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:4046: result: $ac_cv_type_long_long" >&5
++echo "configure:4745: result: $ac_cv_type_long_long" >&5
+ echo "${ECHO_T}$ac_cv_type_long_long" >&6
+ if test $ac_cv_type_long_long = yes; then
+ 
+@@ -4524,35 +4813,41 @@
+ 
+ do
+ ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
+-case "${CPPFLAGS+set} $ac_configure_args" in
+- *" CPPFLAGS="* );;
+- "set "*) ac_configure_args="CPPFLAGS='$CPPFLAGS' $ac_configure_args";;
+-esac
+-echo "configure:4114: checking for $ac_header" >&5
++
++echo "configure:4817: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 4120 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 4823 "configure"
+ #include "confdefs.h"
+ #include <$ac_header>
+ 
+-EOF
+-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+-{ (eval echo configure:4125: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }
+-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+-if test -z "$ac_err"; then
++_ACEOF
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:4829: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++
++if test -z "$ac_cpp_err"; then
+   eval "$ac_ac_Header=yes"
+ else
+-  echo "$ac_err" >&5
++  cat conftest.err >&5
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_Header=no"
+ fi
+ rm -f conftest*
++
+ fi
+-echo "configure:4137: result: `eval echo '${'$ac_ac_Header'}'`" >&5
++echo "configure:4850: result: `eval echo '${'$ac_ac_Header'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
+ if test `eval echo '${'$ac_ac_Header'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -4603,27 +4898,27 @@
+ if test "$withval" = "no"; then
+ 	ac_cv_lib_ipv6=no
+ fi
+-fi
++fi;
+ if test "${ac_cv_lib_ipv6+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   v6type=unknown
+ v6lib=none
+ 
+-echo "configure:4186: checking ipv6 stack type" >&5
++echo "configure:4908: checking ipv6 stack type" >&5
+ echo $ECHO_N "checking ipv6 stack type... $ECHO_C" >&6
+ for i in v6d toshiba kame inria zeta linux; do
+ 	case $i in
+ 	v6d)
+-		cat >conftest.$ac_ext <<EOF
+-#line 4192 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 4914 "configure"
+ #include "confdefs.h"
+ dnl
+ #include </usr/local/v6/include/sys/types.h>
+ #ifdef __V6D__
+ yes
+ #endif
+-EOF
++_ACEOF
+ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+   egrep "yes" >/dev/null 2>&1; then
+   v6type=$i; v6lib=v6;
+@@ -4634,15 +4929,15 @@
+ 
+ 		;;
+ 	toshiba)
+-		cat >conftest.$ac_ext <<EOF
+-#line 4210 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 4933 "configure"
+ #include "confdefs.h"
+ dnl
+ #include <sys/param.h>
+ #ifdef _TOSHIBA_INET6
+ yes
+ #endif
+-EOF
++_ACEOF
+ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+   egrep "yes" >/dev/null 2>&1; then
+   v6type=$i; v6lib=inet6;
+@@ -4653,15 +4948,15 @@
+ 
+ 		;;
+ 	kame)
+-		cat >conftest.$ac_ext <<EOF
+-#line 4228 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 4952 "configure"
+ #include "confdefs.h"
+ dnl
+ #include <netinet/in.h>
+ #ifdef __KAME__
+ yes
+ #endif
+-EOF
++_ACEOF
+ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+   egrep "yes" >/dev/null 2>&1; then
+   v6type=$i; v6lib=inet6;
+@@ -4672,15 +4967,15 @@
+ 
+ 		;;
+ 	inria)
+-		cat >conftest.$ac_ext <<EOF
+-#line 4246 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 4971 "configure"
+ #include "confdefs.h"
+ dnl
+ #include <netinet/in.h>
+ #ifdef IPV6_INRIA_VERSION
+ yes
+ #endif
+-EOF
++_ACEOF
+ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+   egrep "yes" >/dev/null 2>&1; then
+   v6type=$i; CFLAGS="-DINET6 $CFLAGS"
+@@ -4689,15 +4984,15 @@
+ 
+ 		;;
+ 	zeta)
+-		cat >conftest.$ac_ext <<EOF
+-#line 4262 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 4988 "configure"
+ #include "confdefs.h"
+ dnl
+ #include <sys/param.h>
+ #ifdef _ZETA_MINAMI_INET6
+ yes
+ #endif
+-EOF
++_ACEOF
+ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+   egrep "yes" >/dev/null 2>&1; then
+   v6type=$i; v6lib=inet6;
+@@ -4720,7 +5015,7 @@
+ 		break
+ 	fi
+ done
+-echo "configure:4291: result: $v6type" >&5
++echo "configure:5018: result: $v6type" >&5
+ echo "${ECHO_T}$v6type" >&6
+ 
+ if test "$v6lib" != "none"; then
+@@ -4731,8 +5026,8 @@
+ 		fi
+ 	done
+ fi
+-cat >conftest.$ac_ext <<EOF
+-#line 4302 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 5030 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_SYS_TYPES_H
+@@ -4765,20 +5060,21 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:4330: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:5065: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_lib_ipv6=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_lib_ipv6=no
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+ 
+-echo "configure:4339: checking for IPv6" >&5
++echo "configure:5075: checking for IPv6" >&5
+ echo $ECHO_N "checking for IPv6... $ECHO_C" >&6
+-echo "configure:4341: result: $ac_cv_lib_ipv6" >&5
++echo "configure:5077: result: $ac_cv_lib_ipv6" >&5
+ echo "${ECHO_T}$ac_cv_lib_ipv6" >&6
+ if test "$ac_cv_lib_ipv6" = yes; then
+ 
+@@ -4788,7 +5084,7 @@
+ 
+ fi
+ 
+-echo "configure:4348: checking for socket" >&5
++echo "configure:5087: checking for socket" >&5
+ echo $ECHO_N "checking for socket... $ECHO_C" >&6
+ if test "${ac_cv_funclib_socket+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -4803,8 +5099,8 @@
+ 			ac_lib=""
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 4363 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 5103 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -4814,14 +5110,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:4373: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:5115: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_socket=$ac_lib; else ac_cv_funclib_socket=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_socket=\${ac_cv_funclib_socket-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -4836,13 +5133,13 @@
+ for ac_func in socket
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:4391: checking for $ac_func" >&5
++echo "configure:5136: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 4397 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 5142 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -4871,17 +5168,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:4425: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:5173: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:4434: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:5182: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -4905,13 +5203,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:4454: result: yes" >&5
++	echo "configure:5206: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_socket=no"
+ 	eval "LIB_socket="
+-	echo "configure:4460: result: no" >&5
++	echo "configure:5212: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -4925,7 +5223,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:4472: result: yes, in $ac_res" >&5
++	echo "configure:5226: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -4934,7 +5232,7 @@
+ 	LIBS="$LIB_socket $LIBS"
+ fi
+ 
+-echo "configure:4479: checking for gethostbyname" >&5
++echo "configure:5235: checking for gethostbyname" >&5
+ echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
+ if test "${ac_cv_funclib_gethostbyname+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -4949,8 +5247,8 @@
+ 			ac_lib=""
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 4494 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 5251 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -4960,14 +5258,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:4504: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:5263: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_gethostbyname=$ac_lib; else ac_cv_funclib_gethostbyname=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_gethostbyname=\${ac_cv_funclib_gethostbyname-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -4982,13 +5281,13 @@
+ for ac_func in gethostbyname
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:4522: checking for $ac_func" >&5
++echo "configure:5284: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 4528 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 5290 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -5017,17 +5316,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:4556: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:5321: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:4565: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:5330: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -5051,13 +5351,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:4585: result: yes" >&5
++	echo "configure:5354: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_gethostbyname=no"
+ 	eval "LIB_gethostbyname="
+-	echo "configure:4591: result: no" >&5
++	echo "configure:5360: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -5071,7 +5371,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:4603: result: yes, in $ac_res" >&5
++	echo "configure:5374: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -5080,7 +5380,7 @@
+ 	LIBS="$LIB_gethostbyname $LIBS"
+ fi
+ 
+-echo "configure:4610: checking for syslog" >&5
++echo "configure:5383: checking for syslog" >&5
+ echo $ECHO_N "checking for syslog... $ECHO_C" >&6
+ if test "${ac_cv_funclib_syslog+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -5095,8 +5395,8 @@
+ 			ac_lib=""
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 4625 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 5399 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -5106,14 +5406,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:4635: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:5411: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_syslog=$ac_lib; else ac_cv_funclib_syslog=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_syslog=\${ac_cv_funclib_syslog-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -5128,13 +5429,13 @@
+ for ac_func in syslog
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:4653: checking for $ac_func" >&5
++echo "configure:5432: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 4659 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 5438 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -5163,17 +5464,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:4687: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:5469: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:4696: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:5478: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -5197,13 +5499,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:4716: result: yes" >&5
++	echo "configure:5502: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_syslog=no"
+ 	eval "LIB_syslog="
+-	echo "configure:4722: result: no" >&5
++	echo "configure:5508: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -5217,7 +5519,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:4734: result: yes, in $ac_res" >&5
++	echo "configure:5522: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -5226,7 +5528,7 @@
+ 	LIBS="$LIB_syslog $LIBS"
+ fi
+ 
+-echo "configure:4741: checking for gethostbyname2" >&5
++echo "configure:5531: checking for gethostbyname2" >&5
+ echo $ECHO_N "checking for gethostbyname2... $ECHO_C" >&6
+ if test "${ac_cv_funclib_gethostbyname2+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -5241,8 +5543,8 @@
+ 			ac_lib=""
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 4756 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 5547 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -5252,14 +5554,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:4766: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:5559: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_gethostbyname2=$ac_lib; else ac_cv_funclib_gethostbyname2=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_gethostbyname2=\${ac_cv_funclib_gethostbyname2-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -5274,13 +5577,13 @@
+ for ac_func in gethostbyname2
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:4784: checking for $ac_func" >&5
++echo "configure:5580: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 4790 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 5586 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -5309,17 +5612,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:4818: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:5617: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:4827: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:5626: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -5343,13 +5647,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:4847: result: yes" >&5
++	echo "configure:5650: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_gethostbyname2=no"
+ 	eval "LIB_gethostbyname2="
+-	echo "configure:4853: result: no" >&5
++	echo "configure:5656: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -5363,7 +5667,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:4865: result: yes, in $ac_res" >&5
++	echo "configure:5670: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -5372,7 +5676,7 @@
+ 	LIBS="$LIB_gethostbyname2 $LIBS"
+ fi
+ 
+-echo "configure:4872: checking for res_search" >&5
++echo "configure:5679: checking for res_search" >&5
+ echo $ECHO_N "checking for res_search... $ECHO_C" >&6
+ if test "${ac_cv_funclib_res_search+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -5387,8 +5691,8 @@
+ 			ac_lib=""
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 4887 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 5695 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -5412,14 +5716,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:4910: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:5721: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_res_search=$ac_lib; else ac_cv_funclib_res_search=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_res_search=\${ac_cv_funclib_res_search-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -5434,13 +5739,13 @@
+ for ac_func in res_search
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:4928: checking for $ac_func" >&5
++echo "configure:5742: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 4934 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 5748 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -5469,17 +5774,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:4962: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:5779: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:4971: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:5788: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -5503,13 +5809,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:4991: result: yes" >&5
++	echo "configure:5812: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_res_search=no"
+ 	eval "LIB_res_search="
+-	echo "configure:4997: result: no" >&5
++	echo "configure:5818: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -5523,7 +5829,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:5009: result: yes, in $ac_res" >&5
++	echo "configure:5832: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -5532,7 +5838,7 @@
+ 	LIBS="$LIB_res_search $LIBS"
+ fi
+ 
+-echo "configure:5016: checking for dn_expand" >&5
++echo "configure:5841: checking for dn_expand" >&5
+ echo $ECHO_N "checking for dn_expand... $ECHO_C" >&6
+ if test "${ac_cv_funclib_dn_expand+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -5547,8 +5853,8 @@
+ 			ac_lib=""
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 5031 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 5857 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -5572,14 +5878,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:5054: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:5883: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_dn_expand=$ac_lib; else ac_cv_funclib_dn_expand=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_dn_expand=\${ac_cv_funclib_dn_expand-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -5594,13 +5901,13 @@
+ for ac_func in dn_expand
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:5072: checking for $ac_func" >&5
++echo "configure:5904: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 5078 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 5910 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -5629,17 +5936,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:5106: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:5941: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:5115: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:5950: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -5663,13 +5971,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:5135: result: yes" >&5
++	echo "configure:5974: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_dn_expand=no"
+ 	eval "LIB_dn_expand="
+-	echo "configure:5141: result: no" >&5
++	echo "configure:5980: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -5683,7 +5991,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:5153: result: yes, in $ac_res" >&5
++	echo "configure:5994: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -5692,7 +6000,7 @@
+ 	LIBS="$LIB_dn_expand $LIBS"
+ fi
+ 
+-echo "configure:5160: checking for working snprintf" >&5
++echo "configure:6003: checking for working snprintf" >&5
+ echo $ECHO_N "checking for working snprintf... $ECHO_C" >&6
+ if test "${ac_cv_func_snprintf_working+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -5701,8 +6009,8 @@
+ if test "$cross_compiling" = yes; then
+   :
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 5170 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 6013 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -5713,20 +6021,21 @@
+ 	snprintf(foo, 2, "12");
+ 	return strcmp(foo, "1");
+ }
+-EOF
+-if { (eval echo configure:5181: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
+-   test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null; then
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo configure:6026: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
++   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
+   :
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_func_snprintf_working=no
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+ 
+ fi
+-echo "configure:5192: result: $ac_cv_func_snprintf_working" >&5
++echo "configure:6038: result: $ac_cv_func_snprintf_working" >&5
+ echo "${ECHO_T}$ac_cv_func_snprintf_working" >&6
+ 
+ if test "$ac_cv_func_snprintf_working" = yes; then
+@@ -5739,13 +6048,13 @@
+ if test "$ac_cv_func_snprintf_working" = yes; then
+ 
+ if test "$ac_cv_func_snprintf+set" != set -o "$ac_cv_func_snprintf" = yes; then
+-echo "configure:5202: checking if snprintf needs a prototype" >&5
++echo "configure:6051: checking if snprintf needs a prototype" >&5
+ echo $ECHO_N "checking if snprintf needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_snprintf_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 5208 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 6057 "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
+ int
+@@ -5758,17 +6067,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:5221: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:6072: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_snprintf_noproto=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_func_snprintf_noproto=no"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:5230: result: $ac_cv_func_snprintf_noproto" >&5
++echo "configure:6081: result: $ac_cv_func_snprintf_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_snprintf_noproto" >&6
+ 
+ if test "$ac_cv_func_snprintf_noproto" = yes; then
+@@ -5783,7 +6093,7 @@
+ 
+ fi
+ 
+-echo "configure:5240: checking for working vsnprintf" >&5
++echo "configure:6096: checking for working vsnprintf" >&5
+ echo $ECHO_N "checking for working vsnprintf... $ECHO_C" >&6
+ if test "${ac_cv_func_vsnprintf_working+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -5792,8 +6102,8 @@
+ if test "$cross_compiling" = yes; then
+   :
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 5250 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 6106 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -5814,20 +6124,21 @@
+ {
+ 	return foo(0, "12");
+ }
+-EOF
+-if { (eval echo configure:5269: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
+-   test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null; then
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo configure:6129: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
++   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
+   :
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_func_vsnprintf_working=no
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+ 
+ fi
+-echo "configure:5280: result: $ac_cv_func_vsnprintf_working" >&5
++echo "configure:6141: result: $ac_cv_func_vsnprintf_working" >&5
+ echo "${ECHO_T}$ac_cv_func_vsnprintf_working" >&6
+ 
+ if test "$ac_cv_func_vsnprintf_working" = yes; then
+@@ -5840,13 +6151,13 @@
+ if test "$ac_cv_func_vsnprintf_working" = yes; then
+ 
+ if test "$ac_cv_func_vsnprintf+set" != set -o "$ac_cv_func_vsnprintf" = yes; then
+-echo "configure:5290: checking if vsnprintf needs a prototype" >&5
++echo "configure:6154: checking if vsnprintf needs a prototype" >&5
+ echo $ECHO_N "checking if vsnprintf needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_vsnprintf_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 5296 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 6160 "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
+ int
+@@ -5859,17 +6170,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:5309: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:6175: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_vsnprintf_noproto=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_func_vsnprintf_noproto=no"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:5318: result: $ac_cv_func_vsnprintf_noproto" >&5
++echo "configure:6184: result: $ac_cv_func_vsnprintf_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_vsnprintf_noproto" >&6
+ 
+ if test "$ac_cv_func_vsnprintf_noproto" = yes; then
+@@ -5884,14 +6196,14 @@
+ 
+ fi
+ 
+-echo "configure:5328: checking for working glob" >&5
++echo "configure:6199: checking for working glob" >&5
+ echo $ECHO_N "checking for working glob... $ECHO_C" >&6
+ if test "${ac_cv_func_glob_working+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   ac_cv_func_glob_working=yes
+-cat >conftest.$ac_ext <<EOF
+-#line 5335 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 6206 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -5905,17 +6217,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:5347: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:6222: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   :
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_func_glob_working=no
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:5356: result: $ac_cv_func_glob_working" >&5
++echo "configure:6231: result: $ac_cv_func_glob_working" >&5
+ echo "${ECHO_T}$ac_cv_func_glob_working" >&6
+ 
+ if test "$ac_cv_func_glob_working" = yes; then
+@@ -5928,13 +6241,13 @@
+ if test "$ac_cv_func_glob_working" = yes; then
+ 
+ if test "$ac_cv_func_glob+set" != set -o "$ac_cv_func_glob" = yes; then
+-echo "configure:5366: checking if glob needs a prototype" >&5
++echo "configure:6244: checking if glob needs a prototype" >&5
+ echo $ECHO_N "checking if glob needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_glob_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 5372 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 6250 "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
+ #include <glob.h>
+@@ -5948,17 +6261,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:5386: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:6266: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_glob_noproto=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_func_glob_noproto=no"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:5395: result: $ac_cv_func_glob_noproto" >&5
++echo "configure:6275: result: $ac_cv_func_glob_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_glob_noproto" >&6
+ 
+ if test "$ac_cv_func_glob_noproto" = yes; then
+@@ -6007,13 +6321,13 @@
+ 
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:5436: checking for $ac_func" >&5
++echo "configure:6324: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 5442 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 6330 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -6042,17 +6356,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:5470: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:6361: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:5479: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:6370: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -6066,7 +6381,7 @@
+ 	LIBOBJS="$LIBOBJS getcap.o"
+ fi
+ 
+-echo "configure:5490: checking for getsockopt" >&5
++echo "configure:6384: checking for getsockopt" >&5
+ echo $ECHO_N "checking for getsockopt... $ECHO_C" >&6
+ if test "${ac_cv_funclib_getsockopt+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -6081,8 +6396,8 @@
+ 			ac_lib=""
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 5505 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 6400 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_SYS_TYPES_H
+ #include <sys/types.h>
+@@ -6097,14 +6412,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:5521: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:6417: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_getsockopt=$ac_lib; else ac_cv_funclib_getsockopt=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_getsockopt=\${ac_cv_funclib_getsockopt-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -6119,13 +6435,13 @@
+ for ac_func in getsockopt
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:5539: checking for $ac_func" >&5
++echo "configure:6438: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 5545 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 6444 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -6154,17 +6470,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:5573: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:6475: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:5582: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:6484: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -6188,13 +6505,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:5602: result: yes" >&5
++	echo "configure:6508: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_getsockopt=no"
+ 	eval "LIB_getsockopt="
+-	echo "configure:5608: result: no" >&5
++	echo "configure:6514: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -6208,12 +6525,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:5620: result: yes, in $ac_res" >&5
++	echo "configure:6528: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "configure:5624: checking for setsockopt" >&5
++echo "configure:6533: checking for setsockopt" >&5
+ echo $ECHO_N "checking for setsockopt... $ECHO_C" >&6
+ if test "${ac_cv_funclib_setsockopt+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -6228,8 +6545,8 @@
+ 			ac_lib=""
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 5639 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 6549 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_SYS_TYPES_H
+ #include <sys/types.h>
+@@ -6244,14 +6561,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:5655: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:6566: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_setsockopt=$ac_lib; else ac_cv_funclib_setsockopt=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_setsockopt=\${ac_cv_funclib_setsockopt-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -6266,13 +6584,13 @@
+ for ac_func in setsockopt
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:5673: checking for $ac_func" >&5
++echo "configure:6587: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 5679 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 6593 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -6301,17 +6619,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:5707: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:6624: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:5716: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:6633: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -6335,13 +6654,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:5736: result: yes" >&5
++	echo "configure:6657: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_setsockopt=no"
+ 	eval "LIB_setsockopt="
+-	echo "configure:5742: result: no" >&5
++	echo "configure:6663: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -6355,12 +6674,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:5754: result: yes, in $ac_res" >&5
++	echo "configure:6677: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "configure:5758: checking for hstrerror" >&5
++echo "configure:6682: checking for hstrerror" >&5
+ echo $ECHO_N "checking for hstrerror... $ECHO_C" >&6
+ if test "${ac_cv_funclib_hstrerror+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -6375,8 +6694,8 @@
+ 			ac_lib=""
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 5773 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 6698 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_NETDB_H
+ #include <netdb.h>
+@@ -6388,14 +6707,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:5786: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:6712: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_hstrerror=$ac_lib; else ac_cv_funclib_hstrerror=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_hstrerror=\${ac_cv_funclib_hstrerror-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -6410,13 +6730,13 @@
+ for ac_func in hstrerror
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:5804: checking for $ac_func" >&5
++echo "configure:6733: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 5810 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 6739 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -6445,17 +6765,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:5838: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:6770: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:5847: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:6779: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -6479,13 +6800,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:5867: result: yes" >&5
++	echo "configure:6803: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_hstrerror=no"
+ 	eval "LIB_hstrerror="
+-	echo "configure:5873: result: no" >&5
++	echo "configure:6809: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -6499,7 +6820,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:5885: result: yes, in $ac_res" >&5
++	echo "configure:6823: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -6515,13 +6836,13 @@
+ if test "$ac_cv_func_hstrerror" = yes; then
+ 
+ if test "$ac_cv_func_hstrerror+set" != set -o "$ac_cv_func_hstrerror" = yes; then
+-echo "configure:5897: checking if hstrerror needs a prototype" >&5
++echo "configure:6839: checking if hstrerror needs a prototype" >&5
+ echo $ECHO_N "checking if hstrerror needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_hstrerror_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 5903 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 6845 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_NETDB_H
+@@ -6537,17 +6858,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:5918: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:6863: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_hstrerror_noproto=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_func_hstrerror_noproto=no"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:5927: result: $ac_cv_func_hstrerror_noproto" >&5
++echo "configure:6872: result: $ac_cv_func_hstrerror_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_hstrerror_noproto" >&6
+ 
+ if test "$ac_cv_func_hstrerror_noproto" = yes; then
+@@ -6565,13 +6887,13 @@
+ if test "$ac_cv_func_asprintf" = yes; then
+ 
+ if test "$ac_cv_func_asprintf+set" != set -o "$ac_cv_func_asprintf" = yes; then
+-echo "configure:5939: checking if asprintf needs a prototype" >&5
++echo "configure:6890: checking if asprintf needs a prototype" >&5
+ echo $ECHO_N "checking if asprintf needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_asprintf_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 5945 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 6896 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -6586,17 +6908,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:5959: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:6913: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_asprintf_noproto=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_func_asprintf_noproto=no"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:5968: result: $ac_cv_func_asprintf_noproto" >&5
++echo "configure:6922: result: $ac_cv_func_asprintf_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_asprintf_noproto" >&6
+ 
+ if test "$ac_cv_func_asprintf_noproto" = yes; then
+@@ -6612,13 +6935,13 @@
+ if test "$ac_cv_func_vasprintf" = yes; then
+ 
+ if test "$ac_cv_func_vasprintf+set" != set -o "$ac_cv_func_vasprintf" = yes; then
+-echo "configure:5980: checking if vasprintf needs a prototype" >&5
++echo "configure:6938: checking if vasprintf needs a prototype" >&5
+ echo $ECHO_N "checking if vasprintf needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_vasprintf_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 5986 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 6944 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -6633,17 +6956,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:6000: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:6961: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_vasprintf_noproto=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_func_vasprintf_noproto=no"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:6009: result: $ac_cv_func_vasprintf_noproto" >&5
++echo "configure:6970: result: $ac_cv_func_vasprintf_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_vasprintf_noproto" >&6
+ 
+ if test "$ac_cv_func_vasprintf_noproto" = yes; then
+@@ -6659,13 +6983,13 @@
+ if test "$ac_cv_func_asnprintf" = yes; then
+ 
+ if test "$ac_cv_func_asnprintf+set" != set -o "$ac_cv_func_asnprintf" = yes; then
+-echo "configure:6021: checking if asnprintf needs a prototype" >&5
++echo "configure:6986: checking if asnprintf needs a prototype" >&5
+ echo $ECHO_N "checking if asnprintf needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_asnprintf_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 6027 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 6992 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -6680,17 +7004,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:6041: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:7009: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_asnprintf_noproto=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_func_asnprintf_noproto=no"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:6050: result: $ac_cv_func_asnprintf_noproto" >&5
++echo "configure:7018: result: $ac_cv_func_asnprintf_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_asnprintf_noproto" >&6
+ 
+ if test "$ac_cv_func_asnprintf_noproto" = yes; then
+@@ -6706,13 +7031,13 @@
+ if test "$ac_cv_func_vasnprintf" = yes; then
+ 
+ if test "$ac_cv_func_vasnprintf+set" != set -o "$ac_cv_func_vasnprintf" = yes; then
+-echo "configure:6062: checking if vasnprintf needs a prototype" >&5
++echo "configure:7034: checking if vasnprintf needs a prototype" >&5
+ echo $ECHO_N "checking if vasnprintf needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_vasnprintf_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 6068 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 7040 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -6727,17 +7052,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:6082: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:7057: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_vasnprintf_noproto=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_func_vasnprintf_noproto=no"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:6091: result: $ac_cv_func_vasnprintf_noproto" >&5
++echo "configure:7066: result: $ac_cv_func_vasnprintf_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_vasnprintf_noproto" >&6
+ 
+ if test "$ac_cv_func_vasnprintf_noproto" = yes; then
+@@ -6751,7 +7077,7 @@
+ fi
+ fi
+ 
+-echo "configure:6101: checking for pidfile" >&5
++echo "configure:7080: checking for pidfile" >&5
+ echo $ECHO_N "checking for pidfile... $ECHO_C" >&6
+ if test "${ac_cv_funclib_pidfile+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -6766,8 +7092,8 @@
+ 			ac_lib=""
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 6116 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 7096 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_UTIL_H
+ #include <util.h>
+@@ -6779,14 +7105,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:6129: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:7110: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_pidfile=$ac_lib; else ac_cv_funclib_pidfile=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_pidfile=\${ac_cv_funclib_pidfile-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -6801,13 +7128,13 @@
+ for ac_func in pidfile
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:6147: checking for $ac_func" >&5
++echo "configure:7131: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 6153 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 7137 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -6836,17 +7163,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:6181: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:7168: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:6190: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:7177: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -6870,13 +7198,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:6210: result: yes" >&5
++	echo "configure:7201: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_pidfile=no"
+ 	eval "LIB_pidfile="
+-	echo "configure:6216: result: no" >&5
++	echo "configure:7207: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -6890,7 +7218,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:6228: result: yes, in $ac_res" >&5
++	echo "configure:7221: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -6967,13 +7295,13 @@
+ 
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:6303: checking for $ac_func" >&5
++echo "configure:7298: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 6309 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 7304 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -7002,17 +7330,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:6337: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:7335: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:6346: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:7344: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+ 
+@@ -7100,13 +7429,13 @@
+ 
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:6429: checking for $ac_func" >&5
++echo "configure:7432: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 6435 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 7438 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -7135,17 +7464,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:6463: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:7469: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:6472: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:7478: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -7158,7 +7488,7 @@
+ fi
+ done
+ 
+-echo "configure:6482: checking if getnameinfo is broken" >&5
++echo "configure:7491: checking if getnameinfo is broken" >&5
+ echo $ECHO_N "checking if getnameinfo is broken... $ECHO_C" >&6
+ if test "${ac_cv_func_getnameinfo_broken+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -7166,8 +7496,8 @@
+   if test "$cross_compiling" = yes; then
+   { echo "configure: error: cannot run test program while cross compiling" >&2; exit 1; }
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 6491 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 7500 "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
+ #include <sys/types.h>
+@@ -7191,33 +7521,34 @@
+ 	      NULL, 0, 0);
+ }
+ 
+-EOF
+-if { (eval echo configure:6514: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
+-   test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null; then
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo configure:7526: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
++   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
+   ac_cv_func_getnameinfo_broken=no
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_func_getnameinfo_broken=yes
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+ 
+ fi
+-echo "configure:6525: result: $ac_cv_func_getnameinfo_broken" >&5
++echo "configure:7538: result: $ac_cv_func_getnameinfo_broken" >&5
+ echo "${ECHO_T}$ac_cv_func_getnameinfo_broken" >&6
+ if test "$ac_cv_func_getnameinfo_broken" = yes; then
+ 	LIBOBJS="$LIBOBJS getnameinfo.o"
+ fi
+ 
+ if test "$ac_cv_func_setenv+set" != set -o "$ac_cv_func_setenv" = yes; then
+-echo "configure:6531: checking if setenv needs a prototype" >&5
++echo "configure:7545: checking if setenv needs a prototype" >&5
+ echo $ECHO_N "checking if setenv needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_setenv_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 6537 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 7551 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ int
+@@ -7230,17 +7561,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:6550: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:7566: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_setenv_noproto=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_func_setenv_noproto=no"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:6559: result: $ac_cv_func_setenv_noproto" >&5
++echo "configure:7575: result: $ac_cv_func_setenv_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_setenv_noproto" >&6
+ 
+ if test "$ac_cv_func_setenv_noproto" = yes; then
+@@ -7254,13 +7586,13 @@
+ fi
+ 
+ if test "$ac_cv_func_unsetenv+set" != set -o "$ac_cv_func_unsetenv" = yes; then
+-echo "configure:6569: checking if unsetenv needs a prototype" >&5
++echo "configure:7589: checking if unsetenv needs a prototype" >&5
+ echo $ECHO_N "checking if unsetenv needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_unsetenv_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 6575 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 7595 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ int
+@@ -7273,17 +7605,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:6588: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:7610: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_unsetenv_noproto=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_func_unsetenv_noproto=no"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:6597: result: $ac_cv_func_unsetenv_noproto" >&5
++echo "configure:7619: result: $ac_cv_func_unsetenv_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_unsetenv_noproto" >&6
+ 
+ if test "$ac_cv_func_unsetenv_noproto" = yes; then
+@@ -7297,13 +7630,13 @@
+ fi
+ 
+ if test "$ac_cv_func_gethostname+set" != set -o "$ac_cv_func_gethostname" = yes; then
+-echo "configure:6607: checking if gethostname needs a prototype" >&5
++echo "configure:7633: checking if gethostname needs a prototype" >&5
+ echo $ECHO_N "checking if gethostname needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_gethostname_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 6613 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 7639 "configure"
+ #include "confdefs.h"
+ #include <unistd.h>
+ int
+@@ -7316,17 +7649,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:6626: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:7654: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_gethostname_noproto=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_func_gethostname_noproto=no"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:6635: result: $ac_cv_func_gethostname_noproto" >&5
++echo "configure:7663: result: $ac_cv_func_gethostname_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_gethostname_noproto" >&6
+ 
+ if test "$ac_cv_func_gethostname_noproto" = yes; then
+@@ -7340,13 +7674,13 @@
+ fi
+ 
+ if test "$ac_cv_func_mkstemp+set" != set -o "$ac_cv_func_mkstemp" = yes; then
+-echo "configure:6645: checking if mkstemp needs a prototype" >&5
++echo "configure:7677: checking if mkstemp needs a prototype" >&5
+ echo $ECHO_N "checking if mkstemp needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_mkstemp_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 6651 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 7683 "configure"
+ #include "confdefs.h"
+ #include <unistd.h>
+ int
+@@ -7359,17 +7693,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:6664: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:7698: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_mkstemp_noproto=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_func_mkstemp_noproto=no"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:6673: result: $ac_cv_func_mkstemp_noproto" >&5
++echo "configure:7707: result: $ac_cv_func_mkstemp_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_mkstemp_noproto" >&6
+ 
+ if test "$ac_cv_func_mkstemp_noproto" = yes; then
+@@ -7383,13 +7718,13 @@
+ fi
+ 
+ if test "$ac_cv_func_getusershell+set" != set -o "$ac_cv_func_getusershell" = yes; then
+-echo "configure:6683: checking if getusershell needs a prototype" >&5
++echo "configure:7721: checking if getusershell needs a prototype" >&5
+ echo $ECHO_N "checking if getusershell needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_getusershell_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 6689 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 7727 "configure"
+ #include "confdefs.h"
+ #include <unistd.h>
+ int
+@@ -7402,17 +7737,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:6702: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:7742: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_getusershell_noproto=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_func_getusershell_noproto=no"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:6711: result: $ac_cv_func_getusershell_noproto" >&5
++echo "configure:7751: result: $ac_cv_func_getusershell_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_getusershell_noproto" >&6
+ 
+ if test "$ac_cv_func_getusershell_noproto" = yes; then
+@@ -7426,13 +7762,13 @@
+ fi
+ 
+ if test "$ac_cv_func_inet_aton+set" != set -o "$ac_cv_func_inet_aton" = yes; then
+-echo "configure:6721: checking if inet_aton needs a prototype" >&5
++echo "configure:7765: checking if inet_aton needs a prototype" >&5
+ echo $ECHO_N "checking if inet_aton needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_inet_aton_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 6727 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 7771 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_SYS_TYPES_H
+@@ -7457,17 +7793,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:6751: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:7798: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_inet_aton_noproto=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_func_inet_aton_noproto=no"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:6760: result: $ac_cv_func_inet_aton_noproto" >&5
++echo "configure:7807: result: $ac_cv_func_inet_aton_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_inet_aton_noproto" >&6
+ 
+ if test "$ac_cv_func_inet_aton_noproto" = yes; then
+@@ -7480,7 +7817,7 @@
+ 
+ fi
+ 
+-echo "configure:6769: checking for crypt" >&5
++echo "configure:7820: checking for crypt" >&5
+ echo $ECHO_N "checking for crypt... $ECHO_C" >&6
+ if test "${ac_cv_funclib_crypt+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -7495,8 +7832,8 @@
+ 			ac_lib=""
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 6784 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 7836 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -7506,14 +7843,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:6794: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:7848: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_crypt=$ac_lib; else ac_cv_funclib_crypt=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_crypt=\${ac_cv_funclib_crypt-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -7528,13 +7866,13 @@
+ for ac_func in crypt
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:6812: checking for $ac_func" >&5
++echo "configure:7869: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 6818 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 7875 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -7563,17 +7901,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:6846: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:7906: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:6855: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:7915: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -7597,13 +7936,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:6875: result: yes" >&5
++	echo "configure:7939: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_crypt=no"
+ 	eval "LIB_crypt="
+-	echo "configure:6881: result: no" >&5
++	echo "configure:7945: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -7617,18 +7956,18 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:6893: result: yes, in $ac_res" >&5
++	echo "configure:7959: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "configure:6897: checking if gethostbyname is compatible with system prototype" >&5
++echo "configure:7964: checking if gethostbyname is compatible with system prototype" >&5
+ echo $ECHO_N "checking if gethostbyname is compatible with system prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_gethostbyname_proto_compat+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 6903 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 7970 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_SYS_TYPES_H
+@@ -7654,17 +7993,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:6928: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:7998: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_gethostbyname_proto_compat=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_func_gethostbyname_proto_compat=no"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:6937: result: $ac_cv_func_gethostbyname_proto_compat" >&5
++echo "configure:8007: result: $ac_cv_func_gethostbyname_proto_compat" >&5
+ echo "${ECHO_T}$ac_cv_func_gethostbyname_proto_compat" >&6
+ 
+ if test "$ac_cv_func_gethostbyname_proto_compat" = yes; then
+@@ -7675,13 +8015,13 @@
+ 
+ fi
+ 
+-echo "configure:6945: checking if gethostbyaddr is compatible with system prototype" >&5
++echo "configure:8018: checking if gethostbyaddr is compatible with system prototype" >&5
+ echo $ECHO_N "checking if gethostbyaddr is compatible with system prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_gethostbyaddr_proto_compat+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 6951 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 8024 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_SYS_TYPES_H
+@@ -7707,17 +8047,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:6976: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:8052: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_gethostbyaddr_proto_compat=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_func_gethostbyaddr_proto_compat=no"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:6985: result: $ac_cv_func_gethostbyaddr_proto_compat" >&5
++echo "configure:8061: result: $ac_cv_func_gethostbyaddr_proto_compat" >&5
+ echo "${ECHO_T}$ac_cv_func_gethostbyaddr_proto_compat" >&6
+ 
+ if test "$ac_cv_func_gethostbyaddr_proto_compat" = yes; then
+@@ -7728,13 +8069,13 @@
+ 
+ fi
+ 
+-echo "configure:6993: checking if getservbyname is compatible with system prototype" >&5
++echo "configure:8072: checking if getservbyname is compatible with system prototype" >&5
+ echo $ECHO_N "checking if getservbyname is compatible with system prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_getservbyname_proto_compat+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 6999 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 8078 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_SYS_TYPES_H
+@@ -7760,17 +8101,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:7024: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:8106: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_getservbyname_proto_compat=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_func_getservbyname_proto_compat=no"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:7033: result: $ac_cv_func_getservbyname_proto_compat" >&5
++echo "configure:8115: result: $ac_cv_func_getservbyname_proto_compat" >&5
+ echo "${ECHO_T}$ac_cv_func_getservbyname_proto_compat" >&6
+ 
+ if test "$ac_cv_func_getservbyname_proto_compat" = yes; then
+@@ -7781,13 +8123,13 @@
+ 
+ fi
+ 
+-echo "configure:7041: checking if getsockname is compatible with system prototype" >&5
++echo "configure:8126: checking if getsockname is compatible with system prototype" >&5
+ echo $ECHO_N "checking if getsockname is compatible with system prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_getsockname_proto_compat+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 7047 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 8132 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_SYS_TYPES_H
+@@ -7804,17 +8146,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:7063: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:8151: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_getsockname_proto_compat=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_func_getsockname_proto_compat=no"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:7072: result: $ac_cv_func_getsockname_proto_compat" >&5
++echo "configure:8160: result: $ac_cv_func_getsockname_proto_compat" >&5
+ echo "${ECHO_T}$ac_cv_func_getsockname_proto_compat" >&6
+ 
+ if test "$ac_cv_func_getsockname_proto_compat" = yes; then
+@@ -7825,13 +8168,13 @@
+ 
+ fi
+ 
+-echo "configure:7080: checking if openlog is compatible with system prototype" >&5
++echo "configure:8171: checking if openlog is compatible with system prototype" >&5
+ echo $ECHO_N "checking if openlog is compatible with system prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_openlog_proto_compat+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 7086 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 8177 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_SYSLOG_H
+@@ -7845,17 +8188,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:7099: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:8193: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_openlog_proto_compat=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_func_openlog_proto_compat=no"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:7108: result: $ac_cv_func_openlog_proto_compat" >&5
++echo "configure:8202: result: $ac_cv_func_openlog_proto_compat" >&5
+ echo "${ECHO_T}$ac_cv_func_openlog_proto_compat" >&6
+ 
+ if test "$ac_cv_func_openlog_proto_compat" = yes; then
+@@ -7867,13 +8211,13 @@
+ fi
+ 
+ if test "$ac_cv_func_crypt+set" != set -o "$ac_cv_func_crypt" = yes; then
+-echo "configure:7117: checking if crypt needs a prototype" >&5
++echo "configure:8214: checking if crypt needs a prototype" >&5
+ echo $ECHO_N "checking if crypt needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_crypt_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 7123 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 8220 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_CRYPT_H
+@@ -7893,17 +8237,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:7141: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:8242: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_crypt_noproto=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_func_crypt_noproto=no"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:7150: result: $ac_cv_func_crypt_noproto" >&5
++echo "configure:8251: result: $ac_cv_func_crypt_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_crypt_noproto" >&6
+ 
+ if test "$ac_cv_func_crypt_noproto" = yes; then
+@@ -7917,13 +8262,13 @@
+ fi
+ 
+ if test "$ac_cv_func_strtok_r+set" != set -o "$ac_cv_func_strtok_r" = yes; then
+-echo "configure:7160: checking if strtok_r needs a prototype" >&5
++echo "configure:8265: checking if strtok_r needs a prototype" >&5
+ echo $ECHO_N "checking if strtok_r needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_strtok_r_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 7166 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 8271 "configure"
+ #include "confdefs.h"
+ 
+ #include <string.h>
+@@ -7938,17 +8283,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:7179: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:8288: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_strtok_r_noproto=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_func_strtok_r_noproto=no"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:7188: result: $ac_cv_func_strtok_r_noproto" >&5
++echo "configure:8297: result: $ac_cv_func_strtok_r_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_strtok_r_noproto" >&6
+ 
+ if test "$ac_cv_func_strtok_r_noproto" = yes; then
+@@ -7962,13 +8308,13 @@
+ fi
+ 
+ if test "$ac_cv_func_strsep+set" != set -o "$ac_cv_func_strsep" = yes; then
+-echo "configure:7198: checking if strsep needs a prototype" >&5
++echo "configure:8311: checking if strsep needs a prototype" >&5
+ echo $ECHO_N "checking if strsep needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_strsep_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 7204 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 8317 "configure"
+ #include "confdefs.h"
+ 
+ #include <string.h>
+@@ -7983,17 +8329,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:7217: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:8334: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_strsep_noproto=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_func_strsep_noproto=no"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:7226: result: $ac_cv_func_strsep_noproto" >&5
++echo "configure:8343: result: $ac_cv_func_strsep_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_strsep_noproto" >&6
+ 
+ if test "$ac_cv_func_strsep_noproto" = yes; then
+@@ -8006,14 +8353,14 @@
+ 
+ fi
+ 
+-echo "configure:7235: checking for h_errno" >&5
++echo "configure:8356: checking for h_errno" >&5
+ echo $ECHO_N "checking for h_errno... $ECHO_C" >&6
+ if test "${ac_cv_var_h_errno+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-cat >conftest.$ac_ext <<EOF
+-#line 7241 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 8363 "configure"
+ #include "confdefs.h"
+ extern int h_errno;
+ int foo() { return h_errno; }
+@@ -8024,20 +8371,21 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:7253: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:8376: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_var_h_errno=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_var_h_errno=no
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 
+ fi
+ 
+ ac_foo=`eval echo \\$ac_cv_var_h_errno`
+-echo "configure:7263: result: $ac_foo" >&5
++echo "configure:8388: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+ 	
+@@ -8046,14 +8394,14 @@
+ EOF
+ 
+ 	
+-echo "configure:7271: checking if h_errno is properly declared" >&5
++echo "configure:8397: checking if h_errno is properly declared" >&5
+ echo $ECHO_N "checking if h_errno is properly declared... $ECHO_C" >&6
+ if test "${ac_cv_var_h_errno_declaration+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-cat >conftest.$ac_ext <<EOF
+-#line 7277 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 8404 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_SYS_TYPES_H
+ #include <sys/types.h>
+@@ -8069,19 +8417,20 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:7294: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:8422: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_var_h_errno_declaration=no"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_var_h_errno_declaration=yes"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ 
+ fi
+ 
+-echo "configure:7303: result: $ac_cv_var_h_errno_declaration" >&5
++echo "configure:8433: result: $ac_cv_var_h_errno_declaration" >&5
+ echo "${ECHO_T}$ac_cv_var_h_errno_declaration" >&6
+ if eval "test \"\$ac_cv_var_h_errno_declaration\" = yes"; then
+ 	
+@@ -8093,14 +8442,14 @@
+ 
+ fi
+ 
+-echo "configure:7312: checking for h_errlist" >&5
++echo "configure:8445: checking for h_errlist" >&5
+ echo $ECHO_N "checking for h_errlist... $ECHO_C" >&6
+ if test "${ac_cv_var_h_errlist+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-cat >conftest.$ac_ext <<EOF
+-#line 7318 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 8452 "configure"
+ #include "confdefs.h"
+ extern int h_errlist;
+ int foo() { return h_errlist; }
+@@ -8111,20 +8460,21 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:7330: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:8465: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_var_h_errlist=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_var_h_errlist=no
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 
+ fi
+ 
+ ac_foo=`eval echo \\$ac_cv_var_h_errlist`
+-echo "configure:7340: result: $ac_foo" >&5
++echo "configure:8477: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+ 	
+@@ -8133,14 +8483,14 @@
+ EOF
+ 
+ 	
+-echo "configure:7348: checking if h_errlist is properly declared" >&5
++echo "configure:8486: checking if h_errlist is properly declared" >&5
+ echo $ECHO_N "checking if h_errlist is properly declared... $ECHO_C" >&6
+ if test "${ac_cv_var_h_errlist_declaration+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-cat >conftest.$ac_ext <<EOF
+-#line 7354 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 8493 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_NETDB_H
+ #include <netdb.h>
+@@ -8153,19 +8503,20 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:7368: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:8508: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_var_h_errlist_declaration=no"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_var_h_errlist_declaration=yes"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ 
+ fi
+ 
+-echo "configure:7377: result: $ac_cv_var_h_errlist_declaration" >&5
++echo "configure:8519: result: $ac_cv_var_h_errlist_declaration" >&5
+ echo "${ECHO_T}$ac_cv_var_h_errlist_declaration" >&6
+ if eval "test \"\$ac_cv_var_h_errlist_declaration\" = yes"; then
+ 	
+@@ -8177,14 +8528,14 @@
+ 
+ fi
+ 
+-echo "configure:7386: checking for h_nerr" >&5
++echo "configure:8531: checking for h_nerr" >&5
+ echo $ECHO_N "checking for h_nerr... $ECHO_C" >&6
+ if test "${ac_cv_var_h_nerr+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-cat >conftest.$ac_ext <<EOF
+-#line 7392 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 8538 "configure"
+ #include "confdefs.h"
+ extern int h_nerr;
+ int foo() { return h_nerr; }
+@@ -8195,20 +8546,21 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:7404: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:8551: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_var_h_nerr=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_var_h_nerr=no
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 
+ fi
+ 
+ ac_foo=`eval echo \\$ac_cv_var_h_nerr`
+-echo "configure:7414: result: $ac_foo" >&5
++echo "configure:8563: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+ 	
+@@ -8217,14 +8569,14 @@
+ EOF
+ 
+ 	
+-echo "configure:7422: checking if h_nerr is properly declared" >&5
++echo "configure:8572: checking if h_nerr is properly declared" >&5
+ echo $ECHO_N "checking if h_nerr is properly declared... $ECHO_C" >&6
+ if test "${ac_cv_var_h_nerr_declaration+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-cat >conftest.$ac_ext <<EOF
+-#line 7428 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 8579 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_NETDB_H
+ #include <netdb.h>
+@@ -8237,19 +8589,20 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:7442: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:8594: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_var_h_nerr_declaration=no"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_var_h_nerr_declaration=yes"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ 
+ fi
+ 
+-echo "configure:7451: result: $ac_cv_var_h_nerr_declaration" >&5
++echo "configure:8605: result: $ac_cv_var_h_nerr_declaration" >&5
+ echo "${ECHO_T}$ac_cv_var_h_nerr_declaration" >&6
+ if eval "test \"\$ac_cv_var_h_nerr_declaration\" = yes"; then
+ 	
+@@ -8261,14 +8614,14 @@
+ 
+ fi
+ 
+-echo "configure:7460: checking for __progname" >&5
++echo "configure:8617: checking for __progname" >&5
+ echo $ECHO_N "checking for __progname... $ECHO_C" >&6
+ if test "${ac_cv_var___progname+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-cat >conftest.$ac_ext <<EOF
+-#line 7466 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 8624 "configure"
+ #include "confdefs.h"
+ extern int __progname;
+ int foo() { return __progname; }
+@@ -8279,20 +8632,21 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:7478: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:8637: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_var___progname=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_var___progname=no
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 
+ fi
+ 
+ ac_foo=`eval echo \\$ac_cv_var___progname`
+-echo "configure:7488: result: $ac_foo" >&5
++echo "configure:8649: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+ 	
+@@ -8301,14 +8655,14 @@
+ EOF
+ 
+ 	
+-echo "configure:7496: checking if __progname is properly declared" >&5
++echo "configure:8658: checking if __progname is properly declared" >&5
+ echo $ECHO_N "checking if __progname is properly declared... $ECHO_C" >&6
+ if test "${ac_cv_var___progname_declaration+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-cat >conftest.$ac_ext <<EOF
+-#line 7502 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 8665 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_ERR_H
+ #include <err.h>
+@@ -8321,19 +8675,20 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:7516: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:8680: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_var___progname_declaration=no"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_var___progname_declaration=yes"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ 
+ fi
+ 
+-echo "configure:7525: result: $ac_cv_var___progname_declaration" >&5
++echo "configure:8691: result: $ac_cv_var___progname_declaration" >&5
+ echo "${ECHO_T}$ac_cv_var___progname_declaration" >&6
+ if eval "test \"\$ac_cv_var___progname_declaration\" = yes"; then
+ 	
+@@ -8345,14 +8700,14 @@
+ 
+ fi
+ 
+-echo "configure:7534: checking if optarg is properly declared" >&5
++echo "configure:8703: checking if optarg is properly declared" >&5
+ echo $ECHO_N "checking if optarg is properly declared... $ECHO_C" >&6
+ if test "${ac_cv_var_optarg_declaration+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-cat >conftest.$ac_ext <<EOF
+-#line 7540 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 8710 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ #ifdef HAVE_UNISTD_H
+@@ -8366,19 +8721,20 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:7555: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:8726: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_var_optarg_declaration=no"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_var_optarg_declaration=yes"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ 
+ fi
+ 
+-echo "configure:7564: result: $ac_cv_var_optarg_declaration" >&5
++echo "configure:8737: result: $ac_cv_var_optarg_declaration" >&5
+ echo "${ECHO_T}$ac_cv_var_optarg_declaration" >&6
+ if eval "test \"\$ac_cv_var_optarg_declaration\" = yes"; then
+ 	
+@@ -8388,14 +8744,14 @@
+ 
+ fi
+ 
+-echo "configure:7572: checking if optind is properly declared" >&5
++echo "configure:8747: checking if optind is properly declared" >&5
+ echo $ECHO_N "checking if optind is properly declared... $ECHO_C" >&6
+ if test "${ac_cv_var_optind_declaration+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-cat >conftest.$ac_ext <<EOF
+-#line 7578 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 8754 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ #ifdef HAVE_UNISTD_H
+@@ -8409,19 +8765,20 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:7593: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:8770: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_var_optind_declaration=no"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_var_optind_declaration=yes"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ 
+ fi
+ 
+-echo "configure:7602: result: $ac_cv_var_optind_declaration" >&5
++echo "configure:8781: result: $ac_cv_var_optind_declaration" >&5
+ echo "${ECHO_T}$ac_cv_var_optind_declaration" >&6
+ if eval "test \"\$ac_cv_var_optind_declaration\" = yes"; then
+ 	
+@@ -8431,14 +8788,14 @@
+ 
+ fi
+ 
+-echo "configure:7610: checking if opterr is properly declared" >&5
++echo "configure:8791: checking if opterr is properly declared" >&5
+ echo $ECHO_N "checking if opterr is properly declared... $ECHO_C" >&6
+ if test "${ac_cv_var_opterr_declaration+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-cat >conftest.$ac_ext <<EOF
+-#line 7616 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 8798 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ #ifdef HAVE_UNISTD_H
+@@ -8452,19 +8809,20 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:7631: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:8814: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_var_opterr_declaration=no"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_var_opterr_declaration=yes"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ 
+ fi
+ 
+-echo "configure:7640: result: $ac_cv_var_opterr_declaration" >&5
++echo "configure:8825: result: $ac_cv_var_opterr_declaration" >&5
+ echo "${ECHO_T}$ac_cv_var_opterr_declaration" >&6
+ if eval "test \"\$ac_cv_var_opterr_declaration\" = yes"; then
+ 	
+@@ -8474,14 +8832,14 @@
+ 
+ fi
+ 
+-echo "configure:7648: checking if optopt is properly declared" >&5
++echo "configure:8835: checking if optopt is properly declared" >&5
+ echo $ECHO_N "checking if optopt is properly declared... $ECHO_C" >&6
+ if test "${ac_cv_var_optopt_declaration+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-cat >conftest.$ac_ext <<EOF
+-#line 7654 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 8842 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ #ifdef HAVE_UNISTD_H
+@@ -8495,19 +8853,20 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:7669: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:8858: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_var_optopt_declaration=no"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_var_optopt_declaration=yes"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ 
+ fi
+ 
+-echo "configure:7678: result: $ac_cv_var_optopt_declaration" >&5
++echo "configure:8869: result: $ac_cv_var_optopt_declaration" >&5
+ echo "${ECHO_T}$ac_cv_var_optopt_declaration" >&6
+ if eval "test \"\$ac_cv_var_optopt_declaration\" = yes"; then
+ 	
+@@ -8517,14 +8876,14 @@
+ 
+ fi
+ 
+-echo "configure:7686: checking if environ is properly declared" >&5
++echo "configure:8879: checking if environ is properly declared" >&5
+ echo $ECHO_N "checking if environ is properly declared... $ECHO_C" >&6
+ if test "${ac_cv_var_environ_declaration+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-cat >conftest.$ac_ext <<EOF
+-#line 7692 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 8886 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ extern struct { int foo; } environ;
+@@ -8535,19 +8894,20 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:7704: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:8899: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_var_environ_declaration=no"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_var_environ_declaration=yes"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ 
+ fi
+ 
+-echo "configure:7713: result: $ac_cv_var_environ_declaration" >&5
++echo "configure:8910: result: $ac_cv_var_environ_declaration" >&5
+ echo "${ECHO_T}$ac_cv_var_environ_declaration" >&6
+ if eval "test \"\$ac_cv_var_environ_declaration\" = yes"; then
+ 	
+@@ -8557,14 +8917,14 @@
+ 
+ fi
+ 
+-echo "configure:7721: checking for tm_gmtoff in struct tm" >&5
++echo "configure:8920: checking for tm_gmtoff in struct tm" >&5
+ echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_tm_tm_gmtoff+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-cat >conftest.$ac_ext <<EOF
+-#line 7727 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 8927 "configure"
+ #include "confdefs.h"
+ #include <time.h>
+ int
+@@ -8574,17 +8934,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:7738: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:8939: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_tm_tm_gmtoff=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_struct_tm_tm_gmtoff=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:7747: result: $ac_cv_type_struct_tm_tm_gmtoff" >&5
++echo "configure:8948: result: $ac_cv_type_struct_tm_tm_gmtoff" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_tm_tm_gmtoff" >&6
+ if test "$ac_cv_type_struct_tm_tm_gmtoff" = yes; then
+ 	
+@@ -8596,14 +8957,14 @@
+ 	
+ fi
+ 
+-echo "configure:7757: checking for tm_zone in struct tm" >&5
++echo "configure:8960: checking for tm_zone in struct tm" >&5
+ echo $ECHO_N "checking for tm_zone in struct tm... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_tm_tm_zone+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-cat >conftest.$ac_ext <<EOF
+-#line 7763 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 8967 "configure"
+ #include "confdefs.h"
+ #include <time.h>
+ int
+@@ -8613,17 +8974,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:7774: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:8979: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_tm_tm_zone=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_struct_tm_tm_zone=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:7783: result: $ac_cv_type_struct_tm_tm_zone" >&5
++echo "configure:8988: result: $ac_cv_type_struct_tm_tm_zone" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_tm_tm_zone" >&6
+ if test "$ac_cv_type_struct_tm_tm_zone" = yes; then
+ 	
+@@ -8635,14 +8997,14 @@
+ 	
+ fi
+ 
+-echo "configure:7793: checking for timezone" >&5
++echo "configure:9000: checking for timezone" >&5
+ echo $ECHO_N "checking for timezone... $ECHO_C" >&6
+ if test "${ac_cv_var_timezone+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-cat >conftest.$ac_ext <<EOF
+-#line 7799 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 9007 "configure"
+ #include "confdefs.h"
+ extern int timezone;
+ int foo() { return timezone; }
+@@ -8653,20 +9015,21 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:7811: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:9020: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_var_timezone=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_var_timezone=no
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 
+ fi
+ 
+ ac_foo=`eval echo \\$ac_cv_var_timezone`
+-echo "configure:7821: result: $ac_foo" >&5
++echo "configure:9032: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+ 	
+@@ -8675,14 +9038,14 @@
+ EOF
+ 
+ 	
+-echo "configure:7829: checking if timezone is properly declared" >&5
++echo "configure:9041: checking if timezone is properly declared" >&5
+ echo $ECHO_N "checking if timezone is properly declared... $ECHO_C" >&6
+ if test "${ac_cv_var_timezone_declaration+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-cat >conftest.$ac_ext <<EOF
+-#line 7835 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 9048 "configure"
+ #include "confdefs.h"
+ #include <time.h>
+ extern struct { int foo; } timezone;
+@@ -8693,19 +9056,20 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:7847: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:9061: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_var_timezone_declaration=no"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_var_timezone_declaration=yes"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ 
+ fi
+ 
+-echo "configure:7856: result: $ac_cv_var_timezone_declaration" >&5
++echo "configure:9072: result: $ac_cv_var_timezone_declaration" >&5
+ echo "${ECHO_T}$ac_cv_var_timezone_declaration" >&6
+ if eval "test \"\$ac_cv_var_timezone_declaration\" = yes"; then
+ 	
+@@ -8718,13 +9082,13 @@
+ fi
+ 
+ cv=`echo "sa_family_t" | sed 'y%./+- %__p__%'`
+-echo "configure:7866: checking for sa_family_t" >&5
++echo "configure:9085: checking for sa_family_t" >&5
+ echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 7872 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 9091 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -8739,29 +9103,30 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:7888: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:9108: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_type_$cv=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_type_$cv=no"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "configure:7898: result: $ac_foo" >&5
++echo "configure:9118: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo sa_family_t | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "configure:7903: checking for sa_family_t" >&5
++	echo "configure:9123: checking for sa_family_t" >&5
+ echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6
+ if test "${ac_cv_type_sa_family_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 7909 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 9129 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -8774,17 +9139,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:7923: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:9144: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_sa_family_t=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_sa_family_t=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:7932: result: $ac_cv_type_sa_family_t" >&5
++echo "configure:9153: result: $ac_cv_type_sa_family_t" >&5
+ echo "${ECHO_T}$ac_cv_type_sa_family_t" >&6
+ if test $ac_cv_type_sa_family_t = yes; then
+ 
+@@ -8803,13 +9169,13 @@
+ fi
+ 
+ cv=`echo "socklen_t" | sed 'y%./+- %__p__%'`
+-echo "configure:7945: checking for socklen_t" >&5
++echo "configure:9172: checking for socklen_t" >&5
+ echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 7951 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 9178 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -8824,29 +9190,30 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:7967: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:9195: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_type_$cv=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_type_$cv=no"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "configure:7977: result: $ac_foo" >&5
++echo "configure:9205: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo socklen_t | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "configure:7982: checking for socklen_t" >&5
++	echo "configure:9210: checking for socklen_t" >&5
+ echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
+ if test "${ac_cv_type_socklen_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 7988 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 9216 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -8859,17 +9226,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:8002: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:9231: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_socklen_t=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_socklen_t=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:8011: result: $ac_cv_type_socklen_t" >&5
++echo "configure:9240: result: $ac_cv_type_socklen_t" >&5
+ echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
+ if test $ac_cv_type_socklen_t = yes; then
+ 
+@@ -8888,13 +9256,13 @@
+ fi
+ 
+ cv=`echo "struct sockaddr" | sed 'y%./+- %__p__%'`
+-echo "configure:8024: checking for struct sockaddr" >&5
++echo "configure:9259: checking for struct sockaddr" >&5
+ echo $ECHO_N "checking for struct sockaddr... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 8030 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 9265 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -8909,29 +9277,30 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:8046: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:9282: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_type_$cv=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_type_$cv=no"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "configure:8056: result: $ac_foo" >&5
++echo "configure:9292: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo struct sockaddr | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "configure:8061: checking for struct sockaddr" >&5
++	echo "configure:9297: checking for struct sockaddr" >&5
+ echo $ECHO_N "checking for struct sockaddr... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_sockaddr+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 8067 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 9303 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -8944,17 +9313,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:8081: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:9318: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_sockaddr=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_struct_sockaddr=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:8090: result: $ac_cv_type_struct_sockaddr" >&5
++echo "configure:9327: result: $ac_cv_type_struct_sockaddr" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_sockaddr" >&6
+ if test $ac_cv_type_struct_sockaddr = yes; then
+ 
+@@ -8973,13 +9343,13 @@
+ fi
+ 
+ cv=`echo "struct sockaddr_storage" | sed 'y%./+- %__p__%'`
+-echo "configure:8103: checking for struct sockaddr_storage" >&5
++echo "configure:9346: checking for struct sockaddr_storage" >&5
+ echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 8109 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 9352 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -8994,29 +9364,30 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:8125: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:9369: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_type_$cv=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_type_$cv=no"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "configure:8135: result: $ac_foo" >&5
++echo "configure:9379: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo struct sockaddr_storage | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "configure:8140: checking for struct sockaddr_storage" >&5
++	echo "configure:9384: checking for struct sockaddr_storage" >&5
+ echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_sockaddr_storage+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 8146 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 9390 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -9029,17 +9400,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:8160: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:9405: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_sockaddr_storage=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_struct_sockaddr_storage=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:8169: result: $ac_cv_type_struct_sockaddr_storage" >&5
++echo "configure:9414: result: $ac_cv_type_struct_sockaddr_storage" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_sockaddr_storage" >&6
+ if test $ac_cv_type_struct_sockaddr_storage = yes; then
+ 
+@@ -9058,13 +9430,13 @@
+ fi
+ 
+ cv=`echo "struct addrinfo" | sed 'y%./+- %__p__%'`
+-echo "configure:8182: checking for struct addrinfo" >&5
++echo "configure:9433: checking for struct addrinfo" >&5
+ echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 8188 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 9439 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -9079,29 +9451,30 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:8204: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:9456: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_type_$cv=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_type_$cv=no"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "configure:8214: result: $ac_foo" >&5
++echo "configure:9466: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo struct addrinfo | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "configure:8219: checking for struct addrinfo" >&5
++	echo "configure:9471: checking for struct addrinfo" >&5
+ echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_addrinfo+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 8225 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 9477 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -9114,17 +9487,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:8239: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:9492: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_addrinfo=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_struct_addrinfo=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:8248: result: $ac_cv_type_struct_addrinfo" >&5
++echo "configure:9501: result: $ac_cv_type_struct_addrinfo" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_addrinfo" >&6
+ if test $ac_cv_type_struct_addrinfo = yes; then
+ 
+@@ -9143,13 +9517,13 @@
+ fi
+ 
+ cv=`echo "struct ifaddrs" | sed 'y%./+- %__p__%'`
+-echo "configure:8261: checking for struct ifaddrs" >&5
++echo "configure:9520: checking for struct ifaddrs" >&5
+ echo $ECHO_N "checking for struct ifaddrs... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 8267 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 9526 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -9164,29 +9538,30 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:8283: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:9543: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_type_$cv=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_type_$cv=no"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "configure:8293: result: $ac_foo" >&5
++echo "configure:9553: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo struct ifaddrs | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "configure:8298: checking for struct ifaddrs" >&5
++	echo "configure:9558: checking for struct ifaddrs" >&5
+ echo $ECHO_N "checking for struct ifaddrs... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_ifaddrs+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 8304 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 9564 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -9199,17 +9574,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:8318: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:9579: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_ifaddrs=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_struct_ifaddrs=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:8327: result: $ac_cv_type_struct_ifaddrs" >&5
++echo "configure:9588: result: $ac_cv_type_struct_ifaddrs" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_ifaddrs" >&6
+ if test $ac_cv_type_struct_ifaddrs = yes; then
+ 
+@@ -9227,7 +9603,7 @@
+ 
+ fi
+ 
+-echo "configure:8339: checking for struct winsize" >&5
++echo "configure:9606: checking for struct winsize" >&5
+ echo $ECHO_N "checking for struct winsize... $ECHO_C" >&6
+ if test "${ac_cv_struct_winsize+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -9235,12 +9611,12 @@
+ 
+ ac_cv_struct_winsize=no
+ for i in sys/termios.h sys/ioctl.h; do
+-cat >conftest.$ac_ext <<EOF
+-#line 8347 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 9615 "configure"
+ #include "confdefs.h"
+ #include <$i>
+ 
+-EOF
++_ACEOF
+ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+   egrep "struct[ 	]*winsize" >/dev/null 2>&1; then
+   ac_cv_struct_winsize=yes; break
+@@ -9257,14 +9633,14 @@
+ EOF
+ 
+ fi
+-echo "configure:8363: result: $ac_cv_struct_winsize" >&5
++echo "configure:9636: result: $ac_cv_struct_winsize" >&5
+ echo "${ECHO_T}$ac_cv_struct_winsize" >&6
+-cat >conftest.$ac_ext <<EOF
+-#line 8366 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 9639 "configure"
+ #include "confdefs.h"
+ #include <termios.h>
+ 
+-EOF
++_ACEOF
+ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+   egrep "ws_xpixel" >/dev/null 2>&1; then
+ 
+@@ -9275,12 +9651,12 @@
+ fi
+ rm -f conftest*
+ 
+-cat >conftest.$ac_ext <<EOF
+-#line 8378 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 9655 "configure"
+ #include "confdefs.h"
+ #include <termios.h>
+ 
+-EOF
++_ACEOF
+ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+   egrep "ws_ypixel" >/dev/null 2>&1; then
+ 
+@@ -9291,14 +9667,14 @@
+ fi
+ rm -f conftest*
+ 
+-echo "configure:8389: checking for struct spwd" >&5
++echo "configure:9670: checking for struct spwd" >&5
+ echo $ECHO_N "checking for struct spwd... $ECHO_C" >&6
+ if test "${ac_cv_struct_spwd+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-cat >conftest.$ac_ext <<EOF
+-#line 8395 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 9677 "configure"
+ #include "confdefs.h"
+ #include <pwd.h>
+ #ifdef HAVE_SHADOW_H
+@@ -9311,19 +9687,20 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:8409: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:9692: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_struct_spwd=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_struct_spwd=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ 
+ fi
+ 
+-echo "configure:8418: result: $ac_cv_struct_spwd" >&5
++echo "configure:9703: result: $ac_cv_struct_spwd" >&5
+ echo "${ECHO_T}$ac_cv_struct_spwd" >&6
+ 
+ if test "$ac_cv_struct_spwd" = "yes"; then
+@@ -9334,14 +9711,14 @@
+ 
+ fi
+ 
+-echo "configure:8425: checking for sa_len in struct sockaddr" >&5
++echo "configure:9714: checking for sa_len in struct sockaddr" >&5
+ echo $ECHO_N "checking for sa_len in struct sockaddr... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_sockaddr_sa_len+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-cat >conftest.$ac_ext <<EOF
+-#line 8431 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 9721 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #include <sys/socket.h>
+@@ -9352,17 +9729,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:8443: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:9734: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_sockaddr_sa_len=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_struct_sockaddr_sa_len=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:8452: result: $ac_cv_type_struct_sockaddr_sa_len" >&5
++echo "configure:9743: result: $ac_cv_type_struct_sockaddr_sa_len" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_sockaddr_sa_len" >&6
+ if test "$ac_cv_type_struct_sockaddr_sa_len" = yes; then
+ 	
+@@ -9382,7 +9760,8 @@
+ if test "${with_openldap+set}" = set; then
+   withval="$with_openldap"
+ 
+-fi
++fi;
++
+ # Check whether --with-openldap-lib or --without-openldap-lib was given.
+ if test "${with_openldap_lib+set}" = set; then
+   withval="$with_openldap_lib"
+@@ -9391,7 +9770,8 @@
+ elif test "X$with_openldap" = "X"; then
+   with_openldap=yes
+ fi
+-fi
++fi;
++
+ # Check whether --with-openldap-include or --without-openldap-include was given.
+ if test "${with_openldap_include+set}" = set; then
+   withval="$with_openldap_include"
+@@ -9400,9 +9780,9 @@
+ elif test "X$with_openldap" = "X"; then
+   with_openldap=yes
+ fi
+-fi
++fi;
+ 
+-echo "configure:8486: checking for openldap" >&5
++echo "configure:9785: checking for openldap" >&5
+ echo $ECHO_N "checking for openldap... $ECHO_C" >&6
+ 
+ case "$with_openldap" in
+@@ -9420,7 +9800,7 @@
+ header_dirs=
+ lib_dirs=
+ d=''
+-for i in $d; do
++for i in $d /usr; do
+ 	header_dirs="$header_dirs $i/include"
+ 	lib_dirs="$lib_dirs $i/lib$abilibdirext"
+ done
+@@ -9441,8 +9821,8 @@
+ ires= lres=
+ for i in $header_dirs; do
+ 	CFLAGS="-I$i $save_CFLAGS"
+-	cat >conftest.$ac_ext <<EOF
+-#line 8523 "configure"
++	cat >conftest.$ac_ext <<_ACEOF
++#line 9825 "configure"
+ #include "confdefs.h"
+ #include <ldap.h>
+ int
+@@ -9452,19 +9832,20 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:8533: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:9837: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ires=$i;break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ done
+ for i in $lib_dirs; do
+ 	LIBS="-L$i -lldap -llber  $save_LIBS"
+-	cat >conftest.$ac_ext <<EOF
+-#line 8544 "configure"
++	cat >conftest.$ac_ext <<_ACEOF
++#line 9848 "configure"
+ #include "confdefs.h"
+ #include <ldap.h>
+ int
+@@ -9474,14 +9855,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:8554: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:9860: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   lres=$i;break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ done
+ CFLAGS="$save_CFLAGS"
+ LIBS="$save_LIBS"
+@@ -9489,6 +9871,7 @@
+ if test "$ires" -a "$lres" -a "$with_openldap" != "no"; then
+ 	openldap_includedir="$ires"
+ 	openldap_libdir="$lres"
++	DIR_openldap=
+ 	INCLUDE_openldap="-I$openldap_includedir"
+ 	LIB_openldap="-L$openldap_libdir -lldap -llber"
+ 	
+@@ -9497,13 +9880,14 @@
+ EOF
+ 
+ 	with_openldap=yes
+-	echo "configure:8574: result: headers $ires, libraries $lres" >&5
++	echo "configure:9883: result: headers $ires, libraries $lres" >&5
+ echo "${ECHO_T}headers $ires, libraries $lres" >&6
+ else
++	DIR_openldap="openldap"
+ 	INCLUDE_openldap=
+ 	LIB_openldap=
+ 	with_openldap=no
+-	echo "configure:8580: result: $with_openldap" >&5
++	echo "configure:9890: result: $with_openldap" >&5
+ echo "${ECHO_T}$with_openldap" >&6
+ fi
+ 
+@@ -9515,7 +9899,8 @@
+ if test "${with_krb4+set}" = set; then
+   withval="$with_krb4"
+ 
+-fi
++fi;
++
+ # Check whether --with-krb4-lib or --without-krb4-lib was given.
+ if test "${with_krb4_lib+set}" = set; then
+   withval="$with_krb4_lib"
+@@ -9524,7 +9909,8 @@
+ elif test "X$with_krb4" = "X"; then
+   with_krb4=yes
+ fi
+-fi
++fi;
++
+ # Check whether --with-krb4-include or --without-krb4-include was given.
+ if test "${with_krb4_include+set}" = set; then
+   withval="$with_krb4_include"
+@@ -9533,9 +9919,9 @@
+ elif test "X$with_krb4" = "X"; then
+   with_krb4=yes
+ fi
+-fi
++fi;
+ 
+-echo "configure:8608: checking for krb4" >&5
++echo "configure:9924: checking for krb4" >&5
+ echo $ECHO_N "checking for krb4... $ECHO_C" >&6
+ 
+ case "$with_krb4" in
+@@ -9553,7 +9939,7 @@
+ header_dirs=
+ lib_dirs=
+ d='/usr/athena'
+-for i in $d; do
++for i in $d /usr; do
+ 	header_dirs="$header_dirs $i/include"
+ 	lib_dirs="$lib_dirs $i/lib$abilibdirext"
+ done
+@@ -9574,8 +9960,8 @@
+ ires= lres=
+ for i in $header_dirs; do
+ 	CFLAGS="-I$i $save_CFLAGS"
+-	cat >conftest.$ac_ext <<EOF
+-#line 8645 "configure"
++	cat >conftest.$ac_ext <<_ACEOF
++#line 9964 "configure"
+ #include "confdefs.h"
+ #include <krb.h>
+ int
+@@ -9585,19 +9971,20 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:8655: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:9976: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ires=$i;break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ done
+ for i in $lib_dirs; do
+ 	LIBS="-L$i -lkrb -ldes $save_LIBS"
+-	cat >conftest.$ac_ext <<EOF
+-#line 8666 "configure"
++	cat >conftest.$ac_ext <<_ACEOF
++#line 9987 "configure"
+ #include "confdefs.h"
+ #include <krb.h>
+ int
+@@ -9607,14 +9994,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:8676: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:9999: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   lres=$i;break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ done
+ CFLAGS="$save_CFLAGS"
+ LIBS="$save_LIBS"
+@@ -9622,6 +10010,7 @@
+ if test "$ires" -a "$lres" -a "$with_krb4" != "no"; then
+ 	krb4_includedir="$ires"
+ 	krb4_libdir="$lres"
++	DIR_krb4=
+ 	INCLUDE_krb4="-I$krb4_includedir"
+ 	LIB_krb4="-L$krb4_libdir -lkrb"
+ 	
+@@ -9630,13 +10019,14 @@
+ EOF
+ 
+ 	with_krb4=yes
+-	echo "configure:8696: result: headers $ires, libraries $lres" >&5
++	echo "configure:10022: result: headers $ires, libraries $lres" >&5
+ echo "${ECHO_T}headers $ires, libraries $lres" >&6
+ else
++	DIR_krb4="krb4"
+ 	INCLUDE_krb4=
+ 	LIB_krb4=
+ 	with_krb4=no
+-	echo "configure:8702: result: $with_krb4" >&5
++	echo "configure:10029: result: $with_krb4" >&5
+ echo "${ECHO_T}$with_krb4" >&6
+ fi
+ 
+@@ -9648,13 +10038,13 @@
+ 	LIBS="$LIB_krb4 -ldes $LIBS"
+ 	EXTRA_LIB45=lib45.a
+ 	
+-	echo "configure:8713: checking for four valued krb_put_int" >&5
++	echo "configure:10041: checking for four valued krb_put_int" >&5
+ echo $ECHO_N "checking for four valued krb_put_int... $ECHO_C" >&6
+ if test "${ac_cv_func_krb_put_int_four+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 8719 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 10047 "configure"
+ #include "confdefs.h"
+ #include <krb.h>
+ int
+@@ -9666,18 +10056,19 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:8731: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:10061: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_func_krb_put_int_four=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_func_krb_put_int_four=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ 	
+ fi
+-echo "configure:8741: result: $ac_cv_func_krb_put_int_four" >&5
++echo "configure:10071: result: $ac_cv_func_krb_put_int_four" >&5
+ echo "${ECHO_T}$ac_cv_func_krb_put_int_four" >&6
+ 	if test "$ac_cv_func_krb_put_int_four" = yes; then
+ 		
+@@ -9688,13 +10079,13 @@
+ 	fi
+ 	
+ 
+-	echo "configure:8750: checking for KRB_VERIFY_SECURE" >&5
++	echo "configure:10082: checking for KRB_VERIFY_SECURE" >&5
+ echo $ECHO_N "checking for KRB_VERIFY_SECURE... $ECHO_C" >&6
+ if test "${ac_cv_func_krb_verify_secure+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 8756 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 10088 "configure"
+ #include "confdefs.h"
+ #include <krb.h>
+ int
+@@ -9705,18 +10096,19 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:8767: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:10101: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_func_krb_verify_secure=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_func_krb_verify_secure=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ 	
+ fi
+-echo "configure:8777: result: $ac_cv_func_krb_verify_secure" >&5
++echo "configure:10111: result: $ac_cv_func_krb_verify_secure" >&5
+ echo "${ECHO_T}$ac_cv_func_krb_verify_secure" >&6
+ 	if test "$ac_cv_func_krb_verify_secure" != yes; then
+ 		
+@@ -9730,13 +10122,13 @@
+ EOF
+ 
+ 	fi
+-	echo "configure:8789: checking for KRB_VERIFY_NOT_SECURE" >&5
++	echo "configure:10125: checking for KRB_VERIFY_NOT_SECURE" >&5
+ echo $ECHO_N "checking for KRB_VERIFY_NOT_SECURE... $ECHO_C" >&6
+ if test "${ac_cv_func_krb_verify_not_secure+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 8795 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 10131 "configure"
+ #include "confdefs.h"
+ #include <krb.h>
+ int
+@@ -9747,18 +10139,19 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:8806: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:10144: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_func_krb_verify_not_secure=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_func_krb_verify_not_secure=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ 	
+ fi
+-echo "configure:8816: result: $ac_cv_func_krb_verify_not_secure" >&5
++echo "configure:10154: result: $ac_cv_func_krb_verify_not_secure" >&5
+ echo "${ECHO_T}$ac_cv_func_krb_verify_not_secure" >&6
+ 	if test "$ac_cv_func_krb_verify_not_secure" != yes; then
+ 		
+@@ -9769,7 +10162,7 @@
+ 	fi
+ 	
+ 
+-echo "configure:8825: checking for krb_enable_debug" >&5
++echo "configure:10165: checking for krb_enable_debug" >&5
+ echo $ECHO_N "checking for krb_enable_debug... $ECHO_C" >&6
+ if test "${ac_cv_funclib_krb_enable_debug+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -9784,8 +10177,8 @@
+ 			ac_lib=""
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 8840 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 10181 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -9795,14 +10188,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:8850: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:10193: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_krb_enable_debug=$ac_lib; else ac_cv_funclib_krb_enable_debug=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_krb_enable_debug=\${ac_cv_funclib_krb_enable_debug-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -9817,13 +10211,13 @@
+ for ac_func in krb_enable_debug
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:8868: checking for $ac_func" >&5
++echo "configure:10214: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 8874 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 10220 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -9852,17 +10246,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:8902: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:10251: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:8911: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:10260: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -9886,13 +10281,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:8931: result: yes" >&5
++	echo "configure:10284: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_krb_enable_debug=no"
+ 	eval "LIB_krb_enable_debug="
+-	echo "configure:8937: result: no" >&5
++	echo "configure:10290: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -9906,7 +10301,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:8949: result: yes, in $ac_res" >&5
++	echo "configure:10304: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -9917,7 +10312,7 @@
+ 
+ 	
+ 
+-echo "configure:8957: checking for krb_disable_debug" >&5
++echo "configure:10315: checking for krb_disable_debug" >&5
+ echo $ECHO_N "checking for krb_disable_debug... $ECHO_C" >&6
+ if test "${ac_cv_funclib_krb_disable_debug+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -9932,8 +10327,8 @@
+ 			ac_lib=""
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 8972 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 10331 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -9943,14 +10338,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:8982: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:10343: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_krb_disable_debug=$ac_lib; else ac_cv_funclib_krb_disable_debug=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_krb_disable_debug=\${ac_cv_funclib_krb_disable_debug-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -9965,13 +10361,13 @@
+ for ac_func in krb_disable_debug
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:9000: checking for $ac_func" >&5
++echo "configure:10364: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 9006 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 10370 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -10000,17 +10396,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:9034: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:10401: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:9043: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:10410: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -10034,13 +10431,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:9063: result: yes" >&5
++	echo "configure:10434: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_krb_disable_debug=no"
+ 	eval "LIB_krb_disable_debug="
+-	echo "configure:9069: result: no" >&5
++	echo "configure:10440: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -10054,7 +10451,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:9081: result: yes, in $ac_res" >&5
++	echo "configure:10454: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -10065,7 +10462,7 @@
+ 
+ 	
+ 
+-echo "configure:9089: checking for krb_get_our_ip_for_realm" >&5
++echo "configure:10465: checking for krb_get_our_ip_for_realm" >&5
+ echo $ECHO_N "checking for krb_get_our_ip_for_realm... $ECHO_C" >&6
+ if test "${ac_cv_funclib_krb_get_our_ip_for_realm+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -10080,8 +10477,8 @@
+ 			ac_lib=""
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 9104 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 10481 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -10091,14 +10488,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:9114: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:10493: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_krb_get_our_ip_for_realm=$ac_lib; else ac_cv_funclib_krb_get_our_ip_for_realm=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_krb_get_our_ip_for_realm=\${ac_cv_funclib_krb_get_our_ip_for_realm-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -10113,13 +10511,13 @@
+ for ac_func in krb_get_our_ip_for_realm
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:9132: checking for $ac_func" >&5
++echo "configure:10514: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 9138 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 10520 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -10148,17 +10546,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:9166: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:10551: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:9175: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:10560: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -10182,13 +10581,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:9195: result: yes" >&5
++	echo "configure:10584: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_krb_get_our_ip_for_realm=no"
+ 	eval "LIB_krb_get_our_ip_for_realm="
+-	echo "configure:9201: result: no" >&5
++	echo "configure:10590: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -10202,7 +10601,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:9213: result: yes, in $ac_res" >&5
++	echo "configure:10604: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -10211,13 +10610,13 @@
+ 	LIBS="$LIB_krb_get_our_ip_for_realm $LIBS"
+ fi
+ 
+-	echo "configure:9220: checking for krb_mk_req with const arguments" >&5
++	echo "configure:10613: checking for krb_mk_req with const arguments" >&5
+ echo $ECHO_N "checking for krb_mk_req with const arguments... $ECHO_C" >&6
+ if test "${ac_cv_func_krb_mk_req_const+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 9226 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 10619 "configure"
+ #include "confdefs.h"
+ #include <krb.h>
+ 		int krb_mk_req(KTEXT a, const char *s, const char *i,
+@@ -10230,18 +10629,19 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:9239: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:10634: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_func_krb_mk_req_const=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_func_krb_mk_req_const=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ 	
+ fi
+-echo "configure:9249: result: $ac_cv_func_krb_mk_req_const" >&5
++echo "configure:10644: result: $ac_cv_func_krb_mk_req_const" >&5
+ echo "${ECHO_T}$ac_cv_func_krb_mk_req_const" >&6
+ 	if test "$ac_cv_func_krb_mk_req_const" = "yes"; then
+ 		
+@@ -10292,7 +10692,7 @@
+ if test "${enable_dce+set}" = set; then
+   enableval="$enable_dce"
+ 
+-fi
++fi;
+ if test "$enable_dce" = yes; then
+ 
+ cat >>confdefs.h <<\EOF
+@@ -10322,7 +10722,7 @@
+ if test "${enable_kaserver+set}" = set; then
+   enableval="$enable_kaserver"
+ 
+-fi
++fi;
+ if test "$enable_kaserver" = yes; then
+ 	
+ cat >>confdefs.h <<\EOF
+@@ -10339,7 +10739,7 @@
+ if test "${enable_kaserver_db+set}" = set; then
+   enableval="$enable_kaserver_db"
+ 
+-fi
++fi;
+ if test "$enable_kaserver_db" = yes; then
+ 	
+ cat >>confdefs.h <<\EOF
+@@ -10361,7 +10761,7 @@
+ 	otp=no
+ fi
+ 
+-fi
++fi;
+ if test "$otp" = "yes"; then
+ 	
+ cat >>confdefs.h <<\EOF
+@@ -10383,7 +10783,7 @@
+ if test "${enable_osfc2+set}" = set; then
+   enableval="$enable_osfc2"
+ 
+-fi
++fi;
+ LIB_security=
+ if test "$enable_osfc2" = yes; then
+ 	
+@@ -10396,7 +10796,7 @@
+ 
+ # Extract the first word of "nroff", so it can be a program name with args.
+ set dummy nroff; ac_word=$2
+-echo "configure:9377: checking for $ac_word" >&5
++echo "configure:10799: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_path_NROFF+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -10412,7 +10812,7 @@
+   IFS=$ac_save_IFS
+   test -z "$ac_dir" && ac_dir=.
+   if test -f "$ac_dir/$ac_word"; then
+-   ac_cv_path_NROFF=$ac_dir/$ac_word
++   ac_cv_path_NROFF="$ac_dir/$ac_word"
+    break
+ fi
+ done
+@@ -10421,17 +10821,18 @@
+ esac
+ fi
+ NROFF=$ac_cv_path_NROFF
++
+ if test -n "$NROFF"; then
+-  echo "configure:9402: result: $NROFF" >&5
++  echo "configure:10826: result: $NROFF" >&5
+ echo "${ECHO_T}$NROFF" >&6
+ else
+-  echo "configure:9405: result: no" >&5
++  echo "configure:10829: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+ # Extract the first word of "groff", so it can be a program name with args.
+ set dummy groff; ac_word=$2
+-echo "configure:9410: checking for $ac_word" >&5
++echo "configure:10835: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_path_GROFF+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -10447,7 +10848,7 @@
+   IFS=$ac_save_IFS
+   test -z "$ac_dir" && ac_dir=.
+   if test -f "$ac_dir/$ac_word"; then
+-   ac_cv_path_GROFF=$ac_dir/$ac_word
++   ac_cv_path_GROFF="$ac_dir/$ac_word"
+    break
+ fi
+ done
+@@ -10456,15 +10857,16 @@
+ esac
+ fi
+ GROFF=$ac_cv_path_GROFF
++
+ if test -n "$GROFF"; then
+-  echo "configure:9435: result: $GROFF" >&5
++  echo "configure:10862: result: $GROFF" >&5
+ echo "${ECHO_T}$GROFF" >&6
+ else
+-  echo "configure:9438: result: no" >&5
++  echo "configure:10865: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+-echo "configure:9441: checking how to format man pages" >&5
++echo "configure:10869: checking how to format man pages" >&5
+ echo $ECHO_N "checking how to format man pages... $ECHO_C" >&6
+ if test "${ac_cv_sys_man_format+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -10500,97 +10902,371 @@
+ 	ac_cv_sys_man_format="$ac_cv_sys_man_format \$< > \$@"
+ fi
+ 
+-fi
+-echo "configure:9476: result: $ac_cv_sys_man_format" >&5
+-echo "${ECHO_T}$ac_cv_sys_man_format" >&6
+-if test "$ac_cv_sys_man_format"; then
+-	CATMAN="$ac_cv_sys_man_format"
+-	
+-fi
++fi
++echo "configure:10906: result: $ac_cv_sys_man_format" >&5
++echo "${ECHO_T}$ac_cv_sys_man_format" >&6
++if test "$ac_cv_sys_man_format"; then
++	CATMAN="$ac_cv_sys_man_format"
++	
++fi
++
++if test "$CATMAN"; then
++  CATMAN_TRUE=
++  CATMAN_FALSE='#'
++else
++  CATMAN_TRUE='#'
++  CATMAN_FALSE=
++fi
++echo "configure:10920: checking extension of pre-formatted manual pages" >&5
++echo $ECHO_N "checking extension of pre-formatted manual pages... $ECHO_C" >&6
++if test "${ac_cv_sys_catman_ext+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if grep _suffix /etc/man.conf > /dev/null 2>&1; then
++	ac_cv_sys_catman_ext=0
++else
++	ac_cv_sys_catman_ext=number
++fi
++
++fi
++echo "configure:10932: result: $ac_cv_sys_catman_ext" >&5
++echo "${ECHO_T}$ac_cv_sys_catman_ext" >&6
++if test "$ac_cv_sys_catman_ext" = number; then
++	CATMANEXT='$$section'
++else
++	CATMANEXT=0
++fi
++
++# Check whether --with-readline or --without-readline was given.
++if test "${with_readline+set}" = set; then
++  withval="$with_readline"
++
++fi;
++
++# Check whether --with-readline-lib or --without-readline-lib was given.
++if test "${with_readline_lib+set}" = set; then
++  withval="$with_readline_lib"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { echo "configure: error: No argument for --with-readline-lib" >&2; exit 1; }
++elif test "X$with_readline" = "X"; then
++  with_readline=yes
++fi
++fi;
++
++# Check whether --with-readline-include or --without-readline-include was given.
++if test "${with_readline_include+set}" = set; then
++  withval="$with_readline_include"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { echo "configure: error: No argument for --with-readline-include" >&2; exit 1; }
++elif test "X$with_readline" = "X"; then
++  with_readline=yes
++fi
++fi;
++
++echo "configure:10966: checking for readline" >&5
++echo $ECHO_N "checking for readline... $ECHO_C" >&6
++
++case "$with_readline" in
++yes)	;;
++no)	;;
++"")	;;
++*)	if test "$with_readline_include" = ""; then
++		with_readline_include="$with_readline/include"
++	fi
++	if test "$with_readline_lib" = ""; then
++		with_readline_lib="$with_readline/lib$abilibdirext"
++	fi
++	;;
++esac
++header_dirs=
++lib_dirs=
++d=''
++for i in $d /usr; do
++	header_dirs="$header_dirs $i/include"
++	lib_dirs="$lib_dirs $i/lib$abilibdirext"
++done
++
++case "$with_readline_include" in
++yes) ;;
++no)  ;;
++*)   header_dirs="$with_readline_include $header_dirs";;
++esac
++case "$with_readline_lib" in
++yes) ;;
++no)  ;;
++*)   lib_dirs="$with_readline_lib $lib_dirs";;
++esac
++
++save_CFLAGS="$CFLAGS"
++save_LIBS="$LIBS"
++ires= lres=
++for i in $header_dirs; do
++	CFLAGS="-I$i $save_CFLAGS"
++	cat >conftest.$ac_ext <<_ACEOF
++#line 11006 "configure"
++#include "confdefs.h"
++#include <stdio.h>
++ #include <readline.h>
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:11019: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++  ires=$i;break
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++done
++for i in $lib_dirs; do
++	LIBS="-L$i -lreadline  $save_LIBS"
++	cat >conftest.$ac_ext <<_ACEOF
++#line 11030 "configure"
++#include "confdefs.h"
++#include <stdio.h>
++ #include <readline.h>
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:11043: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  lres=$i;break
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++fi
++rm -f conftest$ac_exeext conftest.$ac_ext
++done
++CFLAGS="$save_CFLAGS"
++LIBS="$save_LIBS"
++
++if test "$ires" -a "$lres" -a "$with_readline" != "no"; then
++	readline_includedir="$ires"
++	readline_libdir="$lres"
++	DIR_readline=
++	INCLUDE_readline="-I$readline_includedir"
++	LIB_readline="-L$readline_libdir -lreadline"
++	
++cat >>confdefs.h <<EOF
++#define READLINE 1
++EOF
++
++	with_readline=yes
++	echo "configure:11066: result: headers $ires, libraries $lres" >&5
++echo "${ECHO_T}headers $ires, libraries $lres" >&6
++else
++	DIR_readline="readline"
++	INCLUDE_readline=
++	LIB_readline=
++	with_readline=no
++	echo "configure:11073: result: $with_readline" >&5
++echo "${ECHO_T}$with_readline" >&6
++fi
++
++# Check whether --with-com_err or --without-com_err was given.
++if test "${with_com_err+set}" = set; then
++  withval="$with_com_err"
++
++fi;
++
++# Check whether --with-com_err-lib or --without-com_err-lib was given.
++if test "${with_com_err_lib+set}" = set; then
++  withval="$with_com_err_lib"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { echo "configure: error: No argument for --with-com_err-lib" >&2; exit 1; }
++elif test "X$with_com_err" = "X"; then
++  with_com_err=yes
++fi
++fi;
++
++# Check whether --with-com_err-include or --without-com_err-include was given.
++if test "${with_com_err_include+set}" = set; then
++  withval="$with_com_err_include"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { echo "configure: error: No argument for --with-com_err-include" >&2; exit 1; }
++elif test "X$with_com_err" = "X"; then
++  with_com_err=yes
++fi
++fi;
++
++echo "configure:11103: checking for com_err" >&5
++echo $ECHO_N "checking for com_err... $ECHO_C" >&6
++
++case "$with_com_err" in
++yes)	;;
++no)	;;
++"")	;;
++*)	if test "$with_com_err_include" = ""; then
++		with_com_err_include="$with_com_err/include"
++	fi
++	if test "$with_com_err_lib" = ""; then
++		with_com_err_lib="$with_com_err/lib$abilibdirext"
++	fi
++	;;
++esac
++header_dirs=
++lib_dirs=
++d=''
++for i in $d /usr; do
++	header_dirs="$header_dirs $i/include"
++	lib_dirs="$lib_dirs $i/lib$abilibdirext"
++done
++
++case "$with_com_err_include" in
++yes) ;;
++no)  ;;
++*)   header_dirs="$with_com_err_include $header_dirs";;
++esac
++case "$with_com_err_lib" in
++yes) ;;
++no)  ;;
++*)   lib_dirs="$with_com_err_lib $lib_dirs";;
++esac
+ 
+-if test "$CATMAN"; then
+-  CATMAN_TRUE=
+-  CATMAN_FALSE='#'
+-else
+-  CATMAN_TRUE='#'
+-  CATMAN_FALSE=
+-fi
+-echo "configure:9489: checking extension of pre-formatted manual pages" >&5
+-echo $ECHO_N "checking extension of pre-formatted manual pages... $ECHO_C" >&6
+-if test "${ac_cv_sys_catman_ext+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  if grep _suffix /etc/man.conf > /dev/null 2>&1; then
+-	ac_cv_sys_catman_ext=0
++save_CFLAGS="$CFLAGS"
++save_LIBS="$LIBS"
++ires= lres=
++for i in $header_dirs; do
++	CFLAGS="-I$i $save_CFLAGS"
++	cat >conftest.$ac_ext <<_ACEOF
++#line 11143 "configure"
++#include "confdefs.h"
++#include <et/com_err.h>
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:11155: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++  ires=$i;break
+ else
+-	ac_cv_sys_catman_ext=number
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++done
++for i in $lib_dirs; do
++	LIBS="-L$i -lcom_err  $save_LIBS"
++	cat >conftest.$ac_ext <<_ACEOF
++#line 11166 "configure"
++#include "confdefs.h"
++#include <et/com_err.h>
++int
++main ()
++{
+ 
+-fi
+-echo "configure:9500: result: $ac_cv_sys_catman_ext" >&5
+-echo "${ECHO_T}$ac_cv_sys_catman_ext" >&6
+-if test "$ac_cv_sys_catman_ext" = number; then
+-	CATMANEXT='$$section'
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:11178: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  lres=$i;break
+ else
+-	CATMANEXT=0
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
++rm -f conftest$ac_exeext conftest.$ac_ext
++done
++CFLAGS="$save_CFLAGS"
++LIBS="$save_LIBS"
+ 
+-# Check whether --with-readline or --without-readline was given.
+-if test "${with_readline+set}" = set; then
+-  withval="$with_readline"
++if test "$ires" -a "$lres" -a "$with_com_err" != "no"; then
++	com_err_includedir="$ires"
++	com_err_libdir="$lres"
++	DIR_com_err=
++	INCLUDE_com_err="-I$com_err_includedir"
++	LIB_com_err="-L$com_err_libdir -lcom_err"
++	
++cat >>confdefs.h <<EOF
++#define COM_ERR 1
++EOF
+ 
+-fi
+-# Check whether --with-readline-lib or --without-readline-lib was given.
+-if test "${with_readline_lib+set}" = set; then
+-  withval="$with_readline_lib"
++	with_com_err=yes
++	echo "configure:11201: result: headers $ires, libraries $lres" >&5
++echo "${ECHO_T}headers $ires, libraries $lres" >&6
++else
++	DIR_com_err="com_err"
++	INCLUDE_com_err=
++	LIB_com_err=
++	with_com_err=no
++	echo "configure:11208: result: $with_com_err" >&5
++echo "${ECHO_T}$with_com_err" >&6
++fi
++
++# Check whether --with-ss or --without-ss was given.
++if test "${with_ss+set}" = set; then
++  withval="$with_ss"
++
++fi;
++
++# Check whether --with-ss-lib or --without-ss-lib was given.
++if test "${with_ss_lib+set}" = set; then
++  withval="$with_ss_lib"
+   if test "$withval" = "yes" -o "$withval" = "no"; then
+-  { echo "configure: error: No argument for --with-readline-lib" >&2; exit 1; }
+-elif test "X$with_readline" = "X"; then
+-  with_readline=yes
+-fi
+-fi
+-# Check whether --with-readline-include or --without-readline-include was given.
+-if test "${with_readline_include+set}" = set; then
+-  withval="$with_readline_include"
++  { echo "configure: error: No argument for --with-ss-lib" >&2; exit 1; }
++elif test "X$with_ss" = "X"; then
++  with_ss=yes
++fi
++fi;
++
++# Check whether --with-ss-include or --without-ss-include was given.
++if test "${with_ss_include+set}" = set; then
++  withval="$with_ss_include"
+   if test "$withval" = "yes" -o "$withval" = "no"; then
+-  { echo "configure: error: No argument for --with-readline-include" >&2; exit 1; }
+-elif test "X$with_readline" = "X"; then
+-  with_readline=yes
+-fi
++  { echo "configure: error: No argument for --with-ss-include" >&2; exit 1; }
++elif test "X$with_ss" = "X"; then
++  with_ss=yes
+ fi
++fi;
+ 
+-echo "configure:9529: checking for readline" >&5
+-echo $ECHO_N "checking for readline... $ECHO_C" >&6
++echo "configure:11238: checking for ss" >&5
++echo $ECHO_N "checking for ss... $ECHO_C" >&6
+ 
+-case "$with_readline" in
++case "$with_ss" in
+ yes)	;;
+ no)	;;
+ "")	;;
+-*)	if test "$with_readline_include" = ""; then
+-		with_readline_include="$with_readline/include"
++*)	if test "$with_ss_include" = ""; then
++		with_ss_include="$with_ss/include"
+ 	fi
+-	if test "$with_readline_lib" = ""; then
+-		with_readline_lib="$with_readline/lib$abilibdirext"
++	if test "$with_ss_lib" = ""; then
++		with_ss_lib="$with_ss/lib$abilibdirext"
+ 	fi
+ 	;;
+ esac
+ header_dirs=
+ lib_dirs=
+ d=''
+-for i in $d; do
++for i in $d /usr; do
+ 	header_dirs="$header_dirs $i/include"
+ 	lib_dirs="$lib_dirs $i/lib$abilibdirext"
+ done
+ 
+-case "$with_readline_include" in
++case "$with_ss_include" in
+ yes) ;;
+ no)  ;;
+-*)   header_dirs="$with_readline_include $header_dirs";;
++*)   header_dirs="$with_ss_include $header_dirs";;
+ esac
+-case "$with_readline_lib" in
++case "$with_ss_lib" in
+ yes) ;;
+ no)  ;;
+-*)   lib_dirs="$with_readline_lib $lib_dirs";;
++*)   lib_dirs="$with_ss_lib $lib_dirs";;
+ esac
+ 
+ save_CFLAGS="$CFLAGS"
+@@ -10598,11 +11274,10 @@
+ ires= lres=
+ for i in $header_dirs; do
+ 	CFLAGS="-I$i $save_CFLAGS"
+-	cat >conftest.$ac_ext <<EOF
+-#line 9566 "configure"
++	cat >conftest.$ac_ext <<_ACEOF
++#line 11278 "configure"
+ #include "confdefs.h"
+-#include <stdio.h>
+- #include <readline.h>
++#include <ss.h>
+ int
+ main ()
+ {
+@@ -10610,22 +11285,22 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:9577: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:11290: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ires=$i;break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ done
+ for i in $lib_dirs; do
+-	LIBS="-L$i -lreadline  $save_LIBS"
+-	cat >conftest.$ac_ext <<EOF
+-#line 9588 "configure"
++	LIBS="-L$i -lss  $save_LIBS"
++	cat >conftest.$ac_ext <<_ACEOF
++#line 11301 "configure"
+ #include "confdefs.h"
+-#include <stdio.h>
+- #include <readline.h>
++#include <ss.h>
+ int
+ main ()
+ {
+@@ -10633,44 +11308,48 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:9599: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:11313: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   lres=$i;break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ done
+ CFLAGS="$save_CFLAGS"
+ LIBS="$save_LIBS"
+ 
+-if test "$ires" -a "$lres" -a "$with_readline" != "no"; then
+-	readline_includedir="$ires"
+-	readline_libdir="$lres"
+-	INCLUDE_readline="-I$readline_includedir"
+-	LIB_readline="-L$readline_libdir -lreadline"
++if test "$ires" -a "$lres" -a "$with_ss" != "no"; then
++	ss_includedir="$ires"
++	ss_libdir="$lres"
++	DIR_ss=
++	INCLUDE_ss="-I$ss_includedir"
++	LIB_ss="-L$ss_libdir -lss"
+ 	
+ cat >>confdefs.h <<EOF
+-#define READLINE 1
++#define SS 1
+ EOF
+ 
+-	with_readline=yes
+-	echo "configure:9619: result: headers $ires, libraries $lres" >&5
++	with_ss=yes
++	echo "configure:11336: result: headers $ires, libraries $lres" >&5
+ echo "${ECHO_T}headers $ires, libraries $lres" >&6
+ else
+-	INCLUDE_readline=
+-	LIB_readline=
+-	with_readline=no
+-	echo "configure:9625: result: $with_readline" >&5
+-echo "${ECHO_T}$with_readline" >&6
++	DIR_ss="ss"
++	INCLUDE_ss=
++	LIB_ss=
++	with_ss=no
++	echo "configure:11343: result: $with_ss" >&5
++echo "${ECHO_T}$with_ss" >&6
+ fi
+ 
+ # Check whether --with-hesiod or --without-hesiod was given.
+ if test "${with_hesiod+set}" = set; then
+   withval="$with_hesiod"
+ 
+-fi
++fi;
++
+ # Check whether --with-hesiod-lib or --without-hesiod-lib was given.
+ if test "${with_hesiod_lib+set}" = set; then
+   withval="$with_hesiod_lib"
+@@ -10679,7 +11358,8 @@
+ elif test "X$with_hesiod" = "X"; then
+   with_hesiod=yes
+ fi
+-fi
++fi;
++
+ # Check whether --with-hesiod-include or --without-hesiod-include was given.
+ if test "${with_hesiod_include+set}" = set; then
+   withval="$with_hesiod_include"
+@@ -10688,9 +11368,9 @@
+ elif test "X$with_hesiod" = "X"; then
+   with_hesiod=yes
+ fi
+-fi
++fi;
+ 
+-echo "configure:9650: checking for hesiod" >&5
++echo "configure:11373: checking for hesiod" >&5
+ echo $ECHO_N "checking for hesiod... $ECHO_C" >&6
+ 
+ case "$with_hesiod" in
+@@ -10708,7 +11388,7 @@
+ header_dirs=
+ lib_dirs=
+ d=''
+-for i in $d; do
++for i in $d /usr; do
+ 	header_dirs="$header_dirs $i/include"
+ 	lib_dirs="$lib_dirs $i/lib$abilibdirext"
+ done
+@@ -10729,8 +11409,8 @@
+ ires= lres=
+ for i in $header_dirs; do
+ 	CFLAGS="-I$i $save_CFLAGS"
+-	cat >conftest.$ac_ext <<EOF
+-#line 9687 "configure"
++	cat >conftest.$ac_ext <<_ACEOF
++#line 11413 "configure"
+ #include "confdefs.h"
+ #include <hesiod.h>
+ int
+@@ -10740,19 +11420,20 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:9697: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:11425: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ires=$i;break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ done
+ for i in $lib_dirs; do
+ 	LIBS="-L$i -lhesiod  $save_LIBS"
+-	cat >conftest.$ac_ext <<EOF
+-#line 9708 "configure"
++	cat >conftest.$ac_ext <<_ACEOF
++#line 11436 "configure"
+ #include "confdefs.h"
+ #include <hesiod.h>
+ int
+@@ -10762,14 +11443,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:9718: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:11448: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   lres=$i;break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ done
+ CFLAGS="$save_CFLAGS"
+ LIBS="$save_LIBS"
+@@ -10777,6 +11459,7 @@
+ if test "$ires" -a "$lres" -a "$with_hesiod" != "no"; then
+ 	hesiod_includedir="$ires"
+ 	hesiod_libdir="$lres"
++	DIR_hesiod=
+ 	INCLUDE_hesiod="-I$hesiod_includedir"
+ 	LIB_hesiod="-L$hesiod_libdir -lhesiod"
+ 	
+@@ -10785,13 +11468,14 @@
+ EOF
+ 
+ 	with_hesiod=yes
+-	echo "configure:9738: result: headers $ires, libraries $lres" >&5
++	echo "configure:11471: result: headers $ires, libraries $lres" >&5
+ echo "${ECHO_T}headers $ires, libraries $lres" >&6
+ else
++	DIR_hesiod="hesiod"
+ 	INCLUDE_hesiod=
+ 	LIB_hesiod=
+ 	with_hesiod=no
+-	echo "configure:9744: result: $with_hesiod" >&5
++	echo "configure:11478: result: $with_hesiod" >&5
+ echo "${ECHO_T}$with_hesiod" >&6
+ fi
+ 
+@@ -10799,19 +11483,19 @@
+ if test "${enable_bigendian+set}" = set; then
+   enableval="$enable_bigendian"
+   krb_cv_c_bigendian=yes
+-fi
++fi;
+ # Check whether --enable-littleendian or --disable-littleendian was given.
+ if test "${enable_littleendian+set}" = set; then
+   enableval="$enable_littleendian"
+   krb_cv_c_bigendian=no
+-fi
+-echo "configure:9757: checking whether byte order is known at compile time" >&5
++fi;
++echo "configure:11492: checking whether byte order is known at compile time" >&5
+ echo $ECHO_N "checking whether byte order is known at compile time... $ECHO_C" >&6
+ if test "${krb_cv_c_bigendian_compile+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 9763 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 11498 "configure"
+ #include "confdefs.h"
+ 
+ #include <sys/types.h>
+@@ -10826,27 +11510,28 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:9777: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:11515: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   krb_cv_c_bigendian_compile=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   krb_cv_c_bigendian_compile=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:9786: result: $krb_cv_c_bigendian_compile" >&5
++echo "configure:11524: result: $krb_cv_c_bigendian_compile" >&5
+ echo "${ECHO_T}$krb_cv_c_bigendian_compile" >&6
+-echo "configure:9788: checking whether byte ordering is bigendian" >&5
++echo "configure:11526: checking whether byte ordering is bigendian" >&5
+ echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
+ if test "${krb_cv_c_bigendian+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+   if test "$krb_cv_c_bigendian_compile" = "yes"; then
+-    cat >conftest.$ac_ext <<EOF
+-#line 9795 "configure"
++    cat >conftest.$ac_ext <<_ACEOF
++#line 11534 "configure"
+ #include "confdefs.h"
+ 
+ #include <sys/types.h>
+@@ -10861,21 +11546,22 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:9809: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:11551: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   krb_cv_c_bigendian=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   krb_cv_c_bigendian=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+   else
+     if test "$cross_compiling" = yes; then
+   { echo "configure: error: specify either --enable-bigendian or --enable-littleendian" >&2; exit 1; }
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 9822 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 11564 "configure"
+ #include "confdefs.h"
+ main () {
+       /* Are we little or big endian?  From Harbison&Steele.  */
+@@ -10887,22 +11573,23 @@
+     u.l = 1;
+     exit (u.c[sizeof (long) - 1] == 1);
+   }
+-EOF
+-if { (eval echo configure:9835: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
+-   test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null; then
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo configure:11578: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
++   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
+   krb_cv_c_bigendian=no
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   krb_cv_c_bigendian=yes
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+ 
+   fi
+ 
+ fi
+-echo "configure:9847: result: $krb_cv_c_bigendian" >&5
++echo "configure:11592: result: $krb_cv_c_bigendian" >&5
+ echo "${ECHO_T}$krb_cv_c_bigendian" >&6
+ if test "$krb_cv_c_bigendian" = "yes"; then
+ 
+@@ -10917,32 +11604,33 @@
+ EOF
+ fi
+ 
+-echo "configure:9859: checking for inline" >&5
++echo "configure:11607: checking for inline" >&5
+ echo $ECHO_N "checking for inline... $ECHO_C" >&6
+ if test "${ac_cv_c_inline+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   ac_cv_c_inline=no
+ for ac_kw in inline __inline__ __inline; do
+-  cat >conftest.$ac_ext <<EOF
+-#line 9867 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 11615 "configure"
+ #include "confdefs.h"
+ #ifndef __cplusplus
+ $ac_kw int foo () {return 0; }
+ #endif
+ 
+-EOF
+-if { (eval echo configure:9873: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:11623: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_c_inline=$ac_kw; break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ done
+ 
+ fi
+-echo "configure:9882: result: $ac_cv_c_inline" >&5
++echo "configure:11633: result: $ac_cv_c_inline" >&5
+ echo "${ECHO_T}$ac_cv_c_inline" >&6
+ case $ac_cv_c_inline in
+   inline | yes) ;;
+@@ -10992,7 +11680,7 @@
+   AIX_DYNAMIC_AFS_FALSE=
+ fi
+ 
+-echo "configure:9927: checking for dlopen" >&5
++echo "configure:11683: checking for dlopen" >&5
+ echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
+ if test "${ac_cv_funclib_dlopen+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -11007,8 +11695,8 @@
+ 			ac_lib=""
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 9942 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 11699 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -11018,14 +11706,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:9952: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:11711: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_dlopen=$ac_lib; else ac_cv_funclib_dlopen=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_dlopen=\${ac_cv_funclib_dlopen-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -11040,13 +11729,13 @@
+ for ac_func in dlopen
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:9970: checking for $ac_func" >&5
++echo "configure:11732: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 9976 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 11738 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -11075,17 +11764,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:10004: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:11769: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:10013: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:11778: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -11109,13 +11799,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:10033: result: yes" >&5
++	echo "configure:11802: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_dlopen=no"
+ 	eval "LIB_dlopen="
+-	echo "configure:10039: result: no" >&5
++	echo "configure:11808: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -11129,7 +11819,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:10051: result: yes, in $ac_res" >&5
++	echo "configure:11822: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -11168,14 +11858,14 @@
+   IRIX_FALSE=
+ fi
+ 
+-echo "configure:10085: checking for X" >&5
++echo "configure:11861: checking for X" >&5
+ echo $ECHO_N "checking for X... $ECHO_C" >&6
+ 
+ # Check whether --with-x or --without-x was given.
+ if test "${with_x+set}" = set; then
+   withval="$with_x"
+ 
+-fi
++fi;
+ # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
+ if test "x$with_x" = xno; then
+   # The user explicitly disabled X.
+@@ -11264,19 +11954,27 @@
+ if test "$ac_x_includes" = no; then
+   # Guess where to find include files, by looking for Intrinsic.h.
+   # First, try using that file with no special directory specified.
+-  cat >conftest.$ac_ext <<EOF
+-#line 10172 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 11958 "configure"
+ #include "confdefs.h"
+ #include <X11/Intrinsic.h>
+-EOF
+-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+-{ (eval echo configure:10177: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }
+-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+-if test -z "$ac_err"; then
++_ACEOF
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:11963: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++
++if test -z "$ac_cpp_err"; then
+   # We can compile using X headers with no special include directory.
+ ac_x_includes=
+ else
+-  echo "$ac_err" >&5
++  cat conftest.err >&5
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   for ac_dir in $ac_x_header_dirs; do
+@@ -11287,6 +11985,7 @@
+ done
+ fi
+ rm -f conftest*
++
+ fi # $ac_x_includes = no
+ 
+ if test "$ac_x_libraries" = no; then
+@@ -11295,8 +11994,8 @@
+   # Don't add to $LIBS permanently.
+   ac_save_LIBS=$LIBS
+   LIBS="-lXt $LIBS"
+-  cat >conftest.$ac_ext <<EOF
+-#line 10202 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 11998 "configure"
+ #include "confdefs.h"
+ #include <X11/Intrinsic.h>
+ int
+@@ -11306,8 +12005,9 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:10213: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:12010: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   LIBS=$ac_save_LIBS
+ # We can link X programs with no special library path.
+ ac_x_libraries=
+@@ -11326,7 +12026,7 @@
+   done
+ done
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi # $ac_x_libraries = no
+ 
+ if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
+@@ -11343,7 +12043,7 @@
+ fi # $with_x != no
+ 
+ if test "$have_x" != yes; then
+-  echo "configure:10247: result: $have_x" >&5
++  echo "configure:12046: result: $have_x" >&5
+ echo "${ECHO_T}$have_x" >&6
+   no_x=yes
+ else
+@@ -11353,7 +12053,7 @@
+   # Update the cache value to reflect the command line values.
+   ac_cv_have_x="have_x=yes \
+ 		ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
+-  echo "configure:10257: result: libraries $x_libraries, headers $x_includes" >&5
++  echo "configure:12056: result: libraries $x_libraries, headers $x_includes" >&5
+ echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
+ fi
+ 
+@@ -11377,43 +12077,39 @@
+     # others require no space.  Words are not sufficient . . . .
+     case `(uname -sr) 2>/dev/null` in
+     "SunOS 5"*)
+-      echo "configure:10277: checking whether -R must be followed by a space" >&5
++      echo "configure:12080: checking whether -R must be followed by a space" >&5
+ echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
+       ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
+-      cat >conftest.$ac_ext <<EOF
+-
+-EOF
+-if { (eval echo configure:10282: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++      rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:12084: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_R_nospace=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_R_nospace=no
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext
+       if test $ac_R_nospace = yes; then
+-	echo "configure:10291: result: no" >&5
++	echo "configure:12093: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	X_LIBS="$X_LIBS -R$x_libraries"
+       else
+ 	LIBS="$ac_xsave_LIBS -R $x_libraries"
+-	cat >conftest.$ac_ext <<EOF
+-
+-EOF
+-if { (eval echo configure:10298: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++	rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:12099: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_R_space=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_R_space=no
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext
+ 	if test $ac_R_space = yes; then
+-	  echo "configure:10307: result: yes" >&5
++	  echo "configure:12108: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	  X_LIBS="$X_LIBS -R $x_libraries"
+ 	else
+-	  echo "configure:10311: result: neither works" >&5
++	  echo "configure:12112: result: neither works" >&5
+ echo "${ECHO_T}neither works" >&6
+ 	fi
+       fi
+@@ -11432,19 +12128,15 @@
+     # libraries were built with DECnet support.  And Karl Berry says
+     # the Alpha needs dnet_stub (dnet does not exist).
+ 
+-case "${LDFLAGS+set} $ac_configure_args" in
+- *" LDFLAGS="* );;
+- "set "*) ac_configure_args="LDFLAGS='$LDFLAGS' $ac_configure_args";;
+-esac
+-echo "configure:10331: checking for dnet_ntoa in -ldnet" >&5
++echo "configure:12131: checking for dnet_ntoa in -ldnet" >&5
+ echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
+ if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   ac_check_lib_save_LIBS=$LIBS
+ LIBS="-ldnet  $LIBS"
+-cat >conftest.$ac_ext <<EOF
+-#line 10339 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 12139 "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -11461,18 +12153,19 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:10356: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:12158: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_lib_dnet_dnet_ntoa=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_lib_dnet_dnet_ntoa=no
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "configure:10366: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
++echo "configure:12168: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
+ echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
+ if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
+   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
+@@ -11480,19 +12173,15 @@
+ 
+     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
+ 
+-case "${LDFLAGS+set} $ac_configure_args" in
+- *" LDFLAGS="* );;
+- "set "*) ac_configure_args="LDFLAGS='$LDFLAGS' $ac_configure_args";;
+-esac
+-echo "configure:10376: checking for dnet_ntoa in -ldnet_stub" >&5
++echo "configure:12176: checking for dnet_ntoa in -ldnet_stub" >&5
+ echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
+ if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   ac_check_lib_save_LIBS=$LIBS
+ LIBS="-ldnet_stub  $LIBS"
+-cat >conftest.$ac_ext <<EOF
+-#line 10384 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 12184 "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -11509,18 +12198,19 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:10401: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:12203: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_lib_dnet_stub_dnet_ntoa=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_lib_dnet_stub_dnet_ntoa=no
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "configure:10411: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
++echo "configure:12213: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
+ echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
+ if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
+   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
+@@ -11536,13 +12226,13 @@
+     # on Irix 5.2, according to T.E. Dickey.
+     # The functions gethostbyname, getservbyname, and inet_addr are
+     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
+-    echo "configure:10425: checking for gethostbyname" >&5
++    echo "configure:12229: checking for gethostbyname" >&5
+ echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
+ if test "${ac_cv_func_gethostbyname+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 10431 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 12235 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char gethostbyname (); below.  */
+@@ -11571,34 +12261,31 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:10459: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:12266: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_func_gethostbyname=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_func_gethostbyname=no
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:10468: result: $ac_cv_func_gethostbyname" >&5
++echo "configure:12275: result: $ac_cv_func_gethostbyname" >&5
+ echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
+ 
+     if test $ac_cv_func_gethostbyname = no; then
+ 
+-case "${LDFLAGS+set} $ac_configure_args" in
+- *" LDFLAGS="* );;
+- "set "*) ac_configure_args="LDFLAGS='$LDFLAGS' $ac_configure_args";;
+-esac
+-echo "configure:10475: checking for gethostbyname in -lnsl" >&5
++echo "configure:12280: checking for gethostbyname in -lnsl" >&5
+ echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
+ if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   ac_check_lib_save_LIBS=$LIBS
+ LIBS="-lnsl  $LIBS"
+-cat >conftest.$ac_ext <<EOF
+-#line 10483 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 12288 "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -11615,18 +12302,19 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:10500: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:12307: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_lib_nsl_gethostbyname=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_lib_nsl_gethostbyname=no
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "configure:10510: result: $ac_cv_lib_nsl_gethostbyname" >&5
++echo "configure:12317: result: $ac_cv_lib_nsl_gethostbyname" >&5
+ echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
+ if test $ac_cv_lib_nsl_gethostbyname = yes; then
+   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
+@@ -11634,19 +12322,15 @@
+ 
+       if test $ac_cv_lib_nsl_gethostbyname = no; then
+ 
+-case "${LDFLAGS+set} $ac_configure_args" in
+- *" LDFLAGS="* );;
+- "set "*) ac_configure_args="LDFLAGS='$LDFLAGS' $ac_configure_args";;
+-esac
+-echo "configure:10520: checking for gethostbyname in -lbsd" >&5
++echo "configure:12325: checking for gethostbyname in -lbsd" >&5
+ echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
+ if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   ac_check_lib_save_LIBS=$LIBS
+ LIBS="-lbsd  $LIBS"
+-cat >conftest.$ac_ext <<EOF
+-#line 10528 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 12333 "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -11663,18 +12347,19 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:10545: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:12352: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_lib_bsd_gethostbyname=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_lib_bsd_gethostbyname=no
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "configure:10555: result: $ac_cv_lib_bsd_gethostbyname" >&5
++echo "configure:12362: result: $ac_cv_lib_bsd_gethostbyname" >&5
+ echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
+ if test $ac_cv_lib_bsd_gethostbyname = yes; then
+   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
+@@ -11690,13 +12375,13 @@
+     # variants that don't use the nameserver (or something).  -lsocket
+     # must be given before -lnsl if both are needed.  We assume that
+     # if connect needs -lnsl, so does gethostbyname.
+-    echo "configure:10569: checking for connect" >&5
++    echo "configure:12378: checking for connect" >&5
+ echo $ECHO_N "checking for connect... $ECHO_C" >&6
+ if test "${ac_cv_func_connect+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 10575 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 12384 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char connect (); below.  */
+@@ -11725,34 +12410,31 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:10603: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:12415: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_func_connect=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_func_connect=no
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:10612: result: $ac_cv_func_connect" >&5
++echo "configure:12424: result: $ac_cv_func_connect" >&5
+ echo "${ECHO_T}$ac_cv_func_connect" >&6
+ 
+     if test $ac_cv_func_connect = no; then
+ 
+-case "${LDFLAGS+set} $ac_configure_args" in
+- *" LDFLAGS="* );;
+- "set "*) ac_configure_args="LDFLAGS='$LDFLAGS' $ac_configure_args";;
+-esac
+-echo "configure:10619: checking for connect in -lsocket" >&5
++echo "configure:12429: checking for connect in -lsocket" >&5
+ echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
+ if test "${ac_cv_lib_socket_connect+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   ac_check_lib_save_LIBS=$LIBS
+ LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
+-cat >conftest.$ac_ext <<EOF
+-#line 10627 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 12437 "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -11769,18 +12451,19 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:10644: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:12456: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_lib_socket_connect=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_lib_socket_connect=no
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "configure:10654: result: $ac_cv_lib_socket_connect" >&5
++echo "configure:12466: result: $ac_cv_lib_socket_connect" >&5
+ echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
+ if test $ac_cv_lib_socket_connect = yes; then
+   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
+@@ -11789,13 +12472,13 @@
+     fi
+ 
+     # Guillermo Gomez says -lposix is necessary on A/UX.
+-    echo "configure:10661: checking for remove" >&5
++    echo "configure:12475: checking for remove" >&5
+ echo $ECHO_N "checking for remove... $ECHO_C" >&6
+ if test "${ac_cv_func_remove+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 10667 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 12481 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char remove (); below.  */
+@@ -11824,34 +12507,31 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:10695: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:12512: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_func_remove=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_func_remove=no
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:10704: result: $ac_cv_func_remove" >&5
++echo "configure:12521: result: $ac_cv_func_remove" >&5
+ echo "${ECHO_T}$ac_cv_func_remove" >&6
+ 
+     if test $ac_cv_func_remove = no; then
+ 
+-case "${LDFLAGS+set} $ac_configure_args" in
+- *" LDFLAGS="* );;
+- "set "*) ac_configure_args="LDFLAGS='$LDFLAGS' $ac_configure_args";;
+-esac
+-echo "configure:10711: checking for remove in -lposix" >&5
++echo "configure:12526: checking for remove in -lposix" >&5
+ echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
+ if test "${ac_cv_lib_posix_remove+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   ac_check_lib_save_LIBS=$LIBS
+ LIBS="-lposix  $LIBS"
+-cat >conftest.$ac_ext <<EOF
+-#line 10719 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 12534 "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -11868,18 +12548,19 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:10736: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:12553: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_lib_posix_remove=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_lib_posix_remove=no
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "configure:10746: result: $ac_cv_lib_posix_remove" >&5
++echo "configure:12563: result: $ac_cv_lib_posix_remove" >&5
+ echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
+ if test $ac_cv_lib_posix_remove = yes; then
+   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
+@@ -11888,13 +12569,13 @@
+     fi
+ 
+     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
+-    echo "configure:10753: checking for shmat" >&5
++    echo "configure:12572: checking for shmat" >&5
+ echo $ECHO_N "checking for shmat... $ECHO_C" >&6
+ if test "${ac_cv_func_shmat+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 10759 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 12578 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char shmat (); below.  */
+@@ -11923,34 +12604,31 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:10787: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:12609: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_func_shmat=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_func_shmat=no
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:10796: result: $ac_cv_func_shmat" >&5
++echo "configure:12618: result: $ac_cv_func_shmat" >&5
+ echo "${ECHO_T}$ac_cv_func_shmat" >&6
+ 
+     if test $ac_cv_func_shmat = no; then
+ 
+-case "${LDFLAGS+set} $ac_configure_args" in
+- *" LDFLAGS="* );;
+- "set "*) ac_configure_args="LDFLAGS='$LDFLAGS' $ac_configure_args";;
+-esac
+-echo "configure:10803: checking for shmat in -lipc" >&5
++echo "configure:12623: checking for shmat in -lipc" >&5
+ echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
+ if test "${ac_cv_lib_ipc_shmat+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   ac_check_lib_save_LIBS=$LIBS
+ LIBS="-lipc  $LIBS"
+-cat >conftest.$ac_ext <<EOF
+-#line 10811 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 12631 "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -11967,18 +12645,19 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:10828: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:12650: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_lib_ipc_shmat=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_lib_ipc_shmat=no
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "configure:10838: result: $ac_cv_lib_ipc_shmat" >&5
++echo "configure:12660: result: $ac_cv_lib_ipc_shmat" >&5
+ echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
+ if test $ac_cv_lib_ipc_shmat = yes; then
+   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
+@@ -11997,19 +12676,15 @@
+   # libraries we check for below, so use a different variable.
+   # John Interrante, Karl Berry
+ 
+-case "${LDFLAGS+set} $ac_configure_args" in
+- *" LDFLAGS="* );;
+- "set "*) ac_configure_args="LDFLAGS='$LDFLAGS' $ac_configure_args";;
+-esac
+-echo "configure:10858: checking for IceConnectionNumber in -lICE" >&5
++echo "configure:12679: checking for IceConnectionNumber in -lICE" >&5
+ echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
+ if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   ac_check_lib_save_LIBS=$LIBS
+ LIBS="-lICE $X_EXTRA_LIBS $LIBS"
+-cat >conftest.$ac_ext <<EOF
+-#line 10866 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 12687 "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -12026,18 +12701,19 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:10883: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:12706: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_lib_ICE_IceConnectionNumber=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_lib_ICE_IceConnectionNumber=no
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "configure:10893: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
++echo "configure:12716: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
+ echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
+ if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
+   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
+@@ -12050,7 +12726,7 @@
+ # try to figure out if we need any additional ld flags, like -R
+ # and yes, the autoconf X test is utterly broken
+ if test "$no_x" != yes; then
+-	echo "configure:10903: checking for special X linker flags" >&5
++	echo "configure:12729: checking for special X linker flags" >&5
+ echo $ECHO_N "checking for special X linker flags... $ECHO_C" >&6
+ if test "${krb_cv_sys_x_libs_rpath+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -12081,8 +12757,8 @@
+ 		if test "$cross_compiling" = yes; then
+   { echo "configure: error: cannot run test program while cross compiling" >&2; exit 1; }
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 10934 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 12761 "configure"
+ #include "confdefs.h"
+ 
+ 		#include <X11/Xlib.h>
+@@ -12095,16 +12771,17 @@
+ 		return 0;
+ 		}
+ 		
+-EOF
+-if { (eval echo configure:10947: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
+-   test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null; then
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo configure:12776: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
++   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
+   krb_cv_sys_x_libs_rpath="$rflag"; krb_cv_sys_x_libs="$foo"; break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   :
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+ 
+ 	done
+@@ -12112,7 +12789,7 @@
+ 	CFLAGS="$ac_save_cflags"
+ 	
+ fi
+-echo "configure:10962: result: $krb_cv_sys_x_libs_rpath" >&5
++echo "configure:12792: result: $krb_cv_sys_x_libs_rpath" >&5
+ echo "${ECHO_T}$krb_cv_sys_x_libs_rpath" >&6
+ 	X_LIBS="$krb_cv_sys_x_libs"
+ fi
+@@ -12132,7 +12809,7 @@
+ save_LDFLAGS="$LDFLAGS"
+ LDFLAGS="$LDFLAGS $X_LIBS"
+ 
+-echo "configure:10979: checking for XauWriteAuth" >&5
++echo "configure:12812: checking for XauWriteAuth" >&5
+ echo $ECHO_N "checking for XauWriteAuth... $ECHO_C" >&6
+ if test "${ac_cv_funclib_XauWriteAuth+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -12147,8 +12824,8 @@
+ 			ac_lib=""
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 10994 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 12828 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -12158,14 +12835,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:11004: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:12840: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_XauWriteAuth=$ac_lib; else ac_cv_funclib_XauWriteAuth=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_XauWriteAuth=\${ac_cv_funclib_XauWriteAuth-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -12180,13 +12858,13 @@
+ for ac_func in XauWriteAuth
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:11022: checking for $ac_func" >&5
++echo "configure:12861: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 11028 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 12867 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -12215,17 +12893,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:11056: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:12898: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:11065: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:12907: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -12249,13 +12928,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:11085: result: yes" >&5
++	echo "configure:12931: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_XauWriteAuth=no"
+ 	eval "LIB_XauWriteAuth="
+-	echo "configure:11091: result: no" >&5
++	echo "configure:12937: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -12269,7 +12948,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:11103: result: yes, in $ac_res" >&5
++	echo "configure:12951: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -12277,7 +12956,7 @@
+ ac_xxx="$LIBS"
+ LIBS="$LIB_XauWriteAuth $LIBS"
+ 
+-echo "configure:11109: checking for XauReadAuth" >&5
++echo "configure:12959: checking for XauReadAuth" >&5
+ echo $ECHO_N "checking for XauReadAuth... $ECHO_C" >&6
+ if test "${ac_cv_funclib_XauReadAuth+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -12292,8 +12971,8 @@
+ 			ac_lib=""
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 11124 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 12975 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -12303,14 +12982,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:11134: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:12987: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_XauReadAuth=$ac_lib; else ac_cv_funclib_XauReadAuth=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_XauReadAuth=\${ac_cv_funclib_XauReadAuth-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -12325,13 +13005,13 @@
+ for ac_func in XauReadAuth
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:11152: checking for $ac_func" >&5
++echo "configure:13008: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 11158 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 13014 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -12360,17 +13040,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:11186: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:13045: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:11195: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:13054: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -12394,13 +13075,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:11215: result: yes" >&5
++	echo "configure:13078: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_XauReadAuth=no"
+ 	eval "LIB_XauReadAuth="
+-	echo "configure:11221: result: no" >&5
++	echo "configure:13084: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -12414,14 +13095,14 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:11233: result: yes, in $ac_res" >&5
++	echo "configure:13098: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+ LIBS="$LIB_XauReadAauth $LIBS"
+ 
+-echo "configure:11238: checking for XauFileName" >&5
++echo "configure:13105: checking for XauFileName" >&5
+ echo $ECHO_N "checking for XauFileName... $ECHO_C" >&6
+ if test "${ac_cv_funclib_XauFileName+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -12436,8 +13117,8 @@
+ 			ac_lib=""
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 11253 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 13121 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -12447,14 +13128,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:11263: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:13133: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_XauFileName=$ac_lib; else ac_cv_funclib_XauFileName=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_XauFileName=\${ac_cv_funclib_XauFileName-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -12469,13 +13151,13 @@
+ for ac_func in XauFileName
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:11281: checking for $ac_func" >&5
++echo "configure:13154: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 11287 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 13160 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -12504,17 +13186,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:11315: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:13191: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:11324: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:13200: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -12538,13 +13221,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:11344: result: yes" >&5
++	echo "configure:13224: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_XauFileName=no"
+ 	eval "LIB_XauFileName="
+-	echo "configure:11350: result: no" >&5
++	echo "configure:13230: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -12558,7 +13241,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:11362: result: yes, in $ac_res" >&5
++	echo "configure:13244: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -12609,13 +13292,13 @@
+ LIBS=$save_LIBS
+ LDFLAGS=$save_LDFLAGS
+ 
+-echo "configure:11408: checking for an ANSI C-conforming const" >&5
++echo "configure:13295: checking for an ANSI C-conforming const" >&5
+ echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
+ if test "${ac_cv_c_const+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 11414 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 13301 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -12671,17 +13354,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:11468: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:13359: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_c_const=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_c_const=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:11477: result: $ac_cv_c_const" >&5
++echo "configure:13368: result: $ac_cv_c_const" >&5
+ echo "${ECHO_T}$ac_cv_c_const" >&6
+ if test $ac_cv_c_const = no; then
+ 
+@@ -12691,13 +13375,13 @@
+ 
+ fi
+ 
+-echo "configure:11484: checking for off_t" >&5
++echo "configure:13378: checking for off_t" >&5
+ echo $ECHO_N "checking for off_t... $ECHO_C" >&6
+ if test "${ac_cv_type_off_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 11490 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 13384 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -12710,17 +13394,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:11504: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:13399: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_off_t=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_off_t=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:11513: result: $ac_cv_type_off_t" >&5
++echo "configure:13408: result: $ac_cv_type_off_t" >&5
+ echo "${ECHO_T}$ac_cv_type_off_t" >&6
+ if test $ac_cv_type_off_t = yes; then
+   :
+@@ -12732,13 +13417,13 @@
+ 
+ fi
+ 
+-echo "configure:11522: checking for size_t" >&5
++echo "configure:13420: checking for size_t" >&5
+ echo $ECHO_N "checking for size_t... $ECHO_C" >&6
+ if test "${ac_cv_type_size_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 11528 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 13426 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -12751,17 +13436,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:11542: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:13441: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_size_t=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_size_t=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:11551: result: $ac_cv_type_size_t" >&5
++echo "configure:13450: result: $ac_cv_type_size_t" >&5
+ echo "${ECHO_T}$ac_cv_type_size_t" >&6
+ if test $ac_cv_type_size_t = yes; then
+   :
+@@ -12773,13 +13459,13 @@
+ 
+ fi
+ 
+-echo "configure:11560: checking for ssize_t" >&5
++echo "configure:13462: checking for ssize_t" >&5
+ echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
+ if test "${ac_cv_type_ssize_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 11566 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 13468 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -12787,7 +13473,7 @@
+ #include <stddef.h>
+ #endif
+ #include <unistd.h>
+-EOF
++_ACEOF
+ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+   egrep "ssize_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
+   ac_cv_type_ssize_t=yes
+@@ -12797,7 +13483,7 @@
+ rm -f conftest*
+ 
+ fi
+-echo "configure:11583: result: $ac_cv_type_ssize_t" >&5
++echo "configure:13486: result: $ac_cv_type_ssize_t" >&5
+ echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
+ if test $ac_cv_type_ssize_t = no; then
+ 
+@@ -12807,13 +13493,13 @@
+ 
+ fi
+ 
+-echo "configure:11590: checking for pid_t" >&5
++echo "configure:13496: checking for pid_t" >&5
+ echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
+ if test "${ac_cv_type_pid_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 11596 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 13502 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -12826,17 +13512,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:11610: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:13517: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_pid_t=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_pid_t=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:11619: result: $ac_cv_type_pid_t" >&5
++echo "configure:13526: result: $ac_cv_type_pid_t" >&5
+ echo "${ECHO_T}$ac_cv_type_pid_t" >&6
+ if test $ac_cv_type_pid_t = yes; then
+   :
+@@ -12848,17 +13535,17 @@
+ 
+ fi
+ 
+-echo "configure:11628: checking for uid_t in sys/types.h" >&5
++echo "configure:13538: checking for uid_t in sys/types.h" >&5
+ echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
+ if test "${ac_cv_type_uid_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 11634 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 13544 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ 
+-EOF
++_ACEOF
+ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+   egrep "uid_t" >/dev/null 2>&1; then
+   ac_cv_type_uid_t=yes
+@@ -12868,7 +13555,7 @@
+ rm -f conftest*
+ 
+ fi
+-echo "configure:11646: result: $ac_cv_type_uid_t" >&5
++echo "configure:13558: result: $ac_cv_type_uid_t" >&5
+ echo "${ECHO_T}$ac_cv_type_uid_t" >&6
+ if test $ac_cv_type_uid_t = no; then
+ 
+@@ -12882,13 +13569,13 @@
+ 
+ fi
+ 
+-echo "configure:11656: checking for mode_t" >&5
++echo "configure:13572: checking for mode_t" >&5
+ echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
+ if test "${ac_cv_type_mode_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 11662 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 13578 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -12896,7 +13583,7 @@
+ #include <stddef.h>
+ #endif
+ 
+-EOF
++_ACEOF
+ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+   egrep "mode_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
+   ac_cv_type_mode_t=yes
+@@ -12906,7 +13593,7 @@
+ rm -f conftest*
+ 
+ fi
+-echo "configure:11678: result: $ac_cv_type_mode_t" >&5
++echo "configure:13596: result: $ac_cv_type_mode_t" >&5
+ echo "${ECHO_T}$ac_cv_type_mode_t" >&6
+ if test $ac_cv_type_mode_t = no; then
+ 
+@@ -12916,13 +13603,13 @@
+ 
+ fi
+ 
+-echo "configure:11685: checking for sig_atomic_t" >&5
++echo "configure:13606: checking for sig_atomic_t" >&5
+ echo $ECHO_N "checking for sig_atomic_t... $ECHO_C" >&6
+ if test "${ac_cv_type_sig_atomic_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 11691 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 13612 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -12930,7 +13617,7 @@
+ #include <stddef.h>
+ #endif
+ #include <signal.h>
+-EOF
++_ACEOF
+ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+   egrep "sig_atomic_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
+   ac_cv_type_sig_atomic_t=yes
+@@ -12940,7 +13627,7 @@
+ rm -f conftest*
+ 
+ fi
+-echo "configure:11708: result: $ac_cv_type_sig_atomic_t" >&5
++echo "configure:13630: result: $ac_cv_type_sig_atomic_t" >&5
+ echo "${ECHO_T}$ac_cv_type_sig_atomic_t" >&6
+ if test $ac_cv_type_sig_atomic_t = no; then
+ 
+@@ -12951,13 +13638,13 @@
+ fi
+ 
+ cv=`echo "long long" | sed 'y%./+- %__p__%'`
+-echo "configure:11716: checking for long long" >&5
++echo "configure:13641: checking for long long" >&5
+ echo $ECHO_N "checking for long long... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 11722 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 13647 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -12972,29 +13659,30 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:11737: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:13664: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_type_$cv=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_type_$cv=no"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "configure:11747: result: $ac_foo" >&5
++echo "configure:13674: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo long long | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "configure:11752: checking for long long" >&5
++	echo "configure:13679: checking for long long" >&5
+ echo $ECHO_N "checking for long long... $ECHO_C" >&6
+ if test "${ac_cv_type_long_long+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 11758 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 13685 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -13007,17 +13695,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:11772: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:13700: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_long_long=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_long_long=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:11781: result: $ac_cv_type_long_long" >&5
++echo "configure:13709: result: $ac_cv_type_long_long" >&5
+ echo "${ECHO_T}$ac_cv_type_long_long" >&6
+ if test $ac_cv_type_long_long = yes; then
+ 
+@@ -13035,13 +13724,13 @@
+ 
+ fi
+ 
+-echo "configure:11793: checking whether time.h and sys/time.h may both be included" >&5
++echo "configure:13727: checking whether time.h and sys/time.h may both be included" >&5
+ echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
+ if test "${ac_cv_header_time+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 11799 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 13733 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #include <sys/time.h>
+@@ -13054,17 +13743,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:11812: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:13748: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_header_time=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_header_time=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:11821: result: $ac_cv_header_time" >&5
++echo "configure:13757: result: $ac_cv_header_time" >&5
+ echo "${ECHO_T}$ac_cv_header_time" >&6
+ if test $ac_cv_header_time = yes; then
+ 
+@@ -13074,13 +13764,13 @@
+ 
+ fi
+ 
+-echo "configure:11828: checking whether struct tm is in sys/time.h or time.h" >&5
++echo "configure:13767: checking whether struct tm is in sys/time.h or time.h" >&5
+ echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
+ if test "${ac_cv_struct_tm+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 11834 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 13773 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #include <time.h>
+@@ -13092,17 +13782,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:11846: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:13787: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_struct_tm=time.h
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_struct_tm=sys/time.h
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:11855: result: $ac_cv_struct_tm" >&5
++echo "configure:13796: result: $ac_cv_struct_tm" >&5
+ echo "${ECHO_T}$ac_cv_struct_tm" >&6
+ if test $ac_cv_struct_tm = sys/time.h; then
+ 
+@@ -13112,27 +13803,35 @@
+ 
+ fi
+ 
+-echo "configure:11862: checking for ANSI C header files" >&5
++echo "configure:13806: checking for ANSI C header files" >&5
+ echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
+ if test "${ac_cv_header_stdc+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 11868 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 13812 "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:11876: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }
+-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+-if test -z "$ac_err"; then
++_ACEOF
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:13821: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++
++if test -z "$ac_cpp_err"; then
+   ac_cv_header_stdc=yes
+ else
+-  echo "$ac_err" >&5
++  cat conftest.err >&5
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_header_stdc=no
+@@ -13141,12 +13840,12 @@
+ 
+ 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 11890 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 13844 "configure"
+ #include "confdefs.h"
+ #include <string.h>
+ 
+-EOF
++_ACEOF
+ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+   egrep "memchr" >/dev/null 2>&1; then
+   :
+@@ -13159,12 +13858,12 @@
+ 
+ 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 11905 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 13862 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ 
+-EOF
++_ACEOF
+ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+   egrep "free" >/dev/null 2>&1; then
+   :
+@@ -13180,8 +13879,8 @@
+   if test "$cross_compiling" = yes; then
+   :
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 11923 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 13883 "configure"
+ #include "confdefs.h"
+ #include <ctype.h>
+ #if ((' ' & 0x0FF) == 0x020)
+@@ -13205,21 +13904,22 @@
+       exit(2);
+   exit (0);
+ }
+-EOF
+-if { (eval echo configure:11947: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
+-   test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null; then
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo configure:13909: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
++   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
+   :
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_header_stdc=no
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+ 
+ fi
+ fi
+-echo "configure:11959: result: $ac_cv_header_stdc" >&5
++echo "configure:13922: result: $ac_cv_header_stdc" >&5
+ echo "${ECHO_T}$ac_cv_header_stdc" >&6
+ if test $ac_cv_header_stdc = yes; then
+ 
+@@ -13261,6 +13961,7 @@
+ 	netinet/in_systm.h			\
+ 	netinet6/in6.h				\
+ 	netinfo/ni.h				\
++	openssl/crypto.h			\
+ 	paths.h					\
+ 	pthread.h				\
+ 	pty.h					\
+@@ -13322,35 +14023,41 @@
+ 
+ do
+ ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
+-case "${CPPFLAGS+set} $ac_configure_args" in
+- *" CPPFLAGS="* );;
+- "set "*) ac_configure_args="CPPFLAGS='$CPPFLAGS' $ac_configure_args";;
+-esac
+-echo "configure:12062: checking for $ac_header" >&5
++
++echo "configure:14027: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 12068 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 14033 "configure"
+ #include "confdefs.h"
+ #include <$ac_header>
+ 
+-EOF
+-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+-{ (eval echo configure:12073: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }
+-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+-if test -z "$ac_err"; then
++_ACEOF
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:14039: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++
++if test -z "$ac_cpp_err"; then
+   eval "$ac_ac_Header=yes"
+ else
+-  echo "$ac_err" >&5
++  cat conftest.err >&5
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_Header=no"
+ fi
+ rm -f conftest*
++
+ fi
+-echo "configure:12085: result: `eval echo '${'$ac_ac_Header'}'`" >&5
++echo "configure:14060: result: `eval echo '${'$ac_ac_Header'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
+ if test `eval echo '${'$ac_ac_Header'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -13363,35 +14070,41 @@
+ for ac_header in standards.h
+ do
+ ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
+-case "${CPPFLAGS+set} $ac_configure_args" in
+- *" CPPFLAGS="* );;
+- "set "*) ac_configure_args="CPPFLAGS='$CPPFLAGS' $ac_configure_args";;
+-esac
+-echo "configure:12100: checking for $ac_header" >&5
++
++echo "configure:14074: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 12106 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 14080 "configure"
+ #include "confdefs.h"
+ #include <$ac_header>
+ 
+-EOF
+-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+-{ (eval echo configure:12111: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }
+-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+-if test -z "$ac_err"; then
++_ACEOF
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:14086: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++
++if test -z "$ac_cpp_err"; then
+   eval "$ac_ac_Header=yes"
+ else
+-  echo "$ac_err" >&5
++  cat conftest.err >&5
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_Header=no"
+ fi
+ rm -f conftest*
++
+ fi
+-echo "configure:12123: result: `eval echo '${'$ac_ac_Header'}'`" >&5
++echo "configure:14107: result: `eval echo '${'$ac_ac_Header'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
+ if test `eval echo '${'$ac_ac_Header'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -13405,13 +14118,13 @@
+ 
+ cv=`echo "$i" | sed 'y%./+-%__p_%'`
+ 
+-echo "configure:12133: checking for $i" >&5
++echo "configure:14121: checking for $i" >&5
+ echo $ECHO_N "checking for $i... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_header_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 12139 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 14127 "configure"
+ #include "confdefs.h"
+ \
+ #ifdef HAVE_STANDARDS_H
+@@ -13419,21 +14132,30 @@
+ #endif
+ #include <$i>
+ 
+-EOF
+-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+-{ (eval echo configure:12148: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }
+-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+-if test -z "$ac_err"; then
++_ACEOF
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:14137: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++
++if test -z "$ac_cpp_err"; then
+   eval "ac_cv_header_$cv=yes"
+ else
+-  echo "$ac_err" >&5
++  cat conftest.err >&5
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_header_$cv=no"
+ fi
+ rm -f conftest*
++
+ fi
+-echo "configure:12160: result: `eval echo '${'ac_cv_header_$cv'}'`" >&5
++echo "configure:14158: result: `eval echo '${'ac_cv_header_$cv'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'ac_cv_header_$cv'}'`" >&6
+ ac_res=`eval echo \\$ac_cv_header_$cv`
+ if test "$ac_res" = yes; then
+@@ -13450,35 +14172,41 @@
+ for ac_header in netinet/ip.h netinet/tcp.h
+ do
+ ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
+-case "${CPPFLAGS+set} $ac_configure_args" in
+- *" CPPFLAGS="* );;
+- "set "*) ac_configure_args="CPPFLAGS='$CPPFLAGS' $ac_configure_args";;
+-esac
+-echo "configure:12179: checking for $ac_header" >&5
++
++echo "configure:14176: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 12185 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 14182 "configure"
+ #include "confdefs.h"
+ #include <$ac_header>
+ 
+-EOF
+-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+-{ (eval echo configure:12190: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }
+-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+-if test -z "$ac_err"; then
++_ACEOF
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:14188: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++
++if test -z "$ac_cpp_err"; then
+   eval "$ac_ac_Header=yes"
+ else
+-  echo "$ac_err" >&5
++  cat conftest.err >&5
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_Header=no"
+ fi
+ rm -f conftest*
++
+ fi
+-echo "configure:12202: result: `eval echo '${'$ac_ac_Header'}'`" >&5
++echo "configure:14209: result: `eval echo '${'$ac_ac_Header'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
+ if test `eval echo '${'$ac_ac_Header'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -13494,7 +14222,7 @@
+ if test "${enable_netinfo+set}" = set; then
+   enableval="$enable_netinfo"
+ 
+-fi
++fi;
+ 
+ if test "$ac_cv_header_netinfo_ni_h" = yes -a "$enable_netinfo" = yes; then
+ 
+@@ -13527,27 +14255,27 @@
+ if test "$withval" = "no"; then
+ 	ac_cv_lib_ipv6=no
+ fi
+-fi
++fi;
+ if test "${ac_cv_lib_ipv6+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   v6type=unknown
+ v6lib=none
+ 
+-echo "configure:12246: checking ipv6 stack type" >&5
++echo "configure:14265: checking ipv6 stack type" >&5
+ echo $ECHO_N "checking ipv6 stack type... $ECHO_C" >&6
+ for i in v6d toshiba kame inria zeta linux; do
+ 	case $i in
+ 	v6d)
+-		cat >conftest.$ac_ext <<EOF
+-#line 12252 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 14271 "configure"
+ #include "confdefs.h"
+ dnl
+ #include </usr/local/v6/include/sys/types.h>
+ #ifdef __V6D__
+ yes
+ #endif
+-EOF
++_ACEOF
+ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+   egrep "yes" >/dev/null 2>&1; then
+   v6type=$i; v6lib=v6;
+@@ -13558,15 +14286,15 @@
+ 
+ 		;;
+ 	toshiba)
+-		cat >conftest.$ac_ext <<EOF
+-#line 12270 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 14290 "configure"
+ #include "confdefs.h"
+ dnl
+ #include <sys/param.h>
+ #ifdef _TOSHIBA_INET6
+ yes
+ #endif
+-EOF
++_ACEOF
+ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+   egrep "yes" >/dev/null 2>&1; then
+   v6type=$i; v6lib=inet6;
+@@ -13577,15 +14305,15 @@
+ 
+ 		;;
+ 	kame)
+-		cat >conftest.$ac_ext <<EOF
+-#line 12288 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 14309 "configure"
+ #include "confdefs.h"
+ dnl
+ #include <netinet/in.h>
+ #ifdef __KAME__
+ yes
+ #endif
+-EOF
++_ACEOF
+ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+   egrep "yes" >/dev/null 2>&1; then
+   v6type=$i; v6lib=inet6;
+@@ -13596,15 +14324,15 @@
+ 
+ 		;;
+ 	inria)
+-		cat >conftest.$ac_ext <<EOF
+-#line 12306 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 14328 "configure"
+ #include "confdefs.h"
+ dnl
+ #include <netinet/in.h>
+ #ifdef IPV6_INRIA_VERSION
+ yes
+ #endif
+-EOF
++_ACEOF
+ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+   egrep "yes" >/dev/null 2>&1; then
+   v6type=$i; CFLAGS="-DINET6 $CFLAGS"
+@@ -13613,15 +14341,15 @@
+ 
+ 		;;
+ 	zeta)
+-		cat >conftest.$ac_ext <<EOF
+-#line 12322 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 14345 "configure"
+ #include "confdefs.h"
+ dnl
+ #include <sys/param.h>
+ #ifdef _ZETA_MINAMI_INET6
+ yes
+ #endif
+-EOF
++_ACEOF
+ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+   egrep "yes" >/dev/null 2>&1; then
+   v6type=$i; v6lib=inet6;
+@@ -13644,7 +14372,7 @@
+ 		break
+ 	fi
+ done
+-echo "configure:12351: result: $v6type" >&5
++echo "configure:14375: result: $v6type" >&5
+ echo "${ECHO_T}$v6type" >&6
+ 
+ if test "$v6lib" != "none"; then
+@@ -13655,8 +14383,8 @@
+ 		fi
+ 	done
+ fi
+-cat >conftest.$ac_ext <<EOF
+-#line 12362 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 14387 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_SYS_TYPES_H
+@@ -13689,20 +14417,21 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:12390: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:14422: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_lib_ipv6=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_lib_ipv6=no
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+ 
+-echo "configure:12399: checking for IPv6" >&5
++echo "configure:14432: checking for IPv6" >&5
+ echo $ECHO_N "checking for IPv6... $ECHO_C" >&6
+-echo "configure:12401: result: $ac_cv_lib_ipv6" >&5
++echo "configure:14434: result: $ac_cv_lib_ipv6" >&5
+ echo "${ECHO_T}$ac_cv_lib_ipv6" >&6
+ if test "$ac_cv_lib_ipv6" = yes; then
+ 
+@@ -13712,7 +14441,7 @@
+ 
+ fi
+ 
+-echo "configure:12408: checking for socket" >&5
++echo "configure:14444: checking for socket" >&5
+ echo $ECHO_N "checking for socket... $ECHO_C" >&6
+ if test "${ac_cv_funclib_socket+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -13727,8 +14456,8 @@
+ 			ac_lib=""
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 12423 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 14460 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -13738,14 +14467,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:12433: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:14472: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_socket=$ac_lib; else ac_cv_funclib_socket=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_socket=\${ac_cv_funclib_socket-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -13760,13 +14490,13 @@
+ for ac_func in socket
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:12451: checking for $ac_func" >&5
++echo "configure:14493: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 12457 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 14499 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -13795,17 +14525,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:12485: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:14530: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:12494: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:14539: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -13829,13 +14560,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:12514: result: yes" >&5
++	echo "configure:14563: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_socket=no"
+ 	eval "LIB_socket="
+-	echo "configure:12520: result: no" >&5
++	echo "configure:14569: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -13849,7 +14580,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:12532: result: yes, in $ac_res" >&5
++	echo "configure:14583: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -13858,7 +14589,7 @@
+ 	LIBS="$LIB_socket $LIBS"
+ fi
+ 
+-echo "configure:12539: checking for gethostbyname" >&5
++echo "configure:14592: checking for gethostbyname" >&5
+ echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
+ if test "${ac_cv_funclib_gethostbyname+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -13873,8 +14604,8 @@
+ 			ac_lib=""
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 12554 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 14608 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -13884,14 +14615,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:12564: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:14620: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_gethostbyname=$ac_lib; else ac_cv_funclib_gethostbyname=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_gethostbyname=\${ac_cv_funclib_gethostbyname-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -13906,13 +14638,13 @@
+ for ac_func in gethostbyname
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:12582: checking for $ac_func" >&5
++echo "configure:14641: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 12588 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 14647 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -13941,17 +14673,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:12616: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:14678: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:12625: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:14687: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -13975,13 +14708,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:12645: result: yes" >&5
++	echo "configure:14711: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_gethostbyname=no"
+ 	eval "LIB_gethostbyname="
+-	echo "configure:12651: result: no" >&5
++	echo "configure:14717: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -13995,7 +14728,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:12663: result: yes, in $ac_res" >&5
++	echo "configure:14731: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -14004,7 +14737,7 @@
+ 	LIBS="$LIB_gethostbyname $LIBS"
+ fi
+ 
+-echo "configure:12670: checking for syslog" >&5
++echo "configure:14740: checking for syslog" >&5
+ echo $ECHO_N "checking for syslog... $ECHO_C" >&6
+ if test "${ac_cv_funclib_syslog+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -14019,8 +14752,8 @@
+ 			ac_lib=""
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 12685 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 14756 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -14030,14 +14763,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:12695: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:14768: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_syslog=$ac_lib; else ac_cv_funclib_syslog=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_syslog=\${ac_cv_funclib_syslog-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -14052,13 +14786,13 @@
+ for ac_func in syslog
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:12713: checking for $ac_func" >&5
++echo "configure:14789: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 12719 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 14795 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -14087,17 +14821,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:12747: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:14826: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:12756: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:14835: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -14121,13 +14856,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:12776: result: yes" >&5
++	echo "configure:14859: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_syslog=no"
+ 	eval "LIB_syslog="
+-	echo "configure:12782: result: no" >&5
++	echo "configure:14865: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -14141,7 +14876,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:12794: result: yes, in $ac_res" >&5
++	echo "configure:14879: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -14150,7 +14885,7 @@
+ 	LIBS="$LIB_syslog $LIBS"
+ fi
+ 
+-echo "configure:12801: checking for logwtmp" >&5
++echo "configure:14888: checking for logwtmp" >&5
+ echo $ECHO_N "checking for logwtmp... $ECHO_C" >&6
+ if test "${ac_cv_funclib_logwtmp+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -14165,8 +14900,8 @@
+ 			ac_lib=""
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 12816 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 14904 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -14176,14 +14911,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:12826: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:14916: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_logwtmp=$ac_lib; else ac_cv_funclib_logwtmp=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_logwtmp=\${ac_cv_funclib_logwtmp-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -14198,13 +14934,13 @@
+ for ac_func in logwtmp
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:12844: checking for $ac_func" >&5
++echo "configure:14937: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 12850 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 14943 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -14233,17 +14969,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:12878: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:14974: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:12887: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:14983: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -14267,13 +15004,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:12907: result: yes" >&5
++	echo "configure:15007: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_logwtmp=no"
+ 	eval "LIB_logwtmp="
+-	echo "configure:12913: result: no" >&5
++	echo "configure:15013: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -14287,12 +15024,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:12925: result: yes, in $ac_res" >&5
++	echo "configure:15027: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "configure:12929: checking for tgetent" >&5
++echo "configure:15032: checking for tgetent" >&5
+ echo $ECHO_N "checking for tgetent... $ECHO_C" >&6
+ if test "${ac_cv_funclib_tgetent+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -14307,8 +15044,8 @@
+ 			ac_lib=""
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 12944 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 15048 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -14318,14 +15055,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:12954: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:15060: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_tgetent=$ac_lib; else ac_cv_funclib_tgetent=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_tgetent=\${ac_cv_funclib_tgetent-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -14340,13 +15078,13 @@
+ for ac_func in tgetent
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:12972: checking for $ac_func" >&5
++echo "configure:15081: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 12978 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 15087 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -14375,17 +15113,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:13006: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:15118: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:13015: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:15127: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -14409,13 +15148,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:13035: result: yes" >&5
++	echo "configure:15151: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_tgetent=no"
+ 	eval "LIB_tgetent="
+-	echo "configure:13041: result: no" >&5
++	echo "configure:15157: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -14429,12 +15168,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:13053: result: yes, in $ac_res" >&5
++	echo "configure:15171: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "configure:13057: checking for gethostbyname2" >&5
++echo "configure:15176: checking for gethostbyname2" >&5
+ echo $ECHO_N "checking for gethostbyname2... $ECHO_C" >&6
+ if test "${ac_cv_funclib_gethostbyname2+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -14449,8 +15188,8 @@
+ 			ac_lib=""
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 13072 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 15192 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -14460,14 +15199,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:13082: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:15204: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_gethostbyname2=$ac_lib; else ac_cv_funclib_gethostbyname2=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_gethostbyname2=\${ac_cv_funclib_gethostbyname2-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -14482,13 +15222,13 @@
+ for ac_func in gethostbyname2
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:13100: checking for $ac_func" >&5
++echo "configure:15225: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 13106 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 15231 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -14517,17 +15257,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:13134: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:15262: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:13143: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:15271: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -14551,13 +15292,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:13163: result: yes" >&5
++	echo "configure:15295: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_gethostbyname2=no"
+ 	eval "LIB_gethostbyname2="
+-	echo "configure:13169: result: no" >&5
++	echo "configure:15301: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -14571,7 +15312,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:13181: result: yes, in $ac_res" >&5
++	echo "configure:15315: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -14580,7 +15321,7 @@
+ 	LIBS="$LIB_gethostbyname2 $LIBS"
+ fi
+ 
+-echo "configure:13188: checking for res_search" >&5
++echo "configure:15324: checking for res_search" >&5
+ echo $ECHO_N "checking for res_search... $ECHO_C" >&6
+ if test "${ac_cv_funclib_res_search+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -14595,8 +15336,8 @@
+ 			ac_lib=""
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 13203 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 15340 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -14620,14 +15361,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:13226: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:15366: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_res_search=$ac_lib; else ac_cv_funclib_res_search=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_res_search=\${ac_cv_funclib_res_search-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -14642,13 +15384,13 @@
+ for ac_func in res_search
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:13244: checking for $ac_func" >&5
++echo "configure:15387: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 13250 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 15393 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -14677,17 +15419,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:13278: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:15424: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:13287: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:15433: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -14711,13 +15454,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:13307: result: yes" >&5
++	echo "configure:15457: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_res_search=no"
+ 	eval "LIB_res_search="
+-	echo "configure:13313: result: no" >&5
++	echo "configure:15463: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -14731,7 +15474,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:13325: result: yes, in $ac_res" >&5
++	echo "configure:15477: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -14740,7 +15483,7 @@
+ 	LIBS="$LIB_res_search $LIBS"
+ fi
+ 
+-echo "configure:13332: checking for dn_expand" >&5
++echo "configure:15486: checking for dn_expand" >&5
+ echo $ECHO_N "checking for dn_expand... $ECHO_C" >&6
+ if test "${ac_cv_funclib_dn_expand+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -14755,8 +15498,8 @@
+ 			ac_lib=""
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 13347 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 15502 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -14780,14 +15523,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:13370: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:15528: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_dn_expand=$ac_lib; else ac_cv_funclib_dn_expand=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_dn_expand=\${ac_cv_funclib_dn_expand-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -14802,13 +15546,13 @@
+ for ac_func in dn_expand
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:13388: checking for $ac_func" >&5
++echo "configure:15549: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 13394 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 15555 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -14837,17 +15581,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:13422: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:15586: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:13431: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:15595: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -14871,13 +15616,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:13451: result: yes" >&5
++	echo "configure:15619: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_dn_expand=no"
+ 	eval "LIB_dn_expand="
+-	echo "configure:13457: result: no" >&5
++	echo "configure:15625: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -14891,7 +15636,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:13469: result: yes, in $ac_res" >&5
++	echo "configure:15639: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -14900,7 +15645,7 @@
+ 	LIBS="$LIB_dn_expand $LIBS"
+ fi
+ 
+-echo "configure:13476: checking for working snprintf" >&5
++echo "configure:15648: checking for working snprintf" >&5
+ echo $ECHO_N "checking for working snprintf... $ECHO_C" >&6
+ if test "${ac_cv_func_snprintf_working+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -14909,8 +15654,8 @@
+ if test "$cross_compiling" = yes; then
+   :
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 13486 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 15658 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -14921,20 +15666,21 @@
+ 	snprintf(foo, 2, "12");
+ 	return strcmp(foo, "1");
+ }
+-EOF
+-if { (eval echo configure:13497: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
+-   test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null; then
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo configure:15671: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
++   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
+   :
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_func_snprintf_working=no
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+ 
+ fi
+-echo "configure:13508: result: $ac_cv_func_snprintf_working" >&5
++echo "configure:15683: result: $ac_cv_func_snprintf_working" >&5
+ echo "${ECHO_T}$ac_cv_func_snprintf_working" >&6
+ 
+ if test "$ac_cv_func_snprintf_working" = yes; then
+@@ -14947,13 +15693,13 @@
+ if test "$ac_cv_func_snprintf_working" = yes; then
+ 
+ if test "$ac_cv_func_snprintf+set" != set -o "$ac_cv_func_snprintf" = yes; then
+-echo "configure:13518: checking if snprintf needs a prototype" >&5
++echo "configure:15696: checking if snprintf needs a prototype" >&5
+ echo $ECHO_N "checking if snprintf needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_snprintf_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 13524 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 15702 "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
+ int
+@@ -14966,17 +15712,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:13537: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:15717: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_snprintf_noproto=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_func_snprintf_noproto=no"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:13546: result: $ac_cv_func_snprintf_noproto" >&5
++echo "configure:15726: result: $ac_cv_func_snprintf_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_snprintf_noproto" >&6
+ 
+ if test "$ac_cv_func_snprintf_noproto" = yes; then
+@@ -14991,7 +15738,7 @@
+ 
+ fi
+ 
+-echo "configure:13556: checking for working vsnprintf" >&5
++echo "configure:15741: checking for working vsnprintf" >&5
+ echo $ECHO_N "checking for working vsnprintf... $ECHO_C" >&6
+ if test "${ac_cv_func_vsnprintf_working+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -15000,8 +15747,8 @@
+ if test "$cross_compiling" = yes; then
+   :
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 13566 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 15751 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -15022,20 +15769,21 @@
+ {
+ 	return foo(0, "12");
+ }
+-EOF
+-if { (eval echo configure:13585: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
+-   test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null; then
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo configure:15774: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
++   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
+   :
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_func_vsnprintf_working=no
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+ 
+ fi
+-echo "configure:13596: result: $ac_cv_func_vsnprintf_working" >&5
++echo "configure:15786: result: $ac_cv_func_vsnprintf_working" >&5
+ echo "${ECHO_T}$ac_cv_func_vsnprintf_working" >&6
+ 
+ if test "$ac_cv_func_vsnprintf_working" = yes; then
+@@ -15048,13 +15796,13 @@
+ if test "$ac_cv_func_vsnprintf_working" = yes; then
+ 
+ if test "$ac_cv_func_vsnprintf+set" != set -o "$ac_cv_func_vsnprintf" = yes; then
+-echo "configure:13606: checking if vsnprintf needs a prototype" >&5
++echo "configure:15799: checking if vsnprintf needs a prototype" >&5
+ echo $ECHO_N "checking if vsnprintf needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_vsnprintf_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 13612 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 15805 "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
+ int
+@@ -15067,17 +15815,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:13625: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:15820: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_vsnprintf_noproto=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_func_vsnprintf_noproto=no"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:13634: result: $ac_cv_func_vsnprintf_noproto" >&5
++echo "configure:15829: result: $ac_cv_func_vsnprintf_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_vsnprintf_noproto" >&6
+ 
+ if test "$ac_cv_func_vsnprintf_noproto" = yes; then
+@@ -15127,13 +15876,13 @@
+ 
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:13678: checking for $ac_func" >&5
++echo "configure:15879: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 13684 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 15885 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -15162,17 +15911,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:13712: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:15916: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:13721: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:15925: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -15185,35 +15935,41 @@
+ for ac_header in capability.h sys/capability.h
+ do
+ ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
+-case "${CPPFLAGS+set} $ac_configure_args" in
+- *" CPPFLAGS="* );;
+- "set "*) ac_configure_args="CPPFLAGS='$CPPFLAGS' $ac_configure_args";;
+-esac
+-echo "configure:13736: checking for $ac_header" >&5
++
++echo "configure:15939: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 13742 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 15945 "configure"
+ #include "confdefs.h"
+ #include <$ac_header>
+ 
+-EOF
+-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+-{ (eval echo configure:13747: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }
+-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+-if test -z "$ac_err"; then
++_ACEOF
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:15951: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++
++if test -z "$ac_cpp_err"; then
+   eval "$ac_ac_Header=yes"
+ else
+-  echo "$ac_err" >&5
++  cat conftest.err >&5
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_Header=no"
+ fi
+ rm -f conftest*
++
+ fi
+-echo "configure:13759: result: `eval echo '${'$ac_ac_Header'}'`" >&5
++echo "configure:15972: result: `eval echo '${'$ac_ac_Header'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
+ if test `eval echo '${'$ac_ac_Header'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -15226,13 +15982,13 @@
+ for ac_func in sgi_getcapabilitybyname cap_set_proc
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:13770: checking for $ac_func" >&5
++echo "configure:15985: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 13776 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 15991 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -15261,17 +16017,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:13804: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:16022: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:13813: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:16031: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -15281,7 +16038,7 @@
+ fi
+ done
+ 
+-echo "configure:13821: checking for getpwnam_r" >&5
++echo "configure:16041: checking for getpwnam_r" >&5
+ echo $ECHO_N "checking for getpwnam_r... $ECHO_C" >&6
+ if test "${ac_cv_funclib_getpwnam_r+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -15296,8 +16053,8 @@
+ 			ac_lib=""
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 13836 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 16057 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -15307,14 +16064,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:13846: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:16069: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_getpwnam_r=$ac_lib; else ac_cv_funclib_getpwnam_r=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_getpwnam_r=\${ac_cv_funclib_getpwnam_r-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -15329,13 +16087,13 @@
+ for ac_func in getpwnam_r
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:13864: checking for $ac_func" >&5
++echo "configure:16090: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 13870 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 16096 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -15364,17 +16122,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:13898: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:16127: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:13907: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:16136: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -15398,13 +16157,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:13927: result: yes" >&5
++	echo "configure:16160: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_getpwnam_r=no"
+ 	eval "LIB_getpwnam_r="
+-	echo "configure:13933: result: no" >&5
++	echo "configure:16166: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -15418,13 +16177,13 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:13945: result: yes, in $ac_res" >&5
++	echo "configure:16180: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+ if test "$ac_cv_func_getpwnam_r" = yes; then
+-	echo "configure:13950: checking if getpwnam_r is posix" >&5
++	echo "configure:16186: checking if getpwnam_r is posix" >&5
+ echo $ECHO_N "checking if getpwnam_r is posix... $ECHO_C" >&6
+ if test "${ac_cv_func_getpwnam_r_posix+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -15434,8 +16193,8 @@
+ 	if test "$cross_compiling" = yes; then
+   :
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 13961 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 16197 "configure"
+ #include "confdefs.h"
+ 
+ #include <pwd.h>
+@@ -15445,21 +16204,22 @@
+ 	return getpwnam_r("", &pw, NULL, 0, &pwd) < 0;
+ }
+ 
+-EOF
+-if { (eval echo configure:13970: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
+-   test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null; then
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo configure:16209: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
++   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
+   ac_cv_func_getpwnam_r_posix=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_func_getpwnam_r_posix=no
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+ 
+ LIBS="$ac_libs"
+ fi
+-echo "configure:13982: result: $ac_cv_func_getpwnam_r_posix" >&5
++echo "configure:16222: result: $ac_cv_func_getpwnam_r_posix" >&5
+ echo "${ECHO_T}$ac_cv_func_getpwnam_r_posix" >&6
+ if test "$ac_cv_func_getpwnam_r_posix" = yes; then
+ 	
+@@ -15470,7 +16230,7 @@
+ fi
+ fi
+ 
+-echo "configure:13991: checking for getsockopt" >&5
++echo "configure:16233: checking for getsockopt" >&5
+ echo $ECHO_N "checking for getsockopt... $ECHO_C" >&6
+ if test "${ac_cv_funclib_getsockopt+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -15485,8 +16245,8 @@
+ 			ac_lib=""
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 14006 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 16249 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_SYS_TYPES_H
+ #include <sys/types.h>
+@@ -15501,14 +16261,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:14022: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:16266: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_getsockopt=$ac_lib; else ac_cv_funclib_getsockopt=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_getsockopt=\${ac_cv_funclib_getsockopt-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -15523,13 +16284,13 @@
+ for ac_func in getsockopt
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:14040: checking for $ac_func" >&5
++echo "configure:16287: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 14046 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 16293 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -15558,17 +16319,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:14074: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:16324: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:14083: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:16333: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -15592,13 +16354,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:14103: result: yes" >&5
++	echo "configure:16357: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_getsockopt=no"
+ 	eval "LIB_getsockopt="
+-	echo "configure:14109: result: no" >&5
++	echo "configure:16363: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -15612,12 +16374,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:14121: result: yes, in $ac_res" >&5
++	echo "configure:16377: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "configure:14125: checking for setsockopt" >&5
++echo "configure:16382: checking for setsockopt" >&5
+ echo $ECHO_N "checking for setsockopt... $ECHO_C" >&6
+ if test "${ac_cv_funclib_setsockopt+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -15632,8 +16394,8 @@
+ 			ac_lib=""
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 14140 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 16398 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_SYS_TYPES_H
+ #include <sys/types.h>
+@@ -15648,14 +16410,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:14156: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:16415: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_setsockopt=$ac_lib; else ac_cv_funclib_setsockopt=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_setsockopt=\${ac_cv_funclib_setsockopt-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -15670,13 +16433,13 @@
+ for ac_func in setsockopt
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:14174: checking for $ac_func" >&5
++echo "configure:16436: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 14180 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 16442 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -15705,17 +16468,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:14208: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:16473: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:14217: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:16482: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -15739,13 +16503,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:14237: result: yes" >&5
++	echo "configure:16506: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_setsockopt=no"
+ 	eval "LIB_setsockopt="
+-	echo "configure:14243: result: no" >&5
++	echo "configure:16512: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -15759,7 +16523,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:14255: result: yes, in $ac_res" >&5
++	echo "configure:16526: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -15767,13 +16531,13 @@
+ for ac_func in getudbnam setlim
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:14262: checking for $ac_func" >&5
++echo "configure:16534: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 14268 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 16540 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -15802,17 +16566,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:14296: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:16571: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:14305: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:16580: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -15822,13 +16587,13 @@
+ fi
+ done
+ 
+-echo "configure:14313: checking return type of signal handlers" >&5
++echo "configure:16590: checking return type of signal handlers" >&5
+ echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
+ if test "${ac_cv_type_signal+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 14319 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 16596 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #include <signal.h>
+@@ -15848,17 +16613,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:14339: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:16618: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_signal=void
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_signal=int
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:14348: result: $ac_cv_type_signal" >&5
++echo "configure:16627: result: $ac_cv_type_signal" >&5
+ echo "${ECHO_T}$ac_cv_type_signal" >&6
+ 
+ cat >>confdefs.h <<EOF
+@@ -15873,7 +16639,7 @@
+ 
+ fi
+ 
+-echo "configure:14359: checking if realloc if broken" >&5
++echo "configure:16642: checking if realloc if broken" >&5
+ echo $ECHO_N "checking if realloc if broken... $ECHO_C" >&6
+ if test "${ac_cv_func_realloc_broken+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -15883,8 +16649,8 @@
+ if test "$cross_compiling" = yes; then
+   :
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 14369 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 16653 "configure"
+ #include "confdefs.h"
+ 
+ #include <stddef.h>
+@@ -15895,20 +16661,21 @@
+ 	return realloc(NULL, 17) == NULL;
+ }
+ 
+-EOF
+-if { (eval echo configure:14378: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
+-   test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null; then
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo configure:16666: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
++   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
+   :
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_func_realloc_broken=yes
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+ 
+ fi
+-echo "configure:14389: result: $ac_cv_func_realloc_broken" >&5
++echo "configure:16678: result: $ac_cv_func_realloc_broken" >&5
+ echo "${ECHO_T}$ac_cv_func_realloc_broken" >&6
+ if test "$ac_cv_func_realloc_broken" = yes ; then
+ 	
+@@ -15918,14 +16685,14 @@
+ 
+ fi
+ 
+-echo "configure:14397: checking for ut_addr in struct utmp" >&5
++echo "configure:16688: checking for ut_addr in struct utmp" >&5
+ echo $ECHO_N "checking for ut_addr in struct utmp... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_utmp_ut_addr+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-cat >conftest.$ac_ext <<EOF
+-#line 14403 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 16695 "configure"
+ #include "confdefs.h"
+ #include <utmp.h>
+ int
+@@ -15935,17 +16702,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:14414: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:16707: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_utmp_ut_addr=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_struct_utmp_ut_addr=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:14423: result: $ac_cv_type_struct_utmp_ut_addr" >&5
++echo "configure:16716: result: $ac_cv_type_struct_utmp_ut_addr" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_addr" >&6
+ if test "$ac_cv_type_struct_utmp_ut_addr" = yes; then
+ 	
+@@ -15957,14 +16725,14 @@
+ 	
+ fi
+ 
+-echo "configure:14433: checking for ut_host in struct utmp" >&5
++echo "configure:16728: checking for ut_host in struct utmp" >&5
+ echo $ECHO_N "checking for ut_host in struct utmp... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_utmp_ut_host+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-cat >conftest.$ac_ext <<EOF
+-#line 14439 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 16735 "configure"
+ #include "confdefs.h"
+ #include <utmp.h>
+ int
+@@ -15974,17 +16742,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:14450: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:16747: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_utmp_ut_host=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_struct_utmp_ut_host=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:14459: result: $ac_cv_type_struct_utmp_ut_host" >&5
++echo "configure:16756: result: $ac_cv_type_struct_utmp_ut_host" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_host" >&6
+ if test "$ac_cv_type_struct_utmp_ut_host" = yes; then
+ 	
+@@ -15996,14 +16765,14 @@
+ 	
+ fi
+ 
+-echo "configure:14469: checking for ut_id in struct utmp" >&5
++echo "configure:16768: checking for ut_id in struct utmp" >&5
+ echo $ECHO_N "checking for ut_id in struct utmp... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_utmp_ut_id+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-cat >conftest.$ac_ext <<EOF
+-#line 14475 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 16775 "configure"
+ #include "confdefs.h"
+ #include <utmp.h>
+ int
+@@ -16013,17 +16782,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:14486: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:16787: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_utmp_ut_id=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_struct_utmp_ut_id=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:14495: result: $ac_cv_type_struct_utmp_ut_id" >&5
++echo "configure:16796: result: $ac_cv_type_struct_utmp_ut_id" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_id" >&6
+ if test "$ac_cv_type_struct_utmp_ut_id" = yes; then
+ 	
+@@ -16035,14 +16805,14 @@
+ 	
+ fi
+ 
+-echo "configure:14505: checking for ut_pid in struct utmp" >&5
++echo "configure:16808: checking for ut_pid in struct utmp" >&5
+ echo $ECHO_N "checking for ut_pid in struct utmp... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_utmp_ut_pid+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-cat >conftest.$ac_ext <<EOF
+-#line 14511 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 16815 "configure"
+ #include "confdefs.h"
+ #include <utmp.h>
+ int
+@@ -16052,17 +16822,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:14522: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:16827: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_utmp_ut_pid=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_struct_utmp_ut_pid=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:14531: result: $ac_cv_type_struct_utmp_ut_pid" >&5
++echo "configure:16836: result: $ac_cv_type_struct_utmp_ut_pid" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_pid" >&6
+ if test "$ac_cv_type_struct_utmp_ut_pid" = yes; then
+ 	
+@@ -16074,14 +16845,14 @@
+ 	
+ fi
+ 
+-echo "configure:14541: checking for ut_type in struct utmp" >&5
++echo "configure:16848: checking for ut_type in struct utmp" >&5
+ echo $ECHO_N "checking for ut_type in struct utmp... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_utmp_ut_type+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-cat >conftest.$ac_ext <<EOF
+-#line 14547 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 16855 "configure"
+ #include "confdefs.h"
+ #include <utmp.h>
+ int
+@@ -16091,17 +16862,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:14558: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:16867: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_utmp_ut_type=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_struct_utmp_ut_type=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:14567: result: $ac_cv_type_struct_utmp_ut_type" >&5
++echo "configure:16876: result: $ac_cv_type_struct_utmp_ut_type" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_type" >&6
+ if test "$ac_cv_type_struct_utmp_ut_type" = yes; then
+ 	
+@@ -16113,14 +16885,14 @@
+ 	
+ fi
+ 
+-echo "configure:14577: checking for ut_user in struct utmp" >&5
++echo "configure:16888: checking for ut_user in struct utmp" >&5
+ echo $ECHO_N "checking for ut_user in struct utmp... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_utmp_ut_user+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-cat >conftest.$ac_ext <<EOF
+-#line 14583 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 16895 "configure"
+ #include "confdefs.h"
+ #include <utmp.h>
+ int
+@@ -16130,17 +16902,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:14594: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:16907: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_utmp_ut_user=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_struct_utmp_ut_user=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:14603: result: $ac_cv_type_struct_utmp_ut_user" >&5
++echo "configure:16916: result: $ac_cv_type_struct_utmp_ut_user" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_user" >&6
+ if test "$ac_cv_type_struct_utmp_ut_user" = yes; then
+ 	
+@@ -16152,14 +16925,14 @@
+ 	
+ fi
+ 
+-echo "configure:14613: checking for ut_exit in struct utmpx" >&5
++echo "configure:16928: checking for ut_exit in struct utmpx" >&5
+ echo $ECHO_N "checking for ut_exit in struct utmpx... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_utmpx_ut_exit+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-cat >conftest.$ac_ext <<EOF
+-#line 14619 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 16935 "configure"
+ #include "confdefs.h"
+ #include <utmpx.h>
+ int
+@@ -16169,17 +16942,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:14630: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:16947: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_utmpx_ut_exit=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_struct_utmpx_ut_exit=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:14639: result: $ac_cv_type_struct_utmpx_ut_exit" >&5
++echo "configure:16956: result: $ac_cv_type_struct_utmpx_ut_exit" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_utmpx_ut_exit" >&6
+ if test "$ac_cv_type_struct_utmpx_ut_exit" = yes; then
+ 	
+@@ -16191,14 +16965,14 @@
+ 	
+ fi
+ 
+-echo "configure:14649: checking for ut_syslen in struct utmpx" >&5
++echo "configure:16968: checking for ut_syslen in struct utmpx" >&5
+ echo $ECHO_N "checking for ut_syslen in struct utmpx... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_utmpx_ut_syslen+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-cat >conftest.$ac_ext <<EOF
+-#line 14655 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 16975 "configure"
+ #include "confdefs.h"
+ #include <utmpx.h>
+ int
+@@ -16208,17 +16982,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:14666: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:16987: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_utmpx_ut_syslen=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_struct_utmpx_ut_syslen=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:14675: result: $ac_cv_type_struct_utmpx_ut_syslen" >&5
++echo "configure:16996: result: $ac_cv_type_struct_utmpx_ut_syslen" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_utmpx_ut_syslen" >&6
+ if test "$ac_cv_type_struct_utmpx_ut_syslen" = yes; then
+ 	
+@@ -16230,14 +17005,14 @@
+ 	
+ fi
+ 
+-echo "configure:14685: checking for tm_gmtoff in struct tm" >&5
++echo "configure:17008: checking for tm_gmtoff in struct tm" >&5
+ echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_tm_tm_gmtoff+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-cat >conftest.$ac_ext <<EOF
+-#line 14691 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 17015 "configure"
+ #include "confdefs.h"
+ #include <time.h>
+ int
+@@ -16247,17 +17022,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:14702: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:17027: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_tm_tm_gmtoff=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_struct_tm_tm_gmtoff=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:14711: result: $ac_cv_type_struct_tm_tm_gmtoff" >&5
++echo "configure:17036: result: $ac_cv_type_struct_tm_tm_gmtoff" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_tm_tm_gmtoff" >&6
+ if test "$ac_cv_type_struct_tm_tm_gmtoff" = yes; then
+ 	
+@@ -16269,14 +17045,14 @@
+ 	
+ fi
+ 
+-echo "configure:14721: checking for tm_zone in struct tm" >&5
++echo "configure:17048: checking for tm_zone in struct tm" >&5
+ echo $ECHO_N "checking for tm_zone in struct tm... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_tm_tm_zone+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-cat >conftest.$ac_ext <<EOF
+-#line 14727 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 17055 "configure"
+ #include "confdefs.h"
+ #include <time.h>
+ int
+@@ -16286,17 +17062,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:14738: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:17067: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_tm_tm_zone=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_struct_tm_tm_zone=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:14747: result: $ac_cv_type_struct_tm_tm_zone" >&5
++echo "configure:17076: result: $ac_cv_type_struct_tm_tm_zone" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_tm_tm_zone" >&6
+ if test "$ac_cv_type_struct_tm_tm_zone" = yes; then
+ 	
+@@ -16308,14 +17085,14 @@
+ 	
+ fi
+ 
+-echo "configure:14757: checking for timezone" >&5
++echo "configure:17088: checking for timezone" >&5
+ echo $ECHO_N "checking for timezone... $ECHO_C" >&6
+ if test "${ac_cv_var_timezone+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-cat >conftest.$ac_ext <<EOF
+-#line 14763 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 17095 "configure"
+ #include "confdefs.h"
+ extern int timezone;
+ int foo() { return timezone; }
+@@ -16326,20 +17103,21 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:14775: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:17108: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_var_timezone=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_var_timezone=no
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 
+ fi
+ 
+ ac_foo=`eval echo \\$ac_cv_var_timezone`
+-echo "configure:14785: result: $ac_foo" >&5
++echo "configure:17120: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+ 	
+@@ -16348,14 +17126,14 @@
+ EOF
+ 
+ 	
+-echo "configure:14793: checking if timezone is properly declared" >&5
++echo "configure:17129: checking if timezone is properly declared" >&5
+ echo $ECHO_N "checking if timezone is properly declared... $ECHO_C" >&6
+ if test "${ac_cv_var_timezone_declaration+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-cat >conftest.$ac_ext <<EOF
+-#line 14799 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 17136 "configure"
+ #include "confdefs.h"
+ #include <time.h>
+ extern struct { int foo; } timezone;
+@@ -16366,19 +17144,20 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:14811: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:17149: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_var_timezone_declaration=no"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_var_timezone_declaration=yes"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ 
+ fi
+ 
+-echo "configure:14820: result: $ac_cv_var_timezone_declaration" >&5
++echo "configure:17160: result: $ac_cv_var_timezone_declaration" >&5
+ echo "${ECHO_T}$ac_cv_var_timezone_declaration" >&6
+ if eval "test \"\$ac_cv_var_timezone_declaration\" = yes"; then
+ 	
+@@ -16391,13 +17170,13 @@
+ fi
+ 
+ cv=`echo "sa_family_t" | sed 'y%./+- %__p__%'`
+-echo "configure:14830: checking for sa_family_t" >&5
++echo "configure:17173: checking for sa_family_t" >&5
+ echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 14836 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 17179 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -16412,29 +17191,30 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:14852: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:17196: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_type_$cv=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_type_$cv=no"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "configure:14862: result: $ac_foo" >&5
++echo "configure:17206: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo sa_family_t | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "configure:14867: checking for sa_family_t" >&5
++	echo "configure:17211: checking for sa_family_t" >&5
+ echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6
+ if test "${ac_cv_type_sa_family_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 14873 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 17217 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -16447,17 +17227,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:14887: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:17232: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_sa_family_t=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_sa_family_t=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:14896: result: $ac_cv_type_sa_family_t" >&5
++echo "configure:17241: result: $ac_cv_type_sa_family_t" >&5
+ echo "${ECHO_T}$ac_cv_type_sa_family_t" >&6
+ if test $ac_cv_type_sa_family_t = yes; then
+ 
+@@ -16476,13 +17257,13 @@
+ fi
+ 
+ cv=`echo "socklen_t" | sed 'y%./+- %__p__%'`
+-echo "configure:14909: checking for socklen_t" >&5
++echo "configure:17260: checking for socklen_t" >&5
+ echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 14915 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 17266 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -16497,29 +17278,30 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:14931: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:17283: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_type_$cv=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_type_$cv=no"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "configure:14941: result: $ac_foo" >&5
++echo "configure:17293: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo socklen_t | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "configure:14946: checking for socklen_t" >&5
++	echo "configure:17298: checking for socklen_t" >&5
+ echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
+ if test "${ac_cv_type_socklen_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 14952 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 17304 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -16532,17 +17314,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:14966: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:17319: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_socklen_t=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_socklen_t=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:14975: result: $ac_cv_type_socklen_t" >&5
++echo "configure:17328: result: $ac_cv_type_socklen_t" >&5
+ echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
+ if test $ac_cv_type_socklen_t = yes; then
+ 
+@@ -16561,13 +17344,13 @@
+ fi
+ 
+ cv=`echo "struct sockaddr" | sed 'y%./+- %__p__%'`
+-echo "configure:14988: checking for struct sockaddr" >&5
++echo "configure:17347: checking for struct sockaddr" >&5
+ echo $ECHO_N "checking for struct sockaddr... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 14994 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 17353 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -16582,29 +17365,30 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:15010: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:17370: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_type_$cv=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_type_$cv=no"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "configure:15020: result: $ac_foo" >&5
++echo "configure:17380: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo struct sockaddr | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "configure:15025: checking for struct sockaddr" >&5
++	echo "configure:17385: checking for struct sockaddr" >&5
+ echo $ECHO_N "checking for struct sockaddr... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_sockaddr+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 15031 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 17391 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -16617,17 +17401,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:15045: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:17406: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_sockaddr=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_struct_sockaddr=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:15054: result: $ac_cv_type_struct_sockaddr" >&5
++echo "configure:17415: result: $ac_cv_type_struct_sockaddr" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_sockaddr" >&6
+ if test $ac_cv_type_struct_sockaddr = yes; then
+ 
+@@ -16646,13 +17431,13 @@
+ fi
+ 
+ cv=`echo "struct sockaddr_storage" | sed 'y%./+- %__p__%'`
+-echo "configure:15067: checking for struct sockaddr_storage" >&5
++echo "configure:17434: checking for struct sockaddr_storage" >&5
+ echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 15073 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 17440 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -16667,29 +17452,30 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:15089: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:17457: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_type_$cv=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_type_$cv=no"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "configure:15099: result: $ac_foo" >&5
++echo "configure:17467: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo struct sockaddr_storage | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "configure:15104: checking for struct sockaddr_storage" >&5
++	echo "configure:17472: checking for struct sockaddr_storage" >&5
+ echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_sockaddr_storage+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 15110 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 17478 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -16702,17 +17488,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:15124: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:17493: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_sockaddr_storage=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_struct_sockaddr_storage=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:15133: result: $ac_cv_type_struct_sockaddr_storage" >&5
++echo "configure:17502: result: $ac_cv_type_struct_sockaddr_storage" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_sockaddr_storage" >&6
+ if test $ac_cv_type_struct_sockaddr_storage = yes; then
+ 
+@@ -16731,13 +17518,13 @@
+ fi
+ 
+ cv=`echo "struct addrinfo" | sed 'y%./+- %__p__%'`
+-echo "configure:15146: checking for struct addrinfo" >&5
++echo "configure:17521: checking for struct addrinfo" >&5
+ echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 15152 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 17527 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -16752,29 +17539,30 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:15168: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:17544: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_type_$cv=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_type_$cv=no"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "configure:15178: result: $ac_foo" >&5
++echo "configure:17554: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo struct addrinfo | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "configure:15183: checking for struct addrinfo" >&5
++	echo "configure:17559: checking for struct addrinfo" >&5
+ echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_addrinfo+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 15189 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 17565 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -16787,17 +17575,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:15203: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:17580: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_addrinfo=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_struct_addrinfo=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:15212: result: $ac_cv_type_struct_addrinfo" >&5
++echo "configure:17589: result: $ac_cv_type_struct_addrinfo" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_addrinfo" >&6
+ if test $ac_cv_type_struct_addrinfo = yes; then
+ 
+@@ -16815,7 +17604,7 @@
+ 
+ fi
+ 
+-echo "configure:15224: checking for struct winsize" >&5
++echo "configure:17607: checking for struct winsize" >&5
+ echo $ECHO_N "checking for struct winsize... $ECHO_C" >&6
+ if test "${ac_cv_struct_winsize+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -16823,12 +17612,12 @@
+ 
+ ac_cv_struct_winsize=no
+ for i in sys/termios.h sys/ioctl.h; do
+-cat >conftest.$ac_ext <<EOF
+-#line 15232 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 17616 "configure"
+ #include "confdefs.h"
+ #include <$i>
+ 
+-EOF
++_ACEOF
+ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+   egrep "struct[ 	]*winsize" >/dev/null 2>&1; then
+   ac_cv_struct_winsize=yes; break
+@@ -16845,14 +17634,14 @@
+ EOF
+ 
+ fi
+-echo "configure:15248: result: $ac_cv_struct_winsize" >&5
++echo "configure:17637: result: $ac_cv_struct_winsize" >&5
+ echo "${ECHO_T}$ac_cv_struct_winsize" >&6
+-cat >conftest.$ac_ext <<EOF
+-#line 15251 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 17640 "configure"
+ #include "confdefs.h"
+ #include <termios.h>
+ 
+-EOF
++_ACEOF
+ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+   egrep "ws_xpixel" >/dev/null 2>&1; then
+ 
+@@ -16863,12 +17652,12 @@
+ fi
+ rm -f conftest*
+ 
+-cat >conftest.$ac_ext <<EOF
+-#line 15263 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 17656 "configure"
+ #include "confdefs.h"
+ #include <termios.h>
+ 
+-EOF
++_ACEOF
+ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+   egrep "ws_ypixel" >/dev/null 2>&1; then
+ 
+@@ -16879,14 +17668,14 @@
+ fi
+ rm -f conftest*
+ 
+-echo "configure:15274: checking for struct spwd" >&5
++echo "configure:17671: checking for struct spwd" >&5
+ echo $ECHO_N "checking for struct spwd... $ECHO_C" >&6
+ if test "${ac_cv_struct_spwd+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-cat >conftest.$ac_ext <<EOF
+-#line 15280 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 17678 "configure"
+ #include "confdefs.h"
+ #include <pwd.h>
+ #ifdef HAVE_SHADOW_H
+@@ -16899,19 +17688,20 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:15294: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:17693: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_struct_spwd=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_struct_spwd=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ 
+ fi
+ 
+-echo "configure:15303: result: $ac_cv_struct_spwd" >&5
++echo "configure:17704: result: $ac_cv_struct_spwd" >&5
+ echo "${ECHO_T}$ac_cv_struct_spwd" >&6
+ 
+ if test "$ac_cv_struct_spwd" = "yes"; then
+@@ -16922,14 +17712,14 @@
+ 
+ fi
+ 
+-echo "configure:15310: checking for sa_len in struct sockaddr" >&5
++echo "configure:17715: checking for sa_len in struct sockaddr" >&5
+ echo $ECHO_N "checking for sa_len in struct sockaddr... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_sockaddr_sa_len+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-cat >conftest.$ac_ext <<EOF
+-#line 15316 "configure"
++cat >conftest.$ac_ext <<_ACEOF
++#line 17722 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #include <sys/socket.h>
+@@ -16940,17 +17730,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:15328: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:17735: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_sockaddr_sa_len=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_struct_sockaddr_sa_len=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:15337: result: $ac_cv_type_struct_sockaddr_sa_len" >&5
++echo "configure:17744: result: $ac_cv_type_struct_sockaddr_sa_len" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_sockaddr_sa_len" >&6
+ if test "$ac_cv_type_struct_sockaddr_sa_len" = yes; then
+ 	
+@@ -16965,14 +17756,14 @@
+ for i in int8_t int16_t int32_t int64_t \
+ 	u_int8_t u_int16_t u_int32_t u_int64_t \
+ 	uint8_t uint16_t uint32_t uint64_t; do
+-	echo "configure:15350: checking for $i" >&5
++	echo "configure:17759: checking for $i" >&5
+ echo $ECHO_N "checking for $i... $ECHO_C" >&6
+ 	
+ if eval "test \"\${ac_cv_type_$i+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 15357 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 17766 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_INTTYPES_H
+@@ -16999,15 +17790,16 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:15382: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:17795: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval ac_cv_type_$i=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval ac_cv_type_$i=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ 
+ 	eval ac_res=\$ac_cv_type_$i
+@@ -17018,11 +17810,17 @@
+ EOF
+ 
+ 	fi
+-	echo "configure:15398: result: $ac_res" >&5
++	echo "configure:17813: result: $ac_res" >&5
+ echo "${ECHO_T}$ac_res" >&6
+ done
+ 
+-echo "configure:15401: checking for MD4Init" >&5
++if test "$with_krb4" != "no"; then
++  DESLIBS="crypto des"
++else
++  DESLIBS="crypto"
++fi
++
++echo "configure:17823: checking for MD4Init" >&5
+ echo $ECHO_N "checking for MD4Init... $ECHO_C" >&6
+ if test "${ac_cv_funclib_MD4Init+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -17030,15 +17828,15 @@
+ 
+ if eval "test \"\$ac_cv_func_MD4Init\" != yes" ; then
+ 	ac_save_LIBS="$LIBS"
+-	for ac_lib in crypto des; do
++	for ac_lib in $DESLIBS; do
+ 		if test -n "$ac_lib"; then
+ 			ac_lib="-l$ac_lib"
+ 		else
+ 			ac_lib=""
+ 		fi
+ 		LIBS="$LIB_krb4 $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 15416 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 17839 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -17048,14 +17846,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:15426: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:17851: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_MD4Init=$ac_lib; else ac_cv_funclib_MD4Init=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_MD4Init=\${ac_cv_funclib_MD4Init-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -17070,13 +17869,13 @@
+ for ac_func in MD4Init
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:15444: checking for $ac_func" >&5
++echo "configure:17872: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 15450 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 17878 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -17105,17 +17904,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:15478: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:17909: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:15487: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:17918: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -17139,13 +17939,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:15507: result: yes" >&5
++	echo "configure:17942: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_MD4Init=no"
+ 	eval "LIB_MD4Init="
+-	echo "configure:15513: result: no" >&5
++	echo "configure:17948: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -17159,12 +17959,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:15525: result: yes, in $ac_res" >&5
++	echo "configure:17962: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "configure:15529: checking for MD4_Init" >&5
++echo "configure:17967: checking for MD4_Init" >&5
+ echo $ECHO_N "checking for MD4_Init... $ECHO_C" >&6
+ if test "${ac_cv_funclib_MD4_Init+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -17172,15 +17972,15 @@
+ 
+ if eval "test \"\$ac_cv_func_MD4_Init\" != yes" ; then
+ 	ac_save_LIBS="$LIBS"
+-	for ac_lib in crypto des; do
++	for ac_lib in $DESLIBS; do
+ 		if test -n "$ac_lib"; then
+ 			ac_lib="-l$ac_lib"
+ 		else
+ 			ac_lib=""
+ 		fi
+ 		LIBS="$LIB_krb4 $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 15544 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 17983 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -17190,14 +17990,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:15554: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:17995: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_MD4_Init=$ac_lib; else ac_cv_funclib_MD4_Init=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_MD4_Init=\${ac_cv_funclib_MD4_Init-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -17212,13 +18013,13 @@
+ for ac_func in MD4_Init
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:15572: checking for $ac_func" >&5
++echo "configure:18016: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 15578 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 18022 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -17247,17 +18048,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:15606: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:18053: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:15615: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:18062: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -17281,13 +18083,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:15635: result: yes" >&5
++	echo "configure:18086: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_MD4_Init=no"
+ 	eval "LIB_MD4_Init="
+-	echo "configure:15641: result: no" >&5
++	echo "configure:18092: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -17301,12 +18103,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:15653: result: yes, in $ac_res" >&5
++	echo "configure:18106: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "configure:15657: checking for MD5Init" >&5
++echo "configure:18111: checking for MD5Init" >&5
+ echo $ECHO_N "checking for MD5Init... $ECHO_C" >&6
+ if test "${ac_cv_funclib_MD5Init+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -17314,15 +18116,15 @@
+ 
+ if eval "test \"\$ac_cv_func_MD5Init\" != yes" ; then
+ 	ac_save_LIBS="$LIBS"
+-	for ac_lib in crypto des; do
++	for ac_lib in $DESLIBS; do
+ 		if test -n "$ac_lib"; then
+ 			ac_lib="-l$ac_lib"
+ 		else
+ 			ac_lib=""
+ 		fi
+ 		LIBS="$LIB_krb4 $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 15672 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 18127 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -17332,14 +18134,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:15682: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:18139: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_MD5Init=$ac_lib; else ac_cv_funclib_MD5Init=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_MD5Init=\${ac_cv_funclib_MD5Init-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -17354,13 +18157,13 @@
+ for ac_func in MD5Init
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:15700: checking for $ac_func" >&5
++echo "configure:18160: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 15706 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 18166 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -17389,17 +18192,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:15734: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:18197: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:15743: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:18206: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -17423,13 +18227,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:15763: result: yes" >&5
++	echo "configure:18230: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_MD5Init=no"
+ 	eval "LIB_MD5Init="
+-	echo "configure:15769: result: no" >&5
++	echo "configure:18236: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -17443,12 +18247,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:15781: result: yes, in $ac_res" >&5
++	echo "configure:18250: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "configure:15785: checking for MD5_Init" >&5
++echo "configure:18255: checking for MD5_Init" >&5
+ echo $ECHO_N "checking for MD5_Init... $ECHO_C" >&6
+ if test "${ac_cv_funclib_MD5_Init+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -17456,15 +18260,15 @@
+ 
+ if eval "test \"\$ac_cv_func_MD5_Init\" != yes" ; then
+ 	ac_save_LIBS="$LIBS"
+-	for ac_lib in crypto des; do
++	for ac_lib in $DESLIBS; do
+ 		if test -n "$ac_lib"; then
+ 			ac_lib="-l$ac_lib"
+ 		else
+ 			ac_lib=""
+ 		fi
+ 		LIBS="$LIB_krb4 $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 15800 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 18271 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -17474,14 +18278,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:15810: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:18283: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_MD5_Init=$ac_lib; else ac_cv_funclib_MD5_Init=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_MD5_Init=\${ac_cv_funclib_MD5_Init-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -17496,13 +18301,13 @@
+ for ac_func in MD5_Init
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:15828: checking for $ac_func" >&5
++echo "configure:18304: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 15834 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 18310 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -17531,17 +18336,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:15862: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:18341: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:15871: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:18350: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -17565,13 +18371,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:15891: result: yes" >&5
++	echo "configure:18374: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_MD5_Init=no"
+ 	eval "LIB_MD5_Init="
+-	echo "configure:15897: result: no" >&5
++	echo "configure:18380: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -17585,12 +18391,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:15909: result: yes, in $ac_res" >&5
++	echo "configure:18394: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "configure:15913: checking for SHA1Init" >&5
++echo "configure:18399: checking for SHA1Init" >&5
+ echo $ECHO_N "checking for SHA1Init... $ECHO_C" >&6
+ if test "${ac_cv_funclib_SHA1Init+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -17598,15 +18404,15 @@
+ 
+ if eval "test \"\$ac_cv_func_SHA1Init\" != yes" ; then
+ 	ac_save_LIBS="$LIBS"
+-	for ac_lib in crypto des; do
++	for ac_lib in $DESLIBS; do
+ 		if test -n "$ac_lib"; then
+ 			ac_lib="-l$ac_lib"
+ 		else
+ 			ac_lib=""
+ 		fi
+ 		LIBS="$LIB_krb4 $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 15928 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 18415 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -17616,14 +18422,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:15938: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:18427: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_SHA1Init=$ac_lib; else ac_cv_funclib_SHA1Init=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_SHA1Init=\${ac_cv_funclib_SHA1Init-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -17638,13 +18445,13 @@
+ for ac_func in SHA1Init
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:15956: checking for $ac_func" >&5
++echo "configure:18448: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 15962 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 18454 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -17673,17 +18480,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:15990: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:18485: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:15999: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:18494: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -17707,13 +18515,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:16019: result: yes" >&5
++	echo "configure:18518: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_SHA1Init=no"
+ 	eval "LIB_SHA1Init="
+-	echo "configure:16025: result: no" >&5
++	echo "configure:18524: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -17727,12 +18535,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:16037: result: yes, in $ac_res" >&5
++	echo "configure:18538: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "configure:16041: checking for SHA1_Init" >&5
++echo "configure:18543: checking for SHA1_Init" >&5
+ echo $ECHO_N "checking for SHA1_Init... $ECHO_C" >&6
+ if test "${ac_cv_funclib_SHA1_Init+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -17740,15 +18548,15 @@
+ 
+ if eval "test \"\$ac_cv_func_SHA1_Init\" != yes" ; then
+ 	ac_save_LIBS="$LIBS"
+-	for ac_lib in crypto des; do
++	for ac_lib in $DESLIBS; do
+ 		if test -n "$ac_lib"; then
+ 			ac_lib="-l$ac_lib"
+ 		else
+ 			ac_lib=""
+ 		fi
+ 		LIBS="$LIB_krb4 $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 16056 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 18559 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -17758,14 +18566,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:16066: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:18571: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_SHA1_Init=$ac_lib; else ac_cv_funclib_SHA1_Init=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_SHA1_Init=\${ac_cv_funclib_SHA1_Init-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -17780,13 +18589,13 @@
+ for ac_func in SHA1_Init
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:16084: checking for $ac_func" >&5
++echo "configure:18592: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 16090 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 18598 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -17815,17 +18624,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:16118: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:18629: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:16127: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:18638: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -17849,13 +18659,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:16147: result: yes" >&5
++	echo "configure:18662: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_SHA1_Init=no"
+ 	eval "LIB_SHA1_Init="
+-	echo "configure:16153: result: no" >&5
++	echo "configure:18668: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -17869,12 +18679,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:16165: result: yes, in $ac_res" >&5
++	echo "configure:18682: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "configure:16169: checking for des_cbc_encrypt" >&5
++echo "configure:18687: checking for des_cbc_encrypt" >&5
+ echo $ECHO_N "checking for des_cbc_encrypt... $ECHO_C" >&6
+ if test "${ac_cv_funclib_des_cbc_encrypt+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -17882,15 +18692,15 @@
+ 
+ if eval "test \"\$ac_cv_func_des_cbc_encrypt\" != yes" ; then
+ 	ac_save_LIBS="$LIBS"
+-	for ac_lib in crypto des; do
++	for ac_lib in $DESLIBS; do
+ 		if test -n "$ac_lib"; then
+ 			ac_lib="-l$ac_lib"
+ 		else
+ 			ac_lib=""
+ 		fi
+ 		LIBS="$LIB_krb4 $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 16184 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 18703 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -17900,14 +18710,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:16194: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:18715: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_des_cbc_encrypt=$ac_lib; else ac_cv_funclib_des_cbc_encrypt=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_des_cbc_encrypt=\${ac_cv_funclib_des_cbc_encrypt-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -17922,13 +18733,13 @@
+ for ac_func in des_cbc_encrypt
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:16212: checking for $ac_func" >&5
++echo "configure:18736: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 16218 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 18742 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -17957,17 +18768,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:16246: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:18773: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:16255: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:18782: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -17991,13 +18803,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:16275: result: yes" >&5
++	echo "configure:18806: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_des_cbc_encrypt=no"
+ 	eval "LIB_des_cbc_encrypt="
+-	echo "configure:16281: result: no" >&5
++	echo "configure:18812: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -18011,12 +18823,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:16293: result: yes, in $ac_res" >&5
++	echo "configure:18826: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "configure:16297: checking for RC4" >&5
++echo "configure:18831: checking for RC4" >&5
+ echo $ECHO_N "checking for RC4... $ECHO_C" >&6
+ if test "${ac_cv_funclib_RC4+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -18024,15 +18836,15 @@
+ 
+ if eval "test \"\$ac_cv_func_RC4\" != yes" ; then
+ 	ac_save_LIBS="$LIBS"
+-	for ac_lib in crypto des; do
++	for ac_lib in $DESLIBS; do
+ 		if test -n "$ac_lib"; then
+ 			ac_lib="-l$ac_lib"
+ 		else
+ 			ac_lib=""
+ 		fi
+ 		LIBS="$LIB_krb4 $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 16312 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 18847 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -18042,14 +18854,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:16322: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:18859: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_RC4=$ac_lib; else ac_cv_funclib_RC4=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_RC4=\${ac_cv_funclib_RC4-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -18064,13 +18877,13 @@
+ for ac_func in RC4
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:16340: checking for $ac_func" >&5
++echo "configure:18880: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 16346 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 18886 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -18099,17 +18912,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:16374: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:18917: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:16383: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:18926: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -18133,13 +18947,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:16403: result: yes" >&5
++	echo "configure:18950: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_RC4=no"
+ 	eval "LIB_RC4="
+-	echo "configure:16409: result: no" >&5
++	echo "configure:18956: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -18153,7 +18967,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:16421: result: yes, in $ac_res" >&5
++	echo "configure:18970: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -18164,13 +18978,21 @@
+ \( "$ac_cv_func_SHA1Init" = "yes" -o "$ac_cv_func_SHA1_Init" = "yes" \) -a \
+ "$ac_cv_func_RC4" = "yes"; then
+   DIR_des=''
+-  LIB_des="-rpath $krb4_libdir -L$krb4_libdir $ac_cv_funclib_MD4Init"
++  LIB_des=''
++  if test "$krb4_libdir" != ""; then
++    LIB_des="-rpath $krb4_libdir -L$krb4_libdir"
++  fi
++  if test "$ac_cv_func_MD4Init" = "yes"; then
++    LIB_des="$LIB_des $ac_cv_funclib_MD4Init"
++  else
++    LIB_des="$LIB_des $ac_cv_funclib_MD4_Init"
++  fi
+ else
+   DIR_des='des'
+   LIB_des='$(top_builddir)/lib/des/libdes.la'
+ fi
+ 
+-echo "configure:16436: checking for el_init" >&5
++echo "configure:18995: checking for el_init" >&5
+ echo $ECHO_N "checking for el_init... $ECHO_C" >&6
+ if test "${ac_cv_funclib_el_init+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -18185,8 +19007,8 @@
+ 			ac_lib=""
+ 		fi
+ 		LIBS=" $ac_lib $LIB_tgetent $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<EOF
+-#line 16451 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 19011 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -18196,14 +19018,15 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:16461: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:19023: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_el_init=$ac_lib; else ac_cv_funclib_el_init=yes; fi";break
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_el_init=\${ac_cv_funclib_el_init-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -18218,13 +19041,13 @@
+ for ac_func in el_init
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "configure:16479: checking for $ac_func" >&5
++echo "configure:19044: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 16485 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 19050 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -18253,17 +19076,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:16513: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:19081: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:16522: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:19090: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -18287,13 +19111,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "configure:16542: result: yes" >&5
++	echo "configure:19114: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_el_init=no"
+ 	eval "LIB_el_init="
+-	echo "configure:16548: result: no" >&5
++	echo "configure:19120: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -18307,20 +19131,20 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "configure:16560: result: yes, in $ac_res" >&5
++	echo "configure:19134: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+ if test "$ac_cv_func_el_init" = yes ; then
+-	echo "configure:16565: checking for four argument el_init" >&5
++	echo "configure:19140: checking for four argument el_init" >&5
+ echo $ECHO_N "checking for four argument el_init... $ECHO_C" >&6
+ if test "${ac_cv_func_el_init_four+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-		cat >conftest.$ac_ext <<EOF
+-#line 16571 "configure"
++		cat >conftest.$ac_ext <<_ACEOF
++#line 19147 "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
+ 			#include <histedit.h>
+@@ -18331,17 +19155,18 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:16583: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:19160: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_func_el_init_four=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_func_el_init_four=no
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "configure:16592: result: $ac_cv_func_el_init_four" >&5
++echo "configure:19169: result: $ac_cv_func_el_init_four" >&5
+ echo "${ECHO_T}$ac_cv_func_el_init_four" >&6
+ 	if test "$ac_cv_func_el_init_four" = yes; then
+ 		
+@@ -18359,8 +19184,10 @@
+ 	:
+ elif test "$ac_cv_func_el_init" = yes; then
+ 	ac_foo=yes
++	DIR_readline="editline"
+ 	LIB_readline="\$(top_builddir)/lib/editline/libel_compat.la $LIB_el_init"
+ else
++	DIR_readline="editline"
+ 	LIB_readline='$(top_builddir)/lib/editline/libeditline.la'
+ fi
+ 
+@@ -18371,15 +19198,66 @@
+   el_compat_TRUE='#'
+   el_compat_FALSE=
+ fi
+-if test "$readline_libdir"; then
+-	LIB_readline="-rpath $readline_libdir $LIB_readline"
+-fi
++#if test "$readline_libdir"; then
++#	LIB_readline="-rpath $readline_libdir $LIB_readline"
++#fi
+ LIB_readline="$LIB_readline \$(LIB_tgetent)"
+ 
+ cat >>confdefs.h <<\EOF
+ #define HAVE_READLINE 1
+ EOF
+ 
++ac_foo=no
++if test "$with_com_err" = yes; then
++	COMPILE_ET='compile_et'
++#elif test "$ac_cv_func_com_err" = yes; then
++#	COMPILE_ET='compile_et'
++else
++	COMPILE_ET='$(top_builddir)/lib/com_err/compile_et'
++	DIR_com_err="com_err"
++	LIB_com_err='$(top_builddir)/lib/com_err/libcom_err.la'
++fi
++
++if true; then
++#	!FIXME! why doesn't built in version of com_err work?
++	COMPILE_ET='$(top_builddir)/lib/com_err/compile_et'
++	DIR_com_err="com_err"
++	LIB_com_err='$(top_builddir)/lib/com_err/libcom_err.la'
++fi
++
++#if test "$com_err_libdir"; then
++#	LIB_com_err="-rpath $com_err_libdir $LIB_com_err"
++#fi
++
++cat >>confdefs.h <<\EOF
++#define HAVE_COM_ERR 1
++EOF
++
++ac_foo=no
++if test "$with_ss" = yes; then
++	LIB_sl="$LIB_ss"
++else
++	DIR_ss="sl"
++	LIB_sl='$(top_builddir)/lib/sl/libsl.la'
++	LIB_ss='$(top_builddir)/lib/sl/libss.la'
++	INCLUDE_ss='-I$(top_builddir)/include/sl'
++fi
++
++#if test "$ss_libdir"; then
++#	LIB_ss="-rpath $sl_libdir $LIB_ss"
++#fi
++
++if true; then
++#	!FIXME! why doesn't built in version of ss work?
++	LIB_sl='$(top_builddir)/lib/sl/libsl.la'
++	LIB_ss='$(top_builddir)/lib/sl/libss.la'
++	INCLUDE_ss='-I$(top_builddir)/include/ss'
++fi
++
++cat >>confdefs.h <<\EOF
++#define HAVE_SS 1
++EOF
++
+ cat >>confdefs.h <<\EOF
+ #define AUTHENTICATION 1
+ EOF
+@@ -18412,13 +19290,13 @@
+ #
+ # And also something wierd has happend with dec-osf1, fallback to bsd-ptys
+ 
+-echo "configure:16650: checking for getmsg" >&5
++echo "configure:19293: checking for getmsg" >&5
+ echo $ECHO_N "checking for getmsg... $ECHO_C" >&6
+ if test "${ac_cv_func_getmsg+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 16656 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 19299 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char getmsg (); below.  */
+@@ -18447,22 +19325,23 @@
+   ;
+   return 0;
+ }
+-EOF
+-if { (eval echo configure:16684: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:19330: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_func_getmsg=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_func_getmsg=no
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "configure:16693: result: $ac_cv_func_getmsg" >&5
++echo "configure:19339: result: $ac_cv_func_getmsg" >&5
+ echo "${ECHO_T}$ac_cv_func_getmsg" >&6
+ 
+ if test "$ac_cv_func_getmsg" = "yes"; then
+ 
+-echo "configure:16696: checking for working getmsg" >&5
++echo "configure:19344: checking for working getmsg" >&5
+ echo $ECHO_N "checking for working getmsg... $ECHO_C" >&6
+ if test "${ac_cv_func_getmsg_work+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -18470,8 +19349,8 @@
+   if test "$cross_compiling" = yes; then
+   ac_cv_func_getmsg_work=no
+ else
+-  cat >conftest.$ac_ext <<EOF
+-#line 16705 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 19353 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -18486,20 +19365,21 @@
+   return 0;
+ }
+ 
+-EOF
+-if { (eval echo configure:16718: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
+-   test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null; then
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo configure:19370: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
++   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
+   ac_cv_func_getmsg_work=yes
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_func_getmsg_work=no
+ fi
+-rm -f conftest*
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+ 
+ fi
+-echo "configure:16729: result: $ac_cv_func_getmsg_work" >&5
++echo "configure:19382: result: $ac_cv_func_getmsg_work" >&5
+ echo "${ECHO_T}$ac_cv_func_getmsg_work" >&6
+ test "$ac_cv_func_getmsg_work" = "yes" &&
+ 
+@@ -18510,7 +19390,7 @@
+ fi
+ 
+ if test "$ac_cv_func_getmsg_work" = yes; then
+-echo "configure:16737: checking for streamspty" >&5
++echo "configure:19393: checking for streamspty" >&5
+ echo $ECHO_N "checking for streamspty... $ECHO_C" >&6
+ case "$host" in
+ *-*-aix3*|*-*-sunos4*|*-*-osf*|*-*-hpux1[01]*)
+@@ -18520,7 +19400,7 @@
+ 	krb_cv_sys_streamspty=yes
+ 	;;
+ esac
+-echo "configure:16747: result: $krb_cv_sys_streamspty" >&5
++echo "configure:19403: result: $krb_cv_sys_streamspty" >&5
+ echo "${ECHO_T}$krb_cv_sys_streamspty" >&6
+ fi
+ if test "$krb_cv_sys_streamspty" = yes; then
+@@ -18531,7 +19411,7 @@
+ 
+ fi
+ 
+-echo "configure:16756: checking which authentication modules should be built" >&5
++echo "configure:19414: checking which authentication modules should be built" >&5
+ echo $ECHO_N "checking which authentication modules should be built... $ECHO_C" >&6
+ 
+ LIB_AUTH_SUBDIRS=
+@@ -18548,7 +19428,7 @@
+ *-*-irix[56]*) LIB_AUTH_SUBDIRS="$LIB_AUTH_SUBDIRS afskauthlib" ;;
+ esac
+ 
+-echo "configure:16768: result: $LIB_AUTH_SUBDIRS" >&5
++echo "configure:19431: result: $LIB_AUTH_SUBDIRS" >&5
+ echo "${ECHO_T}$LIB_AUTH_SUBDIRS" >&6
+ 
+ test "x$prefix" = xNONE && prefix=$ac_default_prefix
+@@ -18632,18 +19512,17 @@
+ 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.
++# scripts and configure runs, see configure's option --config-cache.
++# 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.
++# config.status only pays attention to the cache file if you give it
++# the --recheck option to rerun configure.
+ #
++# `ac_cv_env_foo' variables (set or unset) will be overriden when
++# loading this file, other *unset* `ac_cv_foo' will be assigned the
++# following values.
++
+ EOF
+ # The following way of writing the cache mishandles newlines in values,
+ # but we know of no workaround that is simple, portable, and efficient.
+@@ -18666,7 +19545,7 @@
+       ;;
+     esac;
+ } |
+-  sed 's/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/' >>confcache
++  sed '/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/' >>confcache
+ if cmp -s $cache_file confcache; then :; else
+   if test -w $cache_file; then
+     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
+@@ -18729,6 +19608,40 @@
+ # Compiler output produced by configure, useful for debugging
+ # configure, is in ./config.log if it exists.
+ 
++# Be Bourne compatible
++if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
++  emulate sh
++  NULLCMD=:
++elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
++  set -o posix
++fi
++
++# Support unset when possible.
++if (unset FOO) >/dev/null 2>&1; then
++  ac_unset=unset
++else
++  ac_unset=false
++fi
++
++# NLS nuisances.
++$ac_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
++$ac_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
++$ac_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
++$ac_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
++$ac_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
++$ac_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
++$ac_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
++$ac_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
++
++# IFS
++# We need space, tab and new line, in precisely that order.
++ac_nl='
++'
++IFS=" 	$ac_nl"
++
++# CDPATH.
++$ac_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
++
+ debug=false
+ me=`echo "$0" | sed 's,.*/,,'`
+ SHELL=${CONFIG_SHELL-/bin/sh}
+@@ -18758,7 +19671,7 @@
+ \`$me' instantiates files from templates according to the
+ current configuration.
+ 
+-Usage: $0 [OPTIONS] FILE...
++Usage: $0 [OPTIONS] [FILE]...
+ 
+   -h, --help       print this help, then exit
+   -V, --version    print version number, then exit
+@@ -18783,7 +19696,7 @@
+ 
+ cat >>$CONFIG_STATUS <<EOF
+ ac_cs_version="\\
+-$CONFIG_STATUS generated by autoconf version 2.14a.
++$CONFIG_STATUS generated by autoconf version 2.49b.
+ Configured on host `(hostname || uname -n) 2>/dev/null | sed 1q` by
+   `echo "$0 $ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`"
+ 
+@@ -18928,7 +19841,8 @@
+   test -n "$tmp" && test -d "$tmp"
+ }  ||
+ {
+-  tmp=$TMPDIR/cs$$-$RANDOM && (umask 077 && mkdir $tmp)
++  tmp=$TMPDIR/cs$$-$RANDOM
++  (umask 077 && mkdir $tmp)
+ } ||
+ {
+    echo "$me: cannot create a temporary directory in $TMPDIR" >&2
+@@ -18942,6 +19856,15 @@
+ # INIT-COMMANDS section.
+ #
+ 
++am_indx=1
++  for am_file in include/config.h; do
++    case " $CONFIG_HEADERS " in
++    *" $am_file "*)
++      echo timestamp > `echo $am_file | sed 's%:.*%%;s%[^/]*$%%'`stamp-h$am_indx
++      ;;
++    esac
++    am_indx=\`expr \$am_indx + 1\`
++  done
+ AMDEP="$AMDEP"
+ ac_aux_dir="$ac_aux_dir"
+ 
+@@ -18959,6 +19882,8 @@
+   # Protect against being on the right side of a sed subst in config.status.
+   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
+    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
++s,@COMPILE_ET@,$COMPILE_ET,;t t
++s,@LIB_sl@,$LIB_sl,;t t
+ s,@SHELL@,$SHELL,;t t
+ s,@exec_prefix@,$exec_prefix,;t t
+ s,@prefix@,$prefix,;t t
+@@ -18987,8 +19912,8 @@
+ s,@LIBS@,$LIBS,;t t
+ s,@CC@,$CC,;t t
+ s,@ac_ct_CC@,$ac_ct_CC,;t t
+-s,@EXEEXT@,$EXEEXT,;t t
+ s,@OBJEXT@,$OBJEXT,;t t
++s,@EXEEXT@,$EXEEXT,;t t
+ s,@CPP@,$CPP,;t t
+ s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
+ s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
+@@ -19022,10 +19947,8 @@
+ s,@LEXLIB@,$LEXLIB,;t t
+ s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
+ s,@RANLIB@,$RANLIB,;t t
+-s,@LN_S@,$LN_S,;t t
+ s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
+-s,@STRIP@,$STRIP,;t t
+-s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
++s,@LN_S@,$LN_S,;t t
+ s,@LIBTOOL@,$LIBTOOL,;t t
+ s,@WFLAGS@,$WFLAGS,;t t
+ s,@WFLAGS_NOUNUSED@,$WFLAGS_NOUNUSED,;t t
+@@ -19060,8 +19983,10 @@
+ s,@DIR_roken@,$DIR_roken,;t t
+ s,@LIB_roken@,$LIB_roken,;t t
+ s,@INCLUDES_roken@,$INCLUDES_roken,;t t
++s,@DIR_openldap@,$DIR_openldap,;t t
+ s,@INCLUDE_openldap@,$INCLUDE_openldap,;t t
+ s,@LIB_openldap@,$LIB_openldap,;t t
++s,@DIR_krb4@,$DIR_krb4,;t t
+ s,@INCLUDE_krb4@,$INCLUDE_krb4,;t t
+ s,@LIB_krb4@,$LIB_krb4,;t t
+ s,@EXTRA_LIB45@,$EXTRA_LIB45,;t t
+@@ -19089,8 +20014,16 @@
+ s,@CATMAN_TRUE@,$CATMAN_TRUE,;t t
+ s,@CATMAN_FALSE@,$CATMAN_FALSE,;t t
+ s,@CATMANEXT@,$CATMANEXT,;t t
++s,@DIR_readline@,$DIR_readline,;t t
+ s,@INCLUDE_readline@,$INCLUDE_readline,;t t
+ s,@LIB_readline@,$LIB_readline,;t t
++s,@DIR_com_err@,$DIR_com_err,;t t
++s,@INCLUDE_com_err@,$INCLUDE_com_err,;t t
++s,@LIB_com_err@,$LIB_com_err,;t t
++s,@DIR_ss@,$DIR_ss,;t t
++s,@INCLUDE_ss@,$INCLUDE_ss,;t t
++s,@LIB_ss@,$LIB_ss,;t t
++s,@DIR_hesiod@,$DIR_hesiod,;t t
+ s,@INCLUDE_hesiod@,$INCLUDE_hesiod,;t t
+ s,@LIB_hesiod@,$LIB_hesiod,;t t
+ s,@AIX_TRUE@,$AIX_TRUE,;t t
+@@ -19196,7 +20129,13 @@
+       X"$ac_file" : 'X\(//\)[^/]' \| \
+       X"$ac_file" : 'X\(//\)$' \| \
+       X"$ac_file" : 'X\(/\)' \| \
+-      .   : '\(.\)'`
++      .   : '\(.\)' 2>/dev/null ||
++echo "X"$ac_file"" | sed '
++	    /^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/p; q; }
++	    /^X\(\/\/\)[^/].*/{ s//\1/p; q; }
++	    /^X\(\/\/\)$/{ s//\1/p; q; }
++	    /^X\(\/\).*/{ s//\1/p; q; }
++	    s/.*/./p; q'`
+   if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
+     { case "$ac_dir" in
+   [\\/]* | ?:[\\/]* ) ac_incr_dir=;;
+@@ -19264,7 +20203,7 @@
+            { echo "configure: error: cannot find input file \\\`$f'" >&2; exit 1; }
+          fi;;
+       esac
+-    done`
++    done` || { (exit 1); exit; }
+ EOF
+ cat >>$CONFIG_STATUS <<EOF
+   sed "$ac_vpsub
+@@ -19344,7 +20283,7 @@
+            { echo "configure: error: cannot find input file \\\`$f'" >&2; exit 1; }
+          fi;;
+       esac
+-    done`
++    done` || { (exit 1); exit; }
+   # Remove the trailing spaces.
+   sed 's/[ 	]*$//' $ac_file_inputs >$tmp/in
+ 
+@@ -19460,7 +20399,13 @@
+       X"$ac_file" : 'X\(//\)[^/]' \| \
+       X"$ac_file" : 'X\(//\)$' \| \
+       X"$ac_file" : 'X\(/\)' \| \
+-      .   : '\(.\)'`
++      .   : '\(.\)' 2>/dev/null ||
++echo "X"$ac_file"" | sed '
++	    /^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/p; q; }
++	    /^X\(\/\/\)[^/].*/{ s//\1/p; q; }
++	    /^X\(\/\/\)$/{ s//\1/p; q; }
++	    /^X\(\/\).*/{ s//\1/p; q; }
++	    s/.*/./p; q'`
+       if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
+         { case "$ac_dir" in
+   [\\/]* | ?:[\\/]* ) ac_incr_dir=;;
+@@ -19492,7 +20437,7 @@
+   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
+ 
+   case $ac_dest in
+-    default-1 ) test -z "$CONFIG_HEADERS" || echo timestamp > include/stamp-h ;;
++    default-1 ) test -z "$CONFIG_HEADERS" || echo timestamp >	   include/stamp-h ;;
+     default-2 )
+ test x"$AMDEP" != x"" ||
+ for mf in $CONFIG_FILES; do
+diff -ruN heimdal-0.3d-old/doc/Makefile.in heimdal-0.3d/doc/Makefile.in
+--- heimdal-0.3d-old/doc/Makefile.in	Mon Dec 11 14:20:09 2000
++++ heimdal-0.3d/doc/Makefile.in	Tue Jan  9 10:36:55 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,11 +69,13 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+@@ -91,6 +94,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -101,7 +105,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -131,7 +134,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -173,6 +176,13 @@
+ LIB_openldap = @LIB_openldap@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
+ 
+ LEXLIB = @LEXLIB@
+ 
+diff -ruN heimdal-0.3d-old/include/Makefile.in heimdal-0.3d/include/Makefile.in
+--- heimdal-0.3d-old/include/Makefile.in	Mon Dec 11 14:19:43 2000
++++ heimdal-0.3d/include/Makefile.in	Tue Jan  9 10:36:41 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,11 +69,13 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+@@ -91,6 +94,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -101,7 +105,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -131,7 +134,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -174,6 +177,13 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+@@ -400,10 +410,11 @@
+ 	@set fnord $(MAKEFLAGS); amf=$$2; \
+ 	dot_seen=no; \
+ 	rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
+-	  rev="$$subdir $$rev"; \
+-	  if test "$$subdir" = "."; then dot_seen=yes; else :; fi; \
++	  if test "$$subdir" = "."; then :; else \
++	    rev="$$subdir $$rev"; \
++	  fi; \
+ 	done; \
+-	test "$$dot_seen" = "no" && rev=". $$rev"; \
++	rev="$$rev ."; \
+ 	target=`echo $@ | sed s/-recursive//`; \
+ 	for subdir in $$rev; do \
+ 	  echo "Making $$target in $$subdir"; \
+diff -ruN heimdal-0.3d-old/include/config.h.in heimdal-0.3d/include/config.h.in
+--- heimdal-0.3d-old/include/config.h.in	Mon Dec 11 14:23:03 2000
++++ heimdal-0.3d/include/config.h.in	Tue Jan  9 10:36:39 2001
+@@ -30,6 +30,9 @@
+ /* Define if realloc(NULL) doesn't work. */
+ #undef BROKEN_REALLOC
+ 
++/* Define if you have the com_err package. */
++#undef COM_ERR
++
+ /* Define if you want support for DCE/DFS PAG's. */
+ #undef DCE
+ 
+@@ -100,6 +103,9 @@
+ /* Define if you have the `chown' function. */
+ #undef HAVE_CHOWN
+ 
++/* Define if you have a com_err compatible library. */
++#undef HAVE_COM_ERR
++
+ /* Define if you have the <config.h> header file. */
+ #undef HAVE_CONFIG_H
+ 
+@@ -350,36 +356,6 @@
+ /* Define if you have the `krb_get_our_ip_for_realm' function. */
+ #undef HAVE_KRB_GET_OUR_IP_FOR_REALM
+ 
+-/* Define if you have the `bsd' library (-lbsd). */
+-#undef HAVE_LIBBSD
+-
+-/* Define if you have the `dnet' library (-ldnet). */
+-#undef HAVE_LIBDNET
+-
+-/* Define if you have the `dnet_stub' library (-ldnet_stub). */
+-#undef HAVE_LIBDNET_STUB
+-
+-/* Define if you have the `fl' library (-lfl). */
+-#undef HAVE_LIBFL
+-
+-/* Define if you have the `ICE' library (-lICE). */
+-#undef HAVE_LIBICE
+-
+-/* Define if you have the `ipc' library (-lipc). */
+-#undef HAVE_LIBIPC
+-
+-/* Define if you have the `l' library (-ll). */
+-#undef HAVE_LIBL
+-
+-/* Define if you have the `nsl' library (-lnsl). */
+-#undef HAVE_LIBNSL
+-
+-/* Define if you have the `posix' library (-lposix). */
+-#undef HAVE_LIBPOSIX
+-
+-/* Define if you have the `socket' library (-lsocket). */
+-#undef HAVE_LIBSOCKET
+-
+ /* Define if you have the <limits.h> header file. */
+ #undef HAVE_LIMITS_H
+ 
+@@ -458,6 +434,9 @@
+ /* Define if you have the <net/if.h> header file. */
+ #undef HAVE_NET_IF_H
+ 
++/* Define if you have the <openssl/crypto.h> header file. */
++#undef HAVE_OPENSSL_CRYPTO_H
++
+ /* define if your system declares optarg */
+ #undef HAVE_OPTARG_DECLARATION
+ 
+@@ -626,6 +605,9 @@
+ /* Define if the system has the type `socklen_t'. */
+ #undef HAVE_SOCKLEN_T
+ 
++/* Define if you have a ss compatible library. */
++#undef HAVE_SS
++
+ /* Define if you have the <standards.h> header file. */
+ #undef HAVE_STANDARDS_H
+ 
+@@ -1112,6 +1094,9 @@
+ 
+ /* Define as the return type of signal handlers (`int' or `void'). */
+ #undef RETSIGTYPE
++
++/* Define if you have the ss package. */
++#undef SS
+ 
+ /* Define if you have the ANSI C header files. */
+ #undef STDC_HEADERS
+diff -ruN heimdal-0.3d-old/include/kadm5/Makefile.in heimdal-0.3d/include/kadm5/Makefile.in
+--- heimdal-0.3d-old/include/kadm5/Makefile.in	Mon Dec 11 14:19:44 2000
++++ heimdal-0.3d/include/kadm5/Makefile.in	Tue Jan  9 10:36:41 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,11 +69,13 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+@@ -91,6 +94,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -101,7 +105,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -131,7 +134,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -173,6 +176,13 @@
+ LIB_openldap = @LIB_openldap@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
+ 
+ LEXLIB = @LEXLIB@
+ 
+diff -ruN heimdal-0.3d-old/kadmin/Makefile.in heimdal-0.3d/kadmin/Makefile.in
+--- heimdal-0.3d-old/kadmin/Makefile.in	Mon Dec 11 14:19:57 2000
++++ heimdal-0.3d/kadmin/Makefile.in	Tue Jan  9 10:36:48 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,11 +69,13 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+@@ -91,6 +94,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -101,7 +105,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -125,13 +128,13 @@
+ 
+ SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+ 
+-INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) $(INCLUDE_readline) $(INCLUDE_krb4) -I$(srcdir)/../lib/krb5
++INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) $(INCLUDE_readline) $(INCLUDE_krb4) $(INCLUDE_ss) -I$(srcdir)/../lib/krb5
+ 
+ AM_CFLAGS =  $(WFLAGS)
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -174,6 +177,13 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+@@ -246,7 +256,7 @@
+ kadmin_LDADD = \
+ 	$(top_builddir)/lib/kadm5/libkadm5clnt.la \
+ 	$(top_builddir)/lib/kadm5/libkadm5srv.la \
+-	$(top_builddir)/lib/sl/libsl.la \
++	$(LIB_ss) \
+ 	$(LIB_readline) \
+ 	$(COMMON_LDADD) \
+ 	$(LIB_dlopen)
+@@ -290,8 +300,8 @@
+ kadmin_OBJECTS =  $(am_kadmin_OBJECTS)
+ kadmin_DEPENDENCIES =  $(top_builddir)/lib/kadm5/libkadm5clnt.la \
+ $(top_builddir)/lib/kadm5/libkadm5srv.la \
+-$(top_builddir)/lib/sl/libsl.la $(top_builddir)/lib/hdb/libhdb.la \
+-$(top_builddir)/lib/krb5/libkrb5.la $(top_builddir)/lib/asn1/libasn1.la
++$(top_builddir)/lib/hdb/libhdb.la $(top_builddir)/lib/krb5/libkrb5.la \
++$(top_builddir)/lib/asn1/libasn1.la
+ kadmin_LDFLAGS = 
+ @KRB4_FALSE@am_kadmind_OBJECTS =  kadmind.$(OBJEXT) server.$(OBJEXT) \
+ @KRB4_FALSE@kadm_conn.$(OBJEXT)
+diff -ruN heimdal-0.3d-old/kdc/Makefile.in heimdal-0.3d/kdc/Makefile.in
+--- heimdal-0.3d-old/kdc/Makefile.in	Mon Dec 11 14:19:58 2000
++++ heimdal-0.3d/kdc/Makefile.in	Tue Jan  9 10:36:49 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,11 +69,13 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+@@ -91,6 +94,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -101,7 +105,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -131,7 +134,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -173,6 +176,13 @@
+ LIB_openldap = @LIB_openldap@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
+ 
+ LEXLIB = @LEXLIB@
+ 
+diff -ruN heimdal-0.3d-old/kpasswd/Makefile.in heimdal-0.3d/kpasswd/Makefile.in
+--- heimdal-0.3d-old/kpasswd/Makefile.in	Mon Dec 11 14:19:57 2000
++++ heimdal-0.3d/kpasswd/Makefile.in	Tue Jan  9 10:36:48 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,11 +69,13 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+@@ -91,6 +94,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -101,7 +105,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -131,7 +134,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -173,6 +176,13 @@
+ LIB_openldap = @LIB_openldap@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
+ 
+ LEXLIB = @LEXLIB@
+ 
+diff -ruN heimdal-0.3d-old/kuser/Makefile.in heimdal-0.3d/kuser/Makefile.in
+--- heimdal-0.3d-old/kuser/Makefile.in	Mon Dec 11 14:19:56 2000
++++ heimdal-0.3d/kuser/Makefile.in	Tue Jan  9 10:36:47 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,11 +69,13 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+@@ -91,6 +94,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -101,7 +105,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -131,7 +134,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -173,6 +176,13 @@
+ LIB_openldap = @LIB_openldap@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
+ 
+ LEXLIB = @LEXLIB@
+ 
+diff -ruN heimdal-0.3d-old/lib/45/Makefile.in heimdal-0.3d/lib/45/Makefile.in
+--- heimdal-0.3d-old/lib/45/Makefile.in	Mon Dec 11 14:19:44 2000
++++ heimdal-0.3d/lib/45/Makefile.in	Tue Jan  9 10:36:41 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,11 +69,13 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+@@ -91,6 +94,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -101,7 +105,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -131,7 +134,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -173,6 +176,13 @@
+ LIB_openldap = @LIB_openldap@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
+ 
+ LEXLIB = @LEXLIB@
+ 
+diff -ruN heimdal-0.3d-old/lib/Makefile.in heimdal-0.3d/lib/Makefile.in
+--- heimdal-0.3d-old/lib/Makefile.in	Mon Dec 11 14:19:44 2000
++++ heimdal-0.3d/lib/Makefile.in	Tue Jan  9 10:36:41 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,11 +69,13 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+@@ -91,6 +94,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -101,7 +105,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -131,7 +134,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -174,6 +177,13 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+@@ -190,7 +200,7 @@
+ @OTP_TRUE@dir_otp = @OTP_TRUE@otp
+ @DCE_TRUE@dir_dce = @DCE_TRUE@kdfs
+ 
+-SUBDIRS = @DIR_roken@ vers editline com_err sl asn1 @DIR_des@ krb5 \
++SUBDIRS = @DIR_roken@ vers @DIR_readline@ @DIR_com_err@ @DIR_ss@ asn1 @DIR_des@ krb5 \
+ 	kafs hdb kadm5 gssapi auth $(dir_45) $(dir_otp) $(dir_dce)
+ 
+ subdir = lib
+@@ -210,8 +220,8 @@
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+ GZIP_ENV = --best
+-DIST_SUBDIRS =  @DIR_roken@ vers editline com_err sl asn1 @DIR_des@ krb5 \
+-kafs hdb kadm5 gssapi auth 45 otp kdfs
++DIST_SUBDIRS =  @DIR_roken@ vers @DIR_readline@ @DIR_com_err@ @DIR_ss@ \
++asn1 @DIR_des@ krb5 kafs hdb kadm5 gssapi auth 45 otp kdfs
+ all: all-redirect
+ .SUFFIXES:
+ .SUFFIXES: .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .et .h .x
+@@ -256,10 +266,11 @@
+ 	@set fnord $(MAKEFLAGS); amf=$$2; \
+ 	dot_seen=no; \
+ 	rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
+-	  rev="$$subdir $$rev"; \
+-	  if test "$$subdir" = "."; then dot_seen=yes; else :; fi; \
++	  if test "$$subdir" = "."; then :; else \
++	    rev="$$subdir $$rev"; \
++	  fi; \
+ 	done; \
+-	test "$$dot_seen" = "no" && rev=". $$rev"; \
++	rev="$$rev ."; \
+ 	target=`echo $@ | sed s/-recursive//`; \
+ 	for subdir in $$rev; do \
+ 	  echo "Making $$target in $$subdir"; \
+diff -ruN heimdal-0.3d-old/lib/asn1/Makefile.in heimdal-0.3d/lib/asn1/Makefile.in
+--- heimdal-0.3d-old/lib/asn1/Makefile.in	Mon Dec 11 14:19:48 2000
++++ heimdal-0.3d/lib/asn1/Makefile.in	Tue Jan  9 10:36:42 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,11 +69,13 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+@@ -91,6 +94,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -101,7 +105,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -125,13 +128,13 @@
+ 
+ SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+ 
+-INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken)
++INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) $(INCLUDE_com_err)
+ 
+ AM_CFLAGS =  $(WFLAGS)
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -174,6 +177,13 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+@@ -270,12 +280,12 @@
+ 
+ 
+ asn1_compile_LDADD = \
+-	$(LIB_roken) $(LEXLIB)
++        $(LIB_roken) $(LEXLIB)
+ 
+ 
+ check_der_LDADD = \
+ 	libasn1.la \
+-	../com_err/libcom_err.la \
++	$(LIB_com_err) \
+ 	$(LIB_roken)
+ 
+ 
+@@ -334,11 +344,11 @@
+ asn1_compile_LDFLAGS = 
+ asn1_print_SOURCES = asn1_print.c
+ asn1_print_OBJECTS =  asn1_print.$(OBJEXT)
+-asn1_print_DEPENDENCIES =  libasn1.la ../com_err/libcom_err.la
++asn1_print_DEPENDENCIES =  libasn1.la
+ asn1_print_LDFLAGS = 
+ check_der_SOURCES = check-der.c
+ check_der_OBJECTS =  check-der.$(OBJEXT)
+-check_der_DEPENDENCIES =  libasn1.la ../com_err/libcom_err.la
++check_der_DEPENDENCIES =  libasn1.la
+ check_der_LDFLAGS = 
+ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+diff -ruN heimdal-0.3d-old/lib/auth/Makefile.in heimdal-0.3d/lib/auth/Makefile.in
+--- heimdal-0.3d-old/lib/auth/Makefile.in	Mon Dec 11 14:19:45 2000
++++ heimdal-0.3d/lib/auth/Makefile.in	Tue Jan  9 10:36:41 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,11 +69,13 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+@@ -91,6 +94,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -101,7 +105,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -131,7 +134,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -174,6 +177,13 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+@@ -249,10 +259,11 @@
+ 	@set fnord $(MAKEFLAGS); amf=$$2; \
+ 	dot_seen=no; \
+ 	rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
+-	  rev="$$subdir $$rev"; \
+-	  if test "$$subdir" = "."; then dot_seen=yes; else :; fi; \
++	  if test "$$subdir" = "."; then :; else \
++	    rev="$$subdir $$rev"; \
++	  fi; \
+ 	done; \
+-	test "$$dot_seen" = "no" && rev=". $$rev"; \
++	rev="$$rev ."; \
+ 	target=`echo $@ | sed s/-recursive//`; \
+ 	for subdir in $$rev; do \
+ 	  echo "Making $$target in $$subdir"; \
+diff -ruN heimdal-0.3d-old/lib/auth/afskauthlib/Makefile.in heimdal-0.3d/lib/auth/afskauthlib/Makefile.in
+--- heimdal-0.3d-old/lib/auth/afskauthlib/Makefile.in	Mon Dec 11 14:19:45 2000
++++ heimdal-0.3d/lib/auth/afskauthlib/Makefile.in	Tue Jan  9 10:36:42 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,11 +69,13 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+@@ -91,6 +94,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -101,7 +105,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -131,7 +134,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -173,6 +176,13 @@
+ LIB_openldap = @LIB_openldap@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
+ 
+ LEXLIB = @LEXLIB@
+ 
+diff -ruN heimdal-0.3d-old/lib/auth/pam/Makefile.in heimdal-0.3d/lib/auth/pam/Makefile.in
+--- heimdal-0.3d-old/lib/auth/pam/Makefile.in	Mon Dec 11 14:19:45 2000
++++ heimdal-0.3d/lib/auth/pam/Makefile.in	Tue Jan  9 10:36:42 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,11 +69,13 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+@@ -91,6 +94,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -101,7 +105,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -131,7 +134,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -173,6 +176,13 @@
+ LIB_openldap = @LIB_openldap@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
+ 
+ LEXLIB = @LEXLIB@
+ 
+diff -ruN heimdal-0.3d-old/lib/auth/sia/Makefile.in heimdal-0.3d/lib/auth/sia/Makefile.in
+--- heimdal-0.3d-old/lib/auth/sia/Makefile.in	Mon Dec 11 14:19:46 2000
++++ heimdal-0.3d/lib/auth/sia/Makefile.in	Tue Jan  9 10:36:42 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,11 +69,13 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+@@ -91,6 +94,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -101,7 +105,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+@@ -130,7 +133,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -173,6 +176,13 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+@@ -198,10 +208,7 @@
+ @KRB5_TRUE@	$(top_builddir)/lib/asn1/.libs/libasn1.a	\
+ @KRB5_TRUE@	$(LIB_krb4)					\
+ @KRB5_TRUE@	$(top_builddir)/lib/des/.libs/libdes.a		\
+-@KRB5_TRUE@	$(top_builddir)/lib/com_err/.libs/libcom_err.a	\
+-@KRB5_TRUE@	$(top_builddir)/lib/roken/.libs/libroken.a	\
+-@KRB5_TRUE@	$(LIB_getpwnam_r)				\
+-@KRB5_TRUE@	-lc
++@KRB5_TRUE@	@LIB_sl@
+ @KRB5_FALSE@L = @KRB5_FALSE@\
+ @KRB5_FALSE@	$(KAFS)						\
+ @KRB5_FALSE@	$(top_builddir)/lib/kadm/.libs/libkadm.a	\
+@@ -218,10 +225,7 @@
+ @KRB5_TRUE@	$(top_builddir)/lib/asn1/.libs/libasn1.so	\
+ @KRB5_TRUE@	$(LIB_krb4)					\
+ @KRB5_TRUE@	$(top_builddir)/lib/des/.libs/libdes.so		\
+-@KRB5_TRUE@	$(top_builddir)/lib/com_err/.libs/libcom_err.so	\
+-@KRB5_TRUE@	$(top_builddir)/lib/roken/.libs/libroken.so	\
+-@KRB5_TRUE@	$(LIB_getpwnam_r)				\
+-@KRB5_TRUE@	-lc
++@KRB5_TRUE@	@LIB_sl@
+ @KRB5_FALSE@L_shared = @KRB5_FALSE@\
+ @KRB5_FALSE@	$(KAFS_S)					\
+ @KRB5_FALSE@	$(top_builddir)/lib/kadm/.libs/libkadm.so	\
+@@ -509,6 +513,12 @@
+ 	  echo "$$dashes"; \
+ 	  test "$$failed" -eq 0; \
+ 	fi
++@KRB5_TRUE@	$(top_builddir)/lib/roken/.libs/libroken.a	\
++@KRB5_TRUE@	$(LIB_getpwnam_r)				\
++@KRB5_TRUE@	-lc
++@KRB5_TRUE@	$(top_builddir)/lib/roken/.libs/libroken.so	\
++@KRB5_TRUE@	$(LIB_getpwnam_r)				\
++@KRB5_TRUE@	-lc
+ 
+ libsia_krb5.so: $(OBJS)
+ 	@if test -f $(top_builddir)/lib/krb5/.libs/libkrb5.a; then \
+diff -ruN heimdal-0.3d-old/lib/com_err/Makefile.in heimdal-0.3d/lib/com_err/Makefile.in
+--- heimdal-0.3d-old/lib/com_err/Makefile.in	Mon Dec 11 14:19:48 2000
++++ heimdal-0.3d/lib/com_err/Makefile.in	Tue Jan  9 10:36:43 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,11 +69,13 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+@@ -91,6 +94,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -101,7 +105,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -131,7 +134,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -174,6 +177,13 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+@@ -433,6 +443,8 @@
+ check: check-am
+ installcheck-am:
+ installcheck: installcheck-am
++install-binPROGRAMS: install-libLTLIBRARIES
++
+ install-exec-am: install-libLTLIBRARIES install-binPROGRAMS
+ 	@$(NORMAL_INSTALL)
+ 	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+diff -ruN heimdal-0.3d-old/lib/des/Makefile.in heimdal-0.3d/lib/des/Makefile.in
+--- heimdal-0.3d-old/lib/des/Makefile.in	Mon Dec 11 14:19:49 2000
++++ heimdal-0.3d/lib/des/Makefile.in	Tue Jan  9 10:36:43 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,11 +69,13 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+@@ -91,6 +94,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -101,7 +105,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -131,7 +134,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -174,6 +177,13 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+@@ -605,6 +615,8 @@
+ check: check-am
+ installcheck-am:
+ installcheck: installcheck-am
++install-binPROGRAMS: install-libLTLIBRARIES
++
+ install-exec-am: install-libLTLIBRARIES install-binPROGRAMS
+ 	@$(NORMAL_INSTALL)
+ 	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+diff -ruN heimdal-0.3d-old/lib/editline/Makefile.in heimdal-0.3d/lib/editline/Makefile.in
+--- heimdal-0.3d-old/lib/editline/Makefile.in	Mon Dec 11 14:19:49 2000
++++ heimdal-0.3d/lib/editline/Makefile.in	Tue Jan  9 10:36:43 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,11 +69,13 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+@@ -91,6 +94,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -101,7 +105,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -131,7 +134,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -173,6 +176,13 @@
+ LIB_openldap = @LIB_openldap@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
+ 
+ LEXLIB = @LEXLIB@
+ 
+diff -ruN heimdal-0.3d-old/lib/gssapi/Makefile.in heimdal-0.3d/lib/gssapi/Makefile.in
+--- heimdal-0.3d-old/lib/gssapi/Makefile.in	Mon Dec 11 14:19:50 2000
++++ heimdal-0.3d/lib/gssapi/Makefile.in	Tue Jan  9 10:36:44 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,11 +69,13 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+@@ -91,6 +94,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -101,7 +105,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -131,7 +134,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -173,6 +176,13 @@
+ LIB_openldap = @LIB_openldap@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
+ 
+ LEXLIB = @LEXLIB@
+ 
+diff -ruN heimdal-0.3d-old/lib/hdb/Makefile.in heimdal-0.3d/lib/hdb/Makefile.in
+--- heimdal-0.3d-old/lib/hdb/Makefile.in	Mon Dec 11 14:19:50 2000
++++ heimdal-0.3d/lib/hdb/Makefile.in	Tue Jan  9 10:36:44 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,11 +69,13 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+@@ -91,6 +94,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -101,7 +105,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -131,7 +134,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -173,6 +176,13 @@
+ LIB_openldap = @LIB_openldap@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
+ 
+ LEXLIB = @LEXLIB@
+ 
+diff -ruN heimdal-0.3d-old/lib/kadm5/Makefile.in heimdal-0.3d/lib/kadm5/Makefile.in
+--- heimdal-0.3d-old/lib/kadm5/Makefile.in	Mon Dec 11 14:19:51 2000
++++ heimdal-0.3d/lib/kadm5/Makefile.in	Tue Jan  9 10:36:44 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,11 +69,13 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+@@ -91,6 +94,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -101,7 +105,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -131,7 +134,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -173,6 +176,13 @@
+ LIB_openldap = @LIB_openldap@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
+ 
+ LEXLIB = @LEXLIB@
+ 
+diff -ruN heimdal-0.3d-old/lib/kafs/Makefile.in heimdal-0.3d/lib/kafs/Makefile.in
+--- heimdal-0.3d-old/lib/kafs/Makefile.in	Mon Dec 11 14:19:52 2000
++++ heimdal-0.3d/lib/kafs/Makefile.in	Tue Jan  9 10:36:45 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,11 +69,13 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+@@ -91,6 +94,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -101,7 +105,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -131,7 +134,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -173,6 +176,13 @@
+ LIB_openldap = @LIB_openldap@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
+ 
+ LEXLIB = @LEXLIB@
+ 
+diff -ruN heimdal-0.3d-old/lib/kdfs/Makefile.in heimdal-0.3d/lib/kdfs/Makefile.in
+--- heimdal-0.3d-old/lib/kdfs/Makefile.in	Mon Dec 11 14:19:52 2000
++++ heimdal-0.3d/lib/kdfs/Makefile.in	Tue Jan  9 10:36:45 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,11 +69,13 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+@@ -91,6 +94,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -101,7 +105,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -131,7 +134,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -173,6 +176,13 @@
+ LIB_openldap = @LIB_openldap@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
+ 
+ LEXLIB = @LEXLIB@
+ 
+diff -ruN heimdal-0.3d-old/lib/krb5/Makefile.in heimdal-0.3d/lib/krb5/Makefile.in
+--- heimdal-0.3d-old/lib/krb5/Makefile.in	Mon Dec 11 14:19:53 2000
++++ heimdal-0.3d/lib/krb5/Makefile.in	Tue Jan  9 10:36:46 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,11 +69,13 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+@@ -91,6 +94,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -101,7 +105,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -125,13 +128,13 @@
+ 
+ SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+ 
+-INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) $(INCLUDE_krb4)
++INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) $(INCLUDE_com_err) $(INCLUDE_krb4)
+ 
+ AM_CFLAGS =  $(WFLAGS)
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -174,6 +177,13 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+@@ -204,7 +214,7 @@
+ 
+ 
+ libkrb5_la_LIBADD = \
+-	../com_err/error.lo ../com_err/com_err.lo \
++	$(LIB_com_err) \
+ 	$(KRB4LIB) \
+ 	$(LIB_des) \
+ 	$(top_builddir)/lib/asn1/libasn1.la \
+@@ -350,10 +360,10 @@
+ X_LIBS = @X_LIBS@
+ X_EXTRA_LIBS = @X_EXTRA_LIBS@
+ X_PRE_LIBS = @X_PRE_LIBS@
+-@KRB4_FALSE@libkrb5_la_DEPENDENCIES =  ../com_err/error.lo \
+-@KRB4_FALSE@../com_err/com_err.lo $(top_builddir)/lib/asn1/libasn1.la
+-@KRB4_TRUE@libkrb5_la_DEPENDENCIES =  ../com_err/error.lo \
+-@KRB4_TRUE@../com_err/com_err.lo $(top_builddir)/lib/asn1/libasn1.la
++@KRB4_FALSE@libkrb5_la_DEPENDENCIES =  \
++@KRB4_FALSE@$(top_builddir)/lib/asn1/libasn1.la
++@KRB4_TRUE@libkrb5_la_DEPENDENCIES =  \
++@KRB4_TRUE@$(top_builddir)/lib/asn1/libasn1.la
+ @KRB4_FALSE@am_libkrb5_la_OBJECTS =  acl.lo add_et_list.lo \
+ @KRB4_FALSE@addr_families.lo address.lo aname_to_localname.lo \
+ @KRB4_FALSE@appdefault.lo asn1_glue.lo auth_context.lo build_ap_req.lo \
+@@ -848,6 +858,8 @@
+ check: check-am
+ installcheck-am:
+ installcheck: installcheck-am
++install-binPROGRAMS: install-libLTLIBRARIES
++
+ install-exec-am: install-libLTLIBRARIES install-binPROGRAMS
+ 	@$(NORMAL_INSTALL)
+ 	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+diff -ruN heimdal-0.3d-old/lib/otp/Makefile.in heimdal-0.3d/lib/otp/Makefile.in
+--- heimdal-0.3d-old/lib/otp/Makefile.in	Mon Dec 11 14:19:54 2000
++++ heimdal-0.3d/lib/otp/Makefile.in	Tue Jan  9 10:36:46 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,11 +69,13 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+@@ -91,6 +94,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -101,7 +105,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -131,7 +134,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -173,6 +176,13 @@
+ LIB_openldap = @LIB_openldap@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
+ 
+ LEXLIB = @LEXLIB@
+ 
+diff -ruN heimdal-0.3d-old/lib/roken/Makefile.in heimdal-0.3d/lib/roken/Makefile.in
+--- heimdal-0.3d-old/lib/roken/Makefile.in	Mon Dec 11 14:23:10 2000
++++ heimdal-0.3d/lib/roken/Makefile.in	Tue Jan  9 10:36:46 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,11 +69,13 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+@@ -91,6 +94,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -101,7 +105,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -357,7 +360,7 @@
+ 
+ depcomp = 
+ DIST_COMMON =  $(include_HEADERS) ChangeLog Makefile.am Makefile.in \
+-acinclude.m4 getcap.c getcwd.c getnameinfo.c glob.c install-sh \
++acinclude.m4 getcap.c getnameinfo.c glob.c install-sh \
+ make-print-version.c missing mkinstalldirs
+ 
+ 
+diff -ruN heimdal-0.3d-old/lib/sl/Makefile.in heimdal-0.3d/lib/sl/Makefile.in
+--- heimdal-0.3d-old/lib/sl/Makefile.in	Mon Dec 11 14:19:55 2000
++++ heimdal-0.3d/lib/sl/Makefile.in	Tue Jan  9 10:36:47 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,11 +69,13 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+@@ -91,6 +94,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -101,7 +105,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -131,7 +134,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -174,6 +177,13 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+@@ -188,8 +198,6 @@
+ 
+ YFLAGS = -d
+ 
+-include_HEADERS = sl.h
+-
+ lib_LTLIBRARIES = libsl.la libss.la
+ libsl_la_LDFLAGS = -version-info 1:0:1
+ libss_la_LDFLAGS = -version-info 1:2:1
+@@ -215,7 +223,8 @@
+ EXTRA_mk_cmds_SOURCES = snprintf.c roken_rename.h
+ 
+ ssincludedir = $(includedir)/ss
+-ssinclude_HEADERS = ss.h
++buildssinclude = $(buildinclude)/ss
++ssinclude_HEADERS = sl.h ss.h
+ 
+ CLEANFILES = lex.c parse.c parse.h snprintf.c strtok_r.c
+ 
+@@ -259,11 +268,11 @@
+ LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+ DIST_SOURCES =  $(libsl_la_SOURCES) $(EXTRA_libsl_la_SOURCES) \
+ $(libss_la_SOURCES) $(mk_cmds_SOURCES) $(EXTRA_mk_cmds_SOURCES)
+-HEADERS =  $(include_HEADERS) $(ssinclude_HEADERS)
++HEADERS =  $(ssinclude_HEADERS)
+ 
+ depcomp = 
+-DIST_COMMON =  $(include_HEADERS) $(ssinclude_HEADERS) ChangeLog \
+-Makefile.am Makefile.in lex.c parse.c parse.h
++DIST_COMMON =  $(ssinclude_HEADERS) ChangeLog Makefile.am Makefile.in \
++lex.c parse.c parse.h
+ 
+ 
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+@@ -383,24 +392,6 @@
+ parse.h: parse.c
+ 
+ 
+-install-includeHEADERS: $(include_HEADERS)
+-	@$(NORMAL_INSTALL)
+-	$(mkinstalldirs) $(DESTDIR)$(includedir)
+-	@list='$(include_HEADERS)'; for p in $$list; do \
+-	  if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
+-	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
+-	  $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f; \
+-	done
+-
+-uninstall-includeHEADERS:
+-	@$(NORMAL_UNINSTALL)
+-	@list='$(include_HEADERS)'; for p in $$list; do \
+-	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " rm -f $(DESTDIR)$(includedir)/$$f"; \
+-	  rm -f $(DESTDIR)$(includedir)/$$f; \
+-	done
+-
+ install-ssincludeHEADERS: $(ssinclude_HEADERS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(ssincludedir)
+@@ -476,20 +467,21 @@
+ check: check-am
+ installcheck-am:
+ installcheck: installcheck-am
++install-binPROGRAMS: install-libLTLIBRARIES
++
+ install-exec-am: install-libLTLIBRARIES install-binPROGRAMS
+ 	@$(NORMAL_INSTALL)
+ 	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+ install-exec: install-exec-am
+ 
+-install-data-am: install-includeHEADERS install-ssincludeHEADERS \
+-		install-data-local
++install-data-am: install-ssincludeHEADERS install-data-local
+ install-data: install-data-am
+ 
+ install-am: all-am
+ 	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+ uninstall-am: uninstall-libLTLIBRARIES uninstall-binPROGRAMS \
+-		uninstall-includeHEADERS uninstall-ssincludeHEADERS
++		uninstall-ssincludeHEADERS
+ uninstall: uninstall-am
+ all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(HEADERS) all-local
+ all-redirect: all-am
+@@ -497,7 +489,7 @@
+ 	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+ installdirs:
+ 	$(mkinstalldirs)  $(DESTDIR)$(libdir) $(DESTDIR)$(bindir) \
+-		$(DESTDIR)$(includedir) $(DESTDIR)$(ssincludedir)
++		$(DESTDIR)$(ssincludedir)
+ 
+ 
+ mostlyclean-generic:
+@@ -547,9 +539,8 @@
+ mostlyclean-libtool distclean-libtool clean-libtool \
+ maintainer-clean-libtool mostlyclean-binPROGRAMS distclean-binPROGRAMS \
+ clean-binPROGRAMS maintainer-clean-binPROGRAMS uninstall-binPROGRAMS \
+-install-binPROGRAMS uninstall-includeHEADERS install-includeHEADERS \
+-uninstall-ssincludeHEADERS install-ssincludeHEADERS tags \
+-mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
++install-binPROGRAMS uninstall-ssincludeHEADERS install-ssincludeHEADERS \
++tags mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
+ distdir info-am info dvi-am dvi check-local check check-am \
+ installcheck-am installcheck install-exec-am install-exec \
+ install-data-local install-data-am install-data install-am install \
+@@ -685,6 +676,19 @@
+ 	  echo "$$dashes"; \
+ 	  test "$$failed" -eq 0; \
+ 	fi
++
++install-build-headers:: $(ssinclude_HEADERS)
++	@foo='$(ssinclude_HEADERS)'; \
++	for f in $$foo; do \
++		f=`basename $$f`; \
++		if test -f "$(srcdir)/$$f"; then file="$(srcdir)/$$f"; \
++		else file="$$f"; fi; \
++		if cmp -s  $$file $(buildssinclude)/$$f 2> /dev/null ; then \
++		: ; else \
++			echo "cp $$file $(buildssinclude)/$$f";\
++			cp $$file $(buildssinclude)/$$f; \
++		fi ; \
++	done
+ 
+ $(mk_cmds_OBJECTS): parse.h
+ 
+diff -ruN heimdal-0.3d-old/lib/vers/Makefile.in heimdal-0.3d/lib/vers/Makefile.in
+--- heimdal-0.3d-old/lib/vers/Makefile.in	Mon Dec 11 14:19:55 2000
++++ heimdal-0.3d/lib/vers/Makefile.in	Tue Jan  9 10:36:47 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,11 +69,13 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+@@ -91,6 +94,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -101,7 +105,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -131,7 +134,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -174,6 +177,13 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+@@ -189,7 +199,6 @@
+ CLEANFILES = print_version.h
+ 
+ noinst_LTLIBRARIES = libvers.la
+-libvers_la_LDFLAGS = -static
+ 
+ build_HEADERZ = vers.h
+ 
+@@ -212,6 +221,7 @@
+ X_LIBS = @X_LIBS@
+ X_EXTRA_LIBS = @X_EXTRA_LIBS@
+ X_PRE_LIBS = @X_PRE_LIBS@
++libvers_la_LDFLAGS = 
+ libvers_la_LIBADD = 
+ am_libvers_la_OBJECTS =  print_version.lo
+ libvers_la_OBJECTS =  $(am_libvers_la_OBJECTS)
+diff -ruN heimdal-0.3d-old/tools/Makefile.in heimdal-0.3d/tools/Makefile.in
+--- heimdal-0.3d-old/tools/Makefile.in	Mon Dec 11 14:20:09 2000
++++ heimdal-0.3d/tools/Makefile.in	Tue Jan  9 10:36:55 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,11 +69,13 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+@@ -91,6 +94,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -101,7 +105,6 @@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
+-STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS = @WFLAGS@
+@@ -131,7 +134,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -174,6 +177,13 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+@@ -513,6 +523,7 @@
+ 		-e "s,@includedir\@,$(includedir),g" \
+ 		-e "s,@LIB_crypt\@,$(LIB_crypt),g" \
+ 		-e "s,@LIB_dbopen\@,$(LIB_dbopen),g" \
++		-e "s,@LIB_des\@,$(LIB_des),g" \
+ 		-e "s,@LIBS\@,$(LIBS),g" \
+ 		$(srcdir)/krb5-config.in > $@
+ 	chmod +x $@
--- heimdal-0.6.3.orig/debian/patches-0.3e/001_replay_log
+++ heimdal-0.6.3/debian/patches-0.3e/001_replay_log
@@ -0,0 +1,94 @@
+From nobody Wed Feb 21 09:03:25 2001
+X-From-Line: maildir Tue Feb 20 05:53:57 2001
+Return-Path: <heimdal-discuss-owner@sics.se>
+Delivered-To: bam@snoopy.apana.org.au
+Received: from color.sics.se (color.sics.se [193.10.66.199])
+	by snoopy.apana.org.au (Postfix) with ESMTP id AEF2734409
+	for <bam@snoopy.apana.org.au>; Tue, 20 Feb 2001 05:53:16 +1100 (EST)
+Received: (from majordom@localhost)
+	by color.sics.se (8.9.3/8.9.3) id TAA17651
+        for heimdal-discuss-outgoing; Mon, 19 Feb 2001 19:13:02 +0100 (MET)
+	env-from (owner-heimdal-discuss@sics.se)
+Received: from blubb.pdc.kth.se (blubb.pdc.kth.se [130.237.221.147])
+	by color.sics.se (8.9.3/8.9.3) with ESMTP id TAA17639
+        for <heimdal-discuss@sics.se>; Mon, 19 Feb 2001 19:13:00 +0100 (MET)
+	env-from (joda@pdc.kth.se)
+Received: from joda by blubb.pdc.kth.se with local (Exim 3.13 #1)
+	id 14Uunz-0003Yx-00; Mon, 19 Feb 2001 19:12:59 +0100
+To: GOMBAS Gabor <gombasg@inf.elte.hu>
+Cc: heimdal-discuss@sics.se
+Subject: Re: Recovering from corrupted database
+References: <20010219173202.K50240@pandora.inf.elte.hu>
+	<xof8zn2a7cz.fsf@blubb.pdc.kth.se>
+From: joda@pdc.kth.se (Johan Danielsson)
+Date: 19 Feb 2001 19:12:59 +0100
+In-Reply-To: joda@pdc.kth.se's message of "19 Feb 2001 18:51:56 +0100"
+X-Gnus-Mail-Source: maildir:~/Maildir/new
+Message-ID: <xofvgq68rtg.fsf@blubb.pdc.kth.se>
+User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7
+MIME-Version: 1.0
+Content-Type: text/plain; charset=iso-8859-1
+Content-Transfer-Encoding: 8bit
+X-MIME-Autoconverted: from quoted-printable to 8bit by color.sics.se id TAA17640
+Sender: owner-heimdal-discuss@sics.se
+Precedence: bulk
+Lines: 57
+Xref: snoopy.apana.org.au heimdal.discuss:320
+
+joda@pdc.kth.se (Johan Danielsson) writes:
+
+> [...] but you'd still have to hack replay_log to ignore versions
+> older than that (we should fix this).
+
+Something like this.
+
+/Johan
+
+--- heimdal-0.3e/lib/kadm5/replay_log.c	1999/12/04 19:51:11	1.7
++++ heimdal-0.3e/lib/kadm5/replay_log.c	2001/02/19 18:10:43	1.8
+@@ -1,5 +1,5 @@
+ /*
+- * Copyright (c) 1997, 1998, 1999 Kungliga Tekniska Högskolan
++ * Copyright (c) 1997, 1998, 1999, 2001 Kungliga Tekniska Högskolan
+  * (Royal Institute of Technology, Stockholm, Sweden). 
+  * All rights reserved. 
+  *
+@@ -33,8 +33,11 @@
+ 
+ #include "iprop.h"
+ 
+-RCSID("$Id: replay_log.c,v 1.7 1999/12/04 19:51:11 assar Exp $");
++RCSID("$Id: replay_log.c,v 1.8 2001/02/19 18:10:43 joda Exp $");
+ 
++int start_version = -1;
++int end_version = -1;
++
+ static void
+ apply_entry(kadm5_server_context *server_context,
+ 	    u_int32_t ver,
+@@ -45,6 +48,12 @@
+ {
+     krb5_error_code ret;
+ 
++    if((start_version != -1 && ver < start_version) ||
++       (end_version != -1 && ver > end_version)) {
++	/* XXX skip this entry */
++	(*sp->seek)(sp, len, SEEK_CUR);
++	return;
++    }
+     printf ("ver %u... ", ver);
+     fflush (stdout);
+ 
+@@ -60,6 +69,8 @@
+ int version_flag;
+ int help_flag;
+ struct getargs args[] = {
++    { "start-version", 0, arg_integer, &start_version, "start replay with this version" },
++    { "end-version", 0, arg_integer, &end_version, "end replay with this version" },
+     { "version", 0, arg_flag, &version_flag },
+     { "help", 0, arg_flag, &help_flag }
+ };
+
+
+
+
--- heimdal-0.6.3.orig/debian/patches-0.3e/000_weakkey
+++ heimdal-0.6.3/debian/patches-0.3e/000_weakkey
@@ -0,0 +1,97 @@
+From nobody Sat Feb 17 13:52:39 2001
+X-From-Line: maildir Sat Feb 17 03:12:10 2001
+Return-Path: <heimdal-discuss-owner@sics.se>
+Delivered-To: bam@snoopy.apana.org.au
+Received: from color.sics.se (color.sics.se [193.10.66.199])
+	by snoopy.apana.org.au (Postfix) with ESMTP id 6219432E7F
+	for <bam@snoopy.apana.org.au>; Sat, 17 Feb 2001 03:11:43 +1100 (EST)
+Received: (from majordom@localhost)
+	by color.sics.se (8.9.3/8.9.3) id QAA06249
+        for heimdal-discuss-outgoing; Fri, 16 Feb 2001 16:30:33 +0100 (MET)
+	env-from (owner-heimdal-discuss@sics.se)
+Received: from assaris.sics.se (assaris.sics.se [193.10.66.234])
+	by color.sics.se (8.9.3/8.9.3) with ESMTP id QAA06243
+        for <heimdal-discuss@sics.se>; Fri, 16 Feb 2001 16:30:31 +0100 (MET)
+	env-from (assar@assaris.sics.se)
+Received: (from assar@localhost)
+	by assaris.sics.se (8.9.3/8.9.3) id QAA55487;
+	Fri, 16 Feb 2001 16:30:43 +0100 (CET)
+	(envelope-from assar)
+To: "Brandon S. Allbery KF8NH" <allbery@ece.cmu.edu>
+Cc: heimdal-discuss@sics.se
+Subject: Re: Weak key detection (was Re: OpenSSL patch for Heimdal 0.3d)
+References: <48060000.982281449@pyanfar.ece.cmu.edu>
+From: Assar Westerlund <assar@sics.se>
+Date: 16 Feb 2001 16:30:42 +0100
+In-Reply-To: "Brandon S. Allbery KF8NH"'s message of "Thu, 15 Feb 2001 18:57:30 -0500"
+X-Gnus-Mail-Source: maildir:~/Maildir/new
+Message-ID: <5litmay7a5.fsf@assaris.sics.se>
+User-Agent: Gnus/5.070098 (Pterodactyl Gnus v0.98) Emacs/20.6
+MIME-Version: 1.0
+Content-Type: multipart/mixed; boundary="=-=-="
+Sender: owner-heimdal-discuss@sics.se
+Precedence: bulk
+Lines: 61
+Xref: snoopy.apana.org.au heimdal.discuss:313
+
+
+--=-=-=
+
+"Brandon S. Allbery KF8NH" <allbery@ece.cmu.edu> writes:
+> Tangent:  Jeff Hutzelman just reminded me that he has found a problem with 
+> the weak key detection in kth-krb and heimdal.
+
+He sent me mail actually, and I've fixed it.  Patch follows.  And
+there's no reason to panic really, the probability of hiting these
+keys is very small, but of course the test should be done correctly.
+
+/assar
+
+
+--=-=-=
+Content-Disposition: attachment
+
+rsh: juguete.sics.se: Password has expired
+Index: set_key.c
+===================================================================
+RCS file: /afs/pdc.kth.se/src/packages/kth-krb/SourceRepository/lib/des/set_key.c,v
+retrieving revision 1.4
+retrieving revision 1.6
+diff -u -w -u -w -r1.4 -r1.6
+--- heimdal-0.3e/lib/des/set_key.c	1997/06/22 10:14:05	1.4
++++ heimdal-0.3e/lib/des/set_key.c	2001/02/16 15:26:37	1.6
+@@ -97,7 +97,7 @@
+ 	return(1);
+ 	}
+ 
+-/* Weak and semi week keys as take from
++/* Weak and semi week keys were originally as take from
+  * %A D.W. Davies
+  * %A W.L. Price
+  * %T Security for Computer Networks
+@@ -106,13 +106,18 @@
+  * Many thanks to smb@ulysses.att.com (Steven Bellovin) for the reference
+  * (and actual cblock values).
+  */
++
++/* The corrected values are from FIPS 74:
++ * http://www.itl.nist.gov/fipspubs/fip74.htm
++ */
++
+ #define NUM_WEAK_KEY	16
+ static des_cblock weak_keys[NUM_WEAK_KEY]={
+ 	/* weak keys */
+ 	{0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01},
+ 	{0xFE,0xFE,0xFE,0xFE,0xFE,0xFE,0xFE,0xFE},
+-	{0x1F,0x1F,0x1F,0x1F,0x1F,0x1F,0x1F,0x1F},
+-	{0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0},
++	{0x1F,0x1F,0x1F,0x1F,0x0E,0x0E,0x0E,0x0E},
++	{0xE0,0xE0,0xE0,0xE0,0xF1,0xF1,0xF1,0xF1},
+ 	/* semi-weak keys */
+ 	{0x01,0xFE,0x01,0xFE,0x01,0xFE,0x01,0xFE},
+ 	{0xFE,0x01,0xFE,0x01,0xFE,0x01,0xFE,0x01},
+
+--=-=-=--
+
+
+
--- heimdal-0.6.3.orig/debian/patches-0.3e/011_sharedlibs
+++ heimdal-0.6.3/debian/patches-0.3e/011_sharedlibs
@@ -0,0 +1,376 @@
+diff -ruN heimdal-0.3e-old/cf/Makefile.am.common heimdal-0.3e/cf/Makefile.am.common
+--- heimdal-0.3e-old/cf/Makefile.am.common	Tue Dec  5 20:11:09 2000
++++ heimdal-0.3e/cf/Makefile.am.common	Sat May 12 17:00:04 2001
+@@ -171,8 +171,7 @@
+ endif
+ 
+ if KRB5
+-LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
+-	$(top_builddir)/lib/asn1/libasn1.la
++LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
+ LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ endif
+ 
+diff -ruN heimdal-0.3e-old/cf/roken-frag.m4 heimdal-0.3e/cf/roken-frag.m4
+--- heimdal-0.3e-old/cf/roken-frag.m4	Sat Dec 16 01:29:54 2000
++++ heimdal-0.3e/cf/roken-frag.m4	Sat May 12 17:22:41 2001
+@@ -578,9 +578,9 @@
+ dnl moved to AC_OUTPUT in configure.in
+ dnl AC_CONFIG_FILES($1/Makefile)
+ 
+-LIB_roken="${LIB_roken} \$(LIB_crypt) \$(LIB_dbopen)"
++dnl LIB_roken="${LIB_roken} \$(LIB_crypt) \$(LIB_dbopen)"
+ 
+ AC_SUBST(DIR_roken)dnl
+ AC_SUBST(LIB_roken)dnl
+ AC_SUBST(INCLUDES_roken)dnl
+-])
+\ No newline at end of file
++])
+diff -ruN heimdal-0.3e-old/cf/roken.m4 heimdal-0.3e/cf/roken.m4
+--- heimdal-0.3e-old/cf/roken.m4	Sun Jul  9 01:50:34 2000
++++ heimdal-0.3e/cf/roken.m4	Sat May 12 16:30:55 2001
+@@ -56,7 +56,7 @@
+   CPPFLAGS_roken="-I$i/include"
+ fi
+ 
+-LIB_roken="${LIB_roken} \$(LIB_crypt) \$(LIB_dbopen)"
++dnl LIB_roken="${LIB_roken} \$(LIB_crypt) \$(LIB_dbopen)"
+ 
+ AC_SUBST(LIB_roken)dnl
+ AC_SUBST(DIR_roken)dnl
+diff -ruN heimdal-0.3e-old/configure.in heimdal-0.3e/configure.in
+--- heimdal-0.3e-old/configure.in	Mon Feb  5 18:58:05 2001
++++ heimdal-0.3e/configure.in	Thu May 17 17:01:34 2001
+@@ -83,7 +83,10 @@
+ 	LIB_openldap="-R $openldap_libdir $LIB_openldap"
+ fi
+ 
+-AC_TEST_PACKAGE_NEW(krb4,[#include <krb.h>],-lkrb,-ldes,/usr/athena, KRB4)
++AC_TEST_PACKAGE_NEW(krb4,[#include <krb.h>],-lkrb,-ldes,,KRB4)
++if test "$krb4_libdir" = "/usr/lib"; then
++  krb4_libdir="";
++fi
+ 
+ LIB_kdb=
+ if test "$with_krb4" != "no"; then
+@@ -153,9 +156,9 @@
+ 	LIBS="$save_LIBS"
+ 	CFLAGS="$save_CFLAGS"
+ 	LIB_kdb="-lkdb -lkrb"
+-	if test "$krb4_libdir"; then
+-		LIB_krb4="-R $krb4_libdir $LIB_krb4"
+-		LIB_kdb="-R $krb4_libdir -L$krb4_libdir $LIB_kdb"
++	if test "$krb4_libdir" != ""; then
++		LIB_krb4="-rpath $krb4_libdir $LIB_krb4"
++		LIB_kdb="-rpath $krb4_libdir -L$krb4_libdir $LIB_kdb"
+ 	fi
+ fi
+ AM_CONDITIONAL(KRB4, test "$with_krb4" != "no")
+diff -ruN heimdal-0.3e-old/lib/asn1/Makefile.am heimdal-0.3e/lib/asn1/Makefile.am
+--- heimdal-0.3e-old/lib/asn1/Makefile.am	Tue Jan 30 12:46:53 2001
++++ heimdal-0.3e/lib/asn1/Makefile.am	Sat May 12 18:50:28 2001
+@@ -5,7 +5,9 @@
+ YFLAGS = -d
+ 
+ lib_LTLIBRARIES = libasn1.la
+-libasn1_la_LDFLAGS = -version-info 4:0:2
++libasn1_la_LDFLAGS = -version-info 4:0:2 -no-undefined
++libasn1_la_LIBADD = \
++	$(top_builddir)/lib/com_err/libcom_err.la
+ 
+ BUILT_SOURCES =			\
+ 	$(gen_files:.x=.c)	\
+diff -ruN heimdal-0.3e-old/lib/auth/sia/Makefile.am heimdal-0.3e/lib/auth/sia/Makefile.am
+--- heimdal-0.3e-old/lib/auth/sia/Makefile.am	Tue Jan 30 09:38:36 2001
++++ heimdal-0.3e/lib/auth/sia/Makefile.am	Sat May 12 18:51:33 2001
+@@ -74,7 +74,7 @@
+ foodir = $(libdir)
+ foo_DATA = $(MOD)
+ 
+-LDFLAGS = -rpath $(libdir) -hidden -exported_symbol siad_\* 
++LDFLAGS = -rpath $(libdir) -hidden -exported_symbol siad_\*  -no-undefined
+ 
+ OBJS = sia.o posix_getpw.o
+ 
+diff -ruN heimdal-0.3e-old/lib/com_err/Makefile.am heimdal-0.3e/lib/com_err/Makefile.am
+--- heimdal-0.3e-old/lib/com_err/Makefile.am	Wed Aug 16 21:24:54 2000
++++ heimdal-0.3e/lib/com_err/Makefile.am	Sat May 12 18:51:37 2001
+@@ -5,7 +5,7 @@
+ YFLAGS = -d
+ 
+ lib_LTLIBRARIES = libcom_err.la
+-libcom_err_la_LDFLAGS = -version-info 1:1:0
++libcom_err_la_LDFLAGS = -version-info 1:1:0 -no-undefined
+ 
+ bin_PROGRAMS = compile_et
+ 
+diff -ruN heimdal-0.3e-old/lib/des/Makefile.am heimdal-0.3e/lib/des/Makefile.am
+--- heimdal-0.3e-old/lib/des/Makefile.am	Tue Jan 30 12:47:41 2001
++++ heimdal-0.3e/lib/des/Makefile.am	Sat May 12 18:51:43 2001
+@@ -3,7 +3,7 @@
+ include $(top_srcdir)/Makefile.am.common
+ 
+ lib_LTLIBRARIES = libdes.la
+-libdes_la_LDFLAGS = -version-info 3:0:0
++libdes_la_LDFLAGS = -version-info 3:0:0 -no-undefined
+ 
+ include_HEADERS = des.h md4.h md5.h sha.h rc4.h
+ 
+diff -ruN heimdal-0.3e-old/lib/editline/Makefile.am heimdal-0.3e/lib/editline/Makefile.am
+--- heimdal-0.3e-old/lib/editline/Makefile.am	Wed Nov 15 10:22:29 2000
++++ heimdal-0.3e/lib/editline/Makefile.am	Sun May 13 08:37:43 2001
+@@ -38,13 +38,13 @@
+ 	unix.h \
+ 	$(EXTRA_SOURCE)
+ 
+-libeditline_la_LDFLAGS = -static
++libeditline_la_LDFLAGS = -no-undefined
+ 
+ EXTRA_SOURCE = $(ES) 
+ 
+ libel_compat_la_SOURCES = edit_compat.c
+ 
+-libel_compat_la_LDFLAGS = -static
++libel_compat_la_LDFLAGS = -no-undefined
+ 
+ EXTRA_DIST = $(man_MANS)
+ 
+diff -ruN heimdal-0.3e-old/lib/gssapi/Makefile.am heimdal-0.3e/lib/gssapi/Makefile.am
+--- heimdal-0.3e-old/lib/gssapi/Makefile.am	Tue Jan 30 12:51:53 2001
++++ heimdal-0.3e/lib/gssapi/Makefile.am	Sat May 12 18:52:05 2001
+@@ -5,7 +5,11 @@
+ INCLUDES += -I$(srcdir)/../krb5 $(INCLUDE_krb4)
+ 
+ lib_LTLIBRARIES = libgssapi.la
+-libgssapi_la_LDFLAGS = -version-info 3:0:2
++libgssapi_la_LDFLAGS = -version-info 3:0:2 -no-undefined
++libgssapi_la_LIBADD = \
++	$(LIB_krb5) \
++	$(LIB_des) \
++	$(top_builddir)/lib/asn1/libasn1.la 
+ 
+ include_HEADERS = gssapi.h
+ 
+diff -ruN heimdal-0.3e-old/lib/hdb/Makefile.am heimdal-0.3e/lib/hdb/Makefile.am
+--- heimdal-0.3e-old/lib/hdb/Makefile.am	Tue Jan 30 12:49:16 2001
++++ heimdal-0.3e/lib/hdb/Makefile.am	Sat May 12 18:52:10 2001
+@@ -12,17 +12,18 @@
+ CLEANFILES = $(BUILT_SOURCES) $(foo) hdb_asn1.h asn1_files
+ 
+ noinst_PROGRAMS = convert_db
+-LDADD = libhdb.la \
++LDADD = libhdb.la
++
++lib_LTLIBRARIES = libhdb.la
++libhdb_la_LDFLAGS = -version-info 7:0:0 -no-undefined
++libhdb_la_LIBADD = \
+ 	$(LIB_openldap) \
+ 	../krb5/libkrb5.la \
+ 	../asn1/libasn1.la \
+-	$(LIB_des) \
+ 	$(LIB_roken) \
++	$(top_builddir)/lib/com_err/libcom_err.la \
+ 	$(DBLIB)
+ 
+-lib_LTLIBRARIES = libhdb.la
+-libhdb_la_LDFLAGS = -version-info 7:0:0
+-
+ libhdb_la_SOURCES =				\
+ 	common.c				\
+ 	db.c					\
+@@ -38,8 +39,6 @@
+ INCLUDES += $(INCLUDE_openldap)
+ 
+ include_HEADERS = hdb.h hdb_err.h hdb_asn1.h hdb-protos.h hdb-private.h
+-
+-libhdb_la_LIBADD = $(LIB_openldap)
+ 
+ $(libhdb_la_OBJECTS): $(srcdir)/hdb-protos.h $(srcdir)/hdb-private.h
+ 
+diff -ruN heimdal-0.3e-old/lib/kadm5/Makefile.am heimdal-0.3e/lib/kadm5/Makefile.am
+--- heimdal-0.3e-old/lib/kadm5/Makefile.am	Tue Jan 30 12:56:00 2001
++++ heimdal-0.3e/lib/kadm5/Makefile.am	Sat May 12 18:52:14 2001
+@@ -3,8 +3,21 @@
+ include $(top_srcdir)/Makefile.am.common
+ 
+ lib_LTLIBRARIES = libkadm5srv.la libkadm5clnt.la
+-libkadm5srv_la_LDFLAGS = -version-info 7:3:0
++libkadm5srv_la_LDFLAGS = -version-info 7:3:0 -no-undefined
++libkadm5srv_la_LIBADD = \
++	$(LIB_roken) \
++	$(LIB_krb5) \
++	$(top_builddir)/lib/com_err/libcom_err.la \
++	$(top_builddir)/lib/asn1/libasn1.la \
++	$(top_builddir)/lib/hdb/libhdb.la \
++	$(LIB_dlopen)
++
+ libkadm5clnt_la_LDFLAGS = -version-info 6:1:2
++libkadm5clnt_la_LIBADD = \
++	$(LIB_roken) \
++	$(LIB_krb5) \
++	$(top_builddir)/lib/com_err/libcom_err.la
++
+ sbin_PROGRAMS = dump_log replay_log truncate_log
+ 
+ libexec_PROGRAMS = ipropd-master ipropd-slave
+diff -ruN heimdal-0.3e-old/lib/kafs/Makefile.am heimdal-0.3e/lib/kafs/Makefile.am
+--- heimdal-0.3e-old/lib/kafs/Makefile.am	Mon Dec 11 11:44:50 2000
++++ heimdal-0.3e/lib/kafs/Makefile.am	Sat May 12 18:52:17 2001
+@@ -41,7 +41,7 @@
+ 
+ 
+ lib_LTLIBRARIES = $(AFSLIBS)
+-libkafs_la_LDFLAGS = -version-info 2:3:2
++libkafs_la_LDFLAGS = -version-info 2:3:2 -no-undefined
+ foodir = $(libdir)
+ foo_DATA = $(AFS_EXTRA_LIBS)
+ # EXTRA_DATA = afslib.so
+diff -ruN heimdal-0.3e-old/lib/kdfs/Makefile.am heimdal-0.3e/lib/kdfs/Makefile.am
+--- heimdal-0.3e-old/lib/kdfs/Makefile.am	Mon Dec 11 11:46:47 2000
++++ heimdal-0.3e/lib/kdfs/Makefile.am	Sat May 12 18:52:23 2001
+@@ -7,4 +7,4 @@
+ libkdfs_la_SOURCES = \
+ 	k5dfspag.c
+ 
+-libkdfs_la_LDFLAGS = -version-info 0:1:0
++libkdfs_la_LDFLAGS = -version-info 0:1:0 -no-undefined
+diff -ruN heimdal-0.3e-old/lib/krb5/Makefile.am heimdal-0.3e/lib/krb5/Makefile.am
+--- heimdal-0.3e-old/lib/krb5/Makefile.am	Tue Jan 30 12:50:52 2001
++++ heimdal-0.3e/lib/krb5/Makefile.am	Sat May 12 18:52:27 2001
+@@ -9,16 +9,15 @@
+ check_PROGRAMS = n-fold-test string-to-key-test
+ TESTS = n-fold-test string-to-key-test
+ 
+-LDADD = libkrb5.la \
+-	$(LIB_des) \
+-	$(top_builddir)/lib/asn1/libasn1.la \
+-	$(LIB_roken)
++LDADD = libkrb5.la
+ 
+ libkrb5_la_LIBADD = \
+-	../com_err/error.lo ../com_err/com_err.lo \
++	$(LIB_res_search) \
++	$(top_builddir)/lib/com_err/libcom_err.la \
+ 	$(LIB_des) \
+ 	$(top_builddir)/lib/asn1/libasn1.la \
+-	$(LIB_roken)
++	$(LIB_roken) \
++	$(LIB_dbopen)
+ 
+ lib_LTLIBRARIES = libkrb5.la
+ 
+@@ -119,7 +118,7 @@
+ 	write_message.c \
+ 	$(ERR_FILES)
+ 
+-libkrb5_la_LDFLAGS = -version-info 15:0:0
++libkrb5_la_LDFLAGS = -version-info 15:0:0 -no-undefined
+ 
+ $(libkrb5_la_OBJECTS): $(srcdir)/krb5-protos.h $(srcdir)/krb5-private.h
+ 
+diff -ruN heimdal-0.3e-old/lib/otp/Makefile.am heimdal-0.3e/lib/otp/Makefile.am
+--- heimdal-0.3e-old/lib/otp/Makefile.am	Tue Jan 30 12:54:48 2001
++++ heimdal-0.3e/lib/otp/Makefile.am	Sat May 12 18:52:31 2001
+@@ -6,15 +6,16 @@
+ 
+ noinst_PROGRAMS = otptest
+ 
+-otptest_LDADD = libotp.la \
+-	$(LIB_des) \
+-	$(LIB_roken) \
+-	$(DBLIB)
++otptest_LDADD = libotp.la
+ 
+ include_HEADERS = otp.h
+ 
+ lib_LTLIBRARIES = libotp.la
+-libotp_la_LDFLAGS = -version-info 1:2:1
++libotp_la_LDFLAGS = -version-info 1:2:1 -no-undefined
++libotp_la_LIBADD = \
++	$(LIB_roken) \
++	$(LIB_des) \
++	$(DBLIB)
+ 
+ libotp_la_SOURCES = \
+ 	otp.c \
+diff -ruN heimdal-0.3e-old/lib/roken/Makefile.am heimdal-0.3e/lib/roken/Makefile.am
+--- heimdal-0.3e-old/lib/roken/Makefile.am	Tue Jan 30 12:53:30 2001
++++ heimdal-0.3e/lib/roken/Makefile.am	Sat May 12 18:52:34 2001
+@@ -10,7 +10,12 @@
+ CLEANFILES = roken.h make-roken.c $(XHEADERS)
+ 
+ lib_LTLIBRARIES = libroken.la
+-libroken_la_LDFLAGS = -version-info 11:1:2
++libroken_la_LDFLAGS = -version-info 11:1:2 -no-undefined
++libroken_la_LIBADD = \
++	@LIB_res_search@ \
++	$(LIB_des) \
++	@LIB_dbopen@ \
++	@LTLIBOBJS@
+ 
+ noinst_PROGRAMS = make-roken
+ 
+@@ -149,8 +154,6 @@
+ 	writev.c
+ 
+ EXTRA_DIST = roken.awk roken.h.in
+-
+-libroken_la_LIBADD = @LTLIBOBJS@
+ 
+ $(LTLIBOBJS) $(libroken_la_OBJECTS): $(include_HEADERS) roken.h
+ 
+diff -ruN heimdal-0.3e-old/lib/sl/Makefile.am heimdal-0.3e/lib/sl/Makefile.am
+--- heimdal-0.3e-old/lib/sl/Makefile.am	Sat Jan 27 02:00:09 2001
++++ heimdal-0.3e/lib/sl/Makefile.am	Sat May 12 19:01:23 2001
+@@ -7,11 +7,11 @@
+ include_HEADERS = sl.h
+ 
+ lib_LTLIBRARIES = libsl.la libss.la
+-libsl_la_LDFLAGS = -version-info 1:1:1
+-libss_la_LDFLAGS = -version-info 1:3:1
++libsl_la_LDFLAGS = -version-info 1:1:1 -no-undefined
++libss_la_LDFLAGS = -version-info 1:3:1 -no-undefined
+ 
+-libsl_la_LIBADD = @LIB_readline@
+-libss_la_LIBADD = @LIB_readline@
++libsl_la_LIBADD = $(LIB_roken) @LIB_readline@
++libss_la_LIBADD = $(LIB_roken) @LIB_readline@
+ 
+ RENAME_SRC = roken_rename.h strtok_r.c snprintf.c
+ 
+diff -ruN heimdal-0.3e-old/lib/vers/Makefile.am heimdal-0.3e/lib/vers/Makefile.am
+--- heimdal-0.3e-old/lib/vers/Makefile.am	Wed Jan 31 14:50:48 2001
++++ heimdal-0.3e/lib/vers/Makefile.am	Sat May 12 18:53:25 2001
+@@ -19,6 +19,7 @@
+ endif
+ 
+ libvers_la_SOURCES	= print_version.c
++libvers_la_LDFLAGS	= -no-undefined
+ 
+ print_version.lo: print_version.h
+ 
+diff -ruN heimdal-0.3e-old/tools/krb5-config.in heimdal-0.3e/tools/krb5-config.in
+--- heimdal-0.3e-old/tools/krb5-config.in	Mon Jan 29 17:56:51 2001
++++ heimdal-0.3e/tools/krb5-config.in	Sat May 12 17:01:01 2001
+@@ -89,6 +89,9 @@
+ if test "$do_libs" = "yes"; then
+     lib_flags="-L${libdir}"
+     case $library in
++    krb5)
++	lib_flags="$lib_flags -lkrb5"
++	;;
+     gssapi)
+ 	lib_flags="$lib_flags -lgssapi"
+ 	;;
+@@ -99,8 +102,8 @@
+ 	lib_flags="$lib_flags -lkadm5srv"
+ 	;;
+     esac
+-    lib_flags="$lib_flags -lkrb5 -lasn1 @LIB_des_appl@ -lroken"
+-    lib_flags="$lib_flags @LIB_crypt@ @LIB_dbopen@ @LIBS@"
++#    lib_flags="$lib_flags -lkrb5 -lasn1 @LIB_des_appl@ -lroken"
++#    lib_flags="$lib_flags @LIB_crypt@ @LIB_dbopen@ @LIBS@"
+     echo $lib_flags
+ fi
+ if test "$do_cflags" = "yes"; then
--- heimdal-0.6.3.orig/debian/patches-0.3e/010_openssl
+++ heimdal-0.6.3/debian/patches-0.3e/010_openssl
@@ -0,0 +1,394 @@
+diff -ruN heimdal-0.3e-old/admin/ktutil_locl.h heimdal-0.3e/admin/ktutil_locl.h
+--- heimdal-0.3e-old/admin/ktutil_locl.h	Wed Jul 19 23:58:19 2000
++++ heimdal-0.3e/admin/ktutil_locl.h	Wed Feb  7 12:18:43 2001
+@@ -54,7 +54,11 @@
+ #include <parse_time.h>
+ #include <roken.h>
+ 
++#ifdef HAVE_OPENSSL_DES_H
++#include <openssl/des.h>
++#else
+ #include <des.h>
++#endif
+ 
+ #include <krb5.h>
+ #include <kadm5/admin.h>
+diff -ruN heimdal-0.3e-old/appl/ftp/ftp/ftp_locl.h heimdal-0.3e/appl/ftp/ftp/ftp_locl.h
+--- heimdal-0.3e-old/appl/ftp/ftp/ftp_locl.h	Fri Dec  3 03:58:29 1999
++++ heimdal-0.3e/appl/ftp/ftp/ftp_locl.h	Wed Feb  7 12:19:39 2001
+@@ -129,7 +129,11 @@
+ 
+ #include "roken.h"
+ #include "security.h"
+-#include <des.h> /* for des_read_pw_string */
++#ifdef HAVE_OPENSSL_DES_H
++#include <openssl/des.h>
++#else
++#include <des.h>
++#endif
+ 
+ #if defined(__sun__) && !defined(__svr4)
+ int fclose(FILE*);
+diff -ruN heimdal-0.3e-old/appl/kx/common.c heimdal-0.3e/appl/kx/common.c
+--- heimdal-0.3e-old/appl/kx/common.c	Wed Jan 17 21:09:16 2001
++++ heimdal-0.3e/appl/kx/common.c	Wed Feb  7 12:20:16 2001
+@@ -405,7 +405,7 @@
+      auth.name_length = strlen(auth.name);
+      auth.data_length = cookie_sz;
+      auth.data = (char*)cookie;
+-     des_rand_data (cookie, cookie_sz);
++     krb5_generate_random_block (cookie, cookie_sz);
+ 
+      strlcpy(xauthfile, "/tmp/AXXXXXX", xauthfile_size);
+      fd = mkstemp(xauthfile);
+diff -ruN heimdal-0.3e-old/appl/otp/otp_locl.h heimdal-0.3e/appl/otp/otp_locl.h
+--- heimdal-0.3e-old/appl/otp/otp_locl.h	Fri Dec  3 03:58:32 1999
++++ heimdal-0.3e/appl/otp/otp_locl.h	Wed Feb  7 12:20:53 2001
+@@ -52,5 +52,9 @@
+ #endif
+ #include <roken.h>
+ #include <err.h>
++#ifdef HAVE_OPENSSL_DES_H
++#include <openssl/des.h>
++#else
+ #include <des.h>
++#endif
+ #include <otp.h>
+diff -ruN heimdal-0.3e-old/appl/su/su.c heimdal-0.3e/appl/su/su.c
+--- heimdal-0.3e-old/appl/su/su.c	Sat Jan 27 03:02:49 2001
++++ heimdal-0.3e/appl/su/su.c	Wed Feb  7 12:21:30 2001
+@@ -50,7 +50,11 @@
+ 
+ #include <pwd.h>
+ 
++#ifdef HAVE_OPENSSL_DES_H
++#include <openssl/des.h>
++#else
+ #include <des.h>
++#endif
+ #include <krb5.h>
+ #include <kafs.h>
+ #include <err.h>
+diff -ruN heimdal-0.3e-old/appl/telnet/libtelnet/enc_des.c heimdal-0.3e/appl/telnet/libtelnet/enc_des.c
+--- heimdal-0.3e-old/appl/telnet/libtelnet/enc_des.c	Fri Jul 10 09:16:23 1998
++++ heimdal-0.3e/appl/telnet/libtelnet/enc_des.c	Wed Feb  7 12:23:14 2001
+@@ -50,8 +50,6 @@
+ #include "encrypt.h"
+ #include "misc-proto.h"
+ 
+-#include <des.h>
+-
+ extern int encrypt_debug_mode;
+ 
+ #define	CFB	0
+@@ -208,19 +206,7 @@
+ 		/*
+ 		 * Create a random feed and send it over.
+ 		 */
+-#ifndef OLD_DES_RANDOM_KEY
+ 		des_new_random_key(&fbp->temp_feed);
+-#else
+-		/*
+-		 * From des_cryp.man "If the des_check_key flag is non-zero,
+-		 *  des_set_key will check that the key passed is
+-		 *  of odd parity and is not a week or semi-weak key."
+-		 */
+-		do {
+-			des_random_key(fbp->temp_feed);
+-			des_set_odd_parity(fbp->temp_feed);
+-		} while (des_is_weak_key(fbp->temp_feed));
+-#endif
+ 		des_ecb_encrypt(&fbp->temp_feed,
+ 				&fbp->temp_feed,
+ 				fbp->krbdes_sched, 1);
+@@ -404,7 +390,7 @@
+ 	fb64_stream_key(fbp->krbdes_key, &fbp->streams[DIR_DECRYPT-1]);
+ 
+ 	if (fbp->once == 0) {
+-#ifndef OLD_DES_RANDOM_KEY
++#ifndef HAVE_OPENSSL_DES_H
+ 		des_init_random_number_generator(&fbp->krbdes_key);
+ #endif
+ 		fbp->once = 1;
+diff -ruN heimdal-0.3e-old/appl/telnet/libtelnet/encrypt.h heimdal-0.3e/appl/telnet/libtelnet/encrypt.h
+--- heimdal-0.3e-old/appl/telnet/libtelnet/encrypt.h	Sat Jan 25 10:10:56 1997
++++ heimdal-0.3e/appl/telnet/libtelnet/encrypt.h	Wed Feb  7 12:24:00 2001
+@@ -90,6 +90,13 @@
+ 
+ #define	SK_DES		1	/* Matched Kerberos v5 KEYTYPE_DES */
+ 
++#ifdef HAVE_OPENSSL_DES_H
++#include <openssl/des.h>
++#define des_new_random_key des_random_key
++#else
++#include <des.h>
++#endif
++
+ #include "enc-proto.h"
+ 
+ extern int encrypt_debug_mode;
+diff -ruN heimdal-0.3e-old/appl/telnet/libtelnet/kerberos.c heimdal-0.3e/appl/telnet/libtelnet/kerberos.c
+--- heimdal-0.3e-old/appl/telnet/libtelnet/kerberos.c	Thu Nov 23 13:28:06 2000
++++ heimdal-0.3e/appl/telnet/libtelnet/kerberos.c	Wed Feb  7 12:24:27 2001
+@@ -65,7 +65,6 @@
+ #include <arpa/telnet.h>
+ #endif
+ #include <stdio.h>
+-#include <des.h>	/* BSD wont include this in krb.h, so we do it here */
+ #include <krb.h>
+ #include <pwd.h>
+ #include <stdlib.h>
+diff -ruN heimdal-0.3e-old/appl/telnet/libtelnet/krb4encpwd.c heimdal-0.3e/appl/telnet/libtelnet/krb4encpwd.c
+--- heimdal-0.3e-old/appl/telnet/libtelnet/krb4encpwd.c	Fri Sep 17 06:41:34 1999
++++ heimdal-0.3e/appl/telnet/libtelnet/krb4encpwd.c	Wed Feb  7 12:24:43 2001
+@@ -74,7 +74,6 @@
+ #include <pwd.h>
+ #include <stdio.h>
+ 
+-#include <des.h>
+ #include <krb.h>
+ #include <stdlib.h>
+ #include <string.h>
+diff -ruN heimdal-0.3e-old/configure.in heimdal-0.3e/configure.in
+--- heimdal-0.3e-old/configure.in	Mon Feb  5 18:58:05 2001
++++ heimdal-0.3e/configure.in	Wed Feb  7 12:25:28 2001
+@@ -292,6 +292,7 @@
+ 	netinet/in_systm.h			\
+ 	netinet6/in6.h				\
+ 	netinfo/ni.h				\
++	openssl/crypto.h			\
+ 	paths.h					\
+ 	pthread.h				\
+ 	pty.h					\
+@@ -566,7 +567,10 @@
+ "$ac_cv_func_SHA1_Init" = "yes" -a \
+ "$ac_cv_func_RC4" = "yes"; then
+   DIR_des=''
+-  LIB_des="-R $krb4_libdir -L$krb4_libdir $ac_cv_funclib_MD4_Init"
++  if test "$krb4_libdir" != ""; then
++    LIB_des="-rpath $krb4_libdir -L$krb4_libdir"
++  fi
++  LIB_des="$LIB_des $ac_cv_funclib_MD4_Init"
+   LIB_des_appl="$LIB_des"
+ else
+   DIR_des='des'
+diff -ruN heimdal-0.3e-old/kadmin/kadmin_locl.h heimdal-0.3e/kadmin/kadmin_locl.h
+--- heimdal-0.3e-old/kadmin/kadmin_locl.h	Tue Sep 19 23:46:18 2000
++++ heimdal-0.3e/kadmin/kadmin_locl.h	Wed Feb  7 12:27:09 2001
+@@ -83,7 +83,11 @@
+ #endif
+ #include <err.h>
+ #include <roken.h>
++#ifdef HAVE_OPENSSL_DES_H
++#include <openssl/des.h>
++#else
+ #include <des.h>
++#endif
+ #include <krb5.h>
+ #include <krb5_locl.h>
+ #include <hdb.h>
+diff -ruN heimdal-0.3e-old/kadmin/random_password.c heimdal-0.3e/kadmin/random_password.c
+--- heimdal-0.3e-old/kadmin/random_password.c	Fri Dec  3 04:04:58 1999
++++ heimdal-0.3e/kadmin/random_password.c	Wed Feb  7 12:30:13 2001
+@@ -57,8 +57,9 @@
+ {
+ #ifdef OTP_STYLE
+     {
+-	des_cblock newkey;
++	OtpKey newkey;
+ 
++	krb5_generate_random_block(&newkey, sizeof(newkey));
+ 	des_new_random_key(&newkey);
+ 	otp_print_stddict (newkey, pw, len);
+ 	strlwr(pw);
+@@ -80,11 +81,11 @@
+ #ifndef OTP_STYLE
+ /* return a random value in range 0-127 */
+ static int
+-RND(des_cblock *key, int *left)
++RND(unsigned char *key, int keylen, int *left)
+ {
+     if(*left == 0){
+-	des_new_random_key(key);
+-	*left = 8;
++	krb5_generate_random_block(key, keylen);
++	*left = keylen;
+     }
+     (*left)--;
+     return ((unsigned char*)key)[*left];
+@@ -120,7 +121,7 @@
+     } *classes;
+     va_list ap;
+     int len, i;
+-    des_cblock rbuf; /* random buffer */
++    unsigned char rbuf[8]; /* random buffer */
+     int rleft = 0;
+ 
+     classes = malloc(num_classes * sizeof(*classes));
+@@ -138,11 +139,12 @@
+ 	return;
+     for(i = 0; i < len; i++) {
+ 	int j;
+-	int x = RND(&rbuf, &rleft) % (len - i);
++	int x = RND(rbuf, sizeof(rbuf), &rleft) % (len - i);
+ 	int t = 0;
+ 	for(j = 0; j < num_classes; j++) {
+ 	    if(x < t + classes[j].freq) {
+-		(*pw)[i] = classes[j].str[RND(&rbuf, &rleft) % classes[j].len];
++		(*pw)[i] = classes[j].str[RND(rbuf, sizeof(rbuf), &rleft) %
++		    classes[j].len];
+ 		classes[j].freq--;
+ 		break;
+ 	    }
+diff -ruN heimdal-0.3e-old/kdc/headers.h heimdal-0.3e/kdc/headers.h
+--- heimdal-0.3e-old/kdc/headers.h	Fri Aug  4 21:21:38 2000
++++ heimdal-0.3e/kdc/headers.h	Wed Feb  7 12:30:47 2001
+@@ -82,7 +82,11 @@
+ #include <getarg.h>
+ #include <base64.h>
+ #include <parse_units.h>
++#ifdef HAVE_OPENSSL_DES_H
++#include <openssl/des.h>
++#else
+ #include <des.h>
++#endif
+ #include <krb5.h>
+ #include <krb5_locl.h>
+ #include <hdb.h>
+diff -ruN heimdal-0.3e-old/kpasswd/kpasswd_locl.h heimdal-0.3e/kpasswd/kpasswd_locl.h
+--- heimdal-0.3e-old/kpasswd/kpasswd_locl.h	Fri Aug  4 21:22:51 2000
++++ heimdal-0.3e/kpasswd/kpasswd_locl.h	Wed Feb  7 12:31:32 2001
+@@ -95,7 +95,11 @@
+ #include <err.h>
+ #include <roken.h>
+ #include <getarg.h>
++#ifdef HAVE_OPENSSL_DES_H
++#include <openssl/des.h>
++#else
+ #include <des.h>
++#endif
+ #include <krb5.h>
+ 
+ #endif /* __KPASSWD_LOCL_H__ */
+diff -ruN heimdal-0.3e-old/lib/hdb/hdb_locl.h heimdal-0.3e/lib/hdb/hdb_locl.h
+--- heimdal-0.3e-old/lib/hdb/hdb_locl.h	Tue Nov 14 17:57:17 2000
++++ heimdal-0.3e/lib/hdb/hdb_locl.h	Wed Feb  7 12:32:11 2001
+@@ -56,7 +56,11 @@
+ #endif
+ #include <roken.h>
+ 
++#ifdef HAVE_OPENSSL_DES_H
++#include <openssl/des.h>
++#else
+ #include <des.h>
++#endif
+ #include <krb5.h>
+ #include <hdb.h>
+ #include <hdb-private.h>
+diff -ruN heimdal-0.3e-old/lib/hdb/mkey.c heimdal-0.3e/lib/hdb/mkey.c
+--- heimdal-0.3e-old/lib/hdb/mkey.c	Tue Jan 30 12:20:57 2001
++++ heimdal-0.3e/lib/hdb/mkey.c	Wed Feb  7 12:32:36 2001
+@@ -437,9 +437,6 @@
+     if (ret)
+ 	return ret;
+     db->master_key = mkey;
+-#if 0 /* XXX - why? */
+-    des_set_random_generator_seed(key.keyvalue.data);
+-#endif
+     db->master_key_set = 1;
+     return 0;
+ }
+diff -ruN heimdal-0.3e-old/lib/krb5/crypto.c heimdal-0.3e/lib/krb5/crypto.c
+--- heimdal-0.3e-old/lib/krb5/crypto.c	Wed Jan 31 04:10:55 2001
++++ heimdal-0.3e/lib/krb5/crypto.c	Wed Feb  7 12:38:11 2001
+@@ -2532,6 +2532,71 @@
+  *                                                          *
+  ************************************************************/
+ 
++#ifdef HAVE_OPENSSL_DES_H
++/* From openssl/crypto/rand/rand_lcl.h */
++#define ENTROPY_NEEDED 20
++static int seed_something(void)
++{
++    int fd = -1;
++    size_t len;
++    char buf[1024], seedfile[256];
++
++    /* If there is a seed file, load it. But such a file cannot be trusted,
++       so use 0 for the entropy estimate */
++    if (RAND_file_name(seedfile, sizeof(seedfile))) {
++	fd = open(seedfile, O_RDONLY);
++	if (fd >= 0) {
++	    read(fd, buf, sizeof(buf));
++	    /* Use the full buffer anyway */
++	    RAND_add(buf, sizeof(buf), 0.0);
++	}
++	else
++	    seedfile[0] = '\0';
++    }
++    else
++	seedfile[0] = '\0';
++
++    /* Calling RAND_status() will try to use /dev/urandom if it exists so
++       we do not have to deal with it. */
++    if (RAND_status() != 1) {
++	krb5_context context;
++	char *p;
++
++	/* Try using egd */
++	if (!krb5_init_context(&context)) {
++	    p = krb5_config_get_string(context, NULL, "libdefaults",
++		"egd_socket", NULL);
++	    if (p != NULL)
++		RAND_egd_bytes(p, ENTROPY_NEEDED);
++	    krb5_free_context(context);
++	}
++    }
++    
++    if (RAND_status() == 1)	{
++	/* Update the seed file */
++	if (seedfile[0])
++	    RAND_write_file(seedfile);
++
++	return 0;
++    }
++    else
++	return -1;
++}
++
++void
++krb5_generate_random_block(void *buf, size_t len)
++{
++    static int rng_initialized = 0;
++    
++    if (!rng_initialized) {
++	if (seed_something())
++	    krb5_abortx(NULL, "Fatal: could not seed the random number generator");
++	
++	rng_initialized = 1;
++    }
++    RAND_bytes(buf, len);
++}
++#else
+ void
+ krb5_generate_random_block(void *buf, size_t len)
+ {
+@@ -2557,6 +2622,7 @@
+ 	buf = (char*)buf + sizeof(out);
+     }
+ }
++#endif
+ 
+ static void
+ DES3_postproc(krb5_context context,
+diff -ruN heimdal-0.3e-old/lib/krb5/krb5_locl.h heimdal-0.3e/lib/krb5/krb5_locl.h
+--- heimdal-0.3e-old/lib/krb5/krb5_locl.h	Mon Jan 29 13:09:00 2001
++++ heimdal-0.3e/lib/krb5/krb5_locl.h	Wed Feb  7 12:33:59 2001
+@@ -111,6 +111,7 @@
+ 
+ #ifdef HAVE_OPENSSL_DES_H
+ #include <openssl/des.h>
++#define des_new_random_key des_random_key
+ #else
+ #include <des.h>
+ #endif
--- heimdal-0.6.3.orig/debian/patches-0.3e/012_sharedlibs
+++ heimdal-0.6.3/debian/patches-0.3e/012_sharedlibs
@@ -0,0 +1,390 @@
+diff -ruN heimdal-0.3e-old/admin/Makefile.am heimdal-0.3e/admin/Makefile.am
+--- heimdal-0.3e-old/admin/Makefile.am	Sat Dec 16 11:16:45 2000
++++ heimdal-0.3e/admin/Makefile.am	Sat Jun 16 14:21:55 2001
+@@ -2,7 +2,7 @@
+ 
+ include $(top_srcdir)/Makefile.am.common
+ 
+-INCLUDES += $(INCLUDE_readline)
++INCLUDES += $(INCLUDE_readline) $(INCLUDE_ss)
+ 
+ man_MANS = ktutil.8
+ 
+@@ -22,6 +22,6 @@
+ 	$(top_builddir)/lib/krb5/libkrb5.la \
+ 	$(LIB_des) \
+ 	$(top_builddir)/lib/asn1/libasn1.la \
+-	$(top_builddir)/lib/sl/libsl.la \
++	$(LIB_ss) \
+ 	$(LIB_readline) \
+ 	$(LIB_roken)
+diff -ruN heimdal-0.3e-old/admin/ktutil_locl.h heimdal-0.3e/admin/ktutil_locl.h
+--- heimdal-0.3e-old/admin/ktutil_locl.h	Sat Jun 16 14:21:54 2001
++++ heimdal-0.3e/admin/ktutil_locl.h	Sat Jun 16 14:21:55 2001
+@@ -64,7 +64,7 @@
+ #include <kadm5/admin.h>
+ #include <kadm5/kadm5_err.h>
+ 
+-#include <sl.h>
++#include <ss.h>
+ #include <getarg.h>
+ 
+ extern krb5_context context;
+diff -ruN heimdal-0.3e-old/cf/Makefile.am.common heimdal-0.3e/cf/Makefile.am.common
+--- heimdal-0.3e-old/cf/Makefile.am.common	Sat Jun 16 14:21:54 2001
++++ heimdal-0.3e/cf/Makefile.am.common	Sat Jun 16 14:21:55 2001
+@@ -10,7 +10,7 @@
+ 
+ CP	= cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ ## set build_HEADERZ to headers that should just be installed in build tree
+ 
+@@ -56,6 +56,13 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
++
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
+ 
+ LEXLIB = @LEXLIB@
+ 
+diff -ruN heimdal-0.3e-old/cf/krb-com_err.m4 heimdal-0.3e/cf/krb-com_err.m4
+--- heimdal-0.3e-old/cf/krb-com_err.m4	Thu Jan  1 10:00:00 1970
++++ heimdal-0.3e/cf/krb-com_err.m4	Sat Jun 16 14:21:55 2001
+@@ -0,0 +1,35 @@
++dnl
++dnl Tests for readline functions
++dnl
++
++dnl el_init
++
++AC_DEFUN(KRB_COM_ERR,[
++dnl com_err
++
++ac_foo=no
++if test "$with_com_err" = yes; then
++	COMPILE_ET='compile_et'
++#elif test "$ac_cv_func_com_err" = yes; then
++#	COMPILE_ET='compile_et'
++else
++	COMPILE_ET='$(top_builddir)/lib/com_err/compile_et'
++	DIR_com_err="com_err"
++	LIB_com_err='$(top_builddir)/lib/com_err/libcom_err.la'
++fi
++
++if true; then
++#	!FIXME! why doesn't built in version of com_err work?
++	COMPILE_ET='$(top_builddir)/lib/com_err/compile_et'
++	DIR_com_err="com_err"
++	LIB_com_err='$(top_builddir)/lib/com_err/libcom_err.la'
++fi
++
++#if test "$com_err_libdir"; then
++#	LIB_com_err="-rpath $com_err_libdir $LIB_com_err"
++#fi
++AC_DEFINE(HAVE_COM_ERR, 1, 
++	[Define if you have a com_err compatible library.])dnl
++
++])
++AC_SUBST(COMPILE_ET)
+diff -ruN heimdal-0.3e-old/cf/krb-readline.m4 heimdal-0.3e/cf/krb-readline.m4
+--- heimdal-0.3e-old/cf/krb-readline.m4	Wed Nov 15 11:47:08 2000
++++ heimdal-0.3e/cf/krb-readline.m4	Sat Jun 16 14:21:55 2001
+@@ -28,16 +28,18 @@
+ 	:
+ elif test "$ac_cv_func_el_init" = yes; then
+ 	ac_foo=yes
++	DIR_readline="editline"
+ 	LIB_readline="\$(top_builddir)/lib/editline/libel_compat.la $LIB_el_init"
+ else
++	DIR_readline="editline"
+ 	LIB_readline='$(top_builddir)/lib/editline/libeditline.la'
+ fi
+ AM_CONDITIONAL(el_compat, test "$ac_foo" = yes)
+-if test "$readline_libdir"; then
+-	LIB_readline="-rpath $readline_libdir $LIB_readline"
+-fi
++#if test "$readline_libdir"; then
++#	LIB_readline="-rpath $readline_libdir $LIB_readline"
++#fi
+ LIB_readline="$LIB_readline \$(LIB_tgetent)"
+ AC_DEFINE(HAVE_READLINE, 1, 
+ 	[Define if you have a readline compatible library.])dnl
+ 
+-])
+\ No newline at end of file
++])
+diff -ruN heimdal-0.3e-old/cf/krb-ss.m4 heimdal-0.3e/cf/krb-ss.m4
+--- heimdal-0.3e-old/cf/krb-ss.m4	Thu Jan  1 10:00:00 1970
++++ heimdal-0.3e/cf/krb-ss.m4	Sat Jun 16 14:23:47 2001
+@@ -0,0 +1,37 @@
++dnl
++dnl Tests for readline functions
++dnl
++
++dnl el_init
++
++AC_DEFUN(KRB_SS,[
++dnl com_err
++
++ac_foo=no
++if test "$with_ss" = yes; then
++	LIB_sl="$LIB_ss"
++else
++	DIR_ss="sl"
++	LIB_sl='$(top_builddir)/lib/sl/libsl.la'
++	LIB_ss='$(top_builddir)/lib/sl/libss.la'
++	INCLUDE_ss='-I$(top_builddir)/include/sl'
++fi
++
++
++#if test "$ss_libdir"; then
++#	LIB_ss="-rpath $sl_libdir $LIB_ss"
++#fi
++
++if true; then
++#	!FIXME! why doesn't built in version of ss work?
++	DIR_ss="sl"
++	LIB_sl='$(top_builddir)/lib/sl/libsl.la'
++	LIB_ss='$(top_builddir)/lib/sl/libss.la'
++	INCLUDE_ss='-I$(top_builddir)/include/ss'
++fi
++
++AC_DEFINE(HAVE_SS, 1, 
++	[Define if you have a ss compatible library.])dnl
++
++])
++AC_SUBST(LIB_sl)
+diff -ruN heimdal-0.3e-old/cf/test-package.m4 heimdal-0.3e/cf/test-package.m4
+--- heimdal-0.3e-old/cf/test-package.m4	Fri Dec 15 15:54:24 2000
++++ heimdal-0.3e/cf/test-package.m4	Sat Jun 16 14:21:56 2001
+@@ -2,7 +2,7 @@
+ dnl
+ dnl AC_TEST_PACKAGE_NEW(package,headers,libraries,extra libs,default locations, conditional)
+ 
+-AC_DEFUN(AC_TEST_PACKAGE,[AC_TEST_PACKAGE_NEW($1,[#include <$2>],$4,,$5)])
++AC_DEFUN(AC_TEST_PACKAGE,[MY_TEST_PACKAGE_NEW($1,[#include <$2>],$4,,$5)])
+ 
+ AC_DEFUN(AC_TEST_PACKAGE_NEW,[
+ AC_ARG_WITH($1,
+@@ -39,7 +39,7 @@
+ header_dirs=
+ lib_dirs=
+ d='$5'
+-for i in $d; do
++for i in $d /usr; do
+ 	header_dirs="$header_dirs $i/include"
+ 	lib_dirs="$lib_dirs $i/lib$abilibdirext"
+ done
+@@ -72,6 +72,7 @@
+ if test "$ires" -a "$lres" -a "$with_$1" != "no"; then
+ 	$1_includedir="$ires"
+ 	$1_libdir="$lres"
++	DIR_$1=
+ 	INCLUDE_$1="-I$$1_includedir"
+ 	LIB_$1="-L$$1_libdir $3"
+ 	m4_ifval([$6],
+@@ -80,6 +81,7 @@
+ 	with_$1=yes
+ 	AC_MSG_RESULT([headers $ires, libraries $lres])
+ else
++	DIR_$1="$1"
+ 	INCLUDE_$1=
+ 	LIB_$1=
+ 	with_$1=no
+@@ -88,6 +90,7 @@
+ dnl m4_ifval([$6],
+ dnl 	AM_CONDITIONAL($6, test "$with_$1" = yes)
+ dnl 	AM_CONDITIONAL(upcase($1), test "$with_$1" = yes))
++AC_SUBST(DIR_$1)
+ AC_SUBST(INCLUDE_$1)
+ AC_SUBST(LIB_$1)
+ ])
+diff -ruN heimdal-0.3e-old/configure.in heimdal-0.3e/configure.in
+--- heimdal-0.3e-old/configure.in	Sat Jun 16 14:21:54 2001
++++ heimdal-0.3e/configure.in	Sat Jun 16 14:21:56 2001
+@@ -231,6 +231,12 @@
+ [#include <stdio.h>
+  #include <readline.h>],-lreadline,,, READLINE)
+ 
++AC_TEST_PACKAGE_NEW(com_err,
++[#include <et/com_err.h>],-lcom_err,,, COM_ERR)
++
++AC_TEST_PACKAGE_NEW(ss,
++[#include <ss.h>],-lss,,, SS)
++
+ AC_TEST_PACKAGE_NEW(hesiod,[#include <hesiod.h>],-lhesiod,,, HESIOD)
+ 
+ KRB_C_BIGENDIAN
+@@ -585,6 +591,8 @@
+ AC_SUBST(LIB_des_appl)
+ 
+ KRB_READLINE
++KRB_COM_ERR
++KRB_SS
+ 
+ dnl telnet muck --------------------------------------------------
+ 
+diff -ruN heimdal-0.3e-old/include/ss/Makefile.am heimdal-0.3e/include/ss/Makefile.am
+--- heimdal-0.3e-old/include/ss/Makefile.am	Thu Jan  1 10:00:00 1970
++++ heimdal-0.3e/include/ss/Makefile.am	Sat Jun 16 14:21:56 2001
+@@ -0,0 +1,5 @@
++# $Id: Makefile.am,v 1.6 1999/03/20 13:58:17 joda Exp $
++
++include $(top_srcdir)/Makefile.am.common
++
++CLEANFILES = ss.h sl.h
+diff -ruN heimdal-0.3e-old/kadmin/Makefile.am heimdal-0.3e/kadmin/Makefile.am
+--- heimdal-0.3e-old/kadmin/Makefile.am	Thu Nov 16 09:51:12 2000
++++ heimdal-0.3e/kadmin/Makefile.am	Sat Jun 16 14:21:56 2001
+@@ -2,7 +2,7 @@
+ 
+ include $(top_srcdir)/Makefile.am.common
+ 
+-INCLUDES += $(INCLUDE_readline) $(INCLUDE_krb4) -I$(srcdir)/../lib/krb5
++INCLUDES += $(INCLUDE_readline) $(INCLUDE_krb4) $(INCLUDE_ss) -I$(srcdir)/../lib/krb5
+ 
+ sbin_PROGRAMS = kadmin
+ 
+@@ -62,7 +62,7 @@
+ kadmin_LDADD = \
+ 	$(top_builddir)/lib/kadm5/libkadm5clnt.la \
+ 	$(top_builddir)/lib/kadm5/libkadm5srv.la \
+-	$(top_builddir)/lib/sl/libsl.la \
++	$(LIB_ss) \
+ 	$(LIB_readline) \
+ 	$(COMMON_LDADD) \
+ 	$(LIB_dlopen)
+diff -ruN heimdal-0.3e-old/kadmin/kadmin.c heimdal-0.3e/kadmin/kadmin.c
+--- heimdal-0.3e-old/kadmin/kadmin.c	Sat Jan 27 09:20:52 2001
++++ heimdal-0.3e/kadmin/kadmin.c	Sat Jun 16 14:21:56 2001
+@@ -32,7 +32,7 @@
+  */
+ 
+ #include "kadmin_locl.h"
+-#include <sl.h>
++#include <ss.h>
+ 
+ RCSID("$Id: kadmin.c,v 1.34 2001/01/26 22:20:52 joda Exp $");
+ 
+diff -ruN heimdal-0.3e-old/lib/Makefile.am heimdal-0.3e/lib/Makefile.am
+--- heimdal-0.3e-old/lib/Makefile.am	Thu Nov 16 10:11:05 2000
++++ heimdal-0.3e/lib/Makefile.am	Sat Jun 16 14:21:56 2001
+@@ -12,5 +12,5 @@
+ dir_dce = kdfs
+ endif
+ 
+-SUBDIRS = @DIR_roken@ vers editline com_err sl asn1 @DIR_des@ krb5 \
++SUBDIRS = @DIR_roken@ vers @DIR_readline@ @DIR_com_err@ @DIR_ss@ asn1 @DIR_des@ krb5 \
+ 	kafs hdb kadm5 gssapi auth $(dir_45) $(dir_otp) $(dir_dce)
+diff -ruN heimdal-0.3e-old/lib/asn1/Makefile.am heimdal-0.3e/lib/asn1/Makefile.am
+--- heimdal-0.3e-old/lib/asn1/Makefile.am	Sat Jun 16 14:21:54 2001
++++ heimdal-0.3e/lib/asn1/Makefile.am	Sat Jun 16 14:21:56 2001
+@@ -2,6 +2,8 @@
+ 
+ include $(top_srcdir)/Makefile.am.common
+ 
++INCLUDES += $(INCLUDE_com_err)
++
+ YFLAGS = -d
+ 
+ lib_LTLIBRARIES = libasn1.la
+@@ -84,11 +86,11 @@
+ 	$(BUILT_SOURCES)
+ 
+ asn1_compile_LDADD = \
+-	$(LIB_roken) $(LEXLIB)
++        $(LIB_roken) $(LEXLIB)
+ 
+ check_der_LDADD = \
+ 	libasn1.la \
+-	../com_err/libcom_err.la \
++	$(LIB_com_err) \
+ 	$(LIB_roken)
+ 
+ asn1_print_LDADD = $(check_der_LDADD)
+diff -ruN heimdal-0.3e-old/lib/asn1/libasn1.h heimdal-0.3e/lib/asn1/libasn1.h
+--- heimdal-0.3e-old/lib/asn1/libasn1.h	Fri Dec  3 04:05:02 1999
++++ heimdal-0.3e/lib/asn1/libasn1.h	Sat Jun 16 14:21:56 2001
+@@ -47,4 +47,17 @@
+ #include "asn1_err.h"
+ #include <parse_units.h>
+ 
++#ifdef HACKED_AND_STUPID
++#define ASN1_BAD_TIMEFORMAT BAD_TIMEFORMAT
++#define ASN1_MISSING_FIELD MISSING_FIELD
++#define ASN1_MISPLACED_FIELD MISPLACED_FIELD
++#define ASN1_TYPE_MISMATCH TYPE_MISMATCH
++#define ASN1_OVERFLOW OVERFLOW
++#define ASN1_OVERRUN OVERRUN
++#define ASN1_BAD_ID BAD_ID
++#define ASN1_BAD_LENGTH BAD_LENGTH
++#define ASN1_BAD_FORMAT BAD_FORMAT
++#define ASN1_PARSE_ERROR PARSE_ERROR
++#endif
++
+ #endif /* __LIBASN1_H__ */
+diff -ruN heimdal-0.3e-old/lib/auth/sia/Makefile.am heimdal-0.3e/lib/auth/sia/Makefile.am
+--- heimdal-0.3e-old/lib/auth/sia/Makefile.am	Sat Jun 16 14:21:54 2001
++++ heimdal-0.3e/lib/auth/sia/Makefile.am	Sat Jun 16 14:21:56 2001
+@@ -24,7 +24,7 @@
+ 	$(top_builddir)/lib/asn1/.libs/libasn1.a	\
+ 	$(LIB_krb4)					\
+ 	$(top_builddir)/lib/des/.libs/libdes.a		\
+-	$(top_builddir)/lib/com_err/.libs/libcom_err.a	\
++	@LIB_sl@
+ 	$(top_builddir)/lib/roken/.libs/libroken.a	\
+ 	$(LIB_getpwnam_r)				\
+ 	-lc
+@@ -35,7 +35,7 @@
+ 	$(top_builddir)/lib/asn1/.libs/libasn1.so	\
+ 	$(LIB_krb4)					\
+ 	$(top_builddir)/lib/des/.libs/libdes.so		\
+-	$(top_builddir)/lib/com_err/.libs/libcom_err.so	\
++	@LIB_sl@
+ 	$(top_builddir)/lib/roken/.libs/libroken.so	\
+ 	$(LIB_getpwnam_r)				\
+ 	-lc
+diff -ruN heimdal-0.3e-old/lib/sl/Makefile.am heimdal-0.3e/lib/sl/Makefile.am
+--- heimdal-0.3e-old/lib/sl/Makefile.am	Sat Jun 16 14:21:54 2001
++++ heimdal-0.3e/lib/sl/Makefile.am	Sat Jun 16 14:21:56 2001
+@@ -4,8 +4,6 @@
+ 
+ YFLAGS = -d
+ 
+-include_HEADERS = sl.h
+-
+ lib_LTLIBRARIES = libsl.la libss.la
+ libsl_la_LDFLAGS = -version-info 1:1:1 -no-undefined
+ libss_la_LDFLAGS = -version-info 1:3:1 -no-undefined
+@@ -31,7 +29,21 @@
+ EXTRA_mk_cmds_SOURCES = snprintf.c roken_rename.h
+ 
+ ssincludedir = $(includedir)/ss
+-ssinclude_HEADERS = ss.h
++buildssinclude = $(buildinclude)/ss
++ssinclude_HEADERS = sl.h ss.h
++
++install-build-headers:: $(ssinclude_HEADERS)
++	@foo='$(ssinclude_HEADERS)'; \
++	for f in $$foo; do \
++		f=`basename $$f`; \
++		if test -f "$(srcdir)/$$f"; then file="$(srcdir)/$$f"; \
++		else file="$$f"; fi; \
++		if cmp -s  $$file $(buildssinclude)/$$f 2> /dev/null ; then \
++		: ; else \
++			echo "cp $$file $(buildssinclude)/$$f";\
++			cp $$file $(buildssinclude)/$$f; \
++		fi ; \
++	done
+ 
+ CLEANFILES = lex.c parse.c parse.h snprintf.c strtok_r.c
+ 
--- heimdal-0.6.3.orig/debian/patches-0.3e/013_maildir
+++ heimdal-0.6.3/debian/patches-0.3e/013_maildir
@@ -0,0 +1,40 @@
+Index: heimdal-0.3e/appl/popper/pop_pass.c
+===================================================================
+RCS file: /homes/bam/cvsroot/debian/heimdal/appl/popper/pop_pass.c,v
+retrieving revision 1.1.1.3
+retrieving revision 1.5
+diff -c -r1.1.1.3 -r1.5
+*** heimdal-0.3e/appl/popper/pop_pass.c 2000/05/19 05:23:42 1.1.1.3
+--- heimdal-0.3e/appl/popper/pop_pass.c	2000/05/19 05:33:06	1.5
+***************
+*** 197,203 ****
+  	    p->ipaddr, p->user);
+  
+      /*  Build the name of the user's maildrop */
+!     snprintf(p->drop_name, sizeof(p->drop_name), "%s/%s", POP_MAILDIR, p->user);
+  
+      if(stat(p->drop_name, &st) < 0 || !S_ISDIR(st.st_mode)){
+  	/*  Make a temporary copy of the user's maildrop */
+--- 197,218 ----
+  	    p->ipaddr, p->user);
+  
+      /*  Build the name of the user's maildrop */
+! 
+!     /* Try ~/Maildir */
+!     if (pw->pw_dir != NULL)
+! 	{
+!         snprintf(p->drop_name, sizeof(p->drop_name), "%s/%s", pw->pw_dir, "Maildir");
+! 	}
+!     if(pw->pw_dir != NULL && stat(p->drop_name, &st) < 0)
+! 	{
+!     	/* else try ~/Mailbox */
+! 	snprintf(p->drop_name, sizeof(p->drop_name), "%s/%s", pw->pw_dir, "Mailbox");
+! 	}
+!     if(pw->pw_dir == NULL || stat(p->drop_name, &st) < 0)
+! 	{
+!     	/* else try /var/spool/mail/userid */
+! 	snprintf(p->drop_name, sizeof(p->drop_name), "%s/%s", POP_MAILDIR, p->user);
+! 	}
+  
+      if(stat(p->drop_name, &st) < 0 || !S_ISDIR(st.st_mode)){
+  	/*  Make a temporary copy of the user's maildrop */
--- heimdal-0.6.3.orig/debian/patches-0.3e/014_cache
+++ heimdal-0.6.3/debian/patches-0.3e/014_cache
@@ -0,0 +1,63 @@
+--- heimdal-0.3e/lib/krb5/cache.c.orig-heimdal	Tue Nov 14 18:41:58 2000
++++ heimdal-0.3e/lib/krb5/cache.c	Tue Nov 14 19:02:07 2000
+@@ -89,11 +89,24 @@
+ {
+     krb5_error_code ret;
+     krb5_ccache p;
++    krb5_cc_ops *q;
+ 
+     p = malloc(sizeof(*p));
+     if(p == NULL)
+ 	return KRB5_CC_NOMEM;
+-    p->ops = ops;
++
++    q = malloc(sizeof(*q));
++    if(q == NULL)
++        return KRB5_CC_NOMEM;
++    memcpy(q, ops, sizeof(*q));
++    q->prefix = strdup(ops->prefix);
++    if(q->prefix == NULL)
++    {
++        free(q);
++        return KRB5_CC_NOMEM;
++    }
++    
++    p->ops = q;
+     *id = p;
+     ret = p->ops->resolve(context, id, residual);
+     if(ret)
+@@ -141,11 +154,24 @@
+ 		krb5_ccache *id)
+ {
+     krb5_ccache p;
++    krb5_cc_ops *q;
+ 
+     p = malloc (sizeof(*p));
+     if (p == NULL)
+ 	return KRB5_CC_NOMEM;
+-    p->ops = ops;
++
++    q = malloc(sizeof(*q));
++    if(q == NULL)
++        return KRB5_CC_NOMEM;
++    memcpy(q, ops, sizeof(*q));
++    q->prefix = strdup(ops->prefix);
++    if(q->prefix == NULL)
++    {
++        free(q);
++        return KRB5_CC_NOMEM;
++    }
++    
++    p->ops = q;
+     *id = p;
+     return p->ops->gen_new(context, id);
+ }
+@@ -248,6 +274,8 @@
+ {
+     krb5_error_code ret;
+     ret = id->ops->close(context, id);
++    free(id->ops->prefix);
++    free((krb5_cc_ops *)id->ops);
+     free(id);
+     return ret;
+ }
--- heimdal-0.6.3.orig/debian/patches-0.3e/015_ftp
+++ heimdal-0.6.3/debian/patches-0.3e/015_ftp
@@ -0,0 +1,25 @@
+diff -ruN heimdal-0.3e-old/appl/ftp/ftp/cmds.c heimdal-0.3e/appl/ftp/ftp/cmds.c
+--- heimdal-0.3e-old/appl/ftp/ftp/cmds.c	Tue Jul 18 20:00:31 2000
++++ heimdal-0.3e/appl/ftp/ftp/cmds.c	Wed Jan 10 13:29:04 2001
+@@ -81,7 +81,7 @@
+ setpeer(int argc, char **argv)
+ {
+ 	char *host;
+-	short port;
++	unsigned short port;
+ 	struct servent *sp;
+ 
+ 	if (connected) {
+@@ -103,12 +103,6 @@
+ 	port = sp->s_port;
+ 	if (argc > 2) {
+ 		port = atoi(argv[2]);
+-		if (port <= 0) {
+-			printf("%s: bad port number-- %s\n", argv[1], argv[2]);
+-			printf ("usage: %s host-name [port]\n", argv[0]);
+-			code = -1;
+-			return;
+-		}
+ 		port = htons(port);
+ 	}
+ 	host = hookup(argv[1], port);
--- heimdal-0.6.3.orig/debian/patches-0.3e/016_afs
+++ heimdal-0.6.3/debian/patches-0.3e/016_afs
@@ -0,0 +1,67 @@
+diff -ruN heimdal-0.3e-old/configure.in heimdal-0.3e/configure.in
+--- heimdal-0.3e-old/configure.in	Sat Jun 16 14:39:55 2001
++++ heimdal-0.3e/configure.in	Sat Jun 16 14:40:45 2001
+@@ -579,7 +579,7 @@
+   if test "$krb4_libdir" != ""; then
+     LIB_des="-rpath $krb4_libdir -L$krb4_libdir"
+   fi
+-  LIB_des="$LIB_des $ac_cv_funclib_MD4_Init"
++  LIB_des="$LIB_des -ldes $ac_cv_funclib_MD4_Init"
+   LIB_des_appl="$LIB_des"
+ else
+   DIR_des='des'
+diff -ruN heimdal-0.3e-old/kdc/kaserver.c heimdal-0.3e/kdc/kaserver.c
+--- heimdal-0.3e-old/kdc/kaserver.c	Mon Jan 29 08:51:05 2001
++++ heimdal-0.3e/kdc/kaserver.c	Sat Jun 16 14:39:56 2001
+@@ -37,7 +37,6 @@
+ 
+ #ifdef KASERVER
+ 
+-#include "kerberos4.h"
+ #include <rx.h>
+ 
+ #define KA_AUTHENTICATION_SERVICE 731
+@@ -406,8 +405,8 @@
+     snprintf (client_name, sizeof(client_name), "%s.%s@%s",
+ 	      name, instance, v4_realm);
+ 
+-    client_entry = db_fetch4 (name, instance, v4_realm);
+-    if (client_entry == NULL) {
++    ret = db_fetch4 (name, instance, v4_realm, &client_entry);
++    if (ret) {
+ 	kdc_log(0, "Client not found in database: %s",
+ 		client_name);
+ 	make_error_reply (hdr, KANOENT, reply);
+@@ -417,8 +416,8 @@
+     snprintf (server_name, sizeof(server_name), "%s.%s@%s",
+ 	      "krbtgt", v4_realm, v4_realm);
+ 
+-    server_entry = db_fetch4 ("krbtgt", v4_realm, v4_realm);
+-    if (server_entry == NULL) {
++    ret = db_fetch4 ("krbtgt", v4_realm, v4_realm, &server_entry);
++    if (ret) {
+ 	kdc_log(0, "Server not found in database: %s", server_name);
+ 	make_error_reply (hdr, KANOENT, reply);
+ 	goto out;
+@@ -599,8 +598,8 @@
+     snprintf (server_name, sizeof(server_name),
+ 	      "%s.%s@%s", name, instance, v4_realm);
+ 
+-    server_entry = db_fetch4 (name, instance, v4_realm);
+-    if (server_entry == NULL) {
++    ret = db_fetch4 (name, instance, v4_realm, &server_entry);
++    if (ret) {
+ 	kdc_log(0, "Server not found in database: %s", server_name);
+ 	make_error_reply (hdr, KANOENT, reply);
+ 	goto out;
+@@ -614,8 +613,8 @@
+ 	goto out;
+     }
+ 
+-    krbtgt_entry = db_fetch4 ("krbtgt", v4_realm, v4_realm);
+-    if (krbtgt_entry == NULL) {
++    ret = db_fetch4 ("krbtgt", v4_realm, v4_realm, &krbtgt_entry);
++    if (ret) {
+ 	kdc_log(0, "Server not found in database: %s.%s@%s",
+ 		"krbtgt", v4_realm, v4_realm);
+ 	make_error_reply (hdr, KANOENT, reply);
--- heimdal-0.6.3.orig/debian/patches-0.3e/021_debian
+++ heimdal-0.6.3/debian/patches-0.3e/021_debian
@@ -0,0 +1,50 @@
+Index: heimdal-0.3e/appl/telnet/telnetd/telnetd.h
+===================================================================
+RCS file: /homes/bam/cvsroot/debian/heimdal/appl/telnet/telnetd/telnetd.h,v
+retrieving revision 1.1.1.2
+retrieving revision 1.2
+diff -c -r1.1.1.2 -r1.2
+*** heimdal-0.3e/appl/telnet/telnetd/telnetd.h 1999/07/24 08:24:26 1.1.1.2
+--- appl/telnet/telnetd/telnetd.h	2000/01/06 09:22:48	1.2
+***************
+*** 193,199 ****
+  #endif
+  
+  #undef _PATH_LOGIN
+! #define _PATH_LOGIN	BINDIR "/login"
+  
+  /* fallbacks */
+  
+--- 193,199 ----
+  #endif
+  
+  #undef _PATH_LOGIN
+! #define _PATH_LOGIN	LIBEXECDIR "/login"
+  
+  /* fallbacks */
+  
+Index: heimdal-0.3e/lib/hdb/hdb.h
+===================================================================
+RCS file: /homes/bam/cvsroot/debian/heimdal/lib/hdb/hdb.h,v
+retrieving revision 1.1.1.4
+retrieving revision 1.3
+diff -c -r1.1.1.4 -r1.3
+*** heimdal-0.3e/lib/hdb/hdb.h 2000/07/31 03:16:43 1.1.1.4
+--- heimdal-0.3e/lib/hdb/hdb.h	2000/07/31 03:22:57	1.3
+***************
+*** 78,84 ****
+      krb5_error_code (*destroy)(krb5_context, struct HDB*);
+  }HDB;
+  
+! #define HDB_DB_DIR "/var/heimdal"
+  #define HDB_DEFAULT_DB HDB_DB_DIR "/heimdal"
+  #define HDB_DB_FORMAT_ENTRY "hdb/db-format"
+  
+--- 78,84 ----
+      krb5_error_code (*destroy)(krb5_context, struct HDB*);
+  }HDB;
+  
+! #define HDB_DB_DIR "/var/lib/heimdal-kdc"
+  #define HDB_DEFAULT_DB HDB_DB_DIR "/heimdal"
+  #define HDB_DB_FORMAT_ENTRY "hdb/db-format"
+  
--- heimdal-0.6.3.orig/debian/patches-0.3e/030_autotools
+++ heimdal-0.6.3/debian/patches-0.3e/030_autotools
@@ -0,0 +1,35858 @@
+diff -ruN heimdal-0.3e-old/Makefile.in heimdal-0.3e/Makefile.in
+--- heimdal-0.3e-old/Makefile.in	Mon Feb  5 18:58:14 2001
++++ heimdal-0.3e/Makefile.in	Sat Jun 16 15:14:45 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -92,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -132,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -175,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+@@ -234,17 +245,17 @@
+ 		cf/find-func.m4 cf/find-if-not-broken.m4 \
+ 		cf/grok-type.m4 cf/have-pragma-weak.m4 \
+ 		cf/have-struct-field.m4 cf/have-type.m4 \
+-		cf/have-types.m4 cf/krb-bigendian.m4 cf/krb-find-db.m4 \
+-		cf/krb-func-getcwd-broken.m4 cf/krb-func-getlogin.m4 \
+-		cf/krb-ipv6.m4 cf/krb-irix.m4 cf/krb-prog-ln-s.m4 \
+-		cf/krb-prog-ranlib.m4 cf/krb-prog-yacc.m4 \
+-		cf/krb-readline.m4 cf/krb-struct-spwd.m4 \
+-		cf/krb-struct-winsize.m4 cf/krb-sys-aix.m4 \
+-		cf/krb-sys-nextstep.m4 cf/krb-version.m4 cf/mips-abi.m4 \
+-		cf/misc.m4 cf/need-proto.m4 cf/osfc2.m4 \
+-		cf/proto-compat.m4 cf/retsigtype.m4 cf/roken-frag.m4 \
+-		cf/roken.m4 cf/shared-libs.m4 cf/test-package.m4 \
+-		cf/wflags.m4
++		cf/have-types.m4 cf/krb-bigendian.m4 cf/krb-com_err.m4 \
++		cf/krb-find-db.m4 cf/krb-func-getcwd-broken.m4 \
++		cf/krb-func-getlogin.m4 cf/krb-ipv6.m4 cf/krb-irix.m4 \
++		cf/krb-prog-ln-s.m4 cf/krb-prog-ranlib.m4 \
++		cf/krb-prog-yacc.m4 cf/krb-readline.m4 cf/krb-ss.m4 \
++		cf/krb-struct-spwd.m4 cf/krb-struct-winsize.m4 \
++		cf/krb-sys-aix.m4 cf/krb-sys-nextstep.m4 \
++		cf/krb-version.m4 cf/mips-abi.m4 cf/misc.m4 \
++		cf/need-proto.m4 cf/osfc2.m4 cf/proto-compat.m4 \
++		cf/retsigtype.m4 cf/roken-frag.m4 cf/roken.m4 \
++		cf/shared-libs.m4 cf/test-package.m4 cf/wflags.m4
+ 	cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
+ 
+ config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+@@ -285,10 +296,11 @@
+ 	@set fnord $(MAKEFLAGS); amf=$$2; \
+ 	dot_seen=no; \
+ 	rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
+-	  rev="$$subdir $$rev"; \
+-	  if test "$$subdir" = "."; then dot_seen=yes; else :; fi; \
++	  if test "$$subdir" = "."; then :; else \
++	    rev="$$subdir $$rev"; \
++	  fi; \
+ 	done; \
+-	test "$$dot_seen" = "no" && rev=". $$rev"; \
++	rev="$$rev ."; \
+ 	target=`echo $@ | sed s/-recursive//`; \
+ 	for subdir in $$rev; do \
+ 	  echo "Making $$target in $$subdir"; \
+@@ -367,6 +379,7 @@
+ 	  && $(MAKE) $(AM_MAKEFLAGS) installcheck \
+ 	  && $(MAKE) $(AM_MAKEFLAGS) uninstall \
+ 	  && test `find $$dc_install_base -type f -print | wc -l` -le 1 \
++	  && chmod -R u+w .. \
+ 	  && $(MAKE) $(AM_MAKEFLAGS) dist \
+ 	  && $(MAKE) $(AM_MAKEFLAGS) distclean \
+ 	  && rm -f $(distdir).tar.gz \
+diff -ruN heimdal-0.3e-old/acinclude.m4 heimdal-0.3e/acinclude.m4
+--- heimdal-0.3e-old/acinclude.m4	Sun May 24 00:54:53 1998
++++ heimdal-0.3e/acinclude.m4	Sat Jun 16 15:14:27 2001
+@@ -7,3 +7,5 @@
+ dnl $xId: misc.m4,v 1.1 1997/12/14 15:59:04 joda Exp $
+ dnl
+ define(upcase,`echo $1 | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`)dnl
++dnl Hack to allow old CVS version of autoconf to work.
++define([m4_ifval],[ifval])dnl
+diff -ruN heimdal-0.3e-old/aclocal.m4 heimdal-0.3e/aclocal.m4
+--- heimdal-0.3e-old/aclocal.m4	Mon Feb  5 18:58:10 2001
++++ heimdal-0.3e/aclocal.m4	Sat Jun 16 15:14:27 2001
+@@ -1,14 +1,15 @@
+-dnl ./aclocal.m4 generated automatically by aclocal 1.4a
++# aclocal.m4 generated automatically by aclocal 1.4a
+ 
+-dnl Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
+-dnl This file is free software; the Free Software Foundation
+-dnl gives unlimited permission to copy and/or distribute it,
+-dnl with or without modifications, as long as this notice is preserved.
+-
+-dnl This program is distributed in the hope that it will be useful,
+-dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+-dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+-dnl PARTICULAR PURPOSE.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Free Software Foundation, Inc.
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# This program is distributed in the hope that it will be useful,
++# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
++# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
++# PARTICULAR PURPOSE.
+ 
+ dnl $Id: acinclude.m4,v 1.15 1998/05/23 14:54:53 joda Exp $
+ dnl
+@@ -19,6 +20,8 @@
+ dnl $xId: misc.m4,v 1.1 1997/12/14 15:59:04 joda Exp $
+ dnl
+ define(upcase,`echo $1 | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`)dnl
++dnl Hack to allow old CVS version of autoconf to work.
++define([m4_ifval],[ifval])dnl
+ 
+ dnl $Id: misc.m4,v 1.2 2000/07/19 15:04:00 joda Exp $
+ dnl
+@@ -49,32 +52,40 @@
+ ])])
+ # Like AC_CONFIG_HEADER, but automatically create stamp file.
+ 
+-AC_DEFUN(AM_CONFIG_HEADER,
+-[AC_PREREQ([2.12])
+-AC_CONFIG_HEADER([$1])
+-dnl When config.status generates a header, we must update the stamp-h file.
+-dnl This file resides in the same directory as the config header
+-dnl that is generated.  We must strip everything past the first ":",
+-dnl and everything past the last "/".
+-AC_OUTPUT_COMMANDS(changequote(<<,>>)dnl
+-ifelse(patsubst(<<$1>>, <<[^ ]>>, <<>>), <<>>,
+-<<test -z "<<$>>CONFIG_HEADERS" || echo timestamp > patsubst(<<$1>>, <<^\([^:]*/\)?.*>>, <<\1>>)stamp-h<<>>dnl>>,
+-<<am_indx=1
+-for am_file in <<$1>>; do
+-  case " <<$>>CONFIG_HEADERS " in
+-  *" <<$>>am_file "*<<)>>
+-    echo timestamp > `echo <<$>>am_file | sed -e 's%:.*%%' -e 's%[^/]*$%%'`stamp-h$am_indx
+-    ;;
+-  esac
+-  am_indx=`expr "<<$>>am_indx" + 1`
+-done<<>>dnl>>)
+-changequote([,]))])
++# serial 3
++
++# When config.status generates a header, we must update the stamp-h file.
++# This file resides in the same directory as the config header
++# that is generated.  We must strip everything past the first ":",
++# and everything past the last "/".
++
++AC_PREREQ([2.12])
++
++AC_DEFUN([AM_CONFIG_HEADER],
++[AC_CONFIG_HEADER([$1])
++  AC_OUTPUT_COMMANDS(
++   ifelse(patsubst([$1], [[^ ]], []),
++	  [],
++	  [test -z "$CONFIG_HEADERS" || echo timestamp >dnl
++	   patsubst([$1], [^\([^:]*/\)?.*], [\1])stamp-h]),
++  [am_indx=1
++  for am_file in $1; do
++    case " $CONFIG_HEADERS " in
++    *" $am_file "*)
++      echo timestamp > `echo $am_file | sed 's%:.*%%;s%[^/]*$%%'`stamp-h$am_indx
++      ;;
++    esac
++    am_indx=\`expr \$am_indx + 1\`
++  done])
++])
+ 
+ # Do all the work for Automake.  This macro actually does too much --
+ # some checks are only needed if your package does certain things.
+ # But this isn't really a big deal.
+ 
+-# serial 2
++# serial 3
++
++AC_PREREQ([2.13])
+ 
+ # AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
+ # -----------------------------------------------------------
+@@ -92,12 +103,11 @@
+ 
+ # AM_INIT_AUTOMAKE(PACKAGE,VERSION, [NO-DEFINE])
+ # ----------------------------------------------
+-AC_DEFUN(AM_INIT_AUTOMAKE,
++AC_DEFUN([AM_INIT_AUTOMAKE],
+ [dnl We require 2.13 because we rely on SHELL being computed by configure.
+-AC_PREREQ([2.13])dnl
+ AC_REQUIRE([AC_PROG_INSTALL])dnl
+ # test to see if srcdir already configured
+-if test "`CDPATH=: && cd $srcdir && pwd`" != "`pwd`" &&
++if test "`CDPATH=:; cd $srcdir && pwd`" != "`pwd`" &&
+    test -f $srcdir/config.status; then
+   AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
+ fi
+@@ -121,8 +131,8 @@
+ AM_MISSING_PROG(MAKEINFO, makeinfo)
+ AM_MISSING_PROG(AMTAR, tar)
+ AM_MISSING_INSTALL_SH
+-dnl We need awk for the "check" target.  The system "awk" is bad on
+-dnl some platforms.
++# We need awk for the "check" target.  The system "awk" is bad on
++# some platforms.
+ AC_REQUIRE([AC_PROG_AWK])dnl
+ AC_REQUIRE([AC_PROG_MAKE_SET])dnl
+ AC_REQUIRE([AM_DEP_TRACK])dnl
+@@ -141,7 +151,7 @@
+ # Check to make sure that the build environment is sane.
+ #
+ 
+-AC_DEFUN(AM_SANITY_CHECK,
++AC_DEFUN([AM_SANITY_CHECK],
+ [AC_MSG_CHECKING([whether build environment is sane])
+ # Just in case
+ sleep 1
+@@ -180,15 +190,15 @@
+ rm -f conftest*
+ AC_MSG_RESULT(yes)])
+ 
+-dnl AM_MISSING_PROG(NAME, PROGRAM)
+-AC_DEFUN(AM_MISSING_PROG, [
++# AM_MISSING_PROG(NAME, PROGRAM)
++AC_DEFUN([AM_MISSING_PROG], [
+ AC_REQUIRE([AM_MISSING_HAS_RUN])
+ $1=${$1-"${am_missing_run}$2"}
+ AC_SUBST($1)])
+ 
+-dnl Like AM_MISSING_PROG, but only looks for install-sh.
+-dnl AM_MISSING_INSTALL_SH()
+-AC_DEFUN(AM_MISSING_INSTALL_SH, [
++# Like AM_MISSING_PROG, but only looks for install-sh.
++# AM_MISSING_INSTALL_SH()
++AC_DEFUN([AM_MISSING_INSTALL_SH], [
+ AC_REQUIRE([AM_MISSING_HAS_RUN])
+ if test -z "$install_sh"; then
+    install_sh="$ac_aux_dir/install-sh"
+@@ -200,13 +210,13 @@
+ fi
+ AC_SUBST(install_sh)])
+ 
+-dnl AM_MISSING_HAS_RUN.
+-dnl Define MISSING if not defined so far and test if it supports --run.
+-dnl If it does, set am_missing_run to use it, otherwise, to nothing.
++# AM_MISSING_HAS_RUN.
++# Define MISSING if not defined so far and test if it supports --run.
++# If it does, set am_missing_run to use it, otherwise, to nothing.
+ AC_DEFUN([AM_MISSING_HAS_RUN], [
+ test x"${MISSING+set}" = xset || \
+-  MISSING="\${SHELL} `CDPATH=: && cd $ac_aux_dir && pwd`/missing"
+-dnl Use eval to expand $SHELL
++  MISSING="\${SHELL} `CDPATH=:; cd $ac_aux_dir && pwd`/missing"
++# Use eval to expand $SHELL
+ if eval "$MISSING --run :"; then
+   am_missing_run="$MISSING --run "
+ else
+@@ -216,14 +226,14 @@
+ fi
+ ])
+ 
+-dnl See how the compiler implements dependency checking.
+-dnl Usage:
+-dnl AM_DEPENDENCIES(NAME)
+-dnl NAME is "CC", "CXX" or "OBJC".
++# See how the compiler implements dependency checking.
++# Usage:
++# AM_DEPENDENCIES(NAME)
++# NAME is "CC", "CXX" or "OBJC".
+ 
+-dnl We try a few techniques and use that to set a single cache variable.
++# We try a few techniques and use that to set a single cache variable.
+ 
+-AC_DEFUN(AM_DEPENDENCIES,[
++AC_DEFUN([AM_DEPENDENCIES],[
+ AC_REQUIRE([AM_SET_DEPDIR])
+ AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])
+ ifelse([$1],CC,[
+@@ -259,10 +269,13 @@
+       ;;
+     none) break ;;
+     esac
++    # We check with `-c' and `-o' for the sake of the "dashmstdout"
++    # mode.  It turns out that the SunPro C++ compiler does not properly
++    # handle `-M -o', and we need to detect this.
+     if depmode="$depmode" \
+        source=conftest.c object=conftest.o \
+        depfile=conftest.Po tmpdepfile=conftest.TPo \
+-       $SHELL $am_depcomp $depcc -c conftest.c 2>/dev/null &&
++       $SHELL $am_depcomp $depcc -c conftest.c -o conftest.o 2>/dev/null &&
+        grep conftest.h conftest.Po > /dev/null 2>&1; then
+       am_cv_[$1]_dependencies_compiler_type="$depmode"
+       break
+@@ -279,10 +292,10 @@
+ AC_SUBST([$1]DEPMODE)
+ ])
+ 
+-dnl Choose a directory name for dependency files.
+-dnl This macro is AC_REQUIREd in AM_DEPENDENCIES
++# Choose a directory name for dependency files.
++# This macro is AC_REQUIREd in AM_DEPENDENCIES
+ 
+-AC_DEFUN(AM_SET_DEPDIR,[
++AC_DEFUN([AM_SET_DEPDIR],[
+ if test -d .deps || mkdir .deps 2> /dev/null || test -d .deps; then
+   DEPDIR=.deps
+ else
+@@ -291,7 +304,7 @@
+ AC_SUBST(DEPDIR)
+ ])
+ 
+-AC_DEFUN(AM_DEP_TRACK,[
++AC_DEFUN([AM_DEP_TRACK],[
+ AC_ARG_ENABLE(dependency-tracking,
+ [  --disable-dependency-tracking Speeds up one-time builds
+   --enable-dependency-tracking  Do not reject slow dependency extractors])
+@@ -316,16 +329,16 @@
+ popdef([subst])
+ ])
+ 
+-dnl Generate code to set up dependency tracking.
+-dnl This macro should only be invoked once -- use via AC_REQUIRE.
+-dnl Usage:
+-dnl AM_OUTPUT_DEPENDENCY_COMMANDS
++# Generate code to set up dependency tracking.
++# This macro should only be invoked once -- use via AC_REQUIRE.
++# Usage:
++# AM_OUTPUT_DEPENDENCY_COMMANDS
+ 
+-dnl
+-dnl This code is only required when automatic dependency tracking
+-dnl is enabled.  FIXME.  This creates each `.P' file that we will
+-dnl need in order to bootstrap the dependency handling code.
+-AC_DEFUN(AM_OUTPUT_DEPENDENCY_COMMANDS,[
++#
++# This code is only required when automatic dependency tracking
++# is enabled.  FIXME.  This creates each `.P' file that we will
++# need in order to bootstrap the dependency handling code.
++AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],[
+ AC_OUTPUT_COMMANDS([
+ test x"$AMDEP" != x"" ||
+ for mf in $CONFIG_FILES; do
+@@ -368,9 +381,9 @@
+ ac_aux_dir="$ac_aux_dir"])])
+ 
+ 
+-dnl AM_PROG_LEX
+-dnl Look for flex, lex or missing, then run AC_PROG_LEX and AC_DECL_YYTEXT
+-AC_DEFUN(AM_PROG_LEX,
++# AM_PROG_LEX
++# Look for flex, lex or missing, then run AC_PROG_LEX and AC_DECL_YYTEXT
++AC_DEFUN([AM_PROG_LEX],
+ [AC_REQUIRE([AM_MISSING_HAS_RUN])
+ AC_CHECK_PROGS(LEX, flex lex, [${am_missing_run}flex])
+ AC_PROG_LEX
+@@ -493,212 +506,2799 @@
+ esac
+ ])
+ 
+-dnl
+-dnl $Id: c-attribute.m4,v 1.2 1999/03/01 09:52:23 joda Exp $
+-dnl
++dnl
++dnl $Id: c-attribute.m4,v 1.2 1999/03/01 09:52:23 joda Exp $
++dnl
++
++dnl
++dnl Test for __attribute__
++dnl
++
++AC_DEFUN(AC_C___ATTRIBUTE__, [
++AC_MSG_CHECKING(for __attribute__)
++AC_CACHE_VAL(ac_cv___attribute__, [
++AC_TRY_COMPILE([
++#include <stdlib.h>
++],
++[
++static void foo(void) __attribute__ ((noreturn));
++
++static void
++foo(void)
++{
++  exit(1);
++}
++],
++ac_cv___attribute__=yes,
++ac_cv___attribute__=no)])
++if test "$ac_cv___attribute__" = "yes"; then
++  AC_DEFINE(HAVE___ATTRIBUTE__, 1, [define if your compiler has __attribute__])
++fi
++AC_MSG_RESULT($ac_cv___attribute__)
++])
++
++
++# libtool.m4 - Configure libtool for the host system. -*-Shell-script-*-
++
++# serial 46 AC_PROG_LIBTOOL
++AC_DEFUN([AC_PROG_LIBTOOL],
++[AC_REQUIRE([AC_LIBTOOL_SETUP])dnl
++
++# This can be used to rebuild libtool when needed
++LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
++
++# Always use our own libtool.
++LIBTOOL='$(SHELL) $(top_builddir)/libtool'
++AC_SUBST(LIBTOOL)dnl
++
++# Prevent multiple expansion
++define([AC_PROG_LIBTOOL], [])
++])
++
++AC_DEFUN([AC_LIBTOOL_SETUP],
++[AC_PREREQ(2.13)dnl
++AC_REQUIRE([AC_ENABLE_SHARED])dnl
++AC_REQUIRE([AC_ENABLE_STATIC])dnl
++AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl
++AC_REQUIRE([AC_CANONICAL_HOST])dnl
++AC_REQUIRE([AC_CANONICAL_BUILD])dnl
++AC_REQUIRE([AC_PROG_CC])dnl
++AC_REQUIRE([AC_PROG_LD])dnl
++AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl
++AC_REQUIRE([AC_PROG_NM])dnl
++AC_REQUIRE([AC_PROG_LN_S])dnl
++AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl
++AC_REQUIRE([AC_OBJEXT])dnl
++AC_REQUIRE([AC_EXEEXT])dnl
++dnl
++
++_LT_AC_PROG_ECHO_BACKSLASH
++# Only perform the check for file, if the check method requires it
++case $deplibs_check_method in
++file_magic*)
++  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
++    AC_PATH_MAGIC
++  fi
++  ;;
++esac
++
++AC_CHECK_TOOL(RANLIB, ranlib, :)
++AC_CHECK_TOOL(STRIP, strip, :)
++
++ifdef([AC_PROVIDE_AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no)
++ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL],
++enable_win32_dll=yes, enable_win32_dll=no)
++
++AC_ARG_ENABLE(libtool-lock,
++  [  --disable-libtool-lock  avoid locking (might break parallel builds)])
++test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
++
++# Some flags need to be propagated to the compiler or linker for good
++# libtool support.
++case $host in
++*-*-irix6*)
++  # Find out which ABI we are using.
++  echo '[#]line __oline__ "configure"' > conftest.$ac_ext
++  if AC_TRY_EVAL(ac_compile); then
++    case `/usr/bin/file conftest.$ac_objext` in
++    *32-bit*)
++      LD="${LD-ld} -32"
++      ;;
++    *N32*)
++      LD="${LD-ld} -n32"
++      ;;
++    *64-bit*)
++      LD="${LD-ld} -64"
++      ;;
++    esac
++  fi
++  rm -rf conftest*
++  ;;
++
++*-*-sco3.2v5*)
++  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
++  SAVE_CFLAGS="$CFLAGS"
++  CFLAGS="$CFLAGS -belf"
++  AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
++    [AC_LANG_SAVE
++     AC_LANG_C
++     AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
++     AC_LANG_RESTORE])
++  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
++    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
++    CFLAGS="$SAVE_CFLAGS"
++  fi
++  ;;
++
++ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL],
++[*-*-cygwin* | *-*-mingw* | *-*-pw32*)
++  AC_CHECK_TOOL(DLLTOOL, dlltool, false)
++  AC_CHECK_TOOL(AS, as, false)
++  AC_CHECK_TOOL(OBJDUMP, objdump, false)
++
++  # recent cygwin and mingw systems supply a stub DllMain which the user
++  # can override, but on older systems we have to supply one
++  AC_CACHE_CHECK([if libtool should supply DllMain function], lt_cv_need_dllmain,
++    [AC_TRY_LINK([],
++      [extern int __attribute__((__stdcall__)) DllMain(void*, int, void*);
++      DllMain (0, 0, 0);],
++      [lt_cv_need_dllmain=no],[lt_cv_need_dllmain=yes])])
++
++  case $host/$CC in
++  *-*-cygwin*/gcc*-mno-cygwin*|*-*-mingw*)
++    # old mingw systems require "-dll" to link a DLL, while more recent ones
++    # require "-mdll"
++    SAVE_CFLAGS="$CFLAGS"
++    CFLAGS="$CFLAGS -mdll"
++    AC_CACHE_CHECK([how to link DLLs], lt_cv_cc_dll_switch,
++      [AC_TRY_LINK([], [], [lt_cv_cc_dll_switch=-mdll],[lt_cv_cc_dll_switch=-dll])])
++    CFLAGS="$SAVE_CFLAGS" ;;
++  *-*-cygwin* | *-*-pw32*)
++    # cygwin systems need to pass --dll to the linker, and not link
++    # crt.o which will require a WinMain@16 definition.
++    lt_cv_cc_dll_switch="-Wl,--dll -nostartfiles" ;;
++  esac
++  ;;
++  ])
++esac
++
++_LT_AC_LTCONFIG_HACK
++
++])
++
++# _LT_AC_CHECK_DLFCN
++# --------------------
++AC_DEFUN(_LT_AC_CHECK_DLFCN,
++[AC_CHECK_HEADERS(dlfcn.h)
++])# _LT_AC_CHECK_DLFCN
++
++# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
++# ---------------------------------
++AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE],
++[AC_REQUIRE([AC_CANONICAL_HOST])
++AC_REQUIRE([AC_PROG_NM])
++AC_REQUIRE([AC_OBJEXT])
++# Check for command to grab the raw symbol name followed by C symbol from nm.
++AC_MSG_CHECKING([command to parse $NM output])
++AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe], [dnl
++
++# These are sane defaults that work on at least a few old systems.
++# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
++
++# Character class describing NM global symbol codes.
++[symcode='[BCDEGRST]']
++
++# Regexp to match symbols that can be accessed directly from C.
++[sympat='\([_A-Za-z][_A-Za-z0-9]*\)']
++
++# Transform the above into a raw symbol and a C symbol.
++symxfrm='\1 \2\3 \3'
++
++# Transform an extracted symbol line into a proper C declaration
++lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'"
++
++# Define system-specific variables.
++case $host_os in
++aix*)
++  [symcode='[BCDT]']
++  ;;
++cygwin* | mingw* | pw32*)
++  [symcode='[ABCDGISTW]']
++  ;;
++hpux*) # Its linker distinguishes data from code symbols
++  lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
++  ;;
++irix*)
++  [symcode='[BCDEGRST]']
++  ;;
++solaris* | sysv5*)
++  [symcode='[BDT]']
++  ;;
++sysv4)
++  [symcode='[DFNSTU]']
++  ;;
++esac
++
++# Handle CRLF in mingw tool chain
++opt_cr=
++case $host_os in
++mingw*)
++  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
++  ;;
++esac
++
++# If we're using GNU nm, then use its standard symbol codes.
++if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then
++  [symcode='[ABCDGISTW]']
++fi
++
++# Try without a prefix undercore, then with it.
++for ac_symprfx in "" "_"; do
++
++  # Write the raw and C identifiers.
++[lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"]
++
++  # Check to see that the pipe works correctly.
++  pipe_works=no
++  rm -f conftest*
++  cat > conftest.$ac_ext <<EOF
++#ifdef __cplusplus
++extern "C" {
++#endif
++char nm_test_var;
++void nm_test_func(){}
++#ifdef __cplusplus
++}
++#endif
++int main(){nm_test_var='a';nm_test_func();return(0);}
++EOF
++
++  if AC_TRY_EVAL(ac_compile); then
++    # Now try to grab the symbols.
++    nlist=conftest.nm
++    if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
++      # Try sorting and uniquifying the output.
++      if sort "$nlist" | uniq > "$nlist"T; then
++	mv -f "$nlist"T "$nlist"
++      else
++	rm -f "$nlist"T
++      fi
++
++      # Make sure that we snagged all the symbols we need.
++      if egrep ' nm_test_var$' "$nlist" >/dev/null; then
++	if egrep ' nm_test_func$' "$nlist" >/dev/null; then
++	  cat <<EOF > conftest.$ac_ext
++#ifdef __cplusplus
++extern "C" {
++#endif
++
++EOF
++	  # Now generate the symbol file.
++	  eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext'
++
++	  cat <<EOF >> conftest.$ac_ext
++#if defined (__STDC__) && __STDC__
++# define lt_ptr_t void *
++#else
++# define lt_ptr_t char *
++# define const
++#endif
++
++/* The mapping between symbol names and symbols. */
++const struct {
++  const char *name;
++  lt_ptr_t address;
++}
++[lt_preloaded_symbols[] =]
++{
++EOF
++	  sed "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" >> conftest.$ac_ext
++	  cat <<\EOF >> conftest.$ac_ext
++  {0, (lt_ptr_t) 0}
++};
++
++#ifdef __cplusplus
++}
++#endif
++EOF
++	  # Now try linking the two files.
++	  mv conftest.$ac_objext conftstm.$ac_objext
++	  save_LIBS="$LIBS"
++	  save_CFLAGS="$CFLAGS"
++	  LIBS="conftstm.$ac_objext"
++	  CFLAGS="$CFLAGS$no_builtin_flag"
++	  if AC_TRY_EVAL(ac_link) && test -s conftest; then
++	    pipe_works=yes
++	  fi
++	  LIBS="$save_LIBS"
++	  CFLAGS="$save_CFLAGS"
++	else
++	  echo "cannot find nm_test_func in $nlist" >&AC_FD_CC
++	fi
++      else
++	echo "cannot find nm_test_var in $nlist" >&AC_FD_CC
++      fi
++    else
++      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AC_FD_CC
++    fi
++  else
++    echo "$progname: failed program was:" >&AC_FD_CC
++    cat conftest.$ac_ext >&5
++  fi
++  rm -f conftest* conftst*
++
++  # Do not use the global_symbol_pipe unless it works.
++  if test "$pipe_works" = yes; then
++    break
++  else
++    lt_cv_sys_global_symbol_pipe=
++  fi
++done
++])
++global_symbol_pipe="$lt_cv_sys_global_symbol_pipe"
++if test -z "$lt_cv_sys_global_symbol_pipe"; then
++  global_symbol_to_cdecl=
++else
++  global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl"
++fi
++if test -z "$global_symbol_pipe$global_symbol_to_cdecl"; then
++  AC_MSG_RESULT(failed)
++else
++  AC_MSG_RESULT(ok)
++fi
++]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
++
++# _LT_AC_LIBTOOL_SYS_PATH_SEPARATOR
++# ---------------------------------
++AC_DEFUN([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR],
++[# Find the correct PATH separator.  Usually this is `:', but
++# DJGPP uses `;' like DOS.
++if test "X${PATH_SEPARATOR+set}" != Xset; then
++  UNAME=${UNAME-`uname 2>/dev/null`}
++  case X$UNAME in
++    *-DOS) lt_cv_sys_path_separator=';' ;;
++    *)     lt_cv_sys_path_separator=':' ;;
++  esac
++fi
++])# _LT_AC_LIBTOOL_SYS_PATH_SEPARATOR
++
++# _LT_AC_PROG_ECHO_BACKSLASH
++# --------------------------
++# Add some code to the start of the generated configure script which
++# will find an echo command which doesn;t interpret backslashes.
++AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH],
++[ifdef([AC_DIVERSION_NOTICE], [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
++                              [AC_DIVERT_PUSH(NOTICE)])
++_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR
++
++# Check that we are running under the correct shell.
++SHELL=${CONFIG_SHELL-/bin/sh}
++
++case X$ECHO in
++X*--fallback-echo)
++  # Remove one level of quotation (which was required for Make).
++  ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
++  ;;
++esac
++
++echo=${ECHO-echo}
++if test "X[$]1" = X--no-reexec; then
++  # Discard the --no-reexec flag, and continue.
++  shift
++elif test "X[$]1" = X--fallback-echo; then
++  # Avoid inline document here, it may be left over
++  :
++elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
++  # Yippee, $echo works!
++  :
++else
++  # Restart under the correct shell.
++  exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
++fi
++
++if test "X[$]1" = X--fallback-echo; then
++  # used as fallback echo
++  shift
++  cat <<EOF
++$*
++EOF
++  exit 0
++fi
++
++# The HP-UX ksh and POSIX shell print the target directory to stdout
++# if CDPATH is set.
++if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
++
++if test -z "$ECHO"; then
++if test "X${echo_test_string+set}" != Xset; then
++# find a string as large as possible, as long as the shell can cope with it
++  for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
++    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
++    if (echo_test_string="`eval $cmd`") 2>/dev/null &&
++       echo_test_string="`eval $cmd`" &&
++       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
++    then
++      break
++    fi
++  done
++fi
++
++if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
++   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
++   test "X$echo_testing_string" = "X$echo_test_string"; then
++  :
++else
++  # The Solaris, AIX, and Digital Unix default echo programs unquote
++  # backslashes.  This makes it impossible to quote backslashes using
++  #   echo "$something" | sed 's/\\/\\\\/g'
++  #
++  # So, first we look for a working echo in the user's PATH.
++
++  IFS="${IFS= 	}"; save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR}"
++  for dir in $PATH /usr/ucb; do
++    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
++       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
++       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
++       test "X$echo_testing_string" = "X$echo_test_string"; then
++      echo="$dir/echo"
++      break
++    fi
++  done
++  IFS="$save_ifs"
++
++  if test "X$echo" = Xecho; then
++    # We didn't find a better echo, so look for alternatives.
++    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
++       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
++       test "X$echo_testing_string" = "X$echo_test_string"; then
++      # This shell has a builtin print -r that does the trick.
++      echo='print -r'
++    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
++	 test "X$CONFIG_SHELL" != X/bin/ksh; then
++      # If we have ksh, try running configure again with it.
++      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
++      export ORIGINAL_CONFIG_SHELL
++      CONFIG_SHELL=/bin/ksh
++      export CONFIG_SHELL
++      exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
++    else
++      # Try using printf.
++      echo='printf %s\n'
++      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
++	 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
++	 test "X$echo_testing_string" = "X$echo_test_string"; then
++	# Cool, printf works
++	:
++      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
++	   test "X$echo_testing_string" = 'X\t' &&
++	   echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
++	   test "X$echo_testing_string" = "X$echo_test_string"; then
++	CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
++	export CONFIG_SHELL
++	SHELL="$CONFIG_SHELL"
++	export SHELL
++	echo="$CONFIG_SHELL [$]0 --fallback-echo"
++      elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
++	   test "X$echo_testing_string" = 'X\t' &&
++	   echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
++	   test "X$echo_testing_string" = "X$echo_test_string"; then
++	echo="$CONFIG_SHELL [$]0 --fallback-echo"
++      else
++	# maybe with a smaller string...
++	prev=:
++
++	for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
++	  if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
++	  then
++	    break
++	  fi
++	  prev="$cmd"
++	done
++
++	if test "$prev" != 'sed 50q "[$]0"'; then
++	  echo_test_string=`eval $prev`
++	  export echo_test_string
++	  exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
++	else
++	  # Oops.  We lost completely, so just stick with echo.
++	  echo=echo
++	fi
++      fi
++    fi
++  fi
++fi
++fi
++
++# Copy echo and quote the copy suitably for passing to libtool from
++# the Makefile, instead of quoting the original, which is used later.
++ECHO=$echo
++if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
++   ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
++fi
++
++AC_SUBST(ECHO)
++AC_DIVERT_POP
++])# _LT_AC_PROG_ECHO_BACKSLASH
++
++# _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
++#                           ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
++# ------------------------------------------------------------------
++AC_DEFUN(_LT_AC_TRY_DLOPEN_SELF,
++[if test "$cross_compiling" = yes; then :
++  [$4]
++else
++  AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
++  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
++  lt_status=$lt_dlunknown
++  cat > conftest.$ac_ext <<EOF
++[#line __oline__ "configure"
++#include "confdefs.h"
++
++#if HAVE_DLFCN_H
++#include <dlfcn.h>
++#endif
++
++#include <stdio.h>
++
++#ifdef RTLD_GLOBAL
++#  define LT_DLGLOBAL		RTLD_GLOBAL
++#else
++#  ifdef DL_GLOBAL
++#    define LT_DLGLOBAL		DL_GLOBAL
++#  else
++#    define LT_DLGLOBAL		0
++#  endif
++#endif
++
++/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
++   find out it does not work in some platform. */
++#ifndef LT_DLLAZY_OR_NOW
++#  ifdef RTLD_LAZY
++#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
++#  else
++#    ifdef DL_LAZY
++#      define LT_DLLAZY_OR_NOW		DL_LAZY
++#    else
++#      ifdef RTLD_NOW
++#        define LT_DLLAZY_OR_NOW	RTLD_NOW
++#      else
++#        ifdef DL_NOW
++#          define LT_DLLAZY_OR_NOW	DL_NOW
++#        else
++#          define LT_DLLAZY_OR_NOW	0
++#        endif
++#      endif
++#    endif
++#  endif
++#endif
++
++#ifdef __cplusplus
++extern "C" void exit (int);
++#endif
++
++void fnord() { int i=42;}
++int main ()
++{
++  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
++  int status = $lt_dlunknown;
++
++  if (self)
++    {
++      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
++      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
++      /* dlclose (self); */
++    }
++
++    exit (status);
++}]
++EOF
++  if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
++    (./conftest; exit; ) 2>/dev/null
++    lt_status=$?
++    case x$lt_status in
++      x$lt_dlno_uscore) $1 ;;
++      x$lt_dlneed_uscore) $2 ;;
++      x$lt_unknown|x*) $3 ;;
++    esac
++  else :
++    # compilation failed
++    $3
++  fi
++fi
++rm -fr conftest*
++])# _LT_AC_TRY_DLOPEN_SELF
++
++# AC_LIBTOOL_DLOPEN_SELF
++# -------------------
++AC_DEFUN(AC_LIBTOOL_DLOPEN_SELF,
++[if test "x$enable_dlopen" != xyes; then
++  enable_dlopen=unknown
++  enable_dlopen_self=unknown
++  enable_dlopen_self_static=unknown
++else
++  lt_cv_dlopen=no
++  lt_cv_dlopen_libs=
++
++  case $host_os in
++  beos*)
++    lt_cv_dlopen="load_add_on"
++    lt_cv_dlopen_libs=
++    lt_cv_dlopen_self=yes
++    ;;
++
++  cygwin* | mingw* | pw32*)
++    lt_cv_dlopen="LoadLibrary"
++    lt_cv_dlopen_libs=
++   ;;
++
++  *)
++    AC_CHECK_LIB(dl, dlopen,  [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
++      [AC_CHECK_FUNC(dlopen, lt_cv_dlopen="dlopen",
++        [AC_CHECK_FUNC(shl_load, lt_cv_dlopen="shl_load",
++          [AC_CHECK_LIB(svld, dlopen,
++	    [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
++            [AC_CHECK_LIB(dld, shl_load,
++              [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
++	    ])
++          ])
++        ])
++      ])
++    ;;
++  esac
++
++  if test "x$lt_cv_dlopen" != xno; then
++    enable_dlopen=yes
++  else
++    enable_dlopen=no
++  fi
++
++  case $lt_cv_dlopen in
++  dlopen)
++    save_CPPFLAGS="$CPPFLAGS"
++    AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
++    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
++
++    save_LDFLAGS="$LDFLAGS"
++    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
++
++    save_LIBS="$LIBS"
++    LIBS="$lt_cv_dlopen_libs $LIBS"
++
++    AC_CACHE_CHECK([whether a program can dlopen itself],
++	  lt_cv_dlopen_self, [dnl
++	  _LT_AC_TRY_DLOPEN_SELF(
++	    lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
++	    lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
++    ])
++
++    if test "x$lt_cv_dlopen_self" = xyes; then
++      LDFLAGS="$LDFLAGS $link_static_flag"
++      AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
++    	  lt_cv_dlopen_self_static, [dnl
++	  _LT_AC_TRY_DLOPEN_SELF(
++	    lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
++	    lt_cv_dlopen_self_static=no,  lt_cv_dlopen_self_static=cross)
++      ])
++    fi
++
++    CPPFLAGS="$save_CPPFLAGS"
++    LDFLAGS="$save_LDFLAGS"
++    LIBS="$save_LIBS"
++    ;;
++  esac
++
++  case $lt_cv_dlopen_self in
++  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
++  *) enable_dlopen_self=unknown ;;
++  esac
++
++  case $lt_cv_dlopen_self_static in
++  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
++  *) enable_dlopen_self_static=unknown ;;
++  esac
++fi
++])# AC_LIBTOOL_DLOPEN_SELF
++
++AC_DEFUN([_LT_AC_LTCONFIG_HACK],
++[AC_REQUIRE([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])dnl
++# Sed substitution that helps us do robust quoting.  It backslashifies
++# metacharacters that are still active within double-quoted strings.
++Xsed='sed -e s/^X//'
++[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g']
++
++# Same as above, but do not quote variable references.
++[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g']
++
++# Sed substitution to delay expansion of an escaped shell variable in a
++# double_quote_subst'ed string.
++delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
++
++# Constants:
++rm="rm -f"
++
++# Global variables:
++default_ofile=libtool
++can_build_shared=yes
++
++# All known linkers require a `.a' archive for static linking (except M$VC,
++# which needs '.lib').
++libext=a
++ltmain="$ac_aux_dir/ltmain.sh"
++ofile="$default_ofile"
++with_gnu_ld="$lt_cv_prog_gnu_ld"
++need_locks="$enable_libtool_lock"
++
++old_CC="$CC"
++old_CFLAGS="$CFLAGS"
++
++# Set sane defaults for various variables
++test -z "$AR" && AR=ar
++test -z "$AR_FLAGS" && AR_FLAGS=cru
++test -z "$AS" && AS=as
++test -z "$CC" && CC=cc
++test -z "$DLLTOOL" && DLLTOOL=dlltool
++test -z "$LD" && LD=ld
++test -z "$LN_S" && LN_S="ln -s"
++test -z "$MAGIC_CMD" && MAGIC_CMD=file
++test -z "$NM" && NM=nm
++test -z "$OBJDUMP" && OBJDUMP=objdump
++test -z "$RANLIB" && RANLIB=:
++test -z "$STRIP" && STRIP=:
++test -z "$ac_objext" && ac_objext=o
++
++if test x"$host" != x"$build"; then
++  ac_tool_prefix=${host_alias}-
++else
++  ac_tool_prefix=
++fi
++
++# Transform linux* to *-*-linux-gnu*, to support old configure scripts.
++case $host_os in
++linux-gnu*) ;;
++linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
++esac
++
++case $host_os in
++aix3*)
++  # AIX sometimes has problems with the GCC collect2 program.  For some
++  # reason, if we set the COLLECT_NAMES environment variable, the problems
++  # vanish in a puff of smoke.
++  if test "X${COLLECT_NAMES+set}" != Xset; then
++    COLLECT_NAMES=
++    export COLLECT_NAMES
++  fi
++  ;;
++esac
++
++# Determine commands to create old-style static archives.
++old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
++old_postinstall_cmds='chmod 644 $oldlib'
++old_postuninstall_cmds=
++
++if test -n "$RANLIB"; then
++  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
++  old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
++fi
++
++# Allow CC to be a program name with arguments.
++set dummy $CC
++compiler="[$]2"
++
++AC_MSG_CHECKING([for objdir])
++rm -f .libs 2>/dev/null
++mkdir .libs 2>/dev/null
++if test -d .libs; then
++  objdir=.libs
++else
++  # MS-DOS does not allow filenames that begin with a dot.
++  objdir=_libs
++fi
++rmdir .libs 2>/dev/null
++AC_MSG_RESULT($objdir)
++
++
++AC_ARG_WITH(pic, 
++[  --with-pic              try to use only PIC/non-PIC objects [default=use both]],
++pic_mode="$withval", pic_mode=default)
++test -z "$pic_mode" && pic_mode=default
++
++# We assume here that the value for lt_cv_prog_cc_pic will not be cached
++# in isolation, and that seeing it set (from the cache) indicates that
++# the associated values are set (in the cache) correctly too.
++AC_MSG_CHECKING([for $compiler option to produce PIC])
++AC_CACHE_VAL(lt_cv_prog_cc_pic,
++[ lt_cv_prog_cc_pic=
++  lt_cv_prog_cc_shlib=
++  lt_cv_prog_cc_wl=
++  lt_cv_prog_cc_static=
++  lt_cv_prog_cc_no_builtin=
++  lt_cv_prog_cc_can_build_shared=$can_build_shared
++
++  if test "$GCC" = yes; then
++    lt_cv_prog_cc_wl='-Wl,'
++    lt_cv_prog_cc_static='-static'
++
++    case $host_os in
++    aix*)
++      # Below there is a dirty hack to force normal static linking with -ldl
++      # The problem is because libdl dynamically linked with both libc and
++      # libC (AIX C++ library), which obviously doesn't included in libraries
++      # list by gcc. This cause undefined symbols with -static flags.
++      # This hack allows C programs to be linked with "-static -ldl", but
++      # we not sure about C++ programs.
++      lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC"
++      ;;
++    amigaos*)
++      # FIXME: we need at least 68020 code to build shared libraries, but
++      # adding the `-m68020' flag to GCC prevents building anything better,
++      # like `-m68040'.
++      lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4'
++      ;;
++    beos* | irix5* | irix6* | osf3* | osf4* | osf5*)
++      # PIC is the default for these OSes.
++      ;;
++    darwin* | rhapsody*)
++      # PIC is the default on this platform
++      # Common symbols not allowed in MH_DYLIB files
++      lt_cv_prog_cc_pic='-fno-common'
++      ;;
++    cygwin* | mingw* | pw32* | os2*)
++      # This hack is so that the source file can tell whether it is being
++      # built for inclusion in a dll (and should export symbols for example).
++      lt_cv_prog_cc_pic='-DDLL_EXPORT'
++      ;;
++    sysv4*MP*)
++      if test -d /usr/nec; then
++	 lt_cv_prog_cc_pic=-Kconform_pic
++      fi
++      ;;
++    *)
++      lt_cv_prog_cc_pic='-fPIC'
++      ;;
++    esac
++  else
++    # PORTME Check for PIC flags for the system compiler.
++    case $host_os in
++    aix3* | aix4* | aix5*)
++      # All AIX code is PIC.
++      if test "$host_cpu" = ia64; then
++        # AIX 5 now supports IA64 processor
++        lt_cv_prog_cc_static='-Bstatic'
++        lt_cv_prog_cc_wl='-Wl,'
++      else
++        lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp'
++      fi
++      ;;
++
++    hpux9* | hpux10* | hpux11*)
++      # Is there a better lt_cv_prog_cc_static that works with the bundled CC?
++      lt_cv_prog_cc_wl='-Wl,'
++      lt_cv_prog_cc_static="${lt_cv_prog_cc_wl}-a ${lt_cv_prog_cc_wl}archive"
++      lt_cv_prog_cc_pic='+Z'
++      ;;
++
++    irix5* | irix6*)
++      lt_cv_prog_cc_wl='-Wl,'
++      lt_cv_prog_cc_static='-non_shared'
++      # PIC (with -KPIC) is the default.
++      ;;
++
++    cygwin* | mingw* | pw32* | os2*)
++      # This hack is so that the source file can tell whether it is being
++      # built for inclusion in a dll (and should export symbols for example).
++      lt_cv_prog_cc_pic='-DDLL_EXPORT'
++      ;;
++
++    newsos6)
++      lt_cv_prog_cc_pic='-KPIC'
++      lt_cv_prog_cc_static='-Bstatic'
++      ;;
++
++    osf3* | osf4* | osf5*)
++      # All OSF/1 code is PIC.
++      lt_cv_prog_cc_wl='-Wl,'
++      lt_cv_prog_cc_static='-non_shared'
++      ;;
++
++    sco3.2v5*)
++      lt_cv_prog_cc_pic='-Kpic'
++      lt_cv_prog_cc_static='-dn'
++      lt_cv_prog_cc_shlib='-belf'
++      ;;
++
++    solaris*)
++      lt_cv_prog_cc_pic='-KPIC'
++      lt_cv_prog_cc_static='-Bstatic'
++      lt_cv_prog_cc_wl='-Wl,'
++      ;;
++
++    sunos4*)
++      lt_cv_prog_cc_pic='-PIC'
++      lt_cv_prog_cc_static='-Bstatic'
++      lt_cv_prog_cc_wl='-Qoption ld '
++      ;;
++
++    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
++      lt_cv_prog_cc_pic='-KPIC'
++      lt_cv_prog_cc_static='-Bstatic'
++      if test "x$host_vendor" = xsni; then
++        lt_cv_prog_cc_wl='-LD'
++      else
++        lt_cv_prog_cc_wl='-Wl,'
++      fi
++      ;;
++
++    uts4*)
++      lt_cv_prog_cc_pic='-pic'
++      lt_cv_prog_cc_static='-Bstatic'
++      ;;
++
++    sysv4*MP*)
++      if test -d /usr/nec ;then
++	lt_cv_prog_cc_pic='-Kconform_pic'
++	lt_cv_prog_cc_static='-Bstatic'
++      fi
++      ;;
++
++    *)
++      lt_cv_prog_cc_can_build_shared=no
++      ;;
++    esac
++  fi
++])
++if test -z "$lt_cv_prog_cc_pic"; then
++  AC_MSG_RESULT([none])
++else
++  AC_MSG_RESULT([$lt_cv_prog_cc_pic])
++
++  # Check to make sure the pic_flag actually works.
++  AC_MSG_CHECKING([if $compiler PIC flag $lt_cv_prog_cc_pic works])
++  AC_CACHE_VAL(lt_cv_prog_cc_pic_works, [dnl
++    save_CFLAGS="$CFLAGS"
++    CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"
++    AC_TRY_COMPILE([], [], [dnl
++      case $host_os in
++      hpux9* | hpux10* | hpux11*)
++	# On HP-UX, both CC and GCC only warn that PIC is supported... then
++	# they create non-PIC objects.  So, if there were any warnings, we
++	# assume that PIC is not supported.
++	if test -s conftest.err; then
++	  lt_cv_prog_cc_pic_works=no
++	else
++	  lt_cv_prog_cc_pic_works=yes
++	fi
++	;;
++      *)
++	lt_cv_prog_cc_pic_works=yes
++	;;
++      esac
++    ], [dnl
++      lt_cv_prog_cc_pic_works=no
++    ])
++    CFLAGS="$save_CFLAGS"
++  ])
++
++  if test "X$lt_cv_prog_cc_pic_works" = Xno; then
++    lt_cv_prog_cc_pic=
++    lt_cv_prog_cc_can_build_shared=no
++  else
++    lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic"
++  fi
++
++  AC_MSG_RESULT([$lt_cv_prog_cc_pic_works])
++fi
++
++# Check for any special shared library compilation flags.
++if test -n "$lt_cv_prog_cc_shlib"; then
++  AC_MSG_WARN([\`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries])
++  if echo "$old_CC $old_CFLAGS " | [egrep -e "[ 	]$lt_cv_prog_cc_shlib[ 	]"] >/dev/null; then :
++  else
++   AC_MSG_WARN([add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure])
++    lt_cv_prog_cc_can_build_shared=no
++  fi
++fi
++
++AC_MSG_CHECKING([if $compiler static flag $lt_cv_prog_cc_static works])
++AC_CACHE_VAL([lt_cv_prog_cc_static_works], [dnl
++  lt_cv_prog_cc_static_works=no
++  save_LDFLAGS="$LDFLAGS"
++  LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"
++  AC_TRY_LINK([], [], [lt_cv_prog_cc_static_works=yes])
++  LDFLAGS="$save_LDFLAGS"
++])
++
++# Belt *and* braces to stop my trousers falling down:
++test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static=
++AC_MSG_RESULT([$lt_cv_prog_cc_static_works])
++
++pic_flag="$lt_cv_prog_cc_pic"
++special_shlib_compile_flags="$lt_cv_prog_cc_shlib"
++wl="$lt_cv_prog_cc_wl"
++link_static_flag="$lt_cv_prog_cc_static"
++no_builtin_flag="$lt_cv_prog_cc_no_builtin"
++can_build_shared="$lt_cv_prog_cc_can_build_shared"
++
++
++# Check to see if options -o and -c are simultaneously supported by compiler
++AC_MSG_CHECKING([if $compiler supports -c -o file.$ac_objext])
++AC_CACHE_VAL([lt_cv_compiler_c_o], [
++$rm -r conftest 2>/dev/null
++mkdir conftest
++cd conftest
++echo "int some_variable = 0;" > conftest.$ac_ext
++mkdir out
++# According to Tom Tromey, Ian Lance Taylor reported there are C compilers
++# that will create temporary files in the current directory regardless of
++# the output directory.  Thus, making CWD read-only will cause this test
++# to fail, enabling locking or at least warning the user not to do parallel
++# builds.
++chmod -w .
++save_CFLAGS="$CFLAGS"
++CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
++compiler_c_o=no
++if { (eval echo configure:__oline__: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
++  # The compiler can only warn and ignore the option if not recognized
++  # So say no if there are warnings
++  if test -s out/conftest.err; then
++    lt_cv_compiler_c_o=no
++  else
++    lt_cv_compiler_c_o=yes
++  fi
++else
++  # Append any errors to the config.log.
++  cat out/conftest.err 1>&AC_FD_CC
++  lt_cv_compiler_c_o=no
++fi
++CFLAGS="$save_CFLAGS"
++chmod u+w .
++$rm conftest* out/*
++rmdir out
++cd ..
++rmdir conftest
++$rm -r conftest 2>/dev/null
++])
++compiler_c_o=$lt_cv_compiler_c_o
++AC_MSG_RESULT([$compiler_c_o])
++
++if test x"$compiler_c_o" = x"yes"; then
++  # Check to see if we can write to a .lo
++  AC_MSG_CHECKING([if $compiler supports -c -o file.lo])
++  AC_CACHE_VAL([lt_cv_compiler_o_lo], [
++  lt_cv_compiler_o_lo=no
++  save_CFLAGS="$CFLAGS"
++  CFLAGS="$CFLAGS -c -o conftest.lo"
++  AC_TRY_COMPILE([], [int some_variable = 0;], [dnl
++    # The compiler can only warn and ignore the option if not recognized
++    # So say no if there are warnings
++    if test -s conftest.err; then
++      lt_cv_compiler_o_lo=no
++    else
++      lt_cv_compiler_o_lo=yes
++    fi
++  ])
++  CFLAGS="$save_CFLAGS"
++  ])
++  compiler_o_lo=$lt_cv_compiler_o_lo
++  AC_MSG_RESULT([$compiler_c_lo])
++else
++  compiler_o_lo=no
++fi
++
++# Check to see if we can do hard links to lock some files if needed
++hard_links="nottested"
++if test "$compiler_c_o" = no && test "$need_locks" != no; then
++  # do not overwrite the value of need_locks provided by the user
++  AC_MSG_CHECKING([if we can lock with hard links])
++  hard_links=yes
++  $rm conftest*
++  ln conftest.a conftest.b 2>/dev/null && hard_links=no
++  touch conftest.a
++  ln conftest.a conftest.b 2>&5 || hard_links=no
++  ln conftest.a conftest.b 2>/dev/null && hard_links=no
++  AC_MSG_RESULT([$hard_links])
++  if test "$hard_links" = no; then
++    AC_MSG_WARN([\`$CC' does not support \`-c -o', so \`make -j' may be unsafe])
++    need_locks=warn
++  fi
++else
++  need_locks=no
++fi
++
++if test "$GCC" = yes; then
++  # Check to see if options -fno-rtti -fno-exceptions are supported by compiler
++  AC_MSG_CHECKING([if $compiler supports -fno-rtti -fno-exceptions])
++  echo "int some_variable = 0;" > conftest.$ac_ext
++  save_CFLAGS="$CFLAGS"
++  CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"
++  compiler_rtti_exceptions=no
++  AC_TRY_COMPILE([], [int some_variable = 0;], [dnl
++    # The compiler can only warn and ignore the option if not recognized
++    # So say no if there are warnings
++    if test -s conftest.err; then
++      compiler_rtti_exceptions=no
++    else
++      compiler_rtti_exceptions=yes
++    fi
++  ])
++  CFLAGS="$save_CFLAGS"
++  AC_MSG_RESULT([$compiler_rtti_exceptions])
++
++  if test "$compiler_rtti_exceptions" = "yes"; then
++    no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions'
++  else
++    no_builtin_flag=' -fno-builtin'
++  fi
++fi
++
++# See if the linker supports building shared libraries.
++AC_MSG_CHECKING([whether the linker ($LD) supports shared libraries])
++
++allow_undefined_flag=
++no_undefined_flag=
++need_lib_prefix=unknown
++need_version=unknown
++# when you set need_version to no, make sure it does not cause -set_version
++# flags to be left without arguments
++archive_cmds=
++archive_expsym_cmds=
++old_archive_from_new_cmds=
++old_archive_from_expsyms_cmds=
++export_dynamic_flag_spec=
++whole_archive_flag_spec=
++thread_safe_flag_spec=
++hardcode_into_libs=no
++hardcode_libdir_flag_spec=
++hardcode_libdir_separator=
++hardcode_direct=no
++hardcode_minus_L=no
++hardcode_shlibpath_var=unsupported
++runpath_var=
++link_all_deplibs=unknown
++always_export_symbols=no
++export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols'
++# include_expsyms should be a list of space-separated symbols to be *always*
++# included in the symbol list
++include_expsyms=
++# exclude_expsyms can be an egrep regular expression of symbols to exclude
++# it will be wrapped by ` (' and `)$', so one must not match beginning or
++# end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
++# as well as any symbol that contains `d'.
++exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
++# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
++# platforms (ab)use it in PIC code, but their linkers get confused if
++# the symbol is explicitly referenced.  Since portable code cannot
++# rely on this symbol name, it's probably fine to never include it in
++# preloaded symbol tables.
++extract_expsyms_cmds=
++
++case $host_os in
++cygwin* | mingw* | pw32* )
++  # FIXME: the MSVC++ port hasn't been tested in a loooong time
++  # When not using gcc, we currently assume that we are using
++  # Microsoft Visual C++.
++  if test "$GCC" != yes; then
++    with_gnu_ld=no
++  fi
++  ;;
++
++esac
++
++ld_shlibs=yes
++if test "$with_gnu_ld" = yes; then
++  # If archive_cmds runs LD, not CC, wlarc should be empty
++  wlarc='${wl}'
++
++  # See if GNU ld supports shared libraries.
++  case $host_os in
++  aix3* | aix4* | aix5*)
++    # On AIX, the GNU linker is very broken
++    # Note:Check GNU linker on AIX 5-IA64 when/if it becomes available.
++    ld_shlibs=no
++    cat <<EOF 1>&2
++
++*** Warning: the GNU linker, at least up to release 2.9.1, is reported
++*** to be unable to reliably create shared libraries on AIX.
++*** Therefore, libtool is disabling shared libraries support.  If you
++*** really care for shared libraries, you may want to modify your PATH
++*** so that a non-GNU linker is found, and then restart.
++
++EOF
++    ;;
++
++  amigaos*)
++    archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
++    hardcode_libdir_flag_spec='-L$libdir'
++    hardcode_minus_L=yes
++
++    # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
++    # that the semantics of dynamic libraries on AmigaOS, at least up
++    # to version 4, is to share data among multiple programs linked
++    # with the same dynamic library.  Since this doesn't match the
++    # behavior of shared libraries on other platforms, we can use
++    # them.
++    ld_shlibs=no
++    ;;
++
++  beos*)
++    if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
++      allow_undefined_flag=unsupported
++      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
++      # support --undefined.  This deserves some investigation.  FIXME
++      archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++    else
++      ld_shlibs=no
++    fi
++    ;;
++
++  cygwin* | mingw* | pw32*)
++    # hardcode_libdir_flag_spec is actually meaningless, as there is
++    # no search path for DLLs.
++    hardcode_libdir_flag_spec='-L$libdir'
++    allow_undefined_flag=unsupported
++    always_export_symbols=yes
++
++    extract_expsyms_cmds='test -f $output_objdir/impgen.c || \
++      sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~
++      test -f $output_objdir/impgen.exe || (cd $output_objdir && \
++      if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \
++      else $CC -o impgen impgen.c ; fi)~
++      $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def'
++
++    old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib'
++
++    # cygwin and mingw dlls have different entry points and sets of symbols
++    # to exclude.
++    # FIXME: what about values for MSVC?
++    dll_entry=__cygwin_dll_entry@12
++    dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~
++    case $host_os in
++    mingw*)
++      # mingw values
++      dll_entry=_DllMainCRTStartup@12
++      dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~
++      ;;
++    esac
++
++    # mingw and cygwin differ, and it's simplest to just exclude the union
++    # of the two symbol sets.
++    dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12
++
++    # recent cygwin and mingw systems supply a stub DllMain which the user
++    # can override, but on older systems we have to supply one (in ltdll.c)
++    if test "x$lt_cv_need_dllmain" = "xyes"; then
++      ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext "
++      ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < [$]0 > $output_objdir/$soname-ltdll.c~
++	test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~'
++    else
++      ltdll_obj=
++      ltdll_cmds=
++    fi
++
++    # Extract the symbol export list from an `--export-all' def file,
++    # then regenerate the def file from the symbol export list, so that
++    # the compiled dll only exports the symbol export list.
++    # Be careful not to strip the DATA tag left be newer dlltools.
++    export_symbols_cmds="$ltdll_cmds"'
++      $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~
++      [sed -e "1,/EXPORTS/d" -e "s/ @ [0-9]*//" -e "s/ *;.*$//"] < $output_objdir/$soname-def > $export_symbols'
++
++    # If the export-symbols file already is a .def file (1st line
++    # is EXPORTS), use it as is.
++    # If DATA tags from a recent dlltool are present, honour them!
++    archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then
++        cp $export_symbols $output_objdir/$soname-def;
++      else
++        echo EXPORTS > $output_objdir/$soname-def;
++        _lt_hint=1;
++        cat $export_symbols | while read symbol; do
++         set dummy \$symbol;
++         case \[$]# in
++           2) echo "   \[$]2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
++           *) echo "     \[$]2 @ \$_lt_hint \[$]3 ; " >> $output_objdir/$soname-def;;
++         esac;
++         _lt_hint=`expr 1 + \$_lt_hint`;
++        done;
++      fi~
++      '"$ltdll_cmds"'
++      $CC -Wl,--base-file,$output_objdir/$soname-base '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
++      $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp~
++      $CC -Wl,--base-file,$output_objdir/$soname-base $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
++      $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp --output-lib $output_objdir/$libname.dll.a~
++      $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags'
++    ;;
++
++  netbsd*)
++    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++      archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
++      wlarc=
++    else
++      archive_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++      archive_expsym_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++    fi
++    ;;
++
++  solaris* | sysv5*)
++    if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then
++      ld_shlibs=no
++      cat <<EOF 1>&2
++
++*** Warning: The releases 2.8.* of the GNU linker cannot reliably
++*** create shared libraries on Solaris systems.  Therefore, libtool
++*** is disabling shared libraries support.  We urge you to upgrade GNU
++*** binutils to release 2.9.1 or newer.  Another option is to modify
++*** your PATH or compiler configuration so that the native linker is
++*** used, and then restart.
++
++EOF
++    elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
++      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++      archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++    else
++      ld_shlibs=no
++    fi
++    ;;
++
++  sunos4*)
++    archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++    wlarc=
++    hardcode_direct=yes
++    hardcode_shlibpath_var=no
++    ;;
++
++  *)
++    if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
++      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++      archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++    else
++      ld_shlibs=no
++    fi
++    ;;
++  esac
++
++  if test "$ld_shlibs" = yes; then
++    runpath_var=LD_RUN_PATH
++    hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
++    export_dynamic_flag_spec='${wl}--export-dynamic'
++    case $host_os in
++    cygwin* | mingw* | pw32*)
++      # dlltool doesn't understand --whole-archive et. al.
++      whole_archive_flag_spec=
++      ;;
++    *)
++      # ancient GNU ld didn't support --whole-archive et. al.
++      if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then
++	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
++      else
++	whole_archive_flag_spec=
++      fi
++      ;;
++    esac
++  fi
++else
++  # PORTME fill in a description of your system's linker (not GNU ld)
++  case $host_os in
++  aix3*)
++    allow_undefined_flag=unsupported
++    always_export_symbols=yes
++    archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
++    # Note: this linker hardcodes the directories in LIBPATH if there
++    # are no directories specified by -L.
++    hardcode_minus_L=yes
++    if test "$GCC" = yes && test -z "$link_static_flag"; then
++      # Neither direct hardcoding nor static linking is supported with a
++      # broken collect2.
++      hardcode_direct=unsupported
++    fi
++    ;;
++
++  aix4* | aix5*)
++    # When large executables or shared objects are built, AIX ld can
++    # have problems creating the table of contents.  If linking a library
++    # or program results in "error TOC overflow" add -mminimal-toc to
++    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
++    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
++
++    archive_cmds=''
++    hardcode_libdir_separator=':'
++    if test "$GCC" = yes; then
++      collect2name=`${CC} -print-prog-name=collect2`
++      if test -f "$collect2name" && \
++	 strings "$collect2name" | grep resolve_lib_name >/dev/null
++      then
++	# We have reworked collect2
++	hardcode_direct=yes
++      else
++        # We have old collect2
++        hardcode_direct=unsupported
++        # It fails to find uninstalled libraries when the uninstalled
++        # path is not listed in the libpath.  Setting hardcode_minus_L
++        # to unsupported forces relinking
++        hardcode_minus_L=yes
++        hardcode_libdir_flag_spec='-L$libdir'
++        hardcode_libdir_separator=
++      fi
++      shared_flag='-shared'
++    else
++      if test "$host_cpu" = ia64; then
++        shared_flag='-G'
++      else
++        shared_flag='${wl}-bM:SRE'
++      fi
++      hardcode_direct=yes
++    fi
++
++    if test "$host_cpu" = ia64; then
++      # On IA64, the linker does run time linking by default, so we don't
++      # have to do anything special.
++      aix_use_runtimelinking=no
++      exp_sym_flag='-Bexport'
++      no_entry_flag=""
++    else
++      # Test if we are trying to use run time linking, or normal AIX style linking.
++      # If -brtl is somewhere in LDFLAGS, we need to do run time linking.
++      aix_use_runtimelinking=no
++      for ld_flag in $LDFLAGS; do
++        if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl" ); then
++          aix_use_runtimelinking=yes
++          break
++        fi
++      done
++      exp_sym_flag='-bexport'
++      no_entry_flag='-bnoentry'
++    fi
++    # It seems that -bexpall can do strange things, so it is better to
++    # generate a list of symbols to export.
++    always_export_symbols=yes
++    if test "$aix_use_runtimelinking" = yes; then
++      hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib'
++      allow_undefined_flag=' -Wl,-G'
++      archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
++    else
++      if test "$host_cpu" = ia64; then
++        hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
++       allow_undefined_flag="-znodefs"
++        archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
++      else
++        hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib'
++        # Warning - without using the other run time loading flags, -berok will
++        #           link without error, but may produce a broken library.
++        allow_undefined_flag='${wl}-berok"
++        # This is a bit strange, but is similar to how AIX traditionally builds
++        # it's shared libraries.
++        archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $objdir/$libname$release.a $objdir/$soname'
++      fi
++    fi
++    ;;
++
++  amigaos*)
++    archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
++    hardcode_libdir_flag_spec='-L$libdir'
++    hardcode_minus_L=yes
++    # see comment about different semantics on the GNU ld section
++    ld_shlibs=no
++    ;;
++
++  cygwin* | mingw* | pw32*)
++    # When not using gcc, we currently assume that we are using
++    # Microsoft Visual C++.
++    # hardcode_libdir_flag_spec is actually meaningless, as there is
++    # no search path for DLLs.
++    hardcode_libdir_flag_spec=' '
++    allow_undefined_flag=unsupported
++    # Tell ltmain to make .lib files, not .a files.
++    libext=lib
++    # FIXME: Setting linknames here is a bad hack.
++    archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames='
++    # The linker will automatically build a .lib file if we build a DLL.
++    old_archive_from_new_cmds='true'
++    # FIXME: Should let the user specify the lib program.
++    old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
++    fix_srcfile_path='`cygpath -w "$srcfile"`'
++    ;;
++
++  darwin* | rhapsody*)
++    allow_undefined_flag='-undefined suppress'
++    # FIXME: Relying on posixy $() will cause problems for
++    #        cross-compilation, but unfortunately the echo tests do not
++    #        yet detect zsh echo's removal of \ escapes.
++    archive_cmds='$CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linkopts -install_name $rpath/$soname $(test -n "$verstring" -a x$verstring != x0.0 && echo $verstring)'
++    # We need to add '_' to the symbols in $export_symbols first
++    #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
++    hardcode_direct=yes
++    hardcode_shlibpath_var=no
++    whole_archive_flag_spec='-all_load $convenience'
++    ;;
++
++  freebsd1*)
++    ld_shlibs=no
++    ;;
++
++  # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
++  # support.  Future versions do this automatically, but an explicit c++rt0.o
++  # does not break anything, and helps significantly (at the cost of a little
++  # extra space).
++  freebsd2.2*)
++    archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
++    hardcode_libdir_flag_spec='-R$libdir'
++    hardcode_direct=yes
++    hardcode_shlibpath_var=no
++    ;;
++
++  # Unfortunately, older versions of FreeBSD 2 do not have this feature.
++  freebsd2*)
++    archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++    hardcode_direct=yes
++    hardcode_minus_L=yes
++    hardcode_shlibpath_var=no
++    ;;
++
++  # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
++  freebsd*)
++    archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
++    hardcode_libdir_flag_spec='-R$libdir'
++    hardcode_direct=yes
++    hardcode_shlibpath_var=no
++    ;;
++
++  hpux9* | hpux10* | hpux11*)
++    case $host_os in
++    hpux9*) archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ;;
++    *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;;
++    esac
++    hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
++    hardcode_libdir_separator=:
++    hardcode_direct=yes
++    hardcode_minus_L=yes # Not in the search PATH, but as the default
++			 # location of the library.
++    export_dynamic_flag_spec='${wl}-E'
++    ;;
++
++  irix5* | irix6*)
++    if test "$GCC" = yes; then
++      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++    else
++      archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
++    fi
++    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
++    hardcode_libdir_separator=:
++    link_all_deplibs=yes
++    ;;
++
++  netbsd*)
++    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
++    else
++      archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
++    fi
++    hardcode_libdir_flag_spec='-R$libdir'
++    hardcode_direct=yes
++    hardcode_shlibpath_var=no
++    ;;
++
++  newsos6)
++    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linkopts'
++    hardcode_direct=yes
++    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
++    hardcode_libdir_separator=:
++    hardcode_shlibpath_var=no
++    ;;
++
++  openbsd*)
++    archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++    hardcode_libdir_flag_spec='-R$libdir'
++    hardcode_direct=yes
++    hardcode_shlibpath_var=no
++    ;;
++
++  os2*)
++    hardcode_libdir_flag_spec='-L$libdir'
++    hardcode_minus_L=yes
++    allow_undefined_flag=unsupported
++    archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
++    old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
++    ;;
++
++  osf3*)
++    if test "$GCC" = yes; then
++      allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
++      archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++    else
++      allow_undefined_flag=' -expect_unresolved \*'
++      archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
++    fi
++    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
++    hardcode_libdir_separator=:
++    ;;
++
++  osf4* | osf5*)	# as osf3* with the addition of -msym flag
++    if test "$GCC" = yes; then
++      allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
++      archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
++    else
++      allow_undefined_flag=' -expect_unresolved \*'
++      archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
++      archive_expsym_cmds='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
++      $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
++
++      #Both c and cxx compiler support -rpath directly
++      hardcode_libdir_flag_spec='-rpath $libdir'
++    fi
++    hardcode_libdir_separator=:
++    ;;
++
++  sco3.2v5*)
++    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++    hardcode_shlibpath_var=no
++    runpath_var=LD_RUN_PATH
++    hardcode_runpath_var=yes
++    ;;
++
++  solaris*)
++    no_undefined_flag=' -z defs'
++    # $CC -shared without GNU ld will not create a library from C++
++    # object files and a static libstdc++, better avoid it by now
++    archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
++    archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++		$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
++    hardcode_libdir_flag_spec='-R$libdir'
++    hardcode_shlibpath_var=no
++    case $host_os in
++    [solaris2.[0-5] | solaris2.[0-5].*]) ;;
++    *) # Supported since Solaris 2.6 (maybe 2.5.1?)
++      whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
++    esac
++    link_all_deplibs=yes
++    ;;
++
++  sunos4*)
++    if test "x$host_vendor" = xsequent; then
++      # Use $CC to link under sequent, because it throws in some extra .o
++      # files that make .init and .fini sections work.
++      archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
++    else
++      archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
++    fi
++    hardcode_libdir_flag_spec='-L$libdir'
++    hardcode_direct=yes
++    hardcode_minus_L=yes
++    hardcode_shlibpath_var=no
++    ;;
++
++  sysv4)
++    if test "x$host_vendor" = xsno; then
++      archive_cmds='$LD -G -Bsymbolic -h $soname -o $lib $libobjs $deplibs $linkopts'
++      hardcode_direct=yes # is this really true???
++    else
++      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_direct=no #Motorola manual says yes, but my tests say they lie
++    fi
++    runpath_var='LD_RUN_PATH'
++    hardcode_shlibpath_var=no
++    ;;
++
++  sysv4.3*)
++    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++    hardcode_shlibpath_var=no
++    export_dynamic_flag_spec='-Bexport'
++    ;;
++
++  sysv5*)
++    no_undefined_flag=' -z text'
++    # $CC -shared without GNU ld will not create a library from C++
++    # object files and a static libstdc++, better avoid it by now
++    archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
++    archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++		$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
++    hardcode_libdir_flag_spec=
++    hardcode_shlibpath_var=no
++    runpath_var='LD_RUN_PATH'
++    ;;
++
++  uts4*)
++    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++    hardcode_libdir_flag_spec='-L$libdir'
++    hardcode_shlibpath_var=no
++    ;;
++
++  dgux*)
++    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++    hardcode_libdir_flag_spec='-L$libdir'
++    hardcode_shlibpath_var=no
++    ;;
++
++  sysv4*MP*)
++    if test -d /usr/nec; then
++      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_shlibpath_var=no
++      runpath_var=LD_RUN_PATH
++      hardcode_runpath_var=yes
++      ld_shlibs=yes
++    fi
++    ;;
++
++  sysv4.2uw2*)
++    archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
++    hardcode_direct=yes
++    hardcode_minus_L=no
++    hardcode_shlibpath_var=no
++    hardcode_runpath_var=yes
++    runpath_var=LD_RUN_PATH
++    ;;
++
++  sysv5uw7* | unixware7*)
++    no_undefined_flag='${wl}-z ${wl}text'
++    if test "$GCC" = yes; then
++      archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++    else
++      archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++    fi
++    runpath_var='LD_RUN_PATH'
++    hardcode_shlibpath_var=no
++    ;;
++
++  *)
++    ld_shlibs=no
++    ;;
++  esac
++fi
++AC_MSG_RESULT([$ld_shlibs])
++test "$ld_shlibs" = no && can_build_shared=no
++
++# Check hardcoding attributes.
++AC_MSG_CHECKING([how to hardcode library paths into programs])
++hardcode_action=
++if test -n "$hardcode_libdir_flag_spec" || \
++   test -n "$runpath_var"; then
++
++  # We can hardcode non-existant directories.
++  if test "$hardcode_direct" != no &&
++     # If the only mechanism to avoid hardcoding is shlibpath_var, we
++     # have to relink, otherwise we might link with an installed library
++     # when we should be linking with a yet-to-be-installed one
++     ## test "$hardcode_shlibpath_var" != no &&
++     test "$hardcode_minus_L" != no; then
++    # Linking always hardcodes the temporary library directory.
++    hardcode_action=relink
++  else
++    # We can link without hardcoding, and we can hardcode nonexisting dirs.
++    hardcode_action=immediate
++  fi
++else
++  # We cannot hardcode anything, or else we can only hardcode existing
++  # directories.
++  hardcode_action=unsupported
++fi
++AC_MSG_RESULT([$hardcode_action])
++
++striplib=
++old_striplib=
++AC_MSG_CHECKING([whether stripping libraries is possible])
++if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
++  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
++  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
++  AC_MSG_RESULT([yes])
++else
++  AC_MSG_RESULT([no])
++fi
++
++reload_cmds='$LD$reload_flag -o $output$reload_objs'
++test -z "$deplibs_check_method" && deplibs_check_method=unknown
++
++# PORTME Fill in your ld.so characteristics
++AC_MSG_CHECKING([dynamic linker characteristics])
++library_names_spec=
++libname_spec='lib$name'
++soname_spec=
++postinstall_cmds=
++postuninstall_cmds=
++finish_cmds=
++finish_eval=
++shlibpath_var=
++shlibpath_overrides_runpath=unknown
++version_type=none
++dynamic_linker="$host_os ld.so"
++sys_lib_dlsearch_path_spec="/lib /usr/lib"
++sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
++
++case $host_os in
++aix3*)
++  version_type=linux
++  library_names_spec='${libname}${release}.so$versuffix $libname.a'
++  shlibpath_var=LIBPATH
++
++  # AIX has no versioning support, so we append a major version to the name.
++  soname_spec='${libname}${release}.so$major'
++  ;;
++
++aix4* | aix5*)
++  version_type=linux
++  if test "$host_cpu" = ia64; then
++    # AIX 5 supports IA64
++    library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so'
++    shlibpath_var=LD_LIBRARY_PATH
++  else
++    # With GCC up to 2.95.x, collect2 would create an import file
++    # for dependence libraries.  The import file would start with
++    # the line `#! .'.  This would cause the generated library to
++    # depend on `.', always an invalid library.  This was fixed in
++    # development snapshots of GCC prior to 3.0.
++    case $host_os in
++      [ aix4 | aix4.[01] | aix4.[01].*)]
++      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
++           echo ' yes '
++           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
++        :
++      else
++        can_build_shared=no
++      fi
++      ;;
++    esac
++    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
++    # soname into executable. Probably we can add versioning support to
++    # collect2, so additional links can be useful in future.
++    if test "$aix_use_runtimelinking" = yes; then
++      # If using run time linking (on AIX 4.2 or later) use lib<name>.so instead of
++      # lib<name>.a to let people know that these are not typical AIX shared libraries.
++      library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++    else
++      # We preserve .a as extension for shared libraries through AIX4.2
++      # and later when we are not doing run time linking.
++      library_names_spec='${libname}${release}.a $libname.a'
++      soname_spec='${libname}${release}.so$major'
++    fi
++    shlibpath_var=LIBPATH
++    deplibs_check_method=pass_all
++  fi
++  ;;
++
++amigaos*)
++  library_names_spec='$libname.ixlibrary $libname.a'
++  # Create ${libname}_ixlibrary.a entries in /sys/libs.
++  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | [$Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\'']`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done'
++  ;;
++
++beos*)
++  library_names_spec='${libname}.so'
++  dynamic_linker="$host_os ld.so"
++  shlibpath_var=LIBRARY_PATH
++  ;;
++
++bsdi4*)
++  version_type=linux
++  need_version=no
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  soname_spec='${libname}${release}.so$major'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
++  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
++  export_dynamic_flag_spec=-rdynamic
++  # the default ld.so.conf also contains /usr/contrib/lib and
++  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
++  # libtool to hard-code these into programs
++  ;;
++
++cygwin* | mingw* | pw32*)
++  version_type=windows
++  need_version=no
++  need_lib_prefix=no
++  case $GCC,$host_os in
++  yes,cygwin*)
++    library_names_spec='$libname.dll.a'
++    soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | [sed -e 's/[.]/-/g']`${versuffix}.dll'
++    postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~
++      dldir=$destdir/`dirname \$dlpath`~
++      test -d \$dldir || mkdir -p \$dldir~
++      $install_prog .libs/$dlname \$dldir/$dlname'
++    postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~
++      dlpath=$dir/\$dldll~
++       $rm \$dlpath'
++    ;;
++  yes,mingw*)
++    library_names_spec='${libname}`echo ${release} | [sed -e 's/[.]/-/g']`${versuffix}.dll'
++    sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g"`
++    ;;
++  yes,pw32*)
++    library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
++    ;;
++  *)
++    library_names_spec='${libname}`echo ${release} | [sed -e 's/[.]/-/g']`${versuffix}.dll $libname.lib'
++    ;;
++  esac
++  dynamic_linker='Win32 ld.exe'
++  # FIXME: first we should search . and the directory the executable is in
++  shlibpath_var=PATH
++  ;;
++
++darwin* | rhapsody*)
++  dynamic_linker="$host_os dyld"
++  version_type=darwin
++  need_lib_prefix=no
++  need_version=no
++  # FIXME: Relying on posixy $() will cause problems for
++  #        cross-compilation, but unfortunately the echo tests do not
++  #        yet detect zsh echo's removal of \ escapes.
++  library_names_spec='${libname}${release}${versuffix}.$(test .$module = .yes && echo so || echo dylib) ${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib) ${libname}.$(test .$module = .yes && echo so || echo dylib)'
++  soname_spec='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)'
++  shlibpath_overrides_runpath=yes
++  shlibpath_var=DYLD_LIBRARY_PATH
++  ;;
++
++freebsd1*)
++  dynamic_linker=no
++  ;;
++
++freebsd*)
++  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
++  version_type=freebsd-$objformat
++  case $version_type in
++    freebsd-elf*)
++      library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
++      need_version=no
++      need_lib_prefix=no
++      ;;
++    freebsd-*)
++      library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix'
++      need_version=yes
++      ;;
++  esac
++  shlibpath_var=LD_LIBRARY_PATH
++  case $host_os in
++  freebsd2*)
++    shlibpath_overrides_runpath=yes
++    ;;
++  *)
++    shlibpath_overrides_runpath=no
++    hardcode_into_libs=yes
++    ;;
++  esac
++  ;;
++
++gnu*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so'
++  soname_spec='${libname}${release}.so$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  hardcode_into_libs=yes
++  ;;
++
++hpux9* | hpux10* | hpux11*)
++  # Give a soname corresponding to the major version so that dld.sl refuses to
++  # link against other versions.
++  dynamic_linker="$host_os dld.sl"
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=no
++  shlibpath_var=SHLIB_PATH
++  shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
++  library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl'
++  soname_spec='${libname}${release}.sl$major'
++  # HP-UX runs *really* slowly unless shared libraries are mode 555.
++  postinstall_cmds='chmod 555 $lib'
++  ;;
++
++irix5* | irix6*)
++  version_type=irix
++  need_lib_prefix=no
++  need_version=no
++  soname_spec='${libname}${release}.so$major'
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so'
++  case $host_os in
++  irix5*)
++    libsuff= shlibsuff=
++    ;;
++  *)
++    case $LD in # libtool.m4 will add one of these switches to LD
++    *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;;
++    *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;;
++    *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;;
++    *) libsuff= shlibsuff= libmagic=never-match;;
++    esac
++    ;;
++  esac
++  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
++  shlibpath_overrides_runpath=no
++  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
++  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
++  ;;
++
++# No shared lib support for Linux oldld, aout, or coff.
++linux-gnuoldld* | linux-gnuaout* | linux-gnucoff*)
++  dynamic_linker=no
++  ;;
++
++# This must be Linux ELF.
++linux-gnu*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  soname_spec='${libname}${release}.so$major'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=no
++  # This implies no fast_install, which is unacceptable.
++  # Some rework will be needed to allow for fast_install
++  # before this can be enabled.
++  hardcode_into_libs=yes
++
++  # We used to test for /lib/ld.so.1 and disable shared libraries on
++  # powerpc, because MkLinux only supported shared libraries with the
++  # GNU dynamic linker.  Since this was broken with cross compilers,
++  # most powerpc-linux boxes support dynamic linking these days and
++  # people can always --disable-shared, the test was removed, and we
++  # assume the GNU/Linux dynamic linker is in use.
++  dynamic_linker='GNU/Linux ld.so'
++  ;;
++
++netbsd*)
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=no
++  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++    library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
++    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
++    dynamic_linker='NetBSD (a.out) ld.so'
++  else
++    library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so'
++    soname_spec='${libname}${release}.so$major'
++    dynamic_linker='NetBSD ld.elf_so'
++  fi
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  hardcode_into_libs=yes
++  ;;
++
++newsos6)
++  version_type=linux
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  ;;
++
++openbsd*)
++  version_type=sunos
++  if test "$with_gnu_ld" = yes; then
++    need_lib_prefix=no
++    need_version=no
++  fi
++  library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++os2*)
++  libname_spec='$name'
++  need_lib_prefix=no
++  library_names_spec='$libname.dll $libname.a'
++  dynamic_linker='OS/2 ld.exe'
++  shlibpath_var=LIBPATH
++  ;;
++
++osf3* | osf4* | osf5*)
++  version_type=osf
++  need_version=no
++  soname_spec='${libname}${release}.so'
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
++  shlibpath_var=LD_LIBRARY_PATH
++  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
++  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
++  ;;
++
++sco3.2v5*)
++  version_type=osf
++  soname_spec='${libname}${release}.so$major'
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++solaris*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  soname_spec='${libname}${release}.so$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  hardcode_into_libs=yes
++  # ldd complains unless libraries are executable
++  postinstall_cmds='chmod +x $lib'
++  ;;
++
++sunos4*)
++  version_type=sunos
++  library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
++  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  if test "$with_gnu_ld" = yes; then
++    need_lib_prefix=no
++  fi
++  need_version=yes
++  ;;
++
++sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
++  version_type=linux
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  soname_spec='${libname}${release}.so$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  case $host_vendor in
++    sni)
++      shlibpath_overrides_runpath=no
++      ;;
++    motorola)
++      need_lib_prefix=no
++      need_version=no
++      shlibpath_overrides_runpath=no
++      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
++      ;;
++  esac
++  ;;
++
++uts4*)
++  version_type=linux
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  soname_spec='${libname}${release}.so$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++dgux*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  soname_spec='${libname}${release}.so$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++sysv4*MP*)
++  if test -d /usr/nec ;then
++    version_type=linux
++    library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so'
++    soname_spec='$libname.so.$major'
++    shlibpath_var=LD_LIBRARY_PATH
++  fi
++  ;;
++
++*)
++  dynamic_linker=no
++  ;;
++esac
++AC_MSG_RESULT([$dynamic_linker])
++test "$dynamic_linker" = no && can_build_shared=no
++
++# Report the final consequences.
++AC_MSG_CHECKING([if libtool supports shared libraries])
++AC_MSG_RESULT([$can_build_shared])
++
++if test "$hardcode_action" = relink; then
++  # Fast installation is not supported
++  enable_fast_install=no
++elif test "$shlibpath_overrides_runpath" = yes ||
++     test "$enable_shared" = no; then
++  # Fast installation is not necessary
++  enable_fast_install=needless
++fi
++
++variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
++if test "$GCC" = yes; then
++  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
++fi
++
++AC_LIBTOOL_DLOPEN_SELF
++
++if test "$enable_shared" = yes && test "$GCC" = yes; then
++  case $archive_cmds in
++  *'~'*)
++    # FIXME: we may have to deal with multi-command sequences.
++    ;;
++  '$CC '*)
++    # Test whether the compiler implicitly links with -lc since on some
++    # systems, -lgcc has to come before -lc. If gcc already passes -lc
++    # to ld, don't add -lc before -lgcc.
++    AC_MSG_CHECKING([whether -lc should be explicitly linked in])
++    AC_CACHE_VAL([lt_cv_archive_cmds_need_lc],
++    [$rm conftest*
++    echo 'static int dummy;' > conftest.$ac_ext
++
++    if AC_TRY_EVAL(ac_compile); then
++      soname=conftest
++      lib=conftest
++      libobjs=conftest.$ac_objext
++      deplibs=
++      wl=$lt_cv_prog_cc_wl
++      compiler_flags=-v
++      linker_flags=-v
++      verstring=
++      output_objdir=.
++      libname=conftest
++      save_allow_undefined_flag=$allow_undefined_flag
++      allow_undefined_flag=
++      if AC_TRY_EVAL(archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1)
++      then
++	lt_cv_archive_cmds_need_lc=no
++      else
++	lt_cv_archive_cmds_need_lc=yes
++      fi
++      allow_undefined_flag=$save_allow_undefined_flag
++    else
++      cat conftest.err 1>&5
++    fi])
++    AC_MSG_RESULT([$lt_cv_archive_cmds_need_lc])
++    ;;
++  esac
++fi
++need_lc=${lt_cv_archive_cmds_need_lc-yes}
++
++# The second clause should only fire when bootstrapping the
++# libtool distribution, otherwise you forgot to ship ltmain.sh
++# with your package, and you will get complaints that there are
++# no rules to generate ltmain.sh.
++if test -f "$ltmain"; then
++  :
++else
++  # If there is no Makefile yet, we rely on a make rule to execute
++  # `config.status --recheck' to rerun these tests and create the
++  # libtool script then.
++  test -f Makefile && make "$ltmain"
++fi
++
++if test -f "$ltmain"; then
++  trap "$rm \"${ofile}T\"; exit 1" 1 2 15
++  $rm -f "${ofile}T"
++
++  echo creating $ofile
++
++  # Now quote all the things that may contain metacharacters while being
++  # careful not to overquote the AC_SUBSTed values.  We take copies of the
++  # variables and quote the copies for generation of the libtool script.
++  for var in echo old_CC old_CFLAGS \
++    AR AR_FLAGS CC LD LN_S NM SHELL \
++    reload_flag reload_cmds wl \
++    pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \
++    thread_safe_flag_spec whole_archive_flag_spec libname_spec \
++    library_names_spec soname_spec \
++    RANLIB old_archive_cmds old_archive_from_new_cmds old_postinstall_cmds \
++    old_postuninstall_cmds archive_cmds archive_expsym_cmds postinstall_cmds \
++    postuninstall_cmds extract_expsyms_cmds old_archive_from_expsyms_cmds \
++    old_striplib striplib file_magic_cmd export_symbols_cmds \
++    deplibs_check_method allow_undefined_flag no_undefined_flag \
++    finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \
++    hardcode_libdir_flag_spec hardcode_libdir_separator  \
++    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
++    compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do
++
++    case $var in
++    reload_cmds | old_archive_cmds | old_archive_from_new_cmds | \
++    old_postinstall_cmds | old_postuninstall_cmds | \
++    export_symbols_cmds | archive_cmds | archive_expsym_cmds | \
++    extract_expsyms_cmds | old_archive_from_expsyms_cmds | \
++    postinstall_cmds | postuninstall_cmds | \
++    finish_cmds | sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
++      # Double-quote double-evaled strings.
++      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
++      ;;
++    *)
++      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
++      ;;
++    esac
++  done
++
++  cat <<__EOF__ > "${ofile}T"
++#! $SHELL
++
++# `$echo "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
++# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
++# NOTE: Changes made to this file will be lost: look at ltmain.sh.
++#
++# Copyright (C) 1996-2000 Free Software Foundation, Inc.
++# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
++#
++# 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
++#
++# As a special exception to the GNU General Public License, if you
++# distribute this file as part of a program that contains a
++# configuration script generated by Autoconf, you may include it under
++# the same distribution terms that you use for the rest of that program.
++
++# Sed that helps us avoid accidentally triggering echo(1) options like -n.
++Xsed="sed -e s/^X//"
++
++# The HP-UX ksh and POSIX shell print the target directory to stdout
++# if CDPATH is set.
++if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
++
++# ### BEGIN LIBTOOL CONFIG
++
++# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
++
++# Shell to use when invoking shell scripts.
++SHELL=$lt_SHELL
++
++# Whether or not to build shared libraries.
++build_libtool_libs=$enable_shared
++
++# Whether or not to add -lc for building shared libraries.
++build_libtool_need_lc=$need_lc
++
++# Whether or not to build static libraries.
++build_old_libs=$enable_static
++
++# Whether or not to optimize for fast installation.
++fast_install=$enable_fast_install
++
++# The host system.
++host_alias=$host_alias
++host=$host
++
++# An echo program that does not interpret backslashes.
++echo=$lt_echo
++
++# The archiver.
++AR=$lt_AR
++AR_FLAGS=$lt_AR_FLAGS
++
++# The default C compiler.
++CC=$lt_CC
++
++# Is the compiler the GNU C compiler?
++with_gcc=$GCC
++
++# The linker used to build libraries.
++LD=$lt_LD
++
++# Whether we need hard or soft links.
++LN_S=$lt_LN_S
++
++# A BSD-compatible nm program.
++NM=$lt_NM
++
++# A symbol stripping program
++STRIP=$STRIP
++
++# Used to examine libraries when file_magic_cmd begins "file"
++MAGIC_CMD=$MAGIC_CMD
++
++# Used on cygwin: DLL creation program.
++DLLTOOL="$DLLTOOL"
++
++# Used on cygwin: object dumper.
++OBJDUMP="$OBJDUMP"
++
++# Used on cygwin: assembler.
++AS="$AS"
++
++# The name of the directory that contains temporary libtool files.
++objdir=$objdir
++
++# How to create reloadable object files.
++reload_flag=$lt_reload_flag
++reload_cmds=$lt_reload_cmds
++
++# How to pass a linker flag through the compiler.
++wl=$lt_wl
++
++# Object file suffix (normally "o").
++objext="$ac_objext"
++
++# Old archive suffix (normally "a").
++libext="$libext"
++
++# Executable file suffix (normally "").
++exeext="$exeext"
++
++# Additional compiler flags for building library objects.
++pic_flag=$lt_pic_flag
++pic_mode=$pic_mode
++
++# Does compiler simultaneously support -c and -o options?
++compiler_c_o=$lt_compiler_c_o
++
++# Can we write directly to a .lo ?
++compiler_o_lo=$lt_compiler_o_lo
++
++# Must we lock files when doing compilation ?
++need_locks=$lt_need_locks
++
++# Do we need the lib prefix for modules?
++need_lib_prefix=$need_lib_prefix
++
++# Do we need a version for libraries?
++need_version=$need_version
++
++# Whether dlopen is supported.
++dlopen_support=$enable_dlopen
++
++# Whether dlopen of programs is supported.
++dlopen_self=$enable_dlopen_self
++
++# Whether dlopen of statically linked programs is supported.
++dlopen_self_static=$enable_dlopen_self_static
++
++# Compiler flag to prevent dynamic linking.
++link_static_flag=$lt_link_static_flag
++
++# Compiler flag to turn off builtin functions.
++no_builtin_flag=$lt_no_builtin_flag
++
++# Compiler flag to allow reflexive dlopens.
++export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
++
++# Compiler flag to generate shared objects directly from archives.
++whole_archive_flag_spec=$lt_whole_archive_flag_spec
+ 
+-dnl
+-dnl Test for __attribute__
+-dnl
++# Compiler flag to generate thread-safe objects.
++thread_safe_flag_spec=$lt_thread_safe_flag_spec
+ 
+-AC_DEFUN(AC_C___ATTRIBUTE__, [
+-AC_MSG_CHECKING(for __attribute__)
+-AC_CACHE_VAL(ac_cv___attribute__, [
+-AC_TRY_COMPILE([
+-#include <stdlib.h>
+-],
+-[
+-static void foo(void) __attribute__ ((noreturn));
++# Library versioning type.
++version_type=$version_type
+ 
+-static void
+-foo(void)
+-{
+-  exit(1);
+-}
+-],
+-ac_cv___attribute__=yes,
+-ac_cv___attribute__=no)])
+-if test "$ac_cv___attribute__" = "yes"; then
+-  AC_DEFINE(HAVE___ATTRIBUTE__, 1, [define if your compiler has __attribute__])
+-fi
+-AC_MSG_RESULT($ac_cv___attribute__)
+-])
++# Format of library name prefix.
++libname_spec=$lt_libname_spec
+ 
++# List of archive names.  First name is the real one, the rest are links.
++# The last name is the one that the linker finds with -lNAME.
++library_names_spec=$lt_library_names_spec
+ 
++# The coded name of the library, if different from the real name.
++soname_spec=$lt_soname_spec
+ 
+-# serial 44 AC_PROG_LIBTOOL
+-AC_DEFUN(AC_PROG_LIBTOOL,[AC_REQUIRE([_AC_PROG_LIBTOOL])])
+-AC_DEFUN(_AC_PROG_LIBTOOL,
+-[AC_REQUIRE([AC_LIBTOOL_SETUP])dnl
++# Commands used to build and install an old-style archive.
++RANLIB=$lt_RANLIB
++old_archive_cmds=$lt_old_archive_cmds
++old_postinstall_cmds=$lt_old_postinstall_cmds
++old_postuninstall_cmds=$lt_old_postuninstall_cmds
+ 
+-# Save cache, so that ltconfig can load it
+-AC_CACHE_SAVE
++# Create an old-style archive from a shared archive.
++old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
+ 
+-# Actually configure libtool.  ac_aux_dir is where install-sh is found.
+-AR="$AR" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
+-MAGIC="$MAGIC" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
+-LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
+-AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
+-objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
+-deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
+-${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
+-$libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
+-|| AC_MSG_ERROR([libtool configure failed])
++# Create a temporary old-style archive to link instead of a shared archive.
++old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
+ 
+-# Reload cache, that may have been modified by ltconfig
+-AC_CACHE_LOAD
++# Commands used to build and install a shared archive.
++archive_cmds=$lt_archive_cmds
++archive_expsym_cmds=$lt_archive_expsym_cmds
++postinstall_cmds=$lt_postinstall_cmds
++postuninstall_cmds=$lt_postuninstall_cmds
+ 
+-# This can be used to rebuild libtool when needed
+-LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh"
++# Commands to strip libraries.
++old_striplib=$lt_old_striplib
++striplib=$lt_striplib
+ 
+-# Always use our own libtool.
+-LIBTOOL='$(SHELL) $(top_builddir)/libtool'
+-AC_SUBST(LIBTOOL)dnl
++# Method to check whether dependent libraries are shared objects.
++deplibs_check_method=$lt_deplibs_check_method
+ 
+-# Redirect the config.log output again, so that the ltconfig log is not
+-# clobbered by the next message.
+-exec 5>>./config.log
+-])
++# Command to use when deplibs_check_method == file_magic.
++file_magic_cmd=$lt_file_magic_cmd
+ 
+-AC_DEFUN(AC_LIBTOOL_SETUP,
+-[AC_PREREQ(2.13)dnl
+-AC_REQUIRE([AC_ENABLE_SHARED])dnl
+-AC_REQUIRE([AC_ENABLE_STATIC])dnl
+-AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl
+-AC_REQUIRE([AC_CANONICAL_HOST])dnl
+-AC_REQUIRE([AC_CANONICAL_BUILD])dnl
+-AC_REQUIRE([AC_PROG_CC])dnl
+-AC_REQUIRE([AC_PROG_LD])dnl
+-AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl
+-AC_REQUIRE([AC_PROG_NM])dnl
+-AC_REQUIRE([AC_PROG_LN_S])dnl
+-AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl
+-AC_REQUIRE([AC_OBJEXT])dnl
+-AC_REQUIRE([AC_EXEEXT])dnl
+-dnl
++# Flag that allows shared libraries with undefined symbols to be built.
++allow_undefined_flag=$lt_allow_undefined_flag
+ 
+-# Only perform the check for file, if the check method requires it
+-case "$deplibs_check_method" in
+-file_magic*)
+-  if test "$file_magic_cmd" = '${MAGIC}'; then
+-    AC_PATH_MAGIC
+-  fi
+-  ;;
+-esac
++# Flag that forces no undefined symbols.
++no_undefined_flag=$lt_no_undefined_flag
+ 
+-AC_CHECK_TOOL(RANLIB, ranlib, :)
+-AC_CHECK_TOOL(STRIP, strip, :)
++# Commands used to finish a libtool library installation in a directory.
++finish_cmds=$lt_finish_cmds
+ 
+-# Check for any special flags to pass to ltconfig.
+-libtool_flags="--cache-file=$cache_file"
+-test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
+-test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
+-test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
+-test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"
+-test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
+-ifdef([AC_PROVIDE_AC_LIBTOOL_DLOPEN],
+-[libtool_flags="$libtool_flags --enable-dlopen"])
+-ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL],
+-[libtool_flags="$libtool_flags --enable-win32-dll"])
+-AC_ARG_ENABLE(libtool-lock,
+-  [  --disable-libtool-lock  avoid locking (might break parallel builds)])
+-test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
+-test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
++# Same as above, but a single script fragment to be evaled but not shown.
++finish_eval=$lt_finish_eval
+ 
+-AC_ARG_WITH(pic,
+-  [  --with-pic              try to use only PIC/non-PIC objects [default=use both]],
+-     pic_mode="$withval", pic_mode=default)
+-test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
+-test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
++# Take the output of nm and produce a listing of raw symbols and C names.
++global_symbol_pipe=$lt_global_symbol_pipe
+ 
+-# Some flags need to be propagated to the compiler or linker for good
+-# libtool support.
+-case "$host" in
+-*-*-irix6*)
+-  # Find out which ABI we are using.
+-  echo '[#]line __oline__ "configure"' > conftest.$ac_ext
+-  if AC_TRY_EVAL(ac_compile); then
+-    case "`/usr/bin/file conftest.o`" in
+-    *32-bit*)
+-      LD="${LD-ld} -32"
+-      ;;
+-    *N32*)
+-      LD="${LD-ld} -n32"
+-      ;;
+-    *64-bit*)
+-      LD="${LD-ld} -64"
+-      ;;
+-    esac
+-  fi
+-  rm -rf conftest*
+-  ;;
++# Transform the output of nm in a proper C declaration
++global_symbol_to_cdecl=$lt_global_symbol_to_cdecl
+ 
+-*-*-sco3.2v5*)
+-  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
+-  SAVE_CFLAGS="$CFLAGS"
+-  CFLAGS="$CFLAGS -belf"
+-  AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
+-    [AC_LANG_SAVE
+-     AC_LANG_C
+-     AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
+-     AC_LANG_RESTORE])
+-  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
+-    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
+-    CFLAGS="$SAVE_CFLAGS"
+-  fi
+-  ;;
++# This is the shared library runtime path variable.
++runpath_var=$runpath_var
+ 
+-ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL],
+-[*-*-cygwin* | *-*-mingw*)
+-  AC_CHECK_TOOL(DLLTOOL, dlltool, false)
+-  AC_CHECK_TOOL(AS, as, false)
+-  AC_CHECK_TOOL(OBJDUMP, objdump, false)
++# This is the shared library path variable.
++shlibpath_var=$shlibpath_var
+ 
+-  # recent cygwin and mingw systems supply a stub DllMain which the user
+-  # can override, but on older systems we have to supply one
+-  AC_CACHE_CHECK([if libtool should supply DllMain function], lt_cv_need_dllmain,
+-    [AC_TRY_LINK([],
+-      [extern int __attribute__((__stdcall__)) DllMain(void*, int, void*);
+-      DllMain (0, 0, 0);],
+-      [lt_cv_need_dllmain=no],[lt_cv_need_dllmain=yes])])
++# Is shlibpath searched before the hard-coded library search path?
++shlibpath_overrides_runpath=$shlibpath_overrides_runpath
+ 
+-  case "$host/$CC" in
+-  *-*-cygwin*/gcc*-mno-cygwin*|*-*-mingw*)
+-    # old mingw systems require "-dll" to link a DLL, while more recent ones
+-    # require "-mdll"
+-    SAVE_CFLAGS="$CFLAGS"
+-    CFLAGS="$CFLAGS -mdll"
+-    AC_CACHE_CHECK([how to link DLLs], lt_cv_cc_dll_switch,
+-      [AC_TRY_LINK([], [], [lt_cv_cc_dll_switch=-mdll],[lt_cv_cc_dll_switch=-dll])])
+-    CFLAGS="$SAVE_CFLAGS" ;;
+-  *-*-cygwin*)
+-    # cygwin systems need to pass --dll to the linker, and not link
+-    # crt.o which will require a WinMain@16 definition.
+-    lt_cv_cc_dll_switch="-Wl,--dll -nostartfiles" ;;
++# How to hardcode a shared library path into an executable.
++hardcode_action=$hardcode_action
++
++# Whether we should hardcode library paths into libraries.
++hardcode_into_libs=$hardcode_into_libs
++
++# Flag to hardcode \$libdir into a binary during linking.
++# This must work even if \$libdir does not exist.
++hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
++
++# Whether we need a single -rpath flag with a separated argument.
++hardcode_libdir_separator=$lt_hardcode_libdir_separator
++
++# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
++# resulting binary.
++hardcode_direct=$hardcode_direct
++
++# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
++# resulting binary.
++hardcode_minus_L=$hardcode_minus_L
++
++# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
++# the resulting binary.
++hardcode_shlibpath_var=$hardcode_shlibpath_var
++
++# Variables whose values should be saved in libtool wrapper scripts and
++# restored at relink time.
++variables_saved_for_relink="$variables_saved_for_relink"
++
++# Whether libtool must link a program against all its dependency libraries.
++link_all_deplibs=$link_all_deplibs
++
++# Compile-time system search path for libraries
++sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
++
++# Run-time system search path for libraries
++sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
++
++# Fix the shell variable \$srcfile for the compiler.
++fix_srcfile_path="$fix_srcfile_path"
++
++# Set to yes if exported symbols are required.
++always_export_symbols=$always_export_symbols
++
++# The commands to list exported symbols.
++export_symbols_cmds=$lt_export_symbols_cmds
++
++# The commands to extract the exported symbol list from a shared archive.
++extract_expsyms_cmds=$lt_extract_expsyms_cmds
++
++# Symbols that should not be listed in the preloaded symbols.
++exclude_expsyms=$lt_exclude_expsyms
++
++# Symbols that must always be exported.
++include_expsyms=$lt_include_expsyms
++
++# ### END LIBTOOL CONFIG
++
++__EOF__
++
++  case $host_os in
++  aix3*)
++    cat <<\EOF >> "${ofile}T"
++
++# AIX sometimes has problems with the GCC collect2 program.  For some
++# reason, if we set the COLLECT_NAMES environment variable, the problems
++# vanish in a puff of smoke.
++if test "X${COLLECT_NAMES+set}" != Xset; then
++  COLLECT_NAMES=
++  export COLLECT_NAMES
++fi
++EOF
++    ;;
+   esac
+-  ;;
+-  ])
+-esac
+-])
++
++  case $host_os in
++  cygwin* | mingw* | pw32* | os2*)
++    cat <<'EOF' >> "${ofile}T"
++      # This is a source program that is used to create dlls on Windows
++      # Don't remove nor modify the starting and closing comments
++# /* ltdll.c starts here */
++# #define WIN32_LEAN_AND_MEAN
++# #include <windows.h>
++# #undef WIN32_LEAN_AND_MEAN
++# #include <stdio.h>
++#
++# #ifndef __CYGWIN__
++# #  ifdef __CYGWIN32__
++# #    define __CYGWIN__ __CYGWIN32__
++# #  endif
++# #endif
++#
++# #ifdef __cplusplus
++# extern "C" {
++# #endif
++# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
++# #ifdef __cplusplus
++# }
++# #endif
++#
++# #ifdef __CYGWIN__
++# #include <cygwin/cygwin_dll.h>
++# DECLARE_CYGWIN_DLL( DllMain );
++# #endif
++# HINSTANCE __hDllInstance_base;
++#
++# BOOL APIENTRY
++# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
++# {
++#   __hDllInstance_base = hInst;
++#   return TRUE;
++# }
++# /* ltdll.c ends here */
++        # This is a source program that is used to create import libraries
++        # on Windows for dlls which lack them. Don't remove nor modify the
++        # starting and closing comments
++# /* impgen.c starts here */
++# /*   Copyright (C) 1999-2000 Free Software Foundation, Inc.
++#
++#  This file is part of GNU libtool.
++#
++#  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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
++#  */
++#
++# #include <stdio.h>		/* for printf() */
++# #include <unistd.h>		/* for open(), lseek(), read() */
++# #include <fcntl.h>		/* for O_RDONLY, O_BINARY */
++# #include <string.h>		/* for strdup() */
++#
++# /* O_BINARY isn't required (or even defined sometimes) under Unix */
++# #ifndef O_BINARY
++# #define O_BINARY 0
++# #endif
++#
++# static unsigned int
++# pe_get16 (fd, offset)
++#      int fd;
++#      int offset;
++# {
++#   unsigned char b[2];
++#   lseek (fd, offset, SEEK_SET);
++#   read (fd, b, 2);
++#   return b[0] + (b[1]<<8);
++# }
++#
++# static unsigned int
++# pe_get32 (fd, offset)
++#     int fd;
++#     int offset;
++# {
++#   unsigned char b[4];
++#   lseek (fd, offset, SEEK_SET);
++#   read (fd, b, 4);
++#   return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
++# }
++#
++# static unsigned int
++# pe_as32 (ptr)
++#      void *ptr;
++# {
++#   unsigned char *b = ptr;
++#   return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
++# }
++#
++# int
++# main (argc, argv)
++#     int argc;
++#     char *argv[];
++# {
++#     int dll;
++#     unsigned long pe_header_offset, opthdr_ofs, num_entries, i;
++#     unsigned long export_rva, export_size, nsections, secptr, expptr;
++#     unsigned long name_rvas, nexp;
++#     unsigned char *expdata, *erva;
++#     char *filename, *dll_name;
++#
++#     filename = argv[1];
++#
++#     dll = open(filename, O_RDONLY|O_BINARY);
++#     if (dll < 1)
++# 	return 1;
++#
++#     dll_name = filename;
++#
++#     for (i=0; filename[i]; i++)
++# 	if (filename[i] == '/' || filename[i] == '\\'  || filename[i] == ':')
++# 	    dll_name = filename + i +1;
++#
++#     pe_header_offset = pe_get32 (dll, 0x3c);
++#     opthdr_ofs = pe_header_offset + 4 + 20;
++#     num_entries = pe_get32 (dll, opthdr_ofs + 92);
++#
++#     if (num_entries < 1) /* no exports */
++# 	return 1;
++#
++#     export_rva = pe_get32 (dll, opthdr_ofs + 96);
++#     export_size = pe_get32 (dll, opthdr_ofs + 100);
++#     nsections = pe_get16 (dll, pe_header_offset + 4 +2);
++#     secptr = (pe_header_offset + 4 + 20 +
++# 	      pe_get16 (dll, pe_header_offset + 4 + 16));
++#
++#     expptr = 0;
++#     for (i = 0; i < nsections; i++)
++#     {
++# 	char sname[8];
++# 	unsigned long secptr1 = secptr + 40 * i;
++# 	unsigned long vaddr = pe_get32 (dll, secptr1 + 12);
++# 	unsigned long vsize = pe_get32 (dll, secptr1 + 16);
++# 	unsigned long fptr = pe_get32 (dll, secptr1 + 20);
++# 	lseek(dll, secptr1, SEEK_SET);
++# 	read(dll, sname, 8);
++# 	if (vaddr <= export_rva && vaddr+vsize > export_rva)
++# 	{
++# 	    expptr = fptr + (export_rva - vaddr);
++# 	    if (export_rva + export_size > vaddr + vsize)
++# 		export_size = vsize - (export_rva - vaddr);
++# 	    break;
++# 	}
++#     }
++#
++#     expdata = (unsigned char*)malloc(export_size);
++#     lseek (dll, expptr, SEEK_SET);
++#     read (dll, expdata, export_size);
++#     erva = expdata - export_rva;
++#
++#     nexp = pe_as32 (expdata+24);
++#     name_rvas = pe_as32 (expdata+32);
++#
++#     printf ("EXPORTS\n");
++#     for (i = 0; i<nexp; i++)
++#     {
++# 	unsigned long name_rva = pe_as32 (erva+name_rvas+i*4);
++# 	printf ("\t%s @ %ld ;\n", erva+name_rva, 1+ i);
++#     }
++#
++#     return 0;
++# }
++# /* impgen.c ends here */
++
++EOF
++    ;;
++  esac
++
++  # We use sed instead of cat because bash on DJGPP gets confused if
++  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
++  # text mode, it properly converts lines to CR/LF.  This bash problem
++  # is reportedly fixed, but why not run on old versions too?
++  sed '$q' "$ltmain" >> "${ofile}T" || (rm -f "${ofile}T"; exit 1)
++
++  mv -f "${ofile}T" "$ofile" || \
++    (rm -f "$ofile" && cp "${ofile}T" "$ofile" && rm -f "${ofile}T")
++  chmod +x "$ofile"
++fi
++
++])# _LT_AC_LTCONFIG_HACK
+ 
+ # AC_LIBTOOL_DLOPEN - enable checks for dlopen support
+-AC_DEFUN(AC_LIBTOOL_DLOPEN, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])])
++AC_DEFUN([AC_LIBTOOL_DLOPEN], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])])
+ 
+ # AC_LIBTOOL_WIN32_DLL - declare package support for building win32 dll's
+-AC_DEFUN(AC_LIBTOOL_WIN32_DLL, [AC_BEFORE([$0], [AC_LIBTOOL_SETUP])])
++AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_BEFORE([$0], [AC_LIBTOOL_SETUP])])
+ 
+ # AC_ENABLE_SHARED - implement the --enable-shared flag
+ # Usage: AC_ENABLE_SHARED[(DEFAULT)]
+ #   Where DEFAULT is either `yes' or `no'.  If omitted, it defaults to
+ #   `yes'.
+-AC_DEFUN(AC_ENABLE_SHARED, [dnl
+-define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl
++AC_DEFUN([AC_ENABLE_SHARED],
++[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl
+ AC_ARG_ENABLE(shared,
+ changequote(<<, >>)dnl
+ <<  --enable-shared[=PKGS]  build shared libraries [default=>>AC_ENABLE_SHARED_DEFAULT],
+ changequote([, ])dnl
+ [p=${PACKAGE-default}
+-case "$enableval" in
++case $enableval in
+ yes) enable_shared=yes ;;
+ no) enable_shared=no ;;
+ *)
+@@ -717,21 +3317,22 @@
+ ])
+ 
+ # AC_DISABLE_SHARED - set the default shared flag to --disable-shared
+-AC_DEFUN(AC_DISABLE_SHARED, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
++AC_DEFUN([AC_DISABLE_SHARED],
++[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
+ AC_ENABLE_SHARED(no)])
+ 
+ # AC_ENABLE_STATIC - implement the --enable-static flag
+ # Usage: AC_ENABLE_STATIC[(DEFAULT)]
+ #   Where DEFAULT is either `yes' or `no'.  If omitted, it defaults to
+ #   `yes'.
+-AC_DEFUN(AC_ENABLE_STATIC, [dnl
+-define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl
++AC_DEFUN([AC_ENABLE_STATIC],
++[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl
+ AC_ARG_ENABLE(static,
+ changequote(<<, >>)dnl
+ <<  --enable-static[=PKGS]  build static libraries [default=>>AC_ENABLE_STATIC_DEFAULT],
+ changequote([, ])dnl
+ [p=${PACKAGE-default}
+-case "$enableval" in
++case $enableval in
+ yes) enable_static=yes ;;
+ no) enable_static=no ;;
+ *)
+@@ -750,7 +3351,8 @@
+ ])
+ 
+ # AC_DISABLE_STATIC - set the default static flag to --disable-static
+-AC_DEFUN(AC_DISABLE_STATIC, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
++AC_DEFUN([AC_DISABLE_STATIC],
++[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
+ AC_ENABLE_STATIC(no)])
+ 
+ 
+@@ -758,14 +3360,14 @@
+ # Usage: AC_ENABLE_FAST_INSTALL[(DEFAULT)]
+ #   Where DEFAULT is either `yes' or `no'.  If omitted, it defaults to
+ #   `yes'.
+-AC_DEFUN(AC_ENABLE_FAST_INSTALL, [dnl
+-define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl
++AC_DEFUN([AC_ENABLE_FAST_INSTALL],
++[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl
+ AC_ARG_ENABLE(fast-install,
+ changequote(<<, >>)dnl
+ <<  --enable-fast-install[=PKGS]  optimize for fast installation [default=>>AC_ENABLE_FAST_INSTALL_DEFAULT],
+ changequote([, ])dnl
+ [p=${PACKAGE-default}
+-case "$enableval" in
++case $enableval in
+ yes) enable_fast_install=yes ;;
+ no) enable_fast_install=no ;;
+ *)
+@@ -784,30 +3386,32 @@
+ ])
+ 
+ # AC_DISABLE_FAST_INSTALL - set the default to --disable-fast-install
+-AC_DEFUN(AC_DISABLE_FAST_INSTALL, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
++AC_DEFUN([AC_DISABLE_FAST_INSTALL],
++[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
+ AC_ENABLE_FAST_INSTALL(no)])
+ 
+ # AC_LIBTOOL_PICMODE - implement the --with-pic flag
+ # Usage: AC_LIBTOOL_PICMODE[(MODE)]
+ #   Where MODE is either `yes' or `no'.  If omitted, it defaults to
+ #   `both'.
+-AC_DEFUN(AC_LIBTOOL_PICMODE, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
++AC_DEFUN([AC_LIBTOOL_PICMODE],
++[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
+ pic_mode=ifelse($#,1,$1,default)])
+ 
+ 
+ # AC_PATH_TOOL_PREFIX - find a file program which can recognise shared library
+-AC_DEFUN(AC_PATH_TOOL_PREFIX,
++AC_DEFUN([AC_PATH_TOOL_PREFIX],
+ [AC_MSG_CHECKING([for $1])
+-AC_CACHE_VAL(lt_cv_path_MAGIC,
+-[case "$MAGIC" in
++AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
++[case $MAGIC_CMD in
+   /*)
+-  lt_cv_path_MAGIC="$MAGIC" # Let the user override the test with a path.
++  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
+   ;;
+   ?:/*)
+-  ac_cv_path_MAGIC="$MAGIC" # Let the user override the test with a dos path.
++  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
+   ;;
+   *)
+-  ac_save_MAGIC="$MAGIC"
++  ac_save_MAGIC_CMD="$MAGIC_CMD"
+   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
+ dnl $ac_dummy forces splitting on constant user-supplied paths.
+ dnl POSIX.2 word splitting is done only on the output of word expansions,
+@@ -816,12 +3420,12 @@
+   for ac_dir in $ac_dummy; do
+     test -z "$ac_dir" && ac_dir=.
+     if test -f $ac_dir/$1; then
+-      lt_cv_path_MAGIC="$ac_dir/$1"
++      lt_cv_path_MAGIC_CMD="$ac_dir/$1"
+       if test -n "$file_magic_test_file"; then
+-	case "$deplibs_check_method" in
++	case $deplibs_check_method in
+ 	"file_magic "*)
+ 	  file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
+-	  MAGIC="$lt_cv_path_MAGIC"
++	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
+ 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
+ 	    egrep "$file_magic_regex" > /dev/null; then
+ 	    :
+@@ -845,12 +3449,12 @@
+     fi
+   done
+   IFS="$ac_save_ifs"
+-  MAGIC="$ac_save_MAGIC"
++  MAGIC_CMD="$ac_save_MAGIC_CMD"
+   ;;
+ esac])
+-MAGIC="$lt_cv_path_MAGIC"
+-if test -n "$MAGIC"; then
+-  AC_MSG_RESULT($MAGIC)
++MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
++if test -n "$MAGIC_CMD"; then
++  AC_MSG_RESULT($MAGIC_CMD)
+ else
+   AC_MSG_RESULT(no)
+ fi
+@@ -858,21 +3462,21 @@
+ 
+ 
+ # AC_PATH_MAGIC - find a file program which can recognise a shared library
+-AC_DEFUN(AC_PATH_MAGIC,
++AC_DEFUN([AC_PATH_MAGIC],
+ [AC_REQUIRE([AC_CHECK_TOOL_PREFIX])dnl
+ AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin:$PATH)
+-if test -z "$lt_cv_path_MAGIC"; then
++if test -z "$lt_cv_path_MAGIC_CMD"; then
+   if test -n "$ac_tool_prefix"; then
+     AC_PATH_TOOL_PREFIX(file, /usr/bin:$PATH)
+   else
+-    MAGIC=:
++    MAGIC_CMD=:
+   fi
+ fi
+ ])
+ 
+ 
+ # AC_PROG_LD - find the path to the GNU or non-GNU linker
+-AC_DEFUN(AC_PROG_LD,
++AC_DEFUN([AC_PROG_LD],
+ [AC_ARG_WITH(gnu-ld,
+ [  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]],
+ test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no)
+@@ -880,7 +3484,7 @@
+ AC_REQUIRE([AC_CANONICAL_HOST])dnl
+ AC_REQUIRE([AC_CANONICAL_BUILD])dnl
+ ac_prog=ld
+-if test "$ac_cv_prog_gcc" = yes; then
++if test "$GCC" = yes; then
+   # Check if gcc -print-prog-name=ld gives a path.
+   AC_MSG_CHECKING([for ld used by GCC])
+   case $host in
+@@ -890,12 +3494,10 @@
+   *)
+     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
+   esac
+-  case "$ac_prog" in
++  case $ac_prog in
+     # Accept absolute paths.
+-changequote(,)dnl
+-    [\\/]* | [A-Za-z]:[\\/]*)
+-      re_direlt='/[^/][^/]*/\.\./'
+-changequote([,])dnl
++    [[\\/]* | [A-Za-z]:[\\/]*)]
++      [re_direlt='/[^/][^/]*/\.\./']
+       # Canonicalize the path of ld
+       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
+       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
+@@ -917,17 +3519,17 @@
+ else
+   AC_MSG_CHECKING([for non-GNU ld])
+ fi
+-AC_CACHE_VAL(ac_cv_path_LD,
++AC_CACHE_VAL(lt_cv_path_LD,
+ [if test -z "$LD"; then
+   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
+   for ac_dir in $PATH; do
+     test -z "$ac_dir" && ac_dir=.
+     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
+-      ac_cv_path_LD="$ac_dir/$ac_prog"
++      lt_cv_path_LD="$ac_dir/$ac_prog"
+       # Check to see if the program is GNU ld.  I'd rather use --version,
+       # but apparently some GNU ld's only accept -v.
+       # Break only if it was the GNU/non-GNU ld that we prefer.
+-      if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
++      if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
+ 	test "$with_gnu_ld" != no && break
+       else
+ 	test "$with_gnu_ld" != yes && break
+@@ -936,9 +3538,9 @@
+   done
+   IFS="$ac_save_ifs"
+ else
+-  ac_cv_path_LD="$LD" # Let the user override the test with a path.
++  lt_cv_path_LD="$LD" # Let the user override the test with a path.
+ fi])
+-LD="$ac_cv_path_LD"
++LD="$lt_cv_path_LD"
+ if test -n "$LD"; then
+   AC_MSG_RESULT($LD)
+ else
+@@ -948,20 +3550,21 @@
+ AC_PROG_LD_GNU
+ ])
+ 
+-AC_DEFUN(AC_PROG_LD_GNU,
+-[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], ac_cv_prog_gnu_ld,
++# AC_PROG_LD_GNU -
++AC_DEFUN([AC_PROG_LD_GNU],
++[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
+ [# I'd rather use --version here, but apparently some GNU ld's only accept -v.
+ if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
+-  ac_cv_prog_gnu_ld=yes
++  lt_cv_prog_gnu_ld=yes
+ else
+-  ac_cv_prog_gnu_ld=no
++  lt_cv_prog_gnu_ld=no
+ fi])
+-with_gnu_ld=$ac_cv_prog_gnu_ld
++with_gnu_ld=$lt_cv_prog_gnu_ld
+ ])
+ 
+ # AC_PROG_LD_RELOAD_FLAG - find reload flag for linker
+ #   -- PORTME Some linkers may need a different reload flag.
+-AC_DEFUN(AC_PROG_LD_RELOAD_FLAG,
++AC_DEFUN([AC_PROG_LD_RELOAD_FLAG],
+ [AC_CACHE_CHECK([for $LD option to reload object files], lt_cv_ld_reload_flag,
+ [lt_cv_ld_reload_flag='-r'])
+ reload_flag=$lt_cv_ld_reload_flag
+@@ -970,10 +3573,10 @@
+ 
+ # AC_DEPLIBS_CHECK_METHOD - how to check for library dependencies
+ #  -- PORTME fill in with the dynamic library characteristics
+-AC_DEFUN(AC_DEPLIBS_CHECK_METHOD,
++AC_DEFUN([AC_DEPLIBS_CHECK_METHOD],
+ [AC_CACHE_CHECK([how to recognise dependant libraries],
+ lt_cv_deplibs_check_method,
+-[lt_cv_file_magic_cmd='${MAGIC}'
++[lt_cv_file_magic_cmd='$MAGIC_CMD'
+ lt_cv_file_magic_test_file=
+ lt_cv_deplibs_check_method='unknown'
+ # Need to set the preceding variable on all platforms that support
+@@ -982,13 +3585,13 @@
+ # `unknown' -- same as none, but documents that we really don't know.
+ # 'pass_all' -- all dependencies passed with no checks.
+ # 'test_compile' -- check by making test program.
+-# 'file_magic [regex]' -- check by looking for files in library path
++# ['file_magic [regex]'] -- check by looking for files in library path
+ # which responds to the $file_magic_cmd with a given egrep regex.
+ # If you have `file' or equivalent on your system and you're not sure
+ # whether `pass_all' will *always* work, you probably want this one.
+ 
+-case "$host_os" in
+-aix4*)
++case $host_os in
++aix4* | aix5*)
+   lt_cv_deplibs_check_method=pass_all
+   ;;
+ 
+@@ -997,25 +3600,36 @@
+   ;;
+ 
+ bsdi4*)
+-  changequote(,)dnl
+-  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
+-  changequote([, ])dnl
++  [lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)']
+   lt_cv_file_magic_cmd='/usr/bin/file -L'
+   lt_cv_file_magic_test_file=/shlib/libc.so
+   ;;
+ 
+-cygwin* | mingw*)
++cygwin* | mingw* | pw32*)
+   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
+-  lt_cv_file_magic_cmd='${OBJDUMP} -f'
++  lt_cv_file_magic_cmd='$OBJDUMP -f'
++  ;;
++
++darwin* | rhapsody*)
++  lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
++  lt_cv_file_magic_cmd='/usr/bin/file -L'
++  case "$host_os" in
++  rhapsody* | darwin1.[012])
++    lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1`
++    ;;
++  *) # Darwin 1.3 on
++    lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
++    ;;
++  esac
+   ;;
+ 
+ freebsd*)
+   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
+-    case "$host_cpu" in
++    case $host_cpu in
+     i*86 )
+-      changequote(,)dnl
+-      lt_cv_deplibs_check_method=='file_magic OpenBSD/i[3-9]86 demand paged shared library'
+-      changequote([, ])dnl
++      # Not sure whether the presence of OpenBSD here was a mistake.
++      # Let's accept both of them until this is cleared up.
++      [lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library']
+       lt_cv_file_magic_cmd=/usr/bin/file
+       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
+       ;;
+@@ -1029,30 +3643,27 @@
+   lt_cv_deplibs_check_method=pass_all
+   ;;
+ 
+-hpux10.20*)
+-  # TODO:  Does this work for hpux-11 too?
+-  lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
++hpux10.20*|hpux11*)
++  [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library']
+   lt_cv_file_magic_cmd=/usr/bin/file
+   lt_cv_file_magic_test_file=/usr/lib/libc.sl
+   ;;
+ 
+ irix5* | irix6*)
+-  case "$host_os" in
++  case $host_os in
+   irix5*)
+     # this will be overridden with pass_all, but let us keep it just in case
+     lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
+     ;;
+   *)
+-    case "$LD" in
++    case $LD in
+     *-32|*"-32 ") libmagic=32-bit;;
+     *-n32|*"-n32 ") libmagic=N32;;
+     *-64|*"-64 ") libmagic=64-bit;;
+     *) libmagic=never-match;;
+     esac
+     # this will be overridden with pass_all, but let us keep it just in case
+-    changequote(,)dnl
+-    lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
+-    changequote([, ])dnl
++    [lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"]
+     ;;
+   esac
+   lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
+@@ -1061,29 +3672,30 @@
+ 
+ # This must be Linux ELF.
+ linux-gnu*)
+-  case "$host_cpu" in
++  case $host_cpu in
+   alpha* | i*86 | powerpc* | sparc* | ia64* )
+     lt_cv_deplibs_check_method=pass_all ;;
+   *)
+     # glibc up to 2.1.1 does not perform some relocations on ARM
+-    changequote(,)dnl
+-    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
+-    changequote([, ])dnl
++    [lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;]
+   esac
+   lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
+   ;;
+ 
+ netbsd*)
+-  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then :
++  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
++    [lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$']
+   else
+-    changequote(,)dnl
+-    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
+-    changequote([, ])dnl
+-    lt_cv_file_magic_cmd='/usr/bin/file -L'
+-    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
++    [lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$']
+   fi
+   ;;
+ 
++newos6*)
++  [lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)']
++  lt_cv_file_magic_cmd=/usr/bin/file
++  lt_cv_file_magic_test_file=/usr/lib/libnls.so
++  ;;
++
+ osf3* | osf4* | osf5*)
+   # this will be overridden with pass_all, but let us keep it just in case
+   lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
+@@ -1100,16 +3712,27 @@
+   lt_cv_file_magic_test_file=/lib/libc.so
+   ;;
+ 
++[sysv5uw[78]* | sysv4*uw2*)]
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++
+ sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
+-  case "$host_vendor" in
++  case $host_vendor in
++  motorola)
++    [lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]']
++    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
++    ;;
+   ncr)
+     lt_cv_deplibs_check_method=pass_all
+     ;;
+-  motorola)
+-    changequote(,)dnl
+-    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
+-    changequote([, ])dnl
+-    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
++  sequent)
++    lt_cv_file_magic_cmd='/bin/file'
++    [lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )']
++    ;;
++  sni)
++    lt_cv_file_magic_cmd='/bin/file'
++    [lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"]
++    lt_cv_file_magic_test_file=/lib/libc.so
+     ;;
+   esac
+   ;;
+@@ -1121,12 +3744,12 @@
+ 
+ 
+ # AC_PROG_NM - find the path to a BSD-compatible name lister
+-AC_DEFUN(AC_PROG_NM,
++AC_DEFUN([AC_PROG_NM],
+ [AC_MSG_CHECKING([for BSD-compatible nm])
+-AC_CACHE_VAL(ac_cv_path_NM,
++AC_CACHE_VAL(lt_cv_path_NM,
+ [if test -n "$NM"; then
+   # Let the user override the test.
+-  ac_cv_path_NM="$NM"
++  lt_cv_path_NM="$NM"
+ else
+   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
+   for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
+@@ -1136,31 +3759,32 @@
+       # Check to see if the nm accepts a BSD-compat flag.
+       # Adding the `sed 1q' prevents false positives on HP-UX, which says:
+       #   nm: unknown option "B" ignored
+-      if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
+-	ac_cv_path_NM="$tmp_nm -B"
++      # Tru64's nm complains that /dev/null is an invalid object file
++      if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
++	lt_cv_path_NM="$tmp_nm -B"
+ 	break
+       elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
+-	ac_cv_path_NM="$tmp_nm -p"
++	lt_cv_path_NM="$tmp_nm -p"
+ 	break
+       else
+-	ac_cv_path_NM=${ac_cv_path_NM="$tmp_nm"} # keep the first match, but
++	lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
+ 	continue # so that we can try to find one that supports BSD flags
+       fi
+     fi
+   done
+   IFS="$ac_save_ifs"
+-  test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm
++  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
+ fi])
+-NM="$ac_cv_path_NM"
++NM="$lt_cv_path_NM"
+ AC_MSG_RESULT([$NM])
+ ])
+ 
+ # AC_CHECK_LIBM - check for math library
+-AC_DEFUN(AC_CHECK_LIBM,
++AC_DEFUN([AC_CHECK_LIBM],
+ [AC_REQUIRE([AC_CANONICAL_HOST])dnl
+ LIBM=
+-case "$host" in
+-*-*-beos* | *-*-cygwin*)
++case $host in
++*-*-beos* | *-*-cygwin* | *-*-pw32*)
+   # These system don't have libm
+   ;;
+ *-ncr-sysv4.3*)
+@@ -1183,8 +3807,9 @@
+ # '${top_srcdir}/' (note the single quotes!).  If your package is not
+ # flat and you're not using automake, define top_builddir and
+ # top_srcdir appropriately in the Makefiles.
+-AC_DEFUN(AC_LIBLTDL_CONVENIENCE, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
+-  case "$enable_ltdl_convenience" in
++AC_DEFUN([AC_LIBLTDL_CONVENIENCE],
++[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
++  case $enable_ltdl_convenience in
+   no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;;
+   "") enable_ltdl_convenience=yes
+       ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
+@@ -1204,7 +3829,8 @@
+ # not flat and you're not using automake, define top_builddir and
+ # top_srcdir appropriately in the Makefiles.
+ # In the future, this macro may have to be called after AC_PROG_LIBTOOL.
+-AC_DEFUN(AC_LIBLTDL_INSTALLABLE, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
++AC_DEFUN([AC_LIBLTDL_INSTALLABLE],
++[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
+   AC_CHECK_LIB(ltdl, main,
+   [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no],
+   [if test x"$enable_ltdl_install" = xno; then
+@@ -1224,17 +3850,17 @@
+   fi
+ ])
+ 
+-dnl old names
+-AC_DEFUN(AM_PROG_LIBTOOL, [indir([AC_PROG_LIBTOOL])])dnl
+-AC_DEFUN(AM_ENABLE_SHARED, [indir([AC_ENABLE_SHARED], $@)])dnl
+-AC_DEFUN(AM_ENABLE_STATIC, [indir([AC_ENABLE_STATIC], $@)])dnl
+-AC_DEFUN(AM_DISABLE_SHARED, [indir([AC_DISABLE_SHARED], $@)])dnl
+-AC_DEFUN(AM_DISABLE_STATIC, [indir([AC_DISABLE_STATIC], $@)])dnl
+-AC_DEFUN(AM_PROG_LD, [indir([AC_PROG_LD])])dnl
+-AC_DEFUN(AM_PROG_NM, [indir([AC_PROG_NM])])dnl
++# old names
++AC_DEFUN([AM_PROG_LIBTOOL],   [AC_PROG_LIBTOOL])
++AC_DEFUN([AM_ENABLE_SHARED],  [AC_ENABLE_SHARED($@)])
++AC_DEFUN([AM_ENABLE_STATIC],  [AC_ENABLE_STATIC($@)])
++AC_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
++AC_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
++AC_DEFUN([AM_PROG_LD],        [AC_PROG_LD])
++AC_DEFUN([AM_PROG_NM],        [AC_PROG_NM])
+ 
+-dnl This is just to silence aclocal about the macro not being used
+-ifelse([AC_DISABLE_FAST_INSTALL])dnl
++# This is just to silence aclocal about the macro not being used
++ifelse([AC_DISABLE_FAST_INSTALL])
+ 
+ dnl $Id: wflags.m4,v 1.3 1999/03/11 12:11:41 joda Exp $
+ dnl
+@@ -1951,12 +4577,13 @@
+ dnl moved to AC_OUTPUT in configure.in
+ dnl AC_CONFIG_FILES($1/Makefile)
+ 
+-LIB_roken="${LIB_roken} \$(LIB_crypt) \$(LIB_dbopen)"
++dnl LIB_roken="${LIB_roken} \$(LIB_crypt) \$(LIB_dbopen)"
+ 
+ AC_SUBST(DIR_roken)dnl
+ AC_SUBST(LIB_roken)dnl
+ AC_SUBST(INCLUDES_roken)dnl
+ ])
++
+ dnl $Id: check-type-extra.m4,v 1.2 1999/03/01 09:52:23 joda Exp $
+ dnl
+ dnl ac_check_type + extra headers
+@@ -2066,7 +4693,7 @@
+ 
+ # Define a conditional.
+ 
+-AC_DEFUN(AM_CONDITIONAL,
++AC_DEFUN([AM_CONDITIONAL],
+ [AC_SUBST($1_TRUE)
+ AC_SUBST($1_FALSE)
+ if $2; then
+@@ -2486,49 +5113,6 @@
+ #endif])
+ ])
+ 
+-dnl $Id: krb-func-getcwd-broken.m4,v 1.2 1999/03/01 13:03:32 joda Exp $
+-dnl
+-dnl
+-dnl test for broken getcwd in (SunOS braindamage)
+-dnl
+-
+-AC_DEFUN(AC_KRB_FUNC_GETCWD_BROKEN, [
+-if test "$ac_cv_func_getcwd" = yes; then
+-AC_MSG_CHECKING(if getcwd is broken)
+-AC_CACHE_VAL(ac_cv_func_getcwd_broken, [
+-ac_cv_func_getcwd_broken=no
+-
+-AC_TRY_RUN([
+-#include <errno.h>
+-char *getcwd(char*, int);
+-
+-void *popen(char *cmd, char *mode)
+-{
+-	errno = ENOTTY;
+-	return 0;
+-}
+-
+-int main()
+-{
+-	char *ret;
+-	ret = getcwd(0, 1024);
+-	if(ret == 0 && errno == ENOTTY)
+-		return 0;
+-	return 1;
+-}
+-], ac_cv_func_getcwd_broken=yes,:,:)
+-])
+-if test "$ac_cv_func_getcwd_broken" = yes; then
+-	AC_DEFINE(BROKEN_GETCWD, 1, [Define if getcwd is broken (like in SunOS 4).])dnl
+-	LIBOBJS="$LIBOBJS getcwd.o"
+-	AC_SUBST(LIBOBJS)dnl
+-	AC_MSG_RESULT($ac_cv_func_getcwd_broken)
+-else
+-	AC_MSG_RESULT([seems ok])
+-fi
+-fi
+-])
+-
+ dnl $Id: proto-compat.m4,v 1.3 1999/03/01 13:03:48 joda Exp $
+ dnl
+ dnl
+@@ -2654,7 +5238,7 @@
+ dnl
+ dnl AC_TEST_PACKAGE_NEW(package,headers,libraries,extra libs,default locations, conditional)
+ 
+-AC_DEFUN(AC_TEST_PACKAGE,[AC_TEST_PACKAGE_NEW($1,[#include <$2>],$4,,$5)])
++AC_DEFUN(AC_TEST_PACKAGE,[MY_TEST_PACKAGE_NEW($1,[#include <$2>],$4,,$5)])
+ 
+ AC_DEFUN(AC_TEST_PACKAGE_NEW,[
+ AC_ARG_WITH($1,
+@@ -2691,7 +5275,7 @@
+ header_dirs=
+ lib_dirs=
+ d='$5'
+-for i in $d; do
++for i in $d /usr; do
+ 	header_dirs="$header_dirs $i/include"
+ 	lib_dirs="$lib_dirs $i/lib$abilibdirext"
+ done
+@@ -2724,6 +5308,7 @@
+ if test "$ires" -a "$lres" -a "$with_$1" != "no"; then
+ 	$1_includedir="$ires"
+ 	$1_libdir="$lres"
++	DIR_$1=
+ 	INCLUDE_$1="-I$$1_includedir"
+ 	LIB_$1="-L$$1_libdir $3"
+ 	m4_ifval([$6],
+@@ -2732,6 +5317,7 @@
+ 	with_$1=yes
+ 	AC_MSG_RESULT([headers $ires, libraries $lres])
+ else
++	DIR_$1="$1"
+ 	INCLUDE_$1=
+ 	LIB_$1=
+ 	with_$1=no
+@@ -2740,6 +5326,7 @@
+ dnl m4_ifval([$6],
+ dnl 	AM_CONDITIONAL($6, test "$with_$1" = yes)
+ dnl 	AM_CONDITIONAL(upcase($1), test "$with_$1" = yes))
++AC_SUBST(DIR_$1)
+ AC_SUBST(INCLUDE_$1)
+ AC_SUBST(LIB_$1)
+ ])
+@@ -3143,19 +5730,96 @@
+ 	:
+ elif test "$ac_cv_func_el_init" = yes; then
+ 	ac_foo=yes
++	DIR_readline="editline"
+ 	LIB_readline="\$(top_builddir)/lib/editline/libel_compat.la $LIB_el_init"
+ else
++	DIR_readline="editline"
+ 	LIB_readline='$(top_builddir)/lib/editline/libeditline.la'
+ fi
+ AM_CONDITIONAL(el_compat, test "$ac_foo" = yes)
+-if test "$readline_libdir"; then
+-	LIB_readline="-rpath $readline_libdir $LIB_readline"
+-fi
++#if test "$readline_libdir"; then
++#	LIB_readline="-rpath $readline_libdir $LIB_readline"
++#fi
+ LIB_readline="$LIB_readline \$(LIB_tgetent)"
+ AC_DEFINE(HAVE_READLINE, 1, 
+ 	[Define if you have a readline compatible library.])dnl
+ 
+ ])
++
++dnl
++dnl Tests for readline functions
++dnl
++
++dnl el_init
++
++AC_DEFUN(KRB_COM_ERR,[
++dnl com_err
++
++ac_foo=no
++if test "$with_com_err" = yes; then
++	COMPILE_ET='compile_et'
++#elif test "$ac_cv_func_com_err" = yes; then
++#	COMPILE_ET='compile_et'
++else
++	COMPILE_ET='$(top_builddir)/lib/com_err/compile_et'
++	DIR_com_err="com_err"
++	LIB_com_err='$(top_builddir)/lib/com_err/libcom_err.la'
++fi
++
++if true; then
++#	!FIXME! why doesn't built in version of com_err work?
++	COMPILE_ET='$(top_builddir)/lib/com_err/compile_et'
++	DIR_com_err="com_err"
++	LIB_com_err='$(top_builddir)/lib/com_err/libcom_err.la'
++fi
++
++#if test "$com_err_libdir"; then
++#	LIB_com_err="-rpath $com_err_libdir $LIB_com_err"
++#fi
++AC_DEFINE(HAVE_COM_ERR, 1, 
++	[Define if you have a com_err compatible library.])dnl
++
++])
++AC_SUBST(COMPILE_ET)
++
++dnl
++dnl Tests for readline functions
++dnl
++
++dnl el_init
++
++AC_DEFUN(KRB_SS,[
++dnl com_err
++
++ac_foo=no
++if test "$with_ss" = yes; then
++	LIB_sl="$LIB_ss"
++else
++	DIR_ss="sl"
++	LIB_sl='$(top_builddir)/lib/sl/libsl.la'
++	LIB_ss='$(top_builddir)/lib/sl/libss.la'
++	INCLUDE_ss='-I$(top_builddir)/include/sl'
++fi
++
++
++#if test "$ss_libdir"; then
++#	LIB_ss="-rpath $sl_libdir $LIB_ss"
++#fi
++
++if true; then
++#	!FIXME! why doesn't built in version of ss work?
++	DIR_ss="sl"
++	LIB_sl='$(top_builddir)/lib/sl/libsl.la'
++	LIB_ss='$(top_builddir)/lib/sl/libss.la'
++	INCLUDE_ss='-I$(top_builddir)/include/ss'
++fi
++
++AC_DEFINE(HAVE_SS, 1, 
++	[Define if you have a ss compatible library.])dnl
++
++])
++AC_SUBST(LIB_sl)
++
+ dnl $Id: auth-modules.m4,v 1.1 1999/03/21 13:48:00 joda Exp $
+ dnl
+ dnl Figure what authentication modules should be built
+diff -ruN heimdal-0.3e-old/admin/Makefile.in heimdal-0.3e/admin/Makefile.in
+--- heimdal-0.3e-old/admin/Makefile.in	Mon Feb  5 18:58:53 2001
++++ heimdal-0.3e/admin/Makefile.in	Sat Jun 16 15:14:48 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -92,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -126,13 +131,13 @@
+ 
+ SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+ 
+-INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) $(INCLUDE_readline)
++INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) $(INCLUDE_readline) $(INCLUDE_ss)
+ 
+ AM_CFLAGS =  $(WFLAGS)
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -175,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+@@ -206,7 +217,7 @@
+ 	$(top_builddir)/lib/krb5/libkrb5.la \
+ 	$(LIB_des) \
+ 	$(top_builddir)/lib/asn1/libasn1.la \
+-	$(top_builddir)/lib/sl/libsl.la \
++	$(LIB_ss) \
+ 	$(LIB_readline) \
+ 	$(LIB_roken)
+ 
+@@ -231,8 +242,7 @@
+ ktutil_OBJECTS =  $(am_ktutil_OBJECTS)
+ ktutil_LDADD = $(LDADD)
+ ktutil_DEPENDENCIES =  $(top_builddir)/lib/kadm5/libkadm5clnt.la \
+-$(top_builddir)/lib/krb5/libkrb5.la $(top_builddir)/lib/asn1/libasn1.la \
+-$(top_builddir)/lib/sl/libsl.la
++$(top_builddir)/lib/krb5/libkrb5.la $(top_builddir)/lib/asn1/libasn1.la
+ ktutil_LDFLAGS = 
+ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+diff -ruN heimdal-0.3e-old/appl/Makefile.in heimdal-0.3e/appl/Makefile.in
+--- heimdal-0.3e-old/appl/Makefile.in	Mon Feb  5 18:58:57 2001
++++ heimdal-0.3e/appl/Makefile.in	Sat Jun 16 15:14:48 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -92,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -132,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -175,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+@@ -269,10 +280,11 @@
+ 	@set fnord $(MAKEFLAGS); amf=$$2; \
+ 	dot_seen=no; \
+ 	rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
+-	  rev="$$subdir $$rev"; \
+-	  if test "$$subdir" = "."; then dot_seen=yes; else :; fi; \
++	  if test "$$subdir" = "."; then :; else \
++	    rev="$$subdir $$rev"; \
++	  fi; \
+ 	done; \
+-	test "$$dot_seen" = "no" && rev=". $$rev"; \
++	rev="$$rev ."; \
+ 	target=`echo $@ | sed s/-recursive//`; \
+ 	for subdir in $$rev; do \
+ 	  echo "Making $$target in $$subdir"; \
+diff -ruN heimdal-0.3e-old/appl/afsutil/Makefile.in heimdal-0.3e/appl/afsutil/Makefile.in
+--- heimdal-0.3e-old/appl/afsutil/Makefile.in	Mon Feb  5 18:58:59 2001
++++ heimdal-0.3e/appl/afsutil/Makefile.in	Sat Jun 16 15:14:48 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -92,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -132,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -175,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+diff -ruN heimdal-0.3e-old/appl/dceutils/Makefile.in heimdal-0.3e/appl/dceutils/Makefile.in
+--- heimdal-0.3e-old/appl/dceutils/Makefile.in	Mon Feb  5 18:59:33 2001
++++ heimdal-0.3e/appl/dceutils/Makefile.in	Sat Jun 16 15:14:51 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -92,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -132,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -175,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+@@ -235,8 +246,7 @@
+ LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+ DIST_SOURCES =  $(dpagaix_SOURCES) $(k5dcecon_SOURCES)
+ depcomp = 
+-DIST_COMMON =  ChangeLog Makefile.am Makefile.in appl/dceutils/compile \
+-compile
++DIST_COMMON =  ChangeLog Makefile.am Makefile.in compile
+ 
+ 
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+@@ -357,7 +367,6 @@
+ distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
+ 
+ distdir: $(DISTFILES)
+-	$(mkinstalldirs) $(distdir)/appl/dceutils
+ 	@for file in $(DISTFILES); do \
+ 	  d=$(srcdir); \
+ 	  if test -d $$d/$$file; then \
+diff -ruN heimdal-0.3e-old/appl/ftp/Makefile.in heimdal-0.3e/appl/ftp/Makefile.in
+--- heimdal-0.3e-old/appl/ftp/Makefile.in	Mon Feb  5 18:59:00 2001
++++ heimdal-0.3e/appl/ftp/Makefile.in	Sat Jun 16 15:14:49 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -92,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -132,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -175,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+@@ -249,10 +260,11 @@
+ 	@set fnord $(MAKEFLAGS); amf=$$2; \
+ 	dot_seen=no; \
+ 	rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
+-	  rev="$$subdir $$rev"; \
+-	  if test "$$subdir" = "."; then dot_seen=yes; else :; fi; \
++	  if test "$$subdir" = "."; then :; else \
++	    rev="$$subdir $$rev"; \
++	  fi; \
+ 	done; \
+-	test "$$dot_seen" = "no" && rev=". $$rev"; \
++	rev="$$rev ."; \
+ 	target=`echo $@ | sed s/-recursive//`; \
+ 	for subdir in $$rev; do \
+ 	  echo "Making $$target in $$subdir"; \
+diff -ruN heimdal-0.3e-old/appl/ftp/common/Makefile.in heimdal-0.3e/appl/ftp/common/Makefile.in
+--- heimdal-0.3e-old/appl/ftp/common/Makefile.in	Mon Feb  5 18:59:03 2001
++++ heimdal-0.3e/appl/ftp/common/Makefile.in	Sat Jun 16 15:14:49 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -92,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -132,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -175,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+diff -ruN heimdal-0.3e-old/appl/ftp/ftp/Makefile.in heimdal-0.3e/appl/ftp/ftp/Makefile.in
+--- heimdal-0.3e-old/appl/ftp/ftp/Makefile.in	Mon Feb  5 18:59:04 2001
++++ heimdal-0.3e/appl/ftp/ftp/Makefile.in	Sat Jun 16 15:14:49 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -92,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -132,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -175,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = 
+@@ -261,8 +272,7 @@
+ @KRB5_FALSE@ftp_DEPENDENCIES =  ../common/libcommon.a
+ @KRB5_TRUE@ftp_DEPENDENCIES =  ../common/libcommon.a \
+ @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la \
+-@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ ftp_LDFLAGS = 
+ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+diff -ruN heimdal-0.3e-old/appl/ftp/ftpd/Makefile.in heimdal-0.3e/appl/ftp/ftpd/Makefile.in
+--- heimdal-0.3e-old/appl/ftp/ftpd/Makefile.in	Mon Feb  5 18:59:06 2001
++++ heimdal-0.3e/appl/ftp/ftpd/Makefile.in	Sat Jun 16 15:14:49 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -92,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -132,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -175,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = 
+@@ -257,15 +268,13 @@
+ @KRB4_FALSE@@KRB5_FALSE@ftpd_DEPENDENCIES =  ../common/libcommon.a
+ @KRB4_FALSE@@KRB5_TRUE@ftpd_DEPENDENCIES =  ../common/libcommon.a \
+ @KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la \
+-@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
++@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB4_TRUE@@KRB5_FALSE@ftpd_DEPENDENCIES =  ../common/libcommon.a \
+ @KRB4_TRUE@@KRB5_FALSE@$(top_builddir)/lib/kafs/libkafs.la
+ @KRB4_TRUE@@KRB5_TRUE@ftpd_DEPENDENCIES =  ../common/libcommon.a \
+ @KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/kafs/libkafs.la \
+ @KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la \
+-@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
++@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ ftpd_LDFLAGS = 
+ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+diff -ruN heimdal-0.3e-old/appl/kf/Makefile.in heimdal-0.3e/appl/kf/Makefile.in
+--- heimdal-0.3e-old/appl/kf/Makefile.in	Mon Feb  5 18:59:32 2001
++++ heimdal-0.3e/appl/kf/Makefile.in	Sat Jun 16 15:14:51 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -92,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -132,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -175,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+diff -ruN heimdal-0.3e-old/appl/kx/Makefile.in heimdal-0.3e/appl/kx/Makefile.in
+--- heimdal-0.3e-old/appl/kx/Makefile.in	Mon Feb  5 18:59:08 2001
++++ heimdal-0.3e/appl/kx/Makefile.in	Sat Jun 16 15:14:49 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -92,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -131,7 +136,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -174,14 +179,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+@@ -260,14 +271,12 @@
+ kx_LDADD = $(LDADD)
+ @KRB4_FALSE@@KRB5_FALSE@kx_DEPENDENCIES = 
+ @KRB4_FALSE@@KRB5_TRUE@kx_DEPENDENCIES =  \
+-@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
++@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB4_TRUE@@KRB5_FALSE@kx_DEPENDENCIES =  \
+ @KRB4_TRUE@@KRB5_FALSE@$(top_builddir)/lib/kafs/libkafs.la
+ @KRB4_TRUE@@KRB5_TRUE@kx_DEPENDENCIES =  \
+ @KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/kafs/libkafs.la \
+-@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
++@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ kx_LDFLAGS = 
+ @NEED_WRITEAUTH_FALSE@am_kxd_OBJECTS =  kxd.$(OBJEXT) common.$(OBJEXT) \
+ @NEED_WRITEAUTH_FALSE@context.$(OBJEXT) krb4.$(OBJEXT) krb5.$(OBJEXT)
+@@ -278,14 +287,12 @@
+ kxd_LDADD = $(LDADD)
+ @KRB4_FALSE@@KRB5_FALSE@kxd_DEPENDENCIES = 
+ @KRB4_FALSE@@KRB5_TRUE@kxd_DEPENDENCIES =  \
+-@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
++@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB4_TRUE@@KRB5_FALSE@kxd_DEPENDENCIES =  \
+ @KRB4_TRUE@@KRB5_FALSE@$(top_builddir)/lib/kafs/libkafs.la
+ @KRB4_TRUE@@KRB5_TRUE@kxd_DEPENDENCIES =  \
+ @KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/kafs/libkafs.la \
+-@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
++@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ kxd_LDFLAGS = 
+ SCRIPTS =  $(bin_SCRIPTS)
+ 
+diff -ruN heimdal-0.3e-old/appl/login/Makefile.in heimdal-0.3e/appl/login/Makefile.in
+--- heimdal-0.3e-old/appl/login/Makefile.in	Mon Feb  5 18:59:10 2001
++++ heimdal-0.3e/appl/login/Makefile.in	Sat Jun 16 15:14:49 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -92,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -132,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -175,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+diff -ruN heimdal-0.3e-old/appl/otp/Makefile.in heimdal-0.3e/appl/otp/Makefile.in
+--- heimdal-0.3e-old/appl/otp/Makefile.in	Mon Feb  5 18:59:13 2001
++++ heimdal-0.3e/appl/otp/Makefile.in	Sat Jun 16 15:14:49 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -92,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -132,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -175,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+diff -ruN heimdal-0.3e-old/appl/popper/Makefile.in heimdal-0.3e/appl/popper/Makefile.in
+--- heimdal-0.3e-old/appl/popper/Makefile.in	Mon Feb  5 18:59:14 2001
++++ heimdal-0.3e/appl/popper/Makefile.in	Sat Jun 16 15:14:49 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -92,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -132,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -175,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+@@ -233,8 +244,7 @@
+ pop_debug_OBJECTS =  pop_debug.$(OBJEXT)
+ pop_debug_LDADD = $(LDADD)
+ @KRB5_FALSE@pop_debug_DEPENDENCIES = 
+-@KRB5_TRUE@pop_debug_DEPENDENCIES =  $(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@pop_debug_DEPENDENCIES =  $(top_builddir)/lib/krb5/libkrb5.la
+ pop_debug_LDFLAGS = 
+ am_popper_OBJECTS =  pop_dele.$(OBJEXT) pop_dropcopy.$(OBJEXT) \
+ pop_dropinfo.$(OBJEXT) pop_get_command.$(OBJEXT) pop_init.$(OBJEXT) \
+@@ -247,8 +257,7 @@
+ popper_OBJECTS =  $(am_popper_OBJECTS)
+ popper_LDADD = $(LDADD)
+ @KRB5_FALSE@popper_DEPENDENCIES = 
+-@KRB5_TRUE@popper_DEPENDENCIES =  $(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@popper_DEPENDENCIES =  $(top_builddir)/lib/krb5/libkrb5.la
+ popper_LDFLAGS = 
+ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+diff -ruN heimdal-0.3e-old/appl/push/Makefile.in heimdal-0.3e/appl/push/Makefile.in
+--- heimdal-0.3e-old/appl/push/Makefile.in	Mon Feb  5 18:59:18 2001
++++ heimdal-0.3e/appl/push/Makefile.in	Sat Jun 16 15:14:49 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -92,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -132,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -175,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+@@ -224,8 +235,7 @@
+ push_OBJECTS =  $(am_push_OBJECTS)
+ push_LDADD = $(LDADD)
+ @KRB5_FALSE@push_DEPENDENCIES = 
+-@KRB5_TRUE@push_DEPENDENCIES =  $(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@push_DEPENDENCIES =  $(top_builddir)/lib/krb5/libkrb5.la
+ push_LDFLAGS = 
+ SCRIPTS =  $(bin_SCRIPTS)
+ 
+diff -ruN heimdal-0.3e-old/appl/rcp/Makefile.in heimdal-0.3e/appl/rcp/Makefile.in
+--- heimdal-0.3e-old/appl/rcp/Makefile.in	Mon Feb  5 18:59:21 2001
++++ heimdal-0.3e/appl/rcp/Makefile.in	Sat Jun 16 15:14:50 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -92,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -132,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -175,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+diff -ruN heimdal-0.3e-old/appl/rsh/Makefile.in heimdal-0.3e/appl/rsh/Makefile.in
+--- heimdal-0.3e-old/appl/rsh/Makefile.in	Mon Feb  5 18:59:19 2001
++++ heimdal-0.3e/appl/rsh/Makefile.in	Sat Jun 16 15:14:50 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -92,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -132,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -175,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+@@ -222,28 +233,24 @@
+ rsh_LDADD = $(LDADD)
+ @KRB4_FALSE@@KRB5_FALSE@rsh_DEPENDENCIES = 
+ @KRB4_FALSE@@KRB5_TRUE@rsh_DEPENDENCIES =  \
+-@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
++@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB4_TRUE@@KRB5_FALSE@rsh_DEPENDENCIES =  \
+ @KRB4_TRUE@@KRB5_FALSE@$(top_builddir)/lib/kafs/libkafs.la
+ @KRB4_TRUE@@KRB5_TRUE@rsh_DEPENDENCIES =  \
+ @KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/kafs/libkafs.la \
+-@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
++@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ rsh_LDFLAGS = 
+ am_rshd_OBJECTS =  rshd.$(OBJEXT) common.$(OBJEXT)
+ rshd_OBJECTS =  $(am_rshd_OBJECTS)
+ rshd_LDADD = $(LDADD)
+ @KRB4_FALSE@@KRB5_FALSE@rshd_DEPENDENCIES = 
+ @KRB4_FALSE@@KRB5_TRUE@rshd_DEPENDENCIES =  \
+-@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
++@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB4_TRUE@@KRB5_FALSE@rshd_DEPENDENCIES =  \
+ @KRB4_TRUE@@KRB5_FALSE@$(top_builddir)/lib/kafs/libkafs.la
+ @KRB4_TRUE@@KRB5_TRUE@rshd_DEPENDENCIES =  \
+ @KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/kafs/libkafs.la \
+-@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
++@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ rshd_LDFLAGS = 
+ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+diff -ruN heimdal-0.3e-old/appl/su/Makefile.in heimdal-0.3e/appl/su/Makefile.in
+--- heimdal-0.3e-old/appl/su/Makefile.in	Mon Feb  5 18:59:22 2001
++++ heimdal-0.3e/appl/su/Makefile.in	Sat Jun 16 15:14:50 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -92,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -132,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -175,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+diff -ruN heimdal-0.3e-old/appl/telnet/Makefile.in heimdal-0.3e/appl/telnet/Makefile.in
+--- heimdal-0.3e-old/appl/telnet/Makefile.in	Mon Feb  5 18:59:25 2001
++++ heimdal-0.3e/appl/telnet/Makefile.in	Sat Jun 16 15:14:50 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -92,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -132,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -175,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+@@ -251,10 +262,11 @@
+ 	@set fnord $(MAKEFLAGS); amf=$$2; \
+ 	dot_seen=no; \
+ 	rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
+-	  rev="$$subdir $$rev"; \
+-	  if test "$$subdir" = "."; then dot_seen=yes; else :; fi; \
++	  if test "$$subdir" = "."; then :; else \
++	    rev="$$subdir $$rev"; \
++	  fi; \
+ 	done; \
+-	test "$$dot_seen" = "no" && rev=". $$rev"; \
++	rev="$$rev ."; \
+ 	target=`echo $@ | sed s/-recursive//`; \
+ 	for subdir in $$rev; do \
+ 	  echo "Making $$target in $$subdir"; \
+diff -ruN heimdal-0.3e-old/appl/telnet/libtelnet/Makefile.in heimdal-0.3e/appl/telnet/libtelnet/Makefile.in
+--- heimdal-0.3e-old/appl/telnet/libtelnet/Makefile.in	Mon Feb  5 18:59:26 2001
++++ heimdal-0.3e/appl/telnet/libtelnet/Makefile.in	Sat Jun 16 15:14:50 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -92,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -132,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -175,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+diff -ruN heimdal-0.3e-old/appl/telnet/telnet/Makefile.in heimdal-0.3e/appl/telnet/telnet/Makefile.in
+--- heimdal-0.3e-old/appl/telnet/telnet/Makefile.in	Mon Feb  5 18:59:27 2001
++++ heimdal-0.3e/appl/telnet/telnet/Makefile.in	Sat Jun 16 15:14:50 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -92,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -132,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -175,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = 
+@@ -225,8 +236,7 @@
+ telnet_LDADD = $(LDADD)
+ @KRB5_FALSE@telnet_DEPENDENCIES =  ../libtelnet/libtelnet.a
+ @KRB5_TRUE@telnet_DEPENDENCIES =  ../libtelnet/libtelnet.a \
+-@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ telnet_LDFLAGS = 
+ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+diff -ruN heimdal-0.3e-old/appl/telnet/telnetd/Makefile.in heimdal-0.3e/appl/telnet/telnetd/Makefile.in
+--- heimdal-0.3e-old/appl/telnet/telnetd/Makefile.in	Mon Feb  5 18:59:29 2001
++++ heimdal-0.3e/appl/telnet/telnetd/Makefile.in	Sat Jun 16 15:14:50 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -92,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -132,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -175,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = 
+@@ -226,8 +237,7 @@
+ telnetd_LDADD = $(LDADD)
+ @KRB5_FALSE@telnetd_DEPENDENCIES =  ../libtelnet/libtelnet.a
+ @KRB5_TRUE@telnetd_DEPENDENCIES =  ../libtelnet/libtelnet.a \
+-@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ telnetd_LDFLAGS = 
+ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+diff -ruN heimdal-0.3e-old/appl/test/Makefile.in heimdal-0.3e/appl/test/Makefile.in
+--- heimdal-0.3e-old/appl/test/Makefile.in	Mon Feb  5 18:59:30 2001
++++ heimdal-0.3e/appl/test/Makefile.in	Sat Jun 16 15:14:50 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -92,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -132,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -175,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+diff -ruN heimdal-0.3e-old/appl/xnlock/Makefile.in heimdal-0.3e/appl/xnlock/Makefile.in
+--- heimdal-0.3e-old/appl/xnlock/Makefile.in	Mon Feb  5 18:59:24 2001
++++ heimdal-0.3e/appl/xnlock/Makefile.in	Sat Jun 16 15:14:50 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -92,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -131,7 +136,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -174,14 +179,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+@@ -225,14 +236,12 @@
+ xnlock_LDADD = $(LDADD)
+ @KRB4_FALSE@@KRB5_FALSE@xnlock_DEPENDENCIES = 
+ @KRB4_FALSE@@KRB5_TRUE@xnlock_DEPENDENCIES =  \
+-@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
++@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB4_TRUE@@KRB5_FALSE@xnlock_DEPENDENCIES =  \
+ @KRB4_TRUE@@KRB5_FALSE@$(top_builddir)/lib/kafs/libkafs.la
+ @KRB4_TRUE@@KRB5_TRUE@xnlock_DEPENDENCIES =  \
+ @KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/kafs/libkafs.la \
+-@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
++@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ xnlock_LDFLAGS = 
+ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+diff -ruN heimdal-0.3e-old/config.guess heimdal-0.3e/config.guess
+--- heimdal-0.3e-old/config.guess	Mon Sep 25 10:15:55 2000
++++ heimdal-0.3e/config.guess	Sat Jun 16 15:14:27 2001
+@@ -1,9 +1,9 @@
+ #! /bin/sh
+ # Attempt to guess a canonical system name.
+-#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000
++#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ #   Free Software Foundation, Inc.
+ 
+-version='2000-09-05'
++timestamp='2001-04-20'
+ 
+ # This file is free software; you can redistribute it and/or modify it
+ # under the terms of the GNU General Public License as published by
+@@ -32,30 +32,41 @@
+ # exits with 0.  Otherwise, it exits with 1.
+ #
+ # The plan is that this can be called by configure scripts if you
+-# don't specify an explicit system type (host/target name).
+-#
+-# Only a few systems have been added to this list; please add others
+-# (but try to keep the structure clean).
+-#
++# don't specify an explicit build system type.
+ 
+ me=`echo "$0" | sed -e 's,.*/,,'`
+ 
+ usage="\
+ Usage: $0 [OPTION]
+ 
+-Output the configuration name of this system.
++Output the configuration name of the system \`$me' is run on.
+ 
+ Operation modes:
+-  -h, --help               print this help, then exit
+-  -V, --version            print version number, then exit"
++  -h, --help         print this help, then exit
++  -t, --time-stamp   print date of last modification, then exit
++  -v, --version      print version number, then exit
++
++Report bugs and patches to <config-patches@gnu.org>."
++
++version="\
++GNU config.guess ($timestamp)
++
++Originally written by Per Bothner.
++Copyright (C) 1992, 93, 94, 95, 96, 97, 98, 99, 2000
++Free Software Foundation, Inc.
++
++This is free software; see the source for copying conditions.  There is NO
++warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
+ 
+ help="
+ Try \`$me --help' for more information."
+ 
+ # Parse command line
+ while test $# -gt 0 ; do
+-  case "$1" in
+-    --version | --vers* | -V )
++  case $1 in
++    --time-stamp | --time* | -t )
++       echo "$timestamp" ; exit 0 ;;
++    --version | -v )
+        echo "$version" ; exit 0 ;;
+     --help | --h* | -h )
+        echo "$usage"; exit 0 ;;
+@@ -64,9 +75,7 @@
+     - )	# Use stdin as input.
+        break ;;
+     -* )
+-       exec >&2
+-       echo "$me: invalid option $1"
+-       echo "$help"
++       echo "$me: invalid option $1$help" >&2
+        exit 1 ;;
+     * )
+        break ;;
+@@ -78,19 +87,30 @@
+   exit 1
+ fi
+ 
+-# Use $HOST_CC if defined. $CC may point to a cross-compiler
+-if test x"$CC_FOR_BUILD" = x; then
+-  if test x"$HOST_CC" != x; then
+-    CC_FOR_BUILD="$HOST_CC"
+-  else
+-    if test x"$CC" != x; then
+-      CC_FOR_BUILD="$CC"
+-    else
+-      CC_FOR_BUILD=cc
+-    fi
+-  fi
+-fi
+ 
++dummy=dummy-$$
++trap 'rm -f $dummy.c $dummy.o $dummy.rel $dummy; exit 1' 1 2 15
++
++# CC_FOR_BUILD -- compiler used by this script.
++# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
++# use `HOST_CC' if defined, but it is deprecated.
++
++case $CC_FOR_BUILD,$HOST_CC,$CC in
++ ,,)    echo "int dummy(){}" > $dummy.c
++	for c in cc gcc c89 ; do
++	  ($c $dummy.c -c -o $dummy.o) >/dev/null 2>&1
++	  if test $? = 0 ; then
++	     CC_FOR_BUILD="$c"; break
++	  fi
++	done
++	rm -f $dummy.c $dummy.o $dummy.rel
++	if test x"$CC_FOR_BUILD" = x ; then
++	  CC_FOR_BUILD=no_compiler_found
++	fi
++	;;
++ ,,*)   CC_FOR_BUILD=$CC ;;
++ ,*,*)  CC_FOR_BUILD=$HOST_CC ;;
++esac
+ 
+ # This is needed to find uname on a Pyramid OSx when run in the BSD universe.
+ # (ghazi@noc.rutgers.edu 8/24/94.)
+@@ -100,12 +120,9 @@
+ 
+ UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
+ UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
+-UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
++UNAME_SYSTEM=`(uname -s) 2>/dev/null`  || UNAME_SYSTEM=unknown
+ UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
+ 
+-dummy=dummy-$$
+-trap 'rm -f $dummy.c $dummy.o $dummy; exit 1' 1 2 15
+-
+ # Note: order is significant - the case branches are not exclusive.
+ 
+ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
+@@ -129,16 +146,24 @@
+ 	    ibmrt|romp-ibm) machine=romp-ibm ;;
+ 	    *) machine=${UNAME_MACHINE}-unknown ;;
+ 	esac
+-	# The Operating System including object format.
+-	if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
+-		| grep __ELF__ >/dev/null
+-	then
+-	    # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
+-	    # Return netbsd for either.  FIX?
+-	    os=netbsd
+-	else
+-	    os=netbsdelf
+-	fi
++	# The Operating System including object format, if it has switched
++	# to ELF recently, or will in the future.
++	case "${UNAME_MACHINE}" in
++	    i386|sparc|amiga|arm*|hp300|mvme68k|vax|atari|luna68k|mac68k|news68k|next68k|pc532|sun3*|x68k)
++		if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
++			| grep __ELF__ >/dev/null
++		then
++		    # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
++		    # Return netbsd for either.  FIX?
++		    os=netbsd
++		else
++		    os=netbsdelf
++		fi
++		;;
++	    *)
++	        os=netbsd
++		;;
++	esac
+ 	# The OS release
+ 	release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
+ 	# Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
+@@ -247,7 +272,7 @@
+     arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
+ 	echo arm-acorn-riscix${UNAME_RELEASE}
+ 	exit 0;;
+-    SR2?01:HI-UX/MPP:*:*)
++    SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
+ 	echo hppa1.1-hitachi-hiuxmpp
+ 	exit 0;;
+     Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*)
+@@ -308,7 +333,7 @@
+ 	exit 0 ;;
+     # The situation for MiNT is a little confusing.  The machine name
+     # can be virtually everything (everything which is not
+-    # "atarist" or "atariste" at least should have a processor 
++    # "atarist" or "atariste" at least should have a processor
+     # > m68000).  The system name ranges from "MiNT" over "FreeMiNT"
+     # to the lowercase version "mint" (or "freemint").  Finally
+     # the system name "TOS" denotes a system which is actually not
+@@ -383,10 +408,13 @@
+ EOF
+ 	$CC_FOR_BUILD $dummy.c -o $dummy \
+ 	  && ./$dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \
+-	  && rm $dummy.c $dummy && exit 0
++	  && rm -f $dummy.c $dummy && exit 0
+ 	rm -f $dummy.c $dummy
+ 	echo mips-mips-riscos${UNAME_RELEASE}
+ 	exit 0 ;;
++    Motorola:PowerMAX_OS:*:*)
++	echo powerpc-motorola-powermax
++	exit 0 ;;
+     Night_Hawk:Power_UNIX:*:*)
+ 	echo powerpc-harris-powerunix
+ 	exit 0 ;;
+@@ -402,7 +430,7 @@
+     AViiON:dgux:*:*)
+         # DG/UX returns AViiON for all architectures
+         UNAME_PROCESSOR=`/usr/bin/uname -p`
+-	if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110]
++	if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
+ 	then
+ 	    if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
+ 	       [ ${TARGET_BINARY_INTERFACE}x = x ]
+@@ -434,9 +462,17 @@
+     ????????:AIX?:[12].1:2)   # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
+ 	echo romp-ibm-aix      # uname -m gives an 8 hex-code CPU id
+ 	exit 0 ;;              # Note that: echo "'`uname -s`'" gives 'AIX '
+-    i?86:AIX:*:*)
++    i*86:AIX:*:*)
+ 	echo i386-ibm-aix
+ 	exit 0 ;;
++    ia64:AIX:*:*)
++	if [ -x /usr/bin/oslevel ] ; then
++		IBM_REV=`/usr/bin/oslevel`
++	else
++		IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
++	fi
++	echo ${UNAME_MACHINE}-ibm-aix${IBM_REV}
++	exit 0 ;;
+     *:AIX:2:3)
+ 	if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
+ 		sed 's/^		//' << EOF >$dummy.c
+@@ -450,7 +486,7 @@
+ 			exit(0);
+ 			}
+ EOF
+-		$CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm $dummy.c $dummy && exit 0
++		$CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm -f $dummy.c $dummy && exit 0
+ 		rm -f $dummy.c $dummy
+ 		echo rs6000-ibm-aix3.2.5
+ 	elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
+@@ -459,9 +495,9 @@
+ 		echo rs6000-ibm-aix3.2
+ 	fi
+ 	exit 0 ;;
+-    *:AIX:*:4)
++    *:AIX:*:[45])
+ 	IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | head -1 | awk '{ print $1 }'`
+-	if /usr/sbin/lsattr -EHl ${IBM_CPU_ID} | grep POWER >/dev/null 2>&1; then
++	if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
+ 		IBM_ARCH=rs6000
+ 	else
+ 		IBM_ARCH=powerpc
+@@ -469,7 +505,7 @@
+ 	if [ -x /usr/bin/oslevel ] ; then
+ 		IBM_REV=`/usr/bin/oslevel`
+ 	else
+-		IBM_REV=4.${UNAME_RELEASE}
++		IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
+ 	fi
+ 	echo ${IBM_ARCH}-ibm-aix${IBM_REV}
+ 	exit 0 ;;
+@@ -495,10 +531,28 @@
+ 	echo m68k-hp-bsd4.4
+ 	exit 0 ;;
+     9000/[34678]??:HP-UX:*:*)
++	HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
+ 	case "${UNAME_MACHINE}" in
+ 	    9000/31? )            HP_ARCH=m68000 ;;
+ 	    9000/[34]?? )         HP_ARCH=m68k ;;
+ 	    9000/[678][0-9][0-9])
++              case "${HPUX_REV}" in
++                11.[0-9][0-9])
++                  if [ -x /usr/bin/getconf ]; then
++                    sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
++                    sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
++                    case "${sc_cpu_version}" in
++                      523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
++                      528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
++                      532)                      # CPU_PA_RISC2_0
++                        case "${sc_kernel_bits}" in
++                          32) HP_ARCH="hppa2.0n" ;;
++                          64) HP_ARCH="hppa2.0w" ;;
++                        esac ;;
++                    esac
++                  fi ;;
++              esac
++              if [ "${HP_ARCH}" = "" ]; then
+               sed 's/^              //' << EOF >$dummy.c
+ 
+               #define _HPUX_SOURCE
+@@ -533,11 +587,16 @@
+               }
+ EOF
+ 	(CCOPTS= $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null ) && HP_ARCH=`./$dummy`
++	if test -z "$HP_ARCH"; then HP_ARCH=hppa; fi
+ 	rm -f $dummy.c $dummy
++	fi ;;
+ 	esac
+-	HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
+ 	echo ${HP_ARCH}-hp-hpux${HPUX_REV}
+ 	exit 0 ;;
++    ia64:HP-UX:*:*)
++	HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
++	echo ia64-hp-hpux${HPUX_REV}
++	exit 0 ;;
+     3050*:HI-UX:*:*)
+ 	sed 's/^	//' << EOF >$dummy.c
+ 	#include <unistd.h>
+@@ -564,7 +623,7 @@
+ 	  exit (0);
+ 	}
+ EOF
+-	$CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm $dummy.c $dummy && exit 0
++	$CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm -f $dummy.c $dummy && exit 0
+ 	rm -f $dummy.c $dummy
+ 	echo unknown-hitachi-hiuxwe2
+ 	exit 0 ;;
+@@ -583,7 +642,7 @@
+     hp8??:OSF1:*:*)
+ 	echo hppa1.0-hp-osf
+ 	exit 0 ;;
+-    i?86:OSF1:*:*)
++    i*86:OSF1:*:*)
+ 	if [ -x /usr/sbin/sysversion ] ; then
+ 	    echo ${UNAME_MACHINE}-unknown-osf1mk
+ 	else
+@@ -628,27 +687,28 @@
+     CRAY*TS:*:*:*)
+ 	echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
+ 	exit 0 ;;
+-    CRAY*T3E:*:*:*)
++    CRAY*T3D:*:*:*)
+ 	echo alpha-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
+ 	exit 0 ;;
++    CRAY*T3E:*:*:*)
++	echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
++	exit 0 ;;
+     CRAY*SV1:*:*:*)
+-	echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'    
++	echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
+ 	exit 0 ;;
+     CRAY-2:*:*:*)
+ 	echo cray2-cray-unicos
+         exit 0 ;;
+-    F300:UNIX_System_V:*:*)
++    F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
++	FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
+         FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
+         FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
+-        echo "f300-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
++        echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
+         exit 0 ;;
+-    F301:UNIX_System_V:*:*)
+-       echo f301-fujitsu-uxpv`echo $UNAME_RELEASE | sed 's/ .*//'`
+-       exit 0 ;;
+     hp300:OpenBSD:*:*)
+ 	echo m68k-unknown-openbsd${UNAME_RELEASE}
+ 	exit 0 ;;
+-    i?86:BSD/386:*:* | i?86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
++    i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
+ 	echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
+ 	exit 0 ;;
+     sparc*:BSD/OS:*:*)
+@@ -693,57 +753,38 @@
+     i*86:Minix:*:*)
+ 	echo ${UNAME_MACHINE}-pc-minix
+ 	exit 0 ;;
+-    *:Linux:*:*)
+-
+-	# The BFD linker knows what the default object file format is, so
+-	# first see if it will tell us. cd to the root directory to prevent
+-	# problems with other programs or directories called `ld' in the path.
+-	ld_help_string=`cd /; ld --help 2>&1`
+-	ld_supported_emulations=`echo $ld_help_string \
+-			 | sed -ne '/supported emulations:/!d
+-				    s/[ 	][ 	]*/ /g
+-				    s/.*supported emulations: *//
+-				    s/ .*//
+-				    p'`
+-        case "$ld_supported_emulations" in
+-	  *ia64)
+-		echo "${UNAME_MACHINE}-unknown-linux"
+-		exit 0
+-		;;
+-	  i?86linux)
+-		echo "${UNAME_MACHINE}-pc-linux-gnuaout"
+-		exit 0
+-		;;
+-	  elf_i?86)
+-		TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
+-		;;
+-	  i?86coff)
+-		echo "${UNAME_MACHINE}-pc-linux-gnucoff"
+-		exit 0
+-		;;
+-	  sparclinux)
+-		echo "${UNAME_MACHINE}-unknown-linux-gnuaout"
+-		exit 0
+-		;;
+-	  armlinux)
+-		echo "${UNAME_MACHINE}-unknown-linux-gnuaout"
+-		exit 0
+-		;;
+-	  elf32arm*)
+-		echo "${UNAME_MACHINE}-unknown-linux-gnuoldld"
+-		exit 0
+-		;;
+-	  armelf_linux*)
+-		echo "${UNAME_MACHINE}-unknown-linux-gnu"
+-		exit 0
+-		;;
+-	  m68klinux)
+-		echo "${UNAME_MACHINE}-unknown-linux-gnuaout"
+-		exit 0
+-		;;
+-	  elf32ppc | elf32ppclinux)
+-		# Determine Lib Version
+-		cat >$dummy.c <<EOF
++    arm*:Linux:*:*)
++	echo ${UNAME_MACHINE}-unknown-linux-gnu
++	exit 0 ;;
++    ia64:Linux:*:*)
++	echo ${UNAME_MACHINE}-unknown-linux
++	exit 0 ;;
++    m68*:Linux:*:*)
++	echo ${UNAME_MACHINE}-unknown-linux-gnu
++	exit 0 ;;
++    mips:Linux:*:*)
++	cat >$dummy.c <<EOF
++#ifdef __cplusplus
++#include <stdio.h>  /* for printf() prototype */
++int main (int argc, char *argv[]) {
++#else
++int main (argc, argv) int argc; char *argv[]; {
++#endif
++#ifdef __MIPSEB__
++  printf ("%s-unknown-linux-gnu\n", argv[1]);
++#endif
++#ifdef __MIPSEL__
++  printf ("%sel-unknown-linux-gnu\n", argv[1]);
++#endif
++  return 0;
++}
++EOF
++	$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy "${UNAME_MACHINE}" && rm -f $dummy.c $dummy && exit 0
++	rm -f $dummy.c $dummy
++	;;
++    ppc:Linux:*:*)
++	# Determine Lib Version
++	cat >$dummy.c <<EOF
+ #include <features.h>
+ #if defined(__GLIBC__)
+ extern char __libc_version[];
+@@ -756,129 +797,127 @@
+ #if defined(__GLIBC__)
+   printf("%s %s\n", __libc_version, __libc_release);
+ #else
+-  printf("unkown\n");
++  printf("unknown\n");
+ #endif
+   return 0;
+ }
+ EOF
+-		LIBC=""
+-		$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null
++	LIBC=""
++	$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null
++	if test "$?" = 0 ; then
++		./$dummy | grep 1\.99 > /dev/null
++		if test "$?" = 0 ; then LIBC="libc1" ; fi
++	fi
++	rm -f $dummy.c $dummy
++	echo powerpc-unknown-linux-gnu${LIBC}
++	exit 0 ;;
++    alpha:Linux:*:*)
++	cat <<EOF >$dummy.s
++	  .data
++	  \$Lformat:
++		.byte 37,100,45,37,120,10,0	# "%d-%x\n"
++	   .text
++		.globl main
++		.align 4
++		.ent main
++	    main:
++		.frame \$30,16,\$26,0
++		ldgp \$29,0(\$27)
++		.prologue 1
++		.long 0x47e03d80 # implver \$0
++		lda \$2,-1
++		.long 0x47e20c21 # amask \$2,\$1
++		lda \$16,\$Lformat
++		mov \$0,\$17
++		not \$1,\$18
++		jsr \$26,printf
++		ldgp \$29,0(\$26)
++		mov 0,\$16
++		jsr \$26,exit
++		.end main
++EOF
++	LIBC=""
++	$CC_FOR_BUILD $dummy.s -o $dummy 2>/dev/null
++	if test "$?" = 0 ; then
++		case `./$dummy` in
++		0-0)	UNAME_MACHINE="alpha" ;;
++		1-0)	UNAME_MACHINE="alphaev5" ;;
++		1-1)    UNAME_MACHINE="alphaev56" ;;
++		1-101)	UNAME_MACHINE="alphapca56" ;;
++		2-303)	UNAME_MACHINE="alphaev6" ;;
++		2-307)	UNAME_MACHINE="alphaev67" ;;
++		esac
++		objdump --private-headers $dummy | \
++		  grep ld.so.1 > /dev/null
+ 		if test "$?" = 0 ; then
+-			./$dummy | grep 1\.99 > /dev/null
+-			if test "$?" = 0 ; then
+-				LIBC="libc1"
+-			fi
+-		fi	
+-		rm -f $dummy.c $dummy
+-		echo powerpc-unknown-linux-gnu${LIBC}
++			LIBC="libc1"
++		fi
++	fi
++	rm -f $dummy.s $dummy
++	echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
++	exit 0 ;;
++    parisc:Linux:*:* | hppa:Linux:*:*)
++	# Look for CPU level
++	case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
++	  PA7*) echo hppa1.1-unknown-linux-gnu ;;
++	  PA8*) echo hppa2.0-unknown-linux-gnu ;;
++	  *)    echo hppa-unknown-linux-gnu ;;
++	esac
++	exit 0 ;;
++    parisc64:Linux:*:* | hppa64:Linux:*:*)
++	echo hppa64-unknown-linux-gnu
++	exit 0 ;;
++    s390:Linux:*:* | s390x:Linux:*:*)
++	echo ${UNAME_MACHINE}-ibm-linux
++	exit 0 ;;
++    sh*:Linux:*:*)
++	echo ${UNAME_MACHINE}-unknown-linux-gnu
++	exit 0 ;;
++    sparc:Linux:*:* | sparc64:Linux:*:*)
++	echo ${UNAME_MACHINE}-unknown-linux-gnu
++	exit 0 ;;
++    x86_64:Linux:*:*)
++	echo x86_64-unknown-linux-gnu
++	exit 0 ;;
++    i*86:Linux:*:*)
++	# The BFD linker knows what the default object file format is, so
++	# first see if it will tell us. cd to the root directory to prevent
++	# problems with other programs or directories called `ld' in the path.
++	ld_supported_emulations=`cd /; ld --help 2>&1 \
++			 | sed -ne '/supported emulations:/!d
++				    s/[ 	][ 	]*/ /g
++				    s/.*supported emulations: *//
++				    s/ .*//
++				    p'`
++        case "$ld_supported_emulations" in
++	  i*86linux)
++		echo "${UNAME_MACHINE}-pc-linux-gnuaout"
+ 		exit 0
+ 		;;
+-	  shelf_linux)
+-		echo "${UNAME_MACHINE}-unknown-linux-gnu"
++	  elf_i*86)
++		TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
++		;;
++	  i*86coff)
++		echo "${UNAME_MACHINE}-pc-linux-gnucoff"
+ 		exit 0
+ 		;;
+ 	esac
+-
+-	if test "${UNAME_MACHINE}" = "alpha" ; then
+-		cat <<EOF >$dummy.s
+-			.data
+-		\$Lformat:
+-			.byte 37,100,45,37,120,10,0	# "%d-%x\n"
+-
+-			.text
+-			.globl main
+-			.align 4
+-			.ent main
+-		main:
+-			.frame \$30,16,\$26,0
+-			ldgp \$29,0(\$27)
+-			.prologue 1
+-			.long 0x47e03d80 # implver \$0
+-			lda \$2,-1
+-			.long 0x47e20c21 # amask \$2,\$1
+-			lda \$16,\$Lformat
+-			mov \$0,\$17
+-			not \$1,\$18
+-			jsr \$26,printf
+-			ldgp \$29,0(\$26)
+-			mov 0,\$16
+-			jsr \$26,exit
+-			.end main
+-EOF
+-		LIBC=""
+-		$CC_FOR_BUILD $dummy.s -o $dummy 2>/dev/null
+-		if test "$?" = 0 ; then
+-			case `./$dummy` in
+-			0-0)
+-				UNAME_MACHINE="alpha"
+-				;;
+-			1-0)
+-				UNAME_MACHINE="alphaev5"
+-				;;
+-			1-1)
+-				UNAME_MACHINE="alphaev56"
+-				;;
+-			1-101)
+-				UNAME_MACHINE="alphapca56"
+-				;;
+-			2-303)
+-				UNAME_MACHINE="alphaev6"
+-				;;
+-			2-307)
+-				UNAME_MACHINE="alphaev67"
+-				;;
+-			esac
+-
+-			objdump --private-headers $dummy | \
+-			  grep ld.so.1 > /dev/null
+-			if test "$?" = 0 ; then
+-				LIBC="libc1"
+-			fi
+-		fi
+-		rm -f $dummy.s $dummy
+-		echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} ; exit 0
+-	elif test "${UNAME_MACHINE}" = "mips" ; then
+-	  cat >$dummy.c <<EOF
+-#ifdef __cplusplus
+-#include <stdio.h>  /* for printf() prototype */
+-	int main (int argc, char *argv[]) {
+-#else
+-	int main (argc, argv) int argc; char *argv[]; {
+-#endif
+-#ifdef __MIPSEB__
+-  printf ("%s-unknown-linux-gnu\n", argv[1]);
+-#endif
+-#ifdef __MIPSEL__
+-  printf ("%sel-unknown-linux-gnu\n", argv[1]);
+-#endif
+-  return 0;
+-}
+-EOF
+-	  $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy "${UNAME_MACHINE}" && rm $dummy.c $dummy && exit 0
+-	  rm -f $dummy.c $dummy
+-	elif test "${UNAME_MACHINE}" = "s390"; then
+-	  echo s390-ibm-linux && exit 0
+-	elif test "${UNAME_MACHINE}" = "x86_64"; then
+-	  echo x86_64-unknown-linux-gnu && exit 0
+-	else
+-	  # Either a pre-BFD a.out linker (linux-gnuoldld)
+-	  # or one that does not give us useful --help.
+-	  # GCC wants to distinguish between linux-gnuoldld and linux-gnuaout.
+-	  # If ld does not provide *any* "supported emulations:"
+-	  # that means it is gnuoldld.
+-	  echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations:"
+-	  test $? != 0 && echo "${UNAME_MACHINE}-pc-linux-gnuoldld" && exit 0
+-
+-	  case "${UNAME_MACHINE}" in
+-	  i?86)
+-	    VENDOR=pc;
+-	    ;;
+-	  *)
+-	    VENDOR=unknown;
+-	    ;;
+-	  esac
+-	  # Determine whether the default compiler is a.out or elf
+-	  cat >$dummy.c <<EOF
++	# Either a pre-BFD a.out linker (linux-gnuoldld)
++	# or one that does not give us useful --help.
++	# GCC wants to distinguish between linux-gnuoldld and linux-gnuaout.
++	# If ld does not provide *any* "supported emulations:"
++	# that means it is gnuoldld.
++	test -z "$ld_supported_emulations" && echo "${UNAME_MACHINE}-pc-linux-gnuoldld" && exit 0
++	case "${UNAME_MACHINE}" in
++	i*86)
++	  VENDOR=pc;
++	  ;;
++	*)
++	  VENDOR=unknown;
++	  ;;
++	esac
++	# Determine whether the default compiler is a.out or elf
++	cat >$dummy.c <<EOF
+ #include <features.h>
+ #ifdef __cplusplus
+ #include <stdio.h>  /* for printf() prototype */
+@@ -902,16 +941,16 @@
+   return 0;
+ }
+ EOF
+-	  $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy "${UNAME_MACHINE}" && rm $dummy.c $dummy && exit 0
+-	  rm -f $dummy.c $dummy
+-	  test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0
+-	fi ;;
++	$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy "${UNAME_MACHINE}" && rm -f $dummy.c $dummy && exit 0
++	rm -f $dummy.c $dummy
++	test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0
++	;;
+ # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.  earlier versions
+ # are messed up and put the nodename in both sysname and nodename.
+-    i?86:DYNIX/ptx:4*:*)
++    i*86:DYNIX/ptx:4*:*)
+ 	echo i386-sequent-sysv4
+ 	exit 0 ;;
+-    i?86:UNIX_SV:4.2MP:2.*)
++    i*86:UNIX_SV:4.2MP:2.*)
+         # Unixware is an offshoot of SVR4, but it has its own version
+         # number series starting with 2...
+         # I am not positive that other SVR4 systems won't match this,
+@@ -919,7 +958,7 @@
+         # Use sysv4.2uw... so that sysv4* matches it.
+ 	echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
+ 	exit 0 ;;
+-    i?86:*:4.*:* | i?86:SYSTEM_V:4.*:*)
++    i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
+ 	UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
+ 	if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
+ 		echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL}
+@@ -927,7 +966,7 @@
+ 		echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL}
+ 	fi
+ 	exit 0 ;;
+-    i?86:*:5:7*)
++    i*86:*:5:7*)
+         # Fixed at (any) Pentium or better
+         UNAME_MACHINE=i586
+         if [ ${UNAME_SYSTEM} = "UnixWare" ] ; then
+@@ -936,7 +975,7 @@
+ 	    echo ${UNAME_MACHINE}-pc-sysv${UNAME_RELEASE}
+ 	fi
+ 	exit 0 ;;
+-    i?86:*:3.2:*)
++    i*86:*:3.2:*)
+ 	if test -f /usr/options/cb.name; then
+ 		UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
+ 		echo ${UNAME_MACHINE}-pc-isc$UNAME_REL
+@@ -954,7 +993,7 @@
+ 		echo ${UNAME_MACHINE}-pc-sysv32
+ 	fi
+ 	exit 0 ;;
+-    i?86:*DOS:*:*)
++    i*86:*DOS:*:*)
+ 	echo ${UNAME_MACHINE}-pc-msdosdjgpp
+ 	exit 0 ;;
+     pc:*:*:*)
+@@ -982,7 +1021,7 @@
+ 	exit 0 ;;
+     M68*:*:R3V[567]*:*)
+ 	test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
+-    3[34]??:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 4850:*:4.0:3.0)
++    3[34]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 4850:*:4.0:3.0)
+ 	OS_REL=''
+ 	test -r /etc/.relid \
+ 	&& OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
+@@ -993,21 +1032,24 @@
+     3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
+         /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
+           && echo i486-ncr-sysv4 && exit 0 ;;
+-    m68*:LynxOS:2.*:*)
++    m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
+ 	echo m68k-unknown-lynxos${UNAME_RELEASE}
+ 	exit 0 ;;
+     mc68030:UNIX_System_V:4.*:*)
+ 	echo m68k-atari-sysv4
+ 	exit 0 ;;
+-    i?86:LynxOS:2.*:* | i?86:LynxOS:3.[01]*:*)
++    i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
+ 	echo i386-unknown-lynxos${UNAME_RELEASE}
+ 	exit 0 ;;
+     TSUNAMI:LynxOS:2.*:*)
+ 	echo sparc-unknown-lynxos${UNAME_RELEASE}
+ 	exit 0 ;;
+-    rs6000:LynxOS:2.*:* | PowerPC:LynxOS:2.*:*)
++    rs6000:LynxOS:2.*:*)
+ 	echo rs6000-unknown-lynxos${UNAME_RELEASE}
+ 	exit 0 ;;
++    PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
++	echo powerpc-unknown-lynxos${UNAME_RELEASE}
++	exit 0 ;;
+     SM[BE]S:UNIX_SV:*:*)
+ 	echo mips-dde-sysv${UNAME_RELEASE}
+ 	exit 0 ;;
+@@ -1087,6 +1129,9 @@
+     NSR-[KW]:NONSTOP_KERNEL:*:*)
+ 	echo nsr-tandem-nsk${UNAME_RELEASE}
+ 	exit 0 ;;
++    *:NonStop-UX:*:*)
++	echo mips-compaq-nonstopux
++	exit 0 ;;
+     BS2000:POSIX*:*:*)
+ 	echo bs2000-siemens-sysv
+ 	exit 0 ;;
+@@ -1104,8 +1149,29 @@
+ 	fi
+ 	echo ${UNAME_MACHINE}-unknown-plan9
+ 	exit 0 ;;
+-    *:OS/2:*:*)
+-	echo ${UNAME_MACHINE}-pc-os2_emx
++    i*86:OS/2:*:*)
++	# If we were able to find `uname', then EMX Unix compatibility
++	# is probably installed.
++	echo ${UNAME_MACHINE}-pc-os2-emx
++	exit 0 ;;
++    *:TOPS-10:*:*)
++	echo pdp10-unknown-tops10
++	exit 0 ;;
++    *:TENEX:*:*)
++	echo pdp10-unknown-tenex
++	exit 0 ;;
++    KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*)
++	echo pdp10-dec-tops20
++	exit 0 ;;
++    XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*)
++	echo pdp10-xkl-tops20
++	exit 0 ;;
++    *:TOPS-20:*:*)
++	echo pdp10-unknown-tops20
++	exit 0 ;;
++    *:ITS:*:*)
++	echo pdp10-unknown-its
++	exit 0 ;;
+ esac
+ 
+ #echo '(No uname command or uname output not recognized.)' 1>&2
+@@ -1197,11 +1263,24 @@
+ #endif
+ 
+ #if defined (vax)
+-#if !defined (ultrix)
+-  printf ("vax-dec-bsd\n"); exit (0);
+-#else
+-  printf ("vax-dec-ultrix\n"); exit (0);
+-#endif
++# if !defined (ultrix)
++#  include <sys/param.h>
++#  if defined (BSD)
++#   if BSD == 43
++      printf ("vax-dec-bsd4.3\n"); exit (0);
++#   else
++#    if BSD == 199006
++      printf ("vax-dec-bsd4.3reno\n"); exit (0);
++#    else
++      printf ("vax-dec-bsd\n"); exit (0);
++#    endif
++#   endif
++#  else
++    printf ("vax-dec-bsd\n"); exit (0);
++#  endif
++# else
++    printf ("vax-dec-ultrix\n"); exit (0);
++# endif
+ #endif
+ 
+ #if defined (alliant) && defined (i860)
+@@ -1212,7 +1291,7 @@
+ }
+ EOF
+ 
+-$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy && rm $dummy.c $dummy && exit 0
++$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy && rm -f $dummy.c $dummy && exit 0
+ rm -f $dummy.c $dummy
+ 
+ # Apollos put the system type in the environment.
+@@ -1248,8 +1327,9 @@
+ cat >&2 <<EOF
+ $0: unable to guess system type
+ 
+-The $version version of this script cannot recognize your system type.
+-Please download the most up to date version of the config scripts:
++This script, last modified $timestamp, has failed to recognize
++the operating system you are using. It is advised that you
++download the most up to date version of the config scripts from
+ 
+     ftp://ftp.gnu.org/pub/gnu/config/
+ 
+@@ -1258,7 +1338,7 @@
+ pertinent to <config-patches@gnu.org> in order to provide the needed
+ information to handle your system.
+ 
+-config.guess version = $version
++config.guess timestamp = $timestamp
+ 
+ uname -m = `(uname -m) 2>/dev/null || echo unknown`
+ uname -r = `(uname -r) 2>/dev/null || echo unknown`
+@@ -1285,7 +1365,7 @@
+ 
+ # Local variables:
+ # eval: (add-hook 'write-file-hooks 'time-stamp)
+-# time-stamp-start: "version='"
++# time-stamp-start: "timestamp='"
+ # time-stamp-format: "%:y-%02m-%02d"
+ # time-stamp-end: "'"
+ # End:
+diff -ruN heimdal-0.3e-old/config.sub heimdal-0.3e/config.sub
+--- heimdal-0.3e-old/config.sub	Mon Sep 25 10:16:33 2000
++++ heimdal-0.3e/config.sub	Sat Jun 16 15:14:27 2001
+@@ -1,9 +1,9 @@
+ #! /bin/sh
+-# Configuration validation subroutine script, version 1.1.
+-#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Configuration validation subroutine script.
++#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ #   Free Software Foundation, Inc.
+ 
+-version='2000-09-11'
++timestamp='2001-04-20'
+ 
+ # This file is (in principle) common to ALL GNU software.
+ # The presence of a machine in this file suggests that SOME GNU software
+@@ -60,16 +60,30 @@
+ Canonicalize a configuration name.
+ 
+ Operation modes:
+-  -h, --help               print this help, then exit
+-  -V, --version            print version number, then exit"
++  -h, --help         print this help, then exit
++  -t, --time-stamp   print date of last modification, then exit
++  -v, --version      print version number, then exit
++
++Report bugs and patches to <config-patches@gnu.org>."
++
++version="\
++GNU config.sub ($timestamp)
++
++Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
++Free Software Foundation, Inc.
++
++This is free software; see the source for copying conditions.  There is NO
++warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
+ 
+ help="
+ Try \`$me --help' for more information."
+ 
+ # Parse command line
+ while test $# -gt 0 ; do
+-  case "$1" in
+-    --version | --vers* | -V )
++  case $1 in
++    --time-stamp | --time* | -t )
++       echo "$timestamp" ; exit 0 ;;
++    --version | -v )
+        echo "$version" ; exit 0 ;;
+     --help | --h* | -h )
+        echo "$usage"; exit 0 ;;
+@@ -78,9 +92,7 @@
+     - )	# Use stdin as input.
+        break ;;
+     -* )
+-       exec >&2
+-       echo "$me: invalid option $1"
+-       echo "$help"
++       echo "$me: invalid option $1$help"
+        exit 1 ;;
+ 
+     *local*)
+@@ -105,7 +117,7 @@
+ # Here we must recognize all the valid KERNEL-OS combinations.
+ maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
+ case $maybe_os in
+-  nto-qnx* | linux-gnu*)
++  nto-qnx* | linux-gnu* | storm-chaos* | os2-emx*)
+     os=-$maybe_os
+     basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
+     ;;
+@@ -203,22 +215,26 @@
+ case $basic_machine in
+ 	# Recognize the basic CPU types without company name.
+ 	# Some are omitted here because they have special meanings below.
+-	tahoe | i860 | ia64 | m32r | m68k | m68000 | m88k | ns32k | arc | arm \
+-		| arme[lb] | armv[2345] | armv[345][lb] | pyramid | mn10200 | mn10300 | tron | a29k \
++	tahoe | i860 | ia64 | m32r | m68k | m68000 | m88k | ns32k | arc \
++	        | arm | arme[lb] | arm[bl]e | armv[2345] | armv[345][lb] | strongarm | xscale \
++		| pyramid | mn10200 | mn10300 | tron | a29k \
+ 		| 580 | i960 | h8300 \
+-		| x86 | ppcbe | mipsbe | mipsle | shbe | shle | armbe | armle \
++		| x86 | ppcbe | mipsbe | mipsle | shbe | shle \
+ 		| hppa | hppa1.0 | hppa1.1 | hppa2.0 | hppa2.0w | hppa2.0n \
+ 		| hppa64 \
+ 		| alpha | alphaev[4-8] | alphaev56 | alphapca5[67] \
+ 		| alphaev6[78] \
+ 		| we32k | ns16k | clipper | i370 | sh | sh[34] \
+ 		| powerpc | powerpcle \
+-		| 1750a | dsp16xx | pdp11 | mips16 | mips64 | mipsel | mips64el \
++		| 1750a | dsp16xx | pdp10 | pdp11 \
++		| mips16 | mips64 | mipsel | mips64el \
+ 		| mips64orion | mips64orionel | mipstx39 | mipstx39el \
+ 		| mips64vr4300 | mips64vr4300el | mips64vr4100 | mips64vr4100el \
+-		| mips64vr5000 | miprs64vr5000el | mcore \
+-		| sparc | sparclet | sparclite | sparc64 | sparcv9 | v850 | c4x \
+-		| thumb | d10v | d30v | fr30 | avr)
++		| mips64vr5000 | miprs64vr5000el | mcore | s390 | s390x \
++		| sparc | sparclet | sparclite | sparc64 | sparcv9 | sparcv9b \
++		| v850 | c4x \
++		| thumb | d10v | d30v | fr30 | avr | openrisc | tic80 \
++		| pj | pjl | h8500)
+ 		basic_machine=$basic_machine-unknown
+ 		;;
+ 	m6811 | m68hc11 | m6812 | m68hc12)
+@@ -226,13 +242,13 @@
+ 		basic_machine=$basic_machine-unknown
+ 		os=-none
+ 		;;
+-	m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | z8k | v70 | h8500 | w65 | pj | pjl)
++	m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | z8k | v70 | w65)
+ 		;;
+ 
+ 	# We use `pc' rather than `unknown'
+ 	# because (1) that's what they normally are, and
+ 	# (2) the word "unknown" tends to confuse beginning users.
+-	i[234567]86 | x86_64)
++	i*86 | x86_64)
+ 	  basic_machine=$basic_machine-pc
+ 	  ;;
+ 	# Object if more than one company name word.
+@@ -242,27 +258,30 @@
+ 		;;
+ 	# Recognize the basic CPU types with company name.
+ 	# FIXME: clean up the formatting here.
+-	vax-* | tahoe-* | i[234567]86-* | i860-* | ia64-* | m32r-* | m68k-* | m68000-* \
+-	      | m88k-* | sparc-* | ns32k-* | fx80-* | arc-* | arm-* | c[123]* \
++	vax-* | tahoe-* | i*86-* | i860-* | ia64-* | m32r-* | m68k-* | m68000-* \
++	      | m88k-* | sparc-* | ns32k-* | fx80-* | arc-* | c[123]* \
++	      | arm-*  | armbe-* | armle-* | armv*-* | strongarm-* | xscale-* \
+ 	      | mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \
+ 	      | power-* | none-* | 580-* | cray2-* | h8300-* | h8500-* | i960-* \
+ 	      | xmp-* | ymp-* \
+-	      | x86-* | ppcbe-* | mipsbe-* | mipsle-* | shbe-* | shle-* | armbe-* | armle-* \
++	      | x86-* | ppcbe-* | mipsbe-* | mipsle-* | shbe-* | shle-* \
+ 	      | hppa-* | hppa1.0-* | hppa1.1-* | hppa2.0-* | hppa2.0w-* \
+ 	      | hppa2.0n-* | hppa64-* \
+ 	      | alpha-* | alphaev[4-8]-* | alphaev56-* | alphapca5[67]-* \
+ 	      | alphaev6[78]-* \
+ 	      | we32k-* | cydra-* | ns16k-* | pn-* | np1-* | xps100-* \
+ 	      | clipper-* | orion-* \
+-	      | sparclite-* | pdp11-* | sh-* | powerpc-* | powerpcle-* \
+-	      | sparc64-* | sparcv9-* | sparc86x-* | mips16-* | mips64-* | mipsel-* \
++	      | sparclite-* | pdp10-* | pdp11-* | sh-* | powerpc-* | powerpcle-* \
++	      | sparc64-* | sparcv9-* | sparcv9b-* | sparc86x-* \
++	      | mips16-* | mips64-* | mipsel-* \
+ 	      | mips64el-* | mips64orion-* | mips64orionel-* \
+ 	      | mips64vr4100-* | mips64vr4100el-* | mips64vr4300-* | mips64vr4300el-* \
+ 	      | mipstx39-* | mipstx39el-* | mcore-* \
+-	      | f301-* | armv*-* | s390-* | sv1-* | t3e-* \
++	      | f30[01]-* | f700-* | s390-* | s390x-* | sv1-* | t3e-* \
++	      | [cjt]90-* \
+ 	      | m88110-* | m680[01234]0-* | m683?2-* | m68360-* | z8k-* | d10v-* \
+-	      | thumb-* | v850-* | d30v-* | tic30-* | c30-* | fr30-* \
+-	      | bs2000-* | tic54x-* | c54x-* | x86_64-*)
++	      | thumb-* | v850-* | d30v-* | tic30-* | tic80-* | c30-* | fr30-* \
++	      | bs2000-* | tic54x-* | c54x-* | x86_64-* | pj-* | pjl-*)
+ 		;;
+ 	# Recognize the various machine names and aliases which stand
+ 	# for a CPU type and a company and sometimes even an OS.
+@@ -353,8 +372,8 @@
+ 		basic_machine=cray2-cray
+ 		os=-unicos
+ 		;;
+-	[ctj]90-cray)
+-		basic_machine=c90-cray
++	[cjt]90)
++		basic_machine=${basic_machine}-cray
+ 		os=-unicos
+ 		;;
+ 	crds | unos)
+@@ -410,6 +429,10 @@
+ 		basic_machine=tron-gmicro
+ 		os=-sysv
+ 		;;
++	go32)
++		basic_machine=i386-pc
++		os=-go32
++		;;
+ 	h3050r* | hiux*)
+ 		basic_machine=hppa1.1-hitachi
+ 		os=-hiuxwe2
+@@ -485,19 +508,19 @@
+ 		basic_machine=i370-ibm
+ 		;;
+ # I'm not sure what "Sysv32" means.  Should this be sysv3.2?
+-	i[34567]86v32)
++	i*86v32)
+ 		basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
+ 		os=-sysv32
+ 		;;
+-	i[34567]86v4*)
++	i*86v4*)
+ 		basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
+ 		os=-sysv4
+ 		;;
+-	i[34567]86v)
++	i*86v)
+ 		basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
+ 		os=-sysv
+ 		;;
+-	i[34567]86sol2)
++	i*86sol2)
+ 		basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
+ 		os=-solaris2
+ 		;;
+@@ -509,18 +532,6 @@
+ 		basic_machine=i386-unknown
+ 		os=-vsta
+ 		;;
+-	i386-go32 | go32)
+-		basic_machine=i386-unknown
+-		os=-go32
+-		;;
+-	i386-mingw32 | mingw32)
+-		basic_machine=i386-unknown
+-		os=-mingw32
+-		;;
+-	i[34567]86-pw32 | pw32)
+-		basic_machine=i586-unknown
+-		os=-pw32
+-		;;
+ 	iris | iris4d)
+ 		basic_machine=mips-sgi
+ 		case $os in
+@@ -546,6 +557,10 @@
+ 		basic_machine=ns32k-utek
+ 		os=-sysv
+ 		;;
++	mingw32)
++		basic_machine=i386-pc
++		os=-mingw32
++		;;
+ 	miniframe)
+ 		basic_machine=m68000-convergent
+ 		;;
+@@ -576,7 +591,7 @@
+ 		os=-coff
+ 		;;
+ 	msdos)
+-		basic_machine=i386-unknown
++		basic_machine=i386-pc
+ 		os=-msdos
+ 		;;
+ 	mvs)
+@@ -640,6 +655,10 @@
+ 		basic_machine=i960-intel
+ 		os=-mon960
+ 		;;
++	nonstopux)
++		basic_machine=mips-compaq
++		os=-nonstopux
++		;;
+ 	np1)
+ 		basic_machine=np1-gould
+ 		;;
+@@ -675,28 +694,28 @@
+         pc532 | pc532-*)
+ 		basic_machine=ns32k-pc532
+ 		;;
+-	pentium | p5 | k5 | k6 | nexen)
++	pentium | p5 | k5 | k6 | nexgen)
+ 		basic_machine=i586-pc
+ 		;;
+ 	pentiumpro | p6 | 6x86 | athlon)
+ 		basic_machine=i686-pc
+ 		;;
+ 	pentiumii | pentium2)
+-		basic_machine=i786-pc
++		basic_machine=i686-pc
+ 		;;
+-	pentium-* | p5-* | k5-* | k6-* | nexen-*)
++	pentium-* | p5-* | k5-* | k6-* | nexgen-*)
+ 		basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
+ 		;;
+ 	pentiumpro-* | p6-* | 6x86-* | athlon-*)
+ 		basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
+ 		;;
+ 	pentiumii-* | pentium2-*)
+-		basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
++		basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
+ 		;;
+ 	pn)
+ 		basic_machine=pn-gould
+ 		;;
+-	power)	basic_machine=rs6000-ibm
++	power)	basic_machine=power-ibm
+ 		;;
+ 	ppc)	basic_machine=powerpc-unknown
+ 	        ;;
+@@ -711,6 +730,10 @@
+ 	ps2)
+ 		basic_machine=i386-ibm
+ 		;;
++	pw32)
++		basic_machine=i586-unknown
++		os=-pw32
++		;;
+ 	rom68k)
+ 		basic_machine=m68k-rom68k
+ 		os=-coff
+@@ -901,6 +924,10 @@
+ 	vax)
+ 		basic_machine=vax-dec
+ 		;;
++	pdp10)
++		# there are many clones, so DEC is not a safe bet
++		basic_machine=pdp10-unknown
++		;;
+ 	pdp11)
+ 		basic_machine=pdp11-dec
+ 		;;
+@@ -908,9 +935,9 @@
+ 		basic_machine=we32k-att
+ 		;;
+ 	sh3 | sh4)
+-		base_machine=sh-unknown
++		basic_machine=sh-unknown
+ 		;;
+-	sparc | sparcv9)
++	sparc | sparcv9 | sparcv9b)
+ 		basic_machine=sparc-sun
+ 		;;
+         cydra)
+@@ -932,6 +959,9 @@
+ 		basic_machine=c4x-none
+ 		os=-coff
+ 		;;
++	*-unknown)
++		# Make sure to match an already-canonicalized machine name.
++		;;
+ 	*)
+ 		echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
+ 		exit 1
+@@ -991,12 +1021,13 @@
+ 	      | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
+ 	      | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
+ 	      | -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \
+-	      | -openstep* | -oskit* | -conix* | -pw32*)
++	      | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
++	      | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* | -os2*)
+ 	# Remember, each alternative MUST END IN *, to match a version number.
+ 		;;
+ 	-qnx*)
+ 		case $basic_machine in
+-		    x86-* | i[34567]86-*)
++		    x86-* | i*86-*)
+ 			;;
+ 		    *)
+ 			os=-nto$os
+@@ -1089,7 +1120,7 @@
+ 	-xenix)
+ 		os=-xenix
+ 		;;
+-        -*mint | -*MiNT)
++        -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
+ 	        os=-mint
+ 		;;
+ 	-none)
+@@ -1123,6 +1154,9 @@
+ 	arm*-semi)
+ 		os=-aout
+ 		;;
++	pdp10-*)
++		os=-tops20
++		;;
+         pdp11-*)
+ 		os=-none
+ 		;;
+@@ -1231,7 +1265,7 @@
+ 	*-masscomp)
+ 		os=-rtu
+ 		;;
+-	f301-fujitsu)
++	f30[01]-fujitsu | f700-fujitsu)
+ 		os=-uxpv
+ 		;;
+ 	*-rom68k)
+@@ -1309,7 +1343,7 @@
+ 			-mpw* | -macos*)
+ 				vendor=apple
+ 				;;
+-			-*mint | -*MiNT)
++			-*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
+ 				vendor=atari
+ 				;;
+ 		esac
+@@ -1322,7 +1356,7 @@
+ 
+ # Local variables:
+ # eval: (add-hook 'write-file-hooks 'time-stamp)
+-# time-stamp-start: "version='"
++# time-stamp-start: "timestamp='"
+ # time-stamp-format: "%:y-%02m-%02d"
+ # time-stamp-end: "'"
+ # End:
+diff -ruN heimdal-0.3e-old/configure heimdal-0.3e/configure
+--- heimdal-0.3e-old/configure	Mon Feb  5 19:03:23 2001
++++ heimdal-0.3e/configure	Sat Jun 16 15:14:36 2001
+@@ -1,7 +1,7 @@
+ #! /bin/sh
+ # From configure.in Revision: 1.270 .
+ # Guess values for system-dependent variables and create Makefiles.
+-# Generated by Autoconf 2.49d for heimdal 0.3e.
++# Generated by Autoconf 2.49b for heimdal 0.3e.
+ #
+ # Report bugs to <heimdal-bugs@pdc.kth.se>.
+ #
+@@ -10,141 +10,194 @@
+ # This configure script is free software; the Free Software Foundation
+ # gives unlimited permission to copy, distribute and modify it.
+ 
+-# Be Bourne compatible
+-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
+-  emulate sh
+-  NULLCMD=:
+-elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
+-  set -o posix
++# Find the correct PATH separator.  Usually this is `:', but
++# DJGPP uses `;' like DOS.
++if test "X${PATH_SEPARATOR+set}" != Xset; then
++  UNAME=${UNAME-`uname 2>/dev/null`}
++  case X$UNAME in
++    *-DOS) lt_cv_sys_path_separator=';' ;;
++    *)     lt_cv_sys_path_separator=':' ;;
++  esac
+ fi
+ 
+-if expr a : '\(a\)' >/dev/null 2>&1; then
+-  as_expr=expr
++# Check that we are running under the correct shell.
++SHELL=${CONFIG_SHELL-/bin/sh}
++
++case X$ECHO in
++X*--fallback-echo)
++  # Remove one level of quotation (which was required for Make).
++  ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
++  ;;
++esac
++
++echo=${ECHO-echo}
++if test "X$1" = X--no-reexec; then
++  # Discard the --no-reexec flag, and continue.
++  shift
++elif test "X$1" = X--fallback-echo; then
++  # Avoid inline document here, it may be left over
++  :
++elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
++  # Yippee, $echo works!
++  :
+ else
+-  as_expr=false
++  # Restart under the correct shell.
++  exec $SHELL "$0" --no-reexec ${1+"$@"}
+ fi
+ 
+-rm -f conftest conftest.exe conftest.file
+-echo >conftest.file
+-if ln -s conftest.file conftest 2>/dev/null; then
+-  # We could just check for DJGPP; but this test a) works b) is more generic
+-  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
+-  if test -f conftest.exe; then
+-    # Don't use ln at all; we don't have any links
+-    as_ln_s='cp -p'
+-  else
+-    as_ln_s='ln -s'
+-  fi
+-elif ln conftest.file conftest 2>/dev/null; then
+-  as_ln_s=ln
++if test "X$1" = X--fallback-echo; then
++  # used as fallback echo
++  shift
++  cat <<EOF
++
++EOF
++  exit 0
++fi
++
++# The HP-UX ksh and POSIX shell print the target directory to stdout
++# if CDPATH is set.
++if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
++
++if test -z "$ECHO"; then
++if test "X${echo_test_string+set}" != Xset; then
++# find a string as large as possible, as long as the shell can cope with it
++  for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
++    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
++    if (echo_test_string="`eval $cmd`") 2>/dev/null &&
++       echo_test_string="`eval $cmd`" &&
++       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
++    then
++      break
++    fi
++  done
++fi
++
++if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
++   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
++   test "X$echo_testing_string" = "X$echo_test_string"; then
++  :
+ else
+-  as_ln_s='cp -p'
++  # The Solaris, AIX, and Digital Unix default echo programs unquote
++  # backslashes.  This makes it impossible to quote backslashes using
++  #   echo "$something" | sed 's/\\/\\\\/g'
++  #
++  # So, first we look for a working echo in the user's PATH.
++
++  IFS="${IFS= 	}"; save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR}"
++  for dir in $PATH /usr/ucb; do
++    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
++       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
++       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
++       test "X$echo_testing_string" = "X$echo_test_string"; then
++      echo="$dir/echo"
++      break
++    fi
++  done
++  IFS="$save_ifs"
++
++  if test "X$echo" = Xecho; then
++    # We didn't find a better echo, so look for alternatives.
++    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
++       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
++       test "X$echo_testing_string" = "X$echo_test_string"; then
++      # This shell has a builtin print -r that does the trick.
++      echo='print -r'
++    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
++	 test "X$CONFIG_SHELL" != X/bin/ksh; then
++      # If we have ksh, try running configure again with it.
++      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
++      export ORIGINAL_CONFIG_SHELL
++      CONFIG_SHELL=/bin/ksh
++      export CONFIG_SHELL
++      exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
++    else
++      # Try using printf.
++      echo='printf %s\n'
++      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
++	 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
++	 test "X$echo_testing_string" = "X$echo_test_string"; then
++	# Cool, printf works
++	:
++      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
++	   test "X$echo_testing_string" = 'X\t' &&
++	   echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
++	   test "X$echo_testing_string" = "X$echo_test_string"; then
++	CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
++	export CONFIG_SHELL
++	SHELL="$CONFIG_SHELL"
++	export SHELL
++	echo="$CONFIG_SHELL $0 --fallback-echo"
++      elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
++	   test "X$echo_testing_string" = 'X\t' &&
++	   echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
++	   test "X$echo_testing_string" = "X$echo_test_string"; then
++	echo="$CONFIG_SHELL $0 --fallback-echo"
++      else
++	# maybe with a smaller string...
++	prev=:
++
++	for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
++	  if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
++	  then
++	    break
++	  fi
++	  prev="$cmd"
++	done
++
++	if test "$prev" != 'sed 50q "$0"'; then
++	  echo_test_string=`eval $prev`
++	  export echo_test_string
++	  exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
++	else
++	  # Oops.  We lost completely, so just stick with echo.
++	  echo=echo
++	fi
++      fi
++    fi
++  fi
++fi
+ fi
+-rm -f conftest conftest.exe conftest.file
+ 
+-# Find out how to test for executable files. Don't use a zero-byte file,
+-# as systems may use methods other than mode bits to determine executability.
+-cat >conftest.file <<_ASEOF
+-#! /bin/sh
+-exit 0
+-_ASEOF
+-chmod +x conftest.file
+-if test -x conftest.file >/dev/null 2>&1; then
+-  as_executable_p="test -x"
+-elif test -f conftest.file >/dev/null 2>&1; then
+-  as_executable_p="test -f"
+-else
+-  { { echo "$as_me:57: error: cannot check whether a file is executable on this system" >&5
+-echo "$as_me: error: cannot check whether a file is executable on this system" >&2;}
+-   { (exit 1); exit 1; }; }
++# Copy echo and quote the copy suitably for passing to libtool from
++# the Makefile, instead of quoting the original, which is used later.
++ECHO=$echo
++if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
++   ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
++fi
++
++# Be Bourne compatible
++if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
++  emulate sh
++  NULLCMD=:
++elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
++  set -o posix
+ fi
+-rm -f conftest.file
+ 
+ # Support unset when possible.
+-if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
+-  as_unset=unset
++if (unset FOO) >/dev/null 2>&1; then
++  ac_unset=unset
+ else
+-  as_unset=false
++  ac_unset=false
+ fi
+ 
+ # NLS nuisances.
+-$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
+-$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
+-$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
+-$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
+-$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
+-$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
+-$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
+-$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
++$ac_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
++$ac_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
++$ac_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
++$ac_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
++$ac_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
++$ac_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
++$ac_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
++$ac_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
+ 
+ # IFS
+ # We need space, tab and new line, in precisely that order.
+-as_nl='
++ac_nl='
+ '
+-IFS=" 	$as_nl"
++IFS=" 	$ac_nl"
+ 
+ # CDPATH.
+-$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
+-
+-# Name of the host.
+-# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
+-# so uname gets run too.
+-ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
+-
+-# Name of the executable.
+-as_me=`echo "$0" | sed 's,.*/,,'`
+-
+-cat >config.log <<EOF
+-This file contains any messages produced by compilers while
+-running configure, to aid debugging if configure makes a mistake.
+-
+-It was created by $as_me (heimdal 0.3e) 2.49d, executed with
+- > $0 $@
+-
+-EOF
+-{
+-cat <<_ASUNAME
+-## ---------- ##
+-## Platform.  ##
+-## ---------- ##
+-
+-hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
+-uname -m = `(uname -m) 2>/dev/null || echo unknown`
+-uname -r = `(uname -r) 2>/dev/null || echo unknown`
+-uname -s = `(uname -s) 2>/dev/null || echo unknown`
+-uname -v = `(uname -v) 2>/dev/null || echo unknown`
+-
+-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
+-/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
+-
+-/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
+-/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
+-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
+-hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
+-/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
+-/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
+-/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
+-
+-PATH = $PATH
+-
+-_ASUNAME
+-} >>config.log
+-
+-cat >>config.log <<EOF
+-## ------------ ##
+-## Core tests.  ##
+-## ------------ ##
+-
+-EOF
+-
+-# File descriptor usage:
+-# 0 standard input
+-# 1 file creation
+-# 2 errors and warnings
+-# 5 compiler messages saved in config.log
+-# 6 checking for... messages and results
+-exec 5>>config.log
+-exec 6>&1
++$ac_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
+ 
+ #
+ # Initializations.
+@@ -154,28 +207,24 @@
+ subdirs=
+ MFLAGS= MAKEFLAGS=
+ SHELL=${CONFIG_SHELL-/bin/sh}
+-
+ # Maximum number of lines to put in a shell here document.
+ # This variable seems obsolete.  It should probably be removed, and
+ # only ac_max_sed_lines should be used.
+ : ${ac_max_here_lines=38}
+-
+-# Avoid depending upon Character Ranges.
+-ac_cr_az='abcdefghijklmnopqrstuvwxyz'
+-ac_cr_AZ='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
+-ac_cr_09='0123456789'
+-ac_cr_alnum=$ac_cr_az$ac_cr_AZ$ac_cr_09
+-
+ # Sed expression to map a string onto a valid sh and CPP variable names.
+-ac_tr_sh="sed y%*+%pp%;s%[^_$ac_cr_alnum]%_%g"
+-ac_tr_cpp="sed y%*$ac_cr_az%P$ac_cr_AZ%;s%[^_$ac_cr_alnum]%_%g"
++ac_tr_sh='sed y%*+%pp%;s%[^a-zA-Z0-9_]%_%g'
++ac_tr_cpp='sed y%*abcdefghijklmnopqrstuvwxyz%PABCDEFGHIJKLMNOPQRSTUVWXYZ%;s%[^A-Z0-9_]%_%g'
+ 
+-ac_default_prefix=/usr/heimdal
++# By default always use an empty string as the executable extension.
++# Only change it if the script calls AC_EXEEXT.
++ac_exeext=
++# By default assume that objects files use an extension of .o.  Only
++# change it if the script calls AC_OBJEXT.
++ac_objext=o
+ # Factoring default headers for most tests.
+ ac_includes_default="\
+ #include <stdio.h>
+ #include <sys/types.h>
+-#include <sys/stat.h>
+ #if STDC_HEADERS
+ # include <stdlib.h>
+ # include <stddef.h>
+@@ -200,6 +249,7 @@
+ #if HAVE_UNISTD_H
+ # include <unistd.h>
+ #endif"
++ac_default_prefix=/usr/heimdal
+ 
+ # Initialize some variables set by options.
+ ac_init_help=
+@@ -220,12 +270,6 @@
+ verbose=
+ x_includes=NONE
+ x_libraries=NONE
+-
+-# Installation directory options.
+-# These are left unexpanded so users can "make install exec_prefix=/foo"
+-# and all the variables that are supposed to be based on exec_prefix
+-# by default will actually change.
+-# Use braces instead of parens because sh, perl, etc. also accept them.
+ bindir='${exec_prefix}/bin'
+ sbindir='${exec_prefix}/sbin'
+ libexecdir='${exec_prefix}/libexec'
+@@ -239,13 +283,6 @@
+ infodir='${prefix}/info'
+ mandir='${prefix}/man'
+ 
+-# Identity of this package.
+-PACKAGE_NAME='heimdal'
+-PACKAGE_TARNAME='heimdal'
+-PACKAGE_VERSION='0.3e'
+-PACKAGE_STRING='heimdal 0.3e'
+-PACKAGE_BUGREPORT='heimdal-bugs@pdc.kth.se'
+-
+ ac_prev=
+ for ac_option
+ do
+@@ -291,20 +328,16 @@
+   -disable-* | --disable-*)
+     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
+     # Reject names that are not valid shell variable names.
+-    expr "x$ac_feature" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
+-      { { echo "$as_me:295: error: invalid feature name: $ac_feature" >&5
+-echo "$as_me: error: invalid feature name: $ac_feature" >&2;}
+-   { (exit 1); exit 1; }; }
++    expr "x$ac_feature" : ".*[^-a-zA-Z0-9_]" >/dev/null &&
++      { echo "configure: error: invalid feature name: $ac_feature" >&2; exit 1; }
+     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
+     eval "enable_$ac_feature=no" ;;
+ 
+   -enable-* | --enable-*)
+     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
+     # Reject names that are not valid shell variable names.
+-    expr "x$ac_feature" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
+-      { { echo "$as_me:305: error: invalid feature name: $ac_feature" >&5
+-echo "$as_me: error: invalid feature name: $ac_feature" >&2;}
+-   { (exit 1); exit 1; }; }
++    expr "x$ac_feature" : ".*[^-a-zA-Z0-9_]" >/dev/null &&
++      { echo "configure: error: invalid feature name: $ac_feature" >&2; exit 1; }
+     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
+     case $ac_option in
+       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
+@@ -484,10 +517,8 @@
+   -with-* | --with-*)
+     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
+     # Reject names that are not valid shell variable names.
+-    expr "x$ac_package" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
+-      { { echo "$as_me:488: error: invalid package name: $ac_package" >&5
+-echo "$as_me: error: invalid package name: $ac_package" >&2;}
+-   { (exit 1); exit 1; }; }
++    expr "x$ac_package" : ".*[^-a-zA-Z0-9_]" >/dev/null &&
++      { echo "configure: error: invalid package name: $ac_package" >&2; exit 1; }
+     ac_package=`echo $ac_package| sed 's/-/_/g'`
+     case $ac_option in
+       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
+@@ -498,10 +529,8 @@
+   -without-* | --without-*)
+     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
+     # Reject names that are not valid shell variable names.
+-    expr "x$ac_package" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
+-      { { echo "$as_me:502: error: invalid package name: $ac_package" >&5
+-echo "$as_me: error: invalid package name: $ac_package" >&2;}
+-   { (exit 1); exit 1; }; }
++    expr "x$ac_package" : ".*[^-a-zA-Z0-9_]" >/dev/null &&
++      { echo "configure: error: invalid package name: $ac_package" >&2; exit 1; }
+     ac_package=`echo $ac_package | sed 's/-/_/g'`
+     eval "with_$ac_package=no" ;;
+ 
+@@ -523,31 +552,24 @@
+   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
+     x_libraries=$ac_optarg ;;
+ 
+-  -*) { { echo "$as_me:526: error: unrecognized option: $ac_option
+-Try \`$0 --help' for more information." >&5
+-echo "$as_me: error: unrecognized option: $ac_option
+-Try \`$0 --help' for more information." >&2;}
+-   { (exit 1); exit 1; }; }
++  -*) { echo "configure: error: unrecognized option: $ac_option
++Try \`configure --help' for more information." >&2; exit 1; }
+     ;;
+ 
+   *=*)
+     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
+     # Reject names that are not valid shell variable names.
+-    expr "x$ac_envvar" : ".*[^_$ac_cr_alnum]" >/dev/null &&
+-      { { echo "$as_me:537: error: invalid variable name: $ac_envvar" >&5
+-echo "$as_me: error: invalid variable name: $ac_envvar" >&2;}
+-   { (exit 1); exit 1; }; }
++    expr "x$ac_envvar" : ".*[^a-zA-Z0-9_]" >/dev/null &&
++      { echo "configure: error: invalid variable name: $ac_envvar" >&2; exit 1; }
+     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
+     eval "$ac_envvar='$ac_optarg'"
+     export $ac_envvar ;;
+ 
+   *)
+     # FIXME: should be removed in autoconf 3.0.
+-    { echo "$as_me:546: WARNING: you should use --build, --host, --target" >&5
+-echo "$as_me: WARNING: you should use --build, --host, --target" >&2;}
+-    expr "x$ac_option" : ".*[^-._$ac_cr_alnum]" >/dev/null &&
+-      { echo "$as_me:549: WARNING: invalid host type: $ac_option" >&5
+-echo "$as_me: WARNING: invalid host type: $ac_option" >&2;}
++    echo "configure: WARNING: you should use --build, --host, --target" >&2
++    expr "x$ac_option" : ".*[^a-zA-Z0-9.]" >/dev/null &&
++      echo "configure: WARNING: invalid host type: $ac_option" >&2
+     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
+     ;;
+ 
+@@ -556,9 +578,7 @@
+ 
+ if test -n "$ac_prev"; then
+   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
+-  { { echo "$as_me:559: error: missing argument to $ac_option" >&5
+-echo "$as_me: error: missing argument to $ac_option" >&2;}
+-   { (exit 1); exit 1; }; }
++  { echo "configure: error: missing argument to $ac_option" >&2; exit 1; }
+ fi
+ 
+ # Be sure to have absolute paths.
+@@ -570,9 +590,7 @@
+   case $ac_val in
+     [\\/$]* | ?:[\\/]* ) ;;
+     NONE ) ;;
+-    *)  { { echo "$as_me:573: error: expected an absolute path for --$ac_var: $ac_val" >&5
+-echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2;}
+-   { (exit 1); exit 1; }; };;
++    *)  { echo "configure: error: expected an absolute path for --$ac_var: $ac_val" >&2; exit 1; };;
+   esac
+ done
+ 
+@@ -586,10 +604,8 @@
+ if test "x$host_alias" != x; then
+   if test "x$build_alias" = x; then
+     cross_compiling=maybe
+-    { echo "$as_me:589: WARNING: If you wanted to set the --build type, don't use --host.
+-    If a cross compiler is detected then cross compile mode will be used." >&5
+-echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
+-    If a cross compiler is detected then cross compile mode will be used." >&2;}
++    echo "configure: WARNING: If you wanted to set the --build type, don't use --host.
++    If a cross compiler is detected then cross compile mode will be used." >&2
+   elif test "x$build_alias" != "x$host_alias"; then
+     cross_compiling=yes
+   fi
+@@ -598,8 +614,6 @@
+ ac_tool_prefix=
+ test -n "$host_alias" && ac_tool_prefix=$host_alias-
+ 
+-test "$silent" = yes && exec 6>/dev/null
+-
+ # Find the source files, if location was not specified.
+ if test -z "$srcdir"; then
+   ac_srcdir_defaulted=yes
+@@ -616,13 +630,9 @@
+ fi
+ if test ! -r $srcdir/$ac_unique_file; then
+   if test "$ac_srcdir_defaulted" = yes; then
+-    { { echo "$as_me:619: error: cannot find sources in $ac_confdir or .." >&5
+-echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2;}
+-   { (exit 1); exit 1; }; }
++    { echo "configure: error: cannot find sources in $ac_confdir or .." >&2; exit 1; }
+   else
+-    { { echo "$as_me:623: error: cannot find sources in $srcdir" >&5
+-echo "$as_me: error: cannot find sources in $srcdir" >&2;}
+-   { (exit 1); exit 1; }; }
++    { echo "configure: error: cannot find sources in $srcdir" >&2; exit 1; }
+   fi
+ fi
+ srcdir=`echo "$srcdir" | sed 's%\([^/]\)/*$%\1%'`
+@@ -650,10 +660,6 @@
+ ac_env_LDFLAGS_value=$LDFLAGS
+ ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
+ ac_cv_env_LDFLAGS_value=$LDFLAGS
+-ac_env_CPP_set=${CPP+set}
+-ac_env_CPP_value=$CPP
+-ac_cv_env_CPP_set=${CPP+set}
+-ac_cv_env_CPP_value=$CPP
+ ac_env_CPPFLAGS_set=${CPPFLAGS+set}
+ ac_env_CPPFLAGS_value=$CPPFLAGS
+ ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
+@@ -775,6 +781,12 @@
+   --with-readline=dir                use readline in dir
+   --with-readline-lib=dir            use readline libraries in dir
+   --with-readline-include=dir        use readline headers in dir
++  --with-com_err=dir                use com_err in dir
++  --with-com_err-lib=dir            use com_err libraries in dir
++  --with-com_err-include=dir        use com_err headers in dir
++  --with-ss=dir                use ss in dir
++  --with-ss-lib=dir            use ss libraries in dir
++  --with-ss-include=dir        use ss headers in dir
+   --with-hesiod=dir                use hesiod in dir
+   --with-hesiod-lib=dir            use hesiod libraries in dir
+   --with-hesiod-include=dir        use hesiod headers in dir
+@@ -785,7 +797,6 @@
+   CFLAGS      C compiler flags
+   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
+               nonstandard directory <lib dir>
+-  CPP         C preprocessor
+   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
+               headers in a nonstandard directory <include dir>
+ 
+@@ -821,13 +832,11 @@
+     elif test -f $ac_sub_srcdir/configure; then
+       echo
+       $SHELL $ac_sub_srcdir/configure  --help=recursive
+-    elif test -f $ac_sub_srcdir/configure.ac ||
+-           test -f $ac_sub_srcdir/configure.in; then
++    elif test -f $ac_sub_srcdir/configure.in; then
+       echo
+       $ac_configure --help
+     else
+-      { echo "$as_me:829: WARNING: no configuration information is in $ac_subdir" >&5
+-echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2;}
++      echo "configure: WARNING: no configuration information is in $ac_subdir" >&2
+     fi
+     cd $ac_popdir
+   done
+@@ -836,7 +845,7 @@
+ test -n "$ac_init_help" && exit 0
+ if $ac_init_version; then
+   cat <<\EOF
+-configure (heimdal 0.3e) 2.49d
++configure (heimdal 0.3e) 2.49b
+ 
+ Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000
+ Free Software Foundation, Inc.
+@@ -846,6 +855,8 @@
+   exit 0
+ fi
+ 
++trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
++
+ # Keep a trace of the command line.
+ # Strip out --no-create and --no-recursion so they do not pile up.
+ # Also quote any args containing shell meta-characters.
+@@ -868,51 +879,28 @@
+   # Get rid of the leading space.
+ done
+ 
+-# When interrupted or exit'd, cleanup temporary files, and complete
+-# config.log.  We remove comments because anyway the quotes in there
+-# would cause problems or look ugly.
+-trap 'exit_status=$?
+-  # Save into config.log some information that might help in debugging.
+-  echo >&5
+-  echo "## ----------------- ##" >&5
+-  echo "## Cache variables.  ##" >&5
+-  echo "## ----------------- ##" >&5
+-  echo >&5
+-  # The following way of writing the cache mishandles newlines in values,
+-{
+-  (set) 2>&1 |
+-    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
+-    *ac_space=\ *)
+-      sed -n \
+-        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
+-    	  s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
+-      ;;
+-    *)
+-      sed -n \
+-        "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
+-      ;;
+-    esac;
+-} >&5
+-  sed "/^$/d" confdefs.h >conftest.log
+-  if test -s conftest.log; then
+-    echo >&5
+-    echo "## ------------ ##" >&5
+-    echo "## confdefs.h.  ##" >&5
+-    echo "## ------------ ##" >&5
+-    echo >&5
+-    cat conftest.log >&5
+-  fi
+-  (echo; echo) >&5
+-  test "$ac_signal" != 0 &&
+-    echo "$as_me: caught signal $ac_signal" >&5
+-  echo "$as_me: exit $exit_status" >&5
+-  rm -rf conftest* confdefs* core core.* *.core $ac_clean_files &&
+-    exit $exit_status
+-     ' 0
+-for ac_signal in 1 2 13 15; do
+-  trap 'ac_status=$?; ac_signal='$ac_signal'; { (exit $ac_status); exit $ac_status; }' $ac_signal
+-done
+-ac_signal=0
++# 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.
++
++It was created by configure (heimdal 0.3e) 2.49b, executed with
++ > $0 $ac_configure_args
++" >&5
+ 
+ # confdefs.h avoids OS command line length limits that DEFS can exceed.
+ rm -rf conftest* confdefs.h
+@@ -939,16 +927,14 @@
+   # Some versions of bash will fail to source /dev/null (special
+   # files actually), so we avoid doing that.
+   if test -f "$cache_file"; then
+-    { echo "$as_me:942: loading cache $cache_file" >&5
+-echo "$as_me: loading cache $cache_file" >&6;}
++    echo "loading cache $cache_file"
+     case $cache_file in
+       [\\/]* | ?:[\\/]* ) . $cache_file;;
+       *)                      . ./$cache_file;;
+     esac
+   fi
+ else
+-  { echo "$as_me:950: creating cache $cache_file" >&5
+-echo "$as_me: creating cache $cache_file" >&6;}
++  echo "creating cache $cache_file"
+   >$cache_file
+ fi
+ 
+@@ -963,37 +949,30 @@
+   eval ac_new_val="\$ac_env_${ac_var}_value"
+   case $ac_old_set,$ac_new_set in
+     set,)
+-      { echo "$as_me:966: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
+-echo "$as_me: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
++      echo "configure: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2
+       ac_suggest_removing_cache=: ;;
+     ,set)
+-      { echo "$as_me:970: WARNING: \`$ac_var' was not set in the previous run" >&5
+-echo "$as_me: WARNING: \`$ac_var' was not set in the previous run" >&2;}
++      echo "configure: WARNING: \`$ac_var' was not set in the previous run" >&2
+       ac_suggest_removing_cache=: ;;
+     ,);;
+     *)
+       if test "x$ac_old_val" != "x$ac_new_val"; then
+-        { echo "$as_me:976: WARNING: \`$ac_var' has changed since the previous run:" >&5
+-echo "$as_me: WARNING: \`$ac_var' has changed since the previous run:" >&2;}
+-        { echo "$as_me:978: WARNING:   former value:  $ac_old_val" >&5
+-echo "$as_me: WARNING:   former value:  $ac_old_val" >&2;}
+-        { echo "$as_me:980: WARNING:   current value: $ac_new_val" >&5
+-echo "$as_me: WARNING:   current value: $ac_new_val" >&2;}
++        echo "configure: WARNING: \`$ac_var' has changed since the previous run:" >&2
++        echo "configure: WARNING:   former value:  $ac_old_val" >&2
++        echo "configure: WARNING:   current value: $ac_new_val" >&2
+         ac_suggest_removing_cache=:
+       fi;;
+   esac
+ done
+ if $ac_suggest_removing_cache; then
+-  { echo "$as_me:987: WARNING: changes in the environment can compromise the build" >&5
+-echo "$as_me: WARNING: changes in the environment can compromise the build" >&2;}
+-  { echo "$as_me:989: WARNING: consider removing $cache_file and starting over" >&5
+-echo "$as_me: WARNING: consider removing $cache_file and starting over" >&2;}
++  echo "configure: WARNING: changes in the environment can compromise the build" >&2
++  echo "configure: WARNING: consider removing $cache_file and starting over" >&2
+ fi
+ 
+ ac_ext=c
+ ac_cpp='$CPP $CPPFLAGS'
+-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='${CC-cc} -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ ac_compiler_gnu=$ac_cv_c_compiler_gnu
+ 
+ case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
+@@ -1005,17 +984,18 @@
+ 
+ ac_config_headers="$ac_config_headers include/config.h"
+ 
+-ac_config_commands="$ac_config_commands default-1"
++  ac_config_commands="$ac_config_commands default-1"
+ 
+ ac_ext=c
+ ac_cpp='$CPP $CPPFLAGS'
+-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='${CC-cc} -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
+ if test -n "$ac_tool_prefix"; then
+   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
+ set dummy ${ac_tool_prefix}gcc; ac_word=$2
+-echo "$as_me:1018: checking for $ac_word" >&5
++echo "configure:998: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_CC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -1028,7 +1008,7 @@
+ for ac_dir in $ac_dummy; do
+   IFS=$ac_save_IFS
+   test -z "$ac_dir" && ac_dir=.
+-  $as_executable_p "$ac_dir/$ac_word" || continue
++  test -f "$ac_dir/$ac_word" || continue
+ ac_cv_prog_CC="${ac_tool_prefix}gcc"
+ break
+ done
+@@ -1037,10 +1017,10 @@
+ fi
+ CC=$ac_cv_prog_CC
+ if test -n "$CC"; then
+-  echo "$as_me:1040: result: $CC" >&5
++  echo "configure:1020: result: $CC" >&5
+ echo "${ECHO_T}$CC" >&6
+ else
+-  echo "$as_me:1043: result: no" >&5
++  echo "configure:1023: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+@@ -1049,7 +1029,7 @@
+   ac_ct_CC=$CC
+   # Extract the first word of "gcc", so it can be a program name with args.
+ set dummy gcc; ac_word=$2
+-echo "$as_me:1052: checking for $ac_word" >&5
++echo "configure:1032: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -1062,7 +1042,7 @@
+ for ac_dir in $ac_dummy; do
+   IFS=$ac_save_IFS
+   test -z "$ac_dir" && ac_dir=.
+-  $as_executable_p "$ac_dir/$ac_word" || continue
++  test -f "$ac_dir/$ac_word" || continue
+ ac_cv_prog_ac_ct_CC="gcc"
+ break
+ done
+@@ -1071,23 +1051,21 @@
+ fi
+ ac_ct_CC=$ac_cv_prog_ac_ct_CC
+ if test -n "$ac_ct_CC"; then
+-  echo "$as_me:1074: result: $ac_ct_CC" >&5
++  echo "configure:1054: result: $ac_ct_CC" >&5
+ echo "${ECHO_T}$ac_ct_CC" >&6
+ else
+-  echo "$as_me:1077: result: no" >&5
++  echo "configure:1057: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+   CC=$ac_ct_CC
+-else
+-  CC="$ac_cv_prog_CC"
+ fi
+ 
+ if test -z "$CC"; then
+   if test -n "$ac_tool_prefix"; then
+   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
+ set dummy ${ac_tool_prefix}cc; ac_word=$2
+-echo "$as_me:1090: checking for $ac_word" >&5
++echo "configure:1068: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_CC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -1100,7 +1078,7 @@
+ for ac_dir in $ac_dummy; do
+   IFS=$ac_save_IFS
+   test -z "$ac_dir" && ac_dir=.
+-  $as_executable_p "$ac_dir/$ac_word" || continue
++  test -f "$ac_dir/$ac_word" || continue
+ ac_cv_prog_CC="${ac_tool_prefix}cc"
+ break
+ done
+@@ -1109,10 +1087,10 @@
+ fi
+ CC=$ac_cv_prog_CC
+ if test -n "$CC"; then
+-  echo "$as_me:1112: result: $CC" >&5
++  echo "configure:1090: result: $CC" >&5
+ echo "${ECHO_T}$CC" >&6
+ else
+-  echo "$as_me:1115: result: no" >&5
++  echo "configure:1093: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+@@ -1121,7 +1099,7 @@
+   ac_ct_CC=$CC
+   # Extract the first word of "cc", so it can be a program name with args.
+ set dummy cc; ac_word=$2
+-echo "$as_me:1124: checking for $ac_word" >&5
++echo "configure:1102: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -1134,7 +1112,7 @@
+ for ac_dir in $ac_dummy; do
+   IFS=$ac_save_IFS
+   test -z "$ac_dir" && ac_dir=.
+-  $as_executable_p "$ac_dir/$ac_word" || continue
++  test -f "$ac_dir/$ac_word" || continue
+ ac_cv_prog_ac_ct_CC="cc"
+ break
+ done
+@@ -1143,23 +1121,21 @@
+ fi
+ ac_ct_CC=$ac_cv_prog_ac_ct_CC
+ if test -n "$ac_ct_CC"; then
+-  echo "$as_me:1146: result: $ac_ct_CC" >&5
++  echo "configure:1124: result: $ac_ct_CC" >&5
+ echo "${ECHO_T}$ac_ct_CC" >&6
+ else
+-  echo "$as_me:1149: result: no" >&5
++  echo "configure:1127: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+   CC=$ac_ct_CC
+-else
+-  CC="$ac_cv_prog_CC"
+ fi
+ 
+ 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 "$as_me:1162: checking for $ac_word" >&5
++echo "configure:1138: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_CC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -1173,7 +1149,7 @@
+ for ac_dir in $ac_dummy; do
+   IFS=$ac_save_IFS
+   test -z "$ac_dir" && ac_dir=.
+-  $as_executable_p "$ac_dir/$ac_word" || continue
++  test -f "$ac_dir/$ac_word" || continue
+ if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
+   ac_prog_rejected=yes
+   continue
+@@ -1200,10 +1176,10 @@
+ fi
+ CC=$ac_cv_prog_CC
+ if test -n "$CC"; then
+-  echo "$as_me:1203: result: $CC" >&5
++  echo "configure:1179: result: $CC" >&5
+ echo "${ECHO_T}$CC" >&6
+ else
+-  echo "$as_me:1206: result: no" >&5
++  echo "configure:1182: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+@@ -1214,7 +1190,7 @@
+   do
+     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
+ set dummy $ac_tool_prefix$ac_prog; ac_word=$2
+-echo "$as_me:1217: checking for $ac_word" >&5
++echo "configure:1193: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_CC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -1227,7 +1203,7 @@
+ for ac_dir in $ac_dummy; do
+   IFS=$ac_save_IFS
+   test -z "$ac_dir" && ac_dir=.
+-  $as_executable_p "$ac_dir/$ac_word" || continue
++  test -f "$ac_dir/$ac_word" || continue
+ ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
+ break
+ done
+@@ -1236,10 +1212,10 @@
+ fi
+ CC=$ac_cv_prog_CC
+ if test -n "$CC"; then
+-  echo "$as_me:1239: result: $CC" >&5
++  echo "configure:1215: result: $CC" >&5
+ echo "${ECHO_T}$CC" >&6
+ else
+-  echo "$as_me:1242: result: no" >&5
++  echo "configure:1218: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+@@ -1252,7 +1228,7 @@
+ do
+   # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+-echo "$as_me:1255: checking for $ac_word" >&5
++echo "configure:1231: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -1265,7 +1241,7 @@
+ for ac_dir in $ac_dummy; do
+   IFS=$ac_save_IFS
+   test -z "$ac_dir" && ac_dir=.
+-  $as_executable_p "$ac_dir/$ac_word" || continue
++  test -f "$ac_dir/$ac_word" || continue
+ ac_cv_prog_ac_ct_CC="$ac_prog"
+ break
+ done
+@@ -1274,10 +1250,10 @@
+ fi
+ ac_ct_CC=$ac_cv_prog_ac_ct_CC
+ if test -n "$ac_ct_CC"; then
+-  echo "$as_me:1277: result: $ac_ct_CC" >&5
++  echo "configure:1253: result: $ac_ct_CC" >&5
+ echo "${ECHO_T}$ac_ct_CC" >&6
+ else
+-  echo "$as_me:1280: result: no" >&5
++  echo "configure:1256: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+@@ -1289,17 +1265,12 @@
+ 
+ fi
+ 
+-test -z "$CC" && { { echo "$as_me:1292: error: no acceptable cc found in \$PATH" >&5
+-echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
+-   { (exit 1); exit 1; }; }
++test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" >&2; exit 1; }
+ 
+-echo "$as_me:1296: checking for object suffix" >&5
+-echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
+-if test "${ac_cv_objext+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  cat >conftest.$ac_ext <<_ACEOF
+-#line 1302 "configure"
++echo "configure:1270: checking whether the C compiler works" >&5
++echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line 1273 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -1310,41 +1281,48 @@
+   return 0;
+ }
+ _ACEOF
+-rm -f conftest.o conftest.obj
+-if { (eval echo "$as_me:1314: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:1317: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
+-  case $ac_file in
+-    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
+-    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
+-       break;;
+-  esac
+-done
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:1285: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  # FIXME: these cross compiler hacks should be removed for autoconf 3.0
++# If not cross compiling, check that we can run a simple program.
++if test "$cross_compiling" != yes; then
++  if { ac_try='./conftest$ac_exeext'; { (eval echo configure:1289: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; }; then
++    cross_compiling=no
++  else
++    if test "$cross_compiling" = maybe; then
++      cross_compiling=yes
++    else
++      { echo "configure: error: cannot run C compiled programs.
++To enable cross compilation, use \`--host'." >&2; exit 1; }
++    fi
++  fi
++fi
++echo "configure:1300: result: yes" >&5
++echo "${ECHO_T}yes" >&6
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-{ { echo "$as_me:1329: error: cannot compute OBJEXT: cannot compile" >&5
+-echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
+-   { (exit 1); exit 1; }; }
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  echo "configure:1305: result: no" >&5
++echo "${ECHO_T}no" >&6
++{ echo "configure: error: C compiler cannot create executables" >&2; exit 77; }
+ fi
++rm -f conftest$ac_exeext conftest.$ac_ext
++echo "configure:1310: checking whether we are cross compiling" >&5
++echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
++echo "configure:1312: result: $cross_compiling" >&5
++echo "${ECHO_T}$cross_compiling" >&6
+ 
+-rm -f conftest.$ac_cv_objext conftest.$ac_ext
+-fi
+-echo "$as_me:1336: result: $ac_cv_objext" >&5
+-echo "${ECHO_T}$ac_cv_objext" >&6
+-OBJEXT=$ac_cv_objext
+-ac_objext=$OBJEXT
+-echo "$as_me:1340: checking for executable suffix" >&5
+-echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
+-if test "${ac_cv_exeext+set}" = set; then
++echo "configure:1315: checking whether we are using the GNU C compiler" >&5
++echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
++if test "${ac_cv_c_compiler_gnu+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 1346 "configure"
++#line 1321 "configure"
+ #include "confdefs.h"
++#ifndef __GNUC__
++  choke me
++#endif
+ 
+ int
+ main ()
+@@ -1354,66 +1332,28 @@
+   return 0;
+ }
+ _ACEOF
+-# Try without -o first, disregard a.out.
+-ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
+-if { (eval echo "$as_me:1359: \"$ac_link_default\"") >&5
+-  (eval $ac_link_default) 2>&5
+-  ac_status=$?
+-  echo "$as_me:1362: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  for ac_file in `ls a.exe conftest.exe a.* conftest conftest.* 2>/dev/null`; do
+-  case $ac_file in
+-    *.$ac_ext | *.out | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
+-    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
+-          export ac_cv_exeext
+-          break;;
+-    * ) break;;
+-  esac
+-done
+-else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-fi
+-
+-rm -f a.out a.exe conftest$ac_cv_exeext
+-
+-# We have not set ac_exeext yet which is needed by `ac_link'.
+-ac_exeext=$ac_cv_exeext
+-if { (eval echo "$as_me:1382: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:1385: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  # If both `conftest.exe' and `conftest' are `present' (well, observable)
+-# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
+-# work properly (i.e., refer to `conftest.exe'), while it won't with
+-# `rm'.
+-for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
+-  case $ac_file in
+-    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
+-    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
+-          export ac_cv_exeext
+-          break;;
+-    * ) break;;
+-  esac
+-done
++rm -f conftest.$ac_objext
++if { (eval echo configure:1336: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++  ac_compiler_gnu=yes
+ else
+-  { { echo "$as_me:1401: error: cannot compute EXEEXT: cannot compile and link" >&5
+-echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
+-   { (exit 1); exit 1; }; }
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_compiler_gnu=no
+ fi
+-
+-rm -f conftest.$ac_ext conftest$ac_cv_exeext
++rm -f conftest.$ac_objext conftest.$ac_ext
++ac_cv_c_compiler_gnu=$ac_compiler_gnu
+ 
+ fi
+-echo "$as_me:1409: result: $ac_cv_exeext" >&5
+-echo "${ECHO_T}$ac_cv_exeext" >&6
+-EXEEXT=$ac_cv_exeext
+-ac_exeext=$EXEEXT
+-echo "$as_me:1413: checking whether the C compiler works" >&5
+-echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
+-cat >conftest.$ac_ext <<_ACEOF
+-#line 1416 "configure"
++echo "configure:1347: result: $ac_cv_c_compiler_gnu" >&5
++echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
++GCC=`test $ac_compiler_gnu = yes && echo yes`
++echo "configure:1350: checking for object suffix" >&5
++echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
++if test "${ac_cv_objext+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line 1356 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -1424,109 +1364,79 @@
+   return 0;
+ }
+ _ACEOF
+-rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:1428: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:1431: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:1433: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:1436: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  # FIXME: these cross compiler hacks should be removed for autoconf 3.0
+-# If not cross compiling, check that we can run a simple program.
+-if test "$cross_compiling" != yes; then
+-  if { (eval echo "$as_me:1441: \"./conftest$ac_exeext\"") >&5
+-  (eval ./conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:1444: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-    cross_compiling=no
+-  else
+-    if test "$cross_compiling" = maybe; then
+-      cross_compiling=yes
+-    else
+-      { { echo "$as_me:1451: error: cannot run C compiled programs.
+-To enable cross compilation, use \`--host'." >&5
+-echo "$as_me: error: cannot run C compiled programs.
+-To enable cross compilation, use \`--host'." >&2;}
+-   { (exit 1); exit 1; }; }
+-    fi
+-  fi
+-fi
+-echo "$as_me:1459: result: yes" >&5
+-echo "${ECHO_T}yes" >&6
++if { (eval echo configure:1367: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++  for ac_file in conftest.*; do
++  case $ac_file in
++    *.$ac_ext) ;;
++    *) ac_cv_objext=`echo $ac_file | sed s/conftest.//` ;;
++  esac
++  done
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-echo "$as_me:1464: result: no" >&5
+-echo "${ECHO_T}no" >&6
+-{ { echo "$as_me:1466: error: C compiler cannot create executables" >&5
+-echo "$as_me: error: C compiler cannot create executables" >&2;}
+-   { (exit 77); exit 77; }; }
++  rm -f conftest.$ac_ext
++  { echo "configure: error: cannot compile" >&2; exit 1; }
+ fi
+-rm -f conftest$ac_exeext conftest.$ac_ext
+-echo "$as_me:1471: checking whether we are cross compiling" >&5
+-echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
+-echo "$as_me:1473: result: $cross_compiling" >&5
+-echo "${ECHO_T}$cross_compiling" >&6
++fi
++echo "configure:1379: result: $ac_cv_objext" >&5
++echo "${ECHO_T}$ac_cv_objext" >&6
++OBJEXT=$ac_cv_objext
++ac_objext=$ac_cv_objext
++rm -f conftest.$ac_objext conftest.$ac_ext
+ 
+-echo "$as_me:1476: checking whether we are using the GNU C compiler" >&5
+-echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
+-if test "${ac_cv_c_compiler_gnu+set}" = set; then
++echo "configure:1385: checking for executable suffix" >&5
++echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
++if test "${ac_cv_exeext+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
++  case "$CYGWIN $MINGW32 $EMXOS2" in
++  *yes*) ac_cv_exeext=.exe ;;
++  *)
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 1482 "configure"
++#line 1394 "configure"
+ #include "confdefs.h"
+ 
+ int
+ main ()
+ {
+-#ifndef __GNUC__
+-       choke me
+-#endif
+ 
+   ;
+   return 0;
+ }
+ _ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:1497: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:1500: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:1502: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:1505: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  ac_compiler_gnu=yes
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:1406: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  if test ! -f conftest; then
++    for ac_file in conftest.*; do
++       case $ac_file in
++         *.$ac_ext | *.o | *.obj | *.xcoff) ;;
++         *) ac_cv_exeext=`expr "$ac_file" : 'conftest\(.*\)'`;;
++       esac
++     done
++   fi
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_compiler_gnu=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  { echo "configure: error: cannot compile and link" >&2; exit 1; }
+ fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
+-ac_cv_c_compiler_gnu=$ac_compiler_gnu
+-
++rm -f conftest$ac_exeext conftest.$ac_ext
++  test -n "$ac_cv_exeext" && ac_cv_exeext=no;;
++esac
+ fi
+-echo "$as_me:1517: result: $ac_cv_c_compiler_gnu" >&5
+-echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
+-GCC=`test $ac_compiler_gnu = yes && echo yes`
++echo "configure:1424: result: $ac_cv_exeext" >&5
++echo "${ECHO_T}$ac_cv_exeext" >&6
++EXEEXT=
++test "$ac_cv_exeext" != no && EXEEXT=$ac_cv_exeext
++ac_exeext=$EXEEXT
++
+ ac_test_CFLAGS=${CFLAGS+set}
+ ac_save_CFLAGS=$CFLAGS
+ CFLAGS="-g"
+-echo "$as_me:1523: checking whether $CC accepts -g" >&5
+-echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
++echo "configure:1433: checking whether ${CC-cc} accepts -g" >&5
++echo $ECHO_N "checking whether ${CC-cc} accepts -g... $ECHO_C" >&6
+ if test "${ac_cv_prog_cc_g+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 1529 "configure"
++#line 1439 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -1538,25 +1448,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:1541: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:1544: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:1546: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:1549: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:1451: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_prog_cc_g=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_prog_cc_g=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_prog_cc_g=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:1559: result: $ac_cv_prog_cc_g" >&5
++echo "configure:1460: result: $ac_cv_prog_cc_g" >&5
+ echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
+ if test "$ac_test_CFLAGS" = set; then
+   CFLAGS=$ac_save_CFLAGS
+@@ -1573,149 +1474,44 @@
+     CFLAGS=
+   fi
+ fi
+-# Some people use a C++ compiler to compile C.  Since we use `exit',
+-# in C++ we need to declare it.  In case someone uses the same compiler
+-# for both compiling C and C++ we need to have the C++ compiler decide
+-# the declaration of exit, since it's the most demanding environment.
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='${CC-cc} -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++echo "configure:1483: checking how to run the C preprocessor" >&5
++echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='${CC-cc} -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++# On Suns, sometimes $CPP names a directory.
++if test -n "$CPP" && test -d "$CPP"; then
++  CPP=
++fi
++if test -z "$CPP"; then
++  if test "${ac_cv_prog_CPP+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++      # Double quotes because CPP needs to be expanded
++    for CPP in "${CC-cc} -E" "${CC-cc} -E -traditional-cpp" "/lib/cpp"
++    do
++      # Use a header file that comes with gcc, so configuring glibc
++# with a fresh cross-compiler works.
++# On the NeXT, cc -E runs the code through the compiler's parser,
++# not just through cpp. "Syntax error" is here to catch this case.
+ cat >conftest.$ac_ext <<_ACEOF
+-#ifndef __cplusplus
+-  choke me
+-#endif
+-_ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:1586: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:1589: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:1591: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:1594: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  for ac_declaration in \
+-   ''\
+-   '#include <stdlib.h>' \
+-   'extern "C" void std::exit (int) throw (); using std::exit;' \
+-   'extern "C" void std::exit (int); using std::exit;' \
+-   'extern "C" void exit (int) throw ();' \
+-   'extern "C" void exit (int);' \
+-   'void exit (int);'
+-do
+-  cat >conftest.$ac_ext <<_ACEOF
+-#line 1606 "configure"
+-#include "confdefs.h"
+-#include <stdlib.h>
+-$ac_declaration
+-int
+-main ()
+-{
+-exit (42);
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:1619: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:1622: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:1624: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:1627: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  :
+-else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-continue
+-fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
+-  cat >conftest.$ac_ext <<_ACEOF
+-#line 1637 "configure"
+-#include "confdefs.h"
+-$ac_declaration
+-int
+-main ()
+-{
+-exit (42);
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:1649: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:1652: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:1654: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:1657: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  break
+-else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
+-done
+-echo '#ifdef __cplusplus' >>confdefs.h
+-echo $ac_declaration      >>confdefs.h
+-echo '#endif'             >>confdefs.h
+-
+-else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
+-ac_ext=c
+-ac_cpp='$CPP $CPPFLAGS'
+-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+-ac_compiler_gnu=$ac_cv_c_compiler_gnu
+-
+-ac_ext=c
+-ac_cpp='$CPP $CPPFLAGS'
+-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+-ac_compiler_gnu=$ac_cv_c_compiler_gnu
+-echo "$as_me:1686: checking how to run the C preprocessor" >&5
+-echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
+-# On Suns, sometimes $CPP names a directory.
+-if test -n "$CPP" && test -d "$CPP"; then
+-  CPP=
+-fi
+-if test -z "$CPP"; then
+-  if test "${ac_cv_prog_CPP+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-      # Double quotes because CPP needs to be expanded
+-    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
+-    do
+-      # Use a header file that comes with gcc, so configuring glibc
+-# with a fresh cross-compiler works.
+-# On the NeXT, cc -E runs the code through the compiler's parser,
+-# not just through cpp. "Syntax error" is here to catch this case.
+-ac_c_preproc_warn_flag=maybe
+-cat >conftest.$ac_ext <<_ACEOF
+-#line 1705 "configure"
++#line 1506 "configure"
+ #include "confdefs.h"
+ #include <assert.h>
+ Syntax error
+ _ACEOF
+-if { (eval echo "$as_me:1710: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
+-  (eval $ac_cpp conftest.$ac_ext >/dev/null) 2>conftest.er1
+-  ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
+-  rm -f conftest.er1
+-  cat conftest.err >&5
+-  echo "$as_me:1716: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  if test -s conftest.err; then
++ac_c_preproc_warn_flag=maybe
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:1513: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+   else
+     ac_cpp_err=
+@@ -1723,24 +1519,18 @@
+ else
+   ac_cpp_err=yes
+ fi
+-if test -z "$ac_cpp_err"; then
+-  # Now check whether non-existent headers can be detected and how
++
++# Now check whether non-existent headers can be detected and how
+ # Skip if ac_cpp_err is not empty - ac_cpp is broken
+ if test -z "$ac_cpp_err"; then
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 1731 "configure"
++#line 1527 "configure"
+ #include "confdefs.h"
+ #include <ac_nonexistent.h>
+ _ACEOF
+-if { (eval echo "$as_me:1735: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
+-  (eval $ac_cpp conftest.$ac_ext >/dev/null) 2>conftest.er1
+-  ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
+-  rm -f conftest.er1
+-  cat conftest.err >&5
+-  echo "$as_me:1741: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  if test -s conftest.err; then
++  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:1532: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+   else
+     ac_cpp_err=
+@@ -1748,27 +1538,21 @@
+ else
+   ac_cpp_err=yes
+ fi
+-if test -z "$ac_cpp_err"; then
+-  # cannot detect missing includes at all
+-ac_cpp_err=yes
+-else
+-  echo "$as_me: failed program was:" >&5
+-  cat conftest.$ac_ext >&5
+-  if test "x$ac_cpp_err" = xmaybe; then
++
++  if test -z "$ac_cpp_err"; then
++    # cannot detect missing includes at all
++    ac_cpp_err=yes
++  else
++    if test "x$ac_cpp_err" = xmaybe; then
+       ac_c_preproc_warn_flag=yes
+     else
+       ac_c_preproc_warn_flag=
+     fi
+     ac_cpp_err=
++  fi
+ fi
+-rm -f conftest.err conftest.$ac_ext
+-fi
+-else
+-  echo "$as_me: failed program was:" >&5
+-  cat conftest.$ac_ext >&5
++rm -f conftest*
+ 
+-fi
+-rm -f conftest.err conftest.$ac_ext
+       if test -z "$ac_cpp_err"; then
+         break
+       fi
+@@ -1782,22 +1566,16 @@
+ # with a fresh cross-compiler works.
+ # On the NeXT, cc -E runs the code through the compiler's parser,
+ # not just through cpp. "Syntax error" is here to catch this case.
+-ac_c_preproc_warn_flag=maybe
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 1787 "configure"
++#line 1570 "configure"
+ #include "confdefs.h"
+ #include <assert.h>
+ Syntax error
+ _ACEOF
+-if { (eval echo "$as_me:1792: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
+-  (eval $ac_cpp conftest.$ac_ext >/dev/null) 2>conftest.er1
+-  ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
+-  rm -f conftest.er1
+-  cat conftest.err >&5
+-  echo "$as_me:1798: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  if test -s conftest.err; then
++ac_c_preproc_warn_flag=maybe
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:1577: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+   else
+     ac_cpp_err=
+@@ -1805,24 +1583,18 @@
+ else
+   ac_cpp_err=yes
+ fi
+-if test -z "$ac_cpp_err"; then
+-  # Now check whether non-existent headers can be detected and how
++
++# Now check whether non-existent headers can be detected and how
+ # Skip if ac_cpp_err is not empty - ac_cpp is broken
+ if test -z "$ac_cpp_err"; then
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 1813 "configure"
++#line 1591 "configure"
+ #include "confdefs.h"
+ #include <ac_nonexistent.h>
+ _ACEOF
+-if { (eval echo "$as_me:1817: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
+-  (eval $ac_cpp conftest.$ac_ext >/dev/null) 2>conftest.er1
+-  ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
+-  rm -f conftest.er1
+-  cat conftest.err >&5
+-  echo "$as_me:1823: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  if test -s conftest.err; then
++  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:1596: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+   else
+     ac_cpp_err=
+@@ -1830,787 +1602,1153 @@
+ else
+   ac_cpp_err=yes
+ fi
+-if test -z "$ac_cpp_err"; then
+-  # cannot detect missing includes at all
+-ac_cpp_err=yes
+-else
+-  echo "$as_me: failed program was:" >&5
+-  cat conftest.$ac_ext >&5
+-  if test "x$ac_cpp_err" = xmaybe; then
++
++  if test -z "$ac_cpp_err"; then
++    # cannot detect missing includes at all
++    ac_cpp_err=yes
++  else
++    if test "x$ac_cpp_err" = xmaybe; then
+       ac_c_preproc_warn_flag=yes
+     else
+       ac_c_preproc_warn_flag=
+     fi
+     ac_cpp_err=
++  fi
+ fi
+-rm -f conftest.err conftest.$ac_ext
+-fi
+-else
+-  echo "$as_me: failed program was:" >&5
+-  cat conftest.$ac_ext >&5
++rm -f conftest*
+ 
+-fi
+-rm -f conftest.err conftest.$ac_ext
+   ac_cv_prog_CPP=$CPP
+ fi
+-echo "$as_me:1856: result: $CPP" >&5
++echo "configure:1622: result: $CPP" >&5
+ echo "${ECHO_T}$CPP" >&6
+ if test -n "$ac_cpp_err"; then
+-  { { echo "$as_me:1859: error: C preprocessor \"$CPP\" fails sanity check" >&5
+-echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
+-   { (exit 1); exit 1; }; }
++  { echo "configure: error: C preprocessor \"$CPP\" fails sanity check" >&2; exit 1; }
+ fi
+ ac_ext=c
+ ac_cpp='$CPP $CPPFLAGS'
+-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='${CC-cc} -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ ac_compiler_gnu=$ac_cv_c_compiler_gnu
+ 
+-echo "$as_me:1869: checking for $CC option to accept ANSI C" >&5
+-echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
+-if test "${ac_cv_prog_cc_stdc+set}" = set; then
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='${CC-cc} -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++if test -n "$ac_tool_prefix"; then
++  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
++set dummy ${ac_tool_prefix}gcc; ac_word=$2
++echo "configure:1642: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_CC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  ac_cv_prog_cc_stdc=no
+-ac_save_CC=$CC
+-cat >conftest.$ac_ext <<_ACEOF
+-#line 1877 "configure"
+-#include "confdefs.h"
+-#include <stdarg.h>
+-#include <stdio.h>
+-#include <sys/types.h>
+-#include <sys/stat.h>
+-/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
+-struct buf { int x; };
+-FILE * (*rcsopen) (struct buf *, struct stat *, int);
+-static char *e (p, i)
+-     char **p;
+-     int i;
+-{
+-  return p[i];
+-}
+-static char *f (char * (*g) (char **, int), char **p, ...)
+-{
+-  char *s;
+-  va_list v;
+-  va_start (v,p);
+-  s = g (p, va_arg (v,int));
+-  va_end (v);
+-  return s;
+-}
+-int test (int i, double x);
+-struct s1 {int (*f) (int a);};
+-struct s2 {int (*f) (double a);};
+-int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
+-int argc;
+-char **argv;
+-int
+-main ()
+-{
+-return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-# Don't try gcc -ansi; that turns off useful extensions and
+-# breaks some systems' header files.
+-# AIX			-qlanglvl=ansi
+-# Ultrix and OSF/1	-std1
+-# HP-UX 10.20 and later	-Ae
+-# HP-UX older versions	-Aa -D_HPUX_SOURCE
+-# SVR4			-Xc -D__EXTENSIONS__
+-for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
+-do
+-  CC="$ac_save_CC $ac_arg"
+-  rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:1926: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:1929: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:1931: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:1934: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  ac_cv_prog_cc_stdc=$ac_arg
+-break
++  if test -n "$CC"; then
++  ac_cv_prog_CC="$CC" # Let the user override the test.
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-fi
+-rm -f conftest.$ac_objext
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
++  IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_CC="${ac_tool_prefix}gcc"
++break
+ done
+-rm -f conftest.$ac_ext conftest.$ac_objext
+-CC=$ac_save_CC
+ 
+ fi
+-
+-case "x$ac_cv_prog_cc_stdc" in
+-  x|xno)
+-    echo "$as_me:1951: result: none needed" >&5
+-echo "${ECHO_T}none needed" >&6 ;;
+-  *)
+-    echo "$as_me:1954: result: $ac_cv_prog_cc_stdc" >&5
+-echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
+-    CC="$CC $ac_cv_prog_cc_stdc" ;;
+-esac
+-
+-ac_aux_dir=
+-for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
+-  if test -f $ac_dir/install-sh; then
+-    ac_aux_dir=$ac_dir
+-    ac_install_sh="$ac_aux_dir/install-sh -c"
+-    break
+-  elif test -f $ac_dir/install.sh; then
+-    ac_aux_dir=$ac_dir
+-    ac_install_sh="$ac_aux_dir/install.sh -c"
+-    break
+-  elif test -f $ac_dir/shtool; then
+-    ac_aux_dir=$ac_dir
+-    ac_install_sh="$ac_aux_dir/shtool install -c"
+-    break
+-  fi
+-done
+-if test -z "$ac_aux_dir"; then
+-  { { echo "$as_me:1976: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
+-echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
+-   { (exit 1); exit 1; }; }
+ fi
+-ac_config_guess="$SHELL $ac_aux_dir/config.guess"
+-ac_config_sub="$SHELL $ac_aux_dir/config.sub"
+-ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
++CC=$ac_cv_prog_CC
++if test -n "$CC"; then
++  echo "configure:1664: result: $CC" >&5
++echo "${ECHO_T}$CC" >&6
++else
++  echo "configure:1667: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
+ 
+-# Find a good install program.  We prefer a C program (faster),
+-# so one script is as good as another.  But avoid the broken or
+-# incompatible versions:
+-# SysV /etc/install, /usr/sbin/install
+-# SunOS /usr/etc/install
+-# IRIX /sbin/install
+-# AIX /bin/install
+-# AmigaOS /C/install, which installs bootblocks on floppy discs
+-# 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 "$as_me:1996: checking for a BSD compatible install" >&5
+-echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
+-if test -z "$INSTALL"; then
+-if test "${ac_cv_path_install+set}" = set; then
++fi
++if test -z "$ac_cv_prog_CC"; then
++  ac_ct_CC=$CC
++  # Extract the first word of "gcc", so it can be a program name with args.
++set dummy gcc; ac_word=$2
++echo "configure:1676: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-    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
+-    / | ./ | .// | /cC/* \
+-    | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
+-    | /usr/ucb/* ) ;;
+-    *)
+-      # OSF1 and SCO ODT 3.0 have their own names for install.
+-      # Don't use installbsd from OSF since it installs stuff as root
+-      # by default.
+-      for ac_prog in ginstall scoinst install; do
+-        if test -f "$ac_dir/$ac_prog"; then
+-	  if test $ac_prog = install &&
+-            grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
+-	    # AIX install.  It has an incompatible calling convention.
+-	    :
+-	  elif test $ac_prog = install &&
+-	    grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
+-	    # program-specific install script used by HP pwplus--don't use.
+-	    :
+-	  else
+-	    ac_cv_path_install="$ac_dir/$ac_prog -c"
+-	    break 2
+-	  fi
+-	fi
+-      done
+-      ;;
+-    esac
+-  done
++  if test -n "$ac_ct_CC"; then
++  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
++else
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
+   IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_ac_ct_CC="gcc"
++break
++done
+ 
+ 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 "$as_me:2045: result: $INSTALL" >&5
+-echo "${ECHO_T}$INSTALL" >&6
+-
+-# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
+-# It thinks the first close brace ends the variable substitution.
+-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
+-
+-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
+-
+-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
+-
+-echo "$as_me:2056: checking whether build environment is sane" >&5
+-echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
+-# Just in case
+-sleep 1
+-echo timestamp > conftestfile
+-# Do `set' in a subshell so we don't clobber the current shell's
+-# arguments.  Must try -L first in case configure is actually a
+-# symlink; some systems play weird games with the mod time of symlinks
+-# (eg FreeBSD returns the mod time of the symlink's containing
+-# directory).
+-if (
+-   set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
+-   if test "$*" = "X"; then
+-      # -L didn't work.
+-      set X `ls -t $srcdir/configure conftestfile`
+-   fi
+-   if test "$*" != "X $srcdir/configure conftestfile" \
+-      && test "$*" != "X conftestfile $srcdir/configure"; then
+-
+-      # If neither matched, then we have a broken ls.  This can happen
+-      # if, for instance, CONFIG_SHELL is bash and it inherits a
+-      # broken ls alias from the environment.  This has actually
+-      # happened.  Such a system could not be considered "sane".
+-      { { echo "$as_me:2079: error: ls -t appears to fail.  Make sure there is not a broken
+-alias in your environment" >&5
+-echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
+-alias in your environment" >&2;}
+-   { (exit 1); exit 1; }; }
+-   fi
+-
+-   test "$2" = conftestfile
+-   )
+-then
+-   # Ok.
+-   :
+-else
+-   { { echo "$as_me:2092: error: newly created file is older than distributed files!
+-Check your system clock" >&5
+-echo "$as_me: error: newly created file is older than distributed files!
+-Check your system clock" >&2;}
+-   { (exit 1); exit 1; }; }
+ fi
+-rm -f conftest*
+-echo "$as_me:2099: result: yes" >&5
+-echo "${ECHO_T}yes" >&6
+-if test "$program_transform_name" = s,x,x,; then
+-  program_transform_name=
++ac_ct_CC=$ac_cv_prog_ac_ct_CC
++if test -n "$ac_ct_CC"; then
++  echo "configure:1698: result: $ac_ct_CC" >&5
++echo "${ECHO_T}$ac_ct_CC" >&6
+ else
+-  # Double any \ or $.  echo might interpret backslashes.
+-  cat <<\EOF >conftestsed
+-s,\\,\\\\,g; s,\$,$$,g
+-EOF
+-  program_transform_name=`echo $program_transform_name | sed -f conftestsed`
+-  rm -f conftestsed
++  echo "configure:1701: result: no" >&5
++echo "${ECHO_T}no" >&6
+ fi
+-test "$program_prefix" != NONE &&
+-  program_transform_name="s,^,${program_prefix},;$program_transform_name"
+-# Use a double $ so make ignores it.
+-test "$program_suffix" != NONE &&
+-  program_transform_name="s,\$\$,${program_suffix},;$program_transform_name"
+ 
+-# sed with no file args requires a program.
+-test -z "$program_transform_name" && program_transform_name="s,x,x,"
+-
+-test x"${MISSING+set}" = xset || \
+-  MISSING="\${SHELL} `CDPATH=: && cd $ac_aux_dir && pwd`/missing"
+-if eval "$MISSING --run :"; then
+-  am_missing_run="$MISSING --run "
+-else
+-  am_missing_run=
+-  am_backtick='`'
+-  { echo "$as_me:2127: WARNING: ${am_backtick}missing' script is too old or missing" >&5
+-echo "$as_me: WARNING: ${am_backtick}missing' script is too old or missing" >&2;}
++  CC=$ac_ct_CC
+ fi
+ 
+-for ac_prog in mawk gawk nawk awk
+-do
+-  # Extract the first word of "$ac_prog", so it can be a program name with args.
+-set dummy $ac_prog; ac_word=$2
+-echo "$as_me:2135: checking for $ac_word" >&5
++if test -z "$CC"; then
++  if test -n "$ac_tool_prefix"; then
++  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
++set dummy ${ac_tool_prefix}cc; ac_word=$2
++echo "configure:1712: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+-if test "${ac_cv_prog_AWK+set}" = set; then
++if test "${ac_cv_prog_CC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  if test -n "$AWK"; then
+-  ac_cv_prog_AWK="$AWK" # Let the user override the test.
++  if test -n "$CC"; then
++  ac_cv_prog_CC="$CC" # Let the user override the test.
+ else
+   ac_save_IFS=$IFS; IFS=':'
+ ac_dummy="$PATH"
+ for ac_dir in $ac_dummy; do
+   IFS=$ac_save_IFS
+   test -z "$ac_dir" && ac_dir=.
+-  $as_executable_p "$ac_dir/$ac_word" || continue
+-ac_cv_prog_AWK="$ac_prog"
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_CC="${ac_tool_prefix}cc"
+ break
+ done
+ 
+ fi
+ fi
+-AWK=$ac_cv_prog_AWK
+-if test -n "$AWK"; then
+-  echo "$as_me:2157: result: $AWK" >&5
+-echo "${ECHO_T}$AWK" >&6
++CC=$ac_cv_prog_CC
++if test -n "$CC"; then
++  echo "configure:1734: result: $CC" >&5
++echo "${ECHO_T}$CC" >&6
+ else
+-  echo "$as_me:2160: result: no" >&5
++  echo "configure:1737: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+-  test -n "$AWK" && break
+-done
+-
+-echo "$as_me:2167: checking whether ${MAKE-make} sets \${MAKE}" >&5
+-echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
+-set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
+-if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
++fi
++if test -z "$ac_cv_prog_CC"; then
++  ac_ct_CC=$CC
++  # Extract the first word of "cc", so it can be a program name with args.
++set dummy cc; ac_word=$2
++echo "configure:1746: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftestmake <<\EOF
+-all:
+-	@echo 'ac_maketemp="${MAKE}"'
+-EOF
+-# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
+-eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
+-if test -n "$ac_maketemp"; then
+-  eval ac_cv_prog_make_${ac_make}_set=yes
++  if test -n "$ac_ct_CC"; then
++  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
+ else
+-  eval ac_cv_prog_make_${ac_make}_set=no
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
++  IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_ac_ct_CC="cc"
++break
++done
++
+ fi
+-rm -f conftestmake
+ fi
+-if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
+-  echo "$as_me:2187: result: yes" >&5
+-echo "${ECHO_T}yes" >&6
+-  SET_MAKE=
++ac_ct_CC=$ac_cv_prog_ac_ct_CC
++if test -n "$ac_ct_CC"; then
++  echo "configure:1768: result: $ac_ct_CC" >&5
++echo "${ECHO_T}$ac_ct_CC" >&6
+ else
+-  echo "$as_me:2191: result: no" >&5
++  echo "configure:1771: result: no" >&5
+ echo "${ECHO_T}no" >&6
+-  SET_MAKE="MAKE=${MAKE-make}"
+ fi
+ 
+-# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
+-if test "${enable_dependency_tracking+set}" = set; then
+-  enableval="$enable_dependency_tracking"
+-
+-fi;
+-if test "x$enable_dependency_tracking" = xno; then
+-  AMDEP="#"
+-else
+-  am_depcomp="$ac_aux_dir/depcomp"
+-  if test ! -f "$am_depcomp"; then
+-    AMDEP="#"
+-  else
+-    AMDEP=
+-  fi
++  CC=$ac_ct_CC
+ fi
+ 
+-if test -z "$AMDEP"; then
+-  AMDEPBACKSLASH='\'
+-else
+-  AMDEPBACKSLASH=
+ fi
+-
+-if test -d .deps || mkdir .deps 2> /dev/null || test -d .deps; then
+-  DEPDIR=.deps
++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 "configure:1782: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_CC+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  DEPDIR=_deps
++  if test -n "$CC"; then
++  ac_cv_prog_CC="$CC" # Let the user override the test.
++else
++  ac_prog_rejected=no
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
++  IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
++  ac_prog_rejected=yes
++  continue
+ fi
++ac_cv_prog_CC="cc"
++break
++done
+ 
+-ac_config_commands="$ac_config_commands default-2"
+-
+-# test to see if srcdir already configured
+-if test "`CDPATH=: && cd $srcdir && pwd`" != "`pwd`" &&
+-   test -f $srcdir/config.status; then
+-  { { echo "$as_me:2229: error: source directory already configured; run \"make distclean\" there first" >&5
+-echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
+-   { (exit 1); exit 1; }; }
++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 $# != 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" ${1+"$@"}
++    shift
++    ac_cv_prog_CC="$@"
++  fi
+ fi
+-
+-# Define the identity of the package.
+-PACKAGE=heimdal
+-VERSION=0.3e
+-
+-cat >>confdefs.h <<EOF
+-#define PACKAGE "$PACKAGE"
+-EOF
+-
+-cat >>confdefs.h <<EOF
+-#define VERSION "$VERSION"
+-EOF
+-
+-# Some tools Automake needs.
+-
+-ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal"}
+-
+-AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
+-
+-AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake"}
+-
+-AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
+-
+-MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
+-
+-AMTAR=${AMTAR-"${am_missing_run}tar"}
+-
+-if test -z "$install_sh"; then
+-   install_sh="$ac_aux_dir/install-sh"
+-   test -f "$install_sh" || install_sh="$ac_aux_dir/install.sh"
+-   test -f "$install_sh" || install_sh="${am_missing_run}${ac_auxdir}/install-sh"
+-         install_sh="`echo $install_sh | sed -e 's/\${SHELL}//'`"
++fi
++fi
++CC=$ac_cv_prog_CC
++if test -n "$CC"; then
++  echo "configure:1823: result: $CC" >&5
++echo "${ECHO_T}$CC" >&6
++else
++  echo "configure:1826: result: no" >&5
++echo "${ECHO_T}no" >&6
+ fi
+ 
+-depcc="$CC"
+-depcpp="$CPP"
+-echo "$as_me:2269: checking dependency style of $depcc" >&5
+-echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
+-if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
++fi
++if test -z "$CC"; then
++  if test -n "$ac_tool_prefix"; then
++  for ac_prog in cl
++  do
++    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
++set dummy $ac_tool_prefix$ac_prog; ac_word=$2
++echo "configure:1837: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_CC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-
+-if test -z "$AMDEP"; then
+-  echo '#include "conftest.h"' > conftest.c
+-  echo 'int i;' > conftest.h
+-
+-  am_cv_CC_dependencies_compiler_type=none
+-  for depmode in `sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < "$am_depcomp"`; do
+-    case "$depmode" in
+-    nosideeffect)
+-      # after this tag, mechanisms are not by side-effect, so they'll
+-      # only be used when explicitly requested
+-      if test "x$enable_dependency_tracking" = xyes; then
+-	continue
+-      else
+-	break
+-      fi
+-      ;;
+-    none) break ;;
+-    esac
+-    if depmode="$depmode" \
+-       source=conftest.c object=conftest.o \
+-       depfile=conftest.Po tmpdepfile=conftest.TPo \
+-       $SHELL $am_depcomp $depcc -c conftest.c 2>/dev/null &&
+-       grep conftest.h conftest.Po > /dev/null 2>&1; then
+-      am_cv_CC_dependencies_compiler_type="$depmode"
+-      break
+-    fi
+-  done
+-
+-  rm -f conftest.*
+-else
+-  am_cv_CC_dependencies_compiler_type=none
+-fi
+-
+-fi
+-
+-echo "$as_me:2310: result: $am_cv_CC_dependencies_compiler_type" >&5
+-echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
+-CCDEPMODE="depmode=$am_cv_CC_dependencies_compiler_type"
+-
+-# Make sure we can run config.sub.
+-$ac_config_sub sun4 >/dev/null 2>&1 ||
+-  { { echo "$as_me:2316: error: cannot run $ac_config_sub" >&5
+-echo "$as_me: error: cannot run $ac_config_sub" >&2;}
+-   { (exit 1); exit 1; }; }
+-
+-echo "$as_me:2320: checking build system type" >&5
+-echo $ECHO_N "checking build system type... $ECHO_C" >&6
+-if test "${ac_cv_build+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  ac_cv_build_alias=$build_alias
+-test -z "$ac_cv_build_alias" &&
+-  ac_cv_build_alias=`$ac_config_guess`
+-test -z "$ac_cv_build_alias" &&
+-  { { echo "$as_me:2329: error: cannot guess build type; you must specify one" >&5
+-echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
+-   { (exit 1); exit 1; }; }
+-ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
+-  { { echo "$as_me:2333: error: $ac_config_sub $ac_cv_build_alias failed." >&5
+-echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;}
+-   { (exit 1); exit 1; }; }
+-
+-fi
+-echo "$as_me:2338: result: $ac_cv_build" >&5
+-echo "${ECHO_T}$ac_cv_build" >&6
+-build=$ac_cv_build
+-build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
+-build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
+-build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
+-
+-echo "$as_me:2345: checking host system type" >&5
+-echo $ECHO_N "checking host system type... $ECHO_C" >&6
+-if test "${ac_cv_host+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  ac_cv_host_alias=$host_alias
+-test -z "$ac_cv_host_alias" &&
+-  ac_cv_host_alias=$ac_cv_build_alias
+-ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
+-  { { echo "$as_me:2354: error: $ac_config_sub $ac_cv_host_alias failed" >&5
+-echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
+-   { (exit 1); exit 1; }; }
+-
+-fi
+-echo "$as_me:2359: result: $ac_cv_host" >&5
+-echo "${ECHO_T}$ac_cv_host" >&6
+-host=$ac_cv_host
+-host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
+-host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
+-host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
+-
+-CANONICAL_HOST=$host
+-
+-sunos=no
+-case "$host" in
+-*-*-sunos4*)
+-	sunos=40
+-	;;
+-*-*-solaris2.7)
+-	sunos=57
+-	;;
+-*-*-solaris2.8)
+-	sunos=58
+-	;;
+-*-*-solaris2*)
+-	sunos=50
+-	;;
+-esac
+-if test "$sunos" != no; then
+-
+-cat >>confdefs.h <<EOF
+-#define SunOS $sunos
+-EOF
+-
+-fi
+-
+-aix=no
+-case "$host" in
+-*-*-aix3*)
+-	aix=3
+-	;;
+-*-*-aix4*)
+-	aix=4
+-	;;
+-esac
+-
+-#test -z "$CFLAGS" && CFLAGS="-g"
+-
+-for ac_prog in 'bison -y' byacc
+-do
+-  # Extract the first word of "$ac_prog", so it can be a program name with args.
+-set dummy $ac_prog; ac_word=$2
+-echo "$as_me:2407: checking for $ac_word" >&5
+-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+-if test "${ac_cv_prog_YACC+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  if test -n "$YACC"; then
+-  ac_cv_prog_YACC="$YACC" # Let the user override the test.
++  if test -n "$CC"; then
++  ac_cv_prog_CC="$CC" # Let the user override the test.
+ else
+   ac_save_IFS=$IFS; IFS=':'
+ ac_dummy="$PATH"
+ for ac_dir in $ac_dummy; do
+   IFS=$ac_save_IFS
+   test -z "$ac_dir" && ac_dir=.
+-  $as_executable_p "$ac_dir/$ac_word" || continue
+-ac_cv_prog_YACC="$ac_prog"
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
+ break
+ done
+ 
+ fi
+ fi
+-YACC=$ac_cv_prog_YACC
+-if test -n "$YACC"; then
+-  echo "$as_me:2429: result: $YACC" >&5
+-echo "${ECHO_T}$YACC" >&6
++CC=$ac_cv_prog_CC
++if test -n "$CC"; then
++  echo "configure:1859: result: $CC" >&5
++echo "${ECHO_T}$CC" >&6
+ else
+-  echo "$as_me:2432: result: no" >&5
++  echo "configure:1862: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+-  test -n "$YACC" && break
+-done
+-test -n "$YACC" || YACC="yacc"
+-
+-for ac_prog in flex lex
++    test -n "$CC" && break
++  done
++fi
++if test -z "$CC"; then
++  ac_ct_CC=$CC
++  for ac_prog in cl
+ do
+   # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+-echo "$as_me:2444: checking for $ac_word" >&5
++echo "configure:1875: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+-if test "${ac_cv_prog_LEX+set}" = set; then
++if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  if test -n "$LEX"; then
+-  ac_cv_prog_LEX="$LEX" # Let the user override the test.
++  if test -n "$ac_ct_CC"; then
++  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
+ else
+   ac_save_IFS=$IFS; IFS=':'
+ ac_dummy="$PATH"
+ for ac_dir in $ac_dummy; do
+   IFS=$ac_save_IFS
+   test -z "$ac_dir" && ac_dir=.
+-  $as_executable_p "$ac_dir/$ac_word" || continue
+-ac_cv_prog_LEX="$ac_prog"
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_ac_ct_CC="$ac_prog"
+ break
+ done
+ 
+ fi
+ fi
+-LEX=$ac_cv_prog_LEX
+-if test -n "$LEX"; then
+-  echo "$as_me:2466: result: $LEX" >&5
+-echo "${ECHO_T}$LEX" >&6
++ac_ct_CC=$ac_cv_prog_ac_ct_CC
++if test -n "$ac_ct_CC"; then
++  echo "configure:1897: result: $ac_ct_CC" >&5
++echo "${ECHO_T}$ac_ct_CC" >&6
+ else
+-  echo "$as_me:2469: result: no" >&5
++  echo "configure:1900: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+-  test -n "$LEX" && break
+-done
+-test -n "$LEX" || LEX="${am_missing_run}flex"
+-
+-for ac_prog in flex lex
+-do
+-  # Extract the first word of "$ac_prog", so it can be a program name with args.
+-set dummy $ac_prog; ac_word=$2
+-echo "$as_me:2481: checking for $ac_word" >&5
+-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+-if test "${ac_cv_prog_LEX+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  if test -n "$LEX"; then
+-  ac_cv_prog_LEX="$LEX" # Let the user override the test.
+-else
+-  ac_save_IFS=$IFS; IFS=':'
+-ac_dummy="$PATH"
+-for ac_dir in $ac_dummy; do
+-  IFS=$ac_save_IFS
+-  test -z "$ac_dir" && ac_dir=.
+-  $as_executable_p "$ac_dir/$ac_word" || continue
+-ac_cv_prog_LEX="$ac_prog"
+-break
++  test -n "$ac_ct_CC" && break
+ done
+ 
++  CC=$ac_ct_CC
+ fi
+-fi
+-LEX=$ac_cv_prog_LEX
+-if test -n "$LEX"; then
+-  echo "$as_me:2503: result: $LEX" >&5
+-echo "${ECHO_T}$LEX" >&6
+-else
+-  echo "$as_me:2506: result: no" >&5
+-echo "${ECHO_T}no" >&6
++
+ fi
+ 
+-  test -n "$LEX" && break
+-done
+-test -n "$LEX" || LEX=":"
++test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" >&2; exit 1; }
+ 
+-if test -z "$LEXLIB"
+-then
+-  echo "$as_me:2516: checking for yywrap in -lfl" >&5
+-echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
+-if test "${ac_cv_lib_fl_yywrap+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  ac_check_lib_save_LIBS=$LIBS
+-LIBS="-lfl  $LIBS"
++echo "configure:1914: checking whether the C compiler works" >&5
++echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 2524 "configure"
++#line 1917 "configure"
+ #include "confdefs.h"
+ 
+-/* Override any gcc2 internal prototype to avoid an error.  */
+-#ifdef __cplusplus
+-extern "C"
+-#endif
+-/* We use char because int might match the return type of a gcc2
+-   builtin and then its argument prototype would still apply.  */
+-char yywrap ();
+ int
+ main ()
+ {
+-yywrap ();
++
+   ;
+   return 0;
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:2543: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:2546: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:2548: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:2551: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  ac_cv_lib_fl_yywrap=yes
++if { (eval echo configure:1929: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  # FIXME: these cross compiler hacks should be removed for autoconf 3.0
++# If not cross compiling, check that we can run a simple program.
++if test "$cross_compiling" != yes; then
++  if { ac_try='./conftest$ac_exeext'; { (eval echo configure:1933: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; }; then
++    cross_compiling=no
++  else
++    if test "$cross_compiling" = maybe; then
++      cross_compiling=yes
++    else
++      { echo "configure: error: cannot run C compiled programs.
++To enable cross compilation, use \`--host'." >&2; exit 1; }
++    fi
++  fi
++fi
++echo "configure:1944: result: yes" >&5
++echo "${ECHO_T}yes" >&6
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_lib_fl_yywrap=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  echo "configure:1949: result: no" >&5
++echo "${ECHO_T}no" >&6
++{ echo "configure: error: C compiler cannot create executables" >&2; exit 77; }
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+-LIBS=$ac_check_lib_save_LIBS
+-fi
+-echo "$as_me:2562: result: $ac_cv_lib_fl_yywrap" >&5
+-echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
+-if test $ac_cv_lib_fl_yywrap = yes; then
+-  LEXLIB="-lfl"
+-else
+-  echo "$as_me:2567: checking for yywrap in -ll" >&5
+-echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
+-if test "${ac_cv_lib_l_yywrap+set}" = set; then
++echo "configure:1954: checking whether we are cross compiling" >&5
++echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
++echo "configure:1956: result: $cross_compiling" >&5
++echo "${ECHO_T}$cross_compiling" >&6
++
++echo "configure:1959: checking whether we are using the GNU C compiler" >&5
++echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
++if test "${ac_cv_c_compiler_gnu+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  ac_check_lib_save_LIBS=$LIBS
+-LIBS="-ll  $LIBS"
+-cat >conftest.$ac_ext <<_ACEOF
+-#line 2575 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 1965 "configure"
+ #include "confdefs.h"
+-
+-/* Override any gcc2 internal prototype to avoid an error.  */
+-#ifdef __cplusplus
+-extern "C"
++#ifndef __GNUC__
++  choke me
+ #endif
+-/* We use char because int might match the return type of a gcc2
+-   builtin and then its argument prototype would still apply.  */
+-char yywrap ();
++
+ int
+ main ()
+ {
+-yywrap ();
++
+   ;
+   return 0;
+ }
+ _ACEOF
+-rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:2594: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:2597: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:2599: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:2602: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  ac_cv_lib_l_yywrap=yes
++rm -f conftest.$ac_objext
++if { (eval echo configure:1980: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++  ac_compiler_gnu=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_lib_l_yywrap=no
+-fi
+-rm -f conftest$ac_exeext conftest.$ac_ext
+-LIBS=$ac_check_lib_save_LIBS
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_compiler_gnu=no
+ fi
+-echo "$as_me:2613: result: $ac_cv_lib_l_yywrap" >&5
++rm -f conftest.$ac_objext conftest.$ac_ext
++ac_cv_c_compiler_gnu=$ac_compiler_gnu
++
++fi
++echo "configure:1991: result: $ac_cv_c_compiler_gnu" >&5
++echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
++GCC=`test $ac_compiler_gnu = yes && echo yes`
++
++ac_test_CFLAGS=${CFLAGS+set}
++ac_save_CFLAGS=$CFLAGS
++CFLAGS="-g"
++echo "configure:1998: checking whether ${CC-cc} accepts -g" >&5
++echo $ECHO_N "checking whether ${CC-cc} accepts -g... $ECHO_C" >&6
++if test "${ac_cv_prog_cc_g+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line 2004 "configure"
++#include "confdefs.h"
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:2016: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++  ac_cv_prog_cc_g=yes
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_prog_cc_g=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "configure:2025: result: $ac_cv_prog_cc_g" >&5
++echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
++if test "$ac_test_CFLAGS" = set; then
++  CFLAGS=$ac_save_CFLAGS
++elif test $ac_cv_prog_cc_g = yes; then
++  if test "$GCC" = yes; then
++    CFLAGS="-g -O2"
++  else
++    CFLAGS="-g"
++  fi
++else
++  if test "$GCC" = yes; then
++    CFLAGS="-O2"
++  else
++    CFLAGS=
++  fi
++fi
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='${CC-cc} -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++echo "configure:2048: checking for ${CC-cc} option to accept ANSI C" >&5
++echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
++if test "${ac_cv_prog_cc_stdc+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_cv_prog_cc_stdc=no
++ac_save_CC=$CC
++# Don't try gcc -ansi; that turns off useful extensions and
++# breaks some systems' header files.
++# AIX			-qlanglvl=ansi
++# Ultrix and OSF/1	-std1
++# HP-UX 10.20 and later	-Ae
++# HP-UX older versions	-Aa -D_HPUX_SOURCE
++# SVR4			-Xc -D__EXTENSIONS__
++for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
++do
++  CC="$ac_save_CC $ac_arg"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 2066 "configure"
++#include "confdefs.h"
++#include <stdarg.h>
++#include <stdio.h>
++#include <sys/types.h>
++#include <sys/stat.h>
++/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
++struct buf { int x; };
++FILE * (*rcsopen) (struct buf *, struct stat *, int);
++static char *e (p, i)
++     char **p;
++     int i;
++{
++  return p[i];
++}
++static char *f (char * (*g) (char **, int), char **p, ...)
++{
++  char *s;
++  va_list v;
++  va_start (v,p);
++  s = g (p, va_arg (v,int));
++  va_end (v);
++  return s;
++}
++int test (int i, double x);
++struct s1 {int (*f) (int a);};
++struct s2 {int (*f) (double a);};
++int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
++int argc;
++char **argv;
++int
++main ()
++{
++return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:2105: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++  ac_cv_prog_cc_stdc=$ac_arg; break
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++done
++CC=$ac_save_CC
++
++fi
++
++case "x$ac_cv_prog_cc_stdc" in
++  x|xno)
++    echo "configure:2119: result: none needed" >&5
++echo "${ECHO_T}none needed" >&6 ;;
++  *)
++    echo "configure:2122: result: $ac_cv_prog_cc_stdc" >&5
++echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
++    CC="$CC $ac_cv_prog_cc_stdc" ;;
++esac
++
++ac_aux_dir=
++for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
++  if test -f $ac_dir/install-sh; then
++    ac_aux_dir=$ac_dir
++    ac_install_sh="$ac_aux_dir/install-sh -c"
++    break
++  elif test -f $ac_dir/install.sh; then
++    ac_aux_dir=$ac_dir
++    ac_install_sh="$ac_aux_dir/install.sh -c"
++    break
++  elif test -f $ac_dir/shtool; then
++    ac_aux_dir=$ac_dir
++    ac_install_sh="$ac_aux_dir/shtool install -c"
++    break
++  fi
++done
++if test -z "$ac_aux_dir"; then
++  { echo "configure: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2; exit 1; }
++fi
++ac_config_guess="$SHELL $ac_aux_dir/config.guess"
++ac_config_sub="$SHELL $ac_aux_dir/config.sub"
++ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
++
++# Find a good install program.  We prefer a C program (faster),
++# so one script is as good as another.  But avoid the broken or
++# incompatible versions:
++# SysV /etc/install, /usr/sbin/install
++# SunOS /usr/etc/install
++# IRIX /sbin/install
++# AIX /bin/install
++# AmigaOS /C/install, which installs bootblocks on floppy discs
++# 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 "configure:2162: checking for a BSD compatible install" >&5
++echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
++if test -z "$INSTALL"; then
++if test "${ac_cv_path_install+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++    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
++    / | ./ | .// | /cC/* \
++    | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
++    | /usr/ucb/* ) ;;
++    *)
++      # OSF1 and SCO ODT 3.0 have their own names for install.
++      # Don't use installbsd from OSF since it installs stuff as root
++      # by default.
++      for ac_prog in ginstall scoinst install; do
++        if test -f "$ac_dir/$ac_prog"; then
++	  if test $ac_prog = install &&
++            grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
++	    # AIX install.  It has an incompatible calling convention.
++	    :
++	  elif test $ac_prog = install &&
++	    grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
++	    # program-specific install script used by HP pwplus--don't use.
++	    :
++	  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 "configure:2211: result: $INSTALL" >&5
++echo "${ECHO_T}$INSTALL" >&6
++
++# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
++# It thinks the first close brace ends the variable substitution.
++test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
++
++test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
++
++test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
++
++echo "configure:2222: checking whether build environment is sane" >&5
++echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
++# Just in case
++sleep 1
++echo timestamp > conftestfile
++# Do `set' in a subshell so we don't clobber the current shell's
++# arguments.  Must try -L first in case configure is actually a
++# symlink; some systems play weird games with the mod time of symlinks
++# (eg FreeBSD returns the mod time of the symlink's containing
++# directory).
++if (
++   set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
++   if test "$*" = "X"; then
++      # -L didn't work.
++      set X `ls -t $srcdir/configure conftestfile`
++   fi
++   if test "$*" != "X $srcdir/configure conftestfile" \
++      && test "$*" != "X conftestfile $srcdir/configure"; then
++
++      # If neither matched, then we have a broken ls.  This can happen
++      # if, for instance, CONFIG_SHELL is bash and it inherits a
++      # broken ls alias from the environment.  This has actually
++      # happened.  Such a system could not be considered "sane".
++      { echo "configure: error: ls -t appears to fail.  Make sure there is not a broken
++alias in your environment" >&2; exit 1; }
++   fi
++
++   test "$2" = conftestfile
++   )
++then
++   # Ok.
++   :
++else
++   { echo "configure: error: newly created file is older than distributed files!
++Check your system clock" >&2; exit 1; }
++fi
++rm -f conftest*
++echo "configure:2259: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++if test "$program_transform_name" = s,x,x,; then
++  program_transform_name=
++else
++  # Double any \ or $.  echo might interpret backslashes.
++  cat <<\EOF >conftestsed
++s,\\,\\\\,g; s,\$,$$,g
++EOF
++  program_transform_name=`echo $program_transform_name | sed -f conftestsed`
++  rm -f conftestsed
++fi
++test "$program_prefix" != NONE &&
++  program_transform_name="s,^,${program_prefix},;$program_transform_name"
++# Use a double $ so make ignores it.
++test "$program_suffix" != NONE &&
++  program_transform_name="s,\$\$,${program_suffix},;$program_transform_name"
++
++# sed with no file args requires a program.
++test -z "$program_transform_name" && program_transform_name="s,x,x,"
++
++test x"${MISSING+set}" = xset || \
++  MISSING="\${SHELL} `CDPATH=:; cd $ac_aux_dir && pwd`/missing"
++# Use eval to expand $SHELL
++if eval "$MISSING --run :"; then
++  am_missing_run="$MISSING --run "
++else
++  am_missing_run=
++  am_backtick='`'
++  echo "configure: WARNING: ${am_backtick}missing' script is too old or missing" >&2
++fi
++
++for ac_prog in mawk gawk nawk awk
++do
++  # Extract the first word of "$ac_prog", so it can be a program name with args.
++set dummy $ac_prog; ac_word=$2
++echo "configure:2295: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_AWK+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$AWK"; then
++  ac_cv_prog_AWK="$AWK" # Let the user override the test.
++else
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
++  IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_AWK="$ac_prog"
++break
++done
++
++fi
++fi
++AWK=$ac_cv_prog_AWK
++if test -n "$AWK"; then
++  echo "configure:2317: result: $AWK" >&5
++echo "${ECHO_T}$AWK" >&6
++else
++  echo "configure:2320: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  test -n "$AWK" && break
++done
++
++echo "configure:2327: checking whether ${MAKE-make} sets \${MAKE}" >&5
++echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
++set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
++if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftestmake <<\EOF
++all:
++	@echo 'ac_maketemp="${MAKE}"'
++EOF
++# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
++eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
++if test -n "$ac_maketemp"; then
++  eval ac_cv_prog_make_${ac_make}_set=yes
++else
++  eval ac_cv_prog_make_${ac_make}_set=no
++fi
++rm -f conftestmake
++fi
++if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
++  echo "configure:2347: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++  SET_MAKE=
++else
++  echo "configure:2351: result: no" >&5
++echo "${ECHO_T}no" >&6
++  SET_MAKE="MAKE=${MAKE-make}"
++fi
++
++# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
++if test "${enable_dependency_tracking+set}" = set; then
++  enableval="$enable_dependency_tracking"
++
++fi;
++if test "x$enable_dependency_tracking" = xno; then
++  AMDEP="#"
++else
++  am_depcomp="$ac_aux_dir/depcomp"
++  if test ! -f "$am_depcomp"; then
++    AMDEP="#"
++  else
++    AMDEP=
++  fi
++fi
++
++if test -z "$AMDEP"; then
++  AMDEPBACKSLASH='\'
++else
++  AMDEPBACKSLASH=
++fi
++
++if test -d .deps || mkdir .deps 2> /dev/null || test -d .deps; then
++  DEPDIR=.deps
++else
++  DEPDIR=_deps
++fi
++
++ac_config_commands="$ac_config_commands default-2"
++
++# test to see if srcdir already configured
++if test "`CDPATH=:; cd $srcdir && pwd`" != "`pwd`" &&
++   test -f $srcdir/config.status; then
++  { echo "configure: error: source directory already configured; run \"make distclean\" there first" >&2; exit 1; }
++fi
++
++# Define the identity of the package.
++PACKAGE=heimdal
++VERSION=0.3e
++
++cat >>confdefs.h <<EOF
++#define PACKAGE "$PACKAGE"
++EOF
++
++cat >>confdefs.h <<EOF
++#define VERSION "$VERSION"
++EOF
++
++# Some tools Automake needs.
++
++ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal"}
++
++AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
++
++AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake"}
++
++AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
++
++MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
++
++AMTAR=${AMTAR-"${am_missing_run}tar"}
++
++if test -z "$install_sh"; then
++   install_sh="$ac_aux_dir/install-sh"
++   test -f "$install_sh" || install_sh="$ac_aux_dir/install.sh"
++   test -f "$install_sh" || install_sh="${am_missing_run}${ac_auxdir}/install-sh"
++         install_sh="`echo $install_sh | sed -e 's/\${SHELL}//'`"
++fi
++
++# We need awk for the "check" target.  The system "awk" is bad on
++# some platforms.
++
++depcc="$CC"
++depcpp="$CPP"
++echo "configure:2430: checking dependency style of $depcc" >&5
++echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
++if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++
++if test -z "$AMDEP"; then
++  echo '#include "conftest.h"' > conftest.c
++  echo 'int i;' > conftest.h
++
++  am_cv_CC_dependencies_compiler_type=none
++  for depmode in `sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < "$am_depcomp"`; do
++    case "$depmode" in
++    nosideeffect)
++      # after this tag, mechanisms are not by side-effect, so they'll
++      # only be used when explicitly requested
++      if test "x$enable_dependency_tracking" = xyes; then
++	continue
++      else
++	break
++      fi
++      ;;
++    none) break ;;
++    esac
++    # We check with `-c' and `-o' for the sake of the "dashmstdout"
++    # mode.  It turns out that the SunPro C++ compiler does not properly
++    # handle `-M -o', and we need to detect this.
++    if depmode="$depmode" \
++       source=conftest.c object=conftest.o \
++       depfile=conftest.Po tmpdepfile=conftest.TPo \
++       $SHELL $am_depcomp $depcc -c conftest.c -o conftest.o 2>/dev/null &&
++       grep conftest.h conftest.Po > /dev/null 2>&1; then
++      am_cv_CC_dependencies_compiler_type="$depmode"
++      break
++    fi
++  done
++
++  rm -f conftest.*
++else
++  am_cv_CC_dependencies_compiler_type=none
++fi
++
++fi
++
++echo "configure:2474: result: $am_cv_CC_dependencies_compiler_type" >&5
++echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
++CCDEPMODE="depmode=$am_cv_CC_dependencies_compiler_type"
++
++# Make sure we can run config.sub.
++$ac_config_sub sun4 >/dev/null 2>&1 ||
++  { echo "configure: error: cannot run $ac_config_sub" >&2; exit 1; }
++
++echo "configure:2482: checking build system type" >&5
++echo $ECHO_N "checking build system type... $ECHO_C" >&6
++if test "${ac_cv_build+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_cv_build_alias=$build_alias
++test -z "$ac_cv_build_alias" &&
++  ac_cv_build_alias=`$ac_config_guess`
++test -z "$ac_cv_build_alias" &&
++  { echo "configure: error: cannot guess build type; you must specify one" >&2; exit 1; }
++ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || exit 1
++
++fi
++echo "configure:2495: result: $ac_cv_build" >&5
++echo "${ECHO_T}$ac_cv_build" >&6
++build=$ac_cv_build
++build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
++build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
++build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
++
++echo "configure:2502: checking host system type" >&5
++echo $ECHO_N "checking host system type... $ECHO_C" >&6
++if test "${ac_cv_host+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_cv_host_alias=$host_alias
++test -z "$ac_cv_host_alias" &&
++  ac_cv_host_alias=$ac_cv_build_alias
++ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || exit 1
++
++fi
++echo "configure:2513: result: $ac_cv_host" >&5
++echo "${ECHO_T}$ac_cv_host" >&6
++host=$ac_cv_host
++host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
++host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
++host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
++
++CANONICAL_HOST=$host
++
++sunos=no
++case "$host" in
++*-*-sunos4*)
++	sunos=40
++	;;
++*-*-solaris2.7)
++	sunos=57
++	;;
++*-*-solaris2.8)
++	sunos=58
++	;;
++*-*-solaris2*)
++	sunos=50
++	;;
++esac
++if test "$sunos" != no; then
++	
++cat >>confdefs.h <<EOF
++#define SunOS $sunos
++EOF
++
++fi
++
++aix=no
++case "$host" in
++*-*-aix3*)
++	aix=3
++	;;
++*-*-aix4*)
++	aix=4
++	;;
++esac
++
++#test -z "$CFLAGS" && CFLAGS="-g"
++
++for ac_prog in 'bison -y' byacc
++do
++  # Extract the first word of "$ac_prog", so it can be a program name with args.
++set dummy $ac_prog; ac_word=$2
++echo "configure:2561: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_YACC+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$YACC"; then
++  ac_cv_prog_YACC="$YACC" # Let the user override the test.
++else
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
++  IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_YACC="$ac_prog"
++break
++done
++
++fi
++fi
++YACC=$ac_cv_prog_YACC
++if test -n "$YACC"; then
++  echo "configure:2583: result: $YACC" >&5
++echo "${ECHO_T}$YACC" >&6
++else
++  echo "configure:2586: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  test -n "$YACC" && break
++done
++test -n "$YACC" || YACC="yacc"
++
++for ac_prog in flex lex
++do
++  # Extract the first word of "$ac_prog", so it can be a program name with args.
++set dummy $ac_prog; ac_word=$2
++echo "configure:2598: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_LEX+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$LEX"; then
++  ac_cv_prog_LEX="$LEX" # Let the user override the test.
++else
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
++  IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_LEX="$ac_prog"
++break
++done
++
++fi
++fi
++LEX=$ac_cv_prog_LEX
++if test -n "$LEX"; then
++  echo "configure:2620: result: $LEX" >&5
++echo "${ECHO_T}$LEX" >&6
++else
++  echo "configure:2623: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  test -n "$LEX" && break
++done
++test -n "$LEX" || LEX="${am_missing_run}flex"
++
++for ac_prog in flex lex
++do
++  # Extract the first word of "$ac_prog", so it can be a program name with args.
++set dummy $ac_prog; ac_word=$2
++echo "configure:2635: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_LEX+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$LEX"; then
++  ac_cv_prog_LEX="$LEX" # Let the user override the test.
++else
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
++  IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_LEX="$ac_prog"
++break
++done
++
++fi
++fi
++LEX=$ac_cv_prog_LEX
++if test -n "$LEX"; then
++  echo "configure:2657: result: $LEX" >&5
++echo "${ECHO_T}$LEX" >&6
++else
++  echo "configure:2660: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  test -n "$LEX" && break
++done
++test -n "$LEX" || LEX=":"
++
++if test -z "$LEXLIB"
++then
++
++echo "configure:2671: checking for yywrap in -lfl" >&5
++echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
++if test "${ac_cv_lib_fl_yywrap+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-lfl  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line 2679 "configure"
++#include "confdefs.h"
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char yywrap ();
++int
++main ()
++{
++yywrap ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:2698: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  ac_cv_lib_fl_yywrap=yes
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_lib_fl_yywrap=no
++fi
++rm -f conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "configure:2708: result: $ac_cv_lib_fl_yywrap" >&5
++echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
++if test $ac_cv_lib_fl_yywrap = yes; then
++  LEXLIB="-lfl"
++else
++
++echo "configure:2714: checking for yywrap in -ll" >&5
++echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
++if test "${ac_cv_lib_l_yywrap+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ll  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line 2722 "configure"
++#include "confdefs.h"
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char yywrap ();
++int
++main ()
++{
++yywrap ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:2741: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  ac_cv_lib_l_yywrap=yes
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_lib_l_yywrap=no
++fi
++rm -f conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "configure:2751: result: $ac_cv_lib_l_yywrap" >&5
+ echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
+ if test $ac_cv_lib_l_yywrap = yes; then
+   LEXLIB="-ll"
+@@ -2620,82 +2758,1154 @@
+ 
+ fi
+ 
+-if test "x$LEX" != "x:"; then
+-  echo "$as_me:2624: checking lex output file root" >&5
+-echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
+-if test "${ac_cv_prog_lex_root+set}" = set; then
++if test "x$LEX" != "x:"; then
++  echo "configure:2762: checking lex output file root" >&5
++echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
++if test "${ac_cv_prog_lex_root+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  # The minimal lex program is just a single line: %%.  But some broken lexes
++# (Solaris, I think it was) want two %% lines, so accommodate them.
++echo '%%
++%%' | $LEX
++if test -f lex.yy.c; then
++  ac_cv_prog_lex_root=lex.yy
++elif test -f lexyy.c; then
++  ac_cv_prog_lex_root=lexyy
++else
++  { echo "configure: error: cannot find output from $LEX; giving up" >&2; exit 1; }
++fi
++fi
++echo "configure:2779: result: $ac_cv_prog_lex_root" >&5
++echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
++LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
++
++echo "configure:2783: checking whether yytext is a pointer" >&5
++echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
++if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  # POSIX says lex can declare yytext either as a pointer or an array; the
++# default is implementation-dependent. Figure out which it is, since
++# not all implementations provide the %pointer and %array declarations.
++ac_cv_prog_lex_yytext_pointer=no
++echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
++ac_save_LIBS=$LIBS
++LIBS="$LIBS $LEXLIB"
++cat >conftest.$ac_ext <<_ACEOF
++`cat $LEX_OUTPUT_ROOT.c`
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:2799: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  ac_cv_prog_lex_yytext_pointer=yes
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++fi
++rm -f conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_save_LIBS
++rm -f "${LEX_OUTPUT_ROOT}.c"
++
++fi
++echo "configure:2810: result: $ac_cv_prog_lex_yytext_pointer" >&5
++echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
++if test $ac_cv_prog_lex_yytext_pointer = yes; then
++
++cat >>confdefs.h <<\EOF
++#define YYTEXT_POINTER 1
++EOF
++
++fi
++
++fi
++
++if test -n "$ac_tool_prefix"; then
++  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
++set dummy ${ac_tool_prefix}ranlib; ac_word=$2
++echo "configure:2825: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_RANLIB+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$RANLIB"; then
++  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
++else
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
++  IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
++break
++done
++
++fi
++fi
++RANLIB=$ac_cv_prog_RANLIB
++if test -n "$RANLIB"; then
++  echo "configure:2847: result: $RANLIB" >&5
++echo "${ECHO_T}$RANLIB" >&6
++else
++  echo "configure:2850: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++fi
++if test -z "$ac_cv_prog_RANLIB"; then
++  ac_ct_RANLIB=$RANLIB
++  # Extract the first word of "ranlib", so it can be a program name with args.
++set dummy ranlib; ac_word=$2
++echo "configure:2859: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$ac_ct_RANLIB"; then
++  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
++else
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
++  IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_ac_ct_RANLIB="ranlib"
++break
++done
++
++  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
++fi
++fi
++ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
++if test -n "$ac_ct_RANLIB"; then
++  echo "configure:2882: result: $ac_ct_RANLIB" >&5
++echo "${ECHO_T}$ac_ct_RANLIB" >&6
++else
++  echo "configure:2885: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  RANLIB=$ac_ct_RANLIB
++fi
++
++for ac_prog in mawk gawk nawk awk
++do
++  # Extract the first word of "$ac_prog", so it can be a program name with args.
++set dummy $ac_prog; ac_word=$2
++echo "configure:2896: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_AWK+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$AWK"; then
++  ac_cv_prog_AWK="$AWK" # Let the user override the test.
++else
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
++  IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_AWK="$ac_prog"
++break
++done
++
++fi
++fi
++AWK=$ac_cv_prog_AWK
++if test -n "$AWK"; then
++  echo "configure:2918: result: $AWK" >&5
++echo "${ECHO_T}$AWK" >&6
++else
++  echo "configure:2921: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  test -n "$AWK" && break
++done
++
++echo "configure:2928: checking for ln -s or something else" >&5
++echo $ECHO_N "checking for ln -s or something else... $ECHO_C" >&6
++if test "${ac_cv_prog_LN_S+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  rm -f conftestdata
++if ln -s X conftestdata 2>/dev/null
++then
++  rm -f conftestdata
++  ac_cv_prog_LN_S="ln -s"
++else
++  touch conftestdata1
++  if ln conftestdata1 conftestdata2; then
++    rm -f conftestdata*
++    ac_cv_prog_LN_S=ln
++  else
++    ac_cv_prog_LN_S=cp
++  fi
++fi
++fi
++LN_S="$ac_cv_prog_LN_S"
++echo "configure:2949: result: $ac_cv_prog_LN_S" >&5
++echo "${ECHO_T}$ac_cv_prog_LN_S" >&6
++
++# Check whether --with-mips_abi or --without-mips_abi was given.
++if test "${with_mips_abi+set}" = set; then
++  withval="$with_mips_abi"
++
++fi;
++
++case "$host_os" in
++irix*)
++with_mips_abi="${with_mips_abi:-yes}"
++if test -n "$GCC"; then
++
++# GCC < 2.8 only supports the O32 ABI. GCC >= 2.8 has a flag to select
++# which ABI to use, but only supports (as of 2.8.1) the N32 and 64 ABIs.
++#
++# Default to N32, but if GCC doesn't grok -mabi=n32, we assume an old
++# GCC and revert back to O32. The same goes if O32 is asked for - old
++# GCCs doesn't like the -mabi option, and new GCCs can't output O32.
++#
++# Don't you just love *all* the different SGI ABIs?
++
++case "${with_mips_abi}" in
++        32|o32) abi='-mabi=32';  abilibdirext=''     ;;
++       n32|yes) abi='-mabi=n32'; abilibdirext='32'  ;;
++        64) abi='-mabi=64';  abilibdirext='64'   ;;
++	no) abi=''; abilibdirext='';;
++         *) { echo "configure: error: \"Invalid ABI specified\"" >&2; exit 1; } ;;
++esac
++if test -n "$abi" ; then
++ac_foo=krb_cv_gcc_`echo $abi | tr =- __`
++echo "configure:2981: checking if $CC supports the $abi option" >&5
++echo $ECHO_N "checking if $CC supports the $abi option... $ECHO_C" >&6
++if eval "test \"\${$ac_foo+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++
++save_CFLAGS="$CFLAGS"
++CFLAGS="$CFLAGS $abi"
++cat >conftest.$ac_ext <<_ACEOF
++#line 2990 "configure"
++#include "confdefs.h"
++
++int
++main ()
++{
++int x;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:3002: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++  eval $ac_foo=yes
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval $ac_foo=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++CFLAGS="$save_CFLAGS"
++
++fi
++
++ac_res=`eval echo \\\$$ac_foo`
++echo "configure:3015: result: $ac_res" >&5
++echo "${ECHO_T}$ac_res" >&6
++if test $ac_res = no; then
++# Try to figure out why that failed...
++case $abi in
++	-mabi=32)
++	save_CFLAGS="$CFLAGS"
++	CFLAGS="$CFLAGS -mabi=n32"
++	cat >conftest.$ac_ext <<_ACEOF
++#line 3024 "configure"
++#include "confdefs.h"
++
++int
++main ()
++{
++int x;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:3036: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++  ac_res=yes
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_res=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++	CLAGS="$save_CFLAGS"
++	if test $ac_res = yes; then
++		# New GCC
++		{ echo "configure: error: $CC does not support the $with_mips_abi ABI" >&2; exit 1; }
++	fi
++	# Old GCC
++	abi=''
++	abilibdirext=''
++	;;
++	-mabi=n32|-mabi=64)
++		if test $with_mips_abi = yes; then
++			# Old GCC, default to O32
++			abi=''
++			abilibdirext=''
++		else
++			# Some broken GCC
++			{ echo "configure: error: $CC does not support the $with_mips_abi ABI" >&2; exit 1; }
++		fi
++	;;
++esac
++fi #if test $ac_res = no; then
++fi #if test -n "$abi" ; then
++else
++case "${with_mips_abi}" in
++        32|o32) abi='-32'; abilibdirext=''     ;;
++       n32|yes) abi='-n32'; abilibdirext='32'  ;;
++        64) abi='-64'; abilibdirext='64'   ;;
++	no) abi=''; abilibdirext='';;
++         *) { echo "configure: error: \"Invalid ABI specified\"" >&2; exit 1; } ;;
++esac
++fi #if test -n "$GCC"; then
++;;
++esac
++
++CC="$CC $abi"
++libdir="$libdir$abilibdirext"
++
++echo "configure:3081: checking for __attribute__" >&5
++echo $ECHO_N "checking for __attribute__... $ECHO_C" >&6
++if test "${ac_cv___attribute__+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++
++cat >conftest.$ac_ext <<_ACEOF
++#line 3088 "configure"
++#include "confdefs.h"
++
++#include <stdlib.h>
++
++int
++main ()
++{
++
++static void foo(void) __attribute__ ((noreturn));
++
++static void
++foo(void)
++{
++  exit(1);
++}
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:3110: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++  ac_cv___attribute__=yes
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv___attribute__=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++
++if test "$ac_cv___attribute__" = "yes"; then
++
++cat >>confdefs.h <<\EOF
++#define HAVE___ATTRIBUTE__ 1
++EOF
++
++fi
++echo "configure:3127: result: $ac_cv___attribute__" >&5
++echo "${ECHO_T}$ac_cv___attribute__" >&6
++
++# Check whether --enable-shared or --disable-shared was given.
++if test "${enable_shared+set}" = set; then
++  enableval="$enable_shared"
++  p=${PACKAGE-default}
++case $enableval in
++yes) enable_shared=yes ;;
++no) enable_shared=no ;;
++*)
++  enable_shared=no
++  # Look at the argument we got.  We use all the common list separators.
++  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
++  for pkg in $enableval; do
++    if test "X$pkg" = "X$p"; then
++      enable_shared=yes
++    fi
++  done
++  IFS="$ac_save_ifs"
++  ;;
++esac
++else
++  enable_shared=no
++fi;
++# Check whether --enable-static or --disable-static was given.
++if test "${enable_static+set}" = set; then
++  enableval="$enable_static"
++  p=${PACKAGE-default}
++case $enableval in
++yes) enable_static=yes ;;
++no) enable_static=no ;;
++*)
++  enable_static=no
++  # Look at the argument we got.  We use all the common list separators.
++  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
++  for pkg in $enableval; do
++    if test "X$pkg" = "X$p"; then
++      enable_static=yes
++    fi
++  done
++  IFS="$ac_save_ifs"
++  ;;
++esac
++else
++  enable_static=yes
++fi;
++# Check whether --enable-fast-install or --disable-fast-install was given.
++if test "${enable_fast_install+set}" = set; then
++  enableval="$enable_fast_install"
++  p=${PACKAGE-default}
++case $enableval in
++yes) enable_fast_install=yes ;;
++no) enable_fast_install=no ;;
++*)
++  enable_fast_install=no
++  # Look at the argument we got.  We use all the common list separators.
++  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
++  for pkg in $enableval; do
++    if test "X$pkg" = "X$p"; then
++      enable_fast_install=yes
++    fi
++  done
++  IFS="$ac_save_ifs"
++  ;;
++esac
++else
++  enable_fast_install=yes
++fi;
++
++# Check whether --with-gnu-ld or --without-gnu-ld was given.
++if test "${with_gnu_ld+set}" = set; then
++  withval="$with_gnu_ld"
++  test "$withval" = no || with_gnu_ld=yes
++else
++  with_gnu_ld=no
++fi;
++ac_prog=ld
++if test "$GCC" = yes; then
++  # Check if gcc -print-prog-name=ld gives a path.
++  echo "configure:3207: checking for ld used by GCC" >&5
++echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
++  case $host in
++  *-*-mingw*)
++    # gcc leaves a trailing carriage return which upsets mingw
++    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
++  *)
++    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
++  esac
++  case $ac_prog in
++    # Accept absolute paths.
++    [\\/]* | [A-Za-z]:[\\/]*)
++      re_direlt='/[^/][^/]*/\.\./'
++      # Canonicalize the path of ld
++      ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
++      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
++	ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
++      done
++      test -z "$LD" && LD="$ac_prog"
++      ;;
++  "")
++    # If it fails, then pretend we aren't using GCC.
++    ac_prog=ld
++    ;;
++  *)
++    # If it is relative, then search for the first ld in PATH.
++    with_gnu_ld=unknown
++    ;;
++  esac
++elif test "$with_gnu_ld" = yes; then
++  echo "configure:3237: checking for GNU ld" >&5
++echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
++else
++  echo "configure:3240: checking for non-GNU ld" >&5
++echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
++fi
++if test "${lt_cv_path_LD+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -z "$LD"; then
++  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
++  for ac_dir in $PATH; do
++    test -z "$ac_dir" && ac_dir=.
++    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
++      lt_cv_path_LD="$ac_dir/$ac_prog"
++      # Check to see if the program is GNU ld.  I'd rather use --version,
++      # but apparently some GNU ld's only accept -v.
++      # Break only if it was the GNU/non-GNU ld that we prefer.
++      if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
++	test "$with_gnu_ld" != no && break
++      else
++	test "$with_gnu_ld" != yes && break
++      fi
++    fi
++  done
++  IFS="$ac_save_ifs"
++else
++  lt_cv_path_LD="$LD" # Let the user override the test with a path.
++fi
++fi
++
++LD="$lt_cv_path_LD"
++if test -n "$LD"; then
++  echo "configure:3270: result: $LD" >&5
++echo "${ECHO_T}$LD" >&6
++else
++  echo "configure:3273: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" >&2; exit 1; }
++echo "configure:3277: checking if the linker ($LD) is GNU ld" >&5
++echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
++if test "${lt_cv_prog_gnu_ld+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
++if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
++  lt_cv_prog_gnu_ld=yes
++else
++  lt_cv_prog_gnu_ld=no
++fi
++fi
++echo "configure:3289: result: $lt_cv_prog_gnu_ld" >&5
++echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
++with_gnu_ld=$lt_cv_prog_gnu_ld
++
++echo "configure:3293: checking for $LD option to reload object files" >&5
++echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
++if test "${lt_cv_ld_reload_flag+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  lt_cv_ld_reload_flag='-r'
++fi
++echo "configure:3300: result: $lt_cv_ld_reload_flag" >&5
++echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
++reload_flag=$lt_cv_ld_reload_flag
++test -n "$reload_flag" && reload_flag=" $reload_flag"
++
++echo "configure:3305: checking for BSD-compatible nm" >&5
++echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
++if test "${lt_cv_path_NM+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$NM"; then
++  # Let the user override the test.
++  lt_cv_path_NM="$NM"
++else
++  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
++  for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
++    test -z "$ac_dir" && ac_dir=.
++    tmp_nm=$ac_dir/${ac_tool_prefix}nm
++    if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
++      # Check to see if the nm accepts a BSD-compat flag.
++      # Adding the `sed 1q' prevents false positives on HP-UX, which says:
++      #   nm: unknown option "B" ignored
++      # Tru64's nm complains that /dev/null is an invalid object file
++      if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
++	lt_cv_path_NM="$tmp_nm -B"
++	break
++      elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
++	lt_cv_path_NM="$tmp_nm -p"
++	break
++      else
++	lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
++	continue # so that we can try to find one that supports BSD flags
++      fi
++    fi
++  done
++  IFS="$ac_save_ifs"
++  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
++fi
++fi
++
++NM="$lt_cv_path_NM"
++echo "configure:3341: result: $NM" >&5
++echo "${ECHO_T}$NM" >&6
++
++echo "configure:3344: checking whether ln -s works" >&5
++echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
++if test "${ac_cv_prog_LN_S+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  rm -f conftest.sym conftest.file
++echo >conftest.file
++if ln -s conftest.file conftest.sym 2>/dev/null; then
++  ac_cv_prog_LN_S="ln -s"
++elif ln conftest.file conftest.sym 2>/dev/null; then
++  ac_cv_prog_LN_S=ln
++else
++  ac_cv_prog_LN_S=cp
++fi
++rm -f conftest.sym conftest.file
++fi
++LN_S=$ac_cv_prog_LN_S
++
++if test "$ac_cv_prog_LN_S" = "ln -s"; then
++  echo "configure:3363: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++else
++  echo "configure:3366: result: no, using $LN_S" >&5
++echo "${ECHO_T}no, using $LN_S" >&6
++fi
++
++echo "configure:3370: checking how to recognise dependant libraries" >&5
++echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
++if test "${lt_cv_deplibs_check_method+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  lt_cv_file_magic_cmd='$MAGIC_CMD'
++lt_cv_file_magic_test_file=
++lt_cv_deplibs_check_method='unknown'
++# Need to set the preceding variable on all platforms that support
++# interlibrary dependencies.
++# 'none' -- dependencies not supported.
++# `unknown' -- same as none, but documents that we really don't know.
++# 'pass_all' -- all dependencies passed with no checks.
++# 'test_compile' -- check by making test program.
++# ['file_magic [regex]'] -- check by looking for files in library path
++# which responds to the $file_magic_cmd with a given egrep regex.
++# If you have `file' or equivalent on your system and you're not sure
++# whether `pass_all' will *always* work, you probably want this one.
++
++case $host_os in
++aix4* | aix5*)
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++
++beos*)
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++
++bsdi4*)
++  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
++  lt_cv_file_magic_cmd='/usr/bin/file -L'
++  lt_cv_file_magic_test_file=/shlib/libc.so
++  ;;
++
++cygwin* | mingw* | pw32*)
++  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
++  lt_cv_file_magic_cmd='$OBJDUMP -f'
++  ;;
++
++darwin* | rhapsody*)
++  lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
++  lt_cv_file_magic_cmd='/usr/bin/file -L'
++  case "$host_os" in
++  rhapsody* | darwin1.012)
++    lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1`
++    ;;
++  *) # Darwin 1.3 on
++    lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
++    ;;
++  esac
++  ;;
++
++freebsd*)
++  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
++    case $host_cpu in
++    i*86 )
++      # Not sure whether the presence of OpenBSD here was a mistake.
++      # Let's accept both of them until this is cleared up.
++      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
++      lt_cv_file_magic_cmd=/usr/bin/file
++      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
++      ;;
++    esac
++  else
++    lt_cv_deplibs_check_method=pass_all
++  fi
++  ;;
++
++gnu*)
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++
++hpux10.20*|hpux11*)
++  lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
++  lt_cv_file_magic_cmd=/usr/bin/file
++  lt_cv_file_magic_test_file=/usr/lib/libc.sl
++  ;;
++
++irix5* | irix6*)
++  case $host_os in
++  irix5*)
++    # this will be overridden with pass_all, but let us keep it just in case
++    lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
++    ;;
++  *)
++    case $LD in
++    *-32|*"-32 ") libmagic=32-bit;;
++    *-n32|*"-n32 ") libmagic=N32;;
++    *-64|*"-64 ") libmagic=64-bit;;
++    *) libmagic=never-match;;
++    esac
++    # this will be overridden with pass_all, but let us keep it just in case
++    lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
++    ;;
++  esac
++  lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++
++# This must be Linux ELF.
++linux-gnu*)
++  case $host_cpu in
++  alpha* | i*86 | powerpc* | sparc* | ia64* )
++    lt_cv_deplibs_check_method=pass_all ;;
++  *)
++    # glibc up to 2.1.1 does not perform some relocations on ARM
++    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
++  esac
++  lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
++  ;;
++
++netbsd*)
++  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
++    lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
++  else
++    lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
++  fi
++  ;;
++
++newos6*)
++  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
++  lt_cv_file_magic_cmd=/usr/bin/file
++  lt_cv_file_magic_test_file=/usr/lib/libnls.so
++  ;;
++
++osf3* | osf4* | osf5*)
++  # this will be overridden with pass_all, but let us keep it just in case
++  lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
++  lt_cv_file_magic_test_file=/shlib/libc.so
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++
++sco3.2v5*)
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++
++solaris*)
++  lt_cv_deplibs_check_method=pass_all
++  lt_cv_file_magic_test_file=/lib/libc.so
++  ;;
++
++sysv5uw[78]* | sysv4*uw2*)
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++
++sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
++  case $host_vendor in
++  motorola)
++    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
++    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
++    ;;
++  ncr)
++    lt_cv_deplibs_check_method=pass_all
++    ;;
++  sequent)
++    lt_cv_file_magic_cmd='/bin/file'
++    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
++    ;;
++  sni)
++    lt_cv_file_magic_cmd='/bin/file'
++    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
++    lt_cv_file_magic_test_file=/lib/libc.so
++    ;;
++  esac
++  ;;
++esac
++
++fi
++echo "configure:3538: result: $lt_cv_deplibs_check_method" >&5
++echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
++file_magic_cmd=$lt_cv_file_magic_cmd
++deplibs_check_method=$lt_cv_deplibs_check_method
++
++# Check for command to grab the raw symbol name followed by C symbol from nm.
++echo "configure:3544: checking command to parse $NM output" >&5
++echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6
++if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++
++# These are sane defaults that work on at least a few old systems.
++# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
++
++# Character class describing NM global symbol codes.
++symcode='[BCDEGRST]'
++
++# Regexp to match symbols that can be accessed directly from C.
++sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
++
++# Transform the above into a raw symbol and a C symbol.
++symxfrm='\1 \2\3 \3'
++
++# Transform an extracted symbol line into a proper C declaration
++lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'"
++
++# Define system-specific variables.
++case $host_os in
++aix*)
++  symcode='[BCDT]'
++  ;;
++cygwin* | mingw* | pw32*)
++  symcode='[ABCDGISTW]'
++  ;;
++hpux*) # Its linker distinguishes data from code symbols
++  lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
++  ;;
++irix*)
++  symcode='[BCDEGRST]'
++  ;;
++solaris* | sysv5*)
++  symcode='[BDT]'
++  ;;
++sysv4)
++  symcode='[DFNSTU]'
++  ;;
++esac
++
++# Handle CRLF in mingw tool chain
++opt_cr=
++case $host_os in
++mingw*)
++  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
++  ;;
++esac
++
++# If we're using GNU nm, then use its standard symbol codes.
++if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then
++  symcode='[ABCDGISTW]'
++fi
++
++# Try without a prefix undercore, then with it.
++for ac_symprfx in "" "_"; do
++
++  # Write the raw and C identifiers.
++lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
++
++  # Check to see that the pipe works correctly.
++  pipe_works=no
++  rm -f conftest*
++  cat > conftest.$ac_ext <<EOF
++#ifdef __cplusplus
++extern "C" {
++#endif
++char nm_test_var;
++void nm_test_func(){}
++#ifdef __cplusplus
++}
++#endif
++int main(){nm_test_var='a';nm_test_func();return(0);}
++EOF
++
++  if { (eval echo configure:3621: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++    # Now try to grab the symbols.
++    nlist=conftest.nm
++    if { (eval echo configure:3624: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\") >&5; (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5; } && test -s "$nlist"; then
++      # Try sorting and uniquifying the output.
++      if sort "$nlist" | uniq > "$nlist"T; then
++	mv -f "$nlist"T "$nlist"
++      else
++	rm -f "$nlist"T
++      fi
++
++      # Make sure that we snagged all the symbols we need.
++      if egrep ' nm_test_var$' "$nlist" >/dev/null; then
++	if egrep ' nm_test_func$' "$nlist" >/dev/null; then
++	  cat <<EOF > conftest.$ac_ext
++#ifdef __cplusplus
++extern "C" {
++#endif
++
++EOF
++	  # Now generate the symbol file.
++	  eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext'
++
++	  cat <<EOF >> conftest.$ac_ext
++#if defined (__STDC__) && __STDC__
++# define lt_ptr_t void *
++#else
++# define lt_ptr_t char *
++# define const
++#endif
++
++/* The mapping between symbol names and symbols. */
++const struct {
++  const char *name;
++  lt_ptr_t address;
++}
++lt_preloaded_symbols[] =
++{
++EOF
++	  sed "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" >> conftest.$ac_ext
++	  cat <<\EOF >> conftest.$ac_ext
++  {0, (lt_ptr_t) 0}
++};
++
++#ifdef __cplusplus
++}
++#endif
++EOF
++	  # Now try linking the two files.
++	  mv conftest.$ac_objext conftstm.$ac_objext
++	  save_LIBS="$LIBS"
++	  save_CFLAGS="$CFLAGS"
++	  LIBS="conftstm.$ac_objext"
++	  CFLAGS="$CFLAGS$no_builtin_flag"
++	  if { (eval echo configure:3675: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest; then
++	    pipe_works=yes
++	  fi
++	  LIBS="$save_LIBS"
++	  CFLAGS="$save_CFLAGS"
++	else
++	  echo "cannot find nm_test_func in $nlist" >&5
++	fi
++      else
++	echo "cannot find nm_test_var in $nlist" >&5
++      fi
++    else
++      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
++    fi
++  else
++    echo "$progname: failed program was:" >&5
++    cat conftest.$ac_ext >&5
++  fi
++  rm -f conftest* conftst*
++
++  # Do not use the global_symbol_pipe unless it works.
++  if test "$pipe_works" = yes; then
++    break
++  else
++    lt_cv_sys_global_symbol_pipe=
++  fi
++done
++
++fi
++
++global_symbol_pipe="$lt_cv_sys_global_symbol_pipe"
++if test -z "$lt_cv_sys_global_symbol_pipe"; then
++  global_symbol_to_cdecl=
++else
++  global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl"
++fi
++if test -z "$global_symbol_pipe$global_symbol_to_cdecl"; then
++  echo "configure:3712: result: failed" >&5
++echo "${ECHO_T}failed" >&6
++else
++  echo "configure:3715: result: ok" >&5
++echo "${ECHO_T}ok" >&6
++fi
++
++for ac_header in dlfcn.h
++do
++ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
++
++echo "configure:3723: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$ac_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  # The minimal lex program is just a single line: %%.  But some broken lexes
+-# (Solaris, I think it was) want two %% lines, so accommodate them.
+-echo '%%
+-%%' | $LEX
+-if test -f lex.yy.c; then
+-  ac_cv_prog_lex_root=lex.yy
+-elif test -f lexyy.c; then
+-  ac_cv_prog_lex_root=lexyy
++  cat >conftest.$ac_ext <<_ACEOF
++#line 3729 "configure"
++#include "confdefs.h"
++#include <$ac_header>
++
++_ACEOF
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:3735: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++
++if test -z "$ac_cpp_err"; then
++  eval "$ac_ac_Header=yes"
+ else
+-  { { echo "$as_me:2638: error: cannot find output from $LEX; giving up" >&5
+-echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
+-   { (exit 1); exit 1; }; }
++  cat conftest.err >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_Header=no"
+ fi
++rm -f conftest*
++
+ fi
+-echo "$as_me:2643: result: $ac_cv_prog_lex_root" >&5
+-echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
+-LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
++echo "configure:3756: result: `eval echo '${'$ac_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
++if test `eval echo '${'$ac_ac_Header'}'` = yes; then
++  cat >>confdefs.h <<EOF
++#define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
++EOF
+ 
+-echo "$as_me:2647: checking whether yytext is a pointer" >&5
+-echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
+-if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
++fi
++done
++
++# Only perform the check for file, if the check method requires it
++case $deplibs_check_method in
++file_magic*)
++  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
++    echo "configure:3770: checking for ${ac_tool_prefix}file" >&5
++echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
++if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  # POSIX says lex can declare yytext either as a pointer or an array; the
+-# default is implementation-dependent. Figure out which it is, since
+-# not all implementations provide the %pointer and %array declarations.
+-ac_cv_prog_lex_yytext_pointer=no
+-echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
+-ac_save_LIBS=$LIBS
+-LIBS="$LIBS $LEXLIB"
+-cat >conftest.$ac_ext <<_ACEOF
+-`cat $LEX_OUTPUT_ROOT.c`
+-_ACEOF
+-rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:2663: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:2666: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:2668: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:2671: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  ac_cv_prog_lex_yytext_pointer=yes
++  case $MAGIC_CMD in
++  /*)
++  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
++  ;;
++  ?:/*)
++  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
++  ;;
++  *)
++  ac_save_MAGIC_CMD="$MAGIC_CMD"
++  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
++  ac_dummy="/usr/bin:$PATH"
++  for ac_dir in $ac_dummy; do
++    test -z "$ac_dir" && ac_dir=.
++    if test -f $ac_dir/${ac_tool_prefix}file; then
++      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
++      if test -n "$file_magic_test_file"; then
++	case $deplibs_check_method in
++	"file_magic "*)
++	  file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
++	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
++	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
++	    egrep "$file_magic_regex" > /dev/null; then
++	    :
++	  else
++	    cat <<EOF 1>&2
++
++*** Warning: the command libtool uses to detect shared libraries,
++*** $file_magic_cmd, produces output that libtool cannot recognize.
++*** The result is that libtool may fail to recognize shared libraries
++*** as such.  This will affect the creation of libtool libraries that
++*** depend on shared libraries, but programs linked with such libtool
++*** libraries will work regardless of this problem.  Nevertheless, you
++*** may want to report the problem to your system manager and/or to
++*** bug-libtool@gnu.org
++
++EOF
++	  fi ;;
++	esac
++      fi
++      break
++    fi
++  done
++  IFS="$ac_save_ifs"
++  MAGIC_CMD="$ac_save_MAGIC_CMD"
++  ;;
++esac
++fi
++
++MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
++if test -n "$MAGIC_CMD"; then
++  echo "configure:3825: result: $MAGIC_CMD" >&5
++echo "${ECHO_T}$MAGIC_CMD" >&6
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure:3828: result: no" >&5
++echo "${ECHO_T}no" >&6
+ fi
+-rm -f conftest$ac_exeext conftest.$ac_ext
+-LIBS=$ac_save_LIBS
+-rm -f "${LEX_OUTPUT_ROOT}.c"
+ 
+-fi
+-echo "$as_me:2683: result: $ac_cv_prog_lex_yytext_pointer" >&5
+-echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
+-if test $ac_cv_prog_lex_yytext_pointer = yes; then
++if test -z "$lt_cv_path_MAGIC_CMD"; then
++  if test -n "$ac_tool_prefix"; then
++    echo "configure:3834: checking for file" >&5
++echo $ECHO_N "checking for file... $ECHO_C" >&6
++if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  case $MAGIC_CMD in
++  /*)
++  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
++  ;;
++  ?:/*)
++  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
++  ;;
++  *)
++  ac_save_MAGIC_CMD="$MAGIC_CMD"
++  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
++  ac_dummy="/usr/bin:$PATH"
++  for ac_dir in $ac_dummy; do
++    test -z "$ac_dir" && ac_dir=.
++    if test -f $ac_dir/file; then
++      lt_cv_path_MAGIC_CMD="$ac_dir/file"
++      if test -n "$file_magic_test_file"; then
++	case $deplibs_check_method in
++	"file_magic "*)
++	  file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
++	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
++	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
++	    egrep "$file_magic_regex" > /dev/null; then
++	    :
++	  else
++	    cat <<EOF 1>&2
++
++*** Warning: the command libtool uses to detect shared libraries,
++*** $file_magic_cmd, produces output that libtool cannot recognize.
++*** The result is that libtool may fail to recognize shared libraries
++*** as such.  This will affect the creation of libtool libraries that
++*** depend on shared libraries, but programs linked with such libtool
++*** libraries will work regardless of this problem.  Nevertheless, you
++*** may want to report the problem to your system manager and/or to
++*** bug-libtool@gnu.org
+ 
+-cat >>confdefs.h <<\EOF
+-#define YYTEXT_POINTER 1
+ EOF
++	  fi ;;
++	esac
++      fi
++      break
++    fi
++  done
++  IFS="$ac_save_ifs"
++  MAGIC_CMD="$ac_save_MAGIC_CMD"
++  ;;
++esac
++fi
+ 
++MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
++if test -n "$MAGIC_CMD"; then
++  echo "configure:3889: result: $MAGIC_CMD" >&5
++echo "${ECHO_T}$MAGIC_CMD" >&6
++else
++  echo "configure:3892: result: no" >&5
++echo "${ECHO_T}no" >&6
+ fi
+ 
++  else
++    MAGIC_CMD=:
++  fi
+ fi
+ 
++  fi
++  ;;
++esac
++
+ if test -n "$ac_tool_prefix"; then
+   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
+ set dummy ${ac_tool_prefix}ranlib; ac_word=$2
+-echo "$as_me:2698: checking for $ac_word" >&5
++echo "configure:3908: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_RANLIB+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -2708,7 +3918,7 @@
+ for ac_dir in $ac_dummy; do
+   IFS=$ac_save_IFS
+   test -z "$ac_dir" && ac_dir=.
+-  $as_executable_p "$ac_dir/$ac_word" || continue
++  test -f "$ac_dir/$ac_word" || continue
+ ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
+ break
+ done
+@@ -2717,10 +3927,10 @@
+ fi
+ RANLIB=$ac_cv_prog_RANLIB
+ if test -n "$RANLIB"; then
+-  echo "$as_me:2720: result: $RANLIB" >&5
++  echo "configure:3930: result: $RANLIB" >&5
+ echo "${ECHO_T}$RANLIB" >&6
+ else
+-  echo "$as_me:2723: result: no" >&5
++  echo "configure:3933: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+@@ -2729,7 +3939,7 @@
+   ac_ct_RANLIB=$RANLIB
+   # Extract the first word of "ranlib", so it can be a program name with args.
+ set dummy ranlib; ac_word=$2
+-echo "$as_me:2732: checking for $ac_word" >&5
++echo "configure:3942: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -2742,7 +3952,7 @@
+ for ac_dir in $ac_dummy; do
+   IFS=$ac_save_IFS
+   test -z "$ac_dir" && ac_dir=.
+-  $as_executable_p "$ac_dir/$ac_word" || continue
++  test -f "$ac_dir/$ac_word" || continue
+ ac_cv_prog_ac_ct_RANLIB="ranlib"
+ break
+ done
+@@ -2752,1152 +3962,2868 @@
+ fi
+ ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
+ if test -n "$ac_ct_RANLIB"; then
+-  echo "$as_me:2755: result: $ac_ct_RANLIB" >&5
++  echo "configure:3965: result: $ac_ct_RANLIB" >&5
+ echo "${ECHO_T}$ac_ct_RANLIB" >&6
+ else
+-  echo "$as_me:2758: result: no" >&5
++  echo "configure:3968: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+   RANLIB=$ac_ct_RANLIB
++fi
++
++if test -n "$ac_tool_prefix"; then
++  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
++set dummy ${ac_tool_prefix}strip; ac_word=$2
++echo "configure:3978: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_STRIP+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$STRIP"; then
++  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
++else
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
++  IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_STRIP="${ac_tool_prefix}strip"
++break
++done
++
++fi
++fi
++STRIP=$ac_cv_prog_STRIP
++if test -n "$STRIP"; then
++  echo "configure:4000: result: $STRIP" >&5
++echo "${ECHO_T}$STRIP" >&6
+ else
+-  RANLIB="$ac_cv_prog_RANLIB"
++  echo "configure:4003: result: no" >&5
++echo "${ECHO_T}no" >&6
+ fi
+ 
+-for ac_prog in mawk gawk nawk awk
+-do
+-  # Extract the first word of "$ac_prog", so it can be a program name with args.
+-set dummy $ac_prog; ac_word=$2
+-echo "$as_me:2771: checking for $ac_word" >&5
++fi
++if test -z "$ac_cv_prog_STRIP"; then
++  ac_ct_STRIP=$STRIP
++  # Extract the first word of "strip", so it can be a program name with args.
++set dummy strip; ac_word=$2
++echo "configure:4012: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+-if test "${ac_cv_prog_AWK+set}" = set; then
++if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  if test -n "$AWK"; then
+-  ac_cv_prog_AWK="$AWK" # Let the user override the test.
++  if test -n "$ac_ct_STRIP"; then
++  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
+ else
+   ac_save_IFS=$IFS; IFS=':'
+ ac_dummy="$PATH"
+ for ac_dir in $ac_dummy; do
+   IFS=$ac_save_IFS
+   test -z "$ac_dir" && ac_dir=.
+-  $as_executable_p "$ac_dir/$ac_word" || continue
+-ac_cv_prog_AWK="$ac_prog"
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_ac_ct_STRIP="strip"
+ break
+ done
+ 
++  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
++fi
++fi
++ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
++if test -n "$ac_ct_STRIP"; then
++  echo "configure:4035: result: $ac_ct_STRIP" >&5
++echo "${ECHO_T}$ac_ct_STRIP" >&6
++else
++  echo "configure:4038: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  STRIP=$ac_ct_STRIP
++fi
++
++enable_dlopen=no
++enable_win32_dll=no
++
++# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
++if test "${enable_libtool_lock+set}" = set; then
++  enableval="$enable_libtool_lock"
++
++fi;
++test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
++
++# Some flags need to be propagated to the compiler or linker for good
++# libtool support.
++case $host in
++*-*-irix6*)
++  # Find out which ABI we are using.
++  echo '#line 4060 "configure"' > conftest.$ac_ext
++  if { (eval echo configure:4061: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++    case `/usr/bin/file conftest.$ac_objext` in
++    *32-bit*)
++      LD="${LD-ld} -32"
++      ;;
++    *N32*)
++      LD="${LD-ld} -n32"
++      ;;
++    *64-bit*)
++      LD="${LD-ld} -64"
++      ;;
++    esac
++  fi
++  rm -rf conftest*
++  ;;
++
++*-*-sco3.2v5*)
++  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
++  SAVE_CFLAGS="$CFLAGS"
++  CFLAGS="$CFLAGS -belf"
++  echo "configure:4081: checking whether the C compiler needs -belf" >&5
++echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
++if test "${lt_cv_cc_needs_belf+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++
++     ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='${CC-cc} -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++     cat >conftest.$ac_ext <<_ACEOF
++#line 4094 "configure"
++#include "confdefs.h"
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:4106: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  lt_cv_cc_needs_belf=yes
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  lt_cv_cc_needs_belf=no
++fi
++rm -f conftest$ac_exeext conftest.$ac_ext
++     ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='${CC-cc} -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++fi
++echo "configure:4121: result: $lt_cv_cc_needs_belf" >&5
++echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
++  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
++    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
++    CFLAGS="$SAVE_CFLAGS"
++  fi
++  ;;
++
++esac
++
++# Sed substitution that helps us do robust quoting.  It backslashifies
++# metacharacters that are still active within double-quoted strings.
++Xsed='sed -e s/^X//'
++sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
++
++# Same as above, but do not quote variable references.
++double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
++
++# Sed substitution to delay expansion of an escaped shell variable in a
++# double_quote_subst'ed string.
++delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
++
++# Constants:
++rm="rm -f"
++
++# Global variables:
++default_ofile=libtool
++can_build_shared=yes
++
++# All known linkers require a `.a' archive for static linking (except M$VC,
++# which needs '.lib').
++libext=a
++ltmain="$ac_aux_dir/ltmain.sh"
++ofile="$default_ofile"
++with_gnu_ld="$lt_cv_prog_gnu_ld"
++need_locks="$enable_libtool_lock"
++
++old_CC="$CC"
++old_CFLAGS="$CFLAGS"
++
++# Set sane defaults for various variables
++test -z "$AR" && AR=ar
++test -z "$AR_FLAGS" && AR_FLAGS=cru
++test -z "$AS" && AS=as
++test -z "$CC" && CC=cc
++test -z "$DLLTOOL" && DLLTOOL=dlltool
++test -z "$LD" && LD=ld
++test -z "$LN_S" && LN_S="ln -s"
++test -z "$MAGIC_CMD" && MAGIC_CMD=file
++test -z "$NM" && NM=nm
++test -z "$OBJDUMP" && OBJDUMP=objdump
++test -z "$RANLIB" && RANLIB=:
++test -z "$STRIP" && STRIP=:
++test -z "$ac_objext" && ac_objext=o
++
++if test x"$host" != x"$build"; then
++  ac_tool_prefix=${host_alias}-
++else
++  ac_tool_prefix=
++fi
++
++# Transform linux* to *-*-linux-gnu*, to support old configure scripts.
++case $host_os in
++linux-gnu*) ;;
++linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
++esac
++
++case $host_os in
++aix3*)
++  # AIX sometimes has problems with the GCC collect2 program.  For some
++  # reason, if we set the COLLECT_NAMES environment variable, the problems
++  # vanish in a puff of smoke.
++  if test "X${COLLECT_NAMES+set}" != Xset; then
++    COLLECT_NAMES=
++    export COLLECT_NAMES
++  fi
++  ;;
++esac
++
++# Determine commands to create old-style static archives.
++old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
++old_postinstall_cmds='chmod 644 $oldlib'
++old_postuninstall_cmds=
++
++if test -n "$RANLIB"; then
++  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
++  old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
++fi
++
++# Allow CC to be a program name with arguments.
++set dummy $CC
++compiler="$2"
++
++echo "configure:4214: checking for objdir" >&5
++echo $ECHO_N "checking for objdir... $ECHO_C" >&6
++rm -f .libs 2>/dev/null
++mkdir .libs 2>/dev/null
++if test -d .libs; then
++  objdir=.libs
++else
++  # MS-DOS does not allow filenames that begin with a dot.
++  objdir=_libs
++fi
++rmdir .libs 2>/dev/null
++echo "configure:4225: result: $objdir" >&5
++echo "${ECHO_T}$objdir" >&6
++
++# Check whether --with-pic or --without-pic was given.
++if test "${with_pic+set}" = set; then
++  withval="$with_pic"
++  pic_mode="$withval"
++else
++  pic_mode=default
++fi;
++test -z "$pic_mode" && pic_mode=default
++
++# We assume here that the value for lt_cv_prog_cc_pic will not be cached
++# in isolation, and that seeing it set (from the cache) indicates that
++# the associated values are set (in the cache) correctly too.
++echo "configure:4240: checking for $compiler option to produce PIC" >&5
++echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
++if test "${lt_cv_prog_cc_pic+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++   lt_cv_prog_cc_pic=
++  lt_cv_prog_cc_shlib=
++  lt_cv_prog_cc_wl=
++  lt_cv_prog_cc_static=
++  lt_cv_prog_cc_no_builtin=
++  lt_cv_prog_cc_can_build_shared=$can_build_shared
++
++  if test "$GCC" = yes; then
++    lt_cv_prog_cc_wl='-Wl,'
++    lt_cv_prog_cc_static='-static'
++
++    case $host_os in
++    aix*)
++      # Below there is a dirty hack to force normal static linking with -ldl
++      # The problem is because libdl dynamically linked with both libc and
++      # libC (AIX C++ library), which obviously doesn't included in libraries
++      # list by gcc. This cause undefined symbols with -static flags.
++      # This hack allows C programs to be linked with "-static -ldl", but
++      # we not sure about C++ programs.
++      lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC"
++      ;;
++    amigaos*)
++      # FIXME: we need at least 68020 code to build shared libraries, but
++      # adding the `-m68020' flag to GCC prevents building anything better,
++      # like `-m68040'.
++      lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4'
++      ;;
++    beos* | irix5* | irix6* | osf3* | osf4* | osf5*)
++      # PIC is the default for these OSes.
++      ;;
++    darwin* | rhapsody*)
++      # PIC is the default on this platform
++      # Common symbols not allowed in MH_DYLIB files
++      lt_cv_prog_cc_pic='-fno-common'
++      ;;
++    cygwin* | mingw* | pw32* | os2*)
++      # This hack is so that the source file can tell whether it is being
++      # built for inclusion in a dll (and should export symbols for example).
++      lt_cv_prog_cc_pic='-DDLL_EXPORT'
++      ;;
++    sysv4*MP*)
++      if test -d /usr/nec; then
++	 lt_cv_prog_cc_pic=-Kconform_pic
++      fi
++      ;;
++    *)
++      lt_cv_prog_cc_pic='-fPIC'
++      ;;
++    esac
++  else
++    # PORTME Check for PIC flags for the system compiler.
++    case $host_os in
++    aix3* | aix4* | aix5*)
++      # All AIX code is PIC.
++      if test "$host_cpu" = ia64; then
++        # AIX 5 now supports IA64 processor
++        lt_cv_prog_cc_static='-Bstatic'
++        lt_cv_prog_cc_wl='-Wl,'
++      else
++        lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp'
++      fi
++      ;;
++
++    hpux9* | hpux10* | hpux11*)
++      # Is there a better lt_cv_prog_cc_static that works with the bundled CC?
++      lt_cv_prog_cc_wl='-Wl,'
++      lt_cv_prog_cc_static="${lt_cv_prog_cc_wl}-a ${lt_cv_prog_cc_wl}archive"
++      lt_cv_prog_cc_pic='+Z'
++      ;;
++
++    irix5* | irix6*)
++      lt_cv_prog_cc_wl='-Wl,'
++      lt_cv_prog_cc_static='-non_shared'
++      # PIC (with -KPIC) is the default.
++      ;;
++
++    cygwin* | mingw* | pw32* | os2*)
++      # This hack is so that the source file can tell whether it is being
++      # built for inclusion in a dll (and should export symbols for example).
++      lt_cv_prog_cc_pic='-DDLL_EXPORT'
++      ;;
++
++    newsos6)
++      lt_cv_prog_cc_pic='-KPIC'
++      lt_cv_prog_cc_static='-Bstatic'
++      ;;
++
++    osf3* | osf4* | osf5*)
++      # All OSF/1 code is PIC.
++      lt_cv_prog_cc_wl='-Wl,'
++      lt_cv_prog_cc_static='-non_shared'
++      ;;
++
++    sco3.2v5*)
++      lt_cv_prog_cc_pic='-Kpic'
++      lt_cv_prog_cc_static='-dn'
++      lt_cv_prog_cc_shlib='-belf'
++      ;;
++
++    solaris*)
++      lt_cv_prog_cc_pic='-KPIC'
++      lt_cv_prog_cc_static='-Bstatic'
++      lt_cv_prog_cc_wl='-Wl,'
++      ;;
++
++    sunos4*)
++      lt_cv_prog_cc_pic='-PIC'
++      lt_cv_prog_cc_static='-Bstatic'
++      lt_cv_prog_cc_wl='-Qoption ld '
++      ;;
++
++    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
++      lt_cv_prog_cc_pic='-KPIC'
++      lt_cv_prog_cc_static='-Bstatic'
++      if test "x$host_vendor" = xsni; then
++        lt_cv_prog_cc_wl='-LD'
++      else
++        lt_cv_prog_cc_wl='-Wl,'
++      fi
++      ;;
++
++    uts4*)
++      lt_cv_prog_cc_pic='-pic'
++      lt_cv_prog_cc_static='-Bstatic'
++      ;;
++
++    sysv4*MP*)
++      if test -d /usr/nec ;then
++	lt_cv_prog_cc_pic='-Kconform_pic'
++	lt_cv_prog_cc_static='-Bstatic'
++      fi
++      ;;
++
++    *)
++      lt_cv_prog_cc_can_build_shared=no
++      ;;
++    esac
++  fi
++
++fi
++
++if test -z "$lt_cv_prog_cc_pic"; then
++  echo "configure:4387: result: none" >&5
++echo "${ECHO_T}none" >&6
++else
++  echo "configure:4390: result: $lt_cv_prog_cc_pic" >&5
++echo "${ECHO_T}$lt_cv_prog_cc_pic" >&6
++
++  # Check to make sure the pic_flag actually works.
++  echo "configure:4394: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5
++echo $ECHO_N "checking if $compiler PIC flag $lt_cv_prog_cc_pic works... $ECHO_C" >&6
++  if test "${lt_cv_prog_cc_pic_works+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++      save_CFLAGS="$CFLAGS"
++    CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"
++    cat >conftest.$ac_ext <<_ACEOF
++#line 4402 "configure"
++#include "confdefs.h"
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:4414: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++        case $host_os in
++      hpux9* | hpux10* | hpux11*)
++	# On HP-UX, both CC and GCC only warn that PIC is supported... then
++	# they create non-PIC objects.  So, if there were any warnings, we
++	# assume that PIC is not supported.
++	if test -s conftest.err; then
++	  lt_cv_prog_cc_pic_works=no
++	else
++	  lt_cv_prog_cc_pic_works=yes
++	fi
++	;;
++      *)
++	lt_cv_prog_cc_pic_works=yes
++	;;
++      esac
++
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++        lt_cv_prog_cc_pic_works=no
++
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++    CFLAGS="$save_CFLAGS"
++
+ fi
+-fi
+-AWK=$ac_cv_prog_AWK
+-if test -n "$AWK"; then
+-  echo "$as_me:2793: result: $AWK" >&5
+-echo "${ECHO_T}$AWK" >&6
+-else
+-  echo "$as_me:2796: result: no" >&5
+-echo "${ECHO_T}no" >&6
++
++  if test "X$lt_cv_prog_cc_pic_works" = Xno; then
++    lt_cv_prog_cc_pic=
++    lt_cv_prog_cc_can_build_shared=no
++  else
++    lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic"
++  fi
++
++  echo "configure:4449: result: $lt_cv_prog_cc_pic_works" >&5
++echo "${ECHO_T}$lt_cv_prog_cc_pic_works" >&6
+ fi
+ 
+-  test -n "$AWK" && break
+-done
++# Check for any special shared library compilation flags.
++if test -n "$lt_cv_prog_cc_shlib"; then
++  echo "configure: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&2
++  if echo "$old_CC $old_CFLAGS " | egrep -e "[ 	]$lt_cv_prog_cc_shlib[ 	]" >/dev/null; then :
++  else
++   echo "configure: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2
++    lt_cv_prog_cc_can_build_shared=no
++  fi
++fi
+ 
+-echo "$as_me:2803: checking for ln -s or something else" >&5
+-echo $ECHO_N "checking for ln -s or something else... $ECHO_C" >&6
+-if test "${ac_cv_prog_LN_S+set}" = set; then
++echo "configure:4463: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5
++echo $ECHO_N "checking if $compiler static flag $lt_cv_prog_cc_static works... $ECHO_C" >&6
++if test "${lt_cv_prog_cc_static_works+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  rm -f conftestdata
+-if ln -s X conftestdata 2>/dev/null
+-then
+-  rm -f conftestdata
+-  ac_cv_prog_LN_S="ln -s"
++    lt_cv_prog_cc_static_works=no
++  save_LDFLAGS="$LDFLAGS"
++  LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 4472 "configure"
++#include "confdefs.h"
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:4484: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  lt_cv_prog_cc_static_works=yes
+ else
+-  touch conftestdata1
+-  if ln conftestdata1 conftestdata2; then
+-    rm -f conftestdata*
+-    ac_cv_prog_LN_S=ln
+-  else
+-    ac_cv_prog_LN_S=cp
+-  fi
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
++rm -f conftest$ac_exeext conftest.$ac_ext
++  LDFLAGS="$save_LDFLAGS"
++
+ fi
+-LN_S="$ac_cv_prog_LN_S"
+-echo "$as_me:2824: result: $ac_cv_prog_LN_S" >&5
+-echo "${ECHO_T}$ac_cv_prog_LN_S" >&6
+ 
+-# Check whether --with-mips_abi or --without-mips_abi was given.
+-if test "${with_mips_abi+set}" = set; then
+-  withval="$with_mips_abi"
++# Belt *and* braces to stop my trousers falling down:
++test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static=
++echo "configure:4497: result: $lt_cv_prog_cc_static_works" >&5
++echo "${ECHO_T}$lt_cv_prog_cc_static_works" >&6
++
++pic_flag="$lt_cv_prog_cc_pic"
++special_shlib_compile_flags="$lt_cv_prog_cc_shlib"
++wl="$lt_cv_prog_cc_wl"
++link_static_flag="$lt_cv_prog_cc_static"
++no_builtin_flag="$lt_cv_prog_cc_no_builtin"
++can_build_shared="$lt_cv_prog_cc_can_build_shared"
++
++# Check to see if options -o and -c are simultaneously supported by compiler
++echo "configure:4508: checking if $compiler supports -c -o file.$ac_objext" >&5
++echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
++if test "${lt_cv_compiler_c_o+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
+ 
+-fi;
++$rm -r conftest 2>/dev/null
++mkdir conftest
++cd conftest
++echo "int some_variable = 0;" > conftest.$ac_ext
++mkdir out
++# According to Tom Tromey, Ian Lance Taylor reported there are C compilers
++# that will create temporary files in the current directory regardless of
++# the output directory.  Thus, making CWD read-only will cause this test
++# to fail, enabling locking or at least warning the user not to do parallel
++# builds.
++chmod -w .
++save_CFLAGS="$CFLAGS"
++CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
++compiler_c_o=no
++if { (eval echo configure:4528: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
++  # The compiler can only warn and ignore the option if not recognized
++  # So say no if there are warnings
++  if test -s out/conftest.err; then
++    lt_cv_compiler_c_o=no
++  else
++    lt_cv_compiler_c_o=yes
++  fi
++else
++  # Append any errors to the config.log.
++  cat out/conftest.err 1>&5
++  lt_cv_compiler_c_o=no
++fi
++CFLAGS="$save_CFLAGS"
++chmod u+w .
++$rm conftest* out/*
++rmdir out
++cd ..
++rmdir conftest
++$rm -r conftest 2>/dev/null
+ 
+-case "$host_os" in
+-irix*)
+-with_mips_abi="${with_mips_abi:-yes}"
+-if test -n "$GCC"; then
++fi
+ 
+-# GCC < 2.8 only supports the O32 ABI. GCC >= 2.8 has a flag to select
+-# which ABI to use, but only supports (as of 2.8.1) the N32 and 64 ABIs.
+-#
+-# Default to N32, but if GCC doesn't grok -mabi=n32, we assume an old
+-# GCC and revert back to O32. The same goes if O32 is asked for - old
+-# GCCs doesn't like the -mabi option, and new GCCs can't output O32.
+-#
+-# Don't you just love *all* the different SGI ABIs?
++compiler_c_o=$lt_cv_compiler_c_o
++echo "configure:4552: result: $compiler_c_o" >&5
++echo "${ECHO_T}$compiler_c_o" >&6
+ 
+-case "${with_mips_abi}" in
+-        32|o32) abi='-mabi=32';  abilibdirext=''     ;;
+-       n32|yes) abi='-mabi=n32'; abilibdirext='32'  ;;
+-        64) abi='-mabi=64';  abilibdirext='64'   ;;
+-	no) abi=''; abilibdirext='';;
+-         *) { { echo "$as_me:2852: error: \"Invalid ABI specified\"" >&5
+-echo "$as_me: error: \"Invalid ABI specified\"" >&2;}
+-   { (exit 1); exit 1; }; } ;;
+-esac
+-if test -n "$abi" ; then
+-ac_foo=krb_cv_gcc_`echo $abi | tr =- __`
+-echo "$as_me:2858: checking if $CC supports the $abi option" >&5
+-echo $ECHO_N "checking if $CC supports the $abi option... $ECHO_C" >&6
+-if eval "test \"\${$ac_foo+set}\" = set"; then
++if test x"$compiler_c_o" = x"yes"; then
++  # Check to see if we can write to a .lo
++  echo "configure:4557: checking if $compiler supports -c -o file.lo" >&5
++echo $ECHO_N "checking if $compiler supports -c -o file.lo... $ECHO_C" >&6
++  if test "${lt_cv_compiler_o_lo+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-save_CFLAGS="$CFLAGS"
+-CFLAGS="$CFLAGS $abi"
+-cat >conftest.$ac_ext <<_ACEOF
+-#line 2867 "configure"
++  lt_cv_compiler_o_lo=no
++  save_CFLAGS="$CFLAGS"
++  CFLAGS="$CFLAGS -c -o conftest.lo"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 4567 "configure"
+ #include "confdefs.h"
+ 
+ int
+ main ()
+ {
+-int x;
++int some_variable = 0;
+   ;
+   return 0;
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:2879: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:2882: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:2884: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:2887: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  eval $ac_foo=yes
++if { (eval echo configure:4579: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++      # The compiler can only warn and ignore the option if not recognized
++    # So say no if there are warnings
++    if test -s conftest.err; then
++      lt_cv_compiler_o_lo=no
++    else
++      lt_cv_compiler_o_lo=yes
++    fi
++
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval $ac_foo=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+-CFLAGS="$save_CFLAGS"
++  CFLAGS="$save_CFLAGS"
+ 
+ fi
+ 
+-ac_res=`eval echo \\\$$ac_foo`
+-echo "$as_me:2901: result: $ac_res" >&5
+-echo "${ECHO_T}$ac_res" >&6
+-if test $ac_res = no; then
+-# Try to figure out why that failed...
+-case $abi in
+-	-mabi=32)
+-	save_CFLAGS="$CFLAGS"
+-	CFLAGS="$CFLAGS -mabi=n32"
+-	cat >conftest.$ac_ext <<_ACEOF
+-#line 2910 "configure"
++  compiler_o_lo=$lt_cv_compiler_o_lo
++  echo "configure:4598: result: $compiler_c_lo" >&5
++echo "${ECHO_T}$compiler_c_lo" >&6
++else
++  compiler_o_lo=no
++fi
++
++# Check to see if we can do hard links to lock some files if needed
++hard_links="nottested"
++if test "$compiler_c_o" = no && test "$need_locks" != no; then
++  # do not overwrite the value of need_locks provided by the user
++  echo "configure:4608: checking if we can lock with hard links" >&5
++echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
++  hard_links=yes
++  $rm conftest*
++  ln conftest.a conftest.b 2>/dev/null && hard_links=no
++  touch conftest.a
++  ln conftest.a conftest.b 2>&5 || hard_links=no
++  ln conftest.a conftest.b 2>/dev/null && hard_links=no
++  echo "configure:4616: result: $hard_links" >&5
++echo "${ECHO_T}$hard_links" >&6
++  if test "$hard_links" = no; then
++    echo "configure: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2
++    need_locks=warn
++  fi
++else
++  need_locks=no
++fi
++
++if test "$GCC" = yes; then
++  # Check to see if options -fno-rtti -fno-exceptions are supported by compiler
++  echo "configure:4628: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
++echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
++  echo "int some_variable = 0;" > conftest.$ac_ext
++  save_CFLAGS="$CFLAGS"
++  CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"
++  compiler_rtti_exceptions=no
++  cat >conftest.$ac_ext <<_ACEOF
++#line 4635 "configure"
+ #include "confdefs.h"
+ 
+ int
+ main ()
+ {
+-int x;
++int some_variable = 0;
+   ;
+   return 0;
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:2922: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:2925: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:2927: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:2930: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  ac_res=yes
++if { (eval echo configure:4647: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++      # The compiler can only warn and ignore the option if not recognized
++    # So say no if there are warnings
++    if test -s conftest.err; then
++      compiler_rtti_exceptions=no
++    else
++      compiler_rtti_exceptions=yes
++    fi
++
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_res=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+-	CLAGS="$save_CFLAGS"
+-	if test $ac_res = yes; then
+-		# New GCC
+-		{ { echo "$as_me:2942: error: $CC does not support the $with_mips_abi ABI" >&5
+-echo "$as_me: error: $CC does not support the $with_mips_abi ABI" >&2;}
+-   { (exit 1); exit 1; }; }
+-	fi
+-	# Old GCC
+-	abi=''
+-	abilibdirext=''
+-	;;
+-	-mabi=n32|-mabi=64)
+-		if test $with_mips_abi = yes; then
+-			# Old GCC, default to O32
+-			abi=''
+-			abilibdirext=''
+-		else
+-			# Some broken GCC
+-			{ { echo "$as_me:2957: error: $CC does not support the $with_mips_abi ABI" >&5
+-echo "$as_me: error: $CC does not support the $with_mips_abi ABI" >&2;}
+-   { (exit 1); exit 1; }; }
+-		fi
+-	;;
+-esac
+-fi #if test $ac_res = no; then
+-fi #if test -n "$abi" ; then
+-else
+-case "${with_mips_abi}" in
+-        32|o32) abi='-32'; abilibdirext=''     ;;
+-       n32|yes) abi='-n32'; abilibdirext='32'  ;;
+-        64) abi='-64'; abilibdirext='64'   ;;
+-	no) abi=''; abilibdirext='';;
+-         *) { { echo "$as_me:2971: error: \"Invalid ABI specified\"" >&5
+-echo "$as_me: error: \"Invalid ABI specified\"" >&2;}
+-   { (exit 1); exit 1; }; } ;;
+-esac
+-fi #if test -n "$GCC"; then
+-;;
++  CFLAGS="$save_CFLAGS"
++  echo "configure:4662: result: $compiler_rtti_exceptions" >&5
++echo "${ECHO_T}$compiler_rtti_exceptions" >&6
++
++  if test "$compiler_rtti_exceptions" = "yes"; then
++    no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions'
++  else
++    no_builtin_flag=' -fno-builtin'
++  fi
++fi
++
++# See if the linker supports building shared libraries.
++echo "configure:4673: checking whether the linker ($LD) supports shared libraries" >&5
++echo $ECHO_N "checking whether the linker ($LD) supports shared libraries... $ECHO_C" >&6
++
++allow_undefined_flag=
++no_undefined_flag=
++need_lib_prefix=unknown
++need_version=unknown
++# when you set need_version to no, make sure it does not cause -set_version
++# flags to be left without arguments
++archive_cmds=
++archive_expsym_cmds=
++old_archive_from_new_cmds=
++old_archive_from_expsyms_cmds=
++export_dynamic_flag_spec=
++whole_archive_flag_spec=
++thread_safe_flag_spec=
++hardcode_into_libs=no
++hardcode_libdir_flag_spec=
++hardcode_libdir_separator=
++hardcode_direct=no
++hardcode_minus_L=no
++hardcode_shlibpath_var=unsupported
++runpath_var=
++link_all_deplibs=unknown
++always_export_symbols=no
++export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols'
++# include_expsyms should be a list of space-separated symbols to be *always*
++# included in the symbol list
++include_expsyms=
++# exclude_expsyms can be an egrep regular expression of symbols to exclude
++# it will be wrapped by ` (' and `)$', so one must not match beginning or
++# end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
++# as well as any symbol that contains `d'.
++exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
++# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
++# platforms (ab)use it in PIC code, but their linkers get confused if
++# the symbol is explicitly referenced.  Since portable code cannot
++# rely on this symbol name, it's probably fine to never include it in
++# preloaded symbol tables.
++extract_expsyms_cmds=
++
++case $host_os in
++cygwin* | mingw* | pw32* )
++  # FIXME: the MSVC++ port hasn't been tested in a loooong time
++  # When not using gcc, we currently assume that we are using
++  # Microsoft Visual C++.
++  if test "$GCC" != yes; then
++    with_gnu_ld=no
++  fi
++  ;;
++
+ esac
+ 
+-CC="$CC $abi"
+-libdir="$libdir$abilibdirext"
++ld_shlibs=yes
++if test "$with_gnu_ld" = yes; then
++  # If archive_cmds runs LD, not CC, wlarc should be empty
++  wlarc='${wl}'
++
++  # See if GNU ld supports shared libraries.
++  case $host_os in
++  aix3* | aix4* | aix5*)
++    # On AIX, the GNU linker is very broken
++    # Note:Check GNU linker on AIX 5-IA64 when/if it becomes available.
++    ld_shlibs=no
++    cat <<EOF 1>&2
++
++*** Warning: the GNU linker, at least up to release 2.9.1, is reported
++*** to be unable to reliably create shared libraries on AIX.
++*** Therefore, libtool is disabling shared libraries support.  If you
++*** really care for shared libraries, you may want to modify your PATH
++*** so that a non-GNU linker is found, and then restart.
+ 
+-echo "$as_me:2982: checking for __attribute__" >&5
+-echo $ECHO_N "checking for __attribute__... $ECHO_C" >&6
+-if test "${ac_cv___attribute__+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
++EOF
++    ;;
++
++  amigaos*)
++    archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
++    hardcode_libdir_flag_spec='-L$libdir'
++    hardcode_minus_L=yes
++
++    # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
++    # that the semantics of dynamic libraries on AmigaOS, at least up
++    # to version 4, is to share data among multiple programs linked
++    # with the same dynamic library.  Since this doesn't match the
++    # behavior of shared libraries on other platforms, we can use
++    # them.
++    ld_shlibs=no
++    ;;
++
++  beos*)
++    if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
++      allow_undefined_flag=unsupported
++      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
++      # support --undefined.  This deserves some investigation.  FIXME
++      archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++    else
++      ld_shlibs=no
++    fi
++    ;;
++
++  cygwin* | mingw* | pw32*)
++    # hardcode_libdir_flag_spec is actually meaningless, as there is
++    # no search path for DLLs.
++    hardcode_libdir_flag_spec='-L$libdir'
++    allow_undefined_flag=unsupported
++    always_export_symbols=yes
++
++    extract_expsyms_cmds='test -f $output_objdir/impgen.c || \
++      sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~
++      test -f $output_objdir/impgen.exe || (cd $output_objdir && \
++      if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \
++      else $CC -o impgen impgen.c ; fi)~
++      $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def'
++
++    old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib'
++
++    # cygwin and mingw dlls have different entry points and sets of symbols
++    # to exclude.
++    # FIXME: what about values for MSVC?
++    dll_entry=__cygwin_dll_entry@12
++    dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~
++    case $host_os in
++    mingw*)
++      # mingw values
++      dll_entry=_DllMainCRTStartup@12
++      dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~
++      ;;
++    esac
++
++    # mingw and cygwin differ, and it's simplest to just exclude the union
++    # of the two symbol sets.
++    dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12
++
++    # recent cygwin and mingw systems supply a stub DllMain which the user
++    # can override, but on older systems we have to supply one (in ltdll.c)
++    if test "x$lt_cv_need_dllmain" = "xyes"; then
++      ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext "
++      ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < [$]0 > $output_objdir/$soname-ltdll.c~
++	test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~'
++    else
++      ltdll_obj=
++      ltdll_cmds=
++    fi
++
++    # Extract the symbol export list from an `--export-all' def file,
++    # then regenerate the def file from the symbol export list, so that
++    # the compiled dll only exports the symbol export list.
++    # Be careful not to strip the DATA tag left be newer dlltools.
++    export_symbols_cmds="$ltdll_cmds"'
++      $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~
++      sed -e "1,/EXPORTS/d" -e "s/ @ [0-9]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols'
++
++    # If the export-symbols file already is a .def file (1st line
++    # is EXPORTS), use it as is.
++    # If DATA tags from a recent dlltool are present, honour them!
++    archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then
++        cp $export_symbols $output_objdir/$soname-def;
++      else
++        echo EXPORTS > $output_objdir/$soname-def;
++        _lt_hint=1;
++        cat $export_symbols | while read symbol; do
++         set dummy \$symbol;
++         case \$# in
++           2) echo "   \$2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
++           *) echo "     \$2 @ \$_lt_hint \$3 ; " >> $output_objdir/$soname-def;;
++         esac;
++         _lt_hint=`expr 1 + \$_lt_hint`;
++        done;
++      fi~
++      '"$ltdll_cmds"'
++      $CC -Wl,--base-file,$output_objdir/$soname-base '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
++      $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp~
++      $CC -Wl,--base-file,$output_objdir/$soname-base $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
++      $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp --output-lib $output_objdir/$libname.dll.a~
++      $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags'
++    ;;
++
++  netbsd*)
++    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++      archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
++      wlarc=
++    else
++      archive_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++      archive_expsym_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++    fi
++    ;;
++
++  solaris* | sysv5*)
++    if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then
++      ld_shlibs=no
++      cat <<EOF 1>&2
++
++*** Warning: The releases 2.8.* of the GNU linker cannot reliably
++*** create shared libraries on Solaris systems.  Therefore, libtool
++*** is disabling shared libraries support.  We urge you to upgrade GNU
++*** binutils to release 2.9.1 or newer.  Another option is to modify
++*** your PATH or compiler configuration so that the native linker is
++*** used, and then restart.
++
++EOF
++    elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
++      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++      archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++    else
++      ld_shlibs=no
++    fi
++    ;;
++
++  sunos4*)
++    archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++    wlarc=
++    hardcode_direct=yes
++    hardcode_shlibpath_var=no
++    ;;
++
++  *)
++    if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
++      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++      archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++    else
++      ld_shlibs=no
++    fi
++    ;;
++  esac
++
++  if test "$ld_shlibs" = yes; then
++    runpath_var=LD_RUN_PATH
++    hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
++    export_dynamic_flag_spec='${wl}--export-dynamic'
++    case $host_os in
++    cygwin* | mingw* | pw32*)
++      # dlltool doesn't understand --whole-archive et. al.
++      whole_archive_flag_spec=
++      ;;
++    *)
++      # ancient GNU ld didn't support --whole-archive et. al.
++      if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then
++	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
++      else
++	whole_archive_flag_spec=
++      fi
++      ;;
++    esac
++  fi
+ else
++  # PORTME fill in a description of your system's linker (not GNU ld)
++  case $host_os in
++  aix3*)
++    allow_undefined_flag=unsupported
++    always_export_symbols=yes
++    archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
++    # Note: this linker hardcodes the directories in LIBPATH if there
++    # are no directories specified by -L.
++    hardcode_minus_L=yes
++    if test "$GCC" = yes && test -z "$link_static_flag"; then
++      # Neither direct hardcoding nor static linking is supported with a
++      # broken collect2.
++      hardcode_direct=unsupported
++    fi
++    ;;
+ 
+-cat >conftest.$ac_ext <<_ACEOF
+-#line 2989 "configure"
+-#include "confdefs.h"
++  aix4* | aix5*)
++    # When large executables or shared objects are built, AIX ld can
++    # have problems creating the table of contents.  If linking a library
++    # or program results in "error TOC overflow" add -mminimal-toc to
++    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
++    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
++
++    archive_cmds=''
++    hardcode_libdir_separator=':'
++    if test "$GCC" = yes; then
++      collect2name=`${CC} -print-prog-name=collect2`
++      if test -f "$collect2name" && \
++	 strings "$collect2name" | grep resolve_lib_name >/dev/null
++      then
++	# We have reworked collect2
++	hardcode_direct=yes
++      else
++        # We have old collect2
++        hardcode_direct=unsupported
++        # It fails to find uninstalled libraries when the uninstalled
++        # path is not listed in the libpath.  Setting hardcode_minus_L
++        # to unsupported forces relinking
++        hardcode_minus_L=yes
++        hardcode_libdir_flag_spec='-L$libdir'
++        hardcode_libdir_separator=
++      fi
++      shared_flag='-shared'
++    else
++      if test "$host_cpu" = ia64; then
++        shared_flag='-G'
++      else
++        shared_flag='${wl}-bM:SRE'
++      fi
++      hardcode_direct=yes
++    fi
+ 
+-#include <stdlib.h>
++    if test "$host_cpu" = ia64; then
++      # On IA64, the linker does run time linking by default, so we don't
++      # have to do anything special.
++      aix_use_runtimelinking=no
++      exp_sym_flag='-Bexport'
++      no_entry_flag=""
++    else
++      # Test if we are trying to use run time linking, or normal AIX style linking.
++      # If -brtl is somewhere in LDFLAGS, we need to do run time linking.
++      aix_use_runtimelinking=no
++      for ld_flag in $LDFLAGS; do
++        if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl" ); then
++          aix_use_runtimelinking=yes
++          break
++        fi
++      done
++      exp_sym_flag='-bexport'
++      no_entry_flag='-bnoentry'
++    fi
++    # It seems that -bexpall can do strange things, so it is better to
++    # generate a list of symbols to export.
++    always_export_symbols=yes
++    if test "$aix_use_runtimelinking" = yes; then
++      hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib'
++      allow_undefined_flag=' -Wl,-G'
++      archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
++    else
++      if test "$host_cpu" = ia64; then
++        hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
++       allow_undefined_flag="-znodefs"
++        archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
++      else
++        hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib'
++        # Warning - without using the other run time loading flags, -berok will
++        #           link without error, but may produce a broken library.
++        allow_undefined_flag='${wl}-berok"
++        # This is a bit strange, but is similar to how AIX traditionally builds
++        # it's shared libraries.
++        archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $objdir/$libname$release.a $objdir/$soname'
++      fi
++    fi
++    ;;
++
++  amigaos*)
++    archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
++    hardcode_libdir_flag_spec='-L$libdir'
++    hardcode_minus_L=yes
++    # see comment about different semantics on the GNU ld section
++    ld_shlibs=no
++    ;;
++
++  cygwin* | mingw* | pw32*)
++    # When not using gcc, we currently assume that we are using
++    # Microsoft Visual C++.
++    # hardcode_libdir_flag_spec is actually meaningless, as there is
++    # no search path for DLLs.
++    hardcode_libdir_flag_spec=' '
++    allow_undefined_flag=unsupported
++    # Tell ltmain to make .lib files, not .a files.
++    libext=lib
++    # FIXME: Setting linknames here is a bad hack.
++    archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames='
++    # The linker will automatically build a .lib file if we build a DLL.
++    old_archive_from_new_cmds='true'
++    # FIXME: Should let the user specify the lib program.
++    old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
++    fix_srcfile_path='`cygpath -w "$srcfile"`'
++    ;;
++
++  darwin* | rhapsody*)
++    allow_undefined_flag='-undefined suppress'
++    # FIXME: Relying on posixy $() will cause problems for
++    #        cross-compilation, but unfortunately the echo tests do not
++    #        yet detect zsh echo's removal of \ escapes.
++    archive_cmds='$CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linkopts -install_name $rpath/$soname $(test -n "$verstring" -a x$verstring != x0.0 && echo $verstring)'
++    # We need to add '_' to the symbols in $export_symbols first
++    #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
++    hardcode_direct=yes
++    hardcode_shlibpath_var=no
++    whole_archive_flag_spec='-all_load $convenience'
++    ;;
++
++  freebsd1*)
++    ld_shlibs=no
++    ;;
++
++  # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
++  # support.  Future versions do this automatically, but an explicit c++rt0.o
++  # does not break anything, and helps significantly (at the cost of a little
++  # extra space).
++  freebsd2.2*)
++    archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
++    hardcode_libdir_flag_spec='-R$libdir'
++    hardcode_direct=yes
++    hardcode_shlibpath_var=no
++    ;;
++
++  # Unfortunately, older versions of FreeBSD 2 do not have this feature.
++  freebsd2*)
++    archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++    hardcode_direct=yes
++    hardcode_minus_L=yes
++    hardcode_shlibpath_var=no
++    ;;
++
++  # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
++  freebsd*)
++    archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
++    hardcode_libdir_flag_spec='-R$libdir'
++    hardcode_direct=yes
++    hardcode_shlibpath_var=no
++    ;;
++
++  hpux9* | hpux10* | hpux11*)
++    case $host_os in
++    hpux9*) archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ;;
++    *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;;
++    esac
++    hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
++    hardcode_libdir_separator=:
++    hardcode_direct=yes
++    hardcode_minus_L=yes # Not in the search PATH, but as the default
++			 # location of the library.
++    export_dynamic_flag_spec='${wl}-E'
++    ;;
++
++  irix5* | irix6*)
++    if test "$GCC" = yes; then
++      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++    else
++      archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
++    fi
++    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
++    hardcode_libdir_separator=:
++    link_all_deplibs=yes
++    ;;
++
++  netbsd*)
++    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
++    else
++      archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
++    fi
++    hardcode_libdir_flag_spec='-R$libdir'
++    hardcode_direct=yes
++    hardcode_shlibpath_var=no
++    ;;
++
++  newsos6)
++    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linkopts'
++    hardcode_direct=yes
++    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
++    hardcode_libdir_separator=:
++    hardcode_shlibpath_var=no
++    ;;
++
++  openbsd*)
++    archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++    hardcode_libdir_flag_spec='-R$libdir'
++    hardcode_direct=yes
++    hardcode_shlibpath_var=no
++    ;;
++
++  os2*)
++    hardcode_libdir_flag_spec='-L$libdir'
++    hardcode_minus_L=yes
++    allow_undefined_flag=unsupported
++    archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
++    old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
++    ;;
++
++  osf3*)
++    if test "$GCC" = yes; then
++      allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
++      archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++    else
++      allow_undefined_flag=' -expect_unresolved \*'
++      archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
++    fi
++    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
++    hardcode_libdir_separator=:
++    ;;
++
++  osf4* | osf5*)	# as osf3* with the addition of -msym flag
++    if test "$GCC" = yes; then
++      allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
++      archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
++    else
++      allow_undefined_flag=' -expect_unresolved \*'
++      archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
++      archive_expsym_cmds='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
++      $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
++
++      #Both c and cxx compiler support -rpath directly
++      hardcode_libdir_flag_spec='-rpath $libdir'
++    fi
++    hardcode_libdir_separator=:
++    ;;
++
++  sco3.2v5*)
++    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++    hardcode_shlibpath_var=no
++    runpath_var=LD_RUN_PATH
++    hardcode_runpath_var=yes
++    ;;
+ 
+-int
+-main ()
+-{
++  solaris*)
++    no_undefined_flag=' -z defs'
++    # $CC -shared without GNU ld will not create a library from C++
++    # object files and a static libstdc++, better avoid it by now
++    archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
++    archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++		$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
++    hardcode_libdir_flag_spec='-R$libdir'
++    hardcode_shlibpath_var=no
++    case $host_os in
++    solaris2.[0-5] | solaris2.[0-5].*) ;;
++    *) # Supported since Solaris 2.6 (maybe 2.5.1?)
++      whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
++    esac
++    link_all_deplibs=yes
++    ;;
+ 
+-static void foo(void) __attribute__ ((noreturn));
++  sunos4*)
++    if test "x$host_vendor" = xsequent; then
++      # Use $CC to link under sequent, because it throws in some extra .o
++      # files that make .init and .fini sections work.
++      archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
++    else
++      archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
++    fi
++    hardcode_libdir_flag_spec='-L$libdir'
++    hardcode_direct=yes
++    hardcode_minus_L=yes
++    hardcode_shlibpath_var=no
++    ;;
+ 
+-static void
+-foo(void)
+-{
+-  exit(1);
+-}
++  sysv4)
++    if test "x$host_vendor" = xsno; then
++      archive_cmds='$LD -G -Bsymbolic -h $soname -o $lib $libobjs $deplibs $linkopts'
++      hardcode_direct=yes # is this really true???
++    else
++      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_direct=no #Motorola manual says yes, but my tests say they lie
++    fi
++    runpath_var='LD_RUN_PATH'
++    hardcode_shlibpath_var=no
++    ;;
+ 
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:3011: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:3014: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:3016: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:3019: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  ac_cv___attribute__=yes
+-else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv___attribute__=no
+-fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
+-fi
++  sysv4.3*)
++    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++    hardcode_shlibpath_var=no
++    export_dynamic_flag_spec='-Bexport'
++    ;;
+ 
+-if test "$ac_cv___attribute__" = "yes"; then
++  sysv5*)
++    no_undefined_flag=' -z text'
++    # $CC -shared without GNU ld will not create a library from C++
++    # object files and a static libstdc++, better avoid it by now
++    archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
++    archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++		$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
++    hardcode_libdir_flag_spec=
++    hardcode_shlibpath_var=no
++    runpath_var='LD_RUN_PATH'
++    ;;
+ 
+-cat >>confdefs.h <<\EOF
+-#define HAVE___ATTRIBUTE__ 1
+-EOF
++  uts4*)
++    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++    hardcode_libdir_flag_spec='-L$libdir'
++    hardcode_shlibpath_var=no
++    ;;
+ 
+-fi
+-echo "$as_me:3037: result: $ac_cv___attribute__" >&5
+-echo "${ECHO_T}$ac_cv___attribute__" >&6
++  dgux*)
++    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++    hardcode_libdir_flag_spec='-L$libdir'
++    hardcode_shlibpath_var=no
++    ;;
+ 
+-# Check whether --enable-shared or --disable-shared was given.
+-if test "${enable_shared+set}" = set; then
+-  enableval="$enable_shared"
+-  p=${PACKAGE-default}
+-case "$enableval" in
+-yes) enable_shared=yes ;;
+-no) enable_shared=no ;;
+-*)
+-  enable_shared=no
+-  # Look at the argument we got.  We use all the common list separators.
+-  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
+-  for pkg in $enableval; do
+-    if test "X$pkg" = "X$p"; then
+-      enable_shared=yes
+-    fi
+-  done
+-  IFS="$ac_save_ifs"
+-  ;;
+-esac
+-else
+-  enable_shared=no
+-fi;
+-# Check whether --enable-static or --disable-static was given.
+-if test "${enable_static+set}" = set; then
+-  enableval="$enable_static"
+-  p=${PACKAGE-default}
+-case "$enableval" in
+-yes) enable_static=yes ;;
+-no) enable_static=no ;;
+-*)
+-  enable_static=no
+-  # Look at the argument we got.  We use all the common list separators.
+-  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
+-  for pkg in $enableval; do
+-    if test "X$pkg" = "X$p"; then
+-      enable_static=yes
+-    fi
+-  done
+-  IFS="$ac_save_ifs"
+-  ;;
+-esac
+-else
+-  enable_static=yes
+-fi;
+-# Check whether --enable-fast-install or --disable-fast-install was given.
+-if test "${enable_fast_install+set}" = set; then
+-  enableval="$enable_fast_install"
+-  p=${PACKAGE-default}
+-case "$enableval" in
+-yes) enable_fast_install=yes ;;
+-no) enable_fast_install=no ;;
+-*)
+-  enable_fast_install=no
+-  # Look at the argument we got.  We use all the common list separators.
+-  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
+-  for pkg in $enableval; do
+-    if test "X$pkg" = "X$p"; then
+-      enable_fast_install=yes
++  sysv4*MP*)
++    if test -d /usr/nec; then
++      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_shlibpath_var=no
++      runpath_var=LD_RUN_PATH
++      hardcode_runpath_var=yes
++      ld_shlibs=yes
+     fi
+-  done
+-  IFS="$ac_save_ifs"
+-  ;;
+-esac
+-else
+-  enable_fast_install=yes
+-fi;
++    ;;
+ 
+-# Check whether --with-gnu-ld or --without-gnu-ld was given.
+-if test "${with_gnu_ld+set}" = set; then
+-  withval="$with_gnu_ld"
+-  test "$withval" = no || with_gnu_ld=yes
+-else
+-  with_gnu_ld=no
+-fi;
+-ac_prog=ld
+-if test "$ac_cv_c_compiler_gnu" = yes; then
+-  # Check if gcc -print-prog-name=ld gives a path.
+-  echo "$as_me:3117: checking for ld used by GCC" >&5
+-echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
+-  case $host in
+-  *-*-mingw*)
+-    # gcc leaves a trailing carriage return which upsets mingw
+-    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
+-  *)
+-    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
+-  esac
+-  case "$ac_prog" in
+-    # Accept absolute paths.
+-    [\\/]* | [A-Za-z]:[\\/]*)
+-      re_direlt='/[^/][^/]*/\.\./'
+-      # Canonicalize the path of ld
+-      ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
+-      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
+-	ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
+-      done
+-      test -z "$LD" && LD="$ac_prog"
+-      ;;
+-  "")
+-    # If it fails, then pretend we aren't using GCC.
+-    ac_prog=ld
++  sysv4.2uw2*)
++    archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
++    hardcode_direct=yes
++    hardcode_minus_L=no
++    hardcode_shlibpath_var=no
++    hardcode_runpath_var=yes
++    runpath_var=LD_RUN_PATH
++    ;;
++
++  sysv5uw7* | unixware7*)
++    no_undefined_flag='${wl}-z ${wl}text'
++    if test "$GCC" = yes; then
++      archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++    else
++      archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++    fi
++    runpath_var='LD_RUN_PATH'
++    hardcode_shlibpath_var=no
+     ;;
++
+   *)
+-    # If it is relative, then search for the first ld in PATH.
+-    with_gnu_ld=unknown
++    ld_shlibs=no
+     ;;
+   esac
+-elif test "$with_gnu_ld" = yes; then
+-  echo "$as_me:3147: checking for GNU ld" >&5
+-echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
+-else
+-  echo "$as_me:3150: checking for non-GNU ld" >&5
+-echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
+ fi
+-if test "${ac_cv_path_LD+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  if test -z "$LD"; then
+-  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
+-  for ac_dir in $PATH; do
+-    test -z "$ac_dir" && ac_dir=.
+-    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
+-      ac_cv_path_LD="$ac_dir/$ac_prog"
+-      # Check to see if the program is GNU ld.  I'd rather use --version,
+-      # but apparently some GNU ld's only accept -v.
+-      # Break only if it was the GNU/non-GNU ld that we prefer.
+-      if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
+-	test "$with_gnu_ld" != no && break
+-      else
+-	test "$with_gnu_ld" != yes && break
+-      fi
+-    fi
+-  done
+-  IFS="$ac_save_ifs"
++echo "configure:5285: result: $ld_shlibs" >&5
++echo "${ECHO_T}$ld_shlibs" >&6
++test "$ld_shlibs" = no && can_build_shared=no
++
++# Check hardcoding attributes.
++echo "configure:5290: checking how to hardcode library paths into programs" >&5
++echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
++hardcode_action=
++if test -n "$hardcode_libdir_flag_spec" || \
++   test -n "$runpath_var"; then
++
++  # We can hardcode non-existant directories.
++  if test "$hardcode_direct" != no &&
++     # If the only mechanism to avoid hardcoding is shlibpath_var, we
++     # have to relink, otherwise we might link with an installed library
++     # when we should be linking with a yet-to-be-installed one
++     ## test "$hardcode_shlibpath_var" != no &&
++     test "$hardcode_minus_L" != no; then
++    # Linking always hardcodes the temporary library directory.
++    hardcode_action=relink
++  else
++    # We can link without hardcoding, and we can hardcode nonexisting dirs.
++    hardcode_action=immediate
++  fi
+ else
+-  ac_cv_path_LD="$LD" # Let the user override the test with a path.
+-fi
+-fi
+-
+-LD="$ac_cv_path_LD"
+-if test -n "$LD"; then
+-  echo "$as_me:3180: result: $LD" >&5
+-echo "${ECHO_T}$LD" >&6
++  # We cannot hardcode anything, or else we can only hardcode existing
++  # directories.
++  hardcode_action=unsupported
++fi
++echo "configure:5314: result: $hardcode_action" >&5
++echo "${ECHO_T}$hardcode_action" >&6
++
++striplib=
++old_striplib=
++echo "configure:5319: checking whether stripping libraries is possible" >&5
++echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
++if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
++  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
++  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
++  echo "configure:5324: result: yes" >&5
++echo "${ECHO_T}yes" >&6
+ else
+-  echo "$as_me:3183: result: no" >&5
++  echo "configure:5327: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+-test -z "$LD" && { { echo "$as_me:3186: error: no acceptable ld found in \$PATH" >&5
+-echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
+-   { (exit 1); exit 1; }; }
+-echo "$as_me:3189: checking if the linker ($LD) is GNU ld" >&5
+-echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
+-if test "${ac_cv_prog_gnu_ld+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
+-if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
+-  ac_cv_prog_gnu_ld=yes
+-else
+-  ac_cv_prog_gnu_ld=no
+-fi
+-fi
+-echo "$as_me:3201: result: $ac_cv_prog_gnu_ld" >&5
+-echo "${ECHO_T}$ac_cv_prog_gnu_ld" >&6
+-with_gnu_ld=$ac_cv_prog_gnu_ld
+ 
+-echo "$as_me:3205: checking for $LD option to reload object files" >&5
+-echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
+-if test "${lt_cv_ld_reload_flag+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  lt_cv_ld_reload_flag='-r'
+-fi
+-echo "$as_me:3212: result: $lt_cv_ld_reload_flag" >&5
+-echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
+-reload_flag=$lt_cv_ld_reload_flag
+-test -n "$reload_flag" && reload_flag=" $reload_flag"
++reload_cmds='$LD$reload_flag -o $output$reload_objs'
++test -z "$deplibs_check_method" && deplibs_check_method=unknown
+ 
+-echo "$as_me:3217: checking for BSD-compatible nm" >&5
+-echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
+-if test "${ac_cv_path_NM+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  if test -n "$NM"; then
+-  # Let the user override the test.
+-  ac_cv_path_NM="$NM"
+-else
+-  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
+-  for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
+-    test -z "$ac_dir" && ac_dir=.
+-    tmp_nm=$ac_dir/${ac_tool_prefix}nm
+-    if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
+-      # Check to see if the nm accepts a BSD-compat flag.
+-      # Adding the `sed 1q' prevents false positives on HP-UX, which says:
+-      #   nm: unknown option "B" ignored
+-      if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
+-	ac_cv_path_NM="$tmp_nm -B"
+-	break
+-      elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
+-	ac_cv_path_NM="$tmp_nm -p"
+-	break
++# PORTME Fill in your ld.so characteristics
++echo "configure:5335: checking dynamic linker characteristics" >&5
++echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
++library_names_spec=
++libname_spec='lib$name'
++soname_spec=
++postinstall_cmds=
++postuninstall_cmds=
++finish_cmds=
++finish_eval=
++shlibpath_var=
++shlibpath_overrides_runpath=unknown
++version_type=none
++dynamic_linker="$host_os ld.so"
++sys_lib_dlsearch_path_spec="/lib /usr/lib"
++sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
++
++case $host_os in
++aix3*)
++  version_type=linux
++  library_names_spec='${libname}${release}.so$versuffix $libname.a'
++  shlibpath_var=LIBPATH
++
++  # AIX has no versioning support, so we append a major version to the name.
++  soname_spec='${libname}${release}.so$major'
++  ;;
++
++aix4* | aix5*)
++  version_type=linux
++  if test "$host_cpu" = ia64; then
++    # AIX 5 supports IA64
++    library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so'
++    shlibpath_var=LD_LIBRARY_PATH
++  else
++    # With GCC up to 2.95.x, collect2 would create an import file
++    # for dependence libraries.  The import file would start with
++    # the line `#! .'.  This would cause the generated library to
++    # depend on `.', always an invalid library.  This was fixed in
++    # development snapshots of GCC prior to 3.0.
++    case $host_os in
++       aix4 | aix4.[01] | aix4.[01].*)
++      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
++           echo ' yes '
++           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
++        :
+       else
+-	ac_cv_path_NM=${ac_cv_path_NM="$tmp_nm"} # keep the first match, but
+-	continue # so that we can try to find one that supports BSD flags
++        can_build_shared=no
+       fi
++      ;;
++    esac
++    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
++    # soname into executable. Probably we can add versioning support to
++    # collect2, so additional links can be useful in future.
++    if test "$aix_use_runtimelinking" = yes; then
++      # If using run time linking (on AIX 4.2 or later) use lib<name>.so instead of
++      # lib<name>.a to let people know that these are not typical AIX shared libraries.
++      library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++    else
++      # We preserve .a as extension for shared libraries through AIX4.2
++      # and later when we are not doing run time linking.
++      library_names_spec='${libname}${release}.a $libname.a'
++      soname_spec='${libname}${release}.so$major'
+     fi
+-  done
+-  IFS="$ac_save_ifs"
+-  test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm
+-fi
+-fi
+-
+-NM="$ac_cv_path_NM"
+-echo "$as_me:3252: result: $NM" >&5
+-echo "${ECHO_T}$NM" >&6
+-
+-echo "$as_me:3255: checking whether ln -s works" >&5
+-echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
+-LN_S=$as_ln_s
+-if test "$LN_S" = "ln -s"; then
+-  echo "$as_me:3259: result: yes" >&5
+-echo "${ECHO_T}yes" >&6
+-else
+-  echo "$as_me:3262: result: no, using $LN_S" >&5
+-echo "${ECHO_T}no, using $LN_S" >&6
+-fi
+-
+-echo "$as_me:3266: checking how to recognise dependant libraries" >&5
+-echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
+-if test "${lt_cv_deplibs_check_method+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  lt_cv_file_magic_cmd='${MAGIC}'
+-lt_cv_file_magic_test_file=
+-lt_cv_deplibs_check_method='unknown'
+-# Need to set the preceding variable on all platforms that support
+-# interlibrary dependencies.
+-# 'none' -- dependencies not supported.
+-# `unknown' -- same as none, but documents that we really don't know.
+-# 'pass_all' -- all dependencies passed with no checks.
+-# 'test_compile' -- check by making test program.
+-# 'file_magic [regex]' -- check by looking for files in library path
+-# which responds to the $file_magic_cmd with a given egrep regex.
+-# If you have `file' or equivalent on your system and you're not sure
+-# whether `pass_all' will *always* work, you probably want this one.
++    shlibpath_var=LIBPATH
++    deplibs_check_method=pass_all
++  fi
++  ;;
+ 
+-case "$host_os" in
+-aix4*)
+-  lt_cv_deplibs_check_method=pass_all
++amigaos*)
++  library_names_spec='$libname.ixlibrary $libname.a'
++  # Create ${libname}_ixlibrary.a entries in /sys/libs.
++  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done'
+   ;;
+ 
+ beos*)
+-  lt_cv_deplibs_check_method=pass_all
++  library_names_spec='${libname}.so'
++  dynamic_linker="$host_os ld.so"
++  shlibpath_var=LIBRARY_PATH
+   ;;
+ 
+ bsdi4*)
+-    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
+-    lt_cv_file_magic_cmd='/usr/bin/file -L'
+-  lt_cv_file_magic_test_file=/shlib/libc.so
++  version_type=linux
++  need_version=no
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  soname_spec='${libname}${release}.so$major'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
++  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
++  export_dynamic_flag_spec=-rdynamic
++  # the default ld.so.conf also contains /usr/contrib/lib and
++  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
++  # libtool to hard-code these into programs
+   ;;
+ 
+-cygwin* | mingw*)
+-  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
+-  lt_cv_file_magic_cmd='${OBJDUMP} -f'
++cygwin* | mingw* | pw32*)
++  version_type=windows
++  need_version=no
++  need_lib_prefix=no
++  case $GCC,$host_os in
++  yes,cygwin*)
++    library_names_spec='$libname.dll.a'
++    soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
++    postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~
++      dldir=$destdir/`dirname \$dlpath`~
++      test -d \$dldir || mkdir -p \$dldir~
++      $install_prog .libs/$dlname \$dldir/$dlname'
++    postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~
++      dlpath=$dir/\$dldll~
++       $rm \$dlpath'
++    ;;
++  yes,mingw*)
++    library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
++    sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g"`
++    ;;
++  yes,pw32*)
++    library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}.dll'
++    ;;
++  *)
++    library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll $libname.lib'
++    ;;
++  esac
++  dynamic_linker='Win32 ld.exe'
++  # FIXME: first we should search . and the directory the executable is in
++  shlibpath_var=PATH
+   ;;
+ 
+-freebsd*)
+-  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
+-    case "$host_cpu" in
+-    i*86 )
+-            lt_cv_deplibs_check_method=='file_magic OpenBSD/i[3-9]86 demand paged shared library'
+-            lt_cv_file_magic_cmd=/usr/bin/file
+-      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
++darwin* | rhapsody*)
++  dynamic_linker="$host_os dyld"
++  version_type=darwin
++  need_lib_prefix=no
++  need_version=no
++  # FIXME: Relying on posixy $() will cause problems for
++  #        cross-compilation, but unfortunately the echo tests do not
++  #        yet detect zsh echo's removal of \ escapes.
++  library_names_spec='${libname}${release}${versuffix}.$(test .$module = .yes && echo so || echo dylib) ${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib) ${libname}.$(test .$module = .yes && echo so || echo dylib)'
++  soname_spec='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)'
++  shlibpath_overrides_runpath=yes
++  shlibpath_var=DYLD_LIBRARY_PATH
++  ;;
++
++freebsd1*)
++  dynamic_linker=no
++  ;;
++
++freebsd*)
++  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
++  version_type=freebsd-$objformat
++  case $version_type in
++    freebsd-elf*)
++      library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
++      need_version=no
++      need_lib_prefix=no
+       ;;
+-    esac
+-  else
+-    lt_cv_deplibs_check_method=pass_all
+-  fi
++    freebsd-*)
++      library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix'
++      need_version=yes
++      ;;
++  esac
++  shlibpath_var=LD_LIBRARY_PATH
++  case $host_os in
++  freebsd2*)
++    shlibpath_overrides_runpath=yes
++    ;;
++  *)
++    shlibpath_overrides_runpath=no
++    hardcode_into_libs=yes
++    ;;
++  esac
+   ;;
+ 
+ gnu*)
+-  lt_cv_deplibs_check_method=pass_all
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so'
++  soname_spec='${libname}${release}.so$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  hardcode_into_libs=yes
+   ;;
+ 
+-hpux10.20*)
+-  # TODO:  Does this work for hpux-11 too?
+-  lt_cv_deplibs_check_method='file_magic (s0-90-90-9|PA-RISC0-9.0-9) shared library'
+-  lt_cv_file_magic_cmd=/usr/bin/file
+-  lt_cv_file_magic_test_file=/usr/lib/libc.sl
++hpux9* | hpux10* | hpux11*)
++  # Give a soname corresponding to the major version so that dld.sl refuses to
++  # link against other versions.
++  dynamic_linker="$host_os dld.sl"
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=no
++  shlibpath_var=SHLIB_PATH
++  shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
++  library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl'
++  soname_spec='${libname}${release}.sl$major'
++  # HP-UX runs *really* slowly unless shared libraries are mode 555.
++  postinstall_cmds='chmod 555 $lib'
+   ;;
+ 
+ irix5* | irix6*)
+-  case "$host_os" in
++  version_type=irix
++  need_lib_prefix=no
++  need_version=no
++  soname_spec='${libname}${release}.so$major'
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so'
++  case $host_os in
+   irix5*)
+-    # this will be overridden with pass_all, but let us keep it just in case
+-    lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
++    libsuff= shlibsuff=
+     ;;
+   *)
+-    case "$LD" in
+-    *-32|*"-32 ") libmagic=32-bit;;
+-    *-n32|*"-n32 ") libmagic=N32;;
+-    *-64|*"-64 ") libmagic=64-bit;;
+-    *) libmagic=never-match;;
++    case $LD in # libtool.m4 will add one of these switches to LD
++    *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;;
++    *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;;
++    *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;;
++    *) libsuff= shlibsuff= libmagic=never-match;;
+     esac
+-    # this will be overridden with pass_all, but let us keep it just in case
+-        lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
+-        ;;
++    ;;
+   esac
+-  lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
+-  lt_cv_deplibs_check_method=pass_all
++  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
++  shlibpath_overrides_runpath=no
++  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
++  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
++  ;;
++
++# No shared lib support for Linux oldld, aout, or coff.
++linux-gnuoldld* | linux-gnuaout* | linux-gnucoff*)
++  dynamic_linker=no
+   ;;
+ 
+ # This must be Linux ELF.
+ linux-gnu*)
+-  case "$host_cpu" in
+-  alpha* | i*86 | powerpc* | sparc* | ia64* )
+-    lt_cv_deplibs_check_method=pass_all ;;
+-  *)
+-    # glibc up to 2.1.1 does not perform some relocations on ARM
+-        lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
+-      esac
+-  lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  soname_spec='${libname}${release}.so$major'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=no
++  # This implies no fast_install, which is unacceptable.
++  # Some rework will be needed to allow for fast_install
++  # before this can be enabled.
++  hardcode_into_libs=yes
++
++  # We used to test for /lib/ld.so.1 and disable shared libraries on
++  # powerpc, because MkLinux only supported shared libraries with the
++  # GNU dynamic linker.  Since this was broken with cross compilers,
++  # most powerpc-linux boxes support dynamic linking these days and
++  # people can always --disable-shared, the test was removed, and we
++  # assume the GNU/Linux dynamic linker is in use.
++  dynamic_linker='GNU/Linux ld.so'
+   ;;
+ 
+ netbsd*)
+-  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then :
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=no
++  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++    library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
++    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
++    dynamic_linker='NetBSD (a.out) ld.so'
+   else
+-        lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
+-        lt_cv_file_magic_cmd='/usr/bin/file -L'
+-    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
++    library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so'
++    soname_spec='${libname}${release}.so$major'
++    dynamic_linker='NetBSD ld.elf_so'
++  fi
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  hardcode_into_libs=yes
++  ;;
++
++newsos6)
++  version_type=linux
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  ;;
++
++openbsd*)
++  version_type=sunos
++  if test "$with_gnu_ld" = yes; then
++    need_lib_prefix=no
++    need_version=no
+   fi
++  library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++os2*)
++  libname_spec='$name'
++  need_lib_prefix=no
++  library_names_spec='$libname.dll $libname.a'
++  dynamic_linker='OS/2 ld.exe'
++  shlibpath_var=LIBPATH
+   ;;
+ 
+ osf3* | osf4* | osf5*)
+-  # this will be overridden with pass_all, but let us keep it just in case
+-  lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
+-  lt_cv_file_magic_test_file=/shlib/libc.so
+-  lt_cv_deplibs_check_method=pass_all
++  version_type=osf
++  need_version=no
++  soname_spec='${libname}${release}.so'
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
++  shlibpath_var=LD_LIBRARY_PATH
++  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
++  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
+   ;;
+ 
+ sco3.2v5*)
+-  lt_cv_deplibs_check_method=pass_all
++  version_type=osf
++  soname_spec='${libname}${release}.so$major'
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  shlibpath_var=LD_LIBRARY_PATH
+   ;;
+ 
+ solaris*)
+-  lt_cv_deplibs_check_method=pass_all
+-  lt_cv_file_magic_test_file=/lib/libc.so
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  soname_spec='${libname}${release}.so$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  hardcode_into_libs=yes
++  # ldd complains unless libraries are executable
++  postinstall_cmds='chmod +x $lib'
++  ;;
++
++sunos4*)
++  version_type=sunos
++  library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
++  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  if test "$with_gnu_ld" = yes; then
++    need_lib_prefix=no
++  fi
++  need_version=yes
+   ;;
+ 
+ sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
+-  case "$host_vendor" in
+-  ncr)
+-    lt_cv_deplibs_check_method=pass_all
+-    ;;
+-  motorola)
+-        lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
+-        lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
+-    ;;
++  version_type=linux
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  soname_spec='${libname}${release}.so$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  case $host_vendor in
++    sni)
++      shlibpath_overrides_runpath=no
++      ;;
++    motorola)
++      need_lib_prefix=no
++      need_version=no
++      shlibpath_overrides_runpath=no
++      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
++      ;;
+   esac
+   ;;
++
++uts4*)
++  version_type=linux
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  soname_spec='${libname}${release}.so$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++dgux*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  soname_spec='${libname}${release}.so$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++sysv4*MP*)
++  if test -d /usr/nec ;then
++    version_type=linux
++    library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so'
++    soname_spec='$libname.so.$major'
++    shlibpath_var=LD_LIBRARY_PATH
++  fi
++  ;;
++
++*)
++  dynamic_linker=no
++  ;;
+ esac
++echo "configure:5717: result: $dynamic_linker" >&5
++echo "${ECHO_T}$dynamic_linker" >&6
++test "$dynamic_linker" = no && can_build_shared=no
++
++# Report the final consequences.
++echo "configure:5722: checking if libtool supports shared libraries" >&5
++echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
++echo "configure:5724: result: $can_build_shared" >&5
++echo "${ECHO_T}$can_build_shared" >&6
++
++if test "$hardcode_action" = relink; then
++  # Fast installation is not supported
++  enable_fast_install=no
++elif test "$shlibpath_overrides_runpath" = yes ||
++     test "$enable_shared" = no; then
++  # Fast installation is not necessary
++  enable_fast_install=needless
++fi
++
++variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
++if test "$GCC" = yes; then
++  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
++fi
++
++if test "x$enable_dlopen" != xyes; then
++  enable_dlopen=unknown
++  enable_dlopen_self=unknown
++  enable_dlopen_self_static=unknown
++else
++  lt_cv_dlopen=no
++  lt_cv_dlopen_libs=
++
++  case $host_os in
++  beos*)
++    lt_cv_dlopen="load_add_on"
++    lt_cv_dlopen_libs=
++    lt_cv_dlopen_self=yes
++    ;;
++
++  cygwin* | mingw* | pw32*)
++    lt_cv_dlopen="LoadLibrary"
++    lt_cv_dlopen_libs=
++   ;;
++
++  *)
++
++echo "configure:5763: checking for dlopen in -ldl" >&5
++echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
++if test "${ac_cv_lib_dl_dlopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ldl  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line 5771 "configure"
++#include "confdefs.h"
+ 
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dlopen ();
++int
++main ()
++{
++dlopen ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:5790: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  ac_cv_lib_dl_dlopen=yes
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_lib_dl_dlopen=no
+ fi
+-echo "$as_me:3402: result: $lt_cv_deplibs_check_method" >&5
+-echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
+-file_magic_cmd=$lt_cv_file_magic_cmd
+-deplibs_check_method=$lt_cv_deplibs_check_method
++rm -f conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "configure:5800: result: $ac_cv_lib_dl_dlopen" >&5
++echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
++if test $ac_cv_lib_dl_dlopen = yes; then
++  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
++else
++  echo "configure:5805: checking for dlopen" >&5
++echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
++if test "${ac_cv_func_dlopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line 5811 "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char dlopen (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dlopen ();
++char (*f) ();
+ 
+-# Only perform the check for file, if the check method requires it
+-case "$deplibs_check_method" in
+-file_magic*)
+-  if test "$file_magic_cmd" = '${MAGIC}'; then
+-    echo "$as_me:3411: checking for ${ac_tool_prefix}file" >&5
+-echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
+-if test "${lt_cv_path_MAGIC+set}" = set; then
++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_dlopen) || defined (__stub___dlopen)
++choke me
++#else
++f = dlopen;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:5842: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  ac_cv_func_dlopen=yes
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_dlopen=no
++fi
++rm -f conftest$ac_exeext conftest.$ac_ext
++fi
++echo "configure:5851: result: $ac_cv_func_dlopen" >&5
++echo "${ECHO_T}$ac_cv_func_dlopen" >&6
++if test $ac_cv_func_dlopen = yes; then
++  lt_cv_dlopen="dlopen"
++else
++  echo "configure:5856: checking for shl_load" >&5
++echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
++if test "${ac_cv_func_shl_load+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  case "$MAGIC" in
+-  /*)
+-  lt_cv_path_MAGIC="$MAGIC" # Let the user override the test with a path.
+-  ;;
+-  ?:/*)
+-  ac_cv_path_MAGIC="$MAGIC" # Let the user override the test with a dos path.
+-  ;;
+-  *)
+-  ac_save_MAGIC="$MAGIC"
+-  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
+-  ac_dummy="/usr/bin:$PATH"
+-  for ac_dir in $ac_dummy; do
+-    test -z "$ac_dir" && ac_dir=.
+-    if test -f $ac_dir/${ac_tool_prefix}file; then
+-      lt_cv_path_MAGIC="$ac_dir/${ac_tool_prefix}file"
+-      if test -n "$file_magic_test_file"; then
+-	case "$deplibs_check_method" in
+-	"file_magic "*)
+-	  file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
+-	  MAGIC="$lt_cv_path_MAGIC"
+-	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
+-	    egrep "$file_magic_regex" > /dev/null; then
+-	    :
+-	  else
+-	    cat <<EOF 1>&2
++  cat >conftest.$ac_ext <<_ACEOF
++#line 5862 "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char shl_load (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char shl_load ();
++char (*f) ();
+ 
+-*** Warning: the command libtool uses to detect shared libraries,
+-*** $file_magic_cmd, produces output that libtool cannot recognize.
+-*** The result is that libtool may fail to recognize shared libraries
+-*** as such.  This will affect the creation of libtool libraries that
+-*** depend on shared libraries, but programs linked with such libtool
+-*** libraries will work regardless of this problem.  Nevertheless, you
+-*** may want to report the problem to your system manager and/or to
+-*** bug-libtool@gnu.org
++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_shl_load) || defined (__stub___shl_load)
++choke me
++#else
++f = shl_load;
++#endif
+ 
+-EOF
+-	  fi ;;
+-	esac
+-      fi
+-      break
+-    fi
+-  done
+-  IFS="$ac_save_ifs"
+-  MAGIC="$ac_save_MAGIC"
+-  ;;
+-esac
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:5893: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  ac_cv_func_shl_load=yes
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_shl_load=no
++fi
++rm -f conftest$ac_exeext conftest.$ac_ext
++fi
++echo "configure:5902: result: $ac_cv_func_shl_load" >&5
++echo "${ECHO_T}$ac_cv_func_shl_load" >&6
++if test $ac_cv_func_shl_load = yes; then
++  lt_cv_dlopen="shl_load"
++else
++
++echo "configure:5908: checking for dlopen in -lsvld" >&5
++echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
++if test "${ac_cv_lib_svld_dlopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-lsvld  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line 5916 "configure"
++#include "confdefs.h"
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dlopen ();
++int
++main ()
++{
++dlopen ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:5935: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  ac_cv_lib_svld_dlopen=yes
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_lib_svld_dlopen=no
+ fi
++rm -f conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "configure:5945: result: $ac_cv_lib_svld_dlopen" >&5
++echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
++if test $ac_cv_lib_svld_dlopen = yes; then
++  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
++else
++
++echo "configure:5951: checking for shl_load in -ldld" >&5
++echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
++if test "${ac_cv_lib_dld_shl_load+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ldld  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line 5959 "configure"
++#include "confdefs.h"
+ 
+-MAGIC="$lt_cv_path_MAGIC"
+-if test -n "$MAGIC"; then
+-  echo "$as_me:3466: result: $MAGIC" >&5
+-echo "${ECHO_T}$MAGIC" >&6
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char shl_load ();
++int
++main ()
++{
++shl_load ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:5978: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  ac_cv_lib_dld_shl_load=yes
+ else
+-  echo "$as_me:3469: result: no" >&5
+-echo "${ECHO_T}no" >&6
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_lib_dld_shl_load=no
++fi
++rm -f conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "configure:5988: result: $ac_cv_lib_dld_shl_load" >&5
++echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
++if test $ac_cv_lib_dld_shl_load = yes; then
++  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
+ fi
+ 
+-if test -z "$lt_cv_path_MAGIC"; then
+-  if test -n "$ac_tool_prefix"; then
+-    echo "$as_me:3475: checking for file" >&5
+-echo $ECHO_N "checking for file... $ECHO_C" >&6
+-if test "${lt_cv_path_MAGIC+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  case "$MAGIC" in
+-  /*)
+-  lt_cv_path_MAGIC="$MAGIC" # Let the user override the test with a path.
+-  ;;
+-  ?:/*)
+-  ac_cv_path_MAGIC="$MAGIC" # Let the user override the test with a dos path.
+-  ;;
+-  *)
+-  ac_save_MAGIC="$MAGIC"
+-  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
+-  ac_dummy="/usr/bin:$PATH"
+-  for ac_dir in $ac_dummy; do
+-    test -z "$ac_dir" && ac_dir=.
+-    if test -f $ac_dir/file; then
+-      lt_cv_path_MAGIC="$ac_dir/file"
+-      if test -n "$file_magic_test_file"; then
+-	case "$deplibs_check_method" in
+-	"file_magic "*)
+-	  file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
+-	  MAGIC="$lt_cv_path_MAGIC"
+-	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
+-	    egrep "$file_magic_regex" > /dev/null; then
+-	    :
+-	  else
+-	    cat <<EOF 1>&2
++	
++fi
+ 
+-*** Warning: the command libtool uses to detect shared libraries,
+-*** $file_magic_cmd, produces output that libtool cannot recognize.
+-*** The result is that libtool may fail to recognize shared libraries
+-*** as such.  This will affect the creation of libtool libraries that
+-*** depend on shared libraries, but programs linked with such libtool
+-*** libraries will work regardless of this problem.  Nevertheless, you
+-*** may want to report the problem to your system manager and/or to
+-*** bug-libtool@gnu.org
++fi
+ 
+-EOF
+-	  fi ;;
+-	esac
+-      fi
+-      break
+-    fi
+-  done
+-  IFS="$ac_save_ifs"
+-  MAGIC="$ac_save_MAGIC"
+-  ;;
+-esac
+ fi
+ 
+-MAGIC="$lt_cv_path_MAGIC"
+-if test -n "$MAGIC"; then
+-  echo "$as_me:3530: result: $MAGIC" >&5
+-echo "${ECHO_T}$MAGIC" >&6
+-else
+-  echo "$as_me:3533: result: no" >&5
+-echo "${ECHO_T}no" >&6
+ fi
+ 
++    ;;
++  esac
++
++  if test "x$lt_cv_dlopen" != xno; then
++    enable_dlopen=yes
+   else
+-    MAGIC=:
++    enable_dlopen=no
+   fi
+-fi
+ 
+-  fi
+-  ;;
+-esac
++  case $lt_cv_dlopen in
++  dlopen)
++    save_CPPFLAGS="$CPPFLAGS"
++        test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
+ 
+-if test -n "$ac_tool_prefix"; then
+-  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
+-set dummy ${ac_tool_prefix}ranlib; ac_word=$2
+-echo "$as_me:3549: checking for $ac_word" >&5
+-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+-if test "${ac_cv_prog_RANLIB+set}" = set; then
++    save_LDFLAGS="$LDFLAGS"
++    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
++
++    save_LIBS="$LIBS"
++    LIBS="$lt_cv_dlopen_libs $LIBS"
++
++    echo "configure:6023: checking whether a program can dlopen itself" >&5
++echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
++if test "${lt_cv_dlopen_self+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  if test -n "$RANLIB"; then
+-  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
++  	  if test "$cross_compiling" = yes; then :
++  lt_cv_dlopen_self=cross
+ else
+-  ac_save_IFS=$IFS; IFS=':'
+-ac_dummy="$PATH"
+-for ac_dir in $ac_dummy; do
+-  IFS=$ac_save_IFS
+-  test -z "$ac_dir" && ac_dir=.
+-  $as_executable_p "$ac_dir/$ac_word" || continue
+-ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
+-break
+-done
++    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
++  lt_status=$lt_dlunknown
++  cat > conftest.$ac_ext <<EOF
++#line 6034 "configure"
++#include "confdefs.h"
+ 
++#if HAVE_DLFCN_H
++#include <dlfcn.h>
++#endif
++
++#include <stdio.h>
++
++#ifdef RTLD_GLOBAL
++#  define LT_DLGLOBAL		RTLD_GLOBAL
++#else
++#  ifdef DL_GLOBAL
++#    define LT_DLGLOBAL		DL_GLOBAL
++#  else
++#    define LT_DLGLOBAL		0
++#  endif
++#endif
++
++/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
++   find out it does not work in some platform. */
++#ifndef LT_DLLAZY_OR_NOW
++#  ifdef RTLD_LAZY
++#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
++#  else
++#    ifdef DL_LAZY
++#      define LT_DLLAZY_OR_NOW		DL_LAZY
++#    else
++#      ifdef RTLD_NOW
++#        define LT_DLLAZY_OR_NOW	RTLD_NOW
++#      else
++#        ifdef DL_NOW
++#          define LT_DLLAZY_OR_NOW	DL_NOW
++#        else
++#          define LT_DLLAZY_OR_NOW	0
++#        endif
++#      endif
++#    endif
++#  endif
++#endif
++
++#ifdef __cplusplus
++extern "C" void exit (int);
++#endif
++
++void fnord() { int i=42;}
++int main ()
++{
++  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
++  int status = $lt_dlunknown;
++
++  if (self)
++    {
++      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
++      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
++      /* dlclose (self); */
++    }
++
++    exit (status);
++}
++EOF
++  if { (eval echo configure:6095: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>/dev/null; then
++    (./conftest; exit; ) 2>/dev/null
++    lt_status=$?
++    case x$lt_status in
++      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
++      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
++      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
++    esac
++  else :
++    # compilation failed
++    lt_cv_dlopen_self=no
++  fi
+ fi
+-fi
+-RANLIB=$ac_cv_prog_RANLIB
+-if test -n "$RANLIB"; then
+-  echo "$as_me:3571: result: $RANLIB" >&5
+-echo "${ECHO_T}$RANLIB" >&6
+-else
+-  echo "$as_me:3574: result: no" >&5
+-echo "${ECHO_T}no" >&6
+-fi
++rm -fr conftest*
+ 
+ fi
+-if test -z "$ac_cv_prog_RANLIB"; then
+-  ac_ct_RANLIB=$RANLIB
+-  # Extract the first word of "ranlib", so it can be a program name with args.
+-set dummy ranlib; ac_word=$2
+-echo "$as_me:3583: checking for $ac_word" >&5
+-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+-if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
++echo "configure:6111: result: $lt_cv_dlopen_self" >&5
++echo "${ECHO_T}$lt_cv_dlopen_self" >&6
++
++    if test "x$lt_cv_dlopen_self" = xyes; then
++      LDFLAGS="$LDFLAGS $link_static_flag"
++      echo "configure:6116: checking whether a statically linked program can dlopen itself" >&5
++echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
++if test "${lt_cv_dlopen_self_static+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  if test -n "$ac_ct_RANLIB"; then
+-  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
++  	  if test "$cross_compiling" = yes; then :
++  lt_cv_dlopen_self_static=cross
+ else
+-  ac_save_IFS=$IFS; IFS=':'
+-ac_dummy="$PATH"
+-for ac_dir in $ac_dummy; do
+-  IFS=$ac_save_IFS
+-  test -z "$ac_dir" && ac_dir=.
+-  $as_executable_p "$ac_dir/$ac_word" || continue
+-ac_cv_prog_ac_ct_RANLIB="ranlib"
+-break
+-done
++    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
++  lt_status=$lt_dlunknown
++  cat > conftest.$ac_ext <<EOF
++#line 6127 "configure"
++#include "confdefs.h"
+ 
+-  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
++#if HAVE_DLFCN_H
++#include <dlfcn.h>
++#endif
++
++#include <stdio.h>
++
++#ifdef RTLD_GLOBAL
++#  define LT_DLGLOBAL		RTLD_GLOBAL
++#else
++#  ifdef DL_GLOBAL
++#    define LT_DLGLOBAL		DL_GLOBAL
++#  else
++#    define LT_DLGLOBAL		0
++#  endif
++#endif
++
++/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
++   find out it does not work in some platform. */
++#ifndef LT_DLLAZY_OR_NOW
++#  ifdef RTLD_LAZY
++#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
++#  else
++#    ifdef DL_LAZY
++#      define LT_DLLAZY_OR_NOW		DL_LAZY
++#    else
++#      ifdef RTLD_NOW
++#        define LT_DLLAZY_OR_NOW	RTLD_NOW
++#      else
++#        ifdef DL_NOW
++#          define LT_DLLAZY_OR_NOW	DL_NOW
++#        else
++#          define LT_DLLAZY_OR_NOW	0
++#        endif
++#      endif
++#    endif
++#  endif
++#endif
++
++#ifdef __cplusplus
++extern "C" void exit (int);
++#endif
++
++void fnord() { int i=42;}
++int main ()
++{
++  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
++  int status = $lt_dlunknown;
++
++  if (self)
++    {
++      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
++      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
++      /* dlclose (self); */
++    }
++
++    exit (status);
++}
++EOF
++  if { (eval echo configure:6188: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>/dev/null; then
++    (./conftest; exit; ) 2>/dev/null
++    lt_status=$?
++    case x$lt_status in
++      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
++      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
++      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
++    esac
++  else :
++    # compilation failed
++    lt_cv_dlopen_self_static=no
++  fi
+ fi
++rm -fr conftest*
++
+ fi
+-ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
+-if test -n "$ac_ct_RANLIB"; then
+-  echo "$as_me:3606: result: $ac_ct_RANLIB" >&5
+-echo "${ECHO_T}$ac_ct_RANLIB" >&6
+-else
+-  echo "$as_me:3609: result: no" >&5
+-echo "${ECHO_T}no" >&6
++echo "configure:6204: result: $lt_cv_dlopen_self_static" >&5
++echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
++    fi
++
++    CPPFLAGS="$save_CPPFLAGS"
++    LDFLAGS="$save_LDFLAGS"
++    LIBS="$save_LIBS"
++    ;;
++  esac
++
++  case $lt_cv_dlopen_self in
++  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
++  *) enable_dlopen_self=unknown ;;
++  esac
++
++  case $lt_cv_dlopen_self_static in
++  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
++  *) enable_dlopen_self_static=unknown ;;
++  esac
+ fi
+ 
+-  RANLIB=$ac_ct_RANLIB
+-else
+-  RANLIB="$ac_cv_prog_RANLIB"
++if test "$enable_shared" = yes && test "$GCC" = yes; then
++  case $archive_cmds in
++  *'~'*)
++    # FIXME: we may have to deal with multi-command sequences.
++    ;;
++  '$CC '*)
++    # Test whether the compiler implicitly links with -lc since on some
++    # systems, -lgcc has to come before -lc. If gcc already passes -lc
++    # to ld, don't add -lc before -lgcc.
++    echo "configure:6234: checking whether -lc should be explicitly linked in" >&5
++echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
++    if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  $rm conftest*
++    echo 'static int dummy;' > conftest.$ac_ext
++
++    if { (eval echo configure:6242: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++      soname=conftest
++      lib=conftest
++      libobjs=conftest.$ac_objext
++      deplibs=
++      wl=$lt_cv_prog_cc_wl
++      compiler_flags=-v
++      linker_flags=-v
++      verstring=
++      output_objdir=.
++      libname=conftest
++      save_allow_undefined_flag=$allow_undefined_flag
++      allow_undefined_flag=
++      if { (eval echo configure:6255: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\") >&5; (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5; }
++      then
++	lt_cv_archive_cmds_need_lc=no
++      else
++	lt_cv_archive_cmds_need_lc=yes
++      fi
++      allow_undefined_flag=$save_allow_undefined_flag
++    else
++      cat conftest.err 1>&5
++    fi
+ fi
+ 
+-if test -n "$ac_tool_prefix"; then
+-  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
+-set dummy ${ac_tool_prefix}strip; ac_word=$2
+-echo "$as_me:3621: checking for $ac_word" >&5
+-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+-if test "${ac_cv_prog_STRIP+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  if test -n "$STRIP"; then
+-  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
++    echo "configure:6267: result: $lt_cv_archive_cmds_need_lc" >&5
++echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
++    ;;
++  esac
++fi
++need_lc=${lt_cv_archive_cmds_need_lc-yes}
++
++# The second clause should only fire when bootstrapping the
++# libtool distribution, otherwise you forgot to ship ltmain.sh
++# with your package, and you will get complaints that there are
++# no rules to generate ltmain.sh.
++if test -f "$ltmain"; then
++  :
+ else
+-  ac_save_IFS=$IFS; IFS=':'
+-ac_dummy="$PATH"
+-for ac_dir in $ac_dummy; do
+-  IFS=$ac_save_IFS
+-  test -z "$ac_dir" && ac_dir=.
+-  $as_executable_p "$ac_dir/$ac_word" || continue
+-ac_cv_prog_STRIP="${ac_tool_prefix}strip"
+-break
+-done
++  # If there is no Makefile yet, we rely on a make rule to execute
++  # `config.status --recheck' to rerun these tests and create the
++  # libtool script then.
++  test -f Makefile && make "$ltmain"
++fi
++
++if test -f "$ltmain"; then
++  trap "$rm \"${ofile}T\"; exit 1" 1 2 15
++  $rm -f "${ofile}T"
++
++  echo creating $ofile
++
++  # Now quote all the things that may contain metacharacters while being
++  # careful not to overquote the AC_SUBSTed values.  We take copies of the
++  # variables and quote the copies for generation of the libtool script.
++  for var in echo old_CC old_CFLAGS \
++    AR AR_FLAGS CC LD LN_S NM SHELL \
++    reload_flag reload_cmds wl \
++    pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \
++    thread_safe_flag_spec whole_archive_flag_spec libname_spec \
++    library_names_spec soname_spec \
++    RANLIB old_archive_cmds old_archive_from_new_cmds old_postinstall_cmds \
++    old_postuninstall_cmds archive_cmds archive_expsym_cmds postinstall_cmds \
++    postuninstall_cmds extract_expsyms_cmds old_archive_from_expsyms_cmds \
++    old_striplib striplib file_magic_cmd export_symbols_cmds \
++    deplibs_check_method allow_undefined_flag no_undefined_flag \
++    finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \
++    hardcode_libdir_flag_spec hardcode_libdir_separator  \
++    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
++    compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do
++
++    case $var in
++    reload_cmds | old_archive_cmds | old_archive_from_new_cmds | \
++    old_postinstall_cmds | old_postuninstall_cmds | \
++    export_symbols_cmds | archive_cmds | archive_expsym_cmds | \
++    extract_expsyms_cmds | old_archive_from_expsyms_cmds | \
++    postinstall_cmds | postuninstall_cmds | \
++    finish_cmds | sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
++      # Double-quote double-evaled strings.
++      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
++      ;;
++    *)
++      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
++      ;;
++    esac
++  done
++
++  cat <<__EOF__ > "${ofile}T"
++#! $SHELL
++
++# `$echo "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
++# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
++# NOTE: Changes made to this file will be lost: look at ltmain.sh.
++#
++# Copyright (C) 1996-2000 Free Software Foundation, Inc.
++# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
++#
++# 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
++#
++# As a special exception to the GNU General Public License, if you
++# distribute this file as part of a program that contains a
++# configuration script generated by Autoconf, you may include it under
++# the same distribution terms that you use for the rest of that program.
++
++# Sed that helps us avoid accidentally triggering echo(1) options like -n.
++Xsed="sed -e s/^X//"
++
++# The HP-UX ksh and POSIX shell print the target directory to stdout
++# if CDPATH is set.
++if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
++
++# ### BEGIN LIBTOOL CONFIG
++
++# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
++
++# Shell to use when invoking shell scripts.
++SHELL=$lt_SHELL
++
++# Whether or not to build shared libraries.
++build_libtool_libs=$enable_shared
++
++# Whether or not to add -lc for building shared libraries.
++build_libtool_need_lc=$need_lc
++
++# Whether or not to build static libraries.
++build_old_libs=$enable_static
++
++# Whether or not to optimize for fast installation.
++fast_install=$enable_fast_install
++
++# The host system.
++host_alias=$host_alias
++host=$host
++
++# An echo program that does not interpret backslashes.
++echo=$lt_echo
++
++# The archiver.
++AR=$lt_AR
++AR_FLAGS=$lt_AR_FLAGS
++
++# The default C compiler.
++CC=$lt_CC
++
++# Is the compiler the GNU C compiler?
++with_gcc=$GCC
++
++# The linker used to build libraries.
++LD=$lt_LD
++
++# Whether we need hard or soft links.
++LN_S=$lt_LN_S
++
++# A BSD-compatible nm program.
++NM=$lt_NM
++
++# A symbol stripping program
++STRIP=$STRIP
++
++# Used to examine libraries when file_magic_cmd begins "file"
++MAGIC_CMD=$MAGIC_CMD
++
++# Used on cygwin: DLL creation program.
++DLLTOOL="$DLLTOOL"
++
++# Used on cygwin: object dumper.
++OBJDUMP="$OBJDUMP"
++
++# Used on cygwin: assembler.
++AS="$AS"
++
++# The name of the directory that contains temporary libtool files.
++objdir=$objdir
++
++# How to create reloadable object files.
++reload_flag=$lt_reload_flag
++reload_cmds=$lt_reload_cmds
++
++# How to pass a linker flag through the compiler.
++wl=$lt_wl
++
++# Object file suffix (normally "o").
++objext="$ac_objext"
++
++# Old archive suffix (normally "a").
++libext="$libext"
++
++# Executable file suffix (normally "").
++exeext="$exeext"
++
++# Additional compiler flags for building library objects.
++pic_flag=$lt_pic_flag
++pic_mode=$pic_mode
++
++# Does compiler simultaneously support -c and -o options?
++compiler_c_o=$lt_compiler_c_o
++
++# Can we write directly to a .lo ?
++compiler_o_lo=$lt_compiler_o_lo
++
++# Must we lock files when doing compilation ?
++need_locks=$lt_need_locks
++
++# Do we need the lib prefix for modules?
++need_lib_prefix=$need_lib_prefix
++
++# Do we need a version for libraries?
++need_version=$need_version
++
++# Whether dlopen is supported.
++dlopen_support=$enable_dlopen
++
++# Whether dlopen of programs is supported.
++dlopen_self=$enable_dlopen_self
++
++# Whether dlopen of statically linked programs is supported.
++dlopen_self_static=$enable_dlopen_self_static
++
++# Compiler flag to prevent dynamic linking.
++link_static_flag=$lt_link_static_flag
++
++# Compiler flag to turn off builtin functions.
++no_builtin_flag=$lt_no_builtin_flag
++
++# Compiler flag to allow reflexive dlopens.
++export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
++
++# Compiler flag to generate shared objects directly from archives.
++whole_archive_flag_spec=$lt_whole_archive_flag_spec
++
++# Compiler flag to generate thread-safe objects.
++thread_safe_flag_spec=$lt_thread_safe_flag_spec
++
++# Library versioning type.
++version_type=$version_type
++
++# Format of library name prefix.
++libname_spec=$lt_libname_spec
++
++# List of archive names.  First name is the real one, the rest are links.
++# The last name is the one that the linker finds with -lNAME.
++library_names_spec=$lt_library_names_spec
++
++# The coded name of the library, if different from the real name.
++soname_spec=$lt_soname_spec
++
++# Commands used to build and install an old-style archive.
++RANLIB=$lt_RANLIB
++old_archive_cmds=$lt_old_archive_cmds
++old_postinstall_cmds=$lt_old_postinstall_cmds
++old_postuninstall_cmds=$lt_old_postuninstall_cmds
++
++# Create an old-style archive from a shared archive.
++old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
++
++# Create a temporary old-style archive to link instead of a shared archive.
++old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
++
++# Commands used to build and install a shared archive.
++archive_cmds=$lt_archive_cmds
++archive_expsym_cmds=$lt_archive_expsym_cmds
++postinstall_cmds=$lt_postinstall_cmds
++postuninstall_cmds=$lt_postuninstall_cmds
++
++# Commands to strip libraries.
++old_striplib=$lt_old_striplib
++striplib=$lt_striplib
++
++# Method to check whether dependent libraries are shared objects.
++deplibs_check_method=$lt_deplibs_check_method
++
++# Command to use when deplibs_check_method == file_magic.
++file_magic_cmd=$lt_file_magic_cmd
++
++# Flag that allows shared libraries with undefined symbols to be built.
++allow_undefined_flag=$lt_allow_undefined_flag
++
++# Flag that forces no undefined symbols.
++no_undefined_flag=$lt_no_undefined_flag
++
++# Commands used to finish a libtool library installation in a directory.
++finish_cmds=$lt_finish_cmds
++
++# Same as above, but a single script fragment to be evaled but not shown.
++finish_eval=$lt_finish_eval
++
++# Take the output of nm and produce a listing of raw symbols and C names.
++global_symbol_pipe=$lt_global_symbol_pipe
++
++# Transform the output of nm in a proper C declaration
++global_symbol_to_cdecl=$lt_global_symbol_to_cdecl
++
++# This is the shared library runtime path variable.
++runpath_var=$runpath_var
++
++# This is the shared library path variable.
++shlibpath_var=$shlibpath_var
++
++# Is shlibpath searched before the hard-coded library search path?
++shlibpath_overrides_runpath=$shlibpath_overrides_runpath
++
++# How to hardcode a shared library path into an executable.
++hardcode_action=$hardcode_action
++
++# Whether we should hardcode library paths into libraries.
++hardcode_into_libs=$hardcode_into_libs
+ 
+-fi
+-fi
+-STRIP=$ac_cv_prog_STRIP
+-if test -n "$STRIP"; then
+-  echo "$as_me:3643: result: $STRIP" >&5
+-echo "${ECHO_T}$STRIP" >&6
+-else
+-  echo "$as_me:3646: result: no" >&5
+-echo "${ECHO_T}no" >&6
+-fi
++# Flag to hardcode \$libdir into a binary during linking.
++# This must work even if \$libdir does not exist.
++hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
+ 
+-fi
+-if test -z "$ac_cv_prog_STRIP"; then
+-  ac_ct_STRIP=$STRIP
+-  # Extract the first word of "strip", so it can be a program name with args.
+-set dummy strip; ac_word=$2
+-echo "$as_me:3655: checking for $ac_word" >&5
+-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+-if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  if test -n "$ac_ct_STRIP"; then
+-  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
+-else
+-  ac_save_IFS=$IFS; IFS=':'
+-ac_dummy="$PATH"
+-for ac_dir in $ac_dummy; do
+-  IFS=$ac_save_IFS
+-  test -z "$ac_dir" && ac_dir=.
+-  $as_executable_p "$ac_dir/$ac_word" || continue
+-ac_cv_prog_ac_ct_STRIP="strip"
+-break
+-done
++# Whether we need a single -rpath flag with a separated argument.
++hardcode_libdir_separator=$lt_hardcode_libdir_separator
+ 
+-  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
+-fi
+-fi
+-ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
+-if test -n "$ac_ct_STRIP"; then
+-  echo "$as_me:3678: result: $ac_ct_STRIP" >&5
+-echo "${ECHO_T}$ac_ct_STRIP" >&6
+-else
+-  echo "$as_me:3681: result: no" >&5
+-echo "${ECHO_T}no" >&6
+-fi
++# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
++# resulting binary.
++hardcode_direct=$hardcode_direct
+ 
+-  STRIP=$ac_ct_STRIP
+-else
+-  STRIP="$ac_cv_prog_STRIP"
+-fi
++# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
++# resulting binary.
++hardcode_minus_L=$hardcode_minus_L
+ 
+-# Check for any special flags to pass to ltconfig.
+-libtool_flags="--cache-file=$cache_file"
+-test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
+-test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
+-test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
+-test "$ac_cv_c_compiler_gnu" = yes && libtool_flags="$libtool_flags --with-gcc"
+-test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
++# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
++# the resulting binary.
++hardcode_shlibpath_var=$hardcode_shlibpath_var
+ 
+-# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
+-if test "${enable_libtool_lock+set}" = set; then
+-  enableval="$enable_libtool_lock"
++# Variables whose values should be saved in libtool wrapper scripts and
++# restored at relink time.
++variables_saved_for_relink="$variables_saved_for_relink"
+ 
+-fi;
+-test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
+-test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
++# Whether libtool must link a program against all its dependency libraries.
++link_all_deplibs=$link_all_deplibs
+ 
+-# Check whether --with-pic or --without-pic was given.
+-if test "${with_pic+set}" = set; then
+-  withval="$with_pic"
+-  pic_mode="$withval"
+-else
+-  pic_mode=default
+-fi;
+-test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
+-test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
++# Compile-time system search path for libraries
++sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
+ 
+-# Some flags need to be propagated to the compiler or linker for good
+-# libtool support.
+-case "$host" in
+-*-*-irix6*)
+-  # Find out which ABI we are using.
+-  echo '#line 3721 "configure"' > conftest.$ac_ext
+-  if { (eval echo "$as_me:3722: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:3725: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-    case "`/usr/bin/file conftest.o`" in
+-    *32-bit*)
+-      LD="${LD-ld} -32"
+-      ;;
+-    *N32*)
+-      LD="${LD-ld} -n32"
+-      ;;
+-    *64-bit*)
+-      LD="${LD-ld} -64"
+-      ;;
+-    esac
+-  fi
+-  rm -rf conftest*
+-  ;;
++# Run-time system search path for libraries
++sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
+ 
+-*-*-sco3.2v5*)
+-  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
+-  SAVE_CFLAGS="$CFLAGS"
+-  CFLAGS="$CFLAGS -belf"
+-  echo "$as_me:3746: checking whether the C compiler needs -belf" >&5
+-echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
+-if test "${lt_cv_cc_needs_belf+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
++# Fix the shell variable \$srcfile for the compiler.
++fix_srcfile_path="$fix_srcfile_path"
+ 
+-     ac_ext=c
+-ac_cpp='$CPP $CPPFLAGS'
+-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+-ac_compiler_gnu=$ac_cv_c_compiler_gnu
++# Set to yes if exported symbols are required.
++always_export_symbols=$always_export_symbols
+ 
+-     cat >conftest.$ac_ext <<_ACEOF
+-#line 3759 "configure"
+-#include "confdefs.h"
++# The commands to list exported symbols.
++export_symbols_cmds=$lt_export_symbols_cmds
+ 
+-int
+-main ()
+-{
++# The commands to extract the exported symbol list from a shared archive.
++extract_expsyms_cmds=$lt_extract_expsyms_cmds
+ 
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:3771: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:3774: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:3776: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:3779: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  lt_cv_cc_needs_belf=yes
+-else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-lt_cv_cc_needs_belf=no
+-fi
+-rm -f conftest$ac_exeext conftest.$ac_ext
+-     ac_ext=c
+-ac_cpp='$CPP $CPPFLAGS'
+-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+-ac_compiler_gnu=$ac_cv_c_compiler_gnu
++# Symbols that should not be listed in the preloaded symbols.
++exclude_expsyms=$lt_exclude_expsyms
+ 
+-fi
+-echo "$as_me:3795: result: $lt_cv_cc_needs_belf" >&5
+-echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
+-  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
+-    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
+-    CFLAGS="$SAVE_CFLAGS"
+-  fi
+-  ;;
++# Symbols that must always be exported.
++include_expsyms=$lt_include_expsyms
+ 
+-esac
++# ### END LIBTOOL CONFIG
+ 
+-# Save cache, so that ltconfig can load it
+-cat >confcache <<\_ACEOF
+-# 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, see configure's option --config-cache.
+-# It is not useful on other systems.  If it contains results you don't
+-# want to keep, you may remove or edit it.
+-#
+-# config.status only pays attention to the cache file if you give it
+-# the --recheck option to rerun configure.
+-#
+-# `ac_cv_env_foo' variables (set or unset) will be overriden when
+-# loading this file, other *unset* `ac_cv_foo' will be assigned the
+-# following values.
++__EOF__
+ 
+-_ACEOF
++  case $host_os in
++  aix3*)
++    cat <<\EOF >> "${ofile}T"
+ 
+-# The following way of writing the cache mishandles newlines in values,
+-# but we know of no workaround that is simple, portable, and efficient.
+-# So, don't put newlines in cache variables' values.
+-# Ultrix sh set writes to stderr and can't be redirected directly,
+-# and sets the high bit in the cache file unless we assign to the vars.
+-{
+-  (set) 2>&1 |
+-    case `(ac_space=' '; set | grep ac_space) 2>&1` in
+-    *ac_space=\ *)
+-      # `set' does not quote correctly, so add quotes (double-quote
+-      # substitution turns \\\\ into \\, and sed turns \\ into \).
+-      sed -n \
+-        "s/'/'\\\\''/g;
+-    	  s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
+-      ;;
+-    *)
+-      # `set' quotes correctly as required by POSIX, so do not add quotes.
+-      sed -n \
+-        "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
+-      ;;
+-    esac;
+-} |
+-  sed '
+-     t clear
+-     : clear
+-     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
+-     t end
+-     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
+-     : end' >>confcache
+-if cmp -s $cache_file confcache; then :; else
+-  if test -w $cache_file; then
+-    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
+-    cat confcache >$cache_file
+-  else
+-    echo "not updating unwritable cache $cache_file"
+-  fi
++# AIX sometimes has problems with the GCC collect2 program.  For some
++# reason, if we set the COLLECT_NAMES environment variable, the problems
++# vanish in a puff of smoke.
++if test "X${COLLECT_NAMES+set}" != Xset; then
++  COLLECT_NAMES=
++  export COLLECT_NAMES
+ fi
+-rm -f confcache
++EOF
++    ;;
++  esac
++
++  case $host_os in
++  cygwin* | mingw* | pw32* | os2*)
++    cat <<'EOF' >> "${ofile}T"
++      # This is a source program that is used to create dlls on Windows
++      # Don't remove nor modify the starting and closing comments
++# /* ltdll.c starts here */
++# #define WIN32_LEAN_AND_MEAN
++# #include <windows.h>
++# #undef WIN32_LEAN_AND_MEAN
++# #include <stdio.h>
++#
++# #ifndef __CYGWIN__
++# #  ifdef __CYGWIN32__
++# #    define __CYGWIN__ __CYGWIN32__
++# #  endif
++# #endif
++#
++# #ifdef __cplusplus
++# extern "C" {
++# #endif
++# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
++# #ifdef __cplusplus
++# }
++# #endif
++#
++# #ifdef __CYGWIN__
++# #include <cygwin/cygwin_dll.h>
++# DECLARE_CYGWIN_DLL( DllMain );
++# #endif
++# HINSTANCE __hDllInstance_base;
++#
++# BOOL APIENTRY
++# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
++# {
++#   __hDllInstance_base = hInst;
++#   return TRUE;
++# }
++# /* ltdll.c ends here */
++        # This is a source program that is used to create import libraries
++        # on Windows for dlls which lack them. Don't remove nor modify the
++        # starting and closing comments
++# /* impgen.c starts here */
++# /*   Copyright (C) 1999-2000 Free Software Foundation, Inc.
++#
++#  This file is part of GNU libtool.
++#
++#  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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
++#  */
++#
++# #include <stdio.h>		/* for printf() */
++# #include <unistd.h>		/* for open(), lseek(), read() */
++# #include <fcntl.h>		/* for O_RDONLY, O_BINARY */
++# #include <string.h>		/* for strdup() */
++#
++# /* O_BINARY isn't required (or even defined sometimes) under Unix */
++# #ifndef O_BINARY
++# #define O_BINARY 0
++# #endif
++#
++# static unsigned int
++# pe_get16 (fd, offset)
++#      int fd;
++#      int offset;
++# {
++#   unsigned char b[2];
++#   lseek (fd, offset, SEEK_SET);
++#   read (fd, b, 2);
++#   return b[0] + (b[1]<<8);
++# }
++#
++# static unsigned int
++# pe_get32 (fd, offset)
++#     int fd;
++#     int offset;
++# {
++#   unsigned char b[4];
++#   lseek (fd, offset, SEEK_SET);
++#   read (fd, b, 4);
++#   return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
++# }
++#
++# static unsigned int
++# pe_as32 (ptr)
++#      void *ptr;
++# {
++#   unsigned char *b = ptr;
++#   return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
++# }
++#
++# int
++# main (argc, argv)
++#     int argc;
++#     char *argv[];
++# {
++#     int dll;
++#     unsigned long pe_header_offset, opthdr_ofs, num_entries, i;
++#     unsigned long export_rva, export_size, nsections, secptr, expptr;
++#     unsigned long name_rvas, nexp;
++#     unsigned char *expdata, *erva;
++#     char *filename, *dll_name;
++#
++#     filename = argv[1];
++#
++#     dll = open(filename, O_RDONLY|O_BINARY);
++#     if (dll < 1)
++# 	return 1;
++#
++#     dll_name = filename;
++#
++#     for (i=0; filename[i]; i++)
++# 	if (filename[i] == '/' || filename[i] == '\\'  || filename[i] == ':')
++# 	    dll_name = filename + i +1;
++#
++#     pe_header_offset = pe_get32 (dll, 0x3c);
++#     opthdr_ofs = pe_header_offset + 4 + 20;
++#     num_entries = pe_get32 (dll, opthdr_ofs + 92);
++#
++#     if (num_entries < 1) /* no exports */
++# 	return 1;
++#
++#     export_rva = pe_get32 (dll, opthdr_ofs + 96);
++#     export_size = pe_get32 (dll, opthdr_ofs + 100);
++#     nsections = pe_get16 (dll, pe_header_offset + 4 +2);
++#     secptr = (pe_header_offset + 4 + 20 +
++# 	      pe_get16 (dll, pe_header_offset + 4 + 16));
++#
++#     expptr = 0;
++#     for (i = 0; i < nsections; i++)
++#     {
++# 	char sname[8];
++# 	unsigned long secptr1 = secptr + 40 * i;
++# 	unsigned long vaddr = pe_get32 (dll, secptr1 + 12);
++# 	unsigned long vsize = pe_get32 (dll, secptr1 + 16);
++# 	unsigned long fptr = pe_get32 (dll, secptr1 + 20);
++# 	lseek(dll, secptr1, SEEK_SET);
++# 	read(dll, sname, 8);
++# 	if (vaddr <= export_rva && vaddr+vsize > export_rva)
++# 	{
++# 	    expptr = fptr + (export_rva - vaddr);
++# 	    if (export_rva + export_size > vaddr + vsize)
++# 		export_size = vsize - (export_rva - vaddr);
++# 	    break;
++# 	}
++#     }
++#
++#     expdata = (unsigned char*)malloc(export_size);
++#     lseek (dll, expptr, SEEK_SET);
++#     read (dll, expdata, export_size);
++#     erva = expdata - export_rva;
++#
++#     nexp = pe_as32 (expdata+24);
++#     name_rvas = pe_as32 (expdata+32);
++#
++#     printf ("EXPORTS\n");
++#     for (i = 0; i<nexp; i++)
++#     {
++# 	unsigned long name_rva = pe_as32 (erva+name_rvas+i*4);
++# 	printf ("\t%s @ %ld ;\n", erva+name_rva, 1+ i);
++#     }
++#
++#     return 0;
++# }
++# /* impgen.c ends here */
+ 
+-# Actually configure libtool.  ac_aux_dir is where install-sh is found.
+-AR="$AR" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
+-MAGIC="$MAGIC" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
+-LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
+-AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
+-objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
+-deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
+-${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
+-$libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
+-|| { { echo "$as_me:3870: error: libtool configure failed" >&5
+-echo "$as_me: error: libtool configure failed" >&2;}
+-   { (exit 1); exit 1; }; }
++EOF
++    ;;
++  esac
+ 
+-# Reload cache, that may have been modified by ltconfig
+-if test -r "$cache_file"; then
+-  # Some versions of bash will fail to source /dev/null (special
+-  # files actually), so we avoid doing that.
+-  if test -f "$cache_file"; then
+-    { echo "$as_me:3879: loading cache $cache_file" >&5
+-echo "$as_me: loading cache $cache_file" >&6;}
+-    case $cache_file in
+-      [\\/]* | ?:[\\/]* ) . $cache_file;;
+-      *)                      . ./$cache_file;;
+-    esac
+-  fi
+-else
+-  { echo "$as_me:3887: creating cache $cache_file" >&5
+-echo "$as_me: creating cache $cache_file" >&6;}
+-  >$cache_file
++  # We use sed instead of cat because bash on DJGPP gets confused if
++  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
++  # text mode, it properly converts lines to CR/LF.  This bash problem
++  # is reportedly fixed, but why not run on old versions too?
++  sed '$q' "$ltmain" >> "${ofile}T" || (rm -f "${ofile}T"; exit 1)
++
++  mv -f "${ofile}T" "$ofile" || \
++    (rm -f "$ofile" && cp "${ofile}T" "$ofile" && rm -f "${ofile}T")
++  chmod +x "$ofile"
+ fi
+ 
+ # This can be used to rebuild libtool when needed
+-LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh"
++LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
+ 
+ # Always use our own libtool.
+ LIBTOOL='$(SHELL) $(top_builddir)/libtool'
+ 
+-# Redirect the config.log output again, so that the ltconfig log is not
+-# clobbered by the next message.
+-exec 5>>./config.log
++# Prevent multiple expansion
+ 
+ WFLAGS_NOUNUSED=""
+ WFLAGS_NOIMPLICITINT=""
+@@ -3931,25 +6857,21 @@
+ 
+ do
+ ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
+-echo "$as_me:3934: checking for $ac_header" >&5
++
++echo "configure:6861: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 3940 "configure"
++#line 6867 "configure"
+ #include "confdefs.h"
+ #include <$ac_header>
++
+ _ACEOF
+-if { (eval echo "$as_me:3944: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
+-  (eval $ac_cpp conftest.$ac_ext >/dev/null) 2>conftest.er1
+-  ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
+-  rm -f conftest.er1
+-  cat conftest.err >&5
+-  echo "$as_me:3950: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  if test -s conftest.err; then
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:6873: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+   else
+     ac_cpp_err=
+@@ -3957,16 +6879,19 @@
+ else
+   ac_cpp_err=yes
+ fi
++
+ if test -z "$ac_cpp_err"; then
+   eval "$ac_ac_Header=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  cat conftest.err >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_Header=no"
+ fi
+-rm -f conftest.err conftest.$ac_ext
++rm -f conftest*
++
+ fi
+-echo "$as_me:3969: result: `eval echo '${'$ac_ac_Header'}'`" >&5
++echo "configure:6894: result: `eval echo '${'$ac_ac_Header'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
+ if test `eval echo '${'$ac_ac_Header'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -3978,7 +6903,7 @@
+ 
+ fi
+ 
+-echo "$as_me:3981: checking for dbopen" >&5
++echo "configure:6906: checking for dbopen" >&5
+ echo $ECHO_N "checking for dbopen... $ECHO_C" >&6
+ if test "${ac_cv_funclib_dbopen+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -3994,7 +6919,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 3997 "configure"
++#line 6922 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -4013,20 +6938,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:4016: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:4019: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:4021: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:4024: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:6941: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_dbopen=$ac_lib; else ac_cv_funclib_dbopen=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -4039,17 +6955,17 @@
+ eval "ac_res=\$ac_cv_funclib_dbopen"
+ 
+ if false; then
+-
++	
+ for ac_func in dbopen
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:4046: checking for $ac_func" >&5
++echo "configure:6962: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 4052 "configure"
++#line 6968 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -4080,25 +6996,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:4083: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:4086: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:4088: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:4091: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:6999: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:4101: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:7008: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -4122,13 +7029,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:4125: result: yes" >&5
++	echo "configure:7032: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_dbopen=no"
+ 	eval "LIB_dbopen="
+-	echo "$as_me:4131: result: no" >&5
++	echo "configure:7038: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -4142,12 +7049,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:4145: result: yes, in $ac_res" >&5
++	echo "configure:7052: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "$as_me:4150: checking for dbm_firstkey" >&5
++echo "configure:7057: checking for dbm_firstkey" >&5
+ echo $ECHO_N "checking for dbm_firstkey... $ECHO_C" >&6
+ if test "${ac_cv_funclib_dbm_firstkey+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -4163,7 +7070,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 4166 "configure"
++#line 7073 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -4175,20 +7082,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:4178: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:4181: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:4183: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:4186: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:7085: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_dbm_firstkey=$ac_lib; else ac_cv_funclib_dbm_firstkey=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -4201,17 +7099,17 @@
+ eval "ac_res=\$ac_cv_funclib_dbm_firstkey"
+ 
+ if false; then
+-
++	
+ for ac_func in dbm_firstkey
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:4208: checking for $ac_func" >&5
++echo "configure:7106: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 4214 "configure"
++#line 7112 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -4242,25 +7140,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:4245: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:4248: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:4250: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:4253: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:7143: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:4263: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:7152: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -4284,13 +7173,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:4287: result: yes" >&5
++	echo "configure:7176: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_dbm_firstkey=no"
+ 	eval "LIB_dbm_firstkey="
+-	echo "$as_me:4293: result: no" >&5
++	echo "configure:7182: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -4304,12 +7193,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:4307: result: yes, in $ac_res" >&5
++	echo "configure:7196: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "$as_me:4312: checking for db_create" >&5
++echo "configure:7201: checking for db_create" >&5
+ echo $ECHO_N "checking for db_create... $ECHO_C" >&6
+ if test "${ac_cv_funclib_db_create+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -4325,7 +7214,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 4328 "configure"
++#line 7217 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -4337,20 +7226,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:4340: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:4343: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:4345: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:4348: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:7229: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_db_create=$ac_lib; else ac_cv_funclib_db_create=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -4363,17 +7243,17 @@
+ eval "ac_res=\$ac_cv_funclib_db_create"
+ 
+ if false; then
+-
++	
+ for ac_func in db_create
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:4370: checking for $ac_func" >&5
++echo "configure:7250: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 4376 "configure"
++#line 7256 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -4404,25 +7284,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:4407: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:4410: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:4412: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:4415: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:7287: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:4425: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:7296: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -4446,13 +7317,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:4449: result: yes" >&5
++	echo "configure:7320: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_db_create=no"
+ 	eval "LIB_db_create="
+-	echo "$as_me:4455: result: no" >&5
++	echo "configure:7326: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -4466,7 +7337,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:4469: result: yes, in $ac_res" >&5
++	echo "configure:7340: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -4479,7 +7350,7 @@
+ 	DBLIB="$DBLIB $LIB_dbm_firstkey"
+ fi
+ 
+-echo "$as_me:4482: checking for inline" >&5
++echo "configure:7353: checking for inline" >&5
+ echo $ECHO_N "checking for inline... $ECHO_C" >&6
+ if test "${ac_cv_c_inline+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -4487,7 +7358,7 @@
+   ac_cv_c_inline=no
+ for ac_kw in inline __inline__ __inline; do
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 4490 "configure"
++#line 7361 "configure"
+ #include "confdefs.h"
+ #ifndef __cplusplus
+ $ac_kw int foo () {return 0; }
+@@ -4495,26 +7366,17 @@
+ 
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:4498: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:4501: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:4503: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:4506: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:7369: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_c_inline=$ac_kw; break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ done
+ 
+ fi
+-echo "$as_me:4517: result: $ac_cv_c_inline" >&5
++echo "configure:7379: result: $ac_cv_c_inline" >&5
+ echo "${ECHO_T}$ac_cv_c_inline" >&6
+ case $ac_cv_c_inline in
+   inline | yes) ;;
+@@ -4529,13 +7391,13 @@
+  ;;
+ esac
+ 
+-echo "$as_me:4532: checking for an ANSI C-conforming const" >&5
++echo "configure:7394: checking for an ANSI C-conforming const" >&5
+ echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
+ if test "${ac_cv_c_const+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 4538 "configure"
++#line 7400 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -4593,25 +7455,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:4596: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:4599: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:4601: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:4604: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:7458: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_c_const=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_c_const=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_c_const=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:4614: result: $ac_cv_c_const" >&5
++echo "configure:7467: result: $ac_cv_c_const" >&5
+ echo "${ECHO_T}$ac_cv_c_const" >&6
+ if test $ac_cv_c_const = no; then
+ 
+@@ -4621,13 +7474,13 @@
+ 
+ fi
+ 
+-echo "$as_me:4624: checking for ANSI C header files" >&5
++echo "configure:7477: checking for ANSI C header files" >&5
+ echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
+ if test "${ac_cv_header_stdc+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 4630 "configure"
++#line 7483 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ #include <stdarg.h>
+@@ -4635,15 +7488,9 @@
+ #include <float.h>
+ 
+ _ACEOF
+-if { (eval echo "$as_me:4638: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
+-  (eval $ac_cpp conftest.$ac_ext >/dev/null) 2>conftest.er1
+-  ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
+-  rm -f conftest.er1
+-  cat conftest.err >&5
+-  echo "$as_me:4644: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  if test -s conftest.err; then
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:7492: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+   else
+     ac_cpp_err=
+@@ -4651,19 +7498,21 @@
+ else
+   ac_cpp_err=yes
+ fi
++
+ if test -z "$ac_cpp_err"; then
+   ac_cv_header_stdc=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  cat conftest.err >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_header_stdc=no
+ fi
+-rm -f conftest.err conftest.$ac_ext
++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 <<_ACEOF
+-#line 4666 "configure"
++#line 7515 "configure"
+ #include "confdefs.h"
+ #include <string.h>
+ 
+@@ -4681,7 +7530,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 <<_ACEOF
+-#line 4684 "configure"
++#line 7533 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ 
+@@ -4702,7 +7551,7 @@
+   :
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 4705 "configure"
++#line 7554 "configure"
+ #include "confdefs.h"
+ #include <ctype.h>
+ #if ((' ' & 0x0FF) == 0x020)
+@@ -4728,27 +7577,20 @@
+ }
+ _ACEOF
+ rm -f conftest$ac_exeext
+-if { (eval echo "$as_me:4731: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:4734: \$? = $ac_status" >&5
+-  (exit $ac_status); } && { (eval echo "$as_me:4735: \"./conftest$ac_exeext\"") >&5
+-  (eval ./conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:4738: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:7580: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
++   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
+   :
+ else
+-  echo "$as_me: program exited with status $ac_status" >&5
+-echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_header_stdc=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_header_stdc=no
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
++
+ fi
+ fi
+-echo "$as_me:4751: result: $ac_cv_header_stdc" >&5
++echo "configure:7593: result: $ac_cv_header_stdc" >&5
+ echo "${ECHO_T}$ac_cv_header_stdc" >&6
+ if test $ac_cv_header_stdc = yes; then
+ 
+@@ -4758,61 +7600,13 @@
+ 
+ fi
+ 
+-for ac_header in stdlib.h string.h memory.h strings.h inttypes.h unistd.h
+-do
+-ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
+-echo "$as_me:4764: checking for $ac_header" >&5
+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+-if eval "test \"\${$ac_ac_Header+set}\" = set"; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  cat >conftest.$ac_ext <<_ACEOF
+-#line 4770 "configure"
+-#include "confdefs.h"
+-#include <$ac_header>
+-_ACEOF
+-if { (eval echo "$as_me:4774: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
+-  (eval $ac_cpp conftest.$ac_ext >/dev/null) 2>conftest.er1
+-  ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
+-  rm -f conftest.er1
+-  cat conftest.err >&5
+-  echo "$as_me:4780: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  if test -s conftest.err; then
+-    ac_cpp_err=$ac_c_preproc_warn_flag
+-  else
+-    ac_cpp_err=
+-  fi
+-else
+-  ac_cpp_err=yes
+-fi
+-if test -z "$ac_cpp_err"; then
+-  eval "$ac_ac_Header=yes"
+-else
+-  echo "$as_me: failed program was:" >&5
+-  cat conftest.$ac_ext >&5
+-  eval "$ac_ac_Header=no"
+-fi
+-rm -f conftest.err conftest.$ac_ext
+-fi
+-echo "$as_me:4799: result: `eval echo '${'$ac_ac_Header'}'`" >&5
+-echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
+-if test `eval echo '${'$ac_ac_Header'}'` = yes; then
+-  cat >>confdefs.h <<EOF
+-#define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
+-EOF
+-
+-fi
+-done
+-
+-echo "$as_me:4809: checking for size_t" >&5
++echo "configure:7603: checking for size_t" >&5
+ echo $ECHO_N "checking for size_t... $ECHO_C" >&6
+ if test "${ac_cv_type_size_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 4815 "configure"
++#line 7609 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -4827,25 +7621,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:4830: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:4833: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:4835: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:4838: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:7624: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_size_t=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_size_t=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_size_t=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:4848: result: $ac_cv_type_size_t" >&5
++echo "configure:7633: result: $ac_cv_type_size_t" >&5
+ echo "${ECHO_T}$ac_cv_type_size_t" >&6
+ if test $ac_cv_type_size_t = yes; then
+   :
+@@ -4857,13 +7642,13 @@
+ 
+ fi
+ 
+-echo "$as_me:4860: checking for pid_t" >&5
++echo "configure:7645: checking for pid_t" >&5
+ echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
+ if test "${ac_cv_type_pid_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 4866 "configure"
++#line 7651 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -4878,25 +7663,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:4881: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:4884: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:4886: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:4889: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:7666: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_pid_t=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_pid_t=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_pid_t=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:4899: result: $ac_cv_type_pid_t" >&5
++echo "configure:7675: result: $ac_cv_type_pid_t" >&5
+ echo "${ECHO_T}$ac_cv_type_pid_t" >&6
+ if test $ac_cv_type_pid_t = yes; then
+   :
+@@ -4908,13 +7684,13 @@
+ 
+ fi
+ 
+-echo "$as_me:4911: checking for uid_t in sys/types.h" >&5
++echo "configure:7687: checking for uid_t in sys/types.h" >&5
+ echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
+ if test "${ac_cv_type_uid_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 4917 "configure"
++#line 7693 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ 
+@@ -4928,7 +7704,7 @@
+ rm -f conftest*
+ 
+ fi
+-echo "$as_me:4931: result: $ac_cv_type_uid_t" >&5
++echo "configure:7707: result: $ac_cv_type_uid_t" >&5
+ echo "${ECHO_T}$ac_cv_type_uid_t" >&6
+ if test $ac_cv_type_uid_t = no; then
+ 
+@@ -4942,13 +7718,13 @@
+ 
+ fi
+ 
+-echo "$as_me:4945: checking return type of signal handlers" >&5
++echo "configure:7721: checking return type of signal handlers" >&5
+ echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
+ if test "${ac_cv_type_signal+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 4951 "configure"
++#line 7727 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #include <signal.h>
+@@ -4970,25 +7746,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:4973: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:4976: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:4978: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:4981: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:7749: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_signal=void
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_signal=int
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_signal=int
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:4991: result: $ac_cv_type_signal" >&5
++echo "configure:7758: result: $ac_cv_type_signal" >&5
+ echo "${ECHO_T}$ac_cv_type_signal" >&6
+ 
+ cat >>confdefs.h <<EOF
+@@ -4996,20 +7763,20 @@
+ EOF
+ 
+ if test "$ac_cv_type_signal" = "void" ; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define VOID_RETSIGTYPE 1
+ EOF
+ 
+ fi
+ 
+-echo "$as_me:5006: checking whether time.h and sys/time.h may both be included" >&5
++echo "configure:7773: checking whether time.h and sys/time.h may both be included" >&5
+ echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
+ if test "${ac_cv_header_time+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 5012 "configure"
++#line 7779 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #include <sys/time.h>
+@@ -5024,25 +7791,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:5027: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:5030: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:5032: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:5035: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:7794: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_header_time=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_header_time=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_header_time=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:5045: result: $ac_cv_header_time" >&5
++echo "configure:7803: result: $ac_cv_header_time" >&5
+ echo "${ECHO_T}$ac_cv_header_time" >&6
+ if test $ac_cv_header_time = yes; then
+ 
+@@ -5055,25 +7813,21 @@
+ for ac_header in standards.h
+ do
+ ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
+-echo "$as_me:5058: checking for $ac_header" >&5
++
++echo "configure:7817: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 5064 "configure"
++#line 7823 "configure"
+ #include "confdefs.h"
+ #include <$ac_header>
++
+ _ACEOF
+-if { (eval echo "$as_me:5068: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
+-  (eval $ac_cpp conftest.$ac_ext >/dev/null) 2>conftest.er1
+-  ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
+-  rm -f conftest.er1
+-  cat conftest.err >&5
+-  echo "$as_me:5074: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  if test -s conftest.err; then
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:7829: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+   else
+     ac_cpp_err=
+@@ -5081,16 +7835,19 @@
+ else
+   ac_cpp_err=yes
+ fi
++
+ if test -z "$ac_cpp_err"; then
+   eval "$ac_ac_Header=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  cat conftest.err >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_Header=no"
+ fi
+-rm -f conftest.err conftest.$ac_ext
++rm -f conftest*
++
+ fi
+-echo "$as_me:5093: result: `eval echo '${'$ac_ac_Header'}'`" >&5
++echo "configure:7850: result: `eval echo '${'$ac_ac_Header'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
+ if test `eval echo '${'$ac_ac_Header'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -5104,13 +7861,13 @@
+ 
+ cv=`echo "$i" | sed 'y%./+-%__p_%'`
+ 
+-echo "$as_me:5107: checking for $i" >&5
++echo "configure:7864: checking for $i" >&5
+ echo $ECHO_N "checking for $i... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_header_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 5113 "configure"
++#line 7870 "configure"
+ #include "confdefs.h"
+ \
+ #ifdef HAVE_STANDARDS_H
+@@ -5119,15 +7876,9 @@
+ #include <$i>
+ 
+ _ACEOF
+-if { (eval echo "$as_me:5122: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
+-  (eval $ac_cpp conftest.$ac_ext >/dev/null) 2>conftest.er1
+-  ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
+-  rm -f conftest.er1
+-  cat conftest.err >&5
+-  echo "$as_me:5128: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  if test -s conftest.err; then
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:7880: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+   else
+     ac_cpp_err=
+@@ -5135,16 +7886,19 @@
+ else
+   ac_cpp_err=yes
+ fi
++
+ if test -z "$ac_cpp_err"; then
+   eval "ac_cv_header_$cv=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  cat conftest.err >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_header_$cv=no"
+ fi
+-rm -f conftest.err conftest.$ac_ext
++rm -f conftest*
++
+ fi
+-echo "$as_me:5147: result: `eval echo '${'ac_cv_header_$cv'}'`" >&5
++echo "configure:7901: result: `eval echo '${'ac_cv_header_$cv'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'ac_cv_header_$cv'}'`" >&6
+ ac_res=`eval echo \\$ac_cv_header_$cv`
+ if test "$ac_res" = yes; then
+@@ -5156,29 +7910,26 @@
+ fi
+ done
+ if false;then
++	
+ 
+ for ac_header in netinet/ip.h netinet/tcp.h
+ do
+ ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
+-echo "$as_me:5163: checking for $ac_header" >&5
++
++echo "configure:7919: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 5169 "configure"
++#line 7925 "configure"
+ #include "confdefs.h"
+ #include <$ac_header>
++
+ _ACEOF
+-if { (eval echo "$as_me:5173: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
+-  (eval $ac_cpp conftest.$ac_ext >/dev/null) 2>conftest.er1
+-  ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
+-  rm -f conftest.er1
+-  cat conftest.err >&5
+-  echo "$as_me:5179: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  if test -s conftest.err; then
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:7931: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+   else
+     ac_cpp_err=
+@@ -5186,16 +7937,19 @@
+ else
+   ac_cpp_err=yes
+ fi
++
+ if test -z "$ac_cpp_err"; then
+   eval "$ac_ac_Header=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  cat conftest.err >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_Header=no"
+ fi
+-rm -f conftest.err conftest.$ac_ext
++rm -f conftest*
++
+ fi
+-echo "$as_me:5198: result: `eval echo '${'$ac_ac_Header'}'`" >&5
++echo "configure:7952: result: `eval echo '${'$ac_ac_Header'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
+ if test `eval echo '${'$ac_ac_Header'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -5210,13 +7964,13 @@
+ for ac_func in getlogin setlogin
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:5213: checking for $ac_func" >&5
++echo "configure:7967: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 5219 "configure"
++#line 7973 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -5247,25 +8001,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:5250: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:5253: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:5255: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:5258: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:8004: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:5268: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:8013: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -5276,7 +8021,7 @@
+ done
+ 
+ if test "$ac_cv_func_getlogin" = yes; then
+-echo "$as_me:5279: checking if getlogin is posix" >&5
++echo "configure:8024: checking if getlogin is posix" >&5
+ echo $ECHO_N "checking if getlogin is posix... $ECHO_C" >&6
+ if test "${ac_cv_func_getlogin_posix+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -5289,10 +8034,10 @@
+ fi
+ 
+ fi
+-echo "$as_me:5292: result: $ac_cv_func_getlogin_posix" >&5
++echo "configure:8037: result: $ac_cv_func_getlogin_posix" >&5
+ echo "${ECHO_T}$ac_cv_func_getlogin_posix" >&6
+ if test "$ac_cv_func_getlogin_posix" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define POSIX_GETLOGIN 1
+ EOF
+@@ -5300,7 +8045,7 @@
+ fi
+ fi
+ 
+-echo "$as_me:5303: checking if realloc if broken" >&5
++echo "configure:8048: checking if realloc if broken" >&5
+ echo $ECHO_N "checking if realloc if broken... $ECHO_C" >&6
+ if test "${ac_cv_func_realloc_broken+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -5311,7 +8056,7 @@
+   :
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 5314 "configure"
++#line 8059 "configure"
+ #include "confdefs.h"
+ 
+ #include <stddef.h>
+@@ -5324,30 +8069,22 @@
+ 
+ _ACEOF
+ rm -f conftest$ac_exeext
+-if { (eval echo "$as_me:5327: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:5330: \$? = $ac_status" >&5
+-  (exit $ac_status); } && { (eval echo "$as_me:5331: \"./conftest$ac_exeext\"") >&5
+-  (eval ./conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:5334: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:8072: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
++   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
+   :
+ else
+-  echo "$as_me: program exited with status $ac_status" >&5
+-echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_realloc_broken=yes
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_realloc_broken=yes
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+ 
+ fi
+-echo "$as_me:5347: result: $ac_cv_func_realloc_broken" >&5
++echo "configure:8084: result: $ac_cv_func_realloc_broken" >&5
+ echo "${ECHO_T}$ac_cv_func_realloc_broken" >&6
+ if test "$ac_cv_func_realloc_broken" = yes ; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define BROKEN_REALLOC 1
+ EOF
+@@ -5371,13 +8108,13 @@
+   WFLAGS_NOIMPLICITINT="-Wno-implicit-int"
+ fi
+ 
+-echo "$as_me:5374: checking for ssize_t" >&5
++echo "configure:8111: checking for ssize_t" >&5
+ echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
+ if test "${ac_cv_type_ssize_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 5380 "configure"
++#line 8117 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -5395,7 +8132,7 @@
+ rm -f conftest*
+ 
+ fi
+-echo "$as_me:5398: result: $ac_cv_type_ssize_t" >&5
++echo "configure:8135: result: $ac_cv_type_ssize_t" >&5
+ echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
+ if test $ac_cv_type_ssize_t = no; then
+ 
+@@ -5406,13 +8143,13 @@
+ fi
+ 
+ cv=`echo "long long" | sed 'y%./+- %__p__%'`
+-echo "$as_me:5409: checking for long long" >&5
++echo "configure:8146: checking for long long" >&5
+ echo $ECHO_N "checking for long long... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 5415 "configure"
++#line 8152 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -5429,37 +8166,28 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:5432: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:5435: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:5437: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:5440: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:8169: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_type_$cv=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_type_$cv=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_type_$cv=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:5451: result: $ac_foo" >&5
++echo "configure:8179: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo long long | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:5456: checking for long long" >&5
++	echo "configure:8184: checking for long long" >&5
+ echo $ECHO_N "checking for long long... $ECHO_C" >&6
+ if test "${ac_cv_type_long_long+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 5462 "configure"
++#line 8190 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -5474,25 +8202,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:5477: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:5480: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:5482: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:5485: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:8205: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_long_long=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_long_long=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_long_long=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:5495: result: $ac_cv_type_long_long" >&5
++echo "configure:8214: result: $ac_cv_type_long_long" >&5
+ echo "${ECHO_T}$ac_cv_type_long_long" >&6
+ if test $ac_cv_type_long_long = yes; then
+ 
+@@ -5563,25 +8282,21 @@
+ 
+ do
+ ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
+-echo "$as_me:5566: checking for $ac_header" >&5
++
++echo "configure:8286: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 5572 "configure"
++#line 8292 "configure"
+ #include "confdefs.h"
+ #include <$ac_header>
++
+ _ACEOF
+-if { (eval echo "$as_me:5576: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
+-  (eval $ac_cpp conftest.$ac_ext >/dev/null) 2>conftest.er1
+-  ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
+-  rm -f conftest.er1
+-  cat conftest.err >&5
+-  echo "$as_me:5582: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  if test -s conftest.err; then
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:8298: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+   else
+     ac_cpp_err=
+@@ -5589,16 +8304,19 @@
+ else
+   ac_cpp_err=yes
+ fi
++
+ if test -z "$ac_cpp_err"; then
+   eval "$ac_ac_Header=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  cat conftest.err >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_Header=no"
+ fi
+-rm -f conftest.err conftest.$ac_ext
++rm -f conftest*
++
+ fi
+-echo "$as_me:5601: result: `eval echo '${'$ac_ac_Header'}'`" >&5
++echo "configure:8319: result: `eval echo '${'$ac_ac_Header'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
+ if test `eval echo '${'$ac_ac_Header'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -5608,6 +8326,8 @@
+ fi
+ done
+ 
++	
++
+ if test "$ac_cv_header_err_h" = yes; then
+   have_err_h_TRUE=
+   have_err_h_FALSE='#'
+@@ -5654,13 +8374,13 @@
+   v6type=unknown
+ v6lib=none
+ 
+-echo "$as_me:5657: checking ipv6 stack type" >&5
++echo "configure:8377: checking ipv6 stack type" >&5
+ echo $ECHO_N "checking ipv6 stack type... $ECHO_C" >&6
+ for i in v6d toshiba kame inria zeta linux; do
+ 	case $i in
+ 	v6d)
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 5663 "configure"
++#line 8383 "configure"
+ #include "confdefs.h"
+ 
+ #include </usr/local/v6/include/sys/types.h>
+@@ -5679,7 +8399,7 @@
+ 		;;
+ 	toshiba)
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 5682 "configure"
++#line 8402 "configure"
+ #include "confdefs.h"
+ 
+ #include <sys/param.h>
+@@ -5698,7 +8418,7 @@
+ 		;;
+ 	kame)
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 5701 "configure"
++#line 8421 "configure"
+ #include "confdefs.h"
+ 
+ #include <netinet/in.h>
+@@ -5717,7 +8437,7 @@
+ 		;;
+ 	inria)
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 5720 "configure"
++#line 8440 "configure"
+ #include "confdefs.h"
+ 
+ #include <netinet/in.h>
+@@ -5734,7 +8454,7 @@
+ 		;;
+ 	zeta)
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 5737 "configure"
++#line 8457 "configure"
+ #include "confdefs.h"
+ 
+ #include <sys/param.h>
+@@ -5764,7 +8484,7 @@
+ 		break
+ 	fi
+ done
+-echo "$as_me:5767: result: $v6type" >&5
++echo "configure:8487: result: $v6type" >&5
+ echo "${ECHO_T}$v6type" >&6
+ 
+ if test "$v6lib" != "none"; then
+@@ -5776,7 +8496,7 @@
+ 	done
+ fi
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 5779 "configure"
++#line 8499 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_SYS_TYPES_H
+@@ -5811,28 +8531,19 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:5814: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:5817: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:5819: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:5822: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:8534: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_lib_ipv6=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_lib_ipv6=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_lib_ipv6=no
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+ 
+-echo "$as_me:5833: checking for IPv6" >&5
++echo "configure:8544: checking for IPv6" >&5
+ echo $ECHO_N "checking for IPv6... $ECHO_C" >&6
+-echo "$as_me:5835: result: $ac_cv_lib_ipv6" >&5
++echo "configure:8546: result: $ac_cv_lib_ipv6" >&5
+ echo "${ECHO_T}$ac_cv_lib_ipv6" >&6
+ if test "$ac_cv_lib_ipv6" = yes; then
+ 
+@@ -5842,7 +8553,7 @@
+ 
+ fi
+ 
+-echo "$as_me:5845: checking for socket" >&5
++echo "configure:8556: checking for socket" >&5
+ echo $ECHO_N "checking for socket... $ECHO_C" >&6
+ if test "${ac_cv_funclib_socket+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -5858,7 +8569,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 5861 "configure"
++#line 8572 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -5870,20 +8581,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:5873: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:5876: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:5878: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:5881: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:8584: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_socket=$ac_lib; else ac_cv_funclib_socket=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -5896,17 +8598,17 @@
+ eval "ac_res=\$ac_cv_funclib_socket"
+ 
+ if false; then
+-
++	
+ for ac_func in socket
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:5903: checking for $ac_func" >&5
++echo "configure:8605: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 5909 "configure"
++#line 8611 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -5937,25 +8639,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:5940: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:5943: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:5945: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:5948: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:8642: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:5958: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:8651: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -5979,13 +8672,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:5982: result: yes" >&5
++	echo "configure:8675: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_socket=no"
+ 	eval "LIB_socket="
+-	echo "$as_me:5988: result: no" >&5
++	echo "configure:8681: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -5999,7 +8692,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:6002: result: yes, in $ac_res" >&5
++	echo "configure:8695: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -6008,7 +8701,7 @@
+ 	LIBS="$LIB_socket $LIBS"
+ fi
+ 
+-echo "$as_me:6011: checking for gethostbyname" >&5
++echo "configure:8704: checking for gethostbyname" >&5
+ echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
+ if test "${ac_cv_funclib_gethostbyname+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -6024,7 +8717,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 6027 "configure"
++#line 8720 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -6036,20 +8729,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:6039: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:6042: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:6044: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:6047: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:8732: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_gethostbyname=$ac_lib; else ac_cv_funclib_gethostbyname=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -6062,17 +8746,17 @@
+ eval "ac_res=\$ac_cv_funclib_gethostbyname"
+ 
+ if false; then
+-
++	
+ for ac_func in gethostbyname
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:6069: checking for $ac_func" >&5
++echo "configure:8753: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 6075 "configure"
++#line 8759 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -6103,25 +8787,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:6106: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:6109: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:6111: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:6114: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:8790: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:6124: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:8799: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -6145,13 +8820,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:6148: result: yes" >&5
++	echo "configure:8823: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_gethostbyname=no"
+ 	eval "LIB_gethostbyname="
+-	echo "$as_me:6154: result: no" >&5
++	echo "configure:8829: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -6165,7 +8840,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:6168: result: yes, in $ac_res" >&5
++	echo "configure:8843: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -6174,7 +8849,7 @@
+ 	LIBS="$LIB_gethostbyname $LIBS"
+ fi
+ 
+-echo "$as_me:6177: checking for syslog" >&5
++echo "configure:8852: checking for syslog" >&5
+ echo $ECHO_N "checking for syslog... $ECHO_C" >&6
+ if test "${ac_cv_funclib_syslog+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -6190,7 +8865,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 6193 "configure"
++#line 8868 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -6202,20 +8877,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:6205: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:6208: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:6210: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:6213: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:8880: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_syslog=$ac_lib; else ac_cv_funclib_syslog=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -6228,17 +8894,17 @@
+ eval "ac_res=\$ac_cv_funclib_syslog"
+ 
+ if false; then
+-
++	
+ for ac_func in syslog
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:6235: checking for $ac_func" >&5
++echo "configure:8901: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 6241 "configure"
++#line 8907 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -6269,25 +8935,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:6272: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:6275: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:6277: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:6280: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:8938: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:6290: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:8947: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -6311,13 +8968,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:6314: result: yes" >&5
++	echo "configure:8971: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_syslog=no"
+ 	eval "LIB_syslog="
+-	echo "$as_me:6320: result: no" >&5
++	echo "configure:8977: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -6331,7 +8988,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:6334: result: yes, in $ac_res" >&5
++	echo "configure:8991: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -6340,7 +8997,7 @@
+ 	LIBS="$LIB_syslog $LIBS"
+ fi
+ 
+-echo "$as_me:6343: checking for gethostbyname2" >&5
++echo "configure:9000: checking for gethostbyname2" >&5
+ echo $ECHO_N "checking for gethostbyname2... $ECHO_C" >&6
+ if test "${ac_cv_funclib_gethostbyname2+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -6356,7 +9013,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 6359 "configure"
++#line 9016 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -6368,20 +9025,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:6371: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:6374: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:6376: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:6379: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:9028: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_gethostbyname2=$ac_lib; else ac_cv_funclib_gethostbyname2=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -6394,17 +9042,17 @@
+ eval "ac_res=\$ac_cv_funclib_gethostbyname2"
+ 
+ if false; then
+-
++	
+ for ac_func in gethostbyname2
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:6401: checking for $ac_func" >&5
++echo "configure:9049: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 6407 "configure"
++#line 9055 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -6435,25 +9083,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:6438: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:6441: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:6443: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:6446: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:9086: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:6456: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:9095: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -6477,13 +9116,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:6480: result: yes" >&5
++	echo "configure:9119: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_gethostbyname2=no"
+ 	eval "LIB_gethostbyname2="
+-	echo "$as_me:6486: result: no" >&5
++	echo "configure:9125: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -6497,7 +9136,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:6500: result: yes, in $ac_res" >&5
++	echo "configure:9139: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -6506,7 +9145,7 @@
+ 	LIBS="$LIB_gethostbyname2 $LIBS"
+ fi
+ 
+-echo "$as_me:6509: checking for res_search" >&5
++echo "configure:9148: checking for res_search" >&5
+ echo $ECHO_N "checking for res_search... $ECHO_C" >&6
+ if test "${ac_cv_funclib_res_search+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -6522,7 +9161,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 6525 "configure"
++#line 9164 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -6548,20 +9187,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:6551: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:6554: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:6556: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:6559: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:9190: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_res_search=$ac_lib; else ac_cv_funclib_res_search=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -6574,17 +9204,17 @@
+ eval "ac_res=\$ac_cv_funclib_res_search"
+ 
+ if false; then
+-
++	
+ for ac_func in res_search
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:6581: checking for $ac_func" >&5
++echo "configure:9211: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 6587 "configure"
++#line 9217 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -6615,25 +9245,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:6618: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:6621: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:6623: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:6626: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:9248: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:6636: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:9257: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -6657,13 +9278,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:6660: result: yes" >&5
++	echo "configure:9281: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_res_search=no"
+ 	eval "LIB_res_search="
+-	echo "$as_me:6666: result: no" >&5
++	echo "configure:9287: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -6677,7 +9298,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:6680: result: yes, in $ac_res" >&5
++	echo "configure:9301: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -6686,7 +9307,7 @@
+ 	LIBS="$LIB_res_search $LIBS"
+ fi
+ 
+-echo "$as_me:6689: checking for dn_expand" >&5
++echo "configure:9310: checking for dn_expand" >&5
+ echo $ECHO_N "checking for dn_expand... $ECHO_C" >&6
+ if test "${ac_cv_funclib_dn_expand+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -6702,7 +9323,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 6705 "configure"
++#line 9326 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -6728,20 +9349,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:6731: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:6734: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:6736: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:6739: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:9352: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_dn_expand=$ac_lib; else ac_cv_funclib_dn_expand=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -6754,17 +9366,17 @@
+ eval "ac_res=\$ac_cv_funclib_dn_expand"
+ 
+ if false; then
+-
++	
+ for ac_func in dn_expand
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:6761: checking for $ac_func" >&5
++echo "configure:9373: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 6767 "configure"
++#line 9379 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -6795,25 +9407,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:6798: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:6801: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:6803: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:6806: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:9410: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:6816: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:9419: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -6837,13 +9440,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:6840: result: yes" >&5
++	echo "configure:9443: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_dn_expand=no"
+ 	eval "LIB_dn_expand="
+-	echo "$as_me:6846: result: no" >&5
++	echo "configure:9449: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -6857,7 +9460,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:6860: result: yes, in $ac_res" >&5
++	echo "configure:9463: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -6866,7 +9469,7 @@
+ 	LIBS="$LIB_dn_expand $LIBS"
+ fi
+ 
+-echo "$as_me:6869: checking for working snprintf" >&5
++echo "configure:9472: checking for working snprintf" >&5
+ echo $ECHO_N "checking for working snprintf... $ECHO_C" >&6
+ if test "${ac_cv_func_snprintf_working+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -6876,7 +9479,7 @@
+   :
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 6879 "configure"
++#line 9482 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -6889,30 +9492,23 @@
+ }
+ _ACEOF
+ rm -f conftest$ac_exeext
+-if { (eval echo "$as_me:6892: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:6895: \$? = $ac_status" >&5
+-  (exit $ac_status); } && { (eval echo "$as_me:6896: \"./conftest$ac_exeext\"") >&5
+-  (eval ./conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:6899: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:9495: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
++   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
+   :
+ else
+-  echo "$as_me: program exited with status $ac_status" >&5
+-echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_snprintf_working=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_snprintf_working=no
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
++
+ fi
+-echo "$as_me:6911: result: $ac_cv_func_snprintf_working" >&5
++echo "configure:9507: result: $ac_cv_func_snprintf_working" >&5
+ echo "${ECHO_T}$ac_cv_func_snprintf_working" >&6
+ 
+ if test "$ac_cv_func_snprintf_working" = yes; then
+-
++	
+ cat >>confdefs.h <<EOF
+ #define HAVE_SNPRINTF 1
+ EOF
+@@ -6921,13 +9517,13 @@
+ if test "$ac_cv_func_snprintf_working" = yes; then
+ 
+ if test "$ac_cv_func_snprintf+set" != set -o "$ac_cv_func_snprintf" = yes; then
+-echo "$as_me:6924: checking if snprintf needs a prototype" >&5
++echo "configure:9520: checking if snprintf needs a prototype" >&5
+ echo $ECHO_N "checking if snprintf needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_snprintf_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 6930 "configure"
++#line 9526 "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
+ int
+@@ -6942,29 +9538,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:6945: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:6948: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:6950: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:6953: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:9541: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_snprintf_noproto=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_snprintf_noproto=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_snprintf_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:6963: result: $ac_cv_func_snprintf_noproto" >&5
++echo "configure:9550: result: $ac_cv_func_snprintf_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_snprintf_noproto" >&6
+ 
+ if test "$ac_cv_func_snprintf_noproto" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define NEED_SNPRINTF_PROTO 1
+ EOF
+@@ -6975,7 +9562,7 @@
+ 
+ fi
+ 
+-echo "$as_me:6978: checking for working vsnprintf" >&5
++echo "configure:9565: checking for working vsnprintf" >&5
+ echo $ECHO_N "checking for working vsnprintf... $ECHO_C" >&6
+ if test "${ac_cv_func_vsnprintf_working+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -6985,7 +9572,7 @@
+   :
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 6988 "configure"
++#line 9575 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -7008,30 +9595,23 @@
+ }
+ _ACEOF
+ rm -f conftest$ac_exeext
+-if { (eval echo "$as_me:7011: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:7014: \$? = $ac_status" >&5
+-  (exit $ac_status); } && { (eval echo "$as_me:7015: \"./conftest$ac_exeext\"") >&5
+-  (eval ./conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:7018: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:9598: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
++   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
+   :
+ else
+-  echo "$as_me: program exited with status $ac_status" >&5
+-echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_vsnprintf_working=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_vsnprintf_working=no
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
++
+ fi
+-echo "$as_me:7030: result: $ac_cv_func_vsnprintf_working" >&5
++echo "configure:9610: result: $ac_cv_func_vsnprintf_working" >&5
+ echo "${ECHO_T}$ac_cv_func_vsnprintf_working" >&6
+ 
+ if test "$ac_cv_func_vsnprintf_working" = yes; then
+-
++	
+ cat >>confdefs.h <<EOF
+ #define HAVE_VSNPRINTF 1
+ EOF
+@@ -7040,13 +9620,13 @@
+ if test "$ac_cv_func_vsnprintf_working" = yes; then
+ 
+ if test "$ac_cv_func_vsnprintf+set" != set -o "$ac_cv_func_vsnprintf" = yes; then
+-echo "$as_me:7043: checking if vsnprintf needs a prototype" >&5
++echo "configure:9623: checking if vsnprintf needs a prototype" >&5
+ echo $ECHO_N "checking if vsnprintf needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_vsnprintf_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 7049 "configure"
++#line 9629 "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
+ int
+@@ -7061,29 +9641,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:7064: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:7067: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:7069: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:7072: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:9644: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_vsnprintf_noproto=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_vsnprintf_noproto=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_vsnprintf_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:7082: result: $ac_cv_func_vsnprintf_noproto" >&5
++echo "configure:9653: result: $ac_cv_func_vsnprintf_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_vsnprintf_noproto" >&6
+ 
+ if test "$ac_cv_func_vsnprintf_noproto" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define NEED_VSNPRINTF_PROTO 1
+ EOF
+@@ -7094,14 +9665,14 @@
+ 
+ fi
+ 
+-echo "$as_me:7097: checking for working glob" >&5
++echo "configure:9668: checking for working glob" >&5
+ echo $ECHO_N "checking for working glob... $ECHO_C" >&6
+ if test "${ac_cv_func_glob_working+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   ac_cv_func_glob_working=yes
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 7104 "configure"
++#line 9675 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -7117,29 +9688,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:7120: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:7123: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:7125: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:7128: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:9691: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   :
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_glob_working=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_glob_working=no
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:7138: result: $ac_cv_func_glob_working" >&5
++echo "configure:9700: result: $ac_cv_func_glob_working" >&5
+ echo "${ECHO_T}$ac_cv_func_glob_working" >&6
+ 
+ if test "$ac_cv_func_glob_working" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_GLOB 1
+ EOF
+@@ -7148,13 +9710,13 @@
+ if test "$ac_cv_func_glob_working" = yes; then
+ 
+ if test "$ac_cv_func_glob+set" != set -o "$ac_cv_func_glob" = yes; then
+-echo "$as_me:7151: checking if glob needs a prototype" >&5
++echo "configure:9713: checking if glob needs a prototype" >&5
+ echo $ECHO_N "checking if glob needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_glob_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 7157 "configure"
++#line 9719 "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
+ #include <glob.h>
+@@ -7170,29 +9732,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:7173: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:7176: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:7178: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:7181: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:9735: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_glob_noproto=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_glob_noproto=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_glob_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:7191: result: $ac_cv_func_glob_noproto" >&5
++echo "configure:9744: result: $ac_cv_func_glob_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_glob_noproto" >&6
+ 
+ if test "$ac_cv_func_glob_noproto" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define NEED_GLOB_PROTO 1
+ EOF
+@@ -7237,13 +9790,13 @@
+ 
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:7240: checking for $ac_func" >&5
++echo "configure:9793: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 7246 "configure"
++#line 9799 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -7274,25 +9827,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:7277: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:7280: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:7282: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:7285: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:9830: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:7295: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:9839: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -7306,7 +9850,7 @@
+ 	LIBOBJS="$LIBOBJS getcap.o"
+ fi
+ 
+-echo "$as_me:7309: checking for getsockopt" >&5
++echo "configure:9853: checking for getsockopt" >&5
+ echo $ECHO_N "checking for getsockopt... $ECHO_C" >&6
+ if test "${ac_cv_funclib_getsockopt+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -7322,7 +9866,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 7325 "configure"
++#line 9869 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_SYS_TYPES_H
+ #include <sys/types.h>
+@@ -7339,20 +9883,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:7342: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:7345: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:7347: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:7350: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:9886: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_getsockopt=$ac_lib; else ac_cv_funclib_getsockopt=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -7365,17 +9900,17 @@
+ eval "ac_res=\$ac_cv_funclib_getsockopt"
+ 
+ if false; then
+-
++	
+ for ac_func in getsockopt
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:7372: checking for $ac_func" >&5
++echo "configure:9907: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 7378 "configure"
++#line 9913 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -7406,25 +9941,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:7409: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:7412: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:7414: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:7417: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:9944: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:7427: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:9953: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -7448,13 +9974,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:7451: result: yes" >&5
++	echo "configure:9977: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_getsockopt=no"
+ 	eval "LIB_getsockopt="
+-	echo "$as_me:7457: result: no" >&5
++	echo "configure:9983: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -7468,12 +9994,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:7471: result: yes, in $ac_res" >&5
++	echo "configure:9997: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "$as_me:7476: checking for setsockopt" >&5
++echo "configure:10002: checking for setsockopt" >&5
+ echo $ECHO_N "checking for setsockopt... $ECHO_C" >&6
+ if test "${ac_cv_funclib_setsockopt+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -7489,7 +10015,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 7492 "configure"
++#line 10018 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_SYS_TYPES_H
+ #include <sys/types.h>
+@@ -7506,20 +10032,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:7509: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:7512: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:7514: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:7517: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:10035: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_setsockopt=$ac_lib; else ac_cv_funclib_setsockopt=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -7532,17 +10049,17 @@
+ eval "ac_res=\$ac_cv_funclib_setsockopt"
+ 
+ if false; then
+-
++	
+ for ac_func in setsockopt
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:7539: checking for $ac_func" >&5
++echo "configure:10056: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 7545 "configure"
++#line 10062 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -7573,25 +10090,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:7576: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:7579: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:7581: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:7584: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:10093: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:7594: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:10102: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -7615,13 +10123,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:7618: result: yes" >&5
++	echo "configure:10126: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_setsockopt=no"
+ 	eval "LIB_setsockopt="
+-	echo "$as_me:7624: result: no" >&5
++	echo "configure:10132: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -7635,12 +10143,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:7638: result: yes, in $ac_res" >&5
++	echo "configure:10146: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "$as_me:7643: checking for hstrerror" >&5
++echo "configure:10151: checking for hstrerror" >&5
+ echo $ECHO_N "checking for hstrerror... $ECHO_C" >&6
+ if test "${ac_cv_funclib_hstrerror+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -7656,7 +10164,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 7659 "configure"
++#line 10167 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_NETDB_H
+ #include <netdb.h>
+@@ -7670,20 +10178,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:7673: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:7676: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:7678: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:7681: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:10181: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_hstrerror=$ac_lib; else ac_cv_funclib_hstrerror=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -7696,17 +10195,17 @@
+ eval "ac_res=\$ac_cv_funclib_hstrerror"
+ 
+ if false; then
+-
++	
+ for ac_func in hstrerror
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:7703: checking for $ac_func" >&5
++echo "configure:10202: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 7709 "configure"
++#line 10208 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -7737,25 +10236,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:7740: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:7743: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:7745: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:7748: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:10239: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:7758: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:10248: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -7779,13 +10269,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:7782: result: yes" >&5
++	echo "configure:10272: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_hstrerror=no"
+ 	eval "LIB_hstrerror="
+-	echo "$as_me:7788: result: no" >&5
++	echo "configure:10278: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -7799,7 +10289,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:7802: result: yes, in $ac_res" >&5
++	echo "configure:10292: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -7815,13 +10305,13 @@
+ if test "$ac_cv_func_hstrerror" = yes; then
+ 
+ if test "$ac_cv_func_hstrerror+set" != set -o "$ac_cv_func_hstrerror" = yes; then
+-echo "$as_me:7818: checking if hstrerror needs a prototype" >&5
++echo "configure:10308: checking if hstrerror needs a prototype" >&5
+ echo $ECHO_N "checking if hstrerror needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_hstrerror_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 7824 "configure"
++#line 10314 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_NETDB_H
+@@ -7839,29 +10329,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:7842: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:7845: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:7847: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:7850: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:10332: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_hstrerror_noproto=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_hstrerror_noproto=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_hstrerror_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:7860: result: $ac_cv_func_hstrerror_noproto" >&5
++echo "configure:10341: result: $ac_cv_func_hstrerror_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_hstrerror_noproto" >&6
+ 
+ if test "$ac_cv_func_hstrerror_noproto" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define NEED_HSTRERROR_PROTO 1
+ EOF
+@@ -7875,13 +10356,13 @@
+ if test "$ac_cv_func_asprintf" = yes; then
+ 
+ if test "$ac_cv_func_asprintf+set" != set -o "$ac_cv_func_asprintf" = yes; then
+-echo "$as_me:7878: checking if asprintf needs a prototype" >&5
++echo "configure:10359: checking if asprintf needs a prototype" >&5
+ echo $ECHO_N "checking if asprintf needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_asprintf_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 7884 "configure"
++#line 10365 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -7898,29 +10379,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:7901: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:7904: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:7906: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:7909: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:10382: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_asprintf_noproto=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_asprintf_noproto=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_asprintf_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:7919: result: $ac_cv_func_asprintf_noproto" >&5
++echo "configure:10391: result: $ac_cv_func_asprintf_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_asprintf_noproto" >&6
+ 
+ if test "$ac_cv_func_asprintf_noproto" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define NEED_ASPRINTF_PROTO 1
+ EOF
+@@ -7932,13 +10404,13 @@
+ if test "$ac_cv_func_vasprintf" = yes; then
+ 
+ if test "$ac_cv_func_vasprintf+set" != set -o "$ac_cv_func_vasprintf" = yes; then
+-echo "$as_me:7935: checking if vasprintf needs a prototype" >&5
++echo "configure:10407: checking if vasprintf needs a prototype" >&5
+ echo $ECHO_N "checking if vasprintf needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_vasprintf_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 7941 "configure"
++#line 10413 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -7955,29 +10427,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:7958: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:7961: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:7963: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:7966: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:10430: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_vasprintf_noproto=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_vasprintf_noproto=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_vasprintf_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:7976: result: $ac_cv_func_vasprintf_noproto" >&5
++echo "configure:10439: result: $ac_cv_func_vasprintf_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_vasprintf_noproto" >&6
+ 
+ if test "$ac_cv_func_vasprintf_noproto" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define NEED_VASPRINTF_PROTO 1
+ EOF
+@@ -7989,13 +10452,13 @@
+ if test "$ac_cv_func_asnprintf" = yes; then
+ 
+ if test "$ac_cv_func_asnprintf+set" != set -o "$ac_cv_func_asnprintf" = yes; then
+-echo "$as_me:7992: checking if asnprintf needs a prototype" >&5
++echo "configure:10455: checking if asnprintf needs a prototype" >&5
+ echo $ECHO_N "checking if asnprintf needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_asnprintf_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 7998 "configure"
++#line 10461 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -8012,29 +10475,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:8015: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:8018: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:8020: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:8023: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:10478: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_asnprintf_noproto=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_asnprintf_noproto=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_asnprintf_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:8033: result: $ac_cv_func_asnprintf_noproto" >&5
++echo "configure:10487: result: $ac_cv_func_asnprintf_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_asnprintf_noproto" >&6
+ 
+ if test "$ac_cv_func_asnprintf_noproto" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define NEED_ASNPRINTF_PROTO 1
+ EOF
+@@ -8046,13 +10500,13 @@
+ if test "$ac_cv_func_vasnprintf" = yes; then
+ 
+ if test "$ac_cv_func_vasnprintf+set" != set -o "$ac_cv_func_vasnprintf" = yes; then
+-echo "$as_me:8049: checking if vasnprintf needs a prototype" >&5
++echo "configure:10503: checking if vasnprintf needs a prototype" >&5
+ echo $ECHO_N "checking if vasnprintf needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_vasnprintf_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 8055 "configure"
++#line 10509 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -8069,29 +10523,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:8072: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:8075: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:8077: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:8080: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:10526: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_vasnprintf_noproto=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_vasnprintf_noproto=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_vasnprintf_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:8090: result: $ac_cv_func_vasnprintf_noproto" >&5
++echo "configure:10535: result: $ac_cv_func_vasnprintf_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_vasnprintf_noproto" >&6
+ 
+ if test "$ac_cv_func_vasnprintf_noproto" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define NEED_VASNPRINTF_PROTO 1
+ EOF
+@@ -8101,7 +10546,7 @@
+ fi
+ fi
+ 
+-echo "$as_me:8104: checking for pidfile" >&5
++echo "configure:10549: checking for pidfile" >&5
+ echo $ECHO_N "checking for pidfile... $ECHO_C" >&6
+ if test "${ac_cv_funclib_pidfile+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -8117,7 +10562,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 8120 "configure"
++#line 10565 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_UTIL_H
+ #include <util.h>
+@@ -8131,20 +10576,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:8134: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:8137: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:8139: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:8142: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:10579: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_pidfile=$ac_lib; else ac_cv_funclib_pidfile=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -8157,17 +10593,17 @@
+ eval "ac_res=\$ac_cv_funclib_pidfile"
+ 
+ if false; then
+-
++	
+ for ac_func in pidfile
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:8164: checking for $ac_func" >&5
++echo "configure:10600: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 8170 "configure"
++#line 10606 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -8198,25 +10634,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:8201: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:8204: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:8206: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:8209: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:10637: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:8219: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:10646: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -8240,13 +10667,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:8243: result: yes" >&5
++	echo "configure:10670: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_pidfile=no"
+ 	eval "LIB_pidfile="
+-	echo "$as_me:8249: result: no" >&5
++	echo "configure:10676: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -8260,7 +10687,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:8263: result: yes, in $ac_res" >&5
++	echo "configure:10690: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -8334,13 +10761,13 @@
+ 
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:8337: checking for $ac_func" >&5
++echo "configure:10764: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 8343 "configure"
++#line 10770 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -8371,25 +10798,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:8374: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:8377: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:8379: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:8382: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:10801: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:8392: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:10810: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+ 
+@@ -8403,6 +10821,7 @@
+ fi
+ 
+ if false; then
++	
+ 
+ for ac_func in \
+ 	chown					\
+@@ -8473,13 +10892,13 @@
+ 
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:8476: checking for $ac_func" >&5
++echo "configure:10895: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 8482 "configure"
++#line 10901 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -8510,25 +10929,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:8513: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:8516: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:8518: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:8521: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:10932: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:8531: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:10941: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -8543,13 +10953,13 @@
+ 
+ for ac_func in inet_aton
+ do
+-echo "$as_me:8546: checking for $ac_func" >&5
++echo "configure:10956: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_func_$ac_func+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 8552 "configure"
++#line 10962 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_SYS_TYPES_H
+ #include <sys/types.h>
+@@ -8581,21 +10991,12 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:8584: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:8587: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:8589: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:8592: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:10994: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "ac_cv_func_$ac_func=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_$ac_func=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_$ac_func=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+@@ -8606,26 +11007,26 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-  echo "$as_me:8609: result: yes" >&5
++  echo "configure:11010: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ else
+-  echo "$as_me:8612: result: no" >&5
++  echo "configure:11013: result: no" >&5
+ echo "${ECHO_T}no" >&6
+   LIBOBJS="$LIBOBJS ${ac_func}.o"
+ fi
+ done
+ if false; then
+-
++	
+ for ac_func in inet_aton
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:8622: checking for $ac_func" >&5
++echo "configure:11023: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 8628 "configure"
++#line 11029 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -8656,25 +11057,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:8659: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:8662: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:8664: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:8667: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:11060: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:8677: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:11069: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -8688,13 +11080,13 @@
+ 
+ for ac_func in inet_ntop
+ do
+-echo "$as_me:8691: checking for $ac_func" >&5
++echo "configure:11083: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_func_$ac_func+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 8697 "configure"
++#line 11089 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_SYS_TYPES_H
+ #include <sys/types.h>
+@@ -8726,21 +11118,12 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:8729: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:8732: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:8734: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:8737: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:11121: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "ac_cv_func_$ac_func=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_$ac_func=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_$ac_func=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+@@ -8751,26 +11134,26 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-  echo "$as_me:8754: result: yes" >&5
++  echo "configure:11137: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ else
+-  echo "$as_me:8757: result: no" >&5
++  echo "configure:11140: result: no" >&5
+ echo "${ECHO_T}no" >&6
+   LIBOBJS="$LIBOBJS ${ac_func}.o"
+ fi
+ done
+ if false; then
+-
++	
+ for ac_func in inet_ntop
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:8767: checking for $ac_func" >&5
++echo "configure:11150: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 8773 "configure"
++#line 11156 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -8801,25 +11184,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:8804: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:8807: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:8809: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:8812: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:11187: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:8822: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:11196: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -8833,13 +11207,13 @@
+ 
+ for ac_func in inet_pton
+ do
+-echo "$as_me:8836: checking for $ac_func" >&5
++echo "configure:11210: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_func_$ac_func+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 8842 "configure"
++#line 11216 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_SYS_TYPES_H
+ #include <sys/types.h>
+@@ -8871,21 +11245,12 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:8874: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:8877: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:8879: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:8882: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:11248: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "ac_cv_func_$ac_func=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_$ac_func=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_$ac_func=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+@@ -8896,26 +11261,26 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-  echo "$as_me:8899: result: yes" >&5
++  echo "configure:11264: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ else
+-  echo "$as_me:8902: result: no" >&5
++  echo "configure:11267: result: no" >&5
+ echo "${ECHO_T}no" >&6
+   LIBOBJS="$LIBOBJS ${ac_func}.o"
+ fi
+ done
+ if false; then
+-
++	
+ for ac_func in inet_pton
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:8912: checking for $ac_func" >&5
++echo "configure:11277: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 8918 "configure"
++#line 11283 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -8946,25 +11311,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:8949: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:8952: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:8954: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:8957: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:11314: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:8967: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:11323: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -8976,14 +11332,14 @@
+ 
+ fi
+ 
+-echo "$as_me:8979: checking for sa_len in struct sockaddr" >&5
++echo "configure:11335: checking for sa_len in struct sockaddr" >&5
+ echo $ECHO_N "checking for sa_len in struct sockaddr... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_sockaddr_sa_len+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 8986 "configure"
++#line 11342 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #include <sys/socket.h>
+@@ -8996,48 +11352,39 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:8999: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9002: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:9004: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9007: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:11355: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_sockaddr_sa_len=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_struct_sockaddr_sa_len=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_struct_sockaddr_sa_len=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:9017: result: $ac_cv_type_struct_sockaddr_sa_len" >&5
++echo "configure:11364: result: $ac_cv_type_struct_sockaddr_sa_len" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_sockaddr_sa_len" >&6
+ if test "$ac_cv_type_struct_sockaddr_sa_len" = yes; then
+-
++	
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
+ EOF
+ 
++	
+ fi
+ 
+ if test "$ac_cv_func_getnameinfo" = "yes"; then
+ 
+-echo "$as_me:9029: checking if getnameinfo is broken" >&5
++echo "configure:11378: checking if getnameinfo is broken" >&5
+ echo $ECHO_N "checking if getnameinfo is broken... $ECHO_C" >&6
+ if test "${ac_cv_func_getnameinfo_broken+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   if test "$cross_compiling" = yes; then
+-  { { echo "$as_me:9035: error: cannot run test program while cross compiling" >&5
+-echo "$as_me: error: cannot run test program while cross compiling" >&2;}
+-   { (exit 1); exit 1; }; }
++  { echo "configure: error: cannot run test program while cross compiling" >&2; exit 1; }
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 9040 "configure"
++#line 11387 "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
+ #include <sys/types.h>
+@@ -9063,26 +11410,19 @@
+ 
+ _ACEOF
+ rm -f conftest$ac_exeext
+-if { (eval echo "$as_me:9066: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9069: \$? = $ac_status" >&5
+-  (exit $ac_status); } && { (eval echo "$as_me:9070: \"./conftest$ac_exeext\"") >&5
+-  (eval ./conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9073: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:11413: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
++   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
+   ac_cv_func_getnameinfo_broken=no
+ else
+-  echo "$as_me: program exited with status $ac_status" >&5
+-echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_getnameinfo_broken=yes
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_getnameinfo_broken=yes
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
++
+ fi
+-echo "$as_me:9085: result: $ac_cv_func_getnameinfo_broken" >&5
++echo "configure:11425: result: $ac_cv_func_getnameinfo_broken" >&5
+ echo "${ECHO_T}$ac_cv_func_getnameinfo_broken" >&6
+   if test "$ac_cv_func_getnameinfo_broken" = yes; then
+     LIBOBJS="$LIBOBJS getnameinfo.o"
+@@ -9090,13 +11430,13 @@
+ fi
+ 
+ if test "$ac_cv_func_setenv+set" != set -o "$ac_cv_func_setenv" = yes; then
+-echo "$as_me:9093: checking if setenv needs a prototype" >&5
++echo "configure:11433: checking if setenv needs a prototype" >&5
+ echo $ECHO_N "checking if setenv needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_setenv_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 9099 "configure"
++#line 11439 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ int
+@@ -9111,29 +11451,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:9114: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9117: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:9119: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9122: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:11454: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_setenv_noproto=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_setenv_noproto=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_setenv_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:9132: result: $ac_cv_func_setenv_noproto" >&5
++echo "configure:11463: result: $ac_cv_func_setenv_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_setenv_noproto" >&6
+ 
+ if test "$ac_cv_func_setenv_noproto" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define NEED_SETENV_PROTO 1
+ EOF
+@@ -9143,13 +11474,13 @@
+ fi
+ 
+ if test "$ac_cv_func_unsetenv+set" != set -o "$ac_cv_func_unsetenv" = yes; then
+-echo "$as_me:9146: checking if unsetenv needs a prototype" >&5
++echo "configure:11477: checking if unsetenv needs a prototype" >&5
+ echo $ECHO_N "checking if unsetenv needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_unsetenv_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 9152 "configure"
++#line 11483 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ int
+@@ -9164,29 +11495,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:9167: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9170: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:9172: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9175: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:11498: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_unsetenv_noproto=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_unsetenv_noproto=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_unsetenv_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:9185: result: $ac_cv_func_unsetenv_noproto" >&5
++echo "configure:11507: result: $ac_cv_func_unsetenv_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_unsetenv_noproto" >&6
+ 
+ if test "$ac_cv_func_unsetenv_noproto" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define NEED_UNSETENV_PROTO 1
+ EOF
+@@ -9196,13 +11518,13 @@
+ fi
+ 
+ if test "$ac_cv_func_gethostname+set" != set -o "$ac_cv_func_gethostname" = yes; then
+-echo "$as_me:9199: checking if gethostname needs a prototype" >&5
++echo "configure:11521: checking if gethostname needs a prototype" >&5
+ echo $ECHO_N "checking if gethostname needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_gethostname_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 9205 "configure"
++#line 11527 "configure"
+ #include "confdefs.h"
+ #include <unistd.h>
+ int
+@@ -9217,29 +11539,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:9220: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9223: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:9225: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9228: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:11542: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_gethostname_noproto=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_gethostname_noproto=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_gethostname_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:9238: result: $ac_cv_func_gethostname_noproto" >&5
++echo "configure:11551: result: $ac_cv_func_gethostname_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_gethostname_noproto" >&6
+ 
+ if test "$ac_cv_func_gethostname_noproto" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define NEED_GETHOSTNAME_PROTO 1
+ EOF
+@@ -9249,13 +11562,13 @@
+ fi
+ 
+ if test "$ac_cv_func_mkstemp+set" != set -o "$ac_cv_func_mkstemp" = yes; then
+-echo "$as_me:9252: checking if mkstemp needs a prototype" >&5
++echo "configure:11565: checking if mkstemp needs a prototype" >&5
+ echo $ECHO_N "checking if mkstemp needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_mkstemp_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 9258 "configure"
++#line 11571 "configure"
+ #include "confdefs.h"
+ #include <unistd.h>
+ int
+@@ -9270,29 +11583,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:9273: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9276: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:9278: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9281: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:11586: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_mkstemp_noproto=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_mkstemp_noproto=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_mkstemp_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:9291: result: $ac_cv_func_mkstemp_noproto" >&5
++echo "configure:11595: result: $ac_cv_func_mkstemp_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_mkstemp_noproto" >&6
+ 
+ if test "$ac_cv_func_mkstemp_noproto" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define NEED_MKSTEMP_PROTO 1
+ EOF
+@@ -9302,13 +11606,13 @@
+ fi
+ 
+ if test "$ac_cv_func_getusershell+set" != set -o "$ac_cv_func_getusershell" = yes; then
+-echo "$as_me:9305: checking if getusershell needs a prototype" >&5
++echo "configure:11609: checking if getusershell needs a prototype" >&5
+ echo $ECHO_N "checking if getusershell needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_getusershell_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 9311 "configure"
++#line 11615 "configure"
+ #include "confdefs.h"
+ #include <unistd.h>
+ int
+@@ -9323,29 +11627,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:9326: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9329: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:9331: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9334: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:11630: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_getusershell_noproto=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_getusershell_noproto=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_getusershell_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:9344: result: $ac_cv_func_getusershell_noproto" >&5
++echo "configure:11639: result: $ac_cv_func_getusershell_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_getusershell_noproto" >&6
+ 
+ if test "$ac_cv_func_getusershell_noproto" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define NEED_GETUSERSHELL_PROTO 1
+ EOF
+@@ -9355,13 +11650,13 @@
+ fi
+ 
+ if test "$ac_cv_func_inet_aton+set" != set -o "$ac_cv_func_inet_aton" = yes; then
+-echo "$as_me:9358: checking if inet_aton needs a prototype" >&5
++echo "configure:11653: checking if inet_aton needs a prototype" >&5
+ echo $ECHO_N "checking if inet_aton needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_inet_aton_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 9364 "configure"
++#line 11659 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_SYS_TYPES_H
+@@ -9388,29 +11683,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:9391: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9394: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:9396: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9399: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:11686: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_inet_aton_noproto=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_inet_aton_noproto=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_inet_aton_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:9409: result: $ac_cv_func_inet_aton_noproto" >&5
++echo "configure:11695: result: $ac_cv_func_inet_aton_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_inet_aton_noproto" >&6
+ 
+ if test "$ac_cv_func_inet_aton_noproto" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define NEED_INET_ATON_PROTO 1
+ EOF
+@@ -9419,7 +11705,7 @@
+ 
+ fi
+ 
+-echo "$as_me:9422: checking for crypt" >&5
++echo "configure:11708: checking for crypt" >&5
+ echo $ECHO_N "checking for crypt... $ECHO_C" >&6
+ if test "${ac_cv_funclib_crypt+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -9435,7 +11721,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 9438 "configure"
++#line 11724 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -9447,20 +11733,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:9450: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9453: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:9455: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9458: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:11736: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_crypt=$ac_lib; else ac_cv_funclib_crypt=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -9473,17 +11750,17 @@
+ eval "ac_res=\$ac_cv_funclib_crypt"
+ 
+ if false; then
+-
++	
+ for ac_func in crypt
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:9480: checking for $ac_func" >&5
++echo "configure:11757: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 9486 "configure"
++#line 11763 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -9514,25 +11791,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:9517: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9520: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:9522: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9525: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:11794: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:9535: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:11803: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -9556,13 +11824,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:9559: result: yes" >&5
++	echo "configure:11827: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_crypt=no"
+ 	eval "LIB_crypt="
+-	echo "$as_me:9565: result: no" >&5
++	echo "configure:11833: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -9576,18 +11844,18 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:9579: result: yes, in $ac_res" >&5
++	echo "configure:11847: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "$as_me:9584: checking if gethostbyname is compatible with system prototype" >&5
++echo "configure:11852: checking if gethostbyname is compatible with system prototype" >&5
+ echo $ECHO_N "checking if gethostbyname is compatible with system prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_gethostbyname_proto_compat+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 9590 "configure"
++#line 11858 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_SYS_TYPES_H
+@@ -9615,42 +11883,33 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:9618: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9621: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:9623: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9626: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:11886: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_gethostbyname_proto_compat=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_gethostbyname_proto_compat=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_gethostbyname_proto_compat=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:9636: result: $ac_cv_func_gethostbyname_proto_compat" >&5
++echo "configure:11895: result: $ac_cv_func_gethostbyname_proto_compat" >&5
+ echo "${ECHO_T}$ac_cv_func_gethostbyname_proto_compat" >&6
+ 
+ if test "$ac_cv_func_gethostbyname_proto_compat" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define GETHOSTBYNAME_PROTO_COMPATIBLE 1
+ EOF
+ 
+ fi
+ 
+-echo "$as_me:9647: checking if gethostbyaddr is compatible with system prototype" >&5
++echo "configure:11906: checking if gethostbyaddr is compatible with system prototype" >&5
+ echo $ECHO_N "checking if gethostbyaddr is compatible with system prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_gethostbyaddr_proto_compat+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 9653 "configure"
++#line 11912 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_SYS_TYPES_H
+@@ -9678,42 +11937,33 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:9681: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9684: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:9686: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9689: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:11940: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_gethostbyaddr_proto_compat=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_gethostbyaddr_proto_compat=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_gethostbyaddr_proto_compat=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:9699: result: $ac_cv_func_gethostbyaddr_proto_compat" >&5
++echo "configure:11949: result: $ac_cv_func_gethostbyaddr_proto_compat" >&5
+ echo "${ECHO_T}$ac_cv_func_gethostbyaddr_proto_compat" >&6
+ 
+ if test "$ac_cv_func_gethostbyaddr_proto_compat" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define GETHOSTBYADDR_PROTO_COMPATIBLE 1
+ EOF
+ 
+ fi
+ 
+-echo "$as_me:9710: checking if getservbyname is compatible with system prototype" >&5
++echo "configure:11960: checking if getservbyname is compatible with system prototype" >&5
+ echo $ECHO_N "checking if getservbyname is compatible with system prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_getservbyname_proto_compat+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 9716 "configure"
++#line 11966 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_SYS_TYPES_H
+@@ -9741,42 +11991,33 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:9744: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9747: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:9749: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9752: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:11994: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_getservbyname_proto_compat=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_getservbyname_proto_compat=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_getservbyname_proto_compat=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:9762: result: $ac_cv_func_getservbyname_proto_compat" >&5
++echo "configure:12003: result: $ac_cv_func_getservbyname_proto_compat" >&5
+ echo "${ECHO_T}$ac_cv_func_getservbyname_proto_compat" >&6
+ 
+ if test "$ac_cv_func_getservbyname_proto_compat" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define GETSERVBYNAME_PROTO_COMPATIBLE 1
+ EOF
+ 
+ fi
+ 
+-echo "$as_me:9773: checking if getsockname is compatible with system prototype" >&5
++echo "configure:12014: checking if getsockname is compatible with system prototype" >&5
+ echo $ECHO_N "checking if getsockname is compatible with system prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_getsockname_proto_compat+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 9779 "configure"
++#line 12020 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_SYS_TYPES_H
+@@ -9795,42 +12036,33 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:9798: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9801: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:9803: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9806: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:12039: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_getsockname_proto_compat=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_getsockname_proto_compat=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_getsockname_proto_compat=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:9816: result: $ac_cv_func_getsockname_proto_compat" >&5
++echo "configure:12048: result: $ac_cv_func_getsockname_proto_compat" >&5
+ echo "${ECHO_T}$ac_cv_func_getsockname_proto_compat" >&6
+ 
+ if test "$ac_cv_func_getsockname_proto_compat" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define GETSOCKNAME_PROTO_COMPATIBLE 1
+ EOF
+ 
+ fi
+ 
+-echo "$as_me:9827: checking if openlog is compatible with system prototype" >&5
++echo "configure:12059: checking if openlog is compatible with system prototype" >&5
+ echo $ECHO_N "checking if openlog is compatible with system prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_openlog_proto_compat+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 9833 "configure"
++#line 12065 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_SYSLOG_H
+@@ -9846,29 +12078,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:9849: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9852: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:9854: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9857: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:12081: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_openlog_proto_compat=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_openlog_proto_compat=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_openlog_proto_compat=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:9867: result: $ac_cv_func_openlog_proto_compat" >&5
++echo "configure:12090: result: $ac_cv_func_openlog_proto_compat" >&5
+ echo "${ECHO_T}$ac_cv_func_openlog_proto_compat" >&6
+ 
+ if test "$ac_cv_func_openlog_proto_compat" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define OPENLOG_PROTO_COMPATIBLE 1
+ EOF
+@@ -9876,13 +12099,13 @@
+ fi
+ 
+ if test "$ac_cv_func_crypt+set" != set -o "$ac_cv_func_crypt" = yes; then
+-echo "$as_me:9879: checking if crypt needs a prototype" >&5
++echo "configure:12102: checking if crypt needs a prototype" >&5
+ echo $ECHO_N "checking if crypt needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_crypt_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 9885 "configure"
++#line 12108 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_CRYPT_H
+@@ -9904,29 +12127,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:9907: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9910: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:9912: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9915: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:12130: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_crypt_noproto=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_crypt_noproto=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_crypt_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:9925: result: $ac_cv_func_crypt_noproto" >&5
++echo "configure:12139: result: $ac_cv_func_crypt_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_crypt_noproto" >&6
+ 
+ if test "$ac_cv_func_crypt_noproto" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define NEED_CRYPT_PROTO 1
+ EOF
+@@ -9936,13 +12150,13 @@
+ fi
+ 
+ if test "$ac_cv_func_strtok_r+set" != set -o "$ac_cv_func_strtok_r" = yes; then
+-echo "$as_me:9939: checking if strtok_r needs a prototype" >&5
++echo "configure:12153: checking if strtok_r needs a prototype" >&5
+ echo $ECHO_N "checking if strtok_r needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_strtok_r_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 9945 "configure"
++#line 12159 "configure"
+ #include "confdefs.h"
+ 
+ #include <string.h>
+@@ -9959,29 +12173,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:9962: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9965: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:9967: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9970: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:12176: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_strtok_r_noproto=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_strtok_r_noproto=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_strtok_r_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:9980: result: $ac_cv_func_strtok_r_noproto" >&5
++echo "configure:12185: result: $ac_cv_func_strtok_r_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_strtok_r_noproto" >&6
+ 
+ if test "$ac_cv_func_strtok_r_noproto" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define NEED_STRTOK_R_PROTO 1
+ EOF
+@@ -9991,13 +12196,13 @@
+ fi
+ 
+ if test "$ac_cv_func_strsep+set" != set -o "$ac_cv_func_strsep" = yes; then
+-echo "$as_me:9994: checking if strsep needs a prototype" >&5
++echo "configure:12199: checking if strsep needs a prototype" >&5
+ echo $ECHO_N "checking if strsep needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_strsep_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 10000 "configure"
++#line 12205 "configure"
+ #include "confdefs.h"
+ 
+ #include <string.h>
+@@ -10014,29 +12219,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:10017: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10020: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:10022: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10025: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:12222: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_strsep_noproto=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_strsep_noproto=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_strsep_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:10035: result: $ac_cv_func_strsep_noproto" >&5
++echo "configure:12231: result: $ac_cv_func_strsep_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_strsep_noproto" >&6
+ 
+ if test "$ac_cv_func_strsep_noproto" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define NEED_STRSEP_PROTO 1
+ EOF
+@@ -10045,14 +12241,14 @@
+ 
+ fi
+ 
+-echo "$as_me:10048: checking for h_errno" >&5
++echo "configure:12244: checking for h_errno" >&5
+ echo $ECHO_N "checking for h_errno... $ECHO_C" >&6
+ if test "${ac_cv_var_h_errno+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 10055 "configure"
++#line 12251 "configure"
+ #include "confdefs.h"
+ extern int h_errno;
+ int foo() { return h_errno; }
+@@ -10065,100 +12261,37 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:10068: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10071: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:10073: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10076: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:12264: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_var_h_errno=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_var_h_errno=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_var_h_errno=no
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 
+ fi
+ 
+ ac_foo=`eval echo \\$ac_cv_var_h_errno`
+-echo "$as_me:10089: result: $ac_foo" >&5
++echo "configure:12276: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+-
++	
+ cat >>confdefs.h <<EOF
+ #define HAVE_H_ERRNO 1
+ EOF
+ 
+-echo "$as_me:10097: checking if h_errno is properly declared" >&5
+-echo $ECHO_N "checking if h_errno is properly declared... $ECHO_C" >&6
+-if test "${ac_cv_var_h_errno_declaration+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-
+-cat >conftest.$ac_ext <<_ACEOF
+-#line 10104 "configure"
+-#include "confdefs.h"
+-#ifdef HAVE_SYS_TYPES_H
+-#include <sys/types.h>
+-#endif
+-#ifdef HAVE_NETDB_H
+-#include <netdb.h>
+-#endif
+-extern struct { int foo; } h_errno;
+-int
+-main ()
+-{
+-h_errno.foo = 1;
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:10122: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10125: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:10127: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10130: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  eval "ac_cv_var_h_errno_declaration=no"
+-else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_var_h_errno_declaration=yes"
+-fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
+-
+-fi
+-
+-echo "$as_me:10142: result: $ac_cv_var_h_errno_declaration" >&5
+-echo "${ECHO_T}$ac_cv_var_h_errno_declaration" >&6
+-if eval "test \"\$ac_cv_var_h_errno_declaration\" = yes"; then
+-
+-cat >>confdefs.h <<\EOF
+-#define HAVE_H_ERRNO_DECLARATION 1
+-EOF
+-
+-fi
+-
++	
+ fi
+ 
+-echo "$as_me:10154: checking for h_errlist" >&5
++echo "configure:12287: checking for h_errlist" >&5
+ echo $ECHO_N "checking for h_errlist... $ECHO_C" >&6
+ if test "${ac_cv_var_h_errlist+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 10161 "configure"
++#line 12294 "configure"
+ #include "confdefs.h"
+ extern int h_errlist;
+ int foo() { return h_errlist; }
+@@ -10171,97 +12304,37 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:10174: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10177: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:10179: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10182: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:12307: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_var_h_errlist=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_var_h_errlist=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_var_h_errlist=no
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 
+ fi
+ 
+ ac_foo=`eval echo \\$ac_cv_var_h_errlist`
+-echo "$as_me:10195: result: $ac_foo" >&5
++echo "configure:12319: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+-
++	
+ cat >>confdefs.h <<EOF
+ #define HAVE_H_ERRLIST 1
+ EOF
+ 
+-echo "$as_me:10203: checking if h_errlist is properly declared" >&5
+-echo $ECHO_N "checking if h_errlist is properly declared... $ECHO_C" >&6
+-if test "${ac_cv_var_h_errlist_declaration+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-
+-cat >conftest.$ac_ext <<_ACEOF
+-#line 10210 "configure"
+-#include "confdefs.h"
+-#ifdef HAVE_NETDB_H
+-#include <netdb.h>
+-#endif
+-extern struct { int foo; } h_errlist;
+-int
+-main ()
+-{
+-h_errlist.foo = 1;
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:10225: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10228: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:10230: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10233: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  eval "ac_cv_var_h_errlist_declaration=no"
+-else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_var_h_errlist_declaration=yes"
+-fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
+-
+-fi
+-
+-echo "$as_me:10245: result: $ac_cv_var_h_errlist_declaration" >&5
+-echo "${ECHO_T}$ac_cv_var_h_errlist_declaration" >&6
+-if eval "test \"\$ac_cv_var_h_errlist_declaration\" = yes"; then
+-
+-cat >>confdefs.h <<\EOF
+-#define HAVE_H_ERRLIST_DECLARATION 1
+-EOF
+-
++	
+ fi
+ 
+-fi
+-
+-echo "$as_me:10257: checking for h_nerr" >&5
++echo "configure:12330: checking for h_nerr" >&5
+ echo $ECHO_N "checking for h_nerr... $ECHO_C" >&6
+ if test "${ac_cv_var_h_nerr+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 10264 "configure"
++#line 12337 "configure"
+ #include "confdefs.h"
+ extern int h_nerr;
+ int foo() { return h_nerr; }
+@@ -10274,97 +12347,37 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:10277: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10280: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:10282: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10285: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:12350: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_var_h_nerr=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_var_h_nerr=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_var_h_nerr=no
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 
+ fi
+ 
+ ac_foo=`eval echo \\$ac_cv_var_h_nerr`
+-echo "$as_me:10298: result: $ac_foo" >&5
++echo "configure:12362: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+-
++	
+ cat >>confdefs.h <<EOF
+ #define HAVE_H_NERR 1
+ EOF
+ 
+-echo "$as_me:10306: checking if h_nerr is properly declared" >&5
+-echo $ECHO_N "checking if h_nerr is properly declared... $ECHO_C" >&6
+-if test "${ac_cv_var_h_nerr_declaration+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-
+-cat >conftest.$ac_ext <<_ACEOF
+-#line 10313 "configure"
+-#include "confdefs.h"
+-#ifdef HAVE_NETDB_H
+-#include <netdb.h>
+-#endif
+-extern struct { int foo; } h_nerr;
+-int
+-main ()
+-{
+-h_nerr.foo = 1;
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:10328: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10331: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:10333: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10336: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  eval "ac_cv_var_h_nerr_declaration=no"
+-else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_var_h_nerr_declaration=yes"
+-fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
+-
+-fi
+-
+-echo "$as_me:10348: result: $ac_cv_var_h_nerr_declaration" >&5
+-echo "${ECHO_T}$ac_cv_var_h_nerr_declaration" >&6
+-if eval "test \"\$ac_cv_var_h_nerr_declaration\" = yes"; then
+-
+-cat >>confdefs.h <<\EOF
+-#define HAVE_H_NERR_DECLARATION 1
+-EOF
+-
+-fi
+-
++	
+ fi
+ 
+-echo "$as_me:10360: checking for __progname" >&5
++echo "configure:12373: checking for __progname" >&5
+ echo $ECHO_N "checking for __progname... $ECHO_C" >&6
+ if test "${ac_cv_var___progname+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 10367 "configure"
++#line 12380 "configure"
+ #include "confdefs.h"
+ extern int __progname;
+ int foo() { return __progname; }
+@@ -10377,97 +12390,37 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:10380: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10383: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:10385: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10388: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:12393: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_var___progname=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_var___progname=no
+-fi
+-rm -f conftest$ac_exeext conftest.$ac_ext
+-
+-fi
+-
+-ac_foo=`eval echo \\$ac_cv_var___progname`
+-echo "$as_me:10401: result: $ac_foo" >&5
+-echo "${ECHO_T}$ac_foo" >&6
+-if test "$ac_foo" = yes; then
+-
+-cat >>confdefs.h <<EOF
+-#define HAVE___PROGNAME 1
+-EOF
+-
+-echo "$as_me:10409: checking if __progname is properly declared" >&5
+-echo $ECHO_N "checking if __progname is properly declared... $ECHO_C" >&6
+-if test "${ac_cv_var___progname_declaration+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-
+-cat >conftest.$ac_ext <<_ACEOF
+-#line 10416 "configure"
+-#include "confdefs.h"
+-#ifdef HAVE_ERR_H
+-#include <err.h>
+-#endif
+-extern struct { int foo; } __progname;
+-int
+-main ()
+-{
+-__progname.foo = 1;
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:10431: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10434: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:10436: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10439: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  eval "ac_cv_var___progname_declaration=no"
+-else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_var___progname_declaration=yes"
+-fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
+-
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_var___progname=no
+ fi
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 
+-echo "$as_me:10451: result: $ac_cv_var___progname_declaration" >&5
+-echo "${ECHO_T}$ac_cv_var___progname_declaration" >&6
+-if eval "test \"\$ac_cv_var___progname_declaration\" = yes"; then
++fi
+ 
+-cat >>confdefs.h <<\EOF
+-#define HAVE___PROGNAME_DECLARATION 1
++ac_foo=`eval echo \\$ac_cv_var___progname`
++echo "configure:12405: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++	
++cat >>confdefs.h <<EOF
++#define HAVE___PROGNAME 1
+ EOF
+ 
++	
+ fi
+ 
+-fi
+-
+-echo "$as_me:10463: checking if optarg is properly declared" >&5
++echo "configure:12416: checking if optarg is properly declared" >&5
+ echo $ECHO_N "checking if optarg is properly declared... $ECHO_C" >&6
+ if test "${ac_cv_var_optarg_declaration+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 10470 "configure"
++#line 12423 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ #ifdef HAVE_UNISTD_H
+@@ -10483,44 +12436,35 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:10486: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10489: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:10491: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10494: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:12439: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_var_optarg_declaration=no"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_var_optarg_declaration=yes"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_var_optarg_declaration=yes"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ 
+ fi
+ 
+-echo "$as_me:10506: result: $ac_cv_var_optarg_declaration" >&5
++echo "configure:12450: result: $ac_cv_var_optarg_declaration" >&5
+ echo "${ECHO_T}$ac_cv_var_optarg_declaration" >&6
+ if eval "test \"\$ac_cv_var_optarg_declaration\" = yes"; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_OPTARG_DECLARATION 1
+ EOF
+ 
+ fi
+ 
+-echo "$as_me:10516: checking if optind is properly declared" >&5
++echo "configure:12460: checking if optind is properly declared" >&5
+ echo $ECHO_N "checking if optind is properly declared... $ECHO_C" >&6
+ if test "${ac_cv_var_optind_declaration+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 10523 "configure"
++#line 12467 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ #ifdef HAVE_UNISTD_H
+@@ -10536,44 +12480,35 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:10539: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10542: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:10544: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10547: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:12483: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_var_optind_declaration=no"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_var_optind_declaration=yes"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_var_optind_declaration=yes"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ 
+ fi
+ 
+-echo "$as_me:10559: result: $ac_cv_var_optind_declaration" >&5
++echo "configure:12494: result: $ac_cv_var_optind_declaration" >&5
+ echo "${ECHO_T}$ac_cv_var_optind_declaration" >&6
+ if eval "test \"\$ac_cv_var_optind_declaration\" = yes"; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_OPTIND_DECLARATION 1
+ EOF
+ 
+ fi
+ 
+-echo "$as_me:10569: checking if opterr is properly declared" >&5
++echo "configure:12504: checking if opterr is properly declared" >&5
+ echo $ECHO_N "checking if opterr is properly declared... $ECHO_C" >&6
+ if test "${ac_cv_var_opterr_declaration+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 10576 "configure"
++#line 12511 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ #ifdef HAVE_UNISTD_H
+@@ -10589,44 +12524,35 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:10592: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10595: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:10597: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10600: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:12527: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_var_opterr_declaration=no"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_var_opterr_declaration=yes"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_var_opterr_declaration=yes"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ 
+ fi
+ 
+-echo "$as_me:10612: result: $ac_cv_var_opterr_declaration" >&5
++echo "configure:12538: result: $ac_cv_var_opterr_declaration" >&5
+ echo "${ECHO_T}$ac_cv_var_opterr_declaration" >&6
+ if eval "test \"\$ac_cv_var_opterr_declaration\" = yes"; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_OPTERR_DECLARATION 1
+ EOF
+ 
+ fi
+ 
+-echo "$as_me:10622: checking if optopt is properly declared" >&5
++echo "configure:12548: checking if optopt is properly declared" >&5
+ echo $ECHO_N "checking if optopt is properly declared... $ECHO_C" >&6
+ if test "${ac_cv_var_optopt_declaration+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 10629 "configure"
++#line 12555 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ #ifdef HAVE_UNISTD_H
+@@ -10642,44 +12568,35 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:10645: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10648: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:10650: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10653: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:12571: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_var_optopt_declaration=no"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_var_optopt_declaration=yes"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_var_optopt_declaration=yes"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ 
+ fi
+ 
+-echo "$as_me:10665: result: $ac_cv_var_optopt_declaration" >&5
++echo "configure:12582: result: $ac_cv_var_optopt_declaration" >&5
+ echo "${ECHO_T}$ac_cv_var_optopt_declaration" >&6
+ if eval "test \"\$ac_cv_var_optopt_declaration\" = yes"; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_OPTOPT_DECLARATION 1
+ EOF
+ 
+ fi
+ 
+-echo "$as_me:10675: checking if environ is properly declared" >&5
++echo "configure:12592: checking if environ is properly declared" >&5
+ echo $ECHO_N "checking if environ is properly declared... $ECHO_C" >&6
+ if test "${ac_cv_var_environ_declaration+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 10682 "configure"
++#line 12599 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ extern struct { int foo; } environ;
+@@ -10692,44 +12609,35 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:10695: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10698: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:10700: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10703: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:12612: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_var_environ_declaration=no"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_var_environ_declaration=yes"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_var_environ_declaration=yes"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ 
+ fi
+ 
+-echo "$as_me:10715: result: $ac_cv_var_environ_declaration" >&5
++echo "configure:12623: result: $ac_cv_var_environ_declaration" >&5
+ echo "${ECHO_T}$ac_cv_var_environ_declaration" >&6
+ if eval "test \"\$ac_cv_var_environ_declaration\" = yes"; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_ENVIRON_DECLARATION 1
+ EOF
+ 
+ fi
+ 
+-echo "$as_me:10725: checking for tm_gmtoff in struct tm" >&5
++echo "configure:12633: checking for tm_gmtoff in struct tm" >&5
+ echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_tm_tm_gmtoff+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 10732 "configure"
++#line 12640 "configure"
+ #include "confdefs.h"
+ #include <time.h>
+ int
+@@ -10741,42 +12649,35 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:10744: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10747: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:10749: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10752: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:12652: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_tm_tm_gmtoff=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_struct_tm_tm_gmtoff=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_struct_tm_tm_gmtoff=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:10762: result: $ac_cv_type_struct_tm_tm_gmtoff" >&5
++echo "configure:12661: result: $ac_cv_type_struct_tm_tm_gmtoff" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_tm_tm_gmtoff" >&6
+ if test "$ac_cv_type_struct_tm_tm_gmtoff" = yes; then
+-
++	
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_STRUCT_TM_TM_GMTOFF 1
+ EOF
+ 
++	
+ fi
+ 
+-echo "$as_me:10772: checking for tm_zone in struct tm" >&5
++echo "configure:12673: checking for tm_zone in struct tm" >&5
+ echo $ECHO_N "checking for tm_zone in struct tm... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_tm_tm_zone+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 10779 "configure"
++#line 12680 "configure"
+ #include "confdefs.h"
+ #include <time.h>
+ int
+@@ -10788,42 +12689,35 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:10791: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10794: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:10796: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10799: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:12692: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_tm_tm_zone=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_struct_tm_tm_zone=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_struct_tm_tm_zone=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:10809: result: $ac_cv_type_struct_tm_tm_zone" >&5
++echo "configure:12701: result: $ac_cv_type_struct_tm_tm_zone" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_tm_tm_zone" >&6
+ if test "$ac_cv_type_struct_tm_tm_zone" = yes; then
+-
++	
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_STRUCT_TM_TM_ZONE 1
+ EOF
+ 
++	
+ fi
+ 
+-echo "$as_me:10819: checking for timezone" >&5
++echo "configure:12713: checking for timezone" >&5
+ echo $ECHO_N "checking for timezone... $ECHO_C" >&6
+ if test "${ac_cv_var_timezone+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 10826 "configure"
++#line 12720 "configure"
+ #include "confdefs.h"
+ extern int timezone;
+ int foo() { return timezone; }
+@@ -10836,95 +12730,37 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:10839: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10842: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:10844: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10847: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:12733: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_var_timezone=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_var_timezone=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_var_timezone=no
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 
+ fi
+ 
+ ac_foo=`eval echo \\$ac_cv_var_timezone`
+-echo "$as_me:10860: result: $ac_foo" >&5
++echo "configure:12745: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+-
++	
+ cat >>confdefs.h <<EOF
+ #define HAVE_TIMEZONE 1
+ EOF
+ 
+-echo "$as_me:10868: checking if timezone is properly declared" >&5
+-echo $ECHO_N "checking if timezone is properly declared... $ECHO_C" >&6
+-if test "${ac_cv_var_timezone_declaration+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-
+-cat >conftest.$ac_ext <<_ACEOF
+-#line 10875 "configure"
+-#include "confdefs.h"
+-#include <time.h>
+-extern struct { int foo; } timezone;
+-int
+-main ()
+-{
+-timezone.foo = 1;
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:10888: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10891: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:10893: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10896: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  eval "ac_cv_var_timezone_declaration=no"
+-else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_var_timezone_declaration=yes"
+-fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
+-
+-fi
+-
+-echo "$as_me:10908: result: $ac_cv_var_timezone_declaration" >&5
+-echo "${ECHO_T}$ac_cv_var_timezone_declaration" >&6
+-if eval "test \"\$ac_cv_var_timezone_declaration\" = yes"; then
+-
+-cat >>confdefs.h <<\EOF
+-#define HAVE_TIMEZONE_DECLARATION 1
+-EOF
+-
+-fi
+-
++	
+ fi
+ 
+ cv=`echo "sa_family_t" | sed 'y%./+- %__p__%'`
+-echo "$as_me:10921: checking for sa_family_t" >&5
++echo "configure:12757: checking for sa_family_t" >&5
+ echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 10927 "configure"
++#line 12763 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -10941,37 +12777,28 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:10944: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10947: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:10949: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10952: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:12780: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_type_$cv=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_type_$cv=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_type_$cv=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:10963: result: $ac_foo" >&5
++echo "configure:12790: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo sa_family_t | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:10968: checking for sa_family_t" >&5
++	echo "configure:12795: checking for sa_family_t" >&5
+ echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6
+ if test "${ac_cv_type_sa_family_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 10974 "configure"
++#line 12801 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -10986,25 +12813,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:10989: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10992: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:10994: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10997: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:12816: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_sa_family_t=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_sa_family_t=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_sa_family_t=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:11007: result: $ac_cv_type_sa_family_t" >&5
++echo "configure:12825: result: $ac_cv_type_sa_family_t" >&5
+ echo "${ECHO_T}$ac_cv_type_sa_family_t" >&6
+ if test $ac_cv_type_sa_family_t = yes; then
+ 
+@@ -11023,13 +12841,13 @@
+ fi
+ 
+ cv=`echo "socklen_t" | sed 'y%./+- %__p__%'`
+-echo "$as_me:11026: checking for socklen_t" >&5
++echo "configure:12844: checking for socklen_t" >&5
+ echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 11032 "configure"
++#line 12850 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -11046,37 +12864,28 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:11049: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11052: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:11054: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11057: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:12867: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_type_$cv=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_type_$cv=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_type_$cv=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:11068: result: $ac_foo" >&5
++echo "configure:12877: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo socklen_t | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:11073: checking for socklen_t" >&5
++	echo "configure:12882: checking for socklen_t" >&5
+ echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
+ if test "${ac_cv_type_socklen_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 11079 "configure"
++#line 12888 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -11091,25 +12900,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:11094: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11097: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:11099: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11102: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:12903: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_socklen_t=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_socklen_t=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_socklen_t=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:11112: result: $ac_cv_type_socklen_t" >&5
++echo "configure:12912: result: $ac_cv_type_socklen_t" >&5
+ echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
+ if test $ac_cv_type_socklen_t = yes; then
+ 
+@@ -11128,13 +12928,13 @@
+ fi
+ 
+ cv=`echo "struct sockaddr" | sed 'y%./+- %__p__%'`
+-echo "$as_me:11131: checking for struct sockaddr" >&5
++echo "configure:12931: checking for struct sockaddr" >&5
+ echo $ECHO_N "checking for struct sockaddr... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 11137 "configure"
++#line 12937 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -11151,37 +12951,28 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:11154: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11157: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:11159: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11162: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:12954: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_type_$cv=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_type_$cv=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_type_$cv=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:11173: result: $ac_foo" >&5
++echo "configure:12964: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo struct sockaddr | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:11178: checking for struct sockaddr" >&5
++	echo "configure:12969: checking for struct sockaddr" >&5
+ echo $ECHO_N "checking for struct sockaddr... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_sockaddr+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 11184 "configure"
++#line 12975 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -11196,25 +12987,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:11199: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11202: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:11204: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11207: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:12990: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_sockaddr=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_struct_sockaddr=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_struct_sockaddr=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:11217: result: $ac_cv_type_struct_sockaddr" >&5
++echo "configure:12999: result: $ac_cv_type_struct_sockaddr" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_sockaddr" >&6
+ if test $ac_cv_type_struct_sockaddr = yes; then
+ 
+@@ -11233,13 +13015,13 @@
+ fi
+ 
+ cv=`echo "struct sockaddr_storage" | sed 'y%./+- %__p__%'`
+-echo "$as_me:11236: checking for struct sockaddr_storage" >&5
++echo "configure:13018: checking for struct sockaddr_storage" >&5
+ echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 11242 "configure"
++#line 13024 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -11256,37 +13038,28 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:11259: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11262: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:11264: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11267: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:13041: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_type_$cv=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_type_$cv=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_type_$cv=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:11278: result: $ac_foo" >&5
++echo "configure:13051: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo struct sockaddr_storage | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:11283: checking for struct sockaddr_storage" >&5
++	echo "configure:13056: checking for struct sockaddr_storage" >&5
+ echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_sockaddr_storage+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 11289 "configure"
++#line 13062 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -11301,25 +13074,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:11304: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11307: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:11309: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11312: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:13077: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_sockaddr_storage=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_struct_sockaddr_storage=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_struct_sockaddr_storage=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:11322: result: $ac_cv_type_struct_sockaddr_storage" >&5
++echo "configure:13086: result: $ac_cv_type_struct_sockaddr_storage" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_sockaddr_storage" >&6
+ if test $ac_cv_type_struct_sockaddr_storage = yes; then
+ 
+@@ -11338,13 +13102,13 @@
+ fi
+ 
+ cv=`echo "struct addrinfo" | sed 'y%./+- %__p__%'`
+-echo "$as_me:11341: checking for struct addrinfo" >&5
++echo "configure:13105: checking for struct addrinfo" >&5
+ echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 11347 "configure"
++#line 13111 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -11361,37 +13125,28 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:11364: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11367: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:11369: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11372: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:13128: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_type_$cv=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_type_$cv=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_type_$cv=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:11383: result: $ac_foo" >&5
++echo "configure:13138: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo struct addrinfo | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:11388: checking for struct addrinfo" >&5
++	echo "configure:13143: checking for struct addrinfo" >&5
+ echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_addrinfo+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 11394 "configure"
++#line 13149 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -11406,25 +13161,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:11409: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11412: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:11414: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11417: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:13164: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_addrinfo=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_struct_addrinfo=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_struct_addrinfo=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:11427: result: $ac_cv_type_struct_addrinfo" >&5
++echo "configure:13173: result: $ac_cv_type_struct_addrinfo" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_addrinfo" >&6
+ if test $ac_cv_type_struct_addrinfo = yes; then
+ 
+@@ -11443,13 +13189,13 @@
+ fi
+ 
+ cv=`echo "struct ifaddrs" | sed 'y%./+- %__p__%'`
+-echo "$as_me:11446: checking for struct ifaddrs" >&5
++echo "configure:13192: checking for struct ifaddrs" >&5
+ echo $ECHO_N "checking for struct ifaddrs... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 11452 "configure"
++#line 13198 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -11466,37 +13212,28 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:11469: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11472: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:11474: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11477: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:13215: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_type_$cv=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_type_$cv=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_type_$cv=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:11488: result: $ac_foo" >&5
++echo "configure:13225: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo struct ifaddrs | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:11493: checking for struct ifaddrs" >&5
++	echo "configure:13230: checking for struct ifaddrs" >&5
+ echo $ECHO_N "checking for struct ifaddrs... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_ifaddrs+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 11499 "configure"
++#line 13236 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -11511,25 +13248,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:11514: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11517: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:11519: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11522: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:13251: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_ifaddrs=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_struct_ifaddrs=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_struct_ifaddrs=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:11532: result: $ac_cv_type_struct_ifaddrs" >&5
++echo "configure:13260: result: $ac_cv_type_struct_ifaddrs" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_ifaddrs" >&6
+ if test $ac_cv_type_struct_ifaddrs = yes; then
+ 
+@@ -11547,7 +13275,7 @@
+ 
+ fi
+ 
+-echo "$as_me:11550: checking for struct winsize" >&5
++echo "configure:13278: checking for struct winsize" >&5
+ echo $ECHO_N "checking for struct winsize... $ECHO_C" >&6
+ if test "${ac_cv_struct_winsize+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -11556,7 +13284,7 @@
+ ac_cv_struct_winsize=no
+ for i in sys/termios.h sys/ioctl.h; do
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 11559 "configure"
++#line 13287 "configure"
+ #include "confdefs.h"
+ #include <$i>
+ 
+@@ -11577,10 +13305,10 @@
+ EOF
+ 
+ fi
+-echo "$as_me:11580: result: $ac_cv_struct_winsize" >&5
++echo "configure:13308: result: $ac_cv_struct_winsize" >&5
+ echo "${ECHO_T}$ac_cv_struct_winsize" >&6
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 11583 "configure"
++#line 13311 "configure"
+ #include "confdefs.h"
+ #include <termios.h>
+ 
+@@ -11596,7 +13324,7 @@
+ rm -f conftest*
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 11599 "configure"
++#line 13327 "configure"
+ #include "confdefs.h"
+ #include <termios.h>
+ 
+@@ -11611,14 +13339,14 @@
+ fi
+ rm -f conftest*
+ 
+-echo "$as_me:11614: checking for struct spwd" >&5
++echo "configure:13342: checking for struct spwd" >&5
+ echo $ECHO_N "checking for struct spwd... $ECHO_C" >&6
+ if test "${ac_cv_struct_spwd+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 11621 "configure"
++#line 13349 "configure"
+ #include "confdefs.h"
+ #include <pwd.h>
+ #ifdef HAVE_SHADOW_H
+@@ -11633,27 +13361,18 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:11636: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11639: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:11641: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11644: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:13364: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_struct_spwd=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_struct_spwd=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_struct_spwd=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ 
+ fi
+ 
+-echo "$as_me:11656: result: $ac_cv_struct_spwd" >&5
++echo "configure:13375: result: $ac_cv_struct_spwd" >&5
+ echo "${ECHO_T}$ac_cv_struct_spwd" >&6
+ 
+ if test "$ac_cv_struct_spwd" = "yes"; then
+@@ -11664,8 +13383,6 @@
+ 
+ fi
+ 
+-LIB_roken="${LIB_roken} \$(LIB_crypt) \$(LIB_dbopen)"
+-
+ LIB_roken="\$(top_builddir)/lib/vers/libvers.la $LIB_roken"
+ 
+ # Check whether --with-openldap or --without-openldap was given.
+@@ -11678,9 +13395,7 @@
+ if test "${with_openldap_lib+set}" = set; then
+   withval="$with_openldap_lib"
+   if test "$withval" = "yes" -o "$withval" = "no"; then
+-  { { echo "$as_me:11681: error: No argument for --with-openldap-lib" >&5
+-echo "$as_me: error: No argument for --with-openldap-lib" >&2;}
+-   { (exit 1); exit 1; }; }
++  { echo "configure: error: No argument for --with-openldap-lib" >&2; exit 1; }
+ elif test "X$with_openldap" = "X"; then
+   with_openldap=yes
+ fi
+@@ -11690,15 +13405,13 @@
+ if test "${with_openldap_include+set}" = set; then
+   withval="$with_openldap_include"
+   if test "$withval" = "yes" -o "$withval" = "no"; then
+-  { { echo "$as_me:11693: error: No argument for --with-openldap-include" >&5
+-echo "$as_me: error: No argument for --with-openldap-include" >&2;}
+-   { (exit 1); exit 1; }; }
++  { echo "configure: error: No argument for --with-openldap-include" >&2; exit 1; }
+ elif test "X$with_openldap" = "X"; then
+   with_openldap=yes
+ fi
+ fi;
+ 
+-echo "$as_me:11701: checking for openldap" >&5
++echo "configure:13414: checking for openldap" >&5
+ echo $ECHO_N "checking for openldap... $ECHO_C" >&6
+ 
+ case "$with_openldap" in
+@@ -11716,7 +13429,7 @@
+ header_dirs=
+ lib_dirs=
+ d=''
+-for i in $d; do
++for i in $d /usr; do
+ 	header_dirs="$header_dirs $i/include"
+ 	lib_dirs="$lib_dirs $i/lib$abilibdirext"
+ done
+@@ -11738,7 +13451,7 @@
+ for i in $header_dirs; do
+ 	CFLAGS="-I$i $save_CFLAGS"
+ 	cat >conftest.$ac_ext <<_ACEOF
+-#line 11741 "configure"
++#line 13454 "configure"
+ #include "confdefs.h"
+ #include <ldap.h>
+ int
+@@ -11750,27 +13463,18 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:11753: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11756: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:11758: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11761: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:13466: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ires=$i;break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ done
+ for i in $lib_dirs; do
+ 	LIBS="-L$i -lldap -llber  $save_LIBS"
+ 	cat >conftest.$ac_ext <<_ACEOF
+-#line 11773 "configure"
++#line 13477 "configure"
+ #include "confdefs.h"
+ #include <ldap.h>
+ int
+@@ -11782,20 +13486,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:11785: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11788: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:11790: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11793: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:13489: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   lres=$i;break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ done
+@@ -11805,21 +13500,19 @@
+ if test "$ires" -a "$lres" -a "$with_openldap" != "no"; then
+ 	openldap_includedir="$ires"
+ 	openldap_libdir="$lres"
++	DIR_openldap=
+ 	INCLUDE_openldap="-I$openldap_includedir"
+ 	LIB_openldap="-L$openldap_libdir -lldap -llber"
+-
+-cat >>confdefs.h <<EOF
+-#define OPENLDAP 1
+-EOF
+-
++	
+ 	with_openldap=yes
+-	echo "$as_me:11816: result: headers $ires, libraries $lres" >&5
++	echo "configure:13508: result: headers $ires, libraries $lres" >&5
+ echo "${ECHO_T}headers $ires, libraries $lres" >&6
+ else
++	DIR_openldap="openldap"
+ 	INCLUDE_openldap=
+ 	LIB_openldap=
+ 	with_openldap=no
+-	echo "$as_me:11822: result: $with_openldap" >&5
++	echo "configure:13515: result: $with_openldap" >&5
+ echo "${ECHO_T}$with_openldap" >&6
+ fi
+ 
+@@ -11837,9 +13530,7 @@
+ if test "${with_krb4_lib+set}" = set; then
+   withval="$with_krb4_lib"
+   if test "$withval" = "yes" -o "$withval" = "no"; then
+-  { { echo "$as_me:11840: error: No argument for --with-krb4-lib" >&5
+-echo "$as_me: error: No argument for --with-krb4-lib" >&2;}
+-   { (exit 1); exit 1; }; }
++  { echo "configure: error: No argument for --with-krb4-lib" >&2; exit 1; }
+ elif test "X$with_krb4" = "X"; then
+   with_krb4=yes
+ fi
+@@ -11849,15 +13540,13 @@
+ if test "${with_krb4_include+set}" = set; then
+   withval="$with_krb4_include"
+   if test "$withval" = "yes" -o "$withval" = "no"; then
+-  { { echo "$as_me:11852: error: No argument for --with-krb4-include" >&5
+-echo "$as_me: error: No argument for --with-krb4-include" >&2;}
+-   { (exit 1); exit 1; }; }
++  { echo "configure: error: No argument for --with-krb4-include" >&2; exit 1; }
+ elif test "X$with_krb4" = "X"; then
+   with_krb4=yes
+ fi
+ fi;
+ 
+-echo "$as_me:11860: checking for krb4" >&5
++echo "configure:13549: checking for krb4" >&5
+ echo $ECHO_N "checking for krb4... $ECHO_C" >&6
+ 
+ case "$with_krb4" in
+@@ -11874,8 +13563,8 @@
+ esac
+ header_dirs=
+ lib_dirs=
+-d='/usr/athena'
+-for i in $d; do
++d=''
++for i in $d /usr; do
+ 	header_dirs="$header_dirs $i/include"
+ 	lib_dirs="$lib_dirs $i/lib$abilibdirext"
+ done
+@@ -11897,7 +13586,7 @@
+ for i in $header_dirs; do
+ 	CFLAGS="-I$i $save_CFLAGS"
+ 	cat >conftest.$ac_ext <<_ACEOF
+-#line 11900 "configure"
++#line 13589 "configure"
+ #include "confdefs.h"
+ #include <krb.h>
+ int
+@@ -11909,27 +13598,18 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:11912: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11915: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:11917: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11920: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:13601: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ires=$i;break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ done
+ for i in $lib_dirs; do
+ 	LIBS="-L$i -lkrb -ldes $save_LIBS"
+ 	cat >conftest.$ac_ext <<_ACEOF
+-#line 11932 "configure"
++#line 13612 "configure"
+ #include "confdefs.h"
+ #include <krb.h>
+ int
+@@ -11941,20 +13621,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:11944: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11947: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:11949: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11952: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:13624: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   lres=$i;break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ done
+@@ -11964,24 +13635,26 @@
+ if test "$ires" -a "$lres" -a "$with_krb4" != "no"; then
+ 	krb4_includedir="$ires"
+ 	krb4_libdir="$lres"
++	DIR_krb4=
+ 	INCLUDE_krb4="-I$krb4_includedir"
+ 	LIB_krb4="-L$krb4_libdir -lkrb"
+-
+-cat >>confdefs.h <<EOF
+-#define KRB4 1
+-EOF
+-
++	
+ 	with_krb4=yes
+-	echo "$as_me:11975: result: headers $ires, libraries $lres" >&5
++	echo "configure:13643: result: headers $ires, libraries $lres" >&5
+ echo "${ECHO_T}headers $ires, libraries $lres" >&6
+ else
++	DIR_krb4="krb4"
+ 	INCLUDE_krb4=
+ 	LIB_krb4=
+ 	with_krb4=no
+-	echo "$as_me:11981: result: $with_krb4" >&5
++	echo "configure:13650: result: $with_krb4" >&5
+ echo "${ECHO_T}$with_krb4" >&6
+ fi
+ 
++if test "$krb4_libdir" = "/usr/lib"; then
++  krb4_libdir="";
++fi
++
+ LIB_kdb=
+ if test "$with_krb4" != "no"; then
+ 	save_CFLAGS="$CFLAGS"
+@@ -11989,14 +13662,14 @@
+ 	save_LIBS="$LIBS"
+ 	LIBS="$LIB_krb4 -ldes $LIBS"
+ 	EXTRA_LIB45=lib45.a
+-
+-	echo "$as_me:11993: checking for four valued krb_put_int" >&5
++	
++	echo "configure:13666: checking for four valued krb_put_int" >&5
+ echo $ECHO_N "checking for four valued krb_put_int... $ECHO_C" >&6
+ if test "${ac_cv_func_krb_put_int_four+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 11999 "configure"
++#line 13672 "configure"
+ #include "confdefs.h"
+ #include <krb.h>
+ int
+@@ -12010,42 +13683,34 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:12013: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:12016: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:12018: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:12021: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:13686: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_func_krb_put_int_four=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_krb_put_int_four=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_krb_put_int_four=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+-
++	
+ fi
+-echo "$as_me:12032: result: $ac_cv_func_krb_put_int_four" >&5
++echo "configure:13696: result: $ac_cv_func_krb_put_int_four" >&5
+ echo "${ECHO_T}$ac_cv_func_krb_put_int_four" >&6
+ 	if test "$ac_cv_func_krb_put_int_four" = yes; then
+-
++		
+ cat >>confdefs.h <<\EOF
+ #define HAVE_FOUR_VALUED_KRB_PUT_INT 1
+ EOF
+ 
+ 	fi
++	
+ 
+-	echo "$as_me:12042: checking for KRB_VERIFY_SECURE" >&5
++	echo "configure:13707: checking for KRB_VERIFY_SECURE" >&5
+ echo $ECHO_N "checking for KRB_VERIFY_SECURE... $ECHO_C" >&6
+ if test "${ac_cv_func_krb_verify_secure+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 12048 "configure"
++#line 13713 "configure"
+ #include "confdefs.h"
+ #include <krb.h>
+ int
+@@ -12058,45 +13723,37 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:12061: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:12064: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:12066: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:12069: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:13726: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_func_krb_verify_secure=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_krb_verify_secure=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_krb_verify_secure=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+-
++	
+ fi
+-echo "$as_me:12080: result: $ac_cv_func_krb_verify_secure" >&5
++echo "configure:13736: result: $ac_cv_func_krb_verify_secure" >&5
+ echo "${ECHO_T}$ac_cv_func_krb_verify_secure" >&6
+ 	if test "$ac_cv_func_krb_verify_secure" != yes; then
+-
++		
+ cat >>confdefs.h <<\EOF
+ #define KRB_VERIFY_SECURE 1
+ EOF
+ 
++		
+ cat >>confdefs.h <<\EOF
+ #define KRB_VERIFY_SECURE_FAIL 2
+ EOF
+ 
+ 	fi
+-	echo "$as_me:12093: checking for KRB_VERIFY_NOT_SECURE" >&5
++	echo "configure:13750: checking for KRB_VERIFY_NOT_SECURE" >&5
+ echo $ECHO_N "checking for KRB_VERIFY_NOT_SECURE... $ECHO_C" >&6
+ if test "${ac_cv_func_krb_verify_not_secure+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 12099 "configure"
++#line 13756 "configure"
+ #include "confdefs.h"
+ #include <krb.h>
+ int
+@@ -12109,36 +13766,28 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:12112: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:12115: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:12117: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:12120: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:13769: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_func_krb_verify_not_secure=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_krb_verify_not_secure=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_krb_verify_not_secure=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+-
++	
+ fi
+-echo "$as_me:12131: result: $ac_cv_func_krb_verify_not_secure" >&5
++echo "configure:13779: result: $ac_cv_func_krb_verify_not_secure" >&5
+ echo "${ECHO_T}$ac_cv_func_krb_verify_not_secure" >&6
+ 	if test "$ac_cv_func_krb_verify_not_secure" != yes; then
+-
++		
+ cat >>confdefs.h <<\EOF
+ #define KRB_VERIFY_NOT_SECURE 0
+ EOF
+ 
+ 	fi
++	
+ 
+-echo "$as_me:12141: checking for krb_enable_debug" >&5
++echo "configure:13790: checking for krb_enable_debug" >&5
+ echo $ECHO_N "checking for krb_enable_debug... $ECHO_C" >&6
+ if test "${ac_cv_funclib_krb_enable_debug+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -12154,7 +13803,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 12157 "configure"
++#line 13806 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -12166,20 +13815,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:12169: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:12172: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:12174: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:12177: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:13818: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_krb_enable_debug=$ac_lib; else ac_cv_funclib_krb_enable_debug=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -12192,17 +13832,17 @@
+ eval "ac_res=\$ac_cv_funclib_krb_enable_debug"
+ 
+ if false; then
+-
++	
+ for ac_func in krb_enable_debug
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:12199: checking for $ac_func" >&5
++echo "configure:13839: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 12205 "configure"
++#line 13845 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -12233,25 +13873,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:12236: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:12239: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:12241: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:12244: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:13876: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:12254: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:13885: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -12275,13 +13906,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:12278: result: yes" >&5
++	echo "configure:13909: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_krb_enable_debug=no"
+ 	eval "LIB_krb_enable_debug="
+-	echo "$as_me:12284: result: no" >&5
++	echo "configure:13915: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -12295,7 +13926,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:12298: result: yes, in $ac_res" >&5
++	echo "configure:13929: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -12304,7 +13935,9 @@
+ 	LIBS="$LIB_krb_enable_debug $LIBS"
+ fi
+ 
+-echo "$as_me:12307: checking for krb_disable_debug" >&5
++	
++
++echo "configure:13940: checking for krb_disable_debug" >&5
+ echo $ECHO_N "checking for krb_disable_debug... $ECHO_C" >&6
+ if test "${ac_cv_funclib_krb_disable_debug+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -12320,7 +13953,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 12323 "configure"
++#line 13956 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -12332,20 +13965,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:12335: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:12338: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:12340: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:12343: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:13968: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_krb_disable_debug=$ac_lib; else ac_cv_funclib_krb_disable_debug=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -12358,17 +13982,17 @@
+ eval "ac_res=\$ac_cv_funclib_krb_disable_debug"
+ 
+ if false; then
+-
++	
+ for ac_func in krb_disable_debug
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:12365: checking for $ac_func" >&5
++echo "configure:13989: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 12371 "configure"
++#line 13995 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -12399,25 +14023,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:12402: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:12405: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:12407: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:12410: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:14026: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:12420: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:14035: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -12441,13 +14056,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:12444: result: yes" >&5
++	echo "configure:14059: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_krb_disable_debug=no"
+ 	eval "LIB_krb_disable_debug="
+-	echo "$as_me:12450: result: no" >&5
++	echo "configure:14065: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -12461,7 +14076,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:12464: result: yes, in $ac_res" >&5
++	echo "configure:14079: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -12470,7 +14085,9 @@
+ 	LIBS="$LIB_krb_disable_debug $LIBS"
+ fi
+ 
+-echo "$as_me:12473: checking for krb_get_our_ip_for_realm" >&5
++	
++
++echo "configure:14090: checking for krb_get_our_ip_for_realm" >&5
+ echo $ECHO_N "checking for krb_get_our_ip_for_realm... $ECHO_C" >&6
+ if test "${ac_cv_funclib_krb_get_our_ip_for_realm+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -12486,7 +14103,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 12489 "configure"
++#line 14106 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -12498,20 +14115,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:12501: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:12504: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:12506: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:12509: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:14118: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_krb_get_our_ip_for_realm=$ac_lib; else ac_cv_funclib_krb_get_our_ip_for_realm=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -12524,17 +14132,17 @@
+ eval "ac_res=\$ac_cv_funclib_krb_get_our_ip_for_realm"
+ 
+ if false; then
+-
++	
+ for ac_func in krb_get_our_ip_for_realm
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:12531: checking for $ac_func" >&5
++echo "configure:14139: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 12537 "configure"
++#line 14145 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -12565,25 +14173,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:12568: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:12571: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:12573: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:12576: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:14176: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:12586: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:14185: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -12607,13 +14206,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:12610: result: yes" >&5
++	echo "configure:14209: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_krb_get_our_ip_for_realm=no"
+ 	eval "LIB_krb_get_our_ip_for_realm="
+-	echo "$as_me:12616: result: no" >&5
++	echo "configure:14215: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -12627,7 +14226,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:12630: result: yes, in $ac_res" >&5
++	echo "configure:14229: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -12636,13 +14235,13 @@
+ 	LIBS="$LIB_krb_get_our_ip_for_realm $LIBS"
+ fi
+ 
+-	echo "$as_me:12639: checking for krb_mk_req with const arguments" >&5
++	echo "configure:14238: checking for krb_mk_req with const arguments" >&5
+ echo $ECHO_N "checking for krb_mk_req with const arguments... $ECHO_C" >&6
+ if test "${ac_cv_func_krb_mk_req_const+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 12645 "configure"
++#line 14244 "configure"
+ #include "confdefs.h"
+ #include <krb.h>
+ 		int krb_mk_req(KTEXT a, const char *s, const char *i,
+@@ -12657,29 +14256,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:12660: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:12663: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:12665: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:12668: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:14259: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_func_krb_mk_req_const=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_krb_mk_req_const=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_krb_mk_req_const=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+-
++	
+ fi
+-echo "$as_me:12679: result: $ac_cv_func_krb_mk_req_const" >&5
++echo "configure:14269: result: $ac_cv_func_krb_mk_req_const" >&5
+ echo "${ECHO_T}$ac_cv_func_krb_mk_req_const" >&6
+ 	if test "$ac_cv_func_krb_mk_req_const" = "yes"; then
+-
++		
+ cat >>confdefs.h <<\EOF
+ #define KRB_MK_REQ_CONST 1
+ EOF
+@@ -12689,9 +14279,9 @@
+ 	LIBS="$save_LIBS"
+ 	CFLAGS="$save_CFLAGS"
+ 	LIB_kdb="-lkdb -lkrb"
+-	if test "$krb4_libdir"; then
+-		LIB_krb4="-R $krb4_libdir $LIB_krb4"
+-		LIB_kdb="-R $krb4_libdir -L$krb4_libdir $LIB_kdb"
++	if test "$krb4_libdir" != ""; then
++		LIB_krb4="-rpath $krb4_libdir $LIB_krb4"
++		LIB_kdb="-rpath $krb4_libdir -L$krb4_libdir $LIB_kdb"
+ 	fi
+ fi
+ 
+@@ -12759,15 +14349,13 @@
+ 
+ fi;
+ if test "$enable_kaserver" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define KASERVER 1
+ EOF
+ 
+ 	if test "$with_krb4" = "no"; then
+-		{ { echo "$as_me:12768: error: kaserver requires krb4" >&5
+-echo "$as_me: error: kaserver requires krb4" >&2;}
+-   { (exit 1); exit 1; }; }
++		{ echo "configure: error: kaserver requires krb4" >&2; exit 1; }
+ 		exit 1
+ 	fi
+ fi
+@@ -12778,15 +14366,13 @@
+ 
+ fi;
+ if test "$enable_kaserver_db" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define KASERVER_DB 1
+ EOF
+ 
+ 	if test "$with_krb4" = "no"; then
+-		{ { echo "$as_me:12787: error: kaserver-db requires krb4" >&5
+-echo "$as_me: error: kaserver-db requires krb4" >&2;}
+-   { (exit 1); exit 1; }; }
++		{ echo "configure: error: kaserver-db requires krb4" >&2; exit 1; }
+ 		exit 1
+ 	fi
+ fi
+@@ -12802,7 +14388,7 @@
+ 
+ fi;
+ if test "$otp" = "yes"; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define OTP 1
+ EOF
+@@ -12825,7 +14411,7 @@
+ fi;
+ LIB_security=
+ if test "$enable_osfc2" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_OSFC2 1
+ EOF
+@@ -12835,7 +14421,7 @@
+ 
+ # Extract the first word of "nroff", so it can be a program name with args.
+ set dummy nroff; ac_word=$2
+-echo "$as_me:12838: checking for $ac_word" >&5
++echo "configure:14424: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_path_NROFF+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -12850,7 +14436,7 @@
+ for ac_dir in $ac_dummy; do
+   IFS=$ac_save_IFS
+   test -z "$ac_dir" && ac_dir=.
+-  if $as_executable_p "$ac_dir/$ac_word"; then
++  if test -f "$ac_dir/$ac_word"; then
+    ac_cv_path_NROFF="$ac_dir/$ac_word"
+    break
+ fi
+@@ -12862,16 +14448,16 @@
+ NROFF=$ac_cv_path_NROFF
+ 
+ if test -n "$NROFF"; then
+-  echo "$as_me:12865: result: $NROFF" >&5
++  echo "configure:14451: result: $NROFF" >&5
+ echo "${ECHO_T}$NROFF" >&6
+ else
+-  echo "$as_me:12868: result: no" >&5
++  echo "configure:14454: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+ # Extract the first word of "groff", so it can be a program name with args.
+ set dummy groff; ac_word=$2
+-echo "$as_me:12874: checking for $ac_word" >&5
++echo "configure:14460: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_path_GROFF+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -12886,7 +14472,7 @@
+ for ac_dir in $ac_dummy; do
+   IFS=$ac_save_IFS
+   test -z "$ac_dir" && ac_dir=.
+-  if $as_executable_p "$ac_dir/$ac_word"; then
++  if test -f "$ac_dir/$ac_word"; then
+    ac_cv_path_GROFF="$ac_dir/$ac_word"
+    break
+ fi
+@@ -12898,14 +14484,14 @@
+ GROFF=$ac_cv_path_GROFF
+ 
+ if test -n "$GROFF"; then
+-  echo "$as_me:12901: result: $GROFF" >&5
++  echo "configure:14487: result: $GROFF" >&5
+ echo "${ECHO_T}$GROFF" >&6
+ else
+-  echo "$as_me:12904: result: no" >&5
++  echo "configure:14490: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+-echo "$as_me:12908: checking how to format man pages" >&5
++echo "configure:14494: checking how to format man pages" >&5
+ echo $ECHO_N "checking how to format man pages... $ECHO_C" >&6
+ if test "${ac_cv_sys_man_format+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -12942,102 +14528,362 @@
+ fi
+ 
+ fi
+-echo "$as_me:12945: result: $ac_cv_sys_man_format" >&5
+-echo "${ECHO_T}$ac_cv_sys_man_format" >&6
+-if test "$ac_cv_sys_man_format"; then
+-	CATMAN="$ac_cv_sys_man_format"
++echo "configure:14531: result: $ac_cv_sys_man_format" >&5
++echo "${ECHO_T}$ac_cv_sys_man_format" >&6
++if test "$ac_cv_sys_man_format"; then
++	CATMAN="$ac_cv_sys_man_format"
++	
++fi
++
++if test "$CATMAN"; then
++  CATMAN_TRUE=
++  CATMAN_FALSE='#'
++else
++  CATMAN_TRUE='#'
++  CATMAN_FALSE=
++fi
++echo "configure:14545: checking extension of pre-formatted manual pages" >&5
++echo $ECHO_N "checking extension of pre-formatted manual pages... $ECHO_C" >&6
++if test "${ac_cv_sys_catman_ext+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if grep _suffix /etc/man.conf > /dev/null 2>&1; then
++	ac_cv_sys_catman_ext=0
++else
++	ac_cv_sys_catman_ext=number
++fi
++
++fi
++echo "configure:14557: result: $ac_cv_sys_catman_ext" >&5
++echo "${ECHO_T}$ac_cv_sys_catman_ext" >&6
++if test "$ac_cv_sys_catman_ext" = number; then
++	CATMANEXT='$$section'
++else
++	CATMANEXT=0
++fi
++
++# Check whether --with-readline or --without-readline was given.
++if test "${with_readline+set}" = set; then
++  withval="$with_readline"
++
++fi;
++
++# Check whether --with-readline-lib or --without-readline-lib was given.
++if test "${with_readline_lib+set}" = set; then
++  withval="$with_readline_lib"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { echo "configure: error: No argument for --with-readline-lib" >&2; exit 1; }
++elif test "X$with_readline" = "X"; then
++  with_readline=yes
++fi
++fi;
++
++# Check whether --with-readline-include or --without-readline-include was given.
++if test "${with_readline_include+set}" = set; then
++  withval="$with_readline_include"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { echo "configure: error: No argument for --with-readline-include" >&2; exit 1; }
++elif test "X$with_readline" = "X"; then
++  with_readline=yes
++fi
++fi;
++
++echo "configure:14591: checking for readline" >&5
++echo $ECHO_N "checking for readline... $ECHO_C" >&6
++
++case "$with_readline" in
++yes)	;;
++no)	;;
++"")	;;
++*)	if test "$with_readline_include" = ""; then
++		with_readline_include="$with_readline/include"
++	fi
++	if test "$with_readline_lib" = ""; then
++		with_readline_lib="$with_readline/lib$abilibdirext"
++	fi
++	;;
++esac
++header_dirs=
++lib_dirs=
++d=''
++for i in $d /usr; do
++	header_dirs="$header_dirs $i/include"
++	lib_dirs="$lib_dirs $i/lib$abilibdirext"
++done
++
++case "$with_readline_include" in
++yes) ;;
++no)  ;;
++*)   header_dirs="$with_readline_include $header_dirs";;
++esac
++case "$with_readline_lib" in
++yes) ;;
++no)  ;;
++*)   lib_dirs="$with_readline_lib $lib_dirs";;
++esac
++
++save_CFLAGS="$CFLAGS"
++save_LIBS="$LIBS"
++ires= lres=
++for i in $header_dirs; do
++	CFLAGS="-I$i $save_CFLAGS"
++	cat >conftest.$ac_ext <<_ACEOF
++#line 14631 "configure"
++#include "confdefs.h"
++#include <stdio.h>
++ #include <readline.h>
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:14644: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++  ires=$i;break
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++done
++for i in $lib_dirs; do
++	LIBS="-L$i -lreadline  $save_LIBS"
++	cat >conftest.$ac_ext <<_ACEOF
++#line 14655 "configure"
++#include "confdefs.h"
++#include <stdio.h>
++ #include <readline.h>
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:14668: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  lres=$i;break
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++fi
++rm -f conftest$ac_exeext conftest.$ac_ext
++done
++CFLAGS="$save_CFLAGS"
++LIBS="$save_LIBS"
++
++if test "$ires" -a "$lres" -a "$with_readline" != "no"; then
++	readline_includedir="$ires"
++	readline_libdir="$lres"
++	DIR_readline=
++	INCLUDE_readline="-I$readline_includedir"
++	LIB_readline="-L$readline_libdir -lreadline"
++	
++	with_readline=yes
++	echo "configure:14687: result: headers $ires, libraries $lres" >&5
++echo "${ECHO_T}headers $ires, libraries $lres" >&6
++else
++	DIR_readline="readline"
++	INCLUDE_readline=
++	LIB_readline=
++	with_readline=no
++	echo "configure:14694: result: $with_readline" >&5
++echo "${ECHO_T}$with_readline" >&6
++fi
++
++# Check whether --with-com_err or --without-com_err was given.
++if test "${with_com_err+set}" = set; then
++  withval="$with_com_err"
++
++fi;
++
++# Check whether --with-com_err-lib or --without-com_err-lib was given.
++if test "${with_com_err_lib+set}" = set; then
++  withval="$with_com_err_lib"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { echo "configure: error: No argument for --with-com_err-lib" >&2; exit 1; }
++elif test "X$with_com_err" = "X"; then
++  with_com_err=yes
++fi
++fi;
+ 
++# Check whether --with-com_err-include or --without-com_err-include was given.
++if test "${with_com_err_include+set}" = set; then
++  withval="$with_com_err_include"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { echo "configure: error: No argument for --with-com_err-include" >&2; exit 1; }
++elif test "X$with_com_err" = "X"; then
++  with_com_err=yes
+ fi
++fi;
+ 
+-if test "$CATMAN"; then
+-  CATMAN_TRUE=
+-  CATMAN_FALSE='#'
++echo "configure:14724: checking for com_err" >&5
++echo $ECHO_N "checking for com_err... $ECHO_C" >&6
++
++case "$with_com_err" in
++yes)	;;
++no)	;;
++"")	;;
++*)	if test "$with_com_err_include" = ""; then
++		with_com_err_include="$with_com_err/include"
++	fi
++	if test "$with_com_err_lib" = ""; then
++		with_com_err_lib="$with_com_err/lib$abilibdirext"
++	fi
++	;;
++esac
++header_dirs=
++lib_dirs=
++d=''
++for i in $d /usr; do
++	header_dirs="$header_dirs $i/include"
++	lib_dirs="$lib_dirs $i/lib$abilibdirext"
++done
++
++case "$with_com_err_include" in
++yes) ;;
++no)  ;;
++*)   header_dirs="$with_com_err_include $header_dirs";;
++esac
++case "$with_com_err_lib" in
++yes) ;;
++no)  ;;
++*)   lib_dirs="$with_com_err_lib $lib_dirs";;
++esac
++
++save_CFLAGS="$CFLAGS"
++save_LIBS="$LIBS"
++ires= lres=
++for i in $header_dirs; do
++	CFLAGS="-I$i $save_CFLAGS"
++	cat >conftest.$ac_ext <<_ACEOF
++#line 14764 "configure"
++#include "confdefs.h"
++#include <et/com_err.h>
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:14776: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++  ires=$i;break
+ else
+-  CATMAN_TRUE='#'
+-  CATMAN_FALSE=
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+-echo "$as_me:12959: checking extension of pre-formatted manual pages" >&5
+-echo $ECHO_N "checking extension of pre-formatted manual pages... $ECHO_C" >&6
+-if test "${ac_cv_sys_catman_ext+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  if grep _suffix /etc/man.conf > /dev/null 2>&1; then
+-	ac_cv_sys_catman_ext=0
++rm -f conftest.$ac_objext conftest.$ac_ext
++done
++for i in $lib_dirs; do
++	LIBS="-L$i -lcom_err  $save_LIBS"
++	cat >conftest.$ac_ext <<_ACEOF
++#line 14787 "configure"
++#include "confdefs.h"
++#include <et/com_err.h>
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:14799: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  lres=$i;break
+ else
+-	ac_cv_sys_catman_ext=number
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
++rm -f conftest$ac_exeext conftest.$ac_ext
++done
++CFLAGS="$save_CFLAGS"
++LIBS="$save_LIBS"
+ 
+-fi
+-echo "$as_me:12971: result: $ac_cv_sys_catman_ext" >&5
+-echo "${ECHO_T}$ac_cv_sys_catman_ext" >&6
+-if test "$ac_cv_sys_catman_ext" = number; then
+-	CATMANEXT='$$section'
++if test "$ires" -a "$lres" -a "$with_com_err" != "no"; then
++	com_err_includedir="$ires"
++	com_err_libdir="$lres"
++	DIR_com_err=
++	INCLUDE_com_err="-I$com_err_includedir"
++	LIB_com_err="-L$com_err_libdir -lcom_err"
++	
++	with_com_err=yes
++	echo "configure:14818: result: headers $ires, libraries $lres" >&5
++echo "${ECHO_T}headers $ires, libraries $lres" >&6
+ else
+-	CATMANEXT=0
++	DIR_com_err="com_err"
++	INCLUDE_com_err=
++	LIB_com_err=
++	with_com_err=no
++	echo "configure:14825: result: $with_com_err" >&5
++echo "${ECHO_T}$with_com_err" >&6
+ fi
+ 
+-# Check whether --with-readline or --without-readline was given.
+-if test "${with_readline+set}" = set; then
+-  withval="$with_readline"
++# Check whether --with-ss or --without-ss was given.
++if test "${with_ss+set}" = set; then
++  withval="$with_ss"
+ 
+ fi;
+ 
+-# Check whether --with-readline-lib or --without-readline-lib was given.
+-if test "${with_readline_lib+set}" = set; then
+-  withval="$with_readline_lib"
++# Check whether --with-ss-lib or --without-ss-lib was given.
++if test "${with_ss_lib+set}" = set; then
++  withval="$with_ss_lib"
+   if test "$withval" = "yes" -o "$withval" = "no"; then
+-  { { echo "$as_me:12989: error: No argument for --with-readline-lib" >&5
+-echo "$as_me: error: No argument for --with-readline-lib" >&2;}
+-   { (exit 1); exit 1; }; }
+-elif test "X$with_readline" = "X"; then
+-  with_readline=yes
++  { echo "configure: error: No argument for --with-ss-lib" >&2; exit 1; }
++elif test "X$with_ss" = "X"; then
++  with_ss=yes
+ fi
+ fi;
+ 
+-# Check whether --with-readline-include or --without-readline-include was given.
+-if test "${with_readline_include+set}" = set; then
+-  withval="$with_readline_include"
++# Check whether --with-ss-include or --without-ss-include was given.
++if test "${with_ss_include+set}" = set; then
++  withval="$with_ss_include"
+   if test "$withval" = "yes" -o "$withval" = "no"; then
+-  { { echo "$as_me:13001: error: No argument for --with-readline-include" >&5
+-echo "$as_me: error: No argument for --with-readline-include" >&2;}
+-   { (exit 1); exit 1; }; }
+-elif test "X$with_readline" = "X"; then
+-  with_readline=yes
++  { echo "configure: error: No argument for --with-ss-include" >&2; exit 1; }
++elif test "X$with_ss" = "X"; then
++  with_ss=yes
+ fi
+ fi;
+ 
+-echo "$as_me:13009: checking for readline" >&5
+-echo $ECHO_N "checking for readline... $ECHO_C" >&6
++echo "configure:14855: checking for ss" >&5
++echo $ECHO_N "checking for ss... $ECHO_C" >&6
+ 
+-case "$with_readline" in
++case "$with_ss" in
+ yes)	;;
+ no)	;;
+ "")	;;
+-*)	if test "$with_readline_include" = ""; then
+-		with_readline_include="$with_readline/include"
++*)	if test "$with_ss_include" = ""; then
++		with_ss_include="$with_ss/include"
+ 	fi
+-	if test "$with_readline_lib" = ""; then
+-		with_readline_lib="$with_readline/lib$abilibdirext"
++	if test "$with_ss_lib" = ""; then
++		with_ss_lib="$with_ss/lib$abilibdirext"
+ 	fi
+ 	;;
+ esac
+ header_dirs=
+ lib_dirs=
+ d=''
+-for i in $d; do
++for i in $d /usr; do
+ 	header_dirs="$header_dirs $i/include"
+ 	lib_dirs="$lib_dirs $i/lib$abilibdirext"
+ done
+ 
+-case "$with_readline_include" in
++case "$with_ss_include" in
+ yes) ;;
+ no)  ;;
+-*)   header_dirs="$with_readline_include $header_dirs";;
++*)   header_dirs="$with_ss_include $header_dirs";;
+ esac
+-case "$with_readline_lib" in
++case "$with_ss_lib" in
+ yes) ;;
+ no)  ;;
+-*)   lib_dirs="$with_readline_lib $lib_dirs";;
++*)   lib_dirs="$with_ss_lib $lib_dirs";;
+ esac
+ 
+ save_CFLAGS="$CFLAGS"
+@@ -13046,10 +14892,9 @@
+ for i in $header_dirs; do
+ 	CFLAGS="-I$i $save_CFLAGS"
+ 	cat >conftest.$ac_ext <<_ACEOF
+-#line 13049 "configure"
++#line 14895 "configure"
+ #include "confdefs.h"
+-#include <stdio.h>
+- #include <readline.h>
++#include <ss.h>
+ int
+ main ()
+ {
+@@ -13059,30 +14904,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:13062: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13065: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:13067: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13070: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:14907: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ires=$i;break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ done
+ for i in $lib_dirs; do
+-	LIBS="-L$i -lreadline  $save_LIBS"
++	LIBS="-L$i -lss  $save_LIBS"
+ 	cat >conftest.$ac_ext <<_ACEOF
+-#line 13082 "configure"
++#line 14918 "configure"
+ #include "confdefs.h"
+-#include <stdio.h>
+- #include <readline.h>
++#include <ss.h>
+ int
+ main ()
+ {
+@@ -13092,45 +14927,34 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:13095: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13098: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:13100: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13103: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:14930: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   lres=$i;break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ done
+ CFLAGS="$save_CFLAGS"
+ LIBS="$save_LIBS"
+ 
+-if test "$ires" -a "$lres" -a "$with_readline" != "no"; then
+-	readline_includedir="$ires"
+-	readline_libdir="$lres"
+-	INCLUDE_readline="-I$readline_includedir"
+-	LIB_readline="-L$readline_libdir -lreadline"
+-
+-cat >>confdefs.h <<EOF
+-#define READLINE 1
+-EOF
+-
+-	with_readline=yes
+-	echo "$as_me:13126: result: headers $ires, libraries $lres" >&5
++if test "$ires" -a "$lres" -a "$with_ss" != "no"; then
++	ss_includedir="$ires"
++	ss_libdir="$lres"
++	DIR_ss=
++	INCLUDE_ss="-I$ss_includedir"
++	LIB_ss="-L$ss_libdir -lss"
++	
++	with_ss=yes
++	echo "configure:14949: result: headers $ires, libraries $lres" >&5
+ echo "${ECHO_T}headers $ires, libraries $lres" >&6
+ else
+-	INCLUDE_readline=
+-	LIB_readline=
+-	with_readline=no
+-	echo "$as_me:13132: result: $with_readline" >&5
+-echo "${ECHO_T}$with_readline" >&6
++	DIR_ss="ss"
++	INCLUDE_ss=
++	LIB_ss=
++	with_ss=no
++	echo "configure:14956: result: $with_ss" >&5
++echo "${ECHO_T}$with_ss" >&6
+ fi
+ 
+ # Check whether --with-hesiod or --without-hesiod was given.
+@@ -13143,9 +14967,7 @@
+ if test "${with_hesiod_lib+set}" = set; then
+   withval="$with_hesiod_lib"
+   if test "$withval" = "yes" -o "$withval" = "no"; then
+-  { { echo "$as_me:13146: error: No argument for --with-hesiod-lib" >&5
+-echo "$as_me: error: No argument for --with-hesiod-lib" >&2;}
+-   { (exit 1); exit 1; }; }
++  { echo "configure: error: No argument for --with-hesiod-lib" >&2; exit 1; }
+ elif test "X$with_hesiod" = "X"; then
+   with_hesiod=yes
+ fi
+@@ -13155,15 +14977,13 @@
+ if test "${with_hesiod_include+set}" = set; then
+   withval="$with_hesiod_include"
+   if test "$withval" = "yes" -o "$withval" = "no"; then
+-  { { echo "$as_me:13158: error: No argument for --with-hesiod-include" >&5
+-echo "$as_me: error: No argument for --with-hesiod-include" >&2;}
+-   { (exit 1); exit 1; }; }
++  { echo "configure: error: No argument for --with-hesiod-include" >&2; exit 1; }
+ elif test "X$with_hesiod" = "X"; then
+   with_hesiod=yes
+ fi
+ fi;
+ 
+-echo "$as_me:13166: checking for hesiod" >&5
++echo "configure:14986: checking for hesiod" >&5
+ echo $ECHO_N "checking for hesiod... $ECHO_C" >&6
+ 
+ case "$with_hesiod" in
+@@ -13181,7 +15001,7 @@
+ header_dirs=
+ lib_dirs=
+ d=''
+-for i in $d; do
++for i in $d /usr; do
+ 	header_dirs="$header_dirs $i/include"
+ 	lib_dirs="$lib_dirs $i/lib$abilibdirext"
+ done
+@@ -13203,7 +15023,7 @@
+ for i in $header_dirs; do
+ 	CFLAGS="-I$i $save_CFLAGS"
+ 	cat >conftest.$ac_ext <<_ACEOF
+-#line 13206 "configure"
++#line 15026 "configure"
+ #include "confdefs.h"
+ #include <hesiod.h>
+ int
+@@ -13215,27 +15035,18 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:13218: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13221: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:13223: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13226: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:15038: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ires=$i;break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ done
+ for i in $lib_dirs; do
+ 	LIBS="-L$i -lhesiod  $save_LIBS"
+ 	cat >conftest.$ac_ext <<_ACEOF
+-#line 13238 "configure"
++#line 15049 "configure"
+ #include "confdefs.h"
+ #include <hesiod.h>
+ int
+@@ -13247,20 +15058,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:13250: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13253: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:13255: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13258: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:15061: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   lres=$i;break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ done
+@@ -13270,21 +15072,19 @@
+ if test "$ires" -a "$lres" -a "$with_hesiod" != "no"; then
+ 	hesiod_includedir="$ires"
+ 	hesiod_libdir="$lres"
++	DIR_hesiod=
+ 	INCLUDE_hesiod="-I$hesiod_includedir"
+ 	LIB_hesiod="-L$hesiod_libdir -lhesiod"
+-
+-cat >>confdefs.h <<EOF
+-#define HESIOD 1
+-EOF
+-
++	
+ 	with_hesiod=yes
+-	echo "$as_me:13281: result: headers $ires, libraries $lres" >&5
++	echo "configure:15080: result: headers $ires, libraries $lres" >&5
+ echo "${ECHO_T}headers $ires, libraries $lres" >&6
+ else
++	DIR_hesiod="hesiod"
+ 	INCLUDE_hesiod=
+ 	LIB_hesiod=
+ 	with_hesiod=no
+-	echo "$as_me:13287: result: $with_hesiod" >&5
++	echo "configure:15087: result: $with_hesiod" >&5
+ echo "${ECHO_T}$with_hesiod" >&6
+ fi
+ 
+@@ -13298,13 +15098,13 @@
+   enableval="$enable_littleendian"
+   krb_cv_c_bigendian=no
+ fi;
+-echo "$as_me:13301: checking whether byte order is known at compile time" >&5
++echo "configure:15101: checking whether byte order is known at compile time" >&5
+ echo $ECHO_N "checking whether byte order is known at compile time... $ECHO_C" >&6
+ if test "${krb_cv_c_bigendian_compile+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 13307 "configure"
++#line 15107 "configure"
+ #include "confdefs.h"
+ 
+ #include <sys/types.h>
+@@ -13321,27 +15121,18 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:13324: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13327: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:13329: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13332: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:15124: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   krb_cv_c_bigendian_compile=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-krb_cv_c_bigendian_compile=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  krb_cv_c_bigendian_compile=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:13342: result: $krb_cv_c_bigendian_compile" >&5
++echo "configure:15133: result: $krb_cv_c_bigendian_compile" >&5
+ echo "${ECHO_T}$krb_cv_c_bigendian_compile" >&6
+-echo "$as_me:13344: checking whether byte ordering is bigendian" >&5
++echo "configure:15135: checking whether byte ordering is bigendian" >&5
+ echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
+ if test "${krb_cv_c_bigendian+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -13349,7 +15140,7 @@
+ 
+   if test "$krb_cv_c_bigendian_compile" = "yes"; then
+     cat >conftest.$ac_ext <<_ACEOF
+-#line 13352 "configure"
++#line 15143 "configure"
+ #include "confdefs.h"
+ 
+ #include <sys/types.h>
+@@ -13366,31 +15157,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:13369: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13372: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:13374: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13377: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:15160: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   krb_cv_c_bigendian=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-krb_cv_c_bigendian=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  krb_cv_c_bigendian=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+   else
+     if test "$cross_compiling" = yes; then
+-  { { echo "$as_me:13388: error: specify either --enable-bigendian or --enable-littleendian" >&5
+-echo "$as_me: error: specify either --enable-bigendian or --enable-littleendian" >&2;}
+-   { (exit 1); exit 1; }; }
++  { echo "configure: error: specify either --enable-bigendian or --enable-littleendian" >&2; exit 1; }
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 13393 "configure"
++#line 15173 "configure"
+ #include "confdefs.h"
+ main () {
+       /* Are we little or big endian?  From Harbison&Steele.  */
+@@ -13404,28 +15184,21 @@
+   }
+ _ACEOF
+ rm -f conftest$ac_exeext
+-if { (eval echo "$as_me:13407: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13410: \$? = $ac_status" >&5
+-  (exit $ac_status); } && { (eval echo "$as_me:13411: \"./conftest$ac_exeext\"") >&5
+-  (eval ./conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13414: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:15187: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
++   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
+   krb_cv_c_bigendian=no
+ else
+-  echo "$as_me: program exited with status $ac_status" >&5
+-echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-krb_cv_c_bigendian=yes
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  krb_cv_c_bigendian=yes
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
++
+   fi
+ 
+ fi
+-echo "$as_me:13428: result: $krb_cv_c_bigendian" >&5
++echo "configure:15201: result: $krb_cv_c_bigendian" >&5
+ echo "${ECHO_T}$krb_cv_c_bigendian" >&6
+ if test "$krb_cv_c_bigendian" = "yes"; then
+ 
+@@ -13440,7 +15213,7 @@
+ EOF
+ fi
+ 
+-echo "$as_me:13443: checking for inline" >&5
++echo "configure:15216: checking for inline" >&5
+ echo $ECHO_N "checking for inline... $ECHO_C" >&6
+ if test "${ac_cv_c_inline+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -13448,7 +15221,7 @@
+   ac_cv_c_inline=no
+ for ac_kw in inline __inline__ __inline; do
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 13451 "configure"
++#line 15224 "configure"
+ #include "confdefs.h"
+ #ifndef __cplusplus
+ $ac_kw int foo () {return 0; }
+@@ -13456,26 +15229,17 @@
+ 
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:13459: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13462: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:13464: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13467: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:15232: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_c_inline=$ac_kw; break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ done
+ 
+ fi
+-echo "$as_me:13478: result: $ac_cv_c_inline" >&5
++echo "configure:15242: result: $ac_cv_c_inline" >&5
+ echo "${ECHO_T}$ac_cv_c_inline" >&6
+ case $ac_cv_c_inline in
+   inline | yes) ;;
+@@ -13525,7 +15289,7 @@
+   AIX_DYNAMIC_AFS_FALSE=
+ fi
+ 
+-echo "$as_me:13528: checking for dlopen" >&5
++echo "configure:15292: checking for dlopen" >&5
+ echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
+ if test "${ac_cv_funclib_dlopen+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -13541,7 +15305,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 13544 "configure"
++#line 15308 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -13553,20 +15317,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:13556: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13559: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:13561: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13564: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:15320: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_dlopen=$ac_lib; else ac_cv_funclib_dlopen=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -13579,17 +15334,17 @@
+ eval "ac_res=\$ac_cv_funclib_dlopen"
+ 
+ if false; then
+-
++	
+ for ac_func in dlopen
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:13586: checking for $ac_func" >&5
++echo "configure:15341: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 13592 "configure"
++#line 15347 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -13620,25 +15375,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:13623: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13626: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:13628: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13631: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:15378: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:13641: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:15387: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -13662,13 +15408,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:13665: result: yes" >&5
++	echo "configure:15411: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_dlopen=no"
+ 	eval "LIB_dlopen="
+-	echo "$as_me:13671: result: no" >&5
++	echo "configure:15417: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -13682,7 +15428,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:13685: result: yes, in $ac_res" >&5
++	echo "configure:15431: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -13722,7 +15468,7 @@
+   IRIX_FALSE=
+ fi
+ 
+-echo "$as_me:13725: checking for X" >&5
++echo "configure:15471: checking for X" >&5
+ echo $ECHO_N "checking for X... $ECHO_C" >&6
+ 
+ # Check whether --with-x or --without-x was given.
+@@ -13739,7 +15485,7 @@
+     # Both variables are already set.
+     have_x=yes
+   else
+-    if test "${ac_cv_have_x+set}" = set; then
++if test "${ac_cv_have_x+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   # One or both of the vars are not set, and there is no cached value.
+@@ -13819,19 +15565,13 @@
+   # Guess where to find include files, by looking for Intrinsic.h.
+   # First, try using that file with no special directory specified.
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 13822 "configure"
++#line 15568 "configure"
+ #include "confdefs.h"
+ #include <X11/Intrinsic.h>
+ _ACEOF
+-if { (eval echo "$as_me:13826: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
+-  (eval $ac_cpp conftest.$ac_ext >/dev/null) 2>conftest.er1
+-  ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
+-  rm -f conftest.er1
+-  cat conftest.err >&5
+-  echo "$as_me:13832: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  if test -s conftest.err; then
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:15573: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+   else
+     ac_cpp_err=
+@@ -13839,11 +15579,13 @@
+ else
+   ac_cpp_err=yes
+ fi
++
+ if test -z "$ac_cpp_err"; then
+   # We can compile using X headers with no special include directory.
+ ac_x_includes=
+ else
+-  echo "$as_me: failed program was:" >&5
++  cat conftest.err >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   for ac_dir in $ac_x_header_dirs; do
+   if test -r "$ac_dir/X11/Intrinsic.h"; then
+@@ -13852,7 +15594,8 @@
+   fi
+ done
+ fi
+-rm -f conftest.err conftest.$ac_ext
++rm -f conftest*
++
+ fi # $ac_x_includes = no
+ 
+ if test "$ac_x_libraries" = no; then
+@@ -13862,7 +15605,7 @@
+   ac_save_LIBS=$LIBS
+   LIBS="-lXt $LIBS"
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 13865 "configure"
++#line 15608 "configure"
+ #include "confdefs.h"
+ #include <X11/Intrinsic.h>
+ int
+@@ -13874,23 +15617,14 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:13877: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13880: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:13882: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13885: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:15620: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   LIBS=$ac_save_LIBS
+ # We can link X programs with no special library path.
+ ac_x_libraries=
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-LIBS=$ac_save_LIBS
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  LIBS=$ac_save_LIBS
+ for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
+ do
+   # Don't even attempt the hair of trying to link an X program!
+@@ -13914,13 +15648,12 @@
+ 	        ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
+ fi
+ fi
+-
+   fi
+   eval "$ac_cv_have_x"
+ fi # $with_x != no
+ 
+ if test "$have_x" != yes; then
+-  echo "$as_me:13923: result: $have_x" >&5
++  echo "configure:15656: result: $have_x" >&5
+ echo "${ECHO_T}$have_x" >&6
+   no_x=yes
+ else
+@@ -13930,7 +15663,7 @@
+   # Update the cache value to reflect the command line values.
+   ac_cv_have_x="have_x=yes \
+ 		ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
+-  echo "$as_me:13933: result: libraries $x_libraries, headers $x_includes" >&5
++  echo "configure:15666: result: libraries $x_libraries, headers $x_includes" >&5
+ echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
+ fi
+ 
+@@ -13954,81 +15687,39 @@
+     # others require no space.  Words are not sufficient . . . .
+     case `(uname -sr) 2>/dev/null` in
+     "SunOS 5"*)
+-      echo "$as_me:13957: checking whether -R must be followed by a space" >&5
++      echo "configure:15690: checking whether -R must be followed by a space" >&5
+ echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
+       ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
+-      cat >conftest.$ac_ext <<_ACEOF
+-#line 13961 "configure"
+-#include "confdefs.h"
+-
+-int
+-main ()
+-{
+-
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:13973: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13976: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:13978: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13981: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++      rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:15694: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_R_nospace=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_R_nospace=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_R_nospace=no
+ fi
+-rm -f conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext
+       if test $ac_R_nospace = yes; then
+-	echo "$as_me:13991: result: no" >&5
++	echo "configure:15703: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	X_LIBS="$X_LIBS -R$x_libraries"
+       else
+ 	LIBS="$ac_xsave_LIBS -R $x_libraries"
+-	cat >conftest.$ac_ext <<_ACEOF
+-#line 13997 "configure"
+-#include "confdefs.h"
+-
+-int
+-main ()
+-{
+-
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:14009: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14012: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:14014: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14017: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++	rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:15709: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_R_space=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_R_space=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_R_space=no
+ fi
+-rm -f conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext
+ 	if test $ac_R_space = yes; then
+-	  echo "$as_me:14027: result: yes" >&5
++	  echo "configure:15718: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	  X_LIBS="$X_LIBS -R $x_libraries"
+ 	else
+-	  echo "$as_me:14031: result: neither works" >&5
++	  echo "configure:15722: result: neither works" >&5
+ echo "${ECHO_T}neither works" >&6
+ 	fi
+       fi
+@@ -14046,7 +15737,8 @@
+     # Martyn Johnson says this is needed for Ultrix, if the X
+     # libraries were built with DECnet support.  And Karl Berry says
+     # the Alpha needs dnet_stub (dnet does not exist).
+-    echo "$as_me:14049: checking for dnet_ntoa in -ldnet" >&5
++
++echo "configure:15741: checking for dnet_ntoa in -ldnet" >&5
+ echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
+ if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -14054,7 +15746,7 @@
+   ac_check_lib_save_LIBS=$LIBS
+ LIBS="-ldnet  $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 14057 "configure"
++#line 15749 "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -14073,33 +15765,25 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:14076: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14079: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:14081: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14084: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:15768: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_lib_dnet_dnet_ntoa=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_lib_dnet_dnet_ntoa=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_lib_dnet_dnet_ntoa=no
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "$as_me:14095: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
++echo "configure:15778: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
+ echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
+ if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
+   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
+ fi
+ 
+     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
+-      echo "$as_me:14102: checking for dnet_ntoa in -ldnet_stub" >&5
++
++echo "configure:15786: checking for dnet_ntoa in -ldnet_stub" >&5
+ echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
+ if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -14107,7 +15791,7 @@
+   ac_check_lib_save_LIBS=$LIBS
+ LIBS="-ldnet_stub  $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 14110 "configure"
++#line 15794 "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -14126,26 +15810,17 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:14129: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14132: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:14134: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14137: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:15813: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_lib_dnet_stub_dnet_ntoa=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_lib_dnet_stub_dnet_ntoa=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_lib_dnet_stub_dnet_ntoa=no
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "$as_me:14148: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
++echo "configure:15823: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
+ echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
+ if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
+   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
+@@ -14161,13 +15836,13 @@
+     # on Irix 5.2, according to T.E. Dickey.
+     # The functions gethostbyname, getservbyname, and inet_addr are
+     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
+-    echo "$as_me:14164: checking for gethostbyname" >&5
++    echo "configure:15839: checking for gethostbyname" >&5
+ echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
+ if test "${ac_cv_func_gethostbyname+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 14170 "configure"
++#line 15845 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char gethostbyname (); below.  */
+@@ -14198,29 +15873,21 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:14201: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14204: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:14206: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14209: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:15876: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_func_gethostbyname=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_gethostbyname=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_gethostbyname=no
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:14219: result: $ac_cv_func_gethostbyname" >&5
++echo "configure:15885: result: $ac_cv_func_gethostbyname" >&5
+ echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
+ 
+     if test $ac_cv_func_gethostbyname = no; then
+-      echo "$as_me:14223: checking for gethostbyname in -lnsl" >&5
++
++echo "configure:15890: checking for gethostbyname in -lnsl" >&5
+ echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
+ if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -14228,7 +15895,7 @@
+   ac_check_lib_save_LIBS=$LIBS
+ LIBS="-lnsl  $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 14231 "configure"
++#line 15898 "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -14247,33 +15914,25 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:14250: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14253: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:14255: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14258: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:15917: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_lib_nsl_gethostbyname=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_lib_nsl_gethostbyname=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_lib_nsl_gethostbyname=no
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "$as_me:14269: result: $ac_cv_lib_nsl_gethostbyname" >&5
++echo "configure:15927: result: $ac_cv_lib_nsl_gethostbyname" >&5
+ echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
+ if test $ac_cv_lib_nsl_gethostbyname = yes; then
+   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
+ fi
+ 
+       if test $ac_cv_lib_nsl_gethostbyname = no; then
+-        echo "$as_me:14276: checking for gethostbyname in -lbsd" >&5
++
++echo "configure:15935: checking for gethostbyname in -lbsd" >&5
+ echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
+ if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -14281,7 +15940,7 @@
+   ac_check_lib_save_LIBS=$LIBS
+ LIBS="-lbsd  $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 14284 "configure"
++#line 15943 "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -14300,26 +15959,17 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:14303: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14306: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:14308: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14311: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:15962: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_lib_bsd_gethostbyname=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_lib_bsd_gethostbyname=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_lib_bsd_gethostbyname=no
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "$as_me:14322: result: $ac_cv_lib_bsd_gethostbyname" >&5
++echo "configure:15972: result: $ac_cv_lib_bsd_gethostbyname" >&5
+ echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
+ if test $ac_cv_lib_bsd_gethostbyname = yes; then
+   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
+@@ -14335,13 +15985,13 @@
+     # variants that don't use the nameserver (or something).  -lsocket
+     # must be given before -lnsl if both are needed.  We assume that
+     # if connect needs -lnsl, so does gethostbyname.
+-    echo "$as_me:14338: checking for connect" >&5
++    echo "configure:15988: checking for connect" >&5
+ echo $ECHO_N "checking for connect... $ECHO_C" >&6
+ if test "${ac_cv_func_connect+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 14344 "configure"
++#line 15994 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char connect (); below.  */
+@@ -14372,29 +16022,21 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:14375: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14378: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:14380: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14383: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:16025: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_func_connect=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_connect=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_connect=no
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:14393: result: $ac_cv_func_connect" >&5
++echo "configure:16034: result: $ac_cv_func_connect" >&5
+ echo "${ECHO_T}$ac_cv_func_connect" >&6
+ 
+     if test $ac_cv_func_connect = no; then
+-      echo "$as_me:14397: checking for connect in -lsocket" >&5
++
++echo "configure:16039: checking for connect in -lsocket" >&5
+ echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
+ if test "${ac_cv_lib_socket_connect+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -14402,7 +16044,7 @@
+   ac_check_lib_save_LIBS=$LIBS
+ LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 14405 "configure"
++#line 16047 "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -14421,26 +16063,17 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:14424: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14427: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:14429: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14432: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:16066: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_lib_socket_connect=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_lib_socket_connect=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_lib_socket_connect=no
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "$as_me:14443: result: $ac_cv_lib_socket_connect" >&5
++echo "configure:16076: result: $ac_cv_lib_socket_connect" >&5
+ echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
+ if test $ac_cv_lib_socket_connect = yes; then
+   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
+@@ -14449,13 +16082,13 @@
+     fi
+ 
+     # Guillermo Gomez says -lposix is necessary on A/UX.
+-    echo "$as_me:14452: checking for remove" >&5
++    echo "configure:16085: checking for remove" >&5
+ echo $ECHO_N "checking for remove... $ECHO_C" >&6
+ if test "${ac_cv_func_remove+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 14458 "configure"
++#line 16091 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char remove (); below.  */
+@@ -14486,29 +16119,21 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:14489: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14492: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:14494: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14497: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:16122: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_func_remove=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_remove=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_remove=no
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:14507: result: $ac_cv_func_remove" >&5
++echo "configure:16131: result: $ac_cv_func_remove" >&5
+ echo "${ECHO_T}$ac_cv_func_remove" >&6
+ 
+     if test $ac_cv_func_remove = no; then
+-      echo "$as_me:14511: checking for remove in -lposix" >&5
++
++echo "configure:16136: checking for remove in -lposix" >&5
+ echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
+ if test "${ac_cv_lib_posix_remove+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -14516,7 +16141,7 @@
+   ac_check_lib_save_LIBS=$LIBS
+ LIBS="-lposix  $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 14519 "configure"
++#line 16144 "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -14535,26 +16160,17 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:14538: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14541: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:14543: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14546: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:16163: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_lib_posix_remove=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_lib_posix_remove=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_lib_posix_remove=no
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "$as_me:14557: result: $ac_cv_lib_posix_remove" >&5
++echo "configure:16173: result: $ac_cv_lib_posix_remove" >&5
+ echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
+ if test $ac_cv_lib_posix_remove = yes; then
+   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
+@@ -14563,13 +16179,13 @@
+     fi
+ 
+     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
+-    echo "$as_me:14566: checking for shmat" >&5
++    echo "configure:16182: checking for shmat" >&5
+ echo $ECHO_N "checking for shmat... $ECHO_C" >&6
+ if test "${ac_cv_func_shmat+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 14572 "configure"
++#line 16188 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char shmat (); below.  */
+@@ -14600,29 +16216,21 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:14603: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14606: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:14608: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14611: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:16219: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_func_shmat=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_shmat=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_shmat=no
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:14621: result: $ac_cv_func_shmat" >&5
++echo "configure:16228: result: $ac_cv_func_shmat" >&5
+ echo "${ECHO_T}$ac_cv_func_shmat" >&6
+ 
+     if test $ac_cv_func_shmat = no; then
+-      echo "$as_me:14625: checking for shmat in -lipc" >&5
++
++echo "configure:16233: checking for shmat in -lipc" >&5
+ echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
+ if test "${ac_cv_lib_ipc_shmat+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -14630,7 +16238,7 @@
+   ac_check_lib_save_LIBS=$LIBS
+ LIBS="-lipc  $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 14633 "configure"
++#line 16241 "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -14649,26 +16257,17 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:14652: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14655: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:14657: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14660: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:16260: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_lib_ipc_shmat=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_lib_ipc_shmat=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_lib_ipc_shmat=no
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "$as_me:14671: result: $ac_cv_lib_ipc_shmat" >&5
++echo "configure:16270: result: $ac_cv_lib_ipc_shmat" >&5
+ echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
+ if test $ac_cv_lib_ipc_shmat = yes; then
+   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
+@@ -14686,7 +16285,8 @@
+   # These have to be linked with before -lX11, unlike the other
+   # libraries we check for below, so use a different variable.
+   # John Interrante, Karl Berry
+-  echo "$as_me:14689: checking for IceConnectionNumber in -lICE" >&5
++
++echo "configure:16289: checking for IceConnectionNumber in -lICE" >&5
+ echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
+ if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -14694,7 +16294,7 @@
+   ac_check_lib_save_LIBS=$LIBS
+ LIBS="-lICE $X_EXTRA_LIBS $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 14697 "configure"
++#line 16297 "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -14713,26 +16313,17 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:14716: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14719: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:14721: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14724: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:16316: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_lib_ICE_IceConnectionNumber=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_lib_ICE_IceConnectionNumber=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_lib_ICE_IceConnectionNumber=no
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "$as_me:14735: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
++echo "configure:16326: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
+ echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
+ if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
+   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
+@@ -14745,7 +16336,7 @@
+ # try to figure out if we need any additional ld flags, like -R
+ # and yes, the autoconf X test is utterly broken
+ if test "$no_x" != yes; then
+-	echo "$as_me:14748: checking for special X linker flags" >&5
++	echo "configure:16339: checking for special X linker flags" >&5
+ echo $ECHO_N "checking for special X linker flags... $ECHO_C" >&6
+ if test "${krb_cv_sys_x_libs_rpath+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -14774,12 +16365,10 @@
+ 		fi
+ 		LIBS="$ac_save_libs $foo $X_PRE_LIBS -lX11 $X_EXTRA_LIBS"
+ 		if test "$cross_compiling" = yes; then
+-  { { echo "$as_me:14777: error: cannot run test program while cross compiling" >&5
+-echo "$as_me: error: cannot run test program while cross compiling" >&2;}
+-   { (exit 1); exit 1; }; }
++  { echo "configure: error: cannot run test program while cross compiling" >&2; exit 1; }
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 14782 "configure"
++#line 16371 "configure"
+ #include "confdefs.h"
+ 
+ 		#include <X11/Xlib.h>
+@@ -14791,33 +16380,26 @@
+ 		{
+ 		return 0;
+ 		}
+-
++		
+ _ACEOF
+ rm -f conftest$ac_exeext
+-if { (eval echo "$as_me:14797: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14800: \$? = $ac_status" >&5
+-  (exit $ac_status); } && { (eval echo "$as_me:14801: \"./conftest$ac_exeext\"") >&5
+-  (eval ./conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14804: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:16386: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
++   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
+   krb_cv_sys_x_libs_rpath="$rflag"; krb_cv_sys_x_libs="$foo"; break
+ else
+-  echo "$as_me: program exited with status $ac_status" >&5
+-echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-:
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  :
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
++
+ 	done
+ 	LIBS="$ac_save_libs"
+ 	CFLAGS="$ac_save_cflags"
+-
++	
+ fi
+-echo "$as_me:14820: result: $krb_cv_sys_x_libs_rpath" >&5
++echo "configure:16402: result: $krb_cv_sys_x_libs_rpath" >&5
+ echo "${ECHO_T}$krb_cv_sys_x_libs_rpath" >&6
+ 	X_LIBS="$krb_cv_sys_x_libs"
+ fi
+@@ -14837,7 +16419,7 @@
+ save_LDFLAGS="$LDFLAGS"
+ LDFLAGS="$LDFLAGS $X_LIBS"
+ 
+-echo "$as_me:14840: checking for XauWriteAuth" >&5
++echo "configure:16422: checking for XauWriteAuth" >&5
+ echo $ECHO_N "checking for XauWriteAuth... $ECHO_C" >&6
+ if test "${ac_cv_funclib_XauWriteAuth+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -14853,7 +16435,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 14856 "configure"
++#line 16438 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -14865,20 +16447,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:14868: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14871: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:14873: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14876: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:16450: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_XauWriteAuth=$ac_lib; else ac_cv_funclib_XauWriteAuth=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -14891,17 +16464,17 @@
+ eval "ac_res=\$ac_cv_funclib_XauWriteAuth"
+ 
+ if false; then
+-
++	
+ for ac_func in XauWriteAuth
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:14898: checking for $ac_func" >&5
++echo "configure:16471: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 14904 "configure"
++#line 16477 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -14932,25 +16505,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:14935: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14938: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:14940: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14943: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:16508: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:14953: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:16517: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -14974,13 +16538,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:14977: result: yes" >&5
++	echo "configure:16541: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_XauWriteAuth=no"
+ 	eval "LIB_XauWriteAuth="
+-	echo "$as_me:14983: result: no" >&5
++	echo "configure:16547: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -14994,7 +16558,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:14997: result: yes, in $ac_res" >&5
++	echo "configure:16561: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -15002,7 +16566,7 @@
+ ac_xxx="$LIBS"
+ LIBS="$LIB_XauWriteAuth $LIBS"
+ 
+-echo "$as_me:15005: checking for XauReadAuth" >&5
++echo "configure:16569: checking for XauReadAuth" >&5
+ echo $ECHO_N "checking for XauReadAuth... $ECHO_C" >&6
+ if test "${ac_cv_funclib_XauReadAuth+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -15018,7 +16582,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 15021 "configure"
++#line 16585 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -15030,20 +16594,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:15033: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15036: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:15038: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15041: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:16597: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_XauReadAuth=$ac_lib; else ac_cv_funclib_XauReadAuth=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -15056,17 +16611,17 @@
+ eval "ac_res=\$ac_cv_funclib_XauReadAuth"
+ 
+ if false; then
+-
++	
+ for ac_func in XauReadAuth
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:15063: checking for $ac_func" >&5
++echo "configure:16618: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 15069 "configure"
++#line 16624 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -15097,25 +16652,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:15100: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15103: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:15105: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15108: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:16655: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:15118: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:16664: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -15139,13 +16685,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:15142: result: yes" >&5
++	echo "configure:16688: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_XauReadAuth=no"
+ 	eval "LIB_XauReadAuth="
+-	echo "$as_me:15148: result: no" >&5
++	echo "configure:16694: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -15159,14 +16705,14 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:15162: result: yes, in $ac_res" >&5
++	echo "configure:16708: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+ LIBS="$LIB_XauReadAauth $LIBS"
+ 
+-echo "$as_me:15169: checking for XauFileName" >&5
++echo "configure:16715: checking for XauFileName" >&5
+ echo $ECHO_N "checking for XauFileName... $ECHO_C" >&6
+ if test "${ac_cv_funclib_XauFileName+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -15182,7 +16728,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 15185 "configure"
++#line 16731 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -15194,20 +16740,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:15197: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15200: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:15202: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15205: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:16743: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_XauFileName=$ac_lib; else ac_cv_funclib_XauFileName=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -15220,17 +16757,17 @@
+ eval "ac_res=\$ac_cv_funclib_XauFileName"
+ 
+ if false; then
+-
++	
+ for ac_func in XauFileName
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:15227: checking for $ac_func" >&5
++echo "configure:16764: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 15233 "configure"
++#line 16770 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -15261,25 +16798,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:15264: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15267: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:15269: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15272: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:16801: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:15282: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:16810: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -15303,13 +16831,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:15306: result: yes" >&5
++	echo "configure:16834: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_XauFileName=no"
+ 	eval "LIB_XauFileName="
+-	echo "$as_me:15312: result: no" >&5
++	echo "configure:16840: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -15323,7 +16851,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:15326: result: yes, in $ac_res" >&5
++	echo "configure:16854: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -15350,6 +16878,7 @@
+ esac
+ 
+ if test "$AUTOMAKE" != ""; then
++	
+ 
+ if test "$ac_cv_func_XauWriteAuth" != "yes"; then
+   NEED_WRITEAUTH_TRUE=
+@@ -15359,7 +16888,8 @@
+   NEED_WRITEAUTH_FALSE=
+ fi
+ else
+-
++	
++	
+ 	if test "$ac_cv_func_XauWriteAuth" != "yes"; then
+ 		NEED_WRITEAUTH_TRUE=
+ 		NEED_WRITEAUTH_FALSE='#'
+@@ -15372,13 +16902,13 @@
+ LIBS=$save_LIBS
+ LDFLAGS=$save_LDFLAGS
+ 
+-echo "$as_me:15375: checking for an ANSI C-conforming const" >&5
++echo "configure:16905: checking for an ANSI C-conforming const" >&5
+ echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
+ if test "${ac_cv_c_const+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 15381 "configure"
++#line 16911 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -15436,25 +16966,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:15439: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15442: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:15444: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15447: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:16969: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_c_const=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_c_const=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_c_const=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:15457: result: $ac_cv_c_const" >&5
++echo "configure:16978: result: $ac_cv_c_const" >&5
+ echo "${ECHO_T}$ac_cv_c_const" >&6
+ if test $ac_cv_c_const = no; then
+ 
+@@ -15464,13 +16985,13 @@
+ 
+ fi
+ 
+-echo "$as_me:15467: checking for off_t" >&5
++echo "configure:16988: checking for off_t" >&5
+ echo $ECHO_N "checking for off_t... $ECHO_C" >&6
+ if test "${ac_cv_type_off_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 15473 "configure"
++#line 16994 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -15485,25 +17006,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:15488: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15491: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:15493: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15496: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:17009: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_off_t=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_off_t=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_off_t=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:15506: result: $ac_cv_type_off_t" >&5
++echo "configure:17018: result: $ac_cv_type_off_t" >&5
+ echo "${ECHO_T}$ac_cv_type_off_t" >&6
+ if test $ac_cv_type_off_t = yes; then
+   :
+@@ -15515,13 +17027,13 @@
+ 
+ fi
+ 
+-echo "$as_me:15518: checking for size_t" >&5
++echo "configure:17030: checking for size_t" >&5
+ echo $ECHO_N "checking for size_t... $ECHO_C" >&6
+ if test "${ac_cv_type_size_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 15524 "configure"
++#line 17036 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -15536,25 +17048,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:15539: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15542: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:15544: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15547: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:17051: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_size_t=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_size_t=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_size_t=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:15557: result: $ac_cv_type_size_t" >&5
++echo "configure:17060: result: $ac_cv_type_size_t" >&5
+ echo "${ECHO_T}$ac_cv_type_size_t" >&6
+ if test $ac_cv_type_size_t = yes; then
+   :
+@@ -15566,13 +17069,13 @@
+ 
+ fi
+ 
+-echo "$as_me:15569: checking for ssize_t" >&5
++echo "configure:17072: checking for ssize_t" >&5
+ echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
+ if test "${ac_cv_type_ssize_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 15575 "configure"
++#line 17078 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -15590,7 +17093,7 @@
+ rm -f conftest*
+ 
+ fi
+-echo "$as_me:15593: result: $ac_cv_type_ssize_t" >&5
++echo "configure:17096: result: $ac_cv_type_ssize_t" >&5
+ echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
+ if test $ac_cv_type_ssize_t = no; then
+ 
+@@ -15600,13 +17103,13 @@
+ 
+ fi
+ 
+-echo "$as_me:15603: checking for pid_t" >&5
++echo "configure:17106: checking for pid_t" >&5
+ echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
+ if test "${ac_cv_type_pid_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 15609 "configure"
++#line 17112 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -15621,25 +17124,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:15624: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15627: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:15629: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15632: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:17127: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_pid_t=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_pid_t=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_pid_t=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:15642: result: $ac_cv_type_pid_t" >&5
++echo "configure:17136: result: $ac_cv_type_pid_t" >&5
+ echo "${ECHO_T}$ac_cv_type_pid_t" >&6
+ if test $ac_cv_type_pid_t = yes; then
+   :
+@@ -15651,13 +17145,13 @@
+ 
+ fi
+ 
+-echo "$as_me:15654: checking for uid_t in sys/types.h" >&5
++echo "configure:17148: checking for uid_t in sys/types.h" >&5
+ echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
+ if test "${ac_cv_type_uid_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 15660 "configure"
++#line 17154 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ 
+@@ -15671,7 +17165,7 @@
+ rm -f conftest*
+ 
+ fi
+-echo "$as_me:15674: result: $ac_cv_type_uid_t" >&5
++echo "configure:17168: result: $ac_cv_type_uid_t" >&5
+ echo "${ECHO_T}$ac_cv_type_uid_t" >&6
+ if test $ac_cv_type_uid_t = no; then
+ 
+@@ -15685,13 +17179,13 @@
+ 
+ fi
+ 
+-echo "$as_me:15688: checking for mode_t" >&5
++echo "configure:17182: checking for mode_t" >&5
+ echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
+ if test "${ac_cv_type_mode_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 15694 "configure"
++#line 17188 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -15709,7 +17203,7 @@
+ rm -f conftest*
+ 
+ fi
+-echo "$as_me:15712: result: $ac_cv_type_mode_t" >&5
++echo "configure:17206: result: $ac_cv_type_mode_t" >&5
+ echo "${ECHO_T}$ac_cv_type_mode_t" >&6
+ if test $ac_cv_type_mode_t = no; then
+ 
+@@ -15719,13 +17213,13 @@
+ 
+ fi
+ 
+-echo "$as_me:15722: checking for sig_atomic_t" >&5
++echo "configure:17216: checking for sig_atomic_t" >&5
+ echo $ECHO_N "checking for sig_atomic_t... $ECHO_C" >&6
+ if test "${ac_cv_type_sig_atomic_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 15728 "configure"
++#line 17222 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -15743,7 +17237,7 @@
+ rm -f conftest*
+ 
+ fi
+-echo "$as_me:15746: result: $ac_cv_type_sig_atomic_t" >&5
++echo "configure:17240: result: $ac_cv_type_sig_atomic_t" >&5
+ echo "${ECHO_T}$ac_cv_type_sig_atomic_t" >&6
+ if test $ac_cv_type_sig_atomic_t = no; then
+ 
+@@ -15754,13 +17248,13 @@
+ fi
+ 
+ cv=`echo "long long" | sed 'y%./+- %__p__%'`
+-echo "$as_me:15757: checking for long long" >&5
++echo "configure:17251: checking for long long" >&5
+ echo $ECHO_N "checking for long long... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 15763 "configure"
++#line 17257 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -15777,37 +17271,28 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:15780: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15783: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:15785: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15788: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:17274: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_type_$cv=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_type_$cv=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_type_$cv=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:15799: result: $ac_foo" >&5
++echo "configure:17284: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo long long | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:15804: checking for long long" >&5
++	echo "configure:17289: checking for long long" >&5
+ echo $ECHO_N "checking for long long... $ECHO_C" >&6
+ if test "${ac_cv_type_long_long+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 15810 "configure"
++#line 17295 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -15822,25 +17307,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:15825: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15828: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:15830: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15833: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:17310: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_long_long=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_long_long=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_long_long=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:15843: result: $ac_cv_type_long_long" >&5
++echo "configure:17319: result: $ac_cv_type_long_long" >&5
+ echo "${ECHO_T}$ac_cv_type_long_long" >&6
+ if test $ac_cv_type_long_long = yes; then
+ 
+@@ -15858,13 +17334,13 @@
+ 
+ fi
+ 
+-echo "$as_me:15861: checking whether time.h and sys/time.h may both be included" >&5
++echo "configure:17337: checking whether time.h and sys/time.h may both be included" >&5
+ echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
+ if test "${ac_cv_header_time+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 15867 "configure"
++#line 17343 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #include <sys/time.h>
+@@ -15879,25 +17355,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:15882: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15885: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:15887: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15890: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:17358: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_header_time=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_header_time=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_header_time=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:15900: result: $ac_cv_header_time" >&5
++echo "configure:17367: result: $ac_cv_header_time" >&5
+ echo "${ECHO_T}$ac_cv_header_time" >&6
+ if test $ac_cv_header_time = yes; then
+ 
+@@ -15907,13 +17374,13 @@
+ 
+ fi
+ 
+-echo "$as_me:15910: checking whether struct tm is in sys/time.h or time.h" >&5
++echo "configure:17377: checking whether struct tm is in sys/time.h or time.h" >&5
+ echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
+ if test "${ac_cv_struct_tm+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 15916 "configure"
++#line 17383 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #include <time.h>
+@@ -15927,25 +17394,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:15930: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15933: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:15935: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15938: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:17397: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_struct_tm=time.h
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_struct_tm=sys/time.h
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_struct_tm=sys/time.h
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:15948: result: $ac_cv_struct_tm" >&5
++echo "configure:17406: result: $ac_cv_struct_tm" >&5
+ echo "${ECHO_T}$ac_cv_struct_tm" >&6
+ if test $ac_cv_struct_tm = sys/time.h; then
+ 
+@@ -15955,13 +17413,13 @@
+ 
+ fi
+ 
+-echo "$as_me:15958: checking for ANSI C header files" >&5
++echo "configure:17416: checking for ANSI C header files" >&5
+ echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
+ if test "${ac_cv_header_stdc+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 15964 "configure"
++#line 17422 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ #include <stdarg.h>
+@@ -15969,15 +17427,9 @@
+ #include <float.h>
+ 
+ _ACEOF
+-if { (eval echo "$as_me:15972: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
+-  (eval $ac_cpp conftest.$ac_ext >/dev/null) 2>conftest.er1
+-  ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
+-  rm -f conftest.er1
+-  cat conftest.err >&5
+-  echo "$as_me:15978: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  if test -s conftest.err; then
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:17431: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+   else
+     ac_cpp_err=
+@@ -15985,19 +17437,21 @@
+ else
+   ac_cpp_err=yes
+ fi
++
+ if test -z "$ac_cpp_err"; then
+   ac_cv_header_stdc=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  cat conftest.err >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_header_stdc=no
+ fi
+-rm -f conftest.err conftest.$ac_ext
++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 <<_ACEOF
+-#line 16000 "configure"
++#line 17454 "configure"
+ #include "confdefs.h"
+ #include <string.h>
+ 
+@@ -16015,7 +17469,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 <<_ACEOF
+-#line 16018 "configure"
++#line 17472 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ 
+@@ -16036,7 +17490,7 @@
+   :
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 16039 "configure"
++#line 17493 "configure"
+ #include "confdefs.h"
+ #include <ctype.h>
+ #if ((' ' & 0x0FF) == 0x020)
+@@ -16062,27 +17516,20 @@
+ }
+ _ACEOF
+ rm -f conftest$ac_exeext
+-if { (eval echo "$as_me:16065: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:16068: \$? = $ac_status" >&5
+-  (exit $ac_status); } && { (eval echo "$as_me:16069: \"./conftest$ac_exeext\"") >&5
+-  (eval ./conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:16072: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:17519: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
++   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
+   :
+ else
+-  echo "$as_me: program exited with status $ac_status" >&5
+-echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_header_stdc=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_header_stdc=no
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
++
+ fi
+ fi
+-echo "$as_me:16085: result: $ac_cv_header_stdc" >&5
++echo "configure:17532: result: $ac_cv_header_stdc" >&5
+ echo "${ECHO_T}$ac_cv_header_stdc" >&6
+ if test $ac_cv_header_stdc = yes; then
+ 
+@@ -16124,6 +17571,7 @@
+ 	netinet/in_systm.h			\
+ 	netinet6/in6.h				\
+ 	netinfo/ni.h				\
++	openssl/crypto.h			\
+ 	paths.h					\
+ 	pthread.h				\
+ 	pty.h					\
+@@ -16185,25 +17633,21 @@
+ 
+ do
+ ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
+-echo "$as_me:16188: checking for $ac_header" >&5
++
++echo "configure:17637: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 16194 "configure"
++#line 17643 "configure"
+ #include "confdefs.h"
+ #include <$ac_header>
++
+ _ACEOF
+-if { (eval echo "$as_me:16198: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
+-  (eval $ac_cpp conftest.$ac_ext >/dev/null) 2>conftest.er1
+-  ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
+-  rm -f conftest.er1
+-  cat conftest.err >&5
+-  echo "$as_me:16204: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  if test -s conftest.err; then
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:17649: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+   else
+     ac_cpp_err=
+@@ -16211,16 +17655,19 @@
+ else
+   ac_cpp_err=yes
+ fi
++
+ if test -z "$ac_cpp_err"; then
+   eval "$ac_ac_Header=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  cat conftest.err >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_Header=no"
+ fi
+-rm -f conftest.err conftest.$ac_ext
++rm -f conftest*
++
+ fi
+-echo "$as_me:16223: result: `eval echo '${'$ac_ac_Header'}'`" >&5
++echo "configure:17670: result: `eval echo '${'$ac_ac_Header'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
+ if test `eval echo '${'$ac_ac_Header'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -16233,25 +17680,21 @@
+ for ac_header in standards.h
+ do
+ ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
+-echo "$as_me:16236: checking for $ac_header" >&5
++
++echo "configure:17684: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 16242 "configure"
++#line 17690 "configure"
+ #include "confdefs.h"
+ #include <$ac_header>
++
+ _ACEOF
+-if { (eval echo "$as_me:16246: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
+-  (eval $ac_cpp conftest.$ac_ext >/dev/null) 2>conftest.er1
+-  ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
+-  rm -f conftest.er1
+-  cat conftest.err >&5
+-  echo "$as_me:16252: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  if test -s conftest.err; then
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:17696: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+   else
+     ac_cpp_err=
+@@ -16259,16 +17702,19 @@
+ else
+   ac_cpp_err=yes
+ fi
++
+ if test -z "$ac_cpp_err"; then
+   eval "$ac_ac_Header=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  cat conftest.err >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_Header=no"
+ fi
+-rm -f conftest.err conftest.$ac_ext
++rm -f conftest*
++
+ fi
+-echo "$as_me:16271: result: `eval echo '${'$ac_ac_Header'}'`" >&5
++echo "configure:17717: result: `eval echo '${'$ac_ac_Header'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
+ if test `eval echo '${'$ac_ac_Header'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -16282,13 +17728,13 @@
+ 
+ cv=`echo "$i" | sed 'y%./+-%__p_%'`
+ 
+-echo "$as_me:16285: checking for $i" >&5
++echo "configure:17731: checking for $i" >&5
+ echo $ECHO_N "checking for $i... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_header_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 16291 "configure"
++#line 17737 "configure"
+ #include "confdefs.h"
+ \
+ #ifdef HAVE_STANDARDS_H
+@@ -16297,15 +17743,9 @@
+ #include <$i>
+ 
+ _ACEOF
+-if { (eval echo "$as_me:16300: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
+-  (eval $ac_cpp conftest.$ac_ext >/dev/null) 2>conftest.er1
+-  ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
+-  rm -f conftest.er1
+-  cat conftest.err >&5
+-  echo "$as_me:16306: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  if test -s conftest.err; then
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:17747: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+   else
+     ac_cpp_err=
+@@ -16313,16 +17753,19 @@
+ else
+   ac_cpp_err=yes
+ fi
++
+ if test -z "$ac_cpp_err"; then
+   eval "ac_cv_header_$cv=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  cat conftest.err >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_header_$cv=no"
+ fi
+-rm -f conftest.err conftest.$ac_ext
++rm -f conftest*
++
+ fi
+-echo "$as_me:16325: result: `eval echo '${'ac_cv_header_$cv'}'`" >&5
++echo "configure:17768: result: `eval echo '${'ac_cv_header_$cv'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'ac_cv_header_$cv'}'`" >&6
+ ac_res=`eval echo \\$ac_cv_header_$cv`
+ if test "$ac_res" = yes; then
+@@ -16334,29 +17777,26 @@
+ fi
+ done
+ if false;then
++	
+ 
+ for ac_header in netinet/ip.h netinet/tcp.h
+ do
+ ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
+-echo "$as_me:16341: checking for $ac_header" >&5
++
++echo "configure:17786: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 16347 "configure"
++#line 17792 "configure"
+ #include "confdefs.h"
+ #include <$ac_header>
++
+ _ACEOF
+-if { (eval echo "$as_me:16351: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
+-  (eval $ac_cpp conftest.$ac_ext >/dev/null) 2>conftest.er1
+-  ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
+-  rm -f conftest.er1
+-  cat conftest.err >&5
+-  echo "$as_me:16357: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  if test -s conftest.err; then
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:17798: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+   else
+     ac_cpp_err=
+@@ -16364,16 +17804,19 @@
+ else
+   ac_cpp_err=yes
+ fi
++
+ if test -z "$ac_cpp_err"; then
+   eval "$ac_ac_Header=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  cat conftest.err >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_Header=no"
+ fi
+-rm -f conftest.err conftest.$ac_ext
++rm -f conftest*
++
+ fi
+-echo "$as_me:16376: result: `eval echo '${'$ac_ac_Header'}'`" >&5
++echo "configure:17819: result: `eval echo '${'$ac_ac_Header'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
+ if test `eval echo '${'$ac_ac_Header'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -16429,13 +17872,13 @@
+   v6type=unknown
+ v6lib=none
+ 
+-echo "$as_me:16432: checking ipv6 stack type" >&5
++echo "configure:17875: checking ipv6 stack type" >&5
+ echo $ECHO_N "checking ipv6 stack type... $ECHO_C" >&6
+ for i in v6d toshiba kame inria zeta linux; do
+ 	case $i in
+ 	v6d)
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 16438 "configure"
++#line 17881 "configure"
+ #include "confdefs.h"
+ 
+ #include </usr/local/v6/include/sys/types.h>
+@@ -16454,7 +17897,7 @@
+ 		;;
+ 	toshiba)
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 16457 "configure"
++#line 17900 "configure"
+ #include "confdefs.h"
+ 
+ #include <sys/param.h>
+@@ -16473,7 +17916,7 @@
+ 		;;
+ 	kame)
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 16476 "configure"
++#line 17919 "configure"
+ #include "confdefs.h"
+ 
+ #include <netinet/in.h>
+@@ -16492,7 +17935,7 @@
+ 		;;
+ 	inria)
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 16495 "configure"
++#line 17938 "configure"
+ #include "confdefs.h"
+ 
+ #include <netinet/in.h>
+@@ -16509,7 +17952,7 @@
+ 		;;
+ 	zeta)
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 16512 "configure"
++#line 17955 "configure"
+ #include "confdefs.h"
+ 
+ #include <sys/param.h>
+@@ -16539,7 +17982,7 @@
+ 		break
+ 	fi
+ done
+-echo "$as_me:16542: result: $v6type" >&5
++echo "configure:17985: result: $v6type" >&5
+ echo "${ECHO_T}$v6type" >&6
+ 
+ if test "$v6lib" != "none"; then
+@@ -16551,7 +17994,7 @@
+ 	done
+ fi
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 16554 "configure"
++#line 17997 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_SYS_TYPES_H
+@@ -16586,28 +18029,19 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:16589: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:16592: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:16594: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:16597: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:18032: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_lib_ipv6=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_lib_ipv6=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_lib_ipv6=no
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+ 
+-echo "$as_me:16608: checking for IPv6" >&5
++echo "configure:18042: checking for IPv6" >&5
+ echo $ECHO_N "checking for IPv6... $ECHO_C" >&6
+-echo "$as_me:16610: result: $ac_cv_lib_ipv6" >&5
++echo "configure:18044: result: $ac_cv_lib_ipv6" >&5
+ echo "${ECHO_T}$ac_cv_lib_ipv6" >&6
+ if test "$ac_cv_lib_ipv6" = yes; then
+ 
+@@ -16617,7 +18051,7 @@
+ 
+ fi
+ 
+-echo "$as_me:16620: checking for socket" >&5
++echo "configure:18054: checking for socket" >&5
+ echo $ECHO_N "checking for socket... $ECHO_C" >&6
+ if test "${ac_cv_funclib_socket+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -16633,7 +18067,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 16636 "configure"
++#line 18070 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -16645,20 +18079,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:16648: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:16651: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:16653: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:16656: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:18082: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_socket=$ac_lib; else ac_cv_funclib_socket=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -16671,17 +18096,17 @@
+ eval "ac_res=\$ac_cv_funclib_socket"
+ 
+ if false; then
+-
++	
+ for ac_func in socket
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:16678: checking for $ac_func" >&5
++echo "configure:18103: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 16684 "configure"
++#line 18109 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -16712,25 +18137,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:16715: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:16718: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:16720: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:16723: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:18140: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:16733: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:18149: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -16754,13 +18170,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:16757: result: yes" >&5
++	echo "configure:18173: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_socket=no"
+ 	eval "LIB_socket="
+-	echo "$as_me:16763: result: no" >&5
++	echo "configure:18179: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -16774,7 +18190,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:16777: result: yes, in $ac_res" >&5
++	echo "configure:18193: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -16783,7 +18199,7 @@
+ 	LIBS="$LIB_socket $LIBS"
+ fi
+ 
+-echo "$as_me:16786: checking for gethostbyname" >&5
++echo "configure:18202: checking for gethostbyname" >&5
+ echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
+ if test "${ac_cv_funclib_gethostbyname+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -16799,7 +18215,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 16802 "configure"
++#line 18218 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -16811,20 +18227,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:16814: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:16817: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:16819: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:16822: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:18230: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_gethostbyname=$ac_lib; else ac_cv_funclib_gethostbyname=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -16837,17 +18244,17 @@
+ eval "ac_res=\$ac_cv_funclib_gethostbyname"
+ 
+ if false; then
+-
++	
+ for ac_func in gethostbyname
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:16844: checking for $ac_func" >&5
++echo "configure:18251: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 16850 "configure"
++#line 18257 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -16878,25 +18285,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:16881: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:16884: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:16886: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:16889: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:18288: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:16899: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:18297: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -16920,13 +18318,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:16923: result: yes" >&5
++	echo "configure:18321: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_gethostbyname=no"
+ 	eval "LIB_gethostbyname="
+-	echo "$as_me:16929: result: no" >&5
++	echo "configure:18327: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -16940,7 +18338,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:16943: result: yes, in $ac_res" >&5
++	echo "configure:18341: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -16949,7 +18347,7 @@
+ 	LIBS="$LIB_gethostbyname $LIBS"
+ fi
+ 
+-echo "$as_me:16952: checking for syslog" >&5
++echo "configure:18350: checking for syslog" >&5
+ echo $ECHO_N "checking for syslog... $ECHO_C" >&6
+ if test "${ac_cv_funclib_syslog+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -16965,7 +18363,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 16968 "configure"
++#line 18366 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -16977,20 +18375,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:16980: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:16983: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:16985: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:16988: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:18378: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_syslog=$ac_lib; else ac_cv_funclib_syslog=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -17003,17 +18392,17 @@
+ eval "ac_res=\$ac_cv_funclib_syslog"
+ 
+ if false; then
+-
++	
+ for ac_func in syslog
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:17010: checking for $ac_func" >&5
++echo "configure:18399: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 17016 "configure"
++#line 18405 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -17044,25 +18433,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:17047: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:17050: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:17052: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:17055: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:18436: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:17065: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:18445: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -17086,13 +18466,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:17089: result: yes" >&5
++	echo "configure:18469: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_syslog=no"
+ 	eval "LIB_syslog="
+-	echo "$as_me:17095: result: no" >&5
++	echo "configure:18475: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -17106,7 +18486,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:17109: result: yes, in $ac_res" >&5
++	echo "configure:18489: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -17115,7 +18495,7 @@
+ 	LIBS="$LIB_syslog $LIBS"
+ fi
+ 
+-echo "$as_me:17118: checking for logwtmp" >&5
++echo "configure:18498: checking for logwtmp" >&5
+ echo $ECHO_N "checking for logwtmp... $ECHO_C" >&6
+ if test "${ac_cv_funclib_logwtmp+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -17131,7 +18511,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 17134 "configure"
++#line 18514 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -17143,20 +18523,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:17146: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:17149: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:17151: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:17154: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:18526: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_logwtmp=$ac_lib; else ac_cv_funclib_logwtmp=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -17169,17 +18540,17 @@
+ eval "ac_res=\$ac_cv_funclib_logwtmp"
+ 
+ if false; then
+-
++	
+ for ac_func in logwtmp
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:17176: checking for $ac_func" >&5
++echo "configure:18547: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 17182 "configure"
++#line 18553 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -17210,25 +18581,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:17213: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:17216: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:17218: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:17221: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:18584: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:17231: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:18593: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -17252,13 +18614,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:17255: result: yes" >&5
++	echo "configure:18617: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_logwtmp=no"
+ 	eval "LIB_logwtmp="
+-	echo "$as_me:17261: result: no" >&5
++	echo "configure:18623: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -17272,12 +18634,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:17275: result: yes, in $ac_res" >&5
++	echo "configure:18637: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "$as_me:17280: checking for tgetent" >&5
++echo "configure:18642: checking for tgetent" >&5
+ echo $ECHO_N "checking for tgetent... $ECHO_C" >&6
+ if test "${ac_cv_funclib_tgetent+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -17293,7 +18655,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 17296 "configure"
++#line 18658 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -17305,20 +18667,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:17308: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:17311: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:17313: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:17316: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:18670: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_tgetent=$ac_lib; else ac_cv_funclib_tgetent=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -17331,17 +18684,17 @@
+ eval "ac_res=\$ac_cv_funclib_tgetent"
+ 
+ if false; then
+-
++	
+ for ac_func in tgetent
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:17338: checking for $ac_func" >&5
++echo "configure:18691: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 17344 "configure"
++#line 18697 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -17372,25 +18725,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:17375: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:17378: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:17380: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:17383: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:18728: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:17393: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:18737: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -17414,13 +18758,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:17417: result: yes" >&5
++	echo "configure:18761: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_tgetent=no"
+ 	eval "LIB_tgetent="
+-	echo "$as_me:17423: result: no" >&5
++	echo "configure:18767: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -17434,12 +18778,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:17437: result: yes, in $ac_res" >&5
++	echo "configure:18781: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "$as_me:17442: checking for gethostbyname2" >&5
++echo "configure:18786: checking for gethostbyname2" >&5
+ echo $ECHO_N "checking for gethostbyname2... $ECHO_C" >&6
+ if test "${ac_cv_funclib_gethostbyname2+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -17455,7 +18799,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 17458 "configure"
++#line 18802 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -17467,20 +18811,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:17470: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:17473: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:17475: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:17478: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:18814: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_gethostbyname2=$ac_lib; else ac_cv_funclib_gethostbyname2=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -17493,17 +18828,17 @@
+ eval "ac_res=\$ac_cv_funclib_gethostbyname2"
+ 
+ if false; then
+-
++	
+ for ac_func in gethostbyname2
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:17500: checking for $ac_func" >&5
++echo "configure:18835: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 17506 "configure"
++#line 18841 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -17534,25 +18869,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:17537: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:17540: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:17542: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:17545: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:18872: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:17555: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:18881: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -17576,13 +18902,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:17579: result: yes" >&5
++	echo "configure:18905: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_gethostbyname2=no"
+ 	eval "LIB_gethostbyname2="
+-	echo "$as_me:17585: result: no" >&5
++	echo "configure:18911: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -17596,7 +18922,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:17599: result: yes, in $ac_res" >&5
++	echo "configure:18925: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -17605,7 +18931,7 @@
+ 	LIBS="$LIB_gethostbyname2 $LIBS"
+ fi
+ 
+-echo "$as_me:17608: checking for res_search" >&5
++echo "configure:18934: checking for res_search" >&5
+ echo $ECHO_N "checking for res_search... $ECHO_C" >&6
+ if test "${ac_cv_funclib_res_search+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -17621,7 +18947,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 17624 "configure"
++#line 18950 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -17647,20 +18973,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:17650: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:17653: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:17655: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:17658: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:18976: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_res_search=$ac_lib; else ac_cv_funclib_res_search=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -17673,17 +18990,17 @@
+ eval "ac_res=\$ac_cv_funclib_res_search"
+ 
+ if false; then
+-
++	
+ for ac_func in res_search
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:17680: checking for $ac_func" >&5
++echo "configure:18997: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 17686 "configure"
++#line 19003 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -17714,25 +19031,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:17717: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:17720: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:17722: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:17725: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:19034: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:17735: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:19043: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -17756,13 +19064,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:17759: result: yes" >&5
++	echo "configure:19067: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_res_search=no"
+ 	eval "LIB_res_search="
+-	echo "$as_me:17765: result: no" >&5
++	echo "configure:19073: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -17776,7 +19084,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:17779: result: yes, in $ac_res" >&5
++	echo "configure:19087: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -17785,7 +19093,7 @@
+ 	LIBS="$LIB_res_search $LIBS"
+ fi
+ 
+-echo "$as_me:17788: checking for dn_expand" >&5
++echo "configure:19096: checking for dn_expand" >&5
+ echo $ECHO_N "checking for dn_expand... $ECHO_C" >&6
+ if test "${ac_cv_funclib_dn_expand+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -17801,7 +19109,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 17804 "configure"
++#line 19112 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -17827,20 +19135,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:17830: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:17833: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:17835: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:17838: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:19138: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_dn_expand=$ac_lib; else ac_cv_funclib_dn_expand=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -17853,17 +19152,17 @@
+ eval "ac_res=\$ac_cv_funclib_dn_expand"
+ 
+ if false; then
+-
++	
+ for ac_func in dn_expand
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:17860: checking for $ac_func" >&5
++echo "configure:19159: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 17866 "configure"
++#line 19165 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -17894,25 +19193,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:17897: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:17900: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:17902: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:17905: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:19196: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:17915: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:19205: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -17936,13 +19226,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:17939: result: yes" >&5
++	echo "configure:19229: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_dn_expand=no"
+ 	eval "LIB_dn_expand="
+-	echo "$as_me:17945: result: no" >&5
++	echo "configure:19235: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -17956,7 +19246,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:17959: result: yes, in $ac_res" >&5
++	echo "configure:19249: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -17965,7 +19255,7 @@
+ 	LIBS="$LIB_dn_expand $LIBS"
+ fi
+ 
+-echo "$as_me:17968: checking for working snprintf" >&5
++echo "configure:19258: checking for working snprintf" >&5
+ echo $ECHO_N "checking for working snprintf... $ECHO_C" >&6
+ if test "${ac_cv_func_snprintf_working+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -17975,7 +19265,7 @@
+   :
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 17978 "configure"
++#line 19268 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -17988,30 +19278,23 @@
+ }
+ _ACEOF
+ rm -f conftest$ac_exeext
+-if { (eval echo "$as_me:17991: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:17994: \$? = $ac_status" >&5
+-  (exit $ac_status); } && { (eval echo "$as_me:17995: \"./conftest$ac_exeext\"") >&5
+-  (eval ./conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:17998: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:19281: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
++   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
+   :
+ else
+-  echo "$as_me: program exited with status $ac_status" >&5
+-echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_snprintf_working=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_snprintf_working=no
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
++
+ fi
+-echo "$as_me:18010: result: $ac_cv_func_snprintf_working" >&5
++echo "configure:19293: result: $ac_cv_func_snprintf_working" >&5
+ echo "${ECHO_T}$ac_cv_func_snprintf_working" >&6
+ 
+ if test "$ac_cv_func_snprintf_working" = yes; then
+-
++	
+ cat >>confdefs.h <<EOF
+ #define HAVE_SNPRINTF 1
+ EOF
+@@ -18020,13 +19303,13 @@
+ if test "$ac_cv_func_snprintf_working" = yes; then
+ 
+ if test "$ac_cv_func_snprintf+set" != set -o "$ac_cv_func_snprintf" = yes; then
+-echo "$as_me:18023: checking if snprintf needs a prototype" >&5
++echo "configure:19306: checking if snprintf needs a prototype" >&5
+ echo $ECHO_N "checking if snprintf needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_snprintf_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 18029 "configure"
++#line 19312 "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
+ int
+@@ -18041,29 +19324,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:18044: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:18047: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:18049: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:18052: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:19327: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_snprintf_noproto=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_snprintf_noproto=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_snprintf_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:18062: result: $ac_cv_func_snprintf_noproto" >&5
++echo "configure:19336: result: $ac_cv_func_snprintf_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_snprintf_noproto" >&6
+ 
+ if test "$ac_cv_func_snprintf_noproto" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define NEED_SNPRINTF_PROTO 1
+ EOF
+@@ -18074,7 +19348,7 @@
+ 
+ fi
+ 
+-echo "$as_me:18077: checking for working vsnprintf" >&5
++echo "configure:19351: checking for working vsnprintf" >&5
+ echo $ECHO_N "checking for working vsnprintf... $ECHO_C" >&6
+ if test "${ac_cv_func_vsnprintf_working+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -18084,7 +19358,7 @@
+   :
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 18087 "configure"
++#line 19361 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -18107,30 +19381,23 @@
+ }
+ _ACEOF
+ rm -f conftest$ac_exeext
+-if { (eval echo "$as_me:18110: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:18113: \$? = $ac_status" >&5
+-  (exit $ac_status); } && { (eval echo "$as_me:18114: \"./conftest$ac_exeext\"") >&5
+-  (eval ./conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:18117: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:19384: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
++   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
+   :
+ else
+-  echo "$as_me: program exited with status $ac_status" >&5
+-echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_vsnprintf_working=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_vsnprintf_working=no
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
++
+ fi
+-echo "$as_me:18129: result: $ac_cv_func_vsnprintf_working" >&5
++echo "configure:19396: result: $ac_cv_func_vsnprintf_working" >&5
+ echo "${ECHO_T}$ac_cv_func_vsnprintf_working" >&6
+ 
+ if test "$ac_cv_func_vsnprintf_working" = yes; then
+-
++	
+ cat >>confdefs.h <<EOF
+ #define HAVE_VSNPRINTF 1
+ EOF
+@@ -18139,13 +19406,13 @@
+ if test "$ac_cv_func_vsnprintf_working" = yes; then
+ 
+ if test "$ac_cv_func_vsnprintf+set" != set -o "$ac_cv_func_vsnprintf" = yes; then
+-echo "$as_me:18142: checking if vsnprintf needs a prototype" >&5
++echo "configure:19409: checking if vsnprintf needs a prototype" >&5
+ echo $ECHO_N "checking if vsnprintf needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_vsnprintf_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 18148 "configure"
++#line 19415 "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
+ int
+@@ -18160,29 +19427,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:18163: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:18166: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:18168: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:18171: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:19430: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_vsnprintf_noproto=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_vsnprintf_noproto=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_vsnprintf_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:18181: result: $ac_cv_func_vsnprintf_noproto" >&5
++echo "configure:19439: result: $ac_cv_func_vsnprintf_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_vsnprintf_noproto" >&6
+ 
+ if test "$ac_cv_func_vsnprintf_noproto" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define NEED_VSNPRINTF_PROTO 1
+ EOF
+@@ -18228,13 +19486,13 @@
+ 
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:18231: checking for $ac_func" >&5
++echo "configure:19489: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 18237 "configure"
++#line 19495 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -18265,25 +19523,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:18268: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:18271: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:18273: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:18276: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:19526: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:18286: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:19535: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -18296,25 +19545,21 @@
+ for ac_header in capability.h sys/capability.h
+ do
+ ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
+-echo "$as_me:18299: checking for $ac_header" >&5
++
++echo "configure:19549: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 18305 "configure"
++#line 19555 "configure"
+ #include "confdefs.h"
+ #include <$ac_header>
++
+ _ACEOF
+-if { (eval echo "$as_me:18309: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
+-  (eval $ac_cpp conftest.$ac_ext >/dev/null) 2>conftest.er1
+-  ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
+-  rm -f conftest.er1
+-  cat conftest.err >&5
+-  echo "$as_me:18315: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  if test -s conftest.err; then
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:19561: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+   else
+     ac_cpp_err=
+@@ -18322,16 +19567,19 @@
+ else
+   ac_cpp_err=yes
+ fi
++
+ if test -z "$ac_cpp_err"; then
+   eval "$ac_ac_Header=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  cat conftest.err >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_Header=no"
+ fi
+-rm -f conftest.err conftest.$ac_ext
++rm -f conftest*
++
+ fi
+-echo "$as_me:18334: result: `eval echo '${'$ac_ac_Header'}'`" >&5
++echo "configure:19582: result: `eval echo '${'$ac_ac_Header'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
+ if test `eval echo '${'$ac_ac_Header'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -18344,13 +19592,13 @@
+ for ac_func in sgi_getcapabilitybyname cap_set_proc
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:18347: checking for $ac_func" >&5
++echo "configure:19595: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 18353 "configure"
++#line 19601 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -18381,25 +19629,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:18384: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:18387: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:18389: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:18392: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:19632: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:18402: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:19641: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -18409,7 +19648,7 @@
+ fi
+ done
+ 
+-echo "$as_me:18412: checking for getpwnam_r" >&5
++echo "configure:19651: checking for getpwnam_r" >&5
+ echo $ECHO_N "checking for getpwnam_r... $ECHO_C" >&6
+ if test "${ac_cv_funclib_getpwnam_r+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -18425,7 +19664,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 18428 "configure"
++#line 19667 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -18437,20 +19676,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:18440: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:18443: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:18445: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:18448: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:19679: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_getpwnam_r=$ac_lib; else ac_cv_funclib_getpwnam_r=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -18463,17 +19693,17 @@
+ eval "ac_res=\$ac_cv_funclib_getpwnam_r"
+ 
+ if false; then
+-
++	
+ for ac_func in getpwnam_r
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:18470: checking for $ac_func" >&5
++echo "configure:19700: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 18476 "configure"
++#line 19706 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -18504,25 +19734,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:18507: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:18510: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:18512: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:18515: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:19737: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:18525: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:19746: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -18546,13 +19767,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:18549: result: yes" >&5
++	echo "configure:19770: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_getpwnam_r=no"
+ 	eval "LIB_getpwnam_r="
+-	echo "$as_me:18555: result: no" >&5
++	echo "configure:19776: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -18566,13 +19787,13 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:18569: result: yes, in $ac_res" >&5
++	echo "configure:19790: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+ if test "$ac_cv_func_getpwnam_r" = yes; then
+-	echo "$as_me:18575: checking if getpwnam_r is posix" >&5
++	echo "configure:19796: checking if getpwnam_r is posix" >&5
+ echo $ECHO_N "checking if getpwnam_r is posix... $ECHO_C" >&6
+ if test "${ac_cv_func_getpwnam_r_posix+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -18583,7 +19804,7 @@
+   :
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 18586 "configure"
++#line 19807 "configure"
+ #include "confdefs.h"
+ 
+ #include <pwd.h>
+@@ -18595,30 +19816,23 @@
+ 
+ _ACEOF
+ rm -f conftest$ac_exeext
+-if { (eval echo "$as_me:18598: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:18601: \$? = $ac_status" >&5
+-  (exit $ac_status); } && { (eval echo "$as_me:18602: \"./conftest$ac_exeext\"") >&5
+-  (eval ./conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:18605: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:19819: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
++   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
+   ac_cv_func_getpwnam_r_posix=yes
+ else
+-  echo "$as_me: program exited with status $ac_status" >&5
+-echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_getpwnam_r_posix=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_getpwnam_r_posix=no
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
++
+ LIBS="$ac_libs"
+ fi
+-echo "$as_me:18618: result: $ac_cv_func_getpwnam_r_posix" >&5
++echo "configure:19832: result: $ac_cv_func_getpwnam_r_posix" >&5
+ echo "${ECHO_T}$ac_cv_func_getpwnam_r_posix" >&6
+ if test "$ac_cv_func_getpwnam_r_posix" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define POSIX_GETPWNAM_R 1
+ EOF
+@@ -18626,7 +19840,7 @@
+ fi
+ fi
+ 
+-echo "$as_me:18629: checking for getsockopt" >&5
++echo "configure:19843: checking for getsockopt" >&5
+ echo $ECHO_N "checking for getsockopt... $ECHO_C" >&6
+ if test "${ac_cv_funclib_getsockopt+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -18642,7 +19856,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 18645 "configure"
++#line 19859 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_SYS_TYPES_H
+ #include <sys/types.h>
+@@ -18659,20 +19873,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:18662: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:18665: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:18667: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:18670: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:19876: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_getsockopt=$ac_lib; else ac_cv_funclib_getsockopt=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -18685,17 +19890,17 @@
+ eval "ac_res=\$ac_cv_funclib_getsockopt"
+ 
+ if false; then
+-
++	
+ for ac_func in getsockopt
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:18692: checking for $ac_func" >&5
++echo "configure:19897: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 18698 "configure"
++#line 19903 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -18726,25 +19931,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:18729: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:18732: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:18734: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:18737: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:19934: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:18747: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:19943: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -18768,13 +19964,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:18771: result: yes" >&5
++	echo "configure:19967: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_getsockopt=no"
+ 	eval "LIB_getsockopt="
+-	echo "$as_me:18777: result: no" >&5
++	echo "configure:19973: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -18788,12 +19984,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:18791: result: yes, in $ac_res" >&5
++	echo "configure:19987: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "$as_me:18796: checking for setsockopt" >&5
++echo "configure:19992: checking for setsockopt" >&5
+ echo $ECHO_N "checking for setsockopt... $ECHO_C" >&6
+ if test "${ac_cv_funclib_setsockopt+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -18809,7 +20005,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 18812 "configure"
++#line 20008 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_SYS_TYPES_H
+ #include <sys/types.h>
+@@ -18826,20 +20022,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:18829: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:18832: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:18834: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:18837: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:20025: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_setsockopt=$ac_lib; else ac_cv_funclib_setsockopt=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -18852,17 +20039,17 @@
+ eval "ac_res=\$ac_cv_funclib_setsockopt"
+ 
+ if false; then
+-
++	
+ for ac_func in setsockopt
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:18859: checking for $ac_func" >&5
++echo "configure:20046: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 18865 "configure"
++#line 20052 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -18893,25 +20080,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:18896: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:18899: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:18901: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:18904: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:20083: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:18914: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:20092: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -18935,13 +20113,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:18938: result: yes" >&5
++	echo "configure:20116: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_setsockopt=no"
+ 	eval "LIB_setsockopt="
+-	echo "$as_me:18944: result: no" >&5
++	echo "configure:20122: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -18955,7 +20133,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:18958: result: yes, in $ac_res" >&5
++	echo "configure:20136: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -18963,13 +20141,13 @@
+ for ac_func in getudbnam setlim
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:18966: checking for $ac_func" >&5
++echo "configure:20144: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 18972 "configure"
++#line 20150 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -19000,25 +20178,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:19003: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19006: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:19008: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19011: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:20181: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:19021: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:20190: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -19028,13 +20197,13 @@
+ fi
+ done
+ 
+-echo "$as_me:19031: checking return type of signal handlers" >&5
++echo "configure:20200: checking return type of signal handlers" >&5
+ echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
+ if test "${ac_cv_type_signal+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 19037 "configure"
++#line 20206 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #include <signal.h>
+@@ -19056,25 +20225,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:19059: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19062: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:19064: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19067: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:20228: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_signal=void
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_signal=int
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_signal=int
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:19077: result: $ac_cv_type_signal" >&5
++echo "configure:20237: result: $ac_cv_type_signal" >&5
+ echo "${ECHO_T}$ac_cv_type_signal" >&6
+ 
+ cat >>confdefs.h <<EOF
+@@ -19082,14 +20242,14 @@
+ EOF
+ 
+ if test "$ac_cv_type_signal" = "void" ; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define VOID_RETSIGTYPE 1
+ EOF
+ 
+ fi
+ 
+-echo "$as_me:19092: checking if realloc if broken" >&5
++echo "configure:20252: checking if realloc if broken" >&5
+ echo $ECHO_N "checking if realloc if broken... $ECHO_C" >&6
+ if test "${ac_cv_func_realloc_broken+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -19100,7 +20260,7 @@
+   :
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 19103 "configure"
++#line 20263 "configure"
+ #include "confdefs.h"
+ 
+ #include <stddef.h>
+@@ -19113,44 +20273,36 @@
+ 
+ _ACEOF
+ rm -f conftest$ac_exeext
+-if { (eval echo "$as_me:19116: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19119: \$? = $ac_status" >&5
+-  (exit $ac_status); } && { (eval echo "$as_me:19120: \"./conftest$ac_exeext\"") >&5
+-  (eval ./conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19123: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:20276: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
++   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
+   :
+ else
+-  echo "$as_me: program exited with status $ac_status" >&5
+-echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_realloc_broken=yes
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_realloc_broken=yes
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+ 
+ fi
+-echo "$as_me:19136: result: $ac_cv_func_realloc_broken" >&5
++echo "configure:20288: result: $ac_cv_func_realloc_broken" >&5
+ echo "${ECHO_T}$ac_cv_func_realloc_broken" >&6
+ if test "$ac_cv_func_realloc_broken" = yes ; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define BROKEN_REALLOC 1
+ EOF
+ 
+ fi
+ 
+-echo "$as_me:19146: checking for ut_addr in struct utmp" >&5
++echo "configure:20298: checking for ut_addr in struct utmp" >&5
+ echo $ECHO_N "checking for ut_addr in struct utmp... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_utmp_ut_addr+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 19153 "configure"
++#line 20305 "configure"
+ #include "confdefs.h"
+ #include <utmp.h>
+ int
+@@ -19162,42 +20314,35 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:19165: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19168: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:19170: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19173: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:20317: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_utmp_ut_addr=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_struct_utmp_ut_addr=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_struct_utmp_ut_addr=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:19183: result: $ac_cv_type_struct_utmp_ut_addr" >&5
++echo "configure:20326: result: $ac_cv_type_struct_utmp_ut_addr" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_addr" >&6
+ if test "$ac_cv_type_struct_utmp_ut_addr" = yes; then
+-
++	
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_STRUCT_UTMP_UT_ADDR 1
+ EOF
+ 
++	
+ fi
+ 
+-echo "$as_me:19193: checking for ut_host in struct utmp" >&5
++echo "configure:20338: checking for ut_host in struct utmp" >&5
+ echo $ECHO_N "checking for ut_host in struct utmp... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_utmp_ut_host+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 19200 "configure"
++#line 20345 "configure"
+ #include "confdefs.h"
+ #include <utmp.h>
+ int
+@@ -19209,42 +20354,35 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:19212: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19215: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:19217: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19220: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:20357: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_utmp_ut_host=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_struct_utmp_ut_host=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_struct_utmp_ut_host=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:19230: result: $ac_cv_type_struct_utmp_ut_host" >&5
++echo "configure:20366: result: $ac_cv_type_struct_utmp_ut_host" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_host" >&6
+ if test "$ac_cv_type_struct_utmp_ut_host" = yes; then
+-
++	
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_STRUCT_UTMP_UT_HOST 1
+ EOF
+ 
++	
+ fi
+ 
+-echo "$as_me:19240: checking for ut_id in struct utmp" >&5
++echo "configure:20378: checking for ut_id in struct utmp" >&5
+ echo $ECHO_N "checking for ut_id in struct utmp... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_utmp_ut_id+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 19247 "configure"
++#line 20385 "configure"
+ #include "confdefs.h"
+ #include <utmp.h>
+ int
+@@ -19256,42 +20394,35 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:19259: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19262: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:19264: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19267: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:20397: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_utmp_ut_id=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_struct_utmp_ut_id=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_struct_utmp_ut_id=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:19277: result: $ac_cv_type_struct_utmp_ut_id" >&5
++echo "configure:20406: result: $ac_cv_type_struct_utmp_ut_id" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_id" >&6
+ if test "$ac_cv_type_struct_utmp_ut_id" = yes; then
+-
++	
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_STRUCT_UTMP_UT_ID 1
+ EOF
+ 
++	
+ fi
+ 
+-echo "$as_me:19287: checking for ut_pid in struct utmp" >&5
++echo "configure:20418: checking for ut_pid in struct utmp" >&5
+ echo $ECHO_N "checking for ut_pid in struct utmp... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_utmp_ut_pid+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 19294 "configure"
++#line 20425 "configure"
+ #include "confdefs.h"
+ #include <utmp.h>
+ int
+@@ -19303,42 +20434,35 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:19306: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19309: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:19311: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19314: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:20437: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_utmp_ut_pid=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_struct_utmp_ut_pid=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_struct_utmp_ut_pid=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:19324: result: $ac_cv_type_struct_utmp_ut_pid" >&5
++echo "configure:20446: result: $ac_cv_type_struct_utmp_ut_pid" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_pid" >&6
+ if test "$ac_cv_type_struct_utmp_ut_pid" = yes; then
+-
++	
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_STRUCT_UTMP_UT_PID 1
+ EOF
+ 
++	
+ fi
+ 
+-echo "$as_me:19334: checking for ut_type in struct utmp" >&5
++echo "configure:20458: checking for ut_type in struct utmp" >&5
+ echo $ECHO_N "checking for ut_type in struct utmp... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_utmp_ut_type+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 19341 "configure"
++#line 20465 "configure"
+ #include "confdefs.h"
+ #include <utmp.h>
+ int
+@@ -19350,42 +20474,35 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:19353: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19356: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:19358: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19361: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:20477: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_utmp_ut_type=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_struct_utmp_ut_type=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_struct_utmp_ut_type=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:19371: result: $ac_cv_type_struct_utmp_ut_type" >&5
++echo "configure:20486: result: $ac_cv_type_struct_utmp_ut_type" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_type" >&6
+ if test "$ac_cv_type_struct_utmp_ut_type" = yes; then
+-
++	
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_STRUCT_UTMP_UT_TYPE 1
+ EOF
+ 
++	
+ fi
+ 
+-echo "$as_me:19381: checking for ut_user in struct utmp" >&5
++echo "configure:20498: checking for ut_user in struct utmp" >&5
+ echo $ECHO_N "checking for ut_user in struct utmp... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_utmp_ut_user+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 19388 "configure"
++#line 20505 "configure"
+ #include "confdefs.h"
+ #include <utmp.h>
+ int
+@@ -19397,42 +20514,35 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:19400: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19403: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:19405: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19408: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:20517: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_utmp_ut_user=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_struct_utmp_ut_user=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_struct_utmp_ut_user=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:19418: result: $ac_cv_type_struct_utmp_ut_user" >&5
++echo "configure:20526: result: $ac_cv_type_struct_utmp_ut_user" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_user" >&6
+ if test "$ac_cv_type_struct_utmp_ut_user" = yes; then
+-
++	
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_STRUCT_UTMP_UT_USER 1
+ EOF
+ 
++	
+ fi
+ 
+-echo "$as_me:19428: checking for ut_exit in struct utmpx" >&5
++echo "configure:20538: checking for ut_exit in struct utmpx" >&5
+ echo $ECHO_N "checking for ut_exit in struct utmpx... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_utmpx_ut_exit+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 19435 "configure"
++#line 20545 "configure"
+ #include "confdefs.h"
+ #include <utmpx.h>
+ int
+@@ -19444,42 +20554,35 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:19447: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19450: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:19452: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19455: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:20557: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_utmpx_ut_exit=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_struct_utmpx_ut_exit=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_struct_utmpx_ut_exit=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:19465: result: $ac_cv_type_struct_utmpx_ut_exit" >&5
++echo "configure:20566: result: $ac_cv_type_struct_utmpx_ut_exit" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_utmpx_ut_exit" >&6
+ if test "$ac_cv_type_struct_utmpx_ut_exit" = yes; then
+-
++	
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_STRUCT_UTMPX_UT_EXIT 1
+ EOF
+ 
++	
+ fi
+ 
+-echo "$as_me:19475: checking for ut_syslen in struct utmpx" >&5
++echo "configure:20578: checking for ut_syslen in struct utmpx" >&5
+ echo $ECHO_N "checking for ut_syslen in struct utmpx... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_utmpx_ut_syslen+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 19482 "configure"
++#line 20585 "configure"
+ #include "confdefs.h"
+ #include <utmpx.h>
+ int
+@@ -19491,42 +20594,35 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:19494: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19497: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:19499: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19502: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:20597: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_utmpx_ut_syslen=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_struct_utmpx_ut_syslen=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_struct_utmpx_ut_syslen=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:19512: result: $ac_cv_type_struct_utmpx_ut_syslen" >&5
++echo "configure:20606: result: $ac_cv_type_struct_utmpx_ut_syslen" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_utmpx_ut_syslen" >&6
+ if test "$ac_cv_type_struct_utmpx_ut_syslen" = yes; then
+-
++	
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_STRUCT_UTMPX_UT_SYSLEN 1
+ EOF
+ 
++	
+ fi
+ 
+-echo "$as_me:19522: checking for tm_gmtoff in struct tm" >&5
++echo "configure:20618: checking for tm_gmtoff in struct tm" >&5
+ echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_tm_tm_gmtoff+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 19529 "configure"
++#line 20625 "configure"
+ #include "confdefs.h"
+ #include <time.h>
+ int
+@@ -19538,42 +20634,35 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:19541: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19544: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:19546: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19549: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:20637: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_tm_tm_gmtoff=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_struct_tm_tm_gmtoff=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_struct_tm_tm_gmtoff=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:19559: result: $ac_cv_type_struct_tm_tm_gmtoff" >&5
++echo "configure:20646: result: $ac_cv_type_struct_tm_tm_gmtoff" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_tm_tm_gmtoff" >&6
+ if test "$ac_cv_type_struct_tm_tm_gmtoff" = yes; then
+-
++	
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_STRUCT_TM_TM_GMTOFF 1
+ EOF
+ 
++	
+ fi
+ 
+-echo "$as_me:19569: checking for tm_zone in struct tm" >&5
++echo "configure:20658: checking for tm_zone in struct tm" >&5
+ echo $ECHO_N "checking for tm_zone in struct tm... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_tm_tm_zone+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 19576 "configure"
++#line 20665 "configure"
+ #include "confdefs.h"
+ #include <time.h>
+ int
+@@ -19585,42 +20674,35 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:19588: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19591: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:19593: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19596: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:20677: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_tm_tm_zone=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_struct_tm_tm_zone=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_struct_tm_tm_zone=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:19606: result: $ac_cv_type_struct_tm_tm_zone" >&5
++echo "configure:20686: result: $ac_cv_type_struct_tm_tm_zone" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_tm_tm_zone" >&6
+ if test "$ac_cv_type_struct_tm_tm_zone" = yes; then
+-
++	
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_STRUCT_TM_TM_ZONE 1
+ EOF
+ 
++	
+ fi
+ 
+-echo "$as_me:19616: checking for timezone" >&5
++echo "configure:20698: checking for timezone" >&5
+ echo $ECHO_N "checking for timezone... $ECHO_C" >&6
+ if test "${ac_cv_var_timezone+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 19623 "configure"
++#line 20705 "configure"
+ #include "confdefs.h"
+ extern int timezone;
+ int foo() { return timezone; }
+@@ -19633,95 +20715,37 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:19636: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19639: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:19641: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19644: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:20718: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_var_timezone=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_var_timezone=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_var_timezone=no
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 
+ fi
+ 
+ ac_foo=`eval echo \\$ac_cv_var_timezone`
+-echo "$as_me:19657: result: $ac_foo" >&5
++echo "configure:20730: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+-
++	
+ cat >>confdefs.h <<EOF
+ #define HAVE_TIMEZONE 1
+ EOF
+ 
+-echo "$as_me:19665: checking if timezone is properly declared" >&5
+-echo $ECHO_N "checking if timezone is properly declared... $ECHO_C" >&6
+-if test "${ac_cv_var_timezone_declaration+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-
+-cat >conftest.$ac_ext <<_ACEOF
+-#line 19672 "configure"
+-#include "confdefs.h"
+-#include <time.h>
+-extern struct { int foo; } timezone;
+-int
+-main ()
+-{
+-timezone.foo = 1;
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:19685: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19688: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:19690: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19693: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  eval "ac_cv_var_timezone_declaration=no"
+-else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_var_timezone_declaration=yes"
+-fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
+-
+-fi
+-
+-echo "$as_me:19705: result: $ac_cv_var_timezone_declaration" >&5
+-echo "${ECHO_T}$ac_cv_var_timezone_declaration" >&6
+-if eval "test \"\$ac_cv_var_timezone_declaration\" = yes"; then
+-
+-cat >>confdefs.h <<\EOF
+-#define HAVE_TIMEZONE_DECLARATION 1
+-EOF
+-
+-fi
+-
++	
+ fi
+ 
+ cv=`echo "sa_family_t" | sed 'y%./+- %__p__%'`
+-echo "$as_me:19718: checking for sa_family_t" >&5
++echo "configure:20742: checking for sa_family_t" >&5
+ echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 19724 "configure"
++#line 20748 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -19738,37 +20762,28 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:19741: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19744: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:19746: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19749: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:20765: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_type_$cv=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_type_$cv=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_type_$cv=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:19760: result: $ac_foo" >&5
++echo "configure:20775: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo sa_family_t | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:19765: checking for sa_family_t" >&5
++	echo "configure:20780: checking for sa_family_t" >&5
+ echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6
+ if test "${ac_cv_type_sa_family_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 19771 "configure"
++#line 20786 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -19783,25 +20798,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:19786: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19789: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:19791: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19794: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:20801: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_sa_family_t=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_sa_family_t=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_sa_family_t=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:19804: result: $ac_cv_type_sa_family_t" >&5
++echo "configure:20810: result: $ac_cv_type_sa_family_t" >&5
+ echo "${ECHO_T}$ac_cv_type_sa_family_t" >&6
+ if test $ac_cv_type_sa_family_t = yes; then
+ 
+@@ -19820,13 +20826,13 @@
+ fi
+ 
+ cv=`echo "socklen_t" | sed 'y%./+- %__p__%'`
+-echo "$as_me:19823: checking for socklen_t" >&5
++echo "configure:20829: checking for socklen_t" >&5
+ echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 19829 "configure"
++#line 20835 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -19843,37 +20849,28 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:19846: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19849: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:19851: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19854: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:20852: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_type_$cv=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_type_$cv=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_type_$cv=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:19865: result: $ac_foo" >&5
++echo "configure:20862: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo socklen_t | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:19870: checking for socklen_t" >&5
++	echo "configure:20867: checking for socklen_t" >&5
+ echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
+ if test "${ac_cv_type_socklen_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 19876 "configure"
++#line 20873 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -19888,25 +20885,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:19891: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19894: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:19896: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19899: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:20888: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_socklen_t=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_socklen_t=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_socklen_t=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:19909: result: $ac_cv_type_socklen_t" >&5
++echo "configure:20897: result: $ac_cv_type_socklen_t" >&5
+ echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
+ if test $ac_cv_type_socklen_t = yes; then
+ 
+@@ -19925,13 +20913,13 @@
+ fi
+ 
+ cv=`echo "struct sockaddr" | sed 'y%./+- %__p__%'`
+-echo "$as_me:19928: checking for struct sockaddr" >&5
++echo "configure:20916: checking for struct sockaddr" >&5
+ echo $ECHO_N "checking for struct sockaddr... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 19934 "configure"
++#line 20922 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -19948,37 +20936,28 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:19951: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19954: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:19956: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19959: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:20939: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_type_$cv=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_type_$cv=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_type_$cv=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:19970: result: $ac_foo" >&5
++echo "configure:20949: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo struct sockaddr | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:19975: checking for struct sockaddr" >&5
++	echo "configure:20954: checking for struct sockaddr" >&5
+ echo $ECHO_N "checking for struct sockaddr... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_sockaddr+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 19981 "configure"
++#line 20960 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -19993,25 +20972,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:19996: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19999: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:20001: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:20004: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:20975: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_sockaddr=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_struct_sockaddr=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_struct_sockaddr=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:20014: result: $ac_cv_type_struct_sockaddr" >&5
++echo "configure:20984: result: $ac_cv_type_struct_sockaddr" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_sockaddr" >&6
+ if test $ac_cv_type_struct_sockaddr = yes; then
+ 
+@@ -20030,13 +21000,13 @@
+ fi
+ 
+ cv=`echo "struct sockaddr_storage" | sed 'y%./+- %__p__%'`
+-echo "$as_me:20033: checking for struct sockaddr_storage" >&5
++echo "configure:21003: checking for struct sockaddr_storage" >&5
+ echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 20039 "configure"
++#line 21009 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -20053,37 +21023,28 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:20056: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:20059: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:20061: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:20064: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:21026: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_type_$cv=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_type_$cv=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_type_$cv=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:20075: result: $ac_foo" >&5
++echo "configure:21036: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo struct sockaddr_storage | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:20080: checking for struct sockaddr_storage" >&5
++	echo "configure:21041: checking for struct sockaddr_storage" >&5
+ echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_sockaddr_storage+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 20086 "configure"
++#line 21047 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -20098,25 +21059,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:20101: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:20104: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:20106: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:20109: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:21062: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_sockaddr_storage=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_struct_sockaddr_storage=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_struct_sockaddr_storage=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:20119: result: $ac_cv_type_struct_sockaddr_storage" >&5
++echo "configure:21071: result: $ac_cv_type_struct_sockaddr_storage" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_sockaddr_storage" >&6
+ if test $ac_cv_type_struct_sockaddr_storage = yes; then
+ 
+@@ -20135,13 +21087,13 @@
+ fi
+ 
+ cv=`echo "struct addrinfo" | sed 'y%./+- %__p__%'`
+-echo "$as_me:20138: checking for struct addrinfo" >&5
++echo "configure:21090: checking for struct addrinfo" >&5
+ echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 20144 "configure"
++#line 21096 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -20158,37 +21110,28 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:20161: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:20164: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:20166: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:20169: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:21113: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_type_$cv=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_type_$cv=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_type_$cv=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:20180: result: $ac_foo" >&5
++echo "configure:21123: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo struct addrinfo | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:20185: checking for struct addrinfo" >&5
++	echo "configure:21128: checking for struct addrinfo" >&5
+ echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_addrinfo+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 20191 "configure"
++#line 21134 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -20203,25 +21146,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:20206: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:20209: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:20211: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:20214: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:21149: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_addrinfo=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_struct_addrinfo=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_struct_addrinfo=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:20224: result: $ac_cv_type_struct_addrinfo" >&5
++echo "configure:21158: result: $ac_cv_type_struct_addrinfo" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_addrinfo" >&6
+ if test $ac_cv_type_struct_addrinfo = yes; then
+ 
+@@ -20239,7 +21173,7 @@
+ 
+ fi
+ 
+-echo "$as_me:20242: checking for struct winsize" >&5
++echo "configure:21176: checking for struct winsize" >&5
+ echo $ECHO_N "checking for struct winsize... $ECHO_C" >&6
+ if test "${ac_cv_struct_winsize+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -20248,7 +21182,7 @@
+ ac_cv_struct_winsize=no
+ for i in sys/termios.h sys/ioctl.h; do
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 20251 "configure"
++#line 21185 "configure"
+ #include "confdefs.h"
+ #include <$i>
+ 
+@@ -20269,10 +21203,10 @@
+ EOF
+ 
+ fi
+-echo "$as_me:20272: result: $ac_cv_struct_winsize" >&5
++echo "configure:21206: result: $ac_cv_struct_winsize" >&5
+ echo "${ECHO_T}$ac_cv_struct_winsize" >&6
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 20275 "configure"
++#line 21209 "configure"
+ #include "confdefs.h"
+ #include <termios.h>
+ 
+@@ -20288,7 +21222,7 @@
+ rm -f conftest*
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 20291 "configure"
++#line 21225 "configure"
+ #include "confdefs.h"
+ #include <termios.h>
+ 
+@@ -20303,14 +21237,14 @@
+ fi
+ rm -f conftest*
+ 
+-echo "$as_me:20306: checking for struct spwd" >&5
++echo "configure:21240: checking for struct spwd" >&5
+ echo $ECHO_N "checking for struct spwd... $ECHO_C" >&6
+ if test "${ac_cv_struct_spwd+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 20313 "configure"
++#line 21247 "configure"
+ #include "confdefs.h"
+ #include <pwd.h>
+ #ifdef HAVE_SHADOW_H
+@@ -20325,27 +21259,18 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:20328: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:20331: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:20333: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:20336: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:21262: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_struct_spwd=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_struct_spwd=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_struct_spwd=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ 
+ fi
+ 
+-echo "$as_me:20348: result: $ac_cv_struct_spwd" >&5
++echo "configure:21273: result: $ac_cv_struct_spwd" >&5
+ echo "${ECHO_T}$ac_cv_struct_spwd" >&6
+ 
+ if test "$ac_cv_struct_spwd" = "yes"; then
+@@ -20356,14 +21281,14 @@
+ 
+ fi
+ 
+-echo "$as_me:20359: checking for sa_len in struct sockaddr" >&5
++echo "configure:21284: checking for sa_len in struct sockaddr" >&5
+ echo $ECHO_N "checking for sa_len in struct sockaddr... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_sockaddr_sa_len+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 20366 "configure"
++#line 21291 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #include <sys/socket.h>
+@@ -20376,45 +21301,38 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:20379: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:20382: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:20384: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:20387: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:21304: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_sockaddr_sa_len=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_struct_sockaddr_sa_len=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_struct_sockaddr_sa_len=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:20397: result: $ac_cv_type_struct_sockaddr_sa_len" >&5
++echo "configure:21313: result: $ac_cv_type_struct_sockaddr_sa_len" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_sockaddr_sa_len" >&6
+ if test "$ac_cv_type_struct_sockaddr_sa_len" = yes; then
+-
++	
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
+ EOF
+ 
++	
+ fi
+ 
+ for i in int8_t int16_t int32_t int64_t \
+ 	u_int8_t u_int16_t u_int32_t u_int64_t \
+ 	uint8_t uint16_t uint32_t uint64_t; do
+-	echo "$as_me:20410: checking for $i" >&5
++	echo "configure:21328: checking for $i" >&5
+ echo $ECHO_N "checking for $i... $ECHO_C" >&6
+-
++	
+ if eval "test \"\${ac_cv_type_$i+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 20417 "configure"
++#line 21335 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_INTTYPES_H
+@@ -20443,21 +21361,12 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:20446: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:20449: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:20451: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:20454: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:21364: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval ac_cv_type_$i=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval ac_cv_type_$i=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval ac_cv_type_$i=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+@@ -20470,7 +21379,7 @@
+ EOF
+ 
+ 	fi
+-	echo "$as_me:20473: result: $ac_res" >&5
++	echo "configure:21382: result: $ac_res" >&5
+ echo "${ECHO_T}$ac_res" >&6
+ done
+ 
+@@ -20483,25 +21392,21 @@
+ 
+ do
+ ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
+-echo "$as_me:20486: checking for $ac_header" >&5
++
++echo "configure:21396: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 20492 "configure"
++#line 21402 "configure"
+ #include "confdefs.h"
+ #include <$ac_header>
++
+ _ACEOF
+-if { (eval echo "$as_me:20496: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
+-  (eval $ac_cpp conftest.$ac_ext >/dev/null) 2>conftest.er1
+-  ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
+-  rm -f conftest.er1
+-  cat conftest.err >&5
+-  echo "$as_me:20502: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  if test -s conftest.err; then
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:21408: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+   else
+     ac_cpp_err=
+@@ -20509,16 +21414,19 @@
+ else
+   ac_cpp_err=yes
+ fi
++
+ if test -z "$ac_cpp_err"; then
+   eval "$ac_ac_Header=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  cat conftest.err >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_Header=no"
+ fi
+-rm -f conftest.err conftest.$ac_ext
++rm -f conftest*
++
+ fi
+-echo "$as_me:20521: result: `eval echo '${'$ac_ac_Header'}'`" >&5
++echo "configure:21429: result: `eval echo '${'$ac_ac_Header'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
+ if test `eval echo '${'$ac_ac_Header'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -20528,7 +21436,7 @@
+ fi
+ done
+ 
+-echo "$as_me:20531: checking for MD4_Init" >&5
++echo "configure:21439: checking for MD4_Init" >&5
+ echo $ECHO_N "checking for MD4_Init... $ECHO_C" >&6
+ if test "${ac_cv_funclib_MD4_Init+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -20544,7 +21452,7 @@
+ 		fi
+ 		LIBS="$LIB_krb4 $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 20547 "configure"
++#line 21455 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -20556,20 +21464,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:20559: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:20562: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:20564: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:20567: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:21467: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_MD4_Init=$ac_lib; else ac_cv_funclib_MD4_Init=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -20582,17 +21481,17 @@
+ eval "ac_res=\$ac_cv_funclib_MD4_Init"
+ 
+ if false; then
+-
++	
+ for ac_func in MD4_Init
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:20589: checking for $ac_func" >&5
++echo "configure:21488: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 20595 "configure"
++#line 21494 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -20623,25 +21522,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:20626: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:20629: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:20631: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:20634: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:21525: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:20644: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:21534: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -20665,13 +21555,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:20668: result: yes" >&5
++	echo "configure:21558: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_MD4_Init=no"
+ 	eval "LIB_MD4_Init="
+-	echo "$as_me:20674: result: no" >&5
++	echo "configure:21564: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -20685,12 +21575,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:20688: result: yes, in $ac_res" >&5
++	echo "configure:21578: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "$as_me:20693: checking for MD5_Init" >&5
++echo "configure:21583: checking for MD5_Init" >&5
+ echo $ECHO_N "checking for MD5_Init... $ECHO_C" >&6
+ if test "${ac_cv_funclib_MD5_Init+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -20706,7 +21596,7 @@
+ 		fi
+ 		LIBS="$LIB_krb4 $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 20709 "configure"
++#line 21599 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -20718,20 +21608,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:20721: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:20724: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:20726: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:20729: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:21611: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_MD5_Init=$ac_lib; else ac_cv_funclib_MD5_Init=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -20744,17 +21625,17 @@
+ eval "ac_res=\$ac_cv_funclib_MD5_Init"
+ 
+ if false; then
+-
++	
+ for ac_func in MD5_Init
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:20751: checking for $ac_func" >&5
++echo "configure:21632: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 20757 "configure"
++#line 21638 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -20785,25 +21666,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:20788: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:20791: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:20793: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:20796: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:21669: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:20806: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:21678: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -20827,13 +21699,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:20830: result: yes" >&5
++	echo "configure:21702: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_MD5_Init=no"
+ 	eval "LIB_MD5_Init="
+-	echo "$as_me:20836: result: no" >&5
++	echo "configure:21708: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -20847,12 +21719,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:20850: result: yes, in $ac_res" >&5
++	echo "configure:21722: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "$as_me:20855: checking for SHA1_Init" >&5
++echo "configure:21727: checking for SHA1_Init" >&5
+ echo $ECHO_N "checking for SHA1_Init... $ECHO_C" >&6
+ if test "${ac_cv_funclib_SHA1_Init+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -20868,7 +21740,7 @@
+ 		fi
+ 		LIBS="$LIB_krb4 $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 20871 "configure"
++#line 21743 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -20880,20 +21752,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:20883: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:20886: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:20888: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:20891: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:21755: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_SHA1_Init=$ac_lib; else ac_cv_funclib_SHA1_Init=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -20906,17 +21769,17 @@
+ eval "ac_res=\$ac_cv_funclib_SHA1_Init"
+ 
+ if false; then
+-
++	
+ for ac_func in SHA1_Init
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:20913: checking for $ac_func" >&5
++echo "configure:21776: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 20919 "configure"
++#line 21782 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -20947,25 +21810,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:20950: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:20953: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:20955: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:20958: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:21813: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:20968: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:21822: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -20989,13 +21843,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:20992: result: yes" >&5
++	echo "configure:21846: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_SHA1_Init=no"
+ 	eval "LIB_SHA1_Init="
+-	echo "$as_me:20998: result: no" >&5
++	echo "configure:21852: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -21009,12 +21863,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:21012: result: yes, in $ac_res" >&5
++	echo "configure:21866: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "$as_me:21017: checking for des_cbc_encrypt" >&5
++echo "configure:21871: checking for des_cbc_encrypt" >&5
+ echo $ECHO_N "checking for des_cbc_encrypt... $ECHO_C" >&6
+ if test "${ac_cv_funclib_des_cbc_encrypt+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -21030,7 +21884,7 @@
+ 		fi
+ 		LIBS="$LIB_krb4 $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 21033 "configure"
++#line 21887 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -21042,20 +21896,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:21045: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:21048: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:21050: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:21053: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:21899: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_des_cbc_encrypt=$ac_lib; else ac_cv_funclib_des_cbc_encrypt=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -21068,17 +21913,17 @@
+ eval "ac_res=\$ac_cv_funclib_des_cbc_encrypt"
+ 
+ if false; then
+-
++	
+ for ac_func in des_cbc_encrypt
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:21075: checking for $ac_func" >&5
++echo "configure:21920: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 21081 "configure"
++#line 21926 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -21109,25 +21954,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:21112: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:21115: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:21117: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:21120: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:21957: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:21130: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:21966: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -21151,13 +21987,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:21154: result: yes" >&5
++	echo "configure:21990: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_des_cbc_encrypt=no"
+ 	eval "LIB_des_cbc_encrypt="
+-	echo "$as_me:21160: result: no" >&5
++	echo "configure:21996: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -21171,12 +22007,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:21174: result: yes, in $ac_res" >&5
++	echo "configure:22010: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "$as_me:21179: checking for RC4" >&5
++echo "configure:22015: checking for RC4" >&5
+ echo $ECHO_N "checking for RC4... $ECHO_C" >&6
+ if test "${ac_cv_funclib_RC4+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -21192,7 +22028,7 @@
+ 		fi
+ 		LIBS="$LIB_krb4 $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 21195 "configure"
++#line 22031 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -21204,20 +22040,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:21207: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:21210: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:21212: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:21215: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:22043: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_RC4=$ac_lib; else ac_cv_funclib_RC4=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -21230,17 +22057,17 @@
+ eval "ac_res=\$ac_cv_funclib_RC4"
+ 
+ if false; then
+-
++	
+ for ac_func in RC4
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:21237: checking for $ac_func" >&5
++echo "configure:22064: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 21243 "configure"
++#line 22070 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -21271,25 +22098,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:21274: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:21277: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:21279: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:21282: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:22101: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:21292: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:22110: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -21313,13 +22131,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:21316: result: yes" >&5
++	echo "configure:22134: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_RC4=no"
+ 	eval "LIB_RC4="
+-	echo "$as_me:21322: result: no" >&5
++	echo "configure:22140: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -21333,7 +22151,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:21336: result: yes, in $ac_res" >&5
++	echo "configure:22154: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -21344,7 +22162,10 @@
+ "$ac_cv_func_SHA1_Init" = "yes" -a \
+ "$ac_cv_func_RC4" = "yes"; then
+   DIR_des=''
+-  LIB_des="-R $krb4_libdir -L$krb4_libdir $ac_cv_funclib_MD4_Init"
++  if test "$krb4_libdir" != ""; then
++    LIB_des="-rpath $krb4_libdir -L$krb4_libdir"
++  fi
++  LIB_des="$LIB_des -ldes $ac_cv_funclib_MD4_Init"
+   LIB_des_appl="$LIB_des"
+ else
+   DIR_des='des'
+@@ -21352,7 +22173,7 @@
+   LIB_des_appl="-ldes"
+ fi
+ 
+-echo "$as_me:21355: checking for el_init" >&5
++echo "configure:22176: checking for el_init" >&5
+ echo $ECHO_N "checking for el_init... $ECHO_C" >&6
+ if test "${ac_cv_funclib_el_init+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -21368,7 +22189,7 @@
+ 		fi
+ 		LIBS=" $ac_lib $LIB_tgetent $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 21371 "configure"
++#line 22192 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -21380,20 +22201,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:21383: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:21386: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:21388: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:21391: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:22204: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_el_init=$ac_lib; else ac_cv_funclib_el_init=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -21406,17 +22218,17 @@
+ eval "ac_res=\$ac_cv_funclib_el_init"
+ 
+ if false; then
+-
++	
+ for ac_func in el_init
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:21413: checking for $ac_func" >&5
++echo "configure:22225: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 21419 "configure"
++#line 22231 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -21447,25 +22259,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:21450: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:21453: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:21455: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:21458: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:22262: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:21468: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:22271: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -21489,13 +22292,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:21492: result: yes" >&5
++	echo "configure:22295: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_el_init=no"
+ 	eval "LIB_el_init="
+-	echo "$as_me:21498: result: no" >&5
++	echo "configure:22301: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -21509,20 +22312,20 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:21512: result: yes, in $ac_res" >&5
++	echo "configure:22315: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+ if test "$ac_cv_func_el_init" = yes ; then
+-	echo "$as_me:21518: checking for four argument el_init" >&5
++	echo "configure:22321: checking for four argument el_init" >&5
+ echo $ECHO_N "checking for four argument el_init... $ECHO_C" >&6
+ if test "${ac_cv_func_el_init_four+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 21525 "configure"
++#line 22328 "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
+ 			#include <histedit.h>
+@@ -21535,28 +22338,19 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:21538: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:21541: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:21543: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:21546: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:22341: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_func_el_init_four=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_el_init_four=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_el_init_four=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:21556: result: $ac_cv_func_el_init_four" >&5
++echo "configure:22350: result: $ac_cv_func_el_init_four" >&5
+ echo "${ECHO_T}$ac_cv_func_el_init_four" >&6
+ 	if test "$ac_cv_func_el_init_four" = yes; then
+-
++		
+ cat >>confdefs.h <<\EOF
+ #define HAVE_FOUR_VALUED_EL_INIT 1
+ EOF
+@@ -21571,8 +22365,10 @@
+ 	:
+ elif test "$ac_cv_func_el_init" = yes; then
+ 	ac_foo=yes
++	DIR_readline="editline"
+ 	LIB_readline="\$(top_builddir)/lib/editline/libel_compat.la $LIB_el_init"
+ else
++	DIR_readline="editline"
+ 	LIB_readline='$(top_builddir)/lib/editline/libeditline.la'
+ fi
+ 
+@@ -21583,15 +22379,67 @@
+   el_compat_TRUE='#'
+   el_compat_FALSE=
+ fi
+-if test "$readline_libdir"; then
+-	LIB_readline="-rpath $readline_libdir $LIB_readline"
+-fi
++#if test "$readline_libdir"; then
++#	LIB_readline="-rpath $readline_libdir $LIB_readline"
++#fi
+ LIB_readline="$LIB_readline \$(LIB_tgetent)"
+ 
+ cat >>confdefs.h <<\EOF
+ #define HAVE_READLINE 1
+ EOF
+ 
++ac_foo=no
++if test "$with_com_err" = yes; then
++	COMPILE_ET='compile_et'
++#elif test "$ac_cv_func_com_err" = yes; then
++#	COMPILE_ET='compile_et'
++else
++	COMPILE_ET='$(top_builddir)/lib/com_err/compile_et'
++	DIR_com_err="com_err"
++	LIB_com_err='$(top_builddir)/lib/com_err/libcom_err.la'
++fi
++
++if true; then
++#	!FIXME! why doesn't built in version of com_err work?
++	COMPILE_ET='$(top_builddir)/lib/com_err/compile_et'
++	DIR_com_err="com_err"
++	LIB_com_err='$(top_builddir)/lib/com_err/libcom_err.la'
++fi
++
++#if test "$com_err_libdir"; then
++#	LIB_com_err="-rpath $com_err_libdir $LIB_com_err"
++#fi
++
++cat >>confdefs.h <<\EOF
++#define HAVE_COM_ERR 1
++EOF
++
++ac_foo=no
++if test "$with_ss" = yes; then
++	LIB_sl="$LIB_ss"
++else
++	DIR_ss="sl"
++	LIB_sl='$(top_builddir)/lib/sl/libsl.la'
++	LIB_ss='$(top_builddir)/lib/sl/libss.la'
++	INCLUDE_ss='-I$(top_builddir)/include/sl'
++fi
++
++#if test "$ss_libdir"; then
++#	LIB_ss="-rpath $sl_libdir $LIB_ss"
++#fi
++
++if true; then
++#	!FIXME! why doesn't built in version of ss work?
++	DIR_ss="sl"
++	LIB_sl='$(top_builddir)/lib/sl/libsl.la'
++	LIB_ss='$(top_builddir)/lib/sl/libss.la'
++	INCLUDE_ss='-I$(top_builddir)/include/ss'
++fi
++
++cat >>confdefs.h <<\EOF
++#define HAVE_SS 1
++EOF
++
+ cat >>confdefs.h <<\EOF
+ #define AUTHENTICATION 1
+ EOF
+@@ -21624,13 +22472,13 @@
+ #
+ # And also something wierd has happend with dec-osf1, fallback to bsd-ptys
+ 
+-echo "$as_me:21627: checking for getmsg" >&5
++echo "configure:22475: checking for getmsg" >&5
+ echo $ECHO_N "checking for getmsg... $ECHO_C" >&6
+ if test "${ac_cv_func_getmsg+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 21633 "configure"
++#line 22481 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char getmsg (); below.  */
+@@ -21661,30 +22509,21 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:21664: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:21667: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:21669: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:21672: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:22512: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_func_getmsg=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_getmsg=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_getmsg=no
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:21682: result: $ac_cv_func_getmsg" >&5
++echo "configure:22521: result: $ac_cv_func_getmsg" >&5
+ echo "${ECHO_T}$ac_cv_func_getmsg" >&6
+ 
+ if test "$ac_cv_func_getmsg" = "yes"; then
+ 
+-echo "$as_me:21687: checking for working getmsg" >&5
++echo "configure:22526: checking for working getmsg" >&5
+ echo $ECHO_N "checking for working getmsg... $ECHO_C" >&6
+ if test "${ac_cv_func_getmsg_work+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -21693,7 +22532,7 @@
+   ac_cv_func_getmsg_work=no
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 21696 "configure"
++#line 22535 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -21710,26 +22549,19 @@
+ 
+ _ACEOF
+ rm -f conftest$ac_exeext
+-if { (eval echo "$as_me:21713: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:21716: \$? = $ac_status" >&5
+-  (exit $ac_status); } && { (eval echo "$as_me:21717: \"./conftest$ac_exeext\"") >&5
+-  (eval ./conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:21720: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:22552: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
++   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
+   ac_cv_func_getmsg_work=yes
+ else
+-  echo "$as_me: program exited with status $ac_status" >&5
+-echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_getmsg_work=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_getmsg_work=no
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
++
+ fi
+-echo "$as_me:21732: result: $ac_cv_func_getmsg_work" >&5
++echo "configure:22564: result: $ac_cv_func_getmsg_work" >&5
+ echo "${ECHO_T}$ac_cv_func_getmsg_work" >&6
+ test "$ac_cv_func_getmsg_work" = "yes" &&
+ 
+@@ -21740,7 +22572,7 @@
+ fi
+ 
+ if test "$ac_cv_func_getmsg_work" = yes; then
+-echo "$as_me:21743: checking for streamspty" >&5
++echo "configure:22575: checking for streamspty" >&5
+ echo $ECHO_N "checking for streamspty... $ECHO_C" >&6
+ case "$host" in
+ *-*-aix3*|*-*-sunos4*|*-*-osf*|*-*-hpux1[01]*)
+@@ -21750,18 +22582,18 @@
+ 	krb_cv_sys_streamspty=yes
+ 	;;
+ esac
+-echo "$as_me:21753: result: $krb_cv_sys_streamspty" >&5
++echo "configure:22585: result: $krb_cv_sys_streamspty" >&5
+ echo "${ECHO_T}$krb_cv_sys_streamspty" >&6
+ fi
+ if test "$krb_cv_sys_streamspty" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define STREAMSPTY 1
+ EOF
+ 
+ fi
+ 
+-echo "$as_me:21764: checking which authentication modules should be built" >&5
++echo "configure:22596: checking which authentication modules should be built" >&5
+ echo $ECHO_N "checking which authentication modules should be built... $ECHO_C" >&6
+ 
+ LIB_AUTH_SUBDIRS=
+@@ -21778,7 +22610,7 @@
+ *-*-irix[56]*) LIB_AUTH_SUBDIRS="$LIB_AUTH_SUBDIRS afskauthlib" ;;
+ esac
+ 
+-echo "$as_me:21781: result: $LIB_AUTH_SUBDIRS" >&5
++echo "configure:22613: result: $LIB_AUTH_SUBDIRS" >&5
+ echo "${ECHO_T}$LIB_AUTH_SUBDIRS" >&6
+ 
+ test "x$prefix" = xNONE && prefix=$ac_default_prefix
+@@ -21805,9 +22637,62 @@
+ fi
+ LTLIBOBJS=`echo "$LIBOBJS" | sed 's/\.o/\.lo/g'`
+ 
+-ac_config_files="$ac_config_files Makefile include/Makefile include/kadm5/Makefile lib/Makefile lib/45/Makefile lib/auth/Makefile lib/auth/afskauthlib/Makefile lib/auth/pam/Makefile lib/auth/sia/Makefile lib/asn1/Makefile lib/com_err/Makefile lib/des/Makefile lib/editline/Makefile lib/gssapi/Makefile lib/hdb/Makefile lib/kadm5/Makefile lib/kafs/Makefile lib/kdfs/Makefile lib/krb5/Makefile lib/otp/Makefile lib/roken/Makefile lib/sl/Makefile lib/vers/Makefile kuser/Makefile kpasswd/Makefile kadmin/Makefile admin/Makefile kdc/Makefile appl/Makefile appl/afsutil/Makefile appl/ftp/Makefile appl/ftp/common/Makefile appl/ftp/ftp/Makefile appl/ftp/ftpd/Makefile appl/kx/Makefile appl/login/Makefile appl/otp/Makefile appl/popper/Makefile appl/push/Makefile appl/rsh/Makefile appl/rcp/Makefile appl/su/Makefile appl/xnlock/Makefile appl/telnet/Makefile appl/telnet/libtelnet/Makefile appl/telnet/telnet/Makefile appl/telnet/telnetd/Makefile appl/test/Makefile appl/kf/Makefile appl/dceutils/Makefile doc/Makefile tools/Makefile"
++ac_config_files="$ac_config_files Makefile 		\
++	include/Makefile		\
++	include/kadm5/Makefile		\
++	lib/Makefile			\
++	lib/45/Makefile			\
++	lib/auth/Makefile		\
++	lib/auth/afskauthlib/Makefile	\
++	lib/auth/pam/Makefile		\
++	lib/auth/sia/Makefile		\
++	lib/asn1/Makefile		\
++	lib/com_err/Makefile		\
++	lib/des/Makefile		\
++	lib/editline/Makefile		\
++	lib/gssapi/Makefile		\
++	lib/hdb/Makefile		\
++	lib/kadm5/Makefile		\
++	lib/kafs/Makefile		\
++	lib/kdfs/Makefile		\
++	lib/krb5/Makefile		\
++	lib/otp/Makefile		\
++	lib/roken/Makefile		\
++	lib/sl/Makefile			\
++	lib/vers/Makefile		\
++	kuser/Makefile			\
++	kpasswd/Makefile		\
++	kadmin/Makefile			\
++	admin/Makefile			\
++	kdc/Makefile			\
++	appl/Makefile			\
++	appl/afsutil/Makefile		\
++	appl/ftp/Makefile		\
++	appl/ftp/common/Makefile	\
++	appl/ftp/ftp/Makefile		\
++	appl/ftp/ftpd/Makefile		\
++	appl/kx/Makefile		\
++	appl/login/Makefile		\
++	appl/otp/Makefile		\
++	appl/popper/Makefile		\
++	appl/push/Makefile		\
++	appl/rsh/Makefile		\
++	appl/rcp/Makefile		\
++	appl/su/Makefile		\
++	appl/xnlock/Makefile		\
++	appl/telnet/Makefile		\
++	appl/telnet/libtelnet/Makefile	\
++	appl/telnet/telnet/Makefile	\
++	appl/telnet/telnetd/Makefile	\
++	appl/test/Makefile		\
++	appl/kf/Makefile		\
++	appl/dceutils/Makefile		\
++	doc/Makefile			\
++	tools/Makefile			\
++"
+ 
+-cat >confcache <<\_ACEOF
++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, see configure's option --config-cache.
+@@ -21821,8 +22706,7 @@
+ # loading this file, other *unset* `ac_cv_foo' will be assigned the
+ # following values.
+ 
+-_ACEOF
+-
++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.
+@@ -21832,26 +22716,19 @@
+   (set) 2>&1 |
+     case `(ac_space=' '; set | grep ac_space) 2>&1` in
+     *ac_space=\ *)
+-      # `set' does not quote correctly, so add quotes (double-quote
+-      # substitution turns \\\\ into \\, and sed turns \\ into \).
++      # `set' does not quote correctly, so add quotes (double-quote substitution
++      # turns \\\\ into \\, and sed turns \\ into \).
+       sed -n \
+-        "s/'/'\\\\''/g;
+-    	  s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
++    	-e "s/'/'\\\\''/g" \
++    	-e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1='\\2'/p"
+       ;;
+     *)
+       # `set' quotes correctly as required by POSIX, so do not add quotes.
+-      sed -n \
+-        "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
++      sed -n 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=\2/p'
+       ;;
+     esac;
+ } |
+-  sed '
+-     t clear
+-     : clear
+-     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
+-     t end
+-     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
+-     : end' >>confcache
++  sed '/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/' >>confcache
+ if cmp -s $cache_file confcache; then :; else
+   if test -w $cache_file; then
+     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
+@@ -21861,34 +22738,58 @@
+   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}'
+ 
+-# VPATH is dangerous, but if there is a colon in the path, we need to
+-# keep it.
++# 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
+ 
+ DEFS=-DHAVE_CONFIG_H
+ 
++# Save into config.log some information that might help in debugging.
++echo >&5
++echo "Cache variables:" >&5
++# The following way of writing the cache mishandles newlines in values,
++# but we know of no workaround that is simple, portable, and efficient.
++# So, don't put newlines in cache variables' values.
++# Ultrix sh set writes to stderr and can't be redirected directly,
++# and sets the high bit in the cache file unless we assign to the vars.
++{
++  (set) 2>&1 |
++    case `(ac_space=' '; set | grep ac_space) 2>&1` in
++    *ac_space=\ *)
++      # `set' does not quote correctly, so add quotes (double-quote substitution
++      # turns \\\\ into \\, and sed turns \\ into \).
++      sed -n \
++    	-e "s/'/'\\\\''/g" \
++    	-e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1='\\2'/p"
++      ;;
++    *)
++      # `set' quotes correctly as required by POSIX, so do not add quotes.
++      sed -n 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=\2/p'
++      ;;
++    esac;
++} | sed 's/^/| /' >&5
++echo >&5
++echo "confdefs.h:" >&5
++cat confdefs.h | sed 's/^/| /' >&5
++
+ : ${CONFIG_STATUS=./config.status}
+-ac_clean_files_save=$ac_clean_files
+-ac_clean_files="$ac_clean_files $CONFIG_STATUS"
+-{ echo "$as_me:21880: creating $CONFIG_STATUS" >&5
+-echo "$as_me: creating $CONFIG_STATUS" >&6;}
+-cat >$CONFIG_STATUS <<\_ACEOF
++trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
++echo creating $CONFIG_STATUS
++cat >$CONFIG_STATUS <<\EOF
+ #! /bin/sh
+ # Generated automatically by configure.
+ # Run this file to recreate the current configuration.
+ # Compiler output produced by configure, useful for debugging
+-# configure, is in config.log if it exists.
+-
+-debug=false
+-as_me=`echo "$0" | sed 's,.*/,,'`
+-SHELL=${CONFIG_SHELL-/bin/sh}
++# configure, is in ./config.log if it exists.
+ 
+ # Be Bourne compatible
+ if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
+@@ -21898,97 +22799,38 @@
+   set -o posix
+ fi
+ 
+-if expr a : '\(a\)' >/dev/null 2>&1; then
+-  as_expr=expr
+-else
+-  as_expr=false
+-fi
+-
+-rm -f conftest conftest.exe conftest.file
+-echo >conftest.file
+-if ln -s conftest.file conftest 2>/dev/null; then
+-  # We could just check for DJGPP; but this test a) works b) is more generic
+-  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
+-  if test -f conftest.exe; then
+-    # Don't use ln at all; we don't have any links
+-    as_ln_s='cp -p'
+-  else
+-    as_ln_s='ln -s'
+-  fi
+-elif ln conftest.file conftest 2>/dev/null; then
+-  as_ln_s=ln
+-else
+-  as_ln_s='cp -p'
+-fi
+-rm -f conftest conftest.exe conftest.file
+-
+-# Find out how to test for executable files. Don't use a zero-byte file,
+-# as systems may use methods other than mode bits to determine executability.
+-cat >conftest.file <<_ASEOF
+-#! /bin/sh
+-exit 0
+-_ASEOF
+-chmod +x conftest.file
+-if test -x conftest.file >/dev/null 2>&1; then
+-  as_executable_p="test -x"
+-elif test -f conftest.file >/dev/null 2>&1; then
+-  as_executable_p="test -f"
+-else
+-  { { echo "$as_me:21937: error: cannot check whether a file is executable on this system" >&5
+-echo "$as_me: error: cannot check whether a file is executable on this system" >&2;}
+-   { (exit 1); exit 1; }; }
+-fi
+-rm -f conftest.file
+-
+ # Support unset when possible.
+-if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
+-  as_unset=unset
++if (unset FOO) >/dev/null 2>&1; then
++  ac_unset=unset
+ else
+-  as_unset=false
++  ac_unset=false
+ fi
+ 
+ # NLS nuisances.
+-$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
+-$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
+-$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
+-$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
+-$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
+-$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
+-$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
+-$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
++$ac_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
++$ac_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
++$ac_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
++$ac_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
++$ac_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
++$ac_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
++$ac_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
++$ac_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
+ 
+ # IFS
+ # We need space, tab and new line, in precisely that order.
+-as_nl='
++ac_nl='
+ '
+-IFS=" 	$as_nl"
++IFS=" 	$ac_nl"
+ 
+ # CDPATH.
+-$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
+-
+-# File descriptor usage:
+-# 0 standard input
+-# 1 file creation
+-# 2 errors and warnings
+-# 5 compiler messages saved in config.log
+-# 6 checking for... messages and results
+-exec 5>>config.log
+-exec 6>&1
+-
+-cat >&5 << EOF
++$ac_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
+ 
+-## ----------------------- ##
+-## Running config.status.  ##
+-## ----------------------- ##
+-
+-This file was extended by $as_me (heimdal 0.3e) 2.49d, executed with
+- > $0 $@
+-on `(hostname || uname -n) 2>/dev/null | sed 1q`
++debug=false
++me=`echo "$0" | sed 's,.*/,,'`
++SHELL=${CONFIG_SHELL-/bin/sh}
+ 
+ EOF
+ 
+-_ACEOF
+-
+ # Files that config.status was made for.
+ if test -n "$ac_config_files"; then
+   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
+@@ -22009,7 +22851,7 @@
+ cat >>$CONFIG_STATUS <<\EOF
+ 
+ ac_cs_usage="\
+-\`$as_me' instantiates files from templates according to the
++\`$me' instantiates files from templates according to the
+ current configuration.
+ 
+ Usage: $0 [OPTIONS] [FILE]...
+@@ -22017,7 +22859,7 @@
+   -h, --help       print this help, then exit
+   -V, --version    print version number, then exit
+   -d, --debug      don't remove temporary files
+-      --recheck    update $as_me by reconfiguring in the same conditions
++      --recheck    update $me by reconfiguring in the same conditions
+   --file=FILE[:TEMPLATE]
+                    instantiate the configuration file FILE
+   --header=FILE[:TEMPLATE]
+@@ -22037,11 +22879,12 @@
+ 
+ cat >>$CONFIG_STATUS <<EOF
+ ac_cs_version="\\
+-$CONFIG_STATUS generated by $as_me (Autoconf 2.49d).
+-Configured on host $ac_hostname by
++$CONFIG_STATUS generated by autoconf version 2.49b.
++Configured on host `(hostname || uname -n) 2>/dev/null | sed 1q` by
+   `echo "$0 $ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`"
+-srcdir=$srcdir
+-INSTALL="$INSTALL"
++
++ac_given_srcdir=$srcdir
++ac_given_INSTALL="$INSTALL"
+ EOF
+ 
+ cat >>$CONFIG_STATUS <<\EOF
+@@ -22077,11 +22920,8 @@
+     echo "$ac_cs_version"; exit 0 ;;
+   --he | --h)
+     # Conflict between --help and --header
+-    { { echo "$as_me:22080: error: ambiguous option: $1
+-Try \`$0 --help' for more information." >&5
+-echo "$as_me: error: ambiguous option: $1
+-Try \`$0 --help' for more information." >&2;}
+-   { (exit 1); exit 1; }; };;
++    echo "$me: ambiguous option: $ac_option
++Try \`$me --help' for more information."; exit 1 ;;
+   --help | --hel | -h )
+     echo "$ac_cs_usage"; exit 0 ;;
+   --debug | --d* | -d )
+@@ -22153,14 +22993,9 @@
+   'include/config.h' ) CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
+ 
+   # This is an error.
+-  -*) { { echo "$as_me:22156: error: unrecognized option: $1
+-Try \`$0 --help' for more information." >&5
+-echo "$as_me: error: unrecognized option: $1
+-Try \`$0 --help' for more information." >&2;}
+-   { (exit 1); exit 1; }; } ;;
+-  *) { { echo "$as_me:22161: error: invalid argument: $1" >&5
+-echo "$as_me: error: invalid argument: $1" >&2;}
+-   { (exit 1); exit 1; }; };;
++  -*) echo "$me: unrecognized option: $1
++Try \`$me --help' for more information."; exit 1 ;;
++  *) echo "$me: invalid argument: $1"; exit 1 ;;
+   esac
+   shift
+ done
+@@ -22170,19 +23005,17 @@
+ cat >>$CONFIG_STATUS <<\EOF
+ # If the user did not use the arguments to specify the items to instantiate,
+ # then the envvar interface is used.  Set only those that are not.
+-# We use the long form for the default assignment because of an extremely
+-# bizarre bug on SunOS 4.1.3.
+ if $ac_need_defaults; then
+-  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
+-  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
+-  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
++  : ${CONFIG_FILES=$config_files}
++  : ${CONFIG_HEADERS=$config_headers}
++  : ${CONFIG_COMMANDS=$config_commands}
+ fi
+ 
+ # Create a temporary directory, and hook for its removal unless debugging.
+ $debug ||
+ {
+   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
+-  trap '{ (exit $?); exit $?; }' 1 2 13 15
++  trap 'exit $?' 1 2 13 15
+ }
+ 
+ # Create a (secure) tmp directory for tmp files.
+@@ -22197,7 +23030,7 @@
+ } ||
+ {
+    echo "$me: cannot create a temporary directory in $TMPDIR" >&2
+-   { (exit 1); exit 1; }
++   exit 1;
+ }
+ 
+ EOF
+@@ -22207,6 +23040,15 @@
+ # INIT-COMMANDS section.
+ #
+ 
++am_indx=1
++  for am_file in include/config.h; do
++    case " $CONFIG_HEADERS " in
++    *" $am_file "*)
++      echo timestamp > `echo $am_file | sed 's%:.*%%;s%[^/]*$%%'`stamp-h$am_indx
++      ;;
++    esac
++    am_indx=\`expr \$am_indx + 1\`
++  done
+ AMDEP="$AMDEP"
+ ac_aux_dir="$ac_aux_dir"
+ 
+@@ -22224,6 +23066,8 @@
+   # Protect against being on the right side of a sed subst in config.status.
+   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
+    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
++s,@COMPILE_ET@,$COMPILE_ET,;t t
++s,@LIB_sl@,$LIB_sl,;t t
+ s,@SHELL@,$SHELL,;t t
+ s,@exec_prefix@,$exec_prefix,;t t
+ s,@prefix@,$prefix,;t t
+@@ -22240,24 +23084,21 @@
+ s,@oldincludedir@,$oldincludedir,;t t
+ s,@infodir@,$infodir,;t t
+ s,@mandir@,$mandir,;t t
+-s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
+-s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
+-s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
+-s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
+-s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
+ s,@ECHO_C@,$ECHO_C,;t t
+ s,@ECHO_N@,$ECHO_N,;t t
+ s,@ECHO_T@,$ECHO_T,;t t
++s,@CFLAGS@,$CFLAGS,;t t
++s,@CPPFLAGS@,$CPPFLAGS,;t t
++s,@CXXFLAGS@,$CXXFLAGS,;t t
++s,@FFLAGS@,$FFLAGS,;t t
+ s,@DEFS@,$DEFS,;t t
++s,@LDFLAGS@,$LDFLAGS,;t t
+ s,@LIBS@,$LIBS,;t t
+ s,@CC@,$CC,;t t
+-s,@CFLAGS@,$CFLAGS,;t t
+-s,@LDFLAGS@,$LDFLAGS,;t t
+ s,@ac_ct_CC@,$ac_ct_CC,;t t
+ s,@OBJEXT@,$OBJEXT,;t t
+ s,@EXEEXT@,$EXEEXT,;t t
+ s,@CPP@,$CPP,;t t
+-s,@CPPFLAGS@,$CPPFLAGS,;t t
+ s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
+ s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
+ s,@INSTALL_DATA@,$INSTALL_DATA,;t t
+@@ -22292,6 +23133,7 @@
+ s,@RANLIB@,$RANLIB,;t t
+ s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
+ s,@LN_S@,$LN_S,;t t
++s,@ECHO@,$ECHO,;t t
+ s,@STRIP@,$STRIP,;t t
+ s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
+ s,@LIBTOOL@,$LIBTOOL,;t t
+@@ -22328,8 +23170,10 @@
+ s,@DIR_roken@,$DIR_roken,;t t
+ s,@LIB_roken@,$LIB_roken,;t t
+ s,@INCLUDES_roken@,$INCLUDES_roken,;t t
++s,@DIR_openldap@,$DIR_openldap,;t t
+ s,@INCLUDE_openldap@,$INCLUDE_openldap,;t t
+ s,@LIB_openldap@,$LIB_openldap,;t t
++s,@DIR_krb4@,$DIR_krb4,;t t
+ s,@INCLUDE_krb4@,$INCLUDE_krb4,;t t
+ s,@LIB_krb4@,$LIB_krb4,;t t
+ s,@EXTRA_LIB45@,$EXTRA_LIB45,;t t
+@@ -22357,8 +23201,16 @@
+ s,@CATMAN_TRUE@,$CATMAN_TRUE,;t t
+ s,@CATMAN_FALSE@,$CATMAN_FALSE,;t t
+ s,@CATMANEXT@,$CATMANEXT,;t t
++s,@DIR_readline@,$DIR_readline,;t t
+ s,@INCLUDE_readline@,$INCLUDE_readline,;t t
+ s,@LIB_readline@,$LIB_readline,;t t
++s,@DIR_com_err@,$DIR_com_err,;t t
++s,@INCLUDE_com_err@,$INCLUDE_com_err,;t t
++s,@LIB_com_err@,$LIB_com_err,;t t
++s,@DIR_ss@,$DIR_ss,;t t
++s,@INCLUDE_ss@,$INCLUDE_ss,;t t
++s,@LIB_ss@,$LIB_ss,;t t
++s,@DIR_hesiod@,$DIR_hesiod,;t t
+ s,@INCLUDE_hesiod@,$INCLUDE_hesiod,;t t
+ s,@LIB_hesiod@,$LIB_hesiod,;t t
+ s,@AIX_TRUE@,$AIX_TRUE,;t t
+@@ -22457,33 +23309,27 @@
+   * )   ac_file_in=$ac_file.in ;;
+   esac
+ 
+-  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
+-  ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+-         X"$ac_file" : 'X\(//\)[^/]' \| \
+-         X"$ac_file" : 'X\(//\)$' \| \
+-         X"$ac_file" : 'X\(/\)' \| \
+-         .     : '\(.\)' 2>/dev/null ||
+-echo X"$ac_file" |
+-    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
+-  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
+-  	  /^X\(\/\/\)$/{ s//\1/; q; }
+-  	  /^X\(\/\).*/{ s//\1/; q; }
+-  	  s/.*/./; q'`
++  # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
++  ac_dir=`expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++      X"$ac_file" : 'X\(//\)[^/]' \| \
++      X"$ac_file" : 'X\(//\)$' \| \
++      X"$ac_file" : 'X\(/\)' \| \
++      .   : '\(.\)' 2>/dev/null ||
++echo "X"$ac_file"" | sed '
++	    /^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/p; q; }
++	    /^X\(\/\/\)[^/].*/{ s//\1/p; q; }
++	    /^X\(\/\/\)$/{ s//\1/p; q; }
++	    /^X\(\/\).*/{ s//\1/p; q; }
++	    s/.*/./p; q'`
+   if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
+     { case "$ac_dir" in
+-  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
+-  *)                      as_incr_dir=.;;
++  [\\/]* | ?:[\\/]* ) ac_incr_dir=;;
++  *)                      ac_incr_dir=.;;
+ esac
+-as_dummy="$ac_dir"
+-for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
+-  case $as_mkdir_dir in
+-    # Skip DOS drivespec
+-    ?:) as_incr_dir=$as_mkdir_dir ;;
+-    *)
+-      as_incr_dir=$as_incr_dir/$as_mkdir_dir
+-      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
+-    ;;
+-  esac
++ac_dummy=""$ac_dir""
++for ac_mkdir_dir in `IFS=/; set X $ac_dummy; shift; echo "$@"`; do
++  ac_incr_dir=$ac_incr_dir/$ac_mkdir_dir
++  test -d $ac_incr_dir || mkdir $ac_incr_dir
+ done; }
+ 
+     ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
+@@ -22493,37 +23339,33 @@
+     ac_dir_suffix= ac_dots=
+   fi
+ 
+-  case $srcdir in
+-  .)  ac_srcdir=.
+-      if test -z "$ac_dots"; then
+-         ac_top_srcdir=.
+-      else
+-         ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
+-      fi ;;
++  case $ac_given_srcdir in
++  .)  srcdir=.
++      if test -z "$ac_dots"; then top_srcdir=.
++      else top_srcdir=`echo $ac_dots | sed 's,/$,,'`; fi ;;
+   [\\/]* | ?:[\\/]* )
+-      ac_srcdir=$srcdir$ac_dir_suffix;
+-      ac_top_srcdir=$srcdir ;;
++      srcdir=$ac_given_srcdir$ac_dir_suffix;
++      top_srcdir=$ac_given_srcdir ;;
+   *) # Relative path.
+-    ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
+-    ac_top_srcdir=$ac_dots$srcdir ;;
++    srcdir=$ac_dots$ac_given_srcdir$ac_dir_suffix
++    top_srcdir=$ac_dots$ac_given_srcdir ;;
+   esac
+ 
+-  case $INSTALL in
+-  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
+-  *) ac_INSTALL=$ac_dots$INSTALL ;;
++  case $ac_given_INSTALL in
++  [\\/$]* | ?:[\\/]* ) INSTALL=$ac_given_INSTALL ;;
++  *) INSTALL=$ac_dots$ac_given_INSTALL ;;
+   esac
+ 
+   if test x"$ac_file" != x-; then
+-    { echo "$as_me:22517: creating $ac_file" >&5
+-echo "$as_me: creating $ac_file" >&6;}
++    echo creating $ac_file
+     rm -f "$ac_file"
+   fi
+-  # Let's still pretend it is `configure' which instantiates (i.e., don't
+-  # use $as_me), people would be surprised to read:
+-  #    /* config.h.  Generated automatically by config.status.  */
+   configure_input="Generated automatically from `echo $ac_file_in |
+                                                  sed 's,.*/,,'` by configure."
+ 
++  # Don't redirect the output to AC_FILE directly: use `mv' so that
++  # updating is atomic, and doesn't need trapping.
++
+   # First look for the input files in the build tree, otherwise in the
+   # src tree.
+   ac_file_inputs=`IFS=:
+@@ -22532,25 +23374,21 @@
+       -) echo $tmp/stdin ;;
+       [\\/$]* | ?:[\\/]*)
+          # Absolute
+-         test -f "$f" || { { echo "$as_me:22535: error: cannot find input file: $f" >&5
+-echo "$as_me: error: cannot find input file: $f" >&2;}
+-   { (exit 1); exit 1; }; }
++         test -f "$f" || { echo "configure: error: cannot find input file \\\`$f'" >&2; exit 1; }
+          echo $f;;
+       *) # Relative
+          if test -f "$f"; then
+            # Build tree
+            echo $f
+-         elif test -f "$srcdir/$f"; then
++         elif test -f "$ac_given_srcdir/$f"; then
+            # Source tree
+-           echo $srcdir/$f
++           echo $ac_given_srcdir/$f
+          else
+            # /dev/null tree
+-           { { echo "$as_me:22548: error: cannot find input file: $f" >&5
+-echo "$as_me: error: cannot find input file: $f" >&2;}
+-   { (exit 1); exit 1; }; }
++           { echo "configure: error: cannot find input file \\\`$f'" >&2; exit 1; }
+          fi;;
+       esac
+-    done` || { (exit 1); exit 1; }
++    done` || { (exit 1); exit; }
+ EOF
+ cat >>$CONFIG_STATUS <<EOF
+   sed "$ac_vpsub
+@@ -22560,9 +23398,9 @@
+ :t
+ /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
+ s,@configure_input@,$configure_input,;t t
+-s,@srcdir@,$ac_srcdir,;t t
+-s,@top_srcdir@,$ac_top_srcdir,;t t
+-s,@INSTALL@,$ac_INSTALL,;t t
++s,@srcdir@,$srcdir,;t t
++s,@top_srcdir@,$top_srcdir,;t t
++s,@INSTALL@,$INSTALL,;t t
+ " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
+   rm -f $tmp/stdin
+   if test x"$ac_file" != x-; then
+@@ -22606,8 +23444,7 @@
+   * )   ac_file_in=$ac_file.in ;;
+   esac
+ 
+-  test x"$ac_file" != x- && { echo "$as_me:22609: creating $ac_file" >&5
+-echo "$as_me: creating $ac_file" >&6;}
++  test x"$ac_file" != x- && echo creating $ac_file
+ 
+   # First look for the input files in the build tree, otherwise in the
+   # src tree.
+@@ -22617,25 +23454,21 @@
+       -) echo $tmp/stdin ;;
+       [\\/$]* | ?:[\\/]*)
+          # Absolute
+-         test -f "$f" || { { echo "$as_me:22620: error: cannot find input file: $f" >&5
+-echo "$as_me: error: cannot find input file: $f" >&2;}
+-   { (exit 1); exit 1; }; }
++         test -f "$f" || { echo "configure: error: cannot find input file \\\`$f'" >&2; exit 1; }
+          echo $f;;
+       *) # Relative
+          if test -f "$f"; then
+            # Build tree
+            echo $f
+-         elif test -f "$srcdir/$f"; then
++         elif test -f "$ac_given_srcdir/$f"; then
+            # Source tree
+-           echo $srcdir/$f
++           echo $ac_given_srcdir/$f
+          else
+            # /dev/null tree
+-           { { echo "$as_me:22633: error: cannot find input file: $f" >&5
+-echo "$as_me: error: cannot find input file: $f" >&2;}
+-   { (exit 1); exit 1; }; }
++           { echo "configure: error: cannot find input file \\\`$f'" >&2; exit 1; }
+          fi;;
+       esac
+-    done` || { (exit 1); exit 1; }
++    done` || { (exit 1); exit; }
+   # Remove the trailing spaces.
+   sed 's/[ 	]*$//' $ac_file_inputs >$tmp/in
+ 
+@@ -22652,8 +23485,9 @@
+ # Using a here document instead of a string reduces the quoting nightmare.
+ # Putting comments in sed scripts is not portable.
+ #
+-# `end' is used to avoid that the second main sed command (meant for
+-# 0-ary CPP macros) applies to n-ary macro definitions.
++# `cleanup' is used to avoid that the second main sed command (meant for
++# 0-ary CPP macros) applies to n-ary macro definitions.  So we use
++# `t cleanup' to jump over the second main sed command when it succeeded.
+ # See the Autoconf documentation for `clear'.
+ cat >confdef2sed.sed <<\EOF
+ s/[\\&,]/\\&/g
+@@ -22661,13 +23495,13 @@
+ t clear
+ : clear
+ s,^[ 	]*#[ 	]*define[ 	][ 	]*\(\([^ 	(][^ 	(]*\)([^)]*)\)[ 	]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
+-t end
++t cleanup
+ s,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	][^ 	]*\)[ 	]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
+-: end
++: cleanup
+ EOF
+ # If some macros were called several times there might be several times
+ # the same #defines, which is useless.  Nevertheless, we may not want to
+-# sort them, since we want the *last* AC-DEFINE to be honored.
++# sort them, since we want the *last* AC_DEFINE to be honored.
+ uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
+ sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
+ rm -f confdef2sed.sed
+@@ -22735,9 +23569,6 @@
+ rm -f conftest.undefs
+ 
+ cat >>$CONFIG_STATUS <<\EOF
+-  # Let's still pretend it is `configure' which instantiates (i.e., don't
+-  # use $as_me), people would be surprised to read:
+-  #    /* config.h.  Generated automatically by config.status.  */
+   if test x"$ac_file" = x-; then
+     echo "/* Generated automatically by configure.  */" >$tmp/config.h
+   else
+@@ -22747,35 +23578,28 @@
+   rm -f $tmp/in
+   if test x"$ac_file" != x-; then
+     if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
+-      { echo "$as_me:22750: $ac_file is unchanged" >&5
+-echo "$as_me: $ac_file is unchanged" >&6;}
++      echo "$ac_file is unchanged"
+     else
+-      ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+-         X"$ac_file" : 'X\(//\)[^/]' \| \
+-         X"$ac_file" : 'X\(//\)$' \| \
+-         X"$ac_file" : 'X\(/\)' \| \
+-         .     : '\(.\)' 2>/dev/null ||
+-echo X"$ac_file" |
+-    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
+-  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
+-  	  /^X\(\/\/\)$/{ s//\1/; q; }
+-  	  /^X\(\/\).*/{ s//\1/; q; }
+-  	  s/.*/./; q'`
++      ac_dir=`expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++      X"$ac_file" : 'X\(//\)[^/]' \| \
++      X"$ac_file" : 'X\(//\)$' \| \
++      X"$ac_file" : 'X\(/\)' \| \
++      .   : '\(.\)' 2>/dev/null ||
++echo "X"$ac_file"" | sed '
++	    /^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/p; q; }
++	    /^X\(\/\/\)[^/].*/{ s//\1/p; q; }
++	    /^X\(\/\/\)$/{ s//\1/p; q; }
++	    /^X\(\/\).*/{ s//\1/p; q; }
++	    s/.*/./p; q'`
+       if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
+         { case "$ac_dir" in
+-  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
+-  *)                      as_incr_dir=.;;
++  [\\/]* | ?:[\\/]* ) ac_incr_dir=;;
++  *)                      ac_incr_dir=.;;
+ esac
+-as_dummy="$ac_dir"
+-for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
+-  case $as_mkdir_dir in
+-    # Skip DOS drivespec
+-    ?:) as_incr_dir=$as_mkdir_dir ;;
+-    *)
+-      as_incr_dir=$as_incr_dir/$as_mkdir_dir
+-      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
+-    ;;
+-  esac
++ac_dummy=""$ac_dir""
++for ac_mkdir_dir in `IFS=/; set X $ac_dummy; shift; echo "$@"`; do
++  ac_incr_dir=$ac_incr_dir/$ac_mkdir_dir
++  test -d $ac_incr_dir || mkdir $ac_incr_dir
+ done; }
+ 
+       fi
+@@ -22798,7 +23622,7 @@
+   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
+ 
+   case $ac_dest in
+-    default-1 ) test -z "$CONFIG_HEADERS" || echo timestamp > include/stamp-h ;;
++    default-1 ) test -z "$CONFIG_HEADERS" || echo timestamp >	   include/stamp-h ;;
+     default-2 )
+ test x"$AMDEP" != x"" ||
+ for mf in $CONFIG_FILES; do
+@@ -22847,9 +23671,10 @@
+ exit 0
+ EOF
+ chmod +x $CONFIG_STATUS
+-ac_clean_files=$ac_clean_files_save
++rm -fr confdefs* $ac_clean_files
++trap 'exit 1' 1 2 15
+ 
+-test "$no_create" = yes || $SHELL $CONFIG_STATUS || { (exit 1); exit 1; }
++test "$no_create" = yes || $SHELL $CONFIG_STATUS || exit 1
+ 
+ HEIMDALVERSION="$PACKAGE-$VERSION"
+ 
+diff -ruN heimdal-0.3e-old/doc/Makefile.in heimdal-0.3e/doc/Makefile.in
+--- heimdal-0.3e-old/doc/Makefile.in	Mon Feb  5 18:59:34 2001
++++ heimdal-0.3e/doc/Makefile.in	Sat Jun 16 15:14:51 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -92,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -132,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -175,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+diff -ruN heimdal-0.3e-old/include/Makefile.in heimdal-0.3e/include/Makefile.in
+--- heimdal-0.3e-old/include/Makefile.in	Mon Feb  5 18:58:15 2001
++++ heimdal-0.3e/include/Makefile.in	Sat Jun 16 15:14:45 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -92,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -132,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -175,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ CHECK_LOCAL = 
+ 
+@@ -401,10 +412,11 @@
+ 	@set fnord $(MAKEFLAGS); amf=$$2; \
+ 	dot_seen=no; \
+ 	rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
+-	  rev="$$subdir $$rev"; \
+-	  if test "$$subdir" = "."; then dot_seen=yes; else :; fi; \
++	  if test "$$subdir" = "."; then :; else \
++	    rev="$$subdir $$rev"; \
++	  fi; \
+ 	done; \
+-	test "$$dot_seen" = "no" && rev=". $$rev"; \
++	rev="$$rev ."; \
+ 	target=`echo $@ | sed s/-recursive//`; \
+ 	for subdir in $$rev; do \
+ 	  echo "Making $$target in $$subdir"; \
+diff -ruN heimdal-0.3e-old/include/config.h.in heimdal-0.3e/include/config.h.in
+--- heimdal-0.3e-old/include/config.h.in	Mon Feb  5 19:10:23 2001
++++ heimdal-0.3e/include/config.h.in	Sat Jun 16 15:14:44 2001
+@@ -30,6 +30,9 @@
+ /* Define if realloc(NULL) doesn't work. */
+ #undef BROKEN_REALLOC
+ 
++/* Define if you have the com_err package. */
++#undef COM_ERR
++
+ /* Define if you want support for DCE/DFS PAG's. */
+ #undef DCE
+ 
+@@ -100,6 +103,9 @@
+ /* Define if you have the `chown' function. */
+ #undef HAVE_CHOWN
+ 
++/* Define if you have a com_err compatible library. */
++#undef HAVE_COM_ERR
++
+ /* Define if you have the <config.h> header file. */
+ #undef HAVE_CONFIG_H
+ 
+@@ -374,9 +380,6 @@
+ /* Define if you have the `memmove' function. */
+ #undef HAVE_MEMMOVE
+ 
+-/* Define if you have the <memory.h> header file. */
+-#undef HAVE_MEMORY_H
+-
+ /* Define if you have the `mkstemp' function. */
+ #undef HAVE_MKSTEMP
+ 
+@@ -425,6 +428,9 @@
+ /* Define if you have the <net/if.h> header file. */
+ #undef HAVE_NET_IF_H
+ 
++/* Define if you have the <openssl/crypto.h> header file. */
++#undef HAVE_OPENSSL_CRYPTO_H
++
+ /* Define if you have the <openssl/des.h> header file. */
+ #undef HAVE_OPENSSL_DES_H
+ 
+@@ -605,12 +611,12 @@
+ /* Define if the system has the type `socklen_t'. */
+ #undef HAVE_SOCKLEN_T
+ 
++/* Define if you have a ss compatible library. */
++#undef HAVE_SS
++
+ /* Define if you have the <standards.h> header file. */
+ #undef HAVE_STANDARDS_H
+ 
+-/* Define if you have the <stdlib.h> header file. */
+-#undef HAVE_STDLIB_H
+-
+ /* Define if you have the `strcasecmp' function. */
+ #undef HAVE_STRCASECMP
+ 
+@@ -623,12 +629,6 @@
+ /* Define if you have the `strftime' function. */
+ #undef HAVE_STRFTIME
+ 
+-/* Define if you have the <strings.h> header file. */
+-#undef HAVE_STRINGS_H
+-
+-/* Define if you have the <string.h> header file. */
+-#undef HAVE_STRING_H
+-
+ /* Define if you have the `strlcat' function. */
+ #undef HAVE_STRLCAT
+ 
+@@ -1100,6 +1100,9 @@
+ 
+ /* Define as the return type of signal handlers (`int' or `void'). */
+ #undef RETSIGTYPE
++
++/* Define if you have the ss package. */
++#undef SS
+ 
+ /* Define if you have the ANSI C header files. */
+ #undef STDC_HEADERS
+diff -ruN heimdal-0.3e-old/include/kadm5/Makefile.in heimdal-0.3e/include/kadm5/Makefile.in
+--- heimdal-0.3e-old/include/kadm5/Makefile.in	Mon Feb  5 18:58:16 2001
++++ heimdal-0.3e/include/kadm5/Makefile.in	Sat Jun 16 15:14:45 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -92,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -132,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -175,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+diff -ruN heimdal-0.3e-old/kadmin/Makefile.in heimdal-0.3e/kadmin/Makefile.in
+--- heimdal-0.3e-old/kadmin/Makefile.in	Mon Feb  5 18:58:52 2001
++++ heimdal-0.3e/kadmin/Makefile.in	Sat Jun 16 15:14:48 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -92,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -126,13 +131,13 @@
+ 
+ SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+ 
+-INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) $(INCLUDE_readline) $(INCLUDE_krb4) -I$(srcdir)/../lib/krb5
++INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) $(INCLUDE_readline) $(INCLUDE_krb4) $(INCLUDE_ss) -I$(srcdir)/../lib/krb5
+ 
+ AM_CFLAGS =  $(WFLAGS)
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -175,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+@@ -247,7 +258,7 @@
+ kadmin_LDADD = \
+ 	$(top_builddir)/lib/kadm5/libkadm5clnt.la \
+ 	$(top_builddir)/lib/kadm5/libkadm5srv.la \
+-	$(top_builddir)/lib/sl/libsl.la \
++	$(LIB_ss) \
+ 	$(LIB_readline) \
+ 	$(COMMON_LDADD) \
+ 	$(LIB_dlopen)
+@@ -291,8 +302,8 @@
+ kadmin_OBJECTS =  $(am_kadmin_OBJECTS)
+ kadmin_DEPENDENCIES =  $(top_builddir)/lib/kadm5/libkadm5clnt.la \
+ $(top_builddir)/lib/kadm5/libkadm5srv.la \
+-$(top_builddir)/lib/sl/libsl.la $(top_builddir)/lib/hdb/libhdb.la \
+-$(top_builddir)/lib/krb5/libkrb5.la $(top_builddir)/lib/asn1/libasn1.la
++$(top_builddir)/lib/hdb/libhdb.la $(top_builddir)/lib/krb5/libkrb5.la \
++$(top_builddir)/lib/asn1/libasn1.la
+ kadmin_LDFLAGS = 
+ @KRB4_FALSE@am_kadmind_OBJECTS =  kadmind.$(OBJEXT) server.$(OBJEXT) \
+ @KRB4_FALSE@kadm_conn.$(OBJEXT)
+diff -ruN heimdal-0.3e-old/kdc/Makefile.in heimdal-0.3e/kdc/Makefile.in
+--- heimdal-0.3e-old/kdc/Makefile.in	Mon Feb  5 18:58:56 2001
++++ heimdal-0.3e/kdc/Makefile.in	Sat Jun 16 15:14:48 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -92,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -132,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -175,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+diff -ruN heimdal-0.3e-old/kpasswd/Makefile.in heimdal-0.3e/kpasswd/Makefile.in
+--- heimdal-0.3e-old/kpasswd/Makefile.in	Mon Feb  5 18:58:50 2001
++++ heimdal-0.3e/kpasswd/Makefile.in	Sat Jun 16 15:14:48 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -92,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -132,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -175,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+diff -ruN heimdal-0.3e-old/kuser/Makefile.in heimdal-0.3e/kuser/Makefile.in
+--- heimdal-0.3e-old/kuser/Makefile.in	Mon Feb  5 18:58:48 2001
++++ heimdal-0.3e/kuser/Makefile.in	Sat Jun 16 15:14:48 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -92,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -132,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -175,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(bin_PROGRAMS)
+diff -ruN heimdal-0.3e-old/lib/45/Makefile.in heimdal-0.3e/lib/45/Makefile.in
+--- heimdal-0.3e-old/lib/45/Makefile.in	Mon Feb  5 18:58:17 2001
++++ heimdal-0.3e/lib/45/Makefile.in	Sat Jun 16 15:14:45 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -92,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -132,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -175,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+diff -ruN heimdal-0.3e-old/lib/Makefile.in heimdal-0.3e/lib/Makefile.in
+--- heimdal-0.3e-old/lib/Makefile.in	Mon Feb  5 18:58:17 2001
++++ heimdal-0.3e/lib/Makefile.in	Sat Jun 16 15:14:45 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -92,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -132,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -175,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+@@ -191,7 +202,7 @@
+ @OTP_TRUE@dir_otp = @OTP_TRUE@otp
+ @DCE_TRUE@dir_dce = @DCE_TRUE@kdfs
+ 
+-SUBDIRS = @DIR_roken@ vers editline com_err sl asn1 @DIR_des@ krb5 \
++SUBDIRS = @DIR_roken@ vers @DIR_readline@ @DIR_com_err@ @DIR_ss@ asn1 @DIR_des@ krb5 \
+ 	kafs hdb kadm5 gssapi auth $(dir_45) $(dir_otp) $(dir_dce)
+ 
+ subdir = lib
+@@ -211,8 +222,8 @@
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+ GZIP_ENV = --best
+-DIST_SUBDIRS =  @DIR_roken@ vers editline com_err sl asn1 @DIR_des@ krb5 \
+-kafs hdb kadm5 gssapi auth 45 otp kdfs
++DIST_SUBDIRS =  @DIR_roken@ vers @DIR_readline@ @DIR_com_err@ @DIR_ss@ \
++asn1 @DIR_des@ krb5 kafs hdb kadm5 gssapi auth 45 otp kdfs
+ all: all-redirect
+ .SUFFIXES:
+ .SUFFIXES: .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .et .h .x
+@@ -257,10 +268,11 @@
+ 	@set fnord $(MAKEFLAGS); amf=$$2; \
+ 	dot_seen=no; \
+ 	rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
+-	  rev="$$subdir $$rev"; \
+-	  if test "$$subdir" = "."; then dot_seen=yes; else :; fi; \
++	  if test "$$subdir" = "."; then :; else \
++	    rev="$$subdir $$rev"; \
++	  fi; \
+ 	done; \
+-	test "$$dot_seen" = "no" && rev=". $$rev"; \
++	rev="$$rev ."; \
+ 	target=`echo $@ | sed s/-recursive//`; \
+ 	for subdir in $$rev; do \
+ 	  echo "Making $$target in $$subdir"; \
+diff -ruN heimdal-0.3e-old/lib/asn1/Makefile.in heimdal-0.3e/lib/asn1/Makefile.in
+--- heimdal-0.3e-old/lib/asn1/Makefile.in	Mon Feb  5 18:58:23 2001
++++ heimdal-0.3e/lib/asn1/Makefile.in	Sat Jun 16 15:14:46 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -92,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -126,13 +131,13 @@
+ 
+ SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+ 
+-INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken)
++INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) $(INCLUDE_com_err)
+ 
+ AM_CFLAGS =  $(WFLAGS)
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -175,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+@@ -190,7 +201,10 @@
+ YFLAGS = -d
+ 
+ lib_LTLIBRARIES = libasn1.la
+-libasn1_la_LDFLAGS = -version-info 4:0:2
++libasn1_la_LDFLAGS = -version-info 4:0:2 -no-undefined
++libasn1_la_LIBADD = \
++	$(top_builddir)/lib/com_err/libcom_err.la
++
+ 
+ BUILT_SOURCES = \
+ 	$(gen_files:.x=.c)	\
+@@ -271,12 +285,12 @@
+ 
+ 
+ asn1_compile_LDADD = \
+-	$(LIB_roken) $(LEXLIB)
++        $(LIB_roken) $(LEXLIB)
+ 
+ 
+ check_der_LDADD = \
+ 	libasn1.la \
+-	../com_err/libcom_err.la \
++	$(LIB_com_err) \
+ 	$(LIB_roken)
+ 
+ 
+@@ -303,7 +317,7 @@
+ X_LIBS = @X_LIBS@
+ X_EXTRA_LIBS = @X_EXTRA_LIBS@
+ X_PRE_LIBS = @X_PRE_LIBS@
+-libasn1_la_LIBADD = 
++libasn1_la_DEPENDENCIES =  $(top_builddir)/lib/com_err/libcom_err.la
+ am_libasn1_la_OBJECTS =  der_get.lo der_put.lo der_free.lo der_length.lo \
+ der_copy.lo timegm.lo asn1_APOptions.lo asn1_AP_REP.lo asn1_AP_REQ.lo \
+ asn1_AS_REP.lo asn1_AS_REQ.lo asn1_Authenticator.lo \
+@@ -335,11 +349,11 @@
+ asn1_compile_LDFLAGS = 
+ asn1_print_SOURCES = asn1_print.c
+ asn1_print_OBJECTS =  asn1_print.$(OBJEXT)
+-asn1_print_DEPENDENCIES =  libasn1.la ../com_err/libcom_err.la
++asn1_print_DEPENDENCIES =  libasn1.la
+ asn1_print_LDFLAGS = 
+ check_der_SOURCES = check-der.c
+ check_der_OBJECTS =  check-der.$(OBJEXT)
+-check_der_DEPENDENCIES =  libasn1.la ../com_err/libcom_err.la
++check_der_DEPENDENCIES =  libasn1.la
+ check_der_LDFLAGS = 
+ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+diff -ruN heimdal-0.3e-old/lib/auth/Makefile.in heimdal-0.3e/lib/auth/Makefile.in
+--- heimdal-0.3e-old/lib/auth/Makefile.in	Mon Feb  5 18:58:18 2001
++++ heimdal-0.3e/lib/auth/Makefile.in	Sat Jun 16 15:14:45 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -92,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -132,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -175,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+@@ -250,10 +261,11 @@
+ 	@set fnord $(MAKEFLAGS); amf=$$2; \
+ 	dot_seen=no; \
+ 	rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
+-	  rev="$$subdir $$rev"; \
+-	  if test "$$subdir" = "."; then dot_seen=yes; else :; fi; \
++	  if test "$$subdir" = "."; then :; else \
++	    rev="$$subdir $$rev"; \
++	  fi; \
+ 	done; \
+-	test "$$dot_seen" = "no" && rev=". $$rev"; \
++	rev="$$rev ."; \
+ 	target=`echo $@ | sed s/-recursive//`; \
+ 	for subdir in $$rev; do \
+ 	  echo "Making $$target in $$subdir"; \
+diff -ruN heimdal-0.3e-old/lib/auth/afskauthlib/Makefile.in heimdal-0.3e/lib/auth/afskauthlib/Makefile.in
+--- heimdal-0.3e-old/lib/auth/afskauthlib/Makefile.in	Mon Feb  5 18:58:19 2001
++++ heimdal-0.3e/lib/auth/afskauthlib/Makefile.in	Sat Jun 16 15:14:45 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -92,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -132,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -175,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+diff -ruN heimdal-0.3e-old/lib/auth/pam/Makefile.in heimdal-0.3e/lib/auth/pam/Makefile.in
+--- heimdal-0.3e-old/lib/auth/pam/Makefile.in	Mon Feb  5 18:58:20 2001
++++ heimdal-0.3e/lib/auth/pam/Makefile.in	Sat Jun 16 15:14:45 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -92,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -132,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -175,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+diff -ruN heimdal-0.3e-old/lib/auth/sia/Makefile.in heimdal-0.3e/lib/auth/sia/Makefile.in
+--- heimdal-0.3e-old/lib/auth/sia/Makefile.in	Mon Feb  5 18:58:21 2001
++++ heimdal-0.3e/lib/auth/sia/Makefile.in	Sat Jun 16 15:14:46 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -92,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -131,7 +136,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -174,14 +179,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+@@ -199,10 +210,7 @@
+ @KRB5_TRUE@	$(top_builddir)/lib/asn1/.libs/libasn1.a	\
+ @KRB5_TRUE@	$(LIB_krb4)					\
+ @KRB5_TRUE@	$(top_builddir)/lib/des/.libs/libdes.a		\
+-@KRB5_TRUE@	$(top_builddir)/lib/com_err/.libs/libcom_err.a	\
+-@KRB5_TRUE@	$(top_builddir)/lib/roken/.libs/libroken.a	\
+-@KRB5_TRUE@	$(LIB_getpwnam_r)				\
+-@KRB5_TRUE@	-lc
++@KRB5_TRUE@	@LIB_sl@
+ @KRB5_FALSE@L = @KRB5_FALSE@\
+ @KRB5_FALSE@	$(KAFS)						\
+ @KRB5_FALSE@	$(top_builddir)/lib/kadm/.libs/libkadm.a	\
+@@ -219,10 +227,7 @@
+ @KRB5_TRUE@	$(top_builddir)/lib/asn1/.libs/libasn1.so	\
+ @KRB5_TRUE@	$(LIB_krb4)					\
+ @KRB5_TRUE@	$(top_builddir)/lib/des/.libs/libdes.so		\
+-@KRB5_TRUE@	$(top_builddir)/lib/com_err/.libs/libcom_err.so	\
+-@KRB5_TRUE@	$(top_builddir)/lib/roken/.libs/libroken.so	\
+-@KRB5_TRUE@	$(LIB_getpwnam_r)				\
+-@KRB5_TRUE@	-lc
++@KRB5_TRUE@	@LIB_sl@
+ @KRB5_FALSE@L_shared = @KRB5_FALSE@\
+ @KRB5_FALSE@	$(KAFS_S)					\
+ @KRB5_FALSE@	$(top_builddir)/lib/kadm/.libs/libkadm.so	\
+@@ -243,7 +248,7 @@
+ foodir = $(libdir)
+ foo_DATA = $(MOD)
+ 
+-LDFLAGS = -rpath $(libdir) -hidden -exported_symbol siad_\* 
++LDFLAGS = -rpath $(libdir) -hidden -exported_symbol siad_\*  -no-undefined
+ 
+ OBJS = sia.o posix_getpw.o
+ 
+@@ -510,6 +515,12 @@
+ 	  echo "$$dashes"; \
+ 	  test "$$failed" -eq 0; \
+ 	fi
++@KRB5_TRUE@	$(top_builddir)/lib/roken/.libs/libroken.a	\
++@KRB5_TRUE@	$(LIB_getpwnam_r)				\
++@KRB5_TRUE@	-lc
++@KRB5_TRUE@	$(top_builddir)/lib/roken/.libs/libroken.so	\
++@KRB5_TRUE@	$(LIB_getpwnam_r)				\
++@KRB5_TRUE@	-lc
+ 
+ libsia_krb5.so: $(OBJS)
+ 	@if test -f $(top_builddir)/lib/krb5/.libs/libkrb5.a; then \
+diff -ruN heimdal-0.3e-old/lib/com_err/Makefile.in heimdal-0.3e/lib/com_err/Makefile.in
+--- heimdal-0.3e-old/lib/com_err/Makefile.in	Mon Feb  5 18:58:24 2001
++++ heimdal-0.3e/lib/com_err/Makefile.in	Sat Jun 16 15:14:46 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -92,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -132,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -175,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+@@ -190,7 +201,7 @@
+ YFLAGS = -d
+ 
+ lib_LTLIBRARIES = libcom_err.la
+-libcom_err_la_LDFLAGS = -version-info 1:1:0
++libcom_err_la_LDFLAGS = -version-info 1:1:0 -no-undefined
+ 
+ bin_PROGRAMS = compile_et
+ 
+@@ -434,6 +445,8 @@
+ check: check-am
+ installcheck-am:
+ installcheck: installcheck-am
++install-binPROGRAMS: install-libLTLIBRARIES
++
+ install-exec-am: install-libLTLIBRARIES install-binPROGRAMS
+ 	@$(NORMAL_INSTALL)
+ 	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+diff -ruN heimdal-0.3e-old/lib/des/Makefile.in heimdal-0.3e/lib/des/Makefile.in
+--- heimdal-0.3e-old/lib/des/Makefile.in	Mon Feb  5 18:58:26 2001
++++ heimdal-0.3e/lib/des/Makefile.in	Sat Jun 16 15:14:46 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -92,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -132,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -175,19 +180,25 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ CHECK_LOCAL = 
+ 
+ lib_LTLIBRARIES = libdes.la
+-libdes_la_LDFLAGS = -version-info 3:0:0
++libdes_la_LDFLAGS = -version-info 3:0:0 -no-undefined
+ 
+ include_HEADERS = des.h md4.h md5.h sha.h rc4.h
+ 
+@@ -606,6 +617,8 @@
+ check: check-am
+ installcheck-am:
+ installcheck: installcheck-am
++install-binPROGRAMS: install-libLTLIBRARIES
++
+ install-exec-am: install-libLTLIBRARIES install-binPROGRAMS
+ 	@$(NORMAL_INSTALL)
+ 	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+diff -ruN heimdal-0.3e-old/lib/editline/Makefile.in heimdal-0.3e/lib/editline/Makefile.in
+--- heimdal-0.3e-old/lib/editline/Makefile.in	Mon Feb  5 18:58:27 2001
++++ heimdal-0.3e/lib/editline/Makefile.in	Sat Jun 16 15:14:46 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -92,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -132,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -175,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = 
+@@ -216,13 +227,13 @@
+ 	$(EXTRA_SOURCE)
+ 
+ 
+-libeditline_la_LDFLAGS = -static
++libeditline_la_LDFLAGS = -no-undefined
+ 
+ EXTRA_SOURCE = $(ES) 
+ 
+ libel_compat_la_SOURCES = edit_compat.c
+ 
+-libel_compat_la_LDFLAGS = -static
++libel_compat_la_LDFLAGS = -no-undefined
+ 
+ EXTRA_DIST = $(man_MANS)
+ subdir = lib/editline
+diff -ruN heimdal-0.3e-old/lib/gssapi/Makefile.in heimdal-0.3e/lib/gssapi/Makefile.in
+--- heimdal-0.3e-old/lib/gssapi/Makefile.in	Mon Feb  5 18:58:28 2001
++++ heimdal-0.3e/lib/gssapi/Makefile.in	Sat Jun 16 15:14:46 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -92,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -132,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -175,20 +180,31 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+ lib_LTLIBRARIES = libgssapi.la
+-libgssapi_la_LDFLAGS = -version-info 3:0:2
++libgssapi_la_LDFLAGS = -version-info 3:0:2 -no-undefined
++libgssapi_la_LIBADD = \
++	$(LIB_krb5) \
++	$(LIB_des) \
++	$(top_builddir)/lib/asn1/libasn1.la 
++
+ 
+ include_HEADERS = gssapi.h
+ 
+@@ -246,7 +262,11 @@
+ X_LIBS = @X_LIBS@
+ X_EXTRA_LIBS = @X_EXTRA_LIBS@
+ X_PRE_LIBS = @X_PRE_LIBS@
+-libgssapi_la_LIBADD = 
++@KRB5_FALSE@libgssapi_la_DEPENDENCIES =  \
++@KRB5_FALSE@$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@libgssapi_la_DEPENDENCIES =  \
++@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
++@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
+ am_libgssapi_la_OBJECTS =  8003.lo accept_sec_context.lo acquire_cred.lo \
+ add_oid_set_member.lo canonicalize_name.lo compare_name.lo \
+ context_time.lo copy_ccache.lo create_emtpy_oid_set.lo decapsulate.lo \
+diff -ruN heimdal-0.3e-old/lib/hdb/Makefile.in heimdal-0.3e/lib/hdb/Makefile.in
+--- heimdal-0.3e-old/lib/hdb/Makefile.in	Mon Feb  5 18:58:30 2001
++++ heimdal-0.3e/lib/hdb/Makefile.in	Sat Jun 16 15:14:46 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -92,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -132,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -175,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+@@ -196,18 +207,19 @@
+ CLEANFILES = $(BUILT_SOURCES) $(foo) hdb_asn1.h asn1_files
+ 
+ noinst_PROGRAMS = convert_db
+-LDADD = libhdb.la \
++LDADD = libhdb.la
++
++lib_LTLIBRARIES = libhdb.la
++libhdb_la_LDFLAGS = -version-info 7:0:0 -no-undefined
++libhdb_la_LIBADD = \
+ 	$(LIB_openldap) \
+ 	../krb5/libkrb5.la \
+ 	../asn1/libasn1.la \
+-	$(LIB_des) \
+ 	$(LIB_roken) \
++	$(top_builddir)/lib/com_err/libcom_err.la \
+ 	$(DBLIB)
+ 
+ 
+-lib_LTLIBRARIES = libhdb.la
+-libhdb_la_LDFLAGS = -version-info 7:0:0
+-
+ libhdb_la_SOURCES = \
+ 	common.c				\
+ 	db.c					\
+@@ -222,8 +234,6 @@
+ 
+ 
+ include_HEADERS = hdb.h hdb_err.h hdb_asn1.h hdb-protos.h hdb-private.h
+-
+-libhdb_la_LIBADD = $(LIB_openldap)
+ subdir = lib/hdb
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+ CONFIG_HEADER = ../../include/config.h
+@@ -238,7 +248,8 @@
+ X_LIBS = @X_LIBS@
+ X_EXTRA_LIBS = @X_EXTRA_LIBS@
+ X_PRE_LIBS = @X_PRE_LIBS@
+-libhdb_la_DEPENDENCIES = 
++libhdb_la_DEPENDENCIES =  ../krb5/libkrb5.la ../asn1/libasn1.la \
++$(top_builddir)/lib/com_err/libcom_err.la
+ am_libhdb_la_OBJECTS =  common.lo db.lo db3.lo hdb-ldap.lo hdb.lo \
+ keytab.lo mkey.lo ndbm.lo print.lo asn1_Key.lo asn1_Event.lo \
+ asn1_HDBFlags.lo asn1_hdb_entry.lo asn1_Salt.lo hdb_err.lo
+@@ -249,8 +260,7 @@
+ convert_db_SOURCES = convert_db.c
+ convert_db_OBJECTS =  convert_db.$(OBJEXT)
+ convert_db_LDADD = $(LDADD)
+-convert_db_DEPENDENCIES =  libhdb.la ../krb5/libkrb5.la \
+-../asn1/libasn1.la
++convert_db_DEPENDENCIES =  libhdb.la
+ convert_db_LDFLAGS = 
+ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+diff -ruN heimdal-0.3e-old/lib/kadm5/Makefile.in heimdal-0.3e/lib/kadm5/Makefile.in
+--- heimdal-0.3e-old/lib/kadm5/Makefile.in	Mon Feb  5 18:58:32 2001
++++ heimdal-0.3e/lib/kadm5/Makefile.in	Sat Jun 16 15:14:47 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -92,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -132,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -175,21 +180,42 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+ lib_LTLIBRARIES = libkadm5srv.la libkadm5clnt.la
+-libkadm5srv_la_LDFLAGS = -version-info 7:3:0
++libkadm5srv_la_LDFLAGS = -version-info 7:3:0 -no-undefined
++libkadm5srv_la_LIBADD = \
++	$(LIB_roken) \
++	$(LIB_krb5) \
++	$(top_builddir)/lib/com_err/libcom_err.la \
++	$(top_builddir)/lib/asn1/libasn1.la \
++	$(top_builddir)/lib/hdb/libhdb.la \
++	$(LIB_dlopen)
++
++
+ libkadm5clnt_la_LDFLAGS = -version-info 6:1:2
++libkadm5clnt_la_LIBADD = \
++	$(LIB_roken) \
++	$(LIB_krb5) \
++	$(top_builddir)/lib/com_err/libcom_err.la
++
++
+ sbin_PROGRAMS = dump_log replay_log truncate_log
+ 
+ libexec_PROGRAMS = ipropd-master ipropd-slave
+@@ -296,13 +322,25 @@
+ X_LIBS = @X_LIBS@
+ X_EXTRA_LIBS = @X_EXTRA_LIBS@
+ X_PRE_LIBS = @X_PRE_LIBS@
+-libkadm5clnt_la_LIBADD = 
++@KRB5_FALSE@libkadm5clnt_la_DEPENDENCIES =  \
++@KRB5_FALSE@$(top_builddir)/lib/com_err/libcom_err.la
++@KRB5_TRUE@libkadm5clnt_la_DEPENDENCIES =  \
++@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
++@KRB5_TRUE@$(top_builddir)/lib/com_err/libcom_err.la
+ am_libkadm5clnt_la_OBJECTS =  chpass_c.lo common_glue.lo create_c.lo \
+ delete_c.lo destroy_c.lo flush_c.lo free.lo get_c.lo get_princs_c.lo \
+ init_c.lo kadm5_err.lo marshall.lo modify_c.lo privs_c.lo randkey_c.lo \
+ rename_c.lo send_recv.lo client_glue.lo
+ libkadm5clnt_la_OBJECTS =  $(am_libkadm5clnt_la_OBJECTS)
+-libkadm5srv_la_LIBADD = 
++@KRB5_FALSE@libkadm5srv_la_DEPENDENCIES =  \
++@KRB5_FALSE@$(top_builddir)/lib/com_err/libcom_err.la \
++@KRB5_FALSE@$(top_builddir)/lib/asn1/libasn1.la \
++@KRB5_FALSE@$(top_builddir)/lib/hdb/libhdb.la
++@KRB5_TRUE@libkadm5srv_la_DEPENDENCIES =  \
++@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
++@KRB5_TRUE@$(top_builddir)/lib/com_err/libcom_err.la \
++@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la \
++@KRB5_TRUE@$(top_builddir)/lib/hdb/libhdb.la
+ am_libkadm5srv_la_OBJECTS =  acl.lo bump_pw_expire.lo chpass_s.lo \
+ common_glue.lo context_s.lo create_s.lo delete_s.lo destroy_s.lo \
+ ent_setup.lo error.lo flush_s.lo free.lo get_princs_s.lo get_s.lo \
+diff -ruN heimdal-0.3e-old/lib/kafs/Makefile.in heimdal-0.3e/lib/kafs/Makefile.in
+--- heimdal-0.3e-old/lib/kafs/Makefile.in	Mon Feb  5 18:58:34 2001
++++ heimdal-0.3e/lib/kafs/Makefile.in	Sat Jun 16 15:14:47 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -92,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -132,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -175,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+@@ -204,7 +215,7 @@
+ @KRB4_TRUE@@AIX_TRUE@@AIX_DYNAMIC_AFS_FALSE@AFS_EXTRA_DEFS = @KRB4_TRUE@@AIX_TRUE@@AIX_DYNAMIC_AFS_FALSE@-DSTATIC_AFS
+ 
+ lib_LTLIBRARIES = $(AFSLIBS)
+-libkafs_la_LDFLAGS = -version-info 2:3:2
++libkafs_la_LDFLAGS = -version-info 2:3:2 -no-undefined
+ foodir = $(libdir)
+ foo_DATA = $(AFS_EXTRA_LIBS)
+ # EXTRA_DATA = afslib.so
+diff -ruN heimdal-0.3e-old/lib/kdfs/Makefile.in heimdal-0.3e/lib/kdfs/Makefile.in
+--- heimdal-0.3e-old/lib/kdfs/Makefile.in	Mon Feb  5 18:58:36 2001
++++ heimdal-0.3e/lib/kdfs/Makefile.in	Sat Jun 16 15:14:47 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -92,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -132,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -175,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+@@ -193,7 +204,7 @@
+ 	k5dfspag.c
+ 
+ 
+-libkdfs_la_LDFLAGS = -version-info 0:1:0
++libkdfs_la_LDFLAGS = -version-info 0:1:0 -no-undefined
+ subdir = lib/kdfs
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+ CONFIG_HEADER = ../../include/config.h
+diff -ruN heimdal-0.3e-old/lib/krb5/Makefile.in heimdal-0.3e/lib/krb5/Makefile.in
+--- heimdal-0.3e-old/lib/krb5/Makefile.in	Mon Feb  5 18:58:38 2001
++++ heimdal-0.3e/lib/krb5/Makefile.in	Sat Jun 16 15:14:47 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -92,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -132,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -175,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+@@ -194,17 +205,15 @@
+ check_PROGRAMS = n-fold-test string-to-key-test
+ TESTS = n-fold-test string-to-key-test
+ 
+-LDADD = libkrb5.la \
+-	$(LIB_des) \
+-	$(top_builddir)/lib/asn1/libasn1.la \
+-	$(LIB_roken)
+-
++LDADD = libkrb5.la
+ 
+ libkrb5_la_LIBADD = \
+-	../com_err/error.lo ../com_err/com_err.lo \
++	$(LIB_res_search) \
++	$(top_builddir)/lib/com_err/libcom_err.la \
+ 	$(LIB_des) \
+ 	$(top_builddir)/lib/asn1/libasn1.la \
+-	$(LIB_roken)
++	$(LIB_roken) \
++	$(LIB_dbopen)
+ 
+ 
+ lib_LTLIBRARIES = libkrb5.la
+@@ -307,7 +316,7 @@
+ 	$(ERR_FILES)
+ 
+ 
+-libkrb5_la_LDFLAGS = -version-info 15:0:0
++libkrb5_la_LDFLAGS = -version-info 15:0:0 -no-undefined
+ 
+ #libkrb5_la_LIBADD = ../com_err/error.lo ../com_err/com_err.lo
+ 
+@@ -347,7 +356,7 @@
+ X_LIBS = @X_LIBS@
+ X_EXTRA_LIBS = @X_EXTRA_LIBS@
+ X_PRE_LIBS = @X_PRE_LIBS@
+-libkrb5_la_DEPENDENCIES =  ../com_err/error.lo ../com_err/com_err.lo \
++libkrb5_la_DEPENDENCIES =  $(top_builddir)/lib/com_err/libcom_err.la \
+ $(top_builddir)/lib/asn1/libasn1.la
+ am_libkrb5_la_OBJECTS =  acl.lo add_et_list.lo addr_families.lo \
+ address.lo aname_to_localname.lo appdefault.lo asn1_glue.lo \
+@@ -378,32 +387,27 @@
+ dump_config_SOURCES = dump_config.c
+ dump_config_OBJECTS =  dump_config.$(OBJEXT)
+ dump_config_LDADD = $(LDADD)
+-dump_config_DEPENDENCIES =  libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
++dump_config_DEPENDENCIES =  libkrb5.la
+ dump_config_LDFLAGS = 
+ n_fold_test_SOURCES = n-fold-test.c
+ n_fold_test_OBJECTS =  n-fold-test.$(OBJEXT)
+ n_fold_test_LDADD = $(LDADD)
+-n_fold_test_DEPENDENCIES =  libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
++n_fold_test_DEPENDENCIES =  libkrb5.la
+ n_fold_test_LDFLAGS = 
+ string_to_key_test_SOURCES = string-to-key-test.c
+ string_to_key_test_OBJECTS =  string-to-key-test.$(OBJEXT)
+ string_to_key_test_LDADD = $(LDADD)
+-string_to_key_test_DEPENDENCIES =  libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
++string_to_key_test_DEPENDENCIES =  libkrb5.la
+ string_to_key_test_LDFLAGS = 
+ test_get_addrs_SOURCES = test_get_addrs.c
+ test_get_addrs_OBJECTS =  test_get_addrs.$(OBJEXT)
+ test_get_addrs_LDADD = $(LDADD)
+-test_get_addrs_DEPENDENCIES =  libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
++test_get_addrs_DEPENDENCIES =  libkrb5.la
+ test_get_addrs_LDFLAGS = 
+ verify_krb5_conf_SOURCES = verify_krb5_conf.c
+ verify_krb5_conf_OBJECTS =  verify_krb5_conf.$(OBJEXT)
+ verify_krb5_conf_LDADD = $(LDADD)
+-verify_krb5_conf_DEPENDENCIES =  libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
++verify_krb5_conf_DEPENDENCIES =  libkrb5.la
+ verify_krb5_conf_LDFLAGS = 
+ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+@@ -802,6 +806,8 @@
+ check: check-am
+ installcheck-am:
+ installcheck: installcheck-am
++install-binPROGRAMS: install-libLTLIBRARIES
++
+ install-exec-am: install-libLTLIBRARIES install-binPROGRAMS
+ 	@$(NORMAL_INSTALL)
+ 	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+diff -ruN heimdal-0.3e-old/lib/otp/Makefile.in heimdal-0.3e/lib/otp/Makefile.in
+--- heimdal-0.3e-old/lib/otp/Makefile.in	Mon Feb  5 18:58:39 2001
++++ heimdal-0.3e/lib/otp/Makefile.in	Sat Jun 16 15:14:47 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -92,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -132,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -175,30 +180,37 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+ noinst_PROGRAMS = otptest
+ 
+-otptest_LDADD = libotp.la \
+-	$(LIB_des) \
+-	$(LIB_roken) \
+-	$(DBLIB)
+-
++otptest_LDADD = libotp.la
+ 
+ include_HEADERS = otp.h
+ 
+ lib_LTLIBRARIES = libotp.la
+-libotp_la_LDFLAGS = -version-info 1:2:1
++libotp_la_LDFLAGS = -version-info 1:2:1 -no-undefined
++libotp_la_LIBADD = \
++	$(LIB_roken) \
++	$(LIB_des) \
++	$(DBLIB)
++
+ 
+ libotp_la_SOURCES = \
+ 	otp.c \
+@@ -226,7 +238,7 @@
+ X_LIBS = @X_LIBS@
+ X_EXTRA_LIBS = @X_EXTRA_LIBS@
+ X_PRE_LIBS = @X_PRE_LIBS@
+-libotp_la_LIBADD = 
++libotp_la_DEPENDENCIES = 
+ am_libotp_la_OBJECTS =  otp.lo otp_challenge.lo otp_db.lo otp_md.lo \
+ otp_parse.lo otp_print.lo otp_verify.lo
+ libotp_la_OBJECTS =  $(am_libotp_la_OBJECTS)
+diff -ruN heimdal-0.3e-old/lib/roken/Makefile.in heimdal-0.3e/lib/roken/Makefile.in
+--- heimdal-0.3e-old/lib/roken/Makefile.in	Mon Feb  5 19:10:32 2001
++++ heimdal-0.3e/lib/roken/Makefile.in	Sat Jun 16 15:14:47 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -92,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -125,7 +130,13 @@
+ CLEANFILES = roken.h make-roken.c $(XHEADERS)
+ 
+ lib_LTLIBRARIES = libroken.la
+-libroken_la_LDFLAGS = -version-info 11:1:2
++libroken_la_LDFLAGS = -version-info 11:1:2 -no-undefined
++libroken_la_LIBADD = \
++	@LIB_res_search@ \
++	$(LIB_des) \
++	@LIB_dbopen@ \
++	@LTLIBOBJS@
++
+ 
+ noinst_PROGRAMS = make-roken
+ 
+@@ -266,8 +277,6 @@
+ 
+ EXTRA_DIST = roken.awk roken.h.in
+ 
+-libroken_la_LIBADD = @LTLIBOBJS@
+-
+ BUILT_SOURCES = make-roken.c roken.h
+ @have_err_h_TRUE@err_h = 
+ @have_err_h_FALSE@err_h = @have_err_h_FALSE@err.h
+@@ -358,7 +367,7 @@
+ 
+ depcomp = 
+ DIST_COMMON =  $(include_HEADERS) ChangeLog Makefile.am Makefile.in \
+-acinclude.m4 getcap.c getcwd.c getnameinfo.c glob.c install-sh \
++acinclude.m4 getcap.c getnameinfo.c glob.c install-sh \
+ make-print-version.c missing mkinstalldirs
+ 
+ 
+diff -ruN heimdal-0.3e-old/lib/sl/Makefile.in heimdal-0.3e/lib/sl/Makefile.in
+--- heimdal-0.3e-old/lib/sl/Makefile.in	Mon Feb  5 18:58:43 2001
++++ heimdal-0.3e/lib/sl/Makefile.in	Sat Jun 16 15:14:47 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -92,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -132,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -175,28 +180,32 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+ YFLAGS = -d
+ 
+-include_HEADERS = sl.h
+-
+ lib_LTLIBRARIES = libsl.la libss.la
+-libsl_la_LDFLAGS = -version-info 1:1:1
+-libss_la_LDFLAGS = -version-info 1:3:1
++libsl_la_LDFLAGS = -version-info 1:1:1 -no-undefined
++libss_la_LDFLAGS = -version-info 1:3:1 -no-undefined
+ 
+-libsl_la_LIBADD = @LIB_readline@
+-libss_la_LIBADD = @LIB_readline@
++libsl_la_LIBADD = $(LIB_roken) @LIB_readline@
++libss_la_LIBADD = $(LIB_roken) @LIB_readline@
+ 
+ RENAME_SRC = roken_rename.h strtok_r.c snprintf.c
+ 
+@@ -216,7 +225,8 @@
+ EXTRA_mk_cmds_SOURCES = snprintf.c roken_rename.h
+ 
+ ssincludedir = $(includedir)/ss
+-ssinclude_HEADERS = ss.h
++buildssinclude = $(buildinclude)/ss
++ssinclude_HEADERS = sl.h ss.h
+ 
+ CLEANFILES = lex.c parse.c parse.h snprintf.c strtok_r.c
+ 
+@@ -260,11 +270,11 @@
+ LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+ DIST_SOURCES =  $(libsl_la_SOURCES) $(EXTRA_libsl_la_SOURCES) \
+ $(libss_la_SOURCES) $(mk_cmds_SOURCES) $(EXTRA_mk_cmds_SOURCES)
+-HEADERS =  $(include_HEADERS) $(ssinclude_HEADERS)
++HEADERS =  $(ssinclude_HEADERS)
+ 
+ depcomp = 
+-DIST_COMMON =  $(include_HEADERS) $(ssinclude_HEADERS) ChangeLog \
+-Makefile.am Makefile.in lex.c parse.c parse.h
++DIST_COMMON =  $(ssinclude_HEADERS) ChangeLog Makefile.am Makefile.in \
++lex.c parse.c parse.h
+ 
+ 
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+@@ -384,24 +394,6 @@
+ parse.h: parse.c
+ 
+ 
+-install-includeHEADERS: $(include_HEADERS)
+-	@$(NORMAL_INSTALL)
+-	$(mkinstalldirs) $(DESTDIR)$(includedir)
+-	@list='$(include_HEADERS)'; for p in $$list; do \
+-	  if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
+-	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
+-	  $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f; \
+-	done
+-
+-uninstall-includeHEADERS:
+-	@$(NORMAL_UNINSTALL)
+-	@list='$(include_HEADERS)'; for p in $$list; do \
+-	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " rm -f $(DESTDIR)$(includedir)/$$f"; \
+-	  rm -f $(DESTDIR)$(includedir)/$$f; \
+-	done
+-
+ install-ssincludeHEADERS: $(ssinclude_HEADERS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(ssincludedir)
+@@ -477,20 +469,21 @@
+ check: check-am
+ installcheck-am:
+ installcheck: installcheck-am
++install-binPROGRAMS: install-libLTLIBRARIES
++
+ install-exec-am: install-libLTLIBRARIES install-binPROGRAMS
+ 	@$(NORMAL_INSTALL)
+ 	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+ install-exec: install-exec-am
+ 
+-install-data-am: install-includeHEADERS install-ssincludeHEADERS \
+-		install-data-local
++install-data-am: install-ssincludeHEADERS install-data-local
+ install-data: install-data-am
+ 
+ install-am: all-am
+ 	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+ uninstall-am: uninstall-libLTLIBRARIES uninstall-binPROGRAMS \
+-		uninstall-includeHEADERS uninstall-ssincludeHEADERS
++		uninstall-ssincludeHEADERS
+ uninstall: uninstall-am
+ all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(HEADERS) all-local
+ all-redirect: all-am
+@@ -498,7 +491,7 @@
+ 	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+ installdirs:
+ 	$(mkinstalldirs)  $(DESTDIR)$(libdir) $(DESTDIR)$(bindir) \
+-		$(DESTDIR)$(includedir) $(DESTDIR)$(ssincludedir)
++		$(DESTDIR)$(ssincludedir)
+ 
+ 
+ mostlyclean-generic:
+@@ -548,9 +541,8 @@
+ mostlyclean-libtool distclean-libtool clean-libtool \
+ maintainer-clean-libtool mostlyclean-binPROGRAMS distclean-binPROGRAMS \
+ clean-binPROGRAMS maintainer-clean-binPROGRAMS uninstall-binPROGRAMS \
+-install-binPROGRAMS uninstall-includeHEADERS install-includeHEADERS \
+-uninstall-ssincludeHEADERS install-ssincludeHEADERS tags \
+-mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
++install-binPROGRAMS uninstall-ssincludeHEADERS install-ssincludeHEADERS \
++tags mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
+ distdir info-am info dvi-am dvi check-local check check-am \
+ installcheck-am installcheck install-exec-am install-exec \
+ install-data-local install-data-am install-data install-am install \
+@@ -686,6 +678,19 @@
+ 	  echo "$$dashes"; \
+ 	  test "$$failed" -eq 0; \
+ 	fi
++
++install-build-headers:: $(ssinclude_HEADERS)
++	@foo='$(ssinclude_HEADERS)'; \
++	for f in $$foo; do \
++		f=`basename $$f`; \
++		if test -f "$(srcdir)/$$f"; then file="$(srcdir)/$$f"; \
++		else file="$$f"; fi; \
++		if cmp -s  $$file $(buildssinclude)/$$f 2> /dev/null ; then \
++		: ; else \
++			echo "cp $$file $(buildssinclude)/$$f";\
++			cp $$file $(buildssinclude)/$$f; \
++		fi ; \
++	done
+ 
+ $(mk_cmds_OBJECTS): parse.h
+ 
+diff -ruN heimdal-0.3e-old/lib/vers/Makefile.in heimdal-0.3e/lib/vers/Makefile.in
+--- heimdal-0.3e-old/lib/vers/Makefile.in	Mon Feb  5 18:58:45 2001
++++ heimdal-0.3e/lib/vers/Makefile.in	Sat Jun 16 15:14:48 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -92,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -132,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -175,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+@@ -198,6 +209,7 @@
+ @KRB4_TRUE@@KRB5_TRUE@make_print_version_LDADD = @KRB4_TRUE@@KRB5_TRUE@ $(LIB_krb4) -ldes
+ 
+ libvers_la_SOURCES = print_version.c
++libvers_la_LDFLAGS = -no-undefined
+ subdir = lib/vers
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+ CONFIG_HEADER = ../../include/config.h
+@@ -212,7 +224,6 @@
+ X_LIBS = @X_LIBS@
+ X_EXTRA_LIBS = @X_EXTRA_LIBS@
+ X_PRE_LIBS = @X_PRE_LIBS@
+-libvers_la_LDFLAGS = 
+ libvers_la_LIBADD = 
+ am_libvers_la_OBJECTS =  print_version.lo
+ libvers_la_OBJECTS =  $(am_libvers_la_OBJECTS)
+diff -ruN heimdal-0.3e-old/ltmain.sh heimdal-0.3e/ltmain.sh
+--- heimdal-0.3e-old/ltmain.sh	Sun Jul 16 01:25:57 2000
++++ heimdal-0.3e/ltmain.sh	Sat Jun 16 15:14:27 2001
+@@ -1,7 +1,8 @@
+ # ltmain.sh - Provide generalized library-building support services.
+-# NOTE: Changing this file will not affect anything until you rerun ltconfig.
++# NOTE: Changing this file will not affect anything until you rerun configure.
+ #
+-# Copyright (C) 1996-2000 Free Software Foundation, Inc.
++# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
++# Free Software Foundation, Inc.
+ # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
+ #
+ # This program is free software; you can redistribute it and/or modify
+@@ -54,8 +55,8 @@
+ # Constants.
+ PROGRAM=ltmain.sh
+ PACKAGE=libtool
+-VERSION=1.3c
+-TIMESTAMP=" (1.731 2000/07/10 09:42:21)"
++VERSION=1.4
++TIMESTAMP=" (1.920 2001/04/24 23:26:18)"
+ 
+ default_mode=
+ help="Try \`$progname --help' for more information."
+@@ -83,12 +84,6 @@
+   save_LANG="$LANG"; LANG=C; export LANG
+ fi
+ 
+-if test "$LTCONFIG_VERSION" != "$VERSION"; then
+-  echo "$modename: ltconfig version \`$LTCONFIG_VERSION' does not match $PROGRAM version \`$VERSION'" 1>&2
+-  echo "Fatal configuration error.  See the $PACKAGE docs for more information." 1>&2
+-  exit 1
+-fi
+-
+ if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then
+   echo "$modename: not configured to build any kind of library" 1>&2
+   echo "Fatal configuration error.  See the $PACKAGE docs for more information." 1>&2
+@@ -113,16 +108,16 @@
+   arg="$1"
+   shift
+ 
+-  case "$arg" in
++  case $arg in
+   -*=*) optarg=`$echo "X$arg" | $Xsed -e 's/[-_a-zA-Z0-9]*=//'` ;;
+   *) optarg= ;;
+   esac
+ 
+   # If the previous option needs an argument, assign it.
+   if test -n "$prev"; then
+-    case "$prev" in
++    case $prev in
+     execute_dlfiles)
+-      eval "$prev=\"\$$prev \$arg\""
++      execute_dlfiles="$execute_dlfiles $arg"
+       ;;
+     *)
+       eval "$prev=\$arg"
+@@ -135,7 +130,7 @@
+   fi
+ 
+   # Have we seen a non-optional argument yet?
+-  case "$arg" in
++  case $arg in
+   --help)
+     show_help=yes
+     ;;
+@@ -146,7 +141,7 @@
+     ;;
+ 
+   --config)
+-    sed -e '1,/^### BEGIN LIBTOOL CONFIG/d' -e '/^### END LIBTOOL CONFIG/,$d' $0
++    sed -e '1,/^# ### BEGIN LIBTOOL CONFIG/d' -e '/^# ### END LIBTOOL CONFIG/,$d' $0
+     exit 0
+     ;;
+ 
+@@ -211,12 +206,12 @@
+ 
+   # Infer the operation mode.
+   if test -z "$mode"; then
+-    case "$nonopt" in
++    case $nonopt in
+     *cc | *++ | gcc* | *-gcc*)
+       mode=link
+       for arg
+       do
+-	case "$arg" in
++	case $arg in
+ 	-c)
+ 	   mode=compile
+ 	   break
+@@ -261,7 +256,7 @@
+   help="Try \`$modename --help --mode=$mode' for more information."
+ 
+   # These modes are in order of execution frequency so that they run quickly.
+-  case "$mode" in
++  case $mode in
+   # libtool compile mode
+   compile)
+     modename="$modename: compile"
+@@ -275,14 +270,14 @@
+     user_target=no
+     for arg
+     do
+-      case "$prev" in
++      case $prev in
+       "") ;;
+       xcompiler)
+ 	# Aesthetically quote the previous argument.
+ 	prev=
+ 	lastarg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
+ 
+-	case "$arg" in
++	case $arg in
+ 	# Double-quote args containing other shell metacharacters.
+ 	# Many Bourne shells cannot handle close brackets correctly
+ 	# in scan sets, so we specify it separately.
+@@ -302,7 +297,7 @@
+       esac
+ 
+       # Accept any command-line options.
+-      case "$arg" in
++      case $arg in
+       -o)
+ 	if test "$user_target" != "no"; then
+ 	  $echo "$modename: you cannot specify \`-o' more than once" 1>&2
+@@ -341,7 +336,7 @@
+ 	  # Double-quote args containing other shell metacharacters.
+ 	  # Many Bourne shells cannot handle close brackets correctly
+ 	  # in scan sets, so we specify it separately.
+-	  case "$arg" in
++	  case $arg in
+ 	    *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \	]*|*]*|"")
+ 	    arg="\"$arg\""
+ 	    ;;
+@@ -361,7 +356,7 @@
+ 	;;
+       esac
+ 
+-      case "$user_target" in
++      case $user_target in
+       next)
+ 	# The next one is the -o target name
+ 	user_target=yes
+@@ -389,7 +384,7 @@
+       # Double-quote args containing other shell metacharacters.
+       # Many Bourne shells cannot handle close brackets correctly
+       # in scan sets, so we specify it separately.
+-      case "$lastarg" in
++      case $lastarg in
+       *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \	]*|*]*|"")
+ 	lastarg="\"$lastarg\""
+ 	;;
+@@ -403,7 +398,7 @@
+       fi
+     done
+ 
+-    case "$user_target" in
++    case $user_target in
+     set)
+       ;;
+     no)
+@@ -419,7 +414,7 @@
+     # Recognize several different file suffixes.
+     # If the user specifies -o file.o, it is replaced with file.lo
+     xform='[cCFSfmso]'
+-    case "$libobj" in
++    case $libobj in
+     *.ada) xform=ada ;;
+     *.adb) xform=adb ;;
+     *.ads) xform=ads ;;
+@@ -434,7 +429,7 @@
+ 
+     libobj=`$echo "X$libobj" | $Xsed -e "s/\.$xform$/.lo/"`
+ 
+-    case "$libobj" in
++    case $libobj in
+     *.lo) obj=`$echo "X$libobj" | $Xsed -e "$lo2o"` ;;
+     *)
+       $echo "$modename: cannot determine name of library object from \`$libobj'" 1>&2
+@@ -459,8 +454,8 @@
+     trap "$run $rm $removelist; exit 1" 1 2 15
+ 
+     # On Cygwin there's no "real" PIC flag so we must build both object types
+-    case "$host_os" in
+-    cygwin* | mingw* | os2*)
++    case $host_os in
++    cygwin* | mingw* | pw32* | os2*)
+       pic_mode=default
+       ;;
+     esac
+@@ -472,7 +467,7 @@
+     # Calculate the filename of the output object if compiler does
+     # not support -o with -c
+     if test "$compiler_c_o" = no; then
+-      output_obj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\..*$%%'`.${objext}
++      output_obj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext}
+       lockfile="$output_obj.lock"
+       removelist="$removelist $output_obj $lockfile"
+       trap "$run $rm $removelist; exit 1" 1 2 15
+@@ -484,7 +479,7 @@
+     # Lock this critical section if it is needed
+     # We use this script file to make the link, it avoids creating a new file
+     if test "$need_locks" = yes; then
+-      until ln "$0" "$lockfile" 2>/dev/null; do
++      until $run ln "$0" "$lockfile" 2>/dev/null; do
+ 	$show "Waiting for $lockfile to be removed"
+ 	sleep 2
+       done
+@@ -706,7 +701,7 @@
+ 
+     # Unlock the critical section if it was locked
+     if test "$need_locks" != no; then
+-      $rm "$lockfile"
++      $run $rm "$lockfile"
+     fi
+ 
+     exit 0
+@@ -715,8 +710,8 @@
+   # libtool link mode
+   link | relink)
+     modename="$modename: link"
+-    case "$host" in
+-    *-*-cygwin* | *-*-mingw* | *-*-os2*)
++    case $host in
++    *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
+       # It is impossible to link a dll without this setting, and
+       # we shouldn't force the makefile maintainer to figure out
+       # which system we are compiling for in order to pass an extra
+@@ -779,7 +774,7 @@
+     # We need to know -static, to get the right output filenames.
+     for arg
+     do
+-      case "$arg" in
++      case $arg in
+       -all-static | -static)
+ 	if test "X$arg" = "X-all-static"; then
+ 	  if test "$build_libtool_libs" = yes && test -z "$link_static_flag"; then
+@@ -808,7 +803,7 @@
+     while test $# -gt 0; do
+       arg="$1"
+       shift
+-      case "$arg" in
++      case $arg in
+       *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \	]*|*]*|"")
+ 	qarg=\"`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`\" ### testsuite: skip nested quoting test
+ 	;;
+@@ -818,14 +813,14 @@
+ 
+       # If the previous option needs an argument, assign it.
+       if test -n "$prev"; then
+-	case "$prev" in
++	case $prev in
+ 	output)
+ 	  compile_command="$compile_command @OUTPUT@"
+ 	  finalize_command="$finalize_command @OUTPUT@"
+ 	  ;;
+ 	esac
+ 
+-	case "$prev" in
++	case $prev in
+ 	dlfiles|dlprefiles)
+ 	  if test "$preload" = no; then
+ 	    # Add the symbol object into the linking commands.
+@@ -833,7 +828,7 @@
+ 	    finalize_command="$finalize_command @SYMFILE@"
+ 	    preload=yes
+ 	  fi
+-	  case "$arg" in
++	  case $arg in
+ 	  *.la | *.lo) ;;  # We handle these cases below.
+ 	  force)
+ 	    if test "$dlself" = no; then
+@@ -887,7 +882,7 @@
+ 	  ;;
+ 	rpath | xrpath)
+ 	  # We need an absolute path.
+-	  case "$arg" in
++	  case $arg in
+ 	  [\\/]* | [A-Za-z]:[\\/]*) ;;
+ 	  *)
+ 	    $echo "$modename: only absolute run-paths are allowed" 1>&2
+@@ -929,11 +924,11 @@
+ 	  continue
+ 	  ;;
+ 	esac
+-      fi
++      fi # test -n $prev
+ 
+       prevarg="$arg"
+ 
+-      case "$arg" in
++      case $arg in
+       -all-static)
+ 	if test -n "$link_static_flag"; then
+ 	  compile_command="$compile_command $link_static_flag"
+@@ -970,7 +965,7 @@
+ 
+       -export-symbols | -export-symbols-regex)
+ 	if test -n "$export_symbols" || test -n "$export_symbols_regex"; then
+-	  $echo "$modename: not more than one -exported-symbols argument allowed"
++	  $echo "$modename: more than one -exported-symbols argument is not allowed"
+ 	  exit 1
+ 	fi
+ 	if test "X$arg" = "X-export-symbols"; then
+@@ -981,10 +976,22 @@
+ 	continue
+ 	;;
+ 
++      # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:*
++      # so, if we see these flags be careful not to treat them like -L
++      -L[A-Z][A-Z]*:*)
++	case $with_gcc/$host in
++	no/*-*-irix*)
++	  compile_command="$compile_command $arg"
++	  finalize_command="$finalize_command $arg"
++	  ;;
++	esac
++	continue
++	;;
++
+       -L*)
+ 	dir=`$echo "X$arg" | $Xsed -e 's/^-L//'`
+ 	# We need an absolute path.
+-	case "$dir" in
++	case $dir in
+ 	[\\/]* | [A-Za-z]:[\\/]*) ;;
+ 	*)
+ 	  absdir=`cd "$dir" && pwd`
+@@ -1002,9 +1009,9 @@
+ 	  lib_search_path="$lib_search_path $dir"
+ 	  ;;
+ 	esac
+-	case "$host" in
+-	*-*-cygwin* | *-*-mingw* | *-*-os2*)
+-	  case ":$dllsearchpath:" in
++	case $host in
++	*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
++	  case :$dllsearchpath: in
+ 	  *":$dir:"*) ;;
+ 	  *) dllsearchpath="$dllsearchpath:$dir";;
+ 	  esac
+@@ -1014,18 +1021,15 @@
+ 	;;
+ 
+       -l*)
+-	if test "$arg" = "-lc"; then
+-	  case "$host" in
+-	  *-*-cygwin* | *-*-mingw* | *-*-os2* | *-*-beos*)
+-	    # These systems don't actually have c library (as such)
++	if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then
++	  case $host in
++	  *-*-cygwin* | *-*-pw32* | *-*-beos*)
++	    # These systems don't actually have a C or math library (as such)
+ 	    continue
+ 	    ;;
+-	  esac
+-	elif test "$arg" = "-lm"; then
+-	  case "$host" in
+-	  *-*-cygwin* | *-*-beos*)
+-	    # These systems don't actually have math library (as such)
+-	    continue
++	  *-*-mingw* | *-*-os2*)
++	    # These systems don't actually have a C library (as such)
++	    test "X$arg" = "X-lc" && continue
+ 	    ;;
+ 	  esac
+ 	fi
+@@ -1044,21 +1048,15 @@
+ 	;;
+ 
+       -no-install)
+-	case "$host" in
+-	*-*-cygwin* | *-*-mingw* | *-*-os2*)
++	case $host in
++	*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
+ 	  # The PATH hackery in wrapper scripts is required on Windows
+ 	  # in order for the loader to find any dlls it needs.
+ 	  $echo "$modename: warning: \`-no-install' is ignored for $host" 1>&2
+ 	  $echo "$modename: warning: assuming \`-no-fast-install' instead" 1>&2
+ 	  fast_install=no
+ 	  ;;
+-        *-*-rhapsody*)
+-	  # rhapsody is a little odd...
+-	  deplibs="$deplibs -framework System"
+-	  ;;
+-	*)
+-	  no_install=yes
+-	  ;;
++	*) no_install=yes ;;
+ 	esac
+ 	continue
+ 	;;
+@@ -1088,7 +1086,7 @@
+       -R*)
+ 	dir=`$echo "X$arg" | $Xsed -e 's/^-R//'`
+ 	# We need an absolute path.
+-	case "$dir" in
++	case $dir in
+ 	[\\/]* | [A-Za-z]:[\\/]*) ;;
+ 	*)
+ 	  $echo "$modename: only absolute run-paths are allowed" 1>&2
+@@ -1103,11 +1101,11 @@
+ 	;;
+ 
+       -static)
+-	# If we have no pic_flag, then this is the same as -all-static.
+-	if test -z "$pic_flag" && test -n "$link_static_flag"; then
+-	  compile_command="$compile_command $link_static_flag"
+-	  finalize_command="$finalize_command $link_static_flag"
+-	fi
++	# The effects of -static are defined in a previous loop.
++	# We used to do the same as -all-static on platforms that
++	# didn't have a PIC flag, but the assumption that the effects
++	# would be equivalent was wrong.  It would break on at least
++	# Digital Unix and AIX.
+ 	continue
+ 	;;
+ 
+@@ -1127,7 +1125,7 @@
+ 	IFS="${IFS= 	}"; save_ifs="$IFS"; IFS=','
+ 	for flag in $args; do
+ 	  IFS="$save_ifs"
+-	  case "$flag" in
++	  case $flag in
+ 	    *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \	]*|*]*|"")
+ 	    flag="\"$flag\""
+ 	    ;;
+@@ -1145,7 +1143,7 @@
+ 	IFS="${IFS= 	}"; save_ifs="$IFS"; IFS=','
+ 	for flag in $args; do
+ 	  IFS="$save_ifs"
+-	  case "$flag" in
++	  case $flag in
+ 	    *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \	]*|*]*|"")
+ 	    flag="\"$flag\""
+ 	    ;;
+@@ -1173,20 +1171,15 @@
+ 	# Unknown arguments in both finalize_command and compile_command need
+ 	# to be aesthetically quoted because they are evaled later.
+ 	arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
+-	case "$arg" in
++	case $arg in
+ 	*[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \	]*|*]*|"")
+ 	  arg="\"$arg\""
+ 	  ;;
+ 	esac
+ 	;;
+ 
+-      *.$objext)
+-	# A standard object.
+-	objs="$objs $arg"
+-	;;
+-
+-      *.lo)
+-	# A library object.
++      *.lo | *.$objext)
++	# A library or standard object.
+ 	if test "$prev" = dlfiles; then
+ 	  # This file was specified with -dlopen.
+ 	  if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
+@@ -1204,7 +1197,10 @@
+ 	  dlprefiles="$dlprefiles "`$echo "X$arg" | $Xsed -e "$lo2o"`
+ 	  prev=
+ 	else
+-	  libobjs="$libobjs $arg"
++	  case $arg in
++	  *.lo) libobjs="$libobjs $arg" ;;
++	  *) objs="$objs $arg" ;;
++	  esac
+ 	fi
+ 	;;
+ 
+@@ -1237,20 +1233,20 @@
+ 	# Unknown arguments in both finalize_command and compile_command need
+ 	# to be aesthetically quoted because they are evaled later.
+ 	arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
+-	case "$arg" in
++	case $arg in
+ 	*[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \	]*|*]*|"")
+ 	  arg="\"$arg\""
+ 	  ;;
+ 	esac
+ 	;;
+-      esac
++      esac # arg
+ 
+       # Now actually substitute the argument into the commands.
+       if test -n "$arg"; then
+ 	compile_command="$compile_command $arg"
+ 	finalize_command="$finalize_command $arg"
+       fi
+-    done
++    done # argument parsing loop
+ 
+     if test -n "$prev"; then
+       $echo "$modename: the \`$prevarg' option requires an argument" 1>&2
+@@ -1264,7 +1260,6 @@
+       finalize_command="$finalize_command $arg"
+     fi
+ 
+-    oldlibs=
+     # calculate the name of the file, without its directory
+     outputname=`$echo "X$output" | $Xsed -e 's%^.*/%%'`
+     libobjs_save="$libobjs"
+@@ -1295,7 +1290,7 @@
+     fi
+ 
+     # Determine the type of output
+-    case "$output" in
++    case $output in
+     "")
+       $echo "$modename: you must specify an output file" 1>&2
+       $echo "$help" 1>&2
+@@ -1321,13 +1316,13 @@
+     newdependency_libs=
+     newlib_search_path=
+     need_relink=no # whether we're linking any uninstalled libtool libraries
+-    uninst_deplibs= # uninstalled libtool libraries
+-    uninst_path= # paths that contain uninstalled libtool libraries
++    notinst_deplibs= # not-installed libtool libraries
++    notinst_path= # paths that contain not-installed libtool libraries
+     case $linkmode in
+     lib)
+ 	passes="conv link"
+ 	for file in $dlfiles $dlprefiles; do
+-	  case "$file" in
++	  case $file in
+ 	  *.la) ;;
+ 	  *)
+ 	    $echo "$modename: libraries can \`-dlopen' only libtool libraries: $file" 1>&2
+@@ -1344,34 +1339,29 @@
+ 	newdlprefiles=
+ 	passes="conv scan dlopen dlpreopen link"
+ 	;;
+-    *)	passes="conv"
++    *)  passes="conv"
+ 	;;
+     esac
+     for pass in $passes; do
+-      if test "$linkmode,$pass" = "lib,link" ||
+-	 test "$linkmode,$pass" = "prog,scan"; then
+-	libs="$deplibs"
+-	deplibs=
+-      fi
+       if test $linkmode = prog; then
++	# Determine which files to process
+ 	case $pass in
+-	dlopen) libs="$dlfiles" ;;
++	dlopen)
++	  libs="$dlfiles"
++	  save_deplibs="$deplibs" # Collect dlpreopened libraries
++	  deplibs=
++	  ;;
+ 	dlpreopen) libs="$dlprefiles" ;;
+ 	link) libs="$deplibs %DEPLIBS% $dependency_libs" ;;
+ 	esac
+       fi
+-      if test $pass = dlopen; then
+-	# Collect dlpreopened libraries
+-	save_deplibs="$deplibs"
+-	deplibs=
+-      fi
+       for deplib in $libs; do
+ 	lib=
+ 	found=no
+-	case "$deplib" in
++	case $deplib in
+ 	-l*)
+-	  if test $linkmode != lib && test $linkmode != prog; then
+-	    $echo "$modename: warning: \`-l' is ignored for archives/objects" 1>&2
++	  if test $linkmode = oldlib && test $linkmode = obj; then
++	    $echo "$modename: warning: \`-l' is ignored for archives/objects: $deplib" 1>&2
+ 	    continue
+ 	  fi
+ 	  if test $pass = conv; then
+@@ -1388,6 +1378,7 @@
+ 	    fi
+ 	  done
+ 	  if test "$found" != yes; then
++	    # deplib doesn't seem to be a libtool library
+ 	    if test "$linkmode,$pass" = "prog,link"; then
+ 	      compile_deplibs="$deplib $compile_deplibs"
+ 	      finalize_deplibs="$deplib $finalize_deplibs"
+@@ -1397,7 +1388,7 @@
+ 	    fi
+ 	    continue
+ 	  fi
+-	  ;;
++	  ;; # -l
+ 	-L*)
+ 	  case $linkmode in
+ 	  lib)
+@@ -1420,11 +1411,11 @@
+ 	    fi
+ 	    ;;
+ 	  *)
+-	    $echo "$modename: warning: \`-L' is ignored for archives/objects" 1>&2
++	    $echo "$modename: warning: \`-L' is ignored for archives/objects: $deplib" 1>&2
+ 	    ;;
+-	  esac
++	  esac # linkmode
+ 	  continue
+-	  ;;
++	  ;; # -L
+ 	-R*)
+ 	  if test $pass = link; then
+ 	    dir=`$echo "X$deplib" | $Xsed -e 's/^-R//'`
+@@ -1468,21 +1459,17 @@
+ 	    fi
+ 	    continue
+ 	    ;;
+-	  esac
+-	  ;;
++	  esac # linkmode
++	  ;; # *.$libext
+ 	*.lo | *.$objext)
+-	  if test $pass = conv; then
+-	    deplibs="$deplib $deplibs"
+-	  elif test $linkmode = prog; then
+-	    if test $pass = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
+-	      # If there is no dlopen support or we're linking statically,
+-	      # we need to preload.
+-	      newdlprefiles="$newdlprefiles $deplib"
+-	      compile_deplibs="$deplib $compile_deplibs"
+-	      finalize_deplibs="$deplib $finalize_deplibs"
+-	    else
+-	      newdlfiles="$newdlfiles $deplib"
+-	    fi
++	  if test $pass = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
++	    # If there is no dlopen support or we're linking statically,
++	    # we need to preload.
++	    newdlprefiles="$newdlprefiles $deplib"
++	    compile_deplibs="$deplib $compile_deplibs"
++	    finalize_deplibs="$deplib $finalize_deplibs"
++	  else
++	    newdlfiles="$newdlfiles $deplib"
+ 	  fi
+ 	  continue
+ 	  ;;
+@@ -1490,7 +1477,7 @@
+ 	  alldeplibs=yes
+ 	  continue
+ 	  ;;
+-	esac
++	esac # case $deplib
+ 	if test $found = yes || test -f "$lib"; then :
+ 	else
+ 	  $echo "$modename: cannot find the library \`$lib'" 1>&2
+@@ -1518,20 +1505,21 @@
+ 	installed=yes
+ 
+ 	# Read the .la file
+-	case "$lib" in
++	case $lib in
+ 	*/* | *\\*) . $lib ;;
+ 	*) . ./$lib ;;
+ 	esac
+ 
+ 	if test "$linkmode,$pass" = "lib,link" ||
+ 	   test "$linkmode,$pass" = "prog,scan" ||
+-	   { test $linkmode != prog && test $linkmode != lib; }; then
++	   { test $linkmode = oldlib && test $linkmode = obj; }; then
++	   # Add dl[pre]opened files of deplib
+ 	  test -n "$dlopen" && dlfiles="$dlfiles $dlopen"
+ 	  test -n "$dlpreopen" && dlprefiles="$dlprefiles $dlpreopen"
+ 	fi
+ 
+ 	if test $pass = conv; then
+-	  # only check for convenience libraries
++	  # Only check for convenience libraries
+ 	  deplibs="$lib $deplibs"
+ 	  if test -z "$libdir"; then
+ 	    if test -z "$old_library"; then
+@@ -1554,7 +1542,7 @@
+ 	    exit 1
+ 	  fi
+ 	  continue
+-	fi
++	fi # $pass = conv
+ 
+ 	# Get the name of the library we link against.
+ 	linklib=
+@@ -1573,17 +1561,17 @@
+ 	    exit 1
+ 	  fi
+ 	  if test -z "$dlname" || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
+-	    # If there is no dlname, no dlopen support or we're linking statically,
+-	    # we need to preload.
++	    # If there is no dlname, no dlopen support or we're linking
++	    # statically, we need to preload.
+ 	    dlprefiles="$dlprefiles $lib"
+ 	  else
+ 	    newdlfiles="$newdlfiles $lib"
+ 	  fi
+ 	  continue
+-	fi
++	fi # $pass = dlopen
+ 
+ 	# We need an absolute path.
+-	case "$ladir" in
++	case $ladir in
+ 	[\\/]* | [A-Za-z]:[\\/]*) abs_ladir="$ladir" ;;
+ 	*)
+ 	  abs_ladir=`cd "$ladir" && pwd`
+@@ -1611,8 +1599,8 @@
+ 	  dir="$ladir/$objdir"
+ 	  absdir="$abs_ladir/$objdir"
+ 	  # Remove this search path later
+-	  uninst_path="$uninst_path $abs_ladir"
+-	fi
++	  notinst_path="$notinst_path $abs_ladir"
++	fi # $installed = yes
+ 	name=`$echo "X$laname" | $Xsed -e 's/\.la$//' -e 's/^lib//'`
+ 
+ 	# This library was specified with -dlpreopen.
+@@ -1625,20 +1613,23 @@
+ 	  # are required to link).
+ 	  if test -n "$old_library"; then
+ 	    newdlprefiles="$newdlprefiles $dir/$old_library"
++	  # Otherwise, use the dlname, so that lt_dlopen finds it.
++	  elif test -n "$dlname"; then
++	    newdlprefiles="$newdlprefiles $dir/$dlname"
+ 	  else
+ 	    newdlprefiles="$newdlprefiles $dir/$linklib"
+ 	  fi
+-	fi
++	fi # $pass = dlpreopen
+ 
+ 	if test -z "$libdir"; then
+-	  # link the convenience library
++	  # Link the convenience library
+ 	  if test $linkmode = lib; then
+ 	    deplibs="$dir/$old_library $deplibs"
+ 	  elif test "$linkmode,$pass" = "prog,link"; then
+ 	    compile_deplibs="$dir/$old_library $compile_deplibs"
+ 	    finalize_deplibs="$dir/$old_library $finalize_deplibs"
+ 	  else
+-	    deplibs="$lib $deplibs" # used for prog,scan pass
++	    deplibs="$lib $deplibs"
+ 	  fi
+ 	  continue
+ 	fi
+@@ -1655,7 +1646,7 @@
+ 
+ 	  tmp_libs=
+ 	  for deplib in $dependency_libs; do
+-	    case "$deplib" in
++	    case $deplib in
+ 	    -L*) newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`;; ### testsuite: skip nested quoting test
+ 	    esac
+ 	    # Need to link against all dependency_libs?
+@@ -1670,24 +1661,17 @@
+ 	    *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
+ 	    esac
+ 	    tmp_libs="$tmp_libs $deplib"
+-	  done
++	  done # for deplib
+ 	  continue
+-	fi
++	fi # $linkmode = prog...
+ 
+-	if test "$linkmode,$pass" = "prog,link"; then
+-	  if test -n "$library_names" &&
+-	     { test "$hardcode_into_libs" != all || test "$alldeplibs" != yes; } &&
+-	     { test "$prefer_static_libs" = no || test -z "$old_library"; }; then
+-	    # We need to hardcode the library path
+-	    if test -n "$shlibpath_var"; then
+-	      # Make sure the rpath contains only unique directories.
+-	      case "$temp_rpath " in
+-	      *" $dir "*) ;;
+-	      *" $absdir "*) ;;
+-	      *) temp_rpath="$temp_rpath $dir" ;;
+-	      esac
+-	    fi
++	link_static=no # Whether the deplib will be linked statically
++	if test -n "$library_names" &&
++	   { test "$prefer_static_libs" = no || test -z "$old_library"; }; then
++	  # Link against this shared library
+ 
++	  if test "$linkmode,$pass" = "prog,link" ||
++	   { test $linkmode = lib && test $hardcode_into_libs = yes; }; then
+ 	    # Hardcode the library path.
+ 	    # Skip directories that are in the system default run-time
+ 	    # search path.
+@@ -1700,7 +1684,6 @@
+ 	      esac
+ 	      ;;
+ 	    esac
+-
+ 	    case " $sys_lib_dlsearch_path " in
+ 	    *" $libdir "*) ;;
+ 	    *)
+@@ -1710,7 +1693,18 @@
+ 	      esac
+ 	      ;;
+ 	    esac
+-	  fi
++	    if test $linkmode = prog; then
++	      # We need to hardcode the library path
++	      if test -n "$shlibpath_var"; then
++		# Make sure the rpath contains only unique directories.
++		case "$temp_rpath " in
++		*" $dir "*) ;;
++		*" $absdir "*) ;;
++		*) temp_rpath="$temp_rpath $dir" ;;
++		esac
++	      fi
++	    fi
++	  fi # $linkmode,$pass = prog,link...
+ 
+ 	  if test "$alldeplibs" = yes &&
+ 	     { test "$deplibs_check_method" = pass_all ||
+@@ -1719,39 +1713,11 @@
+ 	    # We only need to search for static libraries
+ 	    continue
+ 	  fi
+-	fi
+ 
+-	link_static=no # Whether the deplib will be linked statically
+-	if test -n "$library_names" &&
+-	   { test "$prefer_static_libs" = no || test -z "$old_library"; }; then
+ 	  if test "$installed" = no; then
+-	    uninst_deplibs="$uninst_deplibs $lib"
++	    notinst_deplibs="$notinst_deplibs $lib"
+ 	    need_relink=yes
+ 	  fi
+-	  # This is a shared library
+-	  if test $linkmode = lib && test "$hardcode_into_libs" = all; then
+-	    # Hardcode the library path.
+-	    # Skip directories that are in the system default run-time
+-	    # search path.
+-	    case " $sys_lib_dlsearch_path " in
+-	    *" $absdir "*) ;;
+-	    *)
+-	      case "$compile_rpath " in
+-	      *" $absdir "*) ;;
+-	      *) compile_rpath="$compile_rpath $absdir"
+-	      esac
+-	      ;;
+-	    esac
+-	    case " $sys_lib_dlsearch_path " in
+-	    *" $libdir "*) ;;
+-	    *)
+-	      case "$finalize_rpath " in
+-	      *" $libdir "*) ;;
+-	      *) finalize_rpath="$finalize_rpath $libdir"
+-	      esac
+-	      ;;
+-	    esac
+-	  fi
+ 
+ 	  if test -n "$old_archive_from_expsyms_cmds"; then
+ 	    # figure out the soname
+@@ -1759,13 +1725,25 @@
+ 	    realname="$2"
+ 	    shift; shift
+ 	    libname=`eval \\$echo \"$libname_spec\"`
+-	    if test -n "$soname_spec"; then
++	    # use dlname if we got it. it's perfectly good, no?
++	    if test -n "$dlname"; then
++	      soname="$dlname"
++	    elif test -n "$soname_spec"; then
++	      # bleh windows
++	      case $host in
++	      *cygwin*)
++		major=`expr $current - $age`
++		versuffix="-$major"
++		;;
++	      esac
+ 	      eval soname=\"$soname_spec\"
+ 	    else
+ 	      soname="$realname"
+ 	    fi
+ 
+ 	    # Make a new name for the extract_expsyms_cmds to use
++	    soroot="$soname"
++	    soname=`echo $soroot | sed -e 's/^.*\///'`
+ 	    newlib="libimp-`echo $soname | sed 's/^lib//;s/\.dll$//'`.a"
+ 
+ 	    # If the library has no export list, then create one now
+@@ -1797,19 +1775,19 @@
+ 	    # make sure the library variables are pointing to the new library
+ 	    dir=$output_objdir
+ 	    linklib=$newlib
+-	  fi
++	  fi # test -n $old_archive_from_expsyms_cmds
+ 
+ 	  if test $linkmode = prog || test "$mode" != relink; then
+ 	    add_shlibpath=
+ 	    add_dir=
+ 	    add=
+ 	    lib_linked=yes
+-	    case "$hardcode_action" in
++	    case $hardcode_action in
+ 	    immediate | unsupported)
+ 	      if test "$hardcode_direct" = no; then
+ 		add="$dir/$linklib"
+ 	      elif test "$hardcode_minus_L" = no; then
+-		case "$host" in
++		case $host in
+ 		*-*-sunos*) add_shlibpath="$dir" ;;
+ 		esac
+ 		add_dir="-L$dir"
+@@ -1843,7 +1821,7 @@
+ 	    fi
+ 
+ 	    if test -n "$add_shlibpath"; then
+-	      case ":$compile_shlibpath:" in
++	      case :$compile_shlibpath: in
+ 	      *":$add_shlibpath:"*) ;;
+ 	      *) compile_shlibpath="$compile_shlibpath$add_shlibpath:" ;;
+ 	      esac
+@@ -1857,7 +1835,7 @@
+ 	      if test "$hardcode_direct" != yes && \
+ 		 test "$hardcode_minus_L" != yes && \
+ 		 test "$hardcode_shlibpath_var" = yes; then
+-		case ":$finalize_shlibpath:" in
++		case :$finalize_shlibpath: in
+ 		*":$libdir:"*) ;;
+ 		*) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
+ 		esac
+@@ -1876,7 +1854,7 @@
+ 	      add_dir="-L$libdir"
+ 	      add="-l$name"
+ 	    elif test "$hardcode_shlibpath_var" = yes; then
+-	      case ":$finalize_shlibpath:" in
++	      case :$finalize_shlibpath: in
+ 	      *":$libdir:"*) ;;
+ 	      *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
+ 	      esac
+@@ -1892,10 +1870,19 @@
+ 	      test -n "$add" && finalize_deplibs="$add $finalize_deplibs"
+ 	    else
+ 	      test -n "$add_dir" && deplibs="$add_dir $deplibs"
+-	      test -n "$add" && deplibs="$add deplibs"
++	      test -n "$add" && deplibs="$add $deplibs"
+ 	    fi
+ 	  fi
+ 	elif test $linkmode = prog; then
++	  if test "$alldeplibs" = yes &&
++	     { test "$deplibs_check_method" = pass_all ||
++	       { test "$build_libtool_libs" = yes &&
++		 test -n "$library_names"; }; }; then
++	    # We only need to search for static libraries
++	    continue
++	  fi
++
++	  # Try to link the static library
+ 	  # Here we assume that one of hardcode_direct or hardcode_minus_L
+ 	  # is not unsupported.  This is valid on all known static and
+ 	  # shared platforms.
+@@ -1912,6 +1899,7 @@
+ 	  if test "$deplibs_check_method" != pass_all; then
+ 	    # We're trying link a shared library against a static one
+ 	    # but the system doesn't support it.
++
+ 	    # Just print a warning and add the library to dependency_libs so
+ 	    # that the program can be linked against the static library.
+ 	    echo
+@@ -1919,22 +1907,39 @@
+ 	    echo "*** I have the capability to make that library automatically link in when"
+ 	    echo "*** you link to this library.  But I can only do this if you have a"
+ 	    echo "*** shared version of the library, which you do not appear to have."
++	    if test "$module" = yes; then
++	      echo "*** Therefore, libtool will create a static module, that should work "
++	      echo "*** as long as the dlopening application is linked with the -dlopen flag."
++	      if test -z "$global_symbol_pipe"; then
++	        echo
++	        echo "*** However, this would only work if libtool was able to extract symbol"
++	        echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
++	        echo "*** not find such a program.  So, this module is probably useless."
++	        echo "*** \`nm' from GNU binutils and a full rebuild may help."
++	      fi
++	      if test "$build_old_libs" = no; then
++	        build_libtool_libs=module
++	        build_old_libs=yes
++	      else
++	        build_libtool_libs=no
++	      fi
++	    fi
+ 	  else
+ 	    convenience="$convenience $dir/$old_library"
+ 	    old_convenience="$old_convenience $dir/$old_library"
+ 	    deplibs="$dir/$old_library $deplibs"
+ 	    link_static=yes
+ 	  fi
+-	fi
++	fi # link shared/static library?
+ 
+ 	if test $linkmode = lib; then
+ 	  if test -n "$dependency_libs" &&
+-	     { test "$hardcode_into_libs" = no || test $build_old_libs = yes ||
++	     { test $hardcode_into_libs != yes || test $build_old_libs = yes ||
+ 	       test $link_static = yes; }; then
+ 	    # Extract -R from dependency_libs
+ 	    temp_deplibs=
+ 	    for libdir in $dependency_libs; do
+-	      case "$libdir" in
++	      case $libdir in
+ 	      -R*) temp_xrpath=`$echo "X$libdir" | $Xsed -e 's/^-R//'`
+ 		   case " $xrpath " in
+ 		   *" $temp_xrpath "*) ;;
+@@ -1962,13 +1967,13 @@
+ 	  if test $link_all_deplibs != no; then
+ 	    # Add the search paths of all dependency libraries
+ 	    for deplib in $dependency_libs; do
+-	      case "$deplib" in
++	      case $deplib in
+ 	      -L*) path="$deplib" ;;
+ 	      *.la)
+ 		dir=`$echo "X$deplib" | $Xsed -e 's%/[^/]*$%%'`
+ 		test "X$dir" = "X$deplib" && dir="."
+ 		# We need an absolute path.
+-		case "$dir" in
++		case $dir in
+ 		[\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;;
+ 		*)
+ 		  absdir=`cd "$dir" && pwd`
+@@ -1999,10 +2004,9 @@
+ 	      *) deplibs="$deplibs $path" ;;
+ 	      esac
+ 	    done
+-	  fi
+-	fi
+-      done
+-      dependency_libs="$newdependency_libs"
++	  fi # link_all_deplibs != no
++	fi # linkmode = lib
++      done # for deplib in $libs
+       if test $pass = dlpreopen; then
+ 	# Link the dlpreopened libraries before other libraries
+ 	for deplib in $save_deplibs; do
+@@ -2010,6 +2014,7 @@
+ 	done
+       fi
+       if test $pass != dlopen; then
++	test $pass != scan && dependency_libs="$newdependency_libs"
+ 	if test $pass != conv; then
+ 	  # Make sure lib_search_path contains only unique directories.
+ 	  lib_search_path=
+@@ -2028,12 +2033,11 @@
+ 	  vars="compile_deplibs finalize_deplibs"
+ 	fi
+ 	for var in $vars dependency_libs; do
+-	  # Make sure that $var contains only unique libraries
+-	  # and add them in reverse order
++	  # Add libraries to $var in reverse order
+ 	  eval tmp_libs=\"\$$var\"
+ 	  new_libs=
+ 	  for deplib in $tmp_libs; do
+-	    case "$deplib" in
++	    case $deplib in
+ 	    -L*) new_libs="$deplib $new_libs" ;;
+ 	    *)
+ 	      case " $specialdeplibs " in
+@@ -2050,7 +2054,7 @@
+ 	  done
+ 	  tmp_libs=
+ 	  for deplib in $new_libs; do
+-	    case "$deplib" in
++	    case $deplib in
+ 	    -L*)
+ 	      case " $tmp_libs " in
+ 	      *" $deplib "*) ;;
+@@ -2061,9 +2065,14 @@
+ 	    esac
+ 	  done
+ 	  eval $var=\"$tmp_libs\"
+-	done
++	done # for var
+       fi
+-    done
++      if test "$pass" = "conv" &&
++       { test "$linkmode" = "lib" || test "$linkmode" = "prog"; }; then
++	libs="$deplibs" # reset libs
++	deplibs=
++      fi
++    done # for pass
+     if test $linkmode = prog; then
+       dlfiles="$newdlfiles"
+       dlprefiles="$newdlprefiles"
+@@ -2071,10 +2080,6 @@
+ 
+     case $linkmode in
+     oldlib)
+-      if test -n "$deplibs"; then
+-	$echo "$modename: warning: \`-l' and \`-L' are ignored for archives" 1>&2
+-      fi
+-
+       if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
+ 	$echo "$modename: warning: \`-dlopen' is ignored for archives" 1>&2
+       fi
+@@ -2107,7 +2112,7 @@
+ 
+     lib)
+       # Make sure we only generate libraries of the form `libNAME.la'.
+-      case "$outputname" in
++      case $outputname in
+       lib*)
+ 	name=`$echo "X$outputname" | $Xsed -e 's/\.la$//' -e 's/^lib//'`
+ 	eval libname=\"$libname_spec\"
+@@ -2185,8 +2190,8 @@
+ 	age="$4"
+ 
+ 	# Check that each of the things are valid numbers.
+-	case "$current" in
+-	0 | [1-9] | [1-9][0-9]*) ;;
++	case $current in
++	0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;;
+ 	*)
+ 	  $echo "$modename: CURRENT \`$current' is not a nonnegative integer" 1>&2
+ 	  $echo "$modename: \`$vinfo' is not valid version information" 1>&2
+@@ -2194,8 +2199,8 @@
+ 	  ;;
+ 	esac
+ 
+-	case "$revision" in
+-	0 | [1-9] | [1-9][0-9]*) ;;
++	case $revision in
++	0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;;
+ 	*)
+ 	  $echo "$modename: REVISION \`$revision' is not a nonnegative integer" 1>&2
+ 	  $echo "$modename: \`$vinfo' is not valid version information" 1>&2
+@@ -2203,8 +2208,8 @@
+ 	  ;;
+ 	esac
+ 
+-	case "$age" in
+-	0 | [1-9] | [1-9][0-9]*) ;;
++	case $age in
++	0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;;
+ 	*)
+ 	  $echo "$modename: AGE \`$age' is not a nonnegative integer" 1>&2
+ 	  $echo "$modename: \`$vinfo' is not valid version information" 1>&2
+@@ -2222,12 +2227,31 @@
+ 	major=
+ 	versuffix=
+ 	verstring=
+-	case "$version_type" in
++	case $version_type in
+ 	none) ;;
+ 
++	darwin)
++	  # Like Linux, but with the current version available in
++	  # verstring for coding it into the library header
++	  major=.`expr $current - $age`
++	  versuffix="$major.$age.$revision"
++	  # Darwin ld doesn't like 0 for these options...
++	  minor_current=`expr $current + 1`
++	  verstring="-compatibility_version $minor_current -current_version $minor_current.$revision"
++	  ;;
++
++	freebsd-aout)
++	  major=".$current"
++	  versuffix=".$current.$revision";
++	  ;;
++
++	freebsd-elf)
++	  major=".$current"
++	  versuffix=".$current";
++	  ;;
++
+ 	irix)
+ 	  major=`expr $current - $age + 1`
+-	  versuffix="$major.$revision"
+ 	  verstring="sgi$major.$revision"
+ 
+ 	  # Add in all the interfaces that we are compatible with.
+@@ -2237,6 +2261,10 @@
+ 	    loop=`expr $loop - 1`
+ 	    verstring="sgi$major.$iface:$verstring"
+ 	  done
++
++	  # Before this point, $major must not contain `.'.
++	  major=.$major
++	  versuffix="$major.$revision"
+ 	  ;;
+ 
+ 	linux)
+@@ -2266,21 +2294,11 @@
+ 	  versuffix=".$current.$revision"
+ 	  ;;
+ 
+-	freebsd-aout)
+-	  major=".$current"
+-	  versuffix=".$current.$revision";
+-	  ;;
+-
+-	freebsd-elf)
+-	  major=".$current"
+-	  versuffix=".$current";
+-	  ;;
+-
+ 	windows)
+-	  # Like Linux, but with '-' rather than '.', since we only
+-	  # want one extension on Windows 95.
++	  # Use '-' rather than '.', since we only want one
++	  # extension on DOS 8.3 filesystems.
+ 	  major=`expr $current - $age`
+-	  versuffix="-$major-$age-$revision"
++	  versuffix="-$major"
+ 	  ;;
+ 
+ 	*)
+@@ -2336,7 +2354,7 @@
+       fi
+ 
+       # Eliminate all temporary directories.
+-      for path in $uninst_path; do
++      for path in $notinst_path; do
+ 	lib_search_path=`echo "$lib_search_path " | sed -e 's% $path % %g'`
+ 	deplibs=`echo "$deplibs " | sed -e 's% -L$path % %g'`
+ 	dependency_libs=`echo "$dependency_libs " | sed -e 's% -L$path % %g'`
+@@ -2352,7 +2370,7 @@
+ 	  *) finalize_rpath="$finalize_rpath $libdir" ;;
+ 	  esac
+ 	done
+-	if test "$hardcode_into_libs" = no || test $build_old_libs = yes; then
++	if test $hardcode_into_libs != yes || test $build_old_libs = yes; then
+ 	  dependency_libs="$temp_xrpath $dependency_libs"
+ 	fi
+       fi
+@@ -2379,13 +2397,22 @@
+ 
+       if test "$build_libtool_libs" = yes; then
+ 	if test -n "$rpath"; then
+-	  case "$host" in
+-	  *-*-cygwin* | *-*-mingw* | *-*-os2* | *-*-beos*)
++	  case $host in
++	  *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos*)
+ 	    # these systems don't actually have a c library (as such)!
+ 	    ;;
++	  *-*-rhapsody* | *-*-darwin1.[012])
++	    # Rhapsody C library is in the System framework
++	    deplibs="$deplibs -framework System"
++	    ;;
++	  *-*-netbsd*)
++	    # Don't link with libc until the a.out ld.so is fixed.
++	    ;;
+ 	  *)
+-	    # Add libc to deplibs on all other systems.
+-	    deplibs="$deplibs -lc"
++	    # Add libc to deplibs on all other systems if necessary.
++	    if test $build_libtool_need_lc = "yes"; then
++	      deplibs="$deplibs -lc"
++	    fi
+ 	    ;;
+ 	  esac
+ 	fi
+@@ -2404,7 +2431,7 @@
+ 	major=""
+ 	newdeplibs=
+ 	droppeddeps=no
+-	case "$deplibs_check_method" in
++	case $deplibs_check_method in
+ 	pass_all)
+ 	  # Don't check for shared/static.  Everything works.
+ 	  # This might be a little naive.  We might want to check
+@@ -2429,7 +2456,7 @@
+ 	    for i in $deplibs; do
+ 	      name="`expr $i : '-l\(.*\)'`"
+ 	      # If $name is empty we are operating on a -L argument.
+-	      if test "$name" != "" ; then
++	      if test -n "$name" && test "$name" != "0"; then
+ 		libname=`eval \\$echo \"$libname_spec\"`
+ 		deplib_matches=`eval \\$echo \"$library_names_spec\"`
+ 		set dummy $deplib_matches
+@@ -2454,7 +2481,7 @@
+ 	    for i in $deplibs; do
+ 	      name="`expr $i : '-l\(.*\)'`"
+ 	     # If $name is empty we are operating on a -L argument.
+-	      if test "$name" != "" ; then
++	      if test -n "$name" && test "$name" != "0"; then
+ 		$rm conftest
+ 		$CC -o conftest conftest.c $i
+ 		# Did it work?
+@@ -2494,7 +2521,7 @@
+ 	  for a_deplib in $deplibs; do
+ 	    name="`expr $a_deplib : '-l\(.*\)'`"
+ 	    # If $name is empty we are operating on a -L argument.
+-	    if test "$name" != "" ; then
++	    if test -n "$name" && test "$name" != "0"; then
+ 	      libname=`eval \\$echo \"$libname_spec\"`
+ 	      for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
+ 		    potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
+@@ -2512,7 +2539,7 @@
+ 		      potlib="$potent_lib"
+ 		      while test -h "$potlib" 2>/dev/null; do
+ 			potliblink=`ls -ld $potlib | sed 's/.* -> //'`
+-			case "$potliblink" in
++			case $potliblink in
+ 			[\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";;
+ 			*) potlib=`$echo "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";;
+ 			esac
+@@ -2540,6 +2567,40 @@
+ 	    fi
+ 	  done # Gone through all deplibs.
+ 	  ;;
++	match_pattern*)
++	  set dummy $deplibs_check_method
++	  match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
++	  for a_deplib in $deplibs; do
++	    name="`expr $a_deplib : '-l\(.*\)'`"
++	    # If $name is empty we are operating on a -L argument.
++	    if test -n "$name" && test "$name" != "0"; then
++	      libname=`eval \\$echo \"$libname_spec\"`
++	      for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
++		potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
++		for potent_lib in $potential_libs; do
++		  if eval echo \"$potent_lib\" 2>/dev/null \
++		      | sed 10q \
++		      | egrep "$match_pattern_regex" > /dev/null; then
++		    newdeplibs="$newdeplibs $a_deplib"
++		    a_deplib=""
++		    break 2
++		  fi
++		done
++	      done
++	      if test -n "$a_deplib" ; then
++		droppeddeps=yes
++		echo
++		echo "*** Warning: This library needs some functionality provided by $a_deplib."
++		echo "*** I have the capability to make that library automatically link in when"
++		echo "*** you link to this library.  But I can only do this if you have a"
++		echo "*** shared version of the library, which you do not appear to have."
++	      fi
++	    else
++	      # Add a -L argument.
++	      newdeplibs="$newdeplibs $a_deplib"
++	    fi
++	  done # Gone through all deplibs.
++	  ;;
+ 	none | unknown | *)
+ 	  newdeplibs=""
+ 	  if $echo "X $deplibs" | $Xsed -e 's/ -lc$//' \
+@@ -2562,6 +2623,13 @@
+ 	libname=$libname_save
+ 	name=$name_save
+ 
++	case $host in
++	*-*-rhapsody* | *-*-darwin1.[012])
++	  # On Rhapsody replace the C library is the System framework
++	  newdeplibs=`$echo "X $newdeplibs" | $Xsed -e 's/ -lc / -framework System /'`
++	  ;;
++	esac
++
+ 	if test "$droppeddeps" = yes; then
+ 	  if test "$module" = yes; then
+ 	    echo
+@@ -2587,6 +2655,21 @@
+ 	    echo "*** The inter-library dependencies that have been dropped here will be"
+ 	    echo "*** automatically added whenever a program is linked with this library"
+ 	    echo "*** or is declared to -dlopen it."
++
++	    if test $allow_undefined = no; then
++	      echo
++	      echo "*** Since this library must not contain undefined symbols,"
++	      echo "*** because either the platform does not support them or"
++	      echo "*** it was explicitly requested with -no-undefined,"
++	      echo "*** libtool will only create a static version of it."
++	      if test "$build_old_libs" = no; then
++		oldlibs="$output_objdir/$libname.$libext"
++		build_libtool_libs=module
++		build_old_libs=yes
++	      else
++		build_libtool_libs=no
++	      fi
++	    fi
+ 	  fi
+ 	fi
+ 	# Done checking deplibs!
+@@ -2600,7 +2683,7 @@
+ 
+       # Test again, we may have decided not to build it any more
+       if test "$build_libtool_libs" = yes; then
+-	if test "$hardcode_into_libs" != no; then
++	if test $hardcode_into_libs = yes; then
+ 	  # Hardcode the library paths
+ 	  hardcode_libdirs=
+ 	  dep_rpath=
+@@ -2613,7 +2696,7 @@
+ 		  hardcode_libdirs="$libdir"
+ 		else
+ 		  # Just accumulate the unique libdirs.
+-		  case "$hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator" in
++		  case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
+ 		  *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
+ 		    ;;
+ 		  *)
+@@ -2666,6 +2749,7 @@
+ 	else
+ 	  soname="$realname"
+ 	fi
++	test -z "$dlname" && dlname=$soname
+ 
+ 	lib="$output_objdir/$realname"
+ 	for link
+@@ -2737,7 +2821,7 @@
+ 
+ 	    for xlib in $convenience; do
+ 	      # Extract the objects.
+-	      case "$xlib" in
++	      case $xlib in
+ 	      [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;;
+ 	      *) xabs=`pwd`"/$xlib" ;;
+ 	      esac
+@@ -2766,7 +2850,7 @@
+ 	fi
+ 
+ 	# Make a backup of the uninstalled library when relinking
+-	if test "$mode" = relink && test "$hardcode_into_libs" = all; then
++	if test "$mode" = relink; then
+ 	  $run eval '(cd $output_objdir && $rm ${realname}U && $mv $realname ${realname}U)' || exit $?
+ 	fi
+ 
+@@ -2785,7 +2869,7 @@
+ 	IFS="$save_ifs"
+ 
+ 	# Restore the uninstalled library and exit
+-	if test "$mode" = relink && test "$hardcode_into_libs" = all; then
++	if test "$mode" = relink; then
+ 	  $run eval '(cd $output_objdir && $rm ${realname}T && $mv $realname ${realname}T && $mv "$realname"U $realname)' || exit $?
+ 	  exit 0
+ 	fi
+@@ -2831,7 +2915,7 @@
+ 	$echo "$modename: warning: \`-release' is ignored for objects" 1>&2
+       fi
+ 
+-      case "$output" in
++      case $output in
+       *.lo)
+ 	if test -n "$objs$old_deplibs"; then
+ 	  $echo "$modename: cannot build library object \`$output' from non-libtool objects" 1>&2
+@@ -2876,7 +2960,7 @@
+ 
+ 	  for xlib in $convenience; do
+ 	    # Extract the objects.
+-	    case "$xlib" in
++	    case $xlib in
+ 	    [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;;
+ 	    *) xabs=`pwd`"/$xlib" ;;
+ 	    esac
+@@ -2972,6 +3056,9 @@
+       ;;
+ 
+     prog)
++      case $host in
++	*cygwin*) output=`echo $output | sed -e 's,.exe$,,;s,$,.exe,'` ;;
++      esac
+       if test -n "$vinfo"; then
+ 	$echo "$modename: warning: \`-version-info' is ignored for programs" 1>&2
+       fi
+@@ -2987,6 +3074,14 @@
+ 	fi
+       fi
+ 
++      case $host in
++      *-*-rhapsody* | *-*-darwin1.[012])
++	# On Rhapsody replace the C library is the System framework
++	compile_deplibs=`$echo "X $compile_deplibs" | $Xsed -e 's/ -lc / -framework System /'`
++	finalize_deplibs=`$echo "X $finalize_deplibs" | $Xsed -e 's/ -lc / -framework System /'`
++	;;
++      esac
++
+       compile_command="$compile_command $compile_deplibs"
+       finalize_command="$finalize_command $finalize_deplibs"
+ 
+@@ -3011,7 +3106,7 @@
+ 	      hardcode_libdirs="$libdir"
+ 	    else
+ 	      # Just accumulate the unique libdirs.
+-	      case "$hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator" in
++	      case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
+ 	      *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
+ 		;;
+ 	      *)
+@@ -3029,9 +3124,9 @@
+ 	  *) perm_rpath="$perm_rpath $libdir" ;;
+ 	  esac
+ 	fi
+-	case "$host" in
+-	*-*-cygwin* | *-*-mingw* | *-*-os2*)
+-	  case ":$dllsearchpath:" in
++	case $host in
++	*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
++	  case :$dllsearchpath: in
+ 	  *":$libdir:"*) ;;
+ 	  *) dllsearchpath="$dllsearchpath:$libdir";;
+ 	  esac
+@@ -3055,7 +3150,7 @@
+ 	      hardcode_libdirs="$libdir"
+ 	    else
+ 	      # Just accumulate the unique libdirs.
+-	      case "$hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator" in
++	      case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
+ 	      *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
+ 		;;
+ 	      *)
+@@ -3098,7 +3193,7 @@
+       fi
+ 
+       if test -n "$dlsyms"; then
+-	case "$dlsyms" in
++	case $dlsyms in
+ 	"") ;;
+ 	*.c)
+ 	  # Discover the nlist of each of the dlfiles.
+@@ -3229,7 +3324,7 @@
+ 	  fi
+ 
+ 	  pic_flag_for_symtable=
+-	  case "$host" in
++	  case $host in
+ 	  # compiling the symbol table file with pic_flag works around
+ 	  # a FreeBSD bug that causes programs to crash when -lm is
+ 	  # linked before any other PIC object.  But we must not use
+@@ -3297,7 +3392,7 @@
+ 	# We should set the shlibpath_var
+ 	rpath=
+ 	for dir in $temp_rpath; do
+-	  case "$dir" in
++	  case $dir in
+ 	  [\\/]* | [A-Za-z]:[\\/]*)
+ 	    # Absolute path.
+ 	    rpath="$rpath$dir:"
+@@ -3352,7 +3447,7 @@
+ 	exit 0
+       fi
+ 
+-      if test "$hardcode_action" = relink || test "$hardcode_into_libs" = all; then
++      if test "$hardcode_action" = relink; then
+ 	# Fast installation is not supported
+ 	link_command="$compile_var$compile_command$compile_rpath"
+ 	relink_command="$finalize_var$finalize_command$finalize_rpath"
+@@ -3390,9 +3485,14 @@
+       if test -n "$relink_command"; then
+ 	# Preserve any variables that may affect compiler behavior
+ 	for var in $variables_saved_for_relink; do
+-	  eval var_value=\$$var
+-	  var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"`
+-	  relink_command="$var=\"$var_value\"; export $var; $relink_command"
++	  if eval test -z \"\${$var+set}\"; then
++	    relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command"
++	  elif eval var_value=\$$var; test -z "$var_value"; then
++	    relink_command="$var=; export $var; $relink_command"
++	  else
++	    var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"`
++	    relink_command="$var=\"$var_value\"; export $var; $relink_command"
++	  fi
+ 	done
+ 	relink_command="cd `pwd`; $relink_command"
+ 	relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"`
+@@ -3400,7 +3500,7 @@
+ 
+       # Quote $echo for shipping.
+       if test "X$echo" = "X$SHELL $0 --fallback-echo"; then
+-	case "$0" in
++	case $0 in
+ 	[\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $0 --fallback-echo";;
+ 	*) qecho="$SHELL `pwd`/$0 --fallback-echo";;
+ 	esac
+@@ -3416,6 +3516,11 @@
+ 	case $output in
+ 	  *.exe) output=`echo $output|sed 's,.exe$,,'` ;;
+ 	esac
++	# test for cygwin because mv fails w/o .exe extensions
++	case $host in
++	  *cygwin*) exeext=.exe ;;
++	  *) exeext= ;;
++	esac
+ 	$rm $output
+ 	trap "$rm $output; exit 1" 1 2 15
+ 
+@@ -3445,7 +3550,7 @@
+ # This environment variable determines our operation mode.
+ if test \"\$libtool_install_magic\" = \"$magic\"; then
+   # install mode needs the following variable:
+-  uninst_deplibs='$uninst_deplibs'
++  notinst_deplibs='$notinst_deplibs'
+ else
+   # When we are sourced in execute mode, \$file and \$echo are already set.
+   if test \"\$libtool_execute_magic\" != \"$magic\"; then
+@@ -3494,7 +3599,7 @@
+ 
+ 	if test "$fast_install" = yes; then
+ 	  echo >> $output "\
+-  program=lt-'$outputname'
++  program=lt-'$outputname'$exeext
+   progdir=\"\$thisdir/$objdir\"
+ 
+   if test ! -f \"\$progdir/\$program\" || \\
+@@ -3565,7 +3670,7 @@
+ 	case $host in
+ 	# win32 systems need to use the prog path for dll
+ 	# lookup to work
+-	*-*-cygwin*)
++	*-*-cygwin* | *-*-pw32*)
+ 	  $echo >> $output "\
+       exec \$progdir/\$program \${1+\"\$@\"}
+ "
+@@ -3639,7 +3744,7 @@
+ 	# Add in members from convenience archives.
+ 	for xlib in $addlibs; do
+ 	  # Extract the objects.
+-	  case "$xlib" in
++	  case $xlib in
+ 	  [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;;
+ 	  *) xabs=`pwd`"/$xlib" ;;
+ 	  esac
+@@ -3700,7 +3805,7 @@
+     fi
+ 
+     # Now create the libtool archive.
+-    case "$output" in
++    case $output in
+     *.la)
+       old_library=
+       test "$build_old_libs" = yes && old_library="$libname.$libext"
+@@ -3708,9 +3813,14 @@
+ 
+       # Preserve any variables that may affect compiler behavior
+       for var in $variables_saved_for_relink; do
+-	eval var_value=\$$var
+-	var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"`
+-	relink_command="$var=\"$var_value\"; export $var; $relink_command"
++	if eval test -z \"\${$var+set}\"; then
++	  relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command"
++	elif eval var_value=\$$var; test -z "$var_value"; then
++	  relink_command="$var=; export $var; $relink_command"
++	else
++	  var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"`
++	  relink_command="$var=\"$var_value\"; export $var; $relink_command"
++	fi
+       done
+       # Quote the link command for shipping.
+       relink_command="cd `pwd`; $SHELL $0 --mode=relink $libtool_args"
+@@ -3727,7 +3837,7 @@
+ 	    # Replace all uninstalled libtool libraries with the installed ones
+ 	    newdependency_libs=
+ 	    for deplib in $dependency_libs; do
+-	      case "$deplib" in
++	      case $deplib in
+ 	      *.la)
+ 		name=`$echo "X$deplib" | $Xsed -e 's%^.*/%%'`
+ 		eval libdir=`sed -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
+@@ -3765,6 +3875,11 @@
+ 	    dlprefiles="$newdlprefiles"
+ 	  fi
+ 	  $rm $output
++	  # place dlname in correct position for cygwin
++	  tdlname=$dlname
++	  case $host,$output,$installed,$module,$dlname in
++	    *cygwin*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;;
++	  esac
+ 	  $echo > $output "\
+ # $outputname - a libtool library file
+ # Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
+@@ -3773,7 +3888,7 @@
+ # It is necessary for linking the library.
+ 
+ # The name that we can dlopen(3).
+-dlname='$dlname'
++dlname='$tdlname'
+ 
+ # Names of this library.
+ library_names='$library_names'
+@@ -3798,8 +3913,7 @@
+ 
+ # Directory that this library needs to be installed in:
+ libdir='$install_libdir'"
+-	  if test $hardcode_into_libs = all &&
+-	     test "$installed" = no && test $need_relink = yes; then
++	  if test "$installed" = no && test $need_relink = yes; then
+ 	    $echo >> $output "\
+ relink_command=\"$relink_command\""
+ 	  fi
+@@ -3821,10 +3935,12 @@
+ 
+     # There may be an optional sh(1) argument at the beginning of
+     # install_prog (especially on Windows NT).
+-    if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh; then
++    if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh ||
++       # Allow the use of GNU shtool's install command.
++       $echo "X$nonopt" | $Xsed | grep shtool > /dev/null; then
+       # Aesthetically quote it.
+       arg=`$echo "X$nonopt" | $Xsed -e "$sed_quote_subst"`
+-      case "$arg" in
++      case $arg in
+       *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \	]*|*]*)
+ 	arg="\"$arg\""
+ 	;;
+@@ -3840,7 +3956,7 @@
+     # The real first argument should be the name of the installation program.
+     # Aesthetically quote it.
+     arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
+-    case "$arg" in
++    case $arg in
+     *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \	]*|*]*)
+       arg="\"$arg\""
+       ;;
+@@ -3863,7 +3979,7 @@
+ 	continue
+       fi
+ 
+-      case "$arg" in
++      case $arg in
+       -d) isdir=yes ;;
+       -f) prev="-f" ;;
+       -g) prev="-g" ;;
+@@ -3888,7 +4004,7 @@
+ 
+       # Aesthetically quote the argument.
+       arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
+-      case "$arg" in
++      case $arg in
+       *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \	]*|*]*)
+ 	arg="\"$arg\""
+ 	;;
+@@ -3939,11 +4055,11 @@
+ 	exit 1
+       fi
+     fi
+-    case "$destdir" in
++    case $destdir in
+     [\\/]* | [A-Za-z]:[\\/]*) ;;
+     *)
+       for file in $files; do
+-	case "$file" in
++	case $file in
+ 	*.lo) ;;
+ 	*)
+ 	  $echo "$modename: \`$destdir' must be an absolute directory name" 1>&2
+@@ -3965,7 +4081,7 @@
+     for file in $files; do
+ 
+       # Do each installation.
+-      case "$file" in
++      case $file in
+       *.$libext)
+ 	# Do the static libraries later.
+ 	staticlibs="$staticlibs $file"
+@@ -3984,7 +4100,7 @@
+ 	old_library=
+ 	relink_command=
+ 	# If there is no directory component, then add one.
+-	case "$file" in
++	case $file in
+ 	*/* | *\\*) . $file ;;
+ 	*) . ./$file ;;
+ 	esac
+@@ -4007,7 +4123,7 @@
+ 	test "X$dir" = "X$file/" && dir=
+ 	dir="$dir$objdir"
+ 
+-	if test "$hardcode_into_libs" = all && test -n "$relink_command"; then
++	if test -n "$relink_command"; then
+ 	  $echo "$modename: warning: relinking \`$file'" 1>&2
+ 	  $show "$relink_command"
+ 	  if $run eval "$relink_command"; then :
+@@ -4025,7 +4141,7 @@
+ 	  shift
+ 
+ 	  srcname="$realname"
+-	  test "$hardcode_into_libs" = all && test -n "$relink_command" && srcname="$realname"T
++	  test -n "$relink_command" && srcname="$realname"T
+ 
+ 	  # Install the shared library and build the symlinks.
+ 	  $show "$install_prog $dir/$srcname $destdir/$realname"
+@@ -4080,7 +4196,7 @@
+ 	fi
+ 
+ 	# Deduce the name of the destination old-style object file.
+-	case "$destfile" in
++	case $destfile in
+ 	*.lo)
+ 	  staticdest=`$echo "X$destfile" | $Xsed -e "$lo2o"`
+ 	  ;;
+@@ -4123,28 +4239,28 @@
+ 
+ 	# Do a test to see if this is really a libtool program.
+ 	if (sed -e '4q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
+-	  uninst_deplibs=
++	  notinst_deplibs=
+ 	  relink_command=
+ 
+ 	  # If there is no directory component, then add one.
+-	  case "$file" in
++	  case $file in
+ 	  */* | *\\*) . $file ;;
+ 	  *) . ./$file ;;
+ 	  esac
+ 
+ 	  # Check the variables that should have been set.
+-	  if test -z "$uninst_deplibs"; then
++	  if test -z "$notinst_deplibs"; then
+ 	    $echo "$modename: invalid libtool wrapper script \`$file'" 1>&2
+ 	    exit 1
+ 	  fi
+ 
+ 	  finalize=yes
+-	  for lib in $uninst_deplibs; do
++	  for lib in $notinst_deplibs; do
+ 	    # Check to see that each library is installed.
+ 	    libdir=
+ 	    if test -f "$lib"; then
+ 	      # If there is no directory component, then add one.
+-	      case "$lib" in
++	      case $lib in
+ 	      */* | *\\*) . $lib ;;
+ 	      *) . ./$lib ;;
+ 	      esac
+@@ -4158,7 +4274,7 @@
+ 
+ 	  relink_command=
+ 	  # If there is no directory component, then add one.
+-	  case "$file" in
++	  case $file in
+ 	  */* | *\\*) . $file ;;
+ 	  *) . ./$file ;;
+ 	  esac
+@@ -4196,6 +4312,23 @@
+ 	  fi
+ 	fi
+ 
++	# remove .exe since cygwin /usr/bin/install will append another
++	# one anyways
++	case $install_prog,$host in
++	/usr/bin/install*,*cygwin*)
++	  case $file:$destfile in
++	  *.exe:*.exe)
++	    # this is ok
++	    ;;
++	  *.exe:*)
++	    destfile=$destfile.exe
++	    ;;
++	  *:*.exe)
++	    destfile=`echo $destfile | sed -e 's,.exe$,,'`
++	    ;;
++	  esac
++	  ;;
++	esac
+ 	$show "$install_prog$stripme $file $destfile"
+ 	$run eval "$install_prog\$stripme \$file \$destfile" || exit $?
+ 	test -n "$outputname" && ${rm}r "$tmpdir"
+@@ -4277,7 +4410,7 @@
+     fi
+ 
+     # Exit here if they wanted silent mode.
+-    test "$show" = : && exit 0
++    test "$show" = ":" && exit 0
+ 
+     echo "----------------------------------------------------------------------"
+     echo "Libraries have been installed in:"
+@@ -4287,7 +4420,7 @@
+     echo
+     echo "If you ever happen to want to link against installed libraries"
+     echo "in a given directory, LIBDIR, you must either use libtool, and"
+-    echo "specify the full pathname of the library, or use \`-LLIBDIR'"
++    echo "specify the full pathname of the library, or use the \`-LLIBDIR'"
+     echo "flag during linking and do at least one of the following:"
+     if test -n "$shlibpath_var"; then
+       echo "   - add LIBDIR to the \`$shlibpath_var' environment variable"
+@@ -4337,7 +4470,7 @@
+       fi
+ 
+       dir=
+-      case "$file" in
++      case $file in
+       *.la)
+ 	# Check to see that this really is a libtool archive.
+ 	if (sed -e '2q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
+@@ -4352,7 +4485,7 @@
+ 	library_names=
+ 
+ 	# If there is no directory component, then add one.
+-	case "$file" in
++	case $file in
+ 	*/* | *\\*) . $file ;;
+ 	*) . ./$file ;;
+ 	esac
+@@ -4407,13 +4540,13 @@
+     args=
+     for file
+     do
+-      case "$file" in
++      case $file in
+       -*) ;;
+       *)
+ 	# Do a test to see if this is really a libtool program.
+ 	if (sed -e '4q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
+ 	  # If there is no directory component, then add one.
+-	  case "$file" in
++	  case $file in
+ 	  */* | *\\*) . $file ;;
+ 	  *) . ./$file ;;
+ 	  esac
+@@ -4463,6 +4596,8 @@
+     modename="$modename: $mode"
+     rm="$nonopt"
+     files=
++    rmforce=
++    exit_status=0
+ 
+     # This variable tells wrapper scripts just to set variables rather
+     # than running their programs.
+@@ -4470,7 +4605,8 @@
+ 
+     for arg
+     do
+-      case "$arg" in
++      case $arg in
++      -f) rm="$rm $arg"; rmforce=yes ;;
+       -*) rm="$rm $arg" ;;
+       *) files="$files $arg" ;;
+       esac
+@@ -4482,6 +4618,8 @@
+       exit 1
+     fi
+ 
++    rmdirs=
++
+     for file in $files; do
+       dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`
+       if test "X$dir" = "X$file"; then
+@@ -4493,9 +4631,29 @@
+       name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
+       test $mode = uninstall && objdir="$dir"
+ 
++      # Remember objdir for removal later, being careful to avoid duplicates
++      if test $mode = clean; then
++	case " $rmdirs " in
++	  *" $objdir "*) ;;
++	  *) rmdirs="$rmdirs $objdir" ;;
++	esac
++      fi
++
++      # Don't error if the file doesn't exist and rm -f was used.
++      if (test -L "$file") >/dev/null 2>&1 \
++        || (test -h "$file") >/dev/null 2>&1 \
++	|| test -f "$file"; then
++        :
++      elif test -d "$file"; then
++        exit_status=1
++	continue
++      elif test "$rmforce" = yes; then
++        continue
++      fi
++
+       rmfiles="$file"
+ 
+-      case "$name" in
++      case $name in
+       *.la)
+ 	# Possibly a libtool archive, so verify it.
+ 	if (sed -e '2q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
+@@ -4517,6 +4675,9 @@
+ 		IFS="$save_ifs"
+ 		$show "$cmd"
+ 		$run eval "$cmd"
++		if test $? != 0 && test "$rmforce" != yes; then
++		  exit_status=1
++		fi
+ 	      done
+ 	      IFS="$save_ifs"
+ 	    fi
+@@ -4529,6 +4690,9 @@
+ 		IFS="$save_ifs"
+ 		$show "$cmd"
+ 		$run eval "$cmd"
++		if test $? != 0 && test "$rmforce" != yes; then
++		  exit_status=1
++		fi
+ 	      done
+ 	      IFS="$save_ifs"
+ 	    fi
+@@ -4559,9 +4723,18 @@
+ 	;;
+       esac
+       $show "$rm $rmfiles"
+-      $run $rm $rmfiles
++      $run $rm $rmfiles || exit_status=1
+     done
+-    exit 0
++
++    # Try to remove the ${objdir}s in the directories where we deleted files
++    for dir in $rmdirs; do
++      if test -d "$dir"; then
++	$show "rmdir $dir"
++	$run rmdir $dir >/dev/null 2>&1
++      fi
++    done
++
++    exit $exit_status
+     ;;
+ 
+   "")
+@@ -4577,7 +4750,7 @@
+ fi # test -z "$show_help"
+ 
+ # We need to display help for each of the modes.
+-case "$mode" in
++case $mode in
+ "") $echo \
+ "Usage: $modename [OPTION]... [MODE-ARG]...
+ 
+@@ -4632,6 +4805,8 @@
+ This mode accepts the following additional options:
+ 
+   -o OUTPUT-FILE    set the output file name to OUTPUT-FILE
++  -prefer-pic       try to building PIC objects only
++  -prefer-non-pic   try to building non-PIC objects only
+   -static           always build a \`.o' file suitable for static linking
+ 
+ COMPILE-COMMAND is a command to be used in creating a \`standard' object file
+diff -ruN heimdal-0.3e-old/tools/Makefile.in heimdal-0.3e/tools/Makefile.in
+--- heimdal-0.3e-old/tools/Makefile.in	Mon Feb  5 18:59:35 2001
++++ heimdal-0.3e/tools/Makefile.in	Sat Jun 16 15:14:51 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -68,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -92,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -132,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -175,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
--- heimdal-0.6.3.orig/debian/patches-0.3e/031_autotools
+++ heimdal-0.6.3/debian/patches-0.3e/031_autotools
@@ -0,0 +1,9 @@
+--- heimdal-0.3e/ltmain.sh.orig	Fri May 11 05:34:59 2001
++++ heimdal-0.3e/ltmain.sh	Thu May 31 02:14:09 2001
+@@ -1862,6 +1862,7 @@
+ 	    else
+ 	      # We cannot seem to hardcode it, guess we'll fake it.
+ 	      add_dir="-L$libdir"
++	      test -d $ladir/.libs && add_dir="$add_dir -L$ladir/.libs"
+ 	      add="-l$name"
+ 	    fi
--- heimdal-0.6.3.orig/debian/patches-0.3e-old/001_replay_log
+++ heimdal-0.6.3/debian/patches-0.3e-old/001_replay_log
@@ -0,0 +1,94 @@
+From nobody Wed Feb 21 09:03:25 2001
+X-From-Line: maildir Tue Feb 20 05:53:57 2001
+Return-Path: <heimdal-discuss-owner@sics.se>
+Delivered-To: bam@snoopy.apana.org.au
+Received: from color.sics.se (color.sics.se [193.10.66.199])
+	by snoopy.apana.org.au (Postfix) with ESMTP id AEF2734409
+	for <bam@snoopy.apana.org.au>; Tue, 20 Feb 2001 05:53:16 +1100 (EST)
+Received: (from majordom@localhost)
+	by color.sics.se (8.9.3/8.9.3) id TAA17651
+        for heimdal-discuss-outgoing; Mon, 19 Feb 2001 19:13:02 +0100 (MET)
+	env-from (owner-heimdal-discuss@sics.se)
+Received: from blubb.pdc.kth.se (blubb.pdc.kth.se [130.237.221.147])
+	by color.sics.se (8.9.3/8.9.3) with ESMTP id TAA17639
+        for <heimdal-discuss@sics.se>; Mon, 19 Feb 2001 19:13:00 +0100 (MET)
+	env-from (joda@pdc.kth.se)
+Received: from joda by blubb.pdc.kth.se with local (Exim 3.13 #1)
+	id 14Uunz-0003Yx-00; Mon, 19 Feb 2001 19:12:59 +0100
+To: GOMBAS Gabor <gombasg@inf.elte.hu>
+Cc: heimdal-discuss@sics.se
+Subject: Re: Recovering from corrupted database
+References: <20010219173202.K50240@pandora.inf.elte.hu>
+	<xof8zn2a7cz.fsf@blubb.pdc.kth.se>
+From: joda@pdc.kth.se (Johan Danielsson)
+Date: 19 Feb 2001 19:12:59 +0100
+In-Reply-To: joda@pdc.kth.se's message of "19 Feb 2001 18:51:56 +0100"
+X-Gnus-Mail-Source: maildir:~/Maildir/new
+Message-ID: <xofvgq68rtg.fsf@blubb.pdc.kth.se>
+User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7
+MIME-Version: 1.0
+Content-Type: text/plain; charset=iso-8859-1
+Content-Transfer-Encoding: 8bit
+X-MIME-Autoconverted: from quoted-printable to 8bit by color.sics.se id TAA17640
+Sender: owner-heimdal-discuss@sics.se
+Precedence: bulk
+Lines: 57
+Xref: snoopy.apana.org.au heimdal.discuss:320
+
+joda@pdc.kth.se (Johan Danielsson) writes:
+
+> [...] but you'd still have to hack replay_log to ignore versions
+> older than that (we should fix this).
+
+Something like this.
+
+/Johan
+
+--- heimdal-0.3e/lib/kadm5/replay_log.c	1999/12/04 19:51:11	1.7
++++ heimdal-0.3e/lib/kadm5/replay_log.c	2001/02/19 18:10:43	1.8
+@@ -1,5 +1,5 @@
+ /*
+- * Copyright (c) 1997, 1998, 1999 Kungliga Tekniska Högskolan
++ * Copyright (c) 1997, 1998, 1999, 2001 Kungliga Tekniska Högskolan
+  * (Royal Institute of Technology, Stockholm, Sweden). 
+  * All rights reserved. 
+  *
+@@ -33,8 +33,11 @@
+ 
+ #include "iprop.h"
+ 
+-RCSID("$Id: replay_log.c,v 1.7 1999/12/04 19:51:11 assar Exp $");
++RCSID("$Id: replay_log.c,v 1.8 2001/02/19 18:10:43 joda Exp $");
+ 
++int start_version = -1;
++int end_version = -1;
++
+ static void
+ apply_entry(kadm5_server_context *server_context,
+ 	    u_int32_t ver,
+@@ -45,6 +48,12 @@
+ {
+     krb5_error_code ret;
+ 
++    if((start_version != -1 && ver < start_version) ||
++       (end_version != -1 && ver > end_version)) {
++	/* XXX skip this entry */
++	(*sp->seek)(sp, len, SEEK_CUR);
++	return;
++    }
+     printf ("ver %u... ", ver);
+     fflush (stdout);
+ 
+@@ -60,6 +69,8 @@
+ int version_flag;
+ int help_flag;
+ struct getargs args[] = {
++    { "start-version", 0, arg_integer, &start_version, "start replay with this version" },
++    { "end-version", 0, arg_integer, &end_version, "end replay with this version" },
+     { "version", 0, arg_flag, &version_flag },
+     { "help", 0, arg_flag, &help_flag }
+ };
+
+
+
+
--- heimdal-0.6.3.orig/debian/patches-0.3e-old/000_weakkey
+++ heimdal-0.6.3/debian/patches-0.3e-old/000_weakkey
@@ -0,0 +1,97 @@
+From nobody Sat Feb 17 13:52:39 2001
+X-From-Line: maildir Sat Feb 17 03:12:10 2001
+Return-Path: <heimdal-discuss-owner@sics.se>
+Delivered-To: bam@snoopy.apana.org.au
+Received: from color.sics.se (color.sics.se [193.10.66.199])
+	by snoopy.apana.org.au (Postfix) with ESMTP id 6219432E7F
+	for <bam@snoopy.apana.org.au>; Sat, 17 Feb 2001 03:11:43 +1100 (EST)
+Received: (from majordom@localhost)
+	by color.sics.se (8.9.3/8.9.3) id QAA06249
+        for heimdal-discuss-outgoing; Fri, 16 Feb 2001 16:30:33 +0100 (MET)
+	env-from (owner-heimdal-discuss@sics.se)
+Received: from assaris.sics.se (assaris.sics.se [193.10.66.234])
+	by color.sics.se (8.9.3/8.9.3) with ESMTP id QAA06243
+        for <heimdal-discuss@sics.se>; Fri, 16 Feb 2001 16:30:31 +0100 (MET)
+	env-from (assar@assaris.sics.se)
+Received: (from assar@localhost)
+	by assaris.sics.se (8.9.3/8.9.3) id QAA55487;
+	Fri, 16 Feb 2001 16:30:43 +0100 (CET)
+	(envelope-from assar)
+To: "Brandon S. Allbery KF8NH" <allbery@ece.cmu.edu>
+Cc: heimdal-discuss@sics.se
+Subject: Re: Weak key detection (was Re: OpenSSL patch for Heimdal 0.3d)
+References: <48060000.982281449@pyanfar.ece.cmu.edu>
+From: Assar Westerlund <assar@sics.se>
+Date: 16 Feb 2001 16:30:42 +0100
+In-Reply-To: "Brandon S. Allbery KF8NH"'s message of "Thu, 15 Feb 2001 18:57:30 -0500"
+X-Gnus-Mail-Source: maildir:~/Maildir/new
+Message-ID: <5litmay7a5.fsf@assaris.sics.se>
+User-Agent: Gnus/5.070098 (Pterodactyl Gnus v0.98) Emacs/20.6
+MIME-Version: 1.0
+Content-Type: multipart/mixed; boundary="=-=-="
+Sender: owner-heimdal-discuss@sics.se
+Precedence: bulk
+Lines: 61
+Xref: snoopy.apana.org.au heimdal.discuss:313
+
+
+--=-=-=
+
+"Brandon S. Allbery KF8NH" <allbery@ece.cmu.edu> writes:
+> Tangent:  Jeff Hutzelman just reminded me that he has found a problem with 
+> the weak key detection in kth-krb and heimdal.
+
+He sent me mail actually, and I've fixed it.  Patch follows.  And
+there's no reason to panic really, the probability of hiting these
+keys is very small, but of course the test should be done correctly.
+
+/assar
+
+
+--=-=-=
+Content-Disposition: attachment
+
+rsh: juguete.sics.se: Password has expired
+Index: set_key.c
+===================================================================
+RCS file: /afs/pdc.kth.se/src/packages/kth-krb/SourceRepository/lib/des/set_key.c,v
+retrieving revision 1.4
+retrieving revision 1.6
+diff -u -w -u -w -r1.4 -r1.6
+--- heimdal-0.3e/lib/des/set_key.c	1997/06/22 10:14:05	1.4
++++ heimdal-0.3e/lib/des/set_key.c	2001/02/16 15:26:37	1.6
+@@ -97,7 +97,7 @@
+ 	return(1);
+ 	}
+ 
+-/* Weak and semi week keys as take from
++/* Weak and semi week keys were originally as take from
+  * %A D.W. Davies
+  * %A W.L. Price
+  * %T Security for Computer Networks
+@@ -106,13 +106,18 @@
+  * Many thanks to smb@ulysses.att.com (Steven Bellovin) for the reference
+  * (and actual cblock values).
+  */
++
++/* The corrected values are from FIPS 74:
++ * http://www.itl.nist.gov/fipspubs/fip74.htm
++ */
++
+ #define NUM_WEAK_KEY	16
+ static des_cblock weak_keys[NUM_WEAK_KEY]={
+ 	/* weak keys */
+ 	{0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01},
+ 	{0xFE,0xFE,0xFE,0xFE,0xFE,0xFE,0xFE,0xFE},
+-	{0x1F,0x1F,0x1F,0x1F,0x1F,0x1F,0x1F,0x1F},
+-	{0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0},
++	{0x1F,0x1F,0x1F,0x1F,0x0E,0x0E,0x0E,0x0E},
++	{0xE0,0xE0,0xE0,0xE0,0xF1,0xF1,0xF1,0xF1},
+ 	/* semi-weak keys */
+ 	{0x01,0xFE,0x01,0xFE,0x01,0xFE,0x01,0xFE},
+ 	{0xFE,0x01,0xFE,0x01,0xFE,0x01,0xFE,0x01},
+
+--=-=-=--
+
+
+
--- heimdal-0.6.3.orig/debian/patches-0.3e-old/011_sharedlibs
+++ heimdal-0.6.3/debian/patches-0.3e-old/011_sharedlibs
@@ -0,0 +1,401 @@
+diff -ruN heimdal-0.3e-old/admin/Makefile.am heimdal-0.3e/admin/Makefile.am
+--- heimdal-0.3e-old/admin/Makefile.am	Sat Dec 16 11:16:45 2000
++++ heimdal-0.3e/admin/Makefile.am	Tue Feb  6 13:33:25 2001
+@@ -2,7 +2,7 @@
+ 
+ include $(top_srcdir)/Makefile.am.common
+ 
+-INCLUDES += $(INCLUDE_readline)
++INCLUDES += $(INCLUDE_readline) $(INCLUDE_ss)
+ 
+ man_MANS = ktutil.8
+ 
+@@ -22,6 +22,6 @@
+ 	$(top_builddir)/lib/krb5/libkrb5.la \
+ 	$(LIB_des) \
+ 	$(top_builddir)/lib/asn1/libasn1.la \
+-	$(top_builddir)/lib/sl/libsl.la \
++	$(LIB_ss) \
+ 	$(LIB_readline) \
+ 	$(LIB_roken)
+diff -ruN heimdal-0.3e-old/admin/ktutil_locl.h heimdal-0.3e/admin/ktutil_locl.h
+--- heimdal-0.3e-old/admin/ktutil_locl.h	Wed Jul 19 23:58:19 2000
++++ heimdal-0.3e/admin/ktutil_locl.h	Tue Feb  6 13:33:25 2001
+@@ -60,7 +60,7 @@
+ #include <kadm5/admin.h>
+ #include <kadm5/kadm5_err.h>
+ 
+-#include <sl.h>
++#include <ss.h>
+ #include <getarg.h>
+ 
+ extern krb5_context context;
+diff -ruN heimdal-0.3e-old/cf/Makefile.am.common heimdal-0.3e/cf/Makefile.am.common
+--- heimdal-0.3e-old/cf/Makefile.am.common	Tue Dec  5 20:11:09 2000
++++ heimdal-0.3e/cf/Makefile.am.common	Tue Feb  6 13:33:25 2001
+@@ -10,7 +10,7 @@
+ 
+ CP	= cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ ## set build_HEADERZ to headers that should just be installed in build tree
+ 
+@@ -56,6 +56,13 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
++
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
+ 
+ LEXLIB = @LEXLIB@
+ 
+diff -ruN heimdal-0.3e-old/cf/krb-com_err.m4 heimdal-0.3e/cf/krb-com_err.m4
+--- heimdal-0.3e-old/cf/krb-com_err.m4	Thu Jan  1 10:00:00 1970
++++ heimdal-0.3e/cf/krb-com_err.m4	Tue Feb  6 13:33:25 2001
+@@ -0,0 +1,35 @@
++dnl
++dnl Tests for readline functions
++dnl
++
++dnl el_init
++
++AC_DEFUN(KRB_COM_ERR,[
++dnl com_err
++
++ac_foo=no
++if test "$with_com_err" = yes; then
++	COMPILE_ET='compile_et'
++#elif test "$ac_cv_func_com_err" = yes; then
++#	COMPILE_ET='compile_et'
++else
++	COMPILE_ET='$(top_builddir)/lib/com_err/compile_et'
++	DIR_com_err="com_err"
++	LIB_com_err='$(top_builddir)/lib/com_err/libcom_err.la'
++fi
++
++if true; then
++#	!FIXME! why doesn't built in version of com_err work?
++	COMPILE_ET='$(top_builddir)/lib/com_err/compile_et'
++	DIR_com_err="com_err"
++	LIB_com_err='$(top_builddir)/lib/com_err/libcom_err.la'
++fi
++
++#if test "$com_err_libdir"; then
++#	LIB_com_err="-rpath $com_err_libdir $LIB_com_err"
++#fi
++AC_DEFINE(HAVE_COM_ERR, 1, 
++	[Define if you have a com_err compatible library.])dnl
++
++])
++AC_SUBST(COMPILE_ET)
+diff -ruN heimdal-0.3e-old/cf/krb-readline.m4 heimdal-0.3e/cf/krb-readline.m4
+--- heimdal-0.3e-old/cf/krb-readline.m4	Wed Nov 15 11:47:08 2000
++++ heimdal-0.3e/cf/krb-readline.m4	Tue Feb  6 13:33:25 2001
+@@ -28,16 +28,18 @@
+ 	:
+ elif test "$ac_cv_func_el_init" = yes; then
+ 	ac_foo=yes
++	DIR_readline="editline"
+ 	LIB_readline="\$(top_builddir)/lib/editline/libel_compat.la $LIB_el_init"
+ else
++	DIR_readline="editline"
+ 	LIB_readline='$(top_builddir)/lib/editline/libeditline.la'
+ fi
+ AM_CONDITIONAL(el_compat, test "$ac_foo" = yes)
+-if test "$readline_libdir"; then
+-	LIB_readline="-rpath $readline_libdir $LIB_readline"
+-fi
++#if test "$readline_libdir"; then
++#	LIB_readline="-rpath $readline_libdir $LIB_readline"
++#fi
+ LIB_readline="$LIB_readline \$(LIB_tgetent)"
+ AC_DEFINE(HAVE_READLINE, 1, 
+ 	[Define if you have a readline compatible library.])dnl
+ 
+-])
+\ No newline at end of file
++])
+diff -ruN heimdal-0.3e-old/cf/krb-ss.m4 heimdal-0.3e/cf/krb-ss.m4
+--- heimdal-0.3e-old/cf/krb-ss.m4	Thu Jan  1 10:00:00 1970
++++ heimdal-0.3e/cf/krb-ss.m4	Tue Feb  6 13:33:25 2001
+@@ -0,0 +1,36 @@
++dnl
++dnl Tests for readline functions
++dnl
++
++dnl el_init
++
++AC_DEFUN(KRB_SS,[
++dnl com_err
++
++ac_foo=no
++if test "$with_ss" = yes; then
++	LIB_sl="$LIB_ss"
++else
++	DIR_ss="sl"
++	LIB_sl='$(top_builddir)/lib/sl/libsl.la'
++	LIB_ss='$(top_builddir)/lib/sl/libss.la'
++	INCLUDE_ss='-I$(top_builddir)/include/sl'
++fi
++
++
++#if test "$ss_libdir"; then
++#	LIB_ss="-rpath $sl_libdir $LIB_ss"
++#fi
++
++if true; then
++#	!FIXME! why doesn't built in version of ss work?
++	LIB_sl='$(top_builddir)/lib/sl/libsl.la'
++	LIB_ss='$(top_builddir)/lib/sl/libss.la'
++	INCLUDE_ss='-I$(top_builddir)/include/ss'
++fi
++
++AC_DEFINE(HAVE_SS, 1, 
++	[Define if you have a ss compatible library.])dnl
++
++])
++AC_SUBST(LIB_sl)
+diff -ruN heimdal-0.3e-old/cf/test-package.m4 heimdal-0.3e/cf/test-package.m4
+--- heimdal-0.3e-old/cf/test-package.m4	Fri Dec 15 15:54:24 2000
++++ heimdal-0.3e/cf/test-package.m4	Tue Feb  6 13:33:25 2001
+@@ -2,7 +2,7 @@
+ dnl
+ dnl AC_TEST_PACKAGE_NEW(package,headers,libraries,extra libs,default locations, conditional)
+ 
+-AC_DEFUN(AC_TEST_PACKAGE,[AC_TEST_PACKAGE_NEW($1,[#include <$2>],$4,,$5)])
++AC_DEFUN(AC_TEST_PACKAGE,[MY_TEST_PACKAGE_NEW($1,[#include <$2>],$4,,$5)])
+ 
+ AC_DEFUN(AC_TEST_PACKAGE_NEW,[
+ AC_ARG_WITH($1,
+@@ -39,7 +39,7 @@
+ header_dirs=
+ lib_dirs=
+ d='$5'
+-for i in $d; do
++for i in $d /usr; do
+ 	header_dirs="$header_dirs $i/include"
+ 	lib_dirs="$lib_dirs $i/lib$abilibdirext"
+ done
+@@ -72,6 +72,7 @@
+ if test "$ires" -a "$lres" -a "$with_$1" != "no"; then
+ 	$1_includedir="$ires"
+ 	$1_libdir="$lres"
++	DIR_$1=
+ 	INCLUDE_$1="-I$$1_includedir"
+ 	LIB_$1="-L$$1_libdir $3"
+ 	m4_ifval([$6],
+@@ -80,6 +81,7 @@
+ 	with_$1=yes
+ 	AC_MSG_RESULT([headers $ires, libraries $lres])
+ else
++	DIR_$1="$1"
+ 	INCLUDE_$1=
+ 	LIB_$1=
+ 	with_$1=no
+@@ -88,6 +90,7 @@
+ dnl m4_ifval([$6],
+ dnl 	AM_CONDITIONAL($6, test "$with_$1" = yes)
+ dnl 	AM_CONDITIONAL(upcase($1), test "$with_$1" = yes))
++AC_SUBST(DIR_$1)
+ AC_SUBST(INCLUDE_$1)
+ AC_SUBST(LIB_$1)
+ ])
+diff -ruN heimdal-0.3e-old/configure.in heimdal-0.3e/configure.in
+--- heimdal-0.3e-old/configure.in	Mon Feb  5 18:58:05 2001
++++ heimdal-0.3e/configure.in	Tue Feb  6 13:33:25 2001
+@@ -228,6 +228,12 @@
+ [#include <stdio.h>
+  #include <readline.h>],-lreadline,,, READLINE)
+ 
++AC_TEST_PACKAGE_NEW(com_err,
++[#include <et/com_err.h>],-lcom_err,,, COM_ERR)
++
++AC_TEST_PACKAGE_NEW(ss,
++[#include <ss.h>],-lss,,, SS)
++
+ AC_TEST_PACKAGE_NEW(hesiod,[#include <hesiod.h>],-lhesiod,,, HESIOD)
+ 
+ KRB_C_BIGENDIAN
+@@ -578,6 +584,8 @@
+ AC_SUBST(LIB_des_appl)
+ 
+ KRB_READLINE
++KRB_COM_ERR
++KRB_SS
+ 
+ dnl telnet muck --------------------------------------------------
+ 
+diff -ruN heimdal-0.3e-old/include/ss/Makefile.am heimdal-0.3e/include/ss/Makefile.am
+--- heimdal-0.3e-old/include/ss/Makefile.am	Thu Jan  1 10:00:00 1970
++++ heimdal-0.3e/include/ss/Makefile.am	Tue Feb  6 13:33:25 2001
+@@ -0,0 +1,5 @@
++# $Id: Makefile.am,v 1.6 1999/03/20 13:58:17 joda Exp $
++
++include $(top_srcdir)/Makefile.am.common
++
++CLEANFILES = ss.h sl.h
+diff -ruN heimdal-0.3e-old/kadmin/Makefile.am heimdal-0.3e/kadmin/Makefile.am
+--- heimdal-0.3e-old/kadmin/Makefile.am	Thu Nov 16 09:51:12 2000
++++ heimdal-0.3e/kadmin/Makefile.am	Tue Feb  6 13:33:25 2001
+@@ -2,7 +2,7 @@
+ 
+ include $(top_srcdir)/Makefile.am.common
+ 
+-INCLUDES += $(INCLUDE_readline) $(INCLUDE_krb4) -I$(srcdir)/../lib/krb5
++INCLUDES += $(INCLUDE_readline) $(INCLUDE_krb4) $(INCLUDE_ss) -I$(srcdir)/../lib/krb5
+ 
+ sbin_PROGRAMS = kadmin
+ 
+@@ -62,7 +62,7 @@
+ kadmin_LDADD = \
+ 	$(top_builddir)/lib/kadm5/libkadm5clnt.la \
+ 	$(top_builddir)/lib/kadm5/libkadm5srv.la \
+-	$(top_builddir)/lib/sl/libsl.la \
++	$(LIB_ss) \
+ 	$(LIB_readline) \
+ 	$(COMMON_LDADD) \
+ 	$(LIB_dlopen)
+diff -ruN heimdal-0.3e-old/kadmin/kadmin.c heimdal-0.3e/kadmin/kadmin.c
+--- heimdal-0.3e-old/kadmin/kadmin.c	Sat Jan 27 09:20:52 2001
++++ heimdal-0.3e/kadmin/kadmin.c	Tue Feb  6 13:33:25 2001
+@@ -32,7 +32,7 @@
+  */
+ 
+ #include "kadmin_locl.h"
+-#include <sl.h>
++#include <ss.h>
+ 
+ RCSID("$Id: kadmin.c,v 1.34 2001/01/26 22:20:52 joda Exp $");
+ 
+diff -ruN heimdal-0.3e-old/lib/Makefile.am heimdal-0.3e/lib/Makefile.am
+--- heimdal-0.3e-old/lib/Makefile.am	Thu Nov 16 10:11:05 2000
++++ heimdal-0.3e/lib/Makefile.am	Tue Feb  6 13:33:25 2001
+@@ -12,5 +12,5 @@
+ dir_dce = kdfs
+ endif
+ 
+-SUBDIRS = @DIR_roken@ vers editline com_err sl asn1 @DIR_des@ krb5 \
++SUBDIRS = @DIR_roken@ vers @DIR_readline@ @DIR_com_err@ @DIR_ss@ asn1 @DIR_des@ krb5 \
+ 	kafs hdb kadm5 gssapi auth $(dir_45) $(dir_otp) $(dir_dce)
+diff -ruN heimdal-0.3e-old/lib/asn1/Makefile.am heimdal-0.3e/lib/asn1/Makefile.am
+--- heimdal-0.3e-old/lib/asn1/Makefile.am	Tue Jan 30 12:46:53 2001
++++ heimdal-0.3e/lib/asn1/Makefile.am	Tue Feb  6 13:33:25 2001
+@@ -2,6 +2,8 @@
+ 
+ include $(top_srcdir)/Makefile.am.common
+ 
++INCLUDES += $(INCLUDE_com_err)
++
+ YFLAGS = -d
+ 
+ lib_LTLIBRARIES = libasn1.la
+@@ -82,11 +84,11 @@
+ 	$(BUILT_SOURCES)
+ 
+ asn1_compile_LDADD = \
+-	$(LIB_roken) $(LEXLIB)
++        $(LIB_roken) $(LEXLIB)
+ 
+ check_der_LDADD = \
+ 	libasn1.la \
+-	../com_err/libcom_err.la \
++	$(LIB_com_err) \
+ 	$(LIB_roken)
+ 
+ asn1_print_LDADD = $(check_der_LDADD)
+diff -ruN heimdal-0.3e-old/lib/asn1/libasn1.h heimdal-0.3e/lib/asn1/libasn1.h
+--- heimdal-0.3e-old/lib/asn1/libasn1.h	Fri Dec  3 04:05:02 1999
++++ heimdal-0.3e/lib/asn1/libasn1.h	Tue Feb  6 13:33:25 2001
+@@ -47,4 +47,17 @@
+ #include "asn1_err.h"
+ #include <parse_units.h>
+ 
++#ifdef HACKED_AND_STUPID
++#define ASN1_BAD_TIMEFORMAT BAD_TIMEFORMAT
++#define ASN1_MISSING_FIELD MISSING_FIELD
++#define ASN1_MISPLACED_FIELD MISPLACED_FIELD
++#define ASN1_TYPE_MISMATCH TYPE_MISMATCH
++#define ASN1_OVERFLOW OVERFLOW
++#define ASN1_OVERRUN OVERRUN
++#define ASN1_BAD_ID BAD_ID
++#define ASN1_BAD_LENGTH BAD_LENGTH
++#define ASN1_BAD_FORMAT BAD_FORMAT
++#define ASN1_PARSE_ERROR PARSE_ERROR
++#endif
++
+ #endif /* __LIBASN1_H__ */
+diff -ruN heimdal-0.3e-old/lib/auth/sia/Makefile.am heimdal-0.3e/lib/auth/sia/Makefile.am
+--- heimdal-0.3e-old/lib/auth/sia/Makefile.am	Tue Jan 30 09:38:36 2001
++++ heimdal-0.3e/lib/auth/sia/Makefile.am	Tue Feb  6 13:33:25 2001
+@@ -24,7 +24,7 @@
+ 	$(top_builddir)/lib/asn1/.libs/libasn1.a	\
+ 	$(LIB_krb4)					\
+ 	$(top_builddir)/lib/des/.libs/libdes.a		\
+-	$(top_builddir)/lib/com_err/.libs/libcom_err.a	\
++	@LIB_sl@
+ 	$(top_builddir)/lib/roken/.libs/libroken.a	\
+ 	$(LIB_getpwnam_r)				\
+ 	-lc
+@@ -35,7 +35,7 @@
+ 	$(top_builddir)/lib/asn1/.libs/libasn1.so	\
+ 	$(LIB_krb4)					\
+ 	$(top_builddir)/lib/des/.libs/libdes.so		\
+-	$(top_builddir)/lib/com_err/.libs/libcom_err.so	\
++	@LIB_sl@
+ 	$(top_builddir)/lib/roken/.libs/libroken.so	\
+ 	$(LIB_getpwnam_r)				\
+ 	-lc
+diff -ruN heimdal-0.3e-old/lib/krb5/Makefile.am heimdal-0.3e/lib/krb5/Makefile.am
+--- heimdal-0.3e-old/lib/krb5/Makefile.am	Tue Jan 30 12:50:52 2001
++++ heimdal-0.3e/lib/krb5/Makefile.am	Tue Feb  6 13:34:32 2001
+@@ -15,7 +15,7 @@
+ 	$(LIB_roken)
+ 
+ libkrb5_la_LIBADD = \
+-	../com_err/error.lo ../com_err/com_err.lo \
++	$(LIB_com_err) \
+ 	$(LIB_des) \
+ 	$(top_builddir)/lib/asn1/libasn1.la \
+ 	$(LIB_roken)
+diff -ruN heimdal-0.3e-old/lib/sl/Makefile.am heimdal-0.3e/lib/sl/Makefile.am
+--- heimdal-0.3e-old/lib/sl/Makefile.am	Sat Jan 27 02:00:09 2001
++++ heimdal-0.3e/lib/sl/Makefile.am	Tue Feb  6 13:33:25 2001
+@@ -4,8 +4,6 @@
+ 
+ YFLAGS = -d
+ 
+-include_HEADERS = sl.h
+-
+ lib_LTLIBRARIES = libsl.la libss.la
+ libsl_la_LDFLAGS = -version-info 1:1:1
+ libss_la_LDFLAGS = -version-info 1:3:1
+@@ -31,7 +29,21 @@
+ EXTRA_mk_cmds_SOURCES = snprintf.c roken_rename.h
+ 
+ ssincludedir = $(includedir)/ss
+-ssinclude_HEADERS = ss.h
++buildssinclude = $(buildinclude)/ss
++ssinclude_HEADERS = sl.h ss.h
++
++install-build-headers:: $(ssinclude_HEADERS)
++	@foo='$(ssinclude_HEADERS)'; \
++	for f in $$foo; do \
++		f=`basename $$f`; \
++		if test -f "$(srcdir)/$$f"; then file="$(srcdir)/$$f"; \
++		else file="$$f"; fi; \
++		if cmp -s  $$file $(buildssinclude)/$$f 2> /dev/null ; then \
++		: ; else \
++			echo "cp $$file $(buildssinclude)/$$f";\
++			cp $$file $(buildssinclude)/$$f; \
++		fi ; \
++	done
+ 
+ CLEANFILES = lex.c parse.c parse.h snprintf.c strtok_r.c
+ 
--- heimdal-0.6.3.orig/debian/patches-0.3e-old/010_openssl
+++ heimdal-0.6.3/debian/patches-0.3e-old/010_openssl
@@ -0,0 +1,406 @@
+diff -ruN heimdal-0.3e-old/admin/ktutil_locl.h heimdal-0.3e/admin/ktutil_locl.h
+--- heimdal-0.3e-old/admin/ktutil_locl.h	Wed Jul 19 23:58:19 2000
++++ heimdal-0.3e/admin/ktutil_locl.h	Wed Feb  7 12:18:43 2001
+@@ -54,7 +54,11 @@
+ #include <parse_time.h>
+ #include <roken.h>
+ 
++#ifdef HAVE_OPENSSL_DES_H
++#include <openssl/des.h>
++#else
+ #include <des.h>
++#endif
+ 
+ #include <krb5.h>
+ #include <kadm5/admin.h>
+diff -ruN heimdal-0.3e-old/appl/ftp/ftp/ftp_locl.h heimdal-0.3e/appl/ftp/ftp/ftp_locl.h
+--- heimdal-0.3e-old/appl/ftp/ftp/ftp_locl.h	Fri Dec  3 03:58:29 1999
++++ heimdal-0.3e/appl/ftp/ftp/ftp_locl.h	Wed Feb  7 12:19:39 2001
+@@ -129,7 +129,11 @@
+ 
+ #include "roken.h"
+ #include "security.h"
+-#include <des.h> /* for des_read_pw_string */
++#ifdef HAVE_OPENSSL_DES_H
++#include <openssl/des.h>
++#else
++#include <des.h>
++#endif
+ 
+ #if defined(__sun__) && !defined(__svr4)
+ int fclose(FILE*);
+diff -ruN heimdal-0.3e-old/appl/kx/common.c heimdal-0.3e/appl/kx/common.c
+--- heimdal-0.3e-old/appl/kx/common.c	Wed Jan 17 21:09:16 2001
++++ heimdal-0.3e/appl/kx/common.c	Wed Feb  7 12:20:16 2001
+@@ -405,7 +405,7 @@
+      auth.name_length = strlen(auth.name);
+      auth.data_length = cookie_sz;
+      auth.data = (char*)cookie;
+-     des_rand_data (cookie, cookie_sz);
++     krb5_generate_random_block (cookie, cookie_sz);
+ 
+      strlcpy(xauthfile, "/tmp/AXXXXXX", xauthfile_size);
+      fd = mkstemp(xauthfile);
+diff -ruN heimdal-0.3e-old/appl/otp/otp_locl.h heimdal-0.3e/appl/otp/otp_locl.h
+--- heimdal-0.3e-old/appl/otp/otp_locl.h	Fri Dec  3 03:58:32 1999
++++ heimdal-0.3e/appl/otp/otp_locl.h	Wed Feb  7 12:20:53 2001
+@@ -52,5 +52,9 @@
+ #endif
+ #include <roken.h>
+ #include <err.h>
++#ifdef HAVE_OPENSSL_DES_H
++#include <openssl/des.h>
++#else
+ #include <des.h>
++#endif
+ #include <otp.h>
+diff -ruN heimdal-0.3e-old/appl/su/su.c heimdal-0.3e/appl/su/su.c
+--- heimdal-0.3e-old/appl/su/su.c	Sat Jan 27 03:02:49 2001
++++ heimdal-0.3e/appl/su/su.c	Wed Feb  7 12:21:30 2001
+@@ -50,7 +50,11 @@
+ 
+ #include <pwd.h>
+ 
++#ifdef HAVE_OPENSSL_DES_H
++#include <openssl/des.h>
++#else
+ #include <des.h>
++#endif
+ #include <krb5.h>
+ #include <kafs.h>
+ #include <err.h>
+diff -ruN heimdal-0.3e-old/appl/telnet/libtelnet/enc_des.c heimdal-0.3e/appl/telnet/libtelnet/enc_des.c
+--- heimdal-0.3e-old/appl/telnet/libtelnet/enc_des.c	Fri Jul 10 09:16:23 1998
++++ heimdal-0.3e/appl/telnet/libtelnet/enc_des.c	Wed Feb  7 12:23:14 2001
+@@ -50,8 +50,6 @@
+ #include "encrypt.h"
+ #include "misc-proto.h"
+ 
+-#include <des.h>
+-
+ extern int encrypt_debug_mode;
+ 
+ #define	CFB	0
+@@ -208,19 +206,7 @@
+ 		/*
+ 		 * Create a random feed and send it over.
+ 		 */
+-#ifndef OLD_DES_RANDOM_KEY
+ 		des_new_random_key(&fbp->temp_feed);
+-#else
+-		/*
+-		 * From des_cryp.man "If the des_check_key flag is non-zero,
+-		 *  des_set_key will check that the key passed is
+-		 *  of odd parity and is not a week or semi-weak key."
+-		 */
+-		do {
+-			des_random_key(fbp->temp_feed);
+-			des_set_odd_parity(fbp->temp_feed);
+-		} while (des_is_weak_key(fbp->temp_feed));
+-#endif
+ 		des_ecb_encrypt(&fbp->temp_feed,
+ 				&fbp->temp_feed,
+ 				fbp->krbdes_sched, 1);
+@@ -404,7 +390,7 @@
+ 	fb64_stream_key(fbp->krbdes_key, &fbp->streams[DIR_DECRYPT-1]);
+ 
+ 	if (fbp->once == 0) {
+-#ifndef OLD_DES_RANDOM_KEY
++#ifndef HAVE_OPENSSL_DES_H
+ 		des_init_random_number_generator(&fbp->krbdes_key);
+ #endif
+ 		fbp->once = 1;
+diff -ruN heimdal-0.3e-old/appl/telnet/libtelnet/encrypt.h heimdal-0.3e/appl/telnet/libtelnet/encrypt.h
+--- heimdal-0.3e-old/appl/telnet/libtelnet/encrypt.h	Sat Jan 25 10:10:56 1997
++++ heimdal-0.3e/appl/telnet/libtelnet/encrypt.h	Wed Feb  7 12:24:00 2001
+@@ -90,6 +90,13 @@
+ 
+ #define	SK_DES		1	/* Matched Kerberos v5 KEYTYPE_DES */
+ 
++#ifdef HAVE_OPENSSL_DES_H
++#include <openssl/des.h>
++#define des_new_random_key des_random_key
++#else
++#include <des.h>
++#endif
++
+ #include "enc-proto.h"
+ 
+ extern int encrypt_debug_mode;
+diff -ruN heimdal-0.3e-old/appl/telnet/libtelnet/kerberos.c heimdal-0.3e/appl/telnet/libtelnet/kerberos.c
+--- heimdal-0.3e-old/appl/telnet/libtelnet/kerberos.c	Thu Nov 23 13:28:06 2000
++++ heimdal-0.3e/appl/telnet/libtelnet/kerberos.c	Wed Feb  7 12:24:27 2001
+@@ -65,7 +65,6 @@
+ #include <arpa/telnet.h>
+ #endif
+ #include <stdio.h>
+-#include <des.h>	/* BSD wont include this in krb.h, so we do it here */
+ #include <krb.h>
+ #include <pwd.h>
+ #include <stdlib.h>
+diff -ruN heimdal-0.3e-old/appl/telnet/libtelnet/krb4encpwd.c heimdal-0.3e/appl/telnet/libtelnet/krb4encpwd.c
+--- heimdal-0.3e-old/appl/telnet/libtelnet/krb4encpwd.c	Fri Sep 17 06:41:34 1999
++++ heimdal-0.3e/appl/telnet/libtelnet/krb4encpwd.c	Wed Feb  7 12:24:43 2001
+@@ -74,7 +74,6 @@
+ #include <pwd.h>
+ #include <stdio.h>
+ 
+-#include <des.h>
+ #include <krb.h>
+ #include <stdlib.h>
+ #include <string.h>
+diff -ruN heimdal-0.3e-old/configure.in heimdal-0.3e/configure.in
+--- heimdal-0.3e-old/configure.in	Mon Feb  5 18:58:05 2001
++++ heimdal-0.3e/configure.in	Wed Feb  7 12:25:28 2001
+@@ -292,6 +292,7 @@
+ 	netinet/in_systm.h			\
+ 	netinet6/in6.h				\
+ 	netinfo/ni.h				\
++	openssl/crypto.h			\
+ 	paths.h					\
+ 	pthread.h				\
+ 	pty.h					\
+@@ -566,7 +567,10 @@
+ "$ac_cv_func_SHA1_Init" = "yes" -a \
+ "$ac_cv_func_RC4" = "yes"; then
+   DIR_des=''
+-  LIB_des="-R $krb4_libdir -L$krb4_libdir $ac_cv_funclib_MD4_Init"
++  if test "$krb4_libdir" != ""; then
++    LIB_des="-rpath $krb4_libdir -L$krb4_libdir"
++  fi
++  LIB_des="$LIB_des $ac_cv_funclib_MD4_Init"
+   LIB_des_appl="$LIB_des"
+ else
+   DIR_des='des'
+diff -ruN heimdal-0.3e-old/kadmin/kadmin_locl.h heimdal-0.3e/kadmin/kadmin_locl.h
+--- heimdal-0.3e-old/kadmin/kadmin_locl.h	Tue Sep 19 23:46:18 2000
++++ heimdal-0.3e/kadmin/kadmin_locl.h	Wed Feb  7 12:27:09 2001
+@@ -83,7 +83,11 @@
+ #endif
+ #include <err.h>
+ #include <roken.h>
++#ifdef HAVE_OPENSSL_DES_H
++#include <openssl/des.h>
++#else
+ #include <des.h>
++#endif
+ #include <krb5.h>
+ #include <krb5_locl.h>
+ #include <hdb.h>
+diff -ruN heimdal-0.3e-old/kadmin/random_password.c heimdal-0.3e/kadmin/random_password.c
+--- heimdal-0.3e-old/kadmin/random_password.c	Fri Dec  3 04:04:58 1999
++++ heimdal-0.3e/kadmin/random_password.c	Wed Feb  7 12:30:13 2001
+@@ -57,8 +57,9 @@
+ {
+ #ifdef OTP_STYLE
+     {
+-	des_cblock newkey;
++	OtpKey newkey;
+ 
++	krb5_generate_random_block(&newkey, sizeof(newkey));
+ 	des_new_random_key(&newkey);
+ 	otp_print_stddict (newkey, pw, len);
+ 	strlwr(pw);
+@@ -80,11 +81,11 @@
+ #ifndef OTP_STYLE
+ /* return a random value in range 0-127 */
+ static int
+-RND(des_cblock *key, int *left)
++RND(unsigned char *key, int keylen, int *left)
+ {
+     if(*left == 0){
+-	des_new_random_key(key);
+-	*left = 8;
++	krb5_generate_random_block(key, keylen);
++	*left = keylen;
+     }
+     (*left)--;
+     return ((unsigned char*)key)[*left];
+@@ -120,7 +121,7 @@
+     } *classes;
+     va_list ap;
+     int len, i;
+-    des_cblock rbuf; /* random buffer */
++    unsigned char rbuf[8]; /* random buffer */
+     int rleft = 0;
+ 
+     classes = malloc(num_classes * sizeof(*classes));
+@@ -138,11 +139,12 @@
+ 	return;
+     for(i = 0; i < len; i++) {
+ 	int j;
+-	int x = RND(&rbuf, &rleft) % (len - i);
++	int x = RND(rbuf, sizeof(rbuf), &rleft) % (len - i);
+ 	int t = 0;
+ 	for(j = 0; j < num_classes; j++) {
+ 	    if(x < t + classes[j].freq) {
+-		(*pw)[i] = classes[j].str[RND(&rbuf, &rleft) % classes[j].len];
++		(*pw)[i] = classes[j].str[RND(rbuf, sizeof(rbuf), &rleft) %
++		    classes[j].len];
+ 		classes[j].freq--;
+ 		break;
+ 	    }
+diff -ruN heimdal-0.3e-old/kdc/headers.h heimdal-0.3e/kdc/headers.h
+--- heimdal-0.3e-old/kdc/headers.h	Fri Aug  4 21:21:38 2000
++++ heimdal-0.3e/kdc/headers.h	Wed Feb  7 12:30:47 2001
+@@ -82,7 +82,11 @@
+ #include <getarg.h>
+ #include <base64.h>
+ #include <parse_units.h>
++#ifdef HAVE_OPENSSL_DES_H
++#include <openssl/des.h>
++#else
+ #include <des.h>
++#endif
+ #include <krb5.h>
+ #include <krb5_locl.h>
+ #include <hdb.h>
+diff -ruN heimdal-0.3e-old/kpasswd/kpasswd_locl.h heimdal-0.3e/kpasswd/kpasswd_locl.h
+--- heimdal-0.3e-old/kpasswd/kpasswd_locl.h	Fri Aug  4 21:22:51 2000
++++ heimdal-0.3e/kpasswd/kpasswd_locl.h	Wed Feb  7 12:31:32 2001
+@@ -95,7 +95,11 @@
+ #include <err.h>
+ #include <roken.h>
+ #include <getarg.h>
++#ifdef HAVE_OPENSSL_DES_H
++#include <openssl/des.h>
++#else
+ #include <des.h>
++#endif
+ #include <krb5.h>
+ 
+ #endif /* __KPASSWD_LOCL_H__ */
+diff -ruN heimdal-0.3e-old/lib/hdb/hdb_locl.h heimdal-0.3e/lib/hdb/hdb_locl.h
+--- heimdal-0.3e-old/lib/hdb/hdb_locl.h	Tue Nov 14 17:57:17 2000
++++ heimdal-0.3e/lib/hdb/hdb_locl.h	Wed Feb  7 12:32:11 2001
+@@ -56,7 +56,11 @@
+ #endif
+ #include <roken.h>
+ 
++#ifdef HAVE_OPENSSL_DES_H
++#include <openssl/des.h>
++#else
+ #include <des.h>
++#endif
+ #include <krb5.h>
+ #include <hdb.h>
+ #include <hdb-private.h>
+diff -ruN heimdal-0.3e-old/lib/hdb/mkey.c heimdal-0.3e/lib/hdb/mkey.c
+--- heimdal-0.3e-old/lib/hdb/mkey.c	Tue Jan 30 12:20:57 2001
++++ heimdal-0.3e/lib/hdb/mkey.c	Wed Feb  7 12:32:36 2001
+@@ -437,9 +437,6 @@
+     if (ret)
+ 	return ret;
+     db->master_key = mkey;
+-#if 0 /* XXX - why? */
+-    des_set_random_generator_seed(key.keyvalue.data);
+-#endif
+     db->master_key_set = 1;
+     return 0;
+ }
+diff -ruN heimdal-0.3e-old/lib/krb5/crypto.c heimdal-0.3e/lib/krb5/crypto.c
+--- heimdal-0.3e-old/lib/krb5/crypto.c	Wed Jan 31 04:10:55 2001
++++ heimdal-0.3e/lib/krb5/crypto.c	Wed Feb  7 12:38:11 2001
+@@ -2532,6 +2532,71 @@
+  *                                                          *
+  ************************************************************/
+ 
++#ifdef HAVE_OPENSSL_DES_H
++/* From openssl/crypto/rand/rand_lcl.h */
++#define ENTROPY_NEEDED 20
++static int seed_something(void)
++{
++    int fd = -1;
++    size_t len;
++    char buf[1024], seedfile[256];
++
++    /* If there is a seed file, load it. But such a file cannot be trusted,
++       so use 0 for the entropy estimate */
++    if (RAND_file_name(seedfile, sizeof(seedfile))) {
++	fd = open(seedfile, O_RDONLY);
++	if (fd >= 0) {
++	    read(fd, buf, sizeof(buf));
++	    /* Use the full buffer anyway */
++	    RAND_add(buf, sizeof(buf), 0.0);
++	}
++	else
++	    seedfile[0] = '\0';
++    }
++    else
++	seedfile[0] = '\0';
++
++    /* Calling RAND_status() will try to use /dev/urandom if it exists so
++       we do not have to deal with it. */
++    if (RAND_status() != 1) {
++	krb5_context context;
++	char *p;
++
++	/* Try using egd */
++	if (!krb5_init_context(&context)) {
++	    p = krb5_config_get_string(context, NULL, "libdefaults",
++		"egd_socket", NULL);
++	    if (p != NULL)
++		RAND_egd_bytes(p, ENTROPY_NEEDED);
++	    krb5_free_context(context);
++	}
++    }
++    
++    if (RAND_status() == 1)	{
++	/* Update the seed file */
++	if (seedfile[0])
++	    RAND_write_file(seedfile);
++
++	return 0;
++    }
++    else
++	return -1;
++}
++
++void
++krb5_generate_random_block(void *buf, size_t len)
++{
++    static int rng_initialized = 0;
++    
++    if (!rng_initialized) {
++	if (seed_something())
++	    krb5_abortx(NULL, "Fatal: could not seed the random number generator");
++	
++	rng_initialized = 1;
++    }
++    RAND_bytes(buf, len);
++}
++#else
+ void
+ krb5_generate_random_block(void *buf, size_t len)
+ {
+@@ -2557,6 +2622,7 @@
+ 	buf = (char*)buf + sizeof(out);
+     }
+ }
++#endif
+ 
+ static void
+ DES3_postproc(krb5_context context,
+diff -ruN heimdal-0.3e-old/lib/krb5/krb5_locl.h heimdal-0.3e/lib/krb5/krb5_locl.h
+--- heimdal-0.3e-old/lib/krb5/krb5_locl.h	Mon Jan 29 13:09:00 2001
++++ heimdal-0.3e/lib/krb5/krb5_locl.h	Wed Feb  7 12:33:59 2001
+@@ -111,6 +111,7 @@
+ 
+ #ifdef HAVE_OPENSSL_DES_H
+ #include <openssl/des.h>
++#define des_new_random_key des_random_key
+ #else
+ #include <des.h>
+ #endif
+diff -ruN heimdal-0.3e-old/tools/krb5-config.in heimdal-0.3e/tools/krb5-config.in
+--- heimdal-0.3e-old/tools/krb5-config.in	Mon Jan 29 17:56:51 2001
++++ heimdal-0.3e/tools/krb5-config.in	Wed Feb  7 13:12:11 2001
+@@ -99,7 +99,7 @@
+ 	lib_flags="$lib_flags -lkadm5srv"
+ 	;;
+     esac
+-    lib_flags="$lib_flags -lkrb5 -lasn1 @LIB_des_appl@ -lroken"
++    lib_flags="$lib_flags -lkrb5 -lasn1 -lcom_err @LIB_des_appl@ -lroken"
+     lib_flags="$lib_flags @LIB_crypt@ @LIB_dbopen@ @LIBS@"
+     echo $lib_flags
+ fi
--- heimdal-0.6.3.orig/debian/patches-0.3e-old/020_missingconf
+++ heimdal-0.6.3/debian/patches-0.3e-old/020_missingconf
@@ -0,0 +1,45 @@
+Index: heimdal-0.3d/kdc.conf
+===================================================================
+RCS file: kdc.conf
+diff -N kdc.conf
+*** /dev/null	Tue Nov 14 18:36:24 2000
+--- heimdal-0.3d/kdc.conf	Fri Nov 17 11:25:12 2000
+***************
+*** 0 ****
+--- 1,22 ----
++ [kdc]
++ #key-file = /var/lib/heimdal-kdc/key-file
++ logging = FILE:/var/log/heimdal-kdc.log
++ 
++ [kdcdefaults]
++ kdc_ports = 88,750
++ 
++ [realms]
++ REALM.ORG = {
++ # everything here needs checking. This might be MIT syntax, not Heimdal's
++ # syntax. At least, everything here should be defaults (or not even used).
++   database_name = /var/lib/heimdal-kdc/heimdal
++   admin_keytab = /var/lib/heimdal-kdc/kadmind.keytab
++   acl_file = /var/lib/heimdal-kdc/kadmind.acl
++   dict_file = /var/lib/heimdal-kdc/kadmind.dict
++   key_stash_file = /var/lib/heimdal-kdc/m-key
++   kadmind_port = 749
++   max_life = 10h 0m 0s
++   max_renewable_life = 7d 0h 0m 0s
++ #  master_key_type = des-cbc-crc
++ #  supported_enctypes = des-cbc-crc:normal des-cbc-crc:v4
++ }
+Index: heimdal-0.3d/logrotate
+===================================================================
+RCS file: logrotate
+diff -N logrotate
+*** /dev/null	Tue Nov 14 18:36:24 2000
+--- heimdal-0.3d/logrotate	Fri Nov 17 11:25:12 2000
+***************
+*** 0 ****
+--- 1,5 ----
++ /var/log/heimdal-kdc.log {
++ 	rotate 5
++ 	weekly
++ 	compress
++ }
--- heimdal-0.6.3.orig/debian/patches-0.3e-old/012_maildir
+++ heimdal-0.6.3/debian/patches-0.3e-old/012_maildir
@@ -0,0 +1,40 @@
+Index: heimdal-0.3d/appl/popper/pop_pass.c
+===================================================================
+RCS file: /homes/bam/cvsroot/debian/heimdal/appl/popper/pop_pass.c,v
+retrieving revision 1.1.1.3
+retrieving revision 1.5
+diff -c -r1.1.1.3 -r1.5
+*** heimdal-0.3d/appl/popper/pop_pass.c 2000/05/19 05:23:42 1.1.1.3
+--- heimdal-0.3d/appl/popper/pop_pass.c	2000/05/19 05:33:06	1.5
+***************
+*** 197,203 ****
+  	    p->ipaddr, p->user);
+  
+      /*  Build the name of the user's maildrop */
+!     snprintf(p->drop_name, sizeof(p->drop_name), "%s/%s", POP_MAILDIR, p->user);
+  
+      if(stat(p->drop_name, &st) < 0 || !S_ISDIR(st.st_mode)){
+  	/*  Make a temporary copy of the user's maildrop */
+--- 197,218 ----
+  	    p->ipaddr, p->user);
+  
+      /*  Build the name of the user's maildrop */
+! 
+!     /* Try ~/Maildir */
+!     if (pw->pw_dir != NULL)
+! 	{
+!         snprintf(p->drop_name, sizeof(p->drop_name), "%s/%s", pw->pw_dir, "Maildir");
+! 	}
+!     if(pw->pw_dir != NULL && stat(p->drop_name, &st) < 0)
+! 	{
+!     	/* else try ~/Mailbox */
+! 	snprintf(p->drop_name, sizeof(p->drop_name), "%s/%s", pw->pw_dir, "Mailbox");
+! 	}
+!     if(pw->pw_dir == NULL || stat(p->drop_name, &st) < 0)
+! 	{
+!     	/* else try /var/spool/mail/userid */
+! 	snprintf(p->drop_name, sizeof(p->drop_name), "%s/%s", POP_MAILDIR, p->user);
+! 	}
+  
+      if(stat(p->drop_name, &st) < 0 || !S_ISDIR(st.st_mode)){
+  	/*  Make a temporary copy of the user's maildrop */
--- heimdal-0.6.3.orig/debian/patches-0.3e-old/013_cache
+++ heimdal-0.6.3/debian/patches-0.3e-old/013_cache
@@ -0,0 +1,63 @@
+--- heimdal-0.3c/lib/krb5/cache.c.orig-heimdal	Tue Nov 14 18:41:58 2000
++++ heimdal-0.3c/lib/krb5/cache.c	Tue Nov 14 19:02:07 2000
+@@ -89,11 +89,24 @@
+ {
+     krb5_error_code ret;
+     krb5_ccache p;
++    krb5_cc_ops *q;
+ 
+     p = malloc(sizeof(*p));
+     if(p == NULL)
+ 	return KRB5_CC_NOMEM;
+-    p->ops = ops;
++
++    q = malloc(sizeof(*q));
++    if(q == NULL)
++        return KRB5_CC_NOMEM;
++    memcpy(q, ops, sizeof(*q));
++    q->prefix = strdup(ops->prefix);
++    if(q->prefix == NULL)
++    {
++        free(q);
++        return KRB5_CC_NOMEM;
++    }
++    
++    p->ops = q;
+     *id = p;
+     ret = p->ops->resolve(context, id, residual);
+     if(ret)
+@@ -141,11 +154,24 @@
+ 		krb5_ccache *id)
+ {
+     krb5_ccache p;
++    krb5_cc_ops *q;
+ 
+     p = malloc (sizeof(*p));
+     if (p == NULL)
+ 	return KRB5_CC_NOMEM;
+-    p->ops = ops;
++
++    q = malloc(sizeof(*q));
++    if(q == NULL)
++        return KRB5_CC_NOMEM;
++    memcpy(q, ops, sizeof(*q));
++    q->prefix = strdup(ops->prefix);
++    if(q->prefix == NULL)
++    {
++        free(q);
++        return KRB5_CC_NOMEM;
++    }
++    
++    p->ops = q;
+     *id = p;
+     return p->ops->gen_new(context, id);
+ }
+@@ -248,6 +274,8 @@
+ {
+     krb5_error_code ret;
+     ret = id->ops->close(context, id);
++    free(id->ops->prefix);
++    free((krb5_cc_ops *)id->ops);
+     free(id);
+     return ret;
+ }
--- heimdal-0.6.3.orig/debian/patches-0.3e-old/015_ftp
+++ heimdal-0.6.3/debian/patches-0.3e-old/015_ftp
@@ -0,0 +1,25 @@
+diff -ruN heimdal-0.3d-old/appl/ftp/ftp/cmds.c heimdal-0.3d/appl/ftp/ftp/cmds.c
+--- heimdal-0.3d-old/appl/ftp/ftp/cmds.c	Tue Jul 18 20:00:31 2000
++++ heimdal-0.3d/appl/ftp/ftp/cmds.c	Wed Jan 10 13:29:04 2001
+@@ -81,7 +81,7 @@
+ setpeer(int argc, char **argv)
+ {
+ 	char *host;
+-	short port;
++	unsigned short port;
+ 	struct servent *sp;
+ 
+ 	if (connected) {
+@@ -103,12 +103,6 @@
+ 	port = sp->s_port;
+ 	if (argc > 2) {
+ 		port = atoi(argv[2]);
+-		if (port <= 0) {
+-			printf("%s: bad port number-- %s\n", argv[1], argv[2]);
+-			printf ("usage: %s host-name [port]\n", argv[0]);
+-			code = -1;
+-			return;
+-		}
+ 		port = htons(port);
+ 	}
+ 	host = hookup(argv[1], port);
--- heimdal-0.6.3.orig/debian/patches-0.3e-old/030_autotools
+++ heimdal-0.6.3/debian/patches-0.3e-old/030_autotools
@@ -0,0 +1,32700 @@
+diff -ruN heimdal-0.3e-old/Makefile.in heimdal-0.3e/Makefile.in
+--- heimdal-0.3e-old/Makefile.in	Mon Feb  5 18:58:14 2001
++++ heimdal-0.3e/Makefile.in	Sat May 12 17:53:55 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -76,6 +77,7 @@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -181,8 +183,7 @@
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+@@ -285,10 +286,11 @@
+ 	@set fnord $(MAKEFLAGS); amf=$$2; \
+ 	dot_seen=no; \
+ 	rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
+-	  rev="$$subdir $$rev"; \
+-	  if test "$$subdir" = "."; then dot_seen=yes; else :; fi; \
++	  if test "$$subdir" = "."; then :; else \
++	    rev="$$subdir $$rev"; \
++	  fi; \
+ 	done; \
+-	test "$$dot_seen" = "no" && rev=". $$rev"; \
++	rev="$$rev ."; \
+ 	target=`echo $@ | sed s/-recursive//`; \
+ 	for subdir in $$rev; do \
+ 	  echo "Making $$target in $$subdir"; \
+@@ -367,6 +369,7 @@
+ 	  && $(MAKE) $(AM_MAKEFLAGS) installcheck \
+ 	  && $(MAKE) $(AM_MAKEFLAGS) uninstall \
+ 	  && test `find $$dc_install_base -type f -print | wc -l` -le 1 \
++	  && chmod -R u+w .. \
+ 	  && $(MAKE) $(AM_MAKEFLAGS) dist \
+ 	  && $(MAKE) $(AM_MAKEFLAGS) distclean \
+ 	  && rm -f $(distdir).tar.gz \
+diff -ruN heimdal-0.3e-old/acinclude.m4 heimdal-0.3e/acinclude.m4
+--- heimdal-0.3e-old/acinclude.m4	Sun May 24 00:54:53 1998
++++ heimdal-0.3e/acinclude.m4	Sat May 12 17:53:18 2001
+@@ -7,3 +7,5 @@
+ dnl $xId: misc.m4,v 1.1 1997/12/14 15:59:04 joda Exp $
+ dnl
+ define(upcase,`echo $1 | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`)dnl
++dnl Hack to allow old CVS version of autoconf to work.
++define([m4_ifval],[ifval])dnl
+diff -ruN heimdal-0.3e-old/aclocal.m4 heimdal-0.3e/aclocal.m4
+--- heimdal-0.3e-old/aclocal.m4	Mon Feb  5 18:58:10 2001
++++ heimdal-0.3e/aclocal.m4	Sat May 12 17:53:20 2001
+@@ -1,14 +1,15 @@
+-dnl ./aclocal.m4 generated automatically by aclocal 1.4a
++# aclocal.m4 generated automatically by aclocal 1.4a
+ 
+-dnl Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
+-dnl This file is free software; the Free Software Foundation
+-dnl gives unlimited permission to copy and/or distribute it,
+-dnl with or without modifications, as long as this notice is preserved.
+-
+-dnl This program is distributed in the hope that it will be useful,
+-dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+-dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+-dnl PARTICULAR PURPOSE.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Free Software Foundation, Inc.
++# This file is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# This program is distributed in the hope that it will be useful,
++# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
++# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
++# PARTICULAR PURPOSE.
+ 
+ dnl $Id: acinclude.m4,v 1.15 1998/05/23 14:54:53 joda Exp $
+ dnl
+@@ -19,6 +20,8 @@
+ dnl $xId: misc.m4,v 1.1 1997/12/14 15:59:04 joda Exp $
+ dnl
+ define(upcase,`echo $1 | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`)dnl
++dnl Hack to allow old CVS version of autoconf to work.
++define([m4_ifval],[ifval])dnl
+ 
+ dnl $Id: misc.m4,v 1.2 2000/07/19 15:04:00 joda Exp $
+ dnl
+@@ -49,32 +52,40 @@
+ ])])
+ # Like AC_CONFIG_HEADER, but automatically create stamp file.
+ 
+-AC_DEFUN(AM_CONFIG_HEADER,
+-[AC_PREREQ([2.12])
+-AC_CONFIG_HEADER([$1])
+-dnl When config.status generates a header, we must update the stamp-h file.
+-dnl This file resides in the same directory as the config header
+-dnl that is generated.  We must strip everything past the first ":",
+-dnl and everything past the last "/".
+-AC_OUTPUT_COMMANDS(changequote(<<,>>)dnl
+-ifelse(patsubst(<<$1>>, <<[^ ]>>, <<>>), <<>>,
+-<<test -z "<<$>>CONFIG_HEADERS" || echo timestamp > patsubst(<<$1>>, <<^\([^:]*/\)?.*>>, <<\1>>)stamp-h<<>>dnl>>,
+-<<am_indx=1
+-for am_file in <<$1>>; do
+-  case " <<$>>CONFIG_HEADERS " in
+-  *" <<$>>am_file "*<<)>>
+-    echo timestamp > `echo <<$>>am_file | sed -e 's%:.*%%' -e 's%[^/]*$%%'`stamp-h$am_indx
+-    ;;
+-  esac
+-  am_indx=`expr "<<$>>am_indx" + 1`
+-done<<>>dnl>>)
+-changequote([,]))])
++# serial 3
++
++# When config.status generates a header, we must update the stamp-h file.
++# This file resides in the same directory as the config header
++# that is generated.  We must strip everything past the first ":",
++# and everything past the last "/".
++
++AC_PREREQ([2.12])
++
++AC_DEFUN([AM_CONFIG_HEADER],
++[AC_CONFIG_HEADER([$1])
++  AC_OUTPUT_COMMANDS(
++   ifelse(patsubst([$1], [[^ ]], []),
++	  [],
++	  [test -z "$CONFIG_HEADERS" || echo timestamp >dnl
++	   patsubst([$1], [^\([^:]*/\)?.*], [\1])stamp-h]),
++  [am_indx=1
++  for am_file in $1; do
++    case " $CONFIG_HEADERS " in
++    *" $am_file "*)
++      echo timestamp > `echo $am_file | sed 's%:.*%%;s%[^/]*$%%'`stamp-h$am_indx
++      ;;
++    esac
++    am_indx=\`expr \$am_indx + 1\`
++  done])
++])
+ 
+ # Do all the work for Automake.  This macro actually does too much --
+ # some checks are only needed if your package does certain things.
+ # But this isn't really a big deal.
+ 
+-# serial 2
++# serial 3
++
++AC_PREREQ([2.13])
+ 
+ # AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
+ # -----------------------------------------------------------
+@@ -92,12 +103,11 @@
+ 
+ # AM_INIT_AUTOMAKE(PACKAGE,VERSION, [NO-DEFINE])
+ # ----------------------------------------------
+-AC_DEFUN(AM_INIT_AUTOMAKE,
++AC_DEFUN([AM_INIT_AUTOMAKE],
+ [dnl We require 2.13 because we rely on SHELL being computed by configure.
+-AC_PREREQ([2.13])dnl
+ AC_REQUIRE([AC_PROG_INSTALL])dnl
+ # test to see if srcdir already configured
+-if test "`CDPATH=: && cd $srcdir && pwd`" != "`pwd`" &&
++if test "`CDPATH=:; cd $srcdir && pwd`" != "`pwd`" &&
+    test -f $srcdir/config.status; then
+   AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
+ fi
+@@ -121,8 +131,8 @@
+ AM_MISSING_PROG(MAKEINFO, makeinfo)
+ AM_MISSING_PROG(AMTAR, tar)
+ AM_MISSING_INSTALL_SH
+-dnl We need awk for the "check" target.  The system "awk" is bad on
+-dnl some platforms.
++# We need awk for the "check" target.  The system "awk" is bad on
++# some platforms.
+ AC_REQUIRE([AC_PROG_AWK])dnl
+ AC_REQUIRE([AC_PROG_MAKE_SET])dnl
+ AC_REQUIRE([AM_DEP_TRACK])dnl
+@@ -141,7 +151,7 @@
+ # Check to make sure that the build environment is sane.
+ #
+ 
+-AC_DEFUN(AM_SANITY_CHECK,
++AC_DEFUN([AM_SANITY_CHECK],
+ [AC_MSG_CHECKING([whether build environment is sane])
+ # Just in case
+ sleep 1
+@@ -180,15 +190,15 @@
+ rm -f conftest*
+ AC_MSG_RESULT(yes)])
+ 
+-dnl AM_MISSING_PROG(NAME, PROGRAM)
+-AC_DEFUN(AM_MISSING_PROG, [
++# AM_MISSING_PROG(NAME, PROGRAM)
++AC_DEFUN([AM_MISSING_PROG], [
+ AC_REQUIRE([AM_MISSING_HAS_RUN])
+ $1=${$1-"${am_missing_run}$2"}
+ AC_SUBST($1)])
+ 
+-dnl Like AM_MISSING_PROG, but only looks for install-sh.
+-dnl AM_MISSING_INSTALL_SH()
+-AC_DEFUN(AM_MISSING_INSTALL_SH, [
++# Like AM_MISSING_PROG, but only looks for install-sh.
++# AM_MISSING_INSTALL_SH()
++AC_DEFUN([AM_MISSING_INSTALL_SH], [
+ AC_REQUIRE([AM_MISSING_HAS_RUN])
+ if test -z "$install_sh"; then
+    install_sh="$ac_aux_dir/install-sh"
+@@ -200,13 +210,13 @@
+ fi
+ AC_SUBST(install_sh)])
+ 
+-dnl AM_MISSING_HAS_RUN.
+-dnl Define MISSING if not defined so far and test if it supports --run.
+-dnl If it does, set am_missing_run to use it, otherwise, to nothing.
++# AM_MISSING_HAS_RUN.
++# Define MISSING if not defined so far and test if it supports --run.
++# If it does, set am_missing_run to use it, otherwise, to nothing.
+ AC_DEFUN([AM_MISSING_HAS_RUN], [
+ test x"${MISSING+set}" = xset || \
+-  MISSING="\${SHELL} `CDPATH=: && cd $ac_aux_dir && pwd`/missing"
+-dnl Use eval to expand $SHELL
++  MISSING="\${SHELL} `CDPATH=:; cd $ac_aux_dir && pwd`/missing"
++# Use eval to expand $SHELL
+ if eval "$MISSING --run :"; then
+   am_missing_run="$MISSING --run "
+ else
+@@ -216,14 +226,14 @@
+ fi
+ ])
+ 
+-dnl See how the compiler implements dependency checking.
+-dnl Usage:
+-dnl AM_DEPENDENCIES(NAME)
+-dnl NAME is "CC", "CXX" or "OBJC".
++# See how the compiler implements dependency checking.
++# Usage:
++# AM_DEPENDENCIES(NAME)
++# NAME is "CC", "CXX" or "OBJC".
+ 
+-dnl We try a few techniques and use that to set a single cache variable.
++# We try a few techniques and use that to set a single cache variable.
+ 
+-AC_DEFUN(AM_DEPENDENCIES,[
++AC_DEFUN([AM_DEPENDENCIES],[
+ AC_REQUIRE([AM_SET_DEPDIR])
+ AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])
+ ifelse([$1],CC,[
+@@ -259,10 +269,13 @@
+       ;;
+     none) break ;;
+     esac
++    # We check with `-c' and `-o' for the sake of the "dashmstdout"
++    # mode.  It turns out that the SunPro C++ compiler does not properly
++    # handle `-M -o', and we need to detect this.
+     if depmode="$depmode" \
+        source=conftest.c object=conftest.o \
+        depfile=conftest.Po tmpdepfile=conftest.TPo \
+-       $SHELL $am_depcomp $depcc -c conftest.c 2>/dev/null &&
++       $SHELL $am_depcomp $depcc -c conftest.c -o conftest.o 2>/dev/null &&
+        grep conftest.h conftest.Po > /dev/null 2>&1; then
+       am_cv_[$1]_dependencies_compiler_type="$depmode"
+       break
+@@ -279,10 +292,10 @@
+ AC_SUBST([$1]DEPMODE)
+ ])
+ 
+-dnl Choose a directory name for dependency files.
+-dnl This macro is AC_REQUIREd in AM_DEPENDENCIES
++# Choose a directory name for dependency files.
++# This macro is AC_REQUIREd in AM_DEPENDENCIES
+ 
+-AC_DEFUN(AM_SET_DEPDIR,[
++AC_DEFUN([AM_SET_DEPDIR],[
+ if test -d .deps || mkdir .deps 2> /dev/null || test -d .deps; then
+   DEPDIR=.deps
+ else
+@@ -291,7 +304,7 @@
+ AC_SUBST(DEPDIR)
+ ])
+ 
+-AC_DEFUN(AM_DEP_TRACK,[
++AC_DEFUN([AM_DEP_TRACK],[
+ AC_ARG_ENABLE(dependency-tracking,
+ [  --disable-dependency-tracking Speeds up one-time builds
+   --enable-dependency-tracking  Do not reject slow dependency extractors])
+@@ -316,16 +329,16 @@
+ popdef([subst])
+ ])
+ 
+-dnl Generate code to set up dependency tracking.
+-dnl This macro should only be invoked once -- use via AC_REQUIRE.
+-dnl Usage:
+-dnl AM_OUTPUT_DEPENDENCY_COMMANDS
++# Generate code to set up dependency tracking.
++# This macro should only be invoked once -- use via AC_REQUIRE.
++# Usage:
++# AM_OUTPUT_DEPENDENCY_COMMANDS
+ 
+-dnl
+-dnl This code is only required when automatic dependency tracking
+-dnl is enabled.  FIXME.  This creates each `.P' file that we will
+-dnl need in order to bootstrap the dependency handling code.
+-AC_DEFUN(AM_OUTPUT_DEPENDENCY_COMMANDS,[
++#
++# This code is only required when automatic dependency tracking
++# is enabled.  FIXME.  This creates each `.P' file that we will
++# need in order to bootstrap the dependency handling code.
++AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],[
+ AC_OUTPUT_COMMANDS([
+ test x"$AMDEP" != x"" ||
+ for mf in $CONFIG_FILES; do
+@@ -368,9 +381,9 @@
+ ac_aux_dir="$ac_aux_dir"])])
+ 
+ 
+-dnl AM_PROG_LEX
+-dnl Look for flex, lex or missing, then run AC_PROG_LEX and AC_DECL_YYTEXT
+-AC_DEFUN(AM_PROG_LEX,
++# AM_PROG_LEX
++# Look for flex, lex or missing, then run AC_PROG_LEX and AC_DECL_YYTEXT
++AC_DEFUN([AM_PROG_LEX],
+ [AC_REQUIRE([AM_MISSING_HAS_RUN])
+ AC_CHECK_PROGS(LEX, flex lex, [${am_missing_run}flex])
+ AC_PROG_LEX
+@@ -493,212 +506,2799 @@
+ esac
+ ])
+ 
+-dnl
+-dnl $Id: c-attribute.m4,v 1.2 1999/03/01 09:52:23 joda Exp $
+-dnl
++dnl
++dnl $Id: c-attribute.m4,v 1.2 1999/03/01 09:52:23 joda Exp $
++dnl
++
++dnl
++dnl Test for __attribute__
++dnl
++
++AC_DEFUN(AC_C___ATTRIBUTE__, [
++AC_MSG_CHECKING(for __attribute__)
++AC_CACHE_VAL(ac_cv___attribute__, [
++AC_TRY_COMPILE([
++#include <stdlib.h>
++],
++[
++static void foo(void) __attribute__ ((noreturn));
++
++static void
++foo(void)
++{
++  exit(1);
++}
++],
++ac_cv___attribute__=yes,
++ac_cv___attribute__=no)])
++if test "$ac_cv___attribute__" = "yes"; then
++  AC_DEFINE(HAVE___ATTRIBUTE__, 1, [define if your compiler has __attribute__])
++fi
++AC_MSG_RESULT($ac_cv___attribute__)
++])
++
++
++# libtool.m4 - Configure libtool for the host system. -*-Shell-script-*-
++
++# serial 46 AC_PROG_LIBTOOL
++AC_DEFUN([AC_PROG_LIBTOOL],
++[AC_REQUIRE([AC_LIBTOOL_SETUP])dnl
++
++# This can be used to rebuild libtool when needed
++LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
++
++# Always use our own libtool.
++LIBTOOL='$(SHELL) $(top_builddir)/libtool'
++AC_SUBST(LIBTOOL)dnl
++
++# Prevent multiple expansion
++define([AC_PROG_LIBTOOL], [])
++])
++
++AC_DEFUN([AC_LIBTOOL_SETUP],
++[AC_PREREQ(2.13)dnl
++AC_REQUIRE([AC_ENABLE_SHARED])dnl
++AC_REQUIRE([AC_ENABLE_STATIC])dnl
++AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl
++AC_REQUIRE([AC_CANONICAL_HOST])dnl
++AC_REQUIRE([AC_CANONICAL_BUILD])dnl
++AC_REQUIRE([AC_PROG_CC])dnl
++AC_REQUIRE([AC_PROG_LD])dnl
++AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl
++AC_REQUIRE([AC_PROG_NM])dnl
++AC_REQUIRE([AC_PROG_LN_S])dnl
++AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl
++AC_REQUIRE([AC_OBJEXT])dnl
++AC_REQUIRE([AC_EXEEXT])dnl
++dnl
++
++_LT_AC_PROG_ECHO_BACKSLASH
++# Only perform the check for file, if the check method requires it
++case $deplibs_check_method in
++file_magic*)
++  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
++    AC_PATH_MAGIC
++  fi
++  ;;
++esac
++
++AC_CHECK_TOOL(RANLIB, ranlib, :)
++AC_CHECK_TOOL(STRIP, strip, :)
++
++ifdef([AC_PROVIDE_AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no)
++ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL],
++enable_win32_dll=yes, enable_win32_dll=no)
++
++AC_ARG_ENABLE(libtool-lock,
++  [  --disable-libtool-lock  avoid locking (might break parallel builds)])
++test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
++
++# Some flags need to be propagated to the compiler or linker for good
++# libtool support.
++case $host in
++*-*-irix6*)
++  # Find out which ABI we are using.
++  echo '[#]line __oline__ "configure"' > conftest.$ac_ext
++  if AC_TRY_EVAL(ac_compile); then
++    case `/usr/bin/file conftest.$ac_objext` in
++    *32-bit*)
++      LD="${LD-ld} -32"
++      ;;
++    *N32*)
++      LD="${LD-ld} -n32"
++      ;;
++    *64-bit*)
++      LD="${LD-ld} -64"
++      ;;
++    esac
++  fi
++  rm -rf conftest*
++  ;;
++
++*-*-sco3.2v5*)
++  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
++  SAVE_CFLAGS="$CFLAGS"
++  CFLAGS="$CFLAGS -belf"
++  AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
++    [AC_LANG_SAVE
++     AC_LANG_C
++     AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
++     AC_LANG_RESTORE])
++  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
++    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
++    CFLAGS="$SAVE_CFLAGS"
++  fi
++  ;;
++
++ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL],
++[*-*-cygwin* | *-*-mingw* | *-*-pw32*)
++  AC_CHECK_TOOL(DLLTOOL, dlltool, false)
++  AC_CHECK_TOOL(AS, as, false)
++  AC_CHECK_TOOL(OBJDUMP, objdump, false)
++
++  # recent cygwin and mingw systems supply a stub DllMain which the user
++  # can override, but on older systems we have to supply one
++  AC_CACHE_CHECK([if libtool should supply DllMain function], lt_cv_need_dllmain,
++    [AC_TRY_LINK([],
++      [extern int __attribute__((__stdcall__)) DllMain(void*, int, void*);
++      DllMain (0, 0, 0);],
++      [lt_cv_need_dllmain=no],[lt_cv_need_dllmain=yes])])
++
++  case $host/$CC in
++  *-*-cygwin*/gcc*-mno-cygwin*|*-*-mingw*)
++    # old mingw systems require "-dll" to link a DLL, while more recent ones
++    # require "-mdll"
++    SAVE_CFLAGS="$CFLAGS"
++    CFLAGS="$CFLAGS -mdll"
++    AC_CACHE_CHECK([how to link DLLs], lt_cv_cc_dll_switch,
++      [AC_TRY_LINK([], [], [lt_cv_cc_dll_switch=-mdll],[lt_cv_cc_dll_switch=-dll])])
++    CFLAGS="$SAVE_CFLAGS" ;;
++  *-*-cygwin* | *-*-pw32*)
++    # cygwin systems need to pass --dll to the linker, and not link
++    # crt.o which will require a WinMain@16 definition.
++    lt_cv_cc_dll_switch="-Wl,--dll -nostartfiles" ;;
++  esac
++  ;;
++  ])
++esac
++
++_LT_AC_LTCONFIG_HACK
++
++])
++
++# _LT_AC_CHECK_DLFCN
++# --------------------
++AC_DEFUN(_LT_AC_CHECK_DLFCN,
++[AC_CHECK_HEADERS(dlfcn.h)
++])# _LT_AC_CHECK_DLFCN
++
++# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
++# ---------------------------------
++AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE],
++[AC_REQUIRE([AC_CANONICAL_HOST])
++AC_REQUIRE([AC_PROG_NM])
++AC_REQUIRE([AC_OBJEXT])
++# Check for command to grab the raw symbol name followed by C symbol from nm.
++AC_MSG_CHECKING([command to parse $NM output])
++AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe], [dnl
++
++# These are sane defaults that work on at least a few old systems.
++# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
++
++# Character class describing NM global symbol codes.
++[symcode='[BCDEGRST]']
++
++# Regexp to match symbols that can be accessed directly from C.
++[sympat='\([_A-Za-z][_A-Za-z0-9]*\)']
++
++# Transform the above into a raw symbol and a C symbol.
++symxfrm='\1 \2\3 \3'
++
++# Transform an extracted symbol line into a proper C declaration
++lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'"
++
++# Define system-specific variables.
++case $host_os in
++aix*)
++  [symcode='[BCDT]']
++  ;;
++cygwin* | mingw* | pw32*)
++  [symcode='[ABCDGISTW]']
++  ;;
++hpux*) # Its linker distinguishes data from code symbols
++  lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
++  ;;
++irix*)
++  [symcode='[BCDEGRST]']
++  ;;
++solaris* | sysv5*)
++  [symcode='[BDT]']
++  ;;
++sysv4)
++  [symcode='[DFNSTU]']
++  ;;
++esac
++
++# Handle CRLF in mingw tool chain
++opt_cr=
++case $host_os in
++mingw*)
++  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
++  ;;
++esac
++
++# If we're using GNU nm, then use its standard symbol codes.
++if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then
++  [symcode='[ABCDGISTW]']
++fi
++
++# Try without a prefix undercore, then with it.
++for ac_symprfx in "" "_"; do
++
++  # Write the raw and C identifiers.
++[lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"]
++
++  # Check to see that the pipe works correctly.
++  pipe_works=no
++  rm -f conftest*
++  cat > conftest.$ac_ext <<EOF
++#ifdef __cplusplus
++extern "C" {
++#endif
++char nm_test_var;
++void nm_test_func(){}
++#ifdef __cplusplus
++}
++#endif
++int main(){nm_test_var='a';nm_test_func();return(0);}
++EOF
++
++  if AC_TRY_EVAL(ac_compile); then
++    # Now try to grab the symbols.
++    nlist=conftest.nm
++    if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
++      # Try sorting and uniquifying the output.
++      if sort "$nlist" | uniq > "$nlist"T; then
++	mv -f "$nlist"T "$nlist"
++      else
++	rm -f "$nlist"T
++      fi
++
++      # Make sure that we snagged all the symbols we need.
++      if egrep ' nm_test_var$' "$nlist" >/dev/null; then
++	if egrep ' nm_test_func$' "$nlist" >/dev/null; then
++	  cat <<EOF > conftest.$ac_ext
++#ifdef __cplusplus
++extern "C" {
++#endif
++
++EOF
++	  # Now generate the symbol file.
++	  eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext'
++
++	  cat <<EOF >> conftest.$ac_ext
++#if defined (__STDC__) && __STDC__
++# define lt_ptr_t void *
++#else
++# define lt_ptr_t char *
++# define const
++#endif
++
++/* The mapping between symbol names and symbols. */
++const struct {
++  const char *name;
++  lt_ptr_t address;
++}
++[lt_preloaded_symbols[] =]
++{
++EOF
++	  sed "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" >> conftest.$ac_ext
++	  cat <<\EOF >> conftest.$ac_ext
++  {0, (lt_ptr_t) 0}
++};
++
++#ifdef __cplusplus
++}
++#endif
++EOF
++	  # Now try linking the two files.
++	  mv conftest.$ac_objext conftstm.$ac_objext
++	  save_LIBS="$LIBS"
++	  save_CFLAGS="$CFLAGS"
++	  LIBS="conftstm.$ac_objext"
++	  CFLAGS="$CFLAGS$no_builtin_flag"
++	  if AC_TRY_EVAL(ac_link) && test -s conftest; then
++	    pipe_works=yes
++	  fi
++	  LIBS="$save_LIBS"
++	  CFLAGS="$save_CFLAGS"
++	else
++	  echo "cannot find nm_test_func in $nlist" >&AC_FD_CC
++	fi
++      else
++	echo "cannot find nm_test_var in $nlist" >&AC_FD_CC
++      fi
++    else
++      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AC_FD_CC
++    fi
++  else
++    echo "$progname: failed program was:" >&AC_FD_CC
++    cat conftest.$ac_ext >&5
++  fi
++  rm -f conftest* conftst*
++
++  # Do not use the global_symbol_pipe unless it works.
++  if test "$pipe_works" = yes; then
++    break
++  else
++    lt_cv_sys_global_symbol_pipe=
++  fi
++done
++])
++global_symbol_pipe="$lt_cv_sys_global_symbol_pipe"
++if test -z "$lt_cv_sys_global_symbol_pipe"; then
++  global_symbol_to_cdecl=
++else
++  global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl"
++fi
++if test -z "$global_symbol_pipe$global_symbol_to_cdecl"; then
++  AC_MSG_RESULT(failed)
++else
++  AC_MSG_RESULT(ok)
++fi
++]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
++
++# _LT_AC_LIBTOOL_SYS_PATH_SEPARATOR
++# ---------------------------------
++AC_DEFUN([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR],
++[# Find the correct PATH separator.  Usually this is `:', but
++# DJGPP uses `;' like DOS.
++if test "X${PATH_SEPARATOR+set}" != Xset; then
++  UNAME=${UNAME-`uname 2>/dev/null`}
++  case X$UNAME in
++    *-DOS) lt_cv_sys_path_separator=';' ;;
++    *)     lt_cv_sys_path_separator=':' ;;
++  esac
++fi
++])# _LT_AC_LIBTOOL_SYS_PATH_SEPARATOR
++
++# _LT_AC_PROG_ECHO_BACKSLASH
++# --------------------------
++# Add some code to the start of the generated configure script which
++# will find an echo command which doesn;t interpret backslashes.
++AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH],
++[ifdef([AC_DIVERSION_NOTICE], [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
++                              [AC_DIVERT_PUSH(NOTICE)])
++_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR
++
++# Check that we are running under the correct shell.
++SHELL=${CONFIG_SHELL-/bin/sh}
++
++case X$ECHO in
++X*--fallback-echo)
++  # Remove one level of quotation (which was required for Make).
++  ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
++  ;;
++esac
++
++echo=${ECHO-echo}
++if test "X[$]1" = X--no-reexec; then
++  # Discard the --no-reexec flag, and continue.
++  shift
++elif test "X[$]1" = X--fallback-echo; then
++  # Avoid inline document here, it may be left over
++  :
++elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
++  # Yippee, $echo works!
++  :
++else
++  # Restart under the correct shell.
++  exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
++fi
++
++if test "X[$]1" = X--fallback-echo; then
++  # used as fallback echo
++  shift
++  cat <<EOF
++$*
++EOF
++  exit 0
++fi
++
++# The HP-UX ksh and POSIX shell print the target directory to stdout
++# if CDPATH is set.
++if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
++
++if test -z "$ECHO"; then
++if test "X${echo_test_string+set}" != Xset; then
++# find a string as large as possible, as long as the shell can cope with it
++  for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
++    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
++    if (echo_test_string="`eval $cmd`") 2>/dev/null &&
++       echo_test_string="`eval $cmd`" &&
++       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
++    then
++      break
++    fi
++  done
++fi
++
++if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
++   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
++   test "X$echo_testing_string" = "X$echo_test_string"; then
++  :
++else
++  # The Solaris, AIX, and Digital Unix default echo programs unquote
++  # backslashes.  This makes it impossible to quote backslashes using
++  #   echo "$something" | sed 's/\\/\\\\/g'
++  #
++  # So, first we look for a working echo in the user's PATH.
++
++  IFS="${IFS= 	}"; save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR}"
++  for dir in $PATH /usr/ucb; do
++    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
++       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
++       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
++       test "X$echo_testing_string" = "X$echo_test_string"; then
++      echo="$dir/echo"
++      break
++    fi
++  done
++  IFS="$save_ifs"
++
++  if test "X$echo" = Xecho; then
++    # We didn't find a better echo, so look for alternatives.
++    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
++       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
++       test "X$echo_testing_string" = "X$echo_test_string"; then
++      # This shell has a builtin print -r that does the trick.
++      echo='print -r'
++    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
++	 test "X$CONFIG_SHELL" != X/bin/ksh; then
++      # If we have ksh, try running configure again with it.
++      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
++      export ORIGINAL_CONFIG_SHELL
++      CONFIG_SHELL=/bin/ksh
++      export CONFIG_SHELL
++      exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
++    else
++      # Try using printf.
++      echo='printf %s\n'
++      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
++	 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
++	 test "X$echo_testing_string" = "X$echo_test_string"; then
++	# Cool, printf works
++	:
++      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
++	   test "X$echo_testing_string" = 'X\t' &&
++	   echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
++	   test "X$echo_testing_string" = "X$echo_test_string"; then
++	CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
++	export CONFIG_SHELL
++	SHELL="$CONFIG_SHELL"
++	export SHELL
++	echo="$CONFIG_SHELL [$]0 --fallback-echo"
++      elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
++	   test "X$echo_testing_string" = 'X\t' &&
++	   echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
++	   test "X$echo_testing_string" = "X$echo_test_string"; then
++	echo="$CONFIG_SHELL [$]0 --fallback-echo"
++      else
++	# maybe with a smaller string...
++	prev=:
++
++	for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
++	  if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
++	  then
++	    break
++	  fi
++	  prev="$cmd"
++	done
++
++	if test "$prev" != 'sed 50q "[$]0"'; then
++	  echo_test_string=`eval $prev`
++	  export echo_test_string
++	  exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
++	else
++	  # Oops.  We lost completely, so just stick with echo.
++	  echo=echo
++	fi
++      fi
++    fi
++  fi
++fi
++fi
++
++# Copy echo and quote the copy suitably for passing to libtool from
++# the Makefile, instead of quoting the original, which is used later.
++ECHO=$echo
++if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
++   ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
++fi
++
++AC_SUBST(ECHO)
++AC_DIVERT_POP
++])# _LT_AC_PROG_ECHO_BACKSLASH
++
++# _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
++#                           ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
++# ------------------------------------------------------------------
++AC_DEFUN(_LT_AC_TRY_DLOPEN_SELF,
++[if test "$cross_compiling" = yes; then :
++  [$4]
++else
++  AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
++  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
++  lt_status=$lt_dlunknown
++  cat > conftest.$ac_ext <<EOF
++[#line __oline__ "configure"
++#include "confdefs.h"
++
++#if HAVE_DLFCN_H
++#include <dlfcn.h>
++#endif
++
++#include <stdio.h>
++
++#ifdef RTLD_GLOBAL
++#  define LT_DLGLOBAL		RTLD_GLOBAL
++#else
++#  ifdef DL_GLOBAL
++#    define LT_DLGLOBAL		DL_GLOBAL
++#  else
++#    define LT_DLGLOBAL		0
++#  endif
++#endif
++
++/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
++   find out it does not work in some platform. */
++#ifndef LT_DLLAZY_OR_NOW
++#  ifdef RTLD_LAZY
++#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
++#  else
++#    ifdef DL_LAZY
++#      define LT_DLLAZY_OR_NOW		DL_LAZY
++#    else
++#      ifdef RTLD_NOW
++#        define LT_DLLAZY_OR_NOW	RTLD_NOW
++#      else
++#        ifdef DL_NOW
++#          define LT_DLLAZY_OR_NOW	DL_NOW
++#        else
++#          define LT_DLLAZY_OR_NOW	0
++#        endif
++#      endif
++#    endif
++#  endif
++#endif
++
++#ifdef __cplusplus
++extern "C" void exit (int);
++#endif
++
++void fnord() { int i=42;}
++int main ()
++{
++  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
++  int status = $lt_dlunknown;
++
++  if (self)
++    {
++      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
++      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
++      /* dlclose (self); */
++    }
++
++    exit (status);
++}]
++EOF
++  if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
++    (./conftest; exit; ) 2>/dev/null
++    lt_status=$?
++    case x$lt_status in
++      x$lt_dlno_uscore) $1 ;;
++      x$lt_dlneed_uscore) $2 ;;
++      x$lt_unknown|x*) $3 ;;
++    esac
++  else :
++    # compilation failed
++    $3
++  fi
++fi
++rm -fr conftest*
++])# _LT_AC_TRY_DLOPEN_SELF
++
++# AC_LIBTOOL_DLOPEN_SELF
++# -------------------
++AC_DEFUN(AC_LIBTOOL_DLOPEN_SELF,
++[if test "x$enable_dlopen" != xyes; then
++  enable_dlopen=unknown
++  enable_dlopen_self=unknown
++  enable_dlopen_self_static=unknown
++else
++  lt_cv_dlopen=no
++  lt_cv_dlopen_libs=
++
++  case $host_os in
++  beos*)
++    lt_cv_dlopen="load_add_on"
++    lt_cv_dlopen_libs=
++    lt_cv_dlopen_self=yes
++    ;;
++
++  cygwin* | mingw* | pw32*)
++    lt_cv_dlopen="LoadLibrary"
++    lt_cv_dlopen_libs=
++   ;;
++
++  *)
++    AC_CHECK_LIB(dl, dlopen,  [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
++      [AC_CHECK_FUNC(dlopen, lt_cv_dlopen="dlopen",
++        [AC_CHECK_FUNC(shl_load, lt_cv_dlopen="shl_load",
++          [AC_CHECK_LIB(svld, dlopen,
++	    [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
++            [AC_CHECK_LIB(dld, shl_load,
++              [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
++	    ])
++          ])
++        ])
++      ])
++    ;;
++  esac
++
++  if test "x$lt_cv_dlopen" != xno; then
++    enable_dlopen=yes
++  else
++    enable_dlopen=no
++  fi
++
++  case $lt_cv_dlopen in
++  dlopen)
++    save_CPPFLAGS="$CPPFLAGS"
++    AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
++    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
++
++    save_LDFLAGS="$LDFLAGS"
++    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
++
++    save_LIBS="$LIBS"
++    LIBS="$lt_cv_dlopen_libs $LIBS"
++
++    AC_CACHE_CHECK([whether a program can dlopen itself],
++	  lt_cv_dlopen_self, [dnl
++	  _LT_AC_TRY_DLOPEN_SELF(
++	    lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
++	    lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
++    ])
++
++    if test "x$lt_cv_dlopen_self" = xyes; then
++      LDFLAGS="$LDFLAGS $link_static_flag"
++      AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
++    	  lt_cv_dlopen_self_static, [dnl
++	  _LT_AC_TRY_DLOPEN_SELF(
++	    lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
++	    lt_cv_dlopen_self_static=no,  lt_cv_dlopen_self_static=cross)
++      ])
++    fi
++
++    CPPFLAGS="$save_CPPFLAGS"
++    LDFLAGS="$save_LDFLAGS"
++    LIBS="$save_LIBS"
++    ;;
++  esac
++
++  case $lt_cv_dlopen_self in
++  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
++  *) enable_dlopen_self=unknown ;;
++  esac
++
++  case $lt_cv_dlopen_self_static in
++  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
++  *) enable_dlopen_self_static=unknown ;;
++  esac
++fi
++])# AC_LIBTOOL_DLOPEN_SELF
++
++AC_DEFUN([_LT_AC_LTCONFIG_HACK],
++[AC_REQUIRE([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])dnl
++# Sed substitution that helps us do robust quoting.  It backslashifies
++# metacharacters that are still active within double-quoted strings.
++Xsed='sed -e s/^X//'
++[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g']
++
++# Same as above, but do not quote variable references.
++[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g']
++
++# Sed substitution to delay expansion of an escaped shell variable in a
++# double_quote_subst'ed string.
++delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
++
++# Constants:
++rm="rm -f"
++
++# Global variables:
++default_ofile=libtool
++can_build_shared=yes
++
++# All known linkers require a `.a' archive for static linking (except M$VC,
++# which needs '.lib').
++libext=a
++ltmain="$ac_aux_dir/ltmain.sh"
++ofile="$default_ofile"
++with_gnu_ld="$lt_cv_prog_gnu_ld"
++need_locks="$enable_libtool_lock"
++
++old_CC="$CC"
++old_CFLAGS="$CFLAGS"
++
++# Set sane defaults for various variables
++test -z "$AR" && AR=ar
++test -z "$AR_FLAGS" && AR_FLAGS=cru
++test -z "$AS" && AS=as
++test -z "$CC" && CC=cc
++test -z "$DLLTOOL" && DLLTOOL=dlltool
++test -z "$LD" && LD=ld
++test -z "$LN_S" && LN_S="ln -s"
++test -z "$MAGIC_CMD" && MAGIC_CMD=file
++test -z "$NM" && NM=nm
++test -z "$OBJDUMP" && OBJDUMP=objdump
++test -z "$RANLIB" && RANLIB=:
++test -z "$STRIP" && STRIP=:
++test -z "$ac_objext" && ac_objext=o
++
++if test x"$host" != x"$build"; then
++  ac_tool_prefix=${host_alias}-
++else
++  ac_tool_prefix=
++fi
++
++# Transform linux* to *-*-linux-gnu*, to support old configure scripts.
++case $host_os in
++linux-gnu*) ;;
++linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
++esac
++
++case $host_os in
++aix3*)
++  # AIX sometimes has problems with the GCC collect2 program.  For some
++  # reason, if we set the COLLECT_NAMES environment variable, the problems
++  # vanish in a puff of smoke.
++  if test "X${COLLECT_NAMES+set}" != Xset; then
++    COLLECT_NAMES=
++    export COLLECT_NAMES
++  fi
++  ;;
++esac
++
++# Determine commands to create old-style static archives.
++old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
++old_postinstall_cmds='chmod 644 $oldlib'
++old_postuninstall_cmds=
++
++if test -n "$RANLIB"; then
++  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
++  old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
++fi
++
++# Allow CC to be a program name with arguments.
++set dummy $CC
++compiler="[$]2"
++
++AC_MSG_CHECKING([for objdir])
++rm -f .libs 2>/dev/null
++mkdir .libs 2>/dev/null
++if test -d .libs; then
++  objdir=.libs
++else
++  # MS-DOS does not allow filenames that begin with a dot.
++  objdir=_libs
++fi
++rmdir .libs 2>/dev/null
++AC_MSG_RESULT($objdir)
++
++
++AC_ARG_WITH(pic, 
++[  --with-pic              try to use only PIC/non-PIC objects [default=use both]],
++pic_mode="$withval", pic_mode=default)
++test -z "$pic_mode" && pic_mode=default
++
++# We assume here that the value for lt_cv_prog_cc_pic will not be cached
++# in isolation, and that seeing it set (from the cache) indicates that
++# the associated values are set (in the cache) correctly too.
++AC_MSG_CHECKING([for $compiler option to produce PIC])
++AC_CACHE_VAL(lt_cv_prog_cc_pic,
++[ lt_cv_prog_cc_pic=
++  lt_cv_prog_cc_shlib=
++  lt_cv_prog_cc_wl=
++  lt_cv_prog_cc_static=
++  lt_cv_prog_cc_no_builtin=
++  lt_cv_prog_cc_can_build_shared=$can_build_shared
++
++  if test "$GCC" = yes; then
++    lt_cv_prog_cc_wl='-Wl,'
++    lt_cv_prog_cc_static='-static'
++
++    case $host_os in
++    aix*)
++      # Below there is a dirty hack to force normal static linking with -ldl
++      # The problem is because libdl dynamically linked with both libc and
++      # libC (AIX C++ library), which obviously doesn't included in libraries
++      # list by gcc. This cause undefined symbols with -static flags.
++      # This hack allows C programs to be linked with "-static -ldl", but
++      # we not sure about C++ programs.
++      lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC"
++      ;;
++    amigaos*)
++      # FIXME: we need at least 68020 code to build shared libraries, but
++      # adding the `-m68020' flag to GCC prevents building anything better,
++      # like `-m68040'.
++      lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4'
++      ;;
++    beos* | irix5* | irix6* | osf3* | osf4* | osf5*)
++      # PIC is the default for these OSes.
++      ;;
++    darwin* | rhapsody*)
++      # PIC is the default on this platform
++      # Common symbols not allowed in MH_DYLIB files
++      lt_cv_prog_cc_pic='-fno-common'
++      ;;
++    cygwin* | mingw* | pw32* | os2*)
++      # This hack is so that the source file can tell whether it is being
++      # built for inclusion in a dll (and should export symbols for example).
++      lt_cv_prog_cc_pic='-DDLL_EXPORT'
++      ;;
++    sysv4*MP*)
++      if test -d /usr/nec; then
++	 lt_cv_prog_cc_pic=-Kconform_pic
++      fi
++      ;;
++    *)
++      lt_cv_prog_cc_pic='-fPIC'
++      ;;
++    esac
++  else
++    # PORTME Check for PIC flags for the system compiler.
++    case $host_os in
++    aix3* | aix4* | aix5*)
++      # All AIX code is PIC.
++      if test "$host_cpu" = ia64; then
++        # AIX 5 now supports IA64 processor
++        lt_cv_prog_cc_static='-Bstatic'
++        lt_cv_prog_cc_wl='-Wl,'
++      else
++        lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp'
++      fi
++      ;;
++
++    hpux9* | hpux10* | hpux11*)
++      # Is there a better lt_cv_prog_cc_static that works with the bundled CC?
++      lt_cv_prog_cc_wl='-Wl,'
++      lt_cv_prog_cc_static="${lt_cv_prog_cc_wl}-a ${lt_cv_prog_cc_wl}archive"
++      lt_cv_prog_cc_pic='+Z'
++      ;;
++
++    irix5* | irix6*)
++      lt_cv_prog_cc_wl='-Wl,'
++      lt_cv_prog_cc_static='-non_shared'
++      # PIC (with -KPIC) is the default.
++      ;;
++
++    cygwin* | mingw* | pw32* | os2*)
++      # This hack is so that the source file can tell whether it is being
++      # built for inclusion in a dll (and should export symbols for example).
++      lt_cv_prog_cc_pic='-DDLL_EXPORT'
++      ;;
++
++    newsos6)
++      lt_cv_prog_cc_pic='-KPIC'
++      lt_cv_prog_cc_static='-Bstatic'
++      ;;
++
++    osf3* | osf4* | osf5*)
++      # All OSF/1 code is PIC.
++      lt_cv_prog_cc_wl='-Wl,'
++      lt_cv_prog_cc_static='-non_shared'
++      ;;
++
++    sco3.2v5*)
++      lt_cv_prog_cc_pic='-Kpic'
++      lt_cv_prog_cc_static='-dn'
++      lt_cv_prog_cc_shlib='-belf'
++      ;;
++
++    solaris*)
++      lt_cv_prog_cc_pic='-KPIC'
++      lt_cv_prog_cc_static='-Bstatic'
++      lt_cv_prog_cc_wl='-Wl,'
++      ;;
++
++    sunos4*)
++      lt_cv_prog_cc_pic='-PIC'
++      lt_cv_prog_cc_static='-Bstatic'
++      lt_cv_prog_cc_wl='-Qoption ld '
++      ;;
++
++    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
++      lt_cv_prog_cc_pic='-KPIC'
++      lt_cv_prog_cc_static='-Bstatic'
++      if test "x$host_vendor" = xsni; then
++        lt_cv_prog_cc_wl='-LD'
++      else
++        lt_cv_prog_cc_wl='-Wl,'
++      fi
++      ;;
++
++    uts4*)
++      lt_cv_prog_cc_pic='-pic'
++      lt_cv_prog_cc_static='-Bstatic'
++      ;;
++
++    sysv4*MP*)
++      if test -d /usr/nec ;then
++	lt_cv_prog_cc_pic='-Kconform_pic'
++	lt_cv_prog_cc_static='-Bstatic'
++      fi
++      ;;
++
++    *)
++      lt_cv_prog_cc_can_build_shared=no
++      ;;
++    esac
++  fi
++])
++if test -z "$lt_cv_prog_cc_pic"; then
++  AC_MSG_RESULT([none])
++else
++  AC_MSG_RESULT([$lt_cv_prog_cc_pic])
++
++  # Check to make sure the pic_flag actually works.
++  AC_MSG_CHECKING([if $compiler PIC flag $lt_cv_prog_cc_pic works])
++  AC_CACHE_VAL(lt_cv_prog_cc_pic_works, [dnl
++    save_CFLAGS="$CFLAGS"
++    CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"
++    AC_TRY_COMPILE([], [], [dnl
++      case $host_os in
++      hpux9* | hpux10* | hpux11*)
++	# On HP-UX, both CC and GCC only warn that PIC is supported... then
++	# they create non-PIC objects.  So, if there were any warnings, we
++	# assume that PIC is not supported.
++	if test -s conftest.err; then
++	  lt_cv_prog_cc_pic_works=no
++	else
++	  lt_cv_prog_cc_pic_works=yes
++	fi
++	;;
++      *)
++	lt_cv_prog_cc_pic_works=yes
++	;;
++      esac
++    ], [dnl
++      lt_cv_prog_cc_pic_works=no
++    ])
++    CFLAGS="$save_CFLAGS"
++  ])
++
++  if test "X$lt_cv_prog_cc_pic_works" = Xno; then
++    lt_cv_prog_cc_pic=
++    lt_cv_prog_cc_can_build_shared=no
++  else
++    lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic"
++  fi
++
++  AC_MSG_RESULT([$lt_cv_prog_cc_pic_works])
++fi
++
++# Check for any special shared library compilation flags.
++if test -n "$lt_cv_prog_cc_shlib"; then
++  AC_MSG_WARN([\`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries])
++  if echo "$old_CC $old_CFLAGS " | [egrep -e "[ 	]$lt_cv_prog_cc_shlib[ 	]"] >/dev/null; then :
++  else
++   AC_MSG_WARN([add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure])
++    lt_cv_prog_cc_can_build_shared=no
++  fi
++fi
++
++AC_MSG_CHECKING([if $compiler static flag $lt_cv_prog_cc_static works])
++AC_CACHE_VAL([lt_cv_prog_cc_static_works], [dnl
++  lt_cv_prog_cc_static_works=no
++  save_LDFLAGS="$LDFLAGS"
++  LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"
++  AC_TRY_LINK([], [], [lt_cv_prog_cc_static_works=yes])
++  LDFLAGS="$save_LDFLAGS"
++])
++
++# Belt *and* braces to stop my trousers falling down:
++test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static=
++AC_MSG_RESULT([$lt_cv_prog_cc_static_works])
++
++pic_flag="$lt_cv_prog_cc_pic"
++special_shlib_compile_flags="$lt_cv_prog_cc_shlib"
++wl="$lt_cv_prog_cc_wl"
++link_static_flag="$lt_cv_prog_cc_static"
++no_builtin_flag="$lt_cv_prog_cc_no_builtin"
++can_build_shared="$lt_cv_prog_cc_can_build_shared"
++
++
++# Check to see if options -o and -c are simultaneously supported by compiler
++AC_MSG_CHECKING([if $compiler supports -c -o file.$ac_objext])
++AC_CACHE_VAL([lt_cv_compiler_c_o], [
++$rm -r conftest 2>/dev/null
++mkdir conftest
++cd conftest
++echo "int some_variable = 0;" > conftest.$ac_ext
++mkdir out
++# According to Tom Tromey, Ian Lance Taylor reported there are C compilers
++# that will create temporary files in the current directory regardless of
++# the output directory.  Thus, making CWD read-only will cause this test
++# to fail, enabling locking or at least warning the user not to do parallel
++# builds.
++chmod -w .
++save_CFLAGS="$CFLAGS"
++CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
++compiler_c_o=no
++if { (eval echo configure:__oline__: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
++  # The compiler can only warn and ignore the option if not recognized
++  # So say no if there are warnings
++  if test -s out/conftest.err; then
++    lt_cv_compiler_c_o=no
++  else
++    lt_cv_compiler_c_o=yes
++  fi
++else
++  # Append any errors to the config.log.
++  cat out/conftest.err 1>&AC_FD_CC
++  lt_cv_compiler_c_o=no
++fi
++CFLAGS="$save_CFLAGS"
++chmod u+w .
++$rm conftest* out/*
++rmdir out
++cd ..
++rmdir conftest
++$rm -r conftest 2>/dev/null
++])
++compiler_c_o=$lt_cv_compiler_c_o
++AC_MSG_RESULT([$compiler_c_o])
++
++if test x"$compiler_c_o" = x"yes"; then
++  # Check to see if we can write to a .lo
++  AC_MSG_CHECKING([if $compiler supports -c -o file.lo])
++  AC_CACHE_VAL([lt_cv_compiler_o_lo], [
++  lt_cv_compiler_o_lo=no
++  save_CFLAGS="$CFLAGS"
++  CFLAGS="$CFLAGS -c -o conftest.lo"
++  AC_TRY_COMPILE([], [int some_variable = 0;], [dnl
++    # The compiler can only warn and ignore the option if not recognized
++    # So say no if there are warnings
++    if test -s conftest.err; then
++      lt_cv_compiler_o_lo=no
++    else
++      lt_cv_compiler_o_lo=yes
++    fi
++  ])
++  CFLAGS="$save_CFLAGS"
++  ])
++  compiler_o_lo=$lt_cv_compiler_o_lo
++  AC_MSG_RESULT([$compiler_c_lo])
++else
++  compiler_o_lo=no
++fi
++
++# Check to see if we can do hard links to lock some files if needed
++hard_links="nottested"
++if test "$compiler_c_o" = no && test "$need_locks" != no; then
++  # do not overwrite the value of need_locks provided by the user
++  AC_MSG_CHECKING([if we can lock with hard links])
++  hard_links=yes
++  $rm conftest*
++  ln conftest.a conftest.b 2>/dev/null && hard_links=no
++  touch conftest.a
++  ln conftest.a conftest.b 2>&5 || hard_links=no
++  ln conftest.a conftest.b 2>/dev/null && hard_links=no
++  AC_MSG_RESULT([$hard_links])
++  if test "$hard_links" = no; then
++    AC_MSG_WARN([\`$CC' does not support \`-c -o', so \`make -j' may be unsafe])
++    need_locks=warn
++  fi
++else
++  need_locks=no
++fi
++
++if test "$GCC" = yes; then
++  # Check to see if options -fno-rtti -fno-exceptions are supported by compiler
++  AC_MSG_CHECKING([if $compiler supports -fno-rtti -fno-exceptions])
++  echo "int some_variable = 0;" > conftest.$ac_ext
++  save_CFLAGS="$CFLAGS"
++  CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"
++  compiler_rtti_exceptions=no
++  AC_TRY_COMPILE([], [int some_variable = 0;], [dnl
++    # The compiler can only warn and ignore the option if not recognized
++    # So say no if there are warnings
++    if test -s conftest.err; then
++      compiler_rtti_exceptions=no
++    else
++      compiler_rtti_exceptions=yes
++    fi
++  ])
++  CFLAGS="$save_CFLAGS"
++  AC_MSG_RESULT([$compiler_rtti_exceptions])
++
++  if test "$compiler_rtti_exceptions" = "yes"; then
++    no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions'
++  else
++    no_builtin_flag=' -fno-builtin'
++  fi
++fi
++
++# See if the linker supports building shared libraries.
++AC_MSG_CHECKING([whether the linker ($LD) supports shared libraries])
++
++allow_undefined_flag=
++no_undefined_flag=
++need_lib_prefix=unknown
++need_version=unknown
++# when you set need_version to no, make sure it does not cause -set_version
++# flags to be left without arguments
++archive_cmds=
++archive_expsym_cmds=
++old_archive_from_new_cmds=
++old_archive_from_expsyms_cmds=
++export_dynamic_flag_spec=
++whole_archive_flag_spec=
++thread_safe_flag_spec=
++hardcode_into_libs=no
++hardcode_libdir_flag_spec=
++hardcode_libdir_separator=
++hardcode_direct=no
++hardcode_minus_L=no
++hardcode_shlibpath_var=unsupported
++runpath_var=
++link_all_deplibs=unknown
++always_export_symbols=no
++export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols'
++# include_expsyms should be a list of space-separated symbols to be *always*
++# included in the symbol list
++include_expsyms=
++# exclude_expsyms can be an egrep regular expression of symbols to exclude
++# it will be wrapped by ` (' and `)$', so one must not match beginning or
++# end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
++# as well as any symbol that contains `d'.
++exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
++# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
++# platforms (ab)use it in PIC code, but their linkers get confused if
++# the symbol is explicitly referenced.  Since portable code cannot
++# rely on this symbol name, it's probably fine to never include it in
++# preloaded symbol tables.
++extract_expsyms_cmds=
++
++case $host_os in
++cygwin* | mingw* | pw32* )
++  # FIXME: the MSVC++ port hasn't been tested in a loooong time
++  # When not using gcc, we currently assume that we are using
++  # Microsoft Visual C++.
++  if test "$GCC" != yes; then
++    with_gnu_ld=no
++  fi
++  ;;
++
++esac
++
++ld_shlibs=yes
++if test "$with_gnu_ld" = yes; then
++  # If archive_cmds runs LD, not CC, wlarc should be empty
++  wlarc='${wl}'
++
++  # See if GNU ld supports shared libraries.
++  case $host_os in
++  aix3* | aix4* | aix5*)
++    # On AIX, the GNU linker is very broken
++    # Note:Check GNU linker on AIX 5-IA64 when/if it becomes available.
++    ld_shlibs=no
++    cat <<EOF 1>&2
++
++*** Warning: the GNU linker, at least up to release 2.9.1, is reported
++*** to be unable to reliably create shared libraries on AIX.
++*** Therefore, libtool is disabling shared libraries support.  If you
++*** really care for shared libraries, you may want to modify your PATH
++*** so that a non-GNU linker is found, and then restart.
++
++EOF
++    ;;
++
++  amigaos*)
++    archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
++    hardcode_libdir_flag_spec='-L$libdir'
++    hardcode_minus_L=yes
++
++    # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
++    # that the semantics of dynamic libraries on AmigaOS, at least up
++    # to version 4, is to share data among multiple programs linked
++    # with the same dynamic library.  Since this doesn't match the
++    # behavior of shared libraries on other platforms, we can use
++    # them.
++    ld_shlibs=no
++    ;;
++
++  beos*)
++    if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
++      allow_undefined_flag=unsupported
++      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
++      # support --undefined.  This deserves some investigation.  FIXME
++      archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++    else
++      ld_shlibs=no
++    fi
++    ;;
++
++  cygwin* | mingw* | pw32*)
++    # hardcode_libdir_flag_spec is actually meaningless, as there is
++    # no search path for DLLs.
++    hardcode_libdir_flag_spec='-L$libdir'
++    allow_undefined_flag=unsupported
++    always_export_symbols=yes
++
++    extract_expsyms_cmds='test -f $output_objdir/impgen.c || \
++      sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~
++      test -f $output_objdir/impgen.exe || (cd $output_objdir && \
++      if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \
++      else $CC -o impgen impgen.c ; fi)~
++      $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def'
++
++    old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib'
++
++    # cygwin and mingw dlls have different entry points and sets of symbols
++    # to exclude.
++    # FIXME: what about values for MSVC?
++    dll_entry=__cygwin_dll_entry@12
++    dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~
++    case $host_os in
++    mingw*)
++      # mingw values
++      dll_entry=_DllMainCRTStartup@12
++      dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~
++      ;;
++    esac
++
++    # mingw and cygwin differ, and it's simplest to just exclude the union
++    # of the two symbol sets.
++    dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12
++
++    # recent cygwin and mingw systems supply a stub DllMain which the user
++    # can override, but on older systems we have to supply one (in ltdll.c)
++    if test "x$lt_cv_need_dllmain" = "xyes"; then
++      ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext "
++      ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < [$]0 > $output_objdir/$soname-ltdll.c~
++	test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~'
++    else
++      ltdll_obj=
++      ltdll_cmds=
++    fi
++
++    # Extract the symbol export list from an `--export-all' def file,
++    # then regenerate the def file from the symbol export list, so that
++    # the compiled dll only exports the symbol export list.
++    # Be careful not to strip the DATA tag left be newer dlltools.
++    export_symbols_cmds="$ltdll_cmds"'
++      $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~
++      [sed -e "1,/EXPORTS/d" -e "s/ @ [0-9]*//" -e "s/ *;.*$//"] < $output_objdir/$soname-def > $export_symbols'
++
++    # If the export-symbols file already is a .def file (1st line
++    # is EXPORTS), use it as is.
++    # If DATA tags from a recent dlltool are present, honour them!
++    archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then
++        cp $export_symbols $output_objdir/$soname-def;
++      else
++        echo EXPORTS > $output_objdir/$soname-def;
++        _lt_hint=1;
++        cat $export_symbols | while read symbol; do
++         set dummy \$symbol;
++         case \[$]# in
++           2) echo "   \[$]2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
++           *) echo "     \[$]2 @ \$_lt_hint \[$]3 ; " >> $output_objdir/$soname-def;;
++         esac;
++         _lt_hint=`expr 1 + \$_lt_hint`;
++        done;
++      fi~
++      '"$ltdll_cmds"'
++      $CC -Wl,--base-file,$output_objdir/$soname-base '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
++      $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp~
++      $CC -Wl,--base-file,$output_objdir/$soname-base $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
++      $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp --output-lib $output_objdir/$libname.dll.a~
++      $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags'
++    ;;
++
++  netbsd*)
++    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++      archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
++      wlarc=
++    else
++      archive_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++      archive_expsym_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++    fi
++    ;;
++
++  solaris* | sysv5*)
++    if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then
++      ld_shlibs=no
++      cat <<EOF 1>&2
++
++*** Warning: The releases 2.8.* of the GNU linker cannot reliably
++*** create shared libraries on Solaris systems.  Therefore, libtool
++*** is disabling shared libraries support.  We urge you to upgrade GNU
++*** binutils to release 2.9.1 or newer.  Another option is to modify
++*** your PATH or compiler configuration so that the native linker is
++*** used, and then restart.
++
++EOF
++    elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
++      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++      archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++    else
++      ld_shlibs=no
++    fi
++    ;;
++
++  sunos4*)
++    archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++    wlarc=
++    hardcode_direct=yes
++    hardcode_shlibpath_var=no
++    ;;
++
++  *)
++    if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
++      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++      archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++    else
++      ld_shlibs=no
++    fi
++    ;;
++  esac
++
++  if test "$ld_shlibs" = yes; then
++    runpath_var=LD_RUN_PATH
++    hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
++    export_dynamic_flag_spec='${wl}--export-dynamic'
++    case $host_os in
++    cygwin* | mingw* | pw32*)
++      # dlltool doesn't understand --whole-archive et. al.
++      whole_archive_flag_spec=
++      ;;
++    *)
++      # ancient GNU ld didn't support --whole-archive et. al.
++      if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then
++	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
++      else
++	whole_archive_flag_spec=
++      fi
++      ;;
++    esac
++  fi
++else
++  # PORTME fill in a description of your system's linker (not GNU ld)
++  case $host_os in
++  aix3*)
++    allow_undefined_flag=unsupported
++    always_export_symbols=yes
++    archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
++    # Note: this linker hardcodes the directories in LIBPATH if there
++    # are no directories specified by -L.
++    hardcode_minus_L=yes
++    if test "$GCC" = yes && test -z "$link_static_flag"; then
++      # Neither direct hardcoding nor static linking is supported with a
++      # broken collect2.
++      hardcode_direct=unsupported
++    fi
++    ;;
++
++  aix4* | aix5*)
++    # When large executables or shared objects are built, AIX ld can
++    # have problems creating the table of contents.  If linking a library
++    # or program results in "error TOC overflow" add -mminimal-toc to
++    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
++    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
++
++    archive_cmds=''
++    hardcode_libdir_separator=':'
++    if test "$GCC" = yes; then
++      collect2name=`${CC} -print-prog-name=collect2`
++      if test -f "$collect2name" && \
++	 strings "$collect2name" | grep resolve_lib_name >/dev/null
++      then
++	# We have reworked collect2
++	hardcode_direct=yes
++      else
++        # We have old collect2
++        hardcode_direct=unsupported
++        # It fails to find uninstalled libraries when the uninstalled
++        # path is not listed in the libpath.  Setting hardcode_minus_L
++        # to unsupported forces relinking
++        hardcode_minus_L=yes
++        hardcode_libdir_flag_spec='-L$libdir'
++        hardcode_libdir_separator=
++      fi
++      shared_flag='-shared'
++    else
++      if test "$host_cpu" = ia64; then
++        shared_flag='-G'
++      else
++        shared_flag='${wl}-bM:SRE'
++      fi
++      hardcode_direct=yes
++    fi
++
++    if test "$host_cpu" = ia64; then
++      # On IA64, the linker does run time linking by default, so we don't
++      # have to do anything special.
++      aix_use_runtimelinking=no
++      exp_sym_flag='-Bexport'
++      no_entry_flag=""
++    else
++      # Test if we are trying to use run time linking, or normal AIX style linking.
++      # If -brtl is somewhere in LDFLAGS, we need to do run time linking.
++      aix_use_runtimelinking=no
++      for ld_flag in $LDFLAGS; do
++        if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl" ); then
++          aix_use_runtimelinking=yes
++          break
++        fi
++      done
++      exp_sym_flag='-bexport'
++      no_entry_flag='-bnoentry'
++    fi
++    # It seems that -bexpall can do strange things, so it is better to
++    # generate a list of symbols to export.
++    always_export_symbols=yes
++    if test "$aix_use_runtimelinking" = yes; then
++      hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib'
++      allow_undefined_flag=' -Wl,-G'
++      archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
++    else
++      if test "$host_cpu" = ia64; then
++        hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
++       allow_undefined_flag="-znodefs"
++        archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
++      else
++        hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib'
++        # Warning - without using the other run time loading flags, -berok will
++        #           link without error, but may produce a broken library.
++        allow_undefined_flag='${wl}-berok"
++        # This is a bit strange, but is similar to how AIX traditionally builds
++        # it's shared libraries.
++        archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $objdir/$libname$release.a $objdir/$soname'
++      fi
++    fi
++    ;;
++
++  amigaos*)
++    archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
++    hardcode_libdir_flag_spec='-L$libdir'
++    hardcode_minus_L=yes
++    # see comment about different semantics on the GNU ld section
++    ld_shlibs=no
++    ;;
++
++  cygwin* | mingw* | pw32*)
++    # When not using gcc, we currently assume that we are using
++    # Microsoft Visual C++.
++    # hardcode_libdir_flag_spec is actually meaningless, as there is
++    # no search path for DLLs.
++    hardcode_libdir_flag_spec=' '
++    allow_undefined_flag=unsupported
++    # Tell ltmain to make .lib files, not .a files.
++    libext=lib
++    # FIXME: Setting linknames here is a bad hack.
++    archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames='
++    # The linker will automatically build a .lib file if we build a DLL.
++    old_archive_from_new_cmds='true'
++    # FIXME: Should let the user specify the lib program.
++    old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
++    fix_srcfile_path='`cygpath -w "$srcfile"`'
++    ;;
++
++  darwin* | rhapsody*)
++    allow_undefined_flag='-undefined suppress'
++    # FIXME: Relying on posixy $() will cause problems for
++    #        cross-compilation, but unfortunately the echo tests do not
++    #        yet detect zsh echo's removal of \ escapes.
++    archive_cmds='$CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linkopts -install_name $rpath/$soname $(test -n "$verstring" -a x$verstring != x0.0 && echo $verstring)'
++    # We need to add '_' to the symbols in $export_symbols first
++    #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
++    hardcode_direct=yes
++    hardcode_shlibpath_var=no
++    whole_archive_flag_spec='-all_load $convenience'
++    ;;
++
++  freebsd1*)
++    ld_shlibs=no
++    ;;
++
++  # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
++  # support.  Future versions do this automatically, but an explicit c++rt0.o
++  # does not break anything, and helps significantly (at the cost of a little
++  # extra space).
++  freebsd2.2*)
++    archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
++    hardcode_libdir_flag_spec='-R$libdir'
++    hardcode_direct=yes
++    hardcode_shlibpath_var=no
++    ;;
++
++  # Unfortunately, older versions of FreeBSD 2 do not have this feature.
++  freebsd2*)
++    archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++    hardcode_direct=yes
++    hardcode_minus_L=yes
++    hardcode_shlibpath_var=no
++    ;;
++
++  # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
++  freebsd*)
++    archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
++    hardcode_libdir_flag_spec='-R$libdir'
++    hardcode_direct=yes
++    hardcode_shlibpath_var=no
++    ;;
++
++  hpux9* | hpux10* | hpux11*)
++    case $host_os in
++    hpux9*) archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ;;
++    *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;;
++    esac
++    hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
++    hardcode_libdir_separator=:
++    hardcode_direct=yes
++    hardcode_minus_L=yes # Not in the search PATH, but as the default
++			 # location of the library.
++    export_dynamic_flag_spec='${wl}-E'
++    ;;
++
++  irix5* | irix6*)
++    if test "$GCC" = yes; then
++      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++    else
++      archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
++    fi
++    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
++    hardcode_libdir_separator=:
++    link_all_deplibs=yes
++    ;;
++
++  netbsd*)
++    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
++    else
++      archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
++    fi
++    hardcode_libdir_flag_spec='-R$libdir'
++    hardcode_direct=yes
++    hardcode_shlibpath_var=no
++    ;;
++
++  newsos6)
++    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linkopts'
++    hardcode_direct=yes
++    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
++    hardcode_libdir_separator=:
++    hardcode_shlibpath_var=no
++    ;;
++
++  openbsd*)
++    archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++    hardcode_libdir_flag_spec='-R$libdir'
++    hardcode_direct=yes
++    hardcode_shlibpath_var=no
++    ;;
++
++  os2*)
++    hardcode_libdir_flag_spec='-L$libdir'
++    hardcode_minus_L=yes
++    allow_undefined_flag=unsupported
++    archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
++    old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
++    ;;
++
++  osf3*)
++    if test "$GCC" = yes; then
++      allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
++      archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++    else
++      allow_undefined_flag=' -expect_unresolved \*'
++      archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
++    fi
++    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
++    hardcode_libdir_separator=:
++    ;;
++
++  osf4* | osf5*)	# as osf3* with the addition of -msym flag
++    if test "$GCC" = yes; then
++      allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
++      archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
++    else
++      allow_undefined_flag=' -expect_unresolved \*'
++      archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
++      archive_expsym_cmds='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
++      $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
++
++      #Both c and cxx compiler support -rpath directly
++      hardcode_libdir_flag_spec='-rpath $libdir'
++    fi
++    hardcode_libdir_separator=:
++    ;;
++
++  sco3.2v5*)
++    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++    hardcode_shlibpath_var=no
++    runpath_var=LD_RUN_PATH
++    hardcode_runpath_var=yes
++    ;;
++
++  solaris*)
++    no_undefined_flag=' -z defs'
++    # $CC -shared without GNU ld will not create a library from C++
++    # object files and a static libstdc++, better avoid it by now
++    archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
++    archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++		$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
++    hardcode_libdir_flag_spec='-R$libdir'
++    hardcode_shlibpath_var=no
++    case $host_os in
++    [solaris2.[0-5] | solaris2.[0-5].*]) ;;
++    *) # Supported since Solaris 2.6 (maybe 2.5.1?)
++      whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
++    esac
++    link_all_deplibs=yes
++    ;;
++
++  sunos4*)
++    if test "x$host_vendor" = xsequent; then
++      # Use $CC to link under sequent, because it throws in some extra .o
++      # files that make .init and .fini sections work.
++      archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
++    else
++      archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
++    fi
++    hardcode_libdir_flag_spec='-L$libdir'
++    hardcode_direct=yes
++    hardcode_minus_L=yes
++    hardcode_shlibpath_var=no
++    ;;
++
++  sysv4)
++    if test "x$host_vendor" = xsno; then
++      archive_cmds='$LD -G -Bsymbolic -h $soname -o $lib $libobjs $deplibs $linkopts'
++      hardcode_direct=yes # is this really true???
++    else
++      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_direct=no #Motorola manual says yes, but my tests say they lie
++    fi
++    runpath_var='LD_RUN_PATH'
++    hardcode_shlibpath_var=no
++    ;;
++
++  sysv4.3*)
++    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++    hardcode_shlibpath_var=no
++    export_dynamic_flag_spec='-Bexport'
++    ;;
++
++  sysv5*)
++    no_undefined_flag=' -z text'
++    # $CC -shared without GNU ld will not create a library from C++
++    # object files and a static libstdc++, better avoid it by now
++    archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
++    archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++		$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
++    hardcode_libdir_flag_spec=
++    hardcode_shlibpath_var=no
++    runpath_var='LD_RUN_PATH'
++    ;;
++
++  uts4*)
++    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++    hardcode_libdir_flag_spec='-L$libdir'
++    hardcode_shlibpath_var=no
++    ;;
++
++  dgux*)
++    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++    hardcode_libdir_flag_spec='-L$libdir'
++    hardcode_shlibpath_var=no
++    ;;
++
++  sysv4*MP*)
++    if test -d /usr/nec; then
++      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_shlibpath_var=no
++      runpath_var=LD_RUN_PATH
++      hardcode_runpath_var=yes
++      ld_shlibs=yes
++    fi
++    ;;
++
++  sysv4.2uw2*)
++    archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
++    hardcode_direct=yes
++    hardcode_minus_L=no
++    hardcode_shlibpath_var=no
++    hardcode_runpath_var=yes
++    runpath_var=LD_RUN_PATH
++    ;;
++
++  sysv5uw7* | unixware7*)
++    no_undefined_flag='${wl}-z ${wl}text'
++    if test "$GCC" = yes; then
++      archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++    else
++      archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++    fi
++    runpath_var='LD_RUN_PATH'
++    hardcode_shlibpath_var=no
++    ;;
++
++  *)
++    ld_shlibs=no
++    ;;
++  esac
++fi
++AC_MSG_RESULT([$ld_shlibs])
++test "$ld_shlibs" = no && can_build_shared=no
++
++# Check hardcoding attributes.
++AC_MSG_CHECKING([how to hardcode library paths into programs])
++hardcode_action=
++if test -n "$hardcode_libdir_flag_spec" || \
++   test -n "$runpath_var"; then
++
++  # We can hardcode non-existant directories.
++  if test "$hardcode_direct" != no &&
++     # If the only mechanism to avoid hardcoding is shlibpath_var, we
++     # have to relink, otherwise we might link with an installed library
++     # when we should be linking with a yet-to-be-installed one
++     ## test "$hardcode_shlibpath_var" != no &&
++     test "$hardcode_minus_L" != no; then
++    # Linking always hardcodes the temporary library directory.
++    hardcode_action=relink
++  else
++    # We can link without hardcoding, and we can hardcode nonexisting dirs.
++    hardcode_action=immediate
++  fi
++else
++  # We cannot hardcode anything, or else we can only hardcode existing
++  # directories.
++  hardcode_action=unsupported
++fi
++AC_MSG_RESULT([$hardcode_action])
++
++striplib=
++old_striplib=
++AC_MSG_CHECKING([whether stripping libraries is possible])
++if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
++  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
++  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
++  AC_MSG_RESULT([yes])
++else
++  AC_MSG_RESULT([no])
++fi
++
++reload_cmds='$LD$reload_flag -o $output$reload_objs'
++test -z "$deplibs_check_method" && deplibs_check_method=unknown
++
++# PORTME Fill in your ld.so characteristics
++AC_MSG_CHECKING([dynamic linker characteristics])
++library_names_spec=
++libname_spec='lib$name'
++soname_spec=
++postinstall_cmds=
++postuninstall_cmds=
++finish_cmds=
++finish_eval=
++shlibpath_var=
++shlibpath_overrides_runpath=unknown
++version_type=none
++dynamic_linker="$host_os ld.so"
++sys_lib_dlsearch_path_spec="/lib /usr/lib"
++sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
++
++case $host_os in
++aix3*)
++  version_type=linux
++  library_names_spec='${libname}${release}.so$versuffix $libname.a'
++  shlibpath_var=LIBPATH
++
++  # AIX has no versioning support, so we append a major version to the name.
++  soname_spec='${libname}${release}.so$major'
++  ;;
++
++aix4* | aix5*)
++  version_type=linux
++  if test "$host_cpu" = ia64; then
++    # AIX 5 supports IA64
++    library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so'
++    shlibpath_var=LD_LIBRARY_PATH
++  else
++    # With GCC up to 2.95.x, collect2 would create an import file
++    # for dependence libraries.  The import file would start with
++    # the line `#! .'.  This would cause the generated library to
++    # depend on `.', always an invalid library.  This was fixed in
++    # development snapshots of GCC prior to 3.0.
++    case $host_os in
++      [ aix4 | aix4.[01] | aix4.[01].*)]
++      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
++           echo ' yes '
++           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
++        :
++      else
++        can_build_shared=no
++      fi
++      ;;
++    esac
++    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
++    # soname into executable. Probably we can add versioning support to
++    # collect2, so additional links can be useful in future.
++    if test "$aix_use_runtimelinking" = yes; then
++      # If using run time linking (on AIX 4.2 or later) use lib<name>.so instead of
++      # lib<name>.a to let people know that these are not typical AIX shared libraries.
++      library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++    else
++      # We preserve .a as extension for shared libraries through AIX4.2
++      # and later when we are not doing run time linking.
++      library_names_spec='${libname}${release}.a $libname.a'
++      soname_spec='${libname}${release}.so$major'
++    fi
++    shlibpath_var=LIBPATH
++    deplibs_check_method=pass_all
++  fi
++  ;;
++
++amigaos*)
++  library_names_spec='$libname.ixlibrary $libname.a'
++  # Create ${libname}_ixlibrary.a entries in /sys/libs.
++  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | [$Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\'']`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done'
++  ;;
++
++beos*)
++  library_names_spec='${libname}.so'
++  dynamic_linker="$host_os ld.so"
++  shlibpath_var=LIBRARY_PATH
++  ;;
++
++bsdi4*)
++  version_type=linux
++  need_version=no
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  soname_spec='${libname}${release}.so$major'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
++  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
++  export_dynamic_flag_spec=-rdynamic
++  # the default ld.so.conf also contains /usr/contrib/lib and
++  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
++  # libtool to hard-code these into programs
++  ;;
++
++cygwin* | mingw* | pw32*)
++  version_type=windows
++  need_version=no
++  need_lib_prefix=no
++  case $GCC,$host_os in
++  yes,cygwin*)
++    library_names_spec='$libname.dll.a'
++    soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | [sed -e 's/[.]/-/g']`${versuffix}.dll'
++    postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~
++      dldir=$destdir/`dirname \$dlpath`~
++      test -d \$dldir || mkdir -p \$dldir~
++      $install_prog .libs/$dlname \$dldir/$dlname'
++    postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~
++      dlpath=$dir/\$dldll~
++       $rm \$dlpath'
++    ;;
++  yes,mingw*)
++    library_names_spec='${libname}`echo ${release} | [sed -e 's/[.]/-/g']`${versuffix}.dll'
++    sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g"`
++    ;;
++  yes,pw32*)
++    library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
++    ;;
++  *)
++    library_names_spec='${libname}`echo ${release} | [sed -e 's/[.]/-/g']`${versuffix}.dll $libname.lib'
++    ;;
++  esac
++  dynamic_linker='Win32 ld.exe'
++  # FIXME: first we should search . and the directory the executable is in
++  shlibpath_var=PATH
++  ;;
++
++darwin* | rhapsody*)
++  dynamic_linker="$host_os dyld"
++  version_type=darwin
++  need_lib_prefix=no
++  need_version=no
++  # FIXME: Relying on posixy $() will cause problems for
++  #        cross-compilation, but unfortunately the echo tests do not
++  #        yet detect zsh echo's removal of \ escapes.
++  library_names_spec='${libname}${release}${versuffix}.$(test .$module = .yes && echo so || echo dylib) ${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib) ${libname}.$(test .$module = .yes && echo so || echo dylib)'
++  soname_spec='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)'
++  shlibpath_overrides_runpath=yes
++  shlibpath_var=DYLD_LIBRARY_PATH
++  ;;
++
++freebsd1*)
++  dynamic_linker=no
++  ;;
++
++freebsd*)
++  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
++  version_type=freebsd-$objformat
++  case $version_type in
++    freebsd-elf*)
++      library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
++      need_version=no
++      need_lib_prefix=no
++      ;;
++    freebsd-*)
++      library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix'
++      need_version=yes
++      ;;
++  esac
++  shlibpath_var=LD_LIBRARY_PATH
++  case $host_os in
++  freebsd2*)
++    shlibpath_overrides_runpath=yes
++    ;;
++  *)
++    shlibpath_overrides_runpath=no
++    hardcode_into_libs=yes
++    ;;
++  esac
++  ;;
++
++gnu*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so'
++  soname_spec='${libname}${release}.so$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  hardcode_into_libs=yes
++  ;;
++
++hpux9* | hpux10* | hpux11*)
++  # Give a soname corresponding to the major version so that dld.sl refuses to
++  # link against other versions.
++  dynamic_linker="$host_os dld.sl"
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=no
++  shlibpath_var=SHLIB_PATH
++  shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
++  library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl'
++  soname_spec='${libname}${release}.sl$major'
++  # HP-UX runs *really* slowly unless shared libraries are mode 555.
++  postinstall_cmds='chmod 555 $lib'
++  ;;
++
++irix5* | irix6*)
++  version_type=irix
++  need_lib_prefix=no
++  need_version=no
++  soname_spec='${libname}${release}.so$major'
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so'
++  case $host_os in
++  irix5*)
++    libsuff= shlibsuff=
++    ;;
++  *)
++    case $LD in # libtool.m4 will add one of these switches to LD
++    *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;;
++    *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;;
++    *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;;
++    *) libsuff= shlibsuff= libmagic=never-match;;
++    esac
++    ;;
++  esac
++  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
++  shlibpath_overrides_runpath=no
++  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
++  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
++  ;;
++
++# No shared lib support for Linux oldld, aout, or coff.
++linux-gnuoldld* | linux-gnuaout* | linux-gnucoff*)
++  dynamic_linker=no
++  ;;
++
++# This must be Linux ELF.
++linux-gnu*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  soname_spec='${libname}${release}.so$major'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=no
++  # This implies no fast_install, which is unacceptable.
++  # Some rework will be needed to allow for fast_install
++  # before this can be enabled.
++  hardcode_into_libs=yes
++
++  # We used to test for /lib/ld.so.1 and disable shared libraries on
++  # powerpc, because MkLinux only supported shared libraries with the
++  # GNU dynamic linker.  Since this was broken with cross compilers,
++  # most powerpc-linux boxes support dynamic linking these days and
++  # people can always --disable-shared, the test was removed, and we
++  # assume the GNU/Linux dynamic linker is in use.
++  dynamic_linker='GNU/Linux ld.so'
++  ;;
++
++netbsd*)
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=no
++  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++    library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
++    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
++    dynamic_linker='NetBSD (a.out) ld.so'
++  else
++    library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so'
++    soname_spec='${libname}${release}.so$major'
++    dynamic_linker='NetBSD ld.elf_so'
++  fi
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  hardcode_into_libs=yes
++  ;;
++
++newsos6)
++  version_type=linux
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  ;;
++
++openbsd*)
++  version_type=sunos
++  if test "$with_gnu_ld" = yes; then
++    need_lib_prefix=no
++    need_version=no
++  fi
++  library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++os2*)
++  libname_spec='$name'
++  need_lib_prefix=no
++  library_names_spec='$libname.dll $libname.a'
++  dynamic_linker='OS/2 ld.exe'
++  shlibpath_var=LIBPATH
++  ;;
++
++osf3* | osf4* | osf5*)
++  version_type=osf
++  need_version=no
++  soname_spec='${libname}${release}.so'
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
++  shlibpath_var=LD_LIBRARY_PATH
++  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
++  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
++  ;;
++
++sco3.2v5*)
++  version_type=osf
++  soname_spec='${libname}${release}.so$major'
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++solaris*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  soname_spec='${libname}${release}.so$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  hardcode_into_libs=yes
++  # ldd complains unless libraries are executable
++  postinstall_cmds='chmod +x $lib'
++  ;;
++
++sunos4*)
++  version_type=sunos
++  library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
++  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  if test "$with_gnu_ld" = yes; then
++    need_lib_prefix=no
++  fi
++  need_version=yes
++  ;;
++
++sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
++  version_type=linux
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  soname_spec='${libname}${release}.so$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  case $host_vendor in
++    sni)
++      shlibpath_overrides_runpath=no
++      ;;
++    motorola)
++      need_lib_prefix=no
++      need_version=no
++      shlibpath_overrides_runpath=no
++      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
++      ;;
++  esac
++  ;;
++
++uts4*)
++  version_type=linux
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  soname_spec='${libname}${release}.so$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++dgux*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  soname_spec='${libname}${release}.so$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++sysv4*MP*)
++  if test -d /usr/nec ;then
++    version_type=linux
++    library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so'
++    soname_spec='$libname.so.$major'
++    shlibpath_var=LD_LIBRARY_PATH
++  fi
++  ;;
++
++*)
++  dynamic_linker=no
++  ;;
++esac
++AC_MSG_RESULT([$dynamic_linker])
++test "$dynamic_linker" = no && can_build_shared=no
++
++# Report the final consequences.
++AC_MSG_CHECKING([if libtool supports shared libraries])
++AC_MSG_RESULT([$can_build_shared])
++
++if test "$hardcode_action" = relink; then
++  # Fast installation is not supported
++  enable_fast_install=no
++elif test "$shlibpath_overrides_runpath" = yes ||
++     test "$enable_shared" = no; then
++  # Fast installation is not necessary
++  enable_fast_install=needless
++fi
++
++variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
++if test "$GCC" = yes; then
++  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
++fi
++
++AC_LIBTOOL_DLOPEN_SELF
++
++if test "$enable_shared" = yes && test "$GCC" = yes; then
++  case $archive_cmds in
++  *'~'*)
++    # FIXME: we may have to deal with multi-command sequences.
++    ;;
++  '$CC '*)
++    # Test whether the compiler implicitly links with -lc since on some
++    # systems, -lgcc has to come before -lc. If gcc already passes -lc
++    # to ld, don't add -lc before -lgcc.
++    AC_MSG_CHECKING([whether -lc should be explicitly linked in])
++    AC_CACHE_VAL([lt_cv_archive_cmds_need_lc],
++    [$rm conftest*
++    echo 'static int dummy;' > conftest.$ac_ext
++
++    if AC_TRY_EVAL(ac_compile); then
++      soname=conftest
++      lib=conftest
++      libobjs=conftest.$ac_objext
++      deplibs=
++      wl=$lt_cv_prog_cc_wl
++      compiler_flags=-v
++      linker_flags=-v
++      verstring=
++      output_objdir=.
++      libname=conftest
++      save_allow_undefined_flag=$allow_undefined_flag
++      allow_undefined_flag=
++      if AC_TRY_EVAL(archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1)
++      then
++	lt_cv_archive_cmds_need_lc=no
++      else
++	lt_cv_archive_cmds_need_lc=yes
++      fi
++      allow_undefined_flag=$save_allow_undefined_flag
++    else
++      cat conftest.err 1>&5
++    fi])
++    AC_MSG_RESULT([$lt_cv_archive_cmds_need_lc])
++    ;;
++  esac
++fi
++need_lc=${lt_cv_archive_cmds_need_lc-yes}
++
++# The second clause should only fire when bootstrapping the
++# libtool distribution, otherwise you forgot to ship ltmain.sh
++# with your package, and you will get complaints that there are
++# no rules to generate ltmain.sh.
++if test -f "$ltmain"; then
++  :
++else
++  # If there is no Makefile yet, we rely on a make rule to execute
++  # `config.status --recheck' to rerun these tests and create the
++  # libtool script then.
++  test -f Makefile && make "$ltmain"
++fi
++
++if test -f "$ltmain"; then
++  trap "$rm \"${ofile}T\"; exit 1" 1 2 15
++  $rm -f "${ofile}T"
++
++  echo creating $ofile
++
++  # Now quote all the things that may contain metacharacters while being
++  # careful not to overquote the AC_SUBSTed values.  We take copies of the
++  # variables and quote the copies for generation of the libtool script.
++  for var in echo old_CC old_CFLAGS \
++    AR AR_FLAGS CC LD LN_S NM SHELL \
++    reload_flag reload_cmds wl \
++    pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \
++    thread_safe_flag_spec whole_archive_flag_spec libname_spec \
++    library_names_spec soname_spec \
++    RANLIB old_archive_cmds old_archive_from_new_cmds old_postinstall_cmds \
++    old_postuninstall_cmds archive_cmds archive_expsym_cmds postinstall_cmds \
++    postuninstall_cmds extract_expsyms_cmds old_archive_from_expsyms_cmds \
++    old_striplib striplib file_magic_cmd export_symbols_cmds \
++    deplibs_check_method allow_undefined_flag no_undefined_flag \
++    finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \
++    hardcode_libdir_flag_spec hardcode_libdir_separator  \
++    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
++    compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do
++
++    case $var in
++    reload_cmds | old_archive_cmds | old_archive_from_new_cmds | \
++    old_postinstall_cmds | old_postuninstall_cmds | \
++    export_symbols_cmds | archive_cmds | archive_expsym_cmds | \
++    extract_expsyms_cmds | old_archive_from_expsyms_cmds | \
++    postinstall_cmds | postuninstall_cmds | \
++    finish_cmds | sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
++      # Double-quote double-evaled strings.
++      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
++      ;;
++    *)
++      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
++      ;;
++    esac
++  done
++
++  cat <<__EOF__ > "${ofile}T"
++#! $SHELL
++
++# `$echo "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
++# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
++# NOTE: Changes made to this file will be lost: look at ltmain.sh.
++#
++# Copyright (C) 1996-2000 Free Software Foundation, Inc.
++# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
++#
++# 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
++#
++# As a special exception to the GNU General Public License, if you
++# distribute this file as part of a program that contains a
++# configuration script generated by Autoconf, you may include it under
++# the same distribution terms that you use for the rest of that program.
++
++# Sed that helps us avoid accidentally triggering echo(1) options like -n.
++Xsed="sed -e s/^X//"
++
++# The HP-UX ksh and POSIX shell print the target directory to stdout
++# if CDPATH is set.
++if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
++
++# ### BEGIN LIBTOOL CONFIG
++
++# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
+ 
+-dnl
+-dnl Test for __attribute__
+-dnl
++# Shell to use when invoking shell scripts.
++SHELL=$lt_SHELL
+ 
+-AC_DEFUN(AC_C___ATTRIBUTE__, [
+-AC_MSG_CHECKING(for __attribute__)
+-AC_CACHE_VAL(ac_cv___attribute__, [
+-AC_TRY_COMPILE([
+-#include <stdlib.h>
+-],
+-[
+-static void foo(void) __attribute__ ((noreturn));
++# Whether or not to build shared libraries.
++build_libtool_libs=$enable_shared
+ 
+-static void
+-foo(void)
+-{
+-  exit(1);
+-}
+-],
+-ac_cv___attribute__=yes,
+-ac_cv___attribute__=no)])
+-if test "$ac_cv___attribute__" = "yes"; then
+-  AC_DEFINE(HAVE___ATTRIBUTE__, 1, [define if your compiler has __attribute__])
+-fi
+-AC_MSG_RESULT($ac_cv___attribute__)
+-])
++# Whether or not to add -lc for building shared libraries.
++build_libtool_need_lc=$need_lc
+ 
++# Whether or not to build static libraries.
++build_old_libs=$enable_static
+ 
++# Whether or not to optimize for fast installation.
++fast_install=$enable_fast_install
+ 
+-# serial 44 AC_PROG_LIBTOOL
+-AC_DEFUN(AC_PROG_LIBTOOL,[AC_REQUIRE([_AC_PROG_LIBTOOL])])
+-AC_DEFUN(_AC_PROG_LIBTOOL,
+-[AC_REQUIRE([AC_LIBTOOL_SETUP])dnl
++# The host system.
++host_alias=$host_alias
++host=$host
+ 
+-# Save cache, so that ltconfig can load it
+-AC_CACHE_SAVE
++# An echo program that does not interpret backslashes.
++echo=$lt_echo
+ 
+-# Actually configure libtool.  ac_aux_dir is where install-sh is found.
+-AR="$AR" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
+-MAGIC="$MAGIC" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
+-LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
+-AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
+-objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
+-deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
+-${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
+-$libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
+-|| AC_MSG_ERROR([libtool configure failed])
++# The archiver.
++AR=$lt_AR
++AR_FLAGS=$lt_AR_FLAGS
+ 
+-# Reload cache, that may have been modified by ltconfig
+-AC_CACHE_LOAD
++# The default C compiler.
++CC=$lt_CC
+ 
+-# This can be used to rebuild libtool when needed
+-LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh"
++# Is the compiler the GNU C compiler?
++with_gcc=$GCC
+ 
+-# Always use our own libtool.
+-LIBTOOL='$(SHELL) $(top_builddir)/libtool'
+-AC_SUBST(LIBTOOL)dnl
++# The linker used to build libraries.
++LD=$lt_LD
+ 
+-# Redirect the config.log output again, so that the ltconfig log is not
+-# clobbered by the next message.
+-exec 5>>./config.log
+-])
++# Whether we need hard or soft links.
++LN_S=$lt_LN_S
+ 
+-AC_DEFUN(AC_LIBTOOL_SETUP,
+-[AC_PREREQ(2.13)dnl
+-AC_REQUIRE([AC_ENABLE_SHARED])dnl
+-AC_REQUIRE([AC_ENABLE_STATIC])dnl
+-AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl
+-AC_REQUIRE([AC_CANONICAL_HOST])dnl
+-AC_REQUIRE([AC_CANONICAL_BUILD])dnl
+-AC_REQUIRE([AC_PROG_CC])dnl
+-AC_REQUIRE([AC_PROG_LD])dnl
+-AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl
+-AC_REQUIRE([AC_PROG_NM])dnl
+-AC_REQUIRE([AC_PROG_LN_S])dnl
+-AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl
+-AC_REQUIRE([AC_OBJEXT])dnl
+-AC_REQUIRE([AC_EXEEXT])dnl
+-dnl
++# A BSD-compatible nm program.
++NM=$lt_NM
+ 
+-# Only perform the check for file, if the check method requires it
+-case "$deplibs_check_method" in
+-file_magic*)
+-  if test "$file_magic_cmd" = '${MAGIC}'; then
+-    AC_PATH_MAGIC
+-  fi
+-  ;;
+-esac
++# A symbol stripping program
++STRIP=$STRIP
+ 
+-AC_CHECK_TOOL(RANLIB, ranlib, :)
+-AC_CHECK_TOOL(STRIP, strip, :)
++# Used to examine libraries when file_magic_cmd begins "file"
++MAGIC_CMD=$MAGIC_CMD
+ 
+-# Check for any special flags to pass to ltconfig.
+-libtool_flags="--cache-file=$cache_file"
+-test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
+-test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
+-test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
+-test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"
+-test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
+-ifdef([AC_PROVIDE_AC_LIBTOOL_DLOPEN],
+-[libtool_flags="$libtool_flags --enable-dlopen"])
+-ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL],
+-[libtool_flags="$libtool_flags --enable-win32-dll"])
+-AC_ARG_ENABLE(libtool-lock,
+-  [  --disable-libtool-lock  avoid locking (might break parallel builds)])
+-test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
+-test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
++# Used on cygwin: DLL creation program.
++DLLTOOL="$DLLTOOL"
+ 
+-AC_ARG_WITH(pic,
+-  [  --with-pic              try to use only PIC/non-PIC objects [default=use both]],
+-     pic_mode="$withval", pic_mode=default)
+-test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
+-test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
++# Used on cygwin: object dumper.
++OBJDUMP="$OBJDUMP"
+ 
+-# Some flags need to be propagated to the compiler or linker for good
+-# libtool support.
+-case "$host" in
+-*-*-irix6*)
+-  # Find out which ABI we are using.
+-  echo '[#]line __oline__ "configure"' > conftest.$ac_ext
+-  if AC_TRY_EVAL(ac_compile); then
+-    case "`/usr/bin/file conftest.o`" in
+-    *32-bit*)
+-      LD="${LD-ld} -32"
+-      ;;
+-    *N32*)
+-      LD="${LD-ld} -n32"
+-      ;;
+-    *64-bit*)
+-      LD="${LD-ld} -64"
+-      ;;
+-    esac
+-  fi
+-  rm -rf conftest*
+-  ;;
++# Used on cygwin: assembler.
++AS="$AS"
+ 
+-*-*-sco3.2v5*)
+-  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
+-  SAVE_CFLAGS="$CFLAGS"
+-  CFLAGS="$CFLAGS -belf"
+-  AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
+-    [AC_LANG_SAVE
+-     AC_LANG_C
+-     AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
+-     AC_LANG_RESTORE])
+-  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
+-    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
+-    CFLAGS="$SAVE_CFLAGS"
+-  fi
+-  ;;
++# The name of the directory that contains temporary libtool files.
++objdir=$objdir
+ 
+-ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL],
+-[*-*-cygwin* | *-*-mingw*)
+-  AC_CHECK_TOOL(DLLTOOL, dlltool, false)
+-  AC_CHECK_TOOL(AS, as, false)
+-  AC_CHECK_TOOL(OBJDUMP, objdump, false)
++# How to create reloadable object files.
++reload_flag=$lt_reload_flag
++reload_cmds=$lt_reload_cmds
+ 
+-  # recent cygwin and mingw systems supply a stub DllMain which the user
+-  # can override, but on older systems we have to supply one
+-  AC_CACHE_CHECK([if libtool should supply DllMain function], lt_cv_need_dllmain,
+-    [AC_TRY_LINK([],
+-      [extern int __attribute__((__stdcall__)) DllMain(void*, int, void*);
+-      DllMain (0, 0, 0);],
+-      [lt_cv_need_dllmain=no],[lt_cv_need_dllmain=yes])])
++# How to pass a linker flag through the compiler.
++wl=$lt_wl
+ 
+-  case "$host/$CC" in
+-  *-*-cygwin*/gcc*-mno-cygwin*|*-*-mingw*)
+-    # old mingw systems require "-dll" to link a DLL, while more recent ones
+-    # require "-mdll"
+-    SAVE_CFLAGS="$CFLAGS"
+-    CFLAGS="$CFLAGS -mdll"
+-    AC_CACHE_CHECK([how to link DLLs], lt_cv_cc_dll_switch,
+-      [AC_TRY_LINK([], [], [lt_cv_cc_dll_switch=-mdll],[lt_cv_cc_dll_switch=-dll])])
+-    CFLAGS="$SAVE_CFLAGS" ;;
+-  *-*-cygwin*)
+-    # cygwin systems need to pass --dll to the linker, and not link
+-    # crt.o which will require a WinMain@16 definition.
+-    lt_cv_cc_dll_switch="-Wl,--dll -nostartfiles" ;;
++# Object file suffix (normally "o").
++objext="$ac_objext"
++
++# Old archive suffix (normally "a").
++libext="$libext"
++
++# Executable file suffix (normally "").
++exeext="$exeext"
++
++# Additional compiler flags for building library objects.
++pic_flag=$lt_pic_flag
++pic_mode=$pic_mode
++
++# Does compiler simultaneously support -c and -o options?
++compiler_c_o=$lt_compiler_c_o
++
++# Can we write directly to a .lo ?
++compiler_o_lo=$lt_compiler_o_lo
++
++# Must we lock files when doing compilation ?
++need_locks=$lt_need_locks
++
++# Do we need the lib prefix for modules?
++need_lib_prefix=$need_lib_prefix
++
++# Do we need a version for libraries?
++need_version=$need_version
++
++# Whether dlopen is supported.
++dlopen_support=$enable_dlopen
++
++# Whether dlopen of programs is supported.
++dlopen_self=$enable_dlopen_self
++
++# Whether dlopen of statically linked programs is supported.
++dlopen_self_static=$enable_dlopen_self_static
++
++# Compiler flag to prevent dynamic linking.
++link_static_flag=$lt_link_static_flag
++
++# Compiler flag to turn off builtin functions.
++no_builtin_flag=$lt_no_builtin_flag
++
++# Compiler flag to allow reflexive dlopens.
++export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
++
++# Compiler flag to generate shared objects directly from archives.
++whole_archive_flag_spec=$lt_whole_archive_flag_spec
++
++# Compiler flag to generate thread-safe objects.
++thread_safe_flag_spec=$lt_thread_safe_flag_spec
++
++# Library versioning type.
++version_type=$version_type
++
++# Format of library name prefix.
++libname_spec=$lt_libname_spec
++
++# List of archive names.  First name is the real one, the rest are links.
++# The last name is the one that the linker finds with -lNAME.
++library_names_spec=$lt_library_names_spec
++
++# The coded name of the library, if different from the real name.
++soname_spec=$lt_soname_spec
++
++# Commands used to build and install an old-style archive.
++RANLIB=$lt_RANLIB
++old_archive_cmds=$lt_old_archive_cmds
++old_postinstall_cmds=$lt_old_postinstall_cmds
++old_postuninstall_cmds=$lt_old_postuninstall_cmds
++
++# Create an old-style archive from a shared archive.
++old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
++
++# Create a temporary old-style archive to link instead of a shared archive.
++old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
++
++# Commands used to build and install a shared archive.
++archive_cmds=$lt_archive_cmds
++archive_expsym_cmds=$lt_archive_expsym_cmds
++postinstall_cmds=$lt_postinstall_cmds
++postuninstall_cmds=$lt_postuninstall_cmds
++
++# Commands to strip libraries.
++old_striplib=$lt_old_striplib
++striplib=$lt_striplib
++
++# Method to check whether dependent libraries are shared objects.
++deplibs_check_method=$lt_deplibs_check_method
++
++# Command to use when deplibs_check_method == file_magic.
++file_magic_cmd=$lt_file_magic_cmd
++
++# Flag that allows shared libraries with undefined symbols to be built.
++allow_undefined_flag=$lt_allow_undefined_flag
++
++# Flag that forces no undefined symbols.
++no_undefined_flag=$lt_no_undefined_flag
++
++# Commands used to finish a libtool library installation in a directory.
++finish_cmds=$lt_finish_cmds
++
++# Same as above, but a single script fragment to be evaled but not shown.
++finish_eval=$lt_finish_eval
++
++# Take the output of nm and produce a listing of raw symbols and C names.
++global_symbol_pipe=$lt_global_symbol_pipe
++
++# Transform the output of nm in a proper C declaration
++global_symbol_to_cdecl=$lt_global_symbol_to_cdecl
++
++# This is the shared library runtime path variable.
++runpath_var=$runpath_var
++
++# This is the shared library path variable.
++shlibpath_var=$shlibpath_var
++
++# Is shlibpath searched before the hard-coded library search path?
++shlibpath_overrides_runpath=$shlibpath_overrides_runpath
++
++# How to hardcode a shared library path into an executable.
++hardcode_action=$hardcode_action
++
++# Whether we should hardcode library paths into libraries.
++hardcode_into_libs=$hardcode_into_libs
++
++# Flag to hardcode \$libdir into a binary during linking.
++# This must work even if \$libdir does not exist.
++hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
++
++# Whether we need a single -rpath flag with a separated argument.
++hardcode_libdir_separator=$lt_hardcode_libdir_separator
++
++# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
++# resulting binary.
++hardcode_direct=$hardcode_direct
++
++# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
++# resulting binary.
++hardcode_minus_L=$hardcode_minus_L
++
++# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
++# the resulting binary.
++hardcode_shlibpath_var=$hardcode_shlibpath_var
++
++# Variables whose values should be saved in libtool wrapper scripts and
++# restored at relink time.
++variables_saved_for_relink="$variables_saved_for_relink"
++
++# Whether libtool must link a program against all its dependency libraries.
++link_all_deplibs=$link_all_deplibs
++
++# Compile-time system search path for libraries
++sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
++
++# Run-time system search path for libraries
++sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
++
++# Fix the shell variable \$srcfile for the compiler.
++fix_srcfile_path="$fix_srcfile_path"
++
++# Set to yes if exported symbols are required.
++always_export_symbols=$always_export_symbols
++
++# The commands to list exported symbols.
++export_symbols_cmds=$lt_export_symbols_cmds
++
++# The commands to extract the exported symbol list from a shared archive.
++extract_expsyms_cmds=$lt_extract_expsyms_cmds
++
++# Symbols that should not be listed in the preloaded symbols.
++exclude_expsyms=$lt_exclude_expsyms
++
++# Symbols that must always be exported.
++include_expsyms=$lt_include_expsyms
++
++# ### END LIBTOOL CONFIG
++
++__EOF__
++
++  case $host_os in
++  aix3*)
++    cat <<\EOF >> "${ofile}T"
++
++# AIX sometimes has problems with the GCC collect2 program.  For some
++# reason, if we set the COLLECT_NAMES environment variable, the problems
++# vanish in a puff of smoke.
++if test "X${COLLECT_NAMES+set}" != Xset; then
++  COLLECT_NAMES=
++  export COLLECT_NAMES
++fi
++EOF
++    ;;
+   esac
+-  ;;
+-  ])
+-esac
+-])
++
++  case $host_os in
++  cygwin* | mingw* | pw32* | os2*)
++    cat <<'EOF' >> "${ofile}T"
++      # This is a source program that is used to create dlls on Windows
++      # Don't remove nor modify the starting and closing comments
++# /* ltdll.c starts here */
++# #define WIN32_LEAN_AND_MEAN
++# #include <windows.h>
++# #undef WIN32_LEAN_AND_MEAN
++# #include <stdio.h>
++#
++# #ifndef __CYGWIN__
++# #  ifdef __CYGWIN32__
++# #    define __CYGWIN__ __CYGWIN32__
++# #  endif
++# #endif
++#
++# #ifdef __cplusplus
++# extern "C" {
++# #endif
++# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
++# #ifdef __cplusplus
++# }
++# #endif
++#
++# #ifdef __CYGWIN__
++# #include <cygwin/cygwin_dll.h>
++# DECLARE_CYGWIN_DLL( DllMain );
++# #endif
++# HINSTANCE __hDllInstance_base;
++#
++# BOOL APIENTRY
++# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
++# {
++#   __hDllInstance_base = hInst;
++#   return TRUE;
++# }
++# /* ltdll.c ends here */
++        # This is a source program that is used to create import libraries
++        # on Windows for dlls which lack them. Don't remove nor modify the
++        # starting and closing comments
++# /* impgen.c starts here */
++# /*   Copyright (C) 1999-2000 Free Software Foundation, Inc.
++#
++#  This file is part of GNU libtool.
++#
++#  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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
++#  */
++#
++# #include <stdio.h>		/* for printf() */
++# #include <unistd.h>		/* for open(), lseek(), read() */
++# #include <fcntl.h>		/* for O_RDONLY, O_BINARY */
++# #include <string.h>		/* for strdup() */
++#
++# /* O_BINARY isn't required (or even defined sometimes) under Unix */
++# #ifndef O_BINARY
++# #define O_BINARY 0
++# #endif
++#
++# static unsigned int
++# pe_get16 (fd, offset)
++#      int fd;
++#      int offset;
++# {
++#   unsigned char b[2];
++#   lseek (fd, offset, SEEK_SET);
++#   read (fd, b, 2);
++#   return b[0] + (b[1]<<8);
++# }
++#
++# static unsigned int
++# pe_get32 (fd, offset)
++#     int fd;
++#     int offset;
++# {
++#   unsigned char b[4];
++#   lseek (fd, offset, SEEK_SET);
++#   read (fd, b, 4);
++#   return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
++# }
++#
++# static unsigned int
++# pe_as32 (ptr)
++#      void *ptr;
++# {
++#   unsigned char *b = ptr;
++#   return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
++# }
++#
++# int
++# main (argc, argv)
++#     int argc;
++#     char *argv[];
++# {
++#     int dll;
++#     unsigned long pe_header_offset, opthdr_ofs, num_entries, i;
++#     unsigned long export_rva, export_size, nsections, secptr, expptr;
++#     unsigned long name_rvas, nexp;
++#     unsigned char *expdata, *erva;
++#     char *filename, *dll_name;
++#
++#     filename = argv[1];
++#
++#     dll = open(filename, O_RDONLY|O_BINARY);
++#     if (dll < 1)
++# 	return 1;
++#
++#     dll_name = filename;
++#
++#     for (i=0; filename[i]; i++)
++# 	if (filename[i] == '/' || filename[i] == '\\'  || filename[i] == ':')
++# 	    dll_name = filename + i +1;
++#
++#     pe_header_offset = pe_get32 (dll, 0x3c);
++#     opthdr_ofs = pe_header_offset + 4 + 20;
++#     num_entries = pe_get32 (dll, opthdr_ofs + 92);
++#
++#     if (num_entries < 1) /* no exports */
++# 	return 1;
++#
++#     export_rva = pe_get32 (dll, opthdr_ofs + 96);
++#     export_size = pe_get32 (dll, opthdr_ofs + 100);
++#     nsections = pe_get16 (dll, pe_header_offset + 4 +2);
++#     secptr = (pe_header_offset + 4 + 20 +
++# 	      pe_get16 (dll, pe_header_offset + 4 + 16));
++#
++#     expptr = 0;
++#     for (i = 0; i < nsections; i++)
++#     {
++# 	char sname[8];
++# 	unsigned long secptr1 = secptr + 40 * i;
++# 	unsigned long vaddr = pe_get32 (dll, secptr1 + 12);
++# 	unsigned long vsize = pe_get32 (dll, secptr1 + 16);
++# 	unsigned long fptr = pe_get32 (dll, secptr1 + 20);
++# 	lseek(dll, secptr1, SEEK_SET);
++# 	read(dll, sname, 8);
++# 	if (vaddr <= export_rva && vaddr+vsize > export_rva)
++# 	{
++# 	    expptr = fptr + (export_rva - vaddr);
++# 	    if (export_rva + export_size > vaddr + vsize)
++# 		export_size = vsize - (export_rva - vaddr);
++# 	    break;
++# 	}
++#     }
++#
++#     expdata = (unsigned char*)malloc(export_size);
++#     lseek (dll, expptr, SEEK_SET);
++#     read (dll, expdata, export_size);
++#     erva = expdata - export_rva;
++#
++#     nexp = pe_as32 (expdata+24);
++#     name_rvas = pe_as32 (expdata+32);
++#
++#     printf ("EXPORTS\n");
++#     for (i = 0; i<nexp; i++)
++#     {
++# 	unsigned long name_rva = pe_as32 (erva+name_rvas+i*4);
++# 	printf ("\t%s @ %ld ;\n", erva+name_rva, 1+ i);
++#     }
++#
++#     return 0;
++# }
++# /* impgen.c ends here */
++
++EOF
++    ;;
++  esac
++
++  # We use sed instead of cat because bash on DJGPP gets confused if
++  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
++  # text mode, it properly converts lines to CR/LF.  This bash problem
++  # is reportedly fixed, but why not run on old versions too?
++  sed '$q' "$ltmain" >> "${ofile}T" || (rm -f "${ofile}T"; exit 1)
++
++  mv -f "${ofile}T" "$ofile" || \
++    (rm -f "$ofile" && cp "${ofile}T" "$ofile" && rm -f "${ofile}T")
++  chmod +x "$ofile"
++fi
++
++])# _LT_AC_LTCONFIG_HACK
+ 
+ # AC_LIBTOOL_DLOPEN - enable checks for dlopen support
+-AC_DEFUN(AC_LIBTOOL_DLOPEN, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])])
++AC_DEFUN([AC_LIBTOOL_DLOPEN], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])])
+ 
+ # AC_LIBTOOL_WIN32_DLL - declare package support for building win32 dll's
+-AC_DEFUN(AC_LIBTOOL_WIN32_DLL, [AC_BEFORE([$0], [AC_LIBTOOL_SETUP])])
++AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_BEFORE([$0], [AC_LIBTOOL_SETUP])])
+ 
+ # AC_ENABLE_SHARED - implement the --enable-shared flag
+ # Usage: AC_ENABLE_SHARED[(DEFAULT)]
+ #   Where DEFAULT is either `yes' or `no'.  If omitted, it defaults to
+ #   `yes'.
+-AC_DEFUN(AC_ENABLE_SHARED, [dnl
+-define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl
++AC_DEFUN([AC_ENABLE_SHARED],
++[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl
+ AC_ARG_ENABLE(shared,
+ changequote(<<, >>)dnl
+ <<  --enable-shared[=PKGS]  build shared libraries [default=>>AC_ENABLE_SHARED_DEFAULT],
+ changequote([, ])dnl
+ [p=${PACKAGE-default}
+-case "$enableval" in
++case $enableval in
+ yes) enable_shared=yes ;;
+ no) enable_shared=no ;;
+ *)
+@@ -717,21 +3317,22 @@
+ ])
+ 
+ # AC_DISABLE_SHARED - set the default shared flag to --disable-shared
+-AC_DEFUN(AC_DISABLE_SHARED, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
++AC_DEFUN([AC_DISABLE_SHARED],
++[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
+ AC_ENABLE_SHARED(no)])
+ 
+ # AC_ENABLE_STATIC - implement the --enable-static flag
+ # Usage: AC_ENABLE_STATIC[(DEFAULT)]
+ #   Where DEFAULT is either `yes' or `no'.  If omitted, it defaults to
+ #   `yes'.
+-AC_DEFUN(AC_ENABLE_STATIC, [dnl
+-define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl
++AC_DEFUN([AC_ENABLE_STATIC],
++[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl
+ AC_ARG_ENABLE(static,
+ changequote(<<, >>)dnl
+ <<  --enable-static[=PKGS]  build static libraries [default=>>AC_ENABLE_STATIC_DEFAULT],
+ changequote([, ])dnl
+ [p=${PACKAGE-default}
+-case "$enableval" in
++case $enableval in
+ yes) enable_static=yes ;;
+ no) enable_static=no ;;
+ *)
+@@ -750,7 +3351,8 @@
+ ])
+ 
+ # AC_DISABLE_STATIC - set the default static flag to --disable-static
+-AC_DEFUN(AC_DISABLE_STATIC, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
++AC_DEFUN([AC_DISABLE_STATIC],
++[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
+ AC_ENABLE_STATIC(no)])
+ 
+ 
+@@ -758,14 +3360,14 @@
+ # Usage: AC_ENABLE_FAST_INSTALL[(DEFAULT)]
+ #   Where DEFAULT is either `yes' or `no'.  If omitted, it defaults to
+ #   `yes'.
+-AC_DEFUN(AC_ENABLE_FAST_INSTALL, [dnl
+-define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl
++AC_DEFUN([AC_ENABLE_FAST_INSTALL],
++[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl
+ AC_ARG_ENABLE(fast-install,
+ changequote(<<, >>)dnl
+ <<  --enable-fast-install[=PKGS]  optimize for fast installation [default=>>AC_ENABLE_FAST_INSTALL_DEFAULT],
+ changequote([, ])dnl
+ [p=${PACKAGE-default}
+-case "$enableval" in
++case $enableval in
+ yes) enable_fast_install=yes ;;
+ no) enable_fast_install=no ;;
+ *)
+@@ -784,30 +3386,32 @@
+ ])
+ 
+ # AC_DISABLE_FAST_INSTALL - set the default to --disable-fast-install
+-AC_DEFUN(AC_DISABLE_FAST_INSTALL, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
++AC_DEFUN([AC_DISABLE_FAST_INSTALL],
++[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
+ AC_ENABLE_FAST_INSTALL(no)])
+ 
+ # AC_LIBTOOL_PICMODE - implement the --with-pic flag
+ # Usage: AC_LIBTOOL_PICMODE[(MODE)]
+ #   Where MODE is either `yes' or `no'.  If omitted, it defaults to
+ #   `both'.
+-AC_DEFUN(AC_LIBTOOL_PICMODE, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
++AC_DEFUN([AC_LIBTOOL_PICMODE],
++[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
+ pic_mode=ifelse($#,1,$1,default)])
+ 
+ 
+ # AC_PATH_TOOL_PREFIX - find a file program which can recognise shared library
+-AC_DEFUN(AC_PATH_TOOL_PREFIX,
++AC_DEFUN([AC_PATH_TOOL_PREFIX],
+ [AC_MSG_CHECKING([for $1])
+-AC_CACHE_VAL(lt_cv_path_MAGIC,
+-[case "$MAGIC" in
++AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
++[case $MAGIC_CMD in
+   /*)
+-  lt_cv_path_MAGIC="$MAGIC" # Let the user override the test with a path.
++  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
+   ;;
+   ?:/*)
+-  ac_cv_path_MAGIC="$MAGIC" # Let the user override the test with a dos path.
++  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
+   ;;
+   *)
+-  ac_save_MAGIC="$MAGIC"
++  ac_save_MAGIC_CMD="$MAGIC_CMD"
+   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
+ dnl $ac_dummy forces splitting on constant user-supplied paths.
+ dnl POSIX.2 word splitting is done only on the output of word expansions,
+@@ -816,12 +3420,12 @@
+   for ac_dir in $ac_dummy; do
+     test -z "$ac_dir" && ac_dir=.
+     if test -f $ac_dir/$1; then
+-      lt_cv_path_MAGIC="$ac_dir/$1"
++      lt_cv_path_MAGIC_CMD="$ac_dir/$1"
+       if test -n "$file_magic_test_file"; then
+-	case "$deplibs_check_method" in
++	case $deplibs_check_method in
+ 	"file_magic "*)
+ 	  file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
+-	  MAGIC="$lt_cv_path_MAGIC"
++	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
+ 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
+ 	    egrep "$file_magic_regex" > /dev/null; then
+ 	    :
+@@ -845,12 +3449,12 @@
+     fi
+   done
+   IFS="$ac_save_ifs"
+-  MAGIC="$ac_save_MAGIC"
++  MAGIC_CMD="$ac_save_MAGIC_CMD"
+   ;;
+ esac])
+-MAGIC="$lt_cv_path_MAGIC"
+-if test -n "$MAGIC"; then
+-  AC_MSG_RESULT($MAGIC)
++MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
++if test -n "$MAGIC_CMD"; then
++  AC_MSG_RESULT($MAGIC_CMD)
+ else
+   AC_MSG_RESULT(no)
+ fi
+@@ -858,21 +3462,21 @@
+ 
+ 
+ # AC_PATH_MAGIC - find a file program which can recognise a shared library
+-AC_DEFUN(AC_PATH_MAGIC,
++AC_DEFUN([AC_PATH_MAGIC],
+ [AC_REQUIRE([AC_CHECK_TOOL_PREFIX])dnl
+ AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin:$PATH)
+-if test -z "$lt_cv_path_MAGIC"; then
++if test -z "$lt_cv_path_MAGIC_CMD"; then
+   if test -n "$ac_tool_prefix"; then
+     AC_PATH_TOOL_PREFIX(file, /usr/bin:$PATH)
+   else
+-    MAGIC=:
++    MAGIC_CMD=:
+   fi
+ fi
+ ])
+ 
+ 
+ # AC_PROG_LD - find the path to the GNU or non-GNU linker
+-AC_DEFUN(AC_PROG_LD,
++AC_DEFUN([AC_PROG_LD],
+ [AC_ARG_WITH(gnu-ld,
+ [  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]],
+ test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no)
+@@ -880,7 +3484,7 @@
+ AC_REQUIRE([AC_CANONICAL_HOST])dnl
+ AC_REQUIRE([AC_CANONICAL_BUILD])dnl
+ ac_prog=ld
+-if test "$ac_cv_prog_gcc" = yes; then
++if test "$GCC" = yes; then
+   # Check if gcc -print-prog-name=ld gives a path.
+   AC_MSG_CHECKING([for ld used by GCC])
+   case $host in
+@@ -890,12 +3494,10 @@
+   *)
+     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
+   esac
+-  case "$ac_prog" in
++  case $ac_prog in
+     # Accept absolute paths.
+-changequote(,)dnl
+-    [\\/]* | [A-Za-z]:[\\/]*)
+-      re_direlt='/[^/][^/]*/\.\./'
+-changequote([,])dnl
++    [[\\/]* | [A-Za-z]:[\\/]*)]
++      [re_direlt='/[^/][^/]*/\.\./']
+       # Canonicalize the path of ld
+       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
+       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
+@@ -917,17 +3519,17 @@
+ else
+   AC_MSG_CHECKING([for non-GNU ld])
+ fi
+-AC_CACHE_VAL(ac_cv_path_LD,
++AC_CACHE_VAL(lt_cv_path_LD,
+ [if test -z "$LD"; then
+   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
+   for ac_dir in $PATH; do
+     test -z "$ac_dir" && ac_dir=.
+     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
+-      ac_cv_path_LD="$ac_dir/$ac_prog"
++      lt_cv_path_LD="$ac_dir/$ac_prog"
+       # Check to see if the program is GNU ld.  I'd rather use --version,
+       # but apparently some GNU ld's only accept -v.
+       # Break only if it was the GNU/non-GNU ld that we prefer.
+-      if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
++      if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
+ 	test "$with_gnu_ld" != no && break
+       else
+ 	test "$with_gnu_ld" != yes && break
+@@ -936,9 +3538,9 @@
+   done
+   IFS="$ac_save_ifs"
+ else
+-  ac_cv_path_LD="$LD" # Let the user override the test with a path.
++  lt_cv_path_LD="$LD" # Let the user override the test with a path.
+ fi])
+-LD="$ac_cv_path_LD"
++LD="$lt_cv_path_LD"
+ if test -n "$LD"; then
+   AC_MSG_RESULT($LD)
+ else
+@@ -948,20 +3550,21 @@
+ AC_PROG_LD_GNU
+ ])
+ 
+-AC_DEFUN(AC_PROG_LD_GNU,
+-[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], ac_cv_prog_gnu_ld,
++# AC_PROG_LD_GNU -
++AC_DEFUN([AC_PROG_LD_GNU],
++[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
+ [# I'd rather use --version here, but apparently some GNU ld's only accept -v.
+ if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
+-  ac_cv_prog_gnu_ld=yes
++  lt_cv_prog_gnu_ld=yes
+ else
+-  ac_cv_prog_gnu_ld=no
++  lt_cv_prog_gnu_ld=no
+ fi])
+-with_gnu_ld=$ac_cv_prog_gnu_ld
++with_gnu_ld=$lt_cv_prog_gnu_ld
+ ])
+ 
+ # AC_PROG_LD_RELOAD_FLAG - find reload flag for linker
+ #   -- PORTME Some linkers may need a different reload flag.
+-AC_DEFUN(AC_PROG_LD_RELOAD_FLAG,
++AC_DEFUN([AC_PROG_LD_RELOAD_FLAG],
+ [AC_CACHE_CHECK([for $LD option to reload object files], lt_cv_ld_reload_flag,
+ [lt_cv_ld_reload_flag='-r'])
+ reload_flag=$lt_cv_ld_reload_flag
+@@ -970,10 +3573,10 @@
+ 
+ # AC_DEPLIBS_CHECK_METHOD - how to check for library dependencies
+ #  -- PORTME fill in with the dynamic library characteristics
+-AC_DEFUN(AC_DEPLIBS_CHECK_METHOD,
++AC_DEFUN([AC_DEPLIBS_CHECK_METHOD],
+ [AC_CACHE_CHECK([how to recognise dependant libraries],
+ lt_cv_deplibs_check_method,
+-[lt_cv_file_magic_cmd='${MAGIC}'
++[lt_cv_file_magic_cmd='$MAGIC_CMD'
+ lt_cv_file_magic_test_file=
+ lt_cv_deplibs_check_method='unknown'
+ # Need to set the preceding variable on all platforms that support
+@@ -982,13 +3585,13 @@
+ # `unknown' -- same as none, but documents that we really don't know.
+ # 'pass_all' -- all dependencies passed with no checks.
+ # 'test_compile' -- check by making test program.
+-# 'file_magic [regex]' -- check by looking for files in library path
++# ['file_magic [regex]'] -- check by looking for files in library path
+ # which responds to the $file_magic_cmd with a given egrep regex.
+ # If you have `file' or equivalent on your system and you're not sure
+ # whether `pass_all' will *always* work, you probably want this one.
+ 
+-case "$host_os" in
+-aix4*)
++case $host_os in
++aix4* | aix5*)
+   lt_cv_deplibs_check_method=pass_all
+   ;;
+ 
+@@ -997,25 +3600,36 @@
+   ;;
+ 
+ bsdi4*)
+-  changequote(,)dnl
+-  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
+-  changequote([, ])dnl
++  [lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)']
+   lt_cv_file_magic_cmd='/usr/bin/file -L'
+   lt_cv_file_magic_test_file=/shlib/libc.so
+   ;;
+ 
+-cygwin* | mingw*)
++cygwin* | mingw* | pw32*)
+   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
+-  lt_cv_file_magic_cmd='${OBJDUMP} -f'
++  lt_cv_file_magic_cmd='$OBJDUMP -f'
++  ;;
++
++darwin* | rhapsody*)
++  lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
++  lt_cv_file_magic_cmd='/usr/bin/file -L'
++  case "$host_os" in
++  rhapsody* | darwin1.[012])
++    lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1`
++    ;;
++  *) # Darwin 1.3 on
++    lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
++    ;;
++  esac
+   ;;
+ 
+ freebsd*)
+   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
+-    case "$host_cpu" in
++    case $host_cpu in
+     i*86 )
+-      changequote(,)dnl
+-      lt_cv_deplibs_check_method=='file_magic OpenBSD/i[3-9]86 demand paged shared library'
+-      changequote([, ])dnl
++      # Not sure whether the presence of OpenBSD here was a mistake.
++      # Let's accept both of them until this is cleared up.
++      [lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library']
+       lt_cv_file_magic_cmd=/usr/bin/file
+       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
+       ;;
+@@ -1029,30 +3643,27 @@
+   lt_cv_deplibs_check_method=pass_all
+   ;;
+ 
+-hpux10.20*)
+-  # TODO:  Does this work for hpux-11 too?
+-  lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
++hpux10.20*|hpux11*)
++  [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library']
+   lt_cv_file_magic_cmd=/usr/bin/file
+   lt_cv_file_magic_test_file=/usr/lib/libc.sl
+   ;;
+ 
+ irix5* | irix6*)
+-  case "$host_os" in
++  case $host_os in
+   irix5*)
+     # this will be overridden with pass_all, but let us keep it just in case
+     lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
+     ;;
+   *)
+-    case "$LD" in
++    case $LD in
+     *-32|*"-32 ") libmagic=32-bit;;
+     *-n32|*"-n32 ") libmagic=N32;;
+     *-64|*"-64 ") libmagic=64-bit;;
+     *) libmagic=never-match;;
+     esac
+     # this will be overridden with pass_all, but let us keep it just in case
+-    changequote(,)dnl
+-    lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
+-    changequote([, ])dnl
++    [lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"]
+     ;;
+   esac
+   lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
+@@ -1061,29 +3672,30 @@
+ 
+ # This must be Linux ELF.
+ linux-gnu*)
+-  case "$host_cpu" in
++  case $host_cpu in
+   alpha* | i*86 | powerpc* | sparc* | ia64* )
+     lt_cv_deplibs_check_method=pass_all ;;
+   *)
+     # glibc up to 2.1.1 does not perform some relocations on ARM
+-    changequote(,)dnl
+-    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
+-    changequote([, ])dnl
++    [lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;]
+   esac
+   lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
+   ;;
+ 
+ netbsd*)
+-  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then :
++  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
++    [lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$']
+   else
+-    changequote(,)dnl
+-    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
+-    changequote([, ])dnl
+-    lt_cv_file_magic_cmd='/usr/bin/file -L'
+-    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
++    [lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$']
+   fi
+   ;;
+ 
++newos6*)
++  [lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)']
++  lt_cv_file_magic_cmd=/usr/bin/file
++  lt_cv_file_magic_test_file=/usr/lib/libnls.so
++  ;;
++
+ osf3* | osf4* | osf5*)
+   # this will be overridden with pass_all, but let us keep it just in case
+   lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
+@@ -1100,16 +3712,27 @@
+   lt_cv_file_magic_test_file=/lib/libc.so
+   ;;
+ 
++[sysv5uw[78]* | sysv4*uw2*)]
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++
+ sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
+-  case "$host_vendor" in
++  case $host_vendor in
++  motorola)
++    [lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]']
++    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
++    ;;
+   ncr)
+     lt_cv_deplibs_check_method=pass_all
+     ;;
+-  motorola)
+-    changequote(,)dnl
+-    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
+-    changequote([, ])dnl
+-    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
++  sequent)
++    lt_cv_file_magic_cmd='/bin/file'
++    [lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )']
++    ;;
++  sni)
++    lt_cv_file_magic_cmd='/bin/file'
++    [lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"]
++    lt_cv_file_magic_test_file=/lib/libc.so
+     ;;
+   esac
+   ;;
+@@ -1121,12 +3744,12 @@
+ 
+ 
+ # AC_PROG_NM - find the path to a BSD-compatible name lister
+-AC_DEFUN(AC_PROG_NM,
++AC_DEFUN([AC_PROG_NM],
+ [AC_MSG_CHECKING([for BSD-compatible nm])
+-AC_CACHE_VAL(ac_cv_path_NM,
++AC_CACHE_VAL(lt_cv_path_NM,
+ [if test -n "$NM"; then
+   # Let the user override the test.
+-  ac_cv_path_NM="$NM"
++  lt_cv_path_NM="$NM"
+ else
+   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
+   for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
+@@ -1136,31 +3759,32 @@
+       # Check to see if the nm accepts a BSD-compat flag.
+       # Adding the `sed 1q' prevents false positives on HP-UX, which says:
+       #   nm: unknown option "B" ignored
+-      if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
+-	ac_cv_path_NM="$tmp_nm -B"
++      # Tru64's nm complains that /dev/null is an invalid object file
++      if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
++	lt_cv_path_NM="$tmp_nm -B"
+ 	break
+       elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
+-	ac_cv_path_NM="$tmp_nm -p"
++	lt_cv_path_NM="$tmp_nm -p"
+ 	break
+       else
+-	ac_cv_path_NM=${ac_cv_path_NM="$tmp_nm"} # keep the first match, but
++	lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
+ 	continue # so that we can try to find one that supports BSD flags
+       fi
+     fi
+   done
+   IFS="$ac_save_ifs"
+-  test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm
++  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
+ fi])
+-NM="$ac_cv_path_NM"
++NM="$lt_cv_path_NM"
+ AC_MSG_RESULT([$NM])
+ ])
+ 
+ # AC_CHECK_LIBM - check for math library
+-AC_DEFUN(AC_CHECK_LIBM,
++AC_DEFUN([AC_CHECK_LIBM],
+ [AC_REQUIRE([AC_CANONICAL_HOST])dnl
+ LIBM=
+-case "$host" in
+-*-*-beos* | *-*-cygwin*)
++case $host in
++*-*-beos* | *-*-cygwin* | *-*-pw32*)
+   # These system don't have libm
+   ;;
+ *-ncr-sysv4.3*)
+@@ -1183,8 +3807,9 @@
+ # '${top_srcdir}/' (note the single quotes!).  If your package is not
+ # flat and you're not using automake, define top_builddir and
+ # top_srcdir appropriately in the Makefiles.
+-AC_DEFUN(AC_LIBLTDL_CONVENIENCE, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
+-  case "$enable_ltdl_convenience" in
++AC_DEFUN([AC_LIBLTDL_CONVENIENCE],
++[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
++  case $enable_ltdl_convenience in
+   no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;;
+   "") enable_ltdl_convenience=yes
+       ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
+@@ -1204,7 +3829,8 @@
+ # not flat and you're not using automake, define top_builddir and
+ # top_srcdir appropriately in the Makefiles.
+ # In the future, this macro may have to be called after AC_PROG_LIBTOOL.
+-AC_DEFUN(AC_LIBLTDL_INSTALLABLE, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
++AC_DEFUN([AC_LIBLTDL_INSTALLABLE],
++[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
+   AC_CHECK_LIB(ltdl, main,
+   [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no],
+   [if test x"$enable_ltdl_install" = xno; then
+@@ -1224,17 +3850,17 @@
+   fi
+ ])
+ 
+-dnl old names
+-AC_DEFUN(AM_PROG_LIBTOOL, [indir([AC_PROG_LIBTOOL])])dnl
+-AC_DEFUN(AM_ENABLE_SHARED, [indir([AC_ENABLE_SHARED], $@)])dnl
+-AC_DEFUN(AM_ENABLE_STATIC, [indir([AC_ENABLE_STATIC], $@)])dnl
+-AC_DEFUN(AM_DISABLE_SHARED, [indir([AC_DISABLE_SHARED], $@)])dnl
+-AC_DEFUN(AM_DISABLE_STATIC, [indir([AC_DISABLE_STATIC], $@)])dnl
+-AC_DEFUN(AM_PROG_LD, [indir([AC_PROG_LD])])dnl
+-AC_DEFUN(AM_PROG_NM, [indir([AC_PROG_NM])])dnl
++# old names
++AC_DEFUN([AM_PROG_LIBTOOL],   [AC_PROG_LIBTOOL])
++AC_DEFUN([AM_ENABLE_SHARED],  [AC_ENABLE_SHARED($@)])
++AC_DEFUN([AM_ENABLE_STATIC],  [AC_ENABLE_STATIC($@)])
++AC_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
++AC_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
++AC_DEFUN([AM_PROG_LD],        [AC_PROG_LD])
++AC_DEFUN([AM_PROG_NM],        [AC_PROG_NM])
+ 
+-dnl This is just to silence aclocal about the macro not being used
+-ifelse([AC_DISABLE_FAST_INSTALL])dnl
++# This is just to silence aclocal about the macro not being used
++ifelse([AC_DISABLE_FAST_INSTALL])
+ 
+ dnl $Id: wflags.m4,v 1.3 1999/03/11 12:11:41 joda Exp $
+ dnl
+@@ -1951,12 +4577,13 @@
+ dnl moved to AC_OUTPUT in configure.in
+ dnl AC_CONFIG_FILES($1/Makefile)
+ 
+-LIB_roken="${LIB_roken} \$(LIB_crypt) \$(LIB_dbopen)"
++dnl LIB_roken="${LIB_roken} \$(LIB_crypt) \$(LIB_dbopen)"
+ 
+ AC_SUBST(DIR_roken)dnl
+ AC_SUBST(LIB_roken)dnl
+ AC_SUBST(INCLUDES_roken)dnl
+ ])
++
+ dnl $Id: check-type-extra.m4,v 1.2 1999/03/01 09:52:23 joda Exp $
+ dnl
+ dnl ac_check_type + extra headers
+@@ -2066,7 +4693,7 @@
+ 
+ # Define a conditional.
+ 
+-AC_DEFUN(AM_CONDITIONAL,
++AC_DEFUN([AM_CONDITIONAL],
+ [AC_SUBST($1_TRUE)
+ AC_SUBST($1_FALSE)
+ if $2; then
+@@ -2484,49 +5111,6 @@
+ #define realloc(X, Y) isoc_realloc((X), (Y))
+ #define isoc_realloc(X, Y) ((X) ? realloc((X), (Y)) : malloc(Y))
+ #endif])
+-])
+-
+-dnl $Id: krb-func-getcwd-broken.m4,v 1.2 1999/03/01 13:03:32 joda Exp $
+-dnl
+-dnl
+-dnl test for broken getcwd in (SunOS braindamage)
+-dnl
+-
+-AC_DEFUN(AC_KRB_FUNC_GETCWD_BROKEN, [
+-if test "$ac_cv_func_getcwd" = yes; then
+-AC_MSG_CHECKING(if getcwd is broken)
+-AC_CACHE_VAL(ac_cv_func_getcwd_broken, [
+-ac_cv_func_getcwd_broken=no
+-
+-AC_TRY_RUN([
+-#include <errno.h>
+-char *getcwd(char*, int);
+-
+-void *popen(char *cmd, char *mode)
+-{
+-	errno = ENOTTY;
+-	return 0;
+-}
+-
+-int main()
+-{
+-	char *ret;
+-	ret = getcwd(0, 1024);
+-	if(ret == 0 && errno == ENOTTY)
+-		return 0;
+-	return 1;
+-}
+-], ac_cv_func_getcwd_broken=yes,:,:)
+-])
+-if test "$ac_cv_func_getcwd_broken" = yes; then
+-	AC_DEFINE(BROKEN_GETCWD, 1, [Define if getcwd is broken (like in SunOS 4).])dnl
+-	LIBOBJS="$LIBOBJS getcwd.o"
+-	AC_SUBST(LIBOBJS)dnl
+-	AC_MSG_RESULT($ac_cv_func_getcwd_broken)
+-else
+-	AC_MSG_RESULT([seems ok])
+-fi
+-fi
+ ])
+ 
+ dnl $Id: proto-compat.m4,v 1.3 1999/03/01 13:03:48 joda Exp $
+diff -ruN heimdal-0.3e-old/admin/Makefile.in heimdal-0.3e/admin/Makefile.in
+--- heimdal-0.3e-old/admin/Makefile.in	Mon Feb  5 18:58:53 2001
++++ heimdal-0.3e/admin/Makefile.in	Sat May 12 17:54:04 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -76,6 +77,7 @@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -181,8 +183,7 @@
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+diff -ruN heimdal-0.3e-old/appl/Makefile.in heimdal-0.3e/appl/Makefile.in
+--- heimdal-0.3e-old/appl/Makefile.in	Mon Feb  5 18:58:57 2001
++++ heimdal-0.3e/appl/Makefile.in	Sat May 12 17:54:04 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -76,6 +77,7 @@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -181,8 +183,7 @@
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+@@ -269,10 +270,11 @@
+ 	@set fnord $(MAKEFLAGS); amf=$$2; \
+ 	dot_seen=no; \
+ 	rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
+-	  rev="$$subdir $$rev"; \
+-	  if test "$$subdir" = "."; then dot_seen=yes; else :; fi; \
++	  if test "$$subdir" = "."; then :; else \
++	    rev="$$subdir $$rev"; \
++	  fi; \
+ 	done; \
+-	test "$$dot_seen" = "no" && rev=". $$rev"; \
++	rev="$$rev ."; \
+ 	target=`echo $@ | sed s/-recursive//`; \
+ 	for subdir in $$rev; do \
+ 	  echo "Making $$target in $$subdir"; \
+diff -ruN heimdal-0.3e-old/appl/afsutil/Makefile.in heimdal-0.3e/appl/afsutil/Makefile.in
+--- heimdal-0.3e-old/appl/afsutil/Makefile.in	Mon Feb  5 18:58:59 2001
++++ heimdal-0.3e/appl/afsutil/Makefile.in	Sat May 12 17:54:04 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -76,6 +77,7 @@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -181,8 +183,7 @@
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+diff -ruN heimdal-0.3e-old/appl/dceutils/Makefile.in heimdal-0.3e/appl/dceutils/Makefile.in
+--- heimdal-0.3e-old/appl/dceutils/Makefile.in	Mon Feb  5 18:59:33 2001
++++ heimdal-0.3e/appl/dceutils/Makefile.in	Sat May 12 17:54:10 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -76,6 +77,7 @@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -181,8 +183,7 @@
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+@@ -235,8 +236,7 @@
+ LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+ DIST_SOURCES =  $(dpagaix_SOURCES) $(k5dcecon_SOURCES)
+ depcomp = 
+-DIST_COMMON =  ChangeLog Makefile.am Makefile.in appl/dceutils/compile \
+-compile
++DIST_COMMON =  ChangeLog Makefile.am Makefile.in compile
+ 
+ 
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+@@ -357,7 +357,6 @@
+ distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
+ 
+ distdir: $(DISTFILES)
+-	$(mkinstalldirs) $(distdir)/appl/dceutils
+ 	@for file in $(DISTFILES); do \
+ 	  d=$(srcdir); \
+ 	  if test -d $$d/$$file; then \
+diff -ruN heimdal-0.3e-old/appl/ftp/Makefile.in heimdal-0.3e/appl/ftp/Makefile.in
+--- heimdal-0.3e-old/appl/ftp/Makefile.in	Mon Feb  5 18:59:00 2001
++++ heimdal-0.3e/appl/ftp/Makefile.in	Sat May 12 17:54:05 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -76,6 +77,7 @@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -181,8 +183,7 @@
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+@@ -249,10 +250,11 @@
+ 	@set fnord $(MAKEFLAGS); amf=$$2; \
+ 	dot_seen=no; \
+ 	rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
+-	  rev="$$subdir $$rev"; \
+-	  if test "$$subdir" = "."; then dot_seen=yes; else :; fi; \
++	  if test "$$subdir" = "."; then :; else \
++	    rev="$$subdir $$rev"; \
++	  fi; \
+ 	done; \
+-	test "$$dot_seen" = "no" && rev=". $$rev"; \
++	rev="$$rev ."; \
+ 	target=`echo $@ | sed s/-recursive//`; \
+ 	for subdir in $$rev; do \
+ 	  echo "Making $$target in $$subdir"; \
+diff -ruN heimdal-0.3e-old/appl/ftp/common/Makefile.in heimdal-0.3e/appl/ftp/common/Makefile.in
+--- heimdal-0.3e-old/appl/ftp/common/Makefile.in	Mon Feb  5 18:59:03 2001
++++ heimdal-0.3e/appl/ftp/common/Makefile.in	Sat May 12 17:54:05 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -76,6 +77,7 @@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -181,8 +183,7 @@
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+diff -ruN heimdal-0.3e-old/appl/ftp/ftp/Makefile.in heimdal-0.3e/appl/ftp/ftp/Makefile.in
+--- heimdal-0.3e-old/appl/ftp/ftp/Makefile.in	Mon Feb  5 18:59:04 2001
++++ heimdal-0.3e/appl/ftp/ftp/Makefile.in	Sat May 12 17:54:05 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -76,6 +77,7 @@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -181,8 +183,7 @@
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = 
+@@ -261,8 +262,7 @@
+ @KRB5_FALSE@ftp_DEPENDENCIES =  ../common/libcommon.a
+ @KRB5_TRUE@ftp_DEPENDENCIES =  ../common/libcommon.a \
+ @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la \
+-@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ ftp_LDFLAGS = 
+ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+diff -ruN heimdal-0.3e-old/appl/ftp/ftpd/Makefile.in heimdal-0.3e/appl/ftp/ftpd/Makefile.in
+--- heimdal-0.3e-old/appl/ftp/ftpd/Makefile.in	Mon Feb  5 18:59:06 2001
++++ heimdal-0.3e/appl/ftp/ftpd/Makefile.in	Sat May 12 17:54:05 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -76,6 +77,7 @@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -181,8 +183,7 @@
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = 
+@@ -257,15 +258,13 @@
+ @KRB4_FALSE@@KRB5_FALSE@ftpd_DEPENDENCIES =  ../common/libcommon.a
+ @KRB4_FALSE@@KRB5_TRUE@ftpd_DEPENDENCIES =  ../common/libcommon.a \
+ @KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la \
+-@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
++@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB4_TRUE@@KRB5_FALSE@ftpd_DEPENDENCIES =  ../common/libcommon.a \
+ @KRB4_TRUE@@KRB5_FALSE@$(top_builddir)/lib/kafs/libkafs.la
+ @KRB4_TRUE@@KRB5_TRUE@ftpd_DEPENDENCIES =  ../common/libcommon.a \
+ @KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/kafs/libkafs.la \
+ @KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la \
+-@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
++@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ ftpd_LDFLAGS = 
+ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+diff -ruN heimdal-0.3e-old/appl/kf/Makefile.in heimdal-0.3e/appl/kf/Makefile.in
+--- heimdal-0.3e-old/appl/kf/Makefile.in	Mon Feb  5 18:59:32 2001
++++ heimdal-0.3e/appl/kf/Makefile.in	Sat May 12 17:54:10 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -76,6 +77,7 @@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -181,8 +183,7 @@
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+diff -ruN heimdal-0.3e-old/appl/kx/Makefile.in heimdal-0.3e/appl/kx/Makefile.in
+--- heimdal-0.3e-old/appl/kx/Makefile.in	Mon Feb  5 18:59:08 2001
++++ heimdal-0.3e/appl/kx/Makefile.in	Sat May 12 17:54:06 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -76,6 +77,7 @@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -180,8 +182,7 @@
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+@@ -260,14 +261,12 @@
+ kx_LDADD = $(LDADD)
+ @KRB4_FALSE@@KRB5_FALSE@kx_DEPENDENCIES = 
+ @KRB4_FALSE@@KRB5_TRUE@kx_DEPENDENCIES =  \
+-@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
++@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB4_TRUE@@KRB5_FALSE@kx_DEPENDENCIES =  \
+ @KRB4_TRUE@@KRB5_FALSE@$(top_builddir)/lib/kafs/libkafs.la
+ @KRB4_TRUE@@KRB5_TRUE@kx_DEPENDENCIES =  \
+ @KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/kafs/libkafs.la \
+-@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
++@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ kx_LDFLAGS = 
+ @NEED_WRITEAUTH_FALSE@am_kxd_OBJECTS =  kxd.$(OBJEXT) common.$(OBJEXT) \
+ @NEED_WRITEAUTH_FALSE@context.$(OBJEXT) krb4.$(OBJEXT) krb5.$(OBJEXT)
+@@ -278,14 +277,12 @@
+ kxd_LDADD = $(LDADD)
+ @KRB4_FALSE@@KRB5_FALSE@kxd_DEPENDENCIES = 
+ @KRB4_FALSE@@KRB5_TRUE@kxd_DEPENDENCIES =  \
+-@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
++@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB4_TRUE@@KRB5_FALSE@kxd_DEPENDENCIES =  \
+ @KRB4_TRUE@@KRB5_FALSE@$(top_builddir)/lib/kafs/libkafs.la
+ @KRB4_TRUE@@KRB5_TRUE@kxd_DEPENDENCIES =  \
+ @KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/kafs/libkafs.la \
+-@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
++@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ kxd_LDFLAGS = 
+ SCRIPTS =  $(bin_SCRIPTS)
+ 
+diff -ruN heimdal-0.3e-old/appl/login/Makefile.in heimdal-0.3e/appl/login/Makefile.in
+--- heimdal-0.3e-old/appl/login/Makefile.in	Mon Feb  5 18:59:10 2001
++++ heimdal-0.3e/appl/login/Makefile.in	Sat May 12 17:54:06 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -76,6 +77,7 @@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -181,8 +183,7 @@
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+diff -ruN heimdal-0.3e-old/appl/otp/Makefile.in heimdal-0.3e/appl/otp/Makefile.in
+--- heimdal-0.3e-old/appl/otp/Makefile.in	Mon Feb  5 18:59:13 2001
++++ heimdal-0.3e/appl/otp/Makefile.in	Sat May 12 17:54:06 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -76,6 +77,7 @@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -181,8 +183,7 @@
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+diff -ruN heimdal-0.3e-old/appl/popper/Makefile.in heimdal-0.3e/appl/popper/Makefile.in
+--- heimdal-0.3e-old/appl/popper/Makefile.in	Mon Feb  5 18:59:14 2001
++++ heimdal-0.3e/appl/popper/Makefile.in	Sat May 12 17:54:07 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -76,6 +77,7 @@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -181,8 +183,7 @@
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+@@ -233,8 +234,7 @@
+ pop_debug_OBJECTS =  pop_debug.$(OBJEXT)
+ pop_debug_LDADD = $(LDADD)
+ @KRB5_FALSE@pop_debug_DEPENDENCIES = 
+-@KRB5_TRUE@pop_debug_DEPENDENCIES =  $(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@pop_debug_DEPENDENCIES =  $(top_builddir)/lib/krb5/libkrb5.la
+ pop_debug_LDFLAGS = 
+ am_popper_OBJECTS =  pop_dele.$(OBJEXT) pop_dropcopy.$(OBJEXT) \
+ pop_dropinfo.$(OBJEXT) pop_get_command.$(OBJEXT) pop_init.$(OBJEXT) \
+@@ -247,8 +247,7 @@
+ popper_OBJECTS =  $(am_popper_OBJECTS)
+ popper_LDADD = $(LDADD)
+ @KRB5_FALSE@popper_DEPENDENCIES = 
+-@KRB5_TRUE@popper_DEPENDENCIES =  $(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@popper_DEPENDENCIES =  $(top_builddir)/lib/krb5/libkrb5.la
+ popper_LDFLAGS = 
+ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+diff -ruN heimdal-0.3e-old/appl/push/Makefile.in heimdal-0.3e/appl/push/Makefile.in
+--- heimdal-0.3e-old/appl/push/Makefile.in	Mon Feb  5 18:59:18 2001
++++ heimdal-0.3e/appl/push/Makefile.in	Sat May 12 17:54:07 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -76,6 +77,7 @@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -181,8 +183,7 @@
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+@@ -224,8 +225,7 @@
+ push_OBJECTS =  $(am_push_OBJECTS)
+ push_LDADD = $(LDADD)
+ @KRB5_FALSE@push_DEPENDENCIES = 
+-@KRB5_TRUE@push_DEPENDENCIES =  $(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@push_DEPENDENCIES =  $(top_builddir)/lib/krb5/libkrb5.la
+ push_LDFLAGS = 
+ SCRIPTS =  $(bin_SCRIPTS)
+ 
+diff -ruN heimdal-0.3e-old/appl/rcp/Makefile.in heimdal-0.3e/appl/rcp/Makefile.in
+--- heimdal-0.3e-old/appl/rcp/Makefile.in	Mon Feb  5 18:59:21 2001
++++ heimdal-0.3e/appl/rcp/Makefile.in	Sat May 12 17:54:08 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -76,6 +77,7 @@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -181,8 +183,7 @@
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+diff -ruN heimdal-0.3e-old/appl/rsh/Makefile.in heimdal-0.3e/appl/rsh/Makefile.in
+--- heimdal-0.3e-old/appl/rsh/Makefile.in	Mon Feb  5 18:59:19 2001
++++ heimdal-0.3e/appl/rsh/Makefile.in	Sat May 12 17:54:07 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -76,6 +77,7 @@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -181,8 +183,7 @@
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+@@ -222,28 +223,24 @@
+ rsh_LDADD = $(LDADD)
+ @KRB4_FALSE@@KRB5_FALSE@rsh_DEPENDENCIES = 
+ @KRB4_FALSE@@KRB5_TRUE@rsh_DEPENDENCIES =  \
+-@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
++@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB4_TRUE@@KRB5_FALSE@rsh_DEPENDENCIES =  \
+ @KRB4_TRUE@@KRB5_FALSE@$(top_builddir)/lib/kafs/libkafs.la
+ @KRB4_TRUE@@KRB5_TRUE@rsh_DEPENDENCIES =  \
+ @KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/kafs/libkafs.la \
+-@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
++@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ rsh_LDFLAGS = 
+ am_rshd_OBJECTS =  rshd.$(OBJEXT) common.$(OBJEXT)
+ rshd_OBJECTS =  $(am_rshd_OBJECTS)
+ rshd_LDADD = $(LDADD)
+ @KRB4_FALSE@@KRB5_FALSE@rshd_DEPENDENCIES = 
+ @KRB4_FALSE@@KRB5_TRUE@rshd_DEPENDENCIES =  \
+-@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
++@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB4_TRUE@@KRB5_FALSE@rshd_DEPENDENCIES =  \
+ @KRB4_TRUE@@KRB5_FALSE@$(top_builddir)/lib/kafs/libkafs.la
+ @KRB4_TRUE@@KRB5_TRUE@rshd_DEPENDENCIES =  \
+ @KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/kafs/libkafs.la \
+-@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
++@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ rshd_LDFLAGS = 
+ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+diff -ruN heimdal-0.3e-old/appl/su/Makefile.in heimdal-0.3e/appl/su/Makefile.in
+--- heimdal-0.3e-old/appl/su/Makefile.in	Mon Feb  5 18:59:22 2001
++++ heimdal-0.3e/appl/su/Makefile.in	Sat May 12 17:54:08 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -76,6 +77,7 @@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -181,8 +183,7 @@
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+diff -ruN heimdal-0.3e-old/appl/telnet/Makefile.in heimdal-0.3e/appl/telnet/Makefile.in
+--- heimdal-0.3e-old/appl/telnet/Makefile.in	Mon Feb  5 18:59:25 2001
++++ heimdal-0.3e/appl/telnet/Makefile.in	Sat May 12 17:54:08 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -76,6 +77,7 @@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -181,8 +183,7 @@
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+@@ -251,10 +252,11 @@
+ 	@set fnord $(MAKEFLAGS); amf=$$2; \
+ 	dot_seen=no; \
+ 	rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
+-	  rev="$$subdir $$rev"; \
+-	  if test "$$subdir" = "."; then dot_seen=yes; else :; fi; \
++	  if test "$$subdir" = "."; then :; else \
++	    rev="$$subdir $$rev"; \
++	  fi; \
+ 	done; \
+-	test "$$dot_seen" = "no" && rev=". $$rev"; \
++	rev="$$rev ."; \
+ 	target=`echo $@ | sed s/-recursive//`; \
+ 	for subdir in $$rev; do \
+ 	  echo "Making $$target in $$subdir"; \
+diff -ruN heimdal-0.3e-old/appl/telnet/libtelnet/Makefile.in heimdal-0.3e/appl/telnet/libtelnet/Makefile.in
+--- heimdal-0.3e-old/appl/telnet/libtelnet/Makefile.in	Mon Feb  5 18:59:26 2001
++++ heimdal-0.3e/appl/telnet/libtelnet/Makefile.in	Sat May 12 17:54:08 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -76,6 +77,7 @@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -181,8 +183,7 @@
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+diff -ruN heimdal-0.3e-old/appl/telnet/telnet/Makefile.in heimdal-0.3e/appl/telnet/telnet/Makefile.in
+--- heimdal-0.3e-old/appl/telnet/telnet/Makefile.in	Mon Feb  5 18:59:27 2001
++++ heimdal-0.3e/appl/telnet/telnet/Makefile.in	Sat May 12 17:54:09 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -76,6 +77,7 @@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -181,8 +183,7 @@
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = 
+@@ -225,8 +226,7 @@
+ telnet_LDADD = $(LDADD)
+ @KRB5_FALSE@telnet_DEPENDENCIES =  ../libtelnet/libtelnet.a
+ @KRB5_TRUE@telnet_DEPENDENCIES =  ../libtelnet/libtelnet.a \
+-@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ telnet_LDFLAGS = 
+ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+diff -ruN heimdal-0.3e-old/appl/telnet/telnetd/Makefile.in heimdal-0.3e/appl/telnet/telnetd/Makefile.in
+--- heimdal-0.3e-old/appl/telnet/telnetd/Makefile.in	Mon Feb  5 18:59:29 2001
++++ heimdal-0.3e/appl/telnet/telnetd/Makefile.in	Sat May 12 17:54:09 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -76,6 +77,7 @@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -181,8 +183,7 @@
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = 
+@@ -226,8 +227,7 @@
+ telnetd_LDADD = $(LDADD)
+ @KRB5_FALSE@telnetd_DEPENDENCIES =  ../libtelnet/libtelnet.a
+ @KRB5_TRUE@telnetd_DEPENDENCIES =  ../libtelnet/libtelnet.a \
+-@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ telnetd_LDFLAGS = 
+ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+diff -ruN heimdal-0.3e-old/appl/test/Makefile.in heimdal-0.3e/appl/test/Makefile.in
+--- heimdal-0.3e-old/appl/test/Makefile.in	Mon Feb  5 18:59:30 2001
++++ heimdal-0.3e/appl/test/Makefile.in	Sat May 12 17:54:09 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -76,6 +77,7 @@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -181,8 +183,7 @@
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+diff -ruN heimdal-0.3e-old/appl/xnlock/Makefile.in heimdal-0.3e/appl/xnlock/Makefile.in
+--- heimdal-0.3e-old/appl/xnlock/Makefile.in	Mon Feb  5 18:59:24 2001
++++ heimdal-0.3e/appl/xnlock/Makefile.in	Sat May 12 17:54:08 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -76,6 +77,7 @@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -180,8 +182,7 @@
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+@@ -225,14 +226,12 @@
+ xnlock_LDADD = $(LDADD)
+ @KRB4_FALSE@@KRB5_FALSE@xnlock_DEPENDENCIES = 
+ @KRB4_FALSE@@KRB5_TRUE@xnlock_DEPENDENCIES =  \
+-@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
++@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB4_TRUE@@KRB5_FALSE@xnlock_DEPENDENCIES =  \
+ @KRB4_TRUE@@KRB5_FALSE@$(top_builddir)/lib/kafs/libkafs.la
+ @KRB4_TRUE@@KRB5_TRUE@xnlock_DEPENDENCIES =  \
+ @KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/kafs/libkafs.la \
+-@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
++@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ xnlock_LDFLAGS = 
+ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+diff -ruN heimdal-0.3e-old/config.guess heimdal-0.3e/config.guess
+--- heimdal-0.3e-old/config.guess	Mon Sep 25 10:15:55 2000
++++ heimdal-0.3e/config.guess	Sat May 12 17:53:20 2001
+@@ -1,9 +1,9 @@
+ #! /bin/sh
+ # Attempt to guess a canonical system name.
+-#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000
++#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ #   Free Software Foundation, Inc.
+ 
+-version='2000-09-05'
++timestamp='2001-04-20'
+ 
+ # This file is free software; you can redistribute it and/or modify it
+ # under the terms of the GNU General Public License as published by
+@@ -32,30 +32,41 @@
+ # exits with 0.  Otherwise, it exits with 1.
+ #
+ # The plan is that this can be called by configure scripts if you
+-# don't specify an explicit system type (host/target name).
+-#
+-# Only a few systems have been added to this list; please add others
+-# (but try to keep the structure clean).
+-#
++# don't specify an explicit build system type.
+ 
+ me=`echo "$0" | sed -e 's,.*/,,'`
+ 
+ usage="\
+ Usage: $0 [OPTION]
+ 
+-Output the configuration name of this system.
++Output the configuration name of the system \`$me' is run on.
+ 
+ Operation modes:
+-  -h, --help               print this help, then exit
+-  -V, --version            print version number, then exit"
++  -h, --help         print this help, then exit
++  -t, --time-stamp   print date of last modification, then exit
++  -v, --version      print version number, then exit
++
++Report bugs and patches to <config-patches@gnu.org>."
++
++version="\
++GNU config.guess ($timestamp)
++
++Originally written by Per Bothner.
++Copyright (C) 1992, 93, 94, 95, 96, 97, 98, 99, 2000
++Free Software Foundation, Inc.
++
++This is free software; see the source for copying conditions.  There is NO
++warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
+ 
+ help="
+ Try \`$me --help' for more information."
+ 
+ # Parse command line
+ while test $# -gt 0 ; do
+-  case "$1" in
+-    --version | --vers* | -V )
++  case $1 in
++    --time-stamp | --time* | -t )
++       echo "$timestamp" ; exit 0 ;;
++    --version | -v )
+        echo "$version" ; exit 0 ;;
+     --help | --h* | -h )
+        echo "$usage"; exit 0 ;;
+@@ -64,9 +75,7 @@
+     - )	# Use stdin as input.
+        break ;;
+     -* )
+-       exec >&2
+-       echo "$me: invalid option $1"
+-       echo "$help"
++       echo "$me: invalid option $1$help" >&2
+        exit 1 ;;
+     * )
+        break ;;
+@@ -78,19 +87,30 @@
+   exit 1
+ fi
+ 
+-# Use $HOST_CC if defined. $CC may point to a cross-compiler
+-if test x"$CC_FOR_BUILD" = x; then
+-  if test x"$HOST_CC" != x; then
+-    CC_FOR_BUILD="$HOST_CC"
+-  else
+-    if test x"$CC" != x; then
+-      CC_FOR_BUILD="$CC"
+-    else
+-      CC_FOR_BUILD=cc
+-    fi
+-  fi
+-fi
+ 
++dummy=dummy-$$
++trap 'rm -f $dummy.c $dummy.o $dummy.rel $dummy; exit 1' 1 2 15
++
++# CC_FOR_BUILD -- compiler used by this script.
++# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
++# use `HOST_CC' if defined, but it is deprecated.
++
++case $CC_FOR_BUILD,$HOST_CC,$CC in
++ ,,)    echo "int dummy(){}" > $dummy.c
++	for c in cc gcc c89 ; do
++	  ($c $dummy.c -c -o $dummy.o) >/dev/null 2>&1
++	  if test $? = 0 ; then
++	     CC_FOR_BUILD="$c"; break
++	  fi
++	done
++	rm -f $dummy.c $dummy.o $dummy.rel
++	if test x"$CC_FOR_BUILD" = x ; then
++	  CC_FOR_BUILD=no_compiler_found
++	fi
++	;;
++ ,,*)   CC_FOR_BUILD=$CC ;;
++ ,*,*)  CC_FOR_BUILD=$HOST_CC ;;
++esac
+ 
+ # This is needed to find uname on a Pyramid OSx when run in the BSD universe.
+ # (ghazi@noc.rutgers.edu 8/24/94.)
+@@ -100,12 +120,9 @@
+ 
+ UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
+ UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
+-UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
++UNAME_SYSTEM=`(uname -s) 2>/dev/null`  || UNAME_SYSTEM=unknown
+ UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
+ 
+-dummy=dummy-$$
+-trap 'rm -f $dummy.c $dummy.o $dummy; exit 1' 1 2 15
+-
+ # Note: order is significant - the case branches are not exclusive.
+ 
+ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
+@@ -129,16 +146,24 @@
+ 	    ibmrt|romp-ibm) machine=romp-ibm ;;
+ 	    *) machine=${UNAME_MACHINE}-unknown ;;
+ 	esac
+-	# The Operating System including object format.
+-	if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
+-		| grep __ELF__ >/dev/null
+-	then
+-	    # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
+-	    # Return netbsd for either.  FIX?
+-	    os=netbsd
+-	else
+-	    os=netbsdelf
+-	fi
++	# The Operating System including object format, if it has switched
++	# to ELF recently, or will in the future.
++	case "${UNAME_MACHINE}" in
++	    i386|sparc|amiga|arm*|hp300|mvme68k|vax|atari|luna68k|mac68k|news68k|next68k|pc532|sun3*|x68k)
++		if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
++			| grep __ELF__ >/dev/null
++		then
++		    # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
++		    # Return netbsd for either.  FIX?
++		    os=netbsd
++		else
++		    os=netbsdelf
++		fi
++		;;
++	    *)
++	        os=netbsd
++		;;
++	esac
+ 	# The OS release
+ 	release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
+ 	# Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
+@@ -247,7 +272,7 @@
+     arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
+ 	echo arm-acorn-riscix${UNAME_RELEASE}
+ 	exit 0;;
+-    SR2?01:HI-UX/MPP:*:*)
++    SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
+ 	echo hppa1.1-hitachi-hiuxmpp
+ 	exit 0;;
+     Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*)
+@@ -308,7 +333,7 @@
+ 	exit 0 ;;
+     # The situation for MiNT is a little confusing.  The machine name
+     # can be virtually everything (everything which is not
+-    # "atarist" or "atariste" at least should have a processor 
++    # "atarist" or "atariste" at least should have a processor
+     # > m68000).  The system name ranges from "MiNT" over "FreeMiNT"
+     # to the lowercase version "mint" (or "freemint").  Finally
+     # the system name "TOS" denotes a system which is actually not
+@@ -383,10 +408,13 @@
+ EOF
+ 	$CC_FOR_BUILD $dummy.c -o $dummy \
+ 	  && ./$dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \
+-	  && rm $dummy.c $dummy && exit 0
++	  && rm -f $dummy.c $dummy && exit 0
+ 	rm -f $dummy.c $dummy
+ 	echo mips-mips-riscos${UNAME_RELEASE}
+ 	exit 0 ;;
++    Motorola:PowerMAX_OS:*:*)
++	echo powerpc-motorola-powermax
++	exit 0 ;;
+     Night_Hawk:Power_UNIX:*:*)
+ 	echo powerpc-harris-powerunix
+ 	exit 0 ;;
+@@ -402,7 +430,7 @@
+     AViiON:dgux:*:*)
+         # DG/UX returns AViiON for all architectures
+         UNAME_PROCESSOR=`/usr/bin/uname -p`
+-	if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110]
++	if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
+ 	then
+ 	    if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
+ 	       [ ${TARGET_BINARY_INTERFACE}x = x ]
+@@ -434,9 +462,17 @@
+     ????????:AIX?:[12].1:2)   # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
+ 	echo romp-ibm-aix      # uname -m gives an 8 hex-code CPU id
+ 	exit 0 ;;              # Note that: echo "'`uname -s`'" gives 'AIX '
+-    i?86:AIX:*:*)
++    i*86:AIX:*:*)
+ 	echo i386-ibm-aix
+ 	exit 0 ;;
++    ia64:AIX:*:*)
++	if [ -x /usr/bin/oslevel ] ; then
++		IBM_REV=`/usr/bin/oslevel`
++	else
++		IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
++	fi
++	echo ${UNAME_MACHINE}-ibm-aix${IBM_REV}
++	exit 0 ;;
+     *:AIX:2:3)
+ 	if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
+ 		sed 's/^		//' << EOF >$dummy.c
+@@ -450,7 +486,7 @@
+ 			exit(0);
+ 			}
+ EOF
+-		$CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm $dummy.c $dummy && exit 0
++		$CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm -f $dummy.c $dummy && exit 0
+ 		rm -f $dummy.c $dummy
+ 		echo rs6000-ibm-aix3.2.5
+ 	elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
+@@ -459,9 +495,9 @@
+ 		echo rs6000-ibm-aix3.2
+ 	fi
+ 	exit 0 ;;
+-    *:AIX:*:4)
++    *:AIX:*:[45])
+ 	IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | head -1 | awk '{ print $1 }'`
+-	if /usr/sbin/lsattr -EHl ${IBM_CPU_ID} | grep POWER >/dev/null 2>&1; then
++	if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
+ 		IBM_ARCH=rs6000
+ 	else
+ 		IBM_ARCH=powerpc
+@@ -469,7 +505,7 @@
+ 	if [ -x /usr/bin/oslevel ] ; then
+ 		IBM_REV=`/usr/bin/oslevel`
+ 	else
+-		IBM_REV=4.${UNAME_RELEASE}
++		IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
+ 	fi
+ 	echo ${IBM_ARCH}-ibm-aix${IBM_REV}
+ 	exit 0 ;;
+@@ -495,10 +531,28 @@
+ 	echo m68k-hp-bsd4.4
+ 	exit 0 ;;
+     9000/[34678]??:HP-UX:*:*)
++	HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
+ 	case "${UNAME_MACHINE}" in
+ 	    9000/31? )            HP_ARCH=m68000 ;;
+ 	    9000/[34]?? )         HP_ARCH=m68k ;;
+ 	    9000/[678][0-9][0-9])
++              case "${HPUX_REV}" in
++                11.[0-9][0-9])
++                  if [ -x /usr/bin/getconf ]; then
++                    sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
++                    sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
++                    case "${sc_cpu_version}" in
++                      523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
++                      528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
++                      532)                      # CPU_PA_RISC2_0
++                        case "${sc_kernel_bits}" in
++                          32) HP_ARCH="hppa2.0n" ;;
++                          64) HP_ARCH="hppa2.0w" ;;
++                        esac ;;
++                    esac
++                  fi ;;
++              esac
++              if [ "${HP_ARCH}" = "" ]; then
+               sed 's/^              //' << EOF >$dummy.c
+ 
+               #define _HPUX_SOURCE
+@@ -533,11 +587,16 @@
+               }
+ EOF
+ 	(CCOPTS= $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null ) && HP_ARCH=`./$dummy`
++	if test -z "$HP_ARCH"; then HP_ARCH=hppa; fi
+ 	rm -f $dummy.c $dummy
++	fi ;;
+ 	esac
+-	HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
+ 	echo ${HP_ARCH}-hp-hpux${HPUX_REV}
+ 	exit 0 ;;
++    ia64:HP-UX:*:*)
++	HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
++	echo ia64-hp-hpux${HPUX_REV}
++	exit 0 ;;
+     3050*:HI-UX:*:*)
+ 	sed 's/^	//' << EOF >$dummy.c
+ 	#include <unistd.h>
+@@ -564,7 +623,7 @@
+ 	  exit (0);
+ 	}
+ EOF
+-	$CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm $dummy.c $dummy && exit 0
++	$CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm -f $dummy.c $dummy && exit 0
+ 	rm -f $dummy.c $dummy
+ 	echo unknown-hitachi-hiuxwe2
+ 	exit 0 ;;
+@@ -583,7 +642,7 @@
+     hp8??:OSF1:*:*)
+ 	echo hppa1.0-hp-osf
+ 	exit 0 ;;
+-    i?86:OSF1:*:*)
++    i*86:OSF1:*:*)
+ 	if [ -x /usr/sbin/sysversion ] ; then
+ 	    echo ${UNAME_MACHINE}-unknown-osf1mk
+ 	else
+@@ -628,27 +687,28 @@
+     CRAY*TS:*:*:*)
+ 	echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
+ 	exit 0 ;;
+-    CRAY*T3E:*:*:*)
++    CRAY*T3D:*:*:*)
+ 	echo alpha-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
+ 	exit 0 ;;
++    CRAY*T3E:*:*:*)
++	echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
++	exit 0 ;;
+     CRAY*SV1:*:*:*)
+-	echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'    
++	echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
+ 	exit 0 ;;
+     CRAY-2:*:*:*)
+ 	echo cray2-cray-unicos
+         exit 0 ;;
+-    F300:UNIX_System_V:*:*)
++    F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
++	FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
+         FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
+         FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
+-        echo "f300-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
++        echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
+         exit 0 ;;
+-    F301:UNIX_System_V:*:*)
+-       echo f301-fujitsu-uxpv`echo $UNAME_RELEASE | sed 's/ .*//'`
+-       exit 0 ;;
+     hp300:OpenBSD:*:*)
+ 	echo m68k-unknown-openbsd${UNAME_RELEASE}
+ 	exit 0 ;;
+-    i?86:BSD/386:*:* | i?86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
++    i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
+ 	echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
+ 	exit 0 ;;
+     sparc*:BSD/OS:*:*)
+@@ -693,57 +753,38 @@
+     i*86:Minix:*:*)
+ 	echo ${UNAME_MACHINE}-pc-minix
+ 	exit 0 ;;
+-    *:Linux:*:*)
+-
+-	# The BFD linker knows what the default object file format is, so
+-	# first see if it will tell us. cd to the root directory to prevent
+-	# problems with other programs or directories called `ld' in the path.
+-	ld_help_string=`cd /; ld --help 2>&1`
+-	ld_supported_emulations=`echo $ld_help_string \
+-			 | sed -ne '/supported emulations:/!d
+-				    s/[ 	][ 	]*/ /g
+-				    s/.*supported emulations: *//
+-				    s/ .*//
+-				    p'`
+-        case "$ld_supported_emulations" in
+-	  *ia64)
+-		echo "${UNAME_MACHINE}-unknown-linux"
+-		exit 0
+-		;;
+-	  i?86linux)
+-		echo "${UNAME_MACHINE}-pc-linux-gnuaout"
+-		exit 0
+-		;;
+-	  elf_i?86)
+-		TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
+-		;;
+-	  i?86coff)
+-		echo "${UNAME_MACHINE}-pc-linux-gnucoff"
+-		exit 0
+-		;;
+-	  sparclinux)
+-		echo "${UNAME_MACHINE}-unknown-linux-gnuaout"
+-		exit 0
+-		;;
+-	  armlinux)
+-		echo "${UNAME_MACHINE}-unknown-linux-gnuaout"
+-		exit 0
+-		;;
+-	  elf32arm*)
+-		echo "${UNAME_MACHINE}-unknown-linux-gnuoldld"
+-		exit 0
+-		;;
+-	  armelf_linux*)
+-		echo "${UNAME_MACHINE}-unknown-linux-gnu"
+-		exit 0
+-		;;
+-	  m68klinux)
+-		echo "${UNAME_MACHINE}-unknown-linux-gnuaout"
+-		exit 0
+-		;;
+-	  elf32ppc | elf32ppclinux)
+-		# Determine Lib Version
+-		cat >$dummy.c <<EOF
++    arm*:Linux:*:*)
++	echo ${UNAME_MACHINE}-unknown-linux-gnu
++	exit 0 ;;
++    ia64:Linux:*:*)
++	echo ${UNAME_MACHINE}-unknown-linux
++	exit 0 ;;
++    m68*:Linux:*:*)
++	echo ${UNAME_MACHINE}-unknown-linux-gnu
++	exit 0 ;;
++    mips:Linux:*:*)
++	cat >$dummy.c <<EOF
++#ifdef __cplusplus
++#include <stdio.h>  /* for printf() prototype */
++int main (int argc, char *argv[]) {
++#else
++int main (argc, argv) int argc; char *argv[]; {
++#endif
++#ifdef __MIPSEB__
++  printf ("%s-unknown-linux-gnu\n", argv[1]);
++#endif
++#ifdef __MIPSEL__
++  printf ("%sel-unknown-linux-gnu\n", argv[1]);
++#endif
++  return 0;
++}
++EOF
++	$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy "${UNAME_MACHINE}" && rm -f $dummy.c $dummy && exit 0
++	rm -f $dummy.c $dummy
++	;;
++    ppc:Linux:*:*)
++	# Determine Lib Version
++	cat >$dummy.c <<EOF
+ #include <features.h>
+ #if defined(__GLIBC__)
+ extern char __libc_version[];
+@@ -756,129 +797,127 @@
+ #if defined(__GLIBC__)
+   printf("%s %s\n", __libc_version, __libc_release);
+ #else
+-  printf("unkown\n");
++  printf("unknown\n");
+ #endif
+   return 0;
+ }
+ EOF
+-		LIBC=""
+-		$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null
++	LIBC=""
++	$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null
++	if test "$?" = 0 ; then
++		./$dummy | grep 1\.99 > /dev/null
++		if test "$?" = 0 ; then LIBC="libc1" ; fi
++	fi
++	rm -f $dummy.c $dummy
++	echo powerpc-unknown-linux-gnu${LIBC}
++	exit 0 ;;
++    alpha:Linux:*:*)
++	cat <<EOF >$dummy.s
++	  .data
++	  \$Lformat:
++		.byte 37,100,45,37,120,10,0	# "%d-%x\n"
++	   .text
++		.globl main
++		.align 4
++		.ent main
++	    main:
++		.frame \$30,16,\$26,0
++		ldgp \$29,0(\$27)
++		.prologue 1
++		.long 0x47e03d80 # implver \$0
++		lda \$2,-1
++		.long 0x47e20c21 # amask \$2,\$1
++		lda \$16,\$Lformat
++		mov \$0,\$17
++		not \$1,\$18
++		jsr \$26,printf
++		ldgp \$29,0(\$26)
++		mov 0,\$16
++		jsr \$26,exit
++		.end main
++EOF
++	LIBC=""
++	$CC_FOR_BUILD $dummy.s -o $dummy 2>/dev/null
++	if test "$?" = 0 ; then
++		case `./$dummy` in
++		0-0)	UNAME_MACHINE="alpha" ;;
++		1-0)	UNAME_MACHINE="alphaev5" ;;
++		1-1)    UNAME_MACHINE="alphaev56" ;;
++		1-101)	UNAME_MACHINE="alphapca56" ;;
++		2-303)	UNAME_MACHINE="alphaev6" ;;
++		2-307)	UNAME_MACHINE="alphaev67" ;;
++		esac
++		objdump --private-headers $dummy | \
++		  grep ld.so.1 > /dev/null
+ 		if test "$?" = 0 ; then
+-			./$dummy | grep 1\.99 > /dev/null
+-			if test "$?" = 0 ; then
+-				LIBC="libc1"
+-			fi
+-		fi	
+-		rm -f $dummy.c $dummy
+-		echo powerpc-unknown-linux-gnu${LIBC}
++			LIBC="libc1"
++		fi
++	fi
++	rm -f $dummy.s $dummy
++	echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
++	exit 0 ;;
++    parisc:Linux:*:* | hppa:Linux:*:*)
++	# Look for CPU level
++	case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
++	  PA7*) echo hppa1.1-unknown-linux-gnu ;;
++	  PA8*) echo hppa2.0-unknown-linux-gnu ;;
++	  *)    echo hppa-unknown-linux-gnu ;;
++	esac
++	exit 0 ;;
++    parisc64:Linux:*:* | hppa64:Linux:*:*)
++	echo hppa64-unknown-linux-gnu
++	exit 0 ;;
++    s390:Linux:*:* | s390x:Linux:*:*)
++	echo ${UNAME_MACHINE}-ibm-linux
++	exit 0 ;;
++    sh*:Linux:*:*)
++	echo ${UNAME_MACHINE}-unknown-linux-gnu
++	exit 0 ;;
++    sparc:Linux:*:* | sparc64:Linux:*:*)
++	echo ${UNAME_MACHINE}-unknown-linux-gnu
++	exit 0 ;;
++    x86_64:Linux:*:*)
++	echo x86_64-unknown-linux-gnu
++	exit 0 ;;
++    i*86:Linux:*:*)
++	# The BFD linker knows what the default object file format is, so
++	# first see if it will tell us. cd to the root directory to prevent
++	# problems with other programs or directories called `ld' in the path.
++	ld_supported_emulations=`cd /; ld --help 2>&1 \
++			 | sed -ne '/supported emulations:/!d
++				    s/[ 	][ 	]*/ /g
++				    s/.*supported emulations: *//
++				    s/ .*//
++				    p'`
++        case "$ld_supported_emulations" in
++	  i*86linux)
++		echo "${UNAME_MACHINE}-pc-linux-gnuaout"
+ 		exit 0
+ 		;;
+-	  shelf_linux)
+-		echo "${UNAME_MACHINE}-unknown-linux-gnu"
++	  elf_i*86)
++		TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
++		;;
++	  i*86coff)
++		echo "${UNAME_MACHINE}-pc-linux-gnucoff"
+ 		exit 0
+ 		;;
+ 	esac
+-
+-	if test "${UNAME_MACHINE}" = "alpha" ; then
+-		cat <<EOF >$dummy.s
+-			.data
+-		\$Lformat:
+-			.byte 37,100,45,37,120,10,0	# "%d-%x\n"
+-
+-			.text
+-			.globl main
+-			.align 4
+-			.ent main
+-		main:
+-			.frame \$30,16,\$26,0
+-			ldgp \$29,0(\$27)
+-			.prologue 1
+-			.long 0x47e03d80 # implver \$0
+-			lda \$2,-1
+-			.long 0x47e20c21 # amask \$2,\$1
+-			lda \$16,\$Lformat
+-			mov \$0,\$17
+-			not \$1,\$18
+-			jsr \$26,printf
+-			ldgp \$29,0(\$26)
+-			mov 0,\$16
+-			jsr \$26,exit
+-			.end main
+-EOF
+-		LIBC=""
+-		$CC_FOR_BUILD $dummy.s -o $dummy 2>/dev/null
+-		if test "$?" = 0 ; then
+-			case `./$dummy` in
+-			0-0)
+-				UNAME_MACHINE="alpha"
+-				;;
+-			1-0)
+-				UNAME_MACHINE="alphaev5"
+-				;;
+-			1-1)
+-				UNAME_MACHINE="alphaev56"
+-				;;
+-			1-101)
+-				UNAME_MACHINE="alphapca56"
+-				;;
+-			2-303)
+-				UNAME_MACHINE="alphaev6"
+-				;;
+-			2-307)
+-				UNAME_MACHINE="alphaev67"
+-				;;
+-			esac
+-
+-			objdump --private-headers $dummy | \
+-			  grep ld.so.1 > /dev/null
+-			if test "$?" = 0 ; then
+-				LIBC="libc1"
+-			fi
+-		fi
+-		rm -f $dummy.s $dummy
+-		echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} ; exit 0
+-	elif test "${UNAME_MACHINE}" = "mips" ; then
+-	  cat >$dummy.c <<EOF
+-#ifdef __cplusplus
+-#include <stdio.h>  /* for printf() prototype */
+-	int main (int argc, char *argv[]) {
+-#else
+-	int main (argc, argv) int argc; char *argv[]; {
+-#endif
+-#ifdef __MIPSEB__
+-  printf ("%s-unknown-linux-gnu\n", argv[1]);
+-#endif
+-#ifdef __MIPSEL__
+-  printf ("%sel-unknown-linux-gnu\n", argv[1]);
+-#endif
+-  return 0;
+-}
+-EOF
+-	  $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy "${UNAME_MACHINE}" && rm $dummy.c $dummy && exit 0
+-	  rm -f $dummy.c $dummy
+-	elif test "${UNAME_MACHINE}" = "s390"; then
+-	  echo s390-ibm-linux && exit 0
+-	elif test "${UNAME_MACHINE}" = "x86_64"; then
+-	  echo x86_64-unknown-linux-gnu && exit 0
+-	else
+-	  # Either a pre-BFD a.out linker (linux-gnuoldld)
+-	  # or one that does not give us useful --help.
+-	  # GCC wants to distinguish between linux-gnuoldld and linux-gnuaout.
+-	  # If ld does not provide *any* "supported emulations:"
+-	  # that means it is gnuoldld.
+-	  echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations:"
+-	  test $? != 0 && echo "${UNAME_MACHINE}-pc-linux-gnuoldld" && exit 0
+-
+-	  case "${UNAME_MACHINE}" in
+-	  i?86)
+-	    VENDOR=pc;
+-	    ;;
+-	  *)
+-	    VENDOR=unknown;
+-	    ;;
+-	  esac
+-	  # Determine whether the default compiler is a.out or elf
+-	  cat >$dummy.c <<EOF
++	# Either a pre-BFD a.out linker (linux-gnuoldld)
++	# or one that does not give us useful --help.
++	# GCC wants to distinguish between linux-gnuoldld and linux-gnuaout.
++	# If ld does not provide *any* "supported emulations:"
++	# that means it is gnuoldld.
++	test -z "$ld_supported_emulations" && echo "${UNAME_MACHINE}-pc-linux-gnuoldld" && exit 0
++	case "${UNAME_MACHINE}" in
++	i*86)
++	  VENDOR=pc;
++	  ;;
++	*)
++	  VENDOR=unknown;
++	  ;;
++	esac
++	# Determine whether the default compiler is a.out or elf
++	cat >$dummy.c <<EOF
+ #include <features.h>
+ #ifdef __cplusplus
+ #include <stdio.h>  /* for printf() prototype */
+@@ -902,16 +941,16 @@
+   return 0;
+ }
+ EOF
+-	  $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy "${UNAME_MACHINE}" && rm $dummy.c $dummy && exit 0
+-	  rm -f $dummy.c $dummy
+-	  test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0
+-	fi ;;
++	$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy "${UNAME_MACHINE}" && rm -f $dummy.c $dummy && exit 0
++	rm -f $dummy.c $dummy
++	test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0
++	;;
+ # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.  earlier versions
+ # are messed up and put the nodename in both sysname and nodename.
+-    i?86:DYNIX/ptx:4*:*)
++    i*86:DYNIX/ptx:4*:*)
+ 	echo i386-sequent-sysv4
+ 	exit 0 ;;
+-    i?86:UNIX_SV:4.2MP:2.*)
++    i*86:UNIX_SV:4.2MP:2.*)
+         # Unixware is an offshoot of SVR4, but it has its own version
+         # number series starting with 2...
+         # I am not positive that other SVR4 systems won't match this,
+@@ -919,7 +958,7 @@
+         # Use sysv4.2uw... so that sysv4* matches it.
+ 	echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
+ 	exit 0 ;;
+-    i?86:*:4.*:* | i?86:SYSTEM_V:4.*:*)
++    i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
+ 	UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
+ 	if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
+ 		echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL}
+@@ -927,7 +966,7 @@
+ 		echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL}
+ 	fi
+ 	exit 0 ;;
+-    i?86:*:5:7*)
++    i*86:*:5:7*)
+         # Fixed at (any) Pentium or better
+         UNAME_MACHINE=i586
+         if [ ${UNAME_SYSTEM} = "UnixWare" ] ; then
+@@ -936,7 +975,7 @@
+ 	    echo ${UNAME_MACHINE}-pc-sysv${UNAME_RELEASE}
+ 	fi
+ 	exit 0 ;;
+-    i?86:*:3.2:*)
++    i*86:*:3.2:*)
+ 	if test -f /usr/options/cb.name; then
+ 		UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
+ 		echo ${UNAME_MACHINE}-pc-isc$UNAME_REL
+@@ -954,7 +993,7 @@
+ 		echo ${UNAME_MACHINE}-pc-sysv32
+ 	fi
+ 	exit 0 ;;
+-    i?86:*DOS:*:*)
++    i*86:*DOS:*:*)
+ 	echo ${UNAME_MACHINE}-pc-msdosdjgpp
+ 	exit 0 ;;
+     pc:*:*:*)
+@@ -982,7 +1021,7 @@
+ 	exit 0 ;;
+     M68*:*:R3V[567]*:*)
+ 	test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
+-    3[34]??:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 4850:*:4.0:3.0)
++    3[34]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 4850:*:4.0:3.0)
+ 	OS_REL=''
+ 	test -r /etc/.relid \
+ 	&& OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
+@@ -993,21 +1032,24 @@
+     3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
+         /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
+           && echo i486-ncr-sysv4 && exit 0 ;;
+-    m68*:LynxOS:2.*:*)
++    m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
+ 	echo m68k-unknown-lynxos${UNAME_RELEASE}
+ 	exit 0 ;;
+     mc68030:UNIX_System_V:4.*:*)
+ 	echo m68k-atari-sysv4
+ 	exit 0 ;;
+-    i?86:LynxOS:2.*:* | i?86:LynxOS:3.[01]*:*)
++    i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
+ 	echo i386-unknown-lynxos${UNAME_RELEASE}
+ 	exit 0 ;;
+     TSUNAMI:LynxOS:2.*:*)
+ 	echo sparc-unknown-lynxos${UNAME_RELEASE}
+ 	exit 0 ;;
+-    rs6000:LynxOS:2.*:* | PowerPC:LynxOS:2.*:*)
++    rs6000:LynxOS:2.*:*)
+ 	echo rs6000-unknown-lynxos${UNAME_RELEASE}
+ 	exit 0 ;;
++    PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
++	echo powerpc-unknown-lynxos${UNAME_RELEASE}
++	exit 0 ;;
+     SM[BE]S:UNIX_SV:*:*)
+ 	echo mips-dde-sysv${UNAME_RELEASE}
+ 	exit 0 ;;
+@@ -1087,6 +1129,9 @@
+     NSR-[KW]:NONSTOP_KERNEL:*:*)
+ 	echo nsr-tandem-nsk${UNAME_RELEASE}
+ 	exit 0 ;;
++    *:NonStop-UX:*:*)
++	echo mips-compaq-nonstopux
++	exit 0 ;;
+     BS2000:POSIX*:*:*)
+ 	echo bs2000-siemens-sysv
+ 	exit 0 ;;
+@@ -1104,8 +1149,29 @@
+ 	fi
+ 	echo ${UNAME_MACHINE}-unknown-plan9
+ 	exit 0 ;;
+-    *:OS/2:*:*)
+-	echo ${UNAME_MACHINE}-pc-os2_emx
++    i*86:OS/2:*:*)
++	# If we were able to find `uname', then EMX Unix compatibility
++	# is probably installed.
++	echo ${UNAME_MACHINE}-pc-os2-emx
++	exit 0 ;;
++    *:TOPS-10:*:*)
++	echo pdp10-unknown-tops10
++	exit 0 ;;
++    *:TENEX:*:*)
++	echo pdp10-unknown-tenex
++	exit 0 ;;
++    KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*)
++	echo pdp10-dec-tops20
++	exit 0 ;;
++    XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*)
++	echo pdp10-xkl-tops20
++	exit 0 ;;
++    *:TOPS-20:*:*)
++	echo pdp10-unknown-tops20
++	exit 0 ;;
++    *:ITS:*:*)
++	echo pdp10-unknown-its
++	exit 0 ;;
+ esac
+ 
+ #echo '(No uname command or uname output not recognized.)' 1>&2
+@@ -1197,11 +1263,24 @@
+ #endif
+ 
+ #if defined (vax)
+-#if !defined (ultrix)
+-  printf ("vax-dec-bsd\n"); exit (0);
+-#else
+-  printf ("vax-dec-ultrix\n"); exit (0);
+-#endif
++# if !defined (ultrix)
++#  include <sys/param.h>
++#  if defined (BSD)
++#   if BSD == 43
++      printf ("vax-dec-bsd4.3\n"); exit (0);
++#   else
++#    if BSD == 199006
++      printf ("vax-dec-bsd4.3reno\n"); exit (0);
++#    else
++      printf ("vax-dec-bsd\n"); exit (0);
++#    endif
++#   endif
++#  else
++    printf ("vax-dec-bsd\n"); exit (0);
++#  endif
++# else
++    printf ("vax-dec-ultrix\n"); exit (0);
++# endif
+ #endif
+ 
+ #if defined (alliant) && defined (i860)
+@@ -1212,7 +1291,7 @@
+ }
+ EOF
+ 
+-$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy && rm $dummy.c $dummy && exit 0
++$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy && rm -f $dummy.c $dummy && exit 0
+ rm -f $dummy.c $dummy
+ 
+ # Apollos put the system type in the environment.
+@@ -1248,8 +1327,9 @@
+ cat >&2 <<EOF
+ $0: unable to guess system type
+ 
+-The $version version of this script cannot recognize your system type.
+-Please download the most up to date version of the config scripts:
++This script, last modified $timestamp, has failed to recognize
++the operating system you are using. It is advised that you
++download the most up to date version of the config scripts from
+ 
+     ftp://ftp.gnu.org/pub/gnu/config/
+ 
+@@ -1258,7 +1338,7 @@
+ pertinent to <config-patches@gnu.org> in order to provide the needed
+ information to handle your system.
+ 
+-config.guess version = $version
++config.guess timestamp = $timestamp
+ 
+ uname -m = `(uname -m) 2>/dev/null || echo unknown`
+ uname -r = `(uname -r) 2>/dev/null || echo unknown`
+@@ -1285,7 +1365,7 @@
+ 
+ # Local variables:
+ # eval: (add-hook 'write-file-hooks 'time-stamp)
+-# time-stamp-start: "version='"
++# time-stamp-start: "timestamp='"
+ # time-stamp-format: "%:y-%02m-%02d"
+ # time-stamp-end: "'"
+ # End:
+diff -ruN heimdal-0.3e-old/config.sub heimdal-0.3e/config.sub
+--- heimdal-0.3e-old/config.sub	Mon Sep 25 10:16:33 2000
++++ heimdal-0.3e/config.sub	Sat May 12 17:53:20 2001
+@@ -1,9 +1,9 @@
+ #! /bin/sh
+-# Configuration validation subroutine script, version 1.1.
+-#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Configuration validation subroutine script.
++#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ #   Free Software Foundation, Inc.
+ 
+-version='2000-09-11'
++timestamp='2001-04-20'
+ 
+ # This file is (in principle) common to ALL GNU software.
+ # The presence of a machine in this file suggests that SOME GNU software
+@@ -60,16 +60,30 @@
+ Canonicalize a configuration name.
+ 
+ Operation modes:
+-  -h, --help               print this help, then exit
+-  -V, --version            print version number, then exit"
++  -h, --help         print this help, then exit
++  -t, --time-stamp   print date of last modification, then exit
++  -v, --version      print version number, then exit
++
++Report bugs and patches to <config-patches@gnu.org>."
++
++version="\
++GNU config.sub ($timestamp)
++
++Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
++Free Software Foundation, Inc.
++
++This is free software; see the source for copying conditions.  There is NO
++warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
+ 
+ help="
+ Try \`$me --help' for more information."
+ 
+ # Parse command line
+ while test $# -gt 0 ; do
+-  case "$1" in
+-    --version | --vers* | -V )
++  case $1 in
++    --time-stamp | --time* | -t )
++       echo "$timestamp" ; exit 0 ;;
++    --version | -v )
+        echo "$version" ; exit 0 ;;
+     --help | --h* | -h )
+        echo "$usage"; exit 0 ;;
+@@ -78,9 +92,7 @@
+     - )	# Use stdin as input.
+        break ;;
+     -* )
+-       exec >&2
+-       echo "$me: invalid option $1"
+-       echo "$help"
++       echo "$me: invalid option $1$help"
+        exit 1 ;;
+ 
+     *local*)
+@@ -105,7 +117,7 @@
+ # Here we must recognize all the valid KERNEL-OS combinations.
+ maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
+ case $maybe_os in
+-  nto-qnx* | linux-gnu*)
++  nto-qnx* | linux-gnu* | storm-chaos* | os2-emx*)
+     os=-$maybe_os
+     basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
+     ;;
+@@ -203,22 +215,26 @@
+ case $basic_machine in
+ 	# Recognize the basic CPU types without company name.
+ 	# Some are omitted here because they have special meanings below.
+-	tahoe | i860 | ia64 | m32r | m68k | m68000 | m88k | ns32k | arc | arm \
+-		| arme[lb] | armv[2345] | armv[345][lb] | pyramid | mn10200 | mn10300 | tron | a29k \
++	tahoe | i860 | ia64 | m32r | m68k | m68000 | m88k | ns32k | arc \
++	        | arm | arme[lb] | arm[bl]e | armv[2345] | armv[345][lb] | strongarm | xscale \
++		| pyramid | mn10200 | mn10300 | tron | a29k \
+ 		| 580 | i960 | h8300 \
+-		| x86 | ppcbe | mipsbe | mipsle | shbe | shle | armbe | armle \
++		| x86 | ppcbe | mipsbe | mipsle | shbe | shle \
+ 		| hppa | hppa1.0 | hppa1.1 | hppa2.0 | hppa2.0w | hppa2.0n \
+ 		| hppa64 \
+ 		| alpha | alphaev[4-8] | alphaev56 | alphapca5[67] \
+ 		| alphaev6[78] \
+ 		| we32k | ns16k | clipper | i370 | sh | sh[34] \
+ 		| powerpc | powerpcle \
+-		| 1750a | dsp16xx | pdp11 | mips16 | mips64 | mipsel | mips64el \
++		| 1750a | dsp16xx | pdp10 | pdp11 \
++		| mips16 | mips64 | mipsel | mips64el \
+ 		| mips64orion | mips64orionel | mipstx39 | mipstx39el \
+ 		| mips64vr4300 | mips64vr4300el | mips64vr4100 | mips64vr4100el \
+-		| mips64vr5000 | miprs64vr5000el | mcore \
+-		| sparc | sparclet | sparclite | sparc64 | sparcv9 | v850 | c4x \
+-		| thumb | d10v | d30v | fr30 | avr)
++		| mips64vr5000 | miprs64vr5000el | mcore | s390 | s390x \
++		| sparc | sparclet | sparclite | sparc64 | sparcv9 | sparcv9b \
++		| v850 | c4x \
++		| thumb | d10v | d30v | fr30 | avr | openrisc | tic80 \
++		| pj | pjl | h8500)
+ 		basic_machine=$basic_machine-unknown
+ 		;;
+ 	m6811 | m68hc11 | m6812 | m68hc12)
+@@ -226,13 +242,13 @@
+ 		basic_machine=$basic_machine-unknown
+ 		os=-none
+ 		;;
+-	m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | z8k | v70 | h8500 | w65 | pj | pjl)
++	m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | z8k | v70 | w65)
+ 		;;
+ 
+ 	# We use `pc' rather than `unknown'
+ 	# because (1) that's what they normally are, and
+ 	# (2) the word "unknown" tends to confuse beginning users.
+-	i[234567]86 | x86_64)
++	i*86 | x86_64)
+ 	  basic_machine=$basic_machine-pc
+ 	  ;;
+ 	# Object if more than one company name word.
+@@ -242,27 +258,30 @@
+ 		;;
+ 	# Recognize the basic CPU types with company name.
+ 	# FIXME: clean up the formatting here.
+-	vax-* | tahoe-* | i[234567]86-* | i860-* | ia64-* | m32r-* | m68k-* | m68000-* \
+-	      | m88k-* | sparc-* | ns32k-* | fx80-* | arc-* | arm-* | c[123]* \
++	vax-* | tahoe-* | i*86-* | i860-* | ia64-* | m32r-* | m68k-* | m68000-* \
++	      | m88k-* | sparc-* | ns32k-* | fx80-* | arc-* | c[123]* \
++	      | arm-*  | armbe-* | armle-* | armv*-* | strongarm-* | xscale-* \
+ 	      | mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \
+ 	      | power-* | none-* | 580-* | cray2-* | h8300-* | h8500-* | i960-* \
+ 	      | xmp-* | ymp-* \
+-	      | x86-* | ppcbe-* | mipsbe-* | mipsle-* | shbe-* | shle-* | armbe-* | armle-* \
++	      | x86-* | ppcbe-* | mipsbe-* | mipsle-* | shbe-* | shle-* \
+ 	      | hppa-* | hppa1.0-* | hppa1.1-* | hppa2.0-* | hppa2.0w-* \
+ 	      | hppa2.0n-* | hppa64-* \
+ 	      | alpha-* | alphaev[4-8]-* | alphaev56-* | alphapca5[67]-* \
+ 	      | alphaev6[78]-* \
+ 	      | we32k-* | cydra-* | ns16k-* | pn-* | np1-* | xps100-* \
+ 	      | clipper-* | orion-* \
+-	      | sparclite-* | pdp11-* | sh-* | powerpc-* | powerpcle-* \
+-	      | sparc64-* | sparcv9-* | sparc86x-* | mips16-* | mips64-* | mipsel-* \
++	      | sparclite-* | pdp10-* | pdp11-* | sh-* | powerpc-* | powerpcle-* \
++	      | sparc64-* | sparcv9-* | sparcv9b-* | sparc86x-* \
++	      | mips16-* | mips64-* | mipsel-* \
+ 	      | mips64el-* | mips64orion-* | mips64orionel-* \
+ 	      | mips64vr4100-* | mips64vr4100el-* | mips64vr4300-* | mips64vr4300el-* \
+ 	      | mipstx39-* | mipstx39el-* | mcore-* \
+-	      | f301-* | armv*-* | s390-* | sv1-* | t3e-* \
++	      | f30[01]-* | f700-* | s390-* | s390x-* | sv1-* | t3e-* \
++	      | [cjt]90-* \
+ 	      | m88110-* | m680[01234]0-* | m683?2-* | m68360-* | z8k-* | d10v-* \
+-	      | thumb-* | v850-* | d30v-* | tic30-* | c30-* | fr30-* \
+-	      | bs2000-* | tic54x-* | c54x-* | x86_64-*)
++	      | thumb-* | v850-* | d30v-* | tic30-* | tic80-* | c30-* | fr30-* \
++	      | bs2000-* | tic54x-* | c54x-* | x86_64-* | pj-* | pjl-*)
+ 		;;
+ 	# Recognize the various machine names and aliases which stand
+ 	# for a CPU type and a company and sometimes even an OS.
+@@ -353,8 +372,8 @@
+ 		basic_machine=cray2-cray
+ 		os=-unicos
+ 		;;
+-	[ctj]90-cray)
+-		basic_machine=c90-cray
++	[cjt]90)
++		basic_machine=${basic_machine}-cray
+ 		os=-unicos
+ 		;;
+ 	crds | unos)
+@@ -410,6 +429,10 @@
+ 		basic_machine=tron-gmicro
+ 		os=-sysv
+ 		;;
++	go32)
++		basic_machine=i386-pc
++		os=-go32
++		;;
+ 	h3050r* | hiux*)
+ 		basic_machine=hppa1.1-hitachi
+ 		os=-hiuxwe2
+@@ -485,19 +508,19 @@
+ 		basic_machine=i370-ibm
+ 		;;
+ # I'm not sure what "Sysv32" means.  Should this be sysv3.2?
+-	i[34567]86v32)
++	i*86v32)
+ 		basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
+ 		os=-sysv32
+ 		;;
+-	i[34567]86v4*)
++	i*86v4*)
+ 		basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
+ 		os=-sysv4
+ 		;;
+-	i[34567]86v)
++	i*86v)
+ 		basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
+ 		os=-sysv
+ 		;;
+-	i[34567]86sol2)
++	i*86sol2)
+ 		basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
+ 		os=-solaris2
+ 		;;
+@@ -509,18 +532,6 @@
+ 		basic_machine=i386-unknown
+ 		os=-vsta
+ 		;;
+-	i386-go32 | go32)
+-		basic_machine=i386-unknown
+-		os=-go32
+-		;;
+-	i386-mingw32 | mingw32)
+-		basic_machine=i386-unknown
+-		os=-mingw32
+-		;;
+-	i[34567]86-pw32 | pw32)
+-		basic_machine=i586-unknown
+-		os=-pw32
+-		;;
+ 	iris | iris4d)
+ 		basic_machine=mips-sgi
+ 		case $os in
+@@ -546,6 +557,10 @@
+ 		basic_machine=ns32k-utek
+ 		os=-sysv
+ 		;;
++	mingw32)
++		basic_machine=i386-pc
++		os=-mingw32
++		;;
+ 	miniframe)
+ 		basic_machine=m68000-convergent
+ 		;;
+@@ -576,7 +591,7 @@
+ 		os=-coff
+ 		;;
+ 	msdos)
+-		basic_machine=i386-unknown
++		basic_machine=i386-pc
+ 		os=-msdos
+ 		;;
+ 	mvs)
+@@ -640,6 +655,10 @@
+ 		basic_machine=i960-intel
+ 		os=-mon960
+ 		;;
++	nonstopux)
++		basic_machine=mips-compaq
++		os=-nonstopux
++		;;
+ 	np1)
+ 		basic_machine=np1-gould
+ 		;;
+@@ -675,28 +694,28 @@
+         pc532 | pc532-*)
+ 		basic_machine=ns32k-pc532
+ 		;;
+-	pentium | p5 | k5 | k6 | nexen)
++	pentium | p5 | k5 | k6 | nexgen)
+ 		basic_machine=i586-pc
+ 		;;
+ 	pentiumpro | p6 | 6x86 | athlon)
+ 		basic_machine=i686-pc
+ 		;;
+ 	pentiumii | pentium2)
+-		basic_machine=i786-pc
++		basic_machine=i686-pc
+ 		;;
+-	pentium-* | p5-* | k5-* | k6-* | nexen-*)
++	pentium-* | p5-* | k5-* | k6-* | nexgen-*)
+ 		basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
+ 		;;
+ 	pentiumpro-* | p6-* | 6x86-* | athlon-*)
+ 		basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
+ 		;;
+ 	pentiumii-* | pentium2-*)
+-		basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
++		basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
+ 		;;
+ 	pn)
+ 		basic_machine=pn-gould
+ 		;;
+-	power)	basic_machine=rs6000-ibm
++	power)	basic_machine=power-ibm
+ 		;;
+ 	ppc)	basic_machine=powerpc-unknown
+ 	        ;;
+@@ -711,6 +730,10 @@
+ 	ps2)
+ 		basic_machine=i386-ibm
+ 		;;
++	pw32)
++		basic_machine=i586-unknown
++		os=-pw32
++		;;
+ 	rom68k)
+ 		basic_machine=m68k-rom68k
+ 		os=-coff
+@@ -901,6 +924,10 @@
+ 	vax)
+ 		basic_machine=vax-dec
+ 		;;
++	pdp10)
++		# there are many clones, so DEC is not a safe bet
++		basic_machine=pdp10-unknown
++		;;
+ 	pdp11)
+ 		basic_machine=pdp11-dec
+ 		;;
+@@ -908,9 +935,9 @@
+ 		basic_machine=we32k-att
+ 		;;
+ 	sh3 | sh4)
+-		base_machine=sh-unknown
++		basic_machine=sh-unknown
+ 		;;
+-	sparc | sparcv9)
++	sparc | sparcv9 | sparcv9b)
+ 		basic_machine=sparc-sun
+ 		;;
+         cydra)
+@@ -932,6 +959,9 @@
+ 		basic_machine=c4x-none
+ 		os=-coff
+ 		;;
++	*-unknown)
++		# Make sure to match an already-canonicalized machine name.
++		;;
+ 	*)
+ 		echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
+ 		exit 1
+@@ -991,12 +1021,13 @@
+ 	      | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
+ 	      | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
+ 	      | -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \
+-	      | -openstep* | -oskit* | -conix* | -pw32*)
++	      | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
++	      | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* | -os2*)
+ 	# Remember, each alternative MUST END IN *, to match a version number.
+ 		;;
+ 	-qnx*)
+ 		case $basic_machine in
+-		    x86-* | i[34567]86-*)
++		    x86-* | i*86-*)
+ 			;;
+ 		    *)
+ 			os=-nto$os
+@@ -1089,7 +1120,7 @@
+ 	-xenix)
+ 		os=-xenix
+ 		;;
+-        -*mint | -*MiNT)
++        -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
+ 	        os=-mint
+ 		;;
+ 	-none)
+@@ -1123,6 +1154,9 @@
+ 	arm*-semi)
+ 		os=-aout
+ 		;;
++	pdp10-*)
++		os=-tops20
++		;;
+         pdp11-*)
+ 		os=-none
+ 		;;
+@@ -1231,7 +1265,7 @@
+ 	*-masscomp)
+ 		os=-rtu
+ 		;;
+-	f301-fujitsu)
++	f30[01]-fujitsu | f700-fujitsu)
+ 		os=-uxpv
+ 		;;
+ 	*-rom68k)
+@@ -1309,7 +1343,7 @@
+ 			-mpw* | -macos*)
+ 				vendor=apple
+ 				;;
+-			-*mint | -*MiNT)
++			-*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
+ 				vendor=atari
+ 				;;
+ 		esac
+@@ -1322,7 +1356,7 @@
+ 
+ # Local variables:
+ # eval: (add-hook 'write-file-hooks 'time-stamp)
+-# time-stamp-start: "version='"
++# time-stamp-start: "timestamp='"
+ # time-stamp-format: "%:y-%02m-%02d"
+ # time-stamp-end: "'"
+ # End:
+diff -ruN heimdal-0.3e-old/configure heimdal-0.3e/configure
+--- heimdal-0.3e-old/configure	Mon Feb  5 19:03:23 2001
++++ heimdal-0.3e/configure	Sat May 12 17:53:36 2001
+@@ -1,7 +1,7 @@
+ #! /bin/sh
+ # From configure.in Revision: 1.270 .
+ # Guess values for system-dependent variables and create Makefiles.
+-# Generated by Autoconf 2.49d for heimdal 0.3e.
++# Generated by Autoconf 2.49b for heimdal 0.3e.
+ #
+ # Report bugs to <heimdal-bugs@pdc.kth.se>.
+ #
+@@ -10,141 +10,194 @@
+ # This configure script is free software; the Free Software Foundation
+ # gives unlimited permission to copy, distribute and modify it.
+ 
+-# Be Bourne compatible
+-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
+-  emulate sh
+-  NULLCMD=:
+-elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
+-  set -o posix
++# Find the correct PATH separator.  Usually this is `:', but
++# DJGPP uses `;' like DOS.
++if test "X${PATH_SEPARATOR+set}" != Xset; then
++  UNAME=${UNAME-`uname 2>/dev/null`}
++  case X$UNAME in
++    *-DOS) lt_cv_sys_path_separator=';' ;;
++    *)     lt_cv_sys_path_separator=':' ;;
++  esac
+ fi
+ 
+-if expr a : '\(a\)' >/dev/null 2>&1; then
+-  as_expr=expr
++# Check that we are running under the correct shell.
++SHELL=${CONFIG_SHELL-/bin/sh}
++
++case X$ECHO in
++X*--fallback-echo)
++  # Remove one level of quotation (which was required for Make).
++  ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
++  ;;
++esac
++
++echo=${ECHO-echo}
++if test "X$1" = X--no-reexec; then
++  # Discard the --no-reexec flag, and continue.
++  shift
++elif test "X$1" = X--fallback-echo; then
++  # Avoid inline document here, it may be left over
++  :
++elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
++  # Yippee, $echo works!
++  :
+ else
+-  as_expr=false
++  # Restart under the correct shell.
++  exec $SHELL "$0" --no-reexec ${1+"$@"}
+ fi
+ 
+-rm -f conftest conftest.exe conftest.file
+-echo >conftest.file
+-if ln -s conftest.file conftest 2>/dev/null; then
+-  # We could just check for DJGPP; but this test a) works b) is more generic
+-  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
+-  if test -f conftest.exe; then
+-    # Don't use ln at all; we don't have any links
+-    as_ln_s='cp -p'
+-  else
+-    as_ln_s='ln -s'
+-  fi
+-elif ln conftest.file conftest 2>/dev/null; then
+-  as_ln_s=ln
++if test "X$1" = X--fallback-echo; then
++  # used as fallback echo
++  shift
++  cat <<EOF
++
++EOF
++  exit 0
++fi
++
++# The HP-UX ksh and POSIX shell print the target directory to stdout
++# if CDPATH is set.
++if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
++
++if test -z "$ECHO"; then
++if test "X${echo_test_string+set}" != Xset; then
++# find a string as large as possible, as long as the shell can cope with it
++  for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
++    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
++    if (echo_test_string="`eval $cmd`") 2>/dev/null &&
++       echo_test_string="`eval $cmd`" &&
++       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
++    then
++      break
++    fi
++  done
++fi
++
++if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
++   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
++   test "X$echo_testing_string" = "X$echo_test_string"; then
++  :
+ else
+-  as_ln_s='cp -p'
++  # The Solaris, AIX, and Digital Unix default echo programs unquote
++  # backslashes.  This makes it impossible to quote backslashes using
++  #   echo "$something" | sed 's/\\/\\\\/g'
++  #
++  # So, first we look for a working echo in the user's PATH.
++
++  IFS="${IFS= 	}"; save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR}"
++  for dir in $PATH /usr/ucb; do
++    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
++       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
++       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
++       test "X$echo_testing_string" = "X$echo_test_string"; then
++      echo="$dir/echo"
++      break
++    fi
++  done
++  IFS="$save_ifs"
++
++  if test "X$echo" = Xecho; then
++    # We didn't find a better echo, so look for alternatives.
++    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
++       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
++       test "X$echo_testing_string" = "X$echo_test_string"; then
++      # This shell has a builtin print -r that does the trick.
++      echo='print -r'
++    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
++	 test "X$CONFIG_SHELL" != X/bin/ksh; then
++      # If we have ksh, try running configure again with it.
++      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
++      export ORIGINAL_CONFIG_SHELL
++      CONFIG_SHELL=/bin/ksh
++      export CONFIG_SHELL
++      exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
++    else
++      # Try using printf.
++      echo='printf %s\n'
++      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
++	 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
++	 test "X$echo_testing_string" = "X$echo_test_string"; then
++	# Cool, printf works
++	:
++      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
++	   test "X$echo_testing_string" = 'X\t' &&
++	   echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
++	   test "X$echo_testing_string" = "X$echo_test_string"; then
++	CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
++	export CONFIG_SHELL
++	SHELL="$CONFIG_SHELL"
++	export SHELL
++	echo="$CONFIG_SHELL $0 --fallback-echo"
++      elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
++	   test "X$echo_testing_string" = 'X\t' &&
++	   echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
++	   test "X$echo_testing_string" = "X$echo_test_string"; then
++	echo="$CONFIG_SHELL $0 --fallback-echo"
++      else
++	# maybe with a smaller string...
++	prev=:
++
++	for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
++	  if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
++	  then
++	    break
++	  fi
++	  prev="$cmd"
++	done
++
++	if test "$prev" != 'sed 50q "$0"'; then
++	  echo_test_string=`eval $prev`
++	  export echo_test_string
++	  exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
++	else
++	  # Oops.  We lost completely, so just stick with echo.
++	  echo=echo
++	fi
++      fi
++    fi
++  fi
++fi
+ fi
+-rm -f conftest conftest.exe conftest.file
+ 
+-# Find out how to test for executable files. Don't use a zero-byte file,
+-# as systems may use methods other than mode bits to determine executability.
+-cat >conftest.file <<_ASEOF
+-#! /bin/sh
+-exit 0
+-_ASEOF
+-chmod +x conftest.file
+-if test -x conftest.file >/dev/null 2>&1; then
+-  as_executable_p="test -x"
+-elif test -f conftest.file >/dev/null 2>&1; then
+-  as_executable_p="test -f"
+-else
+-  { { echo "$as_me:57: error: cannot check whether a file is executable on this system" >&5
+-echo "$as_me: error: cannot check whether a file is executable on this system" >&2;}
+-   { (exit 1); exit 1; }; }
++# Copy echo and quote the copy suitably for passing to libtool from
++# the Makefile, instead of quoting the original, which is used later.
++ECHO=$echo
++if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
++   ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
++fi
++
++# Be Bourne compatible
++if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
++  emulate sh
++  NULLCMD=:
++elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
++  set -o posix
+ fi
+-rm -f conftest.file
+ 
+ # Support unset when possible.
+-if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
+-  as_unset=unset
++if (unset FOO) >/dev/null 2>&1; then
++  ac_unset=unset
+ else
+-  as_unset=false
++  ac_unset=false
+ fi
+ 
+ # NLS nuisances.
+-$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
+-$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
+-$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
+-$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
+-$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
+-$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
+-$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
+-$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
++$ac_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
++$ac_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
++$ac_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
++$ac_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
++$ac_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
++$ac_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
++$ac_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
++$ac_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
+ 
+ # IFS
+ # We need space, tab and new line, in precisely that order.
+-as_nl='
++ac_nl='
+ '
+-IFS=" 	$as_nl"
++IFS=" 	$ac_nl"
+ 
+ # CDPATH.
+-$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
+-
+-# Name of the host.
+-# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
+-# so uname gets run too.
+-ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
+-
+-# Name of the executable.
+-as_me=`echo "$0" | sed 's,.*/,,'`
+-
+-cat >config.log <<EOF
+-This file contains any messages produced by compilers while
+-running configure, to aid debugging if configure makes a mistake.
+-
+-It was created by $as_me (heimdal 0.3e) 2.49d, executed with
+- > $0 $@
+-
+-EOF
+-{
+-cat <<_ASUNAME
+-## ---------- ##
+-## Platform.  ##
+-## ---------- ##
+-
+-hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
+-uname -m = `(uname -m) 2>/dev/null || echo unknown`
+-uname -r = `(uname -r) 2>/dev/null || echo unknown`
+-uname -s = `(uname -s) 2>/dev/null || echo unknown`
+-uname -v = `(uname -v) 2>/dev/null || echo unknown`
+-
+-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
+-/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
+-
+-/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
+-/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
+-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
+-hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
+-/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
+-/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
+-/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
+-
+-PATH = $PATH
+-
+-_ASUNAME
+-} >>config.log
+-
+-cat >>config.log <<EOF
+-## ------------ ##
+-## Core tests.  ##
+-## ------------ ##
+-
+-EOF
+-
+-# File descriptor usage:
+-# 0 standard input
+-# 1 file creation
+-# 2 errors and warnings
+-# 5 compiler messages saved in config.log
+-# 6 checking for... messages and results
+-exec 5>>config.log
+-exec 6>&1
++$ac_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
+ 
+ #
+ # Initializations.
+@@ -154,28 +207,24 @@
+ subdirs=
+ MFLAGS= MAKEFLAGS=
+ SHELL=${CONFIG_SHELL-/bin/sh}
+-
+ # Maximum number of lines to put in a shell here document.
+ # This variable seems obsolete.  It should probably be removed, and
+ # only ac_max_sed_lines should be used.
+ : ${ac_max_here_lines=38}
+-
+-# Avoid depending upon Character Ranges.
+-ac_cr_az='abcdefghijklmnopqrstuvwxyz'
+-ac_cr_AZ='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
+-ac_cr_09='0123456789'
+-ac_cr_alnum=$ac_cr_az$ac_cr_AZ$ac_cr_09
+-
+ # Sed expression to map a string onto a valid sh and CPP variable names.
+-ac_tr_sh="sed y%*+%pp%;s%[^_$ac_cr_alnum]%_%g"
+-ac_tr_cpp="sed y%*$ac_cr_az%P$ac_cr_AZ%;s%[^_$ac_cr_alnum]%_%g"
++ac_tr_sh='sed y%*+%pp%;s%[^a-zA-Z0-9_]%_%g'
++ac_tr_cpp='sed y%*abcdefghijklmnopqrstuvwxyz%PABCDEFGHIJKLMNOPQRSTUVWXYZ%;s%[^A-Z0-9_]%_%g'
+ 
+-ac_default_prefix=/usr/heimdal
++# By default always use an empty string as the executable extension.
++# Only change it if the script calls AC_EXEEXT.
++ac_exeext=
++# By default assume that objects files use an extension of .o.  Only
++# change it if the script calls AC_OBJEXT.
++ac_objext=o
+ # Factoring default headers for most tests.
+ ac_includes_default="\
+ #include <stdio.h>
+ #include <sys/types.h>
+-#include <sys/stat.h>
+ #if STDC_HEADERS
+ # include <stdlib.h>
+ # include <stddef.h>
+@@ -200,6 +249,7 @@
+ #if HAVE_UNISTD_H
+ # include <unistd.h>
+ #endif"
++ac_default_prefix=/usr/heimdal
+ 
+ # Initialize some variables set by options.
+ ac_init_help=
+@@ -220,12 +270,6 @@
+ verbose=
+ x_includes=NONE
+ x_libraries=NONE
+-
+-# Installation directory options.
+-# These are left unexpanded so users can "make install exec_prefix=/foo"
+-# and all the variables that are supposed to be based on exec_prefix
+-# by default will actually change.
+-# Use braces instead of parens because sh, perl, etc. also accept them.
+ bindir='${exec_prefix}/bin'
+ sbindir='${exec_prefix}/sbin'
+ libexecdir='${exec_prefix}/libexec'
+@@ -239,13 +283,6 @@
+ infodir='${prefix}/info'
+ mandir='${prefix}/man'
+ 
+-# Identity of this package.
+-PACKAGE_NAME='heimdal'
+-PACKAGE_TARNAME='heimdal'
+-PACKAGE_VERSION='0.3e'
+-PACKAGE_STRING='heimdal 0.3e'
+-PACKAGE_BUGREPORT='heimdal-bugs@pdc.kth.se'
+-
+ ac_prev=
+ for ac_option
+ do
+@@ -291,20 +328,16 @@
+   -disable-* | --disable-*)
+     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
+     # Reject names that are not valid shell variable names.
+-    expr "x$ac_feature" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
+-      { { echo "$as_me:295: error: invalid feature name: $ac_feature" >&5
+-echo "$as_me: error: invalid feature name: $ac_feature" >&2;}
+-   { (exit 1); exit 1; }; }
++    expr "x$ac_feature" : ".*[^-a-zA-Z0-9_]" >/dev/null &&
++      { echo "configure: error: invalid feature name: $ac_feature" >&2; exit 1; }
+     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
+     eval "enable_$ac_feature=no" ;;
+ 
+   -enable-* | --enable-*)
+     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
+     # Reject names that are not valid shell variable names.
+-    expr "x$ac_feature" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
+-      { { echo "$as_me:305: error: invalid feature name: $ac_feature" >&5
+-echo "$as_me: error: invalid feature name: $ac_feature" >&2;}
+-   { (exit 1); exit 1; }; }
++    expr "x$ac_feature" : ".*[^-a-zA-Z0-9_]" >/dev/null &&
++      { echo "configure: error: invalid feature name: $ac_feature" >&2; exit 1; }
+     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
+     case $ac_option in
+       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
+@@ -484,10 +517,8 @@
+   -with-* | --with-*)
+     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
+     # Reject names that are not valid shell variable names.
+-    expr "x$ac_package" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
+-      { { echo "$as_me:488: error: invalid package name: $ac_package" >&5
+-echo "$as_me: error: invalid package name: $ac_package" >&2;}
+-   { (exit 1); exit 1; }; }
++    expr "x$ac_package" : ".*[^-a-zA-Z0-9_]" >/dev/null &&
++      { echo "configure: error: invalid package name: $ac_package" >&2; exit 1; }
+     ac_package=`echo $ac_package| sed 's/-/_/g'`
+     case $ac_option in
+       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
+@@ -498,10 +529,8 @@
+   -without-* | --without-*)
+     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
+     # Reject names that are not valid shell variable names.
+-    expr "x$ac_package" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
+-      { { echo "$as_me:502: error: invalid package name: $ac_package" >&5
+-echo "$as_me: error: invalid package name: $ac_package" >&2;}
+-   { (exit 1); exit 1; }; }
++    expr "x$ac_package" : ".*[^-a-zA-Z0-9_]" >/dev/null &&
++      { echo "configure: error: invalid package name: $ac_package" >&2; exit 1; }
+     ac_package=`echo $ac_package | sed 's/-/_/g'`
+     eval "with_$ac_package=no" ;;
+ 
+@@ -523,31 +552,24 @@
+   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
+     x_libraries=$ac_optarg ;;
+ 
+-  -*) { { echo "$as_me:526: error: unrecognized option: $ac_option
+-Try \`$0 --help' for more information." >&5
+-echo "$as_me: error: unrecognized option: $ac_option
+-Try \`$0 --help' for more information." >&2;}
+-   { (exit 1); exit 1; }; }
++  -*) { echo "configure: error: unrecognized option: $ac_option
++Try \`configure --help' for more information." >&2; exit 1; }
+     ;;
+ 
+   *=*)
+     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
+     # Reject names that are not valid shell variable names.
+-    expr "x$ac_envvar" : ".*[^_$ac_cr_alnum]" >/dev/null &&
+-      { { echo "$as_me:537: error: invalid variable name: $ac_envvar" >&5
+-echo "$as_me: error: invalid variable name: $ac_envvar" >&2;}
+-   { (exit 1); exit 1; }; }
++    expr "x$ac_envvar" : ".*[^a-zA-Z0-9_]" >/dev/null &&
++      { echo "configure: error: invalid variable name: $ac_envvar" >&2; exit 1; }
+     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
+     eval "$ac_envvar='$ac_optarg'"
+     export $ac_envvar ;;
+ 
+   *)
+     # FIXME: should be removed in autoconf 3.0.
+-    { echo "$as_me:546: WARNING: you should use --build, --host, --target" >&5
+-echo "$as_me: WARNING: you should use --build, --host, --target" >&2;}
+-    expr "x$ac_option" : ".*[^-._$ac_cr_alnum]" >/dev/null &&
+-      { echo "$as_me:549: WARNING: invalid host type: $ac_option" >&5
+-echo "$as_me: WARNING: invalid host type: $ac_option" >&2;}
++    echo "configure: WARNING: you should use --build, --host, --target" >&2
++    expr "x$ac_option" : ".*[^a-zA-Z0-9.]" >/dev/null &&
++      echo "configure: WARNING: invalid host type: $ac_option" >&2
+     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
+     ;;
+ 
+@@ -556,9 +578,7 @@
+ 
+ if test -n "$ac_prev"; then
+   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
+-  { { echo "$as_me:559: error: missing argument to $ac_option" >&5
+-echo "$as_me: error: missing argument to $ac_option" >&2;}
+-   { (exit 1); exit 1; }; }
++  { echo "configure: error: missing argument to $ac_option" >&2; exit 1; }
+ fi
+ 
+ # Be sure to have absolute paths.
+@@ -570,9 +590,7 @@
+   case $ac_val in
+     [\\/$]* | ?:[\\/]* ) ;;
+     NONE ) ;;
+-    *)  { { echo "$as_me:573: error: expected an absolute path for --$ac_var: $ac_val" >&5
+-echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2;}
+-   { (exit 1); exit 1; }; };;
++    *)  { echo "configure: error: expected an absolute path for --$ac_var: $ac_val" >&2; exit 1; };;
+   esac
+ done
+ 
+@@ -586,10 +604,8 @@
+ if test "x$host_alias" != x; then
+   if test "x$build_alias" = x; then
+     cross_compiling=maybe
+-    { echo "$as_me:589: WARNING: If you wanted to set the --build type, don't use --host.
+-    If a cross compiler is detected then cross compile mode will be used." >&5
+-echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
+-    If a cross compiler is detected then cross compile mode will be used." >&2;}
++    echo "configure: WARNING: If you wanted to set the --build type, don't use --host.
++    If a cross compiler is detected then cross compile mode will be used." >&2
+   elif test "x$build_alias" != "x$host_alias"; then
+     cross_compiling=yes
+   fi
+@@ -598,8 +614,6 @@
+ ac_tool_prefix=
+ test -n "$host_alias" && ac_tool_prefix=$host_alias-
+ 
+-test "$silent" = yes && exec 6>/dev/null
+-
+ # Find the source files, if location was not specified.
+ if test -z "$srcdir"; then
+   ac_srcdir_defaulted=yes
+@@ -616,13 +630,9 @@
+ fi
+ if test ! -r $srcdir/$ac_unique_file; then
+   if test "$ac_srcdir_defaulted" = yes; then
+-    { { echo "$as_me:619: error: cannot find sources in $ac_confdir or .." >&5
+-echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2;}
+-   { (exit 1); exit 1; }; }
++    { echo "configure: error: cannot find sources in $ac_confdir or .." >&2; exit 1; }
+   else
+-    { { echo "$as_me:623: error: cannot find sources in $srcdir" >&5
+-echo "$as_me: error: cannot find sources in $srcdir" >&2;}
+-   { (exit 1); exit 1; }; }
++    { echo "configure: error: cannot find sources in $srcdir" >&2; exit 1; }
+   fi
+ fi
+ srcdir=`echo "$srcdir" | sed 's%\([^/]\)/*$%\1%'`
+@@ -650,10 +660,6 @@
+ ac_env_LDFLAGS_value=$LDFLAGS
+ ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
+ ac_cv_env_LDFLAGS_value=$LDFLAGS
+-ac_env_CPP_set=${CPP+set}
+-ac_env_CPP_value=$CPP
+-ac_cv_env_CPP_set=${CPP+set}
+-ac_cv_env_CPP_value=$CPP
+ ac_env_CPPFLAGS_set=${CPPFLAGS+set}
+ ac_env_CPPFLAGS_value=$CPPFLAGS
+ ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
+@@ -785,7 +791,6 @@
+   CFLAGS      C compiler flags
+   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
+               nonstandard directory <lib dir>
+-  CPP         C preprocessor
+   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
+               headers in a nonstandard directory <include dir>
+ 
+@@ -821,13 +826,11 @@
+     elif test -f $ac_sub_srcdir/configure; then
+       echo
+       $SHELL $ac_sub_srcdir/configure  --help=recursive
+-    elif test -f $ac_sub_srcdir/configure.ac ||
+-           test -f $ac_sub_srcdir/configure.in; then
++    elif test -f $ac_sub_srcdir/configure.in; then
+       echo
+       $ac_configure --help
+     else
+-      { echo "$as_me:829: WARNING: no configuration information is in $ac_subdir" >&5
+-echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2;}
++      echo "configure: WARNING: no configuration information is in $ac_subdir" >&2
+     fi
+     cd $ac_popdir
+   done
+@@ -836,7 +839,7 @@
+ test -n "$ac_init_help" && exit 0
+ if $ac_init_version; then
+   cat <<\EOF
+-configure (heimdal 0.3e) 2.49d
++configure (heimdal 0.3e) 2.49b
+ 
+ Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000
+ Free Software Foundation, Inc.
+@@ -846,6 +849,8 @@
+   exit 0
+ fi
+ 
++trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
++
+ # Keep a trace of the command line.
+ # Strip out --no-create and --no-recursion so they do not pile up.
+ # Also quote any args containing shell meta-characters.
+@@ -868,51 +873,28 @@
+   # Get rid of the leading space.
+ done
+ 
+-# When interrupted or exit'd, cleanup temporary files, and complete
+-# config.log.  We remove comments because anyway the quotes in there
+-# would cause problems or look ugly.
+-trap 'exit_status=$?
+-  # Save into config.log some information that might help in debugging.
+-  echo >&5
+-  echo "## ----------------- ##" >&5
+-  echo "## Cache variables.  ##" >&5
+-  echo "## ----------------- ##" >&5
+-  echo >&5
+-  # The following way of writing the cache mishandles newlines in values,
+-{
+-  (set) 2>&1 |
+-    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
+-    *ac_space=\ *)
+-      sed -n \
+-        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
+-    	  s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
+-      ;;
+-    *)
+-      sed -n \
+-        "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
+-      ;;
+-    esac;
+-} >&5
+-  sed "/^$/d" confdefs.h >conftest.log
+-  if test -s conftest.log; then
+-    echo >&5
+-    echo "## ------------ ##" >&5
+-    echo "## confdefs.h.  ##" >&5
+-    echo "## ------------ ##" >&5
+-    echo >&5
+-    cat conftest.log >&5
+-  fi
+-  (echo; echo) >&5
+-  test "$ac_signal" != 0 &&
+-    echo "$as_me: caught signal $ac_signal" >&5
+-  echo "$as_me: exit $exit_status" >&5
+-  rm -rf conftest* confdefs* core core.* *.core $ac_clean_files &&
+-    exit $exit_status
+-     ' 0
+-for ac_signal in 1 2 13 15; do
+-  trap 'ac_status=$?; ac_signal='$ac_signal'; { (exit $ac_status); exit $ac_status; }' $ac_signal
+-done
+-ac_signal=0
++# 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.
++
++It was created by configure (heimdal 0.3e) 2.49b, executed with
++ > $0 $ac_configure_args
++" >&5
+ 
+ # confdefs.h avoids OS command line length limits that DEFS can exceed.
+ rm -rf conftest* confdefs.h
+@@ -939,16 +921,14 @@
+   # Some versions of bash will fail to source /dev/null (special
+   # files actually), so we avoid doing that.
+   if test -f "$cache_file"; then
+-    { echo "$as_me:942: loading cache $cache_file" >&5
+-echo "$as_me: loading cache $cache_file" >&6;}
++    echo "loading cache $cache_file"
+     case $cache_file in
+       [\\/]* | ?:[\\/]* ) . $cache_file;;
+       *)                      . ./$cache_file;;
+     esac
+   fi
+ else
+-  { echo "$as_me:950: creating cache $cache_file" >&5
+-echo "$as_me: creating cache $cache_file" >&6;}
++  echo "creating cache $cache_file"
+   >$cache_file
+ fi
+ 
+@@ -963,37 +943,30 @@
+   eval ac_new_val="\$ac_env_${ac_var}_value"
+   case $ac_old_set,$ac_new_set in
+     set,)
+-      { echo "$as_me:966: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
+-echo "$as_me: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
++      echo "configure: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2
+       ac_suggest_removing_cache=: ;;
+     ,set)
+-      { echo "$as_me:970: WARNING: \`$ac_var' was not set in the previous run" >&5
+-echo "$as_me: WARNING: \`$ac_var' was not set in the previous run" >&2;}
++      echo "configure: WARNING: \`$ac_var' was not set in the previous run" >&2
+       ac_suggest_removing_cache=: ;;
+     ,);;
+     *)
+       if test "x$ac_old_val" != "x$ac_new_val"; then
+-        { echo "$as_me:976: WARNING: \`$ac_var' has changed since the previous run:" >&5
+-echo "$as_me: WARNING: \`$ac_var' has changed since the previous run:" >&2;}
+-        { echo "$as_me:978: WARNING:   former value:  $ac_old_val" >&5
+-echo "$as_me: WARNING:   former value:  $ac_old_val" >&2;}
+-        { echo "$as_me:980: WARNING:   current value: $ac_new_val" >&5
+-echo "$as_me: WARNING:   current value: $ac_new_val" >&2;}
++        echo "configure: WARNING: \`$ac_var' has changed since the previous run:" >&2
++        echo "configure: WARNING:   former value:  $ac_old_val" >&2
++        echo "configure: WARNING:   current value: $ac_new_val" >&2
+         ac_suggest_removing_cache=:
+       fi;;
+   esac
+ done
+ if $ac_suggest_removing_cache; then
+-  { echo "$as_me:987: WARNING: changes in the environment can compromise the build" >&5
+-echo "$as_me: WARNING: changes in the environment can compromise the build" >&2;}
+-  { echo "$as_me:989: WARNING: consider removing $cache_file and starting over" >&5
+-echo "$as_me: WARNING: consider removing $cache_file and starting over" >&2;}
++  echo "configure: WARNING: changes in the environment can compromise the build" >&2
++  echo "configure: WARNING: consider removing $cache_file and starting over" >&2
+ fi
+ 
+ ac_ext=c
+ ac_cpp='$CPP $CPPFLAGS'
+-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='${CC-cc} -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ ac_compiler_gnu=$ac_cv_c_compiler_gnu
+ 
+ case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
+@@ -1005,17 +978,18 @@
+ 
+ ac_config_headers="$ac_config_headers include/config.h"
+ 
+-ac_config_commands="$ac_config_commands default-1"
++  ac_config_commands="$ac_config_commands default-1"
+ 
+ ac_ext=c
+ ac_cpp='$CPP $CPPFLAGS'
+-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='${CC-cc} -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
+ if test -n "$ac_tool_prefix"; then
+   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
+ set dummy ${ac_tool_prefix}gcc; ac_word=$2
+-echo "$as_me:1018: checking for $ac_word" >&5
++echo "configure:992: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_CC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -1028,7 +1002,7 @@
+ for ac_dir in $ac_dummy; do
+   IFS=$ac_save_IFS
+   test -z "$ac_dir" && ac_dir=.
+-  $as_executable_p "$ac_dir/$ac_word" || continue
++  test -f "$ac_dir/$ac_word" || continue
+ ac_cv_prog_CC="${ac_tool_prefix}gcc"
+ break
+ done
+@@ -1037,10 +1011,10 @@
+ fi
+ CC=$ac_cv_prog_CC
+ if test -n "$CC"; then
+-  echo "$as_me:1040: result: $CC" >&5
++  echo "configure:1014: result: $CC" >&5
+ echo "${ECHO_T}$CC" >&6
+ else
+-  echo "$as_me:1043: result: no" >&5
++  echo "configure:1017: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+@@ -1049,7 +1023,7 @@
+   ac_ct_CC=$CC
+   # Extract the first word of "gcc", so it can be a program name with args.
+ set dummy gcc; ac_word=$2
+-echo "$as_me:1052: checking for $ac_word" >&5
++echo "configure:1026: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -1062,7 +1036,7 @@
+ for ac_dir in $ac_dummy; do
+   IFS=$ac_save_IFS
+   test -z "$ac_dir" && ac_dir=.
+-  $as_executable_p "$ac_dir/$ac_word" || continue
++  test -f "$ac_dir/$ac_word" || continue
+ ac_cv_prog_ac_ct_CC="gcc"
+ break
+ done
+@@ -1071,23 +1045,21 @@
+ fi
+ ac_ct_CC=$ac_cv_prog_ac_ct_CC
+ if test -n "$ac_ct_CC"; then
+-  echo "$as_me:1074: result: $ac_ct_CC" >&5
++  echo "configure:1048: result: $ac_ct_CC" >&5
+ echo "${ECHO_T}$ac_ct_CC" >&6
+ else
+-  echo "$as_me:1077: result: no" >&5
++  echo "configure:1051: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+   CC=$ac_ct_CC
+-else
+-  CC="$ac_cv_prog_CC"
+ fi
+ 
+ if test -z "$CC"; then
+   if test -n "$ac_tool_prefix"; then
+   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
+ set dummy ${ac_tool_prefix}cc; ac_word=$2
+-echo "$as_me:1090: checking for $ac_word" >&5
++echo "configure:1062: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_CC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -1100,7 +1072,7 @@
+ for ac_dir in $ac_dummy; do
+   IFS=$ac_save_IFS
+   test -z "$ac_dir" && ac_dir=.
+-  $as_executable_p "$ac_dir/$ac_word" || continue
++  test -f "$ac_dir/$ac_word" || continue
+ ac_cv_prog_CC="${ac_tool_prefix}cc"
+ break
+ done
+@@ -1109,10 +1081,10 @@
+ fi
+ CC=$ac_cv_prog_CC
+ if test -n "$CC"; then
+-  echo "$as_me:1112: result: $CC" >&5
++  echo "configure:1084: result: $CC" >&5
+ echo "${ECHO_T}$CC" >&6
+ else
+-  echo "$as_me:1115: result: no" >&5
++  echo "configure:1087: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+@@ -1121,7 +1093,7 @@
+   ac_ct_CC=$CC
+   # Extract the first word of "cc", so it can be a program name with args.
+ set dummy cc; ac_word=$2
+-echo "$as_me:1124: checking for $ac_word" >&5
++echo "configure:1096: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -1134,7 +1106,7 @@
+ for ac_dir in $ac_dummy; do
+   IFS=$ac_save_IFS
+   test -z "$ac_dir" && ac_dir=.
+-  $as_executable_p "$ac_dir/$ac_word" || continue
++  test -f "$ac_dir/$ac_word" || continue
+ ac_cv_prog_ac_ct_CC="cc"
+ break
+ done
+@@ -1143,23 +1115,21 @@
+ fi
+ ac_ct_CC=$ac_cv_prog_ac_ct_CC
+ if test -n "$ac_ct_CC"; then
+-  echo "$as_me:1146: result: $ac_ct_CC" >&5
++  echo "configure:1118: result: $ac_ct_CC" >&5
+ echo "${ECHO_T}$ac_ct_CC" >&6
+ else
+-  echo "$as_me:1149: result: no" >&5
++  echo "configure:1121: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+   CC=$ac_ct_CC
+-else
+-  CC="$ac_cv_prog_CC"
+ fi
+ 
+ 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 "$as_me:1162: checking for $ac_word" >&5
++echo "configure:1132: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_CC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -1173,7 +1143,7 @@
+ for ac_dir in $ac_dummy; do
+   IFS=$ac_save_IFS
+   test -z "$ac_dir" && ac_dir=.
+-  $as_executable_p "$ac_dir/$ac_word" || continue
++  test -f "$ac_dir/$ac_word" || continue
+ if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
+   ac_prog_rejected=yes
+   continue
+@@ -1200,10 +1170,10 @@
+ fi
+ CC=$ac_cv_prog_CC
+ if test -n "$CC"; then
+-  echo "$as_me:1203: result: $CC" >&5
++  echo "configure:1173: result: $CC" >&5
+ echo "${ECHO_T}$CC" >&6
+ else
+-  echo "$as_me:1206: result: no" >&5
++  echo "configure:1176: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+@@ -1214,7 +1184,7 @@
+   do
+     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
+ set dummy $ac_tool_prefix$ac_prog; ac_word=$2
+-echo "$as_me:1217: checking for $ac_word" >&5
++echo "configure:1187: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_CC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -1227,7 +1197,7 @@
+ for ac_dir in $ac_dummy; do
+   IFS=$ac_save_IFS
+   test -z "$ac_dir" && ac_dir=.
+-  $as_executable_p "$ac_dir/$ac_word" || continue
++  test -f "$ac_dir/$ac_word" || continue
+ ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
+ break
+ done
+@@ -1236,10 +1206,10 @@
+ fi
+ CC=$ac_cv_prog_CC
+ if test -n "$CC"; then
+-  echo "$as_me:1239: result: $CC" >&5
++  echo "configure:1209: result: $CC" >&5
+ echo "${ECHO_T}$CC" >&6
+ else
+-  echo "$as_me:1242: result: no" >&5
++  echo "configure:1212: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+@@ -1252,7 +1222,7 @@
+ do
+   # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+-echo "$as_me:1255: checking for $ac_word" >&5
++echo "configure:1225: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -1265,7 +1235,7 @@
+ for ac_dir in $ac_dummy; do
+   IFS=$ac_save_IFS
+   test -z "$ac_dir" && ac_dir=.
+-  $as_executable_p "$ac_dir/$ac_word" || continue
++  test -f "$ac_dir/$ac_word" || continue
+ ac_cv_prog_ac_ct_CC="$ac_prog"
+ break
+ done
+@@ -1274,10 +1244,10 @@
+ fi
+ ac_ct_CC=$ac_cv_prog_ac_ct_CC
+ if test -n "$ac_ct_CC"; then
+-  echo "$as_me:1277: result: $ac_ct_CC" >&5
++  echo "configure:1247: result: $ac_ct_CC" >&5
+ echo "${ECHO_T}$ac_ct_CC" >&6
+ else
+-  echo "$as_me:1280: result: no" >&5
++  echo "configure:1250: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+@@ -1289,17 +1259,12 @@
+ 
+ fi
+ 
+-test -z "$CC" && { { echo "$as_me:1292: error: no acceptable cc found in \$PATH" >&5
+-echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
+-   { (exit 1); exit 1; }; }
++test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" >&2; exit 1; }
+ 
+-echo "$as_me:1296: checking for object suffix" >&5
+-echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
+-if test "${ac_cv_objext+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  cat >conftest.$ac_ext <<_ACEOF
+-#line 1302 "configure"
++echo "configure:1264: checking whether the C compiler works" >&5
++echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line 1267 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -1310,41 +1275,48 @@
+   return 0;
+ }
+ _ACEOF
+-rm -f conftest.o conftest.obj
+-if { (eval echo "$as_me:1314: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:1317: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
+-  case $ac_file in
+-    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
+-    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
+-       break;;
+-  esac
+-done
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:1279: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  # FIXME: these cross compiler hacks should be removed for autoconf 3.0
++# If not cross compiling, check that we can run a simple program.
++if test "$cross_compiling" != yes; then
++  if { ac_try='./conftest$ac_exeext'; { (eval echo configure:1283: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; }; then
++    cross_compiling=no
++  else
++    if test "$cross_compiling" = maybe; then
++      cross_compiling=yes
++    else
++      { echo "configure: error: cannot run C compiled programs.
++To enable cross compilation, use \`--host'." >&2; exit 1; }
++    fi
++  fi
++fi
++echo "configure:1294: result: yes" >&5
++echo "${ECHO_T}yes" >&6
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-{ { echo "$as_me:1329: error: cannot compute OBJEXT: cannot compile" >&5
+-echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
+-   { (exit 1); exit 1; }; }
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  echo "configure:1299: result: no" >&5
++echo "${ECHO_T}no" >&6
++{ echo "configure: error: C compiler cannot create executables" >&2; exit 77; }
+ fi
++rm -f conftest$ac_exeext conftest.$ac_ext
++echo "configure:1304: checking whether we are cross compiling" >&5
++echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
++echo "configure:1306: result: $cross_compiling" >&5
++echo "${ECHO_T}$cross_compiling" >&6
+ 
+-rm -f conftest.$ac_cv_objext conftest.$ac_ext
+-fi
+-echo "$as_me:1336: result: $ac_cv_objext" >&5
+-echo "${ECHO_T}$ac_cv_objext" >&6
+-OBJEXT=$ac_cv_objext
+-ac_objext=$OBJEXT
+-echo "$as_me:1340: checking for executable suffix" >&5
+-echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
+-if test "${ac_cv_exeext+set}" = set; then
++echo "configure:1309: checking whether we are using the GNU C compiler" >&5
++echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
++if test "${ac_cv_c_compiler_gnu+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 1346 "configure"
++#line 1315 "configure"
+ #include "confdefs.h"
++#ifndef __GNUC__
++  choke me
++#endif
+ 
+ int
+ main ()
+@@ -1354,66 +1326,28 @@
+   return 0;
+ }
+ _ACEOF
+-# Try without -o first, disregard a.out.
+-ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
+-if { (eval echo "$as_me:1359: \"$ac_link_default\"") >&5
+-  (eval $ac_link_default) 2>&5
+-  ac_status=$?
+-  echo "$as_me:1362: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  for ac_file in `ls a.exe conftest.exe a.* conftest conftest.* 2>/dev/null`; do
+-  case $ac_file in
+-    *.$ac_ext | *.out | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
+-    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
+-          export ac_cv_exeext
+-          break;;
+-    * ) break;;
+-  esac
+-done
+-else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-fi
+-
+-rm -f a.out a.exe conftest$ac_cv_exeext
+-
+-# We have not set ac_exeext yet which is needed by `ac_link'.
+-ac_exeext=$ac_cv_exeext
+-if { (eval echo "$as_me:1382: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:1385: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  # If both `conftest.exe' and `conftest' are `present' (well, observable)
+-# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
+-# work properly (i.e., refer to `conftest.exe'), while it won't with
+-# `rm'.
+-for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
+-  case $ac_file in
+-    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
+-    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
+-          export ac_cv_exeext
+-          break;;
+-    * ) break;;
+-  esac
+-done
++rm -f conftest.$ac_objext
++if { (eval echo configure:1330: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++  ac_compiler_gnu=yes
+ else
+-  { { echo "$as_me:1401: error: cannot compute EXEEXT: cannot compile and link" >&5
+-echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
+-   { (exit 1); exit 1; }; }
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_compiler_gnu=no
+ fi
+-
+-rm -f conftest.$ac_ext conftest$ac_cv_exeext
++rm -f conftest.$ac_objext conftest.$ac_ext
++ac_cv_c_compiler_gnu=$ac_compiler_gnu
+ 
+ fi
+-echo "$as_me:1409: result: $ac_cv_exeext" >&5
+-echo "${ECHO_T}$ac_cv_exeext" >&6
+-EXEEXT=$ac_cv_exeext
+-ac_exeext=$EXEEXT
+-echo "$as_me:1413: checking whether the C compiler works" >&5
+-echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
+-cat >conftest.$ac_ext <<_ACEOF
+-#line 1416 "configure"
++echo "configure:1341: result: $ac_cv_c_compiler_gnu" >&5
++echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
++GCC=`test $ac_compiler_gnu = yes && echo yes`
++echo "configure:1344: checking for object suffix" >&5
++echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
++if test "${ac_cv_objext+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line 1350 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -1424,109 +1358,79 @@
+   return 0;
+ }
+ _ACEOF
+-rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:1428: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:1431: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:1433: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:1436: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  # FIXME: these cross compiler hacks should be removed for autoconf 3.0
+-# If not cross compiling, check that we can run a simple program.
+-if test "$cross_compiling" != yes; then
+-  if { (eval echo "$as_me:1441: \"./conftest$ac_exeext\"") >&5
+-  (eval ./conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:1444: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-    cross_compiling=no
+-  else
+-    if test "$cross_compiling" = maybe; then
+-      cross_compiling=yes
+-    else
+-      { { echo "$as_me:1451: error: cannot run C compiled programs.
+-To enable cross compilation, use \`--host'." >&5
+-echo "$as_me: error: cannot run C compiled programs.
+-To enable cross compilation, use \`--host'." >&2;}
+-   { (exit 1); exit 1; }; }
+-    fi
+-  fi
+-fi
+-echo "$as_me:1459: result: yes" >&5
+-echo "${ECHO_T}yes" >&6
++if { (eval echo configure:1361: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++  for ac_file in conftest.*; do
++  case $ac_file in
++    *.$ac_ext) ;;
++    *) ac_cv_objext=`echo $ac_file | sed s/conftest.//` ;;
++  esac
++  done
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-echo "$as_me:1464: result: no" >&5
+-echo "${ECHO_T}no" >&6
+-{ { echo "$as_me:1466: error: C compiler cannot create executables" >&5
+-echo "$as_me: error: C compiler cannot create executables" >&2;}
+-   { (exit 77); exit 77; }; }
++  rm -f conftest.$ac_ext
++  { echo "configure: error: cannot compile" >&2; exit 1; }
+ fi
+-rm -f conftest$ac_exeext conftest.$ac_ext
+-echo "$as_me:1471: checking whether we are cross compiling" >&5
+-echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
+-echo "$as_me:1473: result: $cross_compiling" >&5
+-echo "${ECHO_T}$cross_compiling" >&6
++fi
++echo "configure:1373: result: $ac_cv_objext" >&5
++echo "${ECHO_T}$ac_cv_objext" >&6
++OBJEXT=$ac_cv_objext
++ac_objext=$ac_cv_objext
++rm -f conftest.$ac_objext conftest.$ac_ext
+ 
+-echo "$as_me:1476: checking whether we are using the GNU C compiler" >&5
+-echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
+-if test "${ac_cv_c_compiler_gnu+set}" = set; then
++echo "configure:1379: checking for executable suffix" >&5
++echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
++if test "${ac_cv_exeext+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
++  case "$CYGWIN $MINGW32 $EMXOS2" in
++  *yes*) ac_cv_exeext=.exe ;;
++  *)
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 1482 "configure"
++#line 1388 "configure"
+ #include "confdefs.h"
+ 
+ int
+ main ()
+ {
+-#ifndef __GNUC__
+-       choke me
+-#endif
+ 
+   ;
+   return 0;
+ }
+ _ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:1497: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:1500: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:1502: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:1505: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  ac_compiler_gnu=yes
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:1400: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  if test ! -f conftest; then
++    for ac_file in conftest.*; do
++       case $ac_file in
++         *.$ac_ext | *.o | *.obj | *.xcoff) ;;
++         *) ac_cv_exeext=`expr "$ac_file" : 'conftest\(.*\)'`;;
++       esac
++     done
++   fi
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_compiler_gnu=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  { echo "configure: error: cannot compile and link" >&2; exit 1; }
+ fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
+-ac_cv_c_compiler_gnu=$ac_compiler_gnu
+-
++rm -f conftest$ac_exeext conftest.$ac_ext
++  test -n "$ac_cv_exeext" && ac_cv_exeext=no;;
++esac
+ fi
+-echo "$as_me:1517: result: $ac_cv_c_compiler_gnu" >&5
+-echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
+-GCC=`test $ac_compiler_gnu = yes && echo yes`
++echo "configure:1418: result: $ac_cv_exeext" >&5
++echo "${ECHO_T}$ac_cv_exeext" >&6
++EXEEXT=
++test "$ac_cv_exeext" != no && EXEEXT=$ac_cv_exeext
++ac_exeext=$EXEEXT
++
+ ac_test_CFLAGS=${CFLAGS+set}
+ ac_save_CFLAGS=$CFLAGS
+ CFLAGS="-g"
+-echo "$as_me:1523: checking whether $CC accepts -g" >&5
+-echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
++echo "configure:1427: checking whether ${CC-cc} accepts -g" >&5
++echo $ECHO_N "checking whether ${CC-cc} accepts -g... $ECHO_C" >&6
+ if test "${ac_cv_prog_cc_g+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 1529 "configure"
++#line 1433 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -1538,25 +1442,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:1541: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:1544: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:1546: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:1549: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:1445: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_prog_cc_g=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_prog_cc_g=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_prog_cc_g=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:1559: result: $ac_cv_prog_cc_g" >&5
++echo "configure:1454: result: $ac_cv_prog_cc_g" >&5
+ echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
+ if test "$ac_test_CFLAGS" = set; then
+   CFLAGS=$ac_save_CFLAGS
+@@ -1573,149 +1468,44 @@
+     CFLAGS=
+   fi
+ fi
+-# Some people use a C++ compiler to compile C.  Since we use `exit',
+-# in C++ we need to declare it.  In case someone uses the same compiler
+-# for both compiling C and C++ we need to have the C++ compiler decide
+-# the declaration of exit, since it's the most demanding environment.
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='${CC-cc} -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++echo "configure:1477: checking how to run the C preprocessor" >&5
++echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='${CC-cc} -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++# On Suns, sometimes $CPP names a directory.
++if test -n "$CPP" && test -d "$CPP"; then
++  CPP=
++fi
++if test -z "$CPP"; then
++  if test "${ac_cv_prog_CPP+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++      # Double quotes because CPP needs to be expanded
++    for CPP in "${CC-cc} -E" "${CC-cc} -E -traditional-cpp" "/lib/cpp"
++    do
++      # Use a header file that comes with gcc, so configuring glibc
++# with a fresh cross-compiler works.
++# On the NeXT, cc -E runs the code through the compiler's parser,
++# not just through cpp. "Syntax error" is here to catch this case.
+ cat >conftest.$ac_ext <<_ACEOF
+-#ifndef __cplusplus
+-  choke me
+-#endif
+-_ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:1586: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:1589: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:1591: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:1594: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  for ac_declaration in \
+-   ''\
+-   '#include <stdlib.h>' \
+-   'extern "C" void std::exit (int) throw (); using std::exit;' \
+-   'extern "C" void std::exit (int); using std::exit;' \
+-   'extern "C" void exit (int) throw ();' \
+-   'extern "C" void exit (int);' \
+-   'void exit (int);'
+-do
+-  cat >conftest.$ac_ext <<_ACEOF
+-#line 1606 "configure"
+-#include "confdefs.h"
+-#include <stdlib.h>
+-$ac_declaration
+-int
+-main ()
+-{
+-exit (42);
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:1619: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:1622: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:1624: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:1627: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  :
+-else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-continue
+-fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
+-  cat >conftest.$ac_ext <<_ACEOF
+-#line 1637 "configure"
+-#include "confdefs.h"
+-$ac_declaration
+-int
+-main ()
+-{
+-exit (42);
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:1649: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:1652: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:1654: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:1657: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  break
+-else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
+-done
+-echo '#ifdef __cplusplus' >>confdefs.h
+-echo $ac_declaration      >>confdefs.h
+-echo '#endif'             >>confdefs.h
+-
+-else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
+-ac_ext=c
+-ac_cpp='$CPP $CPPFLAGS'
+-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+-ac_compiler_gnu=$ac_cv_c_compiler_gnu
+-
+-ac_ext=c
+-ac_cpp='$CPP $CPPFLAGS'
+-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+-ac_compiler_gnu=$ac_cv_c_compiler_gnu
+-echo "$as_me:1686: checking how to run the C preprocessor" >&5
+-echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
+-# On Suns, sometimes $CPP names a directory.
+-if test -n "$CPP" && test -d "$CPP"; then
+-  CPP=
+-fi
+-if test -z "$CPP"; then
+-  if test "${ac_cv_prog_CPP+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-      # Double quotes because CPP needs to be expanded
+-    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
+-    do
+-      # Use a header file that comes with gcc, so configuring glibc
+-# with a fresh cross-compiler works.
+-# On the NeXT, cc -E runs the code through the compiler's parser,
+-# not just through cpp. "Syntax error" is here to catch this case.
+-ac_c_preproc_warn_flag=maybe
+-cat >conftest.$ac_ext <<_ACEOF
+-#line 1705 "configure"
++#line 1500 "configure"
+ #include "confdefs.h"
+ #include <assert.h>
+ Syntax error
+ _ACEOF
+-if { (eval echo "$as_me:1710: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
+-  (eval $ac_cpp conftest.$ac_ext >/dev/null) 2>conftest.er1
+-  ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
+-  rm -f conftest.er1
+-  cat conftest.err >&5
+-  echo "$as_me:1716: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  if test -s conftest.err; then
++ac_c_preproc_warn_flag=maybe
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:1507: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+   else
+     ac_cpp_err=
+@@ -1723,24 +1513,18 @@
+ else
+   ac_cpp_err=yes
+ fi
+-if test -z "$ac_cpp_err"; then
+-  # Now check whether non-existent headers can be detected and how
++
++# Now check whether non-existent headers can be detected and how
+ # Skip if ac_cpp_err is not empty - ac_cpp is broken
+ if test -z "$ac_cpp_err"; then
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 1731 "configure"
++#line 1521 "configure"
+ #include "confdefs.h"
+ #include <ac_nonexistent.h>
+ _ACEOF
+-if { (eval echo "$as_me:1735: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
+-  (eval $ac_cpp conftest.$ac_ext >/dev/null) 2>conftest.er1
+-  ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
+-  rm -f conftest.er1
+-  cat conftest.err >&5
+-  echo "$as_me:1741: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  if test -s conftest.err; then
++  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:1526: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+   else
+     ac_cpp_err=
+@@ -1748,27 +1532,21 @@
+ else
+   ac_cpp_err=yes
+ fi
+-if test -z "$ac_cpp_err"; then
+-  # cannot detect missing includes at all
+-ac_cpp_err=yes
+-else
+-  echo "$as_me: failed program was:" >&5
+-  cat conftest.$ac_ext >&5
+-  if test "x$ac_cpp_err" = xmaybe; then
++
++  if test -z "$ac_cpp_err"; then
++    # cannot detect missing includes at all
++    ac_cpp_err=yes
++  else
++    if test "x$ac_cpp_err" = xmaybe; then
+       ac_c_preproc_warn_flag=yes
+     else
+       ac_c_preproc_warn_flag=
+     fi
+     ac_cpp_err=
++  fi
+ fi
+-rm -f conftest.err conftest.$ac_ext
+-fi
+-else
+-  echo "$as_me: failed program was:" >&5
+-  cat conftest.$ac_ext >&5
++rm -f conftest*
+ 
+-fi
+-rm -f conftest.err conftest.$ac_ext
+       if test -z "$ac_cpp_err"; then
+         break
+       fi
+@@ -1782,22 +1560,16 @@
+ # with a fresh cross-compiler works.
+ # On the NeXT, cc -E runs the code through the compiler's parser,
+ # not just through cpp. "Syntax error" is here to catch this case.
+-ac_c_preproc_warn_flag=maybe
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 1787 "configure"
++#line 1564 "configure"
+ #include "confdefs.h"
+ #include <assert.h>
+ Syntax error
+ _ACEOF
+-if { (eval echo "$as_me:1792: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
+-  (eval $ac_cpp conftest.$ac_ext >/dev/null) 2>conftest.er1
+-  ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
+-  rm -f conftest.er1
+-  cat conftest.err >&5
+-  echo "$as_me:1798: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  if test -s conftest.err; then
++ac_c_preproc_warn_flag=maybe
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:1571: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+   else
+     ac_cpp_err=
+@@ -1805,24 +1577,18 @@
+ else
+   ac_cpp_err=yes
+ fi
+-if test -z "$ac_cpp_err"; then
+-  # Now check whether non-existent headers can be detected and how
++
++# Now check whether non-existent headers can be detected and how
+ # Skip if ac_cpp_err is not empty - ac_cpp is broken
+ if test -z "$ac_cpp_err"; then
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 1813 "configure"
++#line 1585 "configure"
+ #include "confdefs.h"
+ #include <ac_nonexistent.h>
+ _ACEOF
+-if { (eval echo "$as_me:1817: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
+-  (eval $ac_cpp conftest.$ac_ext >/dev/null) 2>conftest.er1
+-  ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
+-  rm -f conftest.er1
+-  cat conftest.err >&5
+-  echo "$as_me:1823: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  if test -s conftest.err; then
++  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:1590: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+   else
+     ac_cpp_err=
+@@ -1830,872 +1596,2310 @@
+ else
+   ac_cpp_err=yes
+ fi
+-if test -z "$ac_cpp_err"; then
+-  # cannot detect missing includes at all
+-ac_cpp_err=yes
+-else
+-  echo "$as_me: failed program was:" >&5
+-  cat conftest.$ac_ext >&5
+-  if test "x$ac_cpp_err" = xmaybe; then
++
++  if test -z "$ac_cpp_err"; then
++    # cannot detect missing includes at all
++    ac_cpp_err=yes
++  else
++    if test "x$ac_cpp_err" = xmaybe; then
+       ac_c_preproc_warn_flag=yes
+     else
+       ac_c_preproc_warn_flag=
+     fi
+     ac_cpp_err=
++  fi
+ fi
+-rm -f conftest.err conftest.$ac_ext
+-fi
+-else
+-  echo "$as_me: failed program was:" >&5
+-  cat conftest.$ac_ext >&5
++rm -f conftest*
+ 
+-fi
+-rm -f conftest.err conftest.$ac_ext
+   ac_cv_prog_CPP=$CPP
+ fi
+-echo "$as_me:1856: result: $CPP" >&5
++echo "configure:1616: result: $CPP" >&5
+ echo "${ECHO_T}$CPP" >&6
+ if test -n "$ac_cpp_err"; then
+-  { { echo "$as_me:1859: error: C preprocessor \"$CPP\" fails sanity check" >&5
+-echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
+-   { (exit 1); exit 1; }; }
++  { echo "configure: error: C preprocessor \"$CPP\" fails sanity check" >&2; exit 1; }
+ fi
+ ac_ext=c
+ ac_cpp='$CPP $CPPFLAGS'
+-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='${CC-cc} -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ ac_compiler_gnu=$ac_cv_c_compiler_gnu
+ 
+-echo "$as_me:1869: checking for $CC option to accept ANSI C" >&5
+-echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
+-if test "${ac_cv_prog_cc_stdc+set}" = set; then
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='${CC-cc} -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++if test -n "$ac_tool_prefix"; then
++  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
++set dummy ${ac_tool_prefix}gcc; ac_word=$2
++echo "configure:1636: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_CC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  ac_cv_prog_cc_stdc=no
+-ac_save_CC=$CC
+-cat >conftest.$ac_ext <<_ACEOF
+-#line 1877 "configure"
+-#include "confdefs.h"
+-#include <stdarg.h>
+-#include <stdio.h>
+-#include <sys/types.h>
+-#include <sys/stat.h>
+-/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
+-struct buf { int x; };
+-FILE * (*rcsopen) (struct buf *, struct stat *, int);
+-static char *e (p, i)
+-     char **p;
+-     int i;
+-{
+-  return p[i];
+-}
+-static char *f (char * (*g) (char **, int), char **p, ...)
+-{
+-  char *s;
+-  va_list v;
+-  va_start (v,p);
+-  s = g (p, va_arg (v,int));
+-  va_end (v);
+-  return s;
+-}
+-int test (int i, double x);
+-struct s1 {int (*f) (int a);};
+-struct s2 {int (*f) (double a);};
+-int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
+-int argc;
+-char **argv;
+-int
+-main ()
+-{
+-return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-# Don't try gcc -ansi; that turns off useful extensions and
+-# breaks some systems' header files.
+-# AIX			-qlanglvl=ansi
+-# Ultrix and OSF/1	-std1
+-# HP-UX 10.20 and later	-Ae
+-# HP-UX older versions	-Aa -D_HPUX_SOURCE
+-# SVR4			-Xc -D__EXTENSIONS__
+-for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
+-do
+-  CC="$ac_save_CC $ac_arg"
+-  rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:1926: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:1929: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:1931: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:1934: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  ac_cv_prog_cc_stdc=$ac_arg
+-break
++  if test -n "$CC"; then
++  ac_cv_prog_CC="$CC" # Let the user override the test.
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-fi
+-rm -f conftest.$ac_objext
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
++  IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_CC="${ac_tool_prefix}gcc"
++break
+ done
+-rm -f conftest.$ac_ext conftest.$ac_objext
+-CC=$ac_save_CC
+ 
+ fi
+-
+-case "x$ac_cv_prog_cc_stdc" in
+-  x|xno)
+-    echo "$as_me:1951: result: none needed" >&5
+-echo "${ECHO_T}none needed" >&6 ;;
+-  *)
+-    echo "$as_me:1954: result: $ac_cv_prog_cc_stdc" >&5
+-echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
+-    CC="$CC $ac_cv_prog_cc_stdc" ;;
+-esac
+-
+-ac_aux_dir=
+-for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
+-  if test -f $ac_dir/install-sh; then
+-    ac_aux_dir=$ac_dir
+-    ac_install_sh="$ac_aux_dir/install-sh -c"
+-    break
+-  elif test -f $ac_dir/install.sh; then
+-    ac_aux_dir=$ac_dir
+-    ac_install_sh="$ac_aux_dir/install.sh -c"
+-    break
+-  elif test -f $ac_dir/shtool; then
+-    ac_aux_dir=$ac_dir
+-    ac_install_sh="$ac_aux_dir/shtool install -c"
+-    break
+-  fi
+-done
+-if test -z "$ac_aux_dir"; then
+-  { { echo "$as_me:1976: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
+-echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
+-   { (exit 1); exit 1; }; }
+ fi
+-ac_config_guess="$SHELL $ac_aux_dir/config.guess"
+-ac_config_sub="$SHELL $ac_aux_dir/config.sub"
+-ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
++CC=$ac_cv_prog_CC
++if test -n "$CC"; then
++  echo "configure:1658: result: $CC" >&5
++echo "${ECHO_T}$CC" >&6
++else
++  echo "configure:1661: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
+ 
+-# Find a good install program.  We prefer a C program (faster),
+-# so one script is as good as another.  But avoid the broken or
+-# incompatible versions:
+-# SysV /etc/install, /usr/sbin/install
+-# SunOS /usr/etc/install
+-# IRIX /sbin/install
+-# AIX /bin/install
+-# AmigaOS /C/install, which installs bootblocks on floppy discs
+-# 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 "$as_me:1996: checking for a BSD compatible install" >&5
+-echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
+-if test -z "$INSTALL"; then
+-if test "${ac_cv_path_install+set}" = set; then
++fi
++if test -z "$ac_cv_prog_CC"; then
++  ac_ct_CC=$CC
++  # Extract the first word of "gcc", so it can be a program name with args.
++set dummy gcc; ac_word=$2
++echo "configure:1670: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-    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
+-    / | ./ | .// | /cC/* \
+-    | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
+-    | /usr/ucb/* ) ;;
+-    *)
+-      # OSF1 and SCO ODT 3.0 have their own names for install.
+-      # Don't use installbsd from OSF since it installs stuff as root
+-      # by default.
+-      for ac_prog in ginstall scoinst install; do
+-        if test -f "$ac_dir/$ac_prog"; then
+-	  if test $ac_prog = install &&
+-            grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
+-	    # AIX install.  It has an incompatible calling convention.
+-	    :
+-	  elif test $ac_prog = install &&
+-	    grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
+-	    # program-specific install script used by HP pwplus--don't use.
+-	    :
+-	  else
+-	    ac_cv_path_install="$ac_dir/$ac_prog -c"
+-	    break 2
+-	  fi
+-	fi
+-      done
+-      ;;
+-    esac
+-  done
++  if test -n "$ac_ct_CC"; then
++  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
++else
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
+   IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_ac_ct_CC="gcc"
++break
++done
+ 
+ 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 "$as_me:2045: result: $INSTALL" >&5
+-echo "${ECHO_T}$INSTALL" >&6
+-
+-# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
+-# It thinks the first close brace ends the variable substitution.
+-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
+-
+-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
+-
+-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
+-
+-echo "$as_me:2056: checking whether build environment is sane" >&5
+-echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
+-# Just in case
+-sleep 1
+-echo timestamp > conftestfile
+-# Do `set' in a subshell so we don't clobber the current shell's
+-# arguments.  Must try -L first in case configure is actually a
+-# symlink; some systems play weird games with the mod time of symlinks
+-# (eg FreeBSD returns the mod time of the symlink's containing
+-# directory).
+-if (
+-   set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
+-   if test "$*" = "X"; then
+-      # -L didn't work.
+-      set X `ls -t $srcdir/configure conftestfile`
+-   fi
+-   if test "$*" != "X $srcdir/configure conftestfile" \
+-      && test "$*" != "X conftestfile $srcdir/configure"; then
+-
+-      # If neither matched, then we have a broken ls.  This can happen
+-      # if, for instance, CONFIG_SHELL is bash and it inherits a
+-      # broken ls alias from the environment.  This has actually
+-      # happened.  Such a system could not be considered "sane".
+-      { { echo "$as_me:2079: error: ls -t appears to fail.  Make sure there is not a broken
+-alias in your environment" >&5
+-echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
+-alias in your environment" >&2;}
+-   { (exit 1); exit 1; }; }
+-   fi
+-
+-   test "$2" = conftestfile
+-   )
+-then
+-   # Ok.
+-   :
+-else
+-   { { echo "$as_me:2092: error: newly created file is older than distributed files!
+-Check your system clock" >&5
+-echo "$as_me: error: newly created file is older than distributed files!
+-Check your system clock" >&2;}
+-   { (exit 1); exit 1; }; }
+ fi
+-rm -f conftest*
+-echo "$as_me:2099: result: yes" >&5
+-echo "${ECHO_T}yes" >&6
+-if test "$program_transform_name" = s,x,x,; then
+-  program_transform_name=
++ac_ct_CC=$ac_cv_prog_ac_ct_CC
++if test -n "$ac_ct_CC"; then
++  echo "configure:1692: result: $ac_ct_CC" >&5
++echo "${ECHO_T}$ac_ct_CC" >&6
+ else
+-  # Double any \ or $.  echo might interpret backslashes.
+-  cat <<\EOF >conftestsed
+-s,\\,\\\\,g; s,\$,$$,g
+-EOF
+-  program_transform_name=`echo $program_transform_name | sed -f conftestsed`
+-  rm -f conftestsed
++  echo "configure:1695: result: no" >&5
++echo "${ECHO_T}no" >&6
+ fi
+-test "$program_prefix" != NONE &&
+-  program_transform_name="s,^,${program_prefix},;$program_transform_name"
+-# Use a double $ so make ignores it.
+-test "$program_suffix" != NONE &&
+-  program_transform_name="s,\$\$,${program_suffix},;$program_transform_name"
+ 
+-# sed with no file args requires a program.
+-test -z "$program_transform_name" && program_transform_name="s,x,x,"
+-
+-test x"${MISSING+set}" = xset || \
+-  MISSING="\${SHELL} `CDPATH=: && cd $ac_aux_dir && pwd`/missing"
+-if eval "$MISSING --run :"; then
+-  am_missing_run="$MISSING --run "
+-else
+-  am_missing_run=
+-  am_backtick='`'
+-  { echo "$as_me:2127: WARNING: ${am_backtick}missing' script is too old or missing" >&5
+-echo "$as_me: WARNING: ${am_backtick}missing' script is too old or missing" >&2;}
++  CC=$ac_ct_CC
+ fi
+ 
+-for ac_prog in mawk gawk nawk awk
+-do
+-  # Extract the first word of "$ac_prog", so it can be a program name with args.
+-set dummy $ac_prog; ac_word=$2
+-echo "$as_me:2135: checking for $ac_word" >&5
++if test -z "$CC"; then
++  if test -n "$ac_tool_prefix"; then
++  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
++set dummy ${ac_tool_prefix}cc; ac_word=$2
++echo "configure:1706: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+-if test "${ac_cv_prog_AWK+set}" = set; then
++if test "${ac_cv_prog_CC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  if test -n "$AWK"; then
+-  ac_cv_prog_AWK="$AWK" # Let the user override the test.
++  if test -n "$CC"; then
++  ac_cv_prog_CC="$CC" # Let the user override the test.
+ else
+   ac_save_IFS=$IFS; IFS=':'
+ ac_dummy="$PATH"
+ for ac_dir in $ac_dummy; do
+   IFS=$ac_save_IFS
+   test -z "$ac_dir" && ac_dir=.
+-  $as_executable_p "$ac_dir/$ac_word" || continue
+-ac_cv_prog_AWK="$ac_prog"
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_CC="${ac_tool_prefix}cc"
+ break
+ done
+ 
+ fi
+ fi
+-AWK=$ac_cv_prog_AWK
+-if test -n "$AWK"; then
+-  echo "$as_me:2157: result: $AWK" >&5
+-echo "${ECHO_T}$AWK" >&6
++CC=$ac_cv_prog_CC
++if test -n "$CC"; then
++  echo "configure:1728: result: $CC" >&5
++echo "${ECHO_T}$CC" >&6
+ else
+-  echo "$as_me:2160: result: no" >&5
++  echo "configure:1731: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+-  test -n "$AWK" && break
+-done
+-
+-echo "$as_me:2167: checking whether ${MAKE-make} sets \${MAKE}" >&5
+-echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
+-set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
+-if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
++fi
++if test -z "$ac_cv_prog_CC"; then
++  ac_ct_CC=$CC
++  # Extract the first word of "cc", so it can be a program name with args.
++set dummy cc; ac_word=$2
++echo "configure:1740: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftestmake <<\EOF
+-all:
+-	@echo 'ac_maketemp="${MAKE}"'
+-EOF
+-# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
+-eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
+-if test -n "$ac_maketemp"; then
+-  eval ac_cv_prog_make_${ac_make}_set=yes
++  if test -n "$ac_ct_CC"; then
++  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
+ else
+-  eval ac_cv_prog_make_${ac_make}_set=no
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
++  IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_ac_ct_CC="cc"
++break
++done
++
+ fi
+-rm -f conftestmake
+ fi
+-if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
+-  echo "$as_me:2187: result: yes" >&5
+-echo "${ECHO_T}yes" >&6
+-  SET_MAKE=
++ac_ct_CC=$ac_cv_prog_ac_ct_CC
++if test -n "$ac_ct_CC"; then
++  echo "configure:1762: result: $ac_ct_CC" >&5
++echo "${ECHO_T}$ac_ct_CC" >&6
+ else
+-  echo "$as_me:2191: result: no" >&5
++  echo "configure:1765: result: no" >&5
+ echo "${ECHO_T}no" >&6
+-  SET_MAKE="MAKE=${MAKE-make}"
+ fi
+ 
+-# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
+-if test "${enable_dependency_tracking+set}" = set; then
+-  enableval="$enable_dependency_tracking"
+-
+-fi;
+-if test "x$enable_dependency_tracking" = xno; then
+-  AMDEP="#"
+-else
+-  am_depcomp="$ac_aux_dir/depcomp"
+-  if test ! -f "$am_depcomp"; then
+-    AMDEP="#"
+-  else
+-    AMDEP=
+-  fi
++  CC=$ac_ct_CC
+ fi
+ 
+-if test -z "$AMDEP"; then
+-  AMDEPBACKSLASH='\'
+-else
+-  AMDEPBACKSLASH=
+ fi
+-
+-if test -d .deps || mkdir .deps 2> /dev/null || test -d .deps; then
+-  DEPDIR=.deps
++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 "configure:1776: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_CC+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  DEPDIR=_deps
++  if test -n "$CC"; then
++  ac_cv_prog_CC="$CC" # Let the user override the test.
++else
++  ac_prog_rejected=no
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
++  IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
++  ac_prog_rejected=yes
++  continue
+ fi
++ac_cv_prog_CC="cc"
++break
++done
+ 
+-ac_config_commands="$ac_config_commands default-2"
+-
+-# test to see if srcdir already configured
+-if test "`CDPATH=: && cd $srcdir && pwd`" != "`pwd`" &&
+-   test -f $srcdir/config.status; then
+-  { { echo "$as_me:2229: error: source directory already configured; run \"make distclean\" there first" >&5
+-echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
+-   { (exit 1); exit 1; }; }
++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 $# != 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" ${1+"$@"}
++    shift
++    ac_cv_prog_CC="$@"
++  fi
+ fi
+-
+-# Define the identity of the package.
+-PACKAGE=heimdal
+-VERSION=0.3e
+-
+-cat >>confdefs.h <<EOF
+-#define PACKAGE "$PACKAGE"
+-EOF
+-
+-cat >>confdefs.h <<EOF
+-#define VERSION "$VERSION"
+-EOF
+-
+-# Some tools Automake needs.
+-
+-ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal"}
+-
+-AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
+-
+-AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake"}
+-
+-AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
+-
+-MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
+-
+-AMTAR=${AMTAR-"${am_missing_run}tar"}
+-
+-if test -z "$install_sh"; then
+-   install_sh="$ac_aux_dir/install-sh"
+-   test -f "$install_sh" || install_sh="$ac_aux_dir/install.sh"
+-   test -f "$install_sh" || install_sh="${am_missing_run}${ac_auxdir}/install-sh"
+-         install_sh="`echo $install_sh | sed -e 's/\${SHELL}//'`"
++fi
++fi
++CC=$ac_cv_prog_CC
++if test -n "$CC"; then
++  echo "configure:1817: result: $CC" >&5
++echo "${ECHO_T}$CC" >&6
++else
++  echo "configure:1820: result: no" >&5
++echo "${ECHO_T}no" >&6
+ fi
+ 
+-depcc="$CC"
+-depcpp="$CPP"
+-echo "$as_me:2269: checking dependency style of $depcc" >&5
+-echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
+-if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
++fi
++if test -z "$CC"; then
++  if test -n "$ac_tool_prefix"; then
++  for ac_prog in cl
++  do
++    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
++set dummy $ac_tool_prefix$ac_prog; ac_word=$2
++echo "configure:1831: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_CC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-
+-if test -z "$AMDEP"; then
+-  echo '#include "conftest.h"' > conftest.c
+-  echo 'int i;' > conftest.h
+-
+-  am_cv_CC_dependencies_compiler_type=none
+-  for depmode in `sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < "$am_depcomp"`; do
+-    case "$depmode" in
+-    nosideeffect)
+-      # after this tag, mechanisms are not by side-effect, so they'll
+-      # only be used when explicitly requested
+-      if test "x$enable_dependency_tracking" = xyes; then
+-	continue
+-      else
+-	break
+-      fi
+-      ;;
+-    none) break ;;
+-    esac
+-    if depmode="$depmode" \
+-       source=conftest.c object=conftest.o \
+-       depfile=conftest.Po tmpdepfile=conftest.TPo \
+-       $SHELL $am_depcomp $depcc -c conftest.c 2>/dev/null &&
+-       grep conftest.h conftest.Po > /dev/null 2>&1; then
+-      am_cv_CC_dependencies_compiler_type="$depmode"
+-      break
+-    fi
+-  done
+-
+-  rm -f conftest.*
+-else
+-  am_cv_CC_dependencies_compiler_type=none
+-fi
+-
+-fi
+-
+-echo "$as_me:2310: result: $am_cv_CC_dependencies_compiler_type" >&5
+-echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
+-CCDEPMODE="depmode=$am_cv_CC_dependencies_compiler_type"
+-
+-# Make sure we can run config.sub.
+-$ac_config_sub sun4 >/dev/null 2>&1 ||
+-  { { echo "$as_me:2316: error: cannot run $ac_config_sub" >&5
+-echo "$as_me: error: cannot run $ac_config_sub" >&2;}
+-   { (exit 1); exit 1; }; }
+-
+-echo "$as_me:2320: checking build system type" >&5
+-echo $ECHO_N "checking build system type... $ECHO_C" >&6
+-if test "${ac_cv_build+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  ac_cv_build_alias=$build_alias
+-test -z "$ac_cv_build_alias" &&
+-  ac_cv_build_alias=`$ac_config_guess`
+-test -z "$ac_cv_build_alias" &&
+-  { { echo "$as_me:2329: error: cannot guess build type; you must specify one" >&5
+-echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
+-   { (exit 1); exit 1; }; }
+-ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
+-  { { echo "$as_me:2333: error: $ac_config_sub $ac_cv_build_alias failed." >&5
+-echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;}
+-   { (exit 1); exit 1; }; }
+-
+-fi
+-echo "$as_me:2338: result: $ac_cv_build" >&5
+-echo "${ECHO_T}$ac_cv_build" >&6
+-build=$ac_cv_build
+-build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
+-build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
+-build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
+-
+-echo "$as_me:2345: checking host system type" >&5
+-echo $ECHO_N "checking host system type... $ECHO_C" >&6
+-if test "${ac_cv_host+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  ac_cv_host_alias=$host_alias
+-test -z "$ac_cv_host_alias" &&
+-  ac_cv_host_alias=$ac_cv_build_alias
+-ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
+-  { { echo "$as_me:2354: error: $ac_config_sub $ac_cv_host_alias failed" >&5
+-echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
+-   { (exit 1); exit 1; }; }
+-
+-fi
+-echo "$as_me:2359: result: $ac_cv_host" >&5
+-echo "${ECHO_T}$ac_cv_host" >&6
+-host=$ac_cv_host
+-host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
+-host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
+-host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
+-
+-CANONICAL_HOST=$host
+-
+-sunos=no
+-case "$host" in
+-*-*-sunos4*)
+-	sunos=40
+-	;;
+-*-*-solaris2.7)
+-	sunos=57
+-	;;
+-*-*-solaris2.8)
+-	sunos=58
+-	;;
+-*-*-solaris2*)
+-	sunos=50
+-	;;
+-esac
+-if test "$sunos" != no; then
+-
+-cat >>confdefs.h <<EOF
+-#define SunOS $sunos
+-EOF
+-
+-fi
+-
+-aix=no
+-case "$host" in
+-*-*-aix3*)
+-	aix=3
+-	;;
+-*-*-aix4*)
+-	aix=4
+-	;;
+-esac
+-
+-#test -z "$CFLAGS" && CFLAGS="-g"
+-
+-for ac_prog in 'bison -y' byacc
+-do
+-  # Extract the first word of "$ac_prog", so it can be a program name with args.
+-set dummy $ac_prog; ac_word=$2
+-echo "$as_me:2407: checking for $ac_word" >&5
+-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+-if test "${ac_cv_prog_YACC+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  if test -n "$YACC"; then
+-  ac_cv_prog_YACC="$YACC" # Let the user override the test.
++  if test -n "$CC"; then
++  ac_cv_prog_CC="$CC" # Let the user override the test.
+ else
+   ac_save_IFS=$IFS; IFS=':'
+ ac_dummy="$PATH"
+ for ac_dir in $ac_dummy; do
+   IFS=$ac_save_IFS
+   test -z "$ac_dir" && ac_dir=.
+-  $as_executable_p "$ac_dir/$ac_word" || continue
+-ac_cv_prog_YACC="$ac_prog"
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
+ break
+ done
+ 
+ fi
+ fi
+-YACC=$ac_cv_prog_YACC
+-if test -n "$YACC"; then
+-  echo "$as_me:2429: result: $YACC" >&5
+-echo "${ECHO_T}$YACC" >&6
++CC=$ac_cv_prog_CC
++if test -n "$CC"; then
++  echo "configure:1853: result: $CC" >&5
++echo "${ECHO_T}$CC" >&6
+ else
+-  echo "$as_me:2432: result: no" >&5
++  echo "configure:1856: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+-  test -n "$YACC" && break
+-done
+-test -n "$YACC" || YACC="yacc"
+-
+-for ac_prog in flex lex
++    test -n "$CC" && break
++  done
++fi
++if test -z "$CC"; then
++  ac_ct_CC=$CC
++  for ac_prog in cl
+ do
+   # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+-echo "$as_me:2444: checking for $ac_word" >&5
++echo "configure:1869: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+-if test "${ac_cv_prog_LEX+set}" = set; then
++if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  if test -n "$LEX"; then
+-  ac_cv_prog_LEX="$LEX" # Let the user override the test.
++  if test -n "$ac_ct_CC"; then
++  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
+ else
+   ac_save_IFS=$IFS; IFS=':'
+ ac_dummy="$PATH"
+ for ac_dir in $ac_dummy; do
+   IFS=$ac_save_IFS
+   test -z "$ac_dir" && ac_dir=.
+-  $as_executable_p "$ac_dir/$ac_word" || continue
+-ac_cv_prog_LEX="$ac_prog"
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_ac_ct_CC="$ac_prog"
+ break
+ done
+ 
+ fi
+ fi
+-LEX=$ac_cv_prog_LEX
+-if test -n "$LEX"; then
+-  echo "$as_me:2466: result: $LEX" >&5
+-echo "${ECHO_T}$LEX" >&6
++ac_ct_CC=$ac_cv_prog_ac_ct_CC
++if test -n "$ac_ct_CC"; then
++  echo "configure:1891: result: $ac_ct_CC" >&5
++echo "${ECHO_T}$ac_ct_CC" >&6
+ else
+-  echo "$as_me:2469: result: no" >&5
++  echo "configure:1894: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+-  test -n "$LEX" && break
+-done
+-test -n "$LEX" || LEX="${am_missing_run}flex"
+-
+-for ac_prog in flex lex
+-do
+-  # Extract the first word of "$ac_prog", so it can be a program name with args.
+-set dummy $ac_prog; ac_word=$2
+-echo "$as_me:2481: checking for $ac_word" >&5
+-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+-if test "${ac_cv_prog_LEX+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  if test -n "$LEX"; then
+-  ac_cv_prog_LEX="$LEX" # Let the user override the test.
+-else
+-  ac_save_IFS=$IFS; IFS=':'
+-ac_dummy="$PATH"
+-for ac_dir in $ac_dummy; do
+-  IFS=$ac_save_IFS
+-  test -z "$ac_dir" && ac_dir=.
+-  $as_executable_p "$ac_dir/$ac_word" || continue
+-ac_cv_prog_LEX="$ac_prog"
+-break
++  test -n "$ac_ct_CC" && break
+ done
+ 
++  CC=$ac_ct_CC
+ fi
+-fi
+-LEX=$ac_cv_prog_LEX
+-if test -n "$LEX"; then
+-  echo "$as_me:2503: result: $LEX" >&5
+-echo "${ECHO_T}$LEX" >&6
+-else
+-  echo "$as_me:2506: result: no" >&5
+-echo "${ECHO_T}no" >&6
++
+ fi
+ 
+-  test -n "$LEX" && break
+-done
+-test -n "$LEX" || LEX=":"
++test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" >&2; exit 1; }
+ 
+-if test -z "$LEXLIB"
+-then
+-  echo "$as_me:2516: checking for yywrap in -lfl" >&5
+-echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
+-if test "${ac_cv_lib_fl_yywrap+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  ac_check_lib_save_LIBS=$LIBS
+-LIBS="-lfl  $LIBS"
++echo "configure:1908: checking whether the C compiler works" >&5
++echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 2524 "configure"
++#line 1911 "configure"
+ #include "confdefs.h"
+ 
+-/* Override any gcc2 internal prototype to avoid an error.  */
+-#ifdef __cplusplus
+-extern "C"
+-#endif
+-/* We use char because int might match the return type of a gcc2
+-   builtin and then its argument prototype would still apply.  */
+-char yywrap ();
+ int
+ main ()
+ {
+-yywrap ();
++
+   ;
+   return 0;
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:2543: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:2546: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:2548: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:2551: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  ac_cv_lib_fl_yywrap=yes
++if { (eval echo configure:1923: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  # FIXME: these cross compiler hacks should be removed for autoconf 3.0
++# If not cross compiling, check that we can run a simple program.
++if test "$cross_compiling" != yes; then
++  if { ac_try='./conftest$ac_exeext'; { (eval echo configure:1927: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; }; then
++    cross_compiling=no
++  else
++    if test "$cross_compiling" = maybe; then
++      cross_compiling=yes
++    else
++      { echo "configure: error: cannot run C compiled programs.
++To enable cross compilation, use \`--host'." >&2; exit 1; }
++    fi
++  fi
++fi
++echo "configure:1938: result: yes" >&5
++echo "${ECHO_T}yes" >&6
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_lib_fl_yywrap=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  echo "configure:1943: result: no" >&5
++echo "${ECHO_T}no" >&6
++{ echo "configure: error: C compiler cannot create executables" >&2; exit 77; }
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+-LIBS=$ac_check_lib_save_LIBS
+-fi
+-echo "$as_me:2562: result: $ac_cv_lib_fl_yywrap" >&5
+-echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
+-if test $ac_cv_lib_fl_yywrap = yes; then
+-  LEXLIB="-lfl"
+-else
+-  echo "$as_me:2567: checking for yywrap in -ll" >&5
+-echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
+-if test "${ac_cv_lib_l_yywrap+set}" = set; then
++echo "configure:1948: checking whether we are cross compiling" >&5
++echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
++echo "configure:1950: result: $cross_compiling" >&5
++echo "${ECHO_T}$cross_compiling" >&6
++
++echo "configure:1953: checking whether we are using the GNU C compiler" >&5
++echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
++if test "${ac_cv_c_compiler_gnu+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  ac_check_lib_save_LIBS=$LIBS
+-LIBS="-ll  $LIBS"
+-cat >conftest.$ac_ext <<_ACEOF
+-#line 2575 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 1959 "configure"
+ #include "confdefs.h"
+-
+-/* Override any gcc2 internal prototype to avoid an error.  */
+-#ifdef __cplusplus
+-extern "C"
++#ifndef __GNUC__
++  choke me
+ #endif
+-/* We use char because int might match the return type of a gcc2
+-   builtin and then its argument prototype would still apply.  */
+-char yywrap ();
++
+ int
+ main ()
+ {
+-yywrap ();
++
+   ;
+   return 0;
+ }
+ _ACEOF
+-rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:2594: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:2597: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:2599: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:2602: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  ac_cv_lib_l_yywrap=yes
++rm -f conftest.$ac_objext
++if { (eval echo configure:1974: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++  ac_compiler_gnu=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_lib_l_yywrap=no
+-fi
+-rm -f conftest$ac_exeext conftest.$ac_ext
+-LIBS=$ac_check_lib_save_LIBS
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_compiler_gnu=no
+ fi
+-echo "$as_me:2613: result: $ac_cv_lib_l_yywrap" >&5
++rm -f conftest.$ac_objext conftest.$ac_ext
++ac_cv_c_compiler_gnu=$ac_compiler_gnu
++
++fi
++echo "configure:1985: result: $ac_cv_c_compiler_gnu" >&5
++echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
++GCC=`test $ac_compiler_gnu = yes && echo yes`
++
++ac_test_CFLAGS=${CFLAGS+set}
++ac_save_CFLAGS=$CFLAGS
++CFLAGS="-g"
++echo "configure:1992: checking whether ${CC-cc} accepts -g" >&5
++echo $ECHO_N "checking whether ${CC-cc} accepts -g... $ECHO_C" >&6
++if test "${ac_cv_prog_cc_g+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line 1998 "configure"
++#include "confdefs.h"
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:2010: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++  ac_cv_prog_cc_g=yes
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_prog_cc_g=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "configure:2019: result: $ac_cv_prog_cc_g" >&5
++echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
++if test "$ac_test_CFLAGS" = set; then
++  CFLAGS=$ac_save_CFLAGS
++elif test $ac_cv_prog_cc_g = yes; then
++  if test "$GCC" = yes; then
++    CFLAGS="-g -O2"
++  else
++    CFLAGS="-g"
++  fi
++else
++  if test "$GCC" = yes; then
++    CFLAGS="-O2"
++  else
++    CFLAGS=
++  fi
++fi
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='${CC-cc} -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++echo "configure:2042: checking for ${CC-cc} option to accept ANSI C" >&5
++echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
++if test "${ac_cv_prog_cc_stdc+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_cv_prog_cc_stdc=no
++ac_save_CC=$CC
++# Don't try gcc -ansi; that turns off useful extensions and
++# breaks some systems' header files.
++# AIX			-qlanglvl=ansi
++# Ultrix and OSF/1	-std1
++# HP-UX 10.20 and later	-Ae
++# HP-UX older versions	-Aa -D_HPUX_SOURCE
++# SVR4			-Xc -D__EXTENSIONS__
++for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
++do
++  CC="$ac_save_CC $ac_arg"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 2060 "configure"
++#include "confdefs.h"
++#include <stdarg.h>
++#include <stdio.h>
++#include <sys/types.h>
++#include <sys/stat.h>
++/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
++struct buf { int x; };
++FILE * (*rcsopen) (struct buf *, struct stat *, int);
++static char *e (p, i)
++     char **p;
++     int i;
++{
++  return p[i];
++}
++static char *f (char * (*g) (char **, int), char **p, ...)
++{
++  char *s;
++  va_list v;
++  va_start (v,p);
++  s = g (p, va_arg (v,int));
++  va_end (v);
++  return s;
++}
++int test (int i, double x);
++struct s1 {int (*f) (int a);};
++struct s2 {int (*f) (double a);};
++int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
++int argc;
++char **argv;
++int
++main ()
++{
++return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:2099: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++  ac_cv_prog_cc_stdc=$ac_arg; break
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++done
++CC=$ac_save_CC
++
++fi
++
++case "x$ac_cv_prog_cc_stdc" in
++  x|xno)
++    echo "configure:2113: result: none needed" >&5
++echo "${ECHO_T}none needed" >&6 ;;
++  *)
++    echo "configure:2116: result: $ac_cv_prog_cc_stdc" >&5
++echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
++    CC="$CC $ac_cv_prog_cc_stdc" ;;
++esac
++
++ac_aux_dir=
++for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
++  if test -f $ac_dir/install-sh; then
++    ac_aux_dir=$ac_dir
++    ac_install_sh="$ac_aux_dir/install-sh -c"
++    break
++  elif test -f $ac_dir/install.sh; then
++    ac_aux_dir=$ac_dir
++    ac_install_sh="$ac_aux_dir/install.sh -c"
++    break
++  elif test -f $ac_dir/shtool; then
++    ac_aux_dir=$ac_dir
++    ac_install_sh="$ac_aux_dir/shtool install -c"
++    break
++  fi
++done
++if test -z "$ac_aux_dir"; then
++  { echo "configure: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2; exit 1; }
++fi
++ac_config_guess="$SHELL $ac_aux_dir/config.guess"
++ac_config_sub="$SHELL $ac_aux_dir/config.sub"
++ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
++
++# Find a good install program.  We prefer a C program (faster),
++# so one script is as good as another.  But avoid the broken or
++# incompatible versions:
++# SysV /etc/install, /usr/sbin/install
++# SunOS /usr/etc/install
++# IRIX /sbin/install
++# AIX /bin/install
++# AmigaOS /C/install, which installs bootblocks on floppy discs
++# 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 "configure:2156: checking for a BSD compatible install" >&5
++echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
++if test -z "$INSTALL"; then
++if test "${ac_cv_path_install+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++    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
++    / | ./ | .// | /cC/* \
++    | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
++    | /usr/ucb/* ) ;;
++    *)
++      # OSF1 and SCO ODT 3.0 have their own names for install.
++      # Don't use installbsd from OSF since it installs stuff as root
++      # by default.
++      for ac_prog in ginstall scoinst install; do
++        if test -f "$ac_dir/$ac_prog"; then
++	  if test $ac_prog = install &&
++            grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
++	    # AIX install.  It has an incompatible calling convention.
++	    :
++	  elif test $ac_prog = install &&
++	    grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
++	    # program-specific install script used by HP pwplus--don't use.
++	    :
++	  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 "configure:2205: result: $INSTALL" >&5
++echo "${ECHO_T}$INSTALL" >&6
++
++# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
++# It thinks the first close brace ends the variable substitution.
++test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
++
++test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
++
++test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
++
++echo "configure:2216: checking whether build environment is sane" >&5
++echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
++# Just in case
++sleep 1
++echo timestamp > conftestfile
++# Do `set' in a subshell so we don't clobber the current shell's
++# arguments.  Must try -L first in case configure is actually a
++# symlink; some systems play weird games with the mod time of symlinks
++# (eg FreeBSD returns the mod time of the symlink's containing
++# directory).
++if (
++   set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
++   if test "$*" = "X"; then
++      # -L didn't work.
++      set X `ls -t $srcdir/configure conftestfile`
++   fi
++   if test "$*" != "X $srcdir/configure conftestfile" \
++      && test "$*" != "X conftestfile $srcdir/configure"; then
++
++      # If neither matched, then we have a broken ls.  This can happen
++      # if, for instance, CONFIG_SHELL is bash and it inherits a
++      # broken ls alias from the environment.  This has actually
++      # happened.  Such a system could not be considered "sane".
++      { echo "configure: error: ls -t appears to fail.  Make sure there is not a broken
++alias in your environment" >&2; exit 1; }
++   fi
++
++   test "$2" = conftestfile
++   )
++then
++   # Ok.
++   :
++else
++   { echo "configure: error: newly created file is older than distributed files!
++Check your system clock" >&2; exit 1; }
++fi
++rm -f conftest*
++echo "configure:2253: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++if test "$program_transform_name" = s,x,x,; then
++  program_transform_name=
++else
++  # Double any \ or $.  echo might interpret backslashes.
++  cat <<\EOF >conftestsed
++s,\\,\\\\,g; s,\$,$$,g
++EOF
++  program_transform_name=`echo $program_transform_name | sed -f conftestsed`
++  rm -f conftestsed
++fi
++test "$program_prefix" != NONE &&
++  program_transform_name="s,^,${program_prefix},;$program_transform_name"
++# Use a double $ so make ignores it.
++test "$program_suffix" != NONE &&
++  program_transform_name="s,\$\$,${program_suffix},;$program_transform_name"
++
++# sed with no file args requires a program.
++test -z "$program_transform_name" && program_transform_name="s,x,x,"
++
++test x"${MISSING+set}" = xset || \
++  MISSING="\${SHELL} `CDPATH=:; cd $ac_aux_dir && pwd`/missing"
++# Use eval to expand $SHELL
++if eval "$MISSING --run :"; then
++  am_missing_run="$MISSING --run "
++else
++  am_missing_run=
++  am_backtick='`'
++  echo "configure: WARNING: ${am_backtick}missing' script is too old or missing" >&2
++fi
++
++for ac_prog in mawk gawk nawk awk
++do
++  # Extract the first word of "$ac_prog", so it can be a program name with args.
++set dummy $ac_prog; ac_word=$2
++echo "configure:2289: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_AWK+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$AWK"; then
++  ac_cv_prog_AWK="$AWK" # Let the user override the test.
++else
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
++  IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_AWK="$ac_prog"
++break
++done
++
++fi
++fi
++AWK=$ac_cv_prog_AWK
++if test -n "$AWK"; then
++  echo "configure:2311: result: $AWK" >&5
++echo "${ECHO_T}$AWK" >&6
++else
++  echo "configure:2314: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  test -n "$AWK" && break
++done
++
++echo "configure:2321: checking whether ${MAKE-make} sets \${MAKE}" >&5
++echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
++set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
++if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftestmake <<\EOF
++all:
++	@echo 'ac_maketemp="${MAKE}"'
++EOF
++# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
++eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
++if test -n "$ac_maketemp"; then
++  eval ac_cv_prog_make_${ac_make}_set=yes
++else
++  eval ac_cv_prog_make_${ac_make}_set=no
++fi
++rm -f conftestmake
++fi
++if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
++  echo "configure:2341: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++  SET_MAKE=
++else
++  echo "configure:2345: result: no" >&5
++echo "${ECHO_T}no" >&6
++  SET_MAKE="MAKE=${MAKE-make}"
++fi
++
++# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
++if test "${enable_dependency_tracking+set}" = set; then
++  enableval="$enable_dependency_tracking"
++
++fi;
++if test "x$enable_dependency_tracking" = xno; then
++  AMDEP="#"
++else
++  am_depcomp="$ac_aux_dir/depcomp"
++  if test ! -f "$am_depcomp"; then
++    AMDEP="#"
++  else
++    AMDEP=
++  fi
++fi
++
++if test -z "$AMDEP"; then
++  AMDEPBACKSLASH='\'
++else
++  AMDEPBACKSLASH=
++fi
++
++if test -d .deps || mkdir .deps 2> /dev/null || test -d .deps; then
++  DEPDIR=.deps
++else
++  DEPDIR=_deps
++fi
++
++ac_config_commands="$ac_config_commands default-2"
++
++# test to see if srcdir already configured
++if test "`CDPATH=:; cd $srcdir && pwd`" != "`pwd`" &&
++   test -f $srcdir/config.status; then
++  { echo "configure: error: source directory already configured; run \"make distclean\" there first" >&2; exit 1; }
++fi
++
++# Define the identity of the package.
++PACKAGE=heimdal
++VERSION=0.3e
++
++cat >>confdefs.h <<EOF
++#define PACKAGE "$PACKAGE"
++EOF
++
++cat >>confdefs.h <<EOF
++#define VERSION "$VERSION"
++EOF
++
++# Some tools Automake needs.
++
++ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal"}
++
++AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
++
++AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake"}
++
++AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
++
++MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
++
++AMTAR=${AMTAR-"${am_missing_run}tar"}
++
++if test -z "$install_sh"; then
++   install_sh="$ac_aux_dir/install-sh"
++   test -f "$install_sh" || install_sh="$ac_aux_dir/install.sh"
++   test -f "$install_sh" || install_sh="${am_missing_run}${ac_auxdir}/install-sh"
++         install_sh="`echo $install_sh | sed -e 's/\${SHELL}//'`"
++fi
++
++# We need awk for the "check" target.  The system "awk" is bad on
++# some platforms.
++
++depcc="$CC"
++depcpp="$CPP"
++echo "configure:2424: checking dependency style of $depcc" >&5
++echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
++if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++
++if test -z "$AMDEP"; then
++  echo '#include "conftest.h"' > conftest.c
++  echo 'int i;' > conftest.h
++
++  am_cv_CC_dependencies_compiler_type=none
++  for depmode in `sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < "$am_depcomp"`; do
++    case "$depmode" in
++    nosideeffect)
++      # after this tag, mechanisms are not by side-effect, so they'll
++      # only be used when explicitly requested
++      if test "x$enable_dependency_tracking" = xyes; then
++	continue
++      else
++	break
++      fi
++      ;;
++    none) break ;;
++    esac
++    # We check with `-c' and `-o' for the sake of the "dashmstdout"
++    # mode.  It turns out that the SunPro C++ compiler does not properly
++    # handle `-M -o', and we need to detect this.
++    if depmode="$depmode" \
++       source=conftest.c object=conftest.o \
++       depfile=conftest.Po tmpdepfile=conftest.TPo \
++       $SHELL $am_depcomp $depcc -c conftest.c -o conftest.o 2>/dev/null &&
++       grep conftest.h conftest.Po > /dev/null 2>&1; then
++      am_cv_CC_dependencies_compiler_type="$depmode"
++      break
++    fi
++  done
++
++  rm -f conftest.*
++else
++  am_cv_CC_dependencies_compiler_type=none
++fi
++
++fi
++
++echo "configure:2468: result: $am_cv_CC_dependencies_compiler_type" >&5
++echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
++CCDEPMODE="depmode=$am_cv_CC_dependencies_compiler_type"
++
++# Make sure we can run config.sub.
++$ac_config_sub sun4 >/dev/null 2>&1 ||
++  { echo "configure: error: cannot run $ac_config_sub" >&2; exit 1; }
++
++echo "configure:2476: checking build system type" >&5
++echo $ECHO_N "checking build system type... $ECHO_C" >&6
++if test "${ac_cv_build+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_cv_build_alias=$build_alias
++test -z "$ac_cv_build_alias" &&
++  ac_cv_build_alias=`$ac_config_guess`
++test -z "$ac_cv_build_alias" &&
++  { echo "configure: error: cannot guess build type; you must specify one" >&2; exit 1; }
++ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || exit 1
++
++fi
++echo "configure:2489: result: $ac_cv_build" >&5
++echo "${ECHO_T}$ac_cv_build" >&6
++build=$ac_cv_build
++build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
++build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
++build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
++
++echo "configure:2496: checking host system type" >&5
++echo $ECHO_N "checking host system type... $ECHO_C" >&6
++if test "${ac_cv_host+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_cv_host_alias=$host_alias
++test -z "$ac_cv_host_alias" &&
++  ac_cv_host_alias=$ac_cv_build_alias
++ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || exit 1
++
++fi
++echo "configure:2507: result: $ac_cv_host" >&5
++echo "${ECHO_T}$ac_cv_host" >&6
++host=$ac_cv_host
++host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
++host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
++host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
++
++CANONICAL_HOST=$host
++
++sunos=no
++case "$host" in
++*-*-sunos4*)
++	sunos=40
++	;;
++*-*-solaris2.7)
++	sunos=57
++	;;
++*-*-solaris2.8)
++	sunos=58
++	;;
++*-*-solaris2*)
++	sunos=50
++	;;
++esac
++if test "$sunos" != no; then
++	
++cat >>confdefs.h <<EOF
++#define SunOS $sunos
++EOF
++
++fi
++
++aix=no
++case "$host" in
++*-*-aix3*)
++	aix=3
++	;;
++*-*-aix4*)
++	aix=4
++	;;
++esac
++
++#test -z "$CFLAGS" && CFLAGS="-g"
++
++for ac_prog in 'bison -y' byacc
++do
++  # Extract the first word of "$ac_prog", so it can be a program name with args.
++set dummy $ac_prog; ac_word=$2
++echo "configure:2555: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_YACC+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$YACC"; then
++  ac_cv_prog_YACC="$YACC" # Let the user override the test.
++else
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
++  IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_YACC="$ac_prog"
++break
++done
++
++fi
++fi
++YACC=$ac_cv_prog_YACC
++if test -n "$YACC"; then
++  echo "configure:2577: result: $YACC" >&5
++echo "${ECHO_T}$YACC" >&6
++else
++  echo "configure:2580: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  test -n "$YACC" && break
++done
++test -n "$YACC" || YACC="yacc"
++
++for ac_prog in flex lex
++do
++  # Extract the first word of "$ac_prog", so it can be a program name with args.
++set dummy $ac_prog; ac_word=$2
++echo "configure:2592: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_LEX+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$LEX"; then
++  ac_cv_prog_LEX="$LEX" # Let the user override the test.
++else
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
++  IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_LEX="$ac_prog"
++break
++done
++
++fi
++fi
++LEX=$ac_cv_prog_LEX
++if test -n "$LEX"; then
++  echo "configure:2614: result: $LEX" >&5
++echo "${ECHO_T}$LEX" >&6
++else
++  echo "configure:2617: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  test -n "$LEX" && break
++done
++test -n "$LEX" || LEX="${am_missing_run}flex"
++
++for ac_prog in flex lex
++do
++  # Extract the first word of "$ac_prog", so it can be a program name with args.
++set dummy $ac_prog; ac_word=$2
++echo "configure:2629: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_LEX+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$LEX"; then
++  ac_cv_prog_LEX="$LEX" # Let the user override the test.
++else
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
++  IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_LEX="$ac_prog"
++break
++done
++
++fi
++fi
++LEX=$ac_cv_prog_LEX
++if test -n "$LEX"; then
++  echo "configure:2651: result: $LEX" >&5
++echo "${ECHO_T}$LEX" >&6
++else
++  echo "configure:2654: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  test -n "$LEX" && break
++done
++test -n "$LEX" || LEX=":"
++
++if test -z "$LEXLIB"
++then
++
++echo "configure:2665: checking for yywrap in -lfl" >&5
++echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
++if test "${ac_cv_lib_fl_yywrap+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-lfl  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line 2673 "configure"
++#include "confdefs.h"
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char yywrap ();
++int
++main ()
++{
++yywrap ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:2692: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  ac_cv_lib_fl_yywrap=yes
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_lib_fl_yywrap=no
++fi
++rm -f conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "configure:2702: result: $ac_cv_lib_fl_yywrap" >&5
++echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
++if test $ac_cv_lib_fl_yywrap = yes; then
++  LEXLIB="-lfl"
++else
++
++echo "configure:2708: checking for yywrap in -ll" >&5
++echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
++if test "${ac_cv_lib_l_yywrap+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ll  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line 2716 "configure"
++#include "confdefs.h"
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char yywrap ();
++int
++main ()
++{
++yywrap ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:2735: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  ac_cv_lib_l_yywrap=yes
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_lib_l_yywrap=no
++fi
++rm -f conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "configure:2745: result: $ac_cv_lib_l_yywrap" >&5
+ echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
+ if test $ac_cv_lib_l_yywrap = yes; then
+   LEXLIB="-ll"
+ fi
+ 
+-fi
++fi
++
++fi
++
++if test "x$LEX" != "x:"; then
++  echo "configure:2756: checking lex output file root" >&5
++echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
++if test "${ac_cv_prog_lex_root+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  # The minimal lex program is just a single line: %%.  But some broken lexes
++# (Solaris, I think it was) want two %% lines, so accommodate them.
++echo '%%
++%%' | $LEX
++if test -f lex.yy.c; then
++  ac_cv_prog_lex_root=lex.yy
++elif test -f lexyy.c; then
++  ac_cv_prog_lex_root=lexyy
++else
++  { echo "configure: error: cannot find output from $LEX; giving up" >&2; exit 1; }
++fi
++fi
++echo "configure:2773: result: $ac_cv_prog_lex_root" >&5
++echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
++LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
++
++echo "configure:2777: checking whether yytext is a pointer" >&5
++echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
++if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  # POSIX says lex can declare yytext either as a pointer or an array; the
++# default is implementation-dependent. Figure out which it is, since
++# not all implementations provide the %pointer and %array declarations.
++ac_cv_prog_lex_yytext_pointer=no
++echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
++ac_save_LIBS=$LIBS
++LIBS="$LIBS $LEXLIB"
++cat >conftest.$ac_ext <<_ACEOF
++`cat $LEX_OUTPUT_ROOT.c`
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:2793: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  ac_cv_prog_lex_yytext_pointer=yes
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++fi
++rm -f conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_save_LIBS
++rm -f "${LEX_OUTPUT_ROOT}.c"
++
++fi
++echo "configure:2804: result: $ac_cv_prog_lex_yytext_pointer" >&5
++echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
++if test $ac_cv_prog_lex_yytext_pointer = yes; then
++
++cat >>confdefs.h <<\EOF
++#define YYTEXT_POINTER 1
++EOF
++
++fi
++
++fi
++
++if test -n "$ac_tool_prefix"; then
++  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
++set dummy ${ac_tool_prefix}ranlib; ac_word=$2
++echo "configure:2819: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_RANLIB+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$RANLIB"; then
++  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
++else
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
++  IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
++break
++done
++
++fi
++fi
++RANLIB=$ac_cv_prog_RANLIB
++if test -n "$RANLIB"; then
++  echo "configure:2841: result: $RANLIB" >&5
++echo "${ECHO_T}$RANLIB" >&6
++else
++  echo "configure:2844: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++fi
++if test -z "$ac_cv_prog_RANLIB"; then
++  ac_ct_RANLIB=$RANLIB
++  # Extract the first word of "ranlib", so it can be a program name with args.
++set dummy ranlib; ac_word=$2
++echo "configure:2853: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$ac_ct_RANLIB"; then
++  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
++else
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
++  IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_ac_ct_RANLIB="ranlib"
++break
++done
++
++  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
++fi
++fi
++ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
++if test -n "$ac_ct_RANLIB"; then
++  echo "configure:2876: result: $ac_ct_RANLIB" >&5
++echo "${ECHO_T}$ac_ct_RANLIB" >&6
++else
++  echo "configure:2879: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  RANLIB=$ac_ct_RANLIB
++fi
++
++for ac_prog in mawk gawk nawk awk
++do
++  # Extract the first word of "$ac_prog", so it can be a program name with args.
++set dummy $ac_prog; ac_word=$2
++echo "configure:2890: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_AWK+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$AWK"; then
++  ac_cv_prog_AWK="$AWK" # Let the user override the test.
++else
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
++  IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_AWK="$ac_prog"
++break
++done
++
++fi
++fi
++AWK=$ac_cv_prog_AWK
++if test -n "$AWK"; then
++  echo "configure:2912: result: $AWK" >&5
++echo "${ECHO_T}$AWK" >&6
++else
++  echo "configure:2915: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  test -n "$AWK" && break
++done
++
++echo "configure:2922: checking for ln -s or something else" >&5
++echo $ECHO_N "checking for ln -s or something else... $ECHO_C" >&6
++if test "${ac_cv_prog_LN_S+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  rm -f conftestdata
++if ln -s X conftestdata 2>/dev/null
++then
++  rm -f conftestdata
++  ac_cv_prog_LN_S="ln -s"
++else
++  touch conftestdata1
++  if ln conftestdata1 conftestdata2; then
++    rm -f conftestdata*
++    ac_cv_prog_LN_S=ln
++  else
++    ac_cv_prog_LN_S=cp
++  fi
++fi
++fi
++LN_S="$ac_cv_prog_LN_S"
++echo "configure:2943: result: $ac_cv_prog_LN_S" >&5
++echo "${ECHO_T}$ac_cv_prog_LN_S" >&6
++
++# Check whether --with-mips_abi or --without-mips_abi was given.
++if test "${with_mips_abi+set}" = set; then
++  withval="$with_mips_abi"
++
++fi;
++
++case "$host_os" in
++irix*)
++with_mips_abi="${with_mips_abi:-yes}"
++if test -n "$GCC"; then
++
++# GCC < 2.8 only supports the O32 ABI. GCC >= 2.8 has a flag to select
++# which ABI to use, but only supports (as of 2.8.1) the N32 and 64 ABIs.
++#
++# Default to N32, but if GCC doesn't grok -mabi=n32, we assume an old
++# GCC and revert back to O32. The same goes if O32 is asked for - old
++# GCCs doesn't like the -mabi option, and new GCCs can't output O32.
++#
++# Don't you just love *all* the different SGI ABIs?
++
++case "${with_mips_abi}" in
++        32|o32) abi='-mabi=32';  abilibdirext=''     ;;
++       n32|yes) abi='-mabi=n32'; abilibdirext='32'  ;;
++        64) abi='-mabi=64';  abilibdirext='64'   ;;
++	no) abi=''; abilibdirext='';;
++         *) { echo "configure: error: \"Invalid ABI specified\"" >&2; exit 1; } ;;
++esac
++if test -n "$abi" ; then
++ac_foo=krb_cv_gcc_`echo $abi | tr =- __`
++echo "configure:2975: checking if $CC supports the $abi option" >&5
++echo $ECHO_N "checking if $CC supports the $abi option... $ECHO_C" >&6
++if eval "test \"\${$ac_foo+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++
++save_CFLAGS="$CFLAGS"
++CFLAGS="$CFLAGS $abi"
++cat >conftest.$ac_ext <<_ACEOF
++#line 2984 "configure"
++#include "confdefs.h"
++
++int
++main ()
++{
++int x;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:2996: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++  eval $ac_foo=yes
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval $ac_foo=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++CFLAGS="$save_CFLAGS"
++
++fi
++
++ac_res=`eval echo \\\$$ac_foo`
++echo "configure:3009: result: $ac_res" >&5
++echo "${ECHO_T}$ac_res" >&6
++if test $ac_res = no; then
++# Try to figure out why that failed...
++case $abi in
++	-mabi=32)
++	save_CFLAGS="$CFLAGS"
++	CFLAGS="$CFLAGS -mabi=n32"
++	cat >conftest.$ac_ext <<_ACEOF
++#line 3018 "configure"
++#include "confdefs.h"
++
++int
++main ()
++{
++int x;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:3030: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++  ac_res=yes
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_res=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++	CLAGS="$save_CFLAGS"
++	if test $ac_res = yes; then
++		# New GCC
++		{ echo "configure: error: $CC does not support the $with_mips_abi ABI" >&2; exit 1; }
++	fi
++	# Old GCC
++	abi=''
++	abilibdirext=''
++	;;
++	-mabi=n32|-mabi=64)
++		if test $with_mips_abi = yes; then
++			# Old GCC, default to O32
++			abi=''
++			abilibdirext=''
++		else
++			# Some broken GCC
++			{ echo "configure: error: $CC does not support the $with_mips_abi ABI" >&2; exit 1; }
++		fi
++	;;
++esac
++fi #if test $ac_res = no; then
++fi #if test -n "$abi" ; then
++else
++case "${with_mips_abi}" in
++        32|o32) abi='-32'; abilibdirext=''     ;;
++       n32|yes) abi='-n32'; abilibdirext='32'  ;;
++        64) abi='-64'; abilibdirext='64'   ;;
++	no) abi=''; abilibdirext='';;
++         *) { echo "configure: error: \"Invalid ABI specified\"" >&2; exit 1; } ;;
++esac
++fi #if test -n "$GCC"; then
++;;
++esac
++
++CC="$CC $abi"
++libdir="$libdir$abilibdirext"
++
++echo "configure:3075: checking for __attribute__" >&5
++echo $ECHO_N "checking for __attribute__... $ECHO_C" >&6
++if test "${ac_cv___attribute__+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++
++cat >conftest.$ac_ext <<_ACEOF
++#line 3082 "configure"
++#include "confdefs.h"
++
++#include <stdlib.h>
++
++int
++main ()
++{
++
++static void foo(void) __attribute__ ((noreturn));
++
++static void
++foo(void)
++{
++  exit(1);
++}
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:3104: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++  ac_cv___attribute__=yes
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv___attribute__=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++
++if test "$ac_cv___attribute__" = "yes"; then
++
++cat >>confdefs.h <<\EOF
++#define HAVE___ATTRIBUTE__ 1
++EOF
++
++fi
++echo "configure:3121: result: $ac_cv___attribute__" >&5
++echo "${ECHO_T}$ac_cv___attribute__" >&6
++
++# Check whether --enable-shared or --disable-shared was given.
++if test "${enable_shared+set}" = set; then
++  enableval="$enable_shared"
++  p=${PACKAGE-default}
++case $enableval in
++yes) enable_shared=yes ;;
++no) enable_shared=no ;;
++*)
++  enable_shared=no
++  # Look at the argument we got.  We use all the common list separators.
++  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
++  for pkg in $enableval; do
++    if test "X$pkg" = "X$p"; then
++      enable_shared=yes
++    fi
++  done
++  IFS="$ac_save_ifs"
++  ;;
++esac
++else
++  enable_shared=no
++fi;
++# Check whether --enable-static or --disable-static was given.
++if test "${enable_static+set}" = set; then
++  enableval="$enable_static"
++  p=${PACKAGE-default}
++case $enableval in
++yes) enable_static=yes ;;
++no) enable_static=no ;;
++*)
++  enable_static=no
++  # Look at the argument we got.  We use all the common list separators.
++  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
++  for pkg in $enableval; do
++    if test "X$pkg" = "X$p"; then
++      enable_static=yes
++    fi
++  done
++  IFS="$ac_save_ifs"
++  ;;
++esac
++else
++  enable_static=yes
++fi;
++# Check whether --enable-fast-install or --disable-fast-install was given.
++if test "${enable_fast_install+set}" = set; then
++  enableval="$enable_fast_install"
++  p=${PACKAGE-default}
++case $enableval in
++yes) enable_fast_install=yes ;;
++no) enable_fast_install=no ;;
++*)
++  enable_fast_install=no
++  # Look at the argument we got.  We use all the common list separators.
++  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
++  for pkg in $enableval; do
++    if test "X$pkg" = "X$p"; then
++      enable_fast_install=yes
++    fi
++  done
++  IFS="$ac_save_ifs"
++  ;;
++esac
++else
++  enable_fast_install=yes
++fi;
++
++# Check whether --with-gnu-ld or --without-gnu-ld was given.
++if test "${with_gnu_ld+set}" = set; then
++  withval="$with_gnu_ld"
++  test "$withval" = no || with_gnu_ld=yes
++else
++  with_gnu_ld=no
++fi;
++ac_prog=ld
++if test "$GCC" = yes; then
++  # Check if gcc -print-prog-name=ld gives a path.
++  echo "configure:3201: checking for ld used by GCC" >&5
++echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
++  case $host in
++  *-*-mingw*)
++    # gcc leaves a trailing carriage return which upsets mingw
++    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
++  *)
++    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
++  esac
++  case $ac_prog in
++    # Accept absolute paths.
++    [\\/]* | [A-Za-z]:[\\/]*)
++      re_direlt='/[^/][^/]*/\.\./'
++      # Canonicalize the path of ld
++      ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
++      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
++	ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
++      done
++      test -z "$LD" && LD="$ac_prog"
++      ;;
++  "")
++    # If it fails, then pretend we aren't using GCC.
++    ac_prog=ld
++    ;;
++  *)
++    # If it is relative, then search for the first ld in PATH.
++    with_gnu_ld=unknown
++    ;;
++  esac
++elif test "$with_gnu_ld" = yes; then
++  echo "configure:3231: checking for GNU ld" >&5
++echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
++else
++  echo "configure:3234: checking for non-GNU ld" >&5
++echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
++fi
++if test "${lt_cv_path_LD+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -z "$LD"; then
++  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
++  for ac_dir in $PATH; do
++    test -z "$ac_dir" && ac_dir=.
++    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
++      lt_cv_path_LD="$ac_dir/$ac_prog"
++      # Check to see if the program is GNU ld.  I'd rather use --version,
++      # but apparently some GNU ld's only accept -v.
++      # Break only if it was the GNU/non-GNU ld that we prefer.
++      if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
++	test "$with_gnu_ld" != no && break
++      else
++	test "$with_gnu_ld" != yes && break
++      fi
++    fi
++  done
++  IFS="$ac_save_ifs"
++else
++  lt_cv_path_LD="$LD" # Let the user override the test with a path.
++fi
++fi
++
++LD="$lt_cv_path_LD"
++if test -n "$LD"; then
++  echo "configure:3264: result: $LD" >&5
++echo "${ECHO_T}$LD" >&6
++else
++  echo "configure:3267: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" >&2; exit 1; }
++echo "configure:3271: checking if the linker ($LD) is GNU ld" >&5
++echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
++if test "${lt_cv_prog_gnu_ld+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
++if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
++  lt_cv_prog_gnu_ld=yes
++else
++  lt_cv_prog_gnu_ld=no
++fi
++fi
++echo "configure:3283: result: $lt_cv_prog_gnu_ld" >&5
++echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
++with_gnu_ld=$lt_cv_prog_gnu_ld
++
++echo "configure:3287: checking for $LD option to reload object files" >&5
++echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
++if test "${lt_cv_ld_reload_flag+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  lt_cv_ld_reload_flag='-r'
++fi
++echo "configure:3294: result: $lt_cv_ld_reload_flag" >&5
++echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
++reload_flag=$lt_cv_ld_reload_flag
++test -n "$reload_flag" && reload_flag=" $reload_flag"
++
++echo "configure:3299: checking for BSD-compatible nm" >&5
++echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
++if test "${lt_cv_path_NM+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$NM"; then
++  # Let the user override the test.
++  lt_cv_path_NM="$NM"
++else
++  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
++  for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
++    test -z "$ac_dir" && ac_dir=.
++    tmp_nm=$ac_dir/${ac_tool_prefix}nm
++    if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
++      # Check to see if the nm accepts a BSD-compat flag.
++      # Adding the `sed 1q' prevents false positives on HP-UX, which says:
++      #   nm: unknown option "B" ignored
++      # Tru64's nm complains that /dev/null is an invalid object file
++      if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
++	lt_cv_path_NM="$tmp_nm -B"
++	break
++      elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
++	lt_cv_path_NM="$tmp_nm -p"
++	break
++      else
++	lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
++	continue # so that we can try to find one that supports BSD flags
++      fi
++    fi
++  done
++  IFS="$ac_save_ifs"
++  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
++fi
++fi
++
++NM="$lt_cv_path_NM"
++echo "configure:3335: result: $NM" >&5
++echo "${ECHO_T}$NM" >&6
++
++echo "configure:3338: checking whether ln -s works" >&5
++echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
++if test "${ac_cv_prog_LN_S+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  rm -f conftest.sym conftest.file
++echo >conftest.file
++if ln -s conftest.file conftest.sym 2>/dev/null; then
++  ac_cv_prog_LN_S="ln -s"
++elif ln conftest.file conftest.sym 2>/dev/null; then
++  ac_cv_prog_LN_S=ln
++else
++  ac_cv_prog_LN_S=cp
++fi
++rm -f conftest.sym conftest.file
++fi
++LN_S=$ac_cv_prog_LN_S
++
++if test "$ac_cv_prog_LN_S" = "ln -s"; then
++  echo "configure:3357: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++else
++  echo "configure:3360: result: no, using $LN_S" >&5
++echo "${ECHO_T}no, using $LN_S" >&6
++fi
++
++echo "configure:3364: checking how to recognise dependant libraries" >&5
++echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
++if test "${lt_cv_deplibs_check_method+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  lt_cv_file_magic_cmd='$MAGIC_CMD'
++lt_cv_file_magic_test_file=
++lt_cv_deplibs_check_method='unknown'
++# Need to set the preceding variable on all platforms that support
++# interlibrary dependencies.
++# 'none' -- dependencies not supported.
++# `unknown' -- same as none, but documents that we really don't know.
++# 'pass_all' -- all dependencies passed with no checks.
++# 'test_compile' -- check by making test program.
++# ['file_magic [regex]'] -- check by looking for files in library path
++# which responds to the $file_magic_cmd with a given egrep regex.
++# If you have `file' or equivalent on your system and you're not sure
++# whether `pass_all' will *always* work, you probably want this one.
++
++case $host_os in
++aix4* | aix5*)
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++
++beos*)
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++
++bsdi4*)
++  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
++  lt_cv_file_magic_cmd='/usr/bin/file -L'
++  lt_cv_file_magic_test_file=/shlib/libc.so
++  ;;
++
++cygwin* | mingw* | pw32*)
++  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
++  lt_cv_file_magic_cmd='$OBJDUMP -f'
++  ;;
++
++darwin* | rhapsody*)
++  lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
++  lt_cv_file_magic_cmd='/usr/bin/file -L'
++  case "$host_os" in
++  rhapsody* | darwin1.012)
++    lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1`
++    ;;
++  *) # Darwin 1.3 on
++    lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
++    ;;
++  esac
++  ;;
++
++freebsd*)
++  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
++    case $host_cpu in
++    i*86 )
++      # Not sure whether the presence of OpenBSD here was a mistake.
++      # Let's accept both of them until this is cleared up.
++      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
++      lt_cv_file_magic_cmd=/usr/bin/file
++      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
++      ;;
++    esac
++  else
++    lt_cv_deplibs_check_method=pass_all
++  fi
++  ;;
++
++gnu*)
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++
++hpux10.20*|hpux11*)
++  lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
++  lt_cv_file_magic_cmd=/usr/bin/file
++  lt_cv_file_magic_test_file=/usr/lib/libc.sl
++  ;;
++
++irix5* | irix6*)
++  case $host_os in
++  irix5*)
++    # this will be overridden with pass_all, but let us keep it just in case
++    lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
++    ;;
++  *)
++    case $LD in
++    *-32|*"-32 ") libmagic=32-bit;;
++    *-n32|*"-n32 ") libmagic=N32;;
++    *-64|*"-64 ") libmagic=64-bit;;
++    *) libmagic=never-match;;
++    esac
++    # this will be overridden with pass_all, but let us keep it just in case
++    lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
++    ;;
++  esac
++  lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++
++# This must be Linux ELF.
++linux-gnu*)
++  case $host_cpu in
++  alpha* | i*86 | powerpc* | sparc* | ia64* )
++    lt_cv_deplibs_check_method=pass_all ;;
++  *)
++    # glibc up to 2.1.1 does not perform some relocations on ARM
++    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
++  esac
++  lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
++  ;;
++
++netbsd*)
++  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
++    lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
++  else
++    lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
++  fi
++  ;;
++
++newos6*)
++  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
++  lt_cv_file_magic_cmd=/usr/bin/file
++  lt_cv_file_magic_test_file=/usr/lib/libnls.so
++  ;;
++
++osf3* | osf4* | osf5*)
++  # this will be overridden with pass_all, but let us keep it just in case
++  lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
++  lt_cv_file_magic_test_file=/shlib/libc.so
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++
++sco3.2v5*)
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++
++solaris*)
++  lt_cv_deplibs_check_method=pass_all
++  lt_cv_file_magic_test_file=/lib/libc.so
++  ;;
++
++sysv5uw[78]* | sysv4*uw2*)
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++
++sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
++  case $host_vendor in
++  motorola)
++    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
++    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
++    ;;
++  ncr)
++    lt_cv_deplibs_check_method=pass_all
++    ;;
++  sequent)
++    lt_cv_file_magic_cmd='/bin/file'
++    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
++    ;;
++  sni)
++    lt_cv_file_magic_cmd='/bin/file'
++    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
++    lt_cv_file_magic_test_file=/lib/libc.so
++    ;;
++  esac
++  ;;
++esac
+ 
+ fi
++echo "configure:3532: result: $lt_cv_deplibs_check_method" >&5
++echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
++file_magic_cmd=$lt_cv_file_magic_cmd
++deplibs_check_method=$lt_cv_deplibs_check_method
+ 
+-if test "x$LEX" != "x:"; then
+-  echo "$as_me:2624: checking lex output file root" >&5
+-echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
+-if test "${ac_cv_prog_lex_root+set}" = set; then
++# Check for command to grab the raw symbol name followed by C symbol from nm.
++echo "configure:3538: checking command to parse $NM output" >&5
++echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6
++if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  # The minimal lex program is just a single line: %%.  But some broken lexes
+-# (Solaris, I think it was) want two %% lines, so accommodate them.
+-echo '%%
+-%%' | $LEX
+-if test -f lex.yy.c; then
+-  ac_cv_prog_lex_root=lex.yy
+-elif test -f lexyy.c; then
+-  ac_cv_prog_lex_root=lexyy
++
++# These are sane defaults that work on at least a few old systems.
++# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
++
++# Character class describing NM global symbol codes.
++symcode='[BCDEGRST]'
++
++# Regexp to match symbols that can be accessed directly from C.
++sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
++
++# Transform the above into a raw symbol and a C symbol.
++symxfrm='\1 \2\3 \3'
++
++# Transform an extracted symbol line into a proper C declaration
++lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'"
++
++# Define system-specific variables.
++case $host_os in
++aix*)
++  symcode='[BCDT]'
++  ;;
++cygwin* | mingw* | pw32*)
++  symcode='[ABCDGISTW]'
++  ;;
++hpux*) # Its linker distinguishes data from code symbols
++  lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
++  ;;
++irix*)
++  symcode='[BCDEGRST]'
++  ;;
++solaris* | sysv5*)
++  symcode='[BDT]'
++  ;;
++sysv4)
++  symcode='[DFNSTU]'
++  ;;
++esac
++
++# Handle CRLF in mingw tool chain
++opt_cr=
++case $host_os in
++mingw*)
++  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
++  ;;
++esac
++
++# If we're using GNU nm, then use its standard symbol codes.
++if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then
++  symcode='[ABCDGISTW]'
++fi
++
++# Try without a prefix undercore, then with it.
++for ac_symprfx in "" "_"; do
++
++  # Write the raw and C identifiers.
++lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
++
++  # Check to see that the pipe works correctly.
++  pipe_works=no
++  rm -f conftest*
++  cat > conftest.$ac_ext <<EOF
++#ifdef __cplusplus
++extern "C" {
++#endif
++char nm_test_var;
++void nm_test_func(){}
++#ifdef __cplusplus
++}
++#endif
++int main(){nm_test_var='a';nm_test_func();return(0);}
++EOF
++
++  if { (eval echo configure:3615: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++    # Now try to grab the symbols.
++    nlist=conftest.nm
++    if { (eval echo configure:3618: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\") >&5; (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5; } && test -s "$nlist"; then
++      # Try sorting and uniquifying the output.
++      if sort "$nlist" | uniq > "$nlist"T; then
++	mv -f "$nlist"T "$nlist"
++      else
++	rm -f "$nlist"T
++      fi
++
++      # Make sure that we snagged all the symbols we need.
++      if egrep ' nm_test_var$' "$nlist" >/dev/null; then
++	if egrep ' nm_test_func$' "$nlist" >/dev/null; then
++	  cat <<EOF > conftest.$ac_ext
++#ifdef __cplusplus
++extern "C" {
++#endif
++
++EOF
++	  # Now generate the symbol file.
++	  eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext'
++
++	  cat <<EOF >> conftest.$ac_ext
++#if defined (__STDC__) && __STDC__
++# define lt_ptr_t void *
++#else
++# define lt_ptr_t char *
++# define const
++#endif
++
++/* The mapping between symbol names and symbols. */
++const struct {
++  const char *name;
++  lt_ptr_t address;
++}
++lt_preloaded_symbols[] =
++{
++EOF
++	  sed "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" >> conftest.$ac_ext
++	  cat <<\EOF >> conftest.$ac_ext
++  {0, (lt_ptr_t) 0}
++};
++
++#ifdef __cplusplus
++}
++#endif
++EOF
++	  # Now try linking the two files.
++	  mv conftest.$ac_objext conftstm.$ac_objext
++	  save_LIBS="$LIBS"
++	  save_CFLAGS="$CFLAGS"
++	  LIBS="conftstm.$ac_objext"
++	  CFLAGS="$CFLAGS$no_builtin_flag"
++	  if { (eval echo configure:3669: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest; then
++	    pipe_works=yes
++	  fi
++	  LIBS="$save_LIBS"
++	  CFLAGS="$save_CFLAGS"
++	else
++	  echo "cannot find nm_test_func in $nlist" >&5
++	fi
++      else
++	echo "cannot find nm_test_var in $nlist" >&5
++      fi
++    else
++      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
++    fi
++  else
++    echo "$progname: failed program was:" >&5
++    cat conftest.$ac_ext >&5
++  fi
++  rm -f conftest* conftst*
++
++  # Do not use the global_symbol_pipe unless it works.
++  if test "$pipe_works" = yes; then
++    break
++  else
++    lt_cv_sys_global_symbol_pipe=
++  fi
++done
++
++fi
++
++global_symbol_pipe="$lt_cv_sys_global_symbol_pipe"
++if test -z "$lt_cv_sys_global_symbol_pipe"; then
++  global_symbol_to_cdecl=
+ else
+-  { { echo "$as_me:2638: error: cannot find output from $LEX; giving up" >&5
+-echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
+-   { (exit 1); exit 1; }; }
++  global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl"
+ fi
++if test -z "$global_symbol_pipe$global_symbol_to_cdecl"; then
++  echo "configure:3706: result: failed" >&5
++echo "${ECHO_T}failed" >&6
++else
++  echo "configure:3709: result: ok" >&5
++echo "${ECHO_T}ok" >&6
+ fi
+-echo "$as_me:2643: result: $ac_cv_prog_lex_root" >&5
+-echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
+-LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
+ 
+-echo "$as_me:2647: checking whether yytext is a pointer" >&5
+-echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
+-if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
++for ac_header in dlfcn.h
++do
++ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
++
++echo "configure:3717: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$ac_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  # POSIX says lex can declare yytext either as a pointer or an array; the
+-# default is implementation-dependent. Figure out which it is, since
+-# not all implementations provide the %pointer and %array declarations.
+-ac_cv_prog_lex_yytext_pointer=no
+-echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
+-ac_save_LIBS=$LIBS
+-LIBS="$LIBS $LEXLIB"
+-cat >conftest.$ac_ext <<_ACEOF
+-`cat $LEX_OUTPUT_ROOT.c`
++  cat >conftest.$ac_ext <<_ACEOF
++#line 3723 "configure"
++#include "confdefs.h"
++#include <$ac_header>
++
+ _ACEOF
+-rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:2663: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:2666: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:2668: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:2671: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  ac_cv_prog_lex_yytext_pointer=yes
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:3729: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  ac_cpp_err=yes
+ fi
+-rm -f conftest$ac_exeext conftest.$ac_ext
+-LIBS=$ac_save_LIBS
+-rm -f "${LEX_OUTPUT_ROOT}.c"
++
++if test -z "$ac_cpp_err"; then
++  eval "$ac_ac_Header=yes"
++else
++  cat conftest.err >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_Header=no"
++fi
++rm -f conftest*
+ 
+ fi
+-echo "$as_me:2683: result: $ac_cv_prog_lex_yytext_pointer" >&5
+-echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
+-if test $ac_cv_prog_lex_yytext_pointer = yes; then
++echo "configure:3750: result: `eval echo '${'$ac_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
++if test `eval echo '${'$ac_ac_Header'}'` = yes; then
++  cat >>confdefs.h <<EOF
++#define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
++EOF
++
++fi
++done
++
++# Only perform the check for file, if the check method requires it
++case $deplibs_check_method in
++file_magic*)
++  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
++    echo "configure:3764: checking for ${ac_tool_prefix}file" >&5
++echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
++if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  case $MAGIC_CMD in
++  /*)
++  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
++  ;;
++  ?:/*)
++  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
++  ;;
++  *)
++  ac_save_MAGIC_CMD="$MAGIC_CMD"
++  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
++  ac_dummy="/usr/bin:$PATH"
++  for ac_dir in $ac_dummy; do
++    test -z "$ac_dir" && ac_dir=.
++    if test -f $ac_dir/${ac_tool_prefix}file; then
++      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
++      if test -n "$file_magic_test_file"; then
++	case $deplibs_check_method in
++	"file_magic "*)
++	  file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
++	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
++	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
++	    egrep "$file_magic_regex" > /dev/null; then
++	    :
++	  else
++	    cat <<EOF 1>&2
++
++*** Warning: the command libtool uses to detect shared libraries,
++*** $file_magic_cmd, produces output that libtool cannot recognize.
++*** The result is that libtool may fail to recognize shared libraries
++*** as such.  This will affect the creation of libtool libraries that
++*** depend on shared libraries, but programs linked with such libtool
++*** libraries will work regardless of this problem.  Nevertheless, you
++*** may want to report the problem to your system manager and/or to
++*** bug-libtool@gnu.org
++
++EOF
++	  fi ;;
++	esac
++      fi
++      break
++    fi
++  done
++  IFS="$ac_save_ifs"
++  MAGIC_CMD="$ac_save_MAGIC_CMD"
++  ;;
++esac
++fi
++
++MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
++if test -n "$MAGIC_CMD"; then
++  echo "configure:3819: result: $MAGIC_CMD" >&5
++echo "${ECHO_T}$MAGIC_CMD" >&6
++else
++  echo "configure:3822: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++if test -z "$lt_cv_path_MAGIC_CMD"; then
++  if test -n "$ac_tool_prefix"; then
++    echo "configure:3828: checking for file" >&5
++echo $ECHO_N "checking for file... $ECHO_C" >&6
++if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  case $MAGIC_CMD in
++  /*)
++  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
++  ;;
++  ?:/*)
++  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
++  ;;
++  *)
++  ac_save_MAGIC_CMD="$MAGIC_CMD"
++  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
++  ac_dummy="/usr/bin:$PATH"
++  for ac_dir in $ac_dummy; do
++    test -z "$ac_dir" && ac_dir=.
++    if test -f $ac_dir/file; then
++      lt_cv_path_MAGIC_CMD="$ac_dir/file"
++      if test -n "$file_magic_test_file"; then
++	case $deplibs_check_method in
++	"file_magic "*)
++	  file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
++	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
++	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
++	    egrep "$file_magic_regex" > /dev/null; then
++	    :
++	  else
++	    cat <<EOF 1>&2
++
++*** Warning: the command libtool uses to detect shared libraries,
++*** $file_magic_cmd, produces output that libtool cannot recognize.
++*** The result is that libtool may fail to recognize shared libraries
++*** as such.  This will affect the creation of libtool libraries that
++*** depend on shared libraries, but programs linked with such libtool
++*** libraries will work regardless of this problem.  Nevertheless, you
++*** may want to report the problem to your system manager and/or to
++*** bug-libtool@gnu.org
+ 
+-cat >>confdefs.h <<\EOF
+-#define YYTEXT_POINTER 1
+ EOF
++	  fi ;;
++	esac
++      fi
++      break
++    fi
++  done
++  IFS="$ac_save_ifs"
++  MAGIC_CMD="$ac_save_MAGIC_CMD"
++  ;;
++esac
++fi
+ 
++MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
++if test -n "$MAGIC_CMD"; then
++  echo "configure:3883: result: $MAGIC_CMD" >&5
++echo "${ECHO_T}$MAGIC_CMD" >&6
++else
++  echo "configure:3886: result: no" >&5
++echo "${ECHO_T}no" >&6
+ fi
+ 
++  else
++    MAGIC_CMD=:
++  fi
+ fi
+ 
++  fi
++  ;;
++esac
++
+ if test -n "$ac_tool_prefix"; then
+   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
+ set dummy ${ac_tool_prefix}ranlib; ac_word=$2
+-echo "$as_me:2698: checking for $ac_word" >&5
++echo "configure:3902: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_RANLIB+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -2708,7 +3912,7 @@
+ for ac_dir in $ac_dummy; do
+   IFS=$ac_save_IFS
+   test -z "$ac_dir" && ac_dir=.
+-  $as_executable_p "$ac_dir/$ac_word" || continue
++  test -f "$ac_dir/$ac_word" || continue
+ ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
+ break
+ done
+@@ -2717,10 +3921,10 @@
+ fi
+ RANLIB=$ac_cv_prog_RANLIB
+ if test -n "$RANLIB"; then
+-  echo "$as_me:2720: result: $RANLIB" >&5
++  echo "configure:3924: result: $RANLIB" >&5
+ echo "${ECHO_T}$RANLIB" >&6
+ else
+-  echo "$as_me:2723: result: no" >&5
++  echo "configure:3927: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+@@ -2729,7 +3933,7 @@
+   ac_ct_RANLIB=$RANLIB
+   # Extract the first word of "ranlib", so it can be a program name with args.
+ set dummy ranlib; ac_word=$2
+-echo "$as_me:2732: checking for $ac_word" >&5
++echo "configure:3936: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -2742,7 +3946,7 @@
+ for ac_dir in $ac_dummy; do
+   IFS=$ac_save_IFS
+   test -z "$ac_dir" && ac_dir=.
+-  $as_executable_p "$ac_dir/$ac_word" || continue
++  test -f "$ac_dir/$ac_word" || continue
+ ac_cv_prog_ac_ct_RANLIB="ranlib"
+ break
+ done
+@@ -2752,1152 +3956,2868 @@
+ fi
+ ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
+ if test -n "$ac_ct_RANLIB"; then
+-  echo "$as_me:2755: result: $ac_ct_RANLIB" >&5
++  echo "configure:3959: result: $ac_ct_RANLIB" >&5
+ echo "${ECHO_T}$ac_ct_RANLIB" >&6
+ else
+-  echo "$as_me:2758: result: no" >&5
++  echo "configure:3962: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+   RANLIB=$ac_ct_RANLIB
++fi
++
++if test -n "$ac_tool_prefix"; then
++  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
++set dummy ${ac_tool_prefix}strip; ac_word=$2
++echo "configure:3972: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_STRIP+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$STRIP"; then
++  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
++else
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
++  IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_STRIP="${ac_tool_prefix}strip"
++break
++done
++
++fi
++fi
++STRIP=$ac_cv_prog_STRIP
++if test -n "$STRIP"; then
++  echo "configure:3994: result: $STRIP" >&5
++echo "${ECHO_T}$STRIP" >&6
+ else
+-  RANLIB="$ac_cv_prog_RANLIB"
++  echo "configure:3997: result: no" >&5
++echo "${ECHO_T}no" >&6
+ fi
+ 
+-for ac_prog in mawk gawk nawk awk
+-do
+-  # Extract the first word of "$ac_prog", so it can be a program name with args.
+-set dummy $ac_prog; ac_word=$2
+-echo "$as_me:2771: checking for $ac_word" >&5
++fi
++if test -z "$ac_cv_prog_STRIP"; then
++  ac_ct_STRIP=$STRIP
++  # Extract the first word of "strip", so it can be a program name with args.
++set dummy strip; ac_word=$2
++echo "configure:4006: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+-if test "${ac_cv_prog_AWK+set}" = set; then
++if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  if test -n "$AWK"; then
+-  ac_cv_prog_AWK="$AWK" # Let the user override the test.
++  if test -n "$ac_ct_STRIP"; then
++  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
+ else
+   ac_save_IFS=$IFS; IFS=':'
+ ac_dummy="$PATH"
+ for ac_dir in $ac_dummy; do
+   IFS=$ac_save_IFS
+   test -z "$ac_dir" && ac_dir=.
+-  $as_executable_p "$ac_dir/$ac_word" || continue
+-ac_cv_prog_AWK="$ac_prog"
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_ac_ct_STRIP="strip"
+ break
+ done
+ 
++  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
++fi
++fi
++ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
++if test -n "$ac_ct_STRIP"; then
++  echo "configure:4029: result: $ac_ct_STRIP" >&5
++echo "${ECHO_T}$ac_ct_STRIP" >&6
++else
++  echo "configure:4032: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  STRIP=$ac_ct_STRIP
++fi
++
++enable_dlopen=no
++enable_win32_dll=no
++
++# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
++if test "${enable_libtool_lock+set}" = set; then
++  enableval="$enable_libtool_lock"
++
++fi;
++test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
++
++# Some flags need to be propagated to the compiler or linker for good
++# libtool support.
++case $host in
++*-*-irix6*)
++  # Find out which ABI we are using.
++  echo '#line 4054 "configure"' > conftest.$ac_ext
++  if { (eval echo configure:4055: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++    case `/usr/bin/file conftest.$ac_objext` in
++    *32-bit*)
++      LD="${LD-ld} -32"
++      ;;
++    *N32*)
++      LD="${LD-ld} -n32"
++      ;;
++    *64-bit*)
++      LD="${LD-ld} -64"
++      ;;
++    esac
++  fi
++  rm -rf conftest*
++  ;;
++
++*-*-sco3.2v5*)
++  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
++  SAVE_CFLAGS="$CFLAGS"
++  CFLAGS="$CFLAGS -belf"
++  echo "configure:4075: checking whether the C compiler needs -belf" >&5
++echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
++if test "${lt_cv_cc_needs_belf+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++
++     ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='${CC-cc} -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++     cat >conftest.$ac_ext <<_ACEOF
++#line 4088 "configure"
++#include "confdefs.h"
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:4100: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  lt_cv_cc_needs_belf=yes
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  lt_cv_cc_needs_belf=no
++fi
++rm -f conftest$ac_exeext conftest.$ac_ext
++     ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='${CC-cc} -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++fi
++echo "configure:4115: result: $lt_cv_cc_needs_belf" >&5
++echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
++  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
++    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
++    CFLAGS="$SAVE_CFLAGS"
++  fi
++  ;;
++
++esac
++
++# Sed substitution that helps us do robust quoting.  It backslashifies
++# metacharacters that are still active within double-quoted strings.
++Xsed='sed -e s/^X//'
++sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
++
++# Same as above, but do not quote variable references.
++double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
++
++# Sed substitution to delay expansion of an escaped shell variable in a
++# double_quote_subst'ed string.
++delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
++
++# Constants:
++rm="rm -f"
++
++# Global variables:
++default_ofile=libtool
++can_build_shared=yes
++
++# All known linkers require a `.a' archive for static linking (except M$VC,
++# which needs '.lib').
++libext=a
++ltmain="$ac_aux_dir/ltmain.sh"
++ofile="$default_ofile"
++with_gnu_ld="$lt_cv_prog_gnu_ld"
++need_locks="$enable_libtool_lock"
++
++old_CC="$CC"
++old_CFLAGS="$CFLAGS"
++
++# Set sane defaults for various variables
++test -z "$AR" && AR=ar
++test -z "$AR_FLAGS" && AR_FLAGS=cru
++test -z "$AS" && AS=as
++test -z "$CC" && CC=cc
++test -z "$DLLTOOL" && DLLTOOL=dlltool
++test -z "$LD" && LD=ld
++test -z "$LN_S" && LN_S="ln -s"
++test -z "$MAGIC_CMD" && MAGIC_CMD=file
++test -z "$NM" && NM=nm
++test -z "$OBJDUMP" && OBJDUMP=objdump
++test -z "$RANLIB" && RANLIB=:
++test -z "$STRIP" && STRIP=:
++test -z "$ac_objext" && ac_objext=o
++
++if test x"$host" != x"$build"; then
++  ac_tool_prefix=${host_alias}-
++else
++  ac_tool_prefix=
++fi
++
++# Transform linux* to *-*-linux-gnu*, to support old configure scripts.
++case $host_os in
++linux-gnu*) ;;
++linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
++esac
++
++case $host_os in
++aix3*)
++  # AIX sometimes has problems with the GCC collect2 program.  For some
++  # reason, if we set the COLLECT_NAMES environment variable, the problems
++  # vanish in a puff of smoke.
++  if test "X${COLLECT_NAMES+set}" != Xset; then
++    COLLECT_NAMES=
++    export COLLECT_NAMES
++  fi
++  ;;
++esac
++
++# Determine commands to create old-style static archives.
++old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
++old_postinstall_cmds='chmod 644 $oldlib'
++old_postuninstall_cmds=
++
++if test -n "$RANLIB"; then
++  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
++  old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
++fi
++
++# Allow CC to be a program name with arguments.
++set dummy $CC
++compiler="$2"
++
++echo "configure:4208: checking for objdir" >&5
++echo $ECHO_N "checking for objdir... $ECHO_C" >&6
++rm -f .libs 2>/dev/null
++mkdir .libs 2>/dev/null
++if test -d .libs; then
++  objdir=.libs
++else
++  # MS-DOS does not allow filenames that begin with a dot.
++  objdir=_libs
++fi
++rmdir .libs 2>/dev/null
++echo "configure:4219: result: $objdir" >&5
++echo "${ECHO_T}$objdir" >&6
++
++# Check whether --with-pic or --without-pic was given.
++if test "${with_pic+set}" = set; then
++  withval="$with_pic"
++  pic_mode="$withval"
++else
++  pic_mode=default
++fi;
++test -z "$pic_mode" && pic_mode=default
++
++# We assume here that the value for lt_cv_prog_cc_pic will not be cached
++# in isolation, and that seeing it set (from the cache) indicates that
++# the associated values are set (in the cache) correctly too.
++echo "configure:4234: checking for $compiler option to produce PIC" >&5
++echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
++if test "${lt_cv_prog_cc_pic+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++   lt_cv_prog_cc_pic=
++  lt_cv_prog_cc_shlib=
++  lt_cv_prog_cc_wl=
++  lt_cv_prog_cc_static=
++  lt_cv_prog_cc_no_builtin=
++  lt_cv_prog_cc_can_build_shared=$can_build_shared
++
++  if test "$GCC" = yes; then
++    lt_cv_prog_cc_wl='-Wl,'
++    lt_cv_prog_cc_static='-static'
++
++    case $host_os in
++    aix*)
++      # Below there is a dirty hack to force normal static linking with -ldl
++      # The problem is because libdl dynamically linked with both libc and
++      # libC (AIX C++ library), which obviously doesn't included in libraries
++      # list by gcc. This cause undefined symbols with -static flags.
++      # This hack allows C programs to be linked with "-static -ldl", but
++      # we not sure about C++ programs.
++      lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC"
++      ;;
++    amigaos*)
++      # FIXME: we need at least 68020 code to build shared libraries, but
++      # adding the `-m68020' flag to GCC prevents building anything better,
++      # like `-m68040'.
++      lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4'
++      ;;
++    beos* | irix5* | irix6* | osf3* | osf4* | osf5*)
++      # PIC is the default for these OSes.
++      ;;
++    darwin* | rhapsody*)
++      # PIC is the default on this platform
++      # Common symbols not allowed in MH_DYLIB files
++      lt_cv_prog_cc_pic='-fno-common'
++      ;;
++    cygwin* | mingw* | pw32* | os2*)
++      # This hack is so that the source file can tell whether it is being
++      # built for inclusion in a dll (and should export symbols for example).
++      lt_cv_prog_cc_pic='-DDLL_EXPORT'
++      ;;
++    sysv4*MP*)
++      if test -d /usr/nec; then
++	 lt_cv_prog_cc_pic=-Kconform_pic
++      fi
++      ;;
++    *)
++      lt_cv_prog_cc_pic='-fPIC'
++      ;;
++    esac
++  else
++    # PORTME Check for PIC flags for the system compiler.
++    case $host_os in
++    aix3* | aix4* | aix5*)
++      # All AIX code is PIC.
++      if test "$host_cpu" = ia64; then
++        # AIX 5 now supports IA64 processor
++        lt_cv_prog_cc_static='-Bstatic'
++        lt_cv_prog_cc_wl='-Wl,'
++      else
++        lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp'
++      fi
++      ;;
++
++    hpux9* | hpux10* | hpux11*)
++      # Is there a better lt_cv_prog_cc_static that works with the bundled CC?
++      lt_cv_prog_cc_wl='-Wl,'
++      lt_cv_prog_cc_static="${lt_cv_prog_cc_wl}-a ${lt_cv_prog_cc_wl}archive"
++      lt_cv_prog_cc_pic='+Z'
++      ;;
++
++    irix5* | irix6*)
++      lt_cv_prog_cc_wl='-Wl,'
++      lt_cv_prog_cc_static='-non_shared'
++      # PIC (with -KPIC) is the default.
++      ;;
++
++    cygwin* | mingw* | pw32* | os2*)
++      # This hack is so that the source file can tell whether it is being
++      # built for inclusion in a dll (and should export symbols for example).
++      lt_cv_prog_cc_pic='-DDLL_EXPORT'
++      ;;
++
++    newsos6)
++      lt_cv_prog_cc_pic='-KPIC'
++      lt_cv_prog_cc_static='-Bstatic'
++      ;;
++
++    osf3* | osf4* | osf5*)
++      # All OSF/1 code is PIC.
++      lt_cv_prog_cc_wl='-Wl,'
++      lt_cv_prog_cc_static='-non_shared'
++      ;;
++
++    sco3.2v5*)
++      lt_cv_prog_cc_pic='-Kpic'
++      lt_cv_prog_cc_static='-dn'
++      lt_cv_prog_cc_shlib='-belf'
++      ;;
++
++    solaris*)
++      lt_cv_prog_cc_pic='-KPIC'
++      lt_cv_prog_cc_static='-Bstatic'
++      lt_cv_prog_cc_wl='-Wl,'
++      ;;
++
++    sunos4*)
++      lt_cv_prog_cc_pic='-PIC'
++      lt_cv_prog_cc_static='-Bstatic'
++      lt_cv_prog_cc_wl='-Qoption ld '
++      ;;
++
++    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
++      lt_cv_prog_cc_pic='-KPIC'
++      lt_cv_prog_cc_static='-Bstatic'
++      if test "x$host_vendor" = xsni; then
++        lt_cv_prog_cc_wl='-LD'
++      else
++        lt_cv_prog_cc_wl='-Wl,'
++      fi
++      ;;
++
++    uts4*)
++      lt_cv_prog_cc_pic='-pic'
++      lt_cv_prog_cc_static='-Bstatic'
++      ;;
++
++    sysv4*MP*)
++      if test -d /usr/nec ;then
++	lt_cv_prog_cc_pic='-Kconform_pic'
++	lt_cv_prog_cc_static='-Bstatic'
++      fi
++      ;;
++
++    *)
++      lt_cv_prog_cc_can_build_shared=no
++      ;;
++    esac
++  fi
++
++fi
++
++if test -z "$lt_cv_prog_cc_pic"; then
++  echo "configure:4381: result: none" >&5
++echo "${ECHO_T}none" >&6
++else
++  echo "configure:4384: result: $lt_cv_prog_cc_pic" >&5
++echo "${ECHO_T}$lt_cv_prog_cc_pic" >&6
++
++  # Check to make sure the pic_flag actually works.
++  echo "configure:4388: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5
++echo $ECHO_N "checking if $compiler PIC flag $lt_cv_prog_cc_pic works... $ECHO_C" >&6
++  if test "${lt_cv_prog_cc_pic_works+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++      save_CFLAGS="$CFLAGS"
++    CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"
++    cat >conftest.$ac_ext <<_ACEOF
++#line 4396 "configure"
++#include "confdefs.h"
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:4408: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++        case $host_os in
++      hpux9* | hpux10* | hpux11*)
++	# On HP-UX, both CC and GCC only warn that PIC is supported... then
++	# they create non-PIC objects.  So, if there were any warnings, we
++	# assume that PIC is not supported.
++	if test -s conftest.err; then
++	  lt_cv_prog_cc_pic_works=no
++	else
++	  lt_cv_prog_cc_pic_works=yes
++	fi
++	;;
++      *)
++	lt_cv_prog_cc_pic_works=yes
++	;;
++      esac
++
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++        lt_cv_prog_cc_pic_works=no
++
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++    CFLAGS="$save_CFLAGS"
++
++fi
++
++  if test "X$lt_cv_prog_cc_pic_works" = Xno; then
++    lt_cv_prog_cc_pic=
++    lt_cv_prog_cc_can_build_shared=no
++  else
++    lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic"
++  fi
++
++  echo "configure:4443: result: $lt_cv_prog_cc_pic_works" >&5
++echo "${ECHO_T}$lt_cv_prog_cc_pic_works" >&6
+ fi
++
++# Check for any special shared library compilation flags.
++if test -n "$lt_cv_prog_cc_shlib"; then
++  echo "configure: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&2
++  if echo "$old_CC $old_CFLAGS " | egrep -e "[ 	]$lt_cv_prog_cc_shlib[ 	]" >/dev/null; then :
++  else
++   echo "configure: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2
++    lt_cv_prog_cc_can_build_shared=no
++  fi
+ fi
+-AWK=$ac_cv_prog_AWK
+-if test -n "$AWK"; then
+-  echo "$as_me:2793: result: $AWK" >&5
+-echo "${ECHO_T}$AWK" >&6
++
++echo "configure:4457: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5
++echo $ECHO_N "checking if $compiler static flag $lt_cv_prog_cc_static works... $ECHO_C" >&6
++if test "${lt_cv_prog_cc_static_works+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  echo "$as_me:2796: result: no" >&5
+-echo "${ECHO_T}no" >&6
++    lt_cv_prog_cc_static_works=no
++  save_LDFLAGS="$LDFLAGS"
++  LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 4466 "configure"
++#include "confdefs.h"
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:4478: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  lt_cv_prog_cc_static_works=yes
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
++rm -f conftest$ac_exeext conftest.$ac_ext
++  LDFLAGS="$save_LDFLAGS"
+ 
+-  test -n "$AWK" && break
+-done
++fi
+ 
+-echo "$as_me:2803: checking for ln -s or something else" >&5
+-echo $ECHO_N "checking for ln -s or something else... $ECHO_C" >&6
+-if test "${ac_cv_prog_LN_S+set}" = set; then
++# Belt *and* braces to stop my trousers falling down:
++test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static=
++echo "configure:4491: result: $lt_cv_prog_cc_static_works" >&5
++echo "${ECHO_T}$lt_cv_prog_cc_static_works" >&6
++
++pic_flag="$lt_cv_prog_cc_pic"
++special_shlib_compile_flags="$lt_cv_prog_cc_shlib"
++wl="$lt_cv_prog_cc_wl"
++link_static_flag="$lt_cv_prog_cc_static"
++no_builtin_flag="$lt_cv_prog_cc_no_builtin"
++can_build_shared="$lt_cv_prog_cc_can_build_shared"
++
++# Check to see if options -o and -c are simultaneously supported by compiler
++echo "configure:4502: checking if $compiler supports -c -o file.$ac_objext" >&5
++echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
++if test "${lt_cv_compiler_c_o+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  rm -f conftestdata
+-if ln -s X conftestdata 2>/dev/null
+-then
+-  rm -f conftestdata
+-  ac_cv_prog_LN_S="ln -s"
+-else
+-  touch conftestdata1
+-  if ln conftestdata1 conftestdata2; then
+-    rm -f conftestdata*
+-    ac_cv_prog_LN_S=ln
++
++$rm -r conftest 2>/dev/null
++mkdir conftest
++cd conftest
++echo "int some_variable = 0;" > conftest.$ac_ext
++mkdir out
++# According to Tom Tromey, Ian Lance Taylor reported there are C compilers
++# that will create temporary files in the current directory regardless of
++# the output directory.  Thus, making CWD read-only will cause this test
++# to fail, enabling locking or at least warning the user not to do parallel
++# builds.
++chmod -w .
++save_CFLAGS="$CFLAGS"
++CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
++compiler_c_o=no
++if { (eval echo configure:4522: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
++  # The compiler can only warn and ignore the option if not recognized
++  # So say no if there are warnings
++  if test -s out/conftest.err; then
++    lt_cv_compiler_c_o=no
+   else
+-    ac_cv_prog_LN_S=cp
++    lt_cv_compiler_c_o=yes
+   fi
++else
++  # Append any errors to the config.log.
++  cat out/conftest.err 1>&5
++  lt_cv_compiler_c_o=no
+ fi
+-fi
+-LN_S="$ac_cv_prog_LN_S"
+-echo "$as_me:2824: result: $ac_cv_prog_LN_S" >&5
+-echo "${ECHO_T}$ac_cv_prog_LN_S" >&6
+-
+-# Check whether --with-mips_abi or --without-mips_abi was given.
+-if test "${with_mips_abi+set}" = set; then
+-  withval="$with_mips_abi"
+-
+-fi;
++CFLAGS="$save_CFLAGS"
++chmod u+w .
++$rm conftest* out/*
++rmdir out
++cd ..
++rmdir conftest
++$rm -r conftest 2>/dev/null
+ 
+-case "$host_os" in
+-irix*)
+-with_mips_abi="${with_mips_abi:-yes}"
+-if test -n "$GCC"; then
++fi
+ 
+-# GCC < 2.8 only supports the O32 ABI. GCC >= 2.8 has a flag to select
+-# which ABI to use, but only supports (as of 2.8.1) the N32 and 64 ABIs.
+-#
+-# Default to N32, but if GCC doesn't grok -mabi=n32, we assume an old
+-# GCC and revert back to O32. The same goes if O32 is asked for - old
+-# GCCs doesn't like the -mabi option, and new GCCs can't output O32.
+-#
+-# Don't you just love *all* the different SGI ABIs?
++compiler_c_o=$lt_cv_compiler_c_o
++echo "configure:4546: result: $compiler_c_o" >&5
++echo "${ECHO_T}$compiler_c_o" >&6
+ 
+-case "${with_mips_abi}" in
+-        32|o32) abi='-mabi=32';  abilibdirext=''     ;;
+-       n32|yes) abi='-mabi=n32'; abilibdirext='32'  ;;
+-        64) abi='-mabi=64';  abilibdirext='64'   ;;
+-	no) abi=''; abilibdirext='';;
+-         *) { { echo "$as_me:2852: error: \"Invalid ABI specified\"" >&5
+-echo "$as_me: error: \"Invalid ABI specified\"" >&2;}
+-   { (exit 1); exit 1; }; } ;;
+-esac
+-if test -n "$abi" ; then
+-ac_foo=krb_cv_gcc_`echo $abi | tr =- __`
+-echo "$as_me:2858: checking if $CC supports the $abi option" >&5
+-echo $ECHO_N "checking if $CC supports the $abi option... $ECHO_C" >&6
+-if eval "test \"\${$ac_foo+set}\" = set"; then
++if test x"$compiler_c_o" = x"yes"; then
++  # Check to see if we can write to a .lo
++  echo "configure:4551: checking if $compiler supports -c -o file.lo" >&5
++echo $ECHO_N "checking if $compiler supports -c -o file.lo... $ECHO_C" >&6
++  if test "${lt_cv_compiler_o_lo+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-save_CFLAGS="$CFLAGS"
+-CFLAGS="$CFLAGS $abi"
+-cat >conftest.$ac_ext <<_ACEOF
+-#line 2867 "configure"
++  lt_cv_compiler_o_lo=no
++  save_CFLAGS="$CFLAGS"
++  CFLAGS="$CFLAGS -c -o conftest.lo"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 4561 "configure"
+ #include "confdefs.h"
+ 
+ int
+ main ()
+ {
+-int x;
++int some_variable = 0;
+   ;
+   return 0;
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:2879: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:2882: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:2884: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:2887: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  eval $ac_foo=yes
++if { (eval echo configure:4573: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++      # The compiler can only warn and ignore the option if not recognized
++    # So say no if there are warnings
++    if test -s conftest.err; then
++      lt_cv_compiler_o_lo=no
++    else
++      lt_cv_compiler_o_lo=yes
++    fi
++
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval $ac_foo=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+-CFLAGS="$save_CFLAGS"
++  CFLAGS="$save_CFLAGS"
+ 
+ fi
+ 
+-ac_res=`eval echo \\\$$ac_foo`
+-echo "$as_me:2901: result: $ac_res" >&5
+-echo "${ECHO_T}$ac_res" >&6
+-if test $ac_res = no; then
+-# Try to figure out why that failed...
+-case $abi in
+-	-mabi=32)
+-	save_CFLAGS="$CFLAGS"
+-	CFLAGS="$CFLAGS -mabi=n32"
+-	cat >conftest.$ac_ext <<_ACEOF
+-#line 2910 "configure"
++  compiler_o_lo=$lt_cv_compiler_o_lo
++  echo "configure:4592: result: $compiler_c_lo" >&5
++echo "${ECHO_T}$compiler_c_lo" >&6
++else
++  compiler_o_lo=no
++fi
++
++# Check to see if we can do hard links to lock some files if needed
++hard_links="nottested"
++if test "$compiler_c_o" = no && test "$need_locks" != no; then
++  # do not overwrite the value of need_locks provided by the user
++  echo "configure:4602: checking if we can lock with hard links" >&5
++echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
++  hard_links=yes
++  $rm conftest*
++  ln conftest.a conftest.b 2>/dev/null && hard_links=no
++  touch conftest.a
++  ln conftest.a conftest.b 2>&5 || hard_links=no
++  ln conftest.a conftest.b 2>/dev/null && hard_links=no
++  echo "configure:4610: result: $hard_links" >&5
++echo "${ECHO_T}$hard_links" >&6
++  if test "$hard_links" = no; then
++    echo "configure: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2
++    need_locks=warn
++  fi
++else
++  need_locks=no
++fi
++
++if test "$GCC" = yes; then
++  # Check to see if options -fno-rtti -fno-exceptions are supported by compiler
++  echo "configure:4622: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
++echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
++  echo "int some_variable = 0;" > conftest.$ac_ext
++  save_CFLAGS="$CFLAGS"
++  CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"
++  compiler_rtti_exceptions=no
++  cat >conftest.$ac_ext <<_ACEOF
++#line 4629 "configure"
+ #include "confdefs.h"
+ 
+ int
+ main ()
+ {
+-int x;
++int some_variable = 0;
+   ;
+   return 0;
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:2922: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:2925: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:2927: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:2930: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  ac_res=yes
++if { (eval echo configure:4641: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++      # The compiler can only warn and ignore the option if not recognized
++    # So say no if there are warnings
++    if test -s conftest.err; then
++      compiler_rtti_exceptions=no
++    else
++      compiler_rtti_exceptions=yes
++    fi
++
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_res=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+-	CLAGS="$save_CFLAGS"
+-	if test $ac_res = yes; then
+-		# New GCC
+-		{ { echo "$as_me:2942: error: $CC does not support the $with_mips_abi ABI" >&5
+-echo "$as_me: error: $CC does not support the $with_mips_abi ABI" >&2;}
+-   { (exit 1); exit 1; }; }
+-	fi
+-	# Old GCC
+-	abi=''
+-	abilibdirext=''
+-	;;
+-	-mabi=n32|-mabi=64)
+-		if test $with_mips_abi = yes; then
+-			# Old GCC, default to O32
+-			abi=''
+-			abilibdirext=''
+-		else
+-			# Some broken GCC
+-			{ { echo "$as_me:2957: error: $CC does not support the $with_mips_abi ABI" >&5
+-echo "$as_me: error: $CC does not support the $with_mips_abi ABI" >&2;}
+-   { (exit 1); exit 1; }; }
+-		fi
+-	;;
+-esac
+-fi #if test $ac_res = no; then
+-fi #if test -n "$abi" ; then
+-else
+-case "${with_mips_abi}" in
+-        32|o32) abi='-32'; abilibdirext=''     ;;
+-       n32|yes) abi='-n32'; abilibdirext='32'  ;;
+-        64) abi='-64'; abilibdirext='64'   ;;
+-	no) abi=''; abilibdirext='';;
+-         *) { { echo "$as_me:2971: error: \"Invalid ABI specified\"" >&5
+-echo "$as_me: error: \"Invalid ABI specified\"" >&2;}
+-   { (exit 1); exit 1; }; } ;;
+-esac
+-fi #if test -n "$GCC"; then
+-;;
++  CFLAGS="$save_CFLAGS"
++  echo "configure:4656: result: $compiler_rtti_exceptions" >&5
++echo "${ECHO_T}$compiler_rtti_exceptions" >&6
++
++  if test "$compiler_rtti_exceptions" = "yes"; then
++    no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions'
++  else
++    no_builtin_flag=' -fno-builtin'
++  fi
++fi
++
++# See if the linker supports building shared libraries.
++echo "configure:4667: checking whether the linker ($LD) supports shared libraries" >&5
++echo $ECHO_N "checking whether the linker ($LD) supports shared libraries... $ECHO_C" >&6
++
++allow_undefined_flag=
++no_undefined_flag=
++need_lib_prefix=unknown
++need_version=unknown
++# when you set need_version to no, make sure it does not cause -set_version
++# flags to be left without arguments
++archive_cmds=
++archive_expsym_cmds=
++old_archive_from_new_cmds=
++old_archive_from_expsyms_cmds=
++export_dynamic_flag_spec=
++whole_archive_flag_spec=
++thread_safe_flag_spec=
++hardcode_into_libs=no
++hardcode_libdir_flag_spec=
++hardcode_libdir_separator=
++hardcode_direct=no
++hardcode_minus_L=no
++hardcode_shlibpath_var=unsupported
++runpath_var=
++link_all_deplibs=unknown
++always_export_symbols=no
++export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols'
++# include_expsyms should be a list of space-separated symbols to be *always*
++# included in the symbol list
++include_expsyms=
++# exclude_expsyms can be an egrep regular expression of symbols to exclude
++# it will be wrapped by ` (' and `)$', so one must not match beginning or
++# end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
++# as well as any symbol that contains `d'.
++exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
++# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
++# platforms (ab)use it in PIC code, but their linkers get confused if
++# the symbol is explicitly referenced.  Since portable code cannot
++# rely on this symbol name, it's probably fine to never include it in
++# preloaded symbol tables.
++extract_expsyms_cmds=
++
++case $host_os in
++cygwin* | mingw* | pw32* )
++  # FIXME: the MSVC++ port hasn't been tested in a loooong time
++  # When not using gcc, we currently assume that we are using
++  # Microsoft Visual C++.
++  if test "$GCC" != yes; then
++    with_gnu_ld=no
++  fi
++  ;;
++
+ esac
+ 
+-CC="$CC $abi"
+-libdir="$libdir$abilibdirext"
++ld_shlibs=yes
++if test "$with_gnu_ld" = yes; then
++  # If archive_cmds runs LD, not CC, wlarc should be empty
++  wlarc='${wl}'
++
++  # See if GNU ld supports shared libraries.
++  case $host_os in
++  aix3* | aix4* | aix5*)
++    # On AIX, the GNU linker is very broken
++    # Note:Check GNU linker on AIX 5-IA64 when/if it becomes available.
++    ld_shlibs=no
++    cat <<EOF 1>&2
++
++*** Warning: the GNU linker, at least up to release 2.9.1, is reported
++*** to be unable to reliably create shared libraries on AIX.
++*** Therefore, libtool is disabling shared libraries support.  If you
++*** really care for shared libraries, you may want to modify your PATH
++*** so that a non-GNU linker is found, and then restart.
+ 
+-echo "$as_me:2982: checking for __attribute__" >&5
+-echo $ECHO_N "checking for __attribute__... $ECHO_C" >&6
+-if test "${ac_cv___attribute__+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
++EOF
++    ;;
++
++  amigaos*)
++    archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
++    hardcode_libdir_flag_spec='-L$libdir'
++    hardcode_minus_L=yes
++
++    # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
++    # that the semantics of dynamic libraries on AmigaOS, at least up
++    # to version 4, is to share data among multiple programs linked
++    # with the same dynamic library.  Since this doesn't match the
++    # behavior of shared libraries on other platforms, we can use
++    # them.
++    ld_shlibs=no
++    ;;
++
++  beos*)
++    if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
++      allow_undefined_flag=unsupported
++      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
++      # support --undefined.  This deserves some investigation.  FIXME
++      archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++    else
++      ld_shlibs=no
++    fi
++    ;;
++
++  cygwin* | mingw* | pw32*)
++    # hardcode_libdir_flag_spec is actually meaningless, as there is
++    # no search path for DLLs.
++    hardcode_libdir_flag_spec='-L$libdir'
++    allow_undefined_flag=unsupported
++    always_export_symbols=yes
++
++    extract_expsyms_cmds='test -f $output_objdir/impgen.c || \
++      sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~
++      test -f $output_objdir/impgen.exe || (cd $output_objdir && \
++      if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \
++      else $CC -o impgen impgen.c ; fi)~
++      $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def'
++
++    old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib'
++
++    # cygwin and mingw dlls have different entry points and sets of symbols
++    # to exclude.
++    # FIXME: what about values for MSVC?
++    dll_entry=__cygwin_dll_entry@12
++    dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~
++    case $host_os in
++    mingw*)
++      # mingw values
++      dll_entry=_DllMainCRTStartup@12
++      dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~
++      ;;
++    esac
++
++    # mingw and cygwin differ, and it's simplest to just exclude the union
++    # of the two symbol sets.
++    dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12
++
++    # recent cygwin and mingw systems supply a stub DllMain which the user
++    # can override, but on older systems we have to supply one (in ltdll.c)
++    if test "x$lt_cv_need_dllmain" = "xyes"; then
++      ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext "
++      ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < [$]0 > $output_objdir/$soname-ltdll.c~
++	test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~'
++    else
++      ltdll_obj=
++      ltdll_cmds=
++    fi
++
++    # Extract the symbol export list from an `--export-all' def file,
++    # then regenerate the def file from the symbol export list, so that
++    # the compiled dll only exports the symbol export list.
++    # Be careful not to strip the DATA tag left be newer dlltools.
++    export_symbols_cmds="$ltdll_cmds"'
++      $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~
++      sed -e "1,/EXPORTS/d" -e "s/ @ [0-9]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols'
++
++    # If the export-symbols file already is a .def file (1st line
++    # is EXPORTS), use it as is.
++    # If DATA tags from a recent dlltool are present, honour them!
++    archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then
++        cp $export_symbols $output_objdir/$soname-def;
++      else
++        echo EXPORTS > $output_objdir/$soname-def;
++        _lt_hint=1;
++        cat $export_symbols | while read symbol; do
++         set dummy \$symbol;
++         case \$# in
++           2) echo "   \$2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
++           *) echo "     \$2 @ \$_lt_hint \$3 ; " >> $output_objdir/$soname-def;;
++         esac;
++         _lt_hint=`expr 1 + \$_lt_hint`;
++        done;
++      fi~
++      '"$ltdll_cmds"'
++      $CC -Wl,--base-file,$output_objdir/$soname-base '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
++      $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp~
++      $CC -Wl,--base-file,$output_objdir/$soname-base $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
++      $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp --output-lib $output_objdir/$libname.dll.a~
++      $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags'
++    ;;
++
++  netbsd*)
++    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++      archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
++      wlarc=
++    else
++      archive_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++      archive_expsym_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++    fi
++    ;;
++
++  solaris* | sysv5*)
++    if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then
++      ld_shlibs=no
++      cat <<EOF 1>&2
++
++*** Warning: The releases 2.8.* of the GNU linker cannot reliably
++*** create shared libraries on Solaris systems.  Therefore, libtool
++*** is disabling shared libraries support.  We urge you to upgrade GNU
++*** binutils to release 2.9.1 or newer.  Another option is to modify
++*** your PATH or compiler configuration so that the native linker is
++*** used, and then restart.
++
++EOF
++    elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
++      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++      archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++    else
++      ld_shlibs=no
++    fi
++    ;;
++
++  sunos4*)
++    archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++    wlarc=
++    hardcode_direct=yes
++    hardcode_shlibpath_var=no
++    ;;
++
++  *)
++    if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
++      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++      archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++    else
++      ld_shlibs=no
++    fi
++    ;;
++  esac
++
++  if test "$ld_shlibs" = yes; then
++    runpath_var=LD_RUN_PATH
++    hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
++    export_dynamic_flag_spec='${wl}--export-dynamic'
++    case $host_os in
++    cygwin* | mingw* | pw32*)
++      # dlltool doesn't understand --whole-archive et. al.
++      whole_archive_flag_spec=
++      ;;
++    *)
++      # ancient GNU ld didn't support --whole-archive et. al.
++      if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then
++	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
++      else
++	whole_archive_flag_spec=
++      fi
++      ;;
++    esac
++  fi
+ else
++  # PORTME fill in a description of your system's linker (not GNU ld)
++  case $host_os in
++  aix3*)
++    allow_undefined_flag=unsupported
++    always_export_symbols=yes
++    archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
++    # Note: this linker hardcodes the directories in LIBPATH if there
++    # are no directories specified by -L.
++    hardcode_minus_L=yes
++    if test "$GCC" = yes && test -z "$link_static_flag"; then
++      # Neither direct hardcoding nor static linking is supported with a
++      # broken collect2.
++      hardcode_direct=unsupported
++    fi
++    ;;
+ 
+-cat >conftest.$ac_ext <<_ACEOF
+-#line 2989 "configure"
+-#include "confdefs.h"
++  aix4* | aix5*)
++    # When large executables or shared objects are built, AIX ld can
++    # have problems creating the table of contents.  If linking a library
++    # or program results in "error TOC overflow" add -mminimal-toc to
++    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
++    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
++
++    archive_cmds=''
++    hardcode_libdir_separator=':'
++    if test "$GCC" = yes; then
++      collect2name=`${CC} -print-prog-name=collect2`
++      if test -f "$collect2name" && \
++	 strings "$collect2name" | grep resolve_lib_name >/dev/null
++      then
++	# We have reworked collect2
++	hardcode_direct=yes
++      else
++        # We have old collect2
++        hardcode_direct=unsupported
++        # It fails to find uninstalled libraries when the uninstalled
++        # path is not listed in the libpath.  Setting hardcode_minus_L
++        # to unsupported forces relinking
++        hardcode_minus_L=yes
++        hardcode_libdir_flag_spec='-L$libdir'
++        hardcode_libdir_separator=
++      fi
++      shared_flag='-shared'
++    else
++      if test "$host_cpu" = ia64; then
++        shared_flag='-G'
++      else
++        shared_flag='${wl}-bM:SRE'
++      fi
++      hardcode_direct=yes
++    fi
+ 
+-#include <stdlib.h>
++    if test "$host_cpu" = ia64; then
++      # On IA64, the linker does run time linking by default, so we don't
++      # have to do anything special.
++      aix_use_runtimelinking=no
++      exp_sym_flag='-Bexport'
++      no_entry_flag=""
++    else
++      # Test if we are trying to use run time linking, or normal AIX style linking.
++      # If -brtl is somewhere in LDFLAGS, we need to do run time linking.
++      aix_use_runtimelinking=no
++      for ld_flag in $LDFLAGS; do
++        if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl" ); then
++          aix_use_runtimelinking=yes
++          break
++        fi
++      done
++      exp_sym_flag='-bexport'
++      no_entry_flag='-bnoentry'
++    fi
++    # It seems that -bexpall can do strange things, so it is better to
++    # generate a list of symbols to export.
++    always_export_symbols=yes
++    if test "$aix_use_runtimelinking" = yes; then
++      hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib'
++      allow_undefined_flag=' -Wl,-G'
++      archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
++    else
++      if test "$host_cpu" = ia64; then
++        hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
++       allow_undefined_flag="-znodefs"
++        archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
++      else
++        hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib'
++        # Warning - without using the other run time loading flags, -berok will
++        #           link without error, but may produce a broken library.
++        allow_undefined_flag='${wl}-berok"
++        # This is a bit strange, but is similar to how AIX traditionally builds
++        # it's shared libraries.
++        archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $objdir/$libname$release.a $objdir/$soname'
++      fi
++    fi
++    ;;
+ 
+-int
+-main ()
+-{
++  amigaos*)
++    archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
++    hardcode_libdir_flag_spec='-L$libdir'
++    hardcode_minus_L=yes
++    # see comment about different semantics on the GNU ld section
++    ld_shlibs=no
++    ;;
++
++  cygwin* | mingw* | pw32*)
++    # When not using gcc, we currently assume that we are using
++    # Microsoft Visual C++.
++    # hardcode_libdir_flag_spec is actually meaningless, as there is
++    # no search path for DLLs.
++    hardcode_libdir_flag_spec=' '
++    allow_undefined_flag=unsupported
++    # Tell ltmain to make .lib files, not .a files.
++    libext=lib
++    # FIXME: Setting linknames here is a bad hack.
++    archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames='
++    # The linker will automatically build a .lib file if we build a DLL.
++    old_archive_from_new_cmds='true'
++    # FIXME: Should let the user specify the lib program.
++    old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
++    fix_srcfile_path='`cygpath -w "$srcfile"`'
++    ;;
++
++  darwin* | rhapsody*)
++    allow_undefined_flag='-undefined suppress'
++    # FIXME: Relying on posixy $() will cause problems for
++    #        cross-compilation, but unfortunately the echo tests do not
++    #        yet detect zsh echo's removal of \ escapes.
++    archive_cmds='$CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linkopts -install_name $rpath/$soname $(test -n "$verstring" -a x$verstring != x0.0 && echo $verstring)'
++    # We need to add '_' to the symbols in $export_symbols first
++    #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
++    hardcode_direct=yes
++    hardcode_shlibpath_var=no
++    whole_archive_flag_spec='-all_load $convenience'
++    ;;
++
++  freebsd1*)
++    ld_shlibs=no
++    ;;
++
++  # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
++  # support.  Future versions do this automatically, but an explicit c++rt0.o
++  # does not break anything, and helps significantly (at the cost of a little
++  # extra space).
++  freebsd2.2*)
++    archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
++    hardcode_libdir_flag_spec='-R$libdir'
++    hardcode_direct=yes
++    hardcode_shlibpath_var=no
++    ;;
++
++  # Unfortunately, older versions of FreeBSD 2 do not have this feature.
++  freebsd2*)
++    archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++    hardcode_direct=yes
++    hardcode_minus_L=yes
++    hardcode_shlibpath_var=no
++    ;;
++
++  # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
++  freebsd*)
++    archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
++    hardcode_libdir_flag_spec='-R$libdir'
++    hardcode_direct=yes
++    hardcode_shlibpath_var=no
++    ;;
++
++  hpux9* | hpux10* | hpux11*)
++    case $host_os in
++    hpux9*) archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ;;
++    *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;;
++    esac
++    hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
++    hardcode_libdir_separator=:
++    hardcode_direct=yes
++    hardcode_minus_L=yes # Not in the search PATH, but as the default
++			 # location of the library.
++    export_dynamic_flag_spec='${wl}-E'
++    ;;
++
++  irix5* | irix6*)
++    if test "$GCC" = yes; then
++      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++    else
++      archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
++    fi
++    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
++    hardcode_libdir_separator=:
++    link_all_deplibs=yes
++    ;;
++
++  netbsd*)
++    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
++    else
++      archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
++    fi
++    hardcode_libdir_flag_spec='-R$libdir'
++    hardcode_direct=yes
++    hardcode_shlibpath_var=no
++    ;;
++
++  newsos6)
++    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linkopts'
++    hardcode_direct=yes
++    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
++    hardcode_libdir_separator=:
++    hardcode_shlibpath_var=no
++    ;;
++
++  openbsd*)
++    archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++    hardcode_libdir_flag_spec='-R$libdir'
++    hardcode_direct=yes
++    hardcode_shlibpath_var=no
++    ;;
++
++  os2*)
++    hardcode_libdir_flag_spec='-L$libdir'
++    hardcode_minus_L=yes
++    allow_undefined_flag=unsupported
++    archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
++    old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
++    ;;
++
++  osf3*)
++    if test "$GCC" = yes; then
++      allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
++      archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++    else
++      allow_undefined_flag=' -expect_unresolved \*'
++      archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
++    fi
++    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
++    hardcode_libdir_separator=:
++    ;;
++
++  osf4* | osf5*)	# as osf3* with the addition of -msym flag
++    if test "$GCC" = yes; then
++      allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
++      archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
++    else
++      allow_undefined_flag=' -expect_unresolved \*'
++      archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
++      archive_expsym_cmds='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
++      $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
++
++      #Both c and cxx compiler support -rpath directly
++      hardcode_libdir_flag_spec='-rpath $libdir'
++    fi
++    hardcode_libdir_separator=:
++    ;;
++
++  sco3.2v5*)
++    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++    hardcode_shlibpath_var=no
++    runpath_var=LD_RUN_PATH
++    hardcode_runpath_var=yes
++    ;;
++
++  solaris*)
++    no_undefined_flag=' -z defs'
++    # $CC -shared without GNU ld will not create a library from C++
++    # object files and a static libstdc++, better avoid it by now
++    archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
++    archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++		$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
++    hardcode_libdir_flag_spec='-R$libdir'
++    hardcode_shlibpath_var=no
++    case $host_os in
++    solaris2.[0-5] | solaris2.[0-5].*) ;;
++    *) # Supported since Solaris 2.6 (maybe 2.5.1?)
++      whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
++    esac
++    link_all_deplibs=yes
++    ;;
+ 
+-static void foo(void) __attribute__ ((noreturn));
++  sunos4*)
++    if test "x$host_vendor" = xsequent; then
++      # Use $CC to link under sequent, because it throws in some extra .o
++      # files that make .init and .fini sections work.
++      archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
++    else
++      archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
++    fi
++    hardcode_libdir_flag_spec='-L$libdir'
++    hardcode_direct=yes
++    hardcode_minus_L=yes
++    hardcode_shlibpath_var=no
++    ;;
+ 
+-static void
+-foo(void)
+-{
+-  exit(1);
+-}
++  sysv4)
++    if test "x$host_vendor" = xsno; then
++      archive_cmds='$LD -G -Bsymbolic -h $soname -o $lib $libobjs $deplibs $linkopts'
++      hardcode_direct=yes # is this really true???
++    else
++      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_direct=no #Motorola manual says yes, but my tests say they lie
++    fi
++    runpath_var='LD_RUN_PATH'
++    hardcode_shlibpath_var=no
++    ;;
+ 
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:3011: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:3014: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:3016: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:3019: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  ac_cv___attribute__=yes
+-else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv___attribute__=no
+-fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
+-fi
++  sysv4.3*)
++    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++    hardcode_shlibpath_var=no
++    export_dynamic_flag_spec='-Bexport'
++    ;;
+ 
+-if test "$ac_cv___attribute__" = "yes"; then
++  sysv5*)
++    no_undefined_flag=' -z text'
++    # $CC -shared without GNU ld will not create a library from C++
++    # object files and a static libstdc++, better avoid it by now
++    archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
++    archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++		$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
++    hardcode_libdir_flag_spec=
++    hardcode_shlibpath_var=no
++    runpath_var='LD_RUN_PATH'
++    ;;
+ 
+-cat >>confdefs.h <<\EOF
+-#define HAVE___ATTRIBUTE__ 1
+-EOF
++  uts4*)
++    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++    hardcode_libdir_flag_spec='-L$libdir'
++    hardcode_shlibpath_var=no
++    ;;
+ 
+-fi
+-echo "$as_me:3037: result: $ac_cv___attribute__" >&5
+-echo "${ECHO_T}$ac_cv___attribute__" >&6
++  dgux*)
++    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++    hardcode_libdir_flag_spec='-L$libdir'
++    hardcode_shlibpath_var=no
++    ;;
+ 
+-# Check whether --enable-shared or --disable-shared was given.
+-if test "${enable_shared+set}" = set; then
+-  enableval="$enable_shared"
+-  p=${PACKAGE-default}
+-case "$enableval" in
+-yes) enable_shared=yes ;;
+-no) enable_shared=no ;;
+-*)
+-  enable_shared=no
+-  # Look at the argument we got.  We use all the common list separators.
+-  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
+-  for pkg in $enableval; do
+-    if test "X$pkg" = "X$p"; then
+-      enable_shared=yes
+-    fi
+-  done
+-  IFS="$ac_save_ifs"
+-  ;;
+-esac
+-else
+-  enable_shared=no
+-fi;
+-# Check whether --enable-static or --disable-static was given.
+-if test "${enable_static+set}" = set; then
+-  enableval="$enable_static"
+-  p=${PACKAGE-default}
+-case "$enableval" in
+-yes) enable_static=yes ;;
+-no) enable_static=no ;;
+-*)
+-  enable_static=no
+-  # Look at the argument we got.  We use all the common list separators.
+-  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
+-  for pkg in $enableval; do
+-    if test "X$pkg" = "X$p"; then
+-      enable_static=yes
+-    fi
+-  done
+-  IFS="$ac_save_ifs"
+-  ;;
+-esac
+-else
+-  enable_static=yes
+-fi;
+-# Check whether --enable-fast-install or --disable-fast-install was given.
+-if test "${enable_fast_install+set}" = set; then
+-  enableval="$enable_fast_install"
+-  p=${PACKAGE-default}
+-case "$enableval" in
+-yes) enable_fast_install=yes ;;
+-no) enable_fast_install=no ;;
+-*)
+-  enable_fast_install=no
+-  # Look at the argument we got.  We use all the common list separators.
+-  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
+-  for pkg in $enableval; do
+-    if test "X$pkg" = "X$p"; then
+-      enable_fast_install=yes
++  sysv4*MP*)
++    if test -d /usr/nec; then
++      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_shlibpath_var=no
++      runpath_var=LD_RUN_PATH
++      hardcode_runpath_var=yes
++      ld_shlibs=yes
+     fi
+-  done
+-  IFS="$ac_save_ifs"
+-  ;;
+-esac
+-else
+-  enable_fast_install=yes
+-fi;
++    ;;
+ 
+-# Check whether --with-gnu-ld or --without-gnu-ld was given.
+-if test "${with_gnu_ld+set}" = set; then
+-  withval="$with_gnu_ld"
+-  test "$withval" = no || with_gnu_ld=yes
+-else
+-  with_gnu_ld=no
+-fi;
+-ac_prog=ld
+-if test "$ac_cv_c_compiler_gnu" = yes; then
+-  # Check if gcc -print-prog-name=ld gives a path.
+-  echo "$as_me:3117: checking for ld used by GCC" >&5
+-echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
+-  case $host in
+-  *-*-mingw*)
+-    # gcc leaves a trailing carriage return which upsets mingw
+-    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
+-  *)
+-    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
+-  esac
+-  case "$ac_prog" in
+-    # Accept absolute paths.
+-    [\\/]* | [A-Za-z]:[\\/]*)
+-      re_direlt='/[^/][^/]*/\.\./'
+-      # Canonicalize the path of ld
+-      ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
+-      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
+-	ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
+-      done
+-      test -z "$LD" && LD="$ac_prog"
+-      ;;
+-  "")
+-    # If it fails, then pretend we aren't using GCC.
+-    ac_prog=ld
++  sysv4.2uw2*)
++    archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
++    hardcode_direct=yes
++    hardcode_minus_L=no
++    hardcode_shlibpath_var=no
++    hardcode_runpath_var=yes
++    runpath_var=LD_RUN_PATH
++    ;;
++
++  sysv5uw7* | unixware7*)
++    no_undefined_flag='${wl}-z ${wl}text'
++    if test "$GCC" = yes; then
++      archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++    else
++      archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++    fi
++    runpath_var='LD_RUN_PATH'
++    hardcode_shlibpath_var=no
+     ;;
++
+   *)
+-    # If it is relative, then search for the first ld in PATH.
+-    with_gnu_ld=unknown
++    ld_shlibs=no
+     ;;
+   esac
+-elif test "$with_gnu_ld" = yes; then
+-  echo "$as_me:3147: checking for GNU ld" >&5
+-echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
+-else
+-  echo "$as_me:3150: checking for non-GNU ld" >&5
+-echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
+ fi
+-if test "${ac_cv_path_LD+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  if test -z "$LD"; then
+-  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
+-  for ac_dir in $PATH; do
+-    test -z "$ac_dir" && ac_dir=.
+-    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
+-      ac_cv_path_LD="$ac_dir/$ac_prog"
+-      # Check to see if the program is GNU ld.  I'd rather use --version,
+-      # but apparently some GNU ld's only accept -v.
+-      # Break only if it was the GNU/non-GNU ld that we prefer.
+-      if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
+-	test "$with_gnu_ld" != no && break
+-      else
+-	test "$with_gnu_ld" != yes && break
+-      fi
+-    fi
+-  done
+-  IFS="$ac_save_ifs"
++echo "configure:5279: result: $ld_shlibs" >&5
++echo "${ECHO_T}$ld_shlibs" >&6
++test "$ld_shlibs" = no && can_build_shared=no
++
++# Check hardcoding attributes.
++echo "configure:5284: checking how to hardcode library paths into programs" >&5
++echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
++hardcode_action=
++if test -n "$hardcode_libdir_flag_spec" || \
++   test -n "$runpath_var"; then
++
++  # We can hardcode non-existant directories.
++  if test "$hardcode_direct" != no &&
++     # If the only mechanism to avoid hardcoding is shlibpath_var, we
++     # have to relink, otherwise we might link with an installed library
++     # when we should be linking with a yet-to-be-installed one
++     ## test "$hardcode_shlibpath_var" != no &&
++     test "$hardcode_minus_L" != no; then
++    # Linking always hardcodes the temporary library directory.
++    hardcode_action=relink
++  else
++    # We can link without hardcoding, and we can hardcode nonexisting dirs.
++    hardcode_action=immediate
++  fi
+ else
+-  ac_cv_path_LD="$LD" # Let the user override the test with a path.
+-fi
+-fi
+-
+-LD="$ac_cv_path_LD"
+-if test -n "$LD"; then
+-  echo "$as_me:3180: result: $LD" >&5
+-echo "${ECHO_T}$LD" >&6
++  # We cannot hardcode anything, or else we can only hardcode existing
++  # directories.
++  hardcode_action=unsupported
++fi
++echo "configure:5308: result: $hardcode_action" >&5
++echo "${ECHO_T}$hardcode_action" >&6
++
++striplib=
++old_striplib=
++echo "configure:5313: checking whether stripping libraries is possible" >&5
++echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
++if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
++  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
++  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
++  echo "configure:5318: result: yes" >&5
++echo "${ECHO_T}yes" >&6
+ else
+-  echo "$as_me:3183: result: no" >&5
++  echo "configure:5321: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+-test -z "$LD" && { { echo "$as_me:3186: error: no acceptable ld found in \$PATH" >&5
+-echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
+-   { (exit 1); exit 1; }; }
+-echo "$as_me:3189: checking if the linker ($LD) is GNU ld" >&5
+-echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
+-if test "${ac_cv_prog_gnu_ld+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
+-if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
+-  ac_cv_prog_gnu_ld=yes
+-else
+-  ac_cv_prog_gnu_ld=no
+-fi
+-fi
+-echo "$as_me:3201: result: $ac_cv_prog_gnu_ld" >&5
+-echo "${ECHO_T}$ac_cv_prog_gnu_ld" >&6
+-with_gnu_ld=$ac_cv_prog_gnu_ld
+ 
+-echo "$as_me:3205: checking for $LD option to reload object files" >&5
+-echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
+-if test "${lt_cv_ld_reload_flag+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  lt_cv_ld_reload_flag='-r'
+-fi
+-echo "$as_me:3212: result: $lt_cv_ld_reload_flag" >&5
+-echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
+-reload_flag=$lt_cv_ld_reload_flag
+-test -n "$reload_flag" && reload_flag=" $reload_flag"
++reload_cmds='$LD$reload_flag -o $output$reload_objs'
++test -z "$deplibs_check_method" && deplibs_check_method=unknown
+ 
+-echo "$as_me:3217: checking for BSD-compatible nm" >&5
+-echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
+-if test "${ac_cv_path_NM+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  if test -n "$NM"; then
+-  # Let the user override the test.
+-  ac_cv_path_NM="$NM"
+-else
+-  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
+-  for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
+-    test -z "$ac_dir" && ac_dir=.
+-    tmp_nm=$ac_dir/${ac_tool_prefix}nm
+-    if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
+-      # Check to see if the nm accepts a BSD-compat flag.
+-      # Adding the `sed 1q' prevents false positives on HP-UX, which says:
+-      #   nm: unknown option "B" ignored
+-      if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
+-	ac_cv_path_NM="$tmp_nm -B"
+-	break
+-      elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
+-	ac_cv_path_NM="$tmp_nm -p"
+-	break
++# PORTME Fill in your ld.so characteristics
++echo "configure:5329: checking dynamic linker characteristics" >&5
++echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
++library_names_spec=
++libname_spec='lib$name'
++soname_spec=
++postinstall_cmds=
++postuninstall_cmds=
++finish_cmds=
++finish_eval=
++shlibpath_var=
++shlibpath_overrides_runpath=unknown
++version_type=none
++dynamic_linker="$host_os ld.so"
++sys_lib_dlsearch_path_spec="/lib /usr/lib"
++sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
++
++case $host_os in
++aix3*)
++  version_type=linux
++  library_names_spec='${libname}${release}.so$versuffix $libname.a'
++  shlibpath_var=LIBPATH
++
++  # AIX has no versioning support, so we append a major version to the name.
++  soname_spec='${libname}${release}.so$major'
++  ;;
++
++aix4* | aix5*)
++  version_type=linux
++  if test "$host_cpu" = ia64; then
++    # AIX 5 supports IA64
++    library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so'
++    shlibpath_var=LD_LIBRARY_PATH
++  else
++    # With GCC up to 2.95.x, collect2 would create an import file
++    # for dependence libraries.  The import file would start with
++    # the line `#! .'.  This would cause the generated library to
++    # depend on `.', always an invalid library.  This was fixed in
++    # development snapshots of GCC prior to 3.0.
++    case $host_os in
++       aix4 | aix4.[01] | aix4.[01].*)
++      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
++           echo ' yes '
++           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
++        :
+       else
+-	ac_cv_path_NM=${ac_cv_path_NM="$tmp_nm"} # keep the first match, but
+-	continue # so that we can try to find one that supports BSD flags
++        can_build_shared=no
+       fi
++      ;;
++    esac
++    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
++    # soname into executable. Probably we can add versioning support to
++    # collect2, so additional links can be useful in future.
++    if test "$aix_use_runtimelinking" = yes; then
++      # If using run time linking (on AIX 4.2 or later) use lib<name>.so instead of
++      # lib<name>.a to let people know that these are not typical AIX shared libraries.
++      library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++    else
++      # We preserve .a as extension for shared libraries through AIX4.2
++      # and later when we are not doing run time linking.
++      library_names_spec='${libname}${release}.a $libname.a'
++      soname_spec='${libname}${release}.so$major'
+     fi
+-  done
+-  IFS="$ac_save_ifs"
+-  test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm
+-fi
+-fi
+-
+-NM="$ac_cv_path_NM"
+-echo "$as_me:3252: result: $NM" >&5
+-echo "${ECHO_T}$NM" >&6
+-
+-echo "$as_me:3255: checking whether ln -s works" >&5
+-echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
+-LN_S=$as_ln_s
+-if test "$LN_S" = "ln -s"; then
+-  echo "$as_me:3259: result: yes" >&5
+-echo "${ECHO_T}yes" >&6
+-else
+-  echo "$as_me:3262: result: no, using $LN_S" >&5
+-echo "${ECHO_T}no, using $LN_S" >&6
+-fi
+-
+-echo "$as_me:3266: checking how to recognise dependant libraries" >&5
+-echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
+-if test "${lt_cv_deplibs_check_method+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  lt_cv_file_magic_cmd='${MAGIC}'
+-lt_cv_file_magic_test_file=
+-lt_cv_deplibs_check_method='unknown'
+-# Need to set the preceding variable on all platforms that support
+-# interlibrary dependencies.
+-# 'none' -- dependencies not supported.
+-# `unknown' -- same as none, but documents that we really don't know.
+-# 'pass_all' -- all dependencies passed with no checks.
+-# 'test_compile' -- check by making test program.
+-# 'file_magic [regex]' -- check by looking for files in library path
+-# which responds to the $file_magic_cmd with a given egrep regex.
+-# If you have `file' or equivalent on your system and you're not sure
+-# whether `pass_all' will *always* work, you probably want this one.
++    shlibpath_var=LIBPATH
++    deplibs_check_method=pass_all
++  fi
++  ;;
+ 
+-case "$host_os" in
+-aix4*)
+-  lt_cv_deplibs_check_method=pass_all
++amigaos*)
++  library_names_spec='$libname.ixlibrary $libname.a'
++  # Create ${libname}_ixlibrary.a entries in /sys/libs.
++  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done'
+   ;;
+ 
+ beos*)
+-  lt_cv_deplibs_check_method=pass_all
++  library_names_spec='${libname}.so'
++  dynamic_linker="$host_os ld.so"
++  shlibpath_var=LIBRARY_PATH
+   ;;
+ 
+ bsdi4*)
+-    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
+-    lt_cv_file_magic_cmd='/usr/bin/file -L'
+-  lt_cv_file_magic_test_file=/shlib/libc.so
++  version_type=linux
++  need_version=no
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  soname_spec='${libname}${release}.so$major'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
++  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
++  export_dynamic_flag_spec=-rdynamic
++  # the default ld.so.conf also contains /usr/contrib/lib and
++  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
++  # libtool to hard-code these into programs
+   ;;
+ 
+-cygwin* | mingw*)
+-  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
+-  lt_cv_file_magic_cmd='${OBJDUMP} -f'
++cygwin* | mingw* | pw32*)
++  version_type=windows
++  need_version=no
++  need_lib_prefix=no
++  case $GCC,$host_os in
++  yes,cygwin*)
++    library_names_spec='$libname.dll.a'
++    soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
++    postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~
++      dldir=$destdir/`dirname \$dlpath`~
++      test -d \$dldir || mkdir -p \$dldir~
++      $install_prog .libs/$dlname \$dldir/$dlname'
++    postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~
++      dlpath=$dir/\$dldll~
++       $rm \$dlpath'
++    ;;
++  yes,mingw*)
++    library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
++    sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g"`
++    ;;
++  yes,pw32*)
++    library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}.dll'
++    ;;
++  *)
++    library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll $libname.lib'
++    ;;
++  esac
++  dynamic_linker='Win32 ld.exe'
++  # FIXME: first we should search . and the directory the executable is in
++  shlibpath_var=PATH
++  ;;
++
++darwin* | rhapsody*)
++  dynamic_linker="$host_os dyld"
++  version_type=darwin
++  need_lib_prefix=no
++  need_version=no
++  # FIXME: Relying on posixy $() will cause problems for
++  #        cross-compilation, but unfortunately the echo tests do not
++  #        yet detect zsh echo's removal of \ escapes.
++  library_names_spec='${libname}${release}${versuffix}.$(test .$module = .yes && echo so || echo dylib) ${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib) ${libname}.$(test .$module = .yes && echo so || echo dylib)'
++  soname_spec='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)'
++  shlibpath_overrides_runpath=yes
++  shlibpath_var=DYLD_LIBRARY_PATH
++  ;;
++
++freebsd1*)
++  dynamic_linker=no
+   ;;
+ 
+ freebsd*)
+-  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
+-    case "$host_cpu" in
+-    i*86 )
+-            lt_cv_deplibs_check_method=='file_magic OpenBSD/i[3-9]86 demand paged shared library'
+-            lt_cv_file_magic_cmd=/usr/bin/file
+-      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
++  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
++  version_type=freebsd-$objformat
++  case $version_type in
++    freebsd-elf*)
++      library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
++      need_version=no
++      need_lib_prefix=no
+       ;;
+-    esac
+-  else
+-    lt_cv_deplibs_check_method=pass_all
+-  fi
++    freebsd-*)
++      library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix'
++      need_version=yes
++      ;;
++  esac
++  shlibpath_var=LD_LIBRARY_PATH
++  case $host_os in
++  freebsd2*)
++    shlibpath_overrides_runpath=yes
++    ;;
++  *)
++    shlibpath_overrides_runpath=no
++    hardcode_into_libs=yes
++    ;;
++  esac
+   ;;
+ 
+ gnu*)
+-  lt_cv_deplibs_check_method=pass_all
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so'
++  soname_spec='${libname}${release}.so$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  hardcode_into_libs=yes
+   ;;
+ 
+-hpux10.20*)
+-  # TODO:  Does this work for hpux-11 too?
+-  lt_cv_deplibs_check_method='file_magic (s0-90-90-9|PA-RISC0-9.0-9) shared library'
+-  lt_cv_file_magic_cmd=/usr/bin/file
+-  lt_cv_file_magic_test_file=/usr/lib/libc.sl
++hpux9* | hpux10* | hpux11*)
++  # Give a soname corresponding to the major version so that dld.sl refuses to
++  # link against other versions.
++  dynamic_linker="$host_os dld.sl"
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=no
++  shlibpath_var=SHLIB_PATH
++  shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
++  library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl'
++  soname_spec='${libname}${release}.sl$major'
++  # HP-UX runs *really* slowly unless shared libraries are mode 555.
++  postinstall_cmds='chmod 555 $lib'
+   ;;
+ 
+ irix5* | irix6*)
+-  case "$host_os" in
++  version_type=irix
++  need_lib_prefix=no
++  need_version=no
++  soname_spec='${libname}${release}.so$major'
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so'
++  case $host_os in
+   irix5*)
+-    # this will be overridden with pass_all, but let us keep it just in case
+-    lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
++    libsuff= shlibsuff=
+     ;;
+   *)
+-    case "$LD" in
+-    *-32|*"-32 ") libmagic=32-bit;;
+-    *-n32|*"-n32 ") libmagic=N32;;
+-    *-64|*"-64 ") libmagic=64-bit;;
+-    *) libmagic=never-match;;
++    case $LD in # libtool.m4 will add one of these switches to LD
++    *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;;
++    *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;;
++    *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;;
++    *) libsuff= shlibsuff= libmagic=never-match;;
+     esac
+-    # this will be overridden with pass_all, but let us keep it just in case
+-        lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
+-        ;;
++    ;;
+   esac
+-  lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
+-  lt_cv_deplibs_check_method=pass_all
++  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
++  shlibpath_overrides_runpath=no
++  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
++  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
++  ;;
++
++# No shared lib support for Linux oldld, aout, or coff.
++linux-gnuoldld* | linux-gnuaout* | linux-gnucoff*)
++  dynamic_linker=no
+   ;;
+ 
+ # This must be Linux ELF.
+ linux-gnu*)
+-  case "$host_cpu" in
+-  alpha* | i*86 | powerpc* | sparc* | ia64* )
+-    lt_cv_deplibs_check_method=pass_all ;;
+-  *)
+-    # glibc up to 2.1.1 does not perform some relocations on ARM
+-        lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
+-      esac
+-  lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  soname_spec='${libname}${release}.so$major'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=no
++  # This implies no fast_install, which is unacceptable.
++  # Some rework will be needed to allow for fast_install
++  # before this can be enabled.
++  hardcode_into_libs=yes
++
++  # We used to test for /lib/ld.so.1 and disable shared libraries on
++  # powerpc, because MkLinux only supported shared libraries with the
++  # GNU dynamic linker.  Since this was broken with cross compilers,
++  # most powerpc-linux boxes support dynamic linking these days and
++  # people can always --disable-shared, the test was removed, and we
++  # assume the GNU/Linux dynamic linker is in use.
++  dynamic_linker='GNU/Linux ld.so'
+   ;;
+ 
+ netbsd*)
+-  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then :
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=no
++  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++    library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
++    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
++    dynamic_linker='NetBSD (a.out) ld.so'
+   else
+-        lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
+-        lt_cv_file_magic_cmd='/usr/bin/file -L'
+-    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
++    library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so'
++    soname_spec='${libname}${release}.so$major'
++    dynamic_linker='NetBSD ld.elf_so'
++  fi
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  hardcode_into_libs=yes
++  ;;
++
++newsos6)
++  version_type=linux
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  ;;
++
++openbsd*)
++  version_type=sunos
++  if test "$with_gnu_ld" = yes; then
++    need_lib_prefix=no
++    need_version=no
+   fi
++  library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++os2*)
++  libname_spec='$name'
++  need_lib_prefix=no
++  library_names_spec='$libname.dll $libname.a'
++  dynamic_linker='OS/2 ld.exe'
++  shlibpath_var=LIBPATH
+   ;;
+ 
+ osf3* | osf4* | osf5*)
+-  # this will be overridden with pass_all, but let us keep it just in case
+-  lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
+-  lt_cv_file_magic_test_file=/shlib/libc.so
+-  lt_cv_deplibs_check_method=pass_all
++  version_type=osf
++  need_version=no
++  soname_spec='${libname}${release}.so'
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
++  shlibpath_var=LD_LIBRARY_PATH
++  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
++  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
+   ;;
+ 
+ sco3.2v5*)
+-  lt_cv_deplibs_check_method=pass_all
++  version_type=osf
++  soname_spec='${libname}${release}.so$major'
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  shlibpath_var=LD_LIBRARY_PATH
+   ;;
+ 
+ solaris*)
+-  lt_cv_deplibs_check_method=pass_all
+-  lt_cv_file_magic_test_file=/lib/libc.so
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  soname_spec='${libname}${release}.so$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  hardcode_into_libs=yes
++  # ldd complains unless libraries are executable
++  postinstall_cmds='chmod +x $lib'
++  ;;
++
++sunos4*)
++  version_type=sunos
++  library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
++  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  if test "$with_gnu_ld" = yes; then
++    need_lib_prefix=no
++  fi
++  need_version=yes
+   ;;
+ 
+ sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
+-  case "$host_vendor" in
+-  ncr)
+-    lt_cv_deplibs_check_method=pass_all
+-    ;;
+-  motorola)
+-        lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
+-        lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
+-    ;;
++  version_type=linux
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  soname_spec='${libname}${release}.so$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  case $host_vendor in
++    sni)
++      shlibpath_overrides_runpath=no
++      ;;
++    motorola)
++      need_lib_prefix=no
++      need_version=no
++      shlibpath_overrides_runpath=no
++      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
++      ;;
+   esac
+   ;;
++
++uts4*)
++  version_type=linux
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  soname_spec='${libname}${release}.so$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++dgux*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  soname_spec='${libname}${release}.so$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++sysv4*MP*)
++  if test -d /usr/nec ;then
++    version_type=linux
++    library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so'
++    soname_spec='$libname.so.$major'
++    shlibpath_var=LD_LIBRARY_PATH
++  fi
++  ;;
++
++*)
++  dynamic_linker=no
++  ;;
+ esac
++echo "configure:5711: result: $dynamic_linker" >&5
++echo "${ECHO_T}$dynamic_linker" >&6
++test "$dynamic_linker" = no && can_build_shared=no
++
++# Report the final consequences.
++echo "configure:5716: checking if libtool supports shared libraries" >&5
++echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
++echo "configure:5718: result: $can_build_shared" >&5
++echo "${ECHO_T}$can_build_shared" >&6
++
++if test "$hardcode_action" = relink; then
++  # Fast installation is not supported
++  enable_fast_install=no
++elif test "$shlibpath_overrides_runpath" = yes ||
++     test "$enable_shared" = no; then
++  # Fast installation is not necessary
++  enable_fast_install=needless
++fi
++
++variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
++if test "$GCC" = yes; then
++  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
++fi
++
++if test "x$enable_dlopen" != xyes; then
++  enable_dlopen=unknown
++  enable_dlopen_self=unknown
++  enable_dlopen_self_static=unknown
++else
++  lt_cv_dlopen=no
++  lt_cv_dlopen_libs=
++
++  case $host_os in
++  beos*)
++    lt_cv_dlopen="load_add_on"
++    lt_cv_dlopen_libs=
++    lt_cv_dlopen_self=yes
++    ;;
++
++  cygwin* | mingw* | pw32*)
++    lt_cv_dlopen="LoadLibrary"
++    lt_cv_dlopen_libs=
++   ;;
++
++  *)
++
++echo "configure:5757: checking for dlopen in -ldl" >&5
++echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
++if test "${ac_cv_lib_dl_dlopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ldl  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line 5765 "configure"
++#include "confdefs.h"
+ 
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dlopen ();
++int
++main ()
++{
++dlopen ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:5784: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  ac_cv_lib_dl_dlopen=yes
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_lib_dl_dlopen=no
+ fi
+-echo "$as_me:3402: result: $lt_cv_deplibs_check_method" >&5
+-echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
+-file_magic_cmd=$lt_cv_file_magic_cmd
+-deplibs_check_method=$lt_cv_deplibs_check_method
++rm -f conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "configure:5794: result: $ac_cv_lib_dl_dlopen" >&5
++echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
++if test $ac_cv_lib_dl_dlopen = yes; then
++  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
++else
++  echo "configure:5799: checking for dlopen" >&5
++echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
++if test "${ac_cv_func_dlopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line 5805 "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char dlopen (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dlopen ();
++char (*f) ();
+ 
+-# Only perform the check for file, if the check method requires it
+-case "$deplibs_check_method" in
+-file_magic*)
+-  if test "$file_magic_cmd" = '${MAGIC}'; then
+-    echo "$as_me:3411: checking for ${ac_tool_prefix}file" >&5
+-echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
+-if test "${lt_cv_path_MAGIC+set}" = set; then
++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_dlopen) || defined (__stub___dlopen)
++choke me
++#else
++f = dlopen;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:5836: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  ac_cv_func_dlopen=yes
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_dlopen=no
++fi
++rm -f conftest$ac_exeext conftest.$ac_ext
++fi
++echo "configure:5845: result: $ac_cv_func_dlopen" >&5
++echo "${ECHO_T}$ac_cv_func_dlopen" >&6
++if test $ac_cv_func_dlopen = yes; then
++  lt_cv_dlopen="dlopen"
++else
++  echo "configure:5850: checking for shl_load" >&5
++echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
++if test "${ac_cv_func_shl_load+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  case "$MAGIC" in
+-  /*)
+-  lt_cv_path_MAGIC="$MAGIC" # Let the user override the test with a path.
+-  ;;
+-  ?:/*)
+-  ac_cv_path_MAGIC="$MAGIC" # Let the user override the test with a dos path.
+-  ;;
+-  *)
+-  ac_save_MAGIC="$MAGIC"
+-  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
+-  ac_dummy="/usr/bin:$PATH"
+-  for ac_dir in $ac_dummy; do
+-    test -z "$ac_dir" && ac_dir=.
+-    if test -f $ac_dir/${ac_tool_prefix}file; then
+-      lt_cv_path_MAGIC="$ac_dir/${ac_tool_prefix}file"
+-      if test -n "$file_magic_test_file"; then
+-	case "$deplibs_check_method" in
+-	"file_magic "*)
+-	  file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
+-	  MAGIC="$lt_cv_path_MAGIC"
+-	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
+-	    egrep "$file_magic_regex" > /dev/null; then
+-	    :
+-	  else
+-	    cat <<EOF 1>&2
++  cat >conftest.$ac_ext <<_ACEOF
++#line 5856 "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char shl_load (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char shl_load ();
++char (*f) ();
+ 
+-*** Warning: the command libtool uses to detect shared libraries,
+-*** $file_magic_cmd, produces output that libtool cannot recognize.
+-*** The result is that libtool may fail to recognize shared libraries
+-*** as such.  This will affect the creation of libtool libraries that
+-*** depend on shared libraries, but programs linked with such libtool
+-*** libraries will work regardless of this problem.  Nevertheless, you
+-*** may want to report the problem to your system manager and/or to
+-*** bug-libtool@gnu.org
++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_shl_load) || defined (__stub___shl_load)
++choke me
++#else
++f = shl_load;
++#endif
+ 
+-EOF
+-	  fi ;;
+-	esac
+-      fi
+-      break
+-    fi
+-  done
+-  IFS="$ac_save_ifs"
+-  MAGIC="$ac_save_MAGIC"
+-  ;;
+-esac
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:5887: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  ac_cv_func_shl_load=yes
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_shl_load=no
++fi
++rm -f conftest$ac_exeext conftest.$ac_ext
++fi
++echo "configure:5896: result: $ac_cv_func_shl_load" >&5
++echo "${ECHO_T}$ac_cv_func_shl_load" >&6
++if test $ac_cv_func_shl_load = yes; then
++  lt_cv_dlopen="shl_load"
++else
++
++echo "configure:5902: checking for dlopen in -lsvld" >&5
++echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
++if test "${ac_cv_lib_svld_dlopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-lsvld  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line 5910 "configure"
++#include "confdefs.h"
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dlopen ();
++int
++main ()
++{
++dlopen ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:5929: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  ac_cv_lib_svld_dlopen=yes
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_lib_svld_dlopen=no
++fi
++rm -f conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "configure:5939: result: $ac_cv_lib_svld_dlopen" >&5
++echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
++if test $ac_cv_lib_svld_dlopen = yes; then
++  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
++else
++
++echo "configure:5945: checking for shl_load in -ldld" >&5
++echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
++if test "${ac_cv_lib_dld_shl_load+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ldld  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line 5953 "configure"
++#include "confdefs.h"
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char shl_load ();
++int
++main ()
++{
++shl_load ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:5972: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  ac_cv_lib_dld_shl_load=yes
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_lib_dld_shl_load=no
++fi
++rm -f conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
+ fi
+-
+-MAGIC="$lt_cv_path_MAGIC"
+-if test -n "$MAGIC"; then
+-  echo "$as_me:3466: result: $MAGIC" >&5
+-echo "${ECHO_T}$MAGIC" >&6
+-else
+-  echo "$as_me:3469: result: no" >&5
+-echo "${ECHO_T}no" >&6
++echo "configure:5982: result: $ac_cv_lib_dld_shl_load" >&5
++echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
++if test $ac_cv_lib_dld_shl_load = yes; then
++  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
+ fi
+ 
+-if test -z "$lt_cv_path_MAGIC"; then
+-  if test -n "$ac_tool_prefix"; then
+-    echo "$as_me:3475: checking for file" >&5
+-echo $ECHO_N "checking for file... $ECHO_C" >&6
+-if test "${lt_cv_path_MAGIC+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  case "$MAGIC" in
+-  /*)
+-  lt_cv_path_MAGIC="$MAGIC" # Let the user override the test with a path.
+-  ;;
+-  ?:/*)
+-  ac_cv_path_MAGIC="$MAGIC" # Let the user override the test with a dos path.
+-  ;;
+-  *)
+-  ac_save_MAGIC="$MAGIC"
+-  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
+-  ac_dummy="/usr/bin:$PATH"
+-  for ac_dir in $ac_dummy; do
+-    test -z "$ac_dir" && ac_dir=.
+-    if test -f $ac_dir/file; then
+-      lt_cv_path_MAGIC="$ac_dir/file"
+-      if test -n "$file_magic_test_file"; then
+-	case "$deplibs_check_method" in
+-	"file_magic "*)
+-	  file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
+-	  MAGIC="$lt_cv_path_MAGIC"
+-	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
+-	    egrep "$file_magic_regex" > /dev/null; then
+-	    :
+-	  else
+-	    cat <<EOF 1>&2
++	
++fi
+ 
+-*** Warning: the command libtool uses to detect shared libraries,
+-*** $file_magic_cmd, produces output that libtool cannot recognize.
+-*** The result is that libtool may fail to recognize shared libraries
+-*** as such.  This will affect the creation of libtool libraries that
+-*** depend on shared libraries, but programs linked with such libtool
+-*** libraries will work regardless of this problem.  Nevertheless, you
+-*** may want to report the problem to your system manager and/or to
+-*** bug-libtool@gnu.org
++fi
+ 
+-EOF
+-	  fi ;;
+-	esac
+-      fi
+-      break
+-    fi
+-  done
+-  IFS="$ac_save_ifs"
+-  MAGIC="$ac_save_MAGIC"
+-  ;;
+-esac
+ fi
+ 
+-MAGIC="$lt_cv_path_MAGIC"
+-if test -n "$MAGIC"; then
+-  echo "$as_me:3530: result: $MAGIC" >&5
+-echo "${ECHO_T}$MAGIC" >&6
+-else
+-  echo "$as_me:3533: result: no" >&5
+-echo "${ECHO_T}no" >&6
+ fi
+ 
++    ;;
++  esac
++
++  if test "x$lt_cv_dlopen" != xno; then
++    enable_dlopen=yes
+   else
+-    MAGIC=:
++    enable_dlopen=no
+   fi
+-fi
+ 
+-  fi
+-  ;;
+-esac
++  case $lt_cv_dlopen in
++  dlopen)
++    save_CPPFLAGS="$CPPFLAGS"
++        test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
+ 
+-if test -n "$ac_tool_prefix"; then
+-  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
+-set dummy ${ac_tool_prefix}ranlib; ac_word=$2
+-echo "$as_me:3549: checking for $ac_word" >&5
+-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+-if test "${ac_cv_prog_RANLIB+set}" = set; then
++    save_LDFLAGS="$LDFLAGS"
++    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
++
++    save_LIBS="$LIBS"
++    LIBS="$lt_cv_dlopen_libs $LIBS"
++
++    echo "configure:6017: checking whether a program can dlopen itself" >&5
++echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
++if test "${lt_cv_dlopen_self+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  if test -n "$RANLIB"; then
+-  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
++  	  if test "$cross_compiling" = yes; then :
++  lt_cv_dlopen_self=cross
+ else
+-  ac_save_IFS=$IFS; IFS=':'
+-ac_dummy="$PATH"
+-for ac_dir in $ac_dummy; do
+-  IFS=$ac_save_IFS
+-  test -z "$ac_dir" && ac_dir=.
+-  $as_executable_p "$ac_dir/$ac_word" || continue
+-ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
+-break
+-done
++    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
++  lt_status=$lt_dlunknown
++  cat > conftest.$ac_ext <<EOF
++#line 6028 "configure"
++#include "confdefs.h"
+ 
++#if HAVE_DLFCN_H
++#include <dlfcn.h>
++#endif
++
++#include <stdio.h>
++
++#ifdef RTLD_GLOBAL
++#  define LT_DLGLOBAL		RTLD_GLOBAL
++#else
++#  ifdef DL_GLOBAL
++#    define LT_DLGLOBAL		DL_GLOBAL
++#  else
++#    define LT_DLGLOBAL		0
++#  endif
++#endif
++
++/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
++   find out it does not work in some platform. */
++#ifndef LT_DLLAZY_OR_NOW
++#  ifdef RTLD_LAZY
++#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
++#  else
++#    ifdef DL_LAZY
++#      define LT_DLLAZY_OR_NOW		DL_LAZY
++#    else
++#      ifdef RTLD_NOW
++#        define LT_DLLAZY_OR_NOW	RTLD_NOW
++#      else
++#        ifdef DL_NOW
++#          define LT_DLLAZY_OR_NOW	DL_NOW
++#        else
++#          define LT_DLLAZY_OR_NOW	0
++#        endif
++#      endif
++#    endif
++#  endif
++#endif
++
++#ifdef __cplusplus
++extern "C" void exit (int);
++#endif
++
++void fnord() { int i=42;}
++int main ()
++{
++  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
++  int status = $lt_dlunknown;
++
++  if (self)
++    {
++      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
++      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
++      /* dlclose (self); */
++    }
++
++    exit (status);
++}
++EOF
++  if { (eval echo configure:6089: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>/dev/null; then
++    (./conftest; exit; ) 2>/dev/null
++    lt_status=$?
++    case x$lt_status in
++      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
++      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
++      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
++    esac
++  else :
++    # compilation failed
++    lt_cv_dlopen_self=no
++  fi
+ fi
+-fi
+-RANLIB=$ac_cv_prog_RANLIB
+-if test -n "$RANLIB"; then
+-  echo "$as_me:3571: result: $RANLIB" >&5
+-echo "${ECHO_T}$RANLIB" >&6
+-else
+-  echo "$as_me:3574: result: no" >&5
+-echo "${ECHO_T}no" >&6
+-fi
++rm -fr conftest*
+ 
+ fi
+-if test -z "$ac_cv_prog_RANLIB"; then
+-  ac_ct_RANLIB=$RANLIB
+-  # Extract the first word of "ranlib", so it can be a program name with args.
+-set dummy ranlib; ac_word=$2
+-echo "$as_me:3583: checking for $ac_word" >&5
+-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+-if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
++echo "configure:6105: result: $lt_cv_dlopen_self" >&5
++echo "${ECHO_T}$lt_cv_dlopen_self" >&6
++
++    if test "x$lt_cv_dlopen_self" = xyes; then
++      LDFLAGS="$LDFLAGS $link_static_flag"
++      echo "configure:6110: checking whether a statically linked program can dlopen itself" >&5
++echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
++if test "${lt_cv_dlopen_self_static+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  if test -n "$ac_ct_RANLIB"; then
+-  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
++  	  if test "$cross_compiling" = yes; then :
++  lt_cv_dlopen_self_static=cross
+ else
+-  ac_save_IFS=$IFS; IFS=':'
+-ac_dummy="$PATH"
+-for ac_dir in $ac_dummy; do
+-  IFS=$ac_save_IFS
+-  test -z "$ac_dir" && ac_dir=.
+-  $as_executable_p "$ac_dir/$ac_word" || continue
+-ac_cv_prog_ac_ct_RANLIB="ranlib"
+-break
+-done
++    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
++  lt_status=$lt_dlunknown
++  cat > conftest.$ac_ext <<EOF
++#line 6121 "configure"
++#include "confdefs.h"
+ 
+-  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
+-fi
+-fi
+-ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
+-if test -n "$ac_ct_RANLIB"; then
+-  echo "$as_me:3606: result: $ac_ct_RANLIB" >&5
+-echo "${ECHO_T}$ac_ct_RANLIB" >&6
+-else
+-  echo "$as_me:3609: result: no" >&5
+-echo "${ECHO_T}no" >&6
++#if HAVE_DLFCN_H
++#include <dlfcn.h>
++#endif
++
++#include <stdio.h>
++
++#ifdef RTLD_GLOBAL
++#  define LT_DLGLOBAL		RTLD_GLOBAL
++#else
++#  ifdef DL_GLOBAL
++#    define LT_DLGLOBAL		DL_GLOBAL
++#  else
++#    define LT_DLGLOBAL		0
++#  endif
++#endif
++
++/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
++   find out it does not work in some platform. */
++#ifndef LT_DLLAZY_OR_NOW
++#  ifdef RTLD_LAZY
++#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
++#  else
++#    ifdef DL_LAZY
++#      define LT_DLLAZY_OR_NOW		DL_LAZY
++#    else
++#      ifdef RTLD_NOW
++#        define LT_DLLAZY_OR_NOW	RTLD_NOW
++#      else
++#        ifdef DL_NOW
++#          define LT_DLLAZY_OR_NOW	DL_NOW
++#        else
++#          define LT_DLLAZY_OR_NOW	0
++#        endif
++#      endif
++#    endif
++#  endif
++#endif
++
++#ifdef __cplusplus
++extern "C" void exit (int);
++#endif
++
++void fnord() { int i=42;}
++int main ()
++{
++  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
++  int status = $lt_dlunknown;
++
++  if (self)
++    {
++      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
++      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
++      /* dlclose (self); */
++    }
++
++    exit (status);
++}
++EOF
++  if { (eval echo configure:6182: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>/dev/null; then
++    (./conftest; exit; ) 2>/dev/null
++    lt_status=$?
++    case x$lt_status in
++      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
++      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
++      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
++    esac
++  else :
++    # compilation failed
++    lt_cv_dlopen_self_static=no
++  fi
+ fi
++rm -fr conftest*
+ 
+-  RANLIB=$ac_ct_RANLIB
+-else
+-  RANLIB="$ac_cv_prog_RANLIB"
+ fi
++echo "configure:6198: result: $lt_cv_dlopen_self_static" >&5
++echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
++    fi
+ 
+-if test -n "$ac_tool_prefix"; then
+-  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
+-set dummy ${ac_tool_prefix}strip; ac_word=$2
+-echo "$as_me:3621: checking for $ac_word" >&5
+-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+-if test "${ac_cv_prog_STRIP+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  if test -n "$STRIP"; then
+-  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
+-else
+-  ac_save_IFS=$IFS; IFS=':'
+-ac_dummy="$PATH"
+-for ac_dir in $ac_dummy; do
+-  IFS=$ac_save_IFS
+-  test -z "$ac_dir" && ac_dir=.
+-  $as_executable_p "$ac_dir/$ac_word" || continue
+-ac_cv_prog_STRIP="${ac_tool_prefix}strip"
+-break
+-done
++    CPPFLAGS="$save_CPPFLAGS"
++    LDFLAGS="$save_LDFLAGS"
++    LIBS="$save_LIBS"
++    ;;
++  esac
+ 
++  case $lt_cv_dlopen_self in
++  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
++  *) enable_dlopen_self=unknown ;;
++  esac
++
++  case $lt_cv_dlopen_self_static in
++  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
++  *) enable_dlopen_self_static=unknown ;;
++  esac
+ fi
++
++if test "$enable_shared" = yes && test "$GCC" = yes; then
++  case $archive_cmds in
++  *'~'*)
++    # FIXME: we may have to deal with multi-command sequences.
++    ;;
++  '$CC '*)
++    # Test whether the compiler implicitly links with -lc since on some
++    # systems, -lgcc has to come before -lc. If gcc already passes -lc
++    # to ld, don't add -lc before -lgcc.
++    echo "configure:6228: checking whether -lc should be explicitly linked in" >&5
++echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
++    if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  $rm conftest*
++    echo 'static int dummy;' > conftest.$ac_ext
++
++    if { (eval echo configure:6236: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++      soname=conftest
++      lib=conftest
++      libobjs=conftest.$ac_objext
++      deplibs=
++      wl=$lt_cv_prog_cc_wl
++      compiler_flags=-v
++      linker_flags=-v
++      verstring=
++      output_objdir=.
++      libname=conftest
++      save_allow_undefined_flag=$allow_undefined_flag
++      allow_undefined_flag=
++      if { (eval echo configure:6249: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\") >&5; (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5; }
++      then
++	lt_cv_archive_cmds_need_lc=no
++      else
++	lt_cv_archive_cmds_need_lc=yes
++      fi
++      allow_undefined_flag=$save_allow_undefined_flag
++    else
++      cat conftest.err 1>&5
++    fi
+ fi
+-STRIP=$ac_cv_prog_STRIP
+-if test -n "$STRIP"; then
+-  echo "$as_me:3643: result: $STRIP" >&5
+-echo "${ECHO_T}$STRIP" >&6
+-else
+-  echo "$as_me:3646: result: no" >&5
+-echo "${ECHO_T}no" >&6
++
++    echo "configure:6261: result: $lt_cv_archive_cmds_need_lc" >&5
++echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
++    ;;
++  esac
+ fi
++need_lc=${lt_cv_archive_cmds_need_lc-yes}
++
++# The second clause should only fire when bootstrapping the
++# libtool distribution, otherwise you forgot to ship ltmain.sh
++# with your package, and you will get complaints that there are
++# no rules to generate ltmain.sh.
++if test -f "$ltmain"; then
++  :
++else
++  # If there is no Makefile yet, we rely on a make rule to execute
++  # `config.status --recheck' to rerun these tests and create the
++  # libtool script then.
++  test -f Makefile && make "$ltmain"
++fi
++
++if test -f "$ltmain"; then
++  trap "$rm \"${ofile}T\"; exit 1" 1 2 15
++  $rm -f "${ofile}T"
++
++  echo creating $ofile
++
++  # Now quote all the things that may contain metacharacters while being
++  # careful not to overquote the AC_SUBSTed values.  We take copies of the
++  # variables and quote the copies for generation of the libtool script.
++  for var in echo old_CC old_CFLAGS \
++    AR AR_FLAGS CC LD LN_S NM SHELL \
++    reload_flag reload_cmds wl \
++    pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \
++    thread_safe_flag_spec whole_archive_flag_spec libname_spec \
++    library_names_spec soname_spec \
++    RANLIB old_archive_cmds old_archive_from_new_cmds old_postinstall_cmds \
++    old_postuninstall_cmds archive_cmds archive_expsym_cmds postinstall_cmds \
++    postuninstall_cmds extract_expsyms_cmds old_archive_from_expsyms_cmds \
++    old_striplib striplib file_magic_cmd export_symbols_cmds \
++    deplibs_check_method allow_undefined_flag no_undefined_flag \
++    finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \
++    hardcode_libdir_flag_spec hardcode_libdir_separator  \
++    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
++    compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do
++
++    case $var in
++    reload_cmds | old_archive_cmds | old_archive_from_new_cmds | \
++    old_postinstall_cmds | old_postuninstall_cmds | \
++    export_symbols_cmds | archive_cmds | archive_expsym_cmds | \
++    extract_expsyms_cmds | old_archive_from_expsyms_cmds | \
++    postinstall_cmds | postuninstall_cmds | \
++    finish_cmds | sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
++      # Double-quote double-evaled strings.
++      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
++      ;;
++    *)
++      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
++      ;;
++    esac
++  done
++
++  cat <<__EOF__ > "${ofile}T"
++#! $SHELL
++
++# `$echo "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
++# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
++# NOTE: Changes made to this file will be lost: look at ltmain.sh.
++#
++# Copyright (C) 1996-2000 Free Software Foundation, Inc.
++# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
++#
++# 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
++#
++# As a special exception to the GNU General Public License, if you
++# distribute this file as part of a program that contains a
++# configuration script generated by Autoconf, you may include it under
++# the same distribution terms that you use for the rest of that program.
++
++# Sed that helps us avoid accidentally triggering echo(1) options like -n.
++Xsed="sed -e s/^X//"
++
++# The HP-UX ksh and POSIX shell print the target directory to stdout
++# if CDPATH is set.
++if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
++
++# ### BEGIN LIBTOOL CONFIG
++
++# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
++
++# Shell to use when invoking shell scripts.
++SHELL=$lt_SHELL
++
++# Whether or not to build shared libraries.
++build_libtool_libs=$enable_shared
++
++# Whether or not to add -lc for building shared libraries.
++build_libtool_need_lc=$need_lc
++
++# Whether or not to build static libraries.
++build_old_libs=$enable_static
++
++# Whether or not to optimize for fast installation.
++fast_install=$enable_fast_install
++
++# The host system.
++host_alias=$host_alias
++host=$host
++
++# An echo program that does not interpret backslashes.
++echo=$lt_echo
++
++# The archiver.
++AR=$lt_AR
++AR_FLAGS=$lt_AR_FLAGS
++
++# The default C compiler.
++CC=$lt_CC
++
++# Is the compiler the GNU C compiler?
++with_gcc=$GCC
++
++# The linker used to build libraries.
++LD=$lt_LD
++
++# Whether we need hard or soft links.
++LN_S=$lt_LN_S
++
++# A BSD-compatible nm program.
++NM=$lt_NM
++
++# A symbol stripping program
++STRIP=$STRIP
++
++# Used to examine libraries when file_magic_cmd begins "file"
++MAGIC_CMD=$MAGIC_CMD
++
++# Used on cygwin: DLL creation program.
++DLLTOOL="$DLLTOOL"
++
++# Used on cygwin: object dumper.
++OBJDUMP="$OBJDUMP"
++
++# Used on cygwin: assembler.
++AS="$AS"
++
++# The name of the directory that contains temporary libtool files.
++objdir=$objdir
++
++# How to create reloadable object files.
++reload_flag=$lt_reload_flag
++reload_cmds=$lt_reload_cmds
++
++# How to pass a linker flag through the compiler.
++wl=$lt_wl
++
++# Object file suffix (normally "o").
++objext="$ac_objext"
++
++# Old archive suffix (normally "a").
++libext="$libext"
++
++# Executable file suffix (normally "").
++exeext="$exeext"
++
++# Additional compiler flags for building library objects.
++pic_flag=$lt_pic_flag
++pic_mode=$pic_mode
++
++# Does compiler simultaneously support -c and -o options?
++compiler_c_o=$lt_compiler_c_o
++
++# Can we write directly to a .lo ?
++compiler_o_lo=$lt_compiler_o_lo
++
++# Must we lock files when doing compilation ?
++need_locks=$lt_need_locks
++
++# Do we need the lib prefix for modules?
++need_lib_prefix=$need_lib_prefix
++
++# Do we need a version for libraries?
++need_version=$need_version
++
++# Whether dlopen is supported.
++dlopen_support=$enable_dlopen
++
++# Whether dlopen of programs is supported.
++dlopen_self=$enable_dlopen_self
++
++# Whether dlopen of statically linked programs is supported.
++dlopen_self_static=$enable_dlopen_self_static
++
++# Compiler flag to prevent dynamic linking.
++link_static_flag=$lt_link_static_flag
++
++# Compiler flag to turn off builtin functions.
++no_builtin_flag=$lt_no_builtin_flag
++
++# Compiler flag to allow reflexive dlopens.
++export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
++
++# Compiler flag to generate shared objects directly from archives.
++whole_archive_flag_spec=$lt_whole_archive_flag_spec
++
++# Compiler flag to generate thread-safe objects.
++thread_safe_flag_spec=$lt_thread_safe_flag_spec
++
++# Library versioning type.
++version_type=$version_type
++
++# Format of library name prefix.
++libname_spec=$lt_libname_spec
++
++# List of archive names.  First name is the real one, the rest are links.
++# The last name is the one that the linker finds with -lNAME.
++library_names_spec=$lt_library_names_spec
++
++# The coded name of the library, if different from the real name.
++soname_spec=$lt_soname_spec
++
++# Commands used to build and install an old-style archive.
++RANLIB=$lt_RANLIB
++old_archive_cmds=$lt_old_archive_cmds
++old_postinstall_cmds=$lt_old_postinstall_cmds
++old_postuninstall_cmds=$lt_old_postuninstall_cmds
++
++# Create an old-style archive from a shared archive.
++old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
++
++# Create a temporary old-style archive to link instead of a shared archive.
++old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
++
++# Commands used to build and install a shared archive.
++archive_cmds=$lt_archive_cmds
++archive_expsym_cmds=$lt_archive_expsym_cmds
++postinstall_cmds=$lt_postinstall_cmds
++postuninstall_cmds=$lt_postuninstall_cmds
++
++# Commands to strip libraries.
++old_striplib=$lt_old_striplib
++striplib=$lt_striplib
++
++# Method to check whether dependent libraries are shared objects.
++deplibs_check_method=$lt_deplibs_check_method
++
++# Command to use when deplibs_check_method == file_magic.
++file_magic_cmd=$lt_file_magic_cmd
++
++# Flag that allows shared libraries with undefined symbols to be built.
++allow_undefined_flag=$lt_allow_undefined_flag
++
++# Flag that forces no undefined symbols.
++no_undefined_flag=$lt_no_undefined_flag
++
++# Commands used to finish a libtool library installation in a directory.
++finish_cmds=$lt_finish_cmds
++
++# Same as above, but a single script fragment to be evaled but not shown.
++finish_eval=$lt_finish_eval
++
++# Take the output of nm and produce a listing of raw symbols and C names.
++global_symbol_pipe=$lt_global_symbol_pipe
++
++# Transform the output of nm in a proper C declaration
++global_symbol_to_cdecl=$lt_global_symbol_to_cdecl
++
++# This is the shared library runtime path variable.
++runpath_var=$runpath_var
+ 
+-fi
+-if test -z "$ac_cv_prog_STRIP"; then
+-  ac_ct_STRIP=$STRIP
+-  # Extract the first word of "strip", so it can be a program name with args.
+-set dummy strip; ac_word=$2
+-echo "$as_me:3655: checking for $ac_word" >&5
+-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+-if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  if test -n "$ac_ct_STRIP"; then
+-  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
+-else
+-  ac_save_IFS=$IFS; IFS=':'
+-ac_dummy="$PATH"
+-for ac_dir in $ac_dummy; do
+-  IFS=$ac_save_IFS
+-  test -z "$ac_dir" && ac_dir=.
+-  $as_executable_p "$ac_dir/$ac_word" || continue
+-ac_cv_prog_ac_ct_STRIP="strip"
+-break
+-done
++# This is the shared library path variable.
++shlibpath_var=$shlibpath_var
+ 
+-  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
+-fi
+-fi
+-ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
+-if test -n "$ac_ct_STRIP"; then
+-  echo "$as_me:3678: result: $ac_ct_STRIP" >&5
+-echo "${ECHO_T}$ac_ct_STRIP" >&6
+-else
+-  echo "$as_me:3681: result: no" >&5
+-echo "${ECHO_T}no" >&6
+-fi
++# Is shlibpath searched before the hard-coded library search path?
++shlibpath_overrides_runpath=$shlibpath_overrides_runpath
+ 
+-  STRIP=$ac_ct_STRIP
+-else
+-  STRIP="$ac_cv_prog_STRIP"
+-fi
++# How to hardcode a shared library path into an executable.
++hardcode_action=$hardcode_action
+ 
+-# Check for any special flags to pass to ltconfig.
+-libtool_flags="--cache-file=$cache_file"
+-test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
+-test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
+-test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
+-test "$ac_cv_c_compiler_gnu" = yes && libtool_flags="$libtool_flags --with-gcc"
+-test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
++# Whether we should hardcode library paths into libraries.
++hardcode_into_libs=$hardcode_into_libs
+ 
+-# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
+-if test "${enable_libtool_lock+set}" = set; then
+-  enableval="$enable_libtool_lock"
++# Flag to hardcode \$libdir into a binary during linking.
++# This must work even if \$libdir does not exist.
++hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
+ 
+-fi;
+-test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
+-test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
++# Whether we need a single -rpath flag with a separated argument.
++hardcode_libdir_separator=$lt_hardcode_libdir_separator
+ 
+-# Check whether --with-pic or --without-pic was given.
+-if test "${with_pic+set}" = set; then
+-  withval="$with_pic"
+-  pic_mode="$withval"
+-else
+-  pic_mode=default
+-fi;
+-test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
+-test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
++# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
++# resulting binary.
++hardcode_direct=$hardcode_direct
+ 
+-# Some flags need to be propagated to the compiler or linker for good
+-# libtool support.
+-case "$host" in
+-*-*-irix6*)
+-  # Find out which ABI we are using.
+-  echo '#line 3721 "configure"' > conftest.$ac_ext
+-  if { (eval echo "$as_me:3722: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:3725: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-    case "`/usr/bin/file conftest.o`" in
+-    *32-bit*)
+-      LD="${LD-ld} -32"
+-      ;;
+-    *N32*)
+-      LD="${LD-ld} -n32"
+-      ;;
+-    *64-bit*)
+-      LD="${LD-ld} -64"
+-      ;;
+-    esac
+-  fi
+-  rm -rf conftest*
+-  ;;
++# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
++# resulting binary.
++hardcode_minus_L=$hardcode_minus_L
+ 
+-*-*-sco3.2v5*)
+-  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
+-  SAVE_CFLAGS="$CFLAGS"
+-  CFLAGS="$CFLAGS -belf"
+-  echo "$as_me:3746: checking whether the C compiler needs -belf" >&5
+-echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
+-if test "${lt_cv_cc_needs_belf+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
++# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
++# the resulting binary.
++hardcode_shlibpath_var=$hardcode_shlibpath_var
+ 
+-     ac_ext=c
+-ac_cpp='$CPP $CPPFLAGS'
+-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+-ac_compiler_gnu=$ac_cv_c_compiler_gnu
++# Variables whose values should be saved in libtool wrapper scripts and
++# restored at relink time.
++variables_saved_for_relink="$variables_saved_for_relink"
+ 
+-     cat >conftest.$ac_ext <<_ACEOF
+-#line 3759 "configure"
+-#include "confdefs.h"
++# Whether libtool must link a program against all its dependency libraries.
++link_all_deplibs=$link_all_deplibs
+ 
+-int
+-main ()
+-{
++# Compile-time system search path for libraries
++sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
+ 
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:3771: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:3774: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:3776: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:3779: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  lt_cv_cc_needs_belf=yes
+-else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-lt_cv_cc_needs_belf=no
+-fi
+-rm -f conftest$ac_exeext conftest.$ac_ext
+-     ac_ext=c
+-ac_cpp='$CPP $CPPFLAGS'
+-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+-ac_compiler_gnu=$ac_cv_c_compiler_gnu
++# Run-time system search path for libraries
++sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
+ 
+-fi
+-echo "$as_me:3795: result: $lt_cv_cc_needs_belf" >&5
+-echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
+-  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
+-    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
+-    CFLAGS="$SAVE_CFLAGS"
+-  fi
+-  ;;
++# Fix the shell variable \$srcfile for the compiler.
++fix_srcfile_path="$fix_srcfile_path"
+ 
+-esac
++# Set to yes if exported symbols are required.
++always_export_symbols=$always_export_symbols
+ 
+-# Save cache, so that ltconfig can load it
+-cat >confcache <<\_ACEOF
+-# 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, see configure's option --config-cache.
+-# It is not useful on other systems.  If it contains results you don't
+-# want to keep, you may remove or edit it.
+-#
+-# config.status only pays attention to the cache file if you give it
+-# the --recheck option to rerun configure.
+-#
+-# `ac_cv_env_foo' variables (set or unset) will be overriden when
+-# loading this file, other *unset* `ac_cv_foo' will be assigned the
+-# following values.
++# The commands to list exported symbols.
++export_symbols_cmds=$lt_export_symbols_cmds
+ 
+-_ACEOF
++# The commands to extract the exported symbol list from a shared archive.
++extract_expsyms_cmds=$lt_extract_expsyms_cmds
+ 
+-# The following way of writing the cache mishandles newlines in values,
+-# but we know of no workaround that is simple, portable, and efficient.
+-# So, don't put newlines in cache variables' values.
+-# Ultrix sh set writes to stderr and can't be redirected directly,
+-# and sets the high bit in the cache file unless we assign to the vars.
+-{
+-  (set) 2>&1 |
+-    case `(ac_space=' '; set | grep ac_space) 2>&1` in
+-    *ac_space=\ *)
+-      # `set' does not quote correctly, so add quotes (double-quote
+-      # substitution turns \\\\ into \\, and sed turns \\ into \).
+-      sed -n \
+-        "s/'/'\\\\''/g;
+-    	  s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
+-      ;;
+-    *)
+-      # `set' quotes correctly as required by POSIX, so do not add quotes.
+-      sed -n \
+-        "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
+-      ;;
+-    esac;
+-} |
+-  sed '
+-     t clear
+-     : clear
+-     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
+-     t end
+-     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
+-     : end' >>confcache
+-if cmp -s $cache_file confcache; then :; else
+-  if test -w $cache_file; then
+-    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
+-    cat confcache >$cache_file
+-  else
+-    echo "not updating unwritable cache $cache_file"
+-  fi
++# Symbols that should not be listed in the preloaded symbols.
++exclude_expsyms=$lt_exclude_expsyms
++
++# Symbols that must always be exported.
++include_expsyms=$lt_include_expsyms
++
++# ### END LIBTOOL CONFIG
++
++__EOF__
++
++  case $host_os in
++  aix3*)
++    cat <<\EOF >> "${ofile}T"
++
++# AIX sometimes has problems with the GCC collect2 program.  For some
++# reason, if we set the COLLECT_NAMES environment variable, the problems
++# vanish in a puff of smoke.
++if test "X${COLLECT_NAMES+set}" != Xset; then
++  COLLECT_NAMES=
++  export COLLECT_NAMES
+ fi
+-rm -f confcache
++EOF
++    ;;
++  esac
++
++  case $host_os in
++  cygwin* | mingw* | pw32* | os2*)
++    cat <<'EOF' >> "${ofile}T"
++      # This is a source program that is used to create dlls on Windows
++      # Don't remove nor modify the starting and closing comments
++# /* ltdll.c starts here */
++# #define WIN32_LEAN_AND_MEAN
++# #include <windows.h>
++# #undef WIN32_LEAN_AND_MEAN
++# #include <stdio.h>
++#
++# #ifndef __CYGWIN__
++# #  ifdef __CYGWIN32__
++# #    define __CYGWIN__ __CYGWIN32__
++# #  endif
++# #endif
++#
++# #ifdef __cplusplus
++# extern "C" {
++# #endif
++# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
++# #ifdef __cplusplus
++# }
++# #endif
++#
++# #ifdef __CYGWIN__
++# #include <cygwin/cygwin_dll.h>
++# DECLARE_CYGWIN_DLL( DllMain );
++# #endif
++# HINSTANCE __hDllInstance_base;
++#
++# BOOL APIENTRY
++# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
++# {
++#   __hDllInstance_base = hInst;
++#   return TRUE;
++# }
++# /* ltdll.c ends here */
++        # This is a source program that is used to create import libraries
++        # on Windows for dlls which lack them. Don't remove nor modify the
++        # starting and closing comments
++# /* impgen.c starts here */
++# /*   Copyright (C) 1999-2000 Free Software Foundation, Inc.
++#
++#  This file is part of GNU libtool.
++#
++#  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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
++#  */
++#
++# #include <stdio.h>		/* for printf() */
++# #include <unistd.h>		/* for open(), lseek(), read() */
++# #include <fcntl.h>		/* for O_RDONLY, O_BINARY */
++# #include <string.h>		/* for strdup() */
++#
++# /* O_BINARY isn't required (or even defined sometimes) under Unix */
++# #ifndef O_BINARY
++# #define O_BINARY 0
++# #endif
++#
++# static unsigned int
++# pe_get16 (fd, offset)
++#      int fd;
++#      int offset;
++# {
++#   unsigned char b[2];
++#   lseek (fd, offset, SEEK_SET);
++#   read (fd, b, 2);
++#   return b[0] + (b[1]<<8);
++# }
++#
++# static unsigned int
++# pe_get32 (fd, offset)
++#     int fd;
++#     int offset;
++# {
++#   unsigned char b[4];
++#   lseek (fd, offset, SEEK_SET);
++#   read (fd, b, 4);
++#   return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
++# }
++#
++# static unsigned int
++# pe_as32 (ptr)
++#      void *ptr;
++# {
++#   unsigned char *b = ptr;
++#   return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
++# }
++#
++# int
++# main (argc, argv)
++#     int argc;
++#     char *argv[];
++# {
++#     int dll;
++#     unsigned long pe_header_offset, opthdr_ofs, num_entries, i;
++#     unsigned long export_rva, export_size, nsections, secptr, expptr;
++#     unsigned long name_rvas, nexp;
++#     unsigned char *expdata, *erva;
++#     char *filename, *dll_name;
++#
++#     filename = argv[1];
++#
++#     dll = open(filename, O_RDONLY|O_BINARY);
++#     if (dll < 1)
++# 	return 1;
++#
++#     dll_name = filename;
++#
++#     for (i=0; filename[i]; i++)
++# 	if (filename[i] == '/' || filename[i] == '\\'  || filename[i] == ':')
++# 	    dll_name = filename + i +1;
++#
++#     pe_header_offset = pe_get32 (dll, 0x3c);
++#     opthdr_ofs = pe_header_offset + 4 + 20;
++#     num_entries = pe_get32 (dll, opthdr_ofs + 92);
++#
++#     if (num_entries < 1) /* no exports */
++# 	return 1;
++#
++#     export_rva = pe_get32 (dll, opthdr_ofs + 96);
++#     export_size = pe_get32 (dll, opthdr_ofs + 100);
++#     nsections = pe_get16 (dll, pe_header_offset + 4 +2);
++#     secptr = (pe_header_offset + 4 + 20 +
++# 	      pe_get16 (dll, pe_header_offset + 4 + 16));
++#
++#     expptr = 0;
++#     for (i = 0; i < nsections; i++)
++#     {
++# 	char sname[8];
++# 	unsigned long secptr1 = secptr + 40 * i;
++# 	unsigned long vaddr = pe_get32 (dll, secptr1 + 12);
++# 	unsigned long vsize = pe_get32 (dll, secptr1 + 16);
++# 	unsigned long fptr = pe_get32 (dll, secptr1 + 20);
++# 	lseek(dll, secptr1, SEEK_SET);
++# 	read(dll, sname, 8);
++# 	if (vaddr <= export_rva && vaddr+vsize > export_rva)
++# 	{
++# 	    expptr = fptr + (export_rva - vaddr);
++# 	    if (export_rva + export_size > vaddr + vsize)
++# 		export_size = vsize - (export_rva - vaddr);
++# 	    break;
++# 	}
++#     }
++#
++#     expdata = (unsigned char*)malloc(export_size);
++#     lseek (dll, expptr, SEEK_SET);
++#     read (dll, expdata, export_size);
++#     erva = expdata - export_rva;
++#
++#     nexp = pe_as32 (expdata+24);
++#     name_rvas = pe_as32 (expdata+32);
++#
++#     printf ("EXPORTS\n");
++#     for (i = 0; i<nexp; i++)
++#     {
++# 	unsigned long name_rva = pe_as32 (erva+name_rvas+i*4);
++# 	printf ("\t%s @ %ld ;\n", erva+name_rva, 1+ i);
++#     }
++#
++#     return 0;
++# }
++# /* impgen.c ends here */
+ 
+-# Actually configure libtool.  ac_aux_dir is where install-sh is found.
+-AR="$AR" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
+-MAGIC="$MAGIC" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
+-LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
+-AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
+-objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
+-deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
+-${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
+-$libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
+-|| { { echo "$as_me:3870: error: libtool configure failed" >&5
+-echo "$as_me: error: libtool configure failed" >&2;}
+-   { (exit 1); exit 1; }; }
++EOF
++    ;;
++  esac
+ 
+-# Reload cache, that may have been modified by ltconfig
+-if test -r "$cache_file"; then
+-  # Some versions of bash will fail to source /dev/null (special
+-  # files actually), so we avoid doing that.
+-  if test -f "$cache_file"; then
+-    { echo "$as_me:3879: loading cache $cache_file" >&5
+-echo "$as_me: loading cache $cache_file" >&6;}
+-    case $cache_file in
+-      [\\/]* | ?:[\\/]* ) . $cache_file;;
+-      *)                      . ./$cache_file;;
+-    esac
+-  fi
+-else
+-  { echo "$as_me:3887: creating cache $cache_file" >&5
+-echo "$as_me: creating cache $cache_file" >&6;}
+-  >$cache_file
++  # We use sed instead of cat because bash on DJGPP gets confused if
++  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
++  # text mode, it properly converts lines to CR/LF.  This bash problem
++  # is reportedly fixed, but why not run on old versions too?
++  sed '$q' "$ltmain" >> "${ofile}T" || (rm -f "${ofile}T"; exit 1)
++
++  mv -f "${ofile}T" "$ofile" || \
++    (rm -f "$ofile" && cp "${ofile}T" "$ofile" && rm -f "${ofile}T")
++  chmod +x "$ofile"
+ fi
+ 
+ # This can be used to rebuild libtool when needed
+-LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh"
++LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
+ 
+ # Always use our own libtool.
+ LIBTOOL='$(SHELL) $(top_builddir)/libtool'
+ 
+-# Redirect the config.log output again, so that the ltconfig log is not
+-# clobbered by the next message.
+-exec 5>>./config.log
++# Prevent multiple expansion
+ 
+ WFLAGS_NOUNUSED=""
+ WFLAGS_NOIMPLICITINT=""
+@@ -3931,25 +6851,21 @@
+ 
+ do
+ ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
+-echo "$as_me:3934: checking for $ac_header" >&5
++
++echo "configure:6855: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 3940 "configure"
++#line 6861 "configure"
+ #include "confdefs.h"
+ #include <$ac_header>
++
+ _ACEOF
+-if { (eval echo "$as_me:3944: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
+-  (eval $ac_cpp conftest.$ac_ext >/dev/null) 2>conftest.er1
+-  ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
+-  rm -f conftest.er1
+-  cat conftest.err >&5
+-  echo "$as_me:3950: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  if test -s conftest.err; then
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:6867: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+   else
+     ac_cpp_err=
+@@ -3957,16 +6873,19 @@
+ else
+   ac_cpp_err=yes
+ fi
++
+ if test -z "$ac_cpp_err"; then
+   eval "$ac_ac_Header=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  cat conftest.err >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_Header=no"
+ fi
+-rm -f conftest.err conftest.$ac_ext
++rm -f conftest*
++
+ fi
+-echo "$as_me:3969: result: `eval echo '${'$ac_ac_Header'}'`" >&5
++echo "configure:6888: result: `eval echo '${'$ac_ac_Header'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
+ if test `eval echo '${'$ac_ac_Header'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -3978,7 +6897,7 @@
+ 
+ fi
+ 
+-echo "$as_me:3981: checking for dbopen" >&5
++echo "configure:6900: checking for dbopen" >&5
+ echo $ECHO_N "checking for dbopen... $ECHO_C" >&6
+ if test "${ac_cv_funclib_dbopen+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -3994,7 +6913,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 3997 "configure"
++#line 6916 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -4013,20 +6932,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:4016: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:4019: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:4021: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:4024: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:6935: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_dbopen=$ac_lib; else ac_cv_funclib_dbopen=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -4039,17 +6949,17 @@
+ eval "ac_res=\$ac_cv_funclib_dbopen"
+ 
+ if false; then
+-
++	
+ for ac_func in dbopen
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:4046: checking for $ac_func" >&5
++echo "configure:6956: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 4052 "configure"
++#line 6962 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -4080,25 +6990,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:4083: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:4086: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:4088: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:4091: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:6993: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:4101: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:7002: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -4122,13 +7023,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:4125: result: yes" >&5
++	echo "configure:7026: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_dbopen=no"
+ 	eval "LIB_dbopen="
+-	echo "$as_me:4131: result: no" >&5
++	echo "configure:7032: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -4142,12 +7043,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:4145: result: yes, in $ac_res" >&5
++	echo "configure:7046: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "$as_me:4150: checking for dbm_firstkey" >&5
++echo "configure:7051: checking for dbm_firstkey" >&5
+ echo $ECHO_N "checking for dbm_firstkey... $ECHO_C" >&6
+ if test "${ac_cv_funclib_dbm_firstkey+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -4163,7 +7064,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 4166 "configure"
++#line 7067 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -4175,20 +7076,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:4178: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:4181: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:4183: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:4186: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:7079: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_dbm_firstkey=$ac_lib; else ac_cv_funclib_dbm_firstkey=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -4201,17 +7093,17 @@
+ eval "ac_res=\$ac_cv_funclib_dbm_firstkey"
+ 
+ if false; then
+-
++	
+ for ac_func in dbm_firstkey
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:4208: checking for $ac_func" >&5
++echo "configure:7100: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 4214 "configure"
++#line 7106 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -4242,25 +7134,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:4245: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:4248: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:4250: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:4253: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:7137: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:4263: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:7146: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -4284,13 +7167,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:4287: result: yes" >&5
++	echo "configure:7170: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_dbm_firstkey=no"
+ 	eval "LIB_dbm_firstkey="
+-	echo "$as_me:4293: result: no" >&5
++	echo "configure:7176: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -4304,12 +7187,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:4307: result: yes, in $ac_res" >&5
++	echo "configure:7190: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "$as_me:4312: checking for db_create" >&5
++echo "configure:7195: checking for db_create" >&5
+ echo $ECHO_N "checking for db_create... $ECHO_C" >&6
+ if test "${ac_cv_funclib_db_create+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -4325,7 +7208,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 4328 "configure"
++#line 7211 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -4337,20 +7220,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:4340: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:4343: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:4345: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:4348: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:7223: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_db_create=$ac_lib; else ac_cv_funclib_db_create=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -4363,17 +7237,17 @@
+ eval "ac_res=\$ac_cv_funclib_db_create"
+ 
+ if false; then
+-
++	
+ for ac_func in db_create
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:4370: checking for $ac_func" >&5
++echo "configure:7244: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 4376 "configure"
++#line 7250 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -4404,25 +7278,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:4407: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:4410: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:4412: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:4415: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:7281: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:4425: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:7290: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -4446,13 +7311,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:4449: result: yes" >&5
++	echo "configure:7314: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_db_create=no"
+ 	eval "LIB_db_create="
+-	echo "$as_me:4455: result: no" >&5
++	echo "configure:7320: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -4466,7 +7331,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:4469: result: yes, in $ac_res" >&5
++	echo "configure:7334: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -4479,7 +7344,7 @@
+ 	DBLIB="$DBLIB $LIB_dbm_firstkey"
+ fi
+ 
+-echo "$as_me:4482: checking for inline" >&5
++echo "configure:7347: checking for inline" >&5
+ echo $ECHO_N "checking for inline... $ECHO_C" >&6
+ if test "${ac_cv_c_inline+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -4487,7 +7352,7 @@
+   ac_cv_c_inline=no
+ for ac_kw in inline __inline__ __inline; do
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 4490 "configure"
++#line 7355 "configure"
+ #include "confdefs.h"
+ #ifndef __cplusplus
+ $ac_kw int foo () {return 0; }
+@@ -4495,26 +7360,17 @@
+ 
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:4498: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:4501: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:4503: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:4506: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:7363: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_c_inline=$ac_kw; break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ done
+ 
+ fi
+-echo "$as_me:4517: result: $ac_cv_c_inline" >&5
++echo "configure:7373: result: $ac_cv_c_inline" >&5
+ echo "${ECHO_T}$ac_cv_c_inline" >&6
+ case $ac_cv_c_inline in
+   inline | yes) ;;
+@@ -4529,13 +7385,13 @@
+  ;;
+ esac
+ 
+-echo "$as_me:4532: checking for an ANSI C-conforming const" >&5
++echo "configure:7388: checking for an ANSI C-conforming const" >&5
+ echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
+ if test "${ac_cv_c_const+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 4538 "configure"
++#line 7394 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -4593,25 +7449,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:4596: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:4599: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:4601: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:4604: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:7452: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_c_const=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_c_const=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_c_const=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:4614: result: $ac_cv_c_const" >&5
++echo "configure:7461: result: $ac_cv_c_const" >&5
+ echo "${ECHO_T}$ac_cv_c_const" >&6
+ if test $ac_cv_c_const = no; then
+ 
+@@ -4621,13 +7468,13 @@
+ 
+ fi
+ 
+-echo "$as_me:4624: checking for ANSI C header files" >&5
++echo "configure:7471: checking for ANSI C header files" >&5
+ echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
+ if test "${ac_cv_header_stdc+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 4630 "configure"
++#line 7477 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ #include <stdarg.h>
+@@ -4635,15 +7482,9 @@
+ #include <float.h>
+ 
+ _ACEOF
+-if { (eval echo "$as_me:4638: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
+-  (eval $ac_cpp conftest.$ac_ext >/dev/null) 2>conftest.er1
+-  ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
+-  rm -f conftest.er1
+-  cat conftest.err >&5
+-  echo "$as_me:4644: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  if test -s conftest.err; then
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:7486: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+   else
+     ac_cpp_err=
+@@ -4651,19 +7492,21 @@
+ else
+   ac_cpp_err=yes
+ fi
++
+ if test -z "$ac_cpp_err"; then
+   ac_cv_header_stdc=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  cat conftest.err >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_header_stdc=no
+ fi
+-rm -f conftest.err conftest.$ac_ext
++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 <<_ACEOF
+-#line 4666 "configure"
++#line 7509 "configure"
+ #include "confdefs.h"
+ #include <string.h>
+ 
+@@ -4681,7 +7524,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 <<_ACEOF
+-#line 4684 "configure"
++#line 7527 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ 
+@@ -4702,7 +7545,7 @@
+   :
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 4705 "configure"
++#line 7548 "configure"
+ #include "confdefs.h"
+ #include <ctype.h>
+ #if ((' ' & 0x0FF) == 0x020)
+@@ -4728,27 +7571,20 @@
+ }
+ _ACEOF
+ rm -f conftest$ac_exeext
+-if { (eval echo "$as_me:4731: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:4734: \$? = $ac_status" >&5
+-  (exit $ac_status); } && { (eval echo "$as_me:4735: \"./conftest$ac_exeext\"") >&5
+-  (eval ./conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:4738: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:7574: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
++   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
+   :
+ else
+-  echo "$as_me: program exited with status $ac_status" >&5
+-echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_header_stdc=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_header_stdc=no
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
++
+ fi
+ fi
+-echo "$as_me:4751: result: $ac_cv_header_stdc" >&5
++echo "configure:7587: result: $ac_cv_header_stdc" >&5
+ echo "${ECHO_T}$ac_cv_header_stdc" >&6
+ if test $ac_cv_header_stdc = yes; then
+ 
+@@ -4758,61 +7594,13 @@
+ 
+ fi
+ 
+-for ac_header in stdlib.h string.h memory.h strings.h inttypes.h unistd.h
+-do
+-ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
+-echo "$as_me:4764: checking for $ac_header" >&5
+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+-if eval "test \"\${$ac_ac_Header+set}\" = set"; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  cat >conftest.$ac_ext <<_ACEOF
+-#line 4770 "configure"
+-#include "confdefs.h"
+-#include <$ac_header>
+-_ACEOF
+-if { (eval echo "$as_me:4774: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
+-  (eval $ac_cpp conftest.$ac_ext >/dev/null) 2>conftest.er1
+-  ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
+-  rm -f conftest.er1
+-  cat conftest.err >&5
+-  echo "$as_me:4780: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  if test -s conftest.err; then
+-    ac_cpp_err=$ac_c_preproc_warn_flag
+-  else
+-    ac_cpp_err=
+-  fi
+-else
+-  ac_cpp_err=yes
+-fi
+-if test -z "$ac_cpp_err"; then
+-  eval "$ac_ac_Header=yes"
+-else
+-  echo "$as_me: failed program was:" >&5
+-  cat conftest.$ac_ext >&5
+-  eval "$ac_ac_Header=no"
+-fi
+-rm -f conftest.err conftest.$ac_ext
+-fi
+-echo "$as_me:4799: result: `eval echo '${'$ac_ac_Header'}'`" >&5
+-echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
+-if test `eval echo '${'$ac_ac_Header'}'` = yes; then
+-  cat >>confdefs.h <<EOF
+-#define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
+-EOF
+-
+-fi
+-done
+-
+-echo "$as_me:4809: checking for size_t" >&5
++echo "configure:7597: checking for size_t" >&5
+ echo $ECHO_N "checking for size_t... $ECHO_C" >&6
+ if test "${ac_cv_type_size_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 4815 "configure"
++#line 7603 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -4827,25 +7615,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:4830: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:4833: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:4835: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:4838: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:7618: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_size_t=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_size_t=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_size_t=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:4848: result: $ac_cv_type_size_t" >&5
++echo "configure:7627: result: $ac_cv_type_size_t" >&5
+ echo "${ECHO_T}$ac_cv_type_size_t" >&6
+ if test $ac_cv_type_size_t = yes; then
+   :
+@@ -4857,13 +7636,13 @@
+ 
+ fi
+ 
+-echo "$as_me:4860: checking for pid_t" >&5
++echo "configure:7639: checking for pid_t" >&5
+ echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
+ if test "${ac_cv_type_pid_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 4866 "configure"
++#line 7645 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -4878,25 +7657,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:4881: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:4884: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:4886: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:4889: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:7660: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_pid_t=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_pid_t=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_pid_t=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:4899: result: $ac_cv_type_pid_t" >&5
++echo "configure:7669: result: $ac_cv_type_pid_t" >&5
+ echo "${ECHO_T}$ac_cv_type_pid_t" >&6
+ if test $ac_cv_type_pid_t = yes; then
+   :
+@@ -4908,13 +7678,13 @@
+ 
+ fi
+ 
+-echo "$as_me:4911: checking for uid_t in sys/types.h" >&5
++echo "configure:7681: checking for uid_t in sys/types.h" >&5
+ echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
+ if test "${ac_cv_type_uid_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 4917 "configure"
++#line 7687 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ 
+@@ -4928,7 +7698,7 @@
+ rm -f conftest*
+ 
+ fi
+-echo "$as_me:4931: result: $ac_cv_type_uid_t" >&5
++echo "configure:7701: result: $ac_cv_type_uid_t" >&5
+ echo "${ECHO_T}$ac_cv_type_uid_t" >&6
+ if test $ac_cv_type_uid_t = no; then
+ 
+@@ -4942,13 +7712,13 @@
+ 
+ fi
+ 
+-echo "$as_me:4945: checking return type of signal handlers" >&5
++echo "configure:7715: checking return type of signal handlers" >&5
+ echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
+ if test "${ac_cv_type_signal+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 4951 "configure"
++#line 7721 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #include <signal.h>
+@@ -4970,25 +7740,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:4973: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:4976: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:4978: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:4981: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:7743: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_signal=void
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_signal=int
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_signal=int
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:4991: result: $ac_cv_type_signal" >&5
++echo "configure:7752: result: $ac_cv_type_signal" >&5
+ echo "${ECHO_T}$ac_cv_type_signal" >&6
+ 
+ cat >>confdefs.h <<EOF
+@@ -4996,20 +7757,20 @@
+ EOF
+ 
+ if test "$ac_cv_type_signal" = "void" ; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define VOID_RETSIGTYPE 1
+ EOF
+ 
+ fi
+ 
+-echo "$as_me:5006: checking whether time.h and sys/time.h may both be included" >&5
++echo "configure:7767: checking whether time.h and sys/time.h may both be included" >&5
+ echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
+ if test "${ac_cv_header_time+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 5012 "configure"
++#line 7773 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #include <sys/time.h>
+@@ -5024,25 +7785,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:5027: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:5030: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:5032: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:5035: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:7788: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_header_time=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_header_time=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_header_time=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:5045: result: $ac_cv_header_time" >&5
++echo "configure:7797: result: $ac_cv_header_time" >&5
+ echo "${ECHO_T}$ac_cv_header_time" >&6
+ if test $ac_cv_header_time = yes; then
+ 
+@@ -5055,25 +7807,21 @@
+ for ac_header in standards.h
+ do
+ ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
+-echo "$as_me:5058: checking for $ac_header" >&5
++
++echo "configure:7811: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 5064 "configure"
++#line 7817 "configure"
+ #include "confdefs.h"
+ #include <$ac_header>
++
+ _ACEOF
+-if { (eval echo "$as_me:5068: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
+-  (eval $ac_cpp conftest.$ac_ext >/dev/null) 2>conftest.er1
+-  ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
+-  rm -f conftest.er1
+-  cat conftest.err >&5
+-  echo "$as_me:5074: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  if test -s conftest.err; then
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:7823: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+   else
+     ac_cpp_err=
+@@ -5081,16 +7829,19 @@
+ else
+   ac_cpp_err=yes
+ fi
++
+ if test -z "$ac_cpp_err"; then
+   eval "$ac_ac_Header=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  cat conftest.err >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_Header=no"
+ fi
+-rm -f conftest.err conftest.$ac_ext
++rm -f conftest*
++
+ fi
+-echo "$as_me:5093: result: `eval echo '${'$ac_ac_Header'}'`" >&5
++echo "configure:7844: result: `eval echo '${'$ac_ac_Header'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
+ if test `eval echo '${'$ac_ac_Header'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -5104,13 +7855,13 @@
+ 
+ cv=`echo "$i" | sed 'y%./+-%__p_%'`
+ 
+-echo "$as_me:5107: checking for $i" >&5
++echo "configure:7858: checking for $i" >&5
+ echo $ECHO_N "checking for $i... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_header_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 5113 "configure"
++#line 7864 "configure"
+ #include "confdefs.h"
+ \
+ #ifdef HAVE_STANDARDS_H
+@@ -5119,15 +7870,9 @@
+ #include <$i>
+ 
+ _ACEOF
+-if { (eval echo "$as_me:5122: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
+-  (eval $ac_cpp conftest.$ac_ext >/dev/null) 2>conftest.er1
+-  ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
+-  rm -f conftest.er1
+-  cat conftest.err >&5
+-  echo "$as_me:5128: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  if test -s conftest.err; then
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:7874: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+   else
+     ac_cpp_err=
+@@ -5135,16 +7880,19 @@
+ else
+   ac_cpp_err=yes
+ fi
++
+ if test -z "$ac_cpp_err"; then
+   eval "ac_cv_header_$cv=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  cat conftest.err >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_header_$cv=no"
+ fi
+-rm -f conftest.err conftest.$ac_ext
++rm -f conftest*
++
+ fi
+-echo "$as_me:5147: result: `eval echo '${'ac_cv_header_$cv'}'`" >&5
++echo "configure:7895: result: `eval echo '${'ac_cv_header_$cv'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'ac_cv_header_$cv'}'`" >&6
+ ac_res=`eval echo \\$ac_cv_header_$cv`
+ if test "$ac_res" = yes; then
+@@ -5156,29 +7904,26 @@
+ fi
+ done
+ if false;then
++	
+ 
+ for ac_header in netinet/ip.h netinet/tcp.h
+ do
+ ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
+-echo "$as_me:5163: checking for $ac_header" >&5
++
++echo "configure:7913: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 5169 "configure"
++#line 7919 "configure"
+ #include "confdefs.h"
+ #include <$ac_header>
++
+ _ACEOF
+-if { (eval echo "$as_me:5173: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
+-  (eval $ac_cpp conftest.$ac_ext >/dev/null) 2>conftest.er1
+-  ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
+-  rm -f conftest.er1
+-  cat conftest.err >&5
+-  echo "$as_me:5179: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  if test -s conftest.err; then
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:7925: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+   else
+     ac_cpp_err=
+@@ -5186,16 +7931,19 @@
+ else
+   ac_cpp_err=yes
+ fi
++
+ if test -z "$ac_cpp_err"; then
+   eval "$ac_ac_Header=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  cat conftest.err >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_Header=no"
+ fi
+-rm -f conftest.err conftest.$ac_ext
++rm -f conftest*
++
+ fi
+-echo "$as_me:5198: result: `eval echo '${'$ac_ac_Header'}'`" >&5
++echo "configure:7946: result: `eval echo '${'$ac_ac_Header'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
+ if test `eval echo '${'$ac_ac_Header'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -5210,13 +7958,13 @@
+ for ac_func in getlogin setlogin
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:5213: checking for $ac_func" >&5
++echo "configure:7961: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 5219 "configure"
++#line 7967 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -5247,25 +7995,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:5250: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:5253: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:5255: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:5258: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:7998: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:5268: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:8007: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -5276,7 +8015,7 @@
+ done
+ 
+ if test "$ac_cv_func_getlogin" = yes; then
+-echo "$as_me:5279: checking if getlogin is posix" >&5
++echo "configure:8018: checking if getlogin is posix" >&5
+ echo $ECHO_N "checking if getlogin is posix... $ECHO_C" >&6
+ if test "${ac_cv_func_getlogin_posix+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -5289,10 +8028,10 @@
+ fi
+ 
+ fi
+-echo "$as_me:5292: result: $ac_cv_func_getlogin_posix" >&5
++echo "configure:8031: result: $ac_cv_func_getlogin_posix" >&5
+ echo "${ECHO_T}$ac_cv_func_getlogin_posix" >&6
+ if test "$ac_cv_func_getlogin_posix" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define POSIX_GETLOGIN 1
+ EOF
+@@ -5300,7 +8039,7 @@
+ fi
+ fi
+ 
+-echo "$as_me:5303: checking if realloc if broken" >&5
++echo "configure:8042: checking if realloc if broken" >&5
+ echo $ECHO_N "checking if realloc if broken... $ECHO_C" >&6
+ if test "${ac_cv_func_realloc_broken+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -5311,7 +8050,7 @@
+   :
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 5314 "configure"
++#line 8053 "configure"
+ #include "confdefs.h"
+ 
+ #include <stddef.h>
+@@ -5324,30 +8063,22 @@
+ 
+ _ACEOF
+ rm -f conftest$ac_exeext
+-if { (eval echo "$as_me:5327: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:5330: \$? = $ac_status" >&5
+-  (exit $ac_status); } && { (eval echo "$as_me:5331: \"./conftest$ac_exeext\"") >&5
+-  (eval ./conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:5334: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:8066: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
++   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
+   :
+ else
+-  echo "$as_me: program exited with status $ac_status" >&5
+-echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_realloc_broken=yes
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_realloc_broken=yes
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+ 
+ fi
+-echo "$as_me:5347: result: $ac_cv_func_realloc_broken" >&5
++echo "configure:8078: result: $ac_cv_func_realloc_broken" >&5
+ echo "${ECHO_T}$ac_cv_func_realloc_broken" >&6
+ if test "$ac_cv_func_realloc_broken" = yes ; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define BROKEN_REALLOC 1
+ EOF
+@@ -5371,13 +8102,13 @@
+   WFLAGS_NOIMPLICITINT="-Wno-implicit-int"
+ fi
+ 
+-echo "$as_me:5374: checking for ssize_t" >&5
++echo "configure:8105: checking for ssize_t" >&5
+ echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
+ if test "${ac_cv_type_ssize_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 5380 "configure"
++#line 8111 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -5395,7 +8126,7 @@
+ rm -f conftest*
+ 
+ fi
+-echo "$as_me:5398: result: $ac_cv_type_ssize_t" >&5
++echo "configure:8129: result: $ac_cv_type_ssize_t" >&5
+ echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
+ if test $ac_cv_type_ssize_t = no; then
+ 
+@@ -5406,13 +8137,13 @@
+ fi
+ 
+ cv=`echo "long long" | sed 'y%./+- %__p__%'`
+-echo "$as_me:5409: checking for long long" >&5
++echo "configure:8140: checking for long long" >&5
+ echo $ECHO_N "checking for long long... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 5415 "configure"
++#line 8146 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -5429,37 +8160,28 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:5432: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:5435: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:5437: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:5440: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:8163: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_type_$cv=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_type_$cv=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_type_$cv=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:5451: result: $ac_foo" >&5
++echo "configure:8173: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo long long | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:5456: checking for long long" >&5
++	echo "configure:8178: checking for long long" >&5
+ echo $ECHO_N "checking for long long... $ECHO_C" >&6
+ if test "${ac_cv_type_long_long+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 5462 "configure"
++#line 8184 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -5474,25 +8196,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:5477: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:5480: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:5482: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:5485: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:8199: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_long_long=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_long_long=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_long_long=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:5495: result: $ac_cv_type_long_long" >&5
++echo "configure:8208: result: $ac_cv_type_long_long" >&5
+ echo "${ECHO_T}$ac_cv_type_long_long" >&6
+ if test $ac_cv_type_long_long = yes; then
+ 
+@@ -5563,25 +8276,21 @@
+ 
+ do
+ ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
+-echo "$as_me:5566: checking for $ac_header" >&5
++
++echo "configure:8280: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 5572 "configure"
++#line 8286 "configure"
+ #include "confdefs.h"
+ #include <$ac_header>
++
+ _ACEOF
+-if { (eval echo "$as_me:5576: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
+-  (eval $ac_cpp conftest.$ac_ext >/dev/null) 2>conftest.er1
+-  ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
+-  rm -f conftest.er1
+-  cat conftest.err >&5
+-  echo "$as_me:5582: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  if test -s conftest.err; then
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:8292: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+   else
+     ac_cpp_err=
+@@ -5589,16 +8298,19 @@
+ else
+   ac_cpp_err=yes
+ fi
++
+ if test -z "$ac_cpp_err"; then
+   eval "$ac_ac_Header=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  cat conftest.err >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_Header=no"
+ fi
+-rm -f conftest.err conftest.$ac_ext
++rm -f conftest*
++
+ fi
+-echo "$as_me:5601: result: `eval echo '${'$ac_ac_Header'}'`" >&5
++echo "configure:8313: result: `eval echo '${'$ac_ac_Header'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
+ if test `eval echo '${'$ac_ac_Header'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -5608,6 +8320,8 @@
+ fi
+ done
+ 
++	
++
+ if test "$ac_cv_header_err_h" = yes; then
+   have_err_h_TRUE=
+   have_err_h_FALSE='#'
+@@ -5654,13 +8368,13 @@
+   v6type=unknown
+ v6lib=none
+ 
+-echo "$as_me:5657: checking ipv6 stack type" >&5
++echo "configure:8371: checking ipv6 stack type" >&5
+ echo $ECHO_N "checking ipv6 stack type... $ECHO_C" >&6
+ for i in v6d toshiba kame inria zeta linux; do
+ 	case $i in
+ 	v6d)
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 5663 "configure"
++#line 8377 "configure"
+ #include "confdefs.h"
+ 
+ #include </usr/local/v6/include/sys/types.h>
+@@ -5679,7 +8393,7 @@
+ 		;;
+ 	toshiba)
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 5682 "configure"
++#line 8396 "configure"
+ #include "confdefs.h"
+ 
+ #include <sys/param.h>
+@@ -5698,7 +8412,7 @@
+ 		;;
+ 	kame)
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 5701 "configure"
++#line 8415 "configure"
+ #include "confdefs.h"
+ 
+ #include <netinet/in.h>
+@@ -5717,7 +8431,7 @@
+ 		;;
+ 	inria)
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 5720 "configure"
++#line 8434 "configure"
+ #include "confdefs.h"
+ 
+ #include <netinet/in.h>
+@@ -5734,7 +8448,7 @@
+ 		;;
+ 	zeta)
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 5737 "configure"
++#line 8451 "configure"
+ #include "confdefs.h"
+ 
+ #include <sys/param.h>
+@@ -5764,7 +8478,7 @@
+ 		break
+ 	fi
+ done
+-echo "$as_me:5767: result: $v6type" >&5
++echo "configure:8481: result: $v6type" >&5
+ echo "${ECHO_T}$v6type" >&6
+ 
+ if test "$v6lib" != "none"; then
+@@ -5776,7 +8490,7 @@
+ 	done
+ fi
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 5779 "configure"
++#line 8493 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_SYS_TYPES_H
+@@ -5811,28 +8525,19 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:5814: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:5817: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:5819: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:5822: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:8528: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_lib_ipv6=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_lib_ipv6=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_lib_ipv6=no
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+ 
+-echo "$as_me:5833: checking for IPv6" >&5
++echo "configure:8538: checking for IPv6" >&5
+ echo $ECHO_N "checking for IPv6... $ECHO_C" >&6
+-echo "$as_me:5835: result: $ac_cv_lib_ipv6" >&5
++echo "configure:8540: result: $ac_cv_lib_ipv6" >&5
+ echo "${ECHO_T}$ac_cv_lib_ipv6" >&6
+ if test "$ac_cv_lib_ipv6" = yes; then
+ 
+@@ -5842,7 +8547,7 @@
+ 
+ fi
+ 
+-echo "$as_me:5845: checking for socket" >&5
++echo "configure:8550: checking for socket" >&5
+ echo $ECHO_N "checking for socket... $ECHO_C" >&6
+ if test "${ac_cv_funclib_socket+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -5858,7 +8563,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 5861 "configure"
++#line 8566 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -5870,20 +8575,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:5873: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:5876: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:5878: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:5881: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:8578: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_socket=$ac_lib; else ac_cv_funclib_socket=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -5896,17 +8592,17 @@
+ eval "ac_res=\$ac_cv_funclib_socket"
+ 
+ if false; then
+-
++	
+ for ac_func in socket
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:5903: checking for $ac_func" >&5
++echo "configure:8599: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 5909 "configure"
++#line 8605 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -5937,25 +8633,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:5940: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:5943: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:5945: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:5948: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:8636: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:5958: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:8645: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -5979,13 +8666,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:5982: result: yes" >&5
++	echo "configure:8669: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_socket=no"
+ 	eval "LIB_socket="
+-	echo "$as_me:5988: result: no" >&5
++	echo "configure:8675: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -5999,7 +8686,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:6002: result: yes, in $ac_res" >&5
++	echo "configure:8689: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -6008,7 +8695,7 @@
+ 	LIBS="$LIB_socket $LIBS"
+ fi
+ 
+-echo "$as_me:6011: checking for gethostbyname" >&5
++echo "configure:8698: checking for gethostbyname" >&5
+ echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
+ if test "${ac_cv_funclib_gethostbyname+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -6024,7 +8711,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 6027 "configure"
++#line 8714 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -6036,20 +8723,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:6039: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:6042: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:6044: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:6047: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:8726: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_gethostbyname=$ac_lib; else ac_cv_funclib_gethostbyname=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -6062,17 +8740,17 @@
+ eval "ac_res=\$ac_cv_funclib_gethostbyname"
+ 
+ if false; then
+-
++	
+ for ac_func in gethostbyname
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:6069: checking for $ac_func" >&5
++echo "configure:8747: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 6075 "configure"
++#line 8753 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -6103,25 +8781,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:6106: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:6109: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:6111: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:6114: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:8784: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:6124: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:8793: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -6145,13 +8814,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:6148: result: yes" >&5
++	echo "configure:8817: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_gethostbyname=no"
+ 	eval "LIB_gethostbyname="
+-	echo "$as_me:6154: result: no" >&5
++	echo "configure:8823: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -6165,7 +8834,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:6168: result: yes, in $ac_res" >&5
++	echo "configure:8837: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -6174,7 +8843,7 @@
+ 	LIBS="$LIB_gethostbyname $LIBS"
+ fi
+ 
+-echo "$as_me:6177: checking for syslog" >&5
++echo "configure:8846: checking for syslog" >&5
+ echo $ECHO_N "checking for syslog... $ECHO_C" >&6
+ if test "${ac_cv_funclib_syslog+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -6190,7 +8859,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 6193 "configure"
++#line 8862 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -6202,20 +8871,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:6205: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:6208: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:6210: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:6213: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:8874: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_syslog=$ac_lib; else ac_cv_funclib_syslog=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -6228,17 +8888,17 @@
+ eval "ac_res=\$ac_cv_funclib_syslog"
+ 
+ if false; then
+-
++	
+ for ac_func in syslog
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:6235: checking for $ac_func" >&5
++echo "configure:8895: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 6241 "configure"
++#line 8901 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -6269,25 +8929,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:6272: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:6275: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:6277: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:6280: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:8932: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:6290: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:8941: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -6311,13 +8962,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:6314: result: yes" >&5
++	echo "configure:8965: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_syslog=no"
+ 	eval "LIB_syslog="
+-	echo "$as_me:6320: result: no" >&5
++	echo "configure:8971: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -6331,7 +8982,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:6334: result: yes, in $ac_res" >&5
++	echo "configure:8985: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -6340,7 +8991,7 @@
+ 	LIBS="$LIB_syslog $LIBS"
+ fi
+ 
+-echo "$as_me:6343: checking for gethostbyname2" >&5
++echo "configure:8994: checking for gethostbyname2" >&5
+ echo $ECHO_N "checking for gethostbyname2... $ECHO_C" >&6
+ if test "${ac_cv_funclib_gethostbyname2+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -6356,7 +9007,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 6359 "configure"
++#line 9010 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -6368,20 +9019,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:6371: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:6374: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:6376: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:6379: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:9022: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_gethostbyname2=$ac_lib; else ac_cv_funclib_gethostbyname2=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -6394,17 +9036,17 @@
+ eval "ac_res=\$ac_cv_funclib_gethostbyname2"
+ 
+ if false; then
+-
++	
+ for ac_func in gethostbyname2
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:6401: checking for $ac_func" >&5
++echo "configure:9043: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 6407 "configure"
++#line 9049 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -6435,25 +9077,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:6438: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:6441: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:6443: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:6446: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:9080: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:6456: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:9089: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -6477,13 +9110,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:6480: result: yes" >&5
++	echo "configure:9113: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_gethostbyname2=no"
+ 	eval "LIB_gethostbyname2="
+-	echo "$as_me:6486: result: no" >&5
++	echo "configure:9119: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -6497,7 +9130,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:6500: result: yes, in $ac_res" >&5
++	echo "configure:9133: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -6506,7 +9139,7 @@
+ 	LIBS="$LIB_gethostbyname2 $LIBS"
+ fi
+ 
+-echo "$as_me:6509: checking for res_search" >&5
++echo "configure:9142: checking for res_search" >&5
+ echo $ECHO_N "checking for res_search... $ECHO_C" >&6
+ if test "${ac_cv_funclib_res_search+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -6522,7 +9155,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 6525 "configure"
++#line 9158 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -6548,20 +9181,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:6551: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:6554: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:6556: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:6559: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:9184: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_res_search=$ac_lib; else ac_cv_funclib_res_search=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -6574,17 +9198,17 @@
+ eval "ac_res=\$ac_cv_funclib_res_search"
+ 
+ if false; then
+-
++	
+ for ac_func in res_search
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:6581: checking for $ac_func" >&5
++echo "configure:9205: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 6587 "configure"
++#line 9211 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -6615,25 +9239,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:6618: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:6621: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:6623: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:6626: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:9242: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:6636: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:9251: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -6657,13 +9272,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:6660: result: yes" >&5
++	echo "configure:9275: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_res_search=no"
+ 	eval "LIB_res_search="
+-	echo "$as_me:6666: result: no" >&5
++	echo "configure:9281: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -6677,7 +9292,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:6680: result: yes, in $ac_res" >&5
++	echo "configure:9295: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -6686,7 +9301,7 @@
+ 	LIBS="$LIB_res_search $LIBS"
+ fi
+ 
+-echo "$as_me:6689: checking for dn_expand" >&5
++echo "configure:9304: checking for dn_expand" >&5
+ echo $ECHO_N "checking for dn_expand... $ECHO_C" >&6
+ if test "${ac_cv_funclib_dn_expand+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -6702,7 +9317,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 6705 "configure"
++#line 9320 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -6728,20 +9343,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:6731: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:6734: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:6736: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:6739: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:9346: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_dn_expand=$ac_lib; else ac_cv_funclib_dn_expand=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -6754,17 +9360,17 @@
+ eval "ac_res=\$ac_cv_funclib_dn_expand"
+ 
+ if false; then
+-
++	
+ for ac_func in dn_expand
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:6761: checking for $ac_func" >&5
++echo "configure:9367: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 6767 "configure"
++#line 9373 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -6795,25 +9401,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:6798: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:6801: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:6803: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:6806: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:9404: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:6816: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:9413: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -6837,13 +9434,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:6840: result: yes" >&5
++	echo "configure:9437: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_dn_expand=no"
+ 	eval "LIB_dn_expand="
+-	echo "$as_me:6846: result: no" >&5
++	echo "configure:9443: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -6857,7 +9454,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:6860: result: yes, in $ac_res" >&5
++	echo "configure:9457: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -6866,7 +9463,7 @@
+ 	LIBS="$LIB_dn_expand $LIBS"
+ fi
+ 
+-echo "$as_me:6869: checking for working snprintf" >&5
++echo "configure:9466: checking for working snprintf" >&5
+ echo $ECHO_N "checking for working snprintf... $ECHO_C" >&6
+ if test "${ac_cv_func_snprintf_working+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -6876,7 +9473,7 @@
+   :
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 6879 "configure"
++#line 9476 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -6889,30 +9486,23 @@
+ }
+ _ACEOF
+ rm -f conftest$ac_exeext
+-if { (eval echo "$as_me:6892: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:6895: \$? = $ac_status" >&5
+-  (exit $ac_status); } && { (eval echo "$as_me:6896: \"./conftest$ac_exeext\"") >&5
+-  (eval ./conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:6899: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:9489: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
++   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
+   :
+ else
+-  echo "$as_me: program exited with status $ac_status" >&5
+-echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_snprintf_working=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_snprintf_working=no
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
++
+ fi
+-echo "$as_me:6911: result: $ac_cv_func_snprintf_working" >&5
++echo "configure:9501: result: $ac_cv_func_snprintf_working" >&5
+ echo "${ECHO_T}$ac_cv_func_snprintf_working" >&6
+ 
+ if test "$ac_cv_func_snprintf_working" = yes; then
+-
++	
+ cat >>confdefs.h <<EOF
+ #define HAVE_SNPRINTF 1
+ EOF
+@@ -6921,13 +9511,13 @@
+ if test "$ac_cv_func_snprintf_working" = yes; then
+ 
+ if test "$ac_cv_func_snprintf+set" != set -o "$ac_cv_func_snprintf" = yes; then
+-echo "$as_me:6924: checking if snprintf needs a prototype" >&5
++echo "configure:9514: checking if snprintf needs a prototype" >&5
+ echo $ECHO_N "checking if snprintf needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_snprintf_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 6930 "configure"
++#line 9520 "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
+ int
+@@ -6942,29 +9532,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:6945: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:6948: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:6950: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:6953: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:9535: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_snprintf_noproto=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_snprintf_noproto=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_snprintf_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:6963: result: $ac_cv_func_snprintf_noproto" >&5
++echo "configure:9544: result: $ac_cv_func_snprintf_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_snprintf_noproto" >&6
+ 
+ if test "$ac_cv_func_snprintf_noproto" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define NEED_SNPRINTF_PROTO 1
+ EOF
+@@ -6975,7 +9556,7 @@
+ 
+ fi
+ 
+-echo "$as_me:6978: checking for working vsnprintf" >&5
++echo "configure:9559: checking for working vsnprintf" >&5
+ echo $ECHO_N "checking for working vsnprintf... $ECHO_C" >&6
+ if test "${ac_cv_func_vsnprintf_working+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -6985,7 +9566,7 @@
+   :
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 6988 "configure"
++#line 9569 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -7008,30 +9589,23 @@
+ }
+ _ACEOF
+ rm -f conftest$ac_exeext
+-if { (eval echo "$as_me:7011: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:7014: \$? = $ac_status" >&5
+-  (exit $ac_status); } && { (eval echo "$as_me:7015: \"./conftest$ac_exeext\"") >&5
+-  (eval ./conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:7018: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:9592: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
++   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
+   :
+ else
+-  echo "$as_me: program exited with status $ac_status" >&5
+-echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_vsnprintf_working=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_vsnprintf_working=no
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
++
+ fi
+-echo "$as_me:7030: result: $ac_cv_func_vsnprintf_working" >&5
++echo "configure:9604: result: $ac_cv_func_vsnprintf_working" >&5
+ echo "${ECHO_T}$ac_cv_func_vsnprintf_working" >&6
+ 
+ if test "$ac_cv_func_vsnprintf_working" = yes; then
+-
++	
+ cat >>confdefs.h <<EOF
+ #define HAVE_VSNPRINTF 1
+ EOF
+@@ -7040,13 +9614,13 @@
+ if test "$ac_cv_func_vsnprintf_working" = yes; then
+ 
+ if test "$ac_cv_func_vsnprintf+set" != set -o "$ac_cv_func_vsnprintf" = yes; then
+-echo "$as_me:7043: checking if vsnprintf needs a prototype" >&5
++echo "configure:9617: checking if vsnprintf needs a prototype" >&5
+ echo $ECHO_N "checking if vsnprintf needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_vsnprintf_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 7049 "configure"
++#line 9623 "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
+ int
+@@ -7061,29 +9635,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:7064: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:7067: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:7069: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:7072: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:9638: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_vsnprintf_noproto=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_vsnprintf_noproto=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_vsnprintf_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:7082: result: $ac_cv_func_vsnprintf_noproto" >&5
++echo "configure:9647: result: $ac_cv_func_vsnprintf_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_vsnprintf_noproto" >&6
+ 
+ if test "$ac_cv_func_vsnprintf_noproto" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define NEED_VSNPRINTF_PROTO 1
+ EOF
+@@ -7094,14 +9659,14 @@
+ 
+ fi
+ 
+-echo "$as_me:7097: checking for working glob" >&5
++echo "configure:9662: checking for working glob" >&5
+ echo $ECHO_N "checking for working glob... $ECHO_C" >&6
+ if test "${ac_cv_func_glob_working+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   ac_cv_func_glob_working=yes
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 7104 "configure"
++#line 9669 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -7117,29 +9682,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:7120: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:7123: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:7125: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:7128: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:9685: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   :
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_glob_working=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_glob_working=no
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:7138: result: $ac_cv_func_glob_working" >&5
++echo "configure:9694: result: $ac_cv_func_glob_working" >&5
+ echo "${ECHO_T}$ac_cv_func_glob_working" >&6
+ 
+ if test "$ac_cv_func_glob_working" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_GLOB 1
+ EOF
+@@ -7148,13 +9704,13 @@
+ if test "$ac_cv_func_glob_working" = yes; then
+ 
+ if test "$ac_cv_func_glob+set" != set -o "$ac_cv_func_glob" = yes; then
+-echo "$as_me:7151: checking if glob needs a prototype" >&5
++echo "configure:9707: checking if glob needs a prototype" >&5
+ echo $ECHO_N "checking if glob needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_glob_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 7157 "configure"
++#line 9713 "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
+ #include <glob.h>
+@@ -7170,29 +9726,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:7173: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:7176: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:7178: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:7181: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:9729: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_glob_noproto=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_glob_noproto=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_glob_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:7191: result: $ac_cv_func_glob_noproto" >&5
++echo "configure:9738: result: $ac_cv_func_glob_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_glob_noproto" >&6
+ 
+ if test "$ac_cv_func_glob_noproto" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define NEED_GLOB_PROTO 1
+ EOF
+@@ -7237,13 +9784,13 @@
+ 
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:7240: checking for $ac_func" >&5
++echo "configure:9787: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 7246 "configure"
++#line 9793 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -7274,25 +9821,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:7277: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:7280: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:7282: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:7285: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:9824: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:7295: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:9833: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -7306,7 +9844,7 @@
+ 	LIBOBJS="$LIBOBJS getcap.o"
+ fi
+ 
+-echo "$as_me:7309: checking for getsockopt" >&5
++echo "configure:9847: checking for getsockopt" >&5
+ echo $ECHO_N "checking for getsockopt... $ECHO_C" >&6
+ if test "${ac_cv_funclib_getsockopt+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -7322,7 +9860,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 7325 "configure"
++#line 9863 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_SYS_TYPES_H
+ #include <sys/types.h>
+@@ -7339,20 +9877,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:7342: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:7345: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:7347: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:7350: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:9880: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_getsockopt=$ac_lib; else ac_cv_funclib_getsockopt=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -7365,17 +9894,17 @@
+ eval "ac_res=\$ac_cv_funclib_getsockopt"
+ 
+ if false; then
+-
++	
+ for ac_func in getsockopt
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:7372: checking for $ac_func" >&5
++echo "configure:9901: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 7378 "configure"
++#line 9907 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -7406,25 +9935,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:7409: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:7412: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:7414: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:7417: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:9938: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:7427: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:9947: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -7448,13 +9968,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:7451: result: yes" >&5
++	echo "configure:9971: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_getsockopt=no"
+ 	eval "LIB_getsockopt="
+-	echo "$as_me:7457: result: no" >&5
++	echo "configure:9977: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -7468,12 +9988,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:7471: result: yes, in $ac_res" >&5
++	echo "configure:9991: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "$as_me:7476: checking for setsockopt" >&5
++echo "configure:9996: checking for setsockopt" >&5
+ echo $ECHO_N "checking for setsockopt... $ECHO_C" >&6
+ if test "${ac_cv_funclib_setsockopt+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -7489,7 +10009,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 7492 "configure"
++#line 10012 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_SYS_TYPES_H
+ #include <sys/types.h>
+@@ -7506,20 +10026,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:7509: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:7512: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:7514: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:7517: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:10029: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_setsockopt=$ac_lib; else ac_cv_funclib_setsockopt=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -7532,17 +10043,17 @@
+ eval "ac_res=\$ac_cv_funclib_setsockopt"
+ 
+ if false; then
+-
++	
+ for ac_func in setsockopt
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:7539: checking for $ac_func" >&5
++echo "configure:10050: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 7545 "configure"
++#line 10056 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -7573,25 +10084,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:7576: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:7579: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:7581: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:7584: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:10087: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:7594: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:10096: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -7615,13 +10117,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:7618: result: yes" >&5
++	echo "configure:10120: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_setsockopt=no"
+ 	eval "LIB_setsockopt="
+-	echo "$as_me:7624: result: no" >&5
++	echo "configure:10126: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -7635,12 +10137,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:7638: result: yes, in $ac_res" >&5
++	echo "configure:10140: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "$as_me:7643: checking for hstrerror" >&5
++echo "configure:10145: checking for hstrerror" >&5
+ echo $ECHO_N "checking for hstrerror... $ECHO_C" >&6
+ if test "${ac_cv_funclib_hstrerror+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -7656,7 +10158,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 7659 "configure"
++#line 10161 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_NETDB_H
+ #include <netdb.h>
+@@ -7670,20 +10172,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:7673: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:7676: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:7678: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:7681: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:10175: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_hstrerror=$ac_lib; else ac_cv_funclib_hstrerror=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -7696,17 +10189,17 @@
+ eval "ac_res=\$ac_cv_funclib_hstrerror"
+ 
+ if false; then
+-
++	
+ for ac_func in hstrerror
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:7703: checking for $ac_func" >&5
++echo "configure:10196: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 7709 "configure"
++#line 10202 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -7737,25 +10230,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:7740: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:7743: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:7745: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:7748: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:10233: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:7758: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:10242: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -7779,13 +10263,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:7782: result: yes" >&5
++	echo "configure:10266: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_hstrerror=no"
+ 	eval "LIB_hstrerror="
+-	echo "$as_me:7788: result: no" >&5
++	echo "configure:10272: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -7799,7 +10283,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:7802: result: yes, in $ac_res" >&5
++	echo "configure:10286: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -7815,13 +10299,13 @@
+ if test "$ac_cv_func_hstrerror" = yes; then
+ 
+ if test "$ac_cv_func_hstrerror+set" != set -o "$ac_cv_func_hstrerror" = yes; then
+-echo "$as_me:7818: checking if hstrerror needs a prototype" >&5
++echo "configure:10302: checking if hstrerror needs a prototype" >&5
+ echo $ECHO_N "checking if hstrerror needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_hstrerror_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 7824 "configure"
++#line 10308 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_NETDB_H
+@@ -7839,29 +10323,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:7842: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:7845: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:7847: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:7850: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:10326: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_hstrerror_noproto=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_hstrerror_noproto=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_hstrerror_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:7860: result: $ac_cv_func_hstrerror_noproto" >&5
++echo "configure:10335: result: $ac_cv_func_hstrerror_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_hstrerror_noproto" >&6
+ 
+ if test "$ac_cv_func_hstrerror_noproto" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define NEED_HSTRERROR_PROTO 1
+ EOF
+@@ -7875,13 +10350,13 @@
+ if test "$ac_cv_func_asprintf" = yes; then
+ 
+ if test "$ac_cv_func_asprintf+set" != set -o "$ac_cv_func_asprintf" = yes; then
+-echo "$as_me:7878: checking if asprintf needs a prototype" >&5
++echo "configure:10353: checking if asprintf needs a prototype" >&5
+ echo $ECHO_N "checking if asprintf needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_asprintf_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 7884 "configure"
++#line 10359 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -7898,29 +10373,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:7901: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:7904: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:7906: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:7909: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:10376: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_asprintf_noproto=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_asprintf_noproto=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_asprintf_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:7919: result: $ac_cv_func_asprintf_noproto" >&5
++echo "configure:10385: result: $ac_cv_func_asprintf_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_asprintf_noproto" >&6
+ 
+ if test "$ac_cv_func_asprintf_noproto" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define NEED_ASPRINTF_PROTO 1
+ EOF
+@@ -7932,13 +10398,13 @@
+ if test "$ac_cv_func_vasprintf" = yes; then
+ 
+ if test "$ac_cv_func_vasprintf+set" != set -o "$ac_cv_func_vasprintf" = yes; then
+-echo "$as_me:7935: checking if vasprintf needs a prototype" >&5
++echo "configure:10401: checking if vasprintf needs a prototype" >&5
+ echo $ECHO_N "checking if vasprintf needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_vasprintf_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 7941 "configure"
++#line 10407 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -7955,29 +10421,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:7958: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:7961: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:7963: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:7966: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:10424: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_vasprintf_noproto=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_vasprintf_noproto=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_vasprintf_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:7976: result: $ac_cv_func_vasprintf_noproto" >&5
++echo "configure:10433: result: $ac_cv_func_vasprintf_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_vasprintf_noproto" >&6
+ 
+ if test "$ac_cv_func_vasprintf_noproto" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define NEED_VASPRINTF_PROTO 1
+ EOF
+@@ -7989,13 +10446,13 @@
+ if test "$ac_cv_func_asnprintf" = yes; then
+ 
+ if test "$ac_cv_func_asnprintf+set" != set -o "$ac_cv_func_asnprintf" = yes; then
+-echo "$as_me:7992: checking if asnprintf needs a prototype" >&5
++echo "configure:10449: checking if asnprintf needs a prototype" >&5
+ echo $ECHO_N "checking if asnprintf needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_asnprintf_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 7998 "configure"
++#line 10455 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -8012,29 +10469,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:8015: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:8018: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:8020: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:8023: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:10472: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_asnprintf_noproto=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_asnprintf_noproto=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_asnprintf_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:8033: result: $ac_cv_func_asnprintf_noproto" >&5
++echo "configure:10481: result: $ac_cv_func_asnprintf_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_asnprintf_noproto" >&6
+ 
+ if test "$ac_cv_func_asnprintf_noproto" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define NEED_ASNPRINTF_PROTO 1
+ EOF
+@@ -8046,13 +10494,13 @@
+ if test "$ac_cv_func_vasnprintf" = yes; then
+ 
+ if test "$ac_cv_func_vasnprintf+set" != set -o "$ac_cv_func_vasnprintf" = yes; then
+-echo "$as_me:8049: checking if vasnprintf needs a prototype" >&5
++echo "configure:10497: checking if vasnprintf needs a prototype" >&5
+ echo $ECHO_N "checking if vasnprintf needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_vasnprintf_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 8055 "configure"
++#line 10503 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -8069,29 +10517,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:8072: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:8075: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:8077: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:8080: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:10520: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_vasnprintf_noproto=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_vasnprintf_noproto=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_vasnprintf_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:8090: result: $ac_cv_func_vasnprintf_noproto" >&5
++echo "configure:10529: result: $ac_cv_func_vasnprintf_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_vasnprintf_noproto" >&6
+ 
+ if test "$ac_cv_func_vasnprintf_noproto" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define NEED_VASNPRINTF_PROTO 1
+ EOF
+@@ -8101,7 +10540,7 @@
+ fi
+ fi
+ 
+-echo "$as_me:8104: checking for pidfile" >&5
++echo "configure:10543: checking for pidfile" >&5
+ echo $ECHO_N "checking for pidfile... $ECHO_C" >&6
+ if test "${ac_cv_funclib_pidfile+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -8117,7 +10556,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 8120 "configure"
++#line 10559 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_UTIL_H
+ #include <util.h>
+@@ -8131,20 +10570,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:8134: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:8137: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:8139: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:8142: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:10573: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_pidfile=$ac_lib; else ac_cv_funclib_pidfile=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -8157,17 +10587,17 @@
+ eval "ac_res=\$ac_cv_funclib_pidfile"
+ 
+ if false; then
+-
++	
+ for ac_func in pidfile
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:8164: checking for $ac_func" >&5
++echo "configure:10594: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 8170 "configure"
++#line 10600 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -8198,25 +10628,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:8201: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:8204: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:8206: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:8209: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:10631: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:8219: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:10640: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -8240,13 +10661,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:8243: result: yes" >&5
++	echo "configure:10664: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_pidfile=no"
+ 	eval "LIB_pidfile="
+-	echo "$as_me:8249: result: no" >&5
++	echo "configure:10670: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -8260,7 +10681,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:8263: result: yes, in $ac_res" >&5
++	echo "configure:10684: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -8334,13 +10755,13 @@
+ 
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:8337: checking for $ac_func" >&5
++echo "configure:10758: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 8343 "configure"
++#line 10764 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -8371,25 +10792,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:8374: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:8377: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:8379: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:8382: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:10795: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:8392: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:10804: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+ 
+@@ -8403,6 +10815,7 @@
+ fi
+ 
+ if false; then
++	
+ 
+ for ac_func in \
+ 	chown					\
+@@ -8473,13 +10886,13 @@
+ 
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:8476: checking for $ac_func" >&5
++echo "configure:10889: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 8482 "configure"
++#line 10895 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -8510,25 +10923,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:8513: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:8516: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:8518: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:8521: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:10926: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:8531: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:10935: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -8543,13 +10947,13 @@
+ 
+ for ac_func in inet_aton
+ do
+-echo "$as_me:8546: checking for $ac_func" >&5
++echo "configure:10950: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_func_$ac_func+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 8552 "configure"
++#line 10956 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_SYS_TYPES_H
+ #include <sys/types.h>
+@@ -8581,21 +10985,12 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:8584: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:8587: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:8589: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:8592: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:10988: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "ac_cv_func_$ac_func=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_$ac_func=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_$ac_func=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+@@ -8606,26 +11001,26 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-  echo "$as_me:8609: result: yes" >&5
++  echo "configure:11004: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ else
+-  echo "$as_me:8612: result: no" >&5
++  echo "configure:11007: result: no" >&5
+ echo "${ECHO_T}no" >&6
+   LIBOBJS="$LIBOBJS ${ac_func}.o"
+ fi
+ done
+ if false; then
+-
++	
+ for ac_func in inet_aton
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:8622: checking for $ac_func" >&5
++echo "configure:11017: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 8628 "configure"
++#line 11023 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -8656,25 +11051,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:8659: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:8662: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:8664: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:8667: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:11054: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:8677: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:11063: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -8688,13 +11074,13 @@
+ 
+ for ac_func in inet_ntop
+ do
+-echo "$as_me:8691: checking for $ac_func" >&5
++echo "configure:11077: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_func_$ac_func+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 8697 "configure"
++#line 11083 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_SYS_TYPES_H
+ #include <sys/types.h>
+@@ -8726,21 +11112,12 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:8729: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:8732: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:8734: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:8737: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:11115: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "ac_cv_func_$ac_func=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_$ac_func=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_$ac_func=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+@@ -8751,26 +11128,26 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-  echo "$as_me:8754: result: yes" >&5
++  echo "configure:11131: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ else
+-  echo "$as_me:8757: result: no" >&5
++  echo "configure:11134: result: no" >&5
+ echo "${ECHO_T}no" >&6
+   LIBOBJS="$LIBOBJS ${ac_func}.o"
+ fi
+ done
+ if false; then
+-
++	
+ for ac_func in inet_ntop
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:8767: checking for $ac_func" >&5
++echo "configure:11144: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 8773 "configure"
++#line 11150 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -8801,25 +11178,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:8804: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:8807: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:8809: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:8812: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:11181: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:8822: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:11190: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -8833,13 +11201,13 @@
+ 
+ for ac_func in inet_pton
+ do
+-echo "$as_me:8836: checking for $ac_func" >&5
++echo "configure:11204: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_func_$ac_func+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 8842 "configure"
++#line 11210 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_SYS_TYPES_H
+ #include <sys/types.h>
+@@ -8871,21 +11239,12 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:8874: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:8877: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:8879: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:8882: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:11242: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "ac_cv_func_$ac_func=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_$ac_func=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_$ac_func=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+@@ -8896,26 +11255,26 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-  echo "$as_me:8899: result: yes" >&5
++  echo "configure:11258: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ else
+-  echo "$as_me:8902: result: no" >&5
++  echo "configure:11261: result: no" >&5
+ echo "${ECHO_T}no" >&6
+   LIBOBJS="$LIBOBJS ${ac_func}.o"
+ fi
+ done
+ if false; then
+-
++	
+ for ac_func in inet_pton
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:8912: checking for $ac_func" >&5
++echo "configure:11271: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 8918 "configure"
++#line 11277 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -8946,25 +11305,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:8949: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:8952: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:8954: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:8957: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:11308: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:8967: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:11317: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -8976,14 +11326,14 @@
+ 
+ fi
+ 
+-echo "$as_me:8979: checking for sa_len in struct sockaddr" >&5
++echo "configure:11329: checking for sa_len in struct sockaddr" >&5
+ echo $ECHO_N "checking for sa_len in struct sockaddr... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_sockaddr_sa_len+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 8986 "configure"
++#line 11336 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #include <sys/socket.h>
+@@ -8996,48 +11346,39 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:8999: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9002: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:9004: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9007: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:11349: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_sockaddr_sa_len=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_struct_sockaddr_sa_len=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_struct_sockaddr_sa_len=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:9017: result: $ac_cv_type_struct_sockaddr_sa_len" >&5
++echo "configure:11358: result: $ac_cv_type_struct_sockaddr_sa_len" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_sockaddr_sa_len" >&6
+ if test "$ac_cv_type_struct_sockaddr_sa_len" = yes; then
+-
++	
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
+ EOF
+ 
++	
+ fi
+ 
+ if test "$ac_cv_func_getnameinfo" = "yes"; then
+ 
+-echo "$as_me:9029: checking if getnameinfo is broken" >&5
++echo "configure:11372: checking if getnameinfo is broken" >&5
+ echo $ECHO_N "checking if getnameinfo is broken... $ECHO_C" >&6
+ if test "${ac_cv_func_getnameinfo_broken+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   if test "$cross_compiling" = yes; then
+-  { { echo "$as_me:9035: error: cannot run test program while cross compiling" >&5
+-echo "$as_me: error: cannot run test program while cross compiling" >&2;}
+-   { (exit 1); exit 1; }; }
++  { echo "configure: error: cannot run test program while cross compiling" >&2; exit 1; }
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 9040 "configure"
++#line 11381 "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
+ #include <sys/types.h>
+@@ -9063,26 +11404,19 @@
+ 
+ _ACEOF
+ rm -f conftest$ac_exeext
+-if { (eval echo "$as_me:9066: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9069: \$? = $ac_status" >&5
+-  (exit $ac_status); } && { (eval echo "$as_me:9070: \"./conftest$ac_exeext\"") >&5
+-  (eval ./conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9073: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:11407: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
++   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
+   ac_cv_func_getnameinfo_broken=no
+ else
+-  echo "$as_me: program exited with status $ac_status" >&5
+-echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_getnameinfo_broken=yes
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_getnameinfo_broken=yes
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
++
+ fi
+-echo "$as_me:9085: result: $ac_cv_func_getnameinfo_broken" >&5
++echo "configure:11419: result: $ac_cv_func_getnameinfo_broken" >&5
+ echo "${ECHO_T}$ac_cv_func_getnameinfo_broken" >&6
+   if test "$ac_cv_func_getnameinfo_broken" = yes; then
+     LIBOBJS="$LIBOBJS getnameinfo.o"
+@@ -9090,13 +11424,13 @@
+ fi
+ 
+ if test "$ac_cv_func_setenv+set" != set -o "$ac_cv_func_setenv" = yes; then
+-echo "$as_me:9093: checking if setenv needs a prototype" >&5
++echo "configure:11427: checking if setenv needs a prototype" >&5
+ echo $ECHO_N "checking if setenv needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_setenv_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 9099 "configure"
++#line 11433 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ int
+@@ -9111,29 +11445,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:9114: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9117: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:9119: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9122: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:11448: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_setenv_noproto=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_setenv_noproto=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_setenv_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:9132: result: $ac_cv_func_setenv_noproto" >&5
++echo "configure:11457: result: $ac_cv_func_setenv_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_setenv_noproto" >&6
+ 
+ if test "$ac_cv_func_setenv_noproto" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define NEED_SETENV_PROTO 1
+ EOF
+@@ -9143,13 +11468,13 @@
+ fi
+ 
+ if test "$ac_cv_func_unsetenv+set" != set -o "$ac_cv_func_unsetenv" = yes; then
+-echo "$as_me:9146: checking if unsetenv needs a prototype" >&5
++echo "configure:11471: checking if unsetenv needs a prototype" >&5
+ echo $ECHO_N "checking if unsetenv needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_unsetenv_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 9152 "configure"
++#line 11477 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ int
+@@ -9164,29 +11489,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:9167: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9170: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:9172: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9175: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:11492: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_unsetenv_noproto=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_unsetenv_noproto=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_unsetenv_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:9185: result: $ac_cv_func_unsetenv_noproto" >&5
++echo "configure:11501: result: $ac_cv_func_unsetenv_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_unsetenv_noproto" >&6
+ 
+ if test "$ac_cv_func_unsetenv_noproto" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define NEED_UNSETENV_PROTO 1
+ EOF
+@@ -9196,13 +11512,13 @@
+ fi
+ 
+ if test "$ac_cv_func_gethostname+set" != set -o "$ac_cv_func_gethostname" = yes; then
+-echo "$as_me:9199: checking if gethostname needs a prototype" >&5
++echo "configure:11515: checking if gethostname needs a prototype" >&5
+ echo $ECHO_N "checking if gethostname needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_gethostname_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 9205 "configure"
++#line 11521 "configure"
+ #include "confdefs.h"
+ #include <unistd.h>
+ int
+@@ -9217,29 +11533,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:9220: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9223: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:9225: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9228: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:11536: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_gethostname_noproto=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_gethostname_noproto=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_gethostname_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:9238: result: $ac_cv_func_gethostname_noproto" >&5
++echo "configure:11545: result: $ac_cv_func_gethostname_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_gethostname_noproto" >&6
+ 
+ if test "$ac_cv_func_gethostname_noproto" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define NEED_GETHOSTNAME_PROTO 1
+ EOF
+@@ -9249,13 +11556,13 @@
+ fi
+ 
+ if test "$ac_cv_func_mkstemp+set" != set -o "$ac_cv_func_mkstemp" = yes; then
+-echo "$as_me:9252: checking if mkstemp needs a prototype" >&5
++echo "configure:11559: checking if mkstemp needs a prototype" >&5
+ echo $ECHO_N "checking if mkstemp needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_mkstemp_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 9258 "configure"
++#line 11565 "configure"
+ #include "confdefs.h"
+ #include <unistd.h>
+ int
+@@ -9270,29 +11577,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:9273: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9276: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:9278: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9281: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:11580: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_mkstemp_noproto=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_mkstemp_noproto=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_mkstemp_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:9291: result: $ac_cv_func_mkstemp_noproto" >&5
++echo "configure:11589: result: $ac_cv_func_mkstemp_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_mkstemp_noproto" >&6
+ 
+ if test "$ac_cv_func_mkstemp_noproto" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define NEED_MKSTEMP_PROTO 1
+ EOF
+@@ -9302,13 +11600,13 @@
+ fi
+ 
+ if test "$ac_cv_func_getusershell+set" != set -o "$ac_cv_func_getusershell" = yes; then
+-echo "$as_me:9305: checking if getusershell needs a prototype" >&5
++echo "configure:11603: checking if getusershell needs a prototype" >&5
+ echo $ECHO_N "checking if getusershell needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_getusershell_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 9311 "configure"
++#line 11609 "configure"
+ #include "confdefs.h"
+ #include <unistd.h>
+ int
+@@ -9323,29 +11621,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:9326: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9329: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:9331: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9334: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:11624: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_getusershell_noproto=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_getusershell_noproto=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_getusershell_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:9344: result: $ac_cv_func_getusershell_noproto" >&5
++echo "configure:11633: result: $ac_cv_func_getusershell_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_getusershell_noproto" >&6
+ 
+ if test "$ac_cv_func_getusershell_noproto" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define NEED_GETUSERSHELL_PROTO 1
+ EOF
+@@ -9355,13 +11644,13 @@
+ fi
+ 
+ if test "$ac_cv_func_inet_aton+set" != set -o "$ac_cv_func_inet_aton" = yes; then
+-echo "$as_me:9358: checking if inet_aton needs a prototype" >&5
++echo "configure:11647: checking if inet_aton needs a prototype" >&5
+ echo $ECHO_N "checking if inet_aton needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_inet_aton_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 9364 "configure"
++#line 11653 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_SYS_TYPES_H
+@@ -9388,29 +11677,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:9391: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9394: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:9396: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9399: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:11680: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_inet_aton_noproto=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_inet_aton_noproto=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_inet_aton_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:9409: result: $ac_cv_func_inet_aton_noproto" >&5
++echo "configure:11689: result: $ac_cv_func_inet_aton_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_inet_aton_noproto" >&6
+ 
+ if test "$ac_cv_func_inet_aton_noproto" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define NEED_INET_ATON_PROTO 1
+ EOF
+@@ -9419,7 +11699,7 @@
+ 
+ fi
+ 
+-echo "$as_me:9422: checking for crypt" >&5
++echo "configure:11702: checking for crypt" >&5
+ echo $ECHO_N "checking for crypt... $ECHO_C" >&6
+ if test "${ac_cv_funclib_crypt+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -9435,7 +11715,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 9438 "configure"
++#line 11718 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -9447,20 +11727,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:9450: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9453: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:9455: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9458: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:11730: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_crypt=$ac_lib; else ac_cv_funclib_crypt=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -9473,17 +11744,17 @@
+ eval "ac_res=\$ac_cv_funclib_crypt"
+ 
+ if false; then
+-
++	
+ for ac_func in crypt
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:9480: checking for $ac_func" >&5
++echo "configure:11751: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 9486 "configure"
++#line 11757 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -9514,25 +11785,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:9517: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9520: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:9522: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9525: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:11788: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:9535: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:11797: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -9556,13 +11818,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:9559: result: yes" >&5
++	echo "configure:11821: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_crypt=no"
+ 	eval "LIB_crypt="
+-	echo "$as_me:9565: result: no" >&5
++	echo "configure:11827: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -9576,18 +11838,18 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:9579: result: yes, in $ac_res" >&5
++	echo "configure:11841: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "$as_me:9584: checking if gethostbyname is compatible with system prototype" >&5
++echo "configure:11846: checking if gethostbyname is compatible with system prototype" >&5
+ echo $ECHO_N "checking if gethostbyname is compatible with system prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_gethostbyname_proto_compat+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 9590 "configure"
++#line 11852 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_SYS_TYPES_H
+@@ -9615,42 +11877,33 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:9618: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9621: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:9623: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9626: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:11880: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_gethostbyname_proto_compat=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_gethostbyname_proto_compat=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_gethostbyname_proto_compat=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:9636: result: $ac_cv_func_gethostbyname_proto_compat" >&5
++echo "configure:11889: result: $ac_cv_func_gethostbyname_proto_compat" >&5
+ echo "${ECHO_T}$ac_cv_func_gethostbyname_proto_compat" >&6
+ 
+ if test "$ac_cv_func_gethostbyname_proto_compat" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define GETHOSTBYNAME_PROTO_COMPATIBLE 1
+ EOF
+ 
+ fi
+ 
+-echo "$as_me:9647: checking if gethostbyaddr is compatible with system prototype" >&5
++echo "configure:11900: checking if gethostbyaddr is compatible with system prototype" >&5
+ echo $ECHO_N "checking if gethostbyaddr is compatible with system prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_gethostbyaddr_proto_compat+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 9653 "configure"
++#line 11906 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_SYS_TYPES_H
+@@ -9678,42 +11931,33 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:9681: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9684: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:9686: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9689: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:11934: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_gethostbyaddr_proto_compat=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_gethostbyaddr_proto_compat=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_gethostbyaddr_proto_compat=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:9699: result: $ac_cv_func_gethostbyaddr_proto_compat" >&5
++echo "configure:11943: result: $ac_cv_func_gethostbyaddr_proto_compat" >&5
+ echo "${ECHO_T}$ac_cv_func_gethostbyaddr_proto_compat" >&6
+ 
+ if test "$ac_cv_func_gethostbyaddr_proto_compat" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define GETHOSTBYADDR_PROTO_COMPATIBLE 1
+ EOF
+ 
+ fi
+ 
+-echo "$as_me:9710: checking if getservbyname is compatible with system prototype" >&5
++echo "configure:11954: checking if getservbyname is compatible with system prototype" >&5
+ echo $ECHO_N "checking if getservbyname is compatible with system prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_getservbyname_proto_compat+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 9716 "configure"
++#line 11960 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_SYS_TYPES_H
+@@ -9741,42 +11985,33 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:9744: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9747: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:9749: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9752: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:11988: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_getservbyname_proto_compat=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_getservbyname_proto_compat=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_getservbyname_proto_compat=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:9762: result: $ac_cv_func_getservbyname_proto_compat" >&5
++echo "configure:11997: result: $ac_cv_func_getservbyname_proto_compat" >&5
+ echo "${ECHO_T}$ac_cv_func_getservbyname_proto_compat" >&6
+ 
+ if test "$ac_cv_func_getservbyname_proto_compat" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define GETSERVBYNAME_PROTO_COMPATIBLE 1
+ EOF
+ 
+ fi
+ 
+-echo "$as_me:9773: checking if getsockname is compatible with system prototype" >&5
++echo "configure:12008: checking if getsockname is compatible with system prototype" >&5
+ echo $ECHO_N "checking if getsockname is compatible with system prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_getsockname_proto_compat+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 9779 "configure"
++#line 12014 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_SYS_TYPES_H
+@@ -9795,42 +12030,33 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:9798: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9801: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:9803: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9806: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:12033: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_getsockname_proto_compat=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_getsockname_proto_compat=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_getsockname_proto_compat=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:9816: result: $ac_cv_func_getsockname_proto_compat" >&5
++echo "configure:12042: result: $ac_cv_func_getsockname_proto_compat" >&5
+ echo "${ECHO_T}$ac_cv_func_getsockname_proto_compat" >&6
+ 
+ if test "$ac_cv_func_getsockname_proto_compat" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define GETSOCKNAME_PROTO_COMPATIBLE 1
+ EOF
+ 
+ fi
+ 
+-echo "$as_me:9827: checking if openlog is compatible with system prototype" >&5
++echo "configure:12053: checking if openlog is compatible with system prototype" >&5
+ echo $ECHO_N "checking if openlog is compatible with system prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_openlog_proto_compat+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 9833 "configure"
++#line 12059 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_SYSLOG_H
+@@ -9846,29 +12072,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:9849: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9852: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:9854: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9857: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:12075: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_openlog_proto_compat=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_openlog_proto_compat=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_openlog_proto_compat=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:9867: result: $ac_cv_func_openlog_proto_compat" >&5
++echo "configure:12084: result: $ac_cv_func_openlog_proto_compat" >&5
+ echo "${ECHO_T}$ac_cv_func_openlog_proto_compat" >&6
+ 
+ if test "$ac_cv_func_openlog_proto_compat" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define OPENLOG_PROTO_COMPATIBLE 1
+ EOF
+@@ -9876,13 +12093,13 @@
+ fi
+ 
+ if test "$ac_cv_func_crypt+set" != set -o "$ac_cv_func_crypt" = yes; then
+-echo "$as_me:9879: checking if crypt needs a prototype" >&5
++echo "configure:12096: checking if crypt needs a prototype" >&5
+ echo $ECHO_N "checking if crypt needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_crypt_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 9885 "configure"
++#line 12102 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_CRYPT_H
+@@ -9904,29 +12121,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:9907: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9910: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:9912: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9915: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:12124: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_crypt_noproto=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_crypt_noproto=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_crypt_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:9925: result: $ac_cv_func_crypt_noproto" >&5
++echo "configure:12133: result: $ac_cv_func_crypt_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_crypt_noproto" >&6
+ 
+ if test "$ac_cv_func_crypt_noproto" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define NEED_CRYPT_PROTO 1
+ EOF
+@@ -9936,13 +12144,13 @@
+ fi
+ 
+ if test "$ac_cv_func_strtok_r+set" != set -o "$ac_cv_func_strtok_r" = yes; then
+-echo "$as_me:9939: checking if strtok_r needs a prototype" >&5
++echo "configure:12147: checking if strtok_r needs a prototype" >&5
+ echo $ECHO_N "checking if strtok_r needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_strtok_r_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 9945 "configure"
++#line 12153 "configure"
+ #include "confdefs.h"
+ 
+ #include <string.h>
+@@ -9959,29 +12167,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:9962: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9965: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:9967: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9970: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:12170: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_strtok_r_noproto=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_strtok_r_noproto=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_strtok_r_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:9980: result: $ac_cv_func_strtok_r_noproto" >&5
++echo "configure:12179: result: $ac_cv_func_strtok_r_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_strtok_r_noproto" >&6
+ 
+ if test "$ac_cv_func_strtok_r_noproto" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define NEED_STRTOK_R_PROTO 1
+ EOF
+@@ -9991,13 +12190,13 @@
+ fi
+ 
+ if test "$ac_cv_func_strsep+set" != set -o "$ac_cv_func_strsep" = yes; then
+-echo "$as_me:9994: checking if strsep needs a prototype" >&5
++echo "configure:12193: checking if strsep needs a prototype" >&5
+ echo $ECHO_N "checking if strsep needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_strsep_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 10000 "configure"
++#line 12199 "configure"
+ #include "confdefs.h"
+ 
+ #include <string.h>
+@@ -10014,29 +12213,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:10017: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10020: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:10022: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10025: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:12216: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_strsep_noproto=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_strsep_noproto=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_strsep_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:10035: result: $ac_cv_func_strsep_noproto" >&5
++echo "configure:12225: result: $ac_cv_func_strsep_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_strsep_noproto" >&6
+ 
+ if test "$ac_cv_func_strsep_noproto" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define NEED_STRSEP_PROTO 1
+ EOF
+@@ -10045,14 +12235,14 @@
+ 
+ fi
+ 
+-echo "$as_me:10048: checking for h_errno" >&5
++echo "configure:12238: checking for h_errno" >&5
+ echo $ECHO_N "checking for h_errno... $ECHO_C" >&6
+ if test "${ac_cv_var_h_errno+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 10055 "configure"
++#line 12245 "configure"
+ #include "confdefs.h"
+ extern int h_errno;
+ int foo() { return h_errno; }
+@@ -10065,100 +12255,37 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:10068: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10071: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:10073: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10076: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:12258: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_var_h_errno=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_var_h_errno=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_var_h_errno=no
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 
+ fi
+ 
+ ac_foo=`eval echo \\$ac_cv_var_h_errno`
+-echo "$as_me:10089: result: $ac_foo" >&5
++echo "configure:12270: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+-
++	
+ cat >>confdefs.h <<EOF
+ #define HAVE_H_ERRNO 1
+ EOF
+ 
+-echo "$as_me:10097: checking if h_errno is properly declared" >&5
+-echo $ECHO_N "checking if h_errno is properly declared... $ECHO_C" >&6
+-if test "${ac_cv_var_h_errno_declaration+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-
+-cat >conftest.$ac_ext <<_ACEOF
+-#line 10104 "configure"
+-#include "confdefs.h"
+-#ifdef HAVE_SYS_TYPES_H
+-#include <sys/types.h>
+-#endif
+-#ifdef HAVE_NETDB_H
+-#include <netdb.h>
+-#endif
+-extern struct { int foo; } h_errno;
+-int
+-main ()
+-{
+-h_errno.foo = 1;
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:10122: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10125: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:10127: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10130: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  eval "ac_cv_var_h_errno_declaration=no"
+-else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_var_h_errno_declaration=yes"
+-fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
+-
+-fi
+-
+-echo "$as_me:10142: result: $ac_cv_var_h_errno_declaration" >&5
+-echo "${ECHO_T}$ac_cv_var_h_errno_declaration" >&6
+-if eval "test \"\$ac_cv_var_h_errno_declaration\" = yes"; then
+-
+-cat >>confdefs.h <<\EOF
+-#define HAVE_H_ERRNO_DECLARATION 1
+-EOF
+-
+-fi
+-
++	
+ fi
+ 
+-echo "$as_me:10154: checking for h_errlist" >&5
++echo "configure:12281: checking for h_errlist" >&5
+ echo $ECHO_N "checking for h_errlist... $ECHO_C" >&6
+ if test "${ac_cv_var_h_errlist+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 10161 "configure"
++#line 12288 "configure"
+ #include "confdefs.h"
+ extern int h_errlist;
+ int foo() { return h_errlist; }
+@@ -10170,204 +12297,41 @@
+   return 0;
+ }
+ _ACEOF
+-rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:10174: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10177: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:10179: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10182: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  ac_cv_var_h_errlist=yes
+-else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_var_h_errlist=no
+-fi
+-rm -f conftest$ac_exeext conftest.$ac_ext
+-
+-fi
+-
+-ac_foo=`eval echo \\$ac_cv_var_h_errlist`
+-echo "$as_me:10195: result: $ac_foo" >&5
+-echo "${ECHO_T}$ac_foo" >&6
+-if test "$ac_foo" = yes; then
+-
+-cat >>confdefs.h <<EOF
+-#define HAVE_H_ERRLIST 1
+-EOF
+-
+-echo "$as_me:10203: checking if h_errlist is properly declared" >&5
+-echo $ECHO_N "checking if h_errlist is properly declared... $ECHO_C" >&6
+-if test "${ac_cv_var_h_errlist_declaration+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-
+-cat >conftest.$ac_ext <<_ACEOF
+-#line 10210 "configure"
+-#include "confdefs.h"
+-#ifdef HAVE_NETDB_H
+-#include <netdb.h>
+-#endif
+-extern struct { int foo; } h_errlist;
+-int
+-main ()
+-{
+-h_errlist.foo = 1;
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:10225: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10228: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:10230: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10233: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  eval "ac_cv_var_h_errlist_declaration=no"
+-else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_var_h_errlist_declaration=yes"
+-fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
+-
+-fi
+-
+-echo "$as_me:10245: result: $ac_cv_var_h_errlist_declaration" >&5
+-echo "${ECHO_T}$ac_cv_var_h_errlist_declaration" >&6
+-if eval "test \"\$ac_cv_var_h_errlist_declaration\" = yes"; then
+-
+-cat >>confdefs.h <<\EOF
+-#define HAVE_H_ERRLIST_DECLARATION 1
+-EOF
+-
+-fi
+-
+-fi
+-
+-echo "$as_me:10257: checking for h_nerr" >&5
+-echo $ECHO_N "checking for h_nerr... $ECHO_C" >&6
+-if test "${ac_cv_var_h_nerr+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-
+-cat >conftest.$ac_ext <<_ACEOF
+-#line 10264 "configure"
+-#include "confdefs.h"
+-extern int h_nerr;
+-int foo() { return h_nerr; }
+-int
+-main ()
+-{
+-foo()
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:10277: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10280: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:10282: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10285: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  ac_cv_var_h_nerr=yes
+-else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_var_h_nerr=no
+-fi
+-rm -f conftest$ac_exeext conftest.$ac_ext
+-
+-fi
+-
+-ac_foo=`eval echo \\$ac_cv_var_h_nerr`
+-echo "$as_me:10298: result: $ac_foo" >&5
+-echo "${ECHO_T}$ac_foo" >&6
+-if test "$ac_foo" = yes; then
+-
+-cat >>confdefs.h <<EOF
+-#define HAVE_H_NERR 1
+-EOF
+-
+-echo "$as_me:10306: checking if h_nerr is properly declared" >&5
+-echo $ECHO_N "checking if h_nerr is properly declared... $ECHO_C" >&6
+-if test "${ac_cv_var_h_nerr_declaration+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-
+-cat >conftest.$ac_ext <<_ACEOF
+-#line 10313 "configure"
+-#include "confdefs.h"
+-#ifdef HAVE_NETDB_H
+-#include <netdb.h>
+-#endif
+-extern struct { int foo; } h_nerr;
+-int
+-main ()
+-{
+-h_nerr.foo = 1;
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:10328: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10331: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:10333: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10336: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  eval "ac_cv_var_h_nerr_declaration=no"
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:12301: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  ac_cv_var_h_errlist=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_var_h_nerr_declaration=yes"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_var_h_errlist=no
+ fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 
+ fi
+ 
+-echo "$as_me:10348: result: $ac_cv_var_h_nerr_declaration" >&5
+-echo "${ECHO_T}$ac_cv_var_h_nerr_declaration" >&6
+-if eval "test \"\$ac_cv_var_h_nerr_declaration\" = yes"; then
+-
+-cat >>confdefs.h <<\EOF
+-#define HAVE_H_NERR_DECLARATION 1
++ac_foo=`eval echo \\$ac_cv_var_h_errlist`
++echo "configure:12313: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++	
++cat >>confdefs.h <<EOF
++#define HAVE_H_ERRLIST 1
+ EOF
+ 
++	
+ fi
+ 
+-fi
+-
+-echo "$as_me:10360: checking for __progname" >&5
+-echo $ECHO_N "checking for __progname... $ECHO_C" >&6
+-if test "${ac_cv_var___progname+set}" = set; then
++echo "configure:12324: checking for h_nerr" >&5
++echo $ECHO_N "checking for h_nerr... $ECHO_C" >&6
++if test "${ac_cv_var_h_nerr+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 10367 "configure"
++#line 12331 "configure"
+ #include "confdefs.h"
+-extern int __progname;
+-int foo() { return __progname; }
++extern int h_nerr;
++int foo() { return h_nerr; }
+ int
+ main ()
+ {
+@@ -10377,97 +12341,80 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:10380: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10383: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:10385: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10388: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  ac_cv_var___progname=yes
++if { (eval echo configure:12344: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  ac_cv_var_h_nerr=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_var___progname=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_var_h_nerr=no
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 
+ fi
+ 
+-ac_foo=`eval echo \\$ac_cv_var___progname`
+-echo "$as_me:10401: result: $ac_foo" >&5
++ac_foo=`eval echo \\$ac_cv_var_h_nerr`
++echo "configure:12356: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+-
++	
+ cat >>confdefs.h <<EOF
+-#define HAVE___PROGNAME 1
++#define HAVE_H_NERR 1
+ EOF
+ 
+-echo "$as_me:10409: checking if __progname is properly declared" >&5
+-echo $ECHO_N "checking if __progname is properly declared... $ECHO_C" >&6
+-if test "${ac_cv_var___progname_declaration+set}" = set; then
++	
++fi
++
++echo "configure:12367: checking for __progname" >&5
++echo $ECHO_N "checking for __progname... $ECHO_C" >&6
++if test "${ac_cv_var___progname+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 10416 "configure"
++#line 12374 "configure"
+ #include "confdefs.h"
+-#ifdef HAVE_ERR_H
+-#include <err.h>
+-#endif
+-extern struct { int foo; } __progname;
++extern int __progname;
++int foo() { return __progname; }
+ int
+ main ()
+ {
+-__progname.foo = 1;
++foo()
+   ;
+   return 0;
+ }
+ _ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:10431: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10434: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:10436: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10439: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  eval "ac_cv_var___progname_declaration=no"
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:12387: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  ac_cv_var___progname=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_var___progname_declaration=yes"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_var___progname=no
+ fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 
+ fi
+ 
+-echo "$as_me:10451: result: $ac_cv_var___progname_declaration" >&5
+-echo "${ECHO_T}$ac_cv_var___progname_declaration" >&6
+-if eval "test \"\$ac_cv_var___progname_declaration\" = yes"; then
+-
+-cat >>confdefs.h <<\EOF
+-#define HAVE___PROGNAME_DECLARATION 1
++ac_foo=`eval echo \\$ac_cv_var___progname`
++echo "configure:12399: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++	
++cat >>confdefs.h <<EOF
++#define HAVE___PROGNAME 1
+ EOF
+ 
++	
+ fi
+ 
+-fi
+-
+-echo "$as_me:10463: checking if optarg is properly declared" >&5
++echo "configure:12410: checking if optarg is properly declared" >&5
+ echo $ECHO_N "checking if optarg is properly declared... $ECHO_C" >&6
+ if test "${ac_cv_var_optarg_declaration+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 10470 "configure"
++#line 12417 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ #ifdef HAVE_UNISTD_H
+@@ -10483,44 +12430,35 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:10486: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10489: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:10491: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10494: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:12433: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_var_optarg_declaration=no"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_var_optarg_declaration=yes"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_var_optarg_declaration=yes"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ 
+ fi
+ 
+-echo "$as_me:10506: result: $ac_cv_var_optarg_declaration" >&5
++echo "configure:12444: result: $ac_cv_var_optarg_declaration" >&5
+ echo "${ECHO_T}$ac_cv_var_optarg_declaration" >&6
+ if eval "test \"\$ac_cv_var_optarg_declaration\" = yes"; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_OPTARG_DECLARATION 1
+ EOF
+ 
+ fi
+ 
+-echo "$as_me:10516: checking if optind is properly declared" >&5
++echo "configure:12454: checking if optind is properly declared" >&5
+ echo $ECHO_N "checking if optind is properly declared... $ECHO_C" >&6
+ if test "${ac_cv_var_optind_declaration+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 10523 "configure"
++#line 12461 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ #ifdef HAVE_UNISTD_H
+@@ -10536,44 +12474,35 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:10539: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10542: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:10544: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10547: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:12477: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_var_optind_declaration=no"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_var_optind_declaration=yes"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_var_optind_declaration=yes"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ 
+ fi
+ 
+-echo "$as_me:10559: result: $ac_cv_var_optind_declaration" >&5
++echo "configure:12488: result: $ac_cv_var_optind_declaration" >&5
+ echo "${ECHO_T}$ac_cv_var_optind_declaration" >&6
+ if eval "test \"\$ac_cv_var_optind_declaration\" = yes"; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_OPTIND_DECLARATION 1
+ EOF
+ 
+ fi
+ 
+-echo "$as_me:10569: checking if opterr is properly declared" >&5
++echo "configure:12498: checking if opterr is properly declared" >&5
+ echo $ECHO_N "checking if opterr is properly declared... $ECHO_C" >&6
+ if test "${ac_cv_var_opterr_declaration+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 10576 "configure"
++#line 12505 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ #ifdef HAVE_UNISTD_H
+@@ -10589,44 +12518,35 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:10592: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10595: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:10597: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10600: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:12521: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_var_opterr_declaration=no"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_var_opterr_declaration=yes"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_var_opterr_declaration=yes"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ 
+ fi
+ 
+-echo "$as_me:10612: result: $ac_cv_var_opterr_declaration" >&5
++echo "configure:12532: result: $ac_cv_var_opterr_declaration" >&5
+ echo "${ECHO_T}$ac_cv_var_opterr_declaration" >&6
+ if eval "test \"\$ac_cv_var_opterr_declaration\" = yes"; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_OPTERR_DECLARATION 1
+ EOF
+ 
+ fi
+ 
+-echo "$as_me:10622: checking if optopt is properly declared" >&5
++echo "configure:12542: checking if optopt is properly declared" >&5
+ echo $ECHO_N "checking if optopt is properly declared... $ECHO_C" >&6
+ if test "${ac_cv_var_optopt_declaration+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 10629 "configure"
++#line 12549 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ #ifdef HAVE_UNISTD_H
+@@ -10642,44 +12562,35 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:10645: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10648: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:10650: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10653: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:12565: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_var_optopt_declaration=no"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_var_optopt_declaration=yes"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_var_optopt_declaration=yes"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ 
+ fi
+ 
+-echo "$as_me:10665: result: $ac_cv_var_optopt_declaration" >&5
++echo "configure:12576: result: $ac_cv_var_optopt_declaration" >&5
+ echo "${ECHO_T}$ac_cv_var_optopt_declaration" >&6
+ if eval "test \"\$ac_cv_var_optopt_declaration\" = yes"; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_OPTOPT_DECLARATION 1
+ EOF
+ 
+ fi
+ 
+-echo "$as_me:10675: checking if environ is properly declared" >&5
++echo "configure:12586: checking if environ is properly declared" >&5
+ echo $ECHO_N "checking if environ is properly declared... $ECHO_C" >&6
+ if test "${ac_cv_var_environ_declaration+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 10682 "configure"
++#line 12593 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ extern struct { int foo; } environ;
+@@ -10692,44 +12603,35 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:10695: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10698: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:10700: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10703: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:12606: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_var_environ_declaration=no"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_var_environ_declaration=yes"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_var_environ_declaration=yes"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ 
+ fi
+ 
+-echo "$as_me:10715: result: $ac_cv_var_environ_declaration" >&5
++echo "configure:12617: result: $ac_cv_var_environ_declaration" >&5
+ echo "${ECHO_T}$ac_cv_var_environ_declaration" >&6
+ if eval "test \"\$ac_cv_var_environ_declaration\" = yes"; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_ENVIRON_DECLARATION 1
+ EOF
+ 
+ fi
+ 
+-echo "$as_me:10725: checking for tm_gmtoff in struct tm" >&5
++echo "configure:12627: checking for tm_gmtoff in struct tm" >&5
+ echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_tm_tm_gmtoff+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 10732 "configure"
++#line 12634 "configure"
+ #include "confdefs.h"
+ #include <time.h>
+ int
+@@ -10741,42 +12643,35 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:10744: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10747: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:10749: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10752: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:12646: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_tm_tm_gmtoff=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_struct_tm_tm_gmtoff=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_struct_tm_tm_gmtoff=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:10762: result: $ac_cv_type_struct_tm_tm_gmtoff" >&5
++echo "configure:12655: result: $ac_cv_type_struct_tm_tm_gmtoff" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_tm_tm_gmtoff" >&6
+ if test "$ac_cv_type_struct_tm_tm_gmtoff" = yes; then
+-
++	
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_STRUCT_TM_TM_GMTOFF 1
+ EOF
+ 
++	
+ fi
+ 
+-echo "$as_me:10772: checking for tm_zone in struct tm" >&5
++echo "configure:12667: checking for tm_zone in struct tm" >&5
+ echo $ECHO_N "checking for tm_zone in struct tm... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_tm_tm_zone+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 10779 "configure"
++#line 12674 "configure"
+ #include "confdefs.h"
+ #include <time.h>
+ int
+@@ -10788,42 +12683,35 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:10791: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10794: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:10796: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10799: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:12686: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_tm_tm_zone=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_struct_tm_tm_zone=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_struct_tm_tm_zone=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:10809: result: $ac_cv_type_struct_tm_tm_zone" >&5
++echo "configure:12695: result: $ac_cv_type_struct_tm_tm_zone" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_tm_tm_zone" >&6
+ if test "$ac_cv_type_struct_tm_tm_zone" = yes; then
+-
++	
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_STRUCT_TM_TM_ZONE 1
+ EOF
+ 
++	
+ fi
+ 
+-echo "$as_me:10819: checking for timezone" >&5
++echo "configure:12707: checking for timezone" >&5
+ echo $ECHO_N "checking for timezone... $ECHO_C" >&6
+ if test "${ac_cv_var_timezone+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 10826 "configure"
++#line 12714 "configure"
+ #include "confdefs.h"
+ extern int timezone;
+ int foo() { return timezone; }
+@@ -10836,95 +12724,37 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:10839: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10842: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:10844: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10847: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:12727: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_var_timezone=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_var_timezone=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_var_timezone=no
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 
+ fi
+ 
+ ac_foo=`eval echo \\$ac_cv_var_timezone`
+-echo "$as_me:10860: result: $ac_foo" >&5
++echo "configure:12739: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+-
++	
+ cat >>confdefs.h <<EOF
+ #define HAVE_TIMEZONE 1
+ EOF
+ 
+-echo "$as_me:10868: checking if timezone is properly declared" >&5
+-echo $ECHO_N "checking if timezone is properly declared... $ECHO_C" >&6
+-if test "${ac_cv_var_timezone_declaration+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-
+-cat >conftest.$ac_ext <<_ACEOF
+-#line 10875 "configure"
+-#include "confdefs.h"
+-#include <time.h>
+-extern struct { int foo; } timezone;
+-int
+-main ()
+-{
+-timezone.foo = 1;
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:10888: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10891: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:10893: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10896: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  eval "ac_cv_var_timezone_declaration=no"
+-else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_var_timezone_declaration=yes"
+-fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
+-
+-fi
+-
+-echo "$as_me:10908: result: $ac_cv_var_timezone_declaration" >&5
+-echo "${ECHO_T}$ac_cv_var_timezone_declaration" >&6
+-if eval "test \"\$ac_cv_var_timezone_declaration\" = yes"; then
+-
+-cat >>confdefs.h <<\EOF
+-#define HAVE_TIMEZONE_DECLARATION 1
+-EOF
+-
+-fi
+-
++	
+ fi
+ 
+ cv=`echo "sa_family_t" | sed 'y%./+- %__p__%'`
+-echo "$as_me:10921: checking for sa_family_t" >&5
++echo "configure:12751: checking for sa_family_t" >&5
+ echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 10927 "configure"
++#line 12757 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -10941,37 +12771,28 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:10944: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10947: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:10949: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10952: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:12774: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_type_$cv=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_type_$cv=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_type_$cv=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:10963: result: $ac_foo" >&5
++echo "configure:12784: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo sa_family_t | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:10968: checking for sa_family_t" >&5
++	echo "configure:12789: checking for sa_family_t" >&5
+ echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6
+ if test "${ac_cv_type_sa_family_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 10974 "configure"
++#line 12795 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -10986,25 +12807,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:10989: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10992: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:10994: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10997: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:12810: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_sa_family_t=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_sa_family_t=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_sa_family_t=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:11007: result: $ac_cv_type_sa_family_t" >&5
++echo "configure:12819: result: $ac_cv_type_sa_family_t" >&5
+ echo "${ECHO_T}$ac_cv_type_sa_family_t" >&6
+ if test $ac_cv_type_sa_family_t = yes; then
+ 
+@@ -11023,13 +12835,13 @@
+ fi
+ 
+ cv=`echo "socklen_t" | sed 'y%./+- %__p__%'`
+-echo "$as_me:11026: checking for socklen_t" >&5
++echo "configure:12838: checking for socklen_t" >&5
+ echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 11032 "configure"
++#line 12844 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -11046,37 +12858,28 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:11049: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11052: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:11054: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11057: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:12861: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_type_$cv=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_type_$cv=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_type_$cv=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:11068: result: $ac_foo" >&5
++echo "configure:12871: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo socklen_t | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:11073: checking for socklen_t" >&5
++	echo "configure:12876: checking for socklen_t" >&5
+ echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
+ if test "${ac_cv_type_socklen_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 11079 "configure"
++#line 12882 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -11091,25 +12894,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:11094: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11097: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:11099: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11102: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:12897: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_socklen_t=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_socklen_t=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_socklen_t=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:11112: result: $ac_cv_type_socklen_t" >&5
++echo "configure:12906: result: $ac_cv_type_socklen_t" >&5
+ echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
+ if test $ac_cv_type_socklen_t = yes; then
+ 
+@@ -11128,13 +12922,13 @@
+ fi
+ 
+ cv=`echo "struct sockaddr" | sed 'y%./+- %__p__%'`
+-echo "$as_me:11131: checking for struct sockaddr" >&5
++echo "configure:12925: checking for struct sockaddr" >&5
+ echo $ECHO_N "checking for struct sockaddr... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 11137 "configure"
++#line 12931 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -11151,37 +12945,28 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:11154: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11157: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:11159: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11162: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:12948: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_type_$cv=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_type_$cv=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_type_$cv=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:11173: result: $ac_foo" >&5
++echo "configure:12958: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo struct sockaddr | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:11178: checking for struct sockaddr" >&5
++	echo "configure:12963: checking for struct sockaddr" >&5
+ echo $ECHO_N "checking for struct sockaddr... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_sockaddr+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 11184 "configure"
++#line 12969 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -11196,25 +12981,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:11199: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11202: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:11204: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11207: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:12984: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_sockaddr=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_struct_sockaddr=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_struct_sockaddr=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:11217: result: $ac_cv_type_struct_sockaddr" >&5
++echo "configure:12993: result: $ac_cv_type_struct_sockaddr" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_sockaddr" >&6
+ if test $ac_cv_type_struct_sockaddr = yes; then
+ 
+@@ -11233,13 +13009,13 @@
+ fi
+ 
+ cv=`echo "struct sockaddr_storage" | sed 'y%./+- %__p__%'`
+-echo "$as_me:11236: checking for struct sockaddr_storage" >&5
++echo "configure:13012: checking for struct sockaddr_storage" >&5
+ echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 11242 "configure"
++#line 13018 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -11256,37 +13032,28 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:11259: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11262: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:11264: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11267: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:13035: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_type_$cv=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_type_$cv=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_type_$cv=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:11278: result: $ac_foo" >&5
++echo "configure:13045: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo struct sockaddr_storage | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:11283: checking for struct sockaddr_storage" >&5
++	echo "configure:13050: checking for struct sockaddr_storage" >&5
+ echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_sockaddr_storage+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 11289 "configure"
++#line 13056 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -11301,25 +13068,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:11304: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11307: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:11309: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11312: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:13071: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_sockaddr_storage=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_struct_sockaddr_storage=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_struct_sockaddr_storage=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:11322: result: $ac_cv_type_struct_sockaddr_storage" >&5
++echo "configure:13080: result: $ac_cv_type_struct_sockaddr_storage" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_sockaddr_storage" >&6
+ if test $ac_cv_type_struct_sockaddr_storage = yes; then
+ 
+@@ -11338,13 +13096,13 @@
+ fi
+ 
+ cv=`echo "struct addrinfo" | sed 'y%./+- %__p__%'`
+-echo "$as_me:11341: checking for struct addrinfo" >&5
++echo "configure:13099: checking for struct addrinfo" >&5
+ echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 11347 "configure"
++#line 13105 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -11361,37 +13119,28 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:11364: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11367: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:11369: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11372: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:13122: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_type_$cv=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_type_$cv=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_type_$cv=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:11383: result: $ac_foo" >&5
++echo "configure:13132: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo struct addrinfo | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:11388: checking for struct addrinfo" >&5
++	echo "configure:13137: checking for struct addrinfo" >&5
+ echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_addrinfo+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 11394 "configure"
++#line 13143 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -11406,25 +13155,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:11409: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11412: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:11414: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11417: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:13158: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_addrinfo=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_struct_addrinfo=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_struct_addrinfo=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:11427: result: $ac_cv_type_struct_addrinfo" >&5
++echo "configure:13167: result: $ac_cv_type_struct_addrinfo" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_addrinfo" >&6
+ if test $ac_cv_type_struct_addrinfo = yes; then
+ 
+@@ -11443,13 +13183,13 @@
+ fi
+ 
+ cv=`echo "struct ifaddrs" | sed 'y%./+- %__p__%'`
+-echo "$as_me:11446: checking for struct ifaddrs" >&5
++echo "configure:13186: checking for struct ifaddrs" >&5
+ echo $ECHO_N "checking for struct ifaddrs... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 11452 "configure"
++#line 13192 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -11466,37 +13206,28 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:11469: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11472: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:11474: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11477: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:13209: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_type_$cv=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_type_$cv=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_type_$cv=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:11488: result: $ac_foo" >&5
++echo "configure:13219: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo struct ifaddrs | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:11493: checking for struct ifaddrs" >&5
++	echo "configure:13224: checking for struct ifaddrs" >&5
+ echo $ECHO_N "checking for struct ifaddrs... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_ifaddrs+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 11499 "configure"
++#line 13230 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -11511,25 +13242,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:11514: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11517: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:11519: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11522: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:13245: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_ifaddrs=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_struct_ifaddrs=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_struct_ifaddrs=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:11532: result: $ac_cv_type_struct_ifaddrs" >&5
++echo "configure:13254: result: $ac_cv_type_struct_ifaddrs" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_ifaddrs" >&6
+ if test $ac_cv_type_struct_ifaddrs = yes; then
+ 
+@@ -11547,7 +13269,7 @@
+ 
+ fi
+ 
+-echo "$as_me:11550: checking for struct winsize" >&5
++echo "configure:13272: checking for struct winsize" >&5
+ echo $ECHO_N "checking for struct winsize... $ECHO_C" >&6
+ if test "${ac_cv_struct_winsize+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -11556,7 +13278,7 @@
+ ac_cv_struct_winsize=no
+ for i in sys/termios.h sys/ioctl.h; do
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 11559 "configure"
++#line 13281 "configure"
+ #include "confdefs.h"
+ #include <$i>
+ 
+@@ -11577,10 +13299,10 @@
+ EOF
+ 
+ fi
+-echo "$as_me:11580: result: $ac_cv_struct_winsize" >&5
++echo "configure:13302: result: $ac_cv_struct_winsize" >&5
+ echo "${ECHO_T}$ac_cv_struct_winsize" >&6
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 11583 "configure"
++#line 13305 "configure"
+ #include "confdefs.h"
+ #include <termios.h>
+ 
+@@ -11596,7 +13318,7 @@
+ rm -f conftest*
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 11599 "configure"
++#line 13321 "configure"
+ #include "confdefs.h"
+ #include <termios.h>
+ 
+@@ -11611,14 +13333,14 @@
+ fi
+ rm -f conftest*
+ 
+-echo "$as_me:11614: checking for struct spwd" >&5
++echo "configure:13336: checking for struct spwd" >&5
+ echo $ECHO_N "checking for struct spwd... $ECHO_C" >&6
+ if test "${ac_cv_struct_spwd+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 11621 "configure"
++#line 13343 "configure"
+ #include "confdefs.h"
+ #include <pwd.h>
+ #ifdef HAVE_SHADOW_H
+@@ -11633,27 +13355,18 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:11636: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11639: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:11641: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11644: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:13358: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_struct_spwd=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_struct_spwd=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_struct_spwd=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ 
+ fi
+ 
+-echo "$as_me:11656: result: $ac_cv_struct_spwd" >&5
++echo "configure:13369: result: $ac_cv_struct_spwd" >&5
+ echo "${ECHO_T}$ac_cv_struct_spwd" >&6
+ 
+ if test "$ac_cv_struct_spwd" = "yes"; then
+@@ -11664,8 +13377,6 @@
+ 
+ fi
+ 
+-LIB_roken="${LIB_roken} \$(LIB_crypt) \$(LIB_dbopen)"
+-
+ LIB_roken="\$(top_builddir)/lib/vers/libvers.la $LIB_roken"
+ 
+ # Check whether --with-openldap or --without-openldap was given.
+@@ -11678,9 +13389,7 @@
+ if test "${with_openldap_lib+set}" = set; then
+   withval="$with_openldap_lib"
+   if test "$withval" = "yes" -o "$withval" = "no"; then
+-  { { echo "$as_me:11681: error: No argument for --with-openldap-lib" >&5
+-echo "$as_me: error: No argument for --with-openldap-lib" >&2;}
+-   { (exit 1); exit 1; }; }
++  { echo "configure: error: No argument for --with-openldap-lib" >&2; exit 1; }
+ elif test "X$with_openldap" = "X"; then
+   with_openldap=yes
+ fi
+@@ -11690,15 +13399,13 @@
+ if test "${with_openldap_include+set}" = set; then
+   withval="$with_openldap_include"
+   if test "$withval" = "yes" -o "$withval" = "no"; then
+-  { { echo "$as_me:11693: error: No argument for --with-openldap-include" >&5
+-echo "$as_me: error: No argument for --with-openldap-include" >&2;}
+-   { (exit 1); exit 1; }; }
++  { echo "configure: error: No argument for --with-openldap-include" >&2; exit 1; }
+ elif test "X$with_openldap" = "X"; then
+   with_openldap=yes
+ fi
+ fi;
+ 
+-echo "$as_me:11701: checking for openldap" >&5
++echo "configure:13408: checking for openldap" >&5
+ echo $ECHO_N "checking for openldap... $ECHO_C" >&6
+ 
+ case "$with_openldap" in
+@@ -11738,7 +13445,7 @@
+ for i in $header_dirs; do
+ 	CFLAGS="-I$i $save_CFLAGS"
+ 	cat >conftest.$ac_ext <<_ACEOF
+-#line 11741 "configure"
++#line 13448 "configure"
+ #include "confdefs.h"
+ #include <ldap.h>
+ int
+@@ -11750,27 +13457,18 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:11753: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11756: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:11758: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11761: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:13460: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ires=$i;break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ done
+ for i in $lib_dirs; do
+ 	LIBS="-L$i -lldap -llber  $save_LIBS"
+ 	cat >conftest.$ac_ext <<_ACEOF
+-#line 11773 "configure"
++#line 13471 "configure"
+ #include "confdefs.h"
+ #include <ldap.h>
+ int
+@@ -11782,20 +13480,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:11785: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11788: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:11790: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11793: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:13483: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   lres=$i;break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ done
+@@ -11807,19 +13496,15 @@
+ 	openldap_libdir="$lres"
+ 	INCLUDE_openldap="-I$openldap_includedir"
+ 	LIB_openldap="-L$openldap_libdir -lldap -llber"
+-
+-cat >>confdefs.h <<EOF
+-#define OPENLDAP 1
+-EOF
+-
++	
+ 	with_openldap=yes
+-	echo "$as_me:11816: result: headers $ires, libraries $lres" >&5
++	echo "configure:13501: result: headers $ires, libraries $lres" >&5
+ echo "${ECHO_T}headers $ires, libraries $lres" >&6
+ else
+ 	INCLUDE_openldap=
+ 	LIB_openldap=
+ 	with_openldap=no
+-	echo "$as_me:11822: result: $with_openldap" >&5
++	echo "configure:13507: result: $with_openldap" >&5
+ echo "${ECHO_T}$with_openldap" >&6
+ fi
+ 
+@@ -11837,9 +13522,7 @@
+ if test "${with_krb4_lib+set}" = set; then
+   withval="$with_krb4_lib"
+   if test "$withval" = "yes" -o "$withval" = "no"; then
+-  { { echo "$as_me:11840: error: No argument for --with-krb4-lib" >&5
+-echo "$as_me: error: No argument for --with-krb4-lib" >&2;}
+-   { (exit 1); exit 1; }; }
++  { echo "configure: error: No argument for --with-krb4-lib" >&2; exit 1; }
+ elif test "X$with_krb4" = "X"; then
+   with_krb4=yes
+ fi
+@@ -11849,15 +13532,13 @@
+ if test "${with_krb4_include+set}" = set; then
+   withval="$with_krb4_include"
+   if test "$withval" = "yes" -o "$withval" = "no"; then
+-  { { echo "$as_me:11852: error: No argument for --with-krb4-include" >&5
+-echo "$as_me: error: No argument for --with-krb4-include" >&2;}
+-   { (exit 1); exit 1; }; }
++  { echo "configure: error: No argument for --with-krb4-include" >&2; exit 1; }
+ elif test "X$with_krb4" = "X"; then
+   with_krb4=yes
+ fi
+ fi;
+ 
+-echo "$as_me:11860: checking for krb4" >&5
++echo "configure:13541: checking for krb4" >&5
+ echo $ECHO_N "checking for krb4... $ECHO_C" >&6
+ 
+ case "$with_krb4" in
+@@ -11897,7 +13578,7 @@
+ for i in $header_dirs; do
+ 	CFLAGS="-I$i $save_CFLAGS"
+ 	cat >conftest.$ac_ext <<_ACEOF
+-#line 11900 "configure"
++#line 13581 "configure"
+ #include "confdefs.h"
+ #include <krb.h>
+ int
+@@ -11909,27 +13590,18 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:11912: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11915: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:11917: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11920: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:13593: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ires=$i;break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ done
+ for i in $lib_dirs; do
+ 	LIBS="-L$i -lkrb -ldes $save_LIBS"
+ 	cat >conftest.$ac_ext <<_ACEOF
+-#line 11932 "configure"
++#line 13604 "configure"
+ #include "confdefs.h"
+ #include <krb.h>
+ int
+@@ -11941,20 +13613,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:11944: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11947: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:11949: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11952: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:13616: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   lres=$i;break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ done
+@@ -11966,19 +13629,15 @@
+ 	krb4_libdir="$lres"
+ 	INCLUDE_krb4="-I$krb4_includedir"
+ 	LIB_krb4="-L$krb4_libdir -lkrb"
+-
+-cat >>confdefs.h <<EOF
+-#define KRB4 1
+-EOF
+-
++	
+ 	with_krb4=yes
+-	echo "$as_me:11975: result: headers $ires, libraries $lres" >&5
++	echo "configure:13634: result: headers $ires, libraries $lres" >&5
+ echo "${ECHO_T}headers $ires, libraries $lres" >&6
+ else
+ 	INCLUDE_krb4=
+ 	LIB_krb4=
+ 	with_krb4=no
+-	echo "$as_me:11981: result: $with_krb4" >&5
++	echo "configure:13640: result: $with_krb4" >&5
+ echo "${ECHO_T}$with_krb4" >&6
+ fi
+ 
+@@ -11989,14 +13648,14 @@
+ 	save_LIBS="$LIBS"
+ 	LIBS="$LIB_krb4 -ldes $LIBS"
+ 	EXTRA_LIB45=lib45.a
+-
+-	echo "$as_me:11993: checking for four valued krb_put_int" >&5
++	
++	echo "configure:13652: checking for four valued krb_put_int" >&5
+ echo $ECHO_N "checking for four valued krb_put_int... $ECHO_C" >&6
+ if test "${ac_cv_func_krb_put_int_four+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 11999 "configure"
++#line 13658 "configure"
+ #include "confdefs.h"
+ #include <krb.h>
+ int
+@@ -12010,42 +13669,34 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:12013: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:12016: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:12018: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:12021: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:13672: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_func_krb_put_int_four=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_krb_put_int_four=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_krb_put_int_four=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+-
++	
+ fi
+-echo "$as_me:12032: result: $ac_cv_func_krb_put_int_four" >&5
++echo "configure:13682: result: $ac_cv_func_krb_put_int_four" >&5
+ echo "${ECHO_T}$ac_cv_func_krb_put_int_four" >&6
+ 	if test "$ac_cv_func_krb_put_int_four" = yes; then
+-
++		
+ cat >>confdefs.h <<\EOF
+ #define HAVE_FOUR_VALUED_KRB_PUT_INT 1
+ EOF
+ 
+ 	fi
++	
+ 
+-	echo "$as_me:12042: checking for KRB_VERIFY_SECURE" >&5
++	echo "configure:13693: checking for KRB_VERIFY_SECURE" >&5
+ echo $ECHO_N "checking for KRB_VERIFY_SECURE... $ECHO_C" >&6
+ if test "${ac_cv_func_krb_verify_secure+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 12048 "configure"
++#line 13699 "configure"
+ #include "confdefs.h"
+ #include <krb.h>
+ int
+@@ -12058,45 +13709,37 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:12061: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:12064: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:12066: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:12069: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:13712: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_func_krb_verify_secure=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_krb_verify_secure=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_krb_verify_secure=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+-
++	
+ fi
+-echo "$as_me:12080: result: $ac_cv_func_krb_verify_secure" >&5
++echo "configure:13722: result: $ac_cv_func_krb_verify_secure" >&5
+ echo "${ECHO_T}$ac_cv_func_krb_verify_secure" >&6
+ 	if test "$ac_cv_func_krb_verify_secure" != yes; then
+-
++		
+ cat >>confdefs.h <<\EOF
+ #define KRB_VERIFY_SECURE 1
+ EOF
+ 
++		
+ cat >>confdefs.h <<\EOF
+ #define KRB_VERIFY_SECURE_FAIL 2
+ EOF
+ 
+ 	fi
+-	echo "$as_me:12093: checking for KRB_VERIFY_NOT_SECURE" >&5
++	echo "configure:13736: checking for KRB_VERIFY_NOT_SECURE" >&5
+ echo $ECHO_N "checking for KRB_VERIFY_NOT_SECURE... $ECHO_C" >&6
+ if test "${ac_cv_func_krb_verify_not_secure+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 12099 "configure"
++#line 13742 "configure"
+ #include "confdefs.h"
+ #include <krb.h>
+ int
+@@ -12109,36 +13752,28 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:12112: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:12115: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:12117: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:12120: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:13755: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_func_krb_verify_not_secure=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_krb_verify_not_secure=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_krb_verify_not_secure=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+-
++	
+ fi
+-echo "$as_me:12131: result: $ac_cv_func_krb_verify_not_secure" >&5
++echo "configure:13765: result: $ac_cv_func_krb_verify_not_secure" >&5
+ echo "${ECHO_T}$ac_cv_func_krb_verify_not_secure" >&6
+ 	if test "$ac_cv_func_krb_verify_not_secure" != yes; then
+-
++		
+ cat >>confdefs.h <<\EOF
+ #define KRB_VERIFY_NOT_SECURE 0
+ EOF
+ 
+ 	fi
++	
+ 
+-echo "$as_me:12141: checking for krb_enable_debug" >&5
++echo "configure:13776: checking for krb_enable_debug" >&5
+ echo $ECHO_N "checking for krb_enable_debug... $ECHO_C" >&6
+ if test "${ac_cv_funclib_krb_enable_debug+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -12154,7 +13789,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 12157 "configure"
++#line 13792 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -12166,20 +13801,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:12169: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:12172: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:12174: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:12177: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:13804: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_krb_enable_debug=$ac_lib; else ac_cv_funclib_krb_enable_debug=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -12192,17 +13818,17 @@
+ eval "ac_res=\$ac_cv_funclib_krb_enable_debug"
+ 
+ if false; then
+-
++	
+ for ac_func in krb_enable_debug
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:12199: checking for $ac_func" >&5
++echo "configure:13825: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 12205 "configure"
++#line 13831 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -12233,25 +13859,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:12236: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:12239: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:12241: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:12244: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:13862: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:12254: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:13871: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -12275,13 +13892,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:12278: result: yes" >&5
++	echo "configure:13895: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_krb_enable_debug=no"
+ 	eval "LIB_krb_enable_debug="
+-	echo "$as_me:12284: result: no" >&5
++	echo "configure:13901: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -12295,7 +13912,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:12298: result: yes, in $ac_res" >&5
++	echo "configure:13915: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -12304,7 +13921,9 @@
+ 	LIBS="$LIB_krb_enable_debug $LIBS"
+ fi
+ 
+-echo "$as_me:12307: checking for krb_disable_debug" >&5
++	
++
++echo "configure:13926: checking for krb_disable_debug" >&5
+ echo $ECHO_N "checking for krb_disable_debug... $ECHO_C" >&6
+ if test "${ac_cv_funclib_krb_disable_debug+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -12320,7 +13939,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 12323 "configure"
++#line 13942 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -12332,20 +13951,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:12335: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:12338: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:12340: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:12343: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:13954: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_krb_disable_debug=$ac_lib; else ac_cv_funclib_krb_disable_debug=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -12358,17 +13968,17 @@
+ eval "ac_res=\$ac_cv_funclib_krb_disable_debug"
+ 
+ if false; then
+-
++	
+ for ac_func in krb_disable_debug
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:12365: checking for $ac_func" >&5
++echo "configure:13975: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 12371 "configure"
++#line 13981 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -12399,25 +14009,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:12402: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:12405: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:12407: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:12410: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:14012: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:12420: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:14021: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -12441,13 +14042,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:12444: result: yes" >&5
++	echo "configure:14045: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_krb_disable_debug=no"
+ 	eval "LIB_krb_disable_debug="
+-	echo "$as_me:12450: result: no" >&5
++	echo "configure:14051: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -12461,7 +14062,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:12464: result: yes, in $ac_res" >&5
++	echo "configure:14065: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -12470,7 +14071,9 @@
+ 	LIBS="$LIB_krb_disable_debug $LIBS"
+ fi
+ 
+-echo "$as_me:12473: checking for krb_get_our_ip_for_realm" >&5
++	
++
++echo "configure:14076: checking for krb_get_our_ip_for_realm" >&5
+ echo $ECHO_N "checking for krb_get_our_ip_for_realm... $ECHO_C" >&6
+ if test "${ac_cv_funclib_krb_get_our_ip_for_realm+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -12486,7 +14089,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 12489 "configure"
++#line 14092 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -12498,20 +14101,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:12501: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:12504: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:12506: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:12509: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:14104: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_krb_get_our_ip_for_realm=$ac_lib; else ac_cv_funclib_krb_get_our_ip_for_realm=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -12524,17 +14118,17 @@
+ eval "ac_res=\$ac_cv_funclib_krb_get_our_ip_for_realm"
+ 
+ if false; then
+-
++	
+ for ac_func in krb_get_our_ip_for_realm
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:12531: checking for $ac_func" >&5
++echo "configure:14125: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 12537 "configure"
++#line 14131 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -12565,25 +14159,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:12568: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:12571: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:12573: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:12576: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:14162: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:12586: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:14171: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -12607,13 +14192,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:12610: result: yes" >&5
++	echo "configure:14195: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_krb_get_our_ip_for_realm=no"
+ 	eval "LIB_krb_get_our_ip_for_realm="
+-	echo "$as_me:12616: result: no" >&5
++	echo "configure:14201: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -12627,7 +14212,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:12630: result: yes, in $ac_res" >&5
++	echo "configure:14215: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -12636,13 +14221,13 @@
+ 	LIBS="$LIB_krb_get_our_ip_for_realm $LIBS"
+ fi
+ 
+-	echo "$as_me:12639: checking for krb_mk_req with const arguments" >&5
++	echo "configure:14224: checking for krb_mk_req with const arguments" >&5
+ echo $ECHO_N "checking for krb_mk_req with const arguments... $ECHO_C" >&6
+ if test "${ac_cv_func_krb_mk_req_const+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 12645 "configure"
++#line 14230 "configure"
+ #include "confdefs.h"
+ #include <krb.h>
+ 		int krb_mk_req(KTEXT a, const char *s, const char *i,
+@@ -12657,29 +14242,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:12660: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:12663: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:12665: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:12668: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:14245: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_func_krb_mk_req_const=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_krb_mk_req_const=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_krb_mk_req_const=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+-
++	
+ fi
+-echo "$as_me:12679: result: $ac_cv_func_krb_mk_req_const" >&5
++echo "configure:14255: result: $ac_cv_func_krb_mk_req_const" >&5
+ echo "${ECHO_T}$ac_cv_func_krb_mk_req_const" >&6
+ 	if test "$ac_cv_func_krb_mk_req_const" = "yes"; then
+-
++		
+ cat >>confdefs.h <<\EOF
+ #define KRB_MK_REQ_CONST 1
+ EOF
+@@ -12759,15 +14335,13 @@
+ 
+ fi;
+ if test "$enable_kaserver" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define KASERVER 1
+ EOF
+ 
+ 	if test "$with_krb4" = "no"; then
+-		{ { echo "$as_me:12768: error: kaserver requires krb4" >&5
+-echo "$as_me: error: kaserver requires krb4" >&2;}
+-   { (exit 1); exit 1; }; }
++		{ echo "configure: error: kaserver requires krb4" >&2; exit 1; }
+ 		exit 1
+ 	fi
+ fi
+@@ -12778,15 +14352,13 @@
+ 
+ fi;
+ if test "$enable_kaserver_db" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define KASERVER_DB 1
+ EOF
+ 
+ 	if test "$with_krb4" = "no"; then
+-		{ { echo "$as_me:12787: error: kaserver-db requires krb4" >&5
+-echo "$as_me: error: kaserver-db requires krb4" >&2;}
+-   { (exit 1); exit 1; }; }
++		{ echo "configure: error: kaserver-db requires krb4" >&2; exit 1; }
+ 		exit 1
+ 	fi
+ fi
+@@ -12802,7 +14374,7 @@
+ 
+ fi;
+ if test "$otp" = "yes"; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define OTP 1
+ EOF
+@@ -12825,7 +14397,7 @@
+ fi;
+ LIB_security=
+ if test "$enable_osfc2" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_OSFC2 1
+ EOF
+@@ -12835,7 +14407,7 @@
+ 
+ # Extract the first word of "nroff", so it can be a program name with args.
+ set dummy nroff; ac_word=$2
+-echo "$as_me:12838: checking for $ac_word" >&5
++echo "configure:14410: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_path_NROFF+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -12850,7 +14422,7 @@
+ for ac_dir in $ac_dummy; do
+   IFS=$ac_save_IFS
+   test -z "$ac_dir" && ac_dir=.
+-  if $as_executable_p "$ac_dir/$ac_word"; then
++  if test -f "$ac_dir/$ac_word"; then
+    ac_cv_path_NROFF="$ac_dir/$ac_word"
+    break
+ fi
+@@ -12862,16 +14434,16 @@
+ NROFF=$ac_cv_path_NROFF
+ 
+ if test -n "$NROFF"; then
+-  echo "$as_me:12865: result: $NROFF" >&5
++  echo "configure:14437: result: $NROFF" >&5
+ echo "${ECHO_T}$NROFF" >&6
+ else
+-  echo "$as_me:12868: result: no" >&5
++  echo "configure:14440: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+ # Extract the first word of "groff", so it can be a program name with args.
+ set dummy groff; ac_word=$2
+-echo "$as_me:12874: checking for $ac_word" >&5
++echo "configure:14446: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_path_GROFF+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -12886,7 +14458,7 @@
+ for ac_dir in $ac_dummy; do
+   IFS=$ac_save_IFS
+   test -z "$ac_dir" && ac_dir=.
+-  if $as_executable_p "$ac_dir/$ac_word"; then
++  if test -f "$ac_dir/$ac_word"; then
+    ac_cv_path_GROFF="$ac_dir/$ac_word"
+    break
+ fi
+@@ -12898,14 +14470,14 @@
+ GROFF=$ac_cv_path_GROFF
+ 
+ if test -n "$GROFF"; then
+-  echo "$as_me:12901: result: $GROFF" >&5
++  echo "configure:14473: result: $GROFF" >&5
+ echo "${ECHO_T}$GROFF" >&6
+ else
+-  echo "$as_me:12904: result: no" >&5
++  echo "configure:14476: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+-echo "$as_me:12908: checking how to format man pages" >&5
++echo "configure:14480: checking how to format man pages" >&5
+ echo $ECHO_N "checking how to format man pages... $ECHO_C" >&6
+ if test "${ac_cv_sys_man_format+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -12942,11 +14514,11 @@
+ fi
+ 
+ fi
+-echo "$as_me:12945: result: $ac_cv_sys_man_format" >&5
++echo "configure:14517: result: $ac_cv_sys_man_format" >&5
+ echo "${ECHO_T}$ac_cv_sys_man_format" >&6
+ if test "$ac_cv_sys_man_format"; then
+ 	CATMAN="$ac_cv_sys_man_format"
+-
++	
+ fi
+ 
+ if test "$CATMAN"; then
+@@ -12956,7 +14528,7 @@
+   CATMAN_TRUE='#'
+   CATMAN_FALSE=
+ fi
+-echo "$as_me:12959: checking extension of pre-formatted manual pages" >&5
++echo "configure:14531: checking extension of pre-formatted manual pages" >&5
+ echo $ECHO_N "checking extension of pre-formatted manual pages... $ECHO_C" >&6
+ if test "${ac_cv_sys_catman_ext+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -12968,7 +14540,7 @@
+ fi
+ 
+ fi
+-echo "$as_me:12971: result: $ac_cv_sys_catman_ext" >&5
++echo "configure:14543: result: $ac_cv_sys_catman_ext" >&5
+ echo "${ECHO_T}$ac_cv_sys_catman_ext" >&6
+ if test "$ac_cv_sys_catman_ext" = number; then
+ 	CATMANEXT='$$section'
+@@ -12986,9 +14558,7 @@
+ if test "${with_readline_lib+set}" = set; then
+   withval="$with_readline_lib"
+   if test "$withval" = "yes" -o "$withval" = "no"; then
+-  { { echo "$as_me:12989: error: No argument for --with-readline-lib" >&5
+-echo "$as_me: error: No argument for --with-readline-lib" >&2;}
+-   { (exit 1); exit 1; }; }
++  { echo "configure: error: No argument for --with-readline-lib" >&2; exit 1; }
+ elif test "X$with_readline" = "X"; then
+   with_readline=yes
+ fi
+@@ -12998,15 +14568,13 @@
+ if test "${with_readline_include+set}" = set; then
+   withval="$with_readline_include"
+   if test "$withval" = "yes" -o "$withval" = "no"; then
+-  { { echo "$as_me:13001: error: No argument for --with-readline-include" >&5
+-echo "$as_me: error: No argument for --with-readline-include" >&2;}
+-   { (exit 1); exit 1; }; }
++  { echo "configure: error: No argument for --with-readline-include" >&2; exit 1; }
+ elif test "X$with_readline" = "X"; then
+   with_readline=yes
+ fi
+ fi;
+ 
+-echo "$as_me:13009: checking for readline" >&5
++echo "configure:14577: checking for readline" >&5
+ echo $ECHO_N "checking for readline... $ECHO_C" >&6
+ 
+ case "$with_readline" in
+@@ -13046,7 +14614,7 @@
+ for i in $header_dirs; do
+ 	CFLAGS="-I$i $save_CFLAGS"
+ 	cat >conftest.$ac_ext <<_ACEOF
+-#line 13049 "configure"
++#line 14617 "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
+  #include <readline.h>
+@@ -13059,27 +14627,18 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:13062: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13065: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:13067: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13070: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:14630: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ires=$i;break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ done
+ for i in $lib_dirs; do
+ 	LIBS="-L$i -lreadline  $save_LIBS"
+ 	cat >conftest.$ac_ext <<_ACEOF
+-#line 13082 "configure"
++#line 14641 "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
+  #include <readline.h>
+@@ -13092,20 +14651,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:13095: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13098: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:13100: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13103: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:14654: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   lres=$i;break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ done
+@@ -13117,19 +14667,15 @@
+ 	readline_libdir="$lres"
+ 	INCLUDE_readline="-I$readline_includedir"
+ 	LIB_readline="-L$readline_libdir -lreadline"
+-
+-cat >>confdefs.h <<EOF
+-#define READLINE 1
+-EOF
+-
++	
+ 	with_readline=yes
+-	echo "$as_me:13126: result: headers $ires, libraries $lres" >&5
++	echo "configure:14672: result: headers $ires, libraries $lres" >&5
+ echo "${ECHO_T}headers $ires, libraries $lres" >&6
+ else
+ 	INCLUDE_readline=
+ 	LIB_readline=
+ 	with_readline=no
+-	echo "$as_me:13132: result: $with_readline" >&5
++	echo "configure:14678: result: $with_readline" >&5
+ echo "${ECHO_T}$with_readline" >&6
+ fi
+ 
+@@ -13143,9 +14689,7 @@
+ if test "${with_hesiod_lib+set}" = set; then
+   withval="$with_hesiod_lib"
+   if test "$withval" = "yes" -o "$withval" = "no"; then
+-  { { echo "$as_me:13146: error: No argument for --with-hesiod-lib" >&5
+-echo "$as_me: error: No argument for --with-hesiod-lib" >&2;}
+-   { (exit 1); exit 1; }; }
++  { echo "configure: error: No argument for --with-hesiod-lib" >&2; exit 1; }
+ elif test "X$with_hesiod" = "X"; then
+   with_hesiod=yes
+ fi
+@@ -13155,15 +14699,13 @@
+ if test "${with_hesiod_include+set}" = set; then
+   withval="$with_hesiod_include"
+   if test "$withval" = "yes" -o "$withval" = "no"; then
+-  { { echo "$as_me:13158: error: No argument for --with-hesiod-include" >&5
+-echo "$as_me: error: No argument for --with-hesiod-include" >&2;}
+-   { (exit 1); exit 1; }; }
++  { echo "configure: error: No argument for --with-hesiod-include" >&2; exit 1; }
+ elif test "X$with_hesiod" = "X"; then
+   with_hesiod=yes
+ fi
+ fi;
+ 
+-echo "$as_me:13166: checking for hesiod" >&5
++echo "configure:14708: checking for hesiod" >&5
+ echo $ECHO_N "checking for hesiod... $ECHO_C" >&6
+ 
+ case "$with_hesiod" in
+@@ -13203,7 +14745,7 @@
+ for i in $header_dirs; do
+ 	CFLAGS="-I$i $save_CFLAGS"
+ 	cat >conftest.$ac_ext <<_ACEOF
+-#line 13206 "configure"
++#line 14748 "configure"
+ #include "confdefs.h"
+ #include <hesiod.h>
+ int
+@@ -13215,27 +14757,18 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:13218: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13221: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:13223: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13226: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:14760: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ires=$i;break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ done
+ for i in $lib_dirs; do
+ 	LIBS="-L$i -lhesiod  $save_LIBS"
+ 	cat >conftest.$ac_ext <<_ACEOF
+-#line 13238 "configure"
++#line 14771 "configure"
+ #include "confdefs.h"
+ #include <hesiod.h>
+ int
+@@ -13247,20 +14780,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:13250: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13253: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:13255: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13258: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:14783: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   lres=$i;break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ done
+@@ -13272,19 +14796,15 @@
+ 	hesiod_libdir="$lres"
+ 	INCLUDE_hesiod="-I$hesiod_includedir"
+ 	LIB_hesiod="-L$hesiod_libdir -lhesiod"
+-
+-cat >>confdefs.h <<EOF
+-#define HESIOD 1
+-EOF
+-
++	
+ 	with_hesiod=yes
+-	echo "$as_me:13281: result: headers $ires, libraries $lres" >&5
++	echo "configure:14801: result: headers $ires, libraries $lres" >&5
+ echo "${ECHO_T}headers $ires, libraries $lres" >&6
+ else
+ 	INCLUDE_hesiod=
+ 	LIB_hesiod=
+ 	with_hesiod=no
+-	echo "$as_me:13287: result: $with_hesiod" >&5
++	echo "configure:14807: result: $with_hesiod" >&5
+ echo "${ECHO_T}$with_hesiod" >&6
+ fi
+ 
+@@ -13298,13 +14818,13 @@
+   enableval="$enable_littleendian"
+   krb_cv_c_bigendian=no
+ fi;
+-echo "$as_me:13301: checking whether byte order is known at compile time" >&5
++echo "configure:14821: checking whether byte order is known at compile time" >&5
+ echo $ECHO_N "checking whether byte order is known at compile time... $ECHO_C" >&6
+ if test "${krb_cv_c_bigendian_compile+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 13307 "configure"
++#line 14827 "configure"
+ #include "confdefs.h"
+ 
+ #include <sys/types.h>
+@@ -13321,27 +14841,18 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:13324: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13327: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:13329: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13332: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:14844: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   krb_cv_c_bigendian_compile=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-krb_cv_c_bigendian_compile=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  krb_cv_c_bigendian_compile=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:13342: result: $krb_cv_c_bigendian_compile" >&5
++echo "configure:14853: result: $krb_cv_c_bigendian_compile" >&5
+ echo "${ECHO_T}$krb_cv_c_bigendian_compile" >&6
+-echo "$as_me:13344: checking whether byte ordering is bigendian" >&5
++echo "configure:14855: checking whether byte ordering is bigendian" >&5
+ echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
+ if test "${krb_cv_c_bigendian+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -13349,7 +14860,7 @@
+ 
+   if test "$krb_cv_c_bigendian_compile" = "yes"; then
+     cat >conftest.$ac_ext <<_ACEOF
+-#line 13352 "configure"
++#line 14863 "configure"
+ #include "confdefs.h"
+ 
+ #include <sys/types.h>
+@@ -13366,31 +14877,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:13369: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13372: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:13374: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13377: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:14880: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   krb_cv_c_bigendian=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-krb_cv_c_bigendian=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  krb_cv_c_bigendian=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+   else
+     if test "$cross_compiling" = yes; then
+-  { { echo "$as_me:13388: error: specify either --enable-bigendian or --enable-littleendian" >&5
+-echo "$as_me: error: specify either --enable-bigendian or --enable-littleendian" >&2;}
+-   { (exit 1); exit 1; }; }
++  { echo "configure: error: specify either --enable-bigendian or --enable-littleendian" >&2; exit 1; }
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 13393 "configure"
++#line 14893 "configure"
+ #include "confdefs.h"
+ main () {
+       /* Are we little or big endian?  From Harbison&Steele.  */
+@@ -13404,28 +14904,21 @@
+   }
+ _ACEOF
+ rm -f conftest$ac_exeext
+-if { (eval echo "$as_me:13407: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13410: \$? = $ac_status" >&5
+-  (exit $ac_status); } && { (eval echo "$as_me:13411: \"./conftest$ac_exeext\"") >&5
+-  (eval ./conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13414: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:14907: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
++   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
+   krb_cv_c_bigendian=no
+ else
+-  echo "$as_me: program exited with status $ac_status" >&5
+-echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-krb_cv_c_bigendian=yes
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  krb_cv_c_bigendian=yes
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
++
+   fi
+ 
+ fi
+-echo "$as_me:13428: result: $krb_cv_c_bigendian" >&5
++echo "configure:14921: result: $krb_cv_c_bigendian" >&5
+ echo "${ECHO_T}$krb_cv_c_bigendian" >&6
+ if test "$krb_cv_c_bigendian" = "yes"; then
+ 
+@@ -13440,7 +14933,7 @@
+ EOF
+ fi
+ 
+-echo "$as_me:13443: checking for inline" >&5
++echo "configure:14936: checking for inline" >&5
+ echo $ECHO_N "checking for inline... $ECHO_C" >&6
+ if test "${ac_cv_c_inline+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -13448,7 +14941,7 @@
+   ac_cv_c_inline=no
+ for ac_kw in inline __inline__ __inline; do
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 13451 "configure"
++#line 14944 "configure"
+ #include "confdefs.h"
+ #ifndef __cplusplus
+ $ac_kw int foo () {return 0; }
+@@ -13456,26 +14949,17 @@
+ 
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:13459: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13462: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:13464: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13467: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:14952: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_c_inline=$ac_kw; break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ done
+ 
+ fi
+-echo "$as_me:13478: result: $ac_cv_c_inline" >&5
++echo "configure:14962: result: $ac_cv_c_inline" >&5
+ echo "${ECHO_T}$ac_cv_c_inline" >&6
+ case $ac_cv_c_inline in
+   inline | yes) ;;
+@@ -13525,7 +15009,7 @@
+   AIX_DYNAMIC_AFS_FALSE=
+ fi
+ 
+-echo "$as_me:13528: checking for dlopen" >&5
++echo "configure:15012: checking for dlopen" >&5
+ echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
+ if test "${ac_cv_funclib_dlopen+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -13541,7 +15025,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 13544 "configure"
++#line 15028 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -13553,20 +15037,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:13556: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13559: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:13561: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13564: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:15040: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_dlopen=$ac_lib; else ac_cv_funclib_dlopen=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -13579,17 +15054,17 @@
+ eval "ac_res=\$ac_cv_funclib_dlopen"
+ 
+ if false; then
+-
++	
+ for ac_func in dlopen
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:13586: checking for $ac_func" >&5
++echo "configure:15061: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 13592 "configure"
++#line 15067 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -13620,25 +15095,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:13623: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13626: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:13628: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13631: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:15098: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:13641: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:15107: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -13662,13 +15128,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:13665: result: yes" >&5
++	echo "configure:15131: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_dlopen=no"
+ 	eval "LIB_dlopen="
+-	echo "$as_me:13671: result: no" >&5
++	echo "configure:15137: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -13682,7 +15148,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:13685: result: yes, in $ac_res" >&5
++	echo "configure:15151: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -13722,7 +15188,7 @@
+   IRIX_FALSE=
+ fi
+ 
+-echo "$as_me:13725: checking for X" >&5
++echo "configure:15191: checking for X" >&5
+ echo $ECHO_N "checking for X... $ECHO_C" >&6
+ 
+ # Check whether --with-x or --without-x was given.
+@@ -13739,7 +15205,7 @@
+     # Both variables are already set.
+     have_x=yes
+   else
+-    if test "${ac_cv_have_x+set}" = set; then
++if test "${ac_cv_have_x+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   # One or both of the vars are not set, and there is no cached value.
+@@ -13819,19 +15285,13 @@
+   # Guess where to find include files, by looking for Intrinsic.h.
+   # First, try using that file with no special directory specified.
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 13822 "configure"
++#line 15288 "configure"
+ #include "confdefs.h"
+ #include <X11/Intrinsic.h>
+ _ACEOF
+-if { (eval echo "$as_me:13826: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
+-  (eval $ac_cpp conftest.$ac_ext >/dev/null) 2>conftest.er1
+-  ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
+-  rm -f conftest.er1
+-  cat conftest.err >&5
+-  echo "$as_me:13832: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  if test -s conftest.err; then
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:15293: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+   else
+     ac_cpp_err=
+@@ -13839,11 +15299,13 @@
+ else
+   ac_cpp_err=yes
+ fi
++
+ if test -z "$ac_cpp_err"; then
+   # We can compile using X headers with no special include directory.
+ ac_x_includes=
+ else
+-  echo "$as_me: failed program was:" >&5
++  cat conftest.err >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   for ac_dir in $ac_x_header_dirs; do
+   if test -r "$ac_dir/X11/Intrinsic.h"; then
+@@ -13852,7 +15314,8 @@
+   fi
+ done
+ fi
+-rm -f conftest.err conftest.$ac_ext
++rm -f conftest*
++
+ fi # $ac_x_includes = no
+ 
+ if test "$ac_x_libraries" = no; then
+@@ -13862,7 +15325,7 @@
+   ac_save_LIBS=$LIBS
+   LIBS="-lXt $LIBS"
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 13865 "configure"
++#line 15328 "configure"
+ #include "confdefs.h"
+ #include <X11/Intrinsic.h>
+ int
+@@ -13874,23 +15337,14 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:13877: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13880: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:13882: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13885: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:15340: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   LIBS=$ac_save_LIBS
+ # We can link X programs with no special library path.
+ ac_x_libraries=
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-LIBS=$ac_save_LIBS
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  LIBS=$ac_save_LIBS
+ for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
+ do
+   # Don't even attempt the hair of trying to link an X program!
+@@ -13914,13 +15368,12 @@
+ 	        ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
+ fi
+ fi
+-
+   fi
+   eval "$ac_cv_have_x"
+ fi # $with_x != no
+ 
+ if test "$have_x" != yes; then
+-  echo "$as_me:13923: result: $have_x" >&5
++  echo "configure:15376: result: $have_x" >&5
+ echo "${ECHO_T}$have_x" >&6
+   no_x=yes
+ else
+@@ -13930,7 +15383,7 @@
+   # Update the cache value to reflect the command line values.
+   ac_cv_have_x="have_x=yes \
+ 		ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
+-  echo "$as_me:13933: result: libraries $x_libraries, headers $x_includes" >&5
++  echo "configure:15386: result: libraries $x_libraries, headers $x_includes" >&5
+ echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
+ fi
+ 
+@@ -13954,81 +15407,39 @@
+     # others require no space.  Words are not sufficient . . . .
+     case `(uname -sr) 2>/dev/null` in
+     "SunOS 5"*)
+-      echo "$as_me:13957: checking whether -R must be followed by a space" >&5
++      echo "configure:15410: checking whether -R must be followed by a space" >&5
+ echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
+       ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
+-      cat >conftest.$ac_ext <<_ACEOF
+-#line 13961 "configure"
+-#include "confdefs.h"
+-
+-int
+-main ()
+-{
+-
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:13973: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13976: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:13978: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13981: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++      rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:15414: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_R_nospace=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_R_nospace=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_R_nospace=no
+ fi
+-rm -f conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext
+       if test $ac_R_nospace = yes; then
+-	echo "$as_me:13991: result: no" >&5
++	echo "configure:15423: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	X_LIBS="$X_LIBS -R$x_libraries"
+       else
+ 	LIBS="$ac_xsave_LIBS -R $x_libraries"
+-	cat >conftest.$ac_ext <<_ACEOF
+-#line 13997 "configure"
+-#include "confdefs.h"
+-
+-int
+-main ()
+-{
+-
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:14009: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14012: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:14014: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14017: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++	rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:15429: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_R_space=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_R_space=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_R_space=no
+ fi
+-rm -f conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext
+ 	if test $ac_R_space = yes; then
+-	  echo "$as_me:14027: result: yes" >&5
++	  echo "configure:15438: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	  X_LIBS="$X_LIBS -R $x_libraries"
+ 	else
+-	  echo "$as_me:14031: result: neither works" >&5
++	  echo "configure:15442: result: neither works" >&5
+ echo "${ECHO_T}neither works" >&6
+ 	fi
+       fi
+@@ -14046,7 +15457,8 @@
+     # Martyn Johnson says this is needed for Ultrix, if the X
+     # libraries were built with DECnet support.  And Karl Berry says
+     # the Alpha needs dnet_stub (dnet does not exist).
+-    echo "$as_me:14049: checking for dnet_ntoa in -ldnet" >&5
++
++echo "configure:15461: checking for dnet_ntoa in -ldnet" >&5
+ echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
+ if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -14054,7 +15466,7 @@
+   ac_check_lib_save_LIBS=$LIBS
+ LIBS="-ldnet  $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 14057 "configure"
++#line 15469 "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -14073,33 +15485,25 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:14076: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14079: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:14081: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14084: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:15488: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_lib_dnet_dnet_ntoa=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_lib_dnet_dnet_ntoa=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_lib_dnet_dnet_ntoa=no
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "$as_me:14095: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
++echo "configure:15498: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
+ echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
+ if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
+   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
+ fi
+ 
+     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
+-      echo "$as_me:14102: checking for dnet_ntoa in -ldnet_stub" >&5
++
++echo "configure:15506: checking for dnet_ntoa in -ldnet_stub" >&5
+ echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
+ if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -14107,7 +15511,7 @@
+   ac_check_lib_save_LIBS=$LIBS
+ LIBS="-ldnet_stub  $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 14110 "configure"
++#line 15514 "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -14126,26 +15530,17 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:14129: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14132: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:14134: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14137: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:15533: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_lib_dnet_stub_dnet_ntoa=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_lib_dnet_stub_dnet_ntoa=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_lib_dnet_stub_dnet_ntoa=no
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "$as_me:14148: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
++echo "configure:15543: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
+ echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
+ if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
+   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
+@@ -14161,13 +15556,13 @@
+     # on Irix 5.2, according to T.E. Dickey.
+     # The functions gethostbyname, getservbyname, and inet_addr are
+     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
+-    echo "$as_me:14164: checking for gethostbyname" >&5
++    echo "configure:15559: checking for gethostbyname" >&5
+ echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
+ if test "${ac_cv_func_gethostbyname+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 14170 "configure"
++#line 15565 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char gethostbyname (); below.  */
+@@ -14198,29 +15593,21 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:14201: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14204: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:14206: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14209: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:15596: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_func_gethostbyname=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_gethostbyname=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_gethostbyname=no
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:14219: result: $ac_cv_func_gethostbyname" >&5
++echo "configure:15605: result: $ac_cv_func_gethostbyname" >&5
+ echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
+ 
+     if test $ac_cv_func_gethostbyname = no; then
+-      echo "$as_me:14223: checking for gethostbyname in -lnsl" >&5
++
++echo "configure:15610: checking for gethostbyname in -lnsl" >&5
+ echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
+ if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -14228,7 +15615,7 @@
+   ac_check_lib_save_LIBS=$LIBS
+ LIBS="-lnsl  $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 14231 "configure"
++#line 15618 "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -14247,33 +15634,25 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:14250: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14253: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:14255: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14258: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:15637: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_lib_nsl_gethostbyname=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_lib_nsl_gethostbyname=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_lib_nsl_gethostbyname=no
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "$as_me:14269: result: $ac_cv_lib_nsl_gethostbyname" >&5
++echo "configure:15647: result: $ac_cv_lib_nsl_gethostbyname" >&5
+ echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
+ if test $ac_cv_lib_nsl_gethostbyname = yes; then
+   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
+ fi
+ 
+       if test $ac_cv_lib_nsl_gethostbyname = no; then
+-        echo "$as_me:14276: checking for gethostbyname in -lbsd" >&5
++
++echo "configure:15655: checking for gethostbyname in -lbsd" >&5
+ echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
+ if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -14281,7 +15660,7 @@
+   ac_check_lib_save_LIBS=$LIBS
+ LIBS="-lbsd  $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 14284 "configure"
++#line 15663 "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -14300,26 +15679,17 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:14303: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14306: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:14308: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14311: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:15682: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_lib_bsd_gethostbyname=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_lib_bsd_gethostbyname=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_lib_bsd_gethostbyname=no
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "$as_me:14322: result: $ac_cv_lib_bsd_gethostbyname" >&5
++echo "configure:15692: result: $ac_cv_lib_bsd_gethostbyname" >&5
+ echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
+ if test $ac_cv_lib_bsd_gethostbyname = yes; then
+   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
+@@ -14335,13 +15705,13 @@
+     # variants that don't use the nameserver (or something).  -lsocket
+     # must be given before -lnsl if both are needed.  We assume that
+     # if connect needs -lnsl, so does gethostbyname.
+-    echo "$as_me:14338: checking for connect" >&5
++    echo "configure:15708: checking for connect" >&5
+ echo $ECHO_N "checking for connect... $ECHO_C" >&6
+ if test "${ac_cv_func_connect+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 14344 "configure"
++#line 15714 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char connect (); below.  */
+@@ -14372,29 +15742,21 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:14375: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14378: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:14380: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14383: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:15745: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_func_connect=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_connect=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_connect=no
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:14393: result: $ac_cv_func_connect" >&5
++echo "configure:15754: result: $ac_cv_func_connect" >&5
+ echo "${ECHO_T}$ac_cv_func_connect" >&6
+ 
+     if test $ac_cv_func_connect = no; then
+-      echo "$as_me:14397: checking for connect in -lsocket" >&5
++
++echo "configure:15759: checking for connect in -lsocket" >&5
+ echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
+ if test "${ac_cv_lib_socket_connect+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -14402,7 +15764,7 @@
+   ac_check_lib_save_LIBS=$LIBS
+ LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 14405 "configure"
++#line 15767 "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -14421,26 +15783,17 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:14424: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14427: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:14429: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14432: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:15786: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_lib_socket_connect=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_lib_socket_connect=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_lib_socket_connect=no
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "$as_me:14443: result: $ac_cv_lib_socket_connect" >&5
++echo "configure:15796: result: $ac_cv_lib_socket_connect" >&5
+ echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
+ if test $ac_cv_lib_socket_connect = yes; then
+   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
+@@ -14449,13 +15802,13 @@
+     fi
+ 
+     # Guillermo Gomez says -lposix is necessary on A/UX.
+-    echo "$as_me:14452: checking for remove" >&5
++    echo "configure:15805: checking for remove" >&5
+ echo $ECHO_N "checking for remove... $ECHO_C" >&6
+ if test "${ac_cv_func_remove+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 14458 "configure"
++#line 15811 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char remove (); below.  */
+@@ -14486,29 +15839,21 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:14489: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14492: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:14494: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14497: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:15842: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_func_remove=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_remove=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_remove=no
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:14507: result: $ac_cv_func_remove" >&5
++echo "configure:15851: result: $ac_cv_func_remove" >&5
+ echo "${ECHO_T}$ac_cv_func_remove" >&6
+ 
+     if test $ac_cv_func_remove = no; then
+-      echo "$as_me:14511: checking for remove in -lposix" >&5
++
++echo "configure:15856: checking for remove in -lposix" >&5
+ echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
+ if test "${ac_cv_lib_posix_remove+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -14516,7 +15861,7 @@
+   ac_check_lib_save_LIBS=$LIBS
+ LIBS="-lposix  $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 14519 "configure"
++#line 15864 "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -14535,26 +15880,17 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:14538: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14541: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:14543: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14546: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:15883: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_lib_posix_remove=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_lib_posix_remove=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_lib_posix_remove=no
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "$as_me:14557: result: $ac_cv_lib_posix_remove" >&5
++echo "configure:15893: result: $ac_cv_lib_posix_remove" >&5
+ echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
+ if test $ac_cv_lib_posix_remove = yes; then
+   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
+@@ -14563,13 +15899,13 @@
+     fi
+ 
+     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
+-    echo "$as_me:14566: checking for shmat" >&5
++    echo "configure:15902: checking for shmat" >&5
+ echo $ECHO_N "checking for shmat... $ECHO_C" >&6
+ if test "${ac_cv_func_shmat+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 14572 "configure"
++#line 15908 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char shmat (); below.  */
+@@ -14600,29 +15936,21 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:14603: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14606: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:14608: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14611: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:15939: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_func_shmat=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_shmat=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_shmat=no
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:14621: result: $ac_cv_func_shmat" >&5
++echo "configure:15948: result: $ac_cv_func_shmat" >&5
+ echo "${ECHO_T}$ac_cv_func_shmat" >&6
+ 
+     if test $ac_cv_func_shmat = no; then
+-      echo "$as_me:14625: checking for shmat in -lipc" >&5
++
++echo "configure:15953: checking for shmat in -lipc" >&5
+ echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
+ if test "${ac_cv_lib_ipc_shmat+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -14630,7 +15958,7 @@
+   ac_check_lib_save_LIBS=$LIBS
+ LIBS="-lipc  $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 14633 "configure"
++#line 15961 "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -14649,26 +15977,17 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:14652: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14655: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:14657: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14660: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:15980: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_lib_ipc_shmat=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_lib_ipc_shmat=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_lib_ipc_shmat=no
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "$as_me:14671: result: $ac_cv_lib_ipc_shmat" >&5
++echo "configure:15990: result: $ac_cv_lib_ipc_shmat" >&5
+ echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
+ if test $ac_cv_lib_ipc_shmat = yes; then
+   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
+@@ -14686,7 +16005,8 @@
+   # These have to be linked with before -lX11, unlike the other
+   # libraries we check for below, so use a different variable.
+   # John Interrante, Karl Berry
+-  echo "$as_me:14689: checking for IceConnectionNumber in -lICE" >&5
++
++echo "configure:16009: checking for IceConnectionNumber in -lICE" >&5
+ echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
+ if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -14694,7 +16014,7 @@
+   ac_check_lib_save_LIBS=$LIBS
+ LIBS="-lICE $X_EXTRA_LIBS $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 14697 "configure"
++#line 16017 "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -14713,26 +16033,17 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:14716: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14719: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:14721: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14724: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:16036: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_lib_ICE_IceConnectionNumber=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_lib_ICE_IceConnectionNumber=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_lib_ICE_IceConnectionNumber=no
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "$as_me:14735: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
++echo "configure:16046: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
+ echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
+ if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
+   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
+@@ -14745,7 +16056,7 @@
+ # try to figure out if we need any additional ld flags, like -R
+ # and yes, the autoconf X test is utterly broken
+ if test "$no_x" != yes; then
+-	echo "$as_me:14748: checking for special X linker flags" >&5
++	echo "configure:16059: checking for special X linker flags" >&5
+ echo $ECHO_N "checking for special X linker flags... $ECHO_C" >&6
+ if test "${krb_cv_sys_x_libs_rpath+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -14774,12 +16085,10 @@
+ 		fi
+ 		LIBS="$ac_save_libs $foo $X_PRE_LIBS -lX11 $X_EXTRA_LIBS"
+ 		if test "$cross_compiling" = yes; then
+-  { { echo "$as_me:14777: error: cannot run test program while cross compiling" >&5
+-echo "$as_me: error: cannot run test program while cross compiling" >&2;}
+-   { (exit 1); exit 1; }; }
++  { echo "configure: error: cannot run test program while cross compiling" >&2; exit 1; }
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 14782 "configure"
++#line 16091 "configure"
+ #include "confdefs.h"
+ 
+ 		#include <X11/Xlib.h>
+@@ -14791,33 +16100,26 @@
+ 		{
+ 		return 0;
+ 		}
+-
++		
+ _ACEOF
+ rm -f conftest$ac_exeext
+-if { (eval echo "$as_me:14797: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14800: \$? = $ac_status" >&5
+-  (exit $ac_status); } && { (eval echo "$as_me:14801: \"./conftest$ac_exeext\"") >&5
+-  (eval ./conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14804: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:16106: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
++   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
+   krb_cv_sys_x_libs_rpath="$rflag"; krb_cv_sys_x_libs="$foo"; break
+ else
+-  echo "$as_me: program exited with status $ac_status" >&5
+-echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-:
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  :
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
++
+ 	done
+ 	LIBS="$ac_save_libs"
+ 	CFLAGS="$ac_save_cflags"
+-
++	
+ fi
+-echo "$as_me:14820: result: $krb_cv_sys_x_libs_rpath" >&5
++echo "configure:16122: result: $krb_cv_sys_x_libs_rpath" >&5
+ echo "${ECHO_T}$krb_cv_sys_x_libs_rpath" >&6
+ 	X_LIBS="$krb_cv_sys_x_libs"
+ fi
+@@ -14837,7 +16139,7 @@
+ save_LDFLAGS="$LDFLAGS"
+ LDFLAGS="$LDFLAGS $X_LIBS"
+ 
+-echo "$as_me:14840: checking for XauWriteAuth" >&5
++echo "configure:16142: checking for XauWriteAuth" >&5
+ echo $ECHO_N "checking for XauWriteAuth... $ECHO_C" >&6
+ if test "${ac_cv_funclib_XauWriteAuth+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -14853,7 +16155,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 14856 "configure"
++#line 16158 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -14865,20 +16167,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:14868: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14871: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:14873: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14876: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:16170: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_XauWriteAuth=$ac_lib; else ac_cv_funclib_XauWriteAuth=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -14891,17 +16184,17 @@
+ eval "ac_res=\$ac_cv_funclib_XauWriteAuth"
+ 
+ if false; then
+-
++	
+ for ac_func in XauWriteAuth
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:14898: checking for $ac_func" >&5
++echo "configure:16191: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 14904 "configure"
++#line 16197 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -14932,25 +16225,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:14935: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14938: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:14940: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14943: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:16228: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:14953: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:16237: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -14974,13 +16258,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:14977: result: yes" >&5
++	echo "configure:16261: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_XauWriteAuth=no"
+ 	eval "LIB_XauWriteAuth="
+-	echo "$as_me:14983: result: no" >&5
++	echo "configure:16267: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -14994,7 +16278,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:14997: result: yes, in $ac_res" >&5
++	echo "configure:16281: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -15002,7 +16286,7 @@
+ ac_xxx="$LIBS"
+ LIBS="$LIB_XauWriteAuth $LIBS"
+ 
+-echo "$as_me:15005: checking for XauReadAuth" >&5
++echo "configure:16289: checking for XauReadAuth" >&5
+ echo $ECHO_N "checking for XauReadAuth... $ECHO_C" >&6
+ if test "${ac_cv_funclib_XauReadAuth+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -15018,7 +16302,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 15021 "configure"
++#line 16305 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -15030,20 +16314,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:15033: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15036: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:15038: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15041: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:16317: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_XauReadAuth=$ac_lib; else ac_cv_funclib_XauReadAuth=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -15056,17 +16331,17 @@
+ eval "ac_res=\$ac_cv_funclib_XauReadAuth"
+ 
+ if false; then
+-
++	
+ for ac_func in XauReadAuth
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:15063: checking for $ac_func" >&5
++echo "configure:16338: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 15069 "configure"
++#line 16344 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -15097,25 +16372,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:15100: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15103: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:15105: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15108: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:16375: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:15118: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:16384: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -15139,13 +16405,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:15142: result: yes" >&5
++	echo "configure:16408: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_XauReadAuth=no"
+ 	eval "LIB_XauReadAuth="
+-	echo "$as_me:15148: result: no" >&5
++	echo "configure:16414: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -15159,14 +16425,14 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:15162: result: yes, in $ac_res" >&5
++	echo "configure:16428: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+ LIBS="$LIB_XauReadAauth $LIBS"
+ 
+-echo "$as_me:15169: checking for XauFileName" >&5
++echo "configure:16435: checking for XauFileName" >&5
+ echo $ECHO_N "checking for XauFileName... $ECHO_C" >&6
+ if test "${ac_cv_funclib_XauFileName+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -15182,7 +16448,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 15185 "configure"
++#line 16451 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -15194,20 +16460,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:15197: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15200: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:15202: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15205: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:16463: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_XauFileName=$ac_lib; else ac_cv_funclib_XauFileName=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -15220,17 +16477,17 @@
+ eval "ac_res=\$ac_cv_funclib_XauFileName"
+ 
+ if false; then
+-
++	
+ for ac_func in XauFileName
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:15227: checking for $ac_func" >&5
++echo "configure:16484: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 15233 "configure"
++#line 16490 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -15261,25 +16518,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:15264: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15267: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:15269: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15272: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:16521: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:15282: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:16530: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -15303,13 +16551,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:15306: result: yes" >&5
++	echo "configure:16554: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_XauFileName=no"
+ 	eval "LIB_XauFileName="
+-	echo "$as_me:15312: result: no" >&5
++	echo "configure:16560: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -15323,7 +16571,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:15326: result: yes, in $ac_res" >&5
++	echo "configure:16574: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -15350,6 +16598,7 @@
+ esac
+ 
+ if test "$AUTOMAKE" != ""; then
++	
+ 
+ if test "$ac_cv_func_XauWriteAuth" != "yes"; then
+   NEED_WRITEAUTH_TRUE=
+@@ -15359,7 +16608,8 @@
+   NEED_WRITEAUTH_FALSE=
+ fi
+ else
+-
++	
++	
+ 	if test "$ac_cv_func_XauWriteAuth" != "yes"; then
+ 		NEED_WRITEAUTH_TRUE=
+ 		NEED_WRITEAUTH_FALSE='#'
+@@ -15372,13 +16622,13 @@
+ LIBS=$save_LIBS
+ LDFLAGS=$save_LDFLAGS
+ 
+-echo "$as_me:15375: checking for an ANSI C-conforming const" >&5
++echo "configure:16625: checking for an ANSI C-conforming const" >&5
+ echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
+ if test "${ac_cv_c_const+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 15381 "configure"
++#line 16631 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -15436,25 +16686,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:15439: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15442: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:15444: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15447: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:16689: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_c_const=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_c_const=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_c_const=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:15457: result: $ac_cv_c_const" >&5
++echo "configure:16698: result: $ac_cv_c_const" >&5
+ echo "${ECHO_T}$ac_cv_c_const" >&6
+ if test $ac_cv_c_const = no; then
+ 
+@@ -15464,13 +16705,13 @@
+ 
+ fi
+ 
+-echo "$as_me:15467: checking for off_t" >&5
++echo "configure:16708: checking for off_t" >&5
+ echo $ECHO_N "checking for off_t... $ECHO_C" >&6
+ if test "${ac_cv_type_off_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 15473 "configure"
++#line 16714 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -15485,25 +16726,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:15488: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15491: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:15493: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15496: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:16729: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_off_t=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_off_t=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_off_t=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:15506: result: $ac_cv_type_off_t" >&5
++echo "configure:16738: result: $ac_cv_type_off_t" >&5
+ echo "${ECHO_T}$ac_cv_type_off_t" >&6
+ if test $ac_cv_type_off_t = yes; then
+   :
+@@ -15515,13 +16747,13 @@
+ 
+ fi
+ 
+-echo "$as_me:15518: checking for size_t" >&5
++echo "configure:16750: checking for size_t" >&5
+ echo $ECHO_N "checking for size_t... $ECHO_C" >&6
+ if test "${ac_cv_type_size_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 15524 "configure"
++#line 16756 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -15536,25 +16768,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:15539: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15542: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:15544: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15547: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:16771: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_size_t=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_size_t=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_size_t=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:15557: result: $ac_cv_type_size_t" >&5
++echo "configure:16780: result: $ac_cv_type_size_t" >&5
+ echo "${ECHO_T}$ac_cv_type_size_t" >&6
+ if test $ac_cv_type_size_t = yes; then
+   :
+@@ -15566,13 +16789,13 @@
+ 
+ fi
+ 
+-echo "$as_me:15569: checking for ssize_t" >&5
++echo "configure:16792: checking for ssize_t" >&5
+ echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
+ if test "${ac_cv_type_ssize_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 15575 "configure"
++#line 16798 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -15590,7 +16813,7 @@
+ rm -f conftest*
+ 
+ fi
+-echo "$as_me:15593: result: $ac_cv_type_ssize_t" >&5
++echo "configure:16816: result: $ac_cv_type_ssize_t" >&5
+ echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
+ if test $ac_cv_type_ssize_t = no; then
+ 
+@@ -15600,13 +16823,13 @@
+ 
+ fi
+ 
+-echo "$as_me:15603: checking for pid_t" >&5
++echo "configure:16826: checking for pid_t" >&5
+ echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
+ if test "${ac_cv_type_pid_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 15609 "configure"
++#line 16832 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -15621,25 +16844,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:15624: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15627: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:15629: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15632: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:16847: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_pid_t=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_pid_t=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_pid_t=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:15642: result: $ac_cv_type_pid_t" >&5
++echo "configure:16856: result: $ac_cv_type_pid_t" >&5
+ echo "${ECHO_T}$ac_cv_type_pid_t" >&6
+ if test $ac_cv_type_pid_t = yes; then
+   :
+@@ -15651,13 +16865,13 @@
+ 
+ fi
+ 
+-echo "$as_me:15654: checking for uid_t in sys/types.h" >&5
++echo "configure:16868: checking for uid_t in sys/types.h" >&5
+ echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
+ if test "${ac_cv_type_uid_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 15660 "configure"
++#line 16874 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ 
+@@ -15671,7 +16885,7 @@
+ rm -f conftest*
+ 
+ fi
+-echo "$as_me:15674: result: $ac_cv_type_uid_t" >&5
++echo "configure:16888: result: $ac_cv_type_uid_t" >&5
+ echo "${ECHO_T}$ac_cv_type_uid_t" >&6
+ if test $ac_cv_type_uid_t = no; then
+ 
+@@ -15685,13 +16899,13 @@
+ 
+ fi
+ 
+-echo "$as_me:15688: checking for mode_t" >&5
++echo "configure:16902: checking for mode_t" >&5
+ echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
+ if test "${ac_cv_type_mode_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 15694 "configure"
++#line 16908 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -15709,7 +16923,7 @@
+ rm -f conftest*
+ 
+ fi
+-echo "$as_me:15712: result: $ac_cv_type_mode_t" >&5
++echo "configure:16926: result: $ac_cv_type_mode_t" >&5
+ echo "${ECHO_T}$ac_cv_type_mode_t" >&6
+ if test $ac_cv_type_mode_t = no; then
+ 
+@@ -15719,13 +16933,13 @@
+ 
+ fi
+ 
+-echo "$as_me:15722: checking for sig_atomic_t" >&5
++echo "configure:16936: checking for sig_atomic_t" >&5
+ echo $ECHO_N "checking for sig_atomic_t... $ECHO_C" >&6
+ if test "${ac_cv_type_sig_atomic_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 15728 "configure"
++#line 16942 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -15743,7 +16957,7 @@
+ rm -f conftest*
+ 
+ fi
+-echo "$as_me:15746: result: $ac_cv_type_sig_atomic_t" >&5
++echo "configure:16960: result: $ac_cv_type_sig_atomic_t" >&5
+ echo "${ECHO_T}$ac_cv_type_sig_atomic_t" >&6
+ if test $ac_cv_type_sig_atomic_t = no; then
+ 
+@@ -15754,13 +16968,13 @@
+ fi
+ 
+ cv=`echo "long long" | sed 'y%./+- %__p__%'`
+-echo "$as_me:15757: checking for long long" >&5
++echo "configure:16971: checking for long long" >&5
+ echo $ECHO_N "checking for long long... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 15763 "configure"
++#line 16977 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -15777,37 +16991,28 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:15780: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15783: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:15785: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15788: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:16994: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_type_$cv=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_type_$cv=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_type_$cv=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:15799: result: $ac_foo" >&5
++echo "configure:17004: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo long long | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:15804: checking for long long" >&5
++	echo "configure:17009: checking for long long" >&5
+ echo $ECHO_N "checking for long long... $ECHO_C" >&6
+ if test "${ac_cv_type_long_long+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 15810 "configure"
++#line 17015 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -15822,25 +17027,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:15825: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15828: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:15830: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15833: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:17030: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_long_long=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_long_long=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_long_long=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:15843: result: $ac_cv_type_long_long" >&5
++echo "configure:17039: result: $ac_cv_type_long_long" >&5
+ echo "${ECHO_T}$ac_cv_type_long_long" >&6
+ if test $ac_cv_type_long_long = yes; then
+ 
+@@ -15858,13 +17054,13 @@
+ 
+ fi
+ 
+-echo "$as_me:15861: checking whether time.h and sys/time.h may both be included" >&5
++echo "configure:17057: checking whether time.h and sys/time.h may both be included" >&5
+ echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
+ if test "${ac_cv_header_time+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 15867 "configure"
++#line 17063 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #include <sys/time.h>
+@@ -15879,25 +17075,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:15882: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15885: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:15887: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15890: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:17078: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_header_time=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_header_time=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_header_time=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:15900: result: $ac_cv_header_time" >&5
++echo "configure:17087: result: $ac_cv_header_time" >&5
+ echo "${ECHO_T}$ac_cv_header_time" >&6
+ if test $ac_cv_header_time = yes; then
+ 
+@@ -15907,13 +17094,13 @@
+ 
+ fi
+ 
+-echo "$as_me:15910: checking whether struct tm is in sys/time.h or time.h" >&5
++echo "configure:17097: checking whether struct tm is in sys/time.h or time.h" >&5
+ echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
+ if test "${ac_cv_struct_tm+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 15916 "configure"
++#line 17103 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #include <time.h>
+@@ -15927,25 +17114,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:15930: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15933: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:15935: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15938: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:17117: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_struct_tm=time.h
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_struct_tm=sys/time.h
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_struct_tm=sys/time.h
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:15948: result: $ac_cv_struct_tm" >&5
++echo "configure:17126: result: $ac_cv_struct_tm" >&5
+ echo "${ECHO_T}$ac_cv_struct_tm" >&6
+ if test $ac_cv_struct_tm = sys/time.h; then
+ 
+@@ -15955,13 +17133,13 @@
+ 
+ fi
+ 
+-echo "$as_me:15958: checking for ANSI C header files" >&5
++echo "configure:17136: checking for ANSI C header files" >&5
+ echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
+ if test "${ac_cv_header_stdc+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 15964 "configure"
++#line 17142 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ #include <stdarg.h>
+@@ -15969,15 +17147,9 @@
+ #include <float.h>
+ 
+ _ACEOF
+-if { (eval echo "$as_me:15972: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
+-  (eval $ac_cpp conftest.$ac_ext >/dev/null) 2>conftest.er1
+-  ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
+-  rm -f conftest.er1
+-  cat conftest.err >&5
+-  echo "$as_me:15978: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  if test -s conftest.err; then
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:17151: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+   else
+     ac_cpp_err=
+@@ -15985,19 +17157,21 @@
+ else
+   ac_cpp_err=yes
+ fi
++
+ if test -z "$ac_cpp_err"; then
+   ac_cv_header_stdc=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  cat conftest.err >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_header_stdc=no
+ fi
+-rm -f conftest.err conftest.$ac_ext
++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 <<_ACEOF
+-#line 16000 "configure"
++#line 17174 "configure"
+ #include "confdefs.h"
+ #include <string.h>
+ 
+@@ -16015,7 +17189,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 <<_ACEOF
+-#line 16018 "configure"
++#line 17192 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ 
+@@ -16036,7 +17210,7 @@
+   :
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 16039 "configure"
++#line 17213 "configure"
+ #include "confdefs.h"
+ #include <ctype.h>
+ #if ((' ' & 0x0FF) == 0x020)
+@@ -16062,27 +17236,20 @@
+ }
+ _ACEOF
+ rm -f conftest$ac_exeext
+-if { (eval echo "$as_me:16065: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:16068: \$? = $ac_status" >&5
+-  (exit $ac_status); } && { (eval echo "$as_me:16069: \"./conftest$ac_exeext\"") >&5
+-  (eval ./conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:16072: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:17239: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
++   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
+   :
+ else
+-  echo "$as_me: program exited with status $ac_status" >&5
+-echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_header_stdc=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_header_stdc=no
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
++
+ fi
+ fi
+-echo "$as_me:16085: result: $ac_cv_header_stdc" >&5
++echo "configure:17252: result: $ac_cv_header_stdc" >&5
+ echo "${ECHO_T}$ac_cv_header_stdc" >&6
+ if test $ac_cv_header_stdc = yes; then
+ 
+@@ -16124,6 +17291,7 @@
+ 	netinet/in_systm.h			\
+ 	netinet6/in6.h				\
+ 	netinfo/ni.h				\
++	openssl/crypto.h			\
+ 	paths.h					\
+ 	pthread.h				\
+ 	pty.h					\
+@@ -16185,25 +17353,21 @@
+ 
+ do
+ ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
+-echo "$as_me:16188: checking for $ac_header" >&5
++
++echo "configure:17357: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 16194 "configure"
++#line 17363 "configure"
+ #include "confdefs.h"
+ #include <$ac_header>
++
+ _ACEOF
+-if { (eval echo "$as_me:16198: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
+-  (eval $ac_cpp conftest.$ac_ext >/dev/null) 2>conftest.er1
+-  ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
+-  rm -f conftest.er1
+-  cat conftest.err >&5
+-  echo "$as_me:16204: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  if test -s conftest.err; then
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:17369: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+   else
+     ac_cpp_err=
+@@ -16211,16 +17375,19 @@
+ else
+   ac_cpp_err=yes
+ fi
++
+ if test -z "$ac_cpp_err"; then
+   eval "$ac_ac_Header=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  cat conftest.err >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_Header=no"
+ fi
+-rm -f conftest.err conftest.$ac_ext
++rm -f conftest*
++
+ fi
+-echo "$as_me:16223: result: `eval echo '${'$ac_ac_Header'}'`" >&5
++echo "configure:17390: result: `eval echo '${'$ac_ac_Header'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
+ if test `eval echo '${'$ac_ac_Header'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -16233,25 +17400,21 @@
+ for ac_header in standards.h
+ do
+ ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
+-echo "$as_me:16236: checking for $ac_header" >&5
++
++echo "configure:17404: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 16242 "configure"
++#line 17410 "configure"
+ #include "confdefs.h"
+ #include <$ac_header>
++
+ _ACEOF
+-if { (eval echo "$as_me:16246: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
+-  (eval $ac_cpp conftest.$ac_ext >/dev/null) 2>conftest.er1
+-  ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
+-  rm -f conftest.er1
+-  cat conftest.err >&5
+-  echo "$as_me:16252: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  if test -s conftest.err; then
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:17416: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+   else
+     ac_cpp_err=
+@@ -16259,16 +17422,19 @@
+ else
+   ac_cpp_err=yes
+ fi
++
+ if test -z "$ac_cpp_err"; then
+   eval "$ac_ac_Header=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  cat conftest.err >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_Header=no"
+ fi
+-rm -f conftest.err conftest.$ac_ext
++rm -f conftest*
++
+ fi
+-echo "$as_me:16271: result: `eval echo '${'$ac_ac_Header'}'`" >&5
++echo "configure:17437: result: `eval echo '${'$ac_ac_Header'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
+ if test `eval echo '${'$ac_ac_Header'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -16282,13 +17448,13 @@
+ 
+ cv=`echo "$i" | sed 'y%./+-%__p_%'`
+ 
+-echo "$as_me:16285: checking for $i" >&5
++echo "configure:17451: checking for $i" >&5
+ echo $ECHO_N "checking for $i... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_header_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 16291 "configure"
++#line 17457 "configure"
+ #include "confdefs.h"
+ \
+ #ifdef HAVE_STANDARDS_H
+@@ -16297,15 +17463,9 @@
+ #include <$i>
+ 
+ _ACEOF
+-if { (eval echo "$as_me:16300: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
+-  (eval $ac_cpp conftest.$ac_ext >/dev/null) 2>conftest.er1
+-  ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
+-  rm -f conftest.er1
+-  cat conftest.err >&5
+-  echo "$as_me:16306: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  if test -s conftest.err; then
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:17467: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+   else
+     ac_cpp_err=
+@@ -16313,16 +17473,19 @@
+ else
+   ac_cpp_err=yes
+ fi
++
+ if test -z "$ac_cpp_err"; then
+   eval "ac_cv_header_$cv=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  cat conftest.err >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_header_$cv=no"
+ fi
+-rm -f conftest.err conftest.$ac_ext
++rm -f conftest*
++
+ fi
+-echo "$as_me:16325: result: `eval echo '${'ac_cv_header_$cv'}'`" >&5
++echo "configure:17488: result: `eval echo '${'ac_cv_header_$cv'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'ac_cv_header_$cv'}'`" >&6
+ ac_res=`eval echo \\$ac_cv_header_$cv`
+ if test "$ac_res" = yes; then
+@@ -16334,29 +17497,26 @@
+ fi
+ done
+ if false;then
++	
+ 
+ for ac_header in netinet/ip.h netinet/tcp.h
+ do
+ ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
+-echo "$as_me:16341: checking for $ac_header" >&5
++
++echo "configure:17506: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 16347 "configure"
++#line 17512 "configure"
+ #include "confdefs.h"
+ #include <$ac_header>
++
+ _ACEOF
+-if { (eval echo "$as_me:16351: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
+-  (eval $ac_cpp conftest.$ac_ext >/dev/null) 2>conftest.er1
+-  ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
+-  rm -f conftest.er1
+-  cat conftest.err >&5
+-  echo "$as_me:16357: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  if test -s conftest.err; then
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:17518: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+   else
+     ac_cpp_err=
+@@ -16364,16 +17524,19 @@
+ else
+   ac_cpp_err=yes
+ fi
++
+ if test -z "$ac_cpp_err"; then
+   eval "$ac_ac_Header=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  cat conftest.err >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_Header=no"
+ fi
+-rm -f conftest.err conftest.$ac_ext
++rm -f conftest*
++
+ fi
+-echo "$as_me:16376: result: `eval echo '${'$ac_ac_Header'}'`" >&5
++echo "configure:17539: result: `eval echo '${'$ac_ac_Header'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
+ if test `eval echo '${'$ac_ac_Header'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -16429,13 +17592,13 @@
+   v6type=unknown
+ v6lib=none
+ 
+-echo "$as_me:16432: checking ipv6 stack type" >&5
++echo "configure:17595: checking ipv6 stack type" >&5
+ echo $ECHO_N "checking ipv6 stack type... $ECHO_C" >&6
+ for i in v6d toshiba kame inria zeta linux; do
+ 	case $i in
+ 	v6d)
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 16438 "configure"
++#line 17601 "configure"
+ #include "confdefs.h"
+ 
+ #include </usr/local/v6/include/sys/types.h>
+@@ -16454,7 +17617,7 @@
+ 		;;
+ 	toshiba)
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 16457 "configure"
++#line 17620 "configure"
+ #include "confdefs.h"
+ 
+ #include <sys/param.h>
+@@ -16473,7 +17636,7 @@
+ 		;;
+ 	kame)
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 16476 "configure"
++#line 17639 "configure"
+ #include "confdefs.h"
+ 
+ #include <netinet/in.h>
+@@ -16492,7 +17655,7 @@
+ 		;;
+ 	inria)
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 16495 "configure"
++#line 17658 "configure"
+ #include "confdefs.h"
+ 
+ #include <netinet/in.h>
+@@ -16509,7 +17672,7 @@
+ 		;;
+ 	zeta)
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 16512 "configure"
++#line 17675 "configure"
+ #include "confdefs.h"
+ 
+ #include <sys/param.h>
+@@ -16539,7 +17702,7 @@
+ 		break
+ 	fi
+ done
+-echo "$as_me:16542: result: $v6type" >&5
++echo "configure:17705: result: $v6type" >&5
+ echo "${ECHO_T}$v6type" >&6
+ 
+ if test "$v6lib" != "none"; then
+@@ -16551,7 +17714,7 @@
+ 	done
+ fi
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 16554 "configure"
++#line 17717 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_SYS_TYPES_H
+@@ -16586,28 +17749,19 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:16589: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:16592: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:16594: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:16597: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:17752: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_lib_ipv6=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_lib_ipv6=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_lib_ipv6=no
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+ 
+-echo "$as_me:16608: checking for IPv6" >&5
++echo "configure:17762: checking for IPv6" >&5
+ echo $ECHO_N "checking for IPv6... $ECHO_C" >&6
+-echo "$as_me:16610: result: $ac_cv_lib_ipv6" >&5
++echo "configure:17764: result: $ac_cv_lib_ipv6" >&5
+ echo "${ECHO_T}$ac_cv_lib_ipv6" >&6
+ if test "$ac_cv_lib_ipv6" = yes; then
+ 
+@@ -16617,7 +17771,7 @@
+ 
+ fi
+ 
+-echo "$as_me:16620: checking for socket" >&5
++echo "configure:17774: checking for socket" >&5
+ echo $ECHO_N "checking for socket... $ECHO_C" >&6
+ if test "${ac_cv_funclib_socket+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -16633,7 +17787,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 16636 "configure"
++#line 17790 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -16645,20 +17799,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:16648: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:16651: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:16653: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:16656: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:17802: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_socket=$ac_lib; else ac_cv_funclib_socket=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -16671,17 +17816,17 @@
+ eval "ac_res=\$ac_cv_funclib_socket"
+ 
+ if false; then
+-
++	
+ for ac_func in socket
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:16678: checking for $ac_func" >&5
++echo "configure:17823: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 16684 "configure"
++#line 17829 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -16712,25 +17857,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:16715: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:16718: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:16720: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:16723: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:17860: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:16733: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:17869: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -16754,13 +17890,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:16757: result: yes" >&5
++	echo "configure:17893: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_socket=no"
+ 	eval "LIB_socket="
+-	echo "$as_me:16763: result: no" >&5
++	echo "configure:17899: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -16774,7 +17910,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:16777: result: yes, in $ac_res" >&5
++	echo "configure:17913: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -16783,7 +17919,7 @@
+ 	LIBS="$LIB_socket $LIBS"
+ fi
+ 
+-echo "$as_me:16786: checking for gethostbyname" >&5
++echo "configure:17922: checking for gethostbyname" >&5
+ echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
+ if test "${ac_cv_funclib_gethostbyname+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -16799,7 +17935,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 16802 "configure"
++#line 17938 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -16811,20 +17947,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:16814: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:16817: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:16819: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:16822: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:17950: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_gethostbyname=$ac_lib; else ac_cv_funclib_gethostbyname=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -16837,17 +17964,17 @@
+ eval "ac_res=\$ac_cv_funclib_gethostbyname"
+ 
+ if false; then
+-
++	
+ for ac_func in gethostbyname
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:16844: checking for $ac_func" >&5
++echo "configure:17971: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 16850 "configure"
++#line 17977 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -16878,25 +18005,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:16881: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:16884: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:16886: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:16889: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:18008: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:16899: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:18017: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -16920,13 +18038,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:16923: result: yes" >&5
++	echo "configure:18041: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_gethostbyname=no"
+ 	eval "LIB_gethostbyname="
+-	echo "$as_me:16929: result: no" >&5
++	echo "configure:18047: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -16940,7 +18058,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:16943: result: yes, in $ac_res" >&5
++	echo "configure:18061: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -16949,7 +18067,7 @@
+ 	LIBS="$LIB_gethostbyname $LIBS"
+ fi
+ 
+-echo "$as_me:16952: checking for syslog" >&5
++echo "configure:18070: checking for syslog" >&5
+ echo $ECHO_N "checking for syslog... $ECHO_C" >&6
+ if test "${ac_cv_funclib_syslog+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -16965,7 +18083,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 16968 "configure"
++#line 18086 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -16977,20 +18095,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:16980: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:16983: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:16985: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:16988: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:18098: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_syslog=$ac_lib; else ac_cv_funclib_syslog=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -17003,17 +18112,17 @@
+ eval "ac_res=\$ac_cv_funclib_syslog"
+ 
+ if false; then
+-
++	
+ for ac_func in syslog
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:17010: checking for $ac_func" >&5
++echo "configure:18119: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 17016 "configure"
++#line 18125 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -17044,25 +18153,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:17047: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:17050: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:17052: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:17055: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:18156: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:17065: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:18165: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -17086,13 +18186,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:17089: result: yes" >&5
++	echo "configure:18189: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_syslog=no"
+ 	eval "LIB_syslog="
+-	echo "$as_me:17095: result: no" >&5
++	echo "configure:18195: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -17106,7 +18206,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:17109: result: yes, in $ac_res" >&5
++	echo "configure:18209: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -17115,7 +18215,7 @@
+ 	LIBS="$LIB_syslog $LIBS"
+ fi
+ 
+-echo "$as_me:17118: checking for logwtmp" >&5
++echo "configure:18218: checking for logwtmp" >&5
+ echo $ECHO_N "checking for logwtmp... $ECHO_C" >&6
+ if test "${ac_cv_funclib_logwtmp+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -17131,7 +18231,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 17134 "configure"
++#line 18234 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -17143,20 +18243,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:17146: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:17149: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:17151: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:17154: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:18246: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_logwtmp=$ac_lib; else ac_cv_funclib_logwtmp=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -17169,17 +18260,17 @@
+ eval "ac_res=\$ac_cv_funclib_logwtmp"
+ 
+ if false; then
+-
++	
+ for ac_func in logwtmp
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:17176: checking for $ac_func" >&5
++echo "configure:18267: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 17182 "configure"
++#line 18273 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -17210,25 +18301,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:17213: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:17216: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:17218: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:17221: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:18304: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:17231: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:18313: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -17252,13 +18334,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:17255: result: yes" >&5
++	echo "configure:18337: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_logwtmp=no"
+ 	eval "LIB_logwtmp="
+-	echo "$as_me:17261: result: no" >&5
++	echo "configure:18343: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -17272,12 +18354,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:17275: result: yes, in $ac_res" >&5
++	echo "configure:18357: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "$as_me:17280: checking for tgetent" >&5
++echo "configure:18362: checking for tgetent" >&5
+ echo $ECHO_N "checking for tgetent... $ECHO_C" >&6
+ if test "${ac_cv_funclib_tgetent+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -17293,7 +18375,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 17296 "configure"
++#line 18378 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -17305,20 +18387,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:17308: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:17311: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:17313: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:17316: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:18390: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_tgetent=$ac_lib; else ac_cv_funclib_tgetent=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -17331,17 +18404,17 @@
+ eval "ac_res=\$ac_cv_funclib_tgetent"
+ 
+ if false; then
+-
++	
+ for ac_func in tgetent
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:17338: checking for $ac_func" >&5
++echo "configure:18411: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 17344 "configure"
++#line 18417 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -17372,25 +18445,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:17375: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:17378: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:17380: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:17383: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:18448: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:17393: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:18457: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -17414,13 +18478,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:17417: result: yes" >&5
++	echo "configure:18481: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_tgetent=no"
+ 	eval "LIB_tgetent="
+-	echo "$as_me:17423: result: no" >&5
++	echo "configure:18487: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -17434,12 +18498,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:17437: result: yes, in $ac_res" >&5
++	echo "configure:18501: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "$as_me:17442: checking for gethostbyname2" >&5
++echo "configure:18506: checking for gethostbyname2" >&5
+ echo $ECHO_N "checking for gethostbyname2... $ECHO_C" >&6
+ if test "${ac_cv_funclib_gethostbyname2+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -17455,7 +18519,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 17458 "configure"
++#line 18522 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -17467,20 +18531,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:17470: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:17473: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:17475: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:17478: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:18534: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_gethostbyname2=$ac_lib; else ac_cv_funclib_gethostbyname2=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -17493,17 +18548,17 @@
+ eval "ac_res=\$ac_cv_funclib_gethostbyname2"
+ 
+ if false; then
+-
++	
+ for ac_func in gethostbyname2
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:17500: checking for $ac_func" >&5
++echo "configure:18555: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 17506 "configure"
++#line 18561 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -17534,25 +18589,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:17537: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:17540: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:17542: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:17545: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:18592: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:17555: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:18601: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -17576,13 +18622,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:17579: result: yes" >&5
++	echo "configure:18625: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_gethostbyname2=no"
+ 	eval "LIB_gethostbyname2="
+-	echo "$as_me:17585: result: no" >&5
++	echo "configure:18631: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -17596,7 +18642,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:17599: result: yes, in $ac_res" >&5
++	echo "configure:18645: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -17605,7 +18651,7 @@
+ 	LIBS="$LIB_gethostbyname2 $LIBS"
+ fi
+ 
+-echo "$as_me:17608: checking for res_search" >&5
++echo "configure:18654: checking for res_search" >&5
+ echo $ECHO_N "checking for res_search... $ECHO_C" >&6
+ if test "${ac_cv_funclib_res_search+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -17621,7 +18667,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 17624 "configure"
++#line 18670 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -17647,20 +18693,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:17650: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:17653: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:17655: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:17658: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:18696: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_res_search=$ac_lib; else ac_cv_funclib_res_search=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -17673,17 +18710,17 @@
+ eval "ac_res=\$ac_cv_funclib_res_search"
+ 
+ if false; then
+-
++	
+ for ac_func in res_search
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:17680: checking for $ac_func" >&5
++echo "configure:18717: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 17686 "configure"
++#line 18723 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -17714,25 +18751,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:17717: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:17720: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:17722: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:17725: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:18754: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:17735: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:18763: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -17756,13 +18784,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:17759: result: yes" >&5
++	echo "configure:18787: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_res_search=no"
+ 	eval "LIB_res_search="
+-	echo "$as_me:17765: result: no" >&5
++	echo "configure:18793: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -17776,7 +18804,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:17779: result: yes, in $ac_res" >&5
++	echo "configure:18807: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -17785,7 +18813,7 @@
+ 	LIBS="$LIB_res_search $LIBS"
+ fi
+ 
+-echo "$as_me:17788: checking for dn_expand" >&5
++echo "configure:18816: checking for dn_expand" >&5
+ echo $ECHO_N "checking for dn_expand... $ECHO_C" >&6
+ if test "${ac_cv_funclib_dn_expand+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -17801,7 +18829,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 17804 "configure"
++#line 18832 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -17827,20 +18855,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:17830: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:17833: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:17835: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:17838: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:18858: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_dn_expand=$ac_lib; else ac_cv_funclib_dn_expand=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -17853,17 +18872,17 @@
+ eval "ac_res=\$ac_cv_funclib_dn_expand"
+ 
+ if false; then
+-
++	
+ for ac_func in dn_expand
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:17860: checking for $ac_func" >&5
++echo "configure:18879: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 17866 "configure"
++#line 18885 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -17894,25 +18913,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:17897: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:17900: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:17902: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:17905: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:18916: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:17915: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:18925: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -17936,13 +18946,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:17939: result: yes" >&5
++	echo "configure:18949: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_dn_expand=no"
+ 	eval "LIB_dn_expand="
+-	echo "$as_me:17945: result: no" >&5
++	echo "configure:18955: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -17956,7 +18966,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:17959: result: yes, in $ac_res" >&5
++	echo "configure:18969: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -17965,7 +18975,7 @@
+ 	LIBS="$LIB_dn_expand $LIBS"
+ fi
+ 
+-echo "$as_me:17968: checking for working snprintf" >&5
++echo "configure:18978: checking for working snprintf" >&5
+ echo $ECHO_N "checking for working snprintf... $ECHO_C" >&6
+ if test "${ac_cv_func_snprintf_working+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -17975,7 +18985,7 @@
+   :
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 17978 "configure"
++#line 18988 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -17988,30 +18998,23 @@
+ }
+ _ACEOF
+ rm -f conftest$ac_exeext
+-if { (eval echo "$as_me:17991: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:17994: \$? = $ac_status" >&5
+-  (exit $ac_status); } && { (eval echo "$as_me:17995: \"./conftest$ac_exeext\"") >&5
+-  (eval ./conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:17998: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:19001: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
++   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
+   :
+ else
+-  echo "$as_me: program exited with status $ac_status" >&5
+-echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_snprintf_working=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_snprintf_working=no
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
++
+ fi
+-echo "$as_me:18010: result: $ac_cv_func_snprintf_working" >&5
++echo "configure:19013: result: $ac_cv_func_snprintf_working" >&5
+ echo "${ECHO_T}$ac_cv_func_snprintf_working" >&6
+ 
+ if test "$ac_cv_func_snprintf_working" = yes; then
+-
++	
+ cat >>confdefs.h <<EOF
+ #define HAVE_SNPRINTF 1
+ EOF
+@@ -18020,13 +19023,13 @@
+ if test "$ac_cv_func_snprintf_working" = yes; then
+ 
+ if test "$ac_cv_func_snprintf+set" != set -o "$ac_cv_func_snprintf" = yes; then
+-echo "$as_me:18023: checking if snprintf needs a prototype" >&5
++echo "configure:19026: checking if snprintf needs a prototype" >&5
+ echo $ECHO_N "checking if snprintf needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_snprintf_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 18029 "configure"
++#line 19032 "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
+ int
+@@ -18041,29 +19044,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:18044: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:18047: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:18049: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:18052: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:19047: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_snprintf_noproto=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_snprintf_noproto=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_snprintf_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:18062: result: $ac_cv_func_snprintf_noproto" >&5
++echo "configure:19056: result: $ac_cv_func_snprintf_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_snprintf_noproto" >&6
+ 
+ if test "$ac_cv_func_snprintf_noproto" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define NEED_SNPRINTF_PROTO 1
+ EOF
+@@ -18074,7 +19068,7 @@
+ 
+ fi
+ 
+-echo "$as_me:18077: checking for working vsnprintf" >&5
++echo "configure:19071: checking for working vsnprintf" >&5
+ echo $ECHO_N "checking for working vsnprintf... $ECHO_C" >&6
+ if test "${ac_cv_func_vsnprintf_working+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -18084,7 +19078,7 @@
+   :
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 18087 "configure"
++#line 19081 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -18107,30 +19101,23 @@
+ }
+ _ACEOF
+ rm -f conftest$ac_exeext
+-if { (eval echo "$as_me:18110: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:18113: \$? = $ac_status" >&5
+-  (exit $ac_status); } && { (eval echo "$as_me:18114: \"./conftest$ac_exeext\"") >&5
+-  (eval ./conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:18117: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:19104: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
++   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
+   :
+ else
+-  echo "$as_me: program exited with status $ac_status" >&5
+-echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_vsnprintf_working=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_vsnprintf_working=no
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
++
+ fi
+-echo "$as_me:18129: result: $ac_cv_func_vsnprintf_working" >&5
++echo "configure:19116: result: $ac_cv_func_vsnprintf_working" >&5
+ echo "${ECHO_T}$ac_cv_func_vsnprintf_working" >&6
+ 
+ if test "$ac_cv_func_vsnprintf_working" = yes; then
+-
++	
+ cat >>confdefs.h <<EOF
+ #define HAVE_VSNPRINTF 1
+ EOF
+@@ -18139,13 +19126,13 @@
+ if test "$ac_cv_func_vsnprintf_working" = yes; then
+ 
+ if test "$ac_cv_func_vsnprintf+set" != set -o "$ac_cv_func_vsnprintf" = yes; then
+-echo "$as_me:18142: checking if vsnprintf needs a prototype" >&5
++echo "configure:19129: checking if vsnprintf needs a prototype" >&5
+ echo $ECHO_N "checking if vsnprintf needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_vsnprintf_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 18148 "configure"
++#line 19135 "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
+ int
+@@ -18160,29 +19147,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:18163: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:18166: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:18168: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:18171: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:19150: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_vsnprintf_noproto=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_vsnprintf_noproto=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_vsnprintf_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:18181: result: $ac_cv_func_vsnprintf_noproto" >&5
++echo "configure:19159: result: $ac_cv_func_vsnprintf_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_vsnprintf_noproto" >&6
+ 
+ if test "$ac_cv_func_vsnprintf_noproto" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define NEED_VSNPRINTF_PROTO 1
+ EOF
+@@ -18228,13 +19206,13 @@
+ 
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:18231: checking for $ac_func" >&5
++echo "configure:19209: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 18237 "configure"
++#line 19215 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -18265,25 +19243,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:18268: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:18271: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:18273: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:18276: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:19246: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:18286: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:19255: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -18296,25 +19265,21 @@
+ for ac_header in capability.h sys/capability.h
+ do
+ ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
+-echo "$as_me:18299: checking for $ac_header" >&5
++
++echo "configure:19269: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 18305 "configure"
++#line 19275 "configure"
+ #include "confdefs.h"
+ #include <$ac_header>
++
+ _ACEOF
+-if { (eval echo "$as_me:18309: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
+-  (eval $ac_cpp conftest.$ac_ext >/dev/null) 2>conftest.er1
+-  ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
+-  rm -f conftest.er1
+-  cat conftest.err >&5
+-  echo "$as_me:18315: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  if test -s conftest.err; then
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:19281: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+   else
+     ac_cpp_err=
+@@ -18322,16 +19287,19 @@
+ else
+   ac_cpp_err=yes
+ fi
++
+ if test -z "$ac_cpp_err"; then
+   eval "$ac_ac_Header=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  cat conftest.err >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_Header=no"
+ fi
+-rm -f conftest.err conftest.$ac_ext
++rm -f conftest*
++
+ fi
+-echo "$as_me:18334: result: `eval echo '${'$ac_ac_Header'}'`" >&5
++echo "configure:19302: result: `eval echo '${'$ac_ac_Header'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
+ if test `eval echo '${'$ac_ac_Header'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -18344,13 +19312,13 @@
+ for ac_func in sgi_getcapabilitybyname cap_set_proc
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:18347: checking for $ac_func" >&5
++echo "configure:19315: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 18353 "configure"
++#line 19321 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -18381,25 +19349,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:18384: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:18387: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:18389: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:18392: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:19352: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:18402: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:19361: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -18409,7 +19368,7 @@
+ fi
+ done
+ 
+-echo "$as_me:18412: checking for getpwnam_r" >&5
++echo "configure:19371: checking for getpwnam_r" >&5
+ echo $ECHO_N "checking for getpwnam_r... $ECHO_C" >&6
+ if test "${ac_cv_funclib_getpwnam_r+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -18425,7 +19384,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 18428 "configure"
++#line 19387 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -18437,20 +19396,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:18440: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:18443: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:18445: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:18448: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:19399: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_getpwnam_r=$ac_lib; else ac_cv_funclib_getpwnam_r=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -18463,17 +19413,17 @@
+ eval "ac_res=\$ac_cv_funclib_getpwnam_r"
+ 
+ if false; then
+-
++	
+ for ac_func in getpwnam_r
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:18470: checking for $ac_func" >&5
++echo "configure:19420: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 18476 "configure"
++#line 19426 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -18504,25 +19454,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:18507: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:18510: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:18512: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:18515: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:19457: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:18525: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:19466: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -18546,13 +19487,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:18549: result: yes" >&5
++	echo "configure:19490: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_getpwnam_r=no"
+ 	eval "LIB_getpwnam_r="
+-	echo "$as_me:18555: result: no" >&5
++	echo "configure:19496: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -18566,13 +19507,13 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:18569: result: yes, in $ac_res" >&5
++	echo "configure:19510: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+ if test "$ac_cv_func_getpwnam_r" = yes; then
+-	echo "$as_me:18575: checking if getpwnam_r is posix" >&5
++	echo "configure:19516: checking if getpwnam_r is posix" >&5
+ echo $ECHO_N "checking if getpwnam_r is posix... $ECHO_C" >&6
+ if test "${ac_cv_func_getpwnam_r_posix+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -18583,7 +19524,7 @@
+   :
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 18586 "configure"
++#line 19527 "configure"
+ #include "confdefs.h"
+ 
+ #include <pwd.h>
+@@ -18595,30 +19536,23 @@
+ 
+ _ACEOF
+ rm -f conftest$ac_exeext
+-if { (eval echo "$as_me:18598: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:18601: \$? = $ac_status" >&5
+-  (exit $ac_status); } && { (eval echo "$as_me:18602: \"./conftest$ac_exeext\"") >&5
+-  (eval ./conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:18605: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:19539: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
++   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
+   ac_cv_func_getpwnam_r_posix=yes
+ else
+-  echo "$as_me: program exited with status $ac_status" >&5
+-echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_getpwnam_r_posix=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_getpwnam_r_posix=no
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
++
+ LIBS="$ac_libs"
+ fi
+-echo "$as_me:18618: result: $ac_cv_func_getpwnam_r_posix" >&5
++echo "configure:19552: result: $ac_cv_func_getpwnam_r_posix" >&5
+ echo "${ECHO_T}$ac_cv_func_getpwnam_r_posix" >&6
+ if test "$ac_cv_func_getpwnam_r_posix" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define POSIX_GETPWNAM_R 1
+ EOF
+@@ -18626,7 +19560,7 @@
+ fi
+ fi
+ 
+-echo "$as_me:18629: checking for getsockopt" >&5
++echo "configure:19563: checking for getsockopt" >&5
+ echo $ECHO_N "checking for getsockopt... $ECHO_C" >&6
+ if test "${ac_cv_funclib_getsockopt+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -18642,7 +19576,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 18645 "configure"
++#line 19579 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_SYS_TYPES_H
+ #include <sys/types.h>
+@@ -18659,20 +19593,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:18662: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:18665: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:18667: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:18670: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:19596: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_getsockopt=$ac_lib; else ac_cv_funclib_getsockopt=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -18685,17 +19610,17 @@
+ eval "ac_res=\$ac_cv_funclib_getsockopt"
+ 
+ if false; then
+-
++	
+ for ac_func in getsockopt
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:18692: checking for $ac_func" >&5
++echo "configure:19617: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 18698 "configure"
++#line 19623 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -18726,25 +19651,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:18729: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:18732: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:18734: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:18737: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:19654: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:18747: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:19663: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -18768,13 +19684,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:18771: result: yes" >&5
++	echo "configure:19687: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_getsockopt=no"
+ 	eval "LIB_getsockopt="
+-	echo "$as_me:18777: result: no" >&5
++	echo "configure:19693: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -18788,12 +19704,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:18791: result: yes, in $ac_res" >&5
++	echo "configure:19707: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "$as_me:18796: checking for setsockopt" >&5
++echo "configure:19712: checking for setsockopt" >&5
+ echo $ECHO_N "checking for setsockopt... $ECHO_C" >&6
+ if test "${ac_cv_funclib_setsockopt+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -18809,7 +19725,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 18812 "configure"
++#line 19728 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_SYS_TYPES_H
+ #include <sys/types.h>
+@@ -18826,20 +19742,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:18829: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:18832: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:18834: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:18837: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:19745: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_setsockopt=$ac_lib; else ac_cv_funclib_setsockopt=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -18852,17 +19759,17 @@
+ eval "ac_res=\$ac_cv_funclib_setsockopt"
+ 
+ if false; then
+-
++	
+ for ac_func in setsockopt
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:18859: checking for $ac_func" >&5
++echo "configure:19766: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 18865 "configure"
++#line 19772 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -18893,25 +19800,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:18896: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:18899: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:18901: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:18904: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:19803: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:18914: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:19812: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -18935,13 +19833,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:18938: result: yes" >&5
++	echo "configure:19836: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_setsockopt=no"
+ 	eval "LIB_setsockopt="
+-	echo "$as_me:18944: result: no" >&5
++	echo "configure:19842: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -18955,7 +19853,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:18958: result: yes, in $ac_res" >&5
++	echo "configure:19856: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -18963,13 +19861,13 @@
+ for ac_func in getudbnam setlim
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:18966: checking for $ac_func" >&5
++echo "configure:19864: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 18972 "configure"
++#line 19870 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -19000,25 +19898,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:19003: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19006: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:19008: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19011: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:19901: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:19021: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:19910: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -19028,13 +19917,13 @@
+ fi
+ done
+ 
+-echo "$as_me:19031: checking return type of signal handlers" >&5
++echo "configure:19920: checking return type of signal handlers" >&5
+ echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
+ if test "${ac_cv_type_signal+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 19037 "configure"
++#line 19926 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #include <signal.h>
+@@ -19056,25 +19945,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:19059: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19062: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:19064: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19067: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:19948: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_signal=void
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_signal=int
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_signal=int
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:19077: result: $ac_cv_type_signal" >&5
++echo "configure:19957: result: $ac_cv_type_signal" >&5
+ echo "${ECHO_T}$ac_cv_type_signal" >&6
+ 
+ cat >>confdefs.h <<EOF
+@@ -19082,14 +19962,14 @@
+ EOF
+ 
+ if test "$ac_cv_type_signal" = "void" ; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define VOID_RETSIGTYPE 1
+ EOF
+ 
+ fi
+ 
+-echo "$as_me:19092: checking if realloc if broken" >&5
++echo "configure:19972: checking if realloc if broken" >&5
+ echo $ECHO_N "checking if realloc if broken... $ECHO_C" >&6
+ if test "${ac_cv_func_realloc_broken+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -19100,7 +19980,7 @@
+   :
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 19103 "configure"
++#line 19983 "configure"
+ #include "confdefs.h"
+ 
+ #include <stddef.h>
+@@ -19113,44 +19993,36 @@
+ 
+ _ACEOF
+ rm -f conftest$ac_exeext
+-if { (eval echo "$as_me:19116: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19119: \$? = $ac_status" >&5
+-  (exit $ac_status); } && { (eval echo "$as_me:19120: \"./conftest$ac_exeext\"") >&5
+-  (eval ./conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19123: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:19996: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
++   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
+   :
+ else
+-  echo "$as_me: program exited with status $ac_status" >&5
+-echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_realloc_broken=yes
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_realloc_broken=yes
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+ 
+ fi
+-echo "$as_me:19136: result: $ac_cv_func_realloc_broken" >&5
++echo "configure:20008: result: $ac_cv_func_realloc_broken" >&5
+ echo "${ECHO_T}$ac_cv_func_realloc_broken" >&6
+ if test "$ac_cv_func_realloc_broken" = yes ; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define BROKEN_REALLOC 1
+ EOF
+ 
+ fi
+ 
+-echo "$as_me:19146: checking for ut_addr in struct utmp" >&5
++echo "configure:20018: checking for ut_addr in struct utmp" >&5
+ echo $ECHO_N "checking for ut_addr in struct utmp... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_utmp_ut_addr+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 19153 "configure"
++#line 20025 "configure"
+ #include "confdefs.h"
+ #include <utmp.h>
+ int
+@@ -19162,42 +20034,35 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:19165: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19168: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:19170: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19173: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:20037: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_utmp_ut_addr=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_struct_utmp_ut_addr=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_struct_utmp_ut_addr=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:19183: result: $ac_cv_type_struct_utmp_ut_addr" >&5
++echo "configure:20046: result: $ac_cv_type_struct_utmp_ut_addr" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_addr" >&6
+ if test "$ac_cv_type_struct_utmp_ut_addr" = yes; then
+-
++	
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_STRUCT_UTMP_UT_ADDR 1
+ EOF
+ 
++	
+ fi
+ 
+-echo "$as_me:19193: checking for ut_host in struct utmp" >&5
++echo "configure:20058: checking for ut_host in struct utmp" >&5
+ echo $ECHO_N "checking for ut_host in struct utmp... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_utmp_ut_host+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 19200 "configure"
++#line 20065 "configure"
+ #include "confdefs.h"
+ #include <utmp.h>
+ int
+@@ -19209,42 +20074,35 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:19212: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19215: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:19217: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19220: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:20077: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_utmp_ut_host=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_struct_utmp_ut_host=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_struct_utmp_ut_host=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:19230: result: $ac_cv_type_struct_utmp_ut_host" >&5
++echo "configure:20086: result: $ac_cv_type_struct_utmp_ut_host" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_host" >&6
+ if test "$ac_cv_type_struct_utmp_ut_host" = yes; then
+-
++	
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_STRUCT_UTMP_UT_HOST 1
+ EOF
+ 
++	
+ fi
+ 
+-echo "$as_me:19240: checking for ut_id in struct utmp" >&5
++echo "configure:20098: checking for ut_id in struct utmp" >&5
+ echo $ECHO_N "checking for ut_id in struct utmp... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_utmp_ut_id+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 19247 "configure"
++#line 20105 "configure"
+ #include "confdefs.h"
+ #include <utmp.h>
+ int
+@@ -19256,42 +20114,35 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:19259: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19262: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:19264: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19267: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:20117: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_utmp_ut_id=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_struct_utmp_ut_id=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_struct_utmp_ut_id=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:19277: result: $ac_cv_type_struct_utmp_ut_id" >&5
++echo "configure:20126: result: $ac_cv_type_struct_utmp_ut_id" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_id" >&6
+ if test "$ac_cv_type_struct_utmp_ut_id" = yes; then
+-
++	
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_STRUCT_UTMP_UT_ID 1
+ EOF
+ 
++	
+ fi
+ 
+-echo "$as_me:19287: checking for ut_pid in struct utmp" >&5
++echo "configure:20138: checking for ut_pid in struct utmp" >&5
+ echo $ECHO_N "checking for ut_pid in struct utmp... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_utmp_ut_pid+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 19294 "configure"
++#line 20145 "configure"
+ #include "confdefs.h"
+ #include <utmp.h>
+ int
+@@ -19303,42 +20154,35 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:19306: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19309: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:19311: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19314: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:20157: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_utmp_ut_pid=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_struct_utmp_ut_pid=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_struct_utmp_ut_pid=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:19324: result: $ac_cv_type_struct_utmp_ut_pid" >&5
++echo "configure:20166: result: $ac_cv_type_struct_utmp_ut_pid" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_pid" >&6
+ if test "$ac_cv_type_struct_utmp_ut_pid" = yes; then
+-
++	
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_STRUCT_UTMP_UT_PID 1
+ EOF
+ 
++	
+ fi
+ 
+-echo "$as_me:19334: checking for ut_type in struct utmp" >&5
++echo "configure:20178: checking for ut_type in struct utmp" >&5
+ echo $ECHO_N "checking for ut_type in struct utmp... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_utmp_ut_type+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 19341 "configure"
++#line 20185 "configure"
+ #include "confdefs.h"
+ #include <utmp.h>
+ int
+@@ -19350,42 +20194,35 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:19353: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19356: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:19358: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19361: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:20197: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_utmp_ut_type=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_struct_utmp_ut_type=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_struct_utmp_ut_type=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:19371: result: $ac_cv_type_struct_utmp_ut_type" >&5
++echo "configure:20206: result: $ac_cv_type_struct_utmp_ut_type" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_type" >&6
+ if test "$ac_cv_type_struct_utmp_ut_type" = yes; then
+-
++	
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_STRUCT_UTMP_UT_TYPE 1
+ EOF
+ 
++	
+ fi
+ 
+-echo "$as_me:19381: checking for ut_user in struct utmp" >&5
++echo "configure:20218: checking for ut_user in struct utmp" >&5
+ echo $ECHO_N "checking for ut_user in struct utmp... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_utmp_ut_user+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 19388 "configure"
++#line 20225 "configure"
+ #include "confdefs.h"
+ #include <utmp.h>
+ int
+@@ -19397,42 +20234,35 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:19400: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19403: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:19405: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19408: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:20237: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_utmp_ut_user=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_struct_utmp_ut_user=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_struct_utmp_ut_user=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:19418: result: $ac_cv_type_struct_utmp_ut_user" >&5
++echo "configure:20246: result: $ac_cv_type_struct_utmp_ut_user" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_user" >&6
+ if test "$ac_cv_type_struct_utmp_ut_user" = yes; then
+-
++	
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_STRUCT_UTMP_UT_USER 1
+ EOF
+ 
++	
+ fi
+ 
+-echo "$as_me:19428: checking for ut_exit in struct utmpx" >&5
++echo "configure:20258: checking for ut_exit in struct utmpx" >&5
+ echo $ECHO_N "checking for ut_exit in struct utmpx... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_utmpx_ut_exit+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 19435 "configure"
++#line 20265 "configure"
+ #include "confdefs.h"
+ #include <utmpx.h>
+ int
+@@ -19444,42 +20274,35 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:19447: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19450: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:19452: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19455: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:20277: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_utmpx_ut_exit=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_struct_utmpx_ut_exit=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_struct_utmpx_ut_exit=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:19465: result: $ac_cv_type_struct_utmpx_ut_exit" >&5
++echo "configure:20286: result: $ac_cv_type_struct_utmpx_ut_exit" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_utmpx_ut_exit" >&6
+ if test "$ac_cv_type_struct_utmpx_ut_exit" = yes; then
+-
++	
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_STRUCT_UTMPX_UT_EXIT 1
+ EOF
+ 
++	
+ fi
+ 
+-echo "$as_me:19475: checking for ut_syslen in struct utmpx" >&5
++echo "configure:20298: checking for ut_syslen in struct utmpx" >&5
+ echo $ECHO_N "checking for ut_syslen in struct utmpx... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_utmpx_ut_syslen+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 19482 "configure"
++#line 20305 "configure"
+ #include "confdefs.h"
+ #include <utmpx.h>
+ int
+@@ -19491,42 +20314,35 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:19494: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19497: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:19499: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19502: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:20317: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_utmpx_ut_syslen=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_struct_utmpx_ut_syslen=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_struct_utmpx_ut_syslen=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:19512: result: $ac_cv_type_struct_utmpx_ut_syslen" >&5
++echo "configure:20326: result: $ac_cv_type_struct_utmpx_ut_syslen" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_utmpx_ut_syslen" >&6
+ if test "$ac_cv_type_struct_utmpx_ut_syslen" = yes; then
+-
++	
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_STRUCT_UTMPX_UT_SYSLEN 1
+ EOF
+ 
++	
+ fi
+ 
+-echo "$as_me:19522: checking for tm_gmtoff in struct tm" >&5
++echo "configure:20338: checking for tm_gmtoff in struct tm" >&5
+ echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_tm_tm_gmtoff+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 19529 "configure"
++#line 20345 "configure"
+ #include "confdefs.h"
+ #include <time.h>
+ int
+@@ -19538,42 +20354,35 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:19541: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19544: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:19546: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19549: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:20357: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_tm_tm_gmtoff=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_struct_tm_tm_gmtoff=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_struct_tm_tm_gmtoff=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:19559: result: $ac_cv_type_struct_tm_tm_gmtoff" >&5
++echo "configure:20366: result: $ac_cv_type_struct_tm_tm_gmtoff" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_tm_tm_gmtoff" >&6
+ if test "$ac_cv_type_struct_tm_tm_gmtoff" = yes; then
+-
++	
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_STRUCT_TM_TM_GMTOFF 1
+ EOF
+ 
++	
+ fi
+ 
+-echo "$as_me:19569: checking for tm_zone in struct tm" >&5
++echo "configure:20378: checking for tm_zone in struct tm" >&5
+ echo $ECHO_N "checking for tm_zone in struct tm... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_tm_tm_zone+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 19576 "configure"
++#line 20385 "configure"
+ #include "confdefs.h"
+ #include <time.h>
+ int
+@@ -19585,42 +20394,35 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:19588: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19591: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:19593: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19596: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:20397: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_tm_tm_zone=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_struct_tm_tm_zone=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_struct_tm_tm_zone=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:19606: result: $ac_cv_type_struct_tm_tm_zone" >&5
++echo "configure:20406: result: $ac_cv_type_struct_tm_tm_zone" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_tm_tm_zone" >&6
+ if test "$ac_cv_type_struct_tm_tm_zone" = yes; then
+-
++	
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_STRUCT_TM_TM_ZONE 1
+ EOF
+ 
++	
+ fi
+ 
+-echo "$as_me:19616: checking for timezone" >&5
++echo "configure:20418: checking for timezone" >&5
+ echo $ECHO_N "checking for timezone... $ECHO_C" >&6
+ if test "${ac_cv_var_timezone+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 19623 "configure"
++#line 20425 "configure"
+ #include "confdefs.h"
+ extern int timezone;
+ int foo() { return timezone; }
+@@ -19633,95 +20435,37 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:19636: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19639: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:19641: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19644: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:20438: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_var_timezone=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_var_timezone=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_var_timezone=no
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 
+ fi
+ 
+ ac_foo=`eval echo \\$ac_cv_var_timezone`
+-echo "$as_me:19657: result: $ac_foo" >&5
++echo "configure:20450: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+-
++	
+ cat >>confdefs.h <<EOF
+ #define HAVE_TIMEZONE 1
+ EOF
+ 
+-echo "$as_me:19665: checking if timezone is properly declared" >&5
+-echo $ECHO_N "checking if timezone is properly declared... $ECHO_C" >&6
+-if test "${ac_cv_var_timezone_declaration+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-
+-cat >conftest.$ac_ext <<_ACEOF
+-#line 19672 "configure"
+-#include "confdefs.h"
+-#include <time.h>
+-extern struct { int foo; } timezone;
+-int
+-main ()
+-{
+-timezone.foo = 1;
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:19685: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19688: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:19690: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19693: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  eval "ac_cv_var_timezone_declaration=no"
+-else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_var_timezone_declaration=yes"
+-fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
+-
+-fi
+-
+-echo "$as_me:19705: result: $ac_cv_var_timezone_declaration" >&5
+-echo "${ECHO_T}$ac_cv_var_timezone_declaration" >&6
+-if eval "test \"\$ac_cv_var_timezone_declaration\" = yes"; then
+-
+-cat >>confdefs.h <<\EOF
+-#define HAVE_TIMEZONE_DECLARATION 1
+-EOF
+-
+-fi
+-
++	
+ fi
+ 
+ cv=`echo "sa_family_t" | sed 'y%./+- %__p__%'`
+-echo "$as_me:19718: checking for sa_family_t" >&5
++echo "configure:20462: checking for sa_family_t" >&5
+ echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 19724 "configure"
++#line 20468 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -19738,37 +20482,28 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:19741: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19744: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:19746: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19749: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:20485: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_type_$cv=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_type_$cv=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_type_$cv=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:19760: result: $ac_foo" >&5
++echo "configure:20495: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo sa_family_t | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:19765: checking for sa_family_t" >&5
++	echo "configure:20500: checking for sa_family_t" >&5
+ echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6
+ if test "${ac_cv_type_sa_family_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 19771 "configure"
++#line 20506 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -19783,25 +20518,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:19786: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19789: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:19791: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19794: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:20521: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_sa_family_t=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_sa_family_t=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_sa_family_t=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:19804: result: $ac_cv_type_sa_family_t" >&5
++echo "configure:20530: result: $ac_cv_type_sa_family_t" >&5
+ echo "${ECHO_T}$ac_cv_type_sa_family_t" >&6
+ if test $ac_cv_type_sa_family_t = yes; then
+ 
+@@ -19820,13 +20546,13 @@
+ fi
+ 
+ cv=`echo "socklen_t" | sed 'y%./+- %__p__%'`
+-echo "$as_me:19823: checking for socklen_t" >&5
++echo "configure:20549: checking for socklen_t" >&5
+ echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 19829 "configure"
++#line 20555 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -19843,37 +20569,28 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:19846: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19849: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:19851: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19854: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:20572: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_type_$cv=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_type_$cv=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_type_$cv=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:19865: result: $ac_foo" >&5
++echo "configure:20582: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo socklen_t | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:19870: checking for socklen_t" >&5
++	echo "configure:20587: checking for socklen_t" >&5
+ echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
+ if test "${ac_cv_type_socklen_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 19876 "configure"
++#line 20593 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -19888,25 +20605,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:19891: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19894: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:19896: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19899: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:20608: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_socklen_t=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_socklen_t=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_socklen_t=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:19909: result: $ac_cv_type_socklen_t" >&5
++echo "configure:20617: result: $ac_cv_type_socklen_t" >&5
+ echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
+ if test $ac_cv_type_socklen_t = yes; then
+ 
+@@ -19925,13 +20633,13 @@
+ fi
+ 
+ cv=`echo "struct sockaddr" | sed 'y%./+- %__p__%'`
+-echo "$as_me:19928: checking for struct sockaddr" >&5
++echo "configure:20636: checking for struct sockaddr" >&5
+ echo $ECHO_N "checking for struct sockaddr... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 19934 "configure"
++#line 20642 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -19948,37 +20656,28 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:19951: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19954: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:19956: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19959: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:20659: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_type_$cv=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_type_$cv=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_type_$cv=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:19970: result: $ac_foo" >&5
++echo "configure:20669: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo struct sockaddr | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:19975: checking for struct sockaddr" >&5
++	echo "configure:20674: checking for struct sockaddr" >&5
+ echo $ECHO_N "checking for struct sockaddr... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_sockaddr+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 19981 "configure"
++#line 20680 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -19993,25 +20692,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:19996: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19999: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:20001: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:20004: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:20695: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_sockaddr=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_struct_sockaddr=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_struct_sockaddr=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:20014: result: $ac_cv_type_struct_sockaddr" >&5
++echo "configure:20704: result: $ac_cv_type_struct_sockaddr" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_sockaddr" >&6
+ if test $ac_cv_type_struct_sockaddr = yes; then
+ 
+@@ -20030,13 +20720,13 @@
+ fi
+ 
+ cv=`echo "struct sockaddr_storage" | sed 'y%./+- %__p__%'`
+-echo "$as_me:20033: checking for struct sockaddr_storage" >&5
++echo "configure:20723: checking for struct sockaddr_storage" >&5
+ echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 20039 "configure"
++#line 20729 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -20053,37 +20743,28 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:20056: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:20059: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:20061: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:20064: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:20746: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_type_$cv=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_type_$cv=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_type_$cv=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:20075: result: $ac_foo" >&5
++echo "configure:20756: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo struct sockaddr_storage | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:20080: checking for struct sockaddr_storage" >&5
++	echo "configure:20761: checking for struct sockaddr_storage" >&5
+ echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_sockaddr_storage+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 20086 "configure"
++#line 20767 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -20098,25 +20779,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:20101: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:20104: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:20106: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:20109: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:20782: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_sockaddr_storage=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_struct_sockaddr_storage=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_struct_sockaddr_storage=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:20119: result: $ac_cv_type_struct_sockaddr_storage" >&5
++echo "configure:20791: result: $ac_cv_type_struct_sockaddr_storage" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_sockaddr_storage" >&6
+ if test $ac_cv_type_struct_sockaddr_storage = yes; then
+ 
+@@ -20135,13 +20807,13 @@
+ fi
+ 
+ cv=`echo "struct addrinfo" | sed 'y%./+- %__p__%'`
+-echo "$as_me:20138: checking for struct addrinfo" >&5
++echo "configure:20810: checking for struct addrinfo" >&5
+ echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 20144 "configure"
++#line 20816 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -20158,37 +20830,28 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:20161: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:20164: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:20166: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:20169: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:20833: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_type_$cv=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_type_$cv=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_type_$cv=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:20180: result: $ac_foo" >&5
++echo "configure:20843: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo struct addrinfo | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:20185: checking for struct addrinfo" >&5
++	echo "configure:20848: checking for struct addrinfo" >&5
+ echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_addrinfo+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 20191 "configure"
++#line 20854 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -20203,25 +20866,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:20206: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:20209: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:20211: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:20214: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:20869: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_addrinfo=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_struct_addrinfo=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_struct_addrinfo=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:20224: result: $ac_cv_type_struct_addrinfo" >&5
++echo "configure:20878: result: $ac_cv_type_struct_addrinfo" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_addrinfo" >&6
+ if test $ac_cv_type_struct_addrinfo = yes; then
+ 
+@@ -20239,7 +20893,7 @@
+ 
+ fi
+ 
+-echo "$as_me:20242: checking for struct winsize" >&5
++echo "configure:20896: checking for struct winsize" >&5
+ echo $ECHO_N "checking for struct winsize... $ECHO_C" >&6
+ if test "${ac_cv_struct_winsize+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -20248,7 +20902,7 @@
+ ac_cv_struct_winsize=no
+ for i in sys/termios.h sys/ioctl.h; do
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 20251 "configure"
++#line 20905 "configure"
+ #include "confdefs.h"
+ #include <$i>
+ 
+@@ -20269,10 +20923,10 @@
+ EOF
+ 
+ fi
+-echo "$as_me:20272: result: $ac_cv_struct_winsize" >&5
++echo "configure:20926: result: $ac_cv_struct_winsize" >&5
+ echo "${ECHO_T}$ac_cv_struct_winsize" >&6
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 20275 "configure"
++#line 20929 "configure"
+ #include "confdefs.h"
+ #include <termios.h>
+ 
+@@ -20288,7 +20942,7 @@
+ rm -f conftest*
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 20291 "configure"
++#line 20945 "configure"
+ #include "confdefs.h"
+ #include <termios.h>
+ 
+@@ -20303,14 +20957,14 @@
+ fi
+ rm -f conftest*
+ 
+-echo "$as_me:20306: checking for struct spwd" >&5
++echo "configure:20960: checking for struct spwd" >&5
+ echo $ECHO_N "checking for struct spwd... $ECHO_C" >&6
+ if test "${ac_cv_struct_spwd+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 20313 "configure"
++#line 20967 "configure"
+ #include "confdefs.h"
+ #include <pwd.h>
+ #ifdef HAVE_SHADOW_H
+@@ -20325,27 +20979,18 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:20328: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:20331: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:20333: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:20336: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:20982: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_struct_spwd=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_struct_spwd=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_struct_spwd=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ 
+ fi
+ 
+-echo "$as_me:20348: result: $ac_cv_struct_spwd" >&5
++echo "configure:20993: result: $ac_cv_struct_spwd" >&5
+ echo "${ECHO_T}$ac_cv_struct_spwd" >&6
+ 
+ if test "$ac_cv_struct_spwd" = "yes"; then
+@@ -20356,14 +21001,14 @@
+ 
+ fi
+ 
+-echo "$as_me:20359: checking for sa_len in struct sockaddr" >&5
++echo "configure:21004: checking for sa_len in struct sockaddr" >&5
+ echo $ECHO_N "checking for sa_len in struct sockaddr... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_sockaddr_sa_len+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 20366 "configure"
++#line 21011 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #include <sys/socket.h>
+@@ -20376,45 +21021,38 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:20379: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:20382: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:20384: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:20387: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:21024: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_sockaddr_sa_len=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_struct_sockaddr_sa_len=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_struct_sockaddr_sa_len=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:20397: result: $ac_cv_type_struct_sockaddr_sa_len" >&5
++echo "configure:21033: result: $ac_cv_type_struct_sockaddr_sa_len" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_sockaddr_sa_len" >&6
+ if test "$ac_cv_type_struct_sockaddr_sa_len" = yes; then
+-
++	
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
+ EOF
+ 
++	
+ fi
+ 
+ for i in int8_t int16_t int32_t int64_t \
+ 	u_int8_t u_int16_t u_int32_t u_int64_t \
+ 	uint8_t uint16_t uint32_t uint64_t; do
+-	echo "$as_me:20410: checking for $i" >&5
++	echo "configure:21048: checking for $i" >&5
+ echo $ECHO_N "checking for $i... $ECHO_C" >&6
+-
++	
+ if eval "test \"\${ac_cv_type_$i+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 20417 "configure"
++#line 21055 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_INTTYPES_H
+@@ -20443,21 +21081,12 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:20446: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:20449: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:20451: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:20454: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:21084: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval ac_cv_type_$i=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval ac_cv_type_$i=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval ac_cv_type_$i=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+@@ -20470,7 +21099,7 @@
+ EOF
+ 
+ 	fi
+-	echo "$as_me:20473: result: $ac_res" >&5
++	echo "configure:21102: result: $ac_res" >&5
+ echo "${ECHO_T}$ac_res" >&6
+ done
+ 
+@@ -20483,25 +21112,21 @@
+ 
+ do
+ ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
+-echo "$as_me:20486: checking for $ac_header" >&5
++
++echo "configure:21116: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 20492 "configure"
++#line 21122 "configure"
+ #include "confdefs.h"
+ #include <$ac_header>
++
+ _ACEOF
+-if { (eval echo "$as_me:20496: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
+-  (eval $ac_cpp conftest.$ac_ext >/dev/null) 2>conftest.er1
+-  ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
+-  rm -f conftest.er1
+-  cat conftest.err >&5
+-  echo "$as_me:20502: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  if test -s conftest.err; then
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:21128: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+   else
+     ac_cpp_err=
+@@ -20509,16 +21134,19 @@
+ else
+   ac_cpp_err=yes
+ fi
++
+ if test -z "$ac_cpp_err"; then
+   eval "$ac_ac_Header=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  cat conftest.err >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_Header=no"
+ fi
+-rm -f conftest.err conftest.$ac_ext
++rm -f conftest*
++
+ fi
+-echo "$as_me:20521: result: `eval echo '${'$ac_ac_Header'}'`" >&5
++echo "configure:21149: result: `eval echo '${'$ac_ac_Header'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
+ if test `eval echo '${'$ac_ac_Header'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -20528,7 +21156,7 @@
+ fi
+ done
+ 
+-echo "$as_me:20531: checking for MD4_Init" >&5
++echo "configure:21159: checking for MD4_Init" >&5
+ echo $ECHO_N "checking for MD4_Init... $ECHO_C" >&6
+ if test "${ac_cv_funclib_MD4_Init+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -20544,7 +21172,7 @@
+ 		fi
+ 		LIBS="$LIB_krb4 $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 20547 "configure"
++#line 21175 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -20556,20 +21184,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:20559: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:20562: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:20564: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:20567: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:21187: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_MD4_Init=$ac_lib; else ac_cv_funclib_MD4_Init=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -20582,17 +21201,17 @@
+ eval "ac_res=\$ac_cv_funclib_MD4_Init"
+ 
+ if false; then
+-
++	
+ for ac_func in MD4_Init
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:20589: checking for $ac_func" >&5
++echo "configure:21208: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 20595 "configure"
++#line 21214 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -20623,25 +21242,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:20626: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:20629: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:20631: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:20634: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:21245: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:20644: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:21254: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -20665,13 +21275,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:20668: result: yes" >&5
++	echo "configure:21278: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_MD4_Init=no"
+ 	eval "LIB_MD4_Init="
+-	echo "$as_me:20674: result: no" >&5
++	echo "configure:21284: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -20685,12 +21295,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:20688: result: yes, in $ac_res" >&5
++	echo "configure:21298: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "$as_me:20693: checking for MD5_Init" >&5
++echo "configure:21303: checking for MD5_Init" >&5
+ echo $ECHO_N "checking for MD5_Init... $ECHO_C" >&6
+ if test "${ac_cv_funclib_MD5_Init+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -20706,7 +21316,7 @@
+ 		fi
+ 		LIBS="$LIB_krb4 $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 20709 "configure"
++#line 21319 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -20718,20 +21328,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:20721: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:20724: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:20726: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:20729: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:21331: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_MD5_Init=$ac_lib; else ac_cv_funclib_MD5_Init=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -20744,17 +21345,17 @@
+ eval "ac_res=\$ac_cv_funclib_MD5_Init"
+ 
+ if false; then
+-
++	
+ for ac_func in MD5_Init
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:20751: checking for $ac_func" >&5
++echo "configure:21352: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 20757 "configure"
++#line 21358 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -20785,25 +21386,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:20788: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:20791: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:20793: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:20796: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:21389: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:20806: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:21398: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -20827,13 +21419,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:20830: result: yes" >&5
++	echo "configure:21422: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_MD5_Init=no"
+ 	eval "LIB_MD5_Init="
+-	echo "$as_me:20836: result: no" >&5
++	echo "configure:21428: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -20847,12 +21439,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:20850: result: yes, in $ac_res" >&5
++	echo "configure:21442: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "$as_me:20855: checking for SHA1_Init" >&5
++echo "configure:21447: checking for SHA1_Init" >&5
+ echo $ECHO_N "checking for SHA1_Init... $ECHO_C" >&6
+ if test "${ac_cv_funclib_SHA1_Init+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -20868,7 +21460,7 @@
+ 		fi
+ 		LIBS="$LIB_krb4 $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 20871 "configure"
++#line 21463 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -20880,20 +21472,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:20883: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:20886: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:20888: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:20891: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:21475: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_SHA1_Init=$ac_lib; else ac_cv_funclib_SHA1_Init=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -20906,17 +21489,17 @@
+ eval "ac_res=\$ac_cv_funclib_SHA1_Init"
+ 
+ if false; then
+-
++	
+ for ac_func in SHA1_Init
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:20913: checking for $ac_func" >&5
++echo "configure:21496: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 20919 "configure"
++#line 21502 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -20947,25 +21530,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:20950: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:20953: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:20955: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:20958: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:21533: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:20968: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:21542: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -20989,13 +21563,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:20992: result: yes" >&5
++	echo "configure:21566: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_SHA1_Init=no"
+ 	eval "LIB_SHA1_Init="
+-	echo "$as_me:20998: result: no" >&5
++	echo "configure:21572: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -21009,12 +21583,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:21012: result: yes, in $ac_res" >&5
++	echo "configure:21586: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "$as_me:21017: checking for des_cbc_encrypt" >&5
++echo "configure:21591: checking for des_cbc_encrypt" >&5
+ echo $ECHO_N "checking for des_cbc_encrypt... $ECHO_C" >&6
+ if test "${ac_cv_funclib_des_cbc_encrypt+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -21030,7 +21604,7 @@
+ 		fi
+ 		LIBS="$LIB_krb4 $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 21033 "configure"
++#line 21607 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -21042,20 +21616,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:21045: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:21048: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:21050: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:21053: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:21619: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_des_cbc_encrypt=$ac_lib; else ac_cv_funclib_des_cbc_encrypt=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -21068,17 +21633,17 @@
+ eval "ac_res=\$ac_cv_funclib_des_cbc_encrypt"
+ 
+ if false; then
+-
++	
+ for ac_func in des_cbc_encrypt
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:21075: checking for $ac_func" >&5
++echo "configure:21640: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 21081 "configure"
++#line 21646 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -21109,25 +21674,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:21112: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:21115: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:21117: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:21120: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:21677: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:21130: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:21686: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -21151,13 +21707,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:21154: result: yes" >&5
++	echo "configure:21710: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_des_cbc_encrypt=no"
+ 	eval "LIB_des_cbc_encrypt="
+-	echo "$as_me:21160: result: no" >&5
++	echo "configure:21716: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -21171,12 +21727,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:21174: result: yes, in $ac_res" >&5
++	echo "configure:21730: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "$as_me:21179: checking for RC4" >&5
++echo "configure:21735: checking for RC4" >&5
+ echo $ECHO_N "checking for RC4... $ECHO_C" >&6
+ if test "${ac_cv_funclib_RC4+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -21192,7 +21748,7 @@
+ 		fi
+ 		LIBS="$LIB_krb4 $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 21195 "configure"
++#line 21751 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -21204,20 +21760,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:21207: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:21210: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:21212: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:21215: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:21763: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_RC4=$ac_lib; else ac_cv_funclib_RC4=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -21230,17 +21777,17 @@
+ eval "ac_res=\$ac_cv_funclib_RC4"
+ 
+ if false; then
+-
++	
+ for ac_func in RC4
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:21237: checking for $ac_func" >&5
++echo "configure:21784: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 21243 "configure"
++#line 21790 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -21271,25 +21818,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:21274: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:21277: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:21279: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:21282: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:21821: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:21292: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:21830: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -21313,13 +21851,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:21316: result: yes" >&5
++	echo "configure:21854: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_RC4=no"
+ 	eval "LIB_RC4="
+-	echo "$as_me:21322: result: no" >&5
++	echo "configure:21860: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -21333,7 +21871,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:21336: result: yes, in $ac_res" >&5
++	echo "configure:21874: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -21344,7 +21882,10 @@
+ "$ac_cv_func_SHA1_Init" = "yes" -a \
+ "$ac_cv_func_RC4" = "yes"; then
+   DIR_des=''
+-  LIB_des="-R $krb4_libdir -L$krb4_libdir $ac_cv_funclib_MD4_Init"
++  if test "$krb4_libdir" != ""; then
++    LIB_des="-rpath $krb4_libdir -L$krb4_libdir"
++  fi
++  LIB_des="$LIB_des $ac_cv_funclib_MD4_Init"
+   LIB_des_appl="$LIB_des"
+ else
+   DIR_des='des'
+@@ -21352,7 +21893,7 @@
+   LIB_des_appl="-ldes"
+ fi
+ 
+-echo "$as_me:21355: checking for el_init" >&5
++echo "configure:21896: checking for el_init" >&5
+ echo $ECHO_N "checking for el_init... $ECHO_C" >&6
+ if test "${ac_cv_funclib_el_init+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -21368,7 +21909,7 @@
+ 		fi
+ 		LIBS=" $ac_lib $LIB_tgetent $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 21371 "configure"
++#line 21912 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -21380,20 +21921,11 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:21383: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:21386: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:21388: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:21391: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:21924: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_el_init=$ac_lib; else ac_cv_funclib_el_init=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -21406,17 +21938,17 @@
+ eval "ac_res=\$ac_cv_funclib_el_init"
+ 
+ if false; then
+-
++	
+ for ac_func in el_init
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:21413: checking for $ac_func" >&5
++echo "configure:21945: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 21419 "configure"
++#line 21951 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -21447,25 +21979,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:21450: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:21453: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:21455: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:21458: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:21982: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:21468: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:21991: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -21489,13 +22012,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:21492: result: yes" >&5
++	echo "configure:22015: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_el_init=no"
+ 	eval "LIB_el_init="
+-	echo "$as_me:21498: result: no" >&5
++	echo "configure:22021: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -21509,20 +22032,20 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:21512: result: yes, in $ac_res" >&5
++	echo "configure:22035: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+ if test "$ac_cv_func_el_init" = yes ; then
+-	echo "$as_me:21518: checking for four argument el_init" >&5
++	echo "configure:22041: checking for four argument el_init" >&5
+ echo $ECHO_N "checking for four argument el_init... $ECHO_C" >&6
+ if test "${ac_cv_func_el_init_four+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 21525 "configure"
++#line 22048 "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
+ 			#include <histedit.h>
+@@ -21535,28 +22058,19 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:21538: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:21541: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:21543: \"test -s conftest.$ac_objext\"") >&5
+-  (eval test -s conftest.$ac_objext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:21546: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:22061: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_func_el_init_four=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_el_init_four=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_el_init_four=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:21556: result: $ac_cv_func_el_init_four" >&5
++echo "configure:22070: result: $ac_cv_func_el_init_four" >&5
+ echo "${ECHO_T}$ac_cv_func_el_init_four" >&6
+ 	if test "$ac_cv_func_el_init_four" = yes; then
+-
++		
+ cat >>confdefs.h <<\EOF
+ #define HAVE_FOUR_VALUED_EL_INIT 1
+ EOF
+@@ -21624,13 +22138,13 @@
+ #
+ # And also something wierd has happend with dec-osf1, fallback to bsd-ptys
+ 
+-echo "$as_me:21627: checking for getmsg" >&5
++echo "configure:22141: checking for getmsg" >&5
+ echo $ECHO_N "checking for getmsg... $ECHO_C" >&6
+ if test "${ac_cv_func_getmsg+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 21633 "configure"
++#line 22147 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char getmsg (); below.  */
+@@ -21661,30 +22175,21 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:21664: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:21667: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { (eval echo "$as_me:21669: \"test -s conftest$ac_exeext\"") >&5
+-  (eval test -s conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:21672: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:22178: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_func_getmsg=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_getmsg=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_getmsg=no
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:21682: result: $ac_cv_func_getmsg" >&5
++echo "configure:22187: result: $ac_cv_func_getmsg" >&5
+ echo "${ECHO_T}$ac_cv_func_getmsg" >&6
+ 
+ if test "$ac_cv_func_getmsg" = "yes"; then
+ 
+-echo "$as_me:21687: checking for working getmsg" >&5
++echo "configure:22192: checking for working getmsg" >&5
+ echo $ECHO_N "checking for working getmsg... $ECHO_C" >&6
+ if test "${ac_cv_func_getmsg_work+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -21693,7 +22198,7 @@
+   ac_cv_func_getmsg_work=no
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 21696 "configure"
++#line 22201 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -21710,26 +22215,19 @@
+ 
+ _ACEOF
+ rm -f conftest$ac_exeext
+-if { (eval echo "$as_me:21713: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:21716: \$? = $ac_status" >&5
+-  (exit $ac_status); } && { (eval echo "$as_me:21717: \"./conftest$ac_exeext\"") >&5
+-  (eval ./conftest$ac_exeext) 2>&5
+-  ac_status=$?
+-  echo "$as_me:21720: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
++if { (eval echo configure:22218: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
++   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
+   ac_cv_func_getmsg_work=yes
+ else
+-  echo "$as_me: program exited with status $ac_status" >&5
+-echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_getmsg_work=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_getmsg_work=no
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
++
+ fi
+-echo "$as_me:21732: result: $ac_cv_func_getmsg_work" >&5
++echo "configure:22230: result: $ac_cv_func_getmsg_work" >&5
+ echo "${ECHO_T}$ac_cv_func_getmsg_work" >&6
+ test "$ac_cv_func_getmsg_work" = "yes" &&
+ 
+@@ -21740,7 +22238,7 @@
+ fi
+ 
+ if test "$ac_cv_func_getmsg_work" = yes; then
+-echo "$as_me:21743: checking for streamspty" >&5
++echo "configure:22241: checking for streamspty" >&5
+ echo $ECHO_N "checking for streamspty... $ECHO_C" >&6
+ case "$host" in
+ *-*-aix3*|*-*-sunos4*|*-*-osf*|*-*-hpux1[01]*)
+@@ -21750,18 +22248,18 @@
+ 	krb_cv_sys_streamspty=yes
+ 	;;
+ esac
+-echo "$as_me:21753: result: $krb_cv_sys_streamspty" >&5
++echo "configure:22251: result: $krb_cv_sys_streamspty" >&5
+ echo "${ECHO_T}$krb_cv_sys_streamspty" >&6
+ fi
+ if test "$krb_cv_sys_streamspty" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define STREAMSPTY 1
+ EOF
+ 
+ fi
+ 
+-echo "$as_me:21764: checking which authentication modules should be built" >&5
++echo "configure:22262: checking which authentication modules should be built" >&5
+ echo $ECHO_N "checking which authentication modules should be built... $ECHO_C" >&6
+ 
+ LIB_AUTH_SUBDIRS=
+@@ -21778,7 +22276,7 @@
+ *-*-irix[56]*) LIB_AUTH_SUBDIRS="$LIB_AUTH_SUBDIRS afskauthlib" ;;
+ esac
+ 
+-echo "$as_me:21781: result: $LIB_AUTH_SUBDIRS" >&5
++echo "configure:22279: result: $LIB_AUTH_SUBDIRS" >&5
+ echo "${ECHO_T}$LIB_AUTH_SUBDIRS" >&6
+ 
+ test "x$prefix" = xNONE && prefix=$ac_default_prefix
+@@ -21805,9 +22303,62 @@
+ fi
+ LTLIBOBJS=`echo "$LIBOBJS" | sed 's/\.o/\.lo/g'`
+ 
+-ac_config_files="$ac_config_files Makefile include/Makefile include/kadm5/Makefile lib/Makefile lib/45/Makefile lib/auth/Makefile lib/auth/afskauthlib/Makefile lib/auth/pam/Makefile lib/auth/sia/Makefile lib/asn1/Makefile lib/com_err/Makefile lib/des/Makefile lib/editline/Makefile lib/gssapi/Makefile lib/hdb/Makefile lib/kadm5/Makefile lib/kafs/Makefile lib/kdfs/Makefile lib/krb5/Makefile lib/otp/Makefile lib/roken/Makefile lib/sl/Makefile lib/vers/Makefile kuser/Makefile kpasswd/Makefile kadmin/Makefile admin/Makefile kdc/Makefile appl/Makefile appl/afsutil/Makefile appl/ftp/Makefile appl/ftp/common/Makefile appl/ftp/ftp/Makefile appl/ftp/ftpd/Makefile appl/kx/Makefile appl/login/Makefile appl/otp/Makefile appl/popper/Makefile appl/push/Makefile appl/rsh/Makefile appl/rcp/Makefile appl/su/Makefile appl/xnlock/Makefile appl/telnet/Makefile appl/telnet/libtelnet/Makefile appl/telnet/telnet/Makefile appl/telnet/telnetd/Makefile appl/test/Makefile appl/kf/Makefile appl/dceutils/Makefile doc/Makefile tools/Makefile"
++ac_config_files="$ac_config_files Makefile 		\
++	include/Makefile		\
++	include/kadm5/Makefile		\
++	lib/Makefile			\
++	lib/45/Makefile			\
++	lib/auth/Makefile		\
++	lib/auth/afskauthlib/Makefile	\
++	lib/auth/pam/Makefile		\
++	lib/auth/sia/Makefile		\
++	lib/asn1/Makefile		\
++	lib/com_err/Makefile		\
++	lib/des/Makefile		\
++	lib/editline/Makefile		\
++	lib/gssapi/Makefile		\
++	lib/hdb/Makefile		\
++	lib/kadm5/Makefile		\
++	lib/kafs/Makefile		\
++	lib/kdfs/Makefile		\
++	lib/krb5/Makefile		\
++	lib/otp/Makefile		\
++	lib/roken/Makefile		\
++	lib/sl/Makefile			\
++	lib/vers/Makefile		\
++	kuser/Makefile			\
++	kpasswd/Makefile		\
++	kadmin/Makefile			\
++	admin/Makefile			\
++	kdc/Makefile			\
++	appl/Makefile			\
++	appl/afsutil/Makefile		\
++	appl/ftp/Makefile		\
++	appl/ftp/common/Makefile	\
++	appl/ftp/ftp/Makefile		\
++	appl/ftp/ftpd/Makefile		\
++	appl/kx/Makefile		\
++	appl/login/Makefile		\
++	appl/otp/Makefile		\
++	appl/popper/Makefile		\
++	appl/push/Makefile		\
++	appl/rsh/Makefile		\
++	appl/rcp/Makefile		\
++	appl/su/Makefile		\
++	appl/xnlock/Makefile		\
++	appl/telnet/Makefile		\
++	appl/telnet/libtelnet/Makefile	\
++	appl/telnet/telnet/Makefile	\
++	appl/telnet/telnetd/Makefile	\
++	appl/test/Makefile		\
++	appl/kf/Makefile		\
++	appl/dceutils/Makefile		\
++	doc/Makefile			\
++	tools/Makefile			\
++"
+ 
+-cat >confcache <<\_ACEOF
++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, see configure's option --config-cache.
+@@ -21821,8 +22372,7 @@
+ # loading this file, other *unset* `ac_cv_foo' will be assigned the
+ # following values.
+ 
+-_ACEOF
+-
++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.
+@@ -21832,26 +22382,19 @@
+   (set) 2>&1 |
+     case `(ac_space=' '; set | grep ac_space) 2>&1` in
+     *ac_space=\ *)
+-      # `set' does not quote correctly, so add quotes (double-quote
+-      # substitution turns \\\\ into \\, and sed turns \\ into \).
++      # `set' does not quote correctly, so add quotes (double-quote substitution
++      # turns \\\\ into \\, and sed turns \\ into \).
+       sed -n \
+-        "s/'/'\\\\''/g;
+-    	  s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
++    	-e "s/'/'\\\\''/g" \
++    	-e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1='\\2'/p"
+       ;;
+     *)
+       # `set' quotes correctly as required by POSIX, so do not add quotes.
+-      sed -n \
+-        "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
++      sed -n 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=\2/p'
+       ;;
+     esac;
+ } |
+-  sed '
+-     t clear
+-     : clear
+-     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
+-     t end
+-     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
+-     : end' >>confcache
++  sed '/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/' >>confcache
+ if cmp -s $cache_file confcache; then :; else
+   if test -w $cache_file; then
+     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
+@@ -21861,34 +22404,58 @@
+   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}'
+ 
+-# VPATH is dangerous, but if there is a colon in the path, we need to
+-# keep it.
++# 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
+ 
+ DEFS=-DHAVE_CONFIG_H
+ 
++# Save into config.log some information that might help in debugging.
++echo >&5
++echo "Cache variables:" >&5
++# The following way of writing the cache mishandles newlines in values,
++# but we know of no workaround that is simple, portable, and efficient.
++# So, don't put newlines in cache variables' values.
++# Ultrix sh set writes to stderr and can't be redirected directly,
++# and sets the high bit in the cache file unless we assign to the vars.
++{
++  (set) 2>&1 |
++    case `(ac_space=' '; set | grep ac_space) 2>&1` in
++    *ac_space=\ *)
++      # `set' does not quote correctly, so add quotes (double-quote substitution
++      # turns \\\\ into \\, and sed turns \\ into \).
++      sed -n \
++    	-e "s/'/'\\\\''/g" \
++    	-e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1='\\2'/p"
++      ;;
++    *)
++      # `set' quotes correctly as required by POSIX, so do not add quotes.
++      sed -n 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=\2/p'
++      ;;
++    esac;
++} | sed 's/^/| /' >&5
++echo >&5
++echo "confdefs.h:" >&5
++cat confdefs.h | sed 's/^/| /' >&5
++
+ : ${CONFIG_STATUS=./config.status}
+-ac_clean_files_save=$ac_clean_files
+-ac_clean_files="$ac_clean_files $CONFIG_STATUS"
+-{ echo "$as_me:21880: creating $CONFIG_STATUS" >&5
+-echo "$as_me: creating $CONFIG_STATUS" >&6;}
+-cat >$CONFIG_STATUS <<\_ACEOF
++trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
++echo creating $CONFIG_STATUS
++cat >$CONFIG_STATUS <<\EOF
+ #! /bin/sh
+ # Generated automatically by configure.
+ # Run this file to recreate the current configuration.
+ # Compiler output produced by configure, useful for debugging
+-# configure, is in config.log if it exists.
+-
+-debug=false
+-as_me=`echo "$0" | sed 's,.*/,,'`
+-SHELL=${CONFIG_SHELL-/bin/sh}
++# configure, is in ./config.log if it exists.
+ 
+ # Be Bourne compatible
+ if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
+@@ -21898,97 +22465,38 @@
+   set -o posix
+ fi
+ 
+-if expr a : '\(a\)' >/dev/null 2>&1; then
+-  as_expr=expr
+-else
+-  as_expr=false
+-fi
+-
+-rm -f conftest conftest.exe conftest.file
+-echo >conftest.file
+-if ln -s conftest.file conftest 2>/dev/null; then
+-  # We could just check for DJGPP; but this test a) works b) is more generic
+-  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
+-  if test -f conftest.exe; then
+-    # Don't use ln at all; we don't have any links
+-    as_ln_s='cp -p'
+-  else
+-    as_ln_s='ln -s'
+-  fi
+-elif ln conftest.file conftest 2>/dev/null; then
+-  as_ln_s=ln
+-else
+-  as_ln_s='cp -p'
+-fi
+-rm -f conftest conftest.exe conftest.file
+-
+-# Find out how to test for executable files. Don't use a zero-byte file,
+-# as systems may use methods other than mode bits to determine executability.
+-cat >conftest.file <<_ASEOF
+-#! /bin/sh
+-exit 0
+-_ASEOF
+-chmod +x conftest.file
+-if test -x conftest.file >/dev/null 2>&1; then
+-  as_executable_p="test -x"
+-elif test -f conftest.file >/dev/null 2>&1; then
+-  as_executable_p="test -f"
+-else
+-  { { echo "$as_me:21937: error: cannot check whether a file is executable on this system" >&5
+-echo "$as_me: error: cannot check whether a file is executable on this system" >&2;}
+-   { (exit 1); exit 1; }; }
+-fi
+-rm -f conftest.file
+-
+ # Support unset when possible.
+-if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
+-  as_unset=unset
++if (unset FOO) >/dev/null 2>&1; then
++  ac_unset=unset
+ else
+-  as_unset=false
++  ac_unset=false
+ fi
+ 
+ # NLS nuisances.
+-$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
+-$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
+-$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
+-$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
+-$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
+-$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
+-$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
+-$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
++$ac_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
++$ac_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
++$ac_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
++$ac_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
++$ac_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
++$ac_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
++$ac_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
++$ac_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
+ 
+ # IFS
+ # We need space, tab and new line, in precisely that order.
+-as_nl='
++ac_nl='
+ '
+-IFS=" 	$as_nl"
++IFS=" 	$ac_nl"
+ 
+ # CDPATH.
+-$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
+-
+-# File descriptor usage:
+-# 0 standard input
+-# 1 file creation
+-# 2 errors and warnings
+-# 5 compiler messages saved in config.log
+-# 6 checking for... messages and results
+-exec 5>>config.log
+-exec 6>&1
+-
+-cat >&5 << EOF
++$ac_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
+ 
+-## ----------------------- ##
+-## Running config.status.  ##
+-## ----------------------- ##
+-
+-This file was extended by $as_me (heimdal 0.3e) 2.49d, executed with
+- > $0 $@
+-on `(hostname || uname -n) 2>/dev/null | sed 1q`
++debug=false
++me=`echo "$0" | sed 's,.*/,,'`
++SHELL=${CONFIG_SHELL-/bin/sh}
+ 
+ EOF
+ 
+-_ACEOF
+-
+ # Files that config.status was made for.
+ if test -n "$ac_config_files"; then
+   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
+@@ -22009,7 +22517,7 @@
+ cat >>$CONFIG_STATUS <<\EOF
+ 
+ ac_cs_usage="\
+-\`$as_me' instantiates files from templates according to the
++\`$me' instantiates files from templates according to the
+ current configuration.
+ 
+ Usage: $0 [OPTIONS] [FILE]...
+@@ -22017,7 +22525,7 @@
+   -h, --help       print this help, then exit
+   -V, --version    print version number, then exit
+   -d, --debug      don't remove temporary files
+-      --recheck    update $as_me by reconfiguring in the same conditions
++      --recheck    update $me by reconfiguring in the same conditions
+   --file=FILE[:TEMPLATE]
+                    instantiate the configuration file FILE
+   --header=FILE[:TEMPLATE]
+@@ -22037,11 +22545,12 @@
+ 
+ cat >>$CONFIG_STATUS <<EOF
+ ac_cs_version="\\
+-$CONFIG_STATUS generated by $as_me (Autoconf 2.49d).
+-Configured on host $ac_hostname by
++$CONFIG_STATUS generated by autoconf version 2.49b.
++Configured on host `(hostname || uname -n) 2>/dev/null | sed 1q` by
+   `echo "$0 $ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`"
+-srcdir=$srcdir
+-INSTALL="$INSTALL"
++
++ac_given_srcdir=$srcdir
++ac_given_INSTALL="$INSTALL"
+ EOF
+ 
+ cat >>$CONFIG_STATUS <<\EOF
+@@ -22077,11 +22586,8 @@
+     echo "$ac_cs_version"; exit 0 ;;
+   --he | --h)
+     # Conflict between --help and --header
+-    { { echo "$as_me:22080: error: ambiguous option: $1
+-Try \`$0 --help' for more information." >&5
+-echo "$as_me: error: ambiguous option: $1
+-Try \`$0 --help' for more information." >&2;}
+-   { (exit 1); exit 1; }; };;
++    echo "$me: ambiguous option: $ac_option
++Try \`$me --help' for more information."; exit 1 ;;
+   --help | --hel | -h )
+     echo "$ac_cs_usage"; exit 0 ;;
+   --debug | --d* | -d )
+@@ -22153,14 +22659,9 @@
+   'include/config.h' ) CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
+ 
+   # This is an error.
+-  -*) { { echo "$as_me:22156: error: unrecognized option: $1
+-Try \`$0 --help' for more information." >&5
+-echo "$as_me: error: unrecognized option: $1
+-Try \`$0 --help' for more information." >&2;}
+-   { (exit 1); exit 1; }; } ;;
+-  *) { { echo "$as_me:22161: error: invalid argument: $1" >&5
+-echo "$as_me: error: invalid argument: $1" >&2;}
+-   { (exit 1); exit 1; }; };;
++  -*) echo "$me: unrecognized option: $1
++Try \`$me --help' for more information."; exit 1 ;;
++  *) echo "$me: invalid argument: $1"; exit 1 ;;
+   esac
+   shift
+ done
+@@ -22170,19 +22671,17 @@
+ cat >>$CONFIG_STATUS <<\EOF
+ # If the user did not use the arguments to specify the items to instantiate,
+ # then the envvar interface is used.  Set only those that are not.
+-# We use the long form for the default assignment because of an extremely
+-# bizarre bug on SunOS 4.1.3.
+ if $ac_need_defaults; then
+-  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
+-  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
+-  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
++  : ${CONFIG_FILES=$config_files}
++  : ${CONFIG_HEADERS=$config_headers}
++  : ${CONFIG_COMMANDS=$config_commands}
+ fi
+ 
+ # Create a temporary directory, and hook for its removal unless debugging.
+ $debug ||
+ {
+   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
+-  trap '{ (exit $?); exit $?; }' 1 2 13 15
++  trap 'exit $?' 1 2 13 15
+ }
+ 
+ # Create a (secure) tmp directory for tmp files.
+@@ -22197,7 +22696,7 @@
+ } ||
+ {
+    echo "$me: cannot create a temporary directory in $TMPDIR" >&2
+-   { (exit 1); exit 1; }
++   exit 1;
+ }
+ 
+ EOF
+@@ -22207,6 +22706,15 @@
+ # INIT-COMMANDS section.
+ #
+ 
++am_indx=1
++  for am_file in include/config.h; do
++    case " $CONFIG_HEADERS " in
++    *" $am_file "*)
++      echo timestamp > `echo $am_file | sed 's%:.*%%;s%[^/]*$%%'`stamp-h$am_indx
++      ;;
++    esac
++    am_indx=\`expr \$am_indx + 1\`
++  done
+ AMDEP="$AMDEP"
+ ac_aux_dir="$ac_aux_dir"
+ 
+@@ -22240,24 +22748,21 @@
+ s,@oldincludedir@,$oldincludedir,;t t
+ s,@infodir@,$infodir,;t t
+ s,@mandir@,$mandir,;t t
+-s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
+-s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
+-s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
+-s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
+-s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
+ s,@ECHO_C@,$ECHO_C,;t t
+ s,@ECHO_N@,$ECHO_N,;t t
+ s,@ECHO_T@,$ECHO_T,;t t
++s,@CFLAGS@,$CFLAGS,;t t
++s,@CPPFLAGS@,$CPPFLAGS,;t t
++s,@CXXFLAGS@,$CXXFLAGS,;t t
++s,@FFLAGS@,$FFLAGS,;t t
+ s,@DEFS@,$DEFS,;t t
++s,@LDFLAGS@,$LDFLAGS,;t t
+ s,@LIBS@,$LIBS,;t t
+ s,@CC@,$CC,;t t
+-s,@CFLAGS@,$CFLAGS,;t t
+-s,@LDFLAGS@,$LDFLAGS,;t t
+ s,@ac_ct_CC@,$ac_ct_CC,;t t
+ s,@OBJEXT@,$OBJEXT,;t t
+ s,@EXEEXT@,$EXEEXT,;t t
+ s,@CPP@,$CPP,;t t
+-s,@CPPFLAGS@,$CPPFLAGS,;t t
+ s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
+ s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
+ s,@INSTALL_DATA@,$INSTALL_DATA,;t t
+@@ -22292,6 +22797,7 @@
+ s,@RANLIB@,$RANLIB,;t t
+ s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
+ s,@LN_S@,$LN_S,;t t
++s,@ECHO@,$ECHO,;t t
+ s,@STRIP@,$STRIP,;t t
+ s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
+ s,@LIBTOOL@,$LIBTOOL,;t t
+@@ -22457,33 +22963,27 @@
+   * )   ac_file_in=$ac_file.in ;;
+   esac
+ 
+-  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
+-  ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+-         X"$ac_file" : 'X\(//\)[^/]' \| \
+-         X"$ac_file" : 'X\(//\)$' \| \
+-         X"$ac_file" : 'X\(/\)' \| \
+-         .     : '\(.\)' 2>/dev/null ||
+-echo X"$ac_file" |
+-    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
+-  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
+-  	  /^X\(\/\/\)$/{ s//\1/; q; }
+-  	  /^X\(\/\).*/{ s//\1/; q; }
+-  	  s/.*/./; q'`
++  # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
++  ac_dir=`expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++      X"$ac_file" : 'X\(//\)[^/]' \| \
++      X"$ac_file" : 'X\(//\)$' \| \
++      X"$ac_file" : 'X\(/\)' \| \
++      .   : '\(.\)' 2>/dev/null ||
++echo "X"$ac_file"" | sed '
++	    /^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/p; q; }
++	    /^X\(\/\/\)[^/].*/{ s//\1/p; q; }
++	    /^X\(\/\/\)$/{ s//\1/p; q; }
++	    /^X\(\/\).*/{ s//\1/p; q; }
++	    s/.*/./p; q'`
+   if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
+     { case "$ac_dir" in
+-  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
+-  *)                      as_incr_dir=.;;
++  [\\/]* | ?:[\\/]* ) ac_incr_dir=;;
++  *)                      ac_incr_dir=.;;
+ esac
+-as_dummy="$ac_dir"
+-for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
+-  case $as_mkdir_dir in
+-    # Skip DOS drivespec
+-    ?:) as_incr_dir=$as_mkdir_dir ;;
+-    *)
+-      as_incr_dir=$as_incr_dir/$as_mkdir_dir
+-      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
+-    ;;
+-  esac
++ac_dummy=""$ac_dir""
++for ac_mkdir_dir in `IFS=/; set X $ac_dummy; shift; echo "$@"`; do
++  ac_incr_dir=$ac_incr_dir/$ac_mkdir_dir
++  test -d $ac_incr_dir || mkdir $ac_incr_dir
+ done; }
+ 
+     ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
+@@ -22493,37 +22993,33 @@
+     ac_dir_suffix= ac_dots=
+   fi
+ 
+-  case $srcdir in
+-  .)  ac_srcdir=.
+-      if test -z "$ac_dots"; then
+-         ac_top_srcdir=.
+-      else
+-         ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
+-      fi ;;
++  case $ac_given_srcdir in
++  .)  srcdir=.
++      if test -z "$ac_dots"; then top_srcdir=.
++      else top_srcdir=`echo $ac_dots | sed 's,/$,,'`; fi ;;
+   [\\/]* | ?:[\\/]* )
+-      ac_srcdir=$srcdir$ac_dir_suffix;
+-      ac_top_srcdir=$srcdir ;;
++      srcdir=$ac_given_srcdir$ac_dir_suffix;
++      top_srcdir=$ac_given_srcdir ;;
+   *) # Relative path.
+-    ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
+-    ac_top_srcdir=$ac_dots$srcdir ;;
++    srcdir=$ac_dots$ac_given_srcdir$ac_dir_suffix
++    top_srcdir=$ac_dots$ac_given_srcdir ;;
+   esac
+ 
+-  case $INSTALL in
+-  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
+-  *) ac_INSTALL=$ac_dots$INSTALL ;;
++  case $ac_given_INSTALL in
++  [\\/$]* | ?:[\\/]* ) INSTALL=$ac_given_INSTALL ;;
++  *) INSTALL=$ac_dots$ac_given_INSTALL ;;
+   esac
+ 
+   if test x"$ac_file" != x-; then
+-    { echo "$as_me:22517: creating $ac_file" >&5
+-echo "$as_me: creating $ac_file" >&6;}
++    echo creating $ac_file
+     rm -f "$ac_file"
+   fi
+-  # Let's still pretend it is `configure' which instantiates (i.e., don't
+-  # use $as_me), people would be surprised to read:
+-  #    /* config.h.  Generated automatically by config.status.  */
+   configure_input="Generated automatically from `echo $ac_file_in |
+                                                  sed 's,.*/,,'` by configure."
+ 
++  # Don't redirect the output to AC_FILE directly: use `mv' so that
++  # updating is atomic, and doesn't need trapping.
++
+   # First look for the input files in the build tree, otherwise in the
+   # src tree.
+   ac_file_inputs=`IFS=:
+@@ -22532,25 +23028,21 @@
+       -) echo $tmp/stdin ;;
+       [\\/$]* | ?:[\\/]*)
+          # Absolute
+-         test -f "$f" || { { echo "$as_me:22535: error: cannot find input file: $f" >&5
+-echo "$as_me: error: cannot find input file: $f" >&2;}
+-   { (exit 1); exit 1; }; }
++         test -f "$f" || { echo "configure: error: cannot find input file \\\`$f'" >&2; exit 1; }
+          echo $f;;
+       *) # Relative
+          if test -f "$f"; then
+            # Build tree
+            echo $f
+-         elif test -f "$srcdir/$f"; then
++         elif test -f "$ac_given_srcdir/$f"; then
+            # Source tree
+-           echo $srcdir/$f
++           echo $ac_given_srcdir/$f
+          else
+            # /dev/null tree
+-           { { echo "$as_me:22548: error: cannot find input file: $f" >&5
+-echo "$as_me: error: cannot find input file: $f" >&2;}
+-   { (exit 1); exit 1; }; }
++           { echo "configure: error: cannot find input file \\\`$f'" >&2; exit 1; }
+          fi;;
+       esac
+-    done` || { (exit 1); exit 1; }
++    done` || { (exit 1); exit; }
+ EOF
+ cat >>$CONFIG_STATUS <<EOF
+   sed "$ac_vpsub
+@@ -22560,9 +23052,9 @@
+ :t
+ /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
+ s,@configure_input@,$configure_input,;t t
+-s,@srcdir@,$ac_srcdir,;t t
+-s,@top_srcdir@,$ac_top_srcdir,;t t
+-s,@INSTALL@,$ac_INSTALL,;t t
++s,@srcdir@,$srcdir,;t t
++s,@top_srcdir@,$top_srcdir,;t t
++s,@INSTALL@,$INSTALL,;t t
+ " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
+   rm -f $tmp/stdin
+   if test x"$ac_file" != x-; then
+@@ -22606,8 +23098,7 @@
+   * )   ac_file_in=$ac_file.in ;;
+   esac
+ 
+-  test x"$ac_file" != x- && { echo "$as_me:22609: creating $ac_file" >&5
+-echo "$as_me: creating $ac_file" >&6;}
++  test x"$ac_file" != x- && echo creating $ac_file
+ 
+   # First look for the input files in the build tree, otherwise in the
+   # src tree.
+@@ -22617,25 +23108,21 @@
+       -) echo $tmp/stdin ;;
+       [\\/$]* | ?:[\\/]*)
+          # Absolute
+-         test -f "$f" || { { echo "$as_me:22620: error: cannot find input file: $f" >&5
+-echo "$as_me: error: cannot find input file: $f" >&2;}
+-   { (exit 1); exit 1; }; }
++         test -f "$f" || { echo "configure: error: cannot find input file \\\`$f'" >&2; exit 1; }
+          echo $f;;
+       *) # Relative
+          if test -f "$f"; then
+            # Build tree
+            echo $f
+-         elif test -f "$srcdir/$f"; then
++         elif test -f "$ac_given_srcdir/$f"; then
+            # Source tree
+-           echo $srcdir/$f
++           echo $ac_given_srcdir/$f
+          else
+            # /dev/null tree
+-           { { echo "$as_me:22633: error: cannot find input file: $f" >&5
+-echo "$as_me: error: cannot find input file: $f" >&2;}
+-   { (exit 1); exit 1; }; }
++           { echo "configure: error: cannot find input file \\\`$f'" >&2; exit 1; }
+          fi;;
+       esac
+-    done` || { (exit 1); exit 1; }
++    done` || { (exit 1); exit; }
+   # Remove the trailing spaces.
+   sed 's/[ 	]*$//' $ac_file_inputs >$tmp/in
+ 
+@@ -22652,8 +23139,9 @@
+ # Using a here document instead of a string reduces the quoting nightmare.
+ # Putting comments in sed scripts is not portable.
+ #
+-# `end' is used to avoid that the second main sed command (meant for
+-# 0-ary CPP macros) applies to n-ary macro definitions.
++# `cleanup' is used to avoid that the second main sed command (meant for
++# 0-ary CPP macros) applies to n-ary macro definitions.  So we use
++# `t cleanup' to jump over the second main sed command when it succeeded.
+ # See the Autoconf documentation for `clear'.
+ cat >confdef2sed.sed <<\EOF
+ s/[\\&,]/\\&/g
+@@ -22661,13 +23149,13 @@
+ t clear
+ : clear
+ s,^[ 	]*#[ 	]*define[ 	][ 	]*\(\([^ 	(][^ 	(]*\)([^)]*)\)[ 	]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
+-t end
++t cleanup
+ s,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	][^ 	]*\)[ 	]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
+-: end
++: cleanup
+ EOF
+ # If some macros were called several times there might be several times
+ # the same #defines, which is useless.  Nevertheless, we may not want to
+-# sort them, since we want the *last* AC-DEFINE to be honored.
++# sort them, since we want the *last* AC_DEFINE to be honored.
+ uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
+ sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
+ rm -f confdef2sed.sed
+@@ -22735,9 +23223,6 @@
+ rm -f conftest.undefs
+ 
+ cat >>$CONFIG_STATUS <<\EOF
+-  # Let's still pretend it is `configure' which instantiates (i.e., don't
+-  # use $as_me), people would be surprised to read:
+-  #    /* config.h.  Generated automatically by config.status.  */
+   if test x"$ac_file" = x-; then
+     echo "/* Generated automatically by configure.  */" >$tmp/config.h
+   else
+@@ -22747,35 +23232,28 @@
+   rm -f $tmp/in
+   if test x"$ac_file" != x-; then
+     if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
+-      { echo "$as_me:22750: $ac_file is unchanged" >&5
+-echo "$as_me: $ac_file is unchanged" >&6;}
++      echo "$ac_file is unchanged"
+     else
+-      ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+-         X"$ac_file" : 'X\(//\)[^/]' \| \
+-         X"$ac_file" : 'X\(//\)$' \| \
+-         X"$ac_file" : 'X\(/\)' \| \
+-         .     : '\(.\)' 2>/dev/null ||
+-echo X"$ac_file" |
+-    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
+-  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
+-  	  /^X\(\/\/\)$/{ s//\1/; q; }
+-  	  /^X\(\/\).*/{ s//\1/; q; }
+-  	  s/.*/./; q'`
++      ac_dir=`expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++      X"$ac_file" : 'X\(//\)[^/]' \| \
++      X"$ac_file" : 'X\(//\)$' \| \
++      X"$ac_file" : 'X\(/\)' \| \
++      .   : '\(.\)' 2>/dev/null ||
++echo "X"$ac_file"" | sed '
++	    /^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/p; q; }
++	    /^X\(\/\/\)[^/].*/{ s//\1/p; q; }
++	    /^X\(\/\/\)$/{ s//\1/p; q; }
++	    /^X\(\/\).*/{ s//\1/p; q; }
++	    s/.*/./p; q'`
+       if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
+         { case "$ac_dir" in
+-  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
+-  *)                      as_incr_dir=.;;
++  [\\/]* | ?:[\\/]* ) ac_incr_dir=;;
++  *)                      ac_incr_dir=.;;
+ esac
+-as_dummy="$ac_dir"
+-for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
+-  case $as_mkdir_dir in
+-    # Skip DOS drivespec
+-    ?:) as_incr_dir=$as_mkdir_dir ;;
+-    *)
+-      as_incr_dir=$as_incr_dir/$as_mkdir_dir
+-      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
+-    ;;
+-  esac
++ac_dummy=""$ac_dir""
++for ac_mkdir_dir in `IFS=/; set X $ac_dummy; shift; echo "$@"`; do
++  ac_incr_dir=$ac_incr_dir/$ac_mkdir_dir
++  test -d $ac_incr_dir || mkdir $ac_incr_dir
+ done; }
+ 
+       fi
+@@ -22798,7 +23276,7 @@
+   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
+ 
+   case $ac_dest in
+-    default-1 ) test -z "$CONFIG_HEADERS" || echo timestamp > include/stamp-h ;;
++    default-1 ) test -z "$CONFIG_HEADERS" || echo timestamp >	   include/stamp-h ;;
+     default-2 )
+ test x"$AMDEP" != x"" ||
+ for mf in $CONFIG_FILES; do
+@@ -22847,9 +23325,10 @@
+ exit 0
+ EOF
+ chmod +x $CONFIG_STATUS
+-ac_clean_files=$ac_clean_files_save
++rm -fr confdefs* $ac_clean_files
++trap 'exit 1' 1 2 15
+ 
+-test "$no_create" = yes || $SHELL $CONFIG_STATUS || { (exit 1); exit 1; }
++test "$no_create" = yes || $SHELL $CONFIG_STATUS || exit 1
+ 
+ HEIMDALVERSION="$PACKAGE-$VERSION"
+ 
+diff -ruN heimdal-0.3e-old/doc/Makefile.in heimdal-0.3e/doc/Makefile.in
+--- heimdal-0.3e-old/doc/Makefile.in	Mon Feb  5 18:59:34 2001
++++ heimdal-0.3e/doc/Makefile.in	Sat May 12 17:54:10 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -76,6 +77,7 @@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -181,8 +183,7 @@
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+diff -ruN heimdal-0.3e-old/include/Makefile.in heimdal-0.3e/include/Makefile.in
+--- heimdal-0.3e-old/include/Makefile.in	Mon Feb  5 18:58:15 2001
++++ heimdal-0.3e/include/Makefile.in	Sat May 12 17:53:55 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -76,6 +77,7 @@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -181,8 +183,7 @@
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ CHECK_LOCAL = 
+ 
+@@ -401,10 +402,11 @@
+ 	@set fnord $(MAKEFLAGS); amf=$$2; \
+ 	dot_seen=no; \
+ 	rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
+-	  rev="$$subdir $$rev"; \
+-	  if test "$$subdir" = "."; then dot_seen=yes; else :; fi; \
++	  if test "$$subdir" = "."; then :; else \
++	    rev="$$subdir $$rev"; \
++	  fi; \
+ 	done; \
+-	test "$$dot_seen" = "no" && rev=". $$rev"; \
++	rev="$$rev ."; \
+ 	target=`echo $@ | sed s/-recursive//`; \
+ 	for subdir in $$rev; do \
+ 	  echo "Making $$target in $$subdir"; \
+diff -ruN heimdal-0.3e-old/include/config.h.in heimdal-0.3e/include/config.h.in
+--- heimdal-0.3e-old/include/config.h.in	Mon Feb  5 19:10:23 2001
++++ heimdal-0.3e/include/config.h.in	Sat May 12 17:53:53 2001
+@@ -374,9 +374,6 @@
+ /* Define if you have the `memmove' function. */
+ #undef HAVE_MEMMOVE
+ 
+-/* Define if you have the <memory.h> header file. */
+-#undef HAVE_MEMORY_H
+-
+ /* Define if you have the `mkstemp' function. */
+ #undef HAVE_MKSTEMP
+ 
+@@ -425,6 +422,9 @@
+ /* Define if you have the <net/if.h> header file. */
+ #undef HAVE_NET_IF_H
+ 
++/* Define if you have the <openssl/crypto.h> header file. */
++#undef HAVE_OPENSSL_CRYPTO_H
++
+ /* Define if you have the <openssl/des.h> header file. */
+ #undef HAVE_OPENSSL_DES_H
+ 
+@@ -608,9 +608,6 @@
+ /* Define if you have the <standards.h> header file. */
+ #undef HAVE_STANDARDS_H
+ 
+-/* Define if you have the <stdlib.h> header file. */
+-#undef HAVE_STDLIB_H
+-
+ /* Define if you have the `strcasecmp' function. */
+ #undef HAVE_STRCASECMP
+ 
+@@ -622,12 +619,6 @@
+ 
+ /* Define if you have the `strftime' function. */
+ #undef HAVE_STRFTIME
+-
+-/* Define if you have the <strings.h> header file. */
+-#undef HAVE_STRINGS_H
+-
+-/* Define if you have the <string.h> header file. */
+-#undef HAVE_STRING_H
+ 
+ /* Define if you have the `strlcat' function. */
+ #undef HAVE_STRLCAT
+diff -ruN heimdal-0.3e-old/include/kadm5/Makefile.in heimdal-0.3e/include/kadm5/Makefile.in
+--- heimdal-0.3e-old/include/kadm5/Makefile.in	Mon Feb  5 18:58:16 2001
++++ heimdal-0.3e/include/kadm5/Makefile.in	Sat May 12 17:53:56 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -76,6 +77,7 @@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -181,8 +183,7 @@
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+diff -ruN heimdal-0.3e-old/kadmin/Makefile.in heimdal-0.3e/kadmin/Makefile.in
+--- heimdal-0.3e-old/kadmin/Makefile.in	Mon Feb  5 18:58:52 2001
++++ heimdal-0.3e/kadmin/Makefile.in	Sat May 12 17:54:03 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -76,6 +77,7 @@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -181,8 +183,7 @@
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+diff -ruN heimdal-0.3e-old/kdc/Makefile.in heimdal-0.3e/kdc/Makefile.in
+--- heimdal-0.3e-old/kdc/Makefile.in	Mon Feb  5 18:58:56 2001
++++ heimdal-0.3e/kdc/Makefile.in	Sat May 12 17:54:04 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -76,6 +77,7 @@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -181,8 +183,7 @@
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+diff -ruN heimdal-0.3e-old/kpasswd/Makefile.in heimdal-0.3e/kpasswd/Makefile.in
+--- heimdal-0.3e-old/kpasswd/Makefile.in	Mon Feb  5 18:58:50 2001
++++ heimdal-0.3e/kpasswd/Makefile.in	Sat May 12 17:54:03 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -76,6 +77,7 @@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -181,8 +183,7 @@
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+diff -ruN heimdal-0.3e-old/kuser/Makefile.in heimdal-0.3e/kuser/Makefile.in
+--- heimdal-0.3e-old/kuser/Makefile.in	Mon Feb  5 18:58:48 2001
++++ heimdal-0.3e/kuser/Makefile.in	Sat May 12 17:54:03 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -76,6 +77,7 @@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -181,8 +183,7 @@
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(bin_PROGRAMS)
+diff -ruN heimdal-0.3e-old/lib/45/Makefile.in heimdal-0.3e/lib/45/Makefile.in
+--- heimdal-0.3e-old/lib/45/Makefile.in	Mon Feb  5 18:58:17 2001
++++ heimdal-0.3e/lib/45/Makefile.in	Sat May 12 17:53:56 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -76,6 +77,7 @@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -181,8 +183,7 @@
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+diff -ruN heimdal-0.3e-old/lib/Makefile.in heimdal-0.3e/lib/Makefile.in
+--- heimdal-0.3e-old/lib/Makefile.in	Mon Feb  5 18:58:17 2001
++++ heimdal-0.3e/lib/Makefile.in	Sat May 12 17:53:56 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -76,6 +77,7 @@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -181,8 +183,7 @@
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+@@ -257,10 +258,11 @@
+ 	@set fnord $(MAKEFLAGS); amf=$$2; \
+ 	dot_seen=no; \
+ 	rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
+-	  rev="$$subdir $$rev"; \
+-	  if test "$$subdir" = "."; then dot_seen=yes; else :; fi; \
++	  if test "$$subdir" = "."; then :; else \
++	    rev="$$subdir $$rev"; \
++	  fi; \
+ 	done; \
+-	test "$$dot_seen" = "no" && rev=". $$rev"; \
++	rev="$$rev ."; \
+ 	target=`echo $@ | sed s/-recursive//`; \
+ 	for subdir in $$rev; do \
+ 	  echo "Making $$target in $$subdir"; \
+diff -ruN heimdal-0.3e-old/lib/asn1/Makefile.in heimdal-0.3e/lib/asn1/Makefile.in
+--- heimdal-0.3e-old/lib/asn1/Makefile.in	Mon Feb  5 18:58:23 2001
++++ heimdal-0.3e/lib/asn1/Makefile.in	Sat May 12 17:53:57 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -76,6 +77,7 @@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -181,8 +183,7 @@
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+@@ -191,6 +192,9 @@
+ 
+ lib_LTLIBRARIES = libasn1.la
+ libasn1_la_LDFLAGS = -version-info 4:0:2
++libasn1_la_LIBADD = \
++	$(top_builddir)/lib/com_err/libcom_err.la
++
+ 
+ BUILT_SOURCES = \
+ 	$(gen_files:.x=.c)	\
+@@ -303,7 +307,7 @@
+ X_LIBS = @X_LIBS@
+ X_EXTRA_LIBS = @X_EXTRA_LIBS@
+ X_PRE_LIBS = @X_PRE_LIBS@
+-libasn1_la_LIBADD = 
++libasn1_la_DEPENDENCIES =  $(top_builddir)/lib/com_err/libcom_err.la
+ am_libasn1_la_OBJECTS =  der_get.lo der_put.lo der_free.lo der_length.lo \
+ der_copy.lo timegm.lo asn1_APOptions.lo asn1_AP_REP.lo asn1_AP_REQ.lo \
+ asn1_AS_REP.lo asn1_AS_REQ.lo asn1_Authenticator.lo \
+diff -ruN heimdal-0.3e-old/lib/auth/Makefile.in heimdal-0.3e/lib/auth/Makefile.in
+--- heimdal-0.3e-old/lib/auth/Makefile.in	Mon Feb  5 18:58:18 2001
++++ heimdal-0.3e/lib/auth/Makefile.in	Sat May 12 17:53:56 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -76,6 +77,7 @@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -181,8 +183,7 @@
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+@@ -250,10 +251,11 @@
+ 	@set fnord $(MAKEFLAGS); amf=$$2; \
+ 	dot_seen=no; \
+ 	rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
+-	  rev="$$subdir $$rev"; \
+-	  if test "$$subdir" = "."; then dot_seen=yes; else :; fi; \
++	  if test "$$subdir" = "."; then :; else \
++	    rev="$$subdir $$rev"; \
++	  fi; \
+ 	done; \
+-	test "$$dot_seen" = "no" && rev=". $$rev"; \
++	rev="$$rev ."; \
+ 	target=`echo $@ | sed s/-recursive//`; \
+ 	for subdir in $$rev; do \
+ 	  echo "Making $$target in $$subdir"; \
+diff -ruN heimdal-0.3e-old/lib/auth/afskauthlib/Makefile.in heimdal-0.3e/lib/auth/afskauthlib/Makefile.in
+--- heimdal-0.3e-old/lib/auth/afskauthlib/Makefile.in	Mon Feb  5 18:58:19 2001
++++ heimdal-0.3e/lib/auth/afskauthlib/Makefile.in	Sat May 12 17:53:56 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -76,6 +77,7 @@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -181,8 +183,7 @@
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+diff -ruN heimdal-0.3e-old/lib/auth/pam/Makefile.in heimdal-0.3e/lib/auth/pam/Makefile.in
+--- heimdal-0.3e-old/lib/auth/pam/Makefile.in	Mon Feb  5 18:58:20 2001
++++ heimdal-0.3e/lib/auth/pam/Makefile.in	Sat May 12 17:53:56 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -76,6 +77,7 @@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -181,8 +183,7 @@
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+diff -ruN heimdal-0.3e-old/lib/auth/sia/Makefile.in heimdal-0.3e/lib/auth/sia/Makefile.in
+--- heimdal-0.3e-old/lib/auth/sia/Makefile.in	Mon Feb  5 18:58:21 2001
++++ heimdal-0.3e/lib/auth/sia/Makefile.in	Sat May 12 17:53:57 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -76,6 +77,7 @@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -180,8 +182,7 @@
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+diff -ruN heimdal-0.3e-old/lib/com_err/Makefile.in heimdal-0.3e/lib/com_err/Makefile.in
+--- heimdal-0.3e-old/lib/com_err/Makefile.in	Mon Feb  5 18:58:24 2001
++++ heimdal-0.3e/lib/com_err/Makefile.in	Sat May 12 17:53:57 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -76,6 +77,7 @@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -181,8 +183,7 @@
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+@@ -434,6 +435,8 @@
+ check: check-am
+ installcheck-am:
+ installcheck: installcheck-am
++install-binPROGRAMS: install-libLTLIBRARIES
++
+ install-exec-am: install-libLTLIBRARIES install-binPROGRAMS
+ 	@$(NORMAL_INSTALL)
+ 	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+diff -ruN heimdal-0.3e-old/lib/des/Makefile.in heimdal-0.3e/lib/des/Makefile.in
+--- heimdal-0.3e-old/lib/des/Makefile.in	Mon Feb  5 18:58:26 2001
++++ heimdal-0.3e/lib/des/Makefile.in	Sat May 12 17:53:58 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -76,6 +77,7 @@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -181,8 +183,7 @@
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ CHECK_LOCAL = 
+ 
+@@ -606,6 +607,8 @@
+ check: check-am
+ installcheck-am:
+ installcheck: installcheck-am
++install-binPROGRAMS: install-libLTLIBRARIES
++
+ install-exec-am: install-libLTLIBRARIES install-binPROGRAMS
+ 	@$(NORMAL_INSTALL)
+ 	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+diff -ruN heimdal-0.3e-old/lib/editline/Makefile.in heimdal-0.3e/lib/editline/Makefile.in
+--- heimdal-0.3e-old/lib/editline/Makefile.in	Mon Feb  5 18:58:27 2001
++++ heimdal-0.3e/lib/editline/Makefile.in	Sat May 12 17:53:58 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -76,6 +77,7 @@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -181,8 +183,7 @@
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = 
+diff -ruN heimdal-0.3e-old/lib/gssapi/Makefile.in heimdal-0.3e/lib/gssapi/Makefile.in
+--- heimdal-0.3e-old/lib/gssapi/Makefile.in	Mon Feb  5 18:58:28 2001
++++ heimdal-0.3e/lib/gssapi/Makefile.in	Sat May 12 17:53:58 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -76,6 +77,7 @@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -181,14 +183,18 @@
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+ lib_LTLIBRARIES = libgssapi.la
+ libgssapi_la_LDFLAGS = -version-info 3:0:2
++libgssapi_la_LIBADD = \
++	$(LIB_krb5) \
++	$(LIB_des) \
++	$(top_builddir)/lib/asn1/libasn1.la 
++
+ 
+ include_HEADERS = gssapi.h
+ 
+@@ -246,7 +252,11 @@
+ X_LIBS = @X_LIBS@
+ X_EXTRA_LIBS = @X_EXTRA_LIBS@
+ X_PRE_LIBS = @X_PRE_LIBS@
+-libgssapi_la_LIBADD = 
++@KRB5_FALSE@libgssapi_la_DEPENDENCIES =  \
++@KRB5_FALSE@$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@libgssapi_la_DEPENDENCIES =  \
++@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
++@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
+ am_libgssapi_la_OBJECTS =  8003.lo accept_sec_context.lo acquire_cred.lo \
+ add_oid_set_member.lo canonicalize_name.lo compare_name.lo \
+ context_time.lo copy_ccache.lo create_emtpy_oid_set.lo decapsulate.lo \
+diff -ruN heimdal-0.3e-old/lib/hdb/Makefile.in heimdal-0.3e/lib/hdb/Makefile.in
+--- heimdal-0.3e-old/lib/hdb/Makefile.in	Mon Feb  5 18:58:30 2001
++++ heimdal-0.3e/lib/hdb/Makefile.in	Sat May 12 17:53:59 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -76,6 +77,7 @@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -181,8 +183,7 @@
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+@@ -196,18 +197,19 @@
+ CLEANFILES = $(BUILT_SOURCES) $(foo) hdb_asn1.h asn1_files
+ 
+ noinst_PROGRAMS = convert_db
+-LDADD = libhdb.la \
++LDADD = libhdb.la
++
++lib_LTLIBRARIES = libhdb.la
++libhdb_la_LDFLAGS = -version-info 7:0:0
++libhdb_la_LIBADD = \
+ 	$(LIB_openldap) \
+ 	../krb5/libkrb5.la \
+ 	../asn1/libasn1.la \
+-	$(LIB_des) \
+ 	$(LIB_roken) \
++	@LIB_com_err@ \
+ 	$(DBLIB)
+ 
+ 
+-lib_LTLIBRARIES = libhdb.la
+-libhdb_la_LDFLAGS = -version-info 7:0:0
+-
+ libhdb_la_SOURCES = \
+ 	common.c				\
+ 	db.c					\
+@@ -222,8 +224,6 @@
+ 
+ 
+ include_HEADERS = hdb.h hdb_err.h hdb_asn1.h hdb-protos.h hdb-private.h
+-
+-libhdb_la_LIBADD = $(LIB_openldap)
+ subdir = lib/hdb
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+ CONFIG_HEADER = ../../include/config.h
+@@ -238,7 +238,7 @@
+ X_LIBS = @X_LIBS@
+ X_EXTRA_LIBS = @X_EXTRA_LIBS@
+ X_PRE_LIBS = @X_PRE_LIBS@
+-libhdb_la_DEPENDENCIES = 
++libhdb_la_DEPENDENCIES =  ../krb5/libkrb5.la ../asn1/libasn1.la
+ am_libhdb_la_OBJECTS =  common.lo db.lo db3.lo hdb-ldap.lo hdb.lo \
+ keytab.lo mkey.lo ndbm.lo print.lo asn1_Key.lo asn1_Event.lo \
+ asn1_HDBFlags.lo asn1_hdb_entry.lo asn1_Salt.lo hdb_err.lo
+@@ -249,8 +249,7 @@
+ convert_db_SOURCES = convert_db.c
+ convert_db_OBJECTS =  convert_db.$(OBJEXT)
+ convert_db_LDADD = $(LDADD)
+-convert_db_DEPENDENCIES =  libhdb.la ../krb5/libkrb5.la \
+-../asn1/libasn1.la
++convert_db_DEPENDENCIES =  libhdb.la
+ convert_db_LDFLAGS = 
+ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+diff -ruN heimdal-0.3e-old/lib/kadm5/Makefile.in heimdal-0.3e/lib/kadm5/Makefile.in
+--- heimdal-0.3e-old/lib/kadm5/Makefile.in	Mon Feb  5 18:58:32 2001
++++ heimdal-0.3e/lib/kadm5/Makefile.in	Sat May 12 17:53:59 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -76,6 +77,7 @@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -181,15 +183,24 @@
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+ lib_LTLIBRARIES = libkadm5srv.la libkadm5clnt.la
+ libkadm5srv_la_LDFLAGS = -version-info 7:3:0
++libkadm5srv_la_LIBADD = \
++	$(LIB_roken) \
++	$(LIB_krb5)
++
++
+ libkadm5clnt_la_LDFLAGS = -version-info 6:1:2
++libkadm5clnt_la_LIBADD = \
++	$(LIB_roken) \
++	$(LIB_krb5)
++
++
+ sbin_PROGRAMS = dump_log replay_log truncate_log
+ 
+ libexec_PROGRAMS = ipropd-master ipropd-slave
+@@ -296,13 +307,17 @@
+ X_LIBS = @X_LIBS@
+ X_EXTRA_LIBS = @X_EXTRA_LIBS@
+ X_PRE_LIBS = @X_PRE_LIBS@
+-libkadm5clnt_la_LIBADD = 
++@KRB5_FALSE@libkadm5clnt_la_DEPENDENCIES = 
++@KRB5_TRUE@libkadm5clnt_la_DEPENDENCIES =  \
++@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ am_libkadm5clnt_la_OBJECTS =  chpass_c.lo common_glue.lo create_c.lo \
+ delete_c.lo destroy_c.lo flush_c.lo free.lo get_c.lo get_princs_c.lo \
+ init_c.lo kadm5_err.lo marshall.lo modify_c.lo privs_c.lo randkey_c.lo \
+ rename_c.lo send_recv.lo client_glue.lo
+ libkadm5clnt_la_OBJECTS =  $(am_libkadm5clnt_la_OBJECTS)
+-libkadm5srv_la_LIBADD = 
++@KRB5_FALSE@libkadm5srv_la_DEPENDENCIES = 
++@KRB5_TRUE@libkadm5srv_la_DEPENDENCIES =  \
++@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ am_libkadm5srv_la_OBJECTS =  acl.lo bump_pw_expire.lo chpass_s.lo \
+ common_glue.lo context_s.lo create_s.lo delete_s.lo destroy_s.lo \
+ ent_setup.lo error.lo flush_s.lo free.lo get_princs_s.lo get_s.lo \
+@@ -805,6 +820,11 @@
+ 	  echo "$$dashes"; \
+ 	  test "$$failed" -eq 0; \
+ 	fi
++	$(LIB_com_err) \
++	$(top_builddir)/lib/asn1/libasn1.la \
++	$(top_builddir)/lib/hdb/libhdb.la \
++	$(LIB_dlopen)
++	$(LIB_com_err) 
+ 
+ install-build-headers:: $(kadm5include_HEADERS)
+ 	@foo='$(kadm5include_HEADERS)'; \
+diff -ruN heimdal-0.3e-old/lib/kafs/Makefile.in heimdal-0.3e/lib/kafs/Makefile.in
+--- heimdal-0.3e-old/lib/kafs/Makefile.in	Mon Feb  5 18:58:34 2001
++++ heimdal-0.3e/lib/kafs/Makefile.in	Sat May 12 17:54:00 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -76,6 +77,7 @@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -181,8 +183,7 @@
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+diff -ruN heimdal-0.3e-old/lib/kdfs/Makefile.in heimdal-0.3e/lib/kdfs/Makefile.in
+--- heimdal-0.3e-old/lib/kdfs/Makefile.in	Mon Feb  5 18:58:36 2001
++++ heimdal-0.3e/lib/kdfs/Makefile.in	Sat May 12 17:54:00 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -76,6 +77,7 @@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -181,8 +183,7 @@
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+diff -ruN heimdal-0.3e-old/lib/krb5/Makefile.in heimdal-0.3e/lib/krb5/Makefile.in
+--- heimdal-0.3e-old/lib/krb5/Makefile.in	Mon Feb  5 18:58:38 2001
++++ heimdal-0.3e/lib/krb5/Makefile.in	Sat May 12 17:54:00 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -76,6 +77,7 @@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -181,8 +183,7 @@
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+@@ -194,17 +195,15 @@
+ check_PROGRAMS = n-fold-test string-to-key-test
+ TESTS = n-fold-test string-to-key-test
+ 
+-LDADD = libkrb5.la \
+-	$(LIB_des) \
+-	$(top_builddir)/lib/asn1/libasn1.la \
+-	$(LIB_roken)
+-
++LDADD = libkrb5.la
+ 
+ libkrb5_la_LIBADD = \
+-	../com_err/error.lo ../com_err/com_err.lo \
++	$(LIB_res_search) \
++	$(top_builddir)/lib/com_err/libcom_err.la \
+ 	$(LIB_des) \
+ 	$(top_builddir)/lib/asn1/libasn1.la \
+-	$(LIB_roken)
++	$(LIB_roken) \
++	$(LIB_dbopen)
+ 
+ 
+ lib_LTLIBRARIES = libkrb5.la
+@@ -347,7 +346,7 @@
+ X_LIBS = @X_LIBS@
+ X_EXTRA_LIBS = @X_EXTRA_LIBS@
+ X_PRE_LIBS = @X_PRE_LIBS@
+-libkrb5_la_DEPENDENCIES =  ../com_err/error.lo ../com_err/com_err.lo \
++libkrb5_la_DEPENDENCIES =  $(top_builddir)/lib/com_err/libcom_err.la \
+ $(top_builddir)/lib/asn1/libasn1.la
+ am_libkrb5_la_OBJECTS =  acl.lo add_et_list.lo addr_families.lo \
+ address.lo aname_to_localname.lo appdefault.lo asn1_glue.lo \
+@@ -378,32 +377,27 @@
+ dump_config_SOURCES = dump_config.c
+ dump_config_OBJECTS =  dump_config.$(OBJEXT)
+ dump_config_LDADD = $(LDADD)
+-dump_config_DEPENDENCIES =  libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
++dump_config_DEPENDENCIES =  libkrb5.la
+ dump_config_LDFLAGS = 
+ n_fold_test_SOURCES = n-fold-test.c
+ n_fold_test_OBJECTS =  n-fold-test.$(OBJEXT)
+ n_fold_test_LDADD = $(LDADD)
+-n_fold_test_DEPENDENCIES =  libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
++n_fold_test_DEPENDENCIES =  libkrb5.la
+ n_fold_test_LDFLAGS = 
+ string_to_key_test_SOURCES = string-to-key-test.c
+ string_to_key_test_OBJECTS =  string-to-key-test.$(OBJEXT)
+ string_to_key_test_LDADD = $(LDADD)
+-string_to_key_test_DEPENDENCIES =  libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
++string_to_key_test_DEPENDENCIES =  libkrb5.la
+ string_to_key_test_LDFLAGS = 
+ test_get_addrs_SOURCES = test_get_addrs.c
+ test_get_addrs_OBJECTS =  test_get_addrs.$(OBJEXT)
+ test_get_addrs_LDADD = $(LDADD)
+-test_get_addrs_DEPENDENCIES =  libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
++test_get_addrs_DEPENDENCIES =  libkrb5.la
+ test_get_addrs_LDFLAGS = 
+ verify_krb5_conf_SOURCES = verify_krb5_conf.c
+ verify_krb5_conf_OBJECTS =  verify_krb5_conf.$(OBJEXT)
+ verify_krb5_conf_LDADD = $(LDADD)
+-verify_krb5_conf_DEPENDENCIES =  libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
++verify_krb5_conf_DEPENDENCIES =  libkrb5.la
+ verify_krb5_conf_LDFLAGS = 
+ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+@@ -802,6 +796,8 @@
+ check: check-am
+ installcheck-am:
+ installcheck: installcheck-am
++install-binPROGRAMS: install-libLTLIBRARIES
++
+ install-exec-am: install-libLTLIBRARIES install-binPROGRAMS
+ 	@$(NORMAL_INSTALL)
+ 	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+diff -ruN heimdal-0.3e-old/lib/otp/Makefile.in heimdal-0.3e/lib/otp/Makefile.in
+--- heimdal-0.3e-old/lib/otp/Makefile.in	Mon Feb  5 18:58:39 2001
++++ heimdal-0.3e/lib/otp/Makefile.in	Sat May 12 17:54:01 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -76,6 +77,7 @@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -181,24 +183,24 @@
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+ noinst_PROGRAMS = otptest
+ 
+-otptest_LDADD = libotp.la \
+-	$(LIB_des) \
+-	$(LIB_roken) \
+-	$(DBLIB)
+-
++otptest_LDADD = libotp.la
+ 
+ include_HEADERS = otp.h
+ 
+ lib_LTLIBRARIES = libotp.la
+ libotp_la_LDFLAGS = -version-info 1:2:1
++libotp_la_LIBADD = \
++	$(LIB_roken) \
++	$(LIB_des) \
++	$(DBLIB)
++
+ 
+ libotp_la_SOURCES = \
+ 	otp.c \
+@@ -226,7 +228,7 @@
+ X_LIBS = @X_LIBS@
+ X_EXTRA_LIBS = @X_EXTRA_LIBS@
+ X_PRE_LIBS = @X_PRE_LIBS@
+-libotp_la_LIBADD = 
++libotp_la_DEPENDENCIES = 
+ am_libotp_la_OBJECTS =  otp.lo otp_challenge.lo otp_db.lo otp_md.lo \
+ otp_parse.lo otp_print.lo otp_verify.lo
+ libotp_la_OBJECTS =  $(am_libotp_la_OBJECTS)
+diff -ruN heimdal-0.3e-old/lib/roken/Makefile.in heimdal-0.3e/lib/roken/Makefile.in
+--- heimdal-0.3e-old/lib/roken/Makefile.in	Mon Feb  5 19:10:32 2001
++++ heimdal-0.3e/lib/roken/Makefile.in	Sat May 12 17:54:01 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -76,6 +77,7 @@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -126,6 +128,12 @@
+ 
+ lib_LTLIBRARIES = libroken.la
+ libroken_la_LDFLAGS = -version-info 11:1:2
++libroken_la_LIBADD = \
++	@LIB_res_search@ \
++	$(LIB_des) \
++	@LIB_dbopen@ \
++	@LTLIBOBJS@
++
+ 
+ noinst_PROGRAMS = make-roken
+ 
+@@ -266,8 +274,6 @@
+ 
+ EXTRA_DIST = roken.awk roken.h.in
+ 
+-libroken_la_LIBADD = @LTLIBOBJS@
+-
+ BUILT_SOURCES = make-roken.c roken.h
+ @have_err_h_TRUE@err_h = 
+ @have_err_h_FALSE@err_h = @have_err_h_FALSE@err.h
+@@ -358,7 +364,7 @@
+ 
+ depcomp = 
+ DIST_COMMON =  $(include_HEADERS) ChangeLog Makefile.am Makefile.in \
+-acinclude.m4 getcap.c getcwd.c getnameinfo.c glob.c install-sh \
++acinclude.m4 getcap.c getnameinfo.c glob.c install-sh \
+ make-print-version.c missing mkinstalldirs
+ 
+ 
+diff -ruN heimdal-0.3e-old/lib/sl/Makefile.in heimdal-0.3e/lib/sl/Makefile.in
+--- heimdal-0.3e-old/lib/sl/Makefile.in	Mon Feb  5 18:58:43 2001
++++ heimdal-0.3e/lib/sl/Makefile.in	Sat May 12 17:54:02 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -76,6 +77,7 @@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -181,8 +183,7 @@
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+@@ -195,8 +196,8 @@
+ libsl_la_LDFLAGS = -version-info 1:1:1
+ libss_la_LDFLAGS = -version-info 1:3:1
+ 
+-libsl_la_LIBADD = @LIB_readline@
+-libss_la_LIBADD = @LIB_readline@
++libsl_la_LIBADD = $(LIB_roken) @LIB_readline@
++libss_la_LIBADD = $(LIB_roken) @LIB_readline@
+ 
+ RENAME_SRC = roken_rename.h strtok_r.c snprintf.c
+ 
+@@ -477,6 +478,8 @@
+ check: check-am
+ installcheck-am:
+ installcheck: installcheck-am
++install-binPROGRAMS: install-libLTLIBRARIES
++
+ install-exec-am: install-libLTLIBRARIES install-binPROGRAMS
+ 	@$(NORMAL_INSTALL)
+ 	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+diff -ruN heimdal-0.3e-old/lib/vers/Makefile.in heimdal-0.3e/lib/vers/Makefile.in
+--- heimdal-0.3e-old/lib/vers/Makefile.in	Mon Feb  5 18:58:45 2001
++++ heimdal-0.3e/lib/vers/Makefile.in	Sat May 12 17:54:02 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -76,6 +77,7 @@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -181,8 +183,7 @@
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+diff -ruN heimdal-0.3e-old/ltmain.sh heimdal-0.3e/ltmain.sh
+--- heimdal-0.3e-old/ltmain.sh	Sun Jul 16 01:25:57 2000
++++ heimdal-0.3e/ltmain.sh	Sat May 12 17:53:20 2001
+@@ -1,7 +1,8 @@
+ # ltmain.sh - Provide generalized library-building support services.
+-# NOTE: Changing this file will not affect anything until you rerun ltconfig.
++# NOTE: Changing this file will not affect anything until you rerun configure.
+ #
+-# Copyright (C) 1996-2000 Free Software Foundation, Inc.
++# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
++# Free Software Foundation, Inc.
+ # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
+ #
+ # This program is free software; you can redistribute it and/or modify
+@@ -54,8 +55,8 @@
+ # Constants.
+ PROGRAM=ltmain.sh
+ PACKAGE=libtool
+-VERSION=1.3c
+-TIMESTAMP=" (1.731 2000/07/10 09:42:21)"
++VERSION=1.4
++TIMESTAMP=" (1.920 2001/04/24 23:26:18)"
+ 
+ default_mode=
+ help="Try \`$progname --help' for more information."
+@@ -83,12 +84,6 @@
+   save_LANG="$LANG"; LANG=C; export LANG
+ fi
+ 
+-if test "$LTCONFIG_VERSION" != "$VERSION"; then
+-  echo "$modename: ltconfig version \`$LTCONFIG_VERSION' does not match $PROGRAM version \`$VERSION'" 1>&2
+-  echo "Fatal configuration error.  See the $PACKAGE docs for more information." 1>&2
+-  exit 1
+-fi
+-
+ if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then
+   echo "$modename: not configured to build any kind of library" 1>&2
+   echo "Fatal configuration error.  See the $PACKAGE docs for more information." 1>&2
+@@ -113,16 +108,16 @@
+   arg="$1"
+   shift
+ 
+-  case "$arg" in
++  case $arg in
+   -*=*) optarg=`$echo "X$arg" | $Xsed -e 's/[-_a-zA-Z0-9]*=//'` ;;
+   *) optarg= ;;
+   esac
+ 
+   # If the previous option needs an argument, assign it.
+   if test -n "$prev"; then
+-    case "$prev" in
++    case $prev in
+     execute_dlfiles)
+-      eval "$prev=\"\$$prev \$arg\""
++      execute_dlfiles="$execute_dlfiles $arg"
+       ;;
+     *)
+       eval "$prev=\$arg"
+@@ -135,7 +130,7 @@
+   fi
+ 
+   # Have we seen a non-optional argument yet?
+-  case "$arg" in
++  case $arg in
+   --help)
+     show_help=yes
+     ;;
+@@ -146,7 +141,7 @@
+     ;;
+ 
+   --config)
+-    sed -e '1,/^### BEGIN LIBTOOL CONFIG/d' -e '/^### END LIBTOOL CONFIG/,$d' $0
++    sed -e '1,/^# ### BEGIN LIBTOOL CONFIG/d' -e '/^# ### END LIBTOOL CONFIG/,$d' $0
+     exit 0
+     ;;
+ 
+@@ -211,12 +206,12 @@
+ 
+   # Infer the operation mode.
+   if test -z "$mode"; then
+-    case "$nonopt" in
++    case $nonopt in
+     *cc | *++ | gcc* | *-gcc*)
+       mode=link
+       for arg
+       do
+-	case "$arg" in
++	case $arg in
+ 	-c)
+ 	   mode=compile
+ 	   break
+@@ -261,7 +256,7 @@
+   help="Try \`$modename --help --mode=$mode' for more information."
+ 
+   # These modes are in order of execution frequency so that they run quickly.
+-  case "$mode" in
++  case $mode in
+   # libtool compile mode
+   compile)
+     modename="$modename: compile"
+@@ -275,14 +270,14 @@
+     user_target=no
+     for arg
+     do
+-      case "$prev" in
++      case $prev in
+       "") ;;
+       xcompiler)
+ 	# Aesthetically quote the previous argument.
+ 	prev=
+ 	lastarg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
+ 
+-	case "$arg" in
++	case $arg in
+ 	# Double-quote args containing other shell metacharacters.
+ 	# Many Bourne shells cannot handle close brackets correctly
+ 	# in scan sets, so we specify it separately.
+@@ -302,7 +297,7 @@
+       esac
+ 
+       # Accept any command-line options.
+-      case "$arg" in
++      case $arg in
+       -o)
+ 	if test "$user_target" != "no"; then
+ 	  $echo "$modename: you cannot specify \`-o' more than once" 1>&2
+@@ -341,7 +336,7 @@
+ 	  # Double-quote args containing other shell metacharacters.
+ 	  # Many Bourne shells cannot handle close brackets correctly
+ 	  # in scan sets, so we specify it separately.
+-	  case "$arg" in
++	  case $arg in
+ 	    *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \	]*|*]*|"")
+ 	    arg="\"$arg\""
+ 	    ;;
+@@ -361,7 +356,7 @@
+ 	;;
+       esac
+ 
+-      case "$user_target" in
++      case $user_target in
+       next)
+ 	# The next one is the -o target name
+ 	user_target=yes
+@@ -389,7 +384,7 @@
+       # Double-quote args containing other shell metacharacters.
+       # Many Bourne shells cannot handle close brackets correctly
+       # in scan sets, so we specify it separately.
+-      case "$lastarg" in
++      case $lastarg in
+       *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \	]*|*]*|"")
+ 	lastarg="\"$lastarg\""
+ 	;;
+@@ -403,7 +398,7 @@
+       fi
+     done
+ 
+-    case "$user_target" in
++    case $user_target in
+     set)
+       ;;
+     no)
+@@ -419,7 +414,7 @@
+     # Recognize several different file suffixes.
+     # If the user specifies -o file.o, it is replaced with file.lo
+     xform='[cCFSfmso]'
+-    case "$libobj" in
++    case $libobj in
+     *.ada) xform=ada ;;
+     *.adb) xform=adb ;;
+     *.ads) xform=ads ;;
+@@ -434,7 +429,7 @@
+ 
+     libobj=`$echo "X$libobj" | $Xsed -e "s/\.$xform$/.lo/"`
+ 
+-    case "$libobj" in
++    case $libobj in
+     *.lo) obj=`$echo "X$libobj" | $Xsed -e "$lo2o"` ;;
+     *)
+       $echo "$modename: cannot determine name of library object from \`$libobj'" 1>&2
+@@ -459,8 +454,8 @@
+     trap "$run $rm $removelist; exit 1" 1 2 15
+ 
+     # On Cygwin there's no "real" PIC flag so we must build both object types
+-    case "$host_os" in
+-    cygwin* | mingw* | os2*)
++    case $host_os in
++    cygwin* | mingw* | pw32* | os2*)
+       pic_mode=default
+       ;;
+     esac
+@@ -472,7 +467,7 @@
+     # Calculate the filename of the output object if compiler does
+     # not support -o with -c
+     if test "$compiler_c_o" = no; then
+-      output_obj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\..*$%%'`.${objext}
++      output_obj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext}
+       lockfile="$output_obj.lock"
+       removelist="$removelist $output_obj $lockfile"
+       trap "$run $rm $removelist; exit 1" 1 2 15
+@@ -484,7 +479,7 @@
+     # Lock this critical section if it is needed
+     # We use this script file to make the link, it avoids creating a new file
+     if test "$need_locks" = yes; then
+-      until ln "$0" "$lockfile" 2>/dev/null; do
++      until $run ln "$0" "$lockfile" 2>/dev/null; do
+ 	$show "Waiting for $lockfile to be removed"
+ 	sleep 2
+       done
+@@ -706,7 +701,7 @@
+ 
+     # Unlock the critical section if it was locked
+     if test "$need_locks" != no; then
+-      $rm "$lockfile"
++      $run $rm "$lockfile"
+     fi
+ 
+     exit 0
+@@ -715,8 +710,8 @@
+   # libtool link mode
+   link | relink)
+     modename="$modename: link"
+-    case "$host" in
+-    *-*-cygwin* | *-*-mingw* | *-*-os2*)
++    case $host in
++    *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
+       # It is impossible to link a dll without this setting, and
+       # we shouldn't force the makefile maintainer to figure out
+       # which system we are compiling for in order to pass an extra
+@@ -779,7 +774,7 @@
+     # We need to know -static, to get the right output filenames.
+     for arg
+     do
+-      case "$arg" in
++      case $arg in
+       -all-static | -static)
+ 	if test "X$arg" = "X-all-static"; then
+ 	  if test "$build_libtool_libs" = yes && test -z "$link_static_flag"; then
+@@ -808,7 +803,7 @@
+     while test $# -gt 0; do
+       arg="$1"
+       shift
+-      case "$arg" in
++      case $arg in
+       *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \	]*|*]*|"")
+ 	qarg=\"`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`\" ### testsuite: skip nested quoting test
+ 	;;
+@@ -818,14 +813,14 @@
+ 
+       # If the previous option needs an argument, assign it.
+       if test -n "$prev"; then
+-	case "$prev" in
++	case $prev in
+ 	output)
+ 	  compile_command="$compile_command @OUTPUT@"
+ 	  finalize_command="$finalize_command @OUTPUT@"
+ 	  ;;
+ 	esac
+ 
+-	case "$prev" in
++	case $prev in
+ 	dlfiles|dlprefiles)
+ 	  if test "$preload" = no; then
+ 	    # Add the symbol object into the linking commands.
+@@ -833,7 +828,7 @@
+ 	    finalize_command="$finalize_command @SYMFILE@"
+ 	    preload=yes
+ 	  fi
+-	  case "$arg" in
++	  case $arg in
+ 	  *.la | *.lo) ;;  # We handle these cases below.
+ 	  force)
+ 	    if test "$dlself" = no; then
+@@ -887,7 +882,7 @@
+ 	  ;;
+ 	rpath | xrpath)
+ 	  # We need an absolute path.
+-	  case "$arg" in
++	  case $arg in
+ 	  [\\/]* | [A-Za-z]:[\\/]*) ;;
+ 	  *)
+ 	    $echo "$modename: only absolute run-paths are allowed" 1>&2
+@@ -929,11 +924,11 @@
+ 	  continue
+ 	  ;;
+ 	esac
+-      fi
++      fi # test -n $prev
+ 
+       prevarg="$arg"
+ 
+-      case "$arg" in
++      case $arg in
+       -all-static)
+ 	if test -n "$link_static_flag"; then
+ 	  compile_command="$compile_command $link_static_flag"
+@@ -970,7 +965,7 @@
+ 
+       -export-symbols | -export-symbols-regex)
+ 	if test -n "$export_symbols" || test -n "$export_symbols_regex"; then
+-	  $echo "$modename: not more than one -exported-symbols argument allowed"
++	  $echo "$modename: more than one -exported-symbols argument is not allowed"
+ 	  exit 1
+ 	fi
+ 	if test "X$arg" = "X-export-symbols"; then
+@@ -981,10 +976,22 @@
+ 	continue
+ 	;;
+ 
++      # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:*
++      # so, if we see these flags be careful not to treat them like -L
++      -L[A-Z][A-Z]*:*)
++	case $with_gcc/$host in
++	no/*-*-irix*)
++	  compile_command="$compile_command $arg"
++	  finalize_command="$finalize_command $arg"
++	  ;;
++	esac
++	continue
++	;;
++
+       -L*)
+ 	dir=`$echo "X$arg" | $Xsed -e 's/^-L//'`
+ 	# We need an absolute path.
+-	case "$dir" in
++	case $dir in
+ 	[\\/]* | [A-Za-z]:[\\/]*) ;;
+ 	*)
+ 	  absdir=`cd "$dir" && pwd`
+@@ -1002,9 +1009,9 @@
+ 	  lib_search_path="$lib_search_path $dir"
+ 	  ;;
+ 	esac
+-	case "$host" in
+-	*-*-cygwin* | *-*-mingw* | *-*-os2*)
+-	  case ":$dllsearchpath:" in
++	case $host in
++	*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
++	  case :$dllsearchpath: in
+ 	  *":$dir:"*) ;;
+ 	  *) dllsearchpath="$dllsearchpath:$dir";;
+ 	  esac
+@@ -1014,18 +1021,15 @@
+ 	;;
+ 
+       -l*)
+-	if test "$arg" = "-lc"; then
+-	  case "$host" in
+-	  *-*-cygwin* | *-*-mingw* | *-*-os2* | *-*-beos*)
+-	    # These systems don't actually have c library (as such)
++	if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then
++	  case $host in
++	  *-*-cygwin* | *-*-pw32* | *-*-beos*)
++	    # These systems don't actually have a C or math library (as such)
+ 	    continue
+ 	    ;;
+-	  esac
+-	elif test "$arg" = "-lm"; then
+-	  case "$host" in
+-	  *-*-cygwin* | *-*-beos*)
+-	    # These systems don't actually have math library (as such)
+-	    continue
++	  *-*-mingw* | *-*-os2*)
++	    # These systems don't actually have a C library (as such)
++	    test "X$arg" = "X-lc" && continue
+ 	    ;;
+ 	  esac
+ 	fi
+@@ -1044,21 +1048,15 @@
+ 	;;
+ 
+       -no-install)
+-	case "$host" in
+-	*-*-cygwin* | *-*-mingw* | *-*-os2*)
++	case $host in
++	*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
+ 	  # The PATH hackery in wrapper scripts is required on Windows
+ 	  # in order for the loader to find any dlls it needs.
+ 	  $echo "$modename: warning: \`-no-install' is ignored for $host" 1>&2
+ 	  $echo "$modename: warning: assuming \`-no-fast-install' instead" 1>&2
+ 	  fast_install=no
+ 	  ;;
+-        *-*-rhapsody*)
+-	  # rhapsody is a little odd...
+-	  deplibs="$deplibs -framework System"
+-	  ;;
+-	*)
+-	  no_install=yes
+-	  ;;
++	*) no_install=yes ;;
+ 	esac
+ 	continue
+ 	;;
+@@ -1088,7 +1086,7 @@
+       -R*)
+ 	dir=`$echo "X$arg" | $Xsed -e 's/^-R//'`
+ 	# We need an absolute path.
+-	case "$dir" in
++	case $dir in
+ 	[\\/]* | [A-Za-z]:[\\/]*) ;;
+ 	*)
+ 	  $echo "$modename: only absolute run-paths are allowed" 1>&2
+@@ -1103,11 +1101,11 @@
+ 	;;
+ 
+       -static)
+-	# If we have no pic_flag, then this is the same as -all-static.
+-	if test -z "$pic_flag" && test -n "$link_static_flag"; then
+-	  compile_command="$compile_command $link_static_flag"
+-	  finalize_command="$finalize_command $link_static_flag"
+-	fi
++	# The effects of -static are defined in a previous loop.
++	# We used to do the same as -all-static on platforms that
++	# didn't have a PIC flag, but the assumption that the effects
++	# would be equivalent was wrong.  It would break on at least
++	# Digital Unix and AIX.
+ 	continue
+ 	;;
+ 
+@@ -1127,7 +1125,7 @@
+ 	IFS="${IFS= 	}"; save_ifs="$IFS"; IFS=','
+ 	for flag in $args; do
+ 	  IFS="$save_ifs"
+-	  case "$flag" in
++	  case $flag in
+ 	    *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \	]*|*]*|"")
+ 	    flag="\"$flag\""
+ 	    ;;
+@@ -1145,7 +1143,7 @@
+ 	IFS="${IFS= 	}"; save_ifs="$IFS"; IFS=','
+ 	for flag in $args; do
+ 	  IFS="$save_ifs"
+-	  case "$flag" in
++	  case $flag in
+ 	    *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \	]*|*]*|"")
+ 	    flag="\"$flag\""
+ 	    ;;
+@@ -1173,20 +1171,15 @@
+ 	# Unknown arguments in both finalize_command and compile_command need
+ 	# to be aesthetically quoted because they are evaled later.
+ 	arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
+-	case "$arg" in
++	case $arg in
+ 	*[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \	]*|*]*|"")
+ 	  arg="\"$arg\""
+ 	  ;;
+ 	esac
+ 	;;
+ 
+-      *.$objext)
+-	# A standard object.
+-	objs="$objs $arg"
+-	;;
+-
+-      *.lo)
+-	# A library object.
++      *.lo | *.$objext)
++	# A library or standard object.
+ 	if test "$prev" = dlfiles; then
+ 	  # This file was specified with -dlopen.
+ 	  if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
+@@ -1204,7 +1197,10 @@
+ 	  dlprefiles="$dlprefiles "`$echo "X$arg" | $Xsed -e "$lo2o"`
+ 	  prev=
+ 	else
+-	  libobjs="$libobjs $arg"
++	  case $arg in
++	  *.lo) libobjs="$libobjs $arg" ;;
++	  *) objs="$objs $arg" ;;
++	  esac
+ 	fi
+ 	;;
+ 
+@@ -1237,20 +1233,20 @@
+ 	# Unknown arguments in both finalize_command and compile_command need
+ 	# to be aesthetically quoted because they are evaled later.
+ 	arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
+-	case "$arg" in
++	case $arg in
+ 	*[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \	]*|*]*|"")
+ 	  arg="\"$arg\""
+ 	  ;;
+ 	esac
+ 	;;
+-      esac
++      esac # arg
+ 
+       # Now actually substitute the argument into the commands.
+       if test -n "$arg"; then
+ 	compile_command="$compile_command $arg"
+ 	finalize_command="$finalize_command $arg"
+       fi
+-    done
++    done # argument parsing loop
+ 
+     if test -n "$prev"; then
+       $echo "$modename: the \`$prevarg' option requires an argument" 1>&2
+@@ -1264,7 +1260,6 @@
+       finalize_command="$finalize_command $arg"
+     fi
+ 
+-    oldlibs=
+     # calculate the name of the file, without its directory
+     outputname=`$echo "X$output" | $Xsed -e 's%^.*/%%'`
+     libobjs_save="$libobjs"
+@@ -1295,7 +1290,7 @@
+     fi
+ 
+     # Determine the type of output
+-    case "$output" in
++    case $output in
+     "")
+       $echo "$modename: you must specify an output file" 1>&2
+       $echo "$help" 1>&2
+@@ -1321,13 +1316,13 @@
+     newdependency_libs=
+     newlib_search_path=
+     need_relink=no # whether we're linking any uninstalled libtool libraries
+-    uninst_deplibs= # uninstalled libtool libraries
+-    uninst_path= # paths that contain uninstalled libtool libraries
++    notinst_deplibs= # not-installed libtool libraries
++    notinst_path= # paths that contain not-installed libtool libraries
+     case $linkmode in
+     lib)
+ 	passes="conv link"
+ 	for file in $dlfiles $dlprefiles; do
+-	  case "$file" in
++	  case $file in
+ 	  *.la) ;;
+ 	  *)
+ 	    $echo "$modename: libraries can \`-dlopen' only libtool libraries: $file" 1>&2
+@@ -1344,34 +1339,29 @@
+ 	newdlprefiles=
+ 	passes="conv scan dlopen dlpreopen link"
+ 	;;
+-    *)	passes="conv"
++    *)  passes="conv"
+ 	;;
+     esac
+     for pass in $passes; do
+-      if test "$linkmode,$pass" = "lib,link" ||
+-	 test "$linkmode,$pass" = "prog,scan"; then
+-	libs="$deplibs"
+-	deplibs=
+-      fi
+       if test $linkmode = prog; then
++	# Determine which files to process
+ 	case $pass in
+-	dlopen) libs="$dlfiles" ;;
++	dlopen)
++	  libs="$dlfiles"
++	  save_deplibs="$deplibs" # Collect dlpreopened libraries
++	  deplibs=
++	  ;;
+ 	dlpreopen) libs="$dlprefiles" ;;
+ 	link) libs="$deplibs %DEPLIBS% $dependency_libs" ;;
+ 	esac
+       fi
+-      if test $pass = dlopen; then
+-	# Collect dlpreopened libraries
+-	save_deplibs="$deplibs"
+-	deplibs=
+-      fi
+       for deplib in $libs; do
+ 	lib=
+ 	found=no
+-	case "$deplib" in
++	case $deplib in
+ 	-l*)
+-	  if test $linkmode != lib && test $linkmode != prog; then
+-	    $echo "$modename: warning: \`-l' is ignored for archives/objects" 1>&2
++	  if test $linkmode = oldlib && test $linkmode = obj; then
++	    $echo "$modename: warning: \`-l' is ignored for archives/objects: $deplib" 1>&2
+ 	    continue
+ 	  fi
+ 	  if test $pass = conv; then
+@@ -1388,6 +1378,7 @@
+ 	    fi
+ 	  done
+ 	  if test "$found" != yes; then
++	    # deplib doesn't seem to be a libtool library
+ 	    if test "$linkmode,$pass" = "prog,link"; then
+ 	      compile_deplibs="$deplib $compile_deplibs"
+ 	      finalize_deplibs="$deplib $finalize_deplibs"
+@@ -1397,7 +1388,7 @@
+ 	    fi
+ 	    continue
+ 	  fi
+-	  ;;
++	  ;; # -l
+ 	-L*)
+ 	  case $linkmode in
+ 	  lib)
+@@ -1420,11 +1411,11 @@
+ 	    fi
+ 	    ;;
+ 	  *)
+-	    $echo "$modename: warning: \`-L' is ignored for archives/objects" 1>&2
++	    $echo "$modename: warning: \`-L' is ignored for archives/objects: $deplib" 1>&2
+ 	    ;;
+-	  esac
++	  esac # linkmode
+ 	  continue
+-	  ;;
++	  ;; # -L
+ 	-R*)
+ 	  if test $pass = link; then
+ 	    dir=`$echo "X$deplib" | $Xsed -e 's/^-R//'`
+@@ -1468,21 +1459,17 @@
+ 	    fi
+ 	    continue
+ 	    ;;
+-	  esac
+-	  ;;
++	  esac # linkmode
++	  ;; # *.$libext
+ 	*.lo | *.$objext)
+-	  if test $pass = conv; then
+-	    deplibs="$deplib $deplibs"
+-	  elif test $linkmode = prog; then
+-	    if test $pass = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
+-	      # If there is no dlopen support or we're linking statically,
+-	      # we need to preload.
+-	      newdlprefiles="$newdlprefiles $deplib"
+-	      compile_deplibs="$deplib $compile_deplibs"
+-	      finalize_deplibs="$deplib $finalize_deplibs"
+-	    else
+-	      newdlfiles="$newdlfiles $deplib"
+-	    fi
++	  if test $pass = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
++	    # If there is no dlopen support or we're linking statically,
++	    # we need to preload.
++	    newdlprefiles="$newdlprefiles $deplib"
++	    compile_deplibs="$deplib $compile_deplibs"
++	    finalize_deplibs="$deplib $finalize_deplibs"
++	  else
++	    newdlfiles="$newdlfiles $deplib"
+ 	  fi
+ 	  continue
+ 	  ;;
+@@ -1490,7 +1477,7 @@
+ 	  alldeplibs=yes
+ 	  continue
+ 	  ;;
+-	esac
++	esac # case $deplib
+ 	if test $found = yes || test -f "$lib"; then :
+ 	else
+ 	  $echo "$modename: cannot find the library \`$lib'" 1>&2
+@@ -1518,20 +1505,21 @@
+ 	installed=yes
+ 
+ 	# Read the .la file
+-	case "$lib" in
++	case $lib in
+ 	*/* | *\\*) . $lib ;;
+ 	*) . ./$lib ;;
+ 	esac
+ 
+ 	if test "$linkmode,$pass" = "lib,link" ||
+ 	   test "$linkmode,$pass" = "prog,scan" ||
+-	   { test $linkmode != prog && test $linkmode != lib; }; then
++	   { test $linkmode = oldlib && test $linkmode = obj; }; then
++	   # Add dl[pre]opened files of deplib
+ 	  test -n "$dlopen" && dlfiles="$dlfiles $dlopen"
+ 	  test -n "$dlpreopen" && dlprefiles="$dlprefiles $dlpreopen"
+ 	fi
+ 
+ 	if test $pass = conv; then
+-	  # only check for convenience libraries
++	  # Only check for convenience libraries
+ 	  deplibs="$lib $deplibs"
+ 	  if test -z "$libdir"; then
+ 	    if test -z "$old_library"; then
+@@ -1554,7 +1542,7 @@
+ 	    exit 1
+ 	  fi
+ 	  continue
+-	fi
++	fi # $pass = conv
+ 
+ 	# Get the name of the library we link against.
+ 	linklib=
+@@ -1573,17 +1561,17 @@
+ 	    exit 1
+ 	  fi
+ 	  if test -z "$dlname" || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
+-	    # If there is no dlname, no dlopen support or we're linking statically,
+-	    # we need to preload.
++	    # If there is no dlname, no dlopen support or we're linking
++	    # statically, we need to preload.
+ 	    dlprefiles="$dlprefiles $lib"
+ 	  else
+ 	    newdlfiles="$newdlfiles $lib"
+ 	  fi
+ 	  continue
+-	fi
++	fi # $pass = dlopen
+ 
+ 	# We need an absolute path.
+-	case "$ladir" in
++	case $ladir in
+ 	[\\/]* | [A-Za-z]:[\\/]*) abs_ladir="$ladir" ;;
+ 	*)
+ 	  abs_ladir=`cd "$ladir" && pwd`
+@@ -1611,8 +1599,8 @@
+ 	  dir="$ladir/$objdir"
+ 	  absdir="$abs_ladir/$objdir"
+ 	  # Remove this search path later
+-	  uninst_path="$uninst_path $abs_ladir"
+-	fi
++	  notinst_path="$notinst_path $abs_ladir"
++	fi # $installed = yes
+ 	name=`$echo "X$laname" | $Xsed -e 's/\.la$//' -e 's/^lib//'`
+ 
+ 	# This library was specified with -dlpreopen.
+@@ -1625,20 +1613,23 @@
+ 	  # are required to link).
+ 	  if test -n "$old_library"; then
+ 	    newdlprefiles="$newdlprefiles $dir/$old_library"
++	  # Otherwise, use the dlname, so that lt_dlopen finds it.
++	  elif test -n "$dlname"; then
++	    newdlprefiles="$newdlprefiles $dir/$dlname"
+ 	  else
+ 	    newdlprefiles="$newdlprefiles $dir/$linklib"
+ 	  fi
+-	fi
++	fi # $pass = dlpreopen
+ 
+ 	if test -z "$libdir"; then
+-	  # link the convenience library
++	  # Link the convenience library
+ 	  if test $linkmode = lib; then
+ 	    deplibs="$dir/$old_library $deplibs"
+ 	  elif test "$linkmode,$pass" = "prog,link"; then
+ 	    compile_deplibs="$dir/$old_library $compile_deplibs"
+ 	    finalize_deplibs="$dir/$old_library $finalize_deplibs"
+ 	  else
+-	    deplibs="$lib $deplibs" # used for prog,scan pass
++	    deplibs="$lib $deplibs"
+ 	  fi
+ 	  continue
+ 	fi
+@@ -1655,7 +1646,7 @@
+ 
+ 	  tmp_libs=
+ 	  for deplib in $dependency_libs; do
+-	    case "$deplib" in
++	    case $deplib in
+ 	    -L*) newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`;; ### testsuite: skip nested quoting test
+ 	    esac
+ 	    # Need to link against all dependency_libs?
+@@ -1670,24 +1661,17 @@
+ 	    *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
+ 	    esac
+ 	    tmp_libs="$tmp_libs $deplib"
+-	  done
++	  done # for deplib
+ 	  continue
+-	fi
++	fi # $linkmode = prog...
+ 
+-	if test "$linkmode,$pass" = "prog,link"; then
+-	  if test -n "$library_names" &&
+-	     { test "$hardcode_into_libs" != all || test "$alldeplibs" != yes; } &&
+-	     { test "$prefer_static_libs" = no || test -z "$old_library"; }; then
+-	    # We need to hardcode the library path
+-	    if test -n "$shlibpath_var"; then
+-	      # Make sure the rpath contains only unique directories.
+-	      case "$temp_rpath " in
+-	      *" $dir "*) ;;
+-	      *" $absdir "*) ;;
+-	      *) temp_rpath="$temp_rpath $dir" ;;
+-	      esac
+-	    fi
++	link_static=no # Whether the deplib will be linked statically
++	if test -n "$library_names" &&
++	   { test "$prefer_static_libs" = no || test -z "$old_library"; }; then
++	  # Link against this shared library
+ 
++	  if test "$linkmode,$pass" = "prog,link" ||
++	   { test $linkmode = lib && test $hardcode_into_libs = yes; }; then
+ 	    # Hardcode the library path.
+ 	    # Skip directories that are in the system default run-time
+ 	    # search path.
+@@ -1700,7 +1684,6 @@
+ 	      esac
+ 	      ;;
+ 	    esac
+-
+ 	    case " $sys_lib_dlsearch_path " in
+ 	    *" $libdir "*) ;;
+ 	    *)
+@@ -1710,7 +1693,18 @@
+ 	      esac
+ 	      ;;
+ 	    esac
+-	  fi
++	    if test $linkmode = prog; then
++	      # We need to hardcode the library path
++	      if test -n "$shlibpath_var"; then
++		# Make sure the rpath contains only unique directories.
++		case "$temp_rpath " in
++		*" $dir "*) ;;
++		*" $absdir "*) ;;
++		*) temp_rpath="$temp_rpath $dir" ;;
++		esac
++	      fi
++	    fi
++	  fi # $linkmode,$pass = prog,link...
+ 
+ 	  if test "$alldeplibs" = yes &&
+ 	     { test "$deplibs_check_method" = pass_all ||
+@@ -1719,39 +1713,11 @@
+ 	    # We only need to search for static libraries
+ 	    continue
+ 	  fi
+-	fi
+ 
+-	link_static=no # Whether the deplib will be linked statically
+-	if test -n "$library_names" &&
+-	   { test "$prefer_static_libs" = no || test -z "$old_library"; }; then
+ 	  if test "$installed" = no; then
+-	    uninst_deplibs="$uninst_deplibs $lib"
++	    notinst_deplibs="$notinst_deplibs $lib"
+ 	    need_relink=yes
+ 	  fi
+-	  # This is a shared library
+-	  if test $linkmode = lib && test "$hardcode_into_libs" = all; then
+-	    # Hardcode the library path.
+-	    # Skip directories that are in the system default run-time
+-	    # search path.
+-	    case " $sys_lib_dlsearch_path " in
+-	    *" $absdir "*) ;;
+-	    *)
+-	      case "$compile_rpath " in
+-	      *" $absdir "*) ;;
+-	      *) compile_rpath="$compile_rpath $absdir"
+-	      esac
+-	      ;;
+-	    esac
+-	    case " $sys_lib_dlsearch_path " in
+-	    *" $libdir "*) ;;
+-	    *)
+-	      case "$finalize_rpath " in
+-	      *" $libdir "*) ;;
+-	      *) finalize_rpath="$finalize_rpath $libdir"
+-	      esac
+-	      ;;
+-	    esac
+-	  fi
+ 
+ 	  if test -n "$old_archive_from_expsyms_cmds"; then
+ 	    # figure out the soname
+@@ -1759,13 +1725,25 @@
+ 	    realname="$2"
+ 	    shift; shift
+ 	    libname=`eval \\$echo \"$libname_spec\"`
+-	    if test -n "$soname_spec"; then
++	    # use dlname if we got it. it's perfectly good, no?
++	    if test -n "$dlname"; then
++	      soname="$dlname"
++	    elif test -n "$soname_spec"; then
++	      # bleh windows
++	      case $host in
++	      *cygwin*)
++		major=`expr $current - $age`
++		versuffix="-$major"
++		;;
++	      esac
+ 	      eval soname=\"$soname_spec\"
+ 	    else
+ 	      soname="$realname"
+ 	    fi
+ 
+ 	    # Make a new name for the extract_expsyms_cmds to use
++	    soroot="$soname"
++	    soname=`echo $soroot | sed -e 's/^.*\///'`
+ 	    newlib="libimp-`echo $soname | sed 's/^lib//;s/\.dll$//'`.a"
+ 
+ 	    # If the library has no export list, then create one now
+@@ -1797,19 +1775,19 @@
+ 	    # make sure the library variables are pointing to the new library
+ 	    dir=$output_objdir
+ 	    linklib=$newlib
+-	  fi
++	  fi # test -n $old_archive_from_expsyms_cmds
+ 
+ 	  if test $linkmode = prog || test "$mode" != relink; then
+ 	    add_shlibpath=
+ 	    add_dir=
+ 	    add=
+ 	    lib_linked=yes
+-	    case "$hardcode_action" in
++	    case $hardcode_action in
+ 	    immediate | unsupported)
+ 	      if test "$hardcode_direct" = no; then
+ 		add="$dir/$linklib"
+ 	      elif test "$hardcode_minus_L" = no; then
+-		case "$host" in
++		case $host in
+ 		*-*-sunos*) add_shlibpath="$dir" ;;
+ 		esac
+ 		add_dir="-L$dir"
+@@ -1843,7 +1821,7 @@
+ 	    fi
+ 
+ 	    if test -n "$add_shlibpath"; then
+-	      case ":$compile_shlibpath:" in
++	      case :$compile_shlibpath: in
+ 	      *":$add_shlibpath:"*) ;;
+ 	      *) compile_shlibpath="$compile_shlibpath$add_shlibpath:" ;;
+ 	      esac
+@@ -1857,7 +1835,7 @@
+ 	      if test "$hardcode_direct" != yes && \
+ 		 test "$hardcode_minus_L" != yes && \
+ 		 test "$hardcode_shlibpath_var" = yes; then
+-		case ":$finalize_shlibpath:" in
++		case :$finalize_shlibpath: in
+ 		*":$libdir:"*) ;;
+ 		*) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
+ 		esac
+@@ -1876,7 +1854,7 @@
+ 	      add_dir="-L$libdir"
+ 	      add="-l$name"
+ 	    elif test "$hardcode_shlibpath_var" = yes; then
+-	      case ":$finalize_shlibpath:" in
++	      case :$finalize_shlibpath: in
+ 	      *":$libdir:"*) ;;
+ 	      *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
+ 	      esac
+@@ -1892,10 +1870,19 @@
+ 	      test -n "$add" && finalize_deplibs="$add $finalize_deplibs"
+ 	    else
+ 	      test -n "$add_dir" && deplibs="$add_dir $deplibs"
+-	      test -n "$add" && deplibs="$add deplibs"
++	      test -n "$add" && deplibs="$add $deplibs"
+ 	    fi
+ 	  fi
+ 	elif test $linkmode = prog; then
++	  if test "$alldeplibs" = yes &&
++	     { test "$deplibs_check_method" = pass_all ||
++	       { test "$build_libtool_libs" = yes &&
++		 test -n "$library_names"; }; }; then
++	    # We only need to search for static libraries
++	    continue
++	  fi
++
++	  # Try to link the static library
+ 	  # Here we assume that one of hardcode_direct or hardcode_minus_L
+ 	  # is not unsupported.  This is valid on all known static and
+ 	  # shared platforms.
+@@ -1912,6 +1899,7 @@
+ 	  if test "$deplibs_check_method" != pass_all; then
+ 	    # We're trying link a shared library against a static one
+ 	    # but the system doesn't support it.
++
+ 	    # Just print a warning and add the library to dependency_libs so
+ 	    # that the program can be linked against the static library.
+ 	    echo
+@@ -1919,22 +1907,39 @@
+ 	    echo "*** I have the capability to make that library automatically link in when"
+ 	    echo "*** you link to this library.  But I can only do this if you have a"
+ 	    echo "*** shared version of the library, which you do not appear to have."
++	    if test "$module" = yes; then
++	      echo "*** Therefore, libtool will create a static module, that should work "
++	      echo "*** as long as the dlopening application is linked with the -dlopen flag."
++	      if test -z "$global_symbol_pipe"; then
++	        echo
++	        echo "*** However, this would only work if libtool was able to extract symbol"
++	        echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
++	        echo "*** not find such a program.  So, this module is probably useless."
++	        echo "*** \`nm' from GNU binutils and a full rebuild may help."
++	      fi
++	      if test "$build_old_libs" = no; then
++	        build_libtool_libs=module
++	        build_old_libs=yes
++	      else
++	        build_libtool_libs=no
++	      fi
++	    fi
+ 	  else
+ 	    convenience="$convenience $dir/$old_library"
+ 	    old_convenience="$old_convenience $dir/$old_library"
+ 	    deplibs="$dir/$old_library $deplibs"
+ 	    link_static=yes
+ 	  fi
+-	fi
++	fi # link shared/static library?
+ 
+ 	if test $linkmode = lib; then
+ 	  if test -n "$dependency_libs" &&
+-	     { test "$hardcode_into_libs" = no || test $build_old_libs = yes ||
++	     { test $hardcode_into_libs != yes || test $build_old_libs = yes ||
+ 	       test $link_static = yes; }; then
+ 	    # Extract -R from dependency_libs
+ 	    temp_deplibs=
+ 	    for libdir in $dependency_libs; do
+-	      case "$libdir" in
++	      case $libdir in
+ 	      -R*) temp_xrpath=`$echo "X$libdir" | $Xsed -e 's/^-R//'`
+ 		   case " $xrpath " in
+ 		   *" $temp_xrpath "*) ;;
+@@ -1962,13 +1967,13 @@
+ 	  if test $link_all_deplibs != no; then
+ 	    # Add the search paths of all dependency libraries
+ 	    for deplib in $dependency_libs; do
+-	      case "$deplib" in
++	      case $deplib in
+ 	      -L*) path="$deplib" ;;
+ 	      *.la)
+ 		dir=`$echo "X$deplib" | $Xsed -e 's%/[^/]*$%%'`
+ 		test "X$dir" = "X$deplib" && dir="."
+ 		# We need an absolute path.
+-		case "$dir" in
++		case $dir in
+ 		[\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;;
+ 		*)
+ 		  absdir=`cd "$dir" && pwd`
+@@ -1999,10 +2004,9 @@
+ 	      *) deplibs="$deplibs $path" ;;
+ 	      esac
+ 	    done
+-	  fi
+-	fi
+-      done
+-      dependency_libs="$newdependency_libs"
++	  fi # link_all_deplibs != no
++	fi # linkmode = lib
++      done # for deplib in $libs
+       if test $pass = dlpreopen; then
+ 	# Link the dlpreopened libraries before other libraries
+ 	for deplib in $save_deplibs; do
+@@ -2010,6 +2014,7 @@
+ 	done
+       fi
+       if test $pass != dlopen; then
++	test $pass != scan && dependency_libs="$newdependency_libs"
+ 	if test $pass != conv; then
+ 	  # Make sure lib_search_path contains only unique directories.
+ 	  lib_search_path=
+@@ -2028,12 +2033,11 @@
+ 	  vars="compile_deplibs finalize_deplibs"
+ 	fi
+ 	for var in $vars dependency_libs; do
+-	  # Make sure that $var contains only unique libraries
+-	  # and add them in reverse order
++	  # Add libraries to $var in reverse order
+ 	  eval tmp_libs=\"\$$var\"
+ 	  new_libs=
+ 	  for deplib in $tmp_libs; do
+-	    case "$deplib" in
++	    case $deplib in
+ 	    -L*) new_libs="$deplib $new_libs" ;;
+ 	    *)
+ 	      case " $specialdeplibs " in
+@@ -2050,7 +2054,7 @@
+ 	  done
+ 	  tmp_libs=
+ 	  for deplib in $new_libs; do
+-	    case "$deplib" in
++	    case $deplib in
+ 	    -L*)
+ 	      case " $tmp_libs " in
+ 	      *" $deplib "*) ;;
+@@ -2061,9 +2065,14 @@
+ 	    esac
+ 	  done
+ 	  eval $var=\"$tmp_libs\"
+-	done
++	done # for var
+       fi
+-    done
++      if test "$pass" = "conv" &&
++       { test "$linkmode" = "lib" || test "$linkmode" = "prog"; }; then
++	libs="$deplibs" # reset libs
++	deplibs=
++      fi
++    done # for pass
+     if test $linkmode = prog; then
+       dlfiles="$newdlfiles"
+       dlprefiles="$newdlprefiles"
+@@ -2071,10 +2080,6 @@
+ 
+     case $linkmode in
+     oldlib)
+-      if test -n "$deplibs"; then
+-	$echo "$modename: warning: \`-l' and \`-L' are ignored for archives" 1>&2
+-      fi
+-
+       if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
+ 	$echo "$modename: warning: \`-dlopen' is ignored for archives" 1>&2
+       fi
+@@ -2107,7 +2112,7 @@
+ 
+     lib)
+       # Make sure we only generate libraries of the form `libNAME.la'.
+-      case "$outputname" in
++      case $outputname in
+       lib*)
+ 	name=`$echo "X$outputname" | $Xsed -e 's/\.la$//' -e 's/^lib//'`
+ 	eval libname=\"$libname_spec\"
+@@ -2185,8 +2190,8 @@
+ 	age="$4"
+ 
+ 	# Check that each of the things are valid numbers.
+-	case "$current" in
+-	0 | [1-9] | [1-9][0-9]*) ;;
++	case $current in
++	0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;;
+ 	*)
+ 	  $echo "$modename: CURRENT \`$current' is not a nonnegative integer" 1>&2
+ 	  $echo "$modename: \`$vinfo' is not valid version information" 1>&2
+@@ -2194,8 +2199,8 @@
+ 	  ;;
+ 	esac
+ 
+-	case "$revision" in
+-	0 | [1-9] | [1-9][0-9]*) ;;
++	case $revision in
++	0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;;
+ 	*)
+ 	  $echo "$modename: REVISION \`$revision' is not a nonnegative integer" 1>&2
+ 	  $echo "$modename: \`$vinfo' is not valid version information" 1>&2
+@@ -2203,8 +2208,8 @@
+ 	  ;;
+ 	esac
+ 
+-	case "$age" in
+-	0 | [1-9] | [1-9][0-9]*) ;;
++	case $age in
++	0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;;
+ 	*)
+ 	  $echo "$modename: AGE \`$age' is not a nonnegative integer" 1>&2
+ 	  $echo "$modename: \`$vinfo' is not valid version information" 1>&2
+@@ -2222,12 +2227,31 @@
+ 	major=
+ 	versuffix=
+ 	verstring=
+-	case "$version_type" in
++	case $version_type in
+ 	none) ;;
+ 
++	darwin)
++	  # Like Linux, but with the current version available in
++	  # verstring for coding it into the library header
++	  major=.`expr $current - $age`
++	  versuffix="$major.$age.$revision"
++	  # Darwin ld doesn't like 0 for these options...
++	  minor_current=`expr $current + 1`
++	  verstring="-compatibility_version $minor_current -current_version $minor_current.$revision"
++	  ;;
++
++	freebsd-aout)
++	  major=".$current"
++	  versuffix=".$current.$revision";
++	  ;;
++
++	freebsd-elf)
++	  major=".$current"
++	  versuffix=".$current";
++	  ;;
++
+ 	irix)
+ 	  major=`expr $current - $age + 1`
+-	  versuffix="$major.$revision"
+ 	  verstring="sgi$major.$revision"
+ 
+ 	  # Add in all the interfaces that we are compatible with.
+@@ -2237,6 +2261,10 @@
+ 	    loop=`expr $loop - 1`
+ 	    verstring="sgi$major.$iface:$verstring"
+ 	  done
++
++	  # Before this point, $major must not contain `.'.
++	  major=.$major
++	  versuffix="$major.$revision"
+ 	  ;;
+ 
+ 	linux)
+@@ -2266,21 +2294,11 @@
+ 	  versuffix=".$current.$revision"
+ 	  ;;
+ 
+-	freebsd-aout)
+-	  major=".$current"
+-	  versuffix=".$current.$revision";
+-	  ;;
+-
+-	freebsd-elf)
+-	  major=".$current"
+-	  versuffix=".$current";
+-	  ;;
+-
+ 	windows)
+-	  # Like Linux, but with '-' rather than '.', since we only
+-	  # want one extension on Windows 95.
++	  # Use '-' rather than '.', since we only want one
++	  # extension on DOS 8.3 filesystems.
+ 	  major=`expr $current - $age`
+-	  versuffix="-$major-$age-$revision"
++	  versuffix="-$major"
+ 	  ;;
+ 
+ 	*)
+@@ -2336,7 +2354,7 @@
+       fi
+ 
+       # Eliminate all temporary directories.
+-      for path in $uninst_path; do
++      for path in $notinst_path; do
+ 	lib_search_path=`echo "$lib_search_path " | sed -e 's% $path % %g'`
+ 	deplibs=`echo "$deplibs " | sed -e 's% -L$path % %g'`
+ 	dependency_libs=`echo "$dependency_libs " | sed -e 's% -L$path % %g'`
+@@ -2352,7 +2370,7 @@
+ 	  *) finalize_rpath="$finalize_rpath $libdir" ;;
+ 	  esac
+ 	done
+-	if test "$hardcode_into_libs" = no || test $build_old_libs = yes; then
++	if test $hardcode_into_libs != yes || test $build_old_libs = yes; then
+ 	  dependency_libs="$temp_xrpath $dependency_libs"
+ 	fi
+       fi
+@@ -2379,13 +2397,22 @@
+ 
+       if test "$build_libtool_libs" = yes; then
+ 	if test -n "$rpath"; then
+-	  case "$host" in
+-	  *-*-cygwin* | *-*-mingw* | *-*-os2* | *-*-beos*)
++	  case $host in
++	  *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos*)
+ 	    # these systems don't actually have a c library (as such)!
+ 	    ;;
++	  *-*-rhapsody* | *-*-darwin1.[012])
++	    # Rhapsody C library is in the System framework
++	    deplibs="$deplibs -framework System"
++	    ;;
++	  *-*-netbsd*)
++	    # Don't link with libc until the a.out ld.so is fixed.
++	    ;;
+ 	  *)
+-	    # Add libc to deplibs on all other systems.
+-	    deplibs="$deplibs -lc"
++	    # Add libc to deplibs on all other systems if necessary.
++	    if test $build_libtool_need_lc = "yes"; then
++	      deplibs="$deplibs -lc"
++	    fi
+ 	    ;;
+ 	  esac
+ 	fi
+@@ -2404,7 +2431,7 @@
+ 	major=""
+ 	newdeplibs=
+ 	droppeddeps=no
+-	case "$deplibs_check_method" in
++	case $deplibs_check_method in
+ 	pass_all)
+ 	  # Don't check for shared/static.  Everything works.
+ 	  # This might be a little naive.  We might want to check
+@@ -2429,7 +2456,7 @@
+ 	    for i in $deplibs; do
+ 	      name="`expr $i : '-l\(.*\)'`"
+ 	      # If $name is empty we are operating on a -L argument.
+-	      if test "$name" != "" ; then
++	      if test -n "$name" && test "$name" != "0"; then
+ 		libname=`eval \\$echo \"$libname_spec\"`
+ 		deplib_matches=`eval \\$echo \"$library_names_spec\"`
+ 		set dummy $deplib_matches
+@@ -2454,7 +2481,7 @@
+ 	    for i in $deplibs; do
+ 	      name="`expr $i : '-l\(.*\)'`"
+ 	     # If $name is empty we are operating on a -L argument.
+-	      if test "$name" != "" ; then
++	      if test -n "$name" && test "$name" != "0"; then
+ 		$rm conftest
+ 		$CC -o conftest conftest.c $i
+ 		# Did it work?
+@@ -2494,7 +2521,7 @@
+ 	  for a_deplib in $deplibs; do
+ 	    name="`expr $a_deplib : '-l\(.*\)'`"
+ 	    # If $name is empty we are operating on a -L argument.
+-	    if test "$name" != "" ; then
++	    if test -n "$name" && test "$name" != "0"; then
+ 	      libname=`eval \\$echo \"$libname_spec\"`
+ 	      for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
+ 		    potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
+@@ -2512,7 +2539,7 @@
+ 		      potlib="$potent_lib"
+ 		      while test -h "$potlib" 2>/dev/null; do
+ 			potliblink=`ls -ld $potlib | sed 's/.* -> //'`
+-			case "$potliblink" in
++			case $potliblink in
+ 			[\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";;
+ 			*) potlib=`$echo "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";;
+ 			esac
+@@ -2540,6 +2567,40 @@
+ 	    fi
+ 	  done # Gone through all deplibs.
+ 	  ;;
++	match_pattern*)
++	  set dummy $deplibs_check_method
++	  match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
++	  for a_deplib in $deplibs; do
++	    name="`expr $a_deplib : '-l\(.*\)'`"
++	    # If $name is empty we are operating on a -L argument.
++	    if test -n "$name" && test "$name" != "0"; then
++	      libname=`eval \\$echo \"$libname_spec\"`
++	      for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
++		potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
++		for potent_lib in $potential_libs; do
++		  if eval echo \"$potent_lib\" 2>/dev/null \
++		      | sed 10q \
++		      | egrep "$match_pattern_regex" > /dev/null; then
++		    newdeplibs="$newdeplibs $a_deplib"
++		    a_deplib=""
++		    break 2
++		  fi
++		done
++	      done
++	      if test -n "$a_deplib" ; then
++		droppeddeps=yes
++		echo
++		echo "*** Warning: This library needs some functionality provided by $a_deplib."
++		echo "*** I have the capability to make that library automatically link in when"
++		echo "*** you link to this library.  But I can only do this if you have a"
++		echo "*** shared version of the library, which you do not appear to have."
++	      fi
++	    else
++	      # Add a -L argument.
++	      newdeplibs="$newdeplibs $a_deplib"
++	    fi
++	  done # Gone through all deplibs.
++	  ;;
+ 	none | unknown | *)
+ 	  newdeplibs=""
+ 	  if $echo "X $deplibs" | $Xsed -e 's/ -lc$//' \
+@@ -2562,6 +2623,13 @@
+ 	libname=$libname_save
+ 	name=$name_save
+ 
++	case $host in
++	*-*-rhapsody* | *-*-darwin1.[012])
++	  # On Rhapsody replace the C library is the System framework
++	  newdeplibs=`$echo "X $newdeplibs" | $Xsed -e 's/ -lc / -framework System /'`
++	  ;;
++	esac
++
+ 	if test "$droppeddeps" = yes; then
+ 	  if test "$module" = yes; then
+ 	    echo
+@@ -2587,6 +2655,21 @@
+ 	    echo "*** The inter-library dependencies that have been dropped here will be"
+ 	    echo "*** automatically added whenever a program is linked with this library"
+ 	    echo "*** or is declared to -dlopen it."
++
++	    if test $allow_undefined = no; then
++	      echo
++	      echo "*** Since this library must not contain undefined symbols,"
++	      echo "*** because either the platform does not support them or"
++	      echo "*** it was explicitly requested with -no-undefined,"
++	      echo "*** libtool will only create a static version of it."
++	      if test "$build_old_libs" = no; then
++		oldlibs="$output_objdir/$libname.$libext"
++		build_libtool_libs=module
++		build_old_libs=yes
++	      else
++		build_libtool_libs=no
++	      fi
++	    fi
+ 	  fi
+ 	fi
+ 	# Done checking deplibs!
+@@ -2600,7 +2683,7 @@
+ 
+       # Test again, we may have decided not to build it any more
+       if test "$build_libtool_libs" = yes; then
+-	if test "$hardcode_into_libs" != no; then
++	if test $hardcode_into_libs = yes; then
+ 	  # Hardcode the library paths
+ 	  hardcode_libdirs=
+ 	  dep_rpath=
+@@ -2613,7 +2696,7 @@
+ 		  hardcode_libdirs="$libdir"
+ 		else
+ 		  # Just accumulate the unique libdirs.
+-		  case "$hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator" in
++		  case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
+ 		  *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
+ 		    ;;
+ 		  *)
+@@ -2666,6 +2749,7 @@
+ 	else
+ 	  soname="$realname"
+ 	fi
++	test -z "$dlname" && dlname=$soname
+ 
+ 	lib="$output_objdir/$realname"
+ 	for link
+@@ -2737,7 +2821,7 @@
+ 
+ 	    for xlib in $convenience; do
+ 	      # Extract the objects.
+-	      case "$xlib" in
++	      case $xlib in
+ 	      [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;;
+ 	      *) xabs=`pwd`"/$xlib" ;;
+ 	      esac
+@@ -2766,7 +2850,7 @@
+ 	fi
+ 
+ 	# Make a backup of the uninstalled library when relinking
+-	if test "$mode" = relink && test "$hardcode_into_libs" = all; then
++	if test "$mode" = relink; then
+ 	  $run eval '(cd $output_objdir && $rm ${realname}U && $mv $realname ${realname}U)' || exit $?
+ 	fi
+ 
+@@ -2785,7 +2869,7 @@
+ 	IFS="$save_ifs"
+ 
+ 	# Restore the uninstalled library and exit
+-	if test "$mode" = relink && test "$hardcode_into_libs" = all; then
++	if test "$mode" = relink; then
+ 	  $run eval '(cd $output_objdir && $rm ${realname}T && $mv $realname ${realname}T && $mv "$realname"U $realname)' || exit $?
+ 	  exit 0
+ 	fi
+@@ -2831,7 +2915,7 @@
+ 	$echo "$modename: warning: \`-release' is ignored for objects" 1>&2
+       fi
+ 
+-      case "$output" in
++      case $output in
+       *.lo)
+ 	if test -n "$objs$old_deplibs"; then
+ 	  $echo "$modename: cannot build library object \`$output' from non-libtool objects" 1>&2
+@@ -2876,7 +2960,7 @@
+ 
+ 	  for xlib in $convenience; do
+ 	    # Extract the objects.
+-	    case "$xlib" in
++	    case $xlib in
+ 	    [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;;
+ 	    *) xabs=`pwd`"/$xlib" ;;
+ 	    esac
+@@ -2972,6 +3056,9 @@
+       ;;
+ 
+     prog)
++      case $host in
++	*cygwin*) output=`echo $output | sed -e 's,.exe$,,;s,$,.exe,'` ;;
++      esac
+       if test -n "$vinfo"; then
+ 	$echo "$modename: warning: \`-version-info' is ignored for programs" 1>&2
+       fi
+@@ -2987,6 +3074,14 @@
+ 	fi
+       fi
+ 
++      case $host in
++      *-*-rhapsody* | *-*-darwin1.[012])
++	# On Rhapsody replace the C library is the System framework
++	compile_deplibs=`$echo "X $compile_deplibs" | $Xsed -e 's/ -lc / -framework System /'`
++	finalize_deplibs=`$echo "X $finalize_deplibs" | $Xsed -e 's/ -lc / -framework System /'`
++	;;
++      esac
++
+       compile_command="$compile_command $compile_deplibs"
+       finalize_command="$finalize_command $finalize_deplibs"
+ 
+@@ -3011,7 +3106,7 @@
+ 	      hardcode_libdirs="$libdir"
+ 	    else
+ 	      # Just accumulate the unique libdirs.
+-	      case "$hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator" in
++	      case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
+ 	      *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
+ 		;;
+ 	      *)
+@@ -3029,9 +3124,9 @@
+ 	  *) perm_rpath="$perm_rpath $libdir" ;;
+ 	  esac
+ 	fi
+-	case "$host" in
+-	*-*-cygwin* | *-*-mingw* | *-*-os2*)
+-	  case ":$dllsearchpath:" in
++	case $host in
++	*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
++	  case :$dllsearchpath: in
+ 	  *":$libdir:"*) ;;
+ 	  *) dllsearchpath="$dllsearchpath:$libdir";;
+ 	  esac
+@@ -3055,7 +3150,7 @@
+ 	      hardcode_libdirs="$libdir"
+ 	    else
+ 	      # Just accumulate the unique libdirs.
+-	      case "$hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator" in
++	      case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
+ 	      *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
+ 		;;
+ 	      *)
+@@ -3098,7 +3193,7 @@
+       fi
+ 
+       if test -n "$dlsyms"; then
+-	case "$dlsyms" in
++	case $dlsyms in
+ 	"") ;;
+ 	*.c)
+ 	  # Discover the nlist of each of the dlfiles.
+@@ -3229,7 +3324,7 @@
+ 	  fi
+ 
+ 	  pic_flag_for_symtable=
+-	  case "$host" in
++	  case $host in
+ 	  # compiling the symbol table file with pic_flag works around
+ 	  # a FreeBSD bug that causes programs to crash when -lm is
+ 	  # linked before any other PIC object.  But we must not use
+@@ -3297,7 +3392,7 @@
+ 	# We should set the shlibpath_var
+ 	rpath=
+ 	for dir in $temp_rpath; do
+-	  case "$dir" in
++	  case $dir in
+ 	  [\\/]* | [A-Za-z]:[\\/]*)
+ 	    # Absolute path.
+ 	    rpath="$rpath$dir:"
+@@ -3352,7 +3447,7 @@
+ 	exit 0
+       fi
+ 
+-      if test "$hardcode_action" = relink || test "$hardcode_into_libs" = all; then
++      if test "$hardcode_action" = relink; then
+ 	# Fast installation is not supported
+ 	link_command="$compile_var$compile_command$compile_rpath"
+ 	relink_command="$finalize_var$finalize_command$finalize_rpath"
+@@ -3390,9 +3485,14 @@
+       if test -n "$relink_command"; then
+ 	# Preserve any variables that may affect compiler behavior
+ 	for var in $variables_saved_for_relink; do
+-	  eval var_value=\$$var
+-	  var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"`
+-	  relink_command="$var=\"$var_value\"; export $var; $relink_command"
++	  if eval test -z \"\${$var+set}\"; then
++	    relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command"
++	  elif eval var_value=\$$var; test -z "$var_value"; then
++	    relink_command="$var=; export $var; $relink_command"
++	  else
++	    var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"`
++	    relink_command="$var=\"$var_value\"; export $var; $relink_command"
++	  fi
+ 	done
+ 	relink_command="cd `pwd`; $relink_command"
+ 	relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"`
+@@ -3400,7 +3500,7 @@
+ 
+       # Quote $echo for shipping.
+       if test "X$echo" = "X$SHELL $0 --fallback-echo"; then
+-	case "$0" in
++	case $0 in
+ 	[\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $0 --fallback-echo";;
+ 	*) qecho="$SHELL `pwd`/$0 --fallback-echo";;
+ 	esac
+@@ -3416,6 +3516,11 @@
+ 	case $output in
+ 	  *.exe) output=`echo $output|sed 's,.exe$,,'` ;;
+ 	esac
++	# test for cygwin because mv fails w/o .exe extensions
++	case $host in
++	  *cygwin*) exeext=.exe ;;
++	  *) exeext= ;;
++	esac
+ 	$rm $output
+ 	trap "$rm $output; exit 1" 1 2 15
+ 
+@@ -3445,7 +3550,7 @@
+ # This environment variable determines our operation mode.
+ if test \"\$libtool_install_magic\" = \"$magic\"; then
+   # install mode needs the following variable:
+-  uninst_deplibs='$uninst_deplibs'
++  notinst_deplibs='$notinst_deplibs'
+ else
+   # When we are sourced in execute mode, \$file and \$echo are already set.
+   if test \"\$libtool_execute_magic\" != \"$magic\"; then
+@@ -3494,7 +3599,7 @@
+ 
+ 	if test "$fast_install" = yes; then
+ 	  echo >> $output "\
+-  program=lt-'$outputname'
++  program=lt-'$outputname'$exeext
+   progdir=\"\$thisdir/$objdir\"
+ 
+   if test ! -f \"\$progdir/\$program\" || \\
+@@ -3565,7 +3670,7 @@
+ 	case $host in
+ 	# win32 systems need to use the prog path for dll
+ 	# lookup to work
+-	*-*-cygwin*)
++	*-*-cygwin* | *-*-pw32*)
+ 	  $echo >> $output "\
+       exec \$progdir/\$program \${1+\"\$@\"}
+ "
+@@ -3639,7 +3744,7 @@
+ 	# Add in members from convenience archives.
+ 	for xlib in $addlibs; do
+ 	  # Extract the objects.
+-	  case "$xlib" in
++	  case $xlib in
+ 	  [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;;
+ 	  *) xabs=`pwd`"/$xlib" ;;
+ 	  esac
+@@ -3700,7 +3805,7 @@
+     fi
+ 
+     # Now create the libtool archive.
+-    case "$output" in
++    case $output in
+     *.la)
+       old_library=
+       test "$build_old_libs" = yes && old_library="$libname.$libext"
+@@ -3708,9 +3813,14 @@
+ 
+       # Preserve any variables that may affect compiler behavior
+       for var in $variables_saved_for_relink; do
+-	eval var_value=\$$var
+-	var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"`
+-	relink_command="$var=\"$var_value\"; export $var; $relink_command"
++	if eval test -z \"\${$var+set}\"; then
++	  relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command"
++	elif eval var_value=\$$var; test -z "$var_value"; then
++	  relink_command="$var=; export $var; $relink_command"
++	else
++	  var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"`
++	  relink_command="$var=\"$var_value\"; export $var; $relink_command"
++	fi
+       done
+       # Quote the link command for shipping.
+       relink_command="cd `pwd`; $SHELL $0 --mode=relink $libtool_args"
+@@ -3727,7 +3837,7 @@
+ 	    # Replace all uninstalled libtool libraries with the installed ones
+ 	    newdependency_libs=
+ 	    for deplib in $dependency_libs; do
+-	      case "$deplib" in
++	      case $deplib in
+ 	      *.la)
+ 		name=`$echo "X$deplib" | $Xsed -e 's%^.*/%%'`
+ 		eval libdir=`sed -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
+@@ -3765,6 +3875,11 @@
+ 	    dlprefiles="$newdlprefiles"
+ 	  fi
+ 	  $rm $output
++	  # place dlname in correct position for cygwin
++	  tdlname=$dlname
++	  case $host,$output,$installed,$module,$dlname in
++	    *cygwin*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;;
++	  esac
+ 	  $echo > $output "\
+ # $outputname - a libtool library file
+ # Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
+@@ -3773,7 +3888,7 @@
+ # It is necessary for linking the library.
+ 
+ # The name that we can dlopen(3).
+-dlname='$dlname'
++dlname='$tdlname'
+ 
+ # Names of this library.
+ library_names='$library_names'
+@@ -3798,8 +3913,7 @@
+ 
+ # Directory that this library needs to be installed in:
+ libdir='$install_libdir'"
+-	  if test $hardcode_into_libs = all &&
+-	     test "$installed" = no && test $need_relink = yes; then
++	  if test "$installed" = no && test $need_relink = yes; then
+ 	    $echo >> $output "\
+ relink_command=\"$relink_command\""
+ 	  fi
+@@ -3821,10 +3935,12 @@
+ 
+     # There may be an optional sh(1) argument at the beginning of
+     # install_prog (especially on Windows NT).
+-    if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh; then
++    if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh ||
++       # Allow the use of GNU shtool's install command.
++       $echo "X$nonopt" | $Xsed | grep shtool > /dev/null; then
+       # Aesthetically quote it.
+       arg=`$echo "X$nonopt" | $Xsed -e "$sed_quote_subst"`
+-      case "$arg" in
++      case $arg in
+       *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \	]*|*]*)
+ 	arg="\"$arg\""
+ 	;;
+@@ -3840,7 +3956,7 @@
+     # The real first argument should be the name of the installation program.
+     # Aesthetically quote it.
+     arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
+-    case "$arg" in
++    case $arg in
+     *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \	]*|*]*)
+       arg="\"$arg\""
+       ;;
+@@ -3863,7 +3979,7 @@
+ 	continue
+       fi
+ 
+-      case "$arg" in
++      case $arg in
+       -d) isdir=yes ;;
+       -f) prev="-f" ;;
+       -g) prev="-g" ;;
+@@ -3888,7 +4004,7 @@
+ 
+       # Aesthetically quote the argument.
+       arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
+-      case "$arg" in
++      case $arg in
+       *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \	]*|*]*)
+ 	arg="\"$arg\""
+ 	;;
+@@ -3939,11 +4055,11 @@
+ 	exit 1
+       fi
+     fi
+-    case "$destdir" in
++    case $destdir in
+     [\\/]* | [A-Za-z]:[\\/]*) ;;
+     *)
+       for file in $files; do
+-	case "$file" in
++	case $file in
+ 	*.lo) ;;
+ 	*)
+ 	  $echo "$modename: \`$destdir' must be an absolute directory name" 1>&2
+@@ -3965,7 +4081,7 @@
+     for file in $files; do
+ 
+       # Do each installation.
+-      case "$file" in
++      case $file in
+       *.$libext)
+ 	# Do the static libraries later.
+ 	staticlibs="$staticlibs $file"
+@@ -3984,7 +4100,7 @@
+ 	old_library=
+ 	relink_command=
+ 	# If there is no directory component, then add one.
+-	case "$file" in
++	case $file in
+ 	*/* | *\\*) . $file ;;
+ 	*) . ./$file ;;
+ 	esac
+@@ -4007,7 +4123,7 @@
+ 	test "X$dir" = "X$file/" && dir=
+ 	dir="$dir$objdir"
+ 
+-	if test "$hardcode_into_libs" = all && test -n "$relink_command"; then
++	if test -n "$relink_command"; then
+ 	  $echo "$modename: warning: relinking \`$file'" 1>&2
+ 	  $show "$relink_command"
+ 	  if $run eval "$relink_command"; then :
+@@ -4025,7 +4141,7 @@
+ 	  shift
+ 
+ 	  srcname="$realname"
+-	  test "$hardcode_into_libs" = all && test -n "$relink_command" && srcname="$realname"T
++	  test -n "$relink_command" && srcname="$realname"T
+ 
+ 	  # Install the shared library and build the symlinks.
+ 	  $show "$install_prog $dir/$srcname $destdir/$realname"
+@@ -4080,7 +4196,7 @@
+ 	fi
+ 
+ 	# Deduce the name of the destination old-style object file.
+-	case "$destfile" in
++	case $destfile in
+ 	*.lo)
+ 	  staticdest=`$echo "X$destfile" | $Xsed -e "$lo2o"`
+ 	  ;;
+@@ -4123,28 +4239,28 @@
+ 
+ 	# Do a test to see if this is really a libtool program.
+ 	if (sed -e '4q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
+-	  uninst_deplibs=
++	  notinst_deplibs=
+ 	  relink_command=
+ 
+ 	  # If there is no directory component, then add one.
+-	  case "$file" in
++	  case $file in
+ 	  */* | *\\*) . $file ;;
+ 	  *) . ./$file ;;
+ 	  esac
+ 
+ 	  # Check the variables that should have been set.
+-	  if test -z "$uninst_deplibs"; then
++	  if test -z "$notinst_deplibs"; then
+ 	    $echo "$modename: invalid libtool wrapper script \`$file'" 1>&2
+ 	    exit 1
+ 	  fi
+ 
+ 	  finalize=yes
+-	  for lib in $uninst_deplibs; do
++	  for lib in $notinst_deplibs; do
+ 	    # Check to see that each library is installed.
+ 	    libdir=
+ 	    if test -f "$lib"; then
+ 	      # If there is no directory component, then add one.
+-	      case "$lib" in
++	      case $lib in
+ 	      */* | *\\*) . $lib ;;
+ 	      *) . ./$lib ;;
+ 	      esac
+@@ -4158,7 +4274,7 @@
+ 
+ 	  relink_command=
+ 	  # If there is no directory component, then add one.
+-	  case "$file" in
++	  case $file in
+ 	  */* | *\\*) . $file ;;
+ 	  *) . ./$file ;;
+ 	  esac
+@@ -4196,6 +4312,23 @@
+ 	  fi
+ 	fi
+ 
++	# remove .exe since cygwin /usr/bin/install will append another
++	# one anyways
++	case $install_prog,$host in
++	/usr/bin/install*,*cygwin*)
++	  case $file:$destfile in
++	  *.exe:*.exe)
++	    # this is ok
++	    ;;
++	  *.exe:*)
++	    destfile=$destfile.exe
++	    ;;
++	  *:*.exe)
++	    destfile=`echo $destfile | sed -e 's,.exe$,,'`
++	    ;;
++	  esac
++	  ;;
++	esac
+ 	$show "$install_prog$stripme $file $destfile"
+ 	$run eval "$install_prog\$stripme \$file \$destfile" || exit $?
+ 	test -n "$outputname" && ${rm}r "$tmpdir"
+@@ -4277,7 +4410,7 @@
+     fi
+ 
+     # Exit here if they wanted silent mode.
+-    test "$show" = : && exit 0
++    test "$show" = ":" && exit 0
+ 
+     echo "----------------------------------------------------------------------"
+     echo "Libraries have been installed in:"
+@@ -4287,7 +4420,7 @@
+     echo
+     echo "If you ever happen to want to link against installed libraries"
+     echo "in a given directory, LIBDIR, you must either use libtool, and"
+-    echo "specify the full pathname of the library, or use \`-LLIBDIR'"
++    echo "specify the full pathname of the library, or use the \`-LLIBDIR'"
+     echo "flag during linking and do at least one of the following:"
+     if test -n "$shlibpath_var"; then
+       echo "   - add LIBDIR to the \`$shlibpath_var' environment variable"
+@@ -4337,7 +4470,7 @@
+       fi
+ 
+       dir=
+-      case "$file" in
++      case $file in
+       *.la)
+ 	# Check to see that this really is a libtool archive.
+ 	if (sed -e '2q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
+@@ -4352,7 +4485,7 @@
+ 	library_names=
+ 
+ 	# If there is no directory component, then add one.
+-	case "$file" in
++	case $file in
+ 	*/* | *\\*) . $file ;;
+ 	*) . ./$file ;;
+ 	esac
+@@ -4407,13 +4540,13 @@
+     args=
+     for file
+     do
+-      case "$file" in
++      case $file in
+       -*) ;;
+       *)
+ 	# Do a test to see if this is really a libtool program.
+ 	if (sed -e '4q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
+ 	  # If there is no directory component, then add one.
+-	  case "$file" in
++	  case $file in
+ 	  */* | *\\*) . $file ;;
+ 	  *) . ./$file ;;
+ 	  esac
+@@ -4463,6 +4596,8 @@
+     modename="$modename: $mode"
+     rm="$nonopt"
+     files=
++    rmforce=
++    exit_status=0
+ 
+     # This variable tells wrapper scripts just to set variables rather
+     # than running their programs.
+@@ -4470,7 +4605,8 @@
+ 
+     for arg
+     do
+-      case "$arg" in
++      case $arg in
++      -f) rm="$rm $arg"; rmforce=yes ;;
+       -*) rm="$rm $arg" ;;
+       *) files="$files $arg" ;;
+       esac
+@@ -4482,6 +4618,8 @@
+       exit 1
+     fi
+ 
++    rmdirs=
++
+     for file in $files; do
+       dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`
+       if test "X$dir" = "X$file"; then
+@@ -4493,9 +4631,29 @@
+       name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
+       test $mode = uninstall && objdir="$dir"
+ 
++      # Remember objdir for removal later, being careful to avoid duplicates
++      if test $mode = clean; then
++	case " $rmdirs " in
++	  *" $objdir "*) ;;
++	  *) rmdirs="$rmdirs $objdir" ;;
++	esac
++      fi
++
++      # Don't error if the file doesn't exist and rm -f was used.
++      if (test -L "$file") >/dev/null 2>&1 \
++        || (test -h "$file") >/dev/null 2>&1 \
++	|| test -f "$file"; then
++        :
++      elif test -d "$file"; then
++        exit_status=1
++	continue
++      elif test "$rmforce" = yes; then
++        continue
++      fi
++
+       rmfiles="$file"
+ 
+-      case "$name" in
++      case $name in
+       *.la)
+ 	# Possibly a libtool archive, so verify it.
+ 	if (sed -e '2q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
+@@ -4517,6 +4675,9 @@
+ 		IFS="$save_ifs"
+ 		$show "$cmd"
+ 		$run eval "$cmd"
++		if test $? != 0 && test "$rmforce" != yes; then
++		  exit_status=1
++		fi
+ 	      done
+ 	      IFS="$save_ifs"
+ 	    fi
+@@ -4529,6 +4690,9 @@
+ 		IFS="$save_ifs"
+ 		$show "$cmd"
+ 		$run eval "$cmd"
++		if test $? != 0 && test "$rmforce" != yes; then
++		  exit_status=1
++		fi
+ 	      done
+ 	      IFS="$save_ifs"
+ 	    fi
+@@ -4559,9 +4723,18 @@
+ 	;;
+       esac
+       $show "$rm $rmfiles"
+-      $run $rm $rmfiles
++      $run $rm $rmfiles || exit_status=1
+     done
+-    exit 0
++
++    # Try to remove the ${objdir}s in the directories where we deleted files
++    for dir in $rmdirs; do
++      if test -d "$dir"; then
++	$show "rmdir $dir"
++	$run rmdir $dir >/dev/null 2>&1
++      fi
++    done
++
++    exit $exit_status
+     ;;
+ 
+   "")
+@@ -4577,7 +4750,7 @@
+ fi # test -z "$show_help"
+ 
+ # We need to display help for each of the modes.
+-case "$mode" in
++case $mode in
+ "") $echo \
+ "Usage: $modename [OPTION]... [MODE-ARG]...
+ 
+@@ -4632,6 +4805,8 @@
+ This mode accepts the following additional options:
+ 
+   -o OUTPUT-FILE    set the output file name to OUTPUT-FILE
++  -prefer-pic       try to building PIC objects only
++  -prefer-non-pic   try to building non-PIC objects only
+   -static           always build a \`.o' file suitable for static linking
+ 
+ COMPILE-COMMAND is a command to be used in creating a \`standard' object file
+diff -ruN heimdal-0.3e-old/tools/Makefile.in heimdal-0.3e/tools/Makefile.in
+--- heimdal-0.3e-old/tools/Makefile.in	Mon Feb  5 18:59:35 2001
++++ heimdal-0.3e/tools/Makefile.in	Sat May 12 17:54:10 2001
+@@ -1,6 +1,7 @@
+ # Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# 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.
+@@ -76,6 +77,7 @@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -181,8 +183,7 @@
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
--- heimdal-0.6.3.orig/debian/patches-0.3e-old/021_debian
+++ heimdal-0.6.3/debian/patches-0.3e-old/021_debian
@@ -0,0 +1,153 @@
+Index: heimdal-0.3d/setconfig
+===================================================================
+RCS file: setconfig
+diff -N setconfig
+*** /dev/null	Tue Nov 14 18:36:24 2000
+--- heimdal-0.3d/setconfig	Fri Nov 17 11:25:12 2000
+***************
+*** 0 ****
+--- 1,94 ----
++ #!/usr/bin/perl -w
++ use strict;
++ use Getopt::Long;
++ 
++ my $section;
++ my $file;
++ 
++ sub set {
++     my $setting = shift;
++     my $oldvalue = shift;
++     my $newvalue = shift;
++     
++     if (defined($newvalue))
++     {
++ 	print OUT "$setting=$newvalue\n"
++ 	     or die "Cannot write to $file.new: $!";
++     }
++ }
++ 
++ sub doit {
++     my $setting;
++     my $value;
++     ($setting,$value) = split("=",shift);
++ 
++     die "No filename given\n" if (!defined($file));
++     die "No section given\n" if (!defined($section));
++ 
++     open(IN,"<$file") or die "Cannot open $file for reading: $!\n";
++     open(OUT,">$file.new") or die "Cannot open $file.new for writing: $!\n";
++ 
++     my $insection = "none";
++     my $done = 0;
++     while (<IN>)
++     {
++ 	my $output = 1;
++ 	if (/^\s*\[([^\]]+)\]\s*$/)
++ 	{
++ 	    if (!$done and $section eq $insection)
++ 	    {
++ 	    	set($setting,undef,$value);
++ 	    	$done = 1;
++ 	    }
++ 	    $insection = $1;
++ 	}
++ 	elsif (/^\s*([\w\.]+)\s*=\s*\{\s*$/)
++ 	{
++ 		$insection = $insection . "::" . $1;
++ 	    	if ($section eq $insection and $setting eq "")
++ 		{
++ 	    		print(OUT "$value = {\n")
++ 				or die "Cannot write to $file.new: $!";
++ 			$done = 1;
++ 			$output = 0;
++ 		}
++ 	}
++ 	elsif (/^\s*\}\s*$/)
++ 	{
++ 		$insection =~ s/::[^:]+//;
++ 	}
++ 	elsif (/^\s*([\w\.]+)\s*=\s*(.*)\s*$/)
++ 	{
++ 	#print "$insection $1=$2\n";
++ 	    if ($section eq $insection and
++ 	    	$setting ne "" and
++ 	    	$setting eq $1)
++ 	    {
++ 		set($setting,$2,$value);
++ 		$output = 0;
++ 		$done = 1;
++ 	    }
++ 	}
++ 	if ($output)
++ 	{
++ 	    print(OUT $_) or die "Cannot write to $file.new: $!";
++ 	}
++     }
++ 	    
++     if (!$done)
++     {
++ 	if ($section ne $insection)
++ 	{
++ 		die "Section $section doesn't exist\n";
++ 	}
++     	set($setting,undef,$value);
++     	$done = 1;
++     }
++ 
++     close(OUT) or die "Cannot close $file.new: $!";
++     close(IN) or die "Cannot close $file: $!";
++     rename("$file.new",$file) or die "Cannot remame $file.new to $file";
++ }
++ 
++ GetOptions("file=s",\$file,"section=s",\$section,"<>",\&doit)
++ 	|| die "Cannot parse command line\n";
+Index: heimdal-0.3d/appl/telnet/telnetd/telnetd.h
+===================================================================
+RCS file: /homes/bam/cvsroot/debian/heimdal/appl/telnet/telnetd/telnetd.h,v
+retrieving revision 1.1.1.2
+retrieving revision 1.2
+diff -c -r1.1.1.2 -r1.2
+*** heimdal-0.3d/appl/telnet/telnetd/telnetd.h 1999/07/24 08:24:26 1.1.1.2
+--- appl/telnet/telnetd/telnetd.h	2000/01/06 09:22:48	1.2
+***************
+*** 193,199 ****
+  #endif
+  
+  #undef _PATH_LOGIN
+! #define _PATH_LOGIN	BINDIR "/login"
+  
+  /* fallbacks */
+  
+--- 193,199 ----
+  #endif
+  
+  #undef _PATH_LOGIN
+! #define _PATH_LOGIN	LIBEXECDIR "/login"
+  
+  /* fallbacks */
+  
+Index: heimdal-0.3d/lib/hdb/hdb.h
+===================================================================
+RCS file: /homes/bam/cvsroot/debian/heimdal/lib/hdb/hdb.h,v
+retrieving revision 1.1.1.4
+retrieving revision 1.3
+diff -c -r1.1.1.4 -r1.3
+*** heimdal-0.3d/lib/hdb/hdb.h 2000/07/31 03:16:43 1.1.1.4
+--- heimdal-0.3d/lib/hdb/hdb.h	2000/07/31 03:22:57	1.3
+***************
+*** 78,84 ****
+      krb5_error_code (*destroy)(krb5_context, struct HDB*);
+  }HDB;
+  
+! #define HDB_DB_DIR "/var/heimdal"
+  #define HDB_DEFAULT_DB HDB_DB_DIR "/heimdal"
+  #define HDB_DB_FORMAT_ENTRY "hdb/db-format"
+  
+--- 78,84 ----
+      krb5_error_code (*destroy)(krb5_context, struct HDB*);
+  }HDB;
+  
+! #define HDB_DB_DIR "/var/lib/heimdal-kdc"
+  #define HDB_DEFAULT_DB HDB_DB_DIR "/heimdal"
+  #define HDB_DB_FORMAT_ENTRY "hdb/db-format"
+  
--- heimdal-0.6.3.orig/debian/patches-0.3f/011_sharedlibs
+++ heimdal-0.6.3/debian/patches-0.3f/011_sharedlibs
@@ -0,0 +1,298 @@
+diff -ruN heimdal-0.3f-old/cf/Makefile.am.common heimdal-0.3f/cf/Makefile.am.common
+--- heimdal-0.3f-old/cf/Makefile.am.common	Mon May 21 23:27:48 2001
++++ heimdal-0.3f/cf/Makefile.am.common	Tue Jun 19 17:41:27 2001
+@@ -171,8 +171,7 @@
+ endif
+ 
+ if KRB5
+-LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
+-	$(top_builddir)/lib/asn1/libasn1.la
++LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
+ LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ endif
+ 
+diff -ruN heimdal-0.3f-old/cf/roken-frag.m4 heimdal-0.3f/cf/roken-frag.m4
+--- heimdal-0.3f-old/cf/roken-frag.m4	Fri May 11 23:58:21 2001
++++ heimdal-0.3f/cf/roken-frag.m4	Tue Jun 19 17:41:27 2001
+@@ -591,9 +591,9 @@
+ dnl moved to AC_OUTPUT in configure.in
+ dnl AC_CONFIG_FILES($1/Makefile)
+ 
+-LIB_roken="${LIB_roken} \$(LIB_crypt) \$(LIB_dbopen)"
++dnl LIB_roken="${LIB_roken} \$(LIB_crypt) \$(LIB_dbopen)"
+ 
+ AC_SUBST(DIR_roken)dnl
+ AC_SUBST(LIB_roken)dnl
+ AC_SUBST(INCLUDES_roken)dnl
+-])
+\ No newline at end of file
++])
+diff -ruN heimdal-0.3f-old/cf/roken.m4 heimdal-0.3f/cf/roken.m4
+--- heimdal-0.3f-old/cf/roken.m4	Sun Jul  9 01:50:34 2000
++++ heimdal-0.3f/cf/roken.m4	Tue Jun 19 17:41:27 2001
+@@ -56,7 +56,7 @@
+   CPPFLAGS_roken="-I$i/include"
+ fi
+ 
+-LIB_roken="${LIB_roken} \$(LIB_crypt) \$(LIB_dbopen)"
++dnl LIB_roken="${LIB_roken} \$(LIB_crypt) \$(LIB_dbopen)"
+ 
+ AC_SUBST(LIB_roken)dnl
+ AC_SUBST(DIR_roken)dnl
+diff -ruN heimdal-0.3f-old/configure.in heimdal-0.3f/configure.in
+--- heimdal-0.3f-old/configure.in	Sat Jun  9 08:24:36 2001
++++ heimdal-0.3f/configure.in	Tue Jun 19 17:47:10 2001
+@@ -86,7 +86,10 @@
+ 	LIB_openldap="-R $openldap_libdir $LIB_openldap"
+ fi
+ 
+-AC_TEST_PACKAGE_NEW(krb4,[#include <krb.h>],-lkrb,-ldes,/usr/athena, KRB4)
++AC_TEST_PACKAGE_NEW(krb4,[#include <krb.h>],-lkrb,-ldes,,KRB4)
++if test "$krb4_libdir" = "/usr/lib"; then
++  krb4_libdir="";
++fi
+ 
+ LIB_kdb=
+ if test "$with_krb4" != "no"; then
+@@ -157,7 +160,7 @@
+ 	CFLAGS="$save_CFLAGS"
+ 	LIB_kdb="-lkdb -lkrb"
+ 	test_LIB_krb4="$LIB_krb4"
+-	if test "$krb4_libdir"; then
++	if test "$krb4_libdir" != ""; then
+ 		LIB_krb4="-R $krb4_libdir $LIB_krb4"
+ 		LIB_kdb="-R $krb4_libdir -L$krb4_libdir $LIB_kdb"
+ 	fi
+diff -ruN heimdal-0.3f-old/lib/asn1/Makefile.am heimdal-0.3f/lib/asn1/Makefile.am
+--- heimdal-0.3f-old/lib/asn1/Makefile.am	Thu May 17 09:49:27 2001
++++ heimdal-0.3f/lib/asn1/Makefile.am	Tue Jun 19 17:49:26 2001
+@@ -6,6 +6,8 @@
+ 
+ lib_LTLIBRARIES = libasn1.la
+ libasn1_la_LDFLAGS = -version-info 5:0:0
++libasn1_la_LIBADD = \
++	$(top_builddir)/lib/com_err/libcom_err.la
+ 
+ BUILT_SOURCES =			\
+ 	$(gen_files:.x=.c)	\
+diff -ruN heimdal-0.3f-old/lib/auth/sia/Makefile.am heimdal-0.3f/lib/auth/sia/Makefile.am
+--- heimdal-0.3f-old/lib/auth/sia/Makefile.am	Wed Mar  7 03:57:09 2001
++++ heimdal-0.3f/lib/auth/sia/Makefile.am	Tue Jun 19 17:41:27 2001
+@@ -74,7 +74,7 @@
+ foodir = $(libdir)
+ foo_DATA = $(MOD)
+ 
+-LDFLAGS = -rpath $(libdir) -hidden -exported_symbol siad_\* 
++LDFLAGS = -rpath $(libdir) -hidden -exported_symbol siad_\*  -no-undefined
+ 
+ OBJS = sia.o posix_getpw.o
+ 
+diff -ruN heimdal-0.3f-old/lib/editline/Makefile.am heimdal-0.3f/lib/editline/Makefile.am
+--- heimdal-0.3f-old/lib/editline/Makefile.am	Wed Nov 15 10:22:29 2000
++++ heimdal-0.3f/lib/editline/Makefile.am	Tue Jun 19 17:41:27 2001
+@@ -38,13 +38,13 @@
+ 	unix.h \
+ 	$(EXTRA_SOURCE)
+ 
+-libeditline_la_LDFLAGS = -static
++libeditline_la_LDFLAGS = -no-undefined
+ 
+ EXTRA_SOURCE = $(ES) 
+ 
+ libel_compat_la_SOURCES = edit_compat.c
+ 
+-libel_compat_la_LDFLAGS = -static
++libel_compat_la_LDFLAGS = -no-undefined
+ 
+ EXTRA_DIST = $(man_MANS)
+ 
+diff -ruN heimdal-0.3f-old/lib/gssapi/Makefile.am heimdal-0.3f/lib/gssapi/Makefile.am
+--- heimdal-0.3f-old/lib/gssapi/Makefile.am	Thu May 17 09:52:27 2001
++++ heimdal-0.3f/lib/gssapi/Makefile.am	Tue Jun 19 17:50:45 2001
+@@ -6,6 +6,10 @@
+ 
+ lib_LTLIBRARIES = libgssapi.la
+ libgssapi_la_LDFLAGS = -version-info 3:1:2
++libgssapi_la_LIBADD = \
++	$(LIB_krb5) \
++	$(LIB_des) \
++	$(top_builddir)/lib/asn1/libasn1.la
+ 
+ include_HEADERS = gssapi.h
+ 
+diff -ruN heimdal-0.3f-old/lib/hdb/Makefile.am heimdal-0.3f/lib/hdb/Makefile.am
+--- heimdal-0.3f-old/lib/hdb/Makefile.am	Thu May 17 09:50:57 2001
++++ heimdal-0.3f/lib/hdb/Makefile.am	Tue Jun 19 18:00:59 2001
+@@ -12,12 +12,14 @@
+ CLEANFILES = $(BUILT_SOURCES) $(foo) hdb_asn1.h asn1_files
+ 
+ noinst_PROGRAMS = convert_db
+-LDADD = libhdb.la \
++LDADD = libhdb.la
++
++libhdb_la_LIBADD = \
+ 	$(LIB_openldap) \
+ 	../krb5/libkrb5.la \
+ 	../asn1/libasn1.la \
+-	$(LIB_des) \
+ 	$(LIB_roken) \
++	$(top_builddir)/lib/com_err/libcom_err.la \
+ 	$(DBLIB)
+ 
+ lib_LTLIBRARIES = libhdb.la
+@@ -38,8 +40,6 @@
+ INCLUDES += $(INCLUDE_openldap)
+ 
+ include_HEADERS = hdb.h hdb_err.h hdb_asn1.h hdb-protos.h hdb-private.h
+-
+-libhdb_la_LIBADD = $(LIB_openldap)
+ 
+ $(libhdb_la_OBJECTS): $(srcdir)/hdb-protos.h $(srcdir)/hdb-private.h
+ 
+diff -ruN heimdal-0.3f-old/lib/kadm5/Makefile.am heimdal-0.3f/lib/kadm5/Makefile.am
+--- heimdal-0.3f-old/lib/kadm5/Makefile.am	Tue Jan 30 12:56:00 2001
++++ heimdal-0.3f/lib/kadm5/Makefile.am	Tue Jun 19 18:01:41 2001
+@@ -4,7 +4,20 @@
+ 
+ lib_LTLIBRARIES = libkadm5srv.la libkadm5clnt.la
+ libkadm5srv_la_LDFLAGS = -version-info 7:3:0
++libkadm5srv_la_LIBADD = \
++	$(LIB_roken) \
++	$(LIB_krb5) \
++	$(top_builddir)/lib/com_err/libcom_err.la \
++	$(top_builddir)/lib/asn1/libasn1.la \
++	$(top_builddir)/lib/hdb/libhdb.la \
++	$(LIB_dlopen)
++
+ libkadm5clnt_la_LDFLAGS = -version-info 6:1:2
++libkadm5clnt_la_LIBADD = \
++	$(LIB_roken) \
++	$(LIB_krb5) \
++	$(top_builddir)/lib/com_err/libcom_err.la
++
+ sbin_PROGRAMS = dump_log replay_log truncate_log
+ 
+ libexec_PROGRAMS = ipropd-master ipropd-slave
+diff -ruN heimdal-0.3f-old/lib/krb5/Makefile.am heimdal-0.3f/lib/krb5/Makefile.am
+--- heimdal-0.3f-old/lib/krb5/Makefile.am	Thu May 17 09:51:50 2001
++++ heimdal-0.3f/lib/krb5/Makefile.am	Tue Jun 19 17:41:27 2001
+@@ -9,16 +9,15 @@
+ check_PROGRAMS = n-fold-test string-to-key-test derived-key-test store-test
+ TESTS = n-fold-test string-to-key-test derived-key-test store-test
+ 
+-LDADD = libkrb5.la \
+-	$(LIB_des) \
+-	$(top_builddir)/lib/asn1/libasn1.la \
+-	$(LIB_roken)
++LDADD = libkrb5.la
+ 
+ libkrb5_la_LIBADD = \
+-	../com_err/error.lo ../com_err/com_err.lo \
++	$(LIB_res_search) \
++	$(top_builddir)/lib/com_err/libcom_err.la \
+ 	$(LIB_des) \
+ 	$(top_builddir)/lib/asn1/libasn1.la \
+-	$(LIB_roken)
++	$(LIB_roken) \
++	$(LIB_dbopen)
+ 
+ lib_LTLIBRARIES = libkrb5.la
+ 
+diff -ruN heimdal-0.3f-old/lib/otp/Makefile.am heimdal-0.3f/lib/otp/Makefile.am
+--- heimdal-0.3f-old/lib/otp/Makefile.am	Tue Jan 30 12:54:48 2001
++++ heimdal-0.3f/lib/otp/Makefile.am	Tue Jun 19 18:03:03 2001
+@@ -6,15 +6,16 @@
+ 
+ noinst_PROGRAMS = otptest
+ 
+-otptest_LDADD = libotp.la \
+-	$(LIB_des) \
+-	$(LIB_roken) \
+-	$(DBLIB)
++otptest_LDADD = libotp.la
+ 
+ include_HEADERS = otp.h
+ 
+ lib_LTLIBRARIES = libotp.la
+ libotp_la_LDFLAGS = -version-info 1:2:1
++libotp_la_LIBADD = \
++	$(LIB_roken) \
++	$(LIB_des) \
++	$(DBLIB)
+ 
+ libotp_la_SOURCES = \
+ 	otp.c \
+diff -ruN heimdal-0.3f-old/lib/roken/Makefile.am heimdal-0.3f/lib/roken/Makefile.am
+--- heimdal-0.3f-old/lib/roken/Makefile.am	Thu May 17 09:57:10 2001
++++ heimdal-0.3f/lib/roken/Makefile.am	Tue Jun 19 17:55:38 2001
+@@ -11,6 +11,12 @@
+ 
+ lib_LTLIBRARIES = libroken.la
+ libroken_la_LDFLAGS = -version-info 12:0:3
++libroken_la_LIBADD = \
++	@LIB_res_search@ \
++	$(LIB_des) \
++	@LIB_dbopen@ \
++	@LTLIBOBJS@
++
+ 
+ noinst_PROGRAMS = make-roken
+ 
+@@ -150,8 +156,6 @@
+ 	writev.c
+ 
+ EXTRA_DIST = roken.awk roken.h.in
+-
+-libroken_la_LIBADD = @LTLIBOBJS@
+ 
+ $(LTLIBOBJS) $(libroken_la_OBJECTS): $(include_HEADERS) roken.h
+ 
+diff -ruN heimdal-0.3f-old/lib/sl/Makefile.am heimdal-0.3f/lib/sl/Makefile.am
+--- heimdal-0.3f-old/lib/sl/Makefile.am	Thu May 17 09:58:12 2001
++++ heimdal-0.3f/lib/sl/Makefile.am	Tue Jun 19 17:57:08 2001
+@@ -17,8 +17,8 @@
+ libsl_la_LDFLAGS = -version-info 1:2:1
+ libss_la_LDFLAGS = -version-info 1:4:1
+ 
+-libsl_la_LIBADD = @LIB_readline@
+-libss_la_LIBADD = @LIB_readline@
++libsl_la_LIBADD = $(LIB_roken) @LIB_readline@
++libss_la_LIBADD = $(LIB_roken) @LIB_readline@
+ 
+ libsl_la_SOURCES = sl_locl.h sl.c $(ES)
+ libss_la_SOURCES = $(libsl_la_SOURCES) ss.c ss.h
+diff -ruN heimdal-0.3f-old/lib/vers/Makefile.am heimdal-0.3f/lib/vers/Makefile.am
+--- heimdal-0.3f-old/lib/vers/Makefile.am	Wed Jan 31 14:50:48 2001
++++ heimdal-0.3f/lib/vers/Makefile.am	Tue Jun 19 17:41:28 2001
+@@ -19,6 +19,7 @@
+ endif
+ 
+ libvers_la_SOURCES	= print_version.c
++libvers_la_LDFLAGS	= -no-undefined
+ 
+ print_version.lo: print_version.h
+ 
+diff -ruN heimdal-0.3f-old/tools/krb5-config.in heimdal-0.3f/tools/krb5-config.in
+--- heimdal-0.3f-old/tools/krb5-config.in	Mon Jan 29 17:56:51 2001
++++ heimdal-0.3f/tools/krb5-config.in	Tue Jun 19 17:41:28 2001
+@@ -89,6 +89,9 @@
+ if test "$do_libs" = "yes"; then
+     lib_flags="-L${libdir}"
+     case $library in
++    krb5)
++	lib_flags="$lib_flags -lkrb5"
++	;;
+     gssapi)
+ 	lib_flags="$lib_flags -lgssapi"
+ 	;;
+@@ -99,8 +102,8 @@
+ 	lib_flags="$lib_flags -lkadm5srv"
+ 	;;
+     esac
+-    lib_flags="$lib_flags -lkrb5 -lasn1 @LIB_des_appl@ -lroken"
+-    lib_flags="$lib_flags @LIB_crypt@ @LIB_dbopen@ @LIBS@"
++#    lib_flags="$lib_flags -lkrb5 -lasn1 @LIB_des_appl@ -lroken"
++#    lib_flags="$lib_flags @LIB_crypt@ @LIB_dbopen@ @LIBS@"
+     echo $lib_flags
+ fi
+ if test "$do_cflags" = "yes"; then
--- heimdal-0.6.3.orig/debian/patches-0.3f/001_keytab
+++ heimdal-0.6.3/debian/patches-0.3f/001_keytab
@@ -0,0 +1,89 @@
+From nobody Thu Jun 28 09:03:20 2001
+Return-Path: <assar@assaris.sics.se>
+Delivered-To: bam@snoopy.apana.org.au
+Received: from assaris.sics.se (WEST-NINETYTWO-THREE-SEVENTY-NINE.MIT.EDU [18.18.6.124])
+	by snoopy.apana.org.au (Postfix) with ESMTP id 84F6F105E
+	for <bam@snoopy.apana.org.au>; Thu, 28 Jun 2001 03:14:00 +1000 (EST)
+Received: (from assar@localhost)
+	by assaris.sics.se (8.9.3/8.9.3) id TAA68805;
+	Wed, 27 Jun 2001 19:13:54 +0200 (CEST)
+	(envelope-from assar)
+Sender: assar@assaris.sics.se
+To: Brian May <bam@snoopy.apana.org.au>
+Cc: heimdal-discuss@sics.se
+Subject: Re: segmentation fault
+References: <87hex4dmk7.fsf@scrooge.chocbit.org.au> <87ae2vvgr5.fsf@scrooge.chocbit.org.au>
+From: Assar Westerlund <assar@sics.se>
+Date: 27 Jun 2001 19:13:53 +0200
+In-Reply-To: Brian May's message of "26 Jun 2001 17:31:58 +1000"
+Message-ID: <5l1yo5lub2.fsf@assaris.sics.se>
+Lines: 64
+User-Agent: Gnus/5.070098 (Pterodactyl Gnus v0.98) Emacs/20.6
+MIME-Version: 1.0
+Content-Type: text/plain; charset=us-ascii
+
+Can you try the appended patch?  I think it should solve these
+problems.
+
+/assar
+
+Index: keytab_any.c
+===================================================================
+RCS file: /afs/pdc.kth.se/src/packages/kth-krb/SourceRepository/heimdal/lib/krb5/keytab_any.c,v
+retrieving revision 1.2
+retrieving revision 1.4
+diff -u -w -u -w -r1.2 -r1.4
+--- heimdal-0.3f/lib/krb5/keytab_any.c	2001/05/14 06:14:48	1.2
++++ heimdal-0.3f/lib/krb5/keytab_any.c	2001/06/24 02:22:33	1.4
+@@ -33,7 +33,7 @@
+ 
+ #include "krb5_locl.h"
+ 
+-RCSID("$Id: keytab_any.c,v 1.2 2001/05/14 06:14:48 assar Exp $");
++RCSID("$Id: keytab_any.c,v 1.4 2001/06/24 02:22:33 assar Exp $");
+ 
+ struct any_data {
+     krb5_keytab kt;
+@@ -68,7 +68,7 @@
+ 	}
+ 	if (a0 == NULL) {
+ 	    a0 = a;
+-	    a->name = strdup(name);
++	    a->name = strdup(buf);
+ 	    if (a->name == NULL) {
+ 		krb5_set_error_string(context, "malloc: out of memory");
+ 		ret = ENOMEM;
+@@ -139,11 +139,9 @@
+     ed->a = a;
+     ret = krb5_kt_start_seq_get(context, ed->a->kt, &ed->cursor);
+     if (ret) {
+-	free (ed);
+ 	free (c->data);
+ 	c->data = NULL;
+-	krb5_set_error_string (context, "malloc: out of memory");
+-	return ENOMEM;
++	return ret;
+     }
+     return 0;
+ }
+@@ -166,14 +164,15 @@
+ 	    ret2 = krb5_kt_end_seq_get (context, ed->a->kt, &ed->cursor);
+ 	    if (ret2)
+ 		return ret2;
+-	    ed->a = ed->a->next;
++	    while ((ed->a = ed->a->next) != NULL) {
++		ret2 = krb5_kt_start_seq_get(context, ed->a->kt, &ed->cursor);
++		if (ret2 == 0)
++		    break;
++	    }
+ 	    if (ed->a == NULL) {
+ 		krb5_clear_error_string (context);
+ 		return KRB5_CC_END;
+ 	    }
+-	    ret2 = krb5_kt_start_seq_get(context, ed->a->kt, &ed->cursor);
+-	    if (ret2)
+-		return ret2;
+ 	} else
+ 	    return ret;
+     } while (ret == KRB5_CC_END);
+
--- heimdal-0.6.3.orig/debian/patches-0.3f/012_sharedlibs
+++ heimdal-0.6.3/debian/patches-0.3f/012_sharedlibs
@@ -0,0 +1,390 @@
+diff -ruN heimdal-0.3f-old/admin/Makefile.am heimdal-0.3f/admin/Makefile.am
+--- heimdal-0.3f-old/admin/Makefile.am	Sat Dec 16 11:16:45 2000
++++ heimdal-0.3f/admin/Makefile.am	Sat Jun 16 14:21:55 2001
+@@ -2,7 +2,7 @@
+ 
+ include $(top_srcdir)/Makefile.am.common
+ 
+-INCLUDES += $(INCLUDE_readline)
++INCLUDES += $(INCLUDE_readline) $(INCLUDE_ss)
+ 
+ man_MANS = ktutil.8
+ 
+@@ -22,6 +22,6 @@
+ 	$(top_builddir)/lib/krb5/libkrb5.la \
+ 	$(LIB_des) \
+ 	$(top_builddir)/lib/asn1/libasn1.la \
+-	$(top_builddir)/lib/sl/libsl.la \
++	$(LIB_ss) \
+ 	$(LIB_readline) \
+ 	$(LIB_roken)
+diff -ruN heimdal-0.3f-old/admin/ktutil_locl.h heimdal-0.3f/admin/ktutil_locl.h
+--- heimdal-0.3f-old/admin/ktutil_locl.h	Sat Jun 16 14:21:54 2001
++++ heimdal-0.3f/admin/ktutil_locl.h	Sat Jun 16 14:21:55 2001
+@@ -64,7 +64,7 @@
+ #include <kadm5/admin.h>
+ #include <kadm5/kadm5_err.h>
+ 
+-#include <sl.h>
++#include <ss.h>
+ #include <getarg.h>
+ 
+ extern krb5_context context;
+diff -ruN heimdal-0.3f-old/cf/Makefile.am.common heimdal-0.3f/cf/Makefile.am.common
+--- heimdal-0.3f-old/cf/Makefile.am.common	Sat Jun 16 14:21:54 2001
++++ heimdal-0.3f/cf/Makefile.am.common	Sat Jun 16 14:21:55 2001
+@@ -10,7 +10,7 @@
+ 
+ CP	= cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ ## set build_HEADERZ to headers that should just be installed in build tree
+ 
+@@ -56,6 +56,13 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
++
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
+ 
+ LEXLIB = @LEXLIB@
+ 
+diff -ruN heimdal-0.3f-old/cf/krb-com_err.m4 heimdal-0.3f/cf/krb-com_err.m4
+--- heimdal-0.3f-old/cf/krb-com_err.m4	Thu Jan  1 10:00:00 1970
++++ heimdal-0.3f/cf/krb-com_err.m4	Sat Jun 16 14:21:55 2001
+@@ -0,0 +1,35 @@
++dnl
++dnl Tests for readline functions
++dnl
++
++dnl el_init
++
++AC_DEFUN(KRB_COM_ERR,[
++dnl com_err
++
++ac_foo=no
++if test "$with_com_err" = yes; then
++	COMPILE_ET='compile_et'
++#elif test "$ac_cv_func_com_err" = yes; then
++#	COMPILE_ET='compile_et'
++else
++	COMPILE_ET='$(top_builddir)/lib/com_err/compile_et'
++	DIR_com_err="com_err"
++	LIB_com_err='$(top_builddir)/lib/com_err/libcom_err.la'
++fi
++
++if true; then
++#	!FIXME! why doesn't built in version of com_err work?
++	COMPILE_ET='$(top_builddir)/lib/com_err/compile_et'
++	DIR_com_err="com_err"
++	LIB_com_err='$(top_builddir)/lib/com_err/libcom_err.la'
++fi
++
++#if test "$com_err_libdir"; then
++#	LIB_com_err="-rpath $com_err_libdir $LIB_com_err"
++#fi
++AC_DEFINE(HAVE_COM_ERR, 1, 
++	[Define if you have a com_err compatible library.])dnl
++
++])
++AC_SUBST(COMPILE_ET)
+diff -ruN heimdal-0.3f-old/cf/krb-readline.m4 heimdal-0.3f/cf/krb-readline.m4
+--- heimdal-0.3f-old/cf/krb-readline.m4	Wed Nov 15 11:47:08 2000
++++ heimdal-0.3f/cf/krb-readline.m4	Sat Jun 16 14:21:55 2001
+@@ -28,16 +28,18 @@
+ 	:
+ elif test "$ac_cv_func_el_init" = yes; then
+ 	ac_foo=yes
++	DIR_readline="editline"
+ 	LIB_readline="\$(top_builddir)/lib/editline/libel_compat.la $LIB_el_init"
+ else
++	DIR_readline="editline"
+ 	LIB_readline='$(top_builddir)/lib/editline/libeditline.la'
+ fi
+ AM_CONDITIONAL(el_compat, test "$ac_foo" = yes)
+-if test "$readline_libdir"; then
+-	LIB_readline="-rpath $readline_libdir $LIB_readline"
+-fi
++#if test "$readline_libdir"; then
++#	LIB_readline="-rpath $readline_libdir $LIB_readline"
++#fi
+ LIB_readline="$LIB_readline \$(LIB_tgetent)"
+ AC_DEFINE(HAVE_READLINE, 1, 
+ 	[Define if you have a readline compatible library.])dnl
+ 
+-])
+\ No newline at end of file
++])
+diff -ruN heimdal-0.3f-old/cf/krb-ss.m4 heimdal-0.3f/cf/krb-ss.m4
+--- heimdal-0.3f-old/cf/krb-ss.m4	Thu Jan  1 10:00:00 1970
++++ heimdal-0.3f/cf/krb-ss.m4	Sat Jun 16 14:23:47 2001
+@@ -0,0 +1,37 @@
++dnl
++dnl Tests for readline functions
++dnl
++
++dnl el_init
++
++AC_DEFUN(KRB_SS,[
++dnl com_err
++
++ac_foo=no
++if test "$with_ss" = yes; then
++	LIB_sl="$LIB_ss"
++else
++	DIR_ss="sl"
++	LIB_sl='$(top_builddir)/lib/sl/libsl.la'
++	LIB_ss='$(top_builddir)/lib/sl/libss.la'
++	INCLUDE_ss='-I$(top_builddir)/include/sl'
++fi
++
++
++#if test "$ss_libdir"; then
++#	LIB_ss="-rpath $sl_libdir $LIB_ss"
++#fi
++
++if true; then
++#	!FIXME! why doesn't built in version of ss work?
++	DIR_ss="sl"
++	LIB_sl='$(top_builddir)/lib/sl/libsl.la'
++	LIB_ss='$(top_builddir)/lib/sl/libss.la'
++	INCLUDE_ss='-I$(top_builddir)/include/ss'
++fi
++
++AC_DEFINE(HAVE_SS, 1, 
++	[Define if you have a ss compatible library.])dnl
++
++])
++AC_SUBST(LIB_sl)
+diff -ruN heimdal-0.3f-old/cf/test-package.m4 heimdal-0.3f/cf/test-package.m4
+--- heimdal-0.3f-old/cf/test-package.m4	Fri Dec 15 15:54:24 2000
++++ heimdal-0.3f/cf/test-package.m4	Sat Jun 16 14:21:56 2001
+@@ -2,7 +2,7 @@
+ dnl
+ dnl AC_TEST_PACKAGE_NEW(package,headers,libraries,extra libs,default locations, conditional)
+ 
+-AC_DEFUN(AC_TEST_PACKAGE,[AC_TEST_PACKAGE_NEW($1,[#include <$2>],$4,,$5)])
++AC_DEFUN(AC_TEST_PACKAGE,[MY_TEST_PACKAGE_NEW($1,[#include <$2>],$4,,$5)])
+ 
+ AC_DEFUN(AC_TEST_PACKAGE_NEW,[
+ AC_ARG_WITH($1,
+@@ -39,7 +39,7 @@
+ header_dirs=
+ lib_dirs=
+ d='$5'
+-for i in $d; do
++for i in $d /usr; do
+ 	header_dirs="$header_dirs $i/include"
+ 	lib_dirs="$lib_dirs $i/lib$abilibdirext"
+ done
+@@ -72,6 +72,7 @@
+ if test "$ires" -a "$lres" -a "$with_$1" != "no"; then
+ 	$1_includedir="$ires"
+ 	$1_libdir="$lres"
++	DIR_$1=
+ 	INCLUDE_$1="-I$$1_includedir"
+ 	LIB_$1="-L$$1_libdir $3"
+ 	m4_ifval([$6],
+@@ -80,6 +81,7 @@
+ 	with_$1=yes
+ 	AC_MSG_RESULT([headers $ires, libraries $lres])
+ else
++	DIR_$1="$1"
+ 	INCLUDE_$1=
+ 	LIB_$1=
+ 	with_$1=no
+@@ -88,6 +90,7 @@
+ dnl m4_ifval([$6],
+ dnl 	AM_CONDITIONAL($6, test "$with_$1" = yes)
+ dnl 	AM_CONDITIONAL(upcase($1), test "$with_$1" = yes))
++AC_SUBST(DIR_$1)
+ AC_SUBST(INCLUDE_$1)
+ AC_SUBST(LIB_$1)
+ ])
+diff -ruN heimdal-0.3f-old/configure.in heimdal-0.3f/configure.in
+--- heimdal-0.3f-old/configure.in	Sat Jun 16 14:21:54 2001
++++ heimdal-0.3f/configure.in	Sat Jun 16 14:21:56 2001
+@@ -231,6 +231,12 @@
+ [#include <stdio.h>
+  #include <readline.h>],-lreadline,,, READLINE)
+ 
++AC_TEST_PACKAGE_NEW(com_err,
++[#include <et/com_err.h>],-lcom_err,,, COM_ERR)
++
++AC_TEST_PACKAGE_NEW(ss,
++[#include <ss.h>],-lss,,, SS)
++
+ AC_TEST_PACKAGE_NEW(hesiod,[#include <hesiod.h>],-lhesiod,,, HESIOD)
+ 
+ KRB_C_BIGENDIAN
+@@ -585,6 +591,8 @@
+ AC_SUBST(LIB_des_appl)
+ 
+ KRB_READLINE
++KRB_COM_ERR
++KRB_SS
+ 
+ dnl telnet muck --------------------------------------------------
+ 
+diff -ruN heimdal-0.3f-old/include/ss/Makefile.am heimdal-0.3f/include/ss/Makefile.am
+--- heimdal-0.3f-old/include/ss/Makefile.am	Thu Jan  1 10:00:00 1970
++++ heimdal-0.3f/include/ss/Makefile.am	Sat Jun 16 14:21:56 2001
+@@ -0,0 +1,5 @@
++# $Id: Makefile.am,v 1.6 1999/03/20 13:58:17 joda Exp $
++
++include $(top_srcdir)/Makefile.am.common
++
++CLEANFILES = ss.h sl.h
+diff -ruN heimdal-0.3f-old/kadmin/Makefile.am heimdal-0.3f/kadmin/Makefile.am
+--- heimdal-0.3f-old/kadmin/Makefile.am	Thu Nov 16 09:51:12 2000
++++ heimdal-0.3f/kadmin/Makefile.am	Sat Jun 16 14:21:56 2001
+@@ -2,7 +2,7 @@
+ 
+ include $(top_srcdir)/Makefile.am.common
+ 
+-INCLUDES += $(INCLUDE_readline) $(INCLUDE_krb4) -I$(srcdir)/../lib/krb5
++INCLUDES += $(INCLUDE_readline) $(INCLUDE_krb4) $(INCLUDE_ss) -I$(srcdir)/../lib/krb5
+ 
+ sbin_PROGRAMS = kadmin
+ 
+@@ -62,7 +62,7 @@
+ kadmin_LDADD = \
+ 	$(top_builddir)/lib/kadm5/libkadm5clnt.la \
+ 	$(top_builddir)/lib/kadm5/libkadm5srv.la \
+-	$(top_builddir)/lib/sl/libsl.la \
++	$(LIB_ss) \
+ 	$(LIB_readline) \
+ 	$(COMMON_LDADD) \
+ 	$(LIB_dlopen)
+diff -ruN heimdal-0.3f-old/kadmin/kadmin.c heimdal-0.3f/kadmin/kadmin.c
+--- heimdal-0.3f-old/kadmin/kadmin.c	Sat Jan 27 09:20:52 2001
++++ heimdal-0.3f/kadmin/kadmin.c	Sat Jun 16 14:21:56 2001
+@@ -32,7 +32,7 @@
+  */
+ 
+ #include "kadmin_locl.h"
+-#include <sl.h>
++#include <ss.h>
+ 
+ RCSID("$Id: kadmin.c,v 1.34 2001/01/26 22:20:52 joda Exp $");
+ 
+diff -ruN heimdal-0.3f-old/lib/Makefile.am heimdal-0.3f/lib/Makefile.am
+--- heimdal-0.3f-old/lib/Makefile.am	Thu Nov 16 10:11:05 2000
++++ heimdal-0.3f/lib/Makefile.am	Sat Jun 16 14:21:56 2001
+@@ -12,5 +12,5 @@
+ dir_dce = kdfs
+ endif
+ 
+-SUBDIRS = @DIR_roken@ vers editline com_err sl asn1 @DIR_des@ krb5 \
++SUBDIRS = @DIR_roken@ vers @DIR_readline@ @DIR_com_err@ @DIR_ss@ asn1 @DIR_des@ krb5 \
+ 	kafs hdb kadm5 gssapi auth $(dir_45) $(dir_otp) $(dir_dce)
+diff -ruN heimdal-0.3f-old/lib/asn1/Makefile.am heimdal-0.3f/lib/asn1/Makefile.am
+--- heimdal-0.3f-old/lib/asn1/Makefile.am	Sat Jun 16 14:21:54 2001
++++ heimdal-0.3f/lib/asn1/Makefile.am	Sat Jun 16 14:21:56 2001
+@@ -2,6 +2,8 @@
+ 
+ include $(top_srcdir)/Makefile.am.common
+ 
++INCLUDES += $(INCLUDE_com_err)
++
+ YFLAGS = -d
+ 
+ lib_LTLIBRARIES = libasn1.la
+@@ -84,11 +86,11 @@
+ 	$(BUILT_SOURCES)
+ 
+ asn1_compile_LDADD = \
+-	$(LIB_roken) $(LEXLIB)
++        $(LIB_roken) $(LEXLIB)
+ 
+ check_der_LDADD = \
+ 	libasn1.la \
+-	../com_err/libcom_err.la \
++	$(LIB_com_err) \
+ 	$(LIB_roken)
+ 
+ asn1_print_LDADD = $(check_der_LDADD)
+diff -ruN heimdal-0.3f-old/lib/asn1/libasn1.h heimdal-0.3f/lib/asn1/libasn1.h
+--- heimdal-0.3f-old/lib/asn1/libasn1.h	Fri Dec  3 04:05:02 1999
++++ heimdal-0.3f/lib/asn1/libasn1.h	Sat Jun 16 14:21:56 2001
+@@ -47,4 +47,17 @@
+ #include "asn1_err.h"
+ #include <parse_units.h>
+ 
++#ifdef HACKED_AND_STUPID
++#define ASN1_BAD_TIMEFORMAT BAD_TIMEFORMAT
++#define ASN1_MISSING_FIELD MISSING_FIELD
++#define ASN1_MISPLACED_FIELD MISPLACED_FIELD
++#define ASN1_TYPE_MISMATCH TYPE_MISMATCH
++#define ASN1_OVERFLOW OVERFLOW
++#define ASN1_OVERRUN OVERRUN
++#define ASN1_BAD_ID BAD_ID
++#define ASN1_BAD_LENGTH BAD_LENGTH
++#define ASN1_BAD_FORMAT BAD_FORMAT
++#define ASN1_PARSE_ERROR PARSE_ERROR
++#endif
++
+ #endif /* __LIBASN1_H__ */
+diff -ruN heimdal-0.3f-old/lib/auth/sia/Makefile.am heimdal-0.3f/lib/auth/sia/Makefile.am
+--- heimdal-0.3f-old/lib/auth/sia/Makefile.am	Sat Jun 16 14:21:54 2001
++++ heimdal-0.3f/lib/auth/sia/Makefile.am	Sat Jun 16 14:21:56 2001
+@@ -24,7 +24,7 @@
+ 	$(top_builddir)/lib/asn1/.libs/libasn1.a	\
+ 	$(LIB_krb4)					\
+ 	$(top_builddir)/lib/des/.libs/libdes.a		\
+-	$(top_builddir)/lib/com_err/.libs/libcom_err.a	\
++	@LIB_sl@
+ 	$(top_builddir)/lib/roken/.libs/libroken.a	\
+ 	$(LIB_getpwnam_r)				\
+ 	-lc
+@@ -35,7 +35,7 @@
+ 	$(top_builddir)/lib/asn1/.libs/libasn1.so	\
+ 	$(LIB_krb4)					\
+ 	$(top_builddir)/lib/des/.libs/libdes.so		\
+-	$(top_builddir)/lib/com_err/.libs/libcom_err.so	\
++	@LIB_sl@
+ 	$(top_builddir)/lib/roken/.libs/libroken.so	\
+ 	$(LIB_getpwnam_r)				\
+ 	-lc
+diff -ruN heimdal-0.3f-old/lib/sl/Makefile.am heimdal-0.3f/lib/sl/Makefile.am
+--- heimdal-0.3f-old/lib/sl/Makefile.am	Sat Jun 16 14:21:54 2001
++++ heimdal-0.3f/lib/sl/Makefile.am	Sat Jun 16 14:21:56 2001
+@@ -4,8 +4,6 @@
+ 
+ YFLAGS = -d
+ 
+-include_HEADERS = sl.h
+-
+ lib_LTLIBRARIES = libsl.la libss.la
+ libsl_la_LDFLAGS = -version-info 1:1:1 -no-undefined
+ libss_la_LDFLAGS = -version-info 1:3:1 -no-undefined
+@@ -31,7 +29,21 @@
+ EXTRA_mk_cmds_SOURCES = snprintf.c roken_rename.h
+ 
+ ssincludedir = $(includedir)/ss
+-ssinclude_HEADERS = ss.h
++buildssinclude = $(buildinclude)/ss
++ssinclude_HEADERS = sl.h ss.h
++
++install-build-headers:: $(ssinclude_HEADERS)
++	@foo='$(ssinclude_HEADERS)'; \
++	for f in $$foo; do \
++		f=`basename $$f`; \
++		if test -f "$(srcdir)/$$f"; then file="$(srcdir)/$$f"; \
++		else file="$$f"; fi; \
++		if cmp -s  $$file $(buildssinclude)/$$f 2> /dev/null ; then \
++		: ; else \
++			echo "cp $$file $(buildssinclude)/$$f";\
++			cp $$file $(buildssinclude)/$$f; \
++		fi ; \
++	done
+ 
+ CLEANFILES = lex.c parse.c parse.h snprintf.c strtok_r.c
+ 
--- heimdal-0.6.3.orig/debian/patches-0.3f/013_maildir
+++ heimdal-0.6.3/debian/patches-0.3f/013_maildir
@@ -0,0 +1,40 @@
+Index: heimdal-0.3f/appl/popper/pop_pass.c
+===================================================================
+RCS file: /homes/bam/cvsroot/debian/heimdal/appl/popper/pop_pass.c,v
+retrieving revision 1.1.1.3
+retrieving revision 1.5
+diff -c -r1.1.1.3 -r1.5
+*** heimdal-0.3f/appl/popper/pop_pass.c 2000/05/19 05:23:42 1.1.1.3
+--- heimdal-0.3f/appl/popper/pop_pass.c	2000/05/19 05:33:06	1.5
+***************
+*** 197,203 ****
+  	    p->ipaddr, p->user);
+  
+      /*  Build the name of the user's maildrop */
+!     snprintf(p->drop_name, sizeof(p->drop_name), "%s/%s", POP_MAILDIR, p->user);
+  
+      if(stat(p->drop_name, &st) < 0 || !S_ISDIR(st.st_mode)){
+  	/*  Make a temporary copy of the user's maildrop */
+--- 197,218 ----
+  	    p->ipaddr, p->user);
+  
+      /*  Build the name of the user's maildrop */
+! 
+!     /* Try ~/Maildir */
+!     if (pw->pw_dir != NULL)
+! 	{
+!         snprintf(p->drop_name, sizeof(p->drop_name), "%s/%s", pw->pw_dir, "Maildir");
+! 	}
+!     if(pw->pw_dir != NULL && stat(p->drop_name, &st) < 0)
+! 	{
+!     	/* else try ~/Mailbox */
+! 	snprintf(p->drop_name, sizeof(p->drop_name), "%s/%s", pw->pw_dir, "Mailbox");
+! 	}
+!     if(pw->pw_dir == NULL || stat(p->drop_name, &st) < 0)
+! 	{
+!     	/* else try /var/spool/mail/userid */
+! 	snprintf(p->drop_name, sizeof(p->drop_name), "%s/%s", POP_MAILDIR, p->user);
+! 	}
+  
+      if(stat(p->drop_name, &st) < 0 || !S_ISDIR(st.st_mode)){
+  	/*  Make a temporary copy of the user's maildrop */
--- heimdal-0.6.3.orig/debian/patches-0.3f/014_cache
+++ heimdal-0.6.3/debian/patches-0.3f/014_cache
@@ -0,0 +1,152 @@
+diff -ruN heimdal-0.3f-old/lib/krb5/cache.c heimdal-0.3f/lib/krb5/cache.c
+--- heimdal-0.3f-old/lib/krb5/cache.c	Mon May 14 16:14:45 2001
++++ heimdal-0.3f/lib/krb5/cache.c	Tue Jun 19 20:16:49 2001
+@@ -99,13 +99,28 @@
+ {
+     krb5_error_code ret;
+     krb5_ccache p;
++    krb5_cc_ops *q;
+ 
+     p = malloc(sizeof(*p));
+     if(p == NULL) {
+ 	krb5_set_error_string(context, "malloc: out of memory");
+ 	return KRB5_CC_NOMEM;
+     }
+-    p->ops = ops;
++
++    q = malloc(sizeof(*q));
++    if(q == NULL) {
++	krb5_set_error_string(context, "malloc: out of memory");
++        return KRB5_CC_NOMEM;
++    }
++    memcpy(q, ops, sizeof(*q));
++    q->prefix = strdup(ops->prefix);
++    if(q->prefix == NULL) {
++        free(q);
++	krb5_set_error_string(context, "strdup: out of memory");
++        return KRB5_CC_NOMEM;
++    }
++
++    p->ops = q;
+     *id = p;
+     ret = p->ops->resolve(context, id, residual);
+     if(ret)
+@@ -155,13 +170,28 @@
+ 		krb5_ccache *id)
+ {
+     krb5_ccache p;
++    krb5_cc_ops *q;
+ 
+     p = malloc (sizeof(*p));
+     if (p == NULL) {
+ 	krb5_set_error_string(context, "malloc: out of memory");
+ 	return KRB5_CC_NOMEM;
+     }
+-    p->ops = ops;
++
++    q = malloc(sizeof(*q));
++    if(q == NULL) {
++	krb5_set_error_string(context, "malloc: out of memory");
++        return KRB5_CC_NOMEM;
++    }
++    memcpy(q, ops, sizeof(*q));
++    q->prefix = strdup(ops->prefix);
++    if(q->prefix == NULL) {
++        free(q);
++	krb5_set_error_string(context, "strdup: out of memory");
++        return KRB5_CC_NOMEM;
++    }
++
++    p->ops = q;
+     *id = p;
+     return p->ops->gen_new(context, id);
+ }
+@@ -264,6 +294,8 @@
+ {
+     krb5_error_code ret;
+     ret = id->ops->close(context, id);
++    free(id->ops->prefix);
++    free((krb5_cc_ops *)id->ops);
+     free(id);
+     return ret;
+ }
+diff -ruN heimdal-0.3f-old/lib/krb5/cache.c.rej heimdal-0.3f/lib/krb5/cache.c.rej
+--- heimdal-0.3f-old/lib/krb5/cache.c.rej	Thu Jan  1 10:00:00 1970
++++ heimdal-0.3f/lib/krb5/cache.c.rej	Tue Jun 19 20:10:36 2001
+@@ -0,0 +1,76 @@
++***************
++*** 89,99 ****
++  {
++      krb5_error_code ret;
++      krb5_ccache p;
++  
++      p = malloc(sizeof(*p));
++      if(p == NULL)
++  	return KRB5_CC_NOMEM;
++-     p->ops = ops;
++      *id = p;
++      ret = p->ops->resolve(context, id, residual);
++      if(ret)
++--- 89,112 ----
++  {
++      krb5_error_code ret;
++      krb5_ccache p;
+++     krb5_cc_ops *q;
++  
++      p = malloc(sizeof(*p));
++      if(p == NULL)
++  	return KRB5_CC_NOMEM;
+++ 
+++     q = malloc(sizeof(*q));
+++     if(q == NULL)
+++         return KRB5_CC_NOMEM;
+++     memcpy(q, ops, sizeof(*q));
+++     q->prefix = strdup(ops->prefix);
+++     if(q->prefix == NULL)
+++     {
+++         free(q);
+++         return KRB5_CC_NOMEM;
+++     }
+++     
+++     p->ops = q;
++      *id = p;
++      ret = p->ops->resolve(context, id, residual);
++      if(ret)
++***************
++*** 141,151 ****
++  		krb5_ccache *id)
++  {
++      krb5_ccache p;
++  
++      p = malloc (sizeof(*p));
++      if (p == NULL)
++  	return KRB5_CC_NOMEM;
++-     p->ops = ops;
++      *id = p;
++      return p->ops->gen_new(context, id);
++  }
++--- 154,177 ----
++  		krb5_ccache *id)
++  {
++      krb5_ccache p;
+++     krb5_cc_ops *q;
++  
++      p = malloc (sizeof(*p));
++      if (p == NULL)
++  	return KRB5_CC_NOMEM;
+++ 
+++     q = malloc(sizeof(*q));
+++     if(q == NULL)
+++         return KRB5_CC_NOMEM;
+++     memcpy(q, ops, sizeof(*q));
+++     q->prefix = strdup(ops->prefix);
+++     if(q->prefix == NULL)
+++     {
+++         free(q);
+++         return KRB5_CC_NOMEM;
+++     }
+++     
+++     p->ops = q;
++      *id = p;
++      return p->ops->gen_new(context, id);
++  }
--- heimdal-0.6.3.orig/debian/patches-0.3f/021_debian
+++ heimdal-0.6.3/debian/patches-0.3f/021_debian
@@ -0,0 +1,50 @@
+Index: heimdal-0.3f/appl/telnet/telnetd/telnetd.h
+===================================================================
+RCS file: /homes/bam/cvsroot/debian/heimdal/appl/telnet/telnetd/telnetd.h,v
+retrieving revision 1.1.1.2
+retrieving revision 1.2
+diff -c -r1.1.1.2 -r1.2
+*** heimdal-0.3f/appl/telnet/telnetd/telnetd.h 1999/07/24 08:24:26 1.1.1.2
+--- appl/telnet/telnetd/telnetd.h	2000/01/06 09:22:48	1.2
+***************
+*** 193,199 ****
+  #endif
+  
+  #undef _PATH_LOGIN
+! #define _PATH_LOGIN	BINDIR "/login"
+  
+  /* fallbacks */
+  
+--- 193,199 ----
+  #endif
+  
+  #undef _PATH_LOGIN
+! #define _PATH_LOGIN	LIBEXECDIR "/login"
+  
+  /* fallbacks */
+  
+Index: heimdal-0.3f/lib/hdb/hdb.h
+===================================================================
+RCS file: /homes/bam/cvsroot/debian/heimdal/lib/hdb/hdb.h,v
+retrieving revision 1.1.1.4
+retrieving revision 1.3
+diff -c -r1.1.1.4 -r1.3
+*** heimdal-0.3f/lib/hdb/hdb.h 2000/07/31 03:16:43 1.1.1.4
+--- heimdal-0.3f/lib/hdb/hdb.h	2000/07/31 03:22:57	1.3
+***************
+*** 78,84 ****
+      krb5_error_code (*destroy)(krb5_context, struct HDB*);
+  }HDB;
+  
+! #define HDB_DB_DIR "/var/heimdal"
+  #define HDB_DEFAULT_DB HDB_DB_DIR "/heimdal"
+  #define HDB_DB_FORMAT_ENTRY "hdb/db-format"
+  
+--- 78,84 ----
+      krb5_error_code (*destroy)(krb5_context, struct HDB*);
+  }HDB;
+  
+! #define HDB_DB_DIR "/var/lib/heimdal-kdc"
+  #define HDB_DEFAULT_DB HDB_DB_DIR "/heimdal"
+  #define HDB_DB_FORMAT_ENTRY "hdb/db-format"
+  
--- heimdal-0.6.3.orig/debian/patches-0.3f/030_autotools
+++ heimdal-0.6.3/debian/patches-0.3f/030_autotools
@@ -0,0 +1,32689 @@
+diff -ruN heimdal-0.3f-old/Makefile.in heimdal-0.3f/Makefile.in
+--- heimdal-0.3f-old/Makefile.in	Sat Jun  9 08:24:41 2001
++++ heimdal-0.3f/Makefile.in	Tue Jun 19 18:17:44 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -93,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -133,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -176,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -215,10 +225,9 @@
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+ GZIP_ENV = --best
+-DIST_SUBDIRS =  $(SUBDIRS)
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
++.SUFFIXES: .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .et .h .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile
+ 
+@@ -238,17 +247,17 @@
+ 		cf/find-func.m4 cf/find-if-not-broken.m4 \
+ 		cf/grok-type.m4 cf/have-pragma-weak.m4 \
+ 		cf/have-struct-field.m4 cf/have-type.m4 \
+-		cf/have-types.m4 cf/krb-bigendian.m4 cf/krb-find-db.m4 \
+-		cf/krb-func-getcwd-broken.m4 cf/krb-func-getlogin.m4 \
+-		cf/krb-ipv6.m4 cf/krb-irix.m4 cf/krb-prog-ln-s.m4 \
+-		cf/krb-prog-ranlib.m4 cf/krb-prog-yacc.m4 \
+-		cf/krb-readline.m4 cf/krb-struct-spwd.m4 \
+-		cf/krb-struct-winsize.m4 cf/krb-sys-aix.m4 \
+-		cf/krb-sys-nextstep.m4 cf/krb-version.m4 cf/mips-abi.m4 \
+-		cf/misc.m4 cf/need-proto.m4 cf/osfc2.m4 \
+-		cf/proto-compat.m4 cf/retsigtype.m4 cf/roken-frag.m4 \
+-		cf/roken.m4 cf/shared-libs.m4 cf/test-package.m4 \
+-		cf/wflags.m4
++		cf/have-types.m4 cf/krb-bigendian.m4 cf/krb-com_err.m4 \
++		cf/krb-find-db.m4 cf/krb-func-getcwd-broken.m4 \
++		cf/krb-func-getlogin.m4 cf/krb-ipv6.m4 cf/krb-irix.m4 \
++		cf/krb-prog-ln-s.m4 cf/krb-prog-ranlib.m4 \
++		cf/krb-prog-yacc.m4 cf/krb-readline.m4 cf/krb-ss.m4 \
++		cf/krb-struct-spwd.m4 cf/krb-struct-winsize.m4 \
++		cf/krb-sys-aix.m4 cf/krb-sys-nextstep.m4 \
++		cf/krb-version.m4 cf/mips-abi.m4 cf/misc.m4 \
++		cf/need-proto.m4 cf/osfc2.m4 cf/proto-compat.m4 \
++		cf/retsigtype.m4 cf/roken-frag.m4 cf/roken.m4 \
++		cf/shared-libs.m4 cf/test-package.m4 cf/wflags.m4
+ 	cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
+ 
+ config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+@@ -288,11 +297,7 @@
+ maintainer-clean-recursive:
+ 	@set fnord $(MAKEFLAGS); amf=$$2; \
+ 	dot_seen=no; \
+-	case "$@" in \
+-	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
+-	  *) list='$(SUBDIRS)' ;; \
+-	esac; \
+-	rev=''; for subdir in $$list; do \
++	rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
+ 	  if test "$$subdir" = "."; then :; else \
+ 	    rev="$$subdir $$rev"; \
+ 	  fi; \
+@@ -343,11 +348,6 @@
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+ 
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+ mostlyclean-tags:
+ 
+ clean-tags:
+@@ -381,6 +381,7 @@
+ 	  && $(MAKE) $(AM_MAKEFLAGS) installcheck \
+ 	  && $(MAKE) $(AM_MAKEFLAGS) uninstall \
+ 	  && test `find $$dc_install_base -type f -print | wc -l` -le 1 \
++	  && chmod -R u+w .. \
+ 	  && $(MAKE) $(AM_MAKEFLAGS) dist \
+ 	  && $(MAKE) $(AM_MAKEFLAGS) distclean \
+ 	  && rm -f $(distdir).tar.gz \
+diff -ruN heimdal-0.3f-old/acinclude.m4 heimdal-0.3f/acinclude.m4
+--- heimdal-0.3f-old/acinclude.m4	Sun May 24 00:54:53 1998
++++ heimdal-0.3f/acinclude.m4	Tue Jun 19 18:17:23 2001
+@@ -7,3 +7,5 @@
+ dnl $xId: misc.m4,v 1.1 1997/12/14 15:59:04 joda Exp $
+ dnl
+ define(upcase,`echo $1 | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`)dnl
++dnl Hack to allow old CVS version of autoconf to work.
++define([m4_ifval],[ifval])dnl
+diff -ruN heimdal-0.3f-old/aclocal.m4 heimdal-0.3f/aclocal.m4
+--- heimdal-0.3f-old/aclocal.m4	Sat Jun  9 08:24:39 2001
++++ heimdal-0.3f/aclocal.m4	Tue Jun 19 18:17:26 2001
+@@ -1,4 +1,4 @@
+-# ./aclocal.m4 generated automatically by aclocal 1.4b
++# aclocal.m4 generated automatically by aclocal 1.4a
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -20,6 +20,8 @@
+ dnl $xId: misc.m4,v 1.1 1997/12/14 15:59:04 joda Exp $
+ dnl
+ define(upcase,`echo $1 | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`)dnl
++dnl Hack to allow old CVS version of autoconf to work.
++define([m4_ifval],[ifval])dnl
+ 
+ dnl $Id: misc.m4,v 1.2 2000/07/19 15:04:00 joda Exp $
+ dnl
+@@ -273,7 +275,7 @@
+     if depmode="$depmode" \
+        source=conftest.c object=conftest.o \
+        depfile=conftest.Po tmpdepfile=conftest.TPo \
+-       $SHELL $am_depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
++       $SHELL $am_depcomp $depcc -c conftest.c -o conftest.o 2>/dev/null &&
+        grep conftest.h conftest.Po > /dev/null 2>&1; then
+       am_cv_[$1]_dependencies_compiler_type="$depmode"
+       break
+@@ -296,9 +298,6 @@
+ AC_DEFUN([AM_SET_DEPDIR],[
+ if test -d .deps || mkdir .deps 2> /dev/null || test -d .deps; then
+   DEPDIR=.deps
+-  # We redirect because .deps might already exist and be populated.
+-  # In this situation we don't want to see an error.
+-  rmdir .deps > /dev/null 2>&1
+ else
+   DEPDIR=_deps
+ fi
+@@ -539,180 +538,2767 @@
+ ])
+ 
+ 
++# libtool.m4 - Configure libtool for the host system. -*-Shell-script-*-
+ 
+-# serial 44 AC_PROG_LIBTOOL
+-AC_DEFUN(AC_PROG_LIBTOOL,[AC_REQUIRE([_AC_PROG_LIBTOOL])])
+-AC_DEFUN(_AC_PROG_LIBTOOL,
++# serial 46 AC_PROG_LIBTOOL
++AC_DEFUN([AC_PROG_LIBTOOL],
+ [AC_REQUIRE([AC_LIBTOOL_SETUP])dnl
+ 
+-# Save cache, so that ltconfig can load it
+-AC_CACHE_SAVE
++# This can be used to rebuild libtool when needed
++LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
++
++# Always use our own libtool.
++LIBTOOL='$(SHELL) $(top_builddir)/libtool'
++AC_SUBST(LIBTOOL)dnl
++
++# Prevent multiple expansion
++define([AC_PROG_LIBTOOL], [])
++])
++
++AC_DEFUN([AC_LIBTOOL_SETUP],
++[AC_PREREQ(2.13)dnl
++AC_REQUIRE([AC_ENABLE_SHARED])dnl
++AC_REQUIRE([AC_ENABLE_STATIC])dnl
++AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl
++AC_REQUIRE([AC_CANONICAL_HOST])dnl
++AC_REQUIRE([AC_CANONICAL_BUILD])dnl
++AC_REQUIRE([AC_PROG_CC])dnl
++AC_REQUIRE([AC_PROG_LD])dnl
++AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl
++AC_REQUIRE([AC_PROG_NM])dnl
++AC_REQUIRE([AC_PROG_LN_S])dnl
++AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl
++AC_REQUIRE([AC_OBJEXT])dnl
++AC_REQUIRE([AC_EXEEXT])dnl
++dnl
++
++_LT_AC_PROG_ECHO_BACKSLASH
++# Only perform the check for file, if the check method requires it
++case $deplibs_check_method in
++file_magic*)
++  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
++    AC_PATH_MAGIC
++  fi
++  ;;
++esac
++
++AC_CHECK_TOOL(RANLIB, ranlib, :)
++AC_CHECK_TOOL(STRIP, strip, :)
++
++ifdef([AC_PROVIDE_AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no)
++ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL],
++enable_win32_dll=yes, enable_win32_dll=no)
++
++AC_ARG_ENABLE(libtool-lock,
++  [  --disable-libtool-lock  avoid locking (might break parallel builds)])
++test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
++
++# Some flags need to be propagated to the compiler or linker for good
++# libtool support.
++case $host in
++*-*-irix6*)
++  # Find out which ABI we are using.
++  echo '[#]line __oline__ "configure"' > conftest.$ac_ext
++  if AC_TRY_EVAL(ac_compile); then
++    case `/usr/bin/file conftest.$ac_objext` in
++    *32-bit*)
++      LD="${LD-ld} -32"
++      ;;
++    *N32*)
++      LD="${LD-ld} -n32"
++      ;;
++    *64-bit*)
++      LD="${LD-ld} -64"
++      ;;
++    esac
++  fi
++  rm -rf conftest*
++  ;;
++
++*-*-sco3.2v5*)
++  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
++  SAVE_CFLAGS="$CFLAGS"
++  CFLAGS="$CFLAGS -belf"
++  AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
++    [AC_LANG_SAVE
++     AC_LANG_C
++     AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
++     AC_LANG_RESTORE])
++  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
++    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
++    CFLAGS="$SAVE_CFLAGS"
++  fi
++  ;;
++
++ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL],
++[*-*-cygwin* | *-*-mingw* | *-*-pw32*)
++  AC_CHECK_TOOL(DLLTOOL, dlltool, false)
++  AC_CHECK_TOOL(AS, as, false)
++  AC_CHECK_TOOL(OBJDUMP, objdump, false)
++
++  # recent cygwin and mingw systems supply a stub DllMain which the user
++  # can override, but on older systems we have to supply one
++  AC_CACHE_CHECK([if libtool should supply DllMain function], lt_cv_need_dllmain,
++    [AC_TRY_LINK([],
++      [extern int __attribute__((__stdcall__)) DllMain(void*, int, void*);
++      DllMain (0, 0, 0);],
++      [lt_cv_need_dllmain=no],[lt_cv_need_dllmain=yes])])
++
++  case $host/$CC in
++  *-*-cygwin*/gcc*-mno-cygwin*|*-*-mingw*)
++    # old mingw systems require "-dll" to link a DLL, while more recent ones
++    # require "-mdll"
++    SAVE_CFLAGS="$CFLAGS"
++    CFLAGS="$CFLAGS -mdll"
++    AC_CACHE_CHECK([how to link DLLs], lt_cv_cc_dll_switch,
++      [AC_TRY_LINK([], [], [lt_cv_cc_dll_switch=-mdll],[lt_cv_cc_dll_switch=-dll])])
++    CFLAGS="$SAVE_CFLAGS" ;;
++  *-*-cygwin* | *-*-pw32*)
++    # cygwin systems need to pass --dll to the linker, and not link
++    # crt.o which will require a WinMain@16 definition.
++    lt_cv_cc_dll_switch="-Wl,--dll -nostartfiles" ;;
++  esac
++  ;;
++  ])
++esac
++
++_LT_AC_LTCONFIG_HACK
++
++])
++
++# _LT_AC_CHECK_DLFCN
++# --------------------
++AC_DEFUN(_LT_AC_CHECK_DLFCN,
++[AC_CHECK_HEADERS(dlfcn.h)
++])# _LT_AC_CHECK_DLFCN
++
++# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
++# ---------------------------------
++AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE],
++[AC_REQUIRE([AC_CANONICAL_HOST])
++AC_REQUIRE([AC_PROG_NM])
++AC_REQUIRE([AC_OBJEXT])
++# Check for command to grab the raw symbol name followed by C symbol from nm.
++AC_MSG_CHECKING([command to parse $NM output])
++AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe], [dnl
++
++# These are sane defaults that work on at least a few old systems.
++# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
++
++# Character class describing NM global symbol codes.
++[symcode='[BCDEGRST]']
++
++# Regexp to match symbols that can be accessed directly from C.
++[sympat='\([_A-Za-z][_A-Za-z0-9]*\)']
++
++# Transform the above into a raw symbol and a C symbol.
++symxfrm='\1 \2\3 \3'
++
++# Transform an extracted symbol line into a proper C declaration
++lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'"
++
++# Define system-specific variables.
++case $host_os in
++aix*)
++  [symcode='[BCDT]']
++  ;;
++cygwin* | mingw* | pw32*)
++  [symcode='[ABCDGISTW]']
++  ;;
++hpux*) # Its linker distinguishes data from code symbols
++  lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
++  ;;
++irix*)
++  [symcode='[BCDEGRST]']
++  ;;
++solaris* | sysv5*)
++  [symcode='[BDT]']
++  ;;
++sysv4)
++  [symcode='[DFNSTU]']
++  ;;
++esac
++
++# Handle CRLF in mingw tool chain
++opt_cr=
++case $host_os in
++mingw*)
++  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
++  ;;
++esac
++
++# If we're using GNU nm, then use its standard symbol codes.
++if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then
++  [symcode='[ABCDGISTW]']
++fi
++
++# Try without a prefix undercore, then with it.
++for ac_symprfx in "" "_"; do
++
++  # Write the raw and C identifiers.
++[lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"]
++
++  # Check to see that the pipe works correctly.
++  pipe_works=no
++  rm -f conftest*
++  cat > conftest.$ac_ext <<EOF
++#ifdef __cplusplus
++extern "C" {
++#endif
++char nm_test_var;
++void nm_test_func(){}
++#ifdef __cplusplus
++}
++#endif
++int main(){nm_test_var='a';nm_test_func();return(0);}
++EOF
++
++  if AC_TRY_EVAL(ac_compile); then
++    # Now try to grab the symbols.
++    nlist=conftest.nm
++    if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
++      # Try sorting and uniquifying the output.
++      if sort "$nlist" | uniq > "$nlist"T; then
++	mv -f "$nlist"T "$nlist"
++      else
++	rm -f "$nlist"T
++      fi
++
++      # Make sure that we snagged all the symbols we need.
++      if egrep ' nm_test_var$' "$nlist" >/dev/null; then
++	if egrep ' nm_test_func$' "$nlist" >/dev/null; then
++	  cat <<EOF > conftest.$ac_ext
++#ifdef __cplusplus
++extern "C" {
++#endif
++
++EOF
++	  # Now generate the symbol file.
++	  eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext'
++
++	  cat <<EOF >> conftest.$ac_ext
++#if defined (__STDC__) && __STDC__
++# define lt_ptr_t void *
++#else
++# define lt_ptr_t char *
++# define const
++#endif
++
++/* The mapping between symbol names and symbols. */
++const struct {
++  const char *name;
++  lt_ptr_t address;
++}
++[lt_preloaded_symbols[] =]
++{
++EOF
++	  sed "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" >> conftest.$ac_ext
++	  cat <<\EOF >> conftest.$ac_ext
++  {0, (lt_ptr_t) 0}
++};
++
++#ifdef __cplusplus
++}
++#endif
++EOF
++	  # Now try linking the two files.
++	  mv conftest.$ac_objext conftstm.$ac_objext
++	  save_LIBS="$LIBS"
++	  save_CFLAGS="$CFLAGS"
++	  LIBS="conftstm.$ac_objext"
++	  CFLAGS="$CFLAGS$no_builtin_flag"
++	  if AC_TRY_EVAL(ac_link) && test -s conftest; then
++	    pipe_works=yes
++	  fi
++	  LIBS="$save_LIBS"
++	  CFLAGS="$save_CFLAGS"
++	else
++	  echo "cannot find nm_test_func in $nlist" >&AC_FD_CC
++	fi
++      else
++	echo "cannot find nm_test_var in $nlist" >&AC_FD_CC
++      fi
++    else
++      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AC_FD_CC
++    fi
++  else
++    echo "$progname: failed program was:" >&AC_FD_CC
++    cat conftest.$ac_ext >&5
++  fi
++  rm -f conftest* conftst*
++
++  # Do not use the global_symbol_pipe unless it works.
++  if test "$pipe_works" = yes; then
++    break
++  else
++    lt_cv_sys_global_symbol_pipe=
++  fi
++done
++])
++global_symbol_pipe="$lt_cv_sys_global_symbol_pipe"
++if test -z "$lt_cv_sys_global_symbol_pipe"; then
++  global_symbol_to_cdecl=
++else
++  global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl"
++fi
++if test -z "$global_symbol_pipe$global_symbol_to_cdecl"; then
++  AC_MSG_RESULT(failed)
++else
++  AC_MSG_RESULT(ok)
++fi
++]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
++
++# _LT_AC_LIBTOOL_SYS_PATH_SEPARATOR
++# ---------------------------------
++AC_DEFUN([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR],
++[# Find the correct PATH separator.  Usually this is `:', but
++# DJGPP uses `;' like DOS.
++if test "X${PATH_SEPARATOR+set}" != Xset; then
++  UNAME=${UNAME-`uname 2>/dev/null`}
++  case X$UNAME in
++    *-DOS) lt_cv_sys_path_separator=';' ;;
++    *)     lt_cv_sys_path_separator=':' ;;
++  esac
++fi
++])# _LT_AC_LIBTOOL_SYS_PATH_SEPARATOR
++
++# _LT_AC_PROG_ECHO_BACKSLASH
++# --------------------------
++# Add some code to the start of the generated configure script which
++# will find an echo command which doesn;t interpret backslashes.
++AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH],
++[ifdef([AC_DIVERSION_NOTICE], [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
++                              [AC_DIVERT_PUSH(NOTICE)])
++_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR
++
++# Check that we are running under the correct shell.
++SHELL=${CONFIG_SHELL-/bin/sh}
++
++case X$ECHO in
++X*--fallback-echo)
++  # Remove one level of quotation (which was required for Make).
++  ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
++  ;;
++esac
++
++echo=${ECHO-echo}
++if test "X[$]1" = X--no-reexec; then
++  # Discard the --no-reexec flag, and continue.
++  shift
++elif test "X[$]1" = X--fallback-echo; then
++  # Avoid inline document here, it may be left over
++  :
++elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
++  # Yippee, $echo works!
++  :
++else
++  # Restart under the correct shell.
++  exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
++fi
++
++if test "X[$]1" = X--fallback-echo; then
++  # used as fallback echo
++  shift
++  cat <<EOF
++$*
++EOF
++  exit 0
++fi
++
++# The HP-UX ksh and POSIX shell print the target directory to stdout
++# if CDPATH is set.
++if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
++
++if test -z "$ECHO"; then
++if test "X${echo_test_string+set}" != Xset; then
++# find a string as large as possible, as long as the shell can cope with it
++  for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
++    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
++    if (echo_test_string="`eval $cmd`") 2>/dev/null &&
++       echo_test_string="`eval $cmd`" &&
++       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
++    then
++      break
++    fi
++  done
++fi
++
++if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
++   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
++   test "X$echo_testing_string" = "X$echo_test_string"; then
++  :
++else
++  # The Solaris, AIX, and Digital Unix default echo programs unquote
++  # backslashes.  This makes it impossible to quote backslashes using
++  #   echo "$something" | sed 's/\\/\\\\/g'
++  #
++  # So, first we look for a working echo in the user's PATH.
++
++  IFS="${IFS= 	}"; save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR}"
++  for dir in $PATH /usr/ucb; do
++    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
++       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
++       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
++       test "X$echo_testing_string" = "X$echo_test_string"; then
++      echo="$dir/echo"
++      break
++    fi
++  done
++  IFS="$save_ifs"
++
++  if test "X$echo" = Xecho; then
++    # We didn't find a better echo, so look for alternatives.
++    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
++       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
++       test "X$echo_testing_string" = "X$echo_test_string"; then
++      # This shell has a builtin print -r that does the trick.
++      echo='print -r'
++    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
++	 test "X$CONFIG_SHELL" != X/bin/ksh; then
++      # If we have ksh, try running configure again with it.
++      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
++      export ORIGINAL_CONFIG_SHELL
++      CONFIG_SHELL=/bin/ksh
++      export CONFIG_SHELL
++      exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
++    else
++      # Try using printf.
++      echo='printf %s\n'
++      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
++	 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
++	 test "X$echo_testing_string" = "X$echo_test_string"; then
++	# Cool, printf works
++	:
++      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
++	   test "X$echo_testing_string" = 'X\t' &&
++	   echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
++	   test "X$echo_testing_string" = "X$echo_test_string"; then
++	CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
++	export CONFIG_SHELL
++	SHELL="$CONFIG_SHELL"
++	export SHELL
++	echo="$CONFIG_SHELL [$]0 --fallback-echo"
++      elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
++	   test "X$echo_testing_string" = 'X\t' &&
++	   echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
++	   test "X$echo_testing_string" = "X$echo_test_string"; then
++	echo="$CONFIG_SHELL [$]0 --fallback-echo"
++      else
++	# maybe with a smaller string...
++	prev=:
++
++	for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
++	  if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
++	  then
++	    break
++	  fi
++	  prev="$cmd"
++	done
++
++	if test "$prev" != 'sed 50q "[$]0"'; then
++	  echo_test_string=`eval $prev`
++	  export echo_test_string
++	  exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
++	else
++	  # Oops.  We lost completely, so just stick with echo.
++	  echo=echo
++	fi
++      fi
++    fi
++  fi
++fi
++fi
++
++# Copy echo and quote the copy suitably for passing to libtool from
++# the Makefile, instead of quoting the original, which is used later.
++ECHO=$echo
++if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
++   ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
++fi
++
++AC_SUBST(ECHO)
++AC_DIVERT_POP
++])# _LT_AC_PROG_ECHO_BACKSLASH
++
++# _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
++#                           ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
++# ------------------------------------------------------------------
++AC_DEFUN(_LT_AC_TRY_DLOPEN_SELF,
++[if test "$cross_compiling" = yes; then :
++  [$4]
++else
++  AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
++  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
++  lt_status=$lt_dlunknown
++  cat > conftest.$ac_ext <<EOF
++[#line __oline__ "configure"
++#include "confdefs.h"
++
++#if HAVE_DLFCN_H
++#include <dlfcn.h>
++#endif
++
++#include <stdio.h>
++
++#ifdef RTLD_GLOBAL
++#  define LT_DLGLOBAL		RTLD_GLOBAL
++#else
++#  ifdef DL_GLOBAL
++#    define LT_DLGLOBAL		DL_GLOBAL
++#  else
++#    define LT_DLGLOBAL		0
++#  endif
++#endif
++
++/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
++   find out it does not work in some platform. */
++#ifndef LT_DLLAZY_OR_NOW
++#  ifdef RTLD_LAZY
++#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
++#  else
++#    ifdef DL_LAZY
++#      define LT_DLLAZY_OR_NOW		DL_LAZY
++#    else
++#      ifdef RTLD_NOW
++#        define LT_DLLAZY_OR_NOW	RTLD_NOW
++#      else
++#        ifdef DL_NOW
++#          define LT_DLLAZY_OR_NOW	DL_NOW
++#        else
++#          define LT_DLLAZY_OR_NOW	0
++#        endif
++#      endif
++#    endif
++#  endif
++#endif
++
++#ifdef __cplusplus
++extern "C" void exit (int);
++#endif
++
++void fnord() { int i=42;}
++int main ()
++{
++  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
++  int status = $lt_dlunknown;
++
++  if (self)
++    {
++      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
++      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
++      /* dlclose (self); */
++    }
++
++    exit (status);
++}]
++EOF
++  if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
++    (./conftest; exit; ) 2>/dev/null
++    lt_status=$?
++    case x$lt_status in
++      x$lt_dlno_uscore) $1 ;;
++      x$lt_dlneed_uscore) $2 ;;
++      x$lt_unknown|x*) $3 ;;
++    esac
++  else :
++    # compilation failed
++    $3
++  fi
++fi
++rm -fr conftest*
++])# _LT_AC_TRY_DLOPEN_SELF
++
++# AC_LIBTOOL_DLOPEN_SELF
++# -------------------
++AC_DEFUN(AC_LIBTOOL_DLOPEN_SELF,
++[if test "x$enable_dlopen" != xyes; then
++  enable_dlopen=unknown
++  enable_dlopen_self=unknown
++  enable_dlopen_self_static=unknown
++else
++  lt_cv_dlopen=no
++  lt_cv_dlopen_libs=
++
++  case $host_os in
++  beos*)
++    lt_cv_dlopen="load_add_on"
++    lt_cv_dlopen_libs=
++    lt_cv_dlopen_self=yes
++    ;;
++
++  cygwin* | mingw* | pw32*)
++    lt_cv_dlopen="LoadLibrary"
++    lt_cv_dlopen_libs=
++   ;;
++
++  *)
++    AC_CHECK_LIB(dl, dlopen,  [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
++      [AC_CHECK_FUNC(dlopen, lt_cv_dlopen="dlopen",
++        [AC_CHECK_FUNC(shl_load, lt_cv_dlopen="shl_load",
++          [AC_CHECK_LIB(svld, dlopen,
++	    [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
++            [AC_CHECK_LIB(dld, shl_load,
++              [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
++	    ])
++          ])
++        ])
++      ])
++    ;;
++  esac
++
++  if test "x$lt_cv_dlopen" != xno; then
++    enable_dlopen=yes
++  else
++    enable_dlopen=no
++  fi
++
++  case $lt_cv_dlopen in
++  dlopen)
++    save_CPPFLAGS="$CPPFLAGS"
++    AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
++    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
++
++    save_LDFLAGS="$LDFLAGS"
++    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
++
++    save_LIBS="$LIBS"
++    LIBS="$lt_cv_dlopen_libs $LIBS"
++
++    AC_CACHE_CHECK([whether a program can dlopen itself],
++	  lt_cv_dlopen_self, [dnl
++	  _LT_AC_TRY_DLOPEN_SELF(
++	    lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
++	    lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
++    ])
++
++    if test "x$lt_cv_dlopen_self" = xyes; then
++      LDFLAGS="$LDFLAGS $link_static_flag"
++      AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
++    	  lt_cv_dlopen_self_static, [dnl
++	  _LT_AC_TRY_DLOPEN_SELF(
++	    lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
++	    lt_cv_dlopen_self_static=no,  lt_cv_dlopen_self_static=cross)
++      ])
++    fi
++
++    CPPFLAGS="$save_CPPFLAGS"
++    LDFLAGS="$save_LDFLAGS"
++    LIBS="$save_LIBS"
++    ;;
++  esac
++
++  case $lt_cv_dlopen_self in
++  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
++  *) enable_dlopen_self=unknown ;;
++  esac
++
++  case $lt_cv_dlopen_self_static in
++  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
++  *) enable_dlopen_self_static=unknown ;;
++  esac
++fi
++])# AC_LIBTOOL_DLOPEN_SELF
++
++AC_DEFUN([_LT_AC_LTCONFIG_HACK],
++[AC_REQUIRE([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])dnl
++# Sed substitution that helps us do robust quoting.  It backslashifies
++# metacharacters that are still active within double-quoted strings.
++Xsed='sed -e s/^X//'
++[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g']
++
++# Same as above, but do not quote variable references.
++[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g']
++
++# Sed substitution to delay expansion of an escaped shell variable in a
++# double_quote_subst'ed string.
++delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
++
++# Constants:
++rm="rm -f"
++
++# Global variables:
++default_ofile=libtool
++can_build_shared=yes
++
++# All known linkers require a `.a' archive for static linking (except M$VC,
++# which needs '.lib').
++libext=a
++ltmain="$ac_aux_dir/ltmain.sh"
++ofile="$default_ofile"
++with_gnu_ld="$lt_cv_prog_gnu_ld"
++need_locks="$enable_libtool_lock"
++
++old_CC="$CC"
++old_CFLAGS="$CFLAGS"
++
++# Set sane defaults for various variables
++test -z "$AR" && AR=ar
++test -z "$AR_FLAGS" && AR_FLAGS=cru
++test -z "$AS" && AS=as
++test -z "$CC" && CC=cc
++test -z "$DLLTOOL" && DLLTOOL=dlltool
++test -z "$LD" && LD=ld
++test -z "$LN_S" && LN_S="ln -s"
++test -z "$MAGIC_CMD" && MAGIC_CMD=file
++test -z "$NM" && NM=nm
++test -z "$OBJDUMP" && OBJDUMP=objdump
++test -z "$RANLIB" && RANLIB=:
++test -z "$STRIP" && STRIP=:
++test -z "$ac_objext" && ac_objext=o
++
++if test x"$host" != x"$build"; then
++  ac_tool_prefix=${host_alias}-
++else
++  ac_tool_prefix=
++fi
++
++# Transform linux* to *-*-linux-gnu*, to support old configure scripts.
++case $host_os in
++linux-gnu*) ;;
++linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
++esac
++
++case $host_os in
++aix3*)
++  # AIX sometimes has problems with the GCC collect2 program.  For some
++  # reason, if we set the COLLECT_NAMES environment variable, the problems
++  # vanish in a puff of smoke.
++  if test "X${COLLECT_NAMES+set}" != Xset; then
++    COLLECT_NAMES=
++    export COLLECT_NAMES
++  fi
++  ;;
++esac
++
++# Determine commands to create old-style static archives.
++old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
++old_postinstall_cmds='chmod 644 $oldlib'
++old_postuninstall_cmds=
++
++if test -n "$RANLIB"; then
++  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
++  old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
++fi
++
++# Allow CC to be a program name with arguments.
++set dummy $CC
++compiler="[$]2"
++
++AC_MSG_CHECKING([for objdir])
++rm -f .libs 2>/dev/null
++mkdir .libs 2>/dev/null
++if test -d .libs; then
++  objdir=.libs
++else
++  # MS-DOS does not allow filenames that begin with a dot.
++  objdir=_libs
++fi
++rmdir .libs 2>/dev/null
++AC_MSG_RESULT($objdir)
++
++
++AC_ARG_WITH(pic, 
++[  --with-pic              try to use only PIC/non-PIC objects [default=use both]],
++pic_mode="$withval", pic_mode=default)
++test -z "$pic_mode" && pic_mode=default
++
++# We assume here that the value for lt_cv_prog_cc_pic will not be cached
++# in isolation, and that seeing it set (from the cache) indicates that
++# the associated values are set (in the cache) correctly too.
++AC_MSG_CHECKING([for $compiler option to produce PIC])
++AC_CACHE_VAL(lt_cv_prog_cc_pic,
++[ lt_cv_prog_cc_pic=
++  lt_cv_prog_cc_shlib=
++  lt_cv_prog_cc_wl=
++  lt_cv_prog_cc_static=
++  lt_cv_prog_cc_no_builtin=
++  lt_cv_prog_cc_can_build_shared=$can_build_shared
++
++  if test "$GCC" = yes; then
++    lt_cv_prog_cc_wl='-Wl,'
++    lt_cv_prog_cc_static='-static'
++
++    case $host_os in
++    aix*)
++      # Below there is a dirty hack to force normal static linking with -ldl
++      # The problem is because libdl dynamically linked with both libc and
++      # libC (AIX C++ library), which obviously doesn't included in libraries
++      # list by gcc. This cause undefined symbols with -static flags.
++      # This hack allows C programs to be linked with "-static -ldl", but
++      # we not sure about C++ programs.
++      lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC"
++      ;;
++    amigaos*)
++      # FIXME: we need at least 68020 code to build shared libraries, but
++      # adding the `-m68020' flag to GCC prevents building anything better,
++      # like `-m68040'.
++      lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4'
++      ;;
++    beos* | irix5* | irix6* | osf3* | osf4* | osf5*)
++      # PIC is the default for these OSes.
++      ;;
++    darwin* | rhapsody*)
++      # PIC is the default on this platform
++      # Common symbols not allowed in MH_DYLIB files
++      lt_cv_prog_cc_pic='-fno-common'
++      ;;
++    cygwin* | mingw* | pw32* | os2*)
++      # This hack is so that the source file can tell whether it is being
++      # built for inclusion in a dll (and should export symbols for example).
++      lt_cv_prog_cc_pic='-DDLL_EXPORT'
++      ;;
++    sysv4*MP*)
++      if test -d /usr/nec; then
++	 lt_cv_prog_cc_pic=-Kconform_pic
++      fi
++      ;;
++    *)
++      lt_cv_prog_cc_pic='-fPIC'
++      ;;
++    esac
++  else
++    # PORTME Check for PIC flags for the system compiler.
++    case $host_os in
++    aix3* | aix4* | aix5*)
++      # All AIX code is PIC.
++      if test "$host_cpu" = ia64; then
++        # AIX 5 now supports IA64 processor
++        lt_cv_prog_cc_static='-Bstatic'
++        lt_cv_prog_cc_wl='-Wl,'
++      else
++        lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp'
++      fi
++      ;;
++
++    hpux9* | hpux10* | hpux11*)
++      # Is there a better lt_cv_prog_cc_static that works with the bundled CC?
++      lt_cv_prog_cc_wl='-Wl,'
++      lt_cv_prog_cc_static="${lt_cv_prog_cc_wl}-a ${lt_cv_prog_cc_wl}archive"
++      lt_cv_prog_cc_pic='+Z'
++      ;;
++
++    irix5* | irix6*)
++      lt_cv_prog_cc_wl='-Wl,'
++      lt_cv_prog_cc_static='-non_shared'
++      # PIC (with -KPIC) is the default.
++      ;;
++
++    cygwin* | mingw* | pw32* | os2*)
++      # This hack is so that the source file can tell whether it is being
++      # built for inclusion in a dll (and should export symbols for example).
++      lt_cv_prog_cc_pic='-DDLL_EXPORT'
++      ;;
++
++    newsos6)
++      lt_cv_prog_cc_pic='-KPIC'
++      lt_cv_prog_cc_static='-Bstatic'
++      ;;
++
++    osf3* | osf4* | osf5*)
++      # All OSF/1 code is PIC.
++      lt_cv_prog_cc_wl='-Wl,'
++      lt_cv_prog_cc_static='-non_shared'
++      ;;
++
++    sco3.2v5*)
++      lt_cv_prog_cc_pic='-Kpic'
++      lt_cv_prog_cc_static='-dn'
++      lt_cv_prog_cc_shlib='-belf'
++      ;;
++
++    solaris*)
++      lt_cv_prog_cc_pic='-KPIC'
++      lt_cv_prog_cc_static='-Bstatic'
++      lt_cv_prog_cc_wl='-Wl,'
++      ;;
++
++    sunos4*)
++      lt_cv_prog_cc_pic='-PIC'
++      lt_cv_prog_cc_static='-Bstatic'
++      lt_cv_prog_cc_wl='-Qoption ld '
++      ;;
++
++    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
++      lt_cv_prog_cc_pic='-KPIC'
++      lt_cv_prog_cc_static='-Bstatic'
++      if test "x$host_vendor" = xsni; then
++        lt_cv_prog_cc_wl='-LD'
++      else
++        lt_cv_prog_cc_wl='-Wl,'
++      fi
++      ;;
++
++    uts4*)
++      lt_cv_prog_cc_pic='-pic'
++      lt_cv_prog_cc_static='-Bstatic'
++      ;;
++
++    sysv4*MP*)
++      if test -d /usr/nec ;then
++	lt_cv_prog_cc_pic='-Kconform_pic'
++	lt_cv_prog_cc_static='-Bstatic'
++      fi
++      ;;
++
++    *)
++      lt_cv_prog_cc_can_build_shared=no
++      ;;
++    esac
++  fi
++])
++if test -z "$lt_cv_prog_cc_pic"; then
++  AC_MSG_RESULT([none])
++else
++  AC_MSG_RESULT([$lt_cv_prog_cc_pic])
++
++  # Check to make sure the pic_flag actually works.
++  AC_MSG_CHECKING([if $compiler PIC flag $lt_cv_prog_cc_pic works])
++  AC_CACHE_VAL(lt_cv_prog_cc_pic_works, [dnl
++    save_CFLAGS="$CFLAGS"
++    CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"
++    AC_TRY_COMPILE([], [], [dnl
++      case $host_os in
++      hpux9* | hpux10* | hpux11*)
++	# On HP-UX, both CC and GCC only warn that PIC is supported... then
++	# they create non-PIC objects.  So, if there were any warnings, we
++	# assume that PIC is not supported.
++	if test -s conftest.err; then
++	  lt_cv_prog_cc_pic_works=no
++	else
++	  lt_cv_prog_cc_pic_works=yes
++	fi
++	;;
++      *)
++	lt_cv_prog_cc_pic_works=yes
++	;;
++      esac
++    ], [dnl
++      lt_cv_prog_cc_pic_works=no
++    ])
++    CFLAGS="$save_CFLAGS"
++  ])
++
++  if test "X$lt_cv_prog_cc_pic_works" = Xno; then
++    lt_cv_prog_cc_pic=
++    lt_cv_prog_cc_can_build_shared=no
++  else
++    lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic"
++  fi
++
++  AC_MSG_RESULT([$lt_cv_prog_cc_pic_works])
++fi
++
++# Check for any special shared library compilation flags.
++if test -n "$lt_cv_prog_cc_shlib"; then
++  AC_MSG_WARN([\`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries])
++  if echo "$old_CC $old_CFLAGS " | [egrep -e "[ 	]$lt_cv_prog_cc_shlib[ 	]"] >/dev/null; then :
++  else
++   AC_MSG_WARN([add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure])
++    lt_cv_prog_cc_can_build_shared=no
++  fi
++fi
++
++AC_MSG_CHECKING([if $compiler static flag $lt_cv_prog_cc_static works])
++AC_CACHE_VAL([lt_cv_prog_cc_static_works], [dnl
++  lt_cv_prog_cc_static_works=no
++  save_LDFLAGS="$LDFLAGS"
++  LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"
++  AC_TRY_LINK([], [], [lt_cv_prog_cc_static_works=yes])
++  LDFLAGS="$save_LDFLAGS"
++])
++
++# Belt *and* braces to stop my trousers falling down:
++test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static=
++AC_MSG_RESULT([$lt_cv_prog_cc_static_works])
++
++pic_flag="$lt_cv_prog_cc_pic"
++special_shlib_compile_flags="$lt_cv_prog_cc_shlib"
++wl="$lt_cv_prog_cc_wl"
++link_static_flag="$lt_cv_prog_cc_static"
++no_builtin_flag="$lt_cv_prog_cc_no_builtin"
++can_build_shared="$lt_cv_prog_cc_can_build_shared"
++
++
++# Check to see if options -o and -c are simultaneously supported by compiler
++AC_MSG_CHECKING([if $compiler supports -c -o file.$ac_objext])
++AC_CACHE_VAL([lt_cv_compiler_c_o], [
++$rm -r conftest 2>/dev/null
++mkdir conftest
++cd conftest
++echo "int some_variable = 0;" > conftest.$ac_ext
++mkdir out
++# According to Tom Tromey, Ian Lance Taylor reported there are C compilers
++# that will create temporary files in the current directory regardless of
++# the output directory.  Thus, making CWD read-only will cause this test
++# to fail, enabling locking or at least warning the user not to do parallel
++# builds.
++chmod -w .
++save_CFLAGS="$CFLAGS"
++CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
++compiler_c_o=no
++if { (eval echo configure:__oline__: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
++  # The compiler can only warn and ignore the option if not recognized
++  # So say no if there are warnings
++  if test -s out/conftest.err; then
++    lt_cv_compiler_c_o=no
++  else
++    lt_cv_compiler_c_o=yes
++  fi
++else
++  # Append any errors to the config.log.
++  cat out/conftest.err 1>&AC_FD_CC
++  lt_cv_compiler_c_o=no
++fi
++CFLAGS="$save_CFLAGS"
++chmod u+w .
++$rm conftest* out/*
++rmdir out
++cd ..
++rmdir conftest
++$rm -r conftest 2>/dev/null
++])
++compiler_c_o=$lt_cv_compiler_c_o
++AC_MSG_RESULT([$compiler_c_o])
++
++if test x"$compiler_c_o" = x"yes"; then
++  # Check to see if we can write to a .lo
++  AC_MSG_CHECKING([if $compiler supports -c -o file.lo])
++  AC_CACHE_VAL([lt_cv_compiler_o_lo], [
++  lt_cv_compiler_o_lo=no
++  save_CFLAGS="$CFLAGS"
++  CFLAGS="$CFLAGS -c -o conftest.lo"
++  AC_TRY_COMPILE([], [int some_variable = 0;], [dnl
++    # The compiler can only warn and ignore the option if not recognized
++    # So say no if there are warnings
++    if test -s conftest.err; then
++      lt_cv_compiler_o_lo=no
++    else
++      lt_cv_compiler_o_lo=yes
++    fi
++  ])
++  CFLAGS="$save_CFLAGS"
++  ])
++  compiler_o_lo=$lt_cv_compiler_o_lo
++  AC_MSG_RESULT([$compiler_c_lo])
++else
++  compiler_o_lo=no
++fi
++
++# Check to see if we can do hard links to lock some files if needed
++hard_links="nottested"
++if test "$compiler_c_o" = no && test "$need_locks" != no; then
++  # do not overwrite the value of need_locks provided by the user
++  AC_MSG_CHECKING([if we can lock with hard links])
++  hard_links=yes
++  $rm conftest*
++  ln conftest.a conftest.b 2>/dev/null && hard_links=no
++  touch conftest.a
++  ln conftest.a conftest.b 2>&5 || hard_links=no
++  ln conftest.a conftest.b 2>/dev/null && hard_links=no
++  AC_MSG_RESULT([$hard_links])
++  if test "$hard_links" = no; then
++    AC_MSG_WARN([\`$CC' does not support \`-c -o', so \`make -j' may be unsafe])
++    need_locks=warn
++  fi
++else
++  need_locks=no
++fi
++
++if test "$GCC" = yes; then
++  # Check to see if options -fno-rtti -fno-exceptions are supported by compiler
++  AC_MSG_CHECKING([if $compiler supports -fno-rtti -fno-exceptions])
++  echo "int some_variable = 0;" > conftest.$ac_ext
++  save_CFLAGS="$CFLAGS"
++  CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"
++  compiler_rtti_exceptions=no
++  AC_TRY_COMPILE([], [int some_variable = 0;], [dnl
++    # The compiler can only warn and ignore the option if not recognized
++    # So say no if there are warnings
++    if test -s conftest.err; then
++      compiler_rtti_exceptions=no
++    else
++      compiler_rtti_exceptions=yes
++    fi
++  ])
++  CFLAGS="$save_CFLAGS"
++  AC_MSG_RESULT([$compiler_rtti_exceptions])
++
++  if test "$compiler_rtti_exceptions" = "yes"; then
++    no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions'
++  else
++    no_builtin_flag=' -fno-builtin'
++  fi
++fi
++
++# See if the linker supports building shared libraries.
++AC_MSG_CHECKING([whether the linker ($LD) supports shared libraries])
++
++allow_undefined_flag=
++no_undefined_flag=
++need_lib_prefix=unknown
++need_version=unknown
++# when you set need_version to no, make sure it does not cause -set_version
++# flags to be left without arguments
++archive_cmds=
++archive_expsym_cmds=
++old_archive_from_new_cmds=
++old_archive_from_expsyms_cmds=
++export_dynamic_flag_spec=
++whole_archive_flag_spec=
++thread_safe_flag_spec=
++hardcode_into_libs=no
++hardcode_libdir_flag_spec=
++hardcode_libdir_separator=
++hardcode_direct=no
++hardcode_minus_L=no
++hardcode_shlibpath_var=unsupported
++runpath_var=
++link_all_deplibs=unknown
++always_export_symbols=no
++export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols'
++# include_expsyms should be a list of space-separated symbols to be *always*
++# included in the symbol list
++include_expsyms=
++# exclude_expsyms can be an egrep regular expression of symbols to exclude
++# it will be wrapped by ` (' and `)$', so one must not match beginning or
++# end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
++# as well as any symbol that contains `d'.
++exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
++# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
++# platforms (ab)use it in PIC code, but their linkers get confused if
++# the symbol is explicitly referenced.  Since portable code cannot
++# rely on this symbol name, it's probably fine to never include it in
++# preloaded symbol tables.
++extract_expsyms_cmds=
++
++case $host_os in
++cygwin* | mingw* | pw32* )
++  # FIXME: the MSVC++ port hasn't been tested in a loooong time
++  # When not using gcc, we currently assume that we are using
++  # Microsoft Visual C++.
++  if test "$GCC" != yes; then
++    with_gnu_ld=no
++  fi
++  ;;
++
++esac
++
++ld_shlibs=yes
++if test "$with_gnu_ld" = yes; then
++  # If archive_cmds runs LD, not CC, wlarc should be empty
++  wlarc='${wl}'
++
++  # See if GNU ld supports shared libraries.
++  case $host_os in
++  aix3* | aix4* | aix5*)
++    # On AIX, the GNU linker is very broken
++    # Note:Check GNU linker on AIX 5-IA64 when/if it becomes available.
++    ld_shlibs=no
++    cat <<EOF 1>&2
++
++*** Warning: the GNU linker, at least up to release 2.9.1, is reported
++*** to be unable to reliably create shared libraries on AIX.
++*** Therefore, libtool is disabling shared libraries support.  If you
++*** really care for shared libraries, you may want to modify your PATH
++*** so that a non-GNU linker is found, and then restart.
++
++EOF
++    ;;
++
++  amigaos*)
++    archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
++    hardcode_libdir_flag_spec='-L$libdir'
++    hardcode_minus_L=yes
++
++    # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
++    # that the semantics of dynamic libraries on AmigaOS, at least up
++    # to version 4, is to share data among multiple programs linked
++    # with the same dynamic library.  Since this doesn't match the
++    # behavior of shared libraries on other platforms, we can use
++    # them.
++    ld_shlibs=no
++    ;;
++
++  beos*)
++    if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
++      allow_undefined_flag=unsupported
++      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
++      # support --undefined.  This deserves some investigation.  FIXME
++      archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++    else
++      ld_shlibs=no
++    fi
++    ;;
++
++  cygwin* | mingw* | pw32*)
++    # hardcode_libdir_flag_spec is actually meaningless, as there is
++    # no search path for DLLs.
++    hardcode_libdir_flag_spec='-L$libdir'
++    allow_undefined_flag=unsupported
++    always_export_symbols=yes
++
++    extract_expsyms_cmds='test -f $output_objdir/impgen.c || \
++      sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~
++      test -f $output_objdir/impgen.exe || (cd $output_objdir && \
++      if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \
++      else $CC -o impgen impgen.c ; fi)~
++      $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def'
++
++    old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib'
++
++    # cygwin and mingw dlls have different entry points and sets of symbols
++    # to exclude.
++    # FIXME: what about values for MSVC?
++    dll_entry=__cygwin_dll_entry@12
++    dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~
++    case $host_os in
++    mingw*)
++      # mingw values
++      dll_entry=_DllMainCRTStartup@12
++      dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~
++      ;;
++    esac
++
++    # mingw and cygwin differ, and it's simplest to just exclude the union
++    # of the two symbol sets.
++    dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12
++
++    # recent cygwin and mingw systems supply a stub DllMain which the user
++    # can override, but on older systems we have to supply one (in ltdll.c)
++    if test "x$lt_cv_need_dllmain" = "xyes"; then
++      ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext "
++      ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < [$]0 > $output_objdir/$soname-ltdll.c~
++	test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~'
++    else
++      ltdll_obj=
++      ltdll_cmds=
++    fi
++
++    # Extract the symbol export list from an `--export-all' def file,
++    # then regenerate the def file from the symbol export list, so that
++    # the compiled dll only exports the symbol export list.
++    # Be careful not to strip the DATA tag left be newer dlltools.
++    export_symbols_cmds="$ltdll_cmds"'
++      $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~
++      [sed -e "1,/EXPORTS/d" -e "s/ @ [0-9]*//" -e "s/ *;.*$//"] < $output_objdir/$soname-def > $export_symbols'
++
++    # If the export-symbols file already is a .def file (1st line
++    # is EXPORTS), use it as is.
++    # If DATA tags from a recent dlltool are present, honour them!
++    archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then
++        cp $export_symbols $output_objdir/$soname-def;
++      else
++        echo EXPORTS > $output_objdir/$soname-def;
++        _lt_hint=1;
++        cat $export_symbols | while read symbol; do
++         set dummy \$symbol;
++         case \[$]# in
++           2) echo "   \[$]2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
++           *) echo "     \[$]2 @ \$_lt_hint \[$]3 ; " >> $output_objdir/$soname-def;;
++         esac;
++         _lt_hint=`expr 1 + \$_lt_hint`;
++        done;
++      fi~
++      '"$ltdll_cmds"'
++      $CC -Wl,--base-file,$output_objdir/$soname-base '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
++      $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp~
++      $CC -Wl,--base-file,$output_objdir/$soname-base $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
++      $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp --output-lib $output_objdir/$libname.dll.a~
++      $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags'
++    ;;
++
++  netbsd*)
++    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++      archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
++      wlarc=
++    else
++      archive_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++      archive_expsym_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++    fi
++    ;;
++
++  solaris* | sysv5*)
++    if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then
++      ld_shlibs=no
++      cat <<EOF 1>&2
++
++*** Warning: The releases 2.8.* of the GNU linker cannot reliably
++*** create shared libraries on Solaris systems.  Therefore, libtool
++*** is disabling shared libraries support.  We urge you to upgrade GNU
++*** binutils to release 2.9.1 or newer.  Another option is to modify
++*** your PATH or compiler configuration so that the native linker is
++*** used, and then restart.
++
++EOF
++    elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
++      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++      archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++    else
++      ld_shlibs=no
++    fi
++    ;;
++
++  sunos4*)
++    archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++    wlarc=
++    hardcode_direct=yes
++    hardcode_shlibpath_var=no
++    ;;
++
++  *)
++    if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
++      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++      archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++    else
++      ld_shlibs=no
++    fi
++    ;;
++  esac
++
++  if test "$ld_shlibs" = yes; then
++    runpath_var=LD_RUN_PATH
++    hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
++    export_dynamic_flag_spec='${wl}--export-dynamic'
++    case $host_os in
++    cygwin* | mingw* | pw32*)
++      # dlltool doesn't understand --whole-archive et. al.
++      whole_archive_flag_spec=
++      ;;
++    *)
++      # ancient GNU ld didn't support --whole-archive et. al.
++      if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then
++	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
++      else
++	whole_archive_flag_spec=
++      fi
++      ;;
++    esac
++  fi
++else
++  # PORTME fill in a description of your system's linker (not GNU ld)
++  case $host_os in
++  aix3*)
++    allow_undefined_flag=unsupported
++    always_export_symbols=yes
++    archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
++    # Note: this linker hardcodes the directories in LIBPATH if there
++    # are no directories specified by -L.
++    hardcode_minus_L=yes
++    if test "$GCC" = yes && test -z "$link_static_flag"; then
++      # Neither direct hardcoding nor static linking is supported with a
++      # broken collect2.
++      hardcode_direct=unsupported
++    fi
++    ;;
++
++  aix4* | aix5*)
++    # When large executables or shared objects are built, AIX ld can
++    # have problems creating the table of contents.  If linking a library
++    # or program results in "error TOC overflow" add -mminimal-toc to
++    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
++    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
++
++    archive_cmds=''
++    hardcode_libdir_separator=':'
++    if test "$GCC" = yes; then
++      collect2name=`${CC} -print-prog-name=collect2`
++      if test -f "$collect2name" && \
++	 strings "$collect2name" | grep resolve_lib_name >/dev/null
++      then
++	# We have reworked collect2
++	hardcode_direct=yes
++      else
++        # We have old collect2
++        hardcode_direct=unsupported
++        # It fails to find uninstalled libraries when the uninstalled
++        # path is not listed in the libpath.  Setting hardcode_minus_L
++        # to unsupported forces relinking
++        hardcode_minus_L=yes
++        hardcode_libdir_flag_spec='-L$libdir'
++        hardcode_libdir_separator=
++      fi
++      shared_flag='-shared'
++    else
++      if test "$host_cpu" = ia64; then
++        shared_flag='-G'
++      else
++        shared_flag='${wl}-bM:SRE'
++      fi
++      hardcode_direct=yes
++    fi
++
++    if test "$host_cpu" = ia64; then
++      # On IA64, the linker does run time linking by default, so we don't
++      # have to do anything special.
++      aix_use_runtimelinking=no
++      exp_sym_flag='-Bexport'
++      no_entry_flag=""
++    else
++      # Test if we are trying to use run time linking, or normal AIX style linking.
++      # If -brtl is somewhere in LDFLAGS, we need to do run time linking.
++      aix_use_runtimelinking=no
++      for ld_flag in $LDFLAGS; do
++        if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl" ); then
++          aix_use_runtimelinking=yes
++          break
++        fi
++      done
++      exp_sym_flag='-bexport'
++      no_entry_flag='-bnoentry'
++    fi
++    # It seems that -bexpall can do strange things, so it is better to
++    # generate a list of symbols to export.
++    always_export_symbols=yes
++    if test "$aix_use_runtimelinking" = yes; then
++      hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib'
++      allow_undefined_flag=' -Wl,-G'
++      archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
++    else
++      if test "$host_cpu" = ia64; then
++        hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
++       allow_undefined_flag="-znodefs"
++        archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
++      else
++        hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib'
++        # Warning - without using the other run time loading flags, -berok will
++        #           link without error, but may produce a broken library.
++        allow_undefined_flag='${wl}-berok"
++        # This is a bit strange, but is similar to how AIX traditionally builds
++        # it's shared libraries.
++        archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $objdir/$libname$release.a $objdir/$soname'
++      fi
++    fi
++    ;;
++
++  amigaos*)
++    archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
++    hardcode_libdir_flag_spec='-L$libdir'
++    hardcode_minus_L=yes
++    # see comment about different semantics on the GNU ld section
++    ld_shlibs=no
++    ;;
++
++  cygwin* | mingw* | pw32*)
++    # When not using gcc, we currently assume that we are using
++    # Microsoft Visual C++.
++    # hardcode_libdir_flag_spec is actually meaningless, as there is
++    # no search path for DLLs.
++    hardcode_libdir_flag_spec=' '
++    allow_undefined_flag=unsupported
++    # Tell ltmain to make .lib files, not .a files.
++    libext=lib
++    # FIXME: Setting linknames here is a bad hack.
++    archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames='
++    # The linker will automatically build a .lib file if we build a DLL.
++    old_archive_from_new_cmds='true'
++    # FIXME: Should let the user specify the lib program.
++    old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
++    fix_srcfile_path='`cygpath -w "$srcfile"`'
++    ;;
++
++  darwin* | rhapsody*)
++    allow_undefined_flag='-undefined suppress'
++    # FIXME: Relying on posixy $() will cause problems for
++    #        cross-compilation, but unfortunately the echo tests do not
++    #        yet detect zsh echo's removal of \ escapes.
++    archive_cmds='$CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linkopts -install_name $rpath/$soname $(test -n "$verstring" -a x$verstring != x0.0 && echo $verstring)'
++    # We need to add '_' to the symbols in $export_symbols first
++    #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
++    hardcode_direct=yes
++    hardcode_shlibpath_var=no
++    whole_archive_flag_spec='-all_load $convenience'
++    ;;
++
++  freebsd1*)
++    ld_shlibs=no
++    ;;
++
++  # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
++  # support.  Future versions do this automatically, but an explicit c++rt0.o
++  # does not break anything, and helps significantly (at the cost of a little
++  # extra space).
++  freebsd2.2*)
++    archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
++    hardcode_libdir_flag_spec='-R$libdir'
++    hardcode_direct=yes
++    hardcode_shlibpath_var=no
++    ;;
++
++  # Unfortunately, older versions of FreeBSD 2 do not have this feature.
++  freebsd2*)
++    archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++    hardcode_direct=yes
++    hardcode_minus_L=yes
++    hardcode_shlibpath_var=no
++    ;;
++
++  # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
++  freebsd*)
++    archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
++    hardcode_libdir_flag_spec='-R$libdir'
++    hardcode_direct=yes
++    hardcode_shlibpath_var=no
++    ;;
++
++  hpux9* | hpux10* | hpux11*)
++    case $host_os in
++    hpux9*) archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ;;
++    *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;;
++    esac
++    hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
++    hardcode_libdir_separator=:
++    hardcode_direct=yes
++    hardcode_minus_L=yes # Not in the search PATH, but as the default
++			 # location of the library.
++    export_dynamic_flag_spec='${wl}-E'
++    ;;
++
++  irix5* | irix6*)
++    if test "$GCC" = yes; then
++      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++    else
++      archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
++    fi
++    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
++    hardcode_libdir_separator=:
++    link_all_deplibs=yes
++    ;;
++
++  netbsd*)
++    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
++    else
++      archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
++    fi
++    hardcode_libdir_flag_spec='-R$libdir'
++    hardcode_direct=yes
++    hardcode_shlibpath_var=no
++    ;;
++
++  newsos6)
++    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linkopts'
++    hardcode_direct=yes
++    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
++    hardcode_libdir_separator=:
++    hardcode_shlibpath_var=no
++    ;;
++
++  openbsd*)
++    archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++    hardcode_libdir_flag_spec='-R$libdir'
++    hardcode_direct=yes
++    hardcode_shlibpath_var=no
++    ;;
++
++  os2*)
++    hardcode_libdir_flag_spec='-L$libdir'
++    hardcode_minus_L=yes
++    allow_undefined_flag=unsupported
++    archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
++    old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
++    ;;
++
++  osf3*)
++    if test "$GCC" = yes; then
++      allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
++      archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++    else
++      allow_undefined_flag=' -expect_unresolved \*'
++      archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
++    fi
++    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
++    hardcode_libdir_separator=:
++    ;;
++
++  osf4* | osf5*)	# as osf3* with the addition of -msym flag
++    if test "$GCC" = yes; then
++      allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
++      archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
++    else
++      allow_undefined_flag=' -expect_unresolved \*'
++      archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
++      archive_expsym_cmds='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
++      $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
++
++      #Both c and cxx compiler support -rpath directly
++      hardcode_libdir_flag_spec='-rpath $libdir'
++    fi
++    hardcode_libdir_separator=:
++    ;;
++
++  sco3.2v5*)
++    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++    hardcode_shlibpath_var=no
++    runpath_var=LD_RUN_PATH
++    hardcode_runpath_var=yes
++    ;;
++
++  solaris*)
++    no_undefined_flag=' -z defs'
++    # $CC -shared without GNU ld will not create a library from C++
++    # object files and a static libstdc++, better avoid it by now
++    archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
++    archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++		$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
++    hardcode_libdir_flag_spec='-R$libdir'
++    hardcode_shlibpath_var=no
++    case $host_os in
++    [solaris2.[0-5] | solaris2.[0-5].*]) ;;
++    *) # Supported since Solaris 2.6 (maybe 2.5.1?)
++      whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
++    esac
++    link_all_deplibs=yes
++    ;;
++
++  sunos4*)
++    if test "x$host_vendor" = xsequent; then
++      # Use $CC to link under sequent, because it throws in some extra .o
++      # files that make .init and .fini sections work.
++      archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
++    else
++      archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
++    fi
++    hardcode_libdir_flag_spec='-L$libdir'
++    hardcode_direct=yes
++    hardcode_minus_L=yes
++    hardcode_shlibpath_var=no
++    ;;
++
++  sysv4)
++    if test "x$host_vendor" = xsno; then
++      archive_cmds='$LD -G -Bsymbolic -h $soname -o $lib $libobjs $deplibs $linkopts'
++      hardcode_direct=yes # is this really true???
++    else
++      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_direct=no #Motorola manual says yes, but my tests say they lie
++    fi
++    runpath_var='LD_RUN_PATH'
++    hardcode_shlibpath_var=no
++    ;;
++
++  sysv4.3*)
++    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++    hardcode_shlibpath_var=no
++    export_dynamic_flag_spec='-Bexport'
++    ;;
++
++  sysv5*)
++    no_undefined_flag=' -z text'
++    # $CC -shared without GNU ld will not create a library from C++
++    # object files and a static libstdc++, better avoid it by now
++    archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
++    archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++		$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
++    hardcode_libdir_flag_spec=
++    hardcode_shlibpath_var=no
++    runpath_var='LD_RUN_PATH'
++    ;;
++
++  uts4*)
++    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++    hardcode_libdir_flag_spec='-L$libdir'
++    hardcode_shlibpath_var=no
++    ;;
++
++  dgux*)
++    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++    hardcode_libdir_flag_spec='-L$libdir'
++    hardcode_shlibpath_var=no
++    ;;
++
++  sysv4*MP*)
++    if test -d /usr/nec; then
++      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_shlibpath_var=no
++      runpath_var=LD_RUN_PATH
++      hardcode_runpath_var=yes
++      ld_shlibs=yes
++    fi
++    ;;
++
++  sysv4.2uw2*)
++    archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
++    hardcode_direct=yes
++    hardcode_minus_L=no
++    hardcode_shlibpath_var=no
++    hardcode_runpath_var=yes
++    runpath_var=LD_RUN_PATH
++    ;;
++
++  sysv5uw7* | unixware7*)
++    no_undefined_flag='${wl}-z ${wl}text'
++    if test "$GCC" = yes; then
++      archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++    else
++      archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++    fi
++    runpath_var='LD_RUN_PATH'
++    hardcode_shlibpath_var=no
++    ;;
++
++  *)
++    ld_shlibs=no
++    ;;
++  esac
++fi
++AC_MSG_RESULT([$ld_shlibs])
++test "$ld_shlibs" = no && can_build_shared=no
++
++# Check hardcoding attributes.
++AC_MSG_CHECKING([how to hardcode library paths into programs])
++hardcode_action=
++if test -n "$hardcode_libdir_flag_spec" || \
++   test -n "$runpath_var"; then
++
++  # We can hardcode non-existant directories.
++  if test "$hardcode_direct" != no &&
++     # If the only mechanism to avoid hardcoding is shlibpath_var, we
++     # have to relink, otherwise we might link with an installed library
++     # when we should be linking with a yet-to-be-installed one
++     ## test "$hardcode_shlibpath_var" != no &&
++     test "$hardcode_minus_L" != no; then
++    # Linking always hardcodes the temporary library directory.
++    hardcode_action=relink
++  else
++    # We can link without hardcoding, and we can hardcode nonexisting dirs.
++    hardcode_action=immediate
++  fi
++else
++  # We cannot hardcode anything, or else we can only hardcode existing
++  # directories.
++  hardcode_action=unsupported
++fi
++AC_MSG_RESULT([$hardcode_action])
++
++striplib=
++old_striplib=
++AC_MSG_CHECKING([whether stripping libraries is possible])
++if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
++  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
++  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
++  AC_MSG_RESULT([yes])
++else
++  AC_MSG_RESULT([no])
++fi
++
++reload_cmds='$LD$reload_flag -o $output$reload_objs'
++test -z "$deplibs_check_method" && deplibs_check_method=unknown
++
++# PORTME Fill in your ld.so characteristics
++AC_MSG_CHECKING([dynamic linker characteristics])
++library_names_spec=
++libname_spec='lib$name'
++soname_spec=
++postinstall_cmds=
++postuninstall_cmds=
++finish_cmds=
++finish_eval=
++shlibpath_var=
++shlibpath_overrides_runpath=unknown
++version_type=none
++dynamic_linker="$host_os ld.so"
++sys_lib_dlsearch_path_spec="/lib /usr/lib"
++sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
++
++case $host_os in
++aix3*)
++  version_type=linux
++  library_names_spec='${libname}${release}.so$versuffix $libname.a'
++  shlibpath_var=LIBPATH
++
++  # AIX has no versioning support, so we append a major version to the name.
++  soname_spec='${libname}${release}.so$major'
++  ;;
++
++aix4* | aix5*)
++  version_type=linux
++  if test "$host_cpu" = ia64; then
++    # AIX 5 supports IA64
++    library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so'
++    shlibpath_var=LD_LIBRARY_PATH
++  else
++    # With GCC up to 2.95.x, collect2 would create an import file
++    # for dependence libraries.  The import file would start with
++    # the line `#! .'.  This would cause the generated library to
++    # depend on `.', always an invalid library.  This was fixed in
++    # development snapshots of GCC prior to 3.0.
++    case $host_os in
++      [ aix4 | aix4.[01] | aix4.[01].*)]
++      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
++           echo ' yes '
++           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
++        :
++      else
++        can_build_shared=no
++      fi
++      ;;
++    esac
++    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
++    # soname into executable. Probably we can add versioning support to
++    # collect2, so additional links can be useful in future.
++    if test "$aix_use_runtimelinking" = yes; then
++      # If using run time linking (on AIX 4.2 or later) use lib<name>.so instead of
++      # lib<name>.a to let people know that these are not typical AIX shared libraries.
++      library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++    else
++      # We preserve .a as extension for shared libraries through AIX4.2
++      # and later when we are not doing run time linking.
++      library_names_spec='${libname}${release}.a $libname.a'
++      soname_spec='${libname}${release}.so$major'
++    fi
++    shlibpath_var=LIBPATH
++    deplibs_check_method=pass_all
++  fi
++  ;;
++
++amigaos*)
++  library_names_spec='$libname.ixlibrary $libname.a'
++  # Create ${libname}_ixlibrary.a entries in /sys/libs.
++  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | [$Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\'']`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done'
++  ;;
++
++beos*)
++  library_names_spec='${libname}.so'
++  dynamic_linker="$host_os ld.so"
++  shlibpath_var=LIBRARY_PATH
++  ;;
++
++bsdi4*)
++  version_type=linux
++  need_version=no
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  soname_spec='${libname}${release}.so$major'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
++  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
++  export_dynamic_flag_spec=-rdynamic
++  # the default ld.so.conf also contains /usr/contrib/lib and
++  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
++  # libtool to hard-code these into programs
++  ;;
++
++cygwin* | mingw* | pw32*)
++  version_type=windows
++  need_version=no
++  need_lib_prefix=no
++  case $GCC,$host_os in
++  yes,cygwin*)
++    library_names_spec='$libname.dll.a'
++    soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | [sed -e 's/[.]/-/g']`${versuffix}.dll'
++    postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~
++      dldir=$destdir/`dirname \$dlpath`~
++      test -d \$dldir || mkdir -p \$dldir~
++      $install_prog .libs/$dlname \$dldir/$dlname'
++    postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~
++      dlpath=$dir/\$dldll~
++       $rm \$dlpath'
++    ;;
++  yes,mingw*)
++    library_names_spec='${libname}`echo ${release} | [sed -e 's/[.]/-/g']`${versuffix}.dll'
++    sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g"`
++    ;;
++  yes,pw32*)
++    library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
++    ;;
++  *)
++    library_names_spec='${libname}`echo ${release} | [sed -e 's/[.]/-/g']`${versuffix}.dll $libname.lib'
++    ;;
++  esac
++  dynamic_linker='Win32 ld.exe'
++  # FIXME: first we should search . and the directory the executable is in
++  shlibpath_var=PATH
++  ;;
++
++darwin* | rhapsody*)
++  dynamic_linker="$host_os dyld"
++  version_type=darwin
++  need_lib_prefix=no
++  need_version=no
++  # FIXME: Relying on posixy $() will cause problems for
++  #        cross-compilation, but unfortunately the echo tests do not
++  #        yet detect zsh echo's removal of \ escapes.
++  library_names_spec='${libname}${release}${versuffix}.$(test .$module = .yes && echo so || echo dylib) ${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib) ${libname}.$(test .$module = .yes && echo so || echo dylib)'
++  soname_spec='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)'
++  shlibpath_overrides_runpath=yes
++  shlibpath_var=DYLD_LIBRARY_PATH
++  ;;
++
++freebsd1*)
++  dynamic_linker=no
++  ;;
++
++freebsd*)
++  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
++  version_type=freebsd-$objformat
++  case $version_type in
++    freebsd-elf*)
++      library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
++      need_version=no
++      need_lib_prefix=no
++      ;;
++    freebsd-*)
++      library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix'
++      need_version=yes
++      ;;
++  esac
++  shlibpath_var=LD_LIBRARY_PATH
++  case $host_os in
++  freebsd2*)
++    shlibpath_overrides_runpath=yes
++    ;;
++  *)
++    shlibpath_overrides_runpath=no
++    hardcode_into_libs=yes
++    ;;
++  esac
++  ;;
++
++gnu*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so'
++  soname_spec='${libname}${release}.so$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  hardcode_into_libs=yes
++  ;;
++
++hpux9* | hpux10* | hpux11*)
++  # Give a soname corresponding to the major version so that dld.sl refuses to
++  # link against other versions.
++  dynamic_linker="$host_os dld.sl"
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=no
++  shlibpath_var=SHLIB_PATH
++  shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
++  library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl'
++  soname_spec='${libname}${release}.sl$major'
++  # HP-UX runs *really* slowly unless shared libraries are mode 555.
++  postinstall_cmds='chmod 555 $lib'
++  ;;
++
++irix5* | irix6*)
++  version_type=irix
++  need_lib_prefix=no
++  need_version=no
++  soname_spec='${libname}${release}.so$major'
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so'
++  case $host_os in
++  irix5*)
++    libsuff= shlibsuff=
++    ;;
++  *)
++    case $LD in # libtool.m4 will add one of these switches to LD
++    *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;;
++    *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;;
++    *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;;
++    *) libsuff= shlibsuff= libmagic=never-match;;
++    esac
++    ;;
++  esac
++  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
++  shlibpath_overrides_runpath=no
++  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
++  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
++  ;;
++
++# No shared lib support for Linux oldld, aout, or coff.
++linux-gnuoldld* | linux-gnuaout* | linux-gnucoff*)
++  dynamic_linker=no
++  ;;
++
++# This must be Linux ELF.
++linux-gnu*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  soname_spec='${libname}${release}.so$major'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=no
++  # This implies no fast_install, which is unacceptable.
++  # Some rework will be needed to allow for fast_install
++  # before this can be enabled.
++  hardcode_into_libs=yes
++
++  # We used to test for /lib/ld.so.1 and disable shared libraries on
++  # powerpc, because MkLinux only supported shared libraries with the
++  # GNU dynamic linker.  Since this was broken with cross compilers,
++  # most powerpc-linux boxes support dynamic linking these days and
++  # people can always --disable-shared, the test was removed, and we
++  # assume the GNU/Linux dynamic linker is in use.
++  dynamic_linker='GNU/Linux ld.so'
++  ;;
++
++netbsd*)
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=no
++  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++    library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
++    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
++    dynamic_linker='NetBSD (a.out) ld.so'
++  else
++    library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so'
++    soname_spec='${libname}${release}.so$major'
++    dynamic_linker='NetBSD ld.elf_so'
++  fi
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  hardcode_into_libs=yes
++  ;;
++
++newsos6)
++  version_type=linux
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  ;;
++
++openbsd*)
++  version_type=sunos
++  if test "$with_gnu_ld" = yes; then
++    need_lib_prefix=no
++    need_version=no
++  fi
++  library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++os2*)
++  libname_spec='$name'
++  need_lib_prefix=no
++  library_names_spec='$libname.dll $libname.a'
++  dynamic_linker='OS/2 ld.exe'
++  shlibpath_var=LIBPATH
++  ;;
++
++osf3* | osf4* | osf5*)
++  version_type=osf
++  need_version=no
++  soname_spec='${libname}${release}.so'
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
++  shlibpath_var=LD_LIBRARY_PATH
++  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
++  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
++  ;;
++
++sco3.2v5*)
++  version_type=osf
++  soname_spec='${libname}${release}.so$major'
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++solaris*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  soname_spec='${libname}${release}.so$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  hardcode_into_libs=yes
++  # ldd complains unless libraries are executable
++  postinstall_cmds='chmod +x $lib'
++  ;;
++
++sunos4*)
++  version_type=sunos
++  library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
++  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  if test "$with_gnu_ld" = yes; then
++    need_lib_prefix=no
++  fi
++  need_version=yes
++  ;;
++
++sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
++  version_type=linux
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  soname_spec='${libname}${release}.so$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  case $host_vendor in
++    sni)
++      shlibpath_overrides_runpath=no
++      ;;
++    motorola)
++      need_lib_prefix=no
++      need_version=no
++      shlibpath_overrides_runpath=no
++      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
++      ;;
++  esac
++  ;;
++
++uts4*)
++  version_type=linux
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  soname_spec='${libname}${release}.so$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++dgux*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  soname_spec='${libname}${release}.so$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++sysv4*MP*)
++  if test -d /usr/nec ;then
++    version_type=linux
++    library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so'
++    soname_spec='$libname.so.$major'
++    shlibpath_var=LD_LIBRARY_PATH
++  fi
++  ;;
++
++*)
++  dynamic_linker=no
++  ;;
++esac
++AC_MSG_RESULT([$dynamic_linker])
++test "$dynamic_linker" = no && can_build_shared=no
++
++# Report the final consequences.
++AC_MSG_CHECKING([if libtool supports shared libraries])
++AC_MSG_RESULT([$can_build_shared])
++
++if test "$hardcode_action" = relink; then
++  # Fast installation is not supported
++  enable_fast_install=no
++elif test "$shlibpath_overrides_runpath" = yes ||
++     test "$enable_shared" = no; then
++  # Fast installation is not necessary
++  enable_fast_install=needless
++fi
++
++variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
++if test "$GCC" = yes; then
++  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
++fi
++
++AC_LIBTOOL_DLOPEN_SELF
++
++if test "$enable_shared" = yes && test "$GCC" = yes; then
++  case $archive_cmds in
++  *'~'*)
++    # FIXME: we may have to deal with multi-command sequences.
++    ;;
++  '$CC '*)
++    # Test whether the compiler implicitly links with -lc since on some
++    # systems, -lgcc has to come before -lc. If gcc already passes -lc
++    # to ld, don't add -lc before -lgcc.
++    AC_MSG_CHECKING([whether -lc should be explicitly linked in])
++    AC_CACHE_VAL([lt_cv_archive_cmds_need_lc],
++    [$rm conftest*
++    echo 'static int dummy;' > conftest.$ac_ext
++
++    if AC_TRY_EVAL(ac_compile); then
++      soname=conftest
++      lib=conftest
++      libobjs=conftest.$ac_objext
++      deplibs=
++      wl=$lt_cv_prog_cc_wl
++      compiler_flags=-v
++      linker_flags=-v
++      verstring=
++      output_objdir=.
++      libname=conftest
++      save_allow_undefined_flag=$allow_undefined_flag
++      allow_undefined_flag=
++      if AC_TRY_EVAL(archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1)
++      then
++	lt_cv_archive_cmds_need_lc=no
++      else
++	lt_cv_archive_cmds_need_lc=yes
++      fi
++      allow_undefined_flag=$save_allow_undefined_flag
++    else
++      cat conftest.err 1>&5
++    fi])
++    AC_MSG_RESULT([$lt_cv_archive_cmds_need_lc])
++    ;;
++  esac
++fi
++need_lc=${lt_cv_archive_cmds_need_lc-yes}
++
++# The second clause should only fire when bootstrapping the
++# libtool distribution, otherwise you forgot to ship ltmain.sh
++# with your package, and you will get complaints that there are
++# no rules to generate ltmain.sh.
++if test -f "$ltmain"; then
++  :
++else
++  # If there is no Makefile yet, we rely on a make rule to execute
++  # `config.status --recheck' to rerun these tests and create the
++  # libtool script then.
++  test -f Makefile && make "$ltmain"
++fi
++
++if test -f "$ltmain"; then
++  trap "$rm \"${ofile}T\"; exit 1" 1 2 15
++  $rm -f "${ofile}T"
++
++  echo creating $ofile
++
++  # Now quote all the things that may contain metacharacters while being
++  # careful not to overquote the AC_SUBSTed values.  We take copies of the
++  # variables and quote the copies for generation of the libtool script.
++  for var in echo old_CC old_CFLAGS \
++    AR AR_FLAGS CC LD LN_S NM SHELL \
++    reload_flag reload_cmds wl \
++    pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \
++    thread_safe_flag_spec whole_archive_flag_spec libname_spec \
++    library_names_spec soname_spec \
++    RANLIB old_archive_cmds old_archive_from_new_cmds old_postinstall_cmds \
++    old_postuninstall_cmds archive_cmds archive_expsym_cmds postinstall_cmds \
++    postuninstall_cmds extract_expsyms_cmds old_archive_from_expsyms_cmds \
++    old_striplib striplib file_magic_cmd export_symbols_cmds \
++    deplibs_check_method allow_undefined_flag no_undefined_flag \
++    finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \
++    hardcode_libdir_flag_spec hardcode_libdir_separator  \
++    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
++    compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do
++
++    case $var in
++    reload_cmds | old_archive_cmds | old_archive_from_new_cmds | \
++    old_postinstall_cmds | old_postuninstall_cmds | \
++    export_symbols_cmds | archive_cmds | archive_expsym_cmds | \
++    extract_expsyms_cmds | old_archive_from_expsyms_cmds | \
++    postinstall_cmds | postuninstall_cmds | \
++    finish_cmds | sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
++      # Double-quote double-evaled strings.
++      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
++      ;;
++    *)
++      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
++      ;;
++    esac
++  done
++
++  cat <<__EOF__ > "${ofile}T"
++#! $SHELL
++
++# `$echo "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
++# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
++# NOTE: Changes made to this file will be lost: look at ltmain.sh.
++#
++# Copyright (C) 1996-2000 Free Software Foundation, Inc.
++# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
++#
++# 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
++#
++# As a special exception to the GNU General Public License, if you
++# distribute this file as part of a program that contains a
++# configuration script generated by Autoconf, you may include it under
++# the same distribution terms that you use for the rest of that program.
+ 
+-# Actually configure libtool.  ac_aux_dir is where install-sh is found.
+-AR="$AR" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
+-MAGIC="$MAGIC" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
+-LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
+-AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
+-objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
+-deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
+-${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
+-$libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
+-|| AC_MSG_ERROR([libtool configure failed])
++# Sed that helps us avoid accidentally triggering echo(1) options like -n.
++Xsed="sed -e s/^X//"
+ 
+-# Reload cache, that may have been modified by ltconfig
+-AC_CACHE_LOAD
++# The HP-UX ksh and POSIX shell print the target directory to stdout
++# if CDPATH is set.
++if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
+ 
+-# This can be used to rebuild libtool when needed
+-LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh"
++# ### BEGIN LIBTOOL CONFIG
+ 
+-# Always use our own libtool.
+-LIBTOOL='$(SHELL) $(top_builddir)/libtool'
+-AC_SUBST(LIBTOOL)dnl
++# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
+ 
+-# Redirect the config.log output again, so that the ltconfig log is not
+-# clobbered by the next message.
+-exec 5>>./config.log
+-])
++# Shell to use when invoking shell scripts.
++SHELL=$lt_SHELL
+ 
+-AC_DEFUN(AC_LIBTOOL_SETUP,
+-[AC_PREREQ(2.13)dnl
+-AC_REQUIRE([AC_ENABLE_SHARED])dnl
+-AC_REQUIRE([AC_ENABLE_STATIC])dnl
+-AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl
+-AC_REQUIRE([AC_CANONICAL_HOST])dnl
+-AC_REQUIRE([AC_CANONICAL_BUILD])dnl
+-AC_REQUIRE([AC_PROG_CC])dnl
+-AC_REQUIRE([AC_PROG_LD])dnl
+-AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl
+-AC_REQUIRE([AC_PROG_NM])dnl
+-AC_REQUIRE([AC_PROG_LN_S])dnl
+-AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl
+-AC_REQUIRE([AC_OBJEXT])dnl
+-AC_REQUIRE([AC_EXEEXT])dnl
+-dnl
++# Whether or not to build shared libraries.
++build_libtool_libs=$enable_shared
+ 
+-# Only perform the check for file, if the check method requires it
+-case "$deplibs_check_method" in
+-file_magic*)
+-  if test "$file_magic_cmd" = '${MAGIC}'; then
+-    AC_PATH_MAGIC
+-  fi
+-  ;;
+-esac
++# Whether or not to add -lc for building shared libraries.
++build_libtool_need_lc=$need_lc
+ 
+-AC_CHECK_TOOL(RANLIB, ranlib, :)
+-AC_CHECK_TOOL(STRIP, strip, :)
++# Whether or not to build static libraries.
++build_old_libs=$enable_static
+ 
+-# Check for any special flags to pass to ltconfig.
+-libtool_flags="--cache-file=$cache_file"
+-test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
+-test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
+-test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
+-test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"
+-test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
+-ifdef([AC_PROVIDE_AC_LIBTOOL_DLOPEN],
+-[libtool_flags="$libtool_flags --enable-dlopen"])
+-ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL],
+-[libtool_flags="$libtool_flags --enable-win32-dll"])
+-AC_ARG_ENABLE(libtool-lock,
+-  [  --disable-libtool-lock  avoid locking (might break parallel builds)])
+-test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
+-test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
++# Whether or not to optimize for fast installation.
++fast_install=$enable_fast_install
+ 
+-AC_ARG_WITH(pic,
+-  [  --with-pic              try to use only PIC/non-PIC objects [default=use both]],
+-     pic_mode="$withval", pic_mode=default)
+-test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
+-test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
++# The host system.
++host_alias=$host_alias
++host=$host
+ 
+-# Some flags need to be propagated to the compiler or linker for good
+-# libtool support.
+-case "$host" in
+-*-*-irix6*)
+-  # Find out which ABI we are using.
+-  echo '[#]line __oline__ "configure"' > conftest.$ac_ext
+-  if AC_TRY_EVAL(ac_compile); then
+-    case "`/usr/bin/file conftest.o`" in
+-    *32-bit*)
+-      LD="${LD-ld} -32"
+-      ;;
+-    *N32*)
+-      LD="${LD-ld} -n32"
+-      ;;
+-    *64-bit*)
+-      LD="${LD-ld} -64"
+-      ;;
+-    esac
+-  fi
+-  rm -rf conftest*
+-  ;;
++# An echo program that does not interpret backslashes.
++echo=$lt_echo
+ 
+-*-*-sco3.2v5*)
+-  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
+-  SAVE_CFLAGS="$CFLAGS"
+-  CFLAGS="$CFLAGS -belf"
+-  AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
+-    [AC_LANG_SAVE
+-     AC_LANG_C
+-     AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
+-     AC_LANG_RESTORE])
+-  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
+-    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
+-    CFLAGS="$SAVE_CFLAGS"
+-  fi
+-  ;;
++# The archiver.
++AR=$lt_AR
++AR_FLAGS=$lt_AR_FLAGS
+ 
+-ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL],
+-[*-*-cygwin* | *-*-mingw*)
+-  AC_CHECK_TOOL(DLLTOOL, dlltool, false)
+-  AC_CHECK_TOOL(AS, as, false)
+-  AC_CHECK_TOOL(OBJDUMP, objdump, false)
++# The default C compiler.
++CC=$lt_CC
+ 
+-  # recent cygwin and mingw systems supply a stub DllMain which the user
+-  # can override, but on older systems we have to supply one
+-  AC_CACHE_CHECK([if libtool should supply DllMain function], lt_cv_need_dllmain,
+-    [AC_TRY_LINK([],
+-      [extern int __attribute__((__stdcall__)) DllMain(void*, int, void*);
+-      DllMain (0, 0, 0);],
+-      [lt_cv_need_dllmain=no],[lt_cv_need_dllmain=yes])])
++# Is the compiler the GNU C compiler?
++with_gcc=$GCC
+ 
+-  case "$host/$CC" in
+-  *-*-cygwin*/gcc*-mno-cygwin*|*-*-mingw*)
+-    # old mingw systems require "-dll" to link a DLL, while more recent ones
+-    # require "-mdll"
+-    SAVE_CFLAGS="$CFLAGS"
+-    CFLAGS="$CFLAGS -mdll"
+-    AC_CACHE_CHECK([how to link DLLs], lt_cv_cc_dll_switch,
+-      [AC_TRY_LINK([], [], [lt_cv_cc_dll_switch=-mdll],[lt_cv_cc_dll_switch=-dll])])
+-    CFLAGS="$SAVE_CFLAGS" ;;
+-  *-*-cygwin*)
+-    # cygwin systems need to pass --dll to the linker, and not link
+-    # crt.o which will require a WinMain@16 definition.
+-    lt_cv_cc_dll_switch="-Wl,--dll -nostartfiles" ;;
++# The linker used to build libraries.
++LD=$lt_LD
++
++# Whether we need hard or soft links.
++LN_S=$lt_LN_S
++
++# A BSD-compatible nm program.
++NM=$lt_NM
++
++# A symbol stripping program
++STRIP=$STRIP
++
++# Used to examine libraries when file_magic_cmd begins "file"
++MAGIC_CMD=$MAGIC_CMD
++
++# Used on cygwin: DLL creation program.
++DLLTOOL="$DLLTOOL"
++
++# Used on cygwin: object dumper.
++OBJDUMP="$OBJDUMP"
++
++# Used on cygwin: assembler.
++AS="$AS"
++
++# The name of the directory that contains temporary libtool files.
++objdir=$objdir
++
++# How to create reloadable object files.
++reload_flag=$lt_reload_flag
++reload_cmds=$lt_reload_cmds
++
++# How to pass a linker flag through the compiler.
++wl=$lt_wl
++
++# Object file suffix (normally "o").
++objext="$ac_objext"
++
++# Old archive suffix (normally "a").
++libext="$libext"
++
++# Executable file suffix (normally "").
++exeext="$exeext"
++
++# Additional compiler flags for building library objects.
++pic_flag=$lt_pic_flag
++pic_mode=$pic_mode
++
++# Does compiler simultaneously support -c and -o options?
++compiler_c_o=$lt_compiler_c_o
++
++# Can we write directly to a .lo ?
++compiler_o_lo=$lt_compiler_o_lo
++
++# Must we lock files when doing compilation ?
++need_locks=$lt_need_locks
++
++# Do we need the lib prefix for modules?
++need_lib_prefix=$need_lib_prefix
++
++# Do we need a version for libraries?
++need_version=$need_version
++
++# Whether dlopen is supported.
++dlopen_support=$enable_dlopen
++
++# Whether dlopen of programs is supported.
++dlopen_self=$enable_dlopen_self
++
++# Whether dlopen of statically linked programs is supported.
++dlopen_self_static=$enable_dlopen_self_static
++
++# Compiler flag to prevent dynamic linking.
++link_static_flag=$lt_link_static_flag
++
++# Compiler flag to turn off builtin functions.
++no_builtin_flag=$lt_no_builtin_flag
++
++# Compiler flag to allow reflexive dlopens.
++export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
++
++# Compiler flag to generate shared objects directly from archives.
++whole_archive_flag_spec=$lt_whole_archive_flag_spec
++
++# Compiler flag to generate thread-safe objects.
++thread_safe_flag_spec=$lt_thread_safe_flag_spec
++
++# Library versioning type.
++version_type=$version_type
++
++# Format of library name prefix.
++libname_spec=$lt_libname_spec
++
++# List of archive names.  First name is the real one, the rest are links.
++# The last name is the one that the linker finds with -lNAME.
++library_names_spec=$lt_library_names_spec
++
++# The coded name of the library, if different from the real name.
++soname_spec=$lt_soname_spec
++
++# Commands used to build and install an old-style archive.
++RANLIB=$lt_RANLIB
++old_archive_cmds=$lt_old_archive_cmds
++old_postinstall_cmds=$lt_old_postinstall_cmds
++old_postuninstall_cmds=$lt_old_postuninstall_cmds
++
++# Create an old-style archive from a shared archive.
++old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
++
++# Create a temporary old-style archive to link instead of a shared archive.
++old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
++
++# Commands used to build and install a shared archive.
++archive_cmds=$lt_archive_cmds
++archive_expsym_cmds=$lt_archive_expsym_cmds
++postinstall_cmds=$lt_postinstall_cmds
++postuninstall_cmds=$lt_postuninstall_cmds
++
++# Commands to strip libraries.
++old_striplib=$lt_old_striplib
++striplib=$lt_striplib
++
++# Method to check whether dependent libraries are shared objects.
++deplibs_check_method=$lt_deplibs_check_method
++
++# Command to use when deplibs_check_method == file_magic.
++file_magic_cmd=$lt_file_magic_cmd
++
++# Flag that allows shared libraries with undefined symbols to be built.
++allow_undefined_flag=$lt_allow_undefined_flag
++
++# Flag that forces no undefined symbols.
++no_undefined_flag=$lt_no_undefined_flag
++
++# Commands used to finish a libtool library installation in a directory.
++finish_cmds=$lt_finish_cmds
++
++# Same as above, but a single script fragment to be evaled but not shown.
++finish_eval=$lt_finish_eval
++
++# Take the output of nm and produce a listing of raw symbols and C names.
++global_symbol_pipe=$lt_global_symbol_pipe
++
++# Transform the output of nm in a proper C declaration
++global_symbol_to_cdecl=$lt_global_symbol_to_cdecl
++
++# This is the shared library runtime path variable.
++runpath_var=$runpath_var
++
++# This is the shared library path variable.
++shlibpath_var=$shlibpath_var
++
++# Is shlibpath searched before the hard-coded library search path?
++shlibpath_overrides_runpath=$shlibpath_overrides_runpath
++
++# How to hardcode a shared library path into an executable.
++hardcode_action=$hardcode_action
++
++# Whether we should hardcode library paths into libraries.
++hardcode_into_libs=$hardcode_into_libs
++
++# Flag to hardcode \$libdir into a binary during linking.
++# This must work even if \$libdir does not exist.
++hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
++
++# Whether we need a single -rpath flag with a separated argument.
++hardcode_libdir_separator=$lt_hardcode_libdir_separator
++
++# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
++# resulting binary.
++hardcode_direct=$hardcode_direct
++
++# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
++# resulting binary.
++hardcode_minus_L=$hardcode_minus_L
++
++# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
++# the resulting binary.
++hardcode_shlibpath_var=$hardcode_shlibpath_var
++
++# Variables whose values should be saved in libtool wrapper scripts and
++# restored at relink time.
++variables_saved_for_relink="$variables_saved_for_relink"
++
++# Whether libtool must link a program against all its dependency libraries.
++link_all_deplibs=$link_all_deplibs
++
++# Compile-time system search path for libraries
++sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
++
++# Run-time system search path for libraries
++sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
++
++# Fix the shell variable \$srcfile for the compiler.
++fix_srcfile_path="$fix_srcfile_path"
++
++# Set to yes if exported symbols are required.
++always_export_symbols=$always_export_symbols
++
++# The commands to list exported symbols.
++export_symbols_cmds=$lt_export_symbols_cmds
++
++# The commands to extract the exported symbol list from a shared archive.
++extract_expsyms_cmds=$lt_extract_expsyms_cmds
++
++# Symbols that should not be listed in the preloaded symbols.
++exclude_expsyms=$lt_exclude_expsyms
++
++# Symbols that must always be exported.
++include_expsyms=$lt_include_expsyms
++
++# ### END LIBTOOL CONFIG
++
++__EOF__
++
++  case $host_os in
++  aix3*)
++    cat <<\EOF >> "${ofile}T"
++
++# AIX sometimes has problems with the GCC collect2 program.  For some
++# reason, if we set the COLLECT_NAMES environment variable, the problems
++# vanish in a puff of smoke.
++if test "X${COLLECT_NAMES+set}" != Xset; then
++  COLLECT_NAMES=
++  export COLLECT_NAMES
++fi
++EOF
++    ;;
++  esac
++
++  case $host_os in
++  cygwin* | mingw* | pw32* | os2*)
++    cat <<'EOF' >> "${ofile}T"
++      # This is a source program that is used to create dlls on Windows
++      # Don't remove nor modify the starting and closing comments
++# /* ltdll.c starts here */
++# #define WIN32_LEAN_AND_MEAN
++# #include <windows.h>
++# #undef WIN32_LEAN_AND_MEAN
++# #include <stdio.h>
++#
++# #ifndef __CYGWIN__
++# #  ifdef __CYGWIN32__
++# #    define __CYGWIN__ __CYGWIN32__
++# #  endif
++# #endif
++#
++# #ifdef __cplusplus
++# extern "C" {
++# #endif
++# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
++# #ifdef __cplusplus
++# }
++# #endif
++#
++# #ifdef __CYGWIN__
++# #include <cygwin/cygwin_dll.h>
++# DECLARE_CYGWIN_DLL( DllMain );
++# #endif
++# HINSTANCE __hDllInstance_base;
++#
++# BOOL APIENTRY
++# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
++# {
++#   __hDllInstance_base = hInst;
++#   return TRUE;
++# }
++# /* ltdll.c ends here */
++        # This is a source program that is used to create import libraries
++        # on Windows for dlls which lack them. Don't remove nor modify the
++        # starting and closing comments
++# /* impgen.c starts here */
++# /*   Copyright (C) 1999-2000 Free Software Foundation, Inc.
++#
++#  This file is part of GNU libtool.
++#
++#  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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
++#  */
++#
++# #include <stdio.h>		/* for printf() */
++# #include <unistd.h>		/* for open(), lseek(), read() */
++# #include <fcntl.h>		/* for O_RDONLY, O_BINARY */
++# #include <string.h>		/* for strdup() */
++#
++# /* O_BINARY isn't required (or even defined sometimes) under Unix */
++# #ifndef O_BINARY
++# #define O_BINARY 0
++# #endif
++#
++# static unsigned int
++# pe_get16 (fd, offset)
++#      int fd;
++#      int offset;
++# {
++#   unsigned char b[2];
++#   lseek (fd, offset, SEEK_SET);
++#   read (fd, b, 2);
++#   return b[0] + (b[1]<<8);
++# }
++#
++# static unsigned int
++# pe_get32 (fd, offset)
++#     int fd;
++#     int offset;
++# {
++#   unsigned char b[4];
++#   lseek (fd, offset, SEEK_SET);
++#   read (fd, b, 4);
++#   return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
++# }
++#
++# static unsigned int
++# pe_as32 (ptr)
++#      void *ptr;
++# {
++#   unsigned char *b = ptr;
++#   return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
++# }
++#
++# int
++# main (argc, argv)
++#     int argc;
++#     char *argv[];
++# {
++#     int dll;
++#     unsigned long pe_header_offset, opthdr_ofs, num_entries, i;
++#     unsigned long export_rva, export_size, nsections, secptr, expptr;
++#     unsigned long name_rvas, nexp;
++#     unsigned char *expdata, *erva;
++#     char *filename, *dll_name;
++#
++#     filename = argv[1];
++#
++#     dll = open(filename, O_RDONLY|O_BINARY);
++#     if (dll < 1)
++# 	return 1;
++#
++#     dll_name = filename;
++#
++#     for (i=0; filename[i]; i++)
++# 	if (filename[i] == '/' || filename[i] == '\\'  || filename[i] == ':')
++# 	    dll_name = filename + i +1;
++#
++#     pe_header_offset = pe_get32 (dll, 0x3c);
++#     opthdr_ofs = pe_header_offset + 4 + 20;
++#     num_entries = pe_get32 (dll, opthdr_ofs + 92);
++#
++#     if (num_entries < 1) /* no exports */
++# 	return 1;
++#
++#     export_rva = pe_get32 (dll, opthdr_ofs + 96);
++#     export_size = pe_get32 (dll, opthdr_ofs + 100);
++#     nsections = pe_get16 (dll, pe_header_offset + 4 +2);
++#     secptr = (pe_header_offset + 4 + 20 +
++# 	      pe_get16 (dll, pe_header_offset + 4 + 16));
++#
++#     expptr = 0;
++#     for (i = 0; i < nsections; i++)
++#     {
++# 	char sname[8];
++# 	unsigned long secptr1 = secptr + 40 * i;
++# 	unsigned long vaddr = pe_get32 (dll, secptr1 + 12);
++# 	unsigned long vsize = pe_get32 (dll, secptr1 + 16);
++# 	unsigned long fptr = pe_get32 (dll, secptr1 + 20);
++# 	lseek(dll, secptr1, SEEK_SET);
++# 	read(dll, sname, 8);
++# 	if (vaddr <= export_rva && vaddr+vsize > export_rva)
++# 	{
++# 	    expptr = fptr + (export_rva - vaddr);
++# 	    if (export_rva + export_size > vaddr + vsize)
++# 		export_size = vsize - (export_rva - vaddr);
++# 	    break;
++# 	}
++#     }
++#
++#     expdata = (unsigned char*)malloc(export_size);
++#     lseek (dll, expptr, SEEK_SET);
++#     read (dll, expdata, export_size);
++#     erva = expdata - export_rva;
++#
++#     nexp = pe_as32 (expdata+24);
++#     name_rvas = pe_as32 (expdata+32);
++#
++#     printf ("EXPORTS\n");
++#     for (i = 0; i<nexp; i++)
++#     {
++# 	unsigned long name_rva = pe_as32 (erva+name_rvas+i*4);
++# 	printf ("\t%s @ %ld ;\n", erva+name_rva, 1+ i);
++#     }
++#
++#     return 0;
++# }
++# /* impgen.c ends here */
++
++EOF
++    ;;
+   esac
+-  ;;
+-  ])
+-esac
+-])
++
++  # We use sed instead of cat because bash on DJGPP gets confused if
++  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
++  # text mode, it properly converts lines to CR/LF.  This bash problem
++  # is reportedly fixed, but why not run on old versions too?
++  sed '$q' "$ltmain" >> "${ofile}T" || (rm -f "${ofile}T"; exit 1)
++
++  mv -f "${ofile}T" "$ofile" || \
++    (rm -f "$ofile" && cp "${ofile}T" "$ofile" && rm -f "${ofile}T")
++  chmod +x "$ofile"
++fi
++
++])# _LT_AC_LTCONFIG_HACK
+ 
+ # AC_LIBTOOL_DLOPEN - enable checks for dlopen support
+-AC_DEFUN(AC_LIBTOOL_DLOPEN, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])])
++AC_DEFUN([AC_LIBTOOL_DLOPEN], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])])
+ 
+ # AC_LIBTOOL_WIN32_DLL - declare package support for building win32 dll's
+-AC_DEFUN(AC_LIBTOOL_WIN32_DLL, [AC_BEFORE([$0], [AC_LIBTOOL_SETUP])])
++AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_BEFORE([$0], [AC_LIBTOOL_SETUP])])
+ 
+ # AC_ENABLE_SHARED - implement the --enable-shared flag
+ # Usage: AC_ENABLE_SHARED[(DEFAULT)]
+ #   Where DEFAULT is either `yes' or `no'.  If omitted, it defaults to
+ #   `yes'.
+-AC_DEFUN(AC_ENABLE_SHARED, [dnl
+-define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl
++AC_DEFUN([AC_ENABLE_SHARED],
++[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl
+ AC_ARG_ENABLE(shared,
+ changequote(<<, >>)dnl
+ <<  --enable-shared[=PKGS]  build shared libraries [default=>>AC_ENABLE_SHARED_DEFAULT],
+ changequote([, ])dnl
+ [p=${PACKAGE-default}
+-case "$enableval" in
++case $enableval in
+ yes) enable_shared=yes ;;
+ no) enable_shared=no ;;
+ *)
+@@ -731,21 +3317,22 @@
+ ])
+ 
+ # AC_DISABLE_SHARED - set the default shared flag to --disable-shared
+-AC_DEFUN(AC_DISABLE_SHARED, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
++AC_DEFUN([AC_DISABLE_SHARED],
++[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
+ AC_ENABLE_SHARED(no)])
+ 
+ # AC_ENABLE_STATIC - implement the --enable-static flag
+ # Usage: AC_ENABLE_STATIC[(DEFAULT)]
+ #   Where DEFAULT is either `yes' or `no'.  If omitted, it defaults to
+ #   `yes'.
+-AC_DEFUN(AC_ENABLE_STATIC, [dnl
+-define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl
++AC_DEFUN([AC_ENABLE_STATIC],
++[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl
+ AC_ARG_ENABLE(static,
+ changequote(<<, >>)dnl
+ <<  --enable-static[=PKGS]  build static libraries [default=>>AC_ENABLE_STATIC_DEFAULT],
+ changequote([, ])dnl
+ [p=${PACKAGE-default}
+-case "$enableval" in
++case $enableval in
+ yes) enable_static=yes ;;
+ no) enable_static=no ;;
+ *)
+@@ -764,7 +3351,8 @@
+ ])
+ 
+ # AC_DISABLE_STATIC - set the default static flag to --disable-static
+-AC_DEFUN(AC_DISABLE_STATIC, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
++AC_DEFUN([AC_DISABLE_STATIC],
++[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
+ AC_ENABLE_STATIC(no)])
+ 
+ 
+@@ -772,14 +3360,14 @@
+ # Usage: AC_ENABLE_FAST_INSTALL[(DEFAULT)]
+ #   Where DEFAULT is either `yes' or `no'.  If omitted, it defaults to
+ #   `yes'.
+-AC_DEFUN(AC_ENABLE_FAST_INSTALL, [dnl
+-define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl
++AC_DEFUN([AC_ENABLE_FAST_INSTALL],
++[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl
+ AC_ARG_ENABLE(fast-install,
+ changequote(<<, >>)dnl
+ <<  --enable-fast-install[=PKGS]  optimize for fast installation [default=>>AC_ENABLE_FAST_INSTALL_DEFAULT],
+ changequote([, ])dnl
+ [p=${PACKAGE-default}
+-case "$enableval" in
++case $enableval in
+ yes) enable_fast_install=yes ;;
+ no) enable_fast_install=no ;;
+ *)
+@@ -798,30 +3386,32 @@
+ ])
+ 
+ # AC_DISABLE_FAST_INSTALL - set the default to --disable-fast-install
+-AC_DEFUN(AC_DISABLE_FAST_INSTALL, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
++AC_DEFUN([AC_DISABLE_FAST_INSTALL],
++[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
+ AC_ENABLE_FAST_INSTALL(no)])
+ 
+ # AC_LIBTOOL_PICMODE - implement the --with-pic flag
+ # Usage: AC_LIBTOOL_PICMODE[(MODE)]
+ #   Where MODE is either `yes' or `no'.  If omitted, it defaults to
+ #   `both'.
+-AC_DEFUN(AC_LIBTOOL_PICMODE, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
++AC_DEFUN([AC_LIBTOOL_PICMODE],
++[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
+ pic_mode=ifelse($#,1,$1,default)])
+ 
+ 
+ # AC_PATH_TOOL_PREFIX - find a file program which can recognise shared library
+-AC_DEFUN(AC_PATH_TOOL_PREFIX,
++AC_DEFUN([AC_PATH_TOOL_PREFIX],
+ [AC_MSG_CHECKING([for $1])
+-AC_CACHE_VAL(lt_cv_path_MAGIC,
+-[case "$MAGIC" in
++AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
++[case $MAGIC_CMD in
+   /*)
+-  lt_cv_path_MAGIC="$MAGIC" # Let the user override the test with a path.
++  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
+   ;;
+   ?:/*)
+-  ac_cv_path_MAGIC="$MAGIC" # Let the user override the test with a dos path.
++  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
+   ;;
+   *)
+-  ac_save_MAGIC="$MAGIC"
++  ac_save_MAGIC_CMD="$MAGIC_CMD"
+   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
+ dnl $ac_dummy forces splitting on constant user-supplied paths.
+ dnl POSIX.2 word splitting is done only on the output of word expansions,
+@@ -830,12 +3420,12 @@
+   for ac_dir in $ac_dummy; do
+     test -z "$ac_dir" && ac_dir=.
+     if test -f $ac_dir/$1; then
+-      lt_cv_path_MAGIC="$ac_dir/$1"
++      lt_cv_path_MAGIC_CMD="$ac_dir/$1"
+       if test -n "$file_magic_test_file"; then
+-	case "$deplibs_check_method" in
++	case $deplibs_check_method in
+ 	"file_magic "*)
+ 	  file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
+-	  MAGIC="$lt_cv_path_MAGIC"
++	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
+ 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
+ 	    egrep "$file_magic_regex" > /dev/null; then
+ 	    :
+@@ -859,12 +3449,12 @@
+     fi
+   done
+   IFS="$ac_save_ifs"
+-  MAGIC="$ac_save_MAGIC"
++  MAGIC_CMD="$ac_save_MAGIC_CMD"
+   ;;
+ esac])
+-MAGIC="$lt_cv_path_MAGIC"
+-if test -n "$MAGIC"; then
+-  AC_MSG_RESULT($MAGIC)
++MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
++if test -n "$MAGIC_CMD"; then
++  AC_MSG_RESULT($MAGIC_CMD)
+ else
+   AC_MSG_RESULT(no)
+ fi
+@@ -872,21 +3462,21 @@
+ 
+ 
+ # AC_PATH_MAGIC - find a file program which can recognise a shared library
+-AC_DEFUN(AC_PATH_MAGIC,
++AC_DEFUN([AC_PATH_MAGIC],
+ [AC_REQUIRE([AC_CHECK_TOOL_PREFIX])dnl
+ AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin:$PATH)
+-if test -z "$lt_cv_path_MAGIC"; then
++if test -z "$lt_cv_path_MAGIC_CMD"; then
+   if test -n "$ac_tool_prefix"; then
+     AC_PATH_TOOL_PREFIX(file, /usr/bin:$PATH)
+   else
+-    MAGIC=:
++    MAGIC_CMD=:
+   fi
+ fi
+ ])
+ 
+ 
+ # AC_PROG_LD - find the path to the GNU or non-GNU linker
+-AC_DEFUN(AC_PROG_LD,
++AC_DEFUN([AC_PROG_LD],
+ [AC_ARG_WITH(gnu-ld,
+ [  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]],
+ test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no)
+@@ -894,7 +3484,7 @@
+ AC_REQUIRE([AC_CANONICAL_HOST])dnl
+ AC_REQUIRE([AC_CANONICAL_BUILD])dnl
+ ac_prog=ld
+-if test "$ac_cv_prog_gcc" = yes; then
++if test "$GCC" = yes; then
+   # Check if gcc -print-prog-name=ld gives a path.
+   AC_MSG_CHECKING([for ld used by GCC])
+   case $host in
+@@ -904,12 +3494,10 @@
+   *)
+     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
+   esac
+-  case "$ac_prog" in
++  case $ac_prog in
+     # Accept absolute paths.
+-changequote(,)dnl
+-    [\\/]* | [A-Za-z]:[\\/]*)
+-      re_direlt='/[^/][^/]*/\.\./'
+-changequote([,])dnl
++    [[\\/]* | [A-Za-z]:[\\/]*)]
++      [re_direlt='/[^/][^/]*/\.\./']
+       # Canonicalize the path of ld
+       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
+       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
+@@ -931,17 +3519,17 @@
+ else
+   AC_MSG_CHECKING([for non-GNU ld])
+ fi
+-AC_CACHE_VAL(ac_cv_path_LD,
++AC_CACHE_VAL(lt_cv_path_LD,
+ [if test -z "$LD"; then
+   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
+   for ac_dir in $PATH; do
+     test -z "$ac_dir" && ac_dir=.
+     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
+-      ac_cv_path_LD="$ac_dir/$ac_prog"
++      lt_cv_path_LD="$ac_dir/$ac_prog"
+       # Check to see if the program is GNU ld.  I'd rather use --version,
+       # but apparently some GNU ld's only accept -v.
+       # Break only if it was the GNU/non-GNU ld that we prefer.
+-      if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
++      if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
+ 	test "$with_gnu_ld" != no && break
+       else
+ 	test "$with_gnu_ld" != yes && break
+@@ -950,9 +3538,9 @@
+   done
+   IFS="$ac_save_ifs"
+ else
+-  ac_cv_path_LD="$LD" # Let the user override the test with a path.
++  lt_cv_path_LD="$LD" # Let the user override the test with a path.
+ fi])
+-LD="$ac_cv_path_LD"
++LD="$lt_cv_path_LD"
+ if test -n "$LD"; then
+   AC_MSG_RESULT($LD)
+ else
+@@ -962,20 +3550,21 @@
+ AC_PROG_LD_GNU
+ ])
+ 
+-AC_DEFUN(AC_PROG_LD_GNU,
+-[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], ac_cv_prog_gnu_ld,
++# AC_PROG_LD_GNU -
++AC_DEFUN([AC_PROG_LD_GNU],
++[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
+ [# I'd rather use --version here, but apparently some GNU ld's only accept -v.
+ if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
+-  ac_cv_prog_gnu_ld=yes
++  lt_cv_prog_gnu_ld=yes
+ else
+-  ac_cv_prog_gnu_ld=no
++  lt_cv_prog_gnu_ld=no
+ fi])
+-with_gnu_ld=$ac_cv_prog_gnu_ld
++with_gnu_ld=$lt_cv_prog_gnu_ld
+ ])
+ 
+ # AC_PROG_LD_RELOAD_FLAG - find reload flag for linker
+ #   -- PORTME Some linkers may need a different reload flag.
+-AC_DEFUN(AC_PROG_LD_RELOAD_FLAG,
++AC_DEFUN([AC_PROG_LD_RELOAD_FLAG],
+ [AC_CACHE_CHECK([for $LD option to reload object files], lt_cv_ld_reload_flag,
+ [lt_cv_ld_reload_flag='-r'])
+ reload_flag=$lt_cv_ld_reload_flag
+@@ -984,10 +3573,10 @@
+ 
+ # AC_DEPLIBS_CHECK_METHOD - how to check for library dependencies
+ #  -- PORTME fill in with the dynamic library characteristics
+-AC_DEFUN(AC_DEPLIBS_CHECK_METHOD,
++AC_DEFUN([AC_DEPLIBS_CHECK_METHOD],
+ [AC_CACHE_CHECK([how to recognise dependant libraries],
+ lt_cv_deplibs_check_method,
+-[lt_cv_file_magic_cmd='${MAGIC}'
++[lt_cv_file_magic_cmd='$MAGIC_CMD'
+ lt_cv_file_magic_test_file=
+ lt_cv_deplibs_check_method='unknown'
+ # Need to set the preceding variable on all platforms that support
+@@ -996,13 +3585,13 @@
+ # `unknown' -- same as none, but documents that we really don't know.
+ # 'pass_all' -- all dependencies passed with no checks.
+ # 'test_compile' -- check by making test program.
+-# 'file_magic [regex]' -- check by looking for files in library path
++# ['file_magic [regex]'] -- check by looking for files in library path
+ # which responds to the $file_magic_cmd with a given egrep regex.
+ # If you have `file' or equivalent on your system and you're not sure
+ # whether `pass_all' will *always* work, you probably want this one.
+ 
+-case "$host_os" in
+-aix4*)
++case $host_os in
++aix4* | aix5*)
+   lt_cv_deplibs_check_method=pass_all
+   ;;
+ 
+@@ -1011,25 +3600,36 @@
+   ;;
+ 
+ bsdi4*)
+-  changequote(,)dnl
+-  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
+-  changequote([, ])dnl
++  [lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)']
+   lt_cv_file_magic_cmd='/usr/bin/file -L'
+   lt_cv_file_magic_test_file=/shlib/libc.so
+   ;;
+ 
+-cygwin* | mingw*)
++cygwin* | mingw* | pw32*)
+   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
+-  lt_cv_file_magic_cmd='${OBJDUMP} -f'
++  lt_cv_file_magic_cmd='$OBJDUMP -f'
++  ;;
++
++darwin* | rhapsody*)
++  lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
++  lt_cv_file_magic_cmd='/usr/bin/file -L'
++  case "$host_os" in
++  rhapsody* | darwin1.[012])
++    lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1`
++    ;;
++  *) # Darwin 1.3 on
++    lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
++    ;;
++  esac
+   ;;
+ 
+ freebsd*)
+   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
+-    case "$host_cpu" in
++    case $host_cpu in
+     i*86 )
+-      changequote(,)dnl
+-      lt_cv_deplibs_check_method=='file_magic OpenBSD/i[3-9]86 demand paged shared library'
+-      changequote([, ])dnl
++      # Not sure whether the presence of OpenBSD here was a mistake.
++      # Let's accept both of them until this is cleared up.
++      [lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library']
+       lt_cv_file_magic_cmd=/usr/bin/file
+       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
+       ;;
+@@ -1043,30 +3643,27 @@
+   lt_cv_deplibs_check_method=pass_all
+   ;;
+ 
+-hpux10.20*)
+-  # TODO:  Does this work for hpux-11 too?
+-  lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
++hpux10.20*|hpux11*)
++  [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library']
+   lt_cv_file_magic_cmd=/usr/bin/file
+   lt_cv_file_magic_test_file=/usr/lib/libc.sl
+   ;;
+ 
+ irix5* | irix6*)
+-  case "$host_os" in
++  case $host_os in
+   irix5*)
+     # this will be overridden with pass_all, but let us keep it just in case
+     lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
+     ;;
+   *)
+-    case "$LD" in
++    case $LD in
+     *-32|*"-32 ") libmagic=32-bit;;
+     *-n32|*"-n32 ") libmagic=N32;;
+     *-64|*"-64 ") libmagic=64-bit;;
+     *) libmagic=never-match;;
+     esac
+     # this will be overridden with pass_all, but let us keep it just in case
+-    changequote(,)dnl
+-    lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
+-    changequote([, ])dnl
++    [lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"]
+     ;;
+   esac
+   lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
+@@ -1075,29 +3672,30 @@
+ 
+ # This must be Linux ELF.
+ linux-gnu*)
+-  case "$host_cpu" in
++  case $host_cpu in
+   alpha* | i*86 | powerpc* | sparc* | ia64* )
+     lt_cv_deplibs_check_method=pass_all ;;
+   *)
+     # glibc up to 2.1.1 does not perform some relocations on ARM
+-    changequote(,)dnl
+-    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
+-    changequote([, ])dnl
++    [lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;]
+   esac
+   lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
+   ;;
+ 
+ netbsd*)
+-  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then :
++  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
++    [lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$']
+   else
+-    changequote(,)dnl
+-    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
+-    changequote([, ])dnl
+-    lt_cv_file_magic_cmd='/usr/bin/file -L'
+-    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
++    [lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$']
+   fi
+   ;;
+ 
++newos6*)
++  [lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)']
++  lt_cv_file_magic_cmd=/usr/bin/file
++  lt_cv_file_magic_test_file=/usr/lib/libnls.so
++  ;;
++
+ osf3* | osf4* | osf5*)
+   # this will be overridden with pass_all, but let us keep it just in case
+   lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
+@@ -1114,16 +3712,27 @@
+   lt_cv_file_magic_test_file=/lib/libc.so
+   ;;
+ 
++[sysv5uw[78]* | sysv4*uw2*)]
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++
+ sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
+-  case "$host_vendor" in
++  case $host_vendor in
++  motorola)
++    [lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]']
++    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
++    ;;
+   ncr)
+     lt_cv_deplibs_check_method=pass_all
+     ;;
+-  motorola)
+-    changequote(,)dnl
+-    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
+-    changequote([, ])dnl
+-    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
++  sequent)
++    lt_cv_file_magic_cmd='/bin/file'
++    [lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )']
++    ;;
++  sni)
++    lt_cv_file_magic_cmd='/bin/file'
++    [lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"]
++    lt_cv_file_magic_test_file=/lib/libc.so
+     ;;
+   esac
+   ;;
+@@ -1135,12 +3744,12 @@
+ 
+ 
+ # AC_PROG_NM - find the path to a BSD-compatible name lister
+-AC_DEFUN(AC_PROG_NM,
++AC_DEFUN([AC_PROG_NM],
+ [AC_MSG_CHECKING([for BSD-compatible nm])
+-AC_CACHE_VAL(ac_cv_path_NM,
++AC_CACHE_VAL(lt_cv_path_NM,
+ [if test -n "$NM"; then
+   # Let the user override the test.
+-  ac_cv_path_NM="$NM"
++  lt_cv_path_NM="$NM"
+ else
+   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
+   for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
+@@ -1150,31 +3759,32 @@
+       # Check to see if the nm accepts a BSD-compat flag.
+       # Adding the `sed 1q' prevents false positives on HP-UX, which says:
+       #   nm: unknown option "B" ignored
+-      if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
+-	ac_cv_path_NM="$tmp_nm -B"
++      # Tru64's nm complains that /dev/null is an invalid object file
++      if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
++	lt_cv_path_NM="$tmp_nm -B"
+ 	break
+       elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
+-	ac_cv_path_NM="$tmp_nm -p"
++	lt_cv_path_NM="$tmp_nm -p"
+ 	break
+       else
+-	ac_cv_path_NM=${ac_cv_path_NM="$tmp_nm"} # keep the first match, but
++	lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
+ 	continue # so that we can try to find one that supports BSD flags
+       fi
+     fi
+   done
+   IFS="$ac_save_ifs"
+-  test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm
++  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
+ fi])
+-NM="$ac_cv_path_NM"
++NM="$lt_cv_path_NM"
+ AC_MSG_RESULT([$NM])
+ ])
+ 
+ # AC_CHECK_LIBM - check for math library
+-AC_DEFUN(AC_CHECK_LIBM,
++AC_DEFUN([AC_CHECK_LIBM],
+ [AC_REQUIRE([AC_CANONICAL_HOST])dnl
+ LIBM=
+-case "$host" in
+-*-*-beos* | *-*-cygwin*)
++case $host in
++*-*-beos* | *-*-cygwin* | *-*-pw32*)
+   # These system don't have libm
+   ;;
+ *-ncr-sysv4.3*)
+@@ -1197,8 +3807,9 @@
+ # '${top_srcdir}/' (note the single quotes!).  If your package is not
+ # flat and you're not using automake, define top_builddir and
+ # top_srcdir appropriately in the Makefiles.
+-AC_DEFUN(AC_LIBLTDL_CONVENIENCE, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
+-  case "$enable_ltdl_convenience" in
++AC_DEFUN([AC_LIBLTDL_CONVENIENCE],
++[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
++  case $enable_ltdl_convenience in
+   no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;;
+   "") enable_ltdl_convenience=yes
+       ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
+@@ -1218,7 +3829,8 @@
+ # not flat and you're not using automake, define top_builddir and
+ # top_srcdir appropriately in the Makefiles.
+ # In the future, this macro may have to be called after AC_PROG_LIBTOOL.
+-AC_DEFUN(AC_LIBLTDL_INSTALLABLE, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
++AC_DEFUN([AC_LIBLTDL_INSTALLABLE],
++[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
+   AC_CHECK_LIB(ltdl, main,
+   [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no],
+   [if test x"$enable_ltdl_install" = xno; then
+@@ -1238,17 +3850,17 @@
+   fi
+ ])
+ 
+-dnl old names
+-AC_DEFUN(AM_PROG_LIBTOOL, [indir([AC_PROG_LIBTOOL])])dnl
+-AC_DEFUN(AM_ENABLE_SHARED, [indir([AC_ENABLE_SHARED], $@)])dnl
+-AC_DEFUN(AM_ENABLE_STATIC, [indir([AC_ENABLE_STATIC], $@)])dnl
+-AC_DEFUN(AM_DISABLE_SHARED, [indir([AC_DISABLE_SHARED], $@)])dnl
+-AC_DEFUN(AM_DISABLE_STATIC, [indir([AC_DISABLE_STATIC], $@)])dnl
+-AC_DEFUN(AM_PROG_LD, [indir([AC_PROG_LD])])dnl
+-AC_DEFUN(AM_PROG_NM, [indir([AC_PROG_NM])])dnl
++# old names
++AC_DEFUN([AM_PROG_LIBTOOL],   [AC_PROG_LIBTOOL])
++AC_DEFUN([AM_ENABLE_SHARED],  [AC_ENABLE_SHARED($@)])
++AC_DEFUN([AM_ENABLE_STATIC],  [AC_ENABLE_STATIC($@)])
++AC_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
++AC_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
++AC_DEFUN([AM_PROG_LD],        [AC_PROG_LD])
++AC_DEFUN([AM_PROG_NM],        [AC_PROG_NM])
+ 
+-dnl This is just to silence aclocal about the macro not being used
+-ifelse([AC_DISABLE_FAST_INSTALL])dnl
++# This is just to silence aclocal about the macro not being used
++ifelse([AC_DISABLE_FAST_INSTALL])
+ 
+ dnl $Id: wflags.m4,v 1.3 1999/03/11 12:11:41 joda Exp $
+ dnl
+@@ -1978,12 +4590,13 @@
+ dnl moved to AC_OUTPUT in configure.in
+ dnl AC_CONFIG_FILES($1/Makefile)
+ 
+-LIB_roken="${LIB_roken} \$(LIB_crypt) \$(LIB_dbopen)"
++dnl LIB_roken="${LIB_roken} \$(LIB_crypt) \$(LIB_dbopen)"
+ 
+ AC_SUBST(DIR_roken)dnl
+ AC_SUBST(LIB_roken)dnl
+ AC_SUBST(INCLUDES_roken)dnl
+ ])
++
+ dnl $Id: check-type-extra.m4,v 1.2 1999/03/01 09:52:23 joda Exp $
+ dnl
+ dnl ac_check_type + extra headers
+@@ -2642,7 +5255,7 @@
+ dnl
+ dnl AC_TEST_PACKAGE_NEW(package,headers,libraries,extra libs,default locations, conditional)
+ 
+-AC_DEFUN(AC_TEST_PACKAGE,[AC_TEST_PACKAGE_NEW($1,[#include <$2>],$4,,$5)])
++AC_DEFUN(AC_TEST_PACKAGE,[MY_TEST_PACKAGE_NEW($1,[#include <$2>],$4,,$5)])
+ 
+ AC_DEFUN(AC_TEST_PACKAGE_NEW,[
+ AC_ARG_WITH($1,
+@@ -2679,7 +5292,7 @@
+ header_dirs=
+ lib_dirs=
+ d='$5'
+-for i in $d; do
++for i in $d /usr; do
+ 	header_dirs="$header_dirs $i/include"
+ 	lib_dirs="$lib_dirs $i/lib$abilibdirext"
+ done
+@@ -2712,6 +5325,7 @@
+ if test "$ires" -a "$lres" -a "$with_$1" != "no"; then
+ 	$1_includedir="$ires"
+ 	$1_libdir="$lres"
++	DIR_$1=
+ 	INCLUDE_$1="-I$$1_includedir"
+ 	LIB_$1="-L$$1_libdir $3"
+ 	m4_ifval([$6],
+@@ -2720,6 +5334,7 @@
+ 	with_$1=yes
+ 	AC_MSG_RESULT([headers $ires, libraries $lres])
+ else
++	DIR_$1="$1"
+ 	INCLUDE_$1=
+ 	LIB_$1=
+ 	with_$1=no
+@@ -2728,6 +5343,7 @@
+ dnl m4_ifval([$6],
+ dnl 	AM_CONDITIONAL($6, test "$with_$1" = yes)
+ dnl 	AM_CONDITIONAL(upcase($1), test "$with_$1" = yes))
++AC_SUBST(DIR_$1)
+ AC_SUBST(INCLUDE_$1)
+ AC_SUBST(LIB_$1)
+ ])
+@@ -3131,19 +5747,96 @@
+ 	:
+ elif test "$ac_cv_func_el_init" = yes; then
+ 	ac_foo=yes
++	DIR_readline="editline"
+ 	LIB_readline="\$(top_builddir)/lib/editline/libel_compat.la $LIB_el_init"
+ else
++	DIR_readline="editline"
+ 	LIB_readline='$(top_builddir)/lib/editline/libeditline.la'
+ fi
+ AM_CONDITIONAL(el_compat, test "$ac_foo" = yes)
+-if test "$readline_libdir"; then
+-	LIB_readline="-rpath $readline_libdir $LIB_readline"
+-fi
++#if test "$readline_libdir"; then
++#	LIB_readline="-rpath $readline_libdir $LIB_readline"
++#fi
+ LIB_readline="$LIB_readline \$(LIB_tgetent)"
+ AC_DEFINE(HAVE_READLINE, 1, 
+ 	[Define if you have a readline compatible library.])dnl
+ 
+ ])
++
++dnl
++dnl Tests for readline functions
++dnl
++
++dnl el_init
++
++AC_DEFUN(KRB_COM_ERR,[
++dnl com_err
++
++ac_foo=no
++if test "$with_com_err" = yes; then
++	COMPILE_ET='compile_et'
++#elif test "$ac_cv_func_com_err" = yes; then
++#	COMPILE_ET='compile_et'
++else
++	COMPILE_ET='$(top_builddir)/lib/com_err/compile_et'
++	DIR_com_err="com_err"
++	LIB_com_err='$(top_builddir)/lib/com_err/libcom_err.la'
++fi
++
++if true; then
++#	!FIXME! why doesn't built in version of com_err work?
++	COMPILE_ET='$(top_builddir)/lib/com_err/compile_et'
++	DIR_com_err="com_err"
++	LIB_com_err='$(top_builddir)/lib/com_err/libcom_err.la'
++fi
++
++#if test "$com_err_libdir"; then
++#	LIB_com_err="-rpath $com_err_libdir $LIB_com_err"
++#fi
++AC_DEFINE(HAVE_COM_ERR, 1, 
++	[Define if you have a com_err compatible library.])dnl
++
++])
++AC_SUBST(COMPILE_ET)
++
++dnl
++dnl Tests for readline functions
++dnl
++
++dnl el_init
++
++AC_DEFUN(KRB_SS,[
++dnl com_err
++
++ac_foo=no
++if test "$with_ss" = yes; then
++	LIB_sl="$LIB_ss"
++else
++	DIR_ss="sl"
++	LIB_sl='$(top_builddir)/lib/sl/libsl.la'
++	LIB_ss='$(top_builddir)/lib/sl/libss.la'
++	INCLUDE_ss='-I$(top_builddir)/include/sl'
++fi
++
++
++#if test "$ss_libdir"; then
++#	LIB_ss="-rpath $sl_libdir $LIB_ss"
++#fi
++
++if true; then
++#	!FIXME! why doesn't built in version of ss work?
++	DIR_ss="sl"
++	LIB_sl='$(top_builddir)/lib/sl/libsl.la'
++	LIB_ss='$(top_builddir)/lib/sl/libss.la'
++	INCLUDE_ss='-I$(top_builddir)/include/ss'
++fi
++
++AC_DEFINE(HAVE_SS, 1, 
++	[Define if you have a ss compatible library.])dnl
++
++])
++AC_SUBST(LIB_sl)
++
+ dnl $Id: auth-modules.m4,v 1.1 1999/03/21 13:48:00 joda Exp $
+ dnl
+ dnl Figure what authentication modules should be built
+diff -ruN heimdal-0.3f-old/admin/Makefile.in heimdal-0.3f/admin/Makefile.in
+--- heimdal-0.3f-old/admin/Makefile.in	Sat Jun  9 08:24:58 2001
++++ heimdal-0.3f/admin/Makefile.in	Tue Jun 19 18:17:48 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -93,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -127,13 +131,13 @@
+ 
+ SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+ 
+-INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) $(INCLUDE_readline)
++INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) $(INCLUDE_readline) $(INCLUDE_ss)
+ 
+ AM_CFLAGS =  $(WFLAGS)
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -176,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -209,7 +219,7 @@
+ 	$(top_builddir)/lib/krb5/libkrb5.la \
+ 	$(LIB_des) \
+ 	$(top_builddir)/lib/asn1/libasn1.la \
+-	$(top_builddir)/lib/sl/libsl.la \
++	$(LIB_ss) \
+ 	$(LIB_readline) \
+ 	$(LIB_roken)
+ 
+@@ -234,8 +244,7 @@
+ ktutil_OBJECTS =  $(am_ktutil_OBJECTS)
+ ktutil_LDADD = $(LDADD)
+ ktutil_DEPENDENCIES =  $(top_builddir)/lib/kadm5/libkadm5clnt.la \
+-$(top_builddir)/lib/krb5/libkrb5.la $(top_builddir)/lib/asn1/libasn1.la \
+-$(top_builddir)/lib/sl/libsl.la
++$(top_builddir)/lib/krb5/libkrb5.la $(top_builddir)/lib/asn1/libasn1.la
+ ktutil_LDFLAGS = 
+ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+@@ -257,7 +266,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign admin/Makefile
+ 
+@@ -389,11 +398,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.3f-old/appl/Makefile.in heimdal-0.3f/appl/Makefile.in
+--- heimdal-0.3f-old/appl/Makefile.in	Sat Jun  9 08:24:59 2001
++++ heimdal-0.3f/appl/Makefile.in	Tue Jun 19 18:17:48 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -93,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -133,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -176,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -230,7 +240,7 @@
+ telnet test kx kf dceutils
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
++.SUFFIXES: .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .et .h .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/Makefile
+ 
+@@ -271,11 +281,7 @@
+ maintainer-clean-recursive:
+ 	@set fnord $(MAKEFLAGS); amf=$$2; \
+ 	dot_seen=no; \
+-	case "$@" in \
+-	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
+-	  *) list='$(SUBDIRS)' ;; \
+-	esac; \
+-	rev=''; for subdir in $$list; do \
++	rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
+ 	  if test "$$subdir" = "."; then :; else \
+ 	    rev="$$subdir $$rev"; \
+ 	  fi; \
+@@ -325,11 +331,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.3f-old/appl/afsutil/Makefile.in heimdal-0.3f/appl/afsutil/Makefile.in
+--- heimdal-0.3f-old/appl/afsutil/Makefile.in	Sat Jun  9 08:25:00 2001
++++ heimdal-0.3f/appl/afsutil/Makefile.in	Tue Jun 19 18:17:48 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -93,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -133,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -176,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -256,7 +266,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/afsutil/Makefile
+ 
+@@ -351,11 +361,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.3f-old/appl/dceutils/Makefile.in heimdal-0.3f/appl/dceutils/Makefile.in
+--- heimdal-0.3f-old/appl/dceutils/Makefile.in	Sat Jun  9 08:25:11 2001
++++ heimdal-0.3f/appl/dceutils/Makefile.in	Tue Jun 19 18:17:50 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -93,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -133,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -176,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -249,7 +259,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/dceutils/Makefile
+ 
+@@ -346,11 +356,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.3f-old/appl/ftp/Makefile.in heimdal-0.3f/appl/ftp/Makefile.in
+--- heimdal-0.3f-old/appl/ftp/Makefile.in	Sat Jun  9 08:25:00 2001
++++ heimdal-0.3f/appl/ftp/Makefile.in	Tue Jun 19 18:17:48 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -93,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -133,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -176,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -208,10 +218,9 @@
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+ GZIP_ENV = --best
+-DIST_SUBDIRS =  $(SUBDIRS)
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
++.SUFFIXES: .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .et .h .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/ftp/Makefile
+ 
+@@ -252,11 +261,7 @@
+ maintainer-clean-recursive:
+ 	@set fnord $(MAKEFLAGS); amf=$$2; \
+ 	dot_seen=no; \
+-	case "$@" in \
+-	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
+-	  *) list='$(SUBDIRS)' ;; \
+-	esac; \
+-	rev=''; for subdir in $$list; do \
++	rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
+ 	  if test "$$subdir" = "."; then :; else \
+ 	    rev="$$subdir $$rev"; \
+ 	  fi; \
+@@ -306,11 +311,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.3f-old/appl/ftp/common/Makefile.in heimdal-0.3f/appl/ftp/common/Makefile.in
+--- heimdal-0.3f-old/appl/ftp/common/Makefile.in	Sat Jun  9 08:25:01 2001
++++ heimdal-0.3f/appl/ftp/common/Makefile.in	Tue Jun 19 18:17:48 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -93,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -133,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -176,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -234,7 +244,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/ftp/common/Makefile
+ 
+@@ -307,11 +317,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.3f-old/appl/ftp/ftp/Makefile.in heimdal-0.3f/appl/ftp/ftp/Makefile.in
+--- heimdal-0.3f-old/appl/ftp/ftp/Makefile.in	Sat Jun  9 08:25:01 2001
++++ heimdal-0.3f/appl/ftp/ftp/Makefile.in	Tue Jun 19 18:17:48 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -93,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -133,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -176,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -264,8 +274,7 @@
+ @KRB5_FALSE@ftp_DEPENDENCIES =  ../common/libcommon.a
+ @KRB5_TRUE@ftp_DEPENDENCIES =  ../common/libcommon.a \
+ @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la \
+-@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ ftp_LDFLAGS = 
+ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+@@ -287,7 +296,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/ftp/ftp/Makefile
+ 
+@@ -419,11 +428,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.3f-old/appl/ftp/ftpd/Makefile.in heimdal-0.3f/appl/ftp/ftpd/Makefile.in
+--- heimdal-0.3f-old/appl/ftp/ftpd/Makefile.in	Sat Jun  9 08:25:02 2001
++++ heimdal-0.3f/appl/ftp/ftpd/Makefile.in	Tue Jun 19 18:17:48 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -93,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -133,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -176,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -260,15 +270,13 @@
+ @KRB4_FALSE@@KRB5_FALSE@ftpd_DEPENDENCIES =  ../common/libcommon.a
+ @KRB4_FALSE@@KRB5_TRUE@ftpd_DEPENDENCIES =  ../common/libcommon.a \
+ @KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la \
+-@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
++@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB4_TRUE@@KRB5_FALSE@ftpd_DEPENDENCIES =  ../common/libcommon.a \
+ @KRB4_TRUE@@KRB5_FALSE@$(top_builddir)/lib/kafs/libkafs.la
+ @KRB4_TRUE@@KRB5_TRUE@ftpd_DEPENDENCIES =  ../common/libcommon.a \
+ @KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/kafs/libkafs.la \
+ @KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la \
+-@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
++@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ ftpd_LDFLAGS = 
+ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+@@ -291,7 +299,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj .y
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .x .y
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/ftp/ftpd/Makefile
+ 
+@@ -464,11 +472,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.3f-old/appl/kf/Makefile.in heimdal-0.3f/appl/kf/Makefile.in
+--- heimdal-0.3f-old/appl/kf/Makefile.in	Sat Jun  9 08:25:11 2001
++++ heimdal-0.3f/appl/kf/Makefile.in	Tue Jun 19 18:17:50 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -93,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -133,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -176,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -254,7 +264,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/kf/Makefile
+ 
+@@ -453,11 +463,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.3f-old/appl/kx/Makefile.in heimdal-0.3f/appl/kx/Makefile.in
+--- heimdal-0.3f-old/appl/kx/Makefile.in	Sat Jun  9 08:25:03 2001
++++ heimdal-0.3f/appl/kx/Makefile.in	Tue Jun 19 18:17:48 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -93,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -132,7 +136,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -175,14 +179,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -263,14 +273,12 @@
+ kx_LDADD = $(LDADD)
+ @KRB4_FALSE@@KRB5_FALSE@kx_DEPENDENCIES = 
+ @KRB4_FALSE@@KRB5_TRUE@kx_DEPENDENCIES =  \
+-@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
++@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB4_TRUE@@KRB5_FALSE@kx_DEPENDENCIES =  \
+ @KRB4_TRUE@@KRB5_FALSE@$(top_builddir)/lib/kafs/libkafs.la
+ @KRB4_TRUE@@KRB5_TRUE@kx_DEPENDENCIES =  \
+ @KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/kafs/libkafs.la \
+-@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
++@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ kx_LDFLAGS = 
+ @NEED_WRITEAUTH_FALSE@am_kxd_OBJECTS =  kxd.$(OBJEXT) common.$(OBJEXT) \
+ @NEED_WRITEAUTH_FALSE@context.$(OBJEXT) krb4.$(OBJEXT) krb5.$(OBJEXT)
+@@ -281,14 +289,12 @@
+ kxd_LDADD = $(LDADD)
+ @KRB4_FALSE@@KRB5_FALSE@kxd_DEPENDENCIES = 
+ @KRB4_FALSE@@KRB5_TRUE@kxd_DEPENDENCIES =  \
+-@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
++@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB4_TRUE@@KRB5_FALSE@kxd_DEPENDENCIES =  \
+ @KRB4_TRUE@@KRB5_FALSE@$(top_builddir)/lib/kafs/libkafs.la
+ @KRB4_TRUE@@KRB5_TRUE@kxd_DEPENDENCIES =  \
+ @KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/kafs/libkafs.la \
+-@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
++@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ kxd_LDFLAGS = 
+ SCRIPTS =  $(bin_SCRIPTS)
+ 
+@@ -314,7 +320,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/kx/Makefile
+ 
+@@ -535,11 +541,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.3f-old/appl/login/Makefile.in heimdal-0.3f/appl/login/Makefile.in
+--- heimdal-0.3f-old/appl/login/Makefile.in	Sat Jun  9 08:25:04 2001
++++ heimdal-0.3f/appl/login/Makefile.in	Tue Jun 19 18:17:49 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -93,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -133,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -176,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -263,7 +273,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/login/Makefile
+ 
+@@ -354,11 +364,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.3f-old/appl/otp/Makefile.in heimdal-0.3f/appl/otp/Makefile.in
+--- heimdal-0.3f-old/appl/otp/Makefile.in	Sat Jun  9 08:25:04 2001
++++ heimdal-0.3f/appl/otp/Makefile.in	Tue Jun 19 18:17:49 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -93,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -133,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -176,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -248,7 +258,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/otp/Makefile
+ 
+@@ -384,11 +394,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.3f-old/appl/popper/Makefile.in heimdal-0.3f/appl/popper/Makefile.in
+--- heimdal-0.3f-old/appl/popper/Makefile.in	Sat Jun  9 08:25:05 2001
++++ heimdal-0.3f/appl/popper/Makefile.in	Tue Jun 19 18:17:49 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -93,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -133,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -176,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -236,8 +246,7 @@
+ pop_debug_OBJECTS =  pop_debug.$(OBJEXT)
+ pop_debug_LDADD = $(LDADD)
+ @KRB5_FALSE@pop_debug_DEPENDENCIES = 
+-@KRB5_TRUE@pop_debug_DEPENDENCIES =  $(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@pop_debug_DEPENDENCIES =  $(top_builddir)/lib/krb5/libkrb5.la
+ pop_debug_LDFLAGS = 
+ am_popper_OBJECTS =  pop_dele.$(OBJEXT) pop_dropcopy.$(OBJEXT) \
+ pop_dropinfo.$(OBJEXT) pop_get_command.$(OBJEXT) pop_init.$(OBJEXT) \
+@@ -250,8 +259,7 @@
+ popper_OBJECTS =  $(am_popper_OBJECTS)
+ popper_LDADD = $(LDADD)
+ @KRB5_FALSE@popper_DEPENDENCIES = 
+-@KRB5_TRUE@popper_DEPENDENCIES =  $(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@popper_DEPENDENCIES =  $(top_builddir)/lib/krb5/libkrb5.la
+ popper_LDFLAGS = 
+ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+@@ -271,7 +279,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/popper/Makefile
+ 
+@@ -375,11 +383,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.3f-old/appl/push/Makefile.in heimdal-0.3f/appl/push/Makefile.in
+--- heimdal-0.3f-old/appl/push/Makefile.in	Sat Jun  9 08:25:05 2001
++++ heimdal-0.3f/appl/push/Makefile.in	Tue Jun 19 18:17:49 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -93,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -133,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -176,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -227,8 +237,7 @@
+ push_OBJECTS =  $(am_push_OBJECTS)
+ push_LDADD = $(LDADD)
+ @KRB5_FALSE@push_DEPENDENCIES = 
+-@KRB5_TRUE@push_DEPENDENCIES =  $(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@push_DEPENDENCIES =  $(top_builddir)/lib/krb5/libkrb5.la
+ push_LDFLAGS = 
+ SCRIPTS =  $(bin_SCRIPTS)
+ 
+@@ -253,7 +262,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/push/Makefile
+ 
+@@ -442,11 +451,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.3f-old/appl/rcp/Makefile.in heimdal-0.3f/appl/rcp/Makefile.in
+--- heimdal-0.3f-old/appl/rcp/Makefile.in	Sat Jun  9 08:25:07 2001
++++ heimdal-0.3f/appl/rcp/Makefile.in	Tue Jun 19 18:17:49 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -93,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -133,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -176,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -233,7 +243,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/rcp/Makefile
+ 
+@@ -324,11 +334,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.3f-old/appl/rsh/Makefile.in heimdal-0.3f/appl/rsh/Makefile.in
+--- heimdal-0.3f-old/appl/rsh/Makefile.in	Sat Jun  9 08:25:06 2001
++++ heimdal-0.3f/appl/rsh/Makefile.in	Tue Jun 19 18:17:49 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -93,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -133,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -176,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -226,19 +236,16 @@
+ rsh_LDADD = $(LDADD)
+ @DCE_FALSE@@KRB4_FALSE@@KRB5_FALSE@rsh_DEPENDENCIES = 
+ @DCE_FALSE@@KRB4_FALSE@@KRB5_TRUE@rsh_DEPENDENCIES =  \
+-@DCE_FALSE@@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@DCE_FALSE@@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
++@DCE_FALSE@@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @DCE_FALSE@@KRB4_TRUE@@KRB5_FALSE@rsh_DEPENDENCIES =  \
+ @DCE_FALSE@@KRB4_TRUE@@KRB5_FALSE@$(top_builddir)/lib/kafs/libkafs.la
+ @DCE_FALSE@@KRB4_TRUE@@KRB5_TRUE@rsh_DEPENDENCIES =  \
+ @DCE_FALSE@@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/kafs/libkafs.la \
+-@DCE_FALSE@@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@DCE_FALSE@@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
++@DCE_FALSE@@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @DCE_TRUE@@KRB4_FALSE@@KRB5_FALSE@rsh_DEPENDENCIES =  \
+ @DCE_TRUE@@KRB4_FALSE@@KRB5_FALSE@$(top_builddir)/lib/kdfs/libkdfs.la
+ @DCE_TRUE@@KRB4_FALSE@@KRB5_TRUE@rsh_DEPENDENCIES =  \
+ @DCE_TRUE@@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@DCE_TRUE@@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la \
+ @DCE_TRUE@@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+ @DCE_TRUE@@KRB4_TRUE@@KRB5_FALSE@rsh_DEPENDENCIES =  \
+ @DCE_TRUE@@KRB4_TRUE@@KRB5_FALSE@$(top_builddir)/lib/kafs/libkafs.la \
+@@ -246,7 +253,6 @@
+ @DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@rsh_DEPENDENCIES =  \
+ @DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/kafs/libkafs.la \
+ @DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la \
+ @DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+ rsh_LDFLAGS = 
+ am_rshd_OBJECTS =  rshd.$(OBJEXT) common.$(OBJEXT) \
+@@ -255,19 +261,16 @@
+ rshd_LDADD = $(LDADD)
+ @DCE_FALSE@@KRB4_FALSE@@KRB5_FALSE@rshd_DEPENDENCIES = 
+ @DCE_FALSE@@KRB4_FALSE@@KRB5_TRUE@rshd_DEPENDENCIES =  \
+-@DCE_FALSE@@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@DCE_FALSE@@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
++@DCE_FALSE@@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @DCE_FALSE@@KRB4_TRUE@@KRB5_FALSE@rshd_DEPENDENCIES =  \
+ @DCE_FALSE@@KRB4_TRUE@@KRB5_FALSE@$(top_builddir)/lib/kafs/libkafs.la
+ @DCE_FALSE@@KRB4_TRUE@@KRB5_TRUE@rshd_DEPENDENCIES =  \
+ @DCE_FALSE@@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/kafs/libkafs.la \
+-@DCE_FALSE@@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@DCE_FALSE@@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
++@DCE_FALSE@@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @DCE_TRUE@@KRB4_FALSE@@KRB5_FALSE@rshd_DEPENDENCIES =  \
+ @DCE_TRUE@@KRB4_FALSE@@KRB5_FALSE@$(top_builddir)/lib/kdfs/libkdfs.la
+ @DCE_TRUE@@KRB4_FALSE@@KRB5_TRUE@rshd_DEPENDENCIES =  \
+ @DCE_TRUE@@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@DCE_TRUE@@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la \
+ @DCE_TRUE@@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+ @DCE_TRUE@@KRB4_TRUE@@KRB5_FALSE@rshd_DEPENDENCIES =  \
+ @DCE_TRUE@@KRB4_TRUE@@KRB5_FALSE@$(top_builddir)/lib/kafs/libkafs.la \
+@@ -275,7 +278,6 @@
+ @DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@rshd_DEPENDENCIES =  \
+ @DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/kafs/libkafs.la \
+ @DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la \
+ @DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+ rshd_LDFLAGS = 
+ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+@@ -296,7 +298,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/rsh/Makefile
+ 
+@@ -419,11 +421,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.3f-old/appl/su/Makefile.in heimdal-0.3f/appl/su/Makefile.in
+--- heimdal-0.3f-old/appl/su/Makefile.in	Sat Jun  9 08:25:07 2001
++++ heimdal-0.3f/appl/su/Makefile.in	Tue Jun 19 18:17:49 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -93,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -133,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -176,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -243,7 +253,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/su/Makefile
+ 
+@@ -334,11 +344,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.3f-old/appl/telnet/Makefile.in heimdal-0.3f/appl/telnet/Makefile.in
+--- heimdal-0.3f-old/appl/telnet/Makefile.in	Sat Jun  9 08:25:08 2001
++++ heimdal-0.3f/appl/telnet/Makefile.in	Tue Jun 19 18:17:49 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -93,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -133,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -176,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -210,10 +220,9 @@
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+ GZIP_ENV = --best
+-DIST_SUBDIRS =  $(SUBDIRS)
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
++.SUFFIXES: .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .et .h .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/telnet/Makefile
+ 
+@@ -254,11 +263,7 @@
+ maintainer-clean-recursive:
+ 	@set fnord $(MAKEFLAGS); amf=$$2; \
+ 	dot_seen=no; \
+-	case "$@" in \
+-	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
+-	  *) list='$(SUBDIRS)' ;; \
+-	esac; \
+-	rev=''; for subdir in $$list; do \
++	rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
+ 	  if test "$$subdir" = "."; then :; else \
+ 	    rev="$$subdir $$rev"; \
+ 	  fi; \
+@@ -308,11 +313,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.3f-old/appl/telnet/libtelnet/Makefile.in heimdal-0.3f/appl/telnet/libtelnet/Makefile.in
+--- heimdal-0.3f-old/appl/telnet/libtelnet/Makefile.in	Sat Jun  9 08:25:08 2001
++++ heimdal-0.3f/appl/telnet/libtelnet/Makefile.in	Tue Jun 19 18:17:50 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -93,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -133,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -176,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -248,7 +258,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/telnet/libtelnet/Makefile
+ 
+@@ -321,11 +331,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.3f-old/appl/telnet/telnet/Makefile.in heimdal-0.3f/appl/telnet/telnet/Makefile.in
+--- heimdal-0.3f-old/appl/telnet/telnet/Makefile.in	Sat Jun  9 08:25:09 2001
++++ heimdal-0.3f/appl/telnet/telnet/Makefile.in	Tue Jun 19 18:17:50 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -93,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -133,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -176,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -229,13 +239,11 @@
+ telnet_LDADD = $(LDADD)
+ @DCE_FALSE@@KRB5_FALSE@telnet_DEPENDENCIES =  ../libtelnet/libtelnet.a
+ @DCE_FALSE@@KRB5_TRUE@telnet_DEPENDENCIES =  ../libtelnet/libtelnet.a \
+-@DCE_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@DCE_FALSE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
++@DCE_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @DCE_TRUE@@KRB5_FALSE@telnet_DEPENDENCIES =  ../libtelnet/libtelnet.a \
+ @DCE_TRUE@@KRB5_FALSE@$(top_builddir)/lib/kdfs/libkdfs.la
+ @DCE_TRUE@@KRB5_TRUE@telnet_DEPENDENCIES =  ../libtelnet/libtelnet.a \
+ @DCE_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@DCE_TRUE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la \
+ @DCE_TRUE@@KRB5_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+ telnet_LDFLAGS = 
+ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+@@ -258,7 +266,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/telnet/telnet/Makefile
+ 
+@@ -390,11 +398,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.3f-old/appl/telnet/telnetd/Makefile.in heimdal-0.3f/appl/telnet/telnetd/Makefile.in
+--- heimdal-0.3f-old/appl/telnet/telnetd/Makefile.in	Sat Jun  9 08:25:10 2001
++++ heimdal-0.3f/appl/telnet/telnetd/Makefile.in	Tue Jun 19 18:17:50 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -93,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -133,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -176,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -230,13 +240,11 @@
+ telnetd_LDADD = $(LDADD)
+ @DCE_FALSE@@KRB5_FALSE@telnetd_DEPENDENCIES =  ../libtelnet/libtelnet.a
+ @DCE_FALSE@@KRB5_TRUE@telnetd_DEPENDENCIES =  ../libtelnet/libtelnet.a \
+-@DCE_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@DCE_FALSE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
++@DCE_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @DCE_TRUE@@KRB5_FALSE@telnetd_DEPENDENCIES =  ../libtelnet/libtelnet.a \
+ @DCE_TRUE@@KRB5_FALSE@$(top_builddir)/lib/kdfs/libkdfs.la
+ @DCE_TRUE@@KRB5_TRUE@telnetd_DEPENDENCIES =  ../libtelnet/libtelnet.a \
+ @DCE_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@DCE_TRUE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la \
+ @DCE_TRUE@@KRB5_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+ telnetd_LDFLAGS = 
+ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+@@ -259,7 +267,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/telnet/telnetd/Makefile
+ 
+@@ -391,11 +399,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.3f-old/appl/test/Makefile.in heimdal-0.3f/appl/test/Makefile.in
+--- heimdal-0.3f-old/appl/test/Makefile.in	Sat Jun  9 08:25:10 2001
++++ heimdal-0.3f/appl/test/Makefile.in	Tue Jun 19 18:17:50 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -93,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -133,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -176,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -312,7 +322,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/test/Makefile
+ 
+@@ -412,11 +422,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.3f-old/appl/xnlock/Makefile.in heimdal-0.3f/appl/xnlock/Makefile.in
+--- heimdal-0.3f-old/appl/xnlock/Makefile.in	Sat Jun  9 08:25:08 2001
++++ heimdal-0.3f/appl/xnlock/Makefile.in	Tue Jun 19 18:17:49 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -93,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -132,7 +136,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -175,14 +179,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -228,14 +238,12 @@
+ xnlock_LDADD = $(LDADD)
+ @KRB4_FALSE@@KRB5_FALSE@xnlock_DEPENDENCIES = 
+ @KRB4_FALSE@@KRB5_TRUE@xnlock_DEPENDENCIES =  \
+-@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
++@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB4_TRUE@@KRB5_FALSE@xnlock_DEPENDENCIES =  \
+ @KRB4_TRUE@@KRB5_FALSE@$(top_builddir)/lib/kafs/libkafs.la
+ @KRB4_TRUE@@KRB5_TRUE@xnlock_DEPENDENCIES =  \
+ @KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/kafs/libkafs.la \
+-@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
++@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ xnlock_LDFLAGS = 
+ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+@@ -257,7 +265,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/xnlock/Makefile
+ 
+@@ -389,11 +397,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.3f-old/config.guess heimdal-0.3f/config.guess
+--- heimdal-0.3f-old/config.guess	Mon Sep 25 10:15:55 2000
++++ heimdal-0.3f/config.guess	Tue Jun 19 18:17:26 2001
+@@ -1,9 +1,9 @@
+ #! /bin/sh
+ # Attempt to guess a canonical system name.
+-#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000
++#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ #   Free Software Foundation, Inc.
+ 
+-version='2000-09-05'
++timestamp='2001-04-20'
+ 
+ # This file is free software; you can redistribute it and/or modify it
+ # under the terms of the GNU General Public License as published by
+@@ -32,30 +32,41 @@
+ # exits with 0.  Otherwise, it exits with 1.
+ #
+ # The plan is that this can be called by configure scripts if you
+-# don't specify an explicit system type (host/target name).
+-#
+-# Only a few systems have been added to this list; please add others
+-# (but try to keep the structure clean).
+-#
++# don't specify an explicit build system type.
+ 
+ me=`echo "$0" | sed -e 's,.*/,,'`
+ 
+ usage="\
+ Usage: $0 [OPTION]
+ 
+-Output the configuration name of this system.
++Output the configuration name of the system \`$me' is run on.
+ 
+ Operation modes:
+-  -h, --help               print this help, then exit
+-  -V, --version            print version number, then exit"
++  -h, --help         print this help, then exit
++  -t, --time-stamp   print date of last modification, then exit
++  -v, --version      print version number, then exit
++
++Report bugs and patches to <config-patches@gnu.org>."
++
++version="\
++GNU config.guess ($timestamp)
++
++Originally written by Per Bothner.
++Copyright (C) 1992, 93, 94, 95, 96, 97, 98, 99, 2000
++Free Software Foundation, Inc.
++
++This is free software; see the source for copying conditions.  There is NO
++warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
+ 
+ help="
+ Try \`$me --help' for more information."
+ 
+ # Parse command line
+ while test $# -gt 0 ; do
+-  case "$1" in
+-    --version | --vers* | -V )
++  case $1 in
++    --time-stamp | --time* | -t )
++       echo "$timestamp" ; exit 0 ;;
++    --version | -v )
+        echo "$version" ; exit 0 ;;
+     --help | --h* | -h )
+        echo "$usage"; exit 0 ;;
+@@ -64,9 +75,7 @@
+     - )	# Use stdin as input.
+        break ;;
+     -* )
+-       exec >&2
+-       echo "$me: invalid option $1"
+-       echo "$help"
++       echo "$me: invalid option $1$help" >&2
+        exit 1 ;;
+     * )
+        break ;;
+@@ -78,19 +87,30 @@
+   exit 1
+ fi
+ 
+-# Use $HOST_CC if defined. $CC may point to a cross-compiler
+-if test x"$CC_FOR_BUILD" = x; then
+-  if test x"$HOST_CC" != x; then
+-    CC_FOR_BUILD="$HOST_CC"
+-  else
+-    if test x"$CC" != x; then
+-      CC_FOR_BUILD="$CC"
+-    else
+-      CC_FOR_BUILD=cc
+-    fi
+-  fi
+-fi
+ 
++dummy=dummy-$$
++trap 'rm -f $dummy.c $dummy.o $dummy.rel $dummy; exit 1' 1 2 15
++
++# CC_FOR_BUILD -- compiler used by this script.
++# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
++# use `HOST_CC' if defined, but it is deprecated.
++
++case $CC_FOR_BUILD,$HOST_CC,$CC in
++ ,,)    echo "int dummy(){}" > $dummy.c
++	for c in cc gcc c89 ; do
++	  ($c $dummy.c -c -o $dummy.o) >/dev/null 2>&1
++	  if test $? = 0 ; then
++	     CC_FOR_BUILD="$c"; break
++	  fi
++	done
++	rm -f $dummy.c $dummy.o $dummy.rel
++	if test x"$CC_FOR_BUILD" = x ; then
++	  CC_FOR_BUILD=no_compiler_found
++	fi
++	;;
++ ,,*)   CC_FOR_BUILD=$CC ;;
++ ,*,*)  CC_FOR_BUILD=$HOST_CC ;;
++esac
+ 
+ # This is needed to find uname on a Pyramid OSx when run in the BSD universe.
+ # (ghazi@noc.rutgers.edu 8/24/94.)
+@@ -100,12 +120,9 @@
+ 
+ UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
+ UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
+-UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
++UNAME_SYSTEM=`(uname -s) 2>/dev/null`  || UNAME_SYSTEM=unknown
+ UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
+ 
+-dummy=dummy-$$
+-trap 'rm -f $dummy.c $dummy.o $dummy; exit 1' 1 2 15
+-
+ # Note: order is significant - the case branches are not exclusive.
+ 
+ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
+@@ -129,16 +146,24 @@
+ 	    ibmrt|romp-ibm) machine=romp-ibm ;;
+ 	    *) machine=${UNAME_MACHINE}-unknown ;;
+ 	esac
+-	# The Operating System including object format.
+-	if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
+-		| grep __ELF__ >/dev/null
+-	then
+-	    # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
+-	    # Return netbsd for either.  FIX?
+-	    os=netbsd
+-	else
+-	    os=netbsdelf
+-	fi
++	# The Operating System including object format, if it has switched
++	# to ELF recently, or will in the future.
++	case "${UNAME_MACHINE}" in
++	    i386|sparc|amiga|arm*|hp300|mvme68k|vax|atari|luna68k|mac68k|news68k|next68k|pc532|sun3*|x68k)
++		if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
++			| grep __ELF__ >/dev/null
++		then
++		    # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
++		    # Return netbsd for either.  FIX?
++		    os=netbsd
++		else
++		    os=netbsdelf
++		fi
++		;;
++	    *)
++	        os=netbsd
++		;;
++	esac
+ 	# The OS release
+ 	release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
+ 	# Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
+@@ -247,7 +272,7 @@
+     arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
+ 	echo arm-acorn-riscix${UNAME_RELEASE}
+ 	exit 0;;
+-    SR2?01:HI-UX/MPP:*:*)
++    SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
+ 	echo hppa1.1-hitachi-hiuxmpp
+ 	exit 0;;
+     Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*)
+@@ -308,7 +333,7 @@
+ 	exit 0 ;;
+     # The situation for MiNT is a little confusing.  The machine name
+     # can be virtually everything (everything which is not
+-    # "atarist" or "atariste" at least should have a processor 
++    # "atarist" or "atariste" at least should have a processor
+     # > m68000).  The system name ranges from "MiNT" over "FreeMiNT"
+     # to the lowercase version "mint" (or "freemint").  Finally
+     # the system name "TOS" denotes a system which is actually not
+@@ -383,10 +408,13 @@
+ EOF
+ 	$CC_FOR_BUILD $dummy.c -o $dummy \
+ 	  && ./$dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \
+-	  && rm $dummy.c $dummy && exit 0
++	  && rm -f $dummy.c $dummy && exit 0
+ 	rm -f $dummy.c $dummy
+ 	echo mips-mips-riscos${UNAME_RELEASE}
+ 	exit 0 ;;
++    Motorola:PowerMAX_OS:*:*)
++	echo powerpc-motorola-powermax
++	exit 0 ;;
+     Night_Hawk:Power_UNIX:*:*)
+ 	echo powerpc-harris-powerunix
+ 	exit 0 ;;
+@@ -402,7 +430,7 @@
+     AViiON:dgux:*:*)
+         # DG/UX returns AViiON for all architectures
+         UNAME_PROCESSOR=`/usr/bin/uname -p`
+-	if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110]
++	if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
+ 	then
+ 	    if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
+ 	       [ ${TARGET_BINARY_INTERFACE}x = x ]
+@@ -434,9 +462,17 @@
+     ????????:AIX?:[12].1:2)   # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
+ 	echo romp-ibm-aix      # uname -m gives an 8 hex-code CPU id
+ 	exit 0 ;;              # Note that: echo "'`uname -s`'" gives 'AIX '
+-    i?86:AIX:*:*)
++    i*86:AIX:*:*)
+ 	echo i386-ibm-aix
+ 	exit 0 ;;
++    ia64:AIX:*:*)
++	if [ -x /usr/bin/oslevel ] ; then
++		IBM_REV=`/usr/bin/oslevel`
++	else
++		IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
++	fi
++	echo ${UNAME_MACHINE}-ibm-aix${IBM_REV}
++	exit 0 ;;
+     *:AIX:2:3)
+ 	if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
+ 		sed 's/^		//' << EOF >$dummy.c
+@@ -450,7 +486,7 @@
+ 			exit(0);
+ 			}
+ EOF
+-		$CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm $dummy.c $dummy && exit 0
++		$CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm -f $dummy.c $dummy && exit 0
+ 		rm -f $dummy.c $dummy
+ 		echo rs6000-ibm-aix3.2.5
+ 	elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
+@@ -459,9 +495,9 @@
+ 		echo rs6000-ibm-aix3.2
+ 	fi
+ 	exit 0 ;;
+-    *:AIX:*:4)
++    *:AIX:*:[45])
+ 	IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | head -1 | awk '{ print $1 }'`
+-	if /usr/sbin/lsattr -EHl ${IBM_CPU_ID} | grep POWER >/dev/null 2>&1; then
++	if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
+ 		IBM_ARCH=rs6000
+ 	else
+ 		IBM_ARCH=powerpc
+@@ -469,7 +505,7 @@
+ 	if [ -x /usr/bin/oslevel ] ; then
+ 		IBM_REV=`/usr/bin/oslevel`
+ 	else
+-		IBM_REV=4.${UNAME_RELEASE}
++		IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
+ 	fi
+ 	echo ${IBM_ARCH}-ibm-aix${IBM_REV}
+ 	exit 0 ;;
+@@ -495,10 +531,28 @@
+ 	echo m68k-hp-bsd4.4
+ 	exit 0 ;;
+     9000/[34678]??:HP-UX:*:*)
++	HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
+ 	case "${UNAME_MACHINE}" in
+ 	    9000/31? )            HP_ARCH=m68000 ;;
+ 	    9000/[34]?? )         HP_ARCH=m68k ;;
+ 	    9000/[678][0-9][0-9])
++              case "${HPUX_REV}" in
++                11.[0-9][0-9])
++                  if [ -x /usr/bin/getconf ]; then
++                    sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
++                    sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
++                    case "${sc_cpu_version}" in
++                      523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
++                      528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
++                      532)                      # CPU_PA_RISC2_0
++                        case "${sc_kernel_bits}" in
++                          32) HP_ARCH="hppa2.0n" ;;
++                          64) HP_ARCH="hppa2.0w" ;;
++                        esac ;;
++                    esac
++                  fi ;;
++              esac
++              if [ "${HP_ARCH}" = "" ]; then
+               sed 's/^              //' << EOF >$dummy.c
+ 
+               #define _HPUX_SOURCE
+@@ -533,11 +587,16 @@
+               }
+ EOF
+ 	(CCOPTS= $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null ) && HP_ARCH=`./$dummy`
++	if test -z "$HP_ARCH"; then HP_ARCH=hppa; fi
+ 	rm -f $dummy.c $dummy
++	fi ;;
+ 	esac
+-	HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
+ 	echo ${HP_ARCH}-hp-hpux${HPUX_REV}
+ 	exit 0 ;;
++    ia64:HP-UX:*:*)
++	HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
++	echo ia64-hp-hpux${HPUX_REV}
++	exit 0 ;;
+     3050*:HI-UX:*:*)
+ 	sed 's/^	//' << EOF >$dummy.c
+ 	#include <unistd.h>
+@@ -564,7 +623,7 @@
+ 	  exit (0);
+ 	}
+ EOF
+-	$CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm $dummy.c $dummy && exit 0
++	$CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm -f $dummy.c $dummy && exit 0
+ 	rm -f $dummy.c $dummy
+ 	echo unknown-hitachi-hiuxwe2
+ 	exit 0 ;;
+@@ -583,7 +642,7 @@
+     hp8??:OSF1:*:*)
+ 	echo hppa1.0-hp-osf
+ 	exit 0 ;;
+-    i?86:OSF1:*:*)
++    i*86:OSF1:*:*)
+ 	if [ -x /usr/sbin/sysversion ] ; then
+ 	    echo ${UNAME_MACHINE}-unknown-osf1mk
+ 	else
+@@ -628,27 +687,28 @@
+     CRAY*TS:*:*:*)
+ 	echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
+ 	exit 0 ;;
+-    CRAY*T3E:*:*:*)
++    CRAY*T3D:*:*:*)
+ 	echo alpha-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
+ 	exit 0 ;;
++    CRAY*T3E:*:*:*)
++	echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
++	exit 0 ;;
+     CRAY*SV1:*:*:*)
+-	echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'    
++	echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
+ 	exit 0 ;;
+     CRAY-2:*:*:*)
+ 	echo cray2-cray-unicos
+         exit 0 ;;
+-    F300:UNIX_System_V:*:*)
++    F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
++	FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
+         FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
+         FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
+-        echo "f300-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
++        echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
+         exit 0 ;;
+-    F301:UNIX_System_V:*:*)
+-       echo f301-fujitsu-uxpv`echo $UNAME_RELEASE | sed 's/ .*//'`
+-       exit 0 ;;
+     hp300:OpenBSD:*:*)
+ 	echo m68k-unknown-openbsd${UNAME_RELEASE}
+ 	exit 0 ;;
+-    i?86:BSD/386:*:* | i?86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
++    i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
+ 	echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
+ 	exit 0 ;;
+     sparc*:BSD/OS:*:*)
+@@ -693,57 +753,38 @@
+     i*86:Minix:*:*)
+ 	echo ${UNAME_MACHINE}-pc-minix
+ 	exit 0 ;;
+-    *:Linux:*:*)
+-
+-	# The BFD linker knows what the default object file format is, so
+-	# first see if it will tell us. cd to the root directory to prevent
+-	# problems with other programs or directories called `ld' in the path.
+-	ld_help_string=`cd /; ld --help 2>&1`
+-	ld_supported_emulations=`echo $ld_help_string \
+-			 | sed -ne '/supported emulations:/!d
+-				    s/[ 	][ 	]*/ /g
+-				    s/.*supported emulations: *//
+-				    s/ .*//
+-				    p'`
+-        case "$ld_supported_emulations" in
+-	  *ia64)
+-		echo "${UNAME_MACHINE}-unknown-linux"
+-		exit 0
+-		;;
+-	  i?86linux)
+-		echo "${UNAME_MACHINE}-pc-linux-gnuaout"
+-		exit 0
+-		;;
+-	  elf_i?86)
+-		TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
+-		;;
+-	  i?86coff)
+-		echo "${UNAME_MACHINE}-pc-linux-gnucoff"
+-		exit 0
+-		;;
+-	  sparclinux)
+-		echo "${UNAME_MACHINE}-unknown-linux-gnuaout"
+-		exit 0
+-		;;
+-	  armlinux)
+-		echo "${UNAME_MACHINE}-unknown-linux-gnuaout"
+-		exit 0
+-		;;
+-	  elf32arm*)
+-		echo "${UNAME_MACHINE}-unknown-linux-gnuoldld"
+-		exit 0
+-		;;
+-	  armelf_linux*)
+-		echo "${UNAME_MACHINE}-unknown-linux-gnu"
+-		exit 0
+-		;;
+-	  m68klinux)
+-		echo "${UNAME_MACHINE}-unknown-linux-gnuaout"
+-		exit 0
+-		;;
+-	  elf32ppc | elf32ppclinux)
+-		# Determine Lib Version
+-		cat >$dummy.c <<EOF
++    arm*:Linux:*:*)
++	echo ${UNAME_MACHINE}-unknown-linux-gnu
++	exit 0 ;;
++    ia64:Linux:*:*)
++	echo ${UNAME_MACHINE}-unknown-linux
++	exit 0 ;;
++    m68*:Linux:*:*)
++	echo ${UNAME_MACHINE}-unknown-linux-gnu
++	exit 0 ;;
++    mips:Linux:*:*)
++	cat >$dummy.c <<EOF
++#ifdef __cplusplus
++#include <stdio.h>  /* for printf() prototype */
++int main (int argc, char *argv[]) {
++#else
++int main (argc, argv) int argc; char *argv[]; {
++#endif
++#ifdef __MIPSEB__
++  printf ("%s-unknown-linux-gnu\n", argv[1]);
++#endif
++#ifdef __MIPSEL__
++  printf ("%sel-unknown-linux-gnu\n", argv[1]);
++#endif
++  return 0;
++}
++EOF
++	$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy "${UNAME_MACHINE}" && rm -f $dummy.c $dummy && exit 0
++	rm -f $dummy.c $dummy
++	;;
++    ppc:Linux:*:*)
++	# Determine Lib Version
++	cat >$dummy.c <<EOF
+ #include <features.h>
+ #if defined(__GLIBC__)
+ extern char __libc_version[];
+@@ -756,129 +797,127 @@
+ #if defined(__GLIBC__)
+   printf("%s %s\n", __libc_version, __libc_release);
+ #else
+-  printf("unkown\n");
++  printf("unknown\n");
+ #endif
+   return 0;
+ }
+ EOF
+-		LIBC=""
+-		$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null
++	LIBC=""
++	$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null
++	if test "$?" = 0 ; then
++		./$dummy | grep 1\.99 > /dev/null
++		if test "$?" = 0 ; then LIBC="libc1" ; fi
++	fi
++	rm -f $dummy.c $dummy
++	echo powerpc-unknown-linux-gnu${LIBC}
++	exit 0 ;;
++    alpha:Linux:*:*)
++	cat <<EOF >$dummy.s
++	  .data
++	  \$Lformat:
++		.byte 37,100,45,37,120,10,0	# "%d-%x\n"
++	   .text
++		.globl main
++		.align 4
++		.ent main
++	    main:
++		.frame \$30,16,\$26,0
++		ldgp \$29,0(\$27)
++		.prologue 1
++		.long 0x47e03d80 # implver \$0
++		lda \$2,-1
++		.long 0x47e20c21 # amask \$2,\$1
++		lda \$16,\$Lformat
++		mov \$0,\$17
++		not \$1,\$18
++		jsr \$26,printf
++		ldgp \$29,0(\$26)
++		mov 0,\$16
++		jsr \$26,exit
++		.end main
++EOF
++	LIBC=""
++	$CC_FOR_BUILD $dummy.s -o $dummy 2>/dev/null
++	if test "$?" = 0 ; then
++		case `./$dummy` in
++		0-0)	UNAME_MACHINE="alpha" ;;
++		1-0)	UNAME_MACHINE="alphaev5" ;;
++		1-1)    UNAME_MACHINE="alphaev56" ;;
++		1-101)	UNAME_MACHINE="alphapca56" ;;
++		2-303)	UNAME_MACHINE="alphaev6" ;;
++		2-307)	UNAME_MACHINE="alphaev67" ;;
++		esac
++		objdump --private-headers $dummy | \
++		  grep ld.so.1 > /dev/null
+ 		if test "$?" = 0 ; then
+-			./$dummy | grep 1\.99 > /dev/null
+-			if test "$?" = 0 ; then
+-				LIBC="libc1"
+-			fi
+-		fi	
+-		rm -f $dummy.c $dummy
+-		echo powerpc-unknown-linux-gnu${LIBC}
++			LIBC="libc1"
++		fi
++	fi
++	rm -f $dummy.s $dummy
++	echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
++	exit 0 ;;
++    parisc:Linux:*:* | hppa:Linux:*:*)
++	# Look for CPU level
++	case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
++	  PA7*) echo hppa1.1-unknown-linux-gnu ;;
++	  PA8*) echo hppa2.0-unknown-linux-gnu ;;
++	  *)    echo hppa-unknown-linux-gnu ;;
++	esac
++	exit 0 ;;
++    parisc64:Linux:*:* | hppa64:Linux:*:*)
++	echo hppa64-unknown-linux-gnu
++	exit 0 ;;
++    s390:Linux:*:* | s390x:Linux:*:*)
++	echo ${UNAME_MACHINE}-ibm-linux
++	exit 0 ;;
++    sh*:Linux:*:*)
++	echo ${UNAME_MACHINE}-unknown-linux-gnu
++	exit 0 ;;
++    sparc:Linux:*:* | sparc64:Linux:*:*)
++	echo ${UNAME_MACHINE}-unknown-linux-gnu
++	exit 0 ;;
++    x86_64:Linux:*:*)
++	echo x86_64-unknown-linux-gnu
++	exit 0 ;;
++    i*86:Linux:*:*)
++	# The BFD linker knows what the default object file format is, so
++	# first see if it will tell us. cd to the root directory to prevent
++	# problems with other programs or directories called `ld' in the path.
++	ld_supported_emulations=`cd /; ld --help 2>&1 \
++			 | sed -ne '/supported emulations:/!d
++				    s/[ 	][ 	]*/ /g
++				    s/.*supported emulations: *//
++				    s/ .*//
++				    p'`
++        case "$ld_supported_emulations" in
++	  i*86linux)
++		echo "${UNAME_MACHINE}-pc-linux-gnuaout"
+ 		exit 0
+ 		;;
+-	  shelf_linux)
+-		echo "${UNAME_MACHINE}-unknown-linux-gnu"
++	  elf_i*86)
++		TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
++		;;
++	  i*86coff)
++		echo "${UNAME_MACHINE}-pc-linux-gnucoff"
+ 		exit 0
+ 		;;
+ 	esac
+-
+-	if test "${UNAME_MACHINE}" = "alpha" ; then
+-		cat <<EOF >$dummy.s
+-			.data
+-		\$Lformat:
+-			.byte 37,100,45,37,120,10,0	# "%d-%x\n"
+-
+-			.text
+-			.globl main
+-			.align 4
+-			.ent main
+-		main:
+-			.frame \$30,16,\$26,0
+-			ldgp \$29,0(\$27)
+-			.prologue 1
+-			.long 0x47e03d80 # implver \$0
+-			lda \$2,-1
+-			.long 0x47e20c21 # amask \$2,\$1
+-			lda \$16,\$Lformat
+-			mov \$0,\$17
+-			not \$1,\$18
+-			jsr \$26,printf
+-			ldgp \$29,0(\$26)
+-			mov 0,\$16
+-			jsr \$26,exit
+-			.end main
+-EOF
+-		LIBC=""
+-		$CC_FOR_BUILD $dummy.s -o $dummy 2>/dev/null
+-		if test "$?" = 0 ; then
+-			case `./$dummy` in
+-			0-0)
+-				UNAME_MACHINE="alpha"
+-				;;
+-			1-0)
+-				UNAME_MACHINE="alphaev5"
+-				;;
+-			1-1)
+-				UNAME_MACHINE="alphaev56"
+-				;;
+-			1-101)
+-				UNAME_MACHINE="alphapca56"
+-				;;
+-			2-303)
+-				UNAME_MACHINE="alphaev6"
+-				;;
+-			2-307)
+-				UNAME_MACHINE="alphaev67"
+-				;;
+-			esac
+-
+-			objdump --private-headers $dummy | \
+-			  grep ld.so.1 > /dev/null
+-			if test "$?" = 0 ; then
+-				LIBC="libc1"
+-			fi
+-		fi
+-		rm -f $dummy.s $dummy
+-		echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} ; exit 0
+-	elif test "${UNAME_MACHINE}" = "mips" ; then
+-	  cat >$dummy.c <<EOF
+-#ifdef __cplusplus
+-#include <stdio.h>  /* for printf() prototype */
+-	int main (int argc, char *argv[]) {
+-#else
+-	int main (argc, argv) int argc; char *argv[]; {
+-#endif
+-#ifdef __MIPSEB__
+-  printf ("%s-unknown-linux-gnu\n", argv[1]);
+-#endif
+-#ifdef __MIPSEL__
+-  printf ("%sel-unknown-linux-gnu\n", argv[1]);
+-#endif
+-  return 0;
+-}
+-EOF
+-	  $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy "${UNAME_MACHINE}" && rm $dummy.c $dummy && exit 0
+-	  rm -f $dummy.c $dummy
+-	elif test "${UNAME_MACHINE}" = "s390"; then
+-	  echo s390-ibm-linux && exit 0
+-	elif test "${UNAME_MACHINE}" = "x86_64"; then
+-	  echo x86_64-unknown-linux-gnu && exit 0
+-	else
+-	  # Either a pre-BFD a.out linker (linux-gnuoldld)
+-	  # or one that does not give us useful --help.
+-	  # GCC wants to distinguish between linux-gnuoldld and linux-gnuaout.
+-	  # If ld does not provide *any* "supported emulations:"
+-	  # that means it is gnuoldld.
+-	  echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations:"
+-	  test $? != 0 && echo "${UNAME_MACHINE}-pc-linux-gnuoldld" && exit 0
+-
+-	  case "${UNAME_MACHINE}" in
+-	  i?86)
+-	    VENDOR=pc;
+-	    ;;
+-	  *)
+-	    VENDOR=unknown;
+-	    ;;
+-	  esac
+-	  # Determine whether the default compiler is a.out or elf
+-	  cat >$dummy.c <<EOF
++	# Either a pre-BFD a.out linker (linux-gnuoldld)
++	# or one that does not give us useful --help.
++	# GCC wants to distinguish between linux-gnuoldld and linux-gnuaout.
++	# If ld does not provide *any* "supported emulations:"
++	# that means it is gnuoldld.
++	test -z "$ld_supported_emulations" && echo "${UNAME_MACHINE}-pc-linux-gnuoldld" && exit 0
++	case "${UNAME_MACHINE}" in
++	i*86)
++	  VENDOR=pc;
++	  ;;
++	*)
++	  VENDOR=unknown;
++	  ;;
++	esac
++	# Determine whether the default compiler is a.out or elf
++	cat >$dummy.c <<EOF
+ #include <features.h>
+ #ifdef __cplusplus
+ #include <stdio.h>  /* for printf() prototype */
+@@ -902,16 +941,16 @@
+   return 0;
+ }
+ EOF
+-	  $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy "${UNAME_MACHINE}" && rm $dummy.c $dummy && exit 0
+-	  rm -f $dummy.c $dummy
+-	  test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0
+-	fi ;;
++	$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy "${UNAME_MACHINE}" && rm -f $dummy.c $dummy && exit 0
++	rm -f $dummy.c $dummy
++	test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0
++	;;
+ # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.  earlier versions
+ # are messed up and put the nodename in both sysname and nodename.
+-    i?86:DYNIX/ptx:4*:*)
++    i*86:DYNIX/ptx:4*:*)
+ 	echo i386-sequent-sysv4
+ 	exit 0 ;;
+-    i?86:UNIX_SV:4.2MP:2.*)
++    i*86:UNIX_SV:4.2MP:2.*)
+         # Unixware is an offshoot of SVR4, but it has its own version
+         # number series starting with 2...
+         # I am not positive that other SVR4 systems won't match this,
+@@ -919,7 +958,7 @@
+         # Use sysv4.2uw... so that sysv4* matches it.
+ 	echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
+ 	exit 0 ;;
+-    i?86:*:4.*:* | i?86:SYSTEM_V:4.*:*)
++    i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
+ 	UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
+ 	if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
+ 		echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL}
+@@ -927,7 +966,7 @@
+ 		echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL}
+ 	fi
+ 	exit 0 ;;
+-    i?86:*:5:7*)
++    i*86:*:5:7*)
+         # Fixed at (any) Pentium or better
+         UNAME_MACHINE=i586
+         if [ ${UNAME_SYSTEM} = "UnixWare" ] ; then
+@@ -936,7 +975,7 @@
+ 	    echo ${UNAME_MACHINE}-pc-sysv${UNAME_RELEASE}
+ 	fi
+ 	exit 0 ;;
+-    i?86:*:3.2:*)
++    i*86:*:3.2:*)
+ 	if test -f /usr/options/cb.name; then
+ 		UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
+ 		echo ${UNAME_MACHINE}-pc-isc$UNAME_REL
+@@ -954,7 +993,7 @@
+ 		echo ${UNAME_MACHINE}-pc-sysv32
+ 	fi
+ 	exit 0 ;;
+-    i?86:*DOS:*:*)
++    i*86:*DOS:*:*)
+ 	echo ${UNAME_MACHINE}-pc-msdosdjgpp
+ 	exit 0 ;;
+     pc:*:*:*)
+@@ -982,7 +1021,7 @@
+ 	exit 0 ;;
+     M68*:*:R3V[567]*:*)
+ 	test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
+-    3[34]??:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 4850:*:4.0:3.0)
++    3[34]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 4850:*:4.0:3.0)
+ 	OS_REL=''
+ 	test -r /etc/.relid \
+ 	&& OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
+@@ -993,21 +1032,24 @@
+     3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
+         /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
+           && echo i486-ncr-sysv4 && exit 0 ;;
+-    m68*:LynxOS:2.*:*)
++    m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
+ 	echo m68k-unknown-lynxos${UNAME_RELEASE}
+ 	exit 0 ;;
+     mc68030:UNIX_System_V:4.*:*)
+ 	echo m68k-atari-sysv4
+ 	exit 0 ;;
+-    i?86:LynxOS:2.*:* | i?86:LynxOS:3.[01]*:*)
++    i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
+ 	echo i386-unknown-lynxos${UNAME_RELEASE}
+ 	exit 0 ;;
+     TSUNAMI:LynxOS:2.*:*)
+ 	echo sparc-unknown-lynxos${UNAME_RELEASE}
+ 	exit 0 ;;
+-    rs6000:LynxOS:2.*:* | PowerPC:LynxOS:2.*:*)
++    rs6000:LynxOS:2.*:*)
+ 	echo rs6000-unknown-lynxos${UNAME_RELEASE}
+ 	exit 0 ;;
++    PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
++	echo powerpc-unknown-lynxos${UNAME_RELEASE}
++	exit 0 ;;
+     SM[BE]S:UNIX_SV:*:*)
+ 	echo mips-dde-sysv${UNAME_RELEASE}
+ 	exit 0 ;;
+@@ -1087,6 +1129,9 @@
+     NSR-[KW]:NONSTOP_KERNEL:*:*)
+ 	echo nsr-tandem-nsk${UNAME_RELEASE}
+ 	exit 0 ;;
++    *:NonStop-UX:*:*)
++	echo mips-compaq-nonstopux
++	exit 0 ;;
+     BS2000:POSIX*:*:*)
+ 	echo bs2000-siemens-sysv
+ 	exit 0 ;;
+@@ -1104,8 +1149,29 @@
+ 	fi
+ 	echo ${UNAME_MACHINE}-unknown-plan9
+ 	exit 0 ;;
+-    *:OS/2:*:*)
+-	echo ${UNAME_MACHINE}-pc-os2_emx
++    i*86:OS/2:*:*)
++	# If we were able to find `uname', then EMX Unix compatibility
++	# is probably installed.
++	echo ${UNAME_MACHINE}-pc-os2-emx
++	exit 0 ;;
++    *:TOPS-10:*:*)
++	echo pdp10-unknown-tops10
++	exit 0 ;;
++    *:TENEX:*:*)
++	echo pdp10-unknown-tenex
++	exit 0 ;;
++    KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*)
++	echo pdp10-dec-tops20
++	exit 0 ;;
++    XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*)
++	echo pdp10-xkl-tops20
++	exit 0 ;;
++    *:TOPS-20:*:*)
++	echo pdp10-unknown-tops20
++	exit 0 ;;
++    *:ITS:*:*)
++	echo pdp10-unknown-its
++	exit 0 ;;
+ esac
+ 
+ #echo '(No uname command or uname output not recognized.)' 1>&2
+@@ -1197,11 +1263,24 @@
+ #endif
+ 
+ #if defined (vax)
+-#if !defined (ultrix)
+-  printf ("vax-dec-bsd\n"); exit (0);
+-#else
+-  printf ("vax-dec-ultrix\n"); exit (0);
+-#endif
++# if !defined (ultrix)
++#  include <sys/param.h>
++#  if defined (BSD)
++#   if BSD == 43
++      printf ("vax-dec-bsd4.3\n"); exit (0);
++#   else
++#    if BSD == 199006
++      printf ("vax-dec-bsd4.3reno\n"); exit (0);
++#    else
++      printf ("vax-dec-bsd\n"); exit (0);
++#    endif
++#   endif
++#  else
++    printf ("vax-dec-bsd\n"); exit (0);
++#  endif
++# else
++    printf ("vax-dec-ultrix\n"); exit (0);
++# endif
+ #endif
+ 
+ #if defined (alliant) && defined (i860)
+@@ -1212,7 +1291,7 @@
+ }
+ EOF
+ 
+-$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy && rm $dummy.c $dummy && exit 0
++$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy && rm -f $dummy.c $dummy && exit 0
+ rm -f $dummy.c $dummy
+ 
+ # Apollos put the system type in the environment.
+@@ -1248,8 +1327,9 @@
+ cat >&2 <<EOF
+ $0: unable to guess system type
+ 
+-The $version version of this script cannot recognize your system type.
+-Please download the most up to date version of the config scripts:
++This script, last modified $timestamp, has failed to recognize
++the operating system you are using. It is advised that you
++download the most up to date version of the config scripts from
+ 
+     ftp://ftp.gnu.org/pub/gnu/config/
+ 
+@@ -1258,7 +1338,7 @@
+ pertinent to <config-patches@gnu.org> in order to provide the needed
+ information to handle your system.
+ 
+-config.guess version = $version
++config.guess timestamp = $timestamp
+ 
+ uname -m = `(uname -m) 2>/dev/null || echo unknown`
+ uname -r = `(uname -r) 2>/dev/null || echo unknown`
+@@ -1285,7 +1365,7 @@
+ 
+ # Local variables:
+ # eval: (add-hook 'write-file-hooks 'time-stamp)
+-# time-stamp-start: "version='"
++# time-stamp-start: "timestamp='"
+ # time-stamp-format: "%:y-%02m-%02d"
+ # time-stamp-end: "'"
+ # End:
+diff -ruN heimdal-0.3f-old/config.sub heimdal-0.3f/config.sub
+--- heimdal-0.3f-old/config.sub	Mon Sep 25 10:16:33 2000
++++ heimdal-0.3f/config.sub	Tue Jun 19 18:17:26 2001
+@@ -1,9 +1,9 @@
+ #! /bin/sh
+-# Configuration validation subroutine script, version 1.1.
+-#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Configuration validation subroutine script.
++#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ #   Free Software Foundation, Inc.
+ 
+-version='2000-09-11'
++timestamp='2001-04-20'
+ 
+ # This file is (in principle) common to ALL GNU software.
+ # The presence of a machine in this file suggests that SOME GNU software
+@@ -60,16 +60,30 @@
+ Canonicalize a configuration name.
+ 
+ Operation modes:
+-  -h, --help               print this help, then exit
+-  -V, --version            print version number, then exit"
++  -h, --help         print this help, then exit
++  -t, --time-stamp   print date of last modification, then exit
++  -v, --version      print version number, then exit
++
++Report bugs and patches to <config-patches@gnu.org>."
++
++version="\
++GNU config.sub ($timestamp)
++
++Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
++Free Software Foundation, Inc.
++
++This is free software; see the source for copying conditions.  There is NO
++warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
+ 
+ help="
+ Try \`$me --help' for more information."
+ 
+ # Parse command line
+ while test $# -gt 0 ; do
+-  case "$1" in
+-    --version | --vers* | -V )
++  case $1 in
++    --time-stamp | --time* | -t )
++       echo "$timestamp" ; exit 0 ;;
++    --version | -v )
+        echo "$version" ; exit 0 ;;
+     --help | --h* | -h )
+        echo "$usage"; exit 0 ;;
+@@ -78,9 +92,7 @@
+     - )	# Use stdin as input.
+        break ;;
+     -* )
+-       exec >&2
+-       echo "$me: invalid option $1"
+-       echo "$help"
++       echo "$me: invalid option $1$help"
+        exit 1 ;;
+ 
+     *local*)
+@@ -105,7 +117,7 @@
+ # Here we must recognize all the valid KERNEL-OS combinations.
+ maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
+ case $maybe_os in
+-  nto-qnx* | linux-gnu*)
++  nto-qnx* | linux-gnu* | storm-chaos* | os2-emx*)
+     os=-$maybe_os
+     basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
+     ;;
+@@ -203,22 +215,26 @@
+ case $basic_machine in
+ 	# Recognize the basic CPU types without company name.
+ 	# Some are omitted here because they have special meanings below.
+-	tahoe | i860 | ia64 | m32r | m68k | m68000 | m88k | ns32k | arc | arm \
+-		| arme[lb] | armv[2345] | armv[345][lb] | pyramid | mn10200 | mn10300 | tron | a29k \
++	tahoe | i860 | ia64 | m32r | m68k | m68000 | m88k | ns32k | arc \
++	        | arm | arme[lb] | arm[bl]e | armv[2345] | armv[345][lb] | strongarm | xscale \
++		| pyramid | mn10200 | mn10300 | tron | a29k \
+ 		| 580 | i960 | h8300 \
+-		| x86 | ppcbe | mipsbe | mipsle | shbe | shle | armbe | armle \
++		| x86 | ppcbe | mipsbe | mipsle | shbe | shle \
+ 		| hppa | hppa1.0 | hppa1.1 | hppa2.0 | hppa2.0w | hppa2.0n \
+ 		| hppa64 \
+ 		| alpha | alphaev[4-8] | alphaev56 | alphapca5[67] \
+ 		| alphaev6[78] \
+ 		| we32k | ns16k | clipper | i370 | sh | sh[34] \
+ 		| powerpc | powerpcle \
+-		| 1750a | dsp16xx | pdp11 | mips16 | mips64 | mipsel | mips64el \
++		| 1750a | dsp16xx | pdp10 | pdp11 \
++		| mips16 | mips64 | mipsel | mips64el \
+ 		| mips64orion | mips64orionel | mipstx39 | mipstx39el \
+ 		| mips64vr4300 | mips64vr4300el | mips64vr4100 | mips64vr4100el \
+-		| mips64vr5000 | miprs64vr5000el | mcore \
+-		| sparc | sparclet | sparclite | sparc64 | sparcv9 | v850 | c4x \
+-		| thumb | d10v | d30v | fr30 | avr)
++		| mips64vr5000 | miprs64vr5000el | mcore | s390 | s390x \
++		| sparc | sparclet | sparclite | sparc64 | sparcv9 | sparcv9b \
++		| v850 | c4x \
++		| thumb | d10v | d30v | fr30 | avr | openrisc | tic80 \
++		| pj | pjl | h8500)
+ 		basic_machine=$basic_machine-unknown
+ 		;;
+ 	m6811 | m68hc11 | m6812 | m68hc12)
+@@ -226,13 +242,13 @@
+ 		basic_machine=$basic_machine-unknown
+ 		os=-none
+ 		;;
+-	m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | z8k | v70 | h8500 | w65 | pj | pjl)
++	m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | z8k | v70 | w65)
+ 		;;
+ 
+ 	# We use `pc' rather than `unknown'
+ 	# because (1) that's what they normally are, and
+ 	# (2) the word "unknown" tends to confuse beginning users.
+-	i[234567]86 | x86_64)
++	i*86 | x86_64)
+ 	  basic_machine=$basic_machine-pc
+ 	  ;;
+ 	# Object if more than one company name word.
+@@ -242,27 +258,30 @@
+ 		;;
+ 	# Recognize the basic CPU types with company name.
+ 	# FIXME: clean up the formatting here.
+-	vax-* | tahoe-* | i[234567]86-* | i860-* | ia64-* | m32r-* | m68k-* | m68000-* \
+-	      | m88k-* | sparc-* | ns32k-* | fx80-* | arc-* | arm-* | c[123]* \
++	vax-* | tahoe-* | i*86-* | i860-* | ia64-* | m32r-* | m68k-* | m68000-* \
++	      | m88k-* | sparc-* | ns32k-* | fx80-* | arc-* | c[123]* \
++	      | arm-*  | armbe-* | armle-* | armv*-* | strongarm-* | xscale-* \
+ 	      | mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \
+ 	      | power-* | none-* | 580-* | cray2-* | h8300-* | h8500-* | i960-* \
+ 	      | xmp-* | ymp-* \
+-	      | x86-* | ppcbe-* | mipsbe-* | mipsle-* | shbe-* | shle-* | armbe-* | armle-* \
++	      | x86-* | ppcbe-* | mipsbe-* | mipsle-* | shbe-* | shle-* \
+ 	      | hppa-* | hppa1.0-* | hppa1.1-* | hppa2.0-* | hppa2.0w-* \
+ 	      | hppa2.0n-* | hppa64-* \
+ 	      | alpha-* | alphaev[4-8]-* | alphaev56-* | alphapca5[67]-* \
+ 	      | alphaev6[78]-* \
+ 	      | we32k-* | cydra-* | ns16k-* | pn-* | np1-* | xps100-* \
+ 	      | clipper-* | orion-* \
+-	      | sparclite-* | pdp11-* | sh-* | powerpc-* | powerpcle-* \
+-	      | sparc64-* | sparcv9-* | sparc86x-* | mips16-* | mips64-* | mipsel-* \
++	      | sparclite-* | pdp10-* | pdp11-* | sh-* | powerpc-* | powerpcle-* \
++	      | sparc64-* | sparcv9-* | sparcv9b-* | sparc86x-* \
++	      | mips16-* | mips64-* | mipsel-* \
+ 	      | mips64el-* | mips64orion-* | mips64orionel-* \
+ 	      | mips64vr4100-* | mips64vr4100el-* | mips64vr4300-* | mips64vr4300el-* \
+ 	      | mipstx39-* | mipstx39el-* | mcore-* \
+-	      | f301-* | armv*-* | s390-* | sv1-* | t3e-* \
++	      | f30[01]-* | f700-* | s390-* | s390x-* | sv1-* | t3e-* \
++	      | [cjt]90-* \
+ 	      | m88110-* | m680[01234]0-* | m683?2-* | m68360-* | z8k-* | d10v-* \
+-	      | thumb-* | v850-* | d30v-* | tic30-* | c30-* | fr30-* \
+-	      | bs2000-* | tic54x-* | c54x-* | x86_64-*)
++	      | thumb-* | v850-* | d30v-* | tic30-* | tic80-* | c30-* | fr30-* \
++	      | bs2000-* | tic54x-* | c54x-* | x86_64-* | pj-* | pjl-*)
+ 		;;
+ 	# Recognize the various machine names and aliases which stand
+ 	# for a CPU type and a company and sometimes even an OS.
+@@ -353,8 +372,8 @@
+ 		basic_machine=cray2-cray
+ 		os=-unicos
+ 		;;
+-	[ctj]90-cray)
+-		basic_machine=c90-cray
++	[cjt]90)
++		basic_machine=${basic_machine}-cray
+ 		os=-unicos
+ 		;;
+ 	crds | unos)
+@@ -410,6 +429,10 @@
+ 		basic_machine=tron-gmicro
+ 		os=-sysv
+ 		;;
++	go32)
++		basic_machine=i386-pc
++		os=-go32
++		;;
+ 	h3050r* | hiux*)
+ 		basic_machine=hppa1.1-hitachi
+ 		os=-hiuxwe2
+@@ -485,19 +508,19 @@
+ 		basic_machine=i370-ibm
+ 		;;
+ # I'm not sure what "Sysv32" means.  Should this be sysv3.2?
+-	i[34567]86v32)
++	i*86v32)
+ 		basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
+ 		os=-sysv32
+ 		;;
+-	i[34567]86v4*)
++	i*86v4*)
+ 		basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
+ 		os=-sysv4
+ 		;;
+-	i[34567]86v)
++	i*86v)
+ 		basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
+ 		os=-sysv
+ 		;;
+-	i[34567]86sol2)
++	i*86sol2)
+ 		basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
+ 		os=-solaris2
+ 		;;
+@@ -509,18 +532,6 @@
+ 		basic_machine=i386-unknown
+ 		os=-vsta
+ 		;;
+-	i386-go32 | go32)
+-		basic_machine=i386-unknown
+-		os=-go32
+-		;;
+-	i386-mingw32 | mingw32)
+-		basic_machine=i386-unknown
+-		os=-mingw32
+-		;;
+-	i[34567]86-pw32 | pw32)
+-		basic_machine=i586-unknown
+-		os=-pw32
+-		;;
+ 	iris | iris4d)
+ 		basic_machine=mips-sgi
+ 		case $os in
+@@ -546,6 +557,10 @@
+ 		basic_machine=ns32k-utek
+ 		os=-sysv
+ 		;;
++	mingw32)
++		basic_machine=i386-pc
++		os=-mingw32
++		;;
+ 	miniframe)
+ 		basic_machine=m68000-convergent
+ 		;;
+@@ -576,7 +591,7 @@
+ 		os=-coff
+ 		;;
+ 	msdos)
+-		basic_machine=i386-unknown
++		basic_machine=i386-pc
+ 		os=-msdos
+ 		;;
+ 	mvs)
+@@ -640,6 +655,10 @@
+ 		basic_machine=i960-intel
+ 		os=-mon960
+ 		;;
++	nonstopux)
++		basic_machine=mips-compaq
++		os=-nonstopux
++		;;
+ 	np1)
+ 		basic_machine=np1-gould
+ 		;;
+@@ -675,28 +694,28 @@
+         pc532 | pc532-*)
+ 		basic_machine=ns32k-pc532
+ 		;;
+-	pentium | p5 | k5 | k6 | nexen)
++	pentium | p5 | k5 | k6 | nexgen)
+ 		basic_machine=i586-pc
+ 		;;
+ 	pentiumpro | p6 | 6x86 | athlon)
+ 		basic_machine=i686-pc
+ 		;;
+ 	pentiumii | pentium2)
+-		basic_machine=i786-pc
++		basic_machine=i686-pc
+ 		;;
+-	pentium-* | p5-* | k5-* | k6-* | nexen-*)
++	pentium-* | p5-* | k5-* | k6-* | nexgen-*)
+ 		basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
+ 		;;
+ 	pentiumpro-* | p6-* | 6x86-* | athlon-*)
+ 		basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
+ 		;;
+ 	pentiumii-* | pentium2-*)
+-		basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
++		basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
+ 		;;
+ 	pn)
+ 		basic_machine=pn-gould
+ 		;;
+-	power)	basic_machine=rs6000-ibm
++	power)	basic_machine=power-ibm
+ 		;;
+ 	ppc)	basic_machine=powerpc-unknown
+ 	        ;;
+@@ -711,6 +730,10 @@
+ 	ps2)
+ 		basic_machine=i386-ibm
+ 		;;
++	pw32)
++		basic_machine=i586-unknown
++		os=-pw32
++		;;
+ 	rom68k)
+ 		basic_machine=m68k-rom68k
+ 		os=-coff
+@@ -901,6 +924,10 @@
+ 	vax)
+ 		basic_machine=vax-dec
+ 		;;
++	pdp10)
++		# there are many clones, so DEC is not a safe bet
++		basic_machine=pdp10-unknown
++		;;
+ 	pdp11)
+ 		basic_machine=pdp11-dec
+ 		;;
+@@ -908,9 +935,9 @@
+ 		basic_machine=we32k-att
+ 		;;
+ 	sh3 | sh4)
+-		base_machine=sh-unknown
++		basic_machine=sh-unknown
+ 		;;
+-	sparc | sparcv9)
++	sparc | sparcv9 | sparcv9b)
+ 		basic_machine=sparc-sun
+ 		;;
+         cydra)
+@@ -932,6 +959,9 @@
+ 		basic_machine=c4x-none
+ 		os=-coff
+ 		;;
++	*-unknown)
++		# Make sure to match an already-canonicalized machine name.
++		;;
+ 	*)
+ 		echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
+ 		exit 1
+@@ -991,12 +1021,13 @@
+ 	      | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
+ 	      | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
+ 	      | -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \
+-	      | -openstep* | -oskit* | -conix* | -pw32*)
++	      | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
++	      | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* | -os2*)
+ 	# Remember, each alternative MUST END IN *, to match a version number.
+ 		;;
+ 	-qnx*)
+ 		case $basic_machine in
+-		    x86-* | i[34567]86-*)
++		    x86-* | i*86-*)
+ 			;;
+ 		    *)
+ 			os=-nto$os
+@@ -1089,7 +1120,7 @@
+ 	-xenix)
+ 		os=-xenix
+ 		;;
+-        -*mint | -*MiNT)
++        -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
+ 	        os=-mint
+ 		;;
+ 	-none)
+@@ -1123,6 +1154,9 @@
+ 	arm*-semi)
+ 		os=-aout
+ 		;;
++	pdp10-*)
++		os=-tops20
++		;;
+         pdp11-*)
+ 		os=-none
+ 		;;
+@@ -1231,7 +1265,7 @@
+ 	*-masscomp)
+ 		os=-rtu
+ 		;;
+-	f301-fujitsu)
++	f30[01]-fujitsu | f700-fujitsu)
+ 		os=-uxpv
+ 		;;
+ 	*-rom68k)
+@@ -1309,7 +1343,7 @@
+ 			-mpw* | -macos*)
+ 				vendor=apple
+ 				;;
+-			-*mint | -*MiNT)
++			-*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
+ 				vendor=atari
+ 				;;
+ 		esac
+@@ -1322,7 +1356,7 @@
+ 
+ # Local variables:
+ # eval: (add-hook 'write-file-hooks 'time-stamp)
+-# time-stamp-start: "version='"
++# time-stamp-start: "timestamp='"
+ # time-stamp-format: "%:y-%02m-%02d"
+ # time-stamp-end: "'"
+ # End:
+diff -ruN heimdal-0.3f-old/configure heimdal-0.3f/configure
+--- heimdal-0.3f-old/configure	Sat Jun  9 08:26:04 2001
++++ heimdal-0.3f/configure	Tue Jun 19 18:17:35 2001
+@@ -10,6 +10,161 @@
+ # This configure script is free software; the Free Software Foundation
+ # gives unlimited permission to copy, distribute and modify it.
+ 
++# Find the correct PATH separator.  Usually this is `:', but
++# DJGPP uses `;' like DOS.
++if test "X${PATH_SEPARATOR+set}" != Xset; then
++  UNAME=${UNAME-`uname 2>/dev/null`}
++  case X$UNAME in
++    *-DOS) lt_cv_sys_path_separator=';' ;;
++    *)     lt_cv_sys_path_separator=':' ;;
++  esac
++fi
++
++# Check that we are running under the correct shell.
++SHELL=${CONFIG_SHELL-/bin/sh}
++
++case X$ECHO in
++X*--fallback-echo)
++  # Remove one level of quotation (which was required for Make).
++  ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
++  ;;
++esac
++
++echo=${ECHO-echo}
++if test "X$1" = X--no-reexec; then
++  # Discard the --no-reexec flag, and continue.
++  shift
++elif test "X$1" = X--fallback-echo; then
++  # Avoid inline document here, it may be left over
++  :
++elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
++  # Yippee, $echo works!
++  :
++else
++  # Restart under the correct shell.
++  exec $SHELL "$0" --no-reexec ${1+"$@"}
++fi
++
++if test "X$1" = X--fallback-echo; then
++  # used as fallback echo
++  shift
++  cat <<EOF
++
++EOF
++  exit 0
++fi
++
++# The HP-UX ksh and POSIX shell print the target directory to stdout
++# if CDPATH is set.
++if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
++
++if test -z "$ECHO"; then
++if test "X${echo_test_string+set}" != Xset; then
++# find a string as large as possible, as long as the shell can cope with it
++  for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
++    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
++    if (echo_test_string="`eval $cmd`") 2>/dev/null &&
++       echo_test_string="`eval $cmd`" &&
++       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
++    then
++      break
++    fi
++  done
++fi
++
++if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
++   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
++   test "X$echo_testing_string" = "X$echo_test_string"; then
++  :
++else
++  # The Solaris, AIX, and Digital Unix default echo programs unquote
++  # backslashes.  This makes it impossible to quote backslashes using
++  #   echo "$something" | sed 's/\\/\\\\/g'
++  #
++  # So, first we look for a working echo in the user's PATH.
++
++  IFS="${IFS= 	}"; save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR}"
++  for dir in $PATH /usr/ucb; do
++    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
++       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
++       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
++       test "X$echo_testing_string" = "X$echo_test_string"; then
++      echo="$dir/echo"
++      break
++    fi
++  done
++  IFS="$save_ifs"
++
++  if test "X$echo" = Xecho; then
++    # We didn't find a better echo, so look for alternatives.
++    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
++       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
++       test "X$echo_testing_string" = "X$echo_test_string"; then
++      # This shell has a builtin print -r that does the trick.
++      echo='print -r'
++    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
++	 test "X$CONFIG_SHELL" != X/bin/ksh; then
++      # If we have ksh, try running configure again with it.
++      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
++      export ORIGINAL_CONFIG_SHELL
++      CONFIG_SHELL=/bin/ksh
++      export CONFIG_SHELL
++      exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
++    else
++      # Try using printf.
++      echo='printf %s\n'
++      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
++	 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
++	 test "X$echo_testing_string" = "X$echo_test_string"; then
++	# Cool, printf works
++	:
++      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
++	   test "X$echo_testing_string" = 'X\t' &&
++	   echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
++	   test "X$echo_testing_string" = "X$echo_test_string"; then
++	CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
++	export CONFIG_SHELL
++	SHELL="$CONFIG_SHELL"
++	export SHELL
++	echo="$CONFIG_SHELL $0 --fallback-echo"
++      elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
++	   test "X$echo_testing_string" = 'X\t' &&
++	   echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
++	   test "X$echo_testing_string" = "X$echo_test_string"; then
++	echo="$CONFIG_SHELL $0 --fallback-echo"
++      else
++	# maybe with a smaller string...
++	prev=:
++
++	for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
++	  if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
++	  then
++	    break
++	  fi
++	  prev="$cmd"
++	done
++
++	if test "$prev" != 'sed 50q "$0"'; then
++	  echo_test_string=`eval $prev`
++	  export echo_test_string
++	  exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
++	else
++	  # Oops.  We lost completely, so just stick with echo.
++	  echo=echo
++	fi
++      fi
++    fi
++  fi
++fi
++fi
++
++# Copy echo and quote the copy suitably for passing to libtool from
++# the Makefile, instead of quoting the original, which is used later.
++ECHO=$echo
++if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
++   ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
++fi
++
+ # Be Bourne compatible
+ if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
+   emulate sh
+@@ -18,27 +173,22 @@
+   set -o posix
+ fi
+ 
+-if expr a : '\(a\)' >/dev/null 2>&1; then
+-  as_expr=expr
+-else
+-  as_expr=false
+-fi
+ # Support unset when possible.
+-if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
+-  as_unset=unset
++if (unset FOO) >/dev/null 2>&1; then
++  ac_unset=unset
+ else
+-  as_unset=false
++  ac_unset=false
+ fi
+ 
+ # NLS nuisances.
+-$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
+-$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
+-$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
+-$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
+-$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
+-$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
+-$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
+-$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
++$ac_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
++$ac_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
++$ac_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
++$ac_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
++$ac_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
++$ac_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
++$ac_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
++$ac_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
+ 
+ # IFS
+ # We need space, tab and new line, in precisely that order.
+@@ -47,50 +197,7 @@
+ IFS=" 	$ac_nl"
+ 
+ # CDPATH.
+-$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
+-
+-cat >config.log << EOF
+-This file contains any messages produced by compilers while
+-running configure, to aid debugging if configure makes a mistake.
+-
+-It was created by $as_me (heimdal 0.3f) 2.49b, executed with
+- > $0 $@
+-
+-on `(hostname || uname -n) 2>/dev/null | sed 1q`:
+-
+-uname -m = `(uname -m) 2>/dev/null || echo unknown`
+-uname -r = `(uname -r) 2>/dev/null || echo unknown`
+-uname -s = `(uname -s) 2>/dev/null || echo unknown`
+-uname -v = `(uname -v) 2>/dev/null || echo unknown`
+-
+-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null`
+-/bin/uname -X     = `(/bin/uname -X) 2>/dev/null`
+-
+-/bin/arch              = `(/bin/arch) 2>/dev/null`
+-/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null`
+-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null`
+-hostinfo               = `(hostinfo) 2>/dev/null`
+-/bin/machine           = `(/bin/machine) 2>/dev/null`
+-/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null`
+-/bin/universe          = `(/bin/universe) 2>/dev/null`
+-
+-PATH = $PATH
+-EOF
+-
+-# 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
++$ac_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
+ 
+ #
+ # Initializations.
+@@ -100,29 +207,13 @@
+ subdirs=
+ MFLAGS= MAKEFLAGS=
+ SHELL=${CONFIG_SHELL-/bin/sh}
+-
+ # Maximum number of lines to put in a shell here document.
+ # This variable seems obsolete.  It should probably be removed, and
+ # only ac_max_sed_lines should be used.
+ : ${ac_max_here_lines=38}
+-
+-# Name of the host.
+-# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
+-# so uname gets run too.
+-ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
+-
+-# Name of the executable.
+-as_me=`echo "$0" | sed 's,.*/,,'`
+-
+-# Avoid depending upon Character Ranges.
+-ac_cr_az='abcdefghijklmnopqrstuvwxyz'
+-ac_cr_AZ='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
+-ac_cr_09='0123456789'
+-ac_cr_alnum=$ac_cr_az$ac_cr_AZ$ac_cr_09
+-
+ # Sed expression to map a string onto a valid sh and CPP variable names.
+-ac_tr_sh="sed y%*+%pp%;s%[^_$ac_cr_alnum]%_%g"
+-ac_tr_cpp="sed y%*$ac_cr_az%P$ac_cr_AZ%;s%[^_$ac_cr_alnum]%_%g"
++ac_tr_sh='sed y%*+%pp%;s%[^a-zA-Z0-9_]%_%g'
++ac_tr_cpp='sed y%*abcdefghijklmnopqrstuvwxyz%PABCDEFGHIJKLMNOPQRSTUVWXYZ%;s%[^A-Z0-9_]%_%g'
+ 
+ # By default always use an empty string as the executable extension.
+ # Only change it if the script calls AC_EXEEXT.
+@@ -134,7 +225,6 @@
+ ac_includes_default="\
+ #include <stdio.h>
+ #include <sys/types.h>
+-#include <sys/stat.h>
+ #if STDC_HEADERS
+ # include <stdlib.h>
+ # include <stddef.h>
+@@ -238,18 +328,16 @@
+   -disable-* | --disable-*)
+     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
+     # Reject names that are not valid shell variable names.
+-    expr "x$ac_feature" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
+-      {  echo "$as_me: error: invalid feature name: $ac_feature" >&2
+-  { (exit 1); exit; }; }
++    expr "x$ac_feature" : ".*[^-a-zA-Z0-9_]" >/dev/null &&
++      { echo "configure: error: invalid feature name: $ac_feature" >&2; exit 1; }
+     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
+     eval "enable_$ac_feature=no" ;;
+ 
+   -enable-* | --enable-*)
+     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
+     # Reject names that are not valid shell variable names.
+-    expr "x$ac_feature" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
+-      {  echo "$as_me: error: invalid feature name: $ac_feature" >&2
+-  { (exit 1); exit; }; }
++    expr "x$ac_feature" : ".*[^-a-zA-Z0-9_]" >/dev/null &&
++      { echo "configure: error: invalid feature name: $ac_feature" >&2; exit 1; }
+     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
+     case $ac_option in
+       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
+@@ -429,9 +517,8 @@
+   -with-* | --with-*)
+     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
+     # Reject names that are not valid shell variable names.
+-    expr "x$ac_package" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
+-      {  echo "$as_me: error: invalid package name: $ac_package" >&2
+-  { (exit 1); exit; }; }
++    expr "x$ac_package" : ".*[^-a-zA-Z0-9_]" >/dev/null &&
++      { echo "configure: error: invalid package name: $ac_package" >&2; exit 1; }
+     ac_package=`echo $ac_package| sed 's/-/_/g'`
+     case $ac_option in
+       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
+@@ -442,9 +529,8 @@
+   -without-* | --without-*)
+     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
+     # Reject names that are not valid shell variable names.
+-    expr "x$ac_package" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
+-      {  echo "$as_me: error: invalid package name: $ac_package" >&2
+-  { (exit 1); exit; }; }
++    expr "x$ac_package" : ".*[^-a-zA-Z0-9_]" >/dev/null &&
++      { echo "configure: error: invalid package name: $ac_package" >&2; exit 1; }
+     ac_package=`echo $ac_package | sed 's/-/_/g'`
+     eval "with_$ac_package=no" ;;
+ 
+@@ -466,28 +552,24 @@
+   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
+     x_libraries=$ac_optarg ;;
+ 
+-  -*) {  echo "$as_me: error: unrecognized option: $ac_option
+-Try \`$0 --help' for more information." >&2
+-  { (exit 1); exit; }; }
++  -*) { echo "configure: error: unrecognized option: $ac_option
++Try \`configure --help' for more information." >&2; exit 1; }
+     ;;
+ 
+   *=*)
+     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
+     # Reject names that are not valid shell variable names.
+-    expr "x$ac_envvar" : ".*[^_$ac_cr_alnum]" >/dev/null &&
+-      {  echo "$as_me: error: invalid variable name: $ac_envvar" >&2
+-  { (exit 1); exit; }; }
++    expr "x$ac_envvar" : ".*[^a-zA-Z0-9_]" >/dev/null &&
++      { echo "configure: error: invalid variable name: $ac_envvar" >&2; exit 1; }
+     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
+     eval "$ac_envvar='$ac_optarg'"
+     export $ac_envvar ;;
+ 
+   *)
+     # FIXME: should be removed in autoconf 3.0.
+-    { echo "$as_me:486: WARNING: you should use --build, --host, --target" >&5
+-echo "$as_me: warning: you should use --build, --host, --target" >&2; }
+-    expr "x$ac_option" : ".*[^-._$ac_cr_alnum]" >/dev/null &&
+-      { echo "$as_me:489: WARNING: invalid host type: $ac_option" >&5
+-echo "$as_me: warning: invalid host type: $ac_option" >&2; }
++    echo "configure: WARNING: you should use --build, --host, --target" >&2
++    expr "x$ac_option" : ".*[^a-zA-Z0-9.]" >/dev/null &&
++      echo "configure: WARNING: invalid host type: $ac_option" >&2
+     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
+     ;;
+ 
+@@ -496,8 +578,7 @@
+ 
+ if test -n "$ac_prev"; then
+   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
+-  {  echo "$as_me: error: missing argument to $ac_option" >&2
+-  { (exit 1); exit; }; }
++  { echo "configure: error: missing argument to $ac_option" >&2; exit 1; }
+ fi
+ 
+ # Be sure to have absolute paths.
+@@ -509,8 +590,7 @@
+   case $ac_val in
+     [\\/$]* | ?:[\\/]* ) ;;
+     NONE ) ;;
+-    *)  {  echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
+-  { (exit 1); exit; }; };;
++    *)  { echo "configure: error: expected an absolute path for --$ac_var: $ac_val" >&2; exit 1; };;
+   esac
+ done
+ 
+@@ -524,10 +604,8 @@
+ if test "x$host_alias" != x; then
+   if test "x$build_alias" = x; then
+     cross_compiling=maybe
+-    { echo "$as_me:527: WARNING: If you wanted to set the --build type, don't use --host.
+-    If a cross compiler is detected then cross compile mode will be used." >&5
+-echo "$as_me: warning: If you wanted to set the --build type, don't use --host.
+-    If a cross compiler is detected then cross compile mode will be used." >&2; }
++    echo "configure: WARNING: If you wanted to set the --build type, don't use --host.
++    If a cross compiler is detected then cross compile mode will be used." >&2
+   elif test "x$build_alias" != "x$host_alias"; then
+     cross_compiling=yes
+   fi
+@@ -552,11 +630,9 @@
+ fi
+ if test ! -r $srcdir/$ac_unique_file; then
+   if test "$ac_srcdir_defaulted" = yes; then
+-    {  echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
+-  { (exit 1); exit; }; }
++    { echo "configure: error: cannot find sources in $ac_confdir or .." >&2; exit 1; }
+   else
+-    {  echo "$as_me: error: cannot find sources in $srcdir" >&2
+-  { (exit 1); exit; }; }
++    { echo "configure: error: cannot find sources in $srcdir" >&2; exit 1; }
+   fi
+ fi
+ srcdir=`echo "$srcdir" | sed 's%\([^/]\)/*$%\1%'`
+@@ -705,6 +781,12 @@
+   --with-readline=dir                use readline in dir
+   --with-readline-lib=dir            use readline libraries in dir
+   --with-readline-include=dir        use readline headers in dir
++  --with-com_err=dir                use com_err in dir
++  --with-com_err-lib=dir            use com_err libraries in dir
++  --with-com_err-include=dir        use com_err headers in dir
++  --with-ss=dir                use ss in dir
++  --with-ss-lib=dir            use ss libraries in dir
++  --with-ss-include=dir        use ss headers in dir
+   --with-hesiod=dir                use hesiod in dir
+   --with-hesiod-lib=dir            use hesiod libraries in dir
+   --with-hesiod-include=dir        use hesiod headers in dir
+@@ -754,8 +836,7 @@
+       echo
+       $ac_configure --help
+     else
+-      { echo "$as_me:757: WARNING: no configuration information is in $ac_subdir" >&5
+-echo "$as_me: warning: no configuration information is in $ac_subdir" >&2; }
++      echo "configure: WARNING: no configuration information is in $ac_subdir" >&2
+     fi
+     cd $ac_popdir
+   done
+@@ -774,6 +855,8 @@
+   exit 0
+ fi
+ 
++trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
++
+ # Keep a trace of the command line.
+ # Strip out --no-create and --no-recursion so they do not pile up.
+ # Also quote any args containing shell meta-characters.
+@@ -796,19 +879,28 @@
+   # Get rid of the leading space.
+ done
+ 
+-# When interrupted or exit'd, cleanup temporary files, and complete
+-# config.log.
+-trap 'exit_status=$?
+-  test "$ac_signal" != 0 &&
+-    echo "$as_me: caught signal $ac_signal" >&5
+-  echo "$as_me: exit $exit_status" >&5
+-  rm -rf conftest* confdefs* core core.* *.core $ac_clean_files &&
+-    exit $exit_status
+-     ' 0
+-for ac_signal in 1 2 13 15; do
+-  trap 'ac_status=$?; ac_signal='$ac_signal'; exit $ac_status' $ac_signal
+-done
+-ac_signal=0
++# 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.
++
++It was created by configure (heimdal 0.3f) 2.49b, executed with
++ > $0 $ac_configure_args
++" >&5
+ 
+ # confdefs.h avoids OS command line length limits that DEFS can exceed.
+ rm -rf conftest* confdefs.h
+@@ -835,16 +927,14 @@
+   # Some versions of bash will fail to source /dev/null (special
+   # files actually), so we avoid doing that.
+   if test -f "$cache_file"; then
+-    { echo "$as_me:838: loading cache $cache_file" >&5
+-echo "loading cache $cache_file" >&6;}
++    echo "loading cache $cache_file"
+     case $cache_file in
+       [\\/]* | ?:[\\/]* ) . $cache_file;;
+       *)                      . ./$cache_file;;
+     esac
+   fi
+ else
+-  { echo "$as_me:846: creating cache $cache_file" >&5
+-echo "creating cache $cache_file" >&6;}
++  echo "creating cache $cache_file"
+   >$cache_file
+ fi
+ 
+@@ -859,31 +949,24 @@
+   eval ac_new_val="\$ac_env_${ac_var}_value"
+   case $ac_old_set,$ac_new_set in
+     set,)
+-      { echo "$as_me:862: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
+-echo "$as_me: warning: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2; }
++      echo "configure: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2
+       ac_suggest_removing_cache=: ;;
+     ,set)
+-      { echo "$as_me:866: WARNING: \`$ac_var' was not set in the previous run" >&5
+-echo "$as_me: warning: \`$ac_var' was not set in the previous run" >&2; }
++      echo "configure: WARNING: \`$ac_var' was not set in the previous run" >&2
+       ac_suggest_removing_cache=: ;;
+     ,);;
+     *)
+       if test "x$ac_old_val" != "x$ac_new_val"; then
+-        { echo "$as_me:872: WARNING: \`$ac_var' has changed since the previous run:" >&5
+-echo "$as_me: warning: \`$ac_var' has changed since the previous run:" >&2; }
+-        { echo "$as_me:874: WARNING:   former value:  $ac_old_val" >&5
+-echo "$as_me: warning:   former value:  $ac_old_val" >&2; }
+-        { echo "$as_me:876: WARNING:   current value: $ac_new_val" >&5
+-echo "$as_me: warning:   current value: $ac_new_val" >&2; }
++        echo "configure: WARNING: \`$ac_var' has changed since the previous run:" >&2
++        echo "configure: WARNING:   former value:  $ac_old_val" >&2
++        echo "configure: WARNING:   current value: $ac_new_val" >&2
+         ac_suggest_removing_cache=:
+       fi;;
+   esac
+ done
+ if $ac_suggest_removing_cache; then
+-  { echo "$as_me:883: WARNING: changes in the environment can compromise the build" >&5
+-echo "$as_me: warning: changes in the environment can compromise the build" >&2; }
+-  { echo "$as_me:885: WARNING: consider removing $cache_file and starting over" >&5
+-echo "$as_me: warning: consider removing $cache_file and starting over" >&2; }
++  echo "configure: WARNING: changes in the environment can compromise the build" >&2
++  echo "configure: WARNING: consider removing $cache_file and starting over" >&2
+ fi
+ 
+ ac_ext=c
+@@ -912,7 +995,7 @@
+ if test -n "$ac_tool_prefix"; then
+   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
+ set dummy ${ac_tool_prefix}gcc; ac_word=$2
+-echo "$as_me:915: checking for $ac_word" >&5
++echo "configure:998: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_CC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -934,10 +1017,10 @@
+ fi
+ CC=$ac_cv_prog_CC
+ if test -n "$CC"; then
+-  echo "$as_me:937: result: $CC" >&5
++  echo "configure:1020: result: $CC" >&5
+ echo "${ECHO_T}$CC" >&6
+ else
+-  echo "$as_me:940: result: no" >&5
++  echo "configure:1023: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+@@ -946,7 +1029,7 @@
+   ac_ct_CC=$CC
+   # Extract the first word of "gcc", so it can be a program name with args.
+ set dummy gcc; ac_word=$2
+-echo "$as_me:949: checking for $ac_word" >&5
++echo "configure:1032: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -968,23 +1051,21 @@
+ fi
+ ac_ct_CC=$ac_cv_prog_ac_ct_CC
+ if test -n "$ac_ct_CC"; then
+-  echo "$as_me:971: result: $ac_ct_CC" >&5
++  echo "configure:1054: result: $ac_ct_CC" >&5
+ echo "${ECHO_T}$ac_ct_CC" >&6
+ else
+-  echo "$as_me:974: result: no" >&5
++  echo "configure:1057: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+   CC=$ac_ct_CC
+-else
+-  CC="$ac_cv_prog_CC"
+ fi
+ 
+ if test -z "$CC"; then
+   if test -n "$ac_tool_prefix"; then
+   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
+ set dummy ${ac_tool_prefix}cc; ac_word=$2
+-echo "$as_me:987: checking for $ac_word" >&5
++echo "configure:1068: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_CC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -1006,10 +1087,10 @@
+ fi
+ CC=$ac_cv_prog_CC
+ if test -n "$CC"; then
+-  echo "$as_me:1009: result: $CC" >&5
++  echo "configure:1090: result: $CC" >&5
+ echo "${ECHO_T}$CC" >&6
+ else
+-  echo "$as_me:1012: result: no" >&5
++  echo "configure:1093: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+@@ -1018,7 +1099,7 @@
+   ac_ct_CC=$CC
+   # Extract the first word of "cc", so it can be a program name with args.
+ set dummy cc; ac_word=$2
+-echo "$as_me:1021: checking for $ac_word" >&5
++echo "configure:1102: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -1040,23 +1121,21 @@
+ fi
+ ac_ct_CC=$ac_cv_prog_ac_ct_CC
+ if test -n "$ac_ct_CC"; then
+-  echo "$as_me:1043: result: $ac_ct_CC" >&5
++  echo "configure:1124: result: $ac_ct_CC" >&5
+ echo "${ECHO_T}$ac_ct_CC" >&6
+ else
+-  echo "$as_me:1046: result: no" >&5
++  echo "configure:1127: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+   CC=$ac_ct_CC
+-else
+-  CC="$ac_cv_prog_CC"
+ fi
+ 
+ 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 "$as_me:1059: checking for $ac_word" >&5
++echo "configure:1138: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_CC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -1097,10 +1176,10 @@
+ fi
+ CC=$ac_cv_prog_CC
+ if test -n "$CC"; then
+-  echo "$as_me:1100: result: $CC" >&5
++  echo "configure:1179: result: $CC" >&5
+ echo "${ECHO_T}$CC" >&6
+ else
+-  echo "$as_me:1103: result: no" >&5
++  echo "configure:1182: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+@@ -1111,7 +1190,7 @@
+   do
+     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
+ set dummy $ac_tool_prefix$ac_prog; ac_word=$2
+-echo "$as_me:1114: checking for $ac_word" >&5
++echo "configure:1193: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_CC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -1133,10 +1212,10 @@
+ fi
+ CC=$ac_cv_prog_CC
+ if test -n "$CC"; then
+-  echo "$as_me:1136: result: $CC" >&5
++  echo "configure:1215: result: $CC" >&5
+ echo "${ECHO_T}$CC" >&6
+ else
+-  echo "$as_me:1139: result: no" >&5
++  echo "configure:1218: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+@@ -1149,7 +1228,7 @@
+ do
+   # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+-echo "$as_me:1152: checking for $ac_word" >&5
++echo "configure:1231: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -1171,10 +1250,10 @@
+ fi
+ ac_ct_CC=$ac_cv_prog_ac_ct_CC
+ if test -n "$ac_ct_CC"; then
+-  echo "$as_me:1174: result: $ac_ct_CC" >&5
++  echo "configure:1253: result: $ac_ct_CC" >&5
+ echo "${ECHO_T}$ac_ct_CC" >&6
+ else
+-  echo "$as_me:1177: result: no" >&5
++  echo "configure:1256: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+@@ -1186,13 +1265,12 @@
+ 
+ fi
+ 
+-test -z "$CC" && {  echo "$as_me: error: no acceptable cc found in \$PATH" >&2
+-  { (exit 1); exit; }; }
++test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" >&2; exit 1; }
+ 
+-echo "$as_me:1192: checking whether the C compiler works" >&5
++echo "configure:1270: checking whether the C compiler works" >&5
+ echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 1195 "configure"
++#line 1273 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -1204,63 +1282,61 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:1207: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:1285: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   # FIXME: these cross compiler hacks should be removed for autoconf 3.0
+ # If not cross compiling, check that we can run a simple program.
+ if test "$cross_compiling" != yes; then
+-  if { ac_try='./conftest$ac_exeext'; { (eval echo $as_me:1211: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; }; then
++  if { ac_try='./conftest$ac_exeext'; { (eval echo configure:1289: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; }; then
+     cross_compiling=no
+   else
+     if test "$cross_compiling" = maybe; then
+       cross_compiling=yes
+     else
+-      {  echo "$as_me: error: cannot run C compiled programs.
+-To enable cross compilation, use \`--host'." >&2
+-  { (exit 1); exit; }; }
++      { echo "configure: error: cannot run C compiled programs.
++To enable cross compilation, use \`--host'." >&2; exit 1; }
+     fi
+   fi
+ fi
+-echo "$as_me:1223: result: yes" >&5
++echo "configure:1300: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+-  echo "$as_me:1228: result: no" >&5
++  echo "configure:1305: result: no" >&5
+ echo "${ECHO_T}no" >&6
+-{  echo "$as_me: error: C compiler cannot create executables" >&2
+-  { (exit 77); exit; }; }
++{ echo "configure: error: C compiler cannot create executables" >&2; exit 77; }
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+-echo "$as_me:1234: checking whether we are cross compiling" >&5
++echo "configure:1310: checking whether we are cross compiling" >&5
+ echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
+-echo "$as_me:1236: result: $cross_compiling" >&5
++echo "configure:1312: result: $cross_compiling" >&5
+ echo "${ECHO_T}$cross_compiling" >&6
+ 
+-echo "$as_me:1239: checking whether we are using the GNU C compiler" >&5
++echo "configure:1315: checking whether we are using the GNU C compiler" >&5
+ echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
+ if test "${ac_cv_c_compiler_gnu+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 1245 "configure"
++#line 1321 "configure"
+ #include "confdefs.h"
++#ifndef __GNUC__
++  choke me
++#endif
+ 
+ int
+ main ()
+ {
+-#ifndef __GNUC__
+-  choke me
+-#endif
+ 
+   ;
+   return 0;
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:1260: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:1336: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_compiler_gnu=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_compiler_gnu=no
+ fi
+@@ -1268,16 +1344,16 @@
+ ac_cv_c_compiler_gnu=$ac_compiler_gnu
+ 
+ fi
+-echo "$as_me:1271: result: $ac_cv_c_compiler_gnu" >&5
++echo "configure:1347: result: $ac_cv_c_compiler_gnu" >&5
+ echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
+ GCC=`test $ac_compiler_gnu = yes && echo yes`
+-echo "$as_me:1274: checking for object suffix" >&5
++echo "configure:1350: checking for object suffix" >&5
+ echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
+ if test "${ac_cv_objext+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 1280 "configure"
++#line 1356 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -1288,26 +1364,25 @@
+   return 0;
+ }
+ _ACEOF
+-if { (eval echo $as_me:1291: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
+-  for ac_file in `ls conftest.o conftest.obj conftest.* 2>/dev/null`; do
+-    case $ac_file in
+-      *.$ac_ext | *.tds | *.d ) ;;
+-      *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
+-         break;;
+-    esac
++if { (eval echo configure:1367: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++  for ac_file in conftest.*; do
++  case $ac_file in
++    *.$ac_ext) ;;
++    *) ac_cv_objext=`echo $ac_file | sed s/conftest.//` ;;
++  esac
+   done
+-  rm -f conftest.$ac_objext conftest.$ac_ext
+ else
+-  {  echo "$as_me: error: cannot compile" >&2
+-  { (exit 1); exit; }; }
++  rm -f conftest.$ac_ext
++  { echo "configure: error: cannot compile" >&2; exit 1; }
+ fi
+ fi
+-echo "$as_me:1305: result: $ac_cv_objext" >&5
++echo "configure:1379: result: $ac_cv_objext" >&5
+ echo "${ECHO_T}$ac_cv_objext" >&6
+ OBJEXT=$ac_cv_objext
+ ac_objext=$ac_cv_objext
++rm -f conftest.$ac_objext conftest.$ac_ext
+ 
+-echo "$as_me:1310: checking for executable suffix" >&5
++echo "configure:1385: checking for executable suffix" >&5
+ echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
+ if test "${ac_cv_exeext+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -1315,8 +1390,8 @@
+   case "$CYGWIN $MINGW32 $EMXOS2" in
+   *yes*) ac_cv_exeext=.exe ;;
+   *)
+-    cat >conftest.$ac_ext <<_ACEOF
+-#line 1319 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 1394 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -1327,41 +1402,41 @@
+   return 0;
+ }
+ _ACEOF
+-    if { (eval echo $as_me:1330: \"$ac_link\") >&5; (eval $ac_link) 2>&5; }; then
+-      # If both `conftest.exe' and `conftest' are `present' (well, observable)
+-      # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
+-      # work properly (i.e., refer to `conftest.exe'), while it won't with
+-      # `rm'.
+-      for ac_file in `ls conftest.exe conftest conftest.* 2>/dev/null`; do
+-    	case $ac_file in
+-    	  *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d) ;;
+-    	  *) ac_cv_exeext=`expr "$ac_file" : 'conftest\(.*\)'`
+-    	     break;;
+-    	esac
+-      done
+-      rm -f conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
+-    else
+-      {  echo "$as_me: error: cannot compile and link" >&2
+-  { (exit 1); exit; }; }
+-    fi
+-    ;;
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:1406: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  if test ! -f conftest; then
++    for ac_file in conftest.*; do
++       case $ac_file in
++         *.$ac_ext | *.o | *.obj | *.xcoff) ;;
++         *) ac_cv_exeext=`expr "$ac_file" : 'conftest\(.*\)'`;;
++       esac
++     done
++   fi
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  { echo "configure: error: cannot compile and link" >&2; exit 1; }
++fi
++rm -f conftest$ac_exeext conftest.$ac_ext
++  test -n "$ac_cv_exeext" && ac_cv_exeext=no;;
+ esac
+ fi
+-echo "$as_me:1350: result: $ac_cv_exeext" >&5
++echo "configure:1424: result: $ac_cv_exeext" >&5
+ echo "${ECHO_T}$ac_cv_exeext" >&6
+-EXEEXT=$ac_cv_exeext
++EXEEXT=
++test "$ac_cv_exeext" != no && EXEEXT=$ac_cv_exeext
+ ac_exeext=$EXEEXT
+ 
+ ac_test_CFLAGS=${CFLAGS+set}
+ ac_save_CFLAGS=$CFLAGS
+ CFLAGS="-g"
+-echo "$as_me:1358: checking whether ${CC-cc} accepts -g" >&5
++echo "configure:1433: checking whether ${CC-cc} accepts -g" >&5
+ echo $ECHO_N "checking whether ${CC-cc} accepts -g... $ECHO_C" >&6
+ if test "${ac_cv_prog_cc_g+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 1364 "configure"
++#line 1439 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -1373,16 +1448,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:1376: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:1451: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_prog_cc_g=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_prog_cc_g=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:1385: result: $ac_cv_prog_cc_g" >&5
++echo "configure:1460: result: $ac_cv_prog_cc_g" >&5
+ echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
+ if test "$ac_test_CFLAGS" = set; then
+   CFLAGS=$ac_save_CFLAGS
+@@ -1399,9 +1474,19 @@
+     CFLAGS=
+   fi
+ fi
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='${CC-cc} -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
+ 
+-echo "$as_me:1403: checking how to run the C preprocessor" >&5
++echo "configure:1483: checking how to run the C preprocessor" >&5
+ echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='${CC-cc} -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
+ # On Suns, sometimes $CPP names a directory.
+ if test -n "$CPP" && test -d "$CPP"; then
+   CPP=
+@@ -1418,14 +1503,14 @@
+ # On the NeXT, cc -E runs the code through the compiler's parser,
+ # not just through cpp. "Syntax error" is here to catch this case.
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 1421 "configure"
++#line 1506 "configure"
+ #include "confdefs.h"
+ #include <assert.h>
+ Syntax error
+ _ACEOF
+ ac_c_preproc_warn_flag=maybe
+ ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
+-if { (eval echo $as_me:1428: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++if { (eval echo configure:1513: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
+   if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+   else
+@@ -1439,12 +1524,12 @@
+ # Skip if ac_cpp_err is not empty - ac_cpp is broken
+ if test -z "$ac_cpp_err"; then
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 1442 "configure"
++#line 1527 "configure"
+ #include "confdefs.h"
+ #include <ac_nonexistent.h>
+ _ACEOF
+   ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
+-if { (eval echo $as_me:1447: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++if { (eval echo configure:1532: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
+   if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+   else
+@@ -1482,14 +1567,14 @@
+ # On the NeXT, cc -E runs the code through the compiler's parser,
+ # not just through cpp. "Syntax error" is here to catch this case.
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 1485 "configure"
++#line 1570 "configure"
+ #include "confdefs.h"
+ #include <assert.h>
+ Syntax error
+ _ACEOF
+ ac_c_preproc_warn_flag=maybe
+ ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
+-if { (eval echo $as_me:1492: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++if { (eval echo configure:1577: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
+   if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+   else
+@@ -1503,12 +1588,12 @@
+ # Skip if ac_cpp_err is not empty - ac_cpp is broken
+ if test -z "$ac_cpp_err"; then
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 1506 "configure"
++#line 1591 "configure"
+ #include "confdefs.h"
+ #include <ac_nonexistent.h>
+ _ACEOF
+   ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
+-if { (eval echo $as_me:1511: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++if { (eval echo configure:1596: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
+   if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+   else
+@@ -1534,273 +1619,137 @@
+ 
+   ac_cv_prog_CPP=$CPP
+ fi
+-echo "$as_me:1537: result: $CPP" >&5
++echo "configure:1622: result: $CPP" >&5
+ echo "${ECHO_T}$CPP" >&6
+ if test -n "$ac_cpp_err"; then
+-  {  echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2
+-  { (exit 1); exit; }; }
++  { echo "configure: error: C preprocessor \"$CPP\" fails sanity check" >&2; exit 1; }
+ fi
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='${CC-cc} -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
+ 
+-echo "$as_me:1544: checking for ${CC-cc} option to accept ANSI C" >&5
+-echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
+-if test "${ac_cv_prog_cc_stdc+set}" = set; then
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='${CC-cc} -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++if test -n "$ac_tool_prefix"; then
++  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
++set dummy ${ac_tool_prefix}gcc; ac_word=$2
++echo "configure:1642: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_CC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  ac_cv_prog_cc_stdc=no
+-ac_save_CC=$CC
+-cat >conftest.$ac_ext <<_ACEOF
+-#line 1552 "configure"
+-#include "confdefs.h"
+-#include <stdarg.h>
+-#include <stdio.h>
+-#include <sys/types.h>
+-#include <sys/stat.h>
+-/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
+-struct buf { int x; };
+-FILE * (*rcsopen) (struct buf *, struct stat *, int);
+-static char *e (p, i)
+-     char **p;
+-     int i;
+-{
+-  return p[i];
+-}
+-static char *f (char * (*g) (char **, int), char **p, ...)
+-{
+-  char *s;
+-  va_list v;
+-  va_start (v,p);
+-  s = g (p, va_arg (v,int));
+-  va_end (v);
+-  return s;
+-}
+-int test (int i, double x);
+-struct s1 {int (*f) (int a);};
+-struct s2 {int (*f) (double a);};
+-int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
+-int argc;
+-char **argv;
+-int
+-main ()
+-{
+-return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-# Don't try gcc -ansi; that turns off useful extensions and
+-# breaks some systems' header files.
+-# AIX			-qlanglvl=ansi
+-# Ultrix and OSF/1	-std1
+-# HP-UX 10.20 and later	-Ae
+-# HP-UX older versions	-Aa -D_HPUX_SOURCE
+-# SVR4			-Xc -D__EXTENSIONS__
+-for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
+-do
+-  CC="$ac_save_CC $ac_arg"
+-  rm -f conftest.$ac_objext
+-if { (eval echo $as_me:1601: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+-  ac_cv_prog_cc_stdc=$ac_arg
+-rm -f conftest.$ac_ext conftest.$ac_objext
++  if test -n "$CC"; then
++  ac_cv_prog_CC="$CC" # Let the user override the test.
++else
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
++  IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_CC="${ac_tool_prefix}gcc"
+ break
++done
++
++fi
++fi
++CC=$ac_cv_prog_CC
++if test -n "$CC"; then
++  echo "configure:1664: result: $CC" >&5
++echo "${ECHO_T}$CC" >&6
+ else
+-  echo "$as_me: failed program was:" >&5
+-  cat conftest.$ac_ext >&5
++  echo "configure:1667: result: no" >&5
++echo "${ECHO_T}no" >&6
+ fi
+-rm -f conftest.$ac_objext
++
++fi
++if test -z "$ac_cv_prog_CC"; then
++  ac_ct_CC=$CC
++  # Extract the first word of "gcc", so it can be a program name with args.
++set dummy gcc; ac_word=$2
++echo "configure:1676: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$ac_ct_CC"; then
++  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
++else
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
++  IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_ac_ct_CC="gcc"
++break
+ done
+-CC=$ac_save_CC
+ 
+ fi
++fi
++ac_ct_CC=$ac_cv_prog_ac_ct_CC
++if test -n "$ac_ct_CC"; then
++  echo "configure:1698: result: $ac_ct_CC" >&5
++echo "${ECHO_T}$ac_ct_CC" >&6
++else
++  echo "configure:1701: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
+ 
+-case "x$ac_cv_prog_cc_stdc" in
+-  x|xno)
+-    echo "$as_me:1617: result: none needed" >&5
+-echo "${ECHO_T}none needed" >&6 ;;
+-  *)
+-    echo "$as_me:1620: result: $ac_cv_prog_cc_stdc" >&5
+-echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
+-    CC="$CC $ac_cv_prog_cc_stdc" ;;
+-esac
+-
+-ac_aux_dir=
+-for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
+-  if test -f $ac_dir/install-sh; then
+-    ac_aux_dir=$ac_dir
+-    ac_install_sh="$ac_aux_dir/install-sh -c"
+-    break
+-  elif test -f $ac_dir/install.sh; then
+-    ac_aux_dir=$ac_dir
+-    ac_install_sh="$ac_aux_dir/install.sh -c"
+-    break
+-  elif test -f $ac_dir/shtool; then
+-    ac_aux_dir=$ac_dir
+-    ac_install_sh="$ac_aux_dir/shtool install -c"
+-    break
+-  fi
+-done
+-if test -z "$ac_aux_dir"; then
+-  {  echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2
+-  { (exit 1); exit; }; }
++  CC=$ac_ct_CC
+ fi
+-ac_config_guess="$SHELL $ac_aux_dir/config.guess"
+-ac_config_sub="$SHELL $ac_aux_dir/config.sub"
+-ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
+ 
+-# Find a good install program.  We prefer a C program (faster),
+-# so one script is as good as another.  But avoid the broken or
+-# incompatible versions:
+-# SysV /etc/install, /usr/sbin/install
+-# SunOS /usr/etc/install
+-# IRIX /sbin/install
+-# AIX /bin/install
+-# AmigaOS /C/install, which installs bootblocks on floppy discs
+-# 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 "$as_me:1661: checking for a BSD compatible install" >&5
+-echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
+-if test -z "$INSTALL"; then
+-if test "${ac_cv_path_install+set}" = set; then
++if test -z "$CC"; then
++  if test -n "$ac_tool_prefix"; then
++  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
++set dummy ${ac_tool_prefix}cc; ac_word=$2
++echo "configure:1712: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_CC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-    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
+-    / | ./ | .// | /cC/* \
+-    | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
+-    | /usr/ucb/* ) ;;
+-    *)
+-      # OSF1 and SCO ODT 3.0 have their own names for install.
+-      # Don't use installbsd from OSF since it installs stuff as root
+-      # by default.
+-      for ac_prog in ginstall scoinst install; do
+-        if test -f "$ac_dir/$ac_prog"; then
+-	  if test $ac_prog = install &&
+-            grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
+-	    # AIX install.  It has an incompatible calling convention.
+-	    :
+-	  elif test $ac_prog = install &&
+-	    grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
+-	    # program-specific install script used by HP pwplus--don't use.
+-	    :
+-	  else
+-	    ac_cv_path_install="$ac_dir/$ac_prog -c"
+-	    break 2
+-	  fi
+-	fi
+-      done
+-      ;;
+-    esac
+-  done
++  if test -n "$CC"; then
++  ac_cv_prog_CC="$CC" # Let the user override the test.
++else
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
+   IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_CC="${ac_tool_prefix}cc"
++break
++done
+ 
+ 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 "$as_me:1710: result: $INSTALL" >&5
+-echo "${ECHO_T}$INSTALL" >&6
+-
+-# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
+-# It thinks the first close brace ends the variable substitution.
+-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
+-
+-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
+-
+-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
+-
+-echo "$as_me:1721: checking whether build environment is sane" >&5
+-echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
+-# Just in case
+-sleep 1
+-echo timestamp > conftestfile
+-# Do `set' in a subshell so we don't clobber the current shell's
+-# arguments.  Must try -L first in case configure is actually a
+-# symlink; some systems play weird games with the mod time of symlinks
+-# (eg FreeBSD returns the mod time of the symlink's containing
+-# directory).
+-if (
+-   set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
+-   if test "$*" = "X"; then
+-      # -L didn't work.
+-      set X `ls -t $srcdir/configure conftestfile`
+-   fi
+-   if test "$*" != "X $srcdir/configure conftestfile" \
+-      && test "$*" != "X conftestfile $srcdir/configure"; then
+-
+-      # If neither matched, then we have a broken ls.  This can happen
+-      # if, for instance, CONFIG_SHELL is bash and it inherits a
+-      # broken ls alias from the environment.  This has actually
+-      # happened.  Such a system could not be considered "sane".
+-      {  echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
+-alias in your environment" >&2
+-  { (exit 1); exit; }; }
+-   fi
+-
+-   test "$2" = conftestfile
+-   )
+-then
+-   # Ok.
+-   :
+-else
+-   {  echo "$as_me: error: newly created file is older than distributed files!
+-Check your system clock" >&2
+-  { (exit 1); exit; }; }
+ fi
+-rm -f conftest*
+-echo "$as_me:1760: result: yes" >&5
+-echo "${ECHO_T}yes" >&6
+-if test "$program_transform_name" = s,x,x,; then
+-  program_transform_name=
++CC=$ac_cv_prog_CC
++if test -n "$CC"; then
++  echo "configure:1734: result: $CC" >&5
++echo "${ECHO_T}$CC" >&6
+ else
+-  # Double any \ or $.  echo might interpret backslashes.
+-  cat <<\EOF >conftestsed
+-s,\\,\\\\,g; s,\$,$$,g
+-EOF
+-  program_transform_name=`echo $program_transform_name | sed -f conftestsed`
+-  rm -f conftestsed
++  echo "configure:1737: result: no" >&5
++echo "${ECHO_T}no" >&6
+ fi
+-test "$program_prefix" != NONE &&
+-  program_transform_name="s,^,${program_prefix},;$program_transform_name"
+-# Use a double $ so make ignores it.
+-test "$program_suffix" != NONE &&
+-  program_transform_name="s,\$\$,${program_suffix},;$program_transform_name"
+-
+-# sed with no file args requires a program.
+-test -z "$program_transform_name" && program_transform_name="s,x,x,"
+ 
+-test x"${MISSING+set}" = xset || \
+-  MISSING="\${SHELL} `CDPATH=:; cd $ac_aux_dir && pwd`/missing"
+-# Use eval to expand $SHELL
+-if eval "$MISSING --run :"; then
+-  am_missing_run="$MISSING --run "
+-else
+-  am_missing_run=
+-  am_backtick='`'
+-  { echo "$as_me:1789: WARNING: ${am_backtick}missing' script is too old or missing" >&5
+-echo "$as_me: warning: ${am_backtick}missing' script is too old or missing" >&2; }
+ fi
+-
+-for ac_prog in mawk gawk nawk awk
+-do
+-  # Extract the first word of "$ac_prog", so it can be a program name with args.
+-set dummy $ac_prog; ac_word=$2
+-echo "$as_me:1797: checking for $ac_word" >&5
++if test -z "$ac_cv_prog_CC"; then
++  ac_ct_CC=$CC
++  # Extract the first word of "cc", so it can be a program name with args.
++set dummy cc; ac_word=$2
++echo "configure:1746: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+-if test "${ac_cv_prog_AWK+set}" = set; then
++if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  if test -n "$AWK"; then
+-  ac_cv_prog_AWK="$AWK" # Let the user override the test.
++  if test -n "$ac_ct_CC"; then
++  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
+ else
+   ac_save_IFS=$IFS; IFS=':'
+ ac_dummy="$PATH"
+@@ -1808,275 +1757,90 @@
+   IFS=$ac_save_IFS
+   test -z "$ac_dir" && ac_dir=.
+   test -f "$ac_dir/$ac_word" || continue
+-ac_cv_prog_AWK="$ac_prog"
++ac_cv_prog_ac_ct_CC="cc"
+ break
+ done
+ 
+ fi
+ fi
+-AWK=$ac_cv_prog_AWK
+-if test -n "$AWK"; then
+-  echo "$as_me:1819: result: $AWK" >&5
+-echo "${ECHO_T}$AWK" >&6
++ac_ct_CC=$ac_cv_prog_ac_ct_CC
++if test -n "$ac_ct_CC"; then
++  echo "configure:1768: result: $ac_ct_CC" >&5
++echo "${ECHO_T}$ac_ct_CC" >&6
+ else
+-  echo "$as_me:1822: result: no" >&5
++  echo "configure:1771: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+-  test -n "$AWK" && break
+-done
++  CC=$ac_ct_CC
++fi
+ 
+-echo "$as_me:1829: checking whether ${MAKE-make} sets \${MAKE}" >&5
+-echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
+-set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
+-if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
++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 "configure:1782: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_CC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftestmake <<\EOF
+-all:
+-	@echo 'ac_maketemp="${MAKE}"'
+-EOF
+-# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
+-eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
+-if test -n "$ac_maketemp"; then
+-  eval ac_cv_prog_make_${ac_make}_set=yes
++  if test -n "$CC"; then
++  ac_cv_prog_CC="$CC" # Let the user override the test.
+ else
+-  eval ac_cv_prog_make_${ac_make}_set=no
++  ac_prog_rejected=no
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
++  IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
++  ac_prog_rejected=yes
++  continue
+ fi
+-rm -f conftestmake
++ac_cv_prog_CC="cc"
++break
++done
++
++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 $# != 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" ${1+"$@"}
++    shift
++    ac_cv_prog_CC="$@"
++  fi
+ fi
+-if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
+-  echo "$as_me:1849: result: yes" >&5
+-echo "${ECHO_T}yes" >&6
+-  SET_MAKE=
++fi
++fi
++CC=$ac_cv_prog_CC
++if test -n "$CC"; then
++  echo "configure:1823: result: $CC" >&5
++echo "${ECHO_T}$CC" >&6
+ else
+-  echo "$as_me:1853: result: no" >&5
++  echo "configure:1826: result: no" >&5
+ echo "${ECHO_T}no" >&6
+-  SET_MAKE="MAKE=${MAKE-make}"
+ fi
+ 
+-# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
+-if test "${enable_dependency_tracking+set}" = set; then
+-  enableval="$enable_dependency_tracking"
+-
+-fi;
+-if test "x$enable_dependency_tracking" = xno; then
+-  AMDEP="#"
+-else
+-  am_depcomp="$ac_aux_dir/depcomp"
+-  if test ! -f "$am_depcomp"; then
+-    AMDEP="#"
+-  else
+-    AMDEP=
+-  fi
+-fi
+-
+-if test -z "$AMDEP"; then
+-  AMDEPBACKSLASH='\'
+-else
+-  AMDEPBACKSLASH=
+-fi
+-
+-if test -d .deps || mkdir .deps 2> /dev/null || test -d .deps; then
+-  DEPDIR=.deps
+-  # We redirect because .deps might already exist and be populated.
+-  # In this situation we don't want to see an error.
+-  rmdir .deps > /dev/null 2>&1
+-else
+-  DEPDIR=_deps
+-fi
+-
+-ac_config_commands="$ac_config_commands default-2"
+-
+-# test to see if srcdir already configured
+-if test "`CDPATH=:; cd $srcdir && pwd`" != "`pwd`" &&
+-   test -f $srcdir/config.status; then
+-  {  echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2
+-  { (exit 1); exit; }; }
+-fi
+-
+-# Define the identity of the package.
+-PACKAGE=heimdal
+-VERSION=0.3f
+-
+-cat >>confdefs.h <<EOF
+-#define PACKAGE "$PACKAGE"
+-EOF
+-
+-cat >>confdefs.h <<EOF
+-#define VERSION "$VERSION"
+-EOF
+-
+-# Some tools Automake needs.
+-
+-ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal"}
+-
+-AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
+-
+-AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake"}
+-
+-AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
+-
+-MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
+-
+-AMTAR=${AMTAR-"${am_missing_run}tar"}
+-
+-if test -z "$install_sh"; then
+-   install_sh="$ac_aux_dir/install-sh"
+-   test -f "$install_sh" || install_sh="$ac_aux_dir/install.sh"
+-   test -f "$install_sh" || install_sh="${am_missing_run}${ac_auxdir}/install-sh"
+-         install_sh="`echo $install_sh | sed -e 's/\${SHELL}//'`"
+-fi
+-
+-# We need awk for the "check" target.  The system "awk" is bad on
+-# some platforms.
+-
+-depcc="$CC"
+-depcpp="$CPP"
+-echo "$as_me:1936: checking dependency style of $depcc" >&5
+-echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
+-if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-
+-if test -z "$AMDEP"; then
+-  echo '#include "conftest.h"' > conftest.c
+-  echo 'int i;' > conftest.h
+-
+-  am_cv_CC_dependencies_compiler_type=none
+-  for depmode in `sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < "$am_depcomp"`; do
+-    case "$depmode" in
+-    nosideeffect)
+-      # after this tag, mechanisms are not by side-effect, so they'll
+-      # only be used when explicitly requested
+-      if test "x$enable_dependency_tracking" = xyes; then
+-	continue
+-      else
+-	break
+-      fi
+-      ;;
+-    none) break ;;
+-    esac
+-    # We check with `-c' and `-o' for the sake of the "dashmstdout"
+-    # mode.  It turns out that the SunPro C++ compiler does not properly
+-    # handle `-M -o', and we need to detect this.
+-    if depmode="$depmode" \
+-       source=conftest.c object=conftest.o \
+-       depfile=conftest.Po tmpdepfile=conftest.TPo \
+-       $SHELL $am_depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
+-       grep conftest.h conftest.Po > /dev/null 2>&1; then
+-      am_cv_CC_dependencies_compiler_type="$depmode"
+-      break
+-    fi
+-  done
+-
+-  rm -f conftest.*
+-else
+-  am_cv_CC_dependencies_compiler_type=none
+-fi
+-
+-fi
+-
+-echo "$as_me:1980: result: $am_cv_CC_dependencies_compiler_type" >&5
+-echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
+-CCDEPMODE="depmode=$am_cv_CC_dependencies_compiler_type"
+-
+-# Make sure we can run config.sub.
+-$ac_config_sub sun4 >/dev/null 2>&1 ||
+-  {  echo "$as_me: error: cannot run $ac_config_sub" >&2
+-  { (exit 1); exit; }; }
+-
+-echo "$as_me:1989: checking build system type" >&5
+-echo $ECHO_N "checking build system type... $ECHO_C" >&6
+-if test "${ac_cv_build+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  ac_cv_build_alias=$build_alias
+-test -z "$ac_cv_build_alias" &&
+-  ac_cv_build_alias=`$ac_config_guess`
+-test -z "$ac_cv_build_alias" &&
+-  {  echo "$as_me: error: cannot guess build type; you must specify one" >&2
+-  { (exit 1); exit; }; }
+-ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
+-  {  echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2
+-  { (exit 1); exit; }; }
+-
+-fi
+-echo "$as_me:2005: result: $ac_cv_build" >&5
+-echo "${ECHO_T}$ac_cv_build" >&6
+-build=$ac_cv_build
+-build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
+-build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
+-build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
+-
+-echo "$as_me:2012: checking host system type" >&5
+-echo $ECHO_N "checking host system type... $ECHO_C" >&6
+-if test "${ac_cv_host+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  ac_cv_host_alias=$host_alias
+-test -z "$ac_cv_host_alias" &&
+-  ac_cv_host_alias=$ac_cv_build_alias
+-ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
+-  {  echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2
+-  { (exit 1); exit; }; }
+-
+-fi
+-echo "$as_me:2025: result: $ac_cv_host" >&5
+-echo "${ECHO_T}$ac_cv_host" >&6
+-host=$ac_cv_host
+-host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
+-host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
+-host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
+-
+-CANONICAL_HOST=$host
+-
+-sunos=no
+-case "$host" in
+-*-*-sunos4*)
+-	sunos=40
+-	;;
+-*-*-solaris2.7)
+-	sunos=57
+-	;;
+-*-*-solaris2.8)
+-	sunos=58
+-	;;
+-*-*-solaris2*)
+-	sunos=50
+-	;;
+-esac
+-if test "$sunos" != no; then
+-
+-cat >>confdefs.h <<EOF
+-#define SunOS $sunos
+-EOF
+-
+ fi
+-
+-aix=no
+-case "$host" in
+-*-*-aix3*)
+-	aix=3
+-	;;
+-*-*-aix4*)
+-	aix=4
+-	;;
+-esac
+-
+-#test -z "$CFLAGS" && CFLAGS="-g"
+-
+-for ac_prog in 'bison -y' byacc
+-do
+-  # Extract the first word of "$ac_prog", so it can be a program name with args.
+-set dummy $ac_prog; ac_word=$2
+-echo "$as_me:2073: checking for $ac_word" >&5
++if test -z "$CC"; then
++  if test -n "$ac_tool_prefix"; then
++  for ac_prog in cl
++  do
++    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
++set dummy $ac_tool_prefix$ac_prog; ac_word=$2
++echo "configure:1837: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+-if test "${ac_cv_prog_YACC+set}" = set; then
++if test "${ac_cv_prog_CC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  if test -n "$YACC"; then
+-  ac_cv_prog_YACC="$YACC" # Let the user override the test.
++  if test -n "$CC"; then
++  ac_cv_prog_CC="$CC" # Let the user override the test.
+ else
+   ac_save_IFS=$IFS; IFS=':'
+ ac_dummy="$PATH"
+@@ -2084,36 +1848,37 @@
+   IFS=$ac_save_IFS
+   test -z "$ac_dir" && ac_dir=.
+   test -f "$ac_dir/$ac_word" || continue
+-ac_cv_prog_YACC="$ac_prog"
++ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
+ break
+ done
+ 
+ fi
+ fi
+-YACC=$ac_cv_prog_YACC
+-if test -n "$YACC"; then
+-  echo "$as_me:2095: result: $YACC" >&5
+-echo "${ECHO_T}$YACC" >&6
++CC=$ac_cv_prog_CC
++if test -n "$CC"; then
++  echo "configure:1859: result: $CC" >&5
++echo "${ECHO_T}$CC" >&6
+ else
+-  echo "$as_me:2098: result: no" >&5
++  echo "configure:1862: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+-  test -n "$YACC" && break
+-done
+-test -n "$YACC" || YACC="yacc"
+-
+-for ac_prog in flex lex
++    test -n "$CC" && break
++  done
++fi
++if test -z "$CC"; then
++  ac_ct_CC=$CC
++  for ac_prog in cl
+ do
+   # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+-echo "$as_me:2110: checking for $ac_word" >&5
++echo "configure:1875: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+-if test "${ac_cv_prog_LEX+set}" = set; then
++if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  if test -n "$LEX"; then
+-  ac_cv_prog_LEX="$LEX" # Let the user override the test.
++  if test -n "$ac_ct_CC"; then
++  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
+ else
+   ac_save_IFS=$IFS; IFS=':'
+ ac_dummy="$PATH"
+@@ -2121,294 +1886,413 @@
+   IFS=$ac_save_IFS
+   test -z "$ac_dir" && ac_dir=.
+   test -f "$ac_dir/$ac_word" || continue
+-ac_cv_prog_LEX="$ac_prog"
++ac_cv_prog_ac_ct_CC="$ac_prog"
+ break
+ done
+ 
+ fi
+ fi
+-LEX=$ac_cv_prog_LEX
+-if test -n "$LEX"; then
+-  echo "$as_me:2132: result: $LEX" >&5
+-echo "${ECHO_T}$LEX" >&6
++ac_ct_CC=$ac_cv_prog_ac_ct_CC
++if test -n "$ac_ct_CC"; then
++  echo "configure:1897: result: $ac_ct_CC" >&5
++echo "${ECHO_T}$ac_ct_CC" >&6
+ else
+-  echo "$as_me:2135: result: no" >&5
++  echo "configure:1900: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+-  test -n "$LEX" && break
+-done
+-test -n "$LEX" || LEX="${am_missing_run}flex"
+-
+-for ac_prog in flex lex
+-do
+-  # Extract the first word of "$ac_prog", so it can be a program name with args.
+-set dummy $ac_prog; ac_word=$2
+-echo "$as_me:2147: checking for $ac_word" >&5
+-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+-if test "${ac_cv_prog_LEX+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  if test -n "$LEX"; then
+-  ac_cv_prog_LEX="$LEX" # Let the user override the test.
+-else
+-  ac_save_IFS=$IFS; IFS=':'
+-ac_dummy="$PATH"
+-for ac_dir in $ac_dummy; do
+-  IFS=$ac_save_IFS
+-  test -z "$ac_dir" && ac_dir=.
+-  test -f "$ac_dir/$ac_word" || continue
+-ac_cv_prog_LEX="$ac_prog"
+-break
++  test -n "$ac_ct_CC" && break
+ done
+ 
++  CC=$ac_ct_CC
+ fi
++
+ fi
+-LEX=$ac_cv_prog_LEX
+-if test -n "$LEX"; then
+-  echo "$as_me:2169: result: $LEX" >&5
+-echo "${ECHO_T}$LEX" >&6
+-else
+-  echo "$as_me:2172: result: no" >&5
+-echo "${ECHO_T}no" >&6
+-fi
+-
+-  test -n "$LEX" && break
+-done
+-test -n "$LEX" || LEX=":"
+ 
+-if test -z "$LEXLIB"
+-then
++test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" >&2; exit 1; }
+ 
+-echo "$as_me:2183: checking for yywrap in -lfl" >&5
+-echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
+-if test "${ac_cv_lib_fl_yywrap+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  ac_check_lib_save_LIBS=$LIBS
+-LIBS="-lfl  $LIBS"
++echo "configure:1914: checking whether the C compiler works" >&5
++echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 2191 "configure"
++#line 1917 "configure"
+ #include "confdefs.h"
+ 
+-/* Override any gcc2 internal prototype to avoid an error.  */
+-#ifdef __cplusplus
+-extern "C"
+-#endif
+-/* We use char because int might match the return type of a gcc2
+-   builtin and then its argument prototype would still apply.  */
+-char yywrap ();
+ int
+ main ()
+ {
+-yywrap ();
++
+   ;
+   return 0;
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:2210: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+-  ac_cv_lib_fl_yywrap=yes
++if { (eval echo configure:1929: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  # FIXME: these cross compiler hacks should be removed for autoconf 3.0
++# If not cross compiling, check that we can run a simple program.
++if test "$cross_compiling" != yes; then
++  if { ac_try='./conftest$ac_exeext'; { (eval echo configure:1933: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; }; then
++    cross_compiling=no
++  else
++    if test "$cross_compiling" = maybe; then
++      cross_compiling=yes
++    else
++      { echo "configure: error: cannot run C compiled programs.
++To enable cross compilation, use \`--host'." >&2; exit 1; }
++    fi
++  fi
++fi
++echo "configure:1944: result: yes" >&5
++echo "${ECHO_T}yes" >&6
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+-  ac_cv_lib_fl_yywrap=no
++  echo "configure:1949: result: no" >&5
++echo "${ECHO_T}no" >&6
++{ echo "configure: error: C compiler cannot create executables" >&2; exit 77; }
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+-LIBS=$ac_check_lib_save_LIBS
+-fi
+-echo "$as_me:2220: result: $ac_cv_lib_fl_yywrap" >&5
+-echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
+-if test $ac_cv_lib_fl_yywrap = yes; then
+-  LEXLIB="-lfl"
+-else
++echo "configure:1954: checking whether we are cross compiling" >&5
++echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
++echo "configure:1956: result: $cross_compiling" >&5
++echo "${ECHO_T}$cross_compiling" >&6
+ 
+-echo "$as_me:2226: checking for yywrap in -ll" >&5
+-echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
+-if test "${ac_cv_lib_l_yywrap+set}" = set; then
++echo "configure:1959: checking whether we are using the GNU C compiler" >&5
++echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
++if test "${ac_cv_c_compiler_gnu+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  ac_check_lib_save_LIBS=$LIBS
+-LIBS="-ll  $LIBS"
+-cat >conftest.$ac_ext <<_ACEOF
+-#line 2234 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 1965 "configure"
+ #include "confdefs.h"
+-
+-/* Override any gcc2 internal prototype to avoid an error.  */
+-#ifdef __cplusplus
+-extern "C"
++#ifndef __GNUC__
++  choke me
+ #endif
+-/* We use char because int might match the return type of a gcc2
+-   builtin and then its argument prototype would still apply.  */
+-char yywrap ();
++
+ int
+ main ()
+ {
+-yywrap ();
++
+   ;
+   return 0;
+ }
+ _ACEOF
+-rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:2253: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+-  ac_cv_lib_l_yywrap=yes
++rm -f conftest.$ac_objext
++if { (eval echo configure:1980: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++  ac_compiler_gnu=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+-  ac_cv_lib_l_yywrap=no
+-fi
+-rm -f conftest$ac_exeext conftest.$ac_ext
+-LIBS=$ac_check_lib_save_LIBS
+-fi
+-echo "$as_me:2263: result: $ac_cv_lib_l_yywrap" >&5
+-echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
+-if test $ac_cv_lib_l_yywrap = yes; then
+-  LEXLIB="-ll"
+-fi
+-
++  ac_compiler_gnu=no
+ fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++ac_cv_c_compiler_gnu=$ac_compiler_gnu
+ 
+ fi
++echo "configure:1991: result: $ac_cv_c_compiler_gnu" >&5
++echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
++GCC=`test $ac_compiler_gnu = yes && echo yes`
+ 
+-if test "x$LEX" != "x:"; then
+-  echo "$as_me:2274: checking lex output file root" >&5
+-echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
+-if test "${ac_cv_prog_lex_root+set}" = set; then
++ac_test_CFLAGS=${CFLAGS+set}
++ac_save_CFLAGS=$CFLAGS
++CFLAGS="-g"
++echo "configure:1998: checking whether ${CC-cc} accepts -g" >&5
++echo $ECHO_N "checking whether ${CC-cc} accepts -g... $ECHO_C" >&6
++if test "${ac_cv_prog_cc_g+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  # The minimal lex program is just a single line: %%.  But some broken lexes
+-# (Solaris, I think it was) want two %% lines, so accommodate them.
+-echo '%%
+-%%' | $LEX
+-if test -f lex.yy.c; then
+-  ac_cv_prog_lex_root=lex.yy
+-elif test -f lexyy.c; then
+-  ac_cv_prog_lex_root=lexyy
++  cat >conftest.$ac_ext <<_ACEOF
++#line 2004 "configure"
++#include "confdefs.h"
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:2016: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++  ac_cv_prog_cc_g=yes
+ else
+-  {  echo "$as_me: error: cannot find output from $LEX; giving up" >&2
+-  { (exit 1); exit; }; }
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_prog_cc_g=no
+ fi
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:2292: result: $ac_cv_prog_lex_root" >&5
+-echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
+-LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
++echo "configure:2025: result: $ac_cv_prog_cc_g" >&5
++echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
++if test "$ac_test_CFLAGS" = set; then
++  CFLAGS=$ac_save_CFLAGS
++elif test $ac_cv_prog_cc_g = yes; then
++  if test "$GCC" = yes; then
++    CFLAGS="-g -O2"
++  else
++    CFLAGS="-g"
++  fi
++else
++  if test "$GCC" = yes; then
++    CFLAGS="-O2"
++  else
++    CFLAGS=
++  fi
++fi
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='${CC-cc} -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
+ 
+-echo "$as_me:2296: checking whether yytext is a pointer" >&5
+-echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
+-if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
++echo "configure:2048: checking for ${CC-cc} option to accept ANSI C" >&5
++echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
++if test "${ac_cv_prog_cc_stdc+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  # POSIX says lex can declare yytext either as a pointer or an array; the
+-# default is implementation-dependent. Figure out which it is, since
+-# not all implementations provide the %pointer and %array declarations.
+-ac_cv_prog_lex_yytext_pointer=no
+-echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
+-ac_save_LIBS=$LIBS
+-LIBS="$LIBS $LEXLIB"
+-cat >conftest.$ac_ext <<_ACEOF
+-`cat $LEX_OUTPUT_ROOT.c`
++  ac_cv_prog_cc_stdc=no
++ac_save_CC=$CC
++# Don't try gcc -ansi; that turns off useful extensions and
++# breaks some systems' header files.
++# AIX			-qlanglvl=ansi
++# Ultrix and OSF/1	-std1
++# HP-UX 10.20 and later	-Ae
++# HP-UX older versions	-Aa -D_HPUX_SOURCE
++# SVR4			-Xc -D__EXTENSIONS__
++for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
++do
++  CC="$ac_save_CC $ac_arg"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 2066 "configure"
++#include "confdefs.h"
++#include <stdarg.h>
++#include <stdio.h>
++#include <sys/types.h>
++#include <sys/stat.h>
++/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
++struct buf { int x; };
++FILE * (*rcsopen) (struct buf *, struct stat *, int);
++static char *e (p, i)
++     char **p;
++     int i;
++{
++  return p[i];
++}
++static char *f (char * (*g) (char **, int), char **p, ...)
++{
++  char *s;
++  va_list v;
++  va_start (v,p);
++  s = g (p, va_arg (v,int));
++  va_end (v);
++  return s;
++}
++int test (int i, double x);
++struct s1 {int (*f) (int a);};
++struct s2 {int (*f) (double a);};
++int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
++int argc;
++char **argv;
++int
++main ()
++{
++return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
++  ;
++  return 0;
++}
+ _ACEOF
+-rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:2312: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+-  ac_cv_prog_lex_yytext_pointer=yes
++rm -f conftest.$ac_objext
++if { (eval echo configure:2105: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++  ac_cv_prog_cc_stdc=$ac_arg; break
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest$ac_exeext conftest.$ac_ext
+-LIBS=$ac_save_LIBS
+-rm -f "${LEX_OUTPUT_ROOT}.c"
++rm -f conftest.$ac_objext conftest.$ac_ext
++done
++CC=$ac_save_CC
+ 
+ fi
+-echo "$as_me:2323: result: $ac_cv_prog_lex_yytext_pointer" >&5
+-echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
+-if test $ac_cv_prog_lex_yytext_pointer = yes; then
+-
+-cat >>confdefs.h <<\EOF
+-#define YYTEXT_POINTER 1
+-EOF
+ 
+-fi
++case "x$ac_cv_prog_cc_stdc" in
++  x|xno)
++    echo "configure:2119: result: none needed" >&5
++echo "${ECHO_T}none needed" >&6 ;;
++  *)
++    echo "configure:2122: result: $ac_cv_prog_cc_stdc" >&5
++echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
++    CC="$CC $ac_cv_prog_cc_stdc" ;;
++esac
+ 
++ac_aux_dir=
++for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
++  if test -f $ac_dir/install-sh; then
++    ac_aux_dir=$ac_dir
++    ac_install_sh="$ac_aux_dir/install-sh -c"
++    break
++  elif test -f $ac_dir/install.sh; then
++    ac_aux_dir=$ac_dir
++    ac_install_sh="$ac_aux_dir/install.sh -c"
++    break
++  elif test -f $ac_dir/shtool; then
++    ac_aux_dir=$ac_dir
++    ac_install_sh="$ac_aux_dir/shtool install -c"
++    break
++  fi
++done
++if test -z "$ac_aux_dir"; then
++  { echo "configure: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2; exit 1; }
+ fi
++ac_config_guess="$SHELL $ac_aux_dir/config.guess"
++ac_config_sub="$SHELL $ac_aux_dir/config.sub"
++ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
+ 
+-if test -n "$ac_tool_prefix"; then
+-  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
+-set dummy ${ac_tool_prefix}ranlib; ac_word=$2
+-echo "$as_me:2338: checking for $ac_word" >&5
+-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+-if test "${ac_cv_prog_RANLIB+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  if test -n "$RANLIB"; then
+-  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
++# 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
++# AmigaOS /C/install, which installs bootblocks on floppy discs
++# 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 "configure:2162: checking for a BSD compatible install" >&5
++echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
++if test -z "$INSTALL"; then
++if test "${ac_cv_path_install+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  ac_save_IFS=$IFS; IFS=':'
+-ac_dummy="$PATH"
+-for ac_dir in $ac_dummy; do
++    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
++    / | ./ | .// | /cC/* \
++    | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
++    | /usr/ucb/* ) ;;
++    *)
++      # OSF1 and SCO ODT 3.0 have their own names for install.
++      # Don't use installbsd from OSF since it installs stuff as root
++      # by default.
++      for ac_prog in ginstall scoinst install; do
++        if test -f "$ac_dir/$ac_prog"; then
++	  if test $ac_prog = install &&
++            grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
++	    # AIX install.  It has an incompatible calling convention.
++	    :
++	  elif test $ac_prog = install &&
++	    grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
++	    # program-specific install script used by HP pwplus--don't use.
++	    :
++	  else
++	    ac_cv_path_install="$ac_dir/$ac_prog -c"
++	    break 2
++	  fi
++	fi
++      done
++      ;;
++    esac
++  done
+   IFS=$ac_save_IFS
+-  test -z "$ac_dir" && ac_dir=.
+-  test -f "$ac_dir/$ac_word" || continue
+-ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
+-break
+-done
+ 
+ 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
+-RANLIB=$ac_cv_prog_RANLIB
+-if test -n "$RANLIB"; then
+-  echo "$as_me:2360: result: $RANLIB" >&5
+-echo "${ECHO_T}$RANLIB" >&6
+-else
+-  echo "$as_me:2363: result: no" >&5
+-echo "${ECHO_T}no" >&6
+-fi
++echo "configure:2211: result: $INSTALL" >&5
++echo "${ECHO_T}$INSTALL" >&6
+ 
+-fi
+-if test -z "$ac_cv_prog_RANLIB"; then
+-  ac_ct_RANLIB=$RANLIB
+-  # Extract the first word of "ranlib", so it can be a program name with args.
+-set dummy ranlib; ac_word=$2
+-echo "$as_me:2372: checking for $ac_word" >&5
+-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+-if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  if test -n "$ac_ct_RANLIB"; then
+-  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
+-else
+-  ac_save_IFS=$IFS; IFS=':'
+-ac_dummy="$PATH"
+-for ac_dir in $ac_dummy; do
+-  IFS=$ac_save_IFS
+-  test -z "$ac_dir" && ac_dir=.
+-  test -f "$ac_dir/$ac_word" || continue
+-ac_cv_prog_ac_ct_RANLIB="ranlib"
+-break
+-done
++# 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 "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
+-fi
++test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
++
++test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
++
++echo "configure:2222: checking whether build environment is sane" >&5
++echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
++# Just in case
++sleep 1
++echo timestamp > conftestfile
++# Do `set' in a subshell so we don't clobber the current shell's
++# arguments.  Must try -L first in case configure is actually a
++# symlink; some systems play weird games with the mod time of symlinks
++# (eg FreeBSD returns the mod time of the symlink's containing
++# directory).
++if (
++   set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
++   if test "$*" = "X"; then
++      # -L didn't work.
++      set X `ls -t $srcdir/configure conftestfile`
++   fi
++   if test "$*" != "X $srcdir/configure conftestfile" \
++      && test "$*" != "X conftestfile $srcdir/configure"; then
++
++      # If neither matched, then we have a broken ls.  This can happen
++      # if, for instance, CONFIG_SHELL is bash and it inherits a
++      # broken ls alias from the environment.  This has actually
++      # happened.  Such a system could not be considered "sane".
++      { echo "configure: error: ls -t appears to fail.  Make sure there is not a broken
++alias in your environment" >&2; exit 1; }
++   fi
++
++   test "$2" = conftestfile
++   )
++then
++   # Ok.
++   :
++else
++   { echo "configure: error: newly created file is older than distributed files!
++Check your system clock" >&2; exit 1; }
+ fi
+-ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
+-if test -n "$ac_ct_RANLIB"; then
+-  echo "$as_me:2395: result: $ac_ct_RANLIB" >&5
+-echo "${ECHO_T}$ac_ct_RANLIB" >&6
++rm -f conftest*
++echo "configure:2259: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++if test "$program_transform_name" = s,x,x,; then
++  program_transform_name=
+ else
+-  echo "$as_me:2398: result: no" >&5
+-echo "${ECHO_T}no" >&6
++  # Double any \ or $.  echo might interpret backslashes.
++  cat <<\EOF >conftestsed
++s,\\,\\\\,g; s,\$,$$,g
++EOF
++  program_transform_name=`echo $program_transform_name | sed -f conftestsed`
++  rm -f conftestsed
+ fi
++test "$program_prefix" != NONE &&
++  program_transform_name="s,^,${program_prefix},;$program_transform_name"
++# Use a double $ so make ignores it.
++test "$program_suffix" != NONE &&
++  program_transform_name="s,\$\$,${program_suffix},;$program_transform_name"
+ 
+-  RANLIB=$ac_ct_RANLIB
++# sed with no file args requires a program.
++test -z "$program_transform_name" && program_transform_name="s,x,x,"
++
++test x"${MISSING+set}" = xset || \
++  MISSING="\${SHELL} `CDPATH=:; cd $ac_aux_dir && pwd`/missing"
++# Use eval to expand $SHELL
++if eval "$MISSING --run :"; then
++  am_missing_run="$MISSING --run "
+ else
+-  RANLIB="$ac_cv_prog_RANLIB"
++  am_missing_run=
++  am_backtick='`'
++  echo "configure: WARNING: ${am_backtick}missing' script is too old or missing" >&2
+ fi
+ 
+ for ac_prog in mawk gawk nawk awk
+ do
+   # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+-echo "$as_me:2411: checking for $ac_word" >&5
++echo "configure:2295: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_AWK+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -2430,1072 +2314,4516 @@
+ fi
+ AWK=$ac_cv_prog_AWK
+ if test -n "$AWK"; then
+-  echo "$as_me:2433: result: $AWK" >&5
++  echo "configure:2317: result: $AWK" >&5
+ echo "${ECHO_T}$AWK" >&6
+ else
+-  echo "$as_me:2436: result: no" >&5
++  echo "configure:2320: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+   test -n "$AWK" && break
+ done
+ 
+-echo "$as_me:2443: checking for ln -s or something else" >&5
+-echo $ECHO_N "checking for ln -s or something else... $ECHO_C" >&6
+-if test "${ac_cv_prog_LN_S+set}" = set; then
++echo "configure:2327: checking whether ${MAKE-make} sets \${MAKE}" >&5
++echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
++set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
++if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  rm -f conftestdata
+-if ln -s X conftestdata 2>/dev/null
+-then
+-  rm -f conftestdata
+-  ac_cv_prog_LN_S="ln -s"
++  cat >conftestmake <<\EOF
++all:
++	@echo 'ac_maketemp="${MAKE}"'
++EOF
++# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
++eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
++if test -n "$ac_maketemp"; then
++  eval ac_cv_prog_make_${ac_make}_set=yes
+ else
+-  touch conftestdata1
+-  if ln conftestdata1 conftestdata2; then
+-    rm -f conftestdata*
+-    ac_cv_prog_LN_S=ln
+-  else
+-    ac_cv_prog_LN_S=cp
+-  fi
++  eval ac_cv_prog_make_${ac_make}_set=no
+ fi
++rm -f conftestmake
++fi
++if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
++  echo "configure:2347: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++  SET_MAKE=
++else
++  echo "configure:2351: result: no" >&5
++echo "${ECHO_T}no" >&6
++  SET_MAKE="MAKE=${MAKE-make}"
+ fi
+-LN_S="$ac_cv_prog_LN_S"
+-echo "$as_me:2464: result: $ac_cv_prog_LN_S" >&5
+-echo "${ECHO_T}$ac_cv_prog_LN_S" >&6
+ 
+-# Check whether --with-mips_abi or --without-mips_abi was given.
+-if test "${with_mips_abi+set}" = set; then
+-  withval="$with_mips_abi"
++# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
++if test "${enable_dependency_tracking+set}" = set; then
++  enableval="$enable_dependency_tracking"
+ 
+ fi;
++if test "x$enable_dependency_tracking" = xno; then
++  AMDEP="#"
++else
++  am_depcomp="$ac_aux_dir/depcomp"
++  if test ! -f "$am_depcomp"; then
++    AMDEP="#"
++  else
++    AMDEP=
++  fi
++fi
+ 
+-case "$host_os" in
+-irix*)
+-with_mips_abi="${with_mips_abi:-yes}"
+-if test -n "$GCC"; then
+-
+-# GCC < 2.8 only supports the O32 ABI. GCC >= 2.8 has a flag to select
+-# which ABI to use, but only supports (as of 2.8.1) the N32 and 64 ABIs.
+-#
+-# Default to N32, but if GCC doesn't grok -mabi=n32, we assume an old
+-# GCC and revert back to O32. The same goes if O32 is asked for - old
+-# GCCs doesn't like the -mabi option, and new GCCs can't output O32.
+-#
+-# Don't you just love *all* the different SGI ABIs?
++if test -z "$AMDEP"; then
++  AMDEPBACKSLASH='\'
++else
++  AMDEPBACKSLASH=
++fi
+ 
+-case "${with_mips_abi}" in
+-        32|o32) abi='-mabi=32';  abilibdirext=''     ;;
+-       n32|yes) abi='-mabi=n32'; abilibdirext='32'  ;;
+-        64) abi='-mabi=64';  abilibdirext='64'   ;;
+-	no) abi=''; abilibdirext='';;
+-         *) {  echo "$as_me: error: \"Invalid ABI specified\"" >&2
+-  { (exit 1); exit; }; } ;;
+-esac
+-if test -n "$abi" ; then
+-ac_foo=krb_cv_gcc_`echo $abi | tr =- __`
+-echo "$as_me:2497: checking if $CC supports the $abi option" >&5
+-echo $ECHO_N "checking if $CC supports the $abi option... $ECHO_C" >&6
+-if eval "test \"\${$ac_foo+set}\" = set"; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
++if test -d .deps || mkdir .deps 2> /dev/null || test -d .deps; then
++  DEPDIR=.deps
+ else
++  DEPDIR=_deps
++fi
+ 
+-save_CFLAGS="$CFLAGS"
+-CFLAGS="$CFLAGS $abi"
+-cat >conftest.$ac_ext <<_ACEOF
+-#line 2506 "configure"
+-#include "confdefs.h"
++ac_config_commands="$ac_config_commands default-2"
++
++# test to see if srcdir already configured
++if test "`CDPATH=:; cd $srcdir && pwd`" != "`pwd`" &&
++   test -f $srcdir/config.status; then
++  { echo "configure: error: source directory already configured; run \"make distclean\" there first" >&2; exit 1; }
++fi
++
++# Define the identity of the package.
++PACKAGE=heimdal
++VERSION=0.3f
++
++cat >>confdefs.h <<EOF
++#define PACKAGE "$PACKAGE"
++EOF
++
++cat >>confdefs.h <<EOF
++#define VERSION "$VERSION"
++EOF
++
++# Some tools Automake needs.
++
++ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal"}
++
++AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
++
++AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake"}
++
++AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
++
++MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
++
++AMTAR=${AMTAR-"${am_missing_run}tar"}
++
++if test -z "$install_sh"; then
++   install_sh="$ac_aux_dir/install-sh"
++   test -f "$install_sh" || install_sh="$ac_aux_dir/install.sh"
++   test -f "$install_sh" || install_sh="${am_missing_run}${ac_auxdir}/install-sh"
++         install_sh="`echo $install_sh | sed -e 's/\${SHELL}//'`"
++fi
++
++# We need awk for the "check" target.  The system "awk" is bad on
++# some platforms.
++
++depcc="$CC"
++depcpp="$CPP"
++echo "configure:2430: checking dependency style of $depcc" >&5
++echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
++if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++
++if test -z "$AMDEP"; then
++  echo '#include "conftest.h"' > conftest.c
++  echo 'int i;' > conftest.h
++
++  am_cv_CC_dependencies_compiler_type=none
++  for depmode in `sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < "$am_depcomp"`; do
++    case "$depmode" in
++    nosideeffect)
++      # after this tag, mechanisms are not by side-effect, so they'll
++      # only be used when explicitly requested
++      if test "x$enable_dependency_tracking" = xyes; then
++	continue
++      else
++	break
++      fi
++      ;;
++    none) break ;;
++    esac
++    # We check with `-c' and `-o' for the sake of the "dashmstdout"
++    # mode.  It turns out that the SunPro C++ compiler does not properly
++    # handle `-M -o', and we need to detect this.
++    if depmode="$depmode" \
++       source=conftest.c object=conftest.o \
++       depfile=conftest.Po tmpdepfile=conftest.TPo \
++       $SHELL $am_depcomp $depcc -c conftest.c -o conftest.o 2>/dev/null &&
++       grep conftest.h conftest.Po > /dev/null 2>&1; then
++      am_cv_CC_dependencies_compiler_type="$depmode"
++      break
++    fi
++  done
++
++  rm -f conftest.*
++else
++  am_cv_CC_dependencies_compiler_type=none
++fi
++
++fi
++
++echo "configure:2474: result: $am_cv_CC_dependencies_compiler_type" >&5
++echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
++CCDEPMODE="depmode=$am_cv_CC_dependencies_compiler_type"
++
++# Make sure we can run config.sub.
++$ac_config_sub sun4 >/dev/null 2>&1 ||
++  { echo "configure: error: cannot run $ac_config_sub" >&2; exit 1; }
++
++echo "configure:2482: checking build system type" >&5
++echo $ECHO_N "checking build system type... $ECHO_C" >&6
++if test "${ac_cv_build+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_cv_build_alias=$build_alias
++test -z "$ac_cv_build_alias" &&
++  ac_cv_build_alias=`$ac_config_guess`
++test -z "$ac_cv_build_alias" &&
++  { echo "configure: error: cannot guess build type; you must specify one" >&2; exit 1; }
++ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || exit 1
++
++fi
++echo "configure:2495: result: $ac_cv_build" >&5
++echo "${ECHO_T}$ac_cv_build" >&6
++build=$ac_cv_build
++build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
++build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
++build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
++
++echo "configure:2502: checking host system type" >&5
++echo $ECHO_N "checking host system type... $ECHO_C" >&6
++if test "${ac_cv_host+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_cv_host_alias=$host_alias
++test -z "$ac_cv_host_alias" &&
++  ac_cv_host_alias=$ac_cv_build_alias
++ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || exit 1
++
++fi
++echo "configure:2513: result: $ac_cv_host" >&5
++echo "${ECHO_T}$ac_cv_host" >&6
++host=$ac_cv_host
++host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
++host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
++host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
++
++CANONICAL_HOST=$host
++
++sunos=no
++case "$host" in
++*-*-sunos4*)
++	sunos=40
++	;;
++*-*-solaris2.7)
++	sunos=57
++	;;
++*-*-solaris2.8)
++	sunos=58
++	;;
++*-*-solaris2*)
++	sunos=50
++	;;
++esac
++if test "$sunos" != no; then
++	
++cat >>confdefs.h <<EOF
++#define SunOS $sunos
++EOF
++
++fi
++
++aix=no
++case "$host" in
++*-*-aix3*)
++	aix=3
++	;;
++*-*-aix4*)
++	aix=4
++	;;
++esac
++
++#test -z "$CFLAGS" && CFLAGS="-g"
++
++for ac_prog in 'bison -y' byacc
++do
++  # Extract the first word of "$ac_prog", so it can be a program name with args.
++set dummy $ac_prog; ac_word=$2
++echo "configure:2561: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_YACC+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$YACC"; then
++  ac_cv_prog_YACC="$YACC" # Let the user override the test.
++else
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
++  IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_YACC="$ac_prog"
++break
++done
++
++fi
++fi
++YACC=$ac_cv_prog_YACC
++if test -n "$YACC"; then
++  echo "configure:2583: result: $YACC" >&5
++echo "${ECHO_T}$YACC" >&6
++else
++  echo "configure:2586: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  test -n "$YACC" && break
++done
++test -n "$YACC" || YACC="yacc"
++
++for ac_prog in flex lex
++do
++  # Extract the first word of "$ac_prog", so it can be a program name with args.
++set dummy $ac_prog; ac_word=$2
++echo "configure:2598: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_LEX+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$LEX"; then
++  ac_cv_prog_LEX="$LEX" # Let the user override the test.
++else
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
++  IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_LEX="$ac_prog"
++break
++done
++
++fi
++fi
++LEX=$ac_cv_prog_LEX
++if test -n "$LEX"; then
++  echo "configure:2620: result: $LEX" >&5
++echo "${ECHO_T}$LEX" >&6
++else
++  echo "configure:2623: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  test -n "$LEX" && break
++done
++test -n "$LEX" || LEX="${am_missing_run}flex"
++
++for ac_prog in flex lex
++do
++  # Extract the first word of "$ac_prog", so it can be a program name with args.
++set dummy $ac_prog; ac_word=$2
++echo "configure:2635: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_LEX+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$LEX"; then
++  ac_cv_prog_LEX="$LEX" # Let the user override the test.
++else
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
++  IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_LEX="$ac_prog"
++break
++done
++
++fi
++fi
++LEX=$ac_cv_prog_LEX
++if test -n "$LEX"; then
++  echo "configure:2657: result: $LEX" >&5
++echo "${ECHO_T}$LEX" >&6
++else
++  echo "configure:2660: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  test -n "$LEX" && break
++done
++test -n "$LEX" || LEX=":"
++
++if test -z "$LEXLIB"
++then
++
++echo "configure:2671: checking for yywrap in -lfl" >&5
++echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
++if test "${ac_cv_lib_fl_yywrap+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-lfl  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line 2679 "configure"
++#include "confdefs.h"
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char yywrap ();
++int
++main ()
++{
++yywrap ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:2698: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  ac_cv_lib_fl_yywrap=yes
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_lib_fl_yywrap=no
++fi
++rm -f conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "configure:2708: result: $ac_cv_lib_fl_yywrap" >&5
++echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
++if test $ac_cv_lib_fl_yywrap = yes; then
++  LEXLIB="-lfl"
++else
++
++echo "configure:2714: checking for yywrap in -ll" >&5
++echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
++if test "${ac_cv_lib_l_yywrap+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ll  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line 2722 "configure"
++#include "confdefs.h"
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char yywrap ();
++int
++main ()
++{
++yywrap ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:2741: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  ac_cv_lib_l_yywrap=yes
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_lib_l_yywrap=no
++fi
++rm -f conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "configure:2751: result: $ac_cv_lib_l_yywrap" >&5
++echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
++if test $ac_cv_lib_l_yywrap = yes; then
++  LEXLIB="-ll"
++fi
++
++fi
++
++fi
++
++if test "x$LEX" != "x:"; then
++  echo "configure:2762: checking lex output file root" >&5
++echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
++if test "${ac_cv_prog_lex_root+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  # The minimal lex program is just a single line: %%.  But some broken lexes
++# (Solaris, I think it was) want two %% lines, so accommodate them.
++echo '%%
++%%' | $LEX
++if test -f lex.yy.c; then
++  ac_cv_prog_lex_root=lex.yy
++elif test -f lexyy.c; then
++  ac_cv_prog_lex_root=lexyy
++else
++  { echo "configure: error: cannot find output from $LEX; giving up" >&2; exit 1; }
++fi
++fi
++echo "configure:2779: result: $ac_cv_prog_lex_root" >&5
++echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
++LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
++
++echo "configure:2783: checking whether yytext is a pointer" >&5
++echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
++if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  # POSIX says lex can declare yytext either as a pointer or an array; the
++# default is implementation-dependent. Figure out which it is, since
++# not all implementations provide the %pointer and %array declarations.
++ac_cv_prog_lex_yytext_pointer=no
++echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
++ac_save_LIBS=$LIBS
++LIBS="$LIBS $LEXLIB"
++cat >conftest.$ac_ext <<_ACEOF
++`cat $LEX_OUTPUT_ROOT.c`
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:2799: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  ac_cv_prog_lex_yytext_pointer=yes
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++fi
++rm -f conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_save_LIBS
++rm -f "${LEX_OUTPUT_ROOT}.c"
++
++fi
++echo "configure:2810: result: $ac_cv_prog_lex_yytext_pointer" >&5
++echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
++if test $ac_cv_prog_lex_yytext_pointer = yes; then
++
++cat >>confdefs.h <<\EOF
++#define YYTEXT_POINTER 1
++EOF
++
++fi
++
++fi
++
++if test -n "$ac_tool_prefix"; then
++  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
++set dummy ${ac_tool_prefix}ranlib; ac_word=$2
++echo "configure:2825: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_RANLIB+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$RANLIB"; then
++  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
++else
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
++  IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
++break
++done
++
++fi
++fi
++RANLIB=$ac_cv_prog_RANLIB
++if test -n "$RANLIB"; then
++  echo "configure:2847: result: $RANLIB" >&5
++echo "${ECHO_T}$RANLIB" >&6
++else
++  echo "configure:2850: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++fi
++if test -z "$ac_cv_prog_RANLIB"; then
++  ac_ct_RANLIB=$RANLIB
++  # Extract the first word of "ranlib", so it can be a program name with args.
++set dummy ranlib; ac_word=$2
++echo "configure:2859: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$ac_ct_RANLIB"; then
++  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
++else
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
++  IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_ac_ct_RANLIB="ranlib"
++break
++done
++
++  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
++fi
++fi
++ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
++if test -n "$ac_ct_RANLIB"; then
++  echo "configure:2882: result: $ac_ct_RANLIB" >&5
++echo "${ECHO_T}$ac_ct_RANLIB" >&6
++else
++  echo "configure:2885: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  RANLIB=$ac_ct_RANLIB
++fi
++
++for ac_prog in mawk gawk nawk awk
++do
++  # Extract the first word of "$ac_prog", so it can be a program name with args.
++set dummy $ac_prog; ac_word=$2
++echo "configure:2896: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_AWK+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$AWK"; then
++  ac_cv_prog_AWK="$AWK" # Let the user override the test.
++else
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
++  IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_AWK="$ac_prog"
++break
++done
++
++fi
++fi
++AWK=$ac_cv_prog_AWK
++if test -n "$AWK"; then
++  echo "configure:2918: result: $AWK" >&5
++echo "${ECHO_T}$AWK" >&6
++else
++  echo "configure:2921: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  test -n "$AWK" && break
++done
++
++echo "configure:2928: checking for ln -s or something else" >&5
++echo $ECHO_N "checking for ln -s or something else... $ECHO_C" >&6
++if test "${ac_cv_prog_LN_S+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  rm -f conftestdata
++if ln -s X conftestdata 2>/dev/null
++then
++  rm -f conftestdata
++  ac_cv_prog_LN_S="ln -s"
++else
++  touch conftestdata1
++  if ln conftestdata1 conftestdata2; then
++    rm -f conftestdata*
++    ac_cv_prog_LN_S=ln
++  else
++    ac_cv_prog_LN_S=cp
++  fi
++fi
++fi
++LN_S="$ac_cv_prog_LN_S"
++echo "configure:2949: result: $ac_cv_prog_LN_S" >&5
++echo "${ECHO_T}$ac_cv_prog_LN_S" >&6
++
++# Check whether --with-mips_abi or --without-mips_abi was given.
++if test "${with_mips_abi+set}" = set; then
++  withval="$with_mips_abi"
++
++fi;
++
++case "$host_os" in
++irix*)
++with_mips_abi="${with_mips_abi:-yes}"
++if test -n "$GCC"; then
++
++# GCC < 2.8 only supports the O32 ABI. GCC >= 2.8 has a flag to select
++# which ABI to use, but only supports (as of 2.8.1) the N32 and 64 ABIs.
++#
++# Default to N32, but if GCC doesn't grok -mabi=n32, we assume an old
++# GCC and revert back to O32. The same goes if O32 is asked for - old
++# GCCs doesn't like the -mabi option, and new GCCs can't output O32.
++#
++# Don't you just love *all* the different SGI ABIs?
++
++case "${with_mips_abi}" in
++        32|o32) abi='-mabi=32';  abilibdirext=''     ;;
++       n32|yes) abi='-mabi=n32'; abilibdirext='32'  ;;
++        64) abi='-mabi=64';  abilibdirext='64'   ;;
++	no) abi=''; abilibdirext='';;
++         *) { echo "configure: error: \"Invalid ABI specified\"" >&2; exit 1; } ;;
++esac
++if test -n "$abi" ; then
++ac_foo=krb_cv_gcc_`echo $abi | tr =- __`
++echo "configure:2981: checking if $CC supports the $abi option" >&5
++echo $ECHO_N "checking if $CC supports the $abi option... $ECHO_C" >&6
++if eval "test \"\${$ac_foo+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++
++save_CFLAGS="$CFLAGS"
++CFLAGS="$CFLAGS $abi"
++cat >conftest.$ac_ext <<_ACEOF
++#line 2990 "configure"
++#include "confdefs.h"
++
++int
++main ()
++{
++int x;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:3002: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++  eval $ac_foo=yes
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval $ac_foo=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++CFLAGS="$save_CFLAGS"
++
++fi
++
++ac_res=`eval echo \\\$$ac_foo`
++echo "configure:3015: result: $ac_res" >&5
++echo "${ECHO_T}$ac_res" >&6
++if test $ac_res = no; then
++# Try to figure out why that failed...
++case $abi in
++	-mabi=32)
++	save_CFLAGS="$CFLAGS"
++	CFLAGS="$CFLAGS -mabi=n32"
++	cat >conftest.$ac_ext <<_ACEOF
++#line 3024 "configure"
++#include "confdefs.h"
++
++int
++main ()
++{
++int x;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:3036: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++  ac_res=yes
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_res=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++	CLAGS="$save_CFLAGS"
++	if test $ac_res = yes; then
++		# New GCC
++		{ echo "configure: error: $CC does not support the $with_mips_abi ABI" >&2; exit 1; }
++	fi
++	# Old GCC
++	abi=''
++	abilibdirext=''
++	;;
++	-mabi=n32|-mabi=64)
++		if test $with_mips_abi = yes; then
++			# Old GCC, default to O32
++			abi=''
++			abilibdirext=''
++		else
++			# Some broken GCC
++			{ echo "configure: error: $CC does not support the $with_mips_abi ABI" >&2; exit 1; }
++		fi
++	;;
++esac
++fi #if test $ac_res = no; then
++fi #if test -n "$abi" ; then
++else
++case "${with_mips_abi}" in
++        32|o32) abi='-32'; abilibdirext=''     ;;
++       n32|yes) abi='-n32'; abilibdirext='32'  ;;
++        64) abi='-64'; abilibdirext='64'   ;;
++	no) abi=''; abilibdirext='';;
++         *) { echo "configure: error: \"Invalid ABI specified\"" >&2; exit 1; } ;;
++esac
++fi #if test -n "$GCC"; then
++;;
++esac
++
++CC="$CC $abi"
++libdir="$libdir$abilibdirext"
++
++echo "configure:3081: checking for __attribute__" >&5
++echo $ECHO_N "checking for __attribute__... $ECHO_C" >&6
++if test "${ac_cv___attribute__+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++
++cat >conftest.$ac_ext <<_ACEOF
++#line 3088 "configure"
++#include "confdefs.h"
++
++#include <stdlib.h>
++
++int
++main ()
++{
++
++static void foo(void) __attribute__ ((noreturn));
++
++static void
++foo(void)
++{
++  exit(1);
++}
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:3110: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++  ac_cv___attribute__=yes
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv___attribute__=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++
++if test "$ac_cv___attribute__" = "yes"; then
++
++cat >>confdefs.h <<\EOF
++#define HAVE___ATTRIBUTE__ 1
++EOF
++
++fi
++echo "configure:3127: result: $ac_cv___attribute__" >&5
++echo "${ECHO_T}$ac_cv___attribute__" >&6
++
++# Check whether --enable-shared or --disable-shared was given.
++if test "${enable_shared+set}" = set; then
++  enableval="$enable_shared"
++  p=${PACKAGE-default}
++case $enableval in
++yes) enable_shared=yes ;;
++no) enable_shared=no ;;
++*)
++  enable_shared=no
++  # Look at the argument we got.  We use all the common list separators.
++  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
++  for pkg in $enableval; do
++    if test "X$pkg" = "X$p"; then
++      enable_shared=yes
++    fi
++  done
++  IFS="$ac_save_ifs"
++  ;;
++esac
++else
++  enable_shared=no
++fi;
++# Check whether --enable-static or --disable-static was given.
++if test "${enable_static+set}" = set; then
++  enableval="$enable_static"
++  p=${PACKAGE-default}
++case $enableval in
++yes) enable_static=yes ;;
++no) enable_static=no ;;
++*)
++  enable_static=no
++  # Look at the argument we got.  We use all the common list separators.
++  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
++  for pkg in $enableval; do
++    if test "X$pkg" = "X$p"; then
++      enable_static=yes
++    fi
++  done
++  IFS="$ac_save_ifs"
++  ;;
++esac
++else
++  enable_static=yes
++fi;
++# Check whether --enable-fast-install or --disable-fast-install was given.
++if test "${enable_fast_install+set}" = set; then
++  enableval="$enable_fast_install"
++  p=${PACKAGE-default}
++case $enableval in
++yes) enable_fast_install=yes ;;
++no) enable_fast_install=no ;;
++*)
++  enable_fast_install=no
++  # Look at the argument we got.  We use all the common list separators.
++  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
++  for pkg in $enableval; do
++    if test "X$pkg" = "X$p"; then
++      enable_fast_install=yes
++    fi
++  done
++  IFS="$ac_save_ifs"
++  ;;
++esac
++else
++  enable_fast_install=yes
++fi;
++
++# Check whether --with-gnu-ld or --without-gnu-ld was given.
++if test "${with_gnu_ld+set}" = set; then
++  withval="$with_gnu_ld"
++  test "$withval" = no || with_gnu_ld=yes
++else
++  with_gnu_ld=no
++fi;
++ac_prog=ld
++if test "$GCC" = yes; then
++  # Check if gcc -print-prog-name=ld gives a path.
++  echo "configure:3207: checking for ld used by GCC" >&5
++echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
++  case $host in
++  *-*-mingw*)
++    # gcc leaves a trailing carriage return which upsets mingw
++    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
++  *)
++    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
++  esac
++  case $ac_prog in
++    # Accept absolute paths.
++    [\\/]* | [A-Za-z]:[\\/]*)
++      re_direlt='/[^/][^/]*/\.\./'
++      # Canonicalize the path of ld
++      ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
++      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
++	ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
++      done
++      test -z "$LD" && LD="$ac_prog"
++      ;;
++  "")
++    # If it fails, then pretend we aren't using GCC.
++    ac_prog=ld
++    ;;
++  *)
++    # If it is relative, then search for the first ld in PATH.
++    with_gnu_ld=unknown
++    ;;
++  esac
++elif test "$with_gnu_ld" = yes; then
++  echo "configure:3237: checking for GNU ld" >&5
++echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
++else
++  echo "configure:3240: checking for non-GNU ld" >&5
++echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
++fi
++if test "${lt_cv_path_LD+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -z "$LD"; then
++  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
++  for ac_dir in $PATH; do
++    test -z "$ac_dir" && ac_dir=.
++    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
++      lt_cv_path_LD="$ac_dir/$ac_prog"
++      # Check to see if the program is GNU ld.  I'd rather use --version,
++      # but apparently some GNU ld's only accept -v.
++      # Break only if it was the GNU/non-GNU ld that we prefer.
++      if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
++	test "$with_gnu_ld" != no && break
++      else
++	test "$with_gnu_ld" != yes && break
++      fi
++    fi
++  done
++  IFS="$ac_save_ifs"
++else
++  lt_cv_path_LD="$LD" # Let the user override the test with a path.
++fi
++fi
++
++LD="$lt_cv_path_LD"
++if test -n "$LD"; then
++  echo "configure:3270: result: $LD" >&5
++echo "${ECHO_T}$LD" >&6
++else
++  echo "configure:3273: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" >&2; exit 1; }
++echo "configure:3277: checking if the linker ($LD) is GNU ld" >&5
++echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
++if test "${lt_cv_prog_gnu_ld+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
++if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
++  lt_cv_prog_gnu_ld=yes
++else
++  lt_cv_prog_gnu_ld=no
++fi
++fi
++echo "configure:3289: result: $lt_cv_prog_gnu_ld" >&5
++echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
++with_gnu_ld=$lt_cv_prog_gnu_ld
++
++echo "configure:3293: checking for $LD option to reload object files" >&5
++echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
++if test "${lt_cv_ld_reload_flag+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  lt_cv_ld_reload_flag='-r'
++fi
++echo "configure:3300: result: $lt_cv_ld_reload_flag" >&5
++echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
++reload_flag=$lt_cv_ld_reload_flag
++test -n "$reload_flag" && reload_flag=" $reload_flag"
++
++echo "configure:3305: checking for BSD-compatible nm" >&5
++echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
++if test "${lt_cv_path_NM+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$NM"; then
++  # Let the user override the test.
++  lt_cv_path_NM="$NM"
++else
++  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
++  for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
++    test -z "$ac_dir" && ac_dir=.
++    tmp_nm=$ac_dir/${ac_tool_prefix}nm
++    if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
++      # Check to see if the nm accepts a BSD-compat flag.
++      # Adding the `sed 1q' prevents false positives on HP-UX, which says:
++      #   nm: unknown option "B" ignored
++      # Tru64's nm complains that /dev/null is an invalid object file
++      if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
++	lt_cv_path_NM="$tmp_nm -B"
++	break
++      elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
++	lt_cv_path_NM="$tmp_nm -p"
++	break
++      else
++	lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
++	continue # so that we can try to find one that supports BSD flags
++      fi
++    fi
++  done
++  IFS="$ac_save_ifs"
++  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
++fi
++fi
++
++NM="$lt_cv_path_NM"
++echo "configure:3341: result: $NM" >&5
++echo "${ECHO_T}$NM" >&6
++
++echo "configure:3344: checking whether ln -s works" >&5
++echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
++if test "${ac_cv_prog_LN_S+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  rm -f conftest.sym conftest.file
++echo >conftest.file
++if ln -s conftest.file conftest.sym 2>/dev/null; then
++  ac_cv_prog_LN_S="ln -s"
++elif ln conftest.file conftest.sym 2>/dev/null; then
++  ac_cv_prog_LN_S=ln
++else
++  ac_cv_prog_LN_S=cp
++fi
++rm -f conftest.sym conftest.file
++fi
++LN_S=$ac_cv_prog_LN_S
++
++if test "$ac_cv_prog_LN_S" = "ln -s"; then
++  echo "configure:3363: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++else
++  echo "configure:3366: result: no, using $LN_S" >&5
++echo "${ECHO_T}no, using $LN_S" >&6
++fi
++
++echo "configure:3370: checking how to recognise dependant libraries" >&5
++echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
++if test "${lt_cv_deplibs_check_method+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  lt_cv_file_magic_cmd='$MAGIC_CMD'
++lt_cv_file_magic_test_file=
++lt_cv_deplibs_check_method='unknown'
++# Need to set the preceding variable on all platforms that support
++# interlibrary dependencies.
++# 'none' -- dependencies not supported.
++# `unknown' -- same as none, but documents that we really don't know.
++# 'pass_all' -- all dependencies passed with no checks.
++# 'test_compile' -- check by making test program.
++# ['file_magic [regex]'] -- check by looking for files in library path
++# which responds to the $file_magic_cmd with a given egrep regex.
++# If you have `file' or equivalent on your system and you're not sure
++# whether `pass_all' will *always* work, you probably want this one.
++
++case $host_os in
++aix4* | aix5*)
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++
++beos*)
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++
++bsdi4*)
++  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
++  lt_cv_file_magic_cmd='/usr/bin/file -L'
++  lt_cv_file_magic_test_file=/shlib/libc.so
++  ;;
++
++cygwin* | mingw* | pw32*)
++  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
++  lt_cv_file_magic_cmd='$OBJDUMP -f'
++  ;;
++
++darwin* | rhapsody*)
++  lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
++  lt_cv_file_magic_cmd='/usr/bin/file -L'
++  case "$host_os" in
++  rhapsody* | darwin1.012)
++    lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1`
++    ;;
++  *) # Darwin 1.3 on
++    lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
++    ;;
++  esac
++  ;;
++
++freebsd*)
++  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
++    case $host_cpu in
++    i*86 )
++      # Not sure whether the presence of OpenBSD here was a mistake.
++      # Let's accept both of them until this is cleared up.
++      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
++      lt_cv_file_magic_cmd=/usr/bin/file
++      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
++      ;;
++    esac
++  else
++    lt_cv_deplibs_check_method=pass_all
++  fi
++  ;;
++
++gnu*)
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++
++hpux10.20*|hpux11*)
++  lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
++  lt_cv_file_magic_cmd=/usr/bin/file
++  lt_cv_file_magic_test_file=/usr/lib/libc.sl
++  ;;
++
++irix5* | irix6*)
++  case $host_os in
++  irix5*)
++    # this will be overridden with pass_all, but let us keep it just in case
++    lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
++    ;;
++  *)
++    case $LD in
++    *-32|*"-32 ") libmagic=32-bit;;
++    *-n32|*"-n32 ") libmagic=N32;;
++    *-64|*"-64 ") libmagic=64-bit;;
++    *) libmagic=never-match;;
++    esac
++    # this will be overridden with pass_all, but let us keep it just in case
++    lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
++    ;;
++  esac
++  lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++
++# This must be Linux ELF.
++linux-gnu*)
++  case $host_cpu in
++  alpha* | i*86 | powerpc* | sparc* | ia64* )
++    lt_cv_deplibs_check_method=pass_all ;;
++  *)
++    # glibc up to 2.1.1 does not perform some relocations on ARM
++    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
++  esac
++  lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
++  ;;
++
++netbsd*)
++  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
++    lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
++  else
++    lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
++  fi
++  ;;
++
++newos6*)
++  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
++  lt_cv_file_magic_cmd=/usr/bin/file
++  lt_cv_file_magic_test_file=/usr/lib/libnls.so
++  ;;
++
++osf3* | osf4* | osf5*)
++  # this will be overridden with pass_all, but let us keep it just in case
++  lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
++  lt_cv_file_magic_test_file=/shlib/libc.so
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++
++sco3.2v5*)
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++
++solaris*)
++  lt_cv_deplibs_check_method=pass_all
++  lt_cv_file_magic_test_file=/lib/libc.so
++  ;;
++
++sysv5uw[78]* | sysv4*uw2*)
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++
++sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
++  case $host_vendor in
++  motorola)
++    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
++    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
++    ;;
++  ncr)
++    lt_cv_deplibs_check_method=pass_all
++    ;;
++  sequent)
++    lt_cv_file_magic_cmd='/bin/file'
++    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
++    ;;
++  sni)
++    lt_cv_file_magic_cmd='/bin/file'
++    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
++    lt_cv_file_magic_test_file=/lib/libc.so
++    ;;
++  esac
++  ;;
++esac
++
++fi
++echo "configure:3538: result: $lt_cv_deplibs_check_method" >&5
++echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
++file_magic_cmd=$lt_cv_file_magic_cmd
++deplibs_check_method=$lt_cv_deplibs_check_method
++
++# Check for command to grab the raw symbol name followed by C symbol from nm.
++echo "configure:3544: checking command to parse $NM output" >&5
++echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6
++if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++
++# These are sane defaults that work on at least a few old systems.
++# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
++
++# Character class describing NM global symbol codes.
++symcode='[BCDEGRST]'
++
++# Regexp to match symbols that can be accessed directly from C.
++sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
++
++# Transform the above into a raw symbol and a C symbol.
++symxfrm='\1 \2\3 \3'
++
++# Transform an extracted symbol line into a proper C declaration
++lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'"
++
++# Define system-specific variables.
++case $host_os in
++aix*)
++  symcode='[BCDT]'
++  ;;
++cygwin* | mingw* | pw32*)
++  symcode='[ABCDGISTW]'
++  ;;
++hpux*) # Its linker distinguishes data from code symbols
++  lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
++  ;;
++irix*)
++  symcode='[BCDEGRST]'
++  ;;
++solaris* | sysv5*)
++  symcode='[BDT]'
++  ;;
++sysv4)
++  symcode='[DFNSTU]'
++  ;;
++esac
++
++# Handle CRLF in mingw tool chain
++opt_cr=
++case $host_os in
++mingw*)
++  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
++  ;;
++esac
++
++# If we're using GNU nm, then use its standard symbol codes.
++if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then
++  symcode='[ABCDGISTW]'
++fi
++
++# Try without a prefix undercore, then with it.
++for ac_symprfx in "" "_"; do
++
++  # Write the raw and C identifiers.
++lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
++
++  # Check to see that the pipe works correctly.
++  pipe_works=no
++  rm -f conftest*
++  cat > conftest.$ac_ext <<EOF
++#ifdef __cplusplus
++extern "C" {
++#endif
++char nm_test_var;
++void nm_test_func(){}
++#ifdef __cplusplus
++}
++#endif
++int main(){nm_test_var='a';nm_test_func();return(0);}
++EOF
++
++  if { (eval echo configure:3621: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++    # Now try to grab the symbols.
++    nlist=conftest.nm
++    if { (eval echo configure:3624: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\") >&5; (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5; } && test -s "$nlist"; then
++      # Try sorting and uniquifying the output.
++      if sort "$nlist" | uniq > "$nlist"T; then
++	mv -f "$nlist"T "$nlist"
++      else
++	rm -f "$nlist"T
++      fi
++
++      # Make sure that we snagged all the symbols we need.
++      if egrep ' nm_test_var$' "$nlist" >/dev/null; then
++	if egrep ' nm_test_func$' "$nlist" >/dev/null; then
++	  cat <<EOF > conftest.$ac_ext
++#ifdef __cplusplus
++extern "C" {
++#endif
++
++EOF
++	  # Now generate the symbol file.
++	  eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext'
++
++	  cat <<EOF >> conftest.$ac_ext
++#if defined (__STDC__) && __STDC__
++# define lt_ptr_t void *
++#else
++# define lt_ptr_t char *
++# define const
++#endif
++
++/* The mapping between symbol names and symbols. */
++const struct {
++  const char *name;
++  lt_ptr_t address;
++}
++lt_preloaded_symbols[] =
++{
++EOF
++	  sed "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" >> conftest.$ac_ext
++	  cat <<\EOF >> conftest.$ac_ext
++  {0, (lt_ptr_t) 0}
++};
++
++#ifdef __cplusplus
++}
++#endif
++EOF
++	  # Now try linking the two files.
++	  mv conftest.$ac_objext conftstm.$ac_objext
++	  save_LIBS="$LIBS"
++	  save_CFLAGS="$CFLAGS"
++	  LIBS="conftstm.$ac_objext"
++	  CFLAGS="$CFLAGS$no_builtin_flag"
++	  if { (eval echo configure:3675: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest; then
++	    pipe_works=yes
++	  fi
++	  LIBS="$save_LIBS"
++	  CFLAGS="$save_CFLAGS"
++	else
++	  echo "cannot find nm_test_func in $nlist" >&5
++	fi
++      else
++	echo "cannot find nm_test_var in $nlist" >&5
++      fi
++    else
++      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
++    fi
++  else
++    echo "$progname: failed program was:" >&5
++    cat conftest.$ac_ext >&5
++  fi
++  rm -f conftest* conftst*
++
++  # Do not use the global_symbol_pipe unless it works.
++  if test "$pipe_works" = yes; then
++    break
++  else
++    lt_cv_sys_global_symbol_pipe=
++  fi
++done
++
++fi
++
++global_symbol_pipe="$lt_cv_sys_global_symbol_pipe"
++if test -z "$lt_cv_sys_global_symbol_pipe"; then
++  global_symbol_to_cdecl=
++else
++  global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl"
++fi
++if test -z "$global_symbol_pipe$global_symbol_to_cdecl"; then
++  echo "configure:3712: result: failed" >&5
++echo "${ECHO_T}failed" >&6
++else
++  echo "configure:3715: result: ok" >&5
++echo "${ECHO_T}ok" >&6
++fi
++
++for ac_header in dlfcn.h
++do
++ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
++
++echo "configure:3723: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$ac_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line 3729 "configure"
++#include "confdefs.h"
++#include <$ac_header>
++
++_ACEOF
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:3735: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++
++if test -z "$ac_cpp_err"; then
++  eval "$ac_ac_Header=yes"
++else
++  cat conftest.err >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_Header=no"
++fi
++rm -f conftest*
++
++fi
++echo "configure:3756: result: `eval echo '${'$ac_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
++if test `eval echo '${'$ac_ac_Header'}'` = yes; then
++  cat >>confdefs.h <<EOF
++#define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
++EOF
++
++fi
++done
++
++# Only perform the check for file, if the check method requires it
++case $deplibs_check_method in
++file_magic*)
++  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
++    echo "configure:3770: checking for ${ac_tool_prefix}file" >&5
++echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
++if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  case $MAGIC_CMD in
++  /*)
++  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
++  ;;
++  ?:/*)
++  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
++  ;;
++  *)
++  ac_save_MAGIC_CMD="$MAGIC_CMD"
++  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
++  ac_dummy="/usr/bin:$PATH"
++  for ac_dir in $ac_dummy; do
++    test -z "$ac_dir" && ac_dir=.
++    if test -f $ac_dir/${ac_tool_prefix}file; then
++      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
++      if test -n "$file_magic_test_file"; then
++	case $deplibs_check_method in
++	"file_magic "*)
++	  file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
++	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
++	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
++	    egrep "$file_magic_regex" > /dev/null; then
++	    :
++	  else
++	    cat <<EOF 1>&2
++
++*** Warning: the command libtool uses to detect shared libraries,
++*** $file_magic_cmd, produces output that libtool cannot recognize.
++*** The result is that libtool may fail to recognize shared libraries
++*** as such.  This will affect the creation of libtool libraries that
++*** depend on shared libraries, but programs linked with such libtool
++*** libraries will work regardless of this problem.  Nevertheless, you
++*** may want to report the problem to your system manager and/or to
++*** bug-libtool@gnu.org
++
++EOF
++	  fi ;;
++	esac
++      fi
++      break
++    fi
++  done
++  IFS="$ac_save_ifs"
++  MAGIC_CMD="$ac_save_MAGIC_CMD"
++  ;;
++esac
++fi
++
++MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
++if test -n "$MAGIC_CMD"; then
++  echo "configure:3825: result: $MAGIC_CMD" >&5
++echo "${ECHO_T}$MAGIC_CMD" >&6
++else
++  echo "configure:3828: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++if test -z "$lt_cv_path_MAGIC_CMD"; then
++  if test -n "$ac_tool_prefix"; then
++    echo "configure:3834: checking for file" >&5
++echo $ECHO_N "checking for file... $ECHO_C" >&6
++if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  case $MAGIC_CMD in
++  /*)
++  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
++  ;;
++  ?:/*)
++  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
++  ;;
++  *)
++  ac_save_MAGIC_CMD="$MAGIC_CMD"
++  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
++  ac_dummy="/usr/bin:$PATH"
++  for ac_dir in $ac_dummy; do
++    test -z "$ac_dir" && ac_dir=.
++    if test -f $ac_dir/file; then
++      lt_cv_path_MAGIC_CMD="$ac_dir/file"
++      if test -n "$file_magic_test_file"; then
++	case $deplibs_check_method in
++	"file_magic "*)
++	  file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
++	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
++	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
++	    egrep "$file_magic_regex" > /dev/null; then
++	    :
++	  else
++	    cat <<EOF 1>&2
++
++*** Warning: the command libtool uses to detect shared libraries,
++*** $file_magic_cmd, produces output that libtool cannot recognize.
++*** The result is that libtool may fail to recognize shared libraries
++*** as such.  This will affect the creation of libtool libraries that
++*** depend on shared libraries, but programs linked with such libtool
++*** libraries will work regardless of this problem.  Nevertheless, you
++*** may want to report the problem to your system manager and/or to
++*** bug-libtool@gnu.org
++
++EOF
++	  fi ;;
++	esac
++      fi
++      break
++    fi
++  done
++  IFS="$ac_save_ifs"
++  MAGIC_CMD="$ac_save_MAGIC_CMD"
++  ;;
++esac
++fi
++
++MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
++if test -n "$MAGIC_CMD"; then
++  echo "configure:3889: result: $MAGIC_CMD" >&5
++echo "${ECHO_T}$MAGIC_CMD" >&6
++else
++  echo "configure:3892: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  else
++    MAGIC_CMD=:
++  fi
++fi
++
++  fi
++  ;;
++esac
++
++if test -n "$ac_tool_prefix"; then
++  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
++set dummy ${ac_tool_prefix}ranlib; ac_word=$2
++echo "configure:3908: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_RANLIB+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$RANLIB"; then
++  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
++else
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
++  IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
++break
++done
++
++fi
++fi
++RANLIB=$ac_cv_prog_RANLIB
++if test -n "$RANLIB"; then
++  echo "configure:3930: result: $RANLIB" >&5
++echo "${ECHO_T}$RANLIB" >&6
++else
++  echo "configure:3933: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++fi
++if test -z "$ac_cv_prog_RANLIB"; then
++  ac_ct_RANLIB=$RANLIB
++  # Extract the first word of "ranlib", so it can be a program name with args.
++set dummy ranlib; ac_word=$2
++echo "configure:3942: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$ac_ct_RANLIB"; then
++  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
++else
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
++  IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_ac_ct_RANLIB="ranlib"
++break
++done
++
++  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
++fi
++fi
++ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
++if test -n "$ac_ct_RANLIB"; then
++  echo "configure:3965: result: $ac_ct_RANLIB" >&5
++echo "${ECHO_T}$ac_ct_RANLIB" >&6
++else
++  echo "configure:3968: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  RANLIB=$ac_ct_RANLIB
++fi
++
++if test -n "$ac_tool_prefix"; then
++  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
++set dummy ${ac_tool_prefix}strip; ac_word=$2
++echo "configure:3978: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_STRIP+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$STRIP"; then
++  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
++else
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
++  IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_STRIP="${ac_tool_prefix}strip"
++break
++done
++
++fi
++fi
++STRIP=$ac_cv_prog_STRIP
++if test -n "$STRIP"; then
++  echo "configure:4000: result: $STRIP" >&5
++echo "${ECHO_T}$STRIP" >&6
++else
++  echo "configure:4003: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++fi
++if test -z "$ac_cv_prog_STRIP"; then
++  ac_ct_STRIP=$STRIP
++  # Extract the first word of "strip", so it can be a program name with args.
++set dummy strip; ac_word=$2
++echo "configure:4012: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$ac_ct_STRIP"; then
++  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
++else
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
++  IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_ac_ct_STRIP="strip"
++break
++done
++
++  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
++fi
++fi
++ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
++if test -n "$ac_ct_STRIP"; then
++  echo "configure:4035: result: $ac_ct_STRIP" >&5
++echo "${ECHO_T}$ac_ct_STRIP" >&6
++else
++  echo "configure:4038: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  STRIP=$ac_ct_STRIP
++fi
++
++enable_dlopen=no
++enable_win32_dll=no
++
++# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
++if test "${enable_libtool_lock+set}" = set; then
++  enableval="$enable_libtool_lock"
++
++fi;
++test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
++
++# Some flags need to be propagated to the compiler or linker for good
++# libtool support.
++case $host in
++*-*-irix6*)
++  # Find out which ABI we are using.
++  echo '#line 4060 "configure"' > conftest.$ac_ext
++  if { (eval echo configure:4061: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++    case `/usr/bin/file conftest.$ac_objext` in
++    *32-bit*)
++      LD="${LD-ld} -32"
++      ;;
++    *N32*)
++      LD="${LD-ld} -n32"
++      ;;
++    *64-bit*)
++      LD="${LD-ld} -64"
++      ;;
++    esac
++  fi
++  rm -rf conftest*
++  ;;
++
++*-*-sco3.2v5*)
++  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
++  SAVE_CFLAGS="$CFLAGS"
++  CFLAGS="$CFLAGS -belf"
++  echo "configure:4081: checking whether the C compiler needs -belf" >&5
++echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
++if test "${lt_cv_cc_needs_belf+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++
++     ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='${CC-cc} -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++     cat >conftest.$ac_ext <<_ACEOF
++#line 4094 "configure"
++#include "confdefs.h"
++
++int
++main ()
++{
+ 
+-int
+-main ()
+-{
+-int x;
+   ;
+   return 0;
+ }
+ _ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo $as_me:2518: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+-  eval $ac_foo=yes
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:4106: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  lt_cv_cc_needs_belf=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+-  eval $ac_foo=no
++  lt_cv_cc_needs_belf=no
+ fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
+-CFLAGS="$save_CFLAGS"
++rm -f conftest$ac_exeext conftest.$ac_ext
++     ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='${CC-cc} -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
+ 
+ fi
++echo "configure:4121: result: $lt_cv_cc_needs_belf" >&5
++echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
++  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
++    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
++    CFLAGS="$SAVE_CFLAGS"
++  fi
++  ;;
+ 
+-ac_res=`eval echo \\\$$ac_foo`
+-echo "$as_me:2531: result: $ac_res" >&5
+-echo "${ECHO_T}$ac_res" >&6
+-if test $ac_res = no; then
+-# Try to figure out why that failed...
+-case $abi in
+-	-mabi=32)
+-	save_CFLAGS="$CFLAGS"
+-	CFLAGS="$CFLAGS -mabi=n32"
+-	cat >conftest.$ac_ext <<_ACEOF
+-#line 2540 "configure"
++esac
++
++# Sed substitution that helps us do robust quoting.  It backslashifies
++# metacharacters that are still active within double-quoted strings.
++Xsed='sed -e s/^X//'
++sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
++
++# Same as above, but do not quote variable references.
++double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
++
++# Sed substitution to delay expansion of an escaped shell variable in a
++# double_quote_subst'ed string.
++delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
++
++# Constants:
++rm="rm -f"
++
++# Global variables:
++default_ofile=libtool
++can_build_shared=yes
++
++# All known linkers require a `.a' archive for static linking (except M$VC,
++# which needs '.lib').
++libext=a
++ltmain="$ac_aux_dir/ltmain.sh"
++ofile="$default_ofile"
++with_gnu_ld="$lt_cv_prog_gnu_ld"
++need_locks="$enable_libtool_lock"
++
++old_CC="$CC"
++old_CFLAGS="$CFLAGS"
++
++# Set sane defaults for various variables
++test -z "$AR" && AR=ar
++test -z "$AR_FLAGS" && AR_FLAGS=cru
++test -z "$AS" && AS=as
++test -z "$CC" && CC=cc
++test -z "$DLLTOOL" && DLLTOOL=dlltool
++test -z "$LD" && LD=ld
++test -z "$LN_S" && LN_S="ln -s"
++test -z "$MAGIC_CMD" && MAGIC_CMD=file
++test -z "$NM" && NM=nm
++test -z "$OBJDUMP" && OBJDUMP=objdump
++test -z "$RANLIB" && RANLIB=:
++test -z "$STRIP" && STRIP=:
++test -z "$ac_objext" && ac_objext=o
++
++if test x"$host" != x"$build"; then
++  ac_tool_prefix=${host_alias}-
++else
++  ac_tool_prefix=
++fi
++
++# Transform linux* to *-*-linux-gnu*, to support old configure scripts.
++case $host_os in
++linux-gnu*) ;;
++linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
++esac
++
++case $host_os in
++aix3*)
++  # AIX sometimes has problems with the GCC collect2 program.  For some
++  # reason, if we set the COLLECT_NAMES environment variable, the problems
++  # vanish in a puff of smoke.
++  if test "X${COLLECT_NAMES+set}" != Xset; then
++    COLLECT_NAMES=
++    export COLLECT_NAMES
++  fi
++  ;;
++esac
++
++# Determine commands to create old-style static archives.
++old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
++old_postinstall_cmds='chmod 644 $oldlib'
++old_postuninstall_cmds=
++
++if test -n "$RANLIB"; then
++  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
++  old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
++fi
++
++# Allow CC to be a program name with arguments.
++set dummy $CC
++compiler="$2"
++
++echo "configure:4214: checking for objdir" >&5
++echo $ECHO_N "checking for objdir... $ECHO_C" >&6
++rm -f .libs 2>/dev/null
++mkdir .libs 2>/dev/null
++if test -d .libs; then
++  objdir=.libs
++else
++  # MS-DOS does not allow filenames that begin with a dot.
++  objdir=_libs
++fi
++rmdir .libs 2>/dev/null
++echo "configure:4225: result: $objdir" >&5
++echo "${ECHO_T}$objdir" >&6
++
++# Check whether --with-pic or --without-pic was given.
++if test "${with_pic+set}" = set; then
++  withval="$with_pic"
++  pic_mode="$withval"
++else
++  pic_mode=default
++fi;
++test -z "$pic_mode" && pic_mode=default
++
++# We assume here that the value for lt_cv_prog_cc_pic will not be cached
++# in isolation, and that seeing it set (from the cache) indicates that
++# the associated values are set (in the cache) correctly too.
++echo "configure:4240: checking for $compiler option to produce PIC" >&5
++echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
++if test "${lt_cv_prog_cc_pic+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++   lt_cv_prog_cc_pic=
++  lt_cv_prog_cc_shlib=
++  lt_cv_prog_cc_wl=
++  lt_cv_prog_cc_static=
++  lt_cv_prog_cc_no_builtin=
++  lt_cv_prog_cc_can_build_shared=$can_build_shared
++
++  if test "$GCC" = yes; then
++    lt_cv_prog_cc_wl='-Wl,'
++    lt_cv_prog_cc_static='-static'
++
++    case $host_os in
++    aix*)
++      # Below there is a dirty hack to force normal static linking with -ldl
++      # The problem is because libdl dynamically linked with both libc and
++      # libC (AIX C++ library), which obviously doesn't included in libraries
++      # list by gcc. This cause undefined symbols with -static flags.
++      # This hack allows C programs to be linked with "-static -ldl", but
++      # we not sure about C++ programs.
++      lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC"
++      ;;
++    amigaos*)
++      # FIXME: we need at least 68020 code to build shared libraries, but
++      # adding the `-m68020' flag to GCC prevents building anything better,
++      # like `-m68040'.
++      lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4'
++      ;;
++    beos* | irix5* | irix6* | osf3* | osf4* | osf5*)
++      # PIC is the default for these OSes.
++      ;;
++    darwin* | rhapsody*)
++      # PIC is the default on this platform
++      # Common symbols not allowed in MH_DYLIB files
++      lt_cv_prog_cc_pic='-fno-common'
++      ;;
++    cygwin* | mingw* | pw32* | os2*)
++      # This hack is so that the source file can tell whether it is being
++      # built for inclusion in a dll (and should export symbols for example).
++      lt_cv_prog_cc_pic='-DDLL_EXPORT'
++      ;;
++    sysv4*MP*)
++      if test -d /usr/nec; then
++	 lt_cv_prog_cc_pic=-Kconform_pic
++      fi
++      ;;
++    *)
++      lt_cv_prog_cc_pic='-fPIC'
++      ;;
++    esac
++  else
++    # PORTME Check for PIC flags for the system compiler.
++    case $host_os in
++    aix3* | aix4* | aix5*)
++      # All AIX code is PIC.
++      if test "$host_cpu" = ia64; then
++        # AIX 5 now supports IA64 processor
++        lt_cv_prog_cc_static='-Bstatic'
++        lt_cv_prog_cc_wl='-Wl,'
++      else
++        lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp'
++      fi
++      ;;
++
++    hpux9* | hpux10* | hpux11*)
++      # Is there a better lt_cv_prog_cc_static that works with the bundled CC?
++      lt_cv_prog_cc_wl='-Wl,'
++      lt_cv_prog_cc_static="${lt_cv_prog_cc_wl}-a ${lt_cv_prog_cc_wl}archive"
++      lt_cv_prog_cc_pic='+Z'
++      ;;
++
++    irix5* | irix6*)
++      lt_cv_prog_cc_wl='-Wl,'
++      lt_cv_prog_cc_static='-non_shared'
++      # PIC (with -KPIC) is the default.
++      ;;
++
++    cygwin* | mingw* | pw32* | os2*)
++      # This hack is so that the source file can tell whether it is being
++      # built for inclusion in a dll (and should export symbols for example).
++      lt_cv_prog_cc_pic='-DDLL_EXPORT'
++      ;;
++
++    newsos6)
++      lt_cv_prog_cc_pic='-KPIC'
++      lt_cv_prog_cc_static='-Bstatic'
++      ;;
++
++    osf3* | osf4* | osf5*)
++      # All OSF/1 code is PIC.
++      lt_cv_prog_cc_wl='-Wl,'
++      lt_cv_prog_cc_static='-non_shared'
++      ;;
++
++    sco3.2v5*)
++      lt_cv_prog_cc_pic='-Kpic'
++      lt_cv_prog_cc_static='-dn'
++      lt_cv_prog_cc_shlib='-belf'
++      ;;
++
++    solaris*)
++      lt_cv_prog_cc_pic='-KPIC'
++      lt_cv_prog_cc_static='-Bstatic'
++      lt_cv_prog_cc_wl='-Wl,'
++      ;;
++
++    sunos4*)
++      lt_cv_prog_cc_pic='-PIC'
++      lt_cv_prog_cc_static='-Bstatic'
++      lt_cv_prog_cc_wl='-Qoption ld '
++      ;;
++
++    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
++      lt_cv_prog_cc_pic='-KPIC'
++      lt_cv_prog_cc_static='-Bstatic'
++      if test "x$host_vendor" = xsni; then
++        lt_cv_prog_cc_wl='-LD'
++      else
++        lt_cv_prog_cc_wl='-Wl,'
++      fi
++      ;;
++
++    uts4*)
++      lt_cv_prog_cc_pic='-pic'
++      lt_cv_prog_cc_static='-Bstatic'
++      ;;
++
++    sysv4*MP*)
++      if test -d /usr/nec ;then
++	lt_cv_prog_cc_pic='-Kconform_pic'
++	lt_cv_prog_cc_static='-Bstatic'
++      fi
++      ;;
++
++    *)
++      lt_cv_prog_cc_can_build_shared=no
++      ;;
++    esac
++  fi
++
++fi
++
++if test -z "$lt_cv_prog_cc_pic"; then
++  echo "configure:4387: result: none" >&5
++echo "${ECHO_T}none" >&6
++else
++  echo "configure:4390: result: $lt_cv_prog_cc_pic" >&5
++echo "${ECHO_T}$lt_cv_prog_cc_pic" >&6
++
++  # Check to make sure the pic_flag actually works.
++  echo "configure:4394: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5
++echo $ECHO_N "checking if $compiler PIC flag $lt_cv_prog_cc_pic works... $ECHO_C" >&6
++  if test "${lt_cv_prog_cc_pic_works+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++      save_CFLAGS="$CFLAGS"
++    CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"
++    cat >conftest.$ac_ext <<_ACEOF
++#line 4402 "configure"
+ #include "confdefs.h"
+ 
+ int
+ main ()
+ {
+-int x;
++
+   ;
+   return 0;
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:2552: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+-  ac_res=yes
++if { (eval echo configure:4414: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++        case $host_os in
++      hpux9* | hpux10* | hpux11*)
++	# On HP-UX, both CC and GCC only warn that PIC is supported... then
++	# they create non-PIC objects.  So, if there were any warnings, we
++	# assume that PIC is not supported.
++	if test -s conftest.err; then
++	  lt_cv_prog_cc_pic_works=no
++	else
++	  lt_cv_prog_cc_pic_works=yes
++	fi
++	;;
++      *)
++	lt_cv_prog_cc_pic_works=yes
++	;;
++      esac
++
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+-  ac_res=no
++        lt_cv_prog_cc_pic_works=no
++
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+-	CLAGS="$save_CFLAGS"
+-	if test $ac_res = yes; then
+-		# New GCC
+-		{  echo "$as_me: error: $CC does not support the $with_mips_abi ABI" >&2
+-  { (exit 1); exit; }; }
+-	fi
+-	# Old GCC
+-	abi=''
+-	abilibdirext=''
+-	;;
+-	-mabi=n32|-mabi=64)
+-		if test $with_mips_abi = yes; then
+-			# Old GCC, default to O32
+-			abi=''
+-			abilibdirext=''
+-		else
+-			# Some broken GCC
+-			{  echo "$as_me: error: $CC does not support the $with_mips_abi ABI" >&2
+-  { (exit 1); exit; }; }
+-		fi
+-	;;
+-esac
+-fi #if test $ac_res = no; then
+-fi #if test -n "$abi" ; then
++    CFLAGS="$save_CFLAGS"
++
++fi
++
++  if test "X$lt_cv_prog_cc_pic_works" = Xno; then
++    lt_cv_prog_cc_pic=
++    lt_cv_prog_cc_can_build_shared=no
++  else
++    lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic"
++  fi
++
++  echo "configure:4449: result: $lt_cv_prog_cc_pic_works" >&5
++echo "${ECHO_T}$lt_cv_prog_cc_pic_works" >&6
++fi
++
++# Check for any special shared library compilation flags.
++if test -n "$lt_cv_prog_cc_shlib"; then
++  echo "configure: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&2
++  if echo "$old_CC $old_CFLAGS " | egrep -e "[ 	]$lt_cv_prog_cc_shlib[ 	]" >/dev/null; then :
++  else
++   echo "configure: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2
++    lt_cv_prog_cc_can_build_shared=no
++  fi
++fi
++
++echo "configure:4463: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5
++echo $ECHO_N "checking if $compiler static flag $lt_cv_prog_cc_static works... $ECHO_C" >&6
++if test "${lt_cv_prog_cc_static_works+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-case "${with_mips_abi}" in
+-        32|o32) abi='-32'; abilibdirext=''     ;;
+-       n32|yes) abi='-n32'; abilibdirext='32'  ;;
+-        64) abi='-64'; abilibdirext='64'   ;;
+-	no) abi=''; abilibdirext='';;
+-         *) {  echo "$as_me: error: \"Invalid ABI specified\"" >&2
+-  { (exit 1); exit; }; } ;;
+-esac
+-fi #if test -n "$GCC"; then
+-;;
+-esac
++    lt_cv_prog_cc_static_works=no
++  save_LDFLAGS="$LDFLAGS"
++  LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 4472 "configure"
++#include "confdefs.h"
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:4484: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  lt_cv_prog_cc_static_works=yes
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++fi
++rm -f conftest$ac_exeext conftest.$ac_ext
++  LDFLAGS="$save_LDFLAGS"
++
++fi
++
++# Belt *and* braces to stop my trousers falling down:
++test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static=
++echo "configure:4497: result: $lt_cv_prog_cc_static_works" >&5
++echo "${ECHO_T}$lt_cv_prog_cc_static_works" >&6
++
++pic_flag="$lt_cv_prog_cc_pic"
++special_shlib_compile_flags="$lt_cv_prog_cc_shlib"
++wl="$lt_cv_prog_cc_wl"
++link_static_flag="$lt_cv_prog_cc_static"
++no_builtin_flag="$lt_cv_prog_cc_no_builtin"
++can_build_shared="$lt_cv_prog_cc_can_build_shared"
++
++# Check to see if options -o and -c are simultaneously supported by compiler
++echo "configure:4508: checking if $compiler supports -c -o file.$ac_objext" >&5
++echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
++if test "${lt_cv_compiler_c_o+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++
++$rm -r conftest 2>/dev/null
++mkdir conftest
++cd conftest
++echo "int some_variable = 0;" > conftest.$ac_ext
++mkdir out
++# According to Tom Tromey, Ian Lance Taylor reported there are C compilers
++# that will create temporary files in the current directory regardless of
++# the output directory.  Thus, making CWD read-only will cause this test
++# to fail, enabling locking or at least warning the user not to do parallel
++# builds.
++chmod -w .
++save_CFLAGS="$CFLAGS"
++CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
++compiler_c_o=no
++if { (eval echo configure:4528: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
++  # The compiler can only warn and ignore the option if not recognized
++  # So say no if there are warnings
++  if test -s out/conftest.err; then
++    lt_cv_compiler_c_o=no
++  else
++    lt_cv_compiler_c_o=yes
++  fi
++else
++  # Append any errors to the config.log.
++  cat out/conftest.err 1>&5
++  lt_cv_compiler_c_o=no
++fi
++CFLAGS="$save_CFLAGS"
++chmod u+w .
++$rm conftest* out/*
++rmdir out
++cd ..
++rmdir conftest
++$rm -r conftest 2>/dev/null
+ 
+-CC="$CC $abi"
+-libdir="$libdir$abilibdirext"
++fi
+ 
+-echo "$as_me:2600: checking for __attribute__" >&5
+-echo $ECHO_N "checking for __attribute__... $ECHO_C" >&6
+-if test "${ac_cv___attribute__+set}" = set; then
++compiler_c_o=$lt_cv_compiler_c_o
++echo "configure:4552: result: $compiler_c_o" >&5
++echo "${ECHO_T}$compiler_c_o" >&6
++
++if test x"$compiler_c_o" = x"yes"; then
++  # Check to see if we can write to a .lo
++  echo "configure:4557: checking if $compiler supports -c -o file.lo" >&5
++echo $ECHO_N "checking if $compiler supports -c -o file.lo... $ECHO_C" >&6
++  if test "${lt_cv_compiler_o_lo+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-cat >conftest.$ac_ext <<_ACEOF
+-#line 2607 "configure"
++  lt_cv_compiler_o_lo=no
++  save_CFLAGS="$CFLAGS"
++  CFLAGS="$CFLAGS -c -o conftest.lo"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 4567 "configure"
+ #include "confdefs.h"
+ 
+-#include <stdlib.h>
+-
+ int
+ main ()
+ {
++int some_variable = 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:4579: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++      # The compiler can only warn and ignore the option if not recognized
++    # So say no if there are warnings
++    if test -s conftest.err; then
++      lt_cv_compiler_o_lo=no
++    else
++      lt_cv_compiler_o_lo=yes
++    fi
+ 
+-static void foo(void) __attribute__ ((noreturn));
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++  CFLAGS="$save_CFLAGS"
+ 
+-static void
+-foo(void)
+-{
+-  exit(1);
+-}
++fi
++
++  compiler_o_lo=$lt_cv_compiler_o_lo
++  echo "configure:4598: result: $compiler_c_lo" >&5
++echo "${ECHO_T}$compiler_c_lo" >&6
++else
++  compiler_o_lo=no
++fi
++
++# Check to see if we can do hard links to lock some files if needed
++hard_links="nottested"
++if test "$compiler_c_o" = no && test "$need_locks" != no; then
++  # do not overwrite the value of need_locks provided by the user
++  echo "configure:4608: checking if we can lock with hard links" >&5
++echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
++  hard_links=yes
++  $rm conftest*
++  ln conftest.a conftest.b 2>/dev/null && hard_links=no
++  touch conftest.a
++  ln conftest.a conftest.b 2>&5 || hard_links=no
++  ln conftest.a conftest.b 2>/dev/null && hard_links=no
++  echo "configure:4616: result: $hard_links" >&5
++echo "${ECHO_T}$hard_links" >&6
++  if test "$hard_links" = no; then
++    echo "configure: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2
++    need_locks=warn
++  fi
++else
++  need_locks=no
++fi
+ 
++if test "$GCC" = yes; then
++  # Check to see if options -fno-rtti -fno-exceptions are supported by compiler
++  echo "configure:4628: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
++echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
++  echo "int some_variable = 0;" > conftest.$ac_ext
++  save_CFLAGS="$CFLAGS"
++  CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"
++  compiler_rtti_exceptions=no
++  cat >conftest.$ac_ext <<_ACEOF
++#line 4635 "configure"
++#include "confdefs.h"
++
++int
++main ()
++{
++int some_variable = 0;
+   ;
+   return 0;
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:2629: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+-  ac_cv___attribute__=yes
++if { (eval echo configure:4647: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++      # The compiler can only warn and ignore the option if not recognized
++    # So say no if there are warnings
++    if test -s conftest.err; then
++      compiler_rtti_exceptions=no
++    else
++      compiler_rtti_exceptions=yes
++    fi
++
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+-  ac_cv___attribute__=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
++  CFLAGS="$save_CFLAGS"
++  echo "configure:4662: result: $compiler_rtti_exceptions" >&5
++echo "${ECHO_T}$compiler_rtti_exceptions" >&6
++
++  if test "$compiler_rtti_exceptions" = "yes"; then
++    no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions'
++  else
++    no_builtin_flag=' -fno-builtin'
++  fi
+ fi
+ 
+-if test "$ac_cv___attribute__" = "yes"; then
++# See if the linker supports building shared libraries.
++echo "configure:4673: checking whether the linker ($LD) supports shared libraries" >&5
++echo $ECHO_N "checking whether the linker ($LD) supports shared libraries... $ECHO_C" >&6
++
++allow_undefined_flag=
++no_undefined_flag=
++need_lib_prefix=unknown
++need_version=unknown
++# when you set need_version to no, make sure it does not cause -set_version
++# flags to be left without arguments
++archive_cmds=
++archive_expsym_cmds=
++old_archive_from_new_cmds=
++old_archive_from_expsyms_cmds=
++export_dynamic_flag_spec=
++whole_archive_flag_spec=
++thread_safe_flag_spec=
++hardcode_into_libs=no
++hardcode_libdir_flag_spec=
++hardcode_libdir_separator=
++hardcode_direct=no
++hardcode_minus_L=no
++hardcode_shlibpath_var=unsupported
++runpath_var=
++link_all_deplibs=unknown
++always_export_symbols=no
++export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols'
++# include_expsyms should be a list of space-separated symbols to be *always*
++# included in the symbol list
++include_expsyms=
++# exclude_expsyms can be an egrep regular expression of symbols to exclude
++# it will be wrapped by ` (' and `)$', so one must not match beginning or
++# end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
++# as well as any symbol that contains `d'.
++exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
++# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
++# platforms (ab)use it in PIC code, but their linkers get confused if
++# the symbol is explicitly referenced.  Since portable code cannot
++# rely on this symbol name, it's probably fine to never include it in
++# preloaded symbol tables.
++extract_expsyms_cmds=
++
++case $host_os in
++cygwin* | mingw* | pw32* )
++  # FIXME: the MSVC++ port hasn't been tested in a loooong time
++  # When not using gcc, we currently assume that we are using
++  # Microsoft Visual C++.
++  if test "$GCC" != yes; then
++    with_gnu_ld=no
++  fi
++  ;;
++
++esac
++
++ld_shlibs=yes
++if test "$with_gnu_ld" = yes; then
++  # If archive_cmds runs LD, not CC, wlarc should be empty
++  wlarc='${wl}'
++
++  # See if GNU ld supports shared libraries.
++  case $host_os in
++  aix3* | aix4* | aix5*)
++    # On AIX, the GNU linker is very broken
++    # Note:Check GNU linker on AIX 5-IA64 when/if it becomes available.
++    ld_shlibs=no
++    cat <<EOF 1>&2
++
++*** Warning: the GNU linker, at least up to release 2.9.1, is reported
++*** to be unable to reliably create shared libraries on AIX.
++*** Therefore, libtool is disabling shared libraries support.  If you
++*** really care for shared libraries, you may want to modify your PATH
++*** so that a non-GNU linker is found, and then restart.
+ 
+-cat >>confdefs.h <<\EOF
+-#define HAVE___ATTRIBUTE__ 1
+ EOF
++    ;;
+ 
+-fi
+-echo "$as_me:2646: result: $ac_cv___attribute__" >&5
+-echo "${ECHO_T}$ac_cv___attribute__" >&6
++  amigaos*)
++    archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
++    hardcode_libdir_flag_spec='-L$libdir'
++    hardcode_minus_L=yes
++
++    # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
++    # that the semantics of dynamic libraries on AmigaOS, at least up
++    # to version 4, is to share data among multiple programs linked
++    # with the same dynamic library.  Since this doesn't match the
++    # behavior of shared libraries on other platforms, we can use
++    # them.
++    ld_shlibs=no
++    ;;
+ 
+-# Check whether --enable-shared or --disable-shared was given.
+-if test "${enable_shared+set}" = set; then
+-  enableval="$enable_shared"
+-  p=${PACKAGE-default}
+-case "$enableval" in
+-yes) enable_shared=yes ;;
+-no) enable_shared=no ;;
+-*)
+-  enable_shared=no
+-  # Look at the argument we got.  We use all the common list separators.
+-  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
+-  for pkg in $enableval; do
+-    if test "X$pkg" = "X$p"; then
+-      enable_shared=yes
++  beos*)
++    if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
++      allow_undefined_flag=unsupported
++      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
++      # support --undefined.  This deserves some investigation.  FIXME
++      archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++    else
++      ld_shlibs=no
+     fi
+-  done
+-  IFS="$ac_save_ifs"
+-  ;;
+-esac
+-else
+-  enable_shared=no
+-fi;
+-# Check whether --enable-static or --disable-static was given.
+-if test "${enable_static+set}" = set; then
+-  enableval="$enable_static"
+-  p=${PACKAGE-default}
+-case "$enableval" in
+-yes) enable_static=yes ;;
+-no) enable_static=no ;;
+-*)
+-  enable_static=no
+-  # Look at the argument we got.  We use all the common list separators.
+-  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
+-  for pkg in $enableval; do
+-    if test "X$pkg" = "X$p"; then
+-      enable_static=yes
++    ;;
++
++  cygwin* | mingw* | pw32*)
++    # hardcode_libdir_flag_spec is actually meaningless, as there is
++    # no search path for DLLs.
++    hardcode_libdir_flag_spec='-L$libdir'
++    allow_undefined_flag=unsupported
++    always_export_symbols=yes
++
++    extract_expsyms_cmds='test -f $output_objdir/impgen.c || \
++      sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~
++      test -f $output_objdir/impgen.exe || (cd $output_objdir && \
++      if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \
++      else $CC -o impgen impgen.c ; fi)~
++      $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def'
++
++    old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib'
++
++    # cygwin and mingw dlls have different entry points and sets of symbols
++    # to exclude.
++    # FIXME: what about values for MSVC?
++    dll_entry=__cygwin_dll_entry@12
++    dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~
++    case $host_os in
++    mingw*)
++      # mingw values
++      dll_entry=_DllMainCRTStartup@12
++      dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~
++      ;;
++    esac
++
++    # mingw and cygwin differ, and it's simplest to just exclude the union
++    # of the two symbol sets.
++    dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12
++
++    # recent cygwin and mingw systems supply a stub DllMain which the user
++    # can override, but on older systems we have to supply one (in ltdll.c)
++    if test "x$lt_cv_need_dllmain" = "xyes"; then
++      ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext "
++      ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < [$]0 > $output_objdir/$soname-ltdll.c~
++	test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~'
++    else
++      ltdll_obj=
++      ltdll_cmds=
+     fi
+-  done
+-  IFS="$ac_save_ifs"
+-  ;;
+-esac
+-else
+-  enable_static=yes
+-fi;
+-# Check whether --enable-fast-install or --disable-fast-install was given.
+-if test "${enable_fast_install+set}" = set; then
+-  enableval="$enable_fast_install"
+-  p=${PACKAGE-default}
+-case "$enableval" in
+-yes) enable_fast_install=yes ;;
+-no) enable_fast_install=no ;;
+-*)
+-  enable_fast_install=no
+-  # Look at the argument we got.  We use all the common list separators.
+-  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
+-  for pkg in $enableval; do
+-    if test "X$pkg" = "X$p"; then
+-      enable_fast_install=yes
++
++    # Extract the symbol export list from an `--export-all' def file,
++    # then regenerate the def file from the symbol export list, so that
++    # the compiled dll only exports the symbol export list.
++    # Be careful not to strip the DATA tag left be newer dlltools.
++    export_symbols_cmds="$ltdll_cmds"'
++      $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~
++      sed -e "1,/EXPORTS/d" -e "s/ @ [0-9]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols'
++
++    # If the export-symbols file already is a .def file (1st line
++    # is EXPORTS), use it as is.
++    # If DATA tags from a recent dlltool are present, honour them!
++    archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then
++        cp $export_symbols $output_objdir/$soname-def;
++      else
++        echo EXPORTS > $output_objdir/$soname-def;
++        _lt_hint=1;
++        cat $export_symbols | while read symbol; do
++         set dummy \$symbol;
++         case \$# in
++           2) echo "   \$2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
++           *) echo "     \$2 @ \$_lt_hint \$3 ; " >> $output_objdir/$soname-def;;
++         esac;
++         _lt_hint=`expr 1 + \$_lt_hint`;
++        done;
++      fi~
++      '"$ltdll_cmds"'
++      $CC -Wl,--base-file,$output_objdir/$soname-base '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
++      $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp~
++      $CC -Wl,--base-file,$output_objdir/$soname-base $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
++      $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp --output-lib $output_objdir/$libname.dll.a~
++      $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags'
++    ;;
++
++  netbsd*)
++    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++      archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
++      wlarc=
++    else
++      archive_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++      archive_expsym_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+     fi
+-  done
+-  IFS="$ac_save_ifs"
+-  ;;
+-esac
+-else
+-  enable_fast_install=yes
+-fi;
++    ;;
++
++  solaris* | sysv5*)
++    if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then
++      ld_shlibs=no
++      cat <<EOF 1>&2
++
++*** Warning: The releases 2.8.* of the GNU linker cannot reliably
++*** create shared libraries on Solaris systems.  Therefore, libtool
++*** is disabling shared libraries support.  We urge you to upgrade GNU
++*** binutils to release 2.9.1 or newer.  Another option is to modify
++*** your PATH or compiler configuration so that the native linker is
++*** used, and then restart.
++
++EOF
++    elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
++      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++      archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++    else
++      ld_shlibs=no
++    fi
++    ;;
++
++  sunos4*)
++    archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++    wlarc=
++    hardcode_direct=yes
++    hardcode_shlibpath_var=no
++    ;;
+ 
+-# Check whether --with-gnu-ld or --without-gnu-ld was given.
+-if test "${with_gnu_ld+set}" = set; then
+-  withval="$with_gnu_ld"
+-  test "$withval" = no || with_gnu_ld=yes
+-else
+-  with_gnu_ld=no
+-fi;
+-ac_prog=ld
+-if test "$ac_cv_c_compiler_gnu" = yes; then
+-  # Check if gcc -print-prog-name=ld gives a path.
+-  echo "$as_me:2726: checking for ld used by GCC" >&5
+-echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
+-  case $host in
+-  *-*-mingw*)
+-    # gcc leaves a trailing carriage return which upsets mingw
+-    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
+   *)
+-    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
++    if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
++      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++      archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++    else
++      ld_shlibs=no
++    fi
++    ;;
+   esac
+-  case "$ac_prog" in
+-    # Accept absolute paths.
+-    [\\/]* | [A-Za-z]:[\\/]*)
+-      re_direlt='/[^/][^/]*/\.\./'
+-      # Canonicalize the path of ld
+-      ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
+-      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
+-	ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
+-      done
+-      test -z "$LD" && LD="$ac_prog"
++
++  if test "$ld_shlibs" = yes; then
++    runpath_var=LD_RUN_PATH
++    hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
++    export_dynamic_flag_spec='${wl}--export-dynamic'
++    case $host_os in
++    cygwin* | mingw* | pw32*)
++      # dlltool doesn't understand --whole-archive et. al.
++      whole_archive_flag_spec=
+       ;;
+-  "")
+-    # If it fails, then pretend we aren't using GCC.
+-    ac_prog=ld
++    *)
++      # ancient GNU ld didn't support --whole-archive et. al.
++      if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then
++	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
++      else
++	whole_archive_flag_spec=
++      fi
++      ;;
++    esac
++  fi
++else
++  # PORTME fill in a description of your system's linker (not GNU ld)
++  case $host_os in
++  aix3*)
++    allow_undefined_flag=unsupported
++    always_export_symbols=yes
++    archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
++    # Note: this linker hardcodes the directories in LIBPATH if there
++    # are no directories specified by -L.
++    hardcode_minus_L=yes
++    if test "$GCC" = yes && test -z "$link_static_flag"; then
++      # Neither direct hardcoding nor static linking is supported with a
++      # broken collect2.
++      hardcode_direct=unsupported
++    fi
++    ;;
++
++  aix4* | aix5*)
++    # When large executables or shared objects are built, AIX ld can
++    # have problems creating the table of contents.  If linking a library
++    # or program results in "error TOC overflow" add -mminimal-toc to
++    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
++    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
++
++    archive_cmds=''
++    hardcode_libdir_separator=':'
++    if test "$GCC" = yes; then
++      collect2name=`${CC} -print-prog-name=collect2`
++      if test -f "$collect2name" && \
++	 strings "$collect2name" | grep resolve_lib_name >/dev/null
++      then
++	# We have reworked collect2
++	hardcode_direct=yes
++      else
++        # We have old collect2
++        hardcode_direct=unsupported
++        # It fails to find uninstalled libraries when the uninstalled
++        # path is not listed in the libpath.  Setting hardcode_minus_L
++        # to unsupported forces relinking
++        hardcode_minus_L=yes
++        hardcode_libdir_flag_spec='-L$libdir'
++        hardcode_libdir_separator=
++      fi
++      shared_flag='-shared'
++    else
++      if test "$host_cpu" = ia64; then
++        shared_flag='-G'
++      else
++        shared_flag='${wl}-bM:SRE'
++      fi
++      hardcode_direct=yes
++    fi
++
++    if test "$host_cpu" = ia64; then
++      # On IA64, the linker does run time linking by default, so we don't
++      # have to do anything special.
++      aix_use_runtimelinking=no
++      exp_sym_flag='-Bexport'
++      no_entry_flag=""
++    else
++      # Test if we are trying to use run time linking, or normal AIX style linking.
++      # If -brtl is somewhere in LDFLAGS, we need to do run time linking.
++      aix_use_runtimelinking=no
++      for ld_flag in $LDFLAGS; do
++        if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl" ); then
++          aix_use_runtimelinking=yes
++          break
++        fi
++      done
++      exp_sym_flag='-bexport'
++      no_entry_flag='-bnoentry'
++    fi
++    # It seems that -bexpall can do strange things, so it is better to
++    # generate a list of symbols to export.
++    always_export_symbols=yes
++    if test "$aix_use_runtimelinking" = yes; then
++      hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib'
++      allow_undefined_flag=' -Wl,-G'
++      archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
++    else
++      if test "$host_cpu" = ia64; then
++        hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
++       allow_undefined_flag="-znodefs"
++        archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
++      else
++        hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib'
++        # Warning - without using the other run time loading flags, -berok will
++        #           link without error, but may produce a broken library.
++        allow_undefined_flag='${wl}-berok"
++        # This is a bit strange, but is similar to how AIX traditionally builds
++        # it's shared libraries.
++        archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $objdir/$libname$release.a $objdir/$soname'
++      fi
++    fi
++    ;;
++
++  amigaos*)
++    archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
++    hardcode_libdir_flag_spec='-L$libdir'
++    hardcode_minus_L=yes
++    # see comment about different semantics on the GNU ld section
++    ld_shlibs=no
++    ;;
++
++  cygwin* | mingw* | pw32*)
++    # When not using gcc, we currently assume that we are using
++    # Microsoft Visual C++.
++    # hardcode_libdir_flag_spec is actually meaningless, as there is
++    # no search path for DLLs.
++    hardcode_libdir_flag_spec=' '
++    allow_undefined_flag=unsupported
++    # Tell ltmain to make .lib files, not .a files.
++    libext=lib
++    # FIXME: Setting linknames here is a bad hack.
++    archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames='
++    # The linker will automatically build a .lib file if we build a DLL.
++    old_archive_from_new_cmds='true'
++    # FIXME: Should let the user specify the lib program.
++    old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
++    fix_srcfile_path='`cygpath -w "$srcfile"`'
++    ;;
++
++  darwin* | rhapsody*)
++    allow_undefined_flag='-undefined suppress'
++    # FIXME: Relying on posixy $() will cause problems for
++    #        cross-compilation, but unfortunately the echo tests do not
++    #        yet detect zsh echo's removal of \ escapes.
++    archive_cmds='$CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linkopts -install_name $rpath/$soname $(test -n "$verstring" -a x$verstring != x0.0 && echo $verstring)'
++    # We need to add '_' to the symbols in $export_symbols first
++    #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
++    hardcode_direct=yes
++    hardcode_shlibpath_var=no
++    whole_archive_flag_spec='-all_load $convenience'
++    ;;
++
++  freebsd1*)
++    ld_shlibs=no
++    ;;
++
++  # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
++  # support.  Future versions do this automatically, but an explicit c++rt0.o
++  # does not break anything, and helps significantly (at the cost of a little
++  # extra space).
++  freebsd2.2*)
++    archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
++    hardcode_libdir_flag_spec='-R$libdir'
++    hardcode_direct=yes
++    hardcode_shlibpath_var=no
++    ;;
++
++  # Unfortunately, older versions of FreeBSD 2 do not have this feature.
++  freebsd2*)
++    archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++    hardcode_direct=yes
++    hardcode_minus_L=yes
++    hardcode_shlibpath_var=no
++    ;;
++
++  # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
++  freebsd*)
++    archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
++    hardcode_libdir_flag_spec='-R$libdir'
++    hardcode_direct=yes
++    hardcode_shlibpath_var=no
++    ;;
++
++  hpux9* | hpux10* | hpux11*)
++    case $host_os in
++    hpux9*) archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ;;
++    *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;;
++    esac
++    hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
++    hardcode_libdir_separator=:
++    hardcode_direct=yes
++    hardcode_minus_L=yes # Not in the search PATH, but as the default
++			 # location of the library.
++    export_dynamic_flag_spec='${wl}-E'
++    ;;
++
++  irix5* | irix6*)
++    if test "$GCC" = yes; then
++      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++    else
++      archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
++    fi
++    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
++    hardcode_libdir_separator=:
++    link_all_deplibs=yes
++    ;;
++
++  netbsd*)
++    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
++    else
++      archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
++    fi
++    hardcode_libdir_flag_spec='-R$libdir'
++    hardcode_direct=yes
++    hardcode_shlibpath_var=no
++    ;;
++
++  newsos6)
++    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linkopts'
++    hardcode_direct=yes
++    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
++    hardcode_libdir_separator=:
++    hardcode_shlibpath_var=no
++    ;;
++
++  openbsd*)
++    archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++    hardcode_libdir_flag_spec='-R$libdir'
++    hardcode_direct=yes
++    hardcode_shlibpath_var=no
++    ;;
++
++  os2*)
++    hardcode_libdir_flag_spec='-L$libdir'
++    hardcode_minus_L=yes
++    allow_undefined_flag=unsupported
++    archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
++    old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
++    ;;
++
++  osf3*)
++    if test "$GCC" = yes; then
++      allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
++      archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++    else
++      allow_undefined_flag=' -expect_unresolved \*'
++      archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
++    fi
++    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
++    hardcode_libdir_separator=:
++    ;;
++
++  osf4* | osf5*)	# as osf3* with the addition of -msym flag
++    if test "$GCC" = yes; then
++      allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
++      archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
++    else
++      allow_undefined_flag=' -expect_unresolved \*'
++      archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
++      archive_expsym_cmds='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
++      $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
++
++      #Both c and cxx compiler support -rpath directly
++      hardcode_libdir_flag_spec='-rpath $libdir'
++    fi
++    hardcode_libdir_separator=:
++    ;;
++
++  sco3.2v5*)
++    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++    hardcode_shlibpath_var=no
++    runpath_var=LD_RUN_PATH
++    hardcode_runpath_var=yes
++    ;;
++
++  solaris*)
++    no_undefined_flag=' -z defs'
++    # $CC -shared without GNU ld will not create a library from C++
++    # object files and a static libstdc++, better avoid it by now
++    archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
++    archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++		$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
++    hardcode_libdir_flag_spec='-R$libdir'
++    hardcode_shlibpath_var=no
++    case $host_os in
++    solaris2.[0-5] | solaris2.[0-5].*) ;;
++    *) # Supported since Solaris 2.6 (maybe 2.5.1?)
++      whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
++    esac
++    link_all_deplibs=yes
++    ;;
++
++  sunos4*)
++    if test "x$host_vendor" = xsequent; then
++      # Use $CC to link under sequent, because it throws in some extra .o
++      # files that make .init and .fini sections work.
++      archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
++    else
++      archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
++    fi
++    hardcode_libdir_flag_spec='-L$libdir'
++    hardcode_direct=yes
++    hardcode_minus_L=yes
++    hardcode_shlibpath_var=no
++    ;;
++
++  sysv4)
++    if test "x$host_vendor" = xsno; then
++      archive_cmds='$LD -G -Bsymbolic -h $soname -o $lib $libobjs $deplibs $linkopts'
++      hardcode_direct=yes # is this really true???
++    else
++      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_direct=no #Motorola manual says yes, but my tests say they lie
++    fi
++    runpath_var='LD_RUN_PATH'
++    hardcode_shlibpath_var=no
++    ;;
++
++  sysv4.3*)
++    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++    hardcode_shlibpath_var=no
++    export_dynamic_flag_spec='-Bexport'
++    ;;
++
++  sysv5*)
++    no_undefined_flag=' -z text'
++    # $CC -shared without GNU ld will not create a library from C++
++    # object files and a static libstdc++, better avoid it by now
++    archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
++    archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++		$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
++    hardcode_libdir_flag_spec=
++    hardcode_shlibpath_var=no
++    runpath_var='LD_RUN_PATH'
++    ;;
++
++  uts4*)
++    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++    hardcode_libdir_flag_spec='-L$libdir'
++    hardcode_shlibpath_var=no
++    ;;
++
++  dgux*)
++    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++    hardcode_libdir_flag_spec='-L$libdir'
++    hardcode_shlibpath_var=no
++    ;;
++
++  sysv4*MP*)
++    if test -d /usr/nec; then
++      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_shlibpath_var=no
++      runpath_var=LD_RUN_PATH
++      hardcode_runpath_var=yes
++      ld_shlibs=yes
++    fi
+     ;;
++
++  sysv4.2uw2*)
++    archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
++    hardcode_direct=yes
++    hardcode_minus_L=no
++    hardcode_shlibpath_var=no
++    hardcode_runpath_var=yes
++    runpath_var=LD_RUN_PATH
++    ;;
++
++  sysv5uw7* | unixware7*)
++    no_undefined_flag='${wl}-z ${wl}text'
++    if test "$GCC" = yes; then
++      archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++    else
++      archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++    fi
++    runpath_var='LD_RUN_PATH'
++    hardcode_shlibpath_var=no
++    ;;
++
+   *)
+-    # If it is relative, then search for the first ld in PATH.
+-    with_gnu_ld=unknown
++    ld_shlibs=no
+     ;;
+   esac
+-elif test "$with_gnu_ld" = yes; then
+-  echo "$as_me:2756: checking for GNU ld" >&5
+-echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
+-else
+-  echo "$as_me:2759: checking for non-GNU ld" >&5
+-echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
+ fi
+-if test "${ac_cv_path_LD+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  if test -z "$LD"; then
+-  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
+-  for ac_dir in $PATH; do
+-    test -z "$ac_dir" && ac_dir=.
+-    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
+-      ac_cv_path_LD="$ac_dir/$ac_prog"
+-      # Check to see if the program is GNU ld.  I'd rather use --version,
+-      # but apparently some GNU ld's only accept -v.
+-      # Break only if it was the GNU/non-GNU ld that we prefer.
+-      if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
+-	test "$with_gnu_ld" != no && break
+-      else
+-	test "$with_gnu_ld" != yes && break
+-      fi
+-    fi
+-  done
+-  IFS="$ac_save_ifs"
++echo "configure:5285: result: $ld_shlibs" >&5
++echo "${ECHO_T}$ld_shlibs" >&6
++test "$ld_shlibs" = no && can_build_shared=no
++
++# Check hardcoding attributes.
++echo "configure:5290: checking how to hardcode library paths into programs" >&5
++echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
++hardcode_action=
++if test -n "$hardcode_libdir_flag_spec" || \
++   test -n "$runpath_var"; then
++
++  # We can hardcode non-existant directories.
++  if test "$hardcode_direct" != no &&
++     # If the only mechanism to avoid hardcoding is shlibpath_var, we
++     # have to relink, otherwise we might link with an installed library
++     # when we should be linking with a yet-to-be-installed one
++     ## test "$hardcode_shlibpath_var" != no &&
++     test "$hardcode_minus_L" != no; then
++    # Linking always hardcodes the temporary library directory.
++    hardcode_action=relink
++  else
++    # We can link without hardcoding, and we can hardcode nonexisting dirs.
++    hardcode_action=immediate
++  fi
+ else
+-  ac_cv_path_LD="$LD" # Let the user override the test with a path.
+-fi
+-fi
+-
+-LD="$ac_cv_path_LD"
+-if test -n "$LD"; then
+-  echo "$as_me:2789: result: $LD" >&5
+-echo "${ECHO_T}$LD" >&6
++  # We cannot hardcode anything, or else we can only hardcode existing
++  # directories.
++  hardcode_action=unsupported
++fi
++echo "configure:5314: result: $hardcode_action" >&5
++echo "${ECHO_T}$hardcode_action" >&6
++
++striplib=
++old_striplib=
++echo "configure:5319: checking whether stripping libraries is possible" >&5
++echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
++if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
++  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
++  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
++  echo "configure:5324: result: yes" >&5
++echo "${ECHO_T}yes" >&6
+ else
+-  echo "$as_me:2792: result: no" >&5
++  echo "configure:5327: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+-test -z "$LD" && {  echo "$as_me: error: no acceptable ld found in \$PATH" >&2
+-  { (exit 1); exit; }; }
+-echo "$as_me:2797: checking if the linker ($LD) is GNU ld" >&5
+-echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
+-if test "${ac_cv_prog_gnu_ld+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
+-if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
+-  ac_cv_prog_gnu_ld=yes
+-else
+-  ac_cv_prog_gnu_ld=no
+-fi
+-fi
+-echo "$as_me:2809: result: $ac_cv_prog_gnu_ld" >&5
+-echo "${ECHO_T}$ac_cv_prog_gnu_ld" >&6
+-with_gnu_ld=$ac_cv_prog_gnu_ld
+ 
+-echo "$as_me:2813: checking for $LD option to reload object files" >&5
+-echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
+-if test "${lt_cv_ld_reload_flag+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  lt_cv_ld_reload_flag='-r'
+-fi
+-echo "$as_me:2820: result: $lt_cv_ld_reload_flag" >&5
+-echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
+-reload_flag=$lt_cv_ld_reload_flag
+-test -n "$reload_flag" && reload_flag=" $reload_flag"
++reload_cmds='$LD$reload_flag -o $output$reload_objs'
++test -z "$deplibs_check_method" && deplibs_check_method=unknown
+ 
+-echo "$as_me:2825: checking for BSD-compatible nm" >&5
+-echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
+-if test "${ac_cv_path_NM+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  if test -n "$NM"; then
+-  # Let the user override the test.
+-  ac_cv_path_NM="$NM"
+-else
+-  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
+-  for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
+-    test -z "$ac_dir" && ac_dir=.
+-    tmp_nm=$ac_dir/${ac_tool_prefix}nm
+-    if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
+-      # Check to see if the nm accepts a BSD-compat flag.
+-      # Adding the `sed 1q' prevents false positives on HP-UX, which says:
+-      #   nm: unknown option "B" ignored
+-      if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
+-	ac_cv_path_NM="$tmp_nm -B"
+-	break
+-      elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
+-	ac_cv_path_NM="$tmp_nm -p"
+-	break
++# PORTME Fill in your ld.so characteristics
++echo "configure:5335: checking dynamic linker characteristics" >&5
++echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
++library_names_spec=
++libname_spec='lib$name'
++soname_spec=
++postinstall_cmds=
++postuninstall_cmds=
++finish_cmds=
++finish_eval=
++shlibpath_var=
++shlibpath_overrides_runpath=unknown
++version_type=none
++dynamic_linker="$host_os ld.so"
++sys_lib_dlsearch_path_spec="/lib /usr/lib"
++sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
++
++case $host_os in
++aix3*)
++  version_type=linux
++  library_names_spec='${libname}${release}.so$versuffix $libname.a'
++  shlibpath_var=LIBPATH
++
++  # AIX has no versioning support, so we append a major version to the name.
++  soname_spec='${libname}${release}.so$major'
++  ;;
++
++aix4* | aix5*)
++  version_type=linux
++  if test "$host_cpu" = ia64; then
++    # AIX 5 supports IA64
++    library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so'
++    shlibpath_var=LD_LIBRARY_PATH
++  else
++    # With GCC up to 2.95.x, collect2 would create an import file
++    # for dependence libraries.  The import file would start with
++    # the line `#! .'.  This would cause the generated library to
++    # depend on `.', always an invalid library.  This was fixed in
++    # development snapshots of GCC prior to 3.0.
++    case $host_os in
++       aix4 | aix4.[01] | aix4.[01].*)
++      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
++           echo ' yes '
++           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
++        :
+       else
+-	ac_cv_path_NM=${ac_cv_path_NM="$tmp_nm"} # keep the first match, but
+-	continue # so that we can try to find one that supports BSD flags
++        can_build_shared=no
+       fi
++      ;;
++    esac
++    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
++    # soname into executable. Probably we can add versioning support to
++    # collect2, so additional links can be useful in future.
++    if test "$aix_use_runtimelinking" = yes; then
++      # If using run time linking (on AIX 4.2 or later) use lib<name>.so instead of
++      # lib<name>.a to let people know that these are not typical AIX shared libraries.
++      library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++    else
++      # We preserve .a as extension for shared libraries through AIX4.2
++      # and later when we are not doing run time linking.
++      library_names_spec='${libname}${release}.a $libname.a'
++      soname_spec='${libname}${release}.so$major'
+     fi
+-  done
+-  IFS="$ac_save_ifs"
+-  test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm
+-fi
+-fi
+-
+-NM="$ac_cv_path_NM"
+-echo "$as_me:2860: result: $NM" >&5
+-echo "${ECHO_T}$NM" >&6
+-
+-echo "$as_me:2863: checking whether ln -s works" >&5
+-echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
+-if test "${ac_cv_prog_LN_S+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  rm -f conftest.sym conftest.file
+-echo >conftest.file
+-if ln -s conftest.file conftest.sym 2>/dev/null; then
+-  ac_cv_prog_LN_S="ln -s"
+-elif ln conftest.file conftest.sym 2>/dev/null; then
+-  ac_cv_prog_LN_S=ln
+-else
+-  ac_cv_prog_LN_S=cp
+-fi
+-rm -f conftest.sym conftest.file
+-fi
+-LN_S=$ac_cv_prog_LN_S
+-
+-if test "$ac_cv_prog_LN_S" = "ln -s"; then
+-  echo "$as_me:2882: result: yes" >&5
+-echo "${ECHO_T}yes" >&6
+-else
+-  echo "$as_me:2885: result: no, using $LN_S" >&5
+-echo "${ECHO_T}no, using $LN_S" >&6
+-fi
+-
+-echo "$as_me:2889: checking how to recognise dependant libraries" >&5
+-echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
+-if test "${lt_cv_deplibs_check_method+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  lt_cv_file_magic_cmd='${MAGIC}'
+-lt_cv_file_magic_test_file=
+-lt_cv_deplibs_check_method='unknown'
+-# Need to set the preceding variable on all platforms that support
+-# interlibrary dependencies.
+-# 'none' -- dependencies not supported.
+-# `unknown' -- same as none, but documents that we really don't know.
+-# 'pass_all' -- all dependencies passed with no checks.
+-# 'test_compile' -- check by making test program.
+-# 'file_magic [regex]' -- check by looking for files in library path
+-# which responds to the $file_magic_cmd with a given egrep regex.
+-# If you have `file' or equivalent on your system and you're not sure
+-# whether `pass_all' will *always* work, you probably want this one.
++    shlibpath_var=LIBPATH
++    deplibs_check_method=pass_all
++  fi
++  ;;
+ 
+-case "$host_os" in
+-aix4*)
+-  lt_cv_deplibs_check_method=pass_all
++amigaos*)
++  library_names_spec='$libname.ixlibrary $libname.a'
++  # Create ${libname}_ixlibrary.a entries in /sys/libs.
++  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done'
+   ;;
+ 
+ beos*)
+-  lt_cv_deplibs_check_method=pass_all
++  library_names_spec='${libname}.so'
++  dynamic_linker="$host_os ld.so"
++  shlibpath_var=LIBRARY_PATH
+   ;;
+ 
+ bsdi4*)
+-    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
+-    lt_cv_file_magic_cmd='/usr/bin/file -L'
+-  lt_cv_file_magic_test_file=/shlib/libc.so
++  version_type=linux
++  need_version=no
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  soname_spec='${libname}${release}.so$major'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
++  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
++  export_dynamic_flag_spec=-rdynamic
++  # the default ld.so.conf also contains /usr/contrib/lib and
++  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
++  # libtool to hard-code these into programs
+   ;;
+ 
+-cygwin* | mingw*)
+-  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
+-  lt_cv_file_magic_cmd='${OBJDUMP} -f'
++cygwin* | mingw* | pw32*)
++  version_type=windows
++  need_version=no
++  need_lib_prefix=no
++  case $GCC,$host_os in
++  yes,cygwin*)
++    library_names_spec='$libname.dll.a'
++    soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
++    postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~
++      dldir=$destdir/`dirname \$dlpath`~
++      test -d \$dldir || mkdir -p \$dldir~
++      $install_prog .libs/$dlname \$dldir/$dlname'
++    postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~
++      dlpath=$dir/\$dldll~
++       $rm \$dlpath'
++    ;;
++  yes,mingw*)
++    library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
++    sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g"`
++    ;;
++  yes,pw32*)
++    library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}.dll'
++    ;;
++  *)
++    library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll $libname.lib'
++    ;;
++  esac
++  dynamic_linker='Win32 ld.exe'
++  # FIXME: first we should search . and the directory the executable is in
++  shlibpath_var=PATH
++  ;;
++
++darwin* | rhapsody*)
++  dynamic_linker="$host_os dyld"
++  version_type=darwin
++  need_lib_prefix=no
++  need_version=no
++  # FIXME: Relying on posixy $() will cause problems for
++  #        cross-compilation, but unfortunately the echo tests do not
++  #        yet detect zsh echo's removal of \ escapes.
++  library_names_spec='${libname}${release}${versuffix}.$(test .$module = .yes && echo so || echo dylib) ${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib) ${libname}.$(test .$module = .yes && echo so || echo dylib)'
++  soname_spec='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)'
++  shlibpath_overrides_runpath=yes
++  shlibpath_var=DYLD_LIBRARY_PATH
++  ;;
++
++freebsd1*)
++  dynamic_linker=no
+   ;;
+ 
+ freebsd*)
+-  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
+-    case "$host_cpu" in
+-    i*86 )
+-            lt_cv_deplibs_check_method=='file_magic OpenBSD/i[3-9]86 demand paged shared library'
+-            lt_cv_file_magic_cmd=/usr/bin/file
+-      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
++  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
++  version_type=freebsd-$objformat
++  case $version_type in
++    freebsd-elf*)
++      library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
++      need_version=no
++      need_lib_prefix=no
+       ;;
+-    esac
+-  else
+-    lt_cv_deplibs_check_method=pass_all
+-  fi
++    freebsd-*)
++      library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix'
++      need_version=yes
++      ;;
++  esac
++  shlibpath_var=LD_LIBRARY_PATH
++  case $host_os in
++  freebsd2*)
++    shlibpath_overrides_runpath=yes
++    ;;
++  *)
++    shlibpath_overrides_runpath=no
++    hardcode_into_libs=yes
++    ;;
++  esac
+   ;;
+ 
+ gnu*)
+-  lt_cv_deplibs_check_method=pass_all
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so'
++  soname_spec='${libname}${release}.so$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  hardcode_into_libs=yes
+   ;;
+ 
+-hpux10.20*)
+-  # TODO:  Does this work for hpux-11 too?
+-  lt_cv_deplibs_check_method='file_magic (s0-90-90-9|PA-RISC0-9.0-9) shared library'
+-  lt_cv_file_magic_cmd=/usr/bin/file
+-  lt_cv_file_magic_test_file=/usr/lib/libc.sl
++hpux9* | hpux10* | hpux11*)
++  # Give a soname corresponding to the major version so that dld.sl refuses to
++  # link against other versions.
++  dynamic_linker="$host_os dld.sl"
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=no
++  shlibpath_var=SHLIB_PATH
++  shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
++  library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl'
++  soname_spec='${libname}${release}.sl$major'
++  # HP-UX runs *really* slowly unless shared libraries are mode 555.
++  postinstall_cmds='chmod 555 $lib'
+   ;;
+ 
+ irix5* | irix6*)
+-  case "$host_os" in
++  version_type=irix
++  need_lib_prefix=no
++  need_version=no
++  soname_spec='${libname}${release}.so$major'
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so'
++  case $host_os in
+   irix5*)
+-    # this will be overridden with pass_all, but let us keep it just in case
+-    lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
++    libsuff= shlibsuff=
+     ;;
+   *)
+-    case "$LD" in
+-    *-32|*"-32 ") libmagic=32-bit;;
+-    *-n32|*"-n32 ") libmagic=N32;;
+-    *-64|*"-64 ") libmagic=64-bit;;
+-    *) libmagic=never-match;;
++    case $LD in # libtool.m4 will add one of these switches to LD
++    *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;;
++    *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;;
++    *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;;
++    *) libsuff= shlibsuff= libmagic=never-match;;
+     esac
+-    # this will be overridden with pass_all, but let us keep it just in case
+-        lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
+-        ;;
++    ;;
+   esac
+-  lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
+-  lt_cv_deplibs_check_method=pass_all
++  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
++  shlibpath_overrides_runpath=no
++  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
++  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
++  ;;
++
++# No shared lib support for Linux oldld, aout, or coff.
++linux-gnuoldld* | linux-gnuaout* | linux-gnucoff*)
++  dynamic_linker=no
+   ;;
+ 
+ # This must be Linux ELF.
+ linux-gnu*)
+-  case "$host_cpu" in
+-  alpha* | i*86 | powerpc* | sparc* | ia64* )
+-    lt_cv_deplibs_check_method=pass_all ;;
+-  *)
+-    # glibc up to 2.1.1 does not perform some relocations on ARM
+-        lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
+-      esac
+-  lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  soname_spec='${libname}${release}.so$major'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=no
++  # This implies no fast_install, which is unacceptable.
++  # Some rework will be needed to allow for fast_install
++  # before this can be enabled.
++  hardcode_into_libs=yes
++
++  # We used to test for /lib/ld.so.1 and disable shared libraries on
++  # powerpc, because MkLinux only supported shared libraries with the
++  # GNU dynamic linker.  Since this was broken with cross compilers,
++  # most powerpc-linux boxes support dynamic linking these days and
++  # people can always --disable-shared, the test was removed, and we
++  # assume the GNU/Linux dynamic linker is in use.
++  dynamic_linker='GNU/Linux ld.so'
+   ;;
+ 
+ netbsd*)
+-  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then :
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=no
++  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++    library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
++    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
++    dynamic_linker='NetBSD (a.out) ld.so'
+   else
+-        lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
+-        lt_cv_file_magic_cmd='/usr/bin/file -L'
+-    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
++    library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so'
++    soname_spec='${libname}${release}.so$major'
++    dynamic_linker='NetBSD ld.elf_so'
+   fi
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  hardcode_into_libs=yes
+   ;;
+ 
+-osf3* | osf4* | osf5*)
+-  # this will be overridden with pass_all, but let us keep it just in case
+-  lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
+-  lt_cv_file_magic_test_file=/shlib/libc.so
+-  lt_cv_deplibs_check_method=pass_all
+-  ;;
+-
+-sco3.2v5*)
+-  lt_cv_deplibs_check_method=pass_all
+-  ;;
+-
+-solaris*)
+-  lt_cv_deplibs_check_method=pass_all
+-  lt_cv_file_magic_test_file=/lib/libc.so
++newsos6)
++  version_type=linux
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
+   ;;
+ 
+-sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
+-  case "$host_vendor" in
+-  ncr)
+-    lt_cv_deplibs_check_method=pass_all
+-    ;;
+-  motorola)
+-        lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
+-        lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
+-    ;;
+-  esac
++openbsd*)
++  version_type=sunos
++  if test "$with_gnu_ld" = yes; then
++    need_lib_prefix=no
++    need_version=no
++  fi
++  library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
+   ;;
+-esac
+-
+-fi
+-echo "$as_me:3025: result: $lt_cv_deplibs_check_method" >&5
+-echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
+-file_magic_cmd=$lt_cv_file_magic_cmd
+-deplibs_check_method=$lt_cv_deplibs_check_method
+ 
+-# Only perform the check for file, if the check method requires it
+-case "$deplibs_check_method" in
+-file_magic*)
+-  if test "$file_magic_cmd" = '${MAGIC}'; then
+-    echo "$as_me:3034: checking for ${ac_tool_prefix}file" >&5
+-echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
+-if test "${lt_cv_path_MAGIC+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  case "$MAGIC" in
+-  /*)
+-  lt_cv_path_MAGIC="$MAGIC" # Let the user override the test with a path.
++os2*)
++  libname_spec='$name'
++  need_lib_prefix=no
++  library_names_spec='$libname.dll $libname.a'
++  dynamic_linker='OS/2 ld.exe'
++  shlibpath_var=LIBPATH
+   ;;
+-  ?:/*)
+-  ac_cv_path_MAGIC="$MAGIC" # Let the user override the test with a dos path.
+-  ;;
+-  *)
+-  ac_save_MAGIC="$MAGIC"
+-  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
+-  ac_dummy="/usr/bin:$PATH"
+-  for ac_dir in $ac_dummy; do
+-    test -z "$ac_dir" && ac_dir=.
+-    if test -f $ac_dir/${ac_tool_prefix}file; then
+-      lt_cv_path_MAGIC="$ac_dir/${ac_tool_prefix}file"
+-      if test -n "$file_magic_test_file"; then
+-	case "$deplibs_check_method" in
+-	"file_magic "*)
+-	  file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
+-	  MAGIC="$lt_cv_path_MAGIC"
+-	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
+-	    egrep "$file_magic_regex" > /dev/null; then
+-	    :
+-	  else
+-	    cat <<EOF 1>&2
+-
+-*** Warning: the command libtool uses to detect shared libraries,
+-*** $file_magic_cmd, produces output that libtool cannot recognize.
+-*** The result is that libtool may fail to recognize shared libraries
+-*** as such.  This will affect the creation of libtool libraries that
+-*** depend on shared libraries, but programs linked with such libtool
+-*** libraries will work regardless of this problem.  Nevertheless, you
+-*** may want to report the problem to your system manager and/or to
+-*** bug-libtool@gnu.org
+ 
+-EOF
+-	  fi ;;
+-	esac
+-      fi
+-      break
+-    fi
+-  done
+-  IFS="$ac_save_ifs"
+-  MAGIC="$ac_save_MAGIC"
++osf3* | osf4* | osf5*)
++  version_type=osf
++  need_version=no
++  soname_spec='${libname}${release}.so'
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
++  shlibpath_var=LD_LIBRARY_PATH
++  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
++  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
+   ;;
+-esac
+-fi
+ 
+-MAGIC="$lt_cv_path_MAGIC"
+-if test -n "$MAGIC"; then
+-  echo "$as_me:3089: result: $MAGIC" >&5
+-echo "${ECHO_T}$MAGIC" >&6
+-else
+-  echo "$as_me:3092: result: no" >&5
+-echo "${ECHO_T}no" >&6
+-fi
++sco3.2v5*)
++  version_type=osf
++  soname_spec='${libname}${release}.so$major'
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
+ 
+-if test -z "$lt_cv_path_MAGIC"; then
+-  if test -n "$ac_tool_prefix"; then
+-    echo "$as_me:3098: checking for file" >&5
+-echo $ECHO_N "checking for file... $ECHO_C" >&6
+-if test "${lt_cv_path_MAGIC+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  case "$MAGIC" in
+-  /*)
+-  lt_cv_path_MAGIC="$MAGIC" # Let the user override the test with a path.
++solaris*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  soname_spec='${libname}${release}.so$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  hardcode_into_libs=yes
++  # ldd complains unless libraries are executable
++  postinstall_cmds='chmod +x $lib'
+   ;;
+-  ?:/*)
+-  ac_cv_path_MAGIC="$MAGIC" # Let the user override the test with a dos path.
++
++sunos4*)
++  version_type=sunos
++  library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
++  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  if test "$with_gnu_ld" = yes; then
++    need_lib_prefix=no
++  fi
++  need_version=yes
+   ;;
+-  *)
+-  ac_save_MAGIC="$MAGIC"
+-  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
+-  ac_dummy="/usr/bin:$PATH"
+-  for ac_dir in $ac_dummy; do
+-    test -z "$ac_dir" && ac_dir=.
+-    if test -f $ac_dir/file; then
+-      lt_cv_path_MAGIC="$ac_dir/file"
+-      if test -n "$file_magic_test_file"; then
+-	case "$deplibs_check_method" in
+-	"file_magic "*)
+-	  file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
+-	  MAGIC="$lt_cv_path_MAGIC"
+-	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
+-	    egrep "$file_magic_regex" > /dev/null; then
+-	    :
+-	  else
+-	    cat <<EOF 1>&2
+ 
+-*** Warning: the command libtool uses to detect shared libraries,
+-*** $file_magic_cmd, produces output that libtool cannot recognize.
+-*** The result is that libtool may fail to recognize shared libraries
+-*** as such.  This will affect the creation of libtool libraries that
+-*** depend on shared libraries, but programs linked with such libtool
+-*** libraries will work regardless of this problem.  Nevertheless, you
+-*** may want to report the problem to your system manager and/or to
+-*** bug-libtool@gnu.org
++sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
++  version_type=linux
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  soname_spec='${libname}${release}.so$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  case $host_vendor in
++    sni)
++      shlibpath_overrides_runpath=no
++      ;;
++    motorola)
++      need_lib_prefix=no
++      need_version=no
++      shlibpath_overrides_runpath=no
++      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
++      ;;
++  esac
++  ;;
+ 
+-EOF
+-	  fi ;;
+-	esac
+-      fi
+-      break
+-    fi
+-  done
+-  IFS="$ac_save_ifs"
+-  MAGIC="$ac_save_MAGIC"
++uts4*)
++  version_type=linux
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  soname_spec='${libname}${release}.so$major'
++  shlibpath_var=LD_LIBRARY_PATH
+   ;;
+-esac
+-fi
+ 
+-MAGIC="$lt_cv_path_MAGIC"
+-if test -n "$MAGIC"; then
+-  echo "$as_me:3153: result: $MAGIC" >&5
+-echo "${ECHO_T}$MAGIC" >&6
+-else
+-  echo "$as_me:3156: result: no" >&5
+-echo "${ECHO_T}no" >&6
+-fi
++dgux*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  soname_spec='${libname}${release}.so$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
+ 
+-  else
+-    MAGIC=:
++sysv4*MP*)
++  if test -d /usr/nec ;then
++    version_type=linux
++    library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so'
++    soname_spec='$libname.so.$major'
++    shlibpath_var=LD_LIBRARY_PATH
+   fi
+-fi
++  ;;
+ 
+-  fi
++*)
++  dynamic_linker=no
+   ;;
+ esac
++echo "configure:5717: result: $dynamic_linker" >&5
++echo "${ECHO_T}$dynamic_linker" >&6
++test "$dynamic_linker" = no && can_build_shared=no
++
++# Report the final consequences.
++echo "configure:5722: checking if libtool supports shared libraries" >&5
++echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
++echo "configure:5724: result: $can_build_shared" >&5
++echo "${ECHO_T}$can_build_shared" >&6
+ 
+-if test -n "$ac_tool_prefix"; then
+-  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
+-set dummy ${ac_tool_prefix}ranlib; ac_word=$2
+-echo "$as_me:3172: checking for $ac_word" >&5
+-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+-if test "${ac_cv_prog_RANLIB+set}" = set; then
++if test "$hardcode_action" = relink; then
++  # Fast installation is not supported
++  enable_fast_install=no
++elif test "$shlibpath_overrides_runpath" = yes ||
++     test "$enable_shared" = no; then
++  # Fast installation is not necessary
++  enable_fast_install=needless
++fi
++
++variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
++if test "$GCC" = yes; then
++  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
++fi
++
++if test "x$enable_dlopen" != xyes; then
++  enable_dlopen=unknown
++  enable_dlopen_self=unknown
++  enable_dlopen_self_static=unknown
++else
++  lt_cv_dlopen=no
++  lt_cv_dlopen_libs=
++
++  case $host_os in
++  beos*)
++    lt_cv_dlopen="load_add_on"
++    lt_cv_dlopen_libs=
++    lt_cv_dlopen_self=yes
++    ;;
++
++  cygwin* | mingw* | pw32*)
++    lt_cv_dlopen="LoadLibrary"
++    lt_cv_dlopen_libs=
++   ;;
++
++  *)
++
++echo "configure:5763: checking for dlopen in -ldl" >&5
++echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
++if test "${ac_cv_lib_dl_dlopen+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  if test -n "$RANLIB"; then
+-  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
+-else
+-  ac_save_IFS=$IFS; IFS=':'
+-ac_dummy="$PATH"
+-for ac_dir in $ac_dummy; do
+-  IFS=$ac_save_IFS
+-  test -z "$ac_dir" && ac_dir=.
+-  test -f "$ac_dir/$ac_word" || continue
+-ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
+-break
+-done
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ldl  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line 5771 "configure"
++#include "confdefs.h"
+ 
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dlopen ();
++int
++main ()
++{
++dlopen ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:5790: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  ac_cv_lib_dl_dlopen=yes
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_lib_dl_dlopen=no
+ fi
++rm -f conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
+ fi
+-RANLIB=$ac_cv_prog_RANLIB
+-if test -n "$RANLIB"; then
+-  echo "$as_me:3194: result: $RANLIB" >&5
+-echo "${ECHO_T}$RANLIB" >&6
++echo "configure:5800: result: $ac_cv_lib_dl_dlopen" >&5
++echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
++if test $ac_cv_lib_dl_dlopen = yes; then
++  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
+ else
+-  echo "$as_me:3197: result: no" >&5
+-echo "${ECHO_T}no" >&6
+-fi
++  echo "configure:5805: checking for dlopen" >&5
++echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
++if test "${ac_cv_func_dlopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line 5811 "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char dlopen (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dlopen ();
++char (*f) ();
++
++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_dlopen) || defined (__stub___dlopen)
++choke me
++#else
++f = dlopen;
++#endif
+ 
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:5842: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  ac_cv_func_dlopen=yes
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_dlopen=no
+ fi
+-if test -z "$ac_cv_prog_RANLIB"; then
+-  ac_ct_RANLIB=$RANLIB
+-  # Extract the first word of "ranlib", so it can be a program name with args.
+-set dummy ranlib; ac_word=$2
+-echo "$as_me:3206: checking for $ac_word" >&5
+-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+-if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
++rm -f conftest$ac_exeext conftest.$ac_ext
++fi
++echo "configure:5851: result: $ac_cv_func_dlopen" >&5
++echo "${ECHO_T}$ac_cv_func_dlopen" >&6
++if test $ac_cv_func_dlopen = yes; then
++  lt_cv_dlopen="dlopen"
+ else
+-  if test -n "$ac_ct_RANLIB"; then
+-  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
++  echo "configure:5856: checking for shl_load" >&5
++echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
++if test "${ac_cv_func_shl_load+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  ac_save_IFS=$IFS; IFS=':'
+-ac_dummy="$PATH"
+-for ac_dir in $ac_dummy; do
+-  IFS=$ac_save_IFS
+-  test -z "$ac_dir" && ac_dir=.
+-  test -f "$ac_dir/$ac_word" || continue
+-ac_cv_prog_ac_ct_RANLIB="ranlib"
+-break
+-done
++  cat >conftest.$ac_ext <<_ACEOF
++#line 5862 "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char shl_load (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char shl_load ();
++char (*f) ();
+ 
+-  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
++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_shl_load) || defined (__stub___shl_load)
++choke me
++#else
++f = shl_load;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:5893: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  ac_cv_func_shl_load=yes
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_shl_load=no
+ fi
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
+-if test -n "$ac_ct_RANLIB"; then
+-  echo "$as_me:3229: result: $ac_ct_RANLIB" >&5
+-echo "${ECHO_T}$ac_ct_RANLIB" >&6
++echo "configure:5902: result: $ac_cv_func_shl_load" >&5
++echo "${ECHO_T}$ac_cv_func_shl_load" >&6
++if test $ac_cv_func_shl_load = yes; then
++  lt_cv_dlopen="shl_load"
+ else
+-  echo "$as_me:3232: result: no" >&5
+-echo "${ECHO_T}no" >&6
+-fi
+ 
+-  RANLIB=$ac_ct_RANLIB
++echo "configure:5908: checking for dlopen in -lsvld" >&5
++echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
++if test "${ac_cv_lib_svld_dlopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-lsvld  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line 5916 "configure"
++#include "confdefs.h"
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dlopen ();
++int
++main ()
++{
++dlopen ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:5935: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  ac_cv_lib_svld_dlopen=yes
+ else
+-  RANLIB="$ac_cv_prog_RANLIB"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_lib_svld_dlopen=no
++fi
++rm -f conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
+ fi
++echo "configure:5945: result: $ac_cv_lib_svld_dlopen" >&5
++echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
++if test $ac_cv_lib_svld_dlopen = yes; then
++  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
++else
+ 
+-if test -n "$ac_tool_prefix"; then
+-  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
+-set dummy ${ac_tool_prefix}strip; ac_word=$2
+-echo "$as_me:3244: checking for $ac_word" >&5
+-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+-if test "${ac_cv_prog_STRIP+set}" = set; then
++echo "configure:5951: checking for shl_load in -ldld" >&5
++echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
++if test "${ac_cv_lib_dld_shl_load+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  if test -n "$STRIP"; then
+-  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
+-else
+-  ac_save_IFS=$IFS; IFS=':'
+-ac_dummy="$PATH"
+-for ac_dir in $ac_dummy; do
+-  IFS=$ac_save_IFS
+-  test -z "$ac_dir" && ac_dir=.
+-  test -f "$ac_dir/$ac_word" || continue
+-ac_cv_prog_STRIP="${ac_tool_prefix}strip"
+-break
+-done
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ldld  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line 5959 "configure"
++#include "confdefs.h"
+ 
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char shl_load ();
++int
++main ()
++{
++shl_load ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:5978: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  ac_cv_lib_dld_shl_load=yes
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_lib_dld_shl_load=no
+ fi
++rm -f conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
+ fi
+-STRIP=$ac_cv_prog_STRIP
+-if test -n "$STRIP"; then
+-  echo "$as_me:3266: result: $STRIP" >&5
+-echo "${ECHO_T}$STRIP" >&6
+-else
+-  echo "$as_me:3269: result: no" >&5
+-echo "${ECHO_T}no" >&6
++echo "configure:5988: result: $ac_cv_lib_dld_shl_load" >&5
++echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
++if test $ac_cv_lib_dld_shl_load = yes; then
++  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
+ fi
+ 
++	
+ fi
+-if test -z "$ac_cv_prog_STRIP"; then
+-  ac_ct_STRIP=$STRIP
+-  # Extract the first word of "strip", so it can be a program name with args.
+-set dummy strip; ac_word=$2
+-echo "$as_me:3278: checking for $ac_word" >&5
+-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+-if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  if test -n "$ac_ct_STRIP"; then
+-  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
+-else
+-  ac_save_IFS=$IFS; IFS=':'
+-ac_dummy="$PATH"
+-for ac_dir in $ac_dummy; do
+-  IFS=$ac_save_IFS
+-  test -z "$ac_dir" && ac_dir=.
+-  test -f "$ac_dir/$ac_word" || continue
+-ac_cv_prog_ac_ct_STRIP="strip"
+-break
+-done
+ 
+-  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
+ fi
+-fi
+-ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
+-if test -n "$ac_ct_STRIP"; then
+-  echo "$as_me:3301: result: $ac_ct_STRIP" >&5
+-echo "${ECHO_T}$ac_ct_STRIP" >&6
+-else
+-  echo "$as_me:3304: result: no" >&5
+-echo "${ECHO_T}no" >&6
++
+ fi
+ 
+-  STRIP=$ac_ct_STRIP
+-else
+-  STRIP="$ac_cv_prog_STRIP"
+ fi
+ 
+-# Check for any special flags to pass to ltconfig.
+-libtool_flags="--cache-file=$cache_file"
+-test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
+-test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
+-test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
+-test "$ac_cv_c_compiler_gnu" = yes && libtool_flags="$libtool_flags --with-gcc"
+-test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
++    ;;
++  esac
+ 
+-# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
+-if test "${enable_libtool_lock+set}" = set; then
+-  enableval="$enable_libtool_lock"
++  if test "x$lt_cv_dlopen" != xno; then
++    enable_dlopen=yes
++  else
++    enable_dlopen=no
++  fi
+ 
+-fi;
+-test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
+-test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
++  case $lt_cv_dlopen in
++  dlopen)
++    save_CPPFLAGS="$CPPFLAGS"
++        test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
+ 
+-# Check whether --with-pic or --without-pic was given.
+-if test "${with_pic+set}" = set; then
+-  withval="$with_pic"
+-  pic_mode="$withval"
++    save_LDFLAGS="$LDFLAGS"
++    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
++
++    save_LIBS="$LIBS"
++    LIBS="$lt_cv_dlopen_libs $LIBS"
++
++    echo "configure:6023: checking whether a program can dlopen itself" >&5
++echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
++if test "${lt_cv_dlopen_self+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  pic_mode=default
+-fi;
+-test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
+-test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
++  	  if test "$cross_compiling" = yes; then :
++  lt_cv_dlopen_self=cross
++else
++    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
++  lt_status=$lt_dlunknown
++  cat > conftest.$ac_ext <<EOF
++#line 6034 "configure"
++#include "confdefs.h"
+ 
+-# Some flags need to be propagated to the compiler or linker for good
+-# libtool support.
+-case "$host" in
+-*-*-irix6*)
+-  # Find out which ABI we are using.
+-  echo '#line 3344 "configure"' > conftest.$ac_ext
+-  if { (eval echo $as_me:3345: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
+-    case "`/usr/bin/file conftest.o`" in
+-    *32-bit*)
+-      LD="${LD-ld} -32"
+-      ;;
+-    *N32*)
+-      LD="${LD-ld} -n32"
+-      ;;
+-    *64-bit*)
+-      LD="${LD-ld} -64"
+-      ;;
++#if HAVE_DLFCN_H
++#include <dlfcn.h>
++#endif
++
++#include <stdio.h>
++
++#ifdef RTLD_GLOBAL
++#  define LT_DLGLOBAL		RTLD_GLOBAL
++#else
++#  ifdef DL_GLOBAL
++#    define LT_DLGLOBAL		DL_GLOBAL
++#  else
++#    define LT_DLGLOBAL		0
++#  endif
++#endif
++
++/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
++   find out it does not work in some platform. */
++#ifndef LT_DLLAZY_OR_NOW
++#  ifdef RTLD_LAZY
++#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
++#  else
++#    ifdef DL_LAZY
++#      define LT_DLLAZY_OR_NOW		DL_LAZY
++#    else
++#      ifdef RTLD_NOW
++#        define LT_DLLAZY_OR_NOW	RTLD_NOW
++#      else
++#        ifdef DL_NOW
++#          define LT_DLLAZY_OR_NOW	DL_NOW
++#        else
++#          define LT_DLLAZY_OR_NOW	0
++#        endif
++#      endif
++#    endif
++#  endif
++#endif
++
++#ifdef __cplusplus
++extern "C" void exit (int);
++#endif
++
++void fnord() { int i=42;}
++int main ()
++{
++  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
++  int status = $lt_dlunknown;
++
++  if (self)
++    {
++      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
++      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
++      /* dlclose (self); */
++    }
++
++    exit (status);
++}
++EOF
++  if { (eval echo configure:6095: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>/dev/null; then
++    (./conftest; exit; ) 2>/dev/null
++    lt_status=$?
++    case x$lt_status in
++      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
++      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
++      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
+     esac
++  else :
++    # compilation failed
++    lt_cv_dlopen_self=no
+   fi
+-  rm -rf conftest*
+-  ;;
++fi
++rm -fr conftest*
+ 
+-*-*-sco3.2v5*)
+-  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
+-  SAVE_CFLAGS="$CFLAGS"
+-  CFLAGS="$CFLAGS -belf"
+-  echo "$as_me:3365: checking whether the C compiler needs -belf" >&5
+-echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
+-if test "${lt_cv_cc_needs_belf+set}" = set; then
++fi
++echo "configure:6111: result: $lt_cv_dlopen_self" >&5
++echo "${ECHO_T}$lt_cv_dlopen_self" >&6
++
++    if test "x$lt_cv_dlopen_self" = xyes; then
++      LDFLAGS="$LDFLAGS $link_static_flag"
++      echo "configure:6116: checking whether a statically linked program can dlopen itself" >&5
++echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
++if test "${lt_cv_dlopen_self_static+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-
+-     cat >conftest.$ac_ext <<_ACEOF
+-#line 3372 "configure"
++  	  if test "$cross_compiling" = yes; then :
++  lt_cv_dlopen_self_static=cross
++else
++    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
++  lt_status=$lt_dlunknown
++  cat > conftest.$ac_ext <<EOF
++#line 6127 "configure"
+ #include "confdefs.h"
+ 
+-int
+-main ()
++#if HAVE_DLFCN_H
++#include <dlfcn.h>
++#endif
++
++#include <stdio.h>
++
++#ifdef RTLD_GLOBAL
++#  define LT_DLGLOBAL		RTLD_GLOBAL
++#else
++#  ifdef DL_GLOBAL
++#    define LT_DLGLOBAL		DL_GLOBAL
++#  else
++#    define LT_DLGLOBAL		0
++#  endif
++#endif
++
++/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
++   find out it does not work in some platform. */
++#ifndef LT_DLLAZY_OR_NOW
++#  ifdef RTLD_LAZY
++#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
++#  else
++#    ifdef DL_LAZY
++#      define LT_DLLAZY_OR_NOW		DL_LAZY
++#    else
++#      ifdef RTLD_NOW
++#        define LT_DLLAZY_OR_NOW	RTLD_NOW
++#      else
++#        ifdef DL_NOW
++#          define LT_DLLAZY_OR_NOW	DL_NOW
++#        else
++#          define LT_DLLAZY_OR_NOW	0
++#        endif
++#      endif
++#    endif
++#  endif
++#endif
++
++#ifdef __cplusplus
++extern "C" void exit (int);
++#endif
++
++void fnord() { int i=42;}
++int main ()
+ {
++  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
++  int status = $lt_dlunknown;
+ 
+-  ;
+-  return 0;
++  if (self)
++    {
++      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
++      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
++      /* dlclose (self); */
++    }
++
++    exit (status);
+ }
+-_ACEOF
+-rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:3384: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+-  lt_cv_cc_needs_belf=yes
+-else
+-  echo "$as_me: failed program was:" >&5
+-  cat conftest.$ac_ext >&5
+-  lt_cv_cc_needs_belf=no
++EOF
++  if { (eval echo configure:6188: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>/dev/null; then
++    (./conftest; exit; ) 2>/dev/null
++    lt_status=$?
++    case x$lt_status in
++      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
++      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
++      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
++    esac
++  else :
++    # compilation failed
++    lt_cv_dlopen_self_static=no
++  fi
+ fi
+-rm -f conftest$ac_exeext conftest.$ac_ext
++rm -fr conftest*
+ 
+ fi
+-echo "$as_me:3394: result: $lt_cv_cc_needs_belf" >&5
+-echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
+-  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
+-    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
+-    CFLAGS="$SAVE_CFLAGS"
+-  fi
+-  ;;
++echo "configure:6204: result: $lt_cv_dlopen_self_static" >&5
++echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
++    fi
+ 
+-esac
++    CPPFLAGS="$save_CPPFLAGS"
++    LDFLAGS="$save_LDFLAGS"
++    LIBS="$save_LIBS"
++    ;;
++  esac
+ 
+-# Save cache, so that ltconfig can load it
+-cat >confcache <<\_ACEOF
+-# 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, see configure's option --config-cache.
+-# It is not useful on other systems.  If it contains results you don't
+-# want to keep, you may remove or edit it.
++  case $lt_cv_dlopen_self in
++  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
++  *) enable_dlopen_self=unknown ;;
++  esac
++
++  case $lt_cv_dlopen_self_static in
++  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
++  *) enable_dlopen_self_static=unknown ;;
++  esac
++fi
++
++if test "$enable_shared" = yes && test "$GCC" = yes; then
++  case $archive_cmds in
++  *'~'*)
++    # FIXME: we may have to deal with multi-command sequences.
++    ;;
++  '$CC '*)
++    # Test whether the compiler implicitly links with -lc since on some
++    # systems, -lgcc has to come before -lc. If gcc already passes -lc
++    # to ld, don't add -lc before -lgcc.
++    echo "configure:6234: checking whether -lc should be explicitly linked in" >&5
++echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
++    if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  $rm conftest*
++    echo 'static int dummy;' > conftest.$ac_ext
++
++    if { (eval echo configure:6242: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++      soname=conftest
++      lib=conftest
++      libobjs=conftest.$ac_objext
++      deplibs=
++      wl=$lt_cv_prog_cc_wl
++      compiler_flags=-v
++      linker_flags=-v
++      verstring=
++      output_objdir=.
++      libname=conftest
++      save_allow_undefined_flag=$allow_undefined_flag
++      allow_undefined_flag=
++      if { (eval echo configure:6255: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\") >&5; (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5; }
++      then
++	lt_cv_archive_cmds_need_lc=no
++      else
++	lt_cv_archive_cmds_need_lc=yes
++      fi
++      allow_undefined_flag=$save_allow_undefined_flag
++    else
++      cat conftest.err 1>&5
++    fi
++fi
++
++    echo "configure:6267: result: $lt_cv_archive_cmds_need_lc" >&5
++echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
++    ;;
++  esac
++fi
++need_lc=${lt_cv_archive_cmds_need_lc-yes}
++
++# The second clause should only fire when bootstrapping the
++# libtool distribution, otherwise you forgot to ship ltmain.sh
++# with your package, and you will get complaints that there are
++# no rules to generate ltmain.sh.
++if test -f "$ltmain"; then
++  :
++else
++  # If there is no Makefile yet, we rely on a make rule to execute
++  # `config.status --recheck' to rerun these tests and create the
++  # libtool script then.
++  test -f Makefile && make "$ltmain"
++fi
++
++if test -f "$ltmain"; then
++  trap "$rm \"${ofile}T\"; exit 1" 1 2 15
++  $rm -f "${ofile}T"
++
++  echo creating $ofile
++
++  # Now quote all the things that may contain metacharacters while being
++  # careful not to overquote the AC_SUBSTed values.  We take copies of the
++  # variables and quote the copies for generation of the libtool script.
++  for var in echo old_CC old_CFLAGS \
++    AR AR_FLAGS CC LD LN_S NM SHELL \
++    reload_flag reload_cmds wl \
++    pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \
++    thread_safe_flag_spec whole_archive_flag_spec libname_spec \
++    library_names_spec soname_spec \
++    RANLIB old_archive_cmds old_archive_from_new_cmds old_postinstall_cmds \
++    old_postuninstall_cmds archive_cmds archive_expsym_cmds postinstall_cmds \
++    postuninstall_cmds extract_expsyms_cmds old_archive_from_expsyms_cmds \
++    old_striplib striplib file_magic_cmd export_symbols_cmds \
++    deplibs_check_method allow_undefined_flag no_undefined_flag \
++    finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \
++    hardcode_libdir_flag_spec hardcode_libdir_separator  \
++    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
++    compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do
++
++    case $var in
++    reload_cmds | old_archive_cmds | old_archive_from_new_cmds | \
++    old_postinstall_cmds | old_postuninstall_cmds | \
++    export_symbols_cmds | archive_cmds | archive_expsym_cmds | \
++    extract_expsyms_cmds | old_archive_from_expsyms_cmds | \
++    postinstall_cmds | postuninstall_cmds | \
++    finish_cmds | sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
++      # Double-quote double-evaled strings.
++      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
++      ;;
++    *)
++      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
++      ;;
++    esac
++  done
++
++  cat <<__EOF__ > "${ofile}T"
++#! $SHELL
++
++# `$echo "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
++# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
++# NOTE: Changes made to this file will be lost: look at ltmain.sh.
+ #
+-# config.status only pays attention to the cache file if you give it
+-# the --recheck option to rerun configure.
++# Copyright (C) 1996-2000 Free Software Foundation, Inc.
++# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
+ #
+-# `ac_cv_env_foo' variables (set or unset) will be overriden when
+-# loading this file, other *unset* `ac_cv_foo' will be assigned the
+-# following values.
++# 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
++#
++# As a special exception to the GNU General Public License, if you
++# distribute this file as part of a program that contains a
++# configuration script generated by Autoconf, you may include it under
++# the same distribution terms that you use for the rest of that program.
++
++# Sed that helps us avoid accidentally triggering echo(1) options like -n.
++Xsed="sed -e s/^X//"
++
++# The HP-UX ksh and POSIX shell print the target directory to stdout
++# if CDPATH is set.
++if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
++
++# ### BEGIN LIBTOOL CONFIG
++
++# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
++
++# Shell to use when invoking shell scripts.
++SHELL=$lt_SHELL
++
++# Whether or not to build shared libraries.
++build_libtool_libs=$enable_shared
++
++# Whether or not to add -lc for building shared libraries.
++build_libtool_need_lc=$need_lc
++
++# Whether or not to build static libraries.
++build_old_libs=$enable_static
++
++# Whether or not to optimize for fast installation.
++fast_install=$enable_fast_install
++
++# The host system.
++host_alias=$host_alias
++host=$host
++
++# An echo program that does not interpret backslashes.
++echo=$lt_echo
++
++# The archiver.
++AR=$lt_AR
++AR_FLAGS=$lt_AR_FLAGS
++
++# The default C compiler.
++CC=$lt_CC
++
++# Is the compiler the GNU C compiler?
++with_gcc=$GCC
++
++# The linker used to build libraries.
++LD=$lt_LD
++
++# Whether we need hard or soft links.
++LN_S=$lt_LN_S
++
++# A BSD-compatible nm program.
++NM=$lt_NM
++
++# A symbol stripping program
++STRIP=$STRIP
++
++# Used to examine libraries when file_magic_cmd begins "file"
++MAGIC_CMD=$MAGIC_CMD
++
++# Used on cygwin: DLL creation program.
++DLLTOOL="$DLLTOOL"
++
++# Used on cygwin: object dumper.
++OBJDUMP="$OBJDUMP"
++
++# Used on cygwin: assembler.
++AS="$AS"
++
++# The name of the directory that contains temporary libtool files.
++objdir=$objdir
++
++# How to create reloadable object files.
++reload_flag=$lt_reload_flag
++reload_cmds=$lt_reload_cmds
++
++# How to pass a linker flag through the compiler.
++wl=$lt_wl
++
++# Object file suffix (normally "o").
++objext="$ac_objext"
++
++# Old archive suffix (normally "a").
++libext="$libext"
++
++# Executable file suffix (normally "").
++exeext="$exeext"
++
++# Additional compiler flags for building library objects.
++pic_flag=$lt_pic_flag
++pic_mode=$pic_mode
++
++# Does compiler simultaneously support -c and -o options?
++compiler_c_o=$lt_compiler_c_o
++
++# Can we write directly to a .lo ?
++compiler_o_lo=$lt_compiler_o_lo
++
++# Must we lock files when doing compilation ?
++need_locks=$lt_need_locks
++
++# Do we need the lib prefix for modules?
++need_lib_prefix=$need_lib_prefix
++
++# Do we need a version for libraries?
++need_version=$need_version
++
++# Whether dlopen is supported.
++dlopen_support=$enable_dlopen
++
++# Whether dlopen of programs is supported.
++dlopen_self=$enable_dlopen_self
++
++# Whether dlopen of statically linked programs is supported.
++dlopen_self_static=$enable_dlopen_self_static
++
++# Compiler flag to prevent dynamic linking.
++link_static_flag=$lt_link_static_flag
++
++# Compiler flag to turn off builtin functions.
++no_builtin_flag=$lt_no_builtin_flag
++
++# Compiler flag to allow reflexive dlopens.
++export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
++
++# Compiler flag to generate shared objects directly from archives.
++whole_archive_flag_spec=$lt_whole_archive_flag_spec
++
++# Compiler flag to generate thread-safe objects.
++thread_safe_flag_spec=$lt_thread_safe_flag_spec
++
++# Library versioning type.
++version_type=$version_type
++
++# Format of library name prefix.
++libname_spec=$lt_libname_spec
++
++# List of archive names.  First name is the real one, the rest are links.
++# The last name is the one that the linker finds with -lNAME.
++library_names_spec=$lt_library_names_spec
++
++# The coded name of the library, if different from the real name.
++soname_spec=$lt_soname_spec
++
++# Commands used to build and install an old-style archive.
++RANLIB=$lt_RANLIB
++old_archive_cmds=$lt_old_archive_cmds
++old_postinstall_cmds=$lt_old_postinstall_cmds
++old_postuninstall_cmds=$lt_old_postuninstall_cmds
++
++# Create an old-style archive from a shared archive.
++old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
++
++# Create a temporary old-style archive to link instead of a shared archive.
++old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
++
++# Commands used to build and install a shared archive.
++archive_cmds=$lt_archive_cmds
++archive_expsym_cmds=$lt_archive_expsym_cmds
++postinstall_cmds=$lt_postinstall_cmds
++postuninstall_cmds=$lt_postuninstall_cmds
++
++# Commands to strip libraries.
++old_striplib=$lt_old_striplib
++striplib=$lt_striplib
++
++# Method to check whether dependent libraries are shared objects.
++deplibs_check_method=$lt_deplibs_check_method
++
++# Command to use when deplibs_check_method == file_magic.
++file_magic_cmd=$lt_file_magic_cmd
++
++# Flag that allows shared libraries with undefined symbols to be built.
++allow_undefined_flag=$lt_allow_undefined_flag
++
++# Flag that forces no undefined symbols.
++no_undefined_flag=$lt_no_undefined_flag
++
++# Commands used to finish a libtool library installation in a directory.
++finish_cmds=$lt_finish_cmds
++
++# Same as above, but a single script fragment to be evaled but not shown.
++finish_eval=$lt_finish_eval
++
++# Take the output of nm and produce a listing of raw symbols and C names.
++global_symbol_pipe=$lt_global_symbol_pipe
++
++# Transform the output of nm in a proper C declaration
++global_symbol_to_cdecl=$lt_global_symbol_to_cdecl
++
++# This is the shared library runtime path variable.
++runpath_var=$runpath_var
++
++# This is the shared library path variable.
++shlibpath_var=$shlibpath_var
++
++# Is shlibpath searched before the hard-coded library search path?
++shlibpath_overrides_runpath=$shlibpath_overrides_runpath
++
++# How to hardcode a shared library path into an executable.
++hardcode_action=$hardcode_action
++
++# Whether we should hardcode library paths into libraries.
++hardcode_into_libs=$hardcode_into_libs
++
++# Flag to hardcode \$libdir into a binary during linking.
++# This must work even if \$libdir does not exist.
++hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
++
++# Whether we need a single -rpath flag with a separated argument.
++hardcode_libdir_separator=$lt_hardcode_libdir_separator
++
++# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
++# resulting binary.
++hardcode_direct=$hardcode_direct
++
++# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
++# resulting binary.
++hardcode_minus_L=$hardcode_minus_L
++
++# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
++# the resulting binary.
++hardcode_shlibpath_var=$hardcode_shlibpath_var
++
++# Variables whose values should be saved in libtool wrapper scripts and
++# restored at relink time.
++variables_saved_for_relink="$variables_saved_for_relink"
++
++# Whether libtool must link a program against all its dependency libraries.
++link_all_deplibs=$link_all_deplibs
++
++# Compile-time system search path for libraries
++sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
++
++# Run-time system search path for libraries
++sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
++
++# Fix the shell variable \$srcfile for the compiler.
++fix_srcfile_path="$fix_srcfile_path"
++
++# Set to yes if exported symbols are required.
++always_export_symbols=$always_export_symbols
++
++# The commands to list exported symbols.
++export_symbols_cmds=$lt_export_symbols_cmds
++
++# The commands to extract the exported symbol list from a shared archive.
++extract_expsyms_cmds=$lt_extract_expsyms_cmds
++
++# Symbols that should not be listed in the preloaded symbols.
++exclude_expsyms=$lt_exclude_expsyms
++
++# Symbols that must always be exported.
++include_expsyms=$lt_include_expsyms
++
++# ### END LIBTOOL CONFIG
+ 
+-_ACEOF
++__EOF__
+ 
+-# The following way of writing the cache mishandles newlines in values,
+-# but we know of no workaround that is simple, portable, and efficient.
+-# So, don't put newlines in cache variables' values.
+-# Ultrix sh set writes to stderr and can't be redirected directly,
+-# and sets the high bit in the cache file unless we assign to the vars.
+-{
+-  (set) 2>&1 |
+-    case `(ac_space=' '; set | grep ac_space) 2>&1` in
+-    *ac_space=\ *)
+-      # `set' does not quote correctly, so add quotes (double-quote
+-      # substitution turns \\\\ into \\, and sed turns \\ into \).
+-      sed -n \
+-        "s/'/'\\\\''/g;
+-    	  s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
+-      ;;
+-    *)
+-      # `set' quotes correctly as required by POSIX, so do not add quotes.
+-      sed -n \
+-        "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
+-      ;;
+-    esac;
+-} |
+-  sed '
+-     t clear
+-     : clear
+-     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
+-     t end
+-     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
+-     : end' >>confcache
+-if cmp -s $cache_file confcache; then :; else
+-  if test -w $cache_file; then
+-    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
+-    cat confcache >$cache_file
+-  else
+-    echo "not updating unwritable cache $cache_file"
+-  fi
++  case $host_os in
++  aix3*)
++    cat <<\EOF >> "${ofile}T"
++
++# AIX sometimes has problems with the GCC collect2 program.  For some
++# reason, if we set the COLLECT_NAMES environment variable, the problems
++# vanish in a puff of smoke.
++if test "X${COLLECT_NAMES+set}" != Xset; then
++  COLLECT_NAMES=
++  export COLLECT_NAMES
+ fi
+-rm -f confcache
++EOF
++    ;;
++  esac
+ 
+-# Actually configure libtool.  ac_aux_dir is where install-sh is found.
+-AR="$AR" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
+-MAGIC="$MAGIC" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
+-LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
+-AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
+-objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
+-deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
+-${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
+-$libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
+-|| {  echo "$as_me: error: libtool configure failed" >&2
+-  { (exit 1); exit; }; }
++  case $host_os in
++  cygwin* | mingw* | pw32* | os2*)
++    cat <<'EOF' >> "${ofile}T"
++      # This is a source program that is used to create dlls on Windows
++      # Don't remove nor modify the starting and closing comments
++# /* ltdll.c starts here */
++# #define WIN32_LEAN_AND_MEAN
++# #include <windows.h>
++# #undef WIN32_LEAN_AND_MEAN
++# #include <stdio.h>
++#
++# #ifndef __CYGWIN__
++# #  ifdef __CYGWIN32__
++# #    define __CYGWIN__ __CYGWIN32__
++# #  endif
++# #endif
++#
++# #ifdef __cplusplus
++# extern "C" {
++# #endif
++# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
++# #ifdef __cplusplus
++# }
++# #endif
++#
++# #ifdef __CYGWIN__
++# #include <cygwin/cygwin_dll.h>
++# DECLARE_CYGWIN_DLL( DllMain );
++# #endif
++# HINSTANCE __hDllInstance_base;
++#
++# BOOL APIENTRY
++# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
++# {
++#   __hDllInstance_base = hInst;
++#   return TRUE;
++# }
++# /* ltdll.c ends here */
++        # This is a source program that is used to create import libraries
++        # on Windows for dlls which lack them. Don't remove nor modify the
++        # starting and closing comments
++# /* impgen.c starts here */
++# /*   Copyright (C) 1999-2000 Free Software Foundation, Inc.
++#
++#  This file is part of GNU libtool.
++#
++#  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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
++#  */
++#
++# #include <stdio.h>		/* for printf() */
++# #include <unistd.h>		/* for open(), lseek(), read() */
++# #include <fcntl.h>		/* for O_RDONLY, O_BINARY */
++# #include <string.h>		/* for strdup() */
++#
++# /* O_BINARY isn't required (or even defined sometimes) under Unix */
++# #ifndef O_BINARY
++# #define O_BINARY 0
++# #endif
++#
++# static unsigned int
++# pe_get16 (fd, offset)
++#      int fd;
++#      int offset;
++# {
++#   unsigned char b[2];
++#   lseek (fd, offset, SEEK_SET);
++#   read (fd, b, 2);
++#   return b[0] + (b[1]<<8);
++# }
++#
++# static unsigned int
++# pe_get32 (fd, offset)
++#     int fd;
++#     int offset;
++# {
++#   unsigned char b[4];
++#   lseek (fd, offset, SEEK_SET);
++#   read (fd, b, 4);
++#   return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
++# }
++#
++# static unsigned int
++# pe_as32 (ptr)
++#      void *ptr;
++# {
++#   unsigned char *b = ptr;
++#   return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
++# }
++#
++# int
++# main (argc, argv)
++#     int argc;
++#     char *argv[];
++# {
++#     int dll;
++#     unsigned long pe_header_offset, opthdr_ofs, num_entries, i;
++#     unsigned long export_rva, export_size, nsections, secptr, expptr;
++#     unsigned long name_rvas, nexp;
++#     unsigned char *expdata, *erva;
++#     char *filename, *dll_name;
++#
++#     filename = argv[1];
++#
++#     dll = open(filename, O_RDONLY|O_BINARY);
++#     if (dll < 1)
++# 	return 1;
++#
++#     dll_name = filename;
++#
++#     for (i=0; filename[i]; i++)
++# 	if (filename[i] == '/' || filename[i] == '\\'  || filename[i] == ':')
++# 	    dll_name = filename + i +1;
++#
++#     pe_header_offset = pe_get32 (dll, 0x3c);
++#     opthdr_ofs = pe_header_offset + 4 + 20;
++#     num_entries = pe_get32 (dll, opthdr_ofs + 92);
++#
++#     if (num_entries < 1) /* no exports */
++# 	return 1;
++#
++#     export_rva = pe_get32 (dll, opthdr_ofs + 96);
++#     export_size = pe_get32 (dll, opthdr_ofs + 100);
++#     nsections = pe_get16 (dll, pe_header_offset + 4 +2);
++#     secptr = (pe_header_offset + 4 + 20 +
++# 	      pe_get16 (dll, pe_header_offset + 4 + 16));
++#
++#     expptr = 0;
++#     for (i = 0; i < nsections; i++)
++#     {
++# 	char sname[8];
++# 	unsigned long secptr1 = secptr + 40 * i;
++# 	unsigned long vaddr = pe_get32 (dll, secptr1 + 12);
++# 	unsigned long vsize = pe_get32 (dll, secptr1 + 16);
++# 	unsigned long fptr = pe_get32 (dll, secptr1 + 20);
++# 	lseek(dll, secptr1, SEEK_SET);
++# 	read(dll, sname, 8);
++# 	if (vaddr <= export_rva && vaddr+vsize > export_rva)
++# 	{
++# 	    expptr = fptr + (export_rva - vaddr);
++# 	    if (export_rva + export_size > vaddr + vsize)
++# 		export_size = vsize - (export_rva - vaddr);
++# 	    break;
++# 	}
++#     }
++#
++#     expdata = (unsigned char*)malloc(export_size);
++#     lseek (dll, expptr, SEEK_SET);
++#     read (dll, expdata, export_size);
++#     erva = expdata - export_rva;
++#
++#     nexp = pe_as32 (expdata+24);
++#     name_rvas = pe_as32 (expdata+32);
++#
++#     printf ("EXPORTS\n");
++#     for (i = 0; i<nexp; i++)
++#     {
++# 	unsigned long name_rva = pe_as32 (erva+name_rvas+i*4);
++# 	printf ("\t%s @ %ld ;\n", erva+name_rva, 1+ i);
++#     }
++#
++#     return 0;
++# }
++# /* impgen.c ends here */
+ 
+-# Reload cache, that may have been modified by ltconfig
+-if test -r "$cache_file"; then
+-  # Some versions of bash will fail to source /dev/null (special
+-  # files actually), so we avoid doing that.
+-  if test -f "$cache_file"; then
+-    { echo "$as_me:3477: loading cache $cache_file" >&5
+-echo "loading cache $cache_file" >&6;}
+-    case $cache_file in
+-      [\\/]* | ?:[\\/]* ) . $cache_file;;
+-      *)                      . ./$cache_file;;
+-    esac
+-  fi
+-else
+-  { echo "$as_me:3485: creating cache $cache_file" >&5
+-echo "creating cache $cache_file" >&6;}
+-  >$cache_file
++EOF
++    ;;
++  esac
++
++  # We use sed instead of cat because bash on DJGPP gets confused if
++  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
++  # text mode, it properly converts lines to CR/LF.  This bash problem
++  # is reportedly fixed, but why not run on old versions too?
++  sed '$q' "$ltmain" >> "${ofile}T" || (rm -f "${ofile}T"; exit 1)
++
++  mv -f "${ofile}T" "$ofile" || \
++    (rm -f "$ofile" && cp "${ofile}T" "$ofile" && rm -f "${ofile}T")
++  chmod +x "$ofile"
+ fi
+ 
+ # This can be used to rebuild libtool when needed
+-LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh"
++LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
+ 
+ # Always use our own libtool.
+ LIBTOOL='$(SHELL) $(top_builddir)/libtool'
+ 
+-# Redirect the config.log output again, so that the ltconfig log is not
+-# clobbered by the next message.
+-exec 5>>./config.log
++# Prevent multiple expansion
+ 
+ WFLAGS_NOUNUSED=""
+ WFLAGS_NOIMPLICITINT=""
+@@ -3530,19 +6858,19 @@
+ do
+ ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
+ 
+-echo "$as_me:3533: checking for $ac_header" >&5
++echo "configure:6861: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 3539 "configure"
++#line 6867 "configure"
+ #include "confdefs.h"
+ #include <$ac_header>
+ 
+ _ACEOF
+ ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
+-if { (eval echo $as_me:3545: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++if { (eval echo configure:6873: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
+   if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+   else
+@@ -3556,14 +6884,14 @@
+   eval "$ac_ac_Header=yes"
+ else
+   cat conftest.err >&5
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_Header=no"
+ fi
+ rm -f conftest*
+ 
+ fi
+-echo "$as_me:3566: result: `eval echo '${'$ac_ac_Header'}'`" >&5
++echo "configure:6894: result: `eval echo '${'$ac_ac_Header'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
+ if test `eval echo '${'$ac_ac_Header'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -3575,7 +6903,7 @@
+ 
+ fi
+ 
+-echo "$as_me:3578: checking for dbopen" >&5
++echo "configure:6906: checking for dbopen" >&5
+ echo $ECHO_N "checking for dbopen... $ECHO_C" >&6
+ if test "${ac_cv_funclib_dbopen+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -3591,7 +6919,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 3594 "configure"
++#line 6922 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -3610,10 +6938,10 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:3613: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:6941: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_dbopen=$ac_lib; else ac_cv_funclib_dbopen=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+@@ -3627,17 +6955,17 @@
+ eval "ac_res=\$ac_cv_funclib_dbopen"
+ 
+ if false; then
+-
++	
+ for ac_func in dbopen
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:3634: checking for $ac_func" >&5
++echo "configure:6962: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 3640 "configure"
++#line 6968 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -3668,16 +6996,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:3671: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:6999: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:3680: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:7008: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -3701,13 +7029,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:3704: result: yes" >&5
++	echo "configure:7032: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_dbopen=no"
+ 	eval "LIB_dbopen="
+-	echo "$as_me:3710: result: no" >&5
++	echo "configure:7038: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -3721,12 +7049,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:3724: result: yes, in $ac_res" >&5
++	echo "configure:7052: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "$as_me:3729: checking for dbm_firstkey" >&5
++echo "configure:7057: checking for dbm_firstkey" >&5
+ echo $ECHO_N "checking for dbm_firstkey... $ECHO_C" >&6
+ if test "${ac_cv_funclib_dbm_firstkey+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -3742,7 +7070,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 3745 "configure"
++#line 7073 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -3754,10 +7082,10 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:3757: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:7085: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_dbm_firstkey=$ac_lib; else ac_cv_funclib_dbm_firstkey=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+@@ -3771,17 +7099,17 @@
+ eval "ac_res=\$ac_cv_funclib_dbm_firstkey"
+ 
+ if false; then
+-
++	
+ for ac_func in dbm_firstkey
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:3778: checking for $ac_func" >&5
++echo "configure:7106: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 3784 "configure"
++#line 7112 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -3812,16 +7140,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:3815: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:7143: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:3824: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:7152: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -3845,13 +7173,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:3848: result: yes" >&5
++	echo "configure:7176: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_dbm_firstkey=no"
+ 	eval "LIB_dbm_firstkey="
+-	echo "$as_me:3854: result: no" >&5
++	echo "configure:7182: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -3865,12 +7193,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:3868: result: yes, in $ac_res" >&5
++	echo "configure:7196: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "$as_me:3873: checking for db_create" >&5
++echo "configure:7201: checking for db_create" >&5
+ echo $ECHO_N "checking for db_create... $ECHO_C" >&6
+ if test "${ac_cv_funclib_db_create+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -3886,7 +7214,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 3889 "configure"
++#line 7217 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -3898,10 +7226,10 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:3901: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:7229: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_db_create=$ac_lib; else ac_cv_funclib_db_create=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+@@ -3915,17 +7243,17 @@
+ eval "ac_res=\$ac_cv_funclib_db_create"
+ 
+ if false; then
+-
++	
+ for ac_func in db_create
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:3922: checking for $ac_func" >&5
++echo "configure:7250: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 3928 "configure"
++#line 7256 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -3956,16 +7284,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:3959: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:7287: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:3968: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:7296: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -3989,13 +7317,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:3992: result: yes" >&5
++	echo "configure:7320: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_db_create=no"
+ 	eval "LIB_db_create="
+-	echo "$as_me:3998: result: no" >&5
++	echo "configure:7326: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -4009,7 +7337,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:4012: result: yes, in $ac_res" >&5
++	echo "configure:7340: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -4022,7 +7350,7 @@
+ 	DBLIB="$DBLIB $LIB_dbm_firstkey"
+ fi
+ 
+-echo "$as_me:4025: checking for inline" >&5
++echo "configure:7353: checking for inline" >&5
+ echo $ECHO_N "checking for inline... $ECHO_C" >&6
+ if test "${ac_cv_c_inline+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -4030,7 +7358,7 @@
+   ac_cv_c_inline=no
+ for ac_kw in inline __inline__ __inline; do
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 4033 "configure"
++#line 7361 "configure"
+ #include "confdefs.h"
+ #ifndef __cplusplus
+ $ac_kw int foo () {return 0; }
+@@ -4038,17 +7366,17 @@
+ 
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:4041: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:7369: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_c_inline=$ac_kw; break
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ done
+ 
+ fi
+-echo "$as_me:4051: result: $ac_cv_c_inline" >&5
++echo "configure:7379: result: $ac_cv_c_inline" >&5
+ echo "${ECHO_T}$ac_cv_c_inline" >&6
+ case $ac_cv_c_inline in
+   inline | yes) ;;
+@@ -4063,13 +7391,13 @@
+  ;;
+ esac
+ 
+-echo "$as_me:4066: checking for an ANSI C-conforming const" >&5
++echo "configure:7394: checking for an ANSI C-conforming const" >&5
+ echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
+ if test "${ac_cv_c_const+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 4072 "configure"
++#line 7400 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -4127,16 +7455,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:4130: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:7458: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_c_const=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_c_const=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:4139: result: $ac_cv_c_const" >&5
++echo "configure:7467: result: $ac_cv_c_const" >&5
+ echo "${ECHO_T}$ac_cv_c_const" >&6
+ if test $ac_cv_c_const = no; then
+ 
+@@ -4146,13 +7474,13 @@
+ 
+ fi
+ 
+-echo "$as_me:4149: checking for ANSI C header files" >&5
++echo "configure:7477: checking for ANSI C header files" >&5
+ echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
+ if test "${ac_cv_header_stdc+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 4155 "configure"
++#line 7483 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ #include <stdarg.h>
+@@ -4161,7 +7489,7 @@
+ 
+ _ACEOF
+ ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
+-if { (eval echo $as_me:4164: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++if { (eval echo configure:7492: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
+   if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+   else
+@@ -4175,7 +7503,7 @@
+   ac_cv_header_stdc=yes
+ else
+   cat conftest.err >&5
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_header_stdc=no
+ fi
+@@ -4184,7 +7512,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 <<_ACEOF
+-#line 4187 "configure"
++#line 7515 "configure"
+ #include "confdefs.h"
+ #include <string.h>
+ 
+@@ -4202,7 +7530,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 <<_ACEOF
+-#line 4205 "configure"
++#line 7533 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ 
+@@ -4223,7 +7551,7 @@
+   :
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 4226 "configure"
++#line 7554 "configure"
+ #include "confdefs.h"
+ #include <ctype.h>
+ #if ((' ' & 0x0FF) == 0x020)
+@@ -4249,24 +7577,20 @@
+ }
+ _ACEOF
+ rm -f conftest$ac_exeext
+-{ (eval echo $as_me:4252: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
+-  (./conftest$ac_exeext) >&5 2>&1;
+-ac_status=$?
+-if test $ac_status = 0; then
++if { (eval echo configure:7580: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
++   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
+   :
+ else
+-  echo "$as_me: program exited with status $ac_status" >&5
+-echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_header_stdc=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_header_stdc=no
+ fi
+-
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+ 
+ fi
+ fi
+-echo "$as_me:4269: result: $ac_cv_header_stdc" >&5
++echo "configure:7593: result: $ac_cv_header_stdc" >&5
+ echo "${ECHO_T}$ac_cv_header_stdc" >&6
+ if test $ac_cv_header_stdc = yes; then
+ 
+@@ -4276,13 +7600,13 @@
+ 
+ fi
+ 
+-echo "$as_me:4279: checking for size_t" >&5
++echo "configure:7603: checking for size_t" >&5
+ echo $ECHO_N "checking for size_t... $ECHO_C" >&6
+ if test "${ac_cv_type_size_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 4285 "configure"
++#line 7609 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -4297,16 +7621,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:4300: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:7624: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_size_t=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_size_t=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:4309: result: $ac_cv_type_size_t" >&5
++echo "configure:7633: result: $ac_cv_type_size_t" >&5
+ echo "${ECHO_T}$ac_cv_type_size_t" >&6
+ if test $ac_cv_type_size_t = yes; then
+   :
+@@ -4318,13 +7642,13 @@
+ 
+ fi
+ 
+-echo "$as_me:4321: checking for pid_t" >&5
++echo "configure:7645: checking for pid_t" >&5
+ echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
+ if test "${ac_cv_type_pid_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 4327 "configure"
++#line 7651 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -4339,16 +7663,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:4342: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:7666: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_pid_t=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_pid_t=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:4351: result: $ac_cv_type_pid_t" >&5
++echo "configure:7675: result: $ac_cv_type_pid_t" >&5
+ echo "${ECHO_T}$ac_cv_type_pid_t" >&6
+ if test $ac_cv_type_pid_t = yes; then
+   :
+@@ -4360,13 +7684,13 @@
+ 
+ fi
+ 
+-echo "$as_me:4363: checking for uid_t in sys/types.h" >&5
++echo "configure:7687: checking for uid_t in sys/types.h" >&5
+ echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
+ if test "${ac_cv_type_uid_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 4369 "configure"
++#line 7693 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ 
+@@ -4380,7 +7704,7 @@
+ rm -f conftest*
+ 
+ fi
+-echo "$as_me:4383: result: $ac_cv_type_uid_t" >&5
++echo "configure:7707: result: $ac_cv_type_uid_t" >&5
+ echo "${ECHO_T}$ac_cv_type_uid_t" >&6
+ if test $ac_cv_type_uid_t = no; then
+ 
+@@ -4394,13 +7718,13 @@
+ 
+ fi
+ 
+-echo "$as_me:4397: checking return type of signal handlers" >&5
++echo "configure:7721: checking return type of signal handlers" >&5
+ echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
+ if test "${ac_cv_type_signal+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 4403 "configure"
++#line 7727 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #include <signal.h>
+@@ -4422,16 +7746,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:4425: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:7749: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_signal=void
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_signal=int
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:4434: result: $ac_cv_type_signal" >&5
++echo "configure:7758: result: $ac_cv_type_signal" >&5
+ echo "${ECHO_T}$ac_cv_type_signal" >&6
+ 
+ cat >>confdefs.h <<EOF
+@@ -4439,20 +7763,20 @@
+ EOF
+ 
+ if test "$ac_cv_type_signal" = "void" ; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define VOID_RETSIGTYPE 1
+ EOF
+ 
+ fi
+ 
+-echo "$as_me:4449: checking whether time.h and sys/time.h may both be included" >&5
++echo "configure:7773: checking whether time.h and sys/time.h may both be included" >&5
+ echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
+ if test "${ac_cv_header_time+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 4455 "configure"
++#line 7779 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #include <sys/time.h>
+@@ -4467,16 +7791,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:4470: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:7794: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_header_time=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_header_time=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:4479: result: $ac_cv_header_time" >&5
++echo "configure:7803: result: $ac_cv_header_time" >&5
+ echo "${ECHO_T}$ac_cv_header_time" >&6
+ if test $ac_cv_header_time = yes; then
+ 
+@@ -4490,19 +7814,19 @@
+ do
+ ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
+ 
+-echo "$as_me:4493: checking for $ac_header" >&5
++echo "configure:7817: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 4499 "configure"
++#line 7823 "configure"
+ #include "confdefs.h"
+ #include <$ac_header>
+ 
+ _ACEOF
+ ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
+-if { (eval echo $as_me:4505: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++if { (eval echo configure:7829: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
+   if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+   else
+@@ -4516,14 +7840,14 @@
+   eval "$ac_ac_Header=yes"
+ else
+   cat conftest.err >&5
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_Header=no"
+ fi
+ rm -f conftest*
+ 
+ fi
+-echo "$as_me:4526: result: `eval echo '${'$ac_ac_Header'}'`" >&5
++echo "configure:7850: result: `eval echo '${'$ac_ac_Header'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
+ if test `eval echo '${'$ac_ac_Header'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -4537,13 +7861,13 @@
+ 
+ cv=`echo "$i" | sed 'y%./+-%__p_%'`
+ 
+-echo "$as_me:4540: checking for $i" >&5
++echo "configure:7864: checking for $i" >&5
+ echo $ECHO_N "checking for $i... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_header_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 4546 "configure"
++#line 7870 "configure"
+ #include "confdefs.h"
+ \
+ #ifdef HAVE_STANDARDS_H
+@@ -4553,7 +7877,7 @@
+ 
+ _ACEOF
+ ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
+-if { (eval echo $as_me:4556: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++if { (eval echo configure:7880: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
+   if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+   else
+@@ -4567,14 +7891,14 @@
+   eval "ac_cv_header_$cv=yes"
+ else
+   cat conftest.err >&5
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_header_$cv=no"
+ fi
+ rm -f conftest*
+ 
+ fi
+-echo "$as_me:4577: result: `eval echo '${'ac_cv_header_$cv'}'`" >&5
++echo "configure:7901: result: `eval echo '${'ac_cv_header_$cv'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'ac_cv_header_$cv'}'`" >&6
+ ac_res=`eval echo \\$ac_cv_header_$cv`
+ if test "$ac_res" = yes; then
+@@ -4586,24 +7910,25 @@
+ fi
+ done
+ if false;then
++	
+ 
+ for ac_header in netinet/ip.h netinet/tcp.h
+ do
+ ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
+ 
+-echo "$as_me:4594: checking for $ac_header" >&5
++echo "configure:7919: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 4600 "configure"
++#line 7925 "configure"
+ #include "confdefs.h"
+ #include <$ac_header>
+ 
+ _ACEOF
+ ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
+-if { (eval echo $as_me:4606: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++if { (eval echo configure:7931: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
+   if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+   else
+@@ -4617,14 +7942,14 @@
+   eval "$ac_ac_Header=yes"
+ else
+   cat conftest.err >&5
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_Header=no"
+ fi
+ rm -f conftest*
+ 
+ fi
+-echo "$as_me:4627: result: `eval echo '${'$ac_ac_Header'}'`" >&5
++echo "configure:7952: result: `eval echo '${'$ac_ac_Header'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
+ if test `eval echo '${'$ac_ac_Header'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -4639,13 +7964,13 @@
+ for ac_func in getlogin setlogin
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:4642: checking for $ac_func" >&5
++echo "configure:7967: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 4648 "configure"
++#line 7973 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -4676,16 +8001,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:4679: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:8004: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:4688: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:8013: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -4696,7 +8021,7 @@
+ done
+ 
+ if test "$ac_cv_func_getlogin" = yes; then
+-echo "$as_me:4699: checking if getlogin is posix" >&5
++echo "configure:8024: checking if getlogin is posix" >&5
+ echo $ECHO_N "checking if getlogin is posix... $ECHO_C" >&6
+ if test "${ac_cv_func_getlogin_posix+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -4709,10 +8034,10 @@
+ fi
+ 
+ fi
+-echo "$as_me:4712: result: $ac_cv_func_getlogin_posix" >&5
++echo "configure:8037: result: $ac_cv_func_getlogin_posix" >&5
+ echo "${ECHO_T}$ac_cv_func_getlogin_posix" >&6
+ if test "$ac_cv_func_getlogin_posix" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define POSIX_GETLOGIN 1
+ EOF
+@@ -4720,7 +8045,7 @@
+ fi
+ fi
+ 
+-echo "$as_me:4723: checking if realloc if broken" >&5
++echo "configure:8048: checking if realloc if broken" >&5
+ echo $ECHO_N "checking if realloc if broken... $ECHO_C" >&6
+ if test "${ac_cv_func_realloc_broken+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -4731,7 +8056,7 @@
+   :
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 4734 "configure"
++#line 8059 "configure"
+ #include "confdefs.h"
+ 
+ #include <stddef.h>
+@@ -4744,26 +8069,22 @@
+ 
+ _ACEOF
+ rm -f conftest$ac_exeext
+-{ (eval echo $as_me:4747: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
+-  (./conftest$ac_exeext) >&5 2>&1;
+-ac_status=$?
+-if test $ac_status = 0; then
++if { (eval echo configure:8072: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
++   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
+   :
+ else
+-  echo "$as_me: program exited with status $ac_status" >&5
+-echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_realloc_broken=yes
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_realloc_broken=yes
+ fi
+-
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+ 
+ fi
+-echo "$as_me:4763: result: $ac_cv_func_realloc_broken" >&5
++echo "configure:8084: result: $ac_cv_func_realloc_broken" >&5
+ echo "${ECHO_T}$ac_cv_func_realloc_broken" >&6
+ if test "$ac_cv_func_realloc_broken" = yes ; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define BROKEN_REALLOC 1
+ EOF
+@@ -4787,13 +8108,13 @@
+   WFLAGS_NOIMPLICITINT="-Wno-implicit-int"
+ fi
+ 
+-echo "$as_me:4790: checking for ssize_t" >&5
++echo "configure:8111: checking for ssize_t" >&5
+ echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
+ if test "${ac_cv_type_ssize_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 4796 "configure"
++#line 8117 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -4811,7 +8132,7 @@
+ rm -f conftest*
+ 
+ fi
+-echo "$as_me:4814: result: $ac_cv_type_ssize_t" >&5
++echo "configure:8135: result: $ac_cv_type_ssize_t" >&5
+ echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
+ if test $ac_cv_type_ssize_t = no; then
+ 
+@@ -4822,13 +8143,13 @@
+ fi
+ 
+ cv=`echo "long long" | sed 'y%./+- %__p__%'`
+-echo "$as_me:4825: checking for long long" >&5
++echo "configure:8146: checking for long long" >&5
+ echo $ECHO_N "checking for long long... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 4831 "configure"
++#line 8152 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -4845,28 +8166,28 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:4848: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:8169: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_type_$cv=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_type_$cv=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:4858: result: $ac_foo" >&5
++echo "configure:8179: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo long long | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:4863: checking for long long" >&5
++	echo "configure:8184: checking for long long" >&5
+ echo $ECHO_N "checking for long long... $ECHO_C" >&6
+ if test "${ac_cv_type_long_long+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 4869 "configure"
++#line 8190 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -4881,16 +8202,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:4884: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:8205: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_long_long=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_long_long=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:4893: result: $ac_cv_type_long_long" >&5
++echo "configure:8214: result: $ac_cv_type_long_long" >&5
+ echo "${ECHO_T}$ac_cv_type_long_long" >&6
+ if test $ac_cv_type_long_long = yes; then
+ 
+@@ -4963,19 +8284,19 @@
+ do
+ ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
+ 
+-echo "$as_me:4966: checking for $ac_header" >&5
++echo "configure:8287: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 4972 "configure"
++#line 8293 "configure"
+ #include "confdefs.h"
+ #include <$ac_header>
+ 
+ _ACEOF
+ ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
+-if { (eval echo $as_me:4978: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++if { (eval echo configure:8299: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
+   if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+   else
+@@ -4989,14 +8310,14 @@
+   eval "$ac_ac_Header=yes"
+ else
+   cat conftest.err >&5
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_Header=no"
+ fi
+ rm -f conftest*
+ 
+ fi
+-echo "$as_me:4999: result: `eval echo '${'$ac_ac_Header'}'`" >&5
++echo "configure:8320: result: `eval echo '${'$ac_ac_Header'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
+ if test `eval echo '${'$ac_ac_Header'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -5006,6 +8327,8 @@
+ fi
+ done
+ 
++	
++
+ if test "$ac_cv_header_err_h" = yes; then
+   have_err_h_TRUE=
+   have_err_h_FALSE='#'
+@@ -5053,13 +8376,13 @@
+   v6type=unknown
+ v6lib=none
+ 
+-echo "$as_me:5056: checking ipv6 stack type" >&5
++echo "configure:8379: checking ipv6 stack type" >&5
+ echo $ECHO_N "checking ipv6 stack type... $ECHO_C" >&6
+ for i in v6d toshiba kame inria zeta linux; do
+ 	case $i in
+ 	v6d)
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 5062 "configure"
++#line 8385 "configure"
+ #include "confdefs.h"
+ 
+ #include </usr/local/v6/include/sys/types.h>
+@@ -5078,7 +8401,7 @@
+ 		;;
+ 	toshiba)
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 5081 "configure"
++#line 8404 "configure"
+ #include "confdefs.h"
+ 
+ #include <sys/param.h>
+@@ -5097,7 +8420,7 @@
+ 		;;
+ 	kame)
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 5100 "configure"
++#line 8423 "configure"
+ #include "confdefs.h"
+ 
+ #include <netinet/in.h>
+@@ -5116,7 +8439,7 @@
+ 		;;
+ 	inria)
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 5119 "configure"
++#line 8442 "configure"
+ #include "confdefs.h"
+ 
+ #include <netinet/in.h>
+@@ -5133,7 +8456,7 @@
+ 		;;
+ 	zeta)
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 5136 "configure"
++#line 8459 "configure"
+ #include "confdefs.h"
+ 
+ #include <sys/param.h>
+@@ -5163,7 +8486,7 @@
+ 		break
+ 	fi
+ done
+-echo "$as_me:5166: result: $v6type" >&5
++echo "configure:8489: result: $v6type" >&5
+ echo "${ECHO_T}$v6type" >&6
+ 
+ if test "$v6lib" != "none"; then
+@@ -5175,7 +8498,7 @@
+ 	done
+ fi
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 5178 "configure"
++#line 8501 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_SYS_TYPES_H
+@@ -5210,19 +8533,19 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:5213: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:8536: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_lib_ipv6=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_lib_ipv6=no
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+ 
+-echo "$as_me:5223: checking for IPv6" >&5
++echo "configure:8546: checking for IPv6" >&5
+ echo $ECHO_N "checking for IPv6... $ECHO_C" >&6
+-echo "$as_me:5225: result: $ac_cv_lib_ipv6" >&5
++echo "configure:8548: result: $ac_cv_lib_ipv6" >&5
+ echo "${ECHO_T}$ac_cv_lib_ipv6" >&6
+ if test "$ac_cv_lib_ipv6" = yes; then
+ 
+@@ -5234,7 +8557,7 @@
+   CFLAGS="${save_CFLAGS}"
+ fi
+ 
+-echo "$as_me:5237: checking for socket" >&5
++echo "configure:8560: checking for socket" >&5
+ echo $ECHO_N "checking for socket... $ECHO_C" >&6
+ if test "${ac_cv_funclib_socket+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -5250,7 +8573,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 5253 "configure"
++#line 8576 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -5262,10 +8585,10 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:5265: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:8588: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_socket=$ac_lib; else ac_cv_funclib_socket=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+@@ -5279,17 +8602,17 @@
+ eval "ac_res=\$ac_cv_funclib_socket"
+ 
+ if false; then
+-
++	
+ for ac_func in socket
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:5286: checking for $ac_func" >&5
++echo "configure:8609: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 5292 "configure"
++#line 8615 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -5320,16 +8643,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:5323: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:8646: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:5332: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:8655: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -5353,13 +8676,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:5356: result: yes" >&5
++	echo "configure:8679: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_socket=no"
+ 	eval "LIB_socket="
+-	echo "$as_me:5362: result: no" >&5
++	echo "configure:8685: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -5373,7 +8696,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:5376: result: yes, in $ac_res" >&5
++	echo "configure:8699: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -5382,7 +8705,7 @@
+ 	LIBS="$LIB_socket $LIBS"
+ fi
+ 
+-echo "$as_me:5385: checking for gethostbyname" >&5
++echo "configure:8708: checking for gethostbyname" >&5
+ echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
+ if test "${ac_cv_funclib_gethostbyname+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -5398,7 +8721,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 5401 "configure"
++#line 8724 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -5410,10 +8733,10 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:5413: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:8736: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_gethostbyname=$ac_lib; else ac_cv_funclib_gethostbyname=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+@@ -5427,17 +8750,17 @@
+ eval "ac_res=\$ac_cv_funclib_gethostbyname"
+ 
+ if false; then
+-
++	
+ for ac_func in gethostbyname
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:5434: checking for $ac_func" >&5
++echo "configure:8757: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 5440 "configure"
++#line 8763 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -5468,16 +8791,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:5471: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:8794: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:5480: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:8803: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -5501,13 +8824,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:5504: result: yes" >&5
++	echo "configure:8827: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_gethostbyname=no"
+ 	eval "LIB_gethostbyname="
+-	echo "$as_me:5510: result: no" >&5
++	echo "configure:8833: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -5521,7 +8844,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:5524: result: yes, in $ac_res" >&5
++	echo "configure:8847: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -5530,7 +8853,7 @@
+ 	LIBS="$LIB_gethostbyname $LIBS"
+ fi
+ 
+-echo "$as_me:5533: checking for syslog" >&5
++echo "configure:8856: checking for syslog" >&5
+ echo $ECHO_N "checking for syslog... $ECHO_C" >&6
+ if test "${ac_cv_funclib_syslog+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -5546,7 +8869,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 5549 "configure"
++#line 8872 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -5558,10 +8881,10 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:5561: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:8884: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_syslog=$ac_lib; else ac_cv_funclib_syslog=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+@@ -5575,17 +8898,17 @@
+ eval "ac_res=\$ac_cv_funclib_syslog"
+ 
+ if false; then
+-
++	
+ for ac_func in syslog
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:5582: checking for $ac_func" >&5
++echo "configure:8905: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 5588 "configure"
++#line 8911 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -5616,16 +8939,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:5619: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:8942: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:5628: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:8951: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -5649,13 +8972,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:5652: result: yes" >&5
++	echo "configure:8975: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_syslog=no"
+ 	eval "LIB_syslog="
+-	echo "$as_me:5658: result: no" >&5
++	echo "configure:8981: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -5669,7 +8992,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:5672: result: yes, in $ac_res" >&5
++	echo "configure:8995: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -5678,7 +9001,7 @@
+ 	LIBS="$LIB_syslog $LIBS"
+ fi
+ 
+-echo "$as_me:5681: checking for gethostbyname2" >&5
++echo "configure:9004: checking for gethostbyname2" >&5
+ echo $ECHO_N "checking for gethostbyname2... $ECHO_C" >&6
+ if test "${ac_cv_funclib_gethostbyname2+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -5694,7 +9017,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 5697 "configure"
++#line 9020 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -5706,10 +9029,10 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:5709: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:9032: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_gethostbyname2=$ac_lib; else ac_cv_funclib_gethostbyname2=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+@@ -5723,17 +9046,17 @@
+ eval "ac_res=\$ac_cv_funclib_gethostbyname2"
+ 
+ if false; then
+-
++	
+ for ac_func in gethostbyname2
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:5730: checking for $ac_func" >&5
++echo "configure:9053: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 5736 "configure"
++#line 9059 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -5764,16 +9087,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:5767: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:9090: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:5776: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:9099: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -5797,13 +9120,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:5800: result: yes" >&5
++	echo "configure:9123: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_gethostbyname2=no"
+ 	eval "LIB_gethostbyname2="
+-	echo "$as_me:5806: result: no" >&5
++	echo "configure:9129: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -5817,7 +9140,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:5820: result: yes, in $ac_res" >&5
++	echo "configure:9143: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -5826,7 +9149,7 @@
+ 	LIBS="$LIB_gethostbyname2 $LIBS"
+ fi
+ 
+-echo "$as_me:5829: checking for res_search" >&5
++echo "configure:9152: checking for res_search" >&5
+ echo $ECHO_N "checking for res_search... $ECHO_C" >&6
+ if test "${ac_cv_funclib_res_search+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -5842,7 +9165,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 5845 "configure"
++#line 9168 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -5868,10 +9191,10 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:5871: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:9194: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_res_search=$ac_lib; else ac_cv_funclib_res_search=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+@@ -5885,17 +9208,17 @@
+ eval "ac_res=\$ac_cv_funclib_res_search"
+ 
+ if false; then
+-
++	
+ for ac_func in res_search
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:5892: checking for $ac_func" >&5
++echo "configure:9215: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 5898 "configure"
++#line 9221 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -5926,16 +9249,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:5929: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:9252: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:5938: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:9261: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -5959,13 +9282,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:5962: result: yes" >&5
++	echo "configure:9285: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_res_search=no"
+ 	eval "LIB_res_search="
+-	echo "$as_me:5968: result: no" >&5
++	echo "configure:9291: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -5979,7 +9302,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:5982: result: yes, in $ac_res" >&5
++	echo "configure:9305: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -5988,7 +9311,7 @@
+ 	LIBS="$LIB_res_search $LIBS"
+ fi
+ 
+-echo "$as_me:5991: checking for dn_expand" >&5
++echo "configure:9314: checking for dn_expand" >&5
+ echo $ECHO_N "checking for dn_expand... $ECHO_C" >&6
+ if test "${ac_cv_funclib_dn_expand+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -6004,7 +9327,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 6007 "configure"
++#line 9330 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -6030,10 +9353,10 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:6033: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:9356: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_dn_expand=$ac_lib; else ac_cv_funclib_dn_expand=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+@@ -6047,17 +9370,17 @@
+ eval "ac_res=\$ac_cv_funclib_dn_expand"
+ 
+ if false; then
+-
++	
+ for ac_func in dn_expand
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:6054: checking for $ac_func" >&5
++echo "configure:9377: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 6060 "configure"
++#line 9383 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -6088,16 +9411,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:6091: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:9414: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:6100: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:9423: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -6121,13 +9444,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:6124: result: yes" >&5
++	echo "configure:9447: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_dn_expand=no"
+ 	eval "LIB_dn_expand="
+-	echo "$as_me:6130: result: no" >&5
++	echo "configure:9453: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -6141,7 +9464,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:6144: result: yes, in $ac_res" >&5
++	echo "configure:9467: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -6150,7 +9473,7 @@
+ 	LIBS="$LIB_dn_expand $LIBS"
+ fi
+ 
+-echo "$as_me:6153: checking for working snprintf" >&5
++echo "configure:9476: checking for working snprintf" >&5
+ echo $ECHO_N "checking for working snprintf... $ECHO_C" >&6
+ if test "${ac_cv_func_snprintf_working+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -6160,7 +9483,7 @@
+   :
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 6163 "configure"
++#line 9486 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -6173,27 +9496,23 @@
+ }
+ _ACEOF
+ rm -f conftest$ac_exeext
+-{ (eval echo $as_me:6176: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
+-  (./conftest$ac_exeext) >&5 2>&1;
+-ac_status=$?
+-if test $ac_status = 0; then
++if { (eval echo configure:9499: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
++   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
+   :
+ else
+-  echo "$as_me: program exited with status $ac_status" >&5
+-echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_snprintf_working=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_snprintf_working=no
+ fi
+-
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+ 
+ fi
+-echo "$as_me:6192: result: $ac_cv_func_snprintf_working" >&5
++echo "configure:9511: result: $ac_cv_func_snprintf_working" >&5
+ echo "${ECHO_T}$ac_cv_func_snprintf_working" >&6
+ 
+ if test "$ac_cv_func_snprintf_working" = yes; then
+-
++	
+ cat >>confdefs.h <<EOF
+ #define HAVE_SNPRINTF 1
+ EOF
+@@ -6202,13 +9521,13 @@
+ if test "$ac_cv_func_snprintf_working" = yes; then
+ 
+ if test "$ac_cv_func_snprintf+set" != set -o "$ac_cv_func_snprintf" = yes; then
+-echo "$as_me:6205: checking if snprintf needs a prototype" >&5
++echo "configure:9524: checking if snprintf needs a prototype" >&5
+ echo $ECHO_N "checking if snprintf needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_snprintf_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 6211 "configure"
++#line 9530 "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
+ int
+@@ -6223,20 +9542,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:6226: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:9545: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_snprintf_noproto=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_func_snprintf_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:6235: result: $ac_cv_func_snprintf_noproto" >&5
++echo "configure:9554: result: $ac_cv_func_snprintf_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_snprintf_noproto" >&6
+ 
+ if test "$ac_cv_func_snprintf_noproto" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define NEED_SNPRINTF_PROTO 1
+ EOF
+@@ -6247,7 +9566,7 @@
+ 
+ fi
+ 
+-echo "$as_me:6250: checking for working vsnprintf" >&5
++echo "configure:9569: checking for working vsnprintf" >&5
+ echo $ECHO_N "checking for working vsnprintf... $ECHO_C" >&6
+ if test "${ac_cv_func_vsnprintf_working+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -6257,7 +9576,7 @@
+   :
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 6260 "configure"
++#line 9579 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -6280,27 +9599,23 @@
+ }
+ _ACEOF
+ rm -f conftest$ac_exeext
+-{ (eval echo $as_me:6283: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
+-  (./conftest$ac_exeext) >&5 2>&1;
+-ac_status=$?
+-if test $ac_status = 0; then
++if { (eval echo configure:9602: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
++   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
+   :
+ else
+-  echo "$as_me: program exited with status $ac_status" >&5
+-echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_vsnprintf_working=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_vsnprintf_working=no
+ fi
+-
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+ 
+ fi
+-echo "$as_me:6299: result: $ac_cv_func_vsnprintf_working" >&5
++echo "configure:9614: result: $ac_cv_func_vsnprintf_working" >&5
+ echo "${ECHO_T}$ac_cv_func_vsnprintf_working" >&6
+ 
+ if test "$ac_cv_func_vsnprintf_working" = yes; then
+-
++	
+ cat >>confdefs.h <<EOF
+ #define HAVE_VSNPRINTF 1
+ EOF
+@@ -6309,13 +9624,13 @@
+ if test "$ac_cv_func_vsnprintf_working" = yes; then
+ 
+ if test "$ac_cv_func_vsnprintf+set" != set -o "$ac_cv_func_vsnprintf" = yes; then
+-echo "$as_me:6312: checking if vsnprintf needs a prototype" >&5
++echo "configure:9627: checking if vsnprintf needs a prototype" >&5
+ echo $ECHO_N "checking if vsnprintf needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_vsnprintf_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 6318 "configure"
++#line 9633 "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
+ int
+@@ -6330,20 +9645,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:6333: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:9648: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_vsnprintf_noproto=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_func_vsnprintf_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:6342: result: $ac_cv_func_vsnprintf_noproto" >&5
++echo "configure:9657: result: $ac_cv_func_vsnprintf_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_vsnprintf_noproto" >&6
+ 
+ if test "$ac_cv_func_vsnprintf_noproto" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define NEED_VSNPRINTF_PROTO 1
+ EOF
+@@ -6354,14 +9669,14 @@
+ 
+ fi
+ 
+-echo "$as_me:6357: checking for working glob" >&5
++echo "configure:9672: checking for working glob" >&5
+ echo $ECHO_N "checking for working glob... $ECHO_C" >&6
+ if test "${ac_cv_func_glob_working+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   ac_cv_func_glob_working=yes
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 6364 "configure"
++#line 9679 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -6378,20 +9693,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:6381: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:9696: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   :
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_func_glob_working=no
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:6390: result: $ac_cv_func_glob_working" >&5
++echo "configure:9705: result: $ac_cv_func_glob_working" >&5
+ echo "${ECHO_T}$ac_cv_func_glob_working" >&6
+ 
+ if test "$ac_cv_func_glob_working" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_GLOB 1
+ EOF
+@@ -6400,13 +9715,13 @@
+ if test "$ac_cv_func_glob_working" = yes; then
+ 
+ if test "$ac_cv_func_glob+set" != set -o "$ac_cv_func_glob" = yes; then
+-echo "$as_me:6403: checking if glob needs a prototype" >&5
++echo "configure:9718: checking if glob needs a prototype" >&5
+ echo $ECHO_N "checking if glob needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_glob_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 6409 "configure"
++#line 9724 "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
+ #include <glob.h>
+@@ -6422,20 +9737,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:6425: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:9740: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_glob_noproto=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_func_glob_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:6434: result: $ac_cv_func_glob_noproto" >&5
++echo "configure:9749: result: $ac_cv_func_glob_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_glob_noproto" >&6
+ 
+ if test "$ac_cv_func_glob_noproto" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define NEED_GLOB_PROTO 1
+ EOF
+@@ -6482,13 +9797,13 @@
+ 
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:6485: checking for $ac_func" >&5
++echo "configure:9800: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 6491 "configure"
++#line 9806 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -6519,16 +9834,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:6522: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:9837: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:6531: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:9846: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -6542,7 +9857,7 @@
+ 	LIBOBJS="$LIBOBJS getcap.o"
+ fi
+ 
+-echo "$as_me:6545: checking for getsockopt" >&5
++echo "configure:9860: checking for getsockopt" >&5
+ echo $ECHO_N "checking for getsockopt... $ECHO_C" >&6
+ if test "${ac_cv_funclib_getsockopt+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -6558,7 +9873,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 6561 "configure"
++#line 9876 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_SYS_TYPES_H
+ #include <sys/types.h>
+@@ -6575,10 +9890,10 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:6578: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:9893: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_getsockopt=$ac_lib; else ac_cv_funclib_getsockopt=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+@@ -6592,17 +9907,17 @@
+ eval "ac_res=\$ac_cv_funclib_getsockopt"
+ 
+ if false; then
+-
++	
+ for ac_func in getsockopt
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:6599: checking for $ac_func" >&5
++echo "configure:9914: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 6605 "configure"
++#line 9920 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -6633,16 +9948,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:6636: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:9951: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:6645: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:9960: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -6666,13 +9981,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:6669: result: yes" >&5
++	echo "configure:9984: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_getsockopt=no"
+ 	eval "LIB_getsockopt="
+-	echo "$as_me:6675: result: no" >&5
++	echo "configure:9990: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -6686,12 +10001,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:6689: result: yes, in $ac_res" >&5
++	echo "configure:10004: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "$as_me:6694: checking for setsockopt" >&5
++echo "configure:10009: checking for setsockopt" >&5
+ echo $ECHO_N "checking for setsockopt... $ECHO_C" >&6
+ if test "${ac_cv_funclib_setsockopt+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -6707,7 +10022,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 6710 "configure"
++#line 10025 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_SYS_TYPES_H
+ #include <sys/types.h>
+@@ -6724,10 +10039,10 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:6727: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:10042: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_setsockopt=$ac_lib; else ac_cv_funclib_setsockopt=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+@@ -6741,17 +10056,17 @@
+ eval "ac_res=\$ac_cv_funclib_setsockopt"
+ 
+ if false; then
+-
++	
+ for ac_func in setsockopt
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:6748: checking for $ac_func" >&5
++echo "configure:10063: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 6754 "configure"
++#line 10069 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -6782,16 +10097,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:6785: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:10100: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:6794: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:10109: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -6815,13 +10130,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:6818: result: yes" >&5
++	echo "configure:10133: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_setsockopt=no"
+ 	eval "LIB_setsockopt="
+-	echo "$as_me:6824: result: no" >&5
++	echo "configure:10139: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -6835,12 +10150,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:6838: result: yes, in $ac_res" >&5
++	echo "configure:10153: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "$as_me:6843: checking for hstrerror" >&5
++echo "configure:10158: checking for hstrerror" >&5
+ echo $ECHO_N "checking for hstrerror... $ECHO_C" >&6
+ if test "${ac_cv_funclib_hstrerror+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -6856,7 +10171,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 6859 "configure"
++#line 10174 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_NETDB_H
+ #include <netdb.h>
+@@ -6870,10 +10185,10 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:6873: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:10188: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_hstrerror=$ac_lib; else ac_cv_funclib_hstrerror=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+@@ -6887,17 +10202,17 @@
+ eval "ac_res=\$ac_cv_funclib_hstrerror"
+ 
+ if false; then
+-
++	
+ for ac_func in hstrerror
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:6894: checking for $ac_func" >&5
++echo "configure:10209: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 6900 "configure"
++#line 10215 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -6928,16 +10243,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:6931: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:10246: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:6940: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:10255: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -6961,13 +10276,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:6964: result: yes" >&5
++	echo "configure:10279: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_hstrerror=no"
+ 	eval "LIB_hstrerror="
+-	echo "$as_me:6970: result: no" >&5
++	echo "configure:10285: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -6981,7 +10296,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:6984: result: yes, in $ac_res" >&5
++	echo "configure:10299: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -6997,13 +10312,13 @@
+ if test "$ac_cv_func_hstrerror" = yes; then
+ 
+ if test "$ac_cv_func_hstrerror+set" != set -o "$ac_cv_func_hstrerror" = yes; then
+-echo "$as_me:7000: checking if hstrerror needs a prototype" >&5
++echo "configure:10315: checking if hstrerror needs a prototype" >&5
+ echo $ECHO_N "checking if hstrerror needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_hstrerror_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 7006 "configure"
++#line 10321 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_NETDB_H
+@@ -7021,20 +10336,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:7024: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:10339: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_hstrerror_noproto=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_func_hstrerror_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:7033: result: $ac_cv_func_hstrerror_noproto" >&5
++echo "configure:10348: result: $ac_cv_func_hstrerror_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_hstrerror_noproto" >&6
+ 
+ if test "$ac_cv_func_hstrerror_noproto" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define NEED_HSTRERROR_PROTO 1
+ EOF
+@@ -7048,13 +10363,13 @@
+ if test "$ac_cv_func_asprintf" = yes; then
+ 
+ if test "$ac_cv_func_asprintf+set" != set -o "$ac_cv_func_asprintf" = yes; then
+-echo "$as_me:7051: checking if asprintf needs a prototype" >&5
++echo "configure:10366: checking if asprintf needs a prototype" >&5
+ echo $ECHO_N "checking if asprintf needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_asprintf_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 7057 "configure"
++#line 10372 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -7071,20 +10386,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:7074: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:10389: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_asprintf_noproto=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_func_asprintf_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:7083: result: $ac_cv_func_asprintf_noproto" >&5
++echo "configure:10398: result: $ac_cv_func_asprintf_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_asprintf_noproto" >&6
+ 
+ if test "$ac_cv_func_asprintf_noproto" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define NEED_ASPRINTF_PROTO 1
+ EOF
+@@ -7096,13 +10411,13 @@
+ if test "$ac_cv_func_vasprintf" = yes; then
+ 
+ if test "$ac_cv_func_vasprintf+set" != set -o "$ac_cv_func_vasprintf" = yes; then
+-echo "$as_me:7099: checking if vasprintf needs a prototype" >&5
++echo "configure:10414: checking if vasprintf needs a prototype" >&5
+ echo $ECHO_N "checking if vasprintf needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_vasprintf_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 7105 "configure"
++#line 10420 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -7119,20 +10434,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:7122: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:10437: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_vasprintf_noproto=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_func_vasprintf_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:7131: result: $ac_cv_func_vasprintf_noproto" >&5
++echo "configure:10446: result: $ac_cv_func_vasprintf_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_vasprintf_noproto" >&6
+ 
+ if test "$ac_cv_func_vasprintf_noproto" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define NEED_VASPRINTF_PROTO 1
+ EOF
+@@ -7144,13 +10459,13 @@
+ if test "$ac_cv_func_asnprintf" = yes; then
+ 
+ if test "$ac_cv_func_asnprintf+set" != set -o "$ac_cv_func_asnprintf" = yes; then
+-echo "$as_me:7147: checking if asnprintf needs a prototype" >&5
++echo "configure:10462: checking if asnprintf needs a prototype" >&5
+ echo $ECHO_N "checking if asnprintf needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_asnprintf_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 7153 "configure"
++#line 10468 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -7167,20 +10482,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:7170: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:10485: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_asnprintf_noproto=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_func_asnprintf_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:7179: result: $ac_cv_func_asnprintf_noproto" >&5
++echo "configure:10494: result: $ac_cv_func_asnprintf_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_asnprintf_noproto" >&6
+ 
+ if test "$ac_cv_func_asnprintf_noproto" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define NEED_ASNPRINTF_PROTO 1
+ EOF
+@@ -7192,13 +10507,13 @@
+ if test "$ac_cv_func_vasnprintf" = yes; then
+ 
+ if test "$ac_cv_func_vasnprintf+set" != set -o "$ac_cv_func_vasnprintf" = yes; then
+-echo "$as_me:7195: checking if vasnprintf needs a prototype" >&5
++echo "configure:10510: checking if vasnprintf needs a prototype" >&5
+ echo $ECHO_N "checking if vasnprintf needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_vasnprintf_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 7201 "configure"
++#line 10516 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -7215,20 +10530,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:7218: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:10533: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_vasnprintf_noproto=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_func_vasnprintf_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:7227: result: $ac_cv_func_vasnprintf_noproto" >&5
++echo "configure:10542: result: $ac_cv_func_vasnprintf_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_vasnprintf_noproto" >&6
+ 
+ if test "$ac_cv_func_vasnprintf_noproto" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define NEED_VASNPRINTF_PROTO 1
+ EOF
+@@ -7238,7 +10553,7 @@
+ fi
+ fi
+ 
+-echo "$as_me:7241: checking for bswap16" >&5
++echo "configure:10556: checking for bswap16" >&5
+ echo $ECHO_N "checking for bswap16... $ECHO_C" >&6
+ if test "${ac_cv_funclib_bswap16+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -7254,7 +10569,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 7257 "configure"
++#line 10572 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_SYS_BSWAP_H
+ #include <sys/bswap.h>
+@@ -7268,10 +10583,10 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:7271: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:10586: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_bswap16=$ac_lib; else ac_cv_funclib_bswap16=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+@@ -7285,17 +10600,17 @@
+ eval "ac_res=\$ac_cv_funclib_bswap16"
+ 
+ if false; then
+-
++	
+ for ac_func in bswap16
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:7292: checking for $ac_func" >&5
++echo "configure:10607: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 7298 "configure"
++#line 10613 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -7326,16 +10641,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:7329: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:10644: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:7338: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:10653: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -7359,13 +10674,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:7362: result: yes" >&5
++	echo "configure:10677: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_bswap16=no"
+ 	eval "LIB_bswap16="
+-	echo "$as_me:7368: result: no" >&5
++	echo "configure:10683: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -7379,12 +10694,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:7382: result: yes, in $ac_res" >&5
++	echo "configure:10697: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "$as_me:7387: checking for bswap32" >&5
++echo "configure:10702: checking for bswap32" >&5
+ echo $ECHO_N "checking for bswap32... $ECHO_C" >&6
+ if test "${ac_cv_funclib_bswap32+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -7400,7 +10715,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 7403 "configure"
++#line 10718 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_SYS_BSWAP_H
+ #include <sys/bswap.h>
+@@ -7414,10 +10729,10 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:7417: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:10732: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_bswap32=$ac_lib; else ac_cv_funclib_bswap32=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+@@ -7431,17 +10746,17 @@
+ eval "ac_res=\$ac_cv_funclib_bswap32"
+ 
+ if false; then
+-
++	
+ for ac_func in bswap32
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:7438: checking for $ac_func" >&5
++echo "configure:10753: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 7444 "configure"
++#line 10759 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -7472,16 +10787,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:7475: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:10790: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:7484: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:10799: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -7505,13 +10820,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:7508: result: yes" >&5
++	echo "configure:10823: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_bswap32=no"
+ 	eval "LIB_bswap32="
+-	echo "$as_me:7514: result: no" >&5
++	echo "configure:10829: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -7525,12 +10840,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:7528: result: yes, in $ac_res" >&5
++	echo "configure:10843: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "$as_me:7533: checking for pidfile" >&5
++echo "configure:10848: checking for pidfile" >&5
+ echo $ECHO_N "checking for pidfile... $ECHO_C" >&6
+ if test "${ac_cv_funclib_pidfile+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -7546,7 +10861,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 7549 "configure"
++#line 10864 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_UTIL_H
+ #include <util.h>
+@@ -7560,10 +10875,10 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:7563: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:10878: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_pidfile=$ac_lib; else ac_cv_funclib_pidfile=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+@@ -7577,17 +10892,17 @@
+ eval "ac_res=\$ac_cv_funclib_pidfile"
+ 
+ if false; then
+-
++	
+ for ac_func in pidfile
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:7584: checking for $ac_func" >&5
++echo "configure:10899: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 7590 "configure"
++#line 10905 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -7618,16 +10933,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:7621: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:10936: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:7630: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:10945: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -7651,13 +10966,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:7654: result: yes" >&5
++	echo "configure:10969: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_pidfile=no"
+ 	eval "LIB_pidfile="
+-	echo "$as_me:7660: result: no" >&5
++	echo "configure:10975: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -7671,7 +10986,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:7674: result: yes, in $ac_res" >&5
++	echo "configure:10989: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -7745,13 +11060,13 @@
+ 
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:7748: checking for $ac_func" >&5
++echo "configure:11063: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 7754 "configure"
++#line 11069 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -7782,16 +11097,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:7785: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:11100: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:7794: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:11109: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+ 
+@@ -7805,6 +11120,7 @@
+ fi
+ 
+ if false; then
++	
+ 
+ for ac_func in \
+ 	chown					\
+@@ -7875,13 +11191,13 @@
+ 
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:7878: checking for $ac_func" >&5
++echo "configure:11194: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 7884 "configure"
++#line 11200 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -7912,16 +11228,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:7915: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:11231: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:7924: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:11240: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -7936,13 +11252,13 @@
+ 
+ for ac_func in inet_aton
+ do
+-echo "$as_me:7939: checking for $ac_func" >&5
++echo "configure:11255: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_func_$ac_func+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 7945 "configure"
++#line 11261 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_SYS_TYPES_H
+ #include <sys/types.h>
+@@ -7974,10 +11290,10 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:7977: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:11293: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "ac_cv_func_$ac_func=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_func_$ac_func=no"
+ fi
+@@ -7990,26 +11306,26 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-  echo "$as_me:7993: result: yes" >&5
++  echo "configure:11309: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ else
+-  echo "$as_me:7996: result: no" >&5
++  echo "configure:11312: result: no" >&5
+ echo "${ECHO_T}no" >&6
+   LIBOBJS="$LIBOBJS ${ac_func}.o"
+ fi
+ done
+ if false; then
+-
++	
+ for ac_func in inet_aton
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:8006: checking for $ac_func" >&5
++echo "configure:11322: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 8012 "configure"
++#line 11328 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -8040,16 +11356,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:8043: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:11359: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:8052: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:11368: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -8063,13 +11379,13 @@
+ 
+ for ac_func in inet_ntop
+ do
+-echo "$as_me:8066: checking for $ac_func" >&5
++echo "configure:11382: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_func_$ac_func+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 8072 "configure"
++#line 11388 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_SYS_TYPES_H
+ #include <sys/types.h>
+@@ -8101,10 +11417,10 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:8104: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:11420: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "ac_cv_func_$ac_func=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_func_$ac_func=no"
+ fi
+@@ -8117,26 +11433,26 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-  echo "$as_me:8120: result: yes" >&5
++  echo "configure:11436: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ else
+-  echo "$as_me:8123: result: no" >&5
++  echo "configure:11439: result: no" >&5
+ echo "${ECHO_T}no" >&6
+   LIBOBJS="$LIBOBJS ${ac_func}.o"
+ fi
+ done
+ if false; then
+-
++	
+ for ac_func in inet_ntop
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:8133: checking for $ac_func" >&5
++echo "configure:11449: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 8139 "configure"
++#line 11455 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -8167,16 +11483,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:8170: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:11486: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:8179: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:11495: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -8190,13 +11506,13 @@
+ 
+ for ac_func in inet_pton
+ do
+-echo "$as_me:8193: checking for $ac_func" >&5
++echo "configure:11509: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_func_$ac_func+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 8199 "configure"
++#line 11515 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_SYS_TYPES_H
+ #include <sys/types.h>
+@@ -8228,10 +11544,10 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:8231: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:11547: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "ac_cv_func_$ac_func=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_func_$ac_func=no"
+ fi
+@@ -8244,26 +11560,26 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-  echo "$as_me:8247: result: yes" >&5
++  echo "configure:11563: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ else
+-  echo "$as_me:8250: result: no" >&5
++  echo "configure:11566: result: no" >&5
+ echo "${ECHO_T}no" >&6
+   LIBOBJS="$LIBOBJS ${ac_func}.o"
+ fi
+ done
+ if false; then
+-
++	
+ for ac_func in inet_pton
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:8260: checking for $ac_func" >&5
++echo "configure:11576: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 8266 "configure"
++#line 11582 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -8294,16 +11610,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:8297: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:11613: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:8306: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:11622: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -8315,14 +11631,14 @@
+ 
+ fi
+ 
+-echo "$as_me:8318: checking for sa_len in struct sockaddr" >&5
++echo "configure:11634: checking for sa_len in struct sockaddr" >&5
+ echo $ECHO_N "checking for sa_len in struct sockaddr... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_sockaddr_sa_len+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 8325 "configure"
++#line 11641 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #include <sys/socket.h>
+@@ -8335,38 +11651,39 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:8338: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:11654: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_sockaddr_sa_len=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_struct_sockaddr_sa_len=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:8347: result: $ac_cv_type_struct_sockaddr_sa_len" >&5
++echo "configure:11663: result: $ac_cv_type_struct_sockaddr_sa_len" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_sockaddr_sa_len" >&6
+ if test "$ac_cv_type_struct_sockaddr_sa_len" = yes; then
+-
++	
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
+ EOF
+ 
++	
+ fi
+ 
+ if test "$ac_cv_func_getnameinfo" = "yes"; then
+ 
+-echo "$as_me:8359: checking if getnameinfo is broken" >&5
++echo "configure:11677: checking if getnameinfo is broken" >&5
+ echo $ECHO_N "checking if getnameinfo is broken... $ECHO_C" >&6
+ if test "${ac_cv_func_getnameinfo_broken+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   if test "$cross_compiling" = yes; then
+-  {  echo "$as_me: error: cannot run test program while cross compiling" >&2
+-  { (exit 1); exit; }; }
++  { echo "configure: error: cannot run test program while cross compiling" >&2; exit 1; }
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 8369 "configure"
++#line 11686 "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
+ #include <sys/types.h>
+@@ -8392,23 +11709,19 @@
+ 
+ _ACEOF
+ rm -f conftest$ac_exeext
+-{ (eval echo $as_me:8395: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
+-  (./conftest$ac_exeext) >&5 2>&1;
+-ac_status=$?
+-if test $ac_status = 0; then
++if { (eval echo configure:11712: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
++   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
+   ac_cv_func_getnameinfo_broken=no
+ else
+-  echo "$as_me: program exited with status $ac_status" >&5
+-echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_getnameinfo_broken=yes
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_getnameinfo_broken=yes
+ fi
+-
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+ 
+ fi
+-echo "$as_me:8411: result: $ac_cv_func_getnameinfo_broken" >&5
++echo "configure:11724: result: $ac_cv_func_getnameinfo_broken" >&5
+ echo "${ECHO_T}$ac_cv_func_getnameinfo_broken" >&6
+   if test "$ac_cv_func_getnameinfo_broken" = yes; then
+     LIBOBJS="$LIBOBJS getnameinfo.o"
+@@ -8416,13 +11729,13 @@
+ fi
+ 
+ if test "$ac_cv_func_setenv+set" != set -o "$ac_cv_func_setenv" = yes; then
+-echo "$as_me:8419: checking if setenv needs a prototype" >&5
++echo "configure:11732: checking if setenv needs a prototype" >&5
+ echo $ECHO_N "checking if setenv needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_setenv_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 8425 "configure"
++#line 11738 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ int
+@@ -8437,20 +11750,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:8440: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:11753: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_setenv_noproto=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_func_setenv_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:8449: result: $ac_cv_func_setenv_noproto" >&5
++echo "configure:11762: result: $ac_cv_func_setenv_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_setenv_noproto" >&6
+ 
+ if test "$ac_cv_func_setenv_noproto" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define NEED_SETENV_PROTO 1
+ EOF
+@@ -8460,13 +11773,13 @@
+ fi
+ 
+ if test "$ac_cv_func_unsetenv+set" != set -o "$ac_cv_func_unsetenv" = yes; then
+-echo "$as_me:8463: checking if unsetenv needs a prototype" >&5
++echo "configure:11776: checking if unsetenv needs a prototype" >&5
+ echo $ECHO_N "checking if unsetenv needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_unsetenv_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 8469 "configure"
++#line 11782 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ int
+@@ -8481,20 +11794,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:8484: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:11797: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_unsetenv_noproto=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_func_unsetenv_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:8493: result: $ac_cv_func_unsetenv_noproto" >&5
++echo "configure:11806: result: $ac_cv_func_unsetenv_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_unsetenv_noproto" >&6
+ 
+ if test "$ac_cv_func_unsetenv_noproto" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define NEED_UNSETENV_PROTO 1
+ EOF
+@@ -8504,13 +11817,13 @@
+ fi
+ 
+ if test "$ac_cv_func_gethostname+set" != set -o "$ac_cv_func_gethostname" = yes; then
+-echo "$as_me:8507: checking if gethostname needs a prototype" >&5
++echo "configure:11820: checking if gethostname needs a prototype" >&5
+ echo $ECHO_N "checking if gethostname needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_gethostname_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 8513 "configure"
++#line 11826 "configure"
+ #include "confdefs.h"
+ #include <unistd.h>
+ int
+@@ -8525,20 +11838,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:8528: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:11841: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_gethostname_noproto=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_func_gethostname_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:8537: result: $ac_cv_func_gethostname_noproto" >&5
++echo "configure:11850: result: $ac_cv_func_gethostname_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_gethostname_noproto" >&6
+ 
+ if test "$ac_cv_func_gethostname_noproto" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define NEED_GETHOSTNAME_PROTO 1
+ EOF
+@@ -8548,13 +11861,13 @@
+ fi
+ 
+ if test "$ac_cv_func_mkstemp+set" != set -o "$ac_cv_func_mkstemp" = yes; then
+-echo "$as_me:8551: checking if mkstemp needs a prototype" >&5
++echo "configure:11864: checking if mkstemp needs a prototype" >&5
+ echo $ECHO_N "checking if mkstemp needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_mkstemp_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 8557 "configure"
++#line 11870 "configure"
+ #include "confdefs.h"
+ #include <unistd.h>
+ int
+@@ -8569,20 +11882,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:8572: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:11885: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_mkstemp_noproto=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_func_mkstemp_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:8581: result: $ac_cv_func_mkstemp_noproto" >&5
++echo "configure:11894: result: $ac_cv_func_mkstemp_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_mkstemp_noproto" >&6
+ 
+ if test "$ac_cv_func_mkstemp_noproto" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define NEED_MKSTEMP_PROTO 1
+ EOF
+@@ -8592,13 +11905,13 @@
+ fi
+ 
+ if test "$ac_cv_func_getusershell+set" != set -o "$ac_cv_func_getusershell" = yes; then
+-echo "$as_me:8595: checking if getusershell needs a prototype" >&5
++echo "configure:11908: checking if getusershell needs a prototype" >&5
+ echo $ECHO_N "checking if getusershell needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_getusershell_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 8601 "configure"
++#line 11914 "configure"
+ #include "confdefs.h"
+ #include <unistd.h>
+ int
+@@ -8613,20 +11926,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:8616: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:11929: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_getusershell_noproto=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_func_getusershell_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:8625: result: $ac_cv_func_getusershell_noproto" >&5
++echo "configure:11938: result: $ac_cv_func_getusershell_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_getusershell_noproto" >&6
+ 
+ if test "$ac_cv_func_getusershell_noproto" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define NEED_GETUSERSHELL_PROTO 1
+ EOF
+@@ -8636,13 +11949,13 @@
+ fi
+ 
+ if test "$ac_cv_func_inet_aton+set" != set -o "$ac_cv_func_inet_aton" = yes; then
+-echo "$as_me:8639: checking if inet_aton needs a prototype" >&5
++echo "configure:11952: checking if inet_aton needs a prototype" >&5
+ echo $ECHO_N "checking if inet_aton needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_inet_aton_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 8645 "configure"
++#line 11958 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_SYS_TYPES_H
+@@ -8669,20 +11982,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:8672: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:11985: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_inet_aton_noproto=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_func_inet_aton_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:8681: result: $ac_cv_func_inet_aton_noproto" >&5
++echo "configure:11994: result: $ac_cv_func_inet_aton_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_inet_aton_noproto" >&6
+ 
+ if test "$ac_cv_func_inet_aton_noproto" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define NEED_INET_ATON_PROTO 1
+ EOF
+@@ -8691,7 +12004,7 @@
+ 
+ fi
+ 
+-echo "$as_me:8694: checking for crypt" >&5
++echo "configure:12007: checking for crypt" >&5
+ echo $ECHO_N "checking for crypt... $ECHO_C" >&6
+ if test "${ac_cv_funclib_crypt+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -8707,7 +12020,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 8710 "configure"
++#line 12023 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -8719,10 +12032,10 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:8722: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:12035: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_crypt=$ac_lib; else ac_cv_funclib_crypt=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+@@ -8736,17 +12049,17 @@
+ eval "ac_res=\$ac_cv_funclib_crypt"
+ 
+ if false; then
+-
++	
+ for ac_func in crypt
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:8743: checking for $ac_func" >&5
++echo "configure:12056: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 8749 "configure"
++#line 12062 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -8777,16 +12090,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:8780: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:12093: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:8789: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:12102: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -8810,13 +12123,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:8813: result: yes" >&5
++	echo "configure:12126: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_crypt=no"
+ 	eval "LIB_crypt="
+-	echo "$as_me:8819: result: no" >&5
++	echo "configure:12132: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -8830,18 +12143,18 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:8833: result: yes, in $ac_res" >&5
++	echo "configure:12146: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "$as_me:8838: checking if gethostbyname is compatible with system prototype" >&5
++echo "configure:12151: checking if gethostbyname is compatible with system prototype" >&5
+ echo $ECHO_N "checking if gethostbyname is compatible with system prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_gethostbyname_proto_compat+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 8844 "configure"
++#line 12157 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_SYS_TYPES_H
+@@ -8869,33 +12182,33 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:8872: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:12185: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_gethostbyname_proto_compat=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_func_gethostbyname_proto_compat=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:8881: result: $ac_cv_func_gethostbyname_proto_compat" >&5
++echo "configure:12194: result: $ac_cv_func_gethostbyname_proto_compat" >&5
+ echo "${ECHO_T}$ac_cv_func_gethostbyname_proto_compat" >&6
+ 
+ if test "$ac_cv_func_gethostbyname_proto_compat" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define GETHOSTBYNAME_PROTO_COMPATIBLE 1
+ EOF
+ 
+ fi
+ 
+-echo "$as_me:8892: checking if gethostbyaddr is compatible with system prototype" >&5
++echo "configure:12205: checking if gethostbyaddr is compatible with system prototype" >&5
+ echo $ECHO_N "checking if gethostbyaddr is compatible with system prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_gethostbyaddr_proto_compat+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 8898 "configure"
++#line 12211 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_SYS_TYPES_H
+@@ -8923,33 +12236,33 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:8926: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:12239: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_gethostbyaddr_proto_compat=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_func_gethostbyaddr_proto_compat=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:8935: result: $ac_cv_func_gethostbyaddr_proto_compat" >&5
++echo "configure:12248: result: $ac_cv_func_gethostbyaddr_proto_compat" >&5
+ echo "${ECHO_T}$ac_cv_func_gethostbyaddr_proto_compat" >&6
+ 
+ if test "$ac_cv_func_gethostbyaddr_proto_compat" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define GETHOSTBYADDR_PROTO_COMPATIBLE 1
+ EOF
+ 
+ fi
+ 
+-echo "$as_me:8946: checking if getservbyname is compatible with system prototype" >&5
++echo "configure:12259: checking if getservbyname is compatible with system prototype" >&5
+ echo $ECHO_N "checking if getservbyname is compatible with system prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_getservbyname_proto_compat+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 8952 "configure"
++#line 12265 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_SYS_TYPES_H
+@@ -8977,33 +12290,33 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:8980: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:12293: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_getservbyname_proto_compat=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_func_getservbyname_proto_compat=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:8989: result: $ac_cv_func_getservbyname_proto_compat" >&5
++echo "configure:12302: result: $ac_cv_func_getservbyname_proto_compat" >&5
+ echo "${ECHO_T}$ac_cv_func_getservbyname_proto_compat" >&6
+ 
+ if test "$ac_cv_func_getservbyname_proto_compat" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define GETSERVBYNAME_PROTO_COMPATIBLE 1
+ EOF
+ 
+ fi
+ 
+-echo "$as_me:9000: checking if getsockname is compatible with system prototype" >&5
++echo "configure:12313: checking if getsockname is compatible with system prototype" >&5
+ echo $ECHO_N "checking if getsockname is compatible with system prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_getsockname_proto_compat+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 9006 "configure"
++#line 12319 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_SYS_TYPES_H
+@@ -9022,33 +12335,33 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:9025: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:12338: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_getsockname_proto_compat=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_func_getsockname_proto_compat=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:9034: result: $ac_cv_func_getsockname_proto_compat" >&5
++echo "configure:12347: result: $ac_cv_func_getsockname_proto_compat" >&5
+ echo "${ECHO_T}$ac_cv_func_getsockname_proto_compat" >&6
+ 
+ if test "$ac_cv_func_getsockname_proto_compat" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define GETSOCKNAME_PROTO_COMPATIBLE 1
+ EOF
+ 
+ fi
+ 
+-echo "$as_me:9045: checking if openlog is compatible with system prototype" >&5
++echo "configure:12358: checking if openlog is compatible with system prototype" >&5
+ echo $ECHO_N "checking if openlog is compatible with system prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_openlog_proto_compat+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 9051 "configure"
++#line 12364 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_SYSLOG_H
+@@ -9064,20 +12377,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:9067: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:12380: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_openlog_proto_compat=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_func_openlog_proto_compat=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:9076: result: $ac_cv_func_openlog_proto_compat" >&5
++echo "configure:12389: result: $ac_cv_func_openlog_proto_compat" >&5
+ echo "${ECHO_T}$ac_cv_func_openlog_proto_compat" >&6
+ 
+ if test "$ac_cv_func_openlog_proto_compat" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define OPENLOG_PROTO_COMPATIBLE 1
+ EOF
+@@ -9085,13 +12398,13 @@
+ fi
+ 
+ if test "$ac_cv_func_crypt+set" != set -o "$ac_cv_func_crypt" = yes; then
+-echo "$as_me:9088: checking if crypt needs a prototype" >&5
++echo "configure:12401: checking if crypt needs a prototype" >&5
+ echo $ECHO_N "checking if crypt needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_crypt_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 9094 "configure"
++#line 12407 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_CRYPT_H
+@@ -9113,20 +12426,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:9116: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:12429: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_crypt_noproto=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_func_crypt_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:9125: result: $ac_cv_func_crypt_noproto" >&5
++echo "configure:12438: result: $ac_cv_func_crypt_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_crypt_noproto" >&6
+ 
+ if test "$ac_cv_func_crypt_noproto" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define NEED_CRYPT_PROTO 1
+ EOF
+@@ -9136,13 +12449,13 @@
+ fi
+ 
+ if test "$ac_cv_func_strtok_r+set" != set -o "$ac_cv_func_strtok_r" = yes; then
+-echo "$as_me:9139: checking if strtok_r needs a prototype" >&5
++echo "configure:12452: checking if strtok_r needs a prototype" >&5
+ echo $ECHO_N "checking if strtok_r needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_strtok_r_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 9145 "configure"
++#line 12458 "configure"
+ #include "confdefs.h"
+ 
+ #include <string.h>
+@@ -9159,20 +12472,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:9162: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:12475: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_strtok_r_noproto=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_func_strtok_r_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:9171: result: $ac_cv_func_strtok_r_noproto" >&5
++echo "configure:12484: result: $ac_cv_func_strtok_r_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_strtok_r_noproto" >&6
+ 
+ if test "$ac_cv_func_strtok_r_noproto" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define NEED_STRTOK_R_PROTO 1
+ EOF
+@@ -9182,13 +12495,13 @@
+ fi
+ 
+ if test "$ac_cv_func_strsep+set" != set -o "$ac_cv_func_strsep" = yes; then
+-echo "$as_me:9185: checking if strsep needs a prototype" >&5
++echo "configure:12498: checking if strsep needs a prototype" >&5
+ echo $ECHO_N "checking if strsep needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_strsep_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 9191 "configure"
++#line 12504 "configure"
+ #include "confdefs.h"
+ 
+ #include <string.h>
+@@ -9205,20 +12518,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:9208: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:12521: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_strsep_noproto=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_func_strsep_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:9217: result: $ac_cv_func_strsep_noproto" >&5
++echo "configure:12530: result: $ac_cv_func_strsep_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_strsep_noproto" >&6
+ 
+ if test "$ac_cv_func_strsep_noproto" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define NEED_STRSEP_PROTO 1
+ EOF
+@@ -9227,14 +12540,14 @@
+ 
+ fi
+ 
+-echo "$as_me:9230: checking for h_errno" >&5
++echo "configure:12543: checking for h_errno" >&5
+ echo $ECHO_N "checking for h_errno... $ECHO_C" >&6
+ if test "${ac_cv_var_h_errno+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 9237 "configure"
++#line 12550 "configure"
+ #include "confdefs.h"
+ extern int h_errno;
+ int foo() { return h_errno; }
+@@ -9247,10 +12560,10 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:9250: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:12563: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_var_h_errno=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_var_h_errno=no
+ fi
+@@ -9259,70 +12572,25 @@
+ fi
+ 
+ ac_foo=`eval echo \\$ac_cv_var_h_errno`
+-echo "$as_me:9262: result: $ac_foo" >&5
++echo "configure:12575: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+-
++	
+ cat >>confdefs.h <<EOF
+ #define HAVE_H_ERRNO 1
+ EOF
+ 
+-echo "$as_me:9270: checking if h_errno is properly declared" >&5
+-echo $ECHO_N "checking if h_errno is properly declared... $ECHO_C" >&6
+-if test "${ac_cv_var_h_errno_declaration+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-
+-cat >conftest.$ac_ext <<_ACEOF
+-#line 9277 "configure"
+-#include "confdefs.h"
+-#ifdef HAVE_SYS_TYPES_H
+-#include <sys/types.h>
+-#endif
+-#ifdef HAVE_NETDB_H
+-#include <netdb.h>
+-#endif
+-extern struct { int foo; } h_errno;
+-int
+-main ()
+-{
+-h_errno.foo = 1;
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo $as_me:9295: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+-  eval "ac_cv_var_h_errno_declaration=no"
+-else
+-  echo "$as_me: failed program was:" >&5
+-  cat conftest.$ac_ext >&5
+-  eval "ac_cv_var_h_errno_declaration=yes"
+-fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
+-
+-fi
+-
+-echo "$as_me:9306: result: $ac_cv_var_h_errno_declaration" >&5
+-echo "${ECHO_T}$ac_cv_var_h_errno_declaration" >&6
+-if eval "test \"\$ac_cv_var_h_errno_declaration\" = yes"; then
+-
+-cat >>confdefs.h <<\EOF
+-#define HAVE_H_ERRNO_DECLARATION 1
+-EOF
+-
+-fi
+-
++	
+ fi
+ 
+-echo "$as_me:9318: checking for h_errlist" >&5
++echo "configure:12586: checking for h_errlist" >&5
+ echo $ECHO_N "checking for h_errlist... $ECHO_C" >&6
+ if test "${ac_cv_var_h_errlist+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 9325 "configure"
++#line 12593 "configure"
+ #include "confdefs.h"
+ extern int h_errlist;
+ int foo() { return h_errlist; }
+@@ -9335,10 +12603,10 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:9338: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:12606: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_var_h_errlist=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_var_h_errlist=no
+ fi
+@@ -9347,67 +12615,25 @@
+ fi
+ 
+ ac_foo=`eval echo \\$ac_cv_var_h_errlist`
+-echo "$as_me:9350: result: $ac_foo" >&5
++echo "configure:12618: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+-
++	
+ cat >>confdefs.h <<EOF
+ #define HAVE_H_ERRLIST 1
+ EOF
+ 
+-echo "$as_me:9358: checking if h_errlist is properly declared" >&5
+-echo $ECHO_N "checking if h_errlist is properly declared... $ECHO_C" >&6
+-if test "${ac_cv_var_h_errlist_declaration+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-
+-cat >conftest.$ac_ext <<_ACEOF
+-#line 9365 "configure"
+-#include "confdefs.h"
+-#ifdef HAVE_NETDB_H
+-#include <netdb.h>
+-#endif
+-extern struct { int foo; } h_errlist;
+-int
+-main ()
+-{
+-h_errlist.foo = 1;
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo $as_me:9380: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+-  eval "ac_cv_var_h_errlist_declaration=no"
+-else
+-  echo "$as_me: failed program was:" >&5
+-  cat conftest.$ac_ext >&5
+-  eval "ac_cv_var_h_errlist_declaration=yes"
+-fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
+-
+-fi
+-
+-echo "$as_me:9391: result: $ac_cv_var_h_errlist_declaration" >&5
+-echo "${ECHO_T}$ac_cv_var_h_errlist_declaration" >&6
+-if eval "test \"\$ac_cv_var_h_errlist_declaration\" = yes"; then
+-
+-cat >>confdefs.h <<\EOF
+-#define HAVE_H_ERRLIST_DECLARATION 1
+-EOF
+-
++	
+ fi
+ 
+-fi
+-
+-echo "$as_me:9403: checking for h_nerr" >&5
++echo "configure:12629: checking for h_nerr" >&5
+ echo $ECHO_N "checking for h_nerr... $ECHO_C" >&6
+ if test "${ac_cv_var_h_nerr+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 9410 "configure"
++#line 12636 "configure"
+ #include "confdefs.h"
+ extern int h_nerr;
+ int foo() { return h_nerr; }
+@@ -9420,10 +12646,10 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:9423: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:12649: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_var_h_nerr=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_var_h_nerr=no
+ fi
+@@ -9432,67 +12658,25 @@
+ fi
+ 
+ ac_foo=`eval echo \\$ac_cv_var_h_nerr`
+-echo "$as_me:9435: result: $ac_foo" >&5
++echo "configure:12661: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+-
++	
+ cat >>confdefs.h <<EOF
+ #define HAVE_H_NERR 1
+ EOF
+ 
+-echo "$as_me:9443: checking if h_nerr is properly declared" >&5
+-echo $ECHO_N "checking if h_nerr is properly declared... $ECHO_C" >&6
+-if test "${ac_cv_var_h_nerr_declaration+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-
+-cat >conftest.$ac_ext <<_ACEOF
+-#line 9450 "configure"
+-#include "confdefs.h"
+-#ifdef HAVE_NETDB_H
+-#include <netdb.h>
+-#endif
+-extern struct { int foo; } h_nerr;
+-int
+-main ()
+-{
+-h_nerr.foo = 1;
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo $as_me:9465: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+-  eval "ac_cv_var_h_nerr_declaration=no"
+-else
+-  echo "$as_me: failed program was:" >&5
+-  cat conftest.$ac_ext >&5
+-  eval "ac_cv_var_h_nerr_declaration=yes"
+-fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
+-
+-fi
+-
+-echo "$as_me:9476: result: $ac_cv_var_h_nerr_declaration" >&5
+-echo "${ECHO_T}$ac_cv_var_h_nerr_declaration" >&6
+-if eval "test \"\$ac_cv_var_h_nerr_declaration\" = yes"; then
+-
+-cat >>confdefs.h <<\EOF
+-#define HAVE_H_NERR_DECLARATION 1
+-EOF
+-
+-fi
+-
++	
+ fi
+ 
+-echo "$as_me:9488: checking for __progname" >&5
++echo "configure:12672: checking for __progname" >&5
+ echo $ECHO_N "checking for __progname... $ECHO_C" >&6
+ if test "${ac_cv_var___progname+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 9495 "configure"
++#line 12679 "configure"
+ #include "confdefs.h"
+ extern int __progname;
+ int foo() { return __progname; }
+@@ -9505,79 +12689,37 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:9508: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:12692: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_var___progname=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_var___progname=no
+ fi
+-rm -f conftest$ac_exeext conftest.$ac_ext
+-
+-fi
+-
+-ac_foo=`eval echo \\$ac_cv_var___progname`
+-echo "$as_me:9520: result: $ac_foo" >&5
+-echo "${ECHO_T}$ac_foo" >&6
+-if test "$ac_foo" = yes; then
+-
+-cat >>confdefs.h <<EOF
+-#define HAVE___PROGNAME 1
+-EOF
+-
+-echo "$as_me:9528: checking if __progname is properly declared" >&5
+-echo $ECHO_N "checking if __progname is properly declared... $ECHO_C" >&6
+-if test "${ac_cv_var___progname_declaration+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-
+-cat >conftest.$ac_ext <<_ACEOF
+-#line 9535 "configure"
+-#include "confdefs.h"
+-#ifdef HAVE_ERR_H
+-#include <err.h>
+-#endif
+-extern struct { int foo; } __progname;
+-int
+-main ()
+-{
+-__progname.foo = 1;
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo $as_me:9550: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+-  eval "ac_cv_var___progname_declaration=no"
+-else
+-  echo "$as_me: failed program was:" >&5
+-  cat conftest.$ac_ext >&5
+-  eval "ac_cv_var___progname_declaration=yes"
+-fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
+-
+-fi
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 
+-echo "$as_me:9561: result: $ac_cv_var___progname_declaration" >&5
+-echo "${ECHO_T}$ac_cv_var___progname_declaration" >&6
+-if eval "test \"\$ac_cv_var___progname_declaration\" = yes"; then
++fi
+ 
+-cat >>confdefs.h <<\EOF
+-#define HAVE___PROGNAME_DECLARATION 1
++ac_foo=`eval echo \\$ac_cv_var___progname`
++echo "configure:12704: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++	
++cat >>confdefs.h <<EOF
++#define HAVE___PROGNAME 1
+ EOF
+ 
++	
+ fi
+ 
+-fi
+-
+-echo "$as_me:9573: checking if optarg is properly declared" >&5
++echo "configure:12715: checking if optarg is properly declared" >&5
+ echo $ECHO_N "checking if optarg is properly declared... $ECHO_C" >&6
+ if test "${ac_cv_var_optarg_declaration+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 9580 "configure"
++#line 12722 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ #ifdef HAVE_UNISTD_H
+@@ -9593,10 +12735,10 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:9596: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:12738: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_var_optarg_declaration=no"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_var_optarg_declaration=yes"
+ fi
+@@ -9604,24 +12746,24 @@
+ 
+ fi
+ 
+-echo "$as_me:9607: result: $ac_cv_var_optarg_declaration" >&5
++echo "configure:12749: result: $ac_cv_var_optarg_declaration" >&5
+ echo "${ECHO_T}$ac_cv_var_optarg_declaration" >&6
+ if eval "test \"\$ac_cv_var_optarg_declaration\" = yes"; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_OPTARG_DECLARATION 1
+ EOF
+ 
+ fi
+ 
+-echo "$as_me:9617: checking if optind is properly declared" >&5
++echo "configure:12759: checking if optind is properly declared" >&5
+ echo $ECHO_N "checking if optind is properly declared... $ECHO_C" >&6
+ if test "${ac_cv_var_optind_declaration+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 9624 "configure"
++#line 12766 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ #ifdef HAVE_UNISTD_H
+@@ -9637,10 +12779,10 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:9640: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:12782: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_var_optind_declaration=no"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_var_optind_declaration=yes"
+ fi
+@@ -9648,24 +12790,24 @@
+ 
+ fi
+ 
+-echo "$as_me:9651: result: $ac_cv_var_optind_declaration" >&5
++echo "configure:12793: result: $ac_cv_var_optind_declaration" >&5
+ echo "${ECHO_T}$ac_cv_var_optind_declaration" >&6
+ if eval "test \"\$ac_cv_var_optind_declaration\" = yes"; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_OPTIND_DECLARATION 1
+ EOF
+ 
+ fi
+ 
+-echo "$as_me:9661: checking if opterr is properly declared" >&5
++echo "configure:12803: checking if opterr is properly declared" >&5
+ echo $ECHO_N "checking if opterr is properly declared... $ECHO_C" >&6
+ if test "${ac_cv_var_opterr_declaration+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 9668 "configure"
++#line 12810 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ #ifdef HAVE_UNISTD_H
+@@ -9681,10 +12823,10 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:9684: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:12826: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_var_opterr_declaration=no"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_var_opterr_declaration=yes"
+ fi
+@@ -9692,24 +12834,24 @@
+ 
+ fi
+ 
+-echo "$as_me:9695: result: $ac_cv_var_opterr_declaration" >&5
++echo "configure:12837: result: $ac_cv_var_opterr_declaration" >&5
+ echo "${ECHO_T}$ac_cv_var_opterr_declaration" >&6
+ if eval "test \"\$ac_cv_var_opterr_declaration\" = yes"; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_OPTERR_DECLARATION 1
+ EOF
+ 
+ fi
+ 
+-echo "$as_me:9705: checking if optopt is properly declared" >&5
++echo "configure:12847: checking if optopt is properly declared" >&5
+ echo $ECHO_N "checking if optopt is properly declared... $ECHO_C" >&6
+ if test "${ac_cv_var_optopt_declaration+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 9712 "configure"
++#line 12854 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ #ifdef HAVE_UNISTD_H
+@@ -9725,10 +12867,10 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:9728: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:12870: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_var_optopt_declaration=no"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_var_optopt_declaration=yes"
+ fi
+@@ -9736,24 +12878,24 @@
+ 
+ fi
+ 
+-echo "$as_me:9739: result: $ac_cv_var_optopt_declaration" >&5
++echo "configure:12881: result: $ac_cv_var_optopt_declaration" >&5
+ echo "${ECHO_T}$ac_cv_var_optopt_declaration" >&6
+ if eval "test \"\$ac_cv_var_optopt_declaration\" = yes"; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_OPTOPT_DECLARATION 1
+ EOF
+ 
+ fi
+ 
+-echo "$as_me:9749: checking if environ is properly declared" >&5
++echo "configure:12891: checking if environ is properly declared" >&5
+ echo $ECHO_N "checking if environ is properly declared... $ECHO_C" >&6
+ if test "${ac_cv_var_environ_declaration+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 9756 "configure"
++#line 12898 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ extern struct { int foo; } environ;
+@@ -9766,10 +12908,10 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:9769: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:12911: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_var_environ_declaration=no"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_var_environ_declaration=yes"
+ fi
+@@ -9777,24 +12919,24 @@
+ 
+ fi
+ 
+-echo "$as_me:9780: result: $ac_cv_var_environ_declaration" >&5
++echo "configure:12922: result: $ac_cv_var_environ_declaration" >&5
+ echo "${ECHO_T}$ac_cv_var_environ_declaration" >&6
+ if eval "test \"\$ac_cv_var_environ_declaration\" = yes"; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_ENVIRON_DECLARATION 1
+ EOF
+ 
+ fi
+ 
+-echo "$as_me:9790: checking for tm_gmtoff in struct tm" >&5
++echo "configure:12932: checking for tm_gmtoff in struct tm" >&5
+ echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_tm_tm_gmtoff+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 9797 "configure"
++#line 12939 "configure"
+ #include "confdefs.h"
+ #include <time.h>
+ int
+@@ -9806,33 +12948,35 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:9809: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:12951: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_tm_tm_gmtoff=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_struct_tm_tm_gmtoff=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:9818: result: $ac_cv_type_struct_tm_tm_gmtoff" >&5
++echo "configure:12960: result: $ac_cv_type_struct_tm_tm_gmtoff" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_tm_tm_gmtoff" >&6
+ if test "$ac_cv_type_struct_tm_tm_gmtoff" = yes; then
+-
++	
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_STRUCT_TM_TM_GMTOFF 1
+ EOF
+ 
++	
+ fi
+ 
+-echo "$as_me:9828: checking for tm_zone in struct tm" >&5
++echo "configure:12972: checking for tm_zone in struct tm" >&5
+ echo $ECHO_N "checking for tm_zone in struct tm... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_tm_tm_zone+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 9835 "configure"
++#line 12979 "configure"
+ #include "confdefs.h"
+ #include <time.h>
+ int
+@@ -9844,33 +12988,35 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:9847: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:12991: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_tm_tm_zone=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_struct_tm_tm_zone=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:9856: result: $ac_cv_type_struct_tm_tm_zone" >&5
++echo "configure:13000: result: $ac_cv_type_struct_tm_tm_zone" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_tm_tm_zone" >&6
+ if test "$ac_cv_type_struct_tm_tm_zone" = yes; then
+-
++	
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_STRUCT_TM_TM_ZONE 1
+ EOF
+ 
++	
+ fi
+ 
+-echo "$as_me:9866: checking for timezone" >&5
++echo "configure:13012: checking for timezone" >&5
+ echo $ECHO_N "checking for timezone... $ECHO_C" >&6
+ if test "${ac_cv_var_timezone+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 9873 "configure"
++#line 13019 "configure"
+ #include "confdefs.h"
+ extern int timezone;
+ int foo() { return timezone; }
+@@ -9883,10 +13029,10 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:9886: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:13032: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_var_timezone=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_var_timezone=no
+ fi
+@@ -9895,65 +13041,25 @@
+ fi
+ 
+ ac_foo=`eval echo \\$ac_cv_var_timezone`
+-echo "$as_me:9898: result: $ac_foo" >&5
++echo "configure:13044: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+-
++	
+ cat >>confdefs.h <<EOF
+ #define HAVE_TIMEZONE 1
+ EOF
+ 
+-echo "$as_me:9906: checking if timezone is properly declared" >&5
+-echo $ECHO_N "checking if timezone is properly declared... $ECHO_C" >&6
+-if test "${ac_cv_var_timezone_declaration+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-
+-cat >conftest.$ac_ext <<_ACEOF
+-#line 9913 "configure"
+-#include "confdefs.h"
+-#include <time.h>
+-extern struct { int foo; } timezone;
+-int
+-main ()
+-{
+-timezone.foo = 1;
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo $as_me:9926: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+-  eval "ac_cv_var_timezone_declaration=no"
+-else
+-  echo "$as_me: failed program was:" >&5
+-  cat conftest.$ac_ext >&5
+-  eval "ac_cv_var_timezone_declaration=yes"
+-fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
+-
+-fi
+-
+-echo "$as_me:9937: result: $ac_cv_var_timezone_declaration" >&5
+-echo "${ECHO_T}$ac_cv_var_timezone_declaration" >&6
+-if eval "test \"\$ac_cv_var_timezone_declaration\" = yes"; then
+-
+-cat >>confdefs.h <<\EOF
+-#define HAVE_TIMEZONE_DECLARATION 1
+-EOF
+-
+-fi
+-
++	
+ fi
+ 
+ cv=`echo "sa_family_t" | sed 'y%./+- %__p__%'`
+-echo "$as_me:9950: checking for sa_family_t" >&5
++echo "configure:13056: checking for sa_family_t" >&5
+ echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 9956 "configure"
++#line 13062 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -9970,28 +13076,28 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:9973: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:13079: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_type_$cv=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_type_$cv=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:9983: result: $ac_foo" >&5
++echo "configure:13089: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo sa_family_t | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:9988: checking for sa_family_t" >&5
++	echo "configure:13094: checking for sa_family_t" >&5
+ echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6
+ if test "${ac_cv_type_sa_family_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 9994 "configure"
++#line 13100 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -10006,16 +13112,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:10009: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:13115: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_sa_family_t=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_sa_family_t=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:10018: result: $ac_cv_type_sa_family_t" >&5
++echo "configure:13124: result: $ac_cv_type_sa_family_t" >&5
+ echo "${ECHO_T}$ac_cv_type_sa_family_t" >&6
+ if test $ac_cv_type_sa_family_t = yes; then
+ 
+@@ -10034,13 +13140,13 @@
+ fi
+ 
+ cv=`echo "socklen_t" | sed 'y%./+- %__p__%'`
+-echo "$as_me:10037: checking for socklen_t" >&5
++echo "configure:13143: checking for socklen_t" >&5
+ echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 10043 "configure"
++#line 13149 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -10057,28 +13163,28 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:10060: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:13166: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_type_$cv=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_type_$cv=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:10070: result: $ac_foo" >&5
++echo "configure:13176: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo socklen_t | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:10075: checking for socklen_t" >&5
++	echo "configure:13181: checking for socklen_t" >&5
+ echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
+ if test "${ac_cv_type_socklen_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 10081 "configure"
++#line 13187 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -10093,16 +13199,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:10096: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:13202: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_socklen_t=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_socklen_t=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:10105: result: $ac_cv_type_socklen_t" >&5
++echo "configure:13211: result: $ac_cv_type_socklen_t" >&5
+ echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
+ if test $ac_cv_type_socklen_t = yes; then
+ 
+@@ -10121,13 +13227,13 @@
+ fi
+ 
+ cv=`echo "struct sockaddr" | sed 'y%./+- %__p__%'`
+-echo "$as_me:10124: checking for struct sockaddr" >&5
++echo "configure:13230: checking for struct sockaddr" >&5
+ echo $ECHO_N "checking for struct sockaddr... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 10130 "configure"
++#line 13236 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -10144,28 +13250,28 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:10147: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:13253: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_type_$cv=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_type_$cv=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:10157: result: $ac_foo" >&5
++echo "configure:13263: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo struct sockaddr | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:10162: checking for struct sockaddr" >&5
++	echo "configure:13268: checking for struct sockaddr" >&5
+ echo $ECHO_N "checking for struct sockaddr... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_sockaddr+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 10168 "configure"
++#line 13274 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -10180,16 +13286,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:10183: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:13289: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_sockaddr=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_struct_sockaddr=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:10192: result: $ac_cv_type_struct_sockaddr" >&5
++echo "configure:13298: result: $ac_cv_type_struct_sockaddr" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_sockaddr" >&6
+ if test $ac_cv_type_struct_sockaddr = yes; then
+ 
+@@ -10208,13 +13314,13 @@
+ fi
+ 
+ cv=`echo "struct sockaddr_storage" | sed 'y%./+- %__p__%'`
+-echo "$as_me:10211: checking for struct sockaddr_storage" >&5
++echo "configure:13317: checking for struct sockaddr_storage" >&5
+ echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 10217 "configure"
++#line 13323 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -10231,28 +13337,28 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:10234: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:13340: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_type_$cv=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_type_$cv=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:10244: result: $ac_foo" >&5
++echo "configure:13350: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo struct sockaddr_storage | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:10249: checking for struct sockaddr_storage" >&5
++	echo "configure:13355: checking for struct sockaddr_storage" >&5
+ echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_sockaddr_storage+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 10255 "configure"
++#line 13361 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -10267,16 +13373,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:10270: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:13376: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_sockaddr_storage=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_struct_sockaddr_storage=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:10279: result: $ac_cv_type_struct_sockaddr_storage" >&5
++echo "configure:13385: result: $ac_cv_type_struct_sockaddr_storage" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_sockaddr_storage" >&6
+ if test $ac_cv_type_struct_sockaddr_storage = yes; then
+ 
+@@ -10295,13 +13401,13 @@
+ fi
+ 
+ cv=`echo "struct addrinfo" | sed 'y%./+- %__p__%'`
+-echo "$as_me:10298: checking for struct addrinfo" >&5
++echo "configure:13404: checking for struct addrinfo" >&5
+ echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 10304 "configure"
++#line 13410 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -10318,28 +13424,28 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:10321: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:13427: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_type_$cv=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_type_$cv=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:10331: result: $ac_foo" >&5
++echo "configure:13437: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo struct addrinfo | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:10336: checking for struct addrinfo" >&5
++	echo "configure:13442: checking for struct addrinfo" >&5
+ echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_addrinfo+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 10342 "configure"
++#line 13448 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -10354,16 +13460,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:10357: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:13463: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_addrinfo=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_struct_addrinfo=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:10366: result: $ac_cv_type_struct_addrinfo" >&5
++echo "configure:13472: result: $ac_cv_type_struct_addrinfo" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_addrinfo" >&6
+ if test $ac_cv_type_struct_addrinfo = yes; then
+ 
+@@ -10382,13 +13488,13 @@
+ fi
+ 
+ cv=`echo "struct ifaddrs" | sed 'y%./+- %__p__%'`
+-echo "$as_me:10385: checking for struct ifaddrs" >&5
++echo "configure:13491: checking for struct ifaddrs" >&5
+ echo $ECHO_N "checking for struct ifaddrs... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 10391 "configure"
++#line 13497 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -10405,28 +13511,28 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:10408: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:13514: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_type_$cv=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_type_$cv=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:10418: result: $ac_foo" >&5
++echo "configure:13524: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo struct ifaddrs | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:10423: checking for struct ifaddrs" >&5
++	echo "configure:13529: checking for struct ifaddrs" >&5
+ echo $ECHO_N "checking for struct ifaddrs... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_ifaddrs+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 10429 "configure"
++#line 13535 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -10441,16 +13547,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:10444: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:13550: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_ifaddrs=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_struct_ifaddrs=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:10453: result: $ac_cv_type_struct_ifaddrs" >&5
++echo "configure:13559: result: $ac_cv_type_struct_ifaddrs" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_ifaddrs" >&6
+ if test $ac_cv_type_struct_ifaddrs = yes; then
+ 
+@@ -10468,7 +13574,7 @@
+ 
+ fi
+ 
+-echo "$as_me:10471: checking for struct winsize" >&5
++echo "configure:13577: checking for struct winsize" >&5
+ echo $ECHO_N "checking for struct winsize... $ECHO_C" >&6
+ if test "${ac_cv_struct_winsize+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -10477,7 +13583,7 @@
+ ac_cv_struct_winsize=no
+ for i in sys/termios.h sys/ioctl.h; do
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 10480 "configure"
++#line 13586 "configure"
+ #include "confdefs.h"
+ #include <$i>
+ 
+@@ -10498,10 +13604,10 @@
+ EOF
+ 
+ fi
+-echo "$as_me:10501: result: $ac_cv_struct_winsize" >&5
++echo "configure:13607: result: $ac_cv_struct_winsize" >&5
+ echo "${ECHO_T}$ac_cv_struct_winsize" >&6
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 10504 "configure"
++#line 13610 "configure"
+ #include "confdefs.h"
+ #include <termios.h>
+ 
+@@ -10517,7 +13623,7 @@
+ rm -f conftest*
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 10520 "configure"
++#line 13626 "configure"
+ #include "confdefs.h"
+ #include <termios.h>
+ 
+@@ -10532,14 +13638,14 @@
+ fi
+ rm -f conftest*
+ 
+-echo "$as_me:10535: checking for struct spwd" >&5
++echo "configure:13641: checking for struct spwd" >&5
+ echo $ECHO_N "checking for struct spwd... $ECHO_C" >&6
+ if test "${ac_cv_struct_spwd+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 10542 "configure"
++#line 13648 "configure"
+ #include "confdefs.h"
+ #include <pwd.h>
+ #ifdef HAVE_SHADOW_H
+@@ -10554,10 +13660,10 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:10557: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:13663: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_struct_spwd=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_struct_spwd=no
+ fi
+@@ -10565,7 +13671,7 @@
+ 
+ fi
+ 
+-echo "$as_me:10568: result: $ac_cv_struct_spwd" >&5
++echo "configure:13674: result: $ac_cv_struct_spwd" >&5
+ echo "${ECHO_T}$ac_cv_struct_spwd" >&6
+ 
+ if test "$ac_cv_struct_spwd" = "yes"; then
+@@ -10576,8 +13682,6 @@
+ 
+ fi
+ 
+-LIB_roken="${LIB_roken} \$(LIB_crypt) \$(LIB_dbopen)"
+-
+ LIB_roken="\$(top_builddir)/lib/vers/libvers.la $LIB_roken"
+ 
+ # Check whether --with-openldap or --without-openldap was given.
+@@ -10590,8 +13694,7 @@
+ if test "${with_openldap_lib+set}" = set; then
+   withval="$with_openldap_lib"
+   if test "$withval" = "yes" -o "$withval" = "no"; then
+-  {  echo "$as_me: error: No argument for --with-openldap-lib" >&2
+-  { (exit 1); exit; }; }
++  { echo "configure: error: No argument for --with-openldap-lib" >&2; exit 1; }
+ elif test "X$with_openldap" = "X"; then
+   with_openldap=yes
+ fi
+@@ -10601,14 +13704,13 @@
+ if test "${with_openldap_include+set}" = set; then
+   withval="$with_openldap_include"
+   if test "$withval" = "yes" -o "$withval" = "no"; then
+-  {  echo "$as_me: error: No argument for --with-openldap-include" >&2
+-  { (exit 1); exit; }; }
++  { echo "configure: error: No argument for --with-openldap-include" >&2; exit 1; }
+ elif test "X$with_openldap" = "X"; then
+   with_openldap=yes
+ fi
+ fi;
+ 
+-echo "$as_me:10611: checking for openldap" >&5
++echo "configure:13713: checking for openldap" >&5
+ echo $ECHO_N "checking for openldap... $ECHO_C" >&6
+ 
+ case "$with_openldap" in
+@@ -10626,7 +13728,7 @@
+ header_dirs=
+ lib_dirs=
+ d=''
+-for i in $d; do
++for i in $d /usr; do
+ 	header_dirs="$header_dirs $i/include"
+ 	lib_dirs="$lib_dirs $i/lib$abilibdirext"
+ done
+@@ -10648,7 +13750,7 @@
+ for i in $header_dirs; do
+ 	CFLAGS="-I$i $save_CFLAGS"
+ 	cat >conftest.$ac_ext <<_ACEOF
+-#line 10651 "configure"
++#line 13753 "configure"
+ #include "confdefs.h"
+ #include <lber.h>
+ #include <ldap.h>
+@@ -10661,10 +13763,10 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:10664: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:13766: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ires=$i;break
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+@@ -10672,7 +13774,7 @@
+ for i in $lib_dirs; do
+ 	LIBS="-L$i -lldap -llber  $save_LIBS"
+ 	cat >conftest.$ac_ext <<_ACEOF
+-#line 10675 "configure"
++#line 13777 "configure"
+ #include "confdefs.h"
+ #include <lber.h>
+ #include <ldap.h>
+@@ -10685,10 +13787,10 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:10688: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:13790: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   lres=$i;break
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+@@ -10699,21 +13801,19 @@
+ if test "$ires" -a "$lres" -a "$with_openldap" != "no"; then
+ 	openldap_includedir="$ires"
+ 	openldap_libdir="$lres"
++	DIR_openldap=
+ 	INCLUDE_openldap="-I$openldap_includedir"
+ 	LIB_openldap="-L$openldap_libdir -lldap -llber"
+-
+-cat >>confdefs.h <<EOF
+-#define OPENLDAP 1
+-EOF
+-
++	
+ 	with_openldap=yes
+-	echo "$as_me:10710: result: headers $ires, libraries $lres" >&5
++	echo "configure:13809: result: headers $ires, libraries $lres" >&5
+ echo "${ECHO_T}headers $ires, libraries $lres" >&6
+ else
++	DIR_openldap="openldap"
+ 	INCLUDE_openldap=
+ 	LIB_openldap=
+ 	with_openldap=no
+-	echo "$as_me:10716: result: $with_openldap" >&5
++	echo "configure:13816: result: $with_openldap" >&5
+ echo "${ECHO_T}$with_openldap" >&6
+ fi
+ 
+@@ -10731,8 +13831,7 @@
+ if test "${with_krb4_lib+set}" = set; then
+   withval="$with_krb4_lib"
+   if test "$withval" = "yes" -o "$withval" = "no"; then
+-  {  echo "$as_me: error: No argument for --with-krb4-lib" >&2
+-  { (exit 1); exit; }; }
++  { echo "configure: error: No argument for --with-krb4-lib" >&2; exit 1; }
+ elif test "X$with_krb4" = "X"; then
+   with_krb4=yes
+ fi
+@@ -10742,14 +13841,13 @@
+ if test "${with_krb4_include+set}" = set; then
+   withval="$with_krb4_include"
+   if test "$withval" = "yes" -o "$withval" = "no"; then
+-  {  echo "$as_me: error: No argument for --with-krb4-include" >&2
+-  { (exit 1); exit; }; }
++  { echo "configure: error: No argument for --with-krb4-include" >&2; exit 1; }
+ elif test "X$with_krb4" = "X"; then
+   with_krb4=yes
+ fi
+ fi;
+ 
+-echo "$as_me:10752: checking for krb4" >&5
++echo "configure:13850: checking for krb4" >&5
+ echo $ECHO_N "checking for krb4... $ECHO_C" >&6
+ 
+ case "$with_krb4" in
+@@ -10766,8 +13864,8 @@
+ esac
+ header_dirs=
+ lib_dirs=
+-d='/usr/athena'
+-for i in $d; do
++d=''
++for i in $d /usr; do
+ 	header_dirs="$header_dirs $i/include"
+ 	lib_dirs="$lib_dirs $i/lib$abilibdirext"
+ done
+@@ -10789,7 +13887,7 @@
+ for i in $header_dirs; do
+ 	CFLAGS="-I$i $save_CFLAGS"
+ 	cat >conftest.$ac_ext <<_ACEOF
+-#line 10792 "configure"
++#line 13890 "configure"
+ #include "confdefs.h"
+ #include <krb.h>
+ int
+@@ -10801,10 +13899,10 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:10804: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:13902: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ires=$i;break
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+@@ -10812,7 +13910,7 @@
+ for i in $lib_dirs; do
+ 	LIBS="-L$i -lkrb -ldes $save_LIBS"
+ 	cat >conftest.$ac_ext <<_ACEOF
+-#line 10815 "configure"
++#line 13913 "configure"
+ #include "confdefs.h"
+ #include <krb.h>
+ int
+@@ -10824,10 +13922,10 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:10827: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:13925: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   lres=$i;break
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+@@ -10838,24 +13936,26 @@
+ if test "$ires" -a "$lres" -a "$with_krb4" != "no"; then
+ 	krb4_includedir="$ires"
+ 	krb4_libdir="$lres"
++	DIR_krb4=
+ 	INCLUDE_krb4="-I$krb4_includedir"
+ 	LIB_krb4="-L$krb4_libdir -lkrb"
+-
+-cat >>confdefs.h <<EOF
+-#define KRB4 1
+-EOF
+-
++	
+ 	with_krb4=yes
+-	echo "$as_me:10849: result: headers $ires, libraries $lres" >&5
++	echo "configure:13944: result: headers $ires, libraries $lres" >&5
+ echo "${ECHO_T}headers $ires, libraries $lres" >&6
+ else
++	DIR_krb4="krb4"
+ 	INCLUDE_krb4=
+ 	LIB_krb4=
+ 	with_krb4=no
+-	echo "$as_me:10855: result: $with_krb4" >&5
++	echo "configure:13951: result: $with_krb4" >&5
+ echo "${ECHO_T}$with_krb4" >&6
+ fi
+ 
++if test "$krb4_libdir" = "/usr/lib"; then
++  krb4_libdir="";
++fi
++
+ LIB_kdb=
+ if test "$with_krb4" != "no"; then
+ 	save_CFLAGS="$CFLAGS"
+@@ -10863,14 +13963,14 @@
+ 	save_LIBS="$LIBS"
+ 	LIBS="$LIB_krb4 -ldes $LIBS"
+ 	EXTRA_LIB45=lib45.a
+-
+-	echo "$as_me:10867: checking for four valued krb_put_int" >&5
++	
++	echo "configure:13967: checking for four valued krb_put_int" >&5
+ echo $ECHO_N "checking for four valued krb_put_int... $ECHO_C" >&6
+ if test "${ac_cv_func_krb_put_int_four+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 10873 "configure"
++#line 13973 "configure"
+ #include "confdefs.h"
+ #include <krb.h>
+ int
+@@ -10884,33 +13984,34 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:10887: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:13987: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_func_krb_put_int_four=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_func_krb_put_int_four=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+-
++	
+ fi
+-echo "$as_me:10897: result: $ac_cv_func_krb_put_int_four" >&5
++echo "configure:13997: result: $ac_cv_func_krb_put_int_four" >&5
+ echo "${ECHO_T}$ac_cv_func_krb_put_int_four" >&6
+ 	if test "$ac_cv_func_krb_put_int_four" = yes; then
+-
++		
+ cat >>confdefs.h <<\EOF
+ #define HAVE_FOUR_VALUED_KRB_PUT_INT 1
+ EOF
+ 
+ 	fi
++	
+ 
+-	echo "$as_me:10907: checking for KRB_VERIFY_SECURE" >&5
++	echo "configure:14008: checking for KRB_VERIFY_SECURE" >&5
+ echo $ECHO_N "checking for KRB_VERIFY_SECURE... $ECHO_C" >&6
+ if test "${ac_cv_func_krb_verify_secure+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 10913 "configure"
++#line 14014 "configure"
+ #include "confdefs.h"
+ #include <krb.h>
+ int
+@@ -10923,36 +14024,37 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:10926: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:14027: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_func_krb_verify_secure=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_func_krb_verify_secure=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+-
++	
+ fi
+-echo "$as_me:10936: result: $ac_cv_func_krb_verify_secure" >&5
++echo "configure:14037: result: $ac_cv_func_krb_verify_secure" >&5
+ echo "${ECHO_T}$ac_cv_func_krb_verify_secure" >&6
+ 	if test "$ac_cv_func_krb_verify_secure" != yes; then
+-
++		
+ cat >>confdefs.h <<\EOF
+ #define KRB_VERIFY_SECURE 1
+ EOF
+ 
++		
+ cat >>confdefs.h <<\EOF
+ #define KRB_VERIFY_SECURE_FAIL 2
+ EOF
+ 
+ 	fi
+-	echo "$as_me:10949: checking for KRB_VERIFY_NOT_SECURE" >&5
++	echo "configure:14051: checking for KRB_VERIFY_NOT_SECURE" >&5
+ echo $ECHO_N "checking for KRB_VERIFY_NOT_SECURE... $ECHO_C" >&6
+ if test "${ac_cv_func_krb_verify_not_secure+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 10955 "configure"
++#line 14057 "configure"
+ #include "confdefs.h"
+ #include <krb.h>
+ int
+@@ -10965,27 +14067,28 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:10968: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:14070: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_func_krb_verify_not_secure=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_func_krb_verify_not_secure=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+-
++	
+ fi
+-echo "$as_me:10978: result: $ac_cv_func_krb_verify_not_secure" >&5
++echo "configure:14080: result: $ac_cv_func_krb_verify_not_secure" >&5
+ echo "${ECHO_T}$ac_cv_func_krb_verify_not_secure" >&6
+ 	if test "$ac_cv_func_krb_verify_not_secure" != yes; then
+-
++		
+ cat >>confdefs.h <<\EOF
+ #define KRB_VERIFY_NOT_SECURE 0
+ EOF
+ 
+ 	fi
++	
+ 
+-echo "$as_me:10988: checking for krb_enable_debug" >&5
++echo "configure:14091: checking for krb_enable_debug" >&5
+ echo $ECHO_N "checking for krb_enable_debug... $ECHO_C" >&6
+ if test "${ac_cv_funclib_krb_enable_debug+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -11001,7 +14104,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 11004 "configure"
++#line 14107 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -11013,10 +14116,10 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:11016: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:14119: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_krb_enable_debug=$ac_lib; else ac_cv_funclib_krb_enable_debug=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+@@ -11030,17 +14133,17 @@
+ eval "ac_res=\$ac_cv_funclib_krb_enable_debug"
+ 
+ if false; then
+-
++	
+ for ac_func in krb_enable_debug
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:11037: checking for $ac_func" >&5
++echo "configure:14140: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 11043 "configure"
++#line 14146 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -11071,16 +14174,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:11074: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:14177: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:11083: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:14186: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -11104,13 +14207,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:11107: result: yes" >&5
++	echo "configure:14210: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_krb_enable_debug=no"
+ 	eval "LIB_krb_enable_debug="
+-	echo "$as_me:11113: result: no" >&5
++	echo "configure:14216: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -11124,7 +14227,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:11127: result: yes, in $ac_res" >&5
++	echo "configure:14230: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -11133,7 +14236,9 @@
+ 	LIBS="$LIB_krb_enable_debug $LIBS"
+ fi
+ 
+-echo "$as_me:11136: checking for krb_disable_debug" >&5
++	
++
++echo "configure:14241: checking for krb_disable_debug" >&5
+ echo $ECHO_N "checking for krb_disable_debug... $ECHO_C" >&6
+ if test "${ac_cv_funclib_krb_disable_debug+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -11149,7 +14254,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 11152 "configure"
++#line 14257 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -11161,10 +14266,10 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:11164: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:14269: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_krb_disable_debug=$ac_lib; else ac_cv_funclib_krb_disable_debug=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+@@ -11178,17 +14283,17 @@
+ eval "ac_res=\$ac_cv_funclib_krb_disable_debug"
+ 
+ if false; then
+-
++	
+ for ac_func in krb_disable_debug
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:11185: checking for $ac_func" >&5
++echo "configure:14290: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 11191 "configure"
++#line 14296 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -11219,16 +14324,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:11222: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:14327: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:11231: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:14336: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -11252,13 +14357,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:11255: result: yes" >&5
++	echo "configure:14360: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_krb_disable_debug=no"
+ 	eval "LIB_krb_disable_debug="
+-	echo "$as_me:11261: result: no" >&5
++	echo "configure:14366: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -11272,7 +14377,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:11275: result: yes, in $ac_res" >&5
++	echo "configure:14380: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -11281,7 +14386,9 @@
+ 	LIBS="$LIB_krb_disable_debug $LIBS"
+ fi
+ 
+-echo "$as_me:11284: checking for krb_get_our_ip_for_realm" >&5
++	
++
++echo "configure:14391: checking for krb_get_our_ip_for_realm" >&5
+ echo $ECHO_N "checking for krb_get_our_ip_for_realm... $ECHO_C" >&6
+ if test "${ac_cv_funclib_krb_get_our_ip_for_realm+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -11297,7 +14404,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 11300 "configure"
++#line 14407 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -11309,10 +14416,10 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:11312: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:14419: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_krb_get_our_ip_for_realm=$ac_lib; else ac_cv_funclib_krb_get_our_ip_for_realm=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+@@ -11326,17 +14433,17 @@
+ eval "ac_res=\$ac_cv_funclib_krb_get_our_ip_for_realm"
+ 
+ if false; then
+-
++	
+ for ac_func in krb_get_our_ip_for_realm
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:11333: checking for $ac_func" >&5
++echo "configure:14440: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 11339 "configure"
++#line 14446 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -11367,16 +14474,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:11370: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:14477: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:11379: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:14486: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -11400,13 +14507,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:11403: result: yes" >&5
++	echo "configure:14510: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_krb_get_our_ip_for_realm=no"
+ 	eval "LIB_krb_get_our_ip_for_realm="
+-	echo "$as_me:11409: result: no" >&5
++	echo "configure:14516: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -11420,7 +14527,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:11423: result: yes, in $ac_res" >&5
++	echo "configure:14530: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -11429,13 +14536,13 @@
+ 	LIBS="$LIB_krb_get_our_ip_for_realm $LIBS"
+ fi
+ 
+-	echo "$as_me:11432: checking for krb_mk_req with const arguments" >&5
++	echo "configure:14539: checking for krb_mk_req with const arguments" >&5
+ echo $ECHO_N "checking for krb_mk_req with const arguments... $ECHO_C" >&6
+ if test "${ac_cv_func_krb_mk_req_const+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 11438 "configure"
++#line 14545 "configure"
+ #include "confdefs.h"
+ #include <krb.h>
+ 		int krb_mk_req(KTEXT a, const char *s, const char *i,
+@@ -11450,20 +14557,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:11453: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:14560: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_func_krb_mk_req_const=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_func_krb_mk_req_const=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+-
++	
+ fi
+-echo "$as_me:11463: result: $ac_cv_func_krb_mk_req_const" >&5
++echo "configure:14570: result: $ac_cv_func_krb_mk_req_const" >&5
+ echo "${ECHO_T}$ac_cv_func_krb_mk_req_const" >&6
+ 	if test "$ac_cv_func_krb_mk_req_const" = "yes"; then
+-
++		
+ cat >>confdefs.h <<\EOF
+ #define KRB_MK_REQ_CONST 1
+ EOF
+@@ -11474,7 +14581,7 @@
+ 	CFLAGS="$save_CFLAGS"
+ 	LIB_kdb="-lkdb -lkrb"
+ 	test_LIB_krb4="$LIB_krb4"
+-	if test "$krb4_libdir"; then
++	if test "$krb4_libdir" != ""; then
+ 		LIB_krb4="-R $krb4_libdir $LIB_krb4"
+ 		LIB_kdb="-R $krb4_libdir -L$krb4_libdir $LIB_kdb"
+ 	fi
+@@ -11545,14 +14652,13 @@
+ 
+ fi;
+ if test "$enable_kaserver" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define KASERVER 1
+ EOF
+ 
+ 	if test "$with_krb4" = "no"; then
+-		{  echo "$as_me: error: kaserver requires krb4" >&2
+-  { (exit 1); exit; }; }
++		{ echo "configure: error: kaserver requires krb4" >&2; exit 1; }
+ 		exit 1
+ 	fi
+ fi
+@@ -11563,14 +14669,13 @@
+ 
+ fi;
+ if test "$enable_kaserver_db" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define KASERVER_DB 1
+ EOF
+ 
+ 	if test "$with_krb4" = "no"; then
+-		{  echo "$as_me: error: kaserver-db requires krb4" >&2
+-  { (exit 1); exit; }; }
++		{ echo "configure: error: kaserver-db requires krb4" >&2; exit 1; }
+ 		exit 1
+ 	fi
+ fi
+@@ -11586,7 +14691,7 @@
+ 
+ fi;
+ if test "$otp" = "yes"; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define OTP 1
+ EOF
+@@ -11609,7 +14714,7 @@
+ fi;
+ LIB_security=
+ if test "$enable_osfc2" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_OSFC2 1
+ EOF
+@@ -11619,7 +14724,7 @@
+ 
+ # Extract the first word of "nroff", so it can be a program name with args.
+ set dummy nroff; ac_word=$2
+-echo "$as_me:11622: checking for $ac_word" >&5
++echo "configure:14727: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_path_NROFF+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -11646,16 +14751,16 @@
+ NROFF=$ac_cv_path_NROFF
+ 
+ if test -n "$NROFF"; then
+-  echo "$as_me:11649: result: $NROFF" >&5
++  echo "configure:14754: result: $NROFF" >&5
+ echo "${ECHO_T}$NROFF" >&6
+ else
+-  echo "$as_me:11652: result: no" >&5
++  echo "configure:14757: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+ # Extract the first word of "groff", so it can be a program name with args.
+ set dummy groff; ac_word=$2
+-echo "$as_me:11658: checking for $ac_word" >&5
++echo "configure:14763: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_path_GROFF+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -11682,14 +14787,14 @@
+ GROFF=$ac_cv_path_GROFF
+ 
+ if test -n "$GROFF"; then
+-  echo "$as_me:11685: result: $GROFF" >&5
++  echo "configure:14790: result: $GROFF" >&5
+ echo "${ECHO_T}$GROFF" >&6
+ else
+-  echo "$as_me:11688: result: no" >&5
++  echo "configure:14793: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+-echo "$as_me:11692: checking how to format man pages" >&5
++echo "configure:14797: checking how to format man pages" >&5
+ echo $ECHO_N "checking how to format man pages... $ECHO_C" >&6
+ if test "${ac_cv_sys_man_format+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -11726,11 +14831,11 @@
+ fi
+ 
+ fi
+-echo "$as_me:11729: result: $ac_cv_sys_man_format" >&5
++echo "configure:14834: result: $ac_cv_sys_man_format" >&5
+ echo "${ECHO_T}$ac_cv_sys_man_format" >&6
+ if test "$ac_cv_sys_man_format"; then
+ 	CATMAN="$ac_cv_sys_man_format"
+-
++	
+ fi
+ 
+ if test "$CATMAN"; then
+@@ -11740,7 +14845,7 @@
+   CATMAN_TRUE='#'
+   CATMAN_FALSE=
+ fi
+-echo "$as_me:11743: checking extension of pre-formatted manual pages" >&5
++echo "configure:14848: checking extension of pre-formatted manual pages" >&5
+ echo $ECHO_N "checking extension of pre-formatted manual pages... $ECHO_C" >&6
+ if test "${ac_cv_sys_catman_ext+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -11748,78 +14853,340 @@
+   if grep _suffix /etc/man.conf > /dev/null 2>&1; then
+ 	ac_cv_sys_catman_ext=0
+ else
+-	ac_cv_sys_catman_ext=number
++	ac_cv_sys_catman_ext=number
++fi
++
++fi
++echo "configure:14860: result: $ac_cv_sys_catman_ext" >&5
++echo "${ECHO_T}$ac_cv_sys_catman_ext" >&6
++if test "$ac_cv_sys_catman_ext" = number; then
++	CATMANEXT='$$section'
++else
++	CATMANEXT=0
++fi
++
++# Check whether --with-readline or --without-readline was given.
++if test "${with_readline+set}" = set; then
++  withval="$with_readline"
++
++fi;
++
++# Check whether --with-readline-lib or --without-readline-lib was given.
++if test "${with_readline_lib+set}" = set; then
++  withval="$with_readline_lib"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { echo "configure: error: No argument for --with-readline-lib" >&2; exit 1; }
++elif test "X$with_readline" = "X"; then
++  with_readline=yes
++fi
++fi;
++
++# Check whether --with-readline-include or --without-readline-include was given.
++if test "${with_readline_include+set}" = set; then
++  withval="$with_readline_include"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { echo "configure: error: No argument for --with-readline-include" >&2; exit 1; }
++elif test "X$with_readline" = "X"; then
++  with_readline=yes
++fi
++fi;
++
++echo "configure:14894: checking for readline" >&5
++echo $ECHO_N "checking for readline... $ECHO_C" >&6
++
++case "$with_readline" in
++yes)	;;
++no)	;;
++"")	;;
++*)	if test "$with_readline_include" = ""; then
++		with_readline_include="$with_readline/include"
++	fi
++	if test "$with_readline_lib" = ""; then
++		with_readline_lib="$with_readline/lib$abilibdirext"
++	fi
++	;;
++esac
++header_dirs=
++lib_dirs=
++d=''
++for i in $d /usr; do
++	header_dirs="$header_dirs $i/include"
++	lib_dirs="$lib_dirs $i/lib$abilibdirext"
++done
++
++case "$with_readline_include" in
++yes) ;;
++no)  ;;
++*)   header_dirs="$with_readline_include $header_dirs";;
++esac
++case "$with_readline_lib" in
++yes) ;;
++no)  ;;
++*)   lib_dirs="$with_readline_lib $lib_dirs";;
++esac
++
++save_CFLAGS="$CFLAGS"
++save_LIBS="$LIBS"
++ires= lres=
++for i in $header_dirs; do
++	CFLAGS="-I$i $save_CFLAGS"
++	cat >conftest.$ac_ext <<_ACEOF
++#line 14934 "configure"
++#include "confdefs.h"
++#include <stdio.h>
++ #include <readline.h>
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:14947: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++  ires=$i;break
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++done
++for i in $lib_dirs; do
++	LIBS="-L$i -lreadline  $save_LIBS"
++	cat >conftest.$ac_ext <<_ACEOF
++#line 14958 "configure"
++#include "confdefs.h"
++#include <stdio.h>
++ #include <readline.h>
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:14971: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  lres=$i;break
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++fi
++rm -f conftest$ac_exeext conftest.$ac_ext
++done
++CFLAGS="$save_CFLAGS"
++LIBS="$save_LIBS"
++
++if test "$ires" -a "$lres" -a "$with_readline" != "no"; then
++	readline_includedir="$ires"
++	readline_libdir="$lres"
++	DIR_readline=
++	INCLUDE_readline="-I$readline_includedir"
++	LIB_readline="-L$readline_libdir -lreadline"
++	
++	with_readline=yes
++	echo "configure:14990: result: headers $ires, libraries $lres" >&5
++echo "${ECHO_T}headers $ires, libraries $lres" >&6
++else
++	DIR_readline="readline"
++	INCLUDE_readline=
++	LIB_readline=
++	with_readline=no
++	echo "configure:14997: result: $with_readline" >&5
++echo "${ECHO_T}$with_readline" >&6
++fi
++
++# Check whether --with-com_err or --without-com_err was given.
++if test "${with_com_err+set}" = set; then
++  withval="$with_com_err"
++
++fi;
++
++# Check whether --with-com_err-lib or --without-com_err-lib was given.
++if test "${with_com_err_lib+set}" = set; then
++  withval="$with_com_err_lib"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { echo "configure: error: No argument for --with-com_err-lib" >&2; exit 1; }
++elif test "X$with_com_err" = "X"; then
++  with_com_err=yes
++fi
++fi;
++
++# Check whether --with-com_err-include or --without-com_err-include was given.
++if test "${with_com_err_include+set}" = set; then
++  withval="$with_com_err_include"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { echo "configure: error: No argument for --with-com_err-include" >&2; exit 1; }
++elif test "X$with_com_err" = "X"; then
++  with_com_err=yes
++fi
++fi;
++
++echo "configure:15027: checking for com_err" >&5
++echo $ECHO_N "checking for com_err... $ECHO_C" >&6
++
++case "$with_com_err" in
++yes)	;;
++no)	;;
++"")	;;
++*)	if test "$with_com_err_include" = ""; then
++		with_com_err_include="$with_com_err/include"
++	fi
++	if test "$with_com_err_lib" = ""; then
++		with_com_err_lib="$with_com_err/lib$abilibdirext"
++	fi
++	;;
++esac
++header_dirs=
++lib_dirs=
++d=''
++for i in $d /usr; do
++	header_dirs="$header_dirs $i/include"
++	lib_dirs="$lib_dirs $i/lib$abilibdirext"
++done
++
++case "$with_com_err_include" in
++yes) ;;
++no)  ;;
++*)   header_dirs="$with_com_err_include $header_dirs";;
++esac
++case "$with_com_err_lib" in
++yes) ;;
++no)  ;;
++*)   lib_dirs="$with_com_err_lib $lib_dirs";;
++esac
++
++save_CFLAGS="$CFLAGS"
++save_LIBS="$LIBS"
++ires= lres=
++for i in $header_dirs; do
++	CFLAGS="-I$i $save_CFLAGS"
++	cat >conftest.$ac_ext <<_ACEOF
++#line 15067 "configure"
++#include "confdefs.h"
++#include <et/com_err.h>
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:15079: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++  ires=$i;break
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++done
++for i in $lib_dirs; do
++	LIBS="-L$i -lcom_err  $save_LIBS"
++	cat >conftest.$ac_ext <<_ACEOF
++#line 15090 "configure"
++#include "confdefs.h"
++#include <et/com_err.h>
++int
++main ()
++{
+ 
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:15102: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  lres=$i;break
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+-echo "$as_me:11755: result: $ac_cv_sys_catman_ext" >&5
+-echo "${ECHO_T}$ac_cv_sys_catman_ext" >&6
+-if test "$ac_cv_sys_catman_ext" = number; then
+-	CATMANEXT='$$section'
++rm -f conftest$ac_exeext conftest.$ac_ext
++done
++CFLAGS="$save_CFLAGS"
++LIBS="$save_LIBS"
++
++if test "$ires" -a "$lres" -a "$with_com_err" != "no"; then
++	com_err_includedir="$ires"
++	com_err_libdir="$lres"
++	DIR_com_err=
++	INCLUDE_com_err="-I$com_err_includedir"
++	LIB_com_err="-L$com_err_libdir -lcom_err"
++	
++	with_com_err=yes
++	echo "configure:15121: result: headers $ires, libraries $lres" >&5
++echo "${ECHO_T}headers $ires, libraries $lres" >&6
+ else
+-	CATMANEXT=0
++	DIR_com_err="com_err"
++	INCLUDE_com_err=
++	LIB_com_err=
++	with_com_err=no
++	echo "configure:15128: result: $with_com_err" >&5
++echo "${ECHO_T}$with_com_err" >&6
+ fi
+ 
+-# Check whether --with-readline or --without-readline was given.
+-if test "${with_readline+set}" = set; then
+-  withval="$with_readline"
++# Check whether --with-ss or --without-ss was given.
++if test "${with_ss+set}" = set; then
++  withval="$with_ss"
+ 
+ fi;
+ 
+-# Check whether --with-readline-lib or --without-readline-lib was given.
+-if test "${with_readline_lib+set}" = set; then
+-  withval="$with_readline_lib"
++# Check whether --with-ss-lib or --without-ss-lib was given.
++if test "${with_ss_lib+set}" = set; then
++  withval="$with_ss_lib"
+   if test "$withval" = "yes" -o "$withval" = "no"; then
+-  {  echo "$as_me: error: No argument for --with-readline-lib" >&2
+-  { (exit 1); exit; }; }
+-elif test "X$with_readline" = "X"; then
+-  with_readline=yes
++  { echo "configure: error: No argument for --with-ss-lib" >&2; exit 1; }
++elif test "X$with_ss" = "X"; then
++  with_ss=yes
+ fi
+ fi;
+ 
+-# Check whether --with-readline-include or --without-readline-include was given.
+-if test "${with_readline_include+set}" = set; then
+-  withval="$with_readline_include"
++# Check whether --with-ss-include or --without-ss-include was given.
++if test "${with_ss_include+set}" = set; then
++  withval="$with_ss_include"
+   if test "$withval" = "yes" -o "$withval" = "no"; then
+-  {  echo "$as_me: error: No argument for --with-readline-include" >&2
+-  { (exit 1); exit; }; }
+-elif test "X$with_readline" = "X"; then
+-  with_readline=yes
++  { echo "configure: error: No argument for --with-ss-include" >&2; exit 1; }
++elif test "X$with_ss" = "X"; then
++  with_ss=yes
+ fi
+ fi;
+ 
+-echo "$as_me:11791: checking for readline" >&5
+-echo $ECHO_N "checking for readline... $ECHO_C" >&6
++echo "configure:15158: checking for ss" >&5
++echo $ECHO_N "checking for ss... $ECHO_C" >&6
+ 
+-case "$with_readline" in
++case "$with_ss" in
+ yes)	;;
+ no)	;;
+ "")	;;
+-*)	if test "$with_readline_include" = ""; then
+-		with_readline_include="$with_readline/include"
++*)	if test "$with_ss_include" = ""; then
++		with_ss_include="$with_ss/include"
+ 	fi
+-	if test "$with_readline_lib" = ""; then
+-		with_readline_lib="$with_readline/lib$abilibdirext"
++	if test "$with_ss_lib" = ""; then
++		with_ss_lib="$with_ss/lib$abilibdirext"
+ 	fi
+ 	;;
+ esac
+ header_dirs=
+ lib_dirs=
+ d=''
+-for i in $d; do
++for i in $d /usr; do
+ 	header_dirs="$header_dirs $i/include"
+ 	lib_dirs="$lib_dirs $i/lib$abilibdirext"
+ done
+ 
+-case "$with_readline_include" in
++case "$with_ss_include" in
+ yes) ;;
+ no)  ;;
+-*)   header_dirs="$with_readline_include $header_dirs";;
++*)   header_dirs="$with_ss_include $header_dirs";;
+ esac
+-case "$with_readline_lib" in
++case "$with_ss_lib" in
+ yes) ;;
+ no)  ;;
+-*)   lib_dirs="$with_readline_lib $lib_dirs";;
++*)   lib_dirs="$with_ss_lib $lib_dirs";;
+ esac
+ 
+ save_CFLAGS="$CFLAGS"
+@@ -11828,10 +15195,9 @@
+ for i in $header_dirs; do
+ 	CFLAGS="-I$i $save_CFLAGS"
+ 	cat >conftest.$ac_ext <<_ACEOF
+-#line 11831 "configure"
++#line 15198 "configure"
+ #include "confdefs.h"
+-#include <stdio.h>
+- #include <readline.h>
++#include <ss.h>
+ int
+ main ()
+ {
+@@ -11841,21 +15207,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:11844: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:15210: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ires=$i;break
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ done
+ for i in $lib_dirs; do
+-	LIBS="-L$i -lreadline  $save_LIBS"
++	LIBS="-L$i -lss  $save_LIBS"
+ 	cat >conftest.$ac_ext <<_ACEOF
+-#line 11855 "configure"
++#line 15221 "configure"
+ #include "confdefs.h"
+-#include <stdio.h>
+- #include <readline.h>
++#include <ss.h>
+ int
+ main ()
+ {
+@@ -11865,10 +15230,10 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:11868: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:15233: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   lres=$i;break
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+@@ -11876,25 +15241,23 @@
+ CFLAGS="$save_CFLAGS"
+ LIBS="$save_LIBS"
+ 
+-if test "$ires" -a "$lres" -a "$with_readline" != "no"; then
+-	readline_includedir="$ires"
+-	readline_libdir="$lres"
+-	INCLUDE_readline="-I$readline_includedir"
+-	LIB_readline="-L$readline_libdir -lreadline"
+-
+-cat >>confdefs.h <<EOF
+-#define READLINE 1
+-EOF
+-
+-	with_readline=yes
+-	echo "$as_me:11890: result: headers $ires, libraries $lres" >&5
++if test "$ires" -a "$lres" -a "$with_ss" != "no"; then
++	ss_includedir="$ires"
++	ss_libdir="$lres"
++	DIR_ss=
++	INCLUDE_ss="-I$ss_includedir"
++	LIB_ss="-L$ss_libdir -lss"
++	
++	with_ss=yes
++	echo "configure:15252: result: headers $ires, libraries $lres" >&5
+ echo "${ECHO_T}headers $ires, libraries $lres" >&6
+ else
+-	INCLUDE_readline=
+-	LIB_readline=
+-	with_readline=no
+-	echo "$as_me:11896: result: $with_readline" >&5
+-echo "${ECHO_T}$with_readline" >&6
++	DIR_ss="ss"
++	INCLUDE_ss=
++	LIB_ss=
++	with_ss=no
++	echo "configure:15259: result: $with_ss" >&5
++echo "${ECHO_T}$with_ss" >&6
+ fi
+ 
+ # Check whether --with-hesiod or --without-hesiod was given.
+@@ -11907,8 +15270,7 @@
+ if test "${with_hesiod_lib+set}" = set; then
+   withval="$with_hesiod_lib"
+   if test "$withval" = "yes" -o "$withval" = "no"; then
+-  {  echo "$as_me: error: No argument for --with-hesiod-lib" >&2
+-  { (exit 1); exit; }; }
++  { echo "configure: error: No argument for --with-hesiod-lib" >&2; exit 1; }
+ elif test "X$with_hesiod" = "X"; then
+   with_hesiod=yes
+ fi
+@@ -11918,14 +15280,13 @@
+ if test "${with_hesiod_include+set}" = set; then
+   withval="$with_hesiod_include"
+   if test "$withval" = "yes" -o "$withval" = "no"; then
+-  {  echo "$as_me: error: No argument for --with-hesiod-include" >&2
+-  { (exit 1); exit; }; }
++  { echo "configure: error: No argument for --with-hesiod-include" >&2; exit 1; }
+ elif test "X$with_hesiod" = "X"; then
+   with_hesiod=yes
+ fi
+ fi;
+ 
+-echo "$as_me:11928: checking for hesiod" >&5
++echo "configure:15289: checking for hesiod" >&5
+ echo $ECHO_N "checking for hesiod... $ECHO_C" >&6
+ 
+ case "$with_hesiod" in
+@@ -11943,7 +15304,7 @@
+ header_dirs=
+ lib_dirs=
+ d=''
+-for i in $d; do
++for i in $d /usr; do
+ 	header_dirs="$header_dirs $i/include"
+ 	lib_dirs="$lib_dirs $i/lib$abilibdirext"
+ done
+@@ -11965,7 +15326,7 @@
+ for i in $header_dirs; do
+ 	CFLAGS="-I$i $save_CFLAGS"
+ 	cat >conftest.$ac_ext <<_ACEOF
+-#line 11968 "configure"
++#line 15329 "configure"
+ #include "confdefs.h"
+ #include <hesiod.h>
+ int
+@@ -11977,10 +15338,10 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:11980: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:15341: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ires=$i;break
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+@@ -11988,7 +15349,7 @@
+ for i in $lib_dirs; do
+ 	LIBS="-L$i -lhesiod  $save_LIBS"
+ 	cat >conftest.$ac_ext <<_ACEOF
+-#line 11991 "configure"
++#line 15352 "configure"
+ #include "confdefs.h"
+ #include <hesiod.h>
+ int
+@@ -12000,10 +15361,10 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:12003: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:15364: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   lres=$i;break
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+@@ -12014,21 +15375,19 @@
+ if test "$ires" -a "$lres" -a "$with_hesiod" != "no"; then
+ 	hesiod_includedir="$ires"
+ 	hesiod_libdir="$lres"
++	DIR_hesiod=
+ 	INCLUDE_hesiod="-I$hesiod_includedir"
+ 	LIB_hesiod="-L$hesiod_libdir -lhesiod"
+-
+-cat >>confdefs.h <<EOF
+-#define HESIOD 1
+-EOF
+-
++	
+ 	with_hesiod=yes
+-	echo "$as_me:12025: result: headers $ires, libraries $lres" >&5
++	echo "configure:15383: result: headers $ires, libraries $lres" >&5
+ echo "${ECHO_T}headers $ires, libraries $lres" >&6
+ else
++	DIR_hesiod="hesiod"
+ 	INCLUDE_hesiod=
+ 	LIB_hesiod=
+ 	with_hesiod=no
+-	echo "$as_me:12031: result: $with_hesiod" >&5
++	echo "configure:15390: result: $with_hesiod" >&5
+ echo "${ECHO_T}$with_hesiod" >&6
+ fi
+ 
+@@ -12042,13 +15401,13 @@
+   enableval="$enable_littleendian"
+   krb_cv_c_bigendian=no
+ fi;
+-echo "$as_me:12045: checking whether byte order is known at compile time" >&5
++echo "configure:15404: checking whether byte order is known at compile time" >&5
+ echo $ECHO_N "checking whether byte order is known at compile time... $ECHO_C" >&6
+ if test "${krb_cv_c_bigendian_compile+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 12051 "configure"
++#line 15410 "configure"
+ #include "confdefs.h"
+ 
+ #include <sys/types.h>
+@@ -12065,18 +15424,18 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:12068: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:15427: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   krb_cv_c_bigendian_compile=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   krb_cv_c_bigendian_compile=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:12077: result: $krb_cv_c_bigendian_compile" >&5
++echo "configure:15436: result: $krb_cv_c_bigendian_compile" >&5
+ echo "${ECHO_T}$krb_cv_c_bigendian_compile" >&6
+-echo "$as_me:12079: checking whether byte ordering is bigendian" >&5
++echo "configure:15438: checking whether byte ordering is bigendian" >&5
+ echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
+ if test "${krb_cv_c_bigendian+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -12084,7 +15443,7 @@
+ 
+   if test "$krb_cv_c_bigendian_compile" = "yes"; then
+     cat >conftest.$ac_ext <<_ACEOF
+-#line 12087 "configure"
++#line 15446 "configure"
+ #include "confdefs.h"
+ 
+ #include <sys/types.h>
+@@ -12101,21 +15460,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:12104: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:15463: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   krb_cv_c_bigendian=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   krb_cv_c_bigendian=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+   else
+     if test "$cross_compiling" = yes; then
+-  {  echo "$as_me: error: specify either --enable-bigendian or --enable-littleendian" >&2
+-  { (exit 1); exit; }; }
++  { echo "configure: error: specify either --enable-bigendian or --enable-littleendian" >&2; exit 1; }
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 12118 "configure"
++#line 15476 "configure"
+ #include "confdefs.h"
+ main () {
+       /* Are we little or big endian?  From Harbison&Steele.  */
+@@ -12129,25 +15487,21 @@
+   }
+ _ACEOF
+ rm -f conftest$ac_exeext
+-{ (eval echo $as_me:12132: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
+-  (./conftest$ac_exeext) >&5 2>&1;
+-ac_status=$?
+-if test $ac_status = 0; then
++if { (eval echo configure:15490: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
++   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
+   krb_cv_c_bigendian=no
+ else
+-  echo "$as_me: program exited with status $ac_status" >&5
+-echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-krb_cv_c_bigendian=yes
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  krb_cv_c_bigendian=yes
+ fi
+-
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+ 
+   fi
+ 
+ fi
+-echo "$as_me:12150: result: $krb_cv_c_bigendian" >&5
++echo "configure:15504: result: $krb_cv_c_bigendian" >&5
+ echo "${ECHO_T}$krb_cv_c_bigendian" >&6
+ if test "$krb_cv_c_bigendian" = "yes"; then
+ 
+@@ -12162,7 +15516,7 @@
+ EOF
+ fi
+ 
+-echo "$as_me:12165: checking for inline" >&5
++echo "configure:15519: checking for inline" >&5
+ echo $ECHO_N "checking for inline... $ECHO_C" >&6
+ if test "${ac_cv_c_inline+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -12170,7 +15524,7 @@
+   ac_cv_c_inline=no
+ for ac_kw in inline __inline__ __inline; do
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 12173 "configure"
++#line 15527 "configure"
+ #include "confdefs.h"
+ #ifndef __cplusplus
+ $ac_kw int foo () {return 0; }
+@@ -12178,17 +15532,17 @@
+ 
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:12181: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:15535: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_c_inline=$ac_kw; break
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ done
+ 
+ fi
+-echo "$as_me:12191: result: $ac_cv_c_inline" >&5
++echo "configure:15545: result: $ac_cv_c_inline" >&5
+ echo "${ECHO_T}$ac_cv_c_inline" >&6
+ case $ac_cv_c_inline in
+   inline | yes) ;;
+@@ -12238,7 +15592,7 @@
+   AIX_DYNAMIC_AFS_FALSE=
+ fi
+ 
+-echo "$as_me:12241: checking for dlopen" >&5
++echo "configure:15595: checking for dlopen" >&5
+ echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
+ if test "${ac_cv_funclib_dlopen+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -12254,7 +15608,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 12257 "configure"
++#line 15611 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -12266,10 +15620,10 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:12269: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:15623: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_dlopen=$ac_lib; else ac_cv_funclib_dlopen=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+@@ -12283,17 +15637,17 @@
+ eval "ac_res=\$ac_cv_funclib_dlopen"
+ 
+ if false; then
+-
++	
+ for ac_func in dlopen
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:12290: checking for $ac_func" >&5
++echo "configure:15644: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 12296 "configure"
++#line 15650 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -12324,16 +15678,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:12327: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:15681: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:12336: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:15690: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -12357,13 +15711,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:12360: result: yes" >&5
++	echo "configure:15714: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_dlopen=no"
+ 	eval "LIB_dlopen="
+-	echo "$as_me:12366: result: no" >&5
++	echo "configure:15720: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -12377,7 +15731,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:12380: result: yes, in $ac_res" >&5
++	echo "configure:15734: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -12417,7 +15771,7 @@
+   IRIX_FALSE=
+ fi
+ 
+-echo "$as_me:12420: checking for X" >&5
++echo "configure:15774: checking for X" >&5
+ echo $ECHO_N "checking for X... $ECHO_C" >&6
+ 
+ # Check whether --with-x or --without-x was given.
+@@ -12514,12 +15868,12 @@
+   # Guess where to find include files, by looking for Intrinsic.h.
+   # First, try using that file with no special directory specified.
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 12517 "configure"
++#line 15871 "configure"
+ #include "confdefs.h"
+ #include <X11/Intrinsic.h>
+ _ACEOF
+ ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
+-if { (eval echo $as_me:12522: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++if { (eval echo configure:15876: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
+   if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+   else
+@@ -12534,7 +15888,7 @@
+ ac_x_includes=
+ else
+   cat conftest.err >&5
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   for ac_dir in $ac_x_header_dirs; do
+   if test -r "$ac_dir/X11/Intrinsic.h"; then
+@@ -12554,7 +15908,7 @@
+   ac_save_LIBS=$LIBS
+   LIBS="-lXt $LIBS"
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 12557 "configure"
++#line 15911 "configure"
+ #include "confdefs.h"
+ #include <X11/Intrinsic.h>
+ int
+@@ -12566,12 +15920,12 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:12569: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:15923: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   LIBS=$ac_save_LIBS
+ # We can link X programs with no special library path.
+ ac_x_libraries=
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   LIBS=$ac_save_LIBS
+ for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
+@@ -12602,7 +15956,7 @@
+ fi # $with_x != no
+ 
+ if test "$have_x" != yes; then
+-  echo "$as_me:12605: result: $have_x" >&5
++  echo "configure:15959: result: $have_x" >&5
+ echo "${ECHO_T}$have_x" >&6
+   no_x=yes
+ else
+@@ -12612,7 +15966,7 @@
+   # Update the cache value to reflect the command line values.
+   ac_cv_have_x="have_x=yes \
+ 		ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
+-  echo "$as_me:12615: result: libraries $x_libraries, headers $x_includes" >&5
++  echo "configure:15969: result: libraries $x_libraries, headers $x_includes" >&5
+ echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
+ fi
+ 
+@@ -12636,63 +15990,39 @@
+     # others require no space.  Words are not sufficient . . . .
+     case `(uname -sr) 2>/dev/null` in
+     "SunOS 5"*)
+-      echo "$as_me:12639: checking whether -R must be followed by a space" >&5
++      echo "configure:15993: checking whether -R must be followed by a space" >&5
+ echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
+       ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
+-      cat >conftest.$ac_ext <<_ACEOF
+-#line 12643 "configure"
+-#include "confdefs.h"
+-
+-int
+-main ()
+-{
+-
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:12655: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++      rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:15997: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_R_nospace=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_R_nospace=no
+ fi
+-rm -f conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext
+       if test $ac_R_nospace = yes; then
+-	echo "$as_me:12664: result: no" >&5
++	echo "configure:16006: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	X_LIBS="$X_LIBS -R$x_libraries"
+       else
+ 	LIBS="$ac_xsave_LIBS -R $x_libraries"
+-	cat >conftest.$ac_ext <<_ACEOF
+-#line 12670 "configure"
+-#include "confdefs.h"
+-
+-int
+-main ()
+-{
+-
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:12682: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++	rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:16012: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_R_space=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_R_space=no
+ fi
+-rm -f conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext
+ 	if test $ac_R_space = yes; then
+-	  echo "$as_me:12691: result: yes" >&5
++	  echo "configure:16021: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	  X_LIBS="$X_LIBS -R $x_libraries"
+ 	else
+-	  echo "$as_me:12695: result: neither works" >&5
++	  echo "configure:16025: result: neither works" >&5
+ echo "${ECHO_T}neither works" >&6
+ 	fi
+       fi
+@@ -12711,7 +16041,7 @@
+     # libraries were built with DECnet support.  And Karl Berry says
+     # the Alpha needs dnet_stub (dnet does not exist).
+ 
+-echo "$as_me:12714: checking for dnet_ntoa in -ldnet" >&5
++echo "configure:16044: checking for dnet_ntoa in -ldnet" >&5
+ echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
+ if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -12719,7 +16049,7 @@
+   ac_check_lib_save_LIBS=$LIBS
+ LIBS="-ldnet  $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 12722 "configure"
++#line 16052 "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -12738,17 +16068,17 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:12741: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:16071: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_lib_dnet_dnet_ntoa=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_lib_dnet_dnet_ntoa=no
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "$as_me:12751: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
++echo "configure:16081: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
+ echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
+ if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
+   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
+@@ -12756,7 +16086,7 @@
+ 
+     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
+ 
+-echo "$as_me:12759: checking for dnet_ntoa in -ldnet_stub" >&5
++echo "configure:16089: checking for dnet_ntoa in -ldnet_stub" >&5
+ echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
+ if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -12764,7 +16094,7 @@
+   ac_check_lib_save_LIBS=$LIBS
+ LIBS="-ldnet_stub  $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 12767 "configure"
++#line 16097 "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -12783,17 +16113,17 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:12786: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:16116: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_lib_dnet_stub_dnet_ntoa=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_lib_dnet_stub_dnet_ntoa=no
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "$as_me:12796: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
++echo "configure:16126: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
+ echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
+ if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
+   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
+@@ -12809,13 +16139,13 @@
+     # on Irix 5.2, according to T.E. Dickey.
+     # The functions gethostbyname, getservbyname, and inet_addr are
+     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
+-    echo "$as_me:12812: checking for gethostbyname" >&5
++    echo "configure:16142: checking for gethostbyname" >&5
+ echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
+ if test "${ac_cv_func_gethostbyname+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 12818 "configure"
++#line 16148 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char gethostbyname (); below.  */
+@@ -12846,21 +16176,21 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:12849: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:16179: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_func_gethostbyname=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_func_gethostbyname=no
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:12858: result: $ac_cv_func_gethostbyname" >&5
++echo "configure:16188: result: $ac_cv_func_gethostbyname" >&5
+ echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
+ 
+     if test $ac_cv_func_gethostbyname = no; then
+ 
+-echo "$as_me:12863: checking for gethostbyname in -lnsl" >&5
++echo "configure:16193: checking for gethostbyname in -lnsl" >&5
+ echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
+ if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -12868,7 +16198,7 @@
+   ac_check_lib_save_LIBS=$LIBS
+ LIBS="-lnsl  $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 12871 "configure"
++#line 16201 "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -12887,17 +16217,17 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:12890: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:16220: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_lib_nsl_gethostbyname=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_lib_nsl_gethostbyname=no
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "$as_me:12900: result: $ac_cv_lib_nsl_gethostbyname" >&5
++echo "configure:16230: result: $ac_cv_lib_nsl_gethostbyname" >&5
+ echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
+ if test $ac_cv_lib_nsl_gethostbyname = yes; then
+   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
+@@ -12905,7 +16235,7 @@
+ 
+       if test $ac_cv_lib_nsl_gethostbyname = no; then
+ 
+-echo "$as_me:12908: checking for gethostbyname in -lbsd" >&5
++echo "configure:16238: checking for gethostbyname in -lbsd" >&5
+ echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
+ if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -12913,7 +16243,7 @@
+   ac_check_lib_save_LIBS=$LIBS
+ LIBS="-lbsd  $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 12916 "configure"
++#line 16246 "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -12932,17 +16262,17 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:12935: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:16265: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_lib_bsd_gethostbyname=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_lib_bsd_gethostbyname=no
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "$as_me:12945: result: $ac_cv_lib_bsd_gethostbyname" >&5
++echo "configure:16275: result: $ac_cv_lib_bsd_gethostbyname" >&5
+ echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
+ if test $ac_cv_lib_bsd_gethostbyname = yes; then
+   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
+@@ -12958,13 +16288,13 @@
+     # variants that don't use the nameserver (or something).  -lsocket
+     # must be given before -lnsl if both are needed.  We assume that
+     # if connect needs -lnsl, so does gethostbyname.
+-    echo "$as_me:12961: checking for connect" >&5
++    echo "configure:16291: checking for connect" >&5
+ echo $ECHO_N "checking for connect... $ECHO_C" >&6
+ if test "${ac_cv_func_connect+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 12967 "configure"
++#line 16297 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char connect (); below.  */
+@@ -12995,21 +16325,21 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:12998: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:16328: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_func_connect=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_func_connect=no
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:13007: result: $ac_cv_func_connect" >&5
++echo "configure:16337: result: $ac_cv_func_connect" >&5
+ echo "${ECHO_T}$ac_cv_func_connect" >&6
+ 
+     if test $ac_cv_func_connect = no; then
+ 
+-echo "$as_me:13012: checking for connect in -lsocket" >&5
++echo "configure:16342: checking for connect in -lsocket" >&5
+ echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
+ if test "${ac_cv_lib_socket_connect+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -13017,7 +16347,7 @@
+   ac_check_lib_save_LIBS=$LIBS
+ LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 13020 "configure"
++#line 16350 "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -13036,17 +16366,17 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:13039: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:16369: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_lib_socket_connect=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_lib_socket_connect=no
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "$as_me:13049: result: $ac_cv_lib_socket_connect" >&5
++echo "configure:16379: result: $ac_cv_lib_socket_connect" >&5
+ echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
+ if test $ac_cv_lib_socket_connect = yes; then
+   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
+@@ -13055,13 +16385,13 @@
+     fi
+ 
+     # Guillermo Gomez says -lposix is necessary on A/UX.
+-    echo "$as_me:13058: checking for remove" >&5
++    echo "configure:16388: checking for remove" >&5
+ echo $ECHO_N "checking for remove... $ECHO_C" >&6
+ if test "${ac_cv_func_remove+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 13064 "configure"
++#line 16394 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char remove (); below.  */
+@@ -13092,21 +16422,21 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:13095: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:16425: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_func_remove=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_func_remove=no
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:13104: result: $ac_cv_func_remove" >&5
++echo "configure:16434: result: $ac_cv_func_remove" >&5
+ echo "${ECHO_T}$ac_cv_func_remove" >&6
+ 
+     if test $ac_cv_func_remove = no; then
+ 
+-echo "$as_me:13109: checking for remove in -lposix" >&5
++echo "configure:16439: checking for remove in -lposix" >&5
+ echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
+ if test "${ac_cv_lib_posix_remove+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -13114,7 +16444,7 @@
+   ac_check_lib_save_LIBS=$LIBS
+ LIBS="-lposix  $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 13117 "configure"
++#line 16447 "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -13133,17 +16463,17 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:13136: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:16466: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_lib_posix_remove=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_lib_posix_remove=no
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "$as_me:13146: result: $ac_cv_lib_posix_remove" >&5
++echo "configure:16476: result: $ac_cv_lib_posix_remove" >&5
+ echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
+ if test $ac_cv_lib_posix_remove = yes; then
+   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
+@@ -13152,13 +16482,13 @@
+     fi
+ 
+     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
+-    echo "$as_me:13155: checking for shmat" >&5
++    echo "configure:16485: checking for shmat" >&5
+ echo $ECHO_N "checking for shmat... $ECHO_C" >&6
+ if test "${ac_cv_func_shmat+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 13161 "configure"
++#line 16491 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char shmat (); below.  */
+@@ -13189,21 +16519,21 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:13192: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:16522: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_func_shmat=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_func_shmat=no
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:13201: result: $ac_cv_func_shmat" >&5
++echo "configure:16531: result: $ac_cv_func_shmat" >&5
+ echo "${ECHO_T}$ac_cv_func_shmat" >&6
+ 
+     if test $ac_cv_func_shmat = no; then
+ 
+-echo "$as_me:13206: checking for shmat in -lipc" >&5
++echo "configure:16536: checking for shmat in -lipc" >&5
+ echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
+ if test "${ac_cv_lib_ipc_shmat+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -13211,7 +16541,7 @@
+   ac_check_lib_save_LIBS=$LIBS
+ LIBS="-lipc  $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 13214 "configure"
++#line 16544 "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -13230,17 +16560,17 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:13233: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:16563: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_lib_ipc_shmat=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_lib_ipc_shmat=no
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "$as_me:13243: result: $ac_cv_lib_ipc_shmat" >&5
++echo "configure:16573: result: $ac_cv_lib_ipc_shmat" >&5
+ echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
+ if test $ac_cv_lib_ipc_shmat = yes; then
+   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
+@@ -13259,7 +16589,7 @@
+   # libraries we check for below, so use a different variable.
+   # John Interrante, Karl Berry
+ 
+-echo "$as_me:13262: checking for IceConnectionNumber in -lICE" >&5
++echo "configure:16592: checking for IceConnectionNumber in -lICE" >&5
+ echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
+ if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -13267,7 +16597,7 @@
+   ac_check_lib_save_LIBS=$LIBS
+ LIBS="-lICE $X_EXTRA_LIBS $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 13270 "configure"
++#line 16600 "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -13286,17 +16616,17 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:13289: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:16619: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_lib_ICE_IceConnectionNumber=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_lib_ICE_IceConnectionNumber=no
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "$as_me:13299: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
++echo "configure:16629: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
+ echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
+ if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
+   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
+@@ -13309,7 +16639,7 @@
+ # try to figure out if we need any additional ld flags, like -R
+ # and yes, the autoconf X test is utterly broken
+ if test "$no_x" != yes; then
+-	echo "$as_me:13312: checking for special X linker flags" >&5
++	echo "configure:16642: checking for special X linker flags" >&5
+ echo $ECHO_N "checking for special X linker flags... $ECHO_C" >&6
+ if test "${krb_cv_sys_x_libs_rpath+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -13338,11 +16668,10 @@
+ 		fi
+ 		LIBS="$ac_save_libs $foo $X_PRE_LIBS -lX11 $X_EXTRA_LIBS"
+ 		if test "$cross_compiling" = yes; then
+-  {  echo "$as_me: error: cannot run test program while cross compiling" >&2
+-  { (exit 1); exit; }; }
++  { echo "configure: error: cannot run test program while cross compiling" >&2; exit 1; }
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 13345 "configure"
++#line 16674 "configure"
+ #include "confdefs.h"
+ 
+ 		#include <X11/Xlib.h>
+@@ -13354,30 +16683,26 @@
+ 		{
+ 		return 0;
+ 		}
+-
++		
+ _ACEOF
+ rm -f conftest$ac_exeext
+-{ (eval echo $as_me:13360: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
+-  (./conftest$ac_exeext) >&5 2>&1;
+-ac_status=$?
+-if test $ac_status = 0; then
++if { (eval echo configure:16689: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
++   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
+   krb_cv_sys_x_libs_rpath="$rflag"; krb_cv_sys_x_libs="$foo"; break
+ else
+-  echo "$as_me: program exited with status $ac_status" >&5
+-echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-:
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  :
+ fi
+-
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+ 
+ 	done
+ 	LIBS="$ac_save_libs"
+ 	CFLAGS="$ac_save_cflags"
+-
++	
+ fi
+-echo "$as_me:13380: result: $krb_cv_sys_x_libs_rpath" >&5
++echo "configure:16705: result: $krb_cv_sys_x_libs_rpath" >&5
+ echo "${ECHO_T}$krb_cv_sys_x_libs_rpath" >&6
+ 	X_LIBS="$krb_cv_sys_x_libs"
+ fi
+@@ -13397,7 +16722,7 @@
+ save_LDFLAGS="$LDFLAGS"
+ LDFLAGS="$LDFLAGS $X_LIBS"
+ 
+-echo "$as_me:13400: checking for XauWriteAuth" >&5
++echo "configure:16725: checking for XauWriteAuth" >&5
+ echo $ECHO_N "checking for XauWriteAuth... $ECHO_C" >&6
+ if test "${ac_cv_funclib_XauWriteAuth+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -13413,7 +16738,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 13416 "configure"
++#line 16741 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -13425,10 +16750,10 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:13428: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:16753: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_XauWriteAuth=$ac_lib; else ac_cv_funclib_XauWriteAuth=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+@@ -13442,17 +16767,17 @@
+ eval "ac_res=\$ac_cv_funclib_XauWriteAuth"
+ 
+ if false; then
+-
++	
+ for ac_func in XauWriteAuth
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:13449: checking for $ac_func" >&5
++echo "configure:16774: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 13455 "configure"
++#line 16780 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -13483,16 +16808,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:13486: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:16811: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:13495: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:16820: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -13516,13 +16841,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:13519: result: yes" >&5
++	echo "configure:16844: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_XauWriteAuth=no"
+ 	eval "LIB_XauWriteAuth="
+-	echo "$as_me:13525: result: no" >&5
++	echo "configure:16850: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -13536,7 +16861,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:13539: result: yes, in $ac_res" >&5
++	echo "configure:16864: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -13544,7 +16869,7 @@
+ ac_xxx="$LIBS"
+ LIBS="$LIB_XauWriteAuth $LIBS"
+ 
+-echo "$as_me:13547: checking for XauReadAuth" >&5
++echo "configure:16872: checking for XauReadAuth" >&5
+ echo $ECHO_N "checking for XauReadAuth... $ECHO_C" >&6
+ if test "${ac_cv_funclib_XauReadAuth+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -13560,7 +16885,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 13563 "configure"
++#line 16888 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -13572,10 +16897,10 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:13575: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:16900: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_XauReadAuth=$ac_lib; else ac_cv_funclib_XauReadAuth=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+@@ -13589,17 +16914,17 @@
+ eval "ac_res=\$ac_cv_funclib_XauReadAuth"
+ 
+ if false; then
+-
++	
+ for ac_func in XauReadAuth
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:13596: checking for $ac_func" >&5
++echo "configure:16921: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 13602 "configure"
++#line 16927 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -13630,16 +16955,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:13633: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:16958: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:13642: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:16967: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -13663,13 +16988,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:13666: result: yes" >&5
++	echo "configure:16991: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_XauReadAuth=no"
+ 	eval "LIB_XauReadAuth="
+-	echo "$as_me:13672: result: no" >&5
++	echo "configure:16997: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -13683,14 +17008,14 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:13686: result: yes, in $ac_res" >&5
++	echo "configure:17011: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+ LIBS="$LIB_XauReadAauth $LIBS"
+ 
+-echo "$as_me:13693: checking for XauFileName" >&5
++echo "configure:17018: checking for XauFileName" >&5
+ echo $ECHO_N "checking for XauFileName... $ECHO_C" >&6
+ if test "${ac_cv_funclib_XauFileName+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -13706,7 +17031,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 13709 "configure"
++#line 17034 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -13718,10 +17043,10 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:13721: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:17046: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_XauFileName=$ac_lib; else ac_cv_funclib_XauFileName=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+@@ -13735,17 +17060,17 @@
+ eval "ac_res=\$ac_cv_funclib_XauFileName"
+ 
+ if false; then
+-
++	
+ for ac_func in XauFileName
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:13742: checking for $ac_func" >&5
++echo "configure:17067: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 13748 "configure"
++#line 17073 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -13776,16 +17101,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:13779: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:17104: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:13788: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:17113: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -13809,13 +17134,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:13812: result: yes" >&5
++	echo "configure:17137: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_XauFileName=no"
+ 	eval "LIB_XauFileName="
+-	echo "$as_me:13818: result: no" >&5
++	echo "configure:17143: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -13829,7 +17154,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:13832: result: yes, in $ac_res" >&5
++	echo "configure:17157: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -13856,6 +17181,7 @@
+ esac
+ 
+ if test "$AUTOMAKE" != ""; then
++	
+ 
+ if test "$ac_cv_func_XauWriteAuth" != "yes"; then
+   NEED_WRITEAUTH_TRUE=
+@@ -13865,7 +17191,8 @@
+   NEED_WRITEAUTH_FALSE=
+ fi
+ else
+-
++	
++	
+ 	if test "$ac_cv_func_XauWriteAuth" != "yes"; then
+ 		NEED_WRITEAUTH_TRUE=
+ 		NEED_WRITEAUTH_FALSE='#'
+@@ -13878,13 +17205,13 @@
+ LIBS=$save_LIBS
+ LDFLAGS=$save_LDFLAGS
+ 
+-echo "$as_me:13881: checking for an ANSI C-conforming const" >&5
++echo "configure:17208: checking for an ANSI C-conforming const" >&5
+ echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
+ if test "${ac_cv_c_const+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 13887 "configure"
++#line 17214 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -13942,16 +17269,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:13945: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:17272: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_c_const=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_c_const=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:13954: result: $ac_cv_c_const" >&5
++echo "configure:17281: result: $ac_cv_c_const" >&5
+ echo "${ECHO_T}$ac_cv_c_const" >&6
+ if test $ac_cv_c_const = no; then
+ 
+@@ -13961,13 +17288,13 @@
+ 
+ fi
+ 
+-echo "$as_me:13964: checking for off_t" >&5
++echo "configure:17291: checking for off_t" >&5
+ echo $ECHO_N "checking for off_t... $ECHO_C" >&6
+ if test "${ac_cv_type_off_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 13970 "configure"
++#line 17297 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -13982,16 +17309,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:13985: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:17312: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_off_t=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_off_t=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:13994: result: $ac_cv_type_off_t" >&5
++echo "configure:17321: result: $ac_cv_type_off_t" >&5
+ echo "${ECHO_T}$ac_cv_type_off_t" >&6
+ if test $ac_cv_type_off_t = yes; then
+   :
+@@ -14003,13 +17330,13 @@
+ 
+ fi
+ 
+-echo "$as_me:14006: checking for size_t" >&5
++echo "configure:17333: checking for size_t" >&5
+ echo $ECHO_N "checking for size_t... $ECHO_C" >&6
+ if test "${ac_cv_type_size_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 14012 "configure"
++#line 17339 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -14024,16 +17351,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:14027: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:17354: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_size_t=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_size_t=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:14036: result: $ac_cv_type_size_t" >&5
++echo "configure:17363: result: $ac_cv_type_size_t" >&5
+ echo "${ECHO_T}$ac_cv_type_size_t" >&6
+ if test $ac_cv_type_size_t = yes; then
+   :
+@@ -14045,13 +17372,13 @@
+ 
+ fi
+ 
+-echo "$as_me:14048: checking for ssize_t" >&5
++echo "configure:17375: checking for ssize_t" >&5
+ echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
+ if test "${ac_cv_type_ssize_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 14054 "configure"
++#line 17381 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -14069,7 +17396,7 @@
+ rm -f conftest*
+ 
+ fi
+-echo "$as_me:14072: result: $ac_cv_type_ssize_t" >&5
++echo "configure:17399: result: $ac_cv_type_ssize_t" >&5
+ echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
+ if test $ac_cv_type_ssize_t = no; then
+ 
+@@ -14079,13 +17406,13 @@
+ 
+ fi
+ 
+-echo "$as_me:14082: checking for pid_t" >&5
++echo "configure:17409: checking for pid_t" >&5
+ echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
+ if test "${ac_cv_type_pid_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 14088 "configure"
++#line 17415 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -14100,16 +17427,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:14103: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:17430: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_pid_t=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_pid_t=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:14112: result: $ac_cv_type_pid_t" >&5
++echo "configure:17439: result: $ac_cv_type_pid_t" >&5
+ echo "${ECHO_T}$ac_cv_type_pid_t" >&6
+ if test $ac_cv_type_pid_t = yes; then
+   :
+@@ -14121,13 +17448,13 @@
+ 
+ fi
+ 
+-echo "$as_me:14124: checking for uid_t in sys/types.h" >&5
++echo "configure:17451: checking for uid_t in sys/types.h" >&5
+ echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
+ if test "${ac_cv_type_uid_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 14130 "configure"
++#line 17457 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ 
+@@ -14141,7 +17468,7 @@
+ rm -f conftest*
+ 
+ fi
+-echo "$as_me:14144: result: $ac_cv_type_uid_t" >&5
++echo "configure:17471: result: $ac_cv_type_uid_t" >&5
+ echo "${ECHO_T}$ac_cv_type_uid_t" >&6
+ if test $ac_cv_type_uid_t = no; then
+ 
+@@ -14155,13 +17482,13 @@
+ 
+ fi
+ 
+-echo "$as_me:14158: checking for mode_t" >&5
++echo "configure:17485: checking for mode_t" >&5
+ echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
+ if test "${ac_cv_type_mode_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 14164 "configure"
++#line 17491 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -14179,7 +17506,7 @@
+ rm -f conftest*
+ 
+ fi
+-echo "$as_me:14182: result: $ac_cv_type_mode_t" >&5
++echo "configure:17509: result: $ac_cv_type_mode_t" >&5
+ echo "${ECHO_T}$ac_cv_type_mode_t" >&6
+ if test $ac_cv_type_mode_t = no; then
+ 
+@@ -14189,13 +17516,13 @@
+ 
+ fi
+ 
+-echo "$as_me:14192: checking for sig_atomic_t" >&5
++echo "configure:17519: checking for sig_atomic_t" >&5
+ echo $ECHO_N "checking for sig_atomic_t... $ECHO_C" >&6
+ if test "${ac_cv_type_sig_atomic_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 14198 "configure"
++#line 17525 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -14213,7 +17540,7 @@
+ rm -f conftest*
+ 
+ fi
+-echo "$as_me:14216: result: $ac_cv_type_sig_atomic_t" >&5
++echo "configure:17543: result: $ac_cv_type_sig_atomic_t" >&5
+ echo "${ECHO_T}$ac_cv_type_sig_atomic_t" >&6
+ if test $ac_cv_type_sig_atomic_t = no; then
+ 
+@@ -14224,13 +17551,13 @@
+ fi
+ 
+ cv=`echo "long long" | sed 'y%./+- %__p__%'`
+-echo "$as_me:14227: checking for long long" >&5
++echo "configure:17554: checking for long long" >&5
+ echo $ECHO_N "checking for long long... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 14233 "configure"
++#line 17560 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -14247,28 +17574,28 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:14250: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:17577: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_type_$cv=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_type_$cv=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:14260: result: $ac_foo" >&5
++echo "configure:17587: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo long long | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:14265: checking for long long" >&5
++	echo "configure:17592: checking for long long" >&5
+ echo $ECHO_N "checking for long long... $ECHO_C" >&6
+ if test "${ac_cv_type_long_long+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 14271 "configure"
++#line 17598 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -14283,16 +17610,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:14286: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:17613: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_long_long=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_long_long=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:14295: result: $ac_cv_type_long_long" >&5
++echo "configure:17622: result: $ac_cv_type_long_long" >&5
+ echo "${ECHO_T}$ac_cv_type_long_long" >&6
+ if test $ac_cv_type_long_long = yes; then
+ 
+@@ -14310,13 +17637,13 @@
+ 
+ fi
+ 
+-echo "$as_me:14313: checking whether time.h and sys/time.h may both be included" >&5
++echo "configure:17640: checking whether time.h and sys/time.h may both be included" >&5
+ echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
+ if test "${ac_cv_header_time+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 14319 "configure"
++#line 17646 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #include <sys/time.h>
+@@ -14331,16 +17658,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:14334: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:17661: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_header_time=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_header_time=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:14343: result: $ac_cv_header_time" >&5
++echo "configure:17670: result: $ac_cv_header_time" >&5
+ echo "${ECHO_T}$ac_cv_header_time" >&6
+ if test $ac_cv_header_time = yes; then
+ 
+@@ -14350,13 +17677,13 @@
+ 
+ fi
+ 
+-echo "$as_me:14353: checking whether struct tm is in sys/time.h or time.h" >&5
++echo "configure:17680: checking whether struct tm is in sys/time.h or time.h" >&5
+ echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
+ if test "${ac_cv_struct_tm+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 14359 "configure"
++#line 17686 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #include <time.h>
+@@ -14370,16 +17697,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:14373: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:17700: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_struct_tm=time.h
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_struct_tm=sys/time.h
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:14382: result: $ac_cv_struct_tm" >&5
++echo "configure:17709: result: $ac_cv_struct_tm" >&5
+ echo "${ECHO_T}$ac_cv_struct_tm" >&6
+ if test $ac_cv_struct_tm = sys/time.h; then
+ 
+@@ -14389,13 +17716,13 @@
+ 
+ fi
+ 
+-echo "$as_me:14392: checking for ANSI C header files" >&5
++echo "configure:17719: checking for ANSI C header files" >&5
+ echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
+ if test "${ac_cv_header_stdc+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 14398 "configure"
++#line 17725 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ #include <stdarg.h>
+@@ -14404,7 +17731,7 @@
+ 
+ _ACEOF
+ ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
+-if { (eval echo $as_me:14407: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++if { (eval echo configure:17734: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
+   if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+   else
+@@ -14418,7 +17745,7 @@
+   ac_cv_header_stdc=yes
+ else
+   cat conftest.err >&5
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_header_stdc=no
+ fi
+@@ -14427,7 +17754,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 <<_ACEOF
+-#line 14430 "configure"
++#line 17757 "configure"
+ #include "confdefs.h"
+ #include <string.h>
+ 
+@@ -14445,7 +17772,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 <<_ACEOF
+-#line 14448 "configure"
++#line 17775 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ 
+@@ -14466,7 +17793,7 @@
+   :
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 14469 "configure"
++#line 17796 "configure"
+ #include "confdefs.h"
+ #include <ctype.h>
+ #if ((' ' & 0x0FF) == 0x020)
+@@ -14492,24 +17819,20 @@
+ }
+ _ACEOF
+ rm -f conftest$ac_exeext
+-{ (eval echo $as_me:14495: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
+-  (./conftest$ac_exeext) >&5 2>&1;
+-ac_status=$?
+-if test $ac_status = 0; then
++if { (eval echo configure:17822: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
++   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
+   :
+ else
+-  echo "$as_me: program exited with status $ac_status" >&5
+-echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_header_stdc=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_header_stdc=no
+ fi
+-
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+ 
+ fi
+ fi
+-echo "$as_me:14512: result: $ac_cv_header_stdc" >&5
++echo "configure:17835: result: $ac_cv_header_stdc" >&5
+ echo "${ECHO_T}$ac_cv_header_stdc" >&6
+ if test $ac_cv_header_stdc = yes; then
+ 
+@@ -14613,19 +17936,19 @@
+ do
+ ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
+ 
+-echo "$as_me:14616: checking for $ac_header" >&5
++echo "configure:17939: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 14622 "configure"
++#line 17945 "configure"
+ #include "confdefs.h"
+ #include <$ac_header>
+ 
+ _ACEOF
+ ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
+-if { (eval echo $as_me:14628: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++if { (eval echo configure:17951: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
+   if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+   else
+@@ -14639,14 +17962,14 @@
+   eval "$ac_ac_Header=yes"
+ else
+   cat conftest.err >&5
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_Header=no"
+ fi
+ rm -f conftest*
+ 
+ fi
+-echo "$as_me:14649: result: `eval echo '${'$ac_ac_Header'}'`" >&5
++echo "configure:17972: result: `eval echo '${'$ac_ac_Header'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
+ if test `eval echo '${'$ac_ac_Header'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -14660,19 +17983,19 @@
+ do
+ ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
+ 
+-echo "$as_me:14663: checking for $ac_header" >&5
++echo "configure:17986: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 14669 "configure"
++#line 17992 "configure"
+ #include "confdefs.h"
+ #include <$ac_header>
+ 
+ _ACEOF
+ ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
+-if { (eval echo $as_me:14675: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++if { (eval echo configure:17998: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
+   if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+   else
+@@ -14686,14 +18009,14 @@
+   eval "$ac_ac_Header=yes"
+ else
+   cat conftest.err >&5
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_Header=no"
+ fi
+ rm -f conftest*
+ 
+ fi
+-echo "$as_me:14696: result: `eval echo '${'$ac_ac_Header'}'`" >&5
++echo "configure:18019: result: `eval echo '${'$ac_ac_Header'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
+ if test `eval echo '${'$ac_ac_Header'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -14707,13 +18030,13 @@
+ 
+ cv=`echo "$i" | sed 'y%./+-%__p_%'`
+ 
+-echo "$as_me:14710: checking for $i" >&5
++echo "configure:18033: checking for $i" >&5
+ echo $ECHO_N "checking for $i... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_header_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 14716 "configure"
++#line 18039 "configure"
+ #include "confdefs.h"
+ \
+ #ifdef HAVE_STANDARDS_H
+@@ -14723,7 +18046,7 @@
+ 
+ _ACEOF
+ ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
+-if { (eval echo $as_me:14726: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++if { (eval echo configure:18049: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
+   if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+   else
+@@ -14737,14 +18060,14 @@
+   eval "ac_cv_header_$cv=yes"
+ else
+   cat conftest.err >&5
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_header_$cv=no"
+ fi
+ rm -f conftest*
+ 
+ fi
+-echo "$as_me:14747: result: `eval echo '${'ac_cv_header_$cv'}'`" >&5
++echo "configure:18070: result: `eval echo '${'ac_cv_header_$cv'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'ac_cv_header_$cv'}'`" >&6
+ ac_res=`eval echo \\$ac_cv_header_$cv`
+ if test "$ac_res" = yes; then
+@@ -14756,24 +18079,25 @@
+ fi
+ done
+ if false;then
++	
+ 
+ for ac_header in netinet/ip.h netinet/tcp.h
+ do
+ ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
+ 
+-echo "$as_me:14764: checking for $ac_header" >&5
++echo "configure:18088: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 14770 "configure"
++#line 18094 "configure"
+ #include "confdefs.h"
+ #include <$ac_header>
+ 
+ _ACEOF
+ ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
+-if { (eval echo $as_me:14776: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++if { (eval echo configure:18100: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
+   if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+   else
+@@ -14787,14 +18111,14 @@
+   eval "$ac_ac_Header=yes"
+ else
+   cat conftest.err >&5
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_Header=no"
+ fi
+ rm -f conftest*
+ 
+ fi
+-echo "$as_me:14797: result: `eval echo '${'$ac_ac_Header'}'`" >&5
++echo "configure:18121: result: `eval echo '${'$ac_ac_Header'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
+ if test `eval echo '${'$ac_ac_Header'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -14851,13 +18175,13 @@
+   v6type=unknown
+ v6lib=none
+ 
+-echo "$as_me:14854: checking ipv6 stack type" >&5
++echo "configure:18178: checking ipv6 stack type" >&5
+ echo $ECHO_N "checking ipv6 stack type... $ECHO_C" >&6
+ for i in v6d toshiba kame inria zeta linux; do
+ 	case $i in
+ 	v6d)
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 14860 "configure"
++#line 18184 "configure"
+ #include "confdefs.h"
+ 
+ #include </usr/local/v6/include/sys/types.h>
+@@ -14876,7 +18200,7 @@
+ 		;;
+ 	toshiba)
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 14879 "configure"
++#line 18203 "configure"
+ #include "confdefs.h"
+ 
+ #include <sys/param.h>
+@@ -14895,7 +18219,7 @@
+ 		;;
+ 	kame)
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 14898 "configure"
++#line 18222 "configure"
+ #include "confdefs.h"
+ 
+ #include <netinet/in.h>
+@@ -14914,7 +18238,7 @@
+ 		;;
+ 	inria)
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 14917 "configure"
++#line 18241 "configure"
+ #include "confdefs.h"
+ 
+ #include <netinet/in.h>
+@@ -14931,7 +18255,7 @@
+ 		;;
+ 	zeta)
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 14934 "configure"
++#line 18258 "configure"
+ #include "confdefs.h"
+ 
+ #include <sys/param.h>
+@@ -14961,7 +18285,7 @@
+ 		break
+ 	fi
+ done
+-echo "$as_me:14964: result: $v6type" >&5
++echo "configure:18288: result: $v6type" >&5
+ echo "${ECHO_T}$v6type" >&6
+ 
+ if test "$v6lib" != "none"; then
+@@ -14973,7 +18297,7 @@
+ 	done
+ fi
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 14976 "configure"
++#line 18300 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_SYS_TYPES_H
+@@ -15008,19 +18332,19 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:15011: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:18335: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_lib_ipv6=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_lib_ipv6=no
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+ 
+-echo "$as_me:15021: checking for IPv6" >&5
++echo "configure:18345: checking for IPv6" >&5
+ echo $ECHO_N "checking for IPv6... $ECHO_C" >&6
+-echo "$as_me:15023: result: $ac_cv_lib_ipv6" >&5
++echo "configure:18347: result: $ac_cv_lib_ipv6" >&5
+ echo "${ECHO_T}$ac_cv_lib_ipv6" >&6
+ if test "$ac_cv_lib_ipv6" = yes; then
+ 
+@@ -15032,7 +18356,7 @@
+   CFLAGS="${save_CFLAGS}"
+ fi
+ 
+-echo "$as_me:15035: checking for socket" >&5
++echo "configure:18359: checking for socket" >&5
+ echo $ECHO_N "checking for socket... $ECHO_C" >&6
+ if test "${ac_cv_funclib_socket+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -15048,7 +18372,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 15051 "configure"
++#line 18375 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -15060,10 +18384,10 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:15063: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:18387: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_socket=$ac_lib; else ac_cv_funclib_socket=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+@@ -15077,17 +18401,17 @@
+ eval "ac_res=\$ac_cv_funclib_socket"
+ 
+ if false; then
+-
++	
+ for ac_func in socket
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:15084: checking for $ac_func" >&5
++echo "configure:18408: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 15090 "configure"
++#line 18414 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -15118,16 +18442,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:15121: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:18445: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:15130: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:18454: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -15151,13 +18475,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:15154: result: yes" >&5
++	echo "configure:18478: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_socket=no"
+ 	eval "LIB_socket="
+-	echo "$as_me:15160: result: no" >&5
++	echo "configure:18484: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -15171,7 +18495,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:15174: result: yes, in $ac_res" >&5
++	echo "configure:18498: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -15180,7 +18504,7 @@
+ 	LIBS="$LIB_socket $LIBS"
+ fi
+ 
+-echo "$as_me:15183: checking for gethostbyname" >&5
++echo "configure:18507: checking for gethostbyname" >&5
+ echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
+ if test "${ac_cv_funclib_gethostbyname+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -15196,7 +18520,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 15199 "configure"
++#line 18523 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -15208,10 +18532,10 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:15211: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:18535: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_gethostbyname=$ac_lib; else ac_cv_funclib_gethostbyname=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+@@ -15225,17 +18549,17 @@
+ eval "ac_res=\$ac_cv_funclib_gethostbyname"
+ 
+ if false; then
+-
++	
+ for ac_func in gethostbyname
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:15232: checking for $ac_func" >&5
++echo "configure:18556: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 15238 "configure"
++#line 18562 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -15266,16 +18590,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:15269: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:18593: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:15278: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:18602: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -15299,13 +18623,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:15302: result: yes" >&5
++	echo "configure:18626: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_gethostbyname=no"
+ 	eval "LIB_gethostbyname="
+-	echo "$as_me:15308: result: no" >&5
++	echo "configure:18632: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -15319,7 +18643,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:15322: result: yes, in $ac_res" >&5
++	echo "configure:18646: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -15328,7 +18652,7 @@
+ 	LIBS="$LIB_gethostbyname $LIBS"
+ fi
+ 
+-echo "$as_me:15331: checking for syslog" >&5
++echo "configure:18655: checking for syslog" >&5
+ echo $ECHO_N "checking for syslog... $ECHO_C" >&6
+ if test "${ac_cv_funclib_syslog+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -15344,7 +18668,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 15347 "configure"
++#line 18671 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -15356,10 +18680,10 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:15359: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:18683: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_syslog=$ac_lib; else ac_cv_funclib_syslog=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+@@ -15373,17 +18697,17 @@
+ eval "ac_res=\$ac_cv_funclib_syslog"
+ 
+ if false; then
+-
++	
+ for ac_func in syslog
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:15380: checking for $ac_func" >&5
++echo "configure:18704: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 15386 "configure"
++#line 18710 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -15414,16 +18738,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:15417: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:18741: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:15426: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:18750: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -15447,13 +18771,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:15450: result: yes" >&5
++	echo "configure:18774: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_syslog=no"
+ 	eval "LIB_syslog="
+-	echo "$as_me:15456: result: no" >&5
++	echo "configure:18780: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -15467,7 +18791,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:15470: result: yes, in $ac_res" >&5
++	echo "configure:18794: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -15476,7 +18800,7 @@
+ 	LIBS="$LIB_syslog $LIBS"
+ fi
+ 
+-echo "$as_me:15479: checking for logwtmp" >&5
++echo "configure:18803: checking for logwtmp" >&5
+ echo $ECHO_N "checking for logwtmp... $ECHO_C" >&6
+ if test "${ac_cv_funclib_logwtmp+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -15492,7 +18816,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 15495 "configure"
++#line 18819 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -15504,10 +18828,10 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:15507: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:18831: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_logwtmp=$ac_lib; else ac_cv_funclib_logwtmp=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+@@ -15521,17 +18845,17 @@
+ eval "ac_res=\$ac_cv_funclib_logwtmp"
+ 
+ if false; then
+-
++	
+ for ac_func in logwtmp
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:15528: checking for $ac_func" >&5
++echo "configure:18852: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 15534 "configure"
++#line 18858 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -15562,16 +18886,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:15565: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:18889: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:15574: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:18898: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -15595,13 +18919,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:15598: result: yes" >&5
++	echo "configure:18922: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_logwtmp=no"
+ 	eval "LIB_logwtmp="
+-	echo "$as_me:15604: result: no" >&5
++	echo "configure:18928: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -15615,12 +18939,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:15618: result: yes, in $ac_res" >&5
++	echo "configure:18942: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "$as_me:15623: checking for tgetent" >&5
++echo "configure:18947: checking for tgetent" >&5
+ echo $ECHO_N "checking for tgetent... $ECHO_C" >&6
+ if test "${ac_cv_funclib_tgetent+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -15636,7 +18960,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 15639 "configure"
++#line 18963 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -15648,10 +18972,10 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:15651: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:18975: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_tgetent=$ac_lib; else ac_cv_funclib_tgetent=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+@@ -15665,17 +18989,17 @@
+ eval "ac_res=\$ac_cv_funclib_tgetent"
+ 
+ if false; then
+-
++	
+ for ac_func in tgetent
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:15672: checking for $ac_func" >&5
++echo "configure:18996: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 15678 "configure"
++#line 19002 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -15706,16 +19030,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:15709: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:19033: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:15718: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:19042: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -15739,13 +19063,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:15742: result: yes" >&5
++	echo "configure:19066: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_tgetent=no"
+ 	eval "LIB_tgetent="
+-	echo "$as_me:15748: result: no" >&5
++	echo "configure:19072: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -15759,12 +19083,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:15762: result: yes, in $ac_res" >&5
++	echo "configure:19086: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "$as_me:15767: checking for gethostbyname2" >&5
++echo "configure:19091: checking for gethostbyname2" >&5
+ echo $ECHO_N "checking for gethostbyname2... $ECHO_C" >&6
+ if test "${ac_cv_funclib_gethostbyname2+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -15780,7 +19104,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 15783 "configure"
++#line 19107 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -15792,10 +19116,10 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:15795: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:19119: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_gethostbyname2=$ac_lib; else ac_cv_funclib_gethostbyname2=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+@@ -15809,17 +19133,17 @@
+ eval "ac_res=\$ac_cv_funclib_gethostbyname2"
+ 
+ if false; then
+-
++	
+ for ac_func in gethostbyname2
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:15816: checking for $ac_func" >&5
++echo "configure:19140: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 15822 "configure"
++#line 19146 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -15850,16 +19174,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:15853: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:19177: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:15862: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:19186: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -15883,13 +19207,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:15886: result: yes" >&5
++	echo "configure:19210: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_gethostbyname2=no"
+ 	eval "LIB_gethostbyname2="
+-	echo "$as_me:15892: result: no" >&5
++	echo "configure:19216: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -15903,7 +19227,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:15906: result: yes, in $ac_res" >&5
++	echo "configure:19230: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -15912,7 +19236,7 @@
+ 	LIBS="$LIB_gethostbyname2 $LIBS"
+ fi
+ 
+-echo "$as_me:15915: checking for res_search" >&5
++echo "configure:19239: checking for res_search" >&5
+ echo $ECHO_N "checking for res_search... $ECHO_C" >&6
+ if test "${ac_cv_funclib_res_search+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -15928,7 +19252,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 15931 "configure"
++#line 19255 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -15954,10 +19278,10 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:15957: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:19281: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_res_search=$ac_lib; else ac_cv_funclib_res_search=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+@@ -15971,17 +19295,17 @@
+ eval "ac_res=\$ac_cv_funclib_res_search"
+ 
+ if false; then
+-
++	
+ for ac_func in res_search
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:15978: checking for $ac_func" >&5
++echo "configure:19302: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 15984 "configure"
++#line 19308 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -16012,16 +19336,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:16015: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:19339: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:16024: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:19348: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -16045,13 +19369,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:16048: result: yes" >&5
++	echo "configure:19372: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_res_search=no"
+ 	eval "LIB_res_search="
+-	echo "$as_me:16054: result: no" >&5
++	echo "configure:19378: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -16065,7 +19389,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:16068: result: yes, in $ac_res" >&5
++	echo "configure:19392: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -16074,7 +19398,7 @@
+ 	LIBS="$LIB_res_search $LIBS"
+ fi
+ 
+-echo "$as_me:16077: checking for dn_expand" >&5
++echo "configure:19401: checking for dn_expand" >&5
+ echo $ECHO_N "checking for dn_expand... $ECHO_C" >&6
+ if test "${ac_cv_funclib_dn_expand+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -16090,7 +19414,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 16093 "configure"
++#line 19417 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -16116,10 +19440,10 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:16119: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:19443: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_dn_expand=$ac_lib; else ac_cv_funclib_dn_expand=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+@@ -16133,17 +19457,17 @@
+ eval "ac_res=\$ac_cv_funclib_dn_expand"
+ 
+ if false; then
+-
++	
+ for ac_func in dn_expand
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:16140: checking for $ac_func" >&5
++echo "configure:19464: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 16146 "configure"
++#line 19470 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -16174,16 +19498,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:16177: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:19501: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:16186: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:19510: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -16207,13 +19531,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:16210: result: yes" >&5
++	echo "configure:19534: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_dn_expand=no"
+ 	eval "LIB_dn_expand="
+-	echo "$as_me:16216: result: no" >&5
++	echo "configure:19540: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -16227,7 +19551,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:16230: result: yes, in $ac_res" >&5
++	echo "configure:19554: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -16236,7 +19560,7 @@
+ 	LIBS="$LIB_dn_expand $LIBS"
+ fi
+ 
+-echo "$as_me:16239: checking for working snprintf" >&5
++echo "configure:19563: checking for working snprintf" >&5
+ echo $ECHO_N "checking for working snprintf... $ECHO_C" >&6
+ if test "${ac_cv_func_snprintf_working+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -16246,7 +19570,7 @@
+   :
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 16249 "configure"
++#line 19573 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -16259,27 +19583,23 @@
+ }
+ _ACEOF
+ rm -f conftest$ac_exeext
+-{ (eval echo $as_me:16262: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
+-  (./conftest$ac_exeext) >&5 2>&1;
+-ac_status=$?
+-if test $ac_status = 0; then
++if { (eval echo configure:19586: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
++   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
+   :
+ else
+-  echo "$as_me: program exited with status $ac_status" >&5
+-echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_snprintf_working=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_snprintf_working=no
+ fi
+-
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+ 
+ fi
+-echo "$as_me:16278: result: $ac_cv_func_snprintf_working" >&5
++echo "configure:19598: result: $ac_cv_func_snprintf_working" >&5
+ echo "${ECHO_T}$ac_cv_func_snprintf_working" >&6
+ 
+ if test "$ac_cv_func_snprintf_working" = yes; then
+-
++	
+ cat >>confdefs.h <<EOF
+ #define HAVE_SNPRINTF 1
+ EOF
+@@ -16288,13 +19608,13 @@
+ if test "$ac_cv_func_snprintf_working" = yes; then
+ 
+ if test "$ac_cv_func_snprintf+set" != set -o "$ac_cv_func_snprintf" = yes; then
+-echo "$as_me:16291: checking if snprintf needs a prototype" >&5
++echo "configure:19611: checking if snprintf needs a prototype" >&5
+ echo $ECHO_N "checking if snprintf needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_snprintf_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 16297 "configure"
++#line 19617 "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
+ int
+@@ -16309,20 +19629,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:16312: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:19632: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_snprintf_noproto=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_func_snprintf_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:16321: result: $ac_cv_func_snprintf_noproto" >&5
++echo "configure:19641: result: $ac_cv_func_snprintf_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_snprintf_noproto" >&6
+ 
+ if test "$ac_cv_func_snprintf_noproto" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define NEED_SNPRINTF_PROTO 1
+ EOF
+@@ -16333,7 +19653,7 @@
+ 
+ fi
+ 
+-echo "$as_me:16336: checking for working vsnprintf" >&5
++echo "configure:19656: checking for working vsnprintf" >&5
+ echo $ECHO_N "checking for working vsnprintf... $ECHO_C" >&6
+ if test "${ac_cv_func_vsnprintf_working+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -16343,7 +19663,7 @@
+   :
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 16346 "configure"
++#line 19666 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -16366,27 +19686,23 @@
+ }
+ _ACEOF
+ rm -f conftest$ac_exeext
+-{ (eval echo $as_me:16369: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
+-  (./conftest$ac_exeext) >&5 2>&1;
+-ac_status=$?
+-if test $ac_status = 0; then
++if { (eval echo configure:19689: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
++   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
+   :
+ else
+-  echo "$as_me: program exited with status $ac_status" >&5
+-echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_vsnprintf_working=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_vsnprintf_working=no
+ fi
+-
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+ 
+ fi
+-echo "$as_me:16385: result: $ac_cv_func_vsnprintf_working" >&5
++echo "configure:19701: result: $ac_cv_func_vsnprintf_working" >&5
+ echo "${ECHO_T}$ac_cv_func_vsnprintf_working" >&6
+ 
+ if test "$ac_cv_func_vsnprintf_working" = yes; then
+-
++	
+ cat >>confdefs.h <<EOF
+ #define HAVE_VSNPRINTF 1
+ EOF
+@@ -16395,13 +19711,13 @@
+ if test "$ac_cv_func_vsnprintf_working" = yes; then
+ 
+ if test "$ac_cv_func_vsnprintf+set" != set -o "$ac_cv_func_vsnprintf" = yes; then
+-echo "$as_me:16398: checking if vsnprintf needs a prototype" >&5
++echo "configure:19714: checking if vsnprintf needs a prototype" >&5
+ echo $ECHO_N "checking if vsnprintf needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_vsnprintf_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 16404 "configure"
++#line 19720 "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
+ int
+@@ -16416,20 +19732,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:16419: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:19735: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_vsnprintf_noproto=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_func_vsnprintf_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:16428: result: $ac_cv_func_vsnprintf_noproto" >&5
++echo "configure:19744: result: $ac_cv_func_vsnprintf_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_vsnprintf_noproto" >&6
+ 
+ if test "$ac_cv_func_vsnprintf_noproto" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define NEED_VSNPRINTF_PROTO 1
+ EOF
+@@ -16475,13 +19791,13 @@
+ 
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:16478: checking for $ac_func" >&5
++echo "configure:19794: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 16484 "configure"
++#line 19800 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -16512,16 +19828,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:16515: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:19831: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:16524: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:19840: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -16535,19 +19851,19 @@
+ do
+ ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
+ 
+-echo "$as_me:16538: checking for $ac_header" >&5
++echo "configure:19854: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 16544 "configure"
++#line 19860 "configure"
+ #include "confdefs.h"
+ #include <$ac_header>
+ 
+ _ACEOF
+ ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
+-if { (eval echo $as_me:16550: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++if { (eval echo configure:19866: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
+   if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+   else
+@@ -16561,14 +19877,14 @@
+   eval "$ac_ac_Header=yes"
+ else
+   cat conftest.err >&5
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_Header=no"
+ fi
+ rm -f conftest*
+ 
+ fi
+-echo "$as_me:16571: result: `eval echo '${'$ac_ac_Header'}'`" >&5
++echo "configure:19887: result: `eval echo '${'$ac_ac_Header'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
+ if test `eval echo '${'$ac_ac_Header'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -16581,13 +19897,13 @@
+ for ac_func in sgi_getcapabilitybyname cap_set_proc
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:16584: checking for $ac_func" >&5
++echo "configure:19900: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 16590 "configure"
++#line 19906 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -16618,16 +19934,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:16621: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:19937: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:16630: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:19946: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -16637,7 +19953,7 @@
+ fi
+ done
+ 
+-echo "$as_me:16640: checking for getpwnam_r" >&5
++echo "configure:19956: checking for getpwnam_r" >&5
+ echo $ECHO_N "checking for getpwnam_r... $ECHO_C" >&6
+ if test "${ac_cv_funclib_getpwnam_r+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -16653,7 +19969,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 16656 "configure"
++#line 19972 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -16665,10 +19981,10 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:16668: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:19984: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_getpwnam_r=$ac_lib; else ac_cv_funclib_getpwnam_r=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+@@ -16682,17 +19998,17 @@
+ eval "ac_res=\$ac_cv_funclib_getpwnam_r"
+ 
+ if false; then
+-
++	
+ for ac_func in getpwnam_r
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:16689: checking for $ac_func" >&5
++echo "configure:20005: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 16695 "configure"
++#line 20011 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -16723,16 +20039,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:16726: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:20042: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:16735: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:20051: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -16756,13 +20072,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:16759: result: yes" >&5
++	echo "configure:20075: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_getpwnam_r=no"
+ 	eval "LIB_getpwnam_r="
+-	echo "$as_me:16765: result: no" >&5
++	echo "configure:20081: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -16776,13 +20092,13 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:16779: result: yes, in $ac_res" >&5
++	echo "configure:20095: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+ if test "$ac_cv_func_getpwnam_r" = yes; then
+-	echo "$as_me:16785: checking if getpwnam_r is posix" >&5
++	echo "configure:20101: checking if getpwnam_r is posix" >&5
+ echo $ECHO_N "checking if getpwnam_r is posix... $ECHO_C" >&6
+ if test "${ac_cv_func_getpwnam_r_posix+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -16793,7 +20109,7 @@
+   :
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 16796 "configure"
++#line 20112 "configure"
+ #include "confdefs.h"
+ 
+ #include <pwd.h>
+@@ -16805,27 +20121,23 @@
+ 
+ _ACEOF
+ rm -f conftest$ac_exeext
+-{ (eval echo $as_me:16808: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
+-  (./conftest$ac_exeext) >&5 2>&1;
+-ac_status=$?
+-if test $ac_status = 0; then
++if { (eval echo configure:20124: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
++   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
+   ac_cv_func_getpwnam_r_posix=yes
+ else
+-  echo "$as_me: program exited with status $ac_status" >&5
+-echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_getpwnam_r_posix=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_getpwnam_r_posix=no
+ fi
+-
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+ 
+ LIBS="$ac_libs"
+ fi
+-echo "$as_me:16825: result: $ac_cv_func_getpwnam_r_posix" >&5
++echo "configure:20137: result: $ac_cv_func_getpwnam_r_posix" >&5
+ echo "${ECHO_T}$ac_cv_func_getpwnam_r_posix" >&6
+ if test "$ac_cv_func_getpwnam_r_posix" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define POSIX_GETPWNAM_R 1
+ EOF
+@@ -16833,7 +20145,7 @@
+ fi
+ fi
+ 
+-echo "$as_me:16836: checking for getsockopt" >&5
++echo "configure:20148: checking for getsockopt" >&5
+ echo $ECHO_N "checking for getsockopt... $ECHO_C" >&6
+ if test "${ac_cv_funclib_getsockopt+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -16849,7 +20161,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 16852 "configure"
++#line 20164 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_SYS_TYPES_H
+ #include <sys/types.h>
+@@ -16866,10 +20178,10 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:16869: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:20181: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_getsockopt=$ac_lib; else ac_cv_funclib_getsockopt=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+@@ -16883,17 +20195,17 @@
+ eval "ac_res=\$ac_cv_funclib_getsockopt"
+ 
+ if false; then
+-
++	
+ for ac_func in getsockopt
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:16890: checking for $ac_func" >&5
++echo "configure:20202: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 16896 "configure"
++#line 20208 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -16924,16 +20236,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:16927: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:20239: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:16936: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:20248: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -16957,13 +20269,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:16960: result: yes" >&5
++	echo "configure:20272: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_getsockopt=no"
+ 	eval "LIB_getsockopt="
+-	echo "$as_me:16966: result: no" >&5
++	echo "configure:20278: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -16977,12 +20289,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:16980: result: yes, in $ac_res" >&5
++	echo "configure:20292: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "$as_me:16985: checking for setsockopt" >&5
++echo "configure:20297: checking for setsockopt" >&5
+ echo $ECHO_N "checking for setsockopt... $ECHO_C" >&6
+ if test "${ac_cv_funclib_setsockopt+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -16998,7 +20310,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 17001 "configure"
++#line 20313 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_SYS_TYPES_H
+ #include <sys/types.h>
+@@ -17015,10 +20327,10 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:17018: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:20330: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_setsockopt=$ac_lib; else ac_cv_funclib_setsockopt=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+@@ -17032,17 +20344,17 @@
+ eval "ac_res=\$ac_cv_funclib_setsockopt"
+ 
+ if false; then
+-
++	
+ for ac_func in setsockopt
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:17039: checking for $ac_func" >&5
++echo "configure:20351: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 17045 "configure"
++#line 20357 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -17073,16 +20385,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:17076: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:20388: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:17085: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:20397: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -17106,13 +20418,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:17109: result: yes" >&5
++	echo "configure:20421: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_setsockopt=no"
+ 	eval "LIB_setsockopt="
+-	echo "$as_me:17115: result: no" >&5
++	echo "configure:20427: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -17126,7 +20438,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:17129: result: yes, in $ac_res" >&5
++	echo "configure:20441: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -17134,13 +20446,13 @@
+ for ac_func in getudbnam setlim
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:17137: checking for $ac_func" >&5
++echo "configure:20449: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 17143 "configure"
++#line 20455 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -17171,16 +20483,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:17174: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:20486: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:17183: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:20495: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -17190,13 +20502,13 @@
+ fi
+ done
+ 
+-echo "$as_me:17193: checking return type of signal handlers" >&5
++echo "configure:20505: checking return type of signal handlers" >&5
+ echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
+ if test "${ac_cv_type_signal+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 17199 "configure"
++#line 20511 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #include <signal.h>
+@@ -17218,16 +20530,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:17221: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:20533: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_signal=void
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_signal=int
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:17230: result: $ac_cv_type_signal" >&5
++echo "configure:20542: result: $ac_cv_type_signal" >&5
+ echo "${ECHO_T}$ac_cv_type_signal" >&6
+ 
+ cat >>confdefs.h <<EOF
+@@ -17235,14 +20547,14 @@
+ EOF
+ 
+ if test "$ac_cv_type_signal" = "void" ; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define VOID_RETSIGTYPE 1
+ EOF
+ 
+ fi
+ 
+-echo "$as_me:17245: checking if realloc if broken" >&5
++echo "configure:20557: checking if realloc if broken" >&5
+ echo $ECHO_N "checking if realloc if broken... $ECHO_C" >&6
+ if test "${ac_cv_func_realloc_broken+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -17253,7 +20565,7 @@
+   :
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 17256 "configure"
++#line 20568 "configure"
+ #include "confdefs.h"
+ 
+ #include <stddef.h>
+@@ -17266,40 +20578,36 @@
+ 
+ _ACEOF
+ rm -f conftest$ac_exeext
+-{ (eval echo $as_me:17269: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
+-  (./conftest$ac_exeext) >&5 2>&1;
+-ac_status=$?
+-if test $ac_status = 0; then
++if { (eval echo configure:20581: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
++   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
+   :
+ else
+-  echo "$as_me: program exited with status $ac_status" >&5
+-echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_realloc_broken=yes
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_realloc_broken=yes
+ fi
+-
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+ 
+ fi
+-echo "$as_me:17285: result: $ac_cv_func_realloc_broken" >&5
++echo "configure:20593: result: $ac_cv_func_realloc_broken" >&5
+ echo "${ECHO_T}$ac_cv_func_realloc_broken" >&6
+ if test "$ac_cv_func_realloc_broken" = yes ; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define BROKEN_REALLOC 1
+ EOF
+ 
+ fi
+ 
+-echo "$as_me:17295: checking for ut_addr in struct utmp" >&5
++echo "configure:20603: checking for ut_addr in struct utmp" >&5
+ echo $ECHO_N "checking for ut_addr in struct utmp... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_utmp_ut_addr+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 17302 "configure"
++#line 20610 "configure"
+ #include "confdefs.h"
+ #include <utmp.h>
+ int
+@@ -17311,33 +20619,35 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:17314: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:20622: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_utmp_ut_addr=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_struct_utmp_ut_addr=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:17323: result: $ac_cv_type_struct_utmp_ut_addr" >&5
++echo "configure:20631: result: $ac_cv_type_struct_utmp_ut_addr" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_addr" >&6
+ if test "$ac_cv_type_struct_utmp_ut_addr" = yes; then
+-
++	
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_STRUCT_UTMP_UT_ADDR 1
+ EOF
+ 
++	
+ fi
+ 
+-echo "$as_me:17333: checking for ut_host in struct utmp" >&5
++echo "configure:20643: checking for ut_host in struct utmp" >&5
+ echo $ECHO_N "checking for ut_host in struct utmp... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_utmp_ut_host+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 17340 "configure"
++#line 20650 "configure"
+ #include "confdefs.h"
+ #include <utmp.h>
+ int
+@@ -17349,33 +20659,35 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:17352: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:20662: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_utmp_ut_host=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_struct_utmp_ut_host=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:17361: result: $ac_cv_type_struct_utmp_ut_host" >&5
++echo "configure:20671: result: $ac_cv_type_struct_utmp_ut_host" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_host" >&6
+ if test "$ac_cv_type_struct_utmp_ut_host" = yes; then
+-
++	
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_STRUCT_UTMP_UT_HOST 1
+ EOF
+ 
++	
+ fi
+ 
+-echo "$as_me:17371: checking for ut_id in struct utmp" >&5
++echo "configure:20683: checking for ut_id in struct utmp" >&5
+ echo $ECHO_N "checking for ut_id in struct utmp... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_utmp_ut_id+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 17378 "configure"
++#line 20690 "configure"
+ #include "confdefs.h"
+ #include <utmp.h>
+ int
+@@ -17387,33 +20699,35 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:17390: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:20702: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_utmp_ut_id=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_struct_utmp_ut_id=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:17399: result: $ac_cv_type_struct_utmp_ut_id" >&5
++echo "configure:20711: result: $ac_cv_type_struct_utmp_ut_id" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_id" >&6
+ if test "$ac_cv_type_struct_utmp_ut_id" = yes; then
+-
++	
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_STRUCT_UTMP_UT_ID 1
+ EOF
+ 
++	
+ fi
+ 
+-echo "$as_me:17409: checking for ut_pid in struct utmp" >&5
++echo "configure:20723: checking for ut_pid in struct utmp" >&5
+ echo $ECHO_N "checking for ut_pid in struct utmp... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_utmp_ut_pid+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 17416 "configure"
++#line 20730 "configure"
+ #include "confdefs.h"
+ #include <utmp.h>
+ int
+@@ -17425,33 +20739,35 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:17428: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:20742: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_utmp_ut_pid=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_struct_utmp_ut_pid=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:17437: result: $ac_cv_type_struct_utmp_ut_pid" >&5
++echo "configure:20751: result: $ac_cv_type_struct_utmp_ut_pid" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_pid" >&6
+ if test "$ac_cv_type_struct_utmp_ut_pid" = yes; then
+-
++	
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_STRUCT_UTMP_UT_PID 1
+ EOF
+ 
++	
+ fi
+ 
+-echo "$as_me:17447: checking for ut_type in struct utmp" >&5
++echo "configure:20763: checking for ut_type in struct utmp" >&5
+ echo $ECHO_N "checking for ut_type in struct utmp... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_utmp_ut_type+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 17454 "configure"
++#line 20770 "configure"
+ #include "confdefs.h"
+ #include <utmp.h>
+ int
+@@ -17463,33 +20779,35 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:17466: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:20782: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_utmp_ut_type=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_struct_utmp_ut_type=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:17475: result: $ac_cv_type_struct_utmp_ut_type" >&5
++echo "configure:20791: result: $ac_cv_type_struct_utmp_ut_type" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_type" >&6
+ if test "$ac_cv_type_struct_utmp_ut_type" = yes; then
+-
++	
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_STRUCT_UTMP_UT_TYPE 1
+ EOF
+ 
++	
+ fi
+ 
+-echo "$as_me:17485: checking for ut_user in struct utmp" >&5
++echo "configure:20803: checking for ut_user in struct utmp" >&5
+ echo $ECHO_N "checking for ut_user in struct utmp... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_utmp_ut_user+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 17492 "configure"
++#line 20810 "configure"
+ #include "confdefs.h"
+ #include <utmp.h>
+ int
+@@ -17501,33 +20819,35 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:17504: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:20822: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_utmp_ut_user=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_struct_utmp_ut_user=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:17513: result: $ac_cv_type_struct_utmp_ut_user" >&5
++echo "configure:20831: result: $ac_cv_type_struct_utmp_ut_user" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_user" >&6
+ if test "$ac_cv_type_struct_utmp_ut_user" = yes; then
+-
++	
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_STRUCT_UTMP_UT_USER 1
+ EOF
+ 
++	
+ fi
+ 
+-echo "$as_me:17523: checking for ut_exit in struct utmpx" >&5
++echo "configure:20843: checking for ut_exit in struct utmpx" >&5
+ echo $ECHO_N "checking for ut_exit in struct utmpx... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_utmpx_ut_exit+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 17530 "configure"
++#line 20850 "configure"
+ #include "confdefs.h"
+ #include <utmpx.h>
+ int
+@@ -17539,33 +20859,35 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:17542: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:20862: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_utmpx_ut_exit=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_struct_utmpx_ut_exit=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:17551: result: $ac_cv_type_struct_utmpx_ut_exit" >&5
++echo "configure:20871: result: $ac_cv_type_struct_utmpx_ut_exit" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_utmpx_ut_exit" >&6
+ if test "$ac_cv_type_struct_utmpx_ut_exit" = yes; then
+-
++	
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_STRUCT_UTMPX_UT_EXIT 1
+ EOF
+ 
++	
+ fi
+ 
+-echo "$as_me:17561: checking for ut_syslen in struct utmpx" >&5
++echo "configure:20883: checking for ut_syslen in struct utmpx" >&5
+ echo $ECHO_N "checking for ut_syslen in struct utmpx... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_utmpx_ut_syslen+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 17568 "configure"
++#line 20890 "configure"
+ #include "confdefs.h"
+ #include <utmpx.h>
+ int
+@@ -17577,33 +20899,35 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:17580: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:20902: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_utmpx_ut_syslen=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_struct_utmpx_ut_syslen=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:17589: result: $ac_cv_type_struct_utmpx_ut_syslen" >&5
++echo "configure:20911: result: $ac_cv_type_struct_utmpx_ut_syslen" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_utmpx_ut_syslen" >&6
+ if test "$ac_cv_type_struct_utmpx_ut_syslen" = yes; then
+-
++	
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_STRUCT_UTMPX_UT_SYSLEN 1
+ EOF
+ 
++	
+ fi
+ 
+-echo "$as_me:17599: checking for tm_gmtoff in struct tm" >&5
++echo "configure:20923: checking for tm_gmtoff in struct tm" >&5
+ echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_tm_tm_gmtoff+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 17606 "configure"
++#line 20930 "configure"
+ #include "confdefs.h"
+ #include <time.h>
+ int
+@@ -17615,33 +20939,35 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:17618: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:20942: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_tm_tm_gmtoff=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_struct_tm_tm_gmtoff=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:17627: result: $ac_cv_type_struct_tm_tm_gmtoff" >&5
++echo "configure:20951: result: $ac_cv_type_struct_tm_tm_gmtoff" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_tm_tm_gmtoff" >&6
+ if test "$ac_cv_type_struct_tm_tm_gmtoff" = yes; then
+-
++	
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_STRUCT_TM_TM_GMTOFF 1
+ EOF
+ 
++	
+ fi
+ 
+-echo "$as_me:17637: checking for tm_zone in struct tm" >&5
++echo "configure:20963: checking for tm_zone in struct tm" >&5
+ echo $ECHO_N "checking for tm_zone in struct tm... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_tm_tm_zone+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 17644 "configure"
++#line 20970 "configure"
+ #include "confdefs.h"
+ #include <time.h>
+ int
+@@ -17653,33 +20979,35 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:17656: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:20982: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_tm_tm_zone=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_struct_tm_tm_zone=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:17665: result: $ac_cv_type_struct_tm_tm_zone" >&5
++echo "configure:20991: result: $ac_cv_type_struct_tm_tm_zone" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_tm_tm_zone" >&6
+ if test "$ac_cv_type_struct_tm_tm_zone" = yes; then
+-
++	
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_STRUCT_TM_TM_ZONE 1
+ EOF
+ 
++	
+ fi
+ 
+-echo "$as_me:17675: checking for timezone" >&5
++echo "configure:21003: checking for timezone" >&5
+ echo $ECHO_N "checking for timezone... $ECHO_C" >&6
+ if test "${ac_cv_var_timezone+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 17682 "configure"
++#line 21010 "configure"
+ #include "confdefs.h"
+ extern int timezone;
+ int foo() { return timezone; }
+@@ -17692,10 +21020,10 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:17695: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:21023: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_var_timezone=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_var_timezone=no
+ fi
+@@ -17704,65 +21032,25 @@
+ fi
+ 
+ ac_foo=`eval echo \\$ac_cv_var_timezone`
+-echo "$as_me:17707: result: $ac_foo" >&5
++echo "configure:21035: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+-
++	
+ cat >>confdefs.h <<EOF
+ #define HAVE_TIMEZONE 1
+ EOF
+ 
+-echo "$as_me:17715: checking if timezone is properly declared" >&5
+-echo $ECHO_N "checking if timezone is properly declared... $ECHO_C" >&6
+-if test "${ac_cv_var_timezone_declaration+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-
+-cat >conftest.$ac_ext <<_ACEOF
+-#line 17722 "configure"
+-#include "confdefs.h"
+-#include <time.h>
+-extern struct { int foo; } timezone;
+-int
+-main ()
+-{
+-timezone.foo = 1;
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo $as_me:17735: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+-  eval "ac_cv_var_timezone_declaration=no"
+-else
+-  echo "$as_me: failed program was:" >&5
+-  cat conftest.$ac_ext >&5
+-  eval "ac_cv_var_timezone_declaration=yes"
+-fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
+-
+-fi
+-
+-echo "$as_me:17746: result: $ac_cv_var_timezone_declaration" >&5
+-echo "${ECHO_T}$ac_cv_var_timezone_declaration" >&6
+-if eval "test \"\$ac_cv_var_timezone_declaration\" = yes"; then
+-
+-cat >>confdefs.h <<\EOF
+-#define HAVE_TIMEZONE_DECLARATION 1
+-EOF
+-
+-fi
+-
++	
+ fi
+ 
+ cv=`echo "sa_family_t" | sed 'y%./+- %__p__%'`
+-echo "$as_me:17759: checking for sa_family_t" >&5
++echo "configure:21047: checking for sa_family_t" >&5
+ echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 17765 "configure"
++#line 21053 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -17779,28 +21067,28 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:17782: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:21070: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_type_$cv=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_type_$cv=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:17792: result: $ac_foo" >&5
++echo "configure:21080: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo sa_family_t | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:17797: checking for sa_family_t" >&5
++	echo "configure:21085: checking for sa_family_t" >&5
+ echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6
+ if test "${ac_cv_type_sa_family_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 17803 "configure"
++#line 21091 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -17815,16 +21103,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:17818: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:21106: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_sa_family_t=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_sa_family_t=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:17827: result: $ac_cv_type_sa_family_t" >&5
++echo "configure:21115: result: $ac_cv_type_sa_family_t" >&5
+ echo "${ECHO_T}$ac_cv_type_sa_family_t" >&6
+ if test $ac_cv_type_sa_family_t = yes; then
+ 
+@@ -17843,13 +21131,13 @@
+ fi
+ 
+ cv=`echo "socklen_t" | sed 'y%./+- %__p__%'`
+-echo "$as_me:17846: checking for socklen_t" >&5
++echo "configure:21134: checking for socklen_t" >&5
+ echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 17852 "configure"
++#line 21140 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -17866,28 +21154,28 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:17869: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:21157: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_type_$cv=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_type_$cv=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:17879: result: $ac_foo" >&5
++echo "configure:21167: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo socklen_t | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:17884: checking for socklen_t" >&5
++	echo "configure:21172: checking for socklen_t" >&5
+ echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
+ if test "${ac_cv_type_socklen_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 17890 "configure"
++#line 21178 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -17902,16 +21190,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:17905: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:21193: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_socklen_t=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_socklen_t=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:17914: result: $ac_cv_type_socklen_t" >&5
++echo "configure:21202: result: $ac_cv_type_socklen_t" >&5
+ echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
+ if test $ac_cv_type_socklen_t = yes; then
+ 
+@@ -17930,13 +21218,13 @@
+ fi
+ 
+ cv=`echo "struct sockaddr" | sed 'y%./+- %__p__%'`
+-echo "$as_me:17933: checking for struct sockaddr" >&5
++echo "configure:21221: checking for struct sockaddr" >&5
+ echo $ECHO_N "checking for struct sockaddr... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 17939 "configure"
++#line 21227 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -17953,28 +21241,28 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:17956: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:21244: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_type_$cv=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_type_$cv=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:17966: result: $ac_foo" >&5
++echo "configure:21254: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo struct sockaddr | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:17971: checking for struct sockaddr" >&5
++	echo "configure:21259: checking for struct sockaddr" >&5
+ echo $ECHO_N "checking for struct sockaddr... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_sockaddr+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 17977 "configure"
++#line 21265 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -17989,16 +21277,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:17992: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:21280: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_sockaddr=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_struct_sockaddr=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:18001: result: $ac_cv_type_struct_sockaddr" >&5
++echo "configure:21289: result: $ac_cv_type_struct_sockaddr" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_sockaddr" >&6
+ if test $ac_cv_type_struct_sockaddr = yes; then
+ 
+@@ -18017,13 +21305,13 @@
+ fi
+ 
+ cv=`echo "struct sockaddr_storage" | sed 'y%./+- %__p__%'`
+-echo "$as_me:18020: checking for struct sockaddr_storage" >&5
++echo "configure:21308: checking for struct sockaddr_storage" >&5
+ echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 18026 "configure"
++#line 21314 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -18040,28 +21328,28 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:18043: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:21331: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_type_$cv=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_type_$cv=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:18053: result: $ac_foo" >&5
++echo "configure:21341: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo struct sockaddr_storage | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:18058: checking for struct sockaddr_storage" >&5
++	echo "configure:21346: checking for struct sockaddr_storage" >&5
+ echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_sockaddr_storage+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 18064 "configure"
++#line 21352 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -18076,16 +21364,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:18079: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:21367: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_sockaddr_storage=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_struct_sockaddr_storage=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:18088: result: $ac_cv_type_struct_sockaddr_storage" >&5
++echo "configure:21376: result: $ac_cv_type_struct_sockaddr_storage" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_sockaddr_storage" >&6
+ if test $ac_cv_type_struct_sockaddr_storage = yes; then
+ 
+@@ -18104,13 +21392,13 @@
+ fi
+ 
+ cv=`echo "struct addrinfo" | sed 'y%./+- %__p__%'`
+-echo "$as_me:18107: checking for struct addrinfo" >&5
++echo "configure:21395: checking for struct addrinfo" >&5
+ echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 18113 "configure"
++#line 21401 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -18127,28 +21415,28 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:18130: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:21418: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_type_$cv=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_type_$cv=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:18140: result: $ac_foo" >&5
++echo "configure:21428: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo struct addrinfo | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:18145: checking for struct addrinfo" >&5
++	echo "configure:21433: checking for struct addrinfo" >&5
+ echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_addrinfo+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 18151 "configure"
++#line 21439 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -18163,16 +21451,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:18166: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:21454: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_addrinfo=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_struct_addrinfo=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:18175: result: $ac_cv_type_struct_addrinfo" >&5
++echo "configure:21463: result: $ac_cv_type_struct_addrinfo" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_addrinfo" >&6
+ if test $ac_cv_type_struct_addrinfo = yes; then
+ 
+@@ -18190,7 +21478,7 @@
+ 
+ fi
+ 
+-echo "$as_me:18193: checking for struct winsize" >&5
++echo "configure:21481: checking for struct winsize" >&5
+ echo $ECHO_N "checking for struct winsize... $ECHO_C" >&6
+ if test "${ac_cv_struct_winsize+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -18199,7 +21487,7 @@
+ ac_cv_struct_winsize=no
+ for i in sys/termios.h sys/ioctl.h; do
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 18202 "configure"
++#line 21490 "configure"
+ #include "confdefs.h"
+ #include <$i>
+ 
+@@ -18220,10 +21508,10 @@
+ EOF
+ 
+ fi
+-echo "$as_me:18223: result: $ac_cv_struct_winsize" >&5
++echo "configure:21511: result: $ac_cv_struct_winsize" >&5
+ echo "${ECHO_T}$ac_cv_struct_winsize" >&6
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 18226 "configure"
++#line 21514 "configure"
+ #include "confdefs.h"
+ #include <termios.h>
+ 
+@@ -18239,7 +21527,7 @@
+ rm -f conftest*
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 18242 "configure"
++#line 21530 "configure"
+ #include "confdefs.h"
+ #include <termios.h>
+ 
+@@ -18254,14 +21542,14 @@
+ fi
+ rm -f conftest*
+ 
+-echo "$as_me:18257: checking for struct spwd" >&5
++echo "configure:21545: checking for struct spwd" >&5
+ echo $ECHO_N "checking for struct spwd... $ECHO_C" >&6
+ if test "${ac_cv_struct_spwd+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 18264 "configure"
++#line 21552 "configure"
+ #include "confdefs.h"
+ #include <pwd.h>
+ #ifdef HAVE_SHADOW_H
+@@ -18276,10 +21564,10 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:18279: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:21567: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_struct_spwd=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_struct_spwd=no
+ fi
+@@ -18287,7 +21575,7 @@
+ 
+ fi
+ 
+-echo "$as_me:18290: result: $ac_cv_struct_spwd" >&5
++echo "configure:21578: result: $ac_cv_struct_spwd" >&5
+ echo "${ECHO_T}$ac_cv_struct_spwd" >&6
+ 
+ if test "$ac_cv_struct_spwd" = "yes"; then
+@@ -18298,14 +21586,14 @@
+ 
+ fi
+ 
+-echo "$as_me:18301: checking for sa_len in struct sockaddr" >&5
++echo "configure:21589: checking for sa_len in struct sockaddr" >&5
+ echo $ECHO_N "checking for sa_len in struct sockaddr... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_sockaddr_sa_len+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 18308 "configure"
++#line 21596 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #include <sys/socket.h>
+@@ -18318,36 +21606,38 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:18321: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:21609: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_sockaddr_sa_len=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_type_struct_sockaddr_sa_len=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:18330: result: $ac_cv_type_struct_sockaddr_sa_len" >&5
++echo "configure:21618: result: $ac_cv_type_struct_sockaddr_sa_len" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_sockaddr_sa_len" >&6
+ if test "$ac_cv_type_struct_sockaddr_sa_len" = yes; then
+-
++	
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
+ EOF
+ 
++	
+ fi
+ 
+ for i in int8_t int16_t int32_t int64_t \
+ 	u_int8_t u_int16_t u_int32_t u_int64_t \
+ 	uint8_t uint16_t uint32_t uint64_t; do
+-	echo "$as_me:18343: checking for $i" >&5
++	echo "configure:21633: checking for $i" >&5
+ echo $ECHO_N "checking for $i... $ECHO_C" >&6
+-
++	
+ if eval "test \"\${ac_cv_type_$i+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 18350 "configure"
++#line 21640 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_INTTYPES_H
+@@ -18376,10 +21666,10 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:18379: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:21669: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval ac_cv_type_$i=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval ac_cv_type_$i=no
+ fi
+@@ -18394,7 +21684,7 @@
+ EOF
+ 
+ 	fi
+-	echo "$as_me:18397: result: $ac_res" >&5
++	echo "configure:21687: result: $ac_res" >&5
+ echo "${ECHO_T}$ac_res" >&6
+ done
+ 
+@@ -18408,19 +21698,19 @@
+ do
+ ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
+ 
+-echo "$as_me:18411: checking for $ac_header" >&5
++echo "configure:21701: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 18417 "configure"
++#line 21707 "configure"
+ #include "confdefs.h"
+ #include <$ac_header>
+ 
+ _ACEOF
+ ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
+-if { (eval echo $as_me:18423: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++if { (eval echo configure:21713: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
+   if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+   else
+@@ -18434,14 +21724,14 @@
+   eval "$ac_ac_Header=yes"
+ else
+   cat conftest.err >&5
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_Header=no"
+ fi
+ rm -f conftest*
+ 
+ fi
+-echo "$as_me:18444: result: `eval echo '${'$ac_ac_Header'}'`" >&5
++echo "configure:21734: result: `eval echo '${'$ac_ac_Header'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
+ if test `eval echo '${'$ac_ac_Header'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -18451,7 +21741,7 @@
+ fi
+ done
+ 
+-echo "$as_me:18454: checking for MD4_Init" >&5
++echo "configure:21744: checking for MD4_Init" >&5
+ echo $ECHO_N "checking for MD4_Init... $ECHO_C" >&6
+ if test "${ac_cv_funclib_MD4_Init+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -18467,7 +21757,7 @@
+ 		fi
+ 		LIBS="$test_LIB_krb4 $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 18470 "configure"
++#line 21760 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -18479,10 +21769,10 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:18482: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:21772: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_MD4_Init=$ac_lib; else ac_cv_funclib_MD4_Init=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+@@ -18496,17 +21786,17 @@
+ eval "ac_res=\$ac_cv_funclib_MD4_Init"
+ 
+ if false; then
+-
++	
+ for ac_func in MD4_Init
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:18503: checking for $ac_func" >&5
++echo "configure:21793: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 18509 "configure"
++#line 21799 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -18537,16 +21827,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:18540: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:21830: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:18549: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:21839: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -18570,13 +21860,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:18573: result: yes" >&5
++	echo "configure:21863: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_MD4_Init=no"
+ 	eval "LIB_MD4_Init="
+-	echo "$as_me:18579: result: no" >&5
++	echo "configure:21869: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -18590,12 +21880,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:18593: result: yes, in $ac_res" >&5
++	echo "configure:21883: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "$as_me:18598: checking for MD5_Init" >&5
++echo "configure:21888: checking for MD5_Init" >&5
+ echo $ECHO_N "checking for MD5_Init... $ECHO_C" >&6
+ if test "${ac_cv_funclib_MD5_Init+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -18611,7 +21901,7 @@
+ 		fi
+ 		LIBS="$test_LIB_krb4 $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 18614 "configure"
++#line 21904 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -18623,10 +21913,10 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:18626: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:21916: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_MD5_Init=$ac_lib; else ac_cv_funclib_MD5_Init=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+@@ -18640,17 +21930,17 @@
+ eval "ac_res=\$ac_cv_funclib_MD5_Init"
+ 
+ if false; then
+-
++	
+ for ac_func in MD5_Init
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:18647: checking for $ac_func" >&5
++echo "configure:21937: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 18653 "configure"
++#line 21943 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -18681,16 +21971,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:18684: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:21974: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:18693: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:21983: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -18714,13 +22004,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:18717: result: yes" >&5
++	echo "configure:22007: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_MD5_Init=no"
+ 	eval "LIB_MD5_Init="
+-	echo "$as_me:18723: result: no" >&5
++	echo "configure:22013: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -18734,12 +22024,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:18737: result: yes, in $ac_res" >&5
++	echo "configure:22027: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "$as_me:18742: checking for SHA1_Init" >&5
++echo "configure:22032: checking for SHA1_Init" >&5
+ echo $ECHO_N "checking for SHA1_Init... $ECHO_C" >&6
+ if test "${ac_cv_funclib_SHA1_Init+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -18755,7 +22045,7 @@
+ 		fi
+ 		LIBS="$test_LIB_krb4 $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 18758 "configure"
++#line 22048 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -18767,10 +22057,10 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:18770: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:22060: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_SHA1_Init=$ac_lib; else ac_cv_funclib_SHA1_Init=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+@@ -18784,17 +22074,17 @@
+ eval "ac_res=\$ac_cv_funclib_SHA1_Init"
+ 
+ if false; then
+-
++	
+ for ac_func in SHA1_Init
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:18791: checking for $ac_func" >&5
++echo "configure:22081: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 18797 "configure"
++#line 22087 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -18825,16 +22115,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:18828: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:22118: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:18837: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:22127: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -18858,13 +22148,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:18861: result: yes" >&5
++	echo "configure:22151: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_SHA1_Init=no"
+ 	eval "LIB_SHA1_Init="
+-	echo "$as_me:18867: result: no" >&5
++	echo "configure:22157: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -18878,12 +22168,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:18881: result: yes, in $ac_res" >&5
++	echo "configure:22171: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "$as_me:18886: checking for des_cbc_encrypt" >&5
++echo "configure:22176: checking for des_cbc_encrypt" >&5
+ echo $ECHO_N "checking for des_cbc_encrypt... $ECHO_C" >&6
+ if test "${ac_cv_funclib_des_cbc_encrypt+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -18899,7 +22189,7 @@
+ 		fi
+ 		LIBS="$test_LIB_krb4 $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 18902 "configure"
++#line 22192 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -18911,10 +22201,10 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:18914: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:22204: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_des_cbc_encrypt=$ac_lib; else ac_cv_funclib_des_cbc_encrypt=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+@@ -18928,17 +22218,17 @@
+ eval "ac_res=\$ac_cv_funclib_des_cbc_encrypt"
+ 
+ if false; then
+-
++	
+ for ac_func in des_cbc_encrypt
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:18935: checking for $ac_func" >&5
++echo "configure:22225: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 18941 "configure"
++#line 22231 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -18969,16 +22259,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:18972: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:22262: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:18981: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:22271: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -19002,13 +22292,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:19005: result: yes" >&5
++	echo "configure:22295: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_des_cbc_encrypt=no"
+ 	eval "LIB_des_cbc_encrypt="
+-	echo "$as_me:19011: result: no" >&5
++	echo "configure:22301: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -19022,12 +22312,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:19025: result: yes, in $ac_res" >&5
++	echo "configure:22315: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "$as_me:19030: checking for RC4" >&5
++echo "configure:22320: checking for RC4" >&5
+ echo $ECHO_N "checking for RC4... $ECHO_C" >&6
+ if test "${ac_cv_funclib_RC4+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -19043,7 +22333,7 @@
+ 		fi
+ 		LIBS="$test_LIB_krb4 $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 19046 "configure"
++#line 22336 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -19055,10 +22345,10 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:19058: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:22348: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_RC4=$ac_lib; else ac_cv_funclib_RC4=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+@@ -19072,17 +22362,17 @@
+ eval "ac_res=\$ac_cv_funclib_RC4"
+ 
+ if false; then
+-
++	
+ for ac_func in RC4
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:19079: checking for $ac_func" >&5
++echo "configure:22369: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 19085 "configure"
++#line 22375 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -19113,16 +22403,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:19116: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:22406: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:19125: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:22415: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -19146,13 +22436,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:19149: result: yes" >&5
++	echo "configure:22439: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_RC4=no"
+ 	eval "LIB_RC4="
+-	echo "$as_me:19155: result: no" >&5
++	echo "configure:22445: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -19166,7 +22456,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:19169: result: yes, in $ac_res" >&5
++	echo "configure:22459: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -19189,7 +22479,7 @@
+   LIB_des_appl="-ldes"
+ fi
+ 
+-echo "$as_me:19192: checking for el_init" >&5
++echo "configure:22482: checking for el_init" >&5
+ echo $ECHO_N "checking for el_init... $ECHO_C" >&6
+ if test "${ac_cv_funclib_el_init+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -19205,7 +22495,7 @@
+ 		fi
+ 		LIBS=" $ac_lib $LIB_tgetent $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 19208 "configure"
++#line 22498 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -19217,10 +22507,10 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:19220: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:22510: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_el_init=$ac_lib; else ac_cv_funclib_el_init=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+@@ -19234,17 +22524,17 @@
+ eval "ac_res=\$ac_cv_funclib_el_init"
+ 
+ if false; then
+-
++	
+ for ac_func in el_init
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:19241: checking for $ac_func" >&5
++echo "configure:22531: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 19247 "configure"
++#line 22537 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -19275,16 +22565,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:19278: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:22568: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_var=no"
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:19287: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:22577: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -19308,13 +22598,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:19311: result: yes" >&5
++	echo "configure:22601: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_el_init=no"
+ 	eval "LIB_el_init="
+-	echo "$as_me:19317: result: no" >&5
++	echo "configure:22607: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -19328,20 +22618,20 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:19331: result: yes, in $ac_res" >&5
++	echo "configure:22621: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+ if test "$ac_cv_func_el_init" = yes ; then
+-	echo "$as_me:19337: checking for four argument el_init" >&5
++	echo "configure:22627: checking for four argument el_init" >&5
+ echo $ECHO_N "checking for four argument el_init... $ECHO_C" >&6
+ if test "${ac_cv_func_el_init_four+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 19344 "configure"
++#line 22634 "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
+ 			#include <histedit.h>
+@@ -19354,19 +22644,19 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo $as_me:19357: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++if { (eval echo configure:22647: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_func_el_init_four=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_func_el_init_four=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:19366: result: $ac_cv_func_el_init_four" >&5
++echo "configure:22656: result: $ac_cv_func_el_init_four" >&5
+ echo "${ECHO_T}$ac_cv_func_el_init_four" >&6
+ 	if test "$ac_cv_func_el_init_four" = yes; then
+-
++		
+ cat >>confdefs.h <<\EOF
+ #define HAVE_FOUR_VALUED_EL_INIT 1
+ EOF
+@@ -19381,8 +22671,10 @@
+ 	:
+ elif test "$ac_cv_func_el_init" = yes; then
+ 	ac_foo=yes
++	DIR_readline="editline"
+ 	LIB_readline="\$(top_builddir)/lib/editline/libel_compat.la $LIB_el_init"
+ else
++	DIR_readline="editline"
+ 	LIB_readline='$(top_builddir)/lib/editline/libeditline.la'
+ fi
+ 
+@@ -19393,15 +22685,67 @@
+   el_compat_TRUE='#'
+   el_compat_FALSE=
+ fi
+-if test "$readline_libdir"; then
+-	LIB_readline="-rpath $readline_libdir $LIB_readline"
+-fi
++#if test "$readline_libdir"; then
++#	LIB_readline="-rpath $readline_libdir $LIB_readline"
++#fi
+ LIB_readline="$LIB_readline \$(LIB_tgetent)"
+ 
+ cat >>confdefs.h <<\EOF
+ #define HAVE_READLINE 1
+ EOF
+ 
++ac_foo=no
++if test "$with_com_err" = yes; then
++	COMPILE_ET='compile_et'
++#elif test "$ac_cv_func_com_err" = yes; then
++#	COMPILE_ET='compile_et'
++else
++	COMPILE_ET='$(top_builddir)/lib/com_err/compile_et'
++	DIR_com_err="com_err"
++	LIB_com_err='$(top_builddir)/lib/com_err/libcom_err.la'
++fi
++
++if true; then
++#	!FIXME! why doesn't built in version of com_err work?
++	COMPILE_ET='$(top_builddir)/lib/com_err/compile_et'
++	DIR_com_err="com_err"
++	LIB_com_err='$(top_builddir)/lib/com_err/libcom_err.la'
++fi
++
++#if test "$com_err_libdir"; then
++#	LIB_com_err="-rpath $com_err_libdir $LIB_com_err"
++#fi
++
++cat >>confdefs.h <<\EOF
++#define HAVE_COM_ERR 1
++EOF
++
++ac_foo=no
++if test "$with_ss" = yes; then
++	LIB_sl="$LIB_ss"
++else
++	DIR_ss="sl"
++	LIB_sl='$(top_builddir)/lib/sl/libsl.la'
++	LIB_ss='$(top_builddir)/lib/sl/libss.la'
++	INCLUDE_ss='-I$(top_builddir)/include/sl'
++fi
++
++#if test "$ss_libdir"; then
++#	LIB_ss="-rpath $sl_libdir $LIB_ss"
++#fi
++
++if true; then
++#	!FIXME! why doesn't built in version of ss work?
++	DIR_ss="sl"
++	LIB_sl='$(top_builddir)/lib/sl/libsl.la'
++	LIB_ss='$(top_builddir)/lib/sl/libss.la'
++	INCLUDE_ss='-I$(top_builddir)/include/ss'
++fi
++
++cat >>confdefs.h <<\EOF
++#define HAVE_SS 1
++EOF
++
+ cat >>confdefs.h <<\EOF
+ #define AUTHENTICATION 1
+ EOF
+@@ -19434,13 +22778,13 @@
+ #
+ # And also something wierd has happend with dec-osf1, fallback to bsd-ptys
+ 
+-echo "$as_me:19437: checking for getmsg" >&5
++echo "configure:22781: checking for getmsg" >&5
+ echo $ECHO_N "checking for getmsg... $ECHO_C" >&6
+ if test "${ac_cv_func_getmsg+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 19443 "configure"
++#line 22787 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char getmsg (); below.  */
+@@ -19471,21 +22815,21 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo $as_me:19474: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++if { (eval echo configure:22818: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_func_getmsg=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_func_getmsg=no
+ fi
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:19483: result: $ac_cv_func_getmsg" >&5
++echo "configure:22827: result: $ac_cv_func_getmsg" >&5
+ echo "${ECHO_T}$ac_cv_func_getmsg" >&6
+ 
+ if test "$ac_cv_func_getmsg" = "yes"; then
+ 
+-echo "$as_me:19488: checking for working getmsg" >&5
++echo "configure:22832: checking for working getmsg" >&5
+ echo $ECHO_N "checking for working getmsg... $ECHO_C" >&6
+ if test "${ac_cv_func_getmsg_work+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -19494,7 +22838,7 @@
+   ac_cv_func_getmsg_work=no
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 19497 "configure"
++#line 22841 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -19511,23 +22855,19 @@
+ 
+ _ACEOF
+ rm -f conftest$ac_exeext
+-{ (eval echo $as_me:19514: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
+-  (./conftest$ac_exeext) >&5 2>&1;
+-ac_status=$?
+-if test $ac_status = 0; then
++if { (eval echo configure:22858: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
++   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
+   ac_cv_func_getmsg_work=yes
+ else
+-  echo "$as_me: program exited with status $ac_status" >&5
+-echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_getmsg_work=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_getmsg_work=no
+ fi
+-
+ rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+ 
+ fi
+-echo "$as_me:19530: result: $ac_cv_func_getmsg_work" >&5
++echo "configure:22870: result: $ac_cv_func_getmsg_work" >&5
+ echo "${ECHO_T}$ac_cv_func_getmsg_work" >&6
+ test "$ac_cv_func_getmsg_work" = "yes" &&
+ 
+@@ -19538,7 +22878,7 @@
+ fi
+ 
+ if test "$ac_cv_func_getmsg_work" = yes; then
+-echo "$as_me:19541: checking for streamspty" >&5
++echo "configure:22881: checking for streamspty" >&5
+ echo $ECHO_N "checking for streamspty... $ECHO_C" >&6
+ case "$host" in
+ *-*-aix3*|*-*-sunos4*|*-*-osf*|*-*-hpux1[01]*)
+@@ -19548,18 +22888,18 @@
+ 	krb_cv_sys_streamspty=yes
+ 	;;
+ esac
+-echo "$as_me:19551: result: $krb_cv_sys_streamspty" >&5
++echo "configure:22891: result: $krb_cv_sys_streamspty" >&5
+ echo "${ECHO_T}$krb_cv_sys_streamspty" >&6
+ fi
+ if test "$krb_cv_sys_streamspty" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define STREAMSPTY 1
+ EOF
+ 
+ fi
+ 
+-echo "$as_me:19562: checking which authentication modules should be built" >&5
++echo "configure:22902: checking which authentication modules should be built" >&5
+ echo $ECHO_N "checking which authentication modules should be built... $ECHO_C" >&6
+ 
+ LIB_AUTH_SUBDIRS=
+@@ -19576,7 +22916,7 @@
+ *-*-irix[56]*) LIB_AUTH_SUBDIRS="$LIB_AUTH_SUBDIRS afskauthlib" ;;
+ esac
+ 
+-echo "$as_me:19579: result: $LIB_AUTH_SUBDIRS" >&5
++echo "configure:22919: result: $LIB_AUTH_SUBDIRS" >&5
+ echo "${ECHO_T}$LIB_AUTH_SUBDIRS" >&6
+ 
+ test "x$prefix" = xNONE && prefix=$ac_default_prefix
+@@ -19657,7 +22997,8 @@
+ 	tools/Makefile			\
+ "
+ 
+-cat >confcache <<\_ACEOF
++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, see configure's option --config-cache.
+@@ -19671,8 +23012,7 @@
+ # loading this file, other *unset* `ac_cv_foo' will be assigned the
+ # following values.
+ 
+-_ACEOF
+-
++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.
+@@ -19682,26 +23022,19 @@
+   (set) 2>&1 |
+     case `(ac_space=' '; set | grep ac_space) 2>&1` in
+     *ac_space=\ *)
+-      # `set' does not quote correctly, so add quotes (double-quote
+-      # substitution turns \\\\ into \\, and sed turns \\ into \).
++      # `set' does not quote correctly, so add quotes (double-quote substitution
++      # turns \\\\ into \\, and sed turns \\ into \).
+       sed -n \
+-        "s/'/'\\\\''/g;
+-    	  s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
++    	-e "s/'/'\\\\''/g" \
++    	-e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1='\\2'/p"
+       ;;
+     *)
+       # `set' quotes correctly as required by POSIX, so do not add quotes.
+-      sed -n \
+-        "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
++      sed -n 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=\2/p'
+       ;;
+     esac;
+ } |
+-  sed '
+-     t clear
+-     : clear
+-     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
+-     t end
+-     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
+-     : end' >>confcache
++  sed '/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/' >>confcache
+ if cmp -s $cache_file confcache; then :; else
+   if test -w $cache_file; then
+     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
+@@ -19711,6 +23044,7 @@
+   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.
+@@ -19737,38 +23071,31 @@
+   (set) 2>&1 |
+     case `(ac_space=' '; set | grep ac_space) 2>&1` in
+     *ac_space=\ *)
+-      # `set' does not quote correctly, so add quotes (double-quote
+-      # substitution turns \\\\ into \\, and sed turns \\ into \).
++      # `set' does not quote correctly, so add quotes (double-quote substitution
++      # turns \\\\ into \\, and sed turns \\ into \).
+       sed -n \
+-        "s/'/'\\\\''/g;
+-    	  s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
++    	-e "s/'/'\\\\''/g" \
++    	-e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1='\\2'/p"
+       ;;
+     *)
+       # `set' quotes correctly as required by POSIX, so do not add quotes.
+-      sed -n \
+-        "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
++      sed -n 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=\2/p'
+       ;;
+     esac;
+ } | sed 's/^/| /' >&5
+ echo >&5
+ echo "confdefs.h:" >&5
+-sed '/^$/d;s/^/| /' confdefs.h >&5
++cat confdefs.h | sed 's/^/| /' >&5
+ 
+ : ${CONFIG_STATUS=./config.status}
+-ac_clean_files_save=$ac_clean_files
+-ac_clean_files="$ac_clean_files $CONFIG_STATUS"
+-{ echo "$as_me:19760: creating $CONFIG_STATUS" >&5
+-echo "creating $CONFIG_STATUS" >&6;}
+-cat >$CONFIG_STATUS <<\_ACEOF
++trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
++echo creating $CONFIG_STATUS
++cat >$CONFIG_STATUS <<\EOF
+ #! /bin/sh
+ # Generated automatically by configure.
+ # Run this file to recreate the current configuration.
+ # Compiler output produced by configure, useful for debugging
+-# configure, is in config.log if it exists.
+-
+-debug=false
+-as_me=`echo "$0" | sed 's,.*/,,'`
+-SHELL=${CONFIG_SHELL-/bin/sh}
++# configure, is in ./config.log if it exists.
+ 
+ # Be Bourne compatible
+ if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
+@@ -19778,27 +23105,22 @@
+   set -o posix
+ fi
+ 
+-if expr a : '\(a\)' >/dev/null 2>&1; then
+-  as_expr=expr
+-else
+-  as_expr=false
+-fi
+ # Support unset when possible.
+-if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
+-  as_unset=unset
++if (unset FOO) >/dev/null 2>&1; then
++  ac_unset=unset
+ else
+-  as_unset=false
++  ac_unset=false
+ fi
+ 
+ # NLS nuisances.
+-$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
+-$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
+-$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
+-$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
+-$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
+-$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
+-$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
+-$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
++$ac_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
++$ac_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
++$ac_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
++$ac_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
++$ac_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
++$ac_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
++$ac_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
++$ac_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
+ 
+ # IFS
+ # We need space, tab and new line, in precisely that order.
+@@ -19807,35 +23129,14 @@
+ IFS=" 	$ac_nl"
+ 
+ # CDPATH.
+-$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
+-
+-# 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
+-
+-cat >&5 << EOF
+-
+-----------------------------------------------------------------------
++$ac_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
+ 
+-This file was extended by $as_me (heimdal 0.3f) 2.49b, executed with
+- > $0 $@
+-on `(hostname || uname -n) 2>/dev/null | sed 1q`
++debug=false
++me=`echo "$0" | sed 's,.*/,,'`
++SHELL=${CONFIG_SHELL-/bin/sh}
+ 
+ EOF
+ 
+-_ACEOF
+-
+ # Files that config.status was made for.
+ if test -n "$ac_config_files"; then
+   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
+@@ -19856,7 +23157,7 @@
+ cat >>$CONFIG_STATUS <<\EOF
+ 
+ ac_cs_usage="\
+-\`$as_me' instantiates files from templates according to the
++\`$me' instantiates files from templates according to the
+ current configuration.
+ 
+ Usage: $0 [OPTIONS] [FILE]...
+@@ -19864,7 +23165,7 @@
+   -h, --help       print this help, then exit
+   -V, --version    print version number, then exit
+   -d, --debug      don't remove temporary files
+-      --recheck    update $as_me by reconfiguring in the same conditions
++      --recheck    update $me by reconfiguring in the same conditions
+   --file=FILE[:TEMPLATE]
+                    instantiate the configuration file FILE
+   --header=FILE[:TEMPLATE]
+@@ -19884,8 +23185,8 @@
+ 
+ cat >>$CONFIG_STATUS <<EOF
+ ac_cs_version="\\
+-$CONFIG_STATUS generated by $as_me (Autoconf 2.49b).
+-Configured on host $ac_hostname by
++$CONFIG_STATUS generated by autoconf version 2.49b.
++Configured on host `(hostname || uname -n) 2>/dev/null | sed 1q` by
+   `echo "$0 $ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`"
+ 
+ ac_given_srcdir=$srcdir
+@@ -19925,9 +23226,8 @@
+     echo "$ac_cs_version"; exit 0 ;;
+   --he | --h)
+     # Conflict between --help and --header
+-    {  echo "$as_me: error: ambiguous option: $1
+-Try \`$0 --help' for more information." >&2
+-  { (exit 1); exit; }; };;
++    echo "$me: ambiguous option: $ac_option
++Try \`$me --help' for more information."; exit 1 ;;
+   --help | --hel | -h )
+     echo "$ac_cs_usage"; exit 0 ;;
+   --debug | --d* | -d )
+@@ -19999,11 +23299,9 @@
+   'include/config.h' ) CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
+ 
+   # This is an error.
+-  -*) {  echo "$as_me: error: unrecognized option: $1
+-Try \`$0 --help' for more information." >&2
+-  { (exit 1); exit; }; } ;;
+-  *) {  echo "$as_me: error: invalid argument: $1" >&2
+-  { (exit 1); exit; }; };;
++  -*) echo "$me: unrecognized option: $1
++Try \`$me --help' for more information."; exit 1 ;;
++  *) echo "$me: invalid argument: $1"; exit 1 ;;
+   esac
+   shift
+ done
+@@ -20014,16 +23312,16 @@
+ # If the user did not use the arguments to specify the items to instantiate,
+ # then the envvar interface is used.  Set only those that are not.
+ if $ac_need_defaults; then
+-  CONFIG_FILES=${CONFIG_FILES="$config_files"}
+-  CONFIG_HEADERS=${CONFIG_HEADERS="$config_headers"}
+-  CONFIG_COMMANDS=${CONFIG_COMMANDS="$config_commands"}
++  : ${CONFIG_FILES=$config_files}
++  : ${CONFIG_HEADERS=$config_headers}
++  : ${CONFIG_COMMANDS=$config_commands}
+ fi
+ 
+ # Create a temporary directory, and hook for its removal unless debugging.
+ $debug ||
+ {
+   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
+-  trap '{ (exit $?); exit; }' 1 2 13 15
++  trap 'exit $?' 1 2 13 15
+ }
+ 
+ # Create a (secure) tmp directory for tmp files.
+@@ -20038,7 +23336,7 @@
+ } ||
+ {
+    echo "$me: cannot create a temporary directory in $TMPDIR" >&2
+-   { (exit 1); exit; }
++   exit 1;
+ }
+ 
+ EOF
+@@ -20074,6 +23372,8 @@
+   # Protect against being on the right side of a sed subst in config.status.
+   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
+    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
++s,@COMPILE_ET@,$COMPILE_ET,;t t
++s,@LIB_sl@,$LIB_sl,;t t
+ s,@SHELL@,$SHELL,;t t
+ s,@exec_prefix@,$exec_prefix,;t t
+ s,@prefix@,$prefix,;t t
+@@ -20139,6 +23439,7 @@
+ s,@RANLIB@,$RANLIB,;t t
+ s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
+ s,@LN_S@,$LN_S,;t t
++s,@ECHO@,$ECHO,;t t
+ s,@STRIP@,$STRIP,;t t
+ s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
+ s,@LIBTOOL@,$LIBTOOL,;t t
+@@ -20177,8 +23478,10 @@
+ s,@DIR_roken@,$DIR_roken,;t t
+ s,@LIB_roken@,$LIB_roken,;t t
+ s,@INCLUDES_roken@,$INCLUDES_roken,;t t
++s,@DIR_openldap@,$DIR_openldap,;t t
+ s,@INCLUDE_openldap@,$INCLUDE_openldap,;t t
+ s,@LIB_openldap@,$LIB_openldap,;t t
++s,@DIR_krb4@,$DIR_krb4,;t t
+ s,@INCLUDE_krb4@,$INCLUDE_krb4,;t t
+ s,@LIB_krb4@,$LIB_krb4,;t t
+ s,@EXTRA_LIB45@,$EXTRA_LIB45,;t t
+@@ -20206,8 +23509,16 @@
+ s,@CATMAN_TRUE@,$CATMAN_TRUE,;t t
+ s,@CATMAN_FALSE@,$CATMAN_FALSE,;t t
+ s,@CATMANEXT@,$CATMANEXT,;t t
++s,@DIR_readline@,$DIR_readline,;t t
+ s,@INCLUDE_readline@,$INCLUDE_readline,;t t
+ s,@LIB_readline@,$LIB_readline,;t t
++s,@DIR_com_err@,$DIR_com_err,;t t
++s,@INCLUDE_com_err@,$INCLUDE_com_err,;t t
++s,@LIB_com_err@,$LIB_com_err,;t t
++s,@DIR_ss@,$DIR_ss,;t t
++s,@INCLUDE_ss@,$INCLUDE_ss,;t t
++s,@LIB_ss@,$LIB_ss,;t t
++s,@DIR_hesiod@,$DIR_hesiod,;t t
+ s,@INCLUDE_hesiod@,$INCLUDE_hesiod,;t t
+ s,@LIB_hesiod@,$LIB_hesiod,;t t
+ s,@AIX_TRUE@,$AIX_TRUE,;t t
+@@ -20307,23 +23618,23 @@
+   esac
+ 
+   # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
+-  ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+-         X"$ac_file" : 'X\(//\)[^/]' \| \
+-         X"$ac_file" : 'X\(//\)$' \| \
+-         X"$ac_file" : 'X\(/\)' \| \
+-         .     : '\(.\)' 2>/dev/null ||
+-echo X"$ac_file" |
+-    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
+-  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
+-  	  /^X\(\/\/\)$/{ s//\1/; q; }
+-  	  /^X\(\/\).*/{ s//\1/; q; }
+-  	  s/.*/./; q'`
++  ac_dir=`expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++      X"$ac_file" : 'X\(//\)[^/]' \| \
++      X"$ac_file" : 'X\(//\)$' \| \
++      X"$ac_file" : 'X\(/\)' \| \
++      .   : '\(.\)' 2>/dev/null ||
++echo "X"$ac_file"" | sed '
++	    /^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/p; q; }
++	    /^X\(\/\/\)[^/].*/{ s//\1/p; q; }
++	    /^X\(\/\/\)$/{ s//\1/p; q; }
++	    /^X\(\/\).*/{ s//\1/p; q; }
++	    s/.*/./p; q'`
+   if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
+     { case "$ac_dir" in
+   [\\/]* | ?:[\\/]* ) ac_incr_dir=;;
+   *)                      ac_incr_dir=.;;
+ esac
+-ac_dummy="$ac_dir"
++ac_dummy=""$ac_dir""
+ for ac_mkdir_dir in `IFS=/; set X $ac_dummy; shift; echo "$@"`; do
+   ac_incr_dir=$ac_incr_dir/$ac_mkdir_dir
+   test -d $ac_incr_dir || mkdir $ac_incr_dir
+@@ -20354,13 +23665,9 @@
+   esac
+ 
+   if test x"$ac_file" != x-; then
+-    { echo "$as_me:20357: creating $ac_file" >&5
+-echo "creating $ac_file" >&6;}
++    echo creating $ac_file
+     rm -f "$ac_file"
+   fi
+-  # Let's still pretend it is `configure' which instantiates (i.e., don't
+-  # use $as_me), people would be surprised to read:
+-  #    /* config.h.  Generated automatically by config.status.  */
+   configure_input="Generated automatically from `echo $ac_file_in |
+                                                  sed 's,.*/,,'` by configure."
+ 
+@@ -20375,8 +23682,7 @@
+       -) echo $tmp/stdin ;;
+       [\\/$]* | ?:[\\/]*)
+          # Absolute
+-         test -f "$f" || {  echo "$as_me: error: cannot find input file: $f" >&2
+-  { (exit 1); exit; }; }
++         test -f "$f" || { echo "configure: error: cannot find input file \\\`$f'" >&2; exit 1; }
+          echo $f;;
+       *) # Relative
+          if test -f "$f"; then
+@@ -20387,8 +23693,7 @@
+            echo $ac_given_srcdir/$f
+          else
+            # /dev/null tree
+-           {  echo "$as_me: error: cannot find input file: $f" >&2
+-  { (exit 1); exit; }; }
++           { echo "configure: error: cannot find input file \\\`$f'" >&2; exit 1; }
+          fi;;
+       esac
+     done` || { (exit 1); exit; }
+@@ -20447,8 +23752,7 @@
+   * )   ac_file_in=$ac_file.in ;;
+   esac
+ 
+-  test x"$ac_file" != x- && { echo "$as_me:20450: creating $ac_file" >&5
+-echo "creating $ac_file" >&6;}
++  test x"$ac_file" != x- && echo creating $ac_file
+ 
+   # First look for the input files in the build tree, otherwise in the
+   # src tree.
+@@ -20458,8 +23762,7 @@
+       -) echo $tmp/stdin ;;
+       [\\/$]* | ?:[\\/]*)
+          # Absolute
+-         test -f "$f" || {  echo "$as_me: error: cannot find input file: $f" >&2
+-  { (exit 1); exit; }; }
++         test -f "$f" || { echo "configure: error: cannot find input file \\\`$f'" >&2; exit 1; }
+          echo $f;;
+       *) # Relative
+          if test -f "$f"; then
+@@ -20470,8 +23773,7 @@
+            echo $ac_given_srcdir/$f
+          else
+            # /dev/null tree
+-           {  echo "$as_me: error: cannot find input file: $f" >&2
+-  { (exit 1); exit; }; }
++           { echo "configure: error: cannot find input file \\\`$f'" >&2; exit 1; }
+          fi;;
+       esac
+     done` || { (exit 1); exit; }
+@@ -20491,8 +23793,9 @@
+ # Using a here document instead of a string reduces the quoting nightmare.
+ # Putting comments in sed scripts is not portable.
+ #
+-# `end' is used to avoid that the second main sed command (meant for
+-# 0-ary CPP macros) applies to n-ary macro definitions.
++# `cleanup' is used to avoid that the second main sed command (meant for
++# 0-ary CPP macros) applies to n-ary macro definitions.  So we use
++# `t cleanup' to jump over the second main sed command when it succeeded.
+ # See the Autoconf documentation for `clear'.
+ cat >confdef2sed.sed <<\EOF
+ s/[\\&,]/\\&/g
+@@ -20500,9 +23803,9 @@
+ t clear
+ : clear
+ s,^[ 	]*#[ 	]*define[ 	][ 	]*\(\([^ 	(][^ 	(]*\)([^)]*)\)[ 	]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
+-t end
++t cleanup
+ s,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	][^ 	]*\)[ 	]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
+-: end
++: cleanup
+ EOF
+ # If some macros were called several times there might be several times
+ # the same #defines, which is useless.  Nevertheless, we may not want to
+@@ -20574,9 +23877,6 @@
+ rm -f conftest.undefs
+ 
+ cat >>$CONFIG_STATUS <<\EOF
+-  # Let's still pretend it is `configure' which instantiates (i.e., don't
+-  # use $as_me), people would be surprised to read:
+-  #    /* config.h.  Generated automatically by config.status.  */
+   if test x"$ac_file" = x-; then
+     echo "/* Generated automatically by configure.  */" >$tmp/config.h
+   else
+@@ -20586,26 +23886,25 @@
+   rm -f $tmp/in
+   if test x"$ac_file" != x-; then
+     if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
+-      { echo "$as_me:20589: $ac_file is unchanged" >&5
+-echo "$ac_file is unchanged" >&6;}
++      echo "$ac_file is unchanged"
+     else
+-      ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+-         X"$ac_file" : 'X\(//\)[^/]' \| \
+-         X"$ac_file" : 'X\(//\)$' \| \
+-         X"$ac_file" : 'X\(/\)' \| \
+-         .     : '\(.\)' 2>/dev/null ||
+-echo X"$ac_file" |
+-    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
+-  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
+-  	  /^X\(\/\/\)$/{ s//\1/; q; }
+-  	  /^X\(\/\).*/{ s//\1/; q; }
+-  	  s/.*/./; q'`
++      ac_dir=`expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++      X"$ac_file" : 'X\(//\)[^/]' \| \
++      X"$ac_file" : 'X\(//\)$' \| \
++      X"$ac_file" : 'X\(/\)' \| \
++      .   : '\(.\)' 2>/dev/null ||
++echo "X"$ac_file"" | sed '
++	    /^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/p; q; }
++	    /^X\(\/\/\)[^/].*/{ s//\1/p; q; }
++	    /^X\(\/\/\)$/{ s//\1/p; q; }
++	    /^X\(\/\).*/{ s//\1/p; q; }
++	    s/.*/./p; q'`
+       if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
+         { case "$ac_dir" in
+   [\\/]* | ?:[\\/]* ) ac_incr_dir=;;
+   *)                      ac_incr_dir=.;;
+ esac
+-ac_dummy="$ac_dir"
++ac_dummy=""$ac_dir""
+ for ac_mkdir_dir in `IFS=/; set X $ac_dummy; shift; echo "$@"`; do
+   ac_incr_dir=$ac_incr_dir/$ac_mkdir_dir
+   test -d $ac_incr_dir || mkdir $ac_incr_dir
+@@ -20680,9 +23979,10 @@
+ exit 0
+ EOF
+ chmod +x $CONFIG_STATUS
+-ac_clean_files=$ac_clean_files_save
++rm -fr confdefs* $ac_clean_files
++trap 'exit 1' 1 2 15
+ 
+-test "$no_create" = yes || $SHELL $CONFIG_STATUS || { (exit 1); exit; }
++test "$no_create" = yes || $SHELL $CONFIG_STATUS || exit 1
+ 
+ HEIMDALVERSION="$PACKAGE-$VERSION"
+ 
+diff -ruN heimdal-0.3f-old/doc/Makefile.in heimdal-0.3f/doc/Makefile.in
+--- heimdal-0.3f-old/doc/Makefile.in	Sat Jun  9 08:25:12 2001
++++ heimdal-0.3f/doc/Makefile.in	Tue Jun 19 18:17:50 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -93,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -133,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -176,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -215,7 +225,7 @@
+ GZIP_ENV = --best
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .dvi .info .ps .texi .texinfo .txi
++.SUFFIXES: .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .dvi .et .h .info .ps .texi .texinfo .txi .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign doc/Makefile
+ 
+diff -ruN heimdal-0.3f-old/include/Makefile.in heimdal-0.3f/include/Makefile.in
+--- heimdal-0.3f-old/include/Makefile.in	Sat Jun  9 08:24:42 2001
++++ heimdal-0.3f/include/Makefile.in	Tue Jun 19 18:17:44 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -93,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -133,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -176,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -267,13 +277,12 @@
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+ GZIP_ENV = --best
+-DIST_SUBDIRS =  $(SUBDIRS)
+ SOURCES = bits.c
+ OBJECTS = bits.$(OBJEXT)
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign include/Makefile
+ 
+@@ -404,11 +413,7 @@
+ maintainer-clean-recursive:
+ 	@set fnord $(MAKEFLAGS); amf=$$2; \
+ 	dot_seen=no; \
+-	case "$@" in \
+-	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
+-	  *) list='$(SUBDIRS)' ;; \
+-	esac; \
+-	rev=''; for subdir in $$list; do \
++	rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
+ 	  if test "$$subdir" = "."; then :; else \
+ 	    rev="$$subdir $$rev"; \
+ 	  fi; \
+@@ -458,11 +463,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.3f-old/include/config.h.in heimdal-0.3f/include/config.h.in
+--- heimdal-0.3f-old/include/config.h.in	Sat Jun  9 08:27:44 2001
++++ heimdal-0.3f/include/config.h.in	Tue Jun 19 18:17:43 2001
+@@ -30,6 +30,9 @@
+ /* Define if realloc(NULL) doesn't work. */
+ #undef BROKEN_REALLOC
+ 
++/* Define if you have the com_err package. */
++#undef COM_ERR
++
+ /* Define if you want support for DCE/DFS PAG's. */
+ #undef DCE
+ 
+@@ -106,6 +109,9 @@
+ /* Define if you have the `chown' function. */
+ #undef HAVE_CHOWN
+ 
++/* Define if you have a com_err compatible library. */
++#undef HAVE_COM_ERR
++
+ /* Define if you have the <config.h> header file. */
+ #undef HAVE_CONFIG_H
+ 
+@@ -614,6 +620,9 @@
+ /* Define if the system has the type `socklen_t'. */
+ #undef HAVE_SOCKLEN_T
+ 
++/* Define if you have a ss compatible library. */
++#undef HAVE_SS
++
+ /* Define if you have the <standards.h> header file. */
+ #undef HAVE_STANDARDS_H
+ 
+@@ -1103,6 +1112,9 @@
+ 
+ /* Define as the return type of signal handlers (`int' or `void'). */
+ #undef RETSIGTYPE
++
++/* Define if you have the ss package. */
++#undef SS
+ 
+ /* Define if you have the ANSI C header files. */
+ #undef STDC_HEADERS
+diff -ruN heimdal-0.3f-old/include/kadm5/Makefile.in heimdal-0.3f/include/kadm5/Makefile.in
+--- heimdal-0.3f-old/include/kadm5/Makefile.in	Sat Jun  9 08:24:42 2001
++++ heimdal-0.3f/include/kadm5/Makefile.in	Tue Jun 19 18:17:44 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -93,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -133,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -176,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -210,7 +220,7 @@
+ GZIP_ENV = --best
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
++.SUFFIXES: .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .et .h .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign include/kadm5/Makefile
+ 
+diff -ruN heimdal-0.3f-old/kadmin/Makefile.in heimdal-0.3f/kadmin/Makefile.in
+--- heimdal-0.3f-old/kadmin/Makefile.in	Sat Jun  9 08:24:58 2001
++++ heimdal-0.3f/kadmin/Makefile.in	Tue Jun 19 18:17:47 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -93,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -127,13 +131,13 @@
+ 
+ SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+ 
+-INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) $(INCLUDE_readline) $(INCLUDE_krb4) -I$(srcdir)/../lib/krb5
++INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) $(INCLUDE_readline) $(INCLUDE_krb4) $(INCLUDE_ss) -I$(srcdir)/../lib/krb5
+ 
+ AM_CFLAGS =  $(WFLAGS)
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -176,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -250,7 +260,7 @@
+ kadmin_LDADD = \
+ 	$(top_builddir)/lib/kadm5/libkadm5clnt.la \
+ 	$(top_builddir)/lib/kadm5/libkadm5srv.la \
+-	$(top_builddir)/lib/sl/libsl.la \
++	$(LIB_ss) \
+ 	$(LIB_readline) \
+ 	$(COMMON_LDADD) \
+ 	$(LIB_dlopen)
+@@ -294,8 +304,8 @@
+ kadmin_OBJECTS =  $(am_kadmin_OBJECTS)
+ kadmin_DEPENDENCIES =  $(top_builddir)/lib/kadm5/libkadm5clnt.la \
+ $(top_builddir)/lib/kadm5/libkadm5srv.la \
+-$(top_builddir)/lib/sl/libsl.la $(top_builddir)/lib/hdb/libhdb.la \
+-$(top_builddir)/lib/krb5/libkrb5.la $(top_builddir)/lib/asn1/libasn1.la
++$(top_builddir)/lib/hdb/libhdb.la $(top_builddir)/lib/krb5/libkrb5.la \
++$(top_builddir)/lib/asn1/libasn1.la
+ kadmin_LDFLAGS = 
+ @KRB4_FALSE@am_kadmind_OBJECTS =  kadmind.$(OBJEXT) server.$(OBJEXT) \
+ @KRB4_FALSE@kadm_conn.$(OBJEXT)
+@@ -334,7 +344,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign kadmin/Makefile
+ 
+@@ -511,11 +521,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.3f-old/kdc/Makefile.in heimdal-0.3f/kdc/Makefile.in
+--- heimdal-0.3f-old/kdc/Makefile.in	Sat Jun  9 08:24:59 2001
++++ heimdal-0.3f/kdc/Makefile.in	Tue Jun 19 18:17:48 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -93,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -133,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -176,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -320,7 +330,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign kdc/Makefile
+ 
+@@ -524,11 +534,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.3f-old/kpasswd/Makefile.in heimdal-0.3f/kpasswd/Makefile.in
+--- heimdal-0.3f-old/kpasswd/Makefile.in	Sat Jun  9 08:24:57 2001
++++ heimdal-0.3f/kpasswd/Makefile.in	Tue Jun 19 18:17:47 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -93,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -133,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -176,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -274,7 +284,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign kpasswd/Makefile
+ 
+@@ -486,11 +496,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.3f-old/kuser/Makefile.in heimdal-0.3f/kuser/Makefile.in
+--- heimdal-0.3f-old/kuser/Makefile.in	Sat Jun  9 08:24:56 2001
++++ heimdal-0.3f/kuser/Makefile.in	Tue Jun 19 18:17:47 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -93,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -133,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -176,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -316,7 +326,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign kuser/Makefile
+ 
+@@ -485,11 +495,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.3f-old/lib/45/Makefile.in heimdal-0.3f/lib/45/Makefile.in
+--- heimdal-0.3f-old/lib/45/Makefile.in	Sat Jun  9 08:24:43 2001
++++ heimdal-0.3f/lib/45/Makefile.in	Tue Jun 19 18:17:45 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -93,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -133,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -176,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -232,7 +242,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/45/Makefile
+ 
+@@ -329,11 +339,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.3f-old/lib/Makefile.in heimdal-0.3f/lib/Makefile.in
+--- heimdal-0.3f-old/lib/Makefile.in	Sat Jun  9 08:24:42 2001
++++ heimdal-0.3f/lib/Makefile.in	Tue Jun 19 18:17:44 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -93,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -133,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -176,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -194,7 +204,7 @@
+ @OTP_TRUE@dir_otp = @OTP_TRUE@otp
+ @DCE_TRUE@dir_dce = @DCE_TRUE@kdfs
+ 
+-SUBDIRS = @DIR_roken@ vers editline com_err sl asn1 @DIR_des@ krb5 \
++SUBDIRS = @DIR_roken@ vers @DIR_readline@ @DIR_com_err@ @DIR_ss@ asn1 @DIR_des@ krb5 \
+ 	kafs hdb kadm5 gssapi auth $(dir_45) $(dir_otp) $(dir_dce)
+ 
+ subdir = lib
+@@ -214,11 +224,11 @@
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+ GZIP_ENV = --best
+-DIST_SUBDIRS =  @DIR_roken@ vers editline com_err sl asn1 @DIR_des@ krb5 \
+-kafs hdb kadm5 gssapi auth 45 otp kdfs
++DIST_SUBDIRS =  @DIR_roken@ vers @DIR_readline@ @DIR_com_err@ @DIR_ss@ \
++asn1 @DIR_des@ krb5 kafs hdb kadm5 gssapi auth 45 otp kdfs
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
++.SUFFIXES: .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .et .h .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/Makefile
+ 
+@@ -259,11 +269,7 @@
+ maintainer-clean-recursive:
+ 	@set fnord $(MAKEFLAGS); amf=$$2; \
+ 	dot_seen=no; \
+-	case "$@" in \
+-	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
+-	  *) list='$(SUBDIRS)' ;; \
+-	esac; \
+-	rev=''; for subdir in $$list; do \
++	rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
+ 	  if test "$$subdir" = "."; then :; else \
+ 	    rev="$$subdir $$rev"; \
+ 	  fi; \
+@@ -313,11 +319,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.3f-old/lib/asn1/Makefile.in heimdal-0.3f/lib/asn1/Makefile.in
+--- heimdal-0.3f-old/lib/asn1/Makefile.in	Sat Jun  9 08:24:45 2001
++++ heimdal-0.3f/lib/asn1/Makefile.in	Tue Jun 19 18:17:45 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -93,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -127,13 +131,13 @@
+ 
+ SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+ 
+-INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken)
++INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) $(INCLUDE_com_err)
+ 
+ AM_CFLAGS =  $(WFLAGS)
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -176,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -194,6 +204,9 @@
+ 
+ lib_LTLIBRARIES = libasn1.la
+ libasn1_la_LDFLAGS = -version-info 5:0:0
++libasn1_la_LIBADD = \
++	$(top_builddir)/lib/com_err/libcom_err.la
++
+ 
+ BUILT_SOURCES = \
+ 	$(gen_files:.x=.c)	\
+@@ -286,12 +299,12 @@
+ 
+ 
+ asn1_compile_LDADD = \
+-	$(LIB_roken) $(LEXLIB)
++        $(LIB_roken) $(LEXLIB)
+ 
+ 
+ check_der_LDADD = \
+ 	libasn1.la \
+-	../com_err/libcom_err.la \
++	$(LIB_com_err) \
+ 	$(LIB_roken)
+ 
+ 
+@@ -318,7 +331,7 @@
+ X_LIBS = @X_LIBS@
+ X_EXTRA_LIBS = @X_EXTRA_LIBS@
+ X_PRE_LIBS = @X_PRE_LIBS@
+-libasn1_la_LIBADD = 
++libasn1_la_DEPENDENCIES =  $(top_builddir)/lib/com_err/libcom_err.la
+ am_libasn1_la_OBJECTS =  der_get.lo der_put.lo der_free.lo der_length.lo \
+ der_copy.lo timegm.lo asn1_APOptions.lo asn1_AP_REP.lo asn1_AP_REQ.lo \
+ asn1_AS_REP.lo asn1_AS_REQ.lo asn1_Authenticator.lo \
+@@ -351,11 +364,11 @@
+ asn1_compile_LDFLAGS = 
+ asn1_print_SOURCES = asn1_print.c
+ asn1_print_OBJECTS =  asn1_print.$(OBJEXT)
+-asn1_print_DEPENDENCIES =  libasn1.la ../com_err/libcom_err.la
++asn1_print_DEPENDENCIES =  libasn1.la
+ asn1_print_LDFLAGS = 
+ check_der_SOURCES = check-der.c
+ check_der_OBJECTS =  check-der.$(OBJEXT)
+-check_der_DEPENDENCIES =  libasn1.la ../com_err/libcom_err.la
++check_der_DEPENDENCIES =  libasn1.la
+ check_der_LDFLAGS = 
+ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+@@ -380,7 +393,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .l .lo .o .obj .y
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .l .lo .o .obj .x .y
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/asn1/Makefile
+ 
+@@ -526,11 +539,6 @@
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+ 
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+ mostlyclean-tags:
+ 
+ clean-tags:
+@@ -619,9 +627,6 @@
+ check: check-am
+ installcheck-am:
+ installcheck: installcheck-am
+-all-recursive-am: $(BUILT_SOURCES)
+-	$(MAKE) $(AM_MAKEFLAGS) all-recursive
+-
+ install-exec-am: install-libLTLIBRARIES
+ 	@$(NORMAL_INSTALL)
+ 	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+@@ -698,12 +703,12 @@
+ maintainer-clean-noinstPROGRAMS uninstall-includeHEADERS \
+ install-includeHEADERS tags mostlyclean-tags distclean-tags clean-tags \
+ maintainer-clean-tags check-TESTS distdir info-am info dvi-am dvi \
+-check-local check check-am installcheck-am installcheck \
+-all-recursive-am install-exec-am install-exec install-data-local \
+-install-data-am install-data install-am install uninstall-am uninstall \
+-all-local all-redirect all-am all install-strip installdirs \
+-mostlyclean-generic distclean-generic clean-generic \
+-maintainer-clean-generic clean mostlyclean distclean maintainer-clean
++check-local check check-am installcheck-am installcheck install-exec-am \
++install-exec install-data-local install-data-am install-data install-am \
++install uninstall-am uninstall all-local all-redirect all-am all \
++install-strip installdirs mostlyclean-generic distclean-generic \
++clean-generic maintainer-clean-generic clean mostlyclean distclean \
++maintainer-clean
+ 
+ 
+ install-suid-programs:
+diff -ruN heimdal-0.3f-old/lib/auth/Makefile.in heimdal-0.3f/lib/auth/Makefile.in
+--- heimdal-0.3f-old/lib/auth/Makefile.in	Sat Jun  9 08:24:43 2001
++++ heimdal-0.3f/lib/auth/Makefile.in	Tue Jun 19 18:17:45 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -93,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -133,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -176,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -211,7 +221,7 @@
+ GZIP_ENV = --best
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
++.SUFFIXES: .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .et .h .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/auth/Makefile
+ 
+@@ -252,11 +262,7 @@
+ maintainer-clean-recursive:
+ 	@set fnord $(MAKEFLAGS); amf=$$2; \
+ 	dot_seen=no; \
+-	case "$@" in \
+-	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
+-	  *) list='$(SUBDIRS)' ;; \
+-	esac; \
+-	rev=''; for subdir in $$list; do \
++	rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
+ 	  if test "$$subdir" = "."; then :; else \
+ 	    rev="$$subdir $$rev"; \
+ 	  fi; \
+@@ -306,11 +312,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.3f-old/lib/auth/afskauthlib/Makefile.in heimdal-0.3f/lib/auth/afskauthlib/Makefile.in
+--- heimdal-0.3f-old/lib/auth/afskauthlib/Makefile.in	Sat Jun  9 08:24:43 2001
++++ heimdal-0.3f/lib/auth/afskauthlib/Makefile.in	Tue Jun 19 18:17:45 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -93,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -133,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -176,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -237,7 +247,7 @@
+ GZIP_ENV = --best
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .o
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .o .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/auth/afskauthlib/Makefile
+ 
+diff -ruN heimdal-0.3f-old/lib/auth/pam/Makefile.in heimdal-0.3f/lib/auth/pam/Makefile.in
+--- heimdal-0.3f-old/lib/auth/pam/Makefile.in	Sat Jun  9 08:24:44 2001
++++ heimdal-0.3f/lib/auth/pam/Makefile.in	Tue Jun 19 18:17:45 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -93,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -133,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -176,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -208,7 +218,7 @@
+ GZIP_ENV = --best
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
++.SUFFIXES: .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .et .h .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/auth/pam/Makefile
+ 
+diff -ruN heimdal-0.3f-old/lib/auth/sia/Makefile.in heimdal-0.3f/lib/auth/sia/Makefile.in
+--- heimdal-0.3f-old/lib/auth/sia/Makefile.in	Sat Jun  9 08:24:44 2001
++++ heimdal-0.3f/lib/auth/sia/Makefile.in	Tue Jun 19 18:17:45 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -93,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -132,7 +136,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -175,14 +179,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -202,10 +212,7 @@
+ @KRB5_TRUE@	$(top_builddir)/lib/asn1/.libs/libasn1.a	\
+ @KRB5_TRUE@	$(LIB_krb4)					\
+ @KRB5_TRUE@	$(top_builddir)/lib/des/.libs/libdes.a		\
+-@KRB5_TRUE@	$(top_builddir)/lib/com_err/.libs/libcom_err.a	\
+-@KRB5_TRUE@	$(top_builddir)/lib/roken/.libs/libroken.a	\
+-@KRB5_TRUE@	$(LIB_getpwnam_r)				\
+-@KRB5_TRUE@	-lc
++@KRB5_TRUE@	@LIB_sl@
+ @KRB5_FALSE@L = @KRB5_FALSE@\
+ @KRB5_FALSE@	$(KAFS)						\
+ @KRB5_FALSE@	$(top_builddir)/lib/kadm/.libs/libkadm.a	\
+@@ -222,10 +229,7 @@
+ @KRB5_TRUE@	$(top_builddir)/lib/asn1/.libs/libasn1.so	\
+ @KRB5_TRUE@	$(LIB_krb4)					\
+ @KRB5_TRUE@	$(top_builddir)/lib/des/.libs/libdes.so		\
+-@KRB5_TRUE@	$(top_builddir)/lib/com_err/.libs/libcom_err.so	\
+-@KRB5_TRUE@	$(top_builddir)/lib/roken/.libs/libroken.so	\
+-@KRB5_TRUE@	$(LIB_getpwnam_r)				\
+-@KRB5_TRUE@	-lc
++@KRB5_TRUE@	@LIB_sl@
+ @KRB5_FALSE@L_shared = @KRB5_FALSE@\
+ @KRB5_FALSE@	$(KAFS_S)					\
+ @KRB5_FALSE@	$(top_builddir)/lib/kadm/.libs/libkadm.so	\
+@@ -246,7 +250,7 @@
+ foodir = $(libdir)
+ foo_DATA = $(MOD)
+ 
+-LDFLAGS = -rpath $(libdir) -hidden -exported_symbol siad_\* 
++LDFLAGS = -rpath $(libdir) -hidden -exported_symbol siad_\*  -no-undefined
+ 
+ OBJS = sia.o posix_getpw.o
+ 
+@@ -272,7 +276,7 @@
+ GZIP_ENV = --best
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .o
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .o .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/auth/sia/Makefile
+ 
+@@ -513,6 +517,12 @@
+ 	  echo "$$dashes"; \
+ 	  test "$$failed" -eq 0; \
+ 	fi
++@KRB5_TRUE@	$(top_builddir)/lib/roken/.libs/libroken.a	\
++@KRB5_TRUE@	$(LIB_getpwnam_r)				\
++@KRB5_TRUE@	-lc
++@KRB5_TRUE@	$(top_builddir)/lib/roken/.libs/libroken.so	\
++@KRB5_TRUE@	$(LIB_getpwnam_r)				\
++@KRB5_TRUE@	-lc
+ 
+ libsia_krb5.so: $(OBJS)
+ 	@if test -f $(top_builddir)/lib/krb5/.libs/libkrb5.a; then \
+diff -ruN heimdal-0.3f-old/lib/com_err/Makefile.in heimdal-0.3f/lib/com_err/Makefile.in
+--- heimdal-0.3f-old/lib/com_err/Makefile.in	Sat Jun  9 08:24:46 2001
++++ heimdal-0.3f/lib/com_err/Makefile.in	Tue Jun 19 18:17:45 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -93,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -133,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -176,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -256,7 +266,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .l .lo .o .obj .y
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .l .lo .o .obj .x .y
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/com_err/Makefile
+ 
+@@ -403,11 +413,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.3f-old/lib/des/Makefile.in heimdal-0.3f/lib/des/Makefile.in
+--- heimdal-0.3f-old/lib/des/Makefile.in	Sat Jun  9 08:24:46 2001
++++ heimdal-0.3f/lib/des/Makefile.in	Tue Jun 19 18:17:45 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -93,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -133,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -176,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -361,7 +371,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/des/Makefile
+ 
+@@ -520,11 +530,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.3f-old/lib/editline/Makefile.in heimdal-0.3f/lib/editline/Makefile.in
+--- heimdal-0.3f-old/lib/editline/Makefile.in	Sat Jun  9 08:24:47 2001
++++ heimdal-0.3f/lib/editline/Makefile.in	Tue Jun 19 18:17:45 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -93,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -133,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -176,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -219,13 +229,13 @@
+ 	$(EXTRA_SOURCE)
+ 
+ 
+-libeditline_la_LDFLAGS = -static
++libeditline_la_LDFLAGS = -no-undefined
+ 
+ EXTRA_SOURCE = $(ES) 
+ 
+ libel_compat_la_SOURCES = edit_compat.c
+ 
+-libel_compat_la_LDFLAGS = -static
++libel_compat_la_LDFLAGS = -no-undefined
+ 
+ EXTRA_DIST = $(man_MANS)
+ subdir = lib/editline
+@@ -282,7 +292,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/editline/Makefile
+ 
+@@ -454,11 +464,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.3f-old/lib/gssapi/Makefile.in heimdal-0.3f/lib/gssapi/Makefile.in
+--- heimdal-0.3f-old/lib/gssapi/Makefile.in	Sat Jun  9 08:24:48 2001
++++ heimdal-0.3f/lib/gssapi/Makefile.in	Tue Jun 19 18:17:46 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -93,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -133,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -176,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -192,6 +202,11 @@
+ 
+ lib_LTLIBRARIES = libgssapi.la
+ libgssapi_la_LDFLAGS = -version-info 3:1:2
++libgssapi_la_LIBADD = \
++	$(LIB_krb5) \
++	$(LIB_des) \
++	$(top_builddir)/lib/asn1/libasn1.la
++
+ 
+ include_HEADERS = gssapi.h
+ 
+@@ -249,7 +264,11 @@
+ X_LIBS = @X_LIBS@
+ X_EXTRA_LIBS = @X_EXTRA_LIBS@
+ X_PRE_LIBS = @X_PRE_LIBS@
+-libgssapi_la_LIBADD = 
++@KRB5_FALSE@libgssapi_la_DEPENDENCIES =  \
++@KRB5_FALSE@$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@libgssapi_la_DEPENDENCIES =  \
++@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
++@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
+ am_libgssapi_la_OBJECTS =  8003.lo accept_sec_context.lo acquire_cred.lo \
+ add_oid_set_member.lo canonicalize_name.lo compare_name.lo \
+ context_time.lo copy_ccache.lo create_emtpy_oid_set.lo decapsulate.lo \
+@@ -281,7 +300,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/gssapi/Makefile
+ 
+@@ -387,11 +406,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.3f-old/lib/hdb/Makefile.in heimdal-0.3f/lib/hdb/Makefile.in
+--- heimdal-0.3f-old/lib/hdb/Makefile.in	Sat Jun  9 08:24:49 2001
++++ heimdal-0.3f/lib/hdb/Makefile.in	Tue Jun 19 18:17:46 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -93,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -133,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -176,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -199,12 +209,14 @@
+ CLEANFILES = $(BUILT_SOURCES) $(foo) hdb_asn1.h asn1_files
+ 
+ noinst_PROGRAMS = convert_db
+-LDADD = libhdb.la \
++LDADD = libhdb.la
++
++libhdb_la_LIBADD = \
+ 	$(LIB_openldap) \
+ 	../krb5/libkrb5.la \
+ 	../asn1/libasn1.la \
+-	$(LIB_des) \
+ 	$(LIB_roken) \
++	$(top_builddir)/lib/com_err/libcom_err.la \
+ 	$(DBLIB)
+ 
+ 
+@@ -225,8 +237,6 @@
+ 
+ 
+ include_HEADERS = hdb.h hdb_err.h hdb_asn1.h hdb-protos.h hdb-private.h
+-
+-libhdb_la_LIBADD = $(LIB_openldap)
+ subdir = lib/hdb
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+ CONFIG_HEADER = ../../include/config.h
+@@ -241,7 +251,8 @@
+ X_LIBS = @X_LIBS@
+ X_EXTRA_LIBS = @X_EXTRA_LIBS@
+ X_PRE_LIBS = @X_PRE_LIBS@
+-libhdb_la_DEPENDENCIES = 
++libhdb_la_DEPENDENCIES =  ../krb5/libkrb5.la ../asn1/libasn1.la \
++$(top_builddir)/lib/com_err/libcom_err.la
+ am_libhdb_la_OBJECTS =  common.lo db.lo db3.lo hdb-ldap.lo hdb.lo \
+ keytab.lo mkey.lo ndbm.lo print.lo asn1_Key.lo asn1_Event.lo \
+ asn1_HDBFlags.lo asn1_hdb_entry.lo asn1_Salt.lo hdb_err.lo
+@@ -252,8 +263,7 @@
+ convert_db_SOURCES = convert_db.c
+ convert_db_OBJECTS =  convert_db.$(OBJEXT)
+ convert_db_LDADD = $(LDADD)
+-convert_db_DEPENDENCIES =  libhdb.la ../krb5/libkrb5.la \
+-../asn1/libasn1.la
++convert_db_DEPENDENCIES =  libhdb.la
+ convert_db_LDFLAGS = 
+ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+@@ -275,7 +285,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/hdb/Makefile
+ 
+@@ -395,11 +405,6 @@
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+ 
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+ mostlyclean-tags:
+ 
+ clean-tags:
+@@ -433,9 +438,6 @@
+ check: check-am
+ installcheck-am:
+ installcheck: installcheck-am
+-all-recursive-am: $(BUILT_SOURCES)
+-	$(MAKE) $(AM_MAKEFLAGS) all-recursive
+-
+ install-exec-am: install-libLTLIBRARIES
+ 	@$(NORMAL_INSTALL)
+ 	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+@@ -507,12 +509,11 @@
+ maintainer-clean-noinstPROGRAMS uninstall-includeHEADERS \
+ install-includeHEADERS tags mostlyclean-tags distclean-tags clean-tags \
+ maintainer-clean-tags distdir info-am info dvi-am dvi check-local check \
+-check-am installcheck-am installcheck all-recursive-am install-exec-am \
+-install-exec install-data-local install-data-am install-data install-am \
+-install uninstall-am uninstall all-local all-redirect all-am all \
+-install-strip installdirs mostlyclean-generic distclean-generic \
+-clean-generic maintainer-clean-generic clean mostlyclean distclean \
+-maintainer-clean
++check-am installcheck-am installcheck install-exec-am install-exec \
++install-data-local install-data-am install-data install-am install \
++uninstall-am uninstall all-local all-redirect all-am all install-strip \
++installdirs mostlyclean-generic distclean-generic clean-generic \
++maintainer-clean-generic clean mostlyclean distclean maintainer-clean
+ 
+ 
+ install-suid-programs:
+diff -ruN heimdal-0.3f-old/lib/kadm5/Makefile.in heimdal-0.3f/lib/kadm5/Makefile.in
+--- heimdal-0.3f-old/lib/kadm5/Makefile.in	Sat Jun  9 08:24:49 2001
++++ heimdal-0.3f/lib/kadm5/Makefile.in	Tue Jun 19 18:17:46 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -93,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -133,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -176,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -192,7 +202,22 @@
+ 
+ lib_LTLIBRARIES = libkadm5srv.la libkadm5clnt.la
+ libkadm5srv_la_LDFLAGS = -version-info 7:3:0
++libkadm5srv_la_LIBADD = \
++	$(LIB_roken) \
++	$(LIB_krb5) \
++	$(top_builddir)/lib/com_err/libcom_err.la \
++	$(top_builddir)/lib/asn1/libasn1.la \
++	$(top_builddir)/lib/hdb/libhdb.la \
++	$(LIB_dlopen)
++
++
+ libkadm5clnt_la_LDFLAGS = -version-info 6:1:2
++libkadm5clnt_la_LIBADD = \
++	$(LIB_roken) \
++	$(LIB_krb5) \
++	$(top_builddir)/lib/com_err/libcom_err.la
++
++
+ sbin_PROGRAMS = dump_log replay_log truncate_log
+ 
+ libexec_PROGRAMS = ipropd-master ipropd-slave
+@@ -299,13 +324,25 @@
+ X_LIBS = @X_LIBS@
+ X_EXTRA_LIBS = @X_EXTRA_LIBS@
+ X_PRE_LIBS = @X_PRE_LIBS@
+-libkadm5clnt_la_LIBADD = 
++@KRB5_FALSE@libkadm5clnt_la_DEPENDENCIES =  \
++@KRB5_FALSE@$(top_builddir)/lib/com_err/libcom_err.la
++@KRB5_TRUE@libkadm5clnt_la_DEPENDENCIES =  \
++@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
++@KRB5_TRUE@$(top_builddir)/lib/com_err/libcom_err.la
+ am_libkadm5clnt_la_OBJECTS =  chpass_c.lo common_glue.lo create_c.lo \
+ delete_c.lo destroy_c.lo flush_c.lo free.lo get_c.lo get_princs_c.lo \
+ init_c.lo kadm5_err.lo marshall.lo modify_c.lo privs_c.lo randkey_c.lo \
+ rename_c.lo send_recv.lo client_glue.lo
+ libkadm5clnt_la_OBJECTS =  $(am_libkadm5clnt_la_OBJECTS)
+-libkadm5srv_la_LIBADD = 
++@KRB5_FALSE@libkadm5srv_la_DEPENDENCIES =  \
++@KRB5_FALSE@$(top_builddir)/lib/com_err/libcom_err.la \
++@KRB5_FALSE@$(top_builddir)/lib/asn1/libasn1.la \
++@KRB5_FALSE@$(top_builddir)/lib/hdb/libhdb.la
++@KRB5_TRUE@libkadm5srv_la_DEPENDENCIES =  \
++@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
++@KRB5_TRUE@$(top_builddir)/lib/com_err/libcom_err.la \
++@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la \
++@KRB5_TRUE@$(top_builddir)/lib/hdb/libhdb.la
+ am_libkadm5srv_la_OBJECTS =  acl.lo bump_pw_expire.lo chpass_s.lo \
+ common_glue.lo context_s.lo create_s.lo delete_s.lo destroy_s.lo \
+ ent_setup.lo error.lo flush_s.lo free.lo get_princs_s.lo get_s.lo \
+@@ -375,7 +412,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/kadm5/Makefile
+ 
+@@ -560,11 +597,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.3f-old/lib/kafs/Makefile.in heimdal-0.3f/lib/kafs/Makefile.in
+--- heimdal-0.3f-old/lib/kafs/Makefile.in	Sat Jun  9 08:24:51 2001
++++ heimdal-0.3f/lib/kafs/Makefile.in	Tue Jun 19 18:17:46 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -93,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -133,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -176,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -610,7 +620,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/kafs/Makefile
+ 
+@@ -775,11 +785,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.3f-old/lib/kdfs/Makefile.in heimdal-0.3f/lib/kdfs/Makefile.in
+--- heimdal-0.3f-old/lib/kdfs/Makefile.in	Sat Jun  9 08:24:52 2001
++++ heimdal-0.3f/lib/kdfs/Makefile.in	Tue Jun 19 18:17:46 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -93,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -133,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -176,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -232,7 +242,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/kdfs/Makefile
+ 
+@@ -320,11 +330,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.3f-old/lib/krb5/Makefile.in heimdal-0.3f/lib/krb5/Makefile.in
+--- heimdal-0.3f-old/lib/krb5/Makefile.in	Sat Jun  9 08:24:53 2001
++++ heimdal-0.3f/lib/krb5/Makefile.in	Tue Jun 19 18:17:46 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -93,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -133,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -176,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -197,17 +207,15 @@
+ check_PROGRAMS = n-fold-test string-to-key-test derived-key-test store-test
+ TESTS = n-fold-test string-to-key-test derived-key-test store-test
+ 
+-LDADD = libkrb5.la \
+-	$(LIB_des) \
+-	$(top_builddir)/lib/asn1/libasn1.la \
+-	$(LIB_roken)
+-
++LDADD = libkrb5.la
+ 
+ libkrb5_la_LIBADD = \
+-	../com_err/error.lo ../com_err/com_err.lo \
++	$(LIB_res_search) \
++	$(top_builddir)/lib/com_err/libcom_err.la \
+ 	$(LIB_des) \
+ 	$(top_builddir)/lib/asn1/libasn1.la \
+-	$(LIB_roken)
++	$(LIB_roken) \
++	$(LIB_dbopen)
+ 
+ 
+ lib_LTLIBRARIES = libkrb5.la
+@@ -353,7 +361,7 @@
+ X_LIBS = @X_LIBS@
+ X_EXTRA_LIBS = @X_EXTRA_LIBS@
+ X_PRE_LIBS = @X_PRE_LIBS@
+-libkrb5_la_DEPENDENCIES =  ../com_err/error.lo ../com_err/com_err.lo \
++libkrb5_la_DEPENDENCIES =  $(top_builddir)/lib/com_err/libcom_err.la \
+ $(top_builddir)/lib/asn1/libasn1.la
+ am_libkrb5_la_OBJECTS =  acl.lo add_et_list.lo addr_families.lo \
+ address.lo aname_to_localname.lo appdefault.lo asn1_glue.lo \
+@@ -386,44 +394,37 @@
+ derived_key_test_SOURCES = derived-key-test.c
+ derived_key_test_OBJECTS =  derived-key-test.$(OBJEXT)
+ derived_key_test_LDADD = $(LDADD)
+-derived_key_test_DEPENDENCIES =  libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
++derived_key_test_DEPENDENCIES =  libkrb5.la
+ derived_key_test_LDFLAGS = 
+ dump_config_SOURCES = dump_config.c
+ dump_config_OBJECTS =  dump_config.$(OBJEXT)
+ dump_config_LDADD = $(LDADD)
+-dump_config_DEPENDENCIES =  libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
++dump_config_DEPENDENCIES =  libkrb5.la
+ dump_config_LDFLAGS = 
+ n_fold_test_SOURCES = n-fold-test.c
+ n_fold_test_OBJECTS =  n-fold-test.$(OBJEXT)
+ n_fold_test_LDADD = $(LDADD)
+-n_fold_test_DEPENDENCIES =  libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
++n_fold_test_DEPENDENCIES =  libkrb5.la
+ n_fold_test_LDFLAGS = 
+ store_test_SOURCES = store-test.c
+ store_test_OBJECTS =  store-test.$(OBJEXT)
+ store_test_LDADD = $(LDADD)
+-store_test_DEPENDENCIES =  libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
++store_test_DEPENDENCIES =  libkrb5.la
+ store_test_LDFLAGS = 
+ string_to_key_test_SOURCES = string-to-key-test.c
+ string_to_key_test_OBJECTS =  string-to-key-test.$(OBJEXT)
+ string_to_key_test_LDADD = $(LDADD)
+-string_to_key_test_DEPENDENCIES =  libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
++string_to_key_test_DEPENDENCIES =  libkrb5.la
+ string_to_key_test_LDFLAGS = 
+ test_get_addrs_SOURCES = test_get_addrs.c
+ test_get_addrs_OBJECTS =  test_get_addrs.$(OBJEXT)
+ test_get_addrs_LDADD = $(LDADD)
+-test_get_addrs_DEPENDENCIES =  libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
++test_get_addrs_DEPENDENCIES =  libkrb5.la
+ test_get_addrs_LDFLAGS = 
+ verify_krb5_conf_SOURCES = verify_krb5_conf.c
+ verify_krb5_conf_OBJECTS =  verify_krb5_conf.$(OBJEXT)
+ verify_krb5_conf_LDADD = $(LDADD)
+-verify_krb5_conf_DEPENDENCIES =  libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
++verify_krb5_conf_DEPENDENCIES =  libkrb5.la
+ verify_krb5_conf_LDFLAGS = 
+ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+@@ -451,7 +452,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/krb5/Makefile
+ 
+@@ -742,11 +743,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.3f-old/lib/otp/Makefile.in heimdal-0.3f/lib/otp/Makefile.in
+--- heimdal-0.3f-old/lib/otp/Makefile.in	Sat Jun  9 08:24:53 2001
++++ heimdal-0.3f/lib/otp/Makefile.in	Tue Jun 19 18:17:47 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -93,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -133,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -176,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -192,16 +202,17 @@
+ 
+ noinst_PROGRAMS = otptest
+ 
+-otptest_LDADD = libotp.la \
+-	$(LIB_des) \
+-	$(LIB_roken) \
+-	$(DBLIB)
+-
++otptest_LDADD = libotp.la
+ 
+ include_HEADERS = otp.h
+ 
+ lib_LTLIBRARIES = libotp.la
+ libotp_la_LDFLAGS = -version-info 1:2:1
++libotp_la_LIBADD = \
++	$(LIB_roken) \
++	$(LIB_des) \
++	$(DBLIB)
++
+ 
+ libotp_la_SOURCES = \
+ 	otp.c \
+@@ -229,7 +240,7 @@
+ X_LIBS = @X_LIBS@
+ X_EXTRA_LIBS = @X_EXTRA_LIBS@
+ X_PRE_LIBS = @X_PRE_LIBS@
+-libotp_la_LIBADD = 
++libotp_la_DEPENDENCIES = 
+ am_libotp_la_OBJECTS =  otp.lo otp_challenge.lo otp_db.lo otp_md.lo \
+ otp_parse.lo otp_print.lo otp_verify.lo
+ libotp_la_OBJECTS =  $(am_libotp_la_OBJECTS)
+@@ -260,7 +271,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/otp/Makefile
+ 
+@@ -379,11 +390,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.3f-old/lib/roken/Makefile.in heimdal-0.3f/lib/roken/Makefile.in
+--- heimdal-0.3f-old/lib/roken/Makefile.in	Sat Jun  9 08:27:48 2001
++++ heimdal-0.3f/lib/roken/Makefile.in	Tue Jun 19 18:17:47 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -93,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -127,6 +131,12 @@
+ 
+ lib_LTLIBRARIES = libroken.la
+ libroken_la_LDFLAGS = -version-info 12:0:3
++libroken_la_LIBADD = \
++	@LIB_res_search@ \
++	$(LIB_des) \
++	@LIB_dbopen@ \
++	@LTLIBOBJS@
++
+ 
+ noinst_PROGRAMS = make-roken
+ 
+@@ -268,8 +278,6 @@
+ 
+ EXTRA_DIST = roken.awk roken.h.in
+ 
+-libroken_la_LIBADD = @LTLIBOBJS@
+-
+ BUILT_SOURCES = make-roken.c roken.h
+ @have_err_h_TRUE@err_h = 
+ @have_err_h_FALSE@err_h = @have_err_h_FALSE@err.h
+@@ -372,7 +380,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .hin .c .h .lo .o .obj
++.SUFFIXES: .c .h .hin .lo .o .obj
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/roken/Makefile
+ 
+@@ -531,11 +539,6 @@
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+ 
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+ mostlyclean-tags:
+ 
+ clean-tags:
+@@ -623,9 +626,6 @@
+ check: check-am
+ installcheck-am:
+ installcheck: installcheck-am
+-all-recursive-am: $(BUILT_SOURCES)
+-	$(MAKE) $(AM_MAKEFLAGS) all-recursive
+-
+ install-exec-am: install-libLTLIBRARIES
+ install-exec: install-exec-am
+ 
+@@ -703,9 +703,9 @@
+ install-includeHEADERS uninstall-nodist_includeHEADERS \
+ install-nodist_includeHEADERS tags mostlyclean-tags distclean-tags \
+ clean-tags maintainer-clean-tags check-TESTS 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 install-strip \
++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 install-strip \
+ installdirs mostlyclean-generic distclean-generic clean-generic \
+ maintainer-clean-generic clean mostlyclean distclean maintainer-clean
+ 
+diff -ruN heimdal-0.3f-old/lib/sl/Makefile.in heimdal-0.3f/lib/sl/Makefile.in
+--- heimdal-0.3f-old/lib/sl/Makefile.in	Sat Jun  9 08:24:55 2001
++++ heimdal-0.3f/lib/sl/Makefile.in	Tue Jun 19 18:17:47 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -93,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -133,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -176,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -195,14 +205,12 @@
+ 
+ YFLAGS = -d
+ 
+-include_HEADERS = sl.h
+-
+ lib_LTLIBRARIES = libsl.la libss.la
+ libsl_la_LDFLAGS = -version-info 1:2:1
+ libss_la_LDFLAGS = -version-info 1:4:1
+ 
+-libsl_la_LIBADD = @LIB_readline@
+-libss_la_LIBADD = @LIB_readline@
++libsl_la_LIBADD = $(LIB_roken) @LIB_readline@
++libss_la_LIBADD = $(LIB_roken) @LIB_readline@
+ 
+ libsl_la_SOURCES = sl_locl.h sl.c $(ES)
+ libss_la_SOURCES = $(libsl_la_SOURCES) ss.c ss.h
+@@ -214,7 +222,8 @@
+ mk_cmds_SOURCES = make_cmds.c make_cmds.h parse.y lex.l $(ES)
+ 
+ ssincludedir = $(includedir)/ss
+-ssinclude_HEADERS = ss.h
++buildssinclude = $(buildinclude)/ss
++ssinclude_HEADERS = sl.h ss.h
+ 
+ CLEANFILES = lex.c parse.c parse.h snprintf.c strtok_r.c strdup.c strupr.c
+ 
+@@ -267,11 +276,11 @@
+ LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+ DIST_SOURCES =  $(libsl_la_SOURCES) $(libss_la_SOURCES) \
+ $(mk_cmds_SOURCES)
+-HEADERS =  $(include_HEADERS) $(ssinclude_HEADERS)
++HEADERS =  $(ssinclude_HEADERS)
+ 
+ depcomp = 
+-DIST_COMMON =  $(include_HEADERS) $(ssinclude_HEADERS) ChangeLog \
+-Makefile.am Makefile.in lex.c parse.c parse.h
++DIST_COMMON =  $(ssinclude_HEADERS) ChangeLog Makefile.am Makefile.in \
++lex.c parse.c parse.h
+ 
+ 
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+@@ -282,7 +291,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .l .lo .o .obj .y
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .l .lo .o .obj .x .y
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/sl/Makefile
+ 
+@@ -391,24 +400,6 @@
+ parse.h: parse.c
+ 
+ 
+-install-includeHEADERS: $(include_HEADERS)
+-	@$(NORMAL_INSTALL)
+-	$(mkinstalldirs) $(DESTDIR)$(includedir)
+-	@list='$(include_HEADERS)'; for p in $$list; do \
+-	  if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
+-	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
+-	  $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f; \
+-	done
+-
+-uninstall-includeHEADERS:
+-	@$(NORMAL_UNINSTALL)
+-	@list='$(include_HEADERS)'; for p in $$list; do \
+-	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " rm -f $(DESTDIR)$(includedir)/$$f"; \
+-	  rm -f $(DESTDIR)$(includedir)/$$f; \
+-	done
+-
+ install-ssincludeHEADERS: $(ssinclude_HEADERS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(ssincludedir)
+@@ -451,11 +442,6 @@
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+ 
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+ mostlyclean-tags:
+ 
+ clean-tags:
+@@ -496,15 +482,14 @@
+ 	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+ install-exec: install-exec-am
+ 
+-install-data-am: install-includeHEADERS install-ssincludeHEADERS \
+-		install-data-local
++install-data-am: install-ssincludeHEADERS install-data-local
+ install-data: install-data-am
+ 
+ install-am: all-am
+ 	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+ uninstall-am: uninstall-libLTLIBRARIES uninstall-binPROGRAMS \
+-		uninstall-includeHEADERS uninstall-ssincludeHEADERS
++		uninstall-ssincludeHEADERS
+ uninstall: uninstall-am
+ all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(HEADERS) all-local
+ all-redirect: all-am
+@@ -512,7 +497,7 @@
+ 	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+ installdirs:
+ 	$(mkinstalldirs)  $(DESTDIR)$(libdir) $(DESTDIR)$(bindir) \
+-		$(DESTDIR)$(includedir) $(DESTDIR)$(ssincludedir)
++		$(DESTDIR)$(ssincludedir)
+ 
+ 
+ mostlyclean-generic:
+@@ -562,9 +547,8 @@
+ mostlyclean-libtool distclean-libtool clean-libtool \
+ maintainer-clean-libtool mostlyclean-binPROGRAMS distclean-binPROGRAMS \
+ clean-binPROGRAMS maintainer-clean-binPROGRAMS uninstall-binPROGRAMS \
+-install-binPROGRAMS uninstall-includeHEADERS install-includeHEADERS \
+-uninstall-ssincludeHEADERS install-ssincludeHEADERS tags \
+-mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
++install-binPROGRAMS uninstall-ssincludeHEADERS install-ssincludeHEADERS \
++tags mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
+ distdir info-am info dvi-am dvi check-local check check-am \
+ installcheck-am installcheck install-exec-am install-exec \
+ install-data-local install-data-am install-data install-am install \
+@@ -700,6 +684,19 @@
+ 	  echo "$$dashes"; \
+ 	  test "$$failed" -eq 0; \
+ 	fi
++
++install-build-headers:: $(ssinclude_HEADERS)
++	@foo='$(ssinclude_HEADERS)'; \
++	for f in $$foo; do \
++		f=`basename $$f`; \
++		if test -f "$(srcdir)/$$f"; then file="$(srcdir)/$$f"; \
++		else file="$$f"; fi; \
++		if cmp -s  $$file $(buildssinclude)/$$f 2> /dev/null ; then \
++		: ; else \
++			echo "cp $$file $(buildssinclude)/$$f";\
++			cp $$file $(buildssinclude)/$$f; \
++		fi ; \
++	done
+ 
+ $(mk_cmds_OBJECTS): parse.h
+ 
+diff -ruN heimdal-0.3f-old/lib/vers/Makefile.in heimdal-0.3f/lib/vers/Makefile.in
+--- heimdal-0.3f-old/lib/vers/Makefile.in	Sat Jun  9 08:24:55 2001
++++ heimdal-0.3f/lib/vers/Makefile.in	Tue Jun 19 18:17:47 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -93,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -133,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -176,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -201,6 +211,7 @@
+ @KRB4_TRUE@@KRB5_TRUE@make_print_version_LDADD = @KRB4_TRUE@@KRB5_TRUE@ $(LIB_krb4) -ldes
+ 
+ libvers_la_SOURCES = print_version.c
++libvers_la_LDFLAGS = -no-undefined
+ subdir = lib/vers
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+ CONFIG_HEADER = ../../include/config.h
+@@ -215,7 +226,6 @@
+ X_LIBS = @X_LIBS@
+ X_EXTRA_LIBS = @X_EXTRA_LIBS@
+ X_PRE_LIBS = @X_PRE_LIBS@
+-libvers_la_LDFLAGS = 
+ libvers_la_LIBADD = 
+ am_libvers_la_OBJECTS =  print_version.lo
+ libvers_la_OBJECTS =  $(am_libvers_la_OBJECTS)
+@@ -244,7 +254,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/vers/Makefile
+ 
+@@ -328,11 +338,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.3f-old/ltmain.sh heimdal-0.3f/ltmain.sh
+--- heimdal-0.3f-old/ltmain.sh	Sun Jul 16 01:25:57 2000
++++ heimdal-0.3f/ltmain.sh	Tue Jun 19 18:17:26 2001
+@@ -1,7 +1,8 @@
+ # ltmain.sh - Provide generalized library-building support services.
+-# NOTE: Changing this file will not affect anything until you rerun ltconfig.
++# NOTE: Changing this file will not affect anything until you rerun configure.
+ #
+-# Copyright (C) 1996-2000 Free Software Foundation, Inc.
++# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
++# Free Software Foundation, Inc.
+ # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
+ #
+ # This program is free software; you can redistribute it and/or modify
+@@ -54,8 +55,8 @@
+ # Constants.
+ PROGRAM=ltmain.sh
+ PACKAGE=libtool
+-VERSION=1.3c
+-TIMESTAMP=" (1.731 2000/07/10 09:42:21)"
++VERSION=1.4
++TIMESTAMP=" (1.920 2001/04/24 23:26:18)"
+ 
+ default_mode=
+ help="Try \`$progname --help' for more information."
+@@ -83,12 +84,6 @@
+   save_LANG="$LANG"; LANG=C; export LANG
+ fi
+ 
+-if test "$LTCONFIG_VERSION" != "$VERSION"; then
+-  echo "$modename: ltconfig version \`$LTCONFIG_VERSION' does not match $PROGRAM version \`$VERSION'" 1>&2
+-  echo "Fatal configuration error.  See the $PACKAGE docs for more information." 1>&2
+-  exit 1
+-fi
+-
+ if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then
+   echo "$modename: not configured to build any kind of library" 1>&2
+   echo "Fatal configuration error.  See the $PACKAGE docs for more information." 1>&2
+@@ -113,16 +108,16 @@
+   arg="$1"
+   shift
+ 
+-  case "$arg" in
++  case $arg in
+   -*=*) optarg=`$echo "X$arg" | $Xsed -e 's/[-_a-zA-Z0-9]*=//'` ;;
+   *) optarg= ;;
+   esac
+ 
+   # If the previous option needs an argument, assign it.
+   if test -n "$prev"; then
+-    case "$prev" in
++    case $prev in
+     execute_dlfiles)
+-      eval "$prev=\"\$$prev \$arg\""
++      execute_dlfiles="$execute_dlfiles $arg"
+       ;;
+     *)
+       eval "$prev=\$arg"
+@@ -135,7 +130,7 @@
+   fi
+ 
+   # Have we seen a non-optional argument yet?
+-  case "$arg" in
++  case $arg in
+   --help)
+     show_help=yes
+     ;;
+@@ -146,7 +141,7 @@
+     ;;
+ 
+   --config)
+-    sed -e '1,/^### BEGIN LIBTOOL CONFIG/d' -e '/^### END LIBTOOL CONFIG/,$d' $0
++    sed -e '1,/^# ### BEGIN LIBTOOL CONFIG/d' -e '/^# ### END LIBTOOL CONFIG/,$d' $0
+     exit 0
+     ;;
+ 
+@@ -211,12 +206,12 @@
+ 
+   # Infer the operation mode.
+   if test -z "$mode"; then
+-    case "$nonopt" in
++    case $nonopt in
+     *cc | *++ | gcc* | *-gcc*)
+       mode=link
+       for arg
+       do
+-	case "$arg" in
++	case $arg in
+ 	-c)
+ 	   mode=compile
+ 	   break
+@@ -261,7 +256,7 @@
+   help="Try \`$modename --help --mode=$mode' for more information."
+ 
+   # These modes are in order of execution frequency so that they run quickly.
+-  case "$mode" in
++  case $mode in
+   # libtool compile mode
+   compile)
+     modename="$modename: compile"
+@@ -275,14 +270,14 @@
+     user_target=no
+     for arg
+     do
+-      case "$prev" in
++      case $prev in
+       "") ;;
+       xcompiler)
+ 	# Aesthetically quote the previous argument.
+ 	prev=
+ 	lastarg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
+ 
+-	case "$arg" in
++	case $arg in
+ 	# Double-quote args containing other shell metacharacters.
+ 	# Many Bourne shells cannot handle close brackets correctly
+ 	# in scan sets, so we specify it separately.
+@@ -302,7 +297,7 @@
+       esac
+ 
+       # Accept any command-line options.
+-      case "$arg" in
++      case $arg in
+       -o)
+ 	if test "$user_target" != "no"; then
+ 	  $echo "$modename: you cannot specify \`-o' more than once" 1>&2
+@@ -341,7 +336,7 @@
+ 	  # Double-quote args containing other shell metacharacters.
+ 	  # Many Bourne shells cannot handle close brackets correctly
+ 	  # in scan sets, so we specify it separately.
+-	  case "$arg" in
++	  case $arg in
+ 	    *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \	]*|*]*|"")
+ 	    arg="\"$arg\""
+ 	    ;;
+@@ -361,7 +356,7 @@
+ 	;;
+       esac
+ 
+-      case "$user_target" in
++      case $user_target in
+       next)
+ 	# The next one is the -o target name
+ 	user_target=yes
+@@ -389,7 +384,7 @@
+       # Double-quote args containing other shell metacharacters.
+       # Many Bourne shells cannot handle close brackets correctly
+       # in scan sets, so we specify it separately.
+-      case "$lastarg" in
++      case $lastarg in
+       *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \	]*|*]*|"")
+ 	lastarg="\"$lastarg\""
+ 	;;
+@@ -403,7 +398,7 @@
+       fi
+     done
+ 
+-    case "$user_target" in
++    case $user_target in
+     set)
+       ;;
+     no)
+@@ -419,7 +414,7 @@
+     # Recognize several different file suffixes.
+     # If the user specifies -o file.o, it is replaced with file.lo
+     xform='[cCFSfmso]'
+-    case "$libobj" in
++    case $libobj in
+     *.ada) xform=ada ;;
+     *.adb) xform=adb ;;
+     *.ads) xform=ads ;;
+@@ -434,7 +429,7 @@
+ 
+     libobj=`$echo "X$libobj" | $Xsed -e "s/\.$xform$/.lo/"`
+ 
+-    case "$libobj" in
++    case $libobj in
+     *.lo) obj=`$echo "X$libobj" | $Xsed -e "$lo2o"` ;;
+     *)
+       $echo "$modename: cannot determine name of library object from \`$libobj'" 1>&2
+@@ -459,8 +454,8 @@
+     trap "$run $rm $removelist; exit 1" 1 2 15
+ 
+     # On Cygwin there's no "real" PIC flag so we must build both object types
+-    case "$host_os" in
+-    cygwin* | mingw* | os2*)
++    case $host_os in
++    cygwin* | mingw* | pw32* | os2*)
+       pic_mode=default
+       ;;
+     esac
+@@ -472,7 +467,7 @@
+     # Calculate the filename of the output object if compiler does
+     # not support -o with -c
+     if test "$compiler_c_o" = no; then
+-      output_obj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\..*$%%'`.${objext}
++      output_obj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext}
+       lockfile="$output_obj.lock"
+       removelist="$removelist $output_obj $lockfile"
+       trap "$run $rm $removelist; exit 1" 1 2 15
+@@ -484,7 +479,7 @@
+     # Lock this critical section if it is needed
+     # We use this script file to make the link, it avoids creating a new file
+     if test "$need_locks" = yes; then
+-      until ln "$0" "$lockfile" 2>/dev/null; do
++      until $run ln "$0" "$lockfile" 2>/dev/null; do
+ 	$show "Waiting for $lockfile to be removed"
+ 	sleep 2
+       done
+@@ -706,7 +701,7 @@
+ 
+     # Unlock the critical section if it was locked
+     if test "$need_locks" != no; then
+-      $rm "$lockfile"
++      $run $rm "$lockfile"
+     fi
+ 
+     exit 0
+@@ -715,8 +710,8 @@
+   # libtool link mode
+   link | relink)
+     modename="$modename: link"
+-    case "$host" in
+-    *-*-cygwin* | *-*-mingw* | *-*-os2*)
++    case $host in
++    *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
+       # It is impossible to link a dll without this setting, and
+       # we shouldn't force the makefile maintainer to figure out
+       # which system we are compiling for in order to pass an extra
+@@ -779,7 +774,7 @@
+     # We need to know -static, to get the right output filenames.
+     for arg
+     do
+-      case "$arg" in
++      case $arg in
+       -all-static | -static)
+ 	if test "X$arg" = "X-all-static"; then
+ 	  if test "$build_libtool_libs" = yes && test -z "$link_static_flag"; then
+@@ -808,7 +803,7 @@
+     while test $# -gt 0; do
+       arg="$1"
+       shift
+-      case "$arg" in
++      case $arg in
+       *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \	]*|*]*|"")
+ 	qarg=\"`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`\" ### testsuite: skip nested quoting test
+ 	;;
+@@ -818,14 +813,14 @@
+ 
+       # If the previous option needs an argument, assign it.
+       if test -n "$prev"; then
+-	case "$prev" in
++	case $prev in
+ 	output)
+ 	  compile_command="$compile_command @OUTPUT@"
+ 	  finalize_command="$finalize_command @OUTPUT@"
+ 	  ;;
+ 	esac
+ 
+-	case "$prev" in
++	case $prev in
+ 	dlfiles|dlprefiles)
+ 	  if test "$preload" = no; then
+ 	    # Add the symbol object into the linking commands.
+@@ -833,7 +828,7 @@
+ 	    finalize_command="$finalize_command @SYMFILE@"
+ 	    preload=yes
+ 	  fi
+-	  case "$arg" in
++	  case $arg in
+ 	  *.la | *.lo) ;;  # We handle these cases below.
+ 	  force)
+ 	    if test "$dlself" = no; then
+@@ -887,7 +882,7 @@
+ 	  ;;
+ 	rpath | xrpath)
+ 	  # We need an absolute path.
+-	  case "$arg" in
++	  case $arg in
+ 	  [\\/]* | [A-Za-z]:[\\/]*) ;;
+ 	  *)
+ 	    $echo "$modename: only absolute run-paths are allowed" 1>&2
+@@ -929,11 +924,11 @@
+ 	  continue
+ 	  ;;
+ 	esac
+-      fi
++      fi # test -n $prev
+ 
+       prevarg="$arg"
+ 
+-      case "$arg" in
++      case $arg in
+       -all-static)
+ 	if test -n "$link_static_flag"; then
+ 	  compile_command="$compile_command $link_static_flag"
+@@ -970,7 +965,7 @@
+ 
+       -export-symbols | -export-symbols-regex)
+ 	if test -n "$export_symbols" || test -n "$export_symbols_regex"; then
+-	  $echo "$modename: not more than one -exported-symbols argument allowed"
++	  $echo "$modename: more than one -exported-symbols argument is not allowed"
+ 	  exit 1
+ 	fi
+ 	if test "X$arg" = "X-export-symbols"; then
+@@ -981,10 +976,22 @@
+ 	continue
+ 	;;
+ 
++      # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:*
++      # so, if we see these flags be careful not to treat them like -L
++      -L[A-Z][A-Z]*:*)
++	case $with_gcc/$host in
++	no/*-*-irix*)
++	  compile_command="$compile_command $arg"
++	  finalize_command="$finalize_command $arg"
++	  ;;
++	esac
++	continue
++	;;
++
+       -L*)
+ 	dir=`$echo "X$arg" | $Xsed -e 's/^-L//'`
+ 	# We need an absolute path.
+-	case "$dir" in
++	case $dir in
+ 	[\\/]* | [A-Za-z]:[\\/]*) ;;
+ 	*)
+ 	  absdir=`cd "$dir" && pwd`
+@@ -1002,9 +1009,9 @@
+ 	  lib_search_path="$lib_search_path $dir"
+ 	  ;;
+ 	esac
+-	case "$host" in
+-	*-*-cygwin* | *-*-mingw* | *-*-os2*)
+-	  case ":$dllsearchpath:" in
++	case $host in
++	*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
++	  case :$dllsearchpath: in
+ 	  *":$dir:"*) ;;
+ 	  *) dllsearchpath="$dllsearchpath:$dir";;
+ 	  esac
+@@ -1014,18 +1021,15 @@
+ 	;;
+ 
+       -l*)
+-	if test "$arg" = "-lc"; then
+-	  case "$host" in
+-	  *-*-cygwin* | *-*-mingw* | *-*-os2* | *-*-beos*)
+-	    # These systems don't actually have c library (as such)
++	if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then
++	  case $host in
++	  *-*-cygwin* | *-*-pw32* | *-*-beos*)
++	    # These systems don't actually have a C or math library (as such)
+ 	    continue
+ 	    ;;
+-	  esac
+-	elif test "$arg" = "-lm"; then
+-	  case "$host" in
+-	  *-*-cygwin* | *-*-beos*)
+-	    # These systems don't actually have math library (as such)
+-	    continue
++	  *-*-mingw* | *-*-os2*)
++	    # These systems don't actually have a C library (as such)
++	    test "X$arg" = "X-lc" && continue
+ 	    ;;
+ 	  esac
+ 	fi
+@@ -1044,21 +1048,15 @@
+ 	;;
+ 
+       -no-install)
+-	case "$host" in
+-	*-*-cygwin* | *-*-mingw* | *-*-os2*)
++	case $host in
++	*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
+ 	  # The PATH hackery in wrapper scripts is required on Windows
+ 	  # in order for the loader to find any dlls it needs.
+ 	  $echo "$modename: warning: \`-no-install' is ignored for $host" 1>&2
+ 	  $echo "$modename: warning: assuming \`-no-fast-install' instead" 1>&2
+ 	  fast_install=no
+ 	  ;;
+-        *-*-rhapsody*)
+-	  # rhapsody is a little odd...
+-	  deplibs="$deplibs -framework System"
+-	  ;;
+-	*)
+-	  no_install=yes
+-	  ;;
++	*) no_install=yes ;;
+ 	esac
+ 	continue
+ 	;;
+@@ -1088,7 +1086,7 @@
+       -R*)
+ 	dir=`$echo "X$arg" | $Xsed -e 's/^-R//'`
+ 	# We need an absolute path.
+-	case "$dir" in
++	case $dir in
+ 	[\\/]* | [A-Za-z]:[\\/]*) ;;
+ 	*)
+ 	  $echo "$modename: only absolute run-paths are allowed" 1>&2
+@@ -1103,11 +1101,11 @@
+ 	;;
+ 
+       -static)
+-	# If we have no pic_flag, then this is the same as -all-static.
+-	if test -z "$pic_flag" && test -n "$link_static_flag"; then
+-	  compile_command="$compile_command $link_static_flag"
+-	  finalize_command="$finalize_command $link_static_flag"
+-	fi
++	# The effects of -static are defined in a previous loop.
++	# We used to do the same as -all-static on platforms that
++	# didn't have a PIC flag, but the assumption that the effects
++	# would be equivalent was wrong.  It would break on at least
++	# Digital Unix and AIX.
+ 	continue
+ 	;;
+ 
+@@ -1127,7 +1125,7 @@
+ 	IFS="${IFS= 	}"; save_ifs="$IFS"; IFS=','
+ 	for flag in $args; do
+ 	  IFS="$save_ifs"
+-	  case "$flag" in
++	  case $flag in
+ 	    *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \	]*|*]*|"")
+ 	    flag="\"$flag\""
+ 	    ;;
+@@ -1145,7 +1143,7 @@
+ 	IFS="${IFS= 	}"; save_ifs="$IFS"; IFS=','
+ 	for flag in $args; do
+ 	  IFS="$save_ifs"
+-	  case "$flag" in
++	  case $flag in
+ 	    *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \	]*|*]*|"")
+ 	    flag="\"$flag\""
+ 	    ;;
+@@ -1173,20 +1171,15 @@
+ 	# Unknown arguments in both finalize_command and compile_command need
+ 	# to be aesthetically quoted because they are evaled later.
+ 	arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
+-	case "$arg" in
++	case $arg in
+ 	*[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \	]*|*]*|"")
+ 	  arg="\"$arg\""
+ 	  ;;
+ 	esac
+ 	;;
+ 
+-      *.$objext)
+-	# A standard object.
+-	objs="$objs $arg"
+-	;;
+-
+-      *.lo)
+-	# A library object.
++      *.lo | *.$objext)
++	# A library or standard object.
+ 	if test "$prev" = dlfiles; then
+ 	  # This file was specified with -dlopen.
+ 	  if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
+@@ -1204,7 +1197,10 @@
+ 	  dlprefiles="$dlprefiles "`$echo "X$arg" | $Xsed -e "$lo2o"`
+ 	  prev=
+ 	else
+-	  libobjs="$libobjs $arg"
++	  case $arg in
++	  *.lo) libobjs="$libobjs $arg" ;;
++	  *) objs="$objs $arg" ;;
++	  esac
+ 	fi
+ 	;;
+ 
+@@ -1237,20 +1233,20 @@
+ 	# Unknown arguments in both finalize_command and compile_command need
+ 	# to be aesthetically quoted because they are evaled later.
+ 	arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
+-	case "$arg" in
++	case $arg in
+ 	*[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \	]*|*]*|"")
+ 	  arg="\"$arg\""
+ 	  ;;
+ 	esac
+ 	;;
+-      esac
++      esac # arg
+ 
+       # Now actually substitute the argument into the commands.
+       if test -n "$arg"; then
+ 	compile_command="$compile_command $arg"
+ 	finalize_command="$finalize_command $arg"
+       fi
+-    done
++    done # argument parsing loop
+ 
+     if test -n "$prev"; then
+       $echo "$modename: the \`$prevarg' option requires an argument" 1>&2
+@@ -1264,7 +1260,6 @@
+       finalize_command="$finalize_command $arg"
+     fi
+ 
+-    oldlibs=
+     # calculate the name of the file, without its directory
+     outputname=`$echo "X$output" | $Xsed -e 's%^.*/%%'`
+     libobjs_save="$libobjs"
+@@ -1295,7 +1290,7 @@
+     fi
+ 
+     # Determine the type of output
+-    case "$output" in
++    case $output in
+     "")
+       $echo "$modename: you must specify an output file" 1>&2
+       $echo "$help" 1>&2
+@@ -1321,13 +1316,13 @@
+     newdependency_libs=
+     newlib_search_path=
+     need_relink=no # whether we're linking any uninstalled libtool libraries
+-    uninst_deplibs= # uninstalled libtool libraries
+-    uninst_path= # paths that contain uninstalled libtool libraries
++    notinst_deplibs= # not-installed libtool libraries
++    notinst_path= # paths that contain not-installed libtool libraries
+     case $linkmode in
+     lib)
+ 	passes="conv link"
+ 	for file in $dlfiles $dlprefiles; do
+-	  case "$file" in
++	  case $file in
+ 	  *.la) ;;
+ 	  *)
+ 	    $echo "$modename: libraries can \`-dlopen' only libtool libraries: $file" 1>&2
+@@ -1344,34 +1339,29 @@
+ 	newdlprefiles=
+ 	passes="conv scan dlopen dlpreopen link"
+ 	;;
+-    *)	passes="conv"
++    *)  passes="conv"
+ 	;;
+     esac
+     for pass in $passes; do
+-      if test "$linkmode,$pass" = "lib,link" ||
+-	 test "$linkmode,$pass" = "prog,scan"; then
+-	libs="$deplibs"
+-	deplibs=
+-      fi
+       if test $linkmode = prog; then
++	# Determine which files to process
+ 	case $pass in
+-	dlopen) libs="$dlfiles" ;;
++	dlopen)
++	  libs="$dlfiles"
++	  save_deplibs="$deplibs" # Collect dlpreopened libraries
++	  deplibs=
++	  ;;
+ 	dlpreopen) libs="$dlprefiles" ;;
+ 	link) libs="$deplibs %DEPLIBS% $dependency_libs" ;;
+ 	esac
+       fi
+-      if test $pass = dlopen; then
+-	# Collect dlpreopened libraries
+-	save_deplibs="$deplibs"
+-	deplibs=
+-      fi
+       for deplib in $libs; do
+ 	lib=
+ 	found=no
+-	case "$deplib" in
++	case $deplib in
+ 	-l*)
+-	  if test $linkmode != lib && test $linkmode != prog; then
+-	    $echo "$modename: warning: \`-l' is ignored for archives/objects" 1>&2
++	  if test $linkmode = oldlib && test $linkmode = obj; then
++	    $echo "$modename: warning: \`-l' is ignored for archives/objects: $deplib" 1>&2
+ 	    continue
+ 	  fi
+ 	  if test $pass = conv; then
+@@ -1388,6 +1378,7 @@
+ 	    fi
+ 	  done
+ 	  if test "$found" != yes; then
++	    # deplib doesn't seem to be a libtool library
+ 	    if test "$linkmode,$pass" = "prog,link"; then
+ 	      compile_deplibs="$deplib $compile_deplibs"
+ 	      finalize_deplibs="$deplib $finalize_deplibs"
+@@ -1397,7 +1388,7 @@
+ 	    fi
+ 	    continue
+ 	  fi
+-	  ;;
++	  ;; # -l
+ 	-L*)
+ 	  case $linkmode in
+ 	  lib)
+@@ -1420,11 +1411,11 @@
+ 	    fi
+ 	    ;;
+ 	  *)
+-	    $echo "$modename: warning: \`-L' is ignored for archives/objects" 1>&2
++	    $echo "$modename: warning: \`-L' is ignored for archives/objects: $deplib" 1>&2
+ 	    ;;
+-	  esac
++	  esac # linkmode
+ 	  continue
+-	  ;;
++	  ;; # -L
+ 	-R*)
+ 	  if test $pass = link; then
+ 	    dir=`$echo "X$deplib" | $Xsed -e 's/^-R//'`
+@@ -1468,21 +1459,17 @@
+ 	    fi
+ 	    continue
+ 	    ;;
+-	  esac
+-	  ;;
++	  esac # linkmode
++	  ;; # *.$libext
+ 	*.lo | *.$objext)
+-	  if test $pass = conv; then
+-	    deplibs="$deplib $deplibs"
+-	  elif test $linkmode = prog; then
+-	    if test $pass = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
+-	      # If there is no dlopen support or we're linking statically,
+-	      # we need to preload.
+-	      newdlprefiles="$newdlprefiles $deplib"
+-	      compile_deplibs="$deplib $compile_deplibs"
+-	      finalize_deplibs="$deplib $finalize_deplibs"
+-	    else
+-	      newdlfiles="$newdlfiles $deplib"
+-	    fi
++	  if test $pass = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
++	    # If there is no dlopen support or we're linking statically,
++	    # we need to preload.
++	    newdlprefiles="$newdlprefiles $deplib"
++	    compile_deplibs="$deplib $compile_deplibs"
++	    finalize_deplibs="$deplib $finalize_deplibs"
++	  else
++	    newdlfiles="$newdlfiles $deplib"
+ 	  fi
+ 	  continue
+ 	  ;;
+@@ -1490,7 +1477,7 @@
+ 	  alldeplibs=yes
+ 	  continue
+ 	  ;;
+-	esac
++	esac # case $deplib
+ 	if test $found = yes || test -f "$lib"; then :
+ 	else
+ 	  $echo "$modename: cannot find the library \`$lib'" 1>&2
+@@ -1518,20 +1505,21 @@
+ 	installed=yes
+ 
+ 	# Read the .la file
+-	case "$lib" in
++	case $lib in
+ 	*/* | *\\*) . $lib ;;
+ 	*) . ./$lib ;;
+ 	esac
+ 
+ 	if test "$linkmode,$pass" = "lib,link" ||
+ 	   test "$linkmode,$pass" = "prog,scan" ||
+-	   { test $linkmode != prog && test $linkmode != lib; }; then
++	   { test $linkmode = oldlib && test $linkmode = obj; }; then
++	   # Add dl[pre]opened files of deplib
+ 	  test -n "$dlopen" && dlfiles="$dlfiles $dlopen"
+ 	  test -n "$dlpreopen" && dlprefiles="$dlprefiles $dlpreopen"
+ 	fi
+ 
+ 	if test $pass = conv; then
+-	  # only check for convenience libraries
++	  # Only check for convenience libraries
+ 	  deplibs="$lib $deplibs"
+ 	  if test -z "$libdir"; then
+ 	    if test -z "$old_library"; then
+@@ -1554,7 +1542,7 @@
+ 	    exit 1
+ 	  fi
+ 	  continue
+-	fi
++	fi # $pass = conv
+ 
+ 	# Get the name of the library we link against.
+ 	linklib=
+@@ -1573,17 +1561,17 @@
+ 	    exit 1
+ 	  fi
+ 	  if test -z "$dlname" || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
+-	    # If there is no dlname, no dlopen support or we're linking statically,
+-	    # we need to preload.
++	    # If there is no dlname, no dlopen support or we're linking
++	    # statically, we need to preload.
+ 	    dlprefiles="$dlprefiles $lib"
+ 	  else
+ 	    newdlfiles="$newdlfiles $lib"
+ 	  fi
+ 	  continue
+-	fi
++	fi # $pass = dlopen
+ 
+ 	# We need an absolute path.
+-	case "$ladir" in
++	case $ladir in
+ 	[\\/]* | [A-Za-z]:[\\/]*) abs_ladir="$ladir" ;;
+ 	*)
+ 	  abs_ladir=`cd "$ladir" && pwd`
+@@ -1611,8 +1599,8 @@
+ 	  dir="$ladir/$objdir"
+ 	  absdir="$abs_ladir/$objdir"
+ 	  # Remove this search path later
+-	  uninst_path="$uninst_path $abs_ladir"
+-	fi
++	  notinst_path="$notinst_path $abs_ladir"
++	fi # $installed = yes
+ 	name=`$echo "X$laname" | $Xsed -e 's/\.la$//' -e 's/^lib//'`
+ 
+ 	# This library was specified with -dlpreopen.
+@@ -1625,20 +1613,23 @@
+ 	  # are required to link).
+ 	  if test -n "$old_library"; then
+ 	    newdlprefiles="$newdlprefiles $dir/$old_library"
++	  # Otherwise, use the dlname, so that lt_dlopen finds it.
++	  elif test -n "$dlname"; then
++	    newdlprefiles="$newdlprefiles $dir/$dlname"
+ 	  else
+ 	    newdlprefiles="$newdlprefiles $dir/$linklib"
+ 	  fi
+-	fi
++	fi # $pass = dlpreopen
+ 
+ 	if test -z "$libdir"; then
+-	  # link the convenience library
++	  # Link the convenience library
+ 	  if test $linkmode = lib; then
+ 	    deplibs="$dir/$old_library $deplibs"
+ 	  elif test "$linkmode,$pass" = "prog,link"; then
+ 	    compile_deplibs="$dir/$old_library $compile_deplibs"
+ 	    finalize_deplibs="$dir/$old_library $finalize_deplibs"
+ 	  else
+-	    deplibs="$lib $deplibs" # used for prog,scan pass
++	    deplibs="$lib $deplibs"
+ 	  fi
+ 	  continue
+ 	fi
+@@ -1655,7 +1646,7 @@
+ 
+ 	  tmp_libs=
+ 	  for deplib in $dependency_libs; do
+-	    case "$deplib" in
++	    case $deplib in
+ 	    -L*) newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`;; ### testsuite: skip nested quoting test
+ 	    esac
+ 	    # Need to link against all dependency_libs?
+@@ -1670,24 +1661,17 @@
+ 	    *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
+ 	    esac
+ 	    tmp_libs="$tmp_libs $deplib"
+-	  done
++	  done # for deplib
+ 	  continue
+-	fi
++	fi # $linkmode = prog...
+ 
+-	if test "$linkmode,$pass" = "prog,link"; then
+-	  if test -n "$library_names" &&
+-	     { test "$hardcode_into_libs" != all || test "$alldeplibs" != yes; } &&
+-	     { test "$prefer_static_libs" = no || test -z "$old_library"; }; then
+-	    # We need to hardcode the library path
+-	    if test -n "$shlibpath_var"; then
+-	      # Make sure the rpath contains only unique directories.
+-	      case "$temp_rpath " in
+-	      *" $dir "*) ;;
+-	      *" $absdir "*) ;;
+-	      *) temp_rpath="$temp_rpath $dir" ;;
+-	      esac
+-	    fi
++	link_static=no # Whether the deplib will be linked statically
++	if test -n "$library_names" &&
++	   { test "$prefer_static_libs" = no || test -z "$old_library"; }; then
++	  # Link against this shared library
+ 
++	  if test "$linkmode,$pass" = "prog,link" ||
++	   { test $linkmode = lib && test $hardcode_into_libs = yes; }; then
+ 	    # Hardcode the library path.
+ 	    # Skip directories that are in the system default run-time
+ 	    # search path.
+@@ -1700,7 +1684,6 @@
+ 	      esac
+ 	      ;;
+ 	    esac
+-
+ 	    case " $sys_lib_dlsearch_path " in
+ 	    *" $libdir "*) ;;
+ 	    *)
+@@ -1710,7 +1693,18 @@
+ 	      esac
+ 	      ;;
+ 	    esac
+-	  fi
++	    if test $linkmode = prog; then
++	      # We need to hardcode the library path
++	      if test -n "$shlibpath_var"; then
++		# Make sure the rpath contains only unique directories.
++		case "$temp_rpath " in
++		*" $dir "*) ;;
++		*" $absdir "*) ;;
++		*) temp_rpath="$temp_rpath $dir" ;;
++		esac
++	      fi
++	    fi
++	  fi # $linkmode,$pass = prog,link...
+ 
+ 	  if test "$alldeplibs" = yes &&
+ 	     { test "$deplibs_check_method" = pass_all ||
+@@ -1719,39 +1713,11 @@
+ 	    # We only need to search for static libraries
+ 	    continue
+ 	  fi
+-	fi
+ 
+-	link_static=no # Whether the deplib will be linked statically
+-	if test -n "$library_names" &&
+-	   { test "$prefer_static_libs" = no || test -z "$old_library"; }; then
+ 	  if test "$installed" = no; then
+-	    uninst_deplibs="$uninst_deplibs $lib"
++	    notinst_deplibs="$notinst_deplibs $lib"
+ 	    need_relink=yes
+ 	  fi
+-	  # This is a shared library
+-	  if test $linkmode = lib && test "$hardcode_into_libs" = all; then
+-	    # Hardcode the library path.
+-	    # Skip directories that are in the system default run-time
+-	    # search path.
+-	    case " $sys_lib_dlsearch_path " in
+-	    *" $absdir "*) ;;
+-	    *)
+-	      case "$compile_rpath " in
+-	      *" $absdir "*) ;;
+-	      *) compile_rpath="$compile_rpath $absdir"
+-	      esac
+-	      ;;
+-	    esac
+-	    case " $sys_lib_dlsearch_path " in
+-	    *" $libdir "*) ;;
+-	    *)
+-	      case "$finalize_rpath " in
+-	      *" $libdir "*) ;;
+-	      *) finalize_rpath="$finalize_rpath $libdir"
+-	      esac
+-	      ;;
+-	    esac
+-	  fi
+ 
+ 	  if test -n "$old_archive_from_expsyms_cmds"; then
+ 	    # figure out the soname
+@@ -1759,13 +1725,25 @@
+ 	    realname="$2"
+ 	    shift; shift
+ 	    libname=`eval \\$echo \"$libname_spec\"`
+-	    if test -n "$soname_spec"; then
++	    # use dlname if we got it. it's perfectly good, no?
++	    if test -n "$dlname"; then
++	      soname="$dlname"
++	    elif test -n "$soname_spec"; then
++	      # bleh windows
++	      case $host in
++	      *cygwin*)
++		major=`expr $current - $age`
++		versuffix="-$major"
++		;;
++	      esac
+ 	      eval soname=\"$soname_spec\"
+ 	    else
+ 	      soname="$realname"
+ 	    fi
+ 
+ 	    # Make a new name for the extract_expsyms_cmds to use
++	    soroot="$soname"
++	    soname=`echo $soroot | sed -e 's/^.*\///'`
+ 	    newlib="libimp-`echo $soname | sed 's/^lib//;s/\.dll$//'`.a"
+ 
+ 	    # If the library has no export list, then create one now
+@@ -1797,19 +1775,19 @@
+ 	    # make sure the library variables are pointing to the new library
+ 	    dir=$output_objdir
+ 	    linklib=$newlib
+-	  fi
++	  fi # test -n $old_archive_from_expsyms_cmds
+ 
+ 	  if test $linkmode = prog || test "$mode" != relink; then
+ 	    add_shlibpath=
+ 	    add_dir=
+ 	    add=
+ 	    lib_linked=yes
+-	    case "$hardcode_action" in
++	    case $hardcode_action in
+ 	    immediate | unsupported)
+ 	      if test "$hardcode_direct" = no; then
+ 		add="$dir/$linklib"
+ 	      elif test "$hardcode_minus_L" = no; then
+-		case "$host" in
++		case $host in
+ 		*-*-sunos*) add_shlibpath="$dir" ;;
+ 		esac
+ 		add_dir="-L$dir"
+@@ -1843,7 +1821,7 @@
+ 	    fi
+ 
+ 	    if test -n "$add_shlibpath"; then
+-	      case ":$compile_shlibpath:" in
++	      case :$compile_shlibpath: in
+ 	      *":$add_shlibpath:"*) ;;
+ 	      *) compile_shlibpath="$compile_shlibpath$add_shlibpath:" ;;
+ 	      esac
+@@ -1857,7 +1835,7 @@
+ 	      if test "$hardcode_direct" != yes && \
+ 		 test "$hardcode_minus_L" != yes && \
+ 		 test "$hardcode_shlibpath_var" = yes; then
+-		case ":$finalize_shlibpath:" in
++		case :$finalize_shlibpath: in
+ 		*":$libdir:"*) ;;
+ 		*) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
+ 		esac
+@@ -1876,7 +1854,7 @@
+ 	      add_dir="-L$libdir"
+ 	      add="-l$name"
+ 	    elif test "$hardcode_shlibpath_var" = yes; then
+-	      case ":$finalize_shlibpath:" in
++	      case :$finalize_shlibpath: in
+ 	      *":$libdir:"*) ;;
+ 	      *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
+ 	      esac
+@@ -1892,10 +1870,19 @@
+ 	      test -n "$add" && finalize_deplibs="$add $finalize_deplibs"
+ 	    else
+ 	      test -n "$add_dir" && deplibs="$add_dir $deplibs"
+-	      test -n "$add" && deplibs="$add deplibs"
++	      test -n "$add" && deplibs="$add $deplibs"
+ 	    fi
+ 	  fi
+ 	elif test $linkmode = prog; then
++	  if test "$alldeplibs" = yes &&
++	     { test "$deplibs_check_method" = pass_all ||
++	       { test "$build_libtool_libs" = yes &&
++		 test -n "$library_names"; }; }; then
++	    # We only need to search for static libraries
++	    continue
++	  fi
++
++	  # Try to link the static library
+ 	  # Here we assume that one of hardcode_direct or hardcode_minus_L
+ 	  # is not unsupported.  This is valid on all known static and
+ 	  # shared platforms.
+@@ -1912,6 +1899,7 @@
+ 	  if test "$deplibs_check_method" != pass_all; then
+ 	    # We're trying link a shared library against a static one
+ 	    # but the system doesn't support it.
++
+ 	    # Just print a warning and add the library to dependency_libs so
+ 	    # that the program can be linked against the static library.
+ 	    echo
+@@ -1919,22 +1907,39 @@
+ 	    echo "*** I have the capability to make that library automatically link in when"
+ 	    echo "*** you link to this library.  But I can only do this if you have a"
+ 	    echo "*** shared version of the library, which you do not appear to have."
++	    if test "$module" = yes; then
++	      echo "*** Therefore, libtool will create a static module, that should work "
++	      echo "*** as long as the dlopening application is linked with the -dlopen flag."
++	      if test -z "$global_symbol_pipe"; then
++	        echo
++	        echo "*** However, this would only work if libtool was able to extract symbol"
++	        echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
++	        echo "*** not find such a program.  So, this module is probably useless."
++	        echo "*** \`nm' from GNU binutils and a full rebuild may help."
++	      fi
++	      if test "$build_old_libs" = no; then
++	        build_libtool_libs=module
++	        build_old_libs=yes
++	      else
++	        build_libtool_libs=no
++	      fi
++	    fi
+ 	  else
+ 	    convenience="$convenience $dir/$old_library"
+ 	    old_convenience="$old_convenience $dir/$old_library"
+ 	    deplibs="$dir/$old_library $deplibs"
+ 	    link_static=yes
+ 	  fi
+-	fi
++	fi # link shared/static library?
+ 
+ 	if test $linkmode = lib; then
+ 	  if test -n "$dependency_libs" &&
+-	     { test "$hardcode_into_libs" = no || test $build_old_libs = yes ||
++	     { test $hardcode_into_libs != yes || test $build_old_libs = yes ||
+ 	       test $link_static = yes; }; then
+ 	    # Extract -R from dependency_libs
+ 	    temp_deplibs=
+ 	    for libdir in $dependency_libs; do
+-	      case "$libdir" in
++	      case $libdir in
+ 	      -R*) temp_xrpath=`$echo "X$libdir" | $Xsed -e 's/^-R//'`
+ 		   case " $xrpath " in
+ 		   *" $temp_xrpath "*) ;;
+@@ -1962,13 +1967,13 @@
+ 	  if test $link_all_deplibs != no; then
+ 	    # Add the search paths of all dependency libraries
+ 	    for deplib in $dependency_libs; do
+-	      case "$deplib" in
++	      case $deplib in
+ 	      -L*) path="$deplib" ;;
+ 	      *.la)
+ 		dir=`$echo "X$deplib" | $Xsed -e 's%/[^/]*$%%'`
+ 		test "X$dir" = "X$deplib" && dir="."
+ 		# We need an absolute path.
+-		case "$dir" in
++		case $dir in
+ 		[\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;;
+ 		*)
+ 		  absdir=`cd "$dir" && pwd`
+@@ -1999,10 +2004,9 @@
+ 	      *) deplibs="$deplibs $path" ;;
+ 	      esac
+ 	    done
+-	  fi
+-	fi
+-      done
+-      dependency_libs="$newdependency_libs"
++	  fi # link_all_deplibs != no
++	fi # linkmode = lib
++      done # for deplib in $libs
+       if test $pass = dlpreopen; then
+ 	# Link the dlpreopened libraries before other libraries
+ 	for deplib in $save_deplibs; do
+@@ -2010,6 +2014,7 @@
+ 	done
+       fi
+       if test $pass != dlopen; then
++	test $pass != scan && dependency_libs="$newdependency_libs"
+ 	if test $pass != conv; then
+ 	  # Make sure lib_search_path contains only unique directories.
+ 	  lib_search_path=
+@@ -2028,12 +2033,11 @@
+ 	  vars="compile_deplibs finalize_deplibs"
+ 	fi
+ 	for var in $vars dependency_libs; do
+-	  # Make sure that $var contains only unique libraries
+-	  # and add them in reverse order
++	  # Add libraries to $var in reverse order
+ 	  eval tmp_libs=\"\$$var\"
+ 	  new_libs=
+ 	  for deplib in $tmp_libs; do
+-	    case "$deplib" in
++	    case $deplib in
+ 	    -L*) new_libs="$deplib $new_libs" ;;
+ 	    *)
+ 	      case " $specialdeplibs " in
+@@ -2050,7 +2054,7 @@
+ 	  done
+ 	  tmp_libs=
+ 	  for deplib in $new_libs; do
+-	    case "$deplib" in
++	    case $deplib in
+ 	    -L*)
+ 	      case " $tmp_libs " in
+ 	      *" $deplib "*) ;;
+@@ -2061,9 +2065,14 @@
+ 	    esac
+ 	  done
+ 	  eval $var=\"$tmp_libs\"
+-	done
++	done # for var
+       fi
+-    done
++      if test "$pass" = "conv" &&
++       { test "$linkmode" = "lib" || test "$linkmode" = "prog"; }; then
++	libs="$deplibs" # reset libs
++	deplibs=
++      fi
++    done # for pass
+     if test $linkmode = prog; then
+       dlfiles="$newdlfiles"
+       dlprefiles="$newdlprefiles"
+@@ -2071,10 +2080,6 @@
+ 
+     case $linkmode in
+     oldlib)
+-      if test -n "$deplibs"; then
+-	$echo "$modename: warning: \`-l' and \`-L' are ignored for archives" 1>&2
+-      fi
+-
+       if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
+ 	$echo "$modename: warning: \`-dlopen' is ignored for archives" 1>&2
+       fi
+@@ -2107,7 +2112,7 @@
+ 
+     lib)
+       # Make sure we only generate libraries of the form `libNAME.la'.
+-      case "$outputname" in
++      case $outputname in
+       lib*)
+ 	name=`$echo "X$outputname" | $Xsed -e 's/\.la$//' -e 's/^lib//'`
+ 	eval libname=\"$libname_spec\"
+@@ -2185,8 +2190,8 @@
+ 	age="$4"
+ 
+ 	# Check that each of the things are valid numbers.
+-	case "$current" in
+-	0 | [1-9] | [1-9][0-9]*) ;;
++	case $current in
++	0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;;
+ 	*)
+ 	  $echo "$modename: CURRENT \`$current' is not a nonnegative integer" 1>&2
+ 	  $echo "$modename: \`$vinfo' is not valid version information" 1>&2
+@@ -2194,8 +2199,8 @@
+ 	  ;;
+ 	esac
+ 
+-	case "$revision" in
+-	0 | [1-9] | [1-9][0-9]*) ;;
++	case $revision in
++	0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;;
+ 	*)
+ 	  $echo "$modename: REVISION \`$revision' is not a nonnegative integer" 1>&2
+ 	  $echo "$modename: \`$vinfo' is not valid version information" 1>&2
+@@ -2203,8 +2208,8 @@
+ 	  ;;
+ 	esac
+ 
+-	case "$age" in
+-	0 | [1-9] | [1-9][0-9]*) ;;
++	case $age in
++	0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;;
+ 	*)
+ 	  $echo "$modename: AGE \`$age' is not a nonnegative integer" 1>&2
+ 	  $echo "$modename: \`$vinfo' is not valid version information" 1>&2
+@@ -2222,12 +2227,31 @@
+ 	major=
+ 	versuffix=
+ 	verstring=
+-	case "$version_type" in
++	case $version_type in
+ 	none) ;;
+ 
++	darwin)
++	  # Like Linux, but with the current version available in
++	  # verstring for coding it into the library header
++	  major=.`expr $current - $age`
++	  versuffix="$major.$age.$revision"
++	  # Darwin ld doesn't like 0 for these options...
++	  minor_current=`expr $current + 1`
++	  verstring="-compatibility_version $minor_current -current_version $minor_current.$revision"
++	  ;;
++
++	freebsd-aout)
++	  major=".$current"
++	  versuffix=".$current.$revision";
++	  ;;
++
++	freebsd-elf)
++	  major=".$current"
++	  versuffix=".$current";
++	  ;;
++
+ 	irix)
+ 	  major=`expr $current - $age + 1`
+-	  versuffix="$major.$revision"
+ 	  verstring="sgi$major.$revision"
+ 
+ 	  # Add in all the interfaces that we are compatible with.
+@@ -2237,6 +2261,10 @@
+ 	    loop=`expr $loop - 1`
+ 	    verstring="sgi$major.$iface:$verstring"
+ 	  done
++
++	  # Before this point, $major must not contain `.'.
++	  major=.$major
++	  versuffix="$major.$revision"
+ 	  ;;
+ 
+ 	linux)
+@@ -2266,21 +2294,11 @@
+ 	  versuffix=".$current.$revision"
+ 	  ;;
+ 
+-	freebsd-aout)
+-	  major=".$current"
+-	  versuffix=".$current.$revision";
+-	  ;;
+-
+-	freebsd-elf)
+-	  major=".$current"
+-	  versuffix=".$current";
+-	  ;;
+-
+ 	windows)
+-	  # Like Linux, but with '-' rather than '.', since we only
+-	  # want one extension on Windows 95.
++	  # Use '-' rather than '.', since we only want one
++	  # extension on DOS 8.3 filesystems.
+ 	  major=`expr $current - $age`
+-	  versuffix="-$major-$age-$revision"
++	  versuffix="-$major"
+ 	  ;;
+ 
+ 	*)
+@@ -2336,7 +2354,7 @@
+       fi
+ 
+       # Eliminate all temporary directories.
+-      for path in $uninst_path; do
++      for path in $notinst_path; do
+ 	lib_search_path=`echo "$lib_search_path " | sed -e 's% $path % %g'`
+ 	deplibs=`echo "$deplibs " | sed -e 's% -L$path % %g'`
+ 	dependency_libs=`echo "$dependency_libs " | sed -e 's% -L$path % %g'`
+@@ -2352,7 +2370,7 @@
+ 	  *) finalize_rpath="$finalize_rpath $libdir" ;;
+ 	  esac
+ 	done
+-	if test "$hardcode_into_libs" = no || test $build_old_libs = yes; then
++	if test $hardcode_into_libs != yes || test $build_old_libs = yes; then
+ 	  dependency_libs="$temp_xrpath $dependency_libs"
+ 	fi
+       fi
+@@ -2379,13 +2397,22 @@
+ 
+       if test "$build_libtool_libs" = yes; then
+ 	if test -n "$rpath"; then
+-	  case "$host" in
+-	  *-*-cygwin* | *-*-mingw* | *-*-os2* | *-*-beos*)
++	  case $host in
++	  *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos*)
+ 	    # these systems don't actually have a c library (as such)!
+ 	    ;;
++	  *-*-rhapsody* | *-*-darwin1.[012])
++	    # Rhapsody C library is in the System framework
++	    deplibs="$deplibs -framework System"
++	    ;;
++	  *-*-netbsd*)
++	    # Don't link with libc until the a.out ld.so is fixed.
++	    ;;
+ 	  *)
+-	    # Add libc to deplibs on all other systems.
+-	    deplibs="$deplibs -lc"
++	    # Add libc to deplibs on all other systems if necessary.
++	    if test $build_libtool_need_lc = "yes"; then
++	      deplibs="$deplibs -lc"
++	    fi
+ 	    ;;
+ 	  esac
+ 	fi
+@@ -2404,7 +2431,7 @@
+ 	major=""
+ 	newdeplibs=
+ 	droppeddeps=no
+-	case "$deplibs_check_method" in
++	case $deplibs_check_method in
+ 	pass_all)
+ 	  # Don't check for shared/static.  Everything works.
+ 	  # This might be a little naive.  We might want to check
+@@ -2429,7 +2456,7 @@
+ 	    for i in $deplibs; do
+ 	      name="`expr $i : '-l\(.*\)'`"
+ 	      # If $name is empty we are operating on a -L argument.
+-	      if test "$name" != "" ; then
++	      if test -n "$name" && test "$name" != "0"; then
+ 		libname=`eval \\$echo \"$libname_spec\"`
+ 		deplib_matches=`eval \\$echo \"$library_names_spec\"`
+ 		set dummy $deplib_matches
+@@ -2454,7 +2481,7 @@
+ 	    for i in $deplibs; do
+ 	      name="`expr $i : '-l\(.*\)'`"
+ 	     # If $name is empty we are operating on a -L argument.
+-	      if test "$name" != "" ; then
++	      if test -n "$name" && test "$name" != "0"; then
+ 		$rm conftest
+ 		$CC -o conftest conftest.c $i
+ 		# Did it work?
+@@ -2494,7 +2521,7 @@
+ 	  for a_deplib in $deplibs; do
+ 	    name="`expr $a_deplib : '-l\(.*\)'`"
+ 	    # If $name is empty we are operating on a -L argument.
+-	    if test "$name" != "" ; then
++	    if test -n "$name" && test "$name" != "0"; then
+ 	      libname=`eval \\$echo \"$libname_spec\"`
+ 	      for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
+ 		    potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
+@@ -2512,7 +2539,7 @@
+ 		      potlib="$potent_lib"
+ 		      while test -h "$potlib" 2>/dev/null; do
+ 			potliblink=`ls -ld $potlib | sed 's/.* -> //'`
+-			case "$potliblink" in
++			case $potliblink in
+ 			[\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";;
+ 			*) potlib=`$echo "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";;
+ 			esac
+@@ -2540,6 +2567,40 @@
+ 	    fi
+ 	  done # Gone through all deplibs.
+ 	  ;;
++	match_pattern*)
++	  set dummy $deplibs_check_method
++	  match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
++	  for a_deplib in $deplibs; do
++	    name="`expr $a_deplib : '-l\(.*\)'`"
++	    # If $name is empty we are operating on a -L argument.
++	    if test -n "$name" && test "$name" != "0"; then
++	      libname=`eval \\$echo \"$libname_spec\"`
++	      for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
++		potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
++		for potent_lib in $potential_libs; do
++		  if eval echo \"$potent_lib\" 2>/dev/null \
++		      | sed 10q \
++		      | egrep "$match_pattern_regex" > /dev/null; then
++		    newdeplibs="$newdeplibs $a_deplib"
++		    a_deplib=""
++		    break 2
++		  fi
++		done
++	      done
++	      if test -n "$a_deplib" ; then
++		droppeddeps=yes
++		echo
++		echo "*** Warning: This library needs some functionality provided by $a_deplib."
++		echo "*** I have the capability to make that library automatically link in when"
++		echo "*** you link to this library.  But I can only do this if you have a"
++		echo "*** shared version of the library, which you do not appear to have."
++	      fi
++	    else
++	      # Add a -L argument.
++	      newdeplibs="$newdeplibs $a_deplib"
++	    fi
++	  done # Gone through all deplibs.
++	  ;;
+ 	none | unknown | *)
+ 	  newdeplibs=""
+ 	  if $echo "X $deplibs" | $Xsed -e 's/ -lc$//' \
+@@ -2562,6 +2623,13 @@
+ 	libname=$libname_save
+ 	name=$name_save
+ 
++	case $host in
++	*-*-rhapsody* | *-*-darwin1.[012])
++	  # On Rhapsody replace the C library is the System framework
++	  newdeplibs=`$echo "X $newdeplibs" | $Xsed -e 's/ -lc / -framework System /'`
++	  ;;
++	esac
++
+ 	if test "$droppeddeps" = yes; then
+ 	  if test "$module" = yes; then
+ 	    echo
+@@ -2587,6 +2655,21 @@
+ 	    echo "*** The inter-library dependencies that have been dropped here will be"
+ 	    echo "*** automatically added whenever a program is linked with this library"
+ 	    echo "*** or is declared to -dlopen it."
++
++	    if test $allow_undefined = no; then
++	      echo
++	      echo "*** Since this library must not contain undefined symbols,"
++	      echo "*** because either the platform does not support them or"
++	      echo "*** it was explicitly requested with -no-undefined,"
++	      echo "*** libtool will only create a static version of it."
++	      if test "$build_old_libs" = no; then
++		oldlibs="$output_objdir/$libname.$libext"
++		build_libtool_libs=module
++		build_old_libs=yes
++	      else
++		build_libtool_libs=no
++	      fi
++	    fi
+ 	  fi
+ 	fi
+ 	# Done checking deplibs!
+@@ -2600,7 +2683,7 @@
+ 
+       # Test again, we may have decided not to build it any more
+       if test "$build_libtool_libs" = yes; then
+-	if test "$hardcode_into_libs" != no; then
++	if test $hardcode_into_libs = yes; then
+ 	  # Hardcode the library paths
+ 	  hardcode_libdirs=
+ 	  dep_rpath=
+@@ -2613,7 +2696,7 @@
+ 		  hardcode_libdirs="$libdir"
+ 		else
+ 		  # Just accumulate the unique libdirs.
+-		  case "$hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator" in
++		  case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
+ 		  *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
+ 		    ;;
+ 		  *)
+@@ -2666,6 +2749,7 @@
+ 	else
+ 	  soname="$realname"
+ 	fi
++	test -z "$dlname" && dlname=$soname
+ 
+ 	lib="$output_objdir/$realname"
+ 	for link
+@@ -2737,7 +2821,7 @@
+ 
+ 	    for xlib in $convenience; do
+ 	      # Extract the objects.
+-	      case "$xlib" in
++	      case $xlib in
+ 	      [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;;
+ 	      *) xabs=`pwd`"/$xlib" ;;
+ 	      esac
+@@ -2766,7 +2850,7 @@
+ 	fi
+ 
+ 	# Make a backup of the uninstalled library when relinking
+-	if test "$mode" = relink && test "$hardcode_into_libs" = all; then
++	if test "$mode" = relink; then
+ 	  $run eval '(cd $output_objdir && $rm ${realname}U && $mv $realname ${realname}U)' || exit $?
+ 	fi
+ 
+@@ -2785,7 +2869,7 @@
+ 	IFS="$save_ifs"
+ 
+ 	# Restore the uninstalled library and exit
+-	if test "$mode" = relink && test "$hardcode_into_libs" = all; then
++	if test "$mode" = relink; then
+ 	  $run eval '(cd $output_objdir && $rm ${realname}T && $mv $realname ${realname}T && $mv "$realname"U $realname)' || exit $?
+ 	  exit 0
+ 	fi
+@@ -2831,7 +2915,7 @@
+ 	$echo "$modename: warning: \`-release' is ignored for objects" 1>&2
+       fi
+ 
+-      case "$output" in
++      case $output in
+       *.lo)
+ 	if test -n "$objs$old_deplibs"; then
+ 	  $echo "$modename: cannot build library object \`$output' from non-libtool objects" 1>&2
+@@ -2876,7 +2960,7 @@
+ 
+ 	  for xlib in $convenience; do
+ 	    # Extract the objects.
+-	    case "$xlib" in
++	    case $xlib in
+ 	    [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;;
+ 	    *) xabs=`pwd`"/$xlib" ;;
+ 	    esac
+@@ -2972,6 +3056,9 @@
+       ;;
+ 
+     prog)
++      case $host in
++	*cygwin*) output=`echo $output | sed -e 's,.exe$,,;s,$,.exe,'` ;;
++      esac
+       if test -n "$vinfo"; then
+ 	$echo "$modename: warning: \`-version-info' is ignored for programs" 1>&2
+       fi
+@@ -2987,6 +3074,14 @@
+ 	fi
+       fi
+ 
++      case $host in
++      *-*-rhapsody* | *-*-darwin1.[012])
++	# On Rhapsody replace the C library is the System framework
++	compile_deplibs=`$echo "X $compile_deplibs" | $Xsed -e 's/ -lc / -framework System /'`
++	finalize_deplibs=`$echo "X $finalize_deplibs" | $Xsed -e 's/ -lc / -framework System /'`
++	;;
++      esac
++
+       compile_command="$compile_command $compile_deplibs"
+       finalize_command="$finalize_command $finalize_deplibs"
+ 
+@@ -3011,7 +3106,7 @@
+ 	      hardcode_libdirs="$libdir"
+ 	    else
+ 	      # Just accumulate the unique libdirs.
+-	      case "$hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator" in
++	      case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
+ 	      *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
+ 		;;
+ 	      *)
+@@ -3029,9 +3124,9 @@
+ 	  *) perm_rpath="$perm_rpath $libdir" ;;
+ 	  esac
+ 	fi
+-	case "$host" in
+-	*-*-cygwin* | *-*-mingw* | *-*-os2*)
+-	  case ":$dllsearchpath:" in
++	case $host in
++	*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
++	  case :$dllsearchpath: in
+ 	  *":$libdir:"*) ;;
+ 	  *) dllsearchpath="$dllsearchpath:$libdir";;
+ 	  esac
+@@ -3055,7 +3150,7 @@
+ 	      hardcode_libdirs="$libdir"
+ 	    else
+ 	      # Just accumulate the unique libdirs.
+-	      case "$hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator" in
++	      case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
+ 	      *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
+ 		;;
+ 	      *)
+@@ -3098,7 +3193,7 @@
+       fi
+ 
+       if test -n "$dlsyms"; then
+-	case "$dlsyms" in
++	case $dlsyms in
+ 	"") ;;
+ 	*.c)
+ 	  # Discover the nlist of each of the dlfiles.
+@@ -3229,7 +3324,7 @@
+ 	  fi
+ 
+ 	  pic_flag_for_symtable=
+-	  case "$host" in
++	  case $host in
+ 	  # compiling the symbol table file with pic_flag works around
+ 	  # a FreeBSD bug that causes programs to crash when -lm is
+ 	  # linked before any other PIC object.  But we must not use
+@@ -3297,7 +3392,7 @@
+ 	# We should set the shlibpath_var
+ 	rpath=
+ 	for dir in $temp_rpath; do
+-	  case "$dir" in
++	  case $dir in
+ 	  [\\/]* | [A-Za-z]:[\\/]*)
+ 	    # Absolute path.
+ 	    rpath="$rpath$dir:"
+@@ -3352,7 +3447,7 @@
+ 	exit 0
+       fi
+ 
+-      if test "$hardcode_action" = relink || test "$hardcode_into_libs" = all; then
++      if test "$hardcode_action" = relink; then
+ 	# Fast installation is not supported
+ 	link_command="$compile_var$compile_command$compile_rpath"
+ 	relink_command="$finalize_var$finalize_command$finalize_rpath"
+@@ -3390,9 +3485,14 @@
+       if test -n "$relink_command"; then
+ 	# Preserve any variables that may affect compiler behavior
+ 	for var in $variables_saved_for_relink; do
+-	  eval var_value=\$$var
+-	  var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"`
+-	  relink_command="$var=\"$var_value\"; export $var; $relink_command"
++	  if eval test -z \"\${$var+set}\"; then
++	    relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command"
++	  elif eval var_value=\$$var; test -z "$var_value"; then
++	    relink_command="$var=; export $var; $relink_command"
++	  else
++	    var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"`
++	    relink_command="$var=\"$var_value\"; export $var; $relink_command"
++	  fi
+ 	done
+ 	relink_command="cd `pwd`; $relink_command"
+ 	relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"`
+@@ -3400,7 +3500,7 @@
+ 
+       # Quote $echo for shipping.
+       if test "X$echo" = "X$SHELL $0 --fallback-echo"; then
+-	case "$0" in
++	case $0 in
+ 	[\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $0 --fallback-echo";;
+ 	*) qecho="$SHELL `pwd`/$0 --fallback-echo";;
+ 	esac
+@@ -3416,6 +3516,11 @@
+ 	case $output in
+ 	  *.exe) output=`echo $output|sed 's,.exe$,,'` ;;
+ 	esac
++	# test for cygwin because mv fails w/o .exe extensions
++	case $host in
++	  *cygwin*) exeext=.exe ;;
++	  *) exeext= ;;
++	esac
+ 	$rm $output
+ 	trap "$rm $output; exit 1" 1 2 15
+ 
+@@ -3445,7 +3550,7 @@
+ # This environment variable determines our operation mode.
+ if test \"\$libtool_install_magic\" = \"$magic\"; then
+   # install mode needs the following variable:
+-  uninst_deplibs='$uninst_deplibs'
++  notinst_deplibs='$notinst_deplibs'
+ else
+   # When we are sourced in execute mode, \$file and \$echo are already set.
+   if test \"\$libtool_execute_magic\" != \"$magic\"; then
+@@ -3494,7 +3599,7 @@
+ 
+ 	if test "$fast_install" = yes; then
+ 	  echo >> $output "\
+-  program=lt-'$outputname'
++  program=lt-'$outputname'$exeext
+   progdir=\"\$thisdir/$objdir\"
+ 
+   if test ! -f \"\$progdir/\$program\" || \\
+@@ -3565,7 +3670,7 @@
+ 	case $host in
+ 	# win32 systems need to use the prog path for dll
+ 	# lookup to work
+-	*-*-cygwin*)
++	*-*-cygwin* | *-*-pw32*)
+ 	  $echo >> $output "\
+       exec \$progdir/\$program \${1+\"\$@\"}
+ "
+@@ -3639,7 +3744,7 @@
+ 	# Add in members from convenience archives.
+ 	for xlib in $addlibs; do
+ 	  # Extract the objects.
+-	  case "$xlib" in
++	  case $xlib in
+ 	  [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;;
+ 	  *) xabs=`pwd`"/$xlib" ;;
+ 	  esac
+@@ -3700,7 +3805,7 @@
+     fi
+ 
+     # Now create the libtool archive.
+-    case "$output" in
++    case $output in
+     *.la)
+       old_library=
+       test "$build_old_libs" = yes && old_library="$libname.$libext"
+@@ -3708,9 +3813,14 @@
+ 
+       # Preserve any variables that may affect compiler behavior
+       for var in $variables_saved_for_relink; do
+-	eval var_value=\$$var
+-	var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"`
+-	relink_command="$var=\"$var_value\"; export $var; $relink_command"
++	if eval test -z \"\${$var+set}\"; then
++	  relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command"
++	elif eval var_value=\$$var; test -z "$var_value"; then
++	  relink_command="$var=; export $var; $relink_command"
++	else
++	  var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"`
++	  relink_command="$var=\"$var_value\"; export $var; $relink_command"
++	fi
+       done
+       # Quote the link command for shipping.
+       relink_command="cd `pwd`; $SHELL $0 --mode=relink $libtool_args"
+@@ -3727,7 +3837,7 @@
+ 	    # Replace all uninstalled libtool libraries with the installed ones
+ 	    newdependency_libs=
+ 	    for deplib in $dependency_libs; do
+-	      case "$deplib" in
++	      case $deplib in
+ 	      *.la)
+ 		name=`$echo "X$deplib" | $Xsed -e 's%^.*/%%'`
+ 		eval libdir=`sed -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
+@@ -3765,6 +3875,11 @@
+ 	    dlprefiles="$newdlprefiles"
+ 	  fi
+ 	  $rm $output
++	  # place dlname in correct position for cygwin
++	  tdlname=$dlname
++	  case $host,$output,$installed,$module,$dlname in
++	    *cygwin*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;;
++	  esac
+ 	  $echo > $output "\
+ # $outputname - a libtool library file
+ # Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
+@@ -3773,7 +3888,7 @@
+ # It is necessary for linking the library.
+ 
+ # The name that we can dlopen(3).
+-dlname='$dlname'
++dlname='$tdlname'
+ 
+ # Names of this library.
+ library_names='$library_names'
+@@ -3798,8 +3913,7 @@
+ 
+ # Directory that this library needs to be installed in:
+ libdir='$install_libdir'"
+-	  if test $hardcode_into_libs = all &&
+-	     test "$installed" = no && test $need_relink = yes; then
++	  if test "$installed" = no && test $need_relink = yes; then
+ 	    $echo >> $output "\
+ relink_command=\"$relink_command\""
+ 	  fi
+@@ -3821,10 +3935,12 @@
+ 
+     # There may be an optional sh(1) argument at the beginning of
+     # install_prog (especially on Windows NT).
+-    if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh; then
++    if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh ||
++       # Allow the use of GNU shtool's install command.
++       $echo "X$nonopt" | $Xsed | grep shtool > /dev/null; then
+       # Aesthetically quote it.
+       arg=`$echo "X$nonopt" | $Xsed -e "$sed_quote_subst"`
+-      case "$arg" in
++      case $arg in
+       *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \	]*|*]*)
+ 	arg="\"$arg\""
+ 	;;
+@@ -3840,7 +3956,7 @@
+     # The real first argument should be the name of the installation program.
+     # Aesthetically quote it.
+     arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
+-    case "$arg" in
++    case $arg in
+     *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \	]*|*]*)
+       arg="\"$arg\""
+       ;;
+@@ -3863,7 +3979,7 @@
+ 	continue
+       fi
+ 
+-      case "$arg" in
++      case $arg in
+       -d) isdir=yes ;;
+       -f) prev="-f" ;;
+       -g) prev="-g" ;;
+@@ -3888,7 +4004,7 @@
+ 
+       # Aesthetically quote the argument.
+       arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
+-      case "$arg" in
++      case $arg in
+       *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \	]*|*]*)
+ 	arg="\"$arg\""
+ 	;;
+@@ -3939,11 +4055,11 @@
+ 	exit 1
+       fi
+     fi
+-    case "$destdir" in
++    case $destdir in
+     [\\/]* | [A-Za-z]:[\\/]*) ;;
+     *)
+       for file in $files; do
+-	case "$file" in
++	case $file in
+ 	*.lo) ;;
+ 	*)
+ 	  $echo "$modename: \`$destdir' must be an absolute directory name" 1>&2
+@@ -3965,7 +4081,7 @@
+     for file in $files; do
+ 
+       # Do each installation.
+-      case "$file" in
++      case $file in
+       *.$libext)
+ 	# Do the static libraries later.
+ 	staticlibs="$staticlibs $file"
+@@ -3984,7 +4100,7 @@
+ 	old_library=
+ 	relink_command=
+ 	# If there is no directory component, then add one.
+-	case "$file" in
++	case $file in
+ 	*/* | *\\*) . $file ;;
+ 	*) . ./$file ;;
+ 	esac
+@@ -4007,7 +4123,7 @@
+ 	test "X$dir" = "X$file/" && dir=
+ 	dir="$dir$objdir"
+ 
+-	if test "$hardcode_into_libs" = all && test -n "$relink_command"; then
++	if test -n "$relink_command"; then
+ 	  $echo "$modename: warning: relinking \`$file'" 1>&2
+ 	  $show "$relink_command"
+ 	  if $run eval "$relink_command"; then :
+@@ -4025,7 +4141,7 @@
+ 	  shift
+ 
+ 	  srcname="$realname"
+-	  test "$hardcode_into_libs" = all && test -n "$relink_command" && srcname="$realname"T
++	  test -n "$relink_command" && srcname="$realname"T
+ 
+ 	  # Install the shared library and build the symlinks.
+ 	  $show "$install_prog $dir/$srcname $destdir/$realname"
+@@ -4080,7 +4196,7 @@
+ 	fi
+ 
+ 	# Deduce the name of the destination old-style object file.
+-	case "$destfile" in
++	case $destfile in
+ 	*.lo)
+ 	  staticdest=`$echo "X$destfile" | $Xsed -e "$lo2o"`
+ 	  ;;
+@@ -4123,28 +4239,28 @@
+ 
+ 	# Do a test to see if this is really a libtool program.
+ 	if (sed -e '4q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
+-	  uninst_deplibs=
++	  notinst_deplibs=
+ 	  relink_command=
+ 
+ 	  # If there is no directory component, then add one.
+-	  case "$file" in
++	  case $file in
+ 	  */* | *\\*) . $file ;;
+ 	  *) . ./$file ;;
+ 	  esac
+ 
+ 	  # Check the variables that should have been set.
+-	  if test -z "$uninst_deplibs"; then
++	  if test -z "$notinst_deplibs"; then
+ 	    $echo "$modename: invalid libtool wrapper script \`$file'" 1>&2
+ 	    exit 1
+ 	  fi
+ 
+ 	  finalize=yes
+-	  for lib in $uninst_deplibs; do
++	  for lib in $notinst_deplibs; do
+ 	    # Check to see that each library is installed.
+ 	    libdir=
+ 	    if test -f "$lib"; then
+ 	      # If there is no directory component, then add one.
+-	      case "$lib" in
++	      case $lib in
+ 	      */* | *\\*) . $lib ;;
+ 	      *) . ./$lib ;;
+ 	      esac
+@@ -4158,7 +4274,7 @@
+ 
+ 	  relink_command=
+ 	  # If there is no directory component, then add one.
+-	  case "$file" in
++	  case $file in
+ 	  */* | *\\*) . $file ;;
+ 	  *) . ./$file ;;
+ 	  esac
+@@ -4196,6 +4312,23 @@
+ 	  fi
+ 	fi
+ 
++	# remove .exe since cygwin /usr/bin/install will append another
++	# one anyways
++	case $install_prog,$host in
++	/usr/bin/install*,*cygwin*)
++	  case $file:$destfile in
++	  *.exe:*.exe)
++	    # this is ok
++	    ;;
++	  *.exe:*)
++	    destfile=$destfile.exe
++	    ;;
++	  *:*.exe)
++	    destfile=`echo $destfile | sed -e 's,.exe$,,'`
++	    ;;
++	  esac
++	  ;;
++	esac
+ 	$show "$install_prog$stripme $file $destfile"
+ 	$run eval "$install_prog\$stripme \$file \$destfile" || exit $?
+ 	test -n "$outputname" && ${rm}r "$tmpdir"
+@@ -4277,7 +4410,7 @@
+     fi
+ 
+     # Exit here if they wanted silent mode.
+-    test "$show" = : && exit 0
++    test "$show" = ":" && exit 0
+ 
+     echo "----------------------------------------------------------------------"
+     echo "Libraries have been installed in:"
+@@ -4287,7 +4420,7 @@
+     echo
+     echo "If you ever happen to want to link against installed libraries"
+     echo "in a given directory, LIBDIR, you must either use libtool, and"
+-    echo "specify the full pathname of the library, or use \`-LLIBDIR'"
++    echo "specify the full pathname of the library, or use the \`-LLIBDIR'"
+     echo "flag during linking and do at least one of the following:"
+     if test -n "$shlibpath_var"; then
+       echo "   - add LIBDIR to the \`$shlibpath_var' environment variable"
+@@ -4337,7 +4470,7 @@
+       fi
+ 
+       dir=
+-      case "$file" in
++      case $file in
+       *.la)
+ 	# Check to see that this really is a libtool archive.
+ 	if (sed -e '2q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
+@@ -4352,7 +4485,7 @@
+ 	library_names=
+ 
+ 	# If there is no directory component, then add one.
+-	case "$file" in
++	case $file in
+ 	*/* | *\\*) . $file ;;
+ 	*) . ./$file ;;
+ 	esac
+@@ -4407,13 +4540,13 @@
+     args=
+     for file
+     do
+-      case "$file" in
++      case $file in
+       -*) ;;
+       *)
+ 	# Do a test to see if this is really a libtool program.
+ 	if (sed -e '4q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
+ 	  # If there is no directory component, then add one.
+-	  case "$file" in
++	  case $file in
+ 	  */* | *\\*) . $file ;;
+ 	  *) . ./$file ;;
+ 	  esac
+@@ -4463,6 +4596,8 @@
+     modename="$modename: $mode"
+     rm="$nonopt"
+     files=
++    rmforce=
++    exit_status=0
+ 
+     # This variable tells wrapper scripts just to set variables rather
+     # than running their programs.
+@@ -4470,7 +4605,8 @@
+ 
+     for arg
+     do
+-      case "$arg" in
++      case $arg in
++      -f) rm="$rm $arg"; rmforce=yes ;;
+       -*) rm="$rm $arg" ;;
+       *) files="$files $arg" ;;
+       esac
+@@ -4482,6 +4618,8 @@
+       exit 1
+     fi
+ 
++    rmdirs=
++
+     for file in $files; do
+       dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`
+       if test "X$dir" = "X$file"; then
+@@ -4493,9 +4631,29 @@
+       name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
+       test $mode = uninstall && objdir="$dir"
+ 
++      # Remember objdir for removal later, being careful to avoid duplicates
++      if test $mode = clean; then
++	case " $rmdirs " in
++	  *" $objdir "*) ;;
++	  *) rmdirs="$rmdirs $objdir" ;;
++	esac
++      fi
++
++      # Don't error if the file doesn't exist and rm -f was used.
++      if (test -L "$file") >/dev/null 2>&1 \
++        || (test -h "$file") >/dev/null 2>&1 \
++	|| test -f "$file"; then
++        :
++      elif test -d "$file"; then
++        exit_status=1
++	continue
++      elif test "$rmforce" = yes; then
++        continue
++      fi
++
+       rmfiles="$file"
+ 
+-      case "$name" in
++      case $name in
+       *.la)
+ 	# Possibly a libtool archive, so verify it.
+ 	if (sed -e '2q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
+@@ -4517,6 +4675,9 @@
+ 		IFS="$save_ifs"
+ 		$show "$cmd"
+ 		$run eval "$cmd"
++		if test $? != 0 && test "$rmforce" != yes; then
++		  exit_status=1
++		fi
+ 	      done
+ 	      IFS="$save_ifs"
+ 	    fi
+@@ -4529,6 +4690,9 @@
+ 		IFS="$save_ifs"
+ 		$show "$cmd"
+ 		$run eval "$cmd"
++		if test $? != 0 && test "$rmforce" != yes; then
++		  exit_status=1
++		fi
+ 	      done
+ 	      IFS="$save_ifs"
+ 	    fi
+@@ -4559,9 +4723,18 @@
+ 	;;
+       esac
+       $show "$rm $rmfiles"
+-      $run $rm $rmfiles
++      $run $rm $rmfiles || exit_status=1
+     done
+-    exit 0
++
++    # Try to remove the ${objdir}s in the directories where we deleted files
++    for dir in $rmdirs; do
++      if test -d "$dir"; then
++	$show "rmdir $dir"
++	$run rmdir $dir >/dev/null 2>&1
++      fi
++    done
++
++    exit $exit_status
+     ;;
+ 
+   "")
+@@ -4577,7 +4750,7 @@
+ fi # test -z "$show_help"
+ 
+ # We need to display help for each of the modes.
+-case "$mode" in
++case $mode in
+ "") $echo \
+ "Usage: $modename [OPTION]... [MODE-ARG]...
+ 
+@@ -4632,6 +4805,8 @@
+ This mode accepts the following additional options:
+ 
+   -o OUTPUT-FILE    set the output file name to OUTPUT-FILE
++  -prefer-pic       try to building PIC objects only
++  -prefer-non-pic   try to building non-PIC objects only
+   -static           always build a \`.o' file suitable for static linking
+ 
+ COMPILE-COMMAND is a command to be used in creating a \`standard' object file
+diff -ruN heimdal-0.3f-old/tools/Makefile.in heimdal-0.3f/tools/Makefile.in
+--- heimdal-0.3f-old/tools/Makefile.in	Sat Jun  9 08:25:12 2001
++++ heimdal-0.3f/tools/Makefile.in	Tue Jun 19 18:17:50 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,14 +69,17 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
++ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+@@ -93,6 +96,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -133,7 +137,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -176,14 +180,20 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -220,7 +230,7 @@
+ GZIP_ENV = --best
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
++.SUFFIXES: .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .et .h .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign tools/Makefile
+ 
--- heimdal-0.6.3.orig/debian/patches-0.3f/031_autotools
+++ heimdal-0.6.3/debian/patches-0.3f/031_autotools
@@ -0,0 +1,9 @@
+--- heimdal-0.3f/ltmain.sh.orig	Fri May 11 05:34:59 2001
++++ heimdal-0.3f/ltmain.sh	Thu May 31 02:14:09 2001
+@@ -1862,6 +1862,7 @@
+ 	    else
+ 	      # We cannot seem to hardcode it, guess we'll fake it.
+ 	      add_dir="-L$libdir"
++	      test -d $ladir/.libs && add_dir="$add_dir -L$ladir/.libs"
+ 	      add="-l$name"
+ 	    fi
--- heimdal-0.6.3.orig/debian/patches-0.4c/011_sharedlibs
+++ heimdal-0.6.3/debian/patches-0.4c/011_sharedlibs
@@ -0,0 +1,128 @@
+diff -ruN heimdal-0.4c-old/cf/Makefile.am.common heimdal-0.4c/cf/Makefile.am.common
+--- heimdal-0.4c-old/cf/Makefile.am.common	Sun Jun 24 07:38:19 2001
++++ heimdal-0.4c/cf/Makefile.am.common	Sun Jul 29 14:02:43 2001
+@@ -170,8 +170,7 @@
+ endif
+ 
+ if KRB5
+-LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
+-	$(top_builddir)/lib/asn1/libasn1.la
++LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
+ LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ endif
+ 
+diff -ruN heimdal-0.4c-old/configure.in heimdal-0.4c/configure.in
+--- heimdal-0.4c-old/configure.in	Fri Jul 20 05:42:18 2001
++++ heimdal-0.4c/configure.in	Sun Jul 29 14:02:43 2001
+@@ -86,7 +86,10 @@
+ 	LIB_openldap="-R $openldap_libdir $LIB_openldap"
+ fi
+ 
+-AC_TEST_PACKAGE_NEW(krb4,[#include <krb.h>],-lkrb,-ldes,/usr/athena, KRB4)
++AC_TEST_PACKAGE_NEW(krb4,[#include <krb.h>],-lkrb,-ldes,,KRB4)
++if test "$krb4_libdir" = "/usr/lib"; then
++  krb4_libdir="";
++fi
+ 
+ LIB_kdb=
+ if test "$with_krb4" != "no"; then
+@@ -157,7 +160,7 @@
+ 	CFLAGS="$save_CFLAGS"
+ 	LIB_kdb="-lkdb -lkrb"
+ 	test_LIB_krb4="$LIB_krb4"
+-	if test "$krb4_libdir"; then
++	if test "$krb4_libdir" != ""; then
+ 		LIB_krb4="-R $krb4_libdir $LIB_krb4"
+ 		LIB_kdb="-R $krb4_libdir -L$krb4_libdir $LIB_kdb"
+ 	fi
+diff -ruN heimdal-0.4c-old/lib/asn1/Makefile.am heimdal-0.4c/lib/asn1/Makefile.am
+--- heimdal-0.4c-old/lib/asn1/Makefile.am	Thu Jul 12 08:12:20 2001
++++ heimdal-0.4c/lib/asn1/Makefile.am	Sun Jul 29 14:02:43 2001
+@@ -6,6 +6,8 @@
+ 
+ lib_LTLIBRARIES = libasn1.la
+ libasn1_la_LDFLAGS = -version-info 5:0:0
++libasn1_la_LIBADD = \
++	$(top_builddir)/lib/com_err/libcom_err.la
+ 
+ libasn1_la_LIBADD = ../com_err/libcom_err.la
+ 
+diff -ruN heimdal-0.4c-old/lib/editline/Makefile.am heimdal-0.4c/lib/editline/Makefile.am
+--- heimdal-0.4c-old/lib/editline/Makefile.am	Wed Nov 15 10:22:29 2000
++++ heimdal-0.4c/lib/editline/Makefile.am	Sun Jul 29 14:02:43 2001
+@@ -38,13 +38,13 @@
+ 	unix.h \
+ 	$(EXTRA_SOURCE)
+ 
+-libeditline_la_LDFLAGS = -static
++libeditline_la_LDFLAGS = -no-undefined
+ 
+ EXTRA_SOURCE = $(ES) 
+ 
+ libel_compat_la_SOURCES = edit_compat.c
+ 
+-libel_compat_la_LDFLAGS = -static
++libel_compat_la_LDFLAGS = -no-undefined
+ 
+ EXTRA_DIST = $(man_MANS)
+ 
+diff -ruN heimdal-0.4c-old/lib/krb5/Makefile.am heimdal-0.4c/lib/krb5/Makefile.am
+--- heimdal-0.4c-old/lib/krb5/Makefile.am	Fri Jul 20 03:28:35 2001
++++ heimdal-0.4c/lib/krb5/Makefile.am	Sun Jul 29 14:02:44 2001
+@@ -11,16 +11,15 @@
+ check_PROGRAMS = n-fold-test string-to-key-test derived-key-test store-test
+ TESTS = n-fold-test string-to-key-test derived-key-test store-test 
+ 
+-LDADD = libkrb5.la \
+-	$(LIB_des) \
+-	$(top_builddir)/lib/asn1/libasn1.la \
+-	$(LIB_roken)
++LDADD = libkrb5.la
+ 
+ libkrb5_la_LIBADD = \
+-	../com_err/error.lo ../com_err/com_err.lo \
++	$(LIB_res_search) \
++	$(top_builddir)/lib/com_err/libcom_err.la \
+ 	$(LIB_des) \
+ 	$(top_builddir)/lib/asn1/libasn1.la \
+-	$(LIB_roken)
++	$(LIB_roken) \
++	$(LIB_dbopen)
+ 
+ lib_LTLIBRARIES = libkrb5.la
+ 
+diff -ruN heimdal-0.4c-old/lib/vers/Makefile.am heimdal-0.4c/lib/vers/Makefile.am
+--- heimdal-0.4c-old/lib/vers/Makefile.am	Wed Jan 31 14:50:48 2001
++++ heimdal-0.4c/lib/vers/Makefile.am	Sun Jul 29 14:02:44 2001
+@@ -19,6 +19,7 @@
+ endif
+ 
+ libvers_la_SOURCES	= print_version.c
++libvers_la_LDFLAGS	= -no-undefined
+ 
+ print_version.lo: print_version.h
+ 
+diff -ruN heimdal-0.4c-old/tools/krb5-config.in heimdal-0.4c/tools/krb5-config.in
+--- heimdal-0.4c-old/tools/krb5-config.in	Mon Jan 29 17:56:51 2001
++++ heimdal-0.4c/tools/krb5-config.in	Sun Jul 29 14:02:44 2001
+@@ -89,6 +89,9 @@
+ if test "$do_libs" = "yes"; then
+     lib_flags="-L${libdir}"
+     case $library in
++    krb5)
++	lib_flags="$lib_flags -lkrb5"
++	;;
+     gssapi)
+ 	lib_flags="$lib_flags -lgssapi"
+ 	;;
+@@ -99,8 +102,8 @@
+ 	lib_flags="$lib_flags -lkadm5srv"
+ 	;;
+     esac
+-    lib_flags="$lib_flags -lkrb5 -lasn1 @LIB_des_appl@ -lroken"
+-    lib_flags="$lib_flags @LIB_crypt@ @LIB_dbopen@ @LIBS@"
++#    lib_flags="$lib_flags -lkrb5 -lasn1 @LIB_des_appl@ -lroken"
++#    lib_flags="$lib_flags @LIB_crypt@ @LIB_dbopen@ @LIBS@"
+     echo $lib_flags
+ fi
+ if test "$do_cflags" = "yes"; then
--- heimdal-0.6.3.orig/debian/patches-0.4c/001_devfs
+++ heimdal-0.6.3/debian/patches-0.4c/001_devfs
@@ -0,0 +1,53 @@
+From nobody Mon Aug  6 14:18:52 2001
+Return-Path: <assar@assaris.sics.se>
+Delivered-To: bam@snoopy.apana.org.au
+Received: from assaris.sics.se (h122n4fls32o892.telia.com [213.64.47.122])
+	by snoopy.apana.org.au (Postfix) with ESMTP id 9BAA5446F
+	for <bam@snoopy.apana.org.au>; Mon,  6 Aug 2001 13:37:11 +1000 (EST)
+Received: (from assar@localhost)
+	by assaris.sics.se (8.9.3/8.9.3) id FAA72531;
+	Mon, 6 Aug 2001 05:36:58 +0200 (CEST)
+	(envelope-from assar)
+Sender: assar@assaris.sics.se
+To: Brian May <bam@snoopy.apana.org.au>
+Cc: heimdal-discuss@sics.se
+Subject: Re: telnetd broken on Linux
+References: <84n15o2nfn.fsf@scrooge.chocbit.org.au> <5ln15mf0xy.fsf@assaris.sics.se> <84k80qez0c.fsf@scrooge.chocbit.org.au>
+From: Assar Westerlund <assar@sics.se>
+Date: 06 Aug 2001 05:36:57 +0200
+In-Reply-To: Brian May's message of "31 Jul 2001 10:13:55 +1000"
+Message-ID: <5lk80hluzq.fsf@assaris.sics.se>
+Lines: 28
+User-Agent: Gnus/5.070098 (Pterodactyl Gnus v0.98) Emacs/20.6
+MIME-Version: 1.0
+Content-Type: text/plain; charset=us-ascii
+
+Brian May <bam@snoopy.apana.org.au> writes:
+> Linux 2.4.x (currently 2.4.7).
+> 
+> devfs mounted on boot.
+
+Right, this is due to telnetd not being able to handle the (sane) mix
+between bsd ptys and streams ptys that is.  Can you test this simple
+patch and tell us if it works?  You might have to link telnetd with
+-lutil.
+
+/assar
+
+Index: sys_term.c
+===================================================================
+RCS file: /afs/pdc.kth.se/src/packages/kth-krb/SourceRepository/appl/telnet/telnetd/sys_term.c,v
+retrieving revision 1.100
+diff -u -w -u -w -r1.100 sys_term.c
+--- heimdal-0.4c/appl/telnet/telnetd/sys_term.c	2001/04/24 23:11:43	1.100
++++ heimdal-0.4c/appl/telnet/telnetd/sys_term.c	2001/08/06 03:36:49
+@@ -398,7 +398,7 @@
+ #if SunOS == 40
+     int dummy;
+ #endif
+-#if 0 /* && defined(HAVE_OPENPTY) */
++#if __linux
+     int master;
+     int slave;
+     if(openpty(&master, &slave, line, 0, 0) == 0){
+
--- heimdal-0.6.3.orig/debian/patches-0.4c/012_sharedlibs
+++ heimdal-0.6.3/debian/patches-0.4c/012_sharedlibs
@@ -0,0 +1,343 @@
+diff -ruN heimdal-0.4c-old/admin/Makefile.am heimdal-0.4c/admin/Makefile.am
+--- heimdal-0.4c-old/admin/Makefile.am	Sat Dec 16 11:16:45 2000
++++ heimdal-0.4c/admin/Makefile.am	Sat Jun 16 14:21:55 2001
+@@ -2,7 +2,7 @@
+ 
+ include $(top_srcdir)/Makefile.am.common
+ 
+-INCLUDES += $(INCLUDE_readline)
++INCLUDES += $(INCLUDE_readline) $(INCLUDE_ss)
+ 
+ man_MANS = ktutil.8
+ 
+@@ -22,6 +22,6 @@
+ 	$(top_builddir)/lib/krb5/libkrb5.la \
+ 	$(LIB_des) \
+ 	$(top_builddir)/lib/asn1/libasn1.la \
+-	$(top_builddir)/lib/sl/libsl.la \
++	$(LIB_ss) \
+ 	$(LIB_readline) \
+ 	$(LIB_roken)
+diff -ruN heimdal-0.4c-old/admin/ktutil_locl.h heimdal-0.4c/admin/ktutil_locl.h
+--- heimdal-0.4c-old/admin/ktutil_locl.h	Sat Jun 16 14:21:54 2001
++++ heimdal-0.4c/admin/ktutil_locl.h	Sat Jun 16 14:21:55 2001
+@@ -64,7 +64,7 @@
+ #include <kadm5/admin.h>
+ #include <kadm5/kadm5_err.h>
+ 
+-#include <sl.h>
++#include <ss.h>
+ #include <getarg.h>
+ 
+ extern krb5_context context;
+diff -ruN heimdal-0.4c-old/cf/Makefile.am.common heimdal-0.4c/cf/Makefile.am.common
+--- heimdal-0.4c-old/cf/Makefile.am.common	Sat Jun 16 14:21:54 2001
++++ heimdal-0.4c/cf/Makefile.am.common	Sat Jun 16 14:21:55 2001
+@@ -10,7 +10,7 @@
+ 
+ CP	= cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ ## set build_HEADERZ to headers that should just be installed in build tree
+ 
+@@ -56,6 +56,13 @@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
++
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
+ 
+ LEXLIB = @LEXLIB@
+ 
+diff -ruN heimdal-0.4c-old/cf/krb-com_err.m4 heimdal-0.4c/cf/krb-com_err.m4
+--- heimdal-0.4c-old/cf/krb-com_err.m4	Thu Jan  1 10:00:00 1970
++++ heimdal-0.4c/cf/krb-com_err.m4	Sat Jun 16 14:21:55 2001
+@@ -0,0 +1,35 @@
++dnl
++dnl Tests for readline functions
++dnl
++
++dnl el_init
++
++AC_DEFUN(KRB_COM_ERR,[
++dnl com_err
++
++ac_foo=no
++if test "$with_com_err" = yes; then
++	COMPILE_ET='compile_et'
++#elif test "$ac_cv_func_com_err" = yes; then
++#	COMPILE_ET='compile_et'
++else
++	COMPILE_ET='$(top_builddir)/lib/com_err/compile_et'
++	DIR_com_err="com_err"
++	LIB_com_err='$(top_builddir)/lib/com_err/libcom_err.la'
++fi
++
++if true; then
++#	!FIXME! why doesn't built in version of com_err work?
++	COMPILE_ET='$(top_builddir)/lib/com_err/compile_et'
++	DIR_com_err="com_err"
++	LIB_com_err='$(top_builddir)/lib/com_err/libcom_err.la'
++fi
++
++#if test "$com_err_libdir"; then
++#	LIB_com_err="-rpath $com_err_libdir $LIB_com_err"
++#fi
++AC_DEFINE(HAVE_COM_ERR, 1, 
++	[Define if you have a com_err compatible library.])dnl
++
++])
++AC_SUBST(COMPILE_ET)
+diff -ruN heimdal-0.4c-old/cf/krb-readline.m4 heimdal-0.4c/cf/krb-readline.m4
+--- heimdal-0.4c-old/cf/krb-readline.m4	Wed Nov 15 11:47:08 2000
++++ heimdal-0.4c/cf/krb-readline.m4	Sat Jun 16 14:21:55 2001
+@@ -28,16 +28,18 @@
+ 	:
+ elif test "$ac_cv_func_el_init" = yes; then
+ 	ac_foo=yes
++	DIR_readline="editline"
+ 	LIB_readline="\$(top_builddir)/lib/editline/libel_compat.la $LIB_el_init"
+ else
++	DIR_readline="editline"
+ 	LIB_readline='$(top_builddir)/lib/editline/libeditline.la'
+ fi
+ AM_CONDITIONAL(el_compat, test "$ac_foo" = yes)
+-if test "$readline_libdir"; then
+-	LIB_readline="-rpath $readline_libdir $LIB_readline"
+-fi
++#if test "$readline_libdir"; then
++#	LIB_readline="-rpath $readline_libdir $LIB_readline"
++#fi
+ LIB_readline="$LIB_readline \$(LIB_tgetent)"
+ AC_DEFINE(HAVE_READLINE, 1, 
+ 	[Define if you have a readline compatible library.])dnl
+ 
+-])
+\ No newline at end of file
++])
+diff -ruN heimdal-0.4c-old/cf/krb-ss.m4 heimdal-0.4c/cf/krb-ss.m4
+--- heimdal-0.4c-old/cf/krb-ss.m4	Thu Jan  1 10:00:00 1970
++++ heimdal-0.4c/cf/krb-ss.m4	Sat Jun 16 14:23:47 2001
+@@ -0,0 +1,37 @@
++dnl
++dnl Tests for readline functions
++dnl
++
++dnl el_init
++
++AC_DEFUN(KRB_SS,[
++dnl com_err
++
++ac_foo=no
++if test "$with_ss" = yes; then
++	LIB_sl="$LIB_ss"
++else
++	DIR_ss="sl"
++	LIB_sl='$(top_builddir)/lib/sl/libsl.la'
++	LIB_ss='$(top_builddir)/lib/sl/libss.la'
++	INCLUDE_ss='-I$(top_builddir)/include/sl'
++fi
++
++
++#if test "$ss_libdir"; then
++#	LIB_ss="-rpath $sl_libdir $LIB_ss"
++#fi
++
++if true; then
++#	!FIXME! why doesn't built in version of ss work?
++	DIR_ss="sl"
++	LIB_sl='$(top_builddir)/lib/sl/libsl.la'
++	LIB_ss='$(top_builddir)/lib/sl/libss.la'
++	INCLUDE_ss='-I$(top_builddir)/include/ss'
++fi
++
++AC_DEFINE(HAVE_SS, 1, 
++	[Define if you have a ss compatible library.])dnl
++
++])
++AC_SUBST(LIB_sl)
+diff -ruN heimdal-0.4c-old/cf/test-package.m4 heimdal-0.4c/cf/test-package.m4
+--- heimdal-0.4c-old/cf/test-package.m4	Fri Dec 15 15:54:24 2000
++++ heimdal-0.4c/cf/test-package.m4	Sat Jun 16 14:21:56 2001
+@@ -2,7 +2,7 @@
+ dnl
+ dnl AC_TEST_PACKAGE_NEW(package,headers,libraries,extra libs,default locations, conditional)
+ 
+-AC_DEFUN(AC_TEST_PACKAGE,[AC_TEST_PACKAGE_NEW($1,[#include <$2>],$4,,$5)])
++AC_DEFUN(AC_TEST_PACKAGE,[MY_TEST_PACKAGE_NEW($1,[#include <$2>],$4,,$5)])
+ 
+ AC_DEFUN(AC_TEST_PACKAGE_NEW,[
+ AC_ARG_WITH($1,
+@@ -39,7 +39,7 @@
+ header_dirs=
+ lib_dirs=
+ d='$5'
+-for i in $d; do
++for i in $d /usr; do
+ 	header_dirs="$header_dirs $i/include"
+ 	lib_dirs="$lib_dirs $i/lib$abilibdirext"
+ done
+@@ -72,6 +72,7 @@
+ if test "$ires" -a "$lres" -a "$with_$1" != "no"; then
+ 	$1_includedir="$ires"
+ 	$1_libdir="$lres"
++	DIR_$1=
+ 	INCLUDE_$1="-I$$1_includedir"
+ 	LIB_$1="-L$$1_libdir $3"
+ 	m4_ifval([$6],
+@@ -80,6 +81,7 @@
+ 	with_$1=yes
+ 	AC_MSG_RESULT([headers $ires, libraries $lres])
+ else
++	DIR_$1="$1"
+ 	INCLUDE_$1=
+ 	LIB_$1=
+ 	with_$1=no
+@@ -88,6 +90,7 @@
+ dnl m4_ifval([$6],
+ dnl 	AM_CONDITIONAL($6, test "$with_$1" = yes)
+ dnl 	AM_CONDITIONAL(upcase($1), test "$with_$1" = yes))
++AC_SUBST(DIR_$1)
+ AC_SUBST(INCLUDE_$1)
+ AC_SUBST(LIB_$1)
+ ])
+diff -ruN heimdal-0.4c-old/configure.in heimdal-0.4c/configure.in
+--- heimdal-0.4c-old/configure.in	Sat Jun 16 14:21:54 2001
++++ heimdal-0.4c/configure.in	Sat Jun 16 14:21:56 2001
+@@ -231,6 +231,12 @@
+ [#include <stdio.h>
+  #include <readline.h>],-lreadline,,, READLINE)
+ 
++AC_TEST_PACKAGE_NEW(com_err,
++[#include <et/com_err.h>],-lcom_err,,, COM_ERR)
++
++AC_TEST_PACKAGE_NEW(ss,
++[#include <ss.h>],-lss,,, SS)
++
+ AC_TEST_PACKAGE_NEW(hesiod,[#include <hesiod.h>],-lhesiod,,, HESIOD)
+ 
+ KRB_C_BIGENDIAN
+@@ -585,6 +591,8 @@
+ AC_SUBST(LIB_des_appl)
+ 
+ KRB_READLINE
++KRB_COM_ERR
++KRB_SS
+ 
+ dnl telnet muck --------------------------------------------------
+ 
+diff -ruN heimdal-0.4c-old/include/ss/Makefile.am heimdal-0.4c/include/ss/Makefile.am
+--- heimdal-0.4c-old/include/ss/Makefile.am	Thu Jan  1 10:00:00 1970
++++ heimdal-0.4c/include/ss/Makefile.am	Sat Jun 16 14:21:56 2001
+@@ -0,0 +1,5 @@
++# $Id: Makefile.am,v 1.6 1999/03/20 13:58:17 joda Exp $
++
++include $(top_srcdir)/Makefile.am.common
++
++CLEANFILES = ss.h sl.h
+diff -ruN heimdal-0.4c-old/kadmin/Makefile.am heimdal-0.4c/kadmin/Makefile.am
+--- heimdal-0.4c-old/kadmin/Makefile.am	Thu Nov 16 09:51:12 2000
++++ heimdal-0.4c/kadmin/Makefile.am	Sat Jun 16 14:21:56 2001
+@@ -2,7 +2,7 @@
+ 
+ include $(top_srcdir)/Makefile.am.common
+ 
+-INCLUDES += $(INCLUDE_readline) $(INCLUDE_krb4) -I$(srcdir)/../lib/krb5
++INCLUDES += $(INCLUDE_readline) $(INCLUDE_krb4) $(INCLUDE_ss) -I$(srcdir)/../lib/krb5
+ 
+ sbin_PROGRAMS = kadmin
+ 
+@@ -62,7 +62,7 @@
+ kadmin_LDADD = \
+ 	$(top_builddir)/lib/kadm5/libkadm5clnt.la \
+ 	$(top_builddir)/lib/kadm5/libkadm5srv.la \
+-	$(top_builddir)/lib/sl/libsl.la \
++	$(LIB_ss) \
+ 	$(LIB_readline) \
+ 	$(COMMON_LDADD) \
+ 	$(LIB_dlopen)
+diff -ruN heimdal-0.4c-old/kadmin/kadmin.c heimdal-0.4c/kadmin/kadmin.c
+--- heimdal-0.4c-old/kadmin/kadmin.c	Sat Jan 27 09:20:52 2001
++++ heimdal-0.4c/kadmin/kadmin.c	Sat Jun 16 14:21:56 2001
+@@ -32,7 +32,7 @@
+  */
+ 
+ #include "kadmin_locl.h"
+-#include <sl.h>
++#include <ss.h>
+ 
+ RCSID("$Id: kadmin.c,v 1.34 2001/01/26 22:20:52 joda Exp $");
+ 
+diff -ruN heimdal-0.4c-old/lib/Makefile.am heimdal-0.4c/lib/Makefile.am
+--- heimdal-0.4c-old/lib/Makefile.am	Thu Nov 16 10:11:05 2000
++++ heimdal-0.4c/lib/Makefile.am	Sat Jun 16 14:21:56 2001
+@@ -12,5 +12,5 @@
+ dir_dce = kdfs
+ endif
+ 
+-SUBDIRS = @DIR_roken@ vers editline com_err sl asn1 @DIR_des@ krb5 \
++SUBDIRS = @DIR_roken@ vers @DIR_readline@ @DIR_com_err@ @DIR_ss@ asn1 @DIR_des@ krb5 \
+ 	kafs hdb kadm5 gssapi auth $(dir_45) $(dir_otp) $(dir_dce)
+diff -ruN heimdal-0.4c-old/lib/asn1/libasn1.h heimdal-0.4c/lib/asn1/libasn1.h
+--- heimdal-0.4c-old/lib/asn1/libasn1.h	Fri Dec  3 04:05:02 1999
++++ heimdal-0.4c/lib/asn1/libasn1.h	Sat Jun 16 14:21:56 2001
+@@ -47,4 +47,17 @@
+ #include "asn1_err.h"
+ #include <parse_units.h>
+ 
++#ifdef HACKED_AND_STUPID
++#define ASN1_BAD_TIMEFORMAT BAD_TIMEFORMAT
++#define ASN1_MISSING_FIELD MISSING_FIELD
++#define ASN1_MISPLACED_FIELD MISPLACED_FIELD
++#define ASN1_TYPE_MISMATCH TYPE_MISMATCH
++#define ASN1_OVERFLOW OVERFLOW
++#define ASN1_OVERRUN OVERRUN
++#define ASN1_BAD_ID BAD_ID
++#define ASN1_BAD_LENGTH BAD_LENGTH
++#define ASN1_BAD_FORMAT BAD_FORMAT
++#define ASN1_PARSE_ERROR PARSE_ERROR
++#endif
++
+ #endif /* __LIBASN1_H__ */
+diff -ruN heimdal-0.4c-old/lib/sl/Makefile.am heimdal-0.4c/lib/sl/Makefile.am
+--- heimdal-0.4c-old/lib/sl/Makefile.am	Sat Jun 16 14:21:54 2001
++++ heimdal-0.4c/lib/sl/Makefile.am	Sat Jun 16 14:21:56 2001
+@@ -4,8 +4,6 @@
+ 
+ YFLAGS = -d
+ 
+-include_HEADERS = sl.h
+-
+ lib_LTLIBRARIES = libsl.la libss.la
+ libsl_la_LDFLAGS = -version-info 1:1:1 -no-undefined
+ libss_la_LDFLAGS = -version-info 1:3:1 -no-undefined
+@@ -31,7 +29,21 @@
+ EXTRA_mk_cmds_SOURCES = snprintf.c roken_rename.h
+ 
+ ssincludedir = $(includedir)/ss
+-ssinclude_HEADERS = ss.h
++buildssinclude = $(buildinclude)/ss
++ssinclude_HEADERS = sl.h ss.h
++
++install-build-headers:: $(ssinclude_HEADERS)
++	@foo='$(ssinclude_HEADERS)'; \
++	for f in $$foo; do \
++		f=`basename $$f`; \
++		if test -f "$(srcdir)/$$f"; then file="$(srcdir)/$$f"; \
++		else file="$$f"; fi; \
++		if cmp -s  $$file $(buildssinclude)/$$f 2> /dev/null ; then \
++		: ; else \
++			echo "cp $$file $(buildssinclude)/$$f";\
++			cp $$file $(buildssinclude)/$$f; \
++		fi ; \
++	done
+ 
+ CLEANFILES = lex.c parse.c parse.h snprintf.c strtok_r.c
+ 
--- heimdal-0.6.3.orig/debian/patches-0.4c/013_maildir
+++ heimdal-0.6.3/debian/patches-0.4c/013_maildir
@@ -0,0 +1,40 @@
+Index: heimdal-0.4c/appl/popper/pop_pass.c
+===================================================================
+RCS file: /homes/bam/cvsroot/debian/heimdal/appl/popper/pop_pass.c,v
+retrieving revision 1.1.1.3
+retrieving revision 1.5
+diff -c -r1.1.1.3 -r1.5
+*** heimdal-0.4c/appl/popper/pop_pass.c 2000/05/19 05:23:42 1.1.1.3
+--- heimdal-0.4c/appl/popper/pop_pass.c	2000/05/19 05:33:06	1.5
+***************
+*** 197,203 ****
+  	    p->ipaddr, p->user);
+  
+      /*  Build the name of the user's maildrop */
+!     snprintf(p->drop_name, sizeof(p->drop_name), "%s/%s", POP_MAILDIR, p->user);
+  
+      if(stat(p->drop_name, &st) < 0 || !S_ISDIR(st.st_mode)){
+  	/*  Make a temporary copy of the user's maildrop */
+--- 197,218 ----
+  	    p->ipaddr, p->user);
+  
+      /*  Build the name of the user's maildrop */
+! 
+!     /* Try ~/Maildir */
+!     if (pw->pw_dir != NULL)
+! 	{
+!         snprintf(p->drop_name, sizeof(p->drop_name), "%s/%s", pw->pw_dir, "Maildir");
+! 	}
+!     if(pw->pw_dir != NULL && stat(p->drop_name, &st) < 0)
+! 	{
+!     	/* else try ~/Mailbox */
+! 	snprintf(p->drop_name, sizeof(p->drop_name), "%s/%s", pw->pw_dir, "Mailbox");
+! 	}
+!     if(pw->pw_dir == NULL || stat(p->drop_name, &st) < 0)
+! 	{
+!     	/* else try /var/spool/mail/userid */
+! 	snprintf(p->drop_name, sizeof(p->drop_name), "%s/%s", POP_MAILDIR, p->user);
+! 	}
+  
+      if(stat(p->drop_name, &st) < 0 || !S_ISDIR(st.st_mode)){
+  	/*  Make a temporary copy of the user's maildrop */
--- heimdal-0.6.3.orig/debian/patches-0.4c/014_cache
+++ heimdal-0.6.3/debian/patches-0.4c/014_cache
@@ -0,0 +1,152 @@
+diff -ruN heimdal-0.4c-old/lib/krb5/cache.c heimdal-0.4c/lib/krb5/cache.c
+--- heimdal-0.4c-old/lib/krb5/cache.c	Mon May 14 16:14:45 2001
++++ heimdal-0.4c/lib/krb5/cache.c	Tue Jun 19 20:16:49 2001
+@@ -99,13 +99,28 @@
+ {
+     krb5_error_code ret;
+     krb5_ccache p;
++    krb5_cc_ops *q;
+ 
+     p = malloc(sizeof(*p));
+     if(p == NULL) {
+ 	krb5_set_error_string(context, "malloc: out of memory");
+ 	return KRB5_CC_NOMEM;
+     }
+-    p->ops = ops;
++
++    q = malloc(sizeof(*q));
++    if(q == NULL) {
++	krb5_set_error_string(context, "malloc: out of memory");
++        return KRB5_CC_NOMEM;
++    }
++    memcpy(q, ops, sizeof(*q));
++    q->prefix = strdup(ops->prefix);
++    if(q->prefix == NULL) {
++        free(q);
++	krb5_set_error_string(context, "strdup: out of memory");
++        return KRB5_CC_NOMEM;
++    }
++
++    p->ops = q;
+     *id = p;
+     ret = p->ops->resolve(context, id, residual);
+     if(ret)
+@@ -155,13 +170,28 @@
+ 		krb5_ccache *id)
+ {
+     krb5_ccache p;
++    krb5_cc_ops *q;
+ 
+     p = malloc (sizeof(*p));
+     if (p == NULL) {
+ 	krb5_set_error_string(context, "malloc: out of memory");
+ 	return KRB5_CC_NOMEM;
+     }
+-    p->ops = ops;
++
++    q = malloc(sizeof(*q));
++    if(q == NULL) {
++	krb5_set_error_string(context, "malloc: out of memory");
++        return KRB5_CC_NOMEM;
++    }
++    memcpy(q, ops, sizeof(*q));
++    q->prefix = strdup(ops->prefix);
++    if(q->prefix == NULL) {
++        free(q);
++	krb5_set_error_string(context, "strdup: out of memory");
++        return KRB5_CC_NOMEM;
++    }
++
++    p->ops = q;
+     *id = p;
+     return p->ops->gen_new(context, id);
+ }
+@@ -264,6 +294,8 @@
+ {
+     krb5_error_code ret;
+     ret = id->ops->close(context, id);
++    free(id->ops->prefix);
++    free((krb5_cc_ops *)id->ops);
+     free(id);
+     return ret;
+ }
+diff -ruN heimdal-0.4c-old/lib/krb5/cache.c.rej heimdal-0.4c/lib/krb5/cache.c.rej
+--- heimdal-0.4c-old/lib/krb5/cache.c.rej	Thu Jan  1 10:00:00 1970
++++ heimdal-0.4c/lib/krb5/cache.c.rej	Tue Jun 19 20:10:36 2001
+@@ -0,0 +1,76 @@
++***************
++*** 89,99 ****
++  {
++      krb5_error_code ret;
++      krb5_ccache p;
++  
++      p = malloc(sizeof(*p));
++      if(p == NULL)
++  	return KRB5_CC_NOMEM;
++-     p->ops = ops;
++      *id = p;
++      ret = p->ops->resolve(context, id, residual);
++      if(ret)
++--- 89,112 ----
++  {
++      krb5_error_code ret;
++      krb5_ccache p;
+++     krb5_cc_ops *q;
++  
++      p = malloc(sizeof(*p));
++      if(p == NULL)
++  	return KRB5_CC_NOMEM;
+++ 
+++     q = malloc(sizeof(*q));
+++     if(q == NULL)
+++         return KRB5_CC_NOMEM;
+++     memcpy(q, ops, sizeof(*q));
+++     q->prefix = strdup(ops->prefix);
+++     if(q->prefix == NULL)
+++     {
+++         free(q);
+++         return KRB5_CC_NOMEM;
+++     }
+++     
+++     p->ops = q;
++      *id = p;
++      ret = p->ops->resolve(context, id, residual);
++      if(ret)
++***************
++*** 141,151 ****
++  		krb5_ccache *id)
++  {
++      krb5_ccache p;
++  
++      p = malloc (sizeof(*p));
++      if (p == NULL)
++  	return KRB5_CC_NOMEM;
++-     p->ops = ops;
++      *id = p;
++      return p->ops->gen_new(context, id);
++  }
++--- 154,177 ----
++  		krb5_ccache *id)
++  {
++      krb5_ccache p;
+++     krb5_cc_ops *q;
++  
++      p = malloc (sizeof(*p));
++      if (p == NULL)
++  	return KRB5_CC_NOMEM;
+++ 
+++     q = malloc(sizeof(*q));
+++     if(q == NULL)
+++         return KRB5_CC_NOMEM;
+++     memcpy(q, ops, sizeof(*q));
+++     q->prefix = strdup(ops->prefix);
+++     if(q->prefix == NULL)
+++     {
+++         free(q);
+++         return KRB5_CC_NOMEM;
+++     }
+++     
+++     p->ops = q;
++      *id = p;
++      return p->ops->gen_new(context, id);
++  }
--- heimdal-0.6.3.orig/debian/patches-0.4c/021_debian
+++ heimdal-0.6.3/debian/patches-0.4c/021_debian
@@ -0,0 +1,50 @@
+Index: heimdal-0.4c/appl/telnet/telnetd/telnetd.h
+===================================================================
+RCS file: /homes/bam/cvsroot/debian/heimdal/appl/telnet/telnetd/telnetd.h,v
+retrieving revision 1.1.1.2
+retrieving revision 1.2
+diff -c -r1.1.1.2 -r1.2
+*** heimdal-0.4c/appl/telnet/telnetd/telnetd.h 1999/07/24 08:24:26 1.1.1.2
+--- appl/telnet/telnetd/telnetd.h	2000/01/06 09:22:48	1.2
+***************
+*** 193,199 ****
+  #endif
+  
+  #undef _PATH_LOGIN
+! #define _PATH_LOGIN	BINDIR "/login"
+  
+  /* fallbacks */
+  
+--- 193,199 ----
+  #endif
+  
+  #undef _PATH_LOGIN
+! #define _PATH_LOGIN	LIBEXECDIR "/login"
+  
+  /* fallbacks */
+  
+Index: heimdal-0.4c/lib/hdb/hdb.h
+===================================================================
+RCS file: /homes/bam/cvsroot/debian/heimdal/lib/hdb/hdb.h,v
+retrieving revision 1.1.1.4
+retrieving revision 1.3
+diff -c -r1.1.1.4 -r1.3
+*** heimdal-0.4c/lib/hdb/hdb.h 2000/07/31 03:16:43 1.1.1.4
+--- heimdal-0.4c/lib/hdb/hdb.h	2000/07/31 03:22:57	1.3
+***************
+*** 78,84 ****
+      krb5_error_code (*destroy)(krb5_context, struct HDB*);
+  }HDB;
+  
+! #define HDB_DB_DIR "/var/heimdal"
+  #define HDB_DEFAULT_DB HDB_DB_DIR "/heimdal"
+  #define HDB_DB_FORMAT_ENTRY "hdb/db-format"
+  
+--- 78,84 ----
+      krb5_error_code (*destroy)(krb5_context, struct HDB*);
+  }HDB;
+  
+! #define HDB_DB_DIR "/var/lib/heimdal-kdc"
+  #define HDB_DEFAULT_DB HDB_DB_DIR "/heimdal"
+  #define HDB_DB_FORMAT_ENTRY "hdb/db-format"
+  
--- heimdal-0.6.3.orig/debian/patches-0.4c/030_autotools
+++ heimdal-0.6.3/debian/patches-0.4c/030_autotools
@@ -0,0 +1,48953 @@
+diff -ruN heimdal-0.4c-old/Makefile.in heimdal-0.4c/Makefile.in
+--- heimdal-0.4c-old/Makefile.in	Fri Jul 20 05:42:24 2001
++++ heimdal-0.4c/Makefile.in	Sun Jul 29 15:42:35 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,17 +69,21 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+@@ -96,6 +100,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -136,7 +141,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -179,14 +184,20 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -218,10 +229,9 @@
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+ GZIP_ENV = --best
+-DIST_SUBDIRS =  $(SUBDIRS)
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
++.SUFFIXES: .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .et .h .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile
+ 
+@@ -241,17 +251,17 @@
+ 		cf/find-func.m4 cf/find-if-not-broken.m4 \
+ 		cf/grok-type.m4 cf/have-pragma-weak.m4 \
+ 		cf/have-struct-field.m4 cf/have-type.m4 \
+-		cf/have-types.m4 cf/krb-bigendian.m4 cf/krb-find-db.m4 \
+-		cf/krb-func-getcwd-broken.m4 cf/krb-func-getlogin.m4 \
+-		cf/krb-ipv6.m4 cf/krb-irix.m4 cf/krb-prog-ln-s.m4 \
+-		cf/krb-prog-ranlib.m4 cf/krb-prog-yacc.m4 \
+-		cf/krb-readline.m4 cf/krb-struct-spwd.m4 \
+-		cf/krb-struct-winsize.m4 cf/krb-sys-aix.m4 \
+-		cf/krb-sys-nextstep.m4 cf/krb-version.m4 cf/mips-abi.m4 \
+-		cf/misc.m4 cf/need-proto.m4 cf/osfc2.m4 \
+-		cf/proto-compat.m4 cf/retsigtype.m4 cf/roken-frag.m4 \
+-		cf/roken.m4 cf/shared-libs.m4 cf/test-package.m4 \
+-		cf/wflags.m4
++		cf/have-types.m4 cf/krb-bigendian.m4 cf/krb-com_err.m4 \
++		cf/krb-find-db.m4 cf/krb-func-getcwd-broken.m4 \
++		cf/krb-func-getlogin.m4 cf/krb-ipv6.m4 cf/krb-irix.m4 \
++		cf/krb-prog-ln-s.m4 cf/krb-prog-ranlib.m4 \
++		cf/krb-prog-yacc.m4 cf/krb-readline.m4 cf/krb-ss.m4 \
++		cf/krb-struct-spwd.m4 cf/krb-struct-winsize.m4 \
++		cf/krb-sys-aix.m4 cf/krb-sys-nextstep.m4 \
++		cf/krb-version.m4 cf/mips-abi.m4 cf/misc.m4 \
++		cf/need-proto.m4 cf/osfc2.m4 cf/proto-compat.m4 \
++		cf/retsigtype.m4 cf/roken-frag.m4 cf/roken.m4 \
++		cf/shared-libs.m4 cf/test-package.m4 cf/wflags.m4
+ 	cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
+ 
+ config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+@@ -291,11 +301,7 @@
+ maintainer-clean-recursive:
+ 	@set fnord $(MAKEFLAGS); amf=$$2; \
+ 	dot_seen=no; \
+-	case "$@" in \
+-	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
+-	  *) list='$(SUBDIRS)' ;; \
+-	esac; \
+-	rev=''; for subdir in $$list; do \
++	rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
+ 	  if test "$$subdir" = "."; then :; else \
+ 	    rev="$$subdir $$rev"; \
+ 	  fi; \
+@@ -346,11 +352,6 @@
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+ 
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+ mostlyclean-tags:
+ 
+ clean-tags:
+@@ -384,6 +385,7 @@
+ 	  && $(MAKE) $(AM_MAKEFLAGS) installcheck \
+ 	  && $(MAKE) $(AM_MAKEFLAGS) uninstall \
+ 	  && test `find $$dc_install_base -type f -print | wc -l` -le 1 \
++	  && chmod -R u+w .. \
+ 	  && $(MAKE) $(AM_MAKEFLAGS) dist \
+ 	  && $(MAKE) $(AM_MAKEFLAGS) distclean \
+ 	  && rm -f $(distdir).tar.gz \
+diff -ruN heimdal-0.4c-old/acinclude.m4 heimdal-0.4c/acinclude.m4
+--- heimdal-0.4c-old/acinclude.m4	Sun May 24 00:54:53 1998
++++ heimdal-0.4c/acinclude.m4	Sun Jul 29 15:41:34 2001
+@@ -7,3 +7,5 @@
+ dnl $xId: misc.m4,v 1.1 1997/12/14 15:59:04 joda Exp $
+ dnl
+ define(upcase,`echo $1 | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`)dnl
++dnl Hack to allow old CVS version of autoconf to work.
++define([m4_ifval],[ifval])dnl
+diff -ruN heimdal-0.4c-old/aclocal.m4 heimdal-0.4c/aclocal.m4
+--- heimdal-0.4c-old/aclocal.m4	Fri Jul 20 05:42:21 2001
++++ heimdal-0.4c/aclocal.m4	Sun Jul 29 15:41:36 2001
+@@ -1,4 +1,4 @@
+-# ./aclocal.m4 generated automatically by aclocal 1.4b
++# aclocal.m4 generated automatically by aclocal 1.4a
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -20,6 +20,8 @@
+ dnl $xId: misc.m4,v 1.1 1997/12/14 15:59:04 joda Exp $
+ dnl
+ define(upcase,`echo $1 | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`)dnl
++dnl Hack to allow old CVS version of autoconf to work.
++define([m4_ifval],[ifval])dnl
+ 
+ dnl $Id: misc.m4,v 1.2 2000/07/19 15:04:00 joda Exp $
+ dnl
+@@ -273,7 +275,7 @@
+     if depmode="$depmode" \
+        source=conftest.c object=conftest.o \
+        depfile=conftest.Po tmpdepfile=conftest.TPo \
+-       $SHELL $am_depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
++       $SHELL $am_depcomp $depcc -c conftest.c -o conftest.o 2>/dev/null &&
+        grep conftest.h conftest.Po > /dev/null 2>&1; then
+       am_cv_[$1]_dependencies_compiler_type="$depmode"
+       break
+@@ -296,9 +298,6 @@
+ AC_DEFUN([AM_SET_DEPDIR],[
+ if test -d .deps || mkdir .deps 2> /dev/null || test -d .deps; then
+   DEPDIR=.deps
+-  # We redirect because .deps might already exist and be populated.
+-  # In this situation we don't want to see an error.
+-  rmdir .deps > /dev/null 2>&1
+ else
+   DEPDIR=_deps
+ fi
+@@ -539,11 +538,48 @@
+ ])
+ 
+ 
+-# libtool.m4 - Configure libtool for the host system. -*-Shell-script-*-
++# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
+ 
+-# serial 46 AC_PROG_LIBTOOL
++# serial 47 AC_PROG_LIBTOOL
++
++builtin([undefine],[symbols])
++
++# AC_PROG_LIBTOOL
++# ---------------
+ AC_DEFUN([AC_PROG_LIBTOOL],
++[AC_REQUIRE([_AC_PROG_LIBTOOL])dnl
++dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX
++dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX.
++  AC_PROVIDE_IFELSE([AC_PROG_CXX],
++    [AC_LIBTOOL_CXX],
++    [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX
++  ])])
++
++dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly.
++dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run
++dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both.
++  AC_PROVIDE_IFELSE([AC_PROG_GCJ],
++    [AC_LIBTOOL_GCJ],
++    [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
++      [AC_LIBTOOL_GCJ],
++      [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],
++	[AC_LIBTOOL_GCJ],
++      [ifdef([AC_PROG_GCJ],
++	     [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])
++       ifdef([A][M_PROG_GCJ],
++	     [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])])
++       ifdef([LT_AC_PROG_GCJ],
++	     [define([LT_AC_PROG_GCJ],
++                defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])])
++])])# AC_PROG_LIBTOOL
++
++
++# _AC_PROG_LIBTOOL
++# ----------------
++AC_DEFUN([_AC_PROG_LIBTOOL],
+ [AC_REQUIRE([AC_LIBTOOL_SETUP])dnl
++AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl
++AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl
+ 
+ # This can be used to rebuild libtool when needed
+ LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
+@@ -554,8 +590,11 @@
+ 
+ # Prevent multiple expansion
+ define([AC_PROG_LIBTOOL], [])
+-])
++])# _AC_PROG_LIBTOOL
++
+ 
++# AC_LIBTOOL_SETUP
++# ----------------
+ AC_DEFUN([AC_LIBTOOL_SETUP],
+ [AC_PREREQ(2.13)dnl
+ AC_REQUIRE([AC_ENABLE_SHARED])dnl
+@@ -569,11 +608,91 @@
+ AC_REQUIRE([AC_PROG_NM])dnl
+ AC_REQUIRE([AC_PROG_LN_S])dnl
+ AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl
++# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
+ AC_REQUIRE([AC_OBJEXT])dnl
+ AC_REQUIRE([AC_EXEEXT])dnl
+ dnl
+ 
++AC_LIBTOOL_SYS_MAX_CMD_LEN
++AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
++AC_LIBTOOL_OBJDIR
++
++AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
+ _LT_AC_PROG_ECHO_BACKSLASH
++
++case $host_os in
++aix3*)
++  # AIX sometimes has problems with the GCC collect2 program.  For some
++  # reason, if we set the COLLECT_NAMES environment variable, the problems
++  # vanish in a puff of smoke.
++  if test "X${COLLECT_NAMES+set}" != Xset; then
++    COLLECT_NAMES=
++    export COLLECT_NAMES
++  fi
++  ;;
++esac
++
++# Sed substitution that helps us do robust quoting.  It backslashifies
++# metacharacters that are still active within double-quoted strings.
++Xsed='sed -e s/^X//'
++[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g']
++
++# Same as above, but do not quote variable references.
++[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g']
++
++# Sed substitution to delay expansion of an escaped shell variable in a
++# double_quote_subst'ed string.
++delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
++
++# Sed substitution to avoid accidental globbing in evaled expressions
++no_glob_subst='s/\*/\\\*/g'
++
++# Constants:
++rm="rm -f"
++
++# Global variables:
++default_ofile=libtool
++can_build_shared=yes
++
++# All known linkers require a `.a' archive for static linking (except M$VC,
++# which needs '.lib').
++libext=a
++ltmain="$ac_aux_dir/ltmain.sh"
++ofile="$default_ofile"
++with_gnu_ld="$lt_cv_prog_gnu_ld"
++
++AC_CHECK_TOOL(RANLIB, ranlib, :)
++AC_CHECK_TOOL(STRIP, strip, :)
++
++old_CC="$CC"
++old_CFLAGS="$CFLAGS"
++
++# Set sane defaults for various variables
++test -z "$AR" && AR=ar
++test -z "$AR_FLAGS" && AR_FLAGS=cru
++test -z "$AS" && AS=as
++test -z "$CC" && CC=cc
++test -z "$LTCC" && LTCC=$CC
++test -z "$DLLTOOL" && DLLTOOL=dlltool
++test -z "$LD" && LD=ld
++test -z "$LN_S" && LN_S="ln -s"
++test -z "$MAGIC_CMD" && MAGIC_CMD=file
++test -z "$NM" && NM=nm
++test -z "$OBJDUMP" && OBJDUMP=objdump
++test -z "$RANLIB" && RANLIB=:
++test -z "$STRIP" && STRIP=:
++test -z "$ac_objext" && ac_objext=o
++
++# Determine commands to create old-style static archives.
++old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
++old_postinstall_cmds='chmod 644 $oldlib'
++old_postuninstall_cmds=
++
++if test -n "$RANLIB"; then
++  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
++  old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
++fi
++
+ # Only perform the check for file, if the check method requires it
+ case $deplibs_check_method in
+ file_magic*)
+@@ -583,9 +702,6 @@
+   ;;
+ esac
+ 
+-AC_CHECK_TOOL(RANLIB, ranlib, :)
+-AC_CHECK_TOOL(STRIP, strip, :)
+-
+ ifdef([AC_PROVIDE_AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no)
+ ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL],
+ enable_win32_dll=yes, enable_win32_dll=no)
+@@ -594,321 +710,110 @@
+   [  --disable-libtool-lock  avoid locking (might break parallel builds)])
+ test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
+ 
+-# Some flags need to be propagated to the compiler or linker for good
+-# libtool support.
+-case $host in
+-*-*-irix6*)
+-  # Find out which ABI we are using.
+-  echo '[#]line __oline__ "configure"' > conftest.$ac_ext
+-  if AC_TRY_EVAL(ac_compile); then
+-    case `/usr/bin/file conftest.$ac_objext` in
+-    *32-bit*)
+-      LD="${LD-ld} -32"
+-      ;;
+-    *N32*)
+-      LD="${LD-ld} -n32"
+-      ;;
+-    *64-bit*)
+-      LD="${LD-ld} -64"
+-      ;;
+-    esac
+-  fi
+-  rm -rf conftest*
+-  ;;
+-
+-*-*-sco3.2v5*)
+-  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
+-  SAVE_CFLAGS="$CFLAGS"
+-  CFLAGS="$CFLAGS -belf"
+-  AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
+-    [AC_LANG_SAVE
+-     AC_LANG_C
+-     AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
+-     AC_LANG_RESTORE])
+-  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
+-    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
+-    CFLAGS="$SAVE_CFLAGS"
+-  fi
+-  ;;
+-
+-ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL],
+-[*-*-cygwin* | *-*-mingw* | *-*-pw32*)
+-  AC_CHECK_TOOL(DLLTOOL, dlltool, false)
+-  AC_CHECK_TOOL(AS, as, false)
+-  AC_CHECK_TOOL(OBJDUMP, objdump, false)
++AC_ARG_WITH(pic,
++  [  --with-pic              try to use only PIC/non-PIC objects [default=use both]],
++pic_mode="$withval", pic_mode=default)
++test -z "$pic_mode" && pic_mode=default
+ 
+-  # recent cygwin and mingw systems supply a stub DllMain which the user
+-  # can override, but on older systems we have to supply one
+-  AC_CACHE_CHECK([if libtool should supply DllMain function], lt_cv_need_dllmain,
+-    [AC_TRY_LINK([],
+-      [extern int __attribute__((__stdcall__)) DllMain(void*, int, void*);
+-      DllMain (0, 0, 0);],
+-      [lt_cv_need_dllmain=no],[lt_cv_need_dllmain=yes])])
++# Use C for the default configuration in the libtool script
++tagname=
++AC_LIBTOOL_LANG_C_CONFIG
++_LT_AC_TAGCONFIG
++])# AC_LIBTOOL_SETUP
+ 
+-  case $host/$CC in
+-  *-*-cygwin*/gcc*-mno-cygwin*|*-*-mingw*)
+-    # old mingw systems require "-dll" to link a DLL, while more recent ones
+-    # require "-mdll"
+-    SAVE_CFLAGS="$CFLAGS"
+-    CFLAGS="$CFLAGS -mdll"
+-    AC_CACHE_CHECK([how to link DLLs], lt_cv_cc_dll_switch,
+-      [AC_TRY_LINK([], [], [lt_cv_cc_dll_switch=-mdll],[lt_cv_cc_dll_switch=-dll])])
+-    CFLAGS="$SAVE_CFLAGS" ;;
+-  *-*-cygwin* | *-*-pw32*)
+-    # cygwin systems need to pass --dll to the linker, and not link
+-    # crt.o which will require a WinMain@16 definition.
+-    lt_cv_cc_dll_switch="-Wl,--dll -nostartfiles" ;;
+-  esac
+-  ;;
+-  ])
+-esac
+ 
+-_LT_AC_LTCONFIG_HACK
++# _LT_AC_SYS_COMPILER
++# -------------------
++AC_DEFUN([_LT_AC_SYS_COMPILER],
++[AC_REQUIRE([AC_PROG_CC])dnl
+ 
+-])
++# If no C compiler was specified, use CC.
++LTCC=${LTCC-"$CC"}
+ 
+-# _LT_AC_CHECK_DLFCN
+-# --------------------
+-AC_DEFUN(_LT_AC_CHECK_DLFCN,
+-[AC_CHECK_HEADERS(dlfcn.h)
+-])# _LT_AC_CHECK_DLFCN
++# Allow CC to be a program name with arguments.
++set dummy $CC
++compiler="[$]2"
++])# _LT_AC_SYS_COMPILER
+ 
+-# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
+-# ---------------------------------
+-AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE],
+-[AC_REQUIRE([AC_CANONICAL_HOST])
+-AC_REQUIRE([AC_PROG_NM])
+-AC_REQUIRE([AC_OBJEXT])
+-# Check for command to grab the raw symbol name followed by C symbol from nm.
+-AC_MSG_CHECKING([command to parse $NM output])
+-AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe], [dnl
+ 
+-# These are sane defaults that work on at least a few old systems.
+-# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
++# _LT_AC_SYS_LIBPATH_AIX
++# ----------------------
++# Links a minimal program and checks the executable
++# for the system default hardcoded library path. In most cases,
++# this is /usr/lib:/lib, but when the MPI compilers are used
++# the location of the communication and MPI libs are included too.
++# If we don't find anything, use the default library path according 
++# to the aix ld manual.
++AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX],
++[AC_LINK_IFELSE(AC_LANG_PROGRAM,[
++aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | ${AWK-awk} '/Import File Strings/ { getline; getline; if ($[2] ~ /^\//) print $[2] }'`
++# Check for a 64-bit object if we didn't find anything.
++if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | ${AWK-awk} '/Import File Strings/ { getline; getline; if ($[2] ~ /^\//) print $[2] }'`; fi],[])
++if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
++])# _LT_AC_SYS_LIBPATH_AIX
+ 
+-# Character class describing NM global symbol codes.
+-[symcode='[BCDEGRST]']
+ 
+-# Regexp to match symbols that can be accessed directly from C.
+-[sympat='\([_A-Za-z][_A-Za-z0-9]*\)']
++# _LT_AC_LIBTOOL_SYS_PATH_SEPARATOR
++# ---------------------------------
++AC_DEFUN([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR],
++[# Find the correct PATH separator.  Usually this is `:', but
++# DJGPP uses `;' like DOS.
++if test "X${PATH_SEPARATOR+set}" != Xset; then
++  UNAME=${UNAME-`uname 2>/dev/null`}
++  case X$UNAME in
++    *-DOS) PATH_SEPARATOR=';' ;;
++    *)     PATH_SEPARATOR=':' ;;
++  esac
++fi
++])# _LT_AC_LIBTOOL_SYS_PATH_SEPARATOR
+ 
+-# Transform the above into a raw symbol and a C symbol.
+-symxfrm='\1 \2\3 \3'
+ 
+-# Transform an extracted symbol line into a proper C declaration
+-lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'"
++# _LT_AC_PROG_ECHO_BACKSLASH
++# --------------------------
++# Add some code to the start of the generated configure script which
++# will find an echo command which doesn't interpret backslashes.
++AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH],
++[ifdef([AC_DIVERSION_NOTICE], [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
++                              [AC_DIVERT_PUSH(NOTICE)])
++_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR
+ 
+-# Define system-specific variables.
+-case $host_os in
+-aix*)
+-  [symcode='[BCDT]']
+-  ;;
+-cygwin* | mingw* | pw32*)
+-  [symcode='[ABCDGISTW]']
+-  ;;
+-hpux*) # Its linker distinguishes data from code symbols
+-  lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
+-  ;;
+-irix*)
+-  [symcode='[BCDEGRST]']
+-  ;;
+-solaris* | sysv5*)
+-  [symcode='[BDT]']
+-  ;;
+-sysv4)
+-  [symcode='[DFNSTU]']
+-  ;;
+-esac
++# Check that we are running under the correct shell.
++SHELL=${CONFIG_SHELL-/bin/sh}
+ 
+-# Handle CRLF in mingw tool chain
+-opt_cr=
+-case $host_os in
+-mingw*)
+-  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
++case X$ECHO in
++X*--fallback-echo)
++  # Remove one level of quotation (which was required for Make).
++  ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
+   ;;
+ esac
+ 
+-# If we're using GNU nm, then use its standard symbol codes.
+-if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then
+-  [symcode='[ABCDGISTW]']
++echo=${ECHO-echo}
++if test "X[$]1" = X--no-reexec; then
++  # Discard the --no-reexec flag, and continue.
++  shift
++elif test "X[$]1" = X--fallback-echo; then
++  # Avoid inline document here, it may be left over
++  :
++elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
++  # Yippee, $echo works!
++  :
++else
++  # Restart under the correct shell.
++  exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
+ fi
+ 
+-# Try without a prefix undercore, then with it.
+-for ac_symprfx in "" "_"; do
++if test "X[$]1" = X--fallback-echo; then
++  # used as fallback echo
++  shift
++  cat <<EOF
++[$]*
++EOF
++  exit 0
++fi
+ 
+-  # Write the raw and C identifiers.
+-[lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"]
+-
+-  # Check to see that the pipe works correctly.
+-  pipe_works=no
+-  rm -f conftest*
+-  cat > conftest.$ac_ext <<EOF
+-#ifdef __cplusplus
+-extern "C" {
+-#endif
+-char nm_test_var;
+-void nm_test_func(){}
+-#ifdef __cplusplus
+-}
+-#endif
+-int main(){nm_test_var='a';nm_test_func();return(0);}
+-EOF
+-
+-  if AC_TRY_EVAL(ac_compile); then
+-    # Now try to grab the symbols.
+-    nlist=conftest.nm
+-    if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
+-      # Try sorting and uniquifying the output.
+-      if sort "$nlist" | uniq > "$nlist"T; then
+-	mv -f "$nlist"T "$nlist"
+-      else
+-	rm -f "$nlist"T
+-      fi
+-
+-      # Make sure that we snagged all the symbols we need.
+-      if egrep ' nm_test_var$' "$nlist" >/dev/null; then
+-	if egrep ' nm_test_func$' "$nlist" >/dev/null; then
+-	  cat <<EOF > conftest.$ac_ext
+-#ifdef __cplusplus
+-extern "C" {
+-#endif
+-
+-EOF
+-	  # Now generate the symbol file.
+-	  eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext'
+-
+-	  cat <<EOF >> conftest.$ac_ext
+-#if defined (__STDC__) && __STDC__
+-# define lt_ptr_t void *
+-#else
+-# define lt_ptr_t char *
+-# define const
+-#endif
+-
+-/* The mapping between symbol names and symbols. */
+-const struct {
+-  const char *name;
+-  lt_ptr_t address;
+-}
+-[lt_preloaded_symbols[] =]
+-{
+-EOF
+-	  sed "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" >> conftest.$ac_ext
+-	  cat <<\EOF >> conftest.$ac_ext
+-  {0, (lt_ptr_t) 0}
+-};
+-
+-#ifdef __cplusplus
+-}
+-#endif
+-EOF
+-	  # Now try linking the two files.
+-	  mv conftest.$ac_objext conftstm.$ac_objext
+-	  save_LIBS="$LIBS"
+-	  save_CFLAGS="$CFLAGS"
+-	  LIBS="conftstm.$ac_objext"
+-	  CFLAGS="$CFLAGS$no_builtin_flag"
+-	  if AC_TRY_EVAL(ac_link) && test -s conftest; then
+-	    pipe_works=yes
+-	  fi
+-	  LIBS="$save_LIBS"
+-	  CFLAGS="$save_CFLAGS"
+-	else
+-	  echo "cannot find nm_test_func in $nlist" >&AC_FD_CC
+-	fi
+-      else
+-	echo "cannot find nm_test_var in $nlist" >&AC_FD_CC
+-      fi
+-    else
+-      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AC_FD_CC
+-    fi
+-  else
+-    echo "$progname: failed program was:" >&AC_FD_CC
+-    cat conftest.$ac_ext >&5
+-  fi
+-  rm -f conftest* conftst*
+-
+-  # Do not use the global_symbol_pipe unless it works.
+-  if test "$pipe_works" = yes; then
+-    break
+-  else
+-    lt_cv_sys_global_symbol_pipe=
+-  fi
+-done
+-])
+-global_symbol_pipe="$lt_cv_sys_global_symbol_pipe"
+-if test -z "$lt_cv_sys_global_symbol_pipe"; then
+-  global_symbol_to_cdecl=
+-else
+-  global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl"
+-fi
+-if test -z "$global_symbol_pipe$global_symbol_to_cdecl"; then
+-  AC_MSG_RESULT(failed)
+-else
+-  AC_MSG_RESULT(ok)
+-fi
+-]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
+-
+-# _LT_AC_LIBTOOL_SYS_PATH_SEPARATOR
+-# ---------------------------------
+-AC_DEFUN([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR],
+-[# Find the correct PATH separator.  Usually this is `:', but
+-# DJGPP uses `;' like DOS.
+-if test "X${PATH_SEPARATOR+set}" != Xset; then
+-  UNAME=${UNAME-`uname 2>/dev/null`}
+-  case X$UNAME in
+-    *-DOS) lt_cv_sys_path_separator=';' ;;
+-    *)     lt_cv_sys_path_separator=':' ;;
+-  esac
+-fi
+-])# _LT_AC_LIBTOOL_SYS_PATH_SEPARATOR
+-
+-# _LT_AC_PROG_ECHO_BACKSLASH
+-# --------------------------
+-# Add some code to the start of the generated configure script which
+-# will find an echo command which doesn;t interpret backslashes.
+-AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH],
+-[ifdef([AC_DIVERSION_NOTICE], [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
+-                              [AC_DIVERT_PUSH(NOTICE)])
+-_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR
+-
+-# Check that we are running under the correct shell.
+-SHELL=${CONFIG_SHELL-/bin/sh}
+-
+-case X$ECHO in
+-X*--fallback-echo)
+-  # Remove one level of quotation (which was required for Make).
+-  ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
+-  ;;
+-esac
+-
+-echo=${ECHO-echo}
+-if test "X[$]1" = X--no-reexec; then
+-  # Discard the --no-reexec flag, and continue.
+-  shift
+-elif test "X[$]1" = X--fallback-echo; then
+-  # Avoid inline document here, it may be left over
+-  :
+-elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
+-  # Yippee, $echo works!
+-  :
+-else
+-  # Restart under the correct shell.
+-  exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
+-fi
+-
+-if test "X[$]1" = X--fallback-echo; then
+-  # used as fallback echo
+-  shift
+-  cat <<EOF
+-$*
+-EOF
+-  exit 0
+-fi
+-
+-# The HP-UX ksh and POSIX shell print the target directory to stdout
+-# if CDPATH is set.
+-if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
++# The HP-UX ksh and POSIX shell print the target directory to stdout
++# if CDPATH is set.
++if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
+ 
+ if test -z "$ECHO"; then
+ if test "X${echo_test_string+set}" != Xset; then
+@@ -935,8 +840,9 @@
+   #
+   # So, first we look for a working echo in the user's PATH.
+ 
+-  IFS="${IFS= 	}"; save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR}"
++  IFS="${IFS= 	}"; lt_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR}"
+   for dir in $PATH /usr/ucb; do
++    IFS="$lt_save_ifs"
+     if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
+        test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
+        echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
+@@ -945,7 +851,7 @@
+       break
+     fi
+   done
+-  IFS="$save_ifs"
++  IFS="$lt_save_ifs"
+ 
+   if test "X$echo" = Xecho; then
+     # We didn't find a better echo, so look for alternatives.
+@@ -1021,14 +927,221 @@
+ AC_DIVERT_POP
+ ])# _LT_AC_PROG_ECHO_BACKSLASH
+ 
++
++# _LT_AC_LOCK
++# -----------
++AC_DEFUN([_LT_AC_LOCK],
++[AC_ARG_ENABLE(libtool-lock,
++  [  --disable-libtool-lock  avoid locking (might break parallel builds)])
++test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
++
++# Some flags need to be propagated to the compiler or linker for good
++# libtool support.
++case $host in
++*-*-irix6*)
++  # Find out which ABI we are using.
++  echo '[#]line __oline__ "configure"' > conftest.$ac_ext
++  if AC_TRY_EVAL(ac_compile); then
++    case `/usr/bin/file conftest.$ac_objext` in
++    *32-bit*)
++      LD="${LD-ld} -32"
++      ;;
++    *N32*)
++      LD="${LD-ld} -n32"
++      ;;
++    *64-bit*)
++      LD="${LD-ld} -64"
++      ;;
++    esac
++  fi
++  rm -rf conftest*
++  ;;
++
++*-*-sco3.2v5*)
++  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
++  SAVE_CFLAGS="$CFLAGS"
++  CFLAGS="$CFLAGS -belf"
++  AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
++    [AC_LANG_PUSH(C)
++     AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
++     AC_LANG_POP])
++  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
++    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
++    CFLAGS="$SAVE_CFLAGS"
++  fi
++  ;;
++ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL],
++[*-*-cygwin* | *-*-mingw* | *-*-pw32*)
++  AC_CHECK_TOOL(DLLTOOL, dlltool, false)
++  AC_CHECK_TOOL(AS, as, false)
++  AC_CHECK_TOOL(OBJDUMP, objdump, false)
++
++  # recent cygwin and mingw systems supply a stub DllMain which the user
++  # can override, but on older systems we have to supply one
++  AC_CACHE_CHECK([if libtool should supply DllMain function], lt_cv_need_dllmain,
++    [AC_TRY_LINK([],
++      [extern int __attribute__((__stdcall__)) DllMain(void*, int, void*);
++      DllMain (0, 0, 0);],
++      [lt_cv_need_dllmain=no],[lt_cv_need_dllmain=yes])])
++
++  case $host/$CC in
++  *-*-cygwin*/gcc*-mno-cygwin*|*-*-mingw*)
++    # old mingw systems require "-dll" to link a DLL, while more recent ones
++    # require "-mdll"
++    SAVE_CFLAGS="$CFLAGS"
++    CFLAGS="$CFLAGS -mdll"
++    AC_CACHE_CHECK([how to link DLLs], lt_cv_cc_dll_switch,
++      [AC_TRY_LINK([], [], [lt_cv_cc_dll_switch=-mdll],[lt_cv_cc_dll_switch=-dll])])
++    CFLAGS="$SAVE_CFLAGS" ;;
++  *-*-cygwin* | *-*-pw32*)
++    # cygwin systems need to pass --dll to the linker, and not link
++    # crt.o which will require a WinMain@16 definition.
++    lt_cv_cc_dll_switch="-Wl,--dll -nostartfiles" ;;
++  esac
++  ;;
++  ])
++esac
++
++need_locks="$enable_libtool_lock"
++
++])# _LT_AC_LOCK
++
++
++# AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
++#		[OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
++# ----------------------------------------------------------------
++# Check whether the given compiler option works
++AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION],
++[AC_CACHE_CHECK([$1], [$2],
++  [$2=no
++  ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
++   save_CFLAGS="$CFLAGS"
++   CFLAGS="$CFLAGS $3"
++   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
++   if (eval $ac_compile 2>conftest.err) && test -s $ac_outfile; then
++     # The compiler can only warn and ignore the option if not recognized
++     # So say no if there are warnings
++     if test -s conftest.err; then
++       # Append any errors to the config.log.
++       cat conftest.err 1>&AS_MESSAGE_LOG_FD
++     else
++       $2=yes
++     fi
++   fi
++   $rm conftest*
++   CFLAGS="$save_CFLAGS"
++])
++
++if test x"[$]$2" = xyes; then
++    ifelse([$5], , :, [$5])
++else
++    ifelse([$6], , :, [$6])
++fi
++])# AC_LIBTOOL_COMPILER_OPTION
++
++
++# AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
++#                          [ACTION-SUCCESS], [ACTION-FAILURE])
++# ------------------------------------------------------------
++# Check whether the given compiler option works
++AC_DEFUN([AC_LIBTOOL_LINKER_OPTION],
++[AC_CACHE_CHECK([$1], [$2],
++  [$2=no
++   save_LDFLAGS="$LDFLAGS"
++   LDFLAGS="$LDFLAGS $3"
++   echo "$lt_simple_link_test_code" > conftest.$ac_ext
++   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
++     # The compiler can only warn and ignore the option if not recognized
++     # So say no if there are warnings
++     if test -s conftest.err; then
++       # Append any errors to the config.log.
++       cat conftest.err 1>&AS_MESSAGE_LOG_FD
++     else
++       $2=yes
++     fi
++   fi
++   $rm conftest* 
++   LDFLAGS="$save_LDFLAGS"
++])
++
++if test x"[$]$2" = xyes; then
++    ifelse([$4], , :, [$4])
++else
++    ifelse([$5], , :, [$5])
++fi
++])# AC_LIBTOOL_LINKER_OPTION
++
++
++# AC_LIBTOOL_SYS_MAX_CMD_LEN
++# --------------------------
++AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN],
++[# find the maximum length of command line arguments
++AC_MSG_CHECKING([the maximum length of command line arguments])
++AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
++  i=0
++  testring="ABCD"
++
++  case $host_os in
++  msdosdjgpp*) 
++    # On DJGPP, this test can blow up pretty badly due to problems in libc
++    # (any single argument exceeding 2000 bytes causes a buffer overrun
++    # during glob expansion).  Even if it were fixed, the result of this
++    # check would be larger than it should be.
++    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
++    ;;
++    
++  gnu*) 
++    # Under GNU Hurd, this test is not required because there is
++    # no limit to the length of command line arguments.
++    # Libtool will interpret -1 as no limit whatsoever
++    lt_cv_sys_max_cmd_len=-1;
++    ;;
++    
++  *)
++    # If test is not a shell built-in, we'll probably end up computing a
++    # maximum length that is only half of the actual maximum length, but
++    # we can't tell.
++    while test "X"`$CONFIG_SHELL [$]0 --fallback-echo "X$testring" 2>/dev/null` \
++               = "XX$testring" &&
++            new_result=`expr "X$testring" : ".*" 2>&1` &&
++            lt_cv_sys_max_cmd_len=$new_result &&
++            test $i != 17 # 1/2 MB should be enough
++    do
++      i=`expr $i + 1`
++      testring=$testring$testring
++    done
++    testring=
++    # add a significant safety factor because C++ compilers can tack on massive
++    # amounts of additional arguments before passing them to the linker.  1/4
++    # should be good.
++    len=`expr $lt_cv_sys_max_cmd_len \/ 4`
++    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len - $len`
++    ;;
++  esac
++])
++if test -n $lt_cv_sys_max_cmd_len ; then
++  AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
++else
++  AC_MSG_RESULT(none)
++fi
++])# AC_LIBTOOL_SYS_MAX_CMD_LEN
++
++
++# _LT_AC_CHECK_DLFCN
++# --------------------
++AC_DEFUN([_LT_AC_CHECK_DLFCN],
++[AC_CHECK_HEADERS(dlfcn.h)dnl
++])# _LT_AC_CHECK_DLFCN
++
++
+ # _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
+ #                           ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
+ # ------------------------------------------------------------------
+-AC_DEFUN(_LT_AC_TRY_DLOPEN_SELF,
+-[if test "$cross_compiling" = yes; then :
++AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF],
++[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
++if test "$cross_compiling" = yes; then :
+   [$4]
+ else
+-  AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
+   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
+   lt_status=$lt_dlunknown
+   cat > conftest.$ac_ext <<EOF
+@@ -1109,10 +1222,12 @@
+ rm -fr conftest*
+ ])# _LT_AC_TRY_DLOPEN_SELF
+ 
++
+ # AC_LIBTOOL_DLOPEN_SELF
+ # -------------------
+-AC_DEFUN(AC_LIBTOOL_DLOPEN_SELF,
+-[if test "x$enable_dlopen" != xyes; then
++AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF],
++[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
++if test "x$enable_dlopen" != xyes; then
+   enable_dlopen=unknown
+   enable_dlopen_self=unknown
+   enable_dlopen_self_static=unknown
+@@ -1133,13 +1248,14 @@
+    ;;
+ 
+   *)
+-    AC_CHECK_LIB(dl, dlopen,  [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
+-      [AC_CHECK_FUNC(dlopen, lt_cv_dlopen="dlopen",
+-        [AC_CHECK_FUNC(shl_load, lt_cv_dlopen="shl_load",
+-          [AC_CHECK_LIB(svld, dlopen,
+-	    [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
+-            [AC_CHECK_LIB(dld, shl_load,
+-              [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
++    AC_CHECK_FUNC(shl_load, lt_cv_dlopen="shl_load",
++      [AC_CHECK_LIB(dld, shl_load,
++        [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"],
++        [AC_CHECK_LIB(dl, dlopen,
++          [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
++          [AC_CHECK_FUNC(dlopen, lt_cv_dlopen="dlopen",
++            [AC_CHECK_LIB(svld, dlopen,
++             [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"])
+ 	    ])
+           ])
+         ])
+@@ -1156,7 +1272,6 @@
+   case $lt_cv_dlopen in
+   dlopen)
+     save_CPPFLAGS="$CPPFLAGS"
+-    AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
+     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
+ 
+     save_LDFLAGS="$LDFLAGS"
+@@ -1200,2656 +1315,4250 @@
+ fi
+ ])# AC_LIBTOOL_DLOPEN_SELF
+ 
+-AC_DEFUN([_LT_AC_LTCONFIG_HACK],
+-[AC_REQUIRE([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])dnl
+-# Sed substitution that helps us do robust quoting.  It backslashifies
+-# metacharacters that are still active within double-quoted strings.
+-Xsed='sed -e s/^X//'
+-[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g']
+ 
+-# Same as above, but do not quote variable references.
+-[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g']
++# AC_LIBTOOL_PROG_CC_C_O([TAGNAME])
++# ---------------------------------
++# Check to see if options -c and -o are simultaneously supported by compiler
++AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O],
++[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
++AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
++  [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
++  [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
++   $rm -r conftest 2>/dev/null
++   mkdir conftest
++   cd conftest
++   mkdir out
++   ifelse([$1],[],[save_CFLAGS="$CFLAGS"
++                   CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"],
++          [$1],[CXX],[save_CXXFLAGS="$CXXFLAGS"
++                   CXXFLAGS="$CXXFLAGS -o out/conftest2.$ac_objext"],
++          [$1],[GCJ],[save_GCJFLAGS="$GCJFLAGS"
++                   GCJFLAGS="$GCJFLAGS -o out/conftest2.$ac_objext"])
++   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
++
++   # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
++   # that will create temporary files in the current directory regardless of
++   # the output directory.  Thus, making CWD read-only will cause this test
++   # to fail, enabling locking or at least warning the user not to do parallel
++   # builds.
++   chmod -w .
++
++   if (eval $ac_compile 2>out/conftest.err) && test -s out/conftest2.$ac_objext
++   then
++     # The compiler can only warn and ignore the option if not recognized
++     # So say no if there are warnings
++     if test -s out/conftest.err; then
++       # Append any errors to the config.log.
++       cat out/conftest.err 1>&AS_MESSAGE_LOG_FD
++     else
++       _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
++     fi
++   fi
++   ifelse([$1],[],[CFLAGS="$save_CFLAGS"],
++          [$1],[CXX],[CXXFLAGS="$save_CXXFLAGS"],
++          [$1],[GCJ],[GCJFLAGS="$save_GCJFLAGS"])
++   chmod u+w .
++   $rm conftest* out/*
++   rmdir out
++   cd ..
++   rmdir conftest
++   $rm conftest*
++])
++])# AC_LIBTOOL_PROG_CC_C_O
+ 
+-# Sed substitution to delay expansion of an escaped shell variable in a
+-# double_quote_subst'ed string.
+-delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
+-
+-# Constants:
+-rm="rm -f"
+-
+-# Global variables:
+-default_ofile=libtool
+-can_build_shared=yes
+-
+-# All known linkers require a `.a' archive for static linking (except M$VC,
+-# which needs '.lib').
+-libext=a
+-ltmain="$ac_aux_dir/ltmain.sh"
+-ofile="$default_ofile"
+-with_gnu_ld="$lt_cv_prog_gnu_ld"
+-need_locks="$enable_libtool_lock"
+-
+-old_CC="$CC"
+-old_CFLAGS="$CFLAGS"
+-
+-# Set sane defaults for various variables
+-test -z "$AR" && AR=ar
+-test -z "$AR_FLAGS" && AR_FLAGS=cru
+-test -z "$AS" && AS=as
+-test -z "$CC" && CC=cc
+-test -z "$DLLTOOL" && DLLTOOL=dlltool
+-test -z "$LD" && LD=ld
+-test -z "$LN_S" && LN_S="ln -s"
+-test -z "$MAGIC_CMD" && MAGIC_CMD=file
+-test -z "$NM" && NM=nm
+-test -z "$OBJDUMP" && OBJDUMP=objdump
+-test -z "$RANLIB" && RANLIB=:
+-test -z "$STRIP" && STRIP=:
+-test -z "$ac_objext" && ac_objext=o
+ 
+-if test x"$host" != x"$build"; then
+-  ac_tool_prefix=${host_alias}-
+-else
+-  ac_tool_prefix=
+-fi
+-
+-# Transform linux* to *-*-linux-gnu*, to support old configure scripts.
+-case $host_os in
+-linux-gnu*) ;;
+-linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
+-esac
++# AC_LIBTOOL_SYS_HARD_LINK_LOCKS([TAGNAME])
++# -----------------------------------------
++# Check to see if we can do hard links to lock some files if needed
++AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS],
++[AC_REQUIRE([_LT_AC_LOCK])dnl
+ 
+-case $host_os in
+-aix3*)
+-  # AIX sometimes has problems with the GCC collect2 program.  For some
+-  # reason, if we set the COLLECT_NAMES environment variable, the problems
+-  # vanish in a puff of smoke.
+-  if test "X${COLLECT_NAMES+set}" != Xset; then
+-    COLLECT_NAMES=
+-    export COLLECT_NAMES
++hard_links="nottested"
++if test "$_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
++  # do not overwrite the value of need_locks provided by the user
++  AC_MSG_CHECKING([if we can lock with hard links])
++  hard_links=yes
++  $rm conftest*
++  ln conftest.a conftest.b 2>/dev/null && hard_links=no
++  touch conftest.a
++  ln conftest.a conftest.b 2>&5 || hard_links=no
++  ln conftest.a conftest.b 2>/dev/null && hard_links=no
++  AC_MSG_RESULT([$hard_links])
++  if test "$hard_links" = no; then
++    AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe])
++    need_locks=warn
+   fi
+-  ;;
+-esac
+-
+-# Determine commands to create old-style static archives.
+-old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
+-old_postinstall_cmds='chmod 644 $oldlib'
+-old_postuninstall_cmds=
+-
+-if test -n "$RANLIB"; then
+-  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
+-  old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
++else
++  need_locks=no
+ fi
++])# AC_LIBTOOL_SYS_HARD_LINK_LOCKS
+ 
+-# Allow CC to be a program name with arguments.
+-set dummy $CC
+-compiler="[$]2"
+ 
+-AC_MSG_CHECKING([for objdir])
+-rm -f .libs 2>/dev/null
++# AC_LIBTOOL_OBJDIR
++# -----------------
++AC_DEFUN([AC_LIBTOOL_OBJDIR],
++[AC_CACHE_CHECK([for objdir], [lt_cv_objdir],
++[rm -f .libs 2>/dev/null
+ mkdir .libs 2>/dev/null
+ if test -d .libs; then
+-  objdir=.libs
++  lt_cv_objdir=.libs
+ else
+   # MS-DOS does not allow filenames that begin with a dot.
+-  objdir=_libs
++  lt_cv_objdir=_libs
+ fi
+-rmdir .libs 2>/dev/null
+-AC_MSG_RESULT($objdir)
+-
+-
+-AC_ARG_WITH(pic, 
+-[  --with-pic              try to use only PIC/non-PIC objects [default=use both]],
+-pic_mode="$withval", pic_mode=default)
+-test -z "$pic_mode" && pic_mode=default
++rmdir .libs 2>/dev/null])
++objdir=$lt_cv_objdir
++])# AC_LIBTOOL_OBJDIR
+ 
+-# We assume here that the value for lt_cv_prog_cc_pic will not be cached
+-# in isolation, and that seeing it set (from the cache) indicates that
+-# the associated values are set (in the cache) correctly too.
+-AC_MSG_CHECKING([for $compiler option to produce PIC])
+-AC_CACHE_VAL(lt_cv_prog_cc_pic,
+-[ lt_cv_prog_cc_pic=
+-  lt_cv_prog_cc_shlib=
+-  lt_cv_prog_cc_wl=
+-  lt_cv_prog_cc_static=
+-  lt_cv_prog_cc_no_builtin=
+-  lt_cv_prog_cc_can_build_shared=$can_build_shared
+ 
+-  if test "$GCC" = yes; then
+-    lt_cv_prog_cc_wl='-Wl,'
+-    lt_cv_prog_cc_static='-static'
++# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([TAGNAME])
++# ----------------------------------------------
++# Check hardcoding attributes.
++AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH],
++[AC_MSG_CHECKING([how to hardcode library paths into programs])
++_LT_AC_TAGVAR(hardcode_action, $1)=
++if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \
++   test -n "$_LT_AC_TAGVAR(runpath_var $1)"; then
+ 
+-    case $host_os in
+-    aix*)
+-      # Below there is a dirty hack to force normal static linking with -ldl
+-      # The problem is because libdl dynamically linked with both libc and
+-      # libC (AIX C++ library), which obviously doesn't included in libraries
+-      # list by gcc. This cause undefined symbols with -static flags.
+-      # This hack allows C programs to be linked with "-static -ldl", but
+-      # we not sure about C++ programs.
+-      lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC"
+-      ;;
+-    amigaos*)
+-      # FIXME: we need at least 68020 code to build shared libraries, but
+-      # adding the `-m68020' flag to GCC prevents building anything better,
+-      # like `-m68040'.
+-      lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4'
+-      ;;
+-    beos* | irix5* | irix6* | osf3* | osf4* | osf5*)
+-      # PIC is the default for these OSes.
+-      ;;
+-    darwin* | rhapsody*)
+-      # PIC is the default on this platform
+-      # Common symbols not allowed in MH_DYLIB files
+-      lt_cv_prog_cc_pic='-fno-common'
+-      ;;
+-    cygwin* | mingw* | pw32* | os2*)
+-      # This hack is so that the source file can tell whether it is being
+-      # built for inclusion in a dll (and should export symbols for example).
+-      lt_cv_prog_cc_pic='-DDLL_EXPORT'
+-      ;;
+-    sysv4*MP*)
+-      if test -d /usr/nec; then
+-	 lt_cv_prog_cc_pic=-Kconform_pic
+-      fi
+-      ;;
+-    *)
+-      lt_cv_prog_cc_pic='-fPIC'
+-      ;;
+-    esac
++  # We can hardcode non-existant directories.
++  if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no &&
++     # If the only mechanism to avoid hardcoding is shlibpath_var, we
++     # have to relink, otherwise we might link with an installed library
++     # when we should be linking with a yet-to-be-installed one
++     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
++     test "$_LT_AC_TAGVAR(hardcode_minus_L, $1)" != no; then
++    # Linking always hardcodes the temporary library directory.
++    _LT_AC_TAGVAR(hardcode_action, $1)=relink
+   else
+-    # PORTME Check for PIC flags for the system compiler.
+-    case $host_os in
+-    aix3* | aix4* | aix5*)
+-      # All AIX code is PIC.
+-      if test "$host_cpu" = ia64; then
+-        # AIX 5 now supports IA64 processor
+-        lt_cv_prog_cc_static='-Bstatic'
+-        lt_cv_prog_cc_wl='-Wl,'
+-      else
+-        lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp'
+-      fi
+-      ;;
++    # We can link without hardcoding, and we can hardcode nonexisting dirs.
++    _LT_AC_TAGVAR(hardcode_action, $1)=immediate
++  fi
++else
++  # We cannot hardcode anything, or else we can only hardcode existing
++  # directories.
++  _LT_AC_TAGVAR(hardcode_action, $1)=unsupported
++fi
++AC_MSG_RESULT([$_LT_AC_TAGVAR(hardcode_action, $1)])
+ 
+-    hpux9* | hpux10* | hpux11*)
+-      # Is there a better lt_cv_prog_cc_static that works with the bundled CC?
+-      lt_cv_prog_cc_wl='-Wl,'
+-      lt_cv_prog_cc_static="${lt_cv_prog_cc_wl}-a ${lt_cv_prog_cc_wl}archive"
+-      lt_cv_prog_cc_pic='+Z'
+-      ;;
++if test "$_LT_AC_TAGVAR(hardcode_action, $1)" = relink; then
++  # Fast installation is not supported
++  enable_fast_install=no
++elif test "$shlibpath_overrides_runpath" = yes ||
++     test "$enable_shared" = no; then
++  # Fast installation is not necessary
++  enable_fast_install=needless
++fi
++])# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH
+ 
+-    irix5* | irix6*)
+-      lt_cv_prog_cc_wl='-Wl,'
+-      lt_cv_prog_cc_static='-non_shared'
+-      # PIC (with -KPIC) is the default.
+-      ;;
+ 
+-    cygwin* | mingw* | pw32* | os2*)
+-      # This hack is so that the source file can tell whether it is being
+-      # built for inclusion in a dll (and should export symbols for example).
+-      lt_cv_prog_cc_pic='-DDLL_EXPORT'
+-      ;;
++# AC_LIBTOOL_SYS_LIB_STRIP
++# ------------------------
++AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP],
++[striplib=
++old_striplib=
++AC_MSG_CHECKING([whether stripping libraries is possible])
++if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
++  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
++  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
++  AC_MSG_RESULT([yes])
++else
++  AC_MSG_RESULT([no])
++fi
++])# AC_LIBTOOL_SYS_LIB_STRIP
+ 
+-    newsos6)
+-      lt_cv_prog_cc_pic='-KPIC'
+-      lt_cv_prog_cc_static='-Bstatic'
+-      ;;
+ 
+-    osf3* | osf4* | osf5*)
+-      # All OSF/1 code is PIC.
+-      lt_cv_prog_cc_wl='-Wl,'
+-      lt_cv_prog_cc_static='-non_shared'
+-      ;;
++# AC_LIBTOOL_SYS_DYNAMIC_LINKER
++# -----------------------------
++# PORTME Fill in your ld.so characteristics
++AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER],
++[AC_MSG_CHECKING([dynamic linker characteristics])
++library_names_spec=
++libname_spec='lib$name'
++soname_spec=
++postinstall_cmds=
++postuninstall_cmds=
++finish_cmds=
++finish_eval=
++shlibpath_var=
++shlibpath_overrides_runpath=unknown
++version_type=none
++dynamic_linker="$host_os ld.so"
++sys_lib_dlsearch_path_spec="/lib /usr/lib"
++sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
++need_lib_prefix=unknown
++hardcode_into_libs=no
+ 
+-    sco3.2v5*)
+-      lt_cv_prog_cc_pic='-Kpic'
+-      lt_cv_prog_cc_static='-dn'
+-      lt_cv_prog_cc_shlib='-belf'
+-      ;;
++# when you set need_version to no, make sure it does not cause -set_version
++# flags to be left without arguments
++need_version=unknown
+ 
+-    solaris*)
+-      lt_cv_prog_cc_pic='-KPIC'
+-      lt_cv_prog_cc_static='-Bstatic'
+-      lt_cv_prog_cc_wl='-Wl,'
+-      ;;
++case $host_os in
++aix3*)
++  version_type=linux
++  library_names_spec='${libname}${release}.so$versuffix $libname.a'
++  shlibpath_var=LIBPATH
+ 
+-    sunos4*)
+-      lt_cv_prog_cc_pic='-PIC'
+-      lt_cv_prog_cc_static='-Bstatic'
+-      lt_cv_prog_cc_wl='-Qoption ld '
+-      ;;
++  # AIX 3 has no versioning support, so we append a major version to the name.
++  soname_spec='${libname}${release}.so$major'
++  ;;
+ 
+-    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
+-      lt_cv_prog_cc_pic='-KPIC'
+-      lt_cv_prog_cc_static='-Bstatic'
+-      if test "x$host_vendor" = xsni; then
+-        lt_cv_prog_cc_wl='-LD'
++aix4* | aix5*)
++  version_type=linux
++  if test "$host_cpu" = ia64; then
++    # AIX 5 supports IA64
++    library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so'
++    shlibpath_var=LD_LIBRARY_PATH
++  else
++    # With GCC up to 2.95.x, collect2 would create an import file
++    # for dependence libraries.  The import file would start with
++    # the line `#! .'.  This would cause the generated library to
++    # depend on `.', always an invalid library.  This was fixed in
++    # development snapshots of GCC prior to 3.0.
++    case $host_os in
++      [ aix4 | aix4.[01] | aix4.[01].*)]
++      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
++           echo ' yes '
++           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
++        :
+       else
+-        lt_cv_prog_cc_wl='-Wl,'
+-      fi
+-      ;;
+-
+-    uts4*)
+-      lt_cv_prog_cc_pic='-pic'
+-      lt_cv_prog_cc_static='-Bstatic'
+-      ;;
+-
+-    sysv4*MP*)
+-      if test -d /usr/nec ;then
+-	lt_cv_prog_cc_pic='-Kconform_pic'
+-	lt_cv_prog_cc_static='-Bstatic'
++        can_build_shared=no
+       fi
+       ;;
+-
+-    *)
+-      lt_cv_prog_cc_can_build_shared=no
+-      ;;
+     esac
++    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
++    # soname into executable. Probably we can add versioning support to
++    # collect2, so additional links can be useful in future.
++    if test "$aix_use_runtimelinking" = yes; then
++      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
++      # instead of lib<name>.a to let people know that these are not
++      # typical AIX shared libraries.
++      library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++    else
++      # We preserve .a as extension for shared libraries through AIX4.2
++      # and later when we are not doing run time linking.
++      library_names_spec='${libname}${release}.a $libname.a'
++      soname_spec='${libname}${release}.so$major'
++    fi
++    shlibpath_var=LIBPATH
++    deplibs_check_method=pass_all
+   fi
+-])
+-if test -z "$lt_cv_prog_cc_pic"; then
+-  AC_MSG_RESULT([none])
+-else
+-  AC_MSG_RESULT([$lt_cv_prog_cc_pic])
++  ;;
+ 
+-  # Check to make sure the pic_flag actually works.
+-  AC_MSG_CHECKING([if $compiler PIC flag $lt_cv_prog_cc_pic works])
+-  AC_CACHE_VAL(lt_cv_prog_cc_pic_works, [dnl
+-    save_CFLAGS="$CFLAGS"
+-    CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"
+-    AC_TRY_COMPILE([], [], [dnl
+-      case $host_os in
+-      hpux9* | hpux10* | hpux11*)
+-	# On HP-UX, both CC and GCC only warn that PIC is supported... then
+-	# they create non-PIC objects.  So, if there were any warnings, we
+-	# assume that PIC is not supported.
+-	if test -s conftest.err; then
+-	  lt_cv_prog_cc_pic_works=no
+-	else
+-	  lt_cv_prog_cc_pic_works=yes
+-	fi
+-	;;
+-      *)
+-	lt_cv_prog_cc_pic_works=yes
+-	;;
+-      esac
+-    ], [dnl
+-      lt_cv_prog_cc_pic_works=no
+-    ])
+-    CFLAGS="$save_CFLAGS"
+-  ])
++amigaos*)
++  library_names_spec='$libname.ixlibrary $libname.a'
++  # Create ${libname}_ixlibrary.a entries in /sys/libs.
++  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | [$Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\'']`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done'
++  ;;
+ 
+-  if test "X$lt_cv_prog_cc_pic_works" = Xno; then
+-    lt_cv_prog_cc_pic=
+-    lt_cv_prog_cc_can_build_shared=no
+-  else
+-    lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic"
+-  fi
+-
+-  AC_MSG_RESULT([$lt_cv_prog_cc_pic_works])
+-fi
+-
+-# Check for any special shared library compilation flags.
+-if test -n "$lt_cv_prog_cc_shlib"; then
+-  AC_MSG_WARN([\`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries])
+-  if echo "$old_CC $old_CFLAGS " | [egrep -e "[ 	]$lt_cv_prog_cc_shlib[ 	]"] >/dev/null; then :
+-  else
+-   AC_MSG_WARN([add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure])
+-    lt_cv_prog_cc_can_build_shared=no
+-  fi
+-fi
+-
+-AC_MSG_CHECKING([if $compiler static flag $lt_cv_prog_cc_static works])
+-AC_CACHE_VAL([lt_cv_prog_cc_static_works], [dnl
+-  lt_cv_prog_cc_static_works=no
+-  save_LDFLAGS="$LDFLAGS"
+-  LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"
+-  AC_TRY_LINK([], [], [lt_cv_prog_cc_static_works=yes])
+-  LDFLAGS="$save_LDFLAGS"
+-])
+-
+-# Belt *and* braces to stop my trousers falling down:
+-test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static=
+-AC_MSG_RESULT([$lt_cv_prog_cc_static_works])
+-
+-pic_flag="$lt_cv_prog_cc_pic"
+-special_shlib_compile_flags="$lt_cv_prog_cc_shlib"
+-wl="$lt_cv_prog_cc_wl"
+-link_static_flag="$lt_cv_prog_cc_static"
+-no_builtin_flag="$lt_cv_prog_cc_no_builtin"
+-can_build_shared="$lt_cv_prog_cc_can_build_shared"
+-
+-
+-# Check to see if options -o and -c are simultaneously supported by compiler
+-AC_MSG_CHECKING([if $compiler supports -c -o file.$ac_objext])
+-AC_CACHE_VAL([lt_cv_compiler_c_o], [
+-$rm -r conftest 2>/dev/null
+-mkdir conftest
+-cd conftest
+-echo "int some_variable = 0;" > conftest.$ac_ext
+-mkdir out
+-# According to Tom Tromey, Ian Lance Taylor reported there are C compilers
+-# that will create temporary files in the current directory regardless of
+-# the output directory.  Thus, making CWD read-only will cause this test
+-# to fail, enabling locking or at least warning the user not to do parallel
+-# builds.
+-chmod -w .
+-save_CFLAGS="$CFLAGS"
+-CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
+-compiler_c_o=no
+-if { (eval echo configure:__oline__: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
+-  # The compiler can only warn and ignore the option if not recognized
+-  # So say no if there are warnings
+-  if test -s out/conftest.err; then
+-    lt_cv_compiler_c_o=no
+-  else
+-    lt_cv_compiler_c_o=yes
+-  fi
+-else
+-  # Append any errors to the config.log.
+-  cat out/conftest.err 1>&AC_FD_CC
+-  lt_cv_compiler_c_o=no
+-fi
+-CFLAGS="$save_CFLAGS"
+-chmod u+w .
+-$rm conftest* out/*
+-rmdir out
+-cd ..
+-rmdir conftest
+-$rm -r conftest 2>/dev/null
+-])
+-compiler_c_o=$lt_cv_compiler_c_o
+-AC_MSG_RESULT([$compiler_c_o])
+-
+-if test x"$compiler_c_o" = x"yes"; then
+-  # Check to see if we can write to a .lo
+-  AC_MSG_CHECKING([if $compiler supports -c -o file.lo])
+-  AC_CACHE_VAL([lt_cv_compiler_o_lo], [
+-  lt_cv_compiler_o_lo=no
+-  save_CFLAGS="$CFLAGS"
+-  CFLAGS="$CFLAGS -c -o conftest.lo"
+-  AC_TRY_COMPILE([], [int some_variable = 0;], [dnl
+-    # The compiler can only warn and ignore the option if not recognized
+-    # So say no if there are warnings
+-    if test -s conftest.err; then
+-      lt_cv_compiler_o_lo=no
+-    else
+-      lt_cv_compiler_o_lo=yes
+-    fi
+-  ])
+-  CFLAGS="$save_CFLAGS"
+-  ])
+-  compiler_o_lo=$lt_cv_compiler_o_lo
+-  AC_MSG_RESULT([$compiler_c_lo])
+-else
+-  compiler_o_lo=no
+-fi
+-
+-# Check to see if we can do hard links to lock some files if needed
+-hard_links="nottested"
+-if test "$compiler_c_o" = no && test "$need_locks" != no; then
+-  # do not overwrite the value of need_locks provided by the user
+-  AC_MSG_CHECKING([if we can lock with hard links])
+-  hard_links=yes
+-  $rm conftest*
+-  ln conftest.a conftest.b 2>/dev/null && hard_links=no
+-  touch conftest.a
+-  ln conftest.a conftest.b 2>&5 || hard_links=no
+-  ln conftest.a conftest.b 2>/dev/null && hard_links=no
+-  AC_MSG_RESULT([$hard_links])
+-  if test "$hard_links" = no; then
+-    AC_MSG_WARN([\`$CC' does not support \`-c -o', so \`make -j' may be unsafe])
+-    need_locks=warn
+-  fi
+-else
+-  need_locks=no
+-fi
+-
+-if test "$GCC" = yes; then
+-  # Check to see if options -fno-rtti -fno-exceptions are supported by compiler
+-  AC_MSG_CHECKING([if $compiler supports -fno-rtti -fno-exceptions])
+-  echo "int some_variable = 0;" > conftest.$ac_ext
+-  save_CFLAGS="$CFLAGS"
+-  CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"
+-  compiler_rtti_exceptions=no
+-  AC_TRY_COMPILE([], [int some_variable = 0;], [dnl
+-    # The compiler can only warn and ignore the option if not recognized
+-    # So say no if there are warnings
+-    if test -s conftest.err; then
+-      compiler_rtti_exceptions=no
+-    else
+-      compiler_rtti_exceptions=yes
+-    fi
+-  ])
+-  CFLAGS="$save_CFLAGS"
+-  AC_MSG_RESULT([$compiler_rtti_exceptions])
+-
+-  if test "$compiler_rtti_exceptions" = "yes"; then
+-    no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions'
+-  else
+-    no_builtin_flag=' -fno-builtin'
+-  fi
+-fi
+-
+-# See if the linker supports building shared libraries.
+-AC_MSG_CHECKING([whether the linker ($LD) supports shared libraries])
+-
+-allow_undefined_flag=
+-no_undefined_flag=
+-need_lib_prefix=unknown
+-need_version=unknown
+-# when you set need_version to no, make sure it does not cause -set_version
+-# flags to be left without arguments
+-archive_cmds=
+-archive_expsym_cmds=
+-old_archive_from_new_cmds=
+-old_archive_from_expsyms_cmds=
+-export_dynamic_flag_spec=
+-whole_archive_flag_spec=
+-thread_safe_flag_spec=
+-hardcode_into_libs=no
+-hardcode_libdir_flag_spec=
+-hardcode_libdir_separator=
+-hardcode_direct=no
+-hardcode_minus_L=no
+-hardcode_shlibpath_var=unsupported
+-runpath_var=
+-link_all_deplibs=unknown
+-always_export_symbols=no
+-export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols'
+-# include_expsyms should be a list of space-separated symbols to be *always*
+-# included in the symbol list
+-include_expsyms=
+-# exclude_expsyms can be an egrep regular expression of symbols to exclude
+-# it will be wrapped by ` (' and `)$', so one must not match beginning or
+-# end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
+-# as well as any symbol that contains `d'.
+-exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
+-# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
+-# platforms (ab)use it in PIC code, but their linkers get confused if
+-# the symbol is explicitly referenced.  Since portable code cannot
+-# rely on this symbol name, it's probably fine to never include it in
+-# preloaded symbol tables.
+-extract_expsyms_cmds=
+-
+-case $host_os in
+-cygwin* | mingw* | pw32* )
+-  # FIXME: the MSVC++ port hasn't been tested in a loooong time
+-  # When not using gcc, we currently assume that we are using
+-  # Microsoft Visual C++.
+-  if test "$GCC" != yes; then
+-    with_gnu_ld=no
+-  fi
++beos*)
++  library_names_spec='${libname}.so'
++  dynamic_linker="$host_os ld.so"
++  shlibpath_var=LIBRARY_PATH
+   ;;
+ 
+-esac
+-
+-ld_shlibs=yes
+-if test "$with_gnu_ld" = yes; then
+-  # If archive_cmds runs LD, not CC, wlarc should be empty
+-  wlarc='${wl}'
+-
+-  # See if GNU ld supports shared libraries.
+-  case $host_os in
+-  aix3* | aix4* | aix5*)
+-    # On AIX, the GNU linker is very broken
+-    # Note:Check GNU linker on AIX 5-IA64 when/if it becomes available.
+-    ld_shlibs=no
+-    cat <<EOF 1>&2
+-
+-*** Warning: the GNU linker, at least up to release 2.9.1, is reported
+-*** to be unable to reliably create shared libraries on AIX.
+-*** Therefore, libtool is disabling shared libraries support.  If you
+-*** really care for shared libraries, you may want to modify your PATH
+-*** so that a non-GNU linker is found, and then restart.
++bsdi4*)
++  version_type=linux
++  need_version=no
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  soname_spec='${libname}${release}.so$major'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
++  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
++  # the default ld.so.conf also contains /usr/contrib/lib and
++  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
++  # libtool to hard-code these into programs
++  ;;
+ 
+-EOF
++cygwin* | mingw* | pw32*)
++  version_type=windows
++  need_version=no
++  need_lib_prefix=no
++  case $GCC,$host_os in
++  yes,cygwin*)
++    library_names_spec='$libname.dll.a'
++    sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
++    soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | [sed -e 's/[.]/-/g']`${versuffix}.dll'
++    postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~
++      dldir=$destdir/`dirname \$dlpath`~
++      test -d \$dldir || mkdir -p \$dldir~
++      $install_prog .libs/$dlname \$dldir/$dlname'
++    postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~
++      dlpath=$dir/\$dldll~
++       $rm \$dlpath'
+     ;;
+-
+-  amigaos*)
+-    archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
+-    hardcode_libdir_flag_spec='-L$libdir'
+-    hardcode_minus_L=yes
+-
+-    # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
+-    # that the semantics of dynamic libraries on AmigaOS, at least up
+-    # to version 4, is to share data among multiple programs linked
+-    # with the same dynamic library.  Since this doesn't match the
+-    # behavior of shared libraries on other platforms, we can use
+-    # them.
+-    ld_shlibs=no
++  yes,mingw*)
++    library_names_spec='${libname}`echo ${release} | [sed -e 's/[.]/-/g']`${versuffix}.dll'
++    sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g"`
+     ;;
+-
+-  beos*)
+-    if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
+-      allow_undefined_flag=unsupported
+-      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
+-      # support --undefined.  This deserves some investigation.  FIXME
+-      archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+-    else
+-      ld_shlibs=no
+-    fi
++  yes,pw32*)
++    library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
++    ;;
++  *)
++    library_names_spec='${libname}`echo ${release} | [sed -e 's/[.]/-/g']`${versuffix}.dll $libname.lib'
+     ;;
++  esac
++  dynamic_linker='Win32 ld.exe'
++  # FIXME: first we should search . and the directory the executable is in
++  shlibpath_var=PATH
++  ;;
+ 
+-  cygwin* | mingw* | pw32*)
+-    # hardcode_libdir_flag_spec is actually meaningless, as there is
+-    # no search path for DLLs.
+-    hardcode_libdir_flag_spec='-L$libdir'
+-    allow_undefined_flag=unsupported
+-    always_export_symbols=yes
+-
+-    extract_expsyms_cmds='test -f $output_objdir/impgen.c || \
+-      sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~
+-      test -f $output_objdir/impgen.exe || (cd $output_objdir && \
+-      if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \
+-      else $CC -o impgen impgen.c ; fi)~
+-      $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def'
+-
+-    old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib'
+-
+-    # cygwin and mingw dlls have different entry points and sets of symbols
+-    # to exclude.
+-    # FIXME: what about values for MSVC?
+-    dll_entry=__cygwin_dll_entry@12
+-    dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~
+-    case $host_os in
+-    mingw*)
+-      # mingw values
+-      dll_entry=_DllMainCRTStartup@12
+-      dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~
+-      ;;
+-    esac
++darwin* | rhapsody*)
++  dynamic_linker="$host_os dyld"
++  version_type=darwin
++  need_lib_prefix=no
++  need_version=no
++  # FIXME: Relying on posixy $() will cause problems for
++  #        cross-compilation, but unfortunately the echo tests do not
++  #        yet detect zsh echo's removal of \ escapes.
++  library_names_spec='${libname}${release}${versuffix}.$(test .$module = .yes && echo so || echo dylib) ${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib) ${libname}.$(test .$module = .yes && echo so || echo dylib)'
++  soname_spec='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)'
++  shlibpath_overrides_runpath=yes
++  shlibpath_var=DYLD_LIBRARY_PATH
++  ;;
+ 
+-    # mingw and cygwin differ, and it's simplest to just exclude the union
+-    # of the two symbol sets.
+-    dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12
+-
+-    # recent cygwin and mingw systems supply a stub DllMain which the user
+-    # can override, but on older systems we have to supply one (in ltdll.c)
+-    if test "x$lt_cv_need_dllmain" = "xyes"; then
+-      ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext "
+-      ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < [$]0 > $output_objdir/$soname-ltdll.c~
+-	test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~'
+-    else
+-      ltdll_obj=
+-      ltdll_cmds=
+-    fi
++dgux*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  soname_spec='${libname}${release}.so$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
+ 
+-    # Extract the symbol export list from an `--export-all' def file,
+-    # then regenerate the def file from the symbol export list, so that
+-    # the compiled dll only exports the symbol export list.
+-    # Be careful not to strip the DATA tag left be newer dlltools.
+-    export_symbols_cmds="$ltdll_cmds"'
+-      $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~
+-      [sed -e "1,/EXPORTS/d" -e "s/ @ [0-9]*//" -e "s/ *;.*$//"] < $output_objdir/$soname-def > $export_symbols'
+-
+-    # If the export-symbols file already is a .def file (1st line
+-    # is EXPORTS), use it as is.
+-    # If DATA tags from a recent dlltool are present, honour them!
+-    archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then
+-        cp $export_symbols $output_objdir/$soname-def;
+-      else
+-        echo EXPORTS > $output_objdir/$soname-def;
+-        _lt_hint=1;
+-        cat $export_symbols | while read symbol; do
+-         set dummy \$symbol;
+-         case \[$]# in
+-           2) echo "   \[$]2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
+-           *) echo "     \[$]2 @ \$_lt_hint \[$]3 ; " >> $output_objdir/$soname-def;;
+-         esac;
+-         _lt_hint=`expr 1 + \$_lt_hint`;
+-        done;
+-      fi~
+-      '"$ltdll_cmds"'
+-      $CC -Wl,--base-file,$output_objdir/$soname-base '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
+-      $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp~
+-      $CC -Wl,--base-file,$output_objdir/$soname-base $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
+-      $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp --output-lib $output_objdir/$libname.dll.a~
+-      $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags'
+-    ;;
++freebsd1*)
++  dynamic_linker=no
++  ;;
+ 
+-  netbsd*)
+-    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
+-      archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
+-      wlarc=
+-    else
+-      archive_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+-      archive_expsym_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+-    fi
++freebsd*)
++  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
++  version_type=freebsd-$objformat
++  case $version_type in
++    freebsd-elf*)
++      library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
++      need_version=no
++      need_lib_prefix=no
++      ;;
++    freebsd-*)
++      library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix'
++      need_version=yes
++      ;;
++  esac
++  shlibpath_var=LD_LIBRARY_PATH
++  case $host_os in
++  freebsd2*)
++    shlibpath_overrides_runpath=yes
+     ;;
++  freebsd3.[01]* | freebsdelf3.[01]*)
++    shlibpath_overrides_runpath=yes
++    hardcode_into_libs=yes
++    ;;
++  *) # from 3.2 on
++    shlibpath_overrides_runpath=no
++    hardcode_into_libs=yes
++    ;;
++  esac
++  ;;
+ 
+-  solaris* | sysv5*)
+-    if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then
+-      ld_shlibs=no
+-      cat <<EOF 1>&2
+-
+-*** Warning: The releases 2.8.* of the GNU linker cannot reliably
+-*** create shared libraries on Solaris systems.  Therefore, libtool
+-*** is disabling shared libraries support.  We urge you to upgrade GNU
+-*** binutils to release 2.9.1 or newer.  Another option is to modify
+-*** your PATH or compiler configuration so that the native linker is
+-*** used, and then restart.
++gnu*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so'
++  soname_spec='${libname}${release}.so$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  hardcode_into_libs=yes
++  ;;
+ 
+-EOF
+-    elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
+-      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+-      archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+-    else
+-      ld_shlibs=no
+-    fi
+-    ;;
++hpux9* | hpux10* | hpux11*)
++  # Give a soname corresponding to the major version so that dld.sl refuses to
++  # link against other versions.
++  dynamic_linker="$host_os dld.sl"
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=no
++  shlibpath_var=SHLIB_PATH
++  shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
++  library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl'
++  soname_spec='${libname}${release}.sl$major'
++  # HP-UX runs *really* slowly unless shared libraries are mode 555.
++  postinstall_cmds='chmod 555 $lib'
++  ;;
+ 
+-  sunos4*)
+-    archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
+-    wlarc=
+-    hardcode_direct=yes
+-    hardcode_shlibpath_var=no
++irix5* | irix6*)
++  version_type=irix
++  need_lib_prefix=no
++  need_version=no
++  soname_spec='${libname}${release}.so$major'
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so'
++  case $host_os in
++  irix5*)
++    libsuff= shlibsuff=
+     ;;
+-
+   *)
+-    if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
+-      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+-      archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+-    else
+-      ld_shlibs=no
+-    fi
++    case $LD in # libtool.m4 will add one of these switches to LD
++    *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;;
++    *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;;
++    *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;;
++    *) libsuff= shlibsuff= libmagic=never-match;;
++    esac
+     ;;
+   esac
++  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
++  shlibpath_overrides_runpath=no
++  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
++  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
++  ;;
+ 
+-  if test "$ld_shlibs" = yes; then
+-    runpath_var=LD_RUN_PATH
+-    hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
+-    export_dynamic_flag_spec='${wl}--export-dynamic'
+-    case $host_os in
+-    cygwin* | mingw* | pw32*)
+-      # dlltool doesn't understand --whole-archive et. al.
+-      whole_archive_flag_spec=
+-      ;;
+-    *)
+-      # ancient GNU ld didn't support --whole-archive et. al.
+-      if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then
+-	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
+-      else
+-	whole_archive_flag_spec=
+-      fi
+-      ;;
+-    esac
+-  fi
+-else
+-  # PORTME fill in a description of your system's linker (not GNU ld)
+-  case $host_os in
+-  aix3*)
+-    allow_undefined_flag=unsupported
+-    always_export_symbols=yes
+-    archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
+-    # Note: this linker hardcodes the directories in LIBPATH if there
+-    # are no directories specified by -L.
+-    hardcode_minus_L=yes
+-    if test "$GCC" = yes && test -z "$link_static_flag"; then
+-      # Neither direct hardcoding nor static linking is supported with a
+-      # broken collect2.
+-      hardcode_direct=unsupported
+-    fi
+-    ;;
+-
+-  aix4* | aix5*)
+-    # When large executables or shared objects are built, AIX ld can
+-    # have problems creating the table of contents.  If linking a library
+-    # or program results in "error TOC overflow" add -mminimal-toc to
+-    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
+-    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
++# No shared lib support for Linux oldld, aout, or coff.
++linux*oldld* | linux*aout* | linux*coff*)
++  dynamic_linker=no
++  ;;
+ 
+-    archive_cmds=''
+-    hardcode_libdir_separator=':'
+-    if test "$GCC" = yes; then
+-      collect2name=`${CC} -print-prog-name=collect2`
+-      if test -f "$collect2name" && \
+-	 strings "$collect2name" | grep resolve_lib_name >/dev/null
+-      then
+-	# We have reworked collect2
+-	hardcode_direct=yes
+-      else
+-        # We have old collect2
+-        hardcode_direct=unsupported
+-        # It fails to find uninstalled libraries when the uninstalled
+-        # path is not listed in the libpath.  Setting hardcode_minus_L
+-        # to unsupported forces relinking
+-        hardcode_minus_L=yes
+-        hardcode_libdir_flag_spec='-L$libdir'
+-        hardcode_libdir_separator=
+-      fi
+-      shared_flag='-shared'
+-    else
+-      if test "$host_cpu" = ia64; then
+-        shared_flag='-G'
+-      else
+-        shared_flag='${wl}-bM:SRE'
+-      fi
+-      hardcode_direct=yes
+-    fi
++# This must be Linux ELF.
++linux*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  soname_spec='${libname}${release}.so$major'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=no
++  # This implies no fast_install, which is unacceptable.
++  # Some rework will be needed to allow for fast_install
++  # before this can be enabled.
++  hardcode_into_libs=yes
+ 
+-    if test "$host_cpu" = ia64; then
+-      # On IA64, the linker does run time linking by default, so we don't
+-      # have to do anything special.
+-      aix_use_runtimelinking=no
+-      exp_sym_flag='-Bexport'
+-      no_entry_flag=""
+-    else
+-      # Test if we are trying to use run time linking, or normal AIX style linking.
+-      # If -brtl is somewhere in LDFLAGS, we need to do run time linking.
+-      aix_use_runtimelinking=no
+-      for ld_flag in $LDFLAGS; do
+-        if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl" ); then
+-          aix_use_runtimelinking=yes
+-          break
+-        fi
+-      done
+-      exp_sym_flag='-bexport'
+-      no_entry_flag='-bnoentry'
+-    fi
+-    # It seems that -bexpall can do strange things, so it is better to
+-    # generate a list of symbols to export.
+-    always_export_symbols=yes
+-    if test "$aix_use_runtimelinking" = yes; then
+-      hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib'
+-      allow_undefined_flag=' -Wl,-G'
+-      archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
+-    else
+-      if test "$host_cpu" = ia64; then
+-        hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
+-       allow_undefined_flag="-znodefs"
+-        archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
+-      else
+-        hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib'
+-        # Warning - without using the other run time loading flags, -berok will
+-        #           link without error, but may produce a broken library.
+-        allow_undefined_flag='${wl}-berok"
+-        # This is a bit strange, but is similar to how AIX traditionally builds
+-        # it's shared libraries.
+-        archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $objdir/$libname$release.a $objdir/$soname'
+-      fi
+-    fi
+-    ;;
++  # We used to test for /lib/ld.so.1 and disable shared libraries on
++  # powerpc, because MkLinux only supported shared libraries with the
++  # GNU dynamic linker.  Since this was broken with cross compilers,
++  # most powerpc-linux boxes support dynamic linking these days and
++  # people can always --disable-shared, the test was removed, and we
++  # assume the GNU/Linux dynamic linker is in use.
++  dynamic_linker='GNU/Linux ld.so'
++  ;;
+ 
+-  amigaos*)
+-    archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
+-    hardcode_libdir_flag_spec='-L$libdir'
+-    hardcode_minus_L=yes
+-    # see comment about different semantics on the GNU ld section
+-    ld_shlibs=no
+-    ;;
++netbsd*)
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=no
++  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++    library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
++    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
++    dynamic_linker='NetBSD (a.out) ld.so'
++  else
++    library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so'
++    soname_spec='${libname}${release}.so$major'
++    dynamic_linker='NetBSD ld.elf_so'
++  fi
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  hardcode_into_libs=yes
++  ;;
+ 
+-  cygwin* | mingw* | pw32*)
+-    # When not using gcc, we currently assume that we are using
+-    # Microsoft Visual C++.
+-    # hardcode_libdir_flag_spec is actually meaningless, as there is
+-    # no search path for DLLs.
+-    hardcode_libdir_flag_spec=' '
+-    allow_undefined_flag=unsupported
+-    # Tell ltmain to make .lib files, not .a files.
+-    libext=lib
+-    # FIXME: Setting linknames here is a bad hack.
+-    archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames='
+-    # The linker will automatically build a .lib file if we build a DLL.
+-    old_archive_from_new_cmds='true'
+-    # FIXME: Should let the user specify the lib program.
+-    old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
+-    fix_srcfile_path='`cygpath -w "$srcfile"`'
+-    ;;
+-
+-  darwin* | rhapsody*)
+-    allow_undefined_flag='-undefined suppress'
+-    # FIXME: Relying on posixy $() will cause problems for
+-    #        cross-compilation, but unfortunately the echo tests do not
+-    #        yet detect zsh echo's removal of \ escapes.
+-    archive_cmds='$CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linkopts -install_name $rpath/$soname $(test -n "$verstring" -a x$verstring != x0.0 && echo $verstring)'
+-    # We need to add '_' to the symbols in $export_symbols first
+-    #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
+-    hardcode_direct=yes
+-    hardcode_shlibpath_var=no
+-    whole_archive_flag_spec='-all_load $convenience'
+-    ;;
+-
+-  freebsd1*)
+-    ld_shlibs=no
+-    ;;
+-
+-  # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
+-  # support.  Future versions do this automatically, but an explicit c++rt0.o
+-  # does not break anything, and helps significantly (at the cost of a little
+-  # extra space).
+-  freebsd2.2*)
+-    archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
+-    hardcode_libdir_flag_spec='-R$libdir'
+-    hardcode_direct=yes
+-    hardcode_shlibpath_var=no
+-    ;;
++newsos6)
++  version_type=linux
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  ;;
+ 
+-  # Unfortunately, older versions of FreeBSD 2 do not have this feature.
+-  freebsd2*)
+-    archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
+-    hardcode_direct=yes
+-    hardcode_minus_L=yes
+-    hardcode_shlibpath_var=no
+-    ;;
++nto-qnx)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  soname_spec='${libname}${release}.so$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  ;;
+ 
+-  # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
+-  freebsd*)
+-    archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
+-    hardcode_libdir_flag_spec='-R$libdir'
+-    hardcode_direct=yes
+-    hardcode_shlibpath_var=no
+-    ;;
++openbsd*)
++  version_type=sunos
++  library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  file_magic_cmd=/usr/bin/file
++  file_magic_test_file=`echo /usr/lib/libc.so.*`
++  if [ "`echo __ELF__ | $CC -E - | grep __ELF__`" = "" -o "$host_os-$host_cpu" = "openbsd2.8-powerpc" ]; then
++    deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
++  else
++    deplibs_check_method='file_magic OpenBSD.* shared library'
++  fi
++  ;;
+ 
+-  hpux9* | hpux10* | hpux11*)
+-    case $host_os in
+-    hpux9*) archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ;;
+-    *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;;
+-    esac
+-    hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
+-    hardcode_libdir_separator=:
+-    hardcode_direct=yes
+-    hardcode_minus_L=yes # Not in the search PATH, but as the default
+-			 # location of the library.
+-    export_dynamic_flag_spec='${wl}-E'
+-    ;;
++os2*)
++  libname_spec='$name'
++  need_lib_prefix=no
++  library_names_spec='$libname.dll $libname.a'
++  dynamic_linker='OS/2 ld.exe'
++  shlibpath_var=LIBPATH
++  ;;
+ 
+-  irix5* | irix6*)
+-    if test "$GCC" = yes; then
+-      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+-    else
+-      archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
+-    fi
+-    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
+-    hardcode_libdir_separator=:
+-    link_all_deplibs=yes
+-    ;;
++osf3* | osf4* | osf5*)
++  version_type=osf
++  need_version=no
++  soname_spec='${libname}${release}.so'
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
++  shlibpath_var=LD_LIBRARY_PATH
++  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
++  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
++  ;;
+ 
+-  netbsd*)
+-    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
+-      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
+-    else
+-      archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
+-    fi
+-    hardcode_libdir_flag_spec='-R$libdir'
+-    hardcode_direct=yes
+-    hardcode_shlibpath_var=no
+-    ;;
++sco3.2v5*)
++  version_type=osf
++  soname_spec='${libname}${release}.so$major'
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
+ 
+-  newsos6)
+-    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linkopts'
+-    hardcode_direct=yes
+-    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
+-    hardcode_libdir_separator=:
+-    hardcode_shlibpath_var=no
+-    ;;
++solaris*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  soname_spec='${libname}${release}.so$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  hardcode_into_libs=yes
++  # ldd complains unless libraries are executable
++  postinstall_cmds='chmod +x $lib'
++  ;;
+ 
+-  openbsd*)
+-    archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
+-    hardcode_libdir_flag_spec='-R$libdir'
+-    hardcode_direct=yes
+-    hardcode_shlibpath_var=no
+-    ;;
++sunos4*)
++  version_type=sunos
++  library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
++  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  if test "$with_gnu_ld" = yes; then
++    need_lib_prefix=no
++  fi
++  need_version=yes
++  ;;
+ 
+-  os2*)
+-    hardcode_libdir_flag_spec='-L$libdir'
+-    hardcode_minus_L=yes
+-    allow_undefined_flag=unsupported
+-    archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
+-    old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
+-    ;;
++sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
++  version_type=linux
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  soname_spec='${libname}${release}.so$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  case $host_vendor in
++    sni)
++      shlibpath_overrides_runpath=no
++      ;;
++    motorola)
++      need_lib_prefix=no
++      need_version=no
++      shlibpath_overrides_runpath=no
++      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
++      ;;
++  esac
++  ;;
+ 
+-  osf3*)
+-    if test "$GCC" = yes; then
+-      allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
+-      archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+-    else
+-      allow_undefined_flag=' -expect_unresolved \*'
+-      archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
+-    fi
+-    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
+-    hardcode_libdir_separator=:
+-    ;;
++sysv4*MP*)
++  if test -d /usr/nec ;then
++    version_type=linux
++    library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so'
++    soname_spec='$libname.so.$major'
++    shlibpath_var=LD_LIBRARY_PATH
++  fi
++  ;;
+ 
+-  osf4* | osf5*)	# as osf3* with the addition of -msym flag
+-    if test "$GCC" = yes; then
+-      allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
+-      archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+-      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
+-    else
+-      allow_undefined_flag=' -expect_unresolved \*'
+-      archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
+-      archive_expsym_cmds='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
+-      $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
++uts4*)
++  version_type=linux
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  soname_spec='${libname}${release}.so$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
+ 
+-      #Both c and cxx compiler support -rpath directly
+-      hardcode_libdir_flag_spec='-rpath $libdir'
+-    fi
+-    hardcode_libdir_separator=:
+-    ;;
++*)
++  dynamic_linker=no
++  ;;
++esac
++AC_MSG_RESULT([$dynamic_linker])
++test "$dynamic_linker" = no && can_build_shared=no
++])# AC_LIBTOOL_SYS_DYNAMIC_LINKER
+ 
+-  sco3.2v5*)
+-    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+-    hardcode_shlibpath_var=no
+-    runpath_var=LD_RUN_PATH
+-    hardcode_runpath_var=yes
+-    ;;
+ 
+-  solaris*)
+-    no_undefined_flag=' -z defs'
+-    # $CC -shared without GNU ld will not create a library from C++
+-    # object files and a static libstdc++, better avoid it by now
+-    archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
+-    archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
+-		$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
+-    hardcode_libdir_flag_spec='-R$libdir'
+-    hardcode_shlibpath_var=no
+-    case $host_os in
+-    [solaris2.[0-5] | solaris2.[0-5].*]) ;;
+-    *) # Supported since Solaris 2.6 (maybe 2.5.1?)
+-      whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
+-    esac
+-    link_all_deplibs=yes
+-    ;;
++# _LT_AC_TAGCONFIG
++# ----------------
++AC_DEFUN([_LT_AC_TAGCONFIG],
++[AC_REQUIRE([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR])dnl
++AC_ARG_WITH(tags, 
++  [  --with-tags=TAGS        include additional configurations [CXX,GCJ]],
++  [tagnames="$withval"],
++  [tagnames="CXX,GCJ"])
++
++if test -f "$ltmain" && test -n "$tagnames"; then
++  if test ! -f "${ofile}"; then
++    AC_MSG_WARN([output file `$ofile' does not exist])
++  fi
+ 
+-  sunos4*)
+-    if test "x$host_vendor" = xsequent; then
+-      # Use $CC to link under sequent, because it throws in some extra .o
+-      # files that make .init and .fini sections work.
+-      archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
++  if test -z "$LTCC"; then
++    eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
++    if test -z "$LTCC"; then
++      AC_MSG_WARN([output file `$ofile' does not look like a libtool script])
+     else
+-      archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
++      AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile'])
+     fi
+-    hardcode_libdir_flag_spec='-L$libdir'
+-    hardcode_direct=yes
+-    hardcode_minus_L=yes
+-    hardcode_shlibpath_var=no
+-    ;;
++  fi
+ 
+-  sysv4)
+-    if test "x$host_vendor" = xsno; then
+-      archive_cmds='$LD -G -Bsymbolic -h $soname -o $lib $libobjs $deplibs $linkopts'
+-      hardcode_direct=yes # is this really true???
+-    else
+-      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+-      hardcode_direct=no #Motorola manual says yes, but my tests say they lie
++  # Extract list of available tagged configurations in $ofile.
++  # Note that this assumes the entire list is on one line.
++  available_tags=`grep "^available_tags=" "${ofile}" | sed -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
++
++  IFS="${IFS= 	}"; lt_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:},"
++  for tagname in $tagnames; do
++    IFS="$lt_save_ifs"
++    # Check whether tagname contains only valid characters
++    [case `$echo "X$tagname" | $Xsed -e 's/[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]//g'` in]
++    "") ;;
++    *)  AC_MSG_ERROR([invalid tag name: $tagname])
++        ;;
++    esac
++
++    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
++    then
++      AC_MSG_ERROR([tag name $tagname already exists])
+     fi
+-    runpath_var='LD_RUN_PATH'
+-    hardcode_shlibpath_var=no
+-    ;;
+ 
+-  sysv4.3*)
+-    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+-    hardcode_shlibpath_var=no
+-    export_dynamic_flag_spec='-Bexport'
+-    ;;
+-
+-  sysv5*)
+-    no_undefined_flag=' -z text'
+-    # $CC -shared without GNU ld will not create a library from C++
+-    # object files and a static libstdc++, better avoid it by now
+-    archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
+-    archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
+-		$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
+-    hardcode_libdir_flag_spec=
+-    hardcode_shlibpath_var=no
+-    runpath_var='LD_RUN_PATH'
+-    ;;
+-
+-  uts4*)
+-    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+-    hardcode_libdir_flag_spec='-L$libdir'
+-    hardcode_shlibpath_var=no
+-    ;;
++    # Update the list of available tags.
++    if test -n "$tagname"; then
++      echo appending configuration tag \"$tagname\" to $ofile
++
++      case $tagname in
++      CXX) 
++        AC_LIBTOOL_LANG_CXX_CONFIG
++        ;;
++
++      GCJ)
++        AC_LIBTOOL_LANG_GCJ_CONFIG
++        ;;
+ 
+-  dgux*)
+-    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+-    hardcode_libdir_flag_spec='-L$libdir'
+-    hardcode_shlibpath_var=no
+-    ;;
++      *)
++        AC_MSG_ERROR([Unsupported tag name: $tagname])
++        ;;
++      esac
+ 
+-  sysv4*MP*)
+-    if test -d /usr/nec; then
+-      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+-      hardcode_shlibpath_var=no
+-      runpath_var=LD_RUN_PATH
+-      hardcode_runpath_var=yes
+-      ld_shlibs=yes
++      # Append the new tag name to the list of available tags.
++      available_tags="$available_tags $tagname"
+     fi
+-    ;;
++  done
++  IFS="$lt_save_ifs"
+ 
+-  sysv4.2uw2*)
+-    archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
+-    hardcode_direct=yes
+-    hardcode_minus_L=no
+-    hardcode_shlibpath_var=no
+-    hardcode_runpath_var=yes
+-    runpath_var=LD_RUN_PATH
+-    ;;
++  # Now substitute the updated list of available tags.
++  if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
++    mv "${ofile}T" "$ofile"
++    chmod +x "$ofile"
++  else
++    rm -f "${ofile}T"
++    AC_MSG_ERROR([unable to update list of available tagged configurations.])
++  fi
++fi
++])# _LT_AC_TAGCONFIG
+ 
+-  sysv5uw7* | unixware7*)
+-    no_undefined_flag='${wl}-z ${wl}text'
+-    if test "$GCC" = yes; then
+-      archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
+-    else
+-      archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
+-    fi
+-    runpath_var='LD_RUN_PATH'
+-    hardcode_shlibpath_var=no
+-    ;;
+ 
+-  *)
+-    ld_shlibs=no
+-    ;;
+-  esac
+-fi
+-AC_MSG_RESULT([$ld_shlibs])
+-test "$ld_shlibs" = no && can_build_shared=no
++# AC_LIBTOOL_DLOPEN
++# -----------------
++# enable checks for dlopen support
++AC_DEFUN([AC_LIBTOOL_DLOPEN],
++ [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])
++])# AC_LIBTOOL_DLOPEN
+ 
+-# Check hardcoding attributes.
+-AC_MSG_CHECKING([how to hardcode library paths into programs])
+-hardcode_action=
+-if test -n "$hardcode_libdir_flag_spec" || \
+-   test -n "$runpath_var"; then
+ 
+-  # We can hardcode non-existant directories.
+-  if test "$hardcode_direct" != no &&
+-     # If the only mechanism to avoid hardcoding is shlibpath_var, we
+-     # have to relink, otherwise we might link with an installed library
+-     # when we should be linking with a yet-to-be-installed one
+-     ## test "$hardcode_shlibpath_var" != no &&
+-     test "$hardcode_minus_L" != no; then
+-    # Linking always hardcodes the temporary library directory.
+-    hardcode_action=relink
+-  else
+-    # We can link without hardcoding, and we can hardcode nonexisting dirs.
+-    hardcode_action=immediate
+-  fi
+-else
+-  # We cannot hardcode anything, or else we can only hardcode existing
+-  # directories.
+-  hardcode_action=unsupported
+-fi
+-AC_MSG_RESULT([$hardcode_action])
++# AC_LIBTOOL_WIN32_DLL
++# --------------------
++# declare package support for building win32 dll's
++AC_DEFUN([AC_LIBTOOL_WIN32_DLL],
++[AC_BEFORE([$0], [AC_LIBTOOL_SETUP])
++])# AC_LIBTOOL_WIN32_DLL
+ 
+-striplib=
+-old_striplib=
+-AC_MSG_CHECKING([whether stripping libraries is possible])
+-if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
+-  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
+-  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
+-  AC_MSG_RESULT([yes])
+-else
+-  AC_MSG_RESULT([no])
+-fi
+ 
+-reload_cmds='$LD$reload_flag -o $output$reload_objs'
+-test -z "$deplibs_check_method" && deplibs_check_method=unknown
++# AC_ENABLE_SHARED([DEFAULT])
++# ---------------------------
++# implement the --enable-shared flag
++# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
++AC_DEFUN([AC_ENABLE_SHARED],
++[AC_REQUIRE([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR])dnl
++define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl
++AC_ARG_ENABLE(shared,
++changequote(<<, >>)dnl
++<<  --enable-shared[=PKGS]  build shared libraries [default=>>AC_ENABLE_SHARED_DEFAULT],
++changequote([, ])dnl
++[p=${PACKAGE-default}
++case $enableval in
++yes) enable_shared=yes ;;
++no) enable_shared=no ;;
++*)
++  enable_shared=no
++  # Look at the argument we got.  We use all the common list separators.
++  IFS="${IFS= 	}"; lt_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:},"
++  for pkg in $enableval; do
++    IFS="$lt_save_ifs"
++    if test "X$pkg" = "X$p"; then
++      enable_shared=yes
++    fi
++  done
++  IFS="$lt_save_ifs"
++  ;;
++esac],
++enable_shared=AC_ENABLE_SHARED_DEFAULT)dnl
++])# AC_ENABLE_SHARED
+ 
+-# PORTME Fill in your ld.so characteristics
+-AC_MSG_CHECKING([dynamic linker characteristics])
+-library_names_spec=
+-libname_spec='lib$name'
+-soname_spec=
+-postinstall_cmds=
+-postuninstall_cmds=
+-finish_cmds=
+-finish_eval=
+-shlibpath_var=
+-shlibpath_overrides_runpath=unknown
+-version_type=none
+-dynamic_linker="$host_os ld.so"
+-sys_lib_dlsearch_path_spec="/lib /usr/lib"
+-sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
+ 
+-case $host_os in
+-aix3*)
+-  version_type=linux
+-  library_names_spec='${libname}${release}.so$versuffix $libname.a'
+-  shlibpath_var=LIBPATH
++# AC_DISABLE_SHARED
++# -----------------
++#- set the default shared flag to --disable-shared
++AC_DEFUN([AC_DISABLE_SHARED],
++[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
++AC_ENABLE_SHARED(no)
++])# AC_DISABLE_SHARED
+ 
+-  # AIX has no versioning support, so we append a major version to the name.
+-  soname_spec='${libname}${release}.so$major'
+-  ;;
+ 
+-aix4* | aix5*)
+-  version_type=linux
+-  if test "$host_cpu" = ia64; then
+-    # AIX 5 supports IA64
+-    library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so'
+-    shlibpath_var=LD_LIBRARY_PATH
+-  else
+-    # With GCC up to 2.95.x, collect2 would create an import file
+-    # for dependence libraries.  The import file would start with
+-    # the line `#! .'.  This would cause the generated library to
+-    # depend on `.', always an invalid library.  This was fixed in
+-    # development snapshots of GCC prior to 3.0.
+-    case $host_os in
+-      [ aix4 | aix4.[01] | aix4.[01].*)]
+-      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
+-           echo ' yes '
+-           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
+-        :
+-      else
+-        can_build_shared=no
+-      fi
+-      ;;
+-    esac
+-    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
+-    # soname into executable. Probably we can add versioning support to
+-    # collect2, so additional links can be useful in future.
+-    if test "$aix_use_runtimelinking" = yes; then
+-      # If using run time linking (on AIX 4.2 or later) use lib<name>.so instead of
+-      # lib<name>.a to let people know that these are not typical AIX shared libraries.
+-      library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
+-    else
+-      # We preserve .a as extension for shared libraries through AIX4.2
+-      # and later when we are not doing run time linking.
+-      library_names_spec='${libname}${release}.a $libname.a'
+-      soname_spec='${libname}${release}.so$major'
++# AC_ENABLE_STATIC([DEFAULT])
++# ---------------------------
++# implement the --enable-static flag
++# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
++AC_DEFUN([AC_ENABLE_STATIC],
++[AC_REQUIRE([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR])dnl
++define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl
++AC_ARG_ENABLE(static,
++changequote(<<, >>)dnl
++<<  --enable-static[=PKGS]  build static libraries [default=>>AC_ENABLE_STATIC_DEFAULT],
++changequote([, ])dnl
++[p=${PACKAGE-default}
++case $enableval in
++yes) enable_static=yes ;;
++no) enable_static=no ;;
++*)
++  enable_static=no
++  # Look at the argument we got.  We use all the common list separators.
++  IFS="${IFS= 	}"; lt_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:},"
++  for pkg in $enableval; do
++    IFS="$lt_save_ifs"
++    if test "X$pkg" = "X$p"; then
++      enable_static=yes
+     fi
+-    shlibpath_var=LIBPATH
+-    deplibs_check_method=pass_all
+-  fi
++  done
++  IFS="$lt_save_ifs"
+   ;;
++esac],
++enable_static=AC_ENABLE_STATIC_DEFAULT)dnl
++])# AC_ENABLE_STATIC
+ 
+-amigaos*)
+-  library_names_spec='$libname.ixlibrary $libname.a'
+-  # Create ${libname}_ixlibrary.a entries in /sys/libs.
+-  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | [$Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\'']`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done'
+-  ;;
+ 
+-beos*)
+-  library_names_spec='${libname}.so'
+-  dynamic_linker="$host_os ld.so"
+-  shlibpath_var=LIBRARY_PATH
+-  ;;
++# AC_DISABLE_STATIC
++# -----------------
++# set the default static flag to --disable-static
++AC_DEFUN([AC_DISABLE_STATIC],
++[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
++AC_ENABLE_STATIC(no)
++])# AC_DISABLE_STATIC
+ 
+-bsdi4*)
+-  version_type=linux
+-  need_version=no
+-  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
+-  soname_spec='${libname}${release}.so$major'
+-  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
+-  shlibpath_var=LD_LIBRARY_PATH
+-  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
+-  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
+-  export_dynamic_flag_spec=-rdynamic
+-  # the default ld.so.conf also contains /usr/contrib/lib and
+-  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
+-  # libtool to hard-code these into programs
+-  ;;
+ 
+-cygwin* | mingw* | pw32*)
+-  version_type=windows
+-  need_version=no
+-  need_lib_prefix=no
+-  case $GCC,$host_os in
+-  yes,cygwin*)
+-    library_names_spec='$libname.dll.a'
+-    soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | [sed -e 's/[.]/-/g']`${versuffix}.dll'
+-    postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~
+-      dldir=$destdir/`dirname \$dlpath`~
+-      test -d \$dldir || mkdir -p \$dldir~
+-      $install_prog .libs/$dlname \$dldir/$dlname'
+-    postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~
+-      dlpath=$dir/\$dldll~
+-       $rm \$dlpath'
+-    ;;
+-  yes,mingw*)
+-    library_names_spec='${libname}`echo ${release} | [sed -e 's/[.]/-/g']`${versuffix}.dll'
+-    sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g"`
+-    ;;
+-  yes,pw32*)
+-    library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
+-    ;;
+-  *)
+-    library_names_spec='${libname}`echo ${release} | [sed -e 's/[.]/-/g']`${versuffix}.dll $libname.lib'
+-    ;;
+-  esac
+-  dynamic_linker='Win32 ld.exe'
+-  # FIXME: first we should search . and the directory the executable is in
+-  shlibpath_var=PATH
++# AC_ENABLE_FAST_INSTALL([DEFAULT])
++# ---------------------------------
++# implement the --enable-fast-install flag
++# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
++AC_DEFUN([AC_ENABLE_FAST_INSTALL],
++[AC_REQUIRE([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR])dnl
++define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl
++AC_ARG_ENABLE(fast-install,
++changequote(<<, >>)dnl
++<<  --enable-fast-install[=PKGS]  optimize for fast installation [default=>>AC_ENABLE_FAST_INSTALL_DEFAULT],
++changequote([, ])dnl
++[p=${PACKAGE-default}
++case $enableval in
++yes) enable_fast_install=yes ;;
++no) enable_fast_install=no ;;
++*)
++  enable_fast_install=no
++  # Look at the argument we got.  We use all the common list separators.
++  IFS="${IFS= 	}"; lt_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:},"
++  for pkg in $enableval; do
++    IFS="$lt_save_ifs"
++    if test "X$pkg" = "X$p"; then
++      enable_fast_install=yes
++    fi
++  done
++  IFS="$lt_save_ifs"
+   ;;
++esac],
++enable_fast_install=AC_ENABLE_FAST_INSTALL_DEFAULT)dnl
++])# AC_ENABLE_FAST_INSTALL
+ 
+-darwin* | rhapsody*)
+-  dynamic_linker="$host_os dyld"
+-  version_type=darwin
+-  need_lib_prefix=no
+-  need_version=no
+-  # FIXME: Relying on posixy $() will cause problems for
+-  #        cross-compilation, but unfortunately the echo tests do not
+-  #        yet detect zsh echo's removal of \ escapes.
+-  library_names_spec='${libname}${release}${versuffix}.$(test .$module = .yes && echo so || echo dylib) ${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib) ${libname}.$(test .$module = .yes && echo so || echo dylib)'
+-  soname_spec='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)'
+-  shlibpath_overrides_runpath=yes
+-  shlibpath_var=DYLD_LIBRARY_PATH
+-  ;;
+ 
+-freebsd1*)
+-  dynamic_linker=no
+-  ;;
++# AC_DISABLE_FAST_INSTALL
++# -----------------------
++# set the default to --disable-fast-install
++AC_DEFUN([AC_DISABLE_FAST_INSTALL],
++[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
++AC_ENABLE_FAST_INSTALL(no)
++])# AC_DISABLE_FAST_INSTALL
+ 
+-freebsd*)
+-  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
+-  version_type=freebsd-$objformat
+-  case $version_type in
+-    freebsd-elf*)
+-      library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
+-      need_version=no
+-      need_lib_prefix=no
+-      ;;
+-    freebsd-*)
+-      library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix'
+-      need_version=yes
+-      ;;
+-  esac
+-  shlibpath_var=LD_LIBRARY_PATH
+-  case $host_os in
+-  freebsd2*)
+-    shlibpath_overrides_runpath=yes
+-    ;;
+-  *)
+-    shlibpath_overrides_runpath=no
+-    hardcode_into_libs=yes
+-    ;;
+-  esac
+-  ;;
+ 
+-gnu*)
+-  version_type=linux
+-  need_lib_prefix=no
+-  need_version=no
+-  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so'
+-  soname_spec='${libname}${release}.so$major'
+-  shlibpath_var=LD_LIBRARY_PATH
+-  hardcode_into_libs=yes
+-  ;;
++# AC_LIBTOOL_PICMODE([MODE])
++# --------------------------
++# implement the --with-pic flag
++# MODE is either `yes' or `no'.  If omitted, it defaults to `both'.
++AC_DEFUN([AC_LIBTOOL_PICMODE],
++[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
++pic_mode=ifelse($#,1,$1,default)
++])# AC_LIBTOOL_PICMODE
+ 
+-hpux9* | hpux10* | hpux11*)
+-  # Give a soname corresponding to the major version so that dld.sl refuses to
+-  # link against other versions.
+-  dynamic_linker="$host_os dld.sl"
+-  version_type=sunos
+-  need_lib_prefix=no
+-  need_version=no
+-  shlibpath_var=SHLIB_PATH
+-  shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
+-  library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl'
+-  soname_spec='${libname}${release}.sl$major'
+-  # HP-UX runs *really* slowly unless shared libraries are mode 555.
+-  postinstall_cmds='chmod 555 $lib'
++
++# AC_PATH_TOOL_PREFIX
++# -------------------
++# find a file program which can recognise shared library
++AC_DEFUN([AC_PATH_TOOL_PREFIX],
++[AC_REQUIRE([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR])dnl
++AC_MSG_CHECKING([for $1])
++AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
++[case $MAGIC_CMD in
++[\\/*] |  ?:[\\/]*)
++  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
+   ;;
++*)
++  lt_save_MAGIC_CMD="$MAGIC_CMD"
++  IFS="${IFS=   }"; lt_save_ifs="$IFS"; IFS="${PATH_SEPARATOR-:}"
++dnl $ac_dummy forces splitting on constant user-supplied paths.
++dnl POSIX.2 word splitting is done only on the output of word expansions,
++dnl not every word.  This closes a longstanding sh security hole.
++  ac_dummy="ifelse([$2], , $PATH, [$2])"
++  for ac_dir in $ac_dummy; do
++    IFS="$lt_save_ifs"
++    test -z "$ac_dir" && ac_dir=.
++    if test -f $ac_dir/$1; then
++      lt_cv_path_MAGIC_CMD="$ac_dir/$1"
++      if test -n "$file_magic_test_file"; then
++	case $deplibs_check_method in
++	"file_magic "*)
++	  file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
++	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
++	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
++	    egrep "$file_magic_regex" > /dev/null; then
++	    :
++	  else
++	    cat <<EOF 1>&2
+ 
+-irix5* | irix6*)
+-  version_type=irix
+-  need_lib_prefix=no
+-  need_version=no
+-  soname_spec='${libname}${release}.so$major'
+-  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so'
+-  case $host_os in
+-  irix5*)
+-    libsuff= shlibsuff=
++*** Warning: the command libtool uses to detect shared libraries,
++*** $file_magic_cmd, produces output that libtool cannot recognize.
++*** The result is that libtool may fail to recognize shared libraries
++*** as such.  This will affect the creation of libtool libraries that
++*** depend on shared libraries, but programs linked with such libtool
++*** libraries will work regardless of this problem.  Nevertheless, you
++*** may want to report the problem to your system manager and/or to
++*** bug-libtool@gnu.org
++
++EOF
++	  fi ;;
++	esac
++      fi
++      break
++    fi
++  done
++  IFS="$lt_save_ifs"
++  MAGIC_CMD="$lt_save_MAGIC_CMD"
++  ;;
++esac])
++MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
++if test -n "$MAGIC_CMD"; then
++  AC_MSG_RESULT($MAGIC_CMD)
++else
++  AC_MSG_RESULT(no)
++fi
++])# AC_PATH_TOOL_PREFIX
++
++
++# AC_PATH_MAGIC
++# -------------
++# find a file program which can recognise a shared library
++AC_DEFUN([AC_PATH_MAGIC],
++[AC_REQUIRE([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR])dnl
++AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin${PATH_SEPARATOR-:}$PATH)
++if test -z "$lt_cv_path_MAGIC_CMD"; then
++  if test -n "$ac_tool_prefix"; then
++    AC_PATH_TOOL_PREFIX(file, /usr/bin${PATH_SEPARATOR-:}$PATH)
++  else
++    MAGIC_CMD=:
++  fi
++fi
++])# AC_PATH_MAGIC
++
++
++# AC_PROG_LD
++# ----------
++# find the path to the GNU or non-GNU linker
++AC_DEFUN([AC_PROG_LD],
++[AC_ARG_WITH(gnu-ld,
++  [  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]],
++  test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no)
++AC_REQUIRE([AC_PROG_CC])dnl
++AC_REQUIRE([AC_CANONICAL_HOST])dnl
++AC_REQUIRE([AC_CANONICAL_BUILD])dnl
++AC_REQUIRE([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR])dnl
++ac_prog=ld
++if test "$GCC" = yes; then
++  # Check if gcc -print-prog-name=ld gives a path.
++  AC_MSG_CHECKING([for ld used by GCC])
++  case $host in
++  *-*-mingw*)
++    # gcc leaves a trailing carriage return which upsets mingw
++    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
++  *)
++    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
++  esac
++  case $ac_prog in
++    # Accept absolute paths.
++    [[\\/]]* | ?:[[\\/]]*)
++      [re_direlt='/[^/][^/]*/\.\./']
++      # Canonicalize the path of ld
++      ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
++      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
++	ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
++      done
++      test -z "$LD" && LD="$ac_prog"
++      ;;
++  "")
++    # If it fails, then pretend we aren't using GCC.
++    ac_prog=ld
+     ;;
+   *)
+-    case $LD in # libtool.m4 will add one of these switches to LD
+-    *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;;
+-    *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;;
+-    *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;;
+-    *) libsuff= shlibsuff= libmagic=never-match;;
+-    esac
++    # If it is relative, then search for the first ld in PATH.
++    with_gnu_ld=unknown
+     ;;
+   esac
+-  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
+-  shlibpath_overrides_runpath=no
+-  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
+-  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
+-  ;;
++elif test "$with_gnu_ld" = yes; then
++  AC_MSG_CHECKING([for GNU ld])
++else
++  AC_MSG_CHECKING([for non-GNU ld])
++fi
++AC_CACHE_VAL(lt_cv_path_LD,
++[if test -z "$LD"; then
++  IFS="${IFS= 	}"; lt_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
++  for ac_dir in $PATH; do
++    IFS="$lt_save_ifs"
++    test -z "$ac_dir" && ac_dir=.
++    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
++      lt_cv_path_LD="$ac_dir/$ac_prog"
++      # Check to see if the program is GNU ld.  I'd rather use --version,
++      # but apparently some GNU ld's only accept -v.
++      # Break only if it was the GNU/non-GNU ld that we prefer.
++      if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
++	test "$with_gnu_ld" != no && break
++      else
++	test "$with_gnu_ld" != yes && break
++      fi
++    fi
++  done
++  IFS="$lt_save_ifs"
++else
++  lt_cv_path_LD="$LD" # Let the user override the test with a path.
++fi])
++LD="$lt_cv_path_LD"
++if test -n "$LD"; then
++  AC_MSG_RESULT($LD)
++else
++  AC_MSG_RESULT(no)
++fi
++test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
++AC_PROG_LD_GNU
++])# AC_PROG_LD
+ 
+-# No shared lib support for Linux oldld, aout, or coff.
+-linux-gnuoldld* | linux-gnuaout* | linux-gnucoff*)
+-  dynamic_linker=no
+-  ;;
+ 
+-# This must be Linux ELF.
+-linux-gnu*)
+-  version_type=linux
+-  need_lib_prefix=no
+-  need_version=no
+-  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
+-  soname_spec='${libname}${release}.so$major'
+-  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
+-  shlibpath_var=LD_LIBRARY_PATH
+-  shlibpath_overrides_runpath=no
+-  # This implies no fast_install, which is unacceptable.
+-  # Some rework will be needed to allow for fast_install
+-  # before this can be enabled.
+-  hardcode_into_libs=yes
++# AC_PROG_LD_GNU
++# --------------
++AC_DEFUN([AC_PROG_LD_GNU],
++[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
++[# I'd rather use --version here, but apparently some GNU ld's only accept -v.
++if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
++  lt_cv_prog_gnu_ld=yes
++else
++  lt_cv_prog_gnu_ld=no
++fi])
++with_gnu_ld=$lt_cv_prog_gnu_ld
++])# AC_PROG_LD_GNU
+ 
+-  # We used to test for /lib/ld.so.1 and disable shared libraries on
+-  # powerpc, because MkLinux only supported shared libraries with the
+-  # GNU dynamic linker.  Since this was broken with cross compilers,
+-  # most powerpc-linux boxes support dynamic linking these days and
+-  # people can always --disable-shared, the test was removed, and we
+-  # assume the GNU/Linux dynamic linker is in use.
+-  dynamic_linker='GNU/Linux ld.so'
+-  ;;
+ 
+-netbsd*)
+-  version_type=sunos
+-  need_lib_prefix=no
+-  need_version=no
+-  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
+-    library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
+-    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
+-    dynamic_linker='NetBSD (a.out) ld.so'
+-  else
+-    library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so'
+-    soname_spec='${libname}${release}.so$major'
+-    dynamic_linker='NetBSD ld.elf_so'
+-  fi
+-  shlibpath_var=LD_LIBRARY_PATH
+-  shlibpath_overrides_runpath=yes
+-  hardcode_into_libs=yes
+-  ;;
++# AC_PROG_LD_RELOAD_FLAG
++# ----------------------
++# find reload flag for linker
++#   -- PORTME Some linkers may need a different reload flag.
++AC_DEFUN([AC_PROG_LD_RELOAD_FLAG],
++[AC_CACHE_CHECK([for $LD option to reload object files],
++  lt_cv_ld_reload_flag,
++  [lt_cv_ld_reload_flag='-r'])
++reload_flag=$lt_cv_ld_reload_flag
++case $reload_flag in
++"" | " "*) ;;
++*) reload_flag=" $reload_flag" ;;
++esac
++reload_cmds='$LD$reload_flag -o $output$reload_objs'
++])# AC_PROG_LD_RELOAD_FLAG
+ 
+-newsos6)
+-  version_type=linux
+-  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
+-  shlibpath_var=LD_LIBRARY_PATH
+-  shlibpath_overrides_runpath=yes
+-  ;;
+ 
+-openbsd*)
+-  version_type=sunos
+-  if test "$with_gnu_ld" = yes; then
+-    need_lib_prefix=no
+-    need_version=no
+-  fi
+-  library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
+-  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
+-  shlibpath_var=LD_LIBRARY_PATH
++# AC_DEPLIBS_CHECK_METHOD
++# -----------------------
++# how to check for library dependencies
++#  -- PORTME fill in with the dynamic library characteristics
++AC_DEFUN([AC_DEPLIBS_CHECK_METHOD],
++[AC_CACHE_CHECK([how to recognise dependant libraries],
++lt_cv_deplibs_check_method,
++[lt_cv_file_magic_cmd='$MAGIC_CMD'
++lt_cv_file_magic_test_file=
++lt_cv_deplibs_check_method='unknown'
++# Need to set the preceding variable on all platforms that support
++# interlibrary dependencies.
++# 'none' -- dependencies not supported.
++# `unknown' -- same as none, but documents that we really don't know.
++# 'pass_all' -- all dependencies passed with no checks.
++# 'test_compile' -- check by making test program.
++# ['file_magic [regex]'] -- check by looking for files in library path
++# which responds to the $file_magic_cmd with a given egrep regex.
++# If you have `file' or equivalent on your system and you're not sure
++# whether `pass_all' will *always* work, you probably want this one.
++
++case $host_os in
++aix4* | aix5*)
++  lt_cv_deplibs_check_method=pass_all
+   ;;
+ 
+-os2*)
+-  libname_spec='$name'
+-  need_lib_prefix=no
+-  library_names_spec='$libname.dll $libname.a'
+-  dynamic_linker='OS/2 ld.exe'
+-  shlibpath_var=LIBPATH
++beos*)
++  lt_cv_deplibs_check_method=pass_all
+   ;;
+ 
+-osf3* | osf4* | osf5*)
+-  version_type=osf
+-  need_version=no
+-  soname_spec='${libname}${release}.so'
+-  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
+-  shlibpath_var=LD_LIBRARY_PATH
+-  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
+-  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
++bsdi4*)
++  [lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)']
++  lt_cv_file_magic_cmd='/usr/bin/file -L'
++  lt_cv_file_magic_test_file=/shlib/libc.so
+   ;;
+ 
+-sco3.2v5*)
+-  version_type=osf
+-  soname_spec='${libname}${release}.so$major'
+-  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
+-  shlibpath_var=LD_LIBRARY_PATH
++cygwin* | mingw* | pw32*)
++  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
++  lt_cv_file_magic_cmd='$OBJDUMP -f'
+   ;;
+ 
+-solaris*)
+-  version_type=linux
+-  need_lib_prefix=no
+-  need_version=no
+-  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
+-  soname_spec='${libname}${release}.so$major'
+-  shlibpath_var=LD_LIBRARY_PATH
+-  shlibpath_overrides_runpath=yes
+-  hardcode_into_libs=yes
+-  # ldd complains unless libraries are executable
+-  postinstall_cmds='chmod +x $lib'
++darwin* | rhapsody*)
++  lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
++  lt_cv_file_magic_cmd='/usr/bin/file -L'
++  case "$host_os" in
++  rhapsody* | darwin1.[012])
++    lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System`
++    ;;
++  *) # Darwin 1.3 on
++    lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
++    ;;
++  esac
+   ;;
+ 
+-sunos4*)
+-  version_type=sunos
+-  library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
+-  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
+-  shlibpath_var=LD_LIBRARY_PATH
+-  shlibpath_overrides_runpath=yes
+-  if test "$with_gnu_ld" = yes; then
+-    need_lib_prefix=no
++freebsd*)
++  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
++    case $host_cpu in
++    i*86 )
++      # Not sure whether the presence of OpenBSD here was a mistake.
++      # Let's accept both of them until this is cleared up.
++      [lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library']
++      lt_cv_file_magic_cmd=/usr/bin/file
++      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
++      ;;
++    esac
++  else
++    lt_cv_deplibs_check_method=pass_all
+   fi
+-  need_version=yes
+   ;;
+ 
+-sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
+-  version_type=linux
+-  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
+-  soname_spec='${libname}${release}.so$major'
+-  shlibpath_var=LD_LIBRARY_PATH
+-  case $host_vendor in
+-    sni)
+-      shlibpath_overrides_runpath=no
+-      ;;
+-    motorola)
+-      need_lib_prefix=no
+-      need_version=no
+-      shlibpath_overrides_runpath=no
+-      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
+-      ;;
+-  esac
++gnu*)
++  lt_cv_deplibs_check_method=pass_all
+   ;;
+ 
+-uts4*)
+-  version_type=linux
+-  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
+-  soname_spec='${libname}${release}.so$major'
+-  shlibpath_var=LD_LIBRARY_PATH
++hpux10.20* | hpux11*)
++  [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library']
++  lt_cv_file_magic_cmd=/usr/bin/file
++  lt_cv_file_magic_test_file=/usr/lib/libc.sl
+   ;;
+ 
+-dgux*)
+-  version_type=linux
+-  need_lib_prefix=no
+-  need_version=no
+-  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
+-  soname_spec='${libname}${release}.so$major'
+-  shlibpath_var=LD_LIBRARY_PATH
++irix5* | irix6*)
++  case $host_os in
++  irix5*)
++    # this will be overridden with pass_all, but let us keep it just in case
++    lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
++    ;;
++  *)
++    case $LD in
++    *-32|*"-32 ") libmagic=32-bit;;
++    *-n32|*"-n32 ") libmagic=N32;;
++    *-64|*"-64 ") libmagic=64-bit;;
++    *) libmagic=never-match;;
++    esac
++    # this will be overridden with pass_all, but let us keep it just in case
++    [lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"]
++    ;;
++  esac
++  lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
++  lt_cv_deplibs_check_method=pass_all
+   ;;
+ 
+-sysv4*MP*)
+-  if test -d /usr/nec ;then
+-    version_type=linux
+-    library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so'
+-    soname_spec='$libname.so.$major'
+-    shlibpath_var=LD_LIBRARY_PATH
++# This must be Linux ELF.
++linux*)
++  case $host_cpu in
++  alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* )
++    lt_cv_deplibs_check_method=pass_all ;;
++  *)
++    # glibc up to 2.1.1 does not perform some relocations on ARM
++    [lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;]
++  esac
++  lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
++  ;;
++
++netbsd*)
++  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
++    [lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$']
++  else
++    [lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$']
+   fi
+   ;;
+ 
+-*)
+-  dynamic_linker=no
++newos6*)
++  [lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)']
++  lt_cv_file_magic_cmd=/usr/bin/file
++  lt_cv_file_magic_test_file=/usr/lib/libnls.so
+   ;;
+-esac
+-AC_MSG_RESULT([$dynamic_linker])
+-test "$dynamic_linker" = no && can_build_shared=no
+ 
+-# Report the final consequences.
+-AC_MSG_CHECKING([if libtool supports shared libraries])
+-AC_MSG_RESULT([$can_build_shared])
++nto-qnx)
++  lt_cv_deplibs_check_method=unknown
++  ;;
++     
++osf3* | osf4* | osf5*)
++  # this will be overridden with pass_all, but let us keep it just in case
++  lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
++  lt_cv_file_magic_test_file=/shlib/libc.so
++  lt_cv_deplibs_check_method=pass_all
++  ;;
+ 
+-if test "$hardcode_action" = relink; then
+-  # Fast installation is not supported
+-  enable_fast_install=no
+-elif test "$shlibpath_overrides_runpath" = yes ||
+-     test "$enable_shared" = no; then
+-  # Fast installation is not necessary
+-  enable_fast_install=needless
+-fi
++sco3.2v5*)
++  lt_cv_deplibs_check_method=pass_all
++  ;;
+ 
+-variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
+-if test "$GCC" = yes; then
+-  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
+-fi
++solaris*)
++  lt_cv_deplibs_check_method=pass_all
++  lt_cv_file_magic_test_file=/lib/libc.so
++  ;;
+ 
+-AC_LIBTOOL_DLOPEN_SELF
++[sysv5uw[78]* | sysv4*uw2*)]
++  lt_cv_deplibs_check_method=pass_all
++  ;;
+ 
+-if test "$enable_shared" = yes && test "$GCC" = yes; then
+-  case $archive_cmds in
+-  *'~'*)
+-    # FIXME: we may have to deal with multi-command sequences.
++sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
++  case $host_vendor in
++  motorola)
++    [lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]']
++    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
+     ;;
+-  '$CC '*)
+-    # Test whether the compiler implicitly links with -lc since on some
+-    # systems, -lgcc has to come before -lc. If gcc already passes -lc
+-    # to ld, don't add -lc before -lgcc.
+-    AC_MSG_CHECKING([whether -lc should be explicitly linked in])
+-    AC_CACHE_VAL([lt_cv_archive_cmds_need_lc],
+-    [$rm conftest*
+-    echo 'static int dummy;' > conftest.$ac_ext
+-
+-    if AC_TRY_EVAL(ac_compile); then
+-      soname=conftest
+-      lib=conftest
+-      libobjs=conftest.$ac_objext
+-      deplibs=
+-      wl=$lt_cv_prog_cc_wl
+-      compiler_flags=-v
+-      linker_flags=-v
+-      verstring=
+-      output_objdir=.
+-      libname=conftest
+-      save_allow_undefined_flag=$allow_undefined_flag
+-      allow_undefined_flag=
+-      if AC_TRY_EVAL(archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1)
+-      then
+-	lt_cv_archive_cmds_need_lc=no
+-      else
+-	lt_cv_archive_cmds_need_lc=yes
+-      fi
+-      allow_undefined_flag=$save_allow_undefined_flag
+-    else
+-      cat conftest.err 1>&5
+-    fi])
+-    AC_MSG_RESULT([$lt_cv_archive_cmds_need_lc])
++  ncr)
++    lt_cv_deplibs_check_method=pass_all
++    ;;
++  sequent)
++    lt_cv_file_magic_cmd='/bin/file'
++    [lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )']
++    ;;
++  sni)
++    lt_cv_file_magic_cmd='/bin/file'
++    [lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"]
++    lt_cv_file_magic_test_file=/lib/libc.so
+     ;;
+   esac
+-fi
+-need_lc=${lt_cv_archive_cmds_need_lc-yes}
+-
+-# The second clause should only fire when bootstrapping the
+-# libtool distribution, otherwise you forgot to ship ltmain.sh
+-# with your package, and you will get complaints that there are
+-# no rules to generate ltmain.sh.
+-if test -f "$ltmain"; then
+-  :
+-else
+-  # If there is no Makefile yet, we rely on a make rule to execute
+-  # `config.status --recheck' to rerun these tests and create the
+-  # libtool script then.
+-  test -f Makefile && make "$ltmain"
+-fi
++  ;;
++esac
++])
++file_magic_cmd=$lt_cv_file_magic_cmd
++deplibs_check_method=$lt_cv_deplibs_check_method
++test -z "$deplibs_check_method" && deplibs_check_method=unknown
++])# AC_DEPLIBS_CHECK_METHOD
+ 
+-if test -f "$ltmain"; then
+-  trap "$rm \"${ofile}T\"; exit 1" 1 2 15
+-  $rm -f "${ofile}T"
+ 
+-  echo creating $ofile
++# AC_PROG_NM
++# ----------
++# find the path to a BSD-compatible name lister
++AC_DEFUN([AC_PROG_NM],
++[AC_CACHE_CHECK([for BSD-compatible nm], lt_cv_path_NM,
++[AC_REQUIRE([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR])dnl
++if test -n "$NM"; then
++  # Let the user override the test.
++  lt_cv_path_NM="$NM"
++else
++  IFS="${IFS= 	}"; lt_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
++  for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
++    IFS="$lt_save_ifs"
++    test -z "$ac_dir" && ac_dir=.
++    tmp_nm=$ac_dir/${ac_tool_prefix}nm
++    if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
++      # Check to see if the nm accepts a BSD-compat flag.
++      # Adding the `sed 1q' prevents false positives on HP-UX, which says:
++      #   nm: unknown option "B" ignored
++      # Tru64's nm complains that /dev/null is an invalid object file
++      if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
++	lt_cv_path_NM="$tmp_nm -B"
++	break
++      elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
++	lt_cv_path_NM="$tmp_nm -p"
++	break
++      else
++	lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
++	continue # so that we can try to find one that supports BSD flags
++      fi
++    fi
++  done
++  IFS="$lt_save_ifs"
++  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
++fi])
++NM="$lt_cv_path_NM"
++])# AC_PROG_NM
+ 
+-  # Now quote all the things that may contain metacharacters while being
+-  # careful not to overquote the AC_SUBSTed values.  We take copies of the
+-  # variables and quote the copies for generation of the libtool script.
+-  for var in echo old_CC old_CFLAGS \
+-    AR AR_FLAGS CC LD LN_S NM SHELL \
+-    reload_flag reload_cmds wl \
+-    pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \
+-    thread_safe_flag_spec whole_archive_flag_spec libname_spec \
+-    library_names_spec soname_spec \
+-    RANLIB old_archive_cmds old_archive_from_new_cmds old_postinstall_cmds \
+-    old_postuninstall_cmds archive_cmds archive_expsym_cmds postinstall_cmds \
+-    postuninstall_cmds extract_expsyms_cmds old_archive_from_expsyms_cmds \
+-    old_striplib striplib file_magic_cmd export_symbols_cmds \
+-    deplibs_check_method allow_undefined_flag no_undefined_flag \
+-    finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \
+-    hardcode_libdir_flag_spec hardcode_libdir_separator  \
+-    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
+-    compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do
+ 
+-    case $var in
+-    reload_cmds | old_archive_cmds | old_archive_from_new_cmds | \
+-    old_postinstall_cmds | old_postuninstall_cmds | \
+-    export_symbols_cmds | archive_cmds | archive_expsym_cmds | \
+-    extract_expsyms_cmds | old_archive_from_expsyms_cmds | \
+-    postinstall_cmds | postuninstall_cmds | \
+-    finish_cmds | sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
+-      # Double-quote double-evaled strings.
+-      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
+-      ;;
+-    *)
+-      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
+-      ;;
+-    esac
+-  done
+-
+-  cat <<__EOF__ > "${ofile}T"
+-#! $SHELL
+-
+-# `$echo "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
+-# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
+-# NOTE: Changes made to this file will be lost: look at ltmain.sh.
+-#
+-# Copyright (C) 1996-2000 Free Software Foundation, Inc.
+-# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
+-#
+-# 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+-#
+-# As a special exception to the GNU General Public License, if you
+-# distribute this file as part of a program that contains a
+-# configuration script generated by Autoconf, you may include it under
+-# the same distribution terms that you use for the rest of that program.
+-
+-# Sed that helps us avoid accidentally triggering echo(1) options like -n.
+-Xsed="sed -e s/^X//"
+-
+-# The HP-UX ksh and POSIX shell print the target directory to stdout
+-# if CDPATH is set.
+-if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
+-
+-# ### BEGIN LIBTOOL CONFIG
++# AC_CHECK_LIBM
++# -------------
++# check for math library
++AC_DEFUN([AC_CHECK_LIBM],
++[AC_REQUIRE([AC_CANONICAL_HOST])dnl
++LIBM=
++case $host in
++*-*-beos* | *-*-cygwin* | *-*-pw32*)
++  # These system don't have libm
++  ;;
++*-ncr-sysv4.3*)
++  AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
++  AC_CHECK_LIB(m, main, LIBM="$LIBM -lm")
++  ;;
++*)
++  AC_CHECK_LIB(m, main, LIBM="-lm")
++  ;;
++esac
++])# AC_CHECK_LIBM
+ 
+-# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
+ 
+-# Shell to use when invoking shell scripts.
+-SHELL=$lt_SHELL
++# AC_LIBLTDL_CONVENIENCE([DIRECTORY])
++# -----------------------------------
++# sets LIBLTDL to the link flags for the libltdl convenience library and 
++# INCLTDL to the include flags for the libltdl header and adds
++# --enable-ltdl-convenience to the configure arguments.  Note that LIBLTDL
++# and INCLTDL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called.  If
++# DIRECTORY is not provided, it is assumed to be `libltdl'.  LIBLTDL will
++# be prefixed with '${top_builddir}/' and INCLTDL will be prefixed with
++# '${top_srcdir}/' (note the single quotes!).  If your package is not
++# flat and you're not using automake, define top_builddir and
++# top_srcdir appropriately in the Makefiles.
++AC_DEFUN([AC_LIBLTDL_CONVENIENCE],
++[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
++  case $enable_ltdl_convenience in
++  no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;;
++  "") enable_ltdl_convenience=yes
++      ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
++  esac
++  LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la
++  INCLTDL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
++])# AC_LIBLTDL_CONVENIENCE
+ 
+-# Whether or not to build shared libraries.
+-build_libtool_libs=$enable_shared
+ 
+-# Whether or not to add -lc for building shared libraries.
+-build_libtool_need_lc=$need_lc
++# AC_LIBLTDL_INSTALLABLE([DIRECTORY])
++# -----------------------------------
++# sets LIBLTDL to the link flags for the libltdl installable library and
++# INCLTDL to the include flags for the libltdl header and adds
++# --enable-ltdl-install to the configure arguments.  Note that LIBLTDL
++# and INCLTDL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called.  If
++# DIRECTORY is not provided and an installed libltdl is not found, it is
++# assumed to be `libltdl'.  LIBLTDL will be prefixed with '${top_builddir}/'
++# and INCLTDL will be prefixed with '${top_srcdir}/' (note the single
++# quotes!).  If your package is not flat and you're not using automake,
++# define top_builddir and top_srcdir appropriately in the Makefiles.
++# In the future, this macro may have to be called after AC_PROG_LIBTOOL.
++AC_DEFUN([AC_LIBLTDL_INSTALLABLE],
++[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
++  AC_CHECK_LIB(ltdl, main,
++  [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no],
++  [if test x"$enable_ltdl_install" = xno; then
++     AC_MSG_WARN([libltdl not installed, but installation disabled])
++   else
++     enable_ltdl_install=yes
++   fi
++  ])
++  if test x"$enable_ltdl_install" = x"yes"; then
++    ac_configure_args="$ac_configure_args --enable-ltdl-install"
++    LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la
++    INCLTDL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
++  else
++    ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
++    LIBLTDL="-lltdl"
++    INCLTDL=
++  fi
++])# AC_LIBLTDL_INSTALLABLE
+ 
+-# Whether or not to build static libraries.
+-build_old_libs=$enable_static
+ 
+-# Whether or not to optimize for fast installation.
+-fast_install=$enable_fast_install
++# If this macro is not defined by Autoconf, define it here.
++ifdef([AC_PROVIDE_IFELSE],
++      [],
++      [define([AC_PROVIDE_IFELSE],
++              [ifdef([AC_PROVIDE_$1],
++                     [$2], [$3])])])
+ 
+-# The host system.
+-host_alias=$host_alias
+-host=$host
+ 
+-# An echo program that does not interpret backslashes.
+-echo=$lt_echo
++# AC_LIBTOOL_CXX
++# --------------
++# enable support for C++ libraries
++AC_DEFUN([AC_LIBTOOL_CXX],
++[AC_REQUIRE([_LT_AC_LANG_CXX])
++])# AC_LIBTOOL_CXX
+ 
+-# The archiver.
+-AR=$lt_AR
+-AR_FLAGS=$lt_AR_FLAGS
+ 
+-# The default C compiler.
+-CC=$lt_CC
++# _LT_AC_LANG_CXX
++# ---------------
++AC_DEFUN([_LT_AC_LANG_CXX],
++[AC_REQUIRE([AC_PROG_CXX])
++AC_REQUIRE([AC_PROG_CXXCPP])
++])# _LT_AC_LANG_CXX
+ 
+-# Is the compiler the GNU C compiler?
+-with_gcc=$GCC
+ 
+-# The linker used to build libraries.
+-LD=$lt_LD
++# AC_LIBTOOL_GCJ
++# --------------
++# enable support for GCJ libraries
++AC_DEFUN([AC_LIBTOOL_GCJ],
++[AC_REQUIRE([_LT_AC_LANG_GCJ])
++])# AC_LIBTOOL_GCJ
++
++
++# _LT_AC_LANG_GCJ
++# ---------------
++AC_DEFUN([_LT_AC_LANG_GCJ],
++[AC_PROVIDE_IFELSE([AC_PROG_GCJ],[],
++  [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],[],
++    [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],[],
++      [ifdef([AC_PROG_GCJ],[AC_REQUIRE([AC_PROG_GCJ])],
++         [ifdef([A][M_PROG_GCJ],[AC_REQUIRE([A][M_PROG_GCJ])],
++           [AC_REQUIRE([A][C_PROG_GCJ_OR_A][M_PROG_GCJ])])])])])])
++])# _LT_AC_LANG_GCJ
++
++
++# AC_LIBTOOL_LANG_C_CONFIG
++# ------------------------
++# Ensure that the configuration vars for the C compiler are
++# suitably defined.  Those variables are subsequently used by
++# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
++AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG], [_LT_AC_LANG_C_CONFIG])
++AC_DEFUN([_LT_AC_LANG_C_CONFIG],
++[lt_save_CC="$CC"
++AC_LANG_PUSH(C)
++
++# Source file extension for C test sources.
++ac_ext=c
++
++# Object file extension for compiled C test sources.
++objext=o
++_LT_AC_TAGVAR(objext, $1)=$objext
+ 
+-# Whether we need hard or soft links.
+-LN_S=$lt_LN_S
++# Code to be used in simple compile tests
++lt_simple_compile_test_code="int some_variable = 0;"
+ 
+-# A BSD-compatible nm program.
+-NM=$lt_NM
++# Code to be used in simple link tests
++lt_simple_link_test_code='main(){return(0);}'
+ 
+-# A symbol stripping program
+-STRIP=$STRIP
++_LT_AC_SYS_COMPILER
+ 
+-# Used to examine libraries when file_magic_cmd begins "file"
+-MAGIC_CMD=$MAGIC_CMD
++#
++# Check for any special shared library compilation flags.
++#
++_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)=
++if test "$GCC" = no; then
++  case $host_os in
++  sco3.2v5*)
++    _LT_AC_TAGVAR(lt_prog_cc_shlib, $1)='-belf'
++    ;;
++  esac
++fi
++if test -n "$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)"; then
++  AC_MSG_WARN([`$CC' requires `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to build shared libraries])
++  if echo "$old_CC $old_CFLAGS " | [egrep -e "[ 	]$]_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)[[ 	]"] >/dev/null; then :
++  else
++    AC_MSG_WARN([add `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to the CC or CFLAGS env variable and reconfigure])
++    _LT_AC_TAGVAR(lt_cv_prog_cc_can_build_shared, $1)=no
++  fi
++fi
+ 
+-# Used on cygwin: DLL creation program.
+-DLLTOOL="$DLLTOOL"
+ 
+-# Used on cygwin: object dumper.
+-OBJDUMP="$OBJDUMP"
++#
++# Check to make sure the static flag actually works.
++#
++AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $_LT_AC_TAGVAR(lt_prog_compiler_static, $1) works],
++  _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1),
++  $_LT_AC_TAGVAR(lt_prog_compiler_static, $1),
++  [],
++  [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=])
++
++
++AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
++AC_LIBTOOL_PROG_COMPILER_PIC($1)
++AC_LIBTOOL_PROG_CC_C_O($1)
++AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
++AC_LIBTOOL_PROG_LD_SHLIBS($1)
++AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
++AC_LIBTOOL_SYS_LIB_STRIP
++AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
++AC_LIBTOOL_DLOPEN_SELF($1)
+ 
+-# Used on cygwin: assembler.
+-AS="$AS"
++# Report which librarie types wil actually be built
++AC_MSG_CHECKING([if libtool supports shared libraries])
++AC_MSG_RESULT([$can_build_shared])
+ 
+-# The name of the directory that contains temporary libtool files.
+-objdir=$objdir
++AC_MSG_CHECKING([whether to build shared libraries])
++test "$can_build_shared" = "no" && enable_shared=no
+ 
+-# How to create reloadable object files.
+-reload_flag=$lt_reload_flag
+-reload_cmds=$lt_reload_cmds
++# On AIX, shared libraries and static libraries use the same namespace, and
++# are all built from PIC.
++case "$host_os" in
++aix3*)
++  test "$enable_shared" = yes && enable_static=no
++  if test -n "$RANLIB"; then
++    archive_cmds="$archive_cmds~\$RANLIB \$lib"
++    postinstall_cmds='$RANLIB $lib'
++  fi
++  ;;
+ 
+-# How to pass a linker flag through the compiler.
+-wl=$lt_wl
++aix4*)
++  test "$enable_shared" = yes && enable_static=no
++  ;;
++esac
++AC_MSG_RESULT([$enable_shared])
+ 
+-# Object file suffix (normally "o").
+-objext="$ac_objext"
++AC_MSG_CHECKING([whether to build static libraries])
++# Make sure either enable_shared or enable_static is yes.
++test "$enable_shared" = yes || enable_static=yes
++AC_MSG_RESULT([$enable_static])
+ 
+-# Old archive suffix (normally "a").
+-libext="$libext"
++AC_LIBTOOL_CONFIG($1)
+ 
+-# Executable file suffix (normally "").
+-exeext="$exeext"
++AC_LANG_POP
++CC="$lt_save_CC"
++])# AC_LIBTOOL_LANG_C_CONFIG
+ 
+-# Additional compiler flags for building library objects.
+-pic_flag=$lt_pic_flag
+-pic_mode=$pic_mode
+ 
+-# Does compiler simultaneously support -c and -o options?
+-compiler_c_o=$lt_compiler_c_o
++# AC_LIBTOOL_LANG_CXX_CONFIG
++# --------------------------
++# Ensure that the configuration vars for the C compiler are
++# suitably defined.  Those variables are subsequently used by
++# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
++AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG], [_LT_AC_LANG_CXX_CONFIG(CXX)])
++AC_DEFUN([_LT_AC_LANG_CXX_CONFIG],
++[AC_LANG_PUSH(C++)
++AC_REQUIRE([AC_PROG_CXX])
++AC_REQUIRE([AC_PROG_CXXCPP])
+ 
+-# Can we write directly to a .lo ?
+-compiler_o_lo=$lt_compiler_o_lo
++_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
++_LT_AC_TAGVAR(allow_undefined_flag, $1)=
++_LT_AC_TAGVAR(always_export_symbols, $1)=no
++_LT_AC_TAGVAR(archive_expsym_cmds, $1)=
++_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
++_LT_AC_TAGVAR(hardcode_direct, $1)=no
++_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
++_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
++_LT_AC_TAGVAR(hardcode_minus_L, $1)=no
++_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
++_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
++_LT_AC_TAGVAR(no_undefined_flag, $1)=
++_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
++
++# Dependencies to place before and after the object being linked:
++_LT_AC_TAGVAR(predep_objects, $1)=
++_LT_AC_TAGVAR(postdep_objects, $1)=
++_LT_AC_TAGVAR(predeps, $1)=
++_LT_AC_TAGVAR(postdeps, $1)=
++_LT_AC_TAGVAR(compiler_lib_search_path, $1)=
++
++# Source file extension for C test sources.
++ac_ext=cc
++
++# Object file extension for compiled C test sources.
++objext=o
++_LT_AC_TAGVAR(objext, $1)=$objext
+ 
+-# Must we lock files when doing compilation ?
+-need_locks=$lt_need_locks
++# Code to be used in simple compile tests
++lt_simple_compile_test_code="int some_variable = 0;"
+ 
+-# Do we need the lib prefix for modules?
+-need_lib_prefix=$need_lib_prefix
++# Code to be used in simple link tests
++lt_simple_link_test_code='int main(int char *[]) { return(0); }'
+ 
+-# Do we need a version for libraries?
+-need_version=$need_version
++# ltmain only uses $CC for tagged configurations so make sure $CC is set.
++_LT_AC_SYS_COMPILER
+ 
+-# Whether dlopen is supported.
+-dlopen_support=$enable_dlopen
++# Allow CC to be a program name with arguments.
++lt_save_CC="$CC"
++CC=${CXX-"c++"}
++set dummy $CC
++compiler="[$]2"
++_LT_AC_TAGVAR(compiler, $1)=$CC
++cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
+ 
+-# Whether dlopen of programs is supported.
+-dlopen_self=$enable_dlopen_self
++# We don't want -fno-exception wen compiling C++ code, so set the
++# no_builtin_flag separately
++if test "$GXX" = yes; then
++  _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
++else
++  _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
++fi
+ 
+-# Whether dlopen of statically linked programs is supported.
+-dlopen_self_static=$enable_dlopen_self_static
++if test "$GXX" = yes; then
++  # Set up default GNU C++ configuration
+ 
+-# Compiler flag to prevent dynamic linking.
+-link_static_flag=$lt_link_static_flag
++  # Check if GNU C++ uses GNU ld as the underlying linker, since the
++  # archiving commands below assume that GNU ld is being used.
++  if eval "`$CC -print-prog-name=ld` --version 2>&1" | \
++      egrep 'GNU ld' > /dev/null; then
++    with_gnu_ld=yes
+ 
+-# Compiler flag to turn off builtin functions.
+-no_builtin_flag=$lt_no_builtin_flag
++    _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
++    _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+ 
+-# Compiler flag to allow reflexive dlopens.
+-export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
++    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
++    _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
+ 
+-# Compiler flag to generate shared objects directly from archives.
+-whole_archive_flag_spec=$lt_whole_archive_flag_spec
++    # If archive_cmds runs LD, not CC, wlarc should be empty
++    # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
++    #     investigate it a little bit more. (MM)
++    wlarc='${wl}'
+ 
+-# Compiler flag to generate thread-safe objects.
+-thread_safe_flag_spec=$lt_thread_safe_flag_spec
++    # ancient GNU ld didn't support --whole-archive et. al.
++    if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
++        egrep 'no-whole-archive' > /dev/null; then
++      _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
++    else
++      _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
++    fi
++  else
++    with_gnu_ld=no
++    wlarc=
+ 
+-# Library versioning type.
+-version_type=$version_type
++    # A generic and very simple default shared library creation
++    # command for GNU C++ for the case where it uses the native
++    # linker, instead of GNU ld.  If possible, this setting should
++    # overridden to take advantage of the native linker features on
++    # the platform it is being used on.
++    _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
++  fi
+ 
+-# Format of library name prefix.
+-libname_spec=$lt_libname_spec
++  # Commands to make compiler produce verbose output that lists
++  # what "hidden" libraries, object files and flags are used when
++  # linking a shared library.
++  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | egrep "\-L"'
+ 
+-# List of archive names.  First name is the real one, the rest are links.
+-# The last name is the one that the linker finds with -lNAME.
+-library_names_spec=$lt_library_names_spec
++else
++  GXX=no
++  with_gnu_ld=no
++  wlarc=
++fi
+ 
+-# The coded name of the library, if different from the real name.
+-soname_spec=$lt_soname_spec
++# PORTME: fill in a description of your system's C++ link characteristics
++AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
++_LT_AC_TAGVAR(ld_shlibs, $1)=yes
++case $host_os in
++  aix3*)
++    # FIXME: insert proper C++ library support
++    _LT_AC_TAGVAR(ld_shlibs, $1)=no
++    ;;
++  aix4* | aix5*)
++    if test "$host_cpu" = ia64; then
++      # On IA64, the linker does run time linking by default, so we don't
++      # have to do anything special.
++      aix_use_runtimelinking=no
++      exp_sym_flag='-Bexport'
++      no_entry_flag=""
++    else
++      aix_use_runtimelinking=no
+ 
+-# Commands used to build and install an old-style archive.
+-RANLIB=$lt_RANLIB
+-old_archive_cmds=$lt_old_archive_cmds
+-old_postinstall_cmds=$lt_old_postinstall_cmds
+-old_postuninstall_cmds=$lt_old_postuninstall_cmds
++      # Test if we are trying to use run time linking or normal
++      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
++      # need to do runtime linking.
++      case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
++        for ld_flag in $LDFLAGS; do
++	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
++	    aix_use_runtimelinking=yes
++	    break
++	  fi
++        done
++      esac
+ 
+-# Create an old-style archive from a shared archive.
+-old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
++      exp_sym_flag='-bexport'
++      no_entry_flag='-bnoentry'
++    fi
+ 
+-# Create a temporary old-style archive to link instead of a shared archive.
+-old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
++    # When large executables or shared objects are built, AIX ld can
++    # have problems creating the table of contents.  If linking a library
++    # or program results in "error TOC overflow" add -mminimal-toc to
++    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
++    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
+ 
+-# Commands used to build and install a shared archive.
+-archive_cmds=$lt_archive_cmds
+-archive_expsym_cmds=$lt_archive_expsym_cmds
+-postinstall_cmds=$lt_postinstall_cmds
+-postuninstall_cmds=$lt_postuninstall_cmds
++    _LT_AC_TAGVAR(archive_cmds, $1)=''
++    _LT_AC_TAGVAR(hardcode_direct, $1)=yes
++    _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
++    _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
++
++    if test "$GXX" = yes; then
++      case $host_os in aix4.[012]|aix4.[012].*)
++      # We only want to do this on AIX 4.2 and lower, the check
++      # below for broken collect2 doesn't work under 4.3+
++        collect2name=`${CC} -print-prog-name=collect2`
++        if test -f "$collect2name" && \
++	   strings "$collect2name" | grep resolve_lib_name >/dev/null
++        then
++	  # We have reworked collect2
++	  _LT_AC_TAGVAR(hardcode_direct, $1)=yes
++        else
++	  # We have old collect2
++	  _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
++	  # It fails to find uninstalled libraries when the uninstalled
++	  # path is not listed in the libpath.  Setting hardcode_minus_L
++	  # to unsupported forces relinking
++	  _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
++	  _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
++	  _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
++        fi
++      esac
++      shared_flag='-shared'
++    else
++      # not using gcc
++      if test "$host_cpu" = ia64; then
++	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
++	# chokes on -Wl,-G. The following line is correct:
++        shared_flag='-G'
++      else
++	if test "$aix_use_runtimelinking" = yes; then
++          shared_flag='${wl}-G'
++        else
++          shared_flag='${wl}-bM:SRE'
++	fi
++      fi
++    fi
+ 
+-# Commands to strip libraries.
+-old_striplib=$lt_old_striplib
+-striplib=$lt_striplib
++    # It seems that -bexpall does not export symbols beginning with
++    # underscore (_), so it is better to generate a list of symbols to export.
++    _LT_AC_TAGVAR(always_export_symbols, $1)=yes
++    if test "$aix_use_runtimelinking" = yes; then
++      # Warning - without using the other runtime loading flags (-brtl),
++      # -berok will link without error, but may produce a broken library.
++      _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
++      # Determine the default libpath from the value encoded in an empty executable.
++      _LT_AC_SYS_LIBPATH_AIX
++      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
+ 
+-# Method to check whether dependent libraries are shared objects.
+-deplibs_check_method=$lt_deplibs_check_method
+-
+-# Command to use when deplibs_check_method == file_magic.
+-file_magic_cmd=$lt_file_magic_cmd
+-
+-# Flag that allows shared libraries with undefined symbols to be built.
+-allow_undefined_flag=$lt_allow_undefined_flag
+-
+-# Flag that forces no undefined symbols.
+-no_undefined_flag=$lt_no_undefined_flag
+-
+-# Commands used to finish a libtool library installation in a directory.
+-finish_cmds=$lt_finish_cmds
+-
+-# Same as above, but a single script fragment to be evaled but not shown.
+-finish_eval=$lt_finish_eval
+-
+-# Take the output of nm and produce a listing of raw symbols and C names.
+-global_symbol_pipe=$lt_global_symbol_pipe
+-
+-# Transform the output of nm in a proper C declaration
+-global_symbol_to_cdecl=$lt_global_symbol_to_cdecl
++      _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
++     else
++      if test "$host_cpu" = ia64; then
++        _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
++        _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
++        _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
++      else
++        # Determine the default libpath from the value encoded in an empty executable.
++        _LT_AC_SYS_LIBPATH_AIX
++        _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
++        # Warning - without using the other run time loading flags,
++        # -berok will link without error, but may produce a broken library.
++        _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
++        _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
++        # -bexpall does not export symbols beginning with underscore (_)
++        _LT_AC_TAGVAR(always_export_symbols, $1)=yes
++        # Exported symbols can be pulled into shared objects from archives
++        _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' '
++        _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
++        # This is similar to how AIX traditionally builds it's shared libraries.
++        _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
++      fi
++    fi
++    ;;
++  chorus*)
++    case $cc_basename in
++      *)
++        # FIXME: insert proper C++ library support
++        _LT_AC_TAGVAR(ld_shlibs, $1)=no
++        ;;
++    esac
++    ;;
++  dgux*)
++    case $cc_basename in
++      ec++)
++        # FIXME: insert proper C++ library support
++        _LT_AC_TAGVAR(ld_shlibs, $1)=no
++        ;;
++      ghcx)
++        # Green Hills C++ Compiler
++        # FIXME: insert proper C++ library support
++        _LT_AC_TAGVAR(ld_shlibs, $1)=no
++        ;;
++      *)
++        # FIXME: insert proper C++ library support
++        _LT_AC_TAGVAR(ld_shlibs, $1)=no
++        ;;
++    esac
++    ;;
++  freebsd[12]*)
++    # C++ shared libraries reported to be fairly broken before switch to ELF
++    _LT_AC_TAGVAR(ld_shlibs, $1)=no
++    ;;
++  freebsd-elf*)
++    _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
++    ;;
++  freebsd*)
++    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
++    # conventions
++    _LT_AC_TAGVAR(ld_shlibs, $1)=yes
++    ;;
++  gnu*)
++    ;;
++  hpux*)
++    if test $with_gnu_ld = no; then
++      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
++      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
++      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
++    fi
++    _LT_AC_TAGVAR(hardcode_direct, $1)=yes
++    _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, but as the default
++			 # location of the library.
+ 
+-# This is the shared library runtime path variable.
+-runpath_var=$runpath_var
++    case $cc_basename in
++      CC)
++        # FIXME: insert proper C++ library support
++        _LT_AC_TAGVAR(ld_shlibs, $1)=no
++        ;;
++      aCC)
++	case $host_os in
++	hpux9*) _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ;;
++	*) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;;
++	esac
++        # Commands to make compiler produce verbose output that lists
++        # what "hidden" libraries, object files and flags are used when
++        # linking a shared library.
++        #
++        # There doesn't appear to be a way to prevent this compiler from
++        # explicitly linking system object files so we need to strip them
++        # from the output so that they don't get included in the library
++        # dependencies.
++        output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | egrep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
++        ;;
++      *)
++        if test $GXX = yes; then
++	  if test $with_gnu_ld = no; then
++	    case "$host_os" in
++	    hpux9*) _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ;;
++	    *) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;;
++	    esac
++	  fi
++	else
++	  # FIXME: insert proper C++ library support
++          _LT_AC_TAGVAR(ld_shlibs, $1)=no
++	fi
++        ;;
++    esac
++    ;;
++  irix5* | irix6*)
++    case $cc_basename in
++      CC)
++        # SGI C++
++        _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
++
++	# Archives containing C++ object files must be created using
++	# "CC -ar", where "CC" is the IRIX C++ compiler.  This is
++	# necessary to make sure instantiated templates are included
++	# in the archive.
++	_LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
++	;;
++      *)
++        if test "$GXX" = yes; then
++          if test "$with_gnu_ld" = no; then
++            _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
++          else
++            _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -o $lib'
++          fi
++        fi
++        _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
++        ;;
++    esac
++    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
++    _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
++    ;;
++  linux*)
++    case $cc_basename in
++      KCC)
++        # Kuck and Associates, Inc. (KAI) C++ Compiler
++
++        # KCC will only create a shared library if the output file
++        # ends with ".so" (or ".sl" for HP-UX), so rename the library
++        # to its proper name (with version) after linking.
++        _LT_AC_TAGVAR(archive_cmds, $1)='templib=`echo $lib | sed -e "s/\.so\..*/\.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
++        _LT_AC_TAGVAR(archive_expsym_cmds, $1)='templib=`echo $lib | sed -e "s/\.so\..*/\.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
++
++        # Commands to make compiler produce verbose output that lists
++        # what "hidden" libraries, object files and flags are used when
++        # linking a shared library.
++        #
++        # There doesn't appear to be a way to prevent this compiler from
++        # explicitly linking system object files so we need to strip them
++        # from the output so that they don't get included in the library
++        # dependencies.
++        output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest.so 2>&1 | egrep "ld"`; rm -f libconftest.so; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
++
++        _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath,$libdir'
++        _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
++
++	# Archives containing C++ object files must be created using
++	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
++        _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
++        ;;
++      cxx)
++        # Compaq C++
++        _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
++        _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
++
++        runpath_var=LD_RUN_PATH
++        _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
++        _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
++
++        # Commands to make compiler produce verbose output that lists
++        # what "hidden" libraries, object files and flags are used when
++        # linking a shared library.
++        #
++        # There doesn't appear to be a way to prevent this compiler from
++        # explicitly linking system object files so we need to strip them
++        # from the output so that they don't get included in the library
++        # dependencies.
++        output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | sed "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
++        ;;
++    esac
++    ;;
++  lynxos*)
++    # FIXME: insert proper C++ library support
++    _LT_AC_TAGVAR(ld_shlibs, $1)=no
++    ;;
++  m88k*)
++    # FIXME: insert proper C++ library support
++    _LT_AC_TAGVAR(ld_shlibs, $1)=no
++    ;;
++  mvs*)
++    case $cc_basename in
++      cxx)
++        # FIXME: insert proper C++ library support
++        _LT_AC_TAGVAR(ld_shlibs, $1)=no
++        ;;
++      *)
++        # FIXME: insert proper C++ library support
++        _LT_AC_TAGVAR(ld_shlibs, $1)=no
++        ;;
++    esac
++    ;;
++  netbsd*)
++    # NetBSD uses g++ - do we need to do anything?
++    ;;
++  osf3*)
++    case $cc_basename in
++      KCC)
++        # Kuck and Associates, Inc. (KAI) C++ Compiler
++
++        # KCC will only create a shared library if the output file
++        # ends with ".so" (or ".sl" for HP-UX), so rename the library
++        # to its proper name (with version) after linking.
++        _LT_AC_TAGVAR(archive_cmds, $1)='templib=`echo $lib | sed -e "s/\.so\..*/\.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
++
++        _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
++        _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
++
++	# Archives containing C++ object files must be created using
++	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
++        _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
++
++        ;;
++      RCC)
++        # Rational C++ 2.4.1
++        # FIXME: insert proper C++ library support
++        _LT_AC_TAGVAR(ld_shlibs, $1)=no
++        ;;
++      cxx)
++        _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
++        _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
++
++        _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
++        _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
++
++        # Commands to make compiler produce verbose output that lists
++        # what "hidden" libraries, object files and flags are used when
++        # linking a shared library.
++        #
++        # There doesn't appear to be a way to prevent this compiler from
++        # explicitly linking system object files so we need to strip them
++        # from the output so that they don't get included in the library
++        # dependencies.
++        output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | sed "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
++        ;;
++      *)
++        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
++          _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
++          _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
++
++          _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
++          _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
++
++          # Commands to make compiler produce verbose output that lists
++          # what "hidden" libraries, object files and flags are used when
++          # linking a shared library.
++          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | egrep "\-L"'
+ 
+-# This is the shared library path variable.
+-shlibpath_var=$shlibpath_var
++	else
++          # FIXME: insert proper C++ library support
++          _LT_AC_TAGVAR(ld_shlibs, $1)=no
++        fi
++        ;;
++    esac
++    ;;
++  osf4* | osf5*)
++    case $cc_basename in
++      KCC)
++        # Kuck and Associates, Inc. (KAI) C++ Compiler
++
++        # KCC will only create a shared library if the output file
++        # ends with ".so" (or ".sl" for HP-UX), so rename the library
++        # to its proper name (with version) after linking.
++        _LT_AC_TAGVAR(archive_cmds, $1)='templib=`echo $lib | sed -e "s/\.so\..*/\.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
++
++        _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
++        _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
++
++	# Archives containing C++ object files must be created using
++	# the KAI C++ compiler.
++        _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs'
++        ;;
++      RCC)
++        # Rational C++ 2.4.1
++        # FIXME: insert proper C++ library support
++        _LT_AC_TAGVAR(ld_shlibs, $1)=no
++        ;;
++      cxx)
++        _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
++        _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
++	_LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done~
++	  echo "-hidden">> $lib.exp~
++	  $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp  `test -n "$verstring" && echo -set_version	$verstring` -update_registry $objdir/so_locations -o $lib~
++	  $rm $lib.exp'
++
++        _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
++        _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
++
++        # Commands to make compiler produce verbose output that lists
++        # what "hidden" libraries, object files and flags are used when
++        # linking a shared library.
++        #
++        # There doesn't appear to be a way to prevent this compiler from
++        # explicitly linking system object files so we need to strip them
++        # from the output so that they don't get included in the library
++        # dependencies.
++        output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | sed "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
++        ;;
++      *)
++        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
++          _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
++         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
++
++          _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
++          _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
++
++          # Commands to make compiler produce verbose output that lists
++          # what "hidden" libraries, object files and flags are used when
++          # linking a shared library.
++          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | egrep "\-L"'
+ 
+-# Is shlibpath searched before the hard-coded library search path?
+-shlibpath_overrides_runpath=$shlibpath_overrides_runpath
++	else
++          # FIXME: insert proper C++ library support
++          _LT_AC_TAGVAR(ld_shlibs, $1)=no
++	fi
++        ;;
++    esac
++    ;;
++  psos*)
++    # FIXME: insert proper C++ library support
++    _LT_AC_TAGVAR(ld_shlibs, $1)=no
++    ;;
++  sco*)
++    case $cc_basename in
++      CC)
++        # FIXME: insert proper C++ library support
++        _LT_AC_TAGVAR(ld_shlibs, $1)=no
++        ;;
++      *)
++        # FIXME: insert proper C++ library support
++        _LT_AC_TAGVAR(ld_shlibs, $1)=no
++        ;;
++    esac
++    ;;
++  sunos4*)
++    case $cc_basename in
++      CC)
++        # Sun C++ 4.x
++        # FIXME: insert proper C++ library support
++        _LT_AC_TAGVAR(ld_shlibs, $1)=no
++        ;;
++      lcc)
++        # Lucid
++        # FIXME: insert proper C++ library support
++        _LT_AC_TAGVAR(ld_shlibs, $1)=no
++        ;;
++      *)
++        # FIXME: insert proper C++ library support
++        _LT_AC_TAGVAR(ld_shlibs, $1)=no
++        ;;
++    esac
++    ;;
++  solaris*)
++    case $cc_basename in
++      CC)
++	# Sun C++ 4.2, 5.x and Centerline C++
++        _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs'
++        _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
++        _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++        $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
++
++        _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
++        _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
++        case $host_os in
++          solaris2.[0-5] | solaris2.[0-5].*) ;;
++          *)
++            # The C++ compiler is used as linker so we must use $wl
++            # flag to pass the commands to the underlying system
++            # linker.
++            # Supported since Solaris 2.6 (maybe 2.5.1?)
++            _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
++            ;;
++        esac
++        _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
++
++        # Commands to make compiler produce verbose output that lists
++        # what "hidden" libraries, object files and flags are used when
++        # linking a shared library.
++        #
++        # There doesn't appear to be a way to prevent this compiler from
++        # explicitly linking system object files so we need to strip them
++        # from the output so that they don't get included in the library
++        # dependencies.
++        output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | egrep "\-R|\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
++
++	# Archives containing C++ object files must be created using
++	# "CC -xar", where "CC" is the Sun C++ compiler.  This is
++        # necessary to make sure instantiated templates are included
++        # in the archive.
++        _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
++        ;;
++      gcx)
++        # Green Hills C++ Compiler
++        _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
++
++        # The C++ compiler must be used to create the archive.
++        _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
++        ;;
++      *)
++        # GNU C++ compiler with Solaris linker
++        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
++	  _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
++          if $CC --version | egrep -v '^2\.7' > /dev/null; then
++            _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $linker_flags ${wl}-h $wl$soname -o $lib'
++            _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++		$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags~$rm $lib.exp'
++
++            # Commands to make compiler produce verbose output that lists
++            # what "hidden" libraries, object files and flags are used when
++            # linking a shared library.
++            output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | egrep \"\-L\""
++          else
++            # g++ 2.7 appears to require `-G' NOT `-shared' on this
++            # platform.
++            _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $linker_flags ${wl}-h $wl$soname -o $lib'
++            _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++		$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags~$rm $lib.exp'
++
++            # Commands to make compiler produce verbose output that lists
++            # what "hidden" libraries, object files and flags are used when
++            # linking a shared library.
++            output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | egrep \"\-L\""
++          fi
+ 
+-# How to hardcode a shared library path into an executable.
+-hardcode_action=$hardcode_action
++          _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
++        fi
++        ;;
++    esac
++    ;;
++  tandem*)
++    case $cc_basename in
++      NCC)
++        # NonStop-UX NCC 3.20
++        # FIXME: insert proper C++ library support
++        _LT_AC_TAGVAR(ld_shlibs, $1)=no
++        ;;
++      *)
++        # FIXME: insert proper C++ library support
++        _LT_AC_TAGVAR(ld_shlibs, $1)=no
++        ;;
++    esac
++    ;;
++  unixware*)
++    # FIXME: insert proper C++ library support
++    _LT_AC_TAGVAR(ld_shlibs, $1)=no
++    ;;
++  vxworks*)
++    # FIXME: insert proper C++ library support
++    _LT_AC_TAGVAR(ld_shlibs, $1)=no
++    ;;
++  *)
++    # FIXME: insert proper C++ library support
++    _LT_AC_TAGVAR(ld_shlibs, $1)=no
++    ;;
++esac
++AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
++test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
+ 
+-# Whether we should hardcode library paths into libraries.
+-hardcode_into_libs=$hardcode_into_libs
++# Figure out "hidden" C++ library dependencies from verbose
++# compiler output whening linking a shared library.
++cat > conftest.$ac_ext <<EOF
++class Foo
++{
++public:
++  Foo (void) { a = 0; }
++private:
++  int a;
++};
++EOF
+ 
+-# Flag to hardcode \$libdir into a binary during linking.
+-# This must work even if \$libdir does not exist.
+-hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
+ 
+-# Whether we need a single -rpath flag with a separated argument.
+-hardcode_libdir_separator=$lt_hardcode_libdir_separator
++if AC_TRY_EVAL(ac_compile); then
++  # Parse the compiler output and extract the necessary
++  # objects, libraries and library flags.
++
++  # Sentinel used to keep track of whether or not we are before
++  # the conftest object file.
++  pre_test_object_deps_done=no
++
++  # The `*' in the case matches for architectures that use `case' in
++  # $output_verbose_cmd can trigger glob expansion during the loop
++  # eval without this substitution.
++  output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
++
++  for p in `eval $output_verbose_link_cmd`; do
++    case $p in
++
++    -L* | -R* | -l*)
++       # Some compilers place space between "-{L,R}" and the path.
++       # Remove the space.
++       if test $p = "-L" \
++          || test $p = "-R"; then
++         prev=$p
++         continue
++       else
++         prev=
++       fi
++
++       if test "$pre_test_object_deps_done" = no; then
++         case $p in
++	 -L* | -R*)
++	   # Internal compiler library paths should come after those
++	   # provided the user.  The postdeps already come after the
++	   # user supplied libs so there is no need to process them.
++           if test -z "$_LT_AC_TAGVAR(compiler_lib_search_path, $1)"; then
++             _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}"
++           else
++             _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${_LT_AC_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}"
++           fi
++           ;;
++         # The "-l" case would never come before the object being
++         # linked, so don't bother handling this case.
++         esac
++       else
++         if test -z "$_LT_AC_TAGVAR(postdeps, $1)"; then
++           _LT_AC_TAGVAR(postdeps, $1)="${prev}${p}"
++         else
++           _LT_AC_TAGVAR(postdeps, $1)="${_LT_AC_TAGVAR(postdeps, $1)} ${prev}${p}"
++         fi
++       fi
++       ;;
++
++    *.$objext)
++       # This assumes that the test object file only shows up
++       # once in the compiler output.
++       if test "$p" = "conftest.$objext"; then
++         pre_test_object_deps_done=yes
++         continue
++       fi
++
++       if test "$pre_test_object_deps_done" = no; then
++         if test -z "$_LT_AC_TAGVAR(predep_objects, $1)"; then
++           _LT_AC_TAGVAR(predep_objects, $1)="$p"
++         else
++           _LT_AC_TAGVAR(predep_objects, $1)="$_LT_AC_TAGVAR(predep_objects, $1) $p"
++         fi
++       else
++         if test -z "$_LT_AC_TAGVAR(postdep_objects, $1)"; then
++           _LT_AC_TAGVAR(postdep_objects, $1)="$p"
++         else
++           _LT_AC_TAGVAR(postdep_objects, $1)="$_LT_AC_TAGVAR(postdep_objects, $1) $p"
++         fi
++       fi
++       ;;
+ 
+-# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
+-# resulting binary.
+-hardcode_direct=$hardcode_direct
++    *) ;; # Ignore the rest.
+ 
+-# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
+-# resulting binary.
+-hardcode_minus_L=$hardcode_minus_L
++    esac
++  done
+ 
+-# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
+-# the resulting binary.
+-hardcode_shlibpath_var=$hardcode_shlibpath_var
++  # Clean up.
++  rm -f a.out
++else
++  echo "ltcf-cxx.sh: error: problem compiling test program"
++fi
+ 
+-# Variables whose values should be saved in libtool wrapper scripts and
+-# restored at relink time.
+-variables_saved_for_relink="$variables_saved_for_relink"
++$rm -f confest.$objext
+ 
+-# Whether libtool must link a program against all its dependency libraries.
+-link_all_deplibs=$link_all_deplibs
++case " $_LT_AC_TAGVAR(postdeps, $1) " in
++*" -lc "*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;;
++*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes ;;
++esac
+ 
+-# Compile-time system search path for libraries
+-sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
++_LT_AC_TAGVAR(GCC, $1)="$GXX"
++_LT_AC_TAGVAR(LD, $1)="$LD"
+ 
+-# Run-time system search path for libraries
+-sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
++AC_LIBTOOL_PROG_COMPILER_PIC($1)
++AC_LIBTOOL_PROG_CC_C_O($1)
++AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
++AC_LIBTOOL_PROG_LD_SHLIBS($1)
++AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
++AC_LIBTOOL_SYS_LIB_STRIP
++AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
++AC_LIBTOOL_DLOPEN_SELF($1)
++
++AC_LIBTOOL_CONFIG($1)
++
++AC_LANG_POP
++CC="$lt_save_CC"
++])# AC_LIBTOOL_LANG_CXX_CONFIG
+ 
+-# Fix the shell variable \$srcfile for the compiler.
+-fix_srcfile_path="$fix_srcfile_path"
+ 
+-# Set to yes if exported symbols are required.
+-always_export_symbols=$always_export_symbols
++# AC_LIBTOOL_LANG_GCJ_CONFIG
++# --------------------------
++# Ensure that the configuration vars for the C compiler are
++# suitably defined.  Those variables are subsequently used by
++# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
++AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG], [_LT_AC_LANG_GCJ_CONFIG(GCJ)])
++AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG],
++[AC_LANG_SAVE
++
++# Source file extension for C test sources.
++ac_ext=java
++
++# Object file extension for compiled C test sources.
++objext=o
++_LT_AC_TAGVAR(objext, $1)=$objext
+ 
+-# The commands to list exported symbols.
+-export_symbols_cmds=$lt_export_symbols_cmds
++# Code to be used in simple compile tests
++lt_simple_compile_test_code="class foo {}"
+ 
+-# The commands to extract the exported symbol list from a shared archive.
+-extract_expsyms_cmds=$lt_extract_expsyms_cmds
++# Code to be used in simple link tests
++lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
+ 
+-# Symbols that should not be listed in the preloaded symbols.
+-exclude_expsyms=$lt_exclude_expsyms
++# ltmain only uses $CC for tagged configurations so make sure $CC is set.
++_LT_AC_SYS_COMPILER
+ 
+-# Symbols that must always be exported.
+-include_expsyms=$lt_include_expsyms
++# Allow CC to be a program name with arguments.
++lt_save_CC="$CC"
++CC=${GCJ-"gcj"}
++set dummy $CC
++compiler="[$]2"
++_LT_AC_TAGVAR(compiler, $1)=$CC
+ 
+-# ### END LIBTOOL CONFIG
++# GCJ did not exist at the time GCC didn't implicitly link libc in.
++_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
+ 
+-__EOF__
++AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
++AC_LIBTOOL_PROG_COMPILER_PIC($1)
++AC_LIBTOOL_PROG_CC_C_O($1)
++AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
++AC_LIBTOOL_PROG_LD_SHLIBS($1)
++AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
++AC_LIBTOOL_SYS_LIB_STRIP
++AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
++AC_LIBTOOL_DLOPEN_SELF($1)
++
++AC_LIBTOOL_CONFIG($1)
++
++AC_LANG_RESTORE
++CC="$lt_save_CC"
++])# AC_LIBTOOL_LANG_GCJ_CONFIG
++
++
++# AC_LIBTOOL_CONFIG([TAGNAME])
++# ----------------------------
++# If TAGNAME is not passed, then create an initial libtool script
++# with a default configuration from the untagged config vars.  Otherwise
++# add code to config.status for appending the configuration named by
++# TAGNAME from the matching tagged config vars.
++AC_DEFUN([AC_LIBTOOL_CONFIG], 
++[# The else clause should only fire when bootstrapping the
++# libtool distribution, otherwise you forgot to ship ltmain.sh
++# with your package, and you will get complaints that there are
++# no rules to generate ltmain.sh.
++if test -f "$ltmain"; then
++  # Now quote all the things that may contain metacharacters while being
++  # careful not to overquote the AC_SUBSTed values.  We take copies of the
++  # variables and quote the copies for generation of the libtool script.
++  for var in echo old_CC old_CFLAGS AR AR_FLAGS RANLIB LN_S NM SHELL \
++    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
++    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
++    deplibs_check_method reload_flag reload_cmds need_locks \
++    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
++    lt_cv_sys_global_symbol_to_c_name_address \
++    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
++    old_postinstall_cmds old_postuninstall_cmds \
++    _LT_AC_TAGVAR(compiler, $1) \
++    _LT_AC_TAGVAR(CC, $1) \
++    _LT_AC_TAGVAR(LD, $1) \
++    _LT_AC_TAGVAR(lt_prog_compiler_wl, $1) \
++    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1) \
++    _LT_AC_TAGVAR(lt_prog_compiler_static, $1) \
++    _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) \
++    _LT_AC_TAGVAR(export_dynamic_flag_spec, $1) \
++    _LT_AC_TAGVAR(thread_safe_flag_spec, $1) \
++    _LT_AC_TAGVAR(whole_archive_flag_spec, $1) \
++    _LT_AC_TAGVAR(old_archive_cmds, $1) \
++    _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) \
++    _LT_AC_TAGVAR(predep_objects, $1) \
++    _LT_AC_TAGVAR(postdep_objects, $1) \
++    _LT_AC_TAGVAR(predeps, $1) \
++    _LT_AC_TAGVAR(postdeps, $1) \
++    _LT_AC_TAGVAR(compiler_lib_search_path, $1) \
++    _LT_AC_TAGVAR(archive_cmds, $1) \
++    _LT_AC_TAGVAR(archive_expsym_cmds, $1) \
++    _LT_AC_TAGVAR(postinstall_cmds, $1) \
++    _LT_AC_TAGVAR(postuninstall_cmds, $1) \
++    _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) \
++    _LT_AC_TAGVAR(allow_undefined_flag, $1) \
++    _LT_AC_TAGVAR(no_undefined_flag, $1) \
++    _LT_AC_TAGVAR(export_symbols_cmds, $1) \
++    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) \
++    _LT_AC_TAGVAR(hardcode_libdir_separator, $1) \
++    _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) \
++    _LT_AC_TAGVAR(exclude_expsyms, $1) \
++    _LT_AC_TAGVAR(include_expsyms, $1); do
+ 
+-  case $host_os in
+-  aix3*)
+-    cat <<\EOF >> "${ofile}T"
++    case $var in
++    _LT_AC_TAGVAR(old_archive_cmds, $1) | \
++    _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) | \
++    _LT_AC_TAGVAR(archive_cmds, $1) | \
++    _LT_AC_TAGVAR(archive_expsym_cmds, $1) | \
++    _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) | \
++    _LT_AC_TAGVAR(export_symbols_cmds, $1) | \
++    extract_expsyms_cmds | reload_cmds | finish_cmds | \
++    postinstall_cmds | postuninstall_cmds | \
++    old_postinstall_cmds | old_postuninstall_cmds | \
++    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
++      # Double-quote double-evaled strings.
++      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
++      ;;
++    *)
++      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
++      ;;
++    esac
++  done
+ 
+-# AIX sometimes has problems with the GCC collect2 program.  For some
+-# reason, if we set the COLLECT_NAMES environment variable, the problems
+-# vanish in a puff of smoke.
+-if test "X${COLLECT_NAMES+set}" != Xset; then
+-  COLLECT_NAMES=
+-  export COLLECT_NAMES
+-fi
+-EOF
++  case $lt_echo in
++  *'\[$]0 --fallback-echo"')
++    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\[$]0 --fallback-echo"[$]/[$]0 --fallback-echo"/'`
+     ;;
+   esac
+ 
+-  case $host_os in
+-  cygwin* | mingw* | pw32* | os2*)
+-    cat <<'EOF' >> "${ofile}T"
+-      # This is a source program that is used to create dlls on Windows
+-      # Don't remove nor modify the starting and closing comments
+-# /* ltdll.c starts here */
+-# #define WIN32_LEAN_AND_MEAN
+-# #include <windows.h>
+-# #undef WIN32_LEAN_AND_MEAN
+-# #include <stdio.h>
+-#
+-# #ifndef __CYGWIN__
+-# #  ifdef __CYGWIN32__
+-# #    define __CYGWIN__ __CYGWIN32__
+-# #  endif
+-# #endif
+-#
+-# #ifdef __cplusplus
+-# extern "C" {
+-# #endif
+-# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
+-# #ifdef __cplusplus
+-# }
+-# #endif
+-#
+-# #ifdef __CYGWIN__
+-# #include <cygwin/cygwin_dll.h>
+-# DECLARE_CYGWIN_DLL( DllMain );
+-# #endif
+-# HINSTANCE __hDllInstance_base;
+-#
+-# BOOL APIENTRY
+-# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
+-# {
+-#   __hDllInstance_base = hInst;
+-#   return TRUE;
+-# }
+-# /* ltdll.c ends here */
+-        # This is a source program that is used to create import libraries
+-        # on Windows for dlls which lack them. Don't remove nor modify the
+-        # starting and closing comments
+-# /* impgen.c starts here */
+-# /*   Copyright (C) 1999-2000 Free Software Foundation, Inc.
+-#
+-#  This file is part of GNU libtool.
+-#
+-#  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.
++ifelse([$1], [],
++  [cfgfile="${ofile}T"
++  trap "$rm \"$cfgfile\"; exit 1" 1 2 15
++  $rm -f "$cfgfile"
++  AC_MSG_NOTICE([creating $ofile])],
++  [cfgfile="$ofile"])
++
++  cat <<__EOF__ >> "$cfgfile"
++ifelse([$1], [], 
++[#! $SHELL
++
++# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
++# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
++# NOTE: Changes made to this file will be lost: look at ltmain.sh.
+ #
+-#  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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+-#  */
++# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
++# Free Software Foundation, Inc.
+ #
+-# #include <stdio.h>		/* for printf() */
+-# #include <unistd.h>		/* for open(), lseek(), read() */
+-# #include <fcntl.h>		/* for O_RDONLY, O_BINARY */
+-# #include <string.h>		/* for strdup() */
++# This file is part of GNU Libtool:
++# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
+ #
+-# /* O_BINARY isn't required (or even defined sometimes) under Unix */
+-# #ifndef O_BINARY
+-# #define O_BINARY 0
+-# #endif
++# 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.
+ #
+-# static unsigned int
+-# pe_get16 (fd, offset)
+-#      int fd;
+-#      int offset;
+-# {
+-#   unsigned char b[2];
+-#   lseek (fd, offset, SEEK_SET);
+-#   read (fd, b, 2);
+-#   return b[0] + (b[1]<<8);
+-# }
++# 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.
+ #
+-# static unsigned int
+-# pe_get32 (fd, offset)
+-#     int fd;
+-#     int offset;
+-# {
+-#   unsigned char b[4];
+-#   lseek (fd, offset, SEEK_SET);
+-#   read (fd, b, 4);
+-#   return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
+-# }
++# 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ #
+-# static unsigned int
+-# pe_as32 (ptr)
+-#      void *ptr;
+-# {
+-#   unsigned char *b = ptr;
+-#   return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
+-# }
+-#
+-# int
+-# main (argc, argv)
+-#     int argc;
+-#     char *argv[];
+-# {
+-#     int dll;
+-#     unsigned long pe_header_offset, opthdr_ofs, num_entries, i;
+-#     unsigned long export_rva, export_size, nsections, secptr, expptr;
+-#     unsigned long name_rvas, nexp;
+-#     unsigned char *expdata, *erva;
+-#     char *filename, *dll_name;
+-#
+-#     filename = argv[1];
+-#
+-#     dll = open(filename, O_RDONLY|O_BINARY);
+-#     if (dll < 1)
+-# 	return 1;
+-#
+-#     dll_name = filename;
+-#
+-#     for (i=0; filename[i]; i++)
+-# 	if (filename[i] == '/' || filename[i] == '\\'  || filename[i] == ':')
+-# 	    dll_name = filename + i +1;
+-#
+-#     pe_header_offset = pe_get32 (dll, 0x3c);
+-#     opthdr_ofs = pe_header_offset + 4 + 20;
+-#     num_entries = pe_get32 (dll, opthdr_ofs + 92);
+-#
+-#     if (num_entries < 1) /* no exports */
+-# 	return 1;
+-#
+-#     export_rva = pe_get32 (dll, opthdr_ofs + 96);
+-#     export_size = pe_get32 (dll, opthdr_ofs + 100);
+-#     nsections = pe_get16 (dll, pe_header_offset + 4 +2);
+-#     secptr = (pe_header_offset + 4 + 20 +
+-# 	      pe_get16 (dll, pe_header_offset + 4 + 16));
+-#
+-#     expptr = 0;
+-#     for (i = 0; i < nsections; i++)
+-#     {
+-# 	char sname[8];
+-# 	unsigned long secptr1 = secptr + 40 * i;
+-# 	unsigned long vaddr = pe_get32 (dll, secptr1 + 12);
+-# 	unsigned long vsize = pe_get32 (dll, secptr1 + 16);
+-# 	unsigned long fptr = pe_get32 (dll, secptr1 + 20);
+-# 	lseek(dll, secptr1, SEEK_SET);
+-# 	read(dll, sname, 8);
+-# 	if (vaddr <= export_rva && vaddr+vsize > export_rva)
+-# 	{
+-# 	    expptr = fptr + (export_rva - vaddr);
+-# 	    if (export_rva + export_size > vaddr + vsize)
+-# 		export_size = vsize - (export_rva - vaddr);
+-# 	    break;
+-# 	}
+-#     }
+-#
+-#     expdata = (unsigned char*)malloc(export_size);
+-#     lseek (dll, expptr, SEEK_SET);
+-#     read (dll, expdata, export_size);
+-#     erva = expdata - export_rva;
+-#
+-#     nexp = pe_as32 (expdata+24);
+-#     name_rvas = pe_as32 (expdata+32);
+-#
+-#     printf ("EXPORTS\n");
+-#     for (i = 0; i<nexp; i++)
+-#     {
+-# 	unsigned long name_rva = pe_as32 (erva+name_rvas+i*4);
+-# 	printf ("\t%s @ %ld ;\n", erva+name_rva, 1+ i);
+-#     }
+-#
+-#     return 0;
+-# }
+-# /* impgen.c ends here */
++# As a special exception to the GNU General Public License, if you
++# distribute this file as part of a program that contains a
++# configuration script generated by Autoconf, you may include it under
++# the same distribution terms that you use for the rest of that program.
+ 
+-EOF
+-    ;;
+-  esac
++# Sed that helps us avoid accidentally triggering echo(1) options like -n.
++Xsed="sed -e s/^X//"
+ 
+-  # We use sed instead of cat because bash on DJGPP gets confused if
+-  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
+-  # text mode, it properly converts lines to CR/LF.  This bash problem
+-  # is reportedly fixed, but why not run on old versions too?
+-  sed '$q' "$ltmain" >> "${ofile}T" || (rm -f "${ofile}T"; exit 1)
++# The HP-UX ksh and POSIX shell print the target directory to stdout
++# if CDPATH is set.
++if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
+ 
+-  mv -f "${ofile}T" "$ofile" || \
+-    (rm -f "$ofile" && cp "${ofile}T" "$ofile" && rm -f "${ofile}T")
+-  chmod +x "$ofile"
+-fi
++# The names of the tagged configurations supported by this script.
++available_tags=
+ 
+-])# _LT_AC_LTCONFIG_HACK
++# ### BEGIN LIBTOOL CONFIG],
++[# ### BEGIN LIBTOOL TAG CONFIG: $tagname])
+ 
+-# AC_LIBTOOL_DLOPEN - enable checks for dlopen support
+-AC_DEFUN([AC_LIBTOOL_DLOPEN], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])])
++# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
+ 
+-# AC_LIBTOOL_WIN32_DLL - declare package support for building win32 dll's
+-AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_BEFORE([$0], [AC_LIBTOOL_SETUP])])
++# Shell to use when invoking shell scripts.
++SHELL=$lt_SHELL
+ 
+-# AC_ENABLE_SHARED - implement the --enable-shared flag
+-# Usage: AC_ENABLE_SHARED[(DEFAULT)]
+-#   Where DEFAULT is either `yes' or `no'.  If omitted, it defaults to
+-#   `yes'.
+-AC_DEFUN([AC_ENABLE_SHARED],
+-[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl
+-AC_ARG_ENABLE(shared,
+-changequote(<<, >>)dnl
+-<<  --enable-shared[=PKGS]  build shared libraries [default=>>AC_ENABLE_SHARED_DEFAULT],
+-changequote([, ])dnl
+-[p=${PACKAGE-default}
+-case $enableval in
+-yes) enable_shared=yes ;;
+-no) enable_shared=no ;;
+-*)
+-  enable_shared=no
+-  # Look at the argument we got.  We use all the common list separators.
+-  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
+-  for pkg in $enableval; do
+-    if test "X$pkg" = "X$p"; then
+-      enable_shared=yes
+-    fi
+-  done
+-  IFS="$ac_save_ifs"
+-  ;;
+-esac],
+-enable_shared=AC_ENABLE_SHARED_DEFAULT)dnl
+-])
++# Whether or not to build shared libraries.
++build_libtool_libs=$enable_shared
+ 
+-# AC_DISABLE_SHARED - set the default shared flag to --disable-shared
+-AC_DEFUN([AC_DISABLE_SHARED],
+-[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
+-AC_ENABLE_SHARED(no)])
++# Whether or not to build static libraries.
++build_old_libs=$enable_static
+ 
+-# AC_ENABLE_STATIC - implement the --enable-static flag
+-# Usage: AC_ENABLE_STATIC[(DEFAULT)]
+-#   Where DEFAULT is either `yes' or `no'.  If omitted, it defaults to
+-#   `yes'.
+-AC_DEFUN([AC_ENABLE_STATIC],
+-[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl
+-AC_ARG_ENABLE(static,
+-changequote(<<, >>)dnl
+-<<  --enable-static[=PKGS]  build static libraries [default=>>AC_ENABLE_STATIC_DEFAULT],
+-changequote([, ])dnl
+-[p=${PACKAGE-default}
+-case $enableval in
+-yes) enable_static=yes ;;
+-no) enable_static=no ;;
+-*)
+-  enable_static=no
+-  # Look at the argument we got.  We use all the common list separators.
+-  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
+-  for pkg in $enableval; do
+-    if test "X$pkg" = "X$p"; then
+-      enable_static=yes
+-    fi
+-  done
+-  IFS="$ac_save_ifs"
+-  ;;
+-esac],
+-enable_static=AC_ENABLE_STATIC_DEFAULT)dnl
+-])
++# Whether or not to add -lc for building shared libraries.
++build_libtool_need_lc=$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)
+ 
+-# AC_DISABLE_STATIC - set the default static flag to --disable-static
+-AC_DEFUN([AC_DISABLE_STATIC],
+-[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
+-AC_ENABLE_STATIC(no)])
++# Whether or not to optimize for fast installation.
++fast_install=$enable_fast_install
+ 
++# The host system.
++host_alias=$host_alias
++host=$host
+ 
+-# AC_ENABLE_FAST_INSTALL - implement the --enable-fast-install flag
+-# Usage: AC_ENABLE_FAST_INSTALL[(DEFAULT)]
+-#   Where DEFAULT is either `yes' or `no'.  If omitted, it defaults to
+-#   `yes'.
+-AC_DEFUN([AC_ENABLE_FAST_INSTALL],
+-[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl
+-AC_ARG_ENABLE(fast-install,
+-changequote(<<, >>)dnl
+-<<  --enable-fast-install[=PKGS]  optimize for fast installation [default=>>AC_ENABLE_FAST_INSTALL_DEFAULT],
+-changequote([, ])dnl
+-[p=${PACKAGE-default}
+-case $enableval in
+-yes) enable_fast_install=yes ;;
+-no) enable_fast_install=no ;;
+-*)
+-  enable_fast_install=no
+-  # Look at the argument we got.  We use all the common list separators.
+-  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
+-  for pkg in $enableval; do
+-    if test "X$pkg" = "X$p"; then
+-      enable_fast_install=yes
+-    fi
+-  done
+-  IFS="$ac_save_ifs"
+-  ;;
+-esac],
+-enable_fast_install=AC_ENABLE_FAST_INSTALL_DEFAULT)dnl
+-])
++# An echo program that does not interpret backslashes.
++echo=$lt_echo
+ 
+-# AC_DISABLE_FAST_INSTALL - set the default to --disable-fast-install
+-AC_DEFUN([AC_DISABLE_FAST_INSTALL],
+-[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
+-AC_ENABLE_FAST_INSTALL(no)])
++# The archiver.
++AR=$lt_AR
++AR_FLAGS=$lt_AR_FLAGS
+ 
+-# AC_LIBTOOL_PICMODE - implement the --with-pic flag
+-# Usage: AC_LIBTOOL_PICMODE[(MODE)]
+-#   Where MODE is either `yes' or `no'.  If omitted, it defaults to
+-#   `both'.
+-AC_DEFUN([AC_LIBTOOL_PICMODE],
+-[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
+-pic_mode=ifelse($#,1,$1,default)])
++# A C compiler.
++LTCC=$LTCC
+ 
++# A language-specific compiler.
++CC=$lt_[]_LT_AC_TAGVAR(compiler, $1)
+ 
+-# AC_PATH_TOOL_PREFIX - find a file program which can recognise shared library
+-AC_DEFUN([AC_PATH_TOOL_PREFIX],
+-[AC_MSG_CHECKING([for $1])
+-AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
+-[case $MAGIC_CMD in
+-  /*)
+-  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
+-  ;;
+-  ?:/*)
+-  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
+-  ;;
+-  *)
+-  ac_save_MAGIC_CMD="$MAGIC_CMD"
+-  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
+-dnl $ac_dummy forces splitting on constant user-supplied paths.
+-dnl POSIX.2 word splitting is done only on the output of word expansions,
+-dnl not every word.  This closes a longstanding sh security hole.
+-  ac_dummy="ifelse([$2], , $PATH, [$2])"
+-  for ac_dir in $ac_dummy; do
+-    test -z "$ac_dir" && ac_dir=.
+-    if test -f $ac_dir/$1; then
+-      lt_cv_path_MAGIC_CMD="$ac_dir/$1"
+-      if test -n "$file_magic_test_file"; then
+-	case $deplibs_check_method in
+-	"file_magic "*)
+-	  file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
+-	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
+-	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
+-	    egrep "$file_magic_regex" > /dev/null; then
+-	    :
+-	  else
+-	    cat <<EOF 1>&2
++# Is the compiler the GNU C compiler?
++with_gcc=$_LT_AC_TAGVAR(GCC, $1)
+ 
+-*** Warning: the command libtool uses to detect shared libraries,
+-*** $file_magic_cmd, produces output that libtool cannot recognize.
+-*** The result is that libtool may fail to recognize shared libraries
+-*** as such.  This will affect the creation of libtool libraries that
+-*** depend on shared libraries, but programs linked with such libtool
+-*** libraries will work regardless of this problem.  Nevertheless, you
+-*** may want to report the problem to your system manager and/or to
+-*** bug-libtool@gnu.org
++# The linker used to build libraries.
++LD=$lt_[]_LT_AC_TAGVAR(LD, $1)
+ 
+-EOF
+-	  fi ;;
+-	esac
+-      fi
+-      break
+-    fi
+-  done
+-  IFS="$ac_save_ifs"
+-  MAGIC_CMD="$ac_save_MAGIC_CMD"
+-  ;;
+-esac])
+-MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
+-if test -n "$MAGIC_CMD"; then
+-  AC_MSG_RESULT($MAGIC_CMD)
+-else
+-  AC_MSG_RESULT(no)
+-fi
+-])
++# Whether we need hard or soft links.
++LN_S=$lt_LN_S
+ 
++# A BSD-compatible nm program.
++NM=$lt_NM
+ 
+-# AC_PATH_MAGIC - find a file program which can recognise a shared library
+-AC_DEFUN([AC_PATH_MAGIC],
+-[AC_REQUIRE([AC_CHECK_TOOL_PREFIX])dnl
+-AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin:$PATH)
+-if test -z "$lt_cv_path_MAGIC_CMD"; then
+-  if test -n "$ac_tool_prefix"; then
+-    AC_PATH_TOOL_PREFIX(file, /usr/bin:$PATH)
+-  else
+-    MAGIC_CMD=:
+-  fi
+-fi
+-])
++# A symbol stripping program
++STRIP=$STRIP
+ 
++# Used to examine libraries when file_magic_cmd begins "file"
++MAGIC_CMD=$MAGIC_CMD
+ 
+-# AC_PROG_LD - find the path to the GNU or non-GNU linker
+-AC_DEFUN([AC_PROG_LD],
+-[AC_ARG_WITH(gnu-ld,
+-[  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]],
+-test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no)
+-AC_REQUIRE([AC_PROG_CC])dnl
+-AC_REQUIRE([AC_CANONICAL_HOST])dnl
+-AC_REQUIRE([AC_CANONICAL_BUILD])dnl
+-ac_prog=ld
+-if test "$GCC" = yes; then
+-  # Check if gcc -print-prog-name=ld gives a path.
+-  AC_MSG_CHECKING([for ld used by GCC])
+-  case $host in
+-  *-*-mingw*)
+-    # gcc leaves a trailing carriage return which upsets mingw
+-    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
+-  *)
+-    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
+-  esac
+-  case $ac_prog in
+-    # Accept absolute paths.
+-    [[\\/]* | [A-Za-z]:[\\/]*)]
+-      [re_direlt='/[^/][^/]*/\.\./']
+-      # Canonicalize the path of ld
+-      ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
+-      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
+-	ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
+-      done
+-      test -z "$LD" && LD="$ac_prog"
+-      ;;
+-  "")
+-    # If it fails, then pretend we aren't using GCC.
+-    ac_prog=ld
+-    ;;
+-  *)
+-    # If it is relative, then search for the first ld in PATH.
+-    with_gnu_ld=unknown
+-    ;;
+-  esac
+-elif test "$with_gnu_ld" = yes; then
+-  AC_MSG_CHECKING([for GNU ld])
+-else
+-  AC_MSG_CHECKING([for non-GNU ld])
+-fi
+-AC_CACHE_VAL(lt_cv_path_LD,
+-[if test -z "$LD"; then
+-  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
+-  for ac_dir in $PATH; do
+-    test -z "$ac_dir" && ac_dir=.
+-    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
+-      lt_cv_path_LD="$ac_dir/$ac_prog"
+-      # Check to see if the program is GNU ld.  I'd rather use --version,
+-      # but apparently some GNU ld's only accept -v.
+-      # Break only if it was the GNU/non-GNU ld that we prefer.
+-      if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
+-	test "$with_gnu_ld" != no && break
+-      else
+-	test "$with_gnu_ld" != yes && break
+-      fi
+-    fi
+-  done
+-  IFS="$ac_save_ifs"
+-else
+-  lt_cv_path_LD="$LD" # Let the user override the test with a path.
+-fi])
+-LD="$lt_cv_path_LD"
+-if test -n "$LD"; then
+-  AC_MSG_RESULT($LD)
+-else
+-  AC_MSG_RESULT(no)
+-fi
+-test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
+-AC_PROG_LD_GNU
+-])
++# Used on cygwin: DLL creation program.
++DLLTOOL="$DLLTOOL"
+ 
+-# AC_PROG_LD_GNU -
+-AC_DEFUN([AC_PROG_LD_GNU],
+-[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
+-[# I'd rather use --version here, but apparently some GNU ld's only accept -v.
+-if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
+-  lt_cv_prog_gnu_ld=yes
+-else
+-  lt_cv_prog_gnu_ld=no
+-fi])
+-with_gnu_ld=$lt_cv_prog_gnu_ld
+-])
++# Used on cygwin: object dumper.
++OBJDUMP="$OBJDUMP"
+ 
+-# AC_PROG_LD_RELOAD_FLAG - find reload flag for linker
+-#   -- PORTME Some linkers may need a different reload flag.
+-AC_DEFUN([AC_PROG_LD_RELOAD_FLAG],
+-[AC_CACHE_CHECK([for $LD option to reload object files], lt_cv_ld_reload_flag,
+-[lt_cv_ld_reload_flag='-r'])
+-reload_flag=$lt_cv_ld_reload_flag
+-test -n "$reload_flag" && reload_flag=" $reload_flag"
+-])
++# Used on cygwin: assembler.
++AS="$AS"
+ 
+-# AC_DEPLIBS_CHECK_METHOD - how to check for library dependencies
+-#  -- PORTME fill in with the dynamic library characteristics
+-AC_DEFUN([AC_DEPLIBS_CHECK_METHOD],
+-[AC_CACHE_CHECK([how to recognise dependant libraries],
+-lt_cv_deplibs_check_method,
+-[lt_cv_file_magic_cmd='$MAGIC_CMD'
+-lt_cv_file_magic_test_file=
+-lt_cv_deplibs_check_method='unknown'
+-# Need to set the preceding variable on all platforms that support
+-# interlibrary dependencies.
+-# 'none' -- dependencies not supported.
+-# `unknown' -- same as none, but documents that we really don't know.
+-# 'pass_all' -- all dependencies passed with no checks.
+-# 'test_compile' -- check by making test program.
+-# ['file_magic [regex]'] -- check by looking for files in library path
+-# which responds to the $file_magic_cmd with a given egrep regex.
+-# If you have `file' or equivalent on your system and you're not sure
+-# whether `pass_all' will *always* work, you probably want this one.
++# The name of the directory that contains temporary libtool files.
++objdir=$objdir
+ 
+-case $host_os in
+-aix4* | aix5*)
+-  lt_cv_deplibs_check_method=pass_all
+-  ;;
++# How to create reloadable object files.
++reload_flag=$lt_reload_flag
++reload_cmds=$lt_reload_cmds
+ 
+-beos*)
+-  lt_cv_deplibs_check_method=pass_all
+-  ;;
++# How to pass a linker flag through the compiler.
++wl=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
+ 
+-bsdi4*)
+-  [lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)']
+-  lt_cv_file_magic_cmd='/usr/bin/file -L'
+-  lt_cv_file_magic_test_file=/shlib/libc.so
+-  ;;
++# Object file suffix (normally "o").
++objext="$ac_objext"
+ 
+-cygwin* | mingw* | pw32*)
+-  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
+-  lt_cv_file_magic_cmd='$OBJDUMP -f'
+-  ;;
++# Old archive suffix (normally "a").
++libext="$libext"
+ 
+-darwin* | rhapsody*)
+-  lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
+-  lt_cv_file_magic_cmd='/usr/bin/file -L'
+-  case "$host_os" in
+-  rhapsody* | darwin1.[012])
+-    lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1`
+-    ;;
+-  *) # Darwin 1.3 on
+-    lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
+-    ;;
+-  esac
+-  ;;
++# Executable file suffix (normally "").
++exeext="$exeext"
+ 
+-freebsd*)
+-  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
+-    case $host_cpu in
+-    i*86 )
+-      # Not sure whether the presence of OpenBSD here was a mistake.
+-      # Let's accept both of them until this is cleared up.
+-      [lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library']
+-      lt_cv_file_magic_cmd=/usr/bin/file
+-      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
+-      ;;
+-    esac
+-  else
+-    lt_cv_deplibs_check_method=pass_all
+-  fi
+-  ;;
++# Additional compiler flags for building library objects.
++pic_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)
++pic_mode=$pic_mode
+ 
+-gnu*)
+-  lt_cv_deplibs_check_method=pass_all
+-  ;;
++# What is the maximum length of a command?
++max_cmd_len=$lt_cv_sys_max_cmd_len
+ 
+-hpux10.20*|hpux11*)
+-  [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library']
+-  lt_cv_file_magic_cmd=/usr/bin/file
+-  lt_cv_file_magic_test_file=/usr/lib/libc.sl
+-  ;;
++# Does compiler simultaneously support -c and -o options?
++compiler_c_o=$lt_[]_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)
+ 
+-irix5* | irix6*)
+-  case $host_os in
+-  irix5*)
+-    # this will be overridden with pass_all, but let us keep it just in case
+-    lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
+-    ;;
+-  *)
+-    case $LD in
+-    *-32|*"-32 ") libmagic=32-bit;;
+-    *-n32|*"-n32 ") libmagic=N32;;
+-    *-64|*"-64 ") libmagic=64-bit;;
+-    *) libmagic=never-match;;
+-    esac
+-    # this will be overridden with pass_all, but let us keep it just in case
+-    [lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"]
+-    ;;
+-  esac
+-  lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
+-  lt_cv_deplibs_check_method=pass_all
+-  ;;
++# Must we lock files when doing compilation ?
++need_locks=$lt_need_locks
+ 
+-# This must be Linux ELF.
+-linux-gnu*)
+-  case $host_cpu in
+-  alpha* | i*86 | powerpc* | sparc* | ia64* )
+-    lt_cv_deplibs_check_method=pass_all ;;
+-  *)
+-    # glibc up to 2.1.1 does not perform some relocations on ARM
+-    [lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;]
+-  esac
+-  lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
+-  ;;
++# Do we need the lib prefix for modules?
++need_lib_prefix=$need_lib_prefix
+ 
+-netbsd*)
+-  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
+-    [lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$']
+-  else
+-    [lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$']
+-  fi
+-  ;;
++# Do we need a version for libraries?
++need_version=$need_version
+ 
+-newos6*)
+-  [lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)']
+-  lt_cv_file_magic_cmd=/usr/bin/file
+-  lt_cv_file_magic_test_file=/usr/lib/libnls.so
+-  ;;
++# Whether dlopen is supported.
++dlopen_support=$enable_dlopen
+ 
+-osf3* | osf4* | osf5*)
+-  # this will be overridden with pass_all, but let us keep it just in case
+-  lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
+-  lt_cv_file_magic_test_file=/shlib/libc.so
+-  lt_cv_deplibs_check_method=pass_all
+-  ;;
++# Whether dlopen of programs is supported.
++dlopen_self=$enable_dlopen_self
+ 
+-sco3.2v5*)
+-  lt_cv_deplibs_check_method=pass_all
+-  ;;
++# Whether dlopen of statically linked programs is supported.
++dlopen_self_static=$enable_dlopen_self_static
+ 
+-solaris*)
+-  lt_cv_deplibs_check_method=pass_all
+-  lt_cv_file_magic_test_file=/lib/libc.so
+-  ;;
++# Compiler flag to prevent dynamic linking.
++link_static_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_static, $1)
+ 
+-[sysv5uw[78]* | sysv4*uw2*)]
+-  lt_cv_deplibs_check_method=pass_all
+-  ;;
++# Compiler flag to turn off builtin functions.
++no_builtin_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)
+ 
+-sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
+-  case $host_vendor in
+-  motorola)
+-    [lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]']
+-    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
+-    ;;
+-  ncr)
+-    lt_cv_deplibs_check_method=pass_all
+-    ;;
+-  sequent)
+-    lt_cv_file_magic_cmd='/bin/file'
+-    [lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )']
+-    ;;
+-  sni)
+-    lt_cv_file_magic_cmd='/bin/file'
+-    [lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"]
+-    lt_cv_file_magic_test_file=/lib/libc.so
+-    ;;
+-  esac
++# Compiler flag to allow reflexive dlopens.
++export_dynamic_flag_spec=$lt_[]_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)
++
++# Compiler flag to generate shared objects directly from archives.
++whole_archive_flag_spec=$lt_[]_LT_AC_TAGVAR(whole_archive_flag_spec, $1)
++
++# Compiler flag to generate thread-safe objects.
++thread_safe_flag_spec=$lt_[]_LT_AC_TAGVAR(thread_safe_flag_spec, $1)
++
++# Library versioning type.
++version_type=$version_type
++
++# Format of library name prefix.
++libname_spec=$lt_libname_spec
++
++# List of archive names.  First name is the real one, the rest are links.
++# The last name is the one that the linker finds with -lNAME.
++library_names_spec=$lt_library_names_spec
++
++# The coded name of the library, if different from the real name.
++soname_spec=$lt_soname_spec
++
++# Commands used to build and install an old-style archive.
++RANLIB=$lt_RANLIB
++old_archive_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_cmds, $1)
++old_postinstall_cmds=$lt_old_postinstall_cmds
++old_postuninstall_cmds=$lt_old_postuninstall_cmds
++
++# Create an old-style archive from a shared archive.
++old_archive_from_new_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_new_cmds, $1)
++
++# Create a temporary old-style archive to link instead of a shared archive.
++old_archive_from_expsyms_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)
++
++# Commands used to build and install a shared archive.
++archive_cmds=$lt_[]_LT_AC_TAGVAR(archive_cmds, $1)
++archive_expsym_cmds=$lt_[]_LT_AC_TAGVAR(archive_expsym_cmds, $1)
++postinstall_cmds=$lt_postinstall_cmds
++postuninstall_cmds=$lt_postuninstall_cmds
++
++# Commands to strip libraries.
++old_striplib=$lt_old_striplib
++striplib=$lt_striplib
++
++# Dependencies to place before the objects being linked to create a
++# shared library.
++predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1)
++
++# Dependencies to place after the objects being linked to create a
++# shared library.
++postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1)
++
++# Dependencies to place before the objects being linked to create a
++# shared library.
++predeps=$lt_[]_LT_AC_TAGVAR(predeps, $1)
++
++# Dependencies to place after the objects being linked to create a
++# shared library.
++postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1)
++
++# The library search path used internally by the compiler when linking
++# a shared library.
++compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1)
++
++# Method to check whether dependent libraries are shared objects.
++deplibs_check_method=$lt_deplibs_check_method
++
++# Command to use when deplibs_check_method == file_magic.
++file_magic_cmd=$lt_file_magic_cmd
++
++# Flag that allows shared libraries with undefined symbols to be built.
++allow_undefined_flag=$lt_[]_LT_AC_TAGVAR(allow_undefined_flag, $1)
++
++# Flag that forces no undefined symbols.
++no_undefined_flag=$lt_[]_LT_AC_TAGVAR(no_undefined_flag, $1)
++
++# Commands used to finish a libtool library installation in a directory.
++finish_cmds=$lt_finish_cmds
++
++# Same as above, but a single script fragment to be evaled but not shown.
++finish_eval=$lt_finish_eval
++
++# Take the output of nm and produce a listing of raw symbols and C names.
++global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
++
++# Transform the output of nm in a proper C declaration
++global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
++
++# Transform the output of nm in a C name address pair
++global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
++
++# This is the shared library runtime path variable.
++runpath_var=$runpath_var
++
++# This is the shared library path variable.
++shlibpath_var=$shlibpath_var
++
++# Is shlibpath searched before the hard-coded library search path?
++shlibpath_overrides_runpath=$shlibpath_overrides_runpath
++
++# How to hardcode a shared library path into an executable.
++hardcode_action=$_LT_AC_TAGVAR(hardcode_action, $1)
++
++# Whether we should hardcode library paths into libraries.
++hardcode_into_libs=$hardcode_into_libs
++
++# Flag to hardcode \$libdir into a binary during linking.
++# This must work even if \$libdir does not exist.
++hardcode_libdir_flag_spec=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)
++
++# Whether we need a single -rpath flag with a separated argument.
++hardcode_libdir_separator=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_separator, $1)
++
++# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
++# resulting binary.
++hardcode_direct=$_LT_AC_TAGVAR(hardcode_direct, $1)
++
++# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
++# resulting binary.
++hardcode_minus_L=$_LT_AC_TAGVAR(hardcode_minus_L, $1)
++
++# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
++# the resulting binary.
++hardcode_shlibpath_var=$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)
++
++# Variables whose values should be saved in libtool wrapper scripts and
++# restored at relink time.
++variables_saved_for_relink="$variables_saved_for_relink"
++
++# Whether libtool must link a program against all its dependency libraries.
++link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1)
++
++# Compile-time system search path for libraries
++sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
++
++# Run-time system search path for libraries
++sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
++
++# Fix the shell variable \$srcfile for the compiler.
++fix_srcfile_path="$_LT_AC_TAGVAR(fix_srcfile_path, $1)"
++
++# Set to yes if exported symbols are required.
++always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1)
++
++# The commands to list exported symbols.
++export_symbols_cmds=$lt_[]_LT_AC_TAGVAR(export_symbols_cmds, $1)
++
++# The commands to extract the exported symbol list from a shared archive.
++extract_expsyms_cmds=$lt_extract_expsyms_cmds
++
++# Symbols that should not be listed in the preloaded symbols.
++exclude_expsyms=$lt_[]_LT_AC_TAGVAR(exclude_expsyms, $1)
++
++# Symbols that must always be exported.
++include_expsyms=$lt_[]_LT_AC_TAGVAR(include_expsyms, $1)
++
++ifelse([$1],[],
++[# ### END LIBTOOL CONFIG], 
++[# ### END LIBTOOL TAG CONFIG: $tagname])
++
++__EOF__
++
++ifelse([$1],[], [
++  case $host_os in
++  aix3*)
++    cat <<\EOF >> "$cfgfile"
++
++# AIX sometimes has problems with the GCC collect2 program.  For some
++# reason, if we set the COLLECT_NAMES environment variable, the problems
++# vanish in a puff of smoke.
++if test "X${COLLECT_NAMES+set}" != Xset; then
++  COLLECT_NAMES=
++  export COLLECT_NAMES
++fi
++EOF
++    ;;
++
++  cygwin* | mingw* | pw32* | os2*)
++    cat <<'EOF' >> "$cfgfile"
++    # This is a source program that is used to create dlls on Windows
++    # Don't remove nor modify the starting and closing comments
++    _LT_AC_FILE_LTDLL_C
++    # This is a source program that is used to create import libraries
++    # on Windows for dlls which lack them. Don't remove nor modify the
++    # starting and closing comments
++    _LT_AC_FILE_IMPGEN_C
++EOF
++    ;;
++  esac
++
++  # We use sed instead of cat because bash on DJGPP gets confused if
++  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
++  # text mode, it properly converts lines to CR/LF.  This bash problem
++  # is reportedly fixed, but why not run on old versions too?
++  sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
++
++  mv -f "$cfgfile" "$ofile" || \
++    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
++  chmod +x "$ofile"
++])
++else
++  # If there is no Makefile yet, we rely on a make rule to execute
++  # `config.status --recheck' to rerun these tests and create the
++  # libtool script then.
++  test -f Makefile && make "$ltmain"
++fi
++])# AC_LIBTOOL_CONFIG
++
++
++# AC_LIBTOOL_PROG_COMPILER_NO_RTTI([TAGNAME])
++# -------------------------------------------
++AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI],
++[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
++
++_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
++
++if test "$GCC" = yes; then
++  _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
++
++  AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
++    lt_cv_prog_compiler_rtti_exceptions,
++    [-fno-rtti -fno-exceptions -c conftest.$ac_ext], [],
++    [_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
++fi
++])# AC_LIBTOOL_PROG_COMPILER_NO_RTTI
++
++
++# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
++# ---------------------------------
++AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE],
++[AC_REQUIRE([AC_CANONICAL_HOST])
++AC_REQUIRE([AC_PROG_NM])
++AC_REQUIRE([AC_OBJEXT])
++# Check for command to grab the raw symbol name followed by C symbol from nm.
++AC_MSG_CHECKING([command to parse $NM output from $compiler object])
++AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe],
++[
++# These are sane defaults that work on at least a few old systems.
++# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
++
++# Character class describing NM global symbol codes.
++[symcode='[BCDEGRST]']
++
++# Regexp to match symbols that can be accessed directly from C.
++[sympat='\([_A-Za-z][_A-Za-z0-9]*\)']
++
++# Transform the above into a raw symbol and a C symbol.
++symxfrm='\1 \2\3 \3'
++
++# Transform an extracted symbol line into a proper C declaration
++lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'"
++
++# Transform an extracted symbol line into symbol name and symbol address
++lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([[^ ]]*\) \([[^ ]]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
++
++# Define system-specific variables.
++case $host_os in
++aix*)
++  [symcode='[BCDT]']
++  ;;
++cygwin* | mingw* | pw32*)
++  [symcode='[ABCDGISTW]']
++  ;;
++hpux*) # Its linker distinguishes data from code symbols
++  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
++  lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
++  ;;
++irix*)
++  [symcode='[BCDEGRST]']
++  ;;
++solaris* | sysv5*)
++  [symcode='[BDT]']
++  ;;
++sysv4)
++  [symcode='[DFNSTU]']
++  ;;
++esac
++
++# Handle CRLF in mingw tool chain
++opt_cr=
++case $host_os in
++mingw*)
++  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
+   ;;
+ esac
++
++# If we're using GNU nm, then use its standard symbol codes.
++if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then
++  [symcode='[ABCDGISTW]']
++fi
++
++# Try without a prefix undercore, then with it.
++for ac_symprfx in "" "_"; do
++
++  # Write the raw and C identifiers.
++lt_cv_sys_global_symbol_pipe=["sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"]
++
++  # Check to see that the pipe works correctly.
++  pipe_works=no
++
++  rm -f conftest*
++  cat > conftest.$ac_ext <<EOF
++#ifdef __cplusplus
++extern "C" {
++#endif
++char nm_test_var;
++void nm_test_func(){}
++#ifdef __cplusplus
++}
++#endif
++int main(){nm_test_var='a';nm_test_func();return(0);}
++EOF
++
++  if AC_TRY_EVAL(ac_compile); then
++    # Now try to grab the symbols.
++    nlist=conftest.nm
++    if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
++      # Try sorting and uniquifying the output.
++      if sort "$nlist" | uniq > "$nlist"T; then
++	mv -f "$nlist"T "$nlist"
++      else
++	rm -f "$nlist"T
++      fi
++
++      # Make sure that we snagged all the symbols we need.
++      if egrep ' nm_test_var$' "$nlist" >/dev/null; then
++	if egrep ' nm_test_func$' "$nlist" >/dev/null; then
++	  cat <<EOF > conftest.$ac_ext
++#ifdef __cplusplus
++extern "C" {
++#endif
++
++EOF
++	  # Now generate the symbol file.
++	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext'
++
++	  cat <<EOF >> conftest.$ac_ext
++#if defined (__STDC__) && __STDC__
++# define lt_ptr_t void *
++#else
++# define lt_ptr_t char *
++# define const
++#endif
++
++/* The mapping between symbol names and symbols. */
++const struct {
++  const char *name;
++  lt_ptr_t address;
++}
++[lt_preloaded_symbols[] =]
++{
++EOF
++	  sed "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" >> conftest.$ac_ext
++	  cat <<\EOF >> conftest.$ac_ext
++  {0, (lt_ptr_t) 0}
++};
++
++#ifdef __cplusplus
++}
++#endif
++EOF
++	  # Now try linking the two files.
++	  mv conftest.$ac_objext conftstm.$ac_objext
++	  lt_save_LIBS="$LIBS"
++	  lt_save_CFLAGS="$CFLAGS"
++	  LIBS="conftstm.$ac_objext"
++	  CFLAGS="$CFLAGS$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
++	  if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then
++	    pipe_works=yes
++	  fi
++	  LIBS="$lt_save_LIBS"
++	  CFLAGS="$lt_save_CFLAGS"
++	else
++	  echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
++	fi
++      else
++	echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD
++      fi
++    else
++      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
++    fi
++  else
++    echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
++    cat conftest.$ac_ext >&5
++  fi
++  rm -f conftest* conftst*
++
++  # Do not use the global_symbol_pipe unless it works.
++  if test "$pipe_works" = yes; then
++    break
++  else
++    lt_cv_sys_global_symbol_pipe=
++  fi
++done
++])
++if test -z "$lt_cv_sys_global_symbol_pipe"; then
++  lt_cv_sys_global_symbol_to_cdecl=
++fi
++if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
++  AC_MSG_RESULT(failed)
++else
++  AC_MSG_RESULT(ok)
++fi
++]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
++
++
++# AC_LIBTOOL_PROG_COMPILER_PIC([TAGNAME])
++# ---------------------------------------
++AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC],
++[_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)=
++_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
++_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=
++
++ifelse([$1],[CXX],[
++  # C++ specific cases for pic, static, wl, etc.
++  if test "$GXX" = yes; then
++    _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
++    _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
++  
++    case $host_os in
++    aix*)
++      # All AIX code is PIC.
++      if test "$host_cpu" = ia64; then
++        # AIX 5 now supports IA64 processor
++        _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
++      fi
++      ;;
++    amigaos*)
++      # FIXME: we need at least 68020 code to build shared libraries, but
++      # adding the `-m68020' flag to GCC prevents building anything better,
++      # like `-m68040'.
++      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
++      ;;
++    beos* | irix5* | irix6* | osf3* | osf4* | osf5*)
++      # PIC is the default for these OSes.
++      ;;
++    cygwin* | mingw* | os2*)
++      # This hack is so that the source file can tell whether it is being
++      # built for inclusion in a dll (and should export symbols for example).
++      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
++      ;;
++    darwin* | rhapsody*)
++      # PIC is the default on this platform
++      # Common symbols not allowed in MH_DYLIB files
++      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
++      ;;
++    *djgpp*)
++      # DJGPP does not support shared libraries at all
++      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
++      ;;
++    sysv4*MP*)
++      if test -d /usr/nec; then
++        _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
++      fi
++      ;;
++    *)
++      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
++      ;;
++    esac
++  else
++    case $host_os in
++      aix4* | aix5*)
++        # All AIX code is PIC.
++        if test "$host_cpu" = ia64; then
++          # AIX 5 now supports IA64 processor
++          _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
++        else
++          _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
++        fi
++        ;;
++      chorus*)
++        case $cc_basename in
++        cxch68)
++          # Green Hills C++ Compiler
++          # _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
++          ;;
++        esac
++        ;;
++      dgux*)
++        case $cc_basename in
++          ec++)
++            _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
++            ;;
++          ghcx)
++            # Green Hills C++ Compiler
++            _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
++            ;;
++          *)
++            ;;
++        esac
++        ;;
++      freebsd*)
++        # FreeBSD uses GNU C++
++        ;;
++      hpux9* | hpux10* | hpux11*)
++        case $cc_basename in
++          CC)
++            _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
++            _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
++            _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
++            ;;
++          aCC)
++            _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
++            _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
++            _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
++            ;;
++          *)
++            ;;
++        esac
++        ;;
++      irix5* | irix6*)
++        case $cc_basename in
++          CC)
++            _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
++            _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
++	    # CC pic flag -KPIC is the default.
++            ;;
++          *)
++            ;;
++        esac
++        ;;
++      linux*)
++        case $cc_basename in
++          KCC)
++            # KAI C++ Compiler
++            _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
++            _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
++            ;;
++          cxx)
++            # Compaq C++
++            # Make sure the PIC flag is empty.  It appears that all Alpha
++            # Linux and Compaq Tru64 Unix objects are PIC.
++            _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
++            _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
++            ;;
++          *)
++            ;;
++        esac
++        ;;
++      lynxos*)
++        ;;
++      m88k*)
++        ;;
++      mvs*)
++        case $cc_basename in
++          cxx)
++            _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
++            ;;
++          *)
++            ;;
++        esac
++        ;;
++      netbsd*)
++        ;;
++      osf3* | osf4* | osf5*)
++        case $cc_basename in
++          KCC)
++            _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
++            ;;
++          RCC)
++            # Rational C++ 2.4.1
++            _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
++            ;;
++          cxx)
++            # Digital/Compaq C++
++            _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
++            # Make sure the PIC flag is empty.  It appears that all Alpha
++            # Linux and Compaq Tru64 Unix objects are PIC.
++            _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
++            _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
++            ;;
++          *)
++            ;;
++        esac
++        ;;
++      psos*)
++        ;;
++      sco*)
++        case $cc_basename in
++          CC)
++            _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
++            ;;
++          *)
++            ;;
++        esac
++        ;;
++      solaris*)
++        case $cc_basename in
++          CC)
++            # Sun C++ 4.2, 5.x and Centerline C++
++            _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
++            _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
++            _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
++            ;;
++          gcx)
++            # Green Hills C++ Compiler
++            _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
++            ;;
++          *)
++            ;;
++        esac
++        ;;
++      sunos4*)
++        case $cc_basename in
++          CC)
++            # Sun C++ 4.x
++            _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
++            _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
++            ;;
++          lcc)
++            # Lucid
++            _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
++            ;;
++          *)
++            ;;
++        esac
++        ;;
++      tandem*)
++        case $cc_basename in
++          NCC)
++            # NonStop-UX NCC 3.20
++            _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
++            ;;
++          *)
++            ;;
++        esac
++        ;;
++      unixware*)
++        ;;
++      vxworks*)
++        ;;
++      *)
++        _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
++        ;;
++    esac
++  fi
++],
++[AC_MSG_CHECKING([for $compiler option to produce PIC])
++  if test "$GCC" = yes; then
++    _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
++    _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
++  
++    case $host_os in
++      aix*)
++      # All AIX code is PIC.
++      if test "$host_cpu" = ia64; then
++        # AIX 5 now supports IA64 processor
++        _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
++      else
++        _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
++      fi
++      ;;
++  
++    amigaos*)
++      # FIXME: we need at least 68020 code to build shared libraries, but
++      # adding the `-m68020' flag to GCC prevents building anything better,
++      # like `-m68040'.
++      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
++      ;;
++  
++    beos* | irix5* | irix6* | osf3* | osf4* | osf5*)
++      # PIC is the default for these OSes.
++      ;;
++  
++    cygwin* | mingw* | pw32* | os2*)
++      # This hack is so that the source file can tell whether it is being
++      # built for inclusion in a dll (and should export symbols for example).
++      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
++      ;;
++  
++    darwin* | rhapsody*)
++      # PIC is the default on this platform
++      # Common symbols not allowed in MH_DYLIB files
++      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
++      ;;
++  
++    msdosdjgpp*)
++      # Just because we use GCC doesn't mean we suddenly get shared libraries
++      # on systems that don't support them.
++      _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
++      enable_shared=no
++      ;;
++  
++    sysv4*MP*)
++      if test -d /usr/nec; then
++        _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
++      fi
++      ;;
++  
++    *)
++      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
++      ;;
++    esac
++  else
++    # PORTME Check for flag to pass linker flags through the system compiler.
++    case $host_os in
++    aix*)
++      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
++      if test "$host_cpu" = ia64; then
++        # AIX 5 now supports IA64 processor
++        _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
++      else
++        _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
++      fi
++      ;;
++  
++    cygwin* | mingw* | pw32* | os2*)
++      # This hack is so that the source file can tell whether it is being
++      # built for inclusion in a dll (and should export symbols for example).
++      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
++      ;;
++  
++    hpux9* | hpux10* | hpux11*)
++      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
++      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
++      # Is there a better lt_prog_compiler_static that works with the bundled CC?
++      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
++      ;;
++  
++    irix5* | irix6*)
++      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
++      # PIC (with -KPIC) is the default.
++      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
++      ;;
++  
++    newsos6)
++      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
++      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
++      ;;
++  
++    osf3* | osf4* | osf5*)
++      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
++      # All OSF/1 code is PIC.
++      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
++      ;;
++  
++    sco3.2v5*)
++      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kpic'
++      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-dn'
++      ;;
++  
++    solaris*)
++      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
++      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
++      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
++      ;;
++  
++    sunos4*)
++      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
++      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
++      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
++      ;;
++  
++    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
++      if test "x$host_vendor" = xsni; then
++        _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-LD'
++      else
++        _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
++      fi
++      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
++      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
++      ;;
++  
++    sysv4*MP*)
++      if test -d /usr/nec ;then
++        _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
++        _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
++      fi
++      ;;
++  
++    uts4*)
++      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
++      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
++      ;;
++  
++    *)
++      _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
++      ;;
++    esac
++  fi
++])
++AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)])
++
++#
++# Check to make sure the PIC flag actually works.
++#
++if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then
++  AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works],
++    _LT_AC_TAGVAR(lt_prog_compiler_pic_works, $1),
++    [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) -DPIC], [],
++    [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in
++     "" | " "*) ;;
++     *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)" ;;
++     esac],
++    [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
++     _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
++fi
++case "$host_os" in
++  # For platforms which do not support PIC, -DPIC is meaningless:
++  *djgpp*)
++    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
++    ;;
++  *)
++    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) -DPIC"
++    ;;
++esac
+ ])
+-file_magic_cmd=$lt_cv_file_magic_cmd
+-deplibs_check_method=$lt_cv_deplibs_check_method
++
++
++# AC_LIBTOOL_PROG_LD_SHLIBS([TAGNAME])
++# ------------------------------------
++# See if the linker supports building shared libraries.
++AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS],
++[AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
++ifelse([$1],[CXX],[],[
++  runpath_var=
++  _LT_AC_TAGVAR(allow_undefined_flag, $1)=
++  
++  _LT_AC_TAGVAR(archive_cmds, $1)=
++  _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=
++  _LT_AC_TAGVAR(archive_expsym_cmds, $1)=
++  _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)=
++  _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)=
++  _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
++  _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
++  _LT_AC_TAGVAR(thread_safe_flag_spec, $1)=
++  _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
++  _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
++  _LT_AC_TAGVAR(hardcode_direct, $1)=no
++  _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
++  _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
++  _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
++  _LT_AC_TAGVAR(always_export_symbols, $1)=no
++  _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols'
++  # include_expsyms should be a list of space-separated symbols to be *always*
++  # included in the symbol list
++  _LT_AC_TAGVAR(include_expsyms, $1)=
++  # exclude_expsyms can be an egrep regular expression of symbols to exclude
++  # it will be wrapped by ` (' and `)$', so one must not match beginning or
++  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
++  # as well as any symbol that contains `d'.
++  _LT_AC_TAGVAR(exclude_expsyms, $1)="_GLOBAL_OFFSET_TABLE_"
++  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
++  # platforms (ab)use it in PIC code, but their linkers get confused if
++  # the symbol is explicitly referenced.  Since portable code cannot
++  # rely on this symbol name, it's probably fine to never include it in
++  # preloaded symbol tables.
++  extract_expsyms_cmds=
++  
++  case $host_os in
++  cygwin* | mingw* | pw32*)
++    # FIXME: the MSVC++ port hasn't been tested in a loooong time
++    # When not using gcc, we currently assume that we are using
++    # Microsoft Visual C++.
++    if test "$GCC" != yes; then
++      with_gnu_ld=no
++    fi
++    ;;
++  openbsd*)
++    with_gnu_ld=no
++    ;;
++  esac
++  
++  _LT_AC_TAGVAR(ld_shlibs, $1)=yes
++  if test "$with_gnu_ld" = yes; then
++    # If archive_cmds runs LD, not CC, wlarc should be empty
++    wlarc='${wl}'
++  
++    # See if GNU ld supports shared libraries.
++    case $host_os in
++    aix3* | aix4* | aix5*)
++      # On AIX/PPC, the GNU linker is very broken
++      if test "$host_cpu" != ia64; then
++        _LT_AC_TAGVAR(ld_shlibs, $1)=no
++        cat <<EOF 1>&2
++
++*** Warning: the GNU linker, at least up to release 2.9.1, is reported
++*** to be unable to reliably create shared libraries on AIX.
++*** Therefore, libtool is disabling shared libraries support.  If you
++*** really care for shared libraries, you may want to modify your PATH
++*** so that a non-GNU linker is found, and then restart.
++
++EOF
++      fi
++      ;;
++  
++    amigaos*)
++      _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
++      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
++      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
++  
++      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
++      # that the semantics of dynamic libraries on AmigaOS, at least up
++      # to version 4, is to share data among multiple programs linked
++      # with the same dynamic library.  Since this doesn't match the
++      # behavior of shared libraries on other platforms, we can't use
++      # them.
++      _LT_AC_TAGVAR(ld_shlibs, $1)=no
++      ;;
++  
++    beos*)
++      if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
++        _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
++        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
++        # support --undefined.  This deserves some investigation.  FIXME
++        _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++      else
++        _LT_AC_TAGVAR(ld_shlibs, $1)=no
++      fi
++      ;;
++  
++    cygwin* | mingw* | pw32*)
++      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, as there is
++      # no search path for DLLs.
++      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
++      _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
++      _LT_AC_TAGVAR(always_export_symbols, $1)=yes
++  
++      extract_expsyms_cmds='test -f $output_objdir/impgen.c || \
++        sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~
++        test -f $output_objdir/impgen.exe || (cd $output_objdir && \
++        if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \
++        else $CC -o impgen impgen.c ; fi)~
++        $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def'
++  
++      _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib'
++  
++      # cygwin and mingw dlls have different entry points and sets of symbols
++      # to exclude.
++      # FIXME: what about values for MSVC?
++      dll_entry=__cygwin_dll_entry@12
++      dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~
++      case $host_os in
++      mingw*)
++        # mingw values
++        dll_entry=_DllMainCRTStartup@12
++        dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~
++        ;;
++      esac
++  
++      # mingw and cygwin differ, and it's simplest to just exclude the union
++      # of the two symbol sets.
++      dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12
++  
++      # recent cygwin and mingw systems supply a stub DllMain which the user
++      # can override, but on older systems we have to supply one (in ltdll.c)
++      if test "x$lt_cv_need_dllmain" = "xyes"; then
++        ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext "
++        ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < $''0 > $output_objdir/$soname-ltdll.c~
++  	test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~'
++      else
++        ltdll_obj=
++        ltdll_cmds=
++      fi
++  
++      # Extract the symbol export list from an `--export-all' def file,
++      # then regenerate the def file from the symbol export list, so that
++      # the compiled dll only exports the symbol export list.
++      # Be careful not to strip the DATA tag left by newer dlltools.
++      _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"'
++        $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~
++        [sed -e "1,/EXPORTS/d" -e "s/ @ [0-9]*//" -e "s/ *;.*$//"] < $output_objdir/$soname-def > $export_symbols'
++  
++      # If the export-symbols file already is a .def file (1st line
++      # is EXPORTS), use it as is.
++      # If DATA tags from a recent dlltool are present, honour them!
++      _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`head -1 $export_symbols`" = xEXPORTS; then
++          cp $export_symbols $output_objdir/$soname-def;
++        else
++          echo EXPORTS > $output_objdir/$soname-def;
++          _lt_hint=1;
++          cat $export_symbols | while read symbol; do
++           set dummy \$symbol;
++           case \[$]# in
++             2) echo "   \[$]2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
++             *) echo "   \[$]2 @ \$_lt_hint \[$]3 ; " >> $output_objdir/$soname-def;;
++           esac;
++           _lt_hint=`expr 1 + \$_lt_hint`;
++          done;
++        fi~
++        '"$ltdll_cmds"'
++        $CC -Wl,--base-file,$output_objdir/$soname-base '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
++        $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp~
++        $CC -Wl,--base-file,$output_objdir/$soname-base $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
++        $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp --output-lib $output_objdir/$libname.dll.a~
++        $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags'
++      ;;
++  
++    darwin* | rhapsody*)
++      _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'
++      # FIXME: Relying on posixy $() will cause problems for
++      #        cross-compilation, but unfortunately the echo tests do not
++      #        yet detect zsh echo's removal of \ escapes.
++      _LT_AC_TAGVAR(archive_cmds, $1)='$CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linkopts -install_name $rpath/$soname $(test -n "$verstring" -a x$verstring != x0.0 && echo $verstring)'
++      # We need to add '_' to the symbols in $export_symbols first
++      #_LT_AC_TAGVAR(archive_expsym_cmds, $1)="$_LT_AC_TAGVAR(archive_cmds, $1)"' && strip -s $export_symbols'
++      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
++      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
++      _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
++      ;;
++  
++    netbsd*)
++      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++        _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
++        wlarc=
++      else
++        _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++        _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++      fi
++      ;;
++  
++    solaris* | sysv5*)
++      if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then
++        _LT_AC_TAGVAR(ld_shlibs, $1)=no
++        cat <<EOF 1>&2
++  
++*** Warning: The releases 2.8.* of the GNU linker cannot reliably
++*** create shared libraries on Solaris systems.  Therefore, libtool
++*** is disabling shared libraries support.  We urge you to upgrade GNU
++*** binutils to release 2.9.1 or newer.  Another option is to modify
++*** your PATH or compiler configuration so that the native linker is
++*** used, and then restart.
++  
++EOF
++      elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
++        _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++        _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++      else
++        _LT_AC_TAGVAR(ld_shlibs, $1)=no
++      fi
++      ;;
++  
++    sunos4*)
++      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++      wlarc=
++      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
++      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
++      ;;
++  
++    *)
++      if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
++        _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++        _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++      else
++        _LT_AC_TAGVAR(ld_shlibs, $1)=no
++      fi
++      ;;
++    esac
++  
++    if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = yes; then
++      runpath_var=LD_RUN_PATH
++      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
++      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
++      case $host_os in
++      cygwin* | mingw* | pw32*)
++        # dlltool doesn't understand --whole-archive et. al.
++        _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
++        ;;
++      *)
++        # ancient GNU ld didn't support --whole-archive et. al.
++        if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then
++  	_LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
++        else
++  	_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
++        fi
++        ;;
++      esac
++    fi
++  else
++    # PORTME fill in a description of your system's linker (not GNU ld)
++    case $host_os in
++    aix3*)
++      _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
++      _LT_AC_TAGVAR(always_export_symbols, $1)=yes
++      _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
++      # Note: this linker hardcodes the directories in LIBPATH if there
++      # are no directories specified by -L.
++      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
++      if test "$GCC" = yes && test -z "$link_static_flag"; then
++        # Neither direct hardcoding nor static linking is supported with a
++        # broken collect2.
++        _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
++      fi
++      ;;
++  
++    aix4* | aix5*)
++      if test "$host_cpu" = ia64; then
++        # On IA64, the linker does run time linking by default, so we don't
++        # have to do anything special.
++        aix_use_runtimelinking=no
++        exp_sym_flag='-Bexport'
++        no_entry_flag=""
++      else
++        aix_use_runtimelinking=no
++  
++        # Test if we are trying to use run time linking or normal
++        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
++        # need to do runtime linking.
++        case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
++          for ld_flag in $LDFLAGS; do
++  	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
++  	    aix_use_runtimelinking=yes
++  	    break
++  	  fi
++          done
++        esac
++  
++        exp_sym_flag='-bexport'
++        no_entry_flag='-bnoentry'
++      fi
++  
++      # When large executables or shared objects are built, AIX ld can
++      # have problems creating the table of contents.  If linking a library
++      # or program results in "error TOC overflow" add -mminimal-toc to
++      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
++      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
++  
++      _LT_AC_TAGVAR(archive_cmds, $1)=''
++      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
++      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
++      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
++  
++      if test "$GCC" = yes; then
++        case $host_os in aix4.[012]|aix4.[012].*)
++        # We only want to do this on AIX 4.2 and lower, the check
++        # below for broken collect2 doesn't work under 4.3+
++          collect2name=`${CC} -print-prog-name=collect2`
++          if test -f "$collect2name" && \
++  	   strings "$collect2name" | grep resolve_lib_name >/dev/null
++          then
++  	  # We have reworked collect2
++  	  _LT_AC_TAGVAR(hardcode_direct, $1)=yes
++          else
++  	  # We have old collect2
++  	  _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
++  	  # It fails to find uninstalled libraries when the uninstalled
++  	  # path is not listed in the libpath.  Setting hardcode_minus_L
++  	  # to unsupported forces relinking
++  	  _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
++  	  _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
++  	  _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
++          fi
++        esac
++        shared_flag='-shared'
++      else
++        # not using gcc
++        if test "$host_cpu" = ia64; then
++  	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
++  	# chokes on -Wl,-G. The following line is correct:
++          shared_flag='-G'
++        else
++  	if test "$aix_use_runtimelinking" = yes; then
++            shared_flag='${wl}-G'
++          else
++            shared_flag='${wl}-bM:SRE'
++  	fi
++        fi
++      fi
++  
++      # It seems that -bexpall does not export symbols beginning with
++      # underscore (_), so it is better to generate a list of symbols to export.
++      _LT_AC_TAGVAR(always_export_symbols, $1)=yes
++      if test "$aix_use_runtimelinking" = yes; then
++        # Warning - without using the other runtime loading flags (-brtl),
++        # -berok will link without error, but may produce a broken library.
++        _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
++       # Determine the default libpath from the value encoded in an empty executable.
++       _LT_AC_SYS_LIBPATH_AIX
++       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
++        _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
++       else
++        if test "$host_cpu" = ia64; then
++          _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
++          _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
++          _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
++        else
++         # Determine the default libpath from the value encoded in an empty executable.
++         _LT_AC_SYS_LIBPATH_AIX
++         _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
++          # Warning - without using the other run time loading flags,
++          # -berok will link without error, but may produce a broken library.
++          _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
++          _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
++          # -bexpall does not export symbols beginning with underscore (_)
++          _LT_AC_TAGVAR(always_export_symbols, $1)=yes
++          # Exported symbols can be pulled into shared objects from archives
++          _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' '
++          _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
++          # This is similar to how AIX traditionally builds it's shared libraries.
++          _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
++        fi
++      fi
++      ;;
++  
++    amigaos*)
++      _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
++      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
++      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
++      # see comment about different semantics on the GNU ld section
++      _LT_AC_TAGVAR(ld_shlibs, $1)=no
++      ;;
++  
++    bsdi4*)
++      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
++      ;;
++  
++    cygwin* | mingw* | pw32*)
++      # When not using gcc, we currently assume that we are using
++      # Microsoft Visual C++.
++      # hardcode_libdir_flag_spec is actually meaningless, as there is
++      # no search path for DLLs.
++      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
++      _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
++      # Tell ltmain to make .lib files, not .a files.
++      libext=lib
++      # FIXME: Setting linknames here is a bad hack.
++      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames='
++      # The linker will automatically build a .lib file if we build a DLL.
++      _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true'
++      # FIXME: Should let the user specify the lib program.
++      _LT_AC_TAGVAR(old_archive_cmds, $1)='lib /OUT:$oldlib$oldobjs$old_deplibs'
++      fix_srcfile_path='`cygpath -w "$srcfile"`'
++      ;;
++  
++    dgux*)
++      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
++      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
++      ;;
++  
++    freebsd1*)
++      _LT_AC_TAGVAR(ld_shlibs, $1)=no
++      ;;
++  
++    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
++    # support.  Future versions do this automatically, but an explicit c++rt0.o
++    # does not break anything, and helps significantly (at the cost of a little
++    # extra space).
++    freebsd2.2*)
++      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
++      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
++      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
++      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
++      ;;
++  
++    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
++    freebsd2*)
++      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
++      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
++      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
++      ;;
++  
++    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
++    freebsd*)
++      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
++      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
++      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
++      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
++      ;;
++  
++    hpux9* | hpux10* | hpux11*)
++      if test $GXX = yes; then
++        case $host_os in
++        hpux9*) _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ;;
++        *) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ;;
++        esac
++      else
++        case $host_os in
++        hpux9*) _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ;;
++        *) _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;;
++        esac
++      fi
++      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
++      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
++      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
++      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, but as the default
++  			 # location of the library.
++      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
++      ;;
++  
++    irix5* | irix6*)
++      if test "$GCC" = yes; then
++        _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++      else
++        _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
++      fi
++      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
++      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
++      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
++      ;;
++  
++    netbsd*)
++      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++        _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
++      else
++        _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
++      fi
++      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
++      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
++      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
++      ;;
++  
++    newsos6)
++      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linkopts'
++      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
++      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
++      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
++      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
++      ;;
++  
++    openbsd*)
++      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
++      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
++    
++      case "$host_os" in
++        openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
++          _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++          _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
++        ;;
++        *)
++          _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
++          _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
++          if [ "`echo __ELF__ | $CC -E - | grep __ELF__`" = "" -o "$host_os-$host_cpu" = "openbsd2.8-powerpc" ]; then
++           _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
++          fi
++        ;;
++      esac
++      ;;
++  
++    os2*)
++      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
++      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
++      _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
++      _LT_AC_TAGVAR(archive_cmds, $1)='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
++      _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
++      ;;
++  
++    osf3*)
++      if test "$GCC" = yes; then
++        _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
++        _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++      else
++        _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
++        _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
++      fi
++      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
++      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
++      ;;
++  
++    osf4* | osf5*)	# as osf3* with the addition of -msym flag
++      if test "$GCC" = yes; then
++        _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
++        _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++        _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
++      else
++        _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
++        _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
++        _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
++        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
++  
++        # Both c and cxx compiler support -rpath directly
++        _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
++      fi
++      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
++      ;;
++  
++    sco3.2v5*)
++      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
++      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
++      runpath_var=LD_RUN_PATH
++      hardcode_runpath_var=yes
++      ;;
++  
++    solaris*)
++      _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z defs'
++      if test "$GXX" = yes; then
++        _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++        _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
++      else
++        _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
++        _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++  	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
++      fi
++      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
++      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
++      case $host_os in
++      [solaris2.[0-5] | solaris2.[0-5].*]) ;;
++      *) # Supported since Solaris 2.6 (maybe 2.5.1?)
++        _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;;
++      esac
++      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
++      ;;
++  
++    sunos4*)
++      if test "x$host_vendor" = xsequent; then
++        # Use $CC to link under sequent, because it throws in some extra .o
++        # files that make .init and .fini sections work.
++        _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
++      else
++        _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
++      fi
++      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
++      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
++      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
++      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
++      ;;
++  
++    sysv4)
++      if test "x$host_vendor" = xsni; then
++        _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -Bsymbolic -h $soname -o $lib $libobjs $deplibs $linkopts'
++        _LT_AC_TAGVAR(hardcode_direct, $1)=yes # is this really true???
++      else
++        _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++        _LT_AC_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie
++      fi
++      runpath_var='LD_RUN_PATH'
++      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
++      ;;
++  
++    sysv4.3*)
++      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
++      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
++      ;;
++  
++    sysv4*MP*)
++      if test -d /usr/nec; then
++        _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++        _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
++        runpath_var=LD_RUN_PATH
++        hardcode_runpath_var=yes
++        _LT_AC_TAGVAR(ld_shlibs, $1)=yes
++      fi
++      ;;
++  
++    sysv4.2uw2*)
++      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
++      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
++      _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
++      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
++      hardcode_runpath_var=yes
++      runpath_var=LD_RUN_PATH
++      ;;
++  
++    sysv5uw7* | unixware7*)
++      _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z ${wl}text'
++      if test "$GCC" = yes; then
++        _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++      else
++        _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++      fi
++      runpath_var='LD_RUN_PATH'
++      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
++      ;;
++  
++    sysv5*)
++      _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
++      # $CC -shared without GNU ld will not create a library from C++
++      # object files and a static libstdc++, better avoid it by now
++      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++  		$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
++      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
++      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
++      runpath_var='LD_RUN_PATH'
++      ;;
++  
++    uts4*)
++      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
++      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
++      ;;
++  
++    *)
++      _LT_AC_TAGVAR(ld_shlibs, $1)=no
++      ;;
++    esac
++  fi
+ ])
++AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
++test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
++
++variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
++if test "$GCC" = yes; then
++  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
++fi
++
++#
++# Do we need to explicitly link libc?
++#
++_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
++if test "$enable_shared" = yes && test "$GCC" = yes; then
++  case $_LT_AC_TAGVAR(archive_cmds, $1) in
++  *'~'*)
++    # FIXME: we may have to deal with multi-command sequences.
++    ;;
++  '$CC '*)
++    # Test whether the compiler implicitly links with -lc since on some
++    # systems, -lgcc has to come before -lc. If gcc already passes -lc
++    # to ld, don't add -lc before -lgcc.
++    AC_MSG_CHECKING([whether -lc should be explicitly linked in])
++    $rm conftest*
++    echo 'static int dummy;' > conftest.$ac_ext
++
++    if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
++      soname=conftest
++      lib=conftest
++      libobjs=conftest.$ac_objext
++      deplibs=
++      wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
++      compiler_flags=-v
++      linker_flags=-v
++      verstring=
++      output_objdir=.
++      libname=conftest
++      lt_save_allow_undefined_flag=$_LT_AC_TAGVAR(allow_undefined_flag, $1)
++      _LT_AC_TAGVAR(allow_undefined_flag, $1)=
++      if AC_TRY_EVAL(_LT_AC_TAGVAR(archive_cmds, $1) 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1)
++      then
++	_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
++      else
++	_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
++      fi
++      _LT_AC_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
++    else
++      cat conftest.err 1>&5
++    fi
++    $rm conftest*
++    AC_MSG_RESULT([$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)])
++    ;;
++  esac
++fi
++])# AC_LIBTOOL_PROG_LD_SHLIBS
++
+ 
++# _LT_AC_FILE_LTDLL_C
++# -------------------
++AC_DEFUN([_LT_AC_FILE_LTDLL_C],
++[# /* ltdll.c starts here */
++# #define WIN32_LEAN_AND_MEAN
++# #include <windows.h>
++# #undef WIN32_LEAN_AND_MEAN
++# #include <stdio.h>
++#
++# #ifndef __CYGWIN__
++# #  ifdef __CYGWIN32__
++# #    define __CYGWIN__ __CYGWIN32__
++# #  endif
++# #endif
++#
++# #ifdef __cplusplus
++# extern "C" {
++# #endif
++# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
++# #ifdef __cplusplus
++# }
++# #endif
++#
++# #ifdef __CYGWIN__
++# #include <cygwin/cygwin_dll.h>
++# DECLARE_CYGWIN_DLL( DllMain );
++# #endif
++# HINSTANCE __hDllInstance_base;
++#
++# BOOL APIENTRY
++# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
++# {
++#   __hDllInstance_base = hInst;
++#   return TRUE;
++# }
++# /* ltdll.c ends here */
++])# _LT_AC_FILE_LTDLL_C
+ 
+-# AC_PROG_NM - find the path to a BSD-compatible name lister
+-AC_DEFUN([AC_PROG_NM],
+-[AC_MSG_CHECKING([for BSD-compatible nm])
+-AC_CACHE_VAL(lt_cv_path_NM,
+-[if test -n "$NM"; then
+-  # Let the user override the test.
+-  lt_cv_path_NM="$NM"
+-else
+-  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
+-  for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
+-    test -z "$ac_dir" && ac_dir=.
+-    tmp_nm=$ac_dir/${ac_tool_prefix}nm
+-    if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
+-      # Check to see if the nm accepts a BSD-compat flag.
+-      # Adding the `sed 1q' prevents false positives on HP-UX, which says:
+-      #   nm: unknown option "B" ignored
+-      # Tru64's nm complains that /dev/null is an invalid object file
+-      if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
+-	lt_cv_path_NM="$tmp_nm -B"
+-	break
+-      elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
+-	lt_cv_path_NM="$tmp_nm -p"
+-	break
+-      else
+-	lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
+-	continue # so that we can try to find one that supports BSD flags
+-      fi
+-    fi
+-  done
+-  IFS="$ac_save_ifs"
+-  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
+-fi])
+-NM="$lt_cv_path_NM"
+-AC_MSG_RESULT([$NM])
+-])
+ 
+-# AC_CHECK_LIBM - check for math library
+-AC_DEFUN([AC_CHECK_LIBM],
+-[AC_REQUIRE([AC_CANONICAL_HOST])dnl
+-LIBM=
+-case $host in
+-*-*-beos* | *-*-cygwin* | *-*-pw32*)
+-  # These system don't have libm
+-  ;;
+-*-ncr-sysv4.3*)
+-  AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
+-  AC_CHECK_LIB(m, main, LIBM="$LIBM -lm")
+-  ;;
+-*)
+-  AC_CHECK_LIB(m, main, LIBM="-lm")
+-  ;;
+-esac
+-])
++# _LT_AC_FILE_IMPGEN_C
++# --------------------
++AC_DEFUN([_LT_AC_FILE_IMPGEN_C],
++[# /* impgen.c starts here */
++# /*   Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
++#
++#  This file is part of GNU libtool.
++#
++#  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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
++#  */
++#
++# #include <stdio.h>		/* for printf() */
++# #include <unistd.h>		/* for open(), lseek(), read() */
++# #include <fcntl.h>		/* for O_RDONLY, O_BINARY */
++# #include <string.h>		/* for strdup() */
++#
++# /* O_BINARY isn't required (or even defined sometimes) under Unix */
++# #ifndef O_BINARY
++# #define O_BINARY 0
++# #endif
++#
++# static unsigned int
++# pe_get16 (fd, offset)
++#      int fd;
++#      int offset;
++# {
++#   unsigned char b[2];
++#   lseek (fd, offset, SEEK_SET);
++#   read (fd, b, 2);
++#   return b[0] + (b[1]<<8);
++# }
++#
++# static unsigned int
++# pe_get32 (fd, offset)
++#     int fd;
++#     int offset;
++# {
++#   unsigned char b[4];
++#   lseek (fd, offset, SEEK_SET);
++#   read (fd, b, 4);
++#   return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
++# }
++#
++# static unsigned int
++# pe_as32 (ptr)
++#      void *ptr;
++# {
++#   unsigned char *b = ptr;
++#   return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
++# }
++#
++# int
++# main (argc, argv)
++#     int argc;
++#     char *argv[];
++# {
++#     int dll;
++#     unsigned long pe_header_offset, opthdr_ofs, num_entries, i;
++#     unsigned long export_rva, export_size, nsections, secptr, expptr;
++#     unsigned long name_rvas, nexp;
++#     unsigned char *expdata, *erva;
++#     char *filename, *dll_name;
++#
++#     filename = argv[1];
++#
++#     dll = open(filename, O_RDONLY|O_BINARY);
++#     if (dll < 1)
++# 	return 1;
++#
++#     dll_name = filename;
++#
++#     for (i=0; filename[i]; i++)
++# 	if (filename[i] == '/' || filename[i] == '\\'  || filename[i] == ':')
++# 	    dll_name = filename + i +1;
++#
++#     pe_header_offset = pe_get32 (dll, 0x3c);
++#     opthdr_ofs = pe_header_offset + 4 + 20;
++#     num_entries = pe_get32 (dll, opthdr_ofs + 92);
++#
++#     if (num_entries < 1) /* no exports */
++# 	return 1;
++#
++#     export_rva = pe_get32 (dll, opthdr_ofs + 96);
++#     export_size = pe_get32 (dll, opthdr_ofs + 100);
++#     nsections = pe_get16 (dll, pe_header_offset + 4 +2);
++#     secptr = (pe_header_offset + 4 + 20 +
++# 	      pe_get16 (dll, pe_header_offset + 4 + 16));
++#
++#     expptr = 0;
++#     for (i = 0; i < nsections; i++)
++#     {
++# 	char sname[8];
++# 	unsigned long secptr1 = secptr + 40 * i;
++# 	unsigned long vaddr = pe_get32 (dll, secptr1 + 12);
++# 	unsigned long vsize = pe_get32 (dll, secptr1 + 16);
++# 	unsigned long fptr = pe_get32 (dll, secptr1 + 20);
++# 	lseek(dll, secptr1, SEEK_SET);
++# 	read(dll, sname, 8);
++# 	if (vaddr <= export_rva && vaddr+vsize > export_rva)
++# 	{
++# 	    expptr = fptr + (export_rva - vaddr);
++# 	    if (export_rva + export_size > vaddr + vsize)
++# 		export_size = vsize - (export_rva - vaddr);
++# 	    break;
++# 	}
++#     }
++#
++#     expdata = (unsigned char*)malloc(export_size);
++#     lseek (dll, expptr, SEEK_SET);
++#     read (dll, expdata, export_size);
++#     erva = expdata - export_rva;
++#
++#     nexp = pe_as32 (expdata+24);
++#     name_rvas = pe_as32 (expdata+32);
++#
++#     printf ("EXPORTS\n");
++#     for (i = 0; i<nexp; i++)
++#     {
++# 	unsigned long name_rva = pe_as32 (erva+name_rvas+i*4);
++# 	printf ("\t%s @ %ld ;\n", erva+name_rva, 1+ i);
++#     }
++#
++#     return 0;
++# }
++# /* impgen.c ends here */
++])# _LT_AC_FILE_IMPGEN_C
+ 
+-# AC_LIBLTDL_CONVENIENCE[(dir)] - sets LIBLTDL to the link flags for
+-# the libltdl convenience library and INCLTDL to the include flags for
+-# the libltdl header and adds --enable-ltdl-convenience to the
+-# configure arguments.  Note that LIBLTDL and INCLTDL are not
+-# AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called.  If DIR is not
+-# provided, it is assumed to be `libltdl'.  LIBLTDL will be prefixed
+-# with '${top_builddir}/' and INCLTDL will be prefixed with
+-# '${top_srcdir}/' (note the single quotes!).  If your package is not
+-# flat and you're not using automake, define top_builddir and
+-# top_srcdir appropriately in the Makefiles.
+-AC_DEFUN([AC_LIBLTDL_CONVENIENCE],
+-[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
+-  case $enable_ltdl_convenience in
+-  no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;;
+-  "") enable_ltdl_convenience=yes
+-      ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
+-  esac
+-  LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la
+-  INCLTDL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
+-])
++# _LT_AC_TAGVAR(VARNAME, [TAGNAME])
++# ---------------------------------
++AC_DEFUN([_LT_AC_TAGVAR], [ifelse([$2], [], [$1], [$1_$2])])
+ 
+-# AC_LIBLTDL_INSTALLABLE[(dir)] - sets LIBLTDL to the link flags for
+-# the libltdl installable library and INCLTDL to the include flags for
+-# the libltdl header and adds --enable-ltdl-install to the configure
+-# arguments.  Note that LIBLTDL and INCLTDL are not AC_SUBSTed, nor is
+-# AC_CONFIG_SUBDIRS called.  If DIR is not provided and an installed
+-# libltdl is not found, it is assumed to be `libltdl'.  LIBLTDL will
+-# be prefixed with '${top_builddir}/' and INCLTDL will be prefixed
+-# with '${top_srcdir}/' (note the single quotes!).  If your package is
+-# not flat and you're not using automake, define top_builddir and
+-# top_srcdir appropriately in the Makefiles.
+-# In the future, this macro may have to be called after AC_PROG_LIBTOOL.
+-AC_DEFUN([AC_LIBLTDL_INSTALLABLE],
+-[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
+-  AC_CHECK_LIB(ltdl, main,
+-  [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no],
+-  [if test x"$enable_ltdl_install" = xno; then
+-     AC_MSG_WARN([libltdl not installed, but installation disabled])
+-   else
+-     enable_ltdl_install=yes
+-   fi
+-  ])
+-  if test x"$enable_ltdl_install" = x"yes"; then
+-    ac_configure_args="$ac_configure_args --enable-ltdl-install"
+-    LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la
+-    INCLTDL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
+-  else
+-    ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
+-    LIBLTDL="-lltdl"
+-    INCLTDL=
+-  fi
+-])
+ 
+ # old names
+ AC_DEFUN([AM_PROG_LIBTOOL],   [AC_PROG_LIBTOOL])
+@@ -3863,6 +5572,12 @@
+ # This is just to silence aclocal about the macro not being used
+ ifelse([AC_DISABLE_FAST_INSTALL])
+ 
++AC_DEFUN([LT_AC_PROG_GCJ],
++[AC_CHECK_TOOL(GCJ, gcj, no)
++  test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
++  AC_SUBST(GCJFLAGS)
++])
++
+ dnl $Id: wflags.m4,v 1.3 1999/03/11 12:11:41 joda Exp $
+ dnl
+ dnl set WFLAGS
+@@ -5284,7 +6999,7 @@
+ dnl
+ dnl AC_TEST_PACKAGE_NEW(package,headers,libraries,extra libs,default locations, conditional)
+ 
+-AC_DEFUN(AC_TEST_PACKAGE,[AC_TEST_PACKAGE_NEW($1,[#include <$2>],$4,,$5)])
++AC_DEFUN(AC_TEST_PACKAGE,[MY_TEST_PACKAGE_NEW($1,[#include <$2>],$4,,$5)])
+ 
+ AC_DEFUN(AC_TEST_PACKAGE_NEW,[
+ AC_ARG_WITH($1,
+@@ -5321,7 +7036,7 @@
+ header_dirs=
+ lib_dirs=
+ d='$5'
+-for i in $d; do
++for i in $d /usr; do
+ 	header_dirs="$header_dirs $i/include"
+ 	lib_dirs="$lib_dirs $i/lib$abilibdirext"
+ done
+@@ -5354,6 +7069,7 @@
+ if test "$ires" -a "$lres" -a "$with_$1" != "no"; then
+ 	$1_includedir="$ires"
+ 	$1_libdir="$lres"
++	DIR_$1=
+ 	INCLUDE_$1="-I$$1_includedir"
+ 	LIB_$1="-L$$1_libdir $3"
+ 	m4_ifval([$6],
+@@ -5362,6 +7078,7 @@
+ 	with_$1=yes
+ 	AC_MSG_RESULT([headers $ires, libraries $lres])
+ else
++	DIR_$1="$1"
+ 	INCLUDE_$1=
+ 	LIB_$1=
+ 	with_$1=no
+@@ -5370,6 +7087,7 @@
+ dnl m4_ifval([$6],
+ dnl 	AM_CONDITIONAL($6, test "$with_$1" = yes)
+ dnl 	AM_CONDITIONAL(upcase($1), test "$with_$1" = yes))
++AC_SUBST(DIR_$1)
+ AC_SUBST(INCLUDE_$1)
+ AC_SUBST(LIB_$1)
+ ])
+@@ -5773,19 +7491,96 @@
+ 	:
+ elif test "$ac_cv_func_el_init" = yes; then
+ 	ac_foo=yes
++	DIR_readline="editline"
+ 	LIB_readline="\$(top_builddir)/lib/editline/libel_compat.la $LIB_el_init"
+ else
++	DIR_readline="editline"
+ 	LIB_readline='$(top_builddir)/lib/editline/libeditline.la'
+ fi
+ AM_CONDITIONAL(el_compat, test "$ac_foo" = yes)
+-if test "$readline_libdir"; then
+-	LIB_readline="-rpath $readline_libdir $LIB_readline"
+-fi
++#if test "$readline_libdir"; then
++#	LIB_readline="-rpath $readline_libdir $LIB_readline"
++#fi
+ LIB_readline="$LIB_readline \$(LIB_tgetent)"
+ AC_DEFINE(HAVE_READLINE, 1, 
+ 	[Define if you have a readline compatible library.])dnl
+ 
+ ])
++
++dnl
++dnl Tests for readline functions
++dnl
++
++dnl el_init
++
++AC_DEFUN(KRB_COM_ERR,[
++dnl com_err
++
++ac_foo=no
++if test "$with_com_err" = yes; then
++	COMPILE_ET='compile_et'
++#elif test "$ac_cv_func_com_err" = yes; then
++#	COMPILE_ET='compile_et'
++else
++	COMPILE_ET='$(top_builddir)/lib/com_err/compile_et'
++	DIR_com_err="com_err"
++	LIB_com_err='$(top_builddir)/lib/com_err/libcom_err.la'
++fi
++
++if true; then
++#	!FIXME! why doesn't built in version of com_err work?
++	COMPILE_ET='$(top_builddir)/lib/com_err/compile_et'
++	DIR_com_err="com_err"
++	LIB_com_err='$(top_builddir)/lib/com_err/libcom_err.la'
++fi
++
++#if test "$com_err_libdir"; then
++#	LIB_com_err="-rpath $com_err_libdir $LIB_com_err"
++#fi
++AC_DEFINE(HAVE_COM_ERR, 1, 
++	[Define if you have a com_err compatible library.])dnl
++
++])
++AC_SUBST(COMPILE_ET)
++
++dnl
++dnl Tests for readline functions
++dnl
++
++dnl el_init
++
++AC_DEFUN(KRB_SS,[
++dnl com_err
++
++ac_foo=no
++if test "$with_ss" = yes; then
++	LIB_sl="$LIB_ss"
++else
++	DIR_ss="sl"
++	LIB_sl='$(top_builddir)/lib/sl/libsl.la'
++	LIB_ss='$(top_builddir)/lib/sl/libss.la'
++	INCLUDE_ss='-I$(top_builddir)/include/sl'
++fi
++
++
++#if test "$ss_libdir"; then
++#	LIB_ss="-rpath $sl_libdir $LIB_ss"
++#fi
++
++if true; then
++#	!FIXME! why doesn't built in version of ss work?
++	DIR_ss="sl"
++	LIB_sl='$(top_builddir)/lib/sl/libsl.la'
++	LIB_ss='$(top_builddir)/lib/sl/libss.la'
++	INCLUDE_ss='-I$(top_builddir)/include/ss'
++fi
++
++AC_DEFINE(HAVE_SS, 1, 
++	[Define if you have a ss compatible library.])dnl
++
++])
++AC_SUBST(LIB_sl)
++
+ dnl $Id: auth-modules.m4,v 1.1 1999/03/21 13:48:00 joda Exp $
+ dnl
+ dnl Figure what authentication modules should be built
+diff -ruN heimdal-0.4c-old/admin/Makefile.in heimdal-0.4c/admin/Makefile.in
+--- heimdal-0.4c-old/admin/Makefile.in	Fri Jul 20 05:42:42 2001
++++ heimdal-0.4c/admin/Makefile.in	Sun Jul 29 15:42:46 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,17 +69,21 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+@@ -96,6 +100,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -130,13 +135,13 @@
+ 
+ SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+ 
+-INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) $(INCLUDE_readline)
++INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) $(INCLUDE_readline) $(INCLUDE_ss)
+ 
+ AM_CFLAGS =  $(WFLAGS)
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -179,14 +184,20 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -212,7 +223,7 @@
+ 	$(top_builddir)/lib/krb5/libkrb5.la \
+ 	$(LIB_des) \
+ 	$(top_builddir)/lib/asn1/libasn1.la \
+-	$(top_builddir)/lib/sl/libsl.la \
++	$(LIB_ss) \
+ 	$(LIB_readline) \
+ 	$(LIB_roken)
+ 
+@@ -237,8 +248,7 @@
+ ktutil_OBJECTS =  $(am_ktutil_OBJECTS)
+ ktutil_LDADD = $(LDADD)
+ ktutil_DEPENDENCIES =  $(top_builddir)/lib/kadm5/libkadm5clnt.la \
+-$(top_builddir)/lib/krb5/libkrb5.la $(top_builddir)/lib/asn1/libasn1.la \
+-$(top_builddir)/lib/sl/libsl.la
++$(top_builddir)/lib/krb5/libkrb5.la $(top_builddir)/lib/asn1/libasn1.la
+ ktutil_LDFLAGS = 
+ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+@@ -260,7 +270,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign admin/Makefile
+ 
+@@ -392,11 +402,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.4c-old/appl/Makefile.in heimdal-0.4c/appl/Makefile.in
+--- heimdal-0.4c-old/appl/Makefile.in	Fri Jul 20 05:42:43 2001
++++ heimdal-0.4c/appl/Makefile.in	Sun Jul 29 15:42:47 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,17 +69,21 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+@@ -96,6 +100,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -136,7 +141,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -179,14 +184,20 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -233,7 +244,7 @@
+ telnet test kx kf dceutils
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
++.SUFFIXES: .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .et .h .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/Makefile
+ 
+@@ -274,11 +285,7 @@
+ maintainer-clean-recursive:
+ 	@set fnord $(MAKEFLAGS); amf=$$2; \
+ 	dot_seen=no; \
+-	case "$@" in \
+-	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
+-	  *) list='$(SUBDIRS)' ;; \
+-	esac; \
+-	rev=''; for subdir in $$list; do \
++	rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
+ 	  if test "$$subdir" = "."; then :; else \
+ 	    rev="$$subdir $$rev"; \
+ 	  fi; \
+@@ -328,11 +335,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.4c-old/appl/afsutil/Makefile.in heimdal-0.4c/appl/afsutil/Makefile.in
+--- heimdal-0.4c-old/appl/afsutil/Makefile.in	Fri Jul 20 05:42:44 2001
++++ heimdal-0.4c/appl/afsutil/Makefile.in	Sun Jul 29 15:42:47 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,17 +69,21 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+@@ -96,6 +100,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -136,7 +141,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -179,14 +184,20 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -259,7 +270,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/afsutil/Makefile
+ 
+@@ -354,11 +365,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.4c-old/appl/dceutils/Makefile.in heimdal-0.4c/appl/dceutils/Makefile.in
+--- heimdal-0.4c-old/appl/dceutils/Makefile.in	Fri Jul 20 05:42:55 2001
++++ heimdal-0.4c/appl/dceutils/Makefile.in	Sun Jul 29 15:42:54 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,17 +69,21 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+@@ -96,6 +100,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -136,7 +141,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -179,14 +184,20 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -252,7 +263,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/dceutils/Makefile
+ 
+@@ -349,11 +360,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.4c-old/appl/ftp/Makefile.in heimdal-0.4c/appl/ftp/Makefile.in
+--- heimdal-0.4c-old/appl/ftp/Makefile.in	Fri Jul 20 05:42:44 2001
++++ heimdal-0.4c/appl/ftp/Makefile.in	Sun Jul 29 15:42:47 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,17 +69,21 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+@@ -96,6 +100,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -136,7 +141,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -179,14 +184,20 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -211,10 +222,9 @@
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+ GZIP_ENV = --best
+-DIST_SUBDIRS =  $(SUBDIRS)
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
++.SUFFIXES: .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .et .h .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/ftp/Makefile
+ 
+@@ -255,11 +265,7 @@
+ maintainer-clean-recursive:
+ 	@set fnord $(MAKEFLAGS); amf=$$2; \
+ 	dot_seen=no; \
+-	case "$@" in \
+-	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
+-	  *) list='$(SUBDIRS)' ;; \
+-	esac; \
+-	rev=''; for subdir in $$list; do \
++	rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
+ 	  if test "$$subdir" = "."; then :; else \
+ 	    rev="$$subdir $$rev"; \
+ 	  fi; \
+@@ -309,11 +315,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.4c-old/appl/ftp/common/Makefile.in heimdal-0.4c/appl/ftp/common/Makefile.in
+--- heimdal-0.4c-old/appl/ftp/common/Makefile.in	Fri Jul 20 05:42:44 2001
++++ heimdal-0.4c/appl/ftp/common/Makefile.in	Sun Jul 29 15:42:48 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,17 +69,21 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+@@ -96,6 +100,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -136,7 +141,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -179,14 +184,20 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -237,7 +248,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/ftp/common/Makefile
+ 
+@@ -310,11 +321,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.4c-old/appl/ftp/ftp/Makefile.in heimdal-0.4c/appl/ftp/ftp/Makefile.in
+--- heimdal-0.4c-old/appl/ftp/ftp/Makefile.in	Fri Jul 20 05:42:45 2001
++++ heimdal-0.4c/appl/ftp/ftp/Makefile.in	Sun Jul 29 15:42:48 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,17 +69,21 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+@@ -96,6 +100,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -136,7 +141,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -179,14 +184,20 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -267,8 +278,7 @@
+ @KRB5_FALSE@ftp_DEPENDENCIES =  ../common/libcommon.a
+ @KRB5_TRUE@ftp_DEPENDENCIES =  ../common/libcommon.a \
+ @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la \
+-@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ ftp_LDFLAGS = 
+ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+@@ -290,7 +300,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/ftp/ftp/Makefile
+ 
+@@ -422,11 +432,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.4c-old/appl/ftp/ftpd/Makefile.in heimdal-0.4c/appl/ftp/ftpd/Makefile.in
+--- heimdal-0.4c-old/appl/ftp/ftpd/Makefile.in	Fri Jul 20 05:42:46 2001
++++ heimdal-0.4c/appl/ftp/ftpd/Makefile.in	Sun Jul 29 15:42:48 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,17 +69,21 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+@@ -96,6 +100,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -136,7 +141,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -179,14 +184,20 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -263,15 +274,13 @@
+ @KRB4_FALSE@@KRB5_FALSE@ftpd_DEPENDENCIES =  ../common/libcommon.a
+ @KRB4_FALSE@@KRB5_TRUE@ftpd_DEPENDENCIES =  ../common/libcommon.a \
+ @KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la \
+-@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
++@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB4_TRUE@@KRB5_FALSE@ftpd_DEPENDENCIES =  ../common/libcommon.a \
+ @KRB4_TRUE@@KRB5_FALSE@$(top_builddir)/lib/kafs/libkafs.la
+ @KRB4_TRUE@@KRB5_TRUE@ftpd_DEPENDENCIES =  ../common/libcommon.a \
+ @KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/kafs/libkafs.la \
+ @KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la \
+-@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
++@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ ftpd_LDFLAGS = 
+ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+@@ -294,7 +303,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj .y
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .x .y
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/ftp/ftpd/Makefile
+ 
+@@ -467,11 +476,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.4c-old/appl/kf/Makefile.in heimdal-0.4c/appl/kf/Makefile.in
+--- heimdal-0.4c-old/appl/kf/Makefile.in	Fri Jul 20 05:42:55 2001
++++ heimdal-0.4c/appl/kf/Makefile.in	Sun Jul 29 15:42:54 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,17 +69,21 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+@@ -96,6 +100,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -136,7 +141,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -179,14 +184,20 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -257,7 +268,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/kf/Makefile
+ 
+@@ -456,11 +467,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.4c-old/appl/kx/Makefile.in heimdal-0.4c/appl/kx/Makefile.in
+--- heimdal-0.4c-old/appl/kx/Makefile.in	Fri Jul 20 05:42:47 2001
++++ heimdal-0.4c/appl/kx/Makefile.in	Sun Jul 29 15:42:49 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,17 +69,21 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+@@ -96,6 +100,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -135,7 +140,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -178,14 +183,20 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -266,14 +277,12 @@
+ kx_LDADD = $(LDADD)
+ @KRB4_FALSE@@KRB5_FALSE@kx_DEPENDENCIES = 
+ @KRB4_FALSE@@KRB5_TRUE@kx_DEPENDENCIES =  \
+-@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
++@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB4_TRUE@@KRB5_FALSE@kx_DEPENDENCIES =  \
+ @KRB4_TRUE@@KRB5_FALSE@$(top_builddir)/lib/kafs/libkafs.la
+ @KRB4_TRUE@@KRB5_TRUE@kx_DEPENDENCIES =  \
+ @KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/kafs/libkafs.la \
+-@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
++@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ kx_LDFLAGS = 
+ @NEED_WRITEAUTH_FALSE@am_kxd_OBJECTS =  kxd.$(OBJEXT) common.$(OBJEXT) \
+ @NEED_WRITEAUTH_FALSE@context.$(OBJEXT) krb4.$(OBJEXT) krb5.$(OBJEXT)
+@@ -284,14 +293,12 @@
+ kxd_LDADD = $(LDADD)
+ @KRB4_FALSE@@KRB5_FALSE@kxd_DEPENDENCIES = 
+ @KRB4_FALSE@@KRB5_TRUE@kxd_DEPENDENCIES =  \
+-@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
++@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB4_TRUE@@KRB5_FALSE@kxd_DEPENDENCIES =  \
+ @KRB4_TRUE@@KRB5_FALSE@$(top_builddir)/lib/kafs/libkafs.la
+ @KRB4_TRUE@@KRB5_TRUE@kxd_DEPENDENCIES =  \
+ @KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/kafs/libkafs.la \
+-@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
++@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ kxd_LDFLAGS = 
+ SCRIPTS =  $(bin_SCRIPTS)
+ 
+@@ -317,7 +324,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/kx/Makefile
+ 
+@@ -538,11 +545,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.4c-old/appl/login/Makefile.in heimdal-0.4c/appl/login/Makefile.in
+--- heimdal-0.4c-old/appl/login/Makefile.in	Fri Jul 20 05:42:47 2001
++++ heimdal-0.4c/appl/login/Makefile.in	Sun Jul 29 15:42:49 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,17 +69,21 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+@@ -96,6 +100,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -136,7 +141,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -179,14 +184,20 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -266,7 +277,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/login/Makefile
+ 
+@@ -357,11 +368,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.4c-old/appl/otp/Makefile.in heimdal-0.4c/appl/otp/Makefile.in
+--- heimdal-0.4c-old/appl/otp/Makefile.in	Fri Jul 20 05:42:48 2001
++++ heimdal-0.4c/appl/otp/Makefile.in	Sun Jul 29 15:42:50 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,17 +69,21 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+@@ -96,6 +100,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -136,7 +141,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -179,14 +184,20 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -251,7 +262,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/otp/Makefile
+ 
+@@ -387,11 +398,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.4c-old/appl/popper/Makefile.in heimdal-0.4c/appl/popper/Makefile.in
+--- heimdal-0.4c-old/appl/popper/Makefile.in	Fri Jul 20 05:42:48 2001
++++ heimdal-0.4c/appl/popper/Makefile.in	Sun Jul 29 15:42:50 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,17 +69,21 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+@@ -96,6 +100,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -136,7 +141,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -179,14 +184,20 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -239,8 +250,7 @@
+ pop_debug_OBJECTS =  pop_debug.$(OBJEXT)
+ pop_debug_LDADD = $(LDADD)
+ @KRB5_FALSE@pop_debug_DEPENDENCIES = 
+-@KRB5_TRUE@pop_debug_DEPENDENCIES =  $(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@pop_debug_DEPENDENCIES =  $(top_builddir)/lib/krb5/libkrb5.la
+ pop_debug_LDFLAGS = 
+ am_popper_OBJECTS =  pop_dele.$(OBJEXT) pop_dropcopy.$(OBJEXT) \
+ pop_dropinfo.$(OBJEXT) pop_get_command.$(OBJEXT) pop_init.$(OBJEXT) \
+@@ -253,8 +263,7 @@
+ popper_OBJECTS =  $(am_popper_OBJECTS)
+ popper_LDADD = $(LDADD)
+ @KRB5_FALSE@popper_DEPENDENCIES = 
+-@KRB5_TRUE@popper_DEPENDENCIES =  $(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@popper_DEPENDENCIES =  $(top_builddir)/lib/krb5/libkrb5.la
+ popper_LDFLAGS = 
+ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+@@ -274,7 +283,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/popper/Makefile
+ 
+@@ -378,11 +387,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.4c-old/appl/push/Makefile.in heimdal-0.4c/appl/push/Makefile.in
+--- heimdal-0.4c-old/appl/push/Makefile.in	Fri Jul 20 05:42:49 2001
++++ heimdal-0.4c/appl/push/Makefile.in	Sun Jul 29 15:42:50 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,17 +69,21 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+@@ -96,6 +100,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -136,7 +141,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -179,14 +184,20 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -230,8 +241,7 @@
+ push_OBJECTS =  $(am_push_OBJECTS)
+ push_LDADD = $(LDADD)
+ @KRB5_FALSE@push_DEPENDENCIES = 
+-@KRB5_TRUE@push_DEPENDENCIES =  $(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@push_DEPENDENCIES =  $(top_builddir)/lib/krb5/libkrb5.la
+ push_LDFLAGS = 
+ SCRIPTS =  $(bin_SCRIPTS)
+ 
+@@ -256,7 +266,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/push/Makefile
+ 
+@@ -445,11 +455,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.4c-old/appl/rcp/Makefile.in heimdal-0.4c/appl/rcp/Makefile.in
+--- heimdal-0.4c-old/appl/rcp/Makefile.in	Fri Jul 20 05:42:50 2001
++++ heimdal-0.4c/appl/rcp/Makefile.in	Sun Jul 29 15:42:51 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,17 +69,21 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+@@ -96,6 +100,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -136,7 +141,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -179,14 +184,20 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -236,7 +247,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/rcp/Makefile
+ 
+@@ -327,11 +338,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.4c-old/appl/rsh/Makefile.in heimdal-0.4c/appl/rsh/Makefile.in
+--- heimdal-0.4c-old/appl/rsh/Makefile.in	Fri Jul 20 05:42:50 2001
++++ heimdal-0.4c/appl/rsh/Makefile.in	Sun Jul 29 15:42:51 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,17 +69,21 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+@@ -96,6 +100,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -136,7 +141,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -179,14 +184,20 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -229,19 +240,16 @@
+ rsh_LDADD = $(LDADD)
+ @DCE_FALSE@@KRB4_FALSE@@KRB5_FALSE@rsh_DEPENDENCIES = 
+ @DCE_FALSE@@KRB4_FALSE@@KRB5_TRUE@rsh_DEPENDENCIES =  \
+-@DCE_FALSE@@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@DCE_FALSE@@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
++@DCE_FALSE@@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @DCE_FALSE@@KRB4_TRUE@@KRB5_FALSE@rsh_DEPENDENCIES =  \
+ @DCE_FALSE@@KRB4_TRUE@@KRB5_FALSE@$(top_builddir)/lib/kafs/libkafs.la
+ @DCE_FALSE@@KRB4_TRUE@@KRB5_TRUE@rsh_DEPENDENCIES =  \
+ @DCE_FALSE@@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/kafs/libkafs.la \
+-@DCE_FALSE@@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@DCE_FALSE@@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
++@DCE_FALSE@@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @DCE_TRUE@@KRB4_FALSE@@KRB5_FALSE@rsh_DEPENDENCIES =  \
+ @DCE_TRUE@@KRB4_FALSE@@KRB5_FALSE@$(top_builddir)/lib/kdfs/libkdfs.la
+ @DCE_TRUE@@KRB4_FALSE@@KRB5_TRUE@rsh_DEPENDENCIES =  \
+ @DCE_TRUE@@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@DCE_TRUE@@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la \
+ @DCE_TRUE@@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+ @DCE_TRUE@@KRB4_TRUE@@KRB5_FALSE@rsh_DEPENDENCIES =  \
+ @DCE_TRUE@@KRB4_TRUE@@KRB5_FALSE@$(top_builddir)/lib/kafs/libkafs.la \
+@@ -249,7 +257,6 @@
+ @DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@rsh_DEPENDENCIES =  \
+ @DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/kafs/libkafs.la \
+ @DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la \
+ @DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+ rsh_LDFLAGS = 
+ am_rshd_OBJECTS =  rshd.$(OBJEXT) common.$(OBJEXT) \
+@@ -258,19 +265,16 @@
+ rshd_LDADD = $(LDADD)
+ @DCE_FALSE@@KRB4_FALSE@@KRB5_FALSE@rshd_DEPENDENCIES = 
+ @DCE_FALSE@@KRB4_FALSE@@KRB5_TRUE@rshd_DEPENDENCIES =  \
+-@DCE_FALSE@@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@DCE_FALSE@@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
++@DCE_FALSE@@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @DCE_FALSE@@KRB4_TRUE@@KRB5_FALSE@rshd_DEPENDENCIES =  \
+ @DCE_FALSE@@KRB4_TRUE@@KRB5_FALSE@$(top_builddir)/lib/kafs/libkafs.la
+ @DCE_FALSE@@KRB4_TRUE@@KRB5_TRUE@rshd_DEPENDENCIES =  \
+ @DCE_FALSE@@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/kafs/libkafs.la \
+-@DCE_FALSE@@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@DCE_FALSE@@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
++@DCE_FALSE@@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @DCE_TRUE@@KRB4_FALSE@@KRB5_FALSE@rshd_DEPENDENCIES =  \
+ @DCE_TRUE@@KRB4_FALSE@@KRB5_FALSE@$(top_builddir)/lib/kdfs/libkdfs.la
+ @DCE_TRUE@@KRB4_FALSE@@KRB5_TRUE@rshd_DEPENDENCIES =  \
+ @DCE_TRUE@@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@DCE_TRUE@@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la \
+ @DCE_TRUE@@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+ @DCE_TRUE@@KRB4_TRUE@@KRB5_FALSE@rshd_DEPENDENCIES =  \
+ @DCE_TRUE@@KRB4_TRUE@@KRB5_FALSE@$(top_builddir)/lib/kafs/libkafs.la \
+@@ -278,7 +282,6 @@
+ @DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@rshd_DEPENDENCIES =  \
+ @DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/kafs/libkafs.la \
+ @DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la \
+ @DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+ rshd_LDFLAGS = 
+ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+@@ -299,7 +302,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/rsh/Makefile
+ 
+@@ -422,11 +425,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.4c-old/appl/su/Makefile.in heimdal-0.4c/appl/su/Makefile.in
+--- heimdal-0.4c-old/appl/su/Makefile.in	Fri Jul 20 05:42:51 2001
++++ heimdal-0.4c/appl/su/Makefile.in	Sun Jul 29 15:42:52 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,17 +69,21 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+@@ -96,6 +100,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -136,7 +141,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -179,14 +184,20 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -246,7 +257,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/su/Makefile
+ 
+@@ -337,11 +348,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.4c-old/appl/telnet/Makefile.in heimdal-0.4c/appl/telnet/Makefile.in
+--- heimdal-0.4c-old/appl/telnet/Makefile.in	Fri Jul 20 05:42:52 2001
++++ heimdal-0.4c/appl/telnet/Makefile.in	Sun Jul 29 15:42:52 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,17 +69,21 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+@@ -96,6 +100,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -136,7 +141,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -179,14 +184,20 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -213,10 +224,9 @@
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+ GZIP_ENV = --best
+-DIST_SUBDIRS =  $(SUBDIRS)
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
++.SUFFIXES: .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .et .h .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/telnet/Makefile
+ 
+@@ -257,11 +267,7 @@
+ maintainer-clean-recursive:
+ 	@set fnord $(MAKEFLAGS); amf=$$2; \
+ 	dot_seen=no; \
+-	case "$@" in \
+-	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
+-	  *) list='$(SUBDIRS)' ;; \
+-	esac; \
+-	rev=''; for subdir in $$list; do \
++	rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
+ 	  if test "$$subdir" = "."; then :; else \
+ 	    rev="$$subdir $$rev"; \
+ 	  fi; \
+@@ -311,11 +317,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.4c-old/appl/telnet/libtelnet/Makefile.in heimdal-0.4c/appl/telnet/libtelnet/Makefile.in
+--- heimdal-0.4c-old/appl/telnet/libtelnet/Makefile.in	Fri Jul 20 05:42:52 2001
++++ heimdal-0.4c/appl/telnet/libtelnet/Makefile.in	Sun Jul 29 15:42:52 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,17 +69,21 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+@@ -96,6 +100,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -136,7 +141,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -179,14 +184,20 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -251,7 +262,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/telnet/libtelnet/Makefile
+ 
+@@ -324,11 +335,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.4c-old/appl/telnet/telnet/Makefile.in heimdal-0.4c/appl/telnet/telnet/Makefile.in
+--- heimdal-0.4c-old/appl/telnet/telnet/Makefile.in	Fri Jul 20 05:42:53 2001
++++ heimdal-0.4c/appl/telnet/telnet/Makefile.in	Sun Jul 29 15:42:53 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,17 +69,21 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+@@ -96,6 +100,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -136,7 +141,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -179,14 +184,20 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -232,13 +243,11 @@
+ telnet_LDADD = $(LDADD)
+ @DCE_FALSE@@KRB5_FALSE@telnet_DEPENDENCIES =  ../libtelnet/libtelnet.a
+ @DCE_FALSE@@KRB5_TRUE@telnet_DEPENDENCIES =  ../libtelnet/libtelnet.a \
+-@DCE_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@DCE_FALSE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
++@DCE_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @DCE_TRUE@@KRB5_FALSE@telnet_DEPENDENCIES =  ../libtelnet/libtelnet.a \
+ @DCE_TRUE@@KRB5_FALSE@$(top_builddir)/lib/kdfs/libkdfs.la
+ @DCE_TRUE@@KRB5_TRUE@telnet_DEPENDENCIES =  ../libtelnet/libtelnet.a \
+ @DCE_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@DCE_TRUE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la \
+ @DCE_TRUE@@KRB5_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+ telnet_LDFLAGS = 
+ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+@@ -261,7 +270,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/telnet/telnet/Makefile
+ 
+@@ -393,11 +402,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.4c-old/appl/telnet/telnetd/Makefile.in heimdal-0.4c/appl/telnet/telnetd/Makefile.in
+--- heimdal-0.4c-old/appl/telnet/telnetd/Makefile.in	Fri Jul 20 05:42:53 2001
++++ heimdal-0.4c/appl/telnet/telnetd/Makefile.in	Sun Jul 29 15:42:53 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,17 +69,21 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+@@ -96,6 +100,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -136,7 +141,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -179,14 +184,20 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -233,13 +244,11 @@
+ telnetd_LDADD = $(LDADD)
+ @DCE_FALSE@@KRB5_FALSE@telnetd_DEPENDENCIES =  ../libtelnet/libtelnet.a
+ @DCE_FALSE@@KRB5_TRUE@telnetd_DEPENDENCIES =  ../libtelnet/libtelnet.a \
+-@DCE_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@DCE_FALSE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
++@DCE_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @DCE_TRUE@@KRB5_FALSE@telnetd_DEPENDENCIES =  ../libtelnet/libtelnet.a \
+ @DCE_TRUE@@KRB5_FALSE@$(top_builddir)/lib/kdfs/libkdfs.la
+ @DCE_TRUE@@KRB5_TRUE@telnetd_DEPENDENCIES =  ../libtelnet/libtelnet.a \
+ @DCE_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@DCE_TRUE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la \
+ @DCE_TRUE@@KRB5_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+ telnetd_LDFLAGS = 
+ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+@@ -262,7 +271,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/telnet/telnetd/Makefile
+ 
+@@ -394,11 +403,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.4c-old/appl/test/Makefile.in heimdal-0.4c/appl/test/Makefile.in
+--- heimdal-0.4c-old/appl/test/Makefile.in	Fri Jul 20 05:42:54 2001
++++ heimdal-0.4c/appl/test/Makefile.in	Sun Jul 29 15:42:54 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,17 +69,21 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+@@ -96,6 +100,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -136,7 +141,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -179,14 +184,20 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -315,7 +326,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/test/Makefile
+ 
+@@ -415,11 +426,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.4c-old/appl/xnlock/Makefile.in heimdal-0.4c/appl/xnlock/Makefile.in
+--- heimdal-0.4c-old/appl/xnlock/Makefile.in	Fri Jul 20 05:42:51 2001
++++ heimdal-0.4c/appl/xnlock/Makefile.in	Sun Jul 29 15:42:52 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,17 +69,21 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+@@ -96,6 +100,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -135,7 +140,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -178,14 +183,20 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -231,14 +242,12 @@
+ xnlock_LDADD = $(LDADD)
+ @KRB4_FALSE@@KRB5_FALSE@xnlock_DEPENDENCIES = 
+ @KRB4_FALSE@@KRB5_TRUE@xnlock_DEPENDENCIES =  \
+-@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
++@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB4_TRUE@@KRB5_FALSE@xnlock_DEPENDENCIES =  \
+ @KRB4_TRUE@@KRB5_FALSE@$(top_builddir)/lib/kafs/libkafs.la
+ @KRB4_TRUE@@KRB5_TRUE@xnlock_DEPENDENCIES =  \
+ @KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/kafs/libkafs.la \
+-@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
++@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ xnlock_LDFLAGS = 
+ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+@@ -260,7 +269,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/xnlock/Makefile
+ 
+@@ -392,11 +401,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.4c-old/config.guess heimdal-0.4c/config.guess
+--- heimdal-0.4c-old/config.guess	Mon Sep 25 10:15:55 2000
++++ heimdal-0.4c/config.guess	Sun Jul 29 15:41:37 2001
+@@ -1,9 +1,9 @@
+ #! /bin/sh
+ # Attempt to guess a canonical system name.
+-#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000
++#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ #   Free Software Foundation, Inc.
+ 
+-version='2000-09-05'
++timestamp='2001-07-09'
+ 
+ # This file is free software; you can redistribute it and/or modify it
+ # under the terms of the GNU General Public License as published by
+@@ -32,30 +32,41 @@
+ # exits with 0.  Otherwise, it exits with 1.
+ #
+ # The plan is that this can be called by configure scripts if you
+-# don't specify an explicit system type (host/target name).
+-#
+-# Only a few systems have been added to this list; please add others
+-# (but try to keep the structure clean).
+-#
++# don't specify an explicit build system type.
+ 
+ me=`echo "$0" | sed -e 's,.*/,,'`
+ 
+ usage="\
+ Usage: $0 [OPTION]
+ 
+-Output the configuration name of this system.
++Output the configuration name of the system \`$me' is run on.
+ 
+ Operation modes:
+-  -h, --help               print this help, then exit
+-  -V, --version            print version number, then exit"
++  -h, --help         print this help, then exit
++  -t, --time-stamp   print date of last modification, then exit
++  -v, --version      print version number, then exit
++
++Report bugs and patches to <config-patches@gnu.org>."
++
++version="\
++GNU config.guess ($timestamp)
++
++Originally written by Per Bothner.
++Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
++Free Software Foundation, Inc.
++
++This is free software; see the source for copying conditions.  There is NO
++warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
+ 
+ help="
+ Try \`$me --help' for more information."
+ 
+ # Parse command line
+ while test $# -gt 0 ; do
+-  case "$1" in
+-    --version | --vers* | -V )
++  case $1 in
++    --time-stamp | --time* | -t )
++       echo "$timestamp" ; exit 0 ;;
++    --version | -v )
+        echo "$version" ; exit 0 ;;
+     --help | --h* | -h )
+        echo "$usage"; exit 0 ;;
+@@ -64,9 +75,7 @@
+     - )	# Use stdin as input.
+        break ;;
+     -* )
+-       exec >&2
+-       echo "$me: invalid option $1"
+-       echo "$help"
++       echo "$me: invalid option $1$help" >&2
+        exit 1 ;;
+     * )
+        break ;;
+@@ -78,34 +87,42 @@
+   exit 1
+ fi
+ 
+-# Use $HOST_CC if defined. $CC may point to a cross-compiler
+-if test x"$CC_FOR_BUILD" = x; then
+-  if test x"$HOST_CC" != x; then
+-    CC_FOR_BUILD="$HOST_CC"
+-  else
+-    if test x"$CC" != x; then
+-      CC_FOR_BUILD="$CC"
+-    else
+-      CC_FOR_BUILD=cc
+-    fi
+-  fi
+-fi
+ 
++dummy=dummy-$$
++trap 'rm -f $dummy.c $dummy.o $dummy.rel $dummy; exit 1' 1 2 15
++
++# CC_FOR_BUILD -- compiler used by this script.
++# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
++# use `HOST_CC' if defined, but it is deprecated.
++
++set_cc_for_build='case $CC_FOR_BUILD,$HOST_CC,$CC in
++ ,,)    echo "int dummy(){}" > $dummy.c ;
++	for c in cc gcc c89 ; do
++	  ($c $dummy.c -c -o $dummy.o) >/dev/null 2>&1 ;
++	  if test $? = 0 ; then
++	     CC_FOR_BUILD="$c"; break ;
++	  fi ;
++	done ;
++	rm -f $dummy.c $dummy.o $dummy.rel ;
++	if test x"$CC_FOR_BUILD" = x ; then
++	  CC_FOR_BUILD=no_compiler_found ;
++	fi
++	;;
++ ,,*)   CC_FOR_BUILD=$CC ;;
++ ,*,*)  CC_FOR_BUILD=$HOST_CC ;;
++esac'
+ 
+ # This is needed to find uname on a Pyramid OSx when run in the BSD universe.
+-# (ghazi@noc.rutgers.edu 8/24/94.)
++# (ghazi@noc.rutgers.edu 1994-08-24)
+ if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
+ 	PATH=$PATH:/.attbin ; export PATH
+ fi
+ 
+ UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
+ UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
+-UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
++UNAME_SYSTEM=`(uname -s) 2>/dev/null`  || UNAME_SYSTEM=unknown
+ UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
+ 
+-dummy=dummy-$$
+-trap 'rm -f $dummy.c $dummy.o $dummy; exit 1' 1 2 15
+-
+ # Note: order is significant - the case branches are not exclusive.
+ 
+ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
+@@ -129,16 +146,25 @@
+ 	    ibmrt|romp-ibm) machine=romp-ibm ;;
+ 	    *) machine=${UNAME_MACHINE}-unknown ;;
+ 	esac
+-	# The Operating System including object format.
+-	if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
+-		| grep __ELF__ >/dev/null
+-	then
+-	    # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
+-	    # Return netbsd for either.  FIX?
+-	    os=netbsd
+-	else
+-	    os=netbsdelf
+-	fi
++	# The Operating System including object format, if it has switched
++	# to ELF recently, or will in the future.
++	case "${UNAME_MACHINE}" in
++	    i386|sparc|amiga|arm*|hp300|mvme68k|vax|atari|luna68k|mac68k|news68k|next68k|pc532|sun3*|x68k)
++		eval $set_cc_for_build
++		if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
++			| grep __ELF__ >/dev/null
++		then
++		    # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
++		    # Return netbsd for either.  FIX?
++		    os=netbsd
++		else
++		    os=netbsdelf
++		fi
++		;;
++	    *)
++	        os=netbsd
++		;;
++	esac
+ 	# The OS release
+ 	release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
+ 	# Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
+@@ -179,6 +205,7 @@
+ 	jsr \$26,exit
+ 	.end main
+ EOF
++	eval $set_cc_for_build
+ 	$CC_FOR_BUILD $dummy.s -o $dummy 2>/dev/null
+ 	if test "$?" = 0 ; then
+ 		case `./$dummy` in
+@@ -247,7 +274,7 @@
+     arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
+ 	echo arm-acorn-riscix${UNAME_RELEASE}
+ 	exit 0;;
+-    SR2?01:HI-UX/MPP:*:*)
++    SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
+ 	echo hppa1.1-hitachi-hiuxmpp
+ 	exit 0;;
+     Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*)
+@@ -308,7 +335,7 @@
+ 	exit 0 ;;
+     # The situation for MiNT is a little confusing.  The machine name
+     # can be virtually everything (everything which is not
+-    # "atarist" or "atariste" at least should have a processor 
++    # "atarist" or "atariste" at least should have a processor
+     # > m68000).  The system name ranges from "MiNT" over "FreeMiNT"
+     # to the lowercase version "mint" (or "freemint").  Finally
+     # the system name "TOS" denotes a system which is actually not
+@@ -381,12 +408,16 @@
+ 	  exit (-1);
+ 	}
+ EOF
++	eval $set_cc_for_build
+ 	$CC_FOR_BUILD $dummy.c -o $dummy \
+ 	  && ./$dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \
+-	  && rm $dummy.c $dummy && exit 0
++	  && rm -f $dummy.c $dummy && exit 0
+ 	rm -f $dummy.c $dummy
+ 	echo mips-mips-riscos${UNAME_RELEASE}
+ 	exit 0 ;;
++    Motorola:PowerMAX_OS:*:*)
++	echo powerpc-motorola-powermax
++	exit 0 ;;
+     Night_Hawk:Power_UNIX:*:*)
+ 	echo powerpc-harris-powerunix
+ 	exit 0 ;;
+@@ -402,7 +433,7 @@
+     AViiON:dgux:*:*)
+         # DG/UX returns AViiON for all architectures
+         UNAME_PROCESSOR=`/usr/bin/uname -p`
+-	if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110]
++	if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
+ 	then
+ 	    if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
+ 	       [ ${TARGET_BINARY_INTERFACE}x = x ]
+@@ -434,9 +465,17 @@
+     ????????:AIX?:[12].1:2)   # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
+ 	echo romp-ibm-aix      # uname -m gives an 8 hex-code CPU id
+ 	exit 0 ;;              # Note that: echo "'`uname -s`'" gives 'AIX '
+-    i?86:AIX:*:*)
++    i*86:AIX:*:*)
+ 	echo i386-ibm-aix
+ 	exit 0 ;;
++    ia64:AIX:*:*)
++	if [ -x /usr/bin/oslevel ] ; then
++		IBM_REV=`/usr/bin/oslevel`
++	else
++		IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
++	fi
++	echo ${UNAME_MACHINE}-ibm-aix${IBM_REV}
++	exit 0 ;;
+     *:AIX:2:3)
+ 	if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
+ 		sed 's/^		//' << EOF >$dummy.c
+@@ -450,7 +489,8 @@
+ 			exit(0);
+ 			}
+ EOF
+-		$CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm $dummy.c $dummy && exit 0
++		eval $set_cc_for_build
++		$CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm -f $dummy.c $dummy && exit 0
+ 		rm -f $dummy.c $dummy
+ 		echo rs6000-ibm-aix3.2.5
+ 	elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
+@@ -459,9 +499,9 @@
+ 		echo rs6000-ibm-aix3.2
+ 	fi
+ 	exit 0 ;;
+-    *:AIX:*:4)
++    *:AIX:*:[45])
+ 	IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | head -1 | awk '{ print $1 }'`
+-	if /usr/sbin/lsattr -EHl ${IBM_CPU_ID} | grep POWER >/dev/null 2>&1; then
++	if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
+ 		IBM_ARCH=rs6000
+ 	else
+ 		IBM_ARCH=powerpc
+@@ -469,7 +509,7 @@
+ 	if [ -x /usr/bin/oslevel ] ; then
+ 		IBM_REV=`/usr/bin/oslevel`
+ 	else
+-		IBM_REV=4.${UNAME_RELEASE}
++		IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
+ 	fi
+ 	echo ${IBM_ARCH}-ibm-aix${IBM_REV}
+ 	exit 0 ;;
+@@ -495,10 +535,28 @@
+ 	echo m68k-hp-bsd4.4
+ 	exit 0 ;;
+     9000/[34678]??:HP-UX:*:*)
++	HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
+ 	case "${UNAME_MACHINE}" in
+ 	    9000/31? )            HP_ARCH=m68000 ;;
+ 	    9000/[34]?? )         HP_ARCH=m68k ;;
+ 	    9000/[678][0-9][0-9])
++              case "${HPUX_REV}" in
++                11.[0-9][0-9])
++                  if [ -x /usr/bin/getconf ]; then
++                    sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
++                    sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
++                    case "${sc_cpu_version}" in
++                      523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
++                      528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
++                      532)                      # CPU_PA_RISC2_0
++                        case "${sc_kernel_bits}" in
++                          32) HP_ARCH="hppa2.0n" ;;
++                          64) HP_ARCH="hppa2.0w" ;;
++                        esac ;;
++                    esac
++                  fi ;;
++              esac
++              if [ "${HP_ARCH}" = "" ]; then
+               sed 's/^              //' << EOF >$dummy.c
+ 
+               #define _HPUX_SOURCE
+@@ -532,12 +590,18 @@
+                   exit (0);
+               }
+ EOF
++	eval $set_cc_for_build
+ 	(CCOPTS= $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null ) && HP_ARCH=`./$dummy`
++	if test -z "$HP_ARCH"; then HP_ARCH=hppa; fi
+ 	rm -f $dummy.c $dummy
++	fi ;;
+ 	esac
+-	HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
+ 	echo ${HP_ARCH}-hp-hpux${HPUX_REV}
+ 	exit 0 ;;
++    ia64:HP-UX:*:*)
++	HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
++	echo ia64-hp-hpux${HPUX_REV}
++	exit 0 ;;
+     3050*:HI-UX:*:*)
+ 	sed 's/^	//' << EOF >$dummy.c
+ 	#include <unistd.h>
+@@ -564,7 +628,8 @@
+ 	  exit (0);
+ 	}
+ EOF
+-	$CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm $dummy.c $dummy && exit 0
++	eval $set_cc_for_build
++	$CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm -f $dummy.c $dummy && exit 0
+ 	rm -f $dummy.c $dummy
+ 	echo unknown-hitachi-hiuxwe2
+ 	exit 0 ;;
+@@ -574,7 +639,7 @@
+     9000/8??:4.3bsd:*:*)
+ 	echo hppa1.0-hp-bsd
+ 	exit 0 ;;
+-    *9??*:MPE/iX:*:*)
++    *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
+ 	echo hppa1.0-hp-mpeix
+ 	exit 0 ;;
+     hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
+@@ -583,7 +648,7 @@
+     hp8??:OSF1:*:*)
+ 	echo hppa1.0-hp-osf
+ 	exit 0 ;;
+-    i?86:OSF1:*:*)
++    i*86:OSF1:*:*)
+ 	if [ -x /usr/sbin/sysversion ] ; then
+ 	    echo ${UNAME_MACHINE}-unknown-osf1mk
+ 	else
+@@ -628,27 +693,28 @@
+     CRAY*TS:*:*:*)
+ 	echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
+ 	exit 0 ;;
+-    CRAY*T3E:*:*:*)
++    CRAY*T3D:*:*:*)
+ 	echo alpha-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
+ 	exit 0 ;;
++    CRAY*T3E:*:*:*)
++	echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
++	exit 0 ;;
+     CRAY*SV1:*:*:*)
+-	echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'    
++	echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
+ 	exit 0 ;;
+     CRAY-2:*:*:*)
+ 	echo cray2-cray-unicos
+         exit 0 ;;
+-    F300:UNIX_System_V:*:*)
++    F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
++	FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
+         FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
+         FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
+-        echo "f300-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
++        echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
+         exit 0 ;;
+-    F301:UNIX_System_V:*:*)
+-       echo f301-fujitsu-uxpv`echo $UNAME_RELEASE | sed 's/ .*//'`
+-       exit 0 ;;
+     hp300:OpenBSD:*:*)
+ 	echo m68k-unknown-openbsd${UNAME_RELEASE}
+ 	exit 0 ;;
+-    i?86:BSD/386:*:* | i?86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
++    i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
+ 	echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
+ 	exit 0 ;;
+     sparc*:BSD/OS:*:*)
+@@ -693,192 +759,89 @@
+     i*86:Minix:*:*)
+ 	echo ${UNAME_MACHINE}-pc-minix
+ 	exit 0 ;;
+-    *:Linux:*:*)
+-
++    arm*:Linux:*:*)
++	echo ${UNAME_MACHINE}-unknown-linux-gnu
++	exit 0 ;;
++    ia64:Linux:*:*)
++	echo ${UNAME_MACHINE}-unknown-linux
++	exit 0 ;;
++    m68*:Linux:*:*)
++	echo ${UNAME_MACHINE}-unknown-linux-gnu
++	exit 0 ;;
++    mips:Linux:*:*)
++	case `sed -n '/^byte/s/^.*: \(.*\) endian/\1/p' < /proc/cpuinfo` in
++	  big)    echo mips-unknown-linux-gnu && exit 0 ;;
++	  little) echo mipsel-unknown-linux-gnu && exit 0 ;;
++	esac
++	;;
++    ppc:Linux:*:*)
++	echo powerpc-unknown-linux-gnu
++	exit 0 ;;
++    alpha:Linux:*:*)
++	case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
++	  EV5)   UNAME_MACHINE=alphaev5 ;;
++	  EV56)  UNAME_MACHINE=alphaev56 ;;
++	  PCA56) UNAME_MACHINE=alphapca56 ;;
++	  PCA57) UNAME_MACHINE=alphapca56 ;;
++	  EV6)   UNAME_MACHINE=alphaev6 ;;
++	  EV67)  UNAME_MACHINE=alphaev67 ;;
++	  EV68*) UNAME_MACHINE=alphaev67 ;;
++        esac
++	objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
++	if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
++	echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
++	exit 0 ;;
++    parisc:Linux:*:* | hppa:Linux:*:*)
++	# Look for CPU level
++	case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
++	  PA7*) echo hppa1.1-unknown-linux-gnu ;;
++	  PA8*) echo hppa2.0-unknown-linux-gnu ;;
++	  *)    echo hppa-unknown-linux-gnu ;;
++	esac
++	exit 0 ;;
++    parisc64:Linux:*:* | hppa64:Linux:*:*)
++	echo hppa64-unknown-linux-gnu
++	exit 0 ;;
++    s390:Linux:*:* | s390x:Linux:*:*)
++	echo ${UNAME_MACHINE}-ibm-linux
++	exit 0 ;;
++    sh*:Linux:*:*)
++	echo ${UNAME_MACHINE}-unknown-linux-gnu
++	exit 0 ;;
++    sparc:Linux:*:* | sparc64:Linux:*:*)
++	echo ${UNAME_MACHINE}-unknown-linux-gnu
++	exit 0 ;;
++    x86_64:Linux:*:*)
++	echo x86_64-unknown-linux-gnu
++	exit 0 ;;
++    i*86:Linux:*:*)
+ 	# The BFD linker knows what the default object file format is, so
+ 	# first see if it will tell us. cd to the root directory to prevent
+ 	# problems with other programs or directories called `ld' in the path.
+-	ld_help_string=`cd /; ld --help 2>&1`
+-	ld_supported_emulations=`echo $ld_help_string \
+-			 | sed -ne '/supported emulations:/!d
++	ld_supported_targets=`cd /; ld --help 2>&1 \
++			 | sed -ne '/supported targets:/!d
+ 				    s/[ 	][ 	]*/ /g
+-				    s/.*supported emulations: *//
++				    s/.*supported targets: *//
+ 				    s/ .*//
+ 				    p'`
+-        case "$ld_supported_emulations" in
+-	  *ia64)
+-		echo "${UNAME_MACHINE}-unknown-linux"
+-		exit 0
+-		;;
+-	  i?86linux)
+-		echo "${UNAME_MACHINE}-pc-linux-gnuaout"
+-		exit 0
+-		;;
+-	  elf_i?86)
++        case "$ld_supported_targets" in
++	  elf32-i386)
+ 		TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
+ 		;;
+-	  i?86coff)
++	  a.out-i386-linux)
++		echo "${UNAME_MACHINE}-pc-linux-gnuaout"
++		exit 0 ;;		
++	  coff-i386)
+ 		echo "${UNAME_MACHINE}-pc-linux-gnucoff"
+-		exit 0
+-		;;
+-	  sparclinux)
+-		echo "${UNAME_MACHINE}-unknown-linux-gnuaout"
+-		exit 0
+-		;;
+-	  armlinux)
+-		echo "${UNAME_MACHINE}-unknown-linux-gnuaout"
+-		exit 0
+-		;;
+-	  elf32arm*)
+-		echo "${UNAME_MACHINE}-unknown-linux-gnuoldld"
+-		exit 0
+-		;;
+-	  armelf_linux*)
+-		echo "${UNAME_MACHINE}-unknown-linux-gnu"
+-		exit 0
+-		;;
+-	  m68klinux)
+-		echo "${UNAME_MACHINE}-unknown-linux-gnuaout"
+-		exit 0
+-		;;
+-	  elf32ppc | elf32ppclinux)
+-		# Determine Lib Version
+-		cat >$dummy.c <<EOF
+-#include <features.h>
+-#if defined(__GLIBC__)
+-extern char __libc_version[];
+-extern char __libc_release[];
+-#endif
+-main(argc, argv)
+-     int argc;
+-     char *argv[];
+-{
+-#if defined(__GLIBC__)
+-  printf("%s %s\n", __libc_version, __libc_release);
+-#else
+-  printf("unkown\n");
+-#endif
+-  return 0;
+-}
+-EOF
+-		LIBC=""
+-		$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null
+-		if test "$?" = 0 ; then
+-			./$dummy | grep 1\.99 > /dev/null
+-			if test "$?" = 0 ; then
+-				LIBC="libc1"
+-			fi
+-		fi	
+-		rm -f $dummy.c $dummy
+-		echo powerpc-unknown-linux-gnu${LIBC}
+-		exit 0
+-		;;
+-	  shelf_linux)
+-		echo "${UNAME_MACHINE}-unknown-linux-gnu"
+-		exit 0
+-		;;
++		exit 0 ;;
++	  "")
++		# Either a pre-BFD a.out linker (linux-gnuoldld) or
++		# one that does not give us useful --help.
++		echo "${UNAME_MACHINE}-pc-linux-gnuoldld"
++		exit 0 ;;
+ 	esac
+-
+-	if test "${UNAME_MACHINE}" = "alpha" ; then
+-		cat <<EOF >$dummy.s
+-			.data
+-		\$Lformat:
+-			.byte 37,100,45,37,120,10,0	# "%d-%x\n"
+-
+-			.text
+-			.globl main
+-			.align 4
+-			.ent main
+-		main:
+-			.frame \$30,16,\$26,0
+-			ldgp \$29,0(\$27)
+-			.prologue 1
+-			.long 0x47e03d80 # implver \$0
+-			lda \$2,-1
+-			.long 0x47e20c21 # amask \$2,\$1
+-			lda \$16,\$Lformat
+-			mov \$0,\$17
+-			not \$1,\$18
+-			jsr \$26,printf
+-			ldgp \$29,0(\$26)
+-			mov 0,\$16
+-			jsr \$26,exit
+-			.end main
+-EOF
+-		LIBC=""
+-		$CC_FOR_BUILD $dummy.s -o $dummy 2>/dev/null
+-		if test "$?" = 0 ; then
+-			case `./$dummy` in
+-			0-0)
+-				UNAME_MACHINE="alpha"
+-				;;
+-			1-0)
+-				UNAME_MACHINE="alphaev5"
+-				;;
+-			1-1)
+-				UNAME_MACHINE="alphaev56"
+-				;;
+-			1-101)
+-				UNAME_MACHINE="alphapca56"
+-				;;
+-			2-303)
+-				UNAME_MACHINE="alphaev6"
+-				;;
+-			2-307)
+-				UNAME_MACHINE="alphaev67"
+-				;;
+-			esac
+-
+-			objdump --private-headers $dummy | \
+-			  grep ld.so.1 > /dev/null
+-			if test "$?" = 0 ; then
+-				LIBC="libc1"
+-			fi
+-		fi
+-		rm -f $dummy.s $dummy
+-		echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} ; exit 0
+-	elif test "${UNAME_MACHINE}" = "mips" ; then
+-	  cat >$dummy.c <<EOF
+-#ifdef __cplusplus
+-#include <stdio.h>  /* for printf() prototype */
+-	int main (int argc, char *argv[]) {
+-#else
+-	int main (argc, argv) int argc; char *argv[]; {
+-#endif
+-#ifdef __MIPSEB__
+-  printf ("%s-unknown-linux-gnu\n", argv[1]);
+-#endif
+-#ifdef __MIPSEL__
+-  printf ("%sel-unknown-linux-gnu\n", argv[1]);
+-#endif
+-  return 0;
+-}
+-EOF
+-	  $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy "${UNAME_MACHINE}" && rm $dummy.c $dummy && exit 0
+-	  rm -f $dummy.c $dummy
+-	elif test "${UNAME_MACHINE}" = "s390"; then
+-	  echo s390-ibm-linux && exit 0
+-	elif test "${UNAME_MACHINE}" = "x86_64"; then
+-	  echo x86_64-unknown-linux-gnu && exit 0
+-	else
+-	  # Either a pre-BFD a.out linker (linux-gnuoldld)
+-	  # or one that does not give us useful --help.
+-	  # GCC wants to distinguish between linux-gnuoldld and linux-gnuaout.
+-	  # If ld does not provide *any* "supported emulations:"
+-	  # that means it is gnuoldld.
+-	  echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations:"
+-	  test $? != 0 && echo "${UNAME_MACHINE}-pc-linux-gnuoldld" && exit 0
+-
+-	  case "${UNAME_MACHINE}" in
+-	  i?86)
+-	    VENDOR=pc;
+-	    ;;
+-	  *)
+-	    VENDOR=unknown;
+-	    ;;
+-	  esac
+-	  # Determine whether the default compiler is a.out or elf
+-	  cat >$dummy.c <<EOF
++	# Determine whether the default compiler is a.out or elf
++	cat >$dummy.c <<EOF
+ #include <features.h>
+ #ifdef __cplusplus
+ #include <stdio.h>  /* for printf() prototype */
+@@ -889,29 +852,31 @@
+ #ifdef __ELF__
+ # ifdef __GLIBC__
+ #  if __GLIBC__ >= 2
+-    printf ("%s-${VENDOR}-linux-gnu\n", argv[1]);
++    printf ("%s-pc-linux-gnu\n", argv[1]);
+ #  else
+-    printf ("%s-${VENDOR}-linux-gnulibc1\n", argv[1]);
++    printf ("%s-pc-linux-gnulibc1\n", argv[1]);
+ #  endif
+ # else
+-   printf ("%s-${VENDOR}-linux-gnulibc1\n", argv[1]);
++   printf ("%s-pc-linux-gnulibc1\n", argv[1]);
+ # endif
+ #else
+-  printf ("%s-${VENDOR}-linux-gnuaout\n", argv[1]);
++  printf ("%s-pc-linux-gnuaout\n", argv[1]);
+ #endif
+   return 0;
+ }
+ EOF
+-	  $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy "${UNAME_MACHINE}" && rm $dummy.c $dummy && exit 0
+-	  rm -f $dummy.c $dummy
+-	  test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0
+-	fi ;;
+-# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.  earlier versions
+-# are messed up and put the nodename in both sysname and nodename.
+-    i?86:DYNIX/ptx:4*:*)
++	eval $set_cc_for_build
++	$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy "${UNAME_MACHINE}" && rm -f $dummy.c $dummy && exit 0
++	rm -f $dummy.c $dummy
++	test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0
++	;;
++    i*86:DYNIX/ptx:4*:*)
++	# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
++	# earlier versions are messed up and put the nodename in both
++	# sysname and nodename.
+ 	echo i386-sequent-sysv4
+ 	exit 0 ;;
+-    i?86:UNIX_SV:4.2MP:2.*)
++    i*86:UNIX_SV:4.2MP:2.*)
+         # Unixware is an offshoot of SVR4, but it has its own version
+         # number series starting with 2...
+         # I am not positive that other SVR4 systems won't match this,
+@@ -919,7 +884,7 @@
+         # Use sysv4.2uw... so that sysv4* matches it.
+ 	echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
+ 	exit 0 ;;
+-    i?86:*:4.*:* | i?86:SYSTEM_V:4.*:*)
++    i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
+ 	UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
+ 	if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
+ 		echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL}
+@@ -927,16 +892,15 @@
+ 		echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL}
+ 	fi
+ 	exit 0 ;;
+-    i?86:*:5:7*)
+-        # Fixed at (any) Pentium or better
+-        UNAME_MACHINE=i586
+-        if [ ${UNAME_SYSTEM} = "UnixWare" ] ; then
+-	    echo ${UNAME_MACHINE}-sco-sysv${UNAME_RELEASE}uw${UNAME_VERSION}
+-	else
+-	    echo ${UNAME_MACHINE}-pc-sysv${UNAME_RELEASE}
+-	fi
++    i*86:*:5:[78]*)
++	case `/bin/uname -X | grep "^Machine"` in
++	    *486*)	     UNAME_MACHINE=i486 ;;
++	    *Pentium)	     UNAME_MACHINE=i586 ;;
++	    *Pent*|*Celeron) UNAME_MACHINE=i686 ;;
++	esac
++	echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
+ 	exit 0 ;;
+-    i?86:*:3.2:*)
++    i*86:*:3.2:*)
+ 	if test -f /usr/options/cb.name; then
+ 		UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
+ 		echo ${UNAME_MACHINE}-pc-isc$UNAME_REL
+@@ -954,7 +918,7 @@
+ 		echo ${UNAME_MACHINE}-pc-sysv32
+ 	fi
+ 	exit 0 ;;
+-    i?86:*DOS:*:*)
++    i*86:*DOS:*:*)
+ 	echo ${UNAME_MACHINE}-pc-msdosdjgpp
+ 	exit 0 ;;
+     pc:*:*:*)
+@@ -982,7 +946,7 @@
+ 	exit 0 ;;
+     M68*:*:R3V[567]*:*)
+ 	test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
+-    3[34]??:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 4850:*:4.0:3.0)
++    3[34]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 4850:*:4.0:3.0)
+ 	OS_REL=''
+ 	test -r /etc/.relid \
+ 	&& OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
+@@ -993,21 +957,24 @@
+     3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
+         /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
+           && echo i486-ncr-sysv4 && exit 0 ;;
+-    m68*:LynxOS:2.*:*)
++    m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
+ 	echo m68k-unknown-lynxos${UNAME_RELEASE}
+ 	exit 0 ;;
+     mc68030:UNIX_System_V:4.*:*)
+ 	echo m68k-atari-sysv4
+ 	exit 0 ;;
+-    i?86:LynxOS:2.*:* | i?86:LynxOS:3.[01]*:*)
++    i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
+ 	echo i386-unknown-lynxos${UNAME_RELEASE}
+ 	exit 0 ;;
+     TSUNAMI:LynxOS:2.*:*)
+ 	echo sparc-unknown-lynxos${UNAME_RELEASE}
+ 	exit 0 ;;
+-    rs6000:LynxOS:2.*:* | PowerPC:LynxOS:2.*:*)
++    rs6000:LynxOS:2.*:*)
+ 	echo rs6000-unknown-lynxos${UNAME_RELEASE}
+ 	exit 0 ;;
++    PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
++	echo powerpc-unknown-lynxos${UNAME_RELEASE}
++	exit 0 ;;
+     SM[BE]S:UNIX_SV:*:*)
+ 	echo mips-dde-sysv${UNAME_RELEASE}
+ 	exit 0 ;;
+@@ -1087,6 +1054,9 @@
+     NSR-[KW]:NONSTOP_KERNEL:*:*)
+ 	echo nsr-tandem-nsk${UNAME_RELEASE}
+ 	exit 0 ;;
++    *:NonStop-UX:*:*)
++	echo mips-compaq-nonstopux
++	exit 0 ;;
+     BS2000:POSIX*:*:*)
+ 	echo bs2000-siemens-sysv
+ 	exit 0 ;;
+@@ -1104,8 +1074,29 @@
+ 	fi
+ 	echo ${UNAME_MACHINE}-unknown-plan9
+ 	exit 0 ;;
+-    *:OS/2:*:*)
+-	echo ${UNAME_MACHINE}-pc-os2_emx
++    i*86:OS/2:*:*)
++	# If we were able to find `uname', then EMX Unix compatibility
++	# is probably installed.
++	echo ${UNAME_MACHINE}-pc-os2-emx
++	exit 0 ;;
++    *:TOPS-10:*:*)
++	echo pdp10-unknown-tops10
++	exit 0 ;;
++    *:TENEX:*:*)
++	echo pdp10-unknown-tenex
++	exit 0 ;;
++    KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*)
++	echo pdp10-dec-tops20
++	exit 0 ;;
++    XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*)
++	echo pdp10-xkl-tops20
++	exit 0 ;;
++    *:TOPS-20:*:*)
++	echo pdp10-unknown-tops20
++	exit 0 ;;
++    *:ITS:*:*)
++	echo pdp10-unknown-its
++	exit 0 ;;
+ esac
+ 
+ #echo '(No uname command or uname output not recognized.)' 1>&2
+@@ -1197,11 +1188,24 @@
+ #endif
+ 
+ #if defined (vax)
+-#if !defined (ultrix)
+-  printf ("vax-dec-bsd\n"); exit (0);
+-#else
+-  printf ("vax-dec-ultrix\n"); exit (0);
+-#endif
++# if !defined (ultrix)
++#  include <sys/param.h>
++#  if defined (BSD)
++#   if BSD == 43
++      printf ("vax-dec-bsd4.3\n"); exit (0);
++#   else
++#    if BSD == 199006
++      printf ("vax-dec-bsd4.3reno\n"); exit (0);
++#    else
++      printf ("vax-dec-bsd\n"); exit (0);
++#    endif
++#   endif
++#  else
++    printf ("vax-dec-bsd\n"); exit (0);
++#  endif
++# else
++    printf ("vax-dec-ultrix\n"); exit (0);
++# endif
+ #endif
+ 
+ #if defined (alliant) && defined (i860)
+@@ -1212,7 +1216,8 @@
+ }
+ EOF
+ 
+-$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy && rm $dummy.c $dummy && exit 0
++eval $set_cc_for_build
++$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy && rm -f $dummy.c $dummy && exit 0
+ rm -f $dummy.c $dummy
+ 
+ # Apollos put the system type in the environment.
+@@ -1248,8 +1253,9 @@
+ cat >&2 <<EOF
+ $0: unable to guess system type
+ 
+-The $version version of this script cannot recognize your system type.
+-Please download the most up to date version of the config scripts:
++This script, last modified $timestamp, has failed to recognize
++the operating system you are using. It is advised that you
++download the most up to date version of the config scripts from
+ 
+     ftp://ftp.gnu.org/pub/gnu/config/
+ 
+@@ -1258,7 +1264,7 @@
+ pertinent to <config-patches@gnu.org> in order to provide the needed
+ information to handle your system.
+ 
+-config.guess version = $version
++config.guess timestamp = $timestamp
+ 
+ uname -m = `(uname -m) 2>/dev/null || echo unknown`
+ uname -r = `(uname -r) 2>/dev/null || echo unknown`
+@@ -1285,7 +1291,7 @@
+ 
+ # Local variables:
+ # eval: (add-hook 'write-file-hooks 'time-stamp)
+-# time-stamp-start: "version='"
++# time-stamp-start: "timestamp='"
+ # time-stamp-format: "%:y-%02m-%02d"
+ # time-stamp-end: "'"
+ # End:
+diff -ruN heimdal-0.4c-old/config.sub heimdal-0.4c/config.sub
+--- heimdal-0.4c-old/config.sub	Mon Sep 25 10:16:33 2000
++++ heimdal-0.4c/config.sub	Sun Jul 29 15:41:37 2001
+@@ -1,9 +1,9 @@
+ #! /bin/sh
+-# Configuration validation subroutine script, version 1.1.
+-#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Configuration validation subroutine script.
++#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ #   Free Software Foundation, Inc.
+ 
+-version='2000-09-11'
++timestamp='2001-06-08'
+ 
+ # This file is (in principle) common to ALL GNU software.
+ # The presence of a machine in this file suggests that SOME GNU software
+@@ -60,16 +60,30 @@
+ Canonicalize a configuration name.
+ 
+ Operation modes:
+-  -h, --help               print this help, then exit
+-  -V, --version            print version number, then exit"
++  -h, --help         print this help, then exit
++  -t, --time-stamp   print date of last modification, then exit
++  -v, --version      print version number, then exit
++
++Report bugs and patches to <config-patches@gnu.org>."
++
++version="\
++GNU config.sub ($timestamp)
++
++Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
++Free Software Foundation, Inc.
++
++This is free software; see the source for copying conditions.  There is NO
++warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
+ 
+ help="
+ Try \`$me --help' for more information."
+ 
+ # Parse command line
+ while test $# -gt 0 ; do
+-  case "$1" in
+-    --version | --vers* | -V )
++  case $1 in
++    --time-stamp | --time* | -t )
++       echo "$timestamp" ; exit 0 ;;
++    --version | -v )
+        echo "$version" ; exit 0 ;;
+     --help | --h* | -h )
+        echo "$usage"; exit 0 ;;
+@@ -78,9 +92,7 @@
+     - )	# Use stdin as input.
+        break ;;
+     -* )
+-       exec >&2
+-       echo "$me: invalid option $1"
+-       echo "$help"
++       echo "$me: invalid option $1$help"
+        exit 1 ;;
+ 
+     *local*)
+@@ -105,7 +117,7 @@
+ # Here we must recognize all the valid KERNEL-OS combinations.
+ maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
+ case $maybe_os in
+-  nto-qnx* | linux-gnu*)
++  nto-qnx* | linux-gnu* | storm-chaos* | os2-emx* | windows32-*)
+     os=-$maybe_os
+     basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
+     ;;
+@@ -145,6 +157,14 @@
+ 		os=-vxworks
+ 		basic_machine=$1
+ 		;;
++	-chorusos*)
++		os=-chorusos
++		basic_machine=$1
++		;;
++ 	-chorusrdb)
++ 		os=-chorusrdb
++		basic_machine=$1
++ 		;;
+ 	-hiux*)
+ 		os=-hiuxwe2
+ 		;;
+@@ -203,22 +223,26 @@
+ case $basic_machine in
+ 	# Recognize the basic CPU types without company name.
+ 	# Some are omitted here because they have special meanings below.
+-	tahoe | i860 | ia64 | m32r | m68k | m68000 | m88k | ns32k | arc | arm \
+-		| arme[lb] | armv[2345] | armv[345][lb] | pyramid | mn10200 | mn10300 | tron | a29k \
++	tahoe | i860 | ia64 | m32r | m68k | m68000 | m88k | ns32k | arc \
++	        | arm | arme[lb] | arm[bl]e | armv[2345] | armv[345][lb] | strongarm | xscale \
++		| pyramid | mn10200 | mn10300 | tron | a29k \
+ 		| 580 | i960 | h8300 \
+-		| x86 | ppcbe | mipsbe | mipsle | shbe | shle | armbe | armle \
++		| x86 | ppcbe | mipsbe | mipsle | shbe | shle \
+ 		| hppa | hppa1.0 | hppa1.1 | hppa2.0 | hppa2.0w | hppa2.0n \
+ 		| hppa64 \
+ 		| alpha | alphaev[4-8] | alphaev56 | alphapca5[67] \
+ 		| alphaev6[78] \
+ 		| we32k | ns16k | clipper | i370 | sh | sh[34] \
+ 		| powerpc | powerpcle \
+-		| 1750a | dsp16xx | pdp11 | mips16 | mips64 | mipsel | mips64el \
++		| 1750a | dsp16xx | pdp10 | pdp11 \
++		| mips16 | mips64 | mipsel | mips64el \
+ 		| mips64orion | mips64orionel | mipstx39 | mipstx39el \
+ 		| mips64vr4300 | mips64vr4300el | mips64vr4100 | mips64vr4100el \
+-		| mips64vr5000 | miprs64vr5000el | mcore \
+-		| sparc | sparclet | sparclite | sparc64 | sparcv9 | v850 | c4x \
+-		| thumb | d10v | d30v | fr30 | avr)
++		| mips64vr5000 | mips64vr5000el | mcore | s390 | s390x \
++		| sparc | sparclet | sparclite | sparc64 | sparcv9 | sparcv9b \
++		| v850 | c4x \
++		| thumb | d10v | d30v | fr30 | avr | openrisc | tic80 \
++		| pj | pjl | h8500 | z8k)
+ 		basic_machine=$basic_machine-unknown
+ 		;;
+ 	m6811 | m68hc11 | m6812 | m68hc12)
+@@ -226,13 +250,13 @@
+ 		basic_machine=$basic_machine-unknown
+ 		os=-none
+ 		;;
+-	m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | z8k | v70 | h8500 | w65 | pj | pjl)
++	m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
+ 		;;
+ 
+ 	# We use `pc' rather than `unknown'
+ 	# because (1) that's what they normally are, and
+ 	# (2) the word "unknown" tends to confuse beginning users.
+-	i[234567]86 | x86_64)
++	i*86 | x86_64)
+ 	  basic_machine=$basic_machine-pc
+ 	  ;;
+ 	# Object if more than one company name word.
+@@ -242,27 +266,30 @@
+ 		;;
+ 	# Recognize the basic CPU types with company name.
+ 	# FIXME: clean up the formatting here.
+-	vax-* | tahoe-* | i[234567]86-* | i860-* | ia64-* | m32r-* | m68k-* | m68000-* \
+-	      | m88k-* | sparc-* | ns32k-* | fx80-* | arc-* | arm-* | c[123]* \
++	vax-* | tahoe-* | i*86-* | i860-* | ia64-* | m32r-* | m68k-* | m68000-* \
++	      | m88k-* | sparc-* | ns32k-* | fx80-* | arc-* | c[123]* \
++	      | arm-*  | armbe-* | armle-* | armv*-* | strongarm-* | xscale-* \
+ 	      | mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \
+ 	      | power-* | none-* | 580-* | cray2-* | h8300-* | h8500-* | i960-* \
+ 	      | xmp-* | ymp-* \
+-	      | x86-* | ppcbe-* | mipsbe-* | mipsle-* | shbe-* | shle-* | armbe-* | armle-* \
++	      | x86-* | ppcbe-* | mipsbe-* | mipsle-* | shbe-* | shle-* \
+ 	      | hppa-* | hppa1.0-* | hppa1.1-* | hppa2.0-* | hppa2.0w-* \
+ 	      | hppa2.0n-* | hppa64-* \
+ 	      | alpha-* | alphaev[4-8]-* | alphaev56-* | alphapca5[67]-* \
+ 	      | alphaev6[78]-* \
+ 	      | we32k-* | cydra-* | ns16k-* | pn-* | np1-* | xps100-* \
+ 	      | clipper-* | orion-* \
+-	      | sparclite-* | pdp11-* | sh-* | powerpc-* | powerpcle-* \
+-	      | sparc64-* | sparcv9-* | sparc86x-* | mips16-* | mips64-* | mipsel-* \
++	      | sparclite-* | pdp10-* | pdp11-* | sh-* | sh[34]-* | sh[34]eb-* \
++	      | powerpc-* | powerpcle-* | sparc64-* | sparcv9-* | sparcv9b-* | sparc86x-* \
++	      | mips16-* | mips64-* | mipsel-* \
+ 	      | mips64el-* | mips64orion-* | mips64orionel-* \
+ 	      | mips64vr4100-* | mips64vr4100el-* | mips64vr4300-* | mips64vr4300el-* \
+ 	      | mipstx39-* | mipstx39el-* | mcore-* \
+-	      | f301-* | armv*-* | s390-* | sv1-* | t3e-* \
++	      | f30[01]-* | f700-* | s390-* | s390x-* | sv1-* | t3e-* \
++	      | [cjt]90-* \
+ 	      | m88110-* | m680[01234]0-* | m683?2-* | m68360-* | z8k-* | d10v-* \
+-	      | thumb-* | v850-* | d30v-* | tic30-* | c30-* | fr30-* \
+-	      | bs2000-* | tic54x-* | c54x-* | x86_64-*)
++	      | thumb-* | v850-* | d30v-* | tic30-* | tic80-* | c30-* | fr30-* \
++	      | bs2000-* | tic54x-* | c54x-* | x86_64-* | pj-* | pjl-*)
+ 		;;
+ 	# Recognize the various machine names and aliases which stand
+ 	# for a CPU type and a company and sometimes even an OS.
+@@ -353,8 +380,8 @@
+ 		basic_machine=cray2-cray
+ 		os=-unicos
+ 		;;
+-	[ctj]90-cray)
+-		basic_machine=c90-cray
++	[cjt]90)
++		basic_machine=${basic_machine}-cray
+ 		os=-unicos
+ 		;;
+ 	crds | unos)
+@@ -410,6 +437,10 @@
+ 		basic_machine=tron-gmicro
+ 		os=-sysv
+ 		;;
++	go32)
++		basic_machine=i386-pc
++		os=-go32
++		;;
+ 	h3050r* | hiux*)
+ 		basic_machine=hppa1.1-hitachi
+ 		os=-hiuxwe2
+@@ -485,19 +516,19 @@
+ 		basic_machine=i370-ibm
+ 		;;
+ # I'm not sure what "Sysv32" means.  Should this be sysv3.2?
+-	i[34567]86v32)
++	i*86v32)
+ 		basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
+ 		os=-sysv32
+ 		;;
+-	i[34567]86v4*)
++	i*86v4*)
+ 		basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
+ 		os=-sysv4
+ 		;;
+-	i[34567]86v)
++	i*86v)
+ 		basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
+ 		os=-sysv
+ 		;;
+-	i[34567]86sol2)
++	i*86sol2)
+ 		basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
+ 		os=-solaris2
+ 		;;
+@@ -509,18 +540,6 @@
+ 		basic_machine=i386-unknown
+ 		os=-vsta
+ 		;;
+-	i386-go32 | go32)
+-		basic_machine=i386-unknown
+-		os=-go32
+-		;;
+-	i386-mingw32 | mingw32)
+-		basic_machine=i386-unknown
+-		os=-mingw32
+-		;;
+-	i[34567]86-pw32 | pw32)
+-		basic_machine=i586-unknown
+-		os=-pw32
+-		;;
+ 	iris | iris4d)
+ 		basic_machine=mips-sgi
+ 		case $os in
+@@ -546,6 +565,10 @@
+ 		basic_machine=ns32k-utek
+ 		os=-sysv
+ 		;;
++	mingw32)
++		basic_machine=i386-pc
++		os=-mingw32
++		;;
+ 	miniframe)
+ 		basic_machine=m68000-convergent
+ 		;;
+@@ -576,7 +599,7 @@
+ 		os=-coff
+ 		;;
+ 	msdos)
+-		basic_machine=i386-unknown
++		basic_machine=i386-pc
+ 		os=-msdos
+ 		;;
+ 	mvs)
+@@ -640,6 +663,10 @@
+ 		basic_machine=i960-intel
+ 		os=-mon960
+ 		;;
++	nonstopux)
++		basic_machine=mips-compaq
++		os=-nonstopux
++		;;
+ 	np1)
+ 		basic_machine=np1-gould
+ 		;;
+@@ -675,28 +702,28 @@
+         pc532 | pc532-*)
+ 		basic_machine=ns32k-pc532
+ 		;;
+-	pentium | p5 | k5 | k6 | nexen)
++	pentium | p5 | k5 | k6 | nexgen)
+ 		basic_machine=i586-pc
+ 		;;
+ 	pentiumpro | p6 | 6x86 | athlon)
+ 		basic_machine=i686-pc
+ 		;;
+ 	pentiumii | pentium2)
+-		basic_machine=i786-pc
++		basic_machine=i686-pc
+ 		;;
+-	pentium-* | p5-* | k5-* | k6-* | nexen-*)
++	pentium-* | p5-* | k5-* | k6-* | nexgen-*)
+ 		basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
+ 		;;
+ 	pentiumpro-* | p6-* | 6x86-* | athlon-*)
+ 		basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
+ 		;;
+ 	pentiumii-* | pentium2-*)
+-		basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
++		basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
+ 		;;
+ 	pn)
+ 		basic_machine=pn-gould
+ 		;;
+-	power)	basic_machine=rs6000-ibm
++	power)	basic_machine=power-ibm
+ 		;;
+ 	ppc)	basic_machine=powerpc-unknown
+ 	        ;;
+@@ -711,6 +738,10 @@
+ 	ps2)
+ 		basic_machine=i386-ibm
+ 		;;
++	pw32)
++		basic_machine=i586-unknown
++		os=-pw32
++		;;
+ 	rom68k)
+ 		basic_machine=m68k-rom68k
+ 		os=-coff
+@@ -858,6 +889,10 @@
+ 		basic_machine=hppa1.1-winbond
+ 		os=-proelf
+ 		;;
++	windows32)
++		basic_machine=i386-pc
++		os=-windows32-msvcrt
++		;;
+ 	xmp)
+ 		basic_machine=xmp-cray
+ 		os=-unicos
+@@ -901,6 +936,10 @@
+ 	vax)
+ 		basic_machine=vax-dec
+ 		;;
++	pdp10)
++		# there are many clones, so DEC is not a safe bet
++		basic_machine=pdp10-unknown
++		;;
+ 	pdp11)
+ 		basic_machine=pdp11-dec
+ 		;;
+@@ -908,9 +947,9 @@
+ 		basic_machine=we32k-att
+ 		;;
+ 	sh3 | sh4)
+-		base_machine=sh-unknown
++		basic_machine=sh-unknown
+ 		;;
+-	sparc | sparcv9)
++	sparc | sparcv9 | sparcv9b)
+ 		basic_machine=sparc-sun
+ 		;;
+         cydra)
+@@ -932,6 +971,9 @@
+ 		basic_machine=c4x-none
+ 		os=-coff
+ 		;;
++	*-unknown)
++		# Make sure to match an already-canonicalized machine name.
++		;;
+ 	*)
+ 		echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
+ 		exit 1
+@@ -988,15 +1030,17 @@
+ 	      | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
+ 	      | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
+ 	      | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
++	      | -chorusos* | -chorusrdb* \
+ 	      | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
+ 	      | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
+ 	      | -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \
+-	      | -openstep* | -oskit* | -conix* | -pw32*)
++	      | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
++	      | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* | -os2*)
+ 	# Remember, each alternative MUST END IN *, to match a version number.
+ 		;;
+ 	-qnx*)
+ 		case $basic_machine in
+-		    x86-* | i[34567]86-*)
++		    x86-* | i*86-*)
+ 			;;
+ 		    *)
+ 			os=-nto$os
+@@ -1089,7 +1133,7 @@
+ 	-xenix)
+ 		os=-xenix
+ 		;;
+-        -*mint | -*MiNT)
++        -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
+ 	        os=-mint
+ 		;;
+ 	-none)
+@@ -1123,6 +1167,9 @@
+ 	arm*-semi)
+ 		os=-aout
+ 		;;
++	pdp10-*)
++		os=-tops20
++		;;
+         pdp11-*)
+ 		os=-none
+ 		;;
+@@ -1231,7 +1278,7 @@
+ 	*-masscomp)
+ 		os=-rtu
+ 		;;
+-	f301-fujitsu)
++	f30[01]-fujitsu | f700-fujitsu)
+ 		os=-uxpv
+ 		;;
+ 	*-rom68k)
+@@ -1309,7 +1356,7 @@
+ 			-mpw* | -macos*)
+ 				vendor=apple
+ 				;;
+-			-*mint | -*MiNT)
++			-*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
+ 				vendor=atari
+ 				;;
+ 		esac
+@@ -1322,7 +1369,7 @@
+ 
+ # Local variables:
+ # eval: (add-hook 'write-file-hooks 'time-stamp)
+-# time-stamp-start: "version='"
++# time-stamp-start: "timestamp='"
+ # time-stamp-format: "%:y-%02m-%02d"
+ # time-stamp-end: "'"
+ # End:
+diff -ruN heimdal-0.4c-old/configure heimdal-0.4c/configure
+--- heimdal-0.4c-old/configure	Fri Jul 20 05:44:10 2001
++++ heimdal-0.4c/configure	Sun Jul 29 15:42:07 2001
+@@ -1,11 +1,11 @@
+ #! /bin/sh
+ # From configure.in Revision: 1.288 .
+ # Guess values for system-dependent variables and create Makefiles.
+-# Generated by Autoconf 2.50 for heimdal 0.4c.
++# Generated by Autoconf 2.49b for heimdal 0.4c.
+ #
+ # Report bugs to <heimdal-bugs@pdc.kth.se>.
+ #
+-# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
++# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+ # This configure script is free software; the Free Software Foundation
+ # gives unlimited permission to copy, distribute and modify it.
+@@ -15,8 +15,8 @@
+ if test "X${PATH_SEPARATOR+set}" != Xset; then
+   UNAME=${UNAME-`uname 2>/dev/null`}
+   case X$UNAME in
+-    *-DOS) lt_cv_sys_path_separator=';' ;;
+-    *)     lt_cv_sys_path_separator=':' ;;
++    *-DOS) PATH_SEPARATOR=';' ;;
++    *)     PATH_SEPARATOR=':' ;;
+   esac
+ fi
+ 
+@@ -49,7 +49,7 @@
+   # used as fallback echo
+   shift
+   cat <<EOF
+-
++$*
+ EOF
+   exit 0
+ fi
+@@ -83,8 +83,9 @@
+   #
+   # So, first we look for a working echo in the user's PATH.
+ 
+-  IFS="${IFS= 	}"; save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR}"
++  IFS="${IFS= 	}"; lt_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR}"
+   for dir in $PATH /usr/ucb; do
++    IFS="$lt_save_ifs"
+     if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
+        test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
+        echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
+@@ -93,7 +94,7 @@
+       break
+     fi
+   done
+-  IFS="$save_ifs"
++  IFS="$lt_save_ifs"
+ 
+   if test "X$echo" = Xecho; then
+     # We didn't find a better echo, so look for alternatives.
+@@ -173,67 +174,31 @@
+   set -o posix
+ fi
+ 
+-# Name of the executable.
+-as_me=`echo "$0" |sed 's,.*[\\/],,'`
+-
+-if expr a : '\(a\)' >/dev/null 2>&1; then
+-  as_expr=expr
+-else
+-  as_expr=false
+-fi
+-
+-rm -f conf$$ conf$$.exe conf$$.file
+-echo >conf$$.file
+-if ln -s conf$$.file conf$$ 2>/dev/null; then
+-  # We could just check for DJGPP; but this test a) works b) is more generic
+-  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
+-  if test -f conf$$.exe; then
+-    # Don't use ln at all; we don't have any links
+-    as_ln_s='cp -p'
+-  else
+-    as_ln_s='ln -s'
+-  fi
+-elif ln conf$$.file conf$$ 2>/dev/null; then
+-  as_ln_s=ln
+-else
+-  as_ln_s='cp -p'
+-fi
+-rm -f conf$$ conf$$.exe conf$$.file
+-
+-as_executable_p="test -f"
+-
+ # Support unset when possible.
+-if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
+-  as_unset=unset
++if (unset FOO) >/dev/null 2>&1; then
++  ac_unset=unset
+ else
+-  as_unset=false
++  ac_unset=false
+ fi
+ 
+ # NLS nuisances.
+-$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
+-$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
+-$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
+-$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
+-$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
+-$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
+-$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
+-$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
++$ac_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
++$ac_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
++$ac_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
++$ac_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
++$ac_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
++$ac_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
++$ac_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
++$ac_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
+ 
+ # IFS
+ # We need space, tab and new line, in precisely that order.
+-as_nl='
++ac_nl='
+ '
+-IFS=" 	$as_nl"
++IFS=" 	$ac_nl"
+ 
+ # CDPATH.
+-$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
+-
+-# Name of the host.
+-# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
+-# so uname gets run too.
+-ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
+-
+-exec 6>&1
++$ac_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
+ 
+ #
+ # Initializations.
+@@ -243,28 +208,24 @@
+ subdirs=
+ MFLAGS= MAKEFLAGS=
+ SHELL=${CONFIG_SHELL-/bin/sh}
+-
+ # Maximum number of lines to put in a shell here document.
+ # This variable seems obsolete.  It should probably be removed, and
+ # only ac_max_sed_lines should be used.
+ : ${ac_max_here_lines=38}
+-
+-# Avoid depending upon Character Ranges.
+-ac_cr_az='abcdefghijklmnopqrstuvwxyz'
+-ac_cr_AZ='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
+-ac_cr_09='0123456789'
+-ac_cr_alnum=$ac_cr_az$ac_cr_AZ$ac_cr_09
+-
+ # Sed expression to map a string onto a valid sh and CPP variable names.
+-ac_tr_sh="sed y%*+%pp%;s%[^_$ac_cr_alnum]%_%g"
+-ac_tr_cpp="sed y%*$ac_cr_az%P$ac_cr_AZ%;s%[^_$ac_cr_alnum]%_%g"
++ac_tr_sh='sed y%*+%pp%;s%[^a-zA-Z0-9_]%_%g'
++ac_tr_cpp='sed y%*abcdefghijklmnopqrstuvwxyz%PABCDEFGHIJKLMNOPQRSTUVWXYZ%;s%[^A-Z0-9_]%_%g'
+ 
+-ac_default_prefix=/usr/heimdal
++# By default always use an empty string as the executable extension.
++# Only change it if the script calls AC_EXEEXT.
++ac_exeext=
++# By default assume that objects files use an extension of .o.  Only
++# change it if the script calls AC_OBJEXT.
++ac_objext=o
+ # Factoring default headers for most tests.
+ ac_includes_default="\
+ #include <stdio.h>
+ #include <sys/types.h>
+-#include <sys/stat.h>
+ #if STDC_HEADERS
+ # include <stdlib.h>
+ # include <stddef.h>
+@@ -289,6 +250,7 @@
+ #if HAVE_UNISTD_H
+ # include <unistd.h>
+ #endif"
++ac_default_prefix=/usr/heimdal
+ 
+ # Initialize some variables set by options.
+ ac_init_help=
+@@ -309,12 +271,6 @@
+ verbose=
+ x_includes=NONE
+ x_libraries=NONE
+-
+-# Installation directory options.
+-# These are left unexpanded so users can "make install exec_prefix=/foo"
+-# and all the variables that are supposed to be based on exec_prefix
+-# by default will actually change.
+-# Use braces instead of parens because sh, perl, etc. also accept them.
+ bindir='${exec_prefix}/bin'
+ sbindir='${exec_prefix}/sbin'
+ libexecdir='${exec_prefix}/libexec'
+@@ -328,13 +284,6 @@
+ infodir='${prefix}/info'
+ mandir='${prefix}/man'
+ 
+-# Identity of this package.
+-PACKAGE_NAME='heimdal'
+-PACKAGE_TARNAME='heimdal'
+-PACKAGE_VERSION='0.4c'
+-PACKAGE_STRING='heimdal 0.4c'
+-PACKAGE_BUGREPORT='heimdal-bugs@pdc.kth.se'
+-
+ ac_prev=
+ for ac_option
+ do
+@@ -380,18 +329,16 @@
+   -disable-* | --disable-*)
+     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
+     # Reject names that are not valid shell variable names.
+-    expr "x$ac_feature" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
+-      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
+-   { (exit 1); exit 1; }; }
++    expr "x$ac_feature" : ".*[^-a-zA-Z0-9_]" >/dev/null &&
++      { echo "configure: error: invalid feature name: $ac_feature" >&2; exit 1; }
+     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
+     eval "enable_$ac_feature=no" ;;
+ 
+   -enable-* | --enable-*)
+     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
+     # Reject names that are not valid shell variable names.
+-    expr "x$ac_feature" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
+-      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
+-   { (exit 1); exit 1; }; }
++    expr "x$ac_feature" : ".*[^-a-zA-Z0-9_]" >/dev/null &&
++      { echo "configure: error: invalid feature name: $ac_feature" >&2; exit 1; }
+     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
+     case $ac_option in
+       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
+@@ -571,9 +518,8 @@
+   -with-* | --with-*)
+     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
+     # Reject names that are not valid shell variable names.
+-    expr "x$ac_package" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
+-      { echo "$as_me: error: invalid package name: $ac_package" >&2
+-   { (exit 1); exit 1; }; }
++    expr "x$ac_package" : ".*[^-a-zA-Z0-9_]" >/dev/null &&
++      { echo "configure: error: invalid package name: $ac_package" >&2; exit 1; }
+     ac_package=`echo $ac_package| sed 's/-/_/g'`
+     case $ac_option in
+       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
+@@ -584,9 +530,8 @@
+   -without-* | --without-*)
+     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
+     # Reject names that are not valid shell variable names.
+-    expr "x$ac_package" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
+-      { echo "$as_me: error: invalid package name: $ac_package" >&2
+-   { (exit 1); exit 1; }; }
++    expr "x$ac_package" : ".*[^-a-zA-Z0-9_]" >/dev/null &&
++      { echo "configure: error: invalid package name: $ac_package" >&2; exit 1; }
+     ac_package=`echo $ac_package | sed 's/-/_/g'`
+     eval "with_$ac_package=no" ;;
+ 
+@@ -608,26 +553,24 @@
+   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
+     x_libraries=$ac_optarg ;;
+ 
+-  -*) { echo "$as_me: error: unrecognized option: $ac_option
+-Try \`$0 --help' for more information." >&2
+-   { (exit 1); exit 1; }; }
++  -*) { echo "configure: error: unrecognized option: $ac_option
++Try \`configure --help' for more information." >&2; exit 1; }
+     ;;
+ 
+   *=*)
+     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
+     # Reject names that are not valid shell variable names.
+-    expr "x$ac_envvar" : ".*[^_$ac_cr_alnum]" >/dev/null &&
+-      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
+-   { (exit 1); exit 1; }; }
++    expr "x$ac_envvar" : ".*[^a-zA-Z0-9_]" >/dev/null &&
++      { echo "configure: error: invalid variable name: $ac_envvar" >&2; exit 1; }
+     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
+     eval "$ac_envvar='$ac_optarg'"
+     export $ac_envvar ;;
+ 
+   *)
+     # FIXME: should be removed in autoconf 3.0.
+-    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
+-    expr "x$ac_option" : ".*[^-._$ac_cr_alnum]" >/dev/null &&
+-      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
++    echo "configure: WARNING: you should use --build, --host, --target" >&2
++    expr "x$ac_option" : ".*[^a-zA-Z0-9.]" >/dev/null &&
++      echo "configure: WARNING: invalid host type: $ac_option" >&2
+     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
+     ;;
+ 
+@@ -636,8 +579,7 @@
+ 
+ if test -n "$ac_prev"; then
+   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
+-  { echo "$as_me: error: missing argument to $ac_option" >&2
+-   { (exit 1); exit 1; }; }
++  { echo "configure: error: missing argument to $ac_option" >&2; exit 1; }
+ fi
+ 
+ # Be sure to have absolute paths.
+@@ -649,8 +591,7 @@
+   case $ac_val in
+     [\\/$]* | ?:[\\/]* ) ;;
+     NONE ) ;;
+-    *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
+-   { (exit 1); exit 1; }; };;
++    *)  { echo "configure: error: expected an absolute path for --$ac_var: $ac_val" >&2; exit 1; };;
+   esac
+ done
+ 
+@@ -664,7 +605,7 @@
+ if test "x$host_alias" != x; then
+   if test "x$build_alias" = x; then
+     cross_compiling=maybe
+-    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
++    echo "configure: WARNING: If you wanted to set the --build type, don't use --host.
+     If a cross compiler is detected then cross compile mode will be used." >&2
+   elif test "x$build_alias" != "x$host_alias"; then
+     cross_compiling=yes
+@@ -674,14 +615,12 @@
+ ac_tool_prefix=
+ test -n "$host_alias" && ac_tool_prefix=$host_alias-
+ 
+-test "$silent" = yes && exec 6>/dev/null
+-
+ # 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%[\\/][^\\/][^\\/]*$%%'`
++  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
+@@ -692,14 +631,12 @@
+ fi
+ if test ! -r $srcdir/$ac_unique_file; then
+   if test "$ac_srcdir_defaulted" = yes; then
+-    { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
+-   { (exit 1); exit 1; }; }
++    { echo "configure: error: cannot find sources in $ac_confdir or .." >&2; exit 1; }
+   else
+-    { echo "$as_me: error: cannot find sources in $srcdir" >&2
+-   { (exit 1); exit 1; }; }
++    { echo "configure: error: cannot find sources in $srcdir" >&2; exit 1; }
+   fi
+ fi
+-srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
++srcdir=`echo "$srcdir" | sed 's%\([^/]\)/*$%\1%'`
+ ac_env_build_alias_set=${build_alias+set}
+ ac_env_build_alias_value=$build_alias
+ ac_cv_env_build_alias_set=${build_alias+set}
+@@ -728,10 +665,14 @@
+ ac_env_CPPFLAGS_value=$CPPFLAGS
+ ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
+ ac_cv_env_CPPFLAGS_value=$CPPFLAGS
+-ac_env_CPP_set=${CPP+set}
+-ac_env_CPP_value=$CPP
+-ac_cv_env_CPP_set=${CPP+set}
+-ac_cv_env_CPP_value=$CPP
++ac_env_CXX_set=${CXX+set}
++ac_env_CXX_value=$CXX
++ac_cv_env_CXX_set=${CXX+set}
++ac_cv_env_CXX_value=$CXX
++ac_env_CXXFLAGS_set=${CXXFLAGS+set}
++ac_env_CXXFLAGS_value=$CXXFLAGS
++ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
++ac_cv_env_CXXFLAGS_value=$CXXFLAGS
+ 
+ #
+ # Report the --help message.
+@@ -836,6 +777,7 @@
+   --with-mips-abi=abi     ABI to use for IRIX (32, n32, or 64)
+   --with-gnu-ld           assume the C compiler uses GNU ld default=no
+   --with-pic              try to use only PIC/non-PIC objects default=use both
++  --with-tags=TAGS        include additional configurations CXX,GCJ
+   --without-berkeley-db   if you don't want berkeley db
+   --without-ipv6	do not enable IPv6 support
+   --with-openldap=dir                use openldap in dir
+@@ -847,6 +789,12 @@
+   --with-readline=dir                use readline in dir
+   --with-readline-lib=dir            use readline libraries in dir
+   --with-readline-include=dir        use readline headers in dir
++  --with-com_err=dir                use com_err in dir
++  --with-com_err-lib=dir            use com_err libraries in dir
++  --with-com_err-include=dir        use com_err headers in dir
++  --with-ss=dir                use ss in dir
++  --with-ss-lib=dir            use ss libraries in dir
++  --with-ss-include=dir        use ss headers in dir
+   --with-hesiod=dir                use hesiod in dir
+   --with-hesiod-lib=dir            use hesiod libraries in dir
+   --with-hesiod-include=dir        use hesiod headers in dir
+@@ -859,7 +807,8 @@
+               nonstandard directory <lib dir>
+   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
+               headers in a nonstandard directory <include dir>
+-  CPP         C preprocessor
++  CXX         C++ compiler command
++  CXXFLAGS    C++ compiler flags
+ 
+ Use these variables to override the choices made by `configure' or to help
+ it to find libraries and programs with nonstandard names/locations.
+@@ -893,12 +842,11 @@
+     elif test -f $ac_sub_srcdir/configure; then
+       echo
+       $SHELL $ac_sub_srcdir/configure  --help=recursive
+-    elif test -f $ac_sub_srcdir/configure.ac ||
+-           test -f $ac_sub_srcdir/configure.in; then
++    elif test -f $ac_sub_srcdir/configure.in; then
+       echo
+       $ac_configure --help
+     else
+-      echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
++      echo "configure: WARNING: no configuration information is in $ac_subdir" >&2
+     fi
+     cd $ac_popdir
+   done
+@@ -907,61 +855,17 @@
+ test -n "$ac_init_help" && exit 0
+ if $ac_init_version; then
+   cat <<\EOF
+-heimdal configure 0.4c
+-generated by GNU Autoconf 2.50
++configure (heimdal 0.4c) 2.49b
+ 
+-Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
++Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000
+ Free Software Foundation, Inc.
+ This configure script is free software; the Free Software Foundation
+ gives unlimited permission to copy, distribute and modify it.
+ EOF
+   exit 0
+ fi
+-exec 5>config.log
+-cat >&5 <<EOF
+-This file contains any messages produced by compilers while
+-running configure, to aid debugging if configure makes a mistake.
+-
+-It was created by heimdal $as_me 0.4c, which was
+-generated by GNU Autoconf 2.50.  Invocation command line was
+-
+-  $ $0 $@
+-
+-EOF
+-{
+-cat <<_ASUNAME
+-## ---------- ##
+-## Platform.  ##
+-## ---------- ##
+-
+-hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
+-uname -m = `(uname -m) 2>/dev/null || echo unknown`
+-uname -r = `(uname -r) 2>/dev/null || echo unknown`
+-uname -s = `(uname -s) 2>/dev/null || echo unknown`
+-uname -v = `(uname -v) 2>/dev/null || echo unknown`
+-
+-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
+-/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
+-
+-/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
+-/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
+-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
+-hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
+-/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
+-/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
+-/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
+ 
+-PATH = $PATH
+-
+-_ASUNAME
+-} >&5
+-
+-cat >&5 <<EOF
+-## ------------ ##
+-## Core tests.  ##
+-## ------------ ##
+-
+-EOF
++trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
+ 
+ # Keep a trace of the command line.
+ # Strip out --no-create and --no-recursion so they do not pile up.
+@@ -985,51 +889,28 @@
+   # Get rid of the leading space.
+ done
+ 
+-# When interrupted or exit'd, cleanup temporary files, and complete
+-# config.log.  We remove comments because anyway the quotes in there
+-# would cause problems or look ugly.
+-trap 'exit_status=$?
+-  # Save into config.log some information that might help in debugging.
+-  echo >&5
+-  echo "## ----------------- ##" >&5
+-  echo "## Cache variables.  ##" >&5
+-  echo "## ----------------- ##" >&5
+-  echo >&5
+-  # The following way of writing the cache mishandles newlines in values,
+-{
+-  (set) 2>&1 |
+-    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
+-    *ac_space=\ *)
+-      sed -n \
+-        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
+-    	  s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
+-      ;;
+-    *)
+-      sed -n \
+-        "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
+-      ;;
+-    esac;
+-} >&5
+-  sed "/^$/d" confdefs.h >conftest.log
+-  if test -s conftest.log; then
+-    echo >&5
+-    echo "## ------------ ##" >&5
+-    echo "## confdefs.h.  ##" >&5
+-    echo "## ------------ ##" >&5
+-    echo >&5
+-    cat conftest.log >&5
+-  fi
+-  (echo; echo) >&5
+-  test "$ac_signal" != 0 &&
+-    echo "$as_me: caught signal $ac_signal" >&5
+-  echo "$as_me: exit $exit_status" >&5
+-  rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
+-    exit $exit_status
+-     ' 0
+-for ac_signal in 1 2 13 15; do
+-  trap 'ac_status=$?; ac_signal='$ac_signal'; { (exit $ac_status); exit $ac_status; }' $ac_signal
+-done
+-ac_signal=0
++# 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.
++
++It was created by configure (heimdal 0.4c) 2.49b, executed with
++ > $0 $ac_configure_args
++" >&5
+ 
+ # confdefs.h avoids OS command line length limits that DEFS can exceed.
+ rm -rf conftest* confdefs.h
+@@ -1047,9 +928,7 @@
+ fi
+ for ac_site_file in $CONFIG_SITE; do
+   if test -r "$ac_site_file"; then
+-    { echo "$as_me:1050: loading site script $ac_site_file" >&5
+-echo "$as_me: loading site script $ac_site_file" >&6;}
+-    cat "$ac_site_file" >&5
++    echo "loading site script $ac_site_file"
+     . "$ac_site_file"
+   fi
+ done
+@@ -1058,16 +937,14 @@
+   # Some versions of bash will fail to source /dev/null (special
+   # files actually), so we avoid doing that.
+   if test -f "$cache_file"; then
+-    { echo "$as_me:1061: loading cache $cache_file" >&5
+-echo "$as_me: loading cache $cache_file" >&6;}
++    echo "loading cache $cache_file"
+     case $cache_file in
+       [\\/]* | ?:[\\/]* ) . $cache_file;;
+       *)                      . ./$cache_file;;
+     esac
+   fi
+ else
+-  { echo "$as_me:1069: creating cache $cache_file" >&5
+-echo "$as_me: creating cache $cache_file" >&6;}
++  echo "creating cache $cache_file"
+   >$cache_file
+ fi
+ 
+@@ -1082,37 +959,30 @@
+   eval ac_new_val="\$ac_env_${ac_var}_value"
+   case $ac_old_set,$ac_new_set in
+     set,)
+-      { echo "$as_me:1085: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
+-echo "$as_me: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
++      echo "configure: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2
+       ac_suggest_removing_cache=: ;;
+     ,set)
+-      { echo "$as_me:1089: WARNING: \`$ac_var' was not set in the previous run" >&5
+-echo "$as_me: WARNING: \`$ac_var' was not set in the previous run" >&2;}
++      echo "configure: WARNING: \`$ac_var' was not set in the previous run" >&2
+       ac_suggest_removing_cache=: ;;
+     ,);;
+     *)
+       if test "x$ac_old_val" != "x$ac_new_val"; then
+-        { echo "$as_me:1095: WARNING: \`$ac_var' has changed since the previous run:" >&5
+-echo "$as_me: WARNING: \`$ac_var' has changed since the previous run:" >&2;}
+-        { echo "$as_me:1097: WARNING:   former value:  $ac_old_val" >&5
+-echo "$as_me: WARNING:   former value:  $ac_old_val" >&2;}
+-        { echo "$as_me:1099: WARNING:   current value: $ac_new_val" >&5
+-echo "$as_me: WARNING:   current value: $ac_new_val" >&2;}
++        echo "configure: WARNING: \`$ac_var' has changed since the previous run:" >&2
++        echo "configure: WARNING:   former value:  $ac_old_val" >&2
++        echo "configure: WARNING:   current value: $ac_new_val" >&2
+         ac_suggest_removing_cache=:
+       fi;;
+   esac
+ done
+ if $ac_suggest_removing_cache; then
+-  { echo "$as_me:1106: WARNING: changes in the environment can compromise the build" >&5
+-echo "$as_me: WARNING: changes in the environment can compromise the build" >&2;}
+-  { echo "$as_me:1108: WARNING: consider removing $cache_file and starting over" >&5
+-echo "$as_me: WARNING: consider removing $cache_file and starting over" >&2;}
++  echo "configure: WARNING: changes in the environment can compromise the build" >&2
++  echo "configure: WARNING: consider removing $cache_file and starting over" >&2
+ fi
+ 
+ ac_ext=c
+ ac_cpp='$CPP $CPPFLAGS'
+-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='${CC-cc} -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ ac_compiler_gnu=$ac_cv_c_compiler_gnu
+ 
+ case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
+@@ -1121,20 +991,6 @@
+   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
+   *)      ECHO_N= ECHO_C='\c' ECHO_T= ;;
+ esac
+-echo "#! $SHELL" >conftest.sh
+-echo  "exit 0"   >>conftest.sh
+-chmod +x conftest.sh
+-if { (echo "$as_me:1127: PATH=\".;.\"; conftest.sh") >&5
+-  (PATH=".;."; conftest.sh) 2>&5
+-  ac_status=$?
+-  echo "$as_me:1130: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  ac_path_separator=';'
+-else
+-  ac_path_separator=:
+-fi
+-PATH_SEPARATOR="$ac_path_separator"
+-rm -f conftest.sh
+ 
+ ac_config_headers="$ac_config_headers include/config.h"
+ 
+@@ -1142,13 +998,14 @@
+ 
+ ac_ext=c
+ ac_cpp='$CPP $CPPFLAGS'
+-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='${CC-cc} -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
+ if test -n "$ac_tool_prefix"; then
+   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
+ set dummy ${ac_tool_prefix}gcc; ac_word=$2
+-echo "$as_me:1151: checking for $ac_word" >&5
++echo "configure:1008: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_CC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -1156,14 +1013,13 @@
+   if test -n "$CC"; then
+   ac_cv_prog_CC="$CC" # Let the user override the test.
+ else
+-  ac_save_IFS=$IFS; IFS=$ac_path_separator
++  ac_save_IFS=$IFS; IFS=':'
+ ac_dummy="$PATH"
+ for ac_dir in $ac_dummy; do
+   IFS=$ac_save_IFS
+   test -z "$ac_dir" && ac_dir=.
+-  $as_executable_p "$ac_dir/$ac_word" || continue
++  test -f "$ac_dir/$ac_word" || continue
+ ac_cv_prog_CC="${ac_tool_prefix}gcc"
+-echo "$as_me:1166: found $ac_dir/$ac_word" >&5
+ break
+ done
+ 
+@@ -1171,10 +1027,10 @@
+ fi
+ CC=$ac_cv_prog_CC
+ if test -n "$CC"; then
+-  echo "$as_me:1174: result: $CC" >&5
++  echo "configure:1030: result: $CC" >&5
+ echo "${ECHO_T}$CC" >&6
+ else
+-  echo "$as_me:1177: result: no" >&5
++  echo "configure:1033: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+@@ -1183,7 +1039,7 @@
+   ac_ct_CC=$CC
+   # Extract the first word of "gcc", so it can be a program name with args.
+ set dummy gcc; ac_word=$2
+-echo "$as_me:1186: checking for $ac_word" >&5
++echo "configure:1042: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -1191,14 +1047,13 @@
+   if test -n "$ac_ct_CC"; then
+   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
+ else
+-  ac_save_IFS=$IFS; IFS=$ac_path_separator
++  ac_save_IFS=$IFS; IFS=':'
+ ac_dummy="$PATH"
+ for ac_dir in $ac_dummy; do
+   IFS=$ac_save_IFS
+   test -z "$ac_dir" && ac_dir=.
+-  $as_executable_p "$ac_dir/$ac_word" || continue
++  test -f "$ac_dir/$ac_word" || continue
+ ac_cv_prog_ac_ct_CC="gcc"
+-echo "$as_me:1201: found $ac_dir/$ac_word" >&5
+ break
+ done
+ 
+@@ -1206,23 +1061,21 @@
+ fi
+ ac_ct_CC=$ac_cv_prog_ac_ct_CC
+ if test -n "$ac_ct_CC"; then
+-  echo "$as_me:1209: result: $ac_ct_CC" >&5
++  echo "configure:1064: result: $ac_ct_CC" >&5
+ echo "${ECHO_T}$ac_ct_CC" >&6
+ else
+-  echo "$as_me:1212: result: no" >&5
++  echo "configure:1067: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+   CC=$ac_ct_CC
+-else
+-  CC="$ac_cv_prog_CC"
+ fi
+ 
+ if test -z "$CC"; then
+   if test -n "$ac_tool_prefix"; then
+   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
+ set dummy ${ac_tool_prefix}cc; ac_word=$2
+-echo "$as_me:1225: checking for $ac_word" >&5
++echo "configure:1078: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_CC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -1230,14 +1083,13 @@
+   if test -n "$CC"; then
+   ac_cv_prog_CC="$CC" # Let the user override the test.
+ else
+-  ac_save_IFS=$IFS; IFS=$ac_path_separator
++  ac_save_IFS=$IFS; IFS=':'
+ ac_dummy="$PATH"
+ for ac_dir in $ac_dummy; do
+   IFS=$ac_save_IFS
+   test -z "$ac_dir" && ac_dir=.
+-  $as_executable_p "$ac_dir/$ac_word" || continue
++  test -f "$ac_dir/$ac_word" || continue
+ ac_cv_prog_CC="${ac_tool_prefix}cc"
+-echo "$as_me:1240: found $ac_dir/$ac_word" >&5
+ break
+ done
+ 
+@@ -1245,10 +1097,10 @@
+ fi
+ CC=$ac_cv_prog_CC
+ if test -n "$CC"; then
+-  echo "$as_me:1248: result: $CC" >&5
++  echo "configure:1100: result: $CC" >&5
+ echo "${ECHO_T}$CC" >&6
+ else
+-  echo "$as_me:1251: result: no" >&5
++  echo "configure:1103: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+@@ -1257,7 +1109,7 @@
+   ac_ct_CC=$CC
+   # Extract the first word of "cc", so it can be a program name with args.
+ set dummy cc; ac_word=$2
+-echo "$as_me:1260: checking for $ac_word" >&5
++echo "configure:1112: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -1265,14 +1117,13 @@
+   if test -n "$ac_ct_CC"; then
+   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
+ else
+-  ac_save_IFS=$IFS; IFS=$ac_path_separator
++  ac_save_IFS=$IFS; IFS=':'
+ ac_dummy="$PATH"
+ for ac_dir in $ac_dummy; do
+   IFS=$ac_save_IFS
+   test -z "$ac_dir" && ac_dir=.
+-  $as_executable_p "$ac_dir/$ac_word" || continue
++  test -f "$ac_dir/$ac_word" || continue
+ ac_cv_prog_ac_ct_CC="cc"
+-echo "$as_me:1275: found $ac_dir/$ac_word" >&5
+ break
+ done
+ 
+@@ -1280,23 +1131,21 @@
+ fi
+ ac_ct_CC=$ac_cv_prog_ac_ct_CC
+ if test -n "$ac_ct_CC"; then
+-  echo "$as_me:1283: result: $ac_ct_CC" >&5
++  echo "configure:1134: result: $ac_ct_CC" >&5
+ echo "${ECHO_T}$ac_ct_CC" >&6
+ else
+-  echo "$as_me:1286: result: no" >&5
++  echo "configure:1137: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+   CC=$ac_ct_CC
+-else
+-  CC="$ac_cv_prog_CC"
+ fi
+ 
+ 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 "$as_me:1299: checking for $ac_word" >&5
++echo "configure:1148: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_CC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -1305,18 +1154,17 @@
+   ac_cv_prog_CC="$CC" # Let the user override the test.
+ else
+   ac_prog_rejected=no
+-  ac_save_IFS=$IFS; IFS=$ac_path_separator
++  ac_save_IFS=$IFS; IFS=':'
+ ac_dummy="$PATH"
+ for ac_dir in $ac_dummy; do
+   IFS=$ac_save_IFS
+   test -z "$ac_dir" && ac_dir=.
+-  $as_executable_p "$ac_dir/$ac_word" || continue
++  test -f "$ac_dir/$ac_word" || continue
+ if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
+   ac_prog_rejected=yes
+   continue
+ fi
+ ac_cv_prog_CC="cc"
+-echo "$as_me:1319: found $ac_dir/$ac_word" >&5
+ break
+ done
+ 
+@@ -1338,10 +1186,10 @@
+ fi
+ CC=$ac_cv_prog_CC
+ if test -n "$CC"; then
+-  echo "$as_me:1341: result: $CC" >&5
++  echo "configure:1189: result: $CC" >&5
+ echo "${ECHO_T}$CC" >&6
+ else
+-  echo "$as_me:1344: result: no" >&5
++  echo "configure:1192: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+@@ -1352,7 +1200,7 @@
+   do
+     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
+ set dummy $ac_tool_prefix$ac_prog; ac_word=$2
+-echo "$as_me:1355: checking for $ac_word" >&5
++echo "configure:1203: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_CC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -1360,14 +1208,13 @@
+   if test -n "$CC"; then
+   ac_cv_prog_CC="$CC" # Let the user override the test.
+ else
+-  ac_save_IFS=$IFS; IFS=$ac_path_separator
++  ac_save_IFS=$IFS; IFS=':'
+ ac_dummy="$PATH"
+ for ac_dir in $ac_dummy; do
+   IFS=$ac_save_IFS
+   test -z "$ac_dir" && ac_dir=.
+-  $as_executable_p "$ac_dir/$ac_word" || continue
++  test -f "$ac_dir/$ac_word" || continue
+ ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
+-echo "$as_me:1370: found $ac_dir/$ac_word" >&5
+ break
+ done
+ 
+@@ -1375,10 +1222,10 @@
+ fi
+ CC=$ac_cv_prog_CC
+ if test -n "$CC"; then
+-  echo "$as_me:1378: result: $CC" >&5
++  echo "configure:1225: result: $CC" >&5
+ echo "${ECHO_T}$CC" >&6
+ else
+-  echo "$as_me:1381: result: no" >&5
++  echo "configure:1228: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+@@ -1391,7 +1238,7 @@
+ do
+   # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+-echo "$as_me:1394: checking for $ac_word" >&5
++echo "configure:1241: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -1399,14 +1246,13 @@
+   if test -n "$ac_ct_CC"; then
+   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
+ else
+-  ac_save_IFS=$IFS; IFS=$ac_path_separator
++  ac_save_IFS=$IFS; IFS=':'
+ ac_dummy="$PATH"
+ for ac_dir in $ac_dummy; do
+   IFS=$ac_save_IFS
+   test -z "$ac_dir" && ac_dir=.
+-  $as_executable_p "$ac_dir/$ac_word" || continue
++  test -f "$ac_dir/$ac_word" || continue
+ ac_cv_prog_ac_ct_CC="$ac_prog"
+-echo "$as_me:1409: found $ac_dir/$ac_word" >&5
+ break
+ done
+ 
+@@ -1414,10 +1260,10 @@
+ fi
+ ac_ct_CC=$ac_cv_prog_ac_ct_CC
+ if test -n "$ac_ct_CC"; then
+-  echo "$as_me:1417: result: $ac_ct_CC" >&5
++  echo "configure:1263: result: $ac_ct_CC" >&5
+ echo "${ECHO_T}$ac_ct_CC" >&6
+ else
+-  echo "$as_me:1420: result: no" >&5
++  echo "configure:1266: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+@@ -1429,12 +1275,12 @@
+ 
+ fi
+ 
+-test -z "$CC" && { { echo "$as_me:1432: error: no acceptable cc found in \$PATH" >&5
+-echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
+-   { (exit 1); exit 1; }; }
++test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" >&2; exit 1; }
+ 
++echo "configure:1280: checking whether the C compiler works" >&5
++echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 1437 "configure"
++#line 1283 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -1445,121 +1291,79 @@
+   return 0;
+ }
+ _ACEOF
+-ac_clean_files_save=$ac_clean_files
+-ac_clean_files="$ac_clean_files a.out a.exe"
+-# Try to create an executable without -o first, disregard a.out.
+-# It will help us diagnose broken compiler, and finding out an intuition
+-# of exeext.
+-echo "$as_me:1453: checking for C compiler default output" >&5
+-echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
+-ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
+-if { (eval echo "$as_me:1456: \"$ac_link_default\"") >&5
+-  (eval $ac_link_default) 2>&5
+-  ac_status=$?
+-  echo "$as_me:1459: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  for ac_file in `ls a.exe conftest.exe a.* conftest conftest.* 2>/dev/null`; do
+-  case $ac_file in
+-    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
+-    a.out ) # We found the default executable, but exeext='' is most
+-            # certainly right.
+-            break;;
+-    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
+-          export ac_cv_exeext
+-          break;;
+-    * ) break;;
+-  esac
+-done
+-else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-{ { echo "$as_me:1476: error: C compiler cannot create executables" >&5
+-echo "$as_me: error: C compiler cannot create executables" >&2;}
+-   { (exit 77); exit 77; }; }
+-fi
+-
+-ac_exeext=$ac_cv_exeext
+-echo "$as_me:1482: result: $ac_file" >&5
+-echo "${ECHO_T}$ac_file" >&6
+-
+-# Check the compiler produces executables we can run.  If not, either
+-# the compiler is broken, or we cross compile.
+-echo "$as_me:1487: checking whether the C compiler works" >&5
+-echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
+-# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:1295: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  # FIXME: these cross compiler hacks should be removed for autoconf 3.0
+ # If not cross compiling, check that we can run a simple program.
+ if test "$cross_compiling" != yes; then
+-  if { ac_try='./$ac_file'
+-  { (eval echo "$as_me:1493: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:1496: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++  if { ac_try='./conftest$ac_exeext'; { (eval echo configure:1299: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; }; then
+     cross_compiling=no
+   else
+     if test "$cross_compiling" = maybe; then
+-	cross_compiling=yes
++      cross_compiling=yes
+     else
+-	{ { echo "$as_me:1503: error: cannot run C compiled programs.
+-If you meant to cross compile, use \`--host'." >&5
+-echo "$as_me: error: cannot run C compiled programs.
+-If you meant to cross compile, use \`--host'." >&2;}
+-   { (exit 1); exit 1; }; }
++      { echo "configure: error: cannot run C compiled programs.
++To enable cross compilation, use \`--host'." >&2; exit 1; }
+     fi
+   fi
+ fi
+-echo "$as_me:1511: result: yes" >&5
++echo "configure:1310: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+-
+-rm -f a.out a.exe conftest$ac_cv_exeext
+-ac_clean_files=$ac_clean_files_save
+-# Check the compiler produces executables we can run.  If not, either
+-# the compiler is broken, or we cross compile.
+-echo "$as_me:1518: checking whether we are cross compiling" >&5
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  echo "configure:1315: result: no" >&5
++echo "${ECHO_T}no" >&6
++{ echo "configure: error: C compiler cannot create executables" >&2; exit 77; }
++fi
++rm -f conftest$ac_exeext conftest.$ac_ext
++echo "configure:1320: checking whether we are cross compiling" >&5
+ echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
+-echo "$as_me:1520: result: $cross_compiling" >&5
++echo "configure:1322: result: $cross_compiling" >&5
+ echo "${ECHO_T}$cross_compiling" >&6
+ 
+-echo "$as_me:1523: checking for executable suffix" >&5
+-echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
+-if { (eval echo "$as_me:1525: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:1528: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  # If both `conftest.exe' and `conftest' are `present' (well, observable)
+-# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
+-# work properly (i.e., refer to `conftest.exe'), while it won't with
+-# `rm'.
+-for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
+-  case $ac_file in
+-    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
+-    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
+-          export ac_cv_exeext
+-          break;;
+-    * ) break;;
+-  esac
+-done
++echo "configure:1325: checking whether we are using the GNU C compiler" >&5
++echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
++if test "${ac_cv_c_compiler_gnu+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  { { echo "$as_me:1544: error: cannot compute EXEEXT: cannot compile and link" >&5
+-echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
+-   { (exit 1); exit 1; }; }
+-fi
++  cat >conftest.$ac_ext <<_ACEOF
++#line 1331 "configure"
++#include "confdefs.h"
++#ifndef __GNUC__
++  choke me
++#endif
+ 
+-rm -f conftest$ac_cv_exeext
+-echo "$as_me:1550: result: $ac_cv_exeext" >&5
+-echo "${ECHO_T}$ac_cv_exeext" >&6
++int
++main ()
++{
+ 
+-rm -f conftest.$ac_ext
+-EXEEXT=$ac_cv_exeext
+-ac_exeext=$EXEEXT
+-echo "$as_me:1556: checking for object suffix" >&5
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:1346: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++  ac_compiler_gnu=yes
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_compiler_gnu=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++ac_cv_c_compiler_gnu=$ac_compiler_gnu
++
++fi
++echo "configure:1357: result: $ac_cv_c_compiler_gnu" >&5
++echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
++GCC=`test $ac_compiler_gnu = yes && echo yes`
++echo "configure:1360: checking for object suffix" >&5
+ echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
+ if test "${ac_cv_objext+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 1562 "configure"
++#line 1366 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -1570,88 +1374,79 @@
+   return 0;
+ }
+ _ACEOF
+-rm -f conftest.o conftest.obj
+-if { (eval echo "$as_me:1574: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:1577: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
++if { (eval echo configure:1377: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++  for ac_file in conftest.*; do
+   case $ac_file in
+-    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
+-    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
+-       break;;
++    *.$ac_ext) ;;
++    *) ac_cv_objext=`echo $ac_file | sed s/conftest.//` ;;
+   esac
+-done
++  done
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-{ { echo "$as_me:1589: error: cannot compute OBJEXT: cannot compile" >&5
+-echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
+-   { (exit 1); exit 1; }; }
++  rm -f conftest.$ac_ext
++  { echo "configure: error: cannot compile" >&2; exit 1; }
+ fi
+-
+-rm -f conftest.$ac_cv_objext conftest.$ac_ext
+ fi
+-echo "$as_me:1596: result: $ac_cv_objext" >&5
++echo "configure:1389: result: $ac_cv_objext" >&5
+ echo "${ECHO_T}$ac_cv_objext" >&6
+ OBJEXT=$ac_cv_objext
+-ac_objext=$OBJEXT
+-echo "$as_me:1600: checking whether we are using the GNU C compiler" >&5
+-echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
+-if test "${ac_cv_c_compiler_gnu+set}" = set; then
++ac_objext=$ac_cv_objext
++rm -f conftest.$ac_objext conftest.$ac_ext
++
++echo "configure:1395: checking for executable suffix" >&5
++echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
++if test "${ac_cv_exeext+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
++  case "$CYGWIN $MINGW32 $EMXOS2" in
++  *yes*) ac_cv_exeext=.exe ;;
++  *)
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 1606 "configure"
++#line 1404 "configure"
+ #include "confdefs.h"
+ 
+ int
+ main ()
+ {
+-#ifndef __GNUC__
+-       choke me
+-#endif
+ 
+   ;
+   return 0;
+ }
+ _ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:1621: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:1624: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:1627: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:1630: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
+-  ac_compiler_gnu=yes
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:1416: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  if test ! -f conftest; then
++    for ac_file in conftest.*; do
++       case $ac_file in
++         *.$ac_ext | *.o | *.obj | *.xcoff) ;;
++         *) ac_cv_exeext=`expr "$ac_file" : 'conftest\(.*\)'`;;
++       esac
++     done
++   fi
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_compiler_gnu=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  { echo "configure: error: cannot compile and link" >&2; exit 1; }
+ fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
+-ac_cv_c_compiler_gnu=$ac_compiler_gnu
+-
++rm -f conftest$ac_exeext conftest.$ac_ext
++  test -n "$ac_cv_exeext" && ac_cv_exeext=no;;
++esac
+ fi
+-echo "$as_me:1642: result: $ac_cv_c_compiler_gnu" >&5
+-echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
+-GCC=`test $ac_compiler_gnu = yes && echo yes`
++echo "configure:1434: result: $ac_cv_exeext" >&5
++echo "${ECHO_T}$ac_cv_exeext" >&6
++EXEEXT=
++test "$ac_cv_exeext" != no && EXEEXT=$ac_cv_exeext
++ac_exeext=$EXEEXT
++
+ ac_test_CFLAGS=${CFLAGS+set}
+ ac_save_CFLAGS=$CFLAGS
+ CFLAGS="-g"
+-echo "$as_me:1648: checking whether $CC accepts -g" >&5
+-echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
++echo "configure:1443: checking whether ${CC-cc} accepts -g" >&5
++echo $ECHO_N "checking whether ${CC-cc} accepts -g... $ECHO_C" >&6
+ if test "${ac_cv_prog_cc_g+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 1654 "configure"
++#line 1449 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -1663,26 +1458,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:1666: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:1669: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:1672: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:1675: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:1461: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_prog_cc_g=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_prog_cc_g=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_prog_cc_g=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:1685: result: $ac_cv_prog_cc_g" >&5
++echo "configure:1470: result: $ac_cv_prog_cc_g" >&5
+ echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
+ if test "$ac_test_CFLAGS" = set; then
+   CFLAGS=$ac_save_CFLAGS
+@@ -1699,121 +1484,19 @@
+     CFLAGS=
+   fi
+ fi
+-# Some people use a C++ compiler to compile C.  Since we use `exit',
+-# in C++ we need to declare it.  In case someone uses the same compiler
+-# for both compiling C and C++ we need to have the C++ compiler decide
+-# the declaration of exit, since it's the most demanding environment.
+-cat >conftest.$ac_ext <<_ACEOF
+-#ifndef __cplusplus
+-  choke me
+-#endif
+-_ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:1712: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:1715: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:1718: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:1721: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
+-  for ac_declaration in \
+-   ''\
+-   '#include <stdlib.h>' \
+-   'extern "C" void std::exit (int) throw (); using std::exit;' \
+-   'extern "C" void std::exit (int); using std::exit;' \
+-   'extern "C" void exit (int) throw ();' \
+-   'extern "C" void exit (int);' \
+-   'void exit (int);'
+-do
+-  cat >conftest.$ac_ext <<_ACEOF
+-#line 1733 "configure"
+-#include "confdefs.h"
+-#include <stdlib.h>
+-$ac_declaration
+-int
+-main ()
+-{
+-exit (42);
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:1746: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:1749: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:1752: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:1755: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
+-  :
+-else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-continue
+-fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
+-  cat >conftest.$ac_ext <<_ACEOF
+-#line 1765 "configure"
+-#include "confdefs.h"
+-$ac_declaration
+-int
+-main ()
+-{
+-exit (42);
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:1777: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:1780: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:1783: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:1786: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
+-  break
+-else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
+-done
+-echo '#ifdef __cplusplus' >>confdefs.h
+-echo $ac_declaration      >>confdefs.h
+-echo '#endif'             >>confdefs.h
+-
+-else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
+ ac_ext=c
+ ac_cpp='$CPP $CPPFLAGS'
+-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='${CC-cc} -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ ac_compiler_gnu=$ac_cv_c_compiler_gnu
+ 
++echo "configure:1493: checking how to run the C preprocessor" >&5
++echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
+ ac_ext=c
+ ac_cpp='$CPP $CPPFLAGS'
+-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='${CC-cc} -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ ac_compiler_gnu=$ac_cv_c_compiler_gnu
+-echo "$as_me:1815: checking how to run the C preprocessor" >&5
+-echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
+ # On Suns, sometimes $CPP names a directory.
+ if test -n "$CPP" && test -d "$CPP"; then
+   CPP=
+@@ -1823,31 +1506,22 @@
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+       # Double quotes because CPP needs to be expanded
+-    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
++    for CPP in "${CC-cc} -E" "${CC-cc} -E -traditional-cpp" "/lib/cpp"
+     do
+-      # break 2 since there is a loop in there.
+-      ac_preproc_ok=false
+-for ac_c_preproc_warn_flag in '' yes
+-do
+-  # Use a header file that comes with gcc, so configuring glibc
+-  # with a fresh cross-compiler works.
+-  # On the NeXT, cc -E runs the code through the compiler's parser,
+-  # not just through cpp. "Syntax error" is here to catch this case.
+-  cat >conftest.$ac_ext <<_ACEOF
+-#line 1837 "configure"
++      # Use a header file that comes with gcc, so configuring glibc
++# with a fresh cross-compiler works.
++# On the NeXT, cc -E runs the code through the compiler's parser,
++# not just through cpp. "Syntax error" is here to catch this case.
++cat >conftest.$ac_ext <<_ACEOF
++#line 1516 "configure"
+ #include "confdefs.h"
+ #include <assert.h>
+-                     Syntax error
++Syntax error
+ _ACEOF
+-if { (eval echo "$as_me:1842: \"$ac_cpp conftest.$ac_ext\"") >&5
+-  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+-  ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
+-  rm -f conftest.er1
+-  cat conftest.err >&5
+-  echo "$as_me:1848: \$? = $ac_status" >&5
+-  (exit $ac_status); } >/dev/null; then
+-  if test -s conftest.err; then
++ac_c_preproc_warn_flag=maybe
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:1523: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+   else
+     ac_cpp_err=
+@@ -1855,32 +1529,18 @@
+ else
+   ac_cpp_err=yes
+ fi
+-if test -z "$ac_cpp_err"; then
+-  :
+-else
+-  echo "$as_me: failed program was:" >&5
+-  cat conftest.$ac_ext >&5
+-  # Broken: fails on valid input.
+-continue
+-fi
+-rm -f conftest.err conftest.$ac_ext
+ 
+-  # OK, works on sane cases.  Now check whether non-existent headers
+-  # can be detected and how.
++# Now check whether non-existent headers can be detected and how
++# Skip if ac_cpp_err is not empty - ac_cpp is broken
++if test -z "$ac_cpp_err"; then
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 1871 "configure"
++#line 1537 "configure"
+ #include "confdefs.h"
+ #include <ac_nonexistent.h>
+ _ACEOF
+-if { (eval echo "$as_me:1875: \"$ac_cpp conftest.$ac_ext\"") >&5
+-  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+-  ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
+-  rm -f conftest.er1
+-  cat conftest.err >&5
+-  echo "$as_me:1881: \$? = $ac_status" >&5
+-  (exit $ac_status); } >/dev/null; then
+-  if test -s conftest.err; then
++  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:1542: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+   else
+     ac_cpp_err=
+@@ -1888,57 +1548,44 @@
+ else
+   ac_cpp_err=yes
+ fi
+-if test -z "$ac_cpp_err"; then
+-  # Broken: success on invalid input.
+-continue
+-else
+-  echo "$as_me: failed program was:" >&5
+-  cat conftest.$ac_ext >&5
+-  # Passes both tests.
+-ac_preproc_ok=:
+-break
+-fi
+-rm -f conftest.err conftest.$ac_ext
+ 
+-done
+-# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
+-rm -f conftest.err conftest.$ac_ext
+-if $ac_preproc_ok; then
+-  break 2
++  if test -z "$ac_cpp_err"; then
++    # cannot detect missing includes at all
++    ac_cpp_err=yes
++  else
++    if test "x$ac_cpp_err" = xmaybe; then
++      ac_c_preproc_warn_flag=yes
++    else
++      ac_c_preproc_warn_flag=
++    fi
++    ac_cpp_err=
++  fi
+ fi
++rm -f conftest*
+ 
++      if test -z "$ac_cpp_err"; then
++        break
++      fi
+     done
+     ac_cv_prog_CPP=$CPP
+ 
+ fi
+   CPP=$ac_cv_prog_CPP
+ else
+-  ac_cv_prog_CPP=$CPP
+-fi
+-echo "$as_me:1918: result: $CPP" >&5
+-echo "${ECHO_T}$CPP" >&6
+-ac_preproc_ok=false
+-for ac_c_preproc_warn_flag in '' yes
+-do
+   # Use a header file that comes with gcc, so configuring glibc
+-  # with a fresh cross-compiler works.
+-  # On the NeXT, cc -E runs the code through the compiler's parser,
+-  # not just through cpp. "Syntax error" is here to catch this case.
+-  cat >conftest.$ac_ext <<_ACEOF
+-#line 1928 "configure"
++# with a fresh cross-compiler works.
++# On the NeXT, cc -E runs the code through the compiler's parser,
++# not just through cpp. "Syntax error" is here to catch this case.
++cat >conftest.$ac_ext <<_ACEOF
++#line 1580 "configure"
+ #include "confdefs.h"
+ #include <assert.h>
+-                     Syntax error
++Syntax error
+ _ACEOF
+-if { (eval echo "$as_me:1933: \"$ac_cpp conftest.$ac_ext\"") >&5
+-  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+-  ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
+-  rm -f conftest.er1
+-  cat conftest.err >&5
+-  echo "$as_me:1939: \$? = $ac_status" >&5
+-  (exit $ac_status); } >/dev/null; then
+-  if test -s conftest.err; then
++ac_c_preproc_warn_flag=maybe
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:1587: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+   else
+     ac_cpp_err=
+@@ -1946,32 +1593,18 @@
+ else
+   ac_cpp_err=yes
+ fi
+-if test -z "$ac_cpp_err"; then
+-  :
+-else
+-  echo "$as_me: failed program was:" >&5
+-  cat conftest.$ac_ext >&5
+-  # Broken: fails on valid input.
+-continue
+-fi
+-rm -f conftest.err conftest.$ac_ext
+ 
+-  # OK, works on sane cases.  Now check whether non-existent headers
+-  # can be detected and how.
++# Now check whether non-existent headers can be detected and how
++# Skip if ac_cpp_err is not empty - ac_cpp is broken
++if test -z "$ac_cpp_err"; then
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 1962 "configure"
++#line 1601 "configure"
+ #include "confdefs.h"
+ #include <ac_nonexistent.h>
+ _ACEOF
+-if { (eval echo "$as_me:1966: \"$ac_cpp conftest.$ac_ext\"") >&5
+-  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+-  ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
+-  rm -f conftest.er1
+-  cat conftest.err >&5
+-  echo "$as_me:1972: \$? = $ac_status" >&5
+-  (exit $ac_status); } >/dev/null; then
+-  if test -s conftest.err; then
++  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:1606: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+   else
+     ac_cpp_err=
+@@ -1979,958 +1612,697 @@
+ else
+   ac_cpp_err=yes
+ fi
+-if test -z "$ac_cpp_err"; then
+-  # Broken: success on invalid input.
+-continue
+-else
+-  echo "$as_me: failed program was:" >&5
+-  cat conftest.$ac_ext >&5
+-  # Passes both tests.
+-ac_preproc_ok=:
+-break
++
++  if test -z "$ac_cpp_err"; then
++    # cannot detect missing includes at all
++    ac_cpp_err=yes
++  else
++    if test "x$ac_cpp_err" = xmaybe; then
++      ac_c_preproc_warn_flag=yes
++    else
++      ac_c_preproc_warn_flag=
++    fi
++    ac_cpp_err=
++  fi
+ fi
+-rm -f conftest.err conftest.$ac_ext
++rm -f conftest*
+ 
+-done
+-# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
+-rm -f conftest.err conftest.$ac_ext
+-if $ac_preproc_ok; then
+-  :
+-else
+-  { { echo "$as_me:2000: error: C preprocessor \"$CPP\" fails sanity check" >&5
+-echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
+-   { (exit 1); exit 1; }; }
++  ac_cv_prog_CPP=$CPP
++fi
++echo "configure:1632: result: $CPP" >&5
++echo "${ECHO_T}$CPP" >&6
++if test -n "$ac_cpp_err"; then
++  { echo "configure: error: C preprocessor \"$CPP\" fails sanity check" >&2; exit 1; }
+ fi
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='${CC-cc} -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
+ 
+ ac_ext=c
+ ac_cpp='$CPP $CPPFLAGS'
+-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='${CC-cc} -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ ac_compiler_gnu=$ac_cv_c_compiler_gnu
+ 
+-echo "$as_me:2011: checking for $CC option to accept ANSI C" >&5
+-echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
+-if test "${ac_cv_prog_cc_stdc+set}" = set; then
++if test -n "$ac_tool_prefix"; then
++  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
++set dummy ${ac_tool_prefix}gcc; ac_word=$2
++echo "configure:1652: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_CC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  ac_cv_prog_cc_stdc=no
+-ac_save_CC=$CC
+-cat >conftest.$ac_ext <<_ACEOF
+-#line 2019 "configure"
+-#include "confdefs.h"
+-#include <stdarg.h>
+-#include <stdio.h>
+-#include <sys/types.h>
+-#include <sys/stat.h>
+-/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
+-struct buf { int x; };
+-FILE * (*rcsopen) (struct buf *, struct stat *, int);
+-static char *e (p, i)
+-     char **p;
+-     int i;
+-{
+-  return p[i];
+-}
+-static char *f (char * (*g) (char **, int), char **p, ...)
+-{
+-  char *s;
+-  va_list v;
+-  va_start (v,p);
+-  s = g (p, va_arg (v,int));
+-  va_end (v);
+-  return s;
+-}
+-int test (int i, double x);
+-struct s1 {int (*f) (int a);};
+-struct s2 {int (*f) (double a);};
+-int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
+-int argc;
+-char **argv;
+-int
+-main ()
+-{
+-return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-# Don't try gcc -ansi; that turns off useful extensions and
+-# breaks some systems' header files.
+-# AIX			-qlanglvl=ansi
+-# Ultrix and OSF/1	-std1
+-# HP-UX 10.20 and later	-Ae
+-# HP-UX older versions	-Aa -D_HPUX_SOURCE
+-# SVR4			-Xc -D__EXTENSIONS__
+-for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
+-do
+-  CC="$ac_save_CC $ac_arg"
+-  rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:2068: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:2071: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:2074: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:2077: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
+-  ac_cv_prog_cc_stdc=$ac_arg
+-break
++  if test -n "$CC"; then
++  ac_cv_prog_CC="$CC" # Let the user override the test.
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-fi
+-rm -f conftest.$ac_objext
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
++  IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_CC="${ac_tool_prefix}gcc"
++break
+ done
+-rm -f conftest.$ac_ext conftest.$ac_objext
+-CC=$ac_save_CC
+ 
+ fi
+-
+-case "x$ac_cv_prog_cc_stdc" in
+-  x|xno)
+-    echo "$as_me:2094: result: none needed" >&5
+-echo "${ECHO_T}none needed" >&6 ;;
+-  *)
+-    echo "$as_me:2097: result: $ac_cv_prog_cc_stdc" >&5
+-echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
+-    CC="$CC $ac_cv_prog_cc_stdc" ;;
+-esac
+-
+-ac_aux_dir=
+-for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
+-  if test -f $ac_dir/install-sh; then
+-    ac_aux_dir=$ac_dir
+-    ac_install_sh="$ac_aux_dir/install-sh -c"
+-    break
+-  elif test -f $ac_dir/install.sh; then
+-    ac_aux_dir=$ac_dir
+-    ac_install_sh="$ac_aux_dir/install.sh -c"
+-    break
+-  elif test -f $ac_dir/shtool; then
+-    ac_aux_dir=$ac_dir
+-    ac_install_sh="$ac_aux_dir/shtool install -c"
+-    break
+-  fi
+-done
+-if test -z "$ac_aux_dir"; then
+-  { { echo "$as_me:2119: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
+-echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
+-   { (exit 1); exit 1; }; }
+ fi
+-ac_config_guess="$SHELL $ac_aux_dir/config.guess"
+-ac_config_sub="$SHELL $ac_aux_dir/config.sub"
+-ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
++CC=$ac_cv_prog_CC
++if test -n "$CC"; then
++  echo "configure:1674: result: $CC" >&5
++echo "${ECHO_T}$CC" >&6
++else
++  echo "configure:1677: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
+ 
+-# Find a good install program.  We prefer a C program (faster),
+-# so one script is as good as another.  But avoid the broken or
+-# incompatible versions:
+-# SysV /etc/install, /usr/sbin/install
+-# SunOS /usr/etc/install
+-# IRIX /sbin/install
+-# AIX /bin/install
+-# AmigaOS /C/install, which installs bootblocks on floppy discs
+-# 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 "$as_me:2139: checking for a BSD compatible install" >&5
+-echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
+-if test -z "$INSTALL"; then
+-if test "${ac_cv_path_install+set}" = set; then
++fi
++if test -z "$ac_cv_prog_CC"; then
++  ac_ct_CC=$CC
++  # Extract the first word of "gcc", so it can be a program name with args.
++set dummy gcc; ac_word=$2
++echo "configure:1686: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-    ac_save_IFS=$IFS; IFS=$ac_path_separator
+-  for ac_dir in $PATH; do
+-    IFS=$ac_save_IFS
+-    # Account for people who put trailing slashes in PATH elements.
+-    case $ac_dir/ in
+-    / | ./ | .// | /cC/* \
+-    | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
+-    | /usr/ucb/* ) ;;
+-    *)
+-      # OSF1 and SCO ODT 3.0 have their own names for install.
+-      # Don't use installbsd from OSF since it installs stuff as root
+-      # by default.
+-      for ac_prog in ginstall scoinst install; do
+-        if $as_executable_p "$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.
+-	    :
+-	  elif test $ac_prog = install &&
+-	    grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
+-	    # program-specific install script used by HP pwplus--don't use.
+-	    :
+-	  else
+-	    ac_cv_path_install="$ac_dir/$ac_prog -c"
+-	    break 2
+-	  fi
+-	fi
+-      done
+-      ;;
+-    esac
+-  done
++  if test -n "$ac_ct_CC"; then
++  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
++else
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
++  IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_ac_ct_CC="gcc"
++break
++done
+ 
+ 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 "$as_me:2188: result: $INSTALL" >&5
+-echo "${ECHO_T}$INSTALL" >&6
+-
+-# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
+-# It thinks the first close brace ends the variable substitution.
+-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
+-
+-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
+-
+-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
+-
+-echo "$as_me:2199: checking whether build environment is sane" >&5
+-echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
+-# Just in case
+-sleep 1
+-echo timestamp > conftestfile
+-# Do `set' in a subshell so we don't clobber the current shell's
+-# arguments.  Must try -L first in case configure is actually a
+-# symlink; some systems play weird games with the mod time of symlinks
+-# (eg FreeBSD returns the mod time of the symlink's containing
+-# directory).
+-if (
+-   set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
+-   if test "$*" = "X"; then
+-      # -L didn't work.
+-      set X `ls -t $srcdir/configure conftestfile`
+-   fi
+-   if test "$*" != "X $srcdir/configure conftestfile" \
+-      && test "$*" != "X conftestfile $srcdir/configure"; then
+-
+-      # If neither matched, then we have a broken ls.  This can happen
+-      # if, for instance, CONFIG_SHELL is bash and it inherits a
+-      # broken ls alias from the environment.  This has actually
+-      # happened.  Such a system could not be considered "sane".
+-      { { echo "$as_me:2222: error: ls -t appears to fail.  Make sure there is not a broken
+-alias in your environment" >&5
+-echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
+-alias in your environment" >&2;}
+-   { (exit 1); exit 1; }; }
+-   fi
+-
+-   test "$2" = conftestfile
+-   )
+-then
+-   # Ok.
+-   :
+-else
+-   { { echo "$as_me:2235: error: newly created file is older than distributed files!
+-Check your system clock" >&5
+-echo "$as_me: error: newly created file is older than distributed files!
+-Check your system clock" >&2;}
+-   { (exit 1); exit 1; }; }
+ fi
+-rm -f conftest*
+-echo "$as_me:2242: result: yes" >&5
+-echo "${ECHO_T}yes" >&6
+-if test "$program_transform_name" = s,x,x,; then
+-  program_transform_name=
++ac_ct_CC=$ac_cv_prog_ac_ct_CC
++if test -n "$ac_ct_CC"; then
++  echo "configure:1708: result: $ac_ct_CC" >&5
++echo "${ECHO_T}$ac_ct_CC" >&6
+ else
+-  # Double any \ or $.  echo might interpret backslashes.
+-  cat <<\EOF >conftest.sed
+-s,\\,\\\\,g; s,\$,$$,g
+-EOF
+-  program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
+-  rm -f conftest.sed
++  echo "configure:1711: result: no" >&5
++echo "${ECHO_T}no" >&6
+ fi
+-test "$program_prefix" != NONE &&
+-  program_transform_name="s,^,${program_prefix},;$program_transform_name"
+-# Use a double $ so make ignores it.
+-test "$program_suffix" != NONE &&
+-  program_transform_name="s,\$\$,${program_suffix},;$program_transform_name"
+ 
+-# sed with no file args requires a program.
+-test -z "$program_transform_name" && program_transform_name="s,x,x,"
+-
+-test x"${MISSING+set}" = xset || \
+-  MISSING="\${SHELL} `CDPATH=:; cd $ac_aux_dir && pwd`/missing"
+-# Use eval to expand $SHELL
+-if eval "$MISSING --run :"; then
+-  am_missing_run="$MISSING --run "
+-else
+-  am_missing_run=
+-  am_backtick='`'
+-  { echo "$as_me:2271: WARNING: ${am_backtick}missing' script is too old or missing" >&5
+-echo "$as_me: WARNING: ${am_backtick}missing' script is too old or missing" >&2;}
++  CC=$ac_ct_CC
+ fi
+ 
+-for ac_prog in mawk gawk nawk awk
+-do
+-  # Extract the first word of "$ac_prog", so it can be a program name with args.
+-set dummy $ac_prog; ac_word=$2
+-echo "$as_me:2279: checking for $ac_word" >&5
++if test -z "$CC"; then
++  if test -n "$ac_tool_prefix"; then
++  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
++set dummy ${ac_tool_prefix}cc; ac_word=$2
++echo "configure:1722: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+-if test "${ac_cv_prog_AWK+set}" = set; then
++if test "${ac_cv_prog_CC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  if test -n "$AWK"; then
+-  ac_cv_prog_AWK="$AWK" # Let the user override the test.
++  if test -n "$CC"; then
++  ac_cv_prog_CC="$CC" # Let the user override the test.
+ else
+-  ac_save_IFS=$IFS; IFS=$ac_path_separator
++  ac_save_IFS=$IFS; IFS=':'
+ ac_dummy="$PATH"
+ for ac_dir in $ac_dummy; do
+   IFS=$ac_save_IFS
+   test -z "$ac_dir" && ac_dir=.
+-  $as_executable_p "$ac_dir/$ac_word" || continue
+-ac_cv_prog_AWK="$ac_prog"
+-echo "$as_me:2294: found $ac_dir/$ac_word" >&5
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_CC="${ac_tool_prefix}cc"
+ break
+ done
+ 
+ fi
+ fi
+-AWK=$ac_cv_prog_AWK
+-if test -n "$AWK"; then
+-  echo "$as_me:2302: result: $AWK" >&5
+-echo "${ECHO_T}$AWK" >&6
++CC=$ac_cv_prog_CC
++if test -n "$CC"; then
++  echo "configure:1744: result: $CC" >&5
++echo "${ECHO_T}$CC" >&6
+ else
+-  echo "$as_me:2305: result: no" >&5
++  echo "configure:1747: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+-  test -n "$AWK" && break
+-done
+-
+-echo "$as_me:2312: checking whether ${MAKE-make} sets \${MAKE}" >&5
+-echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
+-set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
+-if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
++fi
++if test -z "$ac_cv_prog_CC"; then
++  ac_ct_CC=$CC
++  # Extract the first word of "cc", so it can be a program name with args.
++set dummy cc; ac_word=$2
++echo "configure:1756: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.make <<\EOF
+-all:
+-	@echo 'ac_maketemp="${MAKE}"'
+-EOF
+-# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
+-eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
+-if test -n "$ac_maketemp"; then
+-  eval ac_cv_prog_make_${ac_make}_set=yes
+-else
+-  eval ac_cv_prog_make_${ac_make}_set=no
+-fi
+-rm -f conftest.make
+-fi
+-if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
+-  echo "$as_me:2332: result: yes" >&5
+-echo "${ECHO_T}yes" >&6
+-  SET_MAKE=
++  if test -n "$ac_ct_CC"; then
++  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
+ else
+-  echo "$as_me:2336: result: no" >&5
+-echo "${ECHO_T}no" >&6
+-  SET_MAKE="MAKE=${MAKE-make}"
+-fi
+-
+-# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
+-if test "${enable_dependency_tracking+set}" = set; then
+-  enableval="$enable_dependency_tracking"
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
++  IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_ac_ct_CC="cc"
++break
++done
+ 
+-fi;
+-if test "x$enable_dependency_tracking" = xno; then
+-  AMDEP="#"
+-else
+-  am_depcomp="$ac_aux_dir/depcomp"
+-  if test ! -f "$am_depcomp"; then
+-    AMDEP="#"
+-  else
+-    AMDEP=
+-  fi
+ fi
+-
+-if test -z "$AMDEP"; then
+-  AMDEPBACKSLASH='\'
+-else
+-  AMDEPBACKSLASH=
+ fi
+-
+-if test -d .deps || mkdir .deps 2> /dev/null || test -d .deps; then
+-  DEPDIR=.deps
+-  # We redirect because .deps might already exist and be populated.
+-  # In this situation we don't want to see an error.
+-  rmdir .deps > /dev/null 2>&1
++ac_ct_CC=$ac_cv_prog_ac_ct_CC
++if test -n "$ac_ct_CC"; then
++  echo "configure:1778: result: $ac_ct_CC" >&5
++echo "${ECHO_T}$ac_ct_CC" >&6
+ else
+-  DEPDIR=_deps
++  echo "configure:1781: result: no" >&5
++echo "${ECHO_T}no" >&6
+ fi
+ 
+-ac_config_commands="$ac_config_commands default-2"
+-
+-# test to see if srcdir already configured
+-if test "`CDPATH=:; cd $srcdir && pwd`" != "`pwd`" &&
+-   test -f $srcdir/config.status; then
+-  { { echo "$as_me:2377: error: source directory already configured; run \"make distclean\" there first" >&5
+-echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
+-   { (exit 1); exit 1; }; }
++  CC=$ac_ct_CC
+ fi
+ 
+-# Define the identity of the package.
+-PACKAGE=heimdal
+-VERSION=0.4c
+-
+-cat >>confdefs.h <<EOF
+-#define PACKAGE "$PACKAGE"
+-EOF
+-
+-cat >>confdefs.h <<EOF
+-#define VERSION "$VERSION"
+-EOF
+-
+-# Some tools Automake needs.
+-
+-ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal"}
+-
+-AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
+-
+-AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake"}
+-
+-AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
+-
+-MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
+-
+-AMTAR=${AMTAR-"${am_missing_run}tar"}
+-
+-if test -z "$install_sh"; then
+-   install_sh="$ac_aux_dir/install-sh"
+-   test -f "$install_sh" || install_sh="$ac_aux_dir/install.sh"
+-   test -f "$install_sh" || install_sh="${am_missing_run}${ac_auxdir}/install-sh"
+-         install_sh="`echo $install_sh | sed -e 's/\${SHELL}//'`"
+ fi
+-
+-# We need awk for the "check" target.  The system "awk" is bad on
+-# some platforms.
+-
+-depcc="$CC"
+-depcpp="$CPP"
+-echo "$as_me:2420: checking dependency style of $depcc" >&5
+-echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
+-if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
++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 "configure:1792: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_CC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-
+-if test -z "$AMDEP"; then
+-  echo '#include "conftest.h"' > conftest.c
+-  echo 'int i;' > conftest.h
+-
+-  am_cv_CC_dependencies_compiler_type=none
+-  for depmode in `sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < "$am_depcomp"`; do
+-    case "$depmode" in
+-    nosideeffect)
+-      # after this tag, mechanisms are not by side-effect, so they'll
+-      # only be used when explicitly requested
+-      if test "x$enable_dependency_tracking" = xyes; then
+-	continue
+-      else
+-	break
+-      fi
+-      ;;
+-    none) break ;;
+-    esac
+-    # We check with `-c' and `-o' for the sake of the "dashmstdout"
+-    # mode.  It turns out that the SunPro C++ compiler does not properly
+-    # handle `-M -o', and we need to detect this.
+-    if depmode="$depmode" \
+-       source=conftest.c object=conftest.o \
+-       depfile=conftest.Po tmpdepfile=conftest.TPo \
+-       $SHELL $am_depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
+-       grep conftest.h conftest.Po > /dev/null 2>&1; then
+-      am_cv_CC_dependencies_compiler_type="$depmode"
+-      break
+-    fi
+-  done
+-
+-  rm -f conftest.*
++  if test -n "$CC"; then
++  ac_cv_prog_CC="$CC" # Let the user override the test.
+ else
+-  am_cv_CC_dependencies_compiler_type=none
++  ac_prog_rejected=no
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
++  IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
++  ac_prog_rejected=yes
++  continue
+ fi
++ac_cv_prog_CC="cc"
++break
++done
+ 
++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 $# != 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" ${1+"$@"}
++    shift
++    ac_cv_prog_CC="$@"
++  fi
+ fi
+-
+-echo "$as_me:2464: result: $am_cv_CC_dependencies_compiler_type" >&5
+-echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
+-CCDEPMODE="depmode=$am_cv_CC_dependencies_compiler_type"
+-
+-# Make sure we can run config.sub.
+-$ac_config_sub sun4 >/dev/null 2>&1 ||
+-  { { echo "$as_me:2470: error: cannot run $ac_config_sub" >&5
+-echo "$as_me: error: cannot run $ac_config_sub" >&2;}
+-   { (exit 1); exit 1; }; }
+-
+-echo "$as_me:2474: checking build system type" >&5
+-echo $ECHO_N "checking build system type... $ECHO_C" >&6
+-if test "${ac_cv_build+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  ac_cv_build_alias=$build_alias
+-test -z "$ac_cv_build_alias" &&
+-  ac_cv_build_alias=`$ac_config_guess`
+-test -z "$ac_cv_build_alias" &&
+-  { { echo "$as_me:2483: error: cannot guess build type; you must specify one" >&5
+-echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
+-   { (exit 1); exit 1; }; }
+-ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
+-  { { echo "$as_me:2487: error: $ac_config_sub $ac_cv_build_alias failed." >&5
+-echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;}
+-   { (exit 1); exit 1; }; }
+-
+ fi
+-echo "$as_me:2492: result: $ac_cv_build" >&5
+-echo "${ECHO_T}$ac_cv_build" >&6
+-build=$ac_cv_build
+-build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
+-build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
+-build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
+-
+-echo "$as_me:2499: checking host system type" >&5
+-echo $ECHO_N "checking host system type... $ECHO_C" >&6
+-if test "${ac_cv_host+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
++fi
++CC=$ac_cv_prog_CC
++if test -n "$CC"; then
++  echo "configure:1833: result: $CC" >&5
++echo "${ECHO_T}$CC" >&6
+ else
+-  ac_cv_host_alias=$host_alias
+-test -z "$ac_cv_host_alias" &&
+-  ac_cv_host_alias=$ac_cv_build_alias
+-ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
+-  { { echo "$as_me:2508: error: $ac_config_sub $ac_cv_host_alias failed" >&5
+-echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
+-   { (exit 1); exit 1; }; }
+-
++  echo "configure:1836: result: no" >&5
++echo "${ECHO_T}no" >&6
+ fi
+-echo "$as_me:2513: result: $ac_cv_host" >&5
+-echo "${ECHO_T}$ac_cv_host" >&6
+-host=$ac_cv_host
+-host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
+-host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
+-host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
+-
+-CANONICAL_HOST=$host
+-
+-sunos=no
+-case "$host" in
+-*-*-sunos4*)
+-	sunos=40
+-	;;
+-*-*-solaris2.7)
+-	sunos=57
+-	;;
+-*-*-solaris2.8)
+-	sunos=58
+-	;;
+-*-*-solaris2*)
+-	sunos=50
+-	;;
+-esac
+-if test "$sunos" != no; then
+-
+-cat >>confdefs.h <<EOF
+-#define SunOS $sunos
+-EOF
+ 
+ fi
+-
+-aix=no
+-case "$host" in
+-*-*-aix3*)
+-	aix=3
+-	;;
+-*-*-aix4*)
+-	aix=4
+-	;;
+-esac
+-
+-#test -z "$CFLAGS" && CFLAGS="-g"
+-
+-for ac_prog in 'bison -y' byacc
+-do
+-  # Extract the first word of "$ac_prog", so it can be a program name with args.
+-set dummy $ac_prog; ac_word=$2
+-echo "$as_me:2561: checking for $ac_word" >&5
++if test -z "$CC"; then
++  if test -n "$ac_tool_prefix"; then
++  for ac_prog in cl
++  do
++    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
++set dummy $ac_tool_prefix$ac_prog; ac_word=$2
++echo "configure:1847: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+-if test "${ac_cv_prog_YACC+set}" = set; then
++if test "${ac_cv_prog_CC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  if test -n "$YACC"; then
+-  ac_cv_prog_YACC="$YACC" # Let the user override the test.
++  if test -n "$CC"; then
++  ac_cv_prog_CC="$CC" # Let the user override the test.
+ else
+-  ac_save_IFS=$IFS; IFS=$ac_path_separator
++  ac_save_IFS=$IFS; IFS=':'
+ ac_dummy="$PATH"
+ for ac_dir in $ac_dummy; do
+   IFS=$ac_save_IFS
+   test -z "$ac_dir" && ac_dir=.
+-  $as_executable_p "$ac_dir/$ac_word" || continue
+-ac_cv_prog_YACC="$ac_prog"
+-echo "$as_me:2576: found $ac_dir/$ac_word" >&5
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
+ break
+ done
+ 
+ fi
+ fi
+-YACC=$ac_cv_prog_YACC
+-if test -n "$YACC"; then
+-  echo "$as_me:2584: result: $YACC" >&5
+-echo "${ECHO_T}$YACC" >&6
++CC=$ac_cv_prog_CC
++if test -n "$CC"; then
++  echo "configure:1869: result: $CC" >&5
++echo "${ECHO_T}$CC" >&6
+ else
+-  echo "$as_me:2587: result: no" >&5
++  echo "configure:1872: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+-  test -n "$YACC" && break
+-done
+-test -n "$YACC" || YACC="yacc"
+-
+-for ac_prog in flex lex
++    test -n "$CC" && break
++  done
++fi
++if test -z "$CC"; then
++  ac_ct_CC=$CC
++  for ac_prog in cl
+ do
+   # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+-echo "$as_me:2599: checking for $ac_word" >&5
++echo "configure:1885: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+-if test "${ac_cv_prog_LEX+set}" = set; then
++if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  if test -n "$LEX"; then
+-  ac_cv_prog_LEX="$LEX" # Let the user override the test.
++  if test -n "$ac_ct_CC"; then
++  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
+ else
+-  ac_save_IFS=$IFS; IFS=$ac_path_separator
++  ac_save_IFS=$IFS; IFS=':'
+ ac_dummy="$PATH"
+ for ac_dir in $ac_dummy; do
+   IFS=$ac_save_IFS
+   test -z "$ac_dir" && ac_dir=.
+-  $as_executable_p "$ac_dir/$ac_word" || continue
+-ac_cv_prog_LEX="$ac_prog"
+-echo "$as_me:2614: found $ac_dir/$ac_word" >&5
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_ac_ct_CC="$ac_prog"
+ break
+ done
+ 
+ fi
+ fi
+-LEX=$ac_cv_prog_LEX
+-if test -n "$LEX"; then
+-  echo "$as_me:2622: result: $LEX" >&5
+-echo "${ECHO_T}$LEX" >&6
++ac_ct_CC=$ac_cv_prog_ac_ct_CC
++if test -n "$ac_ct_CC"; then
++  echo "configure:1907: result: $ac_ct_CC" >&5
++echo "${ECHO_T}$ac_ct_CC" >&6
+ else
+-  echo "$as_me:2625: result: no" >&5
++  echo "configure:1910: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+-  test -n "$LEX" && break
+-done
+-test -n "$LEX" || LEX="${am_missing_run}flex"
+-
+-for ac_prog in flex lex
+-do
+-  # Extract the first word of "$ac_prog", so it can be a program name with args.
+-set dummy $ac_prog; ac_word=$2
+-echo "$as_me:2637: checking for $ac_word" >&5
+-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+-if test "${ac_cv_prog_LEX+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  if test -n "$LEX"; then
+-  ac_cv_prog_LEX="$LEX" # Let the user override the test.
+-else
+-  ac_save_IFS=$IFS; IFS=$ac_path_separator
+-ac_dummy="$PATH"
+-for ac_dir in $ac_dummy; do
+-  IFS=$ac_save_IFS
+-  test -z "$ac_dir" && ac_dir=.
+-  $as_executable_p "$ac_dir/$ac_word" || continue
+-ac_cv_prog_LEX="$ac_prog"
+-echo "$as_me:2652: found $ac_dir/$ac_word" >&5
+-break
++  test -n "$ac_ct_CC" && break
+ done
+ 
++  CC=$ac_ct_CC
+ fi
+-fi
+-LEX=$ac_cv_prog_LEX
+-if test -n "$LEX"; then
+-  echo "$as_me:2660: result: $LEX" >&5
+-echo "${ECHO_T}$LEX" >&6
+-else
+-  echo "$as_me:2663: result: no" >&5
+-echo "${ECHO_T}no" >&6
++
+ fi
+ 
+-  test -n "$LEX" && break
+-done
+-test -n "$LEX" || LEX=":"
++test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" >&2; exit 1; }
+ 
+-if test -z "$LEXLIB"
+-then
+-  echo "$as_me:2673: checking for yywrap in -lfl" >&5
+-echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
+-if test "${ac_cv_lib_fl_yywrap+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  ac_check_lib_save_LIBS=$LIBS
+-LIBS="-lfl  $LIBS"
++echo "configure:1924: checking whether the C compiler works" >&5
++echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 2681 "configure"
++#line 1927 "configure"
+ #include "confdefs.h"
+ 
+-/* Override any gcc2 internal prototype to avoid an error.  */
+-#ifdef __cplusplus
+-extern "C"
+-#endif
+-/* We use char because int might match the return type of a gcc2
+-   builtin and then its argument prototype would still apply.  */
+-char yywrap ();
+ int
+ main ()
+ {
+-yywrap ();
++
+   ;
+   return 0;
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:2700: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:2703: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:2706: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:2709: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
+-  ac_cv_lib_fl_yywrap=yes
+-else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_lib_fl_yywrap=no
+-fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+-LIBS=$ac_check_lib_save_LIBS
++if { (eval echo configure:1939: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  # FIXME: these cross compiler hacks should be removed for autoconf 3.0
++# If not cross compiling, check that we can run a simple program.
++if test "$cross_compiling" != yes; then
++  if { ac_try='./conftest$ac_exeext'; { (eval echo configure:1943: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; }; then
++    cross_compiling=no
++  else
++    if test "$cross_compiling" = maybe; then
++      cross_compiling=yes
++    else
++      { echo "configure: error: cannot run C compiled programs.
++To enable cross compilation, use \`--host'." >&2; exit 1; }
++    fi
++  fi
+ fi
+-echo "$as_me:2720: result: $ac_cv_lib_fl_yywrap" >&5
+-echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
+-if test $ac_cv_lib_fl_yywrap = yes; then
+-  LEXLIB="-lfl"
++echo "configure:1954: result: yes" >&5
++echo "${ECHO_T}yes" >&6
+ else
+-  echo "$as_me:2725: checking for yywrap in -ll" >&5
+-echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
+-if test "${ac_cv_lib_l_yywrap+set}" = set; then
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  echo "configure:1959: result: no" >&5
++echo "${ECHO_T}no" >&6
++{ echo "configure: error: C compiler cannot create executables" >&2; exit 77; }
++fi
++rm -f conftest$ac_exeext conftest.$ac_ext
++echo "configure:1964: checking whether we are cross compiling" >&5
++echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
++echo "configure:1966: result: $cross_compiling" >&5
++echo "${ECHO_T}$cross_compiling" >&6
++
++echo "configure:1969: checking whether we are using the GNU C compiler" >&5
++echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
++if test "${ac_cv_c_compiler_gnu+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  ac_check_lib_save_LIBS=$LIBS
+-LIBS="-ll  $LIBS"
+-cat >conftest.$ac_ext <<_ACEOF
+-#line 2733 "configure"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 1975 "configure"
+ #include "confdefs.h"
+-
+-/* Override any gcc2 internal prototype to avoid an error.  */
+-#ifdef __cplusplus
+-extern "C"
++#ifndef __GNUC__
++  choke me
+ #endif
+-/* We use char because int might match the return type of a gcc2
+-   builtin and then its argument prototype would still apply.  */
+-char yywrap ();
++
+ int
+ main ()
+ {
+-yywrap ();
++
+   ;
+   return 0;
+ }
+ _ACEOF
+-rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:2752: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:2755: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:2758: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:2761: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
+-  ac_cv_lib_l_yywrap=yes
++rm -f conftest.$ac_objext
++if { (eval echo configure:1990: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++  ac_compiler_gnu=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_lib_l_yywrap=no
+-fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+-LIBS=$ac_check_lib_save_LIBS
+-fi
+-echo "$as_me:2772: result: $ac_cv_lib_l_yywrap" >&5
+-echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
+-if test $ac_cv_lib_l_yywrap = yes; then
+-  LEXLIB="-ll"
+-fi
+-
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_compiler_gnu=no
+ fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++ac_cv_c_compiler_gnu=$ac_compiler_gnu
+ 
+ fi
++echo "configure:2001: result: $ac_cv_c_compiler_gnu" >&5
++echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
++GCC=`test $ac_compiler_gnu = yes && echo yes`
+ 
+-if test "x$LEX" != "x:"; then
+-  echo "$as_me:2783: checking lex output file root" >&5
+-echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
+-if test "${ac_cv_prog_lex_root+set}" = set; then
++ac_test_CFLAGS=${CFLAGS+set}
++ac_save_CFLAGS=$CFLAGS
++CFLAGS="-g"
++echo "configure:2008: checking whether ${CC-cc} accepts -g" >&5
++echo $ECHO_N "checking whether ${CC-cc} accepts -g... $ECHO_C" >&6
++if test "${ac_cv_prog_cc_g+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  # The minimal lex program is just a single line: %%.  But some broken lexes
+-# (Solaris, I think it was) want two %% lines, so accommodate them.
+-echo '%%
+-%%' | $LEX
+-if test -f lex.yy.c; then
+-  ac_cv_prog_lex_root=lex.yy
+-elif test -f lexyy.c; then
+-  ac_cv_prog_lex_root=lexyy
++  cat >conftest.$ac_ext <<_ACEOF
++#line 2014 "configure"
++#include "confdefs.h"
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:2026: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++  ac_cv_prog_cc_g=yes
+ else
+-  { { echo "$as_me:2797: error: cannot find output from $LEX; giving up" >&5
+-echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
+-   { (exit 1); exit 1; }; }
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_prog_cc_g=no
+ fi
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:2802: result: $ac_cv_prog_lex_root" >&5
+-echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
+-LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
++echo "configure:2035: result: $ac_cv_prog_cc_g" >&5
++echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
++if test "$ac_test_CFLAGS" = set; then
++  CFLAGS=$ac_save_CFLAGS
++elif test $ac_cv_prog_cc_g = yes; then
++  if test "$GCC" = yes; then
++    CFLAGS="-g -O2"
++  else
++    CFLAGS="-g"
++  fi
++else
++  if test "$GCC" = yes; then
++    CFLAGS="-O2"
++  else
++    CFLAGS=
++  fi
++fi
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='${CC-cc} -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
+ 
+-echo "$as_me:2806: checking whether yytext is a pointer" >&5
+-echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
+-if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
++echo "configure:2058: checking for ${CC-cc} option to accept ANSI C" >&5
++echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
++if test "${ac_cv_prog_cc_stdc+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  # POSIX says lex can declare yytext either as a pointer or an array; the
+-# default is implementation-dependent. Figure out which it is, since
+-# not all implementations provide the %pointer and %array declarations.
+-ac_cv_prog_lex_yytext_pointer=no
+-echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
+-ac_save_LIBS=$LIBS
+-LIBS="$LIBS $LEXLIB"
+-cat >conftest.$ac_ext <<_ACEOF
+-`cat $LEX_OUTPUT_ROOT.c`
++  ac_cv_prog_cc_stdc=no
++ac_save_CC=$CC
++# Don't try gcc -ansi; that turns off useful extensions and
++# breaks some systems' header files.
++# AIX			-qlanglvl=ansi
++# Ultrix and OSF/1	-std1
++# HP-UX 10.20 and later	-Ae
++# HP-UX older versions	-Aa -D_HPUX_SOURCE
++# SVR4			-Xc -D__EXTENSIONS__
++for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
++do
++  CC="$ac_save_CC $ac_arg"
++  cat >conftest.$ac_ext <<_ACEOF
++#line 2076 "configure"
++#include "confdefs.h"
++#include <stdarg.h>
++#include <stdio.h>
++#include <sys/types.h>
++#include <sys/stat.h>
++/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
++struct buf { int x; };
++FILE * (*rcsopen) (struct buf *, struct stat *, int);
++static char *e (p, i)
++     char **p;
++     int i;
++{
++  return p[i];
++}
++static char *f (char * (*g) (char **, int), char **p, ...)
++{
++  char *s;
++  va_list v;
++  va_start (v,p);
++  s = g (p, va_arg (v,int));
++  va_end (v);
++  return s;
++}
++int test (int i, double x);
++struct s1 {int (*f) (int a);};
++struct s2 {int (*f) (double a);};
++int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
++int argc;
++char **argv;
++int
++main ()
++{
++return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
++  ;
++  return 0;
++}
+ _ACEOF
+-rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:2822: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:2825: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:2828: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:2831: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
+-  ac_cv_prog_lex_yytext_pointer=yes
++rm -f conftest.$ac_objext
++if { (eval echo configure:2115: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++  ac_cv_prog_cc_stdc=$ac_arg; break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+-LIBS=$ac_save_LIBS
+-rm -f "${LEX_OUTPUT_ROOT}.c"
++rm -f conftest.$ac_objext conftest.$ac_ext
++done
++CC=$ac_save_CC
+ 
+ fi
+-echo "$as_me:2843: result: $ac_cv_prog_lex_yytext_pointer" >&5
+-echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
+-if test $ac_cv_prog_lex_yytext_pointer = yes; then
+-
+-cat >>confdefs.h <<\EOF
+-#define YYTEXT_POINTER 1
+-EOF
+ 
+-fi
++case "x$ac_cv_prog_cc_stdc" in
++  x|xno)
++    echo "configure:2129: result: none needed" >&5
++echo "${ECHO_T}none needed" >&6 ;;
++  *)
++    echo "configure:2132: result: $ac_cv_prog_cc_stdc" >&5
++echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
++    CC="$CC $ac_cv_prog_cc_stdc" ;;
++esac
+ 
++ac_aux_dir=
++for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
++  if test -f $ac_dir/install-sh; then
++    ac_aux_dir=$ac_dir
++    ac_install_sh="$ac_aux_dir/install-sh -c"
++    break
++  elif test -f $ac_dir/install.sh; then
++    ac_aux_dir=$ac_dir
++    ac_install_sh="$ac_aux_dir/install.sh -c"
++    break
++  elif test -f $ac_dir/shtool; then
++    ac_aux_dir=$ac_dir
++    ac_install_sh="$ac_aux_dir/shtool install -c"
++    break
++  fi
++done
++if test -z "$ac_aux_dir"; then
++  { echo "configure: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2; exit 1; }
+ fi
++ac_config_guess="$SHELL $ac_aux_dir/config.guess"
++ac_config_sub="$SHELL $ac_aux_dir/config.sub"
++ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
+ 
+-if test -n "$ac_tool_prefix"; then
+-  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
+-set dummy ${ac_tool_prefix}ranlib; ac_word=$2
+-echo "$as_me:2858: checking for $ac_word" >&5
+-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+-if test "${ac_cv_prog_RANLIB+set}" = set; then
++# 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
++# AmigaOS /C/install, which installs bootblocks on floppy discs
++# 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 "configure:2172: checking for a BSD compatible install" >&5
++echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
++if test -z "$INSTALL"; then
++if test "${ac_cv_path_install+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  if test -n "$RANLIB"; then
+-  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
+-else
+-  ac_save_IFS=$IFS; IFS=$ac_path_separator
+-ac_dummy="$PATH"
+-for ac_dir in $ac_dummy; do
++    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
++    / | ./ | .// | /cC/* \
++    | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
++    | /usr/ucb/* ) ;;
++    *)
++      # OSF1 and SCO ODT 3.0 have their own names for install.
++      # Don't use installbsd from OSF since it installs stuff as root
++      # by default.
++      for ac_prog in ginstall scoinst install; do
++        if test -f "$ac_dir/$ac_prog"; then
++	  if test $ac_prog = install &&
++            grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
++	    # AIX install.  It has an incompatible calling convention.
++	    :
++	  elif test $ac_prog = install &&
++	    grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
++	    # program-specific install script used by HP pwplus--don't use.
++	    :
++	  else
++	    ac_cv_path_install="$ac_dir/$ac_prog -c"
++	    break 2
++	  fi
++	fi
++      done
++      ;;
++    esac
++  done
+   IFS=$ac_save_IFS
+-  test -z "$ac_dir" && ac_dir=.
+-  $as_executable_p "$ac_dir/$ac_word" || continue
+-ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
+-echo "$as_me:2873: found $ac_dir/$ac_word" >&5
+-break
+-done
+ 
+ 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
+-RANLIB=$ac_cv_prog_RANLIB
+-if test -n "$RANLIB"; then
+-  echo "$as_me:2881: result: $RANLIB" >&5
+-echo "${ECHO_T}$RANLIB" >&6
+-else
+-  echo "$as_me:2884: result: no" >&5
+-echo "${ECHO_T}no" >&6
+-fi
++echo "configure:2221: result: $INSTALL" >&5
++echo "${ECHO_T}$INSTALL" >&6
+ 
+-fi
+-if test -z "$ac_cv_prog_RANLIB"; then
+-  ac_ct_RANLIB=$RANLIB
+-  # Extract the first word of "ranlib", so it can be a program name with args.
+-set dummy ranlib; ac_word=$2
+-echo "$as_me:2893: checking for $ac_word" >&5
+-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+-if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  if test -n "$ac_ct_RANLIB"; then
+-  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
+-else
+-  ac_save_IFS=$IFS; IFS=$ac_path_separator
+-ac_dummy="$PATH"
+-for ac_dir in $ac_dummy; do
+-  IFS=$ac_save_IFS
+-  test -z "$ac_dir" && ac_dir=.
+-  $as_executable_p "$ac_dir/$ac_word" || continue
+-ac_cv_prog_ac_ct_RANLIB="ranlib"
+-echo "$as_me:2908: found $ac_dir/$ac_word" >&5
+-break
+-done
++# 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 "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
+-fi
++test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
++
++test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
++
++echo "configure:2232: checking whether build environment is sane" >&5
++echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
++# Just in case
++sleep 1
++echo timestamp > conftestfile
++# Do `set' in a subshell so we don't clobber the current shell's
++# arguments.  Must try -L first in case configure is actually a
++# symlink; some systems play weird games with the mod time of symlinks
++# (eg FreeBSD returns the mod time of the symlink's containing
++# directory).
++if (
++   set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
++   if test "$*" = "X"; then
++      # -L didn't work.
++      set X `ls -t $srcdir/configure conftestfile`
++   fi
++   if test "$*" != "X $srcdir/configure conftestfile" \
++      && test "$*" != "X conftestfile $srcdir/configure"; then
++
++      # If neither matched, then we have a broken ls.  This can happen
++      # if, for instance, CONFIG_SHELL is bash and it inherits a
++      # broken ls alias from the environment.  This has actually
++      # happened.  Such a system could not be considered "sane".
++      { echo "configure: error: ls -t appears to fail.  Make sure there is not a broken
++alias in your environment" >&2; exit 1; }
++   fi
++
++   test "$2" = conftestfile
++   )
++then
++   # Ok.
++   :
++else
++   { echo "configure: error: newly created file is older than distributed files!
++Check your system clock" >&2; exit 1; }
+ fi
+-ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
+-if test -n "$ac_ct_RANLIB"; then
+-  echo "$as_me:2917: result: $ac_ct_RANLIB" >&5
+-echo "${ECHO_T}$ac_ct_RANLIB" >&6
++rm -f conftest*
++echo "configure:2269: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++if test "$program_transform_name" = s,x,x,; then
++  program_transform_name=
+ else
+-  echo "$as_me:2920: result: no" >&5
+-echo "${ECHO_T}no" >&6
++  # Double any \ or $.  echo might interpret backslashes.
++  cat <<\EOF >conftestsed
++s,\\,\\\\,g; s,\$,$$,g
++EOF
++  program_transform_name=`echo $program_transform_name | sed -f conftestsed`
++  rm -f conftestsed
+ fi
++test "$program_prefix" != NONE &&
++  program_transform_name="s,^,${program_prefix},;$program_transform_name"
++# Use a double $ so make ignores it.
++test "$program_suffix" != NONE &&
++  program_transform_name="s,\$\$,${program_suffix},;$program_transform_name"
+ 
+-  RANLIB=$ac_ct_RANLIB
++# sed with no file args requires a program.
++test -z "$program_transform_name" && program_transform_name="s,x,x,"
++
++test x"${MISSING+set}" = xset || \
++  MISSING="\${SHELL} `CDPATH=:; cd $ac_aux_dir && pwd`/missing"
++# Use eval to expand $SHELL
++if eval "$MISSING --run :"; then
++  am_missing_run="$MISSING --run "
+ else
+-  RANLIB="$ac_cv_prog_RANLIB"
++  am_missing_run=
++  am_backtick='`'
++  echo "configure: WARNING: ${am_backtick}missing' script is too old or missing" >&2
+ fi
+ 
+ for ac_prog in mawk gawk nawk awk
+ do
+   # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+-echo "$as_me:2933: checking for $ac_word" >&5
++echo "configure:2305: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_AWK+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -2938,14 +2310,13 @@
+   if test -n "$AWK"; then
+   ac_cv_prog_AWK="$AWK" # Let the user override the test.
+ else
+-  ac_save_IFS=$IFS; IFS=$ac_path_separator
++  ac_save_IFS=$IFS; IFS=':'
+ ac_dummy="$PATH"
+ for ac_dir in $ac_dummy; do
+   IFS=$ac_save_IFS
+   test -z "$ac_dir" && ac_dir=.
+-  $as_executable_p "$ac_dir/$ac_word" || continue
++  test -f "$ac_dir/$ac_word" || continue
+ ac_cv_prog_AWK="$ac_prog"
+-echo "$as_me:2948: found $ac_dir/$ac_word" >&5
+ break
+ done
+ 
+@@ -2953,1789 +2324,8438 @@
+ fi
+ AWK=$ac_cv_prog_AWK
+ if test -n "$AWK"; then
+-  echo "$as_me:2956: result: $AWK" >&5
++  echo "configure:2327: result: $AWK" >&5
+ echo "${ECHO_T}$AWK" >&6
+ else
+-  echo "$as_me:2959: result: no" >&5
++  echo "configure:2330: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+   test -n "$AWK" && break
+ done
+ 
+-echo "$as_me:2966: checking for ln -s or something else" >&5
+-echo $ECHO_N "checking for ln -s or something else... $ECHO_C" >&6
+-if test "${ac_cv_prog_LN_S+set}" = set; then
++echo "configure:2337: checking whether ${MAKE-make} sets \${MAKE}" >&5
++echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
++set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
++if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  rm -f conftestdata
+-if ln -s X conftestdata 2>/dev/null
+-then
+-  rm -f conftestdata
+-  ac_cv_prog_LN_S="ln -s"
++  cat >conftestmake <<\EOF
++all:
++	@echo 'ac_maketemp="${MAKE}"'
++EOF
++# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
++eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
++if test -n "$ac_maketemp"; then
++  eval ac_cv_prog_make_${ac_make}_set=yes
+ else
+-  touch conftestdata1
+-  if ln conftestdata1 conftestdata2; then
+-    rm -f conftestdata*
+-    ac_cv_prog_LN_S=ln
+-  else
+-    ac_cv_prog_LN_S=cp
+-  fi
++  eval ac_cv_prog_make_${ac_make}_set=no
+ fi
++rm -f conftestmake
++fi
++if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
++  echo "configure:2357: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++  SET_MAKE=
++else
++  echo "configure:2361: result: no" >&5
++echo "${ECHO_T}no" >&6
++  SET_MAKE="MAKE=${MAKE-make}"
+ fi
+-LN_S="$ac_cv_prog_LN_S"
+-echo "$as_me:2987: result: $ac_cv_prog_LN_S" >&5
+-echo "${ECHO_T}$ac_cv_prog_LN_S" >&6
+ 
+-# Check whether --with-mips_abi or --without-mips_abi was given.
+-if test "${with_mips_abi+set}" = set; then
+-  withval="$with_mips_abi"
++# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
++if test "${enable_dependency_tracking+set}" = set; then
++  enableval="$enable_dependency_tracking"
+ 
+ fi;
++if test "x$enable_dependency_tracking" = xno; then
++  AMDEP="#"
++else
++  am_depcomp="$ac_aux_dir/depcomp"
++  if test ! -f "$am_depcomp"; then
++    AMDEP="#"
++  else
++    AMDEP=
++  fi
++fi
+ 
+-case "$host_os" in
+-irix*)
+-with_mips_abi="${with_mips_abi:-yes}"
+-if test -n "$GCC"; then
++if test -z "$AMDEP"; then
++  AMDEPBACKSLASH='\'
++else
++  AMDEPBACKSLASH=
++fi
+ 
+-# GCC < 2.8 only supports the O32 ABI. GCC >= 2.8 has a flag to select
+-# which ABI to use, but only supports (as of 2.8.1) the N32 and 64 ABIs.
+-#
+-# Default to N32, but if GCC doesn't grok -mabi=n32, we assume an old
+-# GCC and revert back to O32. The same goes if O32 is asked for - old
+-# GCCs doesn't like the -mabi option, and new GCCs can't output O32.
+-#
+-# Don't you just love *all* the different SGI ABIs?
+-
+-case "${with_mips_abi}" in
+-        32|o32) abi='-mabi=32';  abilibdirext=''     ;;
+-       n32|yes) abi='-mabi=n32'; abilibdirext='32'  ;;
+-        64) abi='-mabi=64';  abilibdirext='64'   ;;
+-	no) abi=''; abilibdirext='';;
+-         *) { { echo "$as_me:3015: error: \"Invalid ABI specified\"" >&5
+-echo "$as_me: error: \"Invalid ABI specified\"" >&2;}
+-   { (exit 1); exit 1; }; } ;;
+-esac
+-if test -n "$abi" ; then
+-ac_foo=krb_cv_gcc_`echo $abi | tr =- __`
+-echo "$as_me:3021: checking if $CC supports the $abi option" >&5
+-echo $ECHO_N "checking if $CC supports the $abi option... $ECHO_C" >&6
+-if eval "test \"\${$ac_foo+set}\" = set"; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
++if test -d .deps || mkdir .deps 2> /dev/null || test -d .deps; then
++  DEPDIR=.deps
+ else
++  DEPDIR=_deps
++fi
+ 
+-save_CFLAGS="$CFLAGS"
+-CFLAGS="$CFLAGS $abi"
+-cat >conftest.$ac_ext <<_ACEOF
+-#line 3030 "configure"
+-#include "confdefs.h"
++ac_config_commands="$ac_config_commands default-2"
+ 
+-int
+-main ()
+-{
+-int x;
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:3042: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:3045: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:3048: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:3051: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
+-  eval $ac_foo=yes
+-else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval $ac_foo=no
++# test to see if srcdir already configured
++if test "`CDPATH=:; cd $srcdir && pwd`" != "`pwd`" &&
++   test -f $srcdir/config.status; then
++  { echo "configure: error: source directory already configured; run \"make distclean\" there first" >&2; exit 1; }
+ fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
+-CFLAGS="$save_CFLAGS"
+ 
+-fi
++# Define the identity of the package.
++PACKAGE=heimdal
++VERSION=0.4c
+ 
+-ac_res=`eval echo \\\$$ac_foo`
+-echo "$as_me:3065: result: $ac_res" >&5
+-echo "${ECHO_T}$ac_res" >&6
+-if test $ac_res = no; then
+-# Try to figure out why that failed...
+-case $abi in
+-	-mabi=32)
+-	save_CFLAGS="$CFLAGS"
+-	CFLAGS="$CFLAGS -mabi=n32"
+-	cat >conftest.$ac_ext <<_ACEOF
+-#line 3074 "configure"
+-#include "confdefs.h"
++cat >>confdefs.h <<EOF
++#define PACKAGE "$PACKAGE"
++EOF
+ 
+-int
+-main ()
+-{
+-int x;
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:3086: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:3089: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:3092: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:3095: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
+-  ac_res=yes
+-else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_res=no
++cat >>confdefs.h <<EOF
++#define VERSION "$VERSION"
++EOF
++
++# Some tools Automake needs.
++
++ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal"}
++
++AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
++
++AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake"}
++
++AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
++
++MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
++
++AMTAR=${AMTAR-"${am_missing_run}tar"}
++
++if test -z "$install_sh"; then
++   install_sh="$ac_aux_dir/install-sh"
++   test -f "$install_sh" || install_sh="$ac_aux_dir/install.sh"
++   test -f "$install_sh" || install_sh="${am_missing_run}${ac_auxdir}/install-sh"
++         install_sh="`echo $install_sh | sed -e 's/\${SHELL}//'`"
+ fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
+-	CLAGS="$save_CFLAGS"
+-	if test $ac_res = yes; then
+-		# New GCC
+-		{ { echo "$as_me:3107: error: $CC does not support the $with_mips_abi ABI" >&5
+-echo "$as_me: error: $CC does not support the $with_mips_abi ABI" >&2;}
+-   { (exit 1); exit 1; }; }
+-	fi
+-	# Old GCC
+-	abi=''
+-	abilibdirext=''
+-	;;
+-	-mabi=n32|-mabi=64)
+-		if test $with_mips_abi = yes; then
+-			# Old GCC, default to O32
+-			abi=''
+-			abilibdirext=''
+-		else
+-			# Some broken GCC
+-			{ { echo "$as_me:3122: error: $CC does not support the $with_mips_abi ABI" >&5
+-echo "$as_me: error: $CC does not support the $with_mips_abi ABI" >&2;}
+-   { (exit 1); exit 1; }; }
+-		fi
+-	;;
+-esac
+-fi #if test $ac_res = no; then
+-fi #if test -n "$abi" ; then
+-else
+-case "${with_mips_abi}" in
+-        32|o32) abi='-32'; abilibdirext=''     ;;
+-       n32|yes) abi='-n32'; abilibdirext='32'  ;;
+-        64) abi='-64'; abilibdirext='64'   ;;
+-	no) abi=''; abilibdirext='';;
+-         *) { { echo "$as_me:3136: error: \"Invalid ABI specified\"" >&5
+-echo "$as_me: error: \"Invalid ABI specified\"" >&2;}
+-   { (exit 1); exit 1; }; } ;;
+-esac
+-fi #if test -n "$GCC"; then
+-;;
+-esac
+ 
+-CC="$CC $abi"
+-libdir="$libdir$abilibdirext"
++# We need awk for the "check" target.  The system "awk" is bad on
++# some platforms.
+ 
+-echo "$as_me:3147: checking for __attribute__" >&5
+-echo $ECHO_N "checking for __attribute__... $ECHO_C" >&6
+-if test "${ac_cv___attribute__+set}" = set; then
++depcc="$CC"
++depcpp="$CPP"
++echo "configure:2440: checking dependency style of $depcc" >&5
++echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
++if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-cat >conftest.$ac_ext <<_ACEOF
+-#line 3154 "configure"
+-#include "confdefs.h"
++if test -z "$AMDEP"; then
++  echo '#include "conftest.h"' > conftest.c
++  echo 'int i;' > conftest.h
+ 
+-#include <stdlib.h>
++  am_cv_CC_dependencies_compiler_type=none
++  for depmode in `sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < "$am_depcomp"`; do
++    case "$depmode" in
++    nosideeffect)
++      # after this tag, mechanisms are not by side-effect, so they'll
++      # only be used when explicitly requested
++      if test "x$enable_dependency_tracking" = xyes; then
++	continue
++      else
++	break
++      fi
++      ;;
++    none) break ;;
++    esac
++    # We check with `-c' and `-o' for the sake of the "dashmstdout"
++    # mode.  It turns out that the SunPro C++ compiler does not properly
++    # handle `-M -o', and we need to detect this.
++    if depmode="$depmode" \
++       source=conftest.c object=conftest.o \
++       depfile=conftest.Po tmpdepfile=conftest.TPo \
++       $SHELL $am_depcomp $depcc -c conftest.c -o conftest.o 2>/dev/null &&
++       grep conftest.h conftest.Po > /dev/null 2>&1; then
++      am_cv_CC_dependencies_compiler_type="$depmode"
++      break
++    fi
++  done
+ 
+-int
+-main ()
+-{
++  rm -f conftest.*
++else
++  am_cv_CC_dependencies_compiler_type=none
++fi
+ 
+-static void foo(void) __attribute__ ((noreturn));
++fi
+ 
+-static void
+-foo(void)
+-{
+-  exit(1);
+-}
++echo "configure:2484: result: $am_cv_CC_dependencies_compiler_type" >&5
++echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
++CCDEPMODE="depmode=$am_cv_CC_dependencies_compiler_type"
+ 
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:3176: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:3179: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:3182: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:3185: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
+-  ac_cv___attribute__=yes
++# Make sure we can run config.sub.
++$ac_config_sub sun4 >/dev/null 2>&1 ||
++  { echo "configure: error: cannot run $ac_config_sub" >&2; exit 1; }
++
++echo "configure:2492: checking build system type" >&5
++echo $ECHO_N "checking build system type... $ECHO_C" >&6
++if test "${ac_cv_build+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv___attribute__=no
++  ac_cv_build_alias=$build_alias
++test -z "$ac_cv_build_alias" &&
++  ac_cv_build_alias=`$ac_config_guess`
++test -z "$ac_cv_build_alias" &&
++  { echo "configure: error: cannot guess build type; you must specify one" >&2; exit 1; }
++ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || exit 1
++
+ fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
++echo "configure:2505: result: $ac_cv_build" >&5
++echo "${ECHO_T}$ac_cv_build" >&6
++build=$ac_cv_build
++build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
++build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
++build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
++
++echo "configure:2512: checking host system type" >&5
++echo $ECHO_N "checking host system type... $ECHO_C" >&6
++if test "${ac_cv_host+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_cv_host_alias=$host_alias
++test -z "$ac_cv_host_alias" &&
++  ac_cv_host_alias=$ac_cv_build_alias
++ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || exit 1
++
+ fi
++echo "configure:2523: result: $ac_cv_host" >&5
++echo "${ECHO_T}$ac_cv_host" >&6
++host=$ac_cv_host
++host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
++host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
++host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
+ 
+-if test "$ac_cv___attribute__" = "yes"; then
++CANONICAL_HOST=$host
+ 
+-cat >>confdefs.h <<\EOF
+-#define HAVE___ATTRIBUTE__ 1
++sunos=no
++case "$host" in
++*-*-sunos4*)
++	sunos=40
++	;;
++*-*-solaris2.7)
++	sunos=57
++	;;
++*-*-solaris2.8)
++	sunos=58
++	;;
++*-*-solaris2*)
++	sunos=50
++	;;
++esac
++if test "$sunos" != no; then
++	
++cat >>confdefs.h <<EOF
++#define SunOS $sunos
+ EOF
+ 
+ fi
+-echo "$as_me:3203: result: $ac_cv___attribute__" >&5
+-echo "${ECHO_T}$ac_cv___attribute__" >&6
+ 
+-# Check whether --enable-shared or --disable-shared was given.
+-if test "${enable_shared+set}" = set; then
+-  enableval="$enable_shared"
+-  p=${PACKAGE-default}
+-case $enableval in
+-yes) enable_shared=yes ;;
+-no) enable_shared=no ;;
+-*)
+-  enable_shared=no
+-  # Look at the argument we got.  We use all the common list separators.
+-  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
+-  for pkg in $enableval; do
+-    if test "X$pkg" = "X$p"; then
+-      enable_shared=yes
+-    fi
+-  done
+-  IFS="$ac_save_ifs"
+-  ;;
+-esac
+-else
+-  enable_shared=no
+-fi;
+-# Check whether --enable-static or --disable-static was given.
+-if test "${enable_static+set}" = set; then
+-  enableval="$enable_static"
+-  p=${PACKAGE-default}
+-case $enableval in
+-yes) enable_static=yes ;;
+-no) enable_static=no ;;
+-*)
+-  enable_static=no
+-  # Look at the argument we got.  We use all the common list separators.
+-  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
+-  for pkg in $enableval; do
+-    if test "X$pkg" = "X$p"; then
+-      enable_static=yes
+-    fi
+-  done
+-  IFS="$ac_save_ifs"
+-  ;;
+-esac
+-else
+-  enable_static=yes
+-fi;
+-# Check whether --enable-fast-install or --disable-fast-install was given.
+-if test "${enable_fast_install+set}" = set; then
+-  enableval="$enable_fast_install"
+-  p=${PACKAGE-default}
+-case $enableval in
+-yes) enable_fast_install=yes ;;
+-no) enable_fast_install=no ;;
+-*)
+-  enable_fast_install=no
+-  # Look at the argument we got.  We use all the common list separators.
+-  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
+-  for pkg in $enableval; do
+-    if test "X$pkg" = "X$p"; then
+-      enable_fast_install=yes
+-    fi
+-  done
+-  IFS="$ac_save_ifs"
+-  ;;
++aix=no
++case "$host" in
++*-*-aix3*)
++	aix=3
++	;;
++*-*-aix4*)
++	aix=4
++	;;
+ esac
+-else
+-  enable_fast_install=yes
+-fi;
+ 
+-# Check whether --with-gnu-ld or --without-gnu-ld was given.
+-if test "${with_gnu_ld+set}" = set; then
+-  withval="$with_gnu_ld"
+-  test "$withval" = no || with_gnu_ld=yes
+-else
+-  with_gnu_ld=no
+-fi;
+-ac_prog=ld
+-if test "$GCC" = yes; then
+-  # Check if gcc -print-prog-name=ld gives a path.
+-  echo "$as_me:3283: checking for ld used by GCC" >&5
+-echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
+-  case $host in
+-  *-*-mingw*)
+-    # gcc leaves a trailing carriage return which upsets mingw
+-    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
+-  *)
+-    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
+-  esac
+-  case $ac_prog in
+-    # Accept absolute paths.
+-    [\\/]* | [A-Za-z]:[\\/]*)
+-      re_direlt='/[^/][^/]*/\.\./'
+-      # Canonicalize the path of ld
+-      ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
+-      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
+-	ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
+-      done
+-      test -z "$LD" && LD="$ac_prog"
+-      ;;
+-  "")
+-    # If it fails, then pretend we aren't using GCC.
+-    ac_prog=ld
+-    ;;
+-  *)
+-    # If it is relative, then search for the first ld in PATH.
+-    with_gnu_ld=unknown
+-    ;;
+-  esac
+-elif test "$with_gnu_ld" = yes; then
+-  echo "$as_me:3313: checking for GNU ld" >&5
+-echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
+-else
+-  echo "$as_me:3316: checking for non-GNU ld" >&5
+-echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
+-fi
+-if test "${lt_cv_path_LD+set}" = set; then
++#test -z "$CFLAGS" && CFLAGS="-g"
++
++for ac_prog in 'bison -y' byacc
++do
++  # Extract the first word of "$ac_prog", so it can be a program name with args.
++set dummy $ac_prog; ac_word=$2
++echo "configure:2571: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_YACC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  if test -z "$LD"; then
+-  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
+-  for ac_dir in $PATH; do
+-    test -z "$ac_dir" && ac_dir=.
+-    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
+-      lt_cv_path_LD="$ac_dir/$ac_prog"
+-      # Check to see if the program is GNU ld.  I'd rather use --version,
+-      # but apparently some GNU ld's only accept -v.
+-      # Break only if it was the GNU/non-GNU ld that we prefer.
+-      if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
+-	test "$with_gnu_ld" != no && break
+-      else
+-	test "$with_gnu_ld" != yes && break
+-      fi
+-    fi
+-  done
+-  IFS="$ac_save_ifs"
++  if test -n "$YACC"; then
++  ac_cv_prog_YACC="$YACC" # Let the user override the test.
+ else
+-  lt_cv_path_LD="$LD" # Let the user override the test with a path.
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
++  IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_YACC="$ac_prog"
++break
++done
++
+ fi
+ fi
+-
+-LD="$lt_cv_path_LD"
+-if test -n "$LD"; then
+-  echo "$as_me:3346: result: $LD" >&5
+-echo "${ECHO_T}$LD" >&6
++YACC=$ac_cv_prog_YACC
++if test -n "$YACC"; then
++  echo "configure:2593: result: $YACC" >&5
++echo "${ECHO_T}$YACC" >&6
+ else
+-  echo "$as_me:3349: result: no" >&5
++  echo "configure:2596: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+-test -z "$LD" && { { echo "$as_me:3352: error: no acceptable ld found in \$PATH" >&5
+-echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
+-   { (exit 1); exit 1; }; }
+-echo "$as_me:3355: checking if the linker ($LD) is GNU ld" >&5
+-echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
+-if test "${lt_cv_prog_gnu_ld+set}" = set; then
++
++  test -n "$YACC" && break
++done
++test -n "$YACC" || YACC="yacc"
++
++for ac_prog in flex lex
++do
++  # Extract the first word of "$ac_prog", so it can be a program name with args.
++set dummy $ac_prog; ac_word=$2
++echo "configure:2608: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_LEX+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
+-if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
+-  lt_cv_prog_gnu_ld=yes
++  if test -n "$LEX"; then
++  ac_cv_prog_LEX="$LEX" # Let the user override the test.
+ else
+-  lt_cv_prog_gnu_ld=no
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
++  IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_LEX="$ac_prog"
++break
++done
++
+ fi
+ fi
+-echo "$as_me:3367: result: $lt_cv_prog_gnu_ld" >&5
+-echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
+-with_gnu_ld=$lt_cv_prog_gnu_ld
+-
+-echo "$as_me:3371: checking for $LD option to reload object files" >&5
+-echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
+-if test "${lt_cv_ld_reload_flag+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
++LEX=$ac_cv_prog_LEX
++if test -n "$LEX"; then
++  echo "configure:2630: result: $LEX" >&5
++echo "${ECHO_T}$LEX" >&6
+ else
+-  lt_cv_ld_reload_flag='-r'
++  echo "configure:2633: result: no" >&5
++echo "${ECHO_T}no" >&6
+ fi
+-echo "$as_me:3378: result: $lt_cv_ld_reload_flag" >&5
+-echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
+-reload_flag=$lt_cv_ld_reload_flag
+-test -n "$reload_flag" && reload_flag=" $reload_flag"
+ 
+-echo "$as_me:3383: checking for BSD-compatible nm" >&5
+-echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
+-if test "${lt_cv_path_NM+set}" = set; then
++  test -n "$LEX" && break
++done
++test -n "$LEX" || LEX="${am_missing_run}flex"
++
++for ac_prog in flex lex
++do
++  # Extract the first word of "$ac_prog", so it can be a program name with args.
++set dummy $ac_prog; ac_word=$2
++echo "configure:2645: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_LEX+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  if test -n "$NM"; then
+-  # Let the user override the test.
+-  lt_cv_path_NM="$NM"
++  if test -n "$LEX"; then
++  ac_cv_prog_LEX="$LEX" # Let the user override the test.
+ else
+-  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
+-  for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
+-    test -z "$ac_dir" && ac_dir=.
+-    tmp_nm=$ac_dir/${ac_tool_prefix}nm
+-    if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
+-      # Check to see if the nm accepts a BSD-compat flag.
+-      # Adding the `sed 1q' prevents false positives on HP-UX, which says:
+-      #   nm: unknown option "B" ignored
+-      # Tru64's nm complains that /dev/null is an invalid object file
+-      if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
+-	lt_cv_path_NM="$tmp_nm -B"
+-	break
+-      elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
+-	lt_cv_path_NM="$tmp_nm -p"
+-	break
+-      else
+-	lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
+-	continue # so that we can try to find one that supports BSD flags
+-      fi
+-    fi
+-  done
+-  IFS="$ac_save_ifs"
+-  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
++  IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_LEX="$ac_prog"
++break
++done
++
+ fi
+ fi
+-
+-NM="$lt_cv_path_NM"
+-echo "$as_me:3419: result: $NM" >&5
+-echo "${ECHO_T}$NM" >&6
+-
+-echo "$as_me:3422: checking whether ln -s works" >&5
+-echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
+-LN_S=$as_ln_s
+-if test "$LN_S" = "ln -s"; then
+-  echo "$as_me:3426: result: yes" >&5
+-echo "${ECHO_T}yes" >&6
++LEX=$ac_cv_prog_LEX
++if test -n "$LEX"; then
++  echo "configure:2667: result: $LEX" >&5
++echo "${ECHO_T}$LEX" >&6
+ else
+-  echo "$as_me:3429: result: no, using $LN_S" >&5
+-echo "${ECHO_T}no, using $LN_S" >&6
++  echo "configure:2670: result: no" >&5
++echo "${ECHO_T}no" >&6
+ fi
+ 
+-echo "$as_me:3433: checking how to recognise dependant libraries" >&5
+-echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
+-if test "${lt_cv_deplibs_check_method+set}" = set; then
++  test -n "$LEX" && break
++done
++test -n "$LEX" || LEX=":"
++
++if test -z "$LEXLIB"
++then
++
++echo "configure:2681: checking for yywrap in -lfl" >&5
++echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
++if test "${ac_cv_lib_fl_yywrap+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  lt_cv_file_magic_cmd='$MAGIC_CMD'
+-lt_cv_file_magic_test_file=
+-lt_cv_deplibs_check_method='unknown'
+-# Need to set the preceding variable on all platforms that support
+-# interlibrary dependencies.
+-# 'none' -- dependencies not supported.
+-# `unknown' -- same as none, but documents that we really don't know.
+-# 'pass_all' -- all dependencies passed with no checks.
+-# 'test_compile' -- check by making test program.
+-# ['file_magic [regex]'] -- check by looking for files in library path
+-# which responds to the $file_magic_cmd with a given egrep regex.
+-# If you have `file' or equivalent on your system and you're not sure
+-# whether `pass_all' will *always* work, you probably want this one.
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-lfl  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line 2689 "configure"
++#include "confdefs.h"
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char yywrap ();
++int
++main ()
++{
++yywrap ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:2708: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  ac_cv_lib_fl_yywrap=yes
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_lib_fl_yywrap=no
++fi
++rm -f conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "configure:2718: result: $ac_cv_lib_fl_yywrap" >&5
++echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
++if test $ac_cv_lib_fl_yywrap = yes; then
++  LEXLIB="-lfl"
++else
++
++echo "configure:2724: checking for yywrap in -ll" >&5
++echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
++if test "${ac_cv_lib_l_yywrap+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ll  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line 2732 "configure"
++#include "confdefs.h"
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char yywrap ();
++int
++main ()
++{
++yywrap ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:2751: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  ac_cv_lib_l_yywrap=yes
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_lib_l_yywrap=no
++fi
++rm -f conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "configure:2761: result: $ac_cv_lib_l_yywrap" >&5
++echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
++if test $ac_cv_lib_l_yywrap = yes; then
++  LEXLIB="-ll"
++fi
++
++fi
++
++fi
++
++if test "x$LEX" != "x:"; then
++  echo "configure:2772: checking lex output file root" >&5
++echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
++if test "${ac_cv_prog_lex_root+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  # The minimal lex program is just a single line: %%.  But some broken lexes
++# (Solaris, I think it was) want two %% lines, so accommodate them.
++echo '%%
++%%' | $LEX
++if test -f lex.yy.c; then
++  ac_cv_prog_lex_root=lex.yy
++elif test -f lexyy.c; then
++  ac_cv_prog_lex_root=lexyy
++else
++  { echo "configure: error: cannot find output from $LEX; giving up" >&2; exit 1; }
++fi
++fi
++echo "configure:2789: result: $ac_cv_prog_lex_root" >&5
++echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
++LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
++
++echo "configure:2793: checking whether yytext is a pointer" >&5
++echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
++if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  # POSIX says lex can declare yytext either as a pointer or an array; the
++# default is implementation-dependent. Figure out which it is, since
++# not all implementations provide the %pointer and %array declarations.
++ac_cv_prog_lex_yytext_pointer=no
++echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
++ac_save_LIBS=$LIBS
++LIBS="$LIBS $LEXLIB"
++cat >conftest.$ac_ext <<_ACEOF
++`cat $LEX_OUTPUT_ROOT.c`
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:2809: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  ac_cv_prog_lex_yytext_pointer=yes
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++fi
++rm -f conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_save_LIBS
++rm -f "${LEX_OUTPUT_ROOT}.c"
++
++fi
++echo "configure:2820: result: $ac_cv_prog_lex_yytext_pointer" >&5
++echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
++if test $ac_cv_prog_lex_yytext_pointer = yes; then
++
++cat >>confdefs.h <<\EOF
++#define YYTEXT_POINTER 1
++EOF
++
++fi
++
++fi
++
++if test -n "$ac_tool_prefix"; then
++  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
++set dummy ${ac_tool_prefix}ranlib; ac_word=$2
++echo "configure:2835: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_RANLIB+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$RANLIB"; then
++  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
++else
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
++  IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
++break
++done
++
++fi
++fi
++RANLIB=$ac_cv_prog_RANLIB
++if test -n "$RANLIB"; then
++  echo "configure:2857: result: $RANLIB" >&5
++echo "${ECHO_T}$RANLIB" >&6
++else
++  echo "configure:2860: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++fi
++if test -z "$ac_cv_prog_RANLIB"; then
++  ac_ct_RANLIB=$RANLIB
++  # Extract the first word of "ranlib", so it can be a program name with args.
++set dummy ranlib; ac_word=$2
++echo "configure:2869: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$ac_ct_RANLIB"; then
++  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
++else
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
++  IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_ac_ct_RANLIB="ranlib"
++break
++done
++
++  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
++fi
++fi
++ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
++if test -n "$ac_ct_RANLIB"; then
++  echo "configure:2892: result: $ac_ct_RANLIB" >&5
++echo "${ECHO_T}$ac_ct_RANLIB" >&6
++else
++  echo "configure:2895: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  RANLIB=$ac_ct_RANLIB
++fi
++
++for ac_prog in mawk gawk nawk awk
++do
++  # Extract the first word of "$ac_prog", so it can be a program name with args.
++set dummy $ac_prog; ac_word=$2
++echo "configure:2906: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_AWK+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$AWK"; then
++  ac_cv_prog_AWK="$AWK" # Let the user override the test.
++else
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
++  IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_AWK="$ac_prog"
++break
++done
++
++fi
++fi
++AWK=$ac_cv_prog_AWK
++if test -n "$AWK"; then
++  echo "configure:2928: result: $AWK" >&5
++echo "${ECHO_T}$AWK" >&6
++else
++  echo "configure:2931: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  test -n "$AWK" && break
++done
++
++echo "configure:2938: checking for ln -s or something else" >&5
++echo $ECHO_N "checking for ln -s or something else... $ECHO_C" >&6
++if test "${ac_cv_prog_LN_S+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  rm -f conftestdata
++if ln -s X conftestdata 2>/dev/null
++then
++  rm -f conftestdata
++  ac_cv_prog_LN_S="ln -s"
++else
++  touch conftestdata1
++  if ln conftestdata1 conftestdata2; then
++    rm -f conftestdata*
++    ac_cv_prog_LN_S=ln
++  else
++    ac_cv_prog_LN_S=cp
++  fi
++fi
++fi
++LN_S="$ac_cv_prog_LN_S"
++echo "configure:2959: result: $ac_cv_prog_LN_S" >&5
++echo "${ECHO_T}$ac_cv_prog_LN_S" >&6
++
++# Check whether --with-mips_abi or --without-mips_abi was given.
++if test "${with_mips_abi+set}" = set; then
++  withval="$with_mips_abi"
++
++fi;
++
++case "$host_os" in
++irix*)
++with_mips_abi="${with_mips_abi:-yes}"
++if test -n "$GCC"; then
++
++# GCC < 2.8 only supports the O32 ABI. GCC >= 2.8 has a flag to select
++# which ABI to use, but only supports (as of 2.8.1) the N32 and 64 ABIs.
++#
++# Default to N32, but if GCC doesn't grok -mabi=n32, we assume an old
++# GCC and revert back to O32. The same goes if O32 is asked for - old
++# GCCs doesn't like the -mabi option, and new GCCs can't output O32.
++#
++# Don't you just love *all* the different SGI ABIs?
++
++case "${with_mips_abi}" in
++        32|o32) abi='-mabi=32';  abilibdirext=''     ;;
++       n32|yes) abi='-mabi=n32'; abilibdirext='32'  ;;
++        64) abi='-mabi=64';  abilibdirext='64'   ;;
++	no) abi=''; abilibdirext='';;
++         *) { echo "configure: error: \"Invalid ABI specified\"" >&2; exit 1; } ;;
++esac
++if test -n "$abi" ; then
++ac_foo=krb_cv_gcc_`echo $abi | tr =- __`
++echo "configure:2991: checking if $CC supports the $abi option" >&5
++echo $ECHO_N "checking if $CC supports the $abi option... $ECHO_C" >&6
++if eval "test \"\${$ac_foo+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++
++save_CFLAGS="$CFLAGS"
++CFLAGS="$CFLAGS $abi"
++cat >conftest.$ac_ext <<_ACEOF
++#line 3000 "configure"
++#include "confdefs.h"
++
++int
++main ()
++{
++int x;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:3012: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++  eval $ac_foo=yes
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval $ac_foo=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++CFLAGS="$save_CFLAGS"
++
++fi
++
++ac_res=`eval echo \\\$$ac_foo`
++echo "configure:3025: result: $ac_res" >&5
++echo "${ECHO_T}$ac_res" >&6
++if test $ac_res = no; then
++# Try to figure out why that failed...
++case $abi in
++	-mabi=32)
++	save_CFLAGS="$CFLAGS"
++	CFLAGS="$CFLAGS -mabi=n32"
++	cat >conftest.$ac_ext <<_ACEOF
++#line 3034 "configure"
++#include "confdefs.h"
++
++int
++main ()
++{
++int x;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:3046: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++  ac_res=yes
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_res=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++	CLAGS="$save_CFLAGS"
++	if test $ac_res = yes; then
++		# New GCC
++		{ echo "configure: error: $CC does not support the $with_mips_abi ABI" >&2; exit 1; }
++	fi
++	# Old GCC
++	abi=''
++	abilibdirext=''
++	;;
++	-mabi=n32|-mabi=64)
++		if test $with_mips_abi = yes; then
++			# Old GCC, default to O32
++			abi=''
++			abilibdirext=''
++		else
++			# Some broken GCC
++			{ echo "configure: error: $CC does not support the $with_mips_abi ABI" >&2; exit 1; }
++		fi
++	;;
++esac
++fi #if test $ac_res = no; then
++fi #if test -n "$abi" ; then
++else
++case "${with_mips_abi}" in
++        32|o32) abi='-32'; abilibdirext=''     ;;
++       n32|yes) abi='-n32'; abilibdirext='32'  ;;
++        64) abi='-64'; abilibdirext='64'   ;;
++	no) abi=''; abilibdirext='';;
++         *) { echo "configure: error: \"Invalid ABI specified\"" >&2; exit 1; } ;;
++esac
++fi #if test -n "$GCC"; then
++;;
++esac
++
++CC="$CC $abi"
++libdir="$libdir$abilibdirext"
++
++echo "configure:3091: checking for __attribute__" >&5
++echo $ECHO_N "checking for __attribute__... $ECHO_C" >&6
++if test "${ac_cv___attribute__+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++
++cat >conftest.$ac_ext <<_ACEOF
++#line 3098 "configure"
++#include "confdefs.h"
++
++#include <stdlib.h>
++
++int
++main ()
++{
++
++static void foo(void) __attribute__ ((noreturn));
++
++static void
++foo(void)
++{
++  exit(1);
++}
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:3120: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++  ac_cv___attribute__=yes
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv___attribute__=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++
++if test "$ac_cv___attribute__" = "yes"; then
++
++cat >>confdefs.h <<\EOF
++#define HAVE___ATTRIBUTE__ 1
++EOF
++
++fi
++echo "configure:3137: result: $ac_cv___attribute__" >&5
++echo "${ECHO_T}$ac_cv___attribute__" >&6
++
++# Find the correct PATH separator.  Usually this is `:', but
++# DJGPP uses `;' like DOS.
++if test "X${PATH_SEPARATOR+set}" != Xset; then
++  UNAME=${UNAME-`uname 2>/dev/null`}
++  case X$UNAME in
++    *-DOS) PATH_SEPARATOR=';' ;;
++    *)     PATH_SEPARATOR=':' ;;
++  esac
++fi
++
++# Check whether --enable-shared or --disable-shared was given.
++if test "${enable_shared+set}" = set; then
++  enableval="$enable_shared"
++  p=${PACKAGE-default}
++case $enableval in
++yes) enable_shared=yes ;;
++no) enable_shared=no ;;
++*)
++  enable_shared=no
++  # Look at the argument we got.  We use all the common list separators.
++  IFS="${IFS= 	}"; lt_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:},"
++  for pkg in $enableval; do
++    IFS="$lt_save_ifs"
++    if test "X$pkg" = "X$p"; then
++      enable_shared=yes
++    fi
++  done
++  IFS="$lt_save_ifs"
++  ;;
++esac
++else
++  enable_shared=no
++fi;
++# Check whether --enable-static or --disable-static was given.
++if test "${enable_static+set}" = set; then
++  enableval="$enable_static"
++  p=${PACKAGE-default}
++case $enableval in
++yes) enable_static=yes ;;
++no) enable_static=no ;;
++*)
++  enable_static=no
++  # Look at the argument we got.  We use all the common list separators.
++  IFS="${IFS= 	}"; lt_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:},"
++  for pkg in $enableval; do
++    IFS="$lt_save_ifs"
++    if test "X$pkg" = "X$p"; then
++      enable_static=yes
++    fi
++  done
++  IFS="$lt_save_ifs"
++  ;;
++esac
++else
++  enable_static=yes
++fi;
++# Check whether --enable-fast-install or --disable-fast-install was given.
++if test "${enable_fast_install+set}" = set; then
++  enableval="$enable_fast_install"
++  p=${PACKAGE-default}
++case $enableval in
++yes) enable_fast_install=yes ;;
++no) enable_fast_install=no ;;
++*)
++  enable_fast_install=no
++  # Look at the argument we got.  We use all the common list separators.
++  IFS="${IFS= 	}"; lt_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:},"
++  for pkg in $enableval; do
++    IFS="$lt_save_ifs"
++    if test "X$pkg" = "X$p"; then
++      enable_fast_install=yes
++    fi
++  done
++  IFS="$lt_save_ifs"
++  ;;
++esac
++else
++  enable_fast_install=yes
++fi;
++
++# Check whether --with-gnu-ld or --without-gnu-ld was given.
++if test "${with_gnu_ld+set}" = set; then
++  withval="$with_gnu_ld"
++  test "$withval" = no || with_gnu_ld=yes
++else
++  with_gnu_ld=no
++fi;
++ac_prog=ld
++if test "$GCC" = yes; then
++  # Check if gcc -print-prog-name=ld gives a path.
++  echo "configure:3230: checking for ld used by GCC" >&5
++echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
++  case $host in
++  *-*-mingw*)
++    # gcc leaves a trailing carriage return which upsets mingw
++    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
++  *)
++    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
++  esac
++  case $ac_prog in
++    # Accept absolute paths.
++    [\\/]* | ?:[\\/]*)
++      re_direlt='/[^/][^/]*/\.\./'
++      # Canonicalize the path of ld
++      ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
++      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
++	ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
++      done
++      test -z "$LD" && LD="$ac_prog"
++      ;;
++  "")
++    # If it fails, then pretend we aren't using GCC.
++    ac_prog=ld
++    ;;
++  *)
++    # If it is relative, then search for the first ld in PATH.
++    with_gnu_ld=unknown
++    ;;
++  esac
++elif test "$with_gnu_ld" = yes; then
++  echo "configure:3260: checking for GNU ld" >&5
++echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
++else
++  echo "configure:3263: checking for non-GNU ld" >&5
++echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
++fi
++if test "${lt_cv_path_LD+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -z "$LD"; then
++  IFS="${IFS= 	}"; lt_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
++  for ac_dir in $PATH; do
++    IFS="$lt_save_ifs"
++    test -z "$ac_dir" && ac_dir=.
++    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
++      lt_cv_path_LD="$ac_dir/$ac_prog"
++      # Check to see if the program is GNU ld.  I'd rather use --version,
++      # but apparently some GNU ld's only accept -v.
++      # Break only if it was the GNU/non-GNU ld that we prefer.
++      if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
++	test "$with_gnu_ld" != no && break
++      else
++	test "$with_gnu_ld" != yes && break
++      fi
++    fi
++  done
++  IFS="$lt_save_ifs"
++else
++  lt_cv_path_LD="$LD" # Let the user override the test with a path.
++fi
++fi
++
++LD="$lt_cv_path_LD"
++if test -n "$LD"; then
++  echo "configure:3294: result: $LD" >&5
++echo "${ECHO_T}$LD" >&6
++else
++  echo "configure:3297: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" >&2; exit 1; }
++echo "configure:3301: checking if the linker ($LD) is GNU ld" >&5
++echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
++if test "${lt_cv_prog_gnu_ld+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
++if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
++  lt_cv_prog_gnu_ld=yes
++else
++  lt_cv_prog_gnu_ld=no
++fi
++fi
++echo "configure:3313: result: $lt_cv_prog_gnu_ld" >&5
++echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
++with_gnu_ld=$lt_cv_prog_gnu_ld
++
++echo "configure:3317: checking for $LD option to reload object files" >&5
++echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
++if test "${lt_cv_ld_reload_flag+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  lt_cv_ld_reload_flag='-r'
++fi
++echo "configure:3324: result: $lt_cv_ld_reload_flag" >&5
++echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
++reload_flag=$lt_cv_ld_reload_flag
++case $reload_flag in
++"" | " "*) ;;
++*) reload_flag=" $reload_flag" ;;
++esac
++reload_cmds='$LD$reload_flag -o $output$reload_objs'
++
++echo "configure:3333: checking for BSD-compatible nm" >&5
++echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
++if test "${lt_cv_path_NM+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$NM"; then
++  # Let the user override the test.
++  lt_cv_path_NM="$NM"
++else
++  IFS="${IFS= 	}"; lt_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
++  for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
++    IFS="$lt_save_ifs"
++    test -z "$ac_dir" && ac_dir=.
++    tmp_nm=$ac_dir/${ac_tool_prefix}nm
++    if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
++      # Check to see if the nm accepts a BSD-compat flag.
++      # Adding the `sed 1q' prevents false positives on HP-UX, which says:
++      #   nm: unknown option "B" ignored
++      # Tru64's nm complains that /dev/null is an invalid object file
++      if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
++	lt_cv_path_NM="$tmp_nm -B"
++	break
++      elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
++	lt_cv_path_NM="$tmp_nm -p"
++	break
++      else
++	lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
++	continue # so that we can try to find one that supports BSD flags
++      fi
++    fi
++  done
++  IFS="$lt_save_ifs"
++  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
++fi
++fi
++echo "configure:3368: result: $lt_cv_path_NM" >&5
++echo "${ECHO_T}$lt_cv_path_NM" >&6
++NM="$lt_cv_path_NM"
++
++echo "configure:3372: checking whether ln -s works" >&5
++echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
++if test "${ac_cv_prog_LN_S+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  rm -f conftest.sym conftest.file
++echo >conftest.file
++if ln -s conftest.file conftest.sym 2>/dev/null; then
++  ac_cv_prog_LN_S="ln -s"
++elif ln conftest.file conftest.sym 2>/dev/null; then
++  ac_cv_prog_LN_S=ln
++else
++  ac_cv_prog_LN_S=cp
++fi
++rm -f conftest.sym conftest.file
++fi
++LN_S=$ac_cv_prog_LN_S
++
++if test "$ac_cv_prog_LN_S" = "ln -s"; then
++  echo "configure:3391: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++else
++  echo "configure:3394: result: no, using $LN_S" >&5
++echo "${ECHO_T}no, using $LN_S" >&6
++fi
++
++echo "configure:3398: checking how to recognise dependant libraries" >&5
++echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
++if test "${lt_cv_deplibs_check_method+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  lt_cv_file_magic_cmd='$MAGIC_CMD'
++lt_cv_file_magic_test_file=
++lt_cv_deplibs_check_method='unknown'
++# Need to set the preceding variable on all platforms that support
++# interlibrary dependencies.
++# 'none' -- dependencies not supported.
++# `unknown' -- same as none, but documents that we really don't know.
++# 'pass_all' -- all dependencies passed with no checks.
++# 'test_compile' -- check by making test program.
++# ['file_magic [regex]'] -- check by looking for files in library path
++# which responds to the $file_magic_cmd with a given egrep regex.
++# If you have `file' or equivalent on your system and you're not sure
++# whether `pass_all' will *always* work, you probably want this one.
++
++case $host_os in
++aix4* | aix5*)
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++
++beos*)
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++
++bsdi4*)
++  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
++  lt_cv_file_magic_cmd='/usr/bin/file -L'
++  lt_cv_file_magic_test_file=/shlib/libc.so
++  ;;
++
++cygwin* | mingw* | pw32*)
++  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
++  lt_cv_file_magic_cmd='$OBJDUMP -f'
++  ;;
++
++darwin* | rhapsody*)
++  lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
++  lt_cv_file_magic_cmd='/usr/bin/file -L'
++  case "$host_os" in
++  rhapsody* | darwin1.012)
++    lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System`
++    ;;
++  *) # Darwin 1.3 on
++    lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
++    ;;
++  esac
++  ;;
++
++freebsd*)
++  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
++    case $host_cpu in
++    i*86 )
++      # Not sure whether the presence of OpenBSD here was a mistake.
++      # Let's accept both of them until this is cleared up.
++      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
++      lt_cv_file_magic_cmd=/usr/bin/file
++      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
++      ;;
++    esac
++  else
++    lt_cv_deplibs_check_method=pass_all
++  fi
++  ;;
++
++gnu*)
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++
++hpux10.20* | hpux11*)
++  lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
++  lt_cv_file_magic_cmd=/usr/bin/file
++  lt_cv_file_magic_test_file=/usr/lib/libc.sl
++  ;;
++
++irix5* | irix6*)
++  case $host_os in
++  irix5*)
++    # this will be overridden with pass_all, but let us keep it just in case
++    lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
++    ;;
++  *)
++    case $LD in
++    *-32|*"-32 ") libmagic=32-bit;;
++    *-n32|*"-n32 ") libmagic=N32;;
++    *-64|*"-64 ") libmagic=64-bit;;
++    *) libmagic=never-match;;
++    esac
++    # this will be overridden with pass_all, but let us keep it just in case
++    lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
++    ;;
++  esac
++  lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++
++# This must be Linux ELF.
++linux*)
++  case $host_cpu in
++  alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* )
++    lt_cv_deplibs_check_method=pass_all ;;
++  *)
++    # glibc up to 2.1.1 does not perform some relocations on ARM
++    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
++  esac
++  lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
++  ;;
++
++netbsd*)
++  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
++    lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
++  else
++    lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
++  fi
++  ;;
++
++newos6*)
++  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
++  lt_cv_file_magic_cmd=/usr/bin/file
++  lt_cv_file_magic_test_file=/usr/lib/libnls.so
++  ;;
++
++nto-qnx)
++  lt_cv_deplibs_check_method=unknown
++  ;;
++
++osf3* | osf4* | osf5*)
++  # this will be overridden with pass_all, but let us keep it just in case
++  lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
++  lt_cv_file_magic_test_file=/shlib/libc.so
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++
++sco3.2v5*)
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++
++solaris*)
++  lt_cv_deplibs_check_method=pass_all
++  lt_cv_file_magic_test_file=/lib/libc.so
++  ;;
++
++sysv5uw[78]* | sysv4*uw2*)
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++
++sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
++  case $host_vendor in
++  motorola)
++    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
++    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
++    ;;
++  ncr)
++    lt_cv_deplibs_check_method=pass_all
++    ;;
++  sequent)
++    lt_cv_file_magic_cmd='/bin/file'
++    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
++    ;;
++  sni)
++    lt_cv_file_magic_cmd='/bin/file'
++    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
++    lt_cv_file_magic_test_file=/lib/libc.so
++    ;;
++  esac
++  ;;
++esac
++
++fi
++echo "configure:3570: result: $lt_cv_deplibs_check_method" >&5
++echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
++file_magic_cmd=$lt_cv_file_magic_cmd
++deplibs_check_method=$lt_cv_deplibs_check_method
++test -z "$deplibs_check_method" && deplibs_check_method=unknown
++
++# If no C compiler was specified, use CC.
++LTCC=${LTCC-"$CC"}
++
++# Allow CC to be a program name with arguments.
++set dummy $CC
++compiler="$2"
++
++# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
++if test "${enable_libtool_lock+set}" = set; then
++  enableval="$enable_libtool_lock"
++
++fi;
++test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
++
++# Some flags need to be propagated to the compiler or linker for good
++# libtool support.
++case $host in
++*-*-irix6*)
++  # Find out which ABI we are using.
++  echo '#line 3595 "configure"' > conftest.$ac_ext
++  if { (eval echo configure:3596: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++    case `/usr/bin/file conftest.$ac_objext` in
++    *32-bit*)
++      LD="${LD-ld} -32"
++      ;;
++    *N32*)
++      LD="${LD-ld} -n32"
++      ;;
++    *64-bit*)
++      LD="${LD-ld} -64"
++      ;;
++    esac
++  fi
++  rm -rf conftest*
++  ;;
++
++*-*-sco3.2v5*)
++  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
++  SAVE_CFLAGS="$CFLAGS"
++  CFLAGS="$CFLAGS -belf"
++  echo "configure:3616: checking whether the C compiler needs -belf" >&5
++echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
++if test "${lt_cv_cc_needs_belf+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='${CC-cc} -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++     cat >conftest.$ac_ext <<_ACEOF
++#line 3628 "configure"
++#include "confdefs.h"
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:3640: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  lt_cv_cc_needs_belf=yes
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  lt_cv_cc_needs_belf=no
++fi
++rm -f conftest$ac_exeext conftest.$ac_ext
++     ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='${CC-cc} -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++fi
++echo "configure:3655: result: $lt_cv_cc_needs_belf" >&5
++echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
++  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
++    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
++    CFLAGS="$SAVE_CFLAGS"
++  fi
++  ;;
++
++esac
++
++need_locks="$enable_libtool_lock"
++
++for ac_header in dlfcn.h
++do
++ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
++
++echo "configure:3671: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$ac_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line 3677 "configure"
++#include "confdefs.h"
++#include <$ac_header>
++
++_ACEOF
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:3683: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++
++if test -z "$ac_cpp_err"; then
++  eval "$ac_ac_Header=yes"
++else
++  cat conftest.err >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_Header=no"
++fi
++rm -f conftest*
++
++fi
++echo "configure:3704: result: `eval echo '${'$ac_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
++if test `eval echo '${'$ac_ac_Header'}'` = yes; then
++  cat >>confdefs.h <<EOF
++#define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
++EOF
++
++fi
++done
++
++echo "configure:3714: checking how to run the C++ preprocessor" >&5
++echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
++ac_ext=cc
++ac_cpp='$CXXCPP $CPPFLAGS'
++ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='${CXX-g++} -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
++if test -z "$CXXCPP"; then
++  if test "${ac_cv_prog_CXXCPP+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++      # Double quotes because CXXCPP needs to be expanded
++    for CXXCPP in "${CXX-g++} -E" "/lib/cpp"
++    do
++      # Use a header file that comes with gcc, so configuring glibc
++# with a fresh cross-compiler works.
++# On the NeXT, cc -E runs the code through the compiler's parser,
++# not just through cpp. "Syntax error" is here to catch this case.
++cat >conftest.$ac_ext <<_ACEOF
++#line 3733 "configure"
++#include "confdefs.h"
++#ifdef __cplusplus
++extern "C" void exit (int);
++#endif
++#include <assert.h>
++Syntax error
++_ACEOF
++ac_cxx_preproc_warn_flag=maybe
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:3743: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
++    ac_cpp_err=$ac_cxx_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++
++# Now check whether non-existent headers can be detected and how
++# Skip if ac_cpp_err is not empty - ac_cpp is broken
++if test -z "$ac_cpp_err"; then
++  cat >conftest.$ac_ext <<_ACEOF
++#line 3757 "configure"
++#include "confdefs.h"
++#ifdef __cplusplus
++extern "C" void exit (int);
++#endif
++#include <ac_nonexistent.h>
++_ACEOF
++  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:3765: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
++    ac_cpp_err=$ac_cxx_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++
++  if test -z "$ac_cpp_err"; then
++    # cannot detect missing includes at all
++    ac_cpp_err=yes
++  else
++    if test "x$ac_cpp_err" = xmaybe; then
++      ac_cxx_preproc_warn_flag=yes
++    else
++      ac_cxx_preproc_warn_flag=
++    fi
++    ac_cpp_err=
++  fi
++fi
++rm -f conftest*
++
++      if test -z "$ac_cpp_err"; then
++        break
++      fi
++    done
++    ac_cv_prog_CXXCPP=$CXXCPP
++
++fi
++  CXXCPP=$ac_cv_prog_CXXCPP
++else
++  # Use a header file that comes with gcc, so configuring glibc
++# with a fresh cross-compiler works.
++# On the NeXT, cc -E runs the code through the compiler's parser,
++# not just through cpp. "Syntax error" is here to catch this case.
++cat >conftest.$ac_ext <<_ACEOF
++#line 3803 "configure"
++#include "confdefs.h"
++#ifdef __cplusplus
++extern "C" void exit (int);
++#endif
++#include <assert.h>
++Syntax error
++_ACEOF
++ac_cxx_preproc_warn_flag=maybe
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:3813: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
++    ac_cpp_err=$ac_cxx_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++
++# Now check whether non-existent headers can be detected and how
++# Skip if ac_cpp_err is not empty - ac_cpp is broken
++if test -z "$ac_cpp_err"; then
++  cat >conftest.$ac_ext <<_ACEOF
++#line 3827 "configure"
++#include "confdefs.h"
++#ifdef __cplusplus
++extern "C" void exit (int);
++#endif
++#include <ac_nonexistent.h>
++_ACEOF
++  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:3835: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
++    ac_cpp_err=$ac_cxx_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++
++  if test -z "$ac_cpp_err"; then
++    # cannot detect missing includes at all
++    ac_cpp_err=yes
++  else
++    if test "x$ac_cpp_err" = xmaybe; then
++      ac_cxx_preproc_warn_flag=yes
++    else
++      ac_cxx_preproc_warn_flag=
++    fi
++    ac_cpp_err=
++  fi
++fi
++rm -f conftest*
++
++  ac_cv_prog_CXXCPP=$CXXCPP
++fi
++echo "configure:3861: result: $CXXCPP" >&5
++echo "${ECHO_T}$CXXCPP" >&6
++if test -n "$ac_cpp_err"; then
++  { echo "configure: error: C++ preprocessor \"$CXXCPP\" fails sanity check" >&2; exit 1; }
++fi
++ac_ext=cc
++ac_cpp='$CXXCPP $CPPFLAGS'
++ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='${CXX-g++} -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
++
++ac_ext=cc
++ac_cpp='$CXXCPP $CPPFLAGS'
++ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='${CXX-g++} -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
++
++if test -n "$ac_tool_prefix"; then
++  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl KCC RCC xlC_r xlC
++  do
++    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
++set dummy $ac_tool_prefix$ac_prog; ac_word=$2
++echo "configure:3883: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_CXX+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$CXX"; then
++  ac_cv_prog_CXX="$CXX" # Let the user override the test.
++else
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
++  IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
++break
++done
++
++fi
++fi
++CXX=$ac_cv_prog_CXX
++if test -n "$CXX"; then
++  echo "configure:3905: result: $CXX" >&5
++echo "${ECHO_T}$CXX" >&6
++else
++  echo "configure:3908: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++    test -n "$CXX" && break
++  done
++fi
++if test -z "$CXX"; then
++  ac_ct_CXX=$CXX
++  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl KCC RCC xlC_r xlC
++do
++  # Extract the first word of "$ac_prog", so it can be a program name with args.
++set dummy $ac_prog; ac_word=$2
++echo "configure:3921: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$ac_ct_CXX"; then
++  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
++else
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
++  IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_ac_ct_CXX="$ac_prog"
++break
++done
++
++fi
++fi
++ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
++if test -n "$ac_ct_CXX"; then
++  echo "configure:3943: result: $ac_ct_CXX" >&5
++echo "${ECHO_T}$ac_ct_CXX" >&6
++else
++  echo "configure:3946: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  test -n "$ac_ct_CXX" && break
++done
++test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
++
++  CXX=$ac_ct_CXX
++fi
++
++echo "configure:3957: checking whether the C++ compiler works" >&5
++echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line 3960 "configure"
++#include "confdefs.h"
++#ifdef __cplusplus
++extern "C" void exit (int);
++#endif
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:3975: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  # FIXME: these cross compiler hacks should be removed for autoconf 3.0
++# If not cross compiling, check that we can run a simple program.
++if test "$cross_compiling" != yes; then
++  if { ac_try='./conftest$ac_exeext'; { (eval echo configure:3979: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; }; then
++    cross_compiling=no
++  else
++    if test "$cross_compiling" = maybe; then
++      cross_compiling=yes
++    else
++      { echo "configure: error: cannot run C++ compiled programs.
++To enable cross compilation, use \`--host'." >&2; exit 1; }
++    fi
++  fi
++fi
++echo "configure:3990: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  echo "configure:3995: result: no" >&5
++echo "${ECHO_T}no" >&6
++{ echo "configure: error: C++ compiler cannot create executables" >&2; exit 77; }
++fi
++rm -f conftest$ac_exeext conftest.$ac_ext
++echo "configure:4000: checking whether we are cross compiling" >&5
++echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
++echo "configure:4002: result: $cross_compiling" >&5
++echo "${ECHO_T}$cross_compiling" >&6
++
++echo "configure:4005: checking whether we are using the GNU C++ compiler" >&5
++echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
++if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line 4011 "configure"
++#include "confdefs.h"
++#ifdef __cplusplus
++extern "C" void exit (int);
++#endif
++#ifndef __GNUC__
++  choke me
++#endif
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:4029: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++  ac_compiler_gnu=yes
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_compiler_gnu=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
++
++fi
++echo "configure:4040: result: $ac_cv_cxx_compiler_gnu" >&5
++echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
++GXX=`test $ac_compiler_gnu = yes && echo yes`
++
++ac_test_CXXFLAGS=${CXXFLAGS+set}
++ac_save_CXXFLAGS=$CXXFLAGS
++CXXFLAGS="-g"
++echo "configure:4047: checking whether ${CXX-g++} accepts -g" >&5
++echo $ECHO_N "checking whether ${CXX-g++} accepts -g... $ECHO_C" >&6
++if test "${ac_cv_prog_cxx_g+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line 4053 "configure"
++#include "confdefs.h"
++#ifdef __cplusplus
++extern "C" void exit (int);
++#endif
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:4068: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++  ac_cv_prog_cxx_g=yes
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_prog_cxx_g=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "configure:4077: result: $ac_cv_prog_cxx_g" >&5
++echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
++if test "$ac_test_CXXFLAGS" = set; then
++  CXXFLAGS=$ac_save_CXXFLAGS
++elif test $ac_cv_prog_cxx_g = yes; then
++  if test "$GXX" = yes; then
++    CXXFLAGS="-g -O2"
++  else
++    CXXFLAGS="-g"
++  fi
++else
++  if test "$GXX" = yes; then
++    CXXFLAGS="-O2"
++  else
++    CXXFLAGS=
++  fi
++fi
++ac_ext=cc
++ac_cpp='$CXXCPP $CPPFLAGS'
++ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='${CXX-g++} -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
++
++depcc="$CXX"
++depcpp="$CXXCPP"
++echo "configure:4102: checking dependency style of $depcc" >&5
++echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
++if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++
++if test -z "$AMDEP"; then
++  echo '#include "conftest.h"' > conftest.c
++  echo 'int i;' > conftest.h
++
++  am_cv_CXX_dependencies_compiler_type=none
++  for depmode in `sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < "$am_depcomp"`; do
++    case "$depmode" in
++    nosideeffect)
++      # after this tag, mechanisms are not by side-effect, so they'll
++      # only be used when explicitly requested
++      if test "x$enable_dependency_tracking" = xyes; then
++	continue
++      else
++	break
++      fi
++      ;;
++    none) break ;;
++    esac
++    # We check with `-c' and `-o' for the sake of the "dashmstdout"
++    # mode.  It turns out that the SunPro C++ compiler does not properly
++    # handle `-M -o', and we need to detect this.
++    if depmode="$depmode" \
++       source=conftest.c object=conftest.o \
++       depfile=conftest.Po tmpdepfile=conftest.TPo \
++       $SHELL $am_depcomp $depcc -c conftest.c -o conftest.o 2>/dev/null &&
++       grep conftest.h conftest.Po > /dev/null 2>&1; then
++      am_cv_CXX_dependencies_compiler_type="$depmode"
++      break
++    fi
++  done
++
++  rm -f conftest.*
++else
++  am_cv_CXX_dependencies_compiler_type=none
++fi
++
++fi
++
++echo "configure:4146: result: $am_cv_CXX_dependencies_compiler_type" >&5
++echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
++CXXDEPMODE="depmode=$am_cv_CXX_dependencies_compiler_type"
++
++ac_ext=cc
++ac_cpp='$CXXCPP $CPPFLAGS'
++ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='${CXX-g++} -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
++
++if test -n "$ac_tool_prefix"; then
++  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl KCC RCC xlC_r xlC
++  do
++    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
++set dummy $ac_tool_prefix$ac_prog; ac_word=$2
++echo "configure:4161: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_CXX+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$CXX"; then
++  ac_cv_prog_CXX="$CXX" # Let the user override the test.
++else
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
++  IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
++break
++done
++
++fi
++fi
++CXX=$ac_cv_prog_CXX
++if test -n "$CXX"; then
++  echo "configure:4183: result: $CXX" >&5
++echo "${ECHO_T}$CXX" >&6
++else
++  echo "configure:4186: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++    test -n "$CXX" && break
++  done
++fi
++if test -z "$CXX"; then
++  ac_ct_CXX=$CXX
++  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl KCC RCC xlC_r xlC
++do
++  # Extract the first word of "$ac_prog", so it can be a program name with args.
++set dummy $ac_prog; ac_word=$2
++echo "configure:4199: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$ac_ct_CXX"; then
++  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
++else
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
++  IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_ac_ct_CXX="$ac_prog"
++break
++done
++
++fi
++fi
++ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
++if test -n "$ac_ct_CXX"; then
++  echo "configure:4221: result: $ac_ct_CXX" >&5
++echo "${ECHO_T}$ac_ct_CXX" >&6
++else
++  echo "configure:4224: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  test -n "$ac_ct_CXX" && break
++done
++test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
++
++  CXX=$ac_ct_CXX
++fi
++
++echo "configure:4235: checking whether the C++ compiler works" >&5
++echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line 4238 "configure"
++#include "confdefs.h"
++#ifdef __cplusplus
++extern "C" void exit (int);
++#endif
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:4253: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  # FIXME: these cross compiler hacks should be removed for autoconf 3.0
++# If not cross compiling, check that we can run a simple program.
++if test "$cross_compiling" != yes; then
++  if { ac_try='./conftest$ac_exeext'; { (eval echo configure:4257: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; }; then
++    cross_compiling=no
++  else
++    if test "$cross_compiling" = maybe; then
++      cross_compiling=yes
++    else
++      { echo "configure: error: cannot run C++ compiled programs.
++To enable cross compilation, use \`--host'." >&2; exit 1; }
++    fi
++  fi
++fi
++echo "configure:4268: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  echo "configure:4273: result: no" >&5
++echo "${ECHO_T}no" >&6
++{ echo "configure: error: C++ compiler cannot create executables" >&2; exit 77; }
++fi
++rm -f conftest$ac_exeext conftest.$ac_ext
++echo "configure:4278: checking whether we are cross compiling" >&5
++echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
++echo "configure:4280: result: $cross_compiling" >&5
++echo "${ECHO_T}$cross_compiling" >&6
++
++echo "configure:4283: checking whether we are using the GNU C++ compiler" >&5
++echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
++if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line 4289 "configure"
++#include "confdefs.h"
++#ifdef __cplusplus
++extern "C" void exit (int);
++#endif
++#ifndef __GNUC__
++  choke me
++#endif
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:4307: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++  ac_compiler_gnu=yes
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_compiler_gnu=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
++
++fi
++echo "configure:4318: result: $ac_cv_cxx_compiler_gnu" >&5
++echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
++GXX=`test $ac_compiler_gnu = yes && echo yes`
++
++ac_test_CXXFLAGS=${CXXFLAGS+set}
++ac_save_CXXFLAGS=$CXXFLAGS
++CXXFLAGS="-g"
++echo "configure:4325: checking whether ${CXX-g++} accepts -g" >&5
++echo $ECHO_N "checking whether ${CXX-g++} accepts -g... $ECHO_C" >&6
++if test "${ac_cv_prog_cxx_g+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line 4331 "configure"
++#include "confdefs.h"
++#ifdef __cplusplus
++extern "C" void exit (int);
++#endif
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:4346: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++  ac_cv_prog_cxx_g=yes
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_prog_cxx_g=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "configure:4355: result: $ac_cv_prog_cxx_g" >&5
++echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
++if test "$ac_test_CXXFLAGS" = set; then
++  CXXFLAGS=$ac_save_CXXFLAGS
++elif test $ac_cv_prog_cxx_g = yes; then
++  if test "$GXX" = yes; then
++    CXXFLAGS="-g -O2"
++  else
++    CXXFLAGS="-g"
++  fi
++else
++  if test "$GXX" = yes; then
++    CXXFLAGS="-O2"
++  else
++    CXXFLAGS=
++  fi
++fi
++ac_ext=cc
++ac_cpp='$CXXCPP $CPPFLAGS'
++ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='${CXX-g++} -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
++
++depcc="$CXX"
++depcpp="$CXXCPP"
++echo "configure:4380: checking dependency style of $depcc" >&5
++echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
++if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++
++if test -z "$AMDEP"; then
++  echo '#include "conftest.h"' > conftest.c
++  echo 'int i;' > conftest.h
++
++  am_cv_CXX_dependencies_compiler_type=none
++  for depmode in `sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < "$am_depcomp"`; do
++    case "$depmode" in
++    nosideeffect)
++      # after this tag, mechanisms are not by side-effect, so they'll
++      # only be used when explicitly requested
++      if test "x$enable_dependency_tracking" = xyes; then
++	continue
++      else
++	break
++      fi
++      ;;
++    none) break ;;
++    esac
++    # We check with `-c' and `-o' for the sake of the "dashmstdout"
++    # mode.  It turns out that the SunPro C++ compiler does not properly
++    # handle `-M -o', and we need to detect this.
++    if depmode="$depmode" \
++       source=conftest.c object=conftest.o \
++       depfile=conftest.Po tmpdepfile=conftest.TPo \
++       $SHELL $am_depcomp $depcc -c conftest.c -o conftest.o 2>/dev/null &&
++       grep conftest.h conftest.Po > /dev/null 2>&1; then
++      am_cv_CXX_dependencies_compiler_type="$depmode"
++      break
++    fi
++  done
++
++  rm -f conftest.*
++else
++  am_cv_CXX_dependencies_compiler_type=none
++fi
++
++fi
++
++echo "configure:4424: result: $am_cv_CXX_dependencies_compiler_type" >&5
++echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
++CXXDEPMODE="depmode=$am_cv_CXX_dependencies_compiler_type"
++
++# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
++
++# find the maximum length of command line arguments
++echo "configure:4431: checking the maximum length of command line arguments" >&5
++echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
++if test "${lt_cv_sys_max_cmd_len+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++    i=0
++  testring="ABCD"
++
++  case $host_os in
++  msdosdjgpp*)
++    # On DJGPP, this test can blow up pretty badly due to problems in libc
++    # (any single argument exceeding 2000 bytes causes a buffer overrun
++    # during glob expansion).  Even if it were fixed, the result of this
++    # check would be larger than it should be.
++    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
++    ;;
++
++  gnu*)
++    # Under GNU Hurd, this test is not required because there is
++    # no limit to the length of command line arguments.
++    # Libtool will interpret -1 as no limit whatsoever
++    lt_cv_sys_max_cmd_len=-1;
++    ;;
++
++  *)
++    # If test is not a shell built-in, we'll probably end up computing a
++    # maximum length that is only half of the actual maximum length, but
++    # we can't tell.
++    while test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \
++               = "XX$testring" &&
++            new_result=`expr "X$testring" : ".*" 2>&1` &&
++            lt_cv_sys_max_cmd_len=$new_result &&
++            test $i != 17 # 1/2 MB should be enough
++    do
++      i=`expr $i + 1`
++      testring=$testring$testring
++    done
++    testring=
++    # add a significant safety factor because C++ compilers can tack on massive
++    # amounts of additional arguments before passing them to the linker.  1/4
++    # should be good.
++    len=`expr $lt_cv_sys_max_cmd_len \/ 4`
++    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len - $len`
++    ;;
++  esac
++
++fi
++
++if test -n $lt_cv_sys_max_cmd_len ; then
++  echo "configure:4480: result: $lt_cv_sys_max_cmd_len" >&5
++echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
++else
++  echo "configure:4483: result: none" >&5
++echo "${ECHO_T}none" >&6
++fi
++
++# Check for command to grab the raw symbol name followed by C symbol from nm.
++echo "configure:4488: checking command to parse $NM output from $compiler object" >&5
++echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
++if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++
++# These are sane defaults that work on at least a few old systems.
++# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
++
++# Character class describing NM global symbol codes.
++symcode='[BCDEGRST]'
++
++# Regexp to match symbols that can be accessed directly from C.
++sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
++
++# Transform the above into a raw symbol and a C symbol.
++symxfrm='\1 \2\3 \3'
++
++# Transform an extracted symbol line into a proper C declaration
++lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'"
++
++# Transform an extracted symbol line into symbol name and symbol address
++lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
++
++# Define system-specific variables.
++case $host_os in
++aix*)
++  symcode='[BCDT]'
++  ;;
++cygwin* | mingw* | pw32*)
++  symcode='[ABCDGISTW]'
++  ;;
++hpux*) # Its linker distinguishes data from code symbols
++  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
++  lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
++  ;;
++irix*)
++  symcode='[BCDEGRST]'
++  ;;
++solaris* | sysv5*)
++  symcode='[BDT]'
++  ;;
++sysv4)
++  symcode='[DFNSTU]'
++  ;;
++esac
++
++# Handle CRLF in mingw tool chain
++opt_cr=
++case $host_os in
++mingw*)
++  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
++  ;;
++esac
++
++# If we're using GNU nm, then use its standard symbol codes.
++if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then
++  symcode='[ABCDGISTW]'
++fi
++
++# Try without a prefix undercore, then with it.
++for ac_symprfx in "" "_"; do
++
++  # Write the raw and C identifiers.
++lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
++
++  # Check to see that the pipe works correctly.
++  pipe_works=no
++
++  rm -f conftest*
++  cat > conftest.$ac_ext <<EOF
++#ifdef __cplusplus
++extern "C" {
++#endif
++char nm_test_var;
++void nm_test_func(){}
++#ifdef __cplusplus
++}
++#endif
++int main(){nm_test_var='a';nm_test_func();return(0);}
++EOF
++
++  if { (eval echo configure:4570: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++    # Now try to grab the symbols.
++    nlist=conftest.nm
++    if { (eval echo configure:4573: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\") >&5; (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5; } && test -s "$nlist"; then
++      # Try sorting and uniquifying the output.
++      if sort "$nlist" | uniq > "$nlist"T; then
++	mv -f "$nlist"T "$nlist"
++      else
++	rm -f "$nlist"T
++      fi
++
++      # Make sure that we snagged all the symbols we need.
++      if egrep ' nm_test_var$' "$nlist" >/dev/null; then
++	if egrep ' nm_test_func$' "$nlist" >/dev/null; then
++	  cat <<EOF > conftest.$ac_ext
++#ifdef __cplusplus
++extern "C" {
++#endif
++
++EOF
++	  # Now generate the symbol file.
++	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext'
++
++	  cat <<EOF >> conftest.$ac_ext
++#if defined (__STDC__) && __STDC__
++# define lt_ptr_t void *
++#else
++# define lt_ptr_t char *
++# define const
++#endif
++
++/* The mapping between symbol names and symbols. */
++const struct {
++  const char *name;
++  lt_ptr_t address;
++}
++lt_preloaded_symbols[] =
++{
++EOF
++	  sed "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" >> conftest.$ac_ext
++	  cat <<\EOF >> conftest.$ac_ext
++  {0, (lt_ptr_t) 0}
++};
++
++#ifdef __cplusplus
++}
++#endif
++EOF
++	  # Now try linking the two files.
++	  mv conftest.$ac_objext conftstm.$ac_objext
++	  lt_save_LIBS="$LIBS"
++	  lt_save_CFLAGS="$CFLAGS"
++	  LIBS="conftstm.$ac_objext"
++	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
++	  if { (eval echo configure:4624: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++	    pipe_works=yes
++	  fi
++	  LIBS="$lt_save_LIBS"
++	  CFLAGS="$lt_save_CFLAGS"
++	else
++	  echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
++	fi
++      else
++	echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD
++      fi
++    else
++      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
++    fi
++  else
++    echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
++    cat conftest.$ac_ext >&5
++  fi
++  rm -f conftest* conftst*
++
++  # Do not use the global_symbol_pipe unless it works.
++  if test "$pipe_works" = yes; then
++    break
++  else
++    lt_cv_sys_global_symbol_pipe=
++  fi
++done
++
++fi
++
++if test -z "$lt_cv_sys_global_symbol_pipe"; then
++  lt_cv_sys_global_symbol_to_cdecl=
++fi
++if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
++  echo "configure:4658: result: failed" >&5
++echo "${ECHO_T}failed" >&6
++else
++  echo "configure:4661: result: ok" >&5
++echo "${ECHO_T}ok" >&6
++fi
++
++echo "configure:4665: checking for objdir" >&5
++echo $ECHO_N "checking for objdir... $ECHO_C" >&6
++if test "${lt_cv_objdir+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  rm -f .libs 2>/dev/null
++mkdir .libs 2>/dev/null
++if test -d .libs; then
++  lt_cv_objdir=.libs
++else
++  # MS-DOS does not allow filenames that begin with a dot.
++  lt_cv_objdir=_libs
++fi
++rmdir .libs 2>/dev/null
++fi
++echo "configure:4680: result: $lt_cv_objdir" >&5
++echo "${ECHO_T}$lt_cv_objdir" >&6
++objdir=$lt_cv_objdir
++
++case $host_os in
++aix3*)
++  # AIX sometimes has problems with the GCC collect2 program.  For some
++  # reason, if we set the COLLECT_NAMES environment variable, the problems
++  # vanish in a puff of smoke.
++  if test "X${COLLECT_NAMES+set}" != Xset; then
++    COLLECT_NAMES=
++    export COLLECT_NAMES
++  fi
++  ;;
++esac
++
++# Sed substitution that helps us do robust quoting.  It backslashifies
++# metacharacters that are still active within double-quoted strings.
++Xsed='sed -e s/^X//'
++sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
++
++# Same as above, but do not quote variable references.
++double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
++
++# Sed substitution to delay expansion of an escaped shell variable in a
++# double_quote_subst'ed string.
++delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
++
++# Sed substitution to avoid accidental globbing in evaled expressions
++no_glob_subst='s/\*/\\\*/g'
++
++# Constants:
++rm="rm -f"
++
++# Global variables:
++default_ofile=libtool
++can_build_shared=yes
++
++# All known linkers require a `.a' archive for static linking (except M$VC,
++# which needs '.lib').
++libext=a
++ltmain="$ac_aux_dir/ltmain.sh"
++ofile="$default_ofile"
++with_gnu_ld="$lt_cv_prog_gnu_ld"
++
++if test -n "$ac_tool_prefix"; then
++  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
++set dummy ${ac_tool_prefix}ranlib; ac_word=$2
++echo "configure:4728: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_RANLIB+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$RANLIB"; then
++  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
++else
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
++  IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
++break
++done
++
++fi
++fi
++RANLIB=$ac_cv_prog_RANLIB
++if test -n "$RANLIB"; then
++  echo "configure:4750: result: $RANLIB" >&5
++echo "${ECHO_T}$RANLIB" >&6
++else
++  echo "configure:4753: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++fi
++if test -z "$ac_cv_prog_RANLIB"; then
++  ac_ct_RANLIB=$RANLIB
++  # Extract the first word of "ranlib", so it can be a program name with args.
++set dummy ranlib; ac_word=$2
++echo "configure:4762: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$ac_ct_RANLIB"; then
++  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
++else
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
++  IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_ac_ct_RANLIB="ranlib"
++break
++done
++
++  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
++fi
++fi
++ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
++if test -n "$ac_ct_RANLIB"; then
++  echo "configure:4785: result: $ac_ct_RANLIB" >&5
++echo "${ECHO_T}$ac_ct_RANLIB" >&6
++else
++  echo "configure:4788: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  RANLIB=$ac_ct_RANLIB
++fi
++
++if test -n "$ac_tool_prefix"; then
++  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
++set dummy ${ac_tool_prefix}strip; ac_word=$2
++echo "configure:4798: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_STRIP+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$STRIP"; then
++  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
++else
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
++  IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_STRIP="${ac_tool_prefix}strip"
++break
++done
++
++fi
++fi
++STRIP=$ac_cv_prog_STRIP
++if test -n "$STRIP"; then
++  echo "configure:4820: result: $STRIP" >&5
++echo "${ECHO_T}$STRIP" >&6
++else
++  echo "configure:4823: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++fi
++if test -z "$ac_cv_prog_STRIP"; then
++  ac_ct_STRIP=$STRIP
++  # Extract the first word of "strip", so it can be a program name with args.
++set dummy strip; ac_word=$2
++echo "configure:4832: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$ac_ct_STRIP"; then
++  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
++else
++  ac_save_IFS=$IFS; IFS=':'
++ac_dummy="$PATH"
++for ac_dir in $ac_dummy; do
++  IFS=$ac_save_IFS
++  test -z "$ac_dir" && ac_dir=.
++  test -f "$ac_dir/$ac_word" || continue
++ac_cv_prog_ac_ct_STRIP="strip"
++break
++done
++
++  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
++fi
++fi
++ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
++if test -n "$ac_ct_STRIP"; then
++  echo "configure:4855: result: $ac_ct_STRIP" >&5
++echo "${ECHO_T}$ac_ct_STRIP" >&6
++else
++  echo "configure:4858: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  STRIP=$ac_ct_STRIP
++fi
++
++old_CC="$CC"
++old_CFLAGS="$CFLAGS"
++
++# Set sane defaults for various variables
++test -z "$AR" && AR=ar
++test -z "$AR_FLAGS" && AR_FLAGS=cru
++test -z "$AS" && AS=as
++test -z "$CC" && CC=cc
++test -z "$LTCC" && LTCC=$CC
++test -z "$DLLTOOL" && DLLTOOL=dlltool
++test -z "$LD" && LD=ld
++test -z "$LN_S" && LN_S="ln -s"
++test -z "$MAGIC_CMD" && MAGIC_CMD=file
++test -z "$NM" && NM=nm
++test -z "$OBJDUMP" && OBJDUMP=objdump
++test -z "$RANLIB" && RANLIB=:
++test -z "$STRIP" && STRIP=:
++test -z "$ac_objext" && ac_objext=o
++
++# Determine commands to create old-style static archives.
++old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
++old_postinstall_cmds='chmod 644 $oldlib'
++old_postuninstall_cmds=
++
++if test -n "$RANLIB"; then
++  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
++  old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
++fi
++
++# Only perform the check for file, if the check method requires it
++case $deplibs_check_method in
++file_magic*)
++  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
++    echo "configure:4898: checking for ${ac_tool_prefix}file" >&5
++echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
++if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  case $MAGIC_CMD in
++\\/* |  ?:\\/*)
++  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
++  ;;
++*)
++  lt_save_MAGIC_CMD="$MAGIC_CMD"
++  IFS="${IFS=   }"; lt_save_ifs="$IFS"; IFS="${PATH_SEPARATOR-:}"
++  ac_dummy="/usr/bin${PATH_SEPARATOR-:}$PATH"
++  for ac_dir in $ac_dummy; do
++    IFS="$lt_save_ifs"
++    test -z "$ac_dir" && ac_dir=.
++    if test -f $ac_dir/${ac_tool_prefix}file; then
++      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
++      if test -n "$file_magic_test_file"; then
++	case $deplibs_check_method in
++	"file_magic "*)
++	  file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
++	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
++	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
++	    egrep "$file_magic_regex" > /dev/null; then
++	    :
++	  else
++	    cat <<EOF 1>&2
++
++*** Warning: the command libtool uses to detect shared libraries,
++*** $file_magic_cmd, produces output that libtool cannot recognize.
++*** The result is that libtool may fail to recognize shared libraries
++*** as such.  This will affect the creation of libtool libraries that
++*** depend on shared libraries, but programs linked with such libtool
++*** libraries will work regardless of this problem.  Nevertheless, you
++*** may want to report the problem to your system manager and/or to
++*** bug-libtool@gnu.org
++
++EOF
++	  fi ;;
++	esac
++      fi
++      break
++    fi
++  done
++  IFS="$lt_save_ifs"
++  MAGIC_CMD="$lt_save_MAGIC_CMD"
++  ;;
++esac
++fi
++
++MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
++if test -n "$MAGIC_CMD"; then
++  echo "configure:4951: result: $MAGIC_CMD" >&5
++echo "${ECHO_T}$MAGIC_CMD" >&6
++else
++  echo "configure:4954: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++if test -z "$lt_cv_path_MAGIC_CMD"; then
++  if test -n "$ac_tool_prefix"; then
++    echo "configure:4960: checking for file" >&5
++echo $ECHO_N "checking for file... $ECHO_C" >&6
++if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  case $MAGIC_CMD in
++\\/* |  ?:\\/*)
++  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
++  ;;
++*)
++  lt_save_MAGIC_CMD="$MAGIC_CMD"
++  IFS="${IFS=   }"; lt_save_ifs="$IFS"; IFS="${PATH_SEPARATOR-:}"
++  ac_dummy="/usr/bin${PATH_SEPARATOR-:}$PATH"
++  for ac_dir in $ac_dummy; do
++    IFS="$lt_save_ifs"
++    test -z "$ac_dir" && ac_dir=.
++    if test -f $ac_dir/file; then
++      lt_cv_path_MAGIC_CMD="$ac_dir/file"
++      if test -n "$file_magic_test_file"; then
++	case $deplibs_check_method in
++	"file_magic "*)
++	  file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
++	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
++	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
++	    egrep "$file_magic_regex" > /dev/null; then
++	    :
++	  else
++	    cat <<EOF 1>&2
++
++*** Warning: the command libtool uses to detect shared libraries,
++*** $file_magic_cmd, produces output that libtool cannot recognize.
++*** The result is that libtool may fail to recognize shared libraries
++*** as such.  This will affect the creation of libtool libraries that
++*** depend on shared libraries, but programs linked with such libtool
++*** libraries will work regardless of this problem.  Nevertheless, you
++*** may want to report the problem to your system manager and/or to
++*** bug-libtool@gnu.org
++
++EOF
++	  fi ;;
++	esac
++      fi
++      break
++    fi
++  done
++  IFS="$lt_save_ifs"
++  MAGIC_CMD="$lt_save_MAGIC_CMD"
++  ;;
++esac
++fi
++
++MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
++if test -n "$MAGIC_CMD"; then
++  echo "configure:5013: result: $MAGIC_CMD" >&5
++echo "${ECHO_T}$MAGIC_CMD" >&6
++else
++  echo "configure:5016: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  else
++    MAGIC_CMD=:
++  fi
++fi
++
++  fi
++  ;;
++esac
++
++enable_dlopen=no
++enable_win32_dll=no
++
++# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
++if test "${enable_libtool_lock+set}" = set; then
++  enableval="$enable_libtool_lock"
++
++fi;
++test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
++
++# Check whether --with-pic or --without-pic was given.
++if test "${with_pic+set}" = set; then
++  withval="$with_pic"
++  pic_mode="$withval"
++else
++  pic_mode=default
++fi;
++test -z "$pic_mode" && pic_mode=default
++
++# Use C for the default configuration in the libtool script
++tagname=
++lt_save_CC="$CC"
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='${CC-cc} -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++# Source file extension for C test sources.
++ac_ext=c
++
++# Object file extension for compiled C test sources.
++objext=o
++objext=$objext
++
++# Code to be used in simple compile tests
++lt_simple_compile_test_code="int some_variable = 0;"
++
++# Code to be used in simple link tests
++lt_simple_link_test_code='main(){return(0);}'
++
++# If no C compiler was specified, use CC.
++LTCC=${LTCC-"$CC"}
++
++# Allow CC to be a program name with arguments.
++set dummy $CC
++compiler="$2"
++
++#
++# Check for any special shared library compilation flags.
++#
++lt_prog_cc_shlib=
++if test "$GCC" = no; then
++  case $host_os in
++  sco3.2v5*)
++    lt_prog_cc_shlib='-belf'
++    ;;
++  esac
++fi
++if test -n "$lt_prog_cc_shlib"; then
++  echo "configure: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2
++  if echo "$old_CC $old_CFLAGS " | egrep -e "[ 	]$lt_prog_cc_shlib[ 	]" >/dev/null; then :
++  else
++    echo "configure: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2
++    lt_cv_prog_cc_can_build_shared=no
++  fi
++fi
++
++#
++# Check to make sure the static flag actually works.
++#
++echo "configure:5100: checking if $compiler static flag $lt_prog_compiler_static works" >&5
++echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
++if test "${lt_prog_compiler_static_works+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  lt_prog_compiler_static_works=no
++   save_LDFLAGS="$LDFLAGS"
++   LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
++   echo "$lt_simple_link_test_code" > conftest.$ac_ext
++   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
++     # The compiler can only warn and ignore the option if not recognized
++     # So say no if there are warnings
++     if test -s conftest.err; then
++       # Append any errors to the config.log.
++       cat conftest.err 1>&AS_MESSAGE_LOG_FD
++     else
++       lt_prog_compiler_static_works=yes
++     fi
++   fi
++   $rm conftest*
++   LDFLAGS="$save_LDFLAGS"
++
++fi
++echo "configure:5123: result: $lt_prog_compiler_static_works" >&5
++echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
++
++if test x"$lt_prog_compiler_static_works" = xyes; then
++    :
++else
++    lt_prog_compiler_static=
++fi
++
++lt_prog_compiler_no_builtin_flag=
++
++if test "$GCC" = yes; then
++  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
++
++  echo "configure:5137: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
++echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
++if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  lt_cv_prog_compiler_rtti_exceptions=no
++  ac_outfile=conftest.$ac_objext
++   save_CFLAGS="$CFLAGS"
++   CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"
++   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
++   if (eval $ac_compile 2>conftest.err) && test -s $ac_outfile; then
++     # The compiler can only warn and ignore the option if not recognized
++     # So say no if there are warnings
++     if test -s conftest.err; then
++       # Append any errors to the config.log.
++       cat conftest.err 1>&AS_MESSAGE_LOG_FD
++     else
++       lt_cv_prog_compiler_rtti_exceptions=yes
++     fi
++   fi
++   $rm conftest*
++   CFLAGS="$save_CFLAGS"
++
++fi
++echo "configure:5161: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
++echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
++
++if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
++    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
++else
++    :
++fi
++
++fi
++
++lt_prog_compiler_wl=
++lt_prog_compiler_pic=
++lt_prog_compiler_static=
++
++echo "configure:5176: checking for $compiler option to produce PIC" >&5
++echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
++  if test "$GCC" = yes; then
++    lt_prog_compiler_wl='-Wl,'
++    lt_prog_compiler_static='-static'
++
++    case $host_os in
++      aix*)
++      # All AIX code is PIC.
++      if test "$host_cpu" = ia64; then
++        # AIX 5 now supports IA64 processor
++        lt_prog_compiler_static='-Bstatic'
++      else
++        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
++      fi
++      ;;
++
++    amigaos*)
++      # FIXME: we need at least 68020 code to build shared libraries, but
++      # adding the `-m68020' flag to GCC prevents building anything better,
++      # like `-m68040'.
++      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
++      ;;
++
++    beos* | irix5* | irix6* | osf3* | osf4* | osf5*)
++      # PIC is the default for these OSes.
++      ;;
++
++    cygwin* | mingw* | pw32* | os2*)
++      # This hack is so that the source file can tell whether it is being
++      # built for inclusion in a dll (and should export symbols for example).
++      lt_prog_compiler_pic='-DDLL_EXPORT'
++      ;;
++
++    darwin* | rhapsody*)
++      # PIC is the default on this platform
++      # Common symbols not allowed in MH_DYLIB files
++      lt_prog_compiler_pic='-fno-common'
++      ;;
++
++    msdosdjgpp*)
++      # Just because we use GCC doesn't mean we suddenly get shared libraries
++      # on systems that don't support them.
++      lt_prog_compiler_can_build_shared=no
++      enable_shared=no
++      ;;
++
++    sysv4*MP*)
++      if test -d /usr/nec; then
++        lt_prog_compiler_pic=-Kconform_pic
++      fi
++      ;;
++
++    *)
++      lt_prog_compiler_pic='-fPIC'
++      ;;
++    esac
++  else
++    # PORTME Check for flag to pass linker flags through the system compiler.
++    case $host_os in
++    aix*)
++      lt_prog_compiler_wl='-Wl,'
++      if test "$host_cpu" = ia64; then
++        # AIX 5 now supports IA64 processor
++        lt_prog_compiler_static='-Bstatic'
++      else
++        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
++      fi
++      ;;
++
++    cygwin* | mingw* | pw32* | os2*)
++      # This hack is so that the source file can tell whether it is being
++      # built for inclusion in a dll (and should export symbols for example).
++      lt_prog_compiler_pic='-DDLL_EXPORT'
++      ;;
++
++    hpux9* | hpux10* | hpux11*)
++      lt_prog_compiler_wl='-Wl,'
++      lt_prog_compiler_pic='+Z'
++      # Is there a better lt_prog_compiler_static that works with the bundled CC?
++      lt_prog_compiler_static='${wl}-a ${wl}archive'
++      ;;
++
++    irix5* | irix6*)
++      lt_prog_compiler_wl='-Wl,'
++      # PIC (with -KPIC) is the default.
++      lt_prog_compiler_static='-non_shared'
++      ;;
++
++    newsos6)
++      lt_prog_compiler_pic='-KPIC'
++      lt_prog_compiler_static='-Bstatic'
++      ;;
++
++    osf3* | osf4* | osf5*)
++      lt_prog_compiler_wl='-Wl,'
++      # All OSF/1 code is PIC.
++      lt_prog_compiler_static='-non_shared'
++      ;;
++
++    sco3.2v5*)
++      lt_prog_compiler_pic='-Kpic'
++      lt_prog_compiler_static='-dn'
++      ;;
++
++    solaris*)
++      lt_prog_compiler_wl='-Wl,'
++      lt_prog_compiler_pic='-KPIC'
++      lt_prog_compiler_static='-Bstatic'
++      ;;
++
++    sunos4*)
++      lt_prog_compiler_wl='-Qoption ld '
++      lt_prog_compiler_pic='-PIC'
++      lt_prog_compiler_static='-Bstatic'
++      ;;
++
++    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
++      if test "x$host_vendor" = xsni; then
++        lt_prog_compiler_wl='-LD'
++      else
++        lt_prog_compiler_wl='-Wl,'
++      fi
++      lt_prog_compiler_pic='-KPIC'
++      lt_prog_compiler_static='-Bstatic'
++      ;;
++
++    sysv4*MP*)
++      if test -d /usr/nec ;then
++        lt_prog_compiler_pic='-Kconform_pic'
++        lt_prog_compiler_static='-Bstatic'
++      fi
++      ;;
++
++    uts4*)
++      lt_prog_compiler_pic='-pic'
++      lt_prog_compiler_static='-Bstatic'
++      ;;
++
++    *)
++      lt_prog_compiler_can_build_shared=no
++      ;;
++    esac
++  fi
++
++echo "configure:5321: result: $lt_prog_compiler_pic" >&5
++echo "${ECHO_T}$lt_prog_compiler_pic" >&6
++
++#
++# Check to make sure the PIC flag actually works.
++#
++if test -n "$lt_prog_compiler_pic"; then
++  echo "configure:5328: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
++echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
++if test "${lt_prog_compiler_pic_works+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  lt_prog_compiler_pic_works=no
++  ac_outfile=conftest.$ac_objext
++   save_CFLAGS="$CFLAGS"
++   CFLAGS="$CFLAGS $lt_prog_compiler_pic -DPIC"
++   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
++   if (eval $ac_compile 2>conftest.err) && test -s $ac_outfile; then
++     # The compiler can only warn and ignore the option if not recognized
++     # So say no if there are warnings
++     if test -s conftest.err; then
++       # Append any errors to the config.log.
++       cat conftest.err 1>&AS_MESSAGE_LOG_FD
++     else
++       lt_prog_compiler_pic_works=yes
++     fi
++   fi
++   $rm conftest*
++   CFLAGS="$save_CFLAGS"
++
++fi
++echo "configure:5352: result: $lt_prog_compiler_pic_works" >&5
++echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
++
++if test x"$lt_prog_compiler_pic_works" = xyes; then
++    case $lt_prog_compiler_pic in
++     "" | " "*) ;;
++     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
++     esac
++else
++    lt_prog_compiler_pic=
++     lt_prog_compiler_can_build_shared=no
++fi
++
++fi
++case "$host_os" in
++  # For platforms which do not support PIC, -DPIC is meaningless:
++  *djgpp*)
++    lt_prog_compiler_pic=
++    ;;
++  *)
++    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
++    ;;
++esac
++
++echo "configure:5376: checking if $compiler supports -c -o file.$ac_objext" >&5
++echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
++if test "${lt_cv_prog_compiler_c_o+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  lt_cv_prog_compiler_c_o=no
++   $rm -r conftest 2>/dev/null
++   mkdir conftest
++   cd conftest
++   mkdir out
++   save_CFLAGS="$CFLAGS"
++                   CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
++   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
++
++   # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
++   # that will create temporary files in the current directory regardless of
++   # the output directory.  Thus, making CWD read-only will cause this test
++   # to fail, enabling locking or at least warning the user not to do parallel
++   # builds.
++   chmod -w .
++
++   if (eval $ac_compile 2>out/conftest.err) && test -s out/conftest2.$ac_objext
++   then
++     # The compiler can only warn and ignore the option if not recognized
++     # So say no if there are warnings
++     if test -s out/conftest.err; then
++       # Append any errors to the config.log.
++       cat out/conftest.err 1>&AS_MESSAGE_LOG_FD
++     else
++       lt_cv_prog_compiler_c_o=yes
++     fi
++   fi
++   CFLAGS="$save_CFLAGS"
++   chmod u+w .
++   $rm conftest* out/*
++   rmdir out
++   cd ..
++   rmdir conftest
++   $rm conftest*
++
++fi
++echo "configure:5417: result: $lt_cv_prog_compiler_c_o" >&5
++echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
++
++hard_links="nottested"
++if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
++  # do not overwrite the value of need_locks provided by the user
++  echo "configure:5423: checking if we can lock with hard links" >&5
++echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
++  hard_links=yes
++  $rm conftest*
++  ln conftest.a conftest.b 2>/dev/null && hard_links=no
++  touch conftest.a
++  ln conftest.a conftest.b 2>&5 || hard_links=no
++  ln conftest.a conftest.b 2>/dev/null && hard_links=no
++  echo "configure:5431: result: $hard_links" >&5
++echo "${ECHO_T}$hard_links" >&6
++  if test "$hard_links" = no; then
++    echo "configure: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2
++    need_locks=warn
++  fi
++else
++  need_locks=no
++fi
++
++echo "configure:5441: checking whether the $compiler linker ($LD) supports shared libraries" >&5
++echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
++
++  runpath_var=
++  allow_undefined_flag=
++
++  archive_cmds=
++  archive_cmds_need_lc=
++  archive_expsym_cmds=
++  old_archive_From_new_cmds=
++  old_archive_from_expsyms_cmds=
++  export_dynamic_flag_spec=
++  whole_archive_flag_spec=
++  thread_safe_flag_spec=
++  hardcode_libdir_flag_spec=
++  hardcode_libdir_separator=
++  hardcode_direct=no
++  hardcode_minus_L=no
++  hardcode_shlibpath_var=unsupported
++  link_all_deplibs=unknown
++  always_export_symbols=no
++  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols'
++  # include_expsyms should be a list of space-separated symbols to be *always*
++  # included in the symbol list
++  include_expsyms=
++  # exclude_expsyms can be an egrep regular expression of symbols to exclude
++  # it will be wrapped by ` (' and `)$', so one must not match beginning or
++  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
++  # as well as any symbol that contains `d'.
++  exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
++  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
++  # platforms (ab)use it in PIC code, but their linkers get confused if
++  # the symbol is explicitly referenced.  Since portable code cannot
++  # rely on this symbol name, it's probably fine to never include it in
++  # preloaded symbol tables.
++  extract_expsyms_cmds=
++
++  case $host_os in
++  cygwin* | mingw* | pw32*)
++    # FIXME: the MSVC++ port hasn't been tested in a loooong time
++    # When not using gcc, we currently assume that we are using
++    # Microsoft Visual C++.
++    if test "$GCC" != yes; then
++      with_gnu_ld=no
++    fi
++    ;;
++  openbsd*)
++    with_gnu_ld=no
++    ;;
++  esac
++
++  ld_shlibs=yes
++  if test "$with_gnu_ld" = yes; then
++    # If archive_cmds runs LD, not CC, wlarc should be empty
++    wlarc='${wl}'
++
++    # See if GNU ld supports shared libraries.
++    case $host_os in
++    aix3* | aix4* | aix5*)
++      # On AIX/PPC, the GNU linker is very broken
++      if test "$host_cpu" != ia64; then
++        ld_shlibs=no
++        cat <<EOF 1>&2
++
++*** Warning: the GNU linker, at least up to release 2.9.1, is reported
++*** to be unable to reliably create shared libraries on AIX.
++*** Therefore, libtool is disabling shared libraries support.  If you
++*** really care for shared libraries, you may want to modify your PATH
++*** so that a non-GNU linker is found, and then restart.
++
++EOF
++      fi
++      ;;
++
++    amigaos*)
++      archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
++      hardcode_libdir_flag_spec='-L$libdir'
++      hardcode_minus_L=yes
++
++      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
++      # that the semantics of dynamic libraries on AmigaOS, at least up
++      # to version 4, is to share data among multiple programs linked
++      # with the same dynamic library.  Since this doesn't match the
++      # behavior of shared libraries on other platforms, we can't use
++      # them.
++      ld_shlibs=no
++      ;;
++
++    beos*)
++      if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
++        allow_undefined_flag=unsupported
++        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
++        # support --undefined.  This deserves some investigation.  FIXME
++        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++      else
++        ld_shlibs=no
++      fi
++      ;;
++
++    cygwin* | mingw* | pw32*)
++      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, as there is
++      # no search path for DLLs.
++      hardcode_libdir_flag_spec='-L$libdir'
++      allow_undefined_flag=unsupported
++      always_export_symbols=yes
++
++      extract_expsyms_cmds='test -f $output_objdir/impgen.c || \
++        sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~
++        test -f $output_objdir/impgen.exe || (cd $output_objdir && \
++        if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \
++        else $CC -o impgen impgen.c ; fi)~
++        $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def'
++
++      old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib'
++
++      # cygwin and mingw dlls have different entry points and sets of symbols
++      # to exclude.
++      # FIXME: what about values for MSVC?
++      dll_entry=__cygwin_dll_entry@12
++      dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~
++      case $host_os in
++      mingw*)
++        # mingw values
++        dll_entry=_DllMainCRTStartup@12
++        dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~
++        ;;
++      esac
++
++      # mingw and cygwin differ, and it's simplest to just exclude the union
++      # of the two symbol sets.
++      dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12
++
++      # recent cygwin and mingw systems supply a stub DllMain which the user
++      # can override, but on older systems we have to supply one (in ltdll.c)
++      if test "x$lt_cv_need_dllmain" = "xyes"; then
++        ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext "
++        ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < $''0 > $output_objdir/$soname-ltdll.c~
++  	test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~'
++      else
++        ltdll_obj=
++        ltdll_cmds=
++      fi
++
++      # Extract the symbol export list from an `--export-all' def file,
++      # then regenerate the def file from the symbol export list, so that
++      # the compiled dll only exports the symbol export list.
++      # Be careful not to strip the DATA tag left by newer dlltools.
++      export_symbols_cmds="$ltdll_cmds"'
++        $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~
++        sed -e "1,/EXPORTS/d" -e "s/ @ [0-9]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols'
++
++      # If the export-symbols file already is a .def file (1st line
++      # is EXPORTS), use it as is.
++      # If DATA tags from a recent dlltool are present, honour them!
++      archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then
++          cp $export_symbols $output_objdir/$soname-def;
++        else
++          echo EXPORTS > $output_objdir/$soname-def;
++          _lt_hint=1;
++          cat $export_symbols | while read symbol; do
++           set dummy \$symbol;
++           case \$# in
++             2) echo "   \$2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
++             *) echo "   \$2 @ \$_lt_hint \$3 ; " >> $output_objdir/$soname-def;;
++           esac;
++           _lt_hint=`expr 1 + \$_lt_hint`;
++          done;
++        fi~
++        '"$ltdll_cmds"'
++        $CC -Wl,--base-file,$output_objdir/$soname-base '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
++        $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp~
++        $CC -Wl,--base-file,$output_objdir/$soname-base $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
++        $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp --output-lib $output_objdir/$libname.dll.a~
++        $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags'
++      ;;
++
++    darwin* | rhapsody*)
++      allow_undefined_flag='-undefined suppress'
++      # FIXME: Relying on posixy $() will cause problems for
++      #        cross-compilation, but unfortunately the echo tests do not
++      #        yet detect zsh echo's removal of \ escapes.
++      archive_cmds='$CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linkopts -install_name $rpath/$soname $(test -n "$verstring" -a x$verstring != x0.0 && echo $verstring)'
++      # We need to add '_' to the symbols in $export_symbols first
++      #_LT_AC_TAGVAR(archive_expsym_cmds, )="$_LT_AC_TAGVAR(archive_cmds, )"' && strip -s $export_symbols'
++      hardcode_direct=yes
++      hardcode_shlibpath_var=no
++      whole_archive_flag_spec='-all_load $convenience'
++      ;;
++
++    netbsd*)
++      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
++        wlarc=
++      else
++        archive_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++        archive_expsym_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++      fi
++      ;;
++
++    solaris* | sysv5*)
++      if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then
++        ld_shlibs=no
++        cat <<EOF 1>&2
++
++*** Warning: The releases 2.8.* of the GNU linker cannot reliably
++*** create shared libraries on Solaris systems.  Therefore, libtool
++*** is disabling shared libraries support.  We urge you to upgrade GNU
++*** binutils to release 2.9.1 or newer.  Another option is to modify
++*** your PATH or compiler configuration so that the native linker is
++*** used, and then restart.
++
++EOF
++      elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
++        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++      else
++        ld_shlibs=no
++      fi
++      ;;
++
++    sunos4*)
++      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++      wlarc=
++      hardcode_direct=yes
++      hardcode_shlibpath_var=no
++      ;;
++
++    *)
++      if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
++        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++      else
++        ld_shlibs=no
++      fi
++      ;;
++    esac
++
++    if test "$ld_shlibs" = yes; then
++      runpath_var=LD_RUN_PATH
++      hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
++      export_dynamic_flag_spec='${wl}--export-dynamic'
++      case $host_os in
++      cygwin* | mingw* | pw32*)
++        # dlltool doesn't understand --whole-archive et. al.
++        whole_archive_flag_spec=
++        ;;
++      *)
++        # ancient GNU ld didn't support --whole-archive et. al.
++        if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then
++  	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
++        else
++  	whole_archive_flag_spec=
++        fi
++        ;;
++      esac
++    fi
++  else
++    # PORTME fill in a description of your system's linker (not GNU ld)
++    case $host_os in
++    aix3*)
++      allow_undefined_flag=unsupported
++      always_export_symbols=yes
++      archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
++      # Note: this linker hardcodes the directories in LIBPATH if there
++      # are no directories specified by -L.
++      hardcode_minus_L=yes
++      if test "$GCC" = yes && test -z "$link_static_flag"; then
++        # Neither direct hardcoding nor static linking is supported with a
++        # broken collect2.
++        hardcode_direct=unsupported
++      fi
++      ;;
++
++    aix4* | aix5*)
++      if test "$host_cpu" = ia64; then
++        # On IA64, the linker does run time linking by default, so we don't
++        # have to do anything special.
++        aix_use_runtimelinking=no
++        exp_sym_flag='-Bexport'
++        no_entry_flag=""
++      else
++        aix_use_runtimelinking=no
++
++        # Test if we are trying to use run time linking or normal
++        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
++        # need to do runtime linking.
++        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
++          for ld_flag in $LDFLAGS; do
++  	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
++  	    aix_use_runtimelinking=yes
++  	    break
++  	  fi
++          done
++        esac
++
++        exp_sym_flag='-bexport'
++        no_entry_flag='-bnoentry'
++      fi
++
++      # When large executables or shared objects are built, AIX ld can
++      # have problems creating the table of contents.  If linking a library
++      # or program results in "error TOC overflow" add -mminimal-toc to
++      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
++      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
++
++      archive_cmds=''
++      hardcode_direct=yes
++      hardcode_libdir_separator=':'
++      link_all_deplibs=yes
++
++      if test "$GCC" = yes; then
++        case $host_os in aix4.012|aix4.012.*)
++        # We only want to do this on AIX 4.2 and lower, the check
++        # below for broken collect2 doesn't work under 4.3+
++          collect2name=`${CC} -print-prog-name=collect2`
++          if test -f "$collect2name" && \
++  	   strings "$collect2name" | grep resolve_lib_name >/dev/null
++          then
++  	  # We have reworked collect2
++  	  hardcode_direct=yes
++          else
++  	  # We have old collect2
++  	  hardcode_direct=unsupported
++  	  # It fails to find uninstalled libraries when the uninstalled
++  	  # path is not listed in the libpath.  Setting hardcode_minus_L
++  	  # to unsupported forces relinking
++  	  hardcode_minus_L=yes
++  	  hardcode_libdir_flag_spec='-L$libdir'
++  	  hardcode_libdir_separator=
++          fi
++        esac
++        shared_flag='-shared'
++      else
++        # not using gcc
++        if test "$host_cpu" = ia64; then
++  	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
++  	# chokes on -Wl,-G. The following line is correct:
++          shared_flag='-G'
++        else
++  	if test "$aix_use_runtimelinking" = yes; then
++            shared_flag='${wl}-G'
++          else
++            shared_flag='${wl}-bM:SRE'
++  	fi
++        fi
++      fi
++
++      # It seems that -bexpall does not export symbols beginning with
++      # underscore (_), so it is better to generate a list of symbols to export.
++      always_export_symbols=yes
++      if test "$aix_use_runtimelinking" = yes; then
++        # Warning - without using the other runtime loading flags (-brtl),
++        # -berok will link without error, but may produce a broken library.
++        allow_undefined_flag='-berok'
++       # Determine the default libpath from the value encoded in an empty executable.
++       cat >conftest.$ac_ext <<_ACEOF
++#line 5797 "configure"
++#include "confdefs.h"
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:5809: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++
++aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | ${AWK-awk} '/Import File Strings/ { getline; getline; if ($2 ~ /^\//) print $2 }'`
++# Check for a 64-bit object if we didn't find anything.
++if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | ${AWK-awk} '/Import File Strings/ { getline; getline; if ($2 ~ /^\//) print $2 }'`; fi
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++fi
++rm -f conftest$ac_exeext conftest.$ac_ext
++if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
++
++       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
++        archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
++       else
++        if test "$host_cpu" = ia64; then
++          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
++          allow_undefined_flag="-z nodefs"
++          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
++        else
++         # Determine the default libpath from the value encoded in an empty executable.
++         cat >conftest.$ac_ext <<_ACEOF
++#line 5831 "configure"
++#include "confdefs.h"
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:5843: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++
++aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | ${AWK-awk} '/Import File Strings/ { getline; getline; if ($2 ~ /^\//) print $2 }'`
++# Check for a 64-bit object if we didn't find anything.
++if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | ${AWK-awk} '/Import File Strings/ { getline; getline; if ($2 ~ /^\//) print $2 }'`; fi
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++fi
++rm -f conftest$ac_exeext conftest.$ac_ext
++if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
++
++         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
++          # Warning - without using the other run time loading flags,
++          # -berok will link without error, but may produce a broken library.
++          no_undefined_flag=' ${wl}-bernotok'
++          allow_undefined_flag=' ${wl}-berok'
++          # -bexpall does not export symbols beginning with underscore (_)
++          always_export_symbols=yes
++          # Exported symbols can be pulled into shared objects from archives
++          whole_archive_flag_spec=' '
++          archive_cmds_need_lc=yes
++          # This is similar to how AIX traditionally builds it's shared libraries.
++          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
++        fi
++      fi
++      ;;
++
++    amigaos*)
++      archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
++      hardcode_libdir_flag_spec='-L$libdir'
++      hardcode_minus_L=yes
++      # see comment about different semantics on the GNU ld section
++      ld_shlibs=no
++      ;;
++
++    bsdi4*)
++      export_dynamic_flag_spec=-rdynamic
++      ;;
++
++    cygwin* | mingw* | pw32*)
++      # When not using gcc, we currently assume that we are using
++      # Microsoft Visual C++.
++      # hardcode_libdir_flag_spec is actually meaningless, as there is
++      # no search path for DLLs.
++      hardcode_libdir_flag_spec=' '
++      allow_undefined_flag=unsupported
++      # Tell ltmain to make .lib files, not .a files.
++      libext=lib
++      # FIXME: Setting linknames here is a bad hack.
++      archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames='
++      # The linker will automatically build a .lib file if we build a DLL.
++      old_archive_From_new_cmds='true'
++      # FIXME: Should let the user specify the lib program.
++      old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
++      fix_srcfile_path='`cygpath -w "$srcfile"`'
++      ;;
++
++    dgux*)
++      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_libdir_flag_spec='-L$libdir'
++      hardcode_shlibpath_var=no
++      ;;
++
++    freebsd1*)
++      ld_shlibs=no
++      ;;
++
++    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
++    # support.  Future versions do this automatically, but an explicit c++rt0.o
++    # does not break anything, and helps significantly (at the cost of a little
++    # extra space).
++    freebsd2.2*)
++      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
++      hardcode_libdir_flag_spec='-R$libdir'
++      hardcode_direct=yes
++      hardcode_shlibpath_var=no
++      ;;
++
++    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
++    freebsd2*)
++      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_direct=yes
++      hardcode_minus_L=yes
++      hardcode_shlibpath_var=no
++      ;;
++
++    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
++    freebsd*)
++      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
++      hardcode_libdir_flag_spec='-R$libdir'
++      hardcode_direct=yes
++      hardcode_shlibpath_var=no
++      ;;
++
++    hpux9* | hpux10* | hpux11*)
++      if test $GXX = yes; then
++        case $host_os in
++        hpux9*) archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ;;
++        *) archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ;;
++        esac
++      else
++        case $host_os in
++        hpux9*) archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ;;
++        *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;;
++        esac
++      fi
++      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
++      hardcode_libdir_separator=:
++      hardcode_direct=yes
++      hardcode_minus_L=yes # Not in the search PATH, but as the default
++  			 # location of the library.
++      export_dynamic_flag_spec='${wl}-E'
++      ;;
++
++    irix5* | irix6*)
++      if test "$GCC" = yes; then
++        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++      else
++        archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
++      fi
++      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
++      hardcode_libdir_separator=:
++      link_all_deplibs=yes
++      ;;
++
++    netbsd*)
++      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
++      else
++        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
++      fi
++      hardcode_libdir_flag_spec='-R$libdir'
++      hardcode_direct=yes
++      hardcode_shlibpath_var=no
++      ;;
++
++    newsos6)
++      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linkopts'
++      hardcode_direct=yes
++      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
++      hardcode_libdir_separator=:
++      hardcode_shlibpath_var=no
++      ;;
++
++    openbsd*)
++      hardcode_direct=yes
++      hardcode_shlibpath_var=no
++
++      case "$host_os" in
++        openbsd01.* | openbsd2.0-7 | openbsd2.0-7.*)
++          archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++          hardcode_libdir_flag_spec='-R$libdir'
++        ;;
++        *)
++          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
++          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
++          if  "`echo __ELF__ | $CC -E - | grep __ELF__`" = "" -o "$host_os-$host_cpu" = "openbsd2.8-powerpc" ; then
++           export_dynamic_flag_spec='${wl}-E'
++          fi
++        ;;
++      esac
++      ;;
++
++    os2*)
++      hardcode_libdir_flag_spec='-L$libdir'
++      hardcode_minus_L=yes
++      allow_undefined_flag=unsupported
++      archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
++      old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
++      ;;
++
++    osf3*)
++      if test "$GCC" = yes; then
++        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
++        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++      else
++        allow_undefined_flag=' -expect_unresolved \*'
++        archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
++      fi
++      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
++      hardcode_libdir_separator=:
++      ;;
++
++    osf4* | osf5*)	# as osf3* with the addition of -msym flag
++      if test "$GCC" = yes; then
++        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
++        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
++      else
++        allow_undefined_flag=' -expect_unresolved \*'
++        archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
++        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
++        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
++
++        # Both c and cxx compiler support -rpath directly
++        hardcode_libdir_flag_spec='-rpath $libdir'
++      fi
++      hardcode_libdir_separator=:
++      ;;
++
++    sco3.2v5*)
++      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_shlibpath_var=no
++      export_dynamic_flag_spec='${wl}-Bexport'
++      runpath_var=LD_RUN_PATH
++      hardcode_runpath_var=yes
++      ;;
++
++    solaris*)
++      no_undefined_flag=' -z defs'
++      if test "$GXX" = yes; then
++        archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
++      else
++        archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
++        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++  	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
++      fi
++      hardcode_libdir_flag_spec='-R$libdir'
++      hardcode_shlibpath_var=no
++      case $host_os in
++      solaris2.[0-5] | solaris2.[0-5].*) ;;
++      *) # Supported since Solaris 2.6 (maybe 2.5.1?)
++        whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
++      esac
++      link_all_deplibs=yes
++      ;;
++
++    sunos4*)
++      if test "x$host_vendor" = xsequent; then
++        # Use $CC to link under sequent, because it throws in some extra .o
++        # files that make .init and .fini sections work.
++        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
++      else
++        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
++      fi
++      hardcode_libdir_flag_spec='-L$libdir'
++      hardcode_direct=yes
++      hardcode_minus_L=yes
++      hardcode_shlibpath_var=no
++      ;;
++
++    sysv4)
++      if test "x$host_vendor" = xsni; then
++        archive_cmds='$LD -G -Bsymbolic -h $soname -o $lib $libobjs $deplibs $linkopts'
++        hardcode_direct=yes # is this really true???
++      else
++        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++        hardcode_direct=no #Motorola manual says yes, but my tests say they lie
++      fi
++      runpath_var='LD_RUN_PATH'
++      hardcode_shlibpath_var=no
++      ;;
++
++    sysv4.3*)
++      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_shlibpath_var=no
++      export_dynamic_flag_spec='-Bexport'
++      ;;
++
++    sysv4*MP*)
++      if test -d /usr/nec; then
++        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++        hardcode_shlibpath_var=no
++        runpath_var=LD_RUN_PATH
++        hardcode_runpath_var=yes
++        ld_shlibs=yes
++      fi
++      ;;
++
++    sysv4.2uw2*)
++      archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_direct=yes
++      hardcode_minus_L=no
++      hardcode_shlibpath_var=no
++      hardcode_runpath_var=yes
++      runpath_var=LD_RUN_PATH
++      ;;
++
++    sysv5uw7* | unixware7*)
++      no_undefined_flag='${wl}-z ${wl}text'
++      if test "$GCC" = yes; then
++        archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++      else
++        archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++      fi
++      runpath_var='LD_RUN_PATH'
++      hardcode_shlibpath_var=no
++      ;;
++
++    sysv5*)
++      no_undefined_flag=' -z text'
++      # $CC -shared without GNU ld will not create a library from C++
++      # object files and a static libstdc++, better avoid it by now
++      archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++  		$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
++      hardcode_libdir_flag_spec=
++      hardcode_shlibpath_var=no
++      runpath_var='LD_RUN_PATH'
++      ;;
++
++    uts4*)
++      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_libdir_flag_spec='-L$libdir'
++      hardcode_shlibpath_var=no
++      ;;
++
++    *)
++      ld_shlibs=no
++      ;;
++    esac
++  fi
++
++echo "configure:6159: result: $ld_shlibs" >&5
++echo "${ECHO_T}$ld_shlibs" >&6
++test "$ld_shlibs" = no && can_build_shared=no
++
++variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
++if test "$GCC" = yes; then
++  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
++fi
++
++#
++# Do we need to explicitly link libc?
++#
++archive_cmds_need_lc=yes
++if test "$enable_shared" = yes && test "$GCC" = yes; then
++  case $archive_cmds in
++  *'~'*)
++    # FIXME: we may have to deal with multi-command sequences.
++    ;;
++  '$CC '*)
++    # Test whether the compiler implicitly links with -lc since on some
++    # systems, -lgcc has to come before -lc. If gcc already passes -lc
++    # to ld, don't add -lc before -lgcc.
++    echo "configure:6181: checking whether -lc should be explicitly linked in" >&5
++echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
++    $rm conftest*
++    echo 'static int dummy;' > conftest.$ac_ext
++
++    if { (eval echo configure:6186: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } 2>conftest.err; then
++      soname=conftest
++      lib=conftest
++      libobjs=conftest.$ac_objext
++      deplibs=
++      wl=$lt_prog_compiler_wl
++      compiler_flags=-v
++      linker_flags=-v
++      verstring=
++      output_objdir=.
++      libname=conftest
++      lt_save_allow_undefined_flag=$allow_undefined_flag
++      allow_undefined_flag=
++      if { (eval echo configure:6199: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\") >&5; (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5; }
++      then
++	archive_cmds_need_lc=no
++      else
++	archive_cmds_need_lc=yes
++      fi
++      allow_undefined_flag=$lt_save_allow_undefined_flag
++    else
++      cat conftest.err 1>&5
++    fi
++    $rm conftest*
++    echo "configure:6210: result: $archive_cmds_need_lc" >&5
++echo "${ECHO_T}$archive_cmds_need_lc" >&6
++    ;;
++  esac
++fi
++
++echo "configure:6216: checking how to hardcode library paths into programs" >&5
++echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
++hardcode_action=
++if test -n "$hardcode_libdir_flag_spec" || \
++   test -n "$runpath_var "; then
++
++  # We can hardcode non-existant directories.
++  if test "$hardcode_direct" != no &&
++     # If the only mechanism to avoid hardcoding is shlibpath_var, we
++     # have to relink, otherwise we might link with an installed library
++     # when we should be linking with a yet-to-be-installed one
++     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
++     test "$hardcode_minus_L" != no; then
++    # Linking always hardcodes the temporary library directory.
++    hardcode_action=relink
++  else
++    # We can link without hardcoding, and we can hardcode nonexisting dirs.
++    hardcode_action=immediate
++  fi
++else
++  # We cannot hardcode anything, or else we can only hardcode existing
++  # directories.
++  hardcode_action=unsupported
++fi
++echo "configure:6240: result: $hardcode_action" >&5
++echo "${ECHO_T}$hardcode_action" >&6
++
++if test "$hardcode_action" = relink; then
++  # Fast installation is not supported
++  enable_fast_install=no
++elif test "$shlibpath_overrides_runpath" = yes ||
++     test "$enable_shared" = no; then
++  # Fast installation is not necessary
++  enable_fast_install=needless
++fi
++
++striplib=
++old_striplib=
++echo "configure:6254: checking whether stripping libraries is possible" >&5
++echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
++if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
++  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
++  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
++  echo "configure:6259: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++else
++  echo "configure:6262: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++echo "configure:6266: checking dynamic linker characteristics" >&5
++echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
++library_names_spec=
++libname_spec='lib$name'
++soname_spec=
++postinstall_cmds=
++postuninstall_cmds=
++finish_cmds=
++finish_eval=
++shlibpath_var=
++shlibpath_overrides_runpath=unknown
++version_type=none
++dynamic_linker="$host_os ld.so"
++sys_lib_dlsearch_path_spec="/lib /usr/lib"
++sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
++need_lib_prefix=unknown
++hardcode_into_libs=no
++
++# when you set need_version to no, make sure it does not cause -set_version
++# flags to be left without arguments
++need_version=unknown
++
++case $host_os in
++aix3*)
++  version_type=linux
++  library_names_spec='${libname}${release}.so$versuffix $libname.a'
++  shlibpath_var=LIBPATH
++
++  # AIX 3 has no versioning support, so we append a major version to the name.
++  soname_spec='${libname}${release}.so$major'
++  ;;
++
++aix4* | aix5*)
++  version_type=linux
++  if test "$host_cpu" = ia64; then
++    # AIX 5 supports IA64
++    library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so'
++    shlibpath_var=LD_LIBRARY_PATH
++  else
++    # With GCC up to 2.95.x, collect2 would create an import file
++    # for dependence libraries.  The import file would start with
++    # the line `#! .'.  This would cause the generated library to
++    # depend on `.', always an invalid library.  This was fixed in
++    # development snapshots of GCC prior to 3.0.
++    case $host_os in
++       aix4 | aix4.[01] | aix4.[01].*)
++      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
++           echo ' yes '
++           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
++        :
++      else
++        can_build_shared=no
++      fi
++      ;;
++    esac
++    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
++    # soname into executable. Probably we can add versioning support to
++    # collect2, so additional links can be useful in future.
++    if test "$aix_use_runtimelinking" = yes; then
++      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
++      # instead of lib<name>.a to let people know that these are not
++      # typical AIX shared libraries.
++      library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++    else
++      # We preserve .a as extension for shared libraries through AIX4.2
++      # and later when we are not doing run time linking.
++      library_names_spec='${libname}${release}.a $libname.a'
++      soname_spec='${libname}${release}.so$major'
++    fi
++    shlibpath_var=LIBPATH
++    deplibs_check_method=pass_all
++  fi
++  ;;
++
++amigaos*)
++  library_names_spec='$libname.ixlibrary $libname.a'
++  # Create ${libname}_ixlibrary.a entries in /sys/libs.
++  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done'
++  ;;
++
++beos*)
++  library_names_spec='${libname}.so'
++  dynamic_linker="$host_os ld.so"
++  shlibpath_var=LIBRARY_PATH
++  ;;
++
++bsdi4*)
++  version_type=linux
++  need_version=no
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  soname_spec='${libname}${release}.so$major'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
++  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
++  # the default ld.so.conf also contains /usr/contrib/lib and
++  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
++  # libtool to hard-code these into programs
++  ;;
++
++cygwin* | mingw* | pw32*)
++  version_type=windows
++  need_version=no
++  need_lib_prefix=no
++  case $GCC,$host_os in
++  yes,cygwin*)
++    library_names_spec='$libname.dll.a'
++    sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
++    soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
++    postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~
++      dldir=$destdir/`dirname \$dlpath`~
++      test -d \$dldir || mkdir -p \$dldir~
++      $install_prog .libs/$dlname \$dldir/$dlname'
++    postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~
++      dlpath=$dir/\$dldll~
++       $rm \$dlpath'
++    ;;
++  yes,mingw*)
++    library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
++    sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g"`
++    ;;
++  yes,pw32*)
++    library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}.dll'
++    ;;
++  *)
++    library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll $libname.lib'
++    ;;
++  esac
++  dynamic_linker='Win32 ld.exe'
++  # FIXME: first we should search . and the directory the executable is in
++  shlibpath_var=PATH
++  ;;
++
++darwin* | rhapsody*)
++  dynamic_linker="$host_os dyld"
++  version_type=darwin
++  need_lib_prefix=no
++  need_version=no
++  # FIXME: Relying on posixy $() will cause problems for
++  #        cross-compilation, but unfortunately the echo tests do not
++  #        yet detect zsh echo's removal of \ escapes.
++  library_names_spec='${libname}${release}${versuffix}.$(test .$module = .yes && echo so || echo dylib) ${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib) ${libname}.$(test .$module = .yes && echo so || echo dylib)'
++  soname_spec='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)'
++  shlibpath_overrides_runpath=yes
++  shlibpath_var=DYLD_LIBRARY_PATH
++  ;;
++
++dgux*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  soname_spec='${libname}${release}.so$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++freebsd1*)
++  dynamic_linker=no
++  ;;
++
++freebsd*)
++  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
++  version_type=freebsd-$objformat
++  case $version_type in
++    freebsd-elf*)
++      library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
++      need_version=no
++      need_lib_prefix=no
++      ;;
++    freebsd-*)
++      library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix'
++      need_version=yes
++      ;;
++  esac
++  shlibpath_var=LD_LIBRARY_PATH
++  case $host_os in
++  freebsd2*)
++    shlibpath_overrides_runpath=yes
++    ;;
++  freebsd3.01* | freebsdelf3.01*)
++    shlibpath_overrides_runpath=yes
++    hardcode_into_libs=yes
++    ;;
++  *) # from 3.2 on
++    shlibpath_overrides_runpath=no
++    hardcode_into_libs=yes
++    ;;
++  esac
++  ;;
++
++gnu*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so'
++  soname_spec='${libname}${release}.so$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  hardcode_into_libs=yes
++  ;;
++
++hpux9* | hpux10* | hpux11*)
++  # Give a soname corresponding to the major version so that dld.sl refuses to
++  # link against other versions.
++  dynamic_linker="$host_os dld.sl"
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=no
++  shlibpath_var=SHLIB_PATH
++  shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
++  library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl'
++  soname_spec='${libname}${release}.sl$major'
++  # HP-UX runs *really* slowly unless shared libraries are mode 555.
++  postinstall_cmds='chmod 555 $lib'
++  ;;
++
++irix5* | irix6*)
++  version_type=irix
++  need_lib_prefix=no
++  need_version=no
++  soname_spec='${libname}${release}.so$major'
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so'
++  case $host_os in
++  irix5*)
++    libsuff= shlibsuff=
++    ;;
++  *)
++    case $LD in # libtool.m4 will add one of these switches to LD
++    *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;;
++    *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;;
++    *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;;
++    *) libsuff= shlibsuff= libmagic=never-match;;
++    esac
++    ;;
++  esac
++  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
++  shlibpath_overrides_runpath=no
++  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
++  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
++  ;;
++
++# No shared lib support for Linux oldld, aout, or coff.
++linux*oldld* | linux*aout* | linux*coff*)
++  dynamic_linker=no
++  ;;
++
++# This must be Linux ELF.
++linux*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  soname_spec='${libname}${release}.so$major'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=no
++  # This implies no fast_install, which is unacceptable.
++  # Some rework will be needed to allow for fast_install
++  # before this can be enabled.
++  hardcode_into_libs=yes
++
++  # We used to test for /lib/ld.so.1 and disable shared libraries on
++  # powerpc, because MkLinux only supported shared libraries with the
++  # GNU dynamic linker.  Since this was broken with cross compilers,
++  # most powerpc-linux boxes support dynamic linking these days and
++  # people can always --disable-shared, the test was removed, and we
++  # assume the GNU/Linux dynamic linker is in use.
++  dynamic_linker='GNU/Linux ld.so'
++  ;;
++
++netbsd*)
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=no
++  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++    library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
++    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
++    dynamic_linker='NetBSD (a.out) ld.so'
++  else
++    library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so'
++    soname_spec='${libname}${release}.so$major'
++    dynamic_linker='NetBSD ld.elf_so'
++  fi
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  hardcode_into_libs=yes
++  ;;
++
++newsos6)
++  version_type=linux
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  ;;
++
++nto-qnx)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  soname_spec='${libname}${release}.so$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  ;;
++
++openbsd*)
++  version_type=sunos
++  library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  file_magic_cmd=/usr/bin/file
++  file_magic_test_file=`echo /usr/lib/libc.so.*`
++  if  "`echo __ELF__ | $CC -E - | grep __ELF__`" = "" -o "$host_os-$host_cpu" = "openbsd2.8-powerpc" ; then
++    deplibs_check_method='file_magic ELF 0-90-9*-bit LMSB shared object'
++  else
++    deplibs_check_method='file_magic OpenBSD.* shared library'
++  fi
++  ;;
++
++os2*)
++  libname_spec='$name'
++  need_lib_prefix=no
++  library_names_spec='$libname.dll $libname.a'
++  dynamic_linker='OS/2 ld.exe'
++  shlibpath_var=LIBPATH
++  ;;
++
++osf3* | osf4* | osf5*)
++  version_type=osf
++  need_version=no
++  soname_spec='${libname}${release}.so'
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
++  shlibpath_var=LD_LIBRARY_PATH
++  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
++  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
++  ;;
++
++sco3.2v5*)
++  version_type=osf
++  soname_spec='${libname}${release}.so$major'
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++solaris*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  soname_spec='${libname}${release}.so$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  hardcode_into_libs=yes
++  # ldd complains unless libraries are executable
++  postinstall_cmds='chmod +x $lib'
++  ;;
++
++sunos4*)
++  version_type=sunos
++  library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
++  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  if test "$with_gnu_ld" = yes; then
++    need_lib_prefix=no
++  fi
++  need_version=yes
++  ;;
++
++sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
++  version_type=linux
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  soname_spec='${libname}${release}.so$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  case $host_vendor in
++    sni)
++      shlibpath_overrides_runpath=no
++      ;;
++    motorola)
++      need_lib_prefix=no
++      need_version=no
++      shlibpath_overrides_runpath=no
++      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
++      ;;
++  esac
++  ;;
++
++sysv4*MP*)
++  if test -d /usr/nec ;then
++    version_type=linux
++    library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so'
++    soname_spec='$libname.so.$major'
++    shlibpath_var=LD_LIBRARY_PATH
++  fi
++  ;;
++
++uts4*)
++  version_type=linux
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  soname_spec='${libname}${release}.so$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++*)
++  dynamic_linker=no
++  ;;
++esac
++echo "configure:6672: result: $dynamic_linker" >&5
++echo "${ECHO_T}$dynamic_linker" >&6
++test "$dynamic_linker" = no && can_build_shared=no
++
++if test "x$enable_dlopen" != xyes; then
++  enable_dlopen=unknown
++  enable_dlopen_self=unknown
++  enable_dlopen_self_static=unknown
++else
++  lt_cv_dlopen=no
++  lt_cv_dlopen_libs=
++
++  case $host_os in
++  beos*)
++    lt_cv_dlopen="load_add_on"
++    lt_cv_dlopen_libs=
++    lt_cv_dlopen_self=yes
++    ;;
++
++  cygwin* | mingw* | pw32*)
++    lt_cv_dlopen="LoadLibrary"
++    lt_cv_dlopen_libs=
++   ;;
++
++  *)
++    echo "configure:6697: checking for shl_load" >&5
++echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
++if test "${ac_cv_func_shl_load+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line 6703 "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char shl_load (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char shl_load ();
++char (*f) ();
++
++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_shl_load) || defined (__stub___shl_load)
++choke me
++#else
++f = shl_load;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:6734: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  ac_cv_func_shl_load=yes
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_shl_load=no
++fi
++rm -f conftest$ac_exeext conftest.$ac_ext
++fi
++echo "configure:6743: result: $ac_cv_func_shl_load" >&5
++echo "${ECHO_T}$ac_cv_func_shl_load" >&6
++if test $ac_cv_func_shl_load = yes; then
++  lt_cv_dlopen="shl_load"
++else
++
++echo "configure:6749: checking for shl_load in -ldld" >&5
++echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
++if test "${ac_cv_lib_dld_shl_load+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ldld  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line 6757 "configure"
++#include "confdefs.h"
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char shl_load ();
++int
++main ()
++{
++shl_load ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:6776: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  ac_cv_lib_dld_shl_load=yes
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_lib_dld_shl_load=no
++fi
++rm -f conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "configure:6786: result: $ac_cv_lib_dld_shl_load" >&5
++echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
++if test $ac_cv_lib_dld_shl_load = yes; then
++  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
++else
++
++echo "configure:6792: checking for dlopen in -ldl" >&5
++echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
++if test "${ac_cv_lib_dl_dlopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ldl  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line 6800 "configure"
++#include "confdefs.h"
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dlopen ();
++int
++main ()
++{
++dlopen ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:6819: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  ac_cv_lib_dl_dlopen=yes
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_lib_dl_dlopen=no
++fi
++rm -f conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "configure:6829: result: $ac_cv_lib_dl_dlopen" >&5
++echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
++if test $ac_cv_lib_dl_dlopen = yes; then
++  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
++else
++  echo "configure:6834: checking for dlopen" >&5
++echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
++if test "${ac_cv_func_dlopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line 6840 "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char dlopen (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dlopen ();
++char (*f) ();
++
++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_dlopen) || defined (__stub___dlopen)
++choke me
++#else
++f = dlopen;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:6871: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  ac_cv_func_dlopen=yes
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_dlopen=no
++fi
++rm -f conftest$ac_exeext conftest.$ac_ext
++fi
++echo "configure:6880: result: $ac_cv_func_dlopen" >&5
++echo "${ECHO_T}$ac_cv_func_dlopen" >&6
++if test $ac_cv_func_dlopen = yes; then
++  lt_cv_dlopen="dlopen"
++else
++
++echo "configure:6886: checking for dlopen in -lsvld" >&5
++echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
++if test "${ac_cv_lib_svld_dlopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-lsvld  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line 6894 "configure"
++#include "confdefs.h"
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dlopen ();
++int
++main ()
++{
++dlopen ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:6913: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  ac_cv_lib_svld_dlopen=yes
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_lib_svld_dlopen=no
++fi
++rm -f conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "configure:6923: result: $ac_cv_lib_svld_dlopen" >&5
++echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
++if test $ac_cv_lib_svld_dlopen = yes; then
++  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
++fi
++
++	
++fi
++
++fi
++
++fi
++
++fi
++
++    ;;
++  esac
++
++  if test "x$lt_cv_dlopen" != xno; then
++    enable_dlopen=yes
++  else
++    enable_dlopen=no
++  fi
++
++  case $lt_cv_dlopen in
++  dlopen)
++    save_CPPFLAGS="$CPPFLAGS"
++    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
++
++    save_LDFLAGS="$LDFLAGS"
++    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
++
++    save_LIBS="$LIBS"
++    LIBS="$lt_cv_dlopen_libs $LIBS"
++
++    echo "configure:6958: checking whether a program can dlopen itself" >&5
++echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
++if test "${lt_cv_dlopen_self+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  	  if test "$cross_compiling" = yes; then :
++  lt_cv_dlopen_self=cross
++else
++  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
++  lt_status=$lt_dlunknown
++  cat > conftest.$ac_ext <<EOF
++#line 6969 "configure"
++#include "confdefs.h"
++
++#if HAVE_DLFCN_H
++#include <dlfcn.h>
++#endif
++
++#include <stdio.h>
++
++#ifdef RTLD_GLOBAL
++#  define LT_DLGLOBAL		RTLD_GLOBAL
++#else
++#  ifdef DL_GLOBAL
++#    define LT_DLGLOBAL		DL_GLOBAL
++#  else
++#    define LT_DLGLOBAL		0
++#  endif
++#endif
++
++/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
++   find out it does not work in some platform. */
++#ifndef LT_DLLAZY_OR_NOW
++#  ifdef RTLD_LAZY
++#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
++#  else
++#    ifdef DL_LAZY
++#      define LT_DLLAZY_OR_NOW		DL_LAZY
++#    else
++#      ifdef RTLD_NOW
++#        define LT_DLLAZY_OR_NOW	RTLD_NOW
++#      else
++#        ifdef DL_NOW
++#          define LT_DLLAZY_OR_NOW	DL_NOW
++#        else
++#          define LT_DLLAZY_OR_NOW	0
++#        endif
++#      endif
++#    endif
++#  endif
++#endif
++
++#ifdef __cplusplus
++extern "C" void exit (int);
++#endif
++
++void fnord() { int i=42;}
++int main ()
++{
++  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
++  int status = $lt_dlunknown;
++
++  if (self)
++    {
++      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
++      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
++      /* dlclose (self); */
++    }
++
++    exit (status);
++}
++EOF
++  if { (eval echo configure:7030: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>/dev/null; then
++    (./conftest; exit; ) 2>/dev/null
++    lt_status=$?
++    case x$lt_status in
++      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
++      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
++      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
++    esac
++  else :
++    # compilation failed
++    lt_cv_dlopen_self=no
++  fi
++fi
++rm -fr conftest*
++
++fi
++echo "configure:7046: result: $lt_cv_dlopen_self" >&5
++echo "${ECHO_T}$lt_cv_dlopen_self" >&6
++
++    if test "x$lt_cv_dlopen_self" = xyes; then
++      LDFLAGS="$LDFLAGS $link_static_flag"
++      echo "configure:7051: checking whether a statically linked program can dlopen itself" >&5
++echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
++if test "${lt_cv_dlopen_self_static+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  	  if test "$cross_compiling" = yes; then :
++  lt_cv_dlopen_self_static=cross
++else
++  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
++  lt_status=$lt_dlunknown
++  cat > conftest.$ac_ext <<EOF
++#line 7062 "configure"
++#include "confdefs.h"
++
++#if HAVE_DLFCN_H
++#include <dlfcn.h>
++#endif
++
++#include <stdio.h>
++
++#ifdef RTLD_GLOBAL
++#  define LT_DLGLOBAL		RTLD_GLOBAL
++#else
++#  ifdef DL_GLOBAL
++#    define LT_DLGLOBAL		DL_GLOBAL
++#  else
++#    define LT_DLGLOBAL		0
++#  endif
++#endif
++
++/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
++   find out it does not work in some platform. */
++#ifndef LT_DLLAZY_OR_NOW
++#  ifdef RTLD_LAZY
++#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
++#  else
++#    ifdef DL_LAZY
++#      define LT_DLLAZY_OR_NOW		DL_LAZY
++#    else
++#      ifdef RTLD_NOW
++#        define LT_DLLAZY_OR_NOW	RTLD_NOW
++#      else
++#        ifdef DL_NOW
++#          define LT_DLLAZY_OR_NOW	DL_NOW
++#        else
++#          define LT_DLLAZY_OR_NOW	0
++#        endif
++#      endif
++#    endif
++#  endif
++#endif
++
++#ifdef __cplusplus
++extern "C" void exit (int);
++#endif
++
++void fnord() { int i=42;}
++int main ()
++{
++  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
++  int status = $lt_dlunknown;
++
++  if (self)
++    {
++      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
++      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
++      /* dlclose (self); */
++    }
++
++    exit (status);
++}
++EOF
++  if { (eval echo configure:7123: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>/dev/null; then
++    (./conftest; exit; ) 2>/dev/null
++    lt_status=$?
++    case x$lt_status in
++      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
++      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
++      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
++    esac
++  else :
++    # compilation failed
++    lt_cv_dlopen_self_static=no
++  fi
++fi
++rm -fr conftest*
++
++fi
++echo "configure:7139: result: $lt_cv_dlopen_self_static" >&5
++echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
++    fi
++
++    CPPFLAGS="$save_CPPFLAGS"
++    LDFLAGS="$save_LDFLAGS"
++    LIBS="$save_LIBS"
++    ;;
++  esac
++
++  case $lt_cv_dlopen_self in
++  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
++  *) enable_dlopen_self=unknown ;;
++  esac
++
++  case $lt_cv_dlopen_self_static in
++  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
++  *) enable_dlopen_self_static=unknown ;;
++  esac
++fi
++
++# Report which librarie types wil actually be built
++echo "configure:7161: checking if libtool supports shared libraries" >&5
++echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
++echo "configure:7163: result: $can_build_shared" >&5
++echo "${ECHO_T}$can_build_shared" >&6
++
++echo "configure:7166: checking whether to build shared libraries" >&5
++echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
++test "$can_build_shared" = "no" && enable_shared=no
++
++# On AIX, shared libraries and static libraries use the same namespace, and
++# are all built from PIC.
++case "$host_os" in
++aix3*)
++  test "$enable_shared" = yes && enable_static=no
++  if test -n "$RANLIB"; then
++    archive_cmds="$archive_cmds~\$RANLIB \$lib"
++    postinstall_cmds='$RANLIB $lib'
++  fi
++  ;;
++
++aix4*)
++  test "$enable_shared" = yes && enable_static=no
++  ;;
++esac
++echo "configure:7185: result: $enable_shared" >&5
++echo "${ECHO_T}$enable_shared" >&6
++
++echo "configure:7188: checking whether to build static libraries" >&5
++echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
++# Make sure either enable_shared or enable_static is yes.
++test "$enable_shared" = yes || enable_static=yes
++echo "configure:7192: result: $enable_static" >&5
++echo "${ECHO_T}$enable_static" >&6
++
++# The else clause should only fire when bootstrapping the
++# libtool distribution, otherwise you forgot to ship ltmain.sh
++# with your package, and you will get complaints that there are
++# no rules to generate ltmain.sh.
++if test -f "$ltmain"; then
++  # Now quote all the things that may contain metacharacters while being
++  # careful not to overquote the AC_SUBSTed values.  We take copies of the
++  # variables and quote the copies for generation of the libtool script.
++  for var in echo old_CC old_CFLAGS AR AR_FLAGS RANLIB LN_S NM SHELL \
++    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
++    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
++    deplibs_check_method reload_flag reload_cmds need_locks \
++    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
++    lt_cv_sys_global_symbol_to_c_name_address \
++    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
++    old_postinstall_cmds old_postuninstall_cmds \
++    compiler \
++    CC \
++    LD \
++    lt_prog_compiler_wl \
++    lt_prog_compiler_pic \
++    lt_prog_compiler_static \
++    lt_prog_compiler_no_builtin_flag \
++    export_dynamic_flag_spec \
++    thread_safe_flag_spec \
++    whole_archive_flag_spec \
++    old_archive_cmds \
++    old_archive_from_new_cmds \
++    predep_objects \
++    postdep_objects \
++    predeps \
++    postdeps \
++    compiler_lib_search_path \
++    archive_cmds \
++    archive_expsym_cmds \
++    postinstall_cmds \
++    postuninstall_cmds \
++    old_archive_from_expsyms_cmds \
++    allow_undefined_flag \
++    no_undefined_flag \
++    export_symbols_cmds \
++    hardcode_libdir_flag_spec \
++    hardcode_libdir_separator \
++    lt_cv_prog_compiler_c_o \
++    exclude_expsyms \
++    include_expsyms; do
++
++    case $var in
++    old_archive_cmds | \
++    old_archive_from_new_cmds | \
++    archive_cmds | \
++    archive_expsym_cmds | \
++    old_archive_from_expsyms_cmds | \
++    export_symbols_cmds | \
++    extract_expsyms_cmds | reload_cmds | finish_cmds | \
++    postinstall_cmds | postuninstall_cmds | \
++    old_postinstall_cmds | old_postuninstall_cmds | \
++    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
++      # Double-quote double-evaled strings.
++      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
++      ;;
++    *)
++      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
++      ;;
++    esac
++  done
++
++  case $lt_echo in
++  *'\$0 --fallback-echo"')
++    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
++    ;;
++  esac
++
++cfgfile="${ofile}T"
++  trap "$rm \"$cfgfile\"; exit 1" 1 2 15
++  $rm -f "$cfgfile"
++  echo "configure:7271: notice: creating $ofile" >&5
++echo "creating $ofile" >&6
++
++  cat <<__EOF__ >> "$cfgfile"
++#! $SHELL
++
++# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
++# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
++# NOTE: Changes made to this file will be lost: look at ltmain.sh.
++#
++# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
++# Free Software Foundation, Inc.
++#
++# This file is part of GNU Libtool:
++# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
++#
++# 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
++#
++# As a special exception to the GNU General Public License, if you
++# distribute this file as part of a program that contains a
++# configuration script generated by Autoconf, you may include it under
++# the same distribution terms that you use for the rest of that program.
++
++# Sed that helps us avoid accidentally triggering echo(1) options like -n.
++Xsed="sed -e s/^X//"
++
++# The HP-UX ksh and POSIX shell print the target directory to stdout
++# if CDPATH is set.
++if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
++
++# The names of the tagged configurations supported by this script.
++available_tags=
++
++# ### BEGIN LIBTOOL CONFIG
++
++# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
++
++# Shell to use when invoking shell scripts.
++SHELL=$lt_SHELL
++
++# Whether or not to build shared libraries.
++build_libtool_libs=$enable_shared
++
++# Whether or not to build static libraries.
++build_old_libs=$enable_static
++
++# Whether or not to add -lc for building shared libraries.
++build_libtool_need_lc=$archive_cmds_need_lc
++
++# Whether or not to optimize for fast installation.
++fast_install=$enable_fast_install
++
++# The host system.
++host_alias=$host_alias
++host=$host
++
++# An echo program that does not interpret backslashes.
++echo=$lt_echo
++
++# The archiver.
++AR=$lt_AR
++AR_FLAGS=$lt_AR_FLAGS
++
++# A C compiler.
++LTCC=$LTCC
++
++# A language-specific compiler.
++CC=$lt_compiler
++
++# Is the compiler the GNU C compiler?
++with_gcc=$GCC
++
++# The linker used to build libraries.
++LD=$lt_LD
++
++# Whether we need hard or soft links.
++LN_S=$lt_LN_S
++
++# A BSD-compatible nm program.
++NM=$lt_NM
++
++# A symbol stripping program
++STRIP=$STRIP
++
++# Used to examine libraries when file_magic_cmd begins "file"
++MAGIC_CMD=$MAGIC_CMD
++
++# Used on cygwin: DLL creation program.
++DLLTOOL="$DLLTOOL"
++
++# Used on cygwin: object dumper.
++OBJDUMP="$OBJDUMP"
++
++# Used on cygwin: assembler.
++AS="$AS"
++
++# The name of the directory that contains temporary libtool files.
++objdir=$objdir
++
++# How to create reloadable object files.
++reload_flag=$lt_reload_flag
++reload_cmds=$lt_reload_cmds
++
++# How to pass a linker flag through the compiler.
++wl=$lt_lt_prog_compiler_wl
++
++# Object file suffix (normally "o").
++objext="$ac_objext"
++
++# Old archive suffix (normally "a").
++libext="$libext"
++
++# Executable file suffix (normally "").
++exeext="$exeext"
++
++# Additional compiler flags for building library objects.
++pic_flag=$lt_lt_prog_compiler_pic
++pic_mode=$pic_mode
++
++# What is the maximum length of a command?
++max_cmd_len=$lt_cv_sys_max_cmd_len
++
++# Does compiler simultaneously support -c and -o options?
++compiler_c_o=$lt_lt_cv_prog_compiler_c_o
++
++# Must we lock files when doing compilation ?
++need_locks=$lt_need_locks
++
++# Do we need the lib prefix for modules?
++need_lib_prefix=$need_lib_prefix
++
++# Do we need a version for libraries?
++need_version=$need_version
++
++# Whether dlopen is supported.
++dlopen_support=$enable_dlopen
++
++# Whether dlopen of programs is supported.
++dlopen_self=$enable_dlopen_self
++
++# Whether dlopen of statically linked programs is supported.
++dlopen_self_static=$enable_dlopen_self_static
++
++# Compiler flag to prevent dynamic linking.
++link_static_flag=$lt_lt_prog_compiler_static
++
++# Compiler flag to turn off builtin functions.
++no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
++
++# Compiler flag to allow reflexive dlopens.
++export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
++
++# Compiler flag to generate shared objects directly from archives.
++whole_archive_flag_spec=$lt_whole_archive_flag_spec
++
++# Compiler flag to generate thread-safe objects.
++thread_safe_flag_spec=$lt_thread_safe_flag_spec
++
++# Library versioning type.
++version_type=$version_type
++
++# Format of library name prefix.
++libname_spec=$lt_libname_spec
++
++# List of archive names.  First name is the real one, the rest are links.
++# The last name is the one that the linker finds with -lNAME.
++library_names_spec=$lt_library_names_spec
++
++# The coded name of the library, if different from the real name.
++soname_spec=$lt_soname_spec
++
++# Commands used to build and install an old-style archive.
++RANLIB=$lt_RANLIB
++old_archive_cmds=$lt_old_archive_cmds
++old_postinstall_cmds=$lt_old_postinstall_cmds
++old_postuninstall_cmds=$lt_old_postuninstall_cmds
++
++# Create an old-style archive from a shared archive.
++old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
++
++# Create a temporary old-style archive to link instead of a shared archive.
++old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
++
++# Commands used to build and install a shared archive.
++archive_cmds=$lt_archive_cmds
++archive_expsym_cmds=$lt_archive_expsym_cmds
++postinstall_cmds=$lt_postinstall_cmds
++postuninstall_cmds=$lt_postuninstall_cmds
++
++# Commands to strip libraries.
++old_striplib=$lt_old_striplib
++striplib=$lt_striplib
++
++# Dependencies to place before the objects being linked to create a
++# shared library.
++predep_objects=$lt_predep_objects
++
++# Dependencies to place after the objects being linked to create a
++# shared library.
++postdep_objects=$lt_postdep_objects
++
++# Dependencies to place before the objects being linked to create a
++# shared library.
++predeps=$lt_predeps
++
++# Dependencies to place after the objects being linked to create a
++# shared library.
++postdeps=$lt_postdeps
++
++# The library search path used internally by the compiler when linking
++# a shared library.
++compiler_lib_search_path=$lt_compiler_lib_search_path
++
++# Method to check whether dependent libraries are shared objects.
++deplibs_check_method=$lt_deplibs_check_method
++
++# Command to use when deplibs_check_method == file_magic.
++file_magic_cmd=$lt_file_magic_cmd
++
++# Flag that allows shared libraries with undefined symbols to be built.
++allow_undefined_flag=$lt_allow_undefined_flag
++
++# Flag that forces no undefined symbols.
++no_undefined_flag=$lt_no_undefined_flag
++
++# Commands used to finish a libtool library installation in a directory.
++finish_cmds=$lt_finish_cmds
++
++# Same as above, but a single script fragment to be evaled but not shown.
++finish_eval=$lt_finish_eval
++
++# Take the output of nm and produce a listing of raw symbols and C names.
++global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
++
++# Transform the output of nm in a proper C declaration
++global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
++
++# Transform the output of nm in a C name address pair
++global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
++
++# This is the shared library runtime path variable.
++runpath_var=$runpath_var
++
++# This is the shared library path variable.
++shlibpath_var=$shlibpath_var
++
++# Is shlibpath searched before the hard-coded library search path?
++shlibpath_overrides_runpath=$shlibpath_overrides_runpath
++
++# How to hardcode a shared library path into an executable.
++hardcode_action=$hardcode_action
++
++# Whether we should hardcode library paths into libraries.
++hardcode_into_libs=$hardcode_into_libs
++
++# Flag to hardcode \$libdir into a binary during linking.
++# This must work even if \$libdir does not exist.
++hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
++
++# Whether we need a single -rpath flag with a separated argument.
++hardcode_libdir_separator=$lt_hardcode_libdir_separator
++
++# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
++# resulting binary.
++hardcode_direct=$hardcode_direct
++
++# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
++# resulting binary.
++hardcode_minus_L=$hardcode_minus_L
++
++# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
++# the resulting binary.
++hardcode_shlibpath_var=$hardcode_shlibpath_var
++
++# Variables whose values should be saved in libtool wrapper scripts and
++# restored at relink time.
++variables_saved_for_relink="$variables_saved_for_relink"
++
++# Whether libtool must link a program against all its dependency libraries.
++link_all_deplibs=$link_all_deplibs
++
++# Compile-time system search path for libraries
++sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
++
++# Run-time system search path for libraries
++sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
++
++# Fix the shell variable \$srcfile for the compiler.
++fix_srcfile_path="$fix_srcfile_path"
++
++# Set to yes if exported symbols are required.
++always_export_symbols=$always_export_symbols
++
++# The commands to list exported symbols.
++export_symbols_cmds=$lt_export_symbols_cmds
++
++# The commands to extract the exported symbol list from a shared archive.
++extract_expsyms_cmds=$lt_extract_expsyms_cmds
++
++# Symbols that should not be listed in the preloaded symbols.
++exclude_expsyms=$lt_exclude_expsyms
++
++# Symbols that must always be exported.
++include_expsyms=$lt_include_expsyms
++
++# ### END LIBTOOL CONFIG
++
++__EOF__
++
++  case $host_os in
++  aix3*)
++    cat <<\EOF >> "$cfgfile"
++
++# AIX sometimes has problems with the GCC collect2 program.  For some
++# reason, if we set the COLLECT_NAMES environment variable, the problems
++# vanish in a puff of smoke.
++if test "X${COLLECT_NAMES+set}" != Xset; then
++  COLLECT_NAMES=
++  export COLLECT_NAMES
++fi
++EOF
++    ;;
++
++  cygwin* | mingw* | pw32* | os2*)
++    cat <<'EOF' >> "$cfgfile"
++    # This is a source program that is used to create dlls on Windows
++    # Don't remove nor modify the starting and closing comments
++    # /* ltdll.c starts here */
++# #define WIN32_LEAN_AND_MEAN
++# #include <windows.h>
++# #undef WIN32_LEAN_AND_MEAN
++# #include <stdio.h>
++#
++# #ifndef __CYGWIN__
++# #  ifdef __CYGWIN32__
++# #    define __CYGWIN__ __CYGWIN32__
++# #  endif
++# #endif
++#
++# #ifdef __cplusplus
++# extern "C" {
++# #endif
++# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
++# #ifdef __cplusplus
++# }
++# #endif
++#
++# #ifdef __CYGWIN__
++# #include <cygwin/cygwin_dll.h>
++# DECLARE_CYGWIN_DLL( DllMain );
++# #endif
++# HINSTANCE __hDllInstance_base;
++#
++# BOOL APIENTRY
++# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
++# {
++#   __hDllInstance_base = hInst;
++#   return TRUE;
++# }
++# /* ltdll.c ends here */
++
++    # This is a source program that is used to create import libraries
++    # on Windows for dlls which lack them. Don't remove nor modify the
++    # starting and closing comments
++    # /* impgen.c starts here */
++# /*   Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
++#
++#  This file is part of GNU libtool.
++#
++#  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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
++#  */
++#
++# #include <stdio.h>		/* for printf() */
++# #include <unistd.h>		/* for open(), lseek(), read() */
++# #include <fcntl.h>		/* for O_RDONLY, O_BINARY */
++# #include <string.h>		/* for strdup() */
++#
++# /* O_BINARY isn't required (or even defined sometimes) under Unix */
++# #ifndef O_BINARY
++# #define O_BINARY 0
++# #endif
++#
++# static unsigned int
++# pe_get16 (fd, offset)
++#      int fd;
++#      int offset;
++# {
++#   unsigned char b[2];
++#   lseek (fd, offset, SEEK_SET);
++#   read (fd, b, 2);
++#   return b[0] + (b[1]<<8);
++# }
++#
++# static unsigned int
++# pe_get32 (fd, offset)
++#     int fd;
++#     int offset;
++# {
++#   unsigned char b[4];
++#   lseek (fd, offset, SEEK_SET);
++#   read (fd, b, 4);
++#   return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
++# }
++#
++# static unsigned int
++# pe_as32 (ptr)
++#      void *ptr;
++# {
++#   unsigned char *b = ptr;
++#   return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
++# }
++#
++# int
++# main (argc, argv)
++#     int argc;
++#     char *argv[];
++# {
++#     int dll;
++#     unsigned long pe_header_offset, opthdr_ofs, num_entries, i;
++#     unsigned long export_rva, export_size, nsections, secptr, expptr;
++#     unsigned long name_rvas, nexp;
++#     unsigned char *expdata, *erva;
++#     char *filename, *dll_name;
++#
++#     filename = argv[1];
++#
++#     dll = open(filename, O_RDONLY|O_BINARY);
++#     if (dll < 1)
++# 	return 1;
++#
++#     dll_name = filename;
++#
++#     for (i=0; filename[i]; i++)
++# 	if (filename[i] == '/' || filename[i] == '\\'  || filename[i] == ':')
++# 	    dll_name = filename + i +1;
++#
++#     pe_header_offset = pe_get32 (dll, 0x3c);
++#     opthdr_ofs = pe_header_offset + 4 + 20;
++#     num_entries = pe_get32 (dll, opthdr_ofs + 92);
++#
++#     if (num_entries < 1) /* no exports */
++# 	return 1;
++#
++#     export_rva = pe_get32 (dll, opthdr_ofs + 96);
++#     export_size = pe_get32 (dll, opthdr_ofs + 100);
++#     nsections = pe_get16 (dll, pe_header_offset + 4 +2);
++#     secptr = (pe_header_offset + 4 + 20 +
++# 	      pe_get16 (dll, pe_header_offset + 4 + 16));
++#
++#     expptr = 0;
++#     for (i = 0; i < nsections; i++)
++#     {
++# 	char sname[8];
++# 	unsigned long secptr1 = secptr + 40 * i;
++# 	unsigned long vaddr = pe_get32 (dll, secptr1 + 12);
++# 	unsigned long vsize = pe_get32 (dll, secptr1 + 16);
++# 	unsigned long fptr = pe_get32 (dll, secptr1 + 20);
++# 	lseek(dll, secptr1, SEEK_SET);
++# 	read(dll, sname, 8);
++# 	if (vaddr <= export_rva && vaddr+vsize > export_rva)
++# 	{
++# 	    expptr = fptr + (export_rva - vaddr);
++# 	    if (export_rva + export_size > vaddr + vsize)
++# 		export_size = vsize - (export_rva - vaddr);
++# 	    break;
++# 	}
++#     }
++#
++#     expdata = (unsigned char*)malloc(export_size);
++#     lseek (dll, expptr, SEEK_SET);
++#     read (dll, expdata, export_size);
++#     erva = expdata - export_rva;
++#
++#     nexp = pe_as32 (expdata+24);
++#     name_rvas = pe_as32 (expdata+32);
++#
++#     printf ("EXPORTS\n");
++#     for (i = 0; i<nexp; i++)
++#     {
++# 	unsigned long name_rva = pe_as32 (erva+name_rvas+i*4);
++# 	printf ("\t%s @ %ld ;\n", erva+name_rva, 1+ i);
++#     }
++#
++#     return 0;
++# }
++# /* impgen.c ends here */
++
++EOF
++    ;;
++  esac
++
++  # We use sed instead of cat because bash on DJGPP gets confused if
++  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
++  # text mode, it properly converts lines to CR/LF.  This bash problem
++  # is reportedly fixed, but why not run on old versions too?
++  sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
++
++  mv -f "$cfgfile" "$ofile" || \
++    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
++  chmod +x "$ofile"
++
++else
++  # If there is no Makefile yet, we rely on a make rule to execute
++  # `config.status --recheck' to rerun these tests and create the
++  # libtool script then.
++  test -f Makefile && make "$ltmain"
++fi
++
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='${CC-cc} -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++CC="$lt_save_CC"
++
++# Check whether --with-tags or --without-tags was given.
++if test "${with_tags+set}" = set; then
++  withval="$with_tags"
++  tagnames="$withval"
++else
++  tagnames="CXX,GCJ"
++fi;
++
++if test -f "$ltmain" && test -n "$tagnames"; then
++  if test ! -f "${ofile}"; then
++    echo "configure: WARNING: output file \`$ofile' does not exist" >&2
++  fi
++
++  if test -z "$LTCC"; then
++    eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
++    if test -z "$LTCC"; then
++      echo "configure: WARNING: output file \`$ofile' does not look like a libtool script" >&2
++    else
++      echo "configure: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2
++    fi
++  fi
++
++  # Extract list of available tagged configurations in $ofile.
++  # Note that this assumes the entire list is on one line.
++  available_tags=`grep "^available_tags=" "${ofile}" | sed -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
++
++  IFS="${IFS= 	}"; lt_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:},"
++  for tagname in $tagnames; do
++    IFS="$lt_save_ifs"
++    # Check whether tagname contains only valid characters
++    case `$echo "X$tagname" | $Xsed -e 's/[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]//g'` in
++    "") ;;
++    *)  { echo "configure: error: invalid tag name: $tagname" >&2; exit 1; }
++        ;;
++    esac
++
++    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
++    then
++      { echo "configure: error: tag name $tagname already exists" >&2; exit 1; }
++    fi
++
++    # Update the list of available tags.
++    if test -n "$tagname"; then
++      echo appending configuration tag \"$tagname\" to $ofile
++
++      case $tagname in
++      CXX)
++        ac_ext=cc
++ac_cpp='$CXXCPP $CPPFLAGS'
++ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='${CXX-g++} -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
++
++archive_cmds_need_lc_CXX=no
++allow_undefined_flag_CXX=
++always_export_symbols_CXX=no
++archive_expsym_cmds_CXX=
++export_dynamic_flag_spec_CXX=
++hardcode_direct_CXX=no
++hardcode_libdir_flag_spec_CXX=
++hardcode_libdir_separator_CXX=
++hardcode_minus_L_CXX=no
++link_all_deplibs_CXX=unknown
++old_archive_cmds_CXX=$old_archive_cmds
++no_undefined_flag_CXX=
++whole_archive_flag_spec_CXX=
++
++# Dependencies to place before and after the object being linked:
++predep_objects_CXX=
++postdep_objects_CXX=
++predeps_CXX=
++postdeps_CXX=
++compiler_lib_search_path_CXX=
++
++# Source file extension for C test sources.
++ac_ext=cc
++
++# Object file extension for compiled C test sources.
++objext=o
++objext_CXX=$objext
++
++# Code to be used in simple compile tests
++lt_simple_compile_test_code="int some_variable = 0;"
++
++# Code to be used in simple link tests
++lt_simple_link_test_code='int main(int char *) { return(0); }'
++
++# ltmain only uses $CC for tagged configurations so make sure $CC is set.
++
++# If no C compiler was specified, use CC.
++LTCC=${LTCC-"$CC"}
++
++# Allow CC to be a program name with arguments.
++set dummy $CC
++compiler="$2"
++
++# Allow CC to be a program name with arguments.
++lt_save_CC="$CC"
++CC=${CXX-"c++"}
++set dummy $CC
++compiler="$2"
++compiler_CXX=$CC
++cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
++
++# We don't want -fno-exception wen compiling C++ code, so set the
++# no_builtin_flag separately
++if test "$GXX" = yes; then
++  lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
++else
++  lt_prog_compiler_no_builtin_flag_CXX=
++fi
++
++if test "$GXX" = yes; then
++  # Set up default GNU C++ configuration
++
++  # Check if GNU C++ uses GNU ld as the underlying linker, since the
++  # archiving commands below assume that GNU ld is being used.
++  if eval "`$CC -print-prog-name=ld` --version 2>&1" | \
++      egrep 'GNU ld' > /dev/null; then
++    with_gnu_ld=yes
++
++    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
++    archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++
++    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
++    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
++
++    # If archive_cmds runs LD, not CC, wlarc should be empty
++    # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
++    #     investigate it a little bit more. (MM)
++    wlarc='${wl}'
++
++    # ancient GNU ld didn't support --whole-archive et. al.
++    if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
++        egrep 'no-whole-archive' > /dev/null; then
++      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
++    else
++      whole_archive_flag_spec_CXX=
++    fi
++  else
++    with_gnu_ld=no
++    wlarc=
++
++    # A generic and very simple default shared library creation
++    # command for GNU C++ for the case where it uses the native
++    # linker, instead of GNU ld.  If possible, this setting should
++    # overridden to take advantage of the native linker features on
++    # the platform it is being used on.
++    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
++  fi
++
++  # Commands to make compiler produce verbose output that lists
++  # what "hidden" libraries, object files and flags are used when
++  # linking a shared library.
++  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | egrep "\-L"'
++
++else
++  GXX=no
++  with_gnu_ld=no
++  wlarc=
++fi
++
++# PORTME: fill in a description of your system's C++ link characteristics
++echo "configure:7974: checking whether the $compiler linker ($LD) supports shared libraries" >&5
++echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
++ld_shlibs_CXX=yes
++case $host_os in
++  aix3*)
++    # FIXME: insert proper C++ library support
++    ld_shlibs_CXX=no
++    ;;
++  aix4* | aix5*)
++    if test "$host_cpu" = ia64; then
++      # On IA64, the linker does run time linking by default, so we don't
++      # have to do anything special.
++      aix_use_runtimelinking=no
++      exp_sym_flag='-Bexport'
++      no_entry_flag=""
++    else
++      aix_use_runtimelinking=no
++
++      # Test if we are trying to use run time linking or normal
++      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
++      # need to do runtime linking.
++      case $host_os in aix4.[23]|aix4.[23].*|aix5*)
++        for ld_flag in $LDFLAGS; do
++	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
++	    aix_use_runtimelinking=yes
++	    break
++	  fi
++        done
++      esac
++
++      exp_sym_flag='-bexport'
++      no_entry_flag='-bnoentry'
++    fi
++
++    # When large executables or shared objects are built, AIX ld can
++    # have problems creating the table of contents.  If linking a library
++    # or program results in "error TOC overflow" add -mminimal-toc to
++    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
++    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
++
++    archive_cmds_CXX=''
++    hardcode_direct_CXX=yes
++    hardcode_libdir_separator_CXX=':'
++    link_all_deplibs_CXX=yes
++
++    if test "$GXX" = yes; then
++      case $host_os in aix4.012|aix4.012.*)
++      # We only want to do this on AIX 4.2 and lower, the check
++      # below for broken collect2 doesn't work under 4.3+
++        collect2name=`${CC} -print-prog-name=collect2`
++        if test -f "$collect2name" && \
++	   strings "$collect2name" | grep resolve_lib_name >/dev/null
++        then
++	  # We have reworked collect2
++	  hardcode_direct_CXX=yes
++        else
++	  # We have old collect2
++	  hardcode_direct_CXX=unsupported
++	  # It fails to find uninstalled libraries when the uninstalled
++	  # path is not listed in the libpath.  Setting hardcode_minus_L
++	  # to unsupported forces relinking
++	  hardcode_minus_L_CXX=yes
++	  hardcode_libdir_flag_spec_CXX='-L$libdir'
++	  hardcode_libdir_separator_CXX=
++        fi
++      esac
++      shared_flag='-shared'
++    else
++      # not using gcc
++      if test "$host_cpu" = ia64; then
++	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
++	# chokes on -Wl,-G. The following line is correct:
++        shared_flag='-G'
++      else
++	if test "$aix_use_runtimelinking" = yes; then
++          shared_flag='${wl}-G'
++        else
++          shared_flag='${wl}-bM:SRE'
++	fi
++      fi
++    fi
++
++    # It seems that -bexpall does not export symbols beginning with
++    # underscore (_), so it is better to generate a list of symbols to export.
++    always_export_symbols_CXX=yes
++    if test "$aix_use_runtimelinking" = yes; then
++      # Warning - without using the other runtime loading flags (-brtl),
++      # -berok will link without error, but may produce a broken library.
++      allow_undefined_flag_CXX='-berok'
++      # Determine the default libpath from the value encoded in an empty executable.
++      cat >conftest.$ac_ext <<_ACEOF
++#line 8065 "configure"
++#include "confdefs.h"
++#ifdef __cplusplus
++extern "C" void exit (int);
++#endif
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:8080: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++
++aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | ${AWK-awk} '/Import File Strings/ { getline; getline; if ($2 ~ /^\//) print $2 }'`
++# Check for a 64-bit object if we didn't find anything.
++if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | ${AWK-awk} '/Import File Strings/ { getline; getline; if ($2 ~ /^\//) print $2 }'`; fi
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++fi
++rm -f conftest$ac_exeext conftest.$ac_ext
++if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
++
++      hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
++
++      archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
++     else
++      if test "$host_cpu" = ia64; then
++        hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
++        allow_undefined_flag_CXX="-z nodefs"
++        archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
++      else
++        # Determine the default libpath from the value encoded in an empty executable.
++        cat >conftest.$ac_ext <<_ACEOF
++#line 8103 "configure"
++#include "confdefs.h"
++#ifdef __cplusplus
++extern "C" void exit (int);
++#endif
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:8118: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++
++aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | ${AWK-awk} '/Import File Strings/ { getline; getline; if ($2 ~ /^\//) print $2 }'`
++# Check for a 64-bit object if we didn't find anything.
++if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | ${AWK-awk} '/Import File Strings/ { getline; getline; if ($2 ~ /^\//) print $2 }'`; fi
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++fi
++rm -f conftest$ac_exeext conftest.$ac_ext
++if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
++
++        hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
++        # Warning - without using the other run time loading flags,
++        # -berok will link without error, but may produce a broken library.
++        no_undefined_flag_CXX=' ${wl}-bernotok'
++        allow_undefined_flag_CXX=' ${wl}-berok'
++        # -bexpall does not export symbols beginning with underscore (_)
++        always_export_symbols_CXX=yes
++        # Exported symbols can be pulled into shared objects from archives
++        whole_archive_flag_spec_CXX=' '
++        archive_cmds_need_lc_CXX=yes
++        # This is similar to how AIX traditionally builds it's shared libraries.
++        archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
++      fi
++    fi
++    ;;
++  chorus*)
++    case $cc_basename in
++      *)
++        # FIXME: insert proper C++ library support
++        ld_shlibs_CXX=no
++        ;;
++    esac
++    ;;
++  dgux*)
++    case $cc_basename in
++      ec++)
++        # FIXME: insert proper C++ library support
++        ld_shlibs_CXX=no
++        ;;
++      ghcx)
++        # Green Hills C++ Compiler
++        # FIXME: insert proper C++ library support
++        ld_shlibs_CXX=no
++        ;;
++      *)
++        # FIXME: insert proper C++ library support
++        ld_shlibs_CXX=no
++        ;;
++    esac
++    ;;
++  freebsd12*)
++    # C++ shared libraries reported to be fairly broken before switch to ELF
++    ld_shlibs_CXX=no
++    ;;
++  freebsd-elf*)
++    archive_cmds_need_lc_CXX=no
++    ;;
++  freebsd*)
++    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
++    # conventions
++    ld_shlibs_CXX=yes
++    ;;
++  gnu*)
++    ;;
++  hpux*)
++    if test $with_gnu_ld = no; then
++      hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
++      hardcode_libdir_separator_CXX=:
++      export_dynamic_flag_spec_CXX='${wl}-E'
++    fi
++    hardcode_direct_CXX=yes
++    hardcode_minus_L_CXX=yes # Not in the search PATH, but as the default
++			 # location of the library.
++
++    case $cc_basename in
++      CC)
++        # FIXME: insert proper C++ library support
++        ld_shlibs_CXX=no
++        ;;
++      aCC)
++	case $host_os in
++	hpux9*) archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ;;
++	*) archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;;
++	esac
++        # Commands to make compiler produce verbose output that lists
++        # what "hidden" libraries, object files and flags are used when
++        # linking a shared library.
++        #
++        # There doesn't appear to be a way to prevent this compiler from
++        # explicitly linking system object files so we need to strip them
++        # from the output so that they don't get included in the library
++        # dependencies.
++        output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | egrep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
++        ;;
++      *)
++        if test $GXX = yes; then
++	  if test $with_gnu_ld = no; then
++	    case "$host_os" in
++	    hpux9*) archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ;;
++	    *) archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;;
++	    esac
++	  fi
++	else
++	  # FIXME: insert proper C++ library support
++          ld_shlibs_CXX=no
++	fi
++        ;;
++    esac
++    ;;
++  irix5* | irix6*)
++    case $cc_basename in
++      CC)
++        # SGI C++
++        archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
++
++	# Archives containing C++ object files must be created using
++	# "CC -ar", where "CC" is the IRIX C++ compiler.  This is
++	# necessary to make sure instantiated templates are included
++	# in the archive.
++	old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
++	;;
++      *)
++        if test "$GXX" = yes; then
++          if test "$with_gnu_ld" = no; then
++            archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
++          else
++            archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -o $lib'
++          fi
++        fi
++        link_all_deplibs_CXX=yes
++        ;;
++    esac
++    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
++    hardcode_libdir_separator_CXX=:
++    ;;
++  linux*)
++    case $cc_basename in
++      KCC)
++        # Kuck and Associates, Inc. (KAI) C++ Compiler
++
++        # KCC will only create a shared library if the output file
++        # ends with ".so" (or ".sl" for HP-UX), so rename the library
++        # to its proper name (with version) after linking.
++        archive_cmds_CXX='templib=`echo $lib | sed -e "s/\.so\..*/\.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
++        archive_expsym_cmds_CXX='templib=`echo $lib | sed -e "s/\.so\..*/\.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
++
++        # Commands to make compiler produce verbose output that lists
++        # what "hidden" libraries, object files and flags are used when
++        # linking a shared library.
++        #
++        # There doesn't appear to be a way to prevent this compiler from
++        # explicitly linking system object files so we need to strip them
++        # from the output so that they don't get included in the library
++        # dependencies.
++        output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest.so 2>&1 | egrep "ld"`; rm -f libconftest.so; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
++
++        hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
++        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
++
++	# Archives containing C++ object files must be created using
++	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
++        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
++        ;;
++      cxx)
++        # Compaq C++
++        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
++        archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
++
++        runpath_var=LD_RUN_PATH
++        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
++        hardcode_libdir_separator_CXX=:
++
++        # Commands to make compiler produce verbose output that lists
++        # what "hidden" libraries, object files and flags are used when
++        # linking a shared library.
++        #
++        # There doesn't appear to be a way to prevent this compiler from
++        # explicitly linking system object files so we need to strip them
++        # from the output so that they don't get included in the library
++        # dependencies.
++        output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | sed "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
++        ;;
++    esac
++    ;;
++  lynxos*)
++    # FIXME: insert proper C++ library support
++    ld_shlibs_CXX=no
++    ;;
++  m88k*)
++    # FIXME: insert proper C++ library support
++    ld_shlibs_CXX=no
++    ;;
++  mvs*)
++    case $cc_basename in
++      cxx)
++        # FIXME: insert proper C++ library support
++        ld_shlibs_CXX=no
++        ;;
++      *)
++        # FIXME: insert proper C++ library support
++        ld_shlibs_CXX=no
++        ;;
++    esac
++    ;;
++  netbsd*)
++    # NetBSD uses g++ - do we need to do anything?
++    ;;
++  osf3*)
++    case $cc_basename in
++      KCC)
++        # Kuck and Associates, Inc. (KAI) C++ Compiler
++
++        # KCC will only create a shared library if the output file
++        # ends with ".so" (or ".sl" for HP-UX), so rename the library
++        # to its proper name (with version) after linking.
++        archive_cmds_CXX='templib=`echo $lib | sed -e "s/\.so\..*/\.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
++
++        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
++        hardcode_libdir_separator_CXX=:
++
++	# Archives containing C++ object files must be created using
++	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
++        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
++
++        ;;
++      RCC)
++        # Rational C++ 2.4.1
++        # FIXME: insert proper C++ library support
++        ld_shlibs_CXX=no
++        ;;
++      cxx)
++        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
++        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
++
++        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
++        hardcode_libdir_separator_CXX=:
++
++        # Commands to make compiler produce verbose output that lists
++        # what "hidden" libraries, object files and flags are used when
++        # linking a shared library.
++        #
++        # There doesn't appear to be a way to prevent this compiler from
++        # explicitly linking system object files so we need to strip them
++        # from the output so that they don't get included in the library
++        # dependencies.
++        output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | sed "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
++        ;;
++      *)
++        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
++          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
++          archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
++
++          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
++          hardcode_libdir_separator_CXX=:
++
++          # Commands to make compiler produce verbose output that lists
++          # what "hidden" libraries, object files and flags are used when
++          # linking a shared library.
++          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | egrep "\-L"'
++
++	else
++          # FIXME: insert proper C++ library support
++          ld_shlibs_CXX=no
++        fi
++        ;;
++    esac
++    ;;
++  osf4* | osf5*)
++    case $cc_basename in
++      KCC)
++        # Kuck and Associates, Inc. (KAI) C++ Compiler
++
++        # KCC will only create a shared library if the output file
++        # ends with ".so" (or ".sl" for HP-UX), so rename the library
++        # to its proper name (with version) after linking.
++        archive_cmds_CXX='templib=`echo $lib | sed -e "s/\.so\..*/\.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
++
++        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
++        hardcode_libdir_separator_CXX=:
++
++	# Archives containing C++ object files must be created using
++	# the KAI C++ compiler.
++        old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
++        ;;
++      RCC)
++        # Rational C++ 2.4.1
++        # FIXME: insert proper C++ library support
++        ld_shlibs_CXX=no
++        ;;
++      cxx)
++        allow_undefined_flag_CXX=' -expect_unresolved \*'
++        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
++	archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done~
++	  echo "-hidden">> $lib.exp~
++	  $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp  `test -n "$verstring" && echo -set_version	$verstring` -update_registry $objdir/so_locations -o $lib~
++	  $rm $lib.exp'
++
++        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
++        hardcode_libdir_separator_CXX=:
++
++        # Commands to make compiler produce verbose output that lists
++        # what "hidden" libraries, object files and flags are used when
++        # linking a shared library.
++        #
++        # There doesn't appear to be a way to prevent this compiler from
++        # explicitly linking system object files so we need to strip them
++        # from the output so that they don't get included in the library
++        # dependencies.
++        output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | sed "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
++        ;;
++      *)
++        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
++          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
++         archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
++
++          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
++          hardcode_libdir_separator_CXX=:
++
++          # Commands to make compiler produce verbose output that lists
++          # what "hidden" libraries, object files and flags are used when
++          # linking a shared library.
++          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | egrep "\-L"'
++
++	else
++          # FIXME: insert proper C++ library support
++          ld_shlibs_CXX=no
++	fi
++        ;;
++    esac
++    ;;
++  psos*)
++    # FIXME: insert proper C++ library support
++    ld_shlibs_CXX=no
++    ;;
++  sco*)
++    case $cc_basename in
++      CC)
++        # FIXME: insert proper C++ library support
++        ld_shlibs_CXX=no
++        ;;
++      *)
++        # FIXME: insert proper C++ library support
++        ld_shlibs_CXX=no
++        ;;
++    esac
++    ;;
++  sunos4*)
++    case $cc_basename in
++      CC)
++        # Sun C++ 4.x
++        # FIXME: insert proper C++ library support
++        ld_shlibs_CXX=no
++        ;;
++      lcc)
++        # Lucid
++        # FIXME: insert proper C++ library support
++        ld_shlibs_CXX=no
++        ;;
++      *)
++        # FIXME: insert proper C++ library support
++        ld_shlibs_CXX=no
++        ;;
++    esac
++    ;;
++  solaris*)
++    case $cc_basename in
++      CC)
++	# Sun C++ 4.2, 5.x and Centerline C++
++        no_undefined_flag_CXX=' -zdefs'
++        archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
++        archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++        $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
++
++        hardcode_libdir_flag_spec_CXX='-R$libdir'
++        hardcode_shlibpath_var_CXX=no
++        case $host_os in
++          solaris2.0-5 | solaris2.0-5.*) ;;
++          *)
++            # The C++ compiler is used as linker so we must use $wl
++            # flag to pass the commands to the underlying system
++            # linker.
++            # Supported since Solaris 2.6 (maybe 2.5.1?)
++            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
++            ;;
++        esac
++        link_all_deplibs_CXX=yes
++
++        # Commands to make compiler produce verbose output that lists
++        # what "hidden" libraries, object files and flags are used when
++        # linking a shared library.
++        #
++        # There doesn't appear to be a way to prevent this compiler from
++        # explicitly linking system object files so we need to strip them
++        # from the output so that they don't get included in the library
++        # dependencies.
++        output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | egrep "\-R|\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
++
++	# Archives containing C++ object files must be created using
++	# "CC -xar", where "CC" is the Sun C++ compiler.  This is
++        # necessary to make sure instantiated templates are included
++        # in the archive.
++        old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
++        ;;
++      gcx)
++        # Green Hills C++ Compiler
++        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
++
++        # The C++ compiler must be used to create the archive.
++        old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
++        ;;
++      *)
++        # GNU C++ compiler with Solaris linker
++        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
++	  no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
++          if $CC --version | egrep -v '^2\.7' > /dev/null; then
++            archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $linker_flags ${wl}-h $wl$soname -o $lib'
++            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++		$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags~$rm $lib.exp'
++
++            # Commands to make compiler produce verbose output that lists
++            # what "hidden" libraries, object files and flags are used when
++            # linking a shared library.
++            output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | egrep \"\-L\""
++          else
++            # g++ 2.7 appears to require `-G' NOT `-shared' on this
++            # platform.
++            archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $linker_flags ${wl}-h $wl$soname -o $lib'
++            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++		$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags~$rm $lib.exp'
++
++            # Commands to make compiler produce verbose output that lists
++            # what "hidden" libraries, object files and flags are used when
++            # linking a shared library.
++            output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | egrep \"\-L\""
++          fi
++
++          hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
++        fi
++        ;;
++    esac
++    ;;
++  tandem*)
++    case $cc_basename in
++      NCC)
++        # NonStop-UX NCC 3.20
++        # FIXME: insert proper C++ library support
++        ld_shlibs_CXX=no
++        ;;
++      *)
++        # FIXME: insert proper C++ library support
++        ld_shlibs_CXX=no
++        ;;
++    esac
++    ;;
++  unixware*)
++    # FIXME: insert proper C++ library support
++    ld_shlibs_CXX=no
++    ;;
++  vxworks*)
++    # FIXME: insert proper C++ library support
++    ld_shlibs_CXX=no
++    ;;
++  *)
++    # FIXME: insert proper C++ library support
++    ld_shlibs_CXX=no
++    ;;
++esac
++echo "configure:8587: result: $ld_shlibs_CXX" >&5
++echo "${ECHO_T}$ld_shlibs_CXX" >&6
++test "$ld_shlibs_CXX" = no && can_build_shared=no
++
++# Figure out "hidden" C++ library dependencies from verbose
++# compiler output whening linking a shared library.
++cat > conftest.$ac_ext <<EOF
++class Foo
++{
++public:
++  Foo (void) { a = 0; }
++private:
++  int a;
++};
++EOF
++
++if { (eval echo configure:8603: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; }; then
++  # Parse the compiler output and extract the necessary
++  # objects, libraries and library flags.
++
++  # Sentinel used to keep track of whether or not we are before
++  # the conftest object file.
++  pre_test_object_deps_done=no
++
++  # The `*' in the case matches for architectures that use `case' in
++  # $output_verbose_cmd can trigger glob expansion during the loop
++  # eval without this substitution.
++  output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
++
++  for p in `eval $output_verbose_link_cmd`; do
++    case $p in
++
++    -L* | -R* | -l*)
++       # Some compilers place space between "-{L,R}" and the path.
++       # Remove the space.
++       if test $p = "-L" \
++          || test $p = "-R"; then
++         prev=$p
++         continue
++       else
++         prev=
++       fi
++
++       if test "$pre_test_object_deps_done" = no; then
++         case $p in
++	 -L* | -R*)
++	   # Internal compiler library paths should come after those
++	   # provided the user.  The postdeps already come after the
++	   # user supplied libs so there is no need to process them.
++           if test -z "$compiler_lib_search_path_CXX"; then
++             compiler_lib_search_path_CXX="${prev}${p}"
++           else
++             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
++           fi
++           ;;
++         # The "-l" case would never come before the object being
++         # linked, so don't bother handling this case.
++         esac
++       else
++         if test -z "$postdeps_CXX"; then
++           postdeps_CXX="${prev}${p}"
++         else
++           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
++         fi
++       fi
++       ;;
++
++    *.$objext)
++       # This assumes that the test object file only shows up
++       # once in the compiler output.
++       if test "$p" = "conftest.$objext"; then
++         pre_test_object_deps_done=yes
++         continue
++       fi
++
++       if test "$pre_test_object_deps_done" = no; then
++         if test -z "$predep_objects_CXX"; then
++           predep_objects_CXX="$p"
++         else
++           predep_objects_CXX="$predep_objects_CXX $p"
++         fi
++       else
++         if test -z "$postdep_objects_CXX"; then
++           postdep_objects_CXX="$p"
++         else
++           postdep_objects_CXX="$postdep_objects_CXX $p"
++         fi
++       fi
++       ;;
++
++    *) ;; # Ignore the rest.
++
++    esac
++  done
++
++  # Clean up.
++  rm -f a.out
++else
++  echo "ltcf-cxx.sh: error: problem compiling test program"
++fi
++
++$rm -f confest.$objext
++
++case " $postdeps_CXX " in
++*" -lc "*) archive_cmds_need_lc_CXX=no ;;
++*) archive_cmds_need_lc_CXX=yes ;;
++esac
++
++GCC_CXX="$GXX"
++LD_CXX="$LD"
++
++lt_prog_compiler_wl_CXX=
++lt_prog_compiler_pic_CXX=
++lt_prog_compiler_static_CXX=
++
++  # C++ specific cases for pic, static, wl, etc.
++  if test "$GXX" = yes; then
++    lt_prog_compiler_wl_CXX='-Wl,'
++    lt_prog_compiler_static_CXX='-static'
++
++    case $host_os in
++    aix*)
++      # All AIX code is PIC.
++      if test "$host_cpu" = ia64; then
++        # AIX 5 now supports IA64 processor
++        lt_prog_compiler_static_CXX='-Bstatic'
++      fi
++      ;;
++    amigaos*)
++      # FIXME: we need at least 68020 code to build shared libraries, but
++      # adding the `-m68020' flag to GCC prevents building anything better,
++      # like `-m68040'.
++      lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
++      ;;
++    beos* | irix5* | irix6* | osf3* | osf4* | osf5*)
++      # PIC is the default for these OSes.
++      ;;
++    cygwin* | mingw* | os2*)
++      # This hack is so that the source file can tell whether it is being
++      # built for inclusion in a dll (and should export symbols for example).
++      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
++      ;;
++    darwin* | rhapsody*)
++      # PIC is the default on this platform
++      # Common symbols not allowed in MH_DYLIB files
++      lt_prog_compiler_pic_CXX='-fno-common'
++      ;;
++    *djgpp*)
++      # DJGPP does not support shared libraries at all
++      lt_prog_compiler_pic_CXX=
++      ;;
++    sysv4*MP*)
++      if test -d /usr/nec; then
++        lt_prog_compiler_pic_CXX=-Kconform_pic
++      fi
++      ;;
++    *)
++      lt_prog_compiler_pic_CXX='-fPIC'
++      ;;
++    esac
++  else
++    case $host_os in
++      aix4* | aix5*)
++        # All AIX code is PIC.
++        if test "$host_cpu" = ia64; then
++          # AIX 5 now supports IA64 processor
++          lt_prog_compiler_static_CXX='-Bstatic'
++        else
++          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
++        fi
++        ;;
++      chorus*)
++        case $cc_basename in
++        cxch68)
++          # Green Hills C++ Compiler
++          # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
++          ;;
++        esac
++        ;;
++      dgux*)
++        case $cc_basename in
++          ec++)
++            lt_prog_compiler_pic_CXX='-KPIC'
++            ;;
++          ghcx)
++            # Green Hills C++ Compiler
++            lt_prog_compiler_pic_CXX='-pic'
++            ;;
++          *)
++            ;;
++        esac
++        ;;
++      freebsd*)
++        # FreeBSD uses GNU C++
++        ;;
++      hpux9* | hpux10* | hpux11*)
++        case $cc_basename in
++          CC)
++            lt_prog_compiler_wl_CXX='-Wl,'
++            lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
++            lt_prog_compiler_pic_CXX='+Z'
++            ;;
++          aCC)
++            lt_prog_compiler_wl_CXX='-Wl,'
++            lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
++            lt_prog_compiler_pic_CXX='+Z'
++            ;;
++          *)
++            ;;
++        esac
++        ;;
++      irix5* | irix6*)
++        case $cc_basename in
++          CC)
++            lt_prog_compiler_wl_CXX='-Wl,'
++            lt_prog_compiler_static_CXX='-non_shared'
++	    # CC pic flag -KPIC is the default.
++            ;;
++          *)
++            ;;
++        esac
++        ;;
++      linux*)
++        case $cc_basename in
++          KCC)
++            # KAI C++ Compiler
++            lt_prog_compiler_wl_CXX='--backend -Wl,'
++            lt_prog_compiler_pic_CXX='-fPIC'
++            ;;
++          cxx)
++            # Compaq C++
++            # Make sure the PIC flag is empty.  It appears that all Alpha
++            # Linux and Compaq Tru64 Unix objects are PIC.
++            lt_prog_compiler_pic_CXX=
++            lt_prog_compiler_static_CXX='-non_shared'
++            ;;
++          *)
++            ;;
++        esac
++        ;;
++      lynxos*)
++        ;;
++      m88k*)
++        ;;
++      mvs*)
++        case $cc_basename in
++          cxx)
++            lt_prog_compiler_pic_CXX='-W c,exportall'
++            ;;
++          *)
++            ;;
++        esac
++        ;;
++      netbsd*)
++        ;;
++      osf3* | osf4* | osf5*)
++        case $cc_basename in
++          KCC)
++            lt_prog_compiler_wl_CXX='--backend -Wl,'
++            ;;
++          RCC)
++            # Rational C++ 2.4.1
++            lt_prog_compiler_pic_CXX='-pic'
++            ;;
++          cxx)
++            # Digital/Compaq C++
++            lt_prog_compiler_wl_CXX='-Wl,'
++            # Make sure the PIC flag is empty.  It appears that all Alpha
++            # Linux and Compaq Tru64 Unix objects are PIC.
++            lt_prog_compiler_pic_CXX=
++            lt_prog_compiler_static_CXX='-non_shared'
++            ;;
++          *)
++            ;;
++        esac
++        ;;
++      psos*)
++        ;;
++      sco*)
++        case $cc_basename in
++          CC)
++            lt_prog_compiler_pic_CXX='-fPIC'
++            ;;
++          *)
++            ;;
++        esac
++        ;;
++      solaris*)
++        case $cc_basename in
++          CC)
++            # Sun C++ 4.2, 5.x and Centerline C++
++            lt_prog_compiler_pic_CXX='-KPIC'
++            lt_prog_compiler_static_CXX='-Bstatic'
++            lt_prog_compiler_wl_CXX='-Qoption ld '
++            ;;
++          gcx)
++            # Green Hills C++ Compiler
++            lt_prog_compiler_pic_CXX='-PIC'
++            ;;
++          *)
++            ;;
++        esac
++        ;;
++      sunos4*)
++        case $cc_basename in
++          CC)
++            # Sun C++ 4.x
++            lt_prog_compiler_pic_CXX='-pic'
++            lt_prog_compiler_static_CXX='-Bstatic'
++            ;;
++          lcc)
++            # Lucid
++            lt_prog_compiler_pic_CXX='-pic'
++            ;;
++          *)
++            ;;
++        esac
++        ;;
++      tandem*)
++        case $cc_basename in
++          NCC)
++            # NonStop-UX NCC 3.20
++            lt_prog_compiler_pic_CXX='-KPIC'
++            ;;
++          *)
++            ;;
++        esac
++        ;;
++      unixware*)
++        ;;
++      vxworks*)
++        ;;
++      *)
++        lt_prog_compiler_can_build_shared_CXX=no
++        ;;
++    esac
++  fi
++
++echo "configure:8925: result: $lt_prog_compiler_pic_CXX" >&5
++echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
++
++#
++# Check to make sure the PIC flag actually works.
++#
++if test -n "$lt_prog_compiler_pic_CXX"; then
++  echo "configure:8932: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
++echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
++if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  lt_prog_compiler_pic_works_CXX=no
++  ac_outfile=conftest.$ac_objext
++   save_CFLAGS="$CFLAGS"
++   CFLAGS="$CFLAGS $lt_prog_compiler_pic_CXX -DPIC"
++   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
++   if (eval $ac_compile 2>conftest.err) && test -s $ac_outfile; then
++     # The compiler can only warn and ignore the option if not recognized
++     # So say no if there are warnings
++     if test -s conftest.err; then
++       # Append any errors to the config.log.
++       cat conftest.err 1>&AS_MESSAGE_LOG_FD
++     else
++       lt_prog_compiler_pic_works_CXX=yes
++     fi
++   fi
++   $rm conftest*
++   CFLAGS="$save_CFLAGS"
++
++fi
++echo "configure:8956: result: $lt_prog_compiler_pic_works_CXX" >&5
++echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
++
++if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
++    case $lt_prog_compiler_pic_CXX in
++     "" | " "*) ;;
++     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
++     esac
++else
++    lt_prog_compiler_pic_CXX=
++     lt_prog_compiler_can_build_shared_CXX=no
++fi
++
++fi
++case "$host_os" in
++  # For platforms which do not support PIC, -DPIC is meaningless:
++  *djgpp*)
++    lt_prog_compiler_pic_CXX=
++    ;;
++  *)
++    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
++    ;;
++esac
++
++echo "configure:8980: checking if $compiler supports -c -o file.$ac_objext" >&5
++echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
++if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  lt_cv_prog_compiler_c_o_CXX=no
++   $rm -r conftest 2>/dev/null
++   mkdir conftest
++   cd conftest
++   mkdir out
++   save_CXXFLAGS="$CXXFLAGS"
++                   CXXFLAGS="$CXXFLAGS -o out/conftest2.$ac_objext"
++   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
++
++   # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
++   # that will create temporary files in the current directory regardless of
++   # the output directory.  Thus, making CWD read-only will cause this test
++   # to fail, enabling locking or at least warning the user not to do parallel
++   # builds.
++   chmod -w .
++
++   if (eval $ac_compile 2>out/conftest.err) && test -s out/conftest2.$ac_objext
++   then
++     # The compiler can only warn and ignore the option if not recognized
++     # So say no if there are warnings
++     if test -s out/conftest.err; then
++       # Append any errors to the config.log.
++       cat out/conftest.err 1>&AS_MESSAGE_LOG_FD
++     else
++       lt_cv_prog_compiler_c_o_CXX=yes
++     fi
++   fi
++   CXXFLAGS="$save_CXXFLAGS"
++   chmod u+w .
++   $rm conftest* out/*
++   rmdir out
++   cd ..
++   rmdir conftest
++   $rm conftest*
++
++fi
++echo "configure:9021: result: $lt_cv_prog_compiler_c_o_CXX" >&5
++echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
++
++hard_links="nottested"
++if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
++  # do not overwrite the value of need_locks provided by the user
++  echo "configure:9027: checking if we can lock with hard links" >&5
++echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
++  hard_links=yes
++  $rm conftest*
++  ln conftest.a conftest.b 2>/dev/null && hard_links=no
++  touch conftest.a
++  ln conftest.a conftest.b 2>&5 || hard_links=no
++  ln conftest.a conftest.b 2>/dev/null && hard_links=no
++  echo "configure:9035: result: $hard_links" >&5
++echo "${ECHO_T}$hard_links" >&6
++  if test "$hard_links" = no; then
++    echo "configure: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2
++    need_locks=warn
++  fi
++else
++  need_locks=no
++fi
++
++echo "configure:9045: checking whether the $compiler linker ($LD) supports shared libraries" >&5
++echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
++
++echo "configure:9048: result: $ld_shlibs_CXX" >&5
++echo "${ECHO_T}$ld_shlibs_CXX" >&6
++test "$ld_shlibs_CXX" = no && can_build_shared=no
++
++variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
++if test "$GCC" = yes; then
++  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
++fi
++
++#
++# Do we need to explicitly link libc?
++#
++archive_cmds_need_lc_CXX=yes
++if test "$enable_shared" = yes && test "$GCC" = yes; then
++  case $archive_cmds_CXX in
++  *'~'*)
++    # FIXME: we may have to deal with multi-command sequences.
++    ;;
++  '$CC '*)
++    # Test whether the compiler implicitly links with -lc since on some
++    # systems, -lgcc has to come before -lc. If gcc already passes -lc
++    # to ld, don't add -lc before -lgcc.
++    echo "configure:9070: checking whether -lc should be explicitly linked in" >&5
++echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
++    $rm conftest*
++    echo 'static int dummy;' > conftest.$ac_ext
++
++    if { (eval echo configure:9075: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } 2>conftest.err; then
++      soname=conftest
++      lib=conftest
++      libobjs=conftest.$ac_objext
++      deplibs=
++      wl=$lt_prog_compiler_wl_CXX
++      compiler_flags=-v
++      linker_flags=-v
++      verstring=
++      output_objdir=.
++      libname=conftest
++      lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
++      allow_undefined_flag_CXX=
++      if { (eval echo configure:9088: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\") >&5; (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5; }
++      then
++	archive_cmds_need_lc_CXX=no
++      else
++	archive_cmds_need_lc_CXX=yes
++      fi
++      allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
++    else
++      cat conftest.err 1>&5
++    fi
++    $rm conftest*
++    echo "configure:9099: result: $archive_cmds_need_lc_CXX" >&5
++echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
++    ;;
++  esac
++fi
++
++echo "configure:9105: checking how to hardcode library paths into programs" >&5
++echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
++hardcode_action_CXX=
++if test -n "$hardcode_libdir_flag_spec_CXX" || \
++   test -n "$runpath_var CXX"; then
++
++  # We can hardcode non-existant directories.
++  if test "$hardcode_direct_CXX" != no &&
++     # If the only mechanism to avoid hardcoding is shlibpath_var, we
++     # have to relink, otherwise we might link with an installed library
++     # when we should be linking with a yet-to-be-installed one
++     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
++     test "$hardcode_minus_L_CXX" != no; then
++    # Linking always hardcodes the temporary library directory.
++    hardcode_action_CXX=relink
++  else
++    # We can link without hardcoding, and we can hardcode nonexisting dirs.
++    hardcode_action_CXX=immediate
++  fi
++else
++  # We cannot hardcode anything, or else we can only hardcode existing
++  # directories.
++  hardcode_action_CXX=unsupported
++fi
++echo "configure:9129: result: $hardcode_action_CXX" >&5
++echo "${ECHO_T}$hardcode_action_CXX" >&6
++
++if test "$hardcode_action_CXX" = relink; then
++  # Fast installation is not supported
++  enable_fast_install=no
++elif test "$shlibpath_overrides_runpath" = yes ||
++     test "$enable_shared" = no; then
++  # Fast installation is not necessary
++  enable_fast_install=needless
++fi
++
++striplib=
++old_striplib=
++echo "configure:9143: checking whether stripping libraries is possible" >&5
++echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
++if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
++  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
++  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
++  echo "configure:9148: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++else
++  echo "configure:9151: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++echo "configure:9155: checking dynamic linker characteristics" >&5
++echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
++library_names_spec=
++libname_spec='lib$name'
++soname_spec=
++postinstall_cmds=
++postuninstall_cmds=
++finish_cmds=
++finish_eval=
++shlibpath_var=
++shlibpath_overrides_runpath=unknown
++version_type=none
++dynamic_linker="$host_os ld.so"
++sys_lib_dlsearch_path_spec="/lib /usr/lib"
++sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
++need_lib_prefix=unknown
++hardcode_into_libs=no
++
++# when you set need_version to no, make sure it does not cause -set_version
++# flags to be left without arguments
++need_version=unknown
+ 
+ case $host_os in
++aix3*)
++  version_type=linux
++  library_names_spec='${libname}${release}.so$versuffix $libname.a'
++  shlibpath_var=LIBPATH
++
++  # AIX 3 has no versioning support, so we append a major version to the name.
++  soname_spec='${libname}${release}.so$major'
++  ;;
++
+ aix4* | aix5*)
+-  lt_cv_deplibs_check_method=pass_all
++  version_type=linux
++  if test "$host_cpu" = ia64; then
++    # AIX 5 supports IA64
++    library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so'
++    shlibpath_var=LD_LIBRARY_PATH
++  else
++    # With GCC up to 2.95.x, collect2 would create an import file
++    # for dependence libraries.  The import file would start with
++    # the line `#! .'.  This would cause the generated library to
++    # depend on `.', always an invalid library.  This was fixed in
++    # development snapshots of GCC prior to 3.0.
++    case $host_os in
++       aix4 | aix4.[01] | aix4.[01].*)
++      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
++           echo ' yes '
++           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
++        :
++      else
++        can_build_shared=no
++      fi
++      ;;
++    esac
++    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
++    # soname into executable. Probably we can add versioning support to
++    # collect2, so additional links can be useful in future.
++    if test "$aix_use_runtimelinking" = yes; then
++      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
++      # instead of lib<name>.a to let people know that these are not
++      # typical AIX shared libraries.
++      library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++    else
++      # We preserve .a as extension for shared libraries through AIX4.2
++      # and later when we are not doing run time linking.
++      library_names_spec='${libname}${release}.a $libname.a'
++      soname_spec='${libname}${release}.so$major'
++    fi
++    shlibpath_var=LIBPATH
++    deplibs_check_method=pass_all
++  fi
++  ;;
++
++amigaos*)
++  library_names_spec='$libname.ixlibrary $libname.a'
++  # Create ${libname}_ixlibrary.a entries in /sys/libs.
++  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done'
++  ;;
++
++beos*)
++  library_names_spec='${libname}.so'
++  dynamic_linker="$host_os ld.so"
++  shlibpath_var=LIBRARY_PATH
++  ;;
++
++bsdi4*)
++  version_type=linux
++  need_version=no
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  soname_spec='${libname}${release}.so$major'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
++  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
++  # the default ld.so.conf also contains /usr/contrib/lib and
++  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
++  # libtool to hard-code these into programs
++  ;;
++
++cygwin* | mingw* | pw32*)
++  version_type=windows
++  need_version=no
++  need_lib_prefix=no
++  case $GCC,$host_os in
++  yes,cygwin*)
++    library_names_spec='$libname.dll.a'
++    sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
++    soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
++    postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~
++      dldir=$destdir/`dirname \$dlpath`~
++      test -d \$dldir || mkdir -p \$dldir~
++      $install_prog .libs/$dlname \$dldir/$dlname'
++    postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~
++      dlpath=$dir/\$dldll~
++       $rm \$dlpath'
++    ;;
++  yes,mingw*)
++    library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
++    sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g"`
++    ;;
++  yes,pw32*)
++    library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}.dll'
++    ;;
++  *)
++    library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll $libname.lib'
++    ;;
++  esac
++  dynamic_linker='Win32 ld.exe'
++  # FIXME: first we should search . and the directory the executable is in
++  shlibpath_var=PATH
++  ;;
++
++darwin* | rhapsody*)
++  dynamic_linker="$host_os dyld"
++  version_type=darwin
++  need_lib_prefix=no
++  need_version=no
++  # FIXME: Relying on posixy $() will cause problems for
++  #        cross-compilation, but unfortunately the echo tests do not
++  #        yet detect zsh echo's removal of \ escapes.
++  library_names_spec='${libname}${release}${versuffix}.$(test .$module = .yes && echo so || echo dylib) ${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib) ${libname}.$(test .$module = .yes && echo so || echo dylib)'
++  soname_spec='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)'
++  shlibpath_overrides_runpath=yes
++  shlibpath_var=DYLD_LIBRARY_PATH
++  ;;
++
++dgux*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  soname_spec='${libname}${release}.so$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++freebsd1*)
++  dynamic_linker=no
++  ;;
++
++freebsd*)
++  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
++  version_type=freebsd-$objformat
++  case $version_type in
++    freebsd-elf*)
++      library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
++      need_version=no
++      need_lib_prefix=no
++      ;;
++    freebsd-*)
++      library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix'
++      need_version=yes
++      ;;
++  esac
++  shlibpath_var=LD_LIBRARY_PATH
++  case $host_os in
++  freebsd2*)
++    shlibpath_overrides_runpath=yes
++    ;;
++  freebsd3.01* | freebsdelf3.01*)
++    shlibpath_overrides_runpath=yes
++    hardcode_into_libs=yes
++    ;;
++  *) # from 3.2 on
++    shlibpath_overrides_runpath=no
++    hardcode_into_libs=yes
++    ;;
++  esac
++  ;;
++
++gnu*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so'
++  soname_spec='${libname}${release}.so$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  hardcode_into_libs=yes
++  ;;
++
++hpux9* | hpux10* | hpux11*)
++  # Give a soname corresponding to the major version so that dld.sl refuses to
++  # link against other versions.
++  dynamic_linker="$host_os dld.sl"
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=no
++  shlibpath_var=SHLIB_PATH
++  shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
++  library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl'
++  soname_spec='${libname}${release}.sl$major'
++  # HP-UX runs *really* slowly unless shared libraries are mode 555.
++  postinstall_cmds='chmod 555 $lib'
++  ;;
++
++irix5* | irix6*)
++  version_type=irix
++  need_lib_prefix=no
++  need_version=no
++  soname_spec='${libname}${release}.so$major'
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so'
++  case $host_os in
++  irix5*)
++    libsuff= shlibsuff=
++    ;;
++  *)
++    case $LD in # libtool.m4 will add one of these switches to LD
++    *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;;
++    *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;;
++    *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;;
++    *) libsuff= shlibsuff= libmagic=never-match;;
++    esac
++    ;;
++  esac
++  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
++  shlibpath_overrides_runpath=no
++  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
++  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
++  ;;
++
++# No shared lib support for Linux oldld, aout, or coff.
++linux*oldld* | linux*aout* | linux*coff*)
++  dynamic_linker=no
++  ;;
++
++# This must be Linux ELF.
++linux*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  soname_spec='${libname}${release}.so$major'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=no
++  # This implies no fast_install, which is unacceptable.
++  # Some rework will be needed to allow for fast_install
++  # before this can be enabled.
++  hardcode_into_libs=yes
++
++  # We used to test for /lib/ld.so.1 and disable shared libraries on
++  # powerpc, because MkLinux only supported shared libraries with the
++  # GNU dynamic linker.  Since this was broken with cross compilers,
++  # most powerpc-linux boxes support dynamic linking these days and
++  # people can always --disable-shared, the test was removed, and we
++  # assume the GNU/Linux dynamic linker is in use.
++  dynamic_linker='GNU/Linux ld.so'
++  ;;
++
++netbsd*)
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=no
++  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++    library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
++    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
++    dynamic_linker='NetBSD (a.out) ld.so'
++  else
++    library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so'
++    soname_spec='${libname}${release}.so$major'
++    dynamic_linker='NetBSD ld.elf_so'
++  fi
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  hardcode_into_libs=yes
++  ;;
++
++newsos6)
++  version_type=linux
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  ;;
++
++nto-qnx)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  soname_spec='${libname}${release}.so$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  ;;
++
++openbsd*)
++  version_type=sunos
++  library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  file_magic_cmd=/usr/bin/file
++  file_magic_test_file=`echo /usr/lib/libc.so.*`
++  if  "`echo __ELF__ | $CC -E - | grep __ELF__`" = "" -o "$host_os-$host_cpu" = "openbsd2.8-powerpc" ; then
++    deplibs_check_method='file_magic ELF 0-90-9*-bit LMSB shared object'
++  else
++    deplibs_check_method='file_magic OpenBSD.* shared library'
++  fi
++  ;;
++
++os2*)
++  libname_spec='$name'
++  need_lib_prefix=no
++  library_names_spec='$libname.dll $libname.a'
++  dynamic_linker='OS/2 ld.exe'
++  shlibpath_var=LIBPATH
++  ;;
++
++osf3* | osf4* | osf5*)
++  version_type=osf
++  need_version=no
++  soname_spec='${libname}${release}.so'
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
++  shlibpath_var=LD_LIBRARY_PATH
++  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
++  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
++  ;;
++
++sco3.2v5*)
++  version_type=osf
++  soname_spec='${libname}${release}.so$major'
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++solaris*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  soname_spec='${libname}${release}.so$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  hardcode_into_libs=yes
++  # ldd complains unless libraries are executable
++  postinstall_cmds='chmod +x $lib'
++  ;;
++
++sunos4*)
++  version_type=sunos
++  library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
++  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  if test "$with_gnu_ld" = yes; then
++    need_lib_prefix=no
++  fi
++  need_version=yes
++  ;;
++
++sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
++  version_type=linux
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  soname_spec='${libname}${release}.so$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  case $host_vendor in
++    sni)
++      shlibpath_overrides_runpath=no
++      ;;
++    motorola)
++      need_lib_prefix=no
++      need_version=no
++      shlibpath_overrides_runpath=no
++      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
++      ;;
++  esac
++  ;;
++
++sysv4*MP*)
++  if test -d /usr/nec ;then
++    version_type=linux
++    library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so'
++    soname_spec='$libname.so.$major'
++    shlibpath_var=LD_LIBRARY_PATH
++  fi
++  ;;
++
++uts4*)
++  version_type=linux
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  soname_spec='${libname}${release}.so$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++*)
++  dynamic_linker=no
+   ;;
++esac
++echo "configure:9561: result: $dynamic_linker" >&5
++echo "${ECHO_T}$dynamic_linker" >&6
++test "$dynamic_linker" = no && can_build_shared=no
++
++if test "x$enable_dlopen" != xyes; then
++  enable_dlopen=unknown
++  enable_dlopen_self=unknown
++  enable_dlopen_self_static=unknown
++else
++  lt_cv_dlopen=no
++  lt_cv_dlopen_libs=
++
++  case $host_os in
++  beos*)
++    lt_cv_dlopen="load_add_on"
++    lt_cv_dlopen_libs=
++    lt_cv_dlopen_self=yes
++    ;;
++
++  cygwin* | mingw* | pw32*)
++    lt_cv_dlopen="LoadLibrary"
++    lt_cv_dlopen_libs=
++   ;;
++
++  *)
++    echo "configure:9586: checking for shl_load" >&5
++echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
++if test "${ac_cv_func_shl_load+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line 9592 "configure"
++#include "confdefs.h"
++#ifdef __cplusplus
++extern "C" void exit (int);
++#endif
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char shl_load (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char shl_load ();
++char (*f) ();
++
++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_shl_load) || defined (__stub___shl_load)
++choke me
++#else
++f = shl_load;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:9626: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  ac_cv_func_shl_load=yes
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_shl_load=no
++fi
++rm -f conftest$ac_exeext conftest.$ac_ext
++fi
++echo "configure:9635: result: $ac_cv_func_shl_load" >&5
++echo "${ECHO_T}$ac_cv_func_shl_load" >&6
++if test $ac_cv_func_shl_load = yes; then
++  lt_cv_dlopen="shl_load"
++else
++
++echo "configure:9641: checking for shl_load in -ldld" >&5
++echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
++if test "${ac_cv_lib_dld_shl_load+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ldld  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line 9649 "configure"
++#include "confdefs.h"
++#ifdef __cplusplus
++extern "C" void exit (int);
++#endif
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char shl_load ();
++int
++main ()
++{
++shl_load ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:9671: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  ac_cv_lib_dld_shl_load=yes
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_lib_dld_shl_load=no
++fi
++rm -f conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "configure:9681: result: $ac_cv_lib_dld_shl_load" >&5
++echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
++if test $ac_cv_lib_dld_shl_load = yes; then
++  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
++else
++
++echo "configure:9687: checking for dlopen in -ldl" >&5
++echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
++if test "${ac_cv_lib_dl_dlopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ldl  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line 9695 "configure"
++#include "confdefs.h"
++#ifdef __cplusplus
++extern "C" void exit (int);
++#endif
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dlopen ();
++int
++main ()
++{
++dlopen ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:9717: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  ac_cv_lib_dl_dlopen=yes
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_lib_dl_dlopen=no
++fi
++rm -f conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "configure:9727: result: $ac_cv_lib_dl_dlopen" >&5
++echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
++if test $ac_cv_lib_dl_dlopen = yes; then
++  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
++else
++  echo "configure:9732: checking for dlopen" >&5
++echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
++if test "${ac_cv_func_dlopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line 9738 "configure"
++#include "confdefs.h"
++#ifdef __cplusplus
++extern "C" void exit (int);
++#endif
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char dlopen (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dlopen ();
++char (*f) ();
++
++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_dlopen) || defined (__stub___dlopen)
++choke me
++#else
++f = dlopen;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:9772: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  ac_cv_func_dlopen=yes
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_dlopen=no
++fi
++rm -f conftest$ac_exeext conftest.$ac_ext
++fi
++echo "configure:9781: result: $ac_cv_func_dlopen" >&5
++echo "${ECHO_T}$ac_cv_func_dlopen" >&6
++if test $ac_cv_func_dlopen = yes; then
++  lt_cv_dlopen="dlopen"
++else
++
++echo "configure:9787: checking for dlopen in -lsvld" >&5
++echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
++if test "${ac_cv_lib_svld_dlopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-lsvld  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line 9795 "configure"
++#include "confdefs.h"
++#ifdef __cplusplus
++extern "C" void exit (int);
++#endif
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dlopen ();
++int
++main ()
++{
++dlopen ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:9817: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  ac_cv_lib_svld_dlopen=yes
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_lib_svld_dlopen=no
++fi
++rm -f conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "configure:9827: result: $ac_cv_lib_svld_dlopen" >&5
++echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
++if test $ac_cv_lib_svld_dlopen = yes; then
++  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
++fi
++
++	
++fi
++
++fi
++
++fi
++
++fi
++
++    ;;
++  esac
++
++  if test "x$lt_cv_dlopen" != xno; then
++    enable_dlopen=yes
++  else
++    enable_dlopen=no
++  fi
++
++  case $lt_cv_dlopen in
++  dlopen)
++    save_CPPFLAGS="$CPPFLAGS"
++    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
++
++    save_LDFLAGS="$LDFLAGS"
++    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
++
++    save_LIBS="$LIBS"
++    LIBS="$lt_cv_dlopen_libs $LIBS"
++
++    echo "configure:9862: checking whether a program can dlopen itself" >&5
++echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
++if test "${lt_cv_dlopen_self+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  	  if test "$cross_compiling" = yes; then :
++  lt_cv_dlopen_self=cross
++else
++  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
++  lt_status=$lt_dlunknown
++  cat > conftest.$ac_ext <<EOF
++#line 9873 "configure"
++#include "confdefs.h"
+ 
+-beos*)
+-  lt_cv_deplibs_check_method=pass_all
+-  ;;
++#if HAVE_DLFCN_H
++#include <dlfcn.h>
++#endif
+ 
+-bsdi4*)
+-  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
+-  lt_cv_file_magic_cmd='/usr/bin/file -L'
+-  lt_cv_file_magic_test_file=/shlib/libc.so
+-  ;;
++#include <stdio.h>
+ 
+-cygwin* | mingw* | pw32*)
+-  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
+-  lt_cv_file_magic_cmd='$OBJDUMP -f'
+-  ;;
++#ifdef RTLD_GLOBAL
++#  define LT_DLGLOBAL		RTLD_GLOBAL
++#else
++#  ifdef DL_GLOBAL
++#    define LT_DLGLOBAL		DL_GLOBAL
++#  else
++#    define LT_DLGLOBAL		0
++#  endif
++#endif
+ 
+-darwin* | rhapsody*)
+-  lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
+-  lt_cv_file_magic_cmd='/usr/bin/file -L'
+-  case "$host_os" in
+-  rhapsody* | darwin1.012)
+-    lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1`
+-    ;;
+-  *) # Darwin 1.3 on
+-    lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
+-    ;;
+-  esac
+-  ;;
++/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
++   find out it does not work in some platform. */
++#ifndef LT_DLLAZY_OR_NOW
++#  ifdef RTLD_LAZY
++#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
++#  else
++#    ifdef DL_LAZY
++#      define LT_DLLAZY_OR_NOW		DL_LAZY
++#    else
++#      ifdef RTLD_NOW
++#        define LT_DLLAZY_OR_NOW	RTLD_NOW
++#      else
++#        ifdef DL_NOW
++#          define LT_DLLAZY_OR_NOW	DL_NOW
++#        else
++#          define LT_DLLAZY_OR_NOW	0
++#        endif
++#      endif
++#    endif
++#  endif
++#endif
+ 
+-freebsd*)
+-  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
+-    case $host_cpu in
+-    i*86 )
+-      # Not sure whether the presence of OpenBSD here was a mistake.
+-      # Let's accept both of them until this is cleared up.
+-      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
+-      lt_cv_file_magic_cmd=/usr/bin/file
+-      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
+-      ;;
++#ifdef __cplusplus
++extern "C" void exit (int);
++#endif
++
++void fnord() { int i=42;}
++int main ()
++{
++  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
++  int status = $lt_dlunknown;
++
++  if (self)
++    {
++      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
++      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
++      /* dlclose (self); */
++    }
++
++    exit (status);
++}
++EOF
++  if { (eval echo configure:9934: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>/dev/null; then
++    (./conftest; exit; ) 2>/dev/null
++    lt_status=$?
++    case x$lt_status in
++      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
++      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
++      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
+     esac
+-  else
+-    lt_cv_deplibs_check_method=pass_all
++  else :
++    # compilation failed
++    lt_cv_dlopen_self=no
+   fi
+-  ;;
++fi
++rm -fr conftest*
+ 
+-gnu*)
+-  lt_cv_deplibs_check_method=pass_all
+-  ;;
++fi
++echo "configure:9950: result: $lt_cv_dlopen_self" >&5
++echo "${ECHO_T}$lt_cv_dlopen_self" >&6
+ 
+-hpux10.20*|hpux11*)
+-  lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
+-  lt_cv_file_magic_cmd=/usr/bin/file
+-  lt_cv_file_magic_test_file=/usr/lib/libc.sl
+-  ;;
++    if test "x$lt_cv_dlopen_self" = xyes; then
++      LDFLAGS="$LDFLAGS $link_static_flag"
++      echo "configure:9955: checking whether a statically linked program can dlopen itself" >&5
++echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
++if test "${lt_cv_dlopen_self_static+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  	  if test "$cross_compiling" = yes; then :
++  lt_cv_dlopen_self_static=cross
++else
++  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
++  lt_status=$lt_dlunknown
++  cat > conftest.$ac_ext <<EOF
++#line 9966 "configure"
++#include "confdefs.h"
+ 
+-irix5* | irix6*)
+-  case $host_os in
+-  irix5*)
+-    # this will be overridden with pass_all, but let us keep it just in case
+-    lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
+-    ;;
+-  *)
+-    case $LD in
+-    *-32|*"-32 ") libmagic=32-bit;;
+-    *-n32|*"-n32 ") libmagic=N32;;
+-    *-64|*"-64 ") libmagic=64-bit;;
+-    *) libmagic=never-match;;
++#if HAVE_DLFCN_H
++#include <dlfcn.h>
++#endif
++
++#include <stdio.h>
++
++#ifdef RTLD_GLOBAL
++#  define LT_DLGLOBAL		RTLD_GLOBAL
++#else
++#  ifdef DL_GLOBAL
++#    define LT_DLGLOBAL		DL_GLOBAL
++#  else
++#    define LT_DLGLOBAL		0
++#  endif
++#endif
++
++/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
++   find out it does not work in some platform. */
++#ifndef LT_DLLAZY_OR_NOW
++#  ifdef RTLD_LAZY
++#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
++#  else
++#    ifdef DL_LAZY
++#      define LT_DLLAZY_OR_NOW		DL_LAZY
++#    else
++#      ifdef RTLD_NOW
++#        define LT_DLLAZY_OR_NOW	RTLD_NOW
++#      else
++#        ifdef DL_NOW
++#          define LT_DLLAZY_OR_NOW	DL_NOW
++#        else
++#          define LT_DLLAZY_OR_NOW	0
++#        endif
++#      endif
++#    endif
++#  endif
++#endif
++
++#ifdef __cplusplus
++extern "C" void exit (int);
++#endif
++
++void fnord() { int i=42;}
++int main ()
++{
++  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
++  int status = $lt_dlunknown;
++
++  if (self)
++    {
++      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
++      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
++      /* dlclose (self); */
++    }
++
++    exit (status);
++}
++EOF
++  if { (eval echo configure:10027: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>/dev/null; then
++    (./conftest; exit; ) 2>/dev/null
++    lt_status=$?
++    case x$lt_status in
++      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
++      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
++      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
+     esac
+-    # this will be overridden with pass_all, but let us keep it just in case
+-    lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
++  else :
++    # compilation failed
++    lt_cv_dlopen_self_static=no
++  fi
++fi
++rm -fr conftest*
++
++fi
++echo "configure:10043: result: $lt_cv_dlopen_self_static" >&5
++echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
++    fi
++
++    CPPFLAGS="$save_CPPFLAGS"
++    LDFLAGS="$save_LDFLAGS"
++    LIBS="$save_LIBS"
+     ;;
+   esac
+-  lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
+-  lt_cv_deplibs_check_method=pass_all
+-  ;;
+ 
+-# This must be Linux ELF.
+-linux-gnu*)
+-  case $host_cpu in
+-  alpha* | i*86 | powerpc* | sparc* | ia64* )
+-    lt_cv_deplibs_check_method=pass_all ;;
+-  *)
+-    # glibc up to 2.1.1 does not perform some relocations on ARM
+-    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
++  case $lt_cv_dlopen_self in
++  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
++  *) enable_dlopen_self=unknown ;;
++  esac
++
++  case $lt_cv_dlopen_self_static in
++  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
++  *) enable_dlopen_self_static=unknown ;;
++  esac
++fi
++
++# The else clause should only fire when bootstrapping the
++# libtool distribution, otherwise you forgot to ship ltmain.sh
++# with your package, and you will get complaints that there are
++# no rules to generate ltmain.sh.
++if test -f "$ltmain"; then
++  # Now quote all the things that may contain metacharacters while being
++  # careful not to overquote the AC_SUBSTed values.  We take copies of the
++  # variables and quote the copies for generation of the libtool script.
++  for var in echo old_CC old_CFLAGS AR AR_FLAGS RANLIB LN_S NM SHELL \
++    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
++    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
++    deplibs_check_method reload_flag reload_cmds need_locks \
++    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
++    lt_cv_sys_global_symbol_to_c_name_address \
++    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
++    old_postinstall_cmds old_postuninstall_cmds \
++    compiler_CXX \
++    CC_CXX \
++    LD_CXX \
++    lt_prog_compiler_wl_CXX \
++    lt_prog_compiler_pic_CXX \
++    lt_prog_compiler_static_CXX \
++    lt_prog_compiler_no_builtin_flag_CXX \
++    export_dynamic_flag_spec_CXX \
++    thread_safe_flag_spec_CXX \
++    whole_archive_flag_spec_CXX \
++    old_archive_cmds_CXX \
++    old_archive_from_new_cmds_CXX \
++    predep_objects_CXX \
++    postdep_objects_CXX \
++    predeps_CXX \
++    postdeps_CXX \
++    compiler_lib_search_path_CXX \
++    archive_cmds_CXX \
++    archive_expsym_cmds_CXX \
++    postinstall_cmds_CXX \
++    postuninstall_cmds_CXX \
++    old_archive_from_expsyms_cmds_CXX \
++    allow_undefined_flag_CXX \
++    no_undefined_flag_CXX \
++    export_symbols_cmds_CXX \
++    hardcode_libdir_flag_spec_CXX \
++    hardcode_libdir_separator_CXX \
++    lt_cv_prog_compiler_c_o_CXX \
++    exclude_expsyms_CXX \
++    include_expsyms_CXX; do
++
++    case $var in
++    old_archive_cmds_CXX | \
++    old_archive_from_new_cmds_CXX | \
++    archive_cmds_CXX | \
++    archive_expsym_cmds_CXX | \
++    old_archive_from_expsyms_cmds_CXX | \
++    export_symbols_cmds_CXX | \
++    extract_expsyms_cmds | reload_cmds | finish_cmds | \
++    postinstall_cmds | postuninstall_cmds | \
++    old_postinstall_cmds | old_postuninstall_cmds | \
++    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
++      # Double-quote double-evaled strings.
++      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
++      ;;
++    *)
++      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
++      ;;
++    esac
++  done
++
++  case $lt_echo in
++  *'\$0 --fallback-echo"')
++    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
++    ;;
+   esac
+-  lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
+-  ;;
+ 
+-netbsd*)
+-  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
+-    lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
+-  else
+-    lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
+-  fi
+-  ;;
++cfgfile="$ofile"
+ 
+-newos6*)
+-  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
+-  lt_cv_file_magic_cmd=/usr/bin/file
+-  lt_cv_file_magic_test_file=/usr/lib/libnls.so
+-  ;;
++  cat <<__EOF__ >> "$cfgfile"
++# ### BEGIN LIBTOOL TAG CONFIG: $tagname
+ 
+-osf3* | osf4* | osf5*)
+-  # this will be overridden with pass_all, but let us keep it just in case
+-  lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
+-  lt_cv_file_magic_test_file=/shlib/libc.so
+-  lt_cv_deplibs_check_method=pass_all
+-  ;;
++# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
+ 
+-sco3.2v5*)
+-  lt_cv_deplibs_check_method=pass_all
+-  ;;
++# Shell to use when invoking shell scripts.
++SHELL=$lt_SHELL
+ 
+-solaris*)
+-  lt_cv_deplibs_check_method=pass_all
+-  lt_cv_file_magic_test_file=/lib/libc.so
+-  ;;
++# Whether or not to build shared libraries.
++build_libtool_libs=$enable_shared
+ 
+-sysv5uw[78]* | sysv4*uw2*)
+-  lt_cv_deplibs_check_method=pass_all
+-  ;;
++# Whether or not to build static libraries.
++build_old_libs=$enable_static
+ 
+-sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
+-  case $host_vendor in
+-  motorola)
+-    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
+-    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
+-    ;;
+-  ncr)
+-    lt_cv_deplibs_check_method=pass_all
+-    ;;
+-  sequent)
+-    lt_cv_file_magic_cmd='/bin/file'
+-    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
+-    ;;
+-  sni)
+-    lt_cv_file_magic_cmd='/bin/file'
+-    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
+-    lt_cv_file_magic_test_file=/lib/libc.so
+-    ;;
+-  esac
+-  ;;
+-esac
++# Whether or not to add -lc for building shared libraries.
++build_libtool_need_lc=$archive_cmds_need_lc_CXX
+ 
+-fi
+-echo "$as_me:3601: result: $lt_cv_deplibs_check_method" >&5
+-echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
+-file_magic_cmd=$lt_cv_file_magic_cmd
+-deplibs_check_method=$lt_cv_deplibs_check_method
++# Whether or not to optimize for fast installation.
++fast_install=$enable_fast_install
+ 
+-# Check for command to grab the raw symbol name followed by C symbol from nm.
+-echo "$as_me:3607: checking command to parse $NM output" >&5
+-echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6
+-if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
++# The host system.
++host_alias=$host_alias
++host=$host
+ 
+-# These are sane defaults that work on at least a few old systems.
+-# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
++# An echo program that does not interpret backslashes.
++echo=$lt_echo
+ 
+-# Character class describing NM global symbol codes.
+-symcode='[BCDEGRST]'
++# The archiver.
++AR=$lt_AR
++AR_FLAGS=$lt_AR_FLAGS
+ 
+-# Regexp to match symbols that can be accessed directly from C.
+-sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
++# A C compiler.
++LTCC=$LTCC
+ 
+-# Transform the above into a raw symbol and a C symbol.
+-symxfrm='\1 \2\3 \3'
++# A language-specific compiler.
++CC=$lt_compiler_CXX
+ 
+-# Transform an extracted symbol line into a proper C declaration
+-lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'"
++# Is the compiler the GNU C compiler?
++with_gcc=$GCC_CXX
+ 
+-# Define system-specific variables.
+-case $host_os in
+-aix*)
+-  symcode='[BCDT]'
+-  ;;
+-cygwin* | mingw* | pw32*)
+-  symcode='[ABCDGISTW]'
+-  ;;
+-hpux*) # Its linker distinguishes data from code symbols
+-  lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
+-  ;;
+-irix*)
+-  symcode='[BCDEGRST]'
+-  ;;
+-solaris* | sysv5*)
+-  symcode='[BDT]'
+-  ;;
+-sysv4)
+-  symcode='[DFNSTU]'
+-  ;;
+-esac
++# The linker used to build libraries.
++LD=$lt_LD_CXX
+ 
+-# Handle CRLF in mingw tool chain
+-opt_cr=
+-case $host_os in
+-mingw*)
+-  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
+-  ;;
+-esac
++# Whether we need hard or soft links.
++LN_S=$lt_LN_S
+ 
+-# If we're using GNU nm, then use its standard symbol codes.
+-if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then
+-  symcode='[ABCDGISTW]'
+-fi
++# A BSD-compatible nm program.
++NM=$lt_NM
+ 
+-# Try without a prefix undercore, then with it.
+-for ac_symprfx in "" "_"; do
++# A symbol stripping program
++STRIP=$STRIP
+ 
+-  # Write the raw and C identifiers.
+-lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
++# Used to examine libraries when file_magic_cmd begins "file"
++MAGIC_CMD=$MAGIC_CMD
+ 
+-  # Check to see that the pipe works correctly.
+-  pipe_works=no
+-  rm -f conftest*
+-  cat > conftest.$ac_ext <<EOF
+-#ifdef __cplusplus
+-extern "C" {
+-#endif
+-char nm_test_var;
+-void nm_test_func(){}
+-#ifdef __cplusplus
+-}
+-#endif
+-int main(){nm_test_var='a';nm_test_func();return(0);}
+-EOF
++# Used on cygwin: DLL creation program.
++DLLTOOL="$DLLTOOL"
+ 
+-  if { (eval echo "$as_me:3684: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:3687: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-    # Now try to grab the symbols.
+-    nlist=conftest.nm
+-    if { (eval echo "$as_me:3691: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
+-  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
+-  ac_status=$?
+-  echo "$as_me:3694: \$? = $ac_status" >&5
+-  (exit $ac_status); } && test -s "$nlist"; then
+-      # Try sorting and uniquifying the output.
+-      if sort "$nlist" | uniq > "$nlist"T; then
+-	mv -f "$nlist"T "$nlist"
+-      else
+-	rm -f "$nlist"T
+-      fi
++# Used on cygwin: object dumper.
++OBJDUMP="$OBJDUMP"
+ 
+-      # Make sure that we snagged all the symbols we need.
+-      if egrep ' nm_test_var$' "$nlist" >/dev/null; then
+-	if egrep ' nm_test_func$' "$nlist" >/dev/null; then
+-	  cat <<EOF > conftest.$ac_ext
+-#ifdef __cplusplus
+-extern "C" {
+-#endif
++# Used on cygwin: assembler.
++AS="$AS"
+ 
+-EOF
+-	  # Now generate the symbol file.
+-	  eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext'
++# The name of the directory that contains temporary libtool files.
++objdir=$objdir
+ 
+-	  cat <<EOF >> conftest.$ac_ext
+-#if defined (__STDC__) && __STDC__
+-# define lt_ptr_t void *
+-#else
+-# define lt_ptr_t char *
+-# define const
+-#endif
++# How to create reloadable object files.
++reload_flag=$lt_reload_flag
++reload_cmds=$lt_reload_cmds
+ 
+-/* The mapping between symbol names and symbols. */
+-const struct {
+-  const char *name;
+-  lt_ptr_t address;
+-}
+-lt_preloaded_symbols[] =
+-{
+-EOF
+-	  sed "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" >> conftest.$ac_ext
+-	  cat <<\EOF >> conftest.$ac_ext
+-  {0, (lt_ptr_t) 0}
+-};
++# How to pass a linker flag through the compiler.
++wl=$lt_lt_prog_compiler_wl_CXX
+ 
+-#ifdef __cplusplus
+-}
+-#endif
+-EOF
+-	  # Now try linking the two files.
+-	  mv conftest.$ac_objext conftstm.$ac_objext
+-	  save_LIBS="$LIBS"
+-	  save_CFLAGS="$CFLAGS"
+-	  LIBS="conftstm.$ac_objext"
+-	  CFLAGS="$CFLAGS$no_builtin_flag"
+-	  if { (eval echo "$as_me:3746: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:3749: \$? = $ac_status" >&5
+-  (exit $ac_status); } && test -s conftest; then
+-	    pipe_works=yes
+-	  fi
+-	  LIBS="$save_LIBS"
+-	  CFLAGS="$save_CFLAGS"
+-	else
+-	  echo "cannot find nm_test_func in $nlist" >&5
+-	fi
+-      else
+-	echo "cannot find nm_test_var in $nlist" >&5
+-      fi
+-    else
+-      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
+-    fi
+-  else
+-    echo "$progname: failed program was:" >&5
+-    cat conftest.$ac_ext >&5
+-  fi
+-  rm -f conftest* conftst*
++# Object file suffix (normally "o").
++objext="$ac_objext"
+ 
+-  # Do not use the global_symbol_pipe unless it works.
+-  if test "$pipe_works" = yes; then
+-    break
+-  else
+-    lt_cv_sys_global_symbol_pipe=
+-  fi
+-done
++# Old archive suffix (normally "a").
++libext="$libext"
++
++# Executable file suffix (normally "").
++exeext="$exeext"
++
++# Additional compiler flags for building library objects.
++pic_flag=$lt_lt_prog_compiler_pic_CXX
++pic_mode=$pic_mode
++
++# What is the maximum length of a command?
++max_cmd_len=$lt_cv_sys_max_cmd_len
++
++# Does compiler simultaneously support -c and -o options?
++compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
++
++# Must we lock files when doing compilation ?
++need_locks=$lt_need_locks
++
++# Do we need the lib prefix for modules?
++need_lib_prefix=$need_lib_prefix
++
++# Do we need a version for libraries?
++need_version=$need_version
++
++# Whether dlopen is supported.
++dlopen_support=$enable_dlopen
++
++# Whether dlopen of programs is supported.
++dlopen_self=$enable_dlopen_self
++
++# Whether dlopen of statically linked programs is supported.
++dlopen_self_static=$enable_dlopen_self_static
+ 
+-fi
++# Compiler flag to prevent dynamic linking.
++link_static_flag=$lt_lt_prog_compiler_static_CXX
+ 
+-global_symbol_pipe="$lt_cv_sys_global_symbol_pipe"
+-if test -z "$lt_cv_sys_global_symbol_pipe"; then
+-  global_symbol_to_cdecl=
+-else
+-  global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl"
+-fi
+-if test -z "$global_symbol_pipe$global_symbol_to_cdecl"; then
+-  echo "$as_me:3787: result: failed" >&5
+-echo "${ECHO_T}failed" >&6
+-else
+-  echo "$as_me:3790: result: ok" >&5
+-echo "${ECHO_T}ok" >&6
+-fi
++# Compiler flag to turn off builtin functions.
++no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
+ 
+-for ac_header in dlfcn.h
+-do
+-ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
+-echo "$as_me:3797: checking for $ac_header" >&5
+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+-if eval "test \"\${$ac_ac_Header+set}\" = set"; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  cat >conftest.$ac_ext <<_ACEOF
+-#line 3803 "configure"
+-#include "confdefs.h"
+-#include <$ac_header>
+-_ACEOF
+-if { (eval echo "$as_me:3807: \"$ac_cpp conftest.$ac_ext\"") >&5
+-  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+-  ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
+-  rm -f conftest.er1
+-  cat conftest.err >&5
+-  echo "$as_me:3813: \$? = $ac_status" >&5
+-  (exit $ac_status); } >/dev/null; then
+-  if test -s conftest.err; then
+-    ac_cpp_err=$ac_c_preproc_warn_flag
+-  else
+-    ac_cpp_err=
+-  fi
+-else
+-  ac_cpp_err=yes
+-fi
+-if test -z "$ac_cpp_err"; then
+-  eval "$ac_ac_Header=yes"
+-else
+-  echo "$as_me: failed program was:" >&5
+-  cat conftest.$ac_ext >&5
+-  eval "$ac_ac_Header=no"
+-fi
+-rm -f conftest.err conftest.$ac_ext
+-fi
+-echo "$as_me:3832: result: `eval echo '${'$ac_ac_Header'}'`" >&5
+-echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
+-if test `eval echo '${'$ac_ac_Header'}'` = yes; then
+-  cat >>confdefs.h <<EOF
+-#define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
+-EOF
++# Compiler flag to allow reflexive dlopens.
++export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
+ 
+-fi
+-done
++# Compiler flag to generate shared objects directly from archives.
++whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
+ 
+-# Only perform the check for file, if the check method requires it
+-case $deplibs_check_method in
+-file_magic*)
+-  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
+-    echo "$as_me:3846: checking for ${ac_tool_prefix}file" >&5
+-echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
+-if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  case $MAGIC_CMD in
+-  /*)
+-  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
+-  ;;
+-  ?:/*)
+-  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
+-  ;;
+-  *)
+-  ac_save_MAGIC_CMD="$MAGIC_CMD"
+-  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
+-  ac_dummy="/usr/bin:$PATH"
+-  for ac_dir in $ac_dummy; do
+-    test -z "$ac_dir" && ac_dir=.
+-    if test -f $ac_dir/${ac_tool_prefix}file; then
+-      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
+-      if test -n "$file_magic_test_file"; then
+-	case $deplibs_check_method in
+-	"file_magic "*)
+-	  file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
+-	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
+-	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
+-	    egrep "$file_magic_regex" > /dev/null; then
+-	    :
+-	  else
+-	    cat <<EOF 1>&2
++# Compiler flag to generate thread-safe objects.
++thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
+ 
+-*** Warning: the command libtool uses to detect shared libraries,
+-*** $file_magic_cmd, produces output that libtool cannot recognize.
+-*** The result is that libtool may fail to recognize shared libraries
+-*** as such.  This will affect the creation of libtool libraries that
+-*** depend on shared libraries, but programs linked with such libtool
+-*** libraries will work regardless of this problem.  Nevertheless, you
+-*** may want to report the problem to your system manager and/or to
+-*** bug-libtool@gnu.org
++# Library versioning type.
++version_type=$version_type
+ 
+-EOF
+-	  fi ;;
+-	esac
+-      fi
+-      break
+-    fi
+-  done
+-  IFS="$ac_save_ifs"
+-  MAGIC_CMD="$ac_save_MAGIC_CMD"
+-  ;;
+-esac
+-fi
++# Format of library name prefix.
++libname_spec=$lt_libname_spec
+ 
+-MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
+-if test -n "$MAGIC_CMD"; then
+-  echo "$as_me:3901: result: $MAGIC_CMD" >&5
+-echo "${ECHO_T}$MAGIC_CMD" >&6
+-else
+-  echo "$as_me:3904: result: no" >&5
+-echo "${ECHO_T}no" >&6
+-fi
++# List of archive names.  First name is the real one, the rest are links.
++# The last name is the one that the linker finds with -lNAME.
++library_names_spec=$lt_library_names_spec
+ 
+-if test -z "$lt_cv_path_MAGIC_CMD"; then
+-  if test -n "$ac_tool_prefix"; then
+-    echo "$as_me:3910: checking for file" >&5
+-echo $ECHO_N "checking for file... $ECHO_C" >&6
+-if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  case $MAGIC_CMD in
+-  /*)
+-  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
+-  ;;
+-  ?:/*)
+-  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
+-  ;;
+-  *)
+-  ac_save_MAGIC_CMD="$MAGIC_CMD"
+-  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
+-  ac_dummy="/usr/bin:$PATH"
+-  for ac_dir in $ac_dummy; do
+-    test -z "$ac_dir" && ac_dir=.
+-    if test -f $ac_dir/file; then
+-      lt_cv_path_MAGIC_CMD="$ac_dir/file"
+-      if test -n "$file_magic_test_file"; then
+-	case $deplibs_check_method in
+-	"file_magic "*)
+-	  file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
+-	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
+-	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
+-	    egrep "$file_magic_regex" > /dev/null; then
+-	    :
+-	  else
+-	    cat <<EOF 1>&2
++# The coded name of the library, if different from the real name.
++soname_spec=$lt_soname_spec
+ 
+-*** Warning: the command libtool uses to detect shared libraries,
+-*** $file_magic_cmd, produces output that libtool cannot recognize.
+-*** The result is that libtool may fail to recognize shared libraries
+-*** as such.  This will affect the creation of libtool libraries that
+-*** depend on shared libraries, but programs linked with such libtool
+-*** libraries will work regardless of this problem.  Nevertheless, you
+-*** may want to report the problem to your system manager and/or to
+-*** bug-libtool@gnu.org
++# Commands used to build and install an old-style archive.
++RANLIB=$lt_RANLIB
++old_archive_cmds=$lt_old_archive_cmds_CXX
++old_postinstall_cmds=$lt_old_postinstall_cmds
++old_postuninstall_cmds=$lt_old_postuninstall_cmds
+ 
+-EOF
+-	  fi ;;
+-	esac
+-      fi
+-      break
+-    fi
+-  done
+-  IFS="$ac_save_ifs"
+-  MAGIC_CMD="$ac_save_MAGIC_CMD"
+-  ;;
+-esac
+-fi
++# Create an old-style archive from a shared archive.
++old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
+ 
+-MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
+-if test -n "$MAGIC_CMD"; then
+-  echo "$as_me:3965: result: $MAGIC_CMD" >&5
+-echo "${ECHO_T}$MAGIC_CMD" >&6
+-else
+-  echo "$as_me:3968: result: no" >&5
+-echo "${ECHO_T}no" >&6
+-fi
++# Create a temporary old-style archive to link instead of a shared archive.
++old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
+ 
+-  else
+-    MAGIC_CMD=:
+-  fi
+-fi
++# Commands used to build and install a shared archive.
++archive_cmds=$lt_archive_cmds_CXX
++archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
++postinstall_cmds=$lt_postinstall_cmds
++postuninstall_cmds=$lt_postuninstall_cmds
+ 
+-  fi
+-  ;;
+-esac
++# Commands to strip libraries.
++old_striplib=$lt_old_striplib
++striplib=$lt_striplib
+ 
+-if test -n "$ac_tool_prefix"; then
+-  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
+-set dummy ${ac_tool_prefix}ranlib; ac_word=$2
+-echo "$as_me:3984: checking for $ac_word" >&5
+-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+-if test "${ac_cv_prog_RANLIB+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  if test -n "$RANLIB"; then
+-  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
+-else
+-  ac_save_IFS=$IFS; IFS=$ac_path_separator
+-ac_dummy="$PATH"
+-for ac_dir in $ac_dummy; do
+-  IFS=$ac_save_IFS
+-  test -z "$ac_dir" && ac_dir=.
+-  $as_executable_p "$ac_dir/$ac_word" || continue
+-ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
+-echo "$as_me:3999: found $ac_dir/$ac_word" >&5
+-break
+-done
++# Dependencies to place before the objects being linked to create a
++# shared library.
++predep_objects=$lt_predep_objects_CXX
++
++# Dependencies to place after the objects being linked to create a
++# shared library.
++postdep_objects=$lt_postdep_objects_CXX
++
++# Dependencies to place before the objects being linked to create a
++# shared library.
++predeps=$lt_predeps_CXX
++
++# Dependencies to place after the objects being linked to create a
++# shared library.
++postdeps=$lt_postdeps_CXX
++
++# The library search path used internally by the compiler when linking
++# a shared library.
++compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
+ 
+-fi
+-fi
+-RANLIB=$ac_cv_prog_RANLIB
+-if test -n "$RANLIB"; then
+-  echo "$as_me:4007: result: $RANLIB" >&5
+-echo "${ECHO_T}$RANLIB" >&6
+-else
+-  echo "$as_me:4010: result: no" >&5
+-echo "${ECHO_T}no" >&6
+-fi
++# Method to check whether dependent libraries are shared objects.
++deplibs_check_method=$lt_deplibs_check_method
+ 
+-fi
+-if test -z "$ac_cv_prog_RANLIB"; then
+-  ac_ct_RANLIB=$RANLIB
+-  # Extract the first word of "ranlib", so it can be a program name with args.
+-set dummy ranlib; ac_word=$2
+-echo "$as_me:4019: checking for $ac_word" >&5
+-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+-if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  if test -n "$ac_ct_RANLIB"; then
+-  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
+-else
+-  ac_save_IFS=$IFS; IFS=$ac_path_separator
+-ac_dummy="$PATH"
+-for ac_dir in $ac_dummy; do
+-  IFS=$ac_save_IFS
+-  test -z "$ac_dir" && ac_dir=.
+-  $as_executable_p "$ac_dir/$ac_word" || continue
+-ac_cv_prog_ac_ct_RANLIB="ranlib"
+-echo "$as_me:4034: found $ac_dir/$ac_word" >&5
+-break
+-done
++# Command to use when deplibs_check_method == file_magic.
++file_magic_cmd=$lt_file_magic_cmd
+ 
+-  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
+-fi
+-fi
+-ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
+-if test -n "$ac_ct_RANLIB"; then
+-  echo "$as_me:4043: result: $ac_ct_RANLIB" >&5
+-echo "${ECHO_T}$ac_ct_RANLIB" >&6
+-else
+-  echo "$as_me:4046: result: no" >&5
+-echo "${ECHO_T}no" >&6
+-fi
++# Flag that allows shared libraries with undefined symbols to be built.
++allow_undefined_flag=$lt_allow_undefined_flag_CXX
+ 
+-  RANLIB=$ac_ct_RANLIB
+-else
+-  RANLIB="$ac_cv_prog_RANLIB"
+-fi
++# Flag that forces no undefined symbols.
++no_undefined_flag=$lt_no_undefined_flag_CXX
+ 
+-if test -n "$ac_tool_prefix"; then
+-  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
+-set dummy ${ac_tool_prefix}strip; ac_word=$2
+-echo "$as_me:4058: checking for $ac_word" >&5
+-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+-if test "${ac_cv_prog_STRIP+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  if test -n "$STRIP"; then
+-  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
+-else
+-  ac_save_IFS=$IFS; IFS=$ac_path_separator
+-ac_dummy="$PATH"
+-for ac_dir in $ac_dummy; do
+-  IFS=$ac_save_IFS
+-  test -z "$ac_dir" && ac_dir=.
+-  $as_executable_p "$ac_dir/$ac_word" || continue
+-ac_cv_prog_STRIP="${ac_tool_prefix}strip"
+-echo "$as_me:4073: found $ac_dir/$ac_word" >&5
+-break
+-done
++# Commands used to finish a libtool library installation in a directory.
++finish_cmds=$lt_finish_cmds
+ 
+-fi
+-fi
+-STRIP=$ac_cv_prog_STRIP
+-if test -n "$STRIP"; then
+-  echo "$as_me:4081: result: $STRIP" >&5
+-echo "${ECHO_T}$STRIP" >&6
+-else
+-  echo "$as_me:4084: result: no" >&5
+-echo "${ECHO_T}no" >&6
+-fi
++# Same as above, but a single script fragment to be evaled but not shown.
++finish_eval=$lt_finish_eval
+ 
+-fi
+-if test -z "$ac_cv_prog_STRIP"; then
+-  ac_ct_STRIP=$STRIP
+-  # Extract the first word of "strip", so it can be a program name with args.
+-set dummy strip; ac_word=$2
+-echo "$as_me:4093: checking for $ac_word" >&5
+-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+-if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  if test -n "$ac_ct_STRIP"; then
+-  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
+-else
+-  ac_save_IFS=$IFS; IFS=$ac_path_separator
+-ac_dummy="$PATH"
+-for ac_dir in $ac_dummy; do
+-  IFS=$ac_save_IFS
+-  test -z "$ac_dir" && ac_dir=.
+-  $as_executable_p "$ac_dir/$ac_word" || continue
+-ac_cv_prog_ac_ct_STRIP="strip"
+-echo "$as_me:4108: found $ac_dir/$ac_word" >&5
+-break
+-done
++# Take the output of nm and produce a listing of raw symbols and C names.
++global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
+ 
+-  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
+-fi
+-fi
+-ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
+-if test -n "$ac_ct_STRIP"; then
+-  echo "$as_me:4117: result: $ac_ct_STRIP" >&5
+-echo "${ECHO_T}$ac_ct_STRIP" >&6
+-else
+-  echo "$as_me:4120: result: no" >&5
+-echo "${ECHO_T}no" >&6
+-fi
++# Transform the output of nm in a proper C declaration
++global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
+ 
+-  STRIP=$ac_ct_STRIP
+-else
+-  STRIP="$ac_cv_prog_STRIP"
+-fi
++# Transform the output of nm in a C name address pair
++global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
+ 
+-enable_dlopen=no
+-enable_win32_dll=no
++# This is the shared library runtime path variable.
++runpath_var=$runpath_var
+ 
+-# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
+-if test "${enable_libtool_lock+set}" = set; then
+-  enableval="$enable_libtool_lock"
++# This is the shared library path variable.
++shlibpath_var=$shlibpath_var
+ 
+-fi;
+-test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
++# Is shlibpath searched before the hard-coded library search path?
++shlibpath_overrides_runpath=$shlibpath_overrides_runpath
+ 
+-# Some flags need to be propagated to the compiler or linker for good
+-# libtool support.
+-case $host in
+-*-*-irix6*)
+-  # Find out which ABI we are using.
+-  echo '#line 4144 "configure"' > conftest.$ac_ext
+-  if { (eval echo "$as_me:4145: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:4148: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-    case `/usr/bin/file conftest.$ac_objext` in
+-    *32-bit*)
+-      LD="${LD-ld} -32"
+-      ;;
+-    *N32*)
+-      LD="${LD-ld} -n32"
+-      ;;
+-    *64-bit*)
+-      LD="${LD-ld} -64"
+-      ;;
+-    esac
+-  fi
+-  rm -rf conftest*
+-  ;;
++# How to hardcode a shared library path into an executable.
++hardcode_action=$hardcode_action_CXX
+ 
+-*-*-sco3.2v5*)
+-  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
+-  SAVE_CFLAGS="$CFLAGS"
+-  CFLAGS="$CFLAGS -belf"
+-  echo "$as_me:4169: checking whether the C compiler needs -belf" >&5
+-echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
+-if test "${lt_cv_cc_needs_belf+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
++# Whether we should hardcode library paths into libraries.
++hardcode_into_libs=$hardcode_into_libs
+ 
+-     ac_ext=c
+-ac_cpp='$CPP $CPPFLAGS'
+-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+-ac_compiler_gnu=$ac_cv_c_compiler_gnu
++# Flag to hardcode \$libdir into a binary during linking.
++# This must work even if \$libdir does not exist.
++hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
+ 
+-     cat >conftest.$ac_ext <<_ACEOF
+-#line 4182 "configure"
+-#include "confdefs.h"
++# Whether we need a single -rpath flag with a separated argument.
++hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
+ 
+-int
+-main ()
+-{
++# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
++# resulting binary.
++hardcode_direct=$hardcode_direct_CXX
+ 
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:4194: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:4197: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:4200: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:4203: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
+-  lt_cv_cc_needs_belf=yes
+-else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-lt_cv_cc_needs_belf=no
+-fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+-     ac_ext=c
+-ac_cpp='$CPP $CPPFLAGS'
+-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+-ac_compiler_gnu=$ac_cv_c_compiler_gnu
++# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
++# resulting binary.
++hardcode_minus_L=$hardcode_minus_L_CXX
+ 
+-fi
+-echo "$as_me:4219: result: $lt_cv_cc_needs_belf" >&5
+-echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
+-  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
+-    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
+-    CFLAGS="$SAVE_CFLAGS"
+-  fi
+-  ;;
++# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
++# the resulting binary.
++hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
+ 
+-esac
++# Variables whose values should be saved in libtool wrapper scripts and
++# restored at relink time.
++variables_saved_for_relink="$variables_saved_for_relink"
+ 
+-# Sed substitution that helps us do robust quoting.  It backslashifies
+-# metacharacters that are still active within double-quoted strings.
+-Xsed='sed -e s/^X//'
+-sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
++# Whether libtool must link a program against all its dependency libraries.
++link_all_deplibs=$link_all_deplibs_CXX
+ 
+-# Same as above, but do not quote variable references.
+-double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
++# Compile-time system search path for libraries
++sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
+ 
+-# Sed substitution to delay expansion of an escaped shell variable in a
+-# double_quote_subst'ed string.
+-delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
++# Run-time system search path for libraries
++sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
+ 
+-# Constants:
+-rm="rm -f"
++# Fix the shell variable \$srcfile for the compiler.
++fix_srcfile_path="$fix_srcfile_path_CXX"
+ 
+-# Global variables:
+-default_ofile=libtool
+-can_build_shared=yes
++# Set to yes if exported symbols are required.
++always_export_symbols=$always_export_symbols_CXX
+ 
+-# All known linkers require a `.a' archive for static linking (except M$VC,
+-# which needs '.lib').
+-libext=a
+-ltmain="$ac_aux_dir/ltmain.sh"
+-ofile="$default_ofile"
+-with_gnu_ld="$lt_cv_prog_gnu_ld"
+-need_locks="$enable_libtool_lock"
++# The commands to list exported symbols.
++export_symbols_cmds=$lt_export_symbols_cmds_CXX
+ 
+-old_CC="$CC"
+-old_CFLAGS="$CFLAGS"
++# The commands to extract the exported symbol list from a shared archive.
++extract_expsyms_cmds=$lt_extract_expsyms_cmds
+ 
+-# Set sane defaults for various variables
+-test -z "$AR" && AR=ar
+-test -z "$AR_FLAGS" && AR_FLAGS=cru
+-test -z "$AS" && AS=as
+-test -z "$CC" && CC=cc
+-test -z "$DLLTOOL" && DLLTOOL=dlltool
+-test -z "$LD" && LD=ld
+-test -z "$LN_S" && LN_S="ln -s"
+-test -z "$MAGIC_CMD" && MAGIC_CMD=file
+-test -z "$NM" && NM=nm
+-test -z "$OBJDUMP" && OBJDUMP=objdump
+-test -z "$RANLIB" && RANLIB=:
+-test -z "$STRIP" && STRIP=:
+-test -z "$ac_objext" && ac_objext=o
++# Symbols that should not be listed in the preloaded symbols.
++exclude_expsyms=$lt_exclude_expsyms_CXX
++
++# Symbols that must always be exported.
++include_expsyms=$lt_include_expsyms_CXX
++
++# ### END LIBTOOL TAG CONFIG: $tagname
++
++__EOF__
+ 
+-if test x"$host" != x"$build"; then
+-  ac_tool_prefix=${host_alias}-
+ else
+-  ac_tool_prefix=
++  # If there is no Makefile yet, we rely on a make rule to execute
++  # `config.status --recheck' to rerun these tests and create the
++  # libtool script then.
++  test -f Makefile && make "$ltmain"
+ fi
+ 
+-# Transform linux* to *-*-linux-gnu*, to support old configure scripts.
+-case $host_os in
+-linux-gnu*) ;;
+-linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
+-esac
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='${CC-cc} -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
+ 
+-case $host_os in
+-aix3*)
+-  # AIX sometimes has problems with the GCC collect2 program.  For some
+-  # reason, if we set the COLLECT_NAMES environment variable, the problems
+-  # vanish in a puff of smoke.
+-  if test "X${COLLECT_NAMES+set}" != Xset; then
+-    COLLECT_NAMES=
+-    export COLLECT_NAMES
+-  fi
+-  ;;
+-esac
++CC="$lt_save_CC"
+ 
+-# Determine commands to create old-style static archives.
+-old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
+-old_postinstall_cmds='chmod 644 $oldlib'
+-old_postuninstall_cmds=
++        ;;
+ 
+-if test -n "$RANLIB"; then
+-  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
+-  old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
+-fi
++      GCJ)
++
++# Source file extension for C test sources.
++ac_ext=java
++
++# Object file extension for compiled C test sources.
++objext=o
++objext_GCJ=$objext
++
++# Code to be used in simple compile tests
++lt_simple_compile_test_code="class foo {}"
++
++# Code to be used in simple link tests
++lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }'
++
++# ltmain only uses $CC for tagged configurations so make sure $CC is set.
++
++# If no C compiler was specified, use CC.
++LTCC=${LTCC-"$CC"}
+ 
+ # Allow CC to be a program name with arguments.
+ set dummy $CC
+ compiler="$2"
+ 
+-echo "$as_me:4312: checking for objdir" >&5
+-echo $ECHO_N "checking for objdir... $ECHO_C" >&6
+-rm -f .libs 2>/dev/null
+-mkdir .libs 2>/dev/null
+-if test -d .libs; then
+-  objdir=.libs
++# Allow CC to be a program name with arguments.
++lt_save_CC="$CC"
++CC=${GCJ-"gcj"}
++set dummy $CC
++compiler="$2"
++compiler_GCJ=$CC
++
++# GCJ did not exist at the time GCC didn't implicitly link libc in.
++archive_cmds_need_lc_GCJ=no
++
++lt_prog_compiler_no_builtin_flag_GCJ=
++
++if test "$GCC" = yes; then
++  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
++
++  echo "configure:10472: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
++echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
++if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  # MS-DOS does not allow filenames that begin with a dot.
+-  objdir=_libs
++  lt_cv_prog_compiler_rtti_exceptions=no
++  ac_outfile=conftest.$ac_objext
++   save_CFLAGS="$CFLAGS"
++   CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"
++   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
++   if (eval $ac_compile 2>conftest.err) && test -s $ac_outfile; then
++     # The compiler can only warn and ignore the option if not recognized
++     # So say no if there are warnings
++     if test -s conftest.err; then
++       # Append any errors to the config.log.
++       cat conftest.err 1>&AS_MESSAGE_LOG_FD
++     else
++       lt_cv_prog_compiler_rtti_exceptions=yes
++     fi
++   fi
++   $rm conftest*
++   CFLAGS="$save_CFLAGS"
++
+ fi
+-rmdir .libs 2>/dev/null
+-echo "$as_me:4323: result: $objdir" >&5
+-echo "${ECHO_T}$objdir" >&6
++echo "configure:10496: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
++echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
+ 
+-# Check whether --with-pic or --without-pic was given.
+-if test "${with_pic+set}" = set; then
+-  withval="$with_pic"
+-  pic_mode="$withval"
++if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
++    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
+ else
+-  pic_mode=default
+-fi;
+-test -z "$pic_mode" && pic_mode=default
++    :
++fi
+ 
+-# We assume here that the value for lt_cv_prog_cc_pic will not be cached
+-# in isolation, and that seeing it set (from the cache) indicates that
+-# the associated values are set (in the cache) correctly too.
+-echo "$as_me:4338: checking for $compiler option to produce PIC" >&5
+-echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
+-if test "${lt_cv_prog_cc_pic+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-   lt_cv_prog_cc_pic=
+-  lt_cv_prog_cc_shlib=
+-  lt_cv_prog_cc_wl=
+-  lt_cv_prog_cc_static=
+-  lt_cv_prog_cc_no_builtin=
+-  lt_cv_prog_cc_can_build_shared=$can_build_shared
++fi
++
++lt_prog_compiler_wl_GCJ=
++lt_prog_compiler_pic_GCJ=
++lt_prog_compiler_static_GCJ=
+ 
++echo "configure:10511: checking for $compiler option to produce PIC" >&5
++echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
+   if test "$GCC" = yes; then
+-    lt_cv_prog_cc_wl='-Wl,'
+-    lt_cv_prog_cc_static='-static'
++    lt_prog_compiler_wl_GCJ='-Wl,'
++    lt_prog_compiler_static_GCJ='-static'
+ 
+     case $host_os in
+-    aix*)
+-      # Below there is a dirty hack to force normal static linking with -ldl
+-      # The problem is because libdl dynamically linked with both libc and
+-      # libC (AIX C++ library), which obviously doesn't included in libraries
+-      # list by gcc. This cause undefined symbols with -static flags.
+-      # This hack allows C programs to be linked with "-static -ldl", but
+-      # we not sure about C++ programs.
+-      lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC"
++      aix*)
++      # All AIX code is PIC.
++      if test "$host_cpu" = ia64; then
++        # AIX 5 now supports IA64 processor
++        lt_prog_compiler_static_GCJ='-Bstatic'
++      else
++        lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
++      fi
+       ;;
++
+     amigaos*)
+       # FIXME: we need at least 68020 code to build shared libraries, but
+       # adding the `-m68020' flag to GCC prevents building anything better,
+       # like `-m68040'.
+-      lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4'
++      lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
+       ;;
++
+     beos* | irix5* | irix6* | osf3* | osf4* | osf5*)
+       # PIC is the default for these OSes.
+       ;;
++
++    cygwin* | mingw* | pw32* | os2*)
++      # This hack is so that the source file can tell whether it is being
++      # built for inclusion in a dll (and should export symbols for example).
++      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
++      ;;
++
+     darwin* | rhapsody*)
+       # PIC is the default on this platform
+       # Common symbols not allowed in MH_DYLIB files
+-      lt_cv_prog_cc_pic='-fno-common'
++      lt_prog_compiler_pic_GCJ='-fno-common'
+       ;;
+-    cygwin* | mingw* | pw32* | os2*)
+-      # This hack is so that the source file can tell whether it is being
+-      # built for inclusion in a dll (and should export symbols for example).
+-      lt_cv_prog_cc_pic='-DDLL_EXPORT'
++
++    msdosdjgpp*)
++      # Just because we use GCC doesn't mean we suddenly get shared libraries
++      # on systems that don't support them.
++      lt_prog_compiler_can_build_shared_GCJ=no
++      enable_shared=no
+       ;;
++
+     sysv4*MP*)
+       if test -d /usr/nec; then
+-	 lt_cv_prog_cc_pic=-Kconform_pic
++        lt_prog_compiler_pic_GCJ=-Kconform_pic
+       fi
+       ;;
++
+     *)
+-      lt_cv_prog_cc_pic='-fPIC'
++      lt_prog_compiler_pic_GCJ='-fPIC'
+       ;;
+     esac
+   else
+-    # PORTME Check for PIC flags for the system compiler.
++    # PORTME Check for flag to pass linker flags through the system compiler.
+     case $host_os in
+-    aix3* | aix4* | aix5*)
+-      # All AIX code is PIC.
++    aix*)
++      lt_prog_compiler_wl_GCJ='-Wl,'
+       if test "$host_cpu" = ia64; then
+         # AIX 5 now supports IA64 processor
+-        lt_cv_prog_cc_static='-Bstatic'
+-        lt_cv_prog_cc_wl='-Wl,'
++        lt_prog_compiler_static_GCJ='-Bstatic'
+       else
+-        lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp'
++        lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
+       fi
+       ;;
+ 
++    cygwin* | mingw* | pw32* | os2*)
++      # This hack is so that the source file can tell whether it is being
++      # built for inclusion in a dll (and should export symbols for example).
++      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
++      ;;
++
+     hpux9* | hpux10* | hpux11*)
+-      # Is there a better lt_cv_prog_cc_static that works with the bundled CC?
+-      lt_cv_prog_cc_wl='-Wl,'
+-      lt_cv_prog_cc_static="${lt_cv_prog_cc_wl}-a ${lt_cv_prog_cc_wl}archive"
+-      lt_cv_prog_cc_pic='+Z'
++      lt_prog_compiler_wl_GCJ='-Wl,'
++      lt_prog_compiler_pic_GCJ='+Z'
++      # Is there a better lt_prog_compiler_static that works with the bundled CC?
++      lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
+       ;;
+ 
+     irix5* | irix6*)
+-      lt_cv_prog_cc_wl='-Wl,'
+-      lt_cv_prog_cc_static='-non_shared'
++      lt_prog_compiler_wl_GCJ='-Wl,'
+       # PIC (with -KPIC) is the default.
+-      ;;
+-
+-    cygwin* | mingw* | pw32* | os2*)
+-      # This hack is so that the source file can tell whether it is being
+-      # built for inclusion in a dll (and should export symbols for example).
+-      lt_cv_prog_cc_pic='-DDLL_EXPORT'
++      lt_prog_compiler_static_GCJ='-non_shared'
+       ;;
+ 
+     newsos6)
+-      lt_cv_prog_cc_pic='-KPIC'
+-      lt_cv_prog_cc_static='-Bstatic'
++      lt_prog_compiler_pic_GCJ='-KPIC'
++      lt_prog_compiler_static_GCJ='-Bstatic'
+       ;;
+ 
+     osf3* | osf4* | osf5*)
++      lt_prog_compiler_wl_GCJ='-Wl,'
+       # All OSF/1 code is PIC.
+-      lt_cv_prog_cc_wl='-Wl,'
+-      lt_cv_prog_cc_static='-non_shared'
++      lt_prog_compiler_static_GCJ='-non_shared'
+       ;;
+ 
+     sco3.2v5*)
+-      lt_cv_prog_cc_pic='-Kpic'
+-      lt_cv_prog_cc_static='-dn'
+-      lt_cv_prog_cc_shlib='-belf'
++      lt_prog_compiler_pic_GCJ='-Kpic'
++      lt_prog_compiler_static_GCJ='-dn'
+       ;;
+ 
+     solaris*)
+-      lt_cv_prog_cc_pic='-KPIC'
+-      lt_cv_prog_cc_static='-Bstatic'
+-      lt_cv_prog_cc_wl='-Wl,'
++      lt_prog_compiler_wl_GCJ='-Wl,'
++      lt_prog_compiler_pic_GCJ='-KPIC'
++      lt_prog_compiler_static_GCJ='-Bstatic'
+       ;;
+ 
+     sunos4*)
+-      lt_cv_prog_cc_pic='-PIC'
+-      lt_cv_prog_cc_static='-Bstatic'
+-      lt_cv_prog_cc_wl='-Qoption ld '
++      lt_prog_compiler_wl_GCJ='-Qoption ld '
++      lt_prog_compiler_pic_GCJ='-PIC'
++      lt_prog_compiler_static_GCJ='-Bstatic'
+       ;;
+ 
+     sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
+-      lt_cv_prog_cc_pic='-KPIC'
+-      lt_cv_prog_cc_static='-Bstatic'
+       if test "x$host_vendor" = xsni; then
+-        lt_cv_prog_cc_wl='-LD'
++        lt_prog_compiler_wl_GCJ='-LD'
+       else
+-        lt_cv_prog_cc_wl='-Wl,'
++        lt_prog_compiler_wl_GCJ='-Wl,'
+       fi
+-      ;;
+-
+-    uts4*)
+-      lt_cv_prog_cc_pic='-pic'
+-      lt_cv_prog_cc_static='-Bstatic'
++      lt_prog_compiler_pic_GCJ='-KPIC'
++      lt_prog_compiler_static_GCJ='-Bstatic'
+       ;;
+ 
+     sysv4*MP*)
+       if test -d /usr/nec ;then
+-	lt_cv_prog_cc_pic='-Kconform_pic'
+-	lt_cv_prog_cc_static='-Bstatic'
++        lt_prog_compiler_pic_GCJ='-Kconform_pic'
++        lt_prog_compiler_static_GCJ='-Bstatic'
+       fi
+       ;;
+ 
++    uts4*)
++      lt_prog_compiler_pic_GCJ='-pic'
++      lt_prog_compiler_static_GCJ='-Bstatic'
++      ;;
++
+     *)
+-      lt_cv_prog_cc_can_build_shared=no
++      lt_prog_compiler_can_build_shared_GCJ=no
+       ;;
+     esac
+   fi
+ 
+-fi
+-
+-if test -z "$lt_cv_prog_cc_pic"; then
+-  echo "$as_me:4485: result: none" >&5
+-echo "${ECHO_T}none" >&6
+-else
+-  echo "$as_me:4488: result: $lt_cv_prog_cc_pic" >&5
+-echo "${ECHO_T}$lt_cv_prog_cc_pic" >&6
+-
+-  # Check to make sure the pic_flag actually works.
+-  echo "$as_me:4492: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5
+-echo $ECHO_N "checking if $compiler PIC flag $lt_cv_prog_cc_pic works... $ECHO_C" >&6
+-  if test "${lt_cv_prog_cc_pic_works+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-      save_CFLAGS="$CFLAGS"
+-    CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"
+-    cat >conftest.$ac_ext <<_ACEOF
+-#line 4500 "configure"
+-#include "confdefs.h"
+-
+-int
+-main ()
+-{
+-
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:4512: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:4515: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:4518: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:4521: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
+-        case $host_os in
+-      hpux9* | hpux10* | hpux11*)
+-	# On HP-UX, both CC and GCC only warn that PIC is supported... then
+-	# they create non-PIC objects.  So, if there were any warnings, we
+-	# assume that PIC is not supported.
+-	if test -s conftest.err; then
+-	  lt_cv_prog_cc_pic_works=no
+-	else
+-	  lt_cv_prog_cc_pic_works=yes
+-	fi
+-	;;
+-      *)
+-	lt_cv_prog_cc_pic_works=yes
+-	;;
+-      esac
+-
+-else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-      lt_cv_prog_cc_pic_works=no
+-
+-fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
+-    CFLAGS="$save_CFLAGS"
+-
+-fi
+-
+-  if test "X$lt_cv_prog_cc_pic_works" = Xno; then
+-    lt_cv_prog_cc_pic=
+-    lt_cv_prog_cc_can_build_shared=no
+-  else
+-    lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic"
+-  fi
++echo "configure:10656: result: $lt_prog_compiler_pic_GCJ" >&5
++echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
+ 
+-  echo "$as_me:4557: result: $lt_cv_prog_cc_pic_works" >&5
+-echo "${ECHO_T}$lt_cv_prog_cc_pic_works" >&6
+-fi
++#
++# Check to make sure the PIC flag actually works.
++#
++if test -n "$lt_prog_compiler_pic_GCJ"; then
++  echo "configure:10663: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
++echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
++if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  lt_prog_compiler_pic_works_GCJ=no
++  ac_outfile=conftest.$ac_objext
++   save_CFLAGS="$CFLAGS"
++   CFLAGS="$CFLAGS $lt_prog_compiler_pic_GCJ -DPIC"
++   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
++   if (eval $ac_compile 2>conftest.err) && test -s $ac_outfile; then
++     # The compiler can only warn and ignore the option if not recognized
++     # So say no if there are warnings
++     if test -s conftest.err; then
++       # Append any errors to the config.log.
++       cat conftest.err 1>&AS_MESSAGE_LOG_FD
++     else
++       lt_prog_compiler_pic_works_GCJ=yes
++     fi
++   fi
++   $rm conftest*
++   CFLAGS="$save_CFLAGS"
+ 
+-# Check for any special shared library compilation flags.
+-if test -n "$lt_cv_prog_cc_shlib"; then
+-  { echo "$as_me:4563: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&5
+-echo "$as_me: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&2;}
+-  if echo "$old_CC $old_CFLAGS " | egrep -e "[ 	]$lt_cv_prog_cc_shlib[ 	]" >/dev/null; then :
+-  else
+-   { echo "$as_me:4567: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
+-echo "$as_me: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
+-    lt_cv_prog_cc_can_build_shared=no
+-  fi
+ fi
++echo "configure:10687: result: $lt_prog_compiler_pic_works_GCJ" >&5
++echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
+ 
+-echo "$as_me:4573: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5
+-echo $ECHO_N "checking if $compiler static flag $lt_cv_prog_cc_static works... $ECHO_C" >&6
+-if test "${lt_cv_prog_cc_static_works+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-    lt_cv_prog_cc_static_works=no
+-  save_LDFLAGS="$LDFLAGS"
+-  LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"
+-  cat >conftest.$ac_ext <<_ACEOF
+-#line 4582 "configure"
+-#include "confdefs.h"
+-
+-int
+-main ()
+-{
+-
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:4594: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:4597: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:4600: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:4603: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
+-  lt_cv_prog_cc_static_works=yes
++if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
++    case $lt_prog_compiler_pic_GCJ in
++     "" | " "*) ;;
++     *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
++     esac
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++    lt_prog_compiler_pic_GCJ=
++     lt_prog_compiler_can_build_shared_GCJ=no
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+-  LDFLAGS="$save_LDFLAGS"
+ 
+ fi
++case "$host_os" in
++  # For platforms which do not support PIC, -DPIC is meaningless:
++  *djgpp*)
++    lt_prog_compiler_pic_GCJ=
++    ;;
++  *)
++    lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ -DPIC"
++    ;;
++esac
+ 
+-# Belt *and* braces to stop my trousers falling down:
+-test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static=
+-echo "$as_me:4617: result: $lt_cv_prog_cc_static_works" >&5
+-echo "${ECHO_T}$lt_cv_prog_cc_static_works" >&6
+-
+-pic_flag="$lt_cv_prog_cc_pic"
+-special_shlib_compile_flags="$lt_cv_prog_cc_shlib"
+-wl="$lt_cv_prog_cc_wl"
+-link_static_flag="$lt_cv_prog_cc_static"
+-no_builtin_flag="$lt_cv_prog_cc_no_builtin"
+-can_build_shared="$lt_cv_prog_cc_can_build_shared"
+-
+-# Check to see if options -o and -c are simultaneously supported by compiler
+-echo "$as_me:4628: checking if $compiler supports -c -o file.$ac_objext" >&5
++echo "configure:10711: checking if $compiler supports -c -o file.$ac_objext" >&5
+ echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
+-if test "${lt_cv_compiler_c_o+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-
+-$rm -r conftest 2>/dev/null
+-mkdir conftest
+-cd conftest
+-echo "int some_variable = 0;" > conftest.$ac_ext
+-mkdir out
+-# According to Tom Tromey, Ian Lance Taylor reported there are C compilers
+-# that will create temporary files in the current directory regardless of
+-# the output directory.  Thus, making CWD read-only will cause this test
+-# to fail, enabling locking or at least warning the user not to do parallel
+-# builds.
+-chmod -w .
+-save_CFLAGS="$CFLAGS"
+-CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
+-compiler_c_o=no
+-if { (eval echo configure:4648: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
+-  # The compiler can only warn and ignore the option if not recognized
+-  # So say no if there are warnings
+-  if test -s out/conftest.err; then
+-    lt_cv_compiler_c_o=no
+-  else
+-    lt_cv_compiler_c_o=yes
+-  fi
+-else
+-  # Append any errors to the config.log.
+-  cat out/conftest.err 1>&5
+-  lt_cv_compiler_c_o=no
+-fi
+-CFLAGS="$save_CFLAGS"
+-chmod u+w .
+-$rm conftest* out/*
+-rmdir out
+-cd ..
+-rmdir conftest
+-$rm -r conftest 2>/dev/null
+-
+-fi
+-
+-compiler_c_o=$lt_cv_compiler_c_o
+-echo "$as_me:4672: result: $compiler_c_o" >&5
+-echo "${ECHO_T}$compiler_c_o" >&6
+-
+-if test x"$compiler_c_o" = x"yes"; then
+-  # Check to see if we can write to a .lo
+-  echo "$as_me:4677: checking if $compiler supports -c -o file.lo" >&5
+-echo $ECHO_N "checking if $compiler supports -c -o file.lo... $ECHO_C" >&6
+-  if test "${lt_cv_compiler_o_lo+set}" = set; then
++if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
++  lt_cv_prog_compiler_c_o_GCJ=no
++   $rm -r conftest 2>/dev/null
++   mkdir conftest
++   cd conftest
++   mkdir out
++   save_GCJFLAGS="$GCJFLAGS"
++                   GCJFLAGS="$GCJFLAGS -o out/conftest2.$ac_objext"
++   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
++
++   # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
++   # that will create temporary files in the current directory regardless of
++   # the output directory.  Thus, making CWD read-only will cause this test
++   # to fail, enabling locking or at least warning the user not to do parallel
++   # builds.
++   chmod -w .
++
++   if (eval $ac_compile 2>out/conftest.err) && test -s out/conftest2.$ac_objext
++   then
++     # The compiler can only warn and ignore the option if not recognized
++     # So say no if there are warnings
++     if test -s out/conftest.err; then
++       # Append any errors to the config.log.
++       cat out/conftest.err 1>&AS_MESSAGE_LOG_FD
++     else
++       lt_cv_prog_compiler_c_o_GCJ=yes
++     fi
++   fi
++   GCJFLAGS="$save_GCJFLAGS"
++   chmod u+w .
++   $rm conftest* out/*
++   rmdir out
++   cd ..
++   rmdir conftest
++   $rm conftest*
+ 
+-  lt_cv_compiler_o_lo=no
+-  save_CFLAGS="$CFLAGS"
+-  CFLAGS="$CFLAGS -c -o conftest.lo"
+-  cat >conftest.$ac_ext <<_ACEOF
+-#line 4687 "configure"
+-#include "confdefs.h"
+-
+-int
+-main ()
+-{
+-int some_variable = 0;
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:4699: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:4702: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:4705: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:4708: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
+-      # The compiler can only warn and ignore the option if not recognized
+-    # So say no if there are warnings
+-    if test -s conftest.err; then
+-      lt_cv_compiler_o_lo=no
+-    else
+-      lt_cv_compiler_o_lo=yes
+-    fi
+-
+-else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
+-  CFLAGS="$save_CFLAGS"
+-
+-fi
+-
+-  compiler_o_lo=$lt_cv_compiler_o_lo
+-  echo "$as_me:4728: result: $compiler_c_lo" >&5
+-echo "${ECHO_T}$compiler_c_lo" >&6
+-else
+-  compiler_o_lo=no
+ fi
++echo "configure:10752: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
++echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
+ 
+-# Check to see if we can do hard links to lock some files if needed
+ hard_links="nottested"
+-if test "$compiler_c_o" = no && test "$need_locks" != no; then
++if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
+   # do not overwrite the value of need_locks provided by the user
+-  echo "$as_me:4738: checking if we can lock with hard links" >&5
++  echo "configure:10758: checking if we can lock with hard links" >&5
+ echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
+   hard_links=yes
+   $rm conftest*
+@@ -4743,139 +10763,79 @@
+   touch conftest.a
+   ln conftest.a conftest.b 2>&5 || hard_links=no
+   ln conftest.a conftest.b 2>/dev/null && hard_links=no
+-  echo "$as_me:4746: result: $hard_links" >&5
++  echo "configure:10766: result: $hard_links" >&5
+ echo "${ECHO_T}$hard_links" >&6
+   if test "$hard_links" = no; then
+-    { echo "$as_me:4749: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
+-echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
++    echo "configure: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2
+     need_locks=warn
+   fi
+ else
+   need_locks=no
+ fi
+ 
+-if test "$GCC" = yes; then
+-  # Check to see if options -fno-rtti -fno-exceptions are supported by compiler
+-  echo "$as_me:4759: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
+-echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
+-  echo "int some_variable = 0;" > conftest.$ac_ext
+-  save_CFLAGS="$CFLAGS"
+-  CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"
+-  compiler_rtti_exceptions=no
+-  cat >conftest.$ac_ext <<_ACEOF
+-#line 4766 "configure"
+-#include "confdefs.h"
+-
+-int
+-main ()
+-{
+-int some_variable = 0;
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:4778: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:4781: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:4784: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:4787: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
+-      # The compiler can only warn and ignore the option if not recognized
+-    # So say no if there are warnings
+-    if test -s conftest.err; then
+-      compiler_rtti_exceptions=no
+-    else
+-      compiler_rtti_exceptions=yes
+-    fi
+-
+-else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
+-  CFLAGS="$save_CFLAGS"
+-  echo "$as_me:4803: result: $compiler_rtti_exceptions" >&5
+-echo "${ECHO_T}$compiler_rtti_exceptions" >&6
+-
+-  if test "$compiler_rtti_exceptions" = "yes"; then
+-    no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions'
+-  else
+-    no_builtin_flag=' -fno-builtin'
+-  fi
+-fi
++echo "configure:10776: checking whether the $compiler linker ($LD) supports shared libraries" >&5
++echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
+ 
+-# See if the linker supports building shared libraries.
+-echo "$as_me:4814: checking whether the linker ($LD) supports shared libraries" >&5
+-echo $ECHO_N "checking whether the linker ($LD) supports shared libraries... $ECHO_C" >&6
++  runpath_var=
++  allow_undefined_flag_GCJ=
+ 
+-allow_undefined_flag=
+-no_undefined_flag=
+-need_lib_prefix=unknown
+-need_version=unknown
+-# when you set need_version to no, make sure it does not cause -set_version
+-# flags to be left without arguments
+-archive_cmds=
+-archive_expsym_cmds=
+-old_archive_from_new_cmds=
+-old_archive_from_expsyms_cmds=
+-export_dynamic_flag_spec=
+-whole_archive_flag_spec=
+-thread_safe_flag_spec=
+-hardcode_into_libs=no
+-hardcode_libdir_flag_spec=
+-hardcode_libdir_separator=
+-hardcode_direct=no
+-hardcode_minus_L=no
+-hardcode_shlibpath_var=unsupported
+-runpath_var=
+-link_all_deplibs=unknown
+-always_export_symbols=no
+-export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols'
+-# include_expsyms should be a list of space-separated symbols to be *always*
+-# included in the symbol list
+-include_expsyms=
+-# exclude_expsyms can be an egrep regular expression of symbols to exclude
+-# it will be wrapped by ` (' and `)$', so one must not match beginning or
+-# end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
+-# as well as any symbol that contains `d'.
+-exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
+-# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
+-# platforms (ab)use it in PIC code, but their linkers get confused if
+-# the symbol is explicitly referenced.  Since portable code cannot
+-# rely on this symbol name, it's probably fine to never include it in
+-# preloaded symbol tables.
+-extract_expsyms_cmds=
++  archive_cmds_GCJ=
++  archive_cmds_need_lc_GCJ=
++  archive_expsym_cmds_GCJ=
++  old_archive_From_new_cmds_GCJ=
++  old_archive_from_expsyms_cmds_GCJ=
++  export_dynamic_flag_spec_GCJ=
++  whole_archive_flag_spec_GCJ=
++  thread_safe_flag_spec_GCJ=
++  hardcode_libdir_flag_spec_GCJ=
++  hardcode_libdir_separator_GCJ=
++  hardcode_direct_GCJ=no
++  hardcode_minus_L_GCJ=no
++  hardcode_shlibpath_var_GCJ=unsupported
++  link_all_deplibs_GCJ=unknown
++  always_export_symbols_GCJ=no
++  export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols'
++  # include_expsyms should be a list of space-separated symbols to be *always*
++  # included in the symbol list
++  include_expsyms_GCJ=
++  # exclude_expsyms can be an egrep regular expression of symbols to exclude
++  # it will be wrapped by ` (' and `)$', so one must not match beginning or
++  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
++  # as well as any symbol that contains `d'.
++  exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
++  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
++  # platforms (ab)use it in PIC code, but their linkers get confused if
++  # the symbol is explicitly referenced.  Since portable code cannot
++  # rely on this symbol name, it's probably fine to never include it in
++  # preloaded symbol tables.
++  extract_expsyms_cmds=
+ 
+-case $host_os in
+-cygwin* | mingw* | pw32* )
+-  # FIXME: the MSVC++ port hasn't been tested in a loooong time
+-  # When not using gcc, we currently assume that we are using
+-  # Microsoft Visual C++.
+-  if test "$GCC" != yes; then
++  case $host_os in
++  cygwin* | mingw* | pw32*)
++    # FIXME: the MSVC++ port hasn't been tested in a loooong time
++    # When not using gcc, we currently assume that we are using
++    # Microsoft Visual C++.
++    if test "$GCC" != yes; then
++      with_gnu_ld=no
++    fi
++    ;;
++  openbsd*)
+     with_gnu_ld=no
+-  fi
+-  ;;
+-
+-esac
++    ;;
++  esac
+ 
+-ld_shlibs=yes
+-if test "$with_gnu_ld" = yes; then
+-  # If archive_cmds runs LD, not CC, wlarc should be empty
+-  wlarc='${wl}'
++  ld_shlibs_GCJ=yes
++  if test "$with_gnu_ld" = yes; then
++    # If archive_cmds runs LD, not CC, wlarc should be empty
++    wlarc='${wl}'
+ 
+-  # See if GNU ld supports shared libraries.
+-  case $host_os in
+-  aix3* | aix4* | aix5*)
+-    # On AIX, the GNU linker is very broken
+-    # Note:Check GNU linker on AIX 5-IA64 when/if it becomes available.
+-    ld_shlibs=no
+-    cat <<EOF 1>&2
++    # See if GNU ld supports shared libraries.
++    case $host_os in
++    aix3* | aix4* | aix5*)
++      # On AIX/PPC, the GNU linker is very broken
++      if test "$host_cpu" != ia64; then
++        ld_shlibs_GCJ=no
++        cat <<EOF 1>&2
+ 
+ *** Warning: the GNU linker, at least up to release 2.9.1, is reported
+ *** to be unable to reliably create shared libraries on AIX.
+@@ -4884,596 +10844,761 @@
+ *** so that a non-GNU linker is found, and then restart.
+ 
+ EOF
+-    ;;
++      fi
++      ;;
++
++    amigaos*)
++      archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
++      hardcode_libdir_flag_spec_GCJ='-L$libdir'
++      hardcode_minus_L_GCJ=yes
++
++      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
++      # that the semantics of dynamic libraries on AmigaOS, at least up
++      # to version 4, is to share data among multiple programs linked
++      # with the same dynamic library.  Since this doesn't match the
++      # behavior of shared libraries on other platforms, we can't use
++      # them.
++      ld_shlibs_GCJ=no
++      ;;
++
++    beos*)
++      if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
++        allow_undefined_flag_GCJ=unsupported
++        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
++        # support --undefined.  This deserves some investigation.  FIXME
++        archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++      else
++        ld_shlibs_GCJ=no
++      fi
++      ;;
++
++    cygwin* | mingw* | pw32*)
++      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless, as there is
++      # no search path for DLLs.
++      hardcode_libdir_flag_spec_GCJ='-L$libdir'
++      allow_undefined_flag_GCJ=unsupported
++      always_export_symbols_GCJ=yes
++
++      extract_expsyms_cmds='test -f $output_objdir/impgen.c || \
++        sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~
++        test -f $output_objdir/impgen.exe || (cd $output_objdir && \
++        if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \
++        else $CC -o impgen impgen.c ; fi)~
++        $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def'
++
++      old_archive_from_expsyms_cmds_GCJ='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib'
++
++      # cygwin and mingw dlls have different entry points and sets of symbols
++      # to exclude.
++      # FIXME: what about values for MSVC?
++      dll_entry=__cygwin_dll_entry@12
++      dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~
++      case $host_os in
++      mingw*)
++        # mingw values
++        dll_entry=_DllMainCRTStartup@12
++        dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~
++        ;;
++      esac
++
++      # mingw and cygwin differ, and it's simplest to just exclude the union
++      # of the two symbol sets.
++      dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12
++
++      # recent cygwin and mingw systems supply a stub DllMain which the user
++      # can override, but on older systems we have to supply one (in ltdll.c)
++      if test "x$lt_cv_need_dllmain" = "xyes"; then
++        ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext "
++        ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < $''0 > $output_objdir/$soname-ltdll.c~
++  	test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~'
++      else
++        ltdll_obj=
++        ltdll_cmds=
++      fi
++
++      # Extract the symbol export list from an `--export-all' def file,
++      # then regenerate the def file from the symbol export list, so that
++      # the compiled dll only exports the symbol export list.
++      # Be careful not to strip the DATA tag left by newer dlltools.
++      export_symbols_cmds_GCJ="$ltdll_cmds"'
++        $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~
++        sed -e "1,/EXPORTS/d" -e "s/ @ [0-9]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols'
++
++      # If the export-symbols file already is a .def file (1st line
++      # is EXPORTS), use it as is.
++      # If DATA tags from a recent dlltool are present, honour them!
++      archive_expsym_cmds_GCJ='if test "x`head -1 $export_symbols`" = xEXPORTS; then
++          cp $export_symbols $output_objdir/$soname-def;
++        else
++          echo EXPORTS > $output_objdir/$soname-def;
++          _lt_hint=1;
++          cat $export_symbols | while read symbol; do
++           set dummy \$symbol;
++           case \$# in
++             2) echo "   \$2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
++             *) echo "   \$2 @ \$_lt_hint \$3 ; " >> $output_objdir/$soname-def;;
++           esac;
++           _lt_hint=`expr 1 + \$_lt_hint`;
++          done;
++        fi~
++        '"$ltdll_cmds"'
++        $CC -Wl,--base-file,$output_objdir/$soname-base '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
++        $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp~
++        $CC -Wl,--base-file,$output_objdir/$soname-base $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
++        $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp --output-lib $output_objdir/$libname.dll.a~
++        $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags'
++      ;;
++
++    darwin* | rhapsody*)
++      allow_undefined_flag_GCJ='-undefined suppress'
++      # FIXME: Relying on posixy $() will cause problems for
++      #        cross-compilation, but unfortunately the echo tests do not
++      #        yet detect zsh echo's removal of \ escapes.
++      archive_cmds_GCJ='$CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linkopts -install_name $rpath/$soname $(test -n "$verstring" -a x$verstring != x0.0 && echo $verstring)'
++      # We need to add '_' to the symbols in $export_symbols first
++      #_LT_AC_TAGVAR(archive_expsym_cmds, GCJ)="$_LT_AC_TAGVAR(archive_cmds, GCJ)"' && strip -s $export_symbols'
++      hardcode_direct_GCJ=yes
++      hardcode_shlibpath_var_GCJ=no
++      whole_archive_flag_spec_GCJ='-all_load $convenience'
++      ;;
++
++    netbsd*)
++      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++        archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
++        wlarc=
++      else
++        archive_cmds_GCJ='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++        archive_expsym_cmds_GCJ='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++      fi
++      ;;
++
++    solaris* | sysv5*)
++      if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then
++        ld_shlibs_GCJ=no
++        cat <<EOF 1>&2
++
++*** Warning: The releases 2.8.* of the GNU linker cannot reliably
++*** create shared libraries on Solaris systems.  Therefore, libtool
++*** is disabling shared libraries support.  We urge you to upgrade GNU
++*** binutils to release 2.9.1 or newer.  Another option is to modify
++*** your PATH or compiler configuration so that the native linker is
++*** used, and then restart.
++
++EOF
++      elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
++        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++      else
++        ld_shlibs_GCJ=no
++      fi
++      ;;
++
++    sunos4*)
++      archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++      wlarc=
++      hardcode_direct_GCJ=yes
++      hardcode_shlibpath_var_GCJ=no
++      ;;
++
++    *)
++      if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
++        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++      else
++        ld_shlibs_GCJ=no
++      fi
++      ;;
++    esac
++
++    if test "$ld_shlibs_GCJ" = yes; then
++      runpath_var=LD_RUN_PATH
++      hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
++      export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
++      case $host_os in
++      cygwin* | mingw* | pw32*)
++        # dlltool doesn't understand --whole-archive et. al.
++        whole_archive_flag_spec_GCJ=
++        ;;
++      *)
++        # ancient GNU ld didn't support --whole-archive et. al.
++        if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then
++  	whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
++        else
++  	whole_archive_flag_spec_GCJ=
++        fi
++        ;;
++      esac
++    fi
++  else
++    # PORTME fill in a description of your system's linker (not GNU ld)
++    case $host_os in
++    aix3*)
++      allow_undefined_flag_GCJ=unsupported
++      always_export_symbols_GCJ=yes
++      archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
++      # Note: this linker hardcodes the directories in LIBPATH if there
++      # are no directories specified by -L.
++      hardcode_minus_L_GCJ=yes
++      if test "$GCC" = yes && test -z "$link_static_flag"; then
++        # Neither direct hardcoding nor static linking is supported with a
++        # broken collect2.
++        hardcode_direct_GCJ=unsupported
++      fi
++      ;;
++
++    aix4* | aix5*)
++      if test "$host_cpu" = ia64; then
++        # On IA64, the linker does run time linking by default, so we don't
++        # have to do anything special.
++        aix_use_runtimelinking=no
++        exp_sym_flag='-Bexport'
++        no_entry_flag=""
++      else
++        aix_use_runtimelinking=no
++
++        # Test if we are trying to use run time linking or normal
++        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
++        # need to do runtime linking.
++        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
++          for ld_flag in $LDFLAGS; do
++  	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
++  	    aix_use_runtimelinking=yes
++  	    break
++  	  fi
++          done
++        esac
++
++        exp_sym_flag='-bexport'
++        no_entry_flag='-bnoentry'
++      fi
++
++      # When large executables or shared objects are built, AIX ld can
++      # have problems creating the table of contents.  If linking a library
++      # or program results in "error TOC overflow" add -mminimal-toc to
++      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
++      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
++
++      archive_cmds_GCJ=''
++      hardcode_direct_GCJ=yes
++      hardcode_libdir_separator_GCJ=':'
++      link_all_deplibs_GCJ=yes
++
++      if test "$GCC" = yes; then
++        case $host_os in aix4.012|aix4.012.*)
++        # We only want to do this on AIX 4.2 and lower, the check
++        # below for broken collect2 doesn't work under 4.3+
++          collect2name=`${CC} -print-prog-name=collect2`
++          if test -f "$collect2name" && \
++  	   strings "$collect2name" | grep resolve_lib_name >/dev/null
++          then
++  	  # We have reworked collect2
++  	  hardcode_direct_GCJ=yes
++          else
++  	  # We have old collect2
++  	  hardcode_direct_GCJ=unsupported
++  	  # It fails to find uninstalled libraries when the uninstalled
++  	  # path is not listed in the libpath.  Setting hardcode_minus_L
++  	  # to unsupported forces relinking
++  	  hardcode_minus_L_GCJ=yes
++  	  hardcode_libdir_flag_spec_GCJ='-L$libdir'
++  	  hardcode_libdir_separator_GCJ=
++          fi
++        esac
++        shared_flag='-shared'
++      else
++        # not using gcc
++        if test "$host_cpu" = ia64; then
++  	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
++  	# chokes on -Wl,-G. The following line is correct:
++          shared_flag='-G'
++        else
++  	if test "$aix_use_runtimelinking" = yes; then
++            shared_flag='${wl}-G'
++          else
++            shared_flag='${wl}-bM:SRE'
++  	fi
++        fi
++      fi
++
++      # It seems that -bexpall does not export symbols beginning with
++      # underscore (_), so it is better to generate a list of symbols to export.
++      always_export_symbols_GCJ=yes
++      if test "$aix_use_runtimelinking" = yes; then
++        # Warning - without using the other runtime loading flags (-brtl),
++        # -berok will link without error, but may produce a broken library.
++        allow_undefined_flag_GCJ='-berok'
++       # Determine the default libpath from the value encoded in an empty executable.
++       cat >conftest.$ac_ext <<_ACEOF
++#line 11132 "configure"
++#include "confdefs.h"
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:11144: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+ 
+-  amigaos*)
+-    archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
+-    hardcode_libdir_flag_spec='-L$libdir'
+-    hardcode_minus_L=yes
+-
+-    # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
+-    # that the semantics of dynamic libraries on AmigaOS, at least up
+-    # to version 4, is to share data among multiple programs linked
+-    # with the same dynamic library.  Since this doesn't match the
+-    # behavior of shared libraries on other platforms, we can use
+-    # them.
+-    ld_shlibs=no
+-    ;;
++aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | ${AWK-awk} '/Import File Strings/ { getline; getline; if ($2 ~ /^\//) print $2 }'`
++# Check for a 64-bit object if we didn't find anything.
++if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | ${AWK-awk} '/Import File Strings/ { getline; getline; if ($2 ~ /^\//) print $2 }'`; fi
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++fi
++rm -f conftest$ac_exeext conftest.$ac_ext
++if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+ 
+-  beos*)
+-    if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
+-      allow_undefined_flag=unsupported
+-      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
+-      # support --undefined.  This deserves some investigation.  FIXME
+-      archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+-    else
+-      ld_shlibs=no
+-    fi
+-    ;;
++       hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
++        archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
++       else
++        if test "$host_cpu" = ia64; then
++          hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
++          allow_undefined_flag_GCJ="-z nodefs"
++          archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
++        else
++         # Determine the default libpath from the value encoded in an empty executable.
++         cat >conftest.$ac_ext <<_ACEOF
++#line 11166 "configure"
++#include "confdefs.h"
+ 
+-  cygwin* | mingw* | pw32*)
+-    # hardcode_libdir_flag_spec is actually meaningless, as there is
+-    # no search path for DLLs.
+-    hardcode_libdir_flag_spec='-L$libdir'
+-    allow_undefined_flag=unsupported
+-    always_export_symbols=yes
+-
+-    extract_expsyms_cmds='test -f $output_objdir/impgen.c || \
+-      sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~
+-      test -f $output_objdir/impgen.exe || (cd $output_objdir && \
+-      if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \
+-      else $CC -o impgen impgen.c ; fi)~
+-      $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def'
+-
+-    old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib'
+-
+-    # cygwin and mingw dlls have different entry points and sets of symbols
+-    # to exclude.
+-    # FIXME: what about values for MSVC?
+-    dll_entry=__cygwin_dll_entry@12
+-    dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~
+-    case $host_os in
+-    mingw*)
+-      # mingw values
+-      dll_entry=_DllMainCRTStartup@12
+-      dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~
+-      ;;
+-    esac
++int
++main ()
++{
+ 
+-    # mingw and cygwin differ, and it's simplest to just exclude the union
+-    # of the two symbol sets.
+-    dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12
+-
+-    # recent cygwin and mingw systems supply a stub DllMain which the user
+-    # can override, but on older systems we have to supply one (in ltdll.c)
+-    if test "x$lt_cv_need_dllmain" = "xyes"; then
+-      ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext "
+-      ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < [$]0 > $output_objdir/$soname-ltdll.c~
+-	test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~'
+-    else
+-      ltdll_obj=
+-      ltdll_cmds=
+-    fi
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:11178: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+ 
+-    # Extract the symbol export list from an `--export-all' def file,
+-    # then regenerate the def file from the symbol export list, so that
+-    # the compiled dll only exports the symbol export list.
+-    # Be careful not to strip the DATA tag left be newer dlltools.
+-    export_symbols_cmds="$ltdll_cmds"'
+-      $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~
+-      sed -e "1,/EXPORTS/d" -e "s/ @ [0-9]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols'
+-
+-    # If the export-symbols file already is a .def file (1st line
+-    # is EXPORTS), use it as is.
+-    # If DATA tags from a recent dlltool are present, honour them!
+-    archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then
+-        cp $export_symbols $output_objdir/$soname-def;
+-      else
+-        echo EXPORTS > $output_objdir/$soname-def;
+-        _lt_hint=1;
+-        cat $export_symbols | while read symbol; do
+-         set dummy \$symbol;
+-         case \$# in
+-           2) echo "   \$2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
+-           *) echo "     \$2 @ \$_lt_hint \$3 ; " >> $output_objdir/$soname-def;;
+-         esac;
+-         _lt_hint=`expr 1 + \$_lt_hint`;
+-        done;
+-      fi~
+-      '"$ltdll_cmds"'
+-      $CC -Wl,--base-file,$output_objdir/$soname-base '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
+-      $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp~
+-      $CC -Wl,--base-file,$output_objdir/$soname-base $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
+-      $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp --output-lib $output_objdir/$libname.dll.a~
+-      $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags'
+-    ;;
++aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | ${AWK-awk} '/Import File Strings/ { getline; getline; if ($2 ~ /^\//) print $2 }'`
++# Check for a 64-bit object if we didn't find anything.
++if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | ${AWK-awk} '/Import File Strings/ { getline; getline; if ($2 ~ /^\//) print $2 }'`; fi
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++fi
++rm -f conftest$ac_exeext conftest.$ac_ext
++if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+ 
+-  netbsd*)
+-    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
+-      archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
+-      wlarc=
+-    else
+-      archive_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+-      archive_expsym_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+-    fi
+-    ;;
++         hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
++          # Warning - without using the other run time loading flags,
++          # -berok will link without error, but may produce a broken library.
++          no_undefined_flag_GCJ=' ${wl}-bernotok'
++          allow_undefined_flag_GCJ=' ${wl}-berok'
++          # -bexpall does not export symbols beginning with underscore (_)
++          always_export_symbols_GCJ=yes
++          # Exported symbols can be pulled into shared objects from archives
++          whole_archive_flag_spec_GCJ=' '
++          archive_cmds_need_lc_GCJ=yes
++          # This is similar to how AIX traditionally builds it's shared libraries.
++          archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
++        fi
++      fi
++      ;;
+ 
+-  solaris* | sysv5*)
+-    if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then
+-      ld_shlibs=no
+-      cat <<EOF 1>&2
++    amigaos*)
++      archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
++      hardcode_libdir_flag_spec_GCJ='-L$libdir'
++      hardcode_minus_L_GCJ=yes
++      # see comment about different semantics on the GNU ld section
++      ld_shlibs_GCJ=no
++      ;;
+ 
+-*** Warning: The releases 2.8.* of the GNU linker cannot reliably
+-*** create shared libraries on Solaris systems.  Therefore, libtool
+-*** is disabling shared libraries support.  We urge you to upgrade GNU
+-*** binutils to release 2.9.1 or newer.  Another option is to modify
+-*** your PATH or compiler configuration so that the native linker is
+-*** used, and then restart.
++    bsdi4*)
++      export_dynamic_flag_spec_GCJ=-rdynamic
++      ;;
+ 
+-EOF
+-    elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
+-      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+-      archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+-    else
+-      ld_shlibs=no
+-    fi
+-    ;;
++    cygwin* | mingw* | pw32*)
++      # When not using gcc, we currently assume that we are using
++      # Microsoft Visual C++.
++      # hardcode_libdir_flag_spec is actually meaningless, as there is
++      # no search path for DLLs.
++      hardcode_libdir_flag_spec_GCJ=' '
++      allow_undefined_flag_GCJ=unsupported
++      # Tell ltmain to make .lib files, not .a files.
++      libext=lib
++      # FIXME: Setting linknames here is a bad hack.
++      archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames='
++      # The linker will automatically build a .lib file if we build a DLL.
++      old_archive_From_new_cmds_GCJ='true'
++      # FIXME: Should let the user specify the lib program.
++      old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
++      fix_srcfile_path='`cygpath -w "$srcfile"`'
++      ;;
+ 
+-  sunos4*)
+-    archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
+-    wlarc=
+-    hardcode_direct=yes
+-    hardcode_shlibpath_var=no
+-    ;;
++    dgux*)
++      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_libdir_flag_spec_GCJ='-L$libdir'
++      hardcode_shlibpath_var_GCJ=no
++      ;;
+ 
+-  *)
+-    if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
+-      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+-      archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+-    else
+-      ld_shlibs=no
+-    fi
+-    ;;
+-  esac
++    freebsd1*)
++      ld_shlibs_GCJ=no
++      ;;
+ 
+-  if test "$ld_shlibs" = yes; then
+-    runpath_var=LD_RUN_PATH
+-    hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
+-    export_dynamic_flag_spec='${wl}--export-dynamic'
+-    case $host_os in
+-    cygwin* | mingw* | pw32*)
+-      # dlltool doesn't understand --whole-archive et. al.
+-      whole_archive_flag_spec=
++    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
++    # support.  Future versions do this automatically, but an explicit c++rt0.o
++    # does not break anything, and helps significantly (at the cost of a little
++    # extra space).
++    freebsd2.2*)
++      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
++      hardcode_libdir_flag_spec_GCJ='-R$libdir'
++      hardcode_direct_GCJ=yes
++      hardcode_shlibpath_var_GCJ=no
+       ;;
+-    *)
+-      # ancient GNU ld didn't support --whole-archive et. al.
+-      if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then
+-	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
+-      else
+-	whole_archive_flag_spec=
+-      fi
++
++    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
++    freebsd2*)
++      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_direct_GCJ=yes
++      hardcode_minus_L_GCJ=yes
++      hardcode_shlibpath_var_GCJ=no
+       ;;
+-    esac
+-  fi
+-else
+-  # PORTME fill in a description of your system's linker (not GNU ld)
+-  case $host_os in
+-  aix3*)
+-    allow_undefined_flag=unsupported
+-    always_export_symbols=yes
+-    archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
+-    # Note: this linker hardcodes the directories in LIBPATH if there
+-    # are no directories specified by -L.
+-    hardcode_minus_L=yes
+-    if test "$GCC" = yes && test -z "$link_static_flag"; then
+-      # Neither direct hardcoding nor static linking is supported with a
+-      # broken collect2.
+-      hardcode_direct=unsupported
+-    fi
+-    ;;
+ 
+-  aix4* | aix5*)
+-    # When large executables or shared objects are built, AIX ld can
+-    # have problems creating the table of contents.  If linking a library
+-    # or program results in "error TOC overflow" add -mminimal-toc to
+-    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
+-    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
++    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
++    freebsd*)
++      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
++      hardcode_libdir_flag_spec_GCJ='-R$libdir'
++      hardcode_direct_GCJ=yes
++      hardcode_shlibpath_var_GCJ=no
++      ;;
+ 
+-    archive_cmds=''
+-    hardcode_libdir_separator=':'
+-    if test "$GCC" = yes; then
+-      collect2name=`${CC} -print-prog-name=collect2`
+-      if test -f "$collect2name" && \
+-	 strings "$collect2name" | grep resolve_lib_name >/dev/null
+-      then
+-	# We have reworked collect2
+-	hardcode_direct=yes
++    hpux9* | hpux10* | hpux11*)
++      if test $GXX = yes; then
++        case $host_os in
++        hpux9*) archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ;;
++        *) archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ;;
++        esac
+       else
+-        # We have old collect2
+-        hardcode_direct=unsupported
+-        # It fails to find uninstalled libraries when the uninstalled
+-        # path is not listed in the libpath.  Setting hardcode_minus_L
+-        # to unsupported forces relinking
+-        hardcode_minus_L=yes
+-        hardcode_libdir_flag_spec='-L$libdir'
+-        hardcode_libdir_separator=
++        case $host_os in
++        hpux9*) archive_cmds_GCJ='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ;;
++        *) archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;;
++        esac
+       fi
+-      shared_flag='-shared'
+-    else
+-      if test "$host_cpu" = ia64; then
+-        shared_flag='-G'
++      hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
++      hardcode_libdir_separator_GCJ=:
++      hardcode_direct_GCJ=yes
++      hardcode_minus_L_GCJ=yes # Not in the search PATH, but as the default
++  			 # location of the library.
++      export_dynamic_flag_spec_GCJ='${wl}-E'
++      ;;
++
++    irix5* | irix6*)
++      if test "$GCC" = yes; then
++        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+       else
+-        shared_flag='${wl}-bM:SRE'
++        archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
+       fi
+-      hardcode_direct=yes
+-    fi
++      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
++      hardcode_libdir_separator_GCJ=:
++      link_all_deplibs_GCJ=yes
++      ;;
+ 
+-    if test "$host_cpu" = ia64; then
+-      # On IA64, the linker does run time linking by default, so we don't
+-      # have to do anything special.
+-      aix_use_runtimelinking=no
+-      exp_sym_flag='-Bexport'
+-      no_entry_flag=""
+-    else
+-      # Test if we are trying to use run time linking, or normal AIX style linking.
+-      # If -brtl is somewhere in LDFLAGS, we need to do run time linking.
+-      aix_use_runtimelinking=no
+-      for ld_flag in $LDFLAGS; do
+-        if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl" ); then
+-          aix_use_runtimelinking=yes
+-          break
+-        fi
+-      done
+-      exp_sym_flag='-bexport'
+-      no_entry_flag='-bnoentry'
+-    fi
+-    # It seems that -bexpall can do strange things, so it is better to
+-    # generate a list of symbols to export.
+-    always_export_symbols=yes
+-    if test "$aix_use_runtimelinking" = yes; then
+-      hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib'
+-      allow_undefined_flag=' -Wl,-G'
+-      archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
+-    else
+-      if test "$host_cpu" = ia64; then
+-        hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
+-       allow_undefined_flag="-znodefs"
+-        archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
++    netbsd*)
++      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++        archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
+       else
+-        hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib'
+-        # Warning - without using the other run time loading flags, -berok will
+-        #           link without error, but may produce a broken library.
+-        allow_undefined_flag='${wl}-berok"
+-        # This is a bit strange, but is similar to how AIX traditionally builds
+-        # it's shared libraries.
+-        archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $objdir/$libname$release.a $objdir/$soname'
++        archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
+       fi
+-    fi
+-    ;;
+-
+-  amigaos*)
+-    archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
+-    hardcode_libdir_flag_spec='-L$libdir'
+-    hardcode_minus_L=yes
+-    # see comment about different semantics on the GNU ld section
+-    ld_shlibs=no
+-    ;;
++      hardcode_libdir_flag_spec_GCJ='-R$libdir'
++      hardcode_direct_GCJ=yes
++      hardcode_shlibpath_var_GCJ=no
++      ;;
+ 
+-  cygwin* | mingw* | pw32*)
+-    # When not using gcc, we currently assume that we are using
+-    # Microsoft Visual C++.
+-    # hardcode_libdir_flag_spec is actually meaningless, as there is
+-    # no search path for DLLs.
+-    hardcode_libdir_flag_spec=' '
+-    allow_undefined_flag=unsupported
+-    # Tell ltmain to make .lib files, not .a files.
+-    libext=lib
+-    # FIXME: Setting linknames here is a bad hack.
+-    archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames='
+-    # The linker will automatically build a .lib file if we build a DLL.
+-    old_archive_from_new_cmds='true'
+-    # FIXME: Should let the user specify the lib program.
+-    old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
+-    fix_srcfile_path='`cygpath -w "$srcfile"`'
+-    ;;
+-
+-  darwin* | rhapsody*)
+-    allow_undefined_flag='-undefined suppress'
+-    # FIXME: Relying on posixy $() will cause problems for
+-    #        cross-compilation, but unfortunately the echo tests do not
+-    #        yet detect zsh echo's removal of \ escapes.
+-    archive_cmds='$CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linkopts -install_name $rpath/$soname $(test -n "$verstring" -a x$verstring != x0.0 && echo $verstring)'
+-    # We need to add '_' to the symbols in $export_symbols first
+-    #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
+-    hardcode_direct=yes
+-    hardcode_shlibpath_var=no
+-    whole_archive_flag_spec='-all_load $convenience'
+-    ;;
+-
+-  freebsd1*)
+-    ld_shlibs=no
+-    ;;
+-
+-  # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
+-  # support.  Future versions do this automatically, but an explicit c++rt0.o
+-  # does not break anything, and helps significantly (at the cost of a little
+-  # extra space).
+-  freebsd2.2*)
+-    archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
+-    hardcode_libdir_flag_spec='-R$libdir'
+-    hardcode_direct=yes
+-    hardcode_shlibpath_var=no
+-    ;;
++    newsos6)
++      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linkopts'
++      hardcode_direct_GCJ=yes
++      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
++      hardcode_libdir_separator_GCJ=:
++      hardcode_shlibpath_var_GCJ=no
++      ;;
+ 
+-  # Unfortunately, older versions of FreeBSD 2 do not have this feature.
+-  freebsd2*)
+-    archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
+-    hardcode_direct=yes
+-    hardcode_minus_L=yes
+-    hardcode_shlibpath_var=no
+-    ;;
++    openbsd*)
++      hardcode_direct_GCJ=yes
++      hardcode_shlibpath_var_GCJ=no
++
++      case "$host_os" in
++        openbsd01.* | openbsd2.0-7 | openbsd2.0-7.*)
++          archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++          hardcode_libdir_flag_spec_GCJ='-R$libdir'
++        ;;
++        *)
++          archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
++          hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
++          if  "`echo __ELF__ | $CC -E - | grep __ELF__`" = "" -o "$host_os-$host_cpu" = "openbsd2.8-powerpc" ; then
++           export_dynamic_flag_spec_GCJ='${wl}-E'
++          fi
++        ;;
++      esac
++      ;;
+ 
+-  # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
+-  freebsd*)
+-    archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
+-    hardcode_libdir_flag_spec='-R$libdir'
+-    hardcode_direct=yes
+-    hardcode_shlibpath_var=no
+-    ;;
++    os2*)
++      hardcode_libdir_flag_spec_GCJ='-L$libdir'
++      hardcode_minus_L_GCJ=yes
++      allow_undefined_flag_GCJ=unsupported
++      archive_cmds_GCJ='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
++      old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
++      ;;
+ 
+-  hpux9* | hpux10* | hpux11*)
+-    case $host_os in
+-    hpux9*) archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ;;
+-    *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;;
+-    esac
+-    hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
+-    hardcode_libdir_separator=:
+-    hardcode_direct=yes
+-    hardcode_minus_L=yes # Not in the search PATH, but as the default
+-			 # location of the library.
+-    export_dynamic_flag_spec='${wl}-E'
+-    ;;
++    osf3*)
++      if test "$GCC" = yes; then
++        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
++        archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++      else
++        allow_undefined_flag_GCJ=' -expect_unresolved \*'
++        archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
++      fi
++      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
++      hardcode_libdir_separator_GCJ=:
++      ;;
+ 
+-  irix5* | irix6*)
+-    if test "$GCC" = yes; then
+-      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+-    else
+-      archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
+-    fi
+-    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
+-    hardcode_libdir_separator=:
+-    link_all_deplibs=yes
+-    ;;
++    osf4* | osf5*)	# as osf3* with the addition of -msym flag
++      if test "$GCC" = yes; then
++        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
++        archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++        hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
++      else
++        allow_undefined_flag_GCJ=' -expect_unresolved \*'
++        archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
++        archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
++        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
+ 
+-  netbsd*)
+-    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
+-      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
+-    else
+-      archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
+-    fi
+-    hardcode_libdir_flag_spec='-R$libdir'
+-    hardcode_direct=yes
+-    hardcode_shlibpath_var=no
+-    ;;
++        # Both c and cxx compiler support -rpath directly
++        hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
++      fi
++      hardcode_libdir_separator_GCJ=:
++      ;;
+ 
+-  newsos6)
+-    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linkopts'
+-    hardcode_direct=yes
+-    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
+-    hardcode_libdir_separator=:
+-    hardcode_shlibpath_var=no
+-    ;;
++    sco3.2v5*)
++      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_shlibpath_var_GCJ=no
++      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
++      runpath_var=LD_RUN_PATH
++      hardcode_runpath_var=yes
++      ;;
+ 
+-  openbsd*)
+-    archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
+-    hardcode_libdir_flag_spec='-R$libdir'
+-    hardcode_direct=yes
+-    hardcode_shlibpath_var=no
+-    ;;
++    solaris*)
++      no_undefined_flag_GCJ=' -z defs'
++      if test "$GXX" = yes; then
++        archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
++      else
++        archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
++        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++  	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
++      fi
++      hardcode_libdir_flag_spec_GCJ='-R$libdir'
++      hardcode_shlibpath_var_GCJ=no
++      case $host_os in
++      solaris2.[0-5] | solaris2.[0-5].*) ;;
++      *) # Supported since Solaris 2.6 (maybe 2.5.1?)
++        whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
++      esac
++      link_all_deplibs_GCJ=yes
++      ;;
+ 
+-  os2*)
+-    hardcode_libdir_flag_spec='-L$libdir'
+-    hardcode_minus_L=yes
+-    allow_undefined_flag=unsupported
+-    archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
+-    old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
+-    ;;
++    sunos4*)
++      if test "x$host_vendor" = xsequent; then
++        # Use $CC to link under sequent, because it throws in some extra .o
++        # files that make .init and .fini sections work.
++        archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
++      else
++        archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
++      fi
++      hardcode_libdir_flag_spec_GCJ='-L$libdir'
++      hardcode_direct_GCJ=yes
++      hardcode_minus_L_GCJ=yes
++      hardcode_shlibpath_var_GCJ=no
++      ;;
+ 
+-  osf3*)
+-    if test "$GCC" = yes; then
+-      allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
+-      archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+-    else
+-      allow_undefined_flag=' -expect_unresolved \*'
+-      archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
+-    fi
+-    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
+-    hardcode_libdir_separator=:
+-    ;;
++    sysv4)
++      if test "x$host_vendor" = xsni; then
++        archive_cmds_GCJ='$LD -G -Bsymbolic -h $soname -o $lib $libobjs $deplibs $linkopts'
++        hardcode_direct_GCJ=yes # is this really true???
++      else
++        archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++        hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
++      fi
++      runpath_var='LD_RUN_PATH'
++      hardcode_shlibpath_var_GCJ=no
++      ;;
+ 
+-  osf4* | osf5*)	# as osf3* with the addition of -msym flag
+-    if test "$GCC" = yes; then
+-      allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
+-      archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+-      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
+-    else
+-      allow_undefined_flag=' -expect_unresolved \*'
+-      archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
+-      archive_expsym_cmds='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
+-      $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
++    sysv4.3*)
++      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_shlibpath_var_GCJ=no
++      export_dynamic_flag_spec_GCJ='-Bexport'
++      ;;
+ 
+-      #Both c and cxx compiler support -rpath directly
+-      hardcode_libdir_flag_spec='-rpath $libdir'
+-    fi
+-    hardcode_libdir_separator=:
+-    ;;
++    sysv4*MP*)
++      if test -d /usr/nec; then
++        archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++        hardcode_shlibpath_var_GCJ=no
++        runpath_var=LD_RUN_PATH
++        hardcode_runpath_var=yes
++        ld_shlibs_GCJ=yes
++      fi
++      ;;
+ 
+-  sco3.2v5*)
+-    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+-    hardcode_shlibpath_var=no
+-    runpath_var=LD_RUN_PATH
+-    hardcode_runpath_var=yes
+-    ;;
++    sysv4.2uw2*)
++      archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_direct_GCJ=yes
++      hardcode_minus_L_GCJ=no
++      hardcode_shlibpath_var_GCJ=no
++      hardcode_runpath_var=yes
++      runpath_var=LD_RUN_PATH
++      ;;
+ 
+-  solaris*)
+-    no_undefined_flag=' -z defs'
+-    # $CC -shared without GNU ld will not create a library from C++
+-    # object files and a static libstdc++, better avoid it by now
+-    archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
+-    archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
+-		$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
+-    hardcode_libdir_flag_spec='-R$libdir'
+-    hardcode_shlibpath_var=no
+-    case $host_os in
+-    solaris2.[0-5] | solaris2.[0-5].*) ;;
+-    *) # Supported since Solaris 2.6 (maybe 2.5.1?)
+-      whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
+-    esac
+-    link_all_deplibs=yes
+-    ;;
++    sysv5uw7* | unixware7*)
++      no_undefined_flag_GCJ='${wl}-z ${wl}text'
++      if test "$GCC" = yes; then
++        archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++      else
++        archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++      fi
++      runpath_var='LD_RUN_PATH'
++      hardcode_shlibpath_var_GCJ=no
++      ;;
+ 
+-  sunos4*)
+-    if test "x$host_vendor" = xsequent; then
+-      # Use $CC to link under sequent, because it throws in some extra .o
+-      # files that make .init and .fini sections work.
+-      archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
+-    else
+-      archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
+-    fi
+-    hardcode_libdir_flag_spec='-L$libdir'
+-    hardcode_direct=yes
+-    hardcode_minus_L=yes
+-    hardcode_shlibpath_var=no
+-    ;;
++    sysv5*)
++      no_undefined_flag_GCJ=' -z text'
++      # $CC -shared without GNU ld will not create a library from C++
++      # object files and a static libstdc++, better avoid it by now
++      archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++  		$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
++      hardcode_libdir_flag_spec_GCJ=
++      hardcode_shlibpath_var_GCJ=no
++      runpath_var='LD_RUN_PATH'
++      ;;
+ 
+-  sysv4)
+-    if test "x$host_vendor" = xsno; then
+-      archive_cmds='$LD -G -Bsymbolic -h $soname -o $lib $libobjs $deplibs $linkopts'
+-      hardcode_direct=yes # is this really true???
+-    else
+-      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+-      hardcode_direct=no #Motorola manual says yes, but my tests say they lie
+-    fi
+-    runpath_var='LD_RUN_PATH'
+-    hardcode_shlibpath_var=no
+-    ;;
++    uts4*)
++      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_libdir_flag_spec_GCJ='-L$libdir'
++      hardcode_shlibpath_var_GCJ=no
++      ;;
+ 
+-  sysv4.3*)
+-    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+-    hardcode_shlibpath_var=no
+-    export_dynamic_flag_spec='-Bexport'
+-    ;;
+-
+-  sysv5*)
+-    no_undefined_flag=' -z text'
+-    # $CC -shared without GNU ld will not create a library from C++
+-    # object files and a static libstdc++, better avoid it by now
+-    archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
+-    archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
+-		$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
+-    hardcode_libdir_flag_spec=
+-    hardcode_shlibpath_var=no
+-    runpath_var='LD_RUN_PATH'
+-    ;;
+-
+-  uts4*)
+-    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+-    hardcode_libdir_flag_spec='-L$libdir'
+-    hardcode_shlibpath_var=no
+-    ;;
++    *)
++      ld_shlibs_GCJ=no
++      ;;
++    esac
++  fi
+ 
+-  dgux*)
+-    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+-    hardcode_libdir_flag_spec='-L$libdir'
+-    hardcode_shlibpath_var=no
+-    ;;
++echo "configure:11494: result: $ld_shlibs_GCJ" >&5
++echo "${ECHO_T}$ld_shlibs_GCJ" >&6
++test "$ld_shlibs_GCJ" = no && can_build_shared=no
+ 
+-  sysv4*MP*)
+-    if test -d /usr/nec; then
+-      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+-      hardcode_shlibpath_var=no
+-      runpath_var=LD_RUN_PATH
+-      hardcode_runpath_var=yes
+-      ld_shlibs=yes
+-    fi
+-    ;;
++variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
++if test "$GCC" = yes; then
++  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
++fi
+ 
+-  sysv4.2uw2*)
+-    archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
+-    hardcode_direct=yes
+-    hardcode_minus_L=no
+-    hardcode_shlibpath_var=no
+-    hardcode_runpath_var=yes
+-    runpath_var=LD_RUN_PATH
++#
++# Do we need to explicitly link libc?
++#
++archive_cmds_need_lc_GCJ=yes
++if test "$enable_shared" = yes && test "$GCC" = yes; then
++  case $archive_cmds_GCJ in
++  *'~'*)
++    # FIXME: we may have to deal with multi-command sequences.
+     ;;
++  '$CC '*)
++    # Test whether the compiler implicitly links with -lc since on some
++    # systems, -lgcc has to come before -lc. If gcc already passes -lc
++    # to ld, don't add -lc before -lgcc.
++    echo "configure:11516: checking whether -lc should be explicitly linked in" >&5
++echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
++    $rm conftest*
++    echo 'static int dummy;' > conftest.$ac_ext
+ 
+-  sysv5uw7* | unixware7*)
+-    no_undefined_flag='${wl}-z ${wl}text'
+-    if test "$GCC" = yes; then
+-      archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++    if { (eval echo configure:11521: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } 2>conftest.err; then
++      soname=conftest
++      lib=conftest
++      libobjs=conftest.$ac_objext
++      deplibs=
++      wl=$lt_prog_compiler_wl_GCJ
++      compiler_flags=-v
++      linker_flags=-v
++      verstring=
++      output_objdir=.
++      libname=conftest
++      lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
++      allow_undefined_flag_GCJ=
++      if { (eval echo configure:11534: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\") >&5; (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5; }
++      then
++	archive_cmds_need_lc_GCJ=no
++      else
++	archive_cmds_need_lc_GCJ=yes
++      fi
++      allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
+     else
+-      archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
+-    fi
+-    runpath_var='LD_RUN_PATH'
+-    hardcode_shlibpath_var=no
+-    ;;
+-
+-  *)
+-    ld_shlibs=no
++      cat conftest.err 1>&5
++    fi
++    $rm conftest*
++    echo "configure:11545: result: $archive_cmds_need_lc_GCJ" >&5
++echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
+     ;;
+   esac
+ fi
+-echo "$as_me:5426: result: $ld_shlibs" >&5
+-echo "${ECHO_T}$ld_shlibs" >&6
+-test "$ld_shlibs" = no && can_build_shared=no
+ 
+-# Check hardcoding attributes.
+-echo "$as_me:5431: checking how to hardcode library paths into programs" >&5
++echo "configure:11551: checking how to hardcode library paths into programs" >&5
+ echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
+-hardcode_action=
+-if test -n "$hardcode_libdir_flag_spec" || \
+-   test -n "$runpath_var"; then
++hardcode_action_GCJ=
++if test -n "$hardcode_libdir_flag_spec_GCJ" || \
++   test -n "$runpath_var GCJ"; then
+ 
+   # We can hardcode non-existant directories.
+-  if test "$hardcode_direct" != no &&
++  if test "$hardcode_direct_GCJ" != no &&
+      # If the only mechanism to avoid hardcoding is shlibpath_var, we
+      # have to relink, otherwise we might link with an installed library
+      # when we should be linking with a yet-to-be-installed one
+-     ## test "$hardcode_shlibpath_var" != no &&
+-     test "$hardcode_minus_L" != no; then
++     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
++     test "$hardcode_minus_L_GCJ" != no; then
+     # Linking always hardcodes the temporary library directory.
+-    hardcode_action=relink
++    hardcode_action_GCJ=relink
+   else
+     # We can link without hardcoding, and we can hardcode nonexisting dirs.
+-    hardcode_action=immediate
++    hardcode_action_GCJ=immediate
+   fi
+ else
+   # We cannot hardcode anything, or else we can only hardcode existing
+   # directories.
+-  hardcode_action=unsupported
++  hardcode_action_GCJ=unsupported
++fi
++echo "configure:11575: result: $hardcode_action_GCJ" >&5
++echo "${ECHO_T}$hardcode_action_GCJ" >&6
++
++if test "$hardcode_action_GCJ" = relink; then
++  # Fast installation is not supported
++  enable_fast_install=no
++elif test "$shlibpath_overrides_runpath" = yes ||
++     test "$enable_shared" = no; then
++  # Fast installation is not necessary
++  enable_fast_install=needless
+ fi
+-echo "$as_me:5455: result: $hardcode_action" >&5
+-echo "${ECHO_T}$hardcode_action" >&6
+ 
+ striplib=
+ old_striplib=
+-echo "$as_me:5460: checking whether stripping libraries is possible" >&5
++echo "configure:11589: checking whether stripping libraries is possible" >&5
+ echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
+ if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
+   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
+   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
+-  echo "$as_me:5465: result: yes" >&5
++  echo "configure:11594: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ else
+-  echo "$as_me:5468: result: no" >&5
++  echo "configure:11597: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+-reload_cmds='$LD$reload_flag -o $output$reload_objs'
+-test -z "$deplibs_check_method" && deplibs_check_method=unknown
+-
+-# PORTME Fill in your ld.so characteristics
+-echo "$as_me:5476: checking dynamic linker characteristics" >&5
++echo "configure:11601: checking dynamic linker characteristics" >&5
+ echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
+ library_names_spec=
+ libname_spec='lib$name'
+@@ -5488,6 +11613,12 @@
+ dynamic_linker="$host_os ld.so"
+ sys_lib_dlsearch_path_spec="/lib /usr/lib"
+ sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
++need_lib_prefix=unknown
++hardcode_into_libs=no
++
++# when you set need_version to no, make sure it does not cause -set_version
++# flags to be left without arguments
++need_version=unknown
+ 
+ case $host_os in
+ aix3*)
+@@ -5495,7 +11626,7 @@
+   library_names_spec='${libname}${release}.so$versuffix $libname.a'
+   shlibpath_var=LIBPATH
+ 
+-  # AIX has no versioning support, so we append a major version to the name.
++  # AIX 3 has no versioning support, so we append a major version to the name.
+   soname_spec='${libname}${release}.so$major'
+   ;;
+ 
+@@ -5526,8 +11657,9 @@
+     # soname into executable. Probably we can add versioning support to
+     # collect2, so additional links can be useful in future.
+     if test "$aix_use_runtimelinking" = yes; then
+-      # If using run time linking (on AIX 4.2 or later) use lib<name>.so instead of
+-      # lib<name>.a to let people know that these are not typical AIX shared libraries.
++      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
++      # instead of lib<name>.a to let people know that these are not
++      # typical AIX shared libraries.
+       library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
+     else
+       # We preserve .a as extension for shared libraries through AIX4.2
+@@ -5561,7 +11693,6 @@
+   shlibpath_var=LD_LIBRARY_PATH
+   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
+   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
+-  export_dynamic_flag_spec=-rdynamic
+   # the default ld.so.conf also contains /usr/contrib/lib and
+   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
+   # libtool to hard-code these into programs
+@@ -5574,6 +11705,7 @@
+   case $GCC,$host_os in
+   yes,cygwin*)
+     library_names_spec='$libname.dll.a'
++    sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
+     soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
+     postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~
+       dldir=$destdir/`dirname \$dlpath`~
+@@ -5613,6 +11745,15 @@
+   shlibpath_var=DYLD_LIBRARY_PATH
+   ;;
+ 
++dgux*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  soname_spec='${libname}${release}.so$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
+ freebsd1*)
+   dynamic_linker=no
+   ;;
+@@ -5636,7 +11777,11 @@
+   freebsd2*)
+     shlibpath_overrides_runpath=yes
+     ;;
+-  *)
++  freebsd3.01* | freebsdelf3.01*)
++    shlibpath_overrides_runpath=yes
++    hardcode_into_libs=yes
++    ;;
++  *) # from 3.2 on
+     shlibpath_overrides_runpath=no
+     hardcode_into_libs=yes
+     ;;
+@@ -5694,12 +11839,12 @@
+   ;;
+ 
+ # No shared lib support for Linux oldld, aout, or coff.
+-linux-gnuoldld* | linux-gnuaout* | linux-gnucoff*)
++linux*oldld* | linux*aout* | linux*coff*)
+   dynamic_linker=no
+   ;;
+ 
+ # This must be Linux ELF.
+-linux-gnu*)
++linux*)
+   version_type=linux
+   need_lib_prefix=no
+   need_version=no
+@@ -5747,15 +11892,28 @@
+   shlibpath_overrides_runpath=yes
+   ;;
+ 
++nto-qnx)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  soname_spec='${libname}${release}.so$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  ;;
++
+ openbsd*)
+   version_type=sunos
+-  if test "$with_gnu_ld" = yes; then
+-    need_lib_prefix=no
+-    need_version=no
+-  fi
+   library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
+   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
+   shlibpath_var=LD_LIBRARY_PATH
++  file_magic_cmd=/usr/bin/file
++  file_magic_test_file=`echo /usr/lib/libc.so.*`
++  if  "`echo __ELF__ | $CC -E - | grep __ELF__`" = "" -o "$host_os-$host_cpu" = "openbsd2.8-powerpc" ; then
++    deplibs_check_method='file_magic ELF 0-90-9*-bit LMSB shared object'
++  else
++    deplibs_check_method='file_magic OpenBSD.* shared library'
++  fi
+   ;;
+ 
+ os2*)
+@@ -5826,22 +11984,6 @@
+   esac
+   ;;
+ 
+-uts4*)
+-  version_type=linux
+-  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
+-  soname_spec='${libname}${release}.so$major'
+-  shlibpath_var=LD_LIBRARY_PATH
+-  ;;
+-
+-dgux*)
+-  version_type=linux
+-  need_lib_prefix=no
+-  need_version=no
+-  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
+-  soname_spec='${libname}${release}.so$major'
+-  shlibpath_var=LD_LIBRARY_PATH
+-  ;;
+-
+ sysv4*MP*)
+   if test -d /usr/nec ;then
+     version_type=linux
+@@ -5851,34 +11993,21 @@
+   fi
+   ;;
+ 
++uts4*)
++  version_type=linux
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  soname_spec='${libname}${release}.so$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
+ *)
+   dynamic_linker=no
+   ;;
+ esac
+-echo "$as_me:5858: result: $dynamic_linker" >&5
++echo "configure:12007: result: $dynamic_linker" >&5
+ echo "${ECHO_T}$dynamic_linker" >&6
+ test "$dynamic_linker" = no && can_build_shared=no
+ 
+-# Report the final consequences.
+-echo "$as_me:5863: checking if libtool supports shared libraries" >&5
+-echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
+-echo "$as_me:5865: result: $can_build_shared" >&5
+-echo "${ECHO_T}$can_build_shared" >&6
+-
+-if test "$hardcode_action" = relink; then
+-  # Fast installation is not supported
+-  enable_fast_install=no
+-elif test "$shlibpath_overrides_runpath" = yes ||
+-     test "$enable_shared" = no; then
+-  # Fast installation is not necessary
+-  enable_fast_install=needless
+-fi
+-
+-variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
+-if test "$GCC" = yes; then
+-  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
+-fi
+-
+ if test "x$enable_dlopen" != xyes; then
+   enable_dlopen=unknown
+   enable_dlopen_self=unknown
+@@ -5900,15 +12029,67 @@
+    ;;
+ 
+   *)
+-    echo "$as_me:5903: checking for dlopen in -ldl" >&5
+-echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
+-if test "${ac_cv_lib_dl_dlopen+set}" = set; then
++    echo "configure:12032: checking for shl_load" >&5
++echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
++if test "${ac_cv_func_shl_load+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line 12038 "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char shl_load (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char shl_load ();
++char (*f) ();
++
++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_shl_load) || defined (__stub___shl_load)
++choke me
++#else
++f = shl_load;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:12069: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  ac_cv_func_shl_load=yes
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_shl_load=no
++fi
++rm -f conftest$ac_exeext conftest.$ac_ext
++fi
++echo "configure:12078: result: $ac_cv_func_shl_load" >&5
++echo "${ECHO_T}$ac_cv_func_shl_load" >&6
++if test $ac_cv_func_shl_load = yes; then
++  lt_cv_dlopen="shl_load"
++else
++
++echo "configure:12084: checking for shl_load in -ldld" >&5
++echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
++if test "${ac_cv_lib_dld_shl_load+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   ac_check_lib_save_LIBS=$LIBS
+-LIBS="-ldl  $LIBS"
++LIBS="-ldld  $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 5911 "configure"
++#line 12092 "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -5917,52 +12098,43 @@
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+-char dlopen ();
++char shl_load ();
+ int
+ main ()
+ {
+-dlopen ();
++shl_load ();
+   ;
+   return 0;
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:5930: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:5933: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:5936: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:5939: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
+-  ac_cv_lib_dl_dlopen=yes
++if { (eval echo configure:12111: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  ac_cv_lib_dld_shl_load=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_lib_dl_dlopen=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_lib_dld_shl_load=no
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "$as_me:5950: result: $ac_cv_lib_dl_dlopen" >&5
+-echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
+-if test $ac_cv_lib_dl_dlopen = yes; then
+-  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
++echo "configure:12121: result: $ac_cv_lib_dld_shl_load" >&5
++echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
++if test $ac_cv_lib_dld_shl_load = yes; then
++  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
+ else
+-  echo "$as_me:5955: checking for dlopen" >&5
+-echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
+-if test "${ac_cv_func_dlopen+set}" = set; then
++
++echo "configure:12127: checking for dlopen in -ldl" >&5
++echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
++if test "${ac_cv_lib_dl_dlopen+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<_ACEOF
+-#line 5961 "configure"
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ldl  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line 12135 "configure"
+ #include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char dlopen (); below.  */
+-#include <assert.h>
++
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
+@@ -5970,59 +12142,40 @@
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+ char dlopen ();
+-char (*f) ();
+-
+ 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_dlopen) || defined (__stub___dlopen)
+-choke me
+-#else
+-f = dlopen;
+-#endif
+-
++dlopen ();
+   ;
+   return 0;
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:5992: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:5995: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:5998: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:6001: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
+-  ac_cv_func_dlopen=yes
++if { (eval echo configure:12154: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  ac_cv_lib_dl_dlopen=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_dlopen=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_lib_dl_dlopen=no
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "$as_me:6011: result: $ac_cv_func_dlopen" >&5
+-echo "${ECHO_T}$ac_cv_func_dlopen" >&6
+-if test $ac_cv_func_dlopen = yes; then
+-  lt_cv_dlopen="dlopen"
++echo "configure:12164: result: $ac_cv_lib_dl_dlopen" >&5
++echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
++if test $ac_cv_lib_dl_dlopen = yes; then
++  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
+ else
+-  echo "$as_me:6016: checking for shl_load" >&5
+-echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
+-if test "${ac_cv_func_shl_load+set}" = set; then
++  echo "configure:12169: checking for dlopen" >&5
++echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
++if test "${ac_cv_func_dlopen+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 6022 "configure"
++#line 12175 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char shl_load (); below.  */
++    which can conflict with char dlopen (); below.  */
+ #include <assert.h>
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+@@ -6030,7 +12183,7 @@
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+-char shl_load ();
++char dlopen ();
+ char (*f) ();
+ 
+ int
+@@ -6039,10 +12192,10 @@
+ /* 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_shl_load) || defined (__stub___shl_load)
++#if defined (__stub_dlopen) || defined (__stub___dlopen)
+ choke me
+ #else
+-f = shl_load;
++f = dlopen;
+ #endif
+ 
+   ;
+@@ -6050,31 +12203,22 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:6053: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:6056: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:6059: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:6062: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
+-  ac_cv_func_shl_load=yes
++if { (eval echo configure:12206: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  ac_cv_func_dlopen=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_shl_load=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_dlopen=no
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:6072: result: $ac_cv_func_shl_load" >&5
+-echo "${ECHO_T}$ac_cv_func_shl_load" >&6
+-if test $ac_cv_func_shl_load = yes; then
+-  lt_cv_dlopen="shl_load"
++echo "configure:12215: result: $ac_cv_func_dlopen" >&5
++echo "${ECHO_T}$ac_cv_func_dlopen" >&6
++if test $ac_cv_func_dlopen = yes; then
++  lt_cv_dlopen="dlopen"
+ else
+-  echo "$as_me:6077: checking for dlopen in -lsvld" >&5
++
++echo "configure:12221: checking for dlopen in -lsvld" >&5
+ echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
+ if test "${ac_cv_lib_svld_dlopen+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -6082,7 +12226,7 @@
+   ac_check_lib_save_LIBS=$LIBS
+ LIBS="-lsvld  $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 6085 "configure"
++#line 12229 "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -6101,84 +12245,23 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:6104: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:6107: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:6110: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:6113: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:12248: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_lib_svld_dlopen=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_lib_svld_dlopen=no
+-fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+-LIBS=$ac_check_lib_save_LIBS
+-fi
+-echo "$as_me:6124: result: $ac_cv_lib_svld_dlopen" >&5
+-echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
+-if test $ac_cv_lib_svld_dlopen = yes; then
+-  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
+-else
+-  echo "$as_me:6129: checking for shl_load in -ldld" >&5
+-echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
+-if test "${ac_cv_lib_dld_shl_load+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  ac_check_lib_save_LIBS=$LIBS
+-LIBS="-ldld  $LIBS"
+-cat >conftest.$ac_ext <<_ACEOF
+-#line 6137 "configure"
+-#include "confdefs.h"
+-
+-/* Override any gcc2 internal prototype to avoid an error.  */
+-#ifdef __cplusplus
+-extern "C"
+-#endif
+-/* We use char because int might match the return type of a gcc2
+-   builtin and then its argument prototype would still apply.  */
+-char shl_load ();
+-int
+-main ()
+-{
+-shl_load ();
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:6156: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:6159: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:6162: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:6165: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
+-  ac_cv_lib_dld_shl_load=yes
+-else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_lib_dld_shl_load=no
+-fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+-LIBS=$ac_check_lib_save_LIBS
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_lib_svld_dlopen=no
+ fi
+-echo "$as_me:6176: result: $ac_cv_lib_dld_shl_load" >&5
+-echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
+-if test $ac_cv_lib_dld_shl_load = yes; then
+-  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
++rm -f conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "configure:12258: result: $ac_cv_lib_svld_dlopen" >&5
++echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
++if test $ac_cv_lib_svld_dlopen = yes; then
++  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
+ fi
+ 
++	
+ fi
+ 
+ fi
+@@ -6199,7 +12282,7 @@
+   case $lt_cv_dlopen in
+   dlopen)
+     save_CPPFLAGS="$CPPFLAGS"
+-        test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
++    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
+ 
+     save_LDFLAGS="$LDFLAGS"
+     eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
+@@ -6207,7 +12290,7 @@
+     save_LIBS="$LIBS"
+     LIBS="$lt_cv_dlopen_libs $LIBS"
+ 
+-    echo "$as_me:6210: checking whether a program can dlopen itself" >&5
++    echo "configure:12293: checking whether a program can dlopen itself" >&5
+ echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
+ if test "${lt_cv_dlopen_self+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -6215,10 +12298,10 @@
+   	  if test "$cross_compiling" = yes; then :
+   lt_cv_dlopen_self=cross
+ else
+-    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
++  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
+   lt_status=$lt_dlunknown
+   cat > conftest.$ac_ext <<EOF
+-#line 6221 "configure"
++#line 12304 "configure"
+ #include "confdefs.h"
+ 
+ #if HAVE_DLFCN_H
+@@ -6279,11 +12362,7 @@
+     exit (status);
+ }
+ EOF
+-  if { (eval echo "$as_me:6282: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:6285: \$? = $ac_status" >&5
+-  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
++  if { (eval echo configure:12365: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>/dev/null; then
+     (./conftest; exit; ) 2>/dev/null
+     lt_status=$?
+     case x$lt_status in
+@@ -6299,12 +12378,12 @@
+ rm -fr conftest*
+ 
+ fi
+-echo "$as_me:6302: result: $lt_cv_dlopen_self" >&5
++echo "configure:12381: result: $lt_cv_dlopen_self" >&5
+ echo "${ECHO_T}$lt_cv_dlopen_self" >&6
+ 
+     if test "x$lt_cv_dlopen_self" = xyes; then
+       LDFLAGS="$LDFLAGS $link_static_flag"
+-      echo "$as_me:6307: checking whether a statically linked program can dlopen itself" >&5
++      echo "configure:12386: checking whether a statically linked program can dlopen itself" >&5
+ echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
+ if test "${lt_cv_dlopen_self_static+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -6312,10 +12391,10 @@
+   	  if test "$cross_compiling" = yes; then :
+   lt_cv_dlopen_self_static=cross
+ else
+-    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
++  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
+   lt_status=$lt_dlunknown
+   cat > conftest.$ac_ext <<EOF
+-#line 6318 "configure"
++#line 12397 "configure"
+ #include "confdefs.h"
+ 
+ #if HAVE_DLFCN_H
+@@ -6376,11 +12455,7 @@
+     exit (status);
+ }
+ EOF
+-  if { (eval echo "$as_me:6379: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:6382: \$? = $ac_status" >&5
+-  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
++  if { (eval echo configure:12458: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>/dev/null; then
+     (./conftest; exit; ) 2>/dev/null
+     lt_status=$?
+     case x$lt_status in
+@@ -6396,7 +12471,7 @@
+ rm -fr conftest*
+ 
+ fi
+-echo "$as_me:6399: result: $lt_cv_dlopen_self_static" >&5
++echo "configure:12474: result: $lt_cv_dlopen_self_static" >&5
+ echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
+     fi
+ 
+@@ -6417,108 +12492,64 @@
+   esac
+ fi
+ 
+-if test "$enable_shared" = yes && test "$GCC" = yes; then
+-  case $archive_cmds in
+-  *'~'*)
+-    # FIXME: we may have to deal with multi-command sequences.
+-    ;;
+-  '$CC '*)
+-    # Test whether the compiler implicitly links with -lc since on some
+-    # systems, -lgcc has to come before -lc. If gcc already passes -lc
+-    # to ld, don't add -lc before -lgcc.
+-    echo "$as_me:6429: checking whether -lc should be explicitly linked in" >&5
+-echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
+-    if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  $rm conftest*
+-    echo 'static int dummy;' > conftest.$ac_ext
+-
+-    if { (eval echo "$as_me:6437: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:6440: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-      soname=conftest
+-      lib=conftest
+-      libobjs=conftest.$ac_objext
+-      deplibs=
+-      wl=$lt_cv_prog_cc_wl
+-      compiler_flags=-v
+-      linker_flags=-v
+-      verstring=
+-      output_objdir=.
+-      libname=conftest
+-      save_allow_undefined_flag=$allow_undefined_flag
+-      allow_undefined_flag=
+-      if { (eval echo "$as_me:6454: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
+-  (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
+-  ac_status=$?
+-  echo "$as_me:6457: \$? = $ac_status" >&5
+-  (exit $ac_status); }
+-      then
+-	lt_cv_archive_cmds_need_lc=no
+-      else
+-	lt_cv_archive_cmds_need_lc=yes
+-      fi
+-      allow_undefined_flag=$save_allow_undefined_flag
+-    else
+-      cat conftest.err 1>&5
+-    fi
+-fi
+-
+-    echo "$as_me:6470: result: $lt_cv_archive_cmds_need_lc" >&5
+-echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
+-    ;;
+-  esac
+-fi
+-need_lc=${lt_cv_archive_cmds_need_lc-yes}
+-
+-# The second clause should only fire when bootstrapping the
++# The else clause should only fire when bootstrapping the
+ # libtool distribution, otherwise you forgot to ship ltmain.sh
+ # with your package, and you will get complaints that there are
+ # no rules to generate ltmain.sh.
+ if test -f "$ltmain"; then
+-  :
+-else
+-  # If there is no Makefile yet, we rely on a make rule to execute
+-  # `config.status --recheck' to rerun these tests and create the
+-  # libtool script then.
+-  test -f Makefile && make "$ltmain"
+-fi
+-
+-if test -f "$ltmain"; then
+-  trap "$rm \"${ofile}T\"; exit 1" 1 2 15
+-  $rm -f "${ofile}T"
+-
+-  echo creating $ofile
+-
+   # Now quote all the things that may contain metacharacters while being
+   # careful not to overquote the AC_SUBSTed values.  We take copies of the
+   # variables and quote the copies for generation of the libtool script.
+-  for var in echo old_CC old_CFLAGS \
+-    AR AR_FLAGS CC LD LN_S NM SHELL \
+-    reload_flag reload_cmds wl \
+-    pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \
+-    thread_safe_flag_spec whole_archive_flag_spec libname_spec \
+-    library_names_spec soname_spec \
+-    RANLIB old_archive_cmds old_archive_from_new_cmds old_postinstall_cmds \
+-    old_postuninstall_cmds archive_cmds archive_expsym_cmds postinstall_cmds \
+-    postuninstall_cmds extract_expsyms_cmds old_archive_from_expsyms_cmds \
+-    old_striplib striplib file_magic_cmd export_symbols_cmds \
+-    deplibs_check_method allow_undefined_flag no_undefined_flag \
+-    finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \
+-    hardcode_libdir_flag_spec hardcode_libdir_separator  \
++  for var in echo old_CC old_CFLAGS AR AR_FLAGS RANLIB LN_S NM SHELL \
++    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
++    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
++    deplibs_check_method reload_flag reload_cmds need_locks \
++    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
++    lt_cv_sys_global_symbol_to_c_name_address \
+     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
+-    compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do
++    old_postinstall_cmds old_postuninstall_cmds \
++    compiler_GCJ \
++    CC_GCJ \
++    LD_GCJ \
++    lt_prog_compiler_wl_GCJ \
++    lt_prog_compiler_pic_GCJ \
++    lt_prog_compiler_static_GCJ \
++    lt_prog_compiler_no_builtin_flag_GCJ \
++    export_dynamic_flag_spec_GCJ \
++    thread_safe_flag_spec_GCJ \
++    whole_archive_flag_spec_GCJ \
++    old_archive_cmds_GCJ \
++    old_archive_from_new_cmds_GCJ \
++    predep_objects_GCJ \
++    postdep_objects_GCJ \
++    predeps_GCJ \
++    postdeps_GCJ \
++    compiler_lib_search_path_GCJ \
++    archive_cmds_GCJ \
++    archive_expsym_cmds_GCJ \
++    postinstall_cmds_GCJ \
++    postuninstall_cmds_GCJ \
++    old_archive_from_expsyms_cmds_GCJ \
++    allow_undefined_flag_GCJ \
++    no_undefined_flag_GCJ \
++    export_symbols_cmds_GCJ \
++    hardcode_libdir_flag_spec_GCJ \
++    hardcode_libdir_separator_GCJ \
++    lt_cv_prog_compiler_c_o_GCJ \
++    exclude_expsyms_GCJ \
++    include_expsyms_GCJ; do
+ 
+     case $var in
+-    reload_cmds | old_archive_cmds | old_archive_from_new_cmds | \
+-    old_postinstall_cmds | old_postuninstall_cmds | \
+-    export_symbols_cmds | archive_cmds | archive_expsym_cmds | \
+-    extract_expsyms_cmds | old_archive_from_expsyms_cmds | \
++    old_archive_cmds_GCJ | \
++    old_archive_from_new_cmds_GCJ | \
++    archive_cmds_GCJ | \
++    archive_expsym_cmds_GCJ | \
++    old_archive_from_expsyms_cmds_GCJ | \
++    export_symbols_cmds_GCJ | \
++    extract_expsyms_cmds | reload_cmds | finish_cmds | \
+     postinstall_cmds | postuninstall_cmds | \
+-    finish_cmds | sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
++    old_postinstall_cmds | old_postuninstall_cmds | \
++    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
+       # Double-quote double-evaled strings.
+       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
+       ;;
+@@ -6528,43 +12559,16 @@
+     esac
+   done
+ 
+-  cat <<__EOF__ > "${ofile}T"
+-#! $SHELL
+-
+-# `$echo "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
+-# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
+-# NOTE: Changes made to this file will be lost: look at ltmain.sh.
+-#
+-# Copyright (C) 1996-2000 Free Software Foundation, Inc.
+-# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
+-#
+-# 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+-#
+-# As a special exception to the GNU General Public License, if you
+-# distribute this file as part of a program that contains a
+-# configuration script generated by Autoconf, you may include it under
+-# the same distribution terms that you use for the rest of that program.
+-
+-# Sed that helps us avoid accidentally triggering echo(1) options like -n.
+-Xsed="sed -e s/^X//"
++  case $lt_echo in
++  *'\$0 --fallback-echo"')
++    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
++    ;;
++  esac
+ 
+-# The HP-UX ksh and POSIX shell print the target directory to stdout
+-# if CDPATH is set.
+-if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
++cfgfile="$ofile"
+ 
+-# ### BEGIN LIBTOOL CONFIG
++  cat <<__EOF__ >> "$cfgfile"
++# ### BEGIN LIBTOOL TAG CONFIG: $tagname
+ 
+ # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
+ 
+@@ -6574,450 +12578,308 @@
+ # Whether or not to build shared libraries.
+ build_libtool_libs=$enable_shared
+ 
+-# Whether or not to add -lc for building shared libraries.
+-build_libtool_need_lc=$need_lc
+-
+ # Whether or not to build static libraries.
+ build_old_libs=$enable_static
+ 
++# Whether or not to add -lc for building shared libraries.
++build_libtool_need_lc=$archive_cmds_need_lc_GCJ
++
+ # Whether or not to optimize for fast installation.
+ fast_install=$enable_fast_install
+ 
+-# The host system.
+-host_alias=$host_alias
+-host=$host
+-
+-# An echo program that does not interpret backslashes.
+-echo=$lt_echo
+-
+-# The archiver.
+-AR=$lt_AR
+-AR_FLAGS=$lt_AR_FLAGS
+-
+-# The default C compiler.
+-CC=$lt_CC
+-
+-# Is the compiler the GNU C compiler?
+-with_gcc=$GCC
+-
+-# The linker used to build libraries.
+-LD=$lt_LD
+-
+-# Whether we need hard or soft links.
+-LN_S=$lt_LN_S
+-
+-# A BSD-compatible nm program.
+-NM=$lt_NM
+-
+-# A symbol stripping program
+-STRIP=$STRIP
+-
+-# Used to examine libraries when file_magic_cmd begins "file"
+-MAGIC_CMD=$MAGIC_CMD
+-
+-# Used on cygwin: DLL creation program.
+-DLLTOOL="$DLLTOOL"
+-
+-# Used on cygwin: object dumper.
+-OBJDUMP="$OBJDUMP"
+-
+-# Used on cygwin: assembler.
+-AS="$AS"
+-
+-# The name of the directory that contains temporary libtool files.
+-objdir=$objdir
+-
+-# How to create reloadable object files.
+-reload_flag=$lt_reload_flag
+-reload_cmds=$lt_reload_cmds
+-
+-# How to pass a linker flag through the compiler.
+-wl=$lt_wl
+-
+-# Object file suffix (normally "o").
+-objext="$ac_objext"
+-
+-# Old archive suffix (normally "a").
+-libext="$libext"
+-
+-# Executable file suffix (normally "").
+-exeext="$exeext"
+-
+-# Additional compiler flags for building library objects.
+-pic_flag=$lt_pic_flag
+-pic_mode=$pic_mode
+-
+-# Does compiler simultaneously support -c and -o options?
+-compiler_c_o=$lt_compiler_c_o
+-
+-# Can we write directly to a .lo ?
+-compiler_o_lo=$lt_compiler_o_lo
+-
+-# Must we lock files when doing compilation ?
+-need_locks=$lt_need_locks
+-
+-# Do we need the lib prefix for modules?
+-need_lib_prefix=$need_lib_prefix
+-
+-# Do we need a version for libraries?
+-need_version=$need_version
+-
+-# Whether dlopen is supported.
+-dlopen_support=$enable_dlopen
+-
+-# Whether dlopen of programs is supported.
+-dlopen_self=$enable_dlopen_self
+-
+-# Whether dlopen of statically linked programs is supported.
+-dlopen_self_static=$enable_dlopen_self_static
+-
+-# Compiler flag to prevent dynamic linking.
+-link_static_flag=$lt_link_static_flag
+-
+-# Compiler flag to turn off builtin functions.
+-no_builtin_flag=$lt_no_builtin_flag
+-
+-# Compiler flag to allow reflexive dlopens.
+-export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
+-
+-# Compiler flag to generate shared objects directly from archives.
+-whole_archive_flag_spec=$lt_whole_archive_flag_spec
+-
+-# Compiler flag to generate thread-safe objects.
+-thread_safe_flag_spec=$lt_thread_safe_flag_spec
+-
+-# Library versioning type.
+-version_type=$version_type
+-
+-# Format of library name prefix.
+-libname_spec=$lt_libname_spec
+-
+-# List of archive names.  First name is the real one, the rest are links.
+-# The last name is the one that the linker finds with -lNAME.
+-library_names_spec=$lt_library_names_spec
+-
+-# The coded name of the library, if different from the real name.
+-soname_spec=$lt_soname_spec
+-
+-# Commands used to build and install an old-style archive.
+-RANLIB=$lt_RANLIB
+-old_archive_cmds=$lt_old_archive_cmds
+-old_postinstall_cmds=$lt_old_postinstall_cmds
+-old_postuninstall_cmds=$lt_old_postuninstall_cmds
+-
+-# Create an old-style archive from a shared archive.
+-old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
+-
+-# Create a temporary old-style archive to link instead of a shared archive.
+-old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
+-
+-# Commands used to build and install a shared archive.
+-archive_cmds=$lt_archive_cmds
+-archive_expsym_cmds=$lt_archive_expsym_cmds
+-postinstall_cmds=$lt_postinstall_cmds
+-postuninstall_cmds=$lt_postuninstall_cmds
+-
+-# Commands to strip libraries.
+-old_striplib=$lt_old_striplib
+-striplib=$lt_striplib
+-
+-# Method to check whether dependent libraries are shared objects.
+-deplibs_check_method=$lt_deplibs_check_method
+-
+-# Command to use when deplibs_check_method == file_magic.
+-file_magic_cmd=$lt_file_magic_cmd
+-
+-# Flag that allows shared libraries with undefined symbols to be built.
+-allow_undefined_flag=$lt_allow_undefined_flag
+-
+-# Flag that forces no undefined symbols.
+-no_undefined_flag=$lt_no_undefined_flag
+-
+-# Commands used to finish a libtool library installation in a directory.
+-finish_cmds=$lt_finish_cmds
+-
+-# Same as above, but a single script fragment to be evaled but not shown.
+-finish_eval=$lt_finish_eval
+-
+-# Take the output of nm and produce a listing of raw symbols and C names.
+-global_symbol_pipe=$lt_global_symbol_pipe
+-
+-# Transform the output of nm in a proper C declaration
+-global_symbol_to_cdecl=$lt_global_symbol_to_cdecl
+-
+-# This is the shared library runtime path variable.
+-runpath_var=$runpath_var
+-
+-# This is the shared library path variable.
+-shlibpath_var=$shlibpath_var
+-
+-# Is shlibpath searched before the hard-coded library search path?
+-shlibpath_overrides_runpath=$shlibpath_overrides_runpath
+-
+-# How to hardcode a shared library path into an executable.
+-hardcode_action=$hardcode_action
+-
+-# Whether we should hardcode library paths into libraries.
+-hardcode_into_libs=$hardcode_into_libs
++# The host system.
++host_alias=$host_alias
++host=$host
+ 
+-# Flag to hardcode \$libdir into a binary during linking.
+-# This must work even if \$libdir does not exist.
+-hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
++# An echo program that does not interpret backslashes.
++echo=$lt_echo
+ 
+-# Whether we need a single -rpath flag with a separated argument.
+-hardcode_libdir_separator=$lt_hardcode_libdir_separator
++# The archiver.
++AR=$lt_AR
++AR_FLAGS=$lt_AR_FLAGS
+ 
+-# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
+-# resulting binary.
+-hardcode_direct=$hardcode_direct
++# A C compiler.
++LTCC=$LTCC
+ 
+-# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
+-# resulting binary.
+-hardcode_minus_L=$hardcode_minus_L
++# A language-specific compiler.
++CC=$lt_compiler_GCJ
+ 
+-# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
+-# the resulting binary.
+-hardcode_shlibpath_var=$hardcode_shlibpath_var
++# Is the compiler the GNU C compiler?
++with_gcc=$GCC_GCJ
+ 
+-# Variables whose values should be saved in libtool wrapper scripts and
+-# restored at relink time.
+-variables_saved_for_relink="$variables_saved_for_relink"
++# The linker used to build libraries.
++LD=$lt_LD_GCJ
+ 
+-# Whether libtool must link a program against all its dependency libraries.
+-link_all_deplibs=$link_all_deplibs
++# Whether we need hard or soft links.
++LN_S=$lt_LN_S
+ 
+-# Compile-time system search path for libraries
+-sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
++# A BSD-compatible nm program.
++NM=$lt_NM
+ 
+-# Run-time system search path for libraries
+-sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
++# A symbol stripping program
++STRIP=$STRIP
+ 
+-# Fix the shell variable \$srcfile for the compiler.
+-fix_srcfile_path="$fix_srcfile_path"
++# Used to examine libraries when file_magic_cmd begins "file"
++MAGIC_CMD=$MAGIC_CMD
+ 
+-# Set to yes if exported symbols are required.
+-always_export_symbols=$always_export_symbols
++# Used on cygwin: DLL creation program.
++DLLTOOL="$DLLTOOL"
+ 
+-# The commands to list exported symbols.
+-export_symbols_cmds=$lt_export_symbols_cmds
++# Used on cygwin: object dumper.
++OBJDUMP="$OBJDUMP"
+ 
+-# The commands to extract the exported symbol list from a shared archive.
+-extract_expsyms_cmds=$lt_extract_expsyms_cmds
++# Used on cygwin: assembler.
++AS="$AS"
+ 
+-# Symbols that should not be listed in the preloaded symbols.
+-exclude_expsyms=$lt_exclude_expsyms
++# The name of the directory that contains temporary libtool files.
++objdir=$objdir
+ 
+-# Symbols that must always be exported.
+-include_expsyms=$lt_include_expsyms
++# How to create reloadable object files.
++reload_flag=$lt_reload_flag
++reload_cmds=$lt_reload_cmds
+ 
+-# ### END LIBTOOL CONFIG
++# How to pass a linker flag through the compiler.
++wl=$lt_lt_prog_compiler_wl_GCJ
+ 
+-__EOF__
++# Object file suffix (normally "o").
++objext="$ac_objext"
+ 
+-  case $host_os in
+-  aix3*)
+-    cat <<\EOF >> "${ofile}T"
++# Old archive suffix (normally "a").
++libext="$libext"
+ 
+-# AIX sometimes has problems with the GCC collect2 program.  For some
+-# reason, if we set the COLLECT_NAMES environment variable, the problems
+-# vanish in a puff of smoke.
+-if test "X${COLLECT_NAMES+set}" != Xset; then
+-  COLLECT_NAMES=
+-  export COLLECT_NAMES
+-fi
+-EOF
+-    ;;
+-  esac
++# Executable file suffix (normally "").
++exeext="$exeext"
+ 
+-  case $host_os in
+-  cygwin* | mingw* | pw32* | os2*)
+-    cat <<'EOF' >> "${ofile}T"
+-      # This is a source program that is used to create dlls on Windows
+-      # Don't remove nor modify the starting and closing comments
+-# /* ltdll.c starts here */
+-# #define WIN32_LEAN_AND_MEAN
+-# #include <windows.h>
+-# #undef WIN32_LEAN_AND_MEAN
+-# #include <stdio.h>
+-#
+-# #ifndef __CYGWIN__
+-# #  ifdef __CYGWIN32__
+-# #    define __CYGWIN__ __CYGWIN32__
+-# #  endif
+-# #endif
+-#
+-# #ifdef __cplusplus
+-# extern "C" {
+-# #endif
+-# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
+-# #ifdef __cplusplus
+-# }
+-# #endif
+-#
+-# #ifdef __CYGWIN__
+-# #include <cygwin/cygwin_dll.h>
+-# DECLARE_CYGWIN_DLL( DllMain );
+-# #endif
+-# HINSTANCE __hDllInstance_base;
+-#
+-# BOOL APIENTRY
+-# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
+-# {
+-#   __hDllInstance_base = hInst;
+-#   return TRUE;
+-# }
+-# /* ltdll.c ends here */
+-        # This is a source program that is used to create import libraries
+-        # on Windows for dlls which lack them. Don't remove nor modify the
+-        # starting and closing comments
+-# /* impgen.c starts here */
+-# /*   Copyright (C) 1999-2000 Free Software Foundation, Inc.
+-#
+-#  This file is part of GNU libtool.
+-#
+-#  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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+-#  */
+-#
+-# #include <stdio.h>		/* for printf() */
+-# #include <unistd.h>		/* for open(), lseek(), read() */
+-# #include <fcntl.h>		/* for O_RDONLY, O_BINARY */
+-# #include <string.h>		/* for strdup() */
+-#
+-# /* O_BINARY isn't required (or even defined sometimes) under Unix */
+-# #ifndef O_BINARY
+-# #define O_BINARY 0
+-# #endif
+-#
+-# static unsigned int
+-# pe_get16 (fd, offset)
+-#      int fd;
+-#      int offset;
+-# {
+-#   unsigned char b[2];
+-#   lseek (fd, offset, SEEK_SET);
+-#   read (fd, b, 2);
+-#   return b[0] + (b[1]<<8);
+-# }
+-#
+-# static unsigned int
+-# pe_get32 (fd, offset)
+-#     int fd;
+-#     int offset;
+-# {
+-#   unsigned char b[4];
+-#   lseek (fd, offset, SEEK_SET);
+-#   read (fd, b, 4);
+-#   return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
+-# }
+-#
+-# static unsigned int
+-# pe_as32 (ptr)
+-#      void *ptr;
+-# {
+-#   unsigned char *b = ptr;
+-#   return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
+-# }
+-#
+-# int
+-# main (argc, argv)
+-#     int argc;
+-#     char *argv[];
+-# {
+-#     int dll;
+-#     unsigned long pe_header_offset, opthdr_ofs, num_entries, i;
+-#     unsigned long export_rva, export_size, nsections, secptr, expptr;
+-#     unsigned long name_rvas, nexp;
+-#     unsigned char *expdata, *erva;
+-#     char *filename, *dll_name;
+-#
+-#     filename = argv[1];
+-#
+-#     dll = open(filename, O_RDONLY|O_BINARY);
+-#     if (dll < 1)
+-# 	return 1;
+-#
+-#     dll_name = filename;
+-#
+-#     for (i=0; filename[i]; i++)
+-# 	if (filename[i] == '/' || filename[i] == '\\'  || filename[i] == ':')
+-# 	    dll_name = filename + i +1;
+-#
+-#     pe_header_offset = pe_get32 (dll, 0x3c);
+-#     opthdr_ofs = pe_header_offset + 4 + 20;
+-#     num_entries = pe_get32 (dll, opthdr_ofs + 92);
+-#
+-#     if (num_entries < 1) /* no exports */
+-# 	return 1;
+-#
+-#     export_rva = pe_get32 (dll, opthdr_ofs + 96);
+-#     export_size = pe_get32 (dll, opthdr_ofs + 100);
+-#     nsections = pe_get16 (dll, pe_header_offset + 4 +2);
+-#     secptr = (pe_header_offset + 4 + 20 +
+-# 	      pe_get16 (dll, pe_header_offset + 4 + 16));
+-#
+-#     expptr = 0;
+-#     for (i = 0; i < nsections; i++)
+-#     {
+-# 	char sname[8];
+-# 	unsigned long secptr1 = secptr + 40 * i;
+-# 	unsigned long vaddr = pe_get32 (dll, secptr1 + 12);
+-# 	unsigned long vsize = pe_get32 (dll, secptr1 + 16);
+-# 	unsigned long fptr = pe_get32 (dll, secptr1 + 20);
+-# 	lseek(dll, secptr1, SEEK_SET);
+-# 	read(dll, sname, 8);
+-# 	if (vaddr <= export_rva && vaddr+vsize > export_rva)
+-# 	{
+-# 	    expptr = fptr + (export_rva - vaddr);
+-# 	    if (export_rva + export_size > vaddr + vsize)
+-# 		export_size = vsize - (export_rva - vaddr);
+-# 	    break;
+-# 	}
+-#     }
+-#
+-#     expdata = (unsigned char*)malloc(export_size);
+-#     lseek (dll, expptr, SEEK_SET);
+-#     read (dll, expdata, export_size);
+-#     erva = expdata - export_rva;
+-#
+-#     nexp = pe_as32 (expdata+24);
+-#     name_rvas = pe_as32 (expdata+32);
+-#
+-#     printf ("EXPORTS\n");
+-#     for (i = 0; i<nexp; i++)
+-#     {
+-# 	unsigned long name_rva = pe_as32 (erva+name_rvas+i*4);
+-# 	printf ("\t%s @ %ld ;\n", erva+name_rva, 1+ i);
+-#     }
+-#
+-#     return 0;
+-# }
+-# /* impgen.c ends here */
++# Additional compiler flags for building library objects.
++pic_flag=$lt_lt_prog_compiler_pic_GCJ
++pic_mode=$pic_mode
++
++# What is the maximum length of a command?
++max_cmd_len=$lt_cv_sys_max_cmd_len
+ 
+-EOF
+-    ;;
+-  esac
++# Does compiler simultaneously support -c and -o options?
++compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
+ 
+-  # We use sed instead of cat because bash on DJGPP gets confused if
+-  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
+-  # text mode, it properly converts lines to CR/LF.  This bash problem
+-  # is reportedly fixed, but why not run on old versions too?
+-  sed '$q' "$ltmain" >> "${ofile}T" || (rm -f "${ofile}T"; exit 1)
++# Must we lock files when doing compilation ?
++need_locks=$lt_need_locks
+ 
+-  mv -f "${ofile}T" "$ofile" || \
+-    (rm -f "$ofile" && cp "${ofile}T" "$ofile" && rm -f "${ofile}T")
+-  chmod +x "$ofile"
++# Do we need the lib prefix for modules?
++need_lib_prefix=$need_lib_prefix
++
++# Do we need a version for libraries?
++need_version=$need_version
++
++# Whether dlopen is supported.
++dlopen_support=$enable_dlopen
++
++# Whether dlopen of programs is supported.
++dlopen_self=$enable_dlopen_self
++
++# Whether dlopen of statically linked programs is supported.
++dlopen_self_static=$enable_dlopen_self_static
++
++# Compiler flag to prevent dynamic linking.
++link_static_flag=$lt_lt_prog_compiler_static_GCJ
++
++# Compiler flag to turn off builtin functions.
++no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
++
++# Compiler flag to allow reflexive dlopens.
++export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
++
++# Compiler flag to generate shared objects directly from archives.
++whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
++
++# Compiler flag to generate thread-safe objects.
++thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
++
++# Library versioning type.
++version_type=$version_type
++
++# Format of library name prefix.
++libname_spec=$lt_libname_spec
++
++# List of archive names.  First name is the real one, the rest are links.
++# The last name is the one that the linker finds with -lNAME.
++library_names_spec=$lt_library_names_spec
++
++# The coded name of the library, if different from the real name.
++soname_spec=$lt_soname_spec
++
++# Commands used to build and install an old-style archive.
++RANLIB=$lt_RANLIB
++old_archive_cmds=$lt_old_archive_cmds_GCJ
++old_postinstall_cmds=$lt_old_postinstall_cmds
++old_postuninstall_cmds=$lt_old_postuninstall_cmds
++
++# Create an old-style archive from a shared archive.
++old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
++
++# Create a temporary old-style archive to link instead of a shared archive.
++old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
++
++# Commands used to build and install a shared archive.
++archive_cmds=$lt_archive_cmds_GCJ
++archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
++postinstall_cmds=$lt_postinstall_cmds
++postuninstall_cmds=$lt_postuninstall_cmds
++
++# Commands to strip libraries.
++old_striplib=$lt_old_striplib
++striplib=$lt_striplib
++
++# Dependencies to place before the objects being linked to create a
++# shared library.
++predep_objects=$lt_predep_objects_GCJ
++
++# Dependencies to place after the objects being linked to create a
++# shared library.
++postdep_objects=$lt_postdep_objects_GCJ
++
++# Dependencies to place before the objects being linked to create a
++# shared library.
++predeps=$lt_predeps_GCJ
++
++# Dependencies to place after the objects being linked to create a
++# shared library.
++postdeps=$lt_postdeps_GCJ
++
++# The library search path used internally by the compiler when linking
++# a shared library.
++compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
++
++# Method to check whether dependent libraries are shared objects.
++deplibs_check_method=$lt_deplibs_check_method
++
++# Command to use when deplibs_check_method == file_magic.
++file_magic_cmd=$lt_file_magic_cmd
++
++# Flag that allows shared libraries with undefined symbols to be built.
++allow_undefined_flag=$lt_allow_undefined_flag_GCJ
++
++# Flag that forces no undefined symbols.
++no_undefined_flag=$lt_no_undefined_flag_GCJ
++
++# Commands used to finish a libtool library installation in a directory.
++finish_cmds=$lt_finish_cmds
++
++# Same as above, but a single script fragment to be evaled but not shown.
++finish_eval=$lt_finish_eval
++
++# Take the output of nm and produce a listing of raw symbols and C names.
++global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
++
++# Transform the output of nm in a proper C declaration
++global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
++
++# Transform the output of nm in a C name address pair
++global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
++
++# This is the shared library runtime path variable.
++runpath_var=$runpath_var
++
++# This is the shared library path variable.
++shlibpath_var=$shlibpath_var
++
++# Is shlibpath searched before the hard-coded library search path?
++shlibpath_overrides_runpath=$shlibpath_overrides_runpath
++
++# How to hardcode a shared library path into an executable.
++hardcode_action=$hardcode_action_GCJ
++
++# Whether we should hardcode library paths into libraries.
++hardcode_into_libs=$hardcode_into_libs
++
++# Flag to hardcode \$libdir into a binary during linking.
++# This must work even if \$libdir does not exist.
++hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
++
++# Whether we need a single -rpath flag with a separated argument.
++hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
++
++# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
++# resulting binary.
++hardcode_direct=$hardcode_direct_GCJ
++
++# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
++# resulting binary.
++hardcode_minus_L=$hardcode_minus_L_GCJ
++
++# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
++# the resulting binary.
++hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
++
++# Variables whose values should be saved in libtool wrapper scripts and
++# restored at relink time.
++variables_saved_for_relink="$variables_saved_for_relink"
++
++# Whether libtool must link a program against all its dependency libraries.
++link_all_deplibs=$link_all_deplibs_GCJ
++
++# Compile-time system search path for libraries
++sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
++
++# Run-time system search path for libraries
++sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
++
++# Fix the shell variable \$srcfile for the compiler.
++fix_srcfile_path="$fix_srcfile_path_GCJ"
++
++# Set to yes if exported symbols are required.
++always_export_symbols=$always_export_symbols_GCJ
++
++# The commands to list exported symbols.
++export_symbols_cmds=$lt_export_symbols_cmds_GCJ
++
++# The commands to extract the exported symbol list from a shared archive.
++extract_expsyms_cmds=$lt_extract_expsyms_cmds
++
++# Symbols that should not be listed in the preloaded symbols.
++exclude_expsyms=$lt_exclude_expsyms_GCJ
++
++# Symbols that must always be exported.
++include_expsyms=$lt_include_expsyms_GCJ
++
++# ### END LIBTOOL TAG CONFIG: $tagname
++
++__EOF__
++
++else
++  # If there is no Makefile yet, we rely on a make rule to execute
++  # `config.status --recheck' to rerun these tests and create the
++  # libtool script then.
++  test -f Makefile && make "$ltmain"
++fi
++
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='${CC-cc} -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++CC="$lt_save_CC"
++
++        ;;
++
++      *)
++        { echo "configure: error: Unsupported tag name: $tagname" >&2; exit 1; }
++        ;;
++      esac
++
++      # Append the new tag name to the list of available tags.
++      available_tags="$available_tags $tagname"
++    fi
++  done
++  IFS="$lt_save_ifs"
++
++  # Now substitute the updated list of available tags.
++  if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
++    mv "${ofile}T" "$ofile"
++    chmod +x "$ofile"
++  else
++    rm -f "${ofile}T"
++    { echo "configure: error: unable to update list of available tagged configurations." >&2; exit 1; }
++  fi
+ fi
+ 
+ # This can be used to rebuild libtool when needed
+@@ -7060,25 +12922,21 @@
+ 
+ do
+ ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
+-echo "$as_me:7063: checking for $ac_header" >&5
++
++echo "configure:12926: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 7069 "configure"
++#line 12932 "configure"
+ #include "confdefs.h"
+ #include <$ac_header>
++
+ _ACEOF
+-if { (eval echo "$as_me:7073: \"$ac_cpp conftest.$ac_ext\"") >&5
+-  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+-  ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
+-  rm -f conftest.er1
+-  cat conftest.err >&5
+-  echo "$as_me:7079: \$? = $ac_status" >&5
+-  (exit $ac_status); } >/dev/null; then
+-  if test -s conftest.err; then
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:12938: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+   else
+     ac_cpp_err=
+@@ -7086,16 +12944,19 @@
+ else
+   ac_cpp_err=yes
+ fi
++
+ if test -z "$ac_cpp_err"; then
+   eval "$ac_ac_Header=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  cat conftest.err >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_Header=no"
+ fi
+-rm -f conftest.err conftest.$ac_ext
++rm -f conftest*
++
+ fi
+-echo "$as_me:7098: result: `eval echo '${'$ac_ac_Header'}'`" >&5
++echo "configure:12959: result: `eval echo '${'$ac_ac_Header'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
+ if test `eval echo '${'$ac_ac_Header'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -7107,7 +12968,7 @@
+ 
+ fi
+ 
+-echo "$as_me:7110: checking for dbopen" >&5
++echo "configure:12971: checking for dbopen" >&5
+ echo $ECHO_N "checking for dbopen... $ECHO_C" >&6
+ if test "${ac_cv_funclib_dbopen+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -7123,7 +12984,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 7126 "configure"
++#line 12987 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -7142,23 +13003,13 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:7145: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:7148: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:7151: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:7154: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:13006: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_dbopen=$ac_lib; else ac_cv_funclib_dbopen=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_dbopen=\${ac_cv_funclib_dbopen-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -7169,17 +13020,17 @@
+ eval "ac_res=\$ac_cv_funclib_dbopen"
+ 
+ if false; then
+-
++	
+ for ac_func in dbopen
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:7176: checking for $ac_func" >&5
++echo "configure:13027: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 7182 "configure"
++#line 13033 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -7210,26 +13061,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:7213: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:7216: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:7219: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:7222: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:13064: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:7232: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:13073: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -7253,13 +13094,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:7256: result: yes" >&5
++	echo "configure:13097: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_dbopen=no"
+ 	eval "LIB_dbopen="
+-	echo "$as_me:7262: result: no" >&5
++	echo "configure:13103: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -7273,12 +13114,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:7276: result: yes, in $ac_res" >&5
++	echo "configure:13117: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "$as_me:7281: checking for dbm_firstkey" >&5
++echo "configure:13122: checking for dbm_firstkey" >&5
+ echo $ECHO_N "checking for dbm_firstkey... $ECHO_C" >&6
+ if test "${ac_cv_funclib_dbm_firstkey+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -7294,7 +13135,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 7297 "configure"
++#line 13138 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -7306,23 +13147,13 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:7309: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:7312: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:7315: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:7318: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:13150: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_dbm_firstkey=$ac_lib; else ac_cv_funclib_dbm_firstkey=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_dbm_firstkey=\${ac_cv_funclib_dbm_firstkey-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -7333,17 +13164,17 @@
+ eval "ac_res=\$ac_cv_funclib_dbm_firstkey"
+ 
+ if false; then
+-
++	
+ for ac_func in dbm_firstkey
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:7340: checking for $ac_func" >&5
++echo "configure:13171: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 7346 "configure"
++#line 13177 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -7374,26 +13205,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:7377: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:7380: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:7383: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:7386: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:13208: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:7396: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:13217: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -7417,13 +13238,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:7420: result: yes" >&5
++	echo "configure:13241: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_dbm_firstkey=no"
+ 	eval "LIB_dbm_firstkey="
+-	echo "$as_me:7426: result: no" >&5
++	echo "configure:13247: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -7437,12 +13258,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:7440: result: yes, in $ac_res" >&5
++	echo "configure:13261: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "$as_me:7445: checking for db_create" >&5
++echo "configure:13266: checking for db_create" >&5
+ echo $ECHO_N "checking for db_create... $ECHO_C" >&6
+ if test "${ac_cv_funclib_db_create+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -7458,7 +13279,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 7461 "configure"
++#line 13282 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -7470,23 +13291,13 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:7473: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:7476: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:7479: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:7482: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:13294: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_db_create=$ac_lib; else ac_cv_funclib_db_create=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_db_create=\${ac_cv_funclib_db_create-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -7497,17 +13308,17 @@
+ eval "ac_res=\$ac_cv_funclib_db_create"
+ 
+ if false; then
+-
++	
+ for ac_func in db_create
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:7504: checking for $ac_func" >&5
++echo "configure:13315: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 7510 "configure"
++#line 13321 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -7538,26 +13349,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:7541: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:7544: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:7547: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:7550: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:13352: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:7560: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:13361: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -7581,13 +13382,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:7584: result: yes" >&5
++	echo "configure:13385: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_db_create=no"
+ 	eval "LIB_db_create="
+-	echo "$as_me:7590: result: no" >&5
++	echo "configure:13391: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -7601,7 +13402,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:7604: result: yes, in $ac_res" >&5
++	echo "configure:13405: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -7614,7 +13415,7 @@
+ 	DBLIB="$DBLIB $LIB_dbm_firstkey"
+ fi
+ 
+-echo "$as_me:7617: checking for inline" >&5
++echo "configure:13418: checking for inline" >&5
+ echo $ECHO_N "checking for inline... $ECHO_C" >&6
+ if test "${ac_cv_c_inline+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -7622,36 +13423,25 @@
+   ac_cv_c_inline=no
+ for ac_kw in inline __inline__ __inline; do
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 7625 "configure"
++#line 13426 "configure"
+ #include "confdefs.h"
+ #ifndef __cplusplus
+-static $ac_kw int static_foo () {return 0; }
+ $ac_kw int foo () {return 0; }
+ #endif
+ 
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:7634: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:7637: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:7640: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:7643: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:13434: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_c_inline=$ac_kw; break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ done
+ 
+ fi
+-echo "$as_me:7654: result: $ac_cv_c_inline" >&5
++echo "configure:13444: result: $ac_cv_c_inline" >&5
+ echo "${ECHO_T}$ac_cv_c_inline" >&6
+ case $ac_cv_c_inline in
+   inline | yes) ;;
+@@ -7666,13 +13456,13 @@
+  ;;
+ esac
+ 
+-echo "$as_me:7669: checking for an ANSI C-conforming const" >&5
++echo "configure:13459: checking for an ANSI C-conforming const" >&5
+ echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
+ if test "${ac_cv_c_const+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 7675 "configure"
++#line 13465 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -7730,26 +13520,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:7733: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:7736: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:7739: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:7742: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:13523: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_c_const=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_c_const=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_c_const=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:7752: result: $ac_cv_c_const" >&5
++echo "configure:13532: result: $ac_cv_c_const" >&5
+ echo "${ECHO_T}$ac_cv_c_const" >&6
+ if test $ac_cv_c_const = no; then
+ 
+@@ -7759,13 +13539,13 @@
+ 
+ fi
+ 
+-echo "$as_me:7762: checking for ANSI C header files" >&5
++echo "configure:13542: checking for ANSI C header files" >&5
+ echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
+ if test "${ac_cv_header_stdc+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 7768 "configure"
++#line 13548 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ #include <stdarg.h>
+@@ -7773,15 +13553,9 @@
+ #include <float.h>
+ 
+ _ACEOF
+-if { (eval echo "$as_me:7776: \"$ac_cpp conftest.$ac_ext\"") >&5
+-  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+-  ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
+-  rm -f conftest.er1
+-  cat conftest.err >&5
+-  echo "$as_me:7782: \$? = $ac_status" >&5
+-  (exit $ac_status); } >/dev/null; then
+-  if test -s conftest.err; then
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:13557: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+   else
+     ac_cpp_err=
+@@ -7789,19 +13563,21 @@
+ else
+   ac_cpp_err=yes
+ fi
++
+ if test -z "$ac_cpp_err"; then
+   ac_cv_header_stdc=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  cat conftest.err >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_header_stdc=no
+ fi
+-rm -f conftest.err conftest.$ac_ext
++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 <<_ACEOF
+-#line 7804 "configure"
++#line 13580 "configure"
+ #include "confdefs.h"
+ #include <string.h>
+ 
+@@ -7819,7 +13595,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 <<_ACEOF
+-#line 7822 "configure"
++#line 13598 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ 
+@@ -7840,7 +13616,7 @@
+   :
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 7843 "configure"
++#line 13619 "configure"
+ #include "confdefs.h"
+ #include <ctype.h>
+ #if ((' ' & 0x0FF) == 0x020)
+@@ -7866,28 +13642,20 @@
+ }
+ _ACEOF
+ rm -f conftest$ac_exeext
+-if { (eval echo "$as_me:7869: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:7872: \$? = $ac_status" >&5
+-  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
+-  { (eval echo "$as_me:7874: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:7877: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:13645: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
++   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
+   :
+ else
+-  echo "$as_me: program exited with status $ac_status" >&5
+-echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_header_stdc=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_header_stdc=no
+ fi
+-rm -f core core.* *.core conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
++
+ fi
+ fi
+-echo "$as_me:7890: result: $ac_cv_header_stdc" >&5
++echo "configure:13658: result: $ac_cv_header_stdc" >&5
+ echo "${ECHO_T}$ac_cv_header_stdc" >&6
+ if test $ac_cv_header_stdc = yes; then
+ 
+@@ -7897,61 +13665,13 @@
+ 
+ fi
+ 
+-for ac_header in stdlib.h string.h memory.h strings.h inttypes.h unistd.h
+-do
+-ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
+-echo "$as_me:7903: checking for $ac_header" >&5
+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+-if eval "test \"\${$ac_ac_Header+set}\" = set"; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  cat >conftest.$ac_ext <<_ACEOF
+-#line 7909 "configure"
+-#include "confdefs.h"
+-#include <$ac_header>
+-_ACEOF
+-if { (eval echo "$as_me:7913: \"$ac_cpp conftest.$ac_ext\"") >&5
+-  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+-  ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
+-  rm -f conftest.er1
+-  cat conftest.err >&5
+-  echo "$as_me:7919: \$? = $ac_status" >&5
+-  (exit $ac_status); } >/dev/null; then
+-  if test -s conftest.err; then
+-    ac_cpp_err=$ac_c_preproc_warn_flag
+-  else
+-    ac_cpp_err=
+-  fi
+-else
+-  ac_cpp_err=yes
+-fi
+-if test -z "$ac_cpp_err"; then
+-  eval "$ac_ac_Header=yes"
+-else
+-  echo "$as_me: failed program was:" >&5
+-  cat conftest.$ac_ext >&5
+-  eval "$ac_ac_Header=no"
+-fi
+-rm -f conftest.err conftest.$ac_ext
+-fi
+-echo "$as_me:7938: result: `eval echo '${'$ac_ac_Header'}'`" >&5
+-echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
+-if test `eval echo '${'$ac_ac_Header'}'` = yes; then
+-  cat >>confdefs.h <<EOF
+-#define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
+-EOF
+-
+-fi
+-done
+-
+-echo "$as_me:7948: checking for size_t" >&5
++echo "configure:13668: checking for size_t" >&5
+ echo $ECHO_N "checking for size_t... $ECHO_C" >&6
+ if test "${ac_cv_type_size_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 7954 "configure"
++#line 13674 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -7966,26 +13686,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:7969: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:7972: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:7975: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:7978: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:13689: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_size_t=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_size_t=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_size_t=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:7988: result: $ac_cv_type_size_t" >&5
++echo "configure:13698: result: $ac_cv_type_size_t" >&5
+ echo "${ECHO_T}$ac_cv_type_size_t" >&6
+ if test $ac_cv_type_size_t = yes; then
+   :
+@@ -7997,13 +13707,13 @@
+ 
+ fi
+ 
+-echo "$as_me:8000: checking for pid_t" >&5
++echo "configure:13710: checking for pid_t" >&5
+ echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
+ if test "${ac_cv_type_pid_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 8006 "configure"
++#line 13716 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -8018,26 +13728,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:8021: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:8024: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:8027: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:8030: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:13731: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_pid_t=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_pid_t=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_pid_t=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:8040: result: $ac_cv_type_pid_t" >&5
++echo "configure:13740: result: $ac_cv_type_pid_t" >&5
+ echo "${ECHO_T}$ac_cv_type_pid_t" >&6
+ if test $ac_cv_type_pid_t = yes; then
+   :
+@@ -8049,13 +13749,13 @@
+ 
+ fi
+ 
+-echo "$as_me:8052: checking for uid_t in sys/types.h" >&5
++echo "configure:13752: checking for uid_t in sys/types.h" >&5
+ echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
+ if test "${ac_cv_type_uid_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 8058 "configure"
++#line 13758 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ 
+@@ -8069,7 +13769,7 @@
+ rm -f conftest*
+ 
+ fi
+-echo "$as_me:8072: result: $ac_cv_type_uid_t" >&5
++echo "configure:13772: result: $ac_cv_type_uid_t" >&5
+ echo "${ECHO_T}$ac_cv_type_uid_t" >&6
+ if test $ac_cv_type_uid_t = no; then
+ 
+@@ -8083,13 +13783,13 @@
+ 
+ fi
+ 
+-echo "$as_me:8086: checking return type of signal handlers" >&5
++echo "configure:13786: checking return type of signal handlers" >&5
+ echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
+ if test "${ac_cv_type_signal+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 8092 "configure"
++#line 13792 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #include <signal.h>
+@@ -8111,26 +13811,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:8114: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:8117: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:8120: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:8123: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:13814: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_signal=void
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_signal=int
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_signal=int
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:8133: result: $ac_cv_type_signal" >&5
++echo "configure:13823: result: $ac_cv_type_signal" >&5
+ echo "${ECHO_T}$ac_cv_type_signal" >&6
+ 
+ cat >>confdefs.h <<EOF
+@@ -8138,20 +13828,20 @@
+ EOF
+ 
+ if test "$ac_cv_type_signal" = "void" ; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define VOID_RETSIGTYPE 1
+ EOF
+ 
+ fi
+ 
+-echo "$as_me:8148: checking whether time.h and sys/time.h may both be included" >&5
++echo "configure:13838: checking whether time.h and sys/time.h may both be included" >&5
+ echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
+ if test "${ac_cv_header_time+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 8154 "configure"
++#line 13844 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #include <sys/time.h>
+@@ -8166,26 +13856,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:8169: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:8172: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:8175: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:8178: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:13859: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_header_time=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_header_time=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_header_time=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:8188: result: $ac_cv_header_time" >&5
++echo "configure:13868: result: $ac_cv_header_time" >&5
+ echo "${ECHO_T}$ac_cv_header_time" >&6
+ if test $ac_cv_header_time = yes; then
+ 
+@@ -8198,25 +13878,21 @@
+ for ac_header in standards.h
+ do
+ ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
+-echo "$as_me:8201: checking for $ac_header" >&5
++
++echo "configure:13882: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 8207 "configure"
++#line 13888 "configure"
+ #include "confdefs.h"
+ #include <$ac_header>
++
+ _ACEOF
+-if { (eval echo "$as_me:8211: \"$ac_cpp conftest.$ac_ext\"") >&5
+-  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+-  ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
+-  rm -f conftest.er1
+-  cat conftest.err >&5
+-  echo "$as_me:8217: \$? = $ac_status" >&5
+-  (exit $ac_status); } >/dev/null; then
+-  if test -s conftest.err; then
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:13894: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+   else
+     ac_cpp_err=
+@@ -8224,16 +13900,19 @@
+ else
+   ac_cpp_err=yes
+ fi
++
+ if test -z "$ac_cpp_err"; then
+   eval "$ac_ac_Header=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  cat conftest.err >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_Header=no"
+ fi
+-rm -f conftest.err conftest.$ac_ext
++rm -f conftest*
++
+ fi
+-echo "$as_me:8236: result: `eval echo '${'$ac_ac_Header'}'`" >&5
++echo "configure:13915: result: `eval echo '${'$ac_ac_Header'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
+ if test `eval echo '${'$ac_ac_Header'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -8247,13 +13926,13 @@
+ 
+ cv=`echo "$i" | sed 'y%./+-%__p_%'`
+ 
+-echo "$as_me:8250: checking for $i" >&5
++echo "configure:13929: checking for $i" >&5
+ echo $ECHO_N "checking for $i... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_header_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 8256 "configure"
++#line 13935 "configure"
+ #include "confdefs.h"
+ \
+ #ifdef HAVE_STANDARDS_H
+@@ -8262,15 +13941,9 @@
+ #include <$i>
+ 
+ _ACEOF
+-if { (eval echo "$as_me:8265: \"$ac_cpp conftest.$ac_ext\"") >&5
+-  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+-  ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
+-  rm -f conftest.er1
+-  cat conftest.err >&5
+-  echo "$as_me:8271: \$? = $ac_status" >&5
+-  (exit $ac_status); } >/dev/null; then
+-  if test -s conftest.err; then
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:13945: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+   else
+     ac_cpp_err=
+@@ -8278,16 +13951,19 @@
+ else
+   ac_cpp_err=yes
+ fi
++
+ if test -z "$ac_cpp_err"; then
+   eval "ac_cv_header_$cv=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  cat conftest.err >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_header_$cv=no"
+ fi
+-rm -f conftest.err conftest.$ac_ext
++rm -f conftest*
++
+ fi
+-echo "$as_me:8290: result: `eval echo '${'ac_cv_header_$cv'}'`" >&5
++echo "configure:13966: result: `eval echo '${'ac_cv_header_$cv'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'ac_cv_header_$cv'}'`" >&6
+ ac_res=`eval echo \\$ac_cv_header_$cv`
+ if test "$ac_res" = yes; then
+@@ -8299,29 +13975,26 @@
+ fi
+ done
+ if false;then
++	
+ 
+ for ac_header in netinet/ip.h netinet/tcp.h
+ do
+ ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
+-echo "$as_me:8306: checking for $ac_header" >&5
++
++echo "configure:13984: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 8312 "configure"
++#line 13990 "configure"
+ #include "confdefs.h"
+ #include <$ac_header>
++
+ _ACEOF
+-if { (eval echo "$as_me:8316: \"$ac_cpp conftest.$ac_ext\"") >&5
+-  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+-  ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
+-  rm -f conftest.er1
+-  cat conftest.err >&5
+-  echo "$as_me:8322: \$? = $ac_status" >&5
+-  (exit $ac_status); } >/dev/null; then
+-  if test -s conftest.err; then
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:13996: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+   else
+     ac_cpp_err=
+@@ -8329,16 +14002,19 @@
+ else
+   ac_cpp_err=yes
+ fi
++
+ if test -z "$ac_cpp_err"; then
+   eval "$ac_ac_Header=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  cat conftest.err >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_Header=no"
+ fi
+-rm -f conftest.err conftest.$ac_ext
++rm -f conftest*
++
+ fi
+-echo "$as_me:8341: result: `eval echo '${'$ac_ac_Header'}'`" >&5
++echo "configure:14017: result: `eval echo '${'$ac_ac_Header'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
+ if test `eval echo '${'$ac_ac_Header'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -8353,13 +14029,13 @@
+ for ac_func in getlogin setlogin
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:8356: checking for $ac_func" >&5
++echo "configure:14032: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 8362 "configure"
++#line 14038 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -8390,26 +14066,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:8393: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:8396: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:8399: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:8402: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:14069: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:8412: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:14078: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -8420,7 +14086,7 @@
+ done
+ 
+ if test "$ac_cv_func_getlogin" = yes; then
+-echo "$as_me:8423: checking if getlogin is posix" >&5
++echo "configure:14089: checking if getlogin is posix" >&5
+ echo $ECHO_N "checking if getlogin is posix... $ECHO_C" >&6
+ if test "${ac_cv_func_getlogin_posix+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -8433,10 +14099,10 @@
+ fi
+ 
+ fi
+-echo "$as_me:8436: result: $ac_cv_func_getlogin_posix" >&5
++echo "configure:14102: result: $ac_cv_func_getlogin_posix" >&5
+ echo "${ECHO_T}$ac_cv_func_getlogin_posix" >&6
+ if test "$ac_cv_func_getlogin_posix" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define POSIX_GETLOGIN 1
+ EOF
+@@ -8444,7 +14110,7 @@
+ fi
+ fi
+ 
+-echo "$as_me:8447: checking if realloc if broken" >&5
++echo "configure:14113: checking if realloc if broken" >&5
+ echo $ECHO_N "checking if realloc if broken... $ECHO_C" >&6
+ if test "${ac_cv_func_realloc_broken+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -8455,7 +14121,7 @@
+   :
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 8458 "configure"
++#line 14124 "configure"
+ #include "confdefs.h"
+ 
+ #include <stddef.h>
+@@ -8468,31 +14134,22 @@
+ 
+ _ACEOF
+ rm -f conftest$ac_exeext
+-if { (eval echo "$as_me:8471: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:8474: \$? = $ac_status" >&5
+-  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
+-  { (eval echo "$as_me:8476: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:8479: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:14137: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
++   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
+   :
+ else
+-  echo "$as_me: program exited with status $ac_status" >&5
+-echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_realloc_broken=yes
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_realloc_broken=yes
+ fi
+-rm -f core core.* *.core conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+ 
+ fi
+-echo "$as_me:8492: result: $ac_cv_func_realloc_broken" >&5
++echo "configure:14149: result: $ac_cv_func_realloc_broken" >&5
+ echo "${ECHO_T}$ac_cv_func_realloc_broken" >&6
+ if test "$ac_cv_func_realloc_broken" = yes ; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define BROKEN_REALLOC 1
+ EOF
+@@ -8516,13 +14173,13 @@
+   WFLAGS_NOIMPLICITINT="-Wno-implicit-int"
+ fi
+ 
+-echo "$as_me:8519: checking for ssize_t" >&5
++echo "configure:14176: checking for ssize_t" >&5
+ echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
+ if test "${ac_cv_type_ssize_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 8525 "configure"
++#line 14182 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -8540,7 +14197,7 @@
+ rm -f conftest*
+ 
+ fi
+-echo "$as_me:8543: result: $ac_cv_type_ssize_t" >&5
++echo "configure:14200: result: $ac_cv_type_ssize_t" >&5
+ echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
+ if test $ac_cv_type_ssize_t = no; then
+ 
+@@ -8551,13 +14208,13 @@
+ fi
+ 
+ cv=`echo "long long" | sed 'y%./+- %__p__%'`
+-echo "$as_me:8554: checking for long long" >&5
++echo "configure:14211: checking for long long" >&5
+ echo $ECHO_N "checking for long long... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 8560 "configure"
++#line 14217 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -8574,38 +14231,28 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:8577: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:8580: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:8583: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:8586: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:14234: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_type_$cv=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_type_$cv=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_type_$cv=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:8597: result: $ac_foo" >&5
++echo "configure:14244: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo long long | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:8602: checking for long long" >&5
++	echo "configure:14249: checking for long long" >&5
+ echo $ECHO_N "checking for long long... $ECHO_C" >&6
+ if test "${ac_cv_type_long_long+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 8608 "configure"
++#line 14255 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -8620,26 +14267,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:8623: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:8626: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:8629: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:8632: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:14270: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_long_long=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_long_long=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_long_long=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:8642: result: $ac_cv_type_long_long" >&5
++echo "configure:14279: result: $ac_cv_type_long_long" >&5
+ echo "${ECHO_T}$ac_cv_type_long_long" >&6
+ if test $ac_cv_type_long_long = yes; then
+ 
+@@ -8711,25 +14348,21 @@
+ 
+ do
+ ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
+-echo "$as_me:8714: checking for $ac_header" >&5
++
++echo "configure:14352: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 8720 "configure"
++#line 14358 "configure"
+ #include "confdefs.h"
+ #include <$ac_header>
++
+ _ACEOF
+-if { (eval echo "$as_me:8724: \"$ac_cpp conftest.$ac_ext\"") >&5
+-  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+-  ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
+-  rm -f conftest.er1
+-  cat conftest.err >&5
+-  echo "$as_me:8730: \$? = $ac_status" >&5
+-  (exit $ac_status); } >/dev/null; then
+-  if test -s conftest.err; then
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:14364: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+   else
+     ac_cpp_err=
+@@ -8737,16 +14370,19 @@
+ else
+   ac_cpp_err=yes
+ fi
++
+ if test -z "$ac_cpp_err"; then
+   eval "$ac_ac_Header=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  cat conftest.err >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_Header=no"
+ fi
+-rm -f conftest.err conftest.$ac_ext
++rm -f conftest*
++
+ fi
+-echo "$as_me:8749: result: `eval echo '${'$ac_ac_Header'}'`" >&5
++echo "configure:14385: result: `eval echo '${'$ac_ac_Header'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
+ if test `eval echo '${'$ac_ac_Header'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -8756,6 +14392,8 @@
+ fi
+ done
+ 
++	
++
+ if test "$ac_cv_header_err_h" = yes; then
+   have_err_h_TRUE=
+   have_err_h_FALSE='#'
+@@ -8803,13 +14441,13 @@
+   v6type=unknown
+ v6lib=none
+ 
+-echo "$as_me:8806: checking ipv6 stack type" >&5
++echo "configure:14444: checking ipv6 stack type" >&5
+ echo $ECHO_N "checking ipv6 stack type... $ECHO_C" >&6
+ for i in v6d toshiba kame inria zeta linux; do
+ 	case $i in
+ 	v6d)
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 8812 "configure"
++#line 14450 "configure"
+ #include "confdefs.h"
+ 
+ #include </usr/local/v6/include/sys/types.h>
+@@ -8828,7 +14466,7 @@
+ 		;;
+ 	toshiba)
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 8831 "configure"
++#line 14469 "configure"
+ #include "confdefs.h"
+ 
+ #include <sys/param.h>
+@@ -8847,7 +14485,7 @@
+ 		;;
+ 	kame)
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 8850 "configure"
++#line 14488 "configure"
+ #include "confdefs.h"
+ 
+ #include <netinet/in.h>
+@@ -8866,7 +14504,7 @@
+ 		;;
+ 	inria)
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 8869 "configure"
++#line 14507 "configure"
+ #include "confdefs.h"
+ 
+ #include <netinet/in.h>
+@@ -8883,7 +14521,7 @@
+ 		;;
+ 	zeta)
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 8886 "configure"
++#line 14524 "configure"
+ #include "confdefs.h"
+ 
+ #include <sys/param.h>
+@@ -8913,7 +14551,7 @@
+ 		break
+ 	fi
+ done
+-echo "$as_me:8916: result: $v6type" >&5
++echo "configure:14554: result: $v6type" >&5
+ echo "${ECHO_T}$v6type" >&6
+ 
+ if test "$v6lib" != "none"; then
+@@ -8925,7 +14563,7 @@
+ 	done
+ fi
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 8928 "configure"
++#line 14566 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_SYS_TYPES_H
+@@ -8960,29 +14598,19 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:8963: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:8966: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:8969: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:8972: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:14601: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_lib_ipv6=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_lib_ipv6=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_lib_ipv6=no
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+ 
+-echo "$as_me:8983: checking for IPv6" >&5
++echo "configure:14611: checking for IPv6" >&5
+ echo $ECHO_N "checking for IPv6... $ECHO_C" >&6
+-echo "$as_me:8985: result: $ac_cv_lib_ipv6" >&5
++echo "configure:14613: result: $ac_cv_lib_ipv6" >&5
+ echo "${ECHO_T}$ac_cv_lib_ipv6" >&6
+ if test "$ac_cv_lib_ipv6" = yes; then
+ 
+@@ -8994,7 +14622,7 @@
+   CFLAGS="${save_CFLAGS}"
+ fi
+ 
+-echo "$as_me:8997: checking for socket" >&5
++echo "configure:14625: checking for socket" >&5
+ echo $ECHO_N "checking for socket... $ECHO_C" >&6
+ if test "${ac_cv_funclib_socket+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -9010,7 +14638,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 9013 "configure"
++#line 14641 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -9022,23 +14650,13 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:9025: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9028: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:9031: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9034: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:14653: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_socket=$ac_lib; else ac_cv_funclib_socket=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_socket=\${ac_cv_funclib_socket-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -9049,17 +14667,17 @@
+ eval "ac_res=\$ac_cv_funclib_socket"
+ 
+ if false; then
+-
++	
+ for ac_func in socket
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:9056: checking for $ac_func" >&5
++echo "configure:14674: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 9062 "configure"
++#line 14680 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -9090,26 +14708,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:9093: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9096: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:9099: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9102: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:14711: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:9112: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:14720: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -9133,13 +14741,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:9136: result: yes" >&5
++	echo "configure:14744: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_socket=no"
+ 	eval "LIB_socket="
+-	echo "$as_me:9142: result: no" >&5
++	echo "configure:14750: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -9153,7 +14761,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:9156: result: yes, in $ac_res" >&5
++	echo "configure:14764: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -9162,7 +14770,7 @@
+ 	LIBS="$LIB_socket $LIBS"
+ fi
+ 
+-echo "$as_me:9165: checking for gethostbyname" >&5
++echo "configure:14773: checking for gethostbyname" >&5
+ echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
+ if test "${ac_cv_funclib_gethostbyname+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -9178,7 +14786,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 9181 "configure"
++#line 14789 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -9190,23 +14798,13 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:9193: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9196: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:9199: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9202: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:14801: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_gethostbyname=$ac_lib; else ac_cv_funclib_gethostbyname=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_gethostbyname=\${ac_cv_funclib_gethostbyname-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -9217,17 +14815,17 @@
+ eval "ac_res=\$ac_cv_funclib_gethostbyname"
+ 
+ if false; then
+-
++	
+ for ac_func in gethostbyname
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:9224: checking for $ac_func" >&5
++echo "configure:14822: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 9230 "configure"
++#line 14828 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -9258,26 +14856,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:9261: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9264: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:9267: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9270: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:14859: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:9280: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:14868: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -9301,13 +14889,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:9304: result: yes" >&5
++	echo "configure:14892: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_gethostbyname=no"
+ 	eval "LIB_gethostbyname="
+-	echo "$as_me:9310: result: no" >&5
++	echo "configure:14898: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -9321,7 +14909,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:9324: result: yes, in $ac_res" >&5
++	echo "configure:14912: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -9330,7 +14918,7 @@
+ 	LIBS="$LIB_gethostbyname $LIBS"
+ fi
+ 
+-echo "$as_me:9333: checking for syslog" >&5
++echo "configure:14921: checking for syslog" >&5
+ echo $ECHO_N "checking for syslog... $ECHO_C" >&6
+ if test "${ac_cv_funclib_syslog+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -9346,7 +14934,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 9349 "configure"
++#line 14937 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -9358,23 +14946,13 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:9361: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9364: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:9367: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9370: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:14949: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_syslog=$ac_lib; else ac_cv_funclib_syslog=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_syslog=\${ac_cv_funclib_syslog-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -9385,17 +14963,17 @@
+ eval "ac_res=\$ac_cv_funclib_syslog"
+ 
+ if false; then
+-
++	
+ for ac_func in syslog
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:9392: checking for $ac_func" >&5
++echo "configure:14970: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 9398 "configure"
++#line 14976 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -9426,26 +15004,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:9429: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9432: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:9435: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9438: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:15007: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:9448: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:15016: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -9469,13 +15037,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:9472: result: yes" >&5
++	echo "configure:15040: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_syslog=no"
+ 	eval "LIB_syslog="
+-	echo "$as_me:9478: result: no" >&5
++	echo "configure:15046: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -9489,7 +15057,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:9492: result: yes, in $ac_res" >&5
++	echo "configure:15060: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -9498,7 +15066,7 @@
+ 	LIBS="$LIB_syslog $LIBS"
+ fi
+ 
+-echo "$as_me:9501: checking for gethostbyname2" >&5
++echo "configure:15069: checking for gethostbyname2" >&5
+ echo $ECHO_N "checking for gethostbyname2... $ECHO_C" >&6
+ if test "${ac_cv_funclib_gethostbyname2+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -9514,7 +15082,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 9517 "configure"
++#line 15085 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -9526,23 +15094,13 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:9529: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9532: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:9535: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9538: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:15097: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_gethostbyname2=$ac_lib; else ac_cv_funclib_gethostbyname2=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_gethostbyname2=\${ac_cv_funclib_gethostbyname2-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -9553,17 +15111,17 @@
+ eval "ac_res=\$ac_cv_funclib_gethostbyname2"
+ 
+ if false; then
+-
++	
+ for ac_func in gethostbyname2
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:9560: checking for $ac_func" >&5
++echo "configure:15118: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 9566 "configure"
++#line 15124 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -9594,26 +15152,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:9597: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9600: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:9603: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9606: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:15155: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:9616: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:15164: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -9637,13 +15185,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:9640: result: yes" >&5
++	echo "configure:15188: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_gethostbyname2=no"
+ 	eval "LIB_gethostbyname2="
+-	echo "$as_me:9646: result: no" >&5
++	echo "configure:15194: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -9657,7 +15205,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:9660: result: yes, in $ac_res" >&5
++	echo "configure:15208: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -9666,7 +15214,7 @@
+ 	LIBS="$LIB_gethostbyname2 $LIBS"
+ fi
+ 
+-echo "$as_me:9669: checking for res_search" >&5
++echo "configure:15217: checking for res_search" >&5
+ echo $ECHO_N "checking for res_search... $ECHO_C" >&6
+ if test "${ac_cv_funclib_res_search+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -9682,7 +15230,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 9685 "configure"
++#line 15233 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -9708,23 +15256,13 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:9711: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9714: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:9717: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9720: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:15259: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_res_search=$ac_lib; else ac_cv_funclib_res_search=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_res_search=\${ac_cv_funclib_res_search-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -9735,17 +15273,17 @@
+ eval "ac_res=\$ac_cv_funclib_res_search"
+ 
+ if false; then
+-
++	
+ for ac_func in res_search
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:9742: checking for $ac_func" >&5
++echo "configure:15280: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 9748 "configure"
++#line 15286 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -9776,26 +15314,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:9779: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9782: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:9785: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9788: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:15317: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:9798: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:15326: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -9819,13 +15347,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:9822: result: yes" >&5
++	echo "configure:15350: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_res_search=no"
+ 	eval "LIB_res_search="
+-	echo "$as_me:9828: result: no" >&5
++	echo "configure:15356: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -9839,7 +15367,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:9842: result: yes, in $ac_res" >&5
++	echo "configure:15370: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -9848,7 +15376,7 @@
+ 	LIBS="$LIB_res_search $LIBS"
+ fi
+ 
+-echo "$as_me:9851: checking for dn_expand" >&5
++echo "configure:15379: checking for dn_expand" >&5
+ echo $ECHO_N "checking for dn_expand... $ECHO_C" >&6
+ if test "${ac_cv_funclib_dn_expand+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -9864,7 +15392,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 9867 "configure"
++#line 15395 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -9890,23 +15418,13 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:9893: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9896: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:9899: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9902: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:15421: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_dn_expand=$ac_lib; else ac_cv_funclib_dn_expand=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_dn_expand=\${ac_cv_funclib_dn_expand-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -9917,17 +15435,17 @@
+ eval "ac_res=\$ac_cv_funclib_dn_expand"
+ 
+ if false; then
+-
++	
+ for ac_func in dn_expand
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:9924: checking for $ac_func" >&5
++echo "configure:15442: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 9930 "configure"
++#line 15448 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -9958,26 +15476,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:9961: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9964: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:9967: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:9970: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:15479: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:9980: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:15488: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -10001,13 +15509,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:10004: result: yes" >&5
++	echo "configure:15512: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_dn_expand=no"
+ 	eval "LIB_dn_expand="
+-	echo "$as_me:10010: result: no" >&5
++	echo "configure:15518: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -10021,7 +15529,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:10024: result: yes, in $ac_res" >&5
++	echo "configure:15532: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -10030,7 +15538,7 @@
+ 	LIBS="$LIB_dn_expand $LIBS"
+ fi
+ 
+-echo "$as_me:10033: checking for working snprintf" >&5
++echo "configure:15541: checking for working snprintf" >&5
+ echo $ECHO_N "checking for working snprintf... $ECHO_C" >&6
+ if test "${ac_cv_func_snprintf_working+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -10040,7 +15548,7 @@
+   :
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 10043 "configure"
++#line 15551 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -10053,31 +15561,23 @@
+ }
+ _ACEOF
+ rm -f conftest$ac_exeext
+-if { (eval echo "$as_me:10056: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10059: \$? = $ac_status" >&5
+-  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
+-  { (eval echo "$as_me:10061: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10064: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:15564: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
++   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
+   :
+ else
+-  echo "$as_me: program exited with status $ac_status" >&5
+-echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_snprintf_working=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_snprintf_working=no
+ fi
+-rm -f core core.* *.core conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
++
+ fi
+-echo "$as_me:10076: result: $ac_cv_func_snprintf_working" >&5
++echo "configure:15576: result: $ac_cv_func_snprintf_working" >&5
+ echo "${ECHO_T}$ac_cv_func_snprintf_working" >&6
+ 
+ if test "$ac_cv_func_snprintf_working" = yes; then
+-
++	
+ cat >>confdefs.h <<EOF
+ #define HAVE_SNPRINTF 1
+ EOF
+@@ -10086,13 +15586,13 @@
+ if test "$ac_cv_func_snprintf_working" = yes; then
+ 
+ if test "$ac_cv_func_snprintf+set" != set -o "$ac_cv_func_snprintf" = yes; then
+-echo "$as_me:10089: checking if snprintf needs a prototype" >&5
++echo "configure:15589: checking if snprintf needs a prototype" >&5
+ echo $ECHO_N "checking if snprintf needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_snprintf_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 10095 "configure"
++#line 15595 "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
+ int
+@@ -10107,30 +15607,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:10110: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10113: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:10116: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10119: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:15610: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_snprintf_noproto=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_snprintf_noproto=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_snprintf_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:10129: result: $ac_cv_func_snprintf_noproto" >&5
++echo "configure:15619: result: $ac_cv_func_snprintf_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_snprintf_noproto" >&6
+ 
+ if test "$ac_cv_func_snprintf_noproto" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define NEED_SNPRINTF_PROTO 1
+ EOF
+@@ -10141,7 +15631,7 @@
+ 
+ fi
+ 
+-echo "$as_me:10144: checking for working vsnprintf" >&5
++echo "configure:15634: checking for working vsnprintf" >&5
+ echo $ECHO_N "checking for working vsnprintf... $ECHO_C" >&6
+ if test "${ac_cv_func_vsnprintf_working+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -10151,7 +15641,7 @@
+   :
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 10154 "configure"
++#line 15644 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -10174,31 +15664,23 @@
+ }
+ _ACEOF
+ rm -f conftest$ac_exeext
+-if { (eval echo "$as_me:10177: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10180: \$? = $ac_status" >&5
+-  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
+-  { (eval echo "$as_me:10182: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10185: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:15667: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
++   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
+   :
+ else
+-  echo "$as_me: program exited with status $ac_status" >&5
+-echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_vsnprintf_working=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_vsnprintf_working=no
+ fi
+-rm -f core core.* *.core conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
++
+ fi
+-echo "$as_me:10197: result: $ac_cv_func_vsnprintf_working" >&5
++echo "configure:15679: result: $ac_cv_func_vsnprintf_working" >&5
+ echo "${ECHO_T}$ac_cv_func_vsnprintf_working" >&6
+ 
+ if test "$ac_cv_func_vsnprintf_working" = yes; then
+-
++	
+ cat >>confdefs.h <<EOF
+ #define HAVE_VSNPRINTF 1
+ EOF
+@@ -10207,13 +15689,13 @@
+ if test "$ac_cv_func_vsnprintf_working" = yes; then
+ 
+ if test "$ac_cv_func_vsnprintf+set" != set -o "$ac_cv_func_vsnprintf" = yes; then
+-echo "$as_me:10210: checking if vsnprintf needs a prototype" >&5
++echo "configure:15692: checking if vsnprintf needs a prototype" >&5
+ echo $ECHO_N "checking if vsnprintf needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_vsnprintf_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 10216 "configure"
++#line 15698 "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
+ int
+@@ -10228,30 +15710,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:10231: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10234: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:10237: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10240: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:15713: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_vsnprintf_noproto=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_vsnprintf_noproto=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_vsnprintf_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:10250: result: $ac_cv_func_vsnprintf_noproto" >&5
++echo "configure:15722: result: $ac_cv_func_vsnprintf_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_vsnprintf_noproto" >&6
+ 
+ if test "$ac_cv_func_vsnprintf_noproto" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define NEED_VSNPRINTF_PROTO 1
+ EOF
+@@ -10262,14 +15734,14 @@
+ 
+ fi
+ 
+-echo "$as_me:10265: checking for working glob" >&5
++echo "configure:15737: checking for working glob" >&5
+ echo $ECHO_N "checking for working glob... $ECHO_C" >&6
+ if test "${ac_cv_func_glob_working+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   ac_cv_func_glob_working=yes
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 10272 "configure"
++#line 15744 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -10292,30 +15764,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:10295: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10298: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:10301: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10304: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:15767: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   :
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_glob_working=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_glob_working=no
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:10314: result: $ac_cv_func_glob_working" >&5
++echo "configure:15776: result: $ac_cv_func_glob_working" >&5
+ echo "${ECHO_T}$ac_cv_func_glob_working" >&6
+ 
+ if test "$ac_cv_func_glob_working" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_GLOB 1
+ EOF
+@@ -10324,13 +15786,13 @@
+ if test "$ac_cv_func_glob_working" = yes; then
+ 
+ if test "$ac_cv_func_glob+set" != set -o "$ac_cv_func_glob" = yes; then
+-echo "$as_me:10327: checking if glob needs a prototype" >&5
++echo "configure:15789: checking if glob needs a prototype" >&5
+ echo $ECHO_N "checking if glob needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_glob_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 10333 "configure"
++#line 15795 "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
+ #include <glob.h>
+@@ -10346,30 +15808,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:10349: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10352: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:10355: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10358: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:15811: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_glob_noproto=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_glob_noproto=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_glob_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:10368: result: $ac_cv_func_glob_noproto" >&5
++echo "configure:15820: result: $ac_cv_func_glob_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_glob_noproto" >&6
+ 
+ if test "$ac_cv_func_glob_noproto" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define NEED_GLOB_PROTO 1
+ EOF
+@@ -10419,13 +15871,13 @@
+ 
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:10422: checking for $ac_func" >&5
++echo "configure:15874: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 10428 "configure"
++#line 15880 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -10456,26 +15908,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:10459: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10462: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:10465: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10468: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:15911: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:10478: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:15920: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -10489,7 +15931,7 @@
+ 	LIBOBJS="$LIBOBJS getcap.o"
+ fi
+ 
+-echo "$as_me:10492: checking for getsockopt" >&5
++echo "configure:15934: checking for getsockopt" >&5
+ echo $ECHO_N "checking for getsockopt... $ECHO_C" >&6
+ if test "${ac_cv_funclib_getsockopt+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -10505,7 +15947,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 10508 "configure"
++#line 15950 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_SYS_TYPES_H
+ #include <sys/types.h>
+@@ -10522,23 +15964,13 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:10525: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10528: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:10531: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10534: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:15967: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_getsockopt=$ac_lib; else ac_cv_funclib_getsockopt=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_getsockopt=\${ac_cv_funclib_getsockopt-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -10549,17 +15981,17 @@
+ eval "ac_res=\$ac_cv_funclib_getsockopt"
+ 
+ if false; then
+-
++	
+ for ac_func in getsockopt
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:10556: checking for $ac_func" >&5
++echo "configure:15988: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 10562 "configure"
++#line 15994 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -10590,26 +16022,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:10593: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10596: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:10599: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10602: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:16025: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:10612: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:16034: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -10633,13 +16055,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:10636: result: yes" >&5
++	echo "configure:16058: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_getsockopt=no"
+ 	eval "LIB_getsockopt="
+-	echo "$as_me:10642: result: no" >&5
++	echo "configure:16064: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -10653,12 +16075,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:10656: result: yes, in $ac_res" >&5
++	echo "configure:16078: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "$as_me:10661: checking for setsockopt" >&5
++echo "configure:16083: checking for setsockopt" >&5
+ echo $ECHO_N "checking for setsockopt... $ECHO_C" >&6
+ if test "${ac_cv_funclib_setsockopt+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -10674,7 +16096,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 10677 "configure"
++#line 16099 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_SYS_TYPES_H
+ #include <sys/types.h>
+@@ -10691,23 +16113,13 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:10694: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10697: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:10700: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10703: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:16116: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_setsockopt=$ac_lib; else ac_cv_funclib_setsockopt=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_setsockopt=\${ac_cv_funclib_setsockopt-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -10718,17 +16130,17 @@
+ eval "ac_res=\$ac_cv_funclib_setsockopt"
+ 
+ if false; then
+-
++	
+ for ac_func in setsockopt
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:10725: checking for $ac_func" >&5
++echo "configure:16137: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 10731 "configure"
++#line 16143 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -10759,26 +16171,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:10762: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10765: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:10768: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10771: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:16174: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:10781: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:16183: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -10802,13 +16204,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:10805: result: yes" >&5
++	echo "configure:16207: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_setsockopt=no"
+ 	eval "LIB_setsockopt="
+-	echo "$as_me:10811: result: no" >&5
++	echo "configure:16213: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -10822,12 +16224,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:10825: result: yes, in $ac_res" >&5
++	echo "configure:16227: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "$as_me:10830: checking for hstrerror" >&5
++echo "configure:16232: checking for hstrerror" >&5
+ echo $ECHO_N "checking for hstrerror... $ECHO_C" >&6
+ if test "${ac_cv_funclib_hstrerror+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -10843,7 +16245,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 10846 "configure"
++#line 16248 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_NETDB_H
+ #include <netdb.h>
+@@ -10857,23 +16259,13 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:10860: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10863: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:10866: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10869: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:16262: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_hstrerror=$ac_lib; else ac_cv_funclib_hstrerror=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_hstrerror=\${ac_cv_funclib_hstrerror-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -10884,17 +16276,17 @@
+ eval "ac_res=\$ac_cv_funclib_hstrerror"
+ 
+ if false; then
+-
++	
+ for ac_func in hstrerror
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:10891: checking for $ac_func" >&5
++echo "configure:16283: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 10897 "configure"
++#line 16289 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -10925,26 +16317,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:10928: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10931: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:10934: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:10937: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:16320: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:10947: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:16329: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -10968,13 +16350,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:10971: result: yes" >&5
++	echo "configure:16353: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_hstrerror=no"
+ 	eval "LIB_hstrerror="
+-	echo "$as_me:10977: result: no" >&5
++	echo "configure:16359: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -10988,7 +16370,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:10991: result: yes, in $ac_res" >&5
++	echo "configure:16373: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -11004,13 +16386,13 @@
+ if test "$ac_cv_func_hstrerror" = yes; then
+ 
+ if test "$ac_cv_func_hstrerror+set" != set -o "$ac_cv_func_hstrerror" = yes; then
+-echo "$as_me:11007: checking if hstrerror needs a prototype" >&5
++echo "configure:16389: checking if hstrerror needs a prototype" >&5
+ echo $ECHO_N "checking if hstrerror needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_hstrerror_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 11013 "configure"
++#line 16395 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_NETDB_H
+@@ -11028,30 +16410,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:11031: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11034: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:11037: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11040: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:16413: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_hstrerror_noproto=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_hstrerror_noproto=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_hstrerror_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:11050: result: $ac_cv_func_hstrerror_noproto" >&5
++echo "configure:16422: result: $ac_cv_func_hstrerror_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_hstrerror_noproto" >&6
+ 
+ if test "$ac_cv_func_hstrerror_noproto" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define NEED_HSTRERROR_PROTO 1
+ EOF
+@@ -11065,13 +16437,13 @@
+ if test "$ac_cv_func_asprintf" = yes; then
+ 
+ if test "$ac_cv_func_asprintf+set" != set -o "$ac_cv_func_asprintf" = yes; then
+-echo "$as_me:11068: checking if asprintf needs a prototype" >&5
++echo "configure:16440: checking if asprintf needs a prototype" >&5
+ echo $ECHO_N "checking if asprintf needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_asprintf_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 11074 "configure"
++#line 16446 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -11088,30 +16460,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:11091: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11094: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:11097: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11100: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:16463: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_asprintf_noproto=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_asprintf_noproto=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_asprintf_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:11110: result: $ac_cv_func_asprintf_noproto" >&5
++echo "configure:16472: result: $ac_cv_func_asprintf_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_asprintf_noproto" >&6
+ 
+ if test "$ac_cv_func_asprintf_noproto" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define NEED_ASPRINTF_PROTO 1
+ EOF
+@@ -11123,13 +16485,13 @@
+ if test "$ac_cv_func_vasprintf" = yes; then
+ 
+ if test "$ac_cv_func_vasprintf+set" != set -o "$ac_cv_func_vasprintf" = yes; then
+-echo "$as_me:11126: checking if vasprintf needs a prototype" >&5
++echo "configure:16488: checking if vasprintf needs a prototype" >&5
+ echo $ECHO_N "checking if vasprintf needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_vasprintf_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 11132 "configure"
++#line 16494 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -11146,30 +16508,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:11149: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11152: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:11155: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11158: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:16511: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_vasprintf_noproto=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_vasprintf_noproto=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_vasprintf_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:11168: result: $ac_cv_func_vasprintf_noproto" >&5
++echo "configure:16520: result: $ac_cv_func_vasprintf_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_vasprintf_noproto" >&6
+ 
+ if test "$ac_cv_func_vasprintf_noproto" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define NEED_VASPRINTF_PROTO 1
+ EOF
+@@ -11181,13 +16533,13 @@
+ if test "$ac_cv_func_asnprintf" = yes; then
+ 
+ if test "$ac_cv_func_asnprintf+set" != set -o "$ac_cv_func_asnprintf" = yes; then
+-echo "$as_me:11184: checking if asnprintf needs a prototype" >&5
++echo "configure:16536: checking if asnprintf needs a prototype" >&5
+ echo $ECHO_N "checking if asnprintf needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_asnprintf_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 11190 "configure"
++#line 16542 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -11204,30 +16556,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:11207: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11210: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:11213: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11216: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:16559: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_asnprintf_noproto=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_asnprintf_noproto=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_asnprintf_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:11226: result: $ac_cv_func_asnprintf_noproto" >&5
++echo "configure:16568: result: $ac_cv_func_asnprintf_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_asnprintf_noproto" >&6
+ 
+ if test "$ac_cv_func_asnprintf_noproto" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define NEED_ASNPRINTF_PROTO 1
+ EOF
+@@ -11239,13 +16581,13 @@
+ if test "$ac_cv_func_vasnprintf" = yes; then
+ 
+ if test "$ac_cv_func_vasnprintf+set" != set -o "$ac_cv_func_vasnprintf" = yes; then
+-echo "$as_me:11242: checking if vasnprintf needs a prototype" >&5
++echo "configure:16584: checking if vasnprintf needs a prototype" >&5
+ echo $ECHO_N "checking if vasnprintf needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_vasnprintf_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 11248 "configure"
++#line 16590 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -11262,30 +16604,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:11265: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11268: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:11271: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11274: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:16607: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_vasnprintf_noproto=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_vasnprintf_noproto=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_vasnprintf_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:11284: result: $ac_cv_func_vasnprintf_noproto" >&5
++echo "configure:16616: result: $ac_cv_func_vasnprintf_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_vasnprintf_noproto" >&6
+ 
+ if test "$ac_cv_func_vasnprintf_noproto" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define NEED_VASNPRINTF_PROTO 1
+ EOF
+@@ -11295,7 +16627,7 @@
+ fi
+ fi
+ 
+-echo "$as_me:11298: checking for bswap16" >&5
++echo "configure:16630: checking for bswap16" >&5
+ echo $ECHO_N "checking for bswap16... $ECHO_C" >&6
+ if test "${ac_cv_funclib_bswap16+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -11311,7 +16643,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 11314 "configure"
++#line 16646 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_SYS_BSWAP_H
+ #include <sys/bswap.h>
+@@ -11325,23 +16657,13 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:11328: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11331: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:11334: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11337: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:16660: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_bswap16=$ac_lib; else ac_cv_funclib_bswap16=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_bswap16=\${ac_cv_funclib_bswap16-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -11352,17 +16674,17 @@
+ eval "ac_res=\$ac_cv_funclib_bswap16"
+ 
+ if false; then
+-
++	
+ for ac_func in bswap16
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:11359: checking for $ac_func" >&5
++echo "configure:16681: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 11365 "configure"
++#line 16687 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -11393,26 +16715,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:11396: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11399: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:11402: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11405: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:16718: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:11415: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:16727: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -11436,13 +16748,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:11439: result: yes" >&5
++	echo "configure:16751: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_bswap16=no"
+ 	eval "LIB_bswap16="
+-	echo "$as_me:11445: result: no" >&5
++	echo "configure:16757: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -11456,12 +16768,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:11459: result: yes, in $ac_res" >&5
++	echo "configure:16771: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "$as_me:11464: checking for bswap32" >&5
++echo "configure:16776: checking for bswap32" >&5
+ echo $ECHO_N "checking for bswap32... $ECHO_C" >&6
+ if test "${ac_cv_funclib_bswap32+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -11477,7 +16789,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 11480 "configure"
++#line 16792 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_SYS_BSWAP_H
+ #include <sys/bswap.h>
+@@ -11491,23 +16803,13 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:11494: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11497: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:11500: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11503: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:16806: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_bswap32=$ac_lib; else ac_cv_funclib_bswap32=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_bswap32=\${ac_cv_funclib_bswap32-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -11518,17 +16820,17 @@
+ eval "ac_res=\$ac_cv_funclib_bswap32"
+ 
+ if false; then
+-
++	
+ for ac_func in bswap32
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:11525: checking for $ac_func" >&5
++echo "configure:16827: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 11531 "configure"
++#line 16833 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -11559,26 +16861,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:11562: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11565: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:11568: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11571: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:16864: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:11581: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:16873: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -11602,13 +16894,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:11605: result: yes" >&5
++	echo "configure:16897: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_bswap32=no"
+ 	eval "LIB_bswap32="
+-	echo "$as_me:11611: result: no" >&5
++	echo "configure:16903: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -11622,12 +16914,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:11625: result: yes, in $ac_res" >&5
++	echo "configure:16917: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "$as_me:11630: checking for pidfile" >&5
++echo "configure:16922: checking for pidfile" >&5
+ echo $ECHO_N "checking for pidfile... $ECHO_C" >&6
+ if test "${ac_cv_funclib_pidfile+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -11643,7 +16935,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 11646 "configure"
++#line 16938 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_UTIL_H
+ #include <util.h>
+@@ -11657,23 +16949,13 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:11660: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11663: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:11666: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11669: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:16952: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_pidfile=$ac_lib; else ac_cv_funclib_pidfile=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_pidfile=\${ac_cv_funclib_pidfile-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -11684,17 +16966,17 @@
+ eval "ac_res=\$ac_cv_funclib_pidfile"
+ 
+ if false; then
+-
++	
+ for ac_func in pidfile
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:11691: checking for $ac_func" >&5
++echo "configure:16973: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 11697 "configure"
++#line 16979 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -11725,26 +17007,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:11728: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11731: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:11734: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11737: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:17010: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:11747: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:17019: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -11768,13 +17040,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:11771: result: yes" >&5
++	echo "configure:17043: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_pidfile=no"
+ 	eval "LIB_pidfile="
+-	echo "$as_me:11777: result: no" >&5
++	echo "configure:17049: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -11788,12 +17060,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:11791: result: yes, in $ac_res" >&5
++	echo "configure:17063: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "$as_me:11796: checking for getaddrinfo" >&5
++echo "configure:17068: checking for getaddrinfo" >&5
+ echo $ECHO_N "checking for getaddrinfo... $ECHO_C" >&6
+ if test "${ac_cv_funclib_getaddrinfo+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -11809,7 +17081,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 11812 "configure"
++#line 17084 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_NETDB_H
+ #include <netdb.h>
+@@ -11823,23 +17095,13 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:11826: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11829: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:11832: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11835: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:17098: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_getaddrinfo=$ac_lib; else ac_cv_funclib_getaddrinfo=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_getaddrinfo=\${ac_cv_funclib_getaddrinfo-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -11850,17 +17112,17 @@
+ eval "ac_res=\$ac_cv_funclib_getaddrinfo"
+ 
+ if false; then
+-
++	
+ for ac_func in getaddrinfo
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:11857: checking for $ac_func" >&5
++echo "configure:17119: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 11863 "configure"
++#line 17125 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -11891,26 +17153,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:11894: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11897: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:11900: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:11903: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:17156: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:11913: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:17165: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -11934,13 +17186,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:11937: result: yes" >&5
++	echo "configure:17189: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_getaddrinfo=no"
+ 	eval "LIB_getaddrinfo="
+-	echo "$as_me:11943: result: no" >&5
++	echo "configure:17195: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -11954,7 +17206,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:11957: result: yes, in $ac_res" >&5
++	echo "configure:17209: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -11967,7 +17219,7 @@
+ LIBOBJS="$LIBOBJS getaddrinfo.o"
+ fi
+ 
+-echo "$as_me:11970: checking for getnameinfo" >&5
++echo "configure:17222: checking for getnameinfo" >&5
+ echo $ECHO_N "checking for getnameinfo... $ECHO_C" >&6
+ if test "${ac_cv_funclib_getnameinfo+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -11983,7 +17235,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 11986 "configure"
++#line 17238 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_NETDB_H
+ #include <netdb.h>
+@@ -11997,23 +17249,13 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:12000: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:12003: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:12006: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:12009: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:17252: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_getnameinfo=$ac_lib; else ac_cv_funclib_getnameinfo=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_getnameinfo=\${ac_cv_funclib_getnameinfo-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -12024,17 +17266,17 @@
+ eval "ac_res=\$ac_cv_funclib_getnameinfo"
+ 
+ if false; then
+-
++	
+ for ac_func in getnameinfo
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:12031: checking for $ac_func" >&5
++echo "configure:17273: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 12037 "configure"
++#line 17279 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -12065,26 +17307,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:12068: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:12071: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:12074: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:12077: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:17310: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:12087: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:17319: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -12108,13 +17340,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:12111: result: yes" >&5
++	echo "configure:17343: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_getnameinfo=no"
+ 	eval "LIB_getnameinfo="
+-	echo "$as_me:12117: result: no" >&5
++	echo "configure:17349: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -12128,7 +17360,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:12131: result: yes, in $ac_res" >&5
++	echo "configure:17363: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -12141,7 +17373,7 @@
+ LIBOBJS="$LIBOBJS getnameinfo.o"
+ fi
+ 
+-echo "$as_me:12144: checking for freeaddrinfo" >&5
++echo "configure:17376: checking for freeaddrinfo" >&5
+ echo $ECHO_N "checking for freeaddrinfo... $ECHO_C" >&6
+ if test "${ac_cv_funclib_freeaddrinfo+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -12157,7 +17389,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 12160 "configure"
++#line 17392 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_NETDB_H
+ #include <netdb.h>
+@@ -12171,23 +17403,13 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:12174: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:12177: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:12180: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:12183: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:17406: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_freeaddrinfo=$ac_lib; else ac_cv_funclib_freeaddrinfo=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_freeaddrinfo=\${ac_cv_funclib_freeaddrinfo-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -12198,17 +17420,17 @@
+ eval "ac_res=\$ac_cv_funclib_freeaddrinfo"
+ 
+ if false; then
+-
++	
+ for ac_func in freeaddrinfo
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:12205: checking for $ac_func" >&5
++echo "configure:17427: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 12211 "configure"
++#line 17433 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -12239,26 +17461,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:12242: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:12245: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:12248: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:12251: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:17464: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:12261: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:17473: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -12282,13 +17494,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:12285: result: yes" >&5
++	echo "configure:17497: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_freeaddrinfo=no"
+ 	eval "LIB_freeaddrinfo="
+-	echo "$as_me:12291: result: no" >&5
++	echo "configure:17503: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -12302,7 +17514,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:12305: result: yes, in $ac_res" >&5
++	echo "configure:17517: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -12315,7 +17527,7 @@
+ LIBOBJS="$LIBOBJS freeaddrinfo.o"
+ fi
+ 
+-echo "$as_me:12318: checking for gai_strerror" >&5
++echo "configure:17530: checking for gai_strerror" >&5
+ echo $ECHO_N "checking for gai_strerror... $ECHO_C" >&6
+ if test "${ac_cv_funclib_gai_strerror+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -12331,7 +17543,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 12334 "configure"
++#line 17546 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_NETDB_H
+ #include <netdb.h>
+@@ -12345,23 +17557,13 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:12348: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:12351: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:12354: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:12357: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:17560: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_gai_strerror=$ac_lib; else ac_cv_funclib_gai_strerror=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_gai_strerror=\${ac_cv_funclib_gai_strerror-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -12372,17 +17574,17 @@
+ eval "ac_res=\$ac_cv_funclib_gai_strerror"
+ 
+ if false; then
+-
++	
+ for ac_func in gai_strerror
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:12379: checking for $ac_func" >&5
++echo "configure:17581: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 12385 "configure"
++#line 17587 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -12413,26 +17615,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:12416: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:12419: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:12422: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:12425: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:17618: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:12435: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:17627: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -12456,13 +17648,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:12459: result: yes" >&5
++	echo "configure:17651: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_gai_strerror=no"
+ 	eval "LIB_gai_strerror="
+-	echo "$as_me:12465: result: no" >&5
++	echo "configure:17657: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -12476,7 +17668,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:12479: result: yes, in $ac_res" >&5
++	echo "configure:17671: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -12558,13 +17750,13 @@
+ 
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:12561: checking for $ac_func" >&5
++echo "configure:17753: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 12567 "configure"
++#line 17759 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -12595,26 +17787,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:12598: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:12601: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:12604: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:12607: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:17790: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:12617: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:17799: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+ 
+@@ -12628,6 +17810,7 @@
+ fi
+ 
+ if false; then
++	
+ 
+ for ac_func in \
+ 	chown					\
+@@ -12698,13 +17881,13 @@
+ 
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:12701: checking for $ac_func" >&5
++echo "configure:17884: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 12707 "configure"
++#line 17890 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -12735,26 +17918,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:12738: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:12741: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:12744: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:12747: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:17921: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:12757: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:17930: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -12769,13 +17942,13 @@
+ 
+ for ac_func in inet_aton
+ do
+-echo "$as_me:12772: checking for $ac_func" >&5
++echo "configure:17945: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_func_$ac_func+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 12778 "configure"
++#line 17951 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_SYS_TYPES_H
+ #include <sys/types.h>
+@@ -12807,24 +17980,14 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:12810: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:12813: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:12816: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:12819: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:17983: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "ac_cv_func_$ac_func=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_$ac_func=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_$ac_func=no"
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+ 
+ if eval "test \"\${ac_cv_func_$ac_func}\" = yes"; then
+@@ -12833,26 +17996,26 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-  echo "$as_me:12836: result: yes" >&5
++  echo "configure:17999: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ else
+-  echo "$as_me:12839: result: no" >&5
++  echo "configure:18002: result: no" >&5
+ echo "${ECHO_T}no" >&6
+   LIBOBJS="$LIBOBJS ${ac_func}.o"
+ fi
+ done
+ if false; then
+-
++	
+ for ac_func in inet_aton
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:12849: checking for $ac_func" >&5
++echo "configure:18012: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 12855 "configure"
++#line 18018 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -12883,26 +18046,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:12886: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:12889: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:12892: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:12895: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:18049: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:12905: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:18058: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -12916,13 +18069,13 @@
+ 
+ for ac_func in inet_ntop
+ do
+-echo "$as_me:12919: checking for $ac_func" >&5
++echo "configure:18072: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_func_$ac_func+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 12925 "configure"
++#line 18078 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_SYS_TYPES_H
+ #include <sys/types.h>
+@@ -12954,24 +18107,14 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:12957: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:12960: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:12963: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:12966: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:18110: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "ac_cv_func_$ac_func=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_$ac_func=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_$ac_func=no"
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+ 
+ if eval "test \"\${ac_cv_func_$ac_func}\" = yes"; then
+@@ -12980,26 +18123,26 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-  echo "$as_me:12983: result: yes" >&5
++  echo "configure:18126: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ else
+-  echo "$as_me:12986: result: no" >&5
++  echo "configure:18129: result: no" >&5
+ echo "${ECHO_T}no" >&6
+   LIBOBJS="$LIBOBJS ${ac_func}.o"
+ fi
+ done
+ if false; then
+-
++	
+ for ac_func in inet_ntop
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:12996: checking for $ac_func" >&5
++echo "configure:18139: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 13002 "configure"
++#line 18145 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -13030,26 +18173,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:13033: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13036: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:13039: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13042: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:18176: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:13052: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:18185: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -13063,13 +18196,13 @@
+ 
+ for ac_func in inet_pton
+ do
+-echo "$as_me:13066: checking for $ac_func" >&5
++echo "configure:18199: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_func_$ac_func+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 13072 "configure"
++#line 18205 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_SYS_TYPES_H
+ #include <sys/types.h>
+@@ -13101,24 +18234,14 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:13104: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13107: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:13110: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13113: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:18237: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "ac_cv_func_$ac_func=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_$ac_func=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_$ac_func=no"
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+ 
+ if eval "test \"\${ac_cv_func_$ac_func}\" = yes"; then
+@@ -13127,26 +18250,26 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-  echo "$as_me:13130: result: yes" >&5
++  echo "configure:18253: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ else
+-  echo "$as_me:13133: result: no" >&5
++  echo "configure:18256: result: no" >&5
+ echo "${ECHO_T}no" >&6
+   LIBOBJS="$LIBOBJS ${ac_func}.o"
+ fi
+ done
+ if false; then
+-
++	
+ for ac_func in inet_pton
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:13143: checking for $ac_func" >&5
++echo "configure:18266: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 13149 "configure"
++#line 18272 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -13177,26 +18300,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:13180: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13183: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:13186: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13189: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:18303: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:13199: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:18312: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -13208,14 +18321,14 @@
+ 
+ fi
+ 
+-echo "$as_me:13211: checking for sa_len in struct sockaddr" >&5
++echo "configure:18324: checking for sa_len in struct sockaddr" >&5
+ echo $ECHO_N "checking for sa_len in struct sockaddr... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_sockaddr_sa_len+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 13218 "configure"
++#line 18331 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #include <sys/socket.h>
+@@ -13228,49 +18341,39 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:13231: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13234: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:13237: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13240: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:18344: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_sockaddr_sa_len=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_struct_sockaddr_sa_len=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_struct_sockaddr_sa_len=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:13250: result: $ac_cv_type_struct_sockaddr_sa_len" >&5
++echo "configure:18353: result: $ac_cv_type_struct_sockaddr_sa_len" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_sockaddr_sa_len" >&6
+ if test "$ac_cv_type_struct_sockaddr_sa_len" = yes; then
+-
++	
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
+ EOF
+ 
++	
+ fi
+ 
+ if test "$ac_cv_func_getnameinfo" = "yes"; then
+ 
+-echo "$as_me:13262: checking if getnameinfo is broken" >&5
++echo "configure:18367: checking if getnameinfo is broken" >&5
+ echo $ECHO_N "checking if getnameinfo is broken... $ECHO_C" >&6
+ if test "${ac_cv_func_getnameinfo_broken+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   if test "$cross_compiling" = yes; then
+-  { { echo "$as_me:13268: error: cannot run test program while cross compiling" >&5
+-echo "$as_me: error: cannot run test program while cross compiling" >&2;}
+-   { (exit 1); exit 1; }; }
++  { echo "configure: error: cannot run test program while cross compiling" >&2; exit 1; }
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 13273 "configure"
++#line 18376 "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
+ #include <sys/types.h>
+@@ -13296,27 +18399,19 @@
+ 
+ _ACEOF
+ rm -f conftest$ac_exeext
+-if { (eval echo "$as_me:13299: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13302: \$? = $ac_status" >&5
+-  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
+-  { (eval echo "$as_me:13304: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13307: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:18402: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
++   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
+   ac_cv_func_getnameinfo_broken=no
+ else
+-  echo "$as_me: program exited with status $ac_status" >&5
+-echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_getnameinfo_broken=yes
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_getnameinfo_broken=yes
+ fi
+-rm -f core core.* *.core conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
++
+ fi
+-echo "$as_me:13319: result: $ac_cv_func_getnameinfo_broken" >&5
++echo "configure:18414: result: $ac_cv_func_getnameinfo_broken" >&5
+ echo "${ECHO_T}$ac_cv_func_getnameinfo_broken" >&6
+   if test "$ac_cv_func_getnameinfo_broken" = yes; then
+     LIBOBJS="$LIBOBJS getnameinfo.o"
+@@ -13324,13 +18419,13 @@
+ fi
+ 
+ if test "$ac_cv_func_setenv+set" != set -o "$ac_cv_func_setenv" = yes; then
+-echo "$as_me:13327: checking if setenv needs a prototype" >&5
++echo "configure:18422: checking if setenv needs a prototype" >&5
+ echo $ECHO_N "checking if setenv needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_setenv_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 13333 "configure"
++#line 18428 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ int
+@@ -13345,30 +18440,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:13348: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13351: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:13354: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13357: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:18443: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_setenv_noproto=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_setenv_noproto=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_setenv_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:13367: result: $ac_cv_func_setenv_noproto" >&5
++echo "configure:18452: result: $ac_cv_func_setenv_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_setenv_noproto" >&6
+ 
+ if test "$ac_cv_func_setenv_noproto" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define NEED_SETENV_PROTO 1
+ EOF
+@@ -13378,13 +18463,13 @@
+ fi
+ 
+ if test "$ac_cv_func_unsetenv+set" != set -o "$ac_cv_func_unsetenv" = yes; then
+-echo "$as_me:13381: checking if unsetenv needs a prototype" >&5
++echo "configure:18466: checking if unsetenv needs a prototype" >&5
+ echo $ECHO_N "checking if unsetenv needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_unsetenv_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 13387 "configure"
++#line 18472 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ int
+@@ -13399,30 +18484,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:13402: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13405: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:13408: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13411: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:18487: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_unsetenv_noproto=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_unsetenv_noproto=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_unsetenv_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:13421: result: $ac_cv_func_unsetenv_noproto" >&5
++echo "configure:18496: result: $ac_cv_func_unsetenv_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_unsetenv_noproto" >&6
+ 
+ if test "$ac_cv_func_unsetenv_noproto" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define NEED_UNSETENV_PROTO 1
+ EOF
+@@ -13432,13 +18507,13 @@
+ fi
+ 
+ if test "$ac_cv_func_gethostname+set" != set -o "$ac_cv_func_gethostname" = yes; then
+-echo "$as_me:13435: checking if gethostname needs a prototype" >&5
++echo "configure:18510: checking if gethostname needs a prototype" >&5
+ echo $ECHO_N "checking if gethostname needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_gethostname_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 13441 "configure"
++#line 18516 "configure"
+ #include "confdefs.h"
+ #include <unistd.h>
+ int
+@@ -13453,30 +18528,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:13456: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13459: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:13462: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13465: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:18531: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_gethostname_noproto=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_gethostname_noproto=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_gethostname_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:13475: result: $ac_cv_func_gethostname_noproto" >&5
++echo "configure:18540: result: $ac_cv_func_gethostname_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_gethostname_noproto" >&6
+ 
+ if test "$ac_cv_func_gethostname_noproto" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define NEED_GETHOSTNAME_PROTO 1
+ EOF
+@@ -13486,13 +18551,13 @@
+ fi
+ 
+ if test "$ac_cv_func_mkstemp+set" != set -o "$ac_cv_func_mkstemp" = yes; then
+-echo "$as_me:13489: checking if mkstemp needs a prototype" >&5
++echo "configure:18554: checking if mkstemp needs a prototype" >&5
+ echo $ECHO_N "checking if mkstemp needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_mkstemp_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 13495 "configure"
++#line 18560 "configure"
+ #include "confdefs.h"
+ #include <unistd.h>
+ int
+@@ -13507,30 +18572,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:13510: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13513: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:13516: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13519: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:18575: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_mkstemp_noproto=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_mkstemp_noproto=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_mkstemp_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:13529: result: $ac_cv_func_mkstemp_noproto" >&5
++echo "configure:18584: result: $ac_cv_func_mkstemp_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_mkstemp_noproto" >&6
+ 
+ if test "$ac_cv_func_mkstemp_noproto" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define NEED_MKSTEMP_PROTO 1
+ EOF
+@@ -13540,13 +18595,13 @@
+ fi
+ 
+ if test "$ac_cv_func_getusershell+set" != set -o "$ac_cv_func_getusershell" = yes; then
+-echo "$as_me:13543: checking if getusershell needs a prototype" >&5
++echo "configure:18598: checking if getusershell needs a prototype" >&5
+ echo $ECHO_N "checking if getusershell needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_getusershell_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 13549 "configure"
++#line 18604 "configure"
+ #include "confdefs.h"
+ #include <unistd.h>
+ int
+@@ -13561,30 +18616,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:13564: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13567: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:13570: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13573: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:18619: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_getusershell_noproto=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_getusershell_noproto=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_getusershell_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:13583: result: $ac_cv_func_getusershell_noproto" >&5
++echo "configure:18628: result: $ac_cv_func_getusershell_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_getusershell_noproto" >&6
+ 
+ if test "$ac_cv_func_getusershell_noproto" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define NEED_GETUSERSHELL_PROTO 1
+ EOF
+@@ -13594,13 +18639,13 @@
+ fi
+ 
+ if test "$ac_cv_func_inet_aton+set" != set -o "$ac_cv_func_inet_aton" = yes; then
+-echo "$as_me:13597: checking if inet_aton needs a prototype" >&5
++echo "configure:18642: checking if inet_aton needs a prototype" >&5
+ echo $ECHO_N "checking if inet_aton needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_inet_aton_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 13603 "configure"
++#line 18648 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_SYS_TYPES_H
+@@ -13627,30 +18672,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:13630: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13633: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:13636: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13639: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:18675: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_inet_aton_noproto=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_inet_aton_noproto=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_inet_aton_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:13649: result: $ac_cv_func_inet_aton_noproto" >&5
++echo "configure:18684: result: $ac_cv_func_inet_aton_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_inet_aton_noproto" >&6
+ 
+ if test "$ac_cv_func_inet_aton_noproto" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define NEED_INET_ATON_PROTO 1
+ EOF
+@@ -13659,7 +18694,7 @@
+ 
+ fi
+ 
+-echo "$as_me:13662: checking for crypt" >&5
++echo "configure:18697: checking for crypt" >&5
+ echo $ECHO_N "checking for crypt... $ECHO_C" >&6
+ if test "${ac_cv_funclib_crypt+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -13675,7 +18710,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 13678 "configure"
++#line 18713 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -13687,23 +18722,13 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:13690: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13693: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:13696: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13699: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:18725: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_crypt=$ac_lib; else ac_cv_funclib_crypt=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_crypt=\${ac_cv_funclib_crypt-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -13714,17 +18739,17 @@
+ eval "ac_res=\$ac_cv_funclib_crypt"
+ 
+ if false; then
+-
++	
+ for ac_func in crypt
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:13721: checking for $ac_func" >&5
++echo "configure:18746: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 13727 "configure"
++#line 18752 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -13755,26 +18780,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:13758: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13761: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:13764: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13767: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:18783: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:13777: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:18792: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -13798,13 +18813,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:13801: result: yes" >&5
++	echo "configure:18816: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_crypt=no"
+ 	eval "LIB_crypt="
+-	echo "$as_me:13807: result: no" >&5
++	echo "configure:18822: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -13818,18 +18833,18 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:13821: result: yes, in $ac_res" >&5
++	echo "configure:18836: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "$as_me:13826: checking if gethostbyname is compatible with system prototype" >&5
++echo "configure:18841: checking if gethostbyname is compatible with system prototype" >&5
+ echo $ECHO_N "checking if gethostbyname is compatible with system prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_gethostbyname_proto_compat+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 13832 "configure"
++#line 18847 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_SYS_TYPES_H
+@@ -13857,43 +18872,33 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:13860: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13863: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:13866: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13869: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:18875: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_gethostbyname_proto_compat=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_gethostbyname_proto_compat=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_gethostbyname_proto_compat=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:13879: result: $ac_cv_func_gethostbyname_proto_compat" >&5
++echo "configure:18884: result: $ac_cv_func_gethostbyname_proto_compat" >&5
+ echo "${ECHO_T}$ac_cv_func_gethostbyname_proto_compat" >&6
+ 
+ if test "$ac_cv_func_gethostbyname_proto_compat" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define GETHOSTBYNAME_PROTO_COMPATIBLE 1
+ EOF
+ 
+ fi
+ 
+-echo "$as_me:13890: checking if gethostbyaddr is compatible with system prototype" >&5
++echo "configure:18895: checking if gethostbyaddr is compatible with system prototype" >&5
+ echo $ECHO_N "checking if gethostbyaddr is compatible with system prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_gethostbyaddr_proto_compat+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 13896 "configure"
++#line 18901 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_SYS_TYPES_H
+@@ -13921,43 +18926,33 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:13924: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13927: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:13930: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13933: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:18929: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_gethostbyaddr_proto_compat=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_gethostbyaddr_proto_compat=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_gethostbyaddr_proto_compat=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:13943: result: $ac_cv_func_gethostbyaddr_proto_compat" >&5
++echo "configure:18938: result: $ac_cv_func_gethostbyaddr_proto_compat" >&5
+ echo "${ECHO_T}$ac_cv_func_gethostbyaddr_proto_compat" >&6
+ 
+ if test "$ac_cv_func_gethostbyaddr_proto_compat" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define GETHOSTBYADDR_PROTO_COMPATIBLE 1
+ EOF
+ 
+ fi
+ 
+-echo "$as_me:13954: checking if getservbyname is compatible with system prototype" >&5
++echo "configure:18949: checking if getservbyname is compatible with system prototype" >&5
+ echo $ECHO_N "checking if getservbyname is compatible with system prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_getservbyname_proto_compat+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 13960 "configure"
++#line 18955 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_SYS_TYPES_H
+@@ -13985,43 +18980,33 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:13988: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13991: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:13994: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:13997: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:18983: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_getservbyname_proto_compat=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_getservbyname_proto_compat=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_getservbyname_proto_compat=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:14007: result: $ac_cv_func_getservbyname_proto_compat" >&5
++echo "configure:18992: result: $ac_cv_func_getservbyname_proto_compat" >&5
+ echo "${ECHO_T}$ac_cv_func_getservbyname_proto_compat" >&6
+ 
+ if test "$ac_cv_func_getservbyname_proto_compat" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define GETSERVBYNAME_PROTO_COMPATIBLE 1
+ EOF
+ 
+ fi
+ 
+-echo "$as_me:14018: checking if getsockname is compatible with system prototype" >&5
++echo "configure:19003: checking if getsockname is compatible with system prototype" >&5
+ echo $ECHO_N "checking if getsockname is compatible with system prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_getsockname_proto_compat+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 14024 "configure"
++#line 19009 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_SYS_TYPES_H
+@@ -14040,43 +19025,33 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:14043: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14046: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:14049: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14052: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:19028: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_getsockname_proto_compat=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_getsockname_proto_compat=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_getsockname_proto_compat=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:14062: result: $ac_cv_func_getsockname_proto_compat" >&5
++echo "configure:19037: result: $ac_cv_func_getsockname_proto_compat" >&5
+ echo "${ECHO_T}$ac_cv_func_getsockname_proto_compat" >&6
+ 
+ if test "$ac_cv_func_getsockname_proto_compat" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define GETSOCKNAME_PROTO_COMPATIBLE 1
+ EOF
+ 
+ fi
+ 
+-echo "$as_me:14073: checking if openlog is compatible with system prototype" >&5
++echo "configure:19048: checking if openlog is compatible with system prototype" >&5
+ echo $ECHO_N "checking if openlog is compatible with system prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_openlog_proto_compat+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 14079 "configure"
++#line 19054 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_SYSLOG_H
+@@ -14092,30 +19067,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:14095: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14098: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:14101: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14104: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:19070: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_openlog_proto_compat=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_openlog_proto_compat=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_openlog_proto_compat=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:14114: result: $ac_cv_func_openlog_proto_compat" >&5
++echo "configure:19079: result: $ac_cv_func_openlog_proto_compat" >&5
+ echo "${ECHO_T}$ac_cv_func_openlog_proto_compat" >&6
+ 
+ if test "$ac_cv_func_openlog_proto_compat" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define OPENLOG_PROTO_COMPATIBLE 1
+ EOF
+@@ -14123,13 +19088,13 @@
+ fi
+ 
+ if test "$ac_cv_func_crypt+set" != set -o "$ac_cv_func_crypt" = yes; then
+-echo "$as_me:14126: checking if crypt needs a prototype" >&5
++echo "configure:19091: checking if crypt needs a prototype" >&5
+ echo $ECHO_N "checking if crypt needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_crypt_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 14132 "configure"
++#line 19097 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_CRYPT_H
+@@ -14151,30 +19116,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:14154: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14157: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:14160: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14163: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:19119: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_crypt_noproto=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_crypt_noproto=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_crypt_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:14173: result: $ac_cv_func_crypt_noproto" >&5
++echo "configure:19128: result: $ac_cv_func_crypt_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_crypt_noproto" >&6
+ 
+ if test "$ac_cv_func_crypt_noproto" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define NEED_CRYPT_PROTO 1
+ EOF
+@@ -14184,13 +19139,13 @@
+ fi
+ 
+ if test "$ac_cv_func_strtok_r+set" != set -o "$ac_cv_func_strtok_r" = yes; then
+-echo "$as_me:14187: checking if strtok_r needs a prototype" >&5
++echo "configure:19142: checking if strtok_r needs a prototype" >&5
+ echo $ECHO_N "checking if strtok_r needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_strtok_r_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 14193 "configure"
++#line 19148 "configure"
+ #include "confdefs.h"
+ 
+ #include <string.h>
+@@ -14207,30 +19162,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:14210: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14213: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:14216: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14219: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:19165: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_strtok_r_noproto=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_strtok_r_noproto=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_strtok_r_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:14229: result: $ac_cv_func_strtok_r_noproto" >&5
++echo "configure:19174: result: $ac_cv_func_strtok_r_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_strtok_r_noproto" >&6
+ 
+ if test "$ac_cv_func_strtok_r_noproto" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define NEED_STRTOK_R_PROTO 1
+ EOF
+@@ -14240,13 +19185,13 @@
+ fi
+ 
+ if test "$ac_cv_func_strsep+set" != set -o "$ac_cv_func_strsep" = yes; then
+-echo "$as_me:14243: checking if strsep needs a prototype" >&5
++echo "configure:19188: checking if strsep needs a prototype" >&5
+ echo $ECHO_N "checking if strsep needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_strsep_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 14249 "configure"
++#line 19194 "configure"
+ #include "confdefs.h"
+ 
+ #include <string.h>
+@@ -14263,30 +19208,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:14266: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14269: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:14272: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14275: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:19211: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_strsep_noproto=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_strsep_noproto=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_strsep_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:14285: result: $ac_cv_func_strsep_noproto" >&5
++echo "configure:19220: result: $ac_cv_func_strsep_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_strsep_noproto" >&6
+ 
+ if test "$ac_cv_func_strsep_noproto" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define NEED_STRSEP_PROTO 1
+ EOF
+@@ -14295,14 +19230,14 @@
+ 
+ fi
+ 
+-echo "$as_me:14298: checking for h_errno" >&5
++echo "configure:19233: checking for h_errno" >&5
+ echo $ECHO_N "checking for h_errno... $ECHO_C" >&6
+ if test "${ac_cv_var_h_errno+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 14305 "configure"
++#line 19240 "configure"
+ #include "confdefs.h"
+ extern int h_errno;
+ int foo() { return h_errno; }
+@@ -14315,102 +19250,37 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:14318: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14321: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:14324: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14327: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:19253: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_var_h_errno=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_var_h_errno=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_var_h_errno=no
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 
+ fi
+ 
+ ac_foo=`eval echo \\$ac_cv_var_h_errno`
+-echo "$as_me:14340: result: $ac_foo" >&5
++echo "configure:19265: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+-
++	
+ cat >>confdefs.h <<EOF
+ #define HAVE_H_ERRNO 1
+ EOF
+ 
+-echo "$as_me:14348: checking if h_errno is properly declared" >&5
+-echo $ECHO_N "checking if h_errno is properly declared... $ECHO_C" >&6
+-if test "${ac_cv_var_h_errno_declaration+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-
+-cat >conftest.$ac_ext <<_ACEOF
+-#line 14355 "configure"
+-#include "confdefs.h"
+-#ifdef HAVE_SYS_TYPES_H
+-#include <sys/types.h>
+-#endif
+-#ifdef HAVE_NETDB_H
+-#include <netdb.h>
+-#endif
+-extern struct { int foo; } h_errno;
+-int
+-main ()
+-{
+-h_errno.foo = 1;
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:14373: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14376: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:14379: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14382: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
+-  eval "ac_cv_var_h_errno_declaration=no"
+-else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_var_h_errno_declaration=yes"
+-fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
+-
+-fi
+-
+-echo "$as_me:14394: result: $ac_cv_var_h_errno_declaration" >&5
+-echo "${ECHO_T}$ac_cv_var_h_errno_declaration" >&6
+-if eval "test \"\$ac_cv_var_h_errno_declaration\" = yes"; then
+-
+-cat >>confdefs.h <<\EOF
+-#define HAVE_H_ERRNO_DECLARATION 1
+-EOF
+-
+-fi
+-
++	
+ fi
+ 
+-echo "$as_me:14406: checking for h_errlist" >&5
++echo "configure:19276: checking for h_errlist" >&5
+ echo $ECHO_N "checking for h_errlist... $ECHO_C" >&6
+ if test "${ac_cv_var_h_errlist+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 14413 "configure"
++#line 19283 "configure"
+ #include "confdefs.h"
+ extern int h_errlist;
+ int foo() { return h_errlist; }
+@@ -14423,99 +19293,37 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:14426: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14429: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:14432: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14435: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:19296: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_var_h_errlist=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_var_h_errlist=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_var_h_errlist=no
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 
+ fi
+ 
+ ac_foo=`eval echo \\$ac_cv_var_h_errlist`
+-echo "$as_me:14448: result: $ac_foo" >&5
++echo "configure:19308: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+-
++	
+ cat >>confdefs.h <<EOF
+ #define HAVE_H_ERRLIST 1
+ EOF
+ 
+-echo "$as_me:14456: checking if h_errlist is properly declared" >&5
+-echo $ECHO_N "checking if h_errlist is properly declared... $ECHO_C" >&6
+-if test "${ac_cv_var_h_errlist_declaration+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-
+-cat >conftest.$ac_ext <<_ACEOF
+-#line 14463 "configure"
+-#include "confdefs.h"
+-#ifdef HAVE_NETDB_H
+-#include <netdb.h>
+-#endif
+-extern struct { int foo; } h_errlist;
+-int
+-main ()
+-{
+-h_errlist.foo = 1;
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:14478: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14481: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:14484: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14487: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
+-  eval "ac_cv_var_h_errlist_declaration=no"
+-else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_var_h_errlist_declaration=yes"
+-fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
+-
+-fi
+-
+-echo "$as_me:14499: result: $ac_cv_var_h_errlist_declaration" >&5
+-echo "${ECHO_T}$ac_cv_var_h_errlist_declaration" >&6
+-if eval "test \"\$ac_cv_var_h_errlist_declaration\" = yes"; then
+-
+-cat >>confdefs.h <<\EOF
+-#define HAVE_H_ERRLIST_DECLARATION 1
+-EOF
+-
+-fi
+-
++	
+ fi
+ 
+-echo "$as_me:14511: checking for h_nerr" >&5
++echo "configure:19319: checking for h_nerr" >&5
+ echo $ECHO_N "checking for h_nerr... $ECHO_C" >&6
+ if test "${ac_cv_var_h_nerr+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 14518 "configure"
++#line 19326 "configure"
+ #include "confdefs.h"
+ extern int h_nerr;
+ int foo() { return h_nerr; }
+@@ -14528,204 +19336,80 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:14531: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14534: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:14537: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14540: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:19339: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_var_h_nerr=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_var_h_nerr=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_var_h_nerr=no
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 
+ fi
+ 
+ ac_foo=`eval echo \\$ac_cv_var_h_nerr`
+-echo "$as_me:14553: result: $ac_foo" >&5
++echo "configure:19351: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+-
++	
+ cat >>confdefs.h <<EOF
+ #define HAVE_H_NERR 1
+ EOF
+ 
+-echo "$as_me:14561: checking if h_nerr is properly declared" >&5
+-echo $ECHO_N "checking if h_nerr is properly declared... $ECHO_C" >&6
+-if test "${ac_cv_var_h_nerr_declaration+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-
+-cat >conftest.$ac_ext <<_ACEOF
+-#line 14568 "configure"
+-#include "confdefs.h"
+-#ifdef HAVE_NETDB_H
+-#include <netdb.h>
+-#endif
+-extern struct { int foo; } h_nerr;
+-int
+-main ()
+-{
+-h_nerr.foo = 1;
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:14583: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14586: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:14589: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14592: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
+-  eval "ac_cv_var_h_nerr_declaration=no"
+-else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_var_h_nerr_declaration=yes"
+-fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
+-
+-fi
+-
+-echo "$as_me:14604: result: $ac_cv_var_h_nerr_declaration" >&5
+-echo "${ECHO_T}$ac_cv_var_h_nerr_declaration" >&6
+-if eval "test \"\$ac_cv_var_h_nerr_declaration\" = yes"; then
+-
+-cat >>confdefs.h <<\EOF
+-#define HAVE_H_NERR_DECLARATION 1
+-EOF
+-
+-fi
+-
+-fi
+-
+-echo "$as_me:14616: checking for __progname" >&5
+-echo $ECHO_N "checking for __progname... $ECHO_C" >&6
+-if test "${ac_cv_var___progname+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-
+-cat >conftest.$ac_ext <<_ACEOF
+-#line 14623 "configure"
+-#include "confdefs.h"
+-extern int __progname;
+-int foo() { return __progname; }
+-int
+-main ()
+-{
+-foo()
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:14636: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14639: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:14642: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14645: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
+-  ac_cv_var___progname=yes
+-else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_var___progname=no
+-fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+-
+-fi
+-
+-ac_foo=`eval echo \\$ac_cv_var___progname`
+-echo "$as_me:14658: result: $ac_foo" >&5
+-echo "${ECHO_T}$ac_foo" >&6
+-if test "$ac_foo" = yes; then
+-
+-cat >>confdefs.h <<EOF
+-#define HAVE___PROGNAME 1
+-EOF
++	
++fi
+ 
+-echo "$as_me:14666: checking if __progname is properly declared" >&5
+-echo $ECHO_N "checking if __progname is properly declared... $ECHO_C" >&6
+-if test "${ac_cv_var___progname_declaration+set}" = set; then
++echo "configure:19362: checking for __progname" >&5
++echo $ECHO_N "checking for __progname... $ECHO_C" >&6
++if test "${ac_cv_var___progname+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 14673 "configure"
++#line 19369 "configure"
+ #include "confdefs.h"
+-#ifdef HAVE_ERR_H
+-#include <err.h>
+-#endif
+-extern struct { int foo; } __progname;
++extern int __progname;
++int foo() { return __progname; }
+ int
+ main ()
+ {
+-__progname.foo = 1;
++foo()
+   ;
+   return 0;
+ }
+ _ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:14688: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14691: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:14694: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14697: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
+-  eval "ac_cv_var___progname_declaration=no"
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:19382: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  ac_cv_var___progname=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_var___progname_declaration=yes"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_var___progname=no
+ fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 
+ fi
+ 
+-echo "$as_me:14709: result: $ac_cv_var___progname_declaration" >&5
+-echo "${ECHO_T}$ac_cv_var___progname_declaration" >&6
+-if eval "test \"\$ac_cv_var___progname_declaration\" = yes"; then
+-
+-cat >>confdefs.h <<\EOF
+-#define HAVE___PROGNAME_DECLARATION 1
++ac_foo=`eval echo \\$ac_cv_var___progname`
++echo "configure:19394: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++	
++cat >>confdefs.h <<EOF
++#define HAVE___PROGNAME 1
+ EOF
+ 
++	
+ fi
+ 
+-fi
+-
+-echo "$as_me:14721: checking if optarg is properly declared" >&5
++echo "configure:19405: checking if optarg is properly declared" >&5
+ echo $ECHO_N "checking if optarg is properly declared... $ECHO_C" >&6
+ if test "${ac_cv_var_optarg_declaration+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 14728 "configure"
++#line 19412 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ #ifdef HAVE_UNISTD_H
+@@ -14741,45 +19425,35 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:14744: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14747: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:14750: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14753: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:19428: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_var_optarg_declaration=no"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_var_optarg_declaration=yes"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_var_optarg_declaration=yes"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ 
+ fi
+ 
+-echo "$as_me:14765: result: $ac_cv_var_optarg_declaration" >&5
++echo "configure:19439: result: $ac_cv_var_optarg_declaration" >&5
+ echo "${ECHO_T}$ac_cv_var_optarg_declaration" >&6
+ if eval "test \"\$ac_cv_var_optarg_declaration\" = yes"; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_OPTARG_DECLARATION 1
+ EOF
+ 
+ fi
+ 
+-echo "$as_me:14775: checking if optind is properly declared" >&5
++echo "configure:19449: checking if optind is properly declared" >&5
+ echo $ECHO_N "checking if optind is properly declared... $ECHO_C" >&6
+ if test "${ac_cv_var_optind_declaration+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 14782 "configure"
++#line 19456 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ #ifdef HAVE_UNISTD_H
+@@ -14795,45 +19469,35 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:14798: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14801: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:14804: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14807: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:19472: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_var_optind_declaration=no"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_var_optind_declaration=yes"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_var_optind_declaration=yes"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ 
+ fi
+ 
+-echo "$as_me:14819: result: $ac_cv_var_optind_declaration" >&5
++echo "configure:19483: result: $ac_cv_var_optind_declaration" >&5
+ echo "${ECHO_T}$ac_cv_var_optind_declaration" >&6
+ if eval "test \"\$ac_cv_var_optind_declaration\" = yes"; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_OPTIND_DECLARATION 1
+ EOF
+ 
+ fi
+ 
+-echo "$as_me:14829: checking if opterr is properly declared" >&5
++echo "configure:19493: checking if opterr is properly declared" >&5
+ echo $ECHO_N "checking if opterr is properly declared... $ECHO_C" >&6
+ if test "${ac_cv_var_opterr_declaration+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 14836 "configure"
++#line 19500 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ #ifdef HAVE_UNISTD_H
+@@ -14849,45 +19513,35 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:14852: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14855: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:14858: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14861: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:19516: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_var_opterr_declaration=no"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_var_opterr_declaration=yes"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_var_opterr_declaration=yes"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ 
+ fi
+ 
+-echo "$as_me:14873: result: $ac_cv_var_opterr_declaration" >&5
++echo "configure:19527: result: $ac_cv_var_opterr_declaration" >&5
+ echo "${ECHO_T}$ac_cv_var_opterr_declaration" >&6
+ if eval "test \"\$ac_cv_var_opterr_declaration\" = yes"; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_OPTERR_DECLARATION 1
+ EOF
+ 
+ fi
+ 
+-echo "$as_me:14883: checking if optopt is properly declared" >&5
++echo "configure:19537: checking if optopt is properly declared" >&5
+ echo $ECHO_N "checking if optopt is properly declared... $ECHO_C" >&6
+ if test "${ac_cv_var_optopt_declaration+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 14890 "configure"
++#line 19544 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ #ifdef HAVE_UNISTD_H
+@@ -14903,45 +19557,35 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:14906: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14909: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:14912: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14915: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:19560: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_var_optopt_declaration=no"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_var_optopt_declaration=yes"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_var_optopt_declaration=yes"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ 
+ fi
+ 
+-echo "$as_me:14927: result: $ac_cv_var_optopt_declaration" >&5
++echo "configure:19571: result: $ac_cv_var_optopt_declaration" >&5
+ echo "${ECHO_T}$ac_cv_var_optopt_declaration" >&6
+ if eval "test \"\$ac_cv_var_optopt_declaration\" = yes"; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_OPTOPT_DECLARATION 1
+ EOF
+ 
+ fi
+ 
+-echo "$as_me:14937: checking if environ is properly declared" >&5
++echo "configure:19581: checking if environ is properly declared" >&5
+ echo $ECHO_N "checking if environ is properly declared... $ECHO_C" >&6
+ if test "${ac_cv_var_environ_declaration+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 14944 "configure"
++#line 19588 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ extern struct { int foo; } environ;
+@@ -14954,45 +19598,35 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:14957: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14960: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:14963: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:14966: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:19601: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_var_environ_declaration=no"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_var_environ_declaration=yes"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_var_environ_declaration=yes"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ 
+ fi
+ 
+-echo "$as_me:14978: result: $ac_cv_var_environ_declaration" >&5
++echo "configure:19612: result: $ac_cv_var_environ_declaration" >&5
+ echo "${ECHO_T}$ac_cv_var_environ_declaration" >&6
+ if eval "test \"\$ac_cv_var_environ_declaration\" = yes"; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_ENVIRON_DECLARATION 1
+ EOF
+ 
+ fi
+ 
+-echo "$as_me:14988: checking for tm_gmtoff in struct tm" >&5
++echo "configure:19622: checking for tm_gmtoff in struct tm" >&5
+ echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_tm_tm_gmtoff+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 14995 "configure"
++#line 19629 "configure"
+ #include "confdefs.h"
+ #include <time.h>
+ int
+@@ -15004,43 +19638,35 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:15007: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15010: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:15013: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15016: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:19641: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_tm_tm_gmtoff=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_struct_tm_tm_gmtoff=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_struct_tm_tm_gmtoff=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:15026: result: $ac_cv_type_struct_tm_tm_gmtoff" >&5
++echo "configure:19650: result: $ac_cv_type_struct_tm_tm_gmtoff" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_tm_tm_gmtoff" >&6
+ if test "$ac_cv_type_struct_tm_tm_gmtoff" = yes; then
+-
++	
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_STRUCT_TM_TM_GMTOFF 1
+ EOF
+ 
++	
+ fi
+ 
+-echo "$as_me:15036: checking for tm_zone in struct tm" >&5
++echo "configure:19662: checking for tm_zone in struct tm" >&5
+ echo $ECHO_N "checking for tm_zone in struct tm... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_tm_tm_zone+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 15043 "configure"
++#line 19669 "configure"
+ #include "confdefs.h"
+ #include <time.h>
+ int
+@@ -15052,43 +19678,35 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:15055: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15058: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:15061: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15064: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:19681: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_tm_tm_zone=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_struct_tm_tm_zone=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_struct_tm_tm_zone=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:15074: result: $ac_cv_type_struct_tm_tm_zone" >&5
++echo "configure:19690: result: $ac_cv_type_struct_tm_tm_zone" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_tm_tm_zone" >&6
+ if test "$ac_cv_type_struct_tm_tm_zone" = yes; then
+-
++	
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_STRUCT_TM_TM_ZONE 1
+ EOF
+ 
++	
+ fi
+ 
+-echo "$as_me:15084: checking for timezone" >&5
++echo "configure:19702: checking for timezone" >&5
+ echo $ECHO_N "checking for timezone... $ECHO_C" >&6
+ if test "${ac_cv_var_timezone+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 15091 "configure"
++#line 19709 "configure"
+ #include "confdefs.h"
+ extern int timezone;
+ int foo() { return timezone; }
+@@ -15101,97 +19719,37 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:15104: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15107: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:15110: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15113: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:19722: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_var_timezone=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_var_timezone=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_var_timezone=no
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 
+ fi
+ 
+ ac_foo=`eval echo \\$ac_cv_var_timezone`
+-echo "$as_me:15126: result: $ac_foo" >&5
++echo "configure:19734: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+-
++	
+ cat >>confdefs.h <<EOF
+ #define HAVE_TIMEZONE 1
+ EOF
+ 
+-echo "$as_me:15134: checking if timezone is properly declared" >&5
+-echo $ECHO_N "checking if timezone is properly declared... $ECHO_C" >&6
+-if test "${ac_cv_var_timezone_declaration+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-
+-cat >conftest.$ac_ext <<_ACEOF
+-#line 15141 "configure"
+-#include "confdefs.h"
+-#include <time.h>
+-extern struct { int foo; } timezone;
+-int
+-main ()
+-{
+-timezone.foo = 1;
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:15154: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15157: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:15160: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15163: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
+-  eval "ac_cv_var_timezone_declaration=no"
+-else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_var_timezone_declaration=yes"
+-fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
+-
+-fi
+-
+-echo "$as_me:15175: result: $ac_cv_var_timezone_declaration" >&5
+-echo "${ECHO_T}$ac_cv_var_timezone_declaration" >&6
+-if eval "test \"\$ac_cv_var_timezone_declaration\" = yes"; then
+-
+-cat >>confdefs.h <<\EOF
+-#define HAVE_TIMEZONE_DECLARATION 1
+-EOF
+-
+-fi
+-
++	
+ fi
+ 
+ cv=`echo "sa_family_t" | sed 'y%./+- %__p__%'`
+-echo "$as_me:15188: checking for sa_family_t" >&5
++echo "configure:19746: checking for sa_family_t" >&5
+ echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 15194 "configure"
++#line 19752 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -15208,38 +19766,28 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:15211: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15214: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:15217: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15220: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:19769: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_type_$cv=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_type_$cv=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_type_$cv=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:15231: result: $ac_foo" >&5
++echo "configure:19779: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo sa_family_t | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:15236: checking for sa_family_t" >&5
++	echo "configure:19784: checking for sa_family_t" >&5
+ echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6
+ if test "${ac_cv_type_sa_family_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 15242 "configure"
++#line 19790 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -15254,26 +19802,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:15257: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15260: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:15263: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15266: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:19805: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_sa_family_t=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_sa_family_t=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_sa_family_t=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:15276: result: $ac_cv_type_sa_family_t" >&5
++echo "configure:19814: result: $ac_cv_type_sa_family_t" >&5
+ echo "${ECHO_T}$ac_cv_type_sa_family_t" >&6
+ if test $ac_cv_type_sa_family_t = yes; then
+ 
+@@ -15292,13 +19830,13 @@
+ fi
+ 
+ cv=`echo "socklen_t" | sed 'y%./+- %__p__%'`
+-echo "$as_me:15295: checking for socklen_t" >&5
++echo "configure:19833: checking for socklen_t" >&5
+ echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 15301 "configure"
++#line 19839 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -15315,38 +19853,28 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:15318: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15321: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:15324: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15327: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:19856: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_type_$cv=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_type_$cv=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_type_$cv=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:15338: result: $ac_foo" >&5
++echo "configure:19866: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo socklen_t | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:15343: checking for socklen_t" >&5
++	echo "configure:19871: checking for socklen_t" >&5
+ echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
+ if test "${ac_cv_type_socklen_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 15349 "configure"
++#line 19877 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -15361,26 +19889,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:15364: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15367: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:15370: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15373: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:19892: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_socklen_t=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_socklen_t=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_socklen_t=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:15383: result: $ac_cv_type_socklen_t" >&5
++echo "configure:19901: result: $ac_cv_type_socklen_t" >&5
+ echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
+ if test $ac_cv_type_socklen_t = yes; then
+ 
+@@ -15399,13 +19917,13 @@
+ fi
+ 
+ cv=`echo "struct sockaddr" | sed 'y%./+- %__p__%'`
+-echo "$as_me:15402: checking for struct sockaddr" >&5
++echo "configure:19920: checking for struct sockaddr" >&5
+ echo $ECHO_N "checking for struct sockaddr... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 15408 "configure"
++#line 19926 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -15422,38 +19940,28 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:15425: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15428: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:15431: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15434: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:19943: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_type_$cv=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_type_$cv=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_type_$cv=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:15445: result: $ac_foo" >&5
++echo "configure:19953: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo struct sockaddr | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:15450: checking for struct sockaddr" >&5
++	echo "configure:19958: checking for struct sockaddr" >&5
+ echo $ECHO_N "checking for struct sockaddr... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_sockaddr+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 15456 "configure"
++#line 19964 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -15468,26 +19976,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:15471: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15474: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:15477: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15480: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:19979: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_sockaddr=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_struct_sockaddr=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_struct_sockaddr=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:15490: result: $ac_cv_type_struct_sockaddr" >&5
++echo "configure:19988: result: $ac_cv_type_struct_sockaddr" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_sockaddr" >&6
+ if test $ac_cv_type_struct_sockaddr = yes; then
+ 
+@@ -15506,13 +20004,13 @@
+ fi
+ 
+ cv=`echo "struct sockaddr_storage" | sed 'y%./+- %__p__%'`
+-echo "$as_me:15509: checking for struct sockaddr_storage" >&5
++echo "configure:20007: checking for struct sockaddr_storage" >&5
+ echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 15515 "configure"
++#line 20013 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -15529,38 +20027,28 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:15532: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15535: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:15538: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15541: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:20030: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_type_$cv=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_type_$cv=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_type_$cv=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:15552: result: $ac_foo" >&5
++echo "configure:20040: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo struct sockaddr_storage | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:15557: checking for struct sockaddr_storage" >&5
++	echo "configure:20045: checking for struct sockaddr_storage" >&5
+ echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_sockaddr_storage+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 15563 "configure"
++#line 20051 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -15575,26 +20063,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:15578: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15581: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:15584: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15587: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:20066: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_sockaddr_storage=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_struct_sockaddr_storage=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_struct_sockaddr_storage=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:15597: result: $ac_cv_type_struct_sockaddr_storage" >&5
++echo "configure:20075: result: $ac_cv_type_struct_sockaddr_storage" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_sockaddr_storage" >&6
+ if test $ac_cv_type_struct_sockaddr_storage = yes; then
+ 
+@@ -15613,13 +20091,13 @@
+ fi
+ 
+ cv=`echo "struct addrinfo" | sed 'y%./+- %__p__%'`
+-echo "$as_me:15616: checking for struct addrinfo" >&5
++echo "configure:20094: checking for struct addrinfo" >&5
+ echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 15622 "configure"
++#line 20100 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -15636,38 +20114,28 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:15639: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15642: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:15645: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15648: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:20117: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_type_$cv=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_type_$cv=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_type_$cv=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:15659: result: $ac_foo" >&5
++echo "configure:20127: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo struct addrinfo | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:15664: checking for struct addrinfo" >&5
++	echo "configure:20132: checking for struct addrinfo" >&5
+ echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_addrinfo+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 15670 "configure"
++#line 20138 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -15682,26 +20150,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:15685: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15688: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:15691: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15694: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:20153: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_addrinfo=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_struct_addrinfo=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_struct_addrinfo=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:15704: result: $ac_cv_type_struct_addrinfo" >&5
++echo "configure:20162: result: $ac_cv_type_struct_addrinfo" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_addrinfo" >&6
+ if test $ac_cv_type_struct_addrinfo = yes; then
+ 
+@@ -15720,13 +20178,13 @@
+ fi
+ 
+ cv=`echo "struct ifaddrs" | sed 'y%./+- %__p__%'`
+-echo "$as_me:15723: checking for struct ifaddrs" >&5
++echo "configure:20181: checking for struct ifaddrs" >&5
+ echo $ECHO_N "checking for struct ifaddrs... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 15729 "configure"
++#line 20187 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -15743,38 +20201,28 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:15746: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15749: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:15752: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15755: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:20204: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_type_$cv=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_type_$cv=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_type_$cv=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:15766: result: $ac_foo" >&5
++echo "configure:20214: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo struct ifaddrs | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:15771: checking for struct ifaddrs" >&5
++	echo "configure:20219: checking for struct ifaddrs" >&5
+ echo $ECHO_N "checking for struct ifaddrs... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_ifaddrs+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 15777 "configure"
++#line 20225 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -15789,26 +20237,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:15792: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15795: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:15798: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15801: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:20240: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_ifaddrs=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_struct_ifaddrs=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_struct_ifaddrs=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:15811: result: $ac_cv_type_struct_ifaddrs" >&5
++echo "configure:20249: result: $ac_cv_type_struct_ifaddrs" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_ifaddrs" >&6
+ if test $ac_cv_type_struct_ifaddrs = yes; then
+ 
+@@ -15826,7 +20264,7 @@
+ 
+ fi
+ 
+-echo "$as_me:15829: checking for struct winsize" >&5
++echo "configure:20267: checking for struct winsize" >&5
+ echo $ECHO_N "checking for struct winsize... $ECHO_C" >&6
+ if test "${ac_cv_struct_winsize+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -15835,7 +20273,7 @@
+ ac_cv_struct_winsize=no
+ for i in sys/termios.h sys/ioctl.h; do
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 15838 "configure"
++#line 20276 "configure"
+ #include "confdefs.h"
+ #include <$i>
+ 
+@@ -15856,10 +20294,10 @@
+ EOF
+ 
+ fi
+-echo "$as_me:15859: result: $ac_cv_struct_winsize" >&5
++echo "configure:20297: result: $ac_cv_struct_winsize" >&5
+ echo "${ECHO_T}$ac_cv_struct_winsize" >&6
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 15862 "configure"
++#line 20300 "configure"
+ #include "confdefs.h"
+ #include <termios.h>
+ 
+@@ -15875,7 +20313,7 @@
+ rm -f conftest*
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 15878 "configure"
++#line 20316 "configure"
+ #include "confdefs.h"
+ #include <termios.h>
+ 
+@@ -15890,14 +20328,14 @@
+ fi
+ rm -f conftest*
+ 
+-echo "$as_me:15893: checking for struct spwd" >&5
++echo "configure:20331: checking for struct spwd" >&5
+ echo $ECHO_N "checking for struct spwd... $ECHO_C" >&6
+ if test "${ac_cv_struct_spwd+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 15900 "configure"
++#line 20338 "configure"
+ #include "confdefs.h"
+ #include <pwd.h>
+ #ifdef HAVE_SHADOW_H
+@@ -15912,28 +20350,18 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:15915: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15918: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:15921: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:15924: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:20353: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_struct_spwd=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_struct_spwd=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_struct_spwd=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ 
+ fi
+ 
+-echo "$as_me:15936: result: $ac_cv_struct_spwd" >&5
++echo "configure:20364: result: $ac_cv_struct_spwd" >&5
+ echo "${ECHO_T}$ac_cv_struct_spwd" >&6
+ 
+ if test "$ac_cv_struct_spwd" = "yes"; then
+@@ -15958,9 +20386,7 @@
+ if test "${with_openldap_lib+set}" = set; then
+   withval="$with_openldap_lib"
+   if test "$withval" = "yes" -o "$withval" = "no"; then
+-  { { echo "$as_me:15961: error: No argument for --with-openldap-lib" >&5
+-echo "$as_me: error: No argument for --with-openldap-lib" >&2;}
+-   { (exit 1); exit 1; }; }
++  { echo "configure: error: No argument for --with-openldap-lib" >&2; exit 1; }
+ elif test "X$with_openldap" = "X"; then
+   with_openldap=yes
+ fi
+@@ -15970,15 +20396,13 @@
+ if test "${with_openldap_include+set}" = set; then
+   withval="$with_openldap_include"
+   if test "$withval" = "yes" -o "$withval" = "no"; then
+-  { { echo "$as_me:15973: error: No argument for --with-openldap-include" >&5
+-echo "$as_me: error: No argument for --with-openldap-include" >&2;}
+-   { (exit 1); exit 1; }; }
++  { echo "configure: error: No argument for --with-openldap-include" >&2; exit 1; }
+ elif test "X$with_openldap" = "X"; then
+   with_openldap=yes
+ fi
+ fi;
+ 
+-echo "$as_me:15981: checking for openldap" >&5
++echo "configure:20405: checking for openldap" >&5
+ echo $ECHO_N "checking for openldap... $ECHO_C" >&6
+ 
+ case "$with_openldap" in
+@@ -15996,7 +20420,7 @@
+ header_dirs=
+ lib_dirs=
+ d=''
+-for i in $d; do
++for i in $d /usr; do
+ 	header_dirs="$header_dirs $i/include"
+ 	lib_dirs="$lib_dirs $i/lib$abilibdirext"
+ done
+@@ -16018,7 +20442,7 @@
+ for i in $header_dirs; do
+ 	CFLAGS="-I$i $save_CFLAGS"
+ 	cat >conftest.$ac_ext <<_ACEOF
+-#line 16021 "configure"
++#line 20445 "configure"
+ #include "confdefs.h"
+ #include <lber.h>
+ #include <ldap.h>
+@@ -16031,28 +20455,18 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:16034: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:16037: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:16040: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:16043: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:20458: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ires=$i;break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ done
+ for i in $lib_dirs; do
+ 	LIBS="-L$i -lldap -llber  $save_LIBS"
+ 	cat >conftest.$ac_ext <<_ACEOF
+-#line 16055 "configure"
++#line 20469 "configure"
+ #include "confdefs.h"
+ #include <lber.h>
+ #include <ldap.h>
+@@ -16065,23 +20479,13 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:16068: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:16071: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:16074: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:16077: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:20482: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   lres=$i;break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ done
+ CFLAGS="$save_CFLAGS"
+ LIBS="$save_LIBS"
+@@ -16089,21 +20493,19 @@
+ if test "$ires" -a "$lres" -a "$with_openldap" != "no"; then
+ 	openldap_includedir="$ires"
+ 	openldap_libdir="$lres"
++	DIR_openldap=
+ 	INCLUDE_openldap="-I$openldap_includedir"
+ 	LIB_openldap="-L$openldap_libdir -lldap -llber"
+-
+-cat >>confdefs.h <<EOF
+-#define OPENLDAP 1
+-EOF
+-
++	
+ 	with_openldap=yes
+-	echo "$as_me:16100: result: headers $ires, libraries $lres" >&5
++	echo "configure:20501: result: headers $ires, libraries $lres" >&5
+ echo "${ECHO_T}headers $ires, libraries $lres" >&6
+ else
++	DIR_openldap="openldap"
+ 	INCLUDE_openldap=
+ 	LIB_openldap=
+ 	with_openldap=no
+-	echo "$as_me:16106: result: $with_openldap" >&5
++	echo "configure:20508: result: $with_openldap" >&5
+ echo "${ECHO_T}$with_openldap" >&6
+ fi
+ 
+@@ -16121,9 +20523,7 @@
+ if test "${with_krb4_lib+set}" = set; then
+   withval="$with_krb4_lib"
+   if test "$withval" = "yes" -o "$withval" = "no"; then
+-  { { echo "$as_me:16124: error: No argument for --with-krb4-lib" >&5
+-echo "$as_me: error: No argument for --with-krb4-lib" >&2;}
+-   { (exit 1); exit 1; }; }
++  { echo "configure: error: No argument for --with-krb4-lib" >&2; exit 1; }
+ elif test "X$with_krb4" = "X"; then
+   with_krb4=yes
+ fi
+@@ -16133,15 +20533,13 @@
+ if test "${with_krb4_include+set}" = set; then
+   withval="$with_krb4_include"
+   if test "$withval" = "yes" -o "$withval" = "no"; then
+-  { { echo "$as_me:16136: error: No argument for --with-krb4-include" >&5
+-echo "$as_me: error: No argument for --with-krb4-include" >&2;}
+-   { (exit 1); exit 1; }; }
++  { echo "configure: error: No argument for --with-krb4-include" >&2; exit 1; }
+ elif test "X$with_krb4" = "X"; then
+   with_krb4=yes
+ fi
+ fi;
+ 
+-echo "$as_me:16144: checking for krb4" >&5
++echo "configure:20542: checking for krb4" >&5
+ echo $ECHO_N "checking for krb4... $ECHO_C" >&6
+ 
+ case "$with_krb4" in
+@@ -16158,8 +20556,8 @@
+ esac
+ header_dirs=
+ lib_dirs=
+-d='/usr/athena'
+-for i in $d; do
++d=''
++for i in $d /usr; do
+ 	header_dirs="$header_dirs $i/include"
+ 	lib_dirs="$lib_dirs $i/lib$abilibdirext"
+ done
+@@ -16181,7 +20579,7 @@
+ for i in $header_dirs; do
+ 	CFLAGS="-I$i $save_CFLAGS"
+ 	cat >conftest.$ac_ext <<_ACEOF
+-#line 16184 "configure"
++#line 20582 "configure"
+ #include "confdefs.h"
+ #include <krb.h>
+ int
+@@ -16193,28 +20591,18 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:16196: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:16199: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:16202: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:16205: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:20594: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ires=$i;break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ done
+ for i in $lib_dirs; do
+ 	LIBS="-L$i -lkrb -ldes $save_LIBS"
+ 	cat >conftest.$ac_ext <<_ACEOF
+-#line 16217 "configure"
++#line 20605 "configure"
+ #include "confdefs.h"
+ #include <krb.h>
+ int
+@@ -16226,23 +20614,13 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:16229: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:16232: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:16235: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:16238: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:20617: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   lres=$i;break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ done
+ CFLAGS="$save_CFLAGS"
+ LIBS="$save_LIBS"
+@@ -16250,24 +20628,26 @@
+ if test "$ires" -a "$lres" -a "$with_krb4" != "no"; then
+ 	krb4_includedir="$ires"
+ 	krb4_libdir="$lres"
++	DIR_krb4=
+ 	INCLUDE_krb4="-I$krb4_includedir"
+ 	LIB_krb4="-L$krb4_libdir -lkrb"
+-
+-cat >>confdefs.h <<EOF
+-#define KRB4 1
+-EOF
+-
++	
+ 	with_krb4=yes
+-	echo "$as_me:16261: result: headers $ires, libraries $lres" >&5
++	echo "configure:20636: result: headers $ires, libraries $lres" >&5
+ echo "${ECHO_T}headers $ires, libraries $lres" >&6
+ else
++	DIR_krb4="krb4"
+ 	INCLUDE_krb4=
+ 	LIB_krb4=
+ 	with_krb4=no
+-	echo "$as_me:16267: result: $with_krb4" >&5
++	echo "configure:20643: result: $with_krb4" >&5
+ echo "${ECHO_T}$with_krb4" >&6
+ fi
+ 
++if test "$krb4_libdir" = "/usr/lib"; then
++  krb4_libdir="";
++fi
++
+ LIB_kdb=
+ if test "$with_krb4" != "no"; then
+ 	save_CFLAGS="$CFLAGS"
+@@ -16275,14 +20655,14 @@
+ 	save_LIBS="$LIBS"
+ 	LIBS="$LIB_krb4 -ldes $LIBS"
+ 	EXTRA_LIB45=lib45.a
+-
+-	echo "$as_me:16279: checking for four valued krb_put_int" >&5
++	
++	echo "configure:20659: checking for four valued krb_put_int" >&5
+ echo $ECHO_N "checking for four valued krb_put_int... $ECHO_C" >&6
+ if test "${ac_cv_func_krb_put_int_four+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 16285 "configure"
++#line 20665 "configure"
+ #include "confdefs.h"
+ #include <krb.h>
+ int
+@@ -16296,43 +20676,34 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:16299: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:16302: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:16305: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:16308: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:20679: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_func_krb_put_int_four=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_krb_put_int_four=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_krb_put_int_four=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+-
++	
+ fi
+-echo "$as_me:16319: result: $ac_cv_func_krb_put_int_four" >&5
++echo "configure:20689: result: $ac_cv_func_krb_put_int_four" >&5
+ echo "${ECHO_T}$ac_cv_func_krb_put_int_four" >&6
+ 	if test "$ac_cv_func_krb_put_int_four" = yes; then
+-
++		
+ cat >>confdefs.h <<\EOF
+ #define HAVE_FOUR_VALUED_KRB_PUT_INT 1
+ EOF
+ 
+ 	fi
++	
+ 
+-	echo "$as_me:16329: checking for KRB_VERIFY_SECURE" >&5
++	echo "configure:20700: checking for KRB_VERIFY_SECURE" >&5
+ echo $ECHO_N "checking for KRB_VERIFY_SECURE... $ECHO_C" >&6
+ if test "${ac_cv_func_krb_verify_secure+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 16335 "configure"
++#line 20706 "configure"
+ #include "confdefs.h"
+ #include <krb.h>
+ int
+@@ -16345,46 +20716,37 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:16348: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:16351: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:16354: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:16357: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:20719: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_func_krb_verify_secure=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_krb_verify_secure=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_krb_verify_secure=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+-
++	
+ fi
+-echo "$as_me:16368: result: $ac_cv_func_krb_verify_secure" >&5
++echo "configure:20729: result: $ac_cv_func_krb_verify_secure" >&5
+ echo "${ECHO_T}$ac_cv_func_krb_verify_secure" >&6
+ 	if test "$ac_cv_func_krb_verify_secure" != yes; then
+-
++		
+ cat >>confdefs.h <<\EOF
+ #define KRB_VERIFY_SECURE 1
+ EOF
+ 
++		
+ cat >>confdefs.h <<\EOF
+ #define KRB_VERIFY_SECURE_FAIL 2
+ EOF
+ 
+ 	fi
+-	echo "$as_me:16381: checking for KRB_VERIFY_NOT_SECURE" >&5
++	echo "configure:20743: checking for KRB_VERIFY_NOT_SECURE" >&5
+ echo $ECHO_N "checking for KRB_VERIFY_NOT_SECURE... $ECHO_C" >&6
+ if test "${ac_cv_func_krb_verify_not_secure+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 16387 "configure"
++#line 20749 "configure"
+ #include "confdefs.h"
+ #include <krb.h>
+ int
+@@ -16397,37 +20759,28 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:16400: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:16403: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:16406: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:16409: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:20762: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_func_krb_verify_not_secure=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_krb_verify_not_secure=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_krb_verify_not_secure=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+-
++	
+ fi
+-echo "$as_me:16420: result: $ac_cv_func_krb_verify_not_secure" >&5
++echo "configure:20772: result: $ac_cv_func_krb_verify_not_secure" >&5
+ echo "${ECHO_T}$ac_cv_func_krb_verify_not_secure" >&6
+ 	if test "$ac_cv_func_krb_verify_not_secure" != yes; then
+-
++		
+ cat >>confdefs.h <<\EOF
+ #define KRB_VERIFY_NOT_SECURE 0
+ EOF
+ 
+ 	fi
++	
+ 
+-echo "$as_me:16430: checking for krb_enable_debug" >&5
++echo "configure:20783: checking for krb_enable_debug" >&5
+ echo $ECHO_N "checking for krb_enable_debug... $ECHO_C" >&6
+ if test "${ac_cv_funclib_krb_enable_debug+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -16443,7 +20796,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 16446 "configure"
++#line 20799 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -16455,23 +20808,13 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:16458: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:16461: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:16464: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:16467: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:20811: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_krb_enable_debug=$ac_lib; else ac_cv_funclib_krb_enable_debug=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_krb_enable_debug=\${ac_cv_funclib_krb_enable_debug-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -16482,17 +20825,17 @@
+ eval "ac_res=\$ac_cv_funclib_krb_enable_debug"
+ 
+ if false; then
+-
++	
+ for ac_func in krb_enable_debug
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:16489: checking for $ac_func" >&5
++echo "configure:20832: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 16495 "configure"
++#line 20838 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -16523,26 +20866,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:16526: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:16529: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:16532: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:16535: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:20869: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:16545: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:20878: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -16566,13 +20899,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:16569: result: yes" >&5
++	echo "configure:20902: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_krb_enable_debug=no"
+ 	eval "LIB_krb_enable_debug="
+-	echo "$as_me:16575: result: no" >&5
++	echo "configure:20908: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -16586,7 +20919,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:16589: result: yes, in $ac_res" >&5
++	echo "configure:20922: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -16595,7 +20928,9 @@
+ 	LIBS="$LIB_krb_enable_debug $LIBS"
+ fi
+ 
+-echo "$as_me:16598: checking for krb_disable_debug" >&5
++	
++
++echo "configure:20933: checking for krb_disable_debug" >&5
+ echo $ECHO_N "checking for krb_disable_debug... $ECHO_C" >&6
+ if test "${ac_cv_funclib_krb_disable_debug+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -16611,7 +20946,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 16614 "configure"
++#line 20949 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -16623,23 +20958,13 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:16626: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:16629: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:16632: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:16635: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:20961: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_krb_disable_debug=$ac_lib; else ac_cv_funclib_krb_disable_debug=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_krb_disable_debug=\${ac_cv_funclib_krb_disable_debug-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -16650,17 +20975,17 @@
+ eval "ac_res=\$ac_cv_funclib_krb_disable_debug"
+ 
+ if false; then
+-
++	
+ for ac_func in krb_disable_debug
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:16657: checking for $ac_func" >&5
++echo "configure:20982: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 16663 "configure"
++#line 20988 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -16691,26 +21016,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:16694: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:16697: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:16700: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:16703: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:21019: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:16713: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:21028: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -16734,13 +21049,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:16737: result: yes" >&5
++	echo "configure:21052: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_krb_disable_debug=no"
+ 	eval "LIB_krb_disable_debug="
+-	echo "$as_me:16743: result: no" >&5
++	echo "configure:21058: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -16754,7 +21069,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:16757: result: yes, in $ac_res" >&5
++	echo "configure:21072: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -16763,7 +21078,9 @@
+ 	LIBS="$LIB_krb_disable_debug $LIBS"
+ fi
+ 
+-echo "$as_me:16766: checking for krb_get_our_ip_for_realm" >&5
++	
++
++echo "configure:21083: checking for krb_get_our_ip_for_realm" >&5
+ echo $ECHO_N "checking for krb_get_our_ip_for_realm... $ECHO_C" >&6
+ if test "${ac_cv_funclib_krb_get_our_ip_for_realm+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -16779,7 +21096,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 16782 "configure"
++#line 21099 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -16791,23 +21108,13 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:16794: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:16797: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:16800: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:16803: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:21111: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_krb_get_our_ip_for_realm=$ac_lib; else ac_cv_funclib_krb_get_our_ip_for_realm=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_krb_get_our_ip_for_realm=\${ac_cv_funclib_krb_get_our_ip_for_realm-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -16818,17 +21125,17 @@
+ eval "ac_res=\$ac_cv_funclib_krb_get_our_ip_for_realm"
+ 
+ if false; then
+-
++	
+ for ac_func in krb_get_our_ip_for_realm
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:16825: checking for $ac_func" >&5
++echo "configure:21132: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 16831 "configure"
++#line 21138 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -16859,26 +21166,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:16862: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:16865: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:16868: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:16871: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:21169: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:16881: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:21178: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -16902,13 +21199,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:16905: result: yes" >&5
++	echo "configure:21202: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_krb_get_our_ip_for_realm=no"
+ 	eval "LIB_krb_get_our_ip_for_realm="
+-	echo "$as_me:16911: result: no" >&5
++	echo "configure:21208: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -16922,7 +21219,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:16925: result: yes, in $ac_res" >&5
++	echo "configure:21222: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -16931,13 +21228,13 @@
+ 	LIBS="$LIB_krb_get_our_ip_for_realm $LIBS"
+ fi
+ 
+-	echo "$as_me:16934: checking for krb_mk_req with const arguments" >&5
++	echo "configure:21231: checking for krb_mk_req with const arguments" >&5
+ echo $ECHO_N "checking for krb_mk_req with const arguments... $ECHO_C" >&6
+ if test "${ac_cv_func_krb_mk_req_const+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 16940 "configure"
++#line 21237 "configure"
+ #include "confdefs.h"
+ #include <krb.h>
+ 		int krb_mk_req(KTEXT a, const char *s, const char *i,
+@@ -16952,30 +21249,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:16955: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:16958: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:16961: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:16964: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:21252: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_func_krb_mk_req_const=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_krb_mk_req_const=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_krb_mk_req_const=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+-
++	
+ fi
+-echo "$as_me:16975: result: $ac_cv_func_krb_mk_req_const" >&5
++echo "configure:21262: result: $ac_cv_func_krb_mk_req_const" >&5
+ echo "${ECHO_T}$ac_cv_func_krb_mk_req_const" >&6
+ 	if test "$ac_cv_func_krb_mk_req_const" = "yes"; then
+-
++		
+ cat >>confdefs.h <<\EOF
+ #define KRB_MK_REQ_CONST 1
+ EOF
+@@ -16986,7 +21273,7 @@
+ 	CFLAGS="$save_CFLAGS"
+ 	LIB_kdb="-lkdb -lkrb"
+ 	test_LIB_krb4="$LIB_krb4"
+-	if test "$krb4_libdir"; then
++	if test "$krb4_libdir" != ""; then
+ 		LIB_krb4="-R $krb4_libdir $LIB_krb4"
+ 		LIB_kdb="-R $krb4_libdir -L$krb4_libdir $LIB_kdb"
+ 	fi
+@@ -17062,7 +21349,7 @@
+ 
+ fi;
+ if test "$otp" = "yes"; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define OTP 1
+ EOF
+@@ -17085,7 +21372,7 @@
+ fi;
+ LIB_security=
+ if test "$enable_osfc2" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_OSFC2 1
+ EOF
+@@ -17095,7 +21382,7 @@
+ 
+ # Extract the first word of "nroff", so it can be a program name with args.
+ set dummy nroff; ac_word=$2
+-echo "$as_me:17098: checking for $ac_word" >&5
++echo "configure:21385: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_path_NROFF+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -17105,14 +21392,13 @@
+   ac_cv_path_NROFF="$NROFF" # Let the user override the test with a path.
+   ;;
+   *)
+-  ac_save_IFS=$IFS; IFS=$ac_path_separator
++  ac_save_IFS=$IFS; IFS=':'
+ ac_dummy="$PATH"
+ for ac_dir in $ac_dummy; do
+   IFS=$ac_save_IFS
+   test -z "$ac_dir" && ac_dir=.
+-  if $as_executable_p "$ac_dir/$ac_word"; then
++  if test -f "$ac_dir/$ac_word"; then
+    ac_cv_path_NROFF="$ac_dir/$ac_word"
+-   echo "$as_me:17115: found $ac_dir/$ac_word" >&5
+    break
+ fi
+ done
+@@ -17123,16 +21409,16 @@
+ NROFF=$ac_cv_path_NROFF
+ 
+ if test -n "$NROFF"; then
+-  echo "$as_me:17126: result: $NROFF" >&5
++  echo "configure:21412: result: $NROFF" >&5
+ echo "${ECHO_T}$NROFF" >&6
+ else
+-  echo "$as_me:17129: result: no" >&5
++  echo "configure:21415: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+ # Extract the first word of "groff", so it can be a program name with args.
+ set dummy groff; ac_word=$2
+-echo "$as_me:17135: checking for $ac_word" >&5
++echo "configure:21421: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_path_GROFF+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -17142,14 +21428,13 @@
+   ac_cv_path_GROFF="$GROFF" # Let the user override the test with a path.
+   ;;
+   *)
+-  ac_save_IFS=$IFS; IFS=$ac_path_separator
++  ac_save_IFS=$IFS; IFS=':'
+ ac_dummy="$PATH"
+ for ac_dir in $ac_dummy; do
+   IFS=$ac_save_IFS
+   test -z "$ac_dir" && ac_dir=.
+-  if $as_executable_p "$ac_dir/$ac_word"; then
++  if test -f "$ac_dir/$ac_word"; then
+    ac_cv_path_GROFF="$ac_dir/$ac_word"
+-   echo "$as_me:17152: found $ac_dir/$ac_word" >&5
+    break
+ fi
+ done
+@@ -17160,14 +21445,14 @@
+ GROFF=$ac_cv_path_GROFF
+ 
+ if test -n "$GROFF"; then
+-  echo "$as_me:17163: result: $GROFF" >&5
++  echo "configure:21448: result: $GROFF" >&5
+ echo "${ECHO_T}$GROFF" >&6
+ else
+-  echo "$as_me:17166: result: no" >&5
++  echo "configure:21451: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+-echo "$as_me:17170: checking how to format man pages" >&5
++echo "configure:21455: checking how to format man pages" >&5
+ echo $ECHO_N "checking how to format man pages... $ECHO_C" >&6
+ if test "${ac_cv_sys_man_format+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -17204,102 +21489,362 @@
+ fi
+ 
+ fi
+-echo "$as_me:17207: result: $ac_cv_sys_man_format" >&5
+-echo "${ECHO_T}$ac_cv_sys_man_format" >&6
+-if test "$ac_cv_sys_man_format"; then
+-	CATMAN="$ac_cv_sys_man_format"
++echo "configure:21492: result: $ac_cv_sys_man_format" >&5
++echo "${ECHO_T}$ac_cv_sys_man_format" >&6
++if test "$ac_cv_sys_man_format"; then
++	CATMAN="$ac_cv_sys_man_format"
++	
++fi
++
++if test "$CATMAN"; then
++  CATMAN_TRUE=
++  CATMAN_FALSE='#'
++else
++  CATMAN_TRUE='#'
++  CATMAN_FALSE=
++fi
++echo "configure:21506: checking extension of pre-formatted manual pages" >&5
++echo $ECHO_N "checking extension of pre-formatted manual pages... $ECHO_C" >&6
++if test "${ac_cv_sys_catman_ext+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if grep _suffix /etc/man.conf > /dev/null 2>&1; then
++	ac_cv_sys_catman_ext=0
++else
++	ac_cv_sys_catman_ext=number
++fi
++
++fi
++echo "configure:21518: result: $ac_cv_sys_catman_ext" >&5
++echo "${ECHO_T}$ac_cv_sys_catman_ext" >&6
++if test "$ac_cv_sys_catman_ext" = number; then
++	CATMANEXT='$$section'
++else
++	CATMANEXT=0
++fi
++
++# Check whether --with-readline or --without-readline was given.
++if test "${with_readline+set}" = set; then
++  withval="$with_readline"
++
++fi;
++
++# Check whether --with-readline-lib or --without-readline-lib was given.
++if test "${with_readline_lib+set}" = set; then
++  withval="$with_readline_lib"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { echo "configure: error: No argument for --with-readline-lib" >&2; exit 1; }
++elif test "X$with_readline" = "X"; then
++  with_readline=yes
++fi
++fi;
++
++# Check whether --with-readline-include or --without-readline-include was given.
++if test "${with_readline_include+set}" = set; then
++  withval="$with_readline_include"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { echo "configure: error: No argument for --with-readline-include" >&2; exit 1; }
++elif test "X$with_readline" = "X"; then
++  with_readline=yes
++fi
++fi;
++
++echo "configure:21552: checking for readline" >&5
++echo $ECHO_N "checking for readline... $ECHO_C" >&6
++
++case "$with_readline" in
++yes)	;;
++no)	;;
++"")	;;
++*)	if test "$with_readline_include" = ""; then
++		with_readline_include="$with_readline/include"
++	fi
++	if test "$with_readline_lib" = ""; then
++		with_readline_lib="$with_readline/lib$abilibdirext"
++	fi
++	;;
++esac
++header_dirs=
++lib_dirs=
++d=''
++for i in $d /usr; do
++	header_dirs="$header_dirs $i/include"
++	lib_dirs="$lib_dirs $i/lib$abilibdirext"
++done
++
++case "$with_readline_include" in
++yes) ;;
++no)  ;;
++*)   header_dirs="$with_readline_include $header_dirs";;
++esac
++case "$with_readline_lib" in
++yes) ;;
++no)  ;;
++*)   lib_dirs="$with_readline_lib $lib_dirs";;
++esac
++
++save_CFLAGS="$CFLAGS"
++save_LIBS="$LIBS"
++ires= lres=
++for i in $header_dirs; do
++	CFLAGS="-I$i $save_CFLAGS"
++	cat >conftest.$ac_ext <<_ACEOF
++#line 21592 "configure"
++#include "confdefs.h"
++#include <stdio.h>
++ #include <readline.h>
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:21605: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++  ires=$i;break
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++done
++for i in $lib_dirs; do
++	LIBS="-L$i -lreadline  $save_LIBS"
++	cat >conftest.$ac_ext <<_ACEOF
++#line 21616 "configure"
++#include "confdefs.h"
++#include <stdio.h>
++ #include <readline.h>
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:21629: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  lres=$i;break
++else
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++fi
++rm -f conftest$ac_exeext conftest.$ac_ext
++done
++CFLAGS="$save_CFLAGS"
++LIBS="$save_LIBS"
++
++if test "$ires" -a "$lres" -a "$with_readline" != "no"; then
++	readline_includedir="$ires"
++	readline_libdir="$lres"
++	DIR_readline=
++	INCLUDE_readline="-I$readline_includedir"
++	LIB_readline="-L$readline_libdir -lreadline"
++	
++	with_readline=yes
++	echo "configure:21648: result: headers $ires, libraries $lres" >&5
++echo "${ECHO_T}headers $ires, libraries $lres" >&6
++else
++	DIR_readline="readline"
++	INCLUDE_readline=
++	LIB_readline=
++	with_readline=no
++	echo "configure:21655: result: $with_readline" >&5
++echo "${ECHO_T}$with_readline" >&6
++fi
++
++# Check whether --with-com_err or --without-com_err was given.
++if test "${with_com_err+set}" = set; then
++  withval="$with_com_err"
++
++fi;
++
++# Check whether --with-com_err-lib or --without-com_err-lib was given.
++if test "${with_com_err_lib+set}" = set; then
++  withval="$with_com_err_lib"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { echo "configure: error: No argument for --with-com_err-lib" >&2; exit 1; }
++elif test "X$with_com_err" = "X"; then
++  with_com_err=yes
++fi
++fi;
+ 
++# Check whether --with-com_err-include or --without-com_err-include was given.
++if test "${with_com_err_include+set}" = set; then
++  withval="$with_com_err_include"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { echo "configure: error: No argument for --with-com_err-include" >&2; exit 1; }
++elif test "X$with_com_err" = "X"; then
++  with_com_err=yes
+ fi
++fi;
+ 
+-if test "$CATMAN"; then
+-  CATMAN_TRUE=
+-  CATMAN_FALSE='#'
++echo "configure:21685: checking for com_err" >&5
++echo $ECHO_N "checking for com_err... $ECHO_C" >&6
++
++case "$with_com_err" in
++yes)	;;
++no)	;;
++"")	;;
++*)	if test "$with_com_err_include" = ""; then
++		with_com_err_include="$with_com_err/include"
++	fi
++	if test "$with_com_err_lib" = ""; then
++		with_com_err_lib="$with_com_err/lib$abilibdirext"
++	fi
++	;;
++esac
++header_dirs=
++lib_dirs=
++d=''
++for i in $d /usr; do
++	header_dirs="$header_dirs $i/include"
++	lib_dirs="$lib_dirs $i/lib$abilibdirext"
++done
++
++case "$with_com_err_include" in
++yes) ;;
++no)  ;;
++*)   header_dirs="$with_com_err_include $header_dirs";;
++esac
++case "$with_com_err_lib" in
++yes) ;;
++no)  ;;
++*)   lib_dirs="$with_com_err_lib $lib_dirs";;
++esac
++
++save_CFLAGS="$CFLAGS"
++save_LIBS="$LIBS"
++ires= lres=
++for i in $header_dirs; do
++	CFLAGS="-I$i $save_CFLAGS"
++	cat >conftest.$ac_ext <<_ACEOF
++#line 21725 "configure"
++#include "confdefs.h"
++#include <et/com_err.h>
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo configure:21737: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
++  ires=$i;break
+ else
+-  CATMAN_TRUE='#'
+-  CATMAN_FALSE=
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+-echo "$as_me:17221: checking extension of pre-formatted manual pages" >&5
+-echo $ECHO_N "checking extension of pre-formatted manual pages... $ECHO_C" >&6
+-if test "${ac_cv_sys_catman_ext+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  if grep _suffix /etc/man.conf > /dev/null 2>&1; then
+-	ac_cv_sys_catman_ext=0
++rm -f conftest.$ac_objext conftest.$ac_ext
++done
++for i in $lib_dirs; do
++	LIBS="-L$i -lcom_err  $save_LIBS"
++	cat >conftest.$ac_ext <<_ACEOF
++#line 21748 "configure"
++#include "confdefs.h"
++#include <et/com_err.h>
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:21760: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
++  lres=$i;break
+ else
+-	ac_cv_sys_catman_ext=number
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
++rm -f conftest$ac_exeext conftest.$ac_ext
++done
++CFLAGS="$save_CFLAGS"
++LIBS="$save_LIBS"
+ 
+-fi
+-echo "$as_me:17233: result: $ac_cv_sys_catman_ext" >&5
+-echo "${ECHO_T}$ac_cv_sys_catman_ext" >&6
+-if test "$ac_cv_sys_catman_ext" = number; then
+-	CATMANEXT='$$section'
++if test "$ires" -a "$lres" -a "$with_com_err" != "no"; then
++	com_err_includedir="$ires"
++	com_err_libdir="$lres"
++	DIR_com_err=
++	INCLUDE_com_err="-I$com_err_includedir"
++	LIB_com_err="-L$com_err_libdir -lcom_err"
++	
++	with_com_err=yes
++	echo "configure:21779: result: headers $ires, libraries $lres" >&5
++echo "${ECHO_T}headers $ires, libraries $lres" >&6
+ else
+-	CATMANEXT=0
++	DIR_com_err="com_err"
++	INCLUDE_com_err=
++	LIB_com_err=
++	with_com_err=no
++	echo "configure:21786: result: $with_com_err" >&5
++echo "${ECHO_T}$with_com_err" >&6
+ fi
+ 
+-# Check whether --with-readline or --without-readline was given.
+-if test "${with_readline+set}" = set; then
+-  withval="$with_readline"
++# Check whether --with-ss or --without-ss was given.
++if test "${with_ss+set}" = set; then
++  withval="$with_ss"
+ 
+ fi;
+ 
+-# Check whether --with-readline-lib or --without-readline-lib was given.
+-if test "${with_readline_lib+set}" = set; then
+-  withval="$with_readline_lib"
++# Check whether --with-ss-lib or --without-ss-lib was given.
++if test "${with_ss_lib+set}" = set; then
++  withval="$with_ss_lib"
+   if test "$withval" = "yes" -o "$withval" = "no"; then
+-  { { echo "$as_me:17251: error: No argument for --with-readline-lib" >&5
+-echo "$as_me: error: No argument for --with-readline-lib" >&2;}
+-   { (exit 1); exit 1; }; }
+-elif test "X$with_readline" = "X"; then
+-  with_readline=yes
++  { echo "configure: error: No argument for --with-ss-lib" >&2; exit 1; }
++elif test "X$with_ss" = "X"; then
++  with_ss=yes
+ fi
+ fi;
+ 
+-# Check whether --with-readline-include or --without-readline-include was given.
+-if test "${with_readline_include+set}" = set; then
+-  withval="$with_readline_include"
++# Check whether --with-ss-include or --without-ss-include was given.
++if test "${with_ss_include+set}" = set; then
++  withval="$with_ss_include"
+   if test "$withval" = "yes" -o "$withval" = "no"; then
+-  { { echo "$as_me:17263: error: No argument for --with-readline-include" >&5
+-echo "$as_me: error: No argument for --with-readline-include" >&2;}
+-   { (exit 1); exit 1; }; }
+-elif test "X$with_readline" = "X"; then
+-  with_readline=yes
++  { echo "configure: error: No argument for --with-ss-include" >&2; exit 1; }
++elif test "X$with_ss" = "X"; then
++  with_ss=yes
+ fi
+ fi;
+ 
+-echo "$as_me:17271: checking for readline" >&5
+-echo $ECHO_N "checking for readline... $ECHO_C" >&6
++echo "configure:21816: checking for ss" >&5
++echo $ECHO_N "checking for ss... $ECHO_C" >&6
+ 
+-case "$with_readline" in
++case "$with_ss" in
+ yes)	;;
+ no)	;;
+ "")	;;
+-*)	if test "$with_readline_include" = ""; then
+-		with_readline_include="$with_readline/include"
++*)	if test "$with_ss_include" = ""; then
++		with_ss_include="$with_ss/include"
+ 	fi
+-	if test "$with_readline_lib" = ""; then
+-		with_readline_lib="$with_readline/lib$abilibdirext"
++	if test "$with_ss_lib" = ""; then
++		with_ss_lib="$with_ss/lib$abilibdirext"
+ 	fi
+ 	;;
+ esac
+ header_dirs=
+ lib_dirs=
+ d=''
+-for i in $d; do
++for i in $d /usr; do
+ 	header_dirs="$header_dirs $i/include"
+ 	lib_dirs="$lib_dirs $i/lib$abilibdirext"
+ done
+ 
+-case "$with_readline_include" in
++case "$with_ss_include" in
+ yes) ;;
+ no)  ;;
+-*)   header_dirs="$with_readline_include $header_dirs";;
++*)   header_dirs="$with_ss_include $header_dirs";;
+ esac
+-case "$with_readline_lib" in
++case "$with_ss_lib" in
+ yes) ;;
+ no)  ;;
+-*)   lib_dirs="$with_readline_lib $lib_dirs";;
++*)   lib_dirs="$with_ss_lib $lib_dirs";;
+ esac
+ 
+ save_CFLAGS="$CFLAGS"
+@@ -17308,10 +21853,9 @@
+ for i in $header_dirs; do
+ 	CFLAGS="-I$i $save_CFLAGS"
+ 	cat >conftest.$ac_ext <<_ACEOF
+-#line 17311 "configure"
++#line 21856 "configure"
+ #include "confdefs.h"
+-#include <stdio.h>
+- #include <readline.h>
++#include <ss.h>
+ int
+ main ()
+ {
+@@ -17321,31 +21865,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:17324: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:17327: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:17330: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:17333: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:21868: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ires=$i;break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ done
+ for i in $lib_dirs; do
+-	LIBS="-L$i -lreadline  $save_LIBS"
++	LIBS="-L$i -lss  $save_LIBS"
+ 	cat >conftest.$ac_ext <<_ACEOF
+-#line 17345 "configure"
++#line 21879 "configure"
+ #include "confdefs.h"
+-#include <stdio.h>
+- #include <readline.h>
++#include <ss.h>
+ int
+ main ()
+ {
+@@ -17355,46 +21888,34 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:17358: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:17361: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:17364: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:17367: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:21891: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   lres=$i;break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ done
+ CFLAGS="$save_CFLAGS"
+ LIBS="$save_LIBS"
+ 
+-if test "$ires" -a "$lres" -a "$with_readline" != "no"; then
+-	readline_includedir="$ires"
+-	readline_libdir="$lres"
+-	INCLUDE_readline="-I$readline_includedir"
+-	LIB_readline="-L$readline_libdir -lreadline"
+-
+-cat >>confdefs.h <<EOF
+-#define READLINE 1
+-EOF
+-
+-	with_readline=yes
+-	echo "$as_me:17390: result: headers $ires, libraries $lres" >&5
++if test "$ires" -a "$lres" -a "$with_ss" != "no"; then
++	ss_includedir="$ires"
++	ss_libdir="$lres"
++	DIR_ss=
++	INCLUDE_ss="-I$ss_includedir"
++	LIB_ss="-L$ss_libdir -lss"
++	
++	with_ss=yes
++	echo "configure:21910: result: headers $ires, libraries $lres" >&5
+ echo "${ECHO_T}headers $ires, libraries $lres" >&6
+ else
+-	INCLUDE_readline=
+-	LIB_readline=
+-	with_readline=no
+-	echo "$as_me:17396: result: $with_readline" >&5
+-echo "${ECHO_T}$with_readline" >&6
++	DIR_ss="ss"
++	INCLUDE_ss=
++	LIB_ss=
++	with_ss=no
++	echo "configure:21917: result: $with_ss" >&5
++echo "${ECHO_T}$with_ss" >&6
+ fi
+ 
+ # Check whether --with-hesiod or --without-hesiod was given.
+@@ -17407,9 +21928,7 @@
+ if test "${with_hesiod_lib+set}" = set; then
+   withval="$with_hesiod_lib"
+   if test "$withval" = "yes" -o "$withval" = "no"; then
+-  { { echo "$as_me:17410: error: No argument for --with-hesiod-lib" >&5
+-echo "$as_me: error: No argument for --with-hesiod-lib" >&2;}
+-   { (exit 1); exit 1; }; }
++  { echo "configure: error: No argument for --with-hesiod-lib" >&2; exit 1; }
+ elif test "X$with_hesiod" = "X"; then
+   with_hesiod=yes
+ fi
+@@ -17419,15 +21938,13 @@
+ if test "${with_hesiod_include+set}" = set; then
+   withval="$with_hesiod_include"
+   if test "$withval" = "yes" -o "$withval" = "no"; then
+-  { { echo "$as_me:17422: error: No argument for --with-hesiod-include" >&5
+-echo "$as_me: error: No argument for --with-hesiod-include" >&2;}
+-   { (exit 1); exit 1; }; }
++  { echo "configure: error: No argument for --with-hesiod-include" >&2; exit 1; }
+ elif test "X$with_hesiod" = "X"; then
+   with_hesiod=yes
+ fi
+ fi;
+ 
+-echo "$as_me:17430: checking for hesiod" >&5
++echo "configure:21947: checking for hesiod" >&5
+ echo $ECHO_N "checking for hesiod... $ECHO_C" >&6
+ 
+ case "$with_hesiod" in
+@@ -17445,7 +21962,7 @@
+ header_dirs=
+ lib_dirs=
+ d=''
+-for i in $d; do
++for i in $d /usr; do
+ 	header_dirs="$header_dirs $i/include"
+ 	lib_dirs="$lib_dirs $i/lib$abilibdirext"
+ done
+@@ -17467,7 +21984,7 @@
+ for i in $header_dirs; do
+ 	CFLAGS="-I$i $save_CFLAGS"
+ 	cat >conftest.$ac_ext <<_ACEOF
+-#line 17470 "configure"
++#line 21987 "configure"
+ #include "confdefs.h"
+ #include <hesiod.h>
+ int
+@@ -17479,28 +21996,18 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:17482: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:17485: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:17488: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:17491: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:21999: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ires=$i;break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ done
+ for i in $lib_dirs; do
+ 	LIBS="-L$i -lhesiod  $save_LIBS"
+ 	cat >conftest.$ac_ext <<_ACEOF
+-#line 17503 "configure"
++#line 22010 "configure"
+ #include "confdefs.h"
+ #include <hesiod.h>
+ int
+@@ -17512,23 +22019,13 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:17515: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:17518: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:17521: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:17524: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:22022: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   lres=$i;break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ done
+ CFLAGS="$save_CFLAGS"
+ LIBS="$save_LIBS"
+@@ -17536,21 +22033,19 @@
+ if test "$ires" -a "$lres" -a "$with_hesiod" != "no"; then
+ 	hesiod_includedir="$ires"
+ 	hesiod_libdir="$lres"
++	DIR_hesiod=
+ 	INCLUDE_hesiod="-I$hesiod_includedir"
+ 	LIB_hesiod="-L$hesiod_libdir -lhesiod"
+-
+-cat >>confdefs.h <<EOF
+-#define HESIOD 1
+-EOF
+-
++	
+ 	with_hesiod=yes
+-	echo "$as_me:17547: result: headers $ires, libraries $lres" >&5
++	echo "configure:22041: result: headers $ires, libraries $lres" >&5
+ echo "${ECHO_T}headers $ires, libraries $lres" >&6
+ else
++	DIR_hesiod="hesiod"
+ 	INCLUDE_hesiod=
+ 	LIB_hesiod=
+ 	with_hesiod=no
+-	echo "$as_me:17553: result: $with_hesiod" >&5
++	echo "configure:22048: result: $with_hesiod" >&5
+ echo "${ECHO_T}$with_hesiod" >&6
+ fi
+ 
+@@ -17564,13 +22059,13 @@
+   enableval="$enable_littleendian"
+   krb_cv_c_bigendian=no
+ fi;
+-echo "$as_me:17567: checking whether byte order is known at compile time" >&5
++echo "configure:22062: checking whether byte order is known at compile time" >&5
+ echo $ECHO_N "checking whether byte order is known at compile time... $ECHO_C" >&6
+ if test "${krb_cv_c_bigendian_compile+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 17573 "configure"
++#line 22068 "configure"
+ #include "confdefs.h"
+ 
+ #include <sys/types.h>
+@@ -17587,28 +22082,18 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:17590: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:17593: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:17596: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:17599: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:22085: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   krb_cv_c_bigendian_compile=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-krb_cv_c_bigendian_compile=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  krb_cv_c_bigendian_compile=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:17609: result: $krb_cv_c_bigendian_compile" >&5
++echo "configure:22094: result: $krb_cv_c_bigendian_compile" >&5
+ echo "${ECHO_T}$krb_cv_c_bigendian_compile" >&6
+-echo "$as_me:17611: checking whether byte ordering is bigendian" >&5
++echo "configure:22096: checking whether byte ordering is bigendian" >&5
+ echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
+ if test "${krb_cv_c_bigendian+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -17616,7 +22101,7 @@
+ 
+   if test "$krb_cv_c_bigendian_compile" = "yes"; then
+     cat >conftest.$ac_ext <<_ACEOF
+-#line 17619 "configure"
++#line 22104 "configure"
+ #include "confdefs.h"
+ 
+ #include <sys/types.h>
+@@ -17633,32 +22118,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:17636: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:17639: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:17642: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:17645: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:22121: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   krb_cv_c_bigendian=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-krb_cv_c_bigendian=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  krb_cv_c_bigendian=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+   else
+     if test "$cross_compiling" = yes; then
+-  { { echo "$as_me:17656: error: specify either --enable-bigendian or --enable-littleendian" >&5
+-echo "$as_me: error: specify either --enable-bigendian or --enable-littleendian" >&2;}
+-   { (exit 1); exit 1; }; }
++  { echo "configure: error: specify either --enable-bigendian or --enable-littleendian" >&2; exit 1; }
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 17661 "configure"
++#line 22134 "configure"
+ #include "confdefs.h"
+ main () {
+       /* Are we little or big endian?  From Harbison&Steele.  */
+@@ -17672,29 +22145,21 @@
+   }
+ _ACEOF
+ rm -f conftest$ac_exeext
+-if { (eval echo "$as_me:17675: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:17678: \$? = $ac_status" >&5
+-  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
+-  { (eval echo "$as_me:17680: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:17683: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:22148: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
++   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
+   krb_cv_c_bigendian=no
+ else
+-  echo "$as_me: program exited with status $ac_status" >&5
+-echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-krb_cv_c_bigendian=yes
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  krb_cv_c_bigendian=yes
+ fi
+-rm -f core core.* *.core conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
++
+   fi
+ 
+ fi
+-echo "$as_me:17697: result: $krb_cv_c_bigendian" >&5
++echo "configure:22162: result: $krb_cv_c_bigendian" >&5
+ echo "${ECHO_T}$krb_cv_c_bigendian" >&6
+ if test "$krb_cv_c_bigendian" = "yes"; then
+ 
+@@ -17709,7 +22174,7 @@
+ EOF
+ fi
+ 
+-echo "$as_me:17712: checking for inline" >&5
++echo "configure:22177: checking for inline" >&5
+ echo $ECHO_N "checking for inline... $ECHO_C" >&6
+ if test "${ac_cv_c_inline+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -17717,36 +22182,25 @@
+   ac_cv_c_inline=no
+ for ac_kw in inline __inline__ __inline; do
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 17720 "configure"
++#line 22185 "configure"
+ #include "confdefs.h"
+ #ifndef __cplusplus
+-static $ac_kw int static_foo () {return 0; }
+ $ac_kw int foo () {return 0; }
+ #endif
+ 
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:17729: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:17732: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:17735: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:17738: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:22193: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_c_inline=$ac_kw; break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ done
+ 
+ fi
+-echo "$as_me:17749: result: $ac_cv_c_inline" >&5
++echo "configure:22203: result: $ac_cv_c_inline" >&5
+ echo "${ECHO_T}$ac_cv_c_inline" >&6
+ case $ac_cv_c_inline in
+   inline | yes) ;;
+@@ -17796,7 +22250,7 @@
+   AIX_DYNAMIC_AFS_FALSE=
+ fi
+ 
+-echo "$as_me:17799: checking for dlopen" >&5
++echo "configure:22253: checking for dlopen" >&5
+ echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
+ if test "${ac_cv_funclib_dlopen+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -17812,7 +22266,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 17815 "configure"
++#line 22269 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -17824,23 +22278,13 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:17827: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:17830: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:17833: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:17836: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:22281: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_dlopen=$ac_lib; else ac_cv_funclib_dlopen=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_dlopen=\${ac_cv_funclib_dlopen-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -17851,17 +22295,17 @@
+ eval "ac_res=\$ac_cv_funclib_dlopen"
+ 
+ if false; then
+-
++	
+ for ac_func in dlopen
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:17858: checking for $ac_func" >&5
++echo "configure:22302: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 17864 "configure"
++#line 22308 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -17892,26 +22336,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:17895: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:17898: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:17901: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:17904: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:22339: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:17914: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:22348: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -17935,13 +22369,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:17938: result: yes" >&5
++	echo "configure:22372: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_dlopen=no"
+ 	eval "LIB_dlopen="
+-	echo "$as_me:17944: result: no" >&5
++	echo "configure:22378: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -17955,7 +22389,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:17958: result: yes, in $ac_res" >&5
++	echo "configure:22392: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -17995,7 +22429,7 @@
+   IRIX_FALSE=
+ fi
+ 
+-echo "$as_me:17998: checking for X" >&5
++echo "configure:22432: checking for X" >&5
+ echo $ECHO_N "checking for X... $ECHO_C" >&6
+ 
+ # Check whether --with-x or --without-x was given.
+@@ -18012,14 +22446,14 @@
+     # Both variables are already set.
+     have_x=yes
+   else
+-    if test "${ac_cv_have_x+set}" = set; then
++if test "${ac_cv_have_x+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   # One or both of the vars are not set, and there is no cached value.
+ ac_x_includes=no ac_x_libraries=no
+-rm -fr conftest.dir
+-if mkdir conftest.dir; then
+-  cd conftest.dir
++rm -fr conftestdir
++if mkdir conftestdir; then
++  cd conftestdir
+   # Make sure to not put "make" in the Imakefile rules, since we grep it out.
+   cat >Imakefile <<'EOF'
+ acfindx:
+@@ -18048,7 +22482,7 @@
+     esac
+   fi
+   cd ..
+-  rm -fr conftest.dir
++  rm -fr conftestdir
+ fi
+ 
+ # Standard set of common directories for X headers.
+@@ -18092,19 +22526,13 @@
+   # Guess where to find include files, by looking for Intrinsic.h.
+   # First, try using that file with no special directory specified.
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 18095 "configure"
++#line 22529 "configure"
+ #include "confdefs.h"
+ #include <X11/Intrinsic.h>
+ _ACEOF
+-if { (eval echo "$as_me:18099: \"$ac_cpp conftest.$ac_ext\"") >&5
+-  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+-  ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
+-  rm -f conftest.er1
+-  cat conftest.err >&5
+-  echo "$as_me:18105: \$? = $ac_status" >&5
+-  (exit $ac_status); } >/dev/null; then
+-  if test -s conftest.err; then
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:22534: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+   else
+     ac_cpp_err=
+@@ -18112,11 +22540,13 @@
+ else
+   ac_cpp_err=yes
+ fi
++
+ if test -z "$ac_cpp_err"; then
+   # We can compile using X headers with no special include directory.
+ ac_x_includes=
+ else
+-  echo "$as_me: failed program was:" >&5
++  cat conftest.err >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   for ac_dir in $ac_x_header_dirs; do
+   if test -r "$ac_dir/X11/Intrinsic.h"; then
+@@ -18125,7 +22555,8 @@
+   fi
+ done
+ fi
+-rm -f conftest.err conftest.$ac_ext
++rm -f conftest*
++
+ fi # $ac_x_includes = no
+ 
+ if test "$ac_x_libraries" = no; then
+@@ -18135,7 +22566,7 @@
+   ac_save_LIBS=$LIBS
+   LIBS="-lXt $LIBS"
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 18138 "configure"
++#line 22569 "configure"
+ #include "confdefs.h"
+ #include <X11/Intrinsic.h>
+ int
+@@ -18147,24 +22578,14 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:18150: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:18153: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:18156: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:18159: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:22581: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   LIBS=$ac_save_LIBS
+ # We can link X programs with no special library path.
+ ac_x_libraries=
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-LIBS=$ac_save_LIBS
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  LIBS=$ac_save_LIBS
+ for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
+ do
+   # Don't even attempt the hair of trying to link an X program!
+@@ -18176,7 +22597,7 @@
+   done
+ done
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi # $ac_x_libraries = no
+ 
+ if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
+@@ -18188,13 +22609,12 @@
+ 	        ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
+ fi
+ fi
+-
+   fi
+   eval "$ac_cv_have_x"
+ fi # $with_x != no
+ 
+ if test "$have_x" != yes; then
+-  echo "$as_me:18197: result: $have_x" >&5
++  echo "configure:22617: result: $have_x" >&5
+ echo "${ECHO_T}$have_x" >&6
+   no_x=yes
+ else
+@@ -18204,7 +22624,7 @@
+   # Update the cache value to reflect the command line values.
+   ac_cv_have_x="have_x=yes \
+ 		ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
+-  echo "$as_me:18207: result: libraries $x_libraries, headers $x_includes" >&5
++  echo "configure:22627: result: libraries $x_libraries, headers $x_includes" >&5
+ echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
+ fi
+ 
+@@ -18228,83 +22648,39 @@
+     # others require no space.  Words are not sufficient . . . .
+     case `(uname -sr) 2>/dev/null` in
+     "SunOS 5"*)
+-      echo "$as_me:18231: checking whether -R must be followed by a space" >&5
++      echo "configure:22651: checking whether -R must be followed by a space" >&5
+ echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
+       ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
+-      cat >conftest.$ac_ext <<_ACEOF
+-#line 18235 "configure"
+-#include "confdefs.h"
+-
+-int
+-main ()
+-{
+-
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:18247: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:18250: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:18253: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:18256: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++      rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:22655: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_R_nospace=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_R_nospace=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_R_nospace=no
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext
+       if test $ac_R_nospace = yes; then
+-	echo "$as_me:18266: result: no" >&5
++	echo "configure:22664: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	X_LIBS="$X_LIBS -R$x_libraries"
+       else
+ 	LIBS="$ac_xsave_LIBS -R $x_libraries"
+-	cat >conftest.$ac_ext <<_ACEOF
+-#line 18272 "configure"
+-#include "confdefs.h"
+-
+-int
+-main ()
+-{
+-
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:18284: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:18287: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:18290: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:18293: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++	rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo configure:22670: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_R_space=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_R_space=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_R_space=no
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext
+ 	if test $ac_R_space = yes; then
+-	  echo "$as_me:18303: result: yes" >&5
++	  echo "configure:22679: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	  X_LIBS="$X_LIBS -R $x_libraries"
+ 	else
+-	  echo "$as_me:18307: result: neither works" >&5
++	  echo "configure:22683: result: neither works" >&5
+ echo "${ECHO_T}neither works" >&6
+ 	fi
+       fi
+@@ -18322,7 +22698,8 @@
+     # Martyn Johnson says this is needed for Ultrix, if the X
+     # libraries were built with DECnet support.  And Karl Berry says
+     # the Alpha needs dnet_stub (dnet does not exist).
+-    echo "$as_me:18325: checking for dnet_ntoa in -ldnet" >&5
++
++echo "configure:22702: checking for dnet_ntoa in -ldnet" >&5
+ echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
+ if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -18330,7 +22707,7 @@
+   ac_check_lib_save_LIBS=$LIBS
+ LIBS="-ldnet  $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 18333 "configure"
++#line 22710 "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -18349,34 +22726,25 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:18352: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:18355: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:18358: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:18361: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:22729: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_lib_dnet_dnet_ntoa=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_lib_dnet_dnet_ntoa=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_lib_dnet_dnet_ntoa=no
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "$as_me:18372: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
++echo "configure:22739: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
+ echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
+ if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
+   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
+ fi
+ 
+     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
+-      echo "$as_me:18379: checking for dnet_ntoa in -ldnet_stub" >&5
++
++echo "configure:22747: checking for dnet_ntoa in -ldnet_stub" >&5
+ echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
+ if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -18384,7 +22752,7 @@
+   ac_check_lib_save_LIBS=$LIBS
+ LIBS="-ldnet_stub  $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 18387 "configure"
++#line 22755 "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -18403,27 +22771,17 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:18406: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:18409: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:18412: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:18415: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:22774: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_lib_dnet_stub_dnet_ntoa=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_lib_dnet_stub_dnet_ntoa=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_lib_dnet_stub_dnet_ntoa=no
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "$as_me:18426: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
++echo "configure:22784: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
+ echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
+ if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
+   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
+@@ -18439,13 +22797,13 @@
+     # on Irix 5.2, according to T.E. Dickey.
+     # The functions gethostbyname, getservbyname, and inet_addr are
+     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
+-    echo "$as_me:18442: checking for gethostbyname" >&5
++    echo "configure:22800: checking for gethostbyname" >&5
+ echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
+ if test "${ac_cv_func_gethostbyname+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 18448 "configure"
++#line 22806 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char gethostbyname (); below.  */
+@@ -18476,30 +22834,21 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:18479: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:18482: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:18485: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:18488: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:22837: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_func_gethostbyname=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_gethostbyname=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_gethostbyname=no
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:18498: result: $ac_cv_func_gethostbyname" >&5
++echo "configure:22846: result: $ac_cv_func_gethostbyname" >&5
+ echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
+ 
+     if test $ac_cv_func_gethostbyname = no; then
+-      echo "$as_me:18502: checking for gethostbyname in -lnsl" >&5
++
++echo "configure:22851: checking for gethostbyname in -lnsl" >&5
+ echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
+ if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -18507,7 +22856,7 @@
+   ac_check_lib_save_LIBS=$LIBS
+ LIBS="-lnsl  $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 18510 "configure"
++#line 22859 "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -18526,34 +22875,25 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:18529: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:18532: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:18535: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:18538: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:22878: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_lib_nsl_gethostbyname=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_lib_nsl_gethostbyname=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_lib_nsl_gethostbyname=no
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "$as_me:18549: result: $ac_cv_lib_nsl_gethostbyname" >&5
++echo "configure:22888: result: $ac_cv_lib_nsl_gethostbyname" >&5
+ echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
+ if test $ac_cv_lib_nsl_gethostbyname = yes; then
+   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
+ fi
+ 
+       if test $ac_cv_lib_nsl_gethostbyname = no; then
+-        echo "$as_me:18556: checking for gethostbyname in -lbsd" >&5
++
++echo "configure:22896: checking for gethostbyname in -lbsd" >&5
+ echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
+ if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -18561,7 +22901,7 @@
+   ac_check_lib_save_LIBS=$LIBS
+ LIBS="-lbsd  $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 18564 "configure"
++#line 22904 "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -18580,27 +22920,17 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:18583: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:18586: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:18589: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:18592: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:22923: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_lib_bsd_gethostbyname=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_lib_bsd_gethostbyname=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_lib_bsd_gethostbyname=no
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "$as_me:18603: result: $ac_cv_lib_bsd_gethostbyname" >&5
++echo "configure:22933: result: $ac_cv_lib_bsd_gethostbyname" >&5
+ echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
+ if test $ac_cv_lib_bsd_gethostbyname = yes; then
+   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
+@@ -18616,13 +22946,13 @@
+     # variants that don't use the nameserver (or something).  -lsocket
+     # must be given before -lnsl if both are needed.  We assume that
+     # if connect needs -lnsl, so does gethostbyname.
+-    echo "$as_me:18619: checking for connect" >&5
++    echo "configure:22949: checking for connect" >&5
+ echo $ECHO_N "checking for connect... $ECHO_C" >&6
+ if test "${ac_cv_func_connect+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 18625 "configure"
++#line 22955 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char connect (); below.  */
+@@ -18653,30 +22983,21 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:18656: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:18659: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:18662: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:18665: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:22986: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_func_connect=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_connect=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_connect=no
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:18675: result: $ac_cv_func_connect" >&5
++echo "configure:22995: result: $ac_cv_func_connect" >&5
+ echo "${ECHO_T}$ac_cv_func_connect" >&6
+ 
+     if test $ac_cv_func_connect = no; then
+-      echo "$as_me:18679: checking for connect in -lsocket" >&5
++
++echo "configure:23000: checking for connect in -lsocket" >&5
+ echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
+ if test "${ac_cv_lib_socket_connect+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -18684,7 +23005,7 @@
+   ac_check_lib_save_LIBS=$LIBS
+ LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 18687 "configure"
++#line 23008 "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -18703,27 +23024,17 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:18706: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:18709: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:18712: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:18715: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:23027: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_lib_socket_connect=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_lib_socket_connect=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_lib_socket_connect=no
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "$as_me:18726: result: $ac_cv_lib_socket_connect" >&5
++echo "configure:23037: result: $ac_cv_lib_socket_connect" >&5
+ echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
+ if test $ac_cv_lib_socket_connect = yes; then
+   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
+@@ -18732,13 +23043,13 @@
+     fi
+ 
+     # Guillermo Gomez says -lposix is necessary on A/UX.
+-    echo "$as_me:18735: checking for remove" >&5
++    echo "configure:23046: checking for remove" >&5
+ echo $ECHO_N "checking for remove... $ECHO_C" >&6
+ if test "${ac_cv_func_remove+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 18741 "configure"
++#line 23052 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char remove (); below.  */
+@@ -18769,30 +23080,21 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:18772: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:18775: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:18778: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:18781: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:23083: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_func_remove=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_remove=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_remove=no
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:18791: result: $ac_cv_func_remove" >&5
++echo "configure:23092: result: $ac_cv_func_remove" >&5
+ echo "${ECHO_T}$ac_cv_func_remove" >&6
+ 
+     if test $ac_cv_func_remove = no; then
+-      echo "$as_me:18795: checking for remove in -lposix" >&5
++
++echo "configure:23097: checking for remove in -lposix" >&5
+ echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
+ if test "${ac_cv_lib_posix_remove+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -18800,7 +23102,7 @@
+   ac_check_lib_save_LIBS=$LIBS
+ LIBS="-lposix  $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 18803 "configure"
++#line 23105 "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -18819,27 +23121,17 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:18822: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:18825: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:18828: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:18831: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:23124: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_lib_posix_remove=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_lib_posix_remove=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_lib_posix_remove=no
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "$as_me:18842: result: $ac_cv_lib_posix_remove" >&5
++echo "configure:23134: result: $ac_cv_lib_posix_remove" >&5
+ echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
+ if test $ac_cv_lib_posix_remove = yes; then
+   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
+@@ -18848,13 +23140,13 @@
+     fi
+ 
+     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
+-    echo "$as_me:18851: checking for shmat" >&5
++    echo "configure:23143: checking for shmat" >&5
+ echo $ECHO_N "checking for shmat... $ECHO_C" >&6
+ if test "${ac_cv_func_shmat+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 18857 "configure"
++#line 23149 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char shmat (); below.  */
+@@ -18885,30 +23177,21 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:18888: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:18891: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:18894: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:18897: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:23180: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_func_shmat=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_shmat=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_shmat=no
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:18907: result: $ac_cv_func_shmat" >&5
++echo "configure:23189: result: $ac_cv_func_shmat" >&5
+ echo "${ECHO_T}$ac_cv_func_shmat" >&6
+ 
+     if test $ac_cv_func_shmat = no; then
+-      echo "$as_me:18911: checking for shmat in -lipc" >&5
++
++echo "configure:23194: checking for shmat in -lipc" >&5
+ echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
+ if test "${ac_cv_lib_ipc_shmat+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -18916,7 +23199,7 @@
+   ac_check_lib_save_LIBS=$LIBS
+ LIBS="-lipc  $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 18919 "configure"
++#line 23202 "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -18935,27 +23218,17 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:18938: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:18941: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:18944: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:18947: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:23221: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_lib_ipc_shmat=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_lib_ipc_shmat=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_lib_ipc_shmat=no
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "$as_me:18958: result: $ac_cv_lib_ipc_shmat" >&5
++echo "configure:23231: result: $ac_cv_lib_ipc_shmat" >&5
+ echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
+ if test $ac_cv_lib_ipc_shmat = yes; then
+   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
+@@ -18973,7 +23246,8 @@
+   # These have to be linked with before -lX11, unlike the other
+   # libraries we check for below, so use a different variable.
+   # John Interrante, Karl Berry
+-  echo "$as_me:18976: checking for IceConnectionNumber in -lICE" >&5
++
++echo "configure:23250: checking for IceConnectionNumber in -lICE" >&5
+ echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
+ if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -18981,7 +23255,7 @@
+   ac_check_lib_save_LIBS=$LIBS
+ LIBS="-lICE $X_EXTRA_LIBS $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 18984 "configure"
++#line 23258 "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -19000,27 +23274,17 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:19003: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19006: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:19009: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19012: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:23277: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_lib_ICE_IceConnectionNumber=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_lib_ICE_IceConnectionNumber=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_lib_ICE_IceConnectionNumber=no
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "$as_me:19023: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
++echo "configure:23287: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
+ echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
+ if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
+   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
+@@ -19033,7 +23297,7 @@
+ # try to figure out if we need any additional ld flags, like -R
+ # and yes, the autoconf X test is utterly broken
+ if test "$no_x" != yes; then
+-	echo "$as_me:19036: checking for special X linker flags" >&5
++	echo "configure:23300: checking for special X linker flags" >&5
+ echo $ECHO_N "checking for special X linker flags... $ECHO_C" >&6
+ if test "${krb_cv_sys_x_libs_rpath+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -19062,12 +23326,10 @@
+ 		fi
+ 		LIBS="$ac_save_libs $foo $X_PRE_LIBS -lX11 $X_EXTRA_LIBS"
+ 		if test "$cross_compiling" = yes; then
+-  { { echo "$as_me:19065: error: cannot run test program while cross compiling" >&5
+-echo "$as_me: error: cannot run test program while cross compiling" >&2;}
+-   { (exit 1); exit 1; }; }
++  { echo "configure: error: cannot run test program while cross compiling" >&2; exit 1; }
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 19070 "configure"
++#line 23332 "configure"
+ #include "confdefs.h"
+ 
+ 		#include <X11/Xlib.h>
+@@ -19079,34 +23341,26 @@
+ 		{
+ 		return 0;
+ 		}
+-
++		
+ _ACEOF
+ rm -f conftest$ac_exeext
+-if { (eval echo "$as_me:19085: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19088: \$? = $ac_status" >&5
+-  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
+-  { (eval echo "$as_me:19090: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19093: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:23347: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
++   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
+   krb_cv_sys_x_libs_rpath="$rflag"; krb_cv_sys_x_libs="$foo"; break
+ else
+-  echo "$as_me: program exited with status $ac_status" >&5
+-echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-:
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  :
+ fi
+-rm -f core core.* *.core conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
++
+ 	done
+ 	LIBS="$ac_save_libs"
+ 	CFLAGS="$ac_save_cflags"
+-
++	
+ fi
+-echo "$as_me:19109: result: $krb_cv_sys_x_libs_rpath" >&5
++echo "configure:23363: result: $krb_cv_sys_x_libs_rpath" >&5
+ echo "${ECHO_T}$krb_cv_sys_x_libs_rpath" >&6
+ 	X_LIBS="$krb_cv_sys_x_libs"
+ fi
+@@ -19126,7 +23380,7 @@
+ save_LDFLAGS="$LDFLAGS"
+ LDFLAGS="$LDFLAGS $X_LIBS"
+ 
+-echo "$as_me:19129: checking for XauWriteAuth" >&5
++echo "configure:23383: checking for XauWriteAuth" >&5
+ echo $ECHO_N "checking for XauWriteAuth... $ECHO_C" >&6
+ if test "${ac_cv_funclib_XauWriteAuth+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -19142,7 +23396,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 19145 "configure"
++#line 23399 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -19154,23 +23408,13 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:19157: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19160: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:19163: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19166: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:23411: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_XauWriteAuth=$ac_lib; else ac_cv_funclib_XauWriteAuth=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_XauWriteAuth=\${ac_cv_funclib_XauWriteAuth-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -19181,17 +23425,17 @@
+ eval "ac_res=\$ac_cv_funclib_XauWriteAuth"
+ 
+ if false; then
+-
++	
+ for ac_func in XauWriteAuth
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:19188: checking for $ac_func" >&5
++echo "configure:23432: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 19194 "configure"
++#line 23438 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -19222,26 +23466,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:19225: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19228: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:19231: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19234: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:23469: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:19244: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:23478: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -19265,13 +23499,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:19268: result: yes" >&5
++	echo "configure:23502: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_XauWriteAuth=no"
+ 	eval "LIB_XauWriteAuth="
+-	echo "$as_me:19274: result: no" >&5
++	echo "configure:23508: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -19285,7 +23519,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:19288: result: yes, in $ac_res" >&5
++	echo "configure:23522: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -19293,7 +23527,7 @@
+ ac_xxx="$LIBS"
+ LIBS="$LIB_XauWriteAuth $LIBS"
+ 
+-echo "$as_me:19296: checking for XauReadAuth" >&5
++echo "configure:23530: checking for XauReadAuth" >&5
+ echo $ECHO_N "checking for XauReadAuth... $ECHO_C" >&6
+ if test "${ac_cv_funclib_XauReadAuth+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -19309,7 +23543,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 19312 "configure"
++#line 23546 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -19321,23 +23555,13 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:19324: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19327: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:19330: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19333: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:23558: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_XauReadAuth=$ac_lib; else ac_cv_funclib_XauReadAuth=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_XauReadAuth=\${ac_cv_funclib_XauReadAuth-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -19348,17 +23572,17 @@
+ eval "ac_res=\$ac_cv_funclib_XauReadAuth"
+ 
+ if false; then
+-
++	
+ for ac_func in XauReadAuth
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:19355: checking for $ac_func" >&5
++echo "configure:23579: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 19361 "configure"
++#line 23585 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -19389,26 +23613,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:19392: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19395: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:19398: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19401: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:23616: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:19411: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:23625: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -19432,13 +23646,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:19435: result: yes" >&5
++	echo "configure:23649: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_XauReadAuth=no"
+ 	eval "LIB_XauReadAuth="
+-	echo "$as_me:19441: result: no" >&5
++	echo "configure:23655: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -19452,14 +23666,14 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:19455: result: yes, in $ac_res" >&5
++	echo "configure:23669: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+ LIBS="$LIB_XauReadAauth $LIBS"
+ 
+-echo "$as_me:19462: checking for XauFileName" >&5
++echo "configure:23676: checking for XauFileName" >&5
+ echo $ECHO_N "checking for XauFileName... $ECHO_C" >&6
+ if test "${ac_cv_funclib_XauFileName+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -19475,7 +23689,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 19478 "configure"
++#line 23692 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -19487,23 +23701,13 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:19490: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19493: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:19496: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19499: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:23704: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_XauFileName=$ac_lib; else ac_cv_funclib_XauFileName=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_XauFileName=\${ac_cv_funclib_XauFileName-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -19514,17 +23718,17 @@
+ eval "ac_res=\$ac_cv_funclib_XauFileName"
+ 
+ if false; then
+-
++	
+ for ac_func in XauFileName
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:19521: checking for $ac_func" >&5
++echo "configure:23725: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 19527 "configure"
++#line 23731 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -19555,26 +23759,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:19558: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19561: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:19564: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19567: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:23762: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:19577: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:23771: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -19598,13 +23792,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:19601: result: yes" >&5
++	echo "configure:23795: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_XauFileName=no"
+ 	eval "LIB_XauFileName="
+-	echo "$as_me:19607: result: no" >&5
++	echo "configure:23801: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -19618,7 +23812,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:19621: result: yes, in $ac_res" >&5
++	echo "configure:23815: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -19645,6 +23839,7 @@
+ esac
+ 
+ if test "$AUTOMAKE" != ""; then
++	
+ 
+ if test "$ac_cv_func_XauWriteAuth" != "yes"; then
+   NEED_WRITEAUTH_TRUE=
+@@ -19654,7 +23849,8 @@
+   NEED_WRITEAUTH_FALSE=
+ fi
+ else
+-
++	
++	
+ 	if test "$ac_cv_func_XauWriteAuth" != "yes"; then
+ 		NEED_WRITEAUTH_TRUE=
+ 		NEED_WRITEAUTH_FALSE='#'
+@@ -19667,13 +23863,13 @@
+ LIBS=$save_LIBS
+ LDFLAGS=$save_LDFLAGS
+ 
+-echo "$as_me:19670: checking for an ANSI C-conforming const" >&5
++echo "configure:23866: checking for an ANSI C-conforming const" >&5
+ echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
+ if test "${ac_cv_c_const+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 19676 "configure"
++#line 23872 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -19731,26 +23927,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:19734: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19737: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:19740: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19743: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:23930: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_c_const=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_c_const=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_c_const=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:19753: result: $ac_cv_c_const" >&5
++echo "configure:23939: result: $ac_cv_c_const" >&5
+ echo "${ECHO_T}$ac_cv_c_const" >&6
+ if test $ac_cv_c_const = no; then
+ 
+@@ -19760,13 +23946,13 @@
+ 
+ fi
+ 
+-echo "$as_me:19763: checking for off_t" >&5
++echo "configure:23949: checking for off_t" >&5
+ echo $ECHO_N "checking for off_t... $ECHO_C" >&6
+ if test "${ac_cv_type_off_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 19769 "configure"
++#line 23955 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -19781,26 +23967,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:19784: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19787: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:19790: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19793: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:23970: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_off_t=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_off_t=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_off_t=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:19803: result: $ac_cv_type_off_t" >&5
++echo "configure:23979: result: $ac_cv_type_off_t" >&5
+ echo "${ECHO_T}$ac_cv_type_off_t" >&6
+ if test $ac_cv_type_off_t = yes; then
+   :
+@@ -19812,13 +23988,13 @@
+ 
+ fi
+ 
+-echo "$as_me:19815: checking for size_t" >&5
++echo "configure:23991: checking for size_t" >&5
+ echo $ECHO_N "checking for size_t... $ECHO_C" >&6
+ if test "${ac_cv_type_size_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 19821 "configure"
++#line 23997 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -19833,26 +24009,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:19836: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19839: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:19842: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19845: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:24012: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_size_t=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_size_t=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_size_t=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:19855: result: $ac_cv_type_size_t" >&5
++echo "configure:24021: result: $ac_cv_type_size_t" >&5
+ echo "${ECHO_T}$ac_cv_type_size_t" >&6
+ if test $ac_cv_type_size_t = yes; then
+   :
+@@ -19864,13 +24030,13 @@
+ 
+ fi
+ 
+-echo "$as_me:19867: checking for ssize_t" >&5
++echo "configure:24033: checking for ssize_t" >&5
+ echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
+ if test "${ac_cv_type_ssize_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 19873 "configure"
++#line 24039 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -19888,7 +24054,7 @@
+ rm -f conftest*
+ 
+ fi
+-echo "$as_me:19891: result: $ac_cv_type_ssize_t" >&5
++echo "configure:24057: result: $ac_cv_type_ssize_t" >&5
+ echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
+ if test $ac_cv_type_ssize_t = no; then
+ 
+@@ -19898,13 +24064,13 @@
+ 
+ fi
+ 
+-echo "$as_me:19901: checking for pid_t" >&5
++echo "configure:24067: checking for pid_t" >&5
+ echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
+ if test "${ac_cv_type_pid_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 19907 "configure"
++#line 24073 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -19919,26 +24085,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:19922: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19925: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:19928: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:19931: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:24088: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_pid_t=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_pid_t=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_pid_t=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:19941: result: $ac_cv_type_pid_t" >&5
++echo "configure:24097: result: $ac_cv_type_pid_t" >&5
+ echo "${ECHO_T}$ac_cv_type_pid_t" >&6
+ if test $ac_cv_type_pid_t = yes; then
+   :
+@@ -19950,13 +24106,13 @@
+ 
+ fi
+ 
+-echo "$as_me:19953: checking for uid_t in sys/types.h" >&5
++echo "configure:24109: checking for uid_t in sys/types.h" >&5
+ echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
+ if test "${ac_cv_type_uid_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 19959 "configure"
++#line 24115 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ 
+@@ -19970,7 +24126,7 @@
+ rm -f conftest*
+ 
+ fi
+-echo "$as_me:19973: result: $ac_cv_type_uid_t" >&5
++echo "configure:24129: result: $ac_cv_type_uid_t" >&5
+ echo "${ECHO_T}$ac_cv_type_uid_t" >&6
+ if test $ac_cv_type_uid_t = no; then
+ 
+@@ -19984,13 +24140,13 @@
+ 
+ fi
+ 
+-echo "$as_me:19987: checking for mode_t" >&5
++echo "configure:24143: checking for mode_t" >&5
+ echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
+ if test "${ac_cv_type_mode_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 19993 "configure"
++#line 24149 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -20008,7 +24164,7 @@
+ rm -f conftest*
+ 
+ fi
+-echo "$as_me:20011: result: $ac_cv_type_mode_t" >&5
++echo "configure:24167: result: $ac_cv_type_mode_t" >&5
+ echo "${ECHO_T}$ac_cv_type_mode_t" >&6
+ if test $ac_cv_type_mode_t = no; then
+ 
+@@ -20018,13 +24174,13 @@
+ 
+ fi
+ 
+-echo "$as_me:20021: checking for sig_atomic_t" >&5
++echo "configure:24177: checking for sig_atomic_t" >&5
+ echo $ECHO_N "checking for sig_atomic_t... $ECHO_C" >&6
+ if test "${ac_cv_type_sig_atomic_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 20027 "configure"
++#line 24183 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -20042,7 +24198,7 @@
+ rm -f conftest*
+ 
+ fi
+-echo "$as_me:20045: result: $ac_cv_type_sig_atomic_t" >&5
++echo "configure:24201: result: $ac_cv_type_sig_atomic_t" >&5
+ echo "${ECHO_T}$ac_cv_type_sig_atomic_t" >&6
+ if test $ac_cv_type_sig_atomic_t = no; then
+ 
+@@ -20053,13 +24209,13 @@
+ fi
+ 
+ cv=`echo "long long" | sed 'y%./+- %__p__%'`
+-echo "$as_me:20056: checking for long long" >&5
++echo "configure:24212: checking for long long" >&5
+ echo $ECHO_N "checking for long long... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 20062 "configure"
++#line 24218 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -20076,38 +24232,28 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:20079: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:20082: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:20085: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:20088: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:24235: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_type_$cv=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_type_$cv=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_type_$cv=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:20099: result: $ac_foo" >&5
++echo "configure:24245: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo long long | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:20104: checking for long long" >&5
++	echo "configure:24250: checking for long long" >&5
+ echo $ECHO_N "checking for long long... $ECHO_C" >&6
+ if test "${ac_cv_type_long_long+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 20110 "configure"
++#line 24256 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -20122,26 +24268,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:20125: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:20128: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:20131: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:20134: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:24271: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_long_long=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_long_long=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_long_long=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:20144: result: $ac_cv_type_long_long" >&5
++echo "configure:24280: result: $ac_cv_type_long_long" >&5
+ echo "${ECHO_T}$ac_cv_type_long_long" >&6
+ if test $ac_cv_type_long_long = yes; then
+ 
+@@ -20159,13 +24295,13 @@
+ 
+ fi
+ 
+-echo "$as_me:20162: checking whether time.h and sys/time.h may both be included" >&5
++echo "configure:24298: checking whether time.h and sys/time.h may both be included" >&5
+ echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
+ if test "${ac_cv_header_time+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 20168 "configure"
++#line 24304 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #include <sys/time.h>
+@@ -20180,26 +24316,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:20183: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:20186: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:20189: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:20192: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:24319: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_header_time=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_header_time=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_header_time=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:20202: result: $ac_cv_header_time" >&5
++echo "configure:24328: result: $ac_cv_header_time" >&5
+ echo "${ECHO_T}$ac_cv_header_time" >&6
+ if test $ac_cv_header_time = yes; then
+ 
+@@ -20209,13 +24335,13 @@
+ 
+ fi
+ 
+-echo "$as_me:20212: checking whether struct tm is in sys/time.h or time.h" >&5
++echo "configure:24338: checking whether struct tm is in sys/time.h or time.h" >&5
+ echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
+ if test "${ac_cv_struct_tm+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 20218 "configure"
++#line 24344 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #include <time.h>
+@@ -20229,26 +24355,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:20232: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:20235: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:20238: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:20241: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:24358: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_struct_tm=time.h
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_struct_tm=sys/time.h
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_struct_tm=sys/time.h
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:20251: result: $ac_cv_struct_tm" >&5
++echo "configure:24367: result: $ac_cv_struct_tm" >&5
+ echo "${ECHO_T}$ac_cv_struct_tm" >&6
+ if test $ac_cv_struct_tm = sys/time.h; then
+ 
+@@ -20258,13 +24374,13 @@
+ 
+ fi
+ 
+-echo "$as_me:20261: checking for ANSI C header files" >&5
++echo "configure:24377: checking for ANSI C header files" >&5
+ echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
+ if test "${ac_cv_header_stdc+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 20267 "configure"
++#line 24383 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ #include <stdarg.h>
+@@ -20272,15 +24388,9 @@
+ #include <float.h>
+ 
+ _ACEOF
+-if { (eval echo "$as_me:20275: \"$ac_cpp conftest.$ac_ext\"") >&5
+-  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+-  ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
+-  rm -f conftest.er1
+-  cat conftest.err >&5
+-  echo "$as_me:20281: \$? = $ac_status" >&5
+-  (exit $ac_status); } >/dev/null; then
+-  if test -s conftest.err; then
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:24392: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+   else
+     ac_cpp_err=
+@@ -20288,19 +24398,21 @@
+ else
+   ac_cpp_err=yes
+ fi
++
+ if test -z "$ac_cpp_err"; then
+   ac_cv_header_stdc=yes
+ else
+-  echo "$as_me: failed program was:" >&5
++  cat conftest.err >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   ac_cv_header_stdc=no
+ fi
+-rm -f conftest.err conftest.$ac_ext
++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 <<_ACEOF
+-#line 20303 "configure"
++#line 24415 "configure"
+ #include "confdefs.h"
+ #include <string.h>
+ 
+@@ -20318,7 +24430,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 <<_ACEOF
+-#line 20321 "configure"
++#line 24433 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ 
+@@ -20339,7 +24451,7 @@
+   :
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 20342 "configure"
++#line 24454 "configure"
+ #include "confdefs.h"
+ #include <ctype.h>
+ #if ((' ' & 0x0FF) == 0x020)
+@@ -20365,28 +24477,20 @@
+ }
+ _ACEOF
+ rm -f conftest$ac_exeext
+-if { (eval echo "$as_me:20368: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:20371: \$? = $ac_status" >&5
+-  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
+-  { (eval echo "$as_me:20373: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:20376: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:24480: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
++   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
+   :
+ else
+-  echo "$as_me: program exited with status $ac_status" >&5
+-echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_header_stdc=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_header_stdc=no
+ fi
+-rm -f core core.* *.core conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
++
+ fi
+ fi
+-echo "$as_me:20389: result: $ac_cv_header_stdc" >&5
++echo "configure:24493: result: $ac_cv_header_stdc" >&5
+ echo "${ECHO_T}$ac_cv_header_stdc" >&6
+ if test $ac_cv_header_stdc = yes; then
+ 
+@@ -20489,25 +24593,21 @@
+ 
+ do
+ ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
+-echo "$as_me:20492: checking for $ac_header" >&5
++
++echo "configure:24597: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 20498 "configure"
++#line 24603 "configure"
+ #include "confdefs.h"
+ #include <$ac_header>
++
+ _ACEOF
+-if { (eval echo "$as_me:20502: \"$ac_cpp conftest.$ac_ext\"") >&5
+-  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+-  ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
+-  rm -f conftest.er1
+-  cat conftest.err >&5
+-  echo "$as_me:20508: \$? = $ac_status" >&5
+-  (exit $ac_status); } >/dev/null; then
+-  if test -s conftest.err; then
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:24609: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+   else
+     ac_cpp_err=
+@@ -20515,16 +24615,19 @@
+ else
+   ac_cpp_err=yes
+ fi
++
+ if test -z "$ac_cpp_err"; then
+   eval "$ac_ac_Header=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  cat conftest.err >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_Header=no"
+ fi
+-rm -f conftest.err conftest.$ac_ext
++rm -f conftest*
++
+ fi
+-echo "$as_me:20527: result: `eval echo '${'$ac_ac_Header'}'`" >&5
++echo "configure:24630: result: `eval echo '${'$ac_ac_Header'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
+ if test `eval echo '${'$ac_ac_Header'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -20537,25 +24640,21 @@
+ for ac_header in standards.h
+ do
+ ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
+-echo "$as_me:20540: checking for $ac_header" >&5
++
++echo "configure:24644: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 20546 "configure"
++#line 24650 "configure"
+ #include "confdefs.h"
+ #include <$ac_header>
++
+ _ACEOF
+-if { (eval echo "$as_me:20550: \"$ac_cpp conftest.$ac_ext\"") >&5
+-  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+-  ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
+-  rm -f conftest.er1
+-  cat conftest.err >&5
+-  echo "$as_me:20556: \$? = $ac_status" >&5
+-  (exit $ac_status); } >/dev/null; then
+-  if test -s conftest.err; then
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:24656: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+   else
+     ac_cpp_err=
+@@ -20563,16 +24662,19 @@
+ else
+   ac_cpp_err=yes
+ fi
++
+ if test -z "$ac_cpp_err"; then
+   eval "$ac_ac_Header=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  cat conftest.err >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_Header=no"
+ fi
+-rm -f conftest.err conftest.$ac_ext
++rm -f conftest*
++
+ fi
+-echo "$as_me:20575: result: `eval echo '${'$ac_ac_Header'}'`" >&5
++echo "configure:24677: result: `eval echo '${'$ac_ac_Header'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
+ if test `eval echo '${'$ac_ac_Header'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -20586,13 +24688,13 @@
+ 
+ cv=`echo "$i" | sed 'y%./+-%__p_%'`
+ 
+-echo "$as_me:20589: checking for $i" >&5
++echo "configure:24691: checking for $i" >&5
+ echo $ECHO_N "checking for $i... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_header_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 20595 "configure"
++#line 24697 "configure"
+ #include "confdefs.h"
+ \
+ #ifdef HAVE_STANDARDS_H
+@@ -20601,15 +24703,9 @@
+ #include <$i>
+ 
+ _ACEOF
+-if { (eval echo "$as_me:20604: \"$ac_cpp conftest.$ac_ext\"") >&5
+-  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+-  ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
+-  rm -f conftest.er1
+-  cat conftest.err >&5
+-  echo "$as_me:20610: \$? = $ac_status" >&5
+-  (exit $ac_status); } >/dev/null; then
+-  if test -s conftest.err; then
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:24707: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+   else
+     ac_cpp_err=
+@@ -20617,16 +24713,19 @@
+ else
+   ac_cpp_err=yes
+ fi
++
+ if test -z "$ac_cpp_err"; then
+   eval "ac_cv_header_$cv=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  cat conftest.err >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "ac_cv_header_$cv=no"
+ fi
+-rm -f conftest.err conftest.$ac_ext
++rm -f conftest*
++
+ fi
+-echo "$as_me:20629: result: `eval echo '${'ac_cv_header_$cv'}'`" >&5
++echo "configure:24728: result: `eval echo '${'ac_cv_header_$cv'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'ac_cv_header_$cv'}'`" >&6
+ ac_res=`eval echo \\$ac_cv_header_$cv`
+ if test "$ac_res" = yes; then
+@@ -20638,29 +24737,26 @@
+ fi
+ done
+ if false;then
++	
+ 
+ for ac_header in netinet/ip.h netinet/tcp.h
+ do
+ ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
+-echo "$as_me:20645: checking for $ac_header" >&5
++
++echo "configure:24746: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 20651 "configure"
++#line 24752 "configure"
+ #include "confdefs.h"
+ #include <$ac_header>
++
+ _ACEOF
+-if { (eval echo "$as_me:20655: \"$ac_cpp conftest.$ac_ext\"") >&5
+-  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+-  ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
+-  rm -f conftest.er1
+-  cat conftest.err >&5
+-  echo "$as_me:20661: \$? = $ac_status" >&5
+-  (exit $ac_status); } >/dev/null; then
+-  if test -s conftest.err; then
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:24758: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+   else
+     ac_cpp_err=
+@@ -20668,16 +24764,19 @@
+ else
+   ac_cpp_err=yes
+ fi
++
+ if test -z "$ac_cpp_err"; then
+   eval "$ac_ac_Header=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  cat conftest.err >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_Header=no"
+ fi
+-rm -f conftest.err conftest.$ac_ext
++rm -f conftest*
++
+ fi
+-echo "$as_me:20680: result: `eval echo '${'$ac_ac_Header'}'`" >&5
++echo "configure:24779: result: `eval echo '${'$ac_ac_Header'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
+ if test `eval echo '${'$ac_ac_Header'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -20719,7 +24818,7 @@
+   have_fnmatch_h_FALSE=
+ fi
+ 
+-echo "$as_me:20722: checking for socket" >&5
++echo "configure:24821: checking for socket" >&5
+ echo $ECHO_N "checking for socket... $ECHO_C" >&6
+ if test "${ac_cv_funclib_socket+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -20735,7 +24834,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 20738 "configure"
++#line 24837 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -20747,23 +24846,13 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:20750: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:20753: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:20756: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:20759: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:24849: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_socket=$ac_lib; else ac_cv_funclib_socket=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_socket=\${ac_cv_funclib_socket-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -20774,17 +24863,17 @@
+ eval "ac_res=\$ac_cv_funclib_socket"
+ 
+ if false; then
+-
++	
+ for ac_func in socket
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:20781: checking for $ac_func" >&5
++echo "configure:24870: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 20787 "configure"
++#line 24876 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -20815,26 +24904,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:20818: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:20821: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:20824: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:20827: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:24907: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:20837: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:24916: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -20858,13 +24937,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:20861: result: yes" >&5
++	echo "configure:24940: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_socket=no"
+ 	eval "LIB_socket="
+-	echo "$as_me:20867: result: no" >&5
++	echo "configure:24946: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -20878,7 +24957,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:20881: result: yes, in $ac_res" >&5
++	echo "configure:24960: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -20887,7 +24966,7 @@
+ 	LIBS="$LIB_socket $LIBS"
+ fi
+ 
+-echo "$as_me:20890: checking for gethostbyname" >&5
++echo "configure:24969: checking for gethostbyname" >&5
+ echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
+ if test "${ac_cv_funclib_gethostbyname+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -20903,7 +24982,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 20906 "configure"
++#line 24985 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -20915,23 +24994,13 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:20918: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:20921: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:20924: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:20927: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:24997: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_gethostbyname=$ac_lib; else ac_cv_funclib_gethostbyname=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_gethostbyname=\${ac_cv_funclib_gethostbyname-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -20942,17 +25011,17 @@
+ eval "ac_res=\$ac_cv_funclib_gethostbyname"
+ 
+ if false; then
+-
++	
+ for ac_func in gethostbyname
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:20949: checking for $ac_func" >&5
++echo "configure:25018: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 20955 "configure"
++#line 25024 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -20983,26 +25052,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:20986: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:20989: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:20992: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:20995: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:25055: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:21005: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:25064: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -21026,13 +25085,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:21029: result: yes" >&5
++	echo "configure:25088: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_gethostbyname=no"
+ 	eval "LIB_gethostbyname="
+-	echo "$as_me:21035: result: no" >&5
++	echo "configure:25094: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -21046,7 +25105,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:21049: result: yes, in $ac_res" >&5
++	echo "configure:25108: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -21055,7 +25114,7 @@
+ 	LIBS="$LIB_gethostbyname $LIBS"
+ fi
+ 
+-echo "$as_me:21058: checking for syslog" >&5
++echo "configure:25117: checking for syslog" >&5
+ echo $ECHO_N "checking for syslog... $ECHO_C" >&6
+ if test "${ac_cv_funclib_syslog+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -21071,7 +25130,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 21074 "configure"
++#line 25133 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -21083,23 +25142,13 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:21086: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:21089: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:21092: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:21095: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:25145: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_syslog=$ac_lib; else ac_cv_funclib_syslog=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_syslog=\${ac_cv_funclib_syslog-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -21110,17 +25159,17 @@
+ eval "ac_res=\$ac_cv_funclib_syslog"
+ 
+ if false; then
+-
++	
+ for ac_func in syslog
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:21117: checking for $ac_func" >&5
++echo "configure:25166: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 21123 "configure"
++#line 25172 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -21151,26 +25200,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:21154: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:21157: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:21160: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:21163: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:25203: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:21173: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:25212: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -21194,13 +25233,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:21197: result: yes" >&5
++	echo "configure:25236: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_syslog=no"
+ 	eval "LIB_syslog="
+-	echo "$as_me:21203: result: no" >&5
++	echo "configure:25242: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -21214,7 +25253,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:21217: result: yes, in $ac_res" >&5
++	echo "configure:25256: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -21238,13 +25277,13 @@
+   v6type=unknown
+ v6lib=none
+ 
+-echo "$as_me:21241: checking ipv6 stack type" >&5
++echo "configure:25280: checking ipv6 stack type" >&5
+ echo $ECHO_N "checking ipv6 stack type... $ECHO_C" >&6
+ for i in v6d toshiba kame inria zeta linux; do
+ 	case $i in
+ 	v6d)
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 21247 "configure"
++#line 25286 "configure"
+ #include "confdefs.h"
+ 
+ #include </usr/local/v6/include/sys/types.h>
+@@ -21263,7 +25302,7 @@
+ 		;;
+ 	toshiba)
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 21266 "configure"
++#line 25305 "configure"
+ #include "confdefs.h"
+ 
+ #include <sys/param.h>
+@@ -21282,7 +25321,7 @@
+ 		;;
+ 	kame)
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 21285 "configure"
++#line 25324 "configure"
+ #include "confdefs.h"
+ 
+ #include <netinet/in.h>
+@@ -21301,7 +25340,7 @@
+ 		;;
+ 	inria)
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 21304 "configure"
++#line 25343 "configure"
+ #include "confdefs.h"
+ 
+ #include <netinet/in.h>
+@@ -21318,7 +25357,7 @@
+ 		;;
+ 	zeta)
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 21321 "configure"
++#line 25360 "configure"
+ #include "confdefs.h"
+ 
+ #include <sys/param.h>
+@@ -21348,7 +25387,7 @@
+ 		break
+ 	fi
+ done
+-echo "$as_me:21351: result: $v6type" >&5
++echo "configure:25390: result: $v6type" >&5
+ echo "${ECHO_T}$v6type" >&6
+ 
+ if test "$v6lib" != "none"; then
+@@ -21360,7 +25399,7 @@
+ 	done
+ fi
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 21363 "configure"
++#line 25402 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_SYS_TYPES_H
+@@ -21395,29 +25434,19 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:21398: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:21401: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:21404: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:21407: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:25437: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_lib_ipv6=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_lib_ipv6=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_lib_ipv6=no
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+ 
+-echo "$as_me:21418: checking for IPv6" >&5
++echo "configure:25447: checking for IPv6" >&5
+ echo $ECHO_N "checking for IPv6... $ECHO_C" >&6
+-echo "$as_me:21420: result: $ac_cv_lib_ipv6" >&5
++echo "configure:25449: result: $ac_cv_lib_ipv6" >&5
+ echo "${ECHO_T}$ac_cv_lib_ipv6" >&6
+ if test "$ac_cv_lib_ipv6" = yes; then
+ 
+@@ -21429,7 +25458,7 @@
+   CFLAGS="${save_CFLAGS}"
+ fi
+ 
+-echo "$as_me:21432: checking for logwtmp" >&5
++echo "configure:25461: checking for logwtmp" >&5
+ echo $ECHO_N "checking for logwtmp... $ECHO_C" >&6
+ if test "${ac_cv_funclib_logwtmp+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -21445,7 +25474,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 21448 "configure"
++#line 25477 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -21457,23 +25486,13 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:21460: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:21463: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:21466: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:21469: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:25489: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_logwtmp=$ac_lib; else ac_cv_funclib_logwtmp=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_logwtmp=\${ac_cv_funclib_logwtmp-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -21484,17 +25503,17 @@
+ eval "ac_res=\$ac_cv_funclib_logwtmp"
+ 
+ if false; then
+-
++	
+ for ac_func in logwtmp
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:21491: checking for $ac_func" >&5
++echo "configure:25510: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 21497 "configure"
++#line 25516 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -21525,26 +25544,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:21528: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:21531: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:21534: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:21537: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:25547: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:21547: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:25556: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -21568,13 +25577,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:21571: result: yes" >&5
++	echo "configure:25580: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_logwtmp=no"
+ 	eval "LIB_logwtmp="
+-	echo "$as_me:21577: result: no" >&5
++	echo "configure:25586: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -21588,12 +25597,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:21591: result: yes, in $ac_res" >&5
++	echo "configure:25600: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "$as_me:21596: checking for tgetent" >&5
++echo "configure:25605: checking for tgetent" >&5
+ echo $ECHO_N "checking for tgetent... $ECHO_C" >&6
+ if test "${ac_cv_funclib_tgetent+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -21609,7 +25618,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 21612 "configure"
++#line 25621 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -21621,23 +25630,13 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:21624: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:21627: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:21630: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:21633: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:25633: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_tgetent=$ac_lib; else ac_cv_funclib_tgetent=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_tgetent=\${ac_cv_funclib_tgetent-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -21648,17 +25647,17 @@
+ eval "ac_res=\$ac_cv_funclib_tgetent"
+ 
+ if false; then
+-
++	
+ for ac_func in tgetent
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:21655: checking for $ac_func" >&5
++echo "configure:25654: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 21661 "configure"
++#line 25660 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -21689,26 +25688,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:21692: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:21695: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:21698: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:21701: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:25691: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:21711: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:25700: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -21732,13 +25721,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:21735: result: yes" >&5
++	echo "configure:25724: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_tgetent=no"
+ 	eval "LIB_tgetent="
+-	echo "$as_me:21741: result: no" >&5
++	echo "configure:25730: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -21752,12 +25741,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:21755: result: yes, in $ac_res" >&5
++	echo "configure:25744: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "$as_me:21760: checking for gethostbyname2" >&5
++echo "configure:25749: checking for gethostbyname2" >&5
+ echo $ECHO_N "checking for gethostbyname2... $ECHO_C" >&6
+ if test "${ac_cv_funclib_gethostbyname2+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -21773,7 +25762,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 21776 "configure"
++#line 25765 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -21785,23 +25774,13 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:21788: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:21791: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:21794: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:21797: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:25777: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_gethostbyname2=$ac_lib; else ac_cv_funclib_gethostbyname2=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_gethostbyname2=\${ac_cv_funclib_gethostbyname2-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -21812,17 +25791,17 @@
+ eval "ac_res=\$ac_cv_funclib_gethostbyname2"
+ 
+ if false; then
+-
++	
+ for ac_func in gethostbyname2
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:21819: checking for $ac_func" >&5
++echo "configure:25798: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 21825 "configure"
++#line 25804 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -21853,26 +25832,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:21856: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:21859: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:21862: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:21865: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:25835: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:21875: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:25844: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -21896,13 +25865,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:21899: result: yes" >&5
++	echo "configure:25868: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_gethostbyname2=no"
+ 	eval "LIB_gethostbyname2="
+-	echo "$as_me:21905: result: no" >&5
++	echo "configure:25874: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -21916,7 +25885,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:21919: result: yes, in $ac_res" >&5
++	echo "configure:25888: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -21925,7 +25894,7 @@
+ 	LIBS="$LIB_gethostbyname2 $LIBS"
+ fi
+ 
+-echo "$as_me:21928: checking for res_search" >&5
++echo "configure:25897: checking for res_search" >&5
+ echo $ECHO_N "checking for res_search... $ECHO_C" >&6
+ if test "${ac_cv_funclib_res_search+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -21941,7 +25910,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 21944 "configure"
++#line 25913 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -21967,23 +25936,13 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:21970: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:21973: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:21976: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:21979: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:25939: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_res_search=$ac_lib; else ac_cv_funclib_res_search=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_res_search=\${ac_cv_funclib_res_search-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -21994,17 +25953,17 @@
+ eval "ac_res=\$ac_cv_funclib_res_search"
+ 
+ if false; then
+-
++	
+ for ac_func in res_search
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:22001: checking for $ac_func" >&5
++echo "configure:25960: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 22007 "configure"
++#line 25966 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -22035,26 +25994,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:22038: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:22041: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:22044: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:22047: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:25997: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:22057: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:26006: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -22078,13 +26027,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:22081: result: yes" >&5
++	echo "configure:26030: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_res_search=no"
+ 	eval "LIB_res_search="
+-	echo "$as_me:22087: result: no" >&5
++	echo "configure:26036: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -22098,7 +26047,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:22101: result: yes, in $ac_res" >&5
++	echo "configure:26050: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -22107,7 +26056,7 @@
+ 	LIBS="$LIB_res_search $LIBS"
+ fi
+ 
+-echo "$as_me:22110: checking for dn_expand" >&5
++echo "configure:26059: checking for dn_expand" >&5
+ echo $ECHO_N "checking for dn_expand... $ECHO_C" >&6
+ if test "${ac_cv_funclib_dn_expand+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -22123,7 +26072,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 22126 "configure"
++#line 26075 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -22149,23 +26098,13 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:22152: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:22155: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:22158: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:22161: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:26101: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_dn_expand=$ac_lib; else ac_cv_funclib_dn_expand=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_dn_expand=\${ac_cv_funclib_dn_expand-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -22176,17 +26115,17 @@
+ eval "ac_res=\$ac_cv_funclib_dn_expand"
+ 
+ if false; then
+-
++	
+ for ac_func in dn_expand
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:22183: checking for $ac_func" >&5
++echo "configure:26122: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 22189 "configure"
++#line 26128 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -22217,26 +26156,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:22220: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:22223: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:22226: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:22229: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:26159: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:22239: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:26168: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -22260,13 +26189,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:22263: result: yes" >&5
++	echo "configure:26192: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_dn_expand=no"
+ 	eval "LIB_dn_expand="
+-	echo "$as_me:22269: result: no" >&5
++	echo "configure:26198: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -22280,7 +26209,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:22283: result: yes, in $ac_res" >&5
++	echo "configure:26212: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -22289,7 +26218,7 @@
+ 	LIBS="$LIB_dn_expand $LIBS"
+ fi
+ 
+-echo "$as_me:22292: checking for working snprintf" >&5
++echo "configure:26221: checking for working snprintf" >&5
+ echo $ECHO_N "checking for working snprintf... $ECHO_C" >&6
+ if test "${ac_cv_func_snprintf_working+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -22299,7 +26228,7 @@
+   :
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 22302 "configure"
++#line 26231 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -22312,31 +26241,23 @@
+ }
+ _ACEOF
+ rm -f conftest$ac_exeext
+-if { (eval echo "$as_me:22315: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:22318: \$? = $ac_status" >&5
+-  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
+-  { (eval echo "$as_me:22320: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:22323: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:26244: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
++   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
+   :
+ else
+-  echo "$as_me: program exited with status $ac_status" >&5
+-echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_snprintf_working=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_snprintf_working=no
+ fi
+-rm -f core core.* *.core conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
++
+ fi
+-echo "$as_me:22335: result: $ac_cv_func_snprintf_working" >&5
++echo "configure:26256: result: $ac_cv_func_snprintf_working" >&5
+ echo "${ECHO_T}$ac_cv_func_snprintf_working" >&6
+ 
+ if test "$ac_cv_func_snprintf_working" = yes; then
+-
++	
+ cat >>confdefs.h <<EOF
+ #define HAVE_SNPRINTF 1
+ EOF
+@@ -22345,13 +26266,13 @@
+ if test "$ac_cv_func_snprintf_working" = yes; then
+ 
+ if test "$ac_cv_func_snprintf+set" != set -o "$ac_cv_func_snprintf" = yes; then
+-echo "$as_me:22348: checking if snprintf needs a prototype" >&5
++echo "configure:26269: checking if snprintf needs a prototype" >&5
+ echo $ECHO_N "checking if snprintf needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_snprintf_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 22354 "configure"
++#line 26275 "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
+ int
+@@ -22366,30 +26287,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:22369: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:22372: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:22375: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:22378: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:26290: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_snprintf_noproto=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_snprintf_noproto=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_snprintf_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:22388: result: $ac_cv_func_snprintf_noproto" >&5
++echo "configure:26299: result: $ac_cv_func_snprintf_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_snprintf_noproto" >&6
+ 
+ if test "$ac_cv_func_snprintf_noproto" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define NEED_SNPRINTF_PROTO 1
+ EOF
+@@ -22400,7 +26311,7 @@
+ 
+ fi
+ 
+-echo "$as_me:22403: checking for working vsnprintf" >&5
++echo "configure:26314: checking for working vsnprintf" >&5
+ echo $ECHO_N "checking for working vsnprintf... $ECHO_C" >&6
+ if test "${ac_cv_func_vsnprintf_working+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -22410,7 +26321,7 @@
+   :
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 22413 "configure"
++#line 26324 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -22433,31 +26344,23 @@
+ }
+ _ACEOF
+ rm -f conftest$ac_exeext
+-if { (eval echo "$as_me:22436: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:22439: \$? = $ac_status" >&5
+-  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
+-  { (eval echo "$as_me:22441: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:22444: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:26347: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
++   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
+   :
+ else
+-  echo "$as_me: program exited with status $ac_status" >&5
+-echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_vsnprintf_working=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_vsnprintf_working=no
+ fi
+-rm -f core core.* *.core conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
++
+ fi
+-echo "$as_me:22456: result: $ac_cv_func_vsnprintf_working" >&5
++echo "configure:26359: result: $ac_cv_func_vsnprintf_working" >&5
+ echo "${ECHO_T}$ac_cv_func_vsnprintf_working" >&6
+ 
+ if test "$ac_cv_func_vsnprintf_working" = yes; then
+-
++	
+ cat >>confdefs.h <<EOF
+ #define HAVE_VSNPRINTF 1
+ EOF
+@@ -22466,13 +26369,13 @@
+ if test "$ac_cv_func_vsnprintf_working" = yes; then
+ 
+ if test "$ac_cv_func_vsnprintf+set" != set -o "$ac_cv_func_vsnprintf" = yes; then
+-echo "$as_me:22469: checking if vsnprintf needs a prototype" >&5
++echo "configure:26372: checking if vsnprintf needs a prototype" >&5
+ echo $ECHO_N "checking if vsnprintf needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_vsnprintf_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 22475 "configure"
++#line 26378 "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
+ int
+@@ -22487,30 +26390,20 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:22490: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:22493: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:22496: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:22499: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:26393: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_func_vsnprintf_noproto=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_vsnprintf_noproto=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_func_vsnprintf_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:22509: result: $ac_cv_func_vsnprintf_noproto" >&5
++echo "configure:26402: result: $ac_cv_func_vsnprintf_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_vsnprintf_noproto" >&6
+ 
+ if test "$ac_cv_func_vsnprintf_noproto" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define NEED_VSNPRINTF_PROTO 1
+ EOF
+@@ -22556,13 +26449,13 @@
+ 
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:22559: checking for $ac_func" >&5
++echo "configure:26452: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 22565 "configure"
++#line 26458 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -22593,26 +26486,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:22596: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:22599: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:22602: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:22605: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:26489: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:22615: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:26498: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -22625,25 +26508,21 @@
+ for ac_header in capability.h sys/capability.h
+ do
+ ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
+-echo "$as_me:22628: checking for $ac_header" >&5
++
++echo "configure:26512: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 22634 "configure"
++#line 26518 "configure"
+ #include "confdefs.h"
+ #include <$ac_header>
++
+ _ACEOF
+-if { (eval echo "$as_me:22638: \"$ac_cpp conftest.$ac_ext\"") >&5
+-  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+-  ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
+-  rm -f conftest.er1
+-  cat conftest.err >&5
+-  echo "$as_me:22644: \$? = $ac_status" >&5
+-  (exit $ac_status); } >/dev/null; then
+-  if test -s conftest.err; then
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:26524: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+   else
+     ac_cpp_err=
+@@ -22651,16 +26530,19 @@
+ else
+   ac_cpp_err=yes
+ fi
++
+ if test -z "$ac_cpp_err"; then
+   eval "$ac_ac_Header=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  cat conftest.err >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_Header=no"
+ fi
+-rm -f conftest.err conftest.$ac_ext
++rm -f conftest*
++
+ fi
+-echo "$as_me:22663: result: `eval echo '${'$ac_ac_Header'}'`" >&5
++echo "configure:26545: result: `eval echo '${'$ac_ac_Header'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
+ if test `eval echo '${'$ac_ac_Header'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -22673,13 +26555,13 @@
+ for ac_func in sgi_getcapabilitybyname cap_set_proc
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:22676: checking for $ac_func" >&5
++echo "configure:26558: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 22682 "configure"
++#line 26564 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -22710,26 +26592,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:22713: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:22716: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:22719: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:22722: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:26595: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:22732: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:26604: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -22739,7 +26611,7 @@
+ fi
+ done
+ 
+-echo "$as_me:22742: checking for getpwnam_r" >&5
++echo "configure:26614: checking for getpwnam_r" >&5
+ echo $ECHO_N "checking for getpwnam_r... $ECHO_C" >&6
+ if test "${ac_cv_funclib_getpwnam_r+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -22755,7 +26627,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 22758 "configure"
++#line 26630 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -22767,23 +26639,13 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:22770: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:22773: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:22776: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:22779: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:26642: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_getpwnam_r=$ac_lib; else ac_cv_funclib_getpwnam_r=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_getpwnam_r=\${ac_cv_funclib_getpwnam_r-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -22794,17 +26656,17 @@
+ eval "ac_res=\$ac_cv_funclib_getpwnam_r"
+ 
+ if false; then
+-
++	
+ for ac_func in getpwnam_r
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:22801: checking for $ac_func" >&5
++echo "configure:26663: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 22807 "configure"
++#line 26669 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -22835,26 +26697,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:22838: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:22841: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:22844: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:22847: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:26700: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:22857: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:26709: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -22878,13 +26730,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:22881: result: yes" >&5
++	echo "configure:26733: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_getpwnam_r=no"
+ 	eval "LIB_getpwnam_r="
+-	echo "$as_me:22887: result: no" >&5
++	echo "configure:26739: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -22898,13 +26750,13 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:22901: result: yes, in $ac_res" >&5
++	echo "configure:26753: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+ if test "$ac_cv_func_getpwnam_r" = yes; then
+-	echo "$as_me:22907: checking if getpwnam_r is posix" >&5
++	echo "configure:26759: checking if getpwnam_r is posix" >&5
+ echo $ECHO_N "checking if getpwnam_r is posix... $ECHO_C" >&6
+ if test "${ac_cv_func_getpwnam_r_posix+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -22915,7 +26767,7 @@
+   :
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 22918 "configure"
++#line 26770 "configure"
+ #include "confdefs.h"
+ 
+ #include <pwd.h>
+@@ -22927,31 +26779,23 @@
+ 
+ _ACEOF
+ rm -f conftest$ac_exeext
+-if { (eval echo "$as_me:22930: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:22933: \$? = $ac_status" >&5
+-  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
+-  { (eval echo "$as_me:22935: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:22938: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:26782: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
++   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
+   ac_cv_func_getpwnam_r_posix=yes
+ else
+-  echo "$as_me: program exited with status $ac_status" >&5
+-echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_getpwnam_r_posix=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_getpwnam_r_posix=no
+ fi
+-rm -f core core.* *.core conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
++
+ LIBS="$ac_libs"
+ fi
+-echo "$as_me:22951: result: $ac_cv_func_getpwnam_r_posix" >&5
++echo "configure:26795: result: $ac_cv_func_getpwnam_r_posix" >&5
+ echo "${ECHO_T}$ac_cv_func_getpwnam_r_posix" >&6
+ if test "$ac_cv_func_getpwnam_r_posix" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define POSIX_GETPWNAM_R 1
+ EOF
+@@ -22959,7 +26803,7 @@
+ fi
+ fi
+ 
+-echo "$as_me:22962: checking for getsockopt" >&5
++echo "configure:26806: checking for getsockopt" >&5
+ echo $ECHO_N "checking for getsockopt... $ECHO_C" >&6
+ if test "${ac_cv_funclib_getsockopt+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -22975,7 +26819,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 22978 "configure"
++#line 26822 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_SYS_TYPES_H
+ #include <sys/types.h>
+@@ -22992,23 +26836,13 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:22995: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:22998: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:23001: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:23004: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:26839: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_getsockopt=$ac_lib; else ac_cv_funclib_getsockopt=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_getsockopt=\${ac_cv_funclib_getsockopt-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -23019,17 +26853,17 @@
+ eval "ac_res=\$ac_cv_funclib_getsockopt"
+ 
+ if false; then
+-
++	
+ for ac_func in getsockopt
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:23026: checking for $ac_func" >&5
++echo "configure:26860: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 23032 "configure"
++#line 26866 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -23060,26 +26894,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:23063: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:23066: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:23069: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:23072: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:26897: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:23082: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:26906: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -23103,13 +26927,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:23106: result: yes" >&5
++	echo "configure:26930: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_getsockopt=no"
+ 	eval "LIB_getsockopt="
+-	echo "$as_me:23112: result: no" >&5
++	echo "configure:26936: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -23123,12 +26947,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:23126: result: yes, in $ac_res" >&5
++	echo "configure:26950: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "$as_me:23131: checking for setsockopt" >&5
++echo "configure:26955: checking for setsockopt" >&5
+ echo $ECHO_N "checking for setsockopt... $ECHO_C" >&6
+ if test "${ac_cv_funclib_setsockopt+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -23144,7 +26968,7 @@
+ 		fi
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 23147 "configure"
++#line 26971 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_SYS_TYPES_H
+ #include <sys/types.h>
+@@ -23161,23 +26985,13 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:23164: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:23167: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:23170: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:23173: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:26988: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_setsockopt=$ac_lib; else ac_cv_funclib_setsockopt=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_setsockopt=\${ac_cv_funclib_setsockopt-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -23188,17 +27002,17 @@
+ eval "ac_res=\$ac_cv_funclib_setsockopt"
+ 
+ if false; then
+-
++	
+ for ac_func in setsockopt
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:23195: checking for $ac_func" >&5
++echo "configure:27009: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 23201 "configure"
++#line 27015 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -23229,26 +27043,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:23232: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:23235: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:23238: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:23241: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:27046: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:23251: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:27055: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -23272,13 +27076,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:23275: result: yes" >&5
++	echo "configure:27079: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_setsockopt=no"
+ 	eval "LIB_setsockopt="
+-	echo "$as_me:23281: result: no" >&5
++	echo "configure:27085: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -23292,7 +27096,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:23295: result: yes, in $ac_res" >&5
++	echo "configure:27099: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -23300,13 +27104,13 @@
+ for ac_func in getudbnam setlim
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:23303: checking for $ac_func" >&5
++echo "configure:27107: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 23309 "configure"
++#line 27113 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -23337,26 +27141,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:23340: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:23343: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:23346: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:23349: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:27144: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:23359: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:27153: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -23366,13 +27160,13 @@
+ fi
+ done
+ 
+-echo "$as_me:23369: checking return type of signal handlers" >&5
++echo "configure:27163: checking return type of signal handlers" >&5
+ echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
+ if test "${ac_cv_type_signal+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 23375 "configure"
++#line 27169 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #include <signal.h>
+@@ -23394,26 +27188,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:23397: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:23400: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:23403: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:23406: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:27191: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_signal=void
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_signal=int
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_signal=int
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:23416: result: $ac_cv_type_signal" >&5
++echo "configure:27200: result: $ac_cv_type_signal" >&5
+ echo "${ECHO_T}$ac_cv_type_signal" >&6
+ 
+ cat >>confdefs.h <<EOF
+@@ -23421,14 +27205,14 @@
+ EOF
+ 
+ if test "$ac_cv_type_signal" = "void" ; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define VOID_RETSIGTYPE 1
+ EOF
+ 
+ fi
+ 
+-echo "$as_me:23431: checking if realloc if broken" >&5
++echo "configure:27215: checking if realloc if broken" >&5
+ echo $ECHO_N "checking if realloc if broken... $ECHO_C" >&6
+ if test "${ac_cv_func_realloc_broken+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -23439,7 +27223,7 @@
+   :
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 23442 "configure"
++#line 27226 "configure"
+ #include "confdefs.h"
+ 
+ #include <stddef.h>
+@@ -23452,45 +27236,36 @@
+ 
+ _ACEOF
+ rm -f conftest$ac_exeext
+-if { (eval echo "$as_me:23455: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:23458: \$? = $ac_status" >&5
+-  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
+-  { (eval echo "$as_me:23460: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:23463: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:27239: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
++   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
+   :
+ else
+-  echo "$as_me: program exited with status $ac_status" >&5
+-echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_realloc_broken=yes
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_realloc_broken=yes
+ fi
+-rm -f core core.* *.core conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+ 
+ fi
+-echo "$as_me:23476: result: $ac_cv_func_realloc_broken" >&5
++echo "configure:27251: result: $ac_cv_func_realloc_broken" >&5
+ echo "${ECHO_T}$ac_cv_func_realloc_broken" >&6
+ if test "$ac_cv_func_realloc_broken" = yes ; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define BROKEN_REALLOC 1
+ EOF
+ 
+ fi
+ 
+-echo "$as_me:23486: checking for ut_addr in struct utmp" >&5
++echo "configure:27261: checking for ut_addr in struct utmp" >&5
+ echo $ECHO_N "checking for ut_addr in struct utmp... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_utmp_ut_addr+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 23493 "configure"
++#line 27268 "configure"
+ #include "confdefs.h"
+ #include <utmp.h>
+ int
+@@ -23502,43 +27277,35 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:23505: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:23508: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:23511: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:23514: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:27280: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_utmp_ut_addr=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_struct_utmp_ut_addr=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_struct_utmp_ut_addr=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:23524: result: $ac_cv_type_struct_utmp_ut_addr" >&5
++echo "configure:27289: result: $ac_cv_type_struct_utmp_ut_addr" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_addr" >&6
+ if test "$ac_cv_type_struct_utmp_ut_addr" = yes; then
+-
++	
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_STRUCT_UTMP_UT_ADDR 1
+ EOF
+ 
++	
+ fi
+ 
+-echo "$as_me:23534: checking for ut_host in struct utmp" >&5
++echo "configure:27301: checking for ut_host in struct utmp" >&5
+ echo $ECHO_N "checking for ut_host in struct utmp... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_utmp_ut_host+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 23541 "configure"
++#line 27308 "configure"
+ #include "confdefs.h"
+ #include <utmp.h>
+ int
+@@ -23550,43 +27317,35 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:23553: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:23556: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:23559: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:23562: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:27320: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_utmp_ut_host=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_struct_utmp_ut_host=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_struct_utmp_ut_host=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:23572: result: $ac_cv_type_struct_utmp_ut_host" >&5
++echo "configure:27329: result: $ac_cv_type_struct_utmp_ut_host" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_host" >&6
+ if test "$ac_cv_type_struct_utmp_ut_host" = yes; then
+-
++	
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_STRUCT_UTMP_UT_HOST 1
+ EOF
+ 
++	
+ fi
+ 
+-echo "$as_me:23582: checking for ut_id in struct utmp" >&5
++echo "configure:27341: checking for ut_id in struct utmp" >&5
+ echo $ECHO_N "checking for ut_id in struct utmp... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_utmp_ut_id+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 23589 "configure"
++#line 27348 "configure"
+ #include "confdefs.h"
+ #include <utmp.h>
+ int
+@@ -23598,43 +27357,35 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:23601: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:23604: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:23607: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:23610: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:27360: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_utmp_ut_id=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_struct_utmp_ut_id=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_struct_utmp_ut_id=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:23620: result: $ac_cv_type_struct_utmp_ut_id" >&5
++echo "configure:27369: result: $ac_cv_type_struct_utmp_ut_id" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_id" >&6
+ if test "$ac_cv_type_struct_utmp_ut_id" = yes; then
+-
++	
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_STRUCT_UTMP_UT_ID 1
+ EOF
+ 
++	
+ fi
+ 
+-echo "$as_me:23630: checking for ut_pid in struct utmp" >&5
++echo "configure:27381: checking for ut_pid in struct utmp" >&5
+ echo $ECHO_N "checking for ut_pid in struct utmp... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_utmp_ut_pid+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 23637 "configure"
++#line 27388 "configure"
+ #include "confdefs.h"
+ #include <utmp.h>
+ int
+@@ -23646,43 +27397,35 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:23649: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:23652: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:23655: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:23658: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:27400: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_utmp_ut_pid=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_struct_utmp_ut_pid=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_struct_utmp_ut_pid=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:23668: result: $ac_cv_type_struct_utmp_ut_pid" >&5
++echo "configure:27409: result: $ac_cv_type_struct_utmp_ut_pid" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_pid" >&6
+ if test "$ac_cv_type_struct_utmp_ut_pid" = yes; then
+-
++	
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_STRUCT_UTMP_UT_PID 1
+ EOF
+ 
++	
+ fi
+ 
+-echo "$as_me:23678: checking for ut_type in struct utmp" >&5
++echo "configure:27421: checking for ut_type in struct utmp" >&5
+ echo $ECHO_N "checking for ut_type in struct utmp... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_utmp_ut_type+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 23685 "configure"
++#line 27428 "configure"
+ #include "confdefs.h"
+ #include <utmp.h>
+ int
+@@ -23694,43 +27437,35 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:23697: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:23700: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:23703: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:23706: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:27440: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_utmp_ut_type=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_struct_utmp_ut_type=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_struct_utmp_ut_type=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:23716: result: $ac_cv_type_struct_utmp_ut_type" >&5
++echo "configure:27449: result: $ac_cv_type_struct_utmp_ut_type" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_type" >&6
+ if test "$ac_cv_type_struct_utmp_ut_type" = yes; then
+-
++	
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_STRUCT_UTMP_UT_TYPE 1
+ EOF
+ 
++	
+ fi
+ 
+-echo "$as_me:23726: checking for ut_user in struct utmp" >&5
++echo "configure:27461: checking for ut_user in struct utmp" >&5
+ echo $ECHO_N "checking for ut_user in struct utmp... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_utmp_ut_user+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 23733 "configure"
++#line 27468 "configure"
+ #include "confdefs.h"
+ #include <utmp.h>
+ int
+@@ -23742,43 +27477,35 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:23745: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:23748: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:23751: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:23754: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:27480: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_utmp_ut_user=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_struct_utmp_ut_user=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_struct_utmp_ut_user=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:23764: result: $ac_cv_type_struct_utmp_ut_user" >&5
++echo "configure:27489: result: $ac_cv_type_struct_utmp_ut_user" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_user" >&6
+ if test "$ac_cv_type_struct_utmp_ut_user" = yes; then
+-
++	
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_STRUCT_UTMP_UT_USER 1
+ EOF
+ 
++	
+ fi
+ 
+-echo "$as_me:23774: checking for ut_exit in struct utmpx" >&5
++echo "configure:27501: checking for ut_exit in struct utmpx" >&5
+ echo $ECHO_N "checking for ut_exit in struct utmpx... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_utmpx_ut_exit+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 23781 "configure"
++#line 27508 "configure"
+ #include "confdefs.h"
+ #include <utmpx.h>
+ int
+@@ -23790,43 +27517,35 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:23793: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:23796: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:23799: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:23802: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:27520: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_utmpx_ut_exit=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_struct_utmpx_ut_exit=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_struct_utmpx_ut_exit=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:23812: result: $ac_cv_type_struct_utmpx_ut_exit" >&5
++echo "configure:27529: result: $ac_cv_type_struct_utmpx_ut_exit" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_utmpx_ut_exit" >&6
+ if test "$ac_cv_type_struct_utmpx_ut_exit" = yes; then
+-
++	
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_STRUCT_UTMPX_UT_EXIT 1
+ EOF
+ 
++	
+ fi
+ 
+-echo "$as_me:23822: checking for ut_syslen in struct utmpx" >&5
++echo "configure:27541: checking for ut_syslen in struct utmpx" >&5
+ echo $ECHO_N "checking for ut_syslen in struct utmpx... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_utmpx_ut_syslen+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 23829 "configure"
++#line 27548 "configure"
+ #include "confdefs.h"
+ #include <utmpx.h>
+ int
+@@ -23838,43 +27557,35 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:23841: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:23844: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:23847: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:23850: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:27560: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_utmpx_ut_syslen=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_struct_utmpx_ut_syslen=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_struct_utmpx_ut_syslen=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:23860: result: $ac_cv_type_struct_utmpx_ut_syslen" >&5
++echo "configure:27569: result: $ac_cv_type_struct_utmpx_ut_syslen" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_utmpx_ut_syslen" >&6
+ if test "$ac_cv_type_struct_utmpx_ut_syslen" = yes; then
+-
++	
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_STRUCT_UTMPX_UT_SYSLEN 1
+ EOF
+ 
++	
+ fi
+ 
+-echo "$as_me:23870: checking for tm_gmtoff in struct tm" >&5
++echo "configure:27581: checking for tm_gmtoff in struct tm" >&5
+ echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_tm_tm_gmtoff+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 23877 "configure"
++#line 27588 "configure"
+ #include "confdefs.h"
+ #include <time.h>
+ int
+@@ -23886,43 +27597,35 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:23889: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:23892: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:23895: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:23898: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:27600: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_tm_tm_gmtoff=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_struct_tm_tm_gmtoff=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_struct_tm_tm_gmtoff=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:23908: result: $ac_cv_type_struct_tm_tm_gmtoff" >&5
++echo "configure:27609: result: $ac_cv_type_struct_tm_tm_gmtoff" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_tm_tm_gmtoff" >&6
+ if test "$ac_cv_type_struct_tm_tm_gmtoff" = yes; then
+-
++	
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_STRUCT_TM_TM_GMTOFF 1
+ EOF
+ 
++	
+ fi
+ 
+-echo "$as_me:23918: checking for tm_zone in struct tm" >&5
++echo "configure:27621: checking for tm_zone in struct tm" >&5
+ echo $ECHO_N "checking for tm_zone in struct tm... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_tm_tm_zone+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 23925 "configure"
++#line 27628 "configure"
+ #include "confdefs.h"
+ #include <time.h>
+ int
+@@ -23934,43 +27637,35 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:23937: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:23940: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:23943: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:23946: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:27640: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_tm_tm_zone=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_struct_tm_tm_zone=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_struct_tm_tm_zone=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:23956: result: $ac_cv_type_struct_tm_tm_zone" >&5
++echo "configure:27649: result: $ac_cv_type_struct_tm_tm_zone" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_tm_tm_zone" >&6
+ if test "$ac_cv_type_struct_tm_tm_zone" = yes; then
+-
++	
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_STRUCT_TM_TM_ZONE 1
+ EOF
+ 
++	
+ fi
+ 
+-echo "$as_me:23966: checking for timezone" >&5
++echo "configure:27661: checking for timezone" >&5
+ echo $ECHO_N "checking for timezone... $ECHO_C" >&6
+ if test "${ac_cv_var_timezone+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 23973 "configure"
++#line 27668 "configure"
+ #include "confdefs.h"
+ extern int timezone;
+ int foo() { return timezone; }
+@@ -23983,97 +27678,37 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:23986: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:23989: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:23992: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:23995: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:27681: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_var_timezone=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_var_timezone=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_var_timezone=no
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 
+ fi
+ 
+ ac_foo=`eval echo \\$ac_cv_var_timezone`
+-echo "$as_me:24008: result: $ac_foo" >&5
++echo "configure:27693: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+-
++	
+ cat >>confdefs.h <<EOF
+ #define HAVE_TIMEZONE 1
+ EOF
+ 
+-echo "$as_me:24016: checking if timezone is properly declared" >&5
+-echo $ECHO_N "checking if timezone is properly declared... $ECHO_C" >&6
+-if test "${ac_cv_var_timezone_declaration+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-
+-cat >conftest.$ac_ext <<_ACEOF
+-#line 24023 "configure"
+-#include "confdefs.h"
+-#include <time.h>
+-extern struct { int foo; } timezone;
+-int
+-main ()
+-{
+-timezone.foo = 1;
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:24036: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:24039: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:24042: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:24045: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
+-  eval "ac_cv_var_timezone_declaration=no"
+-else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_var_timezone_declaration=yes"
+-fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
+-
+-fi
+-
+-echo "$as_me:24057: result: $ac_cv_var_timezone_declaration" >&5
+-echo "${ECHO_T}$ac_cv_var_timezone_declaration" >&6
+-if eval "test \"\$ac_cv_var_timezone_declaration\" = yes"; then
+-
+-cat >>confdefs.h <<\EOF
+-#define HAVE_TIMEZONE_DECLARATION 1
+-EOF
+-
+-fi
+-
++	
+ fi
+ 
+ cv=`echo "sa_family_t" | sed 'y%./+- %__p__%'`
+-echo "$as_me:24070: checking for sa_family_t" >&5
++echo "configure:27705: checking for sa_family_t" >&5
+ echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 24076 "configure"
++#line 27711 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -24090,38 +27725,28 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:24093: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:24096: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:24099: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:24102: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:27728: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_type_$cv=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_type_$cv=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_type_$cv=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:24113: result: $ac_foo" >&5
++echo "configure:27738: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo sa_family_t | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:24118: checking for sa_family_t" >&5
++	echo "configure:27743: checking for sa_family_t" >&5
+ echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6
+ if test "${ac_cv_type_sa_family_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 24124 "configure"
++#line 27749 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -24136,26 +27761,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:24139: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:24142: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:24145: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:24148: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:27764: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_sa_family_t=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_sa_family_t=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_sa_family_t=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:24158: result: $ac_cv_type_sa_family_t" >&5
++echo "configure:27773: result: $ac_cv_type_sa_family_t" >&5
+ echo "${ECHO_T}$ac_cv_type_sa_family_t" >&6
+ if test $ac_cv_type_sa_family_t = yes; then
+ 
+@@ -24174,13 +27789,13 @@
+ fi
+ 
+ cv=`echo "socklen_t" | sed 'y%./+- %__p__%'`
+-echo "$as_me:24177: checking for socklen_t" >&5
++echo "configure:27792: checking for socklen_t" >&5
+ echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 24183 "configure"
++#line 27798 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -24197,38 +27812,28 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:24200: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:24203: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:24206: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:24209: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:27815: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_type_$cv=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_type_$cv=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_type_$cv=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:24220: result: $ac_foo" >&5
++echo "configure:27825: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo socklen_t | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:24225: checking for socklen_t" >&5
++	echo "configure:27830: checking for socklen_t" >&5
+ echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
+ if test "${ac_cv_type_socklen_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 24231 "configure"
++#line 27836 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -24243,26 +27848,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:24246: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:24249: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:24252: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:24255: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:27851: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_socklen_t=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_socklen_t=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_socklen_t=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:24265: result: $ac_cv_type_socklen_t" >&5
++echo "configure:27860: result: $ac_cv_type_socklen_t" >&5
+ echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
+ if test $ac_cv_type_socklen_t = yes; then
+ 
+@@ -24281,13 +27876,13 @@
+ fi
+ 
+ cv=`echo "struct sockaddr" | sed 'y%./+- %__p__%'`
+-echo "$as_me:24284: checking for struct sockaddr" >&5
++echo "configure:27879: checking for struct sockaddr" >&5
+ echo $ECHO_N "checking for struct sockaddr... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 24290 "configure"
++#line 27885 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -24304,38 +27899,28 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:24307: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:24310: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:24313: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:24316: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:27902: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_type_$cv=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_type_$cv=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_type_$cv=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:24327: result: $ac_foo" >&5
++echo "configure:27912: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo struct sockaddr | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:24332: checking for struct sockaddr" >&5
++	echo "configure:27917: checking for struct sockaddr" >&5
+ echo $ECHO_N "checking for struct sockaddr... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_sockaddr+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 24338 "configure"
++#line 27923 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -24350,26 +27935,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:24353: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:24356: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:24359: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:24362: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:27938: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_sockaddr=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_struct_sockaddr=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_struct_sockaddr=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:24372: result: $ac_cv_type_struct_sockaddr" >&5
++echo "configure:27947: result: $ac_cv_type_struct_sockaddr" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_sockaddr" >&6
+ if test $ac_cv_type_struct_sockaddr = yes; then
+ 
+@@ -24388,13 +27963,13 @@
+ fi
+ 
+ cv=`echo "struct sockaddr_storage" | sed 'y%./+- %__p__%'`
+-echo "$as_me:24391: checking for struct sockaddr_storage" >&5
++echo "configure:27966: checking for struct sockaddr_storage" >&5
+ echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 24397 "configure"
++#line 27972 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -24411,38 +27986,28 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:24414: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:24417: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:24420: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:24423: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:27989: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_type_$cv=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_type_$cv=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_type_$cv=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:24434: result: $ac_foo" >&5
++echo "configure:27999: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo struct sockaddr_storage | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:24439: checking for struct sockaddr_storage" >&5
++	echo "configure:28004: checking for struct sockaddr_storage" >&5
+ echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_sockaddr_storage+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 24445 "configure"
++#line 28010 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -24457,26 +28022,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:24460: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:24463: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:24466: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:24469: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:28025: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_sockaddr_storage=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_struct_sockaddr_storage=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_struct_sockaddr_storage=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:24479: result: $ac_cv_type_struct_sockaddr_storage" >&5
++echo "configure:28034: result: $ac_cv_type_struct_sockaddr_storage" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_sockaddr_storage" >&6
+ if test $ac_cv_type_struct_sockaddr_storage = yes; then
+ 
+@@ -24495,13 +28050,13 @@
+ fi
+ 
+ cv=`echo "struct addrinfo" | sed 'y%./+- %__p__%'`
+-echo "$as_me:24498: checking for struct addrinfo" >&5
++echo "configure:28053: checking for struct addrinfo" >&5
+ echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 24504 "configure"
++#line 28059 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -24518,38 +28073,28 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:24521: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:24524: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:24527: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:24530: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:28076: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval "ac_cv_type_$cv=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_type_$cv=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_type_$cv=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:24541: result: $ac_foo" >&5
++echo "configure:28086: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo struct addrinfo | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:24546: checking for struct addrinfo" >&5
++	echo "configure:28091: checking for struct addrinfo" >&5
+ echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_addrinfo+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 24552 "configure"
++#line 28097 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -24564,26 +28109,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:24567: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:24570: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:24573: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:24576: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:28112: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_addrinfo=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_struct_addrinfo=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_struct_addrinfo=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:24586: result: $ac_cv_type_struct_addrinfo" >&5
++echo "configure:28121: result: $ac_cv_type_struct_addrinfo" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_addrinfo" >&6
+ if test $ac_cv_type_struct_addrinfo = yes; then
+ 
+@@ -24601,7 +28136,7 @@
+ 
+ fi
+ 
+-echo "$as_me:24604: checking for struct winsize" >&5
++echo "configure:28139: checking for struct winsize" >&5
+ echo $ECHO_N "checking for struct winsize... $ECHO_C" >&6
+ if test "${ac_cv_struct_winsize+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -24610,7 +28145,7 @@
+ ac_cv_struct_winsize=no
+ for i in sys/termios.h sys/ioctl.h; do
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 24613 "configure"
++#line 28148 "configure"
+ #include "confdefs.h"
+ #include <$i>
+ 
+@@ -24631,10 +28166,10 @@
+ EOF
+ 
+ fi
+-echo "$as_me:24634: result: $ac_cv_struct_winsize" >&5
++echo "configure:28169: result: $ac_cv_struct_winsize" >&5
+ echo "${ECHO_T}$ac_cv_struct_winsize" >&6
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 24637 "configure"
++#line 28172 "configure"
+ #include "confdefs.h"
+ #include <termios.h>
+ 
+@@ -24650,7 +28185,7 @@
+ rm -f conftest*
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 24653 "configure"
++#line 28188 "configure"
+ #include "confdefs.h"
+ #include <termios.h>
+ 
+@@ -24665,14 +28200,14 @@
+ fi
+ rm -f conftest*
+ 
+-echo "$as_me:24668: checking for struct spwd" >&5
++echo "configure:28203: checking for struct spwd" >&5
+ echo $ECHO_N "checking for struct spwd... $ECHO_C" >&6
+ if test "${ac_cv_struct_spwd+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 24675 "configure"
++#line 28210 "configure"
+ #include "confdefs.h"
+ #include <pwd.h>
+ #ifdef HAVE_SHADOW_H
+@@ -24687,28 +28222,18 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:24690: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:24693: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:24696: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:24699: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:28225: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_struct_spwd=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_struct_spwd=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_struct_spwd=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ 
+ fi
+ 
+-echo "$as_me:24711: result: $ac_cv_struct_spwd" >&5
++echo "configure:28236: result: $ac_cv_struct_spwd" >&5
+ echo "${ECHO_T}$ac_cv_struct_spwd" >&6
+ 
+ if test "$ac_cv_struct_spwd" = "yes"; then
+@@ -24719,14 +28244,14 @@
+ 
+ fi
+ 
+-echo "$as_me:24722: checking for sa_len in struct sockaddr" >&5
++echo "configure:28247: checking for sa_len in struct sockaddr" >&5
+ echo $ECHO_N "checking for sa_len in struct sockaddr... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_sockaddr_sa_len+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 24729 "configure"
++#line 28254 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #include <sys/socket.h>
+@@ -24739,46 +28264,38 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:24742: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:24745: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:24748: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:24751: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:28267: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_type_struct_sockaddr_sa_len=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_struct_sockaddr_sa_len=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_type_struct_sockaddr_sa_len=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:24761: result: $ac_cv_type_struct_sockaddr_sa_len" >&5
++echo "configure:28276: result: $ac_cv_type_struct_sockaddr_sa_len" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_sockaddr_sa_len" >&6
+ if test "$ac_cv_type_struct_sockaddr_sa_len" = yes; then
+-
++	
++	
+ cat >>confdefs.h <<\EOF
+ #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
+ EOF
+ 
++	
+ fi
+ 
+ for i in int8_t int16_t int32_t int64_t \
+ 	u_int8_t u_int16_t u_int32_t u_int64_t \
+ 	uint8_t uint16_t uint32_t uint64_t; do
+-	echo "$as_me:24774: checking for $i" >&5
++	echo "configure:28291: checking for $i" >&5
+ echo $ECHO_N "checking for $i... $ECHO_C" >&6
+-
++	
+ if eval "test \"\${ac_cv_type_$i+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 24781 "configure"
++#line 28298 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_INTTYPES_H
+@@ -24807,22 +28324,12 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:24810: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:24813: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:24816: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:24819: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:28327: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   eval ac_cv_type_$i=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval ac_cv_type_$i=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval ac_cv_type_$i=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+@@ -24835,7 +28342,7 @@
+ EOF
+ 
+ 	fi
+-	echo "$as_me:24838: result: $ac_res" >&5
++	echo "configure:28345: result: $ac_res" >&5
+ echo "${ECHO_T}$ac_res" >&6
+ done
+ 
+@@ -24848,25 +28355,21 @@
+ 
+ do
+ ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
+-echo "$as_me:24851: checking for $ac_header" >&5
++
++echo "configure:28359: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 24857 "configure"
++#line 28365 "configure"
+ #include "confdefs.h"
+ #include <$ac_header>
++
+ _ACEOF
+-if { (eval echo "$as_me:24861: \"$ac_cpp conftest.$ac_ext\"") >&5
+-  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+-  ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
+-  rm -f conftest.er1
+-  cat conftest.err >&5
+-  echo "$as_me:24867: \$? = $ac_status" >&5
+-  (exit $ac_status); } >/dev/null; then
+-  if test -s conftest.err; then
++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err"
++if { (eval echo configure:28371: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; then
++  if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+   else
+     ac_cpp_err=
+@@ -24874,16 +28377,19 @@
+ else
+   ac_cpp_err=yes
+ fi
++
+ if test -z "$ac_cpp_err"; then
+   eval "$ac_ac_Header=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
++  cat conftest.err >&5
++  echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   eval "$ac_ac_Header=no"
+ fi
+-rm -f conftest.err conftest.$ac_ext
++rm -f conftest*
++
+ fi
+-echo "$as_me:24886: result: `eval echo '${'$ac_ac_Header'}'`" >&5
++echo "configure:28392: result: `eval echo '${'$ac_ac_Header'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
+ if test `eval echo '${'$ac_ac_Header'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -24893,7 +28399,7 @@
+ fi
+ done
+ 
+-echo "$as_me:24896: checking for MD4_Init" >&5
++echo "configure:28402: checking for MD4_Init" >&5
+ echo $ECHO_N "checking for MD4_Init... $ECHO_C" >&6
+ if test "${ac_cv_funclib_MD4_Init+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -24909,7 +28415,7 @@
+ 		fi
+ 		LIBS="$test_LIB_krb4 $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 24912 "configure"
++#line 28418 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -24921,23 +28427,13 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:24924: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:24927: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:24930: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:24933: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:28430: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_MD4_Init=$ac_lib; else ac_cv_funclib_MD4_Init=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_MD4_Init=\${ac_cv_funclib_MD4_Init-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -24948,17 +28444,17 @@
+ eval "ac_res=\$ac_cv_funclib_MD4_Init"
+ 
+ if false; then
+-
++	
+ for ac_func in MD4_Init
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:24955: checking for $ac_func" >&5
++echo "configure:28451: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 24961 "configure"
++#line 28457 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -24989,26 +28485,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:24992: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:24995: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:24998: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:25001: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:28488: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:25011: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:28497: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -25032,13 +28518,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:25035: result: yes" >&5
++	echo "configure:28521: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_MD4_Init=no"
+ 	eval "LIB_MD4_Init="
+-	echo "$as_me:25041: result: no" >&5
++	echo "configure:28527: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -25052,12 +28538,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:25055: result: yes, in $ac_res" >&5
++	echo "configure:28541: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "$as_me:25060: checking for MD5_Init" >&5
++echo "configure:28546: checking for MD5_Init" >&5
+ echo $ECHO_N "checking for MD5_Init... $ECHO_C" >&6
+ if test "${ac_cv_funclib_MD5_Init+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -25073,7 +28559,7 @@
+ 		fi
+ 		LIBS="$test_LIB_krb4 $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 25076 "configure"
++#line 28562 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -25085,23 +28571,13 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:25088: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:25091: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:25094: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:25097: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:28574: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_MD5_Init=$ac_lib; else ac_cv_funclib_MD5_Init=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_MD5_Init=\${ac_cv_funclib_MD5_Init-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -25112,17 +28588,17 @@
+ eval "ac_res=\$ac_cv_funclib_MD5_Init"
+ 
+ if false; then
+-
++	
+ for ac_func in MD5_Init
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:25119: checking for $ac_func" >&5
++echo "configure:28595: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 25125 "configure"
++#line 28601 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -25153,26 +28629,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:25156: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:25159: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:25162: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:25165: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:28632: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:25175: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:28641: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -25196,13 +28662,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:25199: result: yes" >&5
++	echo "configure:28665: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_MD5_Init=no"
+ 	eval "LIB_MD5_Init="
+-	echo "$as_me:25205: result: no" >&5
++	echo "configure:28671: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -25216,12 +28682,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:25219: result: yes, in $ac_res" >&5
++	echo "configure:28685: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "$as_me:25224: checking for SHA1_Init" >&5
++echo "configure:28690: checking for SHA1_Init" >&5
+ echo $ECHO_N "checking for SHA1_Init... $ECHO_C" >&6
+ if test "${ac_cv_funclib_SHA1_Init+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -25237,7 +28703,7 @@
+ 		fi
+ 		LIBS="$test_LIB_krb4 $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 25240 "configure"
++#line 28706 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -25249,23 +28715,13 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:25252: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:25255: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:25258: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:25261: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:28718: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_SHA1_Init=$ac_lib; else ac_cv_funclib_SHA1_Init=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_SHA1_Init=\${ac_cv_funclib_SHA1_Init-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -25276,17 +28732,17 @@
+ eval "ac_res=\$ac_cv_funclib_SHA1_Init"
+ 
+ if false; then
+-
++	
+ for ac_func in SHA1_Init
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:25283: checking for $ac_func" >&5
++echo "configure:28739: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 25289 "configure"
++#line 28745 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -25317,26 +28773,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:25320: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:25323: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:25326: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:25329: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:28776: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:25339: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:28785: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -25360,13 +28806,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:25363: result: yes" >&5
++	echo "configure:28809: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_SHA1_Init=no"
+ 	eval "LIB_SHA1_Init="
+-	echo "$as_me:25369: result: no" >&5
++	echo "configure:28815: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -25380,12 +28826,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:25383: result: yes, in $ac_res" >&5
++	echo "configure:28829: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "$as_me:25388: checking for des_cbc_encrypt" >&5
++echo "configure:28834: checking for des_cbc_encrypt" >&5
+ echo $ECHO_N "checking for des_cbc_encrypt... $ECHO_C" >&6
+ if test "${ac_cv_funclib_des_cbc_encrypt+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -25401,7 +28847,7 @@
+ 		fi
+ 		LIBS="$test_LIB_krb4 $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 25404 "configure"
++#line 28850 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -25413,23 +28859,13 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:25416: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:25419: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:25422: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:25425: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:28862: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_des_cbc_encrypt=$ac_lib; else ac_cv_funclib_des_cbc_encrypt=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_des_cbc_encrypt=\${ac_cv_funclib_des_cbc_encrypt-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -25440,17 +28876,17 @@
+ eval "ac_res=\$ac_cv_funclib_des_cbc_encrypt"
+ 
+ if false; then
+-
++	
+ for ac_func in des_cbc_encrypt
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:25447: checking for $ac_func" >&5
++echo "configure:28883: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 25453 "configure"
++#line 28889 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -25481,26 +28917,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:25484: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:25487: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:25490: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:25493: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:28920: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:25503: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:28929: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -25524,13 +28950,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:25527: result: yes" >&5
++	echo "configure:28953: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_des_cbc_encrypt=no"
+ 	eval "LIB_des_cbc_encrypt="
+-	echo "$as_me:25533: result: no" >&5
++	echo "configure:28959: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -25544,12 +28970,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:25547: result: yes, in $ac_res" >&5
++	echo "configure:28973: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "$as_me:25552: checking for RC4" >&5
++echo "configure:28978: checking for RC4" >&5
+ echo $ECHO_N "checking for RC4... $ECHO_C" >&6
+ if test "${ac_cv_funclib_RC4+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -25565,7 +28991,7 @@
+ 		fi
+ 		LIBS="$test_LIB_krb4 $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 25568 "configure"
++#line 28994 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -25577,23 +29003,13 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:25580: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:25583: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:25586: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:25589: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:29006: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_RC4=$ac_lib; else ac_cv_funclib_RC4=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_RC4=\${ac_cv_funclib_RC4-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -25604,17 +29020,17 @@
+ eval "ac_res=\$ac_cv_funclib_RC4"
+ 
+ if false; then
+-
++	
+ for ac_func in RC4
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:25611: checking for $ac_func" >&5
++echo "configure:29027: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 25617 "configure"
++#line 29033 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -25645,26 +29061,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:25648: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:25651: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:25654: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:25657: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:29064: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:25667: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:29073: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -25688,13 +29094,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:25691: result: yes" >&5
++	echo "configure:29097: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_RC4=no"
+ 	eval "LIB_RC4="
+-	echo "$as_me:25697: result: no" >&5
++	echo "configure:29103: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -25708,7 +29114,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:25711: result: yes, in $ac_res" >&5
++	echo "configure:29117: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -25735,7 +29141,7 @@
+   LIB_des_appl="-ldes"
+ fi
+ 
+-echo "$as_me:25738: checking for el_init" >&5
++echo "configure:29144: checking for el_init" >&5
+ echo $ECHO_N "checking for el_init... $ECHO_C" >&6
+ if test "${ac_cv_funclib_el_init+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -25751,7 +29157,7 @@
+ 		fi
+ 		LIBS=" $ac_lib $LIB_tgetent $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 25754 "configure"
++#line 29160 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -25763,23 +29169,13 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:25766: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:25769: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:25772: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:25775: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:29172: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_el_init=$ac_lib; else ac_cv_funclib_el_init=yes; fi";break
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ 	done
+ 	eval "ac_cv_funclib_el_init=\${ac_cv_funclib_el_init-no}"
+ 	LIBS="$ac_save_LIBS"
+@@ -25790,17 +29186,17 @@
+ eval "ac_res=\$ac_cv_funclib_el_init"
+ 
+ if false; then
+-
++	
+ for ac_func in el_init
+ do
+ ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
+-echo "$as_me:25797: checking for $ac_func" >&5
++echo "configure:29193: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$ac_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 25803 "configure"
++#line 29199 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -25831,26 +29227,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:25834: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:25837: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:25840: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:25843: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:29230: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   eval "$ac_ac_var=yes"
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$ac_ac_var=no"
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "$ac_ac_var=no"
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:25853: result: `eval echo '${'$ac_ac_var'}'`" >&5
++echo "configure:29239: result: `eval echo '${'$ac_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
+ if test `eval echo '${'$ac_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -25874,13 +29260,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:25877: result: yes" >&5
++	echo "configure:29263: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_el_init=no"
+ 	eval "LIB_el_init="
+-	echo "$as_me:25883: result: no" >&5
++	echo "configure:29269: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -25894,20 +29280,20 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:25897: result: yes, in $ac_res" >&5
++	echo "configure:29283: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+ if test "$ac_cv_func_el_init" = yes ; then
+-	echo "$as_me:25903: checking for four argument el_init" >&5
++	echo "configure:29289: checking for four argument el_init" >&5
+ echo $ECHO_N "checking for four argument el_init... $ECHO_C" >&6
+ if test "${ac_cv_func_el_init_four+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 25910 "configure"
++#line 29296 "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
+ 			#include <histedit.h>
+@@ -25920,29 +29306,19 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:25923: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:25926: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:25929: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:25932: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:29309: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+   ac_cv_func_el_init_four=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_el_init_four=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_el_init_four=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:25942: result: $ac_cv_func_el_init_four" >&5
++echo "configure:29318: result: $ac_cv_func_el_init_four" >&5
+ echo "${ECHO_T}$ac_cv_func_el_init_four" >&6
+ 	if test "$ac_cv_func_el_init_four" = yes; then
+-
++		
+ cat >>confdefs.h <<\EOF
+ #define HAVE_FOUR_VALUED_EL_INIT 1
+ EOF
+@@ -25957,8 +29333,10 @@
+ 	:
+ elif test "$ac_cv_func_el_init" = yes; then
+ 	ac_foo=yes
++	DIR_readline="editline"
+ 	LIB_readline="\$(top_builddir)/lib/editline/libel_compat.la $LIB_el_init"
+ else
++	DIR_readline="editline"
+ 	LIB_readline='$(top_builddir)/lib/editline/libeditline.la'
+ fi
+ 
+@@ -25969,15 +29347,67 @@
+   el_compat_TRUE='#'
+   el_compat_FALSE=
+ fi
+-if test "$readline_libdir"; then
+-	LIB_readline="-rpath $readline_libdir $LIB_readline"
+-fi
++#if test "$readline_libdir"; then
++#	LIB_readline="-rpath $readline_libdir $LIB_readline"
++#fi
+ LIB_readline="$LIB_readline \$(LIB_tgetent)"
+ 
+ cat >>confdefs.h <<\EOF
+ #define HAVE_READLINE 1
+ EOF
+ 
++ac_foo=no
++if test "$with_com_err" = yes; then
++	COMPILE_ET='compile_et'
++#elif test "$ac_cv_func_com_err" = yes; then
++#	COMPILE_ET='compile_et'
++else
++	COMPILE_ET='$(top_builddir)/lib/com_err/compile_et'
++	DIR_com_err="com_err"
++	LIB_com_err='$(top_builddir)/lib/com_err/libcom_err.la'
++fi
++
++if true; then
++#	!FIXME! why doesn't built in version of com_err work?
++	COMPILE_ET='$(top_builddir)/lib/com_err/compile_et'
++	DIR_com_err="com_err"
++	LIB_com_err='$(top_builddir)/lib/com_err/libcom_err.la'
++fi
++
++#if test "$com_err_libdir"; then
++#	LIB_com_err="-rpath $com_err_libdir $LIB_com_err"
++#fi
++
++cat >>confdefs.h <<\EOF
++#define HAVE_COM_ERR 1
++EOF
++
++ac_foo=no
++if test "$with_ss" = yes; then
++	LIB_sl="$LIB_ss"
++else
++	DIR_ss="sl"
++	LIB_sl='$(top_builddir)/lib/sl/libsl.la'
++	LIB_ss='$(top_builddir)/lib/sl/libss.la'
++	INCLUDE_ss='-I$(top_builddir)/include/sl'
++fi
++
++#if test "$ss_libdir"; then
++#	LIB_ss="-rpath $sl_libdir $LIB_ss"
++#fi
++
++if true; then
++#	!FIXME! why doesn't built in version of ss work?
++	DIR_ss="sl"
++	LIB_sl='$(top_builddir)/lib/sl/libsl.la'
++	LIB_ss='$(top_builddir)/lib/sl/libss.la'
++	INCLUDE_ss='-I$(top_builddir)/include/ss'
++fi
++
++cat >>confdefs.h <<\EOF
++#define HAVE_SS 1
++EOF
++
+ cat >>confdefs.h <<\EOF
+ #define AUTHENTICATION 1
+ EOF
+@@ -26010,13 +29440,13 @@
+ #
+ # And also something wierd has happend with dec-osf1, fallback to bsd-ptys
+ 
+-echo "$as_me:26013: checking for getmsg" >&5
++echo "configure:29443: checking for getmsg" >&5
+ echo $ECHO_N "checking for getmsg... $ECHO_C" >&6
+ if test "${ac_cv_func_getmsg+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 26019 "configure"
++#line 29449 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char getmsg (); below.  */
+@@ -26047,31 +29477,21 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:26050: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:26053: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:26056: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:26059: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:29480: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+   ac_cv_func_getmsg=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_getmsg=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_getmsg=no
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:26069: result: $ac_cv_func_getmsg" >&5
++echo "configure:29489: result: $ac_cv_func_getmsg" >&5
+ echo "${ECHO_T}$ac_cv_func_getmsg" >&6
+ 
+ if test "$ac_cv_func_getmsg" = "yes"; then
+ 
+-echo "$as_me:26074: checking for working getmsg" >&5
++echo "configure:29494: checking for working getmsg" >&5
+ echo $ECHO_N "checking for working getmsg... $ECHO_C" >&6
+ if test "${ac_cv_func_getmsg_work+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -26080,7 +29500,7 @@
+   ac_cv_func_getmsg_work=no
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 26083 "configure"
++#line 29503 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -26097,27 +29517,19 @@
+ 
+ _ACEOF
+ rm -f conftest$ac_exeext
+-if { (eval echo "$as_me:26100: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:26103: \$? = $ac_status" >&5
+-  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
+-  { (eval echo "$as_me:26105: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:26108: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++if { (eval echo configure:29520: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
++   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
+   ac_cv_func_getmsg_work=yes
+ else
+-  echo "$as_me: program exited with status $ac_status" >&5
+-echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_getmsg_work=no
++  echo "configure: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_func_getmsg_work=no
+ fi
+-rm -f core core.* *.core conftest$ac_exeext conftest.$ac_ext
++rm -f conftest$ac_exeext conftest.$ac_ext
+ fi
++
+ fi
+-echo "$as_me:26120: result: $ac_cv_func_getmsg_work" >&5
++echo "configure:29532: result: $ac_cv_func_getmsg_work" >&5
+ echo "${ECHO_T}$ac_cv_func_getmsg_work" >&6
+ test "$ac_cv_func_getmsg_work" = "yes" &&
+ 
+@@ -26128,7 +29540,7 @@
+ fi
+ 
+ if test "$ac_cv_func_getmsg_work" = yes; then
+-echo "$as_me:26131: checking for streamspty" >&5
++echo "configure:29543: checking for streamspty" >&5
+ echo $ECHO_N "checking for streamspty... $ECHO_C" >&6
+ case "$host" in
+ *-*-aix3*|*-*-sunos4*|*-*-osf*|*-*-hpux1[01]*)
+@@ -26138,18 +29550,18 @@
+ 	krb_cv_sys_streamspty=yes
+ 	;;
+ esac
+-echo "$as_me:26141: result: $krb_cv_sys_streamspty" >&5
++echo "configure:29553: result: $krb_cv_sys_streamspty" >&5
+ echo "${ECHO_T}$krb_cv_sys_streamspty" >&6
+ fi
+ if test "$krb_cv_sys_streamspty" = yes; then
+-
++	
+ cat >>confdefs.h <<\EOF
+ #define STREAMSPTY 1
+ EOF
+ 
+ fi
+ 
+-echo "$as_me:26152: checking which authentication modules should be built" >&5
++echo "configure:29564: checking which authentication modules should be built" >&5
+ echo $ECHO_N "checking which authentication modules should be built... $ECHO_C" >&6
+ 
+ LIB_AUTH_SUBDIRS=
+@@ -26166,7 +29578,7 @@
+ *-*-irix[56]*) LIB_AUTH_SUBDIRS="$LIB_AUTH_SUBDIRS afskauthlib" ;;
+ esac
+ 
+-echo "$as_me:26169: result: $LIB_AUTH_SUBDIRS" >&5
++echo "configure:29581: result: $LIB_AUTH_SUBDIRS" >&5
+ echo "${ECHO_T}$LIB_AUTH_SUBDIRS" >&6
+ 
+ test "x$prefix" = xNONE && prefix=$ac_default_prefix
+@@ -26189,9 +29601,62 @@
+ 
+ LTLIBOBJS=`echo "$LIBOBJS" | sed 's/\.o/\.lo/g'`
+ 
+-ac_config_files="$ac_config_files Makefile include/Makefile include/kadm5/Makefile lib/Makefile lib/45/Makefile lib/auth/Makefile lib/auth/afskauthlib/Makefile lib/auth/pam/Makefile lib/auth/sia/Makefile lib/asn1/Makefile lib/com_err/Makefile lib/des/Makefile lib/editline/Makefile lib/gssapi/Makefile lib/hdb/Makefile lib/kadm5/Makefile lib/kafs/Makefile lib/kdfs/Makefile lib/krb5/Makefile lib/otp/Makefile lib/roken/Makefile lib/sl/Makefile lib/vers/Makefile kuser/Makefile kpasswd/Makefile kadmin/Makefile admin/Makefile kdc/Makefile appl/Makefile appl/afsutil/Makefile appl/ftp/Makefile appl/ftp/common/Makefile appl/ftp/ftp/Makefile appl/ftp/ftpd/Makefile appl/kx/Makefile appl/login/Makefile appl/otp/Makefile appl/popper/Makefile appl/push/Makefile appl/rsh/Makefile appl/rcp/Makefile appl/su/Makefile appl/xnlock/Makefile appl/telnet/Makefile appl/telnet/libtelnet/Makefile appl/telnet/telnet/Makefile appl/telnet/telnetd/Makefile appl/test/Makefile appl/kf/Makefile appl/dceutils/Makefile doc/Makefile tools/Makefile"
++ac_config_files="$ac_config_files Makefile 		\
++	include/Makefile		\
++	include/kadm5/Makefile		\
++	lib/Makefile			\
++	lib/45/Makefile			\
++	lib/auth/Makefile		\
++	lib/auth/afskauthlib/Makefile	\
++	lib/auth/pam/Makefile		\
++	lib/auth/sia/Makefile		\
++	lib/asn1/Makefile		\
++	lib/com_err/Makefile		\
++	lib/des/Makefile		\
++	lib/editline/Makefile		\
++	lib/gssapi/Makefile		\
++	lib/hdb/Makefile		\
++	lib/kadm5/Makefile		\
++	lib/kafs/Makefile		\
++	lib/kdfs/Makefile		\
++	lib/krb5/Makefile		\
++	lib/otp/Makefile		\
++	lib/roken/Makefile		\
++	lib/sl/Makefile			\
++	lib/vers/Makefile		\
++	kuser/Makefile			\
++	kpasswd/Makefile		\
++	kadmin/Makefile			\
++	admin/Makefile			\
++	kdc/Makefile			\
++	appl/Makefile			\
++	appl/afsutil/Makefile		\
++	appl/ftp/Makefile		\
++	appl/ftp/common/Makefile	\
++	appl/ftp/ftp/Makefile		\
++	appl/ftp/ftpd/Makefile		\
++	appl/kx/Makefile		\
++	appl/login/Makefile		\
++	appl/otp/Makefile		\
++	appl/popper/Makefile		\
++	appl/push/Makefile		\
++	appl/rsh/Makefile		\
++	appl/rcp/Makefile		\
++	appl/su/Makefile		\
++	appl/xnlock/Makefile		\
++	appl/telnet/Makefile		\
++	appl/telnet/libtelnet/Makefile	\
++	appl/telnet/telnet/Makefile	\
++	appl/telnet/telnetd/Makefile	\
++	appl/test/Makefile		\
++	appl/kf/Makefile		\
++	appl/dceutils/Makefile		\
++	doc/Makefile			\
++	tools/Makefile			\
++"
+ 
+-cat >confcache <<\_ACEOF
++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, see configure's option --config-cache.
+@@ -26205,8 +29670,7 @@
+ # loading this file, other *unset* `ac_cv_foo' will be assigned the
+ # following values.
+ 
+-_ACEOF
+-
++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.
+@@ -26216,26 +29680,19 @@
+   (set) 2>&1 |
+     case `(ac_space=' '; set | grep ac_space) 2>&1` in
+     *ac_space=\ *)
+-      # `set' does not quote correctly, so add quotes (double-quote
+-      # substitution turns \\\\ into \\, and sed turns \\ into \).
++      # `set' does not quote correctly, so add quotes (double-quote substitution
++      # turns \\\\ into \\, and sed turns \\ into \).
+       sed -n \
+-        "s/'/'\\\\''/g;
+-    	  s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
++    	-e "s/'/'\\\\''/g" \
++    	-e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1='\\2'/p"
+       ;;
+     *)
+       # `set' quotes correctly as required by POSIX, so do not add quotes.
+-      sed -n \
+-        "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
++      sed -n 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=\2/p'
+       ;;
+     esac;
+ } |
+-  sed '
+-     t clear
+-     : clear
+-     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
+-     t end
+-     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
+-     : end' >>confcache
++  sed '/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/' >>confcache
+ if cmp -s $cache_file confcache; then :; else
+   if test -w $cache_file; then
+     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
+@@ -26245,47 +29702,59 @@
+   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}'
+ 
+-# VPATH may cause trouble with some makes, so we remove $(srcdir),
+-# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
+-# trailing colons and then remove the whole line if VPATH becomes empty
+-# (actually we leave an empty line to preserve line numbers).
++# 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[ 	]*=/{
+-s/:*\$(srcdir):*/:/;
+-s/:*\${srcdir}:*/:/;
+-s/:*@srcdir@:*/:/;
+-s/^\([^=]*=[ 	]*\):*/\1/;
+-s/:*$//;
+-s/^[^=]*=[ 	]*$//;
+-}'
++  ac_vpsub='/^[ 	]*VPATH[ 	]*=[^:]*$/d'
+ fi
+ 
+ DEFS=-DHAVE_CONFIG_H
+ 
++# Save into config.log some information that might help in debugging.
++echo >&5
++echo "Cache variables:" >&5
++# The following way of writing the cache mishandles newlines in values,
++# but we know of no workaround that is simple, portable, and efficient.
++# So, don't put newlines in cache variables' values.
++# Ultrix sh set writes to stderr and can't be redirected directly,
++# and sets the high bit in the cache file unless we assign to the vars.
++{
++  (set) 2>&1 |
++    case `(ac_space=' '; set | grep ac_space) 2>&1` in
++    *ac_space=\ *)
++      # `set' does not quote correctly, so add quotes (double-quote substitution
++      # turns \\\\ into \\, and sed turns \\ into \).
++      sed -n \
++    	-e "s/'/'\\\\''/g" \
++    	-e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1='\\2'/p"
++      ;;
++    *)
++      # `set' quotes correctly as required by POSIX, so do not add quotes.
++      sed -n 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=\2/p'
++      ;;
++    esac;
++} | sed 's/^/| /' >&5
++echo >&5
++echo "confdefs.h:" >&5
++cat confdefs.h | sed 's/^/| /' >&5
++
+ : ${CONFIG_STATUS=./config.status}
+-ac_clean_files_save=$ac_clean_files
+-ac_clean_files="$ac_clean_files $CONFIG_STATUS"
+-{ echo "$as_me:26273: creating $CONFIG_STATUS" >&5
+-echo "$as_me: creating $CONFIG_STATUS" >&6;}
+-cat >$CONFIG_STATUS <<_ACEOF
+-#! $SHELL
++trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
++echo creating $CONFIG_STATUS
++cat >$CONFIG_STATUS <<\EOF
++#! /bin/sh
+ # Generated automatically by configure.
+ # Run this file to recreate the current configuration.
+ # Compiler output produced by configure, useful for debugging
+-# configure, is in config.log if it exists.
+-
+-debug=false
+-SHELL=\${CONFIG_SHELL-$SHELL}
+-ac_cs_invocation="\$0 \$@"
+-
+-_ACEOF
++# configure, is in ./config.log if it exists.
+ 
+-cat >>$CONFIG_STATUS <<\_ACEOF
+ # Be Bourne compatible
+ if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
+   emulate sh
+@@ -26294,64 +29763,37 @@
+   set -o posix
+ fi
+ 
+-# Name of the executable.
+-as_me=`echo "$0" |sed 's,.*[\\/],,'`
+-
+-if expr a : '\(a\)' >/dev/null 2>&1; then
+-  as_expr=expr
+-else
+-  as_expr=false
+-fi
+-
+-rm -f conf$$ conf$$.exe conf$$.file
+-echo >conf$$.file
+-if ln -s conf$$.file conf$$ 2>/dev/null; then
+-  # We could just check for DJGPP; but this test a) works b) is more generic
+-  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
+-  if test -f conf$$.exe; then
+-    # Don't use ln at all; we don't have any links
+-    as_ln_s='cp -p'
+-  else
+-    as_ln_s='ln -s'
+-  fi
+-elif ln conf$$.file conf$$ 2>/dev/null; then
+-  as_ln_s=ln
+-else
+-  as_ln_s='cp -p'
+-fi
+-rm -f conf$$ conf$$.exe conf$$.file
+-
+-as_executable_p="test -f"
+-
+ # Support unset when possible.
+-if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
+-  as_unset=unset
++if (unset FOO) >/dev/null 2>&1; then
++  ac_unset=unset
+ else
+-  as_unset=false
++  ac_unset=false
+ fi
+ 
+ # NLS nuisances.
+-$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
+-$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
+-$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
+-$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
+-$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
+-$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
+-$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
+-$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
++$ac_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
++$ac_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
++$ac_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
++$ac_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
++$ac_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
++$ac_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
++$ac_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
++$ac_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
+ 
+ # IFS
+ # We need space, tab and new line, in precisely that order.
+-as_nl='
++ac_nl='
+ '
+-IFS=" 	$as_nl"
++IFS=" 	$ac_nl"
+ 
+ # CDPATH.
+-$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
++$ac_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
+ 
+-exec 6>&1
++debug=false
++me=`echo "$0" | sed 's,.*/,,'`
++SHELL=${CONFIG_SHELL-/bin/sh}
+ 
+-_ACEOF
++EOF
+ 
+ # Files that config.status was made for.
+ if test -n "$ac_config_files"; then
+@@ -26373,7 +29815,7 @@
+ cat >>$CONFIG_STATUS <<\EOF
+ 
+ ac_cs_usage="\
+-\`$as_me' instantiates files from templates according to the
++\`$me' instantiates files from templates according to the
+ current configuration.
+ 
+ Usage: $0 [OPTIONS] [FILE]...
+@@ -26381,7 +29823,7 @@
+   -h, --help       print this help, then exit
+   -V, --version    print version number, then exit
+   -d, --debug      don't remove temporary files
+-      --recheck    update $as_me by reconfiguring in the same conditions
++      --recheck    update $me by reconfiguring in the same conditions
+   --file=FILE[:TEMPLATE]
+                    instantiate the configuration file FILE
+   --header=FILE[:TEMPLATE]
+@@ -26401,16 +29843,12 @@
+ 
+ cat >>$CONFIG_STATUS <<EOF
+ ac_cs_version="\\
+-heimdal config.status 0.4c
+-configured by $0, generated by GNU Autoconf 2.50,
+-  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
++$CONFIG_STATUS generated by autoconf version 2.49b.
++Configured on host `(hostname || uname -n) 2>/dev/null | sed 1q` by
++  `echo "$0 $ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`"
+ 
+-Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
+-Free Software Foundation, Inc.
+-This config.status script is free software; the Free Software Foundation
+-gives unlimited permission to copy, distribute and modify it."
+-srcdir=$srcdir
+-INSTALL="$INSTALL"
++ac_given_srcdir=$srcdir
++ac_given_INSTALL="$INSTALL"
+ EOF
+ 
+ cat >>$CONFIG_STATUS <<\EOF
+@@ -26446,11 +29884,8 @@
+     echo "$ac_cs_version"; exit 0 ;;
+   --he | --h)
+     # Conflict between --help and --header
+-    { { echo "$as_me:26449: error: ambiguous option: $1
+-Try \`$0 --help' for more information." >&5
+-echo "$as_me: error: ambiguous option: $1
+-Try \`$0 --help' for more information." >&2;}
+-   { (exit 1); exit 1; }; };;
++    echo "$me: ambiguous option: $ac_option
++Try \`$me --help' for more information."; exit 1 ;;
+   --help | --hel | -h )
+     echo "$ac_cs_usage"; exit 0 ;;
+   --debug | --d* | -d )
+@@ -26522,48 +29957,29 @@
+   'include/config.h' ) CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
+ 
+   # This is an error.
+-  -*) { { echo "$as_me:26525: error: unrecognized option: $1
+-Try \`$0 --help' for more information." >&5
+-echo "$as_me: error: unrecognized option: $1
+-Try \`$0 --help' for more information." >&2;}
+-   { (exit 1); exit 1; }; } ;;
+-  *) { { echo "$as_me:26530: error: invalid argument: $1" >&5
+-echo "$as_me: error: invalid argument: $1" >&2;}
+-   { (exit 1); exit 1; }; };;
++  -*) echo "$me: unrecognized option: $1
++Try \`$me --help' for more information."; exit 1 ;;
++  *) echo "$me: invalid argument: $1"; exit 1 ;;
+   esac
+   shift
+ done
+ 
+-exec 5>>config.log
+-cat >&5 << _ACEOF
+-
+-## ----------------------- ##
+-## Running config.status.  ##
+-## ----------------------- ##
+-
+-This file was extended by $as_me (heimdal 0.4c) 2.50, executed with
+-  > $ac_cs_invocation
+-on `(hostname || uname -n) 2>/dev/null | sed 1q`
+-
+-_ACEOF
+ EOF
+ 
+ cat >>$CONFIG_STATUS <<\EOF
+ # If the user did not use the arguments to specify the items to instantiate,
+ # then the envvar interface is used.  Set only those that are not.
+-# We use the long form for the default assignment because of an extremely
+-# bizarre bug on SunOS 4.1.3.
+ if $ac_need_defaults; then
+-  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
+-  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
+-  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
++  : ${CONFIG_FILES=$config_files}
++  : ${CONFIG_HEADERS=$config_headers}
++  : ${CONFIG_COMMANDS=$config_commands}
+ fi
+ 
+ # Create a temporary directory, and hook for its removal unless debugging.
+ $debug ||
+ {
+   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
+-  trap '{ (exit $?); exit $?; }' 1 2 13 15
++  trap 'exit $?' 1 2 13 15
+ }
+ 
+ # Create a (secure) tmp directory for tmp files.
+@@ -26578,7 +29994,7 @@
+ } ||
+ {
+    echo "$me: cannot create a temporary directory in $TMPDIR" >&2
+-   { (exit 1); exit 1; }
++   exit 1;
+ }
+ 
+ EOF
+@@ -26614,6 +30030,8 @@
+   # Protect against being on the right side of a sed subst in config.status.
+   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
+    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
++s,@COMPILE_ET@,$COMPILE_ET,;t t
++s,@LIB_sl@,$LIB_sl,;t t
+ s,@SHELL@,$SHELL,;t t
+ s,@exec_prefix@,$exec_prefix,;t t
+ s,@prefix@,$prefix,;t t
+@@ -26630,24 +30048,20 @@
+ s,@oldincludedir@,$oldincludedir,;t t
+ s,@infodir@,$infodir,;t t
+ s,@mandir@,$mandir,;t t
+-s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
+-s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
+-s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
+-s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
+-s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
+ s,@ECHO_C@,$ECHO_C,;t t
+ s,@ECHO_N@,$ECHO_N,;t t
+ s,@ECHO_T@,$ECHO_T,;t t
+-s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
++s,@CFLAGS@,$CFLAGS,;t t
++s,@CPPFLAGS@,$CPPFLAGS,;t t
++s,@CXXFLAGS@,$CXXFLAGS,;t t
++s,@FFLAGS@,$FFLAGS,;t t
+ s,@DEFS@,$DEFS,;t t
++s,@LDFLAGS@,$LDFLAGS,;t t
+ s,@LIBS@,$LIBS,;t t
+ s,@CC@,$CC,;t t
+-s,@CFLAGS@,$CFLAGS,;t t
+-s,@LDFLAGS@,$LDFLAGS,;t t
+-s,@CPPFLAGS@,$CPPFLAGS,;t t
+ s,@ac_ct_CC@,$ac_ct_CC,;t t
+-s,@EXEEXT@,$EXEEXT,;t t
+ s,@OBJEXT@,$OBJEXT,;t t
++s,@EXEEXT@,$EXEEXT,;t t
+ s,@CPP@,$CPP,;t t
+ s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
+ s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
+@@ -26686,6 +30100,10 @@
+ s,@ECHO@,$ECHO,;t t
+ s,@STRIP@,$STRIP,;t t
+ s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
++s,@CXX@,$CXX,;t t
++s,@ac_ct_CXX@,$ac_ct_CXX,;t t
++s,@CXXCPP@,$CXXCPP,;t t
++s,@CXXDEPMODE@,$CXXDEPMODE,;t t
+ s,@LIBTOOL@,$LIBTOOL,;t t
+ s,@WFLAGS@,$WFLAGS,;t t
+ s,@WFLAGS_NOUNUSED@,$WFLAGS_NOUNUSED,;t t
+@@ -26726,8 +30144,10 @@
+ s,@DIR_roken@,$DIR_roken,;t t
+ s,@LIB_roken@,$LIB_roken,;t t
+ s,@INCLUDES_roken@,$INCLUDES_roken,;t t
++s,@DIR_openldap@,$DIR_openldap,;t t
+ s,@INCLUDE_openldap@,$INCLUDE_openldap,;t t
+ s,@LIB_openldap@,$LIB_openldap,;t t
++s,@DIR_krb4@,$DIR_krb4,;t t
+ s,@INCLUDE_krb4@,$INCLUDE_krb4,;t t
+ s,@LIB_krb4@,$LIB_krb4,;t t
+ s,@EXTRA_LIB45@,$EXTRA_LIB45,;t t
+@@ -26755,8 +30175,16 @@
+ s,@CATMAN_TRUE@,$CATMAN_TRUE,;t t
+ s,@CATMAN_FALSE@,$CATMAN_FALSE,;t t
+ s,@CATMANEXT@,$CATMANEXT,;t t
++s,@DIR_readline@,$DIR_readline,;t t
+ s,@INCLUDE_readline@,$INCLUDE_readline,;t t
+ s,@LIB_readline@,$LIB_readline,;t t
++s,@DIR_com_err@,$DIR_com_err,;t t
++s,@INCLUDE_com_err@,$INCLUDE_com_err,;t t
++s,@LIB_com_err@,$LIB_com_err,;t t
++s,@DIR_ss@,$DIR_ss,;t t
++s,@INCLUDE_ss@,$INCLUDE_ss,;t t
++s,@LIB_ss@,$LIB_ss,;t t
++s,@DIR_hesiod@,$DIR_hesiod,;t t
+ s,@INCLUDE_hesiod@,$INCLUDE_hesiod,;t t
+ s,@LIB_hesiod@,$LIB_hesiod,;t t
+ s,@AIX_TRUE@,$AIX_TRUE,;t t
+@@ -26857,33 +30285,27 @@
+   * )   ac_file_in=$ac_file.in ;;
+   esac
+ 
+-  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
+-  ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+-         X"$ac_file" : 'X\(//\)[^/]' \| \
+-         X"$ac_file" : 'X\(//\)$' \| \
+-         X"$ac_file" : 'X\(/\)' \| \
+-         .     : '\(.\)' 2>/dev/null ||
+-echo X"$ac_file" |
+-    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
+-  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
+-  	  /^X\(\/\/\)$/{ s//\1/; q; }
+-  	  /^X\(\/\).*/{ s//\1/; q; }
+-  	  s/.*/./; q'`
++  # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
++  ac_dir=`expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++      X"$ac_file" : 'X\(//\)[^/]' \| \
++      X"$ac_file" : 'X\(//\)$' \| \
++      X"$ac_file" : 'X\(/\)' \| \
++      .   : '\(.\)' 2>/dev/null ||
++echo "X"$ac_file"" | sed '
++	    /^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/p; q; }
++	    /^X\(\/\/\)[^/].*/{ s//\1/p; q; }
++	    /^X\(\/\/\)$/{ s//\1/p; q; }
++	    /^X\(\/\).*/{ s//\1/p; q; }
++	    s/.*/./p; q'`
+   if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
+     { case "$ac_dir" in
+-  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
+-  *)                      as_incr_dir=.;;
++  [\\/]* | ?:[\\/]* ) ac_incr_dir=;;
++  *)                      ac_incr_dir=.;;
+ esac
+-as_dummy="$ac_dir"
+-for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
+-  case $as_mkdir_dir in
+-    # Skip DOS drivespec
+-    ?:) as_incr_dir=$as_mkdir_dir ;;
+-    *)
+-      as_incr_dir=$as_incr_dir/$as_mkdir_dir
+-      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
+-    ;;
+-  esac
++ac_dummy=""$ac_dir""
++for ac_mkdir_dir in `IFS=/; set X $ac_dummy; shift; echo "$@"`; do
++  ac_incr_dir=$ac_incr_dir/$ac_mkdir_dir
++  test -d $ac_incr_dir || mkdir $ac_incr_dir
+ done; }
+ 
+     ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
+@@ -26893,64 +30315,56 @@
+     ac_dir_suffix= ac_dots=
+   fi
+ 
+-  case $srcdir in
+-  .)  ac_srcdir=.
+-      if test -z "$ac_dots"; then
+-         ac_top_srcdir=.
+-      else
+-         ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
+-      fi ;;
++  case $ac_given_srcdir in
++  .)  srcdir=.
++      if test -z "$ac_dots"; then top_srcdir=.
++      else top_srcdir=`echo $ac_dots | sed 's,/$,,'`; fi ;;
+   [\\/]* | ?:[\\/]* )
+-      ac_srcdir=$srcdir$ac_dir_suffix;
+-      ac_top_srcdir=$srcdir ;;
++      srcdir=$ac_given_srcdir$ac_dir_suffix;
++      top_srcdir=$ac_given_srcdir ;;
+   *) # Relative path.
+-    ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
+-    ac_top_srcdir=$ac_dots$srcdir ;;
++    srcdir=$ac_dots$ac_given_srcdir$ac_dir_suffix
++    top_srcdir=$ac_dots$ac_given_srcdir ;;
+   esac
+ 
+-  case $INSTALL in
+-  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
+-  *) ac_INSTALL=$ac_dots$INSTALL ;;
++  case $ac_given_INSTALL in
++  [\\/$]* | ?:[\\/]* ) INSTALL=$ac_given_INSTALL ;;
++  *) INSTALL=$ac_dots$ac_given_INSTALL ;;
+   esac
+ 
+   if test x"$ac_file" != x-; then
+-    { echo "$as_me:26917: creating $ac_file" >&5
+-echo "$as_me: creating $ac_file" >&6;}
++    echo creating $ac_file
+     rm -f "$ac_file"
+   fi
+-  # Let's still pretend it is `configure' which instantiates (i.e., don't
+-  # use $as_me), people would be surprised to read:
+-  #    /* config.h.  Generated automatically by config.status.  */
+   configure_input="Generated automatically from `echo $ac_file_in |
+                                                  sed 's,.*/,,'` by configure."
+ 
++  # Don't redirect the output to AC_FILE directly: use `mv' so that
++  # updating is atomic, and doesn't need trapping.
++
+   # First look for the input files in the build tree, otherwise in the
+   # src tree.
+   ac_file_inputs=`IFS=:
+     for f in $ac_file_in; do
+       case $f in
+       -) echo $tmp/stdin ;;
+-      [\\/$]*)
+-         # Absolute (can't be DOS-style, as IFS=:)
+-         test -f "$f" || { { echo "$as_me:26935: error: cannot find input file: $f" >&5
+-echo "$as_me: error: cannot find input file: $f" >&2;}
+-   { (exit 1); exit 1; }; }
++      [\\/$]* | ?:[\\/]*)
++         # Absolute
++         test -f "$f" || { echo "configure: error: cannot find input file \\\`$f'" >&2; exit 1; }
+          echo $f;;
+       *) # Relative
+          if test -f "$f"; then
+            # Build tree
+            echo $f
+-         elif test -f "$srcdir/$f"; then
++         elif test -f "$ac_given_srcdir/$f"; then
+            # Source tree
+-           echo $srcdir/$f
++           echo $ac_given_srcdir/$f
+          else
+            # /dev/null tree
+-           { { echo "$as_me:26948: error: cannot find input file: $f" >&5
+-echo "$as_me: error: cannot find input file: $f" >&2;}
+-   { (exit 1); exit 1; }; }
++           { echo "configure: error: cannot find input file \\\`$f'" >&2; exit 1; }
+          fi;;
+       esac
+-    done` || { (exit 1); exit 1; }
++    done` || { (exit 1); exit; }
+ EOF
+ cat >>$CONFIG_STATUS <<EOF
+   sed "$ac_vpsub
+@@ -26960,9 +30374,9 @@
+ :t
+ /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
+ s,@configure_input@,$configure_input,;t t
+-s,@srcdir@,$ac_srcdir,;t t
+-s,@top_srcdir@,$ac_top_srcdir,;t t
+-s,@INSTALL@,$ac_INSTALL,;t t
++s,@srcdir@,$srcdir,;t t
++s,@top_srcdir@,$top_srcdir,;t t
++s,@INSTALL@,$INSTALL,;t t
+ " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
+   rm -f $tmp/stdin
+   if test x"$ac_file" != x-; then
+@@ -27006,8 +30420,7 @@
+   * )   ac_file_in=$ac_file.in ;;
+   esac
+ 
+-  test x"$ac_file" != x- && { echo "$as_me:27009: creating $ac_file" >&5
+-echo "$as_me: creating $ac_file" >&6;}
++  test x"$ac_file" != x- && echo creating $ac_file
+ 
+   # First look for the input files in the build tree, otherwise in the
+   # src tree.
+@@ -27015,27 +30428,23 @@
+     for f in $ac_file_in; do
+       case $f in
+       -) echo $tmp/stdin ;;
+-      [\\/$]*)
+-         # Absolute (can't be DOS-style, as IFS=:)
+-         test -f "$f" || { { echo "$as_me:27020: error: cannot find input file: $f" >&5
+-echo "$as_me: error: cannot find input file: $f" >&2;}
+-   { (exit 1); exit 1; }; }
++      [\\/$]* | ?:[\\/]*)
++         # Absolute
++         test -f "$f" || { echo "configure: error: cannot find input file \\\`$f'" >&2; exit 1; }
+          echo $f;;
+       *) # Relative
+          if test -f "$f"; then
+            # Build tree
+            echo $f
+-         elif test -f "$srcdir/$f"; then
++         elif test -f "$ac_given_srcdir/$f"; then
+            # Source tree
+-           echo $srcdir/$f
++           echo $ac_given_srcdir/$f
+          else
+            # /dev/null tree
+-           { { echo "$as_me:27033: error: cannot find input file: $f" >&5
+-echo "$as_me: error: cannot find input file: $f" >&2;}
+-   { (exit 1); exit 1; }; }
++           { echo "configure: error: cannot find input file \\\`$f'" >&2; exit 1; }
+          fi;;
+       esac
+-    done` || { (exit 1); exit 1; }
++    done` || { (exit 1); exit; }
+   # Remove the trailing spaces.
+   sed 's/[ 	]*$//' $ac_file_inputs >$tmp/in
+ 
+@@ -27052,8 +30461,9 @@
+ # Using a here document instead of a string reduces the quoting nightmare.
+ # Putting comments in sed scripts is not portable.
+ #
+-# `end' is used to avoid that the second main sed command (meant for
+-# 0-ary CPP macros) applies to n-ary macro definitions.
++# `cleanup' is used to avoid that the second main sed command (meant for
++# 0-ary CPP macros) applies to n-ary macro definitions.  So we use
++# `t cleanup' to jump over the second main sed command when it succeeded.
+ # See the Autoconf documentation for `clear'.
+ cat >confdef2sed.sed <<\EOF
+ s/[\\&,]/\\&/g
+@@ -27061,13 +30471,13 @@
+ t clear
+ : clear
+ s,^[ 	]*#[ 	]*define[ 	][ 	]*\(\([^ 	(][^ 	(]*\)([^)]*)\)[ 	]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
+-t end
++t cleanup
+ s,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	][^ 	]*\)[ 	]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
+-: end
++: cleanup
+ EOF
+ # If some macros were called several times there might be several times
+ # the same #defines, which is useless.  Nevertheless, we may not want to
+-# sort them, since we want the *last* AC-DEFINE to be honored.
++# sort them, since we want the *last* AC_DEFINE to be honored.
+ uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
+ sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
+ rm -f confdef2sed.sed
+@@ -27135,9 +30545,6 @@
+ rm -f conftest.undefs
+ 
+ cat >>$CONFIG_STATUS <<\EOF
+-  # Let's still pretend it is `configure' which instantiates (i.e., don't
+-  # use $as_me), people would be surprised to read:
+-  #    /* config.h.  Generated automatically by config.status.  */
+   if test x"$ac_file" = x-; then
+     echo "/* Generated automatically by configure.  */" >$tmp/config.h
+   else
+@@ -27147,35 +30554,28 @@
+   rm -f $tmp/in
+   if test x"$ac_file" != x-; then
+     if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
+-      { echo "$as_me:27150: $ac_file is unchanged" >&5
+-echo "$as_me: $ac_file is unchanged" >&6;}
++      echo "$ac_file is unchanged"
+     else
+-      ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+-         X"$ac_file" : 'X\(//\)[^/]' \| \
+-         X"$ac_file" : 'X\(//\)$' \| \
+-         X"$ac_file" : 'X\(/\)' \| \
+-         .     : '\(.\)' 2>/dev/null ||
+-echo X"$ac_file" |
+-    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
+-  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
+-  	  /^X\(\/\/\)$/{ s//\1/; q; }
+-  	  /^X\(\/\).*/{ s//\1/; q; }
+-  	  s/.*/./; q'`
++      ac_dir=`expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++      X"$ac_file" : 'X\(//\)[^/]' \| \
++      X"$ac_file" : 'X\(//\)$' \| \
++      X"$ac_file" : 'X\(/\)' \| \
++      .   : '\(.\)' 2>/dev/null ||
++echo "X"$ac_file"" | sed '
++	    /^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/p; q; }
++	    /^X\(\/\/\)[^/].*/{ s//\1/p; q; }
++	    /^X\(\/\/\)$/{ s//\1/p; q; }
++	    /^X\(\/\).*/{ s//\1/p; q; }
++	    s/.*/./p; q'`
+       if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
+         { case "$ac_dir" in
+-  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
+-  *)                      as_incr_dir=.;;
++  [\\/]* | ?:[\\/]* ) ac_incr_dir=;;
++  *)                      ac_incr_dir=.;;
+ esac
+-as_dummy="$ac_dir"
+-for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
+-  case $as_mkdir_dir in
+-    # Skip DOS drivespec
+-    ?:) as_incr_dir=$as_mkdir_dir ;;
+-    *)
+-      as_incr_dir=$as_incr_dir/$as_mkdir_dir
+-      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
+-    ;;
+-  esac
++ac_dummy=""$ac_dir""
++for ac_mkdir_dir in `IFS=/; set X $ac_dummy; shift; echo "$@"`; do
++  ac_incr_dir=$ac_incr_dir/$ac_mkdir_dir
++  test -d $ac_incr_dir || mkdir $ac_incr_dir
+ done; }
+ 
+       fi
+@@ -27244,28 +30644,13 @@
+ 
+ cat >>$CONFIG_STATUS <<\EOF
+ 
+-{ (exit 0); exit 0; }
++exit 0
+ EOF
+ chmod +x $CONFIG_STATUS
+-ac_clean_files=$ac_clean_files_save
++rm -fr confdefs* $ac_clean_files
++trap 'exit 1' 1 2 15
+ 
+-# configure is writing to config.log, and then calls config.status.
+-# config.status does its own redirection, appending to config.log.
+-# Unfortunately, on DOS this fails, as config.log is still kept open
+-# by configure, so config.status won't be able to write to it; its
+-# output is simply discarded.  So we exec the FD to /dev/null,
+-# effectively closing config.log, so it can be properly (re)opened and
+-# appended to by config.status.  When coming back to configure, we
+-# need to make the FD available again.
+-if test "$no_create" != yes; then
+-  ac_cs_success=:
+-  exec 5>/dev/null
+-  $SHELL $CONFIG_STATUS || ac_cs_success=false
+-  exec 5>>config.log
+-  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
+-  # would make configure fail if this is the last instruction.
+-  $ac_cs_success || { (exit 1); exit 1; }
+-fi
++test "$no_create" = yes || $SHELL $CONFIG_STATUS || exit 1
+ 
+ HEIMDALVERSION="$PACKAGE-$VERSION"
+ 
+diff -ruN heimdal-0.4c-old/doc/Makefile.in heimdal-0.4c/doc/Makefile.in
+--- heimdal-0.4c-old/doc/Makefile.in	Fri Jul 20 05:42:56 2001
++++ heimdal-0.4c/doc/Makefile.in	Sun Jul 29 15:42:55 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,17 +69,21 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+@@ -96,6 +100,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -136,7 +141,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -179,14 +184,20 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -218,7 +229,7 @@
+ GZIP_ENV = --best
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .dvi .info .ps .texi .texinfo .txi
++.SUFFIXES: .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .dvi .et .h .info .ps .texi .texinfo .txi .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign doc/Makefile
+ 
+diff -ruN heimdal-0.4c-old/include/Makefile.in heimdal-0.4c/include/Makefile.in
+--- heimdal-0.4c-old/include/Makefile.in	Fri Jul 20 05:42:24 2001
++++ heimdal-0.4c/include/Makefile.in	Sun Jul 29 15:42:35 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,17 +69,21 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+@@ -96,6 +100,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -136,7 +141,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -179,14 +184,20 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -270,13 +281,12 @@
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+ GZIP_ENV = --best
+-DIST_SUBDIRS =  $(SUBDIRS)
+ SOURCES = bits.c
+ OBJECTS = bits.$(OBJEXT)
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign include/Makefile
+ 
+@@ -407,11 +417,7 @@
+ maintainer-clean-recursive:
+ 	@set fnord $(MAKEFLAGS); amf=$$2; \
+ 	dot_seen=no; \
+-	case "$@" in \
+-	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
+-	  *) list='$(SUBDIRS)' ;; \
+-	esac; \
+-	rev=''; for subdir in $$list; do \
++	rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
+ 	  if test "$$subdir" = "."; then :; else \
+ 	    rev="$$subdir $$rev"; \
+ 	  fi; \
+@@ -461,11 +467,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.4c-old/include/config.h.in heimdal-0.4c/include/config.h.in
+--- heimdal-0.4c-old/include/config.h.in	Fri Jul 20 05:46:27 2001
++++ heimdal-0.4c/include/config.h.in	Sun Jul 29 15:42:32 2001
+@@ -1,8 +1,7 @@
+ /* include/config.h.in.  Generated automatically from configure.in by autoheader.  */
+ 
+ #ifndef RCSID
+-#define RCSID(msg) \
+-static /**/const char *const rcsid[] = { (const char *)rcsid, "\100(#)" msg }
++#define RCSID(msg) static /**/const char *const rcsid[] = { (const char *)rcsid, "\100(#)" msg }
+ #endif
+ 
+ #undef BINDIR 
+@@ -31,6 +30,9 @@
+ /* Define if realloc(NULL) doesn't work. */
+ #undef BROKEN_REALLOC
+ 
++/* Define if you have the com_err package. */
++#undef COM_ERR
++
+ /* Define if you want support for DCE/DFS PAG's. */
+ #undef DCE
+ 
+@@ -107,6 +109,9 @@
+ /* Define if you have the `chown' function. */
+ #undef HAVE_CHOWN
+ 
++/* Define if you have a com_err compatible library. */
++#undef HAVE_COM_ERR
++
+ /* Define if you have the <config.h> header file. */
+ #undef HAVE_CONFIG_H
+ 
+@@ -399,9 +404,6 @@
+ /* Define if you have the `memmove' function. */
+ #undef HAVE_MEMMOVE
+ 
+-/* Define if you have the <memory.h> header file. */
+-#undef HAVE_MEMORY_H
+-
+ /* Define if you have the `mkstemp' function. */
+ #undef HAVE_MKSTEMP
+ 
+@@ -636,12 +638,12 @@
+ /* Define if the system has the type `socklen_t'. */
+ #undef HAVE_SOCKLEN_T
+ 
++/* Define if you have a ss compatible library. */
++#undef HAVE_SS
++
+ /* Define if you have the <standards.h> header file. */
+ #undef HAVE_STANDARDS_H
+ 
+-/* Define if you have the <stdlib.h> header file. */
+-#undef HAVE_STDLIB_H
+-
+ /* Define if you have the `strcasecmp' function. */
+ #undef HAVE_STRCASECMP
+ 
+@@ -654,12 +656,6 @@
+ /* Define if you have the `strftime' function. */
+ #undef HAVE_STRFTIME
+ 
+-/* Define if you have the <strings.h> header file. */
+-#undef HAVE_STRINGS_H
+-
+-/* Define if you have the <string.h> header file. */
+-#undef HAVE_STRING_H
+-
+ /* Define if you have the `strlcat' function. */
+ #undef HAVE_STRLCAT
+ 
+@@ -1128,6 +1124,9 @@
+ 
+ /* Define as the return type of signal handlers (`int' or `void'). */
+ #undef RETSIGTYPE
++
++/* Define if you have the ss package. */
++#undef SS
+ 
+ /* Define if you have the ANSI C header files. */
+ #undef STDC_HEADERS
+diff -ruN heimdal-0.4c-old/include/kadm5/Makefile.in heimdal-0.4c/include/kadm5/Makefile.in
+--- heimdal-0.4c-old/include/kadm5/Makefile.in	Fri Jul 20 05:42:25 2001
++++ heimdal-0.4c/include/kadm5/Makefile.in	Sun Jul 29 15:42:36 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,17 +69,21 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+@@ -96,6 +100,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -136,7 +141,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -179,14 +184,20 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -213,7 +224,7 @@
+ GZIP_ENV = --best
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
++.SUFFIXES: .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .et .h .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign include/kadm5/Makefile
+ 
+diff -ruN heimdal-0.4c-old/kadmin/Makefile.in heimdal-0.4c/kadmin/Makefile.in
+--- heimdal-0.4c-old/kadmin/Makefile.in	Fri Jul 20 05:42:41 2001
++++ heimdal-0.4c/kadmin/Makefile.in	Sun Jul 29 15:42:46 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,17 +69,21 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+@@ -96,6 +100,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -130,13 +135,13 @@
+ 
+ SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+ 
+-INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) $(INCLUDE_readline) $(INCLUDE_krb4) -I$(srcdir)/../lib/krb5
++INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) $(INCLUDE_readline) $(INCLUDE_krb4) $(INCLUDE_ss) -I$(srcdir)/../lib/krb5
+ 
+ AM_CFLAGS =  $(WFLAGS)
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -179,14 +184,20 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -253,7 +264,7 @@
+ kadmin_LDADD = \
+ 	$(top_builddir)/lib/kadm5/libkadm5clnt.la \
+ 	$(top_builddir)/lib/kadm5/libkadm5srv.la \
+-	$(top_builddir)/lib/sl/libsl.la \
++	$(LIB_ss) \
+ 	$(LIB_readline) \
+ 	$(COMMON_LDADD) \
+ 	$(LIB_dlopen)
+@@ -297,8 +308,8 @@
+ kadmin_OBJECTS =  $(am_kadmin_OBJECTS)
+ kadmin_DEPENDENCIES =  $(top_builddir)/lib/kadm5/libkadm5clnt.la \
+ $(top_builddir)/lib/kadm5/libkadm5srv.la \
+-$(top_builddir)/lib/sl/libsl.la $(top_builddir)/lib/hdb/libhdb.la \
+-$(top_builddir)/lib/krb5/libkrb5.la $(top_builddir)/lib/asn1/libasn1.la
++$(top_builddir)/lib/hdb/libhdb.la $(top_builddir)/lib/krb5/libkrb5.la \
++$(top_builddir)/lib/asn1/libasn1.la
+ kadmin_LDFLAGS = 
+ @KRB4_FALSE@am_kadmind_OBJECTS =  kadmind.$(OBJEXT) server.$(OBJEXT) \
+ @KRB4_FALSE@kadm_conn.$(OBJEXT)
+@@ -337,7 +348,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign kadmin/Makefile
+ 
+@@ -514,11 +525,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.4c-old/kdc/Makefile.in heimdal-0.4c/kdc/Makefile.in
+--- heimdal-0.4c-old/kdc/Makefile.in	Fri Jul 20 05:42:43 2001
++++ heimdal-0.4c/kdc/Makefile.in	Sun Jul 29 15:42:47 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,17 +69,21 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+@@ -96,6 +100,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -136,7 +141,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -179,14 +184,20 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -325,7 +336,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign kdc/Makefile
+ 
+@@ -529,11 +540,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.4c-old/kpasswd/Makefile.in heimdal-0.4c/kpasswd/Makefile.in
+--- heimdal-0.4c-old/kpasswd/Makefile.in	Fri Jul 20 05:42:40 2001
++++ heimdal-0.4c/kpasswd/Makefile.in	Sun Jul 29 15:42:45 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,17 +69,21 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+@@ -96,6 +100,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -136,7 +141,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -179,14 +184,20 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -277,7 +288,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign kpasswd/Makefile
+ 
+@@ -489,11 +500,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.4c-old/kuser/Makefile.in heimdal-0.4c/kuser/Makefile.in
+--- heimdal-0.4c-old/kuser/Makefile.in	Fri Jul 20 05:42:40 2001
++++ heimdal-0.4c/kuser/Makefile.in	Sun Jul 29 15:42:45 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,17 +69,21 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+@@ -96,6 +100,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -136,7 +141,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -179,14 +184,20 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -319,7 +330,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign kuser/Makefile
+ 
+@@ -488,11 +499,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.4c-old/lib/45/Makefile.in heimdal-0.4c/lib/45/Makefile.in
+--- heimdal-0.4c-old/lib/45/Makefile.in	Fri Jul 20 05:42:26 2001
++++ heimdal-0.4c/lib/45/Makefile.in	Sun Jul 29 15:42:36 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,17 +69,21 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+@@ -96,6 +100,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -136,7 +141,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -179,14 +184,20 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -235,7 +246,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/45/Makefile
+ 
+@@ -332,11 +343,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.4c-old/lib/Makefile.in heimdal-0.4c/lib/Makefile.in
+--- heimdal-0.4c-old/lib/Makefile.in	Fri Jul 20 05:42:25 2001
++++ heimdal-0.4c/lib/Makefile.in	Sun Jul 29 15:42:36 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,17 +69,21 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+@@ -96,6 +100,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -136,7 +141,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -179,14 +184,20 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -197,7 +208,7 @@
+ @OTP_TRUE@dir_otp = @OTP_TRUE@otp
+ @DCE_TRUE@dir_dce = @DCE_TRUE@kdfs
+ 
+-SUBDIRS = @DIR_roken@ vers editline com_err sl asn1 @DIR_des@ krb5 \
++SUBDIRS = @DIR_roken@ vers @DIR_readline@ @DIR_com_err@ @DIR_ss@ asn1 @DIR_des@ krb5 \
+ 	kafs hdb kadm5 gssapi auth $(dir_45) $(dir_otp) $(dir_dce)
+ 
+ subdir = lib
+@@ -217,11 +228,11 @@
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+ GZIP_ENV = --best
+-DIST_SUBDIRS =  @DIR_roken@ vers editline com_err sl asn1 @DIR_des@ krb5 \
+-kafs hdb kadm5 gssapi auth 45 otp kdfs
++DIST_SUBDIRS =  @DIR_roken@ vers @DIR_readline@ @DIR_com_err@ @DIR_ss@ \
++asn1 @DIR_des@ krb5 kafs hdb kadm5 gssapi auth 45 otp kdfs
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
++.SUFFIXES: .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .et .h .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/Makefile
+ 
+@@ -262,11 +273,7 @@
+ maintainer-clean-recursive:
+ 	@set fnord $(MAKEFLAGS); amf=$$2; \
+ 	dot_seen=no; \
+-	case "$@" in \
+-	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
+-	  *) list='$(SUBDIRS)' ;; \
+-	esac; \
+-	rev=''; for subdir in $$list; do \
++	rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
+ 	  if test "$$subdir" = "."; then :; else \
+ 	    rev="$$subdir $$rev"; \
+ 	  fi; \
+@@ -316,11 +323,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.4c-old/lib/asn1/Makefile.in heimdal-0.4c/lib/asn1/Makefile.in
+--- heimdal-0.4c-old/lib/asn1/Makefile.in	Fri Jul 20 05:42:28 2001
++++ heimdal-0.4c/lib/asn1/Makefile.in	Sun Jul 29 15:42:37 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,17 +69,21 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+@@ -96,6 +100,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -136,7 +141,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -179,14 +184,20 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -383,7 +394,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .l .lo .o .obj .y
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .l .lo .o .obj .x .y
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/asn1/Makefile
+ 
+@@ -529,11 +540,6 @@
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+ 
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+ mostlyclean-tags:
+ 
+ clean-tags:
+@@ -622,9 +628,6 @@
+ check: check-am
+ installcheck-am:
+ installcheck: installcheck-am
+-all-recursive-am: $(BUILT_SOURCES)
+-	$(MAKE) $(AM_MAKEFLAGS) all-recursive
+-
+ install-exec-am: install-libLTLIBRARIES
+ 	@$(NORMAL_INSTALL)
+ 	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+@@ -701,12 +704,12 @@
+ maintainer-clean-noinstPROGRAMS uninstall-includeHEADERS \
+ install-includeHEADERS tags mostlyclean-tags distclean-tags clean-tags \
+ maintainer-clean-tags check-TESTS distdir info-am info dvi-am dvi \
+-check-local check check-am installcheck-am installcheck \
+-all-recursive-am install-exec-am install-exec install-data-local \
+-install-data-am install-data install-am install uninstall-am uninstall \
+-all-local all-redirect all-am all install-strip installdirs \
+-mostlyclean-generic distclean-generic clean-generic \
+-maintainer-clean-generic clean mostlyclean distclean maintainer-clean
++check-local check check-am installcheck-am installcheck install-exec-am \
++install-exec install-data-local install-data-am install-data install-am \
++install uninstall-am uninstall all-local all-redirect all-am all \
++install-strip installdirs mostlyclean-generic distclean-generic \
++clean-generic maintainer-clean-generic clean mostlyclean distclean \
++maintainer-clean
+ 
+ 
+ install-suid-programs:
+diff -ruN heimdal-0.4c-old/lib/auth/Makefile.in heimdal-0.4c/lib/auth/Makefile.in
+--- heimdal-0.4c-old/lib/auth/Makefile.in	Fri Jul 20 05:42:26 2001
++++ heimdal-0.4c/lib/auth/Makefile.in	Sun Jul 29 15:42:36 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,17 +69,21 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+@@ -96,6 +100,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -136,7 +141,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -179,14 +184,20 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -214,7 +225,7 @@
+ GZIP_ENV = --best
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
++.SUFFIXES: .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .et .h .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/auth/Makefile
+ 
+@@ -255,11 +266,7 @@
+ maintainer-clean-recursive:
+ 	@set fnord $(MAKEFLAGS); amf=$$2; \
+ 	dot_seen=no; \
+-	case "$@" in \
+-	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
+-	  *) list='$(SUBDIRS)' ;; \
+-	esac; \
+-	rev=''; for subdir in $$list; do \
++	rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
+ 	  if test "$$subdir" = "."; then :; else \
+ 	    rev="$$subdir $$rev"; \
+ 	  fi; \
+@@ -309,11 +316,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.4c-old/lib/auth/afskauthlib/Makefile.in heimdal-0.4c/lib/auth/afskauthlib/Makefile.in
+--- heimdal-0.4c-old/lib/auth/afskauthlib/Makefile.in	Fri Jul 20 05:42:26 2001
++++ heimdal-0.4c/lib/auth/afskauthlib/Makefile.in	Sun Jul 29 15:42:37 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,17 +69,21 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+@@ -96,6 +100,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -136,7 +141,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -179,14 +184,20 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -240,7 +251,7 @@
+ GZIP_ENV = --best
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .o
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .o .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/auth/afskauthlib/Makefile
+ 
+diff -ruN heimdal-0.4c-old/lib/auth/pam/Makefile.in heimdal-0.4c/lib/auth/pam/Makefile.in
+--- heimdal-0.4c-old/lib/auth/pam/Makefile.in	Fri Jul 20 05:42:27 2001
++++ heimdal-0.4c/lib/auth/pam/Makefile.in	Sun Jul 29 15:42:37 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,17 +69,21 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+@@ -96,6 +100,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -136,7 +141,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -179,14 +184,20 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -211,7 +222,7 @@
+ GZIP_ENV = --best
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
++.SUFFIXES: .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .et .h .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/auth/pam/Makefile
+ 
+diff -ruN heimdal-0.4c-old/lib/auth/sia/Makefile.in heimdal-0.4c/lib/auth/sia/Makefile.in
+--- heimdal-0.4c-old/lib/auth/sia/Makefile.in	Fri Jul 20 05:42:27 2001
++++ heimdal-0.4c/lib/auth/sia/Makefile.in	Sun Jul 29 15:42:37 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,17 +69,21 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+@@ -96,6 +100,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -135,7 +140,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -178,14 +183,20 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -275,7 +286,7 @@
+ GZIP_ENV = --best
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .o
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .o .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/auth/sia/Makefile
+ 
+diff -ruN heimdal-0.4c-old/lib/com_err/Makefile.in heimdal-0.4c/lib/com_err/Makefile.in
+--- heimdal-0.4c-old/lib/com_err/Makefile.in	Fri Jul 20 05:42:29 2001
++++ heimdal-0.4c/lib/com_err/Makefile.in	Sun Jul 29 15:42:38 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,17 +69,21 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+@@ -96,6 +100,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -136,7 +141,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -179,14 +184,20 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -259,7 +270,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .l .lo .o .obj .y
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .l .lo .o .obj .x .y
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/com_err/Makefile
+ 
+@@ -406,11 +417,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.4c-old/lib/des/Makefile.in heimdal-0.4c/lib/des/Makefile.in
+--- heimdal-0.4c-old/lib/des/Makefile.in	Fri Jul 20 05:42:29 2001
++++ heimdal-0.4c/lib/des/Makefile.in	Sun Jul 29 15:42:38 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,17 +69,21 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+@@ -96,6 +100,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -136,7 +141,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -179,14 +184,20 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -364,7 +375,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/des/Makefile
+ 
+@@ -523,11 +534,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.4c-old/lib/editline/Makefile.in heimdal-0.4c/lib/editline/Makefile.in
+--- heimdal-0.4c-old/lib/editline/Makefile.in	Fri Jul 20 05:42:30 2001
++++ heimdal-0.4c/lib/editline/Makefile.in	Sun Jul 29 15:42:39 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,17 +69,21 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+@@ -96,6 +100,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -136,7 +141,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -179,14 +184,20 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -222,13 +233,13 @@
+ 	$(EXTRA_SOURCE)
+ 
+ 
+-libeditline_la_LDFLAGS = -static
++libeditline_la_LDFLAGS = -no-undefined
+ 
+ EXTRA_SOURCE = $(ES) 
+ 
+ libel_compat_la_SOURCES = edit_compat.c
+ 
+-libel_compat_la_LDFLAGS = -static
++libel_compat_la_LDFLAGS = -no-undefined
+ 
+ EXTRA_DIST = $(man_MANS)
+ subdir = lib/editline
+@@ -285,7 +296,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/editline/Makefile
+ 
+@@ -457,11 +468,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.4c-old/lib/gssapi/Makefile.in heimdal-0.4c/lib/gssapi/Makefile.in
+--- heimdal-0.4c-old/lib/gssapi/Makefile.in	Fri Jul 20 05:42:31 2001
++++ heimdal-0.4c/lib/gssapi/Makefile.in	Sun Jul 29 15:42:39 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,17 +69,21 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+@@ -96,6 +100,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -136,7 +141,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -179,14 +184,20 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -286,7 +297,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/gssapi/Makefile
+ 
+@@ -392,11 +403,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.4c-old/lib/hdb/Makefile.in heimdal-0.4c/lib/hdb/Makefile.in
+--- heimdal-0.4c-old/lib/hdb/Makefile.in	Fri Jul 20 05:42:31 2001
++++ heimdal-0.4c/lib/hdb/Makefile.in	Sun Jul 29 15:42:40 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,17 +69,21 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+@@ -96,6 +100,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -136,7 +141,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -179,14 +184,20 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -280,7 +291,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/hdb/Makefile
+ 
+@@ -400,11 +411,6 @@
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+ 
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+ mostlyclean-tags:
+ 
+ clean-tags:
+@@ -438,9 +444,6 @@
+ check: check-am
+ installcheck-am:
+ installcheck: installcheck-am
+-all-recursive-am: $(BUILT_SOURCES)
+-	$(MAKE) $(AM_MAKEFLAGS) all-recursive
+-
+ install-exec-am: install-libLTLIBRARIES
+ 	@$(NORMAL_INSTALL)
+ 	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+@@ -512,12 +515,11 @@
+ maintainer-clean-noinstPROGRAMS uninstall-includeHEADERS \
+ install-includeHEADERS tags mostlyclean-tags distclean-tags clean-tags \
+ maintainer-clean-tags distdir info-am info dvi-am dvi check-local check \
+-check-am installcheck-am installcheck all-recursive-am install-exec-am \
+-install-exec install-data-local install-data-am install-data install-am \
+-install uninstall-am uninstall all-local all-redirect all-am all \
+-install-strip installdirs mostlyclean-generic distclean-generic \
+-clean-generic maintainer-clean-generic clean mostlyclean distclean \
+-maintainer-clean
++check-am installcheck-am installcheck install-exec-am install-exec \
++install-data-local install-data-am install-data install-am install \
++uninstall-am uninstall all-local all-redirect all-am all install-strip \
++installdirs mostlyclean-generic distclean-generic clean-generic \
++maintainer-clean-generic clean mostlyclean distclean maintainer-clean
+ 
+ 
+ install-suid-programs:
+diff -ruN heimdal-0.4c-old/lib/kadm5/Makefile.in heimdal-0.4c/lib/kadm5/Makefile.in
+--- heimdal-0.4c-old/lib/kadm5/Makefile.in	Fri Jul 20 05:42:32 2001
++++ heimdal-0.4c/lib/kadm5/Makefile.in	Sun Jul 29 15:42:40 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,17 +69,21 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+@@ -96,6 +100,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -136,7 +141,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -179,14 +184,20 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -383,7 +394,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/kadm5/Makefile
+ 
+@@ -568,11 +579,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.4c-old/lib/kafs/Makefile.in heimdal-0.4c/lib/kafs/Makefile.in
+--- heimdal-0.4c-old/lib/kafs/Makefile.in	Fri Jul 20 05:42:34 2001
++++ heimdal-0.4c/lib/kafs/Makefile.in	Sun Jul 29 15:42:41 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,17 +69,21 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+@@ -96,6 +100,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -136,7 +141,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -179,14 +184,20 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -620,7 +631,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/kafs/Makefile
+ 
+@@ -785,11 +796,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.4c-old/lib/kdfs/Makefile.in heimdal-0.4c/lib/kdfs/Makefile.in
+--- heimdal-0.4c-old/lib/kdfs/Makefile.in	Fri Jul 20 05:42:35 2001
++++ heimdal-0.4c/lib/kdfs/Makefile.in	Sun Jul 29 15:42:41 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,17 +69,21 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+@@ -96,6 +100,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -136,7 +141,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -179,14 +184,20 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -235,7 +246,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/kdfs/Makefile
+ 
+@@ -323,11 +334,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.4c-old/lib/krb5/Makefile.in heimdal-0.4c/lib/krb5/Makefile.in
+--- heimdal-0.4c-old/lib/krb5/Makefile.in	Fri Jul 20 05:42:36 2001
++++ heimdal-0.4c/lib/krb5/Makefile.in	Sun Jul 29 15:42:42 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,17 +69,21 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+@@ -96,6 +100,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -136,7 +141,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -179,14 +184,20 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -200,17 +211,15 @@
+ check_PROGRAMS = n-fold-test string-to-key-test derived-key-test store-test
+ TESTS = n-fold-test string-to-key-test derived-key-test store-test 
+ 
+-LDADD = libkrb5.la \
+-	$(LIB_des) \
+-	$(top_builddir)/lib/asn1/libasn1.la \
+-	$(LIB_roken)
+-
++LDADD = libkrb5.la
+ 
+ libkrb5_la_LIBADD = \
+-	../com_err/error.lo ../com_err/com_err.lo \
++	$(LIB_res_search) \
++	$(top_builddir)/lib/com_err/libcom_err.la \
+ 	$(LIB_des) \
+ 	$(top_builddir)/lib/asn1/libasn1.la \
+-	$(LIB_roken)
++	$(LIB_roken) \
++	$(LIB_dbopen)
+ 
+ 
+ lib_LTLIBRARIES = libkrb5.la
+@@ -360,7 +369,7 @@
+ X_LIBS = @X_LIBS@
+ X_EXTRA_LIBS = @X_EXTRA_LIBS@
+ X_PRE_LIBS = @X_PRE_LIBS@
+-libkrb5_la_DEPENDENCIES =  ../com_err/error.lo ../com_err/com_err.lo \
++libkrb5_la_DEPENDENCIES =  $(top_builddir)/lib/com_err/libcom_err.la \
+ $(top_builddir)/lib/asn1/libasn1.la
+ am_libkrb5_la_OBJECTS =  acl.lo add_et_list.lo addr_families.lo \
+ aname_to_localname.lo appdefault.lo asn1_glue.lo auth_context.lo \
+@@ -394,50 +403,42 @@
+ derived_key_test_SOURCES = derived-key-test.c
+ derived_key_test_OBJECTS =  derived-key-test.$(OBJEXT)
+ derived_key_test_LDADD = $(LDADD)
+-derived_key_test_DEPENDENCIES =  libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
++derived_key_test_DEPENDENCIES =  libkrb5.la
+ derived_key_test_LDFLAGS = 
+ dump_config_SOURCES = dump_config.c
+ dump_config_OBJECTS =  dump_config.$(OBJEXT)
+ dump_config_LDADD = $(LDADD)
+-dump_config_DEPENDENCIES =  libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
++dump_config_DEPENDENCIES =  libkrb5.la
+ dump_config_LDFLAGS = 
+ krbhst_test_SOURCES = krbhst-test.c
+ krbhst_test_OBJECTS =  krbhst-test.$(OBJEXT)
+ krbhst_test_LDADD = $(LDADD)
+-krbhst_test_DEPENDENCIES =  libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
++krbhst_test_DEPENDENCIES =  libkrb5.la
+ krbhst_test_LDFLAGS = 
+ n_fold_test_SOURCES = n-fold-test.c
+ n_fold_test_OBJECTS =  n-fold-test.$(OBJEXT)
+ n_fold_test_LDADD = $(LDADD)
+-n_fold_test_DEPENDENCIES =  libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
++n_fold_test_DEPENDENCIES =  libkrb5.la
+ n_fold_test_LDFLAGS = 
+ store_test_SOURCES = store-test.c
+ store_test_OBJECTS =  store-test.$(OBJEXT)
+ store_test_LDADD = $(LDADD)
+-store_test_DEPENDENCIES =  libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
++store_test_DEPENDENCIES =  libkrb5.la
+ store_test_LDFLAGS = 
+ string_to_key_test_SOURCES = string-to-key-test.c
+ string_to_key_test_OBJECTS =  string-to-key-test.$(OBJEXT)
+ string_to_key_test_LDADD = $(LDADD)
+-string_to_key_test_DEPENDENCIES =  libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
++string_to_key_test_DEPENDENCIES =  libkrb5.la
+ string_to_key_test_LDFLAGS = 
+ test_get_addrs_SOURCES = test_get_addrs.c
+ test_get_addrs_OBJECTS =  test_get_addrs.$(OBJEXT)
+ test_get_addrs_LDADD = $(LDADD)
+-test_get_addrs_DEPENDENCIES =  libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
++test_get_addrs_DEPENDENCIES =  libkrb5.la
+ test_get_addrs_LDFLAGS = 
+ verify_krb5_conf_SOURCES = verify_krb5_conf.c
+ verify_krb5_conf_OBJECTS =  verify_krb5_conf.$(OBJEXT)
+ verify_krb5_conf_LDADD = $(LDADD)
+-verify_krb5_conf_DEPENDENCIES =  libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
++verify_krb5_conf_DEPENDENCIES =  libkrb5.la
+ verify_krb5_conf_LDFLAGS = 
+ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+@@ -465,7 +466,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/krb5/Makefile
+ 
+@@ -760,11 +761,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.4c-old/lib/otp/Makefile.in heimdal-0.4c/lib/otp/Makefile.in
+--- heimdal-0.4c-old/lib/otp/Makefile.in	Fri Jul 20 05:42:36 2001
++++ heimdal-0.4c/lib/otp/Makefile.in	Sun Jul 29 15:42:43 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,17 +69,21 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+@@ -96,6 +100,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -136,7 +141,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -179,14 +184,20 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -264,7 +275,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/otp/Makefile
+ 
+@@ -383,11 +394,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.4c-old/lib/roken/Makefile.in heimdal-0.4c/lib/roken/Makefile.in
+--- heimdal-0.4c-old/lib/roken/Makefile.in	Fri Jul 20 05:46:33 2001
++++ heimdal-0.4c/lib/roken/Makefile.in	Sun Jul 29 15:42:43 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,17 +69,21 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+@@ -96,6 +100,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -398,7 +403,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .hin .c .h .lo .o .obj
++.SUFFIXES: .c .h .hin .lo .o .obj
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/roken/Makefile
+ 
+@@ -569,11 +574,6 @@
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+ 
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+ mostlyclean-tags:
+ 
+ clean-tags:
+@@ -661,9 +661,6 @@
+ check: check-am
+ installcheck-am:
+ installcheck: installcheck-am
+-all-recursive-am: $(BUILT_SOURCES)
+-	$(MAKE) $(AM_MAKEFLAGS) all-recursive
+-
+ install-exec-am: install-libLTLIBRARIES
+ install-exec: install-exec-am
+ 
+@@ -741,9 +738,9 @@
+ install-includeHEADERS uninstall-nodist_includeHEADERS \
+ install-nodist_includeHEADERS tags mostlyclean-tags distclean-tags \
+ clean-tags maintainer-clean-tags check-TESTS 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 install-strip \
++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 install-strip \
+ installdirs mostlyclean-generic distclean-generic clean-generic \
+ maintainer-clean-generic clean mostlyclean distclean maintainer-clean
+ 
+diff -ruN heimdal-0.4c-old/lib/sl/Makefile.in heimdal-0.4c/lib/sl/Makefile.in
+--- heimdal-0.4c-old/lib/sl/Makefile.in	Fri Jul 20 05:42:38 2001
++++ heimdal-0.4c/lib/sl/Makefile.in	Sun Jul 29 15:42:44 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,17 +69,21 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+@@ -96,6 +100,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -136,7 +141,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -179,14 +184,20 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -198,8 +209,6 @@
+ 
+ YFLAGS = -d
+ 
+-include_HEADERS = sl.h
+-
+ lib_LTLIBRARIES = libsl.la libss.la
+ libsl_la_LDFLAGS = -version-info 1:2:1
+ libss_la_LDFLAGS = -version-info 1:4:1
+@@ -217,7 +226,8 @@
+ mk_cmds_SOURCES = make_cmds.c make_cmds.h parse.y lex.l $(ES)
+ 
+ ssincludedir = $(includedir)/ss
+-ssinclude_HEADERS = ss.h
++buildssinclude = $(buildinclude)/ss
++ssinclude_HEADERS = sl.h ss.h
+ 
+ CLEANFILES = lex.c parse.c parse.h snprintf.c strtok_r.c strdup.c strupr.c getprogname.c
+ 
+@@ -271,11 +281,11 @@
+ LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+ DIST_SOURCES =  $(libsl_la_SOURCES) $(libss_la_SOURCES) \
+ $(mk_cmds_SOURCES)
+-HEADERS =  $(include_HEADERS) $(ssinclude_HEADERS)
++HEADERS =  $(ssinclude_HEADERS)
+ 
+ depcomp = 
+-DIST_COMMON =  $(include_HEADERS) $(ssinclude_HEADERS) ChangeLog \
+-Makefile.am Makefile.in lex.c parse.c parse.h
++DIST_COMMON =  $(ssinclude_HEADERS) ChangeLog Makefile.am Makefile.in \
++lex.c parse.c parse.h
+ 
+ 
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+@@ -286,7 +296,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .l .lo .o .obj .y
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .l .lo .o .obj .x .y
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/sl/Makefile
+ 
+@@ -395,24 +405,6 @@
+ parse.h: parse.c
+ 
+ 
+-install-includeHEADERS: $(include_HEADERS)
+-	@$(NORMAL_INSTALL)
+-	$(mkinstalldirs) $(DESTDIR)$(includedir)
+-	@list='$(include_HEADERS)'; for p in $$list; do \
+-	  if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
+-	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
+-	  $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f; \
+-	done
+-
+-uninstall-includeHEADERS:
+-	@$(NORMAL_UNINSTALL)
+-	@list='$(include_HEADERS)'; for p in $$list; do \
+-	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " rm -f $(DESTDIR)$(includedir)/$$f"; \
+-	  rm -f $(DESTDIR)$(includedir)/$$f; \
+-	done
+-
+ install-ssincludeHEADERS: $(ssinclude_HEADERS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(ssincludedir)
+@@ -455,11 +447,6 @@
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+ 
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+ mostlyclean-tags:
+ 
+ clean-tags:
+@@ -500,15 +487,14 @@
+ 	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+ install-exec: install-exec-am
+ 
+-install-data-am: install-includeHEADERS install-ssincludeHEADERS \
+-		install-data-local
++install-data-am: install-ssincludeHEADERS install-data-local
+ install-data: install-data-am
+ 
+ install-am: all-am
+ 	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+ uninstall-am: uninstall-libLTLIBRARIES uninstall-binPROGRAMS \
+-		uninstall-includeHEADERS uninstall-ssincludeHEADERS
++		uninstall-ssincludeHEADERS
+ uninstall: uninstall-am
+ all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(HEADERS) all-local
+ all-redirect: all-am
+@@ -516,7 +502,7 @@
+ 	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+ installdirs:
+ 	$(mkinstalldirs)  $(DESTDIR)$(libdir) $(DESTDIR)$(bindir) \
+-		$(DESTDIR)$(includedir) $(DESTDIR)$(ssincludedir)
++		$(DESTDIR)$(ssincludedir)
+ 
+ 
+ mostlyclean-generic:
+@@ -566,9 +552,8 @@
+ mostlyclean-libtool distclean-libtool clean-libtool \
+ maintainer-clean-libtool mostlyclean-binPROGRAMS distclean-binPROGRAMS \
+ clean-binPROGRAMS maintainer-clean-binPROGRAMS uninstall-binPROGRAMS \
+-install-binPROGRAMS uninstall-includeHEADERS install-includeHEADERS \
+-uninstall-ssincludeHEADERS install-ssincludeHEADERS tags \
+-mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
++install-binPROGRAMS uninstall-ssincludeHEADERS install-ssincludeHEADERS \
++tags mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
+ distdir info-am info dvi-am dvi check-local check check-am \
+ installcheck-am installcheck install-exec-am install-exec \
+ install-data-local install-data-am install-data install-am install \
+@@ -704,6 +689,19 @@
+ 	  echo "$$dashes"; \
+ 	  test "$$failed" -eq 0; \
+ 	fi
++
++install-build-headers:: $(ssinclude_HEADERS)
++	@foo='$(ssinclude_HEADERS)'; \
++	for f in $$foo; do \
++		f=`basename $$f`; \
++		if test -f "$(srcdir)/$$f"; then file="$(srcdir)/$$f"; \
++		else file="$$f"; fi; \
++		if cmp -s  $$file $(buildssinclude)/$$f 2> /dev/null ; then \
++		: ; else \
++			echo "cp $$file $(buildssinclude)/$$f";\
++			cp $$file $(buildssinclude)/$$f; \
++		fi ; \
++	done
+ 
+ $(mk_cmds_OBJECTS): parse.h
+ 
+diff -ruN heimdal-0.4c-old/lib/vers/Makefile.in heimdal-0.4c/lib/vers/Makefile.in
+--- heimdal-0.4c-old/lib/vers/Makefile.in	Fri Jul 20 05:42:39 2001
++++ heimdal-0.4c/lib/vers/Makefile.in	Sun Jul 29 15:42:44 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,17 +69,21 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+@@ -96,6 +100,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -136,7 +141,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -179,14 +184,20 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -204,6 +215,7 @@
+ @KRB4_TRUE@@KRB5_TRUE@make_print_version_LDADD = @KRB4_TRUE@@KRB5_TRUE@ $(LIB_krb4) -ldes
+ 
+ libvers_la_SOURCES = print_version.c
++libvers_la_LDFLAGS = -no-undefined
+ subdir = lib/vers
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+ CONFIG_HEADER = ../../include/config.h
+@@ -218,7 +230,6 @@
+ X_LIBS = @X_LIBS@
+ X_EXTRA_LIBS = @X_EXTRA_LIBS@
+ X_PRE_LIBS = @X_PRE_LIBS@
+-libvers_la_LDFLAGS = 
+ libvers_la_LIBADD = 
+ am_libvers_la_OBJECTS =  print_version.lo
+ libvers_la_OBJECTS =  $(am_libvers_la_OBJECTS)
+@@ -247,7 +258,7 @@
+ 
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
++.SUFFIXES: .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/vers/Makefile
+ 
+@@ -331,11 +342,6 @@
+ 	       END { for (i in files) print i; }'`; \
+ 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+ 	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+-
+-GTAGS:
+-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+-	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+ 
+ mostlyclean-tags:
+ 
+diff -ruN heimdal-0.4c-old/ltmain.sh heimdal-0.4c/ltmain.sh
+--- heimdal-0.4c-old/ltmain.sh	Sun Jun 24 08:27:51 2001
++++ heimdal-0.4c/ltmain.sh	Sun Jul 29 15:41:37 2001
+@@ -55,8 +55,8 @@
+ # Constants.
+ PROGRAM=ltmain.sh
+ PACKAGE=libtool
+-VERSION=1.4
+-TIMESTAMP=" (1.920 2001/04/24 23:26:18)"
++VERSION=1.4b
++TIMESTAMP=" (1.970 2001/07/09 21:36:00)"
+ 
+ default_mode=
+ help="Try \`$progname --help' for more information."
+@@ -119,6 +119,33 @@
+     execute_dlfiles)
+       execute_dlfiles="$execute_dlfiles $arg"
+       ;;
++    tag)
++      tagname="$arg"
++
++      # Check whether tagname contains only valid characters
++      case $tagname in
++      *[!-_A-Za-z0-9,/]*)
++	echo "$progname: invalid tag name: $tagname" 1>&2
++	exit 1
++        ;;
++      esac
++
++      case $tagname in
++      CC)
++	# Don't test for the "default" C tag, as we know, it's there, but
++	# not specially marked.
++	;;
++      *)
++        if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "$0" > /dev/null; then
++          taglist="$taglist $tagname"
++	  # Evaluate the configuration.
++	  eval "`sed -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$tagname'$/,/^# ### END LIBTOOL TAG CONFIG: '$tagname'$/p' < $0`"
++        else
++	  echo "$progname: ignoring unknown tag $tagname" 1>&2
++        fi
++        ;;
++      esac
++      ;;
+     *)
+       eval "$prev=\$arg"
+       ;;
+@@ -137,11 +164,20 @@
+ 
+   --version)
+     echo "$PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP"
++    echo
++    echo "Copyright 1996, 1997, 1998, 1999, 2000, 2001"
++    echo "Free Software Foundation, Inc."
++    echo "This is free software; see the source for copying conditions.  There is NO"
++    echo "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
+     exit 0
+     ;;
+ 
+   --config)
+     sed -e '1,/^# ### BEGIN LIBTOOL CONFIG/d' -e '/^# ### END LIBTOOL CONFIG/,$d' $0
++    # Now print the configurations for the tags.
++    for tagname in $taglist; do
++      sed -n -e "/^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$/,/^# ### END LIBTOOL TAG CONFIG: $tagname$/p" < "$0"
++    done
+     exit 0
+     ;;
+ 
+@@ -178,6 +214,13 @@
+     show=:
+     ;;
+ 
++  --tag) prevopt="--tag" prev=tag ;;
++  --tag=*)
++    set tag "$optarg" ${1+"$@"}
++    shift
++    prev=tag
++    ;;
++
+   -dlopen)
+     prevopt="-dlopen"
+     prev=execute_dlfiles
+@@ -202,6 +245,11 @@
+   exit 1
+ fi
+ 
++# If this variable is set in any of the actions, the command in it
++# will be execed at the end.  This prevents here-documents from being
++# left over by shells.
++exec_cmd=
++
+ if test -z "$show_help"; then
+ 
+   # Infer the operation mode.
+@@ -413,7 +461,7 @@
+ 
+     # Recognize several different file suffixes.
+     # If the user specifies -o file.o, it is replaced with file.lo
+-    xform='[cCFSfmso]'
++    xform='[cCFSifmso]'
+     case $libobj in
+     *.ada) xform=ada ;;
+     *.adb) xform=adb ;;
+@@ -421,10 +469,13 @@
+     *.asm) xform=asm ;;
+     *.c++) xform=c++ ;;
+     *.cc) xform=cc ;;
++    *.ii) xform=ii ;;
++    *.class) xform=class ;;
+     *.cpp) xform=cpp ;;
+     *.cxx) xform=cxx ;;
+     *.f90) xform=f90 ;;
+     *.for) xform=for ;;
++    *.java) xform=java ;;
+     esac
+ 
+     libobj=`$echo "X$libobj" | $Xsed -e "s/\.$xform$/.lo/"`
+@@ -437,6 +488,59 @@
+       ;;
+     esac
+ 
++    # Infer tagged configuration to use if any are available and
++    # if one wasn't chosen via the "--tag" command line option.
++    # Only attempt this if the compiler in the base compile
++    # command doesn't match the default compiler.
++    if test -n "$available_tags" && test -z "$tagname"; then
++      case $base_compile in
++      "$CC "*) ;;
++      # Blanks in the command may have been stripped by the calling shell,
++      # but not from the CC environment variable when ltconfig was run.
++      "`$echo $CC` "*) ;;
++      *)
++        for z in $available_tags; do
++          if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$0" > /dev/null; then
++	    # Evaluate the configuration.
++	    eval "`sed -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $0`"
++            case $base_compile in
++	    "$CC "*)
++              # The compiler in the base compile command matches
++              # the one in the tagged configuration.
++              # Assume this is the tagged configuration we want.
++              tagname=$z
++              break
++              ;;
++	    "`$echo $CC` "*)
++	      tagname=$z
++	      break
++	      ;;
++	    esac
++          fi
++        done
++        # If $tagname still isn't set, then no tagged configuration
++        # was found and let the user know that the "--tag" command
++        # line option must be used.
++        if test -z "$tagname"; then
++          echo "$modename: unable to infer tagged configuration"
++          echo "$modename: specify a tag with \`--tag'" 1>&2
++	  exit 1
++#        else
++#          echo "$modename: using $tagname tagged configuration"
++        fi
++	;;
++      esac
++    fi
++
++    objname=`$echo "X$obj" | $Xsed -e 's%^.*/%%'`
++    xdir=`$echo "X$obj" | $Xsed -e 's%/[^/]*$%%'`
++    if test "X$xdir" = "X$obj"; then
++      xdir=
++    else
++      xdir=$xdir/
++    fi
++    lobj=${xdir}$objdir/$objname
++
+     if test -z "$base_compile"; then
+       $echo "$modename: you must specify a compilation command" 1>&2
+       $echo "$help" 1>&2
+@@ -445,9 +549,9 @@
+ 
+     # Delete any leftover library objects.
+     if test "$build_old_libs" = yes; then
+-      removelist="$obj $libobj"
++      removelist="$obj $lobj $libobj ${libobj}T"
+     else
+-      removelist="$libobj"
++      removelist="$lobj $libobj ${libobj}T"
+     fi
+ 
+     $run $rm $removelist
+@@ -459,7 +563,7 @@
+       pic_mode=default
+       ;;
+     esac
+-    if test $pic_mode = no && test "$deplibs_check_method" != pass_all; then
++    if test "$pic_mode" = no && test "$deplibs_check_method" != pass_all; then
+       # non-PIC code in shared libraries is not supported
+       pic_mode=default
+     fi
+@@ -472,6 +576,7 @@
+       removelist="$removelist $output_obj $lockfile"
+       trap "$run $rm $removelist; exit 1" 1 2 15
+     else
++      output_obj=
+       need_locks=no
+       lockfile=
+     fi
+@@ -506,49 +611,48 @@
+       eval srcfile=\"$fix_srcfile_path\"
+     fi
+ 
++    $run $rm "$libobj" "${libobj}T"
++
++    # Create a libtool object file (analogous to a ".la" file),
++    # but don't create it if we're doing a dry run.
++    test -z "$run" && cat > ${libobj}T <<EOF
++# $libobj - a libtool object file
++# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
++#
++# Please DO NOT delete this file!
++# It is necessary for linking the library.
++
++# Name of the PIC object.
++EOF
++
+     # Only build a PIC object if we are building libtool libraries.
+     if test "$build_libtool_libs" = yes; then
+       # Without this assignment, base_compile gets emptied.
+       fbsd_hideous_sh_bug=$base_compile
+ 
+       if test "$pic_mode" != no; then
+-	# All platforms use -DPIC, to notify preprocessed assembler code.
+-	command="$base_compile $srcfile $pic_flag -DPIC"
++	command="$base_compile $srcfile $pic_flag"
+       else
+ 	# Don't build PIC code
+ 	command="$base_compile $srcfile"
+       fi
+-      if test "$build_old_libs" = yes; then
+-	lo_libobj="$libobj"
+-	dir=`$echo "X$libobj" | $Xsed -e 's%/[^/]*$%%'`
+-	if test "X$dir" = "X$libobj"; then
+-	  dir="$objdir"
+-	else
+-	  dir="$dir/$objdir"
+-	fi
+-	libobj="$dir/"`$echo "X$libobj" | $Xsed -e 's%^.*/%%'`
+ 
+-	if test -d "$dir"; then
+-	  $show "$rm $libobj"
+-	  $run $rm $libobj
+-	else
+-	  $show "$mkdir $dir"
+-	  $run $mkdir $dir
+-	  status=$?
+-	  if test $status -ne 0 && test ! -d $dir; then
+-	    exit $status
+-	  fi
+-	fi
+-      fi
+-      if test "$compiler_o_lo" = yes; then
+-	output_obj="$libobj"
+-	command="$command -o $output_obj"
+-      elif test "$compiler_c_o" = yes; then
+-	output_obj="$obj"
+-	command="$command -o $output_obj"
++      if test ! -d ${xdir}$objdir; then
++	$show "$mkdir ${xdir}$objdir"
++	$run $mkdir ${xdir}$objdir
++	status=$?
++	if test $status -ne 0 && test ! -d ${xdir}$objdir; then
++	  exit $status
++        fi
++      fi 
++
++      if test -z "$output_obj"; then
++        # Place PIC objects in $objdir
++        command="$command -o $lobj"
+       fi
+ 
+-      $run $rm "$output_obj"
++      $run $rm "$lobj" "$output_obj"
++
+       $show "$command"
+       if $run eval "$command"; then :
+       else
+@@ -577,9 +681,9 @@
+       fi
+ 
+       # Just move the object if needed, then go on to compile the next one
+-      if test x"$output_obj" != x"$libobj"; then
+-	$show "$mv $output_obj $libobj"
+-	if $run $mv $output_obj $libobj; then :
++      if test -n "$output_obj" && test "x$output_obj" != "x$lobj"; then
++	$show "$mv $output_obj $lobj"
++	if $run $mv $output_obj $lobj; then :
+ 	else
+ 	  error=$?
+ 	  $run $rm $removelist
+@@ -587,44 +691,21 @@
+ 	fi
+       fi
+ 
+-      # If we have no pic_flag, then copy the object into place and finish.
+-      if (test -z "$pic_flag" || test "$pic_mode" != default) &&
+-	 test "$build_old_libs" = yes; then
+-	# Rename the .lo from within objdir to obj
+-	if test -f $obj; then
+-	  $show $rm $obj
+-	  $run $rm $obj
+-	fi
+-
+-	$show "$mv $libobj $obj"
+-	if $run $mv $libobj $obj; then :
+-	else
+-	  error=$?
+-	  $run $rm $removelist
+-	  exit $error
+-	fi
++      # Append the name of the PIC object to the libtool object file.
++      test -z "$run" && cat >> ${libobj}T <<EOF
++pic_object='$objdir/$objname'
+ 
+-	xdir=`$echo "X$obj" | $Xsed -e 's%/[^/]*$%%'`
+-	if test "X$xdir" = "X$obj"; then
+-	  xdir="."
+-	else
+-	  xdir="$xdir"
+-	fi
+-	baseobj=`$echo "X$obj" | $Xsed -e "s%.*/%%"`
+-	libobj=`$echo "X$baseobj" | $Xsed -e "$o2lo"`
+-	# Now arrange that obj and lo_libobj become the same file
+-	$show "(cd $xdir && $LN_S $baseobj $libobj)"
+-	if $run eval '(cd $xdir && $LN_S $baseobj $libobj)'; then
+-	  exit 0
+-	else
+-	  error=$?
+-	  $run $rm $removelist
+-	  exit $error
+-	fi
+-      fi
++EOF
+ 
+       # Allow error messages only from the first compilation.
+       suppress_output=' >/dev/null 2>&1'
++    else
++      # No PIC object so indicate it doesn't exist in the libtool
++      # object file.
++      test -z "$run" && cat >> ${libobj}T <<EOF
++pic_object=none
++
++EOF
+     fi
+ 
+     # Only build a position-dependent object if we build old libraries.
+@@ -633,17 +714,15 @@
+ 	# Don't build PIC code
+ 	command="$base_compile $srcfile"
+       else
+-	# All platforms use -DPIC, to notify preprocessed assembler code.
+-	command="$base_compile $srcfile $pic_flag -DPIC"
++	command="$base_compile $srcfile $pic_flag"
+       fi
+       if test "$compiler_c_o" = yes; then
+ 	command="$command -o $obj"
+-	output_obj="$obj"
+       fi
+ 
+       # Suppress compiler output if we already did a PIC compilation.
+       command="$command$suppress_output"
+-      $run $rm "$output_obj"
++      $run $rm "$obj" "$output_obj"
+       $show "$command"
+       if $run eval "$command"; then :
+       else
+@@ -672,7 +751,7 @@
+       fi
+ 
+       # Just move the object if needed
+-      if test x"$output_obj" != x"$obj"; then
++      if test -n "$output_obj" && test "x$output_obj" != "x$obj"; then
+ 	$show "$mv $output_obj $obj"
+ 	if $run $mv $output_obj $obj; then :
+ 	else
+@@ -682,23 +761,25 @@
+ 	fi
+       fi
+ 
+-      # Create an invalid libtool object if no PIC, so that we do not
+-      # accidentally link it into a program.
+-      if test "$build_libtool_libs" != yes; then
+-	$show "echo timestamp > $libobj"
+-	$run eval "echo timestamp > \$libobj" || exit $?
+-      else
+-	# Move the .lo from within objdir
+-	$show "$mv $libobj $lo_libobj"
+-	if $run $mv $libobj $lo_libobj; then :
+-	else
+-	  error=$?
+-	  $run $rm $removelist
+-	  exit $error
+-	fi
+-      fi
++      # Append the name of the non-PIC object the libtool object file.
++      # Only append if the libtool object file exists.
++      test -z "$run" && cat >> ${libobj}T <<EOF
++# Name of the non-PIC object.
++non_pic_object='$objname'
++
++EOF
++    else
++      # Append the name of the non-PIC object the libtool object file.
++      # Only append if the libtool object file exists.
++      test -z "$run" && cat >> ${libobj}T <<EOF
++# Name of the non-PIC object.
++non_pic_object=none
++
++EOF
+     fi
+ 
++    $run $mv "${libobj}T" "${libobj}"
++
+     # Unlock the critical section if it was locked
+     if test "$need_locks" != no; then
+       $run $rm "$lockfile"
+@@ -730,6 +811,7 @@
+       ;;
+     esac
+     libtool_args="$nonopt"
++    base_compile="$nonopt"
+     compile_command="$nonopt"
+     finalize_command="$nonopt"
+ 
+@@ -759,6 +841,7 @@
+     module=no
+     no_install=no
+     objs=
++    non_pic_objects=
+     prefer_static_libs=no
+     preload=no
+     prev=
+@@ -802,6 +885,7 @@
+     # Go through the arguments, transforming them on the way.
+     while test $# -gt 0; do
+       arg="$1"
++      base_compile="$base_compile $arg"
+       shift
+       case $arg in
+       *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \	]*|*]*|"")
+@@ -880,6 +964,113 @@
+ 	  prev=
+ 	  continue
+ 	  ;;
++	objectlist)
++	  if test -f "$arg"; then
++            save_arg=$arg
++	    moreargs=
++	    for fil in `cat $save_arg`
++	    do
++#	      moreargs="$moreargs $fil"
++              arg=$fil
++              # A libtool-controlled object.
++
++	      # Check to see that this really is a libtool object.
++	      if (sed -e '2q' $arg | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
++                pic_object=
++                non_pic_object=
++
++                # Read the .lo file
++                # If there is no directory component, then add one.
++                case $arg in
++                */* | *\\*) . $arg ;;
++                *) . ./$arg ;;
++                esac
++
++                if test -z "$pic_object" || \
++                   test -z "$non_pic_object" ||
++                   test "$pic_object" = none && \
++                   test "$non_pic_object" = none; then
++                  $echo "$modename: cannot find name of object for \`$arg'" 1>&2
++                  exit 1
++                fi
++
++	        # Extract subdirectory from the argument.
++	        xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
++	        if test "X$xdir" = "X$arg"; then
++	          xdir=
++	        else
++	          xdir="$xdir/"
++	        fi
++
++                if test "$pic_object" != none; then
++                  # Prepend the subdirectory the object is found in.
++	          pic_object="$xdir$pic_object"
++
++	          if test "$prev" = dlfiles; then
++	            if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
++	              dlfiles="$dlfiles $pic_object"
++	              prev=
++	              continue
++	            else
++	              # If libtool objects are unsupported, then we need to preload.
++	              prev=dlprefiles
++	            fi
++	          fi
++
++	          # CHECK ME:  I think I busted this.  -Ossama
++                  if test "$prev" = dlprefiles; then
++	            # Preload the old-style object.
++	            dlprefiles="$dlprefiles $pic_object"
++	            prev=
++                  fi
++
++                  # A PIC object.
++	          libobjs="$libobjs $pic_object"
++	          arg="$pic_object"
++                fi
++
++                # Non-PIC object.
++                if test "$non_pic_object" != none; then
++                  # Prepend the subdirectory the object is found in.
++	          non_pic_object="$xdir$non_pic_object"
++
++                  # A standard non-PIC object
++                  non_pic_objects="$non_pic_objects $non_pic_object"
++                  if test -z "$pic_object" || test "$pic_object" = none ; then
++                    arg="$non_pic_object"
++                  fi
++                fi
++              else
++                # Only an error if not doing a dry-run.
++                if test -z "$run"; then
++                  $echo "$modename: \`$arg' is not a valid libtool object" 1>&2
++                  exit 1
++                else
++                  # Dry-run case.
++
++	          # Extract subdirectory from the argument.
++	          xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
++	          if test "X$xdir" = "X$arg"; then
++	            xdir=
++	          else
++	            xdir="$xdir/"
++	          fi
++
++                  pic_object=`$echo "X${xdir}${objdir}/${arg}" | $Xsed -e "$lo2o"`
++                  non_pic_object=`$echo "X${xdir}${arg}" | $Xsed -e "$lo2o"`
++	          libobjs="$libobjs $pic_object"
++                  non_pic_objects="$non_pic_objects $non_pic_object"
++                fi
++	      fi
++	    done
++	  else
++	    $echo "$modename: link input file \`$save_arg' does not exist"
++	    exit 1
++	  fi
++          arg=$save_arg
++	  prev=
++	  continue
++	  ;;
+ 	rpath | xrpath)
+ 	  # We need an absolute path.
+ 	  case $arg in
+@@ -1031,8 +1222,24 @@
+ 	    # These systems don't actually have a C library (as such)
+ 	    test "X$arg" = "X-lc" && continue
+ 	    ;;
++	  *-*-openbsd*)
++	    # OpenBSD uses either libc or libc_r.
++	    continue
++	    ;;
++	  *-*-rhapsody* | *-*-darwin1.[012])
++	    # Rhapsody C and math libraries are in the System framework
++	    deplibs="$deplibs -framework System"
++	    continue
+ 	  esac
+ 	fi
++        if test "X$arg" = "X-lc_r"; then
++         case $host in
++         *-*-openbsd*)
++           # Do not include libc_r directly, use -pthread flag.
++           continue
++           ;;
++         esac
++        fi
+ 	deplibs="$deplibs $arg"
+ 	continue
+ 	;;
+@@ -1066,6 +1273,11 @@
+ 	continue
+ 	;;
+ 
++      -objectlist)
++	prev=objectlist
++	continue
++	;;
++
+       -o) prev=output ;;
+ 
+       -release)
+@@ -1178,29 +1390,101 @@
+ 	esac
+ 	;;
+ 
+-      *.lo | *.$objext)
+-	# A library or standard object.
+-	if test "$prev" = dlfiles; then
+-	  # This file was specified with -dlopen.
+-	  if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
+-	    dlfiles="$dlfiles $arg"
+-	    prev=
+-	    continue
+-	  else
+-	    # If libtool objects are unsupported, then we need to preload.
+-	    prev=dlprefiles
+-	  fi
+-	fi
++      *.$objext)
++	# A standard object.
++	objs="$objs $arg"
++	;;
+ 
+-	if test "$prev" = dlprefiles; then
+-	  # Preload the old-style object.
+-	  dlprefiles="$dlprefiles "`$echo "X$arg" | $Xsed -e "$lo2o"`
+-	  prev=
+-	else
+-	  case $arg in
+-	  *.lo) libobjs="$libobjs $arg" ;;
+-	  *) objs="$objs $arg" ;;
+-	  esac
++      *.lo)
++	# A libtool-controlled object.
++
++	# Check to see that this really is a libtool object.
++	if (sed -e '2q' $arg | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
++          pic_object=
++          non_pic_object=
++
++          # Read the .lo file
++          # If there is no directory component, then add one.
++          case $arg in
++          */* | *\\*) . $arg ;;
++          *) . ./$arg ;;
++          esac
++
++          if test -z "$pic_object" || \
++             test -z "$non_pic_object" ||
++             test "$pic_object" = none && \
++             test "$non_pic_object" = none; then
++            $echo "$modename: cannot find name of object for \`$arg'" 1>&2
++            exit 1
++          fi
++
++	  # Extract subdirectory from the argument.
++	  xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
++	  if test "X$xdir" = "X$arg"; then
++	    xdir=
++ 	  else
++	    xdir="$xdir/"
++	  fi
++
++          if test "$pic_object" != none; then
++            # Prepend the subdirectory the object is found in.
++	    pic_object="$xdir$pic_object"
++
++	    if test "$prev" = dlfiles; then
++	      if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
++	        dlfiles="$dlfiles $pic_object"
++	        prev=
++	        continue
++	      else
++	        # If libtool objects are unsupported, then we need to preload.
++	        prev=dlprefiles
++	      fi
++	    fi
++
++	    # CHECK ME:  I think I busted this.  -Ossama
++            if test "$prev" = dlprefiles; then
++	      # Preload the old-style object.
++	      dlprefiles="$dlprefiles $pic_object"
++	      prev=
++            fi
++
++            # A PIC object.
++	    libobjs="$libobjs $pic_object"
++	    arg="$pic_object"
++          fi
++
++          # Non-PIC object.
++          if test "$non_pic_object" != none; then
++            # Prepend the subdirectory the object is found in.
++	    non_pic_object="$xdir$non_pic_object"
++
++            # A standard non-PIC object
++            non_pic_objects="$non_pic_objects $non_pic_object"
++            if test -z "$pic_object" || test "$pic_object" = none ; then
++              arg="$non_pic_object"
++            fi
++          fi
++        else
++          # Only an error if not doing a dry-run.
++          if test -z "$run"; then
++            $echo "$modename: \`$arg' is not a valid libtool object" 1>&2
++            exit 1
++          else
++            # Dry-run case.
++
++	    # Extract subdirectory from the argument.
++	    xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
++	    if test "X$xdir" = "X$arg"; then
++	      xdir=
++	    else
++	      xdir="$xdir/"
++	    fi
++
++            pic_object=`$echo "X${xdir}${objdir}/${arg}" | $Xsed -e "$lo2o"`
++            non_pic_object=`$echo "X${xdir}${arg}" | $Xsed -e "$lo2o"`
++	    libobjs="$libobjs $pic_object"
++            non_pic_objects="$non_pic_objects $non_pic_object"
++          fi
+ 	fi
+ 	;;
+ 
+@@ -1254,12 +1538,57 @@
+       exit 1
+     fi
+ 
++    # Infer tagged configuration to use if any are available and
++    # if one wasn't chosen via the "--tag" command line option.
++    # Only attempt this if the compiler in the base link
++    # command doesn't match the default compiler.
++    if test -n "$available_tags" && test -z "$tagname"; then
++      case $base_compile in
++      "$CC "*) ;;
++      # Blanks in the command may have been stripped by the calling shell,
++      # but not from the CC environment variable when ltconfig was run.
++      "`$echo $CC` "*) ;;
++      *)
++        for z in $available_tags; do
++          if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$0" > /dev/null; then
++	    # Evaluate the configuration.
++	    eval "`sed -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $0`"
++            case $base_compile in
++	    "$CC "*)
++              # The compiler in $compile_command matches
++              # the one in the tagged configuration.
++              # Assume this is the tagged configuration we want.
++              tagname=$z
++              break
++	      ;;
++	    "`$echo $CC` "*)
++	      tagname=$z
++	      break
++	      ;;
++	    esac
++          fi
++        done
++        # If $tagname still isn't set, then no tagged configuration
++        # was found and let the user know that the "--tag" command
++        # line option must be used.
++        if test -z "$tagname"; then
++          echo "$modename: unable to infer tagged configuration"
++          echo "$modename: specify a tag with \`--tag'" 1>&2
++	  exit 1
++#       else
++#         echo "$modename: using $tagname tagged configuration"
++        fi
++	;;
++      esac
++    fi
++
+     if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then
+       eval arg=\"$export_dynamic_flag_spec\"
+       compile_command="$compile_command $arg"
+       finalize_command="$finalize_command $arg"
+     fi
+ 
++    oldlibs=
+     # calculate the name of the file, without its directory
+     outputname=`$echo "X$output" | $Xsed -e 's%^.*/%%'`
+     libobjs_save="$libobjs"
+@@ -1312,6 +1641,23 @@
+       esac
+       libs="$libs $deplib"
+     done
++
++    if test $linkmode = lib; then
++      libs="$predeps $libs $compiler_lib_search_path $postdeps"
++
++      # Compute libraries that are listed more than once in $predeps
++      # $postdeps and mark them as special (i.e., whose duplicates are
++      # not to be eliminated).
++      pre_post_deps=
++      for pre_post_dep in $predeps $postdeps; do
++        case "$pre_post_deps " in
++	*" $pre_post_dep "*) specialdeplibs="$specialdeplibs $pre_post_deps" ;;
++	esac
++	pre_post_deps="$pre_post_deps $pre_post_dep"
++      done
++      pre_post_deps=
++    fi
++
+     deplibs=
+     newdependency_libs=
+     newlib_search_path=
+@@ -1343,25 +1689,30 @@
+ 	;;
+     esac
+     for pass in $passes; do
++      if test "$linkmode,$pass" = "lib,link" ||
++	 test "$linkmode,$pass" = "prog,scan"; then
++	libs="$deplibs"
++	deplibs=
++      fi
+       if test $linkmode = prog; then
+-	# Determine which files to process
+ 	case $pass in
+-	dlopen)
+-	  libs="$dlfiles"
+-	  save_deplibs="$deplibs" # Collect dlpreopened libraries
+-	  deplibs=
+-	  ;;
++	dlopen) libs="$dlfiles" ;;
+ 	dlpreopen) libs="$dlprefiles" ;;
+ 	link) libs="$deplibs %DEPLIBS% $dependency_libs" ;;
+ 	esac
+       fi
++      if test $pass = dlopen; then
++	# Collect dlpreopened libraries
++	save_deplibs="$deplibs"
++	deplibs=
++      fi
+       for deplib in $libs; do
+ 	lib=
+ 	found=no
+ 	case $deplib in
+ 	-l*)
+-	  if test $linkmode = oldlib && test $linkmode = obj; then
+-	    $echo "$modename: warning: \`-l' is ignored for archives/objects: $deplib" 1>&2
++	  if test $linkmode != lib && test $linkmode != prog; then
++	    $echo "$modename: warning: \`-l' is ignored for archives/objects" 1>&2
+ 	    continue
+ 	  fi
+ 	  if test $pass = conv; then
+@@ -1411,7 +1762,7 @@
+ 	    fi
+ 	    ;;
+ 	  *)
+-	    $echo "$modename: warning: \`-L' is ignored for archives/objects: $deplib" 1>&2
++	    $echo "$modename: warning: \`-L' is ignored for archives/objects" 1>&2
+ 	    ;;
+ 	  esac # linkmode
+ 	  continue
+@@ -1462,14 +1813,18 @@
+ 	  esac # linkmode
+ 	  ;; # *.$libext
+ 	*.lo | *.$objext)
+-	  if test $pass = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
+-	    # If there is no dlopen support or we're linking statically,
+-	    # we need to preload.
+-	    newdlprefiles="$newdlprefiles $deplib"
+-	    compile_deplibs="$deplib $compile_deplibs"
+-	    finalize_deplibs="$deplib $finalize_deplibs"
+-	  else
+-	    newdlfiles="$newdlfiles $deplib"
++	  if test $pass = conv; then
++	    deplibs="$deplib $deplibs"
++	  elif test $linkmode = prog; then
++	    if test $pass = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
++	      # If there is no dlopen support or we're linking statically,
++	      # we need to preload.
++	      newdlprefiles="$newdlprefiles $deplib"
++	      compile_deplibs="$deplib $compile_deplibs"
++	      finalize_deplibs="$deplib $finalize_deplibs"
++	    else
++	      newdlfiles="$newdlfiles $deplib"
++	    fi
+ 	  fi
+ 	  continue
+ 	  ;;
+@@ -1512,8 +1867,7 @@
+ 
+ 	if test "$linkmode,$pass" = "lib,link" ||
+ 	   test "$linkmode,$pass" = "prog,scan" ||
+-	   { test $linkmode = oldlib && test $linkmode = obj; }; then
+-	   # Add dl[pre]opened files of deplib
++	   { test $linkmode != prog && test $linkmode != lib; }; then
+ 	  test -n "$dlopen" && dlfiles="$dlfiles $dlopen"
+ 	  test -n "$dlpreopen" && dlprefiles="$dlprefiles $dlpreopen"
+ 	fi
+@@ -1562,8 +1916,10 @@
+ 	  fi
+ 	  if test -z "$dlname" || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
+ 	    # If there is no dlname, no dlopen support or we're linking
+-	    # statically, we need to preload.
+-	    dlprefiles="$dlprefiles $lib"
++	    # statically, we need to preload.  We also need to preload any
++	    # dependent libraries so libltdl's deplib preloader doesn't
++	    # bomb out in the load deplibs phase.
++	    dlprefiles="$dlprefiles $lib $dependency_libs"
+ 	  else
+ 	    newdlfiles="$newdlfiles $lib"
+ 	  fi
+@@ -1629,7 +1985,7 @@
+ 	    compile_deplibs="$dir/$old_library $compile_deplibs"
+ 	    finalize_deplibs="$dir/$old_library $finalize_deplibs"
+ 	  else
+-	    deplibs="$lib $deplibs"
++	    deplibs="$lib $deplibs" # used for prog,scan pass
+ 	  fi
+ 	  continue
+ 	fi
+@@ -1665,13 +2021,19 @@
+ 	  continue
+ 	fi # $linkmode = prog...
+ 
+-	link_static=no # Whether the deplib will be linked statically
+-	if test -n "$library_names" &&
+-	   { test "$prefer_static_libs" = no || test -z "$old_library"; }; then
+-	  # Link against this shared library
++	if test "$linkmode,$pass" = "prog,link"; then
++	  if test -n "$library_names" &&
++	     { test "$prefer_static_libs" = no || test -z "$old_library"; }; then
++	    # We need to hardcode the library path
++	    if test -n "$shlibpath_var"; then
++	      # Make sure the rpath contains only unique directories.
++	      case "$temp_rpath " in
++	      *" $dir "*) ;;
++	      *" $absdir "*) ;;
++	      *) temp_rpath="$temp_rpath $dir" ;;
++	      esac
++	    fi
+ 
+-	  if test "$linkmode,$pass" = "prog,link" ||
+-	   { test $linkmode = lib && test $hardcode_into_libs = yes; }; then
+ 	    # Hardcode the library path.
+ 	    # Skip directories that are in the system default run-time
+ 	    # search path.
+@@ -1693,17 +2055,6 @@
+ 	      esac
+ 	      ;;
+ 	    esac
+-	    if test $linkmode = prog; then
+-	      # We need to hardcode the library path
+-	      if test -n "$shlibpath_var"; then
+-		# Make sure the rpath contains only unique directories.
+-		case "$temp_rpath " in
+-		*" $dir "*) ;;
+-		*" $absdir "*) ;;
+-		*) temp_rpath="$temp_rpath $dir" ;;
+-		esac
+-	      fi
+-	    fi
+ 	  fi # $linkmode,$pass = prog,link...
+ 
+ 	  if test "$alldeplibs" = yes &&
+@@ -1713,11 +2064,40 @@
+ 	    # We only need to search for static libraries
+ 	    continue
+ 	  fi
+-
++	fi
++ 
++	link_static=no # Whether the deplib will be linked statically
++	if test -n "$library_names" &&
++	   { test "$prefer_static_libs" = no || test -z "$old_library"; }; then
+ 	  if test "$installed" = no; then
+ 	    notinst_deplibs="$notinst_deplibs $lib"
+ 	    need_relink=yes
+ 	  fi
++	  # This is a shared library
++	  if test $linkmode = lib &&
++	     test $hardcode_into_libs = yes; then
++	    # Hardcode the library path.
++	    # Skip directories that are in the system default run-time
++	    # search path.
++	    case " $sys_lib_dlsearch_path " in
++	    *" $absdir "*) ;;
++	    *)
++	      case "$compile_rpath " in
++	      *" $absdir "*) ;;
++	      *) compile_rpath="$compile_rpath $absdir"
++	      esac
++	      ;;
++	    esac
++	    case " $sys_lib_dlsearch_path " in
++	    *" $libdir "*) ;;
++	    *)
++	      case "$finalize_rpath " in
++	      *" $libdir "*) ;;
++	      *) finalize_rpath="$finalize_rpath $libdir"
++	      esac
++	      ;;
++	    esac
++	  fi
+ 
+ 	  if test -n "$old_archive_from_expsyms_cmds"; then
+ 	    # figure out the soname
+@@ -1874,15 +2254,6 @@
+ 	    fi
+ 	  fi
+ 	elif test $linkmode = prog; then
+-	  if test "$alldeplibs" = yes &&
+-	     { test "$deplibs_check_method" = pass_all ||
+-	       { test "$build_libtool_libs" = yes &&
+-		 test -n "$library_names"; }; }; then
+-	    # We only need to search for static libraries
+-	    continue
+-	  fi
+-
+-	  # Try to link the static library
+ 	  # Here we assume that one of hardcode_direct or hardcode_minus_L
+ 	  # is not unsupported.  This is valid on all known static and
+ 	  # shared platforms.
+@@ -2007,6 +2378,7 @@
+ 	  fi # link_all_deplibs != no
+ 	fi # linkmode = lib
+       done # for deplib in $libs
++      dependency_libs="$newdependency_libs"
+       if test $pass = dlpreopen; then
+ 	# Link the dlpreopened libraries before other libraries
+ 	for deplib in $save_deplibs; do
+@@ -2014,7 +2386,6 @@
+ 	done
+       fi
+       if test $pass != dlopen; then
+-	test $pass != scan && dependency_libs="$newdependency_libs"
+ 	if test $pass != conv; then
+ 	  # Make sure lib_search_path contains only unique directories.
+ 	  lib_search_path=
+@@ -2037,20 +2408,40 @@
+ 	  eval tmp_libs=\"\$$var\"
+ 	  new_libs=
+ 	  for deplib in $tmp_libs; do
++	    # FIXME: Pedantically, this is the right thing to do, so
++	    #        that some nasty dependency loop isn't accidentally
++	    #        broken:
++	    #new_libs="$deplib $new_libs"
++	    # Pragmatically, this seems to cause very few problems in
++	    # practice:
+ 	    case $deplib in
+-	    -L*) new_libs="$deplib $new_libs" ;;
+-	    *)
+-	      case " $specialdeplibs " in
+-	      *" $deplib "*) new_libs="$deplib $new_libs" ;;
+-	      *)
+-		case " $new_libs " in
+-		*" $deplib "*) ;;
+-		*) new_libs="$deplib $new_libs" ;;
+-		esac
+-		;;
+-	      esac
+-	      ;;
+-	    esac
++            -L*) new_libs="$deplib $new_libs" ;;
++            *)
++	      # And here is the reason: when a library appears more
++	      # than once as an explicit dependence of a library, or
++	      # is implicitly linked in more than once by the
++	      # compiler, it is considered special, and multiple
++	      # occurrences thereof are not removed.  Compare this
++	      # with having the same library being listed as a
++	      # dependency of multiple other libraries: in this case,
++	      # we know (pedantically, we assume) the library does not
++	      # need to be listed more than once, so we keep only the
++	      # last copy.  This is not always right, but it is rare
++	      # enough that we require users that really mean to play
++	      # such unportable linking tricks to link the library
++	      # using -Wl,-lname, so that libtool does not consider it
++	      # for duplicate removal.
++              case " $specialdeplibs " in
++              *" $deplib "*) new_libs="$deplib $new_libs" ;;
++              *)
++                case " $new_libs " in
++                *" $deplib "*) ;;
++                *) new_libs="$deplib $new_libs" ;;
++                esac
++                ;;
++              esac
++              ;;
++            esac
+ 	  done
+ 	  tmp_libs=
+ 	  for deplib in $new_libs; do
+@@ -2067,11 +2458,6 @@
+ 	  eval $var=\"$tmp_libs\"
+ 	done # for var
+       fi
+-      if test "$pass" = "conv" &&
+-       { test "$linkmode" = "lib" || test "$linkmode" = "prog"; }; then
+-	libs="$deplibs" # reset libs
+-	deplibs=
+-      fi
+     done # for pass
+     if test $linkmode = prog; then
+       dlfiles="$newdlfiles"
+@@ -2080,6 +2466,10 @@
+ 
+     case $linkmode in
+     oldlib)
++      if test -n "$deplibs"; then
++	$echo "$modename: warning: \`-l' and \`-L' are ignored for archives" 1>&2
++      fi
++
+       if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
+ 	$echo "$modename: warning: \`-dlopen' is ignored for archives" 1>&2
+       fi
+@@ -2159,7 +2549,9 @@
+       if test -z "$rpath"; then
+ 	if test "$build_libtool_libs" = yes; then
+ 	  # Building a libtool convenience library.
+-	  libext=al
++	  # Some compilers have problems with a `.al' extension so
++          # convenience libraries should have the same extension an
++          # archive normally would.
+ 	  oldlibs="$output_objdir/$libname.$libext $oldlibs"
+ 	  build_libtool_libs=convenience
+ 	  build_old_libs=yes
+@@ -2340,9 +2732,24 @@
+       fi
+ 
+       if test "$mode" != relink; then
+-	# Remove our outputs.
+-	$show "${rm}r $output_objdir/$outputname $output_objdir/$libname.* $output_objdir/${libname}${release}.*"
+-	$run ${rm}r $output_objdir/$outputname $output_objdir/$libname.* $output_objdir/${libname}${release}.*
++	# Remove our outputs, but don't remove object files since they
++        # may have been created when compiling PIC objects.
++        removelist=
++        tempremovelist=`echo "$output_objdir/*"`
++	for p in $tempremovelist; do
++          case $p in
++            *.$objext)
++               ;;
++            $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*)
++               removelist="$removelist $p"
++               ;;
++            *) ;;
++          esac
++        done
++        if test -n "$removelist"; then
++	  $show "${rm}r $removelist"
++	  $run ${rm}r $removelist
++        fi
+       fi
+ 
+       # Now set the variables for building old libraries.
+@@ -2408,7 +2815,10 @@
+ 	  *-*-netbsd*)
+ 	    # Don't link with libc until the a.out ld.so is fixed.
+ 	    ;;
+-	  *)
++          *-*-openbsd*)
++	    # OpenBSD uses either libc or libc_r.
++            ;;
++ 	  *)
+ 	    # Add libc to deplibs on all other systems if necessary.
+ 	    if test $build_libtool_need_lc = "yes"; then
+ 	      deplibs="$deplibs -lc"
+@@ -2450,13 +2860,13 @@
+ 	  int main() { return 0; }
+ EOF
+ 	  $rm conftest
+-	  $CC -o conftest conftest.c $deplibs
++	  $LTCC -o conftest conftest.c $deplibs
+ 	  if test $? -eq 0 ; then
+ 	    ldd_output=`ldd conftest`
+ 	    for i in $deplibs; do
+ 	      name="`expr $i : '-l\(.*\)'`"
+ 	      # If $name is empty we are operating on a -L argument.
+-	      if test -n "$name" && test "$name" != "0"; then
++	      if test "$name" != "" -a "$name" != "0"; then
+ 		libname=`eval \\$echo \"$libname_spec\"`
+ 		deplib_matches=`eval \\$echo \"$library_names_spec\"`
+ 		set dummy $deplib_matches
+@@ -2481,9 +2891,9 @@
+ 	    for i in $deplibs; do
+ 	      name="`expr $i : '-l\(.*\)'`"
+ 	     # If $name is empty we are operating on a -L argument.
+-	      if test -n "$name" && test "$name" != "0"; then
++	      if test "$name" != "" -a "$name" != "0"; then
+ 		$rm conftest
+-		$CC -o conftest conftest.c $i
++		$LTCC -o conftest conftest.c $i
+ 		# Did it work?
+ 		if test $? -eq 0 ; then
+ 		  ldd_output=`ldd conftest`
+@@ -2521,7 +2931,7 @@
+ 	  for a_deplib in $deplibs; do
+ 	    name="`expr $a_deplib : '-l\(.*\)'`"
+ 	    # If $name is empty we are operating on a -L argument.
+-	    if test -n "$name" && test "$name" != "0"; then
++	    if test "$name" != "" -a "$name" != "0"; then
+ 	      libname=`eval \\$echo \"$libname_spec\"`
+ 	      for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
+ 		    potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
+@@ -2749,7 +3159,9 @@
+ 	else
+ 	  soname="$realname"
+ 	fi
+-	test -z "$dlname" && dlname=$soname
++	if test x$dlname = x; then
++	  dlname=$soname
++	fi
+ 
+ 	lib="$output_objdir/$realname"
+ 	for link
+@@ -2757,23 +3169,6 @@
+ 	  linknames="$linknames $link"
+ 	done
+ 
+-	# Ensure that we have .o objects for linkers which dislike .lo
+-	# (e.g. aix) in case we are running --disable-static
+-	for obj in $libobjs; do
+-	  xdir=`$echo "X$obj" | $Xsed -e 's%/[^/]*$%%'`
+-	  if test "X$xdir" = "X$obj"; then
+-	    xdir="."
+-	  else
+-	    xdir="$xdir"
+-	  fi
+-	  baseobj=`$echo "X$obj" | $Xsed -e 's%^.*/%%'`
+-	  oldobj=`$echo "X$baseobj" | $Xsed -e "$lo2o"`
+-	  if test ! -f $xdir/$oldobj; then
+-	    $show "(cd $xdir && ${LN_S} $baseobj $oldobj)"
+-	    $run eval '(cd $xdir && ${LN_S} $baseobj $oldobj)' || exit $?
+-	  fi
+-	done
+-
+ 	# Use standard objects if they are pic
+ 	test -z "$pic_flag" && libobjs=`$echo "X$libobjs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
+ 
+@@ -2806,13 +3201,14 @@
+ 
+ 	if test -n "$convenience"; then
+ 	  if test -n "$whole_archive_flag_spec"; then
++	    save_libobjs=$libobjs
+ 	    eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
+ 	  else
+ 	    gentop="$output_objdir/${outputname}x"
+ 	    $show "${rm}r $gentop"
+ 	    $run ${rm}r "$gentop"
+-	    $show "mkdir $gentop"
+-	    $run mkdir "$gentop"
++	    $show "$mkdir $gentop"
++	    $run $mkdir "$gentop"
+ 	    status=$?
+ 	    if test $status -ne 0 && test ! -d "$gentop"; then
+ 	      exit $status
+@@ -2830,8 +3226,8 @@
+ 
+ 	      $show "${rm}r $xdir"
+ 	      $run ${rm}r "$xdir"
+-	      $show "mkdir $xdir"
+-	      $run mkdir "$xdir"
++	      $show "$mkdir $xdir"
++	      $run $mkdir "$xdir"
+ 	      status=$?
+ 	      if test $status -ne 0 && test ! -d "$xdir"; then
+ 		exit $status
+@@ -2839,7 +3235,7 @@
+ 	      $show "(cd $xdir && $AR x $xabs)"
+ 	      $run eval "(cd \$xdir && $AR x \$xabs)" || exit $?
+ 
+-	      libobjs="$libobjs "`find $xdir -name \*.o -print -o -name \*.lo -print | $NL2SP`
++	      libobjs="$libobjs "`find $xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP`
+ 	    done
+ 	  fi
+ 	fi
+@@ -2860,13 +3256,116 @@
+ 	else
+ 	  eval cmds=\"$archive_cmds\"
+ 	fi
+-	IFS="${IFS= 	}"; save_ifs="$IFS"; IFS='~'
+-	for cmd in $cmds; do
+-	  IFS="$save_ifs"
+-	  $show "$cmd"
+-	  $run eval "$cmd" || exit $?
+-	done
+-	IFS="$save_ifs"
++
++        if len=`expr "X$cmds" : ".*"` &&
++           test $len -le $max_cmd_len || test $max_cmd_len -le -1; then
++          :
++        else
++	  # The command line is too long to link in one step, link piecewise.
++          $echo "creating reloadable object files..."
++
++	  # Save the value of $output and $libobjs because we want to
++	  # use them later.  If we have whole_archive_flag_spec, we
++	  # want to use save_libobjs as it was before
++	  # whole_archive_flag_spec was expanded, because we can't
++	  # assume the linker understands whole_archive_flag_spec.
++	  # This may have to be revisited, in case too many
++	  # convenience libraries get linked in and end up exceeding
++	  # the spec.
++	  if test -z "$convenience" || test -z "$whole_archive_flag_spec"; then
++	    save_libobjs=$libobjs
++	  fi
++          save_output=$output
++
++	  # Clear the reloadable object creation command queue and
++	  # initialize k to one.
++          test_cmds=
++          concat_cmds=
++          objlist=
++          delfiles=
++          last_robj=
++          k=1
++          output=$output_objdir/$save_output-${k}.$objext
++	  # Loop over the list of objects to be linked.
++          for obj in $save_libobjs
++          do
++            eval test_cmds=\"$reload_cmds $objlist $last_robj\"
++            if test "X$objlist" = X ||
++	       { len=`expr "X$test_cmds" : ".*"` &&
++                 test $len -le $max_cmd_len; }; then
++              objlist="$objlist $obj"
++            else
++	      # The command $test_cmds is almost too long, add a
++	      # command to the queue.
++              if test $k -eq 1 ; then
++	        # The first file doesn't have a previous command to add.
++                eval concat_cmds=\"$reload_cmds $objlist $last_robj\"
++              else
++	        # All subsequent reloadable object files will link in
++	        # the last one created.
++                eval concat_cmds=\"\$concat_cmds~$reload_cmds $objlist $last_robj\"
++              fi
++              last_robj=$output_objdir/$save_output-${k}.$objext
++              k=`expr $k + 1`
++              output=$output_objdir/$save_output-${k}.$objext
++              objlist=$obj
++              len=1
++            fi
++          done
++	  # Handle the remaining objects by creating one last
++	  # reloadable object file.  All subsequent reloadable object
++	  # files will link in the last one created.
++	  test -z "$concat_cmds" || concat_cmds=$concat_cmds~
++          eval concat_cmds=\"\${concat_cmds}$reload_cmds $objlist $last_robj\"
++
++	  # Set up a command to remove the reloadale object files
++	  # after they are used.
++          i=0
++          while test $i -lt $k
++          do
++            i=`expr $i + 1`
++            delfiles="$delfiles $output_objdir/$save_output-${i}.$objext"
++          done
++
++          $echo "creating a temporary reloadable object file: $output"
++
++	  # Loop through the commands generated above and execute them.
++          IFS="${IFS= 	}"; save_ifs="$IFS"; IFS='~'
++          for cmd in $concat_cmds; do
++            IFS="$save_ifs"
++            $show "$cmd"
++            $run eval "$cmd" || exit $?
++          done
++          IFS="$save_ifs"
++
++          libobjs=$output
++	  # Restore the value of output.
++          output=$save_output
++
++	  if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then
++	    eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
++	  fi
++	  # Expand the library linking commands again to reset the
++	  # value of $libobjs for piecewise linking.
++
++	  # Do each of the archive commands.
++          if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
++            eval cmds=\"$archive_expsym_cmds\"
++          else
++            eval cmds=\"$archive_cmds\"
++          fi
++
++	  # Append the command to remove the reloadable object files
++	  # to the just-reset $cmds.
++          eval cmds=\"\$cmds~$rm $delfiles\"
++        fi
++        IFS="${IFS= 	}"; save_ifs="$IFS"; IFS='~'
++        for cmd in $cmds; do
++          IFS="$save_ifs"
++          $show "$cmd"
++          $run eval "$cmd" || exit $?
++        done
++        IFS="$save_ifs"
+ 
+ 	# Restore the uninstalled library and exit
+ 	if test "$mode" = relink; then
+@@ -2950,8 +3449,8 @@
+ 	  gentop="$output_objdir/${obj}x"
+ 	  $show "${rm}r $gentop"
+ 	  $run ${rm}r "$gentop"
+-	  $show "mkdir $gentop"
+-	  $run mkdir "$gentop"
++	  $show "$mkdir $gentop"
++	  $run $mkdir "$gentop"
+ 	  status=$?
+ 	  if test $status -ne 0 && test ! -d "$gentop"; then
+ 	    exit $status
+@@ -2969,8 +3468,8 @@
+ 
+ 	    $show "${rm}r $xdir"
+ 	    $run ${rm}r "$xdir"
+-	    $show "mkdir $xdir"
+-	    $run mkdir "$xdir"
++	    $show "$mkdir $xdir"
++	    $run $mkdir "$xdir"
+ 	    status=$?
+ 	    if test $status -ne 0 && test ! -d "$xdir"; then
+ 	      exit $status
+@@ -2978,7 +3477,7 @@
+ 	    $show "(cd $xdir && $AR x $xabs)"
+ 	    $run eval "(cd \$xdir && $AR x \$xabs)" || exit $?
+ 
+-	    reload_conv_objs="$reload_objs "`find $xdir -name \*.o -print -o -name \*.lo -print | $NL2SP`
++	    reload_conv_objs="$reload_objs "`find $xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP`
+ 	  done
+ 	fi
+       fi
+@@ -3014,8 +3513,8 @@
+ 
+ 	# Create an invalid libtool object if no PIC, so that we don't
+ 	# accidentally link it into a program.
+-	$show "echo timestamp > $libobj"
+-	$run eval "echo timestamp > $libobj" || exit $?
++	# $show "echo timestamp > $libobj"
++	# $run eval "echo timestamp > $libobj" || exit $?
+ 	exit 0
+       fi
+ 
+@@ -3031,20 +3530,6 @@
+ 	  $run eval "$cmd" || exit $?
+ 	done
+ 	IFS="$save_ifs"
+-      else
+-	# Just create a symlink.
+-	$show $rm $libobj
+-	$run $rm $libobj
+-	xdir=`$echo "X$libobj" | $Xsed -e 's%/[^/]*$%%'`
+-	if test "X$xdir" = "X$libobj"; then
+-	  xdir="."
+-	else
+-	  xdir="$xdir"
+-	fi
+-	baseobj=`$echo "X$libobj" | $Xsed -e 's%^.*/%%'`
+-	oldobj=`$echo "X$baseobj" | $Xsed -e "$lo2o"`
+-	$show "(cd $xdir && $LN_S $oldobj $baseobj)"
+-	$run eval '(cd $xdir && $LN_S $oldobj $baseobj)' || exit $?
+       fi
+ 
+       if test -n "$gentop"; then
+@@ -3287,27 +3772,25 @@
+ #undef lt_preloaded_symbols
+ 
+ #if defined (__STDC__) && __STDC__
+-# define lt_ptr_t void *
++# define lt_ptr void *
+ #else
+-# define lt_ptr_t char *
++# define lt_ptr char *
+ # define const
+ #endif
+ 
+ /* The mapping between symbol names and symbols. */
+ const struct {
+   const char *name;
+-  lt_ptr_t address;
++  lt_ptr address;
+ }
+ lt_preloaded_symbols[] =
+ {\
+ "
+ 
+-	    sed -n -e 's/^: \([^ ]*\) $/  {\"\1\", (lt_ptr_t) 0},/p' \
+-		-e 's/^. \([^ ]*\) \([^ ]*\)$/  {"\2", (lt_ptr_t) \&\2},/p' \
+-		  < "$nlist" >> "$output_objdir/$dlsyms"
++	    eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$dlsyms"
+ 
+ 	    $echo >> "$output_objdir/$dlsyms" "\
+-  {0, (lt_ptr_t) 0}
++  {0, (lt_ptr) 0}
+ };
+ 
+ /* This works around a problem in FreeBSD linker */
+@@ -3333,18 +3816,18 @@
+ 	  *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*)
+ 	    case "$compile_command " in
+ 	    *" -static "*) ;;
+-	    *) pic_flag_for_symtable=" $pic_flag -DPIC -DFREEBSD_WORKAROUND";;
++	    *) pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND";;
+ 	    esac;;
+ 	  *-*-hpux*)
+ 	    case "$compile_command " in
+ 	    *" -static "*) ;;
+-	    *) pic_flag_for_symtable=" $pic_flag -DPIC";;
++	    *) pic_flag_for_symtable=" $pic_flag";;
+ 	    esac
+ 	  esac
+ 
+ 	  # Now compile the dynamic symbol file.
+-	  $show "(cd $output_objdir && $CC -c$no_builtin_flag$pic_flag_for_symtable \"$dlsyms\")"
+-	  $run eval '(cd $output_objdir && $CC -c$no_builtin_flag$pic_flag_for_symtable "$dlsyms")' || exit $?
++	  $show "(cd $output_objdir && $LTCC -c$no_builtin_flag$pic_flag_for_symtable \"$dlsyms\")"
++	  $run eval '(cd $output_objdir && $LTCC -c$no_builtin_flag$pic_flag_for_symtable "$dlsyms")' || exit $?
+ 
+ 	  # Clean up the generated files.
+ 	  $show "$rm $output_objdir/$dlsyms $nlist ${nlist}S ${nlist}T"
+@@ -3618,8 +4101,9 @@
+ 
+     # relink executable if necessary
+     if test -n \"\$relink_command\"; then
+-      if (eval \$relink_command); then :
++      if relink_command_output=\`eval \$relink_command 2>&1\`; then :
+       else
++        $echo \"\$relink_command_output\" >&2
+ 	$rm \"\$progdir/\$file\"
+ 	exit 1
+       fi
+@@ -3724,7 +4208,7 @@
+ 	  oldobjs="$libobjs_save"
+ 	  build_libtool_libs=no
+ 	else
+-	  oldobjs="$objs$old_deplibs "`$echo "X$libobjs_save" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e '/\.lib$/d' -e "$lo2o" | $NL2SP`
++	  oldobjs="$objs$old_deplibs $non_pic_objects"
+ 	fi
+ 	addlibs="$old_convenience"
+       fi
+@@ -3733,8 +4217,8 @@
+ 	gentop="$output_objdir/${outputname}x"
+ 	$show "${rm}r $gentop"
+ 	$run ${rm}r "$gentop"
+-	$show "mkdir $gentop"
+-	$run mkdir "$gentop"
++	$show "$mkdir $gentop"
++	$run $mkdir "$gentop"
+ 	status=$?
+ 	if test $status -ne 0 && test ! -d "$gentop"; then
+ 	  exit $status
+@@ -3753,8 +4237,8 @@
+ 
+ 	  $show "${rm}r $xdir"
+ 	  $run ${rm}r "$xdir"
+-	  $show "mkdir $xdir"
+-	  $run mkdir "$xdir"
++	  $show "$mkdir $xdir"
++	  $run $mkdir "$xdir"
+ 	  status=$?
+ 	  if test $status -ne 0 && test ! -d "$xdir"; then
+ 	    exit $status
+@@ -3770,25 +4254,39 @@
+       if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then
+ 	eval cmds=\"$old_archive_from_new_cmds\"
+       else
+-	# Ensure that we have .o objects in place in case we decided
+-	# not to build a shared library, and have fallen back to building
+-	# static libs even though --disable-static was passed!
+-	for oldobj in $oldobjs; do
+-	  if test ! -f $oldobj; then
+-	    xdir=`$echo "X$oldobj" | $Xsed -e 's%/[^/]*$%%'`
+-	    if test "X$xdir" = "X$oldobj"; then
+-	      xdir="."
+-	    else
+-	      xdir="$xdir"
+-	    fi
+-	    baseobj=`$echo "X$oldobj" | $Xsed -e 's%^.*/%%'`
+-	    obj=`$echo "X$baseobj" | $Xsed -e "$o2lo"`
+-	    $show "(cd $xdir && ${LN_S} $obj $baseobj)"
+-	    $run eval '(cd $xdir && ${LN_S} $obj $baseobj)' || exit $?
+-	  fi
+-	done
+-
+ 	eval cmds=\"$old_archive_cmds\"
++
++        if len=`expr "X$cmds" : ".*"` &&
++             test $len -le $max_cmd_len || test $max_cmd_len -le -1; then
++          :
++        else
++          # the command line is too long to link in one step, link in parts
++          $echo "using piecewise archive linking..."
++	  save_RANLIB=$RANLIB
++	  RANLIB=:
++          objlist=
++          concat_cmds=
++          save_oldobjs=$oldobjs
++          for obj in $save_oldobjs
++          do
++            oldobjs="$objlist $obj"
++            objlist="$objlist $obj"
++            eval test_cmds=\"$old_archive_cmds\"
++            if len=`expr "X$test_cmds" : ".*"` &&
++               test $len -le $max_cmd_len; then
++              :
++            else
++              # the above command should be used before it gets too long
++              oldobjs=$objlist
++	      test -z "$concat_cmds" || concat_cmds=$concat_cmds~
++              eval concat_cmds=\"\${concat_cmds}$old_archive_cmds\"
++              objlist=
++            fi
++          done
++	  RANLIB=$save_RANLIB
++          oldobjs=$objlist
++          eval cmds=\"\$concat_cmds~$old_archive_cmds\"
++        fi
+       fi
+       IFS="${IFS= 	}"; save_ifs="$IFS"; IFS='~'
+       for cmd in $cmds; do
+@@ -4315,7 +4813,7 @@
+ 	# remove .exe since cygwin /usr/bin/install will append another
+ 	# one anyways
+ 	case $install_prog,$host in
+-	/usr/bin/install*,*cygwin*)
++	*/usr/bin/install*,*cygwin*)
+ 	  case $file:$destfile in
+ 	  *.exe:*.exe)
+ 	    # this is ok
+@@ -4368,11 +4866,10 @@
+     if test -n "$current_libdirs"; then
+       # Maybe just do a dry run.
+       test -n "$run" && current_libdirs=" -n$current_libdirs"
+-      exec $SHELL $0 --finish$current_libdirs
+-      exit 1
++      exec_cmd='$SHELL $0 --finish$current_libdirs'
++    else
++      exit 0
+     fi
+-
+-    exit 0
+     ;;
+ 
+   # libtool finish mode
+@@ -4410,7 +4907,7 @@
+     fi
+ 
+     # Exit here if they wanted silent mode.
+-    test "$show" = ":" && exit 0
++    test "$show" = : && exit 0
+ 
+     echo "----------------------------------------------------------------------"
+     echo "Libraries have been installed in:"
+@@ -4575,11 +5072,8 @@
+ 	LANG="$save_LANG"; export LANG
+       fi
+ 
+-      # Now actually exec the command.
+-      eval "exec \$cmd$args"
+-
+-      $echo "$modename: cannot exec \$cmd$args"
+-      exit 1
++      # Now prepare to actually exec the command.
++      exec_cmd='"$cmd"$args'
+     else
+       # Display what would be done.
+       if test -n "$shlibpath_var"; then
+@@ -4702,9 +5196,23 @@
+ 	;;
+ 
+       *.lo)
+-	if test "$build_old_libs" = yes; then
+-	  oldobj=`$echo "X$name" | $Xsed -e "$lo2o"`
+-	  rmfiles="$rmfiles $dir/$oldobj"
++	# Possibly a libtool object, so verify it.
++	if (sed -e '2q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
++
++          # Read the .lo file
++          . $dir/$name
++
++	  # Add PIC object to the list of files to remove.
++          if test -n "$pic_object" \
++             && test "$pic_object" != none; then
++	    rmfiles="$rmfiles $dir/$pic_object"
++          fi
++
++	  # Add non-PIC object to the list of files to remove.
++          if test -n "$non_pic_object" \
++             && test "$non_pic_object" != none; then
++	    rmfiles="$rmfiles $dir/$non_pic_object"
++          fi
+ 	fi
+ 	;;
+ 
+@@ -4744,11 +5252,18 @@
+     ;;
+   esac
+ 
+-  $echo "$modename: invalid operation mode \`$mode'" 1>&2
+-  $echo "$generic_help" 1>&2
+-  exit 1
++  if test -z "$exec_cmd"; then
++    $echo "$modename: invalid operation mode \`$mode'" 1>&2
++    $echo "$generic_help" 1>&2
++    exit 1
++  fi
+ fi # test -z "$show_help"
+ 
++if test -n "$exec_cmd"; then
++  eval exec $exec_cmd
++  exit 1
++fi
++
+ # We need to display help for each of the modes.
+ case $mode in
+ "") $echo \
+@@ -4765,6 +5280,7 @@
+     --mode=MODE       use operation mode MODE [default=inferred from MODE-ARGS]
+     --quiet           same as \`--silent'
+     --silent          don't print informational messages
++    --tag=TAG         use configuration variables from tag TAG
+     --version         print version information
+ 
+ MODE must be one of the following:
+@@ -4890,6 +5406,7 @@
+   -no-install       link a not-installable executable
+   -no-undefined     declare that a library does not refer to external symbols
+   -o OUTPUT-FILE    create OUTPUT-FILE from the specified objects
++  -objectlist FILE  Use a list of object files found in FILE to specify objects
+   -release RELEASE  specify package release information
+   -rpath LIBDIR     the created library will eventually be installed in LIBDIR
+   -R[ ]LIBDIR       add LIBDIR to the runtime path of programs and libraries
+@@ -4939,6 +5456,26 @@
+ $echo "Try \`$modename --help' for more information about other modes."
+ 
+ exit 0
++
++# The TAGs below are defined such that we never get into a situation
++# in which we disable both kinds of libraries.  Given conflicting
++# choices, we go for a static library, that is the most portable,
++# since we can't tell whether shared libraries were disabled because
++# the user asked for that or because the platform doesn't support
++# them.  This is particularly important on AIX, because we don't
++# support having both static and shared libraries enabled at the same
++# time on that platform, so we default to a shared-only configuration.
++# If a disable-shared tag is given, we'll fallback to a static-only
++# configuration.  But we'll never go from static-only to shared-only.
++
++# ### BEGIN LIBTOOL TAG CONFIG: disable-shared
++build_libtool_libs=no
++build_old_libs=yes
++# ### END LIBTOOL TAG CONFIG: disable-shared
++
++# ### BEGIN LIBTOOL TAG CONFIG: disable-static
++build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac`
++# ### END LIBTOOL TAG CONFIG: disable-static
+ 
+ # Local Variables:
+ # mode:shell-script
+diff -ruN heimdal-0.4c-old/tools/Makefile.in heimdal-0.4c/tools/Makefile.in
+--- heimdal-0.4c-old/tools/Makefile.in	Fri Jul 20 05:42:56 2001
++++ heimdal-0.4c/tools/Makefile.in	Sun Jul 29 15:42:55 2001
+@@ -1,4 +1,4 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.4a from Makefile.am
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ # Free Software Foundation, Inc.
+@@ -69,17 +69,21 @@
+ CATMAN = @CATMAN@
+ CATMANEXT = @CATMANEXT@
+ CC = @CC@
++COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
+ EXEEXT = @EXEEXT@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+@@ -96,6 +100,7 @@
+ LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
++LIB_sl = @LIB_sl@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+@@ -136,7 +141,7 @@
+ 
+ CP = cp
+ 
+-COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
++COMPILE_ET = @COMPILE_ET@
+ 
+ buildinclude = $(top_builddir)/include
+ 
+@@ -179,14 +184,20 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_ss = @INCLUDE_ss@
++LIB_sl = @LIB_sl@
++LIB_ss = @LIB_ss@
++
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la
+ @KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
+ 
+ @DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+@@ -223,7 +234,7 @@
+ GZIP_ENV = --best
+ all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
++.SUFFIXES: .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .et .h .x
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+ 	cd $(top_srcdir) && $(AUTOMAKE) --foreign tools/Makefile
+ 
--- heimdal-0.6.3.orig/debian/patches-0.4c/031_autotools
+++ heimdal-0.6.3/debian/patches-0.4c/031_autotools
@@ -0,0 +1,9 @@
+--- heimdal-0.4c/ltmain.sh.orig	Fri May 11 05:34:59 2001
++++ heimdal-0.4c/ltmain.sh	Thu May 31 02:14:09 2001
+@@ -1862,6 +1862,7 @@
+ 	    else
+ 	      # We cannot seem to hardcode it, guess we'll fake it.
+ 	      add_dir="-L$libdir"
++	      test -d $ladir/.libs && add_dir="$add_dir -L$ladir/.libs"
+ 	      add="-l$name"
+ 	    fi
--- heimdal-0.6.3.orig/debian/patches-0.4e/011_sharedlibs
+++ heimdal-0.6.3/debian/patches-0.4e/011_sharedlibs
@@ -0,0 +1,142 @@
+diff -ruN heimdal-0.4e-old/cf/Makefile.am.common heimdal-0.4e/cf/Makefile.am.common
+--- heimdal-0.4e-old/cf/Makefile.am.common	Sat Sep  1 21:12:18 2001
++++ heimdal-0.4e/cf/Makefile.am.common	Thu Nov 15 11:59:31 2001
+@@ -169,8 +169,7 @@
+ endif
+ 
+ if KRB5
+-LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
+-	$(top_builddir)/lib/asn1/libasn1.la
++LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
+ LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ endif
+ 
+diff -ruN heimdal-0.4e-old/configure.in heimdal-0.4e/configure.in
+--- heimdal-0.4e-old/configure.in	Thu Sep  6 22:22:03 2001
++++ heimdal-0.4e/configure.in	Thu Nov 15 12:01:18 2001
+@@ -86,14 +86,17 @@
+ 	LIB_openldap="-R $openldap_libdir $LIB_openldap"
+ fi
+ 
+-AC_TEST_PACKAGE_NEW(krb4,[#include <krb.h>],-lkrb,-ldes,/usr/athena, KRB4)
++AC_TEST_PACKAGE_NEW(krb4,[#include <krb.h>],-lkrb,,,KRB4)
++if test "$krb4_libdir" = "/usr/lib"; then
++  krb4_libdir="";
++fi
+ 
+ LIB_kdb=
+ if test "$with_krb4" != "no"; then
+ 	save_CFLAGS="$CFLAGS"
+ 	CFLAGS="$CFLAGS $INCLUDE_krb4"
+ 	save_LIBS="$LIBS"
+-	LIBS="$LIB_krb4 -ldes $LIBS"
++	LIBS="$LIB_krb4 $LIBS"
+ 	EXTRA_LIB45=lib45.a
+ 	AC_SUBST(EXTRA_LIB45)
+ 	AC_CACHE_CHECK(for four valued krb_put_int, ac_cv_func_krb_put_int_four,
+@@ -156,7 +159,7 @@
+ 	LIBS="$save_LIBS"
+ 	CFLAGS="$save_CFLAGS"
+ 	LIB_kdb="-lkdb -lkrb"
+-	if test "$krb4_libdir"; then
++	if test "$krb4_libdir" != ""; then
+ 		LIB_krb4="-R $krb4_libdir $LIB_krb4"
+ 		LIB_kdb="-R $krb4_libdir -L$krb4_libdir $LIB_kdb"
+ 	fi
+diff -ruN heimdal-0.4e-old/lib/asn1/Makefile.am heimdal-0.4e/lib/asn1/Makefile.am
+--- heimdal-0.4e-old/lib/asn1/Makefile.am	Mon Sep  3 02:56:45 2001
++++ heimdal-0.4e/lib/asn1/Makefile.am	Thu Nov 15 11:59:31 2001
+@@ -6,6 +6,8 @@
+ 
+ lib_LTLIBRARIES = libasn1.la
+ libasn1_la_LDFLAGS = -version-info 5:0:0
++libasn1_la_LIBADD = \
++	$(top_builddir)/lib/com_err/libcom_err.la
+ 
+ libasn1_la_LIBADD = @LIB_com_err@
+ 
+diff -ruN heimdal-0.4e-old/lib/editline/Makefile.am heimdal-0.4e/lib/editline/Makefile.am
+--- heimdal-0.4e-old/lib/editline/Makefile.am	Wed Nov 15 10:22:29 2000
++++ heimdal-0.4e/lib/editline/Makefile.am	Thu Nov 15 11:59:31 2001
+@@ -38,13 +38,13 @@
+ 	unix.h \
+ 	$(EXTRA_SOURCE)
+ 
+-libeditline_la_LDFLAGS = -static
++libeditline_la_LDFLAGS = -no-undefined
+ 
+ EXTRA_SOURCE = $(ES) 
+ 
+ libel_compat_la_SOURCES = edit_compat.c
+ 
+-libel_compat_la_LDFLAGS = -static
++libel_compat_la_LDFLAGS = -no-undefined
+ 
+ EXTRA_DIST = $(man_MANS)
+ 
+diff -ruN heimdal-0.4e-old/lib/krb5/Makefile.am heimdal-0.4e/lib/krb5/Makefile.am
+--- heimdal-0.4e-old/lib/krb5/Makefile.am	Thu Sep  6 22:19:16 2001
++++ heimdal-0.4e/lib/krb5/Makefile.am	Thu Nov 15 11:59:31 2001
+@@ -11,16 +11,15 @@
+ check_PROGRAMS = n-fold-test string-to-key-test derived-key-test store-test
+ TESTS = n-fold-test string-to-key-test derived-key-test store-test 
+ 
+-LDADD = libkrb5.la \
+-	$(LIB_des) \
+-	$(top_builddir)/lib/asn1/libasn1.la \
+-	$(LIB_roken)
++LDADD = libkrb5.la
+ 
+ libkrb5_la_LIBADD = \
+-	../com_err/error.lo ../com_err/com_err.lo \
++	$(LIB_res_search) \
++	$(top_builddir)/lib/com_err/libcom_err.la \
+ 	$(LIB_des) \
+ 	$(top_builddir)/lib/asn1/libasn1.la \
+-	$(LIB_roken)
++	$(LIB_roken) \
++	$(LIB_dbopen)
+ 
+ lib_LTLIBRARIES = libkrb5.la
+ 
+diff -ruN heimdal-0.4e-old/lib/vers/Makefile.am heimdal-0.4e/lib/vers/Makefile.am
+--- heimdal-0.4e-old/lib/vers/Makefile.am	Fri Aug 24 08:41:03 2001
++++ heimdal-0.4e/lib/vers/Makefile.am	Mon Nov 19 17:18:52 2001
+@@ -14,11 +14,12 @@
+ if KRB5
+ ## need to link with des here; otherwise, if krb4 is shared the link
+ ## will fail with unresolved references
+-make_print_version_LDADD = $(LIB_krb4) -ldes
++make_print_version_LDADD = $(LIB_krb4)
+ endif
+ endif
+ 
+ libvers_la_SOURCES	= print_version.c
++libvers_la_LDFLAGS	= -no-undefined
+ 
+ print_version.lo: print_version.h
+ 
+diff -ruN heimdal-0.4e-old/tools/krb5-config.in heimdal-0.4e/tools/krb5-config.in
+--- heimdal-0.4e-old/tools/krb5-config.in	Mon Jan 29 17:56:51 2001
++++ heimdal-0.4e/tools/krb5-config.in	Thu Nov 15 11:59:31 2001
+@@ -89,6 +89,9 @@
+ if test "$do_libs" = "yes"; then
+     lib_flags="-L${libdir}"
+     case $library in
++    krb5)
++	lib_flags="$lib_flags -lkrb5"
++	;;
+     gssapi)
+ 	lib_flags="$lib_flags -lgssapi"
+ 	;;
+@@ -99,8 +102,8 @@
+ 	lib_flags="$lib_flags -lkadm5srv"
+ 	;;
+     esac
+-    lib_flags="$lib_flags -lkrb5 -lasn1 @LIB_des_appl@ -lroken"
+-    lib_flags="$lib_flags @LIB_crypt@ @LIB_dbopen@ @LIBS@"
++#    lib_flags="$lib_flags -lkrb5 -lasn1 @LIB_des_appl@ -lroken"
++#    lib_flags="$lib_flags @LIB_crypt@ @LIB_dbopen@ @LIBS@"
+     echo $lib_flags
+ fi
+ if test "$do_cflags" = "yes"; then
--- heimdal-0.6.3.orig/debian/patches-0.4e/001_kstash
+++ heimdal-0.6.3/debian/patches-0.4e/001_kstash
@@ -0,0 +1,69 @@
+From nobody Wed Dec  5 16:05:13 2001
+Return-Path: <nectar@nectar.com>
+Delivered-To: bam-debian@snoopy.apana.org.au
+Received: from master.debian.org (master.debian.org [216.234.231.5])
+	by snoopy.apana.org.au (Postfix) with ESMTP id AC8771CF9F
+	for <bam-debian@snoopy.apana.org.au>; Fri, 30 Nov 2001 15:19:00 +1100 (EST)
+Received: from gw.nectar.com [208.42.49.153] 
+	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
+	id 169f8g-0004gj-00; Thu, 29 Nov 2001 22:19:02 -0600
+Received: from madman.nectar.com (madman.nectar.com [10.0.1.111])
+	by gw.nectar.com (Postfix) with ESMTP
+	id 956332F; Thu, 29 Nov 2001 22:19:01 -0600 (CST)
+Received: (from nectar@localhost)
+	by madman.nectar.com (8.11.6/8.11.3) id fAU4ItC53052;
+	Thu, 29 Nov 2001 22:18:55 -0600 (CST)
+	(envelope-from nectar)
+Date: Thu, 29 Nov 2001 22:18:55 -0600
+From: "Jacques A. Vidrine" <n@nectar.com>
+To: Brian May <bam@debian.org>
+Cc: heimdal-bugs@pdc.kth.se,
+	"Mark A. Hershberger" <mah@everybody.org>,
+	120502-forwarded@bugs.debian.org
+Subject: Re: Bug#120502: heimdal-kdc; kstash segfault w/o krb5.conf
+Message-ID: <20011130041855.GD52946@madman.nectar.com>
+Mail-Followup-To: "Jacques A. Vidrine" <n@nectar.com>,
+	Brian May <bam@debian.org>, heimdal-bugs@pdc.kth.se,
+	"Mark A. Hershberger" <mah@everybody.org>,
+	120502-forwarded@bugs.debian.org
+References: <E166YKW-00017n-00@mah.mcdermott.com> <20011126094806.A10424@snoopy.apana.org.au>
+Mime-Version: 1.0
+Content-Type: text/plain; charset=us-ascii
+Content-Disposition: inline
+In-Reply-To: <20011126094806.A10424@snoopy.apana.org.au>
+User-Agent: Mutt/1.3.23.1i
+X-Url: http://www.nectar.com/
+
+On Mon, Nov 26, 2001 at 09:48:06AM +1100, Brian May wrote:
+> (please keep CCs in reply for tracking by the Debian bug reporting
+> system - thanks)
+> 
+> Hello,
+> 
+> I received this bug report on kstash:
+> 
+> > Without a krb5.conf, kstash segfaults.
+> 
+
+Thanks for your report!
+Would you mind trying the following patch?
+
+--- heimdal-0.4e/lib/hdb/mkey.c	2001/09/18 07:42:09
++++ heimdal-0.4e/lib/hdb/mkey.c	2001/11/30 04:17:42
+@@ -50,7 +50,8 @@
+     struct hdb_master_key_data *ptr;
+     while(mkey) {
+ 	krb5_kt_free_entry(context, &mkey->keytab);
+-	krb5_crypto_destroy(context, mkey->crypto);
++	if (mkey->crypto)
++	    krb5_crypto_destroy(context, mkey->crypto);
+ 	ptr = mkey;
+ 	mkey = mkey->next;
+ 	free(ptr);
+
+
+-- 
+Jacques A. Vidrine <n@nectar.com>                   http://www.nectar.com/
+NTT/Verio SME           .      FreeBSD UNIX      .        Heimdal Kerberos
+jvidrine@verio.net      .   nectar@FreeBSD.org   .           nectar@kth.se
+
--- heimdal-0.6.3.orig/debian/patches-0.4e/002_sync
+++ heimdal-0.6.3/debian/patches-0.4e/002_sync
@@ -0,0 +1,13 @@
+diff -ruN heimdal-0.4e-old/lib/krb5/get_in_tkt.c heimdal-0.4e/lib/krb5/get_in_tkt.c
+--- heimdal-0.4e-old/lib/krb5/get_in_tkt.c	Tue Jul  3 08:30:48 2001
++++ heimdal-0.4e/lib/krb5/get_in_tkt.c	Tue Aug 20 13:54:16 2002
+@@ -224,7 +224,8 @@
+     /* set kdc-offset */
+ 
+     krb5_timeofday (context, &sec_now);
+-    if (context->kdc_sec_offset == 0
++    if (rep->enc_part.flags.initial
++	&& context->kdc_sec_offset == 0
+ 	&& krb5_config_get_bool (context, NULL,
+ 				 "libdefaults",
+ 				 "kdc_timesync",
--- heimdal-0.6.3.orig/debian/patches-0.4e/020_maintainermode
+++ heimdal-0.6.3/debian/patches-0.4e/020_maintainermode
@@ -0,0 +1,11 @@
+diff -ruN heimdal-0.4e-old/configure.in heimdal-0.4e/configure.in
+--- heimdal-0.4e-old/configure.in	Sat Jun 15 19:31:11 2002
++++ heimdal-0.4e/configure.in	Sat Jun 15 19:31:59 2002
+@@ -2,6 +2,7 @@
+ AC_REVISION($Revision: 1.302 $)
+ AC_PREREQ(2.52)
+ AC_INIT(heimdal, 0.4e, heimdal-bugs@pdc.kth.se)
++AM_MAINTAINER_MODE
+ AM_CONFIG_HEADER(include/config.h)
+ 
+ dnl Checks for programs.
--- heimdal-0.6.3.orig/debian/patches-0.4e/012_sharedlibs
+++ heimdal-0.6.3/debian/patches-0.4e/012_sharedlibs
@@ -0,0 +1,426 @@
+diff -ruN heimdal-0.4e-old/acconfig.h heimdal-0.4e/acconfig.h
+--- heimdal-0.4e-old/acconfig.h	Thu Aug  9 18:41:44 2001
++++ heimdal-0.4e/acconfig.h	Tue Apr 23 14:04:11 2002
+@@ -36,7 +36,7 @@
+ #endif
+ 
+ #define RCSID(msg) \
+-static /**/const char *const rcsid[] = { (const char *)rcsid, "\100(#)" msg }
++static /**/const char *const rcsid[] = { (const char *)rcsid, "@(#)" msg }
+ 
+ #undef PROTOTYPES
+ 
+diff -ruN heimdal-0.4e-old/aclocal.m4 heimdal-0.4e/aclocal.m4
+--- heimdal-0.4e-old/aclocal.m4	Thu Sep  6 22:22:21 2001
++++ heimdal-0.4e/aclocal.m4	Mon Apr 22 19:15:49 2002
+@@ -26,7 +26,7 @@
+ AC_DEFUN([upcase],[`echo $1 | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`])dnl
+ AC_DEFUN([rk_CONFIG_HEADER],[AH_TOP([#ifndef RCSID
+ #define RCSID(msg) \
+-static /**/const char *const rcsid[] = { (const char *)rcsid, "\100(#)" msg }
++static /**/const char *const rcsid[] = { (const char *)rcsid, "@(#)" msg }
+ #endif
+ 
+ #undef BINDIR 
+diff -ruN heimdal-0.4e-old/admin/Makefile.am heimdal-0.4e/admin/Makefile.am
+--- heimdal-0.4e-old/admin/Makefile.am	Tue Aug 28 18:31:19 2001
++++ heimdal-0.4e/admin/Makefile.am	Mon Apr 22 17:18:48 2002
+@@ -24,6 +24,6 @@
+ 	$(top_builddir)/lib/krb5/libkrb5.la \
+ 	$(LIB_des) \
+ 	$(top_builddir)/lib/asn1/libasn1.la \
+-	$(top_builddir)/lib/sl/libsl.la \
++	$(LIB_sl) \
+ 	$(LIB_readline) \
+ 	$(LIB_roken)
+diff -ruN heimdal-0.4e-old/appl/ftp/ftp/ftp_locl.h heimdal-0.4e/appl/ftp/ftp/ftp_locl.h
+--- heimdal-0.4e-old/appl/ftp/ftp/ftp_locl.h	Thu Aug 23 06:30:19 2001
++++ heimdal-0.4e/appl/ftp/ftp/ftp_locl.h	Mon Apr 22 18:42:42 2002
+@@ -128,6 +128,7 @@
+ #include "pathnames.h"
+ 
+ #include "roken.h"
++#define	GLOB_QUOTE	0x0400
+ #include "security.h"
+ 
+ /* des_read_pw_string */
+diff -ruN heimdal-0.4e-old/appl/ftp/ftpd/ftpd_locl.h heimdal-0.4e/appl/ftp/ftpd/ftpd_locl.h
+--- heimdal-0.4e-old/appl/ftp/ftpd/ftpd_locl.h	Wed Sep 20 00:16:44 2000
++++ heimdal-0.4e/appl/ftp/ftpd/ftpd_locl.h	Mon Apr 22 18:45:02 2002
+@@ -135,6 +135,8 @@
+ 
+ #include <err.h>
+ #include "roken.h"
++#define	GLOB_QUOTE	0x0400
++#define GLOB_LIMIT	0x1000	
+ 
+ #include "pathnames.h"
+ #include "extern.h"
+diff -ruN heimdal-0.4e-old/appl/ftp/ftpd/popen.c heimdal-0.4e/appl/ftp/ftpd/popen.c
+--- heimdal-0.4e-old/appl/ftp/ftpd/popen.c	Tue Jun 19 20:00:25 2001
++++ heimdal-0.4e/appl/ftp/ftpd/popen.c	Mon Apr 22 18:45:51 2002
+@@ -62,6 +62,8 @@
+ #include <string.h>
+ #include <unistd.h>
+ #include <roken.h>
++#define GLOB_QUOTE      0x0400
++#define GLOB_LIMIT      0x1000
+ #include "extern.h"
+ 
+ 
+diff -ruN heimdal-0.4e-old/appl/otp/Makefile.am heimdal-0.4e/appl/otp/Makefile.am
+--- heimdal-0.4e-old/appl/otp/Makefile.am	Tue Aug 28 18:31:21 2001
++++ heimdal-0.4e/appl/otp/Makefile.am	Mon Apr 22 17:19:52 2002
+@@ -12,4 +12,4 @@
+ man_MANS = otp.1  otpprint.1
+ 
+ LDADD = \
+-	$(top_builddir)/lib/otp/libotp.la
++	$(LIB_otp)
+diff -ruN heimdal-0.4e-old/cf/Makefile.am.common heimdal-0.4e/cf/Makefile.am.common
+--- heimdal-0.4e-old/cf/Makefile.am.common	Fri Apr 19 09:22:39 2002
++++ heimdal-0.4e/cf/Makefile.am.common	Mon Apr 22 18:19:45 2002
+@@ -55,6 +55,17 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++LIB_roken = @LIB_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ LEXLIB = @LEXLIB@
+ 
+ install-suid-programs:
+diff -ruN heimdal-0.4e-old/cf/krb-readline.m4 heimdal-0.4e/cf/krb-readline.m4
+--- heimdal-0.4e-old/cf/krb-readline.m4	Wed Nov 15 11:47:08 2000
++++ heimdal-0.4e/cf/krb-readline.m4	Fri Apr 19 09:22:40 2002
+@@ -28,16 +28,15 @@
+ 	:
+ elif test "$ac_cv_func_el_init" = yes; then
+ 	ac_foo=yes
++	DIR_readline="editline"
+ 	LIB_readline="\$(top_builddir)/lib/editline/libel_compat.la $LIB_el_init"
+ else
++	DIR_readline="editline"
+ 	LIB_readline='$(top_builddir)/lib/editline/libeditline.la'
+ fi
+ AM_CONDITIONAL(el_compat, test "$ac_foo" = yes)
+-if test "$readline_libdir"; then
+-	LIB_readline="-rpath $readline_libdir $LIB_readline"
+-fi
+ LIB_readline="$LIB_readline \$(LIB_tgetent)"
+ AC_DEFINE(HAVE_READLINE, 1, 
+ 	[Define if you have a readline compatible library.])dnl
+ 
+-])
+\ No newline at end of file
++])
+diff -ruN heimdal-0.4e-old/cf/misc.m4 heimdal-0.4e/cf/misc.m4
+--- heimdal-0.4e-old/cf/misc.m4	Thu Jul 20 01:04:00 2000
++++ heimdal-0.4e/cf/misc.m4	Mon Apr 22 12:30:03 2002
+@@ -3,7 +3,7 @@
+ AC_DEFUN([upcase],[`echo $1 | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`])dnl
+ AC_DEFUN([rk_CONFIG_HEADER],[AH_TOP([#ifndef RCSID
+ #define RCSID(msg) \
+-static /**/const char *const rcsid[] = { (const char *)rcsid, "\100(#)" msg }
++static /**/const char *const rcsid[] = { (const char *)rcsid, "@(#)" msg }
+ #endif
+ 
+ #undef BINDIR 
+@@ -24,4 +24,4 @@
+ #define MaxHostNameLen (64+4)
+ #define MaxPathLen (1024+4)
+ 
+-])])
+\ No newline at end of file
++])])
+diff -ruN heimdal-0.4e-old/cf/roken.m4 heimdal-0.4e/cf/roken.m4
+--- heimdal-0.4e-old/cf/roken.m4	Sun Jul  9 01:50:34 2000
++++ heimdal-0.4e/cf/roken.m4	Mon Apr 22 17:35:55 2002
+@@ -34,10 +34,10 @@
+ 
+ AC_TRY_CPP(
+ [#include <roken.h>
+-#if ROKEN_VERSION < $1
+-#error old roken version, should be $1
+-fail
+-#endif
++//#if ROKEN_VERSION < $1
++//#error old roken version, should be $1
++//fail
++//#endif
+ ],[roken_installed=yes; break])
+ 
+ AC_MSG_RESULT($roken_installed)
+@@ -50,12 +50,13 @@
+   DIR_roken="roken"
+   LIB_roken='$4'
+   CPPFLAGS_roken='$5'
+-  AC_CONFIG_SUBDIRS(lib/roken)
++dnl  AC_CONFIG_SUBDIRS(lib/roken)
+ else
+   LIB_roken="$i/lib/libroken.la"
+   CPPFLAGS_roken="-I$i/include"
+ fi
+ 
++AC_FIND_FUNC_NO_LIBS(crypt, crypt)dnl
+ LIB_roken="${LIB_roken} \$(LIB_crypt) \$(LIB_dbopen)"
+ 
+ AC_SUBST(LIB_roken)dnl
+diff -ruN heimdal-0.4e-old/cf/test-package.m4 heimdal-0.4e/cf/test-package.m4
+--- heimdal-0.4e-old/cf/test-package.m4	Fri Dec 15 15:54:24 2000
++++ heimdal-0.4e/cf/test-package.m4	Fri Apr 19 09:22:40 2002
+@@ -39,7 +39,7 @@
+ header_dirs=
+ lib_dirs=
+ d='$5'
+-for i in $d; do
++for i in $d /usr; do
+ 	header_dirs="$header_dirs $i/include"
+ 	lib_dirs="$lib_dirs $i/lib$abilibdirext"
+ done
+@@ -72,6 +72,7 @@
+ if test "$ires" -a "$lres" -a "$with_$1" != "no"; then
+ 	$1_includedir="$ires"
+ 	$1_libdir="$lres"
++	DIR_$1=
+ 	INCLUDE_$1="-I$$1_includedir"
+ 	LIB_$1="-L$$1_libdir $3"
+ 	m4_ifval([$6],
+@@ -80,6 +81,7 @@
+ 	with_$1=yes
+ 	AC_MSG_RESULT([headers $ires, libraries $lres])
+ else
++	DIR_$1=
+ 	INCLUDE_$1=
+ 	LIB_$1=
+ 	with_$1=no
+@@ -88,6 +90,7 @@
+ dnl m4_ifval([$6],
+ dnl 	AM_CONDITIONAL($6, test "$with_$1" = yes)
+ dnl 	AM_CONDITIONAL(upcase($1), test "$with_$1" = yes))
++AC_SUBST(DIR_$1)
+ AC_SUBST(INCLUDE_$1)
+ AC_SUBST(LIB_$1)
+ ])
+diff -ruN heimdal-0.4e-old/configure.in heimdal-0.4e/configure.in
+--- heimdal-0.4e-old/configure.in	Fri Apr 19 09:22:39 2002
++++ heimdal-0.4e/configure.in	Mon Apr 22 18:16:24 2002
+@@ -72,9 +72,10 @@
+ 
+ rk_DB
+ 
+-dnl AC_ROKEN(10,[/usr/heimdal /usr/athena],[lib/roken],[$(top_builddir)/lib/roken/libroken.la],[-I$(top_builddir)/lib/roken -I$(top_srcdir)/lib/roken])
+-
+-rk_ROKEN(lib/roken)
++AC_ROKEN(10,[/usr/heimdal /usr/athena],[lib/roken],[$(top_builddir)/lib/roken/libroken.la],[-I$(top_builddir)/lib/roken -I$(top_srcdir)/lib/roken])
++if ! test "$roken_installed" = yes; then
++	rk_ROKEN(lib/roken)
++fi
+ LIB_roken="\$(top_builddir)/lib/vers/libvers.la $LIB_roken"
+ 
+ AC_TEST_PACKAGE_NEW(openldap,
+@@ -213,6 +214,26 @@
+  #include <readline.h>],-lreadline,,, READLINE)
+ 
+ AC_TEST_PACKAGE_NEW(hesiod,[#include <hesiod.h>],-lhesiod,,, HESIOD)
++
++AC_TEST_PACKAGE_NEW(sl,,-lsl,,,SL)
++if ! test "$with_sl" = yes; then
++	DIR_sl="sl"
++	LIB_sl='$(top_builddir)/lib/sl/libsl.la'
++fi
++AC_TEST_PACKAGE_NEW(ss,,-lss,,,SS)
++if ! test "$with_sl" = yes; then
++	DIR_sl="sl"
++	LIB_sl='$(top_builddir)/lib/sl/libsl.la'
++	DIR_ss=""
++	LIB_ss='$(top_builddir)/lib/sl/libss.la'
++fi
++if test "$otp" = "yes"; then
++  AC_TEST_PACKAGE_NEW(otp,,-lotp,,,OTP)
++  if ! test "$with_otp" = yes; then
++	DIR_otp="otp"
++	LIB_otp='$(top_builddir)/lib/otp/libotp.la'
++  fi
++fi
+ 
+ KRB_C_BIGENDIAN
+ AC_C_INLINE
+diff -ruN heimdal-0.4e-old/include/config.h.in heimdal-0.4e/include/config.h.in
+--- heimdal-0.4e-old/include/config.h.in	Thu Sep  6 22:39:55 2001
++++ heimdal-0.4e/include/config.h.in	Mon Apr 22 18:06:07 2002
+@@ -2,7 +2,7 @@
+ 
+ #ifndef RCSID
+ #define RCSID(msg) \
+-static /**/const char *const rcsid[] = { (const char *)rcsid, "\100(#)" msg }
++static /**/const char *const rcsid[] = { (const char *)rcsid, "@(#)" msg }
+ #endif
+ 
+ #undef BINDIR 
+@@ -1258,7 +1258,7 @@
+ #endif
+ 
+ #define RCSID(msg) \
+-static /**/const char *const rcsid[] = { (const char *)rcsid, "\100(#)" msg }
++static /**/const char *const rcsid[] = { (const char *)rcsid, "@(#)" msg }
+ 
+ #undef PROTOTYPES
+ 
+diff -ruN heimdal-0.4e-old/kadmin/Makefile.am heimdal-0.4e/kadmin/Makefile.am
+--- heimdal-0.4e-old/kadmin/Makefile.am	Tue Aug 28 18:31:26 2001
++++ heimdal-0.4e/kadmin/Makefile.am	Mon Apr 22 17:20:22 2002
+@@ -62,7 +62,7 @@
+ kadmin_LDADD = \
+ 	$(top_builddir)/lib/kadm5/libkadm5clnt.la \
+ 	$(top_builddir)/lib/kadm5/libkadm5srv.la \
+-	$(top_builddir)/lib/sl/libsl.la \
++	$(LIB_sl) \
+ 	$(LIB_readline) \
+ 	$(LDADD_common) \
+ 	$(LIB_dlopen)
+diff -ruN heimdal-0.4e-old/lib/Makefile.am heimdal-0.4e/lib/Makefile.am
+--- heimdal-0.4e-old/lib/Makefile.am	Wed Aug 29 04:44:41 2001
++++ heimdal-0.4e/lib/Makefile.am	Mon Apr 22 18:17:53 2002
+@@ -5,12 +5,9 @@
+ if KRB4
+ dir_45 = 45
+ endif
+-if OTP
+-dir_otp = otp
+-endif
+ if DCE
+ dir_dce = kdfs
+ endif
+ 
+-SUBDIRS = @DIR_roken@ vers editline @DIR_com_err@ sl asn1 @DIR_des@ krb5 \
+-	kafs hdb kadm5 gssapi auth $(dir_45) $(dir_otp) $(dir_dce)
++SUBDIRS = @DIR_roken@ vers @DIR_readline@ @DIR_com_err@ @DIR_sl@ asn1 @DIR_des@ krb5 \
++	kafs hdb kadm5 gssapi auth $(dir_45) @DIR_otp@ $(dir_dce)
+diff -ruN heimdal-0.4e-old/lib/asn1/Makefile.am heimdal-0.4e/lib/asn1/Makefile.am
+--- heimdal-0.4e-old/lib/asn1/Makefile.am	Fri Apr 19 09:22:39 2002
++++ heimdal-0.4e/lib/asn1/Makefile.am	Mon Apr 22 17:50:34 2002
+@@ -7,7 +7,7 @@
+ lib_LTLIBRARIES = libasn1.la
+ libasn1_la_LDFLAGS = -version-info 5:0:0
+ libasn1_la_LIBADD = \
+-	$(top_builddir)/lib/com_err/libcom_err.la
++	$(LIB_com_err)
+ 
+ libasn1_la_LIBADD = @LIB_com_err@
+ 
+diff -ruN heimdal-0.4e-old/lib/auth/afskauthlib/Makefile.am heimdal-0.4e/lib/auth/afskauthlib/Makefile.am
+--- heimdal-0.4e-old/lib/auth/afskauthlib/Makefile.am	Sun Jul 15 14:21:07 2001
++++ heimdal-0.4e/lib/auth/afskauthlib/Makefile.am	Mon Apr 22 17:20:54 2002
+@@ -23,7 +23,7 @@
+ 	$(COMPILE) -c $<
+ 
+ if KRB4
+-KAFS = $(top_builddir)/lib/kafs/libkafs.la
++KAFS = $(LIB_kafs)
+ endif
+ 
+ if KRB5
+@@ -33,7 +33,7 @@
+ 	$(top_builddir)/lib/asn1/libasn1.la	\
+ 	$(LIB_krb4)				\
+ 	$(LIB_des)				\
+-	$(top_builddir)/lib/roken/libroken.la	\
++	$(LIB_roken)	\
+ 	-lc
+ 
+ else
+@@ -42,7 +42,7 @@
+ 	$(KAFS)	\
+ 	$(LIB_krb4)				\
+ 	$(LIB_des)				\
+-	$(top_builddir)/lib/roken/libroken.la	\
++	$(LIB_roken)	\
+ 	-lc
+ endif
+ 
+diff -ruN heimdal-0.4e-old/lib/gssapi/Makefile.am heimdal-0.4e/lib/gssapi/Makefile.am
+--- heimdal-0.4e-old/lib/gssapi/Makefile.am	Tue Aug 28 21:21:17 2001
++++ heimdal-0.4e/lib/gssapi/Makefile.am	Mon Apr 22 18:14:22 2002
+@@ -6,7 +6,7 @@
+ 
+ lib_LTLIBRARIES = libgssapi.la
+ libgssapi_la_LDFLAGS = -version-info 3:4:2
+-libgssapi_la_LIBADD  = ../krb5/libkrb5.la $(LIB_des) ../asn1/libasn1.la ../roken/libroken.la
++libgssapi_la_LIBADD  = ../krb5/libkrb5.la $(LIB_des) ../asn1/libasn1.la $(LIB_roken)
+ 
+ include_HEADERS = gssapi.h
+ 
+diff -ruN heimdal-0.4e-old/lib/hdb/Makefile.am heimdal-0.4e/lib/hdb/Makefile.am
+--- heimdal-0.4e-old/lib/hdb/Makefile.am	Tue Aug 28 18:31:31 2001
++++ heimdal-0.4e/lib/hdb/Makefile.am	Mon Apr 22 17:59:29 2002
+@@ -38,7 +38,7 @@
+ 
+ include_HEADERS = hdb.h hdb_err.h hdb_asn1.h hdb-protos.h hdb-private.h
+ 
+-libhdb_la_LIBADD = ../krb5/libkrb5.la ../asn1/libasn1.la ../roken/libroken.la $(LIB_openldap) $(DBLIB) $(LIB_NDBM)
++libhdb_la_LIBADD = ../krb5/libkrb5.la ../asn1/libasn1.la $(LIB_roken) $(LIB_openldap) $(DBLIB) $(LIB_NDBM)
+ 
+ $(libhdb_la_OBJECTS): $(srcdir)/hdb-protos.h $(srcdir)/hdb-private.h
+ 
+diff -ruN heimdal-0.4e-old/lib/kadm5/Makefile.am heimdal-0.4e/lib/kadm5/Makefile.am
+--- heimdal-0.4e-old/lib/kadm5/Makefile.am	Tue Aug 28 09:00:13 2001
++++ heimdal-0.4e/lib/kadm5/Makefile.am	Mon Apr 22 18:10:38 2002
+@@ -7,8 +7,8 @@
+ libkadm5clnt_la_LDFLAGS = -version-info 6:2:2
+ sbin_PROGRAMS = dump_log replay_log truncate_log
+ 
+-libkadm5srv_la_LIBADD = ../krb5/libkrb5.la ../hdb/libhdb.la ../roken/libroken.la
+-libkadm5clnt_la_LIBADD = ../krb5/libkrb5.la ../hdb/libhdb.la ../roken/libroken.la
++libkadm5srv_la_LIBADD = ../krb5/libkrb5.la ../hdb/libhdb.la $(LIB_roken)
++libkadm5clnt_la_LIBADD = ../krb5/libkrb5.la ../hdb/libhdb.la $(LIB_roken)
+ 
+ libexec_PROGRAMS = ipropd-master ipropd-slave
+ 
+diff -ruN heimdal-0.4e-old/lib/kafs/Makefile.am heimdal-0.4e/lib/kafs/Makefile.am
+--- heimdal-0.4e-old/lib/kafs/Makefile.am	Mon Sep  3 05:37:53 2001
++++ heimdal-0.4e/lib/kafs/Makefile.am	Mon Apr 22 18:28:48 2002
+@@ -42,9 +42,9 @@
+ endif # KRB4
+ 
+ if KRB5
+-libkafs_la_LIBADD = ../krb5/libkrb5.la ../roken/libroken.la $(DEPLIB_krb4)
++libkafs_la_LIBADD = ../krb5/libkrb5.la $(LIB_roken) $(DEPLIB_krb4)
+ else
+-libkafs_la_LIBADD = ../roken/libroken.la $(DEPLIB_krb4)
++libkafs_la_LIBADD = $(LIB_roken) $(DEPLIB_krb4)
+ endif # KRB5
+ 
+ lib_LTLIBRARIES = $(AFSLIBS)
+diff -ruN heimdal-0.4e-old/lib/krb5/Makefile.am heimdal-0.4e/lib/krb5/Makefile.am
+--- heimdal-0.4e-old/lib/krb5/Makefile.am	Fri Apr 19 09:22:39 2002
++++ heimdal-0.4e/lib/krb5/Makefile.am	Mon Apr 22 17:50:00 2002
+@@ -15,7 +15,7 @@
+ 
+ libkrb5_la_LIBADD = \
+ 	$(LIB_res_search) \
+-	$(top_builddir)/lib/com_err/libcom_err.la \
++	$(LIB_com_err) \
+ 	$(LIB_des) \
+ 	$(top_builddir)/lib/asn1/libasn1.la \
+ 	$(LIB_roken) \
+diff -ruN heimdal-0.4e-old/lib/roken/acconfig.h heimdal-0.4e/lib/roken/acconfig.h
+--- heimdal-0.4e-old/lib/roken/acconfig.h	Sun Jul  9 00:22:08 2000
++++ heimdal-0.4e/lib/roken/acconfig.h	Mon Apr 22 18:24:01 2002
+@@ -12,7 +12,7 @@
+ #endif
+ 
+ #define RCSID(msg) \
+-static /**/const char *const rcsid[] = { (const char *)rcsid, "\100(#)" msg }
++static /**/const char *const rcsid[] = { (const char *)rcsid, "@(#)" msg }
+ 
+ #undef PROTOTYPES
+ 
--- heimdal-0.6.3.orig/debian/patches-0.4e/013_maildir
+++ heimdal-0.6.3/debian/patches-0.4e/013_maildir
@@ -0,0 +1,40 @@
+Index: heimdal-0.4e/appl/popper/pop_pass.c
+===================================================================
+RCS file: /homes/bam/cvsroot/debian/heimdal/appl/popper/pop_pass.c,v
+retrieving revision 1.1.1.3
+retrieving revision 1.5
+diff -c -r1.1.1.3 -r1.5
+*** heimdal-0.4e/appl/popper/pop_pass.c 2000/05/19 05:23:42 1.1.1.3
+--- heimdal-0.4e/appl/popper/pop_pass.c	2000/05/19 05:33:06	1.5
+***************
+*** 197,203 ****
+  	    p->ipaddr, p->user);
+  
+      /*  Build the name of the user's maildrop */
+!     snprintf(p->drop_name, sizeof(p->drop_name), "%s/%s", POP_MAILDIR, p->user);
+  
+      if(stat(p->drop_name, &st) < 0 || !S_ISDIR(st.st_mode)){
+  	/*  Make a temporary copy of the user's maildrop */
+--- 197,218 ----
+  	    p->ipaddr, p->user);
+  
+      /*  Build the name of the user's maildrop */
+! 
+!     /* Try ~/Maildir */
+!     if (pw->pw_dir != NULL)
+! 	{
+!         snprintf(p->drop_name, sizeof(p->drop_name), "%s/%s", pw->pw_dir, "Maildir");
+! 	}
+!     if(pw->pw_dir != NULL && stat(p->drop_name, &st) < 0)
+! 	{
+!     	/* else try ~/Mailbox */
+! 	snprintf(p->drop_name, sizeof(p->drop_name), "%s/%s", pw->pw_dir, "Mailbox");
+! 	}
+!     if(pw->pw_dir == NULL || stat(p->drop_name, &st) < 0)
+! 	{
+!     	/* else try /var/spool/mail/userid */
+! 	snprintf(p->drop_name, sizeof(p->drop_name), "%s/%s", POP_MAILDIR, p->user);
+! 	}
+  
+      if(stat(p->drop_name, &st) < 0 || !S_ISDIR(st.st_mode)){
+  	/*  Make a temporary copy of the user's maildrop */
--- heimdal-0.6.3.orig/debian/patches-0.4e/014_cache
+++ heimdal-0.6.3/debian/patches-0.4e/014_cache
@@ -0,0 +1,152 @@
+diff -ruN heimdal-0.4e-old/lib/krb5/cache.c heimdal-0.4e/lib/krb5/cache.c
+--- heimdal-0.4e-old/lib/krb5/cache.c	Mon May 14 16:14:45 2001
++++ heimdal-0.4e/lib/krb5/cache.c	Tue Jun 19 20:16:49 2001
+@@ -99,13 +99,28 @@
+ {
+     krb5_error_code ret;
+     krb5_ccache p;
++    krb5_cc_ops *q;
+ 
+     p = malloc(sizeof(*p));
+     if(p == NULL) {
+ 	krb5_set_error_string(context, "malloc: out of memory");
+ 	return KRB5_CC_NOMEM;
+     }
+-    p->ops = ops;
++
++    q = malloc(sizeof(*q));
++    if(q == NULL) {
++	krb5_set_error_string(context, "malloc: out of memory");
++        return KRB5_CC_NOMEM;
++    }
++    memcpy(q, ops, sizeof(*q));
++    q->prefix = strdup(ops->prefix);
++    if(q->prefix == NULL) {
++        free(q);
++	krb5_set_error_string(context, "strdup: out of memory");
++        return KRB5_CC_NOMEM;
++    }
++
++    p->ops = q;
+     *id = p;
+     ret = p->ops->resolve(context, id, residual);
+     if(ret)
+@@ -155,13 +170,28 @@
+ 		krb5_ccache *id)
+ {
+     krb5_ccache p;
++    krb5_cc_ops *q;
+ 
+     p = malloc (sizeof(*p));
+     if (p == NULL) {
+ 	krb5_set_error_string(context, "malloc: out of memory");
+ 	return KRB5_CC_NOMEM;
+     }
+-    p->ops = ops;
++
++    q = malloc(sizeof(*q));
++    if(q == NULL) {
++	krb5_set_error_string(context, "malloc: out of memory");
++        return KRB5_CC_NOMEM;
++    }
++    memcpy(q, ops, sizeof(*q));
++    q->prefix = strdup(ops->prefix);
++    if(q->prefix == NULL) {
++        free(q);
++	krb5_set_error_string(context, "strdup: out of memory");
++        return KRB5_CC_NOMEM;
++    }
++
++    p->ops = q;
+     *id = p;
+     return p->ops->gen_new(context, id);
+ }
+@@ -264,6 +294,8 @@
+ {
+     krb5_error_code ret;
+     ret = id->ops->close(context, id);
++    free(id->ops->prefix);
++    free((krb5_cc_ops *)id->ops);
+     free(id);
+     return ret;
+ }
+diff -ruN heimdal-0.4e-old/lib/krb5/cache.c.rej heimdal-0.4e/lib/krb5/cache.c.rej
+--- heimdal-0.4e-old/lib/krb5/cache.c.rej	Thu Jan  1 10:00:00 1970
++++ heimdal-0.4e/lib/krb5/cache.c.rej	Tue Jun 19 20:10:36 2001
+@@ -0,0 +1,76 @@
++***************
++*** 89,99 ****
++  {
++      krb5_error_code ret;
++      krb5_ccache p;
++  
++      p = malloc(sizeof(*p));
++      if(p == NULL)
++  	return KRB5_CC_NOMEM;
++-     p->ops = ops;
++      *id = p;
++      ret = p->ops->resolve(context, id, residual);
++      if(ret)
++--- 89,112 ----
++  {
++      krb5_error_code ret;
++      krb5_ccache p;
+++     krb5_cc_ops *q;
++  
++      p = malloc(sizeof(*p));
++      if(p == NULL)
++  	return KRB5_CC_NOMEM;
+++ 
+++     q = malloc(sizeof(*q));
+++     if(q == NULL)
+++         return KRB5_CC_NOMEM;
+++     memcpy(q, ops, sizeof(*q));
+++     q->prefix = strdup(ops->prefix);
+++     if(q->prefix == NULL)
+++     {
+++         free(q);
+++         return KRB5_CC_NOMEM;
+++     }
+++     
+++     p->ops = q;
++      *id = p;
++      ret = p->ops->resolve(context, id, residual);
++      if(ret)
++***************
++*** 141,151 ****
++  		krb5_ccache *id)
++  {
++      krb5_ccache p;
++  
++      p = malloc (sizeof(*p));
++      if (p == NULL)
++  	return KRB5_CC_NOMEM;
++-     p->ops = ops;
++      *id = p;
++      return p->ops->gen_new(context, id);
++  }
++--- 154,177 ----
++  		krb5_ccache *id)
++  {
++      krb5_ccache p;
+++     krb5_cc_ops *q;
++  
++      p = malloc (sizeof(*p));
++      if (p == NULL)
++  	return KRB5_CC_NOMEM;
+++ 
+++     q = malloc(sizeof(*q));
+++     if(q == NULL)
+++         return KRB5_CC_NOMEM;
+++     memcpy(q, ops, sizeof(*q));
+++     q->prefix = strdup(ops->prefix);
+++     if(q->prefix == NULL)
+++     {
+++         free(q);
+++         return KRB5_CC_NOMEM;
+++     }
+++     
+++     p->ops = q;
++      *id = p;
++      return p->ops->gen_new(context, id);
++  }
--- heimdal-0.6.3.orig/debian/patches-0.4e/015_ftpbug
+++ heimdal-0.6.3/debian/patches-0.4e/015_ftpbug
@@ -0,0 +1,167 @@
+From mikan@ibmmia.mikan.net Wed May 8 23:41:02 2002
+Return-Path: <mikan@mikan.net>
+Delivered-To: bam@snoopy.apana.org.au
+Received: from localhost (localhost [127.0.0.1]) by snoopy.apana.org.au
+	(Postfix) with ESMTP id 66F1A2FB02 for <bam@snoopy.apana.org.au>; Wed,  8
+	May 2002 23:41:02 +1000 (EST)
+Received: from zzz.systemkoreograferna.com (unknown [193.15.198.188]) by
+	snoopy.apana.org.au (Postfix) with ESMTP id CFA732FAAC for
+	<bam@snoopy.apana.org.au>; Wed,  8 May 2002 23:40:56 +1000 (EST)
+Received: from ibmmia (h39n1fls32o969.telia.com [213.67.89.39]) by
+	zzz.systemkoreograferna.com (Postfix) with ESMTP id B215B12CE7 for
+	<bam@snoopy.apana.org.au>; Wed,  8 May 2002 15:34:58 +0200 (CEST)
+Received: from mikan by ibmmia with local (Exim 3.35 #1 (Debian)) id
+	175Rfq-0004zZ-00 for <bam@snoopy.apana.org.au>; Wed, 08 May 2002 15:40:06
+	+0200
+Subject: [Fwd: A bug in the Kerberos4 ftp client may cause heap overflow
+	which leads to remote code execution]
+From: Mikael Andersson <mikan@debian.org>
+To: Brian May <bam@snoopy.apana.org.au>
+X-Mailer: Ximian Evolution 1.0.3 
+Date: 08 May 2002 15:40:06 +0200
+Message-Id: <1020865206.18894.5.camel@ibmmia>
+Mime-Version: 1.0
+Sender: Mikael Andersson <mikan@ibmmia.mikan.net>
+X-Virus-Scanned: by AMaViS snapshot-20020316
+Content-Type: multipart/signed; boundary="=-ZLSl1iFZk2GLamBVPXvn"
+X-Evolution-Source: imap://bam@snoopy.apana.org.au/
+
+
+--=-ZLSl1iFZk2GLamBVPXvn
+Content-Type: text/plain
+Content-Transfer-Encoding: 8bit
+
+Hi!
+
+I have seen this bugtraq message, I think that the same bug apply to
+heimdal. I have got a patch from the cvs tree:
+
+Index: ftp.c
+===================================================================
+RCS file:
+/afs/pdc.kth.se/src/packages/kth-krb/SourceRepository/appl/ftp/ftp/ftp.c,v
+retrieving revision 1.70
+retrieving revision 1.71
+diff -u -w -r1.70 -r1.71
+--- heimdal-0.4e/appl/ftp/ftp/ftp.c	2001/09/07 20:28:10	1.70
++++ heimdal-0.4e/appl/ftp/ftp/ftp.c	2002/04/24 21:55:07	1.71
+@@ -32,7 +32,7 @@
+  */
+ 
+ #include "ftp_locl.h"
+-RCSID ("$Id: ftp.c,v 1.69 2000/10/08 13:15:33 assar Exp $");
++RCSID ("$Id: ftp.c,v 1.69 2000/10/08 13:15:33 assar Exp $");
+ 
+ struct sockaddr_storage hisctladdr_ss;
+ struct sockaddr *hisctladdr = (struct sockaddr *)&hisctladdr_ss;
+@@ -312,7 +312,8 @@
+     char *lead_string;
+     int c;
+     struct sigaction sa, osa;
+-    char buf[1024];
++    char buf[8192];
++    int long_warn = 0;
+ 
+     sigemptyset (&sa.sa_mask);
+     sa.sa_flags = 0;
+@@ -368,7 +369,7 @@
+ 		if (verbose > 0 || (verbose > -1 && code > 499))
+ 		    fprintf (stdout, "%s%s\n", lead_string, buf);
+ 		if (buf[3] == ' ') {
+-		    strcpy (reply_string, buf);
++		    strlcpy (reply_string, buf, sizeof(reply_string));
+ 		    if (code >= 200)
+ 			cpend = 0;
+ 		    sigaction (SIGINT, &osa, NULL);
+@@ -381,17 +382,12 @@
+ 			osa.sa_handler (SIGINT);
+ #endif
+ 		    if (code == 227 || code == 229) {
+-			char *p, *q;
++			char *p;
+ 
+-			pasv[0] = 0;
+ 			p = strchr (reply_string, '(');
+ 			if (p) {
+ 			    p++;
+-			    q = strchr(p, ')');
+-			    if(q){
+-				memcpy (pasv, p, q - p);
+-				pasv[q - p] = 0;
+-			    }
++			    strlcpy(pasv, p, sizeof(pasv));
+ 			}
+ 		    }
+ 		    return code / 100;
+@@ -404,9 +400,15 @@
+ 		}
+ 	    }
+ 	    p = buf;
++	    long_warn = 0;
+ 	    continue;
+ 	default:
++	    if(p < buf + sizeof(buf) - 1)
+ 	    *p++ = c;
++	    else if(long_warn == 0) {
++		fprintf(stderr, "WARNING: incredibly long line received\n");
++		long_warn = 1;
++	    }
+ 	}
+     }
+
+
+It sound's like a new release will come soon, the new release we can use
+for unstable, but for testing we need to create patched package, or?
+
+Have you done that before? I'm not sure about all obstacles on the way.
+
+Sincerely
+Mikael
+-----Vidarebefordrat meddelande-----
+
+From: Marcell Fodor <m.fodor@mail.datanet.hu>
+To: bugtraq@securityfocus.com
+Subject: A bug in the Kerberos4 ftp client may cause heap overflow which leads to remote code execution
+Date: 24 Apr 2002 20:13:23 +0000
+
+
+
+Kerberos4 ftp client is a simple ftp client, with the 
+extensions defined by RFC 2228.
+When authentication fails with AUTH, client will use 
+USER/PASS command as other ones.
+
+A bug in the code may cause a heap overflow which leads to 
+remote code execution.
+The overflow occurs when the server responds to client's 
+request for passive mode. If the server
+responds with a long reply in the place of IP and port, 
+pasv buffer will overflow.
+
+Affected version: 4-1.1.1
+
+The real danger: an ftp server can simply modified to 
+recognize Kerberos4 ftp client by it's protocol. You know 
+the rest.
+
+Details and exploit code: mantra.freeweb.hu
+
+Marcell Fodor
+-- 
+Mikael Andersson
+mikan@debian.org
+PGP: 1024D/20E93E8E 76F9 E895 1073 12B8 A281  8144 5A1E 4BDD 20E9 3E8E
+
+--=-ZLSl1iFZk2GLamBVPXvn
+Content-Type: application/pgp-signature; name=signature.asc
+
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.0.6 (GNU/Linux)
+Comment: För information se http://www.gnupg.org/
+
+iEYEABECAAYFAjzZKrYACgkQWh5L3SDpPo7YSACfR8gq3gDjfu8MhsfGZoBmXNd0
+FqEAni6T8OoU1rj5c7o0EVn9tIkKpSem
+=vop/
+-----END PGP SIGNATURE-----
+
+--=-ZLSl1iFZk2GLamBVPXvn--
--- heimdal-0.6.3.orig/debian/patches-0.4e/030_autotools
+++ heimdal-0.6.3/debian/patches-0.4e/030_autotools
@@ -0,0 +1,101495 @@
+diff -ruN heimdal-0.4e-old/Makefile.in heimdal-0.4e/Makefile.in
+--- heimdal-0.4e-old/Makefile.in	Thu Sep  6 22:22:37 2001
++++ heimdal-0.4e/Makefile.in	Sat Jun 15 19:35:20 2002
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.16 2000/11/15 22:54:15 assar Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = .
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,13 +90,13 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+ LIB_ = @LIB_@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+-LIB_com_err = @LIB_com_err@
+ LIB_com_err_a = @LIB_com_err_a@
+ LIB_com_err_so = @LIB_com_err_so@
+ LIB_des = @LIB_des@
+@@ -100,12 +104,10 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+-LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,19 +121,19 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+-
+-# $Id: Makefile.am,v 1.16 2000/11/15 22:54:15 assar Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
++LIB_com_err = @LIB_com_err@
++LIB_otp = @LIB_otp@
++LIB_roken = @LIB_roken@
+ 
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+@@ -185,17 +187,24 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+@@ -207,76 +216,65 @@
+ subdir = .
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ./include/config.h
+-CONFIG_CLEAN_FILES = 
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++depcomp =
+ CFLAGS = @CFLAGS@
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES = 
+-depcomp = 
+-DIST_COMMON =  README ChangeLog Makefile.am Makefile.in NEWS TODO \
+-acconfig.h acinclude.m4 aclocal.m4 config.guess config.sub configure \
+-configure.in install-sh ltconfig ltmain.sh missing mkinstalldirs
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++DIST_SOURCES =
++
++RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \
++	uninstall-info-recursive all-recursive install-data-recursive \
++	install-exec-recursive installdirs-recursive install-recursive \
++	uninstall-recursive check-recursive installcheck-recursive
++DIST_COMMON = README ChangeLog Makefile.am Makefile.in NEWS TODO \
++	acconfig.h acinclude.m4 aclocal.m4 config.guess config.sub \
++	configure configure.in install-sh ltconfig ltmain.sh missing \
++	mkinstalldirs
++DIST_SUBDIRS = $(SUBDIRS)
++all: all-recursive
+ 
++.SUFFIXES:
++.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c
+ 
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-GZIP_ENV = --best
+-DIST_SUBDIRS =  $(SUBDIRS)
+-all: all-redirect
+-.SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
+-
+-$(ACLOCAL_M4):  configure.in  acinclude.m4 cf/aix.m4 cf/auth-modules.m4 \
+-		cf/broken-getaddrinfo.m4 cf/broken-getnameinfo.m4 \
+-		cf/broken-glob.m4 cf/broken-realloc.m4 \
+-		cf/broken-snprintf.m4 cf/broken.m4 cf/broken2.m4 \
+-		cf/c-attribute.m4 cf/c-function.m4 cf/capabilities.m4 \
+-		cf/check-compile-et.m4 cf/check-declaration.m4 \
+-		cf/check-getpwnam_r-posix.m4 cf/check-man.m4 \
+-		cf/check-netinet-ip-and-tcp.m4 cf/check-type-extra.m4 \
+-		cf/check-var.m4 cf/check-x.m4 cf/check-xau.m4 \
+-		cf/crypto.m4 cf/db.m4 cf/find-func-no-libs.m4 \
+-		cf/find-func-no-libs2.m4 cf/find-func.m4 \
+-		cf/find-if-not-broken.m4 cf/grok-type.m4 \
+-		cf/have-pragma-weak.m4 cf/have-struct-field.m4 \
+-		cf/have-type.m4 cf/have-types.m4 cf/krb-bigendian.m4 \
+-		cf/krb-find-db.m4 cf/krb-func-getcwd-broken.m4 \
+-		cf/krb-func-getlogin.m4 cf/krb-ipv6.m4 cf/krb-irix.m4 \
+-		cf/krb-prog-ln-s.m4 cf/krb-prog-ranlib.m4 \
+-		cf/krb-prog-yacc.m4 cf/krb-readline.m4 \
+-		cf/krb-struct-spwd.m4 cf/krb-struct-winsize.m4 \
+-		cf/krb-sys-aix.m4 cf/krb-sys-nextstep.m4 \
+-		cf/krb-version.m4 cf/mips-abi.m4 cf/misc.m4 \
+-		cf/need-proto.m4 cf/osfc2.m4 cf/proto-compat.m4 \
+-		cf/retsigtype.m4 cf/roken-frag.m4 cf/roken.m4 \
+-		cf/shared-libs.m4 cf/test-package.m4 cf/wflags.m4 \
+-		cf/with-all.m4
+-	cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
++clean-libtool:
++	-rm -rf .libs _libs
++
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$@ $(SHELL) ./config.status
+ 
+-config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
++$(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ 	$(SHELL) ./config.status --recheck
+-$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
++$(srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
+ 	cd $(srcdir) && $(AUTOCONF)
+ 
++$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in acinclude.m4 cf/aix.m4 cf/auth-modules.m4 cf/broken-getaddrinfo.m4 cf/broken-getnameinfo.m4 cf/broken-glob.m4 cf/broken-realloc.m4 cf/broken-snprintf.m4 cf/broken.m4 cf/broken2.m4 cf/c-attribute.m4 cf/c-function.m4 cf/capabilities.m4 cf/check-compile-et.m4 cf/check-declaration.m4 cf/check-getpwnam_r-posix.m4 cf/check-man.m4 cf/check-netinet-ip-and-tcp.m4 cf/check-type-extra.m4 cf/check-var.m4 cf/check-x.m4 cf/check-xau.m4 cf/crypto.m4 cf/db.m4 cf/find-func-no-libs.m4 cf/find-func-no-libs2.m4 cf/find-func.m4 cf/find-if-not-broken.m4 cf/grok-type.m4 cf/have-pragma-weak.m4 cf/have-struct-field.m4 cf/have-type.m4 cf/have-types.m4 cf/krb-bigendian.m4 cf/krb-find-db.m4 cf/krb-func-getcwd-broken.m4 cf/krb-func-getlogin.m4 cf/krb-ipv6.m4 cf/krb-irix.m4 cf/krb-prog-ln-s.m4 cf/krb-prog-ranlib.m4 cf/krb-prog-yacc.m4 cf/krb-readline.m4 cf/krb-struct-spwd.m4 cf/krb-struct-winsize.m4 cf/krb-sys-aix.m4 cf/krb-sys-nextstep.m4 cf/krb-version.m4 cf/mips-abi.m4 cf/misc.m4 cf/need-proto.m4 cf/osfc2.m4 cf/proto-compat.m4 cf/retsigtype.m4 cf/roken-frag.m4 cf/roken.m4 cf/shared-libs.m4 cf/test-package.m4 cf/wflags.m4 cf/with-all.m4
++	cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
++uninstall-info-am:
++
+ # This directory's subdirectories are mostly independent; you can cd
+ # into them and run `make' without going through this Makefile.
+ # To change the values of `make' variables: instead of editing Makefiles,
+ # (1) if the variable is set in `config.status', edit `config.status'
+ #     (which will cause the Makefiles to be regenerated when you run `make');
+ # (2) otherwise, pass the desired values on the `make' command line.
+-
+-all-recursive install-data-recursive install-exec-recursive \
+-installdirs-recursive install-recursive uninstall-recursive  \
+-check-recursive installcheck-recursive info-recursive dvi-recursive:
++$(RECURSIVE_TARGETS):
+ 	@set fnord $(MAKEFLAGS); amf=$$2; \
+ 	dot_seen=no; \
+ 	target=`echo $@ | sed s/-recursive//`; \
+@@ -341,9 +339,9 @@
+ 	tags=; \
+ 	here=`pwd`; \
+ 	list='$(SUBDIRS)'; for subdir in $$list; do \
+-   if test "$$subdir" = .; then :; else \
++	  if test "$$subdir" = .; then :; else \
+ 	    test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
+-   fi; \
++	  fi; \
+ 	done; \
+ 	list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
+ 	unique=`for i in $$list; do \
+@@ -357,20 +355,61 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
++top_distdir = .
++# Avoid unsightly `./'.
+ distdir = $(PACKAGE)-$(VERSION)
+-top_distdir = $(distdir)
+ 
++GZIP_ENV = --best
++
++distdir: $(DISTFILES)
++	-chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
++	mkdir $(distdir)
++	@for file in $(DISTFILES); do \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
++	  if test -d $$d/$$file; then \
++	    cp -pR $$d/$$file $(distdir) \
++	    || exit 1; \
++	  else \
++	    test -f $(distdir)/$$file \
++	    || cp -p $$d/$$file $(distdir)/$$file \
++	    || exit 1; \
++	  fi; \
++	done
++	for subdir in $(SUBDIRS); do \
++	  if test "$$subdir" = .; then :; else \
++	    test -d $(distdir)/$$subdir \
++	    || mkdir $(distdir)/$$subdir \
++	    || exit 1; \
++	    (cd $$subdir && \
++	      $(MAKE) $(AM_MAKEFLAGS) \
++	        top_distdir="$(top_distdir)" \
++	        distdir=../$(distdir)/$$subdir \
++	        distdir) \
++	      || exit 1; \
++	  fi; \
++	done
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
++	-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
++	  ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
++	  ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
++	  ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
++	|| chmod -R a+r $(distdir)
++dist: distdir
++	$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
++	-chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
+ 
+ # This target untars the dist file and tries a VPATH configuration.  Then
+ # it guarantees that the distribution is self-contained by making another
+@@ -391,132 +430,107 @@
+ 	  && $(MAKE) $(AM_MAKEFLAGS) install \
+ 	  && $(MAKE) $(AM_MAKEFLAGS) installcheck \
+ 	  && $(MAKE) $(AM_MAKEFLAGS) uninstall \
+-	  && test `find $$dc_install_base -type f -print | wc -l` -le 1 \
++	  && (test `find $$dc_install_base -type f -print | wc -l` -le 1 \
++	     || (echo "Error: files left after uninstall" 1>&2; \
++	         exit 1) ) \
+ 	  && $(MAKE) $(AM_MAKEFLAGS) dist \
+ 	  && $(MAKE) $(AM_MAKEFLAGS) distclean \
+ 	  && rm -f $(distdir).tar.gz \
+-	  && test `find . -type f -print | wc -l` -eq 0
+-	-chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
+-	@banner="$(distdir).tar.gz is ready for distribution"; \
+-	dashes=`echo "$$banner" | sed s/./=/g`; \
+-	echo "$$dashes"; \
+-	echo "$$banner"; \
+-	echo "$$dashes"
+-dist: distdir
+-	-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
+-	  ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
+-	  ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
+-	  ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
+-	|| chmod -R a+r $(distdir)
+-	$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c > $(distdir).tar.gz
+-	-chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
+-dist-all: distdir
+-	-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
+-	  ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
+-	  ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
+-	  ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
+-	|| chmod -R a+r $(distdir)
+-	$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c > $(distdir).tar.gz
++	  && (test `find . -type f -print | wc -l` -eq 0 \
++	     || (echo "Error: files left after distclean" 1>&2; \
++	         exit 1) )
+ 	-chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
+-distdir: $(DISTFILES)
+-	-chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
+-	mkdir $(distdir)
+-	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
+-	  if test -d $$d/$$file; then \
+-	    cp -pR $$d/$$file $(distdir) \
+-	    || exit 1; \
+-	  else \
+-	    test -f $(distdir)/$$file \
+-	    || cp -p $$d/$$file $(distdir)/$$file \
+-	    || exit 1; \
+-	  fi; \
+-	done
+-	for subdir in $(SUBDIRS); do \
+-	  if test "$$subdir" = .; then :; else \
+-	    test -d $(distdir)/$$subdir \
+-	    || mkdir $(distdir)/$$subdir \
+-	    || exit 1; \
+-	    (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
+-	      || exit 1; \
+-	  fi; \
+-	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-recursive
+-dvi-am:
+-dvi: dvi-recursive
++	@echo "$(distdir).tar.gz is ready for distribution" | \
++	  sed 'h;s/./=/g;p;x;p;x'
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-recursive
+-installcheck-am:
+-installcheck: installcheck-recursive
+-install-exec-am:
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-recursive
++all-am: Makefile all-local
++installdirs: installdirs-recursive
++installdirs-am:
+ 
+-install-data-am: install-data-local
++install: install-recursive
++install-exec: install-exec-recursive
+ install-data: install-data-recursive
++uninstall: uninstall-recursive
+ 
+ install-am: all-am
+ 	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+-install: install-recursive
+-uninstall-am:
+-uninstall: uninstall-recursive
+-all-am: Makefile all-local
+-all-redirect: all-recursive
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs: installdirs-recursive
+-installdirs-am:
+-
+ 
++installcheck: installcheck-recursive
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-tags mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-recursive
+ 
+-mostlyclean: mostlyclean-recursive
++clean-am: clean-generic clean-libtool mostlyclean-am
+ 
+-clean-am:  clean-tags clean-generic mostlyclean-am
++dist-all: distdir
++	$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
++	-chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
++distclean: distclean-recursive
++	-rm -f config.status config.cache config.log
++distclean-am: clean-am distclean-generic distclean-libtool \
++	distclean-tags
+ 
+-clean: clean-recursive
++dvi: dvi-recursive
+ 
+-distclean-am:  distclean-tags distclean-generic clean-am
+-	-rm -f libtool
++dvi-am:
+ 
+-distclean: distclean-recursive
+-	-rm -f config.status
++info: info-recursive
+ 
+-maintainer-clean-am:  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."
++info-am:
++
++install-data-am: install-data-local
++
++install-exec-am:
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-recursive
++
++install-man:
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-recursive
+-	-rm -f config.status
+ 
+-.PHONY: install-recursive uninstall-recursive install-data-recursive \
+-uninstall-data-recursive install-exec-recursive \
+-uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
+-all-recursive check-recursive installcheck-recursive info-recursive \
+-dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
+-maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
+-distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
+-dvi-am dvi check-local check check-am installcheck-am installcheck \
+-install-exec-am install-exec install-data-local install-data-am \
+-install-data install-am install uninstall-am uninstall all-local \
+-all-redirect all-am all install-strip installdirs-am installdirs \
+-mostlyclean-generic distclean-generic clean-generic \
+-maintainer-clean-generic clean mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-recursive
++
++mostlyclean-am: mostlyclean-generic mostlyclean-libtool
++
++uninstall-am: uninstall-info-am
++
++uninstall-info: uninstall-info-recursive
++
++.PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am all-local check check-am \
++	check-local clean clean-generic clean-libtool clean-recursive \
++	dist dist-all distcheck distclean distclean-generic \
++	distclean-libtool distclean-recursive distclean-tags distdir \
++	dvi dvi-am dvi-recursive info info-am info-recursive install \
++	install-am install-data install-data-am install-data-local \
++	install-data-recursive install-exec install-exec-am \
++	install-exec-recursive install-info install-info-am \
++	install-info-recursive install-man install-recursive \
++	install-strip installcheck installcheck-am installdirs \
++	installdirs-am installdirs-recursive maintainer-clean \
++	maintainer-clean-generic maintainer-clean-recursive mostlyclean \
++	mostlyclean-generic mostlyclean-libtool mostlyclean-recursive \
++	tags tags-recursive uninstall uninstall-am uninstall-info-am \
++	uninstall-info-recursive uninstall-recursive
+ 
+ 
+ install-suid-programs:
+@@ -646,7 +660,6 @@
+ 	  echo "$$dashes"; \
+ 	  test "$$failed" -eq 0; \
+ 	fi
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/aclocal.m4 heimdal-0.4e/aclocal.m4
+--- heimdal-0.4e-old/aclocal.m4	Sat Jun 15 19:34:42 2002
++++ heimdal-0.4e/aclocal.m4	Sat Jun 15 19:34:44 2002
+@@ -1,6 +1,6 @@
+-# ./aclocal.m4 generated automatically by aclocal 1.4b
++# aclocal.m4 generated automatically by aclocal 1.5
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This file is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -48,6 +48,54 @@
+ #define MaxPathLen (1024+4)
+ 
+ ])])
++
++# Add --enable-maintainer-mode option to configure.
++# From Jim Meyering
++
++# serial 1
++
++AC_DEFUN([AM_MAINTAINER_MODE],
++[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
++  dnl maintainer-mode is disabled by default
++  AC_ARG_ENABLE(maintainer-mode,
++[  --enable-maintainer-mode enable make rules and dependencies not useful
++                          (and sometimes confusing) to the casual installer],
++      USE_MAINTAINER_MODE=$enableval,
++      USE_MAINTAINER_MODE=no)
++  AC_MSG_RESULT([$USE_MAINTAINER_MODE])
++  AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
++  MAINT=$MAINTAINER_MODE_TRUE
++  AC_SUBST(MAINT)dnl
++]
++)
++
++# serial 3
++
++# AM_CONDITIONAL(NAME, SHELL-CONDITION)
++# -------------------------------------
++# Define a conditional.
++#
++# FIXME: Once using 2.50, use this:
++# m4_match([$1], [^TRUE\|FALSE$], [AC_FATAL([$0: invalid condition: $1])])dnl
++AC_DEFUN([AM_CONDITIONAL],
++[ifelse([$1], [TRUE],
++        [errprint(__file__:__line__: [$0: invalid condition: $1
++])dnl
++m4exit(1)])dnl
++ifelse([$1], [FALSE],
++       [errprint(__file__:__line__: [$0: invalid condition: $1
++])dnl
++m4exit(1)])dnl
++AC_SUBST([$1_TRUE])
++AC_SUBST([$1_FALSE])
++if $2; then
++  $1_TRUE=
++  $1_FALSE='#'
++else
++  $1_TRUE='#'
++  $1_FALSE=
++fi])
++
+ # Like AC_CONFIG_HEADER, but automatically create stamp file.
+ 
+ # serial 3
+@@ -60,29 +108,75 @@
+ AC_PREREQ([2.12])
+ 
+ AC_DEFUN([AM_CONFIG_HEADER],
++[ifdef([AC_FOREACH],dnl
++	 [dnl init our file count if it isn't already
++	 m4_ifndef([_AM_Config_Header_Index], m4_define([_AM_Config_Header_Index], [0]))
++	 dnl prepare to store our destination file list for use in config.status
++	 AC_FOREACH([_AM_File], [$1],
++		    [m4_pushdef([_AM_Dest], m4_patsubst(_AM_File, [:.*]))
++		    m4_define([_AM_Config_Header_Index], m4_incr(_AM_Config_Header_Index))
++		    dnl and add it to the list of files AC keeps track of, along
++		    dnl with our hook
++		    AC_CONFIG_HEADERS(_AM_File,
++dnl COMMANDS, [, INIT-CMDS]
++[# update the timestamp
++echo timestamp >"AS_ESCAPE(_AM_DIRNAME(]_AM_Dest[))/stamp-h]_AM_Config_Header_Index["
++][$2]m4_ifval([$3], [, [$3]]))dnl AC_CONFIG_HEADERS
++		    m4_popdef([_AM_Dest])])],dnl
+ [AC_CONFIG_HEADER([$1])
+   AC_OUTPUT_COMMANDS(
+    ifelse(patsubst([$1], [[^ ]], []),
+ 	  [],
+ 	  [test -z "$CONFIG_HEADERS" || echo timestamp >dnl
+-	   patsubst([$1], [^\([^:]*/\)?.*], [\1])stamp-h]),
+-  [am_indx=1
+-  for am_file in $1; do
+-    case " $CONFIG_HEADERS " in
+-    *" $am_file "*)
+-      echo timestamp > `echo $am_file | sed 's%:.*%%;s%[^/]*$%%'`stamp-h$am_indx
+-      ;;
+-    esac
+-    am_indx=\`expr \$am_indx + 1\`
+-  done])
+-])
++	   patsubst([$1], [^\([^:]*/\)?.*], [\1])stamp-h]),dnl
++[am_indx=1
++for am_file in $1; do
++  case " \$CONFIG_HEADERS " in
++  *" \$am_file "*)
++    am_dir=\`echo \$am_file |sed 's%:.*%%;s%[^/]*\$%%'\`
++    if test -n "\$am_dir"; then
++      am_tmpdir=\`echo \$am_dir |sed 's%^\(/*\).*\$%\1%'\`
++      for am_subdir in \`echo \$am_dir |sed 's%/% %'\`; do
++        am_tmpdir=\$am_tmpdir\$am_subdir/
++        if test ! -d \$am_tmpdir; then
++          mkdir \$am_tmpdir
++        fi
++      done
++    fi
++    echo timestamp > "\$am_dir"stamp-h\$am_indx
++    ;;
++  esac
++  am_indx=\`expr \$am_indx + 1\`
++done])
++])]) # AM_CONFIG_HEADER
++
++# _AM_DIRNAME(PATH)
++# -----------------
++# Like AS_DIRNAME, only do it during macro expansion
++AC_DEFUN([_AM_DIRNAME],
++       [m4_if(m4_regexp([$1], [^.*[^/]//*[^/][^/]*/*$]), -1,
++	      m4_if(m4_regexp([$1], [^//\([^/]\|$\)]), -1,
++		    m4_if(m4_regexp([$1], [^/.*]), -1,
++			  [.],
++			  m4_patsubst([$1], [^\(/\).*], [\1])),
++		    m4_patsubst([$1], [^\(//\)\([^/].*\|$\)], [\1])),
++	      m4_patsubst([$1], [^\(.*[^/]\)//*[^/][^/]*/*$], [\1]))[]dnl
++]) # _AM_DIRNAME
+ 
+ # Do all the work for Automake.  This macro actually does too much --
+ # some checks are only needed if your package does certain things.
+ # But this isn't really a big deal.
+ 
+-# serial 3
++# serial 5
++
++# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
++# written in clear, in which case automake, when reading aclocal.m4,
++# will think it sees a *use*, and therefore will trigger all it's
++# C support machinery.  Also note that it means that autoscan, seeing
++# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
++
+ 
++# We require 2.13 because we rely on SHELL being computed by configure.
+ AC_PREREQ([2.13])
+ 
+ # AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
+@@ -102,12 +196,11 @@
+ # AM_INIT_AUTOMAKE(PACKAGE,VERSION, [NO-DEFINE])
+ # ----------------------------------------------
+ AC_DEFUN([AM_INIT_AUTOMAKE],
+-[dnl We require 2.13 because we rely on SHELL being computed by configure.
+-AC_REQUIRE([AC_PROG_INSTALL])dnl
++[AC_REQUIRE([AC_PROG_INSTALL])dnl
+ # test to see if srcdir already configured
+ if test "`CDPATH=:; cd $srcdir && pwd`" != "`pwd`" &&
+    test -f $srcdir/config.status; then
+-  AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
++  AC_MSG_ERROR([source directory already configured; run \"make distclean\" there first])
+ fi
+ 
+ # Define the identity of the package.
+@@ -119,6 +212,20 @@
+ [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
+ AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])
+ 
++# Autoconf 2.50 wants to disallow AM_ names.  We explicitly allow
++# the ones we care about.
++ifdef([m4_pattern_allow],
++      [m4_pattern_allow([^AM_[A-Z]+FLAGS])])dnl
++
++# Autoconf 2.50 always computes EXEEXT.  However we need to be
++# compatible with 2.13, for now.  So we always define EXEEXT, but we
++# don't compute it.
++AC_SUBST(EXEEXT)
++# Similar for OBJEXT -- only we only use OBJEXT if the user actually
++# requests that it be used.  This is a bit dumb.
++: ${OBJEXT=o}
++AC_SUBST(OBJEXT)
++
+ # Some tools Automake needs.
+ AC_REQUIRE([AM_SANITY_CHECK])dnl
+ AC_REQUIRE([AC_ARG_PROGRAM])dnl
+@@ -128,45 +235,51 @@
+ AM_MISSING_PROG(AUTOHEADER, autoheader)
+ AM_MISSING_PROG(MAKEINFO, makeinfo)
+ AM_MISSING_PROG(AMTAR, tar)
+-AM_MISSING_INSTALL_SH
++AM_PROG_INSTALL_SH
++AM_PROG_INSTALL_STRIP
+ # We need awk for the "check" target.  The system "awk" is bad on
+ # some platforms.
+ AC_REQUIRE([AC_PROG_AWK])dnl
+ AC_REQUIRE([AC_PROG_MAKE_SET])dnl
+ AC_REQUIRE([AM_DEP_TRACK])dnl
+ AC_REQUIRE([AM_SET_DEPDIR])dnl
+-AC_PROVIDE_IFELSE([AC_PROG_CC],
+-                  [AM_DEPENDENCIES(CC)],
+-                  [define([AC_PROG_CC],
+-                          defn([AC_PROG_CC])[AM_DEPENDENCIES(CC)])])dnl
+-AC_PROVIDE_IFELSE([AC_PROG_CXX],
+-                  [AM_DEPENDENCIES(CXX)],
+-                  [define([AC_PROG_CXX],
+-                          defn([AC_PROG_CXX])[AM_DEPENDENCIES(CXX)])])dnl
++AC_PROVIDE_IFELSE([AC_PROG_][CC],
++                  [_AM_DEPENDENCIES(CC)],
++                  [define([AC_PROG_][CC],
++                          defn([AC_PROG_][CC])[_AM_DEPENDENCIES(CC)])])dnl
++AC_PROVIDE_IFELSE([AC_PROG_][CXX],
++                  [_AM_DEPENDENCIES(CXX)],
++                  [define([AC_PROG_][CXX],
++                          defn([AC_PROG_][CXX])[_AM_DEPENDENCIES(CXX)])])dnl
+ ])
+ 
+ #
+ # Check to make sure that the build environment is sane.
+ #
+ 
++# serial 3
++
++# AM_SANITY_CHECK
++# ---------------
+ AC_DEFUN([AM_SANITY_CHECK],
+ [AC_MSG_CHECKING([whether build environment is sane])
+ # Just in case
+ sleep 1
+-echo timestamp > conftestfile
++echo timestamp > conftest.file
+ # Do `set' in a subshell so we don't clobber the current shell's
+ # arguments.  Must try -L first in case configure is actually a
+ # symlink; some systems play weird games with the mod time of symlinks
+ # (eg FreeBSD returns the mod time of the symlink's containing
+ # directory).
+ if (
+-   set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
+-   if test "[$]*" = "X"; then
++   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
++   if test "$[*]" = "X"; then
+       # -L didn't work.
+-      set X `ls -t $srcdir/configure conftestfile`
++      set X `ls -t $srcdir/configure conftest.file`
+    fi
+-   if test "[$]*" != "X $srcdir/configure conftestfile" \
+-      && test "[$]*" != "X conftestfile $srcdir/configure"; then
++   rm -f conftest.file
++   if test "$[*]" != "X $srcdir/configure conftest.file" \
++      && test "$[*]" != "X conftest.file $srcdir/configure"; then
+ 
+       # If neither matched, then we have a broken ls.  This can happen
+       # if, for instance, CONFIG_SHELL is bash and it inherits a
+@@ -176,7 +289,7 @@
+ alias in your environment])
+    fi
+ 
+-   test "[$]2" = conftestfile
++   test "$[2]" = conftest.file
+    )
+ then
+    # Ok.
+@@ -185,37 +298,28 @@
+    AC_MSG_ERROR([newly created file is older than distributed files!
+ Check your system clock])
+ fi
+-rm -f conftest*
+ AC_MSG_RESULT(yes)])
+ 
++
++# serial 2
++
+ # AM_MISSING_PROG(NAME, PROGRAM)
+-AC_DEFUN([AM_MISSING_PROG], [
+-AC_REQUIRE([AM_MISSING_HAS_RUN])
++# ------------------------------
++AC_DEFUN([AM_MISSING_PROG],
++[AC_REQUIRE([AM_MISSING_HAS_RUN])
+ $1=${$1-"${am_missing_run}$2"}
+ AC_SUBST($1)])
+ 
+-# Like AM_MISSING_PROG, but only looks for install-sh.
+-# AM_MISSING_INSTALL_SH()
+-AC_DEFUN([AM_MISSING_INSTALL_SH], [
+-AC_REQUIRE([AM_MISSING_HAS_RUN])
+-if test -z "$install_sh"; then
+-   install_sh="$ac_aux_dir/install-sh"
+-   test -f "$install_sh" || install_sh="$ac_aux_dir/install.sh"
+-   test -f "$install_sh" || install_sh="${am_missing_run}${ac_auxdir}/install-sh"
+-   dnl FIXME: an evil hack: we remove the SHELL invocation from
+-   dnl install_sh because automake adds it back in.  Sigh.
+-   install_sh="`echo $install_sh | sed -e 's/\${SHELL}//'`"
+-fi
+-AC_SUBST(install_sh)])
+ 
+-# AM_MISSING_HAS_RUN.
++# AM_MISSING_HAS_RUN
++# ------------------
+ # Define MISSING if not defined so far and test if it supports --run.
+ # If it does, set am_missing_run to use it, otherwise, to nothing.
+-AC_DEFUN([AM_MISSING_HAS_RUN], [
+-test x"${MISSING+set}" = xset || \
+-  MISSING="\${SHELL} `CDPATH=:; cd $ac_aux_dir && pwd`/missing"
++AC_DEFUN([AM_MISSING_HAS_RUN],
++[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
++test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
+ # Use eval to expand $SHELL
+-if eval "$MISSING --run :"; then
++if eval "$MISSING --run true"; then
+   am_missing_run="$MISSING --run "
+ else
+   am_missing_run=
+@@ -224,38 +328,132 @@
+ fi
+ ])
+ 
++# AM_AUX_DIR_EXPAND
++
++# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
++# $ac_aux_dir to `$srcdir/foo'.  In other projects, it is set to
++# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
++#
++# Of course, Automake must honor this variable whenever it calls a
++# tool from the auxiliary directory.  The problem is that $srcdir (and
++# therefore $ac_aux_dir as well) can be either absolute or relative,
++# depending on how configure is run.  This is pretty annoying, since
++# it makes $ac_aux_dir quite unusable in subdirectories: in the top
++# source directory, any form will work fine, but in subdirectories a
++# relative path needs to be adjusted first.
++#
++# $ac_aux_dir/missing
++#    fails when called from a subdirectory if $ac_aux_dir is relative
++# $top_srcdir/$ac_aux_dir/missing
++#    fails if $ac_aux_dir is absolute,
++#    fails when called from a subdirectory in a VPATH build with
++#          a relative $ac_aux_dir
++#
++# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
++# are both prefixed by $srcdir.  In an in-source build this is usually
++# harmless because $srcdir is `.', but things will broke when you
++# start a VPATH build or use an absolute $srcdir.
++#
++# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
++# iff we strip the leading $srcdir from $ac_aux_dir.  That would be:
++#   am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
++# and then we would define $MISSING as
++#   MISSING="\${SHELL} $am_aux_dir/missing"
++# This will work as long as MISSING is not called from configure, because
++# unfortunately $(top_srcdir) has no meaning in configure.
++# However there are other variables, like CC, which are often used in
++# configure, and could therefore not use this "fixed" $ac_aux_dir.
++#
++# Another solution, used here, is to always expand $ac_aux_dir to an
++# absolute PATH.  The drawback is that using absolute paths prevent a
++# configured tree to be moved without reconfiguration.
++
++AC_DEFUN([AM_AUX_DIR_EXPAND], [
++# expand $ac_aux_dir to an absolute path
++am_aux_dir=`CDPATH=:; cd $ac_aux_dir && pwd`
++])
++
++# AM_PROG_INSTALL_SH
++# ------------------
++# Define $install_sh.
++AC_DEFUN([AM_PROG_INSTALL_SH],
++[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
++install_sh=${install_sh-"$am_aux_dir/install-sh"}
++AC_SUBST(install_sh)])
++
++# One issue with vendor `install' (even GNU) is that you can't
++# specify the program used to strip binaries.  This is especially
++# annoying in cross-compiling environments, where the build's strip
++# is unlikely to handle the host's binaries.
++# Fortunately install-sh will honor a STRIPPROG variable, so we
++# always use install-sh in `make install-strip', and initialize
++# STRIPPROG with the value of the STRIP variable (set by the user).
++AC_DEFUN([AM_PROG_INSTALL_STRIP],
++[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
++INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
++AC_SUBST([INSTALL_STRIP_PROGRAM])])
++
++# serial 4						-*- Autoconf -*-
++
++
++
++# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
++# written in clear, in which case automake, when reading aclocal.m4,
++# will think it sees a *use*, and therefore will trigger all it's
++# C support machinery.  Also note that it means that autoscan, seeing
++# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
++
++
++
++# _AM_DEPENDENCIES(NAME)
++# ---------------------
+ # See how the compiler implements dependency checking.
+-# Usage:
+-# AM_DEPENDENCIES(NAME)
+ # NAME is "CC", "CXX" or "OBJC".
+-
+ # We try a few techniques and use that to set a single cache variable.
++#
++# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
++# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
++# dependency, and given that the user is not expected to run this macro,
++# just rely on AC_PROG_CC.
++AC_DEFUN([_AM_DEPENDENCIES],
++[AC_REQUIRE([AM_SET_DEPDIR])dnl
++AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
++AC_REQUIRE([AM_MAKE_INCLUDE])dnl
++AC_REQUIRE([AM_DEP_TRACK])dnl
+ 
+-AC_DEFUN([AM_DEPENDENCIES],[
+-AC_REQUIRE([AM_SET_DEPDIR])
+-AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])
+-ifelse([$1],CC,[
+-AC_REQUIRE([AC_PROG_CC])
+-AC_REQUIRE([AC_PROG_CPP])
+-depcc="$CC"
+-depcpp="$CPP"],[$1],CXX,[
+-AC_REQUIRE([AC_PROG_CXX])
+-AC_REQUIRE([AC_PROG_CXXCPP])
+-depcc="$CXX"
+-depcpp="$CXXCPP"],[$1],OBJC,[
+-am_cv_OBJC_dependencies_compiler_type=gcc],[
+-AC_REQUIRE([AC_PROG_][$1])
+-depcc="$[$1]"
+-depcpp=""])
+-AC_MSG_CHECKING([dependency style of $depcc])
+-AC_CACHE_VAL(am_cv_[$1]_dependencies_compiler_type,[
+-if test -z "$AMDEP"; then
+-  echo '#include "conftest.h"' > conftest.c
+-  echo 'int i;' > conftest.h
+-
+-  am_cv_[$1]_dependencies_compiler_type=none
+-  for depmode in `sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < "$am_depcomp"`; do
+-    case "$depmode" in
++ifelse([$1], CC,   [depcc="$CC"   am_compiler_list=],
++       [$1], CXX,  [depcc="$CXX"  am_compiler_list=],
++       [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc']
++       [$1], GCJ,  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
++                   [depcc="$$1"   am_compiler_list=])
++
++AC_CACHE_CHECK([dependency style of $depcc],
++               [am_cv_$1_dependencies_compiler_type],
++[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
++  # We make a subdir and do the tests there.  Otherwise we can end up
++  # making bogus files that we don't know about and never remove.  For
++  # instance it was reported that on HP-UX the gcc test will end up
++  # making a dummy file named `D' -- because `-MD' means `put the output
++  # in D'.
++  mkdir conftest.dir
++  # Copy depcomp to subdir because otherwise we won't find it if we're
++  # using a relative directory.
++  cp "$am_depcomp" conftest.dir
++  cd conftest.dir
++
++  am_cv_$1_dependencies_compiler_type=none
++  if test "$am_compiler_list" = ""; then
++     am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
++  fi
++  for depmode in $am_compiler_list; do
++    # We need to recreate these files for each test, as the compiler may
++    # overwrite some of them when testing with obscure command lines.
++    # This happens at least with the AIX C compiler.
++    echo '#include "conftest.h"' > conftest.c
++    echo 'int i;' > conftest.h
++    echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
++
++    case $depmode in
+     nosideeffect)
+       # after this tag, mechanisms are not by side-effect, so they'll
+       # only be used when explicitly requested
+@@ -270,61 +468,57 @@
+     # We check with `-c' and `-o' for the sake of the "dashmstdout"
+     # mode.  It turns out that the SunPro C++ compiler does not properly
+     # handle `-M -o', and we need to detect this.
+-    if depmode="$depmode" \
++    if depmode=$depmode \
+        source=conftest.c object=conftest.o \
+        depfile=conftest.Po tmpdepfile=conftest.TPo \
+-       $SHELL $am_depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
+-       grep conftest.h conftest.Po > /dev/null 2>&1; then
+-      am_cv_[$1]_dependencies_compiler_type="$depmode"
++       $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
++       grep conftest.h conftest.Po > /dev/null 2>&1 &&
++       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
++      am_cv_$1_dependencies_compiler_type=$depmode
+       break
+     fi
+   done
+ 
+-  rm -f conftest.*
++  cd ..
++  rm -rf conftest.dir
+ else
+-  am_cv_[$1]_dependencies_compiler_type=none
++  am_cv_$1_dependencies_compiler_type=none
+ fi
+ ])
+-AC_MSG_RESULT($am_cv_[$1]_dependencies_compiler_type)
+-[$1]DEPMODE="depmode=$am_cv_[$1]_dependencies_compiler_type"
+-AC_SUBST([$1]DEPMODE)
++$1DEPMODE="depmode=$am_cv_$1_dependencies_compiler_type"
++AC_SUBST([$1DEPMODE])
+ ])
+ 
+-# Choose a directory name for dependency files.
+-# This macro is AC_REQUIREd in AM_DEPENDENCIES
+ 
+-AC_DEFUN([AM_SET_DEPDIR],[
+-if test -d .deps || mkdir .deps 2> /dev/null || test -d .deps; then
++# AM_SET_DEPDIR
++# -------------
++# Choose a directory name for dependency files.
++# This macro is AC_REQUIREd in _AM_DEPENDENCIES
++AC_DEFUN([AM_SET_DEPDIR],
++[rm -f .deps 2>/dev/null
++mkdir .deps 2>/dev/null
++if test -d .deps; then
+   DEPDIR=.deps
+-  # We redirect because .deps might already exist and be populated.
+-  # In this situation we don't want to see an error.
+-  rmdir .deps > /dev/null 2>&1
+ else
++  # MS-DOS does not allow filenames that begin with a dot.
+   DEPDIR=_deps
+ fi
++rmdir .deps 2>/dev/null
+ AC_SUBST(DEPDIR)
+ ])
+ 
+-AC_DEFUN([AM_DEP_TRACK],[
+-AC_ARG_ENABLE(dependency-tracking,
++
++# AM_DEP_TRACK
++# ------------
++AC_DEFUN([AM_DEP_TRACK],
++[AC_ARG_ENABLE(dependency-tracking,
+ [  --disable-dependency-tracking Speeds up one-time builds
+   --enable-dependency-tracking  Do not reject slow dependency extractors])
+-if test "x$enable_dependency_tracking" = xno; then
+-  AMDEP="#"
+-else
++if test "x$enable_dependency_tracking" != xno; then
+   am_depcomp="$ac_aux_dir/depcomp"
+-  if test ! -f "$am_depcomp"; then
+-    AMDEP="#"
+-  else
+-    AMDEP=
+-  fi
+-fi
+-AC_SUBST(AMDEP)
+-if test -z "$AMDEP"; then
+   AMDEPBACKSLASH='\'
+-else
+-  AMDEPBACKSLASH=
+ fi
++AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
+ pushdef([subst], defn([AC_SUBST]))
+ subst(AMDEPBACKSLASH)
+ popdef([subst])
+@@ -341,7 +535,7 @@
+ # need in order to bootstrap the dependency handling code.
+ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],[
+ AC_OUTPUT_COMMANDS([
+-test x"$AMDEP" != x"" ||
++test x"$AMDEP_TRUE" != x"" ||
+ for mf in $CONFIG_FILES; do
+   case "$mf" in
+   Makefile) dirpart=.;;
+@@ -378,9 +572,50 @@
+     echo '# dummy' > "$dirpart/$file"
+   done
+ done
+-], [AMDEP="$AMDEP"
++], [AMDEP_TRUE="$AMDEP_TRUE"
+ ac_aux_dir="$ac_aux_dir"])])
+ 
++# AM_MAKE_INCLUDE()
++# -----------------
++# Check to see how make treats includes.
++AC_DEFUN([AM_MAKE_INCLUDE],
++[am_make=${MAKE-make}
++cat > confinc << 'END'
++doit:
++	@echo done
++END
++# If we don't find an include directive, just comment out the code.
++AC_MSG_CHECKING([for style of include used by $am_make])
++am__include='#'
++am__quote=
++_am_result=none
++# First try GNU make style include.
++echo "include confinc" > confmf
++# We grep out `Entering directory' and `Leaving directory'
++# messages which can occur if `w' ends up in MAKEFLAGS.
++# In particular we don't look at `^make:' because GNU make might
++# be invoked under some other name (usually "gmake"), in which
++# case it prints its new name instead of `make'.
++if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
++   am__include=include
++   am__quote=
++   _am_result=GNU
++fi
++# Now try BSD make style include.
++if test "$am__include" = "#"; then
++   echo '.include "confinc"' > confmf
++   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
++      am__include=.include
++      am__quote='"'
++      _am_result=BSD
++   fi
++fi
++AC_SUBST(am__include)
++AC_SUBST(am__quote)
++AC_MSG_RESULT($_am_result)
++rm -f confinc confmf
++])
++
+ 
+ # AM_PROG_LEX
+ # Look for flex, lex or missing, then run AC_PROG_LEX and AC_DECL_YYTEXT
+@@ -542,6 +777,7 @@
+ # libtool.m4 - Configure libtool for the host system. -*-Shell-script-*-
+ 
+ # serial 46 AC_PROG_LIBTOOL
++
+ AC_DEFUN([AC_PROG_LIBTOOL],
+ [AC_REQUIRE([AC_LIBTOOL_SETUP])dnl
+ 
+@@ -667,9 +903,30 @@
+ 
+ ])
+ 
++# AC_LIBTOOL_HEADER_ASSERT
++# ------------------------
++AC_DEFUN([AC_LIBTOOL_HEADER_ASSERT],
++[AC_CACHE_CHECK([whether $CC supports assert without backlinking],
++    [lt_cv_func_assert_works],
++    [case $host in
++    *-*-solaris*)
++      if test "$GCC" = yes && test "$with_gnu_ld" != yes; then
++        case `$CC --version 2>/dev/null` in
++        [[12]].*) lt_cv_func_assert_works=no ;;
++        *)        lt_cv_func_assert_works=yes ;;
++        esac
++      fi
++      ;;
++    esac])
++
++if test "x$lt_cv_func_assert_works" = xyes; then
++  AC_CHECK_HEADERS(assert.h)
++fi
++])# AC_LIBTOOL_HEADER_ASSERT
++
+ # _LT_AC_CHECK_DLFCN
+ # --------------------
+-AC_DEFUN(_LT_AC_CHECK_DLFCN,
++AC_DEFUN([_LT_AC_CHECK_DLFCN],
+ [AC_CHECK_HEADERS(dlfcn.h)
+ ])# _LT_AC_CHECK_DLFCN
+ 
+@@ -687,10 +944,10 @@
+ # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
+ 
+ # Character class describing NM global symbol codes.
+-[symcode='[BCDEGRST]']
++symcode='[[BCDEGRST]]'
+ 
+ # Regexp to match symbols that can be accessed directly from C.
+-[sympat='\([_A-Za-z][_A-Za-z0-9]*\)']
++sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
+ 
+ # Transform the above into a raw symbol and a C symbol.
+ symxfrm='\1 \2\3 \3'
+@@ -698,25 +955,29 @@
+ # Transform an extracted symbol line into a proper C declaration
+ lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'"
+ 
++# Transform an extracted symbol line into symbol name and symbol address
++lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([[^ ]]*\) \([[^ ]]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
++
+ # Define system-specific variables.
+ case $host_os in
+ aix*)
+-  [symcode='[BCDT]']
++  symcode='[[BCDT]]'
+   ;;
+ cygwin* | mingw* | pw32*)
+-  [symcode='[ABCDGISTW]']
++  symcode='[[ABCDGISTW]]'
+   ;;
+ hpux*) # Its linker distinguishes data from code symbols
+   lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
++  lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
+   ;;
+-irix*)
+-  [symcode='[BCDEGRST]']
++irix* | nonstopux*)
++  symcode='[[BCDEGRST]]'
+   ;;
+ solaris* | sysv5*)
+-  [symcode='[BDT]']
++  symcode='[[BDT]]'
+   ;;
+ sysv4)
+-  [symcode='[DFNSTU]']
++  symcode='[[DFNSTU]]'
+   ;;
+ esac
+ 
+@@ -730,14 +991,14 @@
+ 
+ # If we're using GNU nm, then use its standard symbol codes.
+ if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then
+-  [symcode='[ABCDGISTW]']
++  symcode='[[ABCDGISTW]]'
+ fi
+ 
+ # Try without a prefix undercore, then with it.
+ for ac_symprfx in "" "_"; do
+ 
+   # Write the raw and C identifiers.
+-[lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"]
++lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ 	]]\($symcode$symcode*\)[[ 	]][[ 	]]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
+ 
+   # Check to see that the pipe works correctly.
+   pipe_works=no
+@@ -779,23 +1040,23 @@
+ 
+ 	  cat <<EOF >> conftest.$ac_ext
+ #if defined (__STDC__) && __STDC__
+-# define lt_ptr_t void *
++# define lt_ptr void *
+ #else
+-# define lt_ptr_t char *
++# define lt_ptr char *
+ # define const
+ #endif
+ 
+ /* The mapping between symbol names and symbols. */
+ const struct {
+   const char *name;
+-  lt_ptr_t address;
++  lt_ptr address;
+ }
+-[lt_preloaded_symbols[] =]
++lt_preloaded_symbols[[]] =
+ {
+ EOF
+-	  sed "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" >> conftest.$ac_ext
++	  sed "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.$ac_ext
+ 	  cat <<\EOF >> conftest.$ac_ext
+-  {0, (lt_ptr_t) 0}
++  {0, (lt_ptr) 0}
+ };
+ 
+ #ifdef __cplusplus
+@@ -839,10 +1100,13 @@
+ global_symbol_pipe="$lt_cv_sys_global_symbol_pipe"
+ if test -z "$lt_cv_sys_global_symbol_pipe"; then
+   global_symbol_to_cdecl=
++  global_symbol_to_c_name_address=
+ else
+   global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl"
++  global_symbol_to_c_name_address="$lt_cv_global_symbol_to_c_name_address"
+ fi
+-if test -z "$global_symbol_pipe$global_symbol_to_cdecl"; then
++if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address";
++then
+   AC_MSG_RESULT(failed)
+ else
+   AC_MSG_RESULT(ok)
+@@ -860,16 +1124,17 @@
+     *-DOS) lt_cv_sys_path_separator=';' ;;
+     *)     lt_cv_sys_path_separator=':' ;;
+   esac
++  PATH_SEPARATOR=$lt_cv_sys_path_separator
+ fi
+ ])# _LT_AC_LIBTOOL_SYS_PATH_SEPARATOR
+ 
+ # _LT_AC_PROG_ECHO_BACKSLASH
+ # --------------------------
+ # Add some code to the start of the generated configure script which
+-# will find an echo command which doesn;t interpret backslashes.
++# will find an echo command which doesn't interpret backslashes.
+ AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH],
+ [ifdef([AC_DIVERSION_NOTICE], [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
+-                              [AC_DIVERT_PUSH(NOTICE)])
++			      [AC_DIVERT_PUSH(NOTICE)])
+ _LT_AC_LIBTOOL_SYS_PATH_SEPARATOR
+ 
+ # Check that we are running under the correct shell.
+@@ -935,7 +1200,7 @@
+   #
+   # So, first we look for a working echo in the user's PATH.
+ 
+-  IFS="${IFS= 	}"; save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR}"
++  IFS="${IFS= 	}"; save_ifs="$IFS"; IFS=$PATH_SEPARATOR
+   for dir in $PATH /usr/ucb; do
+     if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
+        test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
+@@ -1024,7 +1289,7 @@
+ # _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
+ #                           ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
+ # ------------------------------------------------------------------
+-AC_DEFUN(_LT_AC_TRY_DLOPEN_SELF,
++AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF],
+ [if test "$cross_compiling" = yes; then :
+   [$4]
+ else
+@@ -1111,7 +1376,7 @@
+ 
+ # AC_LIBTOOL_DLOPEN_SELF
+ # -------------------
+-AC_DEFUN(AC_LIBTOOL_DLOPEN_SELF,
++AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF],
+ [if test "x$enable_dlopen" != xyes; then
+   enable_dlopen=unknown
+   enable_dlopen_self=unknown
+@@ -1133,16 +1398,22 @@
+    ;;
+ 
+   *)
+-    AC_CHECK_LIB(dl, dlopen,  [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
+-      [AC_CHECK_FUNC(dlopen, lt_cv_dlopen="dlopen",
+-        [AC_CHECK_FUNC(shl_load, lt_cv_dlopen="shl_load",
+-          [AC_CHECK_LIB(svld, dlopen,
+-	    [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
+-            [AC_CHECK_LIB(dld, shl_load,
+-              [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
++    AC_CHECK_FUNC([shl_load],
++          [lt_cv_dlopen="shl_load"],
++      [AC_CHECK_LIB([dld], [shl_load],
++            [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"],
++	[AC_CHECK_FUNC([dlopen],
++	      [lt_cv_dlopen="dlopen"],
++	  [AC_CHECK_LIB([dl], [dlopen],
++	        [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
++	    [AC_CHECK_LIB([svld], [dlopen],
++	          [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
++	      [AC_CHECK_LIB([dld], [dld_link],
++	            [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
++	      ])
+ 	    ])
+-          ])
+-        ])
++	  ])
++	])
+       ])
+     ;;
+   esac
+@@ -1205,10 +1476,10 @@
+ # Sed substitution that helps us do robust quoting.  It backslashifies
+ # metacharacters that are still active within double-quoted strings.
+ Xsed='sed -e s/^X//'
+-[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g']
++sed_quote_subst='s/\([[\\"\\`$\\\\]]\)/\\\1/g'
+ 
+ # Same as above, but do not quote variable references.
+-[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g']
++double_quote_subst='s/\([[\\"\\`\\\\]]\)/\\\1/g'
+ 
+ # Sed substitution to delay expansion of an escaped shell variable in a
+ # double_quote_subst'ed string.
+@@ -1277,8 +1548,15 @@
+ old_postuninstall_cmds=
+ 
+ if test -n "$RANLIB"; then
++  case $host_os in
++  openbsd*)
++    old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
++    ;;
++  *)
++    old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
++    ;;
++  esac
+   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
+-  old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
+ fi
+ 
+ # Allow CC to be a program name with arguments.
+@@ -1298,7 +1576,7 @@
+ AC_MSG_RESULT($objdir)
+ 
+ 
+-AC_ARG_WITH(pic, 
++AC_ARG_WITH(pic,
+ [  --with-pic              try to use only PIC/non-PIC objects [default=use both]],
+ pic_mode="$withval", pic_mode=default)
+ test -z "$pic_mode" && pic_mode=default
+@@ -1326,7 +1604,7 @@
+       # libC (AIX C++ library), which obviously doesn't included in libraries
+       # list by gcc. This cause undefined symbols with -static flags.
+       # This hack allows C programs to be linked with "-static -ldl", but
+-      # we not sure about C++ programs.
++      # not sure about C++ programs.
+       lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC"
+       ;;
+     amigaos*)
+@@ -1335,7 +1613,7 @@
+       # like `-m68040'.
+       lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4'
+       ;;
+-    beos* | irix5* | irix6* | osf3* | osf4* | osf5*)
++    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
+       # PIC is the default for these OSes.
+       ;;
+     darwin* | rhapsody*)
+@@ -1361,13 +1639,13 @@
+     # PORTME Check for PIC flags for the system compiler.
+     case $host_os in
+     aix3* | aix4* | aix5*)
++      lt_cv_prog_cc_wl='-Wl,'
+       # All AIX code is PIC.
+       if test "$host_cpu" = ia64; then
+-        # AIX 5 now supports IA64 processor
+-        lt_cv_prog_cc_static='-Bstatic'
+-        lt_cv_prog_cc_wl='-Wl,'
++	# AIX 5 now supports IA64 processor
++	lt_cv_prog_cc_static='-Bstatic'
+       else
+-        lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp'
++	lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp'
+       fi
+       ;;
+ 
+@@ -1378,7 +1656,7 @@
+       lt_cv_prog_cc_pic='+Z'
+       ;;
+ 
+-    irix5* | irix6*)
++    irix5* | irix6* | nonstopux*)
+       lt_cv_prog_cc_wl='-Wl,'
+       lt_cv_prog_cc_static='-non_shared'
+       # PIC (with -KPIC) is the default.
+@@ -1423,9 +1701,9 @@
+       lt_cv_prog_cc_pic='-KPIC'
+       lt_cv_prog_cc_static='-Bstatic'
+       if test "x$host_vendor" = xsni; then
+-        lt_cv_prog_cc_wl='-LD'
++	lt_cv_prog_cc_wl='-LD'
+       else
+-        lt_cv_prog_cc_wl='-Wl,'
++	lt_cv_prog_cc_wl='-Wl,'
+       fi
+       ;;
+ 
+@@ -1492,7 +1770,7 @@
+ # Check for any special shared library compilation flags.
+ if test -n "$lt_cv_prog_cc_shlib"; then
+   AC_MSG_WARN([\`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries])
+-  if echo "$old_CC $old_CFLAGS " | [egrep -e "[ 	]$lt_cv_prog_cc_shlib[ 	]"] >/dev/null; then :
++  if echo "$old_CC $old_CFLAGS " | egrep -e "[[ 	]]$lt_cv_prog_cc_shlib[[ 	]]" >/dev/null; then :
+   else
+    AC_MSG_WARN([add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure])
+     lt_cv_prog_cc_can_build_shared=no
+@@ -1568,6 +1846,8 @@
+   lt_cv_compiler_o_lo=no
+   save_CFLAGS="$CFLAGS"
+   CFLAGS="$CFLAGS -c -o conftest.lo"
++  save_objext="$ac_objext"
++  ac_objext=lo
+   AC_TRY_COMPILE([], [int some_variable = 0;], [dnl
+     # The compiler can only warn and ignore the option if not recognized
+     # So say no if there are warnings
+@@ -1577,10 +1857,11 @@
+       lt_cv_compiler_o_lo=yes
+     fi
+   ])
++  ac_objext="$save_objext"
+   CFLAGS="$save_CFLAGS"
+   ])
+   compiler_o_lo=$lt_cv_compiler_o_lo
+-  AC_MSG_RESULT([$compiler_c_lo])
++  AC_MSG_RESULT([$compiler_o_lo])
+ else
+   compiler_o_lo=no
+ fi
+@@ -1673,7 +1954,7 @@
+ extract_expsyms_cmds=
+ 
+ case $host_os in
+-cygwin* | mingw* | pw32* )
++cygwin* | mingw* | pw32*)
+   # FIXME: the MSVC++ port hasn't been tested in a loooong time
+   # When not using gcc, we currently assume that we are using
+   # Microsoft Visual C++.
+@@ -1681,7 +1962,9 @@
+     with_gnu_ld=no
+   fi
+   ;;
+-
++openbsd*)
++  with_gnu_ld=no
++  ;;
+ esac
+ 
+ ld_shlibs=yes
+@@ -1768,7 +2051,7 @@
+     # can override, but on older systems we have to supply one (in ltdll.c)
+     if test "x$lt_cv_need_dllmain" = "xyes"; then
+       ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext "
+-      ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < [$]0 > $output_objdir/$soname-ltdll.c~
++      ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < $''0 > $output_objdir/$soname-ltdll.c~
+ 	test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~'
+     else
+       ltdll_obj=
+@@ -1781,24 +2064,24 @@
+     # Be careful not to strip the DATA tag left be newer dlltools.
+     export_symbols_cmds="$ltdll_cmds"'
+       $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~
+-      [sed -e "1,/EXPORTS/d" -e "s/ @ [0-9]*//" -e "s/ *;.*$//"] < $output_objdir/$soname-def > $export_symbols'
++      sed -e "1,/EXPORTS/d" -e "s/ @ [[0-9]]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols'
+ 
+     # If the export-symbols file already is a .def file (1st line
+     # is EXPORTS), use it as is.
+     # If DATA tags from a recent dlltool are present, honour them!
+     archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then
+-        cp $export_symbols $output_objdir/$soname-def;
++	cp $export_symbols $output_objdir/$soname-def;
+       else
+-        echo EXPORTS > $output_objdir/$soname-def;
+-        _lt_hint=1;
+-        cat $export_symbols | while read symbol; do
+-         set dummy \$symbol;
+-         case \[$]# in
+-           2) echo "   \[$]2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
+-           *) echo "     \[$]2 @ \$_lt_hint \[$]3 ; " >> $output_objdir/$soname-def;;
+-         esac;
+-         _lt_hint=`expr 1 + \$_lt_hint`;
+-        done;
++	echo EXPORTS > $output_objdir/$soname-def;
++	_lt_hint=1;
++	cat $export_symbols | while read symbol; do
++	 set dummy \$symbol;
++	 case \[$]# in
++	   2) echo "   \[$]2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
++	   *) echo "     \[$]2 @ \$_lt_hint \[$]3 ; " >> $output_objdir/$soname-def;;
++	 esac;
++	 _lt_hint=`expr 1 + \$_lt_hint`;
++	done;
+       fi~
+       '"$ltdll_cmds"'
+       $CC -Wl,--base-file,$output_objdir/$soname-base '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
+@@ -1893,80 +2176,96 @@
+     ;;
+ 
+   aix4* | aix5*)
++    if test "$host_cpu" = ia64; then
++      # On IA64, the linker does run time linking by default, so we don't
++      # have to do anything special.
++      aix_use_runtimelinking=no
++      exp_sym_flag='-Bexport'
++      no_entry_flag=""
++    else
++      aix_use_runtimelinking=no
++
++      # Test if we are trying to use run time linking or normal
++      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
++      # need to do runtime linking.
++      case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
++	for ld_flag in $LDFLAGS; do
++	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
++	    aix_use_runtimelinking=yes
++	    break
++	  fi
++	done
++      esac
++
++      exp_sym_flag='-bexport'
++      no_entry_flag='-bnoentry'
++    fi
++
+     # When large executables or shared objects are built, AIX ld can
+     # have problems creating the table of contents.  If linking a library
+     # or program results in "error TOC overflow" add -mminimal-toc to
+     # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
+     # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
+ 
++    hardcode_direct=yes
+     archive_cmds=''
+     hardcode_libdir_separator=':'
+     if test "$GCC" = yes; then
+-      collect2name=`${CC} -print-prog-name=collect2`
+-      if test -f "$collect2name" && \
+-	 strings "$collect2name" | grep resolve_lib_name >/dev/null
+-      then
+-	# We have reworked collect2
+-	hardcode_direct=yes
+-      else
+-        # We have old collect2
+-        hardcode_direct=unsupported
+-        # It fails to find uninstalled libraries when the uninstalled
+-        # path is not listed in the libpath.  Setting hardcode_minus_L
+-        # to unsupported forces relinking
+-        hardcode_minus_L=yes
+-        hardcode_libdir_flag_spec='-L$libdir'
+-        hardcode_libdir_separator=
+-      fi
++      case $host_os in aix4.[[012]]|aix4.[[012]].*)
++	collect2name=`${CC} -print-prog-name=collect2`
++	if test -f "$collect2name" && \
++	  strings "$collect2name" | grep resolve_lib_name >/dev/null
++	then
++	  # We have reworked collect2
++	  hardcode_direct=yes
++	else
++	  # We have old collect2
++	  hardcode_direct=unsupported
++	  # It fails to find uninstalled libraries when the uninstalled
++	  # path is not listed in the libpath.  Setting hardcode_minus_L
++	  # to unsupported forces relinking
++	  hardcode_minus_L=yes
++	  hardcode_libdir_flag_spec='-L$libdir'
++	  hardcode_libdir_separator=
++	fi
++      esac
++
+       shared_flag='-shared'
+     else
++      # not using gcc
+       if test "$host_cpu" = ia64; then
+-        shared_flag='-G'
++	shared_flag='${wl}-G'
+       else
+-        shared_flag='${wl}-bM:SRE'
++	if test "$aix_use_runtimelinking" = yes; then
++	  shared_flag='${wl}-G'
++	else
++	  shared_flag='${wl}-bM:SRE'
++	fi
+       fi
+-      hardcode_direct=yes
+     fi
+ 
+-    if test "$host_cpu" = ia64; then
+-      # On IA64, the linker does run time linking by default, so we don't
+-      # have to do anything special.
+-      aix_use_runtimelinking=no
+-      exp_sym_flag='-Bexport'
+-      no_entry_flag=""
+-    else
+-      # Test if we are trying to use run time linking, or normal AIX style linking.
+-      # If -brtl is somewhere in LDFLAGS, we need to do run time linking.
+-      aix_use_runtimelinking=no
+-      for ld_flag in $LDFLAGS; do
+-        if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl" ); then
+-          aix_use_runtimelinking=yes
+-          break
+-        fi
+-      done
+-      exp_sym_flag='-bexport'
+-      no_entry_flag='-bnoentry'
+-    fi
+     # It seems that -bexpall can do strange things, so it is better to
+     # generate a list of symbols to export.
+     always_export_symbols=yes
+     if test "$aix_use_runtimelinking" = yes; then
++      # Warning - without using the other runtime loading flags (-brtl),
++      # -berok will link without error, but may produce a broken library.
++      allow_undefined_flag='-berok'
+       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib'
+-      allow_undefined_flag=' -Wl,-G'
+-      archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
++      archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
+     else
+       if test "$host_cpu" = ia64; then
+-        hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
+-       allow_undefined_flag="-znodefs"
+-        archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
++	hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
++	allow_undefined_flag="-z nodefs"
++	archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
+       else
+-        hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib'
+-        # Warning - without using the other run time loading flags, -berok will
+-        #           link without error, but may produce a broken library.
+-        allow_undefined_flag='${wl}-berok"
+-        # This is a bit strange, but is similar to how AIX traditionally builds
+-        # it's shared libraries.
+-        archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $objdir/$libname$release.a $objdir/$soname'
++	hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib'
++	# Warning - without using the other run time loading flags,
++	# -berok will link without error, but may produce a broken library.
++	allow_undefined_flag='${wl}-berok'
++	# This is a bit strange, but is similar to how AIX traditionally builds
++	# it's shared libraries.
++	archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $objdir/$libname$release.a $objdir/$soname'
+       fi
+     fi
+     ;;
+@@ -1998,11 +2297,19 @@
+     ;;
+ 
+   darwin* | rhapsody*)
+-    allow_undefined_flag='-undefined suppress'
++    case "$host_os" in
++    rhapsody* | darwin1.[[012]])
++      allow_undefined_flag='-undefined suppress'
++      ;;
++    *) # Darwin 1.3 on
++      allow_undefined_flag='-flat_namespace -undefined suppress'
++      ;;
++    esac
+     # FIXME: Relying on posixy $() will cause problems for
+     #        cross-compilation, but unfortunately the echo tests do not
+-    #        yet detect zsh echo's removal of \ escapes.
+-    archive_cmds='$CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linkopts -install_name $rpath/$soname $(test -n "$verstring" -a x$verstring != x0.0 && echo $verstring)'
++    #        yet detect zsh echo's removal of \ escapes.  Also zsh mangles
++    #	     `"' quotes if we put them in here... so don't!
++    archive_cmds='$nonopt $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linker_flags -install_name $rpath/$soname $verstring'
+     # We need to add '_' to the symbols in $export_symbols first
+     #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
+     hardcode_direct=yes
+@@ -2054,7 +2361,7 @@
+     export_dynamic_flag_spec='${wl}-E'
+     ;;
+ 
+-  irix5* | irix6*)
++  irix5* | irix6* | nonstopux*)
+     if test "$GCC" = yes; then
+       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+     else
+@@ -2077,7 +2384,7 @@
+     ;;
+ 
+   newsos6)
+-    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linkopts'
++    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+     hardcode_direct=yes
+     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
+     hardcode_libdir_separator=:
+@@ -2085,10 +2392,24 @@
+     ;;
+ 
+   openbsd*)
+-    archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
+-    hardcode_libdir_flag_spec='-R$libdir'
+     hardcode_direct=yes
+     hardcode_shlibpath_var=no
++    if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
++      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
++      export_dynamic_flag_spec='${wl}-E'
++    else
++      case "$host_os" in
++      openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
++	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++	hardcode_libdir_flag_spec='-R$libdir'
++        ;;
++      *)
++        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
++        hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
++        ;;
++      esac
++    fi
+     ;;
+ 
+   os2*)
+@@ -2133,10 +2454,39 @@
+     hardcode_shlibpath_var=no
+     runpath_var=LD_RUN_PATH
+     hardcode_runpath_var=yes
++    export_dynamic_flag_spec='${wl}-Bexport'
+     ;;
+ 
+   solaris*)
++    # gcc --version < 3.0 without binutils cannot create self contained
++    # shared libraries reliably, requiring libgcc.a to resolve some of
++    # the object symbols generated in some cases.  Libraries that use
++    # assert need libgcc.a to resolve __eprintf, for example.  Linking
++    # a copy of libgcc.a into every shared library to guarantee resolving
++    # such symbols causes other problems:  According to Tim Van Holder
++    # <tim.van.holder@pandora.be>, C++ libraries end up with a separate
++    # (to the application) exception stack for one thing.
+     no_undefined_flag=' -z defs'
++    if test "$GCC" = yes; then
++      case `$CC --version 2>/dev/null` in
++      [[12]].*)
++	cat <<EOF 1>&2
++
++*** Warning: Releases of GCC earlier than version 3.0 cannot reliably
++*** create self contained shared libraries on Solaris systems, without
++*** introducing a dependency on libgcc.a.  Therefore, libtool is disabling
++*** -no-undefined support, which will at least allow you to build shared
++*** libraries.  However, you may find that when you link such libraries
++*** into an application without using GCC, you have to manually add
++*** \`gcc --print-libgcc-file-name\` to the link command.  We urge you to
++*** upgrade to a newer version of GCC.  Another option is to rebuild your
++*** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer.
++
++EOF
++        no_undefined_flag=
++	;;
++      esac
++    fi
+     # $CC -shared without GNU ld will not create a library from C++
+     # object files and a static libstdc++, better avoid it by now
+     archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
+@@ -2145,7 +2495,7 @@
+     hardcode_libdir_flag_spec='-R$libdir'
+     hardcode_shlibpath_var=no
+     case $host_os in
+-    [solaris2.[0-5] | solaris2.[0-5].*]) ;;
++    solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
+     *) # Supported since Solaris 2.6 (maybe 2.5.1?)
+       whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
+     esac
+@@ -2168,7 +2518,7 @@
+ 
+   sysv4)
+     if test "x$host_vendor" = xsno; then
+-      archive_cmds='$LD -G -Bsymbolic -h $soname -o $lib $libobjs $deplibs $linkopts'
++      archive_cmds='$LD -G -Bsymbolic -h $soname -o $lib $libobjs $deplibs $linker_flags'
+       hardcode_direct=yes # is this really true???
+     else
+       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+@@ -2325,22 +2675,24 @@
+     # depend on `.', always an invalid library.  This was fixed in
+     # development snapshots of GCC prior to 3.0.
+     case $host_os in
+-      [ aix4 | aix4.[01] | aix4.[01].*)]
+-      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
+-           echo ' yes '
+-           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
+-        :
+-      else
+-        can_build_shared=no
+-      fi
+-      ;;
++      aix4 | aix4.[[01]] | aix4.[[01]].*)
++	if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
++	     echo ' yes '
++	     echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
++	  :
++	else
++	  can_build_shared=no
++	fi
++	;;
+     esac
+-    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
+-    # soname into executable. Probably we can add versioning support to
+-    # collect2, so additional links can be useful in future.
++    # AIX (on Power*) has no versioning support, so currently we can
++    # not hardcode correct soname into executable. Probably we can
++    # add versioning support to collect2, so additional links can
++    # be useful in future.
+     if test "$aix_use_runtimelinking" = yes; then
+-      # If using run time linking (on AIX 4.2 or later) use lib<name>.so instead of
+-      # lib<name>.a to let people know that these are not typical AIX shared libraries.
++      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
++      # instead of lib<name>.a to let people know that these are not
++      # typical AIX shared libraries.
+       library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
+     else
+       # We preserve .a as extension for shared libraries through AIX4.2
+@@ -2349,14 +2701,13 @@
+       soname_spec='${libname}${release}.so$major'
+     fi
+     shlibpath_var=LIBPATH
+-    deplibs_check_method=pass_all
+   fi
+   ;;
+ 
+ amigaos*)
+   library_names_spec='$libname.ixlibrary $libname.a'
+   # Create ${libname}_ixlibrary.a entries in /sys/libs.
+-  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | [$Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\'']`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done'
++  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done'
+   ;;
+ 
+ beos*)
+@@ -2387,7 +2738,7 @@
+   case $GCC,$host_os in
+   yes,cygwin*)
+     library_names_spec='$libname.dll.a'
+-    soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | [sed -e 's/[.]/-/g']`${versuffix}.dll'
++    soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll'
+     postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~
+       dldir=$destdir/`dirname \$dlpath`~
+       test -d \$dldir || mkdir -p \$dldir~
+@@ -2397,14 +2748,14 @@
+        $rm \$dlpath'
+     ;;
+   yes,mingw*)
+-    library_names_spec='${libname}`echo ${release} | [sed -e 's/[.]/-/g']`${versuffix}.dll'
++    library_names_spec='${libname}`echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll'
+     sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g"`
+     ;;
+   yes,pw32*)
+     library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
+     ;;
+   *)
+-    library_names_spec='${libname}`echo ${release} | [sed -e 's/[.]/-/g']`${versuffix}.dll $libname.lib'
++    library_names_spec='${libname}`echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll $libname.lib'
+     ;;
+   esac
+   dynamic_linker='Win32 ld.exe'
+@@ -2481,14 +2832,17 @@
+   postinstall_cmds='chmod 555 $lib'
+   ;;
+ 
+-irix5* | irix6*)
+-  version_type=irix
++irix5* | irix6* | nonstopux*)
++  case $host_os in
++    nonstopux*) version_type=nonstopux ;;
++    *)          version_type=irix ;;
++  esac
+   need_lib_prefix=no
+   need_version=no
+   soname_spec='${libname}${release}.so$major'
+   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so'
+   case $host_os in
+-  irix5*)
++  irix5* | nonstopux*)
+     libsuff= shlibsuff=
+     ;;
+   *)
+@@ -2562,9 +2916,19 @@
+ 
+ openbsd*)
+   version_type=sunos
+-  if test "$with_gnu_ld" = yes; then
+-    need_lib_prefix=no
+-    need_version=no
++  need_lib_prefix=no
++  need_version=no
++  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
++    case "$host_os" in
++    openbsd2.[[89]] | openbsd2.[[89]].*)
++      shlibpath_overrides_runpath=no
++      ;;
++    *)
++      shlibpath_overrides_runpath=yes
++      ;;
++    esac
++  else
++    shlibpath_overrides_runpath=yes
+   fi
+   library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
+   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
+@@ -2582,6 +2946,7 @@
+ osf3* | osf4* | osf5*)
+   version_type=osf
+   need_version=no
++  need_lib_prefix=no
+   soname_spec='${libname}${release}.so'
+   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
+   shlibpath_var=LD_LIBRARY_PATH
+@@ -2675,6 +3040,33 @@
+ AC_MSG_CHECKING([if libtool supports shared libraries])
+ AC_MSG_RESULT([$can_build_shared])
+ 
++AC_MSG_CHECKING([whether to build shared libraries])
++test "$can_build_shared" = "no" && enable_shared=no
++
++# On AIX, shared libraries and static libraries use the same namespace, and
++# are all built from PIC.
++case "$host_os" in
++aix3*)
++  test "$enable_shared" = yes && enable_static=no
++  if test -n "$RANLIB"; then
++    archive_cmds="$archive_cmds~\$RANLIB \$lib"
++    postinstall_cmds='$RANLIB $lib'
++  fi
++  ;;
++
++aix4*)
++  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
++    test "$enable_shared" = yes && enable_static=no
++  fi
++  ;;
++esac
++AC_MSG_RESULT([$enable_shared])
++
++AC_MSG_CHECKING([whether to build static libraries])
++# Make sure either enable_shared or enable_static is yes.
++test "$enable_shared" = yes || enable_static=yes
++AC_MSG_RESULT([$enable_static])
++
+ if test "$hardcode_action" = relink; then
+   # Fast installation is not supported
+   enable_fast_install=no
+@@ -2768,6 +3160,7 @@
+     old_striplib striplib file_magic_cmd export_symbols_cmds \
+     deplibs_check_method allow_undefined_flag no_undefined_flag \
+     finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \
++    global_symbol_to_c_name_address \
+     hardcode_libdir_flag_spec hardcode_libdir_separator  \
+     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
+     compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do
+@@ -2834,12 +3227,12 @@
+ # Whether or not to build shared libraries.
+ build_libtool_libs=$enable_shared
+ 
+-# Whether or not to add -lc for building shared libraries.
+-build_libtool_need_lc=$need_lc
+-
+ # Whether or not to build static libraries.
+ build_old_libs=$enable_static
+ 
++# Whether or not to add -lc for building shared libraries.
++build_libtool_need_lc=$need_lc
++
+ # Whether or not to optimize for fast installation.
+ fast_install=$enable_fast_install
+ 
+@@ -3005,6 +3398,9 @@
+ # Transform the output of nm in a proper C declaration
+ global_symbol_to_cdecl=$lt_global_symbol_to_cdecl
+ 
++# Transform the output of nm in a C name address pair
++global_symbol_to_c_name_address=$lt_global_symbol_to_c_name_address
++
+ # This is the shared library runtime path variable.
+ runpath_var=$runpath_var
+ 
+@@ -3127,9 +3523,9 @@
+ #   return TRUE;
+ # }
+ # /* ltdll.c ends here */
+-        # This is a source program that is used to create import libraries
+-        # on Windows for dlls which lack them. Don't remove nor modify the
+-        # starting and closing comments
++	# This is a source program that is used to create import libraries
++	# on Windows for dlls which lack them. Don't remove nor modify the
++	# starting and closing comments
+ # /* impgen.c starts here */
+ # /*   Copyright (C) 1999-2000 Free Software Foundation, Inc.
+ #
+@@ -3484,6 +3880,7 @@
+ AC_REQUIRE([AC_PROG_CC])dnl
+ AC_REQUIRE([AC_CANONICAL_HOST])dnl
+ AC_REQUIRE([AC_CANONICAL_BUILD])dnl
++AC_REQUIRE([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR])dnl
+ ac_prog=ld
+ if test "$GCC" = yes; then
+   # Check if gcc -print-prog-name=ld gives a path.
+@@ -3497,8 +3894,8 @@
+   esac
+   case $ac_prog in
+     # Accept absolute paths.
+-    [[\\/]* | [A-Za-z]:[\\/]*)]
+-      [re_direlt='/[^/][^/]*/\.\./']
++    [[\\/]]* | [[A-Za-z]]:[[\\/]]*)
++      re_direlt='/[[^/]][[^/]]*/\.\./'
+       # Canonicalize the path of ld
+       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
+       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
+@@ -3522,7 +3919,7 @@
+ fi
+ AC_CACHE_VAL(lt_cv_path_LD,
+ [if test -z "$LD"; then
+-  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
++  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
+   for ac_dir in $PATH; do
+     test -z "$ac_dir" && ac_dir=.
+     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
+@@ -3586,7 +3983,7 @@
+ # `unknown' -- same as none, but documents that we really don't know.
+ # 'pass_all' -- all dependencies passed with no checks.
+ # 'test_compile' -- check by making test program.
+-# ['file_magic [regex]'] -- check by looking for files in library path
++# 'file_magic [[regex]]' -- check by looking for files in library path
+ # which responds to the $file_magic_cmd with a given egrep regex.
+ # If you have `file' or equivalent on your system and you're not sure
+ # whether `pass_all' will *always* work, you probably want this one.
+@@ -3601,7 +3998,7 @@
+   ;;
+ 
+ bsdi4*)
+-  [lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)']
++  lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
+   lt_cv_file_magic_cmd='/usr/bin/file -L'
+   lt_cv_file_magic_test_file=/shlib/libc.so
+   ;;
+@@ -3615,7 +4012,7 @@
+   lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
+   lt_cv_file_magic_cmd='/usr/bin/file -L'
+   case "$host_os" in
+-  rhapsody* | darwin1.[012])
++  rhapsody* | darwin1.[[012]])
+     lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1`
+     ;;
+   *) # Darwin 1.3 on
+@@ -3630,7 +4027,7 @@
+     i*86 )
+       # Not sure whether the presence of OpenBSD here was a mistake.
+       # Let's accept both of them until this is cleared up.
+-      [lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library']
++      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[[3-9]]86 (compact )?demand paged shared library'
+       lt_cv_file_magic_cmd=/usr/bin/file
+       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
+       ;;
+@@ -3645,14 +4042,14 @@
+   ;;
+ 
+ hpux10.20*|hpux11*)
+-  [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library']
++  lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
+   lt_cv_file_magic_cmd=/usr/bin/file
+   lt_cv_file_magic_test_file=/usr/lib/libc.sl
+   ;;
+ 
+-irix5* | irix6*)
++irix5* | irix6* | nonstopux*)
+   case $host_os in
+-  irix5*)
++  irix5* | nonstopux*)
+     # this will be overridden with pass_all, but let us keep it just in case
+     lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
+     ;;
+@@ -3664,7 +4061,7 @@
+     *) libmagic=never-match;;
+     esac
+     # this will be overridden with pass_all, but let us keep it just in case
+-    [lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"]
++    lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[[1234]] dynamic lib MIPS - version 1"
+     ;;
+   esac
+   lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
+@@ -3673,30 +4070,34 @@
+ 
+ # This must be Linux ELF.
+ linux-gnu*)
+-  case $host_cpu in
+-  alpha* | i*86 | powerpc* | sparc* | ia64* )
+-    lt_cv_deplibs_check_method=pass_all ;;
+-  *)
+-    # glibc up to 2.1.1 does not perform some relocations on ARM
+-    [lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;]
+-  esac
++  lt_cv_deplibs_check_method=pass_all
+   lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
+   ;;
+ 
+ netbsd*)
+   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
+-    [lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$']
++    lt_cv_deplibs_check_method='match_pattern /lib[[^/\.]]+\.so\.[[0-9]]+\.[[0-9]]+$'
+   else
+-    [lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$']
++    lt_cv_deplibs_check_method='match_pattern /lib[[^/\.]]+\.so$'
+   fi
+   ;;
+ 
+ newos6*)
+-  [lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)']
++  lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
+   lt_cv_file_magic_cmd=/usr/bin/file
+   lt_cv_file_magic_test_file=/usr/lib/libnls.so
+   ;;
+ 
++openbsd*)
++  lt_cv_file_magic_cmd=/usr/bin/file
++  lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
++  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
++    lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB shared object'
++  else
++    lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
++  fi
++  ;;
++
+ osf3* | osf4* | osf5*)
+   # this will be overridden with pass_all, but let us keep it just in case
+   lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
+@@ -3713,14 +4114,14 @@
+   lt_cv_file_magic_test_file=/lib/libc.so
+   ;;
+ 
+-[sysv5uw[78]* | sysv4*uw2*)]
++sysv5uw[[78]]* | sysv4*uw2*)
+   lt_cv_deplibs_check_method=pass_all
+   ;;
+ 
+ sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
+   case $host_vendor in
+   motorola)
+-    [lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]']
++    lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]'
+     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
+     ;;
+   ncr)
+@@ -3728,11 +4129,11 @@
+     ;;
+   sequent)
+     lt_cv_file_magic_cmd='/bin/file'
+-    [lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )']
++    lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
+     ;;
+   sni)
+     lt_cv_file_magic_cmd='/bin/file'
+-    [lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"]
++    lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
+     lt_cv_file_magic_test_file=/lib/libc.so
+     ;;
+   esac
+@@ -3746,13 +4147,14 @@
+ 
+ # AC_PROG_NM - find the path to a BSD-compatible name lister
+ AC_DEFUN([AC_PROG_NM],
+-[AC_MSG_CHECKING([for BSD-compatible nm])
++[AC_REQUIRE([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR])dnl
++AC_MSG_CHECKING([for BSD-compatible nm])
+ AC_CACHE_VAL(lt_cv_path_NM,
+ [if test -n "$NM"; then
+   # Let the user override the test.
+   lt_cv_path_NM="$NM"
+ else
+-  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
++  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
+   for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
+     test -z "$ac_dir" && ac_dir=.
+     tmp_nm=$ac_dir/${ac_tool_prefix}nm
+@@ -3799,12 +4201,12 @@
+ ])
+ 
+ # AC_LIBLTDL_CONVENIENCE[(dir)] - sets LIBLTDL to the link flags for
+-# the libltdl convenience library and INCLTDL to the include flags for
++# the libltdl convenience library and LTDLINCL to the include flags for
+ # the libltdl header and adds --enable-ltdl-convenience to the
+-# configure arguments.  Note that LIBLTDL and INCLTDL are not
++# configure arguments.  Note that LIBLTDL and LTDLINCL are not
+ # AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called.  If DIR is not
+ # provided, it is assumed to be `libltdl'.  LIBLTDL will be prefixed
+-# with '${top_builddir}/' and INCLTDL will be prefixed with
++# with '${top_builddir}/' and LTDLINCL will be prefixed with
+ # '${top_srcdir}/' (note the single quotes!).  If your package is not
+ # flat and you're not using automake, define top_builddir and
+ # top_srcdir appropriately in the Makefiles.
+@@ -3816,16 +4218,18 @@
+       ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
+   esac
+   LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la
+-  INCLTDL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
++  LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
++  # For backwards non-gettext consistent compatibility...
++  INCLTDL="$LTDLINCL"
+ ])
+ 
+ # AC_LIBLTDL_INSTALLABLE[(dir)] - sets LIBLTDL to the link flags for
+-# the libltdl installable library and INCLTDL to the include flags for
++# the libltdl installable library and LTDLINCL to the include flags for
+ # the libltdl header and adds --enable-ltdl-install to the configure
+-# arguments.  Note that LIBLTDL and INCLTDL are not AC_SUBSTed, nor is
++# arguments.  Note that LIBLTDL and LTDLINCL are not AC_SUBSTed, nor is
+ # AC_CONFIG_SUBDIRS called.  If DIR is not provided and an installed
+ # libltdl is not found, it is assumed to be `libltdl'.  LIBLTDL will
+-# be prefixed with '${top_builddir}/' and INCLTDL will be prefixed
++# be prefixed with '${top_builddir}/' and LTDLINCL will be prefixed
+ # with '${top_srcdir}/' (note the single quotes!).  If your package is
+ # not flat and you're not using automake, define top_builddir and
+ # top_srcdir appropriately in the Makefiles.
+@@ -3843,12 +4247,14 @@
+   if test x"$enable_ltdl_install" = x"yes"; then
+     ac_configure_args="$ac_configure_args --enable-ltdl-install"
+     LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la
+-    INCLTDL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
++    LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
+   else
+     ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
+     LIBLTDL="-lltdl"
+-    INCLTDL=
++    LTDLINCL=
+   fi
++  # For backwards non-gettext consistent compatibility...
++  INCLTDL="$LTDLINCL"
+ ])
+ 
+ # old names
+@@ -4108,6 +4514,72 @@
+ AC_SUBST(LIB_$1)
+ ])
+ 
++dnl $Id: roken.m4,v 1.2 2000/07/08 15:50:34 assar Exp $
++dnl
++dnl try to look for an installed roken library with sufficient stuff
++dnl
++dnl set LIB_roken to the what we should link with
++dnl set DIR_roken to if the directory should be built
++dnl set CPPFLAGS_roken to stuff to add to CPPFLAGS
++
++dnl AC_ROKEN(version,directory-to-try,roken-dir,fallback-library,fallback-cppflags)
++AC_DEFUN(AC_ROKEN, [
++
++AC_ARG_WITH(roken,
++[  --with-roken=dir	use the roken library in dir],
++[if test "$withval" = "no"; then
++  AC_MSG_ERROR(roken is required)
++fi])
++
++save_CPPFLAGS="${CPPFLAGS}"
++
++case $with_roken in
++yes|"")
++  dirs="$2" ;;
++*)
++  dirs="$with_roken" ;;
++esac
++
++roken_installed=no
++
++for i in $dirs; do
++
++AC_MSG_CHECKING(for roken in $i)
++
++CPPFLAGS="-I$i/include ${CPPFLAGS}"
++
++AC_TRY_CPP(
++[#include <roken.h>
++//#if ROKEN_VERSION < $1
++//#error old roken version, should be $1
++//fail
++//#endif
++],[roken_installed=yes; break])
++
++AC_MSG_RESULT($roken_installed)
++
++done
++
++CPPFLAGS="$save_CPPFLAGS"
++
++if test "$roken_installed" != "yes"; then
++  DIR_roken="roken"
++  LIB_roken='$4'
++  CPPFLAGS_roken='$5'
++dnl  AC_CONFIG_SUBDIRS(lib/roken)
++else
++  LIB_roken="$i/lib/libroken.la"
++  CPPFLAGS_roken="-I$i/include"
++fi
++
++AC_FIND_FUNC_NO_LIBS(crypt, crypt)dnl
++LIB_roken="${LIB_roken} \$(LIB_crypt) \$(LIB_dbopen)"
++
++AC_SUBST(LIB_roken)dnl
++AC_SUBST(DIR_roken)dnl
++AC_SUBST(CPPFLAGS_roken)dnl
++])
++
+ dnl $Id: roken-frag.m4,v 1.30 2001/08/27 23:06:50 assar Exp $
+ dnl
+ dnl some code to get roken working
+@@ -4840,19 +5312,6 @@
+ fi
+ ])
+ 
+-# Define a conditional.
+-
+-AC_DEFUN([AM_CONDITIONAL],
+-[AC_SUBST($1_TRUE)
+-AC_SUBST($1_FALSE)
+-if $2; then
+-  $1_TRUE=
+-  $1_FALSE='#'
+-else
+-  $1_TRUE='#'
+-  $1_FALSE=
+-fi])
+-
+ dnl $Id: krb-ipv6.m4,v 1.12 2001/08/19 16:27:02 joda Exp $
+ dnl
+ dnl test for IPv6
+@@ -5476,7 +5935,7 @@
+ header_dirs=
+ lib_dirs=
+ d='$5'
+-for i in $d; do
++for i in $d /usr; do
+ 	header_dirs="$header_dirs $i/include"
+ 	lib_dirs="$lib_dirs $i/lib$abilibdirext"
+ done
+@@ -5509,6 +5968,7 @@
+ if test "$ires" -a "$lres" -a "$with_$1" != "no"; then
+ 	$1_includedir="$ires"
+ 	$1_libdir="$lres"
++	DIR_$1=
+ 	INCLUDE_$1="-I$$1_includedir"
+ 	LIB_$1="-L$$1_libdir $3"
+ 	m4_ifval([$6],
+@@ -5517,6 +5977,7 @@
+ 	with_$1=yes
+ 	AC_MSG_RESULT([headers $ires, libraries $lres])
+ else
++	DIR_$1=
+ 	INCLUDE_$1=
+ 	LIB_$1=
+ 	with_$1=no
+@@ -5525,6 +5986,7 @@
+ dnl m4_ifval([$6],
+ dnl 	AM_CONDITIONAL($6, test "$with_$1" = yes)
+ dnl 	AM_CONDITIONAL(upcase($1), test "$with_$1" = yes))
++AC_SUBST(DIR_$1)
+ AC_SUBST(INCLUDE_$1)
+ AC_SUBST(LIB_$1)
+ ])
+@@ -6090,19 +6552,19 @@
+ 	:
+ elif test "$ac_cv_func_el_init" = yes; then
+ 	ac_foo=yes
++	DIR_readline="editline"
+ 	LIB_readline="\$(top_builddir)/lib/editline/libel_compat.la $LIB_el_init"
+ else
++	DIR_readline="editline"
+ 	LIB_readline='$(top_builddir)/lib/editline/libeditline.la'
+ fi
+ AM_CONDITIONAL(el_compat, test "$ac_foo" = yes)
+-if test "$readline_libdir"; then
+-	LIB_readline="-rpath $readline_libdir $LIB_readline"
+-fi
+ LIB_readline="$LIB_readline \$(LIB_tgetent)"
+ AC_DEFINE(HAVE_READLINE, 1, 
+ 	[Define if you have a readline compatible library.])dnl
+ 
+ ])
++
+ dnl $Id: check-compile-et.m4,v 1.6 2001/09/02 17:08:48 assar Exp $
+ dnl
+ dnl CHECK_COMPILE_ET
+diff -ruN heimdal-0.4e-old/admin/Makefile.in heimdal-0.4e/admin/Makefile.in
+--- heimdal-0.4e-old/admin/Makefile.in	Thu Sep  6 22:23:55 2001
++++ heimdal-0.4e/admin/Makefile.in	Sat Jun 15 19:35:20 2002
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.35 2001/08/28 08:31:19 assar Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,13 +90,13 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+ LIB_ = @LIB_@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+-LIB_com_err = @LIB_com_err@
+ LIB_com_err_a = @LIB_com_err_a@
+ LIB_com_err_so = @LIB_com_err_so@
+ LIB_des = @LIB_des@
+@@ -100,12 +104,10 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+-LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,19 +121,19 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+-
+-# $Id: Makefile.am,v 1.35 2001/08/28 08:31:19 assar Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
++LIB_com_err = @LIB_com_err@
++LIB_otp = @LIB_otp@
++LIB_roken = @LIB_roken@
+ 
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+@@ -185,17 +187,24 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+@@ -220,126 +229,118 @@
+ 	$(top_builddir)/lib/krb5/libkrb5.la \
+ 	$(LIB_des) \
+ 	$(top_builddir)/lib/asn1/libasn1.la \
+-	$(top_builddir)/lib/sl/libsl.la \
++	$(LIB_sl) \
+ 	$(LIB_readline) \
+ 	$(LIB_roken)
+ 
+ subdir = admin
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../include/config.h
+-CONFIG_CLEAN_FILES = 
+-sbin_PROGRAMS =  ktutil$(EXEEXT)
+-PROGRAMS =  $(sbin_PROGRAMS)
+-
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++sbin_PROGRAMS = ktutil$(EXEEXT)
++PROGRAMS = $(sbin_PROGRAMS)
++
++am_ktutil_OBJECTS = add.$(OBJEXT) change.$(OBJEXT) copy.$(OBJEXT) \
++	get.$(OBJEXT) ktutil.$(OBJEXT) list.$(OBJEXT) purge.$(OBJEXT) \
++	remove.$(OBJEXT) rename.$(OBJEXT)
++ktutil_OBJECTS = $(am_ktutil_OBJECTS)
++ktutil_LDADD = $(LDADD)
++ktutil_DEPENDENCIES = $(top_builddir)/lib/kadm5/libkadm5clnt.la \
++	$(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++ktutil_LDFLAGS =
+ 
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../include
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+-am_ktutil_OBJECTS =  add.$(OBJEXT) change.$(OBJEXT) copy.$(OBJEXT) \
+-get.$(OBJEXT) ktutil.$(OBJEXT) list.$(OBJEXT) purge.$(OBJEXT) \
+-remove.$(OBJEXT) rename.$(OBJEXT)
+-ktutil_OBJECTS =  $(am_ktutil_OBJECTS)
+-ktutil_LDADD = $(LDADD)
+-ktutil_DEPENDENCIES =  $(top_builddir)/lib/kadm5/libkadm5clnt.la \
+-$(top_builddir)/lib/krb5/libkrb5.la $(top_builddir)/lib/asn1/libasn1.la \
+-$(top_builddir)/lib/sl/libsl.la
+-ktutil_LDFLAGS = 
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  $(ktutil_SOURCES)
+-man8dir = $(mandir)/man8
+-MANS = $(man_MANS)
+-depcomp = 
+-DIST_COMMON =  Makefile.am Makefile.in
+-
+-
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++DIST_SOURCES = $(ktutil_SOURCES)
+ 
+-GZIP_ENV = --best
++NROFF = nroff
++MANS = $(man_MANS)
++DIST_COMMON = Makefile.am Makefile.in
+ SOURCES = $(ktutil_SOURCES)
+-OBJECTS = $(am_ktutil_OBJECTS)
+ 
+-all: all-redirect
++all: all-am
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign admin/Makefile
+ 
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+-
+-
+-mostlyclean-sbinPROGRAMS:
+-
+-clean-sbinPROGRAMS:
+-	-test -z "$(sbin_PROGRAMS)" || rm -f $(sbin_PROGRAMS)
+-
+-distclean-sbinPROGRAMS:
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-maintainer-clean-sbinPROGRAMS:
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  admin/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ install-sbinPROGRAMS: $(sbin_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(sbindir)
+ 	@list='$(sbin_PROGRAMS)'; for p in $$list; do \
+-	  if test -f $$p; then \
+-	    f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(sbindir)/$$f"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(sbindir)/$$f; \
++	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  if test -f $$p \
++	     || test -f $$p1 \
++	  ; then \
++	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(sbindir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(sbindir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-sbinPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(sbin_PROGRAMS)'; for p in $$list; do \
+-	  f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(sbindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(sbindir)/$$f; \
+ 	done
+ 
+-mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
++clean-sbinPROGRAMS:
++	-test -z "$(sbin_PROGRAMS)" || rm -f $(sbin_PROGRAMS)
++ktutil$(EXEEXT): $(ktutil_OBJECTS) $(ktutil_DEPENDENCIES) 
++	@rm -f ktutil$(EXEEXT)
++	$(LINK) $(ktutil_LDFLAGS) $(ktutil_OBJECTS) $(ktutil_LDADD) $(LIBS)
+ 
+-clean-compile:
++mostlyclean-compile:
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+-maintainer-clean-compile:
+-
+-mostlyclean-libtool:
+-	-rm -f *.lo
+-
+-clean-libtool:
+-	-rm -rf .libs _libs
+-
+-distclean-libtool:
+-
+-maintainer-clean-libtool:
+-
+-ktutil$(EXEEXT): $(ktutil_OBJECTS) $(ktutil_DEPENDENCIES)
+-	@rm -f ktutil$(EXEEXT)
+-	$(LINK) $(ktutil_LDFLAGS) $(ktutil_OBJECTS) $(ktutil_LDADD) $(LIBS)
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
++
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
++uninstall-info-am:
+ 
+-install-man8:
++man8dir = $(mandir)/man8
++install-man8: $(man8_MANS) $(man_MANS)
++	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(man8dir)
+-	@list='$(man8_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.8*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -354,10 +355,11 @@
+ 	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst"; \
+ 	  $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst; \
+ 	done
+-
+ uninstall-man8:
+-	@list='$(man8_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@$(NORMAL_UNINSTALL)
++	@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.8*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -370,12 +372,6 @@
+ 	  echo " rm -f $(DESTDIR)$(man8dir)/$$inst"; \
+ 	  rm -f $(DESTDIR)$(man8dir)/$$inst; \
+ 	done
+-install-man: $(MANS)
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-man8
+-uninstall-man:
+-	@$(NORMAL_UNINSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) uninstall-man8
+ 
+ tags: TAGS
+ 
+@@ -404,22 +400,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -429,87 +426,94 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-install-exec-am: install-sbinPROGRAMS
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++all-am: Makefile $(PROGRAMS) $(MANS) all-local
+ 
+-install-data-am: install-man install-data-local
+-install-data: install-data-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(sbindir) $(DESTDIR)$(man8dir)
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am: uninstall-sbinPROGRAMS uninstall-man
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(PROGRAMS) $(MANS) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(sbindir) $(DESTDIR)$(mandir)/man8
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-sbinPROGRAMS mostlyclean-compile \
+-		mostlyclean-libtool mostlyclean-tags \
+-		mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-generic clean-libtool clean-sbinPROGRAMS mostlyclean-am
+ 
+-clean-am:  clean-sbinPROGRAMS clean-compile clean-libtool clean-tags \
+-		clean-generic mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-sbinPROGRAMS distclean-compile \
+-		distclean-libtool distclean-tags distclean-generic \
+-		clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-sbinPROGRAMS \
+-		maintainer-clean-compile maintainer-clean-libtool \
+-		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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local install-man
++
++install-exec-am: install-sbinPROGRAMS
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man: install-man8
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-am
+ 
+-.PHONY: mostlyclean-sbinPROGRAMS distclean-sbinPROGRAMS \
+-clean-sbinPROGRAMS maintainer-clean-sbinPROGRAMS uninstall-sbinPROGRAMS \
+-install-sbinPROGRAMS mostlyclean-compile distclean-compile \
+-clean-compile maintainer-clean-compile mostlyclean-libtool \
+-distclean-libtool clean-libtool maintainer-clean-libtool install-man8 \
+-uninstall-man8 install-man uninstall-man tags mostlyclean-tags \
+-distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
+-dvi-am dvi check-local check check-am installcheck-am installcheck \
+-install-exec-am install-exec install-data-local install-data-am \
+-install-data install-am install uninstall-am uninstall all-local \
+-all-redirect all-am all install-strip installdirs mostlyclean-generic \
+-distclean-generic clean-generic maintainer-clean-generic clean \
+-mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-info-am uninstall-man uninstall-sbinPROGRAMS
++
++uninstall-man: uninstall-man8
++
++.PHONY: GTAGS all all-am all-local check check-am check-local clean \
++	clean-generic clean-libtool clean-sbinPROGRAMS distclean \
++	distclean-compile distclean-generic distclean-libtool \
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-data install-data-am install-data-local \
++	install-exec install-exec-am install-info install-info-am \
++	install-man install-man8 install-sbinPROGRAMS install-strip \
++	installcheck installcheck-am installdirs maintainer-clean \
++	maintainer-clean-generic mostlyclean mostlyclean-compile \
++	mostlyclean-generic mostlyclean-libtool tags uninstall \
++	uninstall-am uninstall-info-am uninstall-man uninstall-man8 \
++	uninstall-sbinPROGRAMS
+ 
+ 
+ install-suid-programs:
+@@ -639,7 +643,6 @@
+ 	  echo "$$dashes"; \
+ 	  test "$$failed" -eq 0; \
+ 	fi
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/appl/Makefile.in heimdal-0.4e/appl/Makefile.in
+--- heimdal-0.4e-old/appl/Makefile.in	Thu Sep  6 22:24:06 2001
++++ heimdal-0.4e/appl/Makefile.in	Sat Jun 15 19:35:20 2002
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.24 2001/01/27 18:34:39 assar Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,13 +90,13 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+ LIB_ = @LIB_@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+-LIB_com_err = @LIB_com_err@
+ LIB_com_err_a = @LIB_com_err_a@
+ LIB_com_err_so = @LIB_com_err_so@
+ LIB_des = @LIB_des@
+@@ -100,12 +104,10 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+-LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,19 +121,19 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+-
+-# $Id: Makefile.am,v 1.24 2001/01/27 18:34:39 assar Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
++LIB_com_err = @LIB_com_err@
++LIB_otp = @LIB_otp@
++LIB_roken = @LIB_roken@
+ 
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+@@ -185,22 +187,29 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+-@OTP_TRUE@dir_otp = @OTP_TRUE@otp
+-@DCE_TRUE@dir_dce = @DCE_TRUE@dceutils
++@OTP_TRUE@dir_otp = otp
++@DCE_TRUE@dir_dce = dceutils
+ SUBDIRS = \
+ 	  afsutil				\
+ 	  ftp					\
+@@ -220,33 +229,47 @@
+ 
+ subdir = appl
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../include/config.h
+-CONFIG_CLEAN_FILES = 
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++depcomp =
+ CFLAGS = @CFLAGS@
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES = 
+-depcomp = 
+-DIST_COMMON =  Makefile.am Makefile.in
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++DIST_SOURCES =
++
++RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \
++	uninstall-info-recursive all-recursive install-data-recursive \
++	install-exec-recursive installdirs-recursive install-recursive \
++	uninstall-recursive check-recursive installcheck-recursive
++DIST_COMMON = Makefile.am Makefile.in
++DIST_SUBDIRS = afsutil ftp login otp popper push rsh rcp su xnlock \
++	telnet test kx kf dceutils
++all: all-recursive
+ 
++.SUFFIXES:
++.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c
+ 
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-GZIP_ENV = --best
+-DIST_SUBDIRS =  afsutil ftp login otp popper push rsh rcp su xnlock \
+-telnet test kx kf dceutils
+-all: all-redirect
+-.SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  appl/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
++uninstall-info-am:
+ 
+ # This directory's subdirectories are mostly independent; you can cd
+ # into them and run `make' without going through this Makefile.
+@@ -254,10 +277,7 @@
+ # (1) if the variable is set in `config.status', edit `config.status'
+ #     (which will cause the Makefiles to be regenerated when you run `make');
+ # (2) otherwise, pass the desired values on the `make' command line.
+-
+-all-recursive install-data-recursive install-exec-recursive \
+-installdirs-recursive install-recursive uninstall-recursive  \
+-check-recursive installcheck-recursive info-recursive dvi-recursive:
++$(RECURSIVE_TARGETS):
+ 	@set fnord $(MAKEFLAGS); amf=$$2; \
+ 	dot_seen=no; \
+ 	target=`echo $@ | sed s/-recursive//`; \
+@@ -322,9 +342,9 @@
+ 	tags=; \
+ 	here=`pwd`; \
+ 	list='$(SUBDIRS)'; for subdir in $$list; do \
+-   if test "$$subdir" = .; then :; else \
++	  if test "$$subdir" = .; then :; else \
+ 	    test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
+-   fi; \
++	  fi; \
+ 	done; \
+ 	list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
+ 	unique=`for i in $$list; do \
+@@ -338,22 +358,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -368,84 +389,103 @@
+ 	    test -d $(distdir)/$$subdir \
+ 	    || mkdir $(distdir)/$$subdir \
+ 	    || exit 1; \
+-	    (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \
++	    (cd $$subdir && \
++	      $(MAKE) $(AM_MAKEFLAGS) \
++	        top_distdir="$(top_distdir)" \
++	        distdir=../$(distdir)/$$subdir \
++	        distdir) \
+ 	      || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-recursive
+-dvi-am:
+-dvi: dvi-recursive
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-recursive
+-installcheck-am:
+-installcheck: installcheck-recursive
+-install-exec-am:
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-recursive
++all-am: Makefile all-local
++installdirs: installdirs-recursive
++installdirs-am:
+ 
+-install-data-am: install-data-local
++install: install-recursive
++install-exec: install-exec-recursive
+ install-data: install-data-recursive
++uninstall: uninstall-recursive
+ 
+ install-am: all-am
+ 	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+-install: install-recursive
+-uninstall-am:
+-uninstall: uninstall-recursive
+-all-am: Makefile all-local
+-all-redirect: all-recursive
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs: installdirs-recursive
+-installdirs-am:
+-
+ 
++installcheck: installcheck-recursive
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-tags mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-recursive
+ 
+-mostlyclean: mostlyclean-recursive
++clean-am: clean-generic clean-libtool mostlyclean-am
+ 
+-clean-am:  clean-tags clean-generic mostlyclean-am
++distclean: distclean-recursive
+ 
+-clean: clean-recursive
++distclean-am: clean-am distclean-generic distclean-libtool \
++	distclean-tags
+ 
+-distclean-am:  distclean-tags distclean-generic clean-am
+-	-rm -f libtool
++dvi: dvi-recursive
+ 
+-distclean: distclean-recursive
++dvi-am:
+ 
+-maintainer-clean-am:  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."
++info: info-recursive
++
++info-am:
++
++install-data-am: install-data-local
++
++install-exec-am:
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-recursive
++
++install-man:
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-recursive
+ 
+-.PHONY: install-recursive uninstall-recursive install-data-recursive \
+-uninstall-data-recursive install-exec-recursive \
+-uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
+-all-recursive check-recursive installcheck-recursive info-recursive \
+-dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
+-maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
+-distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
+-dvi-am dvi check-local check check-am installcheck-am installcheck \
+-install-exec-am install-exec install-data-local install-data-am \
+-install-data install-am install uninstall-am uninstall all-local \
+-all-redirect all-am all install-strip installdirs-am installdirs \
+-mostlyclean-generic distclean-generic clean-generic \
+-maintainer-clean-generic clean mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-recursive
++
++mostlyclean-am: mostlyclean-generic mostlyclean-libtool
++
++uninstall-am: uninstall-info-am
++
++uninstall-info: uninstall-info-recursive
++
++.PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am all-local check check-am \
++	check-local clean clean-generic clean-libtool clean-recursive \
++	distclean distclean-generic distclean-libtool \
++	distclean-recursive distclean-tags distdir dvi dvi-am \
++	dvi-recursive info info-am info-recursive install install-am \
++	install-data install-data-am install-data-local \
++	install-data-recursive install-exec install-exec-am \
++	install-exec-recursive install-info install-info-am \
++	install-info-recursive install-man install-recursive \
++	install-strip installcheck installcheck-am installdirs \
++	installdirs-am installdirs-recursive maintainer-clean \
++	maintainer-clean-generic maintainer-clean-recursive mostlyclean \
++	mostlyclean-generic mostlyclean-libtool mostlyclean-recursive \
++	tags tags-recursive uninstall uninstall-am uninstall-info-am \
++	uninstall-info-recursive uninstall-recursive
+ 
+ 
+ install-suid-programs:
+@@ -575,7 +615,6 @@
+ 	  echo "$$dashes"; \
+ 	  test "$$failed" -eq 0; \
+ 	fi
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/appl/afsutil/Makefile.in heimdal-0.4e/appl/afsutil/Makefile.in
+--- heimdal-0.4e-old/appl/afsutil/Makefile.in	Thu Sep  6 22:24:12 2001
++++ heimdal-0.4e/appl/afsutil/Makefile.in	Sat Jun 15 19:35:20 2002
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.12 2000/11/15 22:51:07 assar Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,13 +90,13 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+ LIB_ = @LIB_@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+-LIB_com_err = @LIB_com_err@
+ LIB_com_err_a = @LIB_com_err_a@
+ LIB_com_err_so = @LIB_com_err_so@
+ LIB_des = @LIB_des@
+@@ -100,12 +104,10 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+-LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,19 +121,19 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+-
+-# $Id: Makefile.am,v 1.12 2000/11/15 22:51:07 assar Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
++LIB_com_err = @LIB_com_err@
++LIB_otp = @LIB_otp@
++LIB_roken = @LIB_roken@
+ 
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+@@ -185,21 +187,28 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+-@KRB4_TRUE@AFSPROGS = @KRB4_TRUE@afslog pagsh
++@KRB4_TRUE@AFSPROGS = afslog pagsh
+ bin_PROGRAMS = $(AFSPROGS)
+ 
+ afslog_SOURCES = afslog.c
+@@ -215,127 +224,114 @@
+ 
+ subdir = appl/afsutil
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../include/config.h
+-CONFIG_CLEAN_FILES = 
+-@KRB4_FALSE@bin_PROGRAMS = 
+-@KRB4_TRUE@bin_PROGRAMS =  afslog$(EXEEXT) pagsh$(EXEEXT)
+-PROGRAMS =  $(bin_PROGRAMS)
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++@KRB4_TRUE@bin_PROGRAMS = afslog$(EXEEXT) pagsh$(EXEEXT)
++@KRB4_FALSE@bin_PROGRAMS =
++PROGRAMS = $(bin_PROGRAMS)
+ 
++am_afslog_OBJECTS = afslog.$(OBJEXT)
++afslog_OBJECTS = $(am_afslog_OBJECTS)
++afslog_LDADD = $(LDADD)
++@KRB4_TRUE@afslog_DEPENDENCIES = $(top_builddir)/lib/kafs/libkafs.la \
++@KRB4_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la \
++@KRB4_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB4_FALSE@afslog_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
++@KRB4_FALSE@	$(top_builddir)/lib/asn1/libasn1.la
++afslog_LDFLAGS =
++am_pagsh_OBJECTS = pagsh.$(OBJEXT)
++pagsh_OBJECTS = $(am_pagsh_OBJECTS)
++pagsh_LDADD = $(LDADD)
++@KRB4_TRUE@pagsh_DEPENDENCIES = $(top_builddir)/lib/kafs/libkafs.la \
++@KRB4_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la \
++@KRB4_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB4_FALSE@pagsh_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
++@KRB4_FALSE@	$(top_builddir)/lib/asn1/libasn1.la
++pagsh_LDFLAGS =
+ 
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../../include
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+-am_afslog_OBJECTS =  afslog.$(OBJEXT)
+-afslog_OBJECTS =  $(am_afslog_OBJECTS)
+-afslog_LDADD = $(LDADD)
+-@KRB4_FALSE@afslog_DEPENDENCIES =  $(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_FALSE@$(top_builddir)/lib/asn1/libasn1.la
+-@KRB4_TRUE@afslog_DEPENDENCIES =  $(top_builddir)/lib/kafs/libkafs.la \
+-@KRB4_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_TRUE@$(top_builddir)/lib/asn1/libasn1.la
+-afslog_LDFLAGS = 
+-am_pagsh_OBJECTS =  pagsh.$(OBJEXT)
+-pagsh_OBJECTS =  $(am_pagsh_OBJECTS)
+-pagsh_LDADD = $(LDADD)
+-@KRB4_FALSE@pagsh_DEPENDENCIES =  $(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_FALSE@$(top_builddir)/lib/asn1/libasn1.la
+-@KRB4_TRUE@pagsh_DEPENDENCIES =  $(top_builddir)/lib/kafs/libkafs.la \
+-@KRB4_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_TRUE@$(top_builddir)/lib/asn1/libasn1.la
+-pagsh_LDFLAGS = 
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  $(afslog_SOURCES) $(pagsh_SOURCES)
+-depcomp = 
+-DIST_COMMON =  ChangeLog Makefile.am Makefile.in
+-
+-
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+-
+-GZIP_ENV = --best
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++DIST_SOURCES = $(afslog_SOURCES) $(pagsh_SOURCES)
++DIST_COMMON = ChangeLog Makefile.am Makefile.in
+ SOURCES = $(afslog_SOURCES) $(pagsh_SOURCES)
+-OBJECTS = $(am_afslog_OBJECTS) $(am_pagsh_OBJECTS)
+ 
+-all: all-redirect
++all: all-am
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/afsutil/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+-
+-
+-mostlyclean-binPROGRAMS:
+-
+-clean-binPROGRAMS:
+-	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
+ 
+-distclean-binPROGRAMS:
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-maintainer-clean-binPROGRAMS:
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  appl/afsutil/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ install-binPROGRAMS: $(bin_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(bindir)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  if test -f $$p; then \
+-	    f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f; \
++	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  if test -f $$p \
++	     || test -f $$p1 \
++	  ; then \
++	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-binPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+-mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
++clean-binPROGRAMS:
++	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
++afslog$(EXEEXT): $(afslog_OBJECTS) $(afslog_DEPENDENCIES) 
++	@rm -f afslog$(EXEEXT)
++	$(LINK) $(afslog_LDFLAGS) $(afslog_OBJECTS) $(afslog_LDADD) $(LIBS)
++pagsh$(EXEEXT): $(pagsh_OBJECTS) $(pagsh_DEPENDENCIES) 
++	@rm -f pagsh$(EXEEXT)
++	$(LINK) $(pagsh_LDFLAGS) $(pagsh_OBJECTS) $(pagsh_LDADD) $(LIBS)
+ 
+-clean-compile:
++mostlyclean-compile:
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+-maintainer-clean-compile:
+-
+-mostlyclean-libtool:
+-	-rm -f *.lo
+-
+-clean-libtool:
+-	-rm -rf .libs _libs
+-
+-distclean-libtool:
+-
+-maintainer-clean-libtool:
+-
+-afslog$(EXEEXT): $(afslog_OBJECTS) $(afslog_DEPENDENCIES)
+-	@rm -f afslog$(EXEEXT)
+-	$(LINK) $(afslog_LDFLAGS) $(afslog_OBJECTS) $(afslog_LDADD) $(LIBS)
+-
+-pagsh$(EXEEXT): $(pagsh_OBJECTS) $(pagsh_DEPENDENCIES)
+-	@rm -f pagsh$(EXEEXT)
+-	$(LINK) $(pagsh_LDFLAGS) $(pagsh_OBJECTS) $(pagsh_LDADD) $(LIBS)
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
++
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
++uninstall-info-am:
+ 
+ tags: TAGS
+ 
+@@ -364,22 +360,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -389,85 +386,91 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-install-exec-am: install-binPROGRAMS
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++all-am: Makefile $(PROGRAMS) all-local
+ 
+-install-data-am: install-data-local
+-install-data: install-data-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(bindir)
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am: uninstall-binPROGRAMS
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(PROGRAMS) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(bindir)
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-binPROGRAMS mostlyclean-compile \
+-		mostlyclean-libtool mostlyclean-tags \
+-		mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am
+ 
+-clean-am:  clean-binPROGRAMS clean-compile clean-libtool clean-tags \
+-		clean-generic mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-binPROGRAMS distclean-compile distclean-libtool \
+-		distclean-tags distclean-generic clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-binPROGRAMS \
+-		maintainer-clean-compile maintainer-clean-libtool \
+-		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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local
++
++install-exec-am: install-binPROGRAMS
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man:
++
++installcheck-am:
+ 
+ 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 mostlyclean-libtool distclean-libtool \
+-clean-libtool maintainer-clean-libtool tags mostlyclean-tags \
+-distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
+-dvi-am dvi check-local check check-am installcheck-am installcheck \
+-install-exec-am install-exec install-data-local install-data-am \
+-install-data install-am install uninstall-am uninstall all-local \
+-all-redirect all-am all install-strip installdirs mostlyclean-generic \
+-distclean-generic clean-generic maintainer-clean-generic clean \
+-mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-binPROGRAMS uninstall-info-am
++
++.PHONY: GTAGS all all-am all-local check check-am check-local clean \
++	clean-binPROGRAMS clean-generic clean-libtool distclean \
++	distclean-compile distclean-generic distclean-libtool \
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-binPROGRAMS install-data install-data-am \
++	install-data-local install-exec install-exec-am install-info \
++	install-info-am install-man install-strip installcheck \
++	installcheck-am installdirs maintainer-clean \
++	maintainer-clean-generic mostlyclean mostlyclean-compile \
++	mostlyclean-generic mostlyclean-libtool tags uninstall \
++	uninstall-am uninstall-binPROGRAMS uninstall-info-am
+ 
+ 
+ install-suid-programs:
+@@ -597,7 +600,6 @@
+ 	  echo "$$dashes"; \
+ 	  test "$$failed" -eq 0; \
+ 	fi
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/appl/dceutils/Makefile.in heimdal-0.4e/appl/dceutils/Makefile.in
+--- heimdal-0.4e-old/appl/dceutils/Makefile.in	Thu Sep  6 22:25:44 2001
++++ heimdal-0.4e/appl/dceutils/Makefile.in	Sat Jun 15 19:35:21 2002
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.7 2001/08/23 22:42:44 assar Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,13 +90,13 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+ LIB_ = @LIB_@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+-LIB_com_err = @LIB_com_err@
+ LIB_com_err_a = @LIB_com_err_a@
+ LIB_com_err_so = @LIB_com_err_so@
+ LIB_des = @LIB_des@
+@@ -100,12 +104,10 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+-LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,19 +121,20 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
+-dpagaix_CFLAGS = @dpagaix_CFLAGS@
+-dpagaix_LDADD = @dpagaix_LDADD@
++am__include = @am__include@
++am__quote = @am__quote@
+ install_sh = @install_sh@
++LIB_com_err = @LIB_com_err@
++LIB_otp = @LIB_otp@
++LIB_roken = @LIB_roken@
+ 
+-# $Id: Makefile.am,v 1.7 2001/08/23 22:42:44 assar Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
++dpagaix_CFLAGS = @dpagaix_CFLAGS@
++dpagaix_LDADD = @dpagaix_LDADD@
+ 
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+@@ -185,148 +188,149 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+ DFSPROGS = k5dcecon
+-@AIX_TRUE@AIX_DFSPROGS = @AIX_TRUE@dpagaix
++@AIX_TRUE@AIX_DFSPROGS = dpagaix
+ 
+ libexec_PROGRAMS = $(DFSPROGS) $(AIX_DFSPROGS)
+-
+-dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDFLAGS = @dpagaix_LDFLAGS@
+-dpagaix_LDADD = @dpagaix_LDADD@
+ 
+ LIB_dce = -ldce
+ 
+ k5dcecon_SOURCES = k5dcecon.c k5dce.h
+ 
+ dpagaix_SOURCES = dpagaix.c
+-@IRIX_TRUE@LDADD = @IRIX_TRUE@$(LIB_dce)
+-@IRIX_FALSE@LDADD = @IRIX_FALSE@$(LIB_roken) $(LIB_dce)
++
++@IRIX_TRUE@LDADD = $(LIB_dce)
++@IRIX_FALSE@LDADD = $(LIB_roken) $(LIB_dce)
+ subdir = appl/dceutils
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../include/config.h
+-CONFIG_CLEAN_FILES = 
+-@AIX_FALSE@libexec_PROGRAMS =  k5dcecon$(EXEEXT)
+-@AIX_TRUE@libexec_PROGRAMS =  k5dcecon$(EXEEXT) dpagaix$(EXEEXT)
+-PROGRAMS =  $(libexec_PROGRAMS)
+-
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++@AIX_TRUE@libexec_PROGRAMS = k5dcecon$(EXEEXT) dpagaix$(EXEEXT)
++@AIX_FALSE@libexec_PROGRAMS = k5dcecon$(EXEEXT)
++PROGRAMS = $(libexec_PROGRAMS)
++
++am_dpagaix_OBJECTS = dpagaix-dpagaix.$(OBJEXT)
++dpagaix_OBJECTS = $(am_dpagaix_OBJECTS)
++dpagaix_DEPENDENCIES =
++am_k5dcecon_OBJECTS = k5dcecon.$(OBJEXT)
++k5dcecon_OBJECTS = $(am_k5dcecon_OBJECTS)
++k5dcecon_LDADD = $(LDADD)
++@IRIX_TRUE@k5dcecon_DEPENDENCIES =
++@IRIX_FALSE@k5dcecon_DEPENDENCIES =
++k5dcecon_LDFLAGS =
+ 
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../../include
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+-am_dpagaix_OBJECTS =  dpagaix-dpagaix.$(OBJEXT)
+-dpagaix_OBJECTS =  $(am_dpagaix_OBJECTS)
+-dpagaix_DEPENDENCIES = 
+-am_k5dcecon_OBJECTS =  k5dcecon.$(OBJEXT)
+-k5dcecon_OBJECTS =  $(am_k5dcecon_OBJECTS)
+-k5dcecon_LDADD = $(LDADD)
+-@IRIX_FALSE@k5dcecon_DEPENDENCIES = 
+-@IRIX_TRUE@k5dcecon_DEPENDENCIES = 
+-k5dcecon_LDFLAGS = 
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  $(dpagaix_SOURCES) $(k5dcecon_SOURCES)
+-depcomp = 
+-DIST_COMMON =  ChangeLog Makefile.am Makefile.in
+-
+-
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+-
+-GZIP_ENV = --best
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++DIST_SOURCES = $(dpagaix_SOURCES) $(k5dcecon_SOURCES)
++DIST_COMMON = ChangeLog Makefile.am Makefile.in
+ SOURCES = $(dpagaix_SOURCES) $(k5dcecon_SOURCES)
+-OBJECTS = $(am_dpagaix_OBJECTS) $(am_k5dcecon_OBJECTS)
+ 
+-all: all-redirect
++all: all-am
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/dceutils/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+ 
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-mostlyclean-libexecPROGRAMS:
+-
+-clean-libexecPROGRAMS:
+-	-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
+-
+-distclean-libexecPROGRAMS:
+-
+-maintainer-clean-libexecPROGRAMS:
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  appl/dceutils/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ install-libexecPROGRAMS: $(libexec_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(libexecdir)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+-	  if test -f $$p; then \
+-	    f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libexecdir)/$$f"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libexecdir)/$$f; \
++	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  if test -f $$p \
++	     || test -f $$p1 \
++	  ; then \
++	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-libexecPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+-	  f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(libexecdir)/$$f; \
+ 	done
+ 
+-mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
++clean-libexecPROGRAMS:
++	-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
++dpagaix-dpagaix.$(OBJEXT): dpagaix.c
++k5dcecon$(EXEEXT): $(k5dcecon_OBJECTS) $(k5dcecon_DEPENDENCIES) 
++	@rm -f k5dcecon$(EXEEXT)
++	$(LINK) $(k5dcecon_LDFLAGS) $(k5dcecon_OBJECTS) $(k5dcecon_LDADD) $(LIBS)
+ 
+-clean-compile:
++mostlyclean-compile:
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+-maintainer-clean-compile:
++.c.o:
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
+ 
+-mostlyclean-libtool:
+-	-rm -f *.lo
++.c.obj:
++	$(COMPILE) -c `cygpath -w $<`
+ 
+-clean-libtool:
+-	-rm -rf .libs _libs
++.c.lo:
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
+ 
+-distclean-libtool:
++dpagaix-dpagaix.o: dpagaix.c
++	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(dpagaix_CFLAGS) $(CFLAGS) -c -o dpagaix-dpagaix.o `test -f dpagaix.c || echo '$(srcdir)/'`dpagaix.c
+ 
+-maintainer-clean-libtool:
+-dpagaix-dpagaix.$(OBJEXT): dpagaix.c
+-	$(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(dpagaix_CFLAGS) $(CFLAGS) -c -o dpagaix-dpagaix.$(OBJEXT) `test -f ./dpagaix.c || echo '$(srcdir)/'`dpagaix.c
++dpagaix-dpagaix.obj: dpagaix.c
++	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(dpagaix_CFLAGS) $(CFLAGS) -c -o dpagaix-dpagaix.obj `cygpath -w dpagaix.c`
+ 
+-k5dcecon$(EXEEXT): $(k5dcecon_OBJECTS) $(k5dcecon_DEPENDENCIES)
+-	@rm -f k5dcecon$(EXEEXT)
+-	$(LINK) $(k5dcecon_LDFLAGS) $(k5dcecon_OBJECTS) $(k5dcecon_LDADD) $(LIBS)
+-.c.o:
+-	$(COMPILE) -c $<
+-.c.obj:
+-	$(COMPILE) -c `cygpath -w $<`
+-.c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++dpagaix-dpagaix.lo: dpagaix.c
++	$(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(dpagaix_CFLAGS) $(CFLAGS) -c -o dpagaix-dpagaix.lo `test -f dpagaix.c || echo '$(srcdir)/'`dpagaix.c
++uninstall-info-am:
+ 
+ tags: TAGS
+ 
+@@ -355,22 +359,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -380,87 +385,92 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-install-exec-am: install-libexecPROGRAMS
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++all-am: Makefile $(PROGRAMS) all-local
+ 
+-install-data-am: install-data-local
+-install-data: install-data-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(libexecdir)
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am: uninstall-libexecPROGRAMS
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(PROGRAMS) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(libexecdir)
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-libexecPROGRAMS mostlyclean-compile \
+-		mostlyclean-libtool mostlyclean-tags \
+-		mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-generic clean-libexecPROGRAMS clean-libtool \
++	mostlyclean-am
+ 
+-clean-am:  clean-libexecPROGRAMS clean-compile clean-libtool clean-tags \
+-		clean-generic mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-libexecPROGRAMS distclean-compile \
+-		distclean-libtool distclean-tags distclean-generic \
+-		clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-libexecPROGRAMS \
+-		maintainer-clean-compile maintainer-clean-libtool \
+-		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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local
++
++install-exec-am: install-libexecPROGRAMS
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man:
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-am
+ 
+-.PHONY: mostlyclean-libexecPROGRAMS distclean-libexecPROGRAMS \
+-clean-libexecPROGRAMS maintainer-clean-libexecPROGRAMS \
+-uninstall-libexecPROGRAMS install-libexecPROGRAMS mostlyclean-compile \
+-distclean-compile clean-compile maintainer-clean-compile \
+-mostlyclean-libtool distclean-libtool clean-libtool \
+-maintainer-clean-libtool tags mostlyclean-tags distclean-tags \
+-clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi \
+-check-local check check-am installcheck-am installcheck install-exec-am \
+-install-exec install-data-local install-data-am install-data install-am \
+-install uninstall-am uninstall all-local all-redirect all-am all \
+-install-strip installdirs mostlyclean-generic distclean-generic \
+-clean-generic maintainer-clean-generic clean mostlyclean distclean \
+-maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-info-am uninstall-libexecPROGRAMS
++
++.PHONY: GTAGS all all-am all-local check check-am check-local clean \
++	clean-generic clean-libexecPROGRAMS clean-libtool distclean \
++	distclean-compile distclean-generic distclean-libtool \
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-data install-data-am install-data-local \
++	install-exec install-exec-am install-info install-info-am \
++	install-libexecPROGRAMS install-man install-strip installcheck \
++	installcheck-am installdirs maintainer-clean \
++	maintainer-clean-generic mostlyclean mostlyclean-compile \
++	mostlyclean-generic mostlyclean-libtool tags uninstall \
++	uninstall-am uninstall-info-am uninstall-libexecPROGRAMS
+ 
+ 
+ install-suid-programs:
+@@ -593,7 +603,6 @@
+ 
+ dpagaix$(EXEEXT): $(dpagaix_OBJECTS)
+ 	ld -edpagaix -o dpagaix$(EXEEXT) $(dpagaix_OBJECTS) $(srcdir)/dfspag.exp
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/appl/ftp/Makefile.in heimdal-0.4e/appl/ftp/Makefile.in
+--- heimdal-0.4e-old/appl/ftp/Makefile.in	Thu Sep  6 22:24:15 2001
++++ heimdal-0.4e/appl/ftp/Makefile.in	Sat Jun 15 19:35:21 2002
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.5 1999/03/20 13:58:14 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,13 +90,13 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+ LIB_ = @LIB_@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+-LIB_com_err = @LIB_com_err@
+ LIB_com_err_a = @LIB_com_err_a@
+ LIB_com_err_so = @LIB_com_err_so@
+ LIB_des = @LIB_des@
+@@ -100,12 +104,10 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+-LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,19 +121,19 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+-
+-# $Id: Makefile.am,v 1.5 1999/03/20 13:58:14 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
++LIB_com_err = @LIB_com_err@
++LIB_otp = @LIB_otp@
++LIB_roken = @LIB_roken@
+ 
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+@@ -185,49 +187,70 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+ SUBDIRS = common ftp ftpd
+ subdir = appl/ftp
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../include/config.h
+-CONFIG_CLEAN_FILES = 
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++depcomp =
+ CFLAGS = @CFLAGS@
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES = 
+-depcomp = 
+-DIST_COMMON =  ChangeLog Makefile.am Makefile.in
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++DIST_SOURCES =
++
++RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \
++	uninstall-info-recursive all-recursive install-data-recursive \
++	install-exec-recursive installdirs-recursive install-recursive \
++	uninstall-recursive check-recursive installcheck-recursive
++DIST_COMMON = ChangeLog Makefile.am Makefile.in
++DIST_SUBDIRS = $(SUBDIRS)
++all: all-recursive
+ 
++.SUFFIXES:
++.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c
+ 
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-GZIP_ENV = --best
+-DIST_SUBDIRS =  $(SUBDIRS)
+-all: all-redirect
+-.SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/ftp/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  appl/ftp/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
++uninstall-info-am:
+ 
+ # This directory's subdirectories are mostly independent; you can cd
+ # into them and run `make' without going through this Makefile.
+@@ -235,10 +258,7 @@
+ # (1) if the variable is set in `config.status', edit `config.status'
+ #     (which will cause the Makefiles to be regenerated when you run `make');
+ # (2) otherwise, pass the desired values on the `make' command line.
+-
+-all-recursive install-data-recursive install-exec-recursive \
+-installdirs-recursive install-recursive uninstall-recursive  \
+-check-recursive installcheck-recursive info-recursive dvi-recursive:
++$(RECURSIVE_TARGETS):
+ 	@set fnord $(MAKEFLAGS); amf=$$2; \
+ 	dot_seen=no; \
+ 	target=`echo $@ | sed s/-recursive//`; \
+@@ -303,9 +323,9 @@
+ 	tags=; \
+ 	here=`pwd`; \
+ 	list='$(SUBDIRS)'; for subdir in $$list; do \
+-   if test "$$subdir" = .; then :; else \
++	  if test "$$subdir" = .; then :; else \
+ 	    test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
+-   fi; \
++	  fi; \
+ 	done; \
+ 	list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
+ 	unique=`for i in $$list; do \
+@@ -319,22 +339,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -349,84 +370,103 @@
+ 	    test -d $(distdir)/$$subdir \
+ 	    || mkdir $(distdir)/$$subdir \
+ 	    || exit 1; \
+-	    (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \
++	    (cd $$subdir && \
++	      $(MAKE) $(AM_MAKEFLAGS) \
++	        top_distdir="$(top_distdir)" \
++	        distdir=../$(distdir)/$$subdir \
++	        distdir) \
+ 	      || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-recursive
+-dvi-am:
+-dvi: dvi-recursive
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-recursive
+-installcheck-am:
+-installcheck: installcheck-recursive
+-install-exec-am:
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-recursive
++all-am: Makefile all-local
++installdirs: installdirs-recursive
++installdirs-am:
+ 
+-install-data-am: install-data-local
++install: install-recursive
++install-exec: install-exec-recursive
+ install-data: install-data-recursive
++uninstall: uninstall-recursive
+ 
+ install-am: all-am
+ 	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+-install: install-recursive
+-uninstall-am:
+-uninstall: uninstall-recursive
+-all-am: Makefile all-local
+-all-redirect: all-recursive
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs: installdirs-recursive
+-installdirs-am:
+-
+ 
++installcheck: installcheck-recursive
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-tags mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-recursive
+ 
+-mostlyclean: mostlyclean-recursive
++clean-am: clean-generic clean-libtool mostlyclean-am
+ 
+-clean-am:  clean-tags clean-generic mostlyclean-am
++distclean: distclean-recursive
+ 
+-clean: clean-recursive
++distclean-am: clean-am distclean-generic distclean-libtool \
++	distclean-tags
+ 
+-distclean-am:  distclean-tags distclean-generic clean-am
+-	-rm -f libtool
++dvi: dvi-recursive
+ 
+-distclean: distclean-recursive
++dvi-am:
+ 
+-maintainer-clean-am:  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."
++info: info-recursive
++
++info-am:
++
++install-data-am: install-data-local
++
++install-exec-am:
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-recursive
++
++install-man:
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-recursive
+ 
+-.PHONY: install-recursive uninstall-recursive install-data-recursive \
+-uninstall-data-recursive install-exec-recursive \
+-uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
+-all-recursive check-recursive installcheck-recursive info-recursive \
+-dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
+-maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
+-distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
+-dvi-am dvi check-local check check-am installcheck-am installcheck \
+-install-exec-am install-exec install-data-local install-data-am \
+-install-data install-am install uninstall-am uninstall all-local \
+-all-redirect all-am all install-strip installdirs-am installdirs \
+-mostlyclean-generic distclean-generic clean-generic \
+-maintainer-clean-generic clean mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-recursive
++
++mostlyclean-am: mostlyclean-generic mostlyclean-libtool
++
++uninstall-am: uninstall-info-am
++
++uninstall-info: uninstall-info-recursive
++
++.PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am all-local check check-am \
++	check-local clean clean-generic clean-libtool clean-recursive \
++	distclean distclean-generic distclean-libtool \
++	distclean-recursive distclean-tags distdir dvi dvi-am \
++	dvi-recursive info info-am info-recursive install install-am \
++	install-data install-data-am install-data-local \
++	install-data-recursive install-exec install-exec-am \
++	install-exec-recursive install-info install-info-am \
++	install-info-recursive install-man install-recursive \
++	install-strip installcheck installcheck-am installdirs \
++	installdirs-am installdirs-recursive maintainer-clean \
++	maintainer-clean-generic maintainer-clean-recursive mostlyclean \
++	mostlyclean-generic mostlyclean-libtool mostlyclean-recursive \
++	tags tags-recursive uninstall uninstall-am uninstall-info-am \
++	uninstall-info-recursive uninstall-recursive
+ 
+ 
+ install-suid-programs:
+@@ -556,7 +596,6 @@
+ 	  echo "$$dashes"; \
+ 	  test "$$failed" -eq 0; \
+ 	fi
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/appl/ftp/common/Makefile.in heimdal-0.4e/appl/ftp/common/Makefile.in
+--- heimdal-0.4e-old/appl/ftp/common/Makefile.in	Thu Sep  6 22:24:20 2001
++++ heimdal-0.4e/appl/ftp/common/Makefile.in	Sat Jun 15 19:35:21 2002
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.9 1999/07/28 21:15:06 assar Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,13 +90,13 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+ LIB_ = @LIB_@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+-LIB_com_err = @LIB_com_err@
+ LIB_com_err_a = @LIB_com_err_a@
+ LIB_com_err_so = @LIB_com_err_so@
+ LIB_des = @LIB_des@
+@@ -100,12 +104,10 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+-LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,19 +121,19 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+-
+-# $Id: Makefile.am,v 1.9 1999/07/28 21:15:06 assar Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
++LIB_com_err = @LIB_com_err@
++LIB_otp = @LIB_otp@
++LIB_roken = @LIB_roken@
+ 
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+@@ -185,17 +187,24 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+@@ -208,69 +217,36 @@
+ 
+ subdir = appl/ftp/common
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../../include/config.h
+-CONFIG_CLEAN_FILES = 
+-LIBRARIES =  $(noinst_LIBRARIES)
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++LIBRARIES = $(noinst_LIBRARIES)
+ 
++libcommon_a_AR = $(AR) cru
++libcommon_a_LIBADD =
++am_libcommon_a_OBJECTS = sockbuf.$(OBJEXT) buffer.$(OBJEXT)
++libcommon_a_OBJECTS = $(am_libcommon_a_OBJECTS)
+ 
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../../../include
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+-libcommon_a_AR = $(AR) cru
+-libcommon_a_LIBADD = 
+-am_libcommon_a_OBJECTS =  sockbuf.$(OBJEXT) buffer.$(OBJEXT)
+-libcommon_a_OBJECTS =  $(am_libcommon_a_OBJECTS)
+-AR = ar
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  $(libcommon_a_SOURCES)
+-depcomp = 
+-DIST_COMMON =  Makefile.am Makefile.in
+-
+-
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+-
+-GZIP_ENV = --best
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++DIST_SOURCES = $(libcommon_a_SOURCES)
++DIST_COMMON = Makefile.am Makefile.in
+ SOURCES = $(libcommon_a_SOURCES)
+-OBJECTS = $(am_libcommon_a_OBJECTS)
+ 
+-all: all-redirect
++all: all-am
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/ftp/common/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+-
+-
+-mostlyclean-noinstLIBRARIES:
+-
+-clean-noinstLIBRARIES:
+-	-test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
+-
+-distclean-noinstLIBRARIES:
+-
+-maintainer-clean-noinstLIBRARIES:
+-
+-mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
+-
+-clean-compile:
+-
+-distclean-compile:
+-	-rm -f *.tab.c
+-
+-maintainer-clean-compile:
+ 
+ mostlyclean-libtool:
+ 	-rm -f *.lo
+@@ -279,19 +255,39 @@
+ 	-rm -rf .libs _libs
+ 
+ distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  appl/ftp/common/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ 
+-maintainer-clean-libtool:
++AR = ar
+ 
+-libcommon.a: $(libcommon_a_OBJECTS) $(libcommon_a_DEPENDENCIES)
++clean-noinstLIBRARIES:
++	-test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
++libcommon.a: $(libcommon_a_OBJECTS) $(libcommon_a_DEPENDENCIES) 
+ 	-rm -f libcommon.a
+ 	$(libcommon_a_AR) libcommon.a $(libcommon_a_OBJECTS) $(libcommon_a_LIBADD)
+ 	$(RANLIB) libcommon.a
++
++mostlyclean-compile:
++	-rm -f *.$(OBJEXT) core *.core
++
++distclean-compile:
++	-rm -f *.tab.c
++
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
++
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
++uninstall-info-am:
+ 
+ tags: TAGS
+ 
+@@ -320,22 +316,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ../../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -345,85 +342,91 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-install-exec-am:
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++all-am: Makefile $(LIBRARIES) all-local
+ 
+-install-data-am: install-data-local
+-install-data: install-data-am
++installdirs:
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am:
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(LIBRARIES) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-noinstLIBRARIES mostlyclean-compile \
+-		mostlyclean-libtool mostlyclean-tags \
+-		mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-generic clean-libtool clean-noinstLIBRARIES \
++	mostlyclean-am
+ 
+-clean-am:  clean-noinstLIBRARIES clean-compile clean-libtool clean-tags \
+-		clean-generic mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-noinstLIBRARIES distclean-compile \
+-		distclean-libtool distclean-tags distclean-generic \
+-		clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-noinstLIBRARIES \
+-		maintainer-clean-compile maintainer-clean-libtool \
+-		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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local
++
++install-exec-am:
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man:
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-am
+ 
+-.PHONY: mostlyclean-noinstLIBRARIES distclean-noinstLIBRARIES \
+-clean-noinstLIBRARIES maintainer-clean-noinstLIBRARIES \
+-mostlyclean-compile distclean-compile clean-compile \
+-maintainer-clean-compile mostlyclean-libtool distclean-libtool \
+-clean-libtool maintainer-clean-libtool tags mostlyclean-tags \
+-distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
+-dvi-am dvi check-local check check-am installcheck-am installcheck \
+-install-exec-am install-exec install-data-local install-data-am \
+-install-data install-am install uninstall-am uninstall all-local \
+-all-redirect all-am all install-strip installdirs mostlyclean-generic \
+-distclean-generic clean-generic maintainer-clean-generic clean \
+-mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-info-am
++
++.PHONY: GTAGS all all-am all-local check check-am check-local clean \
++	clean-generic clean-libtool clean-noinstLIBRARIES distclean \
++	distclean-compile distclean-generic distclean-libtool \
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-data install-data-am install-data-local \
++	install-exec install-exec-am install-info install-info-am \
++	install-man install-strip installcheck installcheck-am \
++	installdirs maintainer-clean maintainer-clean-generic \
++	mostlyclean mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool tags uninstall uninstall-am \
++	uninstall-info-am
+ 
+ 
+ install-suid-programs:
+@@ -553,7 +556,6 @@
+ 	  echo "$$dashes"; \
+ 	  test "$$failed" -eq 0; \
+ 	fi
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/appl/ftp/ftp/Makefile.in heimdal-0.4e/appl/ftp/ftp/Makefile.in
+--- heimdal-0.4e-old/appl/ftp/ftp/Makefile.in	Thu Sep  6 22:24:27 2001
++++ heimdal-0.4e/appl/ftp/ftp/Makefile.in	Sat Jun 15 19:35:21 2002
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.15 2001/08/28 08:31:21 assar Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,13 +90,13 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+ LIB_ = @LIB_@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+-LIB_com_err = @LIB_com_err@
+ LIB_com_err_a = @LIB_com_err_a@
+ LIB_com_err_so = @LIB_com_err_so@
+ LIB_des = @LIB_des@
+@@ -100,12 +104,10 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+-LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,19 +121,19 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+-
+-# $Id: Makefile.am,v 1.15 2001/08/28 08:31:21 assar Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
++LIB_com_err = @LIB_com_err@
++LIB_otp = @LIB_otp@
++LIB_roken = @LIB_roken@
+ 
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+@@ -185,24 +187,31 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = 
+ 
+ bin_PROGRAMS = ftp
+ 
+-@KRB4_TRUE@krb4_sources = @KRB4_TRUE@krb4.c kauth.c
+-@KRB5_TRUE@krb5_sources = @KRB5_TRUE@gssapi.c
++@KRB4_TRUE@krb4_sources = krb4.c kauth.c
++@KRB5_TRUE@krb5_sources = gssapi.c
+ 
+ ftp_SOURCES = \
+ 	cmds.c \
+@@ -237,137 +246,130 @@
+ 
+ subdir = appl/ftp/ftp
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../../include/config.h
+-CONFIG_CLEAN_FILES = 
+-bin_PROGRAMS =  ftp$(EXEEXT)
+-PROGRAMS =  $(bin_PROGRAMS)
+-
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++bin_PROGRAMS = ftp$(EXEEXT)
++PROGRAMS = $(bin_PROGRAMS)
++
++@KRB4_FALSE@@KRB5_TRUE@am_ftp_OBJECTS = cmds.$(OBJEXT) cmdtab.$(OBJEXT) \
++@KRB4_FALSE@@KRB5_TRUE@	ftp.$(OBJEXT) main.$(OBJEXT) \
++@KRB4_FALSE@@KRB5_TRUE@	ruserpass.$(OBJEXT) domacro.$(OBJEXT) \
++@KRB4_FALSE@@KRB5_TRUE@	globals.$(OBJEXT) security.$(OBJEXT) \
++@KRB4_FALSE@@KRB5_TRUE@	gssapi.$(OBJEXT)
++@KRB4_FALSE@@KRB5_FALSE@am_ftp_OBJECTS = cmds.$(OBJEXT) cmdtab.$(OBJEXT) \
++@KRB4_FALSE@@KRB5_FALSE@	ftp.$(OBJEXT) main.$(OBJEXT) \
++@KRB4_FALSE@@KRB5_FALSE@	ruserpass.$(OBJEXT) domacro.$(OBJEXT) \
++@KRB4_FALSE@@KRB5_FALSE@	globals.$(OBJEXT) security.$(OBJEXT)
++@KRB4_TRUE@@KRB5_TRUE@am_ftp_OBJECTS = cmds.$(OBJEXT) cmdtab.$(OBJEXT) \
++@KRB4_TRUE@@KRB5_TRUE@	ftp.$(OBJEXT) main.$(OBJEXT) \
++@KRB4_TRUE@@KRB5_TRUE@	ruserpass.$(OBJEXT) domacro.$(OBJEXT) \
++@KRB4_TRUE@@KRB5_TRUE@	globals.$(OBJEXT) security.$(OBJEXT) \
++@KRB4_TRUE@@KRB5_TRUE@	krb4.$(OBJEXT) kauth.$(OBJEXT) \
++@KRB4_TRUE@@KRB5_TRUE@	gssapi.$(OBJEXT)
++@KRB4_TRUE@@KRB5_FALSE@am_ftp_OBJECTS = cmds.$(OBJEXT) cmdtab.$(OBJEXT) \
++@KRB4_TRUE@@KRB5_FALSE@	ftp.$(OBJEXT) main.$(OBJEXT) \
++@KRB4_TRUE@@KRB5_FALSE@	ruserpass.$(OBJEXT) domacro.$(OBJEXT) \
++@KRB4_TRUE@@KRB5_FALSE@	globals.$(OBJEXT) security.$(OBJEXT) \
++@KRB4_TRUE@@KRB5_FALSE@	krb4.$(OBJEXT) kauth.$(OBJEXT)
++ftp_OBJECTS = $(am_ftp_OBJECTS)
++ftp_LDADD = $(LDADD)
++@KRB5_TRUE@ftp_DEPENDENCIES = ../common/libcommon.a \
++@KRB5_TRUE@	$(top_builddir)/lib/gssapi/libgssapi.la \
++@KRB5_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_FALSE@ftp_DEPENDENCIES = ../common/libcommon.a
++ftp_LDFLAGS =
+ 
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../../../include
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+-@KRB4_FALSE@@KRB5_FALSE@am_ftp_OBJECTS =  cmds.$(OBJEXT) \
+-@KRB4_FALSE@@KRB5_FALSE@cmdtab.$(OBJEXT) ftp.$(OBJEXT) main.$(OBJEXT) \
+-@KRB4_FALSE@@KRB5_FALSE@ruserpass.$(OBJEXT) domacro.$(OBJEXT) \
+-@KRB4_FALSE@@KRB5_FALSE@globals.$(OBJEXT) security.$(OBJEXT)
+-@KRB4_FALSE@@KRB5_TRUE@am_ftp_OBJECTS =  cmds.$(OBJEXT) cmdtab.$(OBJEXT) \
+-@KRB4_FALSE@@KRB5_TRUE@ftp.$(OBJEXT) main.$(OBJEXT) ruserpass.$(OBJEXT) \
+-@KRB4_FALSE@@KRB5_TRUE@domacro.$(OBJEXT) globals.$(OBJEXT) \
+-@KRB4_FALSE@@KRB5_TRUE@security.$(OBJEXT) gssapi.$(OBJEXT)
+-@KRB4_TRUE@@KRB5_FALSE@am_ftp_OBJECTS =  cmds.$(OBJEXT) cmdtab.$(OBJEXT) \
+-@KRB4_TRUE@@KRB5_FALSE@ftp.$(OBJEXT) main.$(OBJEXT) ruserpass.$(OBJEXT) \
+-@KRB4_TRUE@@KRB5_FALSE@domacro.$(OBJEXT) globals.$(OBJEXT) \
+-@KRB4_TRUE@@KRB5_FALSE@security.$(OBJEXT) krb4.$(OBJEXT) \
+-@KRB4_TRUE@@KRB5_FALSE@kauth.$(OBJEXT)
+-@KRB4_TRUE@@KRB5_TRUE@am_ftp_OBJECTS =  cmds.$(OBJEXT) cmdtab.$(OBJEXT) \
+-@KRB4_TRUE@@KRB5_TRUE@ftp.$(OBJEXT) main.$(OBJEXT) ruserpass.$(OBJEXT) \
+-@KRB4_TRUE@@KRB5_TRUE@domacro.$(OBJEXT) globals.$(OBJEXT) \
+-@KRB4_TRUE@@KRB5_TRUE@security.$(OBJEXT) krb4.$(OBJEXT) kauth.$(OBJEXT) \
+-@KRB4_TRUE@@KRB5_TRUE@gssapi.$(OBJEXT)
+-ftp_OBJECTS =  $(am_ftp_OBJECTS)
+-ftp_LDADD = $(LDADD)
+-@KRB5_FALSE@ftp_DEPENDENCIES =  ../common/libcommon.a
+-@KRB5_TRUE@ftp_DEPENDENCIES =  ../common/libcommon.a \
+-@KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la \
+-@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
+-ftp_LDFLAGS = 
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  $(ftp_SOURCES) $(EXTRA_ftp_SOURCES)
+-man1dir = $(mandir)/man1
+-MANS = $(man_MANS)
+-depcomp = 
+-DIST_COMMON =  Makefile.am Makefile.in
+-
+-
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++DIST_SOURCES = $(ftp_SOURCES) $(EXTRA_ftp_SOURCES)
+ 
+-GZIP_ENV = --best
++NROFF = nroff
++MANS = $(man_MANS)
++DIST_COMMON = Makefile.am Makefile.in
+ SOURCES = $(ftp_SOURCES) $(EXTRA_ftp_SOURCES)
+-OBJECTS = $(am_ftp_OBJECTS)
+ 
+-all: all-redirect
++all: all-am
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/ftp/ftp/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+-
+-
+-mostlyclean-binPROGRAMS:
+-
+-clean-binPROGRAMS:
+-	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
+ 
+-distclean-binPROGRAMS:
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-maintainer-clean-binPROGRAMS:
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  appl/ftp/ftp/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ install-binPROGRAMS: $(bin_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(bindir)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  if test -f $$p; then \
+-	    f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f; \
++	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  if test -f $$p \
++	     || test -f $$p1 \
++	  ; then \
++	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-binPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+-mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
++clean-binPROGRAMS:
++	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
++ftp$(EXEEXT): $(ftp_OBJECTS) $(ftp_DEPENDENCIES) 
++	@rm -f ftp$(EXEEXT)
++	$(LINK) $(ftp_LDFLAGS) $(ftp_OBJECTS) $(ftp_LDADD) $(LIBS)
+ 
+-clean-compile:
++mostlyclean-compile:
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+-maintainer-clean-compile:
+-
+-mostlyclean-libtool:
+-	-rm -f *.lo
+-
+-clean-libtool:
+-	-rm -rf .libs _libs
+-
+-distclean-libtool:
+-
+-maintainer-clean-libtool:
+-
+-ftp$(EXEEXT): $(ftp_OBJECTS) $(ftp_DEPENDENCIES)
+-	@rm -f ftp$(EXEEXT)
+-	$(LINK) $(ftp_LDFLAGS) $(ftp_OBJECTS) $(ftp_LDADD) $(LIBS)
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
++
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
++uninstall-info-am:
+ 
+-install-man1:
++man1dir = $(mandir)/man1
++install-man1: $(man1_MANS) $(man_MANS)
++	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(man1dir)
+-	@list='$(man1_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.1*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -382,10 +384,11 @@
+ 	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
+ 	  $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
+ 	done
+-
+ uninstall-man1:
+-	@list='$(man1_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@$(NORMAL_UNINSTALL)
++	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.1*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -398,12 +401,6 @@
+ 	  echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
+ 	  rm -f $(DESTDIR)$(man1dir)/$$inst; \
+ 	done
+-install-man: $(MANS)
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-man1
+-uninstall-man:
+-	@$(NORMAL_UNINSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) uninstall-man1
+ 
+ tags: TAGS
+ 
+@@ -432,22 +429,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ../../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -457,86 +455,94 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-install-exec-am: install-binPROGRAMS
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++all-am: Makefile $(PROGRAMS) $(MANS) all-local
+ 
+-install-data-am: install-man install-data-local
+-install-data: install-data-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(man1dir)
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am: uninstall-binPROGRAMS uninstall-man
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(PROGRAMS) $(MANS) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-binPROGRAMS mostlyclean-compile \
+-		mostlyclean-libtool mostlyclean-tags \
+-		mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am
+ 
+-clean-am:  clean-binPROGRAMS clean-compile clean-libtool clean-tags \
+-		clean-generic mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-binPROGRAMS distclean-compile distclean-libtool \
+-		distclean-tags distclean-generic clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-binPROGRAMS \
+-		maintainer-clean-compile maintainer-clean-libtool \
+-		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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local install-man
++
++install-exec-am: install-binPROGRAMS
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man: install-man1
++
++installcheck-am:
+ 
+ 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 mostlyclean-libtool distclean-libtool \
+-clean-libtool maintainer-clean-libtool install-man1 uninstall-man1 \
+-install-man uninstall-man tags mostlyclean-tags distclean-tags \
+-clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi \
+-check-local check check-am installcheck-am installcheck install-exec-am \
+-install-exec install-data-local install-data-am install-data install-am \
+-install uninstall-am uninstall all-local all-redirect all-am all \
+-install-strip installdirs mostlyclean-generic distclean-generic \
+-clean-generic maintainer-clean-generic clean mostlyclean distclean \
+-maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-binPROGRAMS uninstall-info-am uninstall-man
++
++uninstall-man: uninstall-man1
++
++.PHONY: GTAGS all all-am all-local check check-am check-local clean \
++	clean-binPROGRAMS clean-generic clean-libtool distclean \
++	distclean-compile distclean-generic distclean-libtool \
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-binPROGRAMS install-data install-data-am \
++	install-data-local install-exec install-exec-am install-info \
++	install-info-am install-man install-man1 install-strip \
++	installcheck installcheck-am installdirs maintainer-clean \
++	maintainer-clean-generic mostlyclean mostlyclean-compile \
++	mostlyclean-generic mostlyclean-libtool tags uninstall \
++	uninstall-am uninstall-binPROGRAMS uninstall-info-am \
++	uninstall-man uninstall-man1
+ 
+ 
+ install-suid-programs:
+@@ -666,7 +672,6 @@
+ 	  echo "$$dashes"; \
+ 	  test "$$failed" -eq 0; \
+ 	fi
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/appl/ftp/ftpd/Makefile.in heimdal-0.4e/appl/ftp/ftpd/Makefile.in
+--- heimdal-0.4e-old/appl/ftp/ftpd/Makefile.in	Thu Sep  6 22:24:34 2001
++++ heimdal-0.4e/appl/ftp/ftpd/Makefile.in	Sat Jun 15 19:35:21 2002
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.26 2001/09/06 12:18:34 assar Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,13 +90,13 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+ LIB_ = @LIB_@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+-LIB_com_err = @LIB_com_err@
+ LIB_com_err_a = @LIB_com_err_a@
+ LIB_com_err_so = @LIB_com_err_so@
+ LIB_des = @LIB_des@
+@@ -100,12 +104,10 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+-LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,19 +121,19 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+-
+-# $Id: Makefile.am,v 1.26 2001/09/06 12:18:34 assar Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
++LIB_com_err = @LIB_com_err@
++LIB_otp = @LIB_otp@
++LIB_roken = @LIB_roken@
+ 
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+@@ -185,24 +187,31 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = 
+ 
+ libexec_PROGRAMS = ftpd
+ 
+-@KRB4_TRUE@krb4_sources = @KRB4_TRUE@krb4.c kauth.c
+-@KRB5_TRUE@krb5_sources = @KRB5_TRUE@gssapi.c gss_userok.c
++@KRB4_TRUE@krb4_sources = krb4.c kauth.c
++@KRB5_TRUE@krb5_sources = gssapi.c gss_userok.c
+ 
+ ftpd_SOURCES = \
+ 	extern.h	\
+@@ -235,148 +244,139 @@
+ 
+ subdir = appl/ftp/ftpd
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../../include/config.h
+-CONFIG_CLEAN_FILES = 
+-libexec_PROGRAMS =  ftpd$(EXEEXT)
+-PROGRAMS =  $(libexec_PROGRAMS)
+-
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++libexec_PROGRAMS = ftpd$(EXEEXT)
++PROGRAMS = $(libexec_PROGRAMS)
++
++@KRB4_FALSE@@KRB5_TRUE@am_ftpd_OBJECTS = ftpcmd.$(OBJEXT) ftpd.$(OBJEXT) \
++@KRB4_FALSE@@KRB5_TRUE@	logwtmp.$(OBJEXT) ls.$(OBJEXT) \
++@KRB4_FALSE@@KRB5_TRUE@	popen.$(OBJEXT) security.$(OBJEXT) \
++@KRB4_FALSE@@KRB5_TRUE@	gssapi.$(OBJEXT) gss_userok.$(OBJEXT)
++@KRB4_FALSE@@KRB5_FALSE@am_ftpd_OBJECTS = ftpcmd.$(OBJEXT) \
++@KRB4_FALSE@@KRB5_FALSE@	ftpd.$(OBJEXT) logwtmp.$(OBJEXT) \
++@KRB4_FALSE@@KRB5_FALSE@	ls.$(OBJEXT) popen.$(OBJEXT) \
++@KRB4_FALSE@@KRB5_FALSE@	security.$(OBJEXT)
++@KRB4_TRUE@@KRB5_TRUE@am_ftpd_OBJECTS = ftpcmd.$(OBJEXT) ftpd.$(OBJEXT) \
++@KRB4_TRUE@@KRB5_TRUE@	logwtmp.$(OBJEXT) ls.$(OBJEXT) \
++@KRB4_TRUE@@KRB5_TRUE@	popen.$(OBJEXT) security.$(OBJEXT) \
++@KRB4_TRUE@@KRB5_TRUE@	krb4.$(OBJEXT) kauth.$(OBJEXT) \
++@KRB4_TRUE@@KRB5_TRUE@	gssapi.$(OBJEXT) gss_userok.$(OBJEXT)
++@KRB4_TRUE@@KRB5_FALSE@am_ftpd_OBJECTS = ftpcmd.$(OBJEXT) ftpd.$(OBJEXT) \
++@KRB4_TRUE@@KRB5_FALSE@	logwtmp.$(OBJEXT) ls.$(OBJEXT) \
++@KRB4_TRUE@@KRB5_FALSE@	popen.$(OBJEXT) security.$(OBJEXT) \
++@KRB4_TRUE@@KRB5_FALSE@	krb4.$(OBJEXT) kauth.$(OBJEXT)
++ftpd_OBJECTS = $(am_ftpd_OBJECTS)
++ftpd_LDADD = $(LDADD)
++@KRB4_FALSE@@KRB5_TRUE@ftpd_DEPENDENCIES = ../common/libcommon.a \
++@KRB4_FALSE@@KRB5_TRUE@	$(top_builddir)/lib/gssapi/libgssapi.la \
++@KRB4_FALSE@@KRB5_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la
++@KRB4_FALSE@@KRB5_FALSE@ftpd_DEPENDENCIES = ../common/libcommon.a
++@KRB4_TRUE@@KRB5_TRUE@ftpd_DEPENDENCIES = ../common/libcommon.a \
++@KRB4_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/gssapi/libgssapi.la \
++@KRB4_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la \
++@KRB4_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/kafs/libkafs.la
++@KRB4_TRUE@@KRB5_FALSE@ftpd_DEPENDENCIES = ../common/libcommon.a \
++@KRB4_TRUE@@KRB5_FALSE@	$(top_builddir)/lib/kafs/libkafs.la
++ftpd_LDFLAGS =
+ 
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../../../include
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+-@KRB4_FALSE@@KRB5_FALSE@am_ftpd_OBJECTS =  ftpcmd.$(OBJEXT) \
+-@KRB4_FALSE@@KRB5_FALSE@ftpd.$(OBJEXT) logwtmp.$(OBJEXT) ls.$(OBJEXT) \
+-@KRB4_FALSE@@KRB5_FALSE@popen.$(OBJEXT) security.$(OBJEXT)
+-@KRB4_FALSE@@KRB5_TRUE@am_ftpd_OBJECTS =  ftpcmd.$(OBJEXT) \
+-@KRB4_FALSE@@KRB5_TRUE@ftpd.$(OBJEXT) logwtmp.$(OBJEXT) ls.$(OBJEXT) \
+-@KRB4_FALSE@@KRB5_TRUE@popen.$(OBJEXT) security.$(OBJEXT) \
+-@KRB4_FALSE@@KRB5_TRUE@gssapi.$(OBJEXT) gss_userok.$(OBJEXT)
+-@KRB4_TRUE@@KRB5_FALSE@am_ftpd_OBJECTS =  ftpcmd.$(OBJEXT) \
+-@KRB4_TRUE@@KRB5_FALSE@ftpd.$(OBJEXT) logwtmp.$(OBJEXT) ls.$(OBJEXT) \
+-@KRB4_TRUE@@KRB5_FALSE@popen.$(OBJEXT) security.$(OBJEXT) \
+-@KRB4_TRUE@@KRB5_FALSE@krb4.$(OBJEXT) kauth.$(OBJEXT)
+-@KRB4_TRUE@@KRB5_TRUE@am_ftpd_OBJECTS =  ftpcmd.$(OBJEXT) ftpd.$(OBJEXT) \
+-@KRB4_TRUE@@KRB5_TRUE@logwtmp.$(OBJEXT) ls.$(OBJEXT) popen.$(OBJEXT) \
+-@KRB4_TRUE@@KRB5_TRUE@security.$(OBJEXT) krb4.$(OBJEXT) kauth.$(OBJEXT) \
+-@KRB4_TRUE@@KRB5_TRUE@gssapi.$(OBJEXT) gss_userok.$(OBJEXT)
+-ftpd_OBJECTS =  $(am_ftpd_OBJECTS)
+-ftpd_LDADD = $(LDADD)
+-@KRB4_FALSE@@KRB5_FALSE@ftpd_DEPENDENCIES =  ../common/libcommon.a
+-@KRB4_FALSE@@KRB5_TRUE@ftpd_DEPENDENCIES =  ../common/libcommon.a \
+-@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la \
+-@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
+-@KRB4_TRUE@@KRB5_FALSE@ftpd_DEPENDENCIES =  ../common/libcommon.a \
+-@KRB4_TRUE@@KRB5_FALSE@$(top_builddir)/lib/kafs/libkafs.la
+-@KRB4_TRUE@@KRB5_TRUE@ftpd_DEPENDENCIES =  ../common/libcommon.a \
+-@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la \
+-@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la \
+-@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/kafs/libkafs.la
+-ftpd_LDFLAGS = 
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  $(ftpd_SOURCES) $(EXTRA_ftpd_SOURCES)
+-man5dir = $(mandir)/man5
+-man8dir = $(mandir)/man8
+-MANS = $(man_MANS)
+-depcomp = 
+-DIST_COMMON =  Makefile.am Makefile.in ftpcmd.c
+-
+-
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++YACCCOMPILE = $(YACC) $(YFLAGS) $(AM_YFLAGS)
++LTYACCCOMPILE = $(LIBTOOL) --mode=compile $(YACC) $(YFLAGS) $(AM_YFLAGS)
++YLWRAP = $(top_srcdir)/ylwrap
++DIST_SOURCES = $(ftpd_SOURCES) $(EXTRA_ftpd_SOURCES)
+ 
+-GZIP_ENV = --best
++NROFF = nroff
++MANS = $(man_MANS)
++DIST_COMMON = Makefile.am Makefile.in ftpcmd.c
+ SOURCES = $(ftpd_SOURCES) $(EXTRA_ftpd_SOURCES)
+-OBJECTS = $(am_ftpd_OBJECTS)
+ 
+-all: all-redirect
++all: all-am
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj .y
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/ftp/ftpd/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+-
+-
+-mostlyclean-libexecPROGRAMS:
+-
+-clean-libexecPROGRAMS:
+-	-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
+ 
+-distclean-libexecPROGRAMS:
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-maintainer-clean-libexecPROGRAMS:
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  appl/ftp/ftpd/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ install-libexecPROGRAMS: $(libexec_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(libexecdir)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+-	  if test -f $$p; then \
+-	    f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libexecdir)/$$f"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libexecdir)/$$f; \
++	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  if test -f $$p \
++	     || test -f $$p1 \
++	  ; then \
++	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-libexecPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+-	  f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(libexecdir)/$$f; \
+ 	done
+ 
+-mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
++clean-libexecPROGRAMS:
++	-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
++ftpd$(EXEEXT): $(ftpd_OBJECTS) $(ftpd_DEPENDENCIES) 
++	@rm -f ftpd$(EXEEXT)
++	$(LINK) $(ftpd_LDFLAGS) $(ftpd_OBJECTS) $(ftpd_LDADD) $(LIBS)
+ 
+-clean-compile:
++mostlyclean-compile:
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+-maintainer-clean-compile:
+-
+-mostlyclean-libtool:
+-	-rm -f *.lo
+-
+-clean-libtool:
+-	-rm -rf .libs _libs
+-
+-distclean-libtool:
+-
+-maintainer-clean-libtool:
+-
+-ftpd$(EXEEXT): $(ftpd_OBJECTS) $(ftpd_DEPENDENCIES)
+-	@rm -f ftpd$(EXEEXT)
+-	$(LINK) $(ftpd_LDFLAGS) $(ftpd_OBJECTS) $(ftpd_LDADD) $(LIBS)
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
++
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
+-.y.c:
+-	$(YACC) $(AM_YFLAGS) $(YFLAGS) $< && mv y.tab.c $*.c
+-	if test -f y.tab.h; then \
+-	if cmp -s y.tab.h $*.h; then rm -f y.tab.h; else mv y.tab.h $*.h; fi; \
+-	else :; fi
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
+ 
++.y.c:
++	$(SHELL) $(YLWRAP) $< y.tab.c $@ y.tab.h $*.h -- $(YACCCOMPILE)
++uninstall-info-am:
+ 
+-install-man5:
++man5dir = $(mandir)/man5
++install-man5: $(man5_MANS) $(man_MANS)
++	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(man5dir)
+-	@list='$(man5_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@list='$(man5_MANS) $(dist_man5_MANS) $(nodist_man5_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.5*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -391,10 +391,11 @@
+ 	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man5dir)/$$inst"; \
+ 	  $(INSTALL_DATA) $$file $(DESTDIR)$(man5dir)/$$inst; \
+ 	done
+-
+ uninstall-man5:
+-	@list='$(man5_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@$(NORMAL_UNINSTALL)
++	@list='$(man5_MANS) $(dist_man5_MANS) $(nodist_man5_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.5*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -408,10 +409,13 @@
+ 	  rm -f $(DESTDIR)$(man5dir)/$$inst; \
+ 	done
+ 
+-install-man8:
++man8dir = $(mandir)/man8
++install-man8: $(man8_MANS) $(man_MANS)
++	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(man8dir)
+-	@list='$(man8_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.8*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -426,10 +430,11 @@
+ 	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst"; \
+ 	  $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst; \
+ 	done
+-
+ uninstall-man8:
+-	@list='$(man8_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@$(NORMAL_UNINSTALL)
++	@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.8*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -442,12 +447,6 @@
+ 	  echo " rm -f $(DESTDIR)$(man8dir)/$$inst"; \
+ 	  rm -f $(DESTDIR)$(man8dir)/$$inst; \
+ 	done
+-install-man: $(MANS)
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-man5 install-man8
+-uninstall-man:
+-	@$(NORMAL_UNINSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) uninstall-man5 uninstall-man8
+ 
+ tags: TAGS
+ 
+@@ -476,22 +475,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ../../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -501,91 +501,97 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-install-exec-am: install-libexecPROGRAMS
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++all-am: Makefile $(PROGRAMS) $(MANS) all-local
+ 
+-install-data-am: install-man install-data-local
+-install-data: install-data-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(libexecdir) $(DESTDIR)$(man5dir) $(DESTDIR)$(man8dir)
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am: uninstall-libexecPROGRAMS uninstall-man
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(PROGRAMS) $(MANS) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(libexecdir) $(DESTDIR)$(mandir)/man5 \
+-		$(DESTDIR)$(mandir)/man8
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-	-test -z "ftpcmd.c" || rm -f ftpcmd.c
+-mostlyclean-am:  mostlyclean-libexecPROGRAMS mostlyclean-compile \
+-		mostlyclean-libtool mostlyclean-tags \
+-		mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-generic clean-libexecPROGRAMS clean-libtool \
++	mostlyclean-am
+ 
+-clean-am:  clean-libexecPROGRAMS clean-compile clean-libtool clean-tags \
+-		clean-generic mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-libexecPROGRAMS distclean-compile \
+-		distclean-libtool distclean-tags distclean-generic \
+-		clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-libexecPROGRAMS \
+-		maintainer-clean-compile maintainer-clean-libtool \
+-		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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local install-man
++
++install-exec-am: install-libexecPROGRAMS
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man: install-man5 install-man8
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-am
+ 
+-.PHONY: mostlyclean-libexecPROGRAMS distclean-libexecPROGRAMS \
+-clean-libexecPROGRAMS maintainer-clean-libexecPROGRAMS \
+-uninstall-libexecPROGRAMS install-libexecPROGRAMS mostlyclean-compile \
+-distclean-compile clean-compile maintainer-clean-compile \
+-mostlyclean-libtool distclean-libtool clean-libtool \
+-maintainer-clean-libtool install-man5 uninstall-man5 install-man8 \
+-uninstall-man8 install-man uninstall-man tags mostlyclean-tags \
+-distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
+-dvi-am dvi check-local check check-am installcheck-am installcheck \
+-install-exec-am install-exec install-data-local install-data-am \
+-install-data install-am install uninstall-am uninstall all-local \
+-all-redirect all-am all install-strip installdirs mostlyclean-generic \
+-distclean-generic clean-generic maintainer-clean-generic clean \
+-mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-info-am uninstall-libexecPROGRAMS uninstall-man
++
++uninstall-man: uninstall-man5 uninstall-man8
++
++.PHONY: GTAGS all all-am all-local check check-am check-local clean \
++	clean-generic clean-libexecPROGRAMS clean-libtool distclean \
++	distclean-compile distclean-generic distclean-libtool \
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-data install-data-am install-data-local \
++	install-exec install-exec-am install-info install-info-am \
++	install-libexecPROGRAMS install-man install-man5 install-man8 \
++	install-strip installcheck installcheck-am installdirs \
++	maintainer-clean maintainer-clean-generic mostlyclean \
++	mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
++	tags uninstall uninstall-am uninstall-info-am \
++	uninstall-libexecPROGRAMS uninstall-man uninstall-man5 \
++	uninstall-man8
+ 
+ 
+ install-suid-programs:
+@@ -726,7 +732,6 @@
+ 	@test -f krb4.c || $(LN_S) $(srcdir)/../ftp/krb4.c .
+ gssapi.c:
+ 	@test -f gssapi.c || $(LN_S) $(srcdir)/../ftp/gssapi.c .
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/appl/kf/Makefile.in heimdal-0.4e/appl/kf/Makefile.in
+--- heimdal-0.4e-old/appl/kf/Makefile.in	Thu Sep  6 22:25:42 2001
++++ heimdal-0.4e/appl/kf/Makefile.in	Sat Jun 15 19:35:22 2002
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.5 2000/11/15 22:51:08 assar Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,13 +90,13 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+ LIB_ = @LIB_@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+-LIB_com_err = @LIB_com_err@
+ LIB_com_err_a = @LIB_com_err_a@
+ LIB_com_err_so = @LIB_com_err_so@
+ LIB_des = @LIB_des@
+@@ -100,12 +104,10 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+-LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,19 +121,19 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+-
+-# $Id: Makefile.am,v 1.5 2000/11/15 22:51:08 assar Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
++LIB_com_err = @LIB_com_err@
++LIB_otp = @LIB_otp@
++LIB_roken = @LIB_roken@
+ 
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+@@ -185,17 +187,24 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+@@ -216,157 +225,143 @@
+ 
+ subdir = appl/kf
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../include/config.h
+-CONFIG_CLEAN_FILES = 
+-bin_PROGRAMS =  kf$(EXEEXT)
+-libexec_PROGRAMS =  kfd$(EXEEXT)
+-PROGRAMS =  $(bin_PROGRAMS) $(libexec_PROGRAMS)
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++bin_PROGRAMS = kf$(EXEEXT)
++libexec_PROGRAMS = kfd$(EXEEXT)
++PROGRAMS = $(bin_PROGRAMS) $(libexec_PROGRAMS)
+ 
++am_kf_OBJECTS = kf.$(OBJEXT)
++kf_OBJECTS = $(am_kf_OBJECTS)
++kf_LDADD = $(LDADD)
++kf_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++kf_LDFLAGS =
++am_kfd_OBJECTS = kfd.$(OBJEXT)
++kfd_OBJECTS = $(am_kfd_OBJECTS)
++kfd_LDADD = $(LDADD)
++kfd_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++kfd_LDFLAGS =
+ 
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../../include
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+-am_kf_OBJECTS =  kf.$(OBJEXT)
+-kf_OBJECTS =  $(am_kf_OBJECTS)
+-kf_LDADD = $(LDADD)
+-kf_DEPENDENCIES =  $(top_builddir)/lib/krb5/libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
+-kf_LDFLAGS = 
+-am_kfd_OBJECTS =  kfd.$(OBJEXT)
+-kfd_OBJECTS =  $(am_kfd_OBJECTS)
+-kfd_LDADD = $(LDADD)
+-kfd_DEPENDENCIES =  $(top_builddir)/lib/krb5/libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
+-kfd_LDFLAGS = 
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  $(kf_SOURCES) $(kfd_SOURCES)
+-man1dir = $(mandir)/man1
+-man8dir = $(mandir)/man8
+-MANS = $(man_MANS)
+-depcomp = 
+-DIST_COMMON =  Makefile.am Makefile.in
+-
+-
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++DIST_SOURCES = $(kf_SOURCES) $(kfd_SOURCES)
+ 
+-GZIP_ENV = --best
++NROFF = nroff
++MANS = $(man_MANS)
++DIST_COMMON = Makefile.am Makefile.in
+ SOURCES = $(kf_SOURCES) $(kfd_SOURCES)
+-OBJECTS = $(am_kf_OBJECTS) $(am_kfd_OBJECTS)
+ 
+-all: all-redirect
++all: all-am
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/kf/Makefile
+ 
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+-
+-
+-mostlyclean-binPROGRAMS:
+-
+-clean-binPROGRAMS:
+-	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
+-
+-distclean-binPROGRAMS:
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-maintainer-clean-binPROGRAMS:
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  appl/kf/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ install-binPROGRAMS: $(bin_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(bindir)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  if test -f $$p; then \
+-	    f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f; \
++	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  if test -f $$p \
++	     || test -f $$p1 \
++	  ; then \
++	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-binPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+-mostlyclean-libexecPROGRAMS:
+-
+-clean-libexecPROGRAMS:
+-	-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
+-
+-distclean-libexecPROGRAMS:
+-
+-maintainer-clean-libexecPROGRAMS:
+-
++clean-binPROGRAMS:
++	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
+ install-libexecPROGRAMS: $(libexec_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(libexecdir)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+-	  if test -f $$p; then \
+-	    f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libexecdir)/$$f"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libexecdir)/$$f; \
++	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  if test -f $$p \
++	     || test -f $$p1 \
++	  ; then \
++	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-libexecPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+-	  f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(libexecdir)/$$f; \
+ 	done
+ 
+-mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
++clean-libexecPROGRAMS:
++	-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
++kf$(EXEEXT): $(kf_OBJECTS) $(kf_DEPENDENCIES) 
++	@rm -f kf$(EXEEXT)
++	$(LINK) $(kf_LDFLAGS) $(kf_OBJECTS) $(kf_LDADD) $(LIBS)
++kfd$(EXEEXT): $(kfd_OBJECTS) $(kfd_DEPENDENCIES) 
++	@rm -f kfd$(EXEEXT)
++	$(LINK) $(kfd_LDFLAGS) $(kfd_OBJECTS) $(kfd_LDADD) $(LIBS)
+ 
+-clean-compile:
++mostlyclean-compile:
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+-maintainer-clean-compile:
+-
+-mostlyclean-libtool:
+-	-rm -f *.lo
+-
+-clean-libtool:
+-	-rm -rf .libs _libs
+-
+-distclean-libtool:
+-
+-maintainer-clean-libtool:
+-
+-kf$(EXEEXT): $(kf_OBJECTS) $(kf_DEPENDENCIES)
+-	@rm -f kf$(EXEEXT)
+-	$(LINK) $(kf_LDFLAGS) $(kf_OBJECTS) $(kf_LDADD) $(LIBS)
+-
+-kfd$(EXEEXT): $(kfd_OBJECTS) $(kfd_DEPENDENCIES)
+-	@rm -f kfd$(EXEEXT)
+-	$(LINK) $(kfd_LDFLAGS) $(kfd_OBJECTS) $(kfd_LDADD) $(LIBS)
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
++
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
++uninstall-info-am:
+ 
+-install-man1:
++man1dir = $(mandir)/man1
++install-man1: $(man1_MANS) $(man_MANS)
++	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(man1dir)
+-	@list='$(man1_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.1*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -381,10 +376,11 @@
+ 	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
+ 	  $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
+ 	done
+-
+ uninstall-man1:
+-	@list='$(man1_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@$(NORMAL_UNINSTALL)
++	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.1*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -398,10 +394,13 @@
+ 	  rm -f $(DESTDIR)$(man1dir)/$$inst; \
+ 	done
+ 
+-install-man8:
++man8dir = $(mandir)/man8
++install-man8: $(man8_MANS) $(man_MANS)
++	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(man8dir)
+-	@list='$(man8_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.8*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -416,10 +415,11 @@
+ 	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst"; \
+ 	  $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst; \
+ 	done
+-
+ uninstall-man8:
+-	@list='$(man8_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@$(NORMAL_UNINSTALL)
++	@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.8*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -432,12 +432,6 @@
+ 	  echo " rm -f $(DESTDIR)$(man8dir)/$$inst"; \
+ 	  rm -f $(DESTDIR)$(man8dir)/$$inst; \
+ 	done
+-install-man: $(MANS)
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-man1 install-man8
+-uninstall-man:
+-	@$(NORMAL_UNINSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) uninstall-man1 uninstall-man8
+ 
+ tags: TAGS
+ 
+@@ -466,22 +460,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -491,93 +486,98 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-install-exec-am: install-binPROGRAMS install-libexecPROGRAMS
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++all-am: Makefile $(PROGRAMS) $(MANS) all-local
+ 
+-install-data-am: install-man install-data-local
+-install-data: install-data-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(libexecdir) $(DESTDIR)$(man1dir) $(DESTDIR)$(man8dir)
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am: uninstall-binPROGRAMS uninstall-libexecPROGRAMS \
+-		uninstall-man
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(PROGRAMS) $(MANS) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(bindir) $(DESTDIR)$(libexecdir) \
+-		$(DESTDIR)$(mandir)/man1 $(DESTDIR)$(mandir)/man8
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-binPROGRAMS mostlyclean-libexecPROGRAMS \
+-		mostlyclean-compile mostlyclean-libtool \
+-		mostlyclean-tags mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-binPROGRAMS clean-generic clean-libexecPROGRAMS \
++	clean-libtool mostlyclean-am
+ 
+-clean-am:  clean-binPROGRAMS clean-libexecPROGRAMS clean-compile \
+-		clean-libtool clean-tags clean-generic mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-binPROGRAMS distclean-libexecPROGRAMS \
+-		distclean-compile distclean-libtool distclean-tags \
+-		distclean-generic clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-binPROGRAMS \
+-		maintainer-clean-libexecPROGRAMS \
+-		maintainer-clean-compile maintainer-clean-libtool \
+-		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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local install-man
++
++install-exec-am: install-binPROGRAMS install-libexecPROGRAMS
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man: install-man1 install-man8
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-am
+ 
+-.PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
+-maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
+-mostlyclean-libexecPROGRAMS distclean-libexecPROGRAMS \
+-clean-libexecPROGRAMS maintainer-clean-libexecPROGRAMS \
+-uninstall-libexecPROGRAMS install-libexecPROGRAMS mostlyclean-compile \
+-distclean-compile clean-compile maintainer-clean-compile \
+-mostlyclean-libtool distclean-libtool clean-libtool \
+-maintainer-clean-libtool install-man1 uninstall-man1 install-man8 \
+-uninstall-man8 install-man uninstall-man tags mostlyclean-tags \
+-distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
+-dvi-am dvi check-local check check-am installcheck-am installcheck \
+-install-exec-am install-exec install-data-local install-data-am \
+-install-data install-am install uninstall-am uninstall all-local \
+-all-redirect all-am all install-strip installdirs mostlyclean-generic \
+-distclean-generic clean-generic maintainer-clean-generic clean \
+-mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-binPROGRAMS uninstall-info-am \
++	uninstall-libexecPROGRAMS uninstall-man
++
++uninstall-man: uninstall-man1 uninstall-man8
++
++.PHONY: GTAGS all all-am all-local check check-am check-local clean \
++	clean-binPROGRAMS clean-generic clean-libexecPROGRAMS \
++	clean-libtool distclean distclean-compile distclean-generic \
++	distclean-libtool distclean-tags distdir dvi dvi-am info \
++	info-am install install-am install-binPROGRAMS install-data \
++	install-data-am install-data-local install-exec install-exec-am \
++	install-info install-info-am install-libexecPROGRAMS \
++	install-man install-man1 install-man8 install-strip \
++	installcheck installcheck-am installdirs maintainer-clean \
++	maintainer-clean-generic mostlyclean mostlyclean-compile \
++	mostlyclean-generic mostlyclean-libtool tags uninstall \
++	uninstall-am uninstall-binPROGRAMS uninstall-info-am \
++	uninstall-libexecPROGRAMS uninstall-man uninstall-man1 \
++	uninstall-man8
+ 
+ 
+ install-suid-programs:
+@@ -707,7 +707,6 @@
+ 	  echo "$$dashes"; \
+ 	  test "$$failed" -eq 0; \
+ 	fi
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/appl/kx/Makefile.in heimdal-0.4e/appl/kx/Makefile.in
+--- heimdal-0.4e-old/appl/kx/Makefile.in	Thu Sep  6 22:24:45 2001
++++ heimdal-0.4e/appl/kx/Makefile.in	Sat Jun 15 19:35:22 2002
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.12 2000/11/15 22:51:08 assar Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,13 +90,13 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+ LIB_ = @LIB_@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+-LIB_com_err = @LIB_com_err@
+ LIB_com_err_a = @LIB_com_err_a@
+ LIB_com_err_so = @LIB_com_err_so@
+ LIB_des = @LIB_des@
+@@ -100,12 +104,10 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+-LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -118,19 +120,21 @@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
++LIB_com_err = @LIB_com_err@
++LIB_otp = @LIB_otp@
++LIB_roken = @LIB_roken@
+ 
+-# $Id: Makefile.am,v 1.12 2000/11/15 22:51:08 assar Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
++WFLAGS = @WFLAGS@ $(WFLAGS_NOIMPLICITINT)
+ 
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+@@ -184,32 +188,37 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+-WFLAGS = @WFLAGS@ $(WFLAGS_NOIMPLICITINT)
+-
+-@HAVE_X_TRUE@bin_PROGRAMS = @HAVE_X_TRUE@kx
++@HAVE_X_TRUE@bin_PROGRAMS = kx
+ @HAVE_X_FALSE@bin_PROGRAMS = 
+-@HAVE_X_TRUE@bin_SCRIPTS = @HAVE_X_TRUE@rxterm rxtelnet tenletxr
++@HAVE_X_TRUE@bin_SCRIPTS = rxterm rxtelnet tenletxr
+ @HAVE_X_FALSE@bin_SCRIPTS = 
+-@HAVE_X_TRUE@libexec_PROGRAMS = @HAVE_X_TRUE@kxd
++@HAVE_X_TRUE@libexec_PROGRAMS = kxd
+ @HAVE_X_FALSE@libexec_PROGRAMS = 
+ 
+ CLEANFILES = rxterm rxtelnet tenletxr
+ 
+-@NEED_WRITEAUTH_TRUE@XauWriteAuth_c = @NEED_WRITEAUTH_TRUE@writeauth.c
++@NEED_WRITEAUTH_TRUE@XauWriteAuth_c = writeauth.c
+ 
+ kx_SOURCES = \
+ 	kx.c \
+@@ -249,174 +258,146 @@
+ 
+ subdir = appl/kx
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../include/config.h
+-CONFIG_CLEAN_FILES = 
+-@HAVE_X_FALSE@bin_PROGRAMS = 
+-@HAVE_X_FALSE@libexec_PROGRAMS = 
+-PROGRAMS =  $(bin_PROGRAMS) $(libexec_PROGRAMS)
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++@HAVE_X_TRUE@bin_PROGRAMS = kx$(EXEEXT)
++@HAVE_X_FALSE@bin_PROGRAMS =
++@HAVE_X_TRUE@libexec_PROGRAMS = kxd$(EXEEXT)
++@HAVE_X_FALSE@libexec_PROGRAMS =
++PROGRAMS = $(bin_PROGRAMS) $(libexec_PROGRAMS)
++
++@NEED_WRITEAUTH_TRUE@am_kx_OBJECTS = kx.$(OBJEXT) common.$(OBJEXT) \
++@NEED_WRITEAUTH_TRUE@	context.$(OBJEXT) krb4.$(OBJEXT) \
++@NEED_WRITEAUTH_TRUE@	krb5.$(OBJEXT) writeauth.$(OBJEXT)
++@NEED_WRITEAUTH_FALSE@am_kx_OBJECTS = kx.$(OBJEXT) common.$(OBJEXT) \
++@NEED_WRITEAUTH_FALSE@	context.$(OBJEXT) krb4.$(OBJEXT) \
++@NEED_WRITEAUTH_FALSE@	krb5.$(OBJEXT)
++kx_OBJECTS = $(am_kx_OBJECTS)
++kx_LDADD = $(LDADD)
++@KRB4_FALSE@@KRB5_TRUE@kx_DEPENDENCIES = \
++@KRB4_FALSE@@KRB5_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la
++@KRB4_FALSE@@KRB5_FALSE@kx_DEPENDENCIES =
++@KRB4_TRUE@@KRB5_TRUE@kx_DEPENDENCIES = \
++@KRB4_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/kafs/libkafs.la \
++@KRB4_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la
++@KRB4_TRUE@@KRB5_FALSE@kx_DEPENDENCIES = \
++@KRB4_TRUE@@KRB5_FALSE@	$(top_builddir)/lib/kafs/libkafs.la
++kx_LDFLAGS =
++@NEED_WRITEAUTH_TRUE@am_kxd_OBJECTS = kxd.$(OBJEXT) common.$(OBJEXT) \
++@NEED_WRITEAUTH_TRUE@	context.$(OBJEXT) krb4.$(OBJEXT) \
++@NEED_WRITEAUTH_TRUE@	krb5.$(OBJEXT) writeauth.$(OBJEXT)
++@NEED_WRITEAUTH_FALSE@am_kxd_OBJECTS = kxd.$(OBJEXT) common.$(OBJEXT) \
++@NEED_WRITEAUTH_FALSE@	context.$(OBJEXT) krb4.$(OBJEXT) \
++@NEED_WRITEAUTH_FALSE@	krb5.$(OBJEXT)
++kxd_OBJECTS = $(am_kxd_OBJECTS)
++kxd_LDADD = $(LDADD)
++@KRB4_FALSE@@KRB5_TRUE@kxd_DEPENDENCIES = \
++@KRB4_FALSE@@KRB5_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la
++@KRB4_FALSE@@KRB5_FALSE@kxd_DEPENDENCIES =
++@KRB4_TRUE@@KRB5_TRUE@kxd_DEPENDENCIES = \
++@KRB4_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/kafs/libkafs.la \
++@KRB4_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la
++@KRB4_TRUE@@KRB5_FALSE@kxd_DEPENDENCIES = \
++@KRB4_TRUE@@KRB5_FALSE@	$(top_builddir)/lib/kafs/libkafs.la
++kxd_LDFLAGS =
++SCRIPTS = $(bin_SCRIPTS)
+ 
+ 
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../../include
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+-@NEED_WRITEAUTH_FALSE@am_kx_OBJECTS =  kx.$(OBJEXT) common.$(OBJEXT) \
+-@NEED_WRITEAUTH_FALSE@context.$(OBJEXT) krb4.$(OBJEXT) krb5.$(OBJEXT)
+-@NEED_WRITEAUTH_TRUE@am_kx_OBJECTS =  kx.$(OBJEXT) common.$(OBJEXT) \
+-@NEED_WRITEAUTH_TRUE@context.$(OBJEXT) krb4.$(OBJEXT) krb5.$(OBJEXT) \
+-@NEED_WRITEAUTH_TRUE@writeauth.$(OBJEXT)
+-kx_OBJECTS =  $(am_kx_OBJECTS)
+-kx_LDADD = $(LDADD)
+-@KRB4_FALSE@@KRB5_FALSE@kx_DEPENDENCIES = 
+-@KRB4_FALSE@@KRB5_TRUE@kx_DEPENDENCIES =  \
+-@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
+-@KRB4_TRUE@@KRB5_FALSE@kx_DEPENDENCIES =  \
+-@KRB4_TRUE@@KRB5_FALSE@$(top_builddir)/lib/kafs/libkafs.la
+-@KRB4_TRUE@@KRB5_TRUE@kx_DEPENDENCIES =  \
+-@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/kafs/libkafs.la \
+-@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
+-kx_LDFLAGS = 
+-@NEED_WRITEAUTH_FALSE@am_kxd_OBJECTS =  kxd.$(OBJEXT) common.$(OBJEXT) \
+-@NEED_WRITEAUTH_FALSE@context.$(OBJEXT) krb4.$(OBJEXT) krb5.$(OBJEXT)
+-@NEED_WRITEAUTH_TRUE@am_kxd_OBJECTS =  kxd.$(OBJEXT) common.$(OBJEXT) \
+-@NEED_WRITEAUTH_TRUE@context.$(OBJEXT) krb4.$(OBJEXT) krb5.$(OBJEXT) \
+-@NEED_WRITEAUTH_TRUE@writeauth.$(OBJEXT)
+-kxd_OBJECTS =  $(am_kxd_OBJECTS)
+-kxd_LDADD = $(LDADD)
+-@KRB4_FALSE@@KRB5_FALSE@kxd_DEPENDENCIES = 
+-@KRB4_FALSE@@KRB5_TRUE@kxd_DEPENDENCIES =  \
+-@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
+-@KRB4_TRUE@@KRB5_FALSE@kxd_DEPENDENCIES =  \
+-@KRB4_TRUE@@KRB5_FALSE@$(top_builddir)/lib/kafs/libkafs.la
+-@KRB4_TRUE@@KRB5_TRUE@kxd_DEPENDENCIES =  \
+-@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/kafs/libkafs.la \
+-@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
+-kxd_LDFLAGS = 
+-SCRIPTS =  $(bin_SCRIPTS)
+-
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  $(kx_SOURCES) $(EXTRA_kx_SOURCES) $(kxd_SOURCES) \
+-$(EXTRA_kxd_SOURCES)
+-man1dir = $(mandir)/man1
+-man8dir = $(mandir)/man8
+-MANS = $(man_MANS)
+-depcomp = 
+-DIST_COMMON =  ChangeLog Makefile.am Makefile.in
+-
+-
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++DIST_SOURCES = $(kx_SOURCES) $(EXTRA_kx_SOURCES) $(kxd_SOURCES) \
++	$(EXTRA_kxd_SOURCES)
+ 
+-GZIP_ENV = --best
++NROFF = nroff
++MANS = $(man_MANS)
++DIST_COMMON = ChangeLog Makefile.am Makefile.in
+ SOURCES = $(kx_SOURCES) $(EXTRA_kx_SOURCES) $(kxd_SOURCES) $(EXTRA_kxd_SOURCES)
+-OBJECTS = $(am_kx_OBJECTS) $(am_kxd_OBJECTS)
+ 
+-all: all-redirect
++all: all-am
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/kx/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+-
+-
+-mostlyclean-binPROGRAMS:
+ 
+-clean-binPROGRAMS:
+-	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
+-
+-distclean-binPROGRAMS:
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-maintainer-clean-binPROGRAMS:
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  appl/kx/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ install-binPROGRAMS: $(bin_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(bindir)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  if test -f $$p; then \
+-	    f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f; \
++	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  if test -f $$p \
++	     || test -f $$p1 \
++	  ; then \
++	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-binPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+-mostlyclean-libexecPROGRAMS:
+-
+-clean-libexecPROGRAMS:
+-	-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
+-
+-distclean-libexecPROGRAMS:
+-
+-maintainer-clean-libexecPROGRAMS:
+-
++clean-binPROGRAMS:
++	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
+ install-libexecPROGRAMS: $(libexec_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(libexecdir)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+-	  if test -f $$p; then \
+-	    f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libexecdir)/$$f"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libexecdir)/$$f; \
++	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  if test -f $$p \
++	     || test -f $$p1 \
++	  ; then \
++	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-libexecPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+-	  f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(libexecdir)/$$f; \
+ 	done
+ 
+-mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
+-
+-clean-compile:
+-
+-distclean-compile:
+-	-rm -f *.tab.c
+-
+-maintainer-clean-compile:
+-
+-mostlyclean-libtool:
+-	-rm -f *.lo
+-
+-clean-libtool:
+-	-rm -rf .libs _libs
+-
+-distclean-libtool:
+-
+-maintainer-clean-libtool:
+-
+-kx$(EXEEXT): $(kx_OBJECTS) $(kx_DEPENDENCIES)
++clean-libexecPROGRAMS:
++	-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
++kx$(EXEEXT): $(kx_OBJECTS) $(kx_DEPENDENCIES) 
+ 	@rm -f kx$(EXEEXT)
+ 	$(LINK) $(kx_LDFLAGS) $(kx_OBJECTS) $(kx_LDADD) $(LIBS)
+-
+-kxd$(EXEEXT): $(kxd_OBJECTS) $(kxd_DEPENDENCIES)
++kxd$(EXEEXT): $(kxd_OBJECTS) $(kxd_DEPENDENCIES) 
+ 	@rm -f kxd$(EXEEXT)
+ 	$(LINK) $(kxd_LDFLAGS) $(kxd_OBJECTS) $(kxd_LDADD) $(LIBS)
+-
+ install-binSCRIPTS: $(bin_SCRIPTS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(bindir)
+@@ -438,17 +419,30 @@
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
++
++mostlyclean-compile:
++	-rm -f *.$(OBJEXT) core *.core
++
++distclean-compile:
++	-rm -f *.tab.c
++
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
++
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
++uninstall-info-am:
+ 
+-install-man1:
++man1dir = $(mandir)/man1
++install-man1: $(man1_MANS) $(man_MANS)
++	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(man1dir)
+-	@list='$(man1_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.1*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -463,10 +457,11 @@
+ 	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
+ 	  $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
+ 	done
+-
+ uninstall-man1:
+-	@list='$(man1_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@$(NORMAL_UNINSTALL)
++	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.1*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -480,10 +475,13 @@
+ 	  rm -f $(DESTDIR)$(man1dir)/$$inst; \
+ 	done
+ 
+-install-man8:
++man8dir = $(mandir)/man8
++install-man8: $(man8_MANS) $(man_MANS)
++	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(man8dir)
+-	@list='$(man8_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.8*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -498,10 +496,11 @@
+ 	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst"; \
+ 	  $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst; \
+ 	done
+-
+ uninstall-man8:
+-	@list='$(man8_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@$(NORMAL_UNINSTALL)
++	@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.8*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -514,12 +513,6 @@
+ 	  echo " rm -f $(DESTDIR)$(man8dir)/$$inst"; \
+ 	  rm -f $(DESTDIR)$(man8dir)/$$inst; \
+ 	done
+-install-man: $(MANS)
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-man1 install-man8
+-uninstall-man:
+-	@$(NORMAL_UNINSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) uninstall-man1 uninstall-man8
+ 
+ tags: TAGS
+ 
+@@ -548,22 +541,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -573,96 +567,101 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-install-exec-am: install-binPROGRAMS install-libexecPROGRAMS \
+-		install-binSCRIPTS
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++all-am: Makefile $(PROGRAMS) $(SCRIPTS) $(MANS) all-local
+ 
+-install-data-am: install-man install-data-local
+-install-data: install-data-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(libexecdir) $(DESTDIR)$(bindir) $(DESTDIR)$(man1dir) $(DESTDIR)$(man8dir)
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am: uninstall-binPROGRAMS uninstall-libexecPROGRAMS \
+-		uninstall-binSCRIPTS uninstall-man
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(PROGRAMS) $(SCRIPTS) $(MANS) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(bindir) $(DESTDIR)$(libexecdir) \
+-		$(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1 \
+-		$(DESTDIR)$(mandir)/man8
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-binPROGRAMS mostlyclean-libexecPROGRAMS \
+-		mostlyclean-compile mostlyclean-libtool \
+-		mostlyclean-tags mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-binPROGRAMS clean-generic clean-libexecPROGRAMS \
++	clean-libtool mostlyclean-am
+ 
+-clean-am:  clean-binPROGRAMS clean-libexecPROGRAMS clean-compile \
+-		clean-libtool clean-tags clean-generic mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-binPROGRAMS distclean-libexecPROGRAMS \
+-		distclean-compile distclean-libtool distclean-tags \
+-		distclean-generic clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-binPROGRAMS \
+-		maintainer-clean-libexecPROGRAMS \
+-		maintainer-clean-compile maintainer-clean-libtool \
+-		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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local install-man
++
++install-exec-am: install-binPROGRAMS install-binSCRIPTS \
++	install-libexecPROGRAMS
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man: install-man1 install-man8
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-am
+ 
+-.PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
+-maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
+-mostlyclean-libexecPROGRAMS distclean-libexecPROGRAMS \
+-clean-libexecPROGRAMS maintainer-clean-libexecPROGRAMS \
+-uninstall-libexecPROGRAMS install-libexecPROGRAMS mostlyclean-compile \
+-distclean-compile clean-compile maintainer-clean-compile \
+-mostlyclean-libtool distclean-libtool clean-libtool \
+-maintainer-clean-libtool uninstall-binSCRIPTS install-binSCRIPTS \
+-install-man1 uninstall-man1 install-man8 uninstall-man8 install-man \
+-uninstall-man tags mostlyclean-tags distclean-tags clean-tags \
+-maintainer-clean-tags distdir info-am info dvi-am dvi check-local check \
+-check-am installcheck-am installcheck install-exec-am install-exec \
+-install-data-local install-data-am install-data install-am install \
+-uninstall-am uninstall all-local all-redirect all-am all install-strip \
+-installdirs mostlyclean-generic distclean-generic clean-generic \
+-maintainer-clean-generic clean mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-binPROGRAMS uninstall-binSCRIPTS \
++	uninstall-info-am uninstall-libexecPROGRAMS uninstall-man
++
++uninstall-man: uninstall-man1 uninstall-man8
++
++.PHONY: GTAGS all all-am all-local check check-am check-local clean \
++	clean-binPROGRAMS clean-generic clean-libexecPROGRAMS \
++	clean-libtool distclean distclean-compile distclean-generic \
++	distclean-libtool distclean-tags distdir dvi dvi-am info \
++	info-am install install-am install-binPROGRAMS \
++	install-binSCRIPTS install-data install-data-am \
++	install-data-local install-exec install-exec-am install-info \
++	install-info-am install-libexecPROGRAMS install-man \
++	install-man1 install-man8 install-strip installcheck \
++	installcheck-am installdirs maintainer-clean \
++	maintainer-clean-generic mostlyclean mostlyclean-compile \
++	mostlyclean-generic mostlyclean-libtool tags uninstall \
++	uninstall-am uninstall-binPROGRAMS uninstall-binSCRIPTS \
++	uninstall-info-am uninstall-libexecPROGRAMS uninstall-man \
++	uninstall-man1 uninstall-man8
+ 
+ 
+ install-suid-programs:
+@@ -804,7 +803,6 @@
+ tenletxr: tenletxr.in
+ 	sed -e "s!%bindir%!$(bindir)!" $(srcdir)/tenletxr.in > $@
+ 	chmod +x $@
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/appl/login/Makefile.in heimdal-0.4e/appl/login/Makefile.in
+--- heimdal-0.4e-old/appl/login/Makefile.in	Thu Sep  6 22:24:49 2001
++++ heimdal-0.4e/appl/login/Makefile.in	Sat Jun 15 19:35:22 2002
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.19 2000/11/15 22:51:08 assar Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,13 +90,13 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+ LIB_ = @LIB_@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+-LIB_com_err = @LIB_com_err@
+ LIB_com_err_a = @LIB_com_err_a@
+ LIB_com_err_so = @LIB_com_err_so@
+ LIB_des = @LIB_des@
+@@ -100,12 +104,10 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+-LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,19 +121,19 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+-
+-# $Id: Makefile.am,v 1.19 2000/11/15 22:51:08 assar Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
++LIB_com_err = @LIB_com_err@
++LIB_otp = @LIB_otp@
++LIB_roken = @LIB_roken@
+ 
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+@@ -185,17 +187,24 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+@@ -229,116 +238,104 @@
+ 
+ subdir = appl/login
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../include/config.h
+-CONFIG_CLEAN_FILES = 
+-bin_PROGRAMS =  login$(EXEEXT)
+-PROGRAMS =  $(bin_PROGRAMS)
+-
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++bin_PROGRAMS = login$(EXEEXT)
++PROGRAMS = $(bin_PROGRAMS)
++
++am_login_OBJECTS = conf.$(OBJEXT) env.$(OBJEXT) login.$(OBJEXT) \
++	login_access.$(OBJEXT) osfc2.$(OBJEXT) read_string.$(OBJEXT) \
++	shadow.$(OBJEXT) stty_default.$(OBJEXT) tty.$(OBJEXT) \
++	utmp_login.$(OBJEXT) utmpx_login.$(OBJEXT)
++login_OBJECTS = $(am_login_OBJECTS)
++login_LDADD = $(LDADD)
++@KRB4_TRUE@login_DEPENDENCIES = $(top_builddir)/lib/kafs/libkafs.la \
++@KRB4_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la \
++@KRB4_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB4_FALSE@login_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
++@KRB4_FALSE@	$(top_builddir)/lib/asn1/libasn1.la
++login_LDFLAGS =
+ 
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../../include
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+-am_login_OBJECTS =  conf.$(OBJEXT) env.$(OBJEXT) login.$(OBJEXT) \
+-login_access.$(OBJEXT) osfc2.$(OBJEXT) read_string.$(OBJEXT) \
+-shadow.$(OBJEXT) stty_default.$(OBJEXT) tty.$(OBJEXT) \
+-utmp_login.$(OBJEXT) utmpx_login.$(OBJEXT)
+-login_OBJECTS =  $(am_login_OBJECTS)
+-login_LDADD = $(LDADD)
+-@KRB4_FALSE@login_DEPENDENCIES =  $(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_FALSE@$(top_builddir)/lib/asn1/libasn1.la
+-@KRB4_TRUE@login_DEPENDENCIES =  $(top_builddir)/lib/kafs/libkafs.la \
+-@KRB4_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_TRUE@$(top_builddir)/lib/asn1/libasn1.la
+-login_LDFLAGS = 
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  $(login_SOURCES)
+-depcomp = 
+-DIST_COMMON =  ChangeLog Makefile.am Makefile.in
+-
+-
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+-
+-GZIP_ENV = --best
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++DIST_SOURCES = $(login_SOURCES)
++DIST_COMMON = ChangeLog Makefile.am Makefile.in
+ SOURCES = $(login_SOURCES)
+-OBJECTS = $(am_login_OBJECTS)
+ 
+-all: all-redirect
++all: all-am
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/login/Makefile
+ 
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+-
+-
+-mostlyclean-binPROGRAMS:
+-
+-clean-binPROGRAMS:
+-	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
+-
+-distclean-binPROGRAMS:
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-maintainer-clean-binPROGRAMS:
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  appl/login/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ install-binPROGRAMS: $(bin_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(bindir)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  if test -f $$p; then \
+-	    f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f; \
++	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  if test -f $$p \
++	     || test -f $$p1 \
++	  ; then \
++	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-binPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+-mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
++clean-binPROGRAMS:
++	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
++login$(EXEEXT): $(login_OBJECTS) $(login_DEPENDENCIES) 
++	@rm -f login$(EXEEXT)
++	$(LINK) $(login_LDFLAGS) $(login_OBJECTS) $(login_LDADD) $(LIBS)
+ 
+-clean-compile:
++mostlyclean-compile:
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+-maintainer-clean-compile:
+-
+-mostlyclean-libtool:
+-	-rm -f *.lo
+-
+-clean-libtool:
+-	-rm -rf .libs _libs
+-
+-distclean-libtool:
+-
+-maintainer-clean-libtool:
+-
+-login$(EXEEXT): $(login_OBJECTS) $(login_DEPENDENCIES)
+-	@rm -f login$(EXEEXT)
+-	$(LINK) $(login_LDFLAGS) $(login_OBJECTS) $(login_LDADD) $(LIBS)
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
++
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
++uninstall-info-am:
+ 
+ tags: TAGS
+ 
+@@ -367,22 +364,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -392,85 +390,91 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-install-exec-am: install-binPROGRAMS
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++all-am: Makefile $(PROGRAMS) all-local
+ 
+-install-data-am: install-data-local
+-install-data: install-data-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(bindir)
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am: uninstall-binPROGRAMS
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(PROGRAMS) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(bindir)
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-binPROGRAMS mostlyclean-compile \
+-		mostlyclean-libtool mostlyclean-tags \
+-		mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am
+ 
+-clean-am:  clean-binPROGRAMS clean-compile clean-libtool clean-tags \
+-		clean-generic mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-binPROGRAMS distclean-compile distclean-libtool \
+-		distclean-tags distclean-generic clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-binPROGRAMS \
+-		maintainer-clean-compile maintainer-clean-libtool \
+-		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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local
++
++install-exec-am: install-binPROGRAMS
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man:
++
++installcheck-am:
+ 
+ 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 mostlyclean-libtool distclean-libtool \
+-clean-libtool maintainer-clean-libtool tags mostlyclean-tags \
+-distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
+-dvi-am dvi check-local check check-am installcheck-am installcheck \
+-install-exec-am install-exec install-data-local install-data-am \
+-install-data install-am install uninstall-am uninstall all-local \
+-all-redirect all-am all install-strip installdirs mostlyclean-generic \
+-distclean-generic clean-generic maintainer-clean-generic clean \
+-mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-binPROGRAMS uninstall-info-am
++
++.PHONY: GTAGS all all-am all-local check check-am check-local clean \
++	clean-binPROGRAMS clean-generic clean-libtool distclean \
++	distclean-compile distclean-generic distclean-libtool \
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-binPROGRAMS install-data install-data-am \
++	install-data-local install-exec install-exec-am install-info \
++	install-info-am install-man install-strip installcheck \
++	installcheck-am installdirs maintainer-clean \
++	maintainer-clean-generic mostlyclean mostlyclean-compile \
++	mostlyclean-generic mostlyclean-libtool tags uninstall \
++	uninstall-am uninstall-binPROGRAMS uninstall-info-am
+ 
+ 
+ install-suid-programs:
+@@ -605,7 +609,6 @@
+ 	cd $(srcdir); perl ../../cf/make-proto.pl -o login_protos.h $(login_SOURCES) || rm -f login_protos.h
+ 
+ $(login_OBJECTS): $(srcdir)/login_protos.h
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/appl/otp/Makefile.in heimdal-0.4e/appl/otp/Makefile.in
+--- heimdal-0.4e-old/appl/otp/Makefile.in	Thu Sep  6 22:24:53 2001
++++ heimdal-0.4e/appl/otp/Makefile.in	Sat Jun 15 19:35:22 2002
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.11 2001/08/28 08:31:21 assar Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,13 +90,13 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+ LIB_ = @LIB_@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+-LIB_com_err = @LIB_com_err@
+ LIB_com_err_a = @LIB_com_err_a@
+ LIB_com_err_so = @LIB_com_err_so@
+ LIB_des = @LIB_des@
+@@ -100,12 +104,10 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+-LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,19 +121,19 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+-
+-# $Id: Makefile.am,v 1.11 2001/08/28 08:31:21 assar Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
++LIB_com_err = @LIB_com_err@
++LIB_otp = @LIB_otp@
++LIB_roken = @LIB_roken@
+ 
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+@@ -185,17 +187,24 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+@@ -207,129 +216,120 @@
+ man_MANS = otp.1  otpprint.1
+ 
+ LDADD = \
+-	$(top_builddir)/lib/otp/libotp.la
++	$(LIB_otp)
+ 
+ subdir = appl/otp
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../include/config.h
+-CONFIG_CLEAN_FILES = 
+-bin_PROGRAMS =  otp$(EXEEXT) otpprint$(EXEEXT)
+-PROGRAMS =  $(bin_PROGRAMS)
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++bin_PROGRAMS = otp$(EXEEXT) otpprint$(EXEEXT)
++PROGRAMS = $(bin_PROGRAMS)
+ 
++am_otp_OBJECTS = otp.$(OBJEXT)
++otp_OBJECTS = $(am_otp_OBJECTS)
++otp_LDADD = $(LDADD)
++otp_DEPENDENCIES =
++otp_LDFLAGS =
++am_otpprint_OBJECTS = otpprint.$(OBJEXT)
++otpprint_OBJECTS = $(am_otpprint_OBJECTS)
++otpprint_LDADD = $(LDADD)
++otpprint_DEPENDENCIES =
++otpprint_LDFLAGS =
+ 
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../../include
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+-am_otp_OBJECTS =  otp.$(OBJEXT)
+-otp_OBJECTS =  $(am_otp_OBJECTS)
+-otp_LDADD = $(LDADD)
+-otp_DEPENDENCIES =  $(top_builddir)/lib/otp/libotp.la
+-otp_LDFLAGS = 
+-am_otpprint_OBJECTS =  otpprint.$(OBJEXT)
+-otpprint_OBJECTS =  $(am_otpprint_OBJECTS)
+-otpprint_LDADD = $(LDADD)
+-otpprint_DEPENDENCIES =  $(top_builddir)/lib/otp/libotp.la
+-otpprint_LDFLAGS = 
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  $(otp_SOURCES) $(otpprint_SOURCES)
+-man1dir = $(mandir)/man1
+-MANS = $(man_MANS)
+-depcomp = 
+-DIST_COMMON =  ChangeLog Makefile.am Makefile.in
+-
+-
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++DIST_SOURCES = $(otp_SOURCES) $(otpprint_SOURCES)
+ 
+-GZIP_ENV = --best
++NROFF = nroff
++MANS = $(man_MANS)
++DIST_COMMON = ChangeLog Makefile.am Makefile.in
+ SOURCES = $(otp_SOURCES) $(otpprint_SOURCES)
+-OBJECTS = $(am_otp_OBJECTS) $(am_otpprint_OBJECTS)
+ 
+-all: all-redirect
++all: all-am
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/otp/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+-
+-
+-mostlyclean-binPROGRAMS:
+-
+-clean-binPROGRAMS:
+-	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
+ 
+-distclean-binPROGRAMS:
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-maintainer-clean-binPROGRAMS:
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  appl/otp/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ install-binPROGRAMS: $(bin_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(bindir)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  if test -f $$p; then \
+-	    f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f; \
++	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  if test -f $$p \
++	     || test -f $$p1 \
++	  ; then \
++	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-binPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+-mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
++clean-binPROGRAMS:
++	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
++otp$(EXEEXT): $(otp_OBJECTS) $(otp_DEPENDENCIES) 
++	@rm -f otp$(EXEEXT)
++	$(LINK) $(otp_LDFLAGS) $(otp_OBJECTS) $(otp_LDADD) $(LIBS)
++otpprint$(EXEEXT): $(otpprint_OBJECTS) $(otpprint_DEPENDENCIES) 
++	@rm -f otpprint$(EXEEXT)
++	$(LINK) $(otpprint_LDFLAGS) $(otpprint_OBJECTS) $(otpprint_LDADD) $(LIBS)
+ 
+-clean-compile:
++mostlyclean-compile:
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+-maintainer-clean-compile:
+-
+-mostlyclean-libtool:
+-	-rm -f *.lo
+-
+-clean-libtool:
+-	-rm -rf .libs _libs
+-
+-distclean-libtool:
+-
+-maintainer-clean-libtool:
+-
+-otp$(EXEEXT): $(otp_OBJECTS) $(otp_DEPENDENCIES)
+-	@rm -f otp$(EXEEXT)
+-	$(LINK) $(otp_LDFLAGS) $(otp_OBJECTS) $(otp_LDADD) $(LIBS)
+-
+-otpprint$(EXEEXT): $(otpprint_OBJECTS) $(otpprint_DEPENDENCIES)
+-	@rm -f otpprint$(EXEEXT)
+-	$(LINK) $(otpprint_LDFLAGS) $(otpprint_OBJECTS) $(otpprint_LDADD) $(LIBS)
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
++
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
++uninstall-info-am:
+ 
+-install-man1:
++man1dir = $(mandir)/man1
++install-man1: $(man1_MANS) $(man_MANS)
++	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(man1dir)
+-	@list='$(man1_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.1*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -344,10 +344,11 @@
+ 	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
+ 	  $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
+ 	done
+-
+ uninstall-man1:
+-	@list='$(man1_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@$(NORMAL_UNINSTALL)
++	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.1*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -360,12 +361,6 @@
+ 	  echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
+ 	  rm -f $(DESTDIR)$(man1dir)/$$inst; \
+ 	done
+-install-man: $(MANS)
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-man1
+-uninstall-man:
+-	@$(NORMAL_UNINSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) uninstall-man1
+ 
+ tags: TAGS
+ 
+@@ -394,22 +389,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -419,86 +415,94 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-install-exec-am: install-binPROGRAMS
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++all-am: Makefile $(PROGRAMS) $(MANS) all-local
+ 
+-install-data-am: install-man install-data-local
+-install-data: install-data-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(man1dir)
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am: uninstall-binPROGRAMS uninstall-man
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(PROGRAMS) $(MANS) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-binPROGRAMS mostlyclean-compile \
+-		mostlyclean-libtool mostlyclean-tags \
+-		mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am
+ 
+-clean-am:  clean-binPROGRAMS clean-compile clean-libtool clean-tags \
+-		clean-generic mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-binPROGRAMS distclean-compile distclean-libtool \
+-		distclean-tags distclean-generic clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-binPROGRAMS \
+-		maintainer-clean-compile maintainer-clean-libtool \
+-		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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local install-man
++
++install-exec-am: install-binPROGRAMS
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man: install-man1
++
++installcheck-am:
+ 
+ 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 mostlyclean-libtool distclean-libtool \
+-clean-libtool maintainer-clean-libtool install-man1 uninstall-man1 \
+-install-man uninstall-man tags mostlyclean-tags distclean-tags \
+-clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi \
+-check-local check check-am installcheck-am installcheck install-exec-am \
+-install-exec install-data-local install-data-am install-data install-am \
+-install uninstall-am uninstall all-local all-redirect all-am all \
+-install-strip installdirs mostlyclean-generic distclean-generic \
+-clean-generic maintainer-clean-generic clean mostlyclean distclean \
+-maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-binPROGRAMS uninstall-info-am uninstall-man
++
++uninstall-man: uninstall-man1
++
++.PHONY: GTAGS all all-am all-local check check-am check-local clean \
++	clean-binPROGRAMS clean-generic clean-libtool distclean \
++	distclean-compile distclean-generic distclean-libtool \
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-binPROGRAMS install-data install-data-am \
++	install-data-local install-exec install-exec-am install-info \
++	install-info-am install-man install-man1 install-strip \
++	installcheck installcheck-am installdirs maintainer-clean \
++	maintainer-clean-generic mostlyclean mostlyclean-compile \
++	mostlyclean-generic mostlyclean-libtool tags uninstall \
++	uninstall-am uninstall-binPROGRAMS uninstall-info-am \
++	uninstall-man uninstall-man1
+ 
+ 
+ install-suid-programs:
+@@ -628,7 +632,6 @@
+ 	  echo "$$dashes"; \
+ 	  test "$$failed" -eq 0; \
+ 	fi
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/appl/popper/Makefile.in heimdal-0.4e/appl/popper/Makefile.in
+--- heimdal-0.4e-old/appl/popper/Makefile.in	Thu Sep  6 22:24:59 2001
++++ heimdal-0.4e/appl/popper/Makefile.in	Sat Jun 15 19:35:23 2002
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.14 2001/08/04 03:08:02 assar Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,13 +90,13 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+ LIB_ = @LIB_@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+-LIB_com_err = @LIB_com_err@
+ LIB_com_err_a = @LIB_com_err_a@
+ LIB_com_err_so = @LIB_com_err_so@
+ LIB_des = @LIB_des@
+@@ -100,12 +104,10 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+-LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,19 +121,19 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+-
+-# $Id: Makefile.am,v 1.14 2001/08/04 03:08:02 assar Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
++LIB_com_err = @LIB_com_err@
++LIB_otp = @LIB_otp@
++LIB_roken = @LIB_roken@
+ 
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+@@ -185,17 +187,24 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+@@ -229,146 +238,129 @@
+ man_MANS = popper.8
+ subdir = appl/popper
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../include/config.h
+-CONFIG_CLEAN_FILES = 
+-libexec_PROGRAMS =  popper$(EXEEXT)
+-noinst_PROGRAMS =  pop_debug$(EXEEXT)
+-PROGRAMS =  $(libexec_PROGRAMS) $(noinst_PROGRAMS)
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++libexec_PROGRAMS = popper$(EXEEXT)
++noinst_PROGRAMS = pop_debug$(EXEEXT)
++PROGRAMS = $(libexec_PROGRAMS) $(noinst_PROGRAMS)
+ 
+-
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../../include
+-CPPFLAGS = @CPPFLAGS@
+-LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+ pop_debug_SOURCES = pop_debug.c
+-pop_debug_OBJECTS =  pop_debug.$(OBJEXT)
++pop_debug_OBJECTS = pop_debug.$(OBJEXT)
+ pop_debug_LDADD = $(LDADD)
+-@KRB5_FALSE@pop_debug_DEPENDENCIES = 
+-@KRB5_TRUE@pop_debug_DEPENDENCIES =  $(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
+-pop_debug_LDFLAGS = 
+-am_popper_OBJECTS =  pop_dele.$(OBJEXT) pop_dropcopy.$(OBJEXT) \
+-pop_dropinfo.$(OBJEXT) pop_get_command.$(OBJEXT) pop_init.$(OBJEXT) \
+-pop_last.$(OBJEXT) pop_list.$(OBJEXT) pop_log.$(OBJEXT) \
+-pop_msg.$(OBJEXT) pop_parse.$(OBJEXT) pop_pass.$(OBJEXT) \
+-pop_quit.$(OBJEXT) pop_rset.$(OBJEXT) pop_send.$(OBJEXT) \
+-pop_stat.$(OBJEXT) pop_updt.$(OBJEXT) pop_user.$(OBJEXT) \
+-pop_uidl.$(OBJEXT) pop_xover.$(OBJEXT) popper.$(OBJEXT) \
+-maildir.$(OBJEXT)
+-popper_OBJECTS =  $(am_popper_OBJECTS)
++@KRB5_TRUE@pop_debug_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_FALSE@pop_debug_DEPENDENCIES =
++pop_debug_LDFLAGS =
++am_popper_OBJECTS = pop_dele.$(OBJEXT) pop_dropcopy.$(OBJEXT) \
++	pop_dropinfo.$(OBJEXT) pop_get_command.$(OBJEXT) \
++	pop_init.$(OBJEXT) pop_last.$(OBJEXT) pop_list.$(OBJEXT) \
++	pop_log.$(OBJEXT) pop_msg.$(OBJEXT) pop_parse.$(OBJEXT) \
++	pop_pass.$(OBJEXT) pop_quit.$(OBJEXT) pop_rset.$(OBJEXT) \
++	pop_send.$(OBJEXT) pop_stat.$(OBJEXT) pop_updt.$(OBJEXT) \
++	pop_user.$(OBJEXT) pop_uidl.$(OBJEXT) pop_xover.$(OBJEXT) \
++	popper.$(OBJEXT) maildir.$(OBJEXT)
++popper_OBJECTS = $(am_popper_OBJECTS)
+ popper_LDADD = $(LDADD)
+-@KRB5_FALSE@popper_DEPENDENCIES = 
+-@KRB5_TRUE@popper_DEPENDENCIES =  $(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
+-popper_LDFLAGS = 
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
+-CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  pop_debug.c $(popper_SOURCES)
+-man8dir = $(mandir)/man8
+-MANS = $(man_MANS)
+-depcomp = 
+-DIST_COMMON =  README ChangeLog Makefile.am Makefile.in
+-
++@KRB5_TRUE@popper_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_FALSE@popper_DEPENDENCIES =
++popper_LDFLAGS =
+ 
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
++CPPFLAGS = @CPPFLAGS@
++LDFLAGS = @LDFLAGS@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++CCLD = $(CC)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++DIST_SOURCES = pop_debug.c $(popper_SOURCES)
+ 
+-GZIP_ENV = --best
++NROFF = nroff
++MANS = $(man_MANS)
++DIST_COMMON = README ChangeLog Makefile.am Makefile.in
+ SOURCES = pop_debug.c $(popper_SOURCES)
+-OBJECTS = pop_debug.$(OBJEXT) $(am_popper_OBJECTS)
+ 
+-all: all-redirect
++all: all-am
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/popper/Makefile
+ 
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+-
+-
+-mostlyclean-libexecPROGRAMS:
+-
+-clean-libexecPROGRAMS:
+-	-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
+-
+-distclean-libexecPROGRAMS:
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-maintainer-clean-libexecPROGRAMS:
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  appl/popper/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ install-libexecPROGRAMS: $(libexec_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(libexecdir)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+-	  if test -f $$p; then \
+-	    f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libexecdir)/$$f"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libexecdir)/$$f; \
++	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  if test -f $$p \
++	     || test -f $$p1 \
++	  ; then \
++	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-libexecPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+-	  f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(libexecdir)/$$f; \
+ 	done
+ 
+-mostlyclean-noinstPROGRAMS:
++clean-libexecPROGRAMS:
++	-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
+ 
+ clean-noinstPROGRAMS:
+ 	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
+-
+-distclean-noinstPROGRAMS:
+-
+-maintainer-clean-noinstPROGRAMS:
++pop_debug$(EXEEXT): $(pop_debug_OBJECTS) $(pop_debug_DEPENDENCIES) 
++	@rm -f pop_debug$(EXEEXT)
++	$(LINK) $(pop_debug_LDFLAGS) $(pop_debug_OBJECTS) $(pop_debug_LDADD) $(LIBS)
++popper$(EXEEXT): $(popper_OBJECTS) $(popper_DEPENDENCIES) 
++	@rm -f popper$(EXEEXT)
++	$(LINK) $(popper_LDFLAGS) $(popper_OBJECTS) $(popper_LDADD) $(LIBS)
+ 
+ mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
+-
+-clean-compile:
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+-maintainer-clean-compile:
+-
+-mostlyclean-libtool:
+-	-rm -f *.lo
+-
+-clean-libtool:
+-	-rm -rf .libs _libs
+-
+-distclean-libtool:
+-
+-maintainer-clean-libtool:
+-
+-pop_debug$(EXEEXT): $(pop_debug_OBJECTS) $(pop_debug_DEPENDENCIES)
+-	@rm -f pop_debug$(EXEEXT)
+-	$(LINK) $(pop_debug_LDFLAGS) $(pop_debug_OBJECTS) $(pop_debug_LDADD) $(LIBS)
+-
+-popper$(EXEEXT): $(popper_OBJECTS) $(popper_DEPENDENCIES)
+-	@rm -f popper$(EXEEXT)
+-	$(LINK) $(popper_LDFLAGS) $(popper_OBJECTS) $(popper_LDADD) $(LIBS)
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
++
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
++uninstall-info-am:
+ 
+-install-man8:
++man8dir = $(mandir)/man8
++install-man8: $(man8_MANS) $(man_MANS)
++	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(man8dir)
+-	@list='$(man8_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.8*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -383,10 +375,11 @@
+ 	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst"; \
+ 	  $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst; \
+ 	done
+-
+ uninstall-man8:
+-	@list='$(man8_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@$(NORMAL_UNINSTALL)
++	@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.8*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -399,12 +392,6 @@
+ 	  echo " rm -f $(DESTDIR)$(man8dir)/$$inst"; \
+ 	  rm -f $(DESTDIR)$(man8dir)/$$inst; \
+ 	done
+-install-man: $(MANS)
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-man8
+-uninstall-man:
+-	@$(NORMAL_UNINSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) uninstall-man8
+ 
+ tags: TAGS
+ 
+@@ -433,22 +420,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -458,91 +446,96 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-install-exec-am: install-libexecPROGRAMS
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++all-am: Makefile $(PROGRAMS) $(MANS) all-local
+ 
+-install-data-am: install-man install-data-local
+-install-data: install-data-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(libexecdir) $(DESTDIR)$(man8dir)
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am: uninstall-libexecPROGRAMS uninstall-man
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(PROGRAMS) $(MANS) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(libexecdir) $(DESTDIR)$(mandir)/man8
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-libexecPROGRAMS mostlyclean-noinstPROGRAMS \
+-		mostlyclean-compile mostlyclean-libtool \
+-		mostlyclean-tags mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-generic clean-libexecPROGRAMS clean-libtool \
++	clean-noinstPROGRAMS mostlyclean-am
+ 
+-clean-am:  clean-libexecPROGRAMS clean-noinstPROGRAMS clean-compile \
+-		clean-libtool clean-tags clean-generic mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-libexecPROGRAMS distclean-noinstPROGRAMS \
+-		distclean-compile distclean-libtool distclean-tags \
+-		distclean-generic clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-libexecPROGRAMS \
+-		maintainer-clean-noinstPROGRAMS \
+-		maintainer-clean-compile maintainer-clean-libtool \
+-		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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local install-man
++
++install-exec-am: install-libexecPROGRAMS
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man: install-man8
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-am
+ 
+-.PHONY: mostlyclean-libexecPROGRAMS distclean-libexecPROGRAMS \
+-clean-libexecPROGRAMS maintainer-clean-libexecPROGRAMS \
+-uninstall-libexecPROGRAMS install-libexecPROGRAMS \
+-mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \
+-clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \
+-mostlyclean-compile distclean-compile clean-compile \
+-maintainer-clean-compile mostlyclean-libtool distclean-libtool \
+-clean-libtool maintainer-clean-libtool install-man8 uninstall-man8 \
+-install-man uninstall-man tags mostlyclean-tags distclean-tags \
+-clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi \
+-check-local check check-am installcheck-am installcheck install-exec-am \
+-install-exec install-data-local install-data-am install-data install-am \
+-install uninstall-am uninstall all-local all-redirect all-am all \
+-install-strip installdirs mostlyclean-generic distclean-generic \
+-clean-generic maintainer-clean-generic clean mostlyclean distclean \
+-maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-info-am uninstall-libexecPROGRAMS uninstall-man
++
++uninstall-man: uninstall-man8
++
++.PHONY: GTAGS all all-am all-local check check-am check-local clean \
++	clean-generic clean-libexecPROGRAMS clean-libtool \
++	clean-noinstPROGRAMS distclean distclean-compile \
++	distclean-generic distclean-libtool distclean-tags distdir dvi \
++	dvi-am info info-am install install-am install-data \
++	install-data-am install-data-local install-exec install-exec-am \
++	install-info install-info-am install-libexecPROGRAMS \
++	install-man install-man8 install-strip installcheck \
++	installcheck-am installdirs maintainer-clean \
++	maintainer-clean-generic mostlyclean mostlyclean-compile \
++	mostlyclean-generic mostlyclean-libtool tags uninstall \
++	uninstall-am uninstall-info-am uninstall-libexecPROGRAMS \
++	uninstall-man uninstall-man8
+ 
+ 
+ install-suid-programs:
+@@ -672,7 +665,6 @@
+ 	  echo "$$dashes"; \
+ 	  test "$$failed" -eq 0; \
+ 	fi
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/appl/push/Makefile.in heimdal-0.4e/appl/push/Makefile.in
+--- heimdal-0.4e-old/appl/push/Makefile.in	Thu Sep  6 22:25:03 2001
++++ heimdal-0.4e/appl/push/Makefile.in	Sat Jun 15 19:35:23 2002
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.17 2000/11/15 22:51:09 assar Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,13 +90,13 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+ LIB_ = @LIB_@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+-LIB_com_err = @LIB_com_err@
+ LIB_com_err_a = @LIB_com_err_a@
+ LIB_com_err_so = @LIB_com_err_so@
+ LIB_des = @LIB_des@
+@@ -100,12 +104,10 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+-LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,19 +121,19 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+-
+-# $Id: Makefile.am,v 1.17 2000/11/15 22:51:09 assar Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
++LIB_com_err = @LIB_com_err@
++LIB_otp = @LIB_otp@
++LIB_roken = @LIB_roken@
+ 
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+@@ -185,17 +187,24 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+@@ -219,111 +228,87 @@
+ 
+ subdir = appl/push
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../include/config.h
+-CONFIG_CLEAN_FILES = 
+-libexec_PROGRAMS =  push$(EXEEXT)
+-PROGRAMS =  $(libexec_PROGRAMS)
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++libexec_PROGRAMS = push$(EXEEXT)
++PROGRAMS = $(libexec_PROGRAMS)
++
++am_push_OBJECTS = push.$(OBJEXT)
++push_OBJECTS = $(am_push_OBJECTS)
++push_LDADD = $(LDADD)
++@KRB5_TRUE@push_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_FALSE@push_DEPENDENCIES =
++push_LDFLAGS =
++SCRIPTS = $(bin_SCRIPTS)
+ 
+ 
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../../include
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+-am_push_OBJECTS =  push.$(OBJEXT)
+-push_OBJECTS =  $(am_push_OBJECTS)
+-push_LDADD = $(LDADD)
+-@KRB5_FALSE@push_DEPENDENCIES = 
+-@KRB5_TRUE@push_DEPENDENCIES =  $(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
+-push_LDFLAGS = 
+-SCRIPTS =  $(bin_SCRIPTS)
+-
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  $(push_SOURCES)
+-man1dir = $(mandir)/man1
+-man8dir = $(mandir)/man8
+-MANS = $(man_MANS)
+-depcomp = 
+-DIST_COMMON =  ChangeLog Makefile.am Makefile.in
+-
+-
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++DIST_SOURCES = $(push_SOURCES)
+ 
+-GZIP_ENV = --best
++NROFF = nroff
++MANS = $(man_MANS)
++DIST_COMMON = ChangeLog Makefile.am Makefile.in
+ SOURCES = $(push_SOURCES)
+-OBJECTS = $(am_push_OBJECTS)
+ 
+-all: all-redirect
++all: all-am
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/push/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+-
+ 
+-mostlyclean-libexecPROGRAMS:
+-
+-clean-libexecPROGRAMS:
+-	-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
+-
+-distclean-libexecPROGRAMS:
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-maintainer-clean-libexecPROGRAMS:
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  appl/push/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ install-libexecPROGRAMS: $(libexec_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(libexecdir)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+-	  if test -f $$p; then \
+-	    f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libexecdir)/$$f"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libexecdir)/$$f; \
++	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  if test -f $$p \
++	     || test -f $$p1 \
++	  ; then \
++	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-libexecPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+-	  f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(libexecdir)/$$f; \
+ 	done
+ 
+-mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
+-
+-clean-compile:
+-
+-distclean-compile:
+-	-rm -f *.tab.c
+-
+-maintainer-clean-compile:
+-
+-mostlyclean-libtool:
+-	-rm -f *.lo
+-
+-clean-libtool:
+-	-rm -rf .libs _libs
+-
+-distclean-libtool:
+-
+-maintainer-clean-libtool:
+-
+-push$(EXEEXT): $(push_OBJECTS) $(push_DEPENDENCIES)
++clean-libexecPROGRAMS:
++	-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
++push$(EXEEXT): $(push_OBJECTS) $(push_DEPENDENCIES) 
+ 	@rm -f push$(EXEEXT)
+ 	$(LINK) $(push_LDFLAGS) $(push_OBJECTS) $(push_LDADD) $(LIBS)
+-
+ install-binSCRIPTS: $(bin_SCRIPTS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(bindir)
+@@ -345,17 +330,30 @@
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
++
++mostlyclean-compile:
++	-rm -f *.$(OBJEXT) core *.core
++
++distclean-compile:
++	-rm -f *.tab.c
++
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
++
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
++uninstall-info-am:
+ 
+-install-man1:
++man1dir = $(mandir)/man1
++install-man1: $(man1_MANS) $(man_MANS)
++	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(man1dir)
+-	@list='$(man1_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.1*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -370,10 +368,11 @@
+ 	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
+ 	  $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
+ 	done
+-
+ uninstall-man1:
+-	@list='$(man1_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@$(NORMAL_UNINSTALL)
++	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.1*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -387,10 +386,13 @@
+ 	  rm -f $(DESTDIR)$(man1dir)/$$inst; \
+ 	done
+ 
+-install-man8:
++man8dir = $(mandir)/man8
++install-man8: $(man8_MANS) $(man_MANS)
++	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(man8dir)
+-	@list='$(man8_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.8*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -405,10 +407,11 @@
+ 	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst"; \
+ 	  $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst; \
+ 	done
+-
+ uninstall-man8:
+-	@list='$(man8_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@$(NORMAL_UNINSTALL)
++	@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.8*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -421,12 +424,6 @@
+ 	  echo " rm -f $(DESTDIR)$(man8dir)/$$inst"; \
+ 	  rm -f $(DESTDIR)$(man8dir)/$$inst; \
+ 	done
+-install-man: $(MANS)
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-man1 install-man8
+-uninstall-man:
+-	@$(NORMAL_UNINSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) uninstall-man1 uninstall-man8
+ 
+ tags: TAGS
+ 
+@@ -455,22 +452,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -480,91 +478,99 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-install-exec-am: install-libexecPROGRAMS install-binSCRIPTS
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++all-am: Makefile $(PROGRAMS) $(SCRIPTS) $(MANS) all-local
+ 
+-install-data-am: install-man install-data-local
+-install-data: install-data-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(libexecdir) $(DESTDIR)$(bindir) $(DESTDIR)$(man1dir) $(DESTDIR)$(man8dir)
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am: uninstall-libexecPROGRAMS uninstall-binSCRIPTS \
+-		uninstall-man
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(PROGRAMS) $(SCRIPTS) $(MANS) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(libexecdir) $(DESTDIR)$(bindir) \
+-		$(DESTDIR)$(mandir)/man1 $(DESTDIR)$(mandir)/man8
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-libexecPROGRAMS mostlyclean-compile \
+-		mostlyclean-libtool mostlyclean-tags \
+-		mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-generic clean-libexecPROGRAMS clean-libtool \
++	mostlyclean-am
+ 
+-clean-am:  clean-libexecPROGRAMS clean-compile clean-libtool clean-tags \
+-		clean-generic mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-libexecPROGRAMS distclean-compile \
+-		distclean-libtool distclean-tags distclean-generic \
+-		clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-libexecPROGRAMS \
+-		maintainer-clean-compile maintainer-clean-libtool \
+-		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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local install-man
++
++install-exec-am: install-binSCRIPTS install-libexecPROGRAMS
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man: install-man1 install-man8
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-am
+ 
+-.PHONY: mostlyclean-libexecPROGRAMS distclean-libexecPROGRAMS \
+-clean-libexecPROGRAMS maintainer-clean-libexecPROGRAMS \
+-uninstall-libexecPROGRAMS install-libexecPROGRAMS mostlyclean-compile \
+-distclean-compile clean-compile maintainer-clean-compile \
+-mostlyclean-libtool distclean-libtool clean-libtool \
+-maintainer-clean-libtool uninstall-binSCRIPTS install-binSCRIPTS \
+-install-man1 uninstall-man1 install-man8 uninstall-man8 install-man \
+-uninstall-man tags mostlyclean-tags distclean-tags clean-tags \
+-maintainer-clean-tags distdir info-am info dvi-am dvi check-local check \
+-check-am installcheck-am installcheck install-exec-am install-exec \
+-install-data-local install-data-am install-data install-am install \
+-uninstall-am uninstall all-local all-redirect all-am all install-strip \
+-installdirs mostlyclean-generic distclean-generic clean-generic \
+-maintainer-clean-generic clean mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-binSCRIPTS uninstall-info-am \
++	uninstall-libexecPROGRAMS uninstall-man
++
++uninstall-man: uninstall-man1 uninstall-man8
++
++.PHONY: GTAGS all all-am all-local check check-am check-local clean \
++	clean-generic clean-libexecPROGRAMS clean-libtool distclean \
++	distclean-compile distclean-generic distclean-libtool \
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-binSCRIPTS install-data install-data-am \
++	install-data-local install-exec install-exec-am install-info \
++	install-info-am install-libexecPROGRAMS install-man \
++	install-man1 install-man8 install-strip installcheck \
++	installcheck-am installdirs maintainer-clean \
++	maintainer-clean-generic mostlyclean mostlyclean-compile \
++	mostlyclean-generic mostlyclean-libtool tags uninstall \
++	uninstall-am uninstall-binSCRIPTS uninstall-info-am \
++	uninstall-libexecPROGRAMS uninstall-man uninstall-man1 \
++	uninstall-man8
+ 
+ 
+ install-suid-programs:
+@@ -698,7 +704,6 @@
+ pfrom: pfrom.in
+ 	sed -e "s!%libexecdir%!$(libexecdir)!" $(srcdir)/pfrom.in > $@
+ 	chmod +x $@
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/appl/rcp/Makefile.in heimdal-0.4e/appl/rcp/Makefile.in
+--- heimdal-0.4e-old/appl/rcp/Makefile.in	Thu Sep  6 22:25:12 2001
++++ heimdal-0.4e/appl/rcp/Makefile.in	Sat Jun 15 19:35:23 2002
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.2 2001/01/28 22:50:35 assar Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,13 +90,13 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+ LIB_ = @LIB_@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+-LIB_com_err = @LIB_com_err@
+ LIB_com_err_a = @LIB_com_err_a@
+ LIB_com_err_so = @LIB_com_err_so@
+ LIB_des = @LIB_des@
+@@ -100,12 +104,10 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+-LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,19 +121,19 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+-
+-# $Id: Makefile.am,v 1.2 2001/01/28 22:50:35 assar Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
++LIB_com_err = @LIB_com_err@
++LIB_otp = @LIB_otp@
++LIB_roken = @LIB_roken@
+ 
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+@@ -185,17 +187,24 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+@@ -206,109 +215,97 @@
+ LDADD = $(LIB_roken)
+ subdir = appl/rcp
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../include/config.h
+-CONFIG_CLEAN_FILES = 
+-bin_PROGRAMS =  rcp$(EXEEXT)
+-PROGRAMS =  $(bin_PROGRAMS)
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++bin_PROGRAMS = rcp$(EXEEXT)
++PROGRAMS = $(bin_PROGRAMS)
+ 
++am_rcp_OBJECTS = rcp.$(OBJEXT) util.$(OBJEXT)
++rcp_OBJECTS = $(am_rcp_OBJECTS)
++rcp_LDADD = $(LDADD)
++rcp_DEPENDENCIES =
++rcp_LDFLAGS =
+ 
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../../include
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+-am_rcp_OBJECTS =  rcp.$(OBJEXT) util.$(OBJEXT)
+-rcp_OBJECTS =  $(am_rcp_OBJECTS)
+-rcp_LDADD = $(LDADD)
+-rcp_DEPENDENCIES = 
+-rcp_LDFLAGS = 
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  $(rcp_SOURCES)
+-depcomp = 
+-DIST_COMMON =  ChangeLog Makefile.am Makefile.in
+-
+-
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+-
+-GZIP_ENV = --best
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++DIST_SOURCES = $(rcp_SOURCES)
++DIST_COMMON = ChangeLog Makefile.am Makefile.in
+ SOURCES = $(rcp_SOURCES)
+-OBJECTS = $(am_rcp_OBJECTS)
+ 
+-all: all-redirect
++all: all-am
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/rcp/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+ 
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-mostlyclean-binPROGRAMS:
+-
+-clean-binPROGRAMS:
+-	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
+-
+-distclean-binPROGRAMS:
+-
+-maintainer-clean-binPROGRAMS:
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  appl/rcp/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ install-binPROGRAMS: $(bin_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(bindir)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  if test -f $$p; then \
+-	    f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f; \
++	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  if test -f $$p \
++	     || test -f $$p1 \
++	  ; then \
++	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-binPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+-mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
++clean-binPROGRAMS:
++	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
++rcp$(EXEEXT): $(rcp_OBJECTS) $(rcp_DEPENDENCIES) 
++	@rm -f rcp$(EXEEXT)
++	$(LINK) $(rcp_LDFLAGS) $(rcp_OBJECTS) $(rcp_LDADD) $(LIBS)
+ 
+-clean-compile:
++mostlyclean-compile:
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+-maintainer-clean-compile:
+-
+-mostlyclean-libtool:
+-	-rm -f *.lo
+-
+-clean-libtool:
+-	-rm -rf .libs _libs
+-
+-distclean-libtool:
+-
+-maintainer-clean-libtool:
+-
+-rcp$(EXEEXT): $(rcp_OBJECTS) $(rcp_DEPENDENCIES)
+-	@rm -f rcp$(EXEEXT)
+-	$(LINK) $(rcp_LDFLAGS) $(rcp_OBJECTS) $(rcp_LDADD) $(LIBS)
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
++
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
++uninstall-info-am:
+ 
+ tags: TAGS
+ 
+@@ -337,22 +334,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -362,85 +360,91 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-install-exec-am: install-binPROGRAMS
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++all-am: Makefile $(PROGRAMS) all-local
+ 
+-install-data-am: install-data-local
+-install-data: install-data-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(bindir)
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am: uninstall-binPROGRAMS
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(PROGRAMS) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(bindir)
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-binPROGRAMS mostlyclean-compile \
+-		mostlyclean-libtool mostlyclean-tags \
+-		mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am
+ 
+-clean-am:  clean-binPROGRAMS clean-compile clean-libtool clean-tags \
+-		clean-generic mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-binPROGRAMS distclean-compile distclean-libtool \
+-		distclean-tags distclean-generic clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-binPROGRAMS \
+-		maintainer-clean-compile maintainer-clean-libtool \
+-		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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local
++
++install-exec-am: install-binPROGRAMS
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man:
++
++installcheck-am:
+ 
+ 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 mostlyclean-libtool distclean-libtool \
+-clean-libtool maintainer-clean-libtool tags mostlyclean-tags \
+-distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
+-dvi-am dvi check-local check check-am installcheck-am installcheck \
+-install-exec-am install-exec install-data-local install-data-am \
+-install-data install-am install uninstall-am uninstall all-local \
+-all-redirect all-am all install-strip installdirs mostlyclean-generic \
+-distclean-generic clean-generic maintainer-clean-generic clean \
+-mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-binPROGRAMS uninstall-info-am
++
++.PHONY: GTAGS all all-am all-local check check-am check-local clean \
++	clean-binPROGRAMS clean-generic clean-libtool distclean \
++	distclean-compile distclean-generic distclean-libtool \
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-binPROGRAMS install-data install-data-am \
++	install-data-local install-exec install-exec-am install-info \
++	install-info-am install-man install-strip installcheck \
++	installcheck-am installdirs maintainer-clean \
++	maintainer-clean-generic mostlyclean mostlyclean-compile \
++	mostlyclean-generic mostlyclean-libtool tags uninstall \
++	uninstall-am uninstall-binPROGRAMS uninstall-info-am
+ 
+ 
+ install-suid-programs:
+@@ -570,7 +574,6 @@
+ 	  echo "$$dashes"; \
+ 	  test "$$failed" -eq 0; \
+ 	fi
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/appl/rsh/Makefile.in heimdal-0.4e/appl/rsh/Makefile.in
+--- heimdal-0.4e-old/appl/rsh/Makefile.in	Thu Sep  6 22:25:09 2001
++++ heimdal-0.4e/appl/rsh/Makefile.in	Sat Jun 15 19:35:23 2002
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.17 2001/07/31 09:12:03 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,13 +90,13 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+ LIB_ = @LIB_@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+-LIB_com_err = @LIB_com_err@
+ LIB_com_err_a = @LIB_com_err_a@
+ LIB_com_err_so = @LIB_com_err_so@
+ LIB_des = @LIB_des@
+@@ -100,12 +104,10 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+-LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,19 +121,19 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+-
+-# $Id: Makefile.am,v 1.17 2001/07/31 09:12:03 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
++LIB_com_err = @LIB_com_err@
++LIB_otp = @LIB_otp@
++LIB_roken = @LIB_roken@
+ 
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+@@ -185,17 +187,24 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+@@ -218,202 +227,179 @@
+ 
+ subdir = appl/rsh
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../include/config.h
+-CONFIG_CLEAN_FILES = 
+-bin_PROGRAMS =  rsh$(EXEEXT)
+-libexec_PROGRAMS =  rshd$(EXEEXT)
+-PROGRAMS =  $(bin_PROGRAMS) $(libexec_PROGRAMS)
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++bin_PROGRAMS = rsh$(EXEEXT)
++libexec_PROGRAMS = rshd$(EXEEXT)
++PROGRAMS = $(bin_PROGRAMS) $(libexec_PROGRAMS)
+ 
++am_rsh_OBJECTS = rsh.$(OBJEXT) common.$(OBJEXT)
++rsh_OBJECTS = $(am_rsh_OBJECTS)
++rsh_LDADD = $(LDADD)
++@DCE_FALSE@@KRB4_FALSE@@KRB5_TRUE@rsh_DEPENDENCIES = \
++@DCE_FALSE@@KRB4_FALSE@@KRB5_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la
++@DCE_FALSE@@KRB4_FALSE@@KRB5_FALSE@rsh_DEPENDENCIES =
++@DCE_FALSE@@KRB4_TRUE@@KRB5_TRUE@rsh_DEPENDENCIES = \
++@DCE_FALSE@@KRB4_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/kafs/libkafs.la \
++@DCE_FALSE@@KRB4_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la
++@DCE_FALSE@@KRB4_TRUE@@KRB5_FALSE@rsh_DEPENDENCIES = \
++@DCE_FALSE@@KRB4_TRUE@@KRB5_FALSE@	$(top_builddir)/lib/kafs/libkafs.la
++@DCE_TRUE@@KRB4_FALSE@@KRB5_TRUE@rsh_DEPENDENCIES = \
++@DCE_TRUE@@KRB4_FALSE@@KRB5_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la \
++@DCE_TRUE@@KRB4_FALSE@@KRB5_TRUE@	$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@@KRB4_FALSE@@KRB5_FALSE@rsh_DEPENDENCIES = \
++@DCE_TRUE@@KRB4_FALSE@@KRB5_FALSE@	$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@rsh_DEPENDENCIES = \
++@DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/kafs/libkafs.la \
++@DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la \
++@DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@@KRB4_TRUE@@KRB5_FALSE@rsh_DEPENDENCIES = \
++@DCE_TRUE@@KRB4_TRUE@@KRB5_FALSE@	$(top_builddir)/lib/kafs/libkafs.la \
++@DCE_TRUE@@KRB4_TRUE@@KRB5_FALSE@	$(top_builddir)/lib/kdfs/libkdfs.la
++rsh_LDFLAGS =
++am_rshd_OBJECTS = rshd.$(OBJEXT) common.$(OBJEXT) login_access.$(OBJEXT)
++rshd_OBJECTS = $(am_rshd_OBJECTS)
++rshd_LDADD = $(LDADD)
++@DCE_FALSE@@KRB4_FALSE@@KRB5_TRUE@rshd_DEPENDENCIES = \
++@DCE_FALSE@@KRB4_FALSE@@KRB5_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la
++@DCE_FALSE@@KRB4_FALSE@@KRB5_FALSE@rshd_DEPENDENCIES =
++@DCE_FALSE@@KRB4_TRUE@@KRB5_TRUE@rshd_DEPENDENCIES = \
++@DCE_FALSE@@KRB4_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/kafs/libkafs.la \
++@DCE_FALSE@@KRB4_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la
++@DCE_FALSE@@KRB4_TRUE@@KRB5_FALSE@rshd_DEPENDENCIES = \
++@DCE_FALSE@@KRB4_TRUE@@KRB5_FALSE@	$(top_builddir)/lib/kafs/libkafs.la
++@DCE_TRUE@@KRB4_FALSE@@KRB5_TRUE@rshd_DEPENDENCIES = \
++@DCE_TRUE@@KRB4_FALSE@@KRB5_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la \
++@DCE_TRUE@@KRB4_FALSE@@KRB5_TRUE@	$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@@KRB4_FALSE@@KRB5_FALSE@rshd_DEPENDENCIES = \
++@DCE_TRUE@@KRB4_FALSE@@KRB5_FALSE@	$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@rshd_DEPENDENCIES = \
++@DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/kafs/libkafs.la \
++@DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la \
++@DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@@KRB4_TRUE@@KRB5_FALSE@rshd_DEPENDENCIES = \
++@DCE_TRUE@@KRB4_TRUE@@KRB5_FALSE@	$(top_builddir)/lib/kafs/libkafs.la \
++@DCE_TRUE@@KRB4_TRUE@@KRB5_FALSE@	$(top_builddir)/lib/kdfs/libkdfs.la
++rshd_LDFLAGS =
+ 
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../../include
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+-am_rsh_OBJECTS =  rsh.$(OBJEXT) common.$(OBJEXT)
+-rsh_OBJECTS =  $(am_rsh_OBJECTS)
+-rsh_LDADD = $(LDADD)
+-@DCE_FALSE@@KRB4_FALSE@@KRB5_FALSE@rsh_DEPENDENCIES = 
+-@DCE_FALSE@@KRB4_FALSE@@KRB5_TRUE@rsh_DEPENDENCIES =  \
+-@DCE_FALSE@@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@DCE_FALSE@@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
+-@DCE_FALSE@@KRB4_TRUE@@KRB5_FALSE@rsh_DEPENDENCIES =  \
+-@DCE_FALSE@@KRB4_TRUE@@KRB5_FALSE@$(top_builddir)/lib/kafs/libkafs.la
+-@DCE_FALSE@@KRB4_TRUE@@KRB5_TRUE@rsh_DEPENDENCIES =  \
+-@DCE_FALSE@@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/kafs/libkafs.la \
+-@DCE_FALSE@@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@DCE_FALSE@@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
+-@DCE_TRUE@@KRB4_FALSE@@KRB5_FALSE@rsh_DEPENDENCIES =  \
+-@DCE_TRUE@@KRB4_FALSE@@KRB5_FALSE@$(top_builddir)/lib/kdfs/libkdfs.la
+-@DCE_TRUE@@KRB4_FALSE@@KRB5_TRUE@rsh_DEPENDENCIES =  \
+-@DCE_TRUE@@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@DCE_TRUE@@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la \
+-@DCE_TRUE@@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+-@DCE_TRUE@@KRB4_TRUE@@KRB5_FALSE@rsh_DEPENDENCIES =  \
+-@DCE_TRUE@@KRB4_TRUE@@KRB5_FALSE@$(top_builddir)/lib/kafs/libkafs.la \
+-@DCE_TRUE@@KRB4_TRUE@@KRB5_FALSE@$(top_builddir)/lib/kdfs/libkdfs.la
+-@DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@rsh_DEPENDENCIES =  \
+-@DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/kafs/libkafs.la \
+-@DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la \
+-@DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+-rsh_LDFLAGS = 
+-am_rshd_OBJECTS =  rshd.$(OBJEXT) common.$(OBJEXT) \
+-login_access.$(OBJEXT)
+-rshd_OBJECTS =  $(am_rshd_OBJECTS)
+-rshd_LDADD = $(LDADD)
+-@DCE_FALSE@@KRB4_FALSE@@KRB5_FALSE@rshd_DEPENDENCIES = 
+-@DCE_FALSE@@KRB4_FALSE@@KRB5_TRUE@rshd_DEPENDENCIES =  \
+-@DCE_FALSE@@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@DCE_FALSE@@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
+-@DCE_FALSE@@KRB4_TRUE@@KRB5_FALSE@rshd_DEPENDENCIES =  \
+-@DCE_FALSE@@KRB4_TRUE@@KRB5_FALSE@$(top_builddir)/lib/kafs/libkafs.la
+-@DCE_FALSE@@KRB4_TRUE@@KRB5_TRUE@rshd_DEPENDENCIES =  \
+-@DCE_FALSE@@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/kafs/libkafs.la \
+-@DCE_FALSE@@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@DCE_FALSE@@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
+-@DCE_TRUE@@KRB4_FALSE@@KRB5_FALSE@rshd_DEPENDENCIES =  \
+-@DCE_TRUE@@KRB4_FALSE@@KRB5_FALSE@$(top_builddir)/lib/kdfs/libkdfs.la
+-@DCE_TRUE@@KRB4_FALSE@@KRB5_TRUE@rshd_DEPENDENCIES =  \
+-@DCE_TRUE@@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@DCE_TRUE@@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la \
+-@DCE_TRUE@@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+-@DCE_TRUE@@KRB4_TRUE@@KRB5_FALSE@rshd_DEPENDENCIES =  \
+-@DCE_TRUE@@KRB4_TRUE@@KRB5_FALSE@$(top_builddir)/lib/kafs/libkafs.la \
+-@DCE_TRUE@@KRB4_TRUE@@KRB5_FALSE@$(top_builddir)/lib/kdfs/libkdfs.la
+-@DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@rshd_DEPENDENCIES =  \
+-@DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/kafs/libkafs.la \
+-@DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la \
+-@DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+-rshd_LDFLAGS = 
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  $(rsh_SOURCES) $(rshd_SOURCES)
+-man1dir = $(mandir)/man1
+-man8dir = $(mandir)/man8
+-MANS = $(man_MANS)
+-depcomp = 
+-DIST_COMMON =  ChangeLog Makefile.am Makefile.in
+-
+-
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++DIST_SOURCES = $(rsh_SOURCES) $(rshd_SOURCES)
+ 
+-GZIP_ENV = --best
++NROFF = nroff
++MANS = $(man_MANS)
++DIST_COMMON = ChangeLog Makefile.am Makefile.in
+ SOURCES = $(rsh_SOURCES) $(rshd_SOURCES)
+-OBJECTS = $(am_rsh_OBJECTS) $(am_rshd_OBJECTS)
+ 
+-all: all-redirect
++all: all-am
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/rsh/Makefile
+ 
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+-
+-
+-mostlyclean-binPROGRAMS:
+-
+-clean-binPROGRAMS:
+-	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
+-
+-distclean-binPROGRAMS:
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-maintainer-clean-binPROGRAMS:
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  appl/rsh/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ install-binPROGRAMS: $(bin_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(bindir)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  if test -f $$p; then \
+-	    f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f; \
++	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  if test -f $$p \
++	     || test -f $$p1 \
++	  ; then \
++	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-binPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+-mostlyclean-libexecPROGRAMS:
+-
+-clean-libexecPROGRAMS:
+-	-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
+-
+-distclean-libexecPROGRAMS:
+-
+-maintainer-clean-libexecPROGRAMS:
+-
++clean-binPROGRAMS:
++	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
+ install-libexecPROGRAMS: $(libexec_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(libexecdir)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+-	  if test -f $$p; then \
+-	    f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libexecdir)/$$f"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libexecdir)/$$f; \
++	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  if test -f $$p \
++	     || test -f $$p1 \
++	  ; then \
++	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-libexecPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+-	  f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(libexecdir)/$$f; \
+ 	done
+ 
+-mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
++clean-libexecPROGRAMS:
++	-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
++rsh$(EXEEXT): $(rsh_OBJECTS) $(rsh_DEPENDENCIES) 
++	@rm -f rsh$(EXEEXT)
++	$(LINK) $(rsh_LDFLAGS) $(rsh_OBJECTS) $(rsh_LDADD) $(LIBS)
++rshd$(EXEEXT): $(rshd_OBJECTS) $(rshd_DEPENDENCIES) 
++	@rm -f rshd$(EXEEXT)
++	$(LINK) $(rshd_LDFLAGS) $(rshd_OBJECTS) $(rshd_LDADD) $(LIBS)
+ 
+-clean-compile:
++mostlyclean-compile:
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+-maintainer-clean-compile:
+-
+-mostlyclean-libtool:
+-	-rm -f *.lo
+-
+-clean-libtool:
+-	-rm -rf .libs _libs
+-
+-distclean-libtool:
+-
+-maintainer-clean-libtool:
+-
+-rsh$(EXEEXT): $(rsh_OBJECTS) $(rsh_DEPENDENCIES)
+-	@rm -f rsh$(EXEEXT)
+-	$(LINK) $(rsh_LDFLAGS) $(rsh_OBJECTS) $(rsh_LDADD) $(LIBS)
+-
+-rshd$(EXEEXT): $(rshd_OBJECTS) $(rshd_DEPENDENCIES)
+-	@rm -f rshd$(EXEEXT)
+-	$(LINK) $(rshd_LDFLAGS) $(rshd_OBJECTS) $(rshd_LDADD) $(LIBS)
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
++
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
++uninstall-info-am:
+ 
+-install-man1:
++man1dir = $(mandir)/man1
++install-man1: $(man1_MANS) $(man_MANS)
++	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(man1dir)
+-	@list='$(man1_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.1*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -428,10 +414,11 @@
+ 	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
+ 	  $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
+ 	done
+-
+ uninstall-man1:
+-	@list='$(man1_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@$(NORMAL_UNINSTALL)
++	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.1*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -445,10 +432,13 @@
+ 	  rm -f $(DESTDIR)$(man1dir)/$$inst; \
+ 	done
+ 
+-install-man8:
++man8dir = $(mandir)/man8
++install-man8: $(man8_MANS) $(man_MANS)
++	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(man8dir)
+-	@list='$(man8_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.8*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -463,10 +453,11 @@
+ 	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst"; \
+ 	  $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst; \
+ 	done
+-
+ uninstall-man8:
+-	@list='$(man8_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@$(NORMAL_UNINSTALL)
++	@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.8*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -479,12 +470,6 @@
+ 	  echo " rm -f $(DESTDIR)$(man8dir)/$$inst"; \
+ 	  rm -f $(DESTDIR)$(man8dir)/$$inst; \
+ 	done
+-install-man: $(MANS)
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-man1 install-man8
+-uninstall-man:
+-	@$(NORMAL_UNINSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) uninstall-man1 uninstall-man8
+ 
+ tags: TAGS
+ 
+@@ -513,22 +498,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -538,93 +524,98 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-install-exec-am: install-binPROGRAMS install-libexecPROGRAMS
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++all-am: Makefile $(PROGRAMS) $(MANS) all-local
+ 
+-install-data-am: install-man install-data-local
+-install-data: install-data-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(libexecdir) $(DESTDIR)$(man1dir) $(DESTDIR)$(man8dir)
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am: uninstall-binPROGRAMS uninstall-libexecPROGRAMS \
+-		uninstall-man
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(PROGRAMS) $(MANS) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(bindir) $(DESTDIR)$(libexecdir) \
+-		$(DESTDIR)$(mandir)/man1 $(DESTDIR)$(mandir)/man8
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-binPROGRAMS mostlyclean-libexecPROGRAMS \
+-		mostlyclean-compile mostlyclean-libtool \
+-		mostlyclean-tags mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-binPROGRAMS clean-generic clean-libexecPROGRAMS \
++	clean-libtool mostlyclean-am
+ 
+-clean-am:  clean-binPROGRAMS clean-libexecPROGRAMS clean-compile \
+-		clean-libtool clean-tags clean-generic mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-binPROGRAMS distclean-libexecPROGRAMS \
+-		distclean-compile distclean-libtool distclean-tags \
+-		distclean-generic clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-binPROGRAMS \
+-		maintainer-clean-libexecPROGRAMS \
+-		maintainer-clean-compile maintainer-clean-libtool \
+-		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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local install-man
++
++install-exec-am: install-binPROGRAMS install-libexecPROGRAMS
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man: install-man1 install-man8
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-am
+ 
+-.PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
+-maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
+-mostlyclean-libexecPROGRAMS distclean-libexecPROGRAMS \
+-clean-libexecPROGRAMS maintainer-clean-libexecPROGRAMS \
+-uninstall-libexecPROGRAMS install-libexecPROGRAMS mostlyclean-compile \
+-distclean-compile clean-compile maintainer-clean-compile \
+-mostlyclean-libtool distclean-libtool clean-libtool \
+-maintainer-clean-libtool install-man1 uninstall-man1 install-man8 \
+-uninstall-man8 install-man uninstall-man tags mostlyclean-tags \
+-distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
+-dvi-am dvi check-local check check-am installcheck-am installcheck \
+-install-exec-am install-exec install-data-local install-data-am \
+-install-data install-am install uninstall-am uninstall all-local \
+-all-redirect all-am all install-strip installdirs mostlyclean-generic \
+-distclean-generic clean-generic maintainer-clean-generic clean \
+-mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-binPROGRAMS uninstall-info-am \
++	uninstall-libexecPROGRAMS uninstall-man
++
++uninstall-man: uninstall-man1 uninstall-man8
++
++.PHONY: GTAGS all all-am all-local check check-am check-local clean \
++	clean-binPROGRAMS clean-generic clean-libexecPROGRAMS \
++	clean-libtool distclean distclean-compile distclean-generic \
++	distclean-libtool distclean-tags distdir dvi dvi-am info \
++	info-am install install-am install-binPROGRAMS install-data \
++	install-data-am install-data-local install-exec install-exec-am \
++	install-info install-info-am install-libexecPROGRAMS \
++	install-man install-man1 install-man8 install-strip \
++	installcheck installcheck-am installdirs maintainer-clean \
++	maintainer-clean-generic mostlyclean mostlyclean-compile \
++	mostlyclean-generic mostlyclean-libtool tags uninstall \
++	uninstall-am uninstall-binPROGRAMS uninstall-info-am \
++	uninstall-libexecPROGRAMS uninstall-man uninstall-man1 \
++	uninstall-man8
+ 
+ 
+ install-suid-programs:
+@@ -757,7 +748,6 @@
+ 
+ login_access.c:
+ 	$(LN_S) $(srcdir)/../login/login_access.c .
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/appl/su/Makefile.in heimdal-0.4e/appl/su/Makefile.in
+--- heimdal-0.4e-old/appl/su/Makefile.in	Thu Sep  6 22:25:16 2001
++++ heimdal-0.4e/appl/su/Makefile.in	Sat Jun 15 19:35:23 2002
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.7 2001/08/28 08:31:22 assar Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,13 +90,13 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+ LIB_ = @LIB_@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+-LIB_com_err = @LIB_com_err@
+ LIB_com_err_a = @LIB_com_err_a@
+ LIB_com_err_so = @LIB_com_err_so@
+ LIB_des = @LIB_des@
+@@ -100,12 +104,10 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+-LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,19 +121,19 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+-
+-# $Id: Makefile.am,v 1.7 2001/08/28 08:31:22 assar Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
++LIB_com_err = @LIB_com_err@
++LIB_otp = @LIB_otp@
++LIB_roken = @LIB_roken@
+ 
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+@@ -185,17 +187,24 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+@@ -212,113 +221,101 @@
+ 
+ subdir = appl/su
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../include/config.h
+-CONFIG_CLEAN_FILES = 
+-bin_PROGRAMS =  su$(EXEEXT)
+-PROGRAMS =  $(bin_PROGRAMS)
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++bin_PROGRAMS = su$(EXEEXT)
++PROGRAMS = $(bin_PROGRAMS)
+ 
++am_su_OBJECTS = su.$(OBJEXT)
++su_OBJECTS = $(am_su_OBJECTS)
++su_LDADD = $(LDADD)
++@KRB4_TRUE@su_DEPENDENCIES = $(top_builddir)/lib/kafs/libkafs.la \
++@KRB4_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la \
++@KRB4_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB4_FALSE@su_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
++@KRB4_FALSE@	$(top_builddir)/lib/asn1/libasn1.la
++su_LDFLAGS =
+ 
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../../include
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+-am_su_OBJECTS =  su.$(OBJEXT)
+-su_OBJECTS =  $(am_su_OBJECTS)
+-su_LDADD = $(LDADD)
+-@KRB4_FALSE@su_DEPENDENCIES =  $(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_FALSE@$(top_builddir)/lib/asn1/libasn1.la
+-@KRB4_TRUE@su_DEPENDENCIES =  $(top_builddir)/lib/kafs/libkafs.la \
+-@KRB4_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_TRUE@$(top_builddir)/lib/asn1/libasn1.la
+-su_LDFLAGS = 
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  $(su_SOURCES)
+-depcomp = 
+-DIST_COMMON =  ChangeLog Makefile.am Makefile.in
+-
+-
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+-
+-GZIP_ENV = --best
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++DIST_SOURCES = $(su_SOURCES)
++DIST_COMMON = ChangeLog Makefile.am Makefile.in
+ SOURCES = $(su_SOURCES)
+-OBJECTS = $(am_su_OBJECTS)
+ 
+-all: all-redirect
++all: all-am
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/su/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+ 
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-mostlyclean-binPROGRAMS:
+-
+-clean-binPROGRAMS:
+-	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
+-
+-distclean-binPROGRAMS:
+-
+-maintainer-clean-binPROGRAMS:
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  appl/su/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ install-binPROGRAMS: $(bin_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(bindir)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  if test -f $$p; then \
+-	    f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f; \
++	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  if test -f $$p \
++	     || test -f $$p1 \
++	  ; then \
++	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-binPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+-mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
++clean-binPROGRAMS:
++	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
++su$(EXEEXT): $(su_OBJECTS) $(su_DEPENDENCIES) 
++	@rm -f su$(EXEEXT)
++	$(LINK) $(su_LDFLAGS) $(su_OBJECTS) $(su_LDADD) $(LIBS)
+ 
+-clean-compile:
++mostlyclean-compile:
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+-maintainer-clean-compile:
+-
+-mostlyclean-libtool:
+-	-rm -f *.lo
+-
+-clean-libtool:
+-	-rm -rf .libs _libs
+-
+-distclean-libtool:
+-
+-maintainer-clean-libtool:
+-
+-su$(EXEEXT): $(su_OBJECTS) $(su_DEPENDENCIES)
+-	@rm -f su$(EXEEXT)
+-	$(LINK) $(su_LDFLAGS) $(su_OBJECTS) $(su_LDADD) $(LIBS)
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
++
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
++uninstall-info-am:
+ 
+ tags: TAGS
+ 
+@@ -347,22 +344,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -372,85 +370,91 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-install-exec-am: install-binPROGRAMS
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++all-am: Makefile $(PROGRAMS) all-local
+ 
+-install-data-am: install-data-local
+-install-data: install-data-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(bindir)
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am: uninstall-binPROGRAMS
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(PROGRAMS) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(bindir)
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-binPROGRAMS mostlyclean-compile \
+-		mostlyclean-libtool mostlyclean-tags \
+-		mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am
+ 
+-clean-am:  clean-binPROGRAMS clean-compile clean-libtool clean-tags \
+-		clean-generic mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-binPROGRAMS distclean-compile distclean-libtool \
+-		distclean-tags distclean-generic clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-binPROGRAMS \
+-		maintainer-clean-compile maintainer-clean-libtool \
+-		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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local
++
++install-exec-am: install-binPROGRAMS
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man:
++
++installcheck-am:
+ 
+ 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 mostlyclean-libtool distclean-libtool \
+-clean-libtool maintainer-clean-libtool tags mostlyclean-tags \
+-distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
+-dvi-am dvi check-local check check-am installcheck-am installcheck \
+-install-exec-am install-exec install-data-local install-data-am \
+-install-data install-am install uninstall-am uninstall all-local \
+-all-redirect all-am all install-strip installdirs mostlyclean-generic \
+-distclean-generic clean-generic maintainer-clean-generic clean \
+-mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-binPROGRAMS uninstall-info-am
++
++.PHONY: GTAGS all all-am all-local check check-am check-local clean \
++	clean-binPROGRAMS clean-generic clean-libtool distclean \
++	distclean-compile distclean-generic distclean-libtool \
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-binPROGRAMS install-data install-data-am \
++	install-data-local install-exec install-exec-am install-info \
++	install-info-am install-man install-strip installcheck \
++	installcheck-am installdirs maintainer-clean \
++	maintainer-clean-generic mostlyclean mostlyclean-compile \
++	mostlyclean-generic mostlyclean-libtool tags uninstall \
++	uninstall-am uninstall-binPROGRAMS uninstall-info-am
+ 
+ 
+ install-suid-programs:
+@@ -580,7 +584,6 @@
+ 	  echo "$$dashes"; \
+ 	  test "$$failed" -eq 0; \
+ 	fi
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/appl/telnet/Makefile.in heimdal-0.4e/appl/telnet/Makefile.in
+--- heimdal-0.4e-old/appl/telnet/Makefile.in	Thu Sep  6 22:25:23 2001
++++ heimdal-0.4e/appl/telnet/Makefile.in	Sat Jun 15 19:35:24 2002
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.6 1999/03/20 13:58:15 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,13 +90,13 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+ LIB_ = @LIB_@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+-LIB_com_err = @LIB_com_err@
+ LIB_com_err_a = @LIB_com_err_a@
+ LIB_com_err_so = @LIB_com_err_so@
+ LIB_des = @LIB_des@
+@@ -100,12 +104,10 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+-LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,19 +121,19 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+-
+-# $Id: Makefile.am,v 1.6 1999/03/20 13:58:15 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
++LIB_com_err = @LIB_com_err@
++LIB_otp = @LIB_otp@
++LIB_roken = @LIB_roken@
+ 
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+@@ -185,17 +187,24 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+@@ -204,32 +213,46 @@
+ EXTRA_DIST = README.ORIG telnet.state
+ subdir = appl/telnet
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../include/config.h
+-CONFIG_CLEAN_FILES = 
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++depcomp =
+ CFLAGS = @CFLAGS@
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES = 
+-depcomp = 
+-DIST_COMMON =  ChangeLog Makefile.am Makefile.in
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++DIST_SOURCES =
++
++RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \
++	uninstall-info-recursive all-recursive install-data-recursive \
++	install-exec-recursive installdirs-recursive install-recursive \
++	uninstall-recursive check-recursive installcheck-recursive
++DIST_COMMON = ChangeLog Makefile.am Makefile.in
++DIST_SUBDIRS = $(SUBDIRS)
++all: all-recursive
+ 
++.SUFFIXES:
++.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c
+ 
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-GZIP_ENV = --best
+-DIST_SUBDIRS =  $(SUBDIRS)
+-all: all-redirect
+-.SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/telnet/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  appl/telnet/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
++uninstall-info-am:
+ 
+ # This directory's subdirectories are mostly independent; you can cd
+ # into them and run `make' without going through this Makefile.
+@@ -237,10 +260,7 @@
+ # (1) if the variable is set in `config.status', edit `config.status'
+ #     (which will cause the Makefiles to be regenerated when you run `make');
+ # (2) otherwise, pass the desired values on the `make' command line.
+-
+-all-recursive install-data-recursive install-exec-recursive \
+-installdirs-recursive install-recursive uninstall-recursive  \
+-check-recursive installcheck-recursive info-recursive dvi-recursive:
++$(RECURSIVE_TARGETS):
+ 	@set fnord $(MAKEFLAGS); amf=$$2; \
+ 	dot_seen=no; \
+ 	target=`echo $@ | sed s/-recursive//`; \
+@@ -305,9 +325,9 @@
+ 	tags=; \
+ 	here=`pwd`; \
+ 	list='$(SUBDIRS)'; for subdir in $$list; do \
+-   if test "$$subdir" = .; then :; else \
++	  if test "$$subdir" = .; then :; else \
+ 	    test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
+-   fi; \
++	  fi; \
+ 	done; \
+ 	list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
+ 	unique=`for i in $$list; do \
+@@ -321,22 +341,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -351,84 +372,103 @@
+ 	    test -d $(distdir)/$$subdir \
+ 	    || mkdir $(distdir)/$$subdir \
+ 	    || exit 1; \
+-	    (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \
++	    (cd $$subdir && \
++	      $(MAKE) $(AM_MAKEFLAGS) \
++	        top_distdir="$(top_distdir)" \
++	        distdir=../$(distdir)/$$subdir \
++	        distdir) \
+ 	      || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-recursive
+-dvi-am:
+-dvi: dvi-recursive
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-recursive
+-installcheck-am:
+-installcheck: installcheck-recursive
+-install-exec-am:
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-recursive
++all-am: Makefile all-local
++installdirs: installdirs-recursive
++installdirs-am:
+ 
+-install-data-am: install-data-local
++install: install-recursive
++install-exec: install-exec-recursive
+ install-data: install-data-recursive
++uninstall: uninstall-recursive
+ 
+ install-am: all-am
+ 	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+-install: install-recursive
+-uninstall-am:
+-uninstall: uninstall-recursive
+-all-am: Makefile all-local
+-all-redirect: all-recursive
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs: installdirs-recursive
+-installdirs-am:
+-
+ 
++installcheck: installcheck-recursive
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-tags mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-recursive
+ 
+-mostlyclean: mostlyclean-recursive
++clean-am: clean-generic clean-libtool mostlyclean-am
+ 
+-clean-am:  clean-tags clean-generic mostlyclean-am
++distclean: distclean-recursive
+ 
+-clean: clean-recursive
++distclean-am: clean-am distclean-generic distclean-libtool \
++	distclean-tags
+ 
+-distclean-am:  distclean-tags distclean-generic clean-am
+-	-rm -f libtool
++dvi: dvi-recursive
+ 
+-distclean: distclean-recursive
++dvi-am:
+ 
+-maintainer-clean-am:  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."
++info: info-recursive
++
++info-am:
++
++install-data-am: install-data-local
++
++install-exec-am:
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-recursive
++
++install-man:
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-recursive
+ 
+-.PHONY: install-recursive uninstall-recursive install-data-recursive \
+-uninstall-data-recursive install-exec-recursive \
+-uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
+-all-recursive check-recursive installcheck-recursive info-recursive \
+-dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
+-maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
+-distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
+-dvi-am dvi check-local check check-am installcheck-am installcheck \
+-install-exec-am install-exec install-data-local install-data-am \
+-install-data install-am install uninstall-am uninstall all-local \
+-all-redirect all-am all install-strip installdirs-am installdirs \
+-mostlyclean-generic distclean-generic clean-generic \
+-maintainer-clean-generic clean mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-recursive
++
++mostlyclean-am: mostlyclean-generic mostlyclean-libtool
++
++uninstall-am: uninstall-info-am
++
++uninstall-info: uninstall-info-recursive
++
++.PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am all-local check check-am \
++	check-local clean clean-generic clean-libtool clean-recursive \
++	distclean distclean-generic distclean-libtool \
++	distclean-recursive distclean-tags distdir dvi dvi-am \
++	dvi-recursive info info-am info-recursive install install-am \
++	install-data install-data-am install-data-local \
++	install-data-recursive install-exec install-exec-am \
++	install-exec-recursive install-info install-info-am \
++	install-info-recursive install-man install-recursive \
++	install-strip installcheck installcheck-am installdirs \
++	installdirs-am installdirs-recursive maintainer-clean \
++	maintainer-clean-generic maintainer-clean-recursive mostlyclean \
++	mostlyclean-generic mostlyclean-libtool mostlyclean-recursive \
++	tags tags-recursive uninstall uninstall-am uninstall-info-am \
++	uninstall-info-recursive uninstall-recursive
+ 
+ 
+ install-suid-programs:
+@@ -562,7 +602,6 @@
+ dist-hook:
+ 	$(mkinstalldirs) $(distdir)/arpa
+ 	$(INSTALL_DATA) $(srcdir)/arpa/telnet.h $(distdir)/arpa
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/appl/telnet/libtelnet/Makefile.in heimdal-0.4e/appl/telnet/libtelnet/Makefile.in
+--- heimdal-0.4e-old/appl/telnet/libtelnet/Makefile.in	Thu Sep  6 22:25:25 2001
++++ heimdal-0.4e/appl/telnet/libtelnet/Makefile.in	Sat Jun 15 19:35:24 2002
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.9 2001/08/28 08:31:23 assar Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,13 +90,13 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+ LIB_ = @LIB_@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+-LIB_com_err = @LIB_com_err@
+ LIB_com_err_a = @LIB_com_err_a@
+ LIB_com_err_so = @LIB_com_err_so@
+ LIB_des = @LIB_des@
+@@ -100,12 +104,10 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+-LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,19 +121,19 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+-
+-# $Id: Makefile.am,v 1.9 2001/08/28 08:31:23 assar Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
++LIB_com_err = @LIB_com_err@
++LIB_otp = @LIB_otp@
++LIB_roken = @LIB_roken@
+ 
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+@@ -185,17 +187,24 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+@@ -220,71 +229,38 @@
+ EXTRA_DIST = krb4encpwd.c rsaencpwd.c spx.c
+ subdir = appl/telnet/libtelnet
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../../include/config.h
+-CONFIG_CLEAN_FILES = 
+-LIBRARIES =  $(noinst_LIBRARIES)
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++LIBRARIES = $(noinst_LIBRARIES)
+ 
++libtelnet_a_AR = $(AR) cru
++libtelnet_a_LIBADD =
++am_libtelnet_a_OBJECTS = auth.$(OBJEXT) enc_des.$(OBJEXT) \
++	encrypt.$(OBJEXT) genget.$(OBJEXT) kerberos.$(OBJEXT) \
++	kerberos5.$(OBJEXT) misc.$(OBJEXT)
++libtelnet_a_OBJECTS = $(am_libtelnet_a_OBJECTS)
+ 
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../../../include
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+-libtelnet_a_AR = $(AR) cru
+-libtelnet_a_LIBADD = 
+-am_libtelnet_a_OBJECTS =  auth.$(OBJEXT) enc_des.$(OBJEXT) \
+-encrypt.$(OBJEXT) genget.$(OBJEXT) kerberos.$(OBJEXT) \
+-kerberos5.$(OBJEXT) misc.$(OBJEXT)
+-libtelnet_a_OBJECTS =  $(am_libtelnet_a_OBJECTS)
+-AR = ar
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  $(libtelnet_a_SOURCES)
+-depcomp = 
+-DIST_COMMON =  Makefile.am Makefile.in
+-
+-
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+-
+-GZIP_ENV = --best
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++DIST_SOURCES = $(libtelnet_a_SOURCES)
++DIST_COMMON = Makefile.am Makefile.in
+ SOURCES = $(libtelnet_a_SOURCES)
+-OBJECTS = $(am_libtelnet_a_OBJECTS)
+ 
+-all: all-redirect
++all: all-am
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/telnet/libtelnet/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+-
+-
+-mostlyclean-noinstLIBRARIES:
+-
+-clean-noinstLIBRARIES:
+-	-test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
+-
+-distclean-noinstLIBRARIES:
+-
+-maintainer-clean-noinstLIBRARIES:
+-
+-mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
+-
+-clean-compile:
+-
+-distclean-compile:
+-	-rm -f *.tab.c
+-
+-maintainer-clean-compile:
+ 
+ mostlyclean-libtool:
+ 	-rm -f *.lo
+@@ -293,19 +269,39 @@
+ 	-rm -rf .libs _libs
+ 
+ distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  appl/telnet/libtelnet/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ 
+-maintainer-clean-libtool:
++AR = ar
+ 
+-libtelnet.a: $(libtelnet_a_OBJECTS) $(libtelnet_a_DEPENDENCIES)
++clean-noinstLIBRARIES:
++	-test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
++libtelnet.a: $(libtelnet_a_OBJECTS) $(libtelnet_a_DEPENDENCIES) 
+ 	-rm -f libtelnet.a
+ 	$(libtelnet_a_AR) libtelnet.a $(libtelnet_a_OBJECTS) $(libtelnet_a_LIBADD)
+ 	$(RANLIB) libtelnet.a
++
++mostlyclean-compile:
++	-rm -f *.$(OBJEXT) core *.core
++
++distclean-compile:
++	-rm -f *.tab.c
++
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
++
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
++uninstall-info-am:
+ 
+ tags: TAGS
+ 
+@@ -334,22 +330,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ../../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -359,85 +356,91 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-install-exec-am:
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++all-am: Makefile $(LIBRARIES) all-local
+ 
+-install-data-am: install-data-local
+-install-data: install-data-am
++installdirs:
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am:
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(LIBRARIES) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-noinstLIBRARIES mostlyclean-compile \
+-		mostlyclean-libtool mostlyclean-tags \
+-		mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-generic clean-libtool clean-noinstLIBRARIES \
++	mostlyclean-am
+ 
+-clean-am:  clean-noinstLIBRARIES clean-compile clean-libtool clean-tags \
+-		clean-generic mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-noinstLIBRARIES distclean-compile \
+-		distclean-libtool distclean-tags distclean-generic \
+-		clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-noinstLIBRARIES \
+-		maintainer-clean-compile maintainer-clean-libtool \
+-		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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local
++
++install-exec-am:
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man:
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-am
+ 
+-.PHONY: mostlyclean-noinstLIBRARIES distclean-noinstLIBRARIES \
+-clean-noinstLIBRARIES maintainer-clean-noinstLIBRARIES \
+-mostlyclean-compile distclean-compile clean-compile \
+-maintainer-clean-compile mostlyclean-libtool distclean-libtool \
+-clean-libtool maintainer-clean-libtool tags mostlyclean-tags \
+-distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
+-dvi-am dvi check-local check check-am installcheck-am installcheck \
+-install-exec-am install-exec install-data-local install-data-am \
+-install-data install-am install uninstall-am uninstall all-local \
+-all-redirect all-am all install-strip installdirs mostlyclean-generic \
+-distclean-generic clean-generic maintainer-clean-generic clean \
+-mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-info-am
++
++.PHONY: GTAGS all all-am all-local check check-am check-local clean \
++	clean-generic clean-libtool clean-noinstLIBRARIES distclean \
++	distclean-compile distclean-generic distclean-libtool \
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-data install-data-am install-data-local \
++	install-exec install-exec-am install-info install-info-am \
++	install-man install-strip installcheck installcheck-am \
++	installdirs maintainer-clean maintainer-clean-generic \
++	mostlyclean mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool tags uninstall uninstall-am \
++	uninstall-info-am
+ 
+ 
+ install-suid-programs:
+@@ -567,7 +570,6 @@
+ 	  echo "$$dashes"; \
+ 	  test "$$failed" -eq 0; \
+ 	fi
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/appl/telnet/telnet/Makefile.in heimdal-0.4e/appl/telnet/telnet/Makefile.in
+--- heimdal-0.4e-old/appl/telnet/telnet/Makefile.in	Thu Sep  6 22:25:29 2001
++++ heimdal-0.4e/appl/telnet/telnet/Makefile.in	Sat Jun 15 19:35:24 2002
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.16 2001/08/28 11:21:16 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,13 +90,13 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+ LIB_ = @LIB_@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+-LIB_com_err = @LIB_com_err@
+ LIB_com_err_a = @LIB_com_err_a@
+ LIB_com_err_so = @LIB_com_err_so@
+ LIB_des = @LIB_des@
+@@ -100,12 +104,10 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+-LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,19 +121,19 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+-
+-# $Id: Makefile.am,v 1.16 2001/08/28 11:21:16 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
++LIB_com_err = @LIB_com_err@
++LIB_otp = @LIB_otp@
++LIB_roken = @LIB_roken@
+ 
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+@@ -185,17 +187,24 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = 
+ 
+@@ -218,127 +227,117 @@
+ 
+ subdir = appl/telnet/telnet
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../../include/config.h
+-CONFIG_CLEAN_FILES = 
+-bin_PROGRAMS =  telnet$(EXEEXT)
+-PROGRAMS =  $(bin_PROGRAMS)
+-
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++bin_PROGRAMS = telnet$(EXEEXT)
++PROGRAMS = $(bin_PROGRAMS)
++
++am_telnet_OBJECTS = authenc.$(OBJEXT) commands.$(OBJEXT) main.$(OBJEXT) \
++	network.$(OBJEXT) ring.$(OBJEXT) sys_bsd.$(OBJEXT) \
++	telnet.$(OBJEXT) terminal.$(OBJEXT) utilities.$(OBJEXT)
++telnet_OBJECTS = $(am_telnet_OBJECTS)
++telnet_LDADD = $(LDADD)
++@DCE_FALSE@@KRB5_TRUE@telnet_DEPENDENCIES = ../libtelnet/libtelnet.a \
++@DCE_FALSE@@KRB5_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la
++@DCE_FALSE@@KRB5_FALSE@telnet_DEPENDENCIES = ../libtelnet/libtelnet.a
++@DCE_TRUE@@KRB5_TRUE@telnet_DEPENDENCIES = ../libtelnet/libtelnet.a \
++@DCE_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la \
++@DCE_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@@KRB5_FALSE@telnet_DEPENDENCIES = ../libtelnet/libtelnet.a \
++@DCE_TRUE@@KRB5_FALSE@	$(top_builddir)/lib/kdfs/libkdfs.la
++telnet_LDFLAGS =
+ 
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../../../include
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+-am_telnet_OBJECTS =  authenc.$(OBJEXT) commands.$(OBJEXT) main.$(OBJEXT) \
+-network.$(OBJEXT) ring.$(OBJEXT) sys_bsd.$(OBJEXT) telnet.$(OBJEXT) \
+-terminal.$(OBJEXT) utilities.$(OBJEXT)
+-telnet_OBJECTS =  $(am_telnet_OBJECTS)
+-telnet_LDADD = $(LDADD)
+-@DCE_FALSE@@KRB5_FALSE@telnet_DEPENDENCIES =  ../libtelnet/libtelnet.a
+-@DCE_FALSE@@KRB5_TRUE@telnet_DEPENDENCIES =  ../libtelnet/libtelnet.a \
+-@DCE_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@DCE_FALSE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
+-@DCE_TRUE@@KRB5_FALSE@telnet_DEPENDENCIES =  ../libtelnet/libtelnet.a \
+-@DCE_TRUE@@KRB5_FALSE@$(top_builddir)/lib/kdfs/libkdfs.la
+-@DCE_TRUE@@KRB5_TRUE@telnet_DEPENDENCIES =  ../libtelnet/libtelnet.a \
+-@DCE_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@DCE_TRUE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la \
+-@DCE_TRUE@@KRB5_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+-telnet_LDFLAGS = 
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  $(telnet_SOURCES)
+-man1dir = $(mandir)/man1
+-MANS = $(man_MANS)
+-depcomp = 
+-DIST_COMMON =  Makefile.am Makefile.in
+-
+-
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++DIST_SOURCES = $(telnet_SOURCES)
+ 
+-GZIP_ENV = --best
++NROFF = nroff
++MANS = $(man_MANS)
++DIST_COMMON = Makefile.am Makefile.in
+ SOURCES = $(telnet_SOURCES)
+-OBJECTS = $(am_telnet_OBJECTS)
+ 
+-all: all-redirect
++all: all-am
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/telnet/telnet/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+-
+-
+-mostlyclean-binPROGRAMS:
+-
+-clean-binPROGRAMS:
+-	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
+ 
+-distclean-binPROGRAMS:
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-maintainer-clean-binPROGRAMS:
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  appl/telnet/telnet/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ install-binPROGRAMS: $(bin_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(bindir)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  if test -f $$p; then \
+-	    f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f; \
++	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  if test -f $$p \
++	     || test -f $$p1 \
++	  ; then \
++	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-binPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+-mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
++clean-binPROGRAMS:
++	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
++telnet$(EXEEXT): $(telnet_OBJECTS) $(telnet_DEPENDENCIES) 
++	@rm -f telnet$(EXEEXT)
++	$(LINK) $(telnet_LDFLAGS) $(telnet_OBJECTS) $(telnet_LDADD) $(LIBS)
+ 
+-clean-compile:
++mostlyclean-compile:
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+-maintainer-clean-compile:
+-
+-mostlyclean-libtool:
+-	-rm -f *.lo
+-
+-clean-libtool:
+-	-rm -rf .libs _libs
+-
+-distclean-libtool:
+-
+-maintainer-clean-libtool:
+-
+-telnet$(EXEEXT): $(telnet_OBJECTS) $(telnet_DEPENDENCIES)
+-	@rm -f telnet$(EXEEXT)
+-	$(LINK) $(telnet_LDFLAGS) $(telnet_OBJECTS) $(telnet_LDADD) $(LIBS)
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
++
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
++uninstall-info-am:
+ 
+-install-man1:
++man1dir = $(mandir)/man1
++install-man1: $(man1_MANS) $(man_MANS)
++	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(man1dir)
+-	@list='$(man1_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.1*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -353,10 +352,11 @@
+ 	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
+ 	  $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
+ 	done
+-
+ uninstall-man1:
+-	@list='$(man1_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@$(NORMAL_UNINSTALL)
++	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.1*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -369,12 +369,6 @@
+ 	  echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
+ 	  rm -f $(DESTDIR)$(man1dir)/$$inst; \
+ 	done
+-install-man: $(MANS)
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-man1
+-uninstall-man:
+-	@$(NORMAL_UNINSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) uninstall-man1
+ 
+ tags: TAGS
+ 
+@@ -403,22 +397,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ../../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -428,86 +423,94 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-install-exec-am: install-binPROGRAMS
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++all-am: Makefile $(PROGRAMS) $(MANS) all-local
+ 
+-install-data-am: install-man install-data-local
+-install-data: install-data-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(man1dir)
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am: uninstall-binPROGRAMS uninstall-man
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(PROGRAMS) $(MANS) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-binPROGRAMS mostlyclean-compile \
+-		mostlyclean-libtool mostlyclean-tags \
+-		mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am
+ 
+-clean-am:  clean-binPROGRAMS clean-compile clean-libtool clean-tags \
+-		clean-generic mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-binPROGRAMS distclean-compile distclean-libtool \
+-		distclean-tags distclean-generic clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-binPROGRAMS \
+-		maintainer-clean-compile maintainer-clean-libtool \
+-		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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local install-man
++
++install-exec-am: install-binPROGRAMS
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man: install-man1
++
++installcheck-am:
+ 
+ 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 mostlyclean-libtool distclean-libtool \
+-clean-libtool maintainer-clean-libtool install-man1 uninstall-man1 \
+-install-man uninstall-man tags mostlyclean-tags distclean-tags \
+-clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi \
+-check-local check check-am installcheck-am installcheck install-exec-am \
+-install-exec install-data-local install-data-am install-data install-am \
+-install uninstall-am uninstall all-local all-redirect all-am all \
+-install-strip installdirs mostlyclean-generic distclean-generic \
+-clean-generic maintainer-clean-generic clean mostlyclean distclean \
+-maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-binPROGRAMS uninstall-info-am uninstall-man
++
++uninstall-man: uninstall-man1
++
++.PHONY: GTAGS all all-am all-local check check-am check-local clean \
++	clean-binPROGRAMS clean-generic clean-libtool distclean \
++	distclean-compile distclean-generic distclean-libtool \
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-binPROGRAMS install-data install-data-am \
++	install-data-local install-exec install-exec-am install-info \
++	install-info-am install-man install-man1 install-strip \
++	installcheck installcheck-am installdirs maintainer-clean \
++	maintainer-clean-generic mostlyclean mostlyclean-compile \
++	mostlyclean-generic mostlyclean-libtool tags uninstall \
++	uninstall-am uninstall-binPROGRAMS uninstall-info-am \
++	uninstall-man uninstall-man1
+ 
+ 
+ install-suid-programs:
+@@ -637,7 +640,6 @@
+ 	  echo "$$dashes"; \
+ 	  test "$$failed" -eq 0; \
+ 	fi
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/appl/telnet/telnetd/Makefile.in heimdal-0.4e/appl/telnet/telnetd/Makefile.in
+--- heimdal-0.4e-old/appl/telnet/telnetd/Makefile.in	Thu Sep  6 22:25:33 2001
++++ heimdal-0.4e/appl/telnet/telnetd/Makefile.in	Sat Jun 15 19:35:24 2002
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.18 2001/08/28 11:21:17 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,13 +90,13 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+ LIB_ = @LIB_@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+-LIB_com_err = @LIB_com_err@
+ LIB_com_err_a = @LIB_com_err_a@
+ LIB_com_err_so = @LIB_com_err_so@
+ LIB_des = @LIB_des@
+@@ -100,12 +104,10 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+-LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,19 +121,19 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+-
+-# $Id: Makefile.am,v 1.18 2001/08/28 11:21:17 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
++LIB_com_err = @LIB_com_err@
++LIB_otp = @LIB_otp@
++LIB_roken = @LIB_roken@
+ 
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+@@ -185,17 +187,24 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = 
+ 
+@@ -221,127 +230,117 @@
+ 
+ subdir = appl/telnet/telnetd
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../../include/config.h
+-CONFIG_CLEAN_FILES = 
+-libexec_PROGRAMS =  telnetd$(EXEEXT)
+-PROGRAMS =  $(libexec_PROGRAMS)
+-
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++libexec_PROGRAMS = telnetd$(EXEEXT)
++PROGRAMS = $(libexec_PROGRAMS)
++
++am_telnetd_OBJECTS = telnetd.$(OBJEXT) state.$(OBJEXT) \
++	termstat.$(OBJEXT) slc.$(OBJEXT) sys_term.$(OBJEXT) \
++	utility.$(OBJEXT) global.$(OBJEXT) authenc.$(OBJEXT)
++telnetd_OBJECTS = $(am_telnetd_OBJECTS)
++telnetd_LDADD = $(LDADD)
++@DCE_FALSE@@KRB5_TRUE@telnetd_DEPENDENCIES = ../libtelnet/libtelnet.a \
++@DCE_FALSE@@KRB5_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la
++@DCE_FALSE@@KRB5_FALSE@telnetd_DEPENDENCIES = ../libtelnet/libtelnet.a
++@DCE_TRUE@@KRB5_TRUE@telnetd_DEPENDENCIES = ../libtelnet/libtelnet.a \
++@DCE_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la \
++@DCE_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@@KRB5_FALSE@telnetd_DEPENDENCIES = ../libtelnet/libtelnet.a \
++@DCE_TRUE@@KRB5_FALSE@	$(top_builddir)/lib/kdfs/libkdfs.la
++telnetd_LDFLAGS =
+ 
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../../../include
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+-am_telnetd_OBJECTS =  telnetd.$(OBJEXT) state.$(OBJEXT) \
+-termstat.$(OBJEXT) slc.$(OBJEXT) sys_term.$(OBJEXT) utility.$(OBJEXT) \
+-global.$(OBJEXT) authenc.$(OBJEXT)
+-telnetd_OBJECTS =  $(am_telnetd_OBJECTS)
+-telnetd_LDADD = $(LDADD)
+-@DCE_FALSE@@KRB5_FALSE@telnetd_DEPENDENCIES =  ../libtelnet/libtelnet.a
+-@DCE_FALSE@@KRB5_TRUE@telnetd_DEPENDENCIES =  ../libtelnet/libtelnet.a \
+-@DCE_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@DCE_FALSE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
+-@DCE_TRUE@@KRB5_FALSE@telnetd_DEPENDENCIES =  ../libtelnet/libtelnet.a \
+-@DCE_TRUE@@KRB5_FALSE@$(top_builddir)/lib/kdfs/libkdfs.la
+-@DCE_TRUE@@KRB5_TRUE@telnetd_DEPENDENCIES =  ../libtelnet/libtelnet.a \
+-@DCE_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@DCE_TRUE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la \
+-@DCE_TRUE@@KRB5_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+-telnetd_LDFLAGS = 
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  $(telnetd_SOURCES)
+-man8dir = $(mandir)/man8
+-MANS = $(man_MANS)
+-depcomp = 
+-DIST_COMMON =  Makefile.am Makefile.in
+-
+-
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++DIST_SOURCES = $(telnetd_SOURCES)
+ 
+-GZIP_ENV = --best
++NROFF = nroff
++MANS = $(man_MANS)
++DIST_COMMON = Makefile.am Makefile.in
+ SOURCES = $(telnetd_SOURCES)
+-OBJECTS = $(am_telnetd_OBJECTS)
+ 
+-all: all-redirect
++all: all-am
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/telnet/telnetd/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+-
+-
+-mostlyclean-libexecPROGRAMS:
+-
+-clean-libexecPROGRAMS:
+-	-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
+ 
+-distclean-libexecPROGRAMS:
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-maintainer-clean-libexecPROGRAMS:
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  appl/telnet/telnetd/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ install-libexecPROGRAMS: $(libexec_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(libexecdir)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+-	  if test -f $$p; then \
+-	    f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libexecdir)/$$f"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libexecdir)/$$f; \
++	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  if test -f $$p \
++	     || test -f $$p1 \
++	  ; then \
++	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-libexecPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+-	  f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(libexecdir)/$$f; \
+ 	done
+ 
+-mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
++clean-libexecPROGRAMS:
++	-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
++telnetd$(EXEEXT): $(telnetd_OBJECTS) $(telnetd_DEPENDENCIES) 
++	@rm -f telnetd$(EXEEXT)
++	$(LINK) $(telnetd_LDFLAGS) $(telnetd_OBJECTS) $(telnetd_LDADD) $(LIBS)
+ 
+-clean-compile:
++mostlyclean-compile:
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+-maintainer-clean-compile:
+-
+-mostlyclean-libtool:
+-	-rm -f *.lo
+-
+-clean-libtool:
+-	-rm -rf .libs _libs
+-
+-distclean-libtool:
+-
+-maintainer-clean-libtool:
+-
+-telnetd$(EXEEXT): $(telnetd_OBJECTS) $(telnetd_DEPENDENCIES)
+-	@rm -f telnetd$(EXEEXT)
+-	$(LINK) $(telnetd_LDFLAGS) $(telnetd_OBJECTS) $(telnetd_LDADD) $(LIBS)
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
++
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
++uninstall-info-am:
+ 
+-install-man8:
++man8dir = $(mandir)/man8
++install-man8: $(man8_MANS) $(man_MANS)
++	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(man8dir)
+-	@list='$(man8_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.8*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -356,10 +355,11 @@
+ 	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst"; \
+ 	  $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst; \
+ 	done
+-
+ uninstall-man8:
+-	@list='$(man8_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@$(NORMAL_UNINSTALL)
++	@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.8*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -372,12 +372,6 @@
+ 	  echo " rm -f $(DESTDIR)$(man8dir)/$$inst"; \
+ 	  rm -f $(DESTDIR)$(man8dir)/$$inst; \
+ 	done
+-install-man: $(MANS)
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-man8
+-uninstall-man:
+-	@$(NORMAL_UNINSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) uninstall-man8
+ 
+ tags: TAGS
+ 
+@@ -406,22 +400,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ../../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -431,87 +426,95 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-install-exec-am: install-libexecPROGRAMS
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++all-am: Makefile $(PROGRAMS) $(MANS) all-local
+ 
+-install-data-am: install-man install-data-local
+-install-data: install-data-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(libexecdir) $(DESTDIR)$(man8dir)
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am: uninstall-libexecPROGRAMS uninstall-man
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(PROGRAMS) $(MANS) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(libexecdir) $(DESTDIR)$(mandir)/man8
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-libexecPROGRAMS mostlyclean-compile \
+-		mostlyclean-libtool mostlyclean-tags \
+-		mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-generic clean-libexecPROGRAMS clean-libtool \
++	mostlyclean-am
+ 
+-clean-am:  clean-libexecPROGRAMS clean-compile clean-libtool clean-tags \
+-		clean-generic mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-libexecPROGRAMS distclean-compile \
+-		distclean-libtool distclean-tags distclean-generic \
+-		clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-libexecPROGRAMS \
+-		maintainer-clean-compile maintainer-clean-libtool \
+-		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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local install-man
++
++install-exec-am: install-libexecPROGRAMS
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man: install-man8
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-am
+ 
+-.PHONY: mostlyclean-libexecPROGRAMS distclean-libexecPROGRAMS \
+-clean-libexecPROGRAMS maintainer-clean-libexecPROGRAMS \
+-uninstall-libexecPROGRAMS install-libexecPROGRAMS mostlyclean-compile \
+-distclean-compile clean-compile maintainer-clean-compile \
+-mostlyclean-libtool distclean-libtool clean-libtool \
+-maintainer-clean-libtool install-man8 uninstall-man8 install-man \
+-uninstall-man tags mostlyclean-tags distclean-tags clean-tags \
+-maintainer-clean-tags distdir info-am info dvi-am dvi check-local check \
+-check-am installcheck-am installcheck install-exec-am install-exec \
+-install-data-local install-data-am install-data install-am install \
+-uninstall-am uninstall all-local all-redirect all-am all install-strip \
+-installdirs mostlyclean-generic distclean-generic clean-generic \
+-maintainer-clean-generic clean mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-info-am uninstall-libexecPROGRAMS uninstall-man
++
++uninstall-man: uninstall-man8
++
++.PHONY: GTAGS all all-am all-local check check-am check-local clean \
++	clean-generic clean-libexecPROGRAMS clean-libtool distclean \
++	distclean-compile distclean-generic distclean-libtool \
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-data install-data-am install-data-local \
++	install-exec install-exec-am install-info install-info-am \
++	install-libexecPROGRAMS install-man install-man8 install-strip \
++	installcheck installcheck-am installdirs maintainer-clean \
++	maintainer-clean-generic mostlyclean mostlyclean-compile \
++	mostlyclean-generic mostlyclean-libtool tags uninstall \
++	uninstall-am uninstall-info-am uninstall-libexecPROGRAMS \
++	uninstall-man uninstall-man8
+ 
+ 
+ install-suid-programs:
+@@ -641,7 +644,6 @@
+ 	  echo "$$dashes"; \
+ 	  test "$$failed" -eq 0; \
+ 	fi
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/appl/test/Makefile.in heimdal-0.4e/appl/test/Makefile.in
+--- heimdal-0.4e-old/appl/test/Makefile.in	Thu Sep  6 22:25:38 2001
++++ heimdal-0.4e/appl/test/Makefile.in	Sat Jun 15 19:35:24 2002
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.14 2000/11/15 22:51:11 assar Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,13 +90,13 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+ LIB_ = @LIB_@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+-LIB_com_err = @LIB_com_err@
+ LIB_com_err_a = @LIB_com_err_a@
+ LIB_com_err_so = @LIB_com_err_so@
+ LIB_des = @LIB_des@
+@@ -100,12 +104,10 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+-LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,19 +121,19 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+-
+-# $Id: Makefile.am,v 1.14 2000/11/15 22:51:11 assar Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
++LIB_com_err = @LIB_com_err@
++LIB_otp = @LIB_otp@
++LIB_roken = @LIB_roken@
+ 
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+@@ -185,17 +187,24 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+@@ -238,117 +247,91 @@
+ 
+ subdir = appl/test
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../include/config.h
+-CONFIG_CLEAN_FILES = 
+-noinst_PROGRAMS =  tcp_client$(EXEEXT) tcp_server$(EXEEXT) \
+-gssapi_server$(EXEEXT) gssapi_client$(EXEEXT) uu_server$(EXEEXT) \
+-uu_client$(EXEEXT) nt_gss_server$(EXEEXT) nt_gss_client$(EXEEXT)
+-PROGRAMS =  $(noinst_PROGRAMS)
+-
+-
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../../include
+-CPPFLAGS = @CPPFLAGS@
+-LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+-am_gssapi_client_OBJECTS =  gssapi_client.$(OBJEXT) gss_common.$(OBJEXT) \
+-common.$(OBJEXT)
+-gssapi_client_OBJECTS =  $(am_gssapi_client_OBJECTS)
+-gssapi_client_DEPENDENCIES =  $(top_builddir)/lib/gssapi/libgssapi.la \
+-$(top_builddir)/lib/krb5/libkrb5.la $(top_builddir)/lib/asn1/libasn1.la
+-gssapi_client_LDFLAGS = 
+-am_gssapi_server_OBJECTS =  gssapi_server.$(OBJEXT) gss_common.$(OBJEXT) \
+-common.$(OBJEXT)
+-gssapi_server_OBJECTS =  $(am_gssapi_server_OBJECTS)
+-gssapi_server_DEPENDENCIES =  $(top_builddir)/lib/gssapi/libgssapi.la \
+-$(top_builddir)/lib/krb5/libkrb5.la $(top_builddir)/lib/asn1/libasn1.la
+-gssapi_server_LDFLAGS = 
+-am_nt_gss_client_OBJECTS =  nt_gss_client.$(OBJEXT) \
+-nt_gss_common.$(OBJEXT) common.$(OBJEXT)
+-nt_gss_client_OBJECTS =  $(am_nt_gss_client_OBJECTS)
+-nt_gss_client_DEPENDENCIES =  $(top_builddir)/lib/gssapi/libgssapi.la \
+-$(top_builddir)/lib/krb5/libkrb5.la $(top_builddir)/lib/asn1/libasn1.la
+-nt_gss_client_LDFLAGS = 
+-am_nt_gss_server_OBJECTS =  nt_gss_server.$(OBJEXT) \
+-nt_gss_common.$(OBJEXT)
+-nt_gss_server_OBJECTS =  $(am_nt_gss_server_OBJECTS)
+-nt_gss_server_DEPENDENCIES =  $(top_builddir)/lib/gssapi/libgssapi.la \
+-$(top_builddir)/lib/krb5/libkrb5.la $(top_builddir)/lib/asn1/libasn1.la
+-nt_gss_server_LDFLAGS = 
+-am_tcp_client_OBJECTS =  tcp_client.$(OBJEXT) common.$(OBJEXT)
+-tcp_client_OBJECTS =  $(am_tcp_client_OBJECTS)
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++noinst_PROGRAMS = tcp_client$(EXEEXT) tcp_server$(EXEEXT) \
++	gssapi_server$(EXEEXT) gssapi_client$(EXEEXT) \
++	uu_server$(EXEEXT) uu_client$(EXEEXT) nt_gss_server$(EXEEXT) \
++	nt_gss_client$(EXEEXT)
++PROGRAMS = $(noinst_PROGRAMS)
++
++am_gssapi_client_OBJECTS = gssapi_client.$(OBJEXT) gss_common.$(OBJEXT) \
++	common.$(OBJEXT)
++gssapi_client_OBJECTS = $(am_gssapi_client_OBJECTS)
++gssapi_client_DEPENDENCIES = $(top_builddir)/lib/gssapi/libgssapi.la \
++	$(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++gssapi_client_LDFLAGS =
++am_gssapi_server_OBJECTS = gssapi_server.$(OBJEXT) gss_common.$(OBJEXT) \
++	common.$(OBJEXT)
++gssapi_server_OBJECTS = $(am_gssapi_server_OBJECTS)
++gssapi_server_DEPENDENCIES = $(top_builddir)/lib/gssapi/libgssapi.la \
++	$(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++gssapi_server_LDFLAGS =
++am_nt_gss_client_OBJECTS = nt_gss_client.$(OBJEXT) \
++	nt_gss_common.$(OBJEXT) common.$(OBJEXT)
++nt_gss_client_OBJECTS = $(am_nt_gss_client_OBJECTS)
++nt_gss_client_DEPENDENCIES = $(top_builddir)/lib/gssapi/libgssapi.la \
++	$(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++nt_gss_client_LDFLAGS =
++am_nt_gss_server_OBJECTS = nt_gss_server.$(OBJEXT) \
++	nt_gss_common.$(OBJEXT)
++nt_gss_server_OBJECTS = $(am_nt_gss_server_OBJECTS)
++nt_gss_server_DEPENDENCIES = $(top_builddir)/lib/gssapi/libgssapi.la \
++	$(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++nt_gss_server_LDFLAGS =
++am_tcp_client_OBJECTS = tcp_client.$(OBJEXT) common.$(OBJEXT)
++tcp_client_OBJECTS = $(am_tcp_client_OBJECTS)
+ tcp_client_LDADD = $(LDADD)
+-tcp_client_DEPENDENCIES =  $(top_builddir)/lib/krb5/libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
+-tcp_client_LDFLAGS = 
+-am_tcp_server_OBJECTS =  tcp_server.$(OBJEXT) common.$(OBJEXT)
+-tcp_server_OBJECTS =  $(am_tcp_server_OBJECTS)
++tcp_client_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++tcp_client_LDFLAGS =
++am_tcp_server_OBJECTS = tcp_server.$(OBJEXT) common.$(OBJEXT)
++tcp_server_OBJECTS = $(am_tcp_server_OBJECTS)
+ tcp_server_LDADD = $(LDADD)
+-tcp_server_DEPENDENCIES =  $(top_builddir)/lib/krb5/libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
+-tcp_server_LDFLAGS = 
+-am_uu_client_OBJECTS =  uu_client.$(OBJEXT) common.$(OBJEXT)
+-uu_client_OBJECTS =  $(am_uu_client_OBJECTS)
++tcp_server_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++tcp_server_LDFLAGS =
++am_uu_client_OBJECTS = uu_client.$(OBJEXT) common.$(OBJEXT)
++uu_client_OBJECTS = $(am_uu_client_OBJECTS)
+ uu_client_LDADD = $(LDADD)
+-uu_client_DEPENDENCIES =  $(top_builddir)/lib/krb5/libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
+-uu_client_LDFLAGS = 
+-am_uu_server_OBJECTS =  uu_server.$(OBJEXT) common.$(OBJEXT)
+-uu_server_OBJECTS =  $(am_uu_server_OBJECTS)
++uu_client_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++uu_client_LDFLAGS =
++am_uu_server_OBJECTS = uu_server.$(OBJEXT) common.$(OBJEXT)
++uu_server_OBJECTS = $(am_uu_server_OBJECTS)
+ uu_server_LDADD = $(LDADD)
+-uu_server_DEPENDENCIES =  $(top_builddir)/lib/krb5/libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
+-uu_server_LDFLAGS = 
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
+-CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  $(gssapi_client_SOURCES) $(gssapi_server_SOURCES) \
+-$(nt_gss_client_SOURCES) $(nt_gss_server_SOURCES) $(tcp_client_SOURCES) \
+-$(tcp_server_SOURCES) $(uu_client_SOURCES) $(uu_server_SOURCES)
+-depcomp = 
+-DIST_COMMON =  Makefile.am Makefile.in
+-
++uu_server_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++uu_server_LDFLAGS =
+ 
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+-
+-GZIP_ENV = --best
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
++CPPFLAGS = @CPPFLAGS@
++LDFLAGS = @LDFLAGS@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++CCLD = $(CC)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++DIST_SOURCES = $(gssapi_client_SOURCES) $(gssapi_server_SOURCES) \
++	$(nt_gss_client_SOURCES) $(nt_gss_server_SOURCES) \
++	$(tcp_client_SOURCES) $(tcp_server_SOURCES) \
++	$(uu_client_SOURCES) $(uu_server_SOURCES)
++DIST_COMMON = Makefile.am Makefile.in
+ SOURCES = $(gssapi_client_SOURCES) $(gssapi_server_SOURCES) $(nt_gss_client_SOURCES) $(nt_gss_server_SOURCES) $(tcp_client_SOURCES) $(tcp_server_SOURCES) $(uu_client_SOURCES) $(uu_server_SOURCES)
+-OBJECTS = $(am_gssapi_client_OBJECTS) $(am_gssapi_server_OBJECTS) $(am_nt_gss_client_OBJECTS) $(am_nt_gss_server_OBJECTS) $(am_tcp_client_OBJECTS) $(am_tcp_server_OBJECTS) $(am_uu_client_OBJECTS) $(am_uu_server_OBJECTS)
+ 
+-all: all-redirect
++all: all-am
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/test/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+-
+-
+-mostlyclean-noinstPROGRAMS:
+-
+-clean-noinstPROGRAMS:
+-	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
+-
+-distclean-noinstPROGRAMS:
+-
+-maintainer-clean-noinstPROGRAMS:
+-
+-mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
+-
+-clean-compile:
+-
+-distclean-compile:
+-	-rm -f *.tab.c
+-
+-maintainer-clean-compile:
+ 
+ mostlyclean-libtool:
+ 	-rm -f *.lo
+@@ -357,46 +340,57 @@
+ 	-rm -rf .libs _libs
+ 
+ distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  appl/test/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ 
+-maintainer-clean-libtool:
+-
+-gssapi_client$(EXEEXT): $(gssapi_client_OBJECTS) $(gssapi_client_DEPENDENCIES)
++clean-noinstPROGRAMS:
++	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
++gssapi_client$(EXEEXT): $(gssapi_client_OBJECTS) $(gssapi_client_DEPENDENCIES) 
+ 	@rm -f gssapi_client$(EXEEXT)
+ 	$(LINK) $(gssapi_client_LDFLAGS) $(gssapi_client_OBJECTS) $(gssapi_client_LDADD) $(LIBS)
+-
+-gssapi_server$(EXEEXT): $(gssapi_server_OBJECTS) $(gssapi_server_DEPENDENCIES)
++gssapi_server$(EXEEXT): $(gssapi_server_OBJECTS) $(gssapi_server_DEPENDENCIES) 
+ 	@rm -f gssapi_server$(EXEEXT)
+ 	$(LINK) $(gssapi_server_LDFLAGS) $(gssapi_server_OBJECTS) $(gssapi_server_LDADD) $(LIBS)
+-
+-nt_gss_client$(EXEEXT): $(nt_gss_client_OBJECTS) $(nt_gss_client_DEPENDENCIES)
++nt_gss_client$(EXEEXT): $(nt_gss_client_OBJECTS) $(nt_gss_client_DEPENDENCIES) 
+ 	@rm -f nt_gss_client$(EXEEXT)
+ 	$(LINK) $(nt_gss_client_LDFLAGS) $(nt_gss_client_OBJECTS) $(nt_gss_client_LDADD) $(LIBS)
+-
+-nt_gss_server$(EXEEXT): $(nt_gss_server_OBJECTS) $(nt_gss_server_DEPENDENCIES)
++nt_gss_server$(EXEEXT): $(nt_gss_server_OBJECTS) $(nt_gss_server_DEPENDENCIES) 
+ 	@rm -f nt_gss_server$(EXEEXT)
+ 	$(LINK) $(nt_gss_server_LDFLAGS) $(nt_gss_server_OBJECTS) $(nt_gss_server_LDADD) $(LIBS)
+-
+-tcp_client$(EXEEXT): $(tcp_client_OBJECTS) $(tcp_client_DEPENDENCIES)
++tcp_client$(EXEEXT): $(tcp_client_OBJECTS) $(tcp_client_DEPENDENCIES) 
+ 	@rm -f tcp_client$(EXEEXT)
+ 	$(LINK) $(tcp_client_LDFLAGS) $(tcp_client_OBJECTS) $(tcp_client_LDADD) $(LIBS)
+-
+-tcp_server$(EXEEXT): $(tcp_server_OBJECTS) $(tcp_server_DEPENDENCIES)
++tcp_server$(EXEEXT): $(tcp_server_OBJECTS) $(tcp_server_DEPENDENCIES) 
+ 	@rm -f tcp_server$(EXEEXT)
+ 	$(LINK) $(tcp_server_LDFLAGS) $(tcp_server_OBJECTS) $(tcp_server_LDADD) $(LIBS)
+-
+-uu_client$(EXEEXT): $(uu_client_OBJECTS) $(uu_client_DEPENDENCIES)
++uu_client$(EXEEXT): $(uu_client_OBJECTS) $(uu_client_DEPENDENCIES) 
+ 	@rm -f uu_client$(EXEEXT)
+ 	$(LINK) $(uu_client_LDFLAGS) $(uu_client_OBJECTS) $(uu_client_LDADD) $(LIBS)
+-
+-uu_server$(EXEEXT): $(uu_server_OBJECTS) $(uu_server_DEPENDENCIES)
++uu_server$(EXEEXT): $(uu_server_OBJECTS) $(uu_server_DEPENDENCIES) 
+ 	@rm -f uu_server$(EXEEXT)
+ 	$(LINK) $(uu_server_LDFLAGS) $(uu_server_OBJECTS) $(uu_server_LDADD) $(LIBS)
++
++mostlyclean-compile:
++	-rm -f *.$(OBJEXT) core *.core
++
++distclean-compile:
++	-rm -f *.tab.c
++
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
++
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
++uninstall-info-am:
+ 
+ tags: TAGS
+ 
+@@ -425,22 +419,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -450,85 +445,91 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-install-exec-am:
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++all-am: Makefile $(PROGRAMS) all-local
+ 
+-install-data-am: install-data-local
+-install-data: install-data-am
++installdirs:
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am:
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(PROGRAMS) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-noinstPROGRAMS mostlyclean-compile \
+-		mostlyclean-libtool mostlyclean-tags \
+-		mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-generic clean-libtool clean-noinstPROGRAMS \
++	mostlyclean-am
+ 
+-clean-am:  clean-noinstPROGRAMS clean-compile clean-libtool clean-tags \
+-		clean-generic mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-noinstPROGRAMS distclean-compile \
+-		distclean-libtool distclean-tags distclean-generic \
+-		clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-noinstPROGRAMS \
+-		maintainer-clean-compile maintainer-clean-libtool \
+-		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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local
++
++install-exec-am:
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man:
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-am
+ 
+-.PHONY: mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \
+-clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \
+-mostlyclean-compile distclean-compile clean-compile \
+-maintainer-clean-compile mostlyclean-libtool distclean-libtool \
+-clean-libtool maintainer-clean-libtool tags mostlyclean-tags \
+-distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
+-dvi-am dvi check-local check check-am installcheck-am installcheck \
+-install-exec-am install-exec install-data-local install-data-am \
+-install-data install-am install uninstall-am uninstall all-local \
+-all-redirect all-am all install-strip installdirs mostlyclean-generic \
+-distclean-generic clean-generic maintainer-clean-generic clean \
+-mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-info-am
++
++.PHONY: GTAGS all all-am all-local check check-am check-local clean \
++	clean-generic clean-libtool clean-noinstPROGRAMS distclean \
++	distclean-compile distclean-generic distclean-libtool \
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-data install-data-am install-data-local \
++	install-exec install-exec-am install-info install-info-am \
++	install-man install-strip installcheck installcheck-am \
++	installdirs maintainer-clean maintainer-clean-generic \
++	mostlyclean mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool tags uninstall uninstall-am \
++	uninstall-info-am
+ 
+ 
+ install-suid-programs:
+@@ -658,7 +659,6 @@
+ 	  echo "$$dashes"; \
+ 	  test "$$failed" -eq 0; \
+ 	fi
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/appl/xnlock/Makefile.in heimdal-0.4e/appl/xnlock/Makefile.in
+--- heimdal-0.4e-old/appl/xnlock/Makefile.in	Thu Sep  6 22:25:20 2001
++++ heimdal-0.4e/appl/xnlock/Makefile.in	Sat Jun 15 19:35:25 2002
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.15 2000/11/15 22:51:12 assar Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,13 +90,13 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+ LIB_ = @LIB_@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+-LIB_com_err = @LIB_com_err@
+ LIB_com_err_a = @LIB_com_err_a@
+ LIB_com_err_so = @LIB_com_err_so@
+ LIB_des = @LIB_des@
+@@ -100,12 +104,10 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+-LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -118,19 +120,21 @@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
++LIB_com_err = @LIB_com_err@
++LIB_otp = @LIB_otp@
++LIB_roken = @LIB_roken@
+ 
+-# $Id: Makefile.am,v 1.15 2000/11/15 22:51:12 assar Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
++WFLAGS = @WFLAGS@ $(WFLAGS_NOIMPLICITINT)
+ 
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+@@ -184,23 +188,28 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+-WFLAGS = @WFLAGS@ $(WFLAGS_NOIMPLICITINT)
+-
+-@HAVE_X_TRUE@bin_PROGRAMS = @HAVE_X_TRUE@xnlock
++@HAVE_X_TRUE@bin_PROGRAMS = xnlock
+ @HAVE_X_FALSE@bin_PROGRAMS = 
+ 
+ man_MANS = xnlock.1
+@@ -219,125 +228,116 @@
+ 
+ subdir = appl/xnlock
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../include/config.h
+-CONFIG_CLEAN_FILES = 
+-@HAVE_X_FALSE@bin_PROGRAMS = 
+-PROGRAMS =  $(bin_PROGRAMS)
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++@HAVE_X_TRUE@bin_PROGRAMS = xnlock$(EXEEXT)
++@HAVE_X_FALSE@bin_PROGRAMS =
++PROGRAMS = $(bin_PROGRAMS)
+ 
++xnlock_SOURCES = xnlock.c
++xnlock_OBJECTS = xnlock.$(OBJEXT)
++xnlock_LDADD = $(LDADD)
++@KRB4_FALSE@@KRB5_TRUE@xnlock_DEPENDENCIES = \
++@KRB4_FALSE@@KRB5_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la
++@KRB4_FALSE@@KRB5_FALSE@xnlock_DEPENDENCIES =
++@KRB4_TRUE@@KRB5_TRUE@xnlock_DEPENDENCIES = \
++@KRB4_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/kafs/libkafs.la \
++@KRB4_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la
++@KRB4_TRUE@@KRB5_FALSE@xnlock_DEPENDENCIES = \
++@KRB4_TRUE@@KRB5_FALSE@	$(top_builddir)/lib/kafs/libkafs.la
++xnlock_LDFLAGS =
+ 
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../../include
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+-xnlock_SOURCES = xnlock.c
+-xnlock_OBJECTS =  xnlock.$(OBJEXT)
+-xnlock_LDADD = $(LDADD)
+-@KRB4_FALSE@@KRB5_FALSE@xnlock_DEPENDENCIES = 
+-@KRB4_FALSE@@KRB5_TRUE@xnlock_DEPENDENCIES =  \
+-@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
+-@KRB4_TRUE@@KRB5_FALSE@xnlock_DEPENDENCIES =  \
+-@KRB4_TRUE@@KRB5_FALSE@$(top_builddir)/lib/kafs/libkafs.la
+-@KRB4_TRUE@@KRB5_TRUE@xnlock_DEPENDENCIES =  \
+-@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/kafs/libkafs.la \
+-@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
+-xnlock_LDFLAGS = 
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  xnlock.c
+-man1dir = $(mandir)/man1
+-MANS = $(man_MANS)
+-depcomp = 
+-DIST_COMMON =  README ChangeLog Makefile.am Makefile.in
+-
+-
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++DIST_SOURCES = xnlock.c
+ 
+-GZIP_ENV = --best
++NROFF = nroff
++MANS = $(man_MANS)
++DIST_COMMON = README ChangeLog Makefile.am Makefile.in
+ SOURCES = xnlock.c
+-OBJECTS = xnlock.$(OBJEXT)
+ 
+-all: all-redirect
++all: all-am
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/xnlock/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+-
+ 
+-mostlyclean-binPROGRAMS:
+-
+-clean-binPROGRAMS:
+-	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
+-
+-distclean-binPROGRAMS:
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-maintainer-clean-binPROGRAMS:
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  appl/xnlock/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ install-binPROGRAMS: $(bin_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(bindir)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  if test -f $$p; then \
+-	    f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f; \
++	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  if test -f $$p \
++	     || test -f $$p1 \
++	  ; then \
++	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-binPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+-mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
++clean-binPROGRAMS:
++	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
++xnlock$(EXEEXT): $(xnlock_OBJECTS) $(xnlock_DEPENDENCIES) 
++	@rm -f xnlock$(EXEEXT)
++	$(LINK) $(xnlock_LDFLAGS) $(xnlock_OBJECTS) $(xnlock_LDADD) $(LIBS)
+ 
+-clean-compile:
++mostlyclean-compile:
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+-maintainer-clean-compile:
+-
+-mostlyclean-libtool:
+-	-rm -f *.lo
+-
+-clean-libtool:
+-	-rm -rf .libs _libs
+-
+-distclean-libtool:
+-
+-maintainer-clean-libtool:
+-
+-xnlock$(EXEEXT): $(xnlock_OBJECTS) $(xnlock_DEPENDENCIES)
+-	@rm -f xnlock$(EXEEXT)
+-	$(LINK) $(xnlock_LDFLAGS) $(xnlock_OBJECTS) $(xnlock_LDADD) $(LIBS)
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
++
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
++uninstall-info-am:
+ 
+-install-man1:
++man1dir = $(mandir)/man1
++install-man1: $(man1_MANS) $(man_MANS)
++	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(man1dir)
+-	@list='$(man1_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.1*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -352,10 +352,11 @@
+ 	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
+ 	  $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
+ 	done
+-
+ uninstall-man1:
+-	@list='$(man1_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@$(NORMAL_UNINSTALL)
++	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.1*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -368,12 +369,6 @@
+ 	  echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
+ 	  rm -f $(DESTDIR)$(man1dir)/$$inst; \
+ 	done
+-install-man: $(MANS)
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-man1
+-uninstall-man:
+-	@$(NORMAL_UNINSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) uninstall-man1
+ 
+ tags: TAGS
+ 
+@@ -402,22 +397,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -427,86 +423,94 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-install-exec-am: install-binPROGRAMS
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++all-am: Makefile $(PROGRAMS) $(MANS) all-local
+ 
+-install-data-am: install-man install-data-local
+-install-data: install-data-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(man1dir)
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am: uninstall-binPROGRAMS uninstall-man
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(PROGRAMS) $(MANS) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-binPROGRAMS mostlyclean-compile \
+-		mostlyclean-libtool mostlyclean-tags \
+-		mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am
+ 
+-clean-am:  clean-binPROGRAMS clean-compile clean-libtool clean-tags \
+-		clean-generic mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-binPROGRAMS distclean-compile distclean-libtool \
+-		distclean-tags distclean-generic clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-binPROGRAMS \
+-		maintainer-clean-compile maintainer-clean-libtool \
+-		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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local install-man
++
++install-exec-am: install-binPROGRAMS
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man: install-man1
++
++installcheck-am:
+ 
+ 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 mostlyclean-libtool distclean-libtool \
+-clean-libtool maintainer-clean-libtool install-man1 uninstall-man1 \
+-install-man uninstall-man tags mostlyclean-tags distclean-tags \
+-clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi \
+-check-local check check-am installcheck-am installcheck install-exec-am \
+-install-exec install-data-local install-data-am install-data install-am \
+-install uninstall-am uninstall all-local all-redirect all-am all \
+-install-strip installdirs mostlyclean-generic distclean-generic \
+-clean-generic maintainer-clean-generic clean mostlyclean distclean \
+-maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-binPROGRAMS uninstall-info-am uninstall-man
++
++uninstall-man: uninstall-man1
++
++.PHONY: GTAGS all all-am all-local check check-am check-local clean \
++	clean-binPROGRAMS clean-generic clean-libtool distclean \
++	distclean-compile distclean-generic distclean-libtool \
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-binPROGRAMS install-data install-data-am \
++	install-data-local install-exec install-exec-am install-info \
++	install-info-am install-man install-man1 install-strip \
++	installcheck installcheck-am installdirs maintainer-clean \
++	maintainer-clean-generic mostlyclean mostlyclean-compile \
++	mostlyclean-generic mostlyclean-libtool tags uninstall \
++	uninstall-am uninstall-binPROGRAMS uninstall-info-am \
++	uninstall-man uninstall-man1
+ 
+ 
+ install-suid-programs:
+@@ -636,7 +640,6 @@
+ 	  echo "$$dashes"; \
+ 	  test "$$failed" -eq 0; \
+ 	fi
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/autom4te.cache/output.0 heimdal-0.4e/autom4te.cache/output.0
+--- heimdal-0.4e-old/autom4te.cache/output.0	Thu Jan  1 10:00:00 1970
++++ heimdal-0.4e/autom4te.cache/output.0	Sat Jun 15 19:35:13 2002
+@@ -0,0 +1,33036 @@
++@%:@! /bin/sh
++@%:@ From configure.in Revision: 1.302 .
++@%:@ Guess values for system-dependent variables and create Makefiles.
++@%:@ Generated by GNU Autoconf 2.53 for heimdal 0.4e.
++@%:@
++@%:@ Report bugs to <heimdal-bugs@pdc.kth.se>.
++@%:@ 
++@%:@ Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
++@%:@ Free Software Foundation, Inc.
++@%:@ This configure script is free software; the Free Software Foundation
++@%:@ gives unlimited permission to copy, distribute and modify it.
++
++# Find the correct PATH separator.  Usually this is `:', but
++# DJGPP uses `;' like DOS.
++if test "X${PATH_SEPARATOR+set}" != Xset; then
++  UNAME=${UNAME-`uname 2>/dev/null`}
++  case X$UNAME in
++    *-DOS) lt_cv_sys_path_separator=';' ;;
++    *)     lt_cv_sys_path_separator=':' ;;
++  esac
++  PATH_SEPARATOR=$lt_cv_sys_path_separator
++fi
++
++
++# Check that we are running under the correct shell.
++SHELL=${CONFIG_SHELL-/bin/sh}
++
++case X$ECHO in
++X*--fallback-echo)
++  # Remove one level of quotation (which was required for Make).
++  ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
++  ;;
++esac
++
++echo=${ECHO-echo}
++if test "X$1" = X--no-reexec; then
++  # Discard the --no-reexec flag, and continue.
++  shift
++elif test "X$1" = X--fallback-echo; then
++  # Avoid inline document here, it may be left over
++  :
++elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
++  # Yippee, $echo works!
++  :
++else
++  # Restart under the correct shell.
++  exec $SHELL "$0" --no-reexec ${1+"$@"}
++fi
++
++if test "X$1" = X--fallback-echo; then
++  # used as fallback echo
++  shift
++  cat <<EOF
++
++EOF
++  exit 0
++fi
++
++# The HP-UX ksh and POSIX shell print the target directory to stdout
++# if CDPATH is set.
++if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
++
++if test -z "$ECHO"; then
++if test "X${echo_test_string+set}" != Xset; then
++# find a string as large as possible, as long as the shell can cope with it
++  for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
++    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
++    if (echo_test_string="`eval $cmd`") 2>/dev/null &&
++       echo_test_string="`eval $cmd`" &&
++       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
++    then
++      break
++    fi
++  done
++fi
++
++if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
++   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
++   test "X$echo_testing_string" = "X$echo_test_string"; then
++  :
++else
++  # The Solaris, AIX, and Digital Unix default echo programs unquote
++  # backslashes.  This makes it impossible to quote backslashes using
++  #   echo "$something" | sed 's/\\/\\\\/g'
++  #
++  # So, first we look for a working echo in the user's PATH.
++
++  IFS="${IFS= 	}"; save_ifs="$IFS"; IFS=$PATH_SEPARATOR
++  for dir in $PATH /usr/ucb; do
++    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
++       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
++       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
++       test "X$echo_testing_string" = "X$echo_test_string"; then
++      echo="$dir/echo"
++      break
++    fi
++  done
++  IFS="$save_ifs"
++
++  if test "X$echo" = Xecho; then
++    # We didn't find a better echo, so look for alternatives.
++    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
++       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
++       test "X$echo_testing_string" = "X$echo_test_string"; then
++      # This shell has a builtin print -r that does the trick.
++      echo='print -r'
++    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
++	 test "X$CONFIG_SHELL" != X/bin/ksh; then
++      # If we have ksh, try running configure again with it.
++      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
++      export ORIGINAL_CONFIG_SHELL
++      CONFIG_SHELL=/bin/ksh
++      export CONFIG_SHELL
++      exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
++    else
++      # Try using printf.
++      echo='printf %s\n'
++      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
++	 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
++	 test "X$echo_testing_string" = "X$echo_test_string"; then
++	# Cool, printf works
++	:
++      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
++	   test "X$echo_testing_string" = 'X\t' &&
++	   echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
++	   test "X$echo_testing_string" = "X$echo_test_string"; then
++	CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
++	export CONFIG_SHELL
++	SHELL="$CONFIG_SHELL"
++	export SHELL
++	echo="$CONFIG_SHELL $0 --fallback-echo"
++      elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
++	   test "X$echo_testing_string" = 'X\t' &&
++	   echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
++	   test "X$echo_testing_string" = "X$echo_test_string"; then
++	echo="$CONFIG_SHELL $0 --fallback-echo"
++      else
++	# maybe with a smaller string...
++	prev=:
++
++	for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
++	  if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
++	  then
++	    break
++	  fi
++	  prev="$cmd"
++	done
++
++	if test "$prev" != 'sed 50q "$0"'; then
++	  echo_test_string=`eval $prev`
++	  export echo_test_string
++	  exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
++	else
++	  # Oops.  We lost completely, so just stick with echo.
++	  echo=echo
++	fi
++      fi
++    fi
++  fi
++fi
++fi
++
++# Copy echo and quote the copy suitably for passing to libtool from
++# the Makefile, instead of quoting the original, which is used later.
++ECHO=$echo
++if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
++   ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
++fi
++
++
++
++if expr a : '\(a\)' >/dev/null 2>&1; then
++  as_expr=expr
++else
++  as_expr=false
++fi
++
++
++## --------------------- ##
++## M4sh Initialization.  ##
++## --------------------- ##
++
++# Be Bourne compatible
++if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
++  emulate sh
++  NULLCMD=:
++elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
++  set -o posix
++fi
++
++# NLS nuisances.
++# Support unset when possible.
++if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
++  as_unset=unset
++else
++  as_unset=false
++fi
++
++(set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
++    { $as_unset LANG || test "${LANG+set}" != set; } ||
++      { LANG=C; export LANG; }
++(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
++    { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
++      { LC_ALL=C; export LC_ALL; }
++(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
++    { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
++      { LC_TIME=C; export LC_TIME; }
++(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
++    { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
++      { LC_CTYPE=C; export LC_CTYPE; }
++(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
++    { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
++      { LANGUAGE=C; export LANGUAGE; }
++(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
++    { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
++      { LC_COLLATE=C; export LC_COLLATE; }
++(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
++    { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
++      { LC_NUMERIC=C; export LC_NUMERIC; }
++(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
++    { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
++      { LC_MESSAGES=C; export LC_MESSAGES; }
++
++
++# Name of the executable.
++as_me=`(basename "$0") 2>/dev/null ||
++$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
++	 X"$0" : 'X\(//\)$' \| \
++	 X"$0" : 'X\(/\)$' \| \
++	 .     : '\(.\)' 2>/dev/null ||
++echo X/"$0" |
++    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
++  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
++  	  /^X\/\(\/\).*/{ s//\1/; q; }
++  	  s/.*/./; q'`
++
++# PATH needs CR, and LINENO needs CR and PATH.
++# Avoid depending upon Character Ranges.
++as_cr_letters='abcdefghijklmnopqrstuvwxyz'
++as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
++as_cr_Letters=$as_cr_letters$as_cr_LETTERS
++as_cr_digits='0123456789'
++as_cr_alnum=$as_cr_Letters$as_cr_digits
++
++# The user is always right.
++if test "${PATH_SEPARATOR+set}" != set; then
++  echo "#! /bin/sh" >conftest.sh
++  echo  "exit 0"   >>conftest.sh
++  chmod +x conftest.sh
++  if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
++    PATH_SEPARATOR=';'
++  else
++    PATH_SEPARATOR=:
++  fi
++  rm -f conftest.sh
++fi
++
++
++  as_lineno_1=$LINENO
++  as_lineno_2=$LINENO
++  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
++  test "x$as_lineno_1" != "x$as_lineno_2" &&
++  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
++  # Find who we are.  Look in the path if we contain no path at all
++  # relative or not.
++  case $0 in
++    *[\\/]* ) as_myself=$0 ;;
++    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
++done
++
++       ;;
++  esac
++  # We did not find ourselves, most probably we were run as `sh COMMAND'
++  # in which case we are not to be found in the path.
++  if test "x$as_myself" = x; then
++    as_myself=$0
++  fi
++  if test ! -f "$as_myself"; then
++    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
++   { (exit 1); exit 1; }; }
++  fi
++  case $CONFIG_SHELL in
++  '')
++    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for as_base in sh bash ksh sh5; do
++	 case $as_dir in
++	 /*)
++	   if ("$as_dir/$as_base" -c '
++  as_lineno_1=$LINENO
++  as_lineno_2=$LINENO
++  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
++  test "x$as_lineno_1" != "x$as_lineno_2" &&
++  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
++	     CONFIG_SHELL=$as_dir/$as_base
++	     export CONFIG_SHELL
++	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
++	   fi;;
++	 esac
++       done
++done
++;;
++  esac
++
++  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
++  # uniformly replaced by the line number.  The first 'sed' inserts a
++  # line-number line before each line; the second 'sed' does the real
++  # work.  The second script uses 'N' to pair each line-number line
++  # with the numbered line, and appends trailing '-' during
++  # substitution so that $LINENO is not a special case at line end.
++  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
++  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
++  sed '=' <$as_myself |
++    sed '
++      N
++      s,$,-,
++      : loop
++      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
++      t loop
++      s,-$,,
++      s,^['$as_cr_digits']*\n,,
++    ' >$as_me.lineno &&
++  chmod +x $as_me.lineno ||
++    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
++   { (exit 1); exit 1; }; }
++
++  # Don't try to exec as it changes $[0], causing all sort of problems
++  # (the dirname of $[0] is not the place where we might find the
++  # original and so on.  Autoconf is especially sensible to this).
++  . ./$as_me.lineno
++  # Exit status is that of the last command.
++  exit
++}
++
++
++case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
++  *c*,-n*) ECHO_N= ECHO_C='
++' ECHO_T='	' ;;
++  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
++  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
++esac
++
++if expr a : '\(a\)' >/dev/null 2>&1; then
++  as_expr=expr
++else
++  as_expr=false
++fi
++
++rm -f conf$$ conf$$.exe conf$$.file
++echo >conf$$.file
++if ln -s conf$$.file conf$$ 2>/dev/null; then
++  # We could just check for DJGPP; but this test a) works b) is more generic
++  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
++  if test -f conf$$.exe; then
++    # Don't use ln at all; we don't have any links
++    as_ln_s='cp -p'
++  else
++    as_ln_s='ln -s'
++  fi
++elif ln conf$$.file conf$$ 2>/dev/null; then
++  as_ln_s=ln
++else
++  as_ln_s='cp -p'
++fi
++rm -f conf$$ conf$$.exe conf$$.file
++
++as_executable_p="test -f"
++
++# Sed expression to map a string onto a valid CPP name.
++as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
++
++# Sed expression to map a string onto a valid variable name.
++as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
++
++
++# IFS
++# We need space, tab and new line, in precisely that order.
++as_nl='
++'
++IFS=" 	$as_nl"
++
++# CDPATH.
++$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
++
++
++# Name of the host.
++# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
++# so uname gets run too.
++ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
++
++exec 6>&1
++
++#
++# Initializations.
++#
++ac_default_prefix=/usr/local
++cross_compiling=no
++subdirs=
++MFLAGS=
++MAKEFLAGS=
++SHELL=${CONFIG_SHELL-/bin/sh}
++
++# Maximum number of lines to put in a shell here document.
++# This variable seems obsolete.  It should probably be removed, and
++# only ac_max_sed_lines should be used.
++: ${ac_max_here_lines=38}
++
++# Identity of this package.
++PACKAGE_NAME='heimdal'
++PACKAGE_TARNAME='heimdal'
++PACKAGE_VERSION='0.4e'
++PACKAGE_STRING='heimdal 0.4e'
++PACKAGE_BUGREPORT='heimdal-bugs@pdc.kth.se'
++
++ac_default_prefix=/usr/heimdal
++# Factoring default headers for most tests.
++ac_includes_default="\
++#include <stdio.h>
++#if HAVE_SYS_TYPES_H
++# include <sys/types.h>
++#endif
++#if HAVE_SYS_STAT_H
++# include <sys/stat.h>
++#endif
++#if STDC_HEADERS
++# include <stdlib.h>
++# include <stddef.h>
++#else
++# if HAVE_STDLIB_H
++#  include <stdlib.h>
++# endif
++#endif
++#if HAVE_STRING_H
++# if !STDC_HEADERS && HAVE_MEMORY_H
++#  include <memory.h>
++# endif
++# include <string.h>
++#endif
++#if HAVE_STRINGS_H
++# include <strings.h>
++#endif
++#if HAVE_INTTYPES_H
++# include <inttypes.h>
++#else
++# if HAVE_STDINT_H
++#  include <stdint.h>
++# endif
++#endif
++#if HAVE_UNISTD_H
++# include <unistd.h>
++#endif"
++
++
++# Initialize some variables set by options.
++ac_init_help=
++ac_init_version=false
++# The variables have the same names as the options, with
++# dashes changed to underlines.
++cache_file=/dev/null
++exec_prefix=NONE
++no_create=
++no_recursion=
++prefix=NONE
++program_prefix=NONE
++program_suffix=NONE
++program_transform_name=s,x,x,
++silent=
++site=
++srcdir=
++verbose=
++x_includes=NONE
++x_libraries=NONE
++
++# Installation directory options.
++# These are left unexpanded so users can "make install exec_prefix=/foo"
++# and all the variables that are supposed to be based on exec_prefix
++# by default will actually change.
++# Use braces instead of parens because sh, perl, etc. also accept them.
++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'
++
++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
++
++  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
++
++  # 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_alias ;;
++  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
++    build_alias=$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 ;;
++
++  --config-cache | -C)
++    cache_file=config.cache ;;
++
++  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
++    ac_prev=datadir ;;
++  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
++  | --da=*)
++    datadir=$ac_optarg ;;
++
++  -disable-* | --disable-*)
++    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
++    # Reject names that are not valid shell variable names.
++    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
++      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
++   { (exit 1); exit 1; }; }
++    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
++    eval "enable_$ac_feature=no" ;;
++
++  -enable-* | --enable-*)
++    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
++    # Reject names that are not valid shell variable names.
++    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
++      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
++   { (exit 1); exit 1; }; }
++    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
++    case $ac_option in
++      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
++      *) 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 | -h)
++    ac_init_help=long ;;
++  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
++    ac_init_help=recursive ;;
++  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
++    ac_init_help=short ;;
++
++  -host | --host | --hos | --ho)
++    ac_prev=host_alias ;;
++  -host=* | --host=* | --hos=* | --ho=*)
++    host_alias=$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 | -n)
++    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_alias ;;
++  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
++    target_alias=$ac_optarg ;;
++
++  -v | -verbose | --verbose | --verbos | --verbo | --verb)
++    verbose=yes ;;
++
++  -version | --version | --versio | --versi | --vers | -V)
++    ac_init_version=: ;;
++
++  -with-* | --with-*)
++    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
++    # Reject names that are not valid shell variable names.
++    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
++      { echo "$as_me: error: invalid package name: $ac_package" >&2
++   { (exit 1); exit 1; }; }
++    ac_package=`echo $ac_package| sed 's/-/_/g'`
++    case $ac_option in
++      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
++      *) ac_optarg=yes ;;
++    esac
++    eval "with_$ac_package='$ac_optarg'" ;;
++
++  -without-* | --without-*)
++    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
++    # Reject names that are not valid shell variable names.
++    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
++      { echo "$as_me: error: invalid package name: $ac_package" >&2
++   { (exit 1); exit 1; }; }
++    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 "$as_me: error: unrecognized option: $ac_option
++Try \`$0 --help' for more information." >&2
++   { (exit 1); exit 1; }; }
++    ;;
++
++  *=*)
++    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
++    # Reject names that are not valid shell variable names.
++    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
++      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
++   { (exit 1); exit 1; }; }
++    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
++    eval "$ac_envvar='$ac_optarg'"
++    export $ac_envvar ;;
++
++  *)
++    # FIXME: should be removed in autoconf 3.0.
++    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
++    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
++      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
++    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
++    ;;
++
++  esac
++done
++
++if test -n "$ac_prev"; then
++  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
++  { echo "$as_me: error: missing argument to $ac_option" >&2
++   { (exit 1); exit 1; }; }
++fi
++
++# Be sure to have absolute paths.
++for ac_var in exec_prefix prefix
++do
++  eval ac_val=$`echo $ac_var`
++  case $ac_val in
++    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
++    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
++   { (exit 1); exit 1; }; };;
++  esac
++done
++
++# Be sure to have absolute paths.
++for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
++              localstatedir libdir includedir oldincludedir infodir mandir
++do
++  eval ac_val=$`echo $ac_var`
++  case $ac_val in
++    [\\/$]* | ?:[\\/]* ) ;;
++    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
++   { (exit 1); exit 1; }; };;
++  esac
++done
++
++# There might be people who depend on the old broken behavior: `$host'
++# used to hold the argument of --host etc.
++# FIXME: To remove some day.
++build=$build_alias
++host=$host_alias
++target=$target_alias
++
++# FIXME: To remove some day.
++if test "x$host_alias" != x; then
++  if test "x$build_alias" = x; then
++    cross_compiling=maybe
++    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
++    If a cross compiler is detected then cross compile mode will be used." >&2
++  elif test "x$build_alias" != "x$host_alias"; then
++    cross_compiling=yes
++  fi
++fi
++
++ac_tool_prefix=
++test -n "$host_alias" && ac_tool_prefix=$host_alias-
++
++test "$silent" = yes && exec 6>/dev/null
++
++
++# 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_confdir=`(dirname "$0") 2>/dev/null ||
++$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++         X"$0" : 'X\(//\)[^/]' \| \
++         X"$0" : 'X\(//\)$' \| \
++         X"$0" : 'X\(/\)' \| \
++         .     : '\(.\)' 2>/dev/null ||
++echo X"$0" |
++    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
++  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
++  	  /^X\(\/\/\)$/{ s//\1/; q; }
++  	  /^X\(\/\).*/{ s//\1/; q; }
++  	  s/.*/./; q'`
++  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 "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
++   { (exit 1); exit 1; }; }
++  else
++    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
++   { (exit 1); exit 1; }; }
++  fi
++fi
++srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
++ac_env_build_alias_set=${build_alias+set}
++ac_env_build_alias_value=$build_alias
++ac_cv_env_build_alias_set=${build_alias+set}
++ac_cv_env_build_alias_value=$build_alias
++ac_env_host_alias_set=${host_alias+set}
++ac_env_host_alias_value=$host_alias
++ac_cv_env_host_alias_set=${host_alias+set}
++ac_cv_env_host_alias_value=$host_alias
++ac_env_target_alias_set=${target_alias+set}
++ac_env_target_alias_value=$target_alias
++ac_cv_env_target_alias_set=${target_alias+set}
++ac_cv_env_target_alias_value=$target_alias
++ac_env_CC_set=${CC+set}
++ac_env_CC_value=$CC
++ac_cv_env_CC_set=${CC+set}
++ac_cv_env_CC_value=$CC
++ac_env_CFLAGS_set=${CFLAGS+set}
++ac_env_CFLAGS_value=$CFLAGS
++ac_cv_env_CFLAGS_set=${CFLAGS+set}
++ac_cv_env_CFLAGS_value=$CFLAGS
++ac_env_LDFLAGS_set=${LDFLAGS+set}
++ac_env_LDFLAGS_value=$LDFLAGS
++ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
++ac_cv_env_LDFLAGS_value=$LDFLAGS
++ac_env_CPPFLAGS_set=${CPPFLAGS+set}
++ac_env_CPPFLAGS_value=$CPPFLAGS
++ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
++ac_cv_env_CPPFLAGS_value=$CPPFLAGS
++ac_env_CPP_set=${CPP+set}
++ac_env_CPP_value=$CPP
++ac_cv_env_CPP_set=${CPP+set}
++ac_cv_env_CPP_value=$CPP
++
++#
++# Report the --help message.
++#
++if test "$ac_init_help" = "long"; then
++  # 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 <<_ACEOF
++\`configure' configures heimdal 0.4e to adapt to many kinds of systems.
++
++Usage: $0 [OPTION]... [VAR=VALUE]...
++
++To assign environment variables (e.g., CC, CFLAGS...), specify them as
++VAR=VALUE.  See below for descriptions of some of the useful variables.
++
++Defaults for the options are specified in brackets.
++
++Configuration:
++  -h, --help              display this help and exit
++      --help=short        display options specific to this package
++      --help=recursive    display the short help of all the included packages
++  -V, --version           display version information and exit
++  -q, --quiet, --silent   do not print \`checking...' messages
++      --cache-file=FILE   cache test results in FILE [disabled]
++  -C, --config-cache      alias for \`--cache-file=config.cache'
++  -n, --no-create         do not create output files
++      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
++
++_ACEOF
++
++  cat <<_ACEOF
++Installation directories:
++  --prefix=PREFIX         install architecture-independent files in PREFIX
++                          [$ac_default_prefix]
++  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
++                          [PREFIX]
++
++By default, \`make install' will install all the files in
++\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
++an installation prefix other than \`$ac_default_prefix' using \`--prefix',
++for instance \`--prefix=\$HOME'.
++
++For better control, use the options below.
++
++Fine tuning of the installation directories:
++  --bindir=DIR           user executables [EPREFIX/bin]
++  --sbindir=DIR          system admin executables [EPREFIX/sbin]
++  --libexecdir=DIR       program executables [EPREFIX/libexec]
++  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
++  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
++  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
++  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
++  --libdir=DIR           object code libraries [EPREFIX/lib]
++  --includedir=DIR       C header files [PREFIX/include]
++  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
++  --infodir=DIR          info documentation [PREFIX/info]
++  --mandir=DIR           man documentation [PREFIX/man]
++_ACEOF
++
++  cat <<\_ACEOF
++
++Program names:
++  --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
++
++X features:
++  --x-includes=DIR    X include files are in DIR
++  --x-libraries=DIR   X library files are in DIR
++
++System types:
++  --build=BUILD     configure for building on BUILD [guessed]
++  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
++_ACEOF
++fi
++
++if test -n "$ac_init_help"; then
++  case $ac_init_help in
++     short | recursive ) echo "Configuration of heimdal 0.4e:";;
++   esac
++  cat <<\_ACEOF
++
++Optional Features:
++  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
++  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
++  --enable-maintainer-mode enable make rules and dependencies not useful
++                          (and sometimes confusing) to the casual installer
++  --disable-dependency-tracking Speeds up one-time builds
++  --enable-dependency-tracking  Do not reject slow dependency extractors
++  --enable-shared=PKGS  build shared libraries default=no
++  --enable-static=PKGS  build static libraries default=yes
++  --enable-fast-install=PKGS  optimize for fast installation default=yes
++  --disable-libtool-lock  avoid locking (might break parallel builds)
++  --enable-dce	if you want support for DCE/DFS PAG's.
++  --disable-otp          if you don't want OTP support
++  --enable-osfc2          enable some OSF C2 support
++  --enable-bigendian	the target is big endian
++  --enable-littleendian	the target is little endian
++  --enable-netinfo      enable netinfo for configuration lookup
++
++Optional Packages:
++  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
++  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
++  --with-mips-abi=abi     ABI to use for IRIX (32, n32, or 64)
++  --with-gnu-ld           assume the C compiler uses GNU ld default=no
++  --with-pic              try to use only PIC/non-PIC objects default=use both
++  --without-berkeley-db   if you don't want berkeley db
++  --with-roken=dir	use the roken library in dir
++  --without-ipv6	do not enable IPv6 support
++  --with-openldap=dir                use openldap in dir
++  --with-openldap-lib=dir            use openldap libraries in dir
++  --with-openldap-include=dir        use openldap headers in dir
++  --with-krb4=dir                use krb4 in dir
++  --with-krb4-lib=dir            use krb4 libraries in dir
++  --with-krb4-include=dir        use krb4 headers in dir
++  --with-readline=dir                use readline in dir
++  --with-readline-lib=dir            use readline libraries in dir
++  --with-readline-include=dir        use readline headers in dir
++  --with-hesiod=dir                use hesiod in dir
++  --with-hesiod-lib=dir            use hesiod libraries in dir
++  --with-hesiod-include=dir        use hesiod headers in dir
++  --with-sl=dir                use sl in dir
++  --with-sl-lib=dir            use sl libraries in dir
++  --with-sl-include=dir        use sl headers in dir
++  --with-ss=dir                use ss in dir
++  --with-ss-lib=dir            use ss libraries in dir
++  --with-ss-include=dir        use ss headers in dir
++  --with-otp=dir                use otp in dir
++  --with-otp-lib=dir            use otp libraries in dir
++  --with-otp-include=dir        use otp headers in dir
++  --with-x                use the X Window System
++  --with-openssl=dir      use openssl in dir
++  --with-openssl-lib=dir  use openssl libraries in dir
++  --with-openssl-include=dir 
++                          use openssl headers in dir
++
++Some influential environment variables:
++  CC          C compiler command
++  CFLAGS      C compiler flags
++  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
++              nonstandard directory <lib dir>
++  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
++              headers in a nonstandard directory <include dir>
++  CPP         C preprocessor
++
++Use these variables to override the choices made by `configure' or to help
++it to find libraries and programs with nonstandard names/locations.
++
++Report bugs to <heimdal-bugs@pdc.kth.se>.
++_ACEOF
++fi
++
++if test "$ac_init_help" = "recursive"; then
++  # If there are subdirs, report their specific --help.
++  ac_popdir=`pwd`
++  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
++    test -d $ac_dir || continue
++    ac_builddir=.
++
++if test "$ac_dir" != .; then
++  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
++  # A "../" for each directory in $ac_dir_suffix.
++  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
++else
++  ac_dir_suffix= ac_top_builddir=
++fi
++
++case $srcdir in
++  .)  # No --srcdir option.  We are building in place.
++    ac_srcdir=.
++    if test -z "$ac_top_builddir"; then
++       ac_top_srcdir=.
++    else
++       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
++    fi ;;
++  [\\/]* | ?:[\\/]* )  # Absolute path.
++    ac_srcdir=$srcdir$ac_dir_suffix;
++    ac_top_srcdir=$srcdir ;;
++  *) # Relative path.
++    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
++    ac_top_srcdir=$ac_top_builddir$srcdir ;;
++esac
++# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
++# absolute.
++ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
++ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
++ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
++ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
++
++    cd $ac_dir
++    # Check for guested configure; otherwise get Cygnus style configure.
++    if test -f $ac_srcdir/configure.gnu; then
++      echo
++      $SHELL $ac_srcdir/configure.gnu  --help=recursive
++    elif test -f $ac_srcdir/configure; then
++      echo
++      $SHELL $ac_srcdir/configure  --help=recursive
++    elif test -f $ac_srcdir/configure.ac ||
++           test -f $ac_srcdir/configure.in; then
++      echo
++      $ac_configure --help
++    else
++      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
++    fi
++    cd $ac_popdir
++  done
++fi
++
++test -n "$ac_init_help" && exit 0
++if $ac_init_version; then
++  cat <<\_ACEOF
++heimdal configure 0.4e
++generated by GNU Autoconf 2.53
++
++Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
++Free Software Foundation, Inc.
++This configure script is free software; the Free Software Foundation
++gives unlimited permission to copy, distribute and modify it.
++_ACEOF
++  exit 0
++fi
++exec 5>config.log
++cat >&5 <<_ACEOF
++This file contains any messages produced by compilers while
++running configure, to aid debugging if configure makes a mistake.
++
++It was created by heimdal $as_me 0.4e, which was
++generated by GNU Autoconf 2.53.  Invocation command line was
++
++  $ $0 $@
++
++_ACEOF
++{
++cat <<_ASUNAME
++@%:@@%:@ --------- @%:@@%:@
++@%:@@%:@ Platform. @%:@@%:@
++@%:@@%:@ --------- @%:@@%:@
++
++hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
++uname -m = `(uname -m) 2>/dev/null || echo unknown`
++uname -r = `(uname -r) 2>/dev/null || echo unknown`
++uname -s = `(uname -s) 2>/dev/null || echo unknown`
++uname -v = `(uname -v) 2>/dev/null || echo unknown`
++
++/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
++/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
++
++/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
++/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
++/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
++hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
++/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
++/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
++/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
++
++_ASUNAME
++
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  echo "PATH: $as_dir"
++done
++
++} >&5
++
++cat >&5 <<_ACEOF
++
++
++@%:@@%:@ ----------- @%:@@%:@
++@%:@@%:@ Core tests. @%:@@%:@
++@%:@@%:@ ----------- @%:@@%:@
++
++_ACEOF
++
++
++# Keep a trace of the command line.
++# Strip out --no-create and --no-recursion so they do not pile up.
++# Also quote any args containing shell meta-characters.
++ac_configure_args=
++ac_sep=
++for ac_arg
++do
++  case $ac_arg in
++  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
++  | --no-cr | --no-c | -n ) continue ;;
++  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
++  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
++    continue ;;
++  *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
++    ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
++  esac
++  case " $ac_configure_args " in
++    *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
++    *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
++       ac_sep=" " ;;
++  esac
++  # Get rid of the leading space.
++done
++
++# When interrupted or exit'd, cleanup temporary files, and complete
++# config.log.  We remove comments because anyway the quotes in there
++# would cause problems or look ugly.
++# WARNING: Be sure not to use single quotes in there, as some shells,
++# such as our DU 5.0 friend, will then `close' the trap.
++trap 'exit_status=$?
++  # Save into config.log some information that might help in debugging.
++  {
++    echo
++    cat <<\_ASBOX
++@%:@@%:@ ---------------- @%:@@%:@
++@%:@@%:@ Cache variables. @%:@@%:@
++@%:@@%:@ ---------------- @%:@@%:@
++_ASBOX
++    echo
++    # The following way of writing the cache mishandles newlines in values,
++{
++  (set) 2>&1 |
++    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
++    *ac_space=\ *)
++      sed -n \
++        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
++    	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
++      ;;
++    *)
++      sed -n \
++        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
++      ;;
++    esac;
++}
++    echo
++    if test -s confdefs.h; then
++      cat <<\_ASBOX
++@%:@@%:@ ----------- @%:@@%:@
++@%:@@%:@ confdefs.h. @%:@@%:@
++@%:@@%:@ ----------- @%:@@%:@
++_ASBOX
++      echo
++      sed "/^$/d" confdefs.h
++      echo
++    fi
++    test "$ac_signal" != 0 &&
++      echo "$as_me: caught signal $ac_signal"
++    echo "$as_me: exit $exit_status"
++  } >&5
++  rm -f core core.* *.core &&
++  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
++    exit $exit_status
++     ' 0
++for ac_signal in 1 2 13 15; do
++  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
++done
++ac_signal=0
++
++# 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
++
++# Predefined preprocessor variables.
++
++cat >>confdefs.h <<_ACEOF
++@%:@define PACKAGE_NAME "$PACKAGE_NAME"
++_ACEOF
++
++
++cat >>confdefs.h <<_ACEOF
++@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
++_ACEOF
++
++
++cat >>confdefs.h <<_ACEOF
++@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
++_ACEOF
++
++
++cat >>confdefs.h <<_ACEOF
++@%:@define PACKAGE_STRING "$PACKAGE_STRING"
++_ACEOF
++
++
++cat >>confdefs.h <<_ACEOF
++@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
++_ACEOF
++
++
++# Let the site file select an alternate cache file if it wants to.
++# 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 "$as_me:$LINENO: loading site script $ac_site_file" >&5
++echo "$as_me: loading site script $ac_site_file" >&6;}
++    sed 's/^/| /' "$ac_site_file" >&5
++    . "$ac_site_file"
++  fi
++done
++
++if test -r "$cache_file"; then
++  # Some versions of bash will fail to source /dev/null (special
++  # files actually), so we avoid doing that.
++  if test -f "$cache_file"; then
++    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
++echo "$as_me: loading cache $cache_file" >&6;}
++    case $cache_file in
++      [\\/]* | ?:[\\/]* ) . $cache_file;;
++      *)                      . ./$cache_file;;
++    esac
++  fi
++else
++  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
++echo "$as_me: creating cache $cache_file" >&6;}
++  >$cache_file
++fi
++
++# Check that the precious variables saved in the cache have kept the same
++# value.
++ac_cache_corrupted=false
++for ac_var in `(set) 2>&1 |
++               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
++  eval ac_old_set=\$ac_cv_env_${ac_var}_set
++  eval ac_new_set=\$ac_env_${ac_var}_set
++  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
++  eval ac_new_val="\$ac_env_${ac_var}_value"
++  case $ac_old_set,$ac_new_set in
++    set,)
++      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
++echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
++      ac_cache_corrupted=: ;;
++    ,set)
++      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
++echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
++      ac_cache_corrupted=: ;;
++    ,);;
++    *)
++      if test "x$ac_old_val" != "x$ac_new_val"; then
++        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
++echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
++        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
++echo "$as_me:   former value:  $ac_old_val" >&2;}
++        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
++echo "$as_me:   current value: $ac_new_val" >&2;}
++        ac_cache_corrupted=:
++      fi;;
++  esac
++  # Pass precious variables to config.status.
++  if test "$ac_new_set" = set; then
++    case $ac_new_val in
++    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
++      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
++    *) ac_arg=$ac_var=$ac_new_val ;;
++    esac
++    case " $ac_configure_args " in
++      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
++      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
++    esac
++  fi
++done
++if $ac_cache_corrupted; then
++  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
++echo "$as_me: error: changes in the environment can compromise the build" >&2;}
++  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
++echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
++   { (exit 1); exit 1; }; }
++fi
++
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
++echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
++    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
++if test "${enable_maintainer_mode+set}" = set; then
++  enableval="$enable_maintainer_mode"
++  USE_MAINTAINER_MODE=$enableval
++else
++  USE_MAINTAINER_MODE=no
++fi; 
++  echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
++echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
++  
++
++if test $USE_MAINTAINER_MODE = yes; then
++  MAINTAINER_MODE_TRUE=
++  MAINTAINER_MODE_FALSE='#'
++else
++  MAINTAINER_MODE_TRUE='#'
++  MAINTAINER_MODE_FALSE=
++fi
++  MAINT=$MAINTAINER_MODE_TRUE
++  
++
++	 	 
++	 	 
++		    
++		    		    		    ac_config_headers="$ac_config_headers include/config.h"
++		    
++
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++if test -n "$ac_tool_prefix"; then
++  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
++set dummy ${ac_tool_prefix}gcc; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_CC+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$CC"; then
++  ac_cv_prog_CC="$CC" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_CC="${ac_tool_prefix}gcc"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++CC=$ac_cv_prog_CC
++if test -n "$CC"; then
++  echo "$as_me:$LINENO: result: $CC" >&5
++echo "${ECHO_T}$CC" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++fi
++if test -z "$ac_cv_prog_CC"; then
++  ac_ct_CC=$CC
++  # Extract the first word of "gcc", so it can be a program name with args.
++set dummy gcc; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$ac_ct_CC"; then
++  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_ac_ct_CC="gcc"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++ac_ct_CC=$ac_cv_prog_ac_ct_CC
++if test -n "$ac_ct_CC"; then
++  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
++echo "${ECHO_T}$ac_ct_CC" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  CC=$ac_ct_CC
++else
++  CC="$ac_cv_prog_CC"
++fi
++
++if test -z "$CC"; then
++  if test -n "$ac_tool_prefix"; then
++  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
++set dummy ${ac_tool_prefix}cc; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_CC+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$CC"; then
++  ac_cv_prog_CC="$CC" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_CC="${ac_tool_prefix}cc"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++CC=$ac_cv_prog_CC
++if test -n "$CC"; then
++  echo "$as_me:$LINENO: result: $CC" >&5
++echo "${ECHO_T}$CC" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++fi
++if test -z "$ac_cv_prog_CC"; then
++  ac_ct_CC=$CC
++  # Extract the first word of "cc", so it can be a program name with args.
++set dummy cc; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$ac_ct_CC"; then
++  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_ac_ct_CC="cc"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++ac_ct_CC=$ac_cv_prog_ac_ct_CC
++if test -n "$ac_ct_CC"; then
++  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
++echo "${ECHO_T}$ac_ct_CC" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  CC=$ac_ct_CC
++else
++  CC="$ac_cv_prog_CC"
++fi
++
++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 "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_CC+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$CC"; then
++  ac_cv_prog_CC="$CC" # Let the user override the test.
++else
++  ac_prog_rejected=no
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
++       ac_prog_rejected=yes
++       continue
++     fi
++    ac_cv_prog_CC="cc"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++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 $@%:@ != 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 "$as_dir/$ac_word" ${1+"$@"}
++    shift
++    ac_cv_prog_CC="$@"
++  fi
++fi
++fi
++fi
++CC=$ac_cv_prog_CC
++if test -n "$CC"; then
++  echo "$as_me:$LINENO: result: $CC" >&5
++echo "${ECHO_T}$CC" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++fi
++if test -z "$CC"; then
++  if test -n "$ac_tool_prefix"; then
++  for ac_prog in cl
++  do
++    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
++set dummy $ac_tool_prefix$ac_prog; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_CC+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$CC"; then
++  ac_cv_prog_CC="$CC" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++CC=$ac_cv_prog_CC
++if test -n "$CC"; then
++  echo "$as_me:$LINENO: result: $CC" >&5
++echo "${ECHO_T}$CC" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++    test -n "$CC" && break
++  done
++fi
++if test -z "$CC"; then
++  ac_ct_CC=$CC
++  for ac_prog in cl
++do
++  # Extract the first word of "$ac_prog", so it can be a program name with args.
++set dummy $ac_prog; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$ac_ct_CC"; then
++  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_ac_ct_CC="$ac_prog"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++ac_ct_CC=$ac_cv_prog_ac_ct_CC
++if test -n "$ac_ct_CC"; then
++  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
++echo "${ECHO_T}$ac_ct_CC" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  test -n "$ac_ct_CC" && break
++done
++
++  CC=$ac_ct_CC
++fi
++
++fi
++
++
++test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
++echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
++   { (exit 1); exit 1; }; }
++
++# Provide some information about the compiler.
++echo "$as_me:$LINENO:" \
++     "checking for C compiler version" >&5
++ac_compiler=`set X $ac_compile; echo $2`
++{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
++  (eval $ac_compiler --version </dev/null >&5) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }
++{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
++  (eval $ac_compiler -v </dev/null >&5) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }
++{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
++  (eval $ac_compiler -V </dev/null >&5) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }
++
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++ac_clean_files_save=$ac_clean_files
++ac_clean_files="$ac_clean_files a.out a.exe"
++# Try to create an executable without -o first, disregard a.out.
++# It will help us diagnose broken compilers, and finding out an intuition
++# of exeext.
++echo "$as_me:$LINENO: checking for C compiler default output" >&5
++echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
++ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
++if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
++  (eval $ac_link_default) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; then
++  # Find the output, starting from the most likely.  This scheme is
++# not robust to junk in `.', hence go to wildcards (a.*) only as a last
++# resort.
++
++# Be careful to initialize this variable, since it used to be cached.
++# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
++ac_cv_exeext=
++for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
++                ls a.out conftest 2>/dev/null;
++                ls a.* conftest.* 2>/dev/null`; do
++  case $ac_file in
++    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;;
++    a.out ) # We found the default executable, but exeext='' is most
++            # certainly right.
++            break;;
++    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
++          # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
++          export ac_cv_exeext
++          break;;
++    * ) break;;
++  esac
++done
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++{ { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
++echo "$as_me: error: C compiler cannot create executables" >&2;}
++   { (exit 77); exit 77; }; }
++fi
++
++ac_exeext=$ac_cv_exeext
++echo "$as_me:$LINENO: result: $ac_file" >&5
++echo "${ECHO_T}$ac_file" >&6
++
++# Check the compiler produces executables we can run.  If not, either
++# the compiler is broken, or we cross compile.
++echo "$as_me:$LINENO: checking whether the C compiler works" >&5
++echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
++# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
++# If not cross compiling, check that we can run a simple program.
++if test "$cross_compiling" != yes; then
++  if { ac_try='./$ac_file'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++    cross_compiling=no
++  else
++    if test "$cross_compiling" = maybe; then
++	cross_compiling=yes
++    else
++	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
++If you meant to cross compile, use \`--host'." >&5
++echo "$as_me: error: cannot run C compiled programs.
++If you meant to cross compile, use \`--host'." >&2;}
++   { (exit 1); exit 1; }; }
++    fi
++  fi
++fi
++echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++
++rm -f a.out a.exe conftest$ac_cv_exeext
++ac_clean_files=$ac_clean_files_save
++# Check the compiler produces executables we can run.  If not, either
++# the compiler is broken, or we cross compile.
++echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
++echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
++echo "$as_me:$LINENO: result: $cross_compiling" >&5
++echo "${ECHO_T}$cross_compiling" >&6
++
++echo "$as_me:$LINENO: checking for suffix of executables" >&5
++echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; then
++  # If both `conftest.exe' and `conftest' are `present' (well, observable)
++# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
++# work properly (i.e., refer to `conftest.exe'), while it won't with
++# `rm'.
++for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
++  case $ac_file in
++    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
++    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
++          export ac_cv_exeext
++          break;;
++    * ) break;;
++  esac
++done
++else
++  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
++echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
++   { (exit 1); exit 1; }; }
++fi
++
++rm -f conftest$ac_cv_exeext
++echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
++echo "${ECHO_T}$ac_cv_exeext" >&6
++
++rm -f conftest.$ac_ext
++EXEEXT=$ac_cv_exeext
++ac_exeext=$EXEEXT
++echo "$as_me:$LINENO: checking for suffix of object files" >&5
++echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
++if test "${ac_cv_objext+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.o conftest.obj
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; then
++  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
++  case $ac_file in
++    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
++    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
++       break;;
++  esac
++done
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
++echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
++   { (exit 1); exit 1; }; }
++fi
++
++rm -f conftest.$ac_cv_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
++echo "${ECHO_T}$ac_cv_objext" >&6
++OBJEXT=$ac_cv_objext
++ac_objext=$OBJEXT
++echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
++echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
++if test "${ac_cv_c_compiler_gnu+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++#ifndef __GNUC__
++       choke me
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_compiler_gnu=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_compiler_gnu=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++ac_cv_c_compiler_gnu=$ac_compiler_gnu
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
++echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
++GCC=`test $ac_compiler_gnu = yes && echo yes`
++ac_test_CFLAGS=${CFLAGS+set}
++ac_save_CFLAGS=$CFLAGS
++CFLAGS="-g"
++echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
++echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
++if test "${ac_cv_prog_cc_g+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_prog_cc_g=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_prog_cc_g=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
++echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
++if test "$ac_test_CFLAGS" = set; then
++  CFLAGS=$ac_save_CFLAGS
++elif test $ac_cv_prog_cc_g = yes; then
++  if test "$GCC" = yes; then
++    CFLAGS="-g -O2"
++  else
++    CFLAGS="-g"
++  fi
++else
++  if test "$GCC" = yes; then
++    CFLAGS="-O2"
++  else
++    CFLAGS=
++  fi
++fi
++# Some people use a C++ compiler to compile C.  Since we use `exit',
++# in C++ we need to declare it.  In case someone uses the same compiler
++# for both compiling C and C++ we need to have the C++ compiler decide
++# the declaration of exit, since it's the most demanding environment.
++cat >conftest.$ac_ext <<_ACEOF
++@%:@ifndef __cplusplus
++  choke me
++@%:@endif
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  for ac_declaration in \
++   ''\
++   '#include <stdlib.h>' \
++   'extern "C" void std::exit (int) throw (); using std::exit;' \
++   'extern "C" void std::exit (int); using std::exit;' \
++   'extern "C" void exit (int) throw ();' \
++   'extern "C" void exit (int);' \
++   'void exit (int);'
++do
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++@%:@include <stdlib.h>
++$ac_declaration
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++exit (42);
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  :
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++continue
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++$ac_declaration
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++exit (42);
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++done
++rm -f conftest*
++if test -n "$ac_declaration"; then
++  echo '#ifdef __cplusplus' >>confdefs.h
++  echo $ac_declaration      >>confdefs.h
++  echo '#endif'             >>confdefs.h
++fi
++
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
++echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
++# On Suns, sometimes $CPP names a directory.
++if test -n "$CPP" && test -d "$CPP"; then
++  CPP=
++fi
++if test -z "$CPP"; then
++  if test "${ac_cv_prog_CPP+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++      # Double quotes because CPP needs to be expanded
++    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
++    do
++      ac_preproc_ok=false
++for ac_c_preproc_warn_flag in '' yes
++do
++  # Use a header file that comes with gcc, so configuring glibc
++  # with a fresh cross-compiler works.
++  # On the NeXT, cc -E runs the code through the compiler's parser,
++  # not just through cpp. "Syntax error" is here to catch this case.
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++@%:@include <assert.h>
++                     Syntax error
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  egrep -v '^ *\+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  :
++else
++  echo "$as_me: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  # Broken: fails on valid input.
++continue
++fi
++rm -f conftest.err conftest.$ac_ext
++
++  # OK, works on sane cases.  Now check whether non-existent headers
++  # can be detected and how.
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++@%:@include <ac_nonexistent.h>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  egrep -v '^ *\+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  # Broken: success on invalid input.
++continue
++else
++  echo "$as_me: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  # Passes both tests.
++ac_preproc_ok=:
++break
++fi
++rm -f conftest.err conftest.$ac_ext
++
++done
++# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
++rm -f conftest.err conftest.$ac_ext
++if $ac_preproc_ok; then
++  break
++fi
++
++    done
++    ac_cv_prog_CPP=$CPP
++  
++fi
++  CPP=$ac_cv_prog_CPP
++else
++  ac_cv_prog_CPP=$CPP
++fi
++echo "$as_me:$LINENO: result: $CPP" >&5
++echo "${ECHO_T}$CPP" >&6
++ac_preproc_ok=false
++for ac_c_preproc_warn_flag in '' yes
++do
++  # Use a header file that comes with gcc, so configuring glibc
++  # with a fresh cross-compiler works.
++  # On the NeXT, cc -E runs the code through the compiler's parser,
++  # not just through cpp. "Syntax error" is here to catch this case.
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++@%:@include <assert.h>
++                     Syntax error
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  egrep -v '^ *\+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  :
++else
++  echo "$as_me: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  # Broken: fails on valid input.
++continue
++fi
++rm -f conftest.err conftest.$ac_ext
++
++  # OK, works on sane cases.  Now check whether non-existent headers
++  # can be detected and how.
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++@%:@include <ac_nonexistent.h>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  egrep -v '^ *\+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  # Broken: success on invalid input.
++continue
++else
++  echo "$as_me: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  # Passes both tests.
++ac_preproc_ok=:
++break
++fi
++rm -f conftest.err conftest.$ac_ext
++
++done
++# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
++rm -f conftest.err conftest.$ac_ext
++if $ac_preproc_ok; then
++  :
++else
++  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
++echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
++   { (exit 1); exit 1; }; }
++fi
++
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++
++echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
++echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
++if test "${ac_cv_prog_cc_stdc+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_cv_prog_cc_stdc=no
++ac_save_CC=$CC
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <stdarg.h>
++#include <stdio.h>
++#include <sys/types.h>
++#include <sys/stat.h>
++/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
++struct buf { int x; };
++FILE * (*rcsopen) (struct buf *, struct stat *, int);
++static char *e (p, i)
++     char **p;
++     int i;
++{
++  return p[i];
++}
++static char *f (char * (*g) (char **, int), char **p, ...)
++{
++  char *s;
++  va_list v;
++  va_start (v,p);
++  s = g (p, va_arg (v,int));
++  va_end (v);
++  return s;
++}
++int test (int i, double x);
++struct s1 {int (*f) (int a);};
++struct s2 {int (*f) (double a);};
++int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
++int argc;
++char **argv;
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
++  ;
++  return 0;
++}
++_ACEOF
++# Don't try gcc -ansi; that turns off useful extensions and
++# breaks some systems' header files.
++# AIX			-qlanglvl=ansi
++# Ultrix and OSF/1	-std1
++# HP-UX 10.20 and later	-Ae
++# HP-UX older versions	-Aa -D_HPUX_SOURCE
++# SVR4			-Xc -D__EXTENSIONS__
++for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
++do
++  CC="$ac_save_CC $ac_arg"
++  rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_prog_cc_stdc=$ac_arg
++break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext 
++done
++rm -f conftest.$ac_ext conftest.$ac_objext
++CC=$ac_save_CC
++
++fi
++
++case "x$ac_cv_prog_cc_stdc" in
++  x|xno)
++    echo "$as_me:$LINENO: result: none needed" >&5
++echo "${ECHO_T}none needed" >&6 ;;
++  *)
++    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
++echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
++    CC="$CC $ac_cv_prog_cc_stdc" ;;
++esac
++
++
++ac_aux_dir=
++for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
++  if test -f $ac_dir/install-sh; then
++    ac_aux_dir=$ac_dir
++    ac_install_sh="$ac_aux_dir/install-sh -c"
++    break
++  elif test -f $ac_dir/install.sh; then
++    ac_aux_dir=$ac_dir
++    ac_install_sh="$ac_aux_dir/install.sh -c"
++    break
++  elif test -f $ac_dir/shtool; then
++    ac_aux_dir=$ac_dir
++    ac_install_sh="$ac_aux_dir/shtool install -c"
++    break
++  fi
++done
++if test -z "$ac_aux_dir"; then
++  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
++echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++ac_config_guess="$SHELL $ac_aux_dir/config.guess"
++ac_config_sub="$SHELL $ac_aux_dir/config.sub"
++ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
++
++# Find a good install program.  We prefer a C program (faster),
++# so one script is as good as another.  But avoid the broken or
++# incompatible versions:
++# SysV /etc/install, /usr/sbin/install
++# SunOS /usr/etc/install
++# IRIX /sbin/install
++# AIX /bin/install
++# AmigaOS /C/install, which installs bootblocks on floppy discs
++# 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 "$as_me:$LINENO: checking for a BSD-compatible install" >&5
++echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
++if test -z "$INSTALL"; then
++if test "${ac_cv_path_install+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  # Account for people who put trailing slashes in PATH elements.
++case $as_dir/ in
++  ./ | .// | /cC/* | \
++  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
++  /usr/ucb/* ) ;;
++  *)
++    # OSF1 and SCO ODT 3.0 have their own names for install.
++    # Don't use installbsd from OSF since it installs stuff as root
++    # by default.
++    for ac_prog in ginstall scoinst install; do
++      for ac_exec_ext in '' $ac_executable_extensions; do
++        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
++          if test $ac_prog = install &&
++            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
++            # AIX install.  It has an incompatible calling convention.
++            :
++          elif test $ac_prog = install &&
++            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
++            # program-specific install script used by HP pwplus--don't use.
++            :
++          else
++            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
++            break 3
++          fi
++        fi
++      done
++    done
++    ;;
++esac
++done
++
++
++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 "$as_me:$LINENO: result: $INSTALL" >&5
++echo "${ECHO_T}$INSTALL" >&6
++
++# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
++# It thinks the first close brace ends the variable substitution.
++test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
++
++test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
++
++test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
++
++echo "$as_me:$LINENO: checking whether build environment is sane" >&5
++echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
++# Just in case
++sleep 1
++echo timestamp > conftest.file
++# Do `set' in a subshell so we don't clobber the current shell's
++# arguments.  Must try -L first in case configure is actually a
++# symlink; some systems play weird games with the mod time of symlinks
++# (eg FreeBSD returns the mod time of the symlink's containing
++# directory).
++if (
++   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
++   if test "$*" = "X"; then
++      # -L didn't work.
++      set X `ls -t $srcdir/configure conftest.file`
++   fi
++   rm -f conftest.file
++   if test "$*" != "X $srcdir/configure conftest.file" \
++      && test "$*" != "X conftest.file $srcdir/configure"; then
++
++      # If neither matched, then we have a broken ls.  This can happen
++      # if, for instance, CONFIG_SHELL is bash and it inherits a
++      # broken ls alias from the environment.  This has actually
++      # happened.  Such a system could not be considered "sane".
++      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
++alias in your environment" >&5
++echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
++alias in your environment" >&2;}
++   { (exit 1); exit 1; }; }
++   fi
++
++   test "$2" = conftest.file
++   )
++then
++   # Ok.
++   :
++else
++   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
++Check your system clock" >&5
++echo "$as_me: error: newly created file is older than distributed files!
++Check your system clock" >&2;}
++   { (exit 1); exit 1; }; }
++fi
++echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++test "$program_prefix" != NONE &&
++  program_transform_name="s,^,$program_prefix,;$program_transform_name"
++# Use a double $ so make ignores it.
++test "$program_suffix" != NONE &&
++  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
++# Double any \ or $.  echo might interpret backslashes.
++# By default was `s,x,x', remove it if useless.
++cat <<\_ACEOF >conftest.sed
++s/[\\$]/&&/g;s/;s,x,x,$//
++_ACEOF
++program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
++rm conftest.sed
++
++
++# expand $ac_aux_dir to an absolute path
++am_aux_dir=`CDPATH=:; cd $ac_aux_dir && pwd`
++
++test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
++# Use eval to expand $SHELL
++if eval "$MISSING --run true"; then
++  am_missing_run="$MISSING --run "
++else
++  am_missing_run=
++  am_backtick='`'
++  { echo "$as_me:$LINENO: WARNING: ${am_backtick}missing' script is too old or missing" >&5
++echo "$as_me: WARNING: ${am_backtick}missing' script is too old or missing" >&2;}
++fi
++
++for ac_prog in gawk mawk nawk awk
++do
++  # Extract the first word of "$ac_prog", so it can be a program name with args.
++set dummy $ac_prog; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_AWK+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$AWK"; then
++  ac_cv_prog_AWK="$AWK" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_AWK="$ac_prog"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++AWK=$ac_cv_prog_AWK
++if test -n "$AWK"; then
++  echo "$as_me:$LINENO: result: $AWK" >&5
++echo "${ECHO_T}$AWK" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  test -n "$AWK" && break
++done
++
++echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
++echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
++set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
++if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.make <<\_ACEOF
++all:
++	@echo 'ac_maketemp="${MAKE}"'
++_ACEOF
++# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
++eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
++if test -n "$ac_maketemp"; then
++  eval ac_cv_prog_make_${ac_make}_set=yes
++else
++  eval ac_cv_prog_make_${ac_make}_set=no
++fi
++rm -f conftest.make
++fi
++if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
++  echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++  SET_MAKE=
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++  SET_MAKE="MAKE=${MAKE-make}"
++fi
++
++# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
++if test "${enable_dependency_tracking+set}" = set; then
++  enableval="$enable_dependency_tracking"
++  
++fi; 
++if test "x$enable_dependency_tracking" != xno; then
++  am_depcomp="$ac_aux_dir/depcomp"
++  AMDEPBACKSLASH='\'
++fi
++
++
++if test "x$enable_dependency_tracking" != xno; then
++  AMDEP_TRUE=
++  AMDEP_FALSE='#'
++else
++  AMDEP_TRUE='#'
++  AMDEP_FALSE=
++fi
++
++
++
++
++rm -f .deps 2>/dev/null
++mkdir .deps 2>/dev/null
++if test -d .deps; then
++  DEPDIR=.deps
++else
++  # MS-DOS does not allow filenames that begin with a dot.
++  DEPDIR=_deps
++fi
++rmdir .deps 2>/dev/null
++
++
++
++ac_config_commands="$ac_config_commands default-1"
++
++am_make=${MAKE-make}
++cat > confinc << 'END'
++doit:
++	@echo done
++END
++# If we don't find an include directive, just comment out the code.
++echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
++echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
++am__include='#'
++am__quote=
++_am_result=none
++# First try GNU make style include.
++echo "include confinc" > confmf
++# We grep out `Entering directory' and `Leaving directory'
++# messages which can occur if `w' ends up in MAKEFLAGS.
++# In particular we don't look at `^make:' because GNU make might
++# be invoked under some other name (usually "gmake"), in which
++# case it prints its new name instead of `make'.
++if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
++   am__include=include
++   am__quote=
++   _am_result=GNU
++fi
++# Now try BSD make style include.
++if test "$am__include" = "#"; then
++   echo '.include "confinc"' > confmf
++   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
++      am__include=.include
++      am__quote='"'
++      _am_result=BSD
++   fi
++fi
++
++
++echo "$as_me:$LINENO: result: $_am_result" >&5
++echo "${ECHO_T}$_am_result" >&6
++rm -f confinc confmf
++
++# test to see if srcdir already configured
++if test "`CDPATH=:; cd $srcdir && pwd`" != "`pwd`" &&
++   test -f $srcdir/config.status; then
++  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
++echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
++   { (exit 1); exit 1; }; }
++fi
++
++# Define the identity of the package.
++PACKAGE=heimdal
++VERSION=0.4e
++
++cat >>confdefs.h <<_ACEOF
++@%:@define PACKAGE "$PACKAGE"
++_ACEOF
++
++
++cat >>confdefs.h <<_ACEOF
++@%:@define VERSION "$VERSION"
++_ACEOF
++
++
++# Autoconf 2.50 wants to disallow AM_ names.  We explicitly allow
++# the ones we care about.
++
++# Autoconf 2.50 always computes EXEEXT.  However we need to be
++# compatible with 2.13, for now.  So we always define EXEEXT, but we
++# don't compute it.
++
++# Similar for OBJEXT -- only we only use OBJEXT if the user actually
++# requests that it be used.  This is a bit dumb.
++: ${OBJEXT=o}
++
++
++# Some tools Automake needs.
++
++ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal"}
++
++
++AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
++
++
++AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake"}
++
++
++AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
++
++
++MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
++
++
++AMTAR=${AMTAR-"${am_missing_run}tar"}
++
++install_sh=${install_sh-"$am_aux_dir/install-sh"}
++
++INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
++
++# We need awk for the "check" target.  The system "awk" is bad on
++# some platforms.
++
++depcc="$CC"   am_compiler_list=
++
++echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
++echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
++if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
++  # We make a subdir and do the tests there.  Otherwise we can end up
++  # making bogus files that we don't know about and never remove.  For
++  # instance it was reported that on HP-UX the gcc test will end up
++  # making a dummy file named `D' -- because `-MD' means `put the output
++  # in D'.
++  mkdir conftest.dir
++  # Copy depcomp to subdir because otherwise we won't find it if we're
++  # using a relative directory.
++  cp "$am_depcomp" conftest.dir
++  cd conftest.dir
++
++  am_cv_CC_dependencies_compiler_type=none
++  if test "$am_compiler_list" = ""; then
++     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
++  fi
++  for depmode in $am_compiler_list; do
++    # We need to recreate these files for each test, as the compiler may
++    # overwrite some of them when testing with obscure command lines.
++    # This happens at least with the AIX C compiler.
++    echo '#include "conftest.h"' > conftest.c
++    echo 'int i;' > conftest.h
++    echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
++
++    case $depmode in
++    nosideeffect)
++      # after this tag, mechanisms are not by side-effect, so they'll
++      # only be used when explicitly requested
++      if test "x$enable_dependency_tracking" = xyes; then
++	continue
++      else
++	break
++      fi
++      ;;
++    none) break ;;
++    esac
++    # We check with `-c' and `-o' for the sake of the "dashmstdout"
++    # mode.  It turns out that the SunPro C++ compiler does not properly
++    # handle `-M -o', and we need to detect this.
++    if depmode=$depmode \
++       source=conftest.c object=conftest.o \
++       depfile=conftest.Po tmpdepfile=conftest.TPo \
++       $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
++       grep conftest.h conftest.Po > /dev/null 2>&1 &&
++       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
++      am_cv_CC_dependencies_compiler_type=$depmode
++      break
++    fi
++  done
++
++  cd ..
++  rm -rf conftest.dir
++else
++  am_cv_CC_dependencies_compiler_type=none
++fi
++
++fi
++echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
++echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
++CCDEPMODE="depmode=$am_cv_CC_dependencies_compiler_type"
++
++
++
++
++
++# Make sure we can run config.sub.
++$ac_config_sub sun4 >/dev/null 2>&1 ||
++  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
++echo "$as_me: error: cannot run $ac_config_sub" >&2;}
++   { (exit 1); exit 1; }; }
++
++echo "$as_me:$LINENO: checking build system type" >&5
++echo $ECHO_N "checking build system type... $ECHO_C" >&6
++if test "${ac_cv_build+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_cv_build_alias=$build_alias
++test -z "$ac_cv_build_alias" &&
++  ac_cv_build_alias=`$ac_config_guess`
++test -z "$ac_cv_build_alias" &&
++  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
++echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
++   { (exit 1); exit 1; }; }
++ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
++  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
++echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
++   { (exit 1); exit 1; }; }
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_build" >&5
++echo "${ECHO_T}$ac_cv_build" >&6
++build=$ac_cv_build
++build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
++build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
++build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
++
++
++echo "$as_me:$LINENO: checking host system type" >&5
++echo $ECHO_N "checking host system type... $ECHO_C" >&6
++if test "${ac_cv_host+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_cv_host_alias=$host_alias
++test -z "$ac_cv_host_alias" &&
++  ac_cv_host_alias=$ac_cv_build_alias
++ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
++  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
++echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
++   { (exit 1); exit 1; }; }
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_host" >&5
++echo "${ECHO_T}$ac_cv_host" >&6
++host=$ac_cv_host
++host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
++host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
++host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
++
++
++CANONICAL_HOST=$host
++
++
++sunos=no
++case "$host" in 
++*-*-sunos4*)
++	sunos=40
++	;;
++*-*-solaris2.7)
++	sunos=57
++	;;
++*-*-solaris2.8)
++	sunos=58
++	;;
++*-*-solaris2*)
++	sunos=50
++	;;
++esac
++if test "$sunos" != no; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define SunOS $sunos
++_ACEOF
++
++fi
++
++aix=no
++case "$host" in 
++*-*-aix3*)
++	aix=3
++	;;
++*-*-aix4*)
++	aix=4
++	;;
++esac
++
++#test -z "$CFLAGS" && CFLAGS="-g"
++
++
++
++
++for ac_prog in 'bison -y' byacc
++do
++  # Extract the first word of "$ac_prog", so it can be a program name with args.
++set dummy $ac_prog; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_YACC+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$YACC"; then
++  ac_cv_prog_YACC="$YACC" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_YACC="$ac_prog"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++YACC=$ac_cv_prog_YACC
++if test -n "$YACC"; then
++  echo "$as_me:$LINENO: result: $YACC" >&5
++echo "${ECHO_T}$YACC" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  test -n "$YACC" && break
++done
++test -n "$YACC" || YACC="yacc"
++
++
++for ac_prog in flex lex
++do
++  # Extract the first word of "$ac_prog", so it can be a program name with args.
++set dummy $ac_prog; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_LEX+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$LEX"; then
++  ac_cv_prog_LEX="$LEX" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_LEX="$ac_prog"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++LEX=$ac_cv_prog_LEX
++if test -n "$LEX"; then
++  echo "$as_me:$LINENO: result: $LEX" >&5
++echo "${ECHO_T}$LEX" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  test -n "$LEX" && break
++done
++test -n "$LEX" || LEX="${am_missing_run}flex"
++
++for ac_prog in flex lex
++do
++  # Extract the first word of "$ac_prog", so it can be a program name with args.
++set dummy $ac_prog; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_LEX+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$LEX"; then
++  ac_cv_prog_LEX="$LEX" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_LEX="$ac_prog"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++LEX=$ac_cv_prog_LEX
++if test -n "$LEX"; then
++  echo "$as_me:$LINENO: result: $LEX" >&5
++echo "${ECHO_T}$LEX" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  test -n "$LEX" && break
++done
++test -n "$LEX" || LEX=":"
++
++if test -z "$LEXLIB"
++then
++  echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
++echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
++if test "${ac_cv_lib_fl_yywrap+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-lfl  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char yywrap ();
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++yywrap ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_fl_yywrap=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_lib_fl_yywrap=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
++echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
++if test $ac_cv_lib_fl_yywrap = yes; then
++  LEXLIB="-lfl"
++else
++  echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
++echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
++if test "${ac_cv_lib_l_yywrap+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ll  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char yywrap ();
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++yywrap ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_l_yywrap=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_lib_l_yywrap=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
++echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
++if test $ac_cv_lib_l_yywrap = yes; then
++  LEXLIB="-ll"
++fi
++
++fi
++
++fi
++
++if test "x$LEX" != "x:"; then
++  echo "$as_me:$LINENO: checking lex output file root" >&5
++echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
++if test "${ac_cv_prog_lex_root+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  # The minimal lex program is just a single line: %%.  But some broken lexes
++# (Solaris, I think it was) want two %% lines, so accommodate them.
++cat >conftest.l <<_ACEOF
++%%
++%%
++_ACEOF
++{ (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
++  (eval $LEX conftest.l) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }
++if test -f lex.yy.c; then
++  ac_cv_prog_lex_root=lex.yy
++elif test -f lexyy.c; then
++  ac_cv_prog_lex_root=lexyy
++else
++  { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
++echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
++   { (exit 1); exit 1; }; }
++fi
++fi
++echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
++echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
++rm -f conftest.l
++LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
++
++echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
++echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
++if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  # POSIX says lex can declare yytext either as a pointer or an array; the
++# default is implementation-dependent. Figure out which it is, since
++# not all implementations provide the %pointer and %array declarations.
++ac_cv_prog_lex_yytext_pointer=no
++echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
++ac_save_LIBS=$LIBS
++LIBS="$LIBS $LEXLIB"
++cat >conftest.$ac_ext <<_ACEOF
++`cat $LEX_OUTPUT_ROOT.c`
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_prog_lex_yytext_pointer=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_save_LIBS
++rm -f "${LEX_OUTPUT_ROOT}.c"
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
++echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
++if test $ac_cv_prog_lex_yytext_pointer = yes; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define YYTEXT_POINTER 1
++_ACEOF
++
++fi
++
++fi
++
++if test -n "$ac_tool_prefix"; then
++  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
++set dummy ${ac_tool_prefix}ranlib; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_RANLIB+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$RANLIB"; then
++  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++RANLIB=$ac_cv_prog_RANLIB
++if test -n "$RANLIB"; then
++  echo "$as_me:$LINENO: result: $RANLIB" >&5
++echo "${ECHO_T}$RANLIB" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++fi
++if test -z "$ac_cv_prog_RANLIB"; then
++  ac_ct_RANLIB=$RANLIB
++  # Extract the first word of "ranlib", so it can be a program name with args.
++set dummy ranlib; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$ac_ct_RANLIB"; then
++  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_ac_ct_RANLIB="ranlib"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
++fi
++fi
++ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
++if test -n "$ac_ct_RANLIB"; then
++  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
++echo "${ECHO_T}$ac_ct_RANLIB" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  RANLIB=$ac_ct_RANLIB
++else
++  RANLIB="$ac_cv_prog_RANLIB"
++fi
++
++for ac_prog in gawk mawk nawk awk
++do
++  # Extract the first word of "$ac_prog", so it can be a program name with args.
++set dummy $ac_prog; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_AWK+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$AWK"; then
++  ac_cv_prog_AWK="$AWK" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_AWK="$ac_prog"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++AWK=$ac_cv_prog_AWK
++if test -n "$AWK"; then
++  echo "$as_me:$LINENO: result: $AWK" >&5
++echo "${ECHO_T}$AWK" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  test -n "$AWK" && break
++done
++
++echo "$as_me:$LINENO: checking for ln -s or something else" >&5
++echo $ECHO_N "checking for ln -s or something else... $ECHO_C" >&6
++if test "${ac_cv_prog_LN_S+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  rm -f conftestdata
++if ln -s X conftestdata 2>/dev/null
++then
++  rm -f conftestdata
++  ac_cv_prog_LN_S="ln -s"
++else
++  touch conftestdata1
++  if ln conftestdata1 conftestdata2; then
++    rm -f conftestdata*
++    ac_cv_prog_LN_S=ln
++  else
++    ac_cv_prog_LN_S=cp
++  fi
++fi
++fi
++LN_S="$ac_cv_prog_LN_S"
++echo "$as_me:$LINENO: result: $ac_cv_prog_LN_S" >&5
++echo "${ECHO_T}$ac_cv_prog_LN_S" >&6
++
++
++
++
++# Check whether --with-mips_abi or --without-mips_abi was given.
++if test "${with_mips_abi+set}" = set; then
++  withval="$with_mips_abi"
++  
++fi; 
++
++case "$host_os" in
++irix*)
++with_mips_abi="${with_mips_abi:-yes}"
++if test -n "$GCC"; then
++
++# GCC < 2.8 only supports the O32 ABI. GCC >= 2.8 has a flag to select
++# which ABI to use, but only supports (as of 2.8.1) the N32 and 64 ABIs.
++#
++# Default to N32, but if GCC doesn't grok -mabi=n32, we assume an old
++# GCC and revert back to O32. The same goes if O32 is asked for - old
++# GCCs doesn't like the -mabi option, and new GCCs can't output O32.
++#
++# Don't you just love *all* the different SGI ABIs?
++
++case "${with_mips_abi}" in 
++        32|o32) abi='-mabi=32';  abilibdirext=''     ;;
++       n32|yes) abi='-mabi=n32'; abilibdirext='32'  ;;
++        64) abi='-mabi=64';  abilibdirext='64'   ;;
++	no) abi=''; abilibdirext='';;
++         *) { { echo "$as_me:$LINENO: error: \"Invalid ABI specified\"" >&5
++echo "$as_me: error: \"Invalid ABI specified\"" >&2;}
++   { (exit 1); exit 1; }; } ;;
++esac
++if test -n "$abi" ; then
++ac_foo=krb_cv_gcc_`echo $abi | tr =- __`
++echo "$as_me:$LINENO: checking if $CC supports the $abi option" >&5
++echo $ECHO_N "checking if $CC supports the $abi option... $ECHO_C" >&6
++if eval "test \"\${$ac_foo+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++save_CFLAGS="$CFLAGS"
++CFLAGS="$CFLAGS $abi"
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++int x;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval $ac_foo=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval $ac_foo=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++CFLAGS="$save_CFLAGS"
++
++fi
++
++ac_res=`eval echo \\\$$ac_foo`
++echo "$as_me:$LINENO: result: $ac_res" >&5
++echo "${ECHO_T}$ac_res" >&6
++if test $ac_res = no; then
++# Try to figure out why that failed...
++case $abi in
++	-mabi=32) 
++	save_CFLAGS="$CFLAGS"
++	CFLAGS="$CFLAGS -mabi=n32"
++	cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++int x;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_res=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_res=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++	CLAGS="$save_CFLAGS"
++	if test $ac_res = yes; then
++		# New GCC
++		{ { echo "$as_me:$LINENO: error: $CC does not support the $with_mips_abi ABI" >&5
++echo "$as_me: error: $CC does not support the $with_mips_abi ABI" >&2;}
++   { (exit 1); exit 1; }; }
++	fi
++	# Old GCC
++	abi=''
++	abilibdirext=''
++	;;
++	-mabi=n32|-mabi=64)
++		if test $with_mips_abi = yes; then
++			# Old GCC, default to O32
++			abi=''
++			abilibdirext=''
++		else
++			# Some broken GCC
++			{ { echo "$as_me:$LINENO: error: $CC does not support the $with_mips_abi ABI" >&5
++echo "$as_me: error: $CC does not support the $with_mips_abi ABI" >&2;}
++   { (exit 1); exit 1; }; }
++		fi
++	;;
++esac
++fi #if test $ac_res = no; then
++fi #if test -n "$abi" ; then
++else
++case "${with_mips_abi}" in
++        32|o32) abi='-32'; abilibdirext=''     ;;
++       n32|yes) abi='-n32'; abilibdirext='32'  ;;
++        64) abi='-64'; abilibdirext='64'   ;;
++	no) abi=''; abilibdirext='';;
++         *) { { echo "$as_me:$LINENO: error: \"Invalid ABI specified\"" >&5
++echo "$as_me: error: \"Invalid ABI specified\"" >&2;}
++   { (exit 1); exit 1; }; } ;;
++esac
++fi #if test -n "$GCC"; then
++;;
++esac
++
++CC="$CC $abi"
++libdir="$libdir$abilibdirext"
++
++
++echo "$as_me:$LINENO: checking for __attribute__" >&5
++echo $ECHO_N "checking for __attribute__... $ECHO_C" >&6
++if test "${ac_cv___attribute__+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#include <stdlib.h>
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++static void foo(void) __attribute__ ((noreturn));
++
++static void
++foo(void)
++{
++  exit(1);
++}
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv___attribute__=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv___attribute__=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++
++if test "$ac_cv___attribute__" = "yes"; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE___ATTRIBUTE__ 1
++_ACEOF
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv___attribute__" >&5
++echo "${ECHO_T}$ac_cv___attribute__" >&6
++
++
++# Check whether --enable-shared or --disable-shared was given.
++if test "${enable_shared+set}" = set; then
++  enableval="$enable_shared"
++  p=${PACKAGE-default}
++case $enableval in
++yes) enable_shared=yes ;;
++no) enable_shared=no ;;
++*)
++  enable_shared=no
++  # Look at the argument we got.  We use all the common list separators.
++  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
++  for pkg in $enableval; do
++    if test "X$pkg" = "X$p"; then
++      enable_shared=yes
++    fi
++  done
++  IFS="$ac_save_ifs"
++  ;;
++esac
++else
++  enable_shared=no
++fi; 
++# Check whether --enable-static or --disable-static was given.
++if test "${enable_static+set}" = set; then
++  enableval="$enable_static"
++  p=${PACKAGE-default}
++case $enableval in
++yes) enable_static=yes ;;
++no) enable_static=no ;;
++*)
++  enable_static=no
++  # Look at the argument we got.  We use all the common list separators.
++  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
++  for pkg in $enableval; do
++    if test "X$pkg" = "X$p"; then
++      enable_static=yes
++    fi
++  done
++  IFS="$ac_save_ifs"
++  ;;
++esac
++else
++  enable_static=yes
++fi; 
++# Check whether --enable-fast-install or --disable-fast-install was given.
++if test "${enable_fast_install+set}" = set; then
++  enableval="$enable_fast_install"
++  p=${PACKAGE-default}
++case $enableval in
++yes) enable_fast_install=yes ;;
++no) enable_fast_install=no ;;
++*)
++  enable_fast_install=no
++  # Look at the argument we got.  We use all the common list separators.
++  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
++  for pkg in $enableval; do
++    if test "X$pkg" = "X$p"; then
++      enable_fast_install=yes
++    fi
++  done
++  IFS="$ac_save_ifs"
++  ;;
++esac
++else
++  enable_fast_install=yes
++fi; 
++# Find the correct PATH separator.  Usually this is `:', but
++# DJGPP uses `;' like DOS.
++if test "X${PATH_SEPARATOR+set}" != Xset; then
++  UNAME=${UNAME-`uname 2>/dev/null`}
++  case X$UNAME in
++    *-DOS) lt_cv_sys_path_separator=';' ;;
++    *)     lt_cv_sys_path_separator=':' ;;
++  esac
++  PATH_SEPARATOR=$lt_cv_sys_path_separator
++fi
++
++
++# Check whether --with-gnu-ld or --without-gnu-ld was given.
++if test "${with_gnu_ld+set}" = set; then
++  withval="$with_gnu_ld"
++  test "$withval" = no || with_gnu_ld=yes
++else
++  with_gnu_ld=no
++fi; 
++ac_prog=ld
++if test "$GCC" = yes; then
++  # Check if gcc -print-prog-name=ld gives a path.
++  echo "$as_me:$LINENO: checking for ld used by GCC" >&5
++echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
++  case $host in
++  *-*-mingw*)
++    # gcc leaves a trailing carriage return which upsets mingw
++    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
++  *)
++    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
++  esac
++  case $ac_prog in
++    # Accept absolute paths.
++    [\\/]* | [A-Za-z]:[\\/]*)
++      re_direlt='/[^/][^/]*/\.\./'
++      # Canonicalize the path of ld
++      ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
++      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
++	ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
++      done
++      test -z "$LD" && LD="$ac_prog"
++      ;;
++  "")
++    # If it fails, then pretend we aren't using GCC.
++    ac_prog=ld
++    ;;
++  *)
++    # If it is relative, then search for the first ld in PATH.
++    with_gnu_ld=unknown
++    ;;
++  esac
++elif test "$with_gnu_ld" = yes; then
++  echo "$as_me:$LINENO: checking for GNU ld" >&5
++echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
++else
++  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
++echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
++fi
++if test "${lt_cv_path_LD+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -z "$LD"; then
++  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
++  for ac_dir in $PATH; do
++    test -z "$ac_dir" && ac_dir=.
++    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
++      lt_cv_path_LD="$ac_dir/$ac_prog"
++      # Check to see if the program is GNU ld.  I'd rather use --version,
++      # but apparently some GNU ld's only accept -v.
++      # Break only if it was the GNU/non-GNU ld that we prefer.
++      if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
++	test "$with_gnu_ld" != no && break
++      else
++	test "$with_gnu_ld" != yes && break
++      fi
++    fi
++  done
++  IFS="$ac_save_ifs"
++else
++  lt_cv_path_LD="$LD" # Let the user override the test with a path.
++fi
++fi
++
++LD="$lt_cv_path_LD"
++if test -n "$LD"; then
++  echo "$as_me:$LINENO: result: $LD" >&5
++echo "${ECHO_T}$LD" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
++echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
++   { (exit 1); exit 1; }; }
++echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
++echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
++if test "${lt_cv_prog_gnu_ld+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
++if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
++  lt_cv_prog_gnu_ld=yes
++else
++  lt_cv_prog_gnu_ld=no
++fi
++fi
++echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
++echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
++with_gnu_ld=$lt_cv_prog_gnu_ld
++
++
++echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
++echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
++if test "${lt_cv_ld_reload_flag+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  lt_cv_ld_reload_flag='-r'
++fi
++echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
++echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
++reload_flag=$lt_cv_ld_reload_flag
++test -n "$reload_flag" && reload_flag=" $reload_flag"
++
++echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
++echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
++if test "${lt_cv_path_NM+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$NM"; then
++  # Let the user override the test.
++  lt_cv_path_NM="$NM"
++else
++  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
++  for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
++    test -z "$ac_dir" && ac_dir=.
++    tmp_nm=$ac_dir/${ac_tool_prefix}nm
++    if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
++      # Check to see if the nm accepts a BSD-compat flag.
++      # Adding the `sed 1q' prevents false positives on HP-UX, which says:
++      #   nm: unknown option "B" ignored
++      # Tru64's nm complains that /dev/null is an invalid object file
++      if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
++	lt_cv_path_NM="$tmp_nm -B"
++	break
++      elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
++	lt_cv_path_NM="$tmp_nm -p"
++	break
++      else
++	lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
++	continue # so that we can try to find one that supports BSD flags
++      fi
++    fi
++  done
++  IFS="$ac_save_ifs"
++  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
++fi
++fi
++
++NM="$lt_cv_path_NM"
++echo "$as_me:$LINENO: result: $NM" >&5
++echo "${ECHO_T}$NM" >&6
++
++echo "$as_me:$LINENO: checking whether ln -s works" >&5
++echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
++LN_S=$as_ln_s
++if test "$LN_S" = "ln -s"; then
++  echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++else
++  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
++echo "${ECHO_T}no, using $LN_S" >&6
++fi
++
++echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
++echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
++if test "${lt_cv_deplibs_check_method+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  lt_cv_file_magic_cmd='$MAGIC_CMD'
++lt_cv_file_magic_test_file=
++lt_cv_deplibs_check_method='unknown'
++# Need to set the preceding variable on all platforms that support
++# interlibrary dependencies.
++# 'none' -- dependencies not supported.
++# `unknown' -- same as none, but documents that we really don't know.
++# 'pass_all' -- all dependencies passed with no checks.
++# 'test_compile' -- check by making test program.
++# 'file_magic [[regex]]' -- check by looking for files in library path
++# which responds to the $file_magic_cmd with a given egrep regex.
++# If you have `file' or equivalent on your system and you're not sure
++# whether `pass_all' will *always* work, you probably want this one.
++
++case $host_os in
++aix4* | aix5*)
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++
++beos*)
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++
++bsdi4*)
++  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
++  lt_cv_file_magic_cmd='/usr/bin/file -L'
++  lt_cv_file_magic_test_file=/shlib/libc.so
++  ;;
++
++cygwin* | mingw* | pw32*)
++  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
++  lt_cv_file_magic_cmd='$OBJDUMP -f'
++  ;;
++
++darwin* | rhapsody*)
++  lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
++  lt_cv_file_magic_cmd='/usr/bin/file -L'
++  case "$host_os" in
++  rhapsody* | darwin1.[012])
++    lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1`
++    ;;
++  *) # Darwin 1.3 on
++    lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
++    ;;
++  esac
++  ;;
++
++freebsd*)
++  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
++    case $host_cpu in
++    i*86 )
++      # Not sure whether the presence of OpenBSD here was a mistake.
++      # Let's accept both of them until this is cleared up.
++      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
++      lt_cv_file_magic_cmd=/usr/bin/file
++      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
++      ;;
++    esac
++  else
++    lt_cv_deplibs_check_method=pass_all
++  fi
++  ;;
++
++gnu*)
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++
++hpux10.20*|hpux11*)
++  lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
++  lt_cv_file_magic_cmd=/usr/bin/file
++  lt_cv_file_magic_test_file=/usr/lib/libc.sl
++  ;;
++
++irix5* | irix6* | nonstopux*)
++  case $host_os in
++  irix5* | nonstopux*)
++    # this will be overridden with pass_all, but let us keep it just in case
++    lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
++    ;;
++  *)
++    case $LD in
++    *-32|*"-32 ") libmagic=32-bit;;
++    *-n32|*"-n32 ") libmagic=N32;;
++    *-64|*"-64 ") libmagic=64-bit;;
++    *) libmagic=never-match;;
++    esac
++    # this will be overridden with pass_all, but let us keep it just in case
++    lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
++    ;;
++  esac
++  lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++
++# This must be Linux ELF.
++linux-gnu*)
++  lt_cv_deplibs_check_method=pass_all
++  lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
++  ;;
++
++netbsd*)
++  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
++    lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
++  else
++    lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
++  fi
++  ;;
++
++newos6*)
++  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
++  lt_cv_file_magic_cmd=/usr/bin/file
++  lt_cv_file_magic_test_file=/usr/lib/libnls.so
++  ;;
++
++openbsd*)
++  lt_cv_file_magic_cmd=/usr/bin/file
++  lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
++  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
++    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
++  else
++    lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
++  fi
++  ;;
++
++osf3* | osf4* | osf5*)
++  # this will be overridden with pass_all, but let us keep it just in case
++  lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
++  lt_cv_file_magic_test_file=/shlib/libc.so
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++
++sco3.2v5*)
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++
++solaris*)
++  lt_cv_deplibs_check_method=pass_all
++  lt_cv_file_magic_test_file=/lib/libc.so
++  ;;
++
++sysv5uw[78]* | sysv4*uw2*)
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++
++sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
++  case $host_vendor in
++  motorola)
++    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
++    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
++    ;;
++  ncr)
++    lt_cv_deplibs_check_method=pass_all
++    ;;
++  sequent)
++    lt_cv_file_magic_cmd='/bin/file'
++    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
++    ;;
++  sni)
++    lt_cv_file_magic_cmd='/bin/file'
++    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
++    lt_cv_file_magic_test_file=/lib/libc.so
++    ;;
++  esac
++  ;;
++esac
++
++fi
++echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
++echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
++file_magic_cmd=$lt_cv_file_magic_cmd
++deplibs_check_method=$lt_cv_deplibs_check_method
++
++
++
++
++
++# Check for command to grab the raw symbol name followed by C symbol from nm.
++echo "$as_me:$LINENO: checking command to parse $NM output" >&5
++echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6
++if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++# These are sane defaults that work on at least a few old systems.
++# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
++
++# Character class describing NM global symbol codes.
++symcode='[BCDEGRST]'
++
++# Regexp to match symbols that can be accessed directly from C.
++sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
++
++# Transform the above into a raw symbol and a C symbol.
++symxfrm='\1 \2\3 \3'
++
++# Transform an extracted symbol line into a proper C declaration
++lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'"
++
++# Transform an extracted symbol line into symbol name and symbol address
++lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
++
++# Define system-specific variables.
++case $host_os in
++aix*)
++  symcode='[BCDT]'
++  ;;
++cygwin* | mingw* | pw32*)
++  symcode='[ABCDGISTW]'
++  ;;
++hpux*) # Its linker distinguishes data from code symbols
++  lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
++  lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
++  ;;
++irix* | nonstopux*)
++  symcode='[BCDEGRST]'
++  ;;
++solaris* | sysv5*)
++  symcode='[BDT]'
++  ;;
++sysv4)
++  symcode='[DFNSTU]'
++  ;;
++esac
++
++# Handle CRLF in mingw tool chain
++opt_cr=
++case $host_os in
++mingw*)
++  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
++  ;;
++esac
++
++# If we're using GNU nm, then use its standard symbol codes.
++if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then
++  symcode='[ABCDGISTW]'
++fi
++
++# Try without a prefix undercore, then with it.
++for ac_symprfx in "" "_"; do
++
++  # Write the raw and C identifiers.
++lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
++
++  # Check to see that the pipe works correctly.
++  pipe_works=no
++  rm -f conftest*
++  cat > conftest.$ac_ext <<EOF
++#ifdef __cplusplus
++extern "C" {
++#endif
++char nm_test_var;
++void nm_test_func(){}
++#ifdef __cplusplus
++}
++#endif
++int main(){nm_test_var='a';nm_test_func();return(0);}
++EOF
++
++  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; then
++    # Now try to grab the symbols.
++    nlist=conftest.nm
++    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
++  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && test -s "$nlist"; then
++      # Try sorting and uniquifying the output.
++      if sort "$nlist" | uniq > "$nlist"T; then
++	mv -f "$nlist"T "$nlist"
++      else
++	rm -f "$nlist"T
++      fi
++
++      # Make sure that we snagged all the symbols we need.
++      if egrep ' nm_test_var$' "$nlist" >/dev/null; then
++	if egrep ' nm_test_func$' "$nlist" >/dev/null; then
++	  cat <<EOF > conftest.$ac_ext
++#ifdef __cplusplus
++extern "C" {
++#endif
++
++EOF
++	  # Now generate the symbol file.
++	  eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext'
++
++	  cat <<EOF >> conftest.$ac_ext
++#if defined (__STDC__) && __STDC__
++# define lt_ptr void *
++#else
++# define lt_ptr char *
++# define const
++#endif
++
++/* The mapping between symbol names and symbols. */
++const struct {
++  const char *name;
++  lt_ptr address;
++}
++lt_preloaded_symbols[] =
++{
++EOF
++	  sed "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.$ac_ext
++	  cat <<\EOF >> conftest.$ac_ext
++  {0, (lt_ptr) 0}
++};
++
++#ifdef __cplusplus
++}
++#endif
++EOF
++	  # Now try linking the two files.
++	  mv conftest.$ac_objext conftstm.$ac_objext
++	  save_LIBS="$LIBS"
++	  save_CFLAGS="$CFLAGS"
++	  LIBS="conftstm.$ac_objext"
++	  CFLAGS="$CFLAGS$no_builtin_flag"
++	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && test -s conftest; then
++	    pipe_works=yes
++	  fi
++	  LIBS="$save_LIBS"
++	  CFLAGS="$save_CFLAGS"
++	else
++	  echo "cannot find nm_test_func in $nlist" >&5
++	fi
++      else
++	echo "cannot find nm_test_var in $nlist" >&5
++      fi
++    else
++      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
++    fi
++  else
++    echo "$progname: failed program was:" >&5
++    cat conftest.$ac_ext >&5
++  fi
++  rm -f conftest* conftst*
++
++  # Do not use the global_symbol_pipe unless it works.
++  if test "$pipe_works" = yes; then
++    break
++  else
++    lt_cv_sys_global_symbol_pipe=
++  fi
++done
++
++fi
++
++global_symbol_pipe="$lt_cv_sys_global_symbol_pipe"
++if test -z "$lt_cv_sys_global_symbol_pipe"; then
++  global_symbol_to_cdecl=
++  global_symbol_to_c_name_address=
++else
++  global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl"
++  global_symbol_to_c_name_address="$lt_cv_global_symbol_to_c_name_address"
++fi
++if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address";
++then
++  echo "$as_me:$LINENO: result: failed" >&5
++echo "${ECHO_T}failed" >&6
++else
++  echo "$as_me:$LINENO: result: ok" >&5
++echo "${ECHO_T}ok" >&6
++fi
++
++
++echo "$as_me:$LINENO: checking for ANSI C header files" >&5
++echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
++if test "${ac_cv_header_stdc+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <stdlib.h>
++#include <stdarg.h>
++#include <string.h>
++#include <float.h>
++
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  egrep -v '^ *\+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  ac_cv_header_stdc=yes
++else
++  echo "$as_me: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_header_stdc=no
++fi
++rm -f conftest.err conftest.$ac_ext
++
++if test $ac_cv_header_stdc = yes; then
++  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <string.h>
++
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  egrep "memchr" >/dev/null 2>&1; then
++  :
++else
++  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 <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <stdlib.h>
++
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  egrep "free" >/dev/null 2>&1; then
++  :
++else
++  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 <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <ctype.h>
++#if ((' ' & 0x0FF) == 0x020)
++# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
++# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
++#else
++# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
++                     || ('j' <= (c) && (c) <= 'r') \
++                     || ('s' <= (c) && (c) <= 'z'))
++# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
++#endif
++
++#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);
++}
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  :
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++( exit $ac_status )
++ac_cv_header_stdc=no
++fi
++rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++fi
++fi
++echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
++echo "${ECHO_T}$ac_cv_header_stdc" >&6
++if test $ac_cv_header_stdc = yes; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define STDC_HEADERS 1
++_ACEOF
++
++fi
++
++# On IRIX 5.3, sys/types and inttypes.h are conflicting.
++
++
++
++
++
++
++
++
++
++for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
++                  inttypes.h stdint.h unistd.h
++do
++as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++$ac_includes_default
++
++@%:@include <$ac_header>
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_Header=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_Header=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++if test `eval echo '${'$as_ac_Header'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++
++done
++
++
++
++for ac_header in dlfcn.h
++do
++as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++else
++  # Is the header compilable?
++echo "$as_me:$LINENO: checking $ac_header usability" >&5
++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++$ac_includes_default
++@%:@include <$ac_header>
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_header_compiler=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_header_compiler=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
++echo "${ECHO_T}$ac_header_compiler" >&6
++
++# Is the header present?
++echo "$as_me:$LINENO: checking $ac_header presence" >&5
++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++@%:@include <$ac_header>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  egrep -v '^ *\+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  ac_header_preproc=yes
++else
++  echo "$as_me: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_header_preproc=no
++fi
++rm -f conftest.err conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
++echo "${ECHO_T}$ac_header_preproc" >&6
++
++# So?  What about this header?
++case $ac_header_compiler:$ac_header_preproc in
++  yes:no )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
++echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++  no:yes )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
++echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
++echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++esac
++echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  eval "$as_ac_Header=$ac_header_preproc"
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++
++fi
++if test `eval echo '${'$as_ac_Header'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++
++done
++
++
++
++
++
++# Only perform the check for file, if the check method requires it
++case $deplibs_check_method in
++file_magic*)
++  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
++    echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
++echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
++if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  case $MAGIC_CMD in
++  /*)
++  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
++  ;;
++  ?:/*)
++  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
++  ;;
++  *)
++  ac_save_MAGIC_CMD="$MAGIC_CMD"
++  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
++  ac_dummy="/usr/bin:$PATH"
++  for ac_dir in $ac_dummy; do
++    test -z "$ac_dir" && ac_dir=.
++    if test -f $ac_dir/${ac_tool_prefix}file; then
++      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
++      if test -n "$file_magic_test_file"; then
++	case $deplibs_check_method in
++	"file_magic "*)
++	  file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
++	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
++	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
++	    egrep "$file_magic_regex" > /dev/null; then
++	    :
++	  else
++	    cat <<EOF 1>&2
++
++*** Warning: the command libtool uses to detect shared libraries,
++*** $file_magic_cmd, produces output that libtool cannot recognize.
++*** The result is that libtool may fail to recognize shared libraries
++*** as such.  This will affect the creation of libtool libraries that
++*** depend on shared libraries, but programs linked with such libtool
++*** libraries will work regardless of this problem.  Nevertheless, you
++*** may want to report the problem to your system manager and/or to
++*** bug-libtool@gnu.org
++
++EOF
++	  fi ;;
++	esac
++      fi
++      break
++    fi
++  done
++  IFS="$ac_save_ifs"
++  MAGIC_CMD="$ac_save_MAGIC_CMD"
++  ;;
++esac
++fi
++
++MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
++if test -n "$MAGIC_CMD"; then
++  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
++echo "${ECHO_T}$MAGIC_CMD" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++if test -z "$lt_cv_path_MAGIC_CMD"; then
++  if test -n "$ac_tool_prefix"; then
++    echo "$as_me:$LINENO: checking for file" >&5
++echo $ECHO_N "checking for file... $ECHO_C" >&6
++if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  case $MAGIC_CMD in
++  /*)
++  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
++  ;;
++  ?:/*)
++  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
++  ;;
++  *)
++  ac_save_MAGIC_CMD="$MAGIC_CMD"
++  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
++  ac_dummy="/usr/bin:$PATH"
++  for ac_dir in $ac_dummy; do
++    test -z "$ac_dir" && ac_dir=.
++    if test -f $ac_dir/file; then
++      lt_cv_path_MAGIC_CMD="$ac_dir/file"
++      if test -n "$file_magic_test_file"; then
++	case $deplibs_check_method in
++	"file_magic "*)
++	  file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
++	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
++	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
++	    egrep "$file_magic_regex" > /dev/null; then
++	    :
++	  else
++	    cat <<EOF 1>&2
++
++*** Warning: the command libtool uses to detect shared libraries,
++*** $file_magic_cmd, produces output that libtool cannot recognize.
++*** The result is that libtool may fail to recognize shared libraries
++*** as such.  This will affect the creation of libtool libraries that
++*** depend on shared libraries, but programs linked with such libtool
++*** libraries will work regardless of this problem.  Nevertheless, you
++*** may want to report the problem to your system manager and/or to
++*** bug-libtool@gnu.org
++
++EOF
++	  fi ;;
++	esac
++      fi
++      break
++    fi
++  done
++  IFS="$ac_save_ifs"
++  MAGIC_CMD="$ac_save_MAGIC_CMD"
++  ;;
++esac
++fi
++
++MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
++if test -n "$MAGIC_CMD"; then
++  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
++echo "${ECHO_T}$MAGIC_CMD" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  else
++    MAGIC_CMD=:
++  fi
++fi
++
++  fi
++  ;;
++esac
++
++if test -n "$ac_tool_prefix"; then
++  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
++set dummy ${ac_tool_prefix}ranlib; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_RANLIB+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$RANLIB"; then
++  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++RANLIB=$ac_cv_prog_RANLIB
++if test -n "$RANLIB"; then
++  echo "$as_me:$LINENO: result: $RANLIB" >&5
++echo "${ECHO_T}$RANLIB" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++fi
++if test -z "$ac_cv_prog_RANLIB"; then
++  ac_ct_RANLIB=$RANLIB
++  # Extract the first word of "ranlib", so it can be a program name with args.
++set dummy ranlib; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$ac_ct_RANLIB"; then
++  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_ac_ct_RANLIB="ranlib"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
++fi
++fi
++ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
++if test -n "$ac_ct_RANLIB"; then
++  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
++echo "${ECHO_T}$ac_ct_RANLIB" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  RANLIB=$ac_ct_RANLIB
++else
++  RANLIB="$ac_cv_prog_RANLIB"
++fi
++
++if test -n "$ac_tool_prefix"; then
++  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
++set dummy ${ac_tool_prefix}strip; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_STRIP+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$STRIP"; then
++  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++STRIP=$ac_cv_prog_STRIP
++if test -n "$STRIP"; then
++  echo "$as_me:$LINENO: result: $STRIP" >&5
++echo "${ECHO_T}$STRIP" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++fi
++if test -z "$ac_cv_prog_STRIP"; then
++  ac_ct_STRIP=$STRIP
++  # Extract the first word of "strip", so it can be a program name with args.
++set dummy strip; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$ac_ct_STRIP"; then
++  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_ac_ct_STRIP="strip"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
++fi
++fi
++ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
++if test -n "$ac_ct_STRIP"; then
++  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
++echo "${ECHO_T}$ac_ct_STRIP" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  STRIP=$ac_ct_STRIP
++else
++  STRIP="$ac_cv_prog_STRIP"
++fi
++
++
++enable_dlopen=no
++enable_win32_dll=no
++
++# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
++if test "${enable_libtool_lock+set}" = set; then
++  enableval="$enable_libtool_lock"
++  
++fi; 
++test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
++
++# Some flags need to be propagated to the compiler or linker for good
++# libtool support.
++case $host in
++*-*-irix6*)
++  # Find out which ABI we are using.
++  echo '#line __oline__ "configure"' > conftest.$ac_ext
++  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; then
++    case `/usr/bin/file conftest.$ac_objext` in
++    *32-bit*)
++      LD="${LD-ld} -32"
++      ;;
++    *N32*)
++      LD="${LD-ld} -n32"
++      ;;
++    *64-bit*)
++      LD="${LD-ld} -64"
++      ;;
++    esac
++  fi
++  rm -rf conftest*
++  ;;
++
++*-*-sco3.2v5*)
++  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
++  SAVE_CFLAGS="$CFLAGS"
++  CFLAGS="$CFLAGS -belf"
++  echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
++echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
++if test "${lt_cv_cc_needs_belf+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++
++     ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++     cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  lt_cv_cc_needs_belf=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++lt_cv_cc_needs_belf=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++     ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++fi
++echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
++echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
++  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
++    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
++    CFLAGS="$SAVE_CFLAGS"
++  fi
++  ;;
++
++
++esac
++
++# Sed substitution that helps us do robust quoting.  It backslashifies
++# metacharacters that are still active within double-quoted strings.
++Xsed='sed -e s/^X//'
++sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
++
++# Same as above, but do not quote variable references.
++double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
++
++# Sed substitution to delay expansion of an escaped shell variable in a
++# double_quote_subst'ed string.
++delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
++
++# Constants:
++rm="rm -f"
++
++# Global variables:
++default_ofile=libtool
++can_build_shared=yes
++
++# All known linkers require a `.a' archive for static linking (except M$VC,
++# which needs '.lib').
++libext=a
++ltmain="$ac_aux_dir/ltmain.sh"
++ofile="$default_ofile"
++with_gnu_ld="$lt_cv_prog_gnu_ld"
++need_locks="$enable_libtool_lock"
++
++old_CC="$CC"
++old_CFLAGS="$CFLAGS"
++
++# Set sane defaults for various variables
++test -z "$AR" && AR=ar
++test -z "$AR_FLAGS" && AR_FLAGS=cru
++test -z "$AS" && AS=as
++test -z "$CC" && CC=cc
++test -z "$DLLTOOL" && DLLTOOL=dlltool
++test -z "$LD" && LD=ld
++test -z "$LN_S" && LN_S="ln -s"
++test -z "$MAGIC_CMD" && MAGIC_CMD=file
++test -z "$NM" && NM=nm
++test -z "$OBJDUMP" && OBJDUMP=objdump
++test -z "$RANLIB" && RANLIB=:
++test -z "$STRIP" && STRIP=:
++test -z "$ac_objext" && ac_objext=o
++
++if test x"$host" != x"$build"; then
++  ac_tool_prefix=${host_alias}-
++else
++  ac_tool_prefix=
++fi
++
++# Transform linux* to *-*-linux-gnu*, to support old configure scripts.
++case $host_os in
++linux-gnu*) ;;
++linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
++esac
++
++case $host_os in
++aix3*)
++  # AIX sometimes has problems with the GCC collect2 program.  For some
++  # reason, if we set the COLLECT_NAMES environment variable, the problems
++  # vanish in a puff of smoke.
++  if test "X${COLLECT_NAMES+set}" != Xset; then
++    COLLECT_NAMES=
++    export COLLECT_NAMES
++  fi
++  ;;
++esac
++
++# Determine commands to create old-style static archives.
++old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
++old_postinstall_cmds='chmod 644 $oldlib'
++old_postuninstall_cmds=
++
++if test -n "$RANLIB"; then
++  case $host_os in
++  openbsd*)
++    old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
++    ;;
++  *)
++    old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
++    ;;
++  esac
++  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
++fi
++
++# Allow CC to be a program name with arguments.
++set dummy $CC
++compiler="$2"
++
++echo "$as_me:$LINENO: checking for objdir" >&5
++echo $ECHO_N "checking for objdir... $ECHO_C" >&6
++rm -f .libs 2>/dev/null
++mkdir .libs 2>/dev/null
++if test -d .libs; then
++  objdir=.libs
++else
++  # MS-DOS does not allow filenames that begin with a dot.
++  objdir=_libs
++fi
++rmdir .libs 2>/dev/null
++echo "$as_me:$LINENO: result: $objdir" >&5
++echo "${ECHO_T}$objdir" >&6
++
++
++
++# Check whether --with-pic or --without-pic was given.
++if test "${with_pic+set}" = set; then
++  withval="$with_pic"
++  pic_mode="$withval"
++else
++  pic_mode=default
++fi; 
++test -z "$pic_mode" && pic_mode=default
++
++# We assume here that the value for lt_cv_prog_cc_pic will not be cached
++# in isolation, and that seeing it set (from the cache) indicates that
++# the associated values are set (in the cache) correctly too.
++echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
++echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
++if test "${lt_cv_prog_cc_pic+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++   lt_cv_prog_cc_pic=
++  lt_cv_prog_cc_shlib=
++  lt_cv_prog_cc_wl=
++  lt_cv_prog_cc_static=
++  lt_cv_prog_cc_no_builtin=
++  lt_cv_prog_cc_can_build_shared=$can_build_shared
++
++  if test "$GCC" = yes; then
++    lt_cv_prog_cc_wl='-Wl,'
++    lt_cv_prog_cc_static='-static'
++
++    case $host_os in
++    aix*)
++      # Below there is a dirty hack to force normal static linking with -ldl
++      # The problem is because libdl dynamically linked with both libc and
++      # libC (AIX C++ library), which obviously doesn't included in libraries
++      # list by gcc. This cause undefined symbols with -static flags.
++      # This hack allows C programs to be linked with "-static -ldl", but
++      # not sure about C++ programs.
++      lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC"
++      ;;
++    amigaos*)
++      # FIXME: we need at least 68020 code to build shared libraries, but
++      # adding the `-m68020' flag to GCC prevents building anything better,
++      # like `-m68040'.
++      lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4'
++      ;;
++    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
++      # PIC is the default for these OSes.
++      ;;
++    darwin* | rhapsody*)
++      # PIC is the default on this platform
++      # Common symbols not allowed in MH_DYLIB files
++      lt_cv_prog_cc_pic='-fno-common'
++      ;;
++    cygwin* | mingw* | pw32* | os2*)
++      # This hack is so that the source file can tell whether it is being
++      # built for inclusion in a dll (and should export symbols for example).
++      lt_cv_prog_cc_pic='-DDLL_EXPORT'
++      ;;
++    sysv4*MP*)
++      if test -d /usr/nec; then
++	 lt_cv_prog_cc_pic=-Kconform_pic
++      fi
++      ;;
++    *)
++      lt_cv_prog_cc_pic='-fPIC'
++      ;;
++    esac
++  else
++    # PORTME Check for PIC flags for the system compiler.
++    case $host_os in
++    aix3* | aix4* | aix5*)
++      lt_cv_prog_cc_wl='-Wl,'
++      # All AIX code is PIC.
++      if test "$host_cpu" = ia64; then
++	# AIX 5 now supports IA64 processor
++	lt_cv_prog_cc_static='-Bstatic'
++      else
++	lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp'
++      fi
++      ;;
++
++    hpux9* | hpux10* | hpux11*)
++      # Is there a better lt_cv_prog_cc_static that works with the bundled CC?
++      lt_cv_prog_cc_wl='-Wl,'
++      lt_cv_prog_cc_static="${lt_cv_prog_cc_wl}-a ${lt_cv_prog_cc_wl}archive"
++      lt_cv_prog_cc_pic='+Z'
++      ;;
++
++    irix5* | irix6* | nonstopux*)
++      lt_cv_prog_cc_wl='-Wl,'
++      lt_cv_prog_cc_static='-non_shared'
++      # PIC (with -KPIC) is the default.
++      ;;
++
++    cygwin* | mingw* | pw32* | os2*)
++      # This hack is so that the source file can tell whether it is being
++      # built for inclusion in a dll (and should export symbols for example).
++      lt_cv_prog_cc_pic='-DDLL_EXPORT'
++      ;;
++
++    newsos6)
++      lt_cv_prog_cc_pic='-KPIC'
++      lt_cv_prog_cc_static='-Bstatic'
++      ;;
++
++    osf3* | osf4* | osf5*)
++      # All OSF/1 code is PIC.
++      lt_cv_prog_cc_wl='-Wl,'
++      lt_cv_prog_cc_static='-non_shared'
++      ;;
++
++    sco3.2v5*)
++      lt_cv_prog_cc_pic='-Kpic'
++      lt_cv_prog_cc_static='-dn'
++      lt_cv_prog_cc_shlib='-belf'
++      ;;
++
++    solaris*)
++      lt_cv_prog_cc_pic='-KPIC'
++      lt_cv_prog_cc_static='-Bstatic'
++      lt_cv_prog_cc_wl='-Wl,'
++      ;;
++
++    sunos4*)
++      lt_cv_prog_cc_pic='-PIC'
++      lt_cv_prog_cc_static='-Bstatic'
++      lt_cv_prog_cc_wl='-Qoption ld '
++      ;;
++
++    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
++      lt_cv_prog_cc_pic='-KPIC'
++      lt_cv_prog_cc_static='-Bstatic'
++      if test "x$host_vendor" = xsni; then
++	lt_cv_prog_cc_wl='-LD'
++      else
++	lt_cv_prog_cc_wl='-Wl,'
++      fi
++      ;;
++
++    uts4*)
++      lt_cv_prog_cc_pic='-pic'
++      lt_cv_prog_cc_static='-Bstatic'
++      ;;
++
++    sysv4*MP*)
++      if test -d /usr/nec ;then
++	lt_cv_prog_cc_pic='-Kconform_pic'
++	lt_cv_prog_cc_static='-Bstatic'
++      fi
++      ;;
++
++    *)
++      lt_cv_prog_cc_can_build_shared=no
++      ;;
++    esac
++  fi
++
++fi
++
++if test -z "$lt_cv_prog_cc_pic"; then
++  echo "$as_me:$LINENO: result: none" >&5
++echo "${ECHO_T}none" >&6
++else
++  echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic" >&5
++echo "${ECHO_T}$lt_cv_prog_cc_pic" >&6
++
++  # Check to make sure the pic_flag actually works.
++  echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5
++echo $ECHO_N "checking if $compiler PIC flag $lt_cv_prog_cc_pic works... $ECHO_C" >&6
++  if test "${lt_cv_prog_cc_pic_works+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++      save_CFLAGS="$CFLAGS"
++    CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"
++    cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++        case $host_os in
++      hpux9* | hpux10* | hpux11*)
++	# On HP-UX, both CC and GCC only warn that PIC is supported... then
++	# they create non-PIC objects.  So, if there were any warnings, we
++	# assume that PIC is not supported.
++	if test -s conftest.err; then
++	  lt_cv_prog_cc_pic_works=no
++	else
++	  lt_cv_prog_cc_pic_works=yes
++	fi
++	;;
++      *)
++	lt_cv_prog_cc_pic_works=yes
++	;;
++      esac
++    
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++      lt_cv_prog_cc_pic_works=no
++    
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++    CFLAGS="$save_CFLAGS"
++  
++fi
++
++
++  if test "X$lt_cv_prog_cc_pic_works" = Xno; then
++    lt_cv_prog_cc_pic=
++    lt_cv_prog_cc_can_build_shared=no
++  else
++    lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic"
++  fi
++
++  echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic_works" >&5
++echo "${ECHO_T}$lt_cv_prog_cc_pic_works" >&6
++fi
++
++# Check for any special shared library compilation flags.
++if test -n "$lt_cv_prog_cc_shlib"; then
++  { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&5
++echo "$as_me: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&2;}
++  if echo "$old_CC $old_CFLAGS " | egrep -e "[ 	]$lt_cv_prog_cc_shlib[ 	]" >/dev/null; then :
++  else
++   { echo "$as_me:$LINENO: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
++echo "$as_me: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
++    lt_cv_prog_cc_can_build_shared=no
++  fi
++fi
++
++echo "$as_me:$LINENO: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5
++echo $ECHO_N "checking if $compiler static flag $lt_cv_prog_cc_static works... $ECHO_C" >&6
++if test "${lt_cv_prog_cc_static_works+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++    lt_cv_prog_cc_static_works=no
++  save_LDFLAGS="$LDFLAGS"
++  LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  lt_cv_prog_cc_static_works=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++  LDFLAGS="$save_LDFLAGS"
++
++fi
++
++
++# Belt *and* braces to stop my trousers falling down:
++test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static=
++echo "$as_me:$LINENO: result: $lt_cv_prog_cc_static_works" >&5
++echo "${ECHO_T}$lt_cv_prog_cc_static_works" >&6
++
++pic_flag="$lt_cv_prog_cc_pic"
++special_shlib_compile_flags="$lt_cv_prog_cc_shlib"
++wl="$lt_cv_prog_cc_wl"
++link_static_flag="$lt_cv_prog_cc_static"
++no_builtin_flag="$lt_cv_prog_cc_no_builtin"
++can_build_shared="$lt_cv_prog_cc_can_build_shared"
++
++
++# Check to see if options -o and -c are simultaneously supported by compiler
++echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
++echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
++if test "${lt_cv_compiler_c_o+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++$rm -r conftest 2>/dev/null
++mkdir conftest
++cd conftest
++echo "int some_variable = 0;" > conftest.$ac_ext
++mkdir out
++# According to Tom Tromey, Ian Lance Taylor reported there are C compilers
++# that will create temporary files in the current directory regardless of
++# the output directory.  Thus, making CWD read-only will cause this test
++# to fail, enabling locking or at least warning the user not to do parallel
++# builds.
++chmod -w .
++save_CFLAGS="$CFLAGS"
++CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
++compiler_c_o=no
++if { (eval echo configure:__oline__: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
++  # The compiler can only warn and ignore the option if not recognized
++  # So say no if there are warnings
++  if test -s out/conftest.err; then
++    lt_cv_compiler_c_o=no
++  else
++    lt_cv_compiler_c_o=yes
++  fi
++else
++  # Append any errors to the config.log.
++  cat out/conftest.err 1>&5
++  lt_cv_compiler_c_o=no
++fi
++CFLAGS="$save_CFLAGS"
++chmod u+w .
++$rm conftest* out/*
++rmdir out
++cd ..
++rmdir conftest
++$rm -r conftest 2>/dev/null
++
++fi
++
++compiler_c_o=$lt_cv_compiler_c_o
++echo "$as_me:$LINENO: result: $compiler_c_o" >&5
++echo "${ECHO_T}$compiler_c_o" >&6
++
++if test x"$compiler_c_o" = x"yes"; then
++  # Check to see if we can write to a .lo
++  echo "$as_me:$LINENO: checking if $compiler supports -c -o file.lo" >&5
++echo $ECHO_N "checking if $compiler supports -c -o file.lo... $ECHO_C" >&6
++  if test "${lt_cv_compiler_o_lo+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++  lt_cv_compiler_o_lo=no
++  save_CFLAGS="$CFLAGS"
++  CFLAGS="$CFLAGS -c -o conftest.lo"
++  save_objext="$ac_objext"
++  ac_objext=lo
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++int some_variable = 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++      # The compiler can only warn and ignore the option if not recognized
++    # So say no if there are warnings
++    if test -s conftest.err; then
++      lt_cv_compiler_o_lo=no
++    else
++      lt_cv_compiler_o_lo=yes
++    fi
++  
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++  ac_objext="$save_objext"
++  CFLAGS="$save_CFLAGS"
++  
++fi
++
++  compiler_o_lo=$lt_cv_compiler_o_lo
++  echo "$as_me:$LINENO: result: $compiler_o_lo" >&5
++echo "${ECHO_T}$compiler_o_lo" >&6
++else
++  compiler_o_lo=no
++fi
++
++# Check to see if we can do hard links to lock some files if needed
++hard_links="nottested"
++if test "$compiler_c_o" = no && test "$need_locks" != no; then
++  # do not overwrite the value of need_locks provided by the user
++  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
++echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
++  hard_links=yes
++  $rm conftest*
++  ln conftest.a conftest.b 2>/dev/null && hard_links=no
++  touch conftest.a
++  ln conftest.a conftest.b 2>&5 || hard_links=no
++  ln conftest.a conftest.b 2>/dev/null && hard_links=no
++  echo "$as_me:$LINENO: result: $hard_links" >&5
++echo "${ECHO_T}$hard_links" >&6
++  if test "$hard_links" = no; then
++    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
++echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
++    need_locks=warn
++  fi
++else
++  need_locks=no
++fi
++
++if test "$GCC" = yes; then
++  # Check to see if options -fno-rtti -fno-exceptions are supported by compiler
++  echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
++echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
++  echo "int some_variable = 0;" > conftest.$ac_ext
++  save_CFLAGS="$CFLAGS"
++  CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"
++  compiler_rtti_exceptions=no
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++int some_variable = 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++      # The compiler can only warn and ignore the option if not recognized
++    # So say no if there are warnings
++    if test -s conftest.err; then
++      compiler_rtti_exceptions=no
++    else
++      compiler_rtti_exceptions=yes
++    fi
++  
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++  CFLAGS="$save_CFLAGS"
++  echo "$as_me:$LINENO: result: $compiler_rtti_exceptions" >&5
++echo "${ECHO_T}$compiler_rtti_exceptions" >&6
++
++  if test "$compiler_rtti_exceptions" = "yes"; then
++    no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions'
++  else
++    no_builtin_flag=' -fno-builtin'
++  fi
++fi
++
++# See if the linker supports building shared libraries.
++echo "$as_me:$LINENO: checking whether the linker ($LD) supports shared libraries" >&5
++echo $ECHO_N "checking whether the linker ($LD) supports shared libraries... $ECHO_C" >&6
++
++allow_undefined_flag=
++no_undefined_flag=
++need_lib_prefix=unknown
++need_version=unknown
++# when you set need_version to no, make sure it does not cause -set_version
++# flags to be left without arguments
++archive_cmds=
++archive_expsym_cmds=
++old_archive_from_new_cmds=
++old_archive_from_expsyms_cmds=
++export_dynamic_flag_spec=
++whole_archive_flag_spec=
++thread_safe_flag_spec=
++hardcode_into_libs=no
++hardcode_libdir_flag_spec=
++hardcode_libdir_separator=
++hardcode_direct=no
++hardcode_minus_L=no
++hardcode_shlibpath_var=unsupported
++runpath_var=
++link_all_deplibs=unknown
++always_export_symbols=no
++export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols'
++# include_expsyms should be a list of space-separated symbols to be *always*
++# included in the symbol list
++include_expsyms=
++# exclude_expsyms can be an egrep regular expression of symbols to exclude
++# it will be wrapped by ` (' and `)$', so one must not match beginning or
++# end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
++# as well as any symbol that contains `d'.
++exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
++# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
++# platforms (ab)use it in PIC code, but their linkers get confused if
++# the symbol is explicitly referenced.  Since portable code cannot
++# rely on this symbol name, it's probably fine to never include it in
++# preloaded symbol tables.
++extract_expsyms_cmds=
++
++case $host_os in
++cygwin* | mingw* | pw32*)
++  # FIXME: the MSVC++ port hasn't been tested in a loooong time
++  # When not using gcc, we currently assume that we are using
++  # Microsoft Visual C++.
++  if test "$GCC" != yes; then
++    with_gnu_ld=no
++  fi
++  ;;
++openbsd*)
++  with_gnu_ld=no
++  ;;
++esac
++
++ld_shlibs=yes
++if test "$with_gnu_ld" = yes; then
++  # If archive_cmds runs LD, not CC, wlarc should be empty
++  wlarc='${wl}'
++
++  # See if GNU ld supports shared libraries.
++  case $host_os in
++  aix3* | aix4* | aix5*)
++    # On AIX, the GNU linker is very broken
++    # Note:Check GNU linker on AIX 5-IA64 when/if it becomes available.
++    ld_shlibs=no
++    cat <<EOF 1>&2
++
++*** Warning: the GNU linker, at least up to release 2.9.1, is reported
++*** to be unable to reliably create shared libraries on AIX.
++*** Therefore, libtool is disabling shared libraries support.  If you
++*** really care for shared libraries, you may want to modify your PATH
++*** so that a non-GNU linker is found, and then restart.
++
++EOF
++    ;;
++
++  amigaos*)
++    archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
++    hardcode_libdir_flag_spec='-L$libdir'
++    hardcode_minus_L=yes
++
++    # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
++    # that the semantics of dynamic libraries on AmigaOS, at least up
++    # to version 4, is to share data among multiple programs linked
++    # with the same dynamic library.  Since this doesn't match the
++    # behavior of shared libraries on other platforms, we can use
++    # them.
++    ld_shlibs=no
++    ;;
++
++  beos*)
++    if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
++      allow_undefined_flag=unsupported
++      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
++      # support --undefined.  This deserves some investigation.  FIXME
++      archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++    else
++      ld_shlibs=no
++    fi
++    ;;
++
++  cygwin* | mingw* | pw32*)
++    # hardcode_libdir_flag_spec is actually meaningless, as there is
++    # no search path for DLLs.
++    hardcode_libdir_flag_spec='-L$libdir'
++    allow_undefined_flag=unsupported
++    always_export_symbols=yes
++
++    extract_expsyms_cmds='test -f $output_objdir/impgen.c || \
++      sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~
++      test -f $output_objdir/impgen.exe || (cd $output_objdir && \
++      if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \
++      else $CC -o impgen impgen.c ; fi)~
++      $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def'
++
++    old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib'
++
++    # cygwin and mingw dlls have different entry points and sets of symbols
++    # to exclude.
++    # FIXME: what about values for MSVC?
++    dll_entry=__cygwin_dll_entry@12
++    dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~
++    case $host_os in
++    mingw*)
++      # mingw values
++      dll_entry=_DllMainCRTStartup@12
++      dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~
++      ;;
++    esac
++
++    # mingw and cygwin differ, and it's simplest to just exclude the union
++    # of the two symbol sets.
++    dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12
++
++    # recent cygwin and mingw systems supply a stub DllMain which the user
++    # can override, but on older systems we have to supply one (in ltdll.c)
++    if test "x$lt_cv_need_dllmain" = "xyes"; then
++      ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext "
++      ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < $''0 > $output_objdir/$soname-ltdll.c~
++	test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~'
++    else
++      ltdll_obj=
++      ltdll_cmds=
++    fi
++
++    # Extract the symbol export list from an `--export-all' def file,
++    # then regenerate the def file from the symbol export list, so that
++    # the compiled dll only exports the symbol export list.
++    # Be careful not to strip the DATA tag left be newer dlltools.
++    export_symbols_cmds="$ltdll_cmds"'
++      $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~
++      sed -e "1,/EXPORTS/d" -e "s/ @ [0-9]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols'
++
++    # If the export-symbols file already is a .def file (1st line
++    # is EXPORTS), use it as is.
++    # If DATA tags from a recent dlltool are present, honour them!
++    archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then
++	cp $export_symbols $output_objdir/$soname-def;
++      else
++	echo EXPORTS > $output_objdir/$soname-def;
++	_lt_hint=1;
++	cat $export_symbols | while read symbol; do
++	 set dummy \$symbol;
++	 case \$# in
++	   2) echo "   \$2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
++	   *) echo "     \$2 @ \$_lt_hint \$3 ; " >> $output_objdir/$soname-def;;
++	 esac;
++	 _lt_hint=`expr 1 + \$_lt_hint`;
++	done;
++      fi~
++      '"$ltdll_cmds"'
++      $CC -Wl,--base-file,$output_objdir/$soname-base '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
++      $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp~
++      $CC -Wl,--base-file,$output_objdir/$soname-base $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
++      $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp --output-lib $output_objdir/$libname.dll.a~
++      $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags'
++    ;;
++
++  netbsd*)
++    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++      archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
++      wlarc=
++    else
++      archive_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++      archive_expsym_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++    fi
++    ;;
++
++  solaris* | sysv5*)
++    if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then
++      ld_shlibs=no
++      cat <<EOF 1>&2
++
++*** Warning: The releases 2.8.* of the GNU linker cannot reliably
++*** create shared libraries on Solaris systems.  Therefore, libtool
++*** is disabling shared libraries support.  We urge you to upgrade GNU
++*** binutils to release 2.9.1 or newer.  Another option is to modify
++*** your PATH or compiler configuration so that the native linker is
++*** used, and then restart.
++
++EOF
++    elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
++      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++      archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++    else
++      ld_shlibs=no
++    fi
++    ;;
++
++  sunos4*)
++    archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++    wlarc=
++    hardcode_direct=yes
++    hardcode_shlibpath_var=no
++    ;;
++
++  *)
++    if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
++      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++      archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++    else
++      ld_shlibs=no
++    fi
++    ;;
++  esac
++
++  if test "$ld_shlibs" = yes; then
++    runpath_var=LD_RUN_PATH
++    hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
++    export_dynamic_flag_spec='${wl}--export-dynamic'
++    case $host_os in
++    cygwin* | mingw* | pw32*)
++      # dlltool doesn't understand --whole-archive et. al.
++      whole_archive_flag_spec=
++      ;;
++    *)
++      # ancient GNU ld didn't support --whole-archive et. al.
++      if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then
++	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
++      else
++	whole_archive_flag_spec=
++      fi
++      ;;
++    esac
++  fi
++else
++  # PORTME fill in a description of your system's linker (not GNU ld)
++  case $host_os in
++  aix3*)
++    allow_undefined_flag=unsupported
++    always_export_symbols=yes
++    archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
++    # Note: this linker hardcodes the directories in LIBPATH if there
++    # are no directories specified by -L.
++    hardcode_minus_L=yes
++    if test "$GCC" = yes && test -z "$link_static_flag"; then
++      # Neither direct hardcoding nor static linking is supported with a
++      # broken collect2.
++      hardcode_direct=unsupported
++    fi
++    ;;
++
++  aix4* | aix5*)
++    if test "$host_cpu" = ia64; then
++      # On IA64, the linker does run time linking by default, so we don't
++      # have to do anything special.
++      aix_use_runtimelinking=no
++      exp_sym_flag='-Bexport'
++      no_entry_flag=""
++    else
++      aix_use_runtimelinking=no
++
++      # Test if we are trying to use run time linking or normal
++      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
++      # need to do runtime linking.
++      case $host_os in aix4.[23]|aix4.[23].*|aix5*)
++	for ld_flag in $LDFLAGS; do
++	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
++	    aix_use_runtimelinking=yes
++	    break
++	  fi
++	done
++      esac
++
++      exp_sym_flag='-bexport'
++      no_entry_flag='-bnoentry'
++    fi
++
++    # When large executables or shared objects are built, AIX ld can
++    # have problems creating the table of contents.  If linking a library
++    # or program results in "error TOC overflow" add -mminimal-toc to
++    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
++    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
++
++    hardcode_direct=yes
++    archive_cmds=''
++    hardcode_libdir_separator=':'
++    if test "$GCC" = yes; then
++      case $host_os in aix4.[012]|aix4.[012].*)
++	collect2name=`${CC} -print-prog-name=collect2`
++	if test -f "$collect2name" && \
++	  strings "$collect2name" | grep resolve_lib_name >/dev/null
++	then
++	  # We have reworked collect2
++	  hardcode_direct=yes
++	else
++	  # We have old collect2
++	  hardcode_direct=unsupported
++	  # It fails to find uninstalled libraries when the uninstalled
++	  # path is not listed in the libpath.  Setting hardcode_minus_L
++	  # to unsupported forces relinking
++	  hardcode_minus_L=yes
++	  hardcode_libdir_flag_spec='-L$libdir'
++	  hardcode_libdir_separator=
++	fi
++      esac
++
++      shared_flag='-shared'
++    else
++      # not using gcc
++      if test "$host_cpu" = ia64; then
++	shared_flag='${wl}-G'
++      else
++	if test "$aix_use_runtimelinking" = yes; then
++	  shared_flag='${wl}-G'
++	else
++	  shared_flag='${wl}-bM:SRE'
++	fi
++      fi
++    fi
++
++    # It seems that -bexpall can do strange things, so it is better to
++    # generate a list of symbols to export.
++    always_export_symbols=yes
++    if test "$aix_use_runtimelinking" = yes; then
++      # Warning - without using the other runtime loading flags (-brtl),
++      # -berok will link without error, but may produce a broken library.
++      allow_undefined_flag='-berok'
++      hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib'
++      archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
++    else
++      if test "$host_cpu" = ia64; then
++	hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
++	allow_undefined_flag="-z nodefs"
++	archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
++      else
++	hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib'
++	# Warning - without using the other run time loading flags,
++	# -berok will link without error, but may produce a broken library.
++	allow_undefined_flag='${wl}-berok'
++	# This is a bit strange, but is similar to how AIX traditionally builds
++	# it's shared libraries.
++	archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $objdir/$libname$release.a $objdir/$soname'
++      fi
++    fi
++    ;;
++
++  amigaos*)
++    archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
++    hardcode_libdir_flag_spec='-L$libdir'
++    hardcode_minus_L=yes
++    # see comment about different semantics on the GNU ld section
++    ld_shlibs=no
++    ;;
++
++  cygwin* | mingw* | pw32*)
++    # When not using gcc, we currently assume that we are using
++    # Microsoft Visual C++.
++    # hardcode_libdir_flag_spec is actually meaningless, as there is
++    # no search path for DLLs.
++    hardcode_libdir_flag_spec=' '
++    allow_undefined_flag=unsupported
++    # Tell ltmain to make .lib files, not .a files.
++    libext=lib
++    # FIXME: Setting linknames here is a bad hack.
++    archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames='
++    # The linker will automatically build a .lib file if we build a DLL.
++    old_archive_from_new_cmds='true'
++    # FIXME: Should let the user specify the lib program.
++    old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
++    fix_srcfile_path='`cygpath -w "$srcfile"`'
++    ;;
++
++  darwin* | rhapsody*)
++    case "$host_os" in
++    rhapsody* | darwin1.[012])
++      allow_undefined_flag='-undefined suppress'
++      ;;
++    *) # Darwin 1.3 on
++      allow_undefined_flag='-flat_namespace -undefined suppress'
++      ;;
++    esac
++    # FIXME: Relying on posixy $() will cause problems for
++    #        cross-compilation, but unfortunately the echo tests do not
++    #        yet detect zsh echo's removal of \ escapes.  Also zsh mangles
++    #	     `"' quotes if we put them in here... so don't!
++    archive_cmds='$nonopt $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linker_flags -install_name $rpath/$soname $verstring'
++    # We need to add '_' to the symbols in $export_symbols first
++    #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
++    hardcode_direct=yes
++    hardcode_shlibpath_var=no
++    whole_archive_flag_spec='-all_load $convenience'
++    ;;
++
++  freebsd1*)
++    ld_shlibs=no
++    ;;
++
++  # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
++  # support.  Future versions do this automatically, but an explicit c++rt0.o
++  # does not break anything, and helps significantly (at the cost of a little
++  # extra space).
++  freebsd2.2*)
++    archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
++    hardcode_libdir_flag_spec='-R$libdir'
++    hardcode_direct=yes
++    hardcode_shlibpath_var=no
++    ;;
++
++  # Unfortunately, older versions of FreeBSD 2 do not have this feature.
++  freebsd2*)
++    archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++    hardcode_direct=yes
++    hardcode_minus_L=yes
++    hardcode_shlibpath_var=no
++    ;;
++
++  # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
++  freebsd*)
++    archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
++    hardcode_libdir_flag_spec='-R$libdir'
++    hardcode_direct=yes
++    hardcode_shlibpath_var=no
++    ;;
++
++  hpux9* | hpux10* | hpux11*)
++    case $host_os in
++    hpux9*) archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ;;
++    *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;;
++    esac
++    hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
++    hardcode_libdir_separator=:
++    hardcode_direct=yes
++    hardcode_minus_L=yes # Not in the search PATH, but as the default
++			 # location of the library.
++    export_dynamic_flag_spec='${wl}-E'
++    ;;
++
++  irix5* | irix6* | nonstopux*)
++    if test "$GCC" = yes; then
++      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++    else
++      archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
++    fi
++    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
++    hardcode_libdir_separator=:
++    link_all_deplibs=yes
++    ;;
++
++  netbsd*)
++    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
++    else
++      archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
++    fi
++    hardcode_libdir_flag_spec='-R$libdir'
++    hardcode_direct=yes
++    hardcode_shlibpath_var=no
++    ;;
++
++  newsos6)
++    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++    hardcode_direct=yes
++    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
++    hardcode_libdir_separator=:
++    hardcode_shlibpath_var=no
++    ;;
++
++  openbsd*)
++    hardcode_direct=yes
++    hardcode_shlibpath_var=no
++    if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
++      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
++      export_dynamic_flag_spec='${wl}-E'
++    else
++      case "$host_os" in
++      openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
++	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++	hardcode_libdir_flag_spec='-R$libdir'
++        ;;
++      *)
++        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
++        hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
++        ;;
++      esac
++    fi
++    ;;
++
++  os2*)
++    hardcode_libdir_flag_spec='-L$libdir'
++    hardcode_minus_L=yes
++    allow_undefined_flag=unsupported
++    archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
++    old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
++    ;;
++
++  osf3*)
++    if test "$GCC" = yes; then
++      allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
++      archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++    else
++      allow_undefined_flag=' -expect_unresolved \*'
++      archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
++    fi
++    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
++    hardcode_libdir_separator=:
++    ;;
++
++  osf4* | osf5*)	# as osf3* with the addition of -msym flag
++    if test "$GCC" = yes; then
++      allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
++      archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
++    else
++      allow_undefined_flag=' -expect_unresolved \*'
++      archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
++      archive_expsym_cmds='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
++      $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
++
++      #Both c and cxx compiler support -rpath directly
++      hardcode_libdir_flag_spec='-rpath $libdir'
++    fi
++    hardcode_libdir_separator=:
++    ;;
++
++  sco3.2v5*)
++    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++    hardcode_shlibpath_var=no
++    runpath_var=LD_RUN_PATH
++    hardcode_runpath_var=yes
++    export_dynamic_flag_spec='${wl}-Bexport'
++    ;;
++
++  solaris*)
++    # gcc --version < 3.0 without binutils cannot create self contained
++    # shared libraries reliably, requiring libgcc.a to resolve some of
++    # the object symbols generated in some cases.  Libraries that use
++    # assert need libgcc.a to resolve __eprintf, for example.  Linking
++    # a copy of libgcc.a into every shared library to guarantee resolving
++    # such symbols causes other problems:  According to Tim Van Holder
++    # <tim.van.holder@pandora.be>, C++ libraries end up with a separate
++    # (to the application) exception stack for one thing.
++    no_undefined_flag=' -z defs'
++    if test "$GCC" = yes; then
++      case `$CC --version 2>/dev/null` in
++      [12].*)
++	cat <<EOF 1>&2
++
++*** Warning: Releases of GCC earlier than version 3.0 cannot reliably
++*** create self contained shared libraries on Solaris systems, without
++*** introducing a dependency on libgcc.a.  Therefore, libtool is disabling
++*** -no-undefined support, which will at least allow you to build shared
++*** libraries.  However, you may find that when you link such libraries
++*** into an application without using GCC, you have to manually add
++*** \`gcc --print-libgcc-file-name\` to the link command.  We urge you to
++*** upgrade to a newer version of GCC.  Another option is to rebuild your
++*** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer.
++
++EOF
++        no_undefined_flag=
++	;;
++      esac
++    fi
++    # $CC -shared without GNU ld will not create a library from C++
++    # object files and a static libstdc++, better avoid it by now
++    archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
++    archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++		$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
++    hardcode_libdir_flag_spec='-R$libdir'
++    hardcode_shlibpath_var=no
++    case $host_os in
++    solaris2.[0-5] | solaris2.[0-5].*) ;;
++    *) # Supported since Solaris 2.6 (maybe 2.5.1?)
++      whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
++    esac
++    link_all_deplibs=yes
++    ;;
++
++  sunos4*)
++    if test "x$host_vendor" = xsequent; then
++      # Use $CC to link under sequent, because it throws in some extra .o
++      # files that make .init and .fini sections work.
++      archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
++    else
++      archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
++    fi
++    hardcode_libdir_flag_spec='-L$libdir'
++    hardcode_direct=yes
++    hardcode_minus_L=yes
++    hardcode_shlibpath_var=no
++    ;;
++
++  sysv4)
++    if test "x$host_vendor" = xsno; then
++      archive_cmds='$LD -G -Bsymbolic -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_direct=yes # is this really true???
++    else
++      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_direct=no #Motorola manual says yes, but my tests say they lie
++    fi
++    runpath_var='LD_RUN_PATH'
++    hardcode_shlibpath_var=no
++    ;;
++
++  sysv4.3*)
++    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++    hardcode_shlibpath_var=no
++    export_dynamic_flag_spec='-Bexport'
++    ;;
++
++  sysv5*)
++    no_undefined_flag=' -z text'
++    # $CC -shared without GNU ld will not create a library from C++
++    # object files and a static libstdc++, better avoid it by now
++    archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
++    archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++		$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
++    hardcode_libdir_flag_spec=
++    hardcode_shlibpath_var=no
++    runpath_var='LD_RUN_PATH'
++    ;;
++
++  uts4*)
++    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++    hardcode_libdir_flag_spec='-L$libdir'
++    hardcode_shlibpath_var=no
++    ;;
++
++  dgux*)
++    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++    hardcode_libdir_flag_spec='-L$libdir'
++    hardcode_shlibpath_var=no
++    ;;
++
++  sysv4*MP*)
++    if test -d /usr/nec; then
++      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_shlibpath_var=no
++      runpath_var=LD_RUN_PATH
++      hardcode_runpath_var=yes
++      ld_shlibs=yes
++    fi
++    ;;
++
++  sysv4.2uw2*)
++    archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
++    hardcode_direct=yes
++    hardcode_minus_L=no
++    hardcode_shlibpath_var=no
++    hardcode_runpath_var=yes
++    runpath_var=LD_RUN_PATH
++    ;;
++
++  sysv5uw7* | unixware7*)
++    no_undefined_flag='${wl}-z ${wl}text'
++    if test "$GCC" = yes; then
++      archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++    else
++      archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++    fi
++    runpath_var='LD_RUN_PATH'
++    hardcode_shlibpath_var=no
++    ;;
++
++  *)
++    ld_shlibs=no
++    ;;
++  esac
++fi
++echo "$as_me:$LINENO: result: $ld_shlibs" >&5
++echo "${ECHO_T}$ld_shlibs" >&6
++test "$ld_shlibs" = no && can_build_shared=no
++
++# Check hardcoding attributes.
++echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
++echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
++hardcode_action=
++if test -n "$hardcode_libdir_flag_spec" || \
++   test -n "$runpath_var"; then
++
++  # We can hardcode non-existant directories.
++  if test "$hardcode_direct" != no &&
++     # If the only mechanism to avoid hardcoding is shlibpath_var, we
++     # have to relink, otherwise we might link with an installed library
++     # when we should be linking with a yet-to-be-installed one
++     ## test "$hardcode_shlibpath_var" != no &&
++     test "$hardcode_minus_L" != no; then
++    # Linking always hardcodes the temporary library directory.
++    hardcode_action=relink
++  else
++    # We can link without hardcoding, and we can hardcode nonexisting dirs.
++    hardcode_action=immediate
++  fi
++else
++  # We cannot hardcode anything, or else we can only hardcode existing
++  # directories.
++  hardcode_action=unsupported
++fi
++echo "$as_me:$LINENO: result: $hardcode_action" >&5
++echo "${ECHO_T}$hardcode_action" >&6
++
++striplib=
++old_striplib=
++echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
++echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
++if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
++  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
++  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
++  echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++reload_cmds='$LD$reload_flag -o $output$reload_objs'
++test -z "$deplibs_check_method" && deplibs_check_method=unknown
++
++# PORTME Fill in your ld.so characteristics
++echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
++echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
++library_names_spec=
++libname_spec='lib$name'
++soname_spec=
++postinstall_cmds=
++postuninstall_cmds=
++finish_cmds=
++finish_eval=
++shlibpath_var=
++shlibpath_overrides_runpath=unknown
++version_type=none
++dynamic_linker="$host_os ld.so"
++sys_lib_dlsearch_path_spec="/lib /usr/lib"
++sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
++
++case $host_os in
++aix3*)
++  version_type=linux
++  library_names_spec='${libname}${release}.so$versuffix $libname.a'
++  shlibpath_var=LIBPATH
++
++  # AIX has no versioning support, so we append a major version to the name.
++  soname_spec='${libname}${release}.so$major'
++  ;;
++
++aix4* | aix5*)
++  version_type=linux
++  if test "$host_cpu" = ia64; then
++    # AIX 5 supports IA64
++    library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so'
++    shlibpath_var=LD_LIBRARY_PATH
++  else
++    # With GCC up to 2.95.x, collect2 would create an import file
++    # for dependence libraries.  The import file would start with
++    # the line `#! .'.  This would cause the generated library to
++    # depend on `.', always an invalid library.  This was fixed in
++    # development snapshots of GCC prior to 3.0.
++    case $host_os in
++      aix4 | aix4.[01] | aix4.[01].*)
++	if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
++	     echo ' yes '
++	     echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
++	  :
++	else
++	  can_build_shared=no
++	fi
++	;;
++    esac
++    # AIX (on Power*) has no versioning support, so currently we can
++    # not hardcode correct soname into executable. Probably we can
++    # add versioning support to collect2, so additional links can
++    # be useful in future.
++    if test "$aix_use_runtimelinking" = yes; then
++      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
++      # instead of lib<name>.a to let people know that these are not
++      # typical AIX shared libraries.
++      library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++    else
++      # We preserve .a as extension for shared libraries through AIX4.2
++      # and later when we are not doing run time linking.
++      library_names_spec='${libname}${release}.a $libname.a'
++      soname_spec='${libname}${release}.so$major'
++    fi
++    shlibpath_var=LIBPATH
++  fi
++  ;;
++
++amigaos*)
++  library_names_spec='$libname.ixlibrary $libname.a'
++  # Create ${libname}_ixlibrary.a entries in /sys/libs.
++  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done'
++  ;;
++
++beos*)
++  library_names_spec='${libname}.so'
++  dynamic_linker="$host_os ld.so"
++  shlibpath_var=LIBRARY_PATH
++  ;;
++
++bsdi4*)
++  version_type=linux
++  need_version=no
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  soname_spec='${libname}${release}.so$major'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
++  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
++  export_dynamic_flag_spec=-rdynamic
++  # the default ld.so.conf also contains /usr/contrib/lib and
++  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
++  # libtool to hard-code these into programs
++  ;;
++
++cygwin* | mingw* | pw32*)
++  version_type=windows
++  need_version=no
++  need_lib_prefix=no
++  case $GCC,$host_os in
++  yes,cygwin*)
++    library_names_spec='$libname.dll.a'
++    soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
++    postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~
++      dldir=$destdir/`dirname \$dlpath`~
++      test -d \$dldir || mkdir -p \$dldir~
++      $install_prog .libs/$dlname \$dldir/$dlname'
++    postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~
++      dlpath=$dir/\$dldll~
++       $rm \$dlpath'
++    ;;
++  yes,mingw*)
++    library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
++    sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g"`
++    ;;
++  yes,pw32*)
++    library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}.dll'
++    ;;
++  *)
++    library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll $libname.lib'
++    ;;
++  esac
++  dynamic_linker='Win32 ld.exe'
++  # FIXME: first we should search . and the directory the executable is in
++  shlibpath_var=PATH
++  ;;
++
++darwin* | rhapsody*)
++  dynamic_linker="$host_os dyld"
++  version_type=darwin
++  need_lib_prefix=no
++  need_version=no
++  # FIXME: Relying on posixy $() will cause problems for
++  #        cross-compilation, but unfortunately the echo tests do not
++  #        yet detect zsh echo's removal of \ escapes.
++  library_names_spec='${libname}${release}${versuffix}.$(test .$module = .yes && echo so || echo dylib) ${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib) ${libname}.$(test .$module = .yes && echo so || echo dylib)'
++  soname_spec='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)'
++  shlibpath_overrides_runpath=yes
++  shlibpath_var=DYLD_LIBRARY_PATH
++  ;;
++
++freebsd1*)
++  dynamic_linker=no
++  ;;
++
++freebsd*)
++  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
++  version_type=freebsd-$objformat
++  case $version_type in
++    freebsd-elf*)
++      library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
++      need_version=no
++      need_lib_prefix=no
++      ;;
++    freebsd-*)
++      library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix'
++      need_version=yes
++      ;;
++  esac
++  shlibpath_var=LD_LIBRARY_PATH
++  case $host_os in
++  freebsd2*)
++    shlibpath_overrides_runpath=yes
++    ;;
++  *)
++    shlibpath_overrides_runpath=no
++    hardcode_into_libs=yes
++    ;;
++  esac
++  ;;
++
++gnu*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so'
++  soname_spec='${libname}${release}.so$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  hardcode_into_libs=yes
++  ;;
++
++hpux9* | hpux10* | hpux11*)
++  # Give a soname corresponding to the major version so that dld.sl refuses to
++  # link against other versions.
++  dynamic_linker="$host_os dld.sl"
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=no
++  shlibpath_var=SHLIB_PATH
++  shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
++  library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl'
++  soname_spec='${libname}${release}.sl$major'
++  # HP-UX runs *really* slowly unless shared libraries are mode 555.
++  postinstall_cmds='chmod 555 $lib'
++  ;;
++
++irix5* | irix6* | nonstopux*)
++  case $host_os in
++    nonstopux*) version_type=nonstopux ;;
++    *)          version_type=irix ;;
++  esac
++  need_lib_prefix=no
++  need_version=no
++  soname_spec='${libname}${release}.so$major'
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so'
++  case $host_os in
++  irix5* | nonstopux*)
++    libsuff= shlibsuff=
++    ;;
++  *)
++    case $LD in # libtool.m4 will add one of these switches to LD
++    *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;;
++    *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;;
++    *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;;
++    *) libsuff= shlibsuff= libmagic=never-match;;
++    esac
++    ;;
++  esac
++  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
++  shlibpath_overrides_runpath=no
++  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
++  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
++  ;;
++
++# No shared lib support for Linux oldld, aout, or coff.
++linux-gnuoldld* | linux-gnuaout* | linux-gnucoff*)
++  dynamic_linker=no
++  ;;
++
++# This must be Linux ELF.
++linux-gnu*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  soname_spec='${libname}${release}.so$major'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=no
++  # This implies no fast_install, which is unacceptable.
++  # Some rework will be needed to allow for fast_install
++  # before this can be enabled.
++  hardcode_into_libs=yes
++
++  # We used to test for /lib/ld.so.1 and disable shared libraries on
++  # powerpc, because MkLinux only supported shared libraries with the
++  # GNU dynamic linker.  Since this was broken with cross compilers,
++  # most powerpc-linux boxes support dynamic linking these days and
++  # people can always --disable-shared, the test was removed, and we
++  # assume the GNU/Linux dynamic linker is in use.
++  dynamic_linker='GNU/Linux ld.so'
++  ;;
++
++netbsd*)
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=no
++  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++    library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
++    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
++    dynamic_linker='NetBSD (a.out) ld.so'
++  else
++    library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so'
++    soname_spec='${libname}${release}.so$major'
++    dynamic_linker='NetBSD ld.elf_so'
++  fi
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  hardcode_into_libs=yes
++  ;;
++
++newsos6)
++  version_type=linux
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  ;;
++
++openbsd*)
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=no
++  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
++    case "$host_os" in
++    openbsd2.[89] | openbsd2.[89].*)
++      shlibpath_overrides_runpath=no
++      ;;
++    *)
++      shlibpath_overrides_runpath=yes
++      ;;
++    esac
++  else
++    shlibpath_overrides_runpath=yes
++  fi
++  library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++os2*)
++  libname_spec='$name'
++  need_lib_prefix=no
++  library_names_spec='$libname.dll $libname.a'
++  dynamic_linker='OS/2 ld.exe'
++  shlibpath_var=LIBPATH
++  ;;
++
++osf3* | osf4* | osf5*)
++  version_type=osf
++  need_version=no
++  need_lib_prefix=no
++  soname_spec='${libname}${release}.so'
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
++  shlibpath_var=LD_LIBRARY_PATH
++  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
++  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
++  ;;
++
++sco3.2v5*)
++  version_type=osf
++  soname_spec='${libname}${release}.so$major'
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++solaris*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  soname_spec='${libname}${release}.so$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  hardcode_into_libs=yes
++  # ldd complains unless libraries are executable
++  postinstall_cmds='chmod +x $lib'
++  ;;
++
++sunos4*)
++  version_type=sunos
++  library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
++  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  if test "$with_gnu_ld" = yes; then
++    need_lib_prefix=no
++  fi
++  need_version=yes
++  ;;
++
++sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
++  version_type=linux
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  soname_spec='${libname}${release}.so$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  case $host_vendor in
++    sni)
++      shlibpath_overrides_runpath=no
++      ;;
++    motorola)
++      need_lib_prefix=no
++      need_version=no
++      shlibpath_overrides_runpath=no
++      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
++      ;;
++  esac
++  ;;
++
++uts4*)
++  version_type=linux
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  soname_spec='${libname}${release}.so$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++dgux*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  soname_spec='${libname}${release}.so$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++sysv4*MP*)
++  if test -d /usr/nec ;then
++    version_type=linux
++    library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so'
++    soname_spec='$libname.so.$major'
++    shlibpath_var=LD_LIBRARY_PATH
++  fi
++  ;;
++
++*)
++  dynamic_linker=no
++  ;;
++esac
++echo "$as_me:$LINENO: result: $dynamic_linker" >&5
++echo "${ECHO_T}$dynamic_linker" >&6
++test "$dynamic_linker" = no && can_build_shared=no
++
++# Report the final consequences.
++echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
++echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
++echo "$as_me:$LINENO: result: $can_build_shared" >&5
++echo "${ECHO_T}$can_build_shared" >&6
++
++echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
++echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
++test "$can_build_shared" = "no" && enable_shared=no
++
++# On AIX, shared libraries and static libraries use the same namespace, and
++# are all built from PIC.
++case "$host_os" in
++aix3*)
++  test "$enable_shared" = yes && enable_static=no
++  if test -n "$RANLIB"; then
++    archive_cmds="$archive_cmds~\$RANLIB \$lib"
++    postinstall_cmds='$RANLIB $lib'
++  fi
++  ;;
++
++aix4*)
++  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
++    test "$enable_shared" = yes && enable_static=no
++  fi
++  ;;
++esac
++echo "$as_me:$LINENO: result: $enable_shared" >&5
++echo "${ECHO_T}$enable_shared" >&6
++
++echo "$as_me:$LINENO: checking whether to build static libraries" >&5
++echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
++# Make sure either enable_shared or enable_static is yes.
++test "$enable_shared" = yes || enable_static=yes
++echo "$as_me:$LINENO: result: $enable_static" >&5
++echo "${ECHO_T}$enable_static" >&6
++
++if test "$hardcode_action" = relink; then
++  # Fast installation is not supported
++  enable_fast_install=no
++elif test "$shlibpath_overrides_runpath" = yes ||
++     test "$enable_shared" = no; then
++  # Fast installation is not necessary
++  enable_fast_install=needless
++fi
++
++variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
++if test "$GCC" = yes; then
++  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
++fi
++
++if test "x$enable_dlopen" != xyes; then
++  enable_dlopen=unknown
++  enable_dlopen_self=unknown
++  enable_dlopen_self_static=unknown
++else
++  lt_cv_dlopen=no
++  lt_cv_dlopen_libs=
++
++  case $host_os in
++  beos*)
++    lt_cv_dlopen="load_add_on"
++    lt_cv_dlopen_libs=
++    lt_cv_dlopen_self=yes
++    ;;
++
++  cygwin* | mingw* | pw32*)
++    lt_cv_dlopen="LoadLibrary"
++    lt_cv_dlopen_libs=
++   ;;
++
++  *)
++    echo "$as_me:$LINENO: checking for shl_load" >&5
++echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
++if test "${ac_cv_func_shl_load+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char shl_load (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char shl_load ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_shl_load) || defined (__stub___shl_load)
++choke me
++#else
++f = shl_load;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_shl_load=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_shl_load=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
++echo "${ECHO_T}$ac_cv_func_shl_load" >&6
++if test $ac_cv_func_shl_load = yes; then
++  lt_cv_dlopen="shl_load"
++else
++  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
++echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
++if test "${ac_cv_lib_dld_shl_load+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ldld  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char shl_load ();
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++shl_load ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_dld_shl_load=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_lib_dld_shl_load=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
++echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
++if test $ac_cv_lib_dld_shl_load = yes; then
++  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
++else
++  echo "$as_me:$LINENO: checking for dlopen" >&5
++echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
++if test "${ac_cv_func_dlopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char dlopen (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dlopen ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_dlopen) || defined (__stub___dlopen)
++choke me
++#else
++f = dlopen;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_dlopen=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_dlopen=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
++echo "${ECHO_T}$ac_cv_func_dlopen" >&6
++if test $ac_cv_func_dlopen = yes; then
++  lt_cv_dlopen="dlopen"
++else
++  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
++echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
++if test "${ac_cv_lib_dl_dlopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ldl  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dlopen ();
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++dlopen ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_dl_dlopen=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_lib_dl_dlopen=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
++echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
++if test $ac_cv_lib_dl_dlopen = yes; then
++  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
++else
++  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
++echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
++if test "${ac_cv_lib_svld_dlopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-lsvld  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dlopen ();
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++dlopen ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_svld_dlopen=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_lib_svld_dlopen=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
++echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
++if test $ac_cv_lib_svld_dlopen = yes; then
++  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
++else
++  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
++echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
++if test "${ac_cv_lib_dld_dld_link+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ldld  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dld_link ();
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++dld_link ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_dld_dld_link=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_lib_dld_dld_link=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
++echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
++if test $ac_cv_lib_dld_dld_link = yes; then
++  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
++fi
++
++	      
++fi
++
++	    
++fi
++
++	  
++fi
++
++	
++fi
++
++      
++fi
++
++    ;;
++  esac
++
++  if test "x$lt_cv_dlopen" != xno; then
++    enable_dlopen=yes
++  else
++    enable_dlopen=no
++  fi
++
++  case $lt_cv_dlopen in
++  dlopen)
++    save_CPPFLAGS="$CPPFLAGS"
++        test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
++
++    save_LDFLAGS="$LDFLAGS"
++    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
++
++    save_LIBS="$LIBS"
++    LIBS="$lt_cv_dlopen_libs $LIBS"
++
++    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
++echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
++if test "${lt_cv_dlopen_self+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  	  if test "$cross_compiling" = yes; then :
++  lt_cv_dlopen_self=cross
++else
++    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
++  lt_status=$lt_dlunknown
++  cat > conftest.$ac_ext <<EOF
++#line __oline__ "configure"
++#include "confdefs.h"
++
++#if HAVE_DLFCN_H
++#include <dlfcn.h>
++#endif
++
++#include <stdio.h>
++
++#ifdef RTLD_GLOBAL
++#  define LT_DLGLOBAL		RTLD_GLOBAL
++#else
++#  ifdef DL_GLOBAL
++#    define LT_DLGLOBAL		DL_GLOBAL
++#  else
++#    define LT_DLGLOBAL		0
++#  endif
++#endif
++
++/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
++   find out it does not work in some platform. */
++#ifndef LT_DLLAZY_OR_NOW
++#  ifdef RTLD_LAZY
++#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
++#  else
++#    ifdef DL_LAZY
++#      define LT_DLLAZY_OR_NOW		DL_LAZY
++#    else
++#      ifdef RTLD_NOW
++#        define LT_DLLAZY_OR_NOW	RTLD_NOW
++#      else
++#        ifdef DL_NOW
++#          define LT_DLLAZY_OR_NOW	DL_NOW
++#        else
++#          define LT_DLLAZY_OR_NOW	0
++#        endif
++#      endif
++#    endif
++#  endif
++#endif
++
++#ifdef __cplusplus
++extern "C" void exit (int);
++#endif
++
++void fnord() { int i=42;}
++int main ()
++{
++  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
++  int status = $lt_dlunknown;
++
++  if (self)
++    {
++      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
++      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
++      /* dlclose (self); */
++    }
++
++    exit (status);
++}
++EOF
++  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
++    (./conftest; exit; ) 2>/dev/null
++    lt_status=$?
++    case x$lt_status in
++      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
++      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
++      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
++    esac
++  else :
++    # compilation failed
++    lt_cv_dlopen_self=no
++  fi
++fi
++rm -fr conftest*
++
++    
++fi
++echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
++echo "${ECHO_T}$lt_cv_dlopen_self" >&6
++
++    if test "x$lt_cv_dlopen_self" = xyes; then
++      LDFLAGS="$LDFLAGS $link_static_flag"
++      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
++echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
++if test "${lt_cv_dlopen_self_static+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  	  if test "$cross_compiling" = yes; then :
++  lt_cv_dlopen_self_static=cross
++else
++    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
++  lt_status=$lt_dlunknown
++  cat > conftest.$ac_ext <<EOF
++#line __oline__ "configure"
++#include "confdefs.h"
++
++#if HAVE_DLFCN_H
++#include <dlfcn.h>
++#endif
++
++#include <stdio.h>
++
++#ifdef RTLD_GLOBAL
++#  define LT_DLGLOBAL		RTLD_GLOBAL
++#else
++#  ifdef DL_GLOBAL
++#    define LT_DLGLOBAL		DL_GLOBAL
++#  else
++#    define LT_DLGLOBAL		0
++#  endif
++#endif
++
++/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
++   find out it does not work in some platform. */
++#ifndef LT_DLLAZY_OR_NOW
++#  ifdef RTLD_LAZY
++#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
++#  else
++#    ifdef DL_LAZY
++#      define LT_DLLAZY_OR_NOW		DL_LAZY
++#    else
++#      ifdef RTLD_NOW
++#        define LT_DLLAZY_OR_NOW	RTLD_NOW
++#      else
++#        ifdef DL_NOW
++#          define LT_DLLAZY_OR_NOW	DL_NOW
++#        else
++#          define LT_DLLAZY_OR_NOW	0
++#        endif
++#      endif
++#    endif
++#  endif
++#endif
++
++#ifdef __cplusplus
++extern "C" void exit (int);
++#endif
++
++void fnord() { int i=42;}
++int main ()
++{
++  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
++  int status = $lt_dlunknown;
++
++  if (self)
++    {
++      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
++      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
++      /* dlclose (self); */
++    }
++
++    exit (status);
++}
++EOF
++  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
++    (./conftest; exit; ) 2>/dev/null
++    lt_status=$?
++    case x$lt_status in
++      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
++      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
++      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
++    esac
++  else :
++    # compilation failed
++    lt_cv_dlopen_self_static=no
++  fi
++fi
++rm -fr conftest*
++
++      
++fi
++echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
++echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
++    fi
++
++    CPPFLAGS="$save_CPPFLAGS"
++    LDFLAGS="$save_LDFLAGS"
++    LIBS="$save_LIBS"
++    ;;
++  esac
++
++  case $lt_cv_dlopen_self in
++  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
++  *) enable_dlopen_self=unknown ;;
++  esac
++
++  case $lt_cv_dlopen_self_static in
++  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
++  *) enable_dlopen_self_static=unknown ;;
++  esac
++fi
++
++
++if test "$enable_shared" = yes && test "$GCC" = yes; then
++  case $archive_cmds in
++  *'~'*)
++    # FIXME: we may have to deal with multi-command sequences.
++    ;;
++  '$CC '*)
++    # Test whether the compiler implicitly links with -lc since on some
++    # systems, -lgcc has to come before -lc. If gcc already passes -lc
++    # to ld, don't add -lc before -lgcc.
++    echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
++echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
++    if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  $rm conftest*
++    echo 'static int dummy;' > conftest.$ac_ext
++
++    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; then
++      soname=conftest
++      lib=conftest
++      libobjs=conftest.$ac_objext
++      deplibs=
++      wl=$lt_cv_prog_cc_wl
++      compiler_flags=-v
++      linker_flags=-v
++      verstring=
++      output_objdir=.
++      libname=conftest
++      save_allow_undefined_flag=$allow_undefined_flag
++      allow_undefined_flag=
++      if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
++  (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }
++      then
++	lt_cv_archive_cmds_need_lc=no
++      else
++	lt_cv_archive_cmds_need_lc=yes
++      fi
++      allow_undefined_flag=$save_allow_undefined_flag
++    else
++      cat conftest.err 1>&5
++    fi
++fi
++
++    echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
++echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
++    ;;
++  esac
++fi
++need_lc=${lt_cv_archive_cmds_need_lc-yes}
++
++# The second clause should only fire when bootstrapping the
++# libtool distribution, otherwise you forgot to ship ltmain.sh
++# with your package, and you will get complaints that there are
++# no rules to generate ltmain.sh.
++if test -f "$ltmain"; then
++  :
++else
++  # If there is no Makefile yet, we rely on a make rule to execute
++  # `config.status --recheck' to rerun these tests and create the
++  # libtool script then.
++  test -f Makefile && make "$ltmain"
++fi
++
++if test -f "$ltmain"; then
++  trap "$rm \"${ofile}T\"; exit 1" 1 2 15
++  $rm -f "${ofile}T"
++
++  echo creating $ofile
++
++  # Now quote all the things that may contain metacharacters while being
++  # careful not to overquote the AC_SUBSTed values.  We take copies of the
++  # variables and quote the copies for generation of the libtool script.
++  for var in echo old_CC old_CFLAGS \
++    AR AR_FLAGS CC LD LN_S NM SHELL \
++    reload_flag reload_cmds wl \
++    pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \
++    thread_safe_flag_spec whole_archive_flag_spec libname_spec \
++    library_names_spec soname_spec \
++    RANLIB old_archive_cmds old_archive_from_new_cmds old_postinstall_cmds \
++    old_postuninstall_cmds archive_cmds archive_expsym_cmds postinstall_cmds \
++    postuninstall_cmds extract_expsyms_cmds old_archive_from_expsyms_cmds \
++    old_striplib striplib file_magic_cmd export_symbols_cmds \
++    deplibs_check_method allow_undefined_flag no_undefined_flag \
++    finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \
++    global_symbol_to_c_name_address \
++    hardcode_libdir_flag_spec hardcode_libdir_separator  \
++    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
++    compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do
++
++    case $var in
++    reload_cmds | old_archive_cmds | old_archive_from_new_cmds | \
++    old_postinstall_cmds | old_postuninstall_cmds | \
++    export_symbols_cmds | archive_cmds | archive_expsym_cmds | \
++    extract_expsyms_cmds | old_archive_from_expsyms_cmds | \
++    postinstall_cmds | postuninstall_cmds | \
++    finish_cmds | sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
++      # Double-quote double-evaled strings.
++      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
++      ;;
++    *)
++      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
++      ;;
++    esac
++  done
++
++  cat <<__EOF__ > "${ofile}T"
++#! $SHELL
++
++# `$echo "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
++# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
++# NOTE: Changes made to this file will be lost: look at ltmain.sh.
++#
++# Copyright (C) 1996-2000 Free Software Foundation, Inc.
++# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
++#
++# 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
++#
++# As a special exception to the GNU General Public License, if you
++# distribute this file as part of a program that contains a
++# configuration script generated by Autoconf, you may include it under
++# the same distribution terms that you use for the rest of that program.
++
++# Sed that helps us avoid accidentally triggering echo(1) options like -n.
++Xsed="sed -e s/^X//"
++
++# The HP-UX ksh and POSIX shell print the target directory to stdout
++# if CDPATH is set.
++if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
++
++# ### BEGIN LIBTOOL CONFIG
++
++# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
++
++# Shell to use when invoking shell scripts.
++SHELL=$lt_SHELL
++
++# Whether or not to build shared libraries.
++build_libtool_libs=$enable_shared
++
++# Whether or not to build static libraries.
++build_old_libs=$enable_static
++
++# Whether or not to add -lc for building shared libraries.
++build_libtool_need_lc=$need_lc
++
++# Whether or not to optimize for fast installation.
++fast_install=$enable_fast_install
++
++# The host system.
++host_alias=$host_alias
++host=$host
++
++# An echo program that does not interpret backslashes.
++echo=$lt_echo
++
++# The archiver.
++AR=$lt_AR
++AR_FLAGS=$lt_AR_FLAGS
++
++# The default C compiler.
++CC=$lt_CC
++
++# Is the compiler the GNU C compiler?
++with_gcc=$GCC
++
++# The linker used to build libraries.
++LD=$lt_LD
++
++# Whether we need hard or soft links.
++LN_S=$lt_LN_S
++
++# A BSD-compatible nm program.
++NM=$lt_NM
++
++# A symbol stripping program
++STRIP=$STRIP
++
++# Used to examine libraries when file_magic_cmd begins "file"
++MAGIC_CMD=$MAGIC_CMD
++
++# Used on cygwin: DLL creation program.
++DLLTOOL="$DLLTOOL"
++
++# Used on cygwin: object dumper.
++OBJDUMP="$OBJDUMP"
++
++# Used on cygwin: assembler.
++AS="$AS"
++
++# The name of the directory that contains temporary libtool files.
++objdir=$objdir
++
++# How to create reloadable object files.
++reload_flag=$lt_reload_flag
++reload_cmds=$lt_reload_cmds
++
++# How to pass a linker flag through the compiler.
++wl=$lt_wl
++
++# Object file suffix (normally "o").
++objext="$ac_objext"
++
++# Old archive suffix (normally "a").
++libext="$libext"
++
++# Executable file suffix (normally "").
++exeext="$exeext"
++
++# Additional compiler flags for building library objects.
++pic_flag=$lt_pic_flag
++pic_mode=$pic_mode
++
++# Does compiler simultaneously support -c and -o options?
++compiler_c_o=$lt_compiler_c_o
++
++# Can we write directly to a .lo ?
++compiler_o_lo=$lt_compiler_o_lo
++
++# Must we lock files when doing compilation ?
++need_locks=$lt_need_locks
++
++# Do we need the lib prefix for modules?
++need_lib_prefix=$need_lib_prefix
++
++# Do we need a version for libraries?
++need_version=$need_version
++
++# Whether dlopen is supported.
++dlopen_support=$enable_dlopen
++
++# Whether dlopen of programs is supported.
++dlopen_self=$enable_dlopen_self
++
++# Whether dlopen of statically linked programs is supported.
++dlopen_self_static=$enable_dlopen_self_static
++
++# Compiler flag to prevent dynamic linking.
++link_static_flag=$lt_link_static_flag
++
++# Compiler flag to turn off builtin functions.
++no_builtin_flag=$lt_no_builtin_flag
++
++# Compiler flag to allow reflexive dlopens.
++export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
++
++# Compiler flag to generate shared objects directly from archives.
++whole_archive_flag_spec=$lt_whole_archive_flag_spec
++
++# Compiler flag to generate thread-safe objects.
++thread_safe_flag_spec=$lt_thread_safe_flag_spec
++
++# Library versioning type.
++version_type=$version_type
++
++# Format of library name prefix.
++libname_spec=$lt_libname_spec
++
++# List of archive names.  First name is the real one, the rest are links.
++# The last name is the one that the linker finds with -lNAME.
++library_names_spec=$lt_library_names_spec
++
++# The coded name of the library, if different from the real name.
++soname_spec=$lt_soname_spec
++
++# Commands used to build and install an old-style archive.
++RANLIB=$lt_RANLIB
++old_archive_cmds=$lt_old_archive_cmds
++old_postinstall_cmds=$lt_old_postinstall_cmds
++old_postuninstall_cmds=$lt_old_postuninstall_cmds
++
++# Create an old-style archive from a shared archive.
++old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
++
++# Create a temporary old-style archive to link instead of a shared archive.
++old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
++
++# Commands used to build and install a shared archive.
++archive_cmds=$lt_archive_cmds
++archive_expsym_cmds=$lt_archive_expsym_cmds
++postinstall_cmds=$lt_postinstall_cmds
++postuninstall_cmds=$lt_postuninstall_cmds
++
++# Commands to strip libraries.
++old_striplib=$lt_old_striplib
++striplib=$lt_striplib
++
++# Method to check whether dependent libraries are shared objects.
++deplibs_check_method=$lt_deplibs_check_method
++
++# Command to use when deplibs_check_method == file_magic.
++file_magic_cmd=$lt_file_magic_cmd
++
++# Flag that allows shared libraries with undefined symbols to be built.
++allow_undefined_flag=$lt_allow_undefined_flag
++
++# Flag that forces no undefined symbols.
++no_undefined_flag=$lt_no_undefined_flag
++
++# Commands used to finish a libtool library installation in a directory.
++finish_cmds=$lt_finish_cmds
++
++# Same as above, but a single script fragment to be evaled but not shown.
++finish_eval=$lt_finish_eval
++
++# Take the output of nm and produce a listing of raw symbols and C names.
++global_symbol_pipe=$lt_global_symbol_pipe
++
++# Transform the output of nm in a proper C declaration
++global_symbol_to_cdecl=$lt_global_symbol_to_cdecl
++
++# Transform the output of nm in a C name address pair
++global_symbol_to_c_name_address=$lt_global_symbol_to_c_name_address
++
++# This is the shared library runtime path variable.
++runpath_var=$runpath_var
++
++# This is the shared library path variable.
++shlibpath_var=$shlibpath_var
++
++# Is shlibpath searched before the hard-coded library search path?
++shlibpath_overrides_runpath=$shlibpath_overrides_runpath
++
++# How to hardcode a shared library path into an executable.
++hardcode_action=$hardcode_action
++
++# Whether we should hardcode library paths into libraries.
++hardcode_into_libs=$hardcode_into_libs
++
++# Flag to hardcode \$libdir into a binary during linking.
++# This must work even if \$libdir does not exist.
++hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
++
++# Whether we need a single -rpath flag with a separated argument.
++hardcode_libdir_separator=$lt_hardcode_libdir_separator
++
++# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
++# resulting binary.
++hardcode_direct=$hardcode_direct
++
++# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
++# resulting binary.
++hardcode_minus_L=$hardcode_minus_L
++
++# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
++# the resulting binary.
++hardcode_shlibpath_var=$hardcode_shlibpath_var
++
++# Variables whose values should be saved in libtool wrapper scripts and
++# restored at relink time.
++variables_saved_for_relink="$variables_saved_for_relink"
++
++# Whether libtool must link a program against all its dependency libraries.
++link_all_deplibs=$link_all_deplibs
++
++# Compile-time system search path for libraries
++sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
++
++# Run-time system search path for libraries
++sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
++
++# Fix the shell variable \$srcfile for the compiler.
++fix_srcfile_path="$fix_srcfile_path"
++
++# Set to yes if exported symbols are required.
++always_export_symbols=$always_export_symbols
++
++# The commands to list exported symbols.
++export_symbols_cmds=$lt_export_symbols_cmds
++
++# The commands to extract the exported symbol list from a shared archive.
++extract_expsyms_cmds=$lt_extract_expsyms_cmds
++
++# Symbols that should not be listed in the preloaded symbols.
++exclude_expsyms=$lt_exclude_expsyms
++
++# Symbols that must always be exported.
++include_expsyms=$lt_include_expsyms
++
++# ### END LIBTOOL CONFIG
++
++__EOF__
++
++  case $host_os in
++  aix3*)
++    cat <<\EOF >> "${ofile}T"
++
++# AIX sometimes has problems with the GCC collect2 program.  For some
++# reason, if we set the COLLECT_NAMES environment variable, the problems
++# vanish in a puff of smoke.
++if test "X${COLLECT_NAMES+set}" != Xset; then
++  COLLECT_NAMES=
++  export COLLECT_NAMES
++fi
++EOF
++    ;;
++  esac
++
++  case $host_os in
++  cygwin* | mingw* | pw32* | os2*)
++    cat <<'EOF' >> "${ofile}T"
++      # This is a source program that is used to create dlls on Windows
++      # Don't remove nor modify the starting and closing comments
++# /* ltdll.c starts here */
++# #define WIN32_LEAN_AND_MEAN
++# #include <windows.h>
++# #undef WIN32_LEAN_AND_MEAN
++# #include <stdio.h>
++#
++# #ifndef __CYGWIN__
++# #  ifdef __CYGWIN32__
++# #    define __CYGWIN__ __CYGWIN32__
++# #  endif
++# #endif
++#
++# #ifdef __cplusplus
++# extern "C" {
++# #endif
++# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
++# #ifdef __cplusplus
++# }
++# #endif
++#
++# #ifdef __CYGWIN__
++# #include <cygwin/cygwin_dll.h>
++# DECLARE_CYGWIN_DLL( DllMain );
++# #endif
++# HINSTANCE __hDllInstance_base;
++#
++# BOOL APIENTRY
++# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
++# {
++#   __hDllInstance_base = hInst;
++#   return TRUE;
++# }
++# /* ltdll.c ends here */
++	# This is a source program that is used to create import libraries
++	# on Windows for dlls which lack them. Don't remove nor modify the
++	# starting and closing comments
++# /* impgen.c starts here */
++# /*   Copyright (C) 1999-2000 Free Software Foundation, Inc.
++#
++#  This file is part of GNU libtool.
++#
++#  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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
++#  */
++#
++# #include <stdio.h>		/* for printf() */
++# #include <unistd.h>		/* for open(), lseek(), read() */
++# #include <fcntl.h>		/* for O_RDONLY, O_BINARY */
++# #include <string.h>		/* for strdup() */
++#
++# /* O_BINARY isn't required (or even defined sometimes) under Unix */
++# #ifndef O_BINARY
++# #define O_BINARY 0
++# #endif
++#
++# static unsigned int
++# pe_get16 (fd, offset)
++#      int fd;
++#      int offset;
++# {
++#   unsigned char b[2];
++#   lseek (fd, offset, SEEK_SET);
++#   read (fd, b, 2);
++#   return b[0] + (b[1]<<8);
++# }
++#
++# static unsigned int
++# pe_get32 (fd, offset)
++#     int fd;
++#     int offset;
++# {
++#   unsigned char b[4];
++#   lseek (fd, offset, SEEK_SET);
++#   read (fd, b, 4);
++#   return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
++# }
++#
++# static unsigned int
++# pe_as32 (ptr)
++#      void *ptr;
++# {
++#   unsigned char *b = ptr;
++#   return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
++# }
++#
++# int
++# main (argc, argv)
++#     int argc;
++#     char *argv[];
++# {
++#     int dll;
++#     unsigned long pe_header_offset, opthdr_ofs, num_entries, i;
++#     unsigned long export_rva, export_size, nsections, secptr, expptr;
++#     unsigned long name_rvas, nexp;
++#     unsigned char *expdata, *erva;
++#     char *filename, *dll_name;
++#
++#     filename = argv[1];
++#
++#     dll = open(filename, O_RDONLY|O_BINARY);
++#     if (dll < 1)
++# 	return 1;
++#
++#     dll_name = filename;
++#
++#     for (i=0; filename[i]; i++)
++# 	if (filename[i] == '/' || filename[i] == '\\'  || filename[i] == ':')
++# 	    dll_name = filename + i +1;
++#
++#     pe_header_offset = pe_get32 (dll, 0x3c);
++#     opthdr_ofs = pe_header_offset + 4 + 20;
++#     num_entries = pe_get32 (dll, opthdr_ofs + 92);
++#
++#     if (num_entries < 1) /* no exports */
++# 	return 1;
++#
++#     export_rva = pe_get32 (dll, opthdr_ofs + 96);
++#     export_size = pe_get32 (dll, opthdr_ofs + 100);
++#     nsections = pe_get16 (dll, pe_header_offset + 4 +2);
++#     secptr = (pe_header_offset + 4 + 20 +
++# 	      pe_get16 (dll, pe_header_offset + 4 + 16));
++#
++#     expptr = 0;
++#     for (i = 0; i < nsections; i++)
++#     {
++# 	char sname[8];
++# 	unsigned long secptr1 = secptr + 40 * i;
++# 	unsigned long vaddr = pe_get32 (dll, secptr1 + 12);
++# 	unsigned long vsize = pe_get32 (dll, secptr1 + 16);
++# 	unsigned long fptr = pe_get32 (dll, secptr1 + 20);
++# 	lseek(dll, secptr1, SEEK_SET);
++# 	read(dll, sname, 8);
++# 	if (vaddr <= export_rva && vaddr+vsize > export_rva)
++# 	{
++# 	    expptr = fptr + (export_rva - vaddr);
++# 	    if (export_rva + export_size > vaddr + vsize)
++# 		export_size = vsize - (export_rva - vaddr);
++# 	    break;
++# 	}
++#     }
++#
++#     expdata = (unsigned char*)malloc(export_size);
++#     lseek (dll, expptr, SEEK_SET);
++#     read (dll, expdata, export_size);
++#     erva = expdata - export_rva;
++#
++#     nexp = pe_as32 (expdata+24);
++#     name_rvas = pe_as32 (expdata+32);
++#
++#     printf ("EXPORTS\n");
++#     for (i = 0; i<nexp; i++)
++#     {
++# 	unsigned long name_rva = pe_as32 (erva+name_rvas+i*4);
++# 	printf ("\t%s @ %ld ;\n", erva+name_rva, 1+ i);
++#     }
++#
++#     return 0;
++# }
++# /* impgen.c ends here */
++
++EOF
++    ;;
++  esac
++
++  # We use sed instead of cat because bash on DJGPP gets confused if
++  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
++  # text mode, it properly converts lines to CR/LF.  This bash problem
++  # is reportedly fixed, but why not run on old versions too?
++  sed '$q' "$ltmain" >> "${ofile}T" || (rm -f "${ofile}T"; exit 1)
++
++  mv -f "${ofile}T" "$ofile" || \
++    (rm -f "$ofile" && cp "${ofile}T" "$ofile" && rm -f "${ofile}T")
++  chmod +x "$ofile"
++fi
++
++
++
++
++
++# This can be used to rebuild libtool when needed
++LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
++
++# Always use our own libtool.
++LIBTOOL='$(SHELL) $(top_builddir)/libtool'
++
++# Prevent multiple expansion
++
++
++
++
++WFLAGS_NOUNUSED=""
++WFLAGS_NOIMPLICITINT=""
++if test -z "$WFLAGS" -a "$GCC" = "yes"; then
++  # -Wno-implicit-int for broken X11 headers
++  # leave these out for now:
++  #   -Wcast-align doesn't work well on alpha osf/1
++  #   -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast
++  #   -Wmissing-declarations -Wnested-externs
++  WFLAGS="-Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs"
++  WFLAGS_NOUNUSED="-Wno-unused"
++  WFLAGS_NOIMPLICITINT="-Wno-implicit-int"
++fi
++
++
++berkeley_db=db
++
++# Check whether --with-berkeley-db or --without-berkeley-db was given.
++if test "${with_berkeley_db+set}" = set; then
++  withval="$with_berkeley_db"
++  
++if test "$withval" = no; then
++	berkeley_db=""
++fi
++
++fi; 
++
++db_type=unknown
++
++if test "$berkeley_db"; then
++
++  
++
++for ac_header in 				\
++	db.h					\
++	db_185.h				\
++  
++do
++as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++else
++  # Is the header compilable?
++echo "$as_me:$LINENO: checking $ac_header usability" >&5
++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++$ac_includes_default
++@%:@include <$ac_header>
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_header_compiler=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_header_compiler=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
++echo "${ECHO_T}$ac_header_compiler" >&6
++
++# Is the header present?
++echo "$as_me:$LINENO: checking $ac_header presence" >&5
++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++@%:@include <$ac_header>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  egrep -v '^ *\+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  ac_header_preproc=yes
++else
++  echo "$as_me: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_header_preproc=no
++fi
++rm -f conftest.err conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
++echo "${ECHO_T}$ac_header_preproc" >&6
++
++# So?  What about this header?
++case $ac_header_compiler:$ac_header_preproc in
++  yes:no )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
++echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++  no:yes )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
++echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
++echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++esac
++echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  eval "$as_ac_Header=$ac_header_preproc"
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++
++fi
++if test `eval echo '${'$as_ac_Header'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++
++done
++
++
++
++  
++
++
++echo "$as_me:$LINENO: checking for db_create" >&5
++echo $ECHO_N "checking for db_create... $ECHO_C" >&6
++if test "${ac_cv_funclib_db_create+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_db_create\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" $berkeley_db; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++  #include <stdio.h>
++  #include <db.h>
++  
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++db_create(NULL, NULL, 0)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_db_create=$ac_lib; else ac_cv_funclib_db_create=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_db_create=\${ac_cv_funclib_db_create-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_db_create"
++
++if false; then
++	
++for ac_func in db_create
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# db_create
++eval "ac_tr_func=HAVE_`echo db_create | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_db_create=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_db_create=yes"
++	eval "LIB_db_create="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_db_create=no"
++	eval "LIB_db_create="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_db_create=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++
++  if test "$ac_cv_func_db_create" = "yes"; then
++    db_type=db3
++    if test "$ac_cv_funclib_db_create" != "yes"; then
++      DBLIB="$ac_cv_funclib_db_create"
++    else
++      DBLIB=""
++    fi
++    
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_DB3 1
++_ACEOF
++
++  else
++
++
++    
++
++
++echo "$as_me:$LINENO: checking for dbopen" >&5
++echo $ECHO_N "checking for dbopen... $ECHO_C" >&6
++if test "${ac_cv_funclib_dbopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_dbopen\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" $berkeley_db; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++    #include <stdio.h>
++    #if defined(HAVE_DB_185_H)
++    #include <db_185.h>
++    #elif defined(HAVE_DB_H)
++    #include <db.h>
++    #else
++    #error no db.h
++    #endif
++    
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++dbopen(NULL, 0, 0, 0, NULL)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_dbopen=$ac_lib; else ac_cv_funclib_dbopen=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_dbopen=\${ac_cv_funclib_dbopen-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_dbopen"
++
++if false; then
++	
++for ac_func in dbopen
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# dbopen
++eval "ac_tr_func=HAVE_`echo dbopen | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_dbopen=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_dbopen=yes"
++	eval "LIB_dbopen="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_dbopen=no"
++	eval "LIB_dbopen="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_dbopen=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++
++    if test "$ac_cv_func_dbopen" = "yes"; then
++      db_type=db1
++      if test "$ac_cv_funclib_dbopen" != "yes"; then
++        DBLIB="$ac_cv_funclib_dbopen"
++      else
++        DBLIB=""
++      fi
++      
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_DB1 1
++_ACEOF
++
++    fi
++  fi
++
++
++  
++
++echo "$as_me:$LINENO: checking for dbm_firstkey" >&5
++echo $ECHO_N "checking for dbm_firstkey... $ECHO_C" >&6
++if test "${ac_cv_funclib_dbm_firstkey+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_dbm_firstkey\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in $ac_cv_funclib_dbopen $ac_cv_funclib_db_create; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++  #include <stdio.h>
++  #define DB_DBM_HSEARCH 1
++  #include <db.h>
++  DBM *dbm;
++  
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++dbm_firstkey(NULL)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_dbm_firstkey=$ac_lib; else ac_cv_funclib_dbm_firstkey=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_dbm_firstkey=\${ac_cv_funclib_dbm_firstkey-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_dbm_firstkey"
++
++if false; then
++	
++for ac_func in dbm_firstkey
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# dbm_firstkey
++eval "ac_tr_func=HAVE_`echo dbm_firstkey | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_dbm_firstkey=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_dbm_firstkey=yes"
++	eval "LIB_dbm_firstkey="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_dbm_firstkey=no"
++	eval "LIB_dbm_firstkey="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_dbm_firstkey=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++
++  if test "$ac_cv_func_dbm_firstkey" = "yes"; then
++    if test "$ac_cv_funclib_dbm_firstkey" != "yes"; then
++      LIB_NDBM="$ac_cv_funclib_dbm_firstkey"
++    else
++      LIB_NDBM=""
++    fi
++    
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_DB_NDBM 1
++_ACEOF
++
++  else
++    $as_unset ac_cv_func_dbm_firstkey
++    $as_unset ac_cv_funclib_dbm_firstkey
++  fi
++
++fi # berkeley db
++
++if test "$db_type" = "unknown" -o "$ac_cv_func_dbm_firstkey" = ""; then
++
++  
++
++for ac_header in 				\
++	dbm.h					\
++	ndbm.h					\
++  
++do
++as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++else
++  # Is the header compilable?
++echo "$as_me:$LINENO: checking $ac_header usability" >&5
++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++$ac_includes_default
++@%:@include <$ac_header>
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_header_compiler=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_header_compiler=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
++echo "${ECHO_T}$ac_header_compiler" >&6
++
++# Is the header present?
++echo "$as_me:$LINENO: checking $ac_header presence" >&5
++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++@%:@include <$ac_header>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  egrep -v '^ *\+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  ac_header_preproc=yes
++else
++  echo "$as_me: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_header_preproc=no
++fi
++rm -f conftest.err conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
++echo "${ECHO_T}$ac_header_preproc" >&6
++
++# So?  What about this header?
++case $ac_header_compiler:$ac_header_preproc in
++  yes:no )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
++echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++  no:yes )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
++echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
++echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++esac
++echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  eval "$as_ac_Header=$ac_header_preproc"
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++
++fi
++if test `eval echo '${'$as_ac_Header'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++
++done
++
++
++  
++
++
++echo "$as_me:$LINENO: checking for dbm_firstkey" >&5
++echo $ECHO_N "checking for dbm_firstkey... $ECHO_C" >&6
++if test "${ac_cv_funclib_dbm_firstkey+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_dbm_firstkey\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ndbm; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++  #include <stdio.h>
++  #if defined(HAVE_NDBM_H)
++  #include <ndbm.h>
++  #elif defined(HAVE_DBM_H)
++  #include <dbm.h>
++  #else
++  #error no ndbm.h
++  #endif
++  DBM *dbm;
++  
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++dbm_firstkey(NULL)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_dbm_firstkey=$ac_lib; else ac_cv_funclib_dbm_firstkey=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_dbm_firstkey=\${ac_cv_funclib_dbm_firstkey-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_dbm_firstkey"
++
++if false; then
++	
++for ac_func in dbm_firstkey
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# dbm_firstkey
++eval "ac_tr_func=HAVE_`echo dbm_firstkey | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_dbm_firstkey=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_dbm_firstkey=yes"
++	eval "LIB_dbm_firstkey="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_dbm_firstkey=no"
++	eval "LIB_dbm_firstkey="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_dbm_firstkey=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++
++  if test "$ac_cv_func_dbm_firstkey" = "yes"; then
++    if test "$ac_cv_funclib_dbm_firstkey" != "yes"; then
++      LIB_NDBM="$ac_cv_funclib_dbm_firstkey"
++    else
++      LIB_NDBM=""
++    fi
++    
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_NDBM 1
++_ACEOF
++    if test "$db_type" = "unknown"; then
++      db_type=ndbm
++      DBLIB="$LIB_NDBM"
++    fi
++  else
++
++    $as_unset ac_cv_func_dbm_firstkey
++    $as_unset ac_cv_funclib_dbm_firstkey
++
++    
++for ac_header in 				\
++	  gdbm/ndbm.h				\
++    
++do
++as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++else
++  # Is the header compilable?
++echo "$as_me:$LINENO: checking $ac_header usability" >&5
++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++$ac_includes_default
++@%:@include <$ac_header>
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_header_compiler=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_header_compiler=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
++echo "${ECHO_T}$ac_header_compiler" >&6
++
++# Is the header present?
++echo "$as_me:$LINENO: checking $ac_header presence" >&5
++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++@%:@include <$ac_header>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  egrep -v '^ *\+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  ac_header_preproc=yes
++else
++  echo "$as_me: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_header_preproc=no
++fi
++rm -f conftest.err conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
++echo "${ECHO_T}$ac_header_preproc" >&6
++
++# So?  What about this header?
++case $ac_header_compiler:$ac_header_preproc in
++  yes:no )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
++echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++  no:yes )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
++echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
++echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++esac
++echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  eval "$as_ac_Header=$ac_header_preproc"
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++
++fi
++if test `eval echo '${'$as_ac_Header'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++
++done
++
++
++    
++
++
++echo "$as_me:$LINENO: checking for dbm_firstkey" >&5
++echo $ECHO_N "checking for dbm_firstkey... $ECHO_C" >&6
++if test "${ac_cv_funclib_dbm_firstkey+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_dbm_firstkey\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" gdbm; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++    #include <stdio.h>
++    #include <gdbm/ndbm.h>
++    DBM *dbm;
++    
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++dbm_firstkey(NULL)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_dbm_firstkey=$ac_lib; else ac_cv_funclib_dbm_firstkey=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_dbm_firstkey=\${ac_cv_funclib_dbm_firstkey-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_dbm_firstkey"
++
++if false; then
++	
++for ac_func in dbm_firstkey
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# dbm_firstkey
++eval "ac_tr_func=HAVE_`echo dbm_firstkey | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_dbm_firstkey=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_dbm_firstkey=yes"
++	eval "LIB_dbm_firstkey="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_dbm_firstkey=no"
++	eval "LIB_dbm_firstkey="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_dbm_firstkey=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++
++    if test "$ac_cv_func_dbm_firstkey" = "yes"; then
++      if test "$ac_cv_funclib_dbm_firstkey" != "yes"; then
++	LIB_NDBM="$ac_cv_funclib_dbm_firstkey"
++      else
++	LIB_NDBM=""
++      fi
++      
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_NDBM 1
++_ACEOF
++      if test "$db_type" = "unknown"; then
++	db_type=ndbm
++	DBLIB="$LIB_NDBM"
++      fi
++    fi
++  fi
++
++fi # unknown
++
++
++
++
++
++# Check whether --with-roken or --without-roken was given.
++if test "${with_roken+set}" = set; then
++  withval="$with_roken"
++  if test "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: roken is required" >&5
++echo "$as_me: error: roken is required" >&2;}
++   { (exit 1); exit 1; }; }
++fi
++fi; 
++
++save_CPPFLAGS="${CPPFLAGS}"
++
++case $with_roken in
++yes|"")
++  dirs="/usr/heimdal /usr/athena" ;;
++*)
++  dirs="$with_roken" ;;
++esac
++
++roken_installed=no
++
++for i in $dirs; do
++
++echo "$as_me:$LINENO: checking for roken in $i" >&5
++echo $ECHO_N "checking for roken in $i... $ECHO_C" >&6
++
++CPPFLAGS="-I$i/include ${CPPFLAGS}"
++
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <roken.h>
++//#if ROKEN_VERSION < 10
++//#error old roken version, should be 10
++//fail
++//#endif
++
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  egrep -v '^ *\+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  roken_installed=yes; break
++else
++  echo "$as_me: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  
++fi
++rm -f conftest.err conftest.$ac_ext
++
++echo "$as_me:$LINENO: result: $roken_installed" >&5
++echo "${ECHO_T}$roken_installed" >&6
++
++done
++
++CPPFLAGS="$save_CPPFLAGS"
++
++if test "$roken_installed" != "yes"; then
++  DIR_roken="roken"
++  LIB_roken='$(top_builddir)/lib/roken/libroken.la'
++  CPPFLAGS_roken='-I$(top_builddir)/lib/roken -I$(top_srcdir)/lib/roken'
++else
++  LIB_roken="$i/lib/libroken.la"
++  CPPFLAGS_roken="-I$i/include"
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking for crypt" >&5
++echo $ECHO_N "checking for crypt... $ECHO_C" >&6
++if test "${ac_cv_funclib_crypt+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_crypt\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" crypt; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++crypt()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_crypt=$ac_lib; else ac_cv_funclib_crypt=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_crypt=\${ac_cv_funclib_crypt-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_crypt"
++
++if false; then
++	
++for ac_func in crypt
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# crypt
++eval "ac_tr_func=HAVE_`echo crypt | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_crypt=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_crypt=yes"
++	eval "LIB_crypt="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_crypt=no"
++	eval "LIB_crypt="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_crypt=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++LIB_roken="${LIB_roken} \$(LIB_crypt) \$(LIB_dbopen)"
++
++
++if ! test "$roken_installed" = yes; then
++	
++
++echo "$as_me:$LINENO: checking for inline" >&5
++echo $ECHO_N "checking for inline... $ECHO_C" >&6
++if test "${ac_cv_c_inline+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_cv_c_inline=no
++for ac_kw in inline __inline__ __inline; do
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#ifndef __cplusplus
++static $ac_kw int static_foo () {return 0; }
++$ac_kw int foo () {return 0; }
++#endif
++
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_c_inline=$ac_kw; break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++done
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
++echo "${ECHO_T}$ac_cv_c_inline" >&6
++case $ac_cv_c_inline in
++  inline | yes) ;;
++  no) 
++cat >>confdefs.h <<\_ACEOF
++@%:@define inline 
++_ACEOF
++ ;;
++  *)  cat >>confdefs.h <<_ACEOF
++@%:@define inline $ac_cv_c_inline
++_ACEOF
++ ;;
++esac
++
++echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
++echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
++if test "${ac_cv_c_const+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* FIXME: Include the comments suggested by Paul. */
++#ifndef __cplusplus
++  /* Ultrix mips cc rejects this.  */
++  typedef int charset[2];
++  const charset x;
++  /* SunOS 4.1.1 cc rejects this.  */
++  char const *const *ccp;
++  char **p;
++  /* NEC SVR4.0.2 mips cc rejects this.  */
++  struct point {int x, y;};
++  static struct point const zero = {0,0};
++  /* AIX XL C 1.02.0.0 rejects this.
++     It does not let you subtract one const X* pointer from another in
++     an arm of an if-expression whose if-part is not a constant
++     expression */
++  const char *g = "string";
++  ccp = &g + (g ? g-g : 0);
++  /* HPUX 7.0 cc rejects these. */
++  ++ccp;
++  p = (char**) ccp;
++  ccp = (char const *const *) p;
++  { /* SCO 3.2v4 cc rejects this.  */
++    char *t;
++    char const *s = 0 ? (char *) 0 : (char const *) 0;
++
++    *t++ = 0;
++  }
++  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
++    int x[] = {25, 17};
++    const int *foo = &x[0];
++    ++foo;
++  }
++  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
++    typedef const int *iptr;
++    iptr p = 0;
++    ++p;
++  }
++  { /* AIX XL C 1.02.0.0 rejects this saying
++       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
++    struct s { int j; const int *ap[3]; };
++    struct s *b; b->j = 5;
++  }
++  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
++    const int foo = 10;
++  }
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_c_const=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_c_const=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
++echo "${ECHO_T}$ac_cv_c_const" >&6
++if test $ac_cv_c_const = no; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define const 
++_ACEOF
++
++fi
++
++echo "$as_me:$LINENO: checking for size_t" >&5
++echo $ECHO_N "checking for size_t... $ECHO_C" >&6
++if test "${ac_cv_type_size_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++$ac_includes_default
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++if ((size_t *) 0)
++  return 0;
++if (sizeof (size_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_size_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_type_size_t=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
++echo "${ECHO_T}$ac_cv_type_size_t" >&6
++if test $ac_cv_type_size_t = yes; then
++  :
++else
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define size_t unsigned
++_ACEOF
++
++fi
++
++echo "$as_me:$LINENO: checking for pid_t" >&5
++echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
++if test "${ac_cv_type_pid_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++$ac_includes_default
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++if ((pid_t *) 0)
++  return 0;
++if (sizeof (pid_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_pid_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_type_pid_t=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
++echo "${ECHO_T}$ac_cv_type_pid_t" >&6
++if test $ac_cv_type_pid_t = yes; then
++  :
++else
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define pid_t int
++_ACEOF
++
++fi
++
++echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
++echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
++if test "${ac_cv_type_uid_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <sys/types.h>
++
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  egrep "uid_t" >/dev/null 2>&1; then
++  ac_cv_type_uid_t=yes
++else
++  ac_cv_type_uid_t=no
++fi
++rm -f conftest*
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
++echo "${ECHO_T}$ac_cv_type_uid_t" >&6
++if test $ac_cv_type_uid_t = no; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define uid_t int
++_ACEOF
++
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define gid_t int
++_ACEOF
++
++fi
++
++
++echo "$as_me:$LINENO: checking return type of signal handlers" >&5
++echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
++if test "${ac_cv_type_signal+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "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
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++int i;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_signal=void
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_type_signal=int
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
++echo "${ECHO_T}$ac_cv_type_signal" >&6
++
++cat >>confdefs.h <<_ACEOF
++@%:@define RETSIGTYPE $ac_cv_type_signal
++_ACEOF
++
++
++if test "$ac_cv_type_signal" = "void" ; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define VOID_RETSIGTYPE 1
++_ACEOF
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
++echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
++if test "${ac_cv_header_time+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <sys/types.h>
++#include <sys/time.h>
++#include <time.h>
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++if ((struct tm *) 0)
++return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_header_time=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_header_time=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
++echo "${ECHO_T}$ac_cv_header_time" >&6
++if test $ac_cv_header_time = yes; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define TIME_WITH_SYS_TIME 1
++_ACEOF
++
++fi
++
++
++
++for ac_header in standards.h
++do
++as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++else
++  # Is the header compilable?
++echo "$as_me:$LINENO: checking $ac_header usability" >&5
++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++$ac_includes_default
++@%:@include <$ac_header>
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_header_compiler=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_header_compiler=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
++echo "${ECHO_T}$ac_header_compiler" >&6
++
++# Is the header present?
++echo "$as_me:$LINENO: checking $ac_header presence" >&5
++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++@%:@include <$ac_header>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  egrep -v '^ *\+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  ac_header_preproc=yes
++else
++  echo "$as_me: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_header_preproc=no
++fi
++rm -f conftest.err conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
++echo "${ECHO_T}$ac_header_preproc" >&6
++
++# So?  What about this header?
++case $ac_header_compiler:$ac_header_preproc in
++  yes:no )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
++echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++  no:yes )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
++echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
++echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++esac
++echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  eval "$as_ac_Header=$ac_header_preproc"
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++
++fi
++if test `eval echo '${'$as_ac_Header'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++
++done
++
++for i in netinet/ip.h netinet/tcp.h; do
++
++cv=`echo "$i" | sed 'y%./+-%__p_%'`
++
++echo "$as_me:$LINENO: checking for $i" >&5
++echo $ECHO_N "checking for $i... $ECHO_C" >&6
++if eval "test \"\${ac_cv_header_$cv+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++\
++#ifdef HAVE_STANDARDS_H
++#include <standards.h>
++#endif
++#include <$i>
++
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  egrep -v '^ *\+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  eval "ac_cv_header_$cv=yes"
++else
++  echo "$as_me: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_header_$cv=no"
++fi
++rm -f conftest.err conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'ac_cv_header_$cv'}'`" >&5
++echo "${ECHO_T}`eval echo '${'ac_cv_header_$cv'}'`" >&6
++ac_res=`eval echo \\$ac_cv_header_$cv`
++if test "$ac_res" = yes; then
++	ac_tr_hdr=HAVE_`echo $i | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_hdr 1
++_ACEOF
++
++fi
++done
++if false;then
++	
++
++for ac_header in netinet/ip.h netinet/tcp.h
++do
++as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++else
++  # Is the header compilable?
++echo "$as_me:$LINENO: checking $ac_header usability" >&5
++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++$ac_includes_default
++@%:@include <$ac_header>
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_header_compiler=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_header_compiler=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
++echo "${ECHO_T}$ac_header_compiler" >&6
++
++# Is the header present?
++echo "$as_me:$LINENO: checking $ac_header presence" >&5
++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++@%:@include <$ac_header>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  egrep -v '^ *\+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  ac_header_preproc=yes
++else
++  echo "$as_me: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_header_preproc=no
++fi
++rm -f conftest.err conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
++echo "${ECHO_T}$ac_header_preproc" >&6
++
++# So?  What about this header?
++case $ac_header_compiler:$ac_header_preproc in
++  yes:no )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
++echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++  no:yes )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
++echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
++echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++esac
++echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  eval "$as_ac_Header=$ac_header_preproc"
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++
++fi
++if test `eval echo '${'$as_ac_Header'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++
++done
++
++fi
++
++
++
++
++for ac_func in getlogin setlogin
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++if test "$ac_cv_func_getlogin" = yes; then
++echo "$as_me:$LINENO: checking if getlogin is posix" >&5
++echo $ECHO_N "checking if getlogin is posix... $ECHO_C" >&6
++if test "${ac_cv_func_getlogin_posix+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if test "$ac_cv_func_getlogin" = yes -a "$ac_cv_func_setlogin" = yes; then
++	ac_cv_func_getlogin_posix=no
++else
++	ac_cv_func_getlogin_posix=yes
++fi
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getlogin_posix" >&5
++echo "${ECHO_T}$ac_cv_func_getlogin_posix" >&6
++if test "$ac_cv_func_getlogin_posix" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define POSIX_GETLOGIN 1
++_ACEOF
++
++fi
++fi
++
++
++echo "$as_me:$LINENO: checking if realloc if broken" >&5
++echo $ECHO_N "checking if realloc if broken... $ECHO_C" >&6
++if test "${ac_cv_func_realloc_broken+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++ac_cv_func_realloc_broken=no
++if test "$cross_compiling" = yes; then
++  :
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#include <stddef.h>
++#include <stdlib.h>
++
++int main()
++{
++	return realloc(NULL, 17) == NULL;
++}
++
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  :
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++( exit $ac_status )
++ac_cv_func_realloc_broken=yes
++fi
++rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_realloc_broken" >&5
++echo "${ECHO_T}$ac_cv_func_realloc_broken" >&6
++if test "$ac_cv_func_realloc_broken" = yes ; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define BROKEN_REALLOC 1
++_ACEOF
++
++fi
++
++
++
++
++
++
++
++DIR_roken=roken
++LIB_roken='$(top_builddir)/lib/roken/libroken.la'
++INCLUDES_roken='-I$(top_builddir)/lib/roken -I$(top_srcdir)/lib/roken'
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++WFLAGS_NOUNUSED=""
++WFLAGS_NOIMPLICITINT=""
++if test -z "$WFLAGS" -a "$GCC" = "yes"; then
++  # -Wno-implicit-int for broken X11 headers
++  # leave these out for now:
++  #   -Wcast-align doesn't work well on alpha osf/1
++  #   -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast
++  #   -Wmissing-declarations -Wnested-externs
++  WFLAGS="-Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs"
++  WFLAGS_NOUNUSED="-Wno-unused"
++  WFLAGS_NOIMPLICITINT="-Wno-implicit-int"
++fi
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for ssize_t" >&5
++echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
++if test "${ac_cv_type_ssize_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <sys/types.h>
++#if STDC_HEADERS
++#include <stdlib.h>
++#include <stddef.h>
++#endif
++#include <unistd.h>
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  egrep "ssize_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
++  ac_cv_type_ssize_t=yes
++else
++  ac_cv_type_ssize_t=no
++fi
++rm -f conftest*
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
++echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
++if test $ac_cv_type_ssize_t = no; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define ssize_t int
++_ACEOF
++
++fi
++
++
++
++
++
++cv=`echo "long long" | sed 'y%./+- %__p__%'`
++echo "$as_me:$LINENO: checking for long long" >&5
++echo $ECHO_N "checking for long long... $ECHO_C" >&6
++if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <sys/types.h>
++#if STDC_HEADERS
++#include <stdlib.h>
++#include <stddef.h>
++#endif
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++long long foo;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_type_$cv=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_type_$cv=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++ac_foo=`eval echo \\$ac_cv_type_$cv`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++  ac_tr_hdr=HAVE_`echo long long | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
++if false; then
++	echo "$as_me:$LINENO: checking for long long" >&5
++echo $ECHO_N "checking for long long... $ECHO_C" >&6
++if test "${ac_cv_type_long_long+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++$ac_includes_default
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++if ((long long *) 0)
++  return 0;
++if (sizeof (long long))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_long_long=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_type_long_long=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
++echo "${ECHO_T}$ac_cv_type_long_long" >&6
++if test $ac_cv_type_long_long = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_LONG_LONG 1
++_ACEOF
++
++
++fi
++
++fi
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_hdr 1
++_ACEOF
++
++fi
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++for ac_header in \
++	arpa/inet.h				\
++	arpa/nameser.h				\
++	config.h				\
++	crypt.h					\
++	dirent.h				\
++	errno.h					\
++	err.h					\
++	fcntl.h					\
++	grp.h					\
++	ifaddrs.h				\
++	net/if.h				\
++	netdb.h					\
++	netinet/in.h				\
++	netinet/in6.h				\
++	netinet/in_systm.h			\
++	netinet6/in6.h				\
++	netinet6/in6_var.h			\
++	paths.h					\
++	pwd.h					\
++	resolv.h				\
++	rpcsvc/ypclnt.h				\
++	shadow.h				\
++	sys/bswap.h				\
++	sys/ioctl.h				\
++	sys/param.h				\
++	sys/proc.h				\
++	sys/resource.h				\
++	sys/socket.h				\
++	sys/sockio.h				\
++	sys/stat.h				\
++	sys/sysctl.h				\
++	sys/time.h				\
++	sys/tty.h				\
++	sys/types.h				\
++	sys/uio.h				\
++	sys/utsname.h				\
++	sys/wait.h				\
++	syslog.h				\
++	termios.h				\
++	unistd.h				\
++	userconf.h				\
++	usersec.h				\
++	util.h					\
++	vis.h					\
++
++do
++as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++else
++  # Is the header compilable?
++echo "$as_me:$LINENO: checking $ac_header usability" >&5
++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++$ac_includes_default
++@%:@include <$ac_header>
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_header_compiler=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_header_compiler=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
++echo "${ECHO_T}$ac_header_compiler" >&6
++
++# Is the header present?
++echo "$as_me:$LINENO: checking $ac_header presence" >&5
++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++@%:@include <$ac_header>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  egrep -v '^ *\+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  ac_header_preproc=yes
++else
++  echo "$as_me: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_header_preproc=no
++fi
++rm -f conftest.err conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
++echo "${ECHO_T}$ac_header_preproc" >&6
++
++# So?  What about this header?
++case $ac_header_compiler:$ac_header_preproc in
++  yes:no )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
++echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++  no:yes )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
++echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
++echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++esac
++echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  eval "$as_ac_Header=$ac_header_preproc"
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++
++fi
++if test `eval echo '${'$as_ac_Header'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++
++done
++
++	
++
++
++
++
++if test "$ac_cv_header_err_h" = yes; then
++  have_err_h_TRUE=
++  have_err_h_FALSE='#'
++else
++  have_err_h_TRUE='#'
++  have_err_h_FALSE=
++fi
++
++
++if test "$ac_cv_header_fnmatch_h" = yes; then
++  have_fnmatch_h_TRUE=
++  have_fnmatch_h_FALSE='#'
++else
++  have_fnmatch_h_TRUE='#'
++  have_fnmatch_h_FALSE=
++fi
++
++
++if test "$ac_cv_header_ifaddrs_h" = yes; then
++  have_ifaddrs_h_TRUE=
++  have_ifaddrs_h_FALSE='#'
++else
++  have_ifaddrs_h_TRUE='#'
++  have_ifaddrs_h_FALSE=
++fi
++
++
++if test "$ac_cv_header_vis_h" = yes; then
++  have_vis_h_TRUE=
++  have_vis_h_FALSE='#'
++else
++  have_vis_h_TRUE='#'
++  have_vis_h_FALSE=
++fi
++
++
++
++
++# Check whether --with-ipv6 or --without-ipv6 was given.
++if test "${with_ipv6+set}" = set; then
++  withval="$with_ipv6"
++  
++if test "$withval" = "no"; then
++	ac_cv_lib_ipv6=no
++fi
++fi; 
++save_CFLAGS="${CFLAGS}"
++if test "${ac_cv_lib_ipv6+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  v6type=unknown
++v6lib=none
++
++echo "$as_me:$LINENO: checking ipv6 stack type" >&5
++echo $ECHO_N "checking ipv6 stack type... $ECHO_C" >&6
++for i in v6d toshiba kame inria zeta linux; do
++	case $i in
++	v6d)
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#include </usr/local/v6/include/sys/types.h>
++#ifdef __V6D__
++yes
++#endif
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  egrep "yes" >/dev/null 2>&1; then
++  v6type=$i; v6lib=v6;
++			v6libdir=/usr/local/v6/lib;
++			CFLAGS="-I/usr/local/v6/include $CFLAGS"
++fi
++rm -f conftest*
++
++		;;
++	toshiba)
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#include <sys/param.h>
++#ifdef _TOSHIBA_INET6
++yes
++#endif
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  egrep "yes" >/dev/null 2>&1; then
++  v6type=$i; v6lib=inet6;
++			v6libdir=/usr/local/v6/lib;
++			CFLAGS="-DINET6 $CFLAGS"
++fi
++rm -f conftest*
++
++		;;
++	kame)
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#include <netinet/in.h>
++#ifdef __KAME__
++yes
++#endif
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  egrep "yes" >/dev/null 2>&1; then
++  v6type=$i; v6lib=inet6;
++			v6libdir=/usr/local/v6/lib;
++			CFLAGS="-DINET6 $CFLAGS"
++fi
++rm -f conftest*
++
++		;;
++	inria)
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#include <netinet/in.h>
++#ifdef IPV6_INRIA_VERSION
++yes
++#endif
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  egrep "yes" >/dev/null 2>&1; then
++  v6type=$i; CFLAGS="-DINET6 $CFLAGS"
++fi
++rm -f conftest*
++
++		;;
++	zeta)
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#include <sys/param.h>
++#ifdef _ZETA_MINAMI_INET6
++yes
++#endif
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  egrep "yes" >/dev/null 2>&1; then
++  v6type=$i; v6lib=inet6;
++			v6libdir=/usr/local/v6/lib;
++			CFLAGS="-DINET6 $CFLAGS"
++fi
++rm -f conftest*
++
++		;;
++	linux)
++		if test -d /usr/inet6; then
++			v6type=$i
++			v6lib=inet6
++			v6libdir=/usr/inet6
++			CFLAGS="-DINET6 $CFLAGS"
++		fi
++		;;
++	esac
++	if test "$v6type" != "unknown"; then
++		break
++	fi
++done
++echo "$as_me:$LINENO: result: $v6type" >&5
++echo "${ECHO_T}$v6type" >&6
++
++if test "$v6lib" != "none"; then
++	for dir in $v6libdir /usr/local/v6/lib /usr/local/lib; do
++		if test -d $dir -a -f $dir/lib$v6lib.a; then
++			LIBS="-L$dir -l$v6lib $LIBS"
++			break
++		fi
++	done
++fi
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_NETINET_IN6_H
++#include <netinet/in6.h>
++#endif
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++ struct sockaddr_in6 sin6;
++ int s;
++
++ s = socket(AF_INET6, SOCK_DGRAM, 0);
++
++ sin6.sin6_family = AF_INET6;
++ sin6.sin6_port = htons(17);
++ sin6.sin6_addr = in6addr_any;
++ bind(s, (struct sockaddr *)&sin6, sizeof(sin6));
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_ipv6=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_lib_ipv6=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++
++echo "$as_me:$LINENO: checking for IPv6" >&5
++echo $ECHO_N "checking for IPv6... $ECHO_C" >&6
++echo "$as_me:$LINENO: result: $ac_cv_lib_ipv6" >&5
++echo "${ECHO_T}$ac_cv_lib_ipv6" >&6
++if test "$ac_cv_lib_ipv6" = yes; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_IPV6 1
++_ACEOF
++
++else
++  CFLAGS="${save_CFLAGS}"
++fi
++
++if test "$ac_cv_lib_ipv6" = yes; then
++	echo "$as_me:$LINENO: checking for in6addr_loopback" >&5
++echo $ECHO_N "checking for in6addr_loopback... $ECHO_C" >&6
++if test "${ac_cv_var_in6addr_loopback+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++	cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_NETINET_IN6_H
++#include <netinet/in6.h>
++#endif
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++struct sockaddr_in6 sin6;
++sin6.sin6_addr = in6addr_loopback;
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_var_in6addr_loopback=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_var_in6addr_loopback=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_var_in6addr_loopback" >&5
++echo "${ECHO_T}$ac_cv_var_in6addr_loopback" >&6
++	if test "$ac_cv_var_in6addr_loopback" = yes; then
++		
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_IN6ADDR_LOOPBACK 1
++_ACEOF
++
++	fi
++fi
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for socket" >&5
++echo $ECHO_N "checking for socket... $ECHO_C" >&6
++if test "${ac_cv_funclib_socket+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_socket\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" socket; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++socket()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_socket=$ac_lib; else ac_cv_funclib_socket=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_socket=\${ac_cv_funclib_socket-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_socket"
++
++if false; then
++	
++for ac_func in socket
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# socket
++eval "ac_tr_func=HAVE_`echo socket | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_socket=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_socket=yes"
++	eval "LIB_socket="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_socket=no"
++	eval "LIB_socket="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_socket=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_socket"; then
++	LIBS="$LIB_socket $LIBS"
++fi
++
++
++
++
++
++echo "$as_me:$LINENO: checking for gethostbyname" >&5
++echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
++if test "${ac_cv_funclib_gethostbyname+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_gethostbyname\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" nsl; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++gethostbyname()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_gethostbyname=$ac_lib; else ac_cv_funclib_gethostbyname=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_gethostbyname=\${ac_cv_funclib_gethostbyname-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_gethostbyname"
++
++if false; then
++	
++for ac_func in gethostbyname
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# gethostbyname
++eval "ac_tr_func=HAVE_`echo gethostbyname | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_gethostbyname=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_gethostbyname=yes"
++	eval "LIB_gethostbyname="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_gethostbyname=no"
++	eval "LIB_gethostbyname="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_gethostbyname=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_gethostbyname"; then
++	LIBS="$LIB_gethostbyname $LIBS"
++fi
++
++
++
++
++
++echo "$as_me:$LINENO: checking for syslog" >&5
++echo $ECHO_N "checking for syslog... $ECHO_C" >&6
++if test "${ac_cv_funclib_syslog+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_syslog\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" syslog; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++syslog()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_syslog=$ac_lib; else ac_cv_funclib_syslog=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_syslog=\${ac_cv_funclib_syslog-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_syslog"
++
++if false; then
++	
++for ac_func in syslog
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# syslog
++eval "ac_tr_func=HAVE_`echo syslog | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_syslog=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_syslog=yes"
++	eval "LIB_syslog="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_syslog=no"
++	eval "LIB_syslog="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_syslog=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_syslog"; then
++	LIBS="$LIB_syslog $LIBS"
++fi
++
++
++
++
++
++echo "$as_me:$LINENO: checking for gethostbyname2" >&5
++echo $ECHO_N "checking for gethostbyname2... $ECHO_C" >&6
++if test "${ac_cv_funclib_gethostbyname2+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_gethostbyname2\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" inet6 ip6; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++gethostbyname2()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_gethostbyname2=$ac_lib; else ac_cv_funclib_gethostbyname2=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_gethostbyname2=\${ac_cv_funclib_gethostbyname2-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_gethostbyname2"
++
++if false; then
++	
++for ac_func in gethostbyname2
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# gethostbyname2
++eval "ac_tr_func=HAVE_`echo gethostbyname2 | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_gethostbyname2=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_gethostbyname2=yes"
++	eval "LIB_gethostbyname2="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_gethostbyname2=no"
++	eval "LIB_gethostbyname2="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_gethostbyname2=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_gethostbyname2"; then
++	LIBS="$LIB_gethostbyname2 $LIBS"
++fi
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for res_search" >&5
++echo $ECHO_N "checking for res_search... $ECHO_C" >&6
++if test "${ac_cv_funclib_res_search+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_res_search\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" resolv; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#include <stdio.h>
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_NAMESER_H
++#include <arpa/nameser.h>
++#endif
++#ifdef HAVE_RESOLV_H
++#include <resolv.h>
++#endif
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++res_search(0,0,0,0,0)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_res_search=$ac_lib; else ac_cv_funclib_res_search=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_res_search=\${ac_cv_funclib_res_search-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_res_search"
++
++if false; then
++	
++for ac_func in res_search
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# res_search
++eval "ac_tr_func=HAVE_`echo res_search | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_res_search=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_res_search=yes"
++	eval "LIB_res_search="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_res_search=no"
++	eval "LIB_res_search="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_res_search=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_res_search"; then
++	LIBS="$LIB_res_search $LIBS"
++fi
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for dn_expand" >&5
++echo $ECHO_N "checking for dn_expand... $ECHO_C" >&6
++if test "${ac_cv_funclib_dn_expand+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_dn_expand\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" resolv; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#include <stdio.h>
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_NAMESER_H
++#include <arpa/nameser.h>
++#endif
++#ifdef HAVE_RESOLV_H
++#include <resolv.h>
++#endif
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++dn_expand(0,0,0,0,0)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_dn_expand=$ac_lib; else ac_cv_funclib_dn_expand=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_dn_expand=\${ac_cv_funclib_dn_expand-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_dn_expand"
++
++if false; then
++	
++for ac_func in dn_expand
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# dn_expand
++eval "ac_tr_func=HAVE_`echo dn_expand | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_dn_expand=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_dn_expand=yes"
++	eval "LIB_dn_expand="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_dn_expand=no"
++	eval "LIB_dn_expand="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_dn_expand=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_dn_expand"; then
++	LIBS="$LIB_dn_expand $LIBS"
++fi
++
++
++
++echo "$as_me:$LINENO: checking for working snprintf" >&5
++echo $ECHO_N "checking for working snprintf... $ECHO_C" >&6
++if test "${ac_cv_func_snprintf_working+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_cv_func_snprintf_working=yes
++if test "$cross_compiling" = yes; then
++  :
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#include <stdio.h>
++#include <string.h>
++int main()
++{
++	char foo[3];
++	snprintf(foo, 2, "12");
++	return strcmp(foo, "1");
++}
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  :
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++( exit $ac_status )
++ac_cv_func_snprintf_working=no
++fi
++rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_snprintf_working" >&5
++echo "${ECHO_T}$ac_cv_func_snprintf_working" >&6
++
++if test "$ac_cv_func_snprintf_working" = yes; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_SNPRINTF 1
++_ACEOF
++
++fi
++if test "$ac_cv_func_snprintf_working" = yes; then
++
++if test "$ac_cv_func_snprintf+set" != set -o "$ac_cv_func_snprintf" = yes; then
++echo "$as_me:$LINENO: checking if snprintf needs a prototype" >&5
++echo $ECHO_N "checking if snprintf needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_snprintf_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <stdio.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int snprintf (struct foo*);
++snprintf(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_snprintf_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_func_snprintf_noproto=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_snprintf_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_snprintf_noproto" >&6
++
++if test "$ac_cv_func_snprintf_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_SNPRINTF_PROTO 1
++_ACEOF
++
++fi
++
++fi
++
++fi
++
++
++echo "$as_me:$LINENO: checking for working vsnprintf" >&5
++echo $ECHO_N "checking for working vsnprintf... $ECHO_C" >&6
++if test "${ac_cv_func_vsnprintf_working+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_cv_func_vsnprintf_working=yes
++if test "$cross_compiling" = yes; then
++  :
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#include <stdio.h>
++#include <string.h>
++#include <stdarg.h>
++
++int foo(int num, ...)
++{
++	char bar[3];
++	va_list arg;
++	va_start(arg, num);
++	vsnprintf(bar, 2, "%s", arg);
++	va_end(arg);
++	return strcmp(bar, "1");
++}
++
++
++int main()
++{
++	return foo(0, "12");
++}
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  :
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++( exit $ac_status )
++ac_cv_func_vsnprintf_working=no
++fi
++rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_vsnprintf_working" >&5
++echo "${ECHO_T}$ac_cv_func_vsnprintf_working" >&6
++
++if test "$ac_cv_func_vsnprintf_working" = yes; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_VSNPRINTF 1
++_ACEOF
++
++fi
++if test "$ac_cv_func_vsnprintf_working" = yes; then
++
++if test "$ac_cv_func_vsnprintf+set" != set -o "$ac_cv_func_vsnprintf" = yes; then
++echo "$as_me:$LINENO: checking if vsnprintf needs a prototype" >&5
++echo $ECHO_N "checking if vsnprintf needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_vsnprintf_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <stdio.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int vsnprintf (struct foo*);
++vsnprintf(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_vsnprintf_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_func_vsnprintf_noproto=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_vsnprintf_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_vsnprintf_noproto" >&6
++
++if test "$ac_cv_func_vsnprintf_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_VSNPRINTF_PROTO 1
++_ACEOF
++
++fi
++
++fi
++
++fi
++
++
++
++echo "$as_me:$LINENO: checking for working glob" >&5
++echo $ECHO_N "checking for working glob... $ECHO_C" >&6
++if test "${ac_cv_func_glob_working+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_cv_func_glob_working=yes
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#include <stdio.h>
++#include <glob.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++glob(NULL, GLOB_BRACE|GLOB_NOCHECK|GLOB_QUOTE|GLOB_TILDE|
++#ifdef GLOB_MAXPATH
++GLOB_MAXPATH
++#else
++GLOB_LIMIT
++#endif
++,
++NULL, NULL);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  :
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_glob_working=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_glob_working" >&5
++echo "${ECHO_T}$ac_cv_func_glob_working" >&6
++
++if test "$ac_cv_func_glob_working" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_GLOB 1
++_ACEOF
++
++fi
++if test "$ac_cv_func_glob_working" = yes; then
++
++if test "$ac_cv_func_glob+set" != set -o "$ac_cv_func_glob" = yes; then
++echo "$as_me:$LINENO: checking if glob needs a prototype" >&5
++echo $ECHO_N "checking if glob needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_glob_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <stdio.h>
++#include <glob.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int glob (struct foo*);
++glob(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_glob_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_func_glob_noproto=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_glob_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_glob_noproto" >&6
++
++if test "$ac_cv_func_glob_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_GLOB_PROTO 1
++_ACEOF
++
++fi
++
++fi
++
++fi
++
++if test "$ac_cv_func_glob_working" != yes; then
++	LIBOBJS="$LIBOBJS glob.o"
++fi
++
++
++if test "$ac_cv_func_glob_working" = yes; then
++  have_glob_h_TRUE=
++  have_glob_h_FALSE='#'
++else
++  have_glob_h_TRUE='#'
++  have_glob_h_FALSE=
++fi
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++for ac_func in 				\
++	asnprintf				\
++	asprintf				\
++	cgetent					\
++	getconfattr				\
++	getprogname				\
++	getrlimit				\
++	getspnam				\
++	initstate				\
++	issetugid				\
++	random					\
++	setprogname				\
++	setstate				\
++	strsvis					\
++	strunvis				\
++	strvis					\
++	strvisx					\
++	svis					\
++	sysconf					\
++	sysctl					\
++	uname					\
++	unvis					\
++	vasnprintf				\
++	vasprintf				\
++	vis					\
++
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++
++if test "$ac_cv_func_cgetent" = no; then
++	LIBOBJS="$LIBOBJS getcap.o"
++fi
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for getsockopt" >&5
++echo $ECHO_N "checking for getsockopt... $ECHO_C" >&6
++if test "${ac_cv_funclib_getsockopt+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_getsockopt\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++getsockopt(0,0,0,0,0)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_getsockopt=$ac_lib; else ac_cv_funclib_getsockopt=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_getsockopt=\${ac_cv_funclib_getsockopt-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_getsockopt"
++
++if false; then
++	
++for ac_func in getsockopt
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# getsockopt
++eval "ac_tr_func=HAVE_`echo getsockopt | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_getsockopt=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_getsockopt=yes"
++	eval "LIB_getsockopt="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_getsockopt=no"
++	eval "LIB_getsockopt="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_getsockopt=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++
++
++
++echo "$as_me:$LINENO: checking for setsockopt" >&5
++echo $ECHO_N "checking for setsockopt... $ECHO_C" >&6
++if test "${ac_cv_funclib_setsockopt+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_setsockopt\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++setsockopt(0,0,0,0,0)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_setsockopt=$ac_lib; else ac_cv_funclib_setsockopt=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_setsockopt=\${ac_cv_funclib_setsockopt-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_setsockopt"
++
++if false; then
++	
++for ac_func in setsockopt
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# setsockopt
++eval "ac_tr_func=HAVE_`echo setsockopt | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_setsockopt=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_setsockopt=yes"
++	eval "LIB_setsockopt="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_setsockopt=no"
++	eval "LIB_setsockopt="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_setsockopt=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for hstrerror" >&5
++echo $ECHO_N "checking for hstrerror... $ECHO_C" >&6
++if test "${ac_cv_funclib_hstrerror+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_hstrerror\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" resolv; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++hstrerror(17)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_hstrerror=$ac_lib; else ac_cv_funclib_hstrerror=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_hstrerror=\${ac_cv_funclib_hstrerror-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_hstrerror"
++
++if false; then
++	
++for ac_func in hstrerror
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# hstrerror
++eval "ac_tr_func=HAVE_`echo hstrerror | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_hstrerror=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_hstrerror=yes"
++	eval "LIB_hstrerror="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_hstrerror=no"
++	eval "LIB_hstrerror="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_hstrerror=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_hstrerror"; then
++	LIBS="$LIB_hstrerror $LIBS"
++fi
++
++if eval "test \"$ac_cv_func_hstrerror\" != yes"; then
++LIBOBJS="$LIBOBJS hstrerror.o"
++fi
++
++if test "$ac_cv_func_hstrerror" = yes; then
++
++if test "$ac_cv_func_hstrerror+set" != set -o "$ac_cv_func_hstrerror" = yes; then
++echo "$as_me:$LINENO: checking if hstrerror needs a prototype" >&5
++echo $ECHO_N "checking if hstrerror needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_hstrerror_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int hstrerror (struct foo*);
++hstrerror(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_hstrerror_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_func_hstrerror_noproto=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_hstrerror_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_hstrerror_noproto" >&6
++
++if test "$ac_cv_func_hstrerror_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_HSTRERROR_PROTO 1
++_ACEOF
++
++fi
++
++fi
++
++fi
++
++if test "$ac_cv_func_asprintf" = yes; then
++
++if test "$ac_cv_func_asprintf+set" != set -o "$ac_cv_func_asprintf" = yes; then
++echo "$as_me:$LINENO: checking if asprintf needs a prototype" >&5
++echo $ECHO_N "checking if asprintf needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_asprintf_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#include <stdio.h>
++#include <string.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int asprintf (struct foo*);
++asprintf(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_asprintf_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_func_asprintf_noproto=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_asprintf_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_asprintf_noproto" >&6
++
++if test "$ac_cv_func_asprintf_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_ASPRINTF_PROTO 1
++_ACEOF
++
++fi
++
++fi
++fi
++if test "$ac_cv_func_vasprintf" = yes; then
++
++if test "$ac_cv_func_vasprintf+set" != set -o "$ac_cv_func_vasprintf" = yes; then
++echo "$as_me:$LINENO: checking if vasprintf needs a prototype" >&5
++echo $ECHO_N "checking if vasprintf needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_vasprintf_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#include <stdio.h>
++#include <string.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int vasprintf (struct foo*);
++vasprintf(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_vasprintf_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_func_vasprintf_noproto=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_vasprintf_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_vasprintf_noproto" >&6
++
++if test "$ac_cv_func_vasprintf_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_VASPRINTF_PROTO 1
++_ACEOF
++
++fi
++
++fi
++fi
++if test "$ac_cv_func_asnprintf" = yes; then
++
++if test "$ac_cv_func_asnprintf+set" != set -o "$ac_cv_func_asnprintf" = yes; then
++echo "$as_me:$LINENO: checking if asnprintf needs a prototype" >&5
++echo $ECHO_N "checking if asnprintf needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_asnprintf_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#include <stdio.h>
++#include <string.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int asnprintf (struct foo*);
++asnprintf(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_asnprintf_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_func_asnprintf_noproto=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_asnprintf_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_asnprintf_noproto" >&6
++
++if test "$ac_cv_func_asnprintf_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_ASNPRINTF_PROTO 1
++_ACEOF
++
++fi
++
++fi
++fi
++if test "$ac_cv_func_vasnprintf" = yes; then
++
++if test "$ac_cv_func_vasnprintf+set" != set -o "$ac_cv_func_vasnprintf" = yes; then
++echo "$as_me:$LINENO: checking if vasnprintf needs a prototype" >&5
++echo $ECHO_N "checking if vasnprintf needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_vasnprintf_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#include <stdio.h>
++#include <string.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int vasnprintf (struct foo*);
++vasnprintf(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_vasnprintf_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_func_vasnprintf_noproto=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_vasnprintf_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_vasnprintf_noproto" >&6
++
++if test "$ac_cv_func_vasnprintf_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_VASNPRINTF_PROTO 1
++_ACEOF
++
++fi
++
++fi
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking for bswap16" >&5
++echo $ECHO_N "checking for bswap16... $ECHO_C" >&6
++if test "${ac_cv_funclib_bswap16+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_bswap16\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#ifdef HAVE_SYS_BSWAP_H
++#include <sys/bswap.h>
++#endif
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++bswap16(0)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_bswap16=$ac_lib; else ac_cv_funclib_bswap16=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_bswap16=\${ac_cv_funclib_bswap16-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_bswap16"
++
++if false; then
++	
++for ac_func in bswap16
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# bswap16
++eval "ac_tr_func=HAVE_`echo bswap16 | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_bswap16=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_bswap16=yes"
++	eval "LIB_bswap16="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_bswap16=no"
++	eval "LIB_bswap16="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_bswap16=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for bswap32" >&5
++echo $ECHO_N "checking for bswap32... $ECHO_C" >&6
++if test "${ac_cv_funclib_bswap32+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_bswap32\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#ifdef HAVE_SYS_BSWAP_H
++#include <sys/bswap.h>
++#endif
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++bswap32(0)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_bswap32=$ac_lib; else ac_cv_funclib_bswap32=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_bswap32=\${ac_cv_funclib_bswap32-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_bswap32"
++
++if false; then
++	
++for ac_func in bswap32
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# bswap32
++eval "ac_tr_func=HAVE_`echo bswap32 | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_bswap32=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_bswap32=yes"
++	eval "LIB_bswap32="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_bswap32=no"
++	eval "LIB_bswap32="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_bswap32=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for pidfile" >&5
++echo $ECHO_N "checking for pidfile... $ECHO_C" >&6
++if test "${ac_cv_funclib_pidfile+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_pidfile\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" util; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#ifdef HAVE_UTIL_H
++#include <util.h>
++#endif
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++pidfile(0)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_pidfile=$ac_lib; else ac_cv_funclib_pidfile=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_pidfile=\${ac_cv_funclib_pidfile-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_pidfile"
++
++if false; then
++	
++for ac_func in pidfile
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# pidfile
++eval "ac_tr_func=HAVE_`echo pidfile | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_pidfile=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_pidfile=yes"
++	eval "LIB_pidfile="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_pidfile=no"
++	eval "LIB_pidfile="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_pidfile=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for getaddrinfo" >&5
++echo $ECHO_N "checking for getaddrinfo... $ECHO_C" >&6
++if test "${ac_cv_funclib_getaddrinfo+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_getaddrinfo\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++getaddrinfo(0,0,0,0)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_getaddrinfo=$ac_lib; else ac_cv_funclib_getaddrinfo=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_getaddrinfo=\${ac_cv_funclib_getaddrinfo-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_getaddrinfo"
++
++if false; then
++	
++for ac_func in getaddrinfo
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# getaddrinfo
++eval "ac_tr_func=HAVE_`echo getaddrinfo | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_getaddrinfo=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_getaddrinfo=yes"
++	eval "LIB_getaddrinfo="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_getaddrinfo=no"
++	eval "LIB_getaddrinfo="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_getaddrinfo=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_getaddrinfo"; then
++	LIBS="$LIB_getaddrinfo $LIBS"
++fi
++
++if eval "test \"$ac_cv_func_getaddrinfo\" != yes"; then
++LIBOBJS="$LIBOBJS getaddrinfo.o"
++fi
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for getnameinfo" >&5
++echo $ECHO_N "checking for getnameinfo... $ECHO_C" >&6
++if test "${ac_cv_funclib_getnameinfo+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_getnameinfo\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++getnameinfo(0,0,0,0,0,0,0)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_getnameinfo=$ac_lib; else ac_cv_funclib_getnameinfo=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_getnameinfo=\${ac_cv_funclib_getnameinfo-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_getnameinfo"
++
++if false; then
++	
++for ac_func in getnameinfo
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# getnameinfo
++eval "ac_tr_func=HAVE_`echo getnameinfo | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_getnameinfo=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_getnameinfo=yes"
++	eval "LIB_getnameinfo="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_getnameinfo=no"
++	eval "LIB_getnameinfo="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_getnameinfo=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_getnameinfo"; then
++	LIBS="$LIB_getnameinfo $LIBS"
++fi
++
++if eval "test \"$ac_cv_func_getnameinfo\" != yes"; then
++LIBOBJS="$LIBOBJS getnameinfo.o"
++fi
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for freeaddrinfo" >&5
++echo $ECHO_N "checking for freeaddrinfo... $ECHO_C" >&6
++if test "${ac_cv_funclib_freeaddrinfo+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_freeaddrinfo\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++freeaddrinfo(0)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_freeaddrinfo=$ac_lib; else ac_cv_funclib_freeaddrinfo=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_freeaddrinfo=\${ac_cv_funclib_freeaddrinfo-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_freeaddrinfo"
++
++if false; then
++	
++for ac_func in freeaddrinfo
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# freeaddrinfo
++eval "ac_tr_func=HAVE_`echo freeaddrinfo | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_freeaddrinfo=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_freeaddrinfo=yes"
++	eval "LIB_freeaddrinfo="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_freeaddrinfo=no"
++	eval "LIB_freeaddrinfo="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_freeaddrinfo=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_freeaddrinfo"; then
++	LIBS="$LIB_freeaddrinfo $LIBS"
++fi
++
++if eval "test \"$ac_cv_func_freeaddrinfo\" != yes"; then
++LIBOBJS="$LIBOBJS freeaddrinfo.o"
++fi
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for gai_strerror" >&5
++echo $ECHO_N "checking for gai_strerror... $ECHO_C" >&6
++if test "${ac_cv_funclib_gai_strerror+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_gai_strerror\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++gai_strerror(0)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_gai_strerror=$ac_lib; else ac_cv_funclib_gai_strerror=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_gai_strerror=\${ac_cv_funclib_gai_strerror-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_gai_strerror"
++
++if false; then
++	
++for ac_func in gai_strerror
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# gai_strerror
++eval "ac_tr_func=HAVE_`echo gai_strerror | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_gai_strerror=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_gai_strerror=yes"
++	eval "LIB_gai_strerror="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_gai_strerror=no"
++	eval "LIB_gai_strerror="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_gai_strerror=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_gai_strerror"; then
++	LIBS="$LIB_gai_strerror $LIBS"
++fi
++
++if eval "test \"$ac_cv_func_gai_strerror\" != yes"; then
++LIBOBJS="$LIBOBJS gai_strerror.o"
++fi
++
++
++for ac_func in 					\
++	chown					\
++	copyhostent				\
++	daemon					\
++	ecalloc					\
++	emalloc					\
++	erealloc				\
++	estrdup					\
++	err					\
++	errx					\
++	fchown					\
++	flock					\
++	fnmatch					\
++	freehostent				\
++	getcwd					\
++	getdtablesize				\
++	getegid					\
++	geteuid					\
++	getgid					\
++	gethostname				\
++	getifaddrs				\
++	getipnodebyaddr				\
++	getipnodebyname				\
++	getopt					\
++	gettimeofday				\
++	getuid					\
++	getusershell				\
++	initgroups				\
++	innetgr					\
++	iruserok				\
++	lstat					\
++	memmove					\
++	mkstemp					\
++	putenv					\
++	rcmd					\
++	readv					\
++	recvmsg					\
++	sendmsg					\
++	setegid					\
++	setenv					\
++	seteuid					\
++	strcasecmp				\
++	strdup					\
++	strerror				\
++	strftime				\
++	strlcat					\
++	strlcpy					\
++	strlwr					\
++	strncasecmp				\
++	strndup					\
++	strnlen					\
++	strptime				\
++	strsep					\
++	strsep_copy				\
++	strtok_r				\
++	strupr					\
++	swab					\
++	unsetenv				\
++	verr					\
++	verrx					\
++	vsyslog					\
++	vwarn					\
++	vwarnx					\
++	warn					\
++	warnx					\
++	writev					\
++
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  
++ac_tr_func=HAVE_`echo $ac_func | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`
++cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++else
++  LIBOBJS="$LIBOBJS ${ac_func}.o"
++fi
++
++if false; then
++	
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++for ac_func in \
++	chown					\
++	copyhostent				\
++	daemon					\
++	ecalloc					\
++	emalloc					\
++	erealloc				\
++	estrdup					\
++	err					\
++	errx					\
++	fchown					\
++	flock					\
++	fnmatch					\
++	freehostent				\
++	getcwd					\
++	getdtablesize				\
++	getegid					\
++	geteuid					\
++	getgid					\
++	gethostname				\
++	getifaddrs				\
++	getipnodebyaddr				\
++	getipnodebyname				\
++	getopt					\
++	gettimeofday				\
++	getuid					\
++	getusershell				\
++	initgroups				\
++	innetgr					\
++	iruserok				\
++	lstat					\
++	memmove					\
++	mkstemp					\
++	putenv					\
++	rcmd					\
++	readv					\
++	recvmsg					\
++	sendmsg					\
++	setegid					\
++	setenv					\
++	seteuid					\
++	strcasecmp				\
++	strdup					\
++	strerror				\
++	strftime				\
++	strlcat					\
++	strlcpy					\
++	strlwr					\
++	strncasecmp				\
++	strndup					\
++	strnlen					\
++	strptime				\
++	strsep					\
++	strsep_copy				\
++	strtok_r				\
++	strupr					\
++	swab					\
++	unsetenv				\
++	verr					\
++	verrx					\
++	vsyslog					\
++	vwarn					\
++	vwarnx					\
++	warn					\
++	warnx					\
++	writev					\
++
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++done
++
++
++for ac_func in inet_aton
++do
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${ac_cv_func_$ac_func+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_INET_H
++#include <arpa/inet.h>
++#endif
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_inet_aton) || defined (__stub___inet_aton)
++choke me
++#else
++$ac_func(0,0)
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_$ac_func=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_func_$ac_func=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++
++if eval "test \"\${ac_cv_func_$ac_func}\" = yes"; then
++  ac_tr_func=HAVE_`echo $ac_func | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`
++  cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++  echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++  LIBOBJS="$LIBOBJS ${ac_func}.o"
++fi
++done
++if false; then
++	
++for ac_func in inet_aton
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++
++
++for ac_func in inet_ntop
++do
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${ac_cv_func_$ac_func+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_INET_H
++#include <arpa/inet.h>
++#endif
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_inet_ntop) || defined (__stub___inet_ntop)
++choke me
++#else
++$ac_func(0, 0, 0, 0)
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_$ac_func=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_func_$ac_func=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++
++if eval "test \"\${ac_cv_func_$ac_func}\" = yes"; then
++  ac_tr_func=HAVE_`echo $ac_func | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`
++  cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++  echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++  LIBOBJS="$LIBOBJS ${ac_func}.o"
++fi
++done
++if false; then
++	
++for ac_func in inet_ntop
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++
++
++for ac_func in inet_pton
++do
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${ac_cv_func_$ac_func+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_INET_H
++#include <arpa/inet.h>
++#endif
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_inet_pton) || defined (__stub___inet_pton)
++choke me
++#else
++$ac_func(0,0,0)
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_$ac_func=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_func_$ac_func=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++
++if eval "test \"\${ac_cv_func_$ac_func}\" = yes"; then
++  ac_tr_func=HAVE_`echo $ac_func | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`
++  cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++  echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++  LIBOBJS="$LIBOBJS ${ac_func}.o"
++fi
++done
++if false; then
++	
++for ac_func in inet_pton
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking for sa_len in struct sockaddr" >&5
++echo $ECHO_N "checking for sa_len in struct sockaddr... $ECHO_C" >&6
++if test "${ac_cv_type_struct_sockaddr_sa_len+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <sys/types.h>
++#include <sys/socket.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct sockaddr x; x.sa_len;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_sockaddr_sa_len=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_type_struct_sockaddr_sa_len=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_sockaddr_sa_len" >&5
++echo "${ECHO_T}$ac_cv_type_struct_sockaddr_sa_len" >&6
++if test "$ac_cv_type_struct_sockaddr_sa_len" = yes; then
++	
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_STRUCT_SOCKADDR_SA_LEN 1
++_ACEOF
++
++	
++fi
++
++
++
++if test "$ac_cv_func_getnameinfo" = "yes"; then
++  
++echo "$as_me:$LINENO: checking if getnameinfo is broken" >&5
++echo $ECHO_N "checking if getnameinfo is broken... $ECHO_C" >&6
++if test "${ac_cv_func_getnameinfo_broken+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test "$cross_compiling" = yes; then
++  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
++echo "$as_me: error: cannot run test program while cross compiling" >&2;}
++   { (exit 1); exit 1; }; }
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <stdio.h>
++#include <sys/types.h>
++#include <sys/socket.h>
++#include <netinet/in.h>
++#include <netdb.h>
++
++int
++main(int argc, char **argv)
++{
++  struct sockaddr_in sin;
++  char host[256];
++  memset(&sin, 0, sizeof(sin));
++#ifdef HAVE_STRUCT_SOCKADDR_SA_LEN
++  sin.sin_len = sizeof(sin);
++#endif
++  sin.sin_family = AF_INET;
++  sin.sin_addr.s_addr = 0xffffffff;
++  sin.sin_port = 0;
++  return getnameinfo((struct sockaddr*)&sin, sizeof(sin), host, sizeof(host),
++	      NULL, 0, 0);
++}
++
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_getnameinfo_broken=no
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++( exit $ac_status )
++ac_cv_func_getnameinfo_broken=yes
++fi
++rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getnameinfo_broken" >&5
++echo "${ECHO_T}$ac_cv_func_getnameinfo_broken" >&6
++  if test "$ac_cv_func_getnameinfo_broken" = yes; then
++    LIBOBJS="$LIBOBJS getnameinfo.o"
++  fi
++fi
++
++if test "$ac_cv_func_getaddrinfo" = "yes"; then
++  
++echo "$as_me:$LINENO: checking if getaddrinfo handles numeric services" >&5
++echo $ECHO_N "checking if getaddrinfo handles numeric services... $ECHO_C" >&6
++if test "${ac_cv_func_getaddrinfo_numserv+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test "$cross_compiling" = yes; then
++  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
++echo "$as_me: error: cannot run test program while cross compiling" >&2;}
++   { (exit 1); exit 1; }; }
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <stdio.h>
++#include <sys/types.h>
++#include <sys/socket.h>
++#include <netdb.h>
++
++int
++main(int argc, char **argv)
++{
++	struct addrinfo hints, *ai;
++	memset(&hints, 0, sizeof(hints));
++	hints.ai_flags = AI_PASSIVE;
++	hints.ai_socktype = SOCK_STREAM;
++	hints.ai_family = PF_UNSPEC;
++	if(getaddrinfo(NULL, "17", &hints, &ai) == EAI_SERVICE)
++		return 1;
++	return 0;
++}
++
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_getaddrinfo_numserv=yes
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++( exit $ac_status )
++ac_cv_func_getaddrinfo_numserv=no
++fi
++rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getaddrinfo_numserv" >&5
++echo "${ECHO_T}$ac_cv_func_getaddrinfo_numserv" >&6
++  if test "$ac_cv_func_getaddrinfo_numserv" = no; then
++    LIBOBJS="$LIBOBJS getaddrinfo.o"
++  fi
++fi
++
++
++if test "$ac_cv_func_setenv+set" != set -o "$ac_cv_func_setenv" = yes; then
++echo "$as_me:$LINENO: checking if setenv needs a prototype" >&5
++echo $ECHO_N "checking if setenv needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_setenv_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <stdlib.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int setenv (struct foo*);
++setenv(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_setenv_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_func_setenv_noproto=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_setenv_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_setenv_noproto" >&6
++
++if test "$ac_cv_func_setenv_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_SETENV_PROTO 1
++_ACEOF
++
++fi
++
++fi
++
++
++if test "$ac_cv_func_unsetenv+set" != set -o "$ac_cv_func_unsetenv" = yes; then
++echo "$as_me:$LINENO: checking if unsetenv needs a prototype" >&5
++echo $ECHO_N "checking if unsetenv needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_unsetenv_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <stdlib.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int unsetenv (struct foo*);
++unsetenv(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_unsetenv_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_func_unsetenv_noproto=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_unsetenv_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_unsetenv_noproto" >&6
++
++if test "$ac_cv_func_unsetenv_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_UNSETENV_PROTO 1
++_ACEOF
++
++fi
++
++fi
++
++
++if test "$ac_cv_func_gethostname+set" != set -o "$ac_cv_func_gethostname" = yes; then
++echo "$as_me:$LINENO: checking if gethostname needs a prototype" >&5
++echo $ECHO_N "checking if gethostname needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_gethostname_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <unistd.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int gethostname (struct foo*);
++gethostname(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_gethostname_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_func_gethostname_noproto=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_gethostname_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_gethostname_noproto" >&6
++
++if test "$ac_cv_func_gethostname_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_GETHOSTNAME_PROTO 1
++_ACEOF
++
++fi
++
++fi
++
++
++if test "$ac_cv_func_mkstemp+set" != set -o "$ac_cv_func_mkstemp" = yes; then
++echo "$as_me:$LINENO: checking if mkstemp needs a prototype" >&5
++echo $ECHO_N "checking if mkstemp needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_mkstemp_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <unistd.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int mkstemp (struct foo*);
++mkstemp(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_mkstemp_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_func_mkstemp_noproto=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_mkstemp_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_mkstemp_noproto" >&6
++
++if test "$ac_cv_func_mkstemp_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_MKSTEMP_PROTO 1
++_ACEOF
++
++fi
++
++fi
++
++
++if test "$ac_cv_func_getusershell+set" != set -o "$ac_cv_func_getusershell" = yes; then
++echo "$as_me:$LINENO: checking if getusershell needs a prototype" >&5
++echo $ECHO_N "checking if getusershell needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_getusershell_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <unistd.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int getusershell (struct foo*);
++getusershell(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_getusershell_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_func_getusershell_noproto=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getusershell_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_getusershell_noproto" >&6
++
++if test "$ac_cv_func_getusershell_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_GETUSERSHELL_PROTO 1
++_ACEOF
++
++fi
++
++fi
++
++
++
++if test "$ac_cv_func_inet_aton+set" != set -o "$ac_cv_func_inet_aton" = yes; then
++echo "$as_me:$LINENO: checking if inet_aton needs a prototype" >&5
++echo $ECHO_N "checking if inet_aton needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_inet_aton_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_INET_H
++#include <arpa/inet.h>
++#endif
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int inet_aton (struct foo*);
++inet_aton(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_inet_aton_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_func_inet_aton_noproto=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_inet_aton_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_inet_aton_noproto" >&6
++
++if test "$ac_cv_func_inet_aton_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_INET_ATON_PROTO 1
++_ACEOF
++
++fi
++
++fi
++
++
++
++
++
++echo "$as_me:$LINENO: checking for crypt" >&5
++echo $ECHO_N "checking for crypt... $ECHO_C" >&6
++if test "${ac_cv_funclib_crypt+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_crypt\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" crypt; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++crypt()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_crypt=$ac_lib; else ac_cv_funclib_crypt=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_crypt=\${ac_cv_funclib_crypt-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_crypt"
++
++if false; then
++	
++for ac_func in crypt
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# crypt
++eval "ac_tr_func=HAVE_`echo crypt | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_crypt=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_crypt=yes"
++	eval "LIB_crypt="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_crypt=no"
++	eval "LIB_crypt="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_crypt=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking if gethostbyname is compatible with system prototype" >&5
++echo $ECHO_N "checking if gethostbyname is compatible with system prototype... $ECHO_C" >&6
++if test "${ac_cv_func_gethostbyname_proto_compat+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_INET_H
++#include <arpa/inet.h>
++#endif
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct hostent *gethostbyname(const char *);
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_gethostbyname_proto_compat=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_func_gethostbyname_proto_compat=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname_proto_compat" >&5
++echo "${ECHO_T}$ac_cv_func_gethostbyname_proto_compat" >&6
++
++if test "$ac_cv_func_gethostbyname_proto_compat" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define GETHOSTBYNAME_PROTO_COMPATIBLE 1
++_ACEOF
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking if gethostbyaddr is compatible with system prototype" >&5
++echo $ECHO_N "checking if gethostbyaddr is compatible with system prototype... $ECHO_C" >&6
++if test "${ac_cv_func_gethostbyaddr_proto_compat+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_INET_H
++#include <arpa/inet.h>
++#endif
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct hostent *gethostbyaddr(const void *, size_t, int);
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_gethostbyaddr_proto_compat=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_func_gethostbyaddr_proto_compat=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyaddr_proto_compat" >&5
++echo "${ECHO_T}$ac_cv_func_gethostbyaddr_proto_compat" >&6
++
++if test "$ac_cv_func_gethostbyaddr_proto_compat" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define GETHOSTBYADDR_PROTO_COMPATIBLE 1
++_ACEOF
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking if getservbyname is compatible with system prototype" >&5
++echo $ECHO_N "checking if getservbyname is compatible with system prototype... $ECHO_C" >&6
++if test "${ac_cv_func_getservbyname_proto_compat+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_INET_H
++#include <arpa/inet.h>
++#endif
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct servent *getservbyname(const char *, const char *);
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_getservbyname_proto_compat=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_func_getservbyname_proto_compat=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getservbyname_proto_compat" >&5
++echo "${ECHO_T}$ac_cv_func_getservbyname_proto_compat" >&6
++
++if test "$ac_cv_func_getservbyname_proto_compat" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define GETSERVBYNAME_PROTO_COMPATIBLE 1
++_ACEOF
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking if getsockname is compatible with system prototype" >&5
++echo $ECHO_N "checking if getsockname is compatible with system prototype... $ECHO_C" >&6
++if test "${ac_cv_func_getsockname_proto_compat+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++int getsockname(int, struct sockaddr*, socklen_t*);
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_getsockname_proto_compat=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_func_getsockname_proto_compat=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getsockname_proto_compat" >&5
++echo "${ECHO_T}$ac_cv_func_getsockname_proto_compat" >&6
++
++if test "$ac_cv_func_getsockname_proto_compat" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define GETSOCKNAME_PROTO_COMPATIBLE 1
++_ACEOF
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking if openlog is compatible with system prototype" >&5
++echo $ECHO_N "checking if openlog is compatible with system prototype... $ECHO_C" >&6
++if test "${ac_cv_func_openlog_proto_compat+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef HAVE_SYSLOG_H
++#include <syslog.h>
++#endif
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++void openlog(const char *, int, int);
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_openlog_proto_compat=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_func_openlog_proto_compat=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_openlog_proto_compat" >&5
++echo "${ECHO_T}$ac_cv_func_openlog_proto_compat" >&6
++
++if test "$ac_cv_func_openlog_proto_compat" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define OPENLOG_PROTO_COMPATIBLE 1
++_ACEOF
++
++fi
++
++
++
++
++if test "$ac_cv_func_crypt+set" != set -o "$ac_cv_func_crypt" = yes; then
++echo "$as_me:$LINENO: checking if crypt needs a prototype" >&5
++echo $ECHO_N "checking if crypt needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_crypt_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef HAVE_CRYPT_H
++#include <crypt.h>
++#endif
++#ifdef HAVE_UNISTD_H
++#include <unistd.h>
++#endif
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int crypt (struct foo*);
++crypt(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_crypt_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_func_crypt_noproto=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_crypt_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_crypt_noproto" >&6
++
++if test "$ac_cv_func_crypt_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_CRYPT_PROTO 1
++_ACEOF
++
++fi
++
++fi
++
++
++
++if test "$ac_cv_func_strtok_r+set" != set -o "$ac_cv_func_strtok_r" = yes; then
++echo "$as_me:$LINENO: checking if strtok_r needs a prototype" >&5
++echo $ECHO_N "checking if strtok_r needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_strtok_r_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#include <string.h>
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int strtok_r (struct foo*);
++strtok_r(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_strtok_r_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_func_strtok_r_noproto=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strtok_r_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_strtok_r_noproto" >&6
++
++if test "$ac_cv_func_strtok_r_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_STRTOK_R_PROTO 1
++_ACEOF
++
++fi
++
++fi
++
++
++
++if test "$ac_cv_func_strsep+set" != set -o "$ac_cv_func_strsep" = yes; then
++echo "$as_me:$LINENO: checking if strsep needs a prototype" >&5
++echo $ECHO_N "checking if strsep needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_strsep_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#include <string.h>
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int strsep (struct foo*);
++strsep(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_strsep_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_func_strsep_noproto=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strsep_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_strsep_noproto" >&6
++
++if test "$ac_cv_func_strsep_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_STRSEP_PROTO 1
++_ACEOF
++
++fi
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking for h_errno" >&5
++echo $ECHO_N "checking for h_errno... $ECHO_C" >&6
++if test "${ac_cv_var_h_errno+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++extern int h_errno;
++int foo() { return h_errno; }
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++foo()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_var_h_errno=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_var_h_errno=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++
++fi
++
++ac_foo=`eval echo \\$ac_cv_var_h_errno`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_H_ERRNO 1
++_ACEOF
++
++	
++echo "$as_me:$LINENO: checking if h_errno is properly declared" >&5
++echo $ECHO_N "checking if h_errno is properly declared... $ECHO_C" >&6
++if test "${ac_cv_var_h_errno_declaration+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif
++extern struct { int foo; } h_errno;
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++h_errno.foo = 1;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_var_h_errno_declaration=no"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_var_h_errno_declaration=yes"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var_h_errno_declaration" >&5
++echo "${ECHO_T}$ac_cv_var_h_errno_declaration" >&6
++if eval "test \"\$ac_cv_var_h_errno_declaration\" = yes"; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_H_ERRNO_DECLARATION 1
++_ACEOF
++
++fi
++
++
++fi
++
++
++
++echo "$as_me:$LINENO: checking for h_errlist" >&5
++echo $ECHO_N "checking for h_errlist... $ECHO_C" >&6
++if test "${ac_cv_var_h_errlist+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++extern int h_errlist;
++int foo() { return h_errlist; }
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++foo()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_var_h_errlist=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_var_h_errlist=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++
++fi
++
++ac_foo=`eval echo \\$ac_cv_var_h_errlist`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_H_ERRLIST 1
++_ACEOF
++
++	
++echo "$as_me:$LINENO: checking if h_errlist is properly declared" >&5
++echo $ECHO_N "checking if h_errlist is properly declared... $ECHO_C" >&6
++if test "${ac_cv_var_h_errlist_declaration+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif
++extern struct { int foo; } h_errlist;
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++h_errlist.foo = 1;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_var_h_errlist_declaration=no"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_var_h_errlist_declaration=yes"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var_h_errlist_declaration" >&5
++echo "${ECHO_T}$ac_cv_var_h_errlist_declaration" >&6
++if eval "test \"\$ac_cv_var_h_errlist_declaration\" = yes"; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_H_ERRLIST_DECLARATION 1
++_ACEOF
++
++fi
++
++
++fi
++
++
++
++echo "$as_me:$LINENO: checking for h_nerr" >&5
++echo $ECHO_N "checking for h_nerr... $ECHO_C" >&6
++if test "${ac_cv_var_h_nerr+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++extern int h_nerr;
++int foo() { return h_nerr; }
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++foo()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_var_h_nerr=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_var_h_nerr=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++
++fi
++
++ac_foo=`eval echo \\$ac_cv_var_h_nerr`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_H_NERR 1
++_ACEOF
++
++	
++echo "$as_me:$LINENO: checking if h_nerr is properly declared" >&5
++echo $ECHO_N "checking if h_nerr is properly declared... $ECHO_C" >&6
++if test "${ac_cv_var_h_nerr_declaration+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif
++extern struct { int foo; } h_nerr;
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++h_nerr.foo = 1;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_var_h_nerr_declaration=no"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_var_h_nerr_declaration=yes"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var_h_nerr_declaration" >&5
++echo "${ECHO_T}$ac_cv_var_h_nerr_declaration" >&6
++if eval "test \"\$ac_cv_var_h_nerr_declaration\" = yes"; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_H_NERR_DECLARATION 1
++_ACEOF
++
++fi
++
++
++fi
++
++
++
++echo "$as_me:$LINENO: checking for __progname" >&5
++echo $ECHO_N "checking for __progname... $ECHO_C" >&6
++if test "${ac_cv_var___progname+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++extern int __progname;
++int foo() { return __progname; }
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++foo()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_var___progname=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_var___progname=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++
++fi
++
++ac_foo=`eval echo \\$ac_cv_var___progname`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE___PROGNAME 1
++_ACEOF
++
++	
++echo "$as_me:$LINENO: checking if __progname is properly declared" >&5
++echo $ECHO_N "checking if __progname is properly declared... $ECHO_C" >&6
++if test "${ac_cv_var___progname_declaration+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#ifdef HAVE_ERR_H
++#include <err.h>
++#endif
++extern struct { int foo; } __progname;
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++__progname.foo = 1;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_var___progname_declaration=no"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_var___progname_declaration=yes"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var___progname_declaration" >&5
++echo "${ECHO_T}$ac_cv_var___progname_declaration" >&6
++if eval "test \"\$ac_cv_var___progname_declaration\" = yes"; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE___PROGNAME_DECLARATION 1
++_ACEOF
++
++fi
++
++
++fi
++
++
++
++echo "$as_me:$LINENO: checking if optarg is properly declared" >&5
++echo $ECHO_N "checking if optarg is properly declared... $ECHO_C" >&6
++if test "${ac_cv_var_optarg_declaration+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <stdlib.h>
++#ifdef HAVE_UNISTD_H
++#include <unistd.h>
++#endif
++extern struct { int foo; } optarg;
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++optarg.foo = 1;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_var_optarg_declaration=no"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_var_optarg_declaration=yes"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var_optarg_declaration" >&5
++echo "${ECHO_T}$ac_cv_var_optarg_declaration" >&6
++if eval "test \"\$ac_cv_var_optarg_declaration\" = yes"; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_OPTARG_DECLARATION 1
++_ACEOF
++
++fi
++
++
++
++echo "$as_me:$LINENO: checking if optind is properly declared" >&5
++echo $ECHO_N "checking if optind is properly declared... $ECHO_C" >&6
++if test "${ac_cv_var_optind_declaration+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <stdlib.h>
++#ifdef HAVE_UNISTD_H
++#include <unistd.h>
++#endif
++extern struct { int foo; } optind;
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++optind.foo = 1;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_var_optind_declaration=no"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_var_optind_declaration=yes"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var_optind_declaration" >&5
++echo "${ECHO_T}$ac_cv_var_optind_declaration" >&6
++if eval "test \"\$ac_cv_var_optind_declaration\" = yes"; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_OPTIND_DECLARATION 1
++_ACEOF
++
++fi
++
++
++
++echo "$as_me:$LINENO: checking if opterr is properly declared" >&5
++echo $ECHO_N "checking if opterr is properly declared... $ECHO_C" >&6
++if test "${ac_cv_var_opterr_declaration+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <stdlib.h>
++#ifdef HAVE_UNISTD_H
++#include <unistd.h>
++#endif
++extern struct { int foo; } opterr;
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++opterr.foo = 1;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_var_opterr_declaration=no"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_var_opterr_declaration=yes"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var_opterr_declaration" >&5
++echo "${ECHO_T}$ac_cv_var_opterr_declaration" >&6
++if eval "test \"\$ac_cv_var_opterr_declaration\" = yes"; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_OPTERR_DECLARATION 1
++_ACEOF
++
++fi
++
++
++
++echo "$as_me:$LINENO: checking if optopt is properly declared" >&5
++echo $ECHO_N "checking if optopt is properly declared... $ECHO_C" >&6
++if test "${ac_cv_var_optopt_declaration+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <stdlib.h>
++#ifdef HAVE_UNISTD_H
++#include <unistd.h>
++#endif
++extern struct { int foo; } optopt;
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++optopt.foo = 1;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_var_optopt_declaration=no"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_var_optopt_declaration=yes"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var_optopt_declaration" >&5
++echo "${ECHO_T}$ac_cv_var_optopt_declaration" >&6
++if eval "test \"\$ac_cv_var_optopt_declaration\" = yes"; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_OPTOPT_DECLARATION 1
++_ACEOF
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking if environ is properly declared" >&5
++echo $ECHO_N "checking if environ is properly declared... $ECHO_C" >&6
++if test "${ac_cv_var_environ_declaration+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <stdlib.h>
++extern struct { int foo; } environ;
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++environ.foo = 1;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_var_environ_declaration=no"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_var_environ_declaration=yes"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var_environ_declaration" >&5
++echo "${ECHO_T}$ac_cv_var_environ_declaration" >&6
++if eval "test \"\$ac_cv_var_environ_declaration\" = yes"; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_ENVIRON_DECLARATION 1
++_ACEOF
++
++fi
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
++echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
++if test "${ac_cv_type_struct_tm_tm_gmtoff+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <time.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct tm x; x.tm_gmtoff;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_tm_tm_gmtoff=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_type_struct_tm_tm_gmtoff=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_tm_tm_gmtoff" >&5
++echo "${ECHO_T}$ac_cv_type_struct_tm_tm_gmtoff" >&6
++if test "$ac_cv_type_struct_tm_tm_gmtoff" = yes; then
++	
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_STRUCT_TM_TM_GMTOFF 1
++_ACEOF
++
++	
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking for tm_zone in struct tm" >&5
++echo $ECHO_N "checking for tm_zone in struct tm... $ECHO_C" >&6
++if test "${ac_cv_type_struct_tm_tm_zone+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <time.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct tm x; x.tm_zone;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_tm_tm_zone=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_type_struct_tm_tm_zone=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_tm_tm_zone" >&5
++echo "${ECHO_T}$ac_cv_type_struct_tm_tm_zone" >&6
++if test "$ac_cv_type_struct_tm_tm_zone" = yes; then
++	
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_STRUCT_TM_TM_ZONE 1
++_ACEOF
++
++	
++fi
++
++
++
++
++
++echo "$as_me:$LINENO: checking for timezone" >&5
++echo $ECHO_N "checking for timezone... $ECHO_C" >&6
++if test "${ac_cv_var_timezone+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++extern int timezone;
++int foo() { return timezone; }
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++foo()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_var_timezone=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_var_timezone=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++
++fi
++
++ac_foo=`eval echo \\$ac_cv_var_timezone`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_TIMEZONE 1
++_ACEOF
++
++	
++echo "$as_me:$LINENO: checking if timezone is properly declared" >&5
++echo $ECHO_N "checking if timezone is properly declared... $ECHO_C" >&6
++if test "${ac_cv_var_timezone_declaration+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <time.h>
++extern struct { int foo; } timezone;
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++timezone.foo = 1;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_var_timezone_declaration=no"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_var_timezone_declaration=yes"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var_timezone_declaration" >&5
++echo "${ECHO_T}$ac_cv_var_timezone_declaration" >&6
++if eval "test \"\$ac_cv_var_timezone_declaration\" = yes"; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_TIMEZONE_DECLARATION 1
++_ACEOF
++
++fi
++
++
++fi
++
++
++
++
++cv=`echo "sa_family_t" | sed 'y%./+- %__p__%'`
++echo "$as_me:$LINENO: checking for sa_family_t" >&5
++echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6
++if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <sys/types.h>
++#if STDC_HEADERS
++#include <stdlib.h>
++#include <stddef.h>
++#endif
++#include <sys/socket.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++sa_family_t foo;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_type_$cv=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_type_$cv=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++ac_foo=`eval echo \\$ac_cv_type_$cv`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++  ac_tr_hdr=HAVE_`echo sa_family_t | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
++if false; then
++	echo "$as_me:$LINENO: checking for sa_family_t" >&5
++echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6
++if test "${ac_cv_type_sa_family_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++$ac_includes_default
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++if ((sa_family_t *) 0)
++  return 0;
++if (sizeof (sa_family_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_sa_family_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_type_sa_family_t=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_sa_family_t" >&5
++echo "${ECHO_T}$ac_cv_type_sa_family_t" >&6
++if test $ac_cv_type_sa_family_t = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_SA_FAMILY_T 1
++_ACEOF
++
++
++fi
++
++fi
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_hdr 1
++_ACEOF
++
++fi
++
++
++
++cv=`echo "socklen_t" | sed 'y%./+- %__p__%'`
++echo "$as_me:$LINENO: checking for socklen_t" >&5
++echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
++if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <sys/types.h>
++#if STDC_HEADERS
++#include <stdlib.h>
++#include <stddef.h>
++#endif
++#include <sys/socket.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++socklen_t foo;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_type_$cv=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_type_$cv=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++ac_foo=`eval echo \\$ac_cv_type_$cv`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++  ac_tr_hdr=HAVE_`echo socklen_t | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
++if false; then
++	echo "$as_me:$LINENO: checking for socklen_t" >&5
++echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
++if test "${ac_cv_type_socklen_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++$ac_includes_default
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++if ((socklen_t *) 0)
++  return 0;
++if (sizeof (socklen_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_socklen_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_type_socklen_t=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
++echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
++if test $ac_cv_type_socklen_t = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_SOCKLEN_T 1
++_ACEOF
++
++
++fi
++
++fi
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_hdr 1
++_ACEOF
++
++fi
++
++
++
++cv=`echo "struct sockaddr" | sed 'y%./+- %__p__%'`
++echo "$as_me:$LINENO: checking for struct sockaddr" >&5
++echo $ECHO_N "checking for struct sockaddr... $ECHO_C" >&6
++if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <sys/types.h>
++#if STDC_HEADERS
++#include <stdlib.h>
++#include <stddef.h>
++#endif
++#include <sys/socket.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct sockaddr foo;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_type_$cv=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_type_$cv=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++ac_foo=`eval echo \\$ac_cv_type_$cv`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++  ac_tr_hdr=HAVE_`echo struct sockaddr | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
++if false; then
++	echo "$as_me:$LINENO: checking for struct sockaddr" >&5
++echo $ECHO_N "checking for struct sockaddr... $ECHO_C" >&6
++if test "${ac_cv_type_struct_sockaddr+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++$ac_includes_default
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++if ((struct sockaddr *) 0)
++  return 0;
++if (sizeof (struct sockaddr))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_sockaddr=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_type_struct_sockaddr=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_sockaddr" >&5
++echo "${ECHO_T}$ac_cv_type_struct_sockaddr" >&6
++if test $ac_cv_type_struct_sockaddr = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRUCT_SOCKADDR 1
++_ACEOF
++
++
++fi
++
++fi
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_hdr 1
++_ACEOF
++
++fi
++
++
++
++cv=`echo "struct sockaddr_storage" | sed 'y%./+- %__p__%'`
++echo "$as_me:$LINENO: checking for struct sockaddr_storage" >&5
++echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6
++if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <sys/types.h>
++#if STDC_HEADERS
++#include <stdlib.h>
++#include <stddef.h>
++#endif
++#include <sys/socket.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct sockaddr_storage foo;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_type_$cv=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_type_$cv=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++ac_foo=`eval echo \\$ac_cv_type_$cv`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++  ac_tr_hdr=HAVE_`echo struct sockaddr_storage | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
++if false; then
++	echo "$as_me:$LINENO: checking for struct sockaddr_storage" >&5
++echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6
++if test "${ac_cv_type_struct_sockaddr_storage+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++$ac_includes_default
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++if ((struct sockaddr_storage *) 0)
++  return 0;
++if (sizeof (struct sockaddr_storage))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_sockaddr_storage=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_type_struct_sockaddr_storage=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_sockaddr_storage" >&5
++echo "${ECHO_T}$ac_cv_type_struct_sockaddr_storage" >&6
++if test $ac_cv_type_struct_sockaddr_storage = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRUCT_SOCKADDR_STORAGE 1
++_ACEOF
++
++
++fi
++
++fi
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_hdr 1
++_ACEOF
++
++fi
++
++
++
++cv=`echo "struct addrinfo" | sed 'y%./+- %__p__%'`
++echo "$as_me:$LINENO: checking for struct addrinfo" >&5
++echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6
++if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <sys/types.h>
++#if STDC_HEADERS
++#include <stdlib.h>
++#include <stddef.h>
++#endif
++#include <netdb.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct addrinfo foo;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_type_$cv=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_type_$cv=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++ac_foo=`eval echo \\$ac_cv_type_$cv`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++  ac_tr_hdr=HAVE_`echo struct addrinfo | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
++if false; then
++	echo "$as_me:$LINENO: checking for struct addrinfo" >&5
++echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6
++if test "${ac_cv_type_struct_addrinfo+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++$ac_includes_default
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++if ((struct addrinfo *) 0)
++  return 0;
++if (sizeof (struct addrinfo))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_addrinfo=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_type_struct_addrinfo=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_addrinfo" >&5
++echo "${ECHO_T}$ac_cv_type_struct_addrinfo" >&6
++if test $ac_cv_type_struct_addrinfo = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRUCT_ADDRINFO 1
++_ACEOF
++
++
++fi
++
++fi
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_hdr 1
++_ACEOF
++
++fi
++
++
++
++cv=`echo "struct ifaddrs" | sed 'y%./+- %__p__%'`
++echo "$as_me:$LINENO: checking for struct ifaddrs" >&5
++echo $ECHO_N "checking for struct ifaddrs... $ECHO_C" >&6
++if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <sys/types.h>
++#if STDC_HEADERS
++#include <stdlib.h>
++#include <stddef.h>
++#endif
++#include <ifaddrs.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct ifaddrs foo;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_type_$cv=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_type_$cv=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++ac_foo=`eval echo \\$ac_cv_type_$cv`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++  ac_tr_hdr=HAVE_`echo struct ifaddrs | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
++if false; then
++	echo "$as_me:$LINENO: checking for struct ifaddrs" >&5
++echo $ECHO_N "checking for struct ifaddrs... $ECHO_C" >&6
++if test "${ac_cv_type_struct_ifaddrs+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++$ac_includes_default
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++if ((struct ifaddrs *) 0)
++  return 0;
++if (sizeof (struct ifaddrs))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_ifaddrs=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_type_struct_ifaddrs=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_ifaddrs" >&5
++echo "${ECHO_T}$ac_cv_type_struct_ifaddrs" >&6
++if test $ac_cv_type_struct_ifaddrs = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRUCT_IFADDRS 1
++_ACEOF
++
++
++fi
++
++fi
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_hdr 1
++_ACEOF
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking for struct winsize" >&5
++echo $ECHO_N "checking for struct winsize... $ECHO_C" >&6
++if test "${ac_cv_struct_winsize+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++ac_cv_struct_winsize=no
++for i in sys/termios.h sys/ioctl.h; do
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <$i>
++
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  egrep "struct[ 	]*winsize" >/dev/null 2>&1; then
++  ac_cv_struct_winsize=yes; break
++fi
++rm -f conftest*
++done
++
++fi
++
++if test "$ac_cv_struct_winsize" = "yes"; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_STRUCT_WINSIZE 1
++_ACEOF
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_struct_winsize" >&5
++echo "${ECHO_T}$ac_cv_struct_winsize" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <termios.h>
++
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  egrep "ws_xpixel" >/dev/null 2>&1; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_WS_XPIXEL 1
++_ACEOF
++
++fi
++rm -f conftest*
++
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <termios.h>
++
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  egrep "ws_ypixel" >/dev/null 2>&1; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_WS_YPIXEL 1
++_ACEOF
++
++fi
++rm -f conftest*
++
++
++
++
++
++echo "$as_me:$LINENO: checking for struct spwd" >&5
++echo $ECHO_N "checking for struct spwd... $ECHO_C" >&6
++if test "${ac_cv_struct_spwd+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <pwd.h>
++#ifdef HAVE_SHADOW_H
++#include <shadow.h>
++#endif
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct spwd foo;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_struct_spwd=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_struct_spwd=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++
++fi
++
++echo "$as_me:$LINENO: result: $ac_cv_struct_spwd" >&5
++echo "${ECHO_T}$ac_cv_struct_spwd" >&6
++
++if test "$ac_cv_struct_spwd" = "yes"; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_STRUCT_SPWD 1
++_ACEOF
++
++fi
++
++
++
++LIB_roken="${LIB_roken} \$(LIB_crypt) \$(LIB_dbopen)"
++
++
++fi
++LIB_roken="\$(top_builddir)/lib/vers/libvers.la $LIB_roken"
++
++
++
++# Check whether --with-openldap or --without-openldap was given.
++if test "${with_openldap+set}" = set; then
++  withval="$with_openldap"
++  
++fi; 
++
++# Check whether --with-openldap-lib or --without-openldap-lib was given.
++if test "${with_openldap_lib+set}" = set; then
++  withval="$with_openldap_lib"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-openldap-lib" >&5
++echo "$as_me: error: No argument for --with-openldap-lib" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_openldap" = "X"; then
++  with_openldap=yes
++fi
++fi; 
++
++# Check whether --with-openldap-include or --without-openldap-include was given.
++if test "${with_openldap_include+set}" = set; then
++  withval="$with_openldap_include"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-openldap-include" >&5
++echo "$as_me: error: No argument for --with-openldap-include" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_openldap" = "X"; then
++  with_openldap=yes
++fi
++fi; 
++
++echo "$as_me:$LINENO: checking for openldap" >&5
++echo $ECHO_N "checking for openldap... $ECHO_C" >&6
++
++case "$with_openldap" in
++yes)	;;
++no)	;;
++"")	;;
++*)	if test "$with_openldap_include" = ""; then
++		with_openldap_include="$with_openldap/include"
++	fi
++	if test "$with_openldap_lib" = ""; then
++		with_openldap_lib="$with_openldap/lib$abilibdirext"
++	fi
++	;;
++esac
++header_dirs=
++lib_dirs=
++d=''
++for i in $d /usr; do
++	header_dirs="$header_dirs $i/include"
++	lib_dirs="$lib_dirs $i/lib$abilibdirext"
++done
++
++case "$with_openldap_include" in
++yes) ;;
++no)  ;;
++*)   header_dirs="$with_openldap_include $header_dirs";;
++esac
++case "$with_openldap_lib" in
++yes) ;;
++no)  ;;
++*)   lib_dirs="$with_openldap_lib $lib_dirs";;
++esac
++
++save_CFLAGS="$CFLAGS"
++save_LIBS="$LIBS"
++ires= lres=
++for i in $header_dirs; do
++	CFLAGS="-I$i $save_CFLAGS"
++	cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <lber.h>
++#include <ldap.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ires=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++done
++for i in $lib_dirs; do
++	LIBS="-L$i -lldap -llber  $save_LIBS"
++	cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <lber.h>
++#include <ldap.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  lres=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++done
++CFLAGS="$save_CFLAGS"
++LIBS="$save_LIBS"
++
++if test "$ires" -a "$lres" -a "$with_openldap" != "no"; then
++	openldap_includedir="$ires"
++	openldap_libdir="$lres"
++	DIR_openldap=
++	INCLUDE_openldap="-I$openldap_includedir"
++	LIB_openldap="-L$openldap_libdir -lldap -llber"
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define OPENLDAP 1
++_ACEOF
++
++	with_openldap=yes
++	echo "$as_me:$LINENO: result: headers $ires, libraries $lres" >&5
++echo "${ECHO_T}headers $ires, libraries $lres" >&6
++else
++	DIR_openldap=
++	INCLUDE_openldap=
++	LIB_openldap=
++	with_openldap=no
++	echo "$as_me:$LINENO: result: $with_openldap" >&5
++echo "${ECHO_T}$with_openldap" >&6
++fi
++
++
++
++
++
++if test "$openldap_libdir"; then
++	LIB_openldap="-R $openldap_libdir $LIB_openldap"
++fi
++
++
++
++# Check whether --with-krb4 or --without-krb4 was given.
++if test "${with_krb4+set}" = set; then
++  withval="$with_krb4"
++  
++fi; 
++
++# Check whether --with-krb4-lib or --without-krb4-lib was given.
++if test "${with_krb4_lib+set}" = set; then
++  withval="$with_krb4_lib"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-krb4-lib" >&5
++echo "$as_me: error: No argument for --with-krb4-lib" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_krb4" = "X"; then
++  with_krb4=yes
++fi
++fi; 
++
++# Check whether --with-krb4-include or --without-krb4-include was given.
++if test "${with_krb4_include+set}" = set; then
++  withval="$with_krb4_include"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-krb4-include" >&5
++echo "$as_me: error: No argument for --with-krb4-include" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_krb4" = "X"; then
++  with_krb4=yes
++fi
++fi; 
++
++echo "$as_me:$LINENO: checking for krb4" >&5
++echo $ECHO_N "checking for krb4... $ECHO_C" >&6
++
++case "$with_krb4" in
++yes)	;;
++no)	;;
++"")	;;
++*)	if test "$with_krb4_include" = ""; then
++		with_krb4_include="$with_krb4/include"
++	fi
++	if test "$with_krb4_lib" = ""; then
++		with_krb4_lib="$with_krb4/lib$abilibdirext"
++	fi
++	;;
++esac
++header_dirs=
++lib_dirs=
++d=''
++for i in $d /usr; do
++	header_dirs="$header_dirs $i/include"
++	lib_dirs="$lib_dirs $i/lib$abilibdirext"
++done
++
++case "$with_krb4_include" in
++yes) ;;
++no)  ;;
++*)   header_dirs="$with_krb4_include $header_dirs";;
++esac
++case "$with_krb4_lib" in
++yes) ;;
++no)  ;;
++*)   lib_dirs="$with_krb4_lib $lib_dirs";;
++esac
++
++save_CFLAGS="$CFLAGS"
++save_LIBS="$LIBS"
++ires= lres=
++for i in $header_dirs; do
++	CFLAGS="-I$i $save_CFLAGS"
++	cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <krb.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ires=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++done
++for i in $lib_dirs; do
++	LIBS="-L$i -lkrb  $save_LIBS"
++	cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <krb.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  lres=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++done
++CFLAGS="$save_CFLAGS"
++LIBS="$save_LIBS"
++
++if test "$ires" -a "$lres" -a "$with_krb4" != "no"; then
++	krb4_includedir="$ires"
++	krb4_libdir="$lres"
++	DIR_krb4=
++	INCLUDE_krb4="-I$krb4_includedir"
++	LIB_krb4="-L$krb4_libdir -lkrb"
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define KRB4 1
++_ACEOF
++
++	with_krb4=yes
++	echo "$as_me:$LINENO: result: headers $ires, libraries $lres" >&5
++echo "${ECHO_T}headers $ires, libraries $lres" >&6
++else
++	DIR_krb4=
++	INCLUDE_krb4=
++	LIB_krb4=
++	with_krb4=no
++	echo "$as_me:$LINENO: result: $with_krb4" >&5
++echo "${ECHO_T}$with_krb4" >&6
++fi
++
++
++
++
++if test "$krb4_libdir" = "/usr/lib"; then
++  krb4_libdir="";
++fi
++
++LIB_kdb=
++if test "$with_krb4" != "no"; then
++	save_CFLAGS="$CFLAGS"
++	CFLAGS="$CFLAGS $INCLUDE_krb4"
++	save_LIBS="$LIBS"
++	LIBS="$LIB_krb4 $LIBS"
++	EXTRA_LIB45=lib45.a
++	
++	echo "$as_me:$LINENO: checking for four valued krb_put_int" >&5
++echo $ECHO_N "checking for four valued krb_put_int... $ECHO_C" >&6
++if test "${ac_cv_func_krb_put_int_four+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <krb.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++		char tmp[4];
++		krb_put_int(17, tmp, 4, sizeof(tmp));
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_krb_put_int_four=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_krb_put_int_four=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++	
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_krb_put_int_four" >&5
++echo "${ECHO_T}$ac_cv_func_krb_put_int_four" >&6
++	if test "$ac_cv_func_krb_put_int_four" = yes; then
++		
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_FOUR_VALUED_KRB_PUT_INT 1
++_ACEOF
++
++	fi
++	
++
++	echo "$as_me:$LINENO: checking for KRB_VERIFY_SECURE" >&5
++echo $ECHO_N "checking for KRB_VERIFY_SECURE... $ECHO_C" >&6
++if test "${ac_cv_func_krb_verify_secure+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <krb.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++		int x = KRB_VERIFY_SECURE
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_krb_verify_secure=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_krb_verify_secure=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++	
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_krb_verify_secure" >&5
++echo "${ECHO_T}$ac_cv_func_krb_verify_secure" >&6
++	if test "$ac_cv_func_krb_verify_secure" != yes; then
++		
++cat >>confdefs.h <<\_ACEOF
++@%:@define KRB_VERIFY_SECURE 1
++_ACEOF
++
++		
++cat >>confdefs.h <<\_ACEOF
++@%:@define KRB_VERIFY_SECURE_FAIL 2
++_ACEOF
++
++	fi
++	echo "$as_me:$LINENO: checking for KRB_VERIFY_NOT_SECURE" >&5
++echo $ECHO_N "checking for KRB_VERIFY_NOT_SECURE... $ECHO_C" >&6
++if test "${ac_cv_func_krb_verify_not_secure+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <krb.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++		int x = KRB_VERIFY_NOT_SECURE
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_krb_verify_not_secure=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_krb_verify_not_secure=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++	
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_krb_verify_not_secure" >&5
++echo "${ECHO_T}$ac_cv_func_krb_verify_not_secure" >&6
++	if test "$ac_cv_func_krb_verify_not_secure" != yes; then
++		
++cat >>confdefs.h <<\_ACEOF
++@%:@define KRB_VERIFY_NOT_SECURE 0
++_ACEOF
++
++	fi
++	
++
++
++
++echo "$as_me:$LINENO: checking for krb_enable_debug" >&5
++echo $ECHO_N "checking for krb_enable_debug... $ECHO_C" >&6
++if test "${ac_cv_funclib_krb_enable_debug+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_krb_enable_debug\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++krb_enable_debug()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_krb_enable_debug=$ac_lib; else ac_cv_funclib_krb_enable_debug=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_krb_enable_debug=\${ac_cv_funclib_krb_enable_debug-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_krb_enable_debug"
++
++if false; then
++	
++for ac_func in krb_enable_debug
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# krb_enable_debug
++eval "ac_tr_func=HAVE_`echo krb_enable_debug | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_krb_enable_debug=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_krb_enable_debug=yes"
++	eval "LIB_krb_enable_debug="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_krb_enable_debug=no"
++	eval "LIB_krb_enable_debug="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_krb_enable_debug=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_krb_enable_debug"; then
++	LIBS="$LIB_krb_enable_debug $LIBS"
++fi
++
++	
++
++
++
++echo "$as_me:$LINENO: checking for krb_disable_debug" >&5
++echo $ECHO_N "checking for krb_disable_debug... $ECHO_C" >&6
++if test "${ac_cv_funclib_krb_disable_debug+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_krb_disable_debug\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++krb_disable_debug()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_krb_disable_debug=$ac_lib; else ac_cv_funclib_krb_disable_debug=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_krb_disable_debug=\${ac_cv_funclib_krb_disable_debug-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_krb_disable_debug"
++
++if false; then
++	
++for ac_func in krb_disable_debug
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# krb_disable_debug
++eval "ac_tr_func=HAVE_`echo krb_disable_debug | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_krb_disable_debug=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_krb_disable_debug=yes"
++	eval "LIB_krb_disable_debug="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_krb_disable_debug=no"
++	eval "LIB_krb_disable_debug="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_krb_disable_debug=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_krb_disable_debug"; then
++	LIBS="$LIB_krb_disable_debug $LIBS"
++fi
++
++	
++
++
++
++echo "$as_me:$LINENO: checking for krb_get_our_ip_for_realm" >&5
++echo $ECHO_N "checking for krb_get_our_ip_for_realm... $ECHO_C" >&6
++if test "${ac_cv_funclib_krb_get_our_ip_for_realm+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_krb_get_our_ip_for_realm\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++krb_get_our_ip_for_realm()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_krb_get_our_ip_for_realm=$ac_lib; else ac_cv_funclib_krb_get_our_ip_for_realm=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_krb_get_our_ip_for_realm=\${ac_cv_funclib_krb_get_our_ip_for_realm-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_krb_get_our_ip_for_realm"
++
++if false; then
++	
++for ac_func in krb_get_our_ip_for_realm
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# krb_get_our_ip_for_realm
++eval "ac_tr_func=HAVE_`echo krb_get_our_ip_for_realm | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_krb_get_our_ip_for_realm=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_krb_get_our_ip_for_realm=yes"
++	eval "LIB_krb_get_our_ip_for_realm="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_krb_get_our_ip_for_realm=no"
++	eval "LIB_krb_get_our_ip_for_realm="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_krb_get_our_ip_for_realm=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_krb_get_our_ip_for_realm"; then
++	LIBS="$LIB_krb_get_our_ip_for_realm $LIBS"
++fi
++
++	echo "$as_me:$LINENO: checking for krb_mk_req with const arguments" >&5
++echo $ECHO_N "checking for krb_mk_req with const arguments... $ECHO_C" >&6
++if test "${ac_cv_func_krb_mk_req_const+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <krb.h>
++		int krb_mk_req(KTEXT a, const char *s, const char *i,
++			       const char *r, int32_t checksum)
++		{ return 17; }
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_krb_mk_req_const=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_krb_mk_req_const=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++	
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_krb_mk_req_const" >&5
++echo "${ECHO_T}$ac_cv_func_krb_mk_req_const" >&6
++	if test "$ac_cv_func_krb_mk_req_const" = "yes"; then
++		
++cat >>confdefs.h <<\_ACEOF
++@%:@define KRB_MK_REQ_CONST 1
++_ACEOF
++
++	fi
++
++	LIBS="$save_LIBS"
++	CFLAGS="$save_CFLAGS"
++	LIB_kdb="-lkdb -lkrb"
++	if test "$krb4_libdir" != ""; then
++		LIB_krb4="-R $krb4_libdir $LIB_krb4"
++		LIB_kdb="-R $krb4_libdir -L$krb4_libdir $LIB_kdb"
++	fi
++fi
++
++
++if test "$with_krb4" != "no"; then
++  KRB4_TRUE=
++  KRB4_FALSE='#'
++else
++  KRB4_TRUE='#'
++  KRB4_FALSE=
++fi
++
++
++if true; then
++  KRB5_TRUE=
++  KRB5_FALSE='#'
++else
++  KRB5_TRUE='#'
++  KRB5_FALSE=
++fi
++
++
++if true; then
++  do_roken_rename_TRUE=
++  do_roken_rename_FALSE='#'
++else
++  do_roken_rename_TRUE='#'
++  do_roken_rename_FALSE=
++fi
++
++
++cat >>confdefs.h <<\_ACEOF
++@%:@define KRB5 1
++_ACEOF
++
++# Check whether --enable-dce or --disable-dce was given.
++if test "${enable_dce+set}" = set; then
++  enableval="$enable_dce"
++  
++fi; 
++if test "$enable_dce" = yes; then
++    
++cat >>confdefs.h <<\_ACEOF
++@%:@define DCE 1
++_ACEOF
++
++fi
++
++
++if test "$enable_dce" = yes; then
++  DCE_TRUE=
++  DCE_FALSE='#'
++else
++  DCE_TRUE='#'
++  DCE_FALSE=
++fi
++
++## XXX quite horrible:
++if test -f /etc/ibmcxx.cfg; then
++	dpagaix_LDADD=`sed -n '/^xlc_r4/,/^$/p' /etc/ibmcxx.cfg | sed -n -e '/libraries/{;s/^[^=]*=\(.*\)/\1/;s/,/ /gp;}'`
++	dpagaix_CFLAGS=`sed -n '/^xlc_r4/,/^$/p' /etc/ibmcxx.cfg | sed -n -e '/options/{;s/^[^=]*=\(.*\)/\1/;s/-q^,*//;s/,/ /gp;}'`
++else
++	dpagaix_CFLAGS="-D_THREAD_SAFE -D_AIX_PTHREADS_D7 -D_AIX32_THREADS=1 -D_AES_SOURCE -D_AIX41 -I/usr/include/dce"
++	dpagaix_LDADD="-L/usr/lib/threads -ldcelibc_r -ldcepthreads -lpthreads_compat lpthreads -lc_r"
++	dpagaix_LDFLAGS="-Wl,-bI:dfspag.exp"
++fi
++
++
++
++otp=yes
++# Check whether --enable-otp or --disable-otp was given.
++if test "${enable_otp+set}" = set; then
++  enableval="$enable_otp"
++  
++if test "$enableval" = "no"; then
++	otp=no
++fi
++
++fi; 
++if test "$otp" = "yes"; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define OTP 1
++_ACEOF
++
++	LIB_otp='$(top_builddir)/lib/otp/libotp.la'
++fi
++
++
++
++if test "$otp" = yes; then
++  OTP_TRUE=
++  OTP_FALSE='#'
++else
++  OTP_TRUE='#'
++  OTP_FALSE=
++fi
++
++# Check whether --enable-osfc2 or --disable-osfc2 was given.
++if test "${enable_osfc2+set}" = set; then
++  enableval="$enable_osfc2"
++  
++fi; 
++LIB_security=
++if test "$enable_osfc2" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_OSFC2 1
++_ACEOF
++
++	LIB_security=-lsecurity
++fi
++
++
++
++# Extract the first word of "nroff", so it can be a program name with args.
++set dummy nroff; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_path_NROFF+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  case $NROFF in
++  [\\/]* | ?:[\\/]*)
++  ac_cv_path_NROFF="$NROFF" # Let the user override the test with a path.
++  ;;
++  *)
++  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_path_NROFF="$as_dir/$ac_word$ac_exec_ext"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++  ;;
++esac
++fi
++NROFF=$ac_cv_path_NROFF
++
++if test -n "$NROFF"; then
++  echo "$as_me:$LINENO: result: $NROFF" >&5
++echo "${ECHO_T}$NROFF" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++# Extract the first word of "groff", so it can be a program name with args.
++set dummy groff; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_path_GROFF+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  case $GROFF in
++  [\\/]* | ?:[\\/]*)
++  ac_cv_path_GROFF="$GROFF" # Let the user override the test with a path.
++  ;;
++  *)
++  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_path_GROFF="$as_dir/$ac_word$ac_exec_ext"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++  ;;
++esac
++fi
++GROFF=$ac_cv_path_GROFF
++
++if test -n "$GROFF"; then
++  echo "$as_me:$LINENO: result: $GROFF" >&5
++echo "${ECHO_T}$GROFF" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++echo "$as_me:$LINENO: checking how to format man pages" >&5
++echo $ECHO_N "checking how to format man pages... $ECHO_C" >&6
++if test "${ac_cv_sys_man_format+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat > conftest.1 << END
++.Dd January 1, 1970
++.Dt CONFTEST 1
++.Sh NAME
++.Nm conftest
++.Nd
++foobar
++END
++
++if test "$NROFF" ; then
++	for i in "-mdoc" "-mandoc"; do
++		if "$NROFF" $i conftest.1 2> /dev/null | \
++			grep Jan > /dev/null 2>&1 ; then
++			ac_cv_sys_man_format="$NROFF $i"
++			break
++		fi
++	done
++fi
++if test "$ac_cv_sys_man_format" = "" -a "$GROFF" ; then
++	for i in "-mdoc" "-mandoc"; do
++		if "$GROFF" -Tascii $i conftest.1 2> /dev/null | \
++			grep Jan > /dev/null 2>&1 ; then
++			ac_cv_sys_man_format="$GROFF -Tascii $i"
++			break
++		fi
++	done
++fi
++if test "$ac_cv_sys_man_format"; then
++	ac_cv_sys_man_format="$ac_cv_sys_man_format \$< > \$@"
++fi
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_sys_man_format" >&5
++echo "${ECHO_T}$ac_cv_sys_man_format" >&6
++if test "$ac_cv_sys_man_format"; then
++	CATMAN="$ac_cv_sys_man_format"
++	
++fi
++
++
++if test "$CATMAN"; then
++  CATMAN_TRUE=
++  CATMAN_FALSE='#'
++else
++  CATMAN_TRUE='#'
++  CATMAN_FALSE=
++fi
++echo "$as_me:$LINENO: checking extension of pre-formatted manual pages" >&5
++echo $ECHO_N "checking extension of pre-formatted manual pages... $ECHO_C" >&6
++if test "${ac_cv_sys_catman_ext+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if grep _suffix /etc/man.conf > /dev/null 2>&1; then
++	ac_cv_sys_catman_ext=0
++else
++	ac_cv_sys_catman_ext=number
++fi
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_sys_catman_ext" >&5
++echo "${ECHO_T}$ac_cv_sys_catman_ext" >&6
++if test "$ac_cv_sys_catman_ext" = number; then
++	CATMANEXT='$$section'
++else
++	CATMANEXT=0
++fi
++
++
++
++
++
++# Check whether --with-readline or --without-readline was given.
++if test "${with_readline+set}" = set; then
++  withval="$with_readline"
++  
++fi; 
++
++# Check whether --with-readline-lib or --without-readline-lib was given.
++if test "${with_readline_lib+set}" = set; then
++  withval="$with_readline_lib"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-readline-lib" >&5
++echo "$as_me: error: No argument for --with-readline-lib" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_readline" = "X"; then
++  with_readline=yes
++fi
++fi; 
++
++# Check whether --with-readline-include or --without-readline-include was given.
++if test "${with_readline_include+set}" = set; then
++  withval="$with_readline_include"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-readline-include" >&5
++echo "$as_me: error: No argument for --with-readline-include" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_readline" = "X"; then
++  with_readline=yes
++fi
++fi; 
++
++echo "$as_me:$LINENO: checking for readline" >&5
++echo $ECHO_N "checking for readline... $ECHO_C" >&6
++
++case "$with_readline" in
++yes)	;;
++no)	;;
++"")	;;
++*)	if test "$with_readline_include" = ""; then
++		with_readline_include="$with_readline/include"
++	fi
++	if test "$with_readline_lib" = ""; then
++		with_readline_lib="$with_readline/lib$abilibdirext"
++	fi
++	;;
++esac
++header_dirs=
++lib_dirs=
++d=''
++for i in $d /usr; do
++	header_dirs="$header_dirs $i/include"
++	lib_dirs="$lib_dirs $i/lib$abilibdirext"
++done
++
++case "$with_readline_include" in
++yes) ;;
++no)  ;;
++*)   header_dirs="$with_readline_include $header_dirs";;
++esac
++case "$with_readline_lib" in
++yes) ;;
++no)  ;;
++*)   lib_dirs="$with_readline_lib $lib_dirs";;
++esac
++
++save_CFLAGS="$CFLAGS"
++save_LIBS="$LIBS"
++ires= lres=
++for i in $header_dirs; do
++	CFLAGS="-I$i $save_CFLAGS"
++	cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <stdio.h>
++ #include <readline.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ires=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++done
++for i in $lib_dirs; do
++	LIBS="-L$i -lreadline  $save_LIBS"
++	cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <stdio.h>
++ #include <readline.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  lres=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++done
++CFLAGS="$save_CFLAGS"
++LIBS="$save_LIBS"
++
++if test "$ires" -a "$lres" -a "$with_readline" != "no"; then
++	readline_includedir="$ires"
++	readline_libdir="$lres"
++	DIR_readline=
++	INCLUDE_readline="-I$readline_includedir"
++	LIB_readline="-L$readline_libdir -lreadline"
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define READLINE 1
++_ACEOF
++
++	with_readline=yes
++	echo "$as_me:$LINENO: result: headers $ires, libraries $lres" >&5
++echo "${ECHO_T}headers $ires, libraries $lres" >&6
++else
++	DIR_readline=
++	INCLUDE_readline=
++	LIB_readline=
++	with_readline=no
++	echo "$as_me:$LINENO: result: $with_readline" >&5
++echo "${ECHO_T}$with_readline" >&6
++fi
++
++
++
++
++
++
++
++# Check whether --with-hesiod or --without-hesiod was given.
++if test "${with_hesiod+set}" = set; then
++  withval="$with_hesiod"
++  
++fi; 
++
++# Check whether --with-hesiod-lib or --without-hesiod-lib was given.
++if test "${with_hesiod_lib+set}" = set; then
++  withval="$with_hesiod_lib"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-hesiod-lib" >&5
++echo "$as_me: error: No argument for --with-hesiod-lib" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_hesiod" = "X"; then
++  with_hesiod=yes
++fi
++fi; 
++
++# Check whether --with-hesiod-include or --without-hesiod-include was given.
++if test "${with_hesiod_include+set}" = set; then
++  withval="$with_hesiod_include"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-hesiod-include" >&5
++echo "$as_me: error: No argument for --with-hesiod-include" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_hesiod" = "X"; then
++  with_hesiod=yes
++fi
++fi; 
++
++echo "$as_me:$LINENO: checking for hesiod" >&5
++echo $ECHO_N "checking for hesiod... $ECHO_C" >&6
++
++case "$with_hesiod" in
++yes)	;;
++no)	;;
++"")	;;
++*)	if test "$with_hesiod_include" = ""; then
++		with_hesiod_include="$with_hesiod/include"
++	fi
++	if test "$with_hesiod_lib" = ""; then
++		with_hesiod_lib="$with_hesiod/lib$abilibdirext"
++	fi
++	;;
++esac
++header_dirs=
++lib_dirs=
++d=''
++for i in $d /usr; do
++	header_dirs="$header_dirs $i/include"
++	lib_dirs="$lib_dirs $i/lib$abilibdirext"
++done
++
++case "$with_hesiod_include" in
++yes) ;;
++no)  ;;
++*)   header_dirs="$with_hesiod_include $header_dirs";;
++esac
++case "$with_hesiod_lib" in
++yes) ;;
++no)  ;;
++*)   lib_dirs="$with_hesiod_lib $lib_dirs";;
++esac
++
++save_CFLAGS="$CFLAGS"
++save_LIBS="$LIBS"
++ires= lres=
++for i in $header_dirs; do
++	CFLAGS="-I$i $save_CFLAGS"
++	cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <hesiod.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ires=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++done
++for i in $lib_dirs; do
++	LIBS="-L$i -lhesiod  $save_LIBS"
++	cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <hesiod.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  lres=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++done
++CFLAGS="$save_CFLAGS"
++LIBS="$save_LIBS"
++
++if test "$ires" -a "$lres" -a "$with_hesiod" != "no"; then
++	hesiod_includedir="$ires"
++	hesiod_libdir="$lres"
++	DIR_hesiod=
++	INCLUDE_hesiod="-I$hesiod_includedir"
++	LIB_hesiod="-L$hesiod_libdir -lhesiod"
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define HESIOD 1
++_ACEOF
++
++	with_hesiod=yes
++	echo "$as_me:$LINENO: result: headers $ires, libraries $lres" >&5
++echo "${ECHO_T}headers $ires, libraries $lres" >&6
++else
++	DIR_hesiod=
++	INCLUDE_hesiod=
++	LIB_hesiod=
++	with_hesiod=no
++	echo "$as_me:$LINENO: result: $with_hesiod" >&5
++echo "${ECHO_T}$with_hesiod" >&6
++fi
++
++
++
++
++
++
++
++# Check whether --with-sl or --without-sl was given.
++if test "${with_sl+set}" = set; then
++  withval="$with_sl"
++  
++fi; 
++
++# Check whether --with-sl-lib or --without-sl-lib was given.
++if test "${with_sl_lib+set}" = set; then
++  withval="$with_sl_lib"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-sl-lib" >&5
++echo "$as_me: error: No argument for --with-sl-lib" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_sl" = "X"; then
++  with_sl=yes
++fi
++fi; 
++
++# Check whether --with-sl-include or --without-sl-include was given.
++if test "${with_sl_include+set}" = set; then
++  withval="$with_sl_include"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-sl-include" >&5
++echo "$as_me: error: No argument for --with-sl-include" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_sl" = "X"; then
++  with_sl=yes
++fi
++fi; 
++
++echo "$as_me:$LINENO: checking for sl" >&5
++echo $ECHO_N "checking for sl... $ECHO_C" >&6
++
++case "$with_sl" in
++yes)	;;
++no)	;;
++"")	;;
++*)	if test "$with_sl_include" = ""; then
++		with_sl_include="$with_sl/include"
++	fi
++	if test "$with_sl_lib" = ""; then
++		with_sl_lib="$with_sl/lib$abilibdirext"
++	fi
++	;;
++esac
++header_dirs=
++lib_dirs=
++d=''
++for i in $d /usr; do
++	header_dirs="$header_dirs $i/include"
++	lib_dirs="$lib_dirs $i/lib$abilibdirext"
++done
++
++case "$with_sl_include" in
++yes) ;;
++no)  ;;
++*)   header_dirs="$with_sl_include $header_dirs";;
++esac
++case "$with_sl_lib" in
++yes) ;;
++no)  ;;
++*)   lib_dirs="$with_sl_lib $lib_dirs";;
++esac
++
++save_CFLAGS="$CFLAGS"
++save_LIBS="$LIBS"
++ires= lres=
++for i in $header_dirs; do
++	CFLAGS="-I$i $save_CFLAGS"
++	cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ires=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++done
++for i in $lib_dirs; do
++	LIBS="-L$i -lsl  $save_LIBS"
++	cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  lres=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++done
++CFLAGS="$save_CFLAGS"
++LIBS="$save_LIBS"
++
++if test "$ires" -a "$lres" -a "$with_sl" != "no"; then
++	sl_includedir="$ires"
++	sl_libdir="$lres"
++	DIR_sl=
++	INCLUDE_sl="-I$sl_includedir"
++	LIB_sl="-L$sl_libdir -lsl"
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define SL 1
++_ACEOF
++
++	with_sl=yes
++	echo "$as_me:$LINENO: result: headers $ires, libraries $lres" >&5
++echo "${ECHO_T}headers $ires, libraries $lres" >&6
++else
++	DIR_sl=
++	INCLUDE_sl=
++	LIB_sl=
++	with_sl=no
++	echo "$as_me:$LINENO: result: $with_sl" >&5
++echo "${ECHO_T}$with_sl" >&6
++fi
++
++
++
++
++if ! test "$with_sl" = yes; then
++	DIR_sl="sl"
++	LIB_sl='$(top_builddir)/lib/sl/libsl.la'
++fi
++
++
++# Check whether --with-ss or --without-ss was given.
++if test "${with_ss+set}" = set; then
++  withval="$with_ss"
++  
++fi; 
++
++# Check whether --with-ss-lib or --without-ss-lib was given.
++if test "${with_ss_lib+set}" = set; then
++  withval="$with_ss_lib"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-ss-lib" >&5
++echo "$as_me: error: No argument for --with-ss-lib" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_ss" = "X"; then
++  with_ss=yes
++fi
++fi; 
++
++# Check whether --with-ss-include or --without-ss-include was given.
++if test "${with_ss_include+set}" = set; then
++  withval="$with_ss_include"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-ss-include" >&5
++echo "$as_me: error: No argument for --with-ss-include" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_ss" = "X"; then
++  with_ss=yes
++fi
++fi; 
++
++echo "$as_me:$LINENO: checking for ss" >&5
++echo $ECHO_N "checking for ss... $ECHO_C" >&6
++
++case "$with_ss" in
++yes)	;;
++no)	;;
++"")	;;
++*)	if test "$with_ss_include" = ""; then
++		with_ss_include="$with_ss/include"
++	fi
++	if test "$with_ss_lib" = ""; then
++		with_ss_lib="$with_ss/lib$abilibdirext"
++	fi
++	;;
++esac
++header_dirs=
++lib_dirs=
++d=''
++for i in $d /usr; do
++	header_dirs="$header_dirs $i/include"
++	lib_dirs="$lib_dirs $i/lib$abilibdirext"
++done
++
++case "$with_ss_include" in
++yes) ;;
++no)  ;;
++*)   header_dirs="$with_ss_include $header_dirs";;
++esac
++case "$with_ss_lib" in
++yes) ;;
++no)  ;;
++*)   lib_dirs="$with_ss_lib $lib_dirs";;
++esac
++
++save_CFLAGS="$CFLAGS"
++save_LIBS="$LIBS"
++ires= lres=
++for i in $header_dirs; do
++	CFLAGS="-I$i $save_CFLAGS"
++	cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ires=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++done
++for i in $lib_dirs; do
++	LIBS="-L$i -lss  $save_LIBS"
++	cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  lres=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++done
++CFLAGS="$save_CFLAGS"
++LIBS="$save_LIBS"
++
++if test "$ires" -a "$lres" -a "$with_ss" != "no"; then
++	ss_includedir="$ires"
++	ss_libdir="$lres"
++	DIR_ss=
++	INCLUDE_ss="-I$ss_includedir"
++	LIB_ss="-L$ss_libdir -lss"
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define SS 1
++_ACEOF
++
++	with_ss=yes
++	echo "$as_me:$LINENO: result: headers $ires, libraries $lres" >&5
++echo "${ECHO_T}headers $ires, libraries $lres" >&6
++else
++	DIR_ss=
++	INCLUDE_ss=
++	LIB_ss=
++	with_ss=no
++	echo "$as_me:$LINENO: result: $with_ss" >&5
++echo "${ECHO_T}$with_ss" >&6
++fi
++
++
++
++
++if ! test "$with_sl" = yes; then
++	DIR_sl="sl"
++	LIB_sl='$(top_builddir)/lib/sl/libsl.la'
++	DIR_ss=""
++	LIB_ss='$(top_builddir)/lib/sl/libss.la'
++fi
++if test "$otp" = "yes"; then
++  
++
++# Check whether --with-otp or --without-otp was given.
++if test "${with_otp+set}" = set; then
++  withval="$with_otp"
++  
++fi; 
++
++# Check whether --with-otp-lib or --without-otp-lib was given.
++if test "${with_otp_lib+set}" = set; then
++  withval="$with_otp_lib"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-otp-lib" >&5
++echo "$as_me: error: No argument for --with-otp-lib" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_otp" = "X"; then
++  with_otp=yes
++fi
++fi; 
++
++# Check whether --with-otp-include or --without-otp-include was given.
++if test "${with_otp_include+set}" = set; then
++  withval="$with_otp_include"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-otp-include" >&5
++echo "$as_me: error: No argument for --with-otp-include" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_otp" = "X"; then
++  with_otp=yes
++fi
++fi; 
++
++echo "$as_me:$LINENO: checking for otp" >&5
++echo $ECHO_N "checking for otp... $ECHO_C" >&6
++
++case "$with_otp" in
++yes)	;;
++no)	;;
++"")	;;
++*)	if test "$with_otp_include" = ""; then
++		with_otp_include="$with_otp/include"
++	fi
++	if test "$with_otp_lib" = ""; then
++		with_otp_lib="$with_otp/lib$abilibdirext"
++	fi
++	;;
++esac
++header_dirs=
++lib_dirs=
++d=''
++for i in $d /usr; do
++	header_dirs="$header_dirs $i/include"
++	lib_dirs="$lib_dirs $i/lib$abilibdirext"
++done
++
++case "$with_otp_include" in
++yes) ;;
++no)  ;;
++*)   header_dirs="$with_otp_include $header_dirs";;
++esac
++case "$with_otp_lib" in
++yes) ;;
++no)  ;;
++*)   lib_dirs="$with_otp_lib $lib_dirs";;
++esac
++
++save_CFLAGS="$CFLAGS"
++save_LIBS="$LIBS"
++ires= lres=
++for i in $header_dirs; do
++	CFLAGS="-I$i $save_CFLAGS"
++	cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ires=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++done
++for i in $lib_dirs; do
++	LIBS="-L$i -lotp  $save_LIBS"
++	cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  lres=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++done
++CFLAGS="$save_CFLAGS"
++LIBS="$save_LIBS"
++
++if test "$ires" -a "$lres" -a "$with_otp" != "no"; then
++	otp_includedir="$ires"
++	otp_libdir="$lres"
++	DIR_otp=
++	INCLUDE_otp="-I$otp_includedir"
++	LIB_otp="-L$otp_libdir -lotp"
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define OTP 1
++_ACEOF
++
++	with_otp=yes
++	echo "$as_me:$LINENO: result: headers $ires, libraries $lres" >&5
++echo "${ECHO_T}headers $ires, libraries $lres" >&6
++else
++	DIR_otp=
++	INCLUDE_otp=
++	LIB_otp=
++	with_otp=no
++	echo "$as_me:$LINENO: result: $with_otp" >&5
++echo "${ECHO_T}$with_otp" >&6
++fi
++
++
++
++
++  if ! test "$with_otp" = yes; then
++	DIR_otp="otp"
++	LIB_otp='$(top_builddir)/lib/otp/libotp.la'
++  fi
++fi
++
++
++# Check whether --enable-bigendian or --disable-bigendian was given.
++if test "${enable_bigendian+set}" = set; then
++  enableval="$enable_bigendian"
++  krb_cv_c_bigendian=yes
++fi; 
++# Check whether --enable-littleendian or --disable-littleendian was given.
++if test "${enable_littleendian+set}" = set; then
++  enableval="$enable_littleendian"
++  krb_cv_c_bigendian=no
++fi; 
++echo "$as_me:$LINENO: checking whether byte order is known at compile time" >&5
++echo $ECHO_N "checking whether byte order is known at compile time... $ECHO_C" >&6
++if test "${krb_cv_c_bigendian_compile+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#include <sys/types.h>
++#include <sys/param.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
++ bogus endian macros
++#endif
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  krb_cv_c_bigendian_compile=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++krb_cv_c_bigendian_compile=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $krb_cv_c_bigendian_compile" >&5
++echo "${ECHO_T}$krb_cv_c_bigendian_compile" >&6
++echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
++echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
++if test "${krb_cv_c_bigendian+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++  if test "$krb_cv_c_bigendian_compile" = "yes"; then
++    cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#include <sys/types.h>
++#include <sys/param.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++#if BYTE_ORDER != BIG_ENDIAN
++  not big endian
++#endif
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  krb_cv_c_bigendian=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++krb_cv_c_bigendian=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++  else
++    if test "$cross_compiling" = yes; then
++  { { echo "$as_me:$LINENO: error: specify either --enable-bigendian or --enable-littleendian" >&5
++echo "$as_me: error: specify either --enable-bigendian or --enable-littleendian" >&2;}
++   { (exit 1); exit 1; }; }
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++main () {
++      /* Are we little or big endian?  From Harbison&Steele.  */
++      union
++      {
++	long l;
++	char c[sizeof (long)];
++    } u;
++    u.l = 1;
++    exit (u.c[sizeof (long) - 1] == 1);
++  }
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  krb_cv_c_bigendian=no
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++( exit $ac_status )
++krb_cv_c_bigendian=yes
++fi
++rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++  fi
++
++fi
++echo "$as_me:$LINENO: result: $krb_cv_c_bigendian" >&5
++echo "${ECHO_T}$krb_cv_c_bigendian" >&6
++if test "$krb_cv_c_bigendian" = "yes"; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define WORDS_BIGENDIAN 1
++_ACEOF
++fi
++if test "$krb_cv_c_bigendian_compile" = "yes"; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define ENDIANESS_IN_SYS_PARAM_H 1
++_ACEOF
++fi
++
++echo "$as_me:$LINENO: checking for inline" >&5
++echo $ECHO_N "checking for inline... $ECHO_C" >&6
++if test "${ac_cv_c_inline+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_cv_c_inline=no
++for ac_kw in inline __inline__ __inline; do
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#ifndef __cplusplus
++static $ac_kw int static_foo () {return 0; }
++$ac_kw int foo () {return 0; }
++#endif
++
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_c_inline=$ac_kw; break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++done
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
++echo "${ECHO_T}$ac_cv_c_inline" >&6
++case $ac_cv_c_inline in
++  inline | yes) ;;
++  no) 
++cat >>confdefs.h <<\_ACEOF
++@%:@define inline 
++_ACEOF
++ ;;
++  *)  cat >>confdefs.h <<_ACEOF
++@%:@define inline $ac_cv_c_inline
++_ACEOF
++ ;;
++esac
++
++
++
++aix=no
++case "$host" in 
++*-*-aix3*)
++	aix=3
++	;;
++*-*-aix4*)
++	aix=4
++	;;
++esac
++
++
++if test "$aix" != no; then
++  AIX_TRUE=
++  AIX_FALSE='#'
++else
++  AIX_TRUE='#'
++  AIX_FALSE=
++fi
++
++if test "$aix" = 4; then
++  AIX4_TRUE=
++  AIX4_FALSE='#'
++else
++  AIX4_TRUE='#'
++  AIX4_FALSE=
++fi
++aix_dynamic_afs=yes
++
++
++if test "$aix_dynamic_afs" = yes; then
++  AIX_DYNAMIC_AFS_TRUE=
++  AIX_DYNAMIC_AFS_FALSE='#'
++else
++  AIX_DYNAMIC_AFS_TRUE='#'
++  AIX_DYNAMIC_AFS_FALSE=
++fi
++
++
++
++echo "$as_me:$LINENO: checking for dlopen" >&5
++echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
++if test "${ac_cv_funclib_dlopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_dlopen\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" dl; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++dlopen()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_dlopen=$ac_lib; else ac_cv_funclib_dlopen=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_dlopen=\${ac_cv_funclib_dlopen-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_dlopen"
++
++if false; then
++	
++for ac_func in dlopen
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# dlopen
++eval "ac_tr_func=HAVE_`echo dlopen | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_dlopen=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_dlopen=yes"
++	eval "LIB_dlopen="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_dlopen=no"
++	eval "LIB_dlopen="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_dlopen=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++
++if test "$aix" != no; then
++	if test "$aix_dynamic_afs" = yes; then
++		if test "$ac_cv_funclib_dlopen" = yes; then
++			AIX_EXTRA_KAFS=
++		elif test "$ac_cv_funclib_dlopen" != no; then
++			AIX_EXTRA_KAFS="$ac_cv_funclib_dlopen"
++		else
++			AIX_EXTRA_KAFS=-lld
++		fi
++	else
++		AIX_EXTRA_KAFS=
++	fi
++fi
++
++
++
++if test "$ac_cv_funclib_dlopen" != no; then
++  HAVE_DLOPEN_TRUE=
++  HAVE_DLOPEN_FALSE='#'
++else
++  HAVE_DLOPEN_TRUE='#'
++  HAVE_DLOPEN_FALSE=
++fi
++
++
++irix=no
++case "$host_os" in
++irix*) irix=yes ;;
++esac
++
++
++if test "$irix" != no; then
++  IRIX_TRUE=
++  IRIX_FALSE='#'
++else
++  IRIX_TRUE='#'
++  IRIX_FALSE=
++fi
++
++echo "$as_me:$LINENO: checking for X" >&5
++echo $ECHO_N "checking for X... $ECHO_C" >&6
++
++
++# Check whether --with-x or --without-x was given.
++if test "${with_x+set}" = set; then
++  withval="$with_x"
++  
++fi; 
++# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
++if test "x$with_x" = xno; then
++  # The user explicitly disabled X.
++  have_x=disabled
++else
++  if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
++    # Both variables are already set.
++    have_x=yes
++  else
++    if test "${ac_cv_have_x+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  # One or both of the vars are not set, and there is no cached value.
++ac_x_includes=no ac_x_libraries=no
++rm -fr conftest.dir
++if mkdir conftest.dir; then
++  cd conftest.dir
++  # Make sure to not put "make" in the Imakefile rules, since we grep it out.
++  cat >Imakefile <<'_ACEOF'
++acfindx:
++	@echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
++_ACEOF
++  if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
++    # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
++    eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
++    # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
++    for ac_extension in a so sl; do
++      if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
++         test -f $ac_im_libdir/libX11.$ac_extension; then
++        ac_im_usrlibdir=$ac_im_libdir; break
++      fi
++    done
++    # Screen out bogus values from the imake configuration.  They are
++    # bogus both because they are the default anyway, and because
++    # using them would break gcc on systems where it needs fixed includes.
++    case $ac_im_incroot in
++	/usr/include) ;;
++	*) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
++    esac
++    case $ac_im_usrlibdir in
++	/usr/lib | /lib) ;;
++	*) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
++    esac
++  fi
++  cd ..
++  rm -fr conftest.dir
++fi
++
++# Standard set of common directories for X headers.
++# Check X11 before X11Rn because it is often a symlink to the current release.
++ac_x_header_dirs='
++/usr/X11/include
++/usr/X11R6/include
++/usr/X11R5/include
++/usr/X11R4/include
++
++/usr/include/X11
++/usr/include/X11R6
++/usr/include/X11R5
++/usr/include/X11R4
++
++/usr/local/X11/include
++/usr/local/X11R6/include
++/usr/local/X11R5/include
++/usr/local/X11R4/include
++
++/usr/local/include/X11
++/usr/local/include/X11R6
++/usr/local/include/X11R5
++/usr/local/include/X11R4
++
++/usr/X386/include
++/usr/x386/include
++/usr/XFree86/include/X11
++
++/usr/include
++/usr/local/include
++/usr/unsupported/include
++/usr/athena/include
++/usr/local/x11r5/include
++/usr/lpp/Xamples/include
++
++/usr/openwin/include
++/usr/openwin/share/include'
++
++if test "$ac_x_includes" = no; then
++  # Guess where to find include files, by looking for Intrinsic.h.
++  # First, try using that file with no special directory specified.
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++@%:@include <X11/Intrinsic.h>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  egrep -v '^ *\+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  # We can compile using X headers with no special include directory.
++ac_x_includes=
++else
++  echo "$as_me: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  for ac_dir in $ac_x_header_dirs; do
++  if test -r "$ac_dir/X11/Intrinsic.h"; then
++    ac_x_includes=$ac_dir
++    break
++  fi
++done
++fi
++rm -f conftest.err conftest.$ac_ext
++fi # $ac_x_includes = no
++
++if test "$ac_x_libraries" = no; then
++  # Check for the libraries.
++  # See if we find them without any special options.
++  # Don't add to $LIBS permanently.
++  ac_save_LIBS=$LIBS
++  LIBS="-lXt $LIBS"
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++@%:@include <X11/Intrinsic.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++XtMalloc (0)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  LIBS=$ac_save_LIBS
++# We can link X programs with no special library path.
++ac_x_libraries=
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++LIBS=$ac_save_LIBS
++for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
++do
++  # Don't even attempt the hair of trying to link an X program!
++  for ac_extension in a so sl; do
++    if test -r $ac_dir/libXt.$ac_extension; then
++      ac_x_libraries=$ac_dir
++      break 2
++    fi
++  done
++done
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi # $ac_x_libraries = no
++
++if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
++  # Didn't find X anywhere.  Cache the known absence of X.
++  ac_cv_have_x="have_x=no"
++else
++  # Record where we found X for the cache.
++  ac_cv_have_x="have_x=yes \
++	        ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
++fi
++fi
++
++  fi
++  eval "$ac_cv_have_x"
++fi # $with_x != no
++
++if test "$have_x" != yes; then
++  echo "$as_me:$LINENO: result: $have_x" >&5
++echo "${ECHO_T}$have_x" >&6
++  no_x=yes
++else
++  # If each of the values was on the command line, it overrides each guess.
++  test "x$x_includes" = xNONE && x_includes=$ac_x_includes
++  test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
++  # Update the cache value to reflect the command line values.
++  ac_cv_have_x="have_x=yes \
++		ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
++  echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
++echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
++fi
++
++
++if test "$no_x" = yes; then
++  # Not all programs may use this symbol, but it does not hurt to define it.
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define X_DISPLAY_MISSING 1
++_ACEOF
++
++  X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
++else
++  if test -n "$x_includes"; then
++    X_CFLAGS="$X_CFLAGS -I$x_includes"
++  fi
++
++  # It would also be nice to do this for all -L options, not just this one.
++  if test -n "$x_libraries"; then
++    X_LIBS="$X_LIBS -L$x_libraries"
++    # For Solaris; some versions of Sun CC require a space after -R and
++    # others require no space.  Words are not sufficient . . . .
++    case `(uname -sr) 2>/dev/null` in
++    "SunOS 5"*)
++      echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
++echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
++      ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
++      cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_R_nospace=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_R_nospace=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++      if test $ac_R_nospace = yes; then
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	X_LIBS="$X_LIBS -R$x_libraries"
++      else
++	LIBS="$ac_xsave_LIBS -R $x_libraries"
++	cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_R_space=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_R_space=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	if test $ac_R_space = yes; then
++	  echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	  X_LIBS="$X_LIBS -R $x_libraries"
++	else
++	  echo "$as_me:$LINENO: result: neither works" >&5
++echo "${ECHO_T}neither works" >&6
++	fi
++      fi
++      LIBS=$ac_xsave_LIBS
++    esac
++  fi
++
++  # Check for system-dependent libraries X programs must link with.
++  # Do this before checking for the system-independent R6 libraries
++  # (-lICE), since we may need -lsocket or whatever for X linking.
++
++  if test "$ISC" = yes; then
++    X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
++  else
++    # Martyn Johnson says this is needed for Ultrix, if the X
++    # libraries were built with DECnet support.  And Karl Berry says
++    # the Alpha needs dnet_stub (dnet does not exist).
++    ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
++    cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char XOpenDisplay ();
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++XOpenDisplay ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  :
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
++echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
++if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ldnet  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dnet_ntoa ();
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++dnet_ntoa ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_dnet_dnet_ntoa=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_lib_dnet_dnet_ntoa=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
++echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
++if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
++  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
++fi
++
++    if test $ac_cv_lib_dnet_dnet_ntoa = no; then
++      echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
++echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
++if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ldnet_stub  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dnet_ntoa ();
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++dnet_ntoa ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_dnet_stub_dnet_ntoa=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_lib_dnet_stub_dnet_ntoa=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
++echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
++if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
++  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
++fi
++
++    fi
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++    LIBS="$ac_xsave_LIBS"
++
++    # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
++    # to get the SysV transport functions.
++    # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
++    # needs -lnsl.
++    # The nsl library prevents programs from opening the X display
++    # on Irix 5.2, according to T.E. Dickey.
++    # The functions gethostbyname, getservbyname, and inet_addr are
++    # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
++    echo "$as_me:$LINENO: checking for gethostbyname" >&5
++echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
++if test "${ac_cv_func_gethostbyname+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char gethostbyname (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char gethostbyname ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_gethostbyname) || defined (__stub___gethostbyname)
++choke me
++#else
++f = gethostbyname;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_gethostbyname=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_gethostbyname=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
++echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
++
++    if test $ac_cv_func_gethostbyname = no; then
++      echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
++echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
++if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-lnsl  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char gethostbyname ();
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++gethostbyname ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_nsl_gethostbyname=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_lib_nsl_gethostbyname=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
++echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
++if test $ac_cv_lib_nsl_gethostbyname = yes; then
++  X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
++fi
++
++      if test $ac_cv_lib_nsl_gethostbyname = no; then
++        echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
++echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
++if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-lbsd  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char gethostbyname ();
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++gethostbyname ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_bsd_gethostbyname=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_lib_bsd_gethostbyname=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
++echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
++if test $ac_cv_lib_bsd_gethostbyname = yes; then
++  X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
++fi
++
++      fi
++    fi
++
++    # lieder@skyler.mavd.honeywell.com says without -lsocket,
++    # socket/setsockopt and other routines are undefined under SCO ODT
++    # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
++    # on later versions), says Simon Leinen: it contains gethostby*
++    # variants that don't use the nameserver (or something).  -lsocket
++    # must be given before -lnsl if both are needed.  We assume that
++    # if connect needs -lnsl, so does gethostbyname.
++    echo "$as_me:$LINENO: checking for connect" >&5
++echo $ECHO_N "checking for connect... $ECHO_C" >&6
++if test "${ac_cv_func_connect+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char connect (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char connect ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_connect) || defined (__stub___connect)
++choke me
++#else
++f = connect;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_connect=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_connect=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
++echo "${ECHO_T}$ac_cv_func_connect" >&6
++
++    if test $ac_cv_func_connect = no; then
++      echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
++echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
++if test "${ac_cv_lib_socket_connect+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char connect ();
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++connect ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_socket_connect=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_lib_socket_connect=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
++echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
++if test $ac_cv_lib_socket_connect = yes; then
++  X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
++fi
++
++    fi
++
++    # Guillermo Gomez says -lposix is necessary on A/UX.
++    echo "$as_me:$LINENO: checking for remove" >&5
++echo $ECHO_N "checking for remove... $ECHO_C" >&6
++if test "${ac_cv_func_remove+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char remove (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char remove ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_remove) || defined (__stub___remove)
++choke me
++#else
++f = remove;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_remove=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_remove=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
++echo "${ECHO_T}$ac_cv_func_remove" >&6
++
++    if test $ac_cv_func_remove = no; then
++      echo "$as_me:$LINENO: checking for remove in -lposix" >&5
++echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
++if test "${ac_cv_lib_posix_remove+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-lposix  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char remove ();
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++remove ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_posix_remove=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_lib_posix_remove=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
++echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
++if test $ac_cv_lib_posix_remove = yes; then
++  X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
++fi
++
++    fi
++
++    # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
++    echo "$as_me:$LINENO: checking for shmat" >&5
++echo $ECHO_N "checking for shmat... $ECHO_C" >&6
++if test "${ac_cv_func_shmat+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char shmat (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char shmat ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_shmat) || defined (__stub___shmat)
++choke me
++#else
++f = shmat;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_shmat=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_shmat=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
++echo "${ECHO_T}$ac_cv_func_shmat" >&6
++
++    if test $ac_cv_func_shmat = no; then
++      echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
++echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
++if test "${ac_cv_lib_ipc_shmat+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-lipc  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char shmat ();
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++shmat ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_ipc_shmat=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_lib_ipc_shmat=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
++echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
++if test $ac_cv_lib_ipc_shmat = yes; then
++  X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
++fi
++
++    fi
++  fi
++
++  # Check for libraries that X11R6 Xt/Xaw programs need.
++  ac_save_LDFLAGS=$LDFLAGS
++  test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
++  # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
++  # check for ICE first), but we must link in the order -lSM -lICE or
++  # we get undefined symbols.  So assume we have SM if we have ICE.
++  # These have to be linked with before -lX11, unlike the other
++  # libraries we check for below, so use a different variable.
++  # John Interrante, Karl Berry
++  echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
++echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
++if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-lICE $X_EXTRA_LIBS $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char IceConnectionNumber ();
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++IceConnectionNumber ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_ICE_IceConnectionNumber=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_lib_ICE_IceConnectionNumber=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
++echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
++if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
++  X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
++fi
++
++  LDFLAGS=$ac_save_LDFLAGS
++
++fi
++
++
++# try to figure out if we need any additional ld flags, like -R
++# and yes, the autoconf X test is utterly broken
++if test "$no_x" != yes; then
++	echo "$as_me:$LINENO: checking for special X linker flags" >&5
++echo $ECHO_N "checking for special X linker flags... $ECHO_C" >&6
++if test "${krb_cv_sys_x_libs_rpath+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++	ac_save_libs="$LIBS"
++	ac_save_cflags="$CFLAGS"
++	CFLAGS="$CFLAGS $X_CFLAGS"
++	krb_cv_sys_x_libs_rpath=""
++	krb_cv_sys_x_libs=""
++	for rflag in "" "-R" "-R " "-rpath "; do
++		if test "$rflag" = ""; then
++			foo="$X_LIBS"
++		else
++			foo=""
++			for flag in $X_LIBS; do
++			case $flag in
++			-L*)
++				foo="$foo $flag `echo $flag | sed \"s/-L/$rflag/\"`"
++				;;
++			*)
++				foo="$foo $flag"
++				;;
++			esac
++			done
++		fi
++		LIBS="$ac_save_libs $foo $X_PRE_LIBS -lX11 $X_EXTRA_LIBS"
++		if test "$cross_compiling" = yes; then
++  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
++echo "$as_me: error: cannot run test program while cross compiling" >&2;}
++   { (exit 1); exit 1; }; }
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++		#include <X11/Xlib.h>
++		foo()
++		{
++		XOpenDisplay(NULL);
++		}
++		main()
++		{
++		return 0;
++		}
++		
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  krb_cv_sys_x_libs_rpath="$rflag"; krb_cv_sys_x_libs="$foo"; break
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++( exit $ac_status )
++:
++fi
++rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++	done
++	LIBS="$ac_save_libs"
++	CFLAGS="$ac_save_cflags"
++	
++fi
++echo "$as_me:$LINENO: result: $krb_cv_sys_x_libs_rpath" >&5
++echo "${ECHO_T}$krb_cv_sys_x_libs_rpath" >&6
++	X_LIBS="$krb_cv_sys_x_libs"
++fi
++
++
++
++
++if test "$no_x" != yes; then
++  HAVE_X_TRUE=
++  HAVE_X_FALSE='#'
++else
++  HAVE_X_TRUE='#'
++  HAVE_X_FALSE=
++fi
++
++
++save_CFLAGS="$CFLAGS"
++CFLAGS="$X_CFLAGS $CFLAGS"
++save_LIBS="$LIBS"
++LIBS="$X_PRE_LIBS $X_EXTRA_LIBS $LIBS"
++save_LDFLAGS="$LDFLAGS"
++LDFLAGS="$LDFLAGS $X_LIBS"
++
++
++
++
++
++echo "$as_me:$LINENO: checking for XauWriteAuth" >&5
++echo $ECHO_N "checking for XauWriteAuth... $ECHO_C" >&6
++if test "${ac_cv_funclib_XauWriteAuth+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_XauWriteAuth\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" X11 Xau; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++XauWriteAuth()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_XauWriteAuth=$ac_lib; else ac_cv_funclib_XauWriteAuth=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_XauWriteAuth=\${ac_cv_funclib_XauWriteAuth-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_XauWriteAuth"
++
++if false; then
++	
++for ac_func in XauWriteAuth
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# XauWriteAuth
++eval "ac_tr_func=HAVE_`echo XauWriteAuth | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_XauWriteAuth=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_XauWriteAuth=yes"
++	eval "LIB_XauWriteAuth="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_XauWriteAuth=no"
++	eval "LIB_XauWriteAuth="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_XauWriteAuth=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++ac_xxx="$LIBS"
++LIBS="$LIB_XauWriteAuth $LIBS"
++
++
++
++echo "$as_me:$LINENO: checking for XauReadAuth" >&5
++echo $ECHO_N "checking for XauReadAuth... $ECHO_C" >&6
++if test "${ac_cv_funclib_XauReadAuth+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_XauReadAuth\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" X11 Xau; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++XauReadAuth()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_XauReadAuth=$ac_lib; else ac_cv_funclib_XauReadAuth=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_XauReadAuth=\${ac_cv_funclib_XauReadAuth-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_XauReadAuth"
++
++if false; then
++	
++for ac_func in XauReadAuth
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# XauReadAuth
++eval "ac_tr_func=HAVE_`echo XauReadAuth | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_XauReadAuth=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_XauReadAuth=yes"
++	eval "LIB_XauReadAuth="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_XauReadAuth=no"
++	eval "LIB_XauReadAuth="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_XauReadAuth=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++LIBS="$LIB_XauReadAauth $LIBS"
++
++
++
++echo "$as_me:$LINENO: checking for XauFileName" >&5
++echo $ECHO_N "checking for XauFileName... $ECHO_C" >&6
++if test "${ac_cv_funclib_XauFileName+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_XauFileName\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" X11 Xau; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++XauFileName()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_XauFileName=$ac_lib; else ac_cv_funclib_XauFileName=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_XauFileName=\${ac_cv_funclib_XauFileName-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_XauFileName"
++
++if false; then
++	
++for ac_func in XauFileName
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# XauFileName
++eval "ac_tr_func=HAVE_`echo XauFileName | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_XauFileName=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_XauFileName=yes"
++	eval "LIB_XauFileName="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_XauFileName=no"
++	eval "LIB_XauFileName="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_XauFileName=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++LIBS="$ac_xxx"
++
++case "$ac_cv_funclib_XauWriteAuth" in
++yes)	;;
++no)	;;
++*)	if test "$ac_cv_funclib_XauReadAuth" = yes; then
++		if test "$ac_cv_funclib_XauFileName" = yes; then
++			LIB_XauReadAuth="$LIB_XauWriteAuth"
++		else
++			LIB_XauReadAuth="$LIB_XauWriteAuth $LIB_XauFileName"
++		fi
++	else
++		if test "$ac_cv_funclib_XauFileName" = yes; then
++			LIB_XauReadAuth="$LIB_XauReadAuth $LIB_XauWriteAuth"
++		else
++			LIB_XauReadAuth="$LIB_XauReadAuth $LIB_XauWriteAuth $LIB_XauFileName"
++		fi
++	fi
++	;;
++esac
++
++if test "$AUTOMAKE" != ""; then
++	
++
++if test "$ac_cv_func_XauWriteAuth" != "yes"; then
++  NEED_WRITEAUTH_TRUE=
++  NEED_WRITEAUTH_FALSE='#'
++else
++  NEED_WRITEAUTH_TRUE='#'
++  NEED_WRITEAUTH_FALSE=
++fi
++else
++	
++	
++	if test "$ac_cv_func_XauWriteAuth" != "yes"; then
++		NEED_WRITEAUTH_TRUE=
++		NEED_WRITEAUTH_FALSE='#'
++	else
++		NEED_WRITEAUTH_TRUE='#'
++		NEED_WRITEAUTH_FALSE=
++	fi
++fi
++CFLAGS=$save_CFLAGS
++LIBS=$save_LIBS
++LDFLAGS=$save_LDFLAGS
++
++
++
++echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
++echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
++if test "${ac_cv_c_const+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* FIXME: Include the comments suggested by Paul. */
++#ifndef __cplusplus
++  /* Ultrix mips cc rejects this.  */
++  typedef int charset[2];
++  const charset x;
++  /* SunOS 4.1.1 cc rejects this.  */
++  char const *const *ccp;
++  char **p;
++  /* NEC SVR4.0.2 mips cc rejects this.  */
++  struct point {int x, y;};
++  static struct point const zero = {0,0};
++  /* AIX XL C 1.02.0.0 rejects this.
++     It does not let you subtract one const X* pointer from another in
++     an arm of an if-expression whose if-part is not a constant
++     expression */
++  const char *g = "string";
++  ccp = &g + (g ? g-g : 0);
++  /* HPUX 7.0 cc rejects these. */
++  ++ccp;
++  p = (char**) ccp;
++  ccp = (char const *const *) p;
++  { /* SCO 3.2v4 cc rejects this.  */
++    char *t;
++    char const *s = 0 ? (char *) 0 : (char const *) 0;
++
++    *t++ = 0;
++  }
++  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
++    int x[] = {25, 17};
++    const int *foo = &x[0];
++    ++foo;
++  }
++  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
++    typedef const int *iptr;
++    iptr p = 0;
++    ++p;
++  }
++  { /* AIX XL C 1.02.0.0 rejects this saying
++       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
++    struct s { int j; const int *ap[3]; };
++    struct s *b; b->j = 5;
++  }
++  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
++    const int foo = 10;
++  }
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_c_const=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_c_const=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
++echo "${ECHO_T}$ac_cv_c_const" >&6
++if test $ac_cv_c_const = no; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define const 
++_ACEOF
++
++fi
++
++echo "$as_me:$LINENO: checking for off_t" >&5
++echo $ECHO_N "checking for off_t... $ECHO_C" >&6
++if test "${ac_cv_type_off_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++$ac_includes_default
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++if ((off_t *) 0)
++  return 0;
++if (sizeof (off_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_off_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_type_off_t=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
++echo "${ECHO_T}$ac_cv_type_off_t" >&6
++if test $ac_cv_type_off_t = yes; then
++  :
++else
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define off_t long
++_ACEOF
++
++fi
++
++echo "$as_me:$LINENO: checking for size_t" >&5
++echo $ECHO_N "checking for size_t... $ECHO_C" >&6
++if test "${ac_cv_type_size_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++$ac_includes_default
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++if ((size_t *) 0)
++  return 0;
++if (sizeof (size_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_size_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_type_size_t=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
++echo "${ECHO_T}$ac_cv_type_size_t" >&6
++if test $ac_cv_type_size_t = yes; then
++  :
++else
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define size_t unsigned
++_ACEOF
++
++fi
++
++echo "$as_me:$LINENO: checking for ssize_t" >&5
++echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
++if test "${ac_cv_type_ssize_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <sys/types.h>
++#if STDC_HEADERS
++#include <stdlib.h>
++#include <stddef.h>
++#endif
++#include <unistd.h>
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  egrep "ssize_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
++  ac_cv_type_ssize_t=yes
++else
++  ac_cv_type_ssize_t=no
++fi
++rm -f conftest*
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
++echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
++if test $ac_cv_type_ssize_t = no; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define ssize_t int
++_ACEOF
++
++fi
++
++echo "$as_me:$LINENO: checking for pid_t" >&5
++echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
++if test "${ac_cv_type_pid_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++$ac_includes_default
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++if ((pid_t *) 0)
++  return 0;
++if (sizeof (pid_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_pid_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_type_pid_t=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
++echo "${ECHO_T}$ac_cv_type_pid_t" >&6
++if test $ac_cv_type_pid_t = yes; then
++  :
++else
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define pid_t int
++_ACEOF
++
++fi
++
++echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
++echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
++if test "${ac_cv_type_uid_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <sys/types.h>
++
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  egrep "uid_t" >/dev/null 2>&1; then
++  ac_cv_type_uid_t=yes
++else
++  ac_cv_type_uid_t=no
++fi
++rm -f conftest*
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
++echo "${ECHO_T}$ac_cv_type_uid_t" >&6
++if test $ac_cv_type_uid_t = no; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define uid_t int
++_ACEOF
++
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define gid_t int
++_ACEOF
++
++fi
++
++echo "$as_me:$LINENO: checking for mode_t" >&5
++echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
++if test "${ac_cv_type_mode_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <sys/types.h>
++#if STDC_HEADERS
++#include <stdlib.h>
++#include <stddef.h>
++#endif
++
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  egrep "mode_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
++  ac_cv_type_mode_t=yes
++else
++  ac_cv_type_mode_t=no
++fi
++rm -f conftest*
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
++echo "${ECHO_T}$ac_cv_type_mode_t" >&6
++if test $ac_cv_type_mode_t = no; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define mode_t unsigned short
++_ACEOF
++
++fi
++
++echo "$as_me:$LINENO: checking for sig_atomic_t" >&5
++echo $ECHO_N "checking for sig_atomic_t... $ECHO_C" >&6
++if test "${ac_cv_type_sig_atomic_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <sys/types.h>
++#if STDC_HEADERS
++#include <stdlib.h>
++#include <stddef.h>
++#endif
++#include <signal.h>
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  egrep "sig_atomic_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
++  ac_cv_type_sig_atomic_t=yes
++else
++  ac_cv_type_sig_atomic_t=no
++fi
++rm -f conftest*
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_sig_atomic_t" >&5
++echo "${ECHO_T}$ac_cv_type_sig_atomic_t" >&6
++if test $ac_cv_type_sig_atomic_t = no; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define sig_atomic_t int
++_ACEOF
++
++fi
++
++
++
++cv=`echo "long long" | sed 'y%./+- %__p__%'`
++echo "$as_me:$LINENO: checking for long long" >&5
++echo $ECHO_N "checking for long long... $ECHO_C" >&6
++if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <sys/types.h>
++#if STDC_HEADERS
++#include <stdlib.h>
++#include <stddef.h>
++#endif
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++long long foo;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_type_$cv=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_type_$cv=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++ac_foo=`eval echo \\$ac_cv_type_$cv`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++  ac_tr_hdr=HAVE_`echo long long | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
++if false; then
++	echo "$as_me:$LINENO: checking for long long" >&5
++echo $ECHO_N "checking for long long... $ECHO_C" >&6
++if test "${ac_cv_type_long_long+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++$ac_includes_default
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++if ((long long *) 0)
++  return 0;
++if (sizeof (long long))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_long_long=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_type_long_long=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
++echo "${ECHO_T}$ac_cv_type_long_long" >&6
++if test $ac_cv_type_long_long = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_LONG_LONG 1
++_ACEOF
++
++
++fi
++
++fi
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_hdr 1
++_ACEOF
++
++fi
++
++echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
++echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
++if test "${ac_cv_header_time+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <sys/types.h>
++#include <sys/time.h>
++#include <time.h>
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++if ((struct tm *) 0)
++return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_header_time=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_header_time=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
++echo "${ECHO_T}$ac_cv_header_time" >&6
++if test $ac_cv_header_time = yes; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define TIME_WITH_SYS_TIME 1
++_ACEOF
++
++fi
++
++echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
++echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
++if test "${ac_cv_struct_tm+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <sys/types.h>
++#include <time.h>
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct tm *tp; tp->tm_sec;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_struct_tm=time.h
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_struct_tm=sys/time.h
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
++echo "${ECHO_T}$ac_cv_struct_tm" >&6
++if test $ac_cv_struct_tm = sys/time.h; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define TM_IN_SYS_TIME 1
++_ACEOF
++
++fi
++
++
++echo "$as_me:$LINENO: checking for ANSI C header files" >&5
++echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
++if test "${ac_cv_header_stdc+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <stdlib.h>
++#include <stdarg.h>
++#include <string.h>
++#include <float.h>
++
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  egrep -v '^ *\+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  ac_cv_header_stdc=yes
++else
++  echo "$as_me: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_header_stdc=no
++fi
++rm -f conftest.err conftest.$ac_ext
++
++if test $ac_cv_header_stdc = yes; then
++  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <string.h>
++
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  egrep "memchr" >/dev/null 2>&1; then
++  :
++else
++  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 <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <stdlib.h>
++
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  egrep "free" >/dev/null 2>&1; then
++  :
++else
++  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 <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <ctype.h>
++#if ((' ' & 0x0FF) == 0x020)
++# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
++# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
++#else
++# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
++                     || ('j' <= (c) && (c) <= 'r') \
++                     || ('s' <= (c) && (c) <= 'z'))
++# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
++#endif
++
++#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);
++}
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  :
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++( exit $ac_status )
++ac_cv_header_stdc=no
++fi
++rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++fi
++fi
++echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
++echo "${ECHO_T}$ac_cv_header_stdc" >&6
++if test $ac_cv_header_stdc = yes; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define STDC_HEADERS 1
++_ACEOF
++
++fi
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++for ac_header in \
++	arpa/ftp.h				\
++	arpa/inet.h				\
++	arpa/nameser.h				\
++	arpa/telnet.h				\
++	bind/bitypes.h				\
++	bsdsetjmp.h				\
++	crypt.h					\
++	curses.h				\
++	dirent.h				\
++	dlfcn.h					\
++	err.h					\
++	errno.h					\
++	fcntl.h					\
++	fnmatch.h				\
++	grp.h					\
++	inttypes.h				\
++	io.h					\
++	libutil.h				\
++	limits.h				\
++	maillock.h				\
++	net/if.h				\
++	netdb.h					\
++	netinet/in.h				\
++	netinet/in6.h				\
++	netinet/in6_machtypes.h			\
++	netinet/in6_var.h			\
++	netinet/in_systm.h			\
++	netinet6/in6.h				\
++	netinfo/ni.h				\
++	paths.h					\
++	pthread.h				\
++	pty.h					\
++	pwd.h					\
++	resolv.h				\
++	sac.h					\
++	security/pam_modules.h			\
++	sgtty.h					\
++	shadow.h				\
++	siad.h					\
++	signal.h				\
++	stropts.h				\
++	sys/bitypes.h				\
++	sys/category.h				\
++	sys/file.h				\
++	sys/filio.h				\
++	sys/ioccom.h				\
++	sys/ioctl.h				\
++	sys/param.h				\
++	sys/proc.h				\
++	sys/pty.h				\
++	sys/ptyio.h				\
++	sys/ptyvar.h				\
++	sys/resource.h				\
++	sys/select.h				\
++	sys/socket.h				\
++	sys/sockio.h				\
++	sys/stat.h				\
++	sys/str_tty.h				\
++	sys/stream.h				\
++	sys/stropts.h				\
++	sys/strtty.h				\
++	sys/syscall.h				\
++	sys/sysctl.h				\
++	sys/termio.h				\
++	sys/time.h				\
++	sys/timeb.h				\
++	sys/times.h				\
++	sys/tty.h				\
++	sys/types.h				\
++	sys/uio.h				\
++	sys/un.h				\
++	sys/utsname.h				\
++	sys/wait.h				\
++	syslog.h				\
++	term.h					\
++	termio.h				\
++	termios.h				\
++	time.h					\
++	tmpdir.h				\
++	udb.h					\
++	unistd.h				\
++	userconf.h				\
++	usersec.h				\
++	util.h					\
++	utmp.h					\
++	utmpx.h					\
++
++do
++as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++else
++  # Is the header compilable?
++echo "$as_me:$LINENO: checking $ac_header usability" >&5
++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++$ac_includes_default
++@%:@include <$ac_header>
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_header_compiler=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_header_compiler=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
++echo "${ECHO_T}$ac_header_compiler" >&6
++
++# Is the header present?
++echo "$as_me:$LINENO: checking $ac_header presence" >&5
++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++@%:@include <$ac_header>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  egrep -v '^ *\+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  ac_header_preproc=yes
++else
++  echo "$as_me: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_header_preproc=no
++fi
++rm -f conftest.err conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
++echo "${ECHO_T}$ac_header_preproc" >&6
++
++# So?  What about this header?
++case $ac_header_compiler:$ac_header_preproc in
++  yes:no )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
++echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++  no:yes )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
++echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
++echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++esac
++echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  eval "$as_ac_Header=$ac_header_preproc"
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++
++fi
++if test `eval echo '${'$as_ac_Header'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++
++done
++
++
++
++
++for ac_header in standards.h
++do
++as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++else
++  # Is the header compilable?
++echo "$as_me:$LINENO: checking $ac_header usability" >&5
++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++$ac_includes_default
++@%:@include <$ac_header>
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_header_compiler=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_header_compiler=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
++echo "${ECHO_T}$ac_header_compiler" >&6
++
++# Is the header present?
++echo "$as_me:$LINENO: checking $ac_header presence" >&5
++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++@%:@include <$ac_header>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  egrep -v '^ *\+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  ac_header_preproc=yes
++else
++  echo "$as_me: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_header_preproc=no
++fi
++rm -f conftest.err conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
++echo "${ECHO_T}$ac_header_preproc" >&6
++
++# So?  What about this header?
++case $ac_header_compiler:$ac_header_preproc in
++  yes:no )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
++echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++  no:yes )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
++echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
++echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++esac
++echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  eval "$as_ac_Header=$ac_header_preproc"
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++
++fi
++if test `eval echo '${'$as_ac_Header'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++
++done
++
++for i in netinet/ip.h netinet/tcp.h; do
++
++cv=`echo "$i" | sed 'y%./+-%__p_%'`
++
++echo "$as_me:$LINENO: checking for $i" >&5
++echo $ECHO_N "checking for $i... $ECHO_C" >&6
++if eval "test \"\${ac_cv_header_$cv+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++\
++#ifdef HAVE_STANDARDS_H
++#include <standards.h>
++#endif
++#include <$i>
++
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  egrep -v '^ *\+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  eval "ac_cv_header_$cv=yes"
++else
++  echo "$as_me: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_header_$cv=no"
++fi
++rm -f conftest.err conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'ac_cv_header_$cv'}'`" >&5
++echo "${ECHO_T}`eval echo '${'ac_cv_header_$cv'}'`" >&6
++ac_res=`eval echo \\$ac_cv_header_$cv`
++if test "$ac_res" = yes; then
++	ac_tr_hdr=HAVE_`echo $i | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_hdr 1
++_ACEOF
++
++fi
++done
++if false;then
++	
++
++for ac_header in netinet/ip.h netinet/tcp.h
++do
++as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++else
++  # Is the header compilable?
++echo "$as_me:$LINENO: checking $ac_header usability" >&5
++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++$ac_includes_default
++@%:@include <$ac_header>
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_header_compiler=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_header_compiler=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
++echo "${ECHO_T}$ac_header_compiler" >&6
++
++# Is the header present?
++echo "$as_me:$LINENO: checking $ac_header presence" >&5
++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++@%:@include <$ac_header>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  egrep -v '^ *\+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  ac_header_preproc=yes
++else
++  echo "$as_me: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_header_preproc=no
++fi
++rm -f conftest.err conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
++echo "${ECHO_T}$ac_header_preproc" >&6
++
++# So?  What about this header?
++case $ac_header_compiler:$ac_header_preproc in
++  yes:no )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
++echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++  no:yes )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
++echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
++echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++esac
++echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  eval "$as_ac_Header=$ac_header_preproc"
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++
++fi
++if test `eval echo '${'$as_ac_Header'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++
++done
++
++fi
++
++
++
++# Check whether --enable-netinfo or --disable-netinfo was given.
++if test "${enable_netinfo+set}" = set; then
++  enableval="$enable_netinfo"
++  
++fi; 
++
++if test "$ac_cv_header_netinfo_ni_h" = yes -a "$enable_netinfo" = yes; then
++       
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_NETINFO 1
++_ACEOF
++
++fi
++
++
++
++if test "$ac_cv_header_err_h" = yes; then
++  have_err_h_TRUE=
++  have_err_h_FALSE='#'
++else
++  have_err_h_TRUE='#'
++  have_err_h_FALSE=
++fi
++
++
++if test "$ac_cv_header_fnmatch_h" = yes; then
++  have_fnmatch_h_TRUE=
++  have_fnmatch_h_FALSE='#'
++else
++  have_fnmatch_h_TRUE='#'
++  have_fnmatch_h_FALSE=
++fi
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for socket" >&5
++echo $ECHO_N "checking for socket... $ECHO_C" >&6
++if test "${ac_cv_funclib_socket+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_socket\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" socket; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++socket()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_socket=$ac_lib; else ac_cv_funclib_socket=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_socket=\${ac_cv_funclib_socket-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_socket"
++
++if false; then
++	
++for ac_func in socket
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# socket
++eval "ac_tr_func=HAVE_`echo socket | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_socket=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_socket=yes"
++	eval "LIB_socket="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_socket=no"
++	eval "LIB_socket="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_socket=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_socket"; then
++	LIBS="$LIB_socket $LIBS"
++fi
++
++
++
++
++
++echo "$as_me:$LINENO: checking for gethostbyname" >&5
++echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
++if test "${ac_cv_funclib_gethostbyname+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_gethostbyname\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" nsl; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++gethostbyname()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_gethostbyname=$ac_lib; else ac_cv_funclib_gethostbyname=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_gethostbyname=\${ac_cv_funclib_gethostbyname-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_gethostbyname"
++
++if false; then
++	
++for ac_func in gethostbyname
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# gethostbyname
++eval "ac_tr_func=HAVE_`echo gethostbyname | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_gethostbyname=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_gethostbyname=yes"
++	eval "LIB_gethostbyname="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_gethostbyname=no"
++	eval "LIB_gethostbyname="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_gethostbyname=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_gethostbyname"; then
++	LIBS="$LIB_gethostbyname $LIBS"
++fi
++
++
++
++
++
++echo "$as_me:$LINENO: checking for syslog" >&5
++echo $ECHO_N "checking for syslog... $ECHO_C" >&6
++if test "${ac_cv_funclib_syslog+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_syslog\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" syslog; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++syslog()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_syslog=$ac_lib; else ac_cv_funclib_syslog=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_syslog=\${ac_cv_funclib_syslog-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_syslog"
++
++if false; then
++	
++for ac_func in syslog
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# syslog
++eval "ac_tr_func=HAVE_`echo syslog | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_syslog=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_syslog=yes"
++	eval "LIB_syslog="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_syslog=no"
++	eval "LIB_syslog="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_syslog=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_syslog"; then
++	LIBS="$LIB_syslog $LIBS"
++fi
++
++
++
++
++# Check whether --with-ipv6 or --without-ipv6 was given.
++if test "${with_ipv6+set}" = set; then
++  withval="$with_ipv6"
++  
++if test "$withval" = "no"; then
++	ac_cv_lib_ipv6=no
++fi
++fi; 
++save_CFLAGS="${CFLAGS}"
++if test "${ac_cv_lib_ipv6+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  v6type=unknown
++v6lib=none
++
++echo "$as_me:$LINENO: checking ipv6 stack type" >&5
++echo $ECHO_N "checking ipv6 stack type... $ECHO_C" >&6
++for i in v6d toshiba kame inria zeta linux; do
++	case $i in
++	v6d)
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#include </usr/local/v6/include/sys/types.h>
++#ifdef __V6D__
++yes
++#endif
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  egrep "yes" >/dev/null 2>&1; then
++  v6type=$i; v6lib=v6;
++			v6libdir=/usr/local/v6/lib;
++			CFLAGS="-I/usr/local/v6/include $CFLAGS"
++fi
++rm -f conftest*
++
++		;;
++	toshiba)
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#include <sys/param.h>
++#ifdef _TOSHIBA_INET6
++yes
++#endif
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  egrep "yes" >/dev/null 2>&1; then
++  v6type=$i; v6lib=inet6;
++			v6libdir=/usr/local/v6/lib;
++			CFLAGS="-DINET6 $CFLAGS"
++fi
++rm -f conftest*
++
++		;;
++	kame)
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#include <netinet/in.h>
++#ifdef __KAME__
++yes
++#endif
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  egrep "yes" >/dev/null 2>&1; then
++  v6type=$i; v6lib=inet6;
++			v6libdir=/usr/local/v6/lib;
++			CFLAGS="-DINET6 $CFLAGS"
++fi
++rm -f conftest*
++
++		;;
++	inria)
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#include <netinet/in.h>
++#ifdef IPV6_INRIA_VERSION
++yes
++#endif
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  egrep "yes" >/dev/null 2>&1; then
++  v6type=$i; CFLAGS="-DINET6 $CFLAGS"
++fi
++rm -f conftest*
++
++		;;
++	zeta)
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#include <sys/param.h>
++#ifdef _ZETA_MINAMI_INET6
++yes
++#endif
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  egrep "yes" >/dev/null 2>&1; then
++  v6type=$i; v6lib=inet6;
++			v6libdir=/usr/local/v6/lib;
++			CFLAGS="-DINET6 $CFLAGS"
++fi
++rm -f conftest*
++
++		;;
++	linux)
++		if test -d /usr/inet6; then
++			v6type=$i
++			v6lib=inet6
++			v6libdir=/usr/inet6
++			CFLAGS="-DINET6 $CFLAGS"
++		fi
++		;;
++	esac
++	if test "$v6type" != "unknown"; then
++		break
++	fi
++done
++echo "$as_me:$LINENO: result: $v6type" >&5
++echo "${ECHO_T}$v6type" >&6
++
++if test "$v6lib" != "none"; then
++	for dir in $v6libdir /usr/local/v6/lib /usr/local/lib; do
++		if test -d $dir -a -f $dir/lib$v6lib.a; then
++			LIBS="-L$dir -l$v6lib $LIBS"
++			break
++		fi
++	done
++fi
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_NETINET_IN6_H
++#include <netinet/in6.h>
++#endif
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++ struct sockaddr_in6 sin6;
++ int s;
++
++ s = socket(AF_INET6, SOCK_DGRAM, 0);
++
++ sin6.sin6_family = AF_INET6;
++ sin6.sin6_port = htons(17);
++ sin6.sin6_addr = in6addr_any;
++ bind(s, (struct sockaddr *)&sin6, sizeof(sin6));
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_ipv6=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_lib_ipv6=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++
++echo "$as_me:$LINENO: checking for IPv6" >&5
++echo $ECHO_N "checking for IPv6... $ECHO_C" >&6
++echo "$as_me:$LINENO: result: $ac_cv_lib_ipv6" >&5
++echo "${ECHO_T}$ac_cv_lib_ipv6" >&6
++if test "$ac_cv_lib_ipv6" = yes; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_IPV6 1
++_ACEOF
++
++else
++  CFLAGS="${save_CFLAGS}"
++fi
++
++if test "$ac_cv_lib_ipv6" = yes; then
++	echo "$as_me:$LINENO: checking for in6addr_loopback" >&5
++echo $ECHO_N "checking for in6addr_loopback... $ECHO_C" >&6
++if test "${ac_cv_var_in6addr_loopback+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++	cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_NETINET_IN6_H
++#include <netinet/in6.h>
++#endif
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++struct sockaddr_in6 sin6;
++sin6.sin6_addr = in6addr_loopback;
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_var_in6addr_loopback=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_var_in6addr_loopback=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_var_in6addr_loopback" >&5
++echo "${ECHO_T}$ac_cv_var_in6addr_loopback" >&6
++	if test "$ac_cv_var_in6addr_loopback" = yes; then
++		
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_IN6ADDR_LOOPBACK 1
++_ACEOF
++
++	fi
++fi
++
++
++
++
++
++echo "$as_me:$LINENO: checking for logwtmp" >&5
++echo $ECHO_N "checking for logwtmp... $ECHO_C" >&6
++if test "${ac_cv_funclib_logwtmp+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_logwtmp\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" util; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++logwtmp()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_logwtmp=$ac_lib; else ac_cv_funclib_logwtmp=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_logwtmp=\${ac_cv_funclib_logwtmp-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_logwtmp"
++
++if false; then
++	
++for ac_func in logwtmp
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# logwtmp
++eval "ac_tr_func=HAVE_`echo logwtmp | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_logwtmp=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_logwtmp=yes"
++	eval "LIB_logwtmp="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_logwtmp=no"
++	eval "LIB_logwtmp="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_logwtmp=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++
++
++
++echo "$as_me:$LINENO: checking for logout" >&5
++echo $ECHO_N "checking for logout... $ECHO_C" >&6
++if test "${ac_cv_funclib_logout+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_logout\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" util; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++logout()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_logout=$ac_lib; else ac_cv_funclib_logout=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_logout=\${ac_cv_funclib_logout-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_logout"
++
++if false; then
++	
++for ac_func in logout
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# logout
++eval "ac_tr_func=HAVE_`echo logout | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_logout=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_logout=yes"
++	eval "LIB_logout="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_logout=no"
++	eval "LIB_logout="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_logout=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++
++
++
++echo "$as_me:$LINENO: checking for openpty" >&5
++echo $ECHO_N "checking for openpty... $ECHO_C" >&6
++if test "${ac_cv_funclib_openpty+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_openpty\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" util; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++openpty()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_openpty=$ac_lib; else ac_cv_funclib_openpty=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_openpty=\${ac_cv_funclib_openpty-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_openpty"
++
++if false; then
++	
++for ac_func in openpty
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# openpty
++eval "ac_tr_func=HAVE_`echo openpty | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_openpty=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_openpty=yes"
++	eval "LIB_openpty="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_openpty=no"
++	eval "LIB_openpty="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_openpty=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++
++
++
++echo "$as_me:$LINENO: checking for tgetent" >&5
++echo $ECHO_N "checking for tgetent... $ECHO_C" >&6
++if test "${ac_cv_funclib_tgetent+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_tgetent\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" termcap ncurses curses; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++tgetent()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_tgetent=$ac_lib; else ac_cv_funclib_tgetent=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_tgetent=\${ac_cv_funclib_tgetent-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_tgetent"
++
++if false; then
++	
++for ac_func in tgetent
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# tgetent
++eval "ac_tr_func=HAVE_`echo tgetent | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_tgetent=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_tgetent=yes"
++	eval "LIB_tgetent="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_tgetent=no"
++	eval "LIB_tgetent="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_tgetent=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for gethostbyname2" >&5
++echo $ECHO_N "checking for gethostbyname2... $ECHO_C" >&6
++if test "${ac_cv_funclib_gethostbyname2+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_gethostbyname2\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" inet6 ip6; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++gethostbyname2()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_gethostbyname2=$ac_lib; else ac_cv_funclib_gethostbyname2=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_gethostbyname2=\${ac_cv_funclib_gethostbyname2-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_gethostbyname2"
++
++if false; then
++	
++for ac_func in gethostbyname2
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# gethostbyname2
++eval "ac_tr_func=HAVE_`echo gethostbyname2 | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_gethostbyname2=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_gethostbyname2=yes"
++	eval "LIB_gethostbyname2="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_gethostbyname2=no"
++	eval "LIB_gethostbyname2="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_gethostbyname2=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_gethostbyname2"; then
++	LIBS="$LIB_gethostbyname2 $LIBS"
++fi
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for res_search" >&5
++echo $ECHO_N "checking for res_search... $ECHO_C" >&6
++if test "${ac_cv_funclib_res_search+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_res_search\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" resolv; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#include <stdio.h>
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_NAMESER_H
++#include <arpa/nameser.h>
++#endif
++#ifdef HAVE_RESOLV_H
++#include <resolv.h>
++#endif
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++res_search(0,0,0,0,0)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_res_search=$ac_lib; else ac_cv_funclib_res_search=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_res_search=\${ac_cv_funclib_res_search-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_res_search"
++
++if false; then
++	
++for ac_func in res_search
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# res_search
++eval "ac_tr_func=HAVE_`echo res_search | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_res_search=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_res_search=yes"
++	eval "LIB_res_search="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_res_search=no"
++	eval "LIB_res_search="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_res_search=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_res_search"; then
++	LIBS="$LIB_res_search $LIBS"
++fi
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for dn_expand" >&5
++echo $ECHO_N "checking for dn_expand... $ECHO_C" >&6
++if test "${ac_cv_funclib_dn_expand+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_dn_expand\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" resolv; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#include <stdio.h>
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_NAMESER_H
++#include <arpa/nameser.h>
++#endif
++#ifdef HAVE_RESOLV_H
++#include <resolv.h>
++#endif
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++dn_expand(0,0,0,0,0)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_dn_expand=$ac_lib; else ac_cv_funclib_dn_expand=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_dn_expand=\${ac_cv_funclib_dn_expand-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_dn_expand"
++
++if false; then
++	
++for ac_func in dn_expand
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# dn_expand
++eval "ac_tr_func=HAVE_`echo dn_expand | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_dn_expand=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_dn_expand=yes"
++	eval "LIB_dn_expand="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_dn_expand=no"
++	eval "LIB_dn_expand="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_dn_expand=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_dn_expand"; then
++	LIBS="$LIB_dn_expand $LIBS"
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking for working snprintf" >&5
++echo $ECHO_N "checking for working snprintf... $ECHO_C" >&6
++if test "${ac_cv_func_snprintf_working+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_cv_func_snprintf_working=yes
++if test "$cross_compiling" = yes; then
++  :
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#include <stdio.h>
++#include <string.h>
++int main()
++{
++	char foo[3];
++	snprintf(foo, 2, "12");
++	return strcmp(foo, "1");
++}
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  :
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++( exit $ac_status )
++ac_cv_func_snprintf_working=no
++fi
++rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_snprintf_working" >&5
++echo "${ECHO_T}$ac_cv_func_snprintf_working" >&6
++
++if test "$ac_cv_func_snprintf_working" = yes; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_SNPRINTF 1
++_ACEOF
++
++fi
++if test "$ac_cv_func_snprintf_working" = yes; then
++
++if test "$ac_cv_func_snprintf+set" != set -o "$ac_cv_func_snprintf" = yes; then
++echo "$as_me:$LINENO: checking if snprintf needs a prototype" >&5
++echo $ECHO_N "checking if snprintf needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_snprintf_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <stdio.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int snprintf (struct foo*);
++snprintf(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_snprintf_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_func_snprintf_noproto=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_snprintf_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_snprintf_noproto" >&6
++
++if test "$ac_cv_func_snprintf_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_SNPRINTF_PROTO 1
++_ACEOF
++
++fi
++
++fi
++
++fi
++
++
++echo "$as_me:$LINENO: checking for working vsnprintf" >&5
++echo $ECHO_N "checking for working vsnprintf... $ECHO_C" >&6
++if test "${ac_cv_func_vsnprintf_working+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_cv_func_vsnprintf_working=yes
++if test "$cross_compiling" = yes; then
++  :
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#include <stdio.h>
++#include <string.h>
++#include <stdarg.h>
++
++int foo(int num, ...)
++{
++	char bar[3];
++	va_list arg;
++	va_start(arg, num);
++	vsnprintf(bar, 2, "%s", arg);
++	va_end(arg);
++	return strcmp(bar, "1");
++}
++
++
++int main()
++{
++	return foo(0, "12");
++}
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  :
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++( exit $ac_status )
++ac_cv_func_vsnprintf_working=no
++fi
++rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_vsnprintf_working" >&5
++echo "${ECHO_T}$ac_cv_func_vsnprintf_working" >&6
++
++if test "$ac_cv_func_vsnprintf_working" = yes; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_VSNPRINTF 1
++_ACEOF
++
++fi
++if test "$ac_cv_func_vsnprintf_working" = yes; then
++
++if test "$ac_cv_func_vsnprintf+set" != set -o "$ac_cv_func_vsnprintf" = yes; then
++echo "$as_me:$LINENO: checking if vsnprintf needs a prototype" >&5
++echo $ECHO_N "checking if vsnprintf needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_vsnprintf_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <stdio.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int vsnprintf (struct foo*);
++vsnprintf(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_vsnprintf_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_func_vsnprintf_noproto=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_vsnprintf_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_vsnprintf_noproto" >&6
++
++if test "$ac_cv_func_vsnprintf_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_VSNPRINTF_PROTO 1
++_ACEOF
++
++fi
++
++fi
++
++fi
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++for ac_func in 				\
++	_getpty					\
++	_scrsize				\
++	fcntl					\
++	gettimeofday				\
++	getuid					\
++	grantpt					\
++	mktime					\
++	ptsname					\
++	rand					\
++	random					\
++	revoke					\
++	select					\
++	setitimer				\
++	setpcred				\
++	setpgid					\
++	setproctitle				\
++	setregid				\
++	setresgid				\
++	setresuid				\
++	setreuid				\
++	setsid					\
++	setutent				\
++	sigaction				\
++	strstr					\
++	timegm					\
++	ttyname					\
++	ttyslot					\
++	umask					\
++	unlockpt				\
++	vhangup					\
++	yp_get_default_domain			\
++
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++
++
++
++
++
++for ac_header in capability.h sys/capability.h
++do
++as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++else
++  # Is the header compilable?
++echo "$as_me:$LINENO: checking $ac_header usability" >&5
++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++$ac_includes_default
++@%:@include <$ac_header>
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_header_compiler=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_header_compiler=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
++echo "${ECHO_T}$ac_header_compiler" >&6
++
++# Is the header present?
++echo "$as_me:$LINENO: checking $ac_header presence" >&5
++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++@%:@include <$ac_header>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  egrep -v '^ *\+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  ac_header_preproc=yes
++else
++  echo "$as_me: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_header_preproc=no
++fi
++rm -f conftest.err conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
++echo "${ECHO_T}$ac_header_preproc" >&6
++
++# So?  What about this header?
++case $ac_header_compiler:$ac_header_preproc in
++  yes:no )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
++echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++  no:yes )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
++echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
++echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++esac
++echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  eval "$as_ac_Header=$ac_header_preproc"
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++
++fi
++if test `eval echo '${'$as_ac_Header'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++
++done
++
++
++
++
++for ac_func in sgi_getcapabilitybyname cap_set_proc
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for getpwnam_r" >&5
++echo $ECHO_N "checking for getpwnam_r... $ECHO_C" >&6
++if test "${ac_cv_funclib_getpwnam_r+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_getpwnam_r\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" c_r; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++getpwnam_r()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_getpwnam_r=$ac_lib; else ac_cv_funclib_getpwnam_r=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_getpwnam_r=\${ac_cv_funclib_getpwnam_r-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_getpwnam_r"
++
++if false; then
++	
++for ac_func in getpwnam_r
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# getpwnam_r
++eval "ac_tr_func=HAVE_`echo getpwnam_r | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_getpwnam_r=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_getpwnam_r=yes"
++	eval "LIB_getpwnam_r="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_getpwnam_r=no"
++	eval "LIB_getpwnam_r="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_getpwnam_r=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test "$ac_cv_func_getpwnam_r" = yes; then
++	echo "$as_me:$LINENO: checking if getpwnam_r is posix" >&5
++echo $ECHO_N "checking if getpwnam_r is posix... $ECHO_C" >&6
++if test "${ac_cv_func_getpwnam_r_posix+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_libs="$LIBS"
++	LIBS="$LIBS $LIB_getpwnam_r"
++	if test "$cross_compiling" = yes; then
++  :
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#include <pwd.h>
++int main()
++{
++	struct passwd pw, *pwd;
++	return getpwnam_r("", &pw, NULL, 0, &pwd) < 0;
++}
++
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_getpwnam_r_posix=yes
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++( exit $ac_status )
++ac_cv_func_getpwnam_r_posix=no
++fi
++rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++LIBS="$ac_libs"
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getpwnam_r_posix" >&5
++echo "${ECHO_T}$ac_cv_func_getpwnam_r_posix" >&6
++if test "$ac_cv_func_getpwnam_r_posix" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define POSIX_GETPWNAM_R 1
++_ACEOF
++
++fi
++fi
++
++
++
++
++
++echo "$as_me:$LINENO: checking for getsockopt" >&5
++echo $ECHO_N "checking for getsockopt... $ECHO_C" >&6
++if test "${ac_cv_funclib_getsockopt+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_getsockopt\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++getsockopt(0,0,0,0,0)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_getsockopt=$ac_lib; else ac_cv_funclib_getsockopt=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_getsockopt=\${ac_cv_funclib_getsockopt-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_getsockopt"
++
++if false; then
++	
++for ac_func in getsockopt
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# getsockopt
++eval "ac_tr_func=HAVE_`echo getsockopt | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_getsockopt=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_getsockopt=yes"
++	eval "LIB_getsockopt="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_getsockopt=no"
++	eval "LIB_getsockopt="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_getsockopt=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++
++
++
++echo "$as_me:$LINENO: checking for setsockopt" >&5
++echo $ECHO_N "checking for setsockopt... $ECHO_C" >&6
++if test "${ac_cv_funclib_setsockopt+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_setsockopt\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++setsockopt(0,0,0,0,0)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_setsockopt=$ac_lib; else ac_cv_funclib_setsockopt=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_setsockopt=\${ac_cv_funclib_setsockopt-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_setsockopt"
++
++if false; then
++	
++for ac_func in setsockopt
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# setsockopt
++eval "ac_tr_func=HAVE_`echo setsockopt | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_setsockopt=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_setsockopt=yes"
++	eval "LIB_setsockopt="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_setsockopt=no"
++	eval "LIB_setsockopt="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_setsockopt=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++
++
++
++for ac_func in getudbnam setlim
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++
++
++echo "$as_me:$LINENO: checking return type of signal handlers" >&5
++echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
++if test "${ac_cv_type_signal+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "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
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++int i;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_signal=void
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_type_signal=int
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
++echo "${ECHO_T}$ac_cv_type_signal" >&6
++
++cat >>confdefs.h <<_ACEOF
++@%:@define RETSIGTYPE $ac_cv_type_signal
++_ACEOF
++
++
++if test "$ac_cv_type_signal" = "void" ; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define VOID_RETSIGTYPE 1
++_ACEOF
++
++fi
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking if realloc if broken" >&5
++echo $ECHO_N "checking if realloc if broken... $ECHO_C" >&6
++if test "${ac_cv_func_realloc_broken+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++ac_cv_func_realloc_broken=no
++if test "$cross_compiling" = yes; then
++  :
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#include <stddef.h>
++#include <stdlib.h>
++
++int main()
++{
++	return realloc(NULL, 17) == NULL;
++}
++
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  :
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++( exit $ac_status )
++ac_cv_func_realloc_broken=yes
++fi
++rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_realloc_broken" >&5
++echo "${ECHO_T}$ac_cv_func_realloc_broken" >&6
++if test "$ac_cv_func_realloc_broken" = yes ; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define BROKEN_REALLOC 1
++_ACEOF
++
++fi
++
++
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for ut_addr in struct utmp" >&5
++echo $ECHO_N "checking for ut_addr in struct utmp... $ECHO_C" >&6
++if test "${ac_cv_type_struct_utmp_ut_addr+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <utmp.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct utmp x; x.ut_addr;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_utmp_ut_addr=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_type_struct_utmp_ut_addr=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_utmp_ut_addr" >&5
++echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_addr" >&6
++if test "$ac_cv_type_struct_utmp_ut_addr" = yes; then
++	
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_STRUCT_UTMP_UT_ADDR 1
++_ACEOF
++
++	
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking for ut_host in struct utmp" >&5
++echo $ECHO_N "checking for ut_host in struct utmp... $ECHO_C" >&6
++if test "${ac_cv_type_struct_utmp_ut_host+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <utmp.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct utmp x; x.ut_host;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_utmp_ut_host=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_type_struct_utmp_ut_host=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_utmp_ut_host" >&5
++echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_host" >&6
++if test "$ac_cv_type_struct_utmp_ut_host" = yes; then
++	
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_STRUCT_UTMP_UT_HOST 1
++_ACEOF
++
++	
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking for ut_id in struct utmp" >&5
++echo $ECHO_N "checking for ut_id in struct utmp... $ECHO_C" >&6
++if test "${ac_cv_type_struct_utmp_ut_id+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <utmp.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct utmp x; x.ut_id;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_utmp_ut_id=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_type_struct_utmp_ut_id=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_utmp_ut_id" >&5
++echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_id" >&6
++if test "$ac_cv_type_struct_utmp_ut_id" = yes; then
++	
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_STRUCT_UTMP_UT_ID 1
++_ACEOF
++
++	
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking for ut_pid in struct utmp" >&5
++echo $ECHO_N "checking for ut_pid in struct utmp... $ECHO_C" >&6
++if test "${ac_cv_type_struct_utmp_ut_pid+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <utmp.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct utmp x; x.ut_pid;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_utmp_ut_pid=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_type_struct_utmp_ut_pid=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_utmp_ut_pid" >&5
++echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_pid" >&6
++if test "$ac_cv_type_struct_utmp_ut_pid" = yes; then
++	
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_STRUCT_UTMP_UT_PID 1
++_ACEOF
++
++	
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking for ut_type in struct utmp" >&5
++echo $ECHO_N "checking for ut_type in struct utmp... $ECHO_C" >&6
++if test "${ac_cv_type_struct_utmp_ut_type+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <utmp.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct utmp x; x.ut_type;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_utmp_ut_type=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_type_struct_utmp_ut_type=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_utmp_ut_type" >&5
++echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_type" >&6
++if test "$ac_cv_type_struct_utmp_ut_type" = yes; then
++	
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_STRUCT_UTMP_UT_TYPE 1
++_ACEOF
++
++	
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking for ut_user in struct utmp" >&5
++echo $ECHO_N "checking for ut_user in struct utmp... $ECHO_C" >&6
++if test "${ac_cv_type_struct_utmp_ut_user+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <utmp.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct utmp x; x.ut_user;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_utmp_ut_user=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_type_struct_utmp_ut_user=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_utmp_ut_user" >&5
++echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_user" >&6
++if test "$ac_cv_type_struct_utmp_ut_user" = yes; then
++	
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_STRUCT_UTMP_UT_USER 1
++_ACEOF
++
++	
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking for ut_exit in struct utmpx" >&5
++echo $ECHO_N "checking for ut_exit in struct utmpx... $ECHO_C" >&6
++if test "${ac_cv_type_struct_utmpx_ut_exit+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <utmpx.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct utmpx x; x.ut_exit;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_utmpx_ut_exit=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_type_struct_utmpx_ut_exit=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_utmpx_ut_exit" >&5
++echo "${ECHO_T}$ac_cv_type_struct_utmpx_ut_exit" >&6
++if test "$ac_cv_type_struct_utmpx_ut_exit" = yes; then
++	
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_STRUCT_UTMPX_UT_EXIT 1
++_ACEOF
++
++	
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking for ut_syslen in struct utmpx" >&5
++echo $ECHO_N "checking for ut_syslen in struct utmpx... $ECHO_C" >&6
++if test "${ac_cv_type_struct_utmpx_ut_syslen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <utmpx.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct utmpx x; x.ut_syslen;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_utmpx_ut_syslen=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_type_struct_utmpx_ut_syslen=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_utmpx_ut_syslen" >&5
++echo "${ECHO_T}$ac_cv_type_struct_utmpx_ut_syslen" >&6
++if test "$ac_cv_type_struct_utmpx_ut_syslen" = yes; then
++	
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_STRUCT_UTMPX_UT_SYSLEN 1
++_ACEOF
++
++	
++fi
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
++echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
++if test "${ac_cv_type_struct_tm_tm_gmtoff+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <time.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct tm x; x.tm_gmtoff;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_tm_tm_gmtoff=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_type_struct_tm_tm_gmtoff=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_tm_tm_gmtoff" >&5
++echo "${ECHO_T}$ac_cv_type_struct_tm_tm_gmtoff" >&6
++if test "$ac_cv_type_struct_tm_tm_gmtoff" = yes; then
++	
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_STRUCT_TM_TM_GMTOFF 1
++_ACEOF
++
++	
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking for tm_zone in struct tm" >&5
++echo $ECHO_N "checking for tm_zone in struct tm... $ECHO_C" >&6
++if test "${ac_cv_type_struct_tm_tm_zone+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <time.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct tm x; x.tm_zone;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_tm_tm_zone=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_type_struct_tm_tm_zone=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_tm_tm_zone" >&5
++echo "${ECHO_T}$ac_cv_type_struct_tm_tm_zone" >&6
++if test "$ac_cv_type_struct_tm_tm_zone" = yes; then
++	
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_STRUCT_TM_TM_ZONE 1
++_ACEOF
++
++	
++fi
++
++
++
++
++
++echo "$as_me:$LINENO: checking for timezone" >&5
++echo $ECHO_N "checking for timezone... $ECHO_C" >&6
++if test "${ac_cv_var_timezone+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++extern int timezone;
++int foo() { return timezone; }
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++foo()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_var_timezone=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_var_timezone=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++
++fi
++
++ac_foo=`eval echo \\$ac_cv_var_timezone`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_TIMEZONE 1
++_ACEOF
++
++	
++echo "$as_me:$LINENO: checking if timezone is properly declared" >&5
++echo $ECHO_N "checking if timezone is properly declared... $ECHO_C" >&6
++if test "${ac_cv_var_timezone_declaration+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <time.h>
++extern struct { int foo; } timezone;
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++timezone.foo = 1;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_var_timezone_declaration=no"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_var_timezone_declaration=yes"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var_timezone_declaration" >&5
++echo "${ECHO_T}$ac_cv_var_timezone_declaration" >&6
++if eval "test \"\$ac_cv_var_timezone_declaration\" = yes"; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_TIMEZONE_DECLARATION 1
++_ACEOF
++
++fi
++
++
++fi
++
++
++
++
++cv=`echo "sa_family_t" | sed 'y%./+- %__p__%'`
++echo "$as_me:$LINENO: checking for sa_family_t" >&5
++echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6
++if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <sys/types.h>
++#if STDC_HEADERS
++#include <stdlib.h>
++#include <stddef.h>
++#endif
++#include <sys/socket.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++sa_family_t foo;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_type_$cv=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_type_$cv=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++ac_foo=`eval echo \\$ac_cv_type_$cv`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++  ac_tr_hdr=HAVE_`echo sa_family_t | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
++if false; then
++	echo "$as_me:$LINENO: checking for sa_family_t" >&5
++echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6
++if test "${ac_cv_type_sa_family_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++$ac_includes_default
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++if ((sa_family_t *) 0)
++  return 0;
++if (sizeof (sa_family_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_sa_family_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_type_sa_family_t=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_sa_family_t" >&5
++echo "${ECHO_T}$ac_cv_type_sa_family_t" >&6
++if test $ac_cv_type_sa_family_t = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_SA_FAMILY_T 1
++_ACEOF
++
++
++fi
++
++fi
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_hdr 1
++_ACEOF
++
++fi
++
++
++
++
++cv=`echo "socklen_t" | sed 'y%./+- %__p__%'`
++echo "$as_me:$LINENO: checking for socklen_t" >&5
++echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
++if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <sys/types.h>
++#if STDC_HEADERS
++#include <stdlib.h>
++#include <stddef.h>
++#endif
++#include <sys/socket.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++socklen_t foo;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_type_$cv=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_type_$cv=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++ac_foo=`eval echo \\$ac_cv_type_$cv`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++  ac_tr_hdr=HAVE_`echo socklen_t | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
++if false; then
++	echo "$as_me:$LINENO: checking for socklen_t" >&5
++echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
++if test "${ac_cv_type_socklen_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++$ac_includes_default
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++if ((socklen_t *) 0)
++  return 0;
++if (sizeof (socklen_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_socklen_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_type_socklen_t=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
++echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
++if test $ac_cv_type_socklen_t = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_SOCKLEN_T 1
++_ACEOF
++
++
++fi
++
++fi
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_hdr 1
++_ACEOF
++
++fi
++
++
++
++
++cv=`echo "struct sockaddr" | sed 'y%./+- %__p__%'`
++echo "$as_me:$LINENO: checking for struct sockaddr" >&5
++echo $ECHO_N "checking for struct sockaddr... $ECHO_C" >&6
++if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <sys/types.h>
++#if STDC_HEADERS
++#include <stdlib.h>
++#include <stddef.h>
++#endif
++#include <sys/socket.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct sockaddr foo;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_type_$cv=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_type_$cv=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++ac_foo=`eval echo \\$ac_cv_type_$cv`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++  ac_tr_hdr=HAVE_`echo struct sockaddr | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
++if false; then
++	echo "$as_me:$LINENO: checking for struct sockaddr" >&5
++echo $ECHO_N "checking for struct sockaddr... $ECHO_C" >&6
++if test "${ac_cv_type_struct_sockaddr+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++$ac_includes_default
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++if ((struct sockaddr *) 0)
++  return 0;
++if (sizeof (struct sockaddr))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_sockaddr=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_type_struct_sockaddr=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_sockaddr" >&5
++echo "${ECHO_T}$ac_cv_type_struct_sockaddr" >&6
++if test $ac_cv_type_struct_sockaddr = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRUCT_SOCKADDR 1
++_ACEOF
++
++
++fi
++
++fi
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_hdr 1
++_ACEOF
++
++fi
++
++
++
++
++cv=`echo "struct sockaddr_storage" | sed 'y%./+- %__p__%'`
++echo "$as_me:$LINENO: checking for struct sockaddr_storage" >&5
++echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6
++if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <sys/types.h>
++#if STDC_HEADERS
++#include <stdlib.h>
++#include <stddef.h>
++#endif
++#include <sys/socket.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct sockaddr_storage foo;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_type_$cv=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_type_$cv=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++ac_foo=`eval echo \\$ac_cv_type_$cv`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++  ac_tr_hdr=HAVE_`echo struct sockaddr_storage | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
++if false; then
++	echo "$as_me:$LINENO: checking for struct sockaddr_storage" >&5
++echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6
++if test "${ac_cv_type_struct_sockaddr_storage+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++$ac_includes_default
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++if ((struct sockaddr_storage *) 0)
++  return 0;
++if (sizeof (struct sockaddr_storage))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_sockaddr_storage=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_type_struct_sockaddr_storage=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_sockaddr_storage" >&5
++echo "${ECHO_T}$ac_cv_type_struct_sockaddr_storage" >&6
++if test $ac_cv_type_struct_sockaddr_storage = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRUCT_SOCKADDR_STORAGE 1
++_ACEOF
++
++
++fi
++
++fi
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_hdr 1
++_ACEOF
++
++fi
++
++
++
++
++cv=`echo "struct addrinfo" | sed 'y%./+- %__p__%'`
++echo "$as_me:$LINENO: checking for struct addrinfo" >&5
++echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6
++if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <sys/types.h>
++#if STDC_HEADERS
++#include <stdlib.h>
++#include <stddef.h>
++#endif
++#include <netdb.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct addrinfo foo;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_type_$cv=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_type_$cv=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++ac_foo=`eval echo \\$ac_cv_type_$cv`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++  ac_tr_hdr=HAVE_`echo struct addrinfo | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
++if false; then
++	echo "$as_me:$LINENO: checking for struct addrinfo" >&5
++echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6
++if test "${ac_cv_type_struct_addrinfo+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++$ac_includes_default
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++if ((struct addrinfo *) 0)
++  return 0;
++if (sizeof (struct addrinfo))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_addrinfo=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_type_struct_addrinfo=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_addrinfo" >&5
++echo "${ECHO_T}$ac_cv_type_struct_addrinfo" >&6
++if test $ac_cv_type_struct_addrinfo = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRUCT_ADDRINFO 1
++_ACEOF
++
++
++fi
++
++fi
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_hdr 1
++_ACEOF
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking for struct winsize" >&5
++echo $ECHO_N "checking for struct winsize... $ECHO_C" >&6
++if test "${ac_cv_struct_winsize+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++ac_cv_struct_winsize=no
++for i in sys/termios.h sys/ioctl.h; do
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <$i>
++
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  egrep "struct[ 	]*winsize" >/dev/null 2>&1; then
++  ac_cv_struct_winsize=yes; break
++fi
++rm -f conftest*
++done
++
++fi
++
++if test "$ac_cv_struct_winsize" = "yes"; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_STRUCT_WINSIZE 1
++_ACEOF
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_struct_winsize" >&5
++echo "${ECHO_T}$ac_cv_struct_winsize" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <termios.h>
++
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  egrep "ws_xpixel" >/dev/null 2>&1; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_WS_XPIXEL 1
++_ACEOF
++
++fi
++rm -f conftest*
++
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <termios.h>
++
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  egrep "ws_ypixel" >/dev/null 2>&1; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_WS_YPIXEL 1
++_ACEOF
++
++fi
++rm -f conftest*
++
++
++
++
++
++echo "$as_me:$LINENO: checking for struct spwd" >&5
++echo $ECHO_N "checking for struct spwd... $ECHO_C" >&6
++if test "${ac_cv_struct_spwd+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <pwd.h>
++#ifdef HAVE_SHADOW_H
++#include <shadow.h>
++#endif
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct spwd foo;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_struct_spwd=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_struct_spwd=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++
++fi
++
++echo "$as_me:$LINENO: result: $ac_cv_struct_spwd" >&5
++echo "${ECHO_T}$ac_cv_struct_spwd" >&6
++
++if test "$ac_cv_struct_spwd" = "yes"; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_STRUCT_SPWD 1
++_ACEOF
++
++fi
++
++
++
++
++
++echo "$as_me:$LINENO: checking for sa_len in struct sockaddr" >&5
++echo $ECHO_N "checking for sa_len in struct sockaddr... $ECHO_C" >&6
++if test "${ac_cv_type_struct_sockaddr_sa_len+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <sys/types.h>
++#include <sys/socket.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct sockaddr x; x.sa_len;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_sockaddr_sa_len=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_type_struct_sockaddr_sa_len=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_sockaddr_sa_len" >&5
++echo "${ECHO_T}$ac_cv_type_struct_sockaddr_sa_len" >&6
++if test "$ac_cv_type_struct_sockaddr_sa_len" = yes; then
++	
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_STRUCT_SOCKADDR_SA_LEN 1
++_ACEOF
++
++	
++fi
++
++
++
++
++
++for i in int8_t int16_t int32_t int64_t \
++	u_int8_t u_int16_t u_int32_t u_int64_t \
++	uint8_t uint16_t uint32_t uint64_t; do
++	echo "$as_me:$LINENO: checking for $i" >&5
++echo $ECHO_N "checking for $i... $ECHO_C" >&6
++	
++if eval "test \"\${ac_cv_type_$i+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef HAVE_INTTYPES_H
++#include <inttypes.h>
++#endif
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_BITYPES_H
++#include <sys/bitypes.h>
++#endif
++#ifdef HAVE_BIND_BITYPES_H
++#include <bind/bitypes.h>
++#endif
++#ifdef HAVE_NETINET_IN6_MACHTYPES_H
++#include <netinet/in6_machtypes.h>
++#endif
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++$i x;
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval ac_cv_type_$i=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval ac_cv_type_$i=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++
++	eval ac_res=\$ac_cv_type_$i
++	if test "$ac_res" = yes; then
++		type=HAVE_`echo $i | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`
++		cat >>confdefs.h <<_ACEOF
++@%:@define $type 1
++_ACEOF
++
++	fi
++	echo "$as_me:$LINENO: result: $ac_res" >&5
++echo "${ECHO_T}$ac_res" >&6
++done
++
++
++
++crypto_lib=unknown
++
++
++# Check whether --with-openssl or --without-openssl was given.
++if test "${with_openssl+set}" = set; then
++  withval="$with_openssl"
++  
++fi; 
++
++
++# Check whether --with-openssl-lib or --without-openssl-lib was given.
++if test "${with_openssl_lib+set}" = set; then
++  withval="$with_openssl_lib"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-openssl-lib" >&5
++echo "$as_me: error: No argument for --with-openssl-lib" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_openssl" = "X"; then
++  with_openssl=yes
++fi
++fi; 
++
++
++# Check whether --with-openssl-include or --without-openssl-include was given.
++if test "${with_openssl_include+set}" = set; then
++  withval="$with_openssl_include"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-openssl-include" >&5
++echo "$as_me: error: No argument for --with-openssl-include" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_openssl" = "X"; then
++  with_openssl=yes
++fi
++fi; 
++
++case "$with_openssl" in
++yes)	;;
++no)	;;
++"")	;;
++*)	if test "$with_openssl_include" = ""; then
++		with_openssl_include="$with_openssl/include"
++	fi
++	if test "$with_openssl_lib" = ""; then
++		with_openssl_lib="$with_openssl/lib$abilibdirext"
++	fi
++	;;
++esac
++
++
++DIR_des=
++
++echo "$as_me:$LINENO: checking for crypto library" >&5
++echo $ECHO_N "checking for crypto library... $ECHO_C" >&6
++
++if test "$crypto_lib" = "unknown" -a "$with_openssl" != "no"; then
++
++  save_CPPFLAGS="$CPPFLAGS"
++  save_LIBS="$LIBS"
++  INCLUDE_des=
++  LIB_des=
++  if test "$with_openssl_include" != ""; then
++    INCLUDE_des="-I${with_openssl}/include"
++  fi
++  if test "$with_openssl_lib" != ""; then
++    LIB_des="-L${with_openssl}/lib"
++  fi
++  CPPFLAGS="${INCLUDE_des} ${CPPFLAGS}"
++  LIB_des="${LIB_des} -lcrypto"
++  LIB_des_a="$LIB_des"
++  LIB_des_so="$LIB_des"
++  LIB_des_appl="$LIB_des"
++  LIBS="${LIBS} ${LIB_des}"
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++  #include <openssl/md4.h>
++  #include <openssl/md5.h>
++  #include <openssl/sha.h>
++  #include <openssl/des.h>
++  #include <openssl/rc4.h>
++  
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++    MD4_CTX md4;
++    MD5_CTX md5;
++    SHA_CTX sha1;
++
++    MD4_Init(&md4);
++    MD5_Init(&md5);
++    SHA1_Init(&sha1);
++
++    des_cbc_encrypt(0, 0, 0, 0, 0, 0);
++    RC4(0, 0, 0, 0);
++  
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  
++  crypto_lib=libcrypto
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_OPENSSL 1
++_ACEOF
++
++  echo "$as_me:$LINENO: result: libcrypto" >&5
++echo "${ECHO_T}libcrypto" >&6
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++  CPPFLAGS="$save_CPPFLAGS"
++  LIBS="$save_LIBS"
++fi
++
++if test "$crypto_lib" = "unknown" -a "$with_krb4" != "no"; then
++
++  save_CPPFLAGS="$CPPFLAGS"
++  save_LIBS="$LIBS"
++  INCLUDE_des="${INCLUDE_krb4}"
++  LIB_des=
++  if test "$krb4_libdir"; then
++    LIB_des="-L${krb4_libdir}"
++  fi
++  LIB_des="${LIB_des} -ldes"
++  CPPFLAGS="${CPPFLAGS} ${INCLUDE_des}"
++  LIBS="${LIBS} ${LIB_des}"
++  LIB_des_a="$LIB_des"
++  LIB_des_so="$LIB_des"
++  LIB_des_appl="$LIB_des"
++  LIBS="${LIBS} ${LIB_des}"
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++  #undef KRB5 /* makes md4.h et al unhappy */
++  #define KRB4
++  #include <md4.h>
++  #include <md5.h>
++  #include <sha.h>
++  #include <des.h>
++  #include <rc4.h>
++  
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++    MD4_CTX md4;
++    MD5_CTX md5;
++    SHA_CTX sha1;
++
++    MD4_Init(&md4);
++    MD5_Init(&md5);
++    SHA1_Init(&sha1);
++
++    des_cbc_encrypt(0, 0, 0, 0, 0, 0);
++    RC4(0, 0, 0, 0);
++  
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  crypto_lib=krb4; echo "$as_me:$LINENO: result: krb4's libdes" >&5
++echo "${ECHO_T}krb4's libdes" >&6
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++  CPPFLAGS="$save_CPPFLAGS"
++  LIBS="$save_LIBS"
++fi
++
++if test "$crypto_lib" = "unknown"; then
++
++  DIR_des='des'
++  LIB_des='$(top_builddir)/lib/des/libdes.la'
++  LIB_des_a='$(top_builddir)/lib/des/.libs/libdes.a'
++  LIB_des_so='$(top_builddir)/lib/des/.libs/libdes.so'
++  LIB_des_appl="-ldes"
++
++  echo "$as_me:$LINENO: result: included libdes" >&5
++echo "${ECHO_T}included libdes" >&6
++
++fi
++
++
++
++
++
++
++
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for el_init" >&5
++echo $ECHO_N "checking for el_init... $ECHO_C" >&6
++if test "${ac_cv_funclib_el_init+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_el_init\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" edit; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib $LIB_tgetent $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++el_init()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_el_init=$ac_lib; else ac_cv_funclib_el_init=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_el_init=\${ac_cv_funclib_el_init-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_el_init"
++
++if false; then
++	
++for ac_func in el_init
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# el_init
++eval "ac_tr_func=HAVE_`echo el_init | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_el_init=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_el_init=yes"
++	eval "LIB_el_init="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_el_init=no"
++	eval "LIB_el_init="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_el_init=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test "$ac_cv_func_el_init" = yes ; then
++	echo "$as_me:$LINENO: checking for four argument el_init" >&5
++echo $ECHO_N "checking for four argument el_init... $ECHO_C" >&6
++if test "${ac_cv_func_el_init_four+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <stdio.h>
++			#include <histedit.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++el_init("", NULL, NULL, NULL);
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_el_init_four=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_el_init_four=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_el_init_four" >&5
++echo "${ECHO_T}$ac_cv_func_el_init_four" >&6
++	if test "$ac_cv_func_el_init_four" = yes; then
++		
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_FOUR_VALUED_EL_INIT 1
++_ACEOF
++
++	fi
++fi
++
++
++ac_foo=no
++if test "$with_readline" = yes; then
++	:
++elif test "$ac_cv_func_readline" = yes; then
++	:
++elif test "$ac_cv_func_el_init" = yes; then
++	ac_foo=yes
++	DIR_readline="editline"
++	LIB_readline="\$(top_builddir)/lib/editline/libel_compat.la $LIB_el_init"
++else
++	DIR_readline="editline"
++	LIB_readline='$(top_builddir)/lib/editline/libeditline.la'
++fi
++
++
++if test "$ac_foo" = yes; then
++  el_compat_TRUE=
++  el_compat_FALSE='#'
++else
++  el_compat_TRUE='#'
++  el_compat_FALSE=
++fi
++LIB_readline="$LIB_readline \$(LIB_tgetent)"
++
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_READLINE 1
++_ACEOF
++
++
++
++
++
++cat >>confdefs.h <<\_ACEOF
++@%:@define AUTHENTICATION 1
++_ACEOF
++
++cat >>confdefs.h <<\_ACEOF
++@%:@define ENCRYPTION 1
++_ACEOF
++
++cat >>confdefs.h <<\_ACEOF
++@%:@define DES_ENCRYPTION 1
++_ACEOF
++
++cat >>confdefs.h <<\_ACEOF
++@%:@define DIAGNOSTICS 1
++_ACEOF
++
++cat >>confdefs.h <<\_ACEOF
++@%:@define OLD_ENVIRON 1
++_ACEOF
++if false; then
++
++cat >>confdefs.h <<\_ACEOF
++@%:@define ENV_HACK 1
++_ACEOF
++
++fi
++
++# Simple test for streamspty, based on the existance of getmsg(), alas
++# this breaks on SunOS4 which have streams but BSD-like ptys
++#
++# And also something wierd has happend with dec-osf1, fallback to bsd-ptys
++
++echo "$as_me:$LINENO: checking for getmsg" >&5
++echo $ECHO_N "checking for getmsg... $ECHO_C" >&6
++if test "${ac_cv_func_getmsg+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char getmsg (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char getmsg ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_getmsg) || defined (__stub___getmsg)
++choke me
++#else
++f = getmsg;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_getmsg=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_getmsg=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getmsg" >&5
++echo "${ECHO_T}$ac_cv_func_getmsg" >&6
++
++
++if test "$ac_cv_func_getmsg" = "yes"; then
++
++echo "$as_me:$LINENO: checking for working getmsg" >&5
++echo $ECHO_N "checking for working getmsg... $ECHO_C" >&6
++if test "${ac_cv_func_getmsg_work+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test "$cross_compiling" = yes; then
++  ac_cv_func_getmsg_work=no
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#include <stdio.h>
++#include <errno.h>
++
++int main()
++{
++  int ret;
++  ret = getmsg(open("/dev/null", 0), NULL, NULL, NULL);
++  if(ret < 0 && errno == ENOSYS)
++    return 1;
++  return 0;
++}
++
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_getmsg_work=yes
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++( exit $ac_status )
++ac_cv_func_getmsg_work=no
++fi
++rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getmsg_work" >&5
++echo "${ECHO_T}$ac_cv_func_getmsg_work" >&6
++test "$ac_cv_func_getmsg_work" = "yes" &&
++
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_GETMSG 1
++_ACEOF
++
++
++fi
++
++if test "$ac_cv_func_getmsg_work" = yes; then
++echo "$as_me:$LINENO: checking for streamspty" >&5
++echo $ECHO_N "checking for streamspty... $ECHO_C" >&6
++case "$host" in
++*-*-aix3*|*-*-sunos4*|*-*-osf*|*-*-hpux1[01]*)
++	krb_cv_sys_streamspty=no
++	;;
++*)
++	krb_cv_sys_streamspty=yes
++	;;
++esac
++echo "$as_me:$LINENO: result: $krb_cv_sys_streamspty" >&5
++echo "${ECHO_T}$krb_cv_sys_streamspty" >&6
++fi
++if test "$krb_cv_sys_streamspty" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define STREAMSPTY 1
++_ACEOF
++
++fi
++
++
++
++# Extract the first word of "compile_et", so it can be a program name with args.
++set dummy compile_et; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_COMPILE_ET+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$COMPILE_ET"; then
++  ac_cv_prog_COMPILE_ET="$COMPILE_ET" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_COMPILE_ET="compile_et"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++COMPILE_ET=$ac_cv_prog_COMPILE_ET
++if test -n "$COMPILE_ET"; then
++  echo "$as_me:$LINENO: result: $COMPILE_ET" >&5
++echo "${ECHO_T}$COMPILE_ET" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++
++krb_cv_compile_et="no"
++if test "${COMPILE_ET}" = "compile_et"; then
++
++echo "$as_me:$LINENO: checking whether compile_et has the features we need" >&5
++echo $ECHO_N "checking whether compile_et has the features we need... $ECHO_C" >&6
++cat > conftest_et.et <<'EOF'
++error_table conf
++prefix CONFTEST
++index 1
++error_code CODE1, "CODE1"
++index 128
++error_code CODE2, "CODE2"
++end
++EOF
++if ${COMPILE_ET} conftest_et.et >/dev/null 2>&1; then
++    save_CPPFLAGS="${save_CPPFLAGS}"
++  if test -d "/usr/include/et"; then
++    CPPFLAGS="-I/usr/include/et ${CPPFLAGS}"
++  fi
++    if test "$cross_compiling" = yes; then
++  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
++echo "$as_me: error: cannot run test program while cross compiling" >&2;}
++   { (exit 1); exit 1; }; }
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#include <com_err.h>
++#include <string.h>
++#include "conftest_et.h"
++int main(){return (CONFTEST_CODE2 - CONFTEST_CODE1) != 127;}
++  
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  krb_cv_compile_et="yes"
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++( exit $ac_status )
++CPPFLAGS="${save_CPPFLAGS}"
++fi
++rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++fi
++echo "$as_me:$LINENO: result: ${krb_cv_compile_et}" >&5
++echo "${ECHO_T}${krb_cv_compile_et}" >&6
++rm -fr conftest*
++fi
++
++if test "${krb_cv_compile_et}" = "yes"; then
++    krb_cv_save_LIBS="${LIBS}"
++  LIBS="${LIBS} -lcom_err"
++  echo "$as_me:$LINENO: checking for com_err" >&5
++echo $ECHO_N "checking for com_err... $ECHO_C" >&6
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <com_err.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++    const char *p;
++    p = error_message(0);
++  
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  krb_cv_com_err="yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++krb_cv_com_err="no"; CPPFLAGS="${save_CPPFLAGS}"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++  echo "$as_me:$LINENO: result: ${krb_cv_com_err}" >&5
++echo "${ECHO_T}${krb_cv_com_err}" >&6
++  LIBS="${krb_cv_save_LIBS}"
++else
++    krb_cv_com_err="no"
++fi
++
++if test "${krb_cv_com_err}" = "yes"; then
++    DIR_com_err=""
++    LIB_com_err="-lcom_err"
++    LIB_com_err_a=""
++    LIB_com_err_so=""
++    { echo "$as_me:$LINENO: Using the already-installed com_err" >&5
++echo "$as_me: Using the already-installed com_err" >&6;}
++else
++    COMPILE_ET="\$(top_builddir)/lib/com_err/compile_et"
++    DIR_com_err="com_err"
++    LIB_com_err="\$(top_builddir)/lib/com_err/libcom_err.la"
++    LIB_com_err_a="\$(top_builddir)/lib/com_err/.libs/libcom_err.a"
++    LIB_com_err_so="\$(top_builddir)/lib/com_err/.libs/libcom_err.so"
++    { echo "$as_me:$LINENO: Using our own com_err" >&5
++echo "$as_me: Using our own com_err" >&6;}
++fi
++
++
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking which authentication modules should be built" >&5
++echo $ECHO_N "checking which authentication modules should be built... $ECHO_C" >&6
++
++LIB_AUTH_SUBDIRS=
++
++if test "$ac_cv_header_siad_h" = yes; then
++	LIB_AUTH_SUBDIRS="$LIB_AUTH_SUBDIRS sia"
++fi
++
++if test "$ac_cv_header_security_pam_modules_h" = yes -a "$enable_shared" = yes; then
++	LIB_AUTH_SUBDIRS="$LIB_AUTH_SUBDIRS pam"
++fi
++
++case "${host}" in
++*-*-irix[56]*) LIB_AUTH_SUBDIRS="$LIB_AUTH_SUBDIRS afskauthlib" ;;
++esac
++
++echo "$as_me:$LINENO: result: $LIB_AUTH_SUBDIRS" >&5
++echo "${ECHO_T}$LIB_AUTH_SUBDIRS" >&6
++
++
++
++
++test "x$prefix" = xNONE && prefix=$ac_default_prefix
++test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
++
++for i in bin lib libexec sbin; do
++	i=${i}dir
++	foo=`echo $i | tr 'xindiscernible' 'XINDISCERNIBLE'`
++	x="\$${i}"
++	eval y="$x"
++	while test "x$y" != "x$x"; do
++		x="$y"
++		eval y="$x"
++	done
++	cat >>confdefs.h <<_ACEOF
++@%:@define $foo "$x"
++_ACEOF
++
++done
++
++
++
++LTLIBOBJS=`echo "$LIBOBJS" | sed 's/\.o/\.lo/g'`
++
++ac_config_files="$ac_config_files Makefile include/Makefile include/kadm5/Makefile lib/Makefile lib/45/Makefile lib/auth/Makefile lib/auth/afskauthlib/Makefile lib/auth/pam/Makefile lib/auth/sia/Makefile lib/asn1/Makefile lib/com_err/Makefile lib/des/Makefile lib/editline/Makefile lib/gssapi/Makefile lib/hdb/Makefile lib/kadm5/Makefile lib/kafs/Makefile lib/kdfs/Makefile lib/krb5/Makefile lib/otp/Makefile lib/roken/Makefile lib/sl/Makefile lib/vers/Makefile kuser/Makefile kpasswd/Makefile kadmin/Makefile admin/Makefile kdc/Makefile appl/Makefile appl/afsutil/Makefile appl/ftp/Makefile appl/ftp/common/Makefile appl/ftp/ftp/Makefile appl/ftp/ftpd/Makefile appl/kx/Makefile appl/login/Makefile appl/otp/Makefile appl/popper/Makefile appl/push/Makefile appl/rsh/Makefile appl/rcp/Makefile appl/su/Makefile appl/xnlock/Makefile appl/telnet/Makefile appl/telnet/libtelnet/Makefile appl/telnet/telnet/Makefile appl/telnet/telnetd/Makefile appl/test/Makefile appl/kf/Makefile appl/dceutils/Makefile doc/Makefile tools/Makefile"
++
++
++cat >confcache <<\_ACEOF
++# 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, see configure's option --config-cache.
++# It is not useful on other systems.  If it contains results you don't
++# want to keep, you may remove or edit it.
++#
++# config.status only pays attention to the cache file if you give it
++# the --recheck option to rerun configure.
++#
++# `ac_cv_env_foo' variables (set or unset) will be overriden when
++# loading this file, other *unset* `ac_cv_foo' will be assigned the
++# following values.
++
++_ACEOF
++
++# The following way of writing the cache mishandles newlines in values,
++# but we know of no workaround that is simple, portable, and efficient.
++# So, don't put newlines in cache variables' values.
++# Ultrix sh set writes to stderr and can't be redirected directly,
++# and sets the high bit in the cache file unless we assign to the vars.
++{
++  (set) 2>&1 |
++    case `(ac_space=' '; set | grep ac_space) 2>&1` in
++    *ac_space=\ *)
++      # `set' does not quote correctly, so add quotes (double-quote
++      # substitution turns \\\\ into \\, and sed turns \\ into \).
++      sed -n \
++        "s/'/'\\\\''/g;
++    	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
++      ;;
++    *)
++      # `set' quotes correctly as required by POSIX, so do not add quotes.
++      sed -n \
++        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
++      ;;
++    esac;
++} |
++  sed '
++     t clear
++     : clear
++     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
++     t end
++     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
++     : end' >>confcache
++if cmp -s $cache_file confcache; then :; else
++  if test -w $cache_file; then
++    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
++    cat confcache >$cache_file
++  else
++    echo "not updating unwritable cache $cache_file"
++  fi
++fi
++rm -f confcache
++
++test "x$prefix" = xNONE && prefix=$ac_default_prefix
++# Let make expand exec_prefix.
++test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
++
++# VPATH may cause trouble with some makes, so we remove $(srcdir),
++# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
++# trailing colons and then remove the whole line if VPATH becomes empty
++# (actually we leave an empty line to preserve line numbers).
++if test "x$srcdir" = x.; then
++  ac_vpsub='/^[ 	]*VPATH[ 	]*=/{
++s/:*\$(srcdir):*/:/;
++s/:*\${srcdir}:*/:/;
++s/:*@srcdir@:*/:/;
++s/^\([^=]*=[ 	]*\):*/\1/;
++s/:*$//;
++s/^[^=]*=[ 	]*$//;
++}'
++fi
++
++DEFS=-DHAVE_CONFIG_H
++
++
++: ${CONFIG_STATUS=./config.status}
++ac_clean_files_save=$ac_clean_files
++ac_clean_files="$ac_clean_files $CONFIG_STATUS"
++{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
++echo "$as_me: creating $CONFIG_STATUS" >&6;}
++cat >$CONFIG_STATUS <<_ACEOF
++#! $SHELL
++# Generated by $as_me.
++# Run this file to recreate the current configuration.
++# Compiler output produced by configure, useful for debugging
++# configure, is in config.log if it exists.
++
++debug=false
++SHELL=\${CONFIG_SHELL-$SHELL}
++_ACEOF
++
++cat >>$CONFIG_STATUS <<\_ACEOF
++
++## --------------------- ##
++## M4sh Initialization.  ##
++## --------------------- ##
++
++# Be Bourne compatible
++if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
++  emulate sh
++  NULLCMD=:
++elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
++  set -o posix
++fi
++
++# NLS nuisances.
++# Support unset when possible.
++if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
++  as_unset=unset
++else
++  as_unset=false
++fi
++
++(set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
++    { $as_unset LANG || test "${LANG+set}" != set; } ||
++      { LANG=C; export LANG; }
++(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
++    { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
++      { LC_ALL=C; export LC_ALL; }
++(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
++    { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
++      { LC_TIME=C; export LC_TIME; }
++(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
++    { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
++      { LC_CTYPE=C; export LC_CTYPE; }
++(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
++    { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
++      { LANGUAGE=C; export LANGUAGE; }
++(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
++    { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
++      { LC_COLLATE=C; export LC_COLLATE; }
++(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
++    { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
++      { LC_NUMERIC=C; export LC_NUMERIC; }
++(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
++    { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
++      { LC_MESSAGES=C; export LC_MESSAGES; }
++
++
++# Name of the executable.
++as_me=`(basename "$0") 2>/dev/null ||
++$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
++	 X"$0" : 'X\(//\)$' \| \
++	 X"$0" : 'X\(/\)$' \| \
++	 .     : '\(.\)' 2>/dev/null ||
++echo X/"$0" |
++    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
++  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
++  	  /^X\/\(\/\).*/{ s//\1/; q; }
++  	  s/.*/./; q'`
++
++# PATH needs CR, and LINENO needs CR and PATH.
++# Avoid depending upon Character Ranges.
++as_cr_letters='abcdefghijklmnopqrstuvwxyz'
++as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
++as_cr_Letters=$as_cr_letters$as_cr_LETTERS
++as_cr_digits='0123456789'
++as_cr_alnum=$as_cr_Letters$as_cr_digits
++
++# The user is always right.
++if test "${PATH_SEPARATOR+set}" != set; then
++  echo "#! /bin/sh" >conftest.sh
++  echo  "exit 0"   >>conftest.sh
++  chmod +x conftest.sh
++  if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
++    PATH_SEPARATOR=';'
++  else
++    PATH_SEPARATOR=:
++  fi
++  rm -f conftest.sh
++fi
++
++
++  as_lineno_1=$LINENO
++  as_lineno_2=$LINENO
++  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
++  test "x$as_lineno_1" != "x$as_lineno_2" &&
++  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
++  # Find who we are.  Look in the path if we contain no path at all
++  # relative or not.
++  case $0 in
++    *[\\/]* ) as_myself=$0 ;;
++    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
++done
++
++       ;;
++  esac
++  # We did not find ourselves, most probably we were run as `sh COMMAND'
++  # in which case we are not to be found in the path.
++  if test "x$as_myself" = x; then
++    as_myself=$0
++  fi
++  if test ! -f "$as_myself"; then
++    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
++echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
++   { (exit 1); exit 1; }; }
++  fi
++  case $CONFIG_SHELL in
++  '')
++    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for as_base in sh bash ksh sh5; do
++	 case $as_dir in
++	 /*)
++	   if ("$as_dir/$as_base" -c '
++  as_lineno_1=$LINENO
++  as_lineno_2=$LINENO
++  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
++  test "x$as_lineno_1" != "x$as_lineno_2" &&
++  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
++	     CONFIG_SHELL=$as_dir/$as_base
++	     export CONFIG_SHELL
++	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
++	   fi;;
++	 esac
++       done
++done
++;;
++  esac
++
++  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
++  # uniformly replaced by the line number.  The first 'sed' inserts a
++  # line-number line before each line; the second 'sed' does the real
++  # work.  The second script uses 'N' to pair each line-number line
++  # with the numbered line, and appends trailing '-' during
++  # substitution so that $LINENO is not a special case at line end.
++  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
++  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
++  sed '=' <$as_myself |
++    sed '
++      N
++      s,$,-,
++      : loop
++      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
++      t loop
++      s,-$,,
++      s,^['$as_cr_digits']*\n,,
++    ' >$as_me.lineno &&
++  chmod +x $as_me.lineno ||
++    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
++echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
++   { (exit 1); exit 1; }; }
++
++  # Don't try to exec as it changes $[0], causing all sort of problems
++  # (the dirname of $[0] is not the place where we might find the
++  # original and so on.  Autoconf is especially sensible to this).
++  . ./$as_me.lineno
++  # Exit status is that of the last command.
++  exit
++}
++
++
++case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
++  *c*,-n*) ECHO_N= ECHO_C='
++' ECHO_T='	' ;;
++  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
++  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
++esac
++
++if expr a : '\(a\)' >/dev/null 2>&1; then
++  as_expr=expr
++else
++  as_expr=false
++fi
++
++rm -f conf$$ conf$$.exe conf$$.file
++echo >conf$$.file
++if ln -s conf$$.file conf$$ 2>/dev/null; then
++  # We could just check for DJGPP; but this test a) works b) is more generic
++  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
++  if test -f conf$$.exe; then
++    # Don't use ln at all; we don't have any links
++    as_ln_s='cp -p'
++  else
++    as_ln_s='ln -s'
++  fi
++elif ln conf$$.file conf$$ 2>/dev/null; then
++  as_ln_s=ln
++else
++  as_ln_s='cp -p'
++fi
++rm -f conf$$ conf$$.exe conf$$.file
++
++as_executable_p="test -f"
++
++# Sed expression to map a string onto a valid CPP name.
++as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
++
++# Sed expression to map a string onto a valid variable name.
++as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
++
++
++# IFS
++# We need space, tab and new line, in precisely that order.
++as_nl='
++'
++IFS=" 	$as_nl"
++
++# CDPATH.
++$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
++
++exec 6>&1
++
++# Open the log real soon, to keep \$[0] and so on meaningful, and to
++# report actual input values of CONFIG_FILES etc. instead of their
++# values after options handling.  Logging --version etc. is OK.
++exec 5>>config.log
++{
++  echo
++  sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
++@%:@@%:@ Running $as_me. @%:@@%:@
++_ASBOX
++} >&5
++cat >&5 <<_CSEOF
++
++This file was extended by heimdal $as_me 0.4e, which was
++generated by GNU Autoconf 2.53.  Invocation command line was
++
++  CONFIG_FILES    = $CONFIG_FILES
++  CONFIG_HEADERS  = $CONFIG_HEADERS
++  CONFIG_LINKS    = $CONFIG_LINKS
++  CONFIG_COMMANDS = $CONFIG_COMMANDS
++  $ $0 $@
++
++_CSEOF
++echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
++echo >&5
++_ACEOF
++
++# Files that config.status was made for.
++if test -n "$ac_config_files"; then
++  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
++fi
++
++if test -n "$ac_config_headers"; then
++  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
++fi
++
++if test -n "$ac_config_links"; then
++  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
++fi
++
++if test -n "$ac_config_commands"; then
++  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
++fi
++
++cat >>$CONFIG_STATUS <<\_ACEOF
++
++ac_cs_usage="\
++\`$as_me' instantiates files from templates according to the
++current configuration.
++
++Usage: $0 [OPTIONS] [FILE]...
++
++  -h, --help       print this help, then exit
++  -V, --version    print version number, then exit
++  -d, --debug      don't remove temporary files
++      --recheck    update $as_me by reconfiguring in the same conditions
++  --file=FILE[:TEMPLATE]
++                   instantiate the configuration file FILE
++  --header=FILE[:TEMPLATE]
++                   instantiate the configuration header FILE
++
++Configuration files:
++$config_files
++
++Configuration headers:
++$config_headers
++
++Configuration commands:
++$config_commands
++
++Report bugs to <bug-autoconf@gnu.org>."
++_ACEOF
++
++cat >>$CONFIG_STATUS <<_ACEOF
++ac_cs_version="\\
++heimdal config.status 0.4e
++configured by $0, generated by GNU Autoconf 2.53,
++  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
++
++Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
++Free Software Foundation, Inc.
++This config.status script is free software; the Free Software Foundation
++gives unlimited permission to copy, distribute and modify it."
++srcdir=$srcdir
++INSTALL="$INSTALL"
++_ACEOF
++
++cat >>$CONFIG_STATUS <<\_ACEOF
++# If no file are specified by the user, then we need to provide default
++# value.  By we need to know if files were specified by the user.
++ac_need_defaults=:
++while test $# != 0
++do
++  case $1 in
++  --*=*)
++    ac_option=`expr "x$1" : 'x\([^=]*\)='`
++    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
++    shift
++    set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
++    shift
++    ;;
++  -*);;
++  *) # This is not an option, so the user has probably given explicit
++     # arguments.
++     ac_need_defaults=false;;
++  esac
++
++  case $1 in
++  # Handling of the options.
++_ACEOF
++cat >>$CONFIG_STATUS <<_ACEOF
++  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
++    echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
++    exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
++_ACEOF
++cat >>$CONFIG_STATUS <<\_ACEOF
++  --version | --vers* | -V )
++    echo "$ac_cs_version"; exit 0 ;;
++  --he | --h)
++    # Conflict between --help and --header
++    { { echo "$as_me:$LINENO: error: ambiguous option: $1
++Try \`$0 --help' for more information." >&5
++echo "$as_me: error: ambiguous option: $1
++Try \`$0 --help' for more information." >&2;}
++   { (exit 1); exit 1; }; };;
++  --help | --hel | -h )
++    echo "$ac_cs_usage"; exit 0 ;;
++  --debug | --d* | -d )
++    debug=: ;;
++  --file | --fil | --fi | --f )
++    shift
++    CONFIG_FILES="$CONFIG_FILES $1"
++    ac_need_defaults=false;;
++  --header | --heade | --head | --hea )
++    shift
++    CONFIG_HEADERS="$CONFIG_HEADERS $1"
++    ac_need_defaults=false;;
++
++  # This is an error.
++  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
++Try \`$0 --help' for more information." >&5
++echo "$as_me: error: unrecognized option: $1
++Try \`$0 --help' for more information." >&2;}
++   { (exit 1); exit 1; }; } ;;
++
++  *) ac_config_targets="$ac_config_targets $1" ;;
++
++  esac
++  shift
++done
++
++_ACEOF
++
++cat >>$CONFIG_STATUS <<_ACEOF
++#
++# INIT-COMMANDS section.
++#
++
++AMDEP_TRUE="$AMDEP_TRUE"
++ac_aux_dir="$ac_aux_dir"
++
++_ACEOF
++
++
++
++cat >>$CONFIG_STATUS <<\_ACEOF
++for ac_config_target in $ac_config_targets
++do
++  case "$ac_config_target" in
++  # Handling of arguments.
++  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
++  "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
++  "include/kadm5/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/kadm5/Makefile" ;;
++  "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
++  "lib/45/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/45/Makefile" ;;
++  "lib/auth/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/auth/Makefile" ;;
++  "lib/auth/afskauthlib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/auth/afskauthlib/Makefile" ;;
++  "lib/auth/pam/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/auth/pam/Makefile" ;;
++  "lib/auth/sia/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/auth/sia/Makefile" ;;
++  "lib/asn1/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/asn1/Makefile" ;;
++  "lib/com_err/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/com_err/Makefile" ;;
++  "lib/des/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/des/Makefile" ;;
++  "lib/editline/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/editline/Makefile" ;;
++  "lib/gssapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/gssapi/Makefile" ;;
++  "lib/hdb/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/hdb/Makefile" ;;
++  "lib/kadm5/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/kadm5/Makefile" ;;
++  "lib/kafs/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/kafs/Makefile" ;;
++  "lib/kdfs/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/kdfs/Makefile" ;;
++  "lib/krb5/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/krb5/Makefile" ;;
++  "lib/otp/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/otp/Makefile" ;;
++  "lib/roken/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/roken/Makefile" ;;
++  "lib/sl/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/sl/Makefile" ;;
++  "lib/vers/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/vers/Makefile" ;;
++  "kuser/Makefile" ) CONFIG_FILES="$CONFIG_FILES kuser/Makefile" ;;
++  "kpasswd/Makefile" ) CONFIG_FILES="$CONFIG_FILES kpasswd/Makefile" ;;
++  "kadmin/Makefile" ) CONFIG_FILES="$CONFIG_FILES kadmin/Makefile" ;;
++  "admin/Makefile" ) CONFIG_FILES="$CONFIG_FILES admin/Makefile" ;;
++  "kdc/Makefile" ) CONFIG_FILES="$CONFIG_FILES kdc/Makefile" ;;
++  "appl/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/Makefile" ;;
++  "appl/afsutil/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/afsutil/Makefile" ;;
++  "appl/ftp/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/ftp/Makefile" ;;
++  "appl/ftp/common/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/ftp/common/Makefile" ;;
++  "appl/ftp/ftp/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/ftp/ftp/Makefile" ;;
++  "appl/ftp/ftpd/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/ftp/ftpd/Makefile" ;;
++  "appl/kx/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/kx/Makefile" ;;
++  "appl/login/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/login/Makefile" ;;
++  "appl/otp/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/otp/Makefile" ;;
++  "appl/popper/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/popper/Makefile" ;;
++  "appl/push/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/push/Makefile" ;;
++  "appl/rsh/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/rsh/Makefile" ;;
++  "appl/rcp/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/rcp/Makefile" ;;
++  "appl/su/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/su/Makefile" ;;
++  "appl/xnlock/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/xnlock/Makefile" ;;
++  "appl/telnet/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/telnet/Makefile" ;;
++  "appl/telnet/libtelnet/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/telnet/libtelnet/Makefile" ;;
++  "appl/telnet/telnet/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/telnet/telnet/Makefile" ;;
++  "appl/telnet/telnetd/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/telnet/telnetd/Makefile" ;;
++  "appl/test/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/test/Makefile" ;;
++  "appl/kf/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/kf/Makefile" ;;
++  "appl/dceutils/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/dceutils/Makefile" ;;
++  "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
++  "tools/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
++  "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
++  "include/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
++  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
++echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
++   { (exit 1); exit 1; }; };;
++  esac
++done
++
++# If the user did not use the arguments to specify the items to instantiate,
++# then the envvar interface is used.  Set only those that are not.
++# We use the long form for the default assignment because of an extremely
++# bizarre bug on SunOS 4.1.3.
++if $ac_need_defaults; then
++  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
++  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
++  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
++fi
++
++# Create a temporary directory, and hook for its removal unless debugging.
++$debug ||
++{
++  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
++  trap '{ (exit 1); exit 1; }' 1 2 13 15
++}
++
++# Create a (secure) tmp directory for tmp files.
++: ${TMPDIR=/tmp}
++{
++  tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
++  test -n "$tmp" && test -d "$tmp"
++}  ||
++{
++  tmp=$TMPDIR/cs$$-$RANDOM
++  (umask 077 && mkdir $tmp)
++} ||
++{
++   echo "$me: cannot create a temporary directory in $TMPDIR" >&2
++   { (exit 1); exit 1; }
++}
++
++_ACEOF
++
++cat >>$CONFIG_STATUS <<_ACEOF
++
++#
++# CONFIG_FILES section.
++#
++
++# No need to generate the scripts if there are no CONFIG_FILES.
++# This happens for instance when ./config.status config.h
++if test -n "\$CONFIG_FILES"; then
++  # Protect against being on the right side of a sed subst in config.status.
++  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
++   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
++s,@SHELL@,$SHELL,;t t
++s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
++s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
++s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
++s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
++s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
++s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
++s,@exec_prefix@,$exec_prefix,;t t
++s,@prefix@,$prefix,;t t
++s,@program_transform_name@,$program_transform_name,;t t
++s,@bindir@,$bindir,;t t
++s,@sbindir@,$sbindir,;t t
++s,@libexecdir@,$libexecdir,;t t
++s,@datadir@,$datadir,;t t
++s,@sysconfdir@,$sysconfdir,;t t
++s,@sharedstatedir@,$sharedstatedir,;t t
++s,@localstatedir@,$localstatedir,;t t
++s,@libdir@,$libdir,;t t
++s,@includedir@,$includedir,;t t
++s,@oldincludedir@,$oldincludedir,;t t
++s,@infodir@,$infodir,;t t
++s,@mandir@,$mandir,;t t
++s,@build_alias@,$build_alias,;t t
++s,@host_alias@,$host_alias,;t t
++s,@target_alias@,$target_alias,;t t
++s,@DEFS@,$DEFS,;t t
++s,@ECHO_C@,$ECHO_C,;t t
++s,@ECHO_N@,$ECHO_N,;t t
++s,@ECHO_T@,$ECHO_T,;t t
++s,@LIBS@,$LIBS,;t t
++s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
++s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
++s,@MAINT@,$MAINT,;t t
++s,@CC@,$CC,;t t
++s,@CFLAGS@,$CFLAGS,;t t
++s,@LDFLAGS@,$LDFLAGS,;t t
++s,@CPPFLAGS@,$CPPFLAGS,;t t
++s,@ac_ct_CC@,$ac_ct_CC,;t t
++s,@EXEEXT@,$EXEEXT,;t t
++s,@OBJEXT@,$OBJEXT,;t t
++s,@CPP@,$CPP,;t t
++s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
++s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
++s,@INSTALL_DATA@,$INSTALL_DATA,;t t
++s,@PACKAGE@,$PACKAGE,;t t
++s,@VERSION@,$VERSION,;t t
++s,@ACLOCAL@,$ACLOCAL,;t t
++s,@AUTOCONF@,$AUTOCONF,;t t
++s,@AUTOMAKE@,$AUTOMAKE,;t t
++s,@AUTOHEADER@,$AUTOHEADER,;t t
++s,@MAKEINFO@,$MAKEINFO,;t t
++s,@AMTAR@,$AMTAR,;t t
++s,@install_sh@,$install_sh,;t t
++s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
++s,@AWK@,$AWK,;t t
++s,@SET_MAKE@,$SET_MAKE,;t t
++s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
++s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
++s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
++s,@DEPDIR@,$DEPDIR,;t t
++s,@am__include@,$am__include,;t t
++s,@am__quote@,$am__quote,;t t
++s,@CCDEPMODE@,$CCDEPMODE,;t t
++s,@build@,$build,;t t
++s,@build_cpu@,$build_cpu,;t t
++s,@build_vendor@,$build_vendor,;t t
++s,@build_os@,$build_os,;t t
++s,@host@,$host,;t t
++s,@host_cpu@,$host_cpu,;t t
++s,@host_vendor@,$host_vendor,;t t
++s,@host_os@,$host_os,;t t
++s,@CANONICAL_HOST@,$CANONICAL_HOST,;t t
++s,@YACC@,$YACC,;t t
++s,@LEX@,$LEX,;t t
++s,@LEXLIB@,$LEXLIB,;t t
++s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
++s,@RANLIB@,$RANLIB,;t t
++s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
++s,@LN_S@,$LN_S,;t t
++s,@ECHO@,$ECHO,;t t
++s,@STRIP@,$STRIP,;t t
++s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
++s,@LIBTOOL@,$LIBTOOL,;t t
++s,@WFLAGS@,$WFLAGS,;t t
++s,@WFLAGS_NOUNUSED@,$WFLAGS_NOUNUSED,;t t
++s,@WFLAGS_NOIMPLICITINT@,$WFLAGS_NOIMPLICITINT,;t t
++s,@LIB_db_create@,$LIB_db_create,;t t
++s,@LIB_dbopen@,$LIB_dbopen,;t t
++s,@LIB_dbm_firstkey@,$LIB_dbm_firstkey,;t t
++s,@DBLIB@,$DBLIB,;t t
++s,@LIB_NDBM@,$LIB_NDBM,;t t
++s,@LIB_crypt@,$LIB_crypt,;t t
++s,@LIB_roken@,$LIB_roken,;t t
++s,@DIR_roken@,$DIR_roken,;t t
++s,@CPPFLAGS_roken@,$CPPFLAGS_roken,;t t
++s,@VOID_RETSIGTYPE@,$VOID_RETSIGTYPE,;t t
++s,@have_err_h_TRUE@,$have_err_h_TRUE,;t t
++s,@have_err_h_FALSE@,$have_err_h_FALSE,;t t
++s,@have_fnmatch_h_TRUE@,$have_fnmatch_h_TRUE,;t t
++s,@have_fnmatch_h_FALSE@,$have_fnmatch_h_FALSE,;t t
++s,@have_ifaddrs_h_TRUE@,$have_ifaddrs_h_TRUE,;t t
++s,@have_ifaddrs_h_FALSE@,$have_ifaddrs_h_FALSE,;t t
++s,@have_vis_h_TRUE@,$have_vis_h_TRUE,;t t
++s,@have_vis_h_FALSE@,$have_vis_h_FALSE,;t t
++s,@LIB_socket@,$LIB_socket,;t t
++s,@LIB_gethostbyname@,$LIB_gethostbyname,;t t
++s,@LIB_syslog@,$LIB_syslog,;t t
++s,@LIB_gethostbyname2@,$LIB_gethostbyname2,;t t
++s,@LIB_res_search@,$LIB_res_search,;t t
++s,@LIB_dn_expand@,$LIB_dn_expand,;t t
++s,@have_glob_h_TRUE@,$have_glob_h_TRUE,;t t
++s,@have_glob_h_FALSE@,$have_glob_h_FALSE,;t t
++s,@LIB_getsockopt@,$LIB_getsockopt,;t t
++s,@LIB_setsockopt@,$LIB_setsockopt,;t t
++s,@LIB_hstrerror@,$LIB_hstrerror,;t t
++s,@LIBOBJS@,$LIBOBJS,;t t
++s,@LIB_bswap16@,$LIB_bswap16,;t t
++s,@LIB_bswap32@,$LIB_bswap32,;t t
++s,@LIB_pidfile@,$LIB_pidfile,;t t
++s,@LIB_getaddrinfo@,$LIB_getaddrinfo,;t t
++s,@LIB_getnameinfo@,$LIB_getnameinfo,;t t
++s,@LIB_freeaddrinfo@,$LIB_freeaddrinfo,;t t
++s,@LIB_gai_strerror@,$LIB_gai_strerror,;t t
++s,@INCLUDES_roken@,$INCLUDES_roken,;t t
++s,@DIR_openldap@,$DIR_openldap,;t t
++s,@INCLUDE_openldap@,$INCLUDE_openldap,;t t
++s,@LIB_openldap@,$LIB_openldap,;t t
++s,@DIR_krb4@,$DIR_krb4,;t t
++s,@INCLUDE_krb4@,$INCLUDE_krb4,;t t
++s,@LIB_krb4@,$LIB_krb4,;t t
++s,@EXTRA_LIB45@,$EXTRA_LIB45,;t t
++s,@LIB_krb_enable_debug@,$LIB_krb_enable_debug,;t t
++s,@LIB_krb_disable_debug@,$LIB_krb_disable_debug,;t t
++s,@LIB_krb_get_our_ip_for_realm@,$LIB_krb_get_our_ip_for_realm,;t t
++s,@KRB4_TRUE@,$KRB4_TRUE,;t t
++s,@KRB4_FALSE@,$KRB4_FALSE,;t t
++s,@KRB5_TRUE@,$KRB5_TRUE,;t t
++s,@KRB5_FALSE@,$KRB5_FALSE,;t t
++s,@do_roken_rename_TRUE@,$do_roken_rename_TRUE,;t t
++s,@do_roken_rename_FALSE@,$do_roken_rename_FALSE,;t t
++s,@LIB_kdb@,$LIB_kdb,;t t
++s,@DCE_TRUE@,$DCE_TRUE,;t t
++s,@DCE_FALSE@,$DCE_FALSE,;t t
++s,@dpagaix_CFLAGS@,$dpagaix_CFLAGS,;t t
++s,@dpagaix_LDADD@,$dpagaix_LDADD,;t t
++s,@LIB_otp@,$LIB_otp,;t t
++s,@OTP_TRUE@,$OTP_TRUE,;t t
++s,@OTP_FALSE@,$OTP_FALSE,;t t
++s,@LIB_security@,$LIB_security,;t t
++s,@NROFF@,$NROFF,;t t
++s,@GROFF@,$GROFF,;t t
++s,@CATMAN@,$CATMAN,;t t
++s,@CATMAN_TRUE@,$CATMAN_TRUE,;t t
++s,@CATMAN_FALSE@,$CATMAN_FALSE,;t t
++s,@CATMANEXT@,$CATMANEXT,;t t
++s,@DIR_readline@,$DIR_readline,;t t
++s,@INCLUDE_readline@,$INCLUDE_readline,;t t
++s,@LIB_readline@,$LIB_readline,;t t
++s,@DIR_hesiod@,$DIR_hesiod,;t t
++s,@INCLUDE_hesiod@,$INCLUDE_hesiod,;t t
++s,@LIB_hesiod@,$LIB_hesiod,;t t
++s,@DIR_sl@,$DIR_sl,;t t
++s,@INCLUDE_sl@,$INCLUDE_sl,;t t
++s,@LIB_sl@,$LIB_sl,;t t
++s,@DIR_ss@,$DIR_ss,;t t
++s,@INCLUDE_ss@,$INCLUDE_ss,;t t
++s,@LIB_ss@,$LIB_ss,;t t
++s,@DIR_otp@,$DIR_otp,;t t
++s,@INCLUDE_otp@,$INCLUDE_otp,;t t
++s,@AIX_TRUE@,$AIX_TRUE,;t t
++s,@AIX_FALSE@,$AIX_FALSE,;t t
++s,@AIX4_TRUE@,$AIX4_TRUE,;t t
++s,@AIX4_FALSE@,$AIX4_FALSE,;t t
++s,@AIX_DYNAMIC_AFS_TRUE@,$AIX_DYNAMIC_AFS_TRUE,;t t
++s,@AIX_DYNAMIC_AFS_FALSE@,$AIX_DYNAMIC_AFS_FALSE,;t t
++s,@LIB_dlopen@,$LIB_dlopen,;t t
++s,@HAVE_DLOPEN_TRUE@,$HAVE_DLOPEN_TRUE,;t t
++s,@HAVE_DLOPEN_FALSE@,$HAVE_DLOPEN_FALSE,;t t
++s,@AIX_EXTRA_KAFS@,$AIX_EXTRA_KAFS,;t t
++s,@IRIX_TRUE@,$IRIX_TRUE,;t t
++s,@IRIX_FALSE@,$IRIX_FALSE,;t t
++s,@X_CFLAGS@,$X_CFLAGS,;t t
++s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
++s,@X_LIBS@,$X_LIBS,;t t
++s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
++s,@HAVE_X_TRUE@,$HAVE_X_TRUE,;t t
++s,@HAVE_X_FALSE@,$HAVE_X_FALSE,;t t
++s,@LIB_XauWriteAuth@,$LIB_XauWriteAuth,;t t
++s,@LIB_XauReadAuth@,$LIB_XauReadAuth,;t t
++s,@LIB_XauFileName@,$LIB_XauFileName,;t t
++s,@NEED_WRITEAUTH_TRUE@,$NEED_WRITEAUTH_TRUE,;t t
++s,@NEED_WRITEAUTH_FALSE@,$NEED_WRITEAUTH_FALSE,;t t
++s,@LIB_logwtmp@,$LIB_logwtmp,;t t
++s,@LIB_logout@,$LIB_logout,;t t
++s,@LIB_openpty@,$LIB_openpty,;t t
++s,@LIB_tgetent@,$LIB_tgetent,;t t
++s,@LIB_getpwnam_r@,$LIB_getpwnam_r,;t t
++s,@DIR_des@,$DIR_des,;t t
++s,@INCLUDE_des@,$INCLUDE_des,;t t
++s,@LIB_des@,$LIB_des,;t t
++s,@LIB_des_a@,$LIB_des_a,;t t
++s,@LIB_des_so@,$LIB_des_so,;t t
++s,@LIB_des_appl@,$LIB_des_appl,;t t
++s,@LIB_el_init@,$LIB_el_init,;t t
++s,@el_compat_TRUE@,$el_compat_TRUE,;t t
++s,@el_compat_FALSE@,$el_compat_FALSE,;t t
++s,@COMPILE_ET@,$COMPILE_ET,;t t
++s,@DIR_com_err@,$DIR_com_err,;t t
++s,@LIB_com_err@,$LIB_com_err,;t t
++s,@LIB_com_err_a@,$LIB_com_err_a,;t t
++s,@LIB_com_err_so@,$LIB_com_err_so,;t t
++s,@LIB_AUTH_SUBDIRS@,$LIB_AUTH_SUBDIRS,;t t
++s,@LTLIBOBJS@,$LTLIBOBJS,;t t
++CEOF
++
++_ACEOF
++
++  cat >>$CONFIG_STATUS <<\_ACEOF
++  # 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_lines=48
++  ac_sed_frag=1 # Number of current file.
++  ac_beg=1 # First line for current file.
++  ac_end=$ac_max_sed_lines # 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" $tmp/subs.sed >$tmp/subs.frag
++    else
++      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
++    fi
++    if test ! -s $tmp/subs.frag; then
++      ac_more_lines=false
++    else
++      # The purpose of the label and of the branching condition is to
++      # speed up the sed processing (if there are no `@' at all, there
++      # is no need to browse any of the substitutions).
++      # These are the two extra sed commands mentioned above.
++      (echo ':t
++  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
++      if test -z "$ac_sed_cmds"; then
++  	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
++      else
++  	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
++      fi
++      ac_sed_frag=`expr $ac_sed_frag + 1`
++      ac_beg=$ac_end
++      ac_end=`expr $ac_end + $ac_max_sed_lines`
++    fi
++  done
++  if test -z "$ac_sed_cmds"; then
++    ac_sed_cmds=cat
++  fi
++fi # test -n "$CONFIG_FILES"
++
++_ACEOF
++cat >>$CONFIG_STATUS <<\_ACEOF
++for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
++  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
++  case $ac_file in
++  - | *:- | *:-:* ) # input from stdin
++        cat >$tmp/stdin
++        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
++        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
++  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
++        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
++  * )   ac_file_in=$ac_file.in ;;
++  esac
++
++  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
++  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
++$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++         X"$ac_file" : 'X\(//\)[^/]' \| \
++         X"$ac_file" : 'X\(//\)$' \| \
++         X"$ac_file" : 'X\(/\)' \| \
++         .     : '\(.\)' 2>/dev/null ||
++echo X"$ac_file" |
++    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
++  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
++  	  /^X\(\/\/\)$/{ s//\1/; q; }
++  	  /^X\(\/\).*/{ s//\1/; q; }
++  	  s/.*/./; q'`
++  { case "$ac_dir" in
++  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
++  *)                      as_incr_dir=.;;
++esac
++as_dummy="$ac_dir"
++for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
++  case $as_mkdir_dir in
++    # Skip DOS drivespec
++    ?:) as_incr_dir=$as_mkdir_dir ;;
++    *)
++      as_incr_dir=$as_incr_dir/$as_mkdir_dir
++      test -d "$as_incr_dir" ||
++        mkdir "$as_incr_dir" ||
++	{ { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
++echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
++   { (exit 1); exit 1; }; }
++    ;;
++  esac
++done; }
++
++  ac_builddir=.
++
++if test "$ac_dir" != .; then
++  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
++  # A "../" for each directory in $ac_dir_suffix.
++  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
++else
++  ac_dir_suffix= ac_top_builddir=
++fi
++
++case $srcdir in
++  .)  # No --srcdir option.  We are building in place.
++    ac_srcdir=.
++    if test -z "$ac_top_builddir"; then
++       ac_top_srcdir=.
++    else
++       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
++    fi ;;
++  [\\/]* | ?:[\\/]* )  # Absolute path.
++    ac_srcdir=$srcdir$ac_dir_suffix;
++    ac_top_srcdir=$srcdir ;;
++  *) # Relative path.
++    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
++    ac_top_srcdir=$ac_top_builddir$srcdir ;;
++esac
++# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
++# absolute.
++ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
++ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
++ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
++ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
++
++
++  case $INSTALL in
++  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
++  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
++  esac
++
++  if test x"$ac_file" != x-; then
++    { echo "$as_me:$LINENO: creating $ac_file" >&5
++echo "$as_me: creating $ac_file" >&6;}
++    rm -f "$ac_file"
++  fi
++  # Let's still pretend it is `configure' which instantiates (i.e., don't
++  # use $as_me), people would be surprised to read:
++  #    /* config.h.  Generated by config.status.  */
++  if test x"$ac_file" = x-; then
++    configure_input=
++  else
++    configure_input="$ac_file.  "
++  fi
++  configure_input=$configure_input"Generated from `echo $ac_file_in |
++                                     sed 's,.*/,,'` by configure."
++
++  # First look for the input files in the build tree, otherwise in the
++  # src tree.
++  ac_file_inputs=`IFS=:
++    for f in $ac_file_in; do
++      case $f in
++      -) echo $tmp/stdin ;;
++      [\\/$]*)
++         # Absolute (can't be DOS-style, as IFS=:)
++         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
++echo "$as_me: error: cannot find input file: $f" >&2;}
++   { (exit 1); exit 1; }; }
++         echo $f;;
++      *) # Relative
++         if test -f "$f"; then
++           # Build tree
++           echo $f
++         elif test -f "$srcdir/$f"; then
++           # Source tree
++           echo $srcdir/$f
++         else
++           # /dev/null tree
++           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
++echo "$as_me: error: cannot find input file: $f" >&2;}
++   { (exit 1); exit 1; }; }
++         fi;;
++      esac
++    done` || { (exit 1); exit 1; }
++_ACEOF
++cat >>$CONFIG_STATUS <<_ACEOF
++  sed "$ac_vpsub
++$extrasub
++_ACEOF
++cat >>$CONFIG_STATUS <<\_ACEOF
++:t
++/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
++s,@configure_input@,$configure_input,;t t
++s,@srcdir@,$ac_srcdir,;t t
++s,@abs_srcdir@,$ac_abs_srcdir,;t t
++s,@top_srcdir@,$ac_top_srcdir,;t t
++s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
++s,@builddir@,$ac_builddir,;t t
++s,@abs_builddir@,$ac_abs_builddir,;t t
++s,@top_builddir@,$ac_top_builddir,;t t
++s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
++s,@INSTALL@,$ac_INSTALL,;t t
++" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
++  rm -f $tmp/stdin
++  if test x"$ac_file" != x-; then
++    mv $tmp/out $ac_file
++  else
++    cat $tmp/out
++    rm -f $tmp/out
++  fi
++
++done
++_ACEOF
++cat >>$CONFIG_STATUS <<\_ACEOF
++
++#
++# CONFIG_HEADER section.
++#
++
++# 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=' '
++ac_dD=',;t'
++# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
++ac_uA='s,^\([ 	]*\)#\([ 	]*\)undef\([ 	][ 	]*\)'
++ac_uB='$,\1#\2define\3'
++ac_uC=' '
++ac_uD=',;t'
++
++for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
++  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
++  case $ac_file in
++  - | *:- | *:-:* ) # input from stdin
++        cat >$tmp/stdin
++        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
++        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
++  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
++        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
++  * )   ac_file_in=$ac_file.in ;;
++  esac
++
++  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
++echo "$as_me: creating $ac_file" >&6;}
++
++  # First look for the input files in the build tree, otherwise in the
++  # src tree.
++  ac_file_inputs=`IFS=:
++    for f in $ac_file_in; do
++      case $f in
++      -) echo $tmp/stdin ;;
++      [\\/$]*)
++         # Absolute (can't be DOS-style, as IFS=:)
++         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
++echo "$as_me: error: cannot find input file: $f" >&2;}
++   { (exit 1); exit 1; }; }
++         echo $f;;
++      *) # Relative
++         if test -f "$f"; then
++           # Build tree
++           echo $f
++         elif test -f "$srcdir/$f"; then
++           # Source tree
++           echo $srcdir/$f
++         else
++           # /dev/null tree
++           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
++echo "$as_me: error: cannot find input file: $f" >&2;}
++   { (exit 1); exit 1; }; }
++         fi;;
++      esac
++    done` || { (exit 1); exit 1; }
++  # Remove the trailing spaces.
++  sed 's/[ 	]*$//' $ac_file_inputs >$tmp/in
++
++_ACEOF
++
++# Transform confdefs.h into two sed scripts, `conftest.defines' and
++# `conftest.undefs', that substitutes the proper values into
++# config.h.in to produce config.h.  The first handles `#define'
++# templates, and the second `#undef' templates.
++# 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.defines conftest.undefs
++# Using a here document instead of a string reduces the quoting nightmare.
++# Putting comments in sed scripts is not portable.
++#
++# `end' is used to avoid that the second main sed command (meant for
++# 0-ary CPP macros) applies to n-ary macro definitions.
++# See the Autoconf documentation for `clear'.
++cat >confdef2sed.sed <<\_ACEOF
++s/[\\&,]/\\&/g
++s,[\\$`],\\&,g
++t clear
++: clear
++s,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	(][^ 	(]*\)\(([^)]*)\)[ 	]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
++t end
++s,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	][^ 	]*\)[ 	]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
++: end
++_ACEOF
++# If some macros were called several times there might be several times
++# the same #defines, which is useless.  Nevertheless, we may not want to
++# sort them, since we want the *last* AC-DEFINE to be honored.
++uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
++sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
++rm -f confdef2sed.sed
++
++# 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.undefs <<\_ACEOF
++s,^[ 	]*#[ 	]*undef[ 	][ 	]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
++_ACEOF
++
++# Break up conftest.defines because some shells have a limit on the size
++# of here documents, and old seds have small limits too (100 cmds).
++echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
++echo '  if egrep "^[ 	]*#[ 	]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
++echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
++echo '  :' >>$CONFIG_STATUS
++rm -f conftest.tail
++while grep . conftest.defines >/dev/null
++do
++  # Write a limited-size here document to $tmp/defines.sed.
++  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
++  # Speed up: don't consider the non `#define' lines.
++  echo '/^[ 	]*#[ 	]*define/!b' >>$CONFIG_STATUS
++  # Work around the forget-to-reset-the-flag bug.
++  echo 't clr' >>$CONFIG_STATUS
++  echo ': clr' >>$CONFIG_STATUS
++  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
++  echo 'CEOF
++  sed -f $tmp/defines.sed $tmp/in >$tmp/out
++  rm -f $tmp/in
++  mv $tmp/out $tmp/in
++' >>$CONFIG_STATUS
++  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
++  rm -f conftest.defines
++  mv conftest.tail conftest.defines
++done
++rm -f conftest.defines
++echo '  fi # egrep' >>$CONFIG_STATUS
++echo >>$CONFIG_STATUS
++
++# Break up conftest.undefs because some shells have a limit on the size
++# of here documents, and old seds have small limits too (100 cmds).
++echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
++rm -f conftest.tail
++while grep . conftest.undefs >/dev/null
++do
++  # Write a limited-size here document to $tmp/undefs.sed.
++  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
++  # Speed up: don't consider the non `#undef'
++  echo '/^[ 	]*#[ 	]*undef/!b' >>$CONFIG_STATUS
++  # Work around the forget-to-reset-the-flag bug.
++  echo 't clr' >>$CONFIG_STATUS
++  echo ': clr' >>$CONFIG_STATUS
++  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
++  echo 'CEOF
++  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
++  rm -f $tmp/in
++  mv $tmp/out $tmp/in
++' >>$CONFIG_STATUS
++  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
++  rm -f conftest.undefs
++  mv conftest.tail conftest.undefs
++done
++rm -f conftest.undefs
++
++cat >>$CONFIG_STATUS <<\_ACEOF
++  # Let's still pretend it is `configure' which instantiates (i.e., don't
++  # use $as_me), people would be surprised to read:
++  #    /* config.h.  Generated by config.status.  */
++  if test x"$ac_file" = x-; then
++    echo "/* Generated by configure.  */" >$tmp/config.h
++  else
++    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
++  fi
++  cat $tmp/in >>$tmp/config.h
++  rm -f $tmp/in
++  if test x"$ac_file" != x-; then
++    if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
++      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
++echo "$as_me: $ac_file is unchanged" >&6;}
++    else
++      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
++$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++         X"$ac_file" : 'X\(//\)[^/]' \| \
++         X"$ac_file" : 'X\(//\)$' \| \
++         X"$ac_file" : 'X\(/\)' \| \
++         .     : '\(.\)' 2>/dev/null ||
++echo X"$ac_file" |
++    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
++  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
++  	  /^X\(\/\/\)$/{ s//\1/; q; }
++  	  /^X\(\/\).*/{ s//\1/; q; }
++  	  s/.*/./; q'`
++      { case "$ac_dir" in
++  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
++  *)                      as_incr_dir=.;;
++esac
++as_dummy="$ac_dir"
++for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
++  case $as_mkdir_dir in
++    # Skip DOS drivespec
++    ?:) as_incr_dir=$as_mkdir_dir ;;
++    *)
++      as_incr_dir=$as_incr_dir/$as_mkdir_dir
++      test -d "$as_incr_dir" ||
++        mkdir "$as_incr_dir" ||
++	{ { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
++echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
++   { (exit 1); exit 1; }; }
++    ;;
++  esac
++done; }
++
++      rm -f $ac_file
++      mv $tmp/config.h $ac_file
++    fi
++  else
++    cat $tmp/config.h
++    rm -f $tmp/config.h
++  fi
++  # Run the commands associated with the file.
++  case $ac_file in
++    include/config.h ) # update the timestamp
++echo timestamp >"include/stamp-h1"
++ ;;
++  esac
++done
++_ACEOF
++cat >>$CONFIG_STATUS <<\_ACEOF
++
++#
++# CONFIG_COMMANDS section.
++#
++for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
++  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
++  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
++  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
++$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++         X"$ac_dest" : 'X\(//\)[^/]' \| \
++         X"$ac_dest" : 'X\(//\)$' \| \
++         X"$ac_dest" : 'X\(/\)' \| \
++         .     : '\(.\)' 2>/dev/null ||
++echo X"$ac_dest" |
++    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
++  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
++  	  /^X\(\/\/\)$/{ s//\1/; q; }
++  	  /^X\(\/\).*/{ s//\1/; q; }
++  	  s/.*/./; q'`
++  ac_builddir=.
++
++if test "$ac_dir" != .; then
++  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
++  # A "../" for each directory in $ac_dir_suffix.
++  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
++else
++  ac_dir_suffix= ac_top_builddir=
++fi
++
++case $srcdir in
++  .)  # No --srcdir option.  We are building in place.
++    ac_srcdir=.
++    if test -z "$ac_top_builddir"; then
++       ac_top_srcdir=.
++    else
++       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
++    fi ;;
++  [\\/]* | ?:[\\/]* )  # Absolute path.
++    ac_srcdir=$srcdir$ac_dir_suffix;
++    ac_top_srcdir=$srcdir ;;
++  *) # Relative path.
++    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
++    ac_top_srcdir=$ac_top_builddir$srcdir ;;
++esac
++# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
++# absolute.
++ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
++ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
++ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
++ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
++
++
++  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
++echo "$as_me: executing $ac_dest commands" >&6;}
++  case $ac_dest in
++    default-1 ) 
++test x"$AMDEP_TRUE" != x"" ||
++for mf in $CONFIG_FILES; do
++  case "$mf" in
++  Makefile) dirpart=.;;
++  */Makefile) dirpart=`echo "$mf" | sed -e 's|/[^/]*$||'`;;
++  *) continue;;
++  esac
++  grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
++  # Extract the definition of DEP_FILES from the Makefile without
++  # running `make'.
++  DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
++  test -z "$DEPDIR" && continue
++  # When using ansi2knr, U may be empty or an underscore; expand it
++  U=`sed -n -e '/^U = / s///p' < "$mf"`
++  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
++  # We invoke sed twice because it is the simplest approach to
++  # changing $(DEPDIR) to its actual value in the expansion.
++  for file in `sed -n -e '
++    /^DEP_FILES = .*\\\\$/ {
++      s/^DEP_FILES = //
++      :loop
++	s/\\\\$//
++	p
++	n
++	/\\\\$/ b loop
++      p
++    }
++    /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
++       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
++    # Make sure the directory exists.
++    test -f "$dirpart/$file" && continue
++    fdir=`echo "$file" | sed -e 's|/[^/]*$||'`
++    $ac_aux_dir/mkinstalldirs "$dirpart/$fdir" > /dev/null 2>&1
++    # echo "creating $dirpart/$file"
++    echo '# dummy' > "$dirpart/$file"
++  done
++done
++ ;;
++  esac
++done
++_ACEOF
++
++cat >>$CONFIG_STATUS <<\_ACEOF
++
++{ (exit 0); exit 0; }
++_ACEOF
++chmod +x $CONFIG_STATUS
++ac_clean_files=$ac_clean_files_save
++
++
++# configure is writing to config.log, and then calls config.status.
++# config.status does its own redirection, appending to config.log.
++# Unfortunately, on DOS this fails, as config.log is still kept open
++# by configure, so config.status won't be able to write to it; its
++# output is simply discarded.  So we exec the FD to /dev/null,
++# effectively closing config.log, so it can be properly (re)opened and
++# appended to by config.status.  When coming back to configure, we
++# need to make the FD available again.
++if test "$no_create" != yes; then
++  ac_cs_success=:
++  exec 5>/dev/null
++  $SHELL $CONFIG_STATUS || ac_cs_success=false
++  exec 5>>config.log
++  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
++  # would make configure fail if this is the last instruction.
++  $ac_cs_success || { (exit 1); exit 1; }
++fi
++
++
++HEIMDALVERSION="$PACKAGE-$VERSION"
++
++cat > include/newversion.h.in <<EOF
++const char *heimdal_long_version = "@(#)\$Version: $HEIMDALVERSION by @USER@ on @HOST@ ($host) @DATE@ \$";
++const char *heimdal_version = "$HEIMDALVERSION";
++EOF
++
++if test -f include/version.h && cmp -s include/newversion.h.in include/version.h.in; then
++	echo "include/version.h is unchanged"
++	rm -f include/newversion.h.in
++else
++ 	echo "creating include/version.h"
++ 	User=${USER-${LOGNAME}}
++ 	Host=`(hostname || uname -n || echo unknown) 2>/dev/null | sed 1q`
++ 	Date=`date`
++	mv -f include/newversion.h.in include/version.h.in
++	sed -e "s/@USER@/$User/" -e "s/@HOST@/$Host/" -e "s/@DATE@/$Date/" include/version.h.in > include/version.h
++fi
+diff -ruN heimdal-0.4e-old/autom4te.cache/requests heimdal-0.4e/autom4te.cache/requests
+--- heimdal-0.4e-old/autom4te.cache/requests	Thu Jan  1 10:00:00 1970
++++ heimdal-0.4e/autom4te.cache/requests	Sat Jun 15 19:35:14 2002
+@@ -0,0 +1,94 @@
++# This file was created by autom4te.
++# It contains the lists of macros which have been traced.
++# It can be safely removed.
++
++@request = (
++             bless( [
++                      '0',
++                      1,
++                      [
++                        '/usr/share/autoconf'
++                      ],
++                      [
++                        '--reload-state=/usr/share/autoconf/autoconf/autoconf.m4f',
++                        'aclocal.m4',
++                        'configure.in'
++                      ],
++                      {
++                        'AC_HEADER_STAT' => 1,
++                        'AC_FUNC_STRFTIME' => 1,
++                        'AC_PROG_RANLIB' => 1,
++                        'AC_FUNC_WAIT3' => 1,
++                        'AC_FUNC_SETPGRP' => 1,
++                        'AC_HEADER_TIME' => 1,
++                        'AC_FUNC_SETVBUF_REVERSED' => 1,
++                        'AC_HEADER_SYS_WAIT' => 1,
++                        'AC_TYPE_UID_T' => 1,
++                        'AC_CHECK_LIB' => 1,
++                        'AM_CONDITIONAL' => 1,
++                        'AC_PROG_LN_S' => 1,
++                        'AC_FUNC_MEMCMP' => 1,
++                        'AC_FUNC_FORK' => 1,
++                        'AC_FUNC_GETGROUPS' => 1,
++                        'AC_HEADER_MAJOR' => 1,
++                        'AC_FUNC_STRTOD' => 1,
++                        'AC_HEADER_DIRENT' => 1,
++                        'AC_FUNC_UTIME_NULL' => 1,
++                        'AC_CONFIG_FILES' => 1,
++                        'AC_FUNC_ALLOCA' => 1,
++                        'AC_C_CONST' => 1,
++                        'include' => 1,
++                        'AC_FUNC_OBSTACK' => 1,
++                        'AC_FUNC_LSTAT' => 1,
++                        'AC_STRUCT_TIMEZONE' => 1,
++                        'AC_FUNC_GETPGRP' => 1,
++                        'AC_DEFINE_TRACE_LITERAL' => 1,
++                        'AC_CHECK_HEADERS' => 1,
++                        'AC_TYPE_MODE_T' => 1,
++                        'AC_CHECK_TYPES' => 1,
++                        'AC_PROG_YACC' => 1,
++                        'AC_FUNC_STRERROR_R' => 1,
++                        'AC_TYPE_PID_T' => 1,
++                        'AC_STRUCT_ST_BLOCKS' => 1,
++                        'AC_PROG_GCC_TRADITIONAL' => 1,
++                        'AC_TYPE_SIGNAL' => 1,
++                        'AC_FUNC_FNMATCH' => 1,
++                        'AC_PROG_CPP' => 1,
++                        'AM_PROG_LIBTOOL' => 1,
++                        'AC_FUNC_STAT' => 1,
++                        'AC_PROG_INSTALL' => 1,
++                        'AM_GNU_GETTEXT' => 1,
++                        'AC_FUNC_STRCOLL' => 1,
++                        'AC_LIBSOURCE' => 1,
++                        'AC_C_INLINE' => 1,
++                        'AC_FUNC_CHOWN' => 1,
++                        'AC_PROG_LEX' => 1,
++                        'AH_OUTPUT' => 1,
++                        'AC_HEADER_STDC' => 1,
++                        'AC_FUNC_GETLOADAVG' => 1,
++                        'AC_CHECK_FUNCS' => 1,
++                        'AC_TYPE_SIZE_T' => 1,
++                        'AC_DECL_SYS_SIGLIST' => 1,
++                        'AC_FUNC_MKTIME' => 1,
++                        'AC_PROG_MAKE_SET' => 1,
++                        'AC_PROG_CXX' => 1,
++                        'm4_pattern_allow' => 1,
++                        'm4_include' => 1,
++                        'm4_pattern_forbid' => 1,
++                        'AC_PROG_AWK' => 1,
++                        'AC_FUNC_VPRINTF' => 1,
++                        'AC_CONFIG_HEADERS' => 1,
++                        'AC_PATH_X' => 1,
++                        'AC_TYPE_OFF_T' => 1,
++                        'AC_FUNC_MALLOC' => 1,
++                        'AC_FUNC_ERROR_AT_LINE' => 1,
++                        'AC_FUNC_FSEEKO' => 1,
++                        'AC_STRUCT_TM' => 1,
++                        'AC_FUNC_MMAP' => 1,
++                        'AC_SUBST' => 1,
++                        'AC_PROG_LIBTOOL' => 1,
++                        'AC_PROG_CC' => 1
++                      }
++                    ], 'Request' )
++           );
++
+diff -ruN heimdal-0.4e-old/autom4te.cache/traces.0 heimdal-0.4e/autom4te.cache/traces.0
+--- heimdal-0.4e-old/autom4te.cache/traces.0	Thu Jan  1 10:00:00 1970
++++ heimdal-0.4e/autom4te.cache/traces.0	Sat Jun 15 19:35:13 2002
+@@ -0,0 +1,1949 @@
++m4trace:configure.in:4: -1- m4_pattern_forbid([^_?A[CHUM]_])
++m4trace:configure.in:4: -1- m4_pattern_forbid([_AC_])
++m4trace:configure.in:4: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs. LIBOBJS'])
++m4trace:configure.in:4: -1- m4_pattern_allow([^AS_FLAGS$])
++m4trace:configure.in:4: -1- m4_pattern_forbid([^_?m4_])
++m4trace:configure.in:4: -1- m4_pattern_forbid([^dnl$])
++m4trace:configure.in:4: -1- m4_pattern_forbid([^_?AS_])
++m4trace:configure.in:4: -1- AC_SUBST([SHELL], [${CONFIG_SHELL-/bin/sh}])
++m4trace:configure.in:4: -1- AC_SUBST([PATH_SEPARATOR])
++m4trace:configure.in:4: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME],      ['AC_PACKAGE_NAME'])])
++m4trace:configure.in:4: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME],   ['AC_PACKAGE_TARNAME'])])
++m4trace:configure.in:4: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION],   ['AC_PACKAGE_VERSION'])])
++m4trace:configure.in:4: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING],    ['AC_PACKAGE_STRING'])])
++m4trace:configure.in:4: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])])
++m4trace:configure.in:4: -1- AC_SUBST([exec_prefix], [NONE])
++m4trace:configure.in:4: -1- AC_SUBST([prefix], [NONE])
++m4trace:configure.in:4: -1- AC_SUBST([program_transform_name], [s,x,x,])
++m4trace:configure.in:4: -1- AC_SUBST([bindir], ['${exec_prefix}/bin'])
++m4trace:configure.in:4: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin'])
++m4trace:configure.in:4: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec'])
++m4trace:configure.in:4: -1- AC_SUBST([datadir], ['${prefix}/share'])
++m4trace:configure.in:4: -1- AC_SUBST([sysconfdir], ['${prefix}/etc'])
++m4trace:configure.in:4: -1- AC_SUBST([sharedstatedir], ['${prefix}/com'])
++m4trace:configure.in:4: -1- AC_SUBST([localstatedir], ['${prefix}/var'])
++m4trace:configure.in:4: -1- AC_SUBST([libdir], ['${exec_prefix}/lib'])
++m4trace:configure.in:4: -1- AC_SUBST([includedir], ['${prefix}/include'])
++m4trace:configure.in:4: -1- AC_SUBST([oldincludedir], ['/usr/include'])
++m4trace:configure.in:4: -1- AC_SUBST([infodir], ['${prefix}/info'])
++m4trace:configure.in:4: -1- AC_SUBST([mandir], ['${prefix}/man'])
++m4trace:configure.in:4: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME])
++m4trace:configure.in:4: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */
++#undef PACKAGE_NAME])
++m4trace:configure.in:4: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME])
++m4trace:configure.in:4: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */
++#undef PACKAGE_TARNAME])
++m4trace:configure.in:4: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION])
++m4trace:configure.in:4: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */
++#undef PACKAGE_VERSION])
++m4trace:configure.in:4: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING])
++m4trace:configure.in:4: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */
++#undef PACKAGE_STRING])
++m4trace:configure.in:4: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT])
++m4trace:configure.in:4: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */
++#undef PACKAGE_BUGREPORT])
++m4trace:configure.in:4: -1- AC_SUBST([build_alias])
++m4trace:configure.in:4: -1- AC_SUBST([host_alias])
++m4trace:configure.in:4: -1- AC_SUBST([target_alias])
++m4trace:configure.in:4: -1- AC_SUBST([DEFS])
++m4trace:configure.in:4: -1- AC_SUBST([ECHO_C])
++m4trace:configure.in:4: -1- AC_SUBST([ECHO_N])
++m4trace:configure.in:4: -1- AC_SUBST([ECHO_T])
++m4trace:configure.in:4: -1- AC_SUBST([LIBS])
++m4trace:configure.in:5: -1- AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
++m4trace:configure.in:5: -1- AC_SUBST([MAINTAINER_MODE_TRUE])
++m4trace:configure.in:5: -1- AC_SUBST([MAINTAINER_MODE_FALSE])
++m4trace:configure.in:5: -1- AC_SUBST([MAINT])
++m4trace:configure.in:6: -1- AC_CONFIG_HEADERS([include/config.h], [# update the timestamp
++echo timestamp >"AS_ESCAPE(_AM_DIRNAME(include/config.h))/stamp-h1"
++])
++m4trace:configure.in:9: -1- AC_PROG_CC
++m4trace:configure.in:9: -1- AC_SUBST([CC])
++m4trace:configure.in:9: -1- AC_SUBST([CFLAGS])
++m4trace:configure.in:9: -1- AC_SUBST([LDFLAGS])
++m4trace:configure.in:9: -1- AC_SUBST([CPPFLAGS])
++m4trace:configure.in:9: -1- AC_SUBST([CC])
++m4trace:configure.in:9: -1- AC_SUBST([ac_ct_CC])
++m4trace:configure.in:9: -1- AC_SUBST([CC])
++m4trace:configure.in:9: -1- AC_SUBST([ac_ct_CC])
++m4trace:configure.in:9: -1- AC_SUBST([CC])
++m4trace:configure.in:9: -1- AC_SUBST([CC])
++m4trace:configure.in:9: -1- AC_SUBST([ac_ct_CC])
++m4trace:configure.in:9: -1- AC_SUBST([EXEEXT], [$ac_cv_exeext])
++m4trace:configure.in:9: -1- AC_SUBST([OBJEXT], [$ac_cv_objext])
++m4trace:configure.in:10: -1- AC_PROG_CPP
++m4trace:configure.in:10: -1- AC_SUBST([CPP])
++m4trace:configure.in:10: -1- AC_SUBST([CPPFLAGS])
++m4trace:configure.in:10: -1- AC_SUBST([CPP])
++m4trace:configure.in:13: -1- AC_PROG_INSTALL
++m4trace:configure.in:13: -1- AC_SUBST([INSTALL_PROGRAM])
++m4trace:configure.in:13: -1- AC_SUBST([INSTALL_SCRIPT])
++m4trace:configure.in:13: -1- AC_SUBST([INSTALL_DATA])
++m4trace:configure.in:13: -1- AC_SUBST([PACKAGE])
++m4trace:configure.in:13: -1- AC_SUBST([VERSION])
++m4trace:configure.in:13: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE])
++m4trace:configure.in:13: -1- AH_OUTPUT([PACKAGE], [/* Name of package */
++#undef PACKAGE])
++m4trace:configure.in:13: -1- AC_DEFINE_TRACE_LITERAL([VERSION])
++m4trace:configure.in:13: -1- AH_OUTPUT([VERSION], [/* Version number of package */
++#undef VERSION])
++m4trace:configure.in:13: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS])
++m4trace:configure.in:13: -1- AC_SUBST([EXEEXT])
++m4trace:configure.in:13: -1- AC_SUBST([OBJEXT])
++m4trace:configure.in:13: -1- AC_SUBST([ACLOCAL])
++m4trace:configure.in:13: -1- AC_SUBST([AUTOCONF])
++m4trace:configure.in:13: -1- AC_SUBST([AUTOMAKE])
++m4trace:configure.in:13: -1- AC_SUBST([AUTOHEADER])
++m4trace:configure.in:13: -1- AC_SUBST([MAKEINFO])
++m4trace:configure.in:13: -1- AC_SUBST([AMTAR])
++m4trace:configure.in:13: -1- AC_SUBST([install_sh])
++m4trace:configure.in:13: -1- AC_SUBST([INSTALL_STRIP_PROGRAM])
++m4trace:configure.in:13: -1- AC_PROG_AWK
++m4trace:configure.in:13: -1- AC_SUBST([AWK])
++m4trace:configure.in:13: -1- AC_PROG_MAKE_SET
++m4trace:configure.in:13: -1- AC_SUBST([SET_MAKE])
++m4trace:configure.in:13: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
++m4trace:configure.in:13: -1- AC_SUBST([AMDEP_TRUE])
++m4trace:configure.in:13: -1- AC_SUBST([AMDEP_FALSE])
++m4trace:configure.in:13: -1- AC_SUBST([DEPDIR])
++m4trace:configure.in:13: -1- AC_SUBST([am__include])
++m4trace:configure.in:13: -1- AC_SUBST([am__quote])
++m4trace:configure.in:13: -1- AC_SUBST([CCDEPMODE])
++m4trace:configure.in:17: -1- AC_SUBST([build], [$ac_cv_build])
++m4trace:configure.in:17: -1- AC_SUBST([build_cpu], [`echo $ac_cv_build | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\1/'`])
++m4trace:configure.in:17: -1- AC_SUBST([build_vendor], [`echo $ac_cv_build | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\2/'`])
++m4trace:configure.in:17: -1- AC_SUBST([build_os], [`echo $ac_cv_build | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\3/'`])
++m4trace:configure.in:17: -1- AC_SUBST([host], [$ac_cv_host])
++m4trace:configure.in:17: -1- AC_SUBST([host_cpu], [`echo $ac_cv_host | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\1/'`])
++m4trace:configure.in:17: -1- AC_SUBST([host_vendor], [`echo $ac_cv_host | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\2/'`])
++m4trace:configure.in:17: -1- AC_SUBST([host_os], [`echo $ac_cv_host | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\3/'`])
++m4trace:configure.in:19: -1- AC_SUBST([CANONICAL_HOST])
++m4trace:configure.in:38: -1- AC_DEFINE_TRACE_LITERAL([SunOS])
++m4trace:configure.in:38: -1- AH_OUTPUT([SunOS], [/* Define to what version of SunOS you are running. */
++#undef SunOS])
++m4trace:configure.in:57: -1- AC_PROG_YACC
++m4trace:configure.in:57: -1- AC_SUBST([YACC])
++m4trace:configure.in:58: -1- AC_SUBST([LEX])
++m4trace:configure.in:58: -1- AC_PROG_LEX
++m4trace:configure.in:58: -1- AC_SUBST([LEX])
++m4trace:configure.in:58: -1- AC_CHECK_LIB([fl], [yywrap], [LEXLIB="-lfl"], [AC_CHECK_LIB(l, yywrap, LEXLIB="-ll")])
++m4trace:configure.in:58: -1- AC_CHECK_LIB([l], [yywrap], [LEXLIB="-ll"])
++m4trace:configure.in:58: -1- AC_SUBST([LEXLIB])
++m4trace:configure.in:58: -1- AC_SUBST([LEX_OUTPUT_ROOT], [$ac_cv_prog_lex_root])
++m4trace:configure.in:58: -1- AC_DEFINE_TRACE_LITERAL([YYTEXT_POINTER])
++m4trace:configure.in:58: -1- AH_OUTPUT([YYTEXT_POINTER], [/* Define to 1 if \`lex' declares \`yytext' as a \`char *' by default, not a
++   \`char[]'. */
++#undef YYTEXT_POINTER])
++m4trace:configure.in:58: -1- AC_PROG_LEX
++m4trace:configure.in:59: -1- AC_PROG_RANLIB
++m4trace:configure.in:59: -1- AC_SUBST([RANLIB])
++m4trace:configure.in:59: -1- AC_SUBST([ac_ct_RANLIB])
++m4trace:configure.in:60: -1- AC_PROG_AWK
++m4trace:configure.in:60: -1- AC_SUBST([AWK])
++m4trace:configure.in:61: -1- AC_SUBST([LN_S])
++m4trace:configure.in:67: -1- AC_DEFINE_TRACE_LITERAL([HAVE___ATTRIBUTE__])
++m4trace:configure.in:67: -1- AH_OUTPUT([HAVE___ATTRIBUTE__], [/* define if your compiler has __attribute__ */
++#undef HAVE___ATTRIBUTE__])
++m4trace:configure.in:70: -1- AC_PROG_LIBTOOL
++m4trace:configure.in:70: -1- AC_PROG_LN_S
++m4trace:configure.in:70: -1- AC_SUBST([LN_S], [$as_ln_s])
++m4trace:configure.in:70: -1- AC_SUBST([ECHO])
++m4trace:configure.in:70: -1- AC_SUBST([RANLIB])
++m4trace:configure.in:70: -1- AC_SUBST([ac_ct_RANLIB])
++m4trace:configure.in:70: -1- AC_SUBST([STRIP])
++m4trace:configure.in:70: -1- AC_SUBST([ac_ct_STRIP])
++m4trace:configure.in:70: -1- AC_CHECK_LIB([dld], [shl_load], [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"], [AC_CHECK_FUNC([dlopen],
++	      [lt_cv_dlopen="dlopen"],
++	  [AC_CHECK_LIB([dl], [dlopen],
++	        [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
++	    [AC_CHECK_LIB([svld], [dlopen],
++	          [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
++	      [AC_CHECK_LIB([dld], [dld_link],
++	            [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
++	      ])
++	    ])
++	  ])
++	])
++m4trace:configure.in:70: -1- AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], [AC_CHECK_LIB([svld], [dlopen],
++	          [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
++	      [AC_CHECK_LIB([dld], [dld_link],
++	            [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
++	      ])
++	    ])
++m4trace:configure.in:70: -1- AC_CHECK_LIB([svld], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], [AC_CHECK_LIB([dld], [dld_link],
++	            [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
++	      ])
++m4trace:configure.in:70: -1- AC_CHECK_LIB([dld], [dld_link], [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
++m4trace:configure.in:70: -1- AC_CHECK_HEADERS([dlfcn.h])
++m4trace:configure.in:70: -1- AH_OUTPUT([HAVE_DLFCN_H], [/* Define to 1 if you have the <dlfcn.h> header file. */
++#undef HAVE_DLFCN_H])
++m4trace:configure.in:70: -1- AC_HEADER_STDC
++m4trace:configure.in:70: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS])
++m4trace:configure.in:70: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */
++#undef STDC_HEADERS])
++m4trace:configure.in:70: -1- AC_CHECK_HEADERS([sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
++                  inttypes.h stdint.h unistd.h], [], [], [$ac_includes_default])
++m4trace:configure.in:70: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the <sys/types.h> header file. */
++#undef HAVE_SYS_TYPES_H])
++m4trace:configure.in:70: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the <sys/stat.h> header file. */
++#undef HAVE_SYS_STAT_H])
++m4trace:configure.in:70: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
++#undef HAVE_STDLIB_H])
++m4trace:configure.in:70: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */
++#undef HAVE_STRING_H])
++m4trace:configure.in:70: -1- AH_OUTPUT([HAVE_MEMORY_H], [/* Define to 1 if you have the <memory.h> header file. */
++#undef HAVE_MEMORY_H])
++m4trace:configure.in:70: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the <strings.h> header file. */
++#undef HAVE_STRINGS_H])
++m4trace:configure.in:70: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */
++#undef HAVE_INTTYPES_H])
++m4trace:configure.in:70: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */
++#undef HAVE_STDINT_H])
++m4trace:configure.in:70: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
++#undef HAVE_UNISTD_H])
++m4trace:configure.in:70: -1- AC_SUBST([LIBTOOL])
++m4trace:configure.in:72: -1- AC_SUBST([WFLAGS])
++m4trace:configure.in:72: -1- AC_SUBST([WFLAGS_NOUNUSED])
++m4trace:configure.in:72: -1- AC_SUBST([WFLAGS_NOIMPLICITINT])
++m4trace:configure.in:74: -1- AC_CHECK_HEADERS([				\
++	db.h					\
++	db_185.h				\
++  ])
++m4trace:configure.in:74: -1- AH_OUTPUT([HAVE_DB_H], [/* Define to 1 if you have the <db.h> header file. */
++#undef HAVE_DB_H])
++m4trace:configure.in:74: -1- AH_OUTPUT([HAVE_DB_185_H], [/* Define to 1 if you have the <db_185.h> header file. */
++#undef HAVE_DB_185_H])
++m4trace:configure.in:74: -1- AC_CHECK_FUNCS([db_create])
++m4trace:configure.in:74: -1- AH_OUTPUT([HAVE_DB_CREATE], [/* Define to 1 if you have the \`db_create' function. */
++#undef HAVE_DB_CREATE])
++m4trace:configure.in:74: -1- AC_SUBST([LIB_db_create])
++m4trace:configure.in:74: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DB3])
++m4trace:configure.in:74: -1- AH_OUTPUT([HAVE_DB3], [/* define if you have a berkeley db3 library */
++#undef HAVE_DB3])
++m4trace:configure.in:74: -1- AC_CHECK_FUNCS([dbopen])
++m4trace:configure.in:74: -1- AH_OUTPUT([HAVE_DBOPEN], [/* Define to 1 if you have the \`dbopen' function. */
++#undef HAVE_DBOPEN])
++m4trace:configure.in:74: -1- AC_SUBST([LIB_dbopen])
++m4trace:configure.in:74: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DB1])
++m4trace:configure.in:74: -1- AH_OUTPUT([HAVE_DB1], [/* define if you have a berkeley db1/2 library */
++#undef HAVE_DB1])
++m4trace:configure.in:74: -1- AC_CHECK_FUNCS([dbm_firstkey])
++m4trace:configure.in:74: -1- AH_OUTPUT([HAVE_DBM_FIRSTKEY], [/* Define to 1 if you have the \`dbm_firstkey' function. */
++#undef HAVE_DBM_FIRSTKEY])
++m4trace:configure.in:74: -1- AC_SUBST([LIB_dbm_firstkey])
++m4trace:configure.in:74: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DB_NDBM])
++m4trace:configure.in:74: -1- AH_OUTPUT([HAVE_DB_NDBM], [/* define if you have ndbm compat in db */
++#undef HAVE_DB_NDBM])
++m4trace:configure.in:74: -1- AC_CHECK_HEADERS([				\
++	dbm.h					\
++	ndbm.h					\
++  ])
++m4trace:configure.in:74: -1- AH_OUTPUT([HAVE_DBM_H], [/* Define to 1 if you have the <dbm.h> header file. */
++#undef HAVE_DBM_H])
++m4trace:configure.in:74: -1- AH_OUTPUT([HAVE_NDBM_H], [/* Define to 1 if you have the <ndbm.h> header file. */
++#undef HAVE_NDBM_H])
++m4trace:configure.in:74: -1- AC_CHECK_FUNCS([dbm_firstkey])
++m4trace:configure.in:74: -1- AH_OUTPUT([HAVE_DBM_FIRSTKEY], [/* Define to 1 if you have the \`dbm_firstkey' function. */
++#undef HAVE_DBM_FIRSTKEY])
++m4trace:configure.in:74: -1- AC_SUBST([LIB_dbm_firstkey])
++m4trace:configure.in:74: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NDBM])
++m4trace:configure.in:74: -1- AH_OUTPUT([HAVE_NDBM], [/* define if you have a ndbm library */
++#undef HAVE_NDBM])
++m4trace:configure.in:74: -1- AC_CHECK_HEADERS([				\
++	  gdbm/ndbm.h				\
++    ])
++m4trace:configure.in:74: -1- AH_OUTPUT([HAVE_GDBM_NDBM_H], [/* Define to 1 if you have the <gdbm/ndbm.h> header file. */
++#undef HAVE_GDBM_NDBM_H])
++m4trace:configure.in:74: -1- AC_CHECK_FUNCS([dbm_firstkey])
++m4trace:configure.in:74: -1- AH_OUTPUT([HAVE_DBM_FIRSTKEY], [/* Define to 1 if you have the \`dbm_firstkey' function. */
++#undef HAVE_DBM_FIRSTKEY])
++m4trace:configure.in:74: -1- AC_SUBST([LIB_dbm_firstkey])
++m4trace:configure.in:74: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NDBM])
++m4trace:configure.in:74: -1- AH_OUTPUT([HAVE_NDBM], [/* define if you have a ndbm library */
++#undef HAVE_NDBM])
++m4trace:configure.in:74: -1- AC_SUBST([DBLIB])
++m4trace:configure.in:74: -1- AC_SUBST([LIB_NDBM])
++m4trace:configure.in:76: -1- AC_CHECK_FUNCS([crypt])
++m4trace:configure.in:76: -1- AH_OUTPUT([HAVE_CRYPT], [/* Define to 1 if you have the \`crypt' function. */
++#undef HAVE_CRYPT])
++m4trace:configure.in:76: -1- AC_SUBST([LIB_crypt])
++m4trace:configure.in:76: -1- AC_SUBST([LIB_roken])
++m4trace:configure.in:76: -1- AC_SUBST([DIR_roken])
++m4trace:configure.in:76: -1- AC_SUBST([CPPFLAGS_roken])
++m4trace:configure.in:78: -1- AH_OUTPUT([00001], [#ifndef RCSID
++#define RCSID(msg) \\
++static /**/const char *const rcsid[] = { (const char *)rcsid, \"@(#)\" msg }
++#endif
++
++#undef BINDIR 
++#undef LIBDIR
++#undef LIBEXECDIR
++#undef SBINDIR
++
++#undef HAVE_INT8_T
++#undef HAVE_INT16_T
++#undef HAVE_INT32_T
++#undef HAVE_INT64_T
++#undef HAVE_U_INT8_T
++#undef HAVE_U_INT16_T
++#undef HAVE_U_INT32_T
++#undef HAVE_U_INT64_T
++
++/* Maximum values on all known systems */
++#define MaxHostNameLen (64+4)
++#define MaxPathLen (1024+4)
++
++])
++m4trace:configure.in:78: -1- AC_C_INLINE
++m4trace:configure.in:78: -1- AC_DEFINE_TRACE_LITERAL([inline])
++m4trace:configure.in:78: -1- AH_OUTPUT([inline], [/* Define as \`__inline' if that's what the C compiler calls it, or to nothing
++   if it is not supported. */
++#undef inline])
++m4trace:configure.in:78: -1- AC_DEFINE_TRACE_LITERAL([inline])
++m4trace:configure.in:78: -1- AC_C_CONST
++m4trace:configure.in:78: -1- AC_DEFINE_TRACE_LITERAL([const])
++m4trace:configure.in:78: -1- AH_OUTPUT([const], [/* Define to empty if \`const' does not conform to ANSI C. */
++#undef const])
++m4trace:configure.in:78: -1- AC_SUBST([WFLAGS])
++m4trace:configure.in:78: -1- AC_SUBST([WFLAGS_NOUNUSED])
++m4trace:configure.in:78: -1- AC_SUBST([WFLAGS_NOIMPLICITINT])
++m4trace:configure.in:78: -1- AC_TYPE_SIZE_T
++m4trace:configure.in:78: -1- AC_DEFINE_TRACE_LITERAL([size_t])
++m4trace:configure.in:78: -1- AH_OUTPUT([size_t], [/* Define to \`unsigned' if <sys/types.h> does not define. */
++#undef size_t])
++m4trace:configure.in:78: -1- AC_DEFINE_TRACE_LITERAL([ssize_t])
++m4trace:configure.in:78: -1- AH_OUTPUT([ssize_t], [/* Define this to what the type ssize_t should be. */
++#undef ssize_t])
++m4trace:configure.in:78: -1- AC_TYPE_PID_T
++m4trace:configure.in:78: -1- AC_DEFINE_TRACE_LITERAL([pid_t])
++m4trace:configure.in:78: -1- AH_OUTPUT([pid_t], [/* Define to \`int' if <sys/types.h> does not define. */
++#undef pid_t])
++m4trace:configure.in:78: -1- AC_TYPE_UID_T
++m4trace:configure.in:78: -1- AC_DEFINE_TRACE_LITERAL([uid_t])
++m4trace:configure.in:78: -1- AH_OUTPUT([uid_t], [/* Define to \`int' if <sys/types.h> doesn't define. */
++#undef uid_t])
++m4trace:configure.in:78: -1- AC_DEFINE_TRACE_LITERAL([gid_t])
++m4trace:configure.in:78: -1- AH_OUTPUT([gid_t], [/* Define to \`int' if <sys/types.h> doesn't define. */
++#undef gid_t])
++m4trace:configure.in:78: -1- AC_CHECK_TYPES([long long])
++m4trace:configure.in:78: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LONG_LONG])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_LONG_LONG], [/* Define to 1 if the system has the type \`long long'. */
++#undef HAVE_LONG_LONG])
++m4trace:configure.in:78: -1- AC_TYPE_SIGNAL
++m4trace:configure.in:78: -1- AC_DEFINE_TRACE_LITERAL([RETSIGTYPE])
++m4trace:configure.in:78: -1- AH_OUTPUT([RETSIGTYPE], [/* Define as the return type of signal handlers (\`int' or \`void'). */
++#undef RETSIGTYPE])
++m4trace:configure.in:78: -1- AC_DEFINE_TRACE_LITERAL([VOID_RETSIGTYPE])
++m4trace:configure.in:78: -1- AH_OUTPUT([VOID_RETSIGTYPE], [/* Define if signal handlers return void. */
++#undef VOID_RETSIGTYPE])
++m4trace:configure.in:78: -1- AC_SUBST([VOID_RETSIGTYPE])
++m4trace:configure.in:78: -1- AH_OUTPUT([zzzz2], [#ifdef VOID_RETSIGTYPE
++#define SIGRETURN(x) return
++#else
++#define SIGRETURN(x) return (RETSIGTYPE)(x)
++#endif])
++m4trace:configure.in:78: -1- AC_HEADER_TIME
++m4trace:configure.in:78: -1- AC_DEFINE_TRACE_LITERAL([TIME_WITH_SYS_TIME])
++m4trace:configure.in:78: -1- AH_OUTPUT([TIME_WITH_SYS_TIME], [/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
++#undef TIME_WITH_SYS_TIME])
++m4trace:configure.in:78: -1- AC_CHECK_HEADERS([\
++	arpa/inet.h				\
++	arpa/nameser.h				\
++	config.h				\
++	crypt.h					\
++	dirent.h				\
++	errno.h					\
++	err.h					\
++	fcntl.h					\
++	grp.h					\
++	ifaddrs.h				\
++	net/if.h				\
++	netdb.h					\
++	netinet/in.h				\
++	netinet/in6.h				\
++	netinet/in_systm.h			\
++	netinet6/in6.h				\
++	netinet6/in6_var.h			\
++	paths.h					\
++	pwd.h					\
++	resolv.h				\
++	rpcsvc/ypclnt.h				\
++	shadow.h				\
++	sys/bswap.h				\
++	sys/ioctl.h				\
++	sys/param.h				\
++	sys/proc.h				\
++	sys/resource.h				\
++	sys/socket.h				\
++	sys/sockio.h				\
++	sys/stat.h				\
++	sys/sysctl.h				\
++	sys/time.h				\
++	sys/tty.h				\
++	sys/types.h				\
++	sys/uio.h				\
++	sys/utsname.h				\
++	sys/wait.h				\
++	syslog.h				\
++	termios.h				\
++	unistd.h				\
++	userconf.h				\
++	usersec.h				\
++	util.h					\
++	vis.h					\
++])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_ARPA_INET_H], [/* Define to 1 if you have the <arpa/inet.h> header file. */
++#undef HAVE_ARPA_INET_H])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_ARPA_NAMESER_H], [/* Define to 1 if you have the <arpa/nameser.h> header file. */
++#undef HAVE_ARPA_NAMESER_H])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_CONFIG_H], [/* Define to 1 if you have the <config.h> header file. */
++#undef HAVE_CONFIG_H])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_CRYPT_H], [/* Define to 1 if you have the <crypt.h> header file. */
++#undef HAVE_CRYPT_H])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_DIRENT_H], [/* Define to 1 if you have the <dirent.h> header file. */
++#undef HAVE_DIRENT_H])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_ERRNO_H], [/* Define to 1 if you have the <errno.h> header file. */
++#undef HAVE_ERRNO_H])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_ERR_H], [/* Define to 1 if you have the <err.h> header file. */
++#undef HAVE_ERR_H])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_FCNTL_H], [/* Define to 1 if you have the <fcntl.h> header file. */
++#undef HAVE_FCNTL_H])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_GRP_H], [/* Define to 1 if you have the <grp.h> header file. */
++#undef HAVE_GRP_H])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_IFADDRS_H], [/* Define to 1 if you have the <ifaddrs.h> header file. */
++#undef HAVE_IFADDRS_H])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_NET_IF_H], [/* Define to 1 if you have the <net/if.h> header file. */
++#undef HAVE_NET_IF_H])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_NETDB_H], [/* Define to 1 if you have the <netdb.h> header file. */
++#undef HAVE_NETDB_H])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_NETINET_IN_H], [/* Define to 1 if you have the <netinet/in.h> header file. */
++#undef HAVE_NETINET_IN_H])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_NETINET_IN6_H], [/* Define to 1 if you have the <netinet/in6.h> header file. */
++#undef HAVE_NETINET_IN6_H])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_NETINET_IN_SYSTM_H], [/* Define to 1 if you have the <netinet/in_systm.h> header file. */
++#undef HAVE_NETINET_IN_SYSTM_H])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_NETINET6_IN6_H], [/* Define to 1 if you have the <netinet6/in6.h> header file. */
++#undef HAVE_NETINET6_IN6_H])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_NETINET6_IN6_VAR_H], [/* Define to 1 if you have the <netinet6/in6_var.h> header file. */
++#undef HAVE_NETINET6_IN6_VAR_H])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_PATHS_H], [/* Define to 1 if you have the <paths.h> header file. */
++#undef HAVE_PATHS_H])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_PWD_H], [/* Define to 1 if you have the <pwd.h> header file. */
++#undef HAVE_PWD_H])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_RESOLV_H], [/* Define to 1 if you have the <resolv.h> header file. */
++#undef HAVE_RESOLV_H])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_RPCSVC_YPCLNT_H], [/* Define to 1 if you have the <rpcsvc/ypclnt.h> header file. */
++#undef HAVE_RPCSVC_YPCLNT_H])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_SHADOW_H], [/* Define to 1 if you have the <shadow.h> header file. */
++#undef HAVE_SHADOW_H])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_SYS_BSWAP_H], [/* Define to 1 if you have the <sys/bswap.h> header file. */
++#undef HAVE_SYS_BSWAP_H])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_SYS_IOCTL_H], [/* Define to 1 if you have the <sys/ioctl.h> header file. */
++#undef HAVE_SYS_IOCTL_H])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_SYS_PARAM_H], [/* Define to 1 if you have the <sys/param.h> header file. */
++#undef HAVE_SYS_PARAM_H])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_SYS_PROC_H], [/* Define to 1 if you have the <sys/proc.h> header file. */
++#undef HAVE_SYS_PROC_H])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_SYS_RESOURCE_H], [/* Define to 1 if you have the <sys/resource.h> header file. */
++#undef HAVE_SYS_RESOURCE_H])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_SYS_SOCKET_H], [/* Define to 1 if you have the <sys/socket.h> header file. */
++#undef HAVE_SYS_SOCKET_H])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_SYS_SOCKIO_H], [/* Define to 1 if you have the <sys/sockio.h> header file. */
++#undef HAVE_SYS_SOCKIO_H])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the <sys/stat.h> header file. */
++#undef HAVE_SYS_STAT_H])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_SYS_SYSCTL_H], [/* Define to 1 if you have the <sys/sysctl.h> header file. */
++#undef HAVE_SYS_SYSCTL_H])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_SYS_TIME_H], [/* Define to 1 if you have the <sys/time.h> header file. */
++#undef HAVE_SYS_TIME_H])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_SYS_TTY_H], [/* Define to 1 if you have the <sys/tty.h> header file. */
++#undef HAVE_SYS_TTY_H])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the <sys/types.h> header file. */
++#undef HAVE_SYS_TYPES_H])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_SYS_UIO_H], [/* Define to 1 if you have the <sys/uio.h> header file. */
++#undef HAVE_SYS_UIO_H])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_SYS_UTSNAME_H], [/* Define to 1 if you have the <sys/utsname.h> header file. */
++#undef HAVE_SYS_UTSNAME_H])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_SYS_WAIT_H], [/* Define to 1 if you have the <sys/wait.h> header file. */
++#undef HAVE_SYS_WAIT_H])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_SYSLOG_H], [/* Define to 1 if you have the <syslog.h> header file. */
++#undef HAVE_SYSLOG_H])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_TERMIOS_H], [/* Define to 1 if you have the <termios.h> header file. */
++#undef HAVE_TERMIOS_H])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
++#undef HAVE_UNISTD_H])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_USERCONF_H], [/* Define to 1 if you have the <userconf.h> header file. */
++#undef HAVE_USERCONF_H])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_USERSEC_H], [/* Define to 1 if you have the <usersec.h> header file. */
++#undef HAVE_USERSEC_H])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_UTIL_H], [/* Define to 1 if you have the <util.h> header file. */
++#undef HAVE_UTIL_H])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_VIS_H], [/* Define to 1 if you have the <vis.h> header file. */
++#undef HAVE_VIS_H])
++m4trace:configure.in:78: -1- AC_CHECK_HEADERS([standards.h])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_STANDARDS_H], [/* Define to 1 if you have the <standards.h> header file. */
++#undef HAVE_STANDARDS_H])
++m4trace:configure.in:78: -1- AC_CHECK_HEADERS([netinet/ip.h netinet/tcp.h])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_NETINET_IP_H], [/* Define to 1 if you have the <netinet/ip.h> header file. */
++#undef HAVE_NETINET_IP_H])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_NETINET_TCP_H], [/* Define to 1 if you have the <netinet/tcp.h> header file. */
++#undef HAVE_NETINET_TCP_H])
++m4trace:configure.in:78: -1- AM_CONDITIONAL([have_err_h], [test "$ac_cv_header_err_h" = yes])
++m4trace:configure.in:78: -1- AC_SUBST([have_err_h_TRUE])
++m4trace:configure.in:78: -1- AC_SUBST([have_err_h_FALSE])
++m4trace:configure.in:78: -1- AM_CONDITIONAL([have_fnmatch_h], [test "$ac_cv_header_fnmatch_h" = yes])
++m4trace:configure.in:78: -1- AC_SUBST([have_fnmatch_h_TRUE])
++m4trace:configure.in:78: -1- AC_SUBST([have_fnmatch_h_FALSE])
++m4trace:configure.in:78: -1- AM_CONDITIONAL([have_ifaddrs_h], [test "$ac_cv_header_ifaddrs_h" = yes])
++m4trace:configure.in:78: -1- AC_SUBST([have_ifaddrs_h_TRUE])
++m4trace:configure.in:78: -1- AC_SUBST([have_ifaddrs_h_FALSE])
++m4trace:configure.in:78: -1- AM_CONDITIONAL([have_vis_h], [test "$ac_cv_header_vis_h" = yes])
++m4trace:configure.in:78: -1- AC_SUBST([have_vis_h_TRUE])
++m4trace:configure.in:78: -1- AC_SUBST([have_vis_h_FALSE])
++m4trace:configure.in:78: -1- AC_DEFINE_TRACE_LITERAL([HAVE_IPV6])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_IPV6], [/* Define if you have IPv6. */
++#undef HAVE_IPV6])
++m4trace:configure.in:78: -1- AC_DEFINE_TRACE_LITERAL([HAVE_IN6ADDR_LOOPBACK])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_IN6ADDR_LOOPBACK], [/* Define if you have the in6addr_loopback variable */
++#undef HAVE_IN6ADDR_LOOPBACK])
++m4trace:configure.in:78: -1- AC_CHECK_FUNCS([socket])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_SOCKET], [/* Define to 1 if you have the \`socket' function. */
++#undef HAVE_SOCKET])
++m4trace:configure.in:78: -1- AC_SUBST([LIB_socket])
++m4trace:configure.in:78: -1- AC_CHECK_FUNCS([gethostbyname])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_GETHOSTBYNAME], [/* Define to 1 if you have the \`gethostbyname' function. */
++#undef HAVE_GETHOSTBYNAME])
++m4trace:configure.in:78: -1- AC_SUBST([LIB_gethostbyname])
++m4trace:configure.in:78: -1- AC_CHECK_FUNCS([syslog])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_SYSLOG], [/* Define to 1 if you have the \`syslog' function. */
++#undef HAVE_SYSLOG])
++m4trace:configure.in:78: -1- AC_SUBST([LIB_syslog])
++m4trace:configure.in:78: -1- AC_CHECK_FUNCS([gethostbyname2])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_GETHOSTBYNAME2], [/* Define to 1 if you have the \`gethostbyname2' function. */
++#undef HAVE_GETHOSTBYNAME2])
++m4trace:configure.in:78: -1- AC_SUBST([LIB_gethostbyname2])
++m4trace:configure.in:78: -1- AC_CHECK_FUNCS([res_search])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_RES_SEARCH], [/* Define to 1 if you have the \`res_search' function. */
++#undef HAVE_RES_SEARCH])
++m4trace:configure.in:78: -1- AC_SUBST([LIB_res_search])
++m4trace:configure.in:78: -1- AC_CHECK_FUNCS([dn_expand])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_DN_EXPAND], [/* Define to 1 if you have the \`dn_expand' function. */
++#undef HAVE_DN_EXPAND])
++m4trace:configure.in:78: -1- AC_SUBST([LIB_dn_expand])
++m4trace:configure.in:78: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SNPRINTF])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_SNPRINTF], [/* define if you have a working snprintf */
++#undef HAVE_SNPRINTF])
++m4trace:configure.in:78: -1- AC_DEFINE_TRACE_LITERAL([NEED_SNPRINTF_PROTO])
++m4trace:configure.in:78: -1- AH_OUTPUT([NEED_SNPRINTF_PROTO], [/* define if the system is missing a prototype for snprintf() */
++#undef NEED_SNPRINTF_PROTO])
++m4trace:configure.in:78: -1- AC_DEFINE_TRACE_LITERAL([HAVE_VSNPRINTF])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_VSNPRINTF], [/* define if you have a working vsnprintf */
++#undef HAVE_VSNPRINTF])
++m4trace:configure.in:78: -1- AC_DEFINE_TRACE_LITERAL([NEED_VSNPRINTF_PROTO])
++m4trace:configure.in:78: -1- AH_OUTPUT([NEED_VSNPRINTF_PROTO], [/* define if the system is missing a prototype for vsnprintf() */
++#undef NEED_VSNPRINTF_PROTO])
++m4trace:configure.in:78: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GLOB])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_GLOB], [/* define if you have a glob() that groks GLOB_BRACE, GLOB_NOCHECK,
++   GLOB_QUOTE, GLOB_TILDE, and GLOB_LIMIT */
++#undef HAVE_GLOB])
++m4trace:configure.in:78: -1- AC_DEFINE_TRACE_LITERAL([NEED_GLOB_PROTO])
++m4trace:configure.in:78: -1- AH_OUTPUT([NEED_GLOB_PROTO], [/* define if the system is missing a prototype for glob() */
++#undef NEED_GLOB_PROTO])
++m4trace:configure.in:78: -1- AM_CONDITIONAL([have_glob_h], [test "$ac_cv_func_glob_working" = yes])
++m4trace:configure.in:78: -1- AC_SUBST([have_glob_h_TRUE])
++m4trace:configure.in:78: -1- AC_SUBST([have_glob_h_FALSE])
++m4trace:configure.in:78: -1- AC_CHECK_FUNCS([				\
++	asnprintf				\
++	asprintf				\
++	cgetent					\
++	getconfattr				\
++	getprogname				\
++	getrlimit				\
++	getspnam				\
++	initstate				\
++	issetugid				\
++	random					\
++	setprogname				\
++	setstate				\
++	strsvis					\
++	strunvis				\
++	strvis					\
++	strvisx					\
++	svis					\
++	sysconf					\
++	sysctl					\
++	uname					\
++	unvis					\
++	vasnprintf				\
++	vasprintf				\
++	vis					\
++])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_ASNPRINTF], [/* Define to 1 if you have the \`asnprintf' function. */
++#undef HAVE_ASNPRINTF])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_ASPRINTF], [/* Define to 1 if you have the \`asprintf' function. */
++#undef HAVE_ASPRINTF])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_CGETENT], [/* Define to 1 if you have the \`cgetent' function. */
++#undef HAVE_CGETENT])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_GETCONFATTR], [/* Define to 1 if you have the \`getconfattr' function. */
++#undef HAVE_GETCONFATTR])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_GETPROGNAME], [/* Define to 1 if you have the \`getprogname' function. */
++#undef HAVE_GETPROGNAME])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_GETRLIMIT], [/* Define to 1 if you have the \`getrlimit' function. */
++#undef HAVE_GETRLIMIT])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_GETSPNAM], [/* Define to 1 if you have the \`getspnam' function. */
++#undef HAVE_GETSPNAM])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_INITSTATE], [/* Define to 1 if you have the \`initstate' function. */
++#undef HAVE_INITSTATE])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_ISSETUGID], [/* Define to 1 if you have the \`issetugid' function. */
++#undef HAVE_ISSETUGID])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_RANDOM], [/* Define to 1 if you have the \`random' function. */
++#undef HAVE_RANDOM])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_SETPROGNAME], [/* Define to 1 if you have the \`setprogname' function. */
++#undef HAVE_SETPROGNAME])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_SETSTATE], [/* Define to 1 if you have the \`setstate' function. */
++#undef HAVE_SETSTATE])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_STRSVIS], [/* Define to 1 if you have the \`strsvis' function. */
++#undef HAVE_STRSVIS])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_STRUNVIS], [/* Define to 1 if you have the \`strunvis' function. */
++#undef HAVE_STRUNVIS])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_STRVIS], [/* Define to 1 if you have the \`strvis' function. */
++#undef HAVE_STRVIS])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_STRVISX], [/* Define to 1 if you have the \`strvisx' function. */
++#undef HAVE_STRVISX])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_SVIS], [/* Define to 1 if you have the \`svis' function. */
++#undef HAVE_SVIS])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_SYSCONF], [/* Define to 1 if you have the \`sysconf' function. */
++#undef HAVE_SYSCONF])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_SYSCTL], [/* Define to 1 if you have the \`sysctl' function. */
++#undef HAVE_SYSCTL])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_UNAME], [/* Define to 1 if you have the \`uname' function. */
++#undef HAVE_UNAME])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_UNVIS], [/* Define to 1 if you have the \`unvis' function. */
++#undef HAVE_UNVIS])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_VASNPRINTF], [/* Define to 1 if you have the \`vasnprintf' function. */
++#undef HAVE_VASNPRINTF])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_VASPRINTF], [/* Define to 1 if you have the \`vasprintf' function. */
++#undef HAVE_VASPRINTF])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_VIS], [/* Define to 1 if you have the \`vis' function. */
++#undef HAVE_VIS])
++m4trace:configure.in:78: -1- AC_CHECK_FUNCS([getlogin setlogin])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_GETLOGIN], [/* Define to 1 if you have the \`getlogin' function. */
++#undef HAVE_GETLOGIN])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_SETLOGIN], [/* Define to 1 if you have the \`setlogin' function. */
++#undef HAVE_SETLOGIN])
++m4trace:configure.in:78: -1- AC_DEFINE_TRACE_LITERAL([POSIX_GETLOGIN])
++m4trace:configure.in:78: -1- AH_OUTPUT([POSIX_GETLOGIN], [/* Define if getlogin has POSIX flavour (and not BSD). */
++#undef POSIX_GETLOGIN])
++m4trace:configure.in:78: -1- AC_CHECK_FUNCS([getsockopt])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_GETSOCKOPT], [/* Define to 1 if you have the \`getsockopt' function. */
++#undef HAVE_GETSOCKOPT])
++m4trace:configure.in:78: -1- AC_SUBST([LIB_getsockopt])
++m4trace:configure.in:78: -1- AC_CHECK_FUNCS([setsockopt])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_SETSOCKOPT], [/* Define to 1 if you have the \`setsockopt' function. */
++#undef HAVE_SETSOCKOPT])
++m4trace:configure.in:78: -1- AC_SUBST([LIB_setsockopt])
++m4trace:configure.in:78: -1- AC_CHECK_FUNCS([hstrerror])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_HSTRERROR], [/* Define to 1 if you have the \`hstrerror' function. */
++#undef HAVE_HSTRERROR])
++m4trace:configure.in:78: -1- AC_SUBST([LIB_hstrerror])
++m4trace:configure.in:78: -1- AC_SUBST([LIBOBJS])
++m4trace:configure.in:78: -1- AC_DEFINE_TRACE_LITERAL([NEED_HSTRERROR_PROTO])
++m4trace:configure.in:78: -1- AH_OUTPUT([NEED_HSTRERROR_PROTO], [/* define if the system is missing a prototype for hstrerror() */
++#undef NEED_HSTRERROR_PROTO])
++m4trace:configure.in:78: -1- AC_DEFINE_TRACE_LITERAL([NEED_ASPRINTF_PROTO])
++m4trace:configure.in:78: -1- AH_OUTPUT([NEED_ASPRINTF_PROTO], [/* define if the system is missing a prototype for asprintf() */
++#undef NEED_ASPRINTF_PROTO])
++m4trace:configure.in:78: -1- AC_DEFINE_TRACE_LITERAL([NEED_VASPRINTF_PROTO])
++m4trace:configure.in:78: -1- AH_OUTPUT([NEED_VASPRINTF_PROTO], [/* define if the system is missing a prototype for vasprintf() */
++#undef NEED_VASPRINTF_PROTO])
++m4trace:configure.in:78: -1- AC_DEFINE_TRACE_LITERAL([NEED_ASNPRINTF_PROTO])
++m4trace:configure.in:78: -1- AH_OUTPUT([NEED_ASNPRINTF_PROTO], [/* define if the system is missing a prototype for asnprintf() */
++#undef NEED_ASNPRINTF_PROTO])
++m4trace:configure.in:78: -1- AC_DEFINE_TRACE_LITERAL([NEED_VASNPRINTF_PROTO])
++m4trace:configure.in:78: -1- AH_OUTPUT([NEED_VASNPRINTF_PROTO], [/* define if the system is missing a prototype for vasnprintf() */
++#undef NEED_VASNPRINTF_PROTO])
++m4trace:configure.in:78: -1- AC_CHECK_FUNCS([bswap16])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_BSWAP16], [/* Define to 1 if you have the \`bswap16' function. */
++#undef HAVE_BSWAP16])
++m4trace:configure.in:78: -1- AC_SUBST([LIB_bswap16])
++m4trace:configure.in:78: -1- AC_CHECK_FUNCS([bswap32])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_BSWAP32], [/* Define to 1 if you have the \`bswap32' function. */
++#undef HAVE_BSWAP32])
++m4trace:configure.in:78: -1- AC_SUBST([LIB_bswap32])
++m4trace:configure.in:78: -1- AC_CHECK_FUNCS([pidfile])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_PIDFILE], [/* Define to 1 if you have the \`pidfile' function. */
++#undef HAVE_PIDFILE])
++m4trace:configure.in:78: -1- AC_SUBST([LIB_pidfile])
++m4trace:configure.in:78: -1- AC_CHECK_FUNCS([getaddrinfo])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_GETADDRINFO], [/* Define to 1 if you have the \`getaddrinfo' function. */
++#undef HAVE_GETADDRINFO])
++m4trace:configure.in:78: -1- AC_SUBST([LIB_getaddrinfo])
++m4trace:configure.in:78: -1- AC_SUBST([LIBOBJS])
++m4trace:configure.in:78: -1- AC_CHECK_FUNCS([getnameinfo])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_GETNAMEINFO], [/* Define to 1 if you have the \`getnameinfo' function. */
++#undef HAVE_GETNAMEINFO])
++m4trace:configure.in:78: -1- AC_SUBST([LIB_getnameinfo])
++m4trace:configure.in:78: -1- AC_SUBST([LIBOBJS])
++m4trace:configure.in:78: -1- AC_CHECK_FUNCS([freeaddrinfo])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_FREEADDRINFO], [/* Define to 1 if you have the \`freeaddrinfo' function. */
++#undef HAVE_FREEADDRINFO])
++m4trace:configure.in:78: -1- AC_SUBST([LIB_freeaddrinfo])
++m4trace:configure.in:78: -1- AC_SUBST([LIBOBJS])
++m4trace:configure.in:78: -1- AC_CHECK_FUNCS([gai_strerror])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_GAI_STRERROR], [/* Define to 1 if you have the \`gai_strerror' function. */
++#undef HAVE_GAI_STRERROR])
++m4trace:configure.in:78: -1- AC_SUBST([LIB_gai_strerror])
++m4trace:configure.in:78: -1- AC_SUBST([LIBOBJS])
++m4trace:configure.in:78: -1- AC_CHECK_FUNCS([\
++	chown					\
++	copyhostent				\
++	daemon					\
++	ecalloc					\
++	emalloc					\
++	erealloc				\
++	estrdup					\
++	err					\
++	errx					\
++	fchown					\
++	flock					\
++	fnmatch					\
++	freehostent				\
++	getcwd					\
++	getdtablesize				\
++	getegid					\
++	geteuid					\
++	getgid					\
++	gethostname				\
++	getifaddrs				\
++	getipnodebyaddr				\
++	getipnodebyname				\
++	getopt					\
++	gettimeofday				\
++	getuid					\
++	getusershell				\
++	initgroups				\
++	innetgr					\
++	iruserok				\
++	lstat					\
++	memmove					\
++	mkstemp					\
++	putenv					\
++	rcmd					\
++	readv					\
++	recvmsg					\
++	sendmsg					\
++	setegid					\
++	setenv					\
++	seteuid					\
++	strcasecmp				\
++	strdup					\
++	strerror				\
++	strftime				\
++	strlcat					\
++	strlcpy					\
++	strlwr					\
++	strncasecmp				\
++	strndup					\
++	strnlen					\
++	strptime				\
++	strsep					\
++	strsep_copy				\
++	strtok_r				\
++	strupr					\
++	swab					\
++	unsetenv				\
++	verr					\
++	verrx					\
++	vsyslog					\
++	vwarn					\
++	vwarnx					\
++	warn					\
++	warnx					\
++	writev					\
++])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_CHOWN], [/* Define to 1 if you have the \`chown' function. */
++#undef HAVE_CHOWN])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_COPYHOSTENT], [/* Define to 1 if you have the \`copyhostent' function. */
++#undef HAVE_COPYHOSTENT])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_DAEMON], [/* Define to 1 if you have the \`daemon' function. */
++#undef HAVE_DAEMON])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_ECALLOC], [/* Define to 1 if you have the \`ecalloc' function. */
++#undef HAVE_ECALLOC])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_EMALLOC], [/* Define to 1 if you have the \`emalloc' function. */
++#undef HAVE_EMALLOC])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_EREALLOC], [/* Define to 1 if you have the \`erealloc' function. */
++#undef HAVE_EREALLOC])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_ESTRDUP], [/* Define to 1 if you have the \`estrdup' function. */
++#undef HAVE_ESTRDUP])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_ERR], [/* Define to 1 if you have the \`err' function. */
++#undef HAVE_ERR])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_ERRX], [/* Define to 1 if you have the \`errx' function. */
++#undef HAVE_ERRX])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_FCHOWN], [/* Define to 1 if you have the \`fchown' function. */
++#undef HAVE_FCHOWN])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_FLOCK], [/* Define to 1 if you have the \`flock' function. */
++#undef HAVE_FLOCK])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_FNMATCH], [/* Define to 1 if you have the \`fnmatch' function. */
++#undef HAVE_FNMATCH])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_FREEHOSTENT], [/* Define to 1 if you have the \`freehostent' function. */
++#undef HAVE_FREEHOSTENT])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_GETCWD], [/* Define to 1 if you have the \`getcwd' function. */
++#undef HAVE_GETCWD])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_GETDTABLESIZE], [/* Define to 1 if you have the \`getdtablesize' function. */
++#undef HAVE_GETDTABLESIZE])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_GETEGID], [/* Define to 1 if you have the \`getegid' function. */
++#undef HAVE_GETEGID])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_GETEUID], [/* Define to 1 if you have the \`geteuid' function. */
++#undef HAVE_GETEUID])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_GETGID], [/* Define to 1 if you have the \`getgid' function. */
++#undef HAVE_GETGID])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_GETHOSTNAME], [/* Define to 1 if you have the \`gethostname' function. */
++#undef HAVE_GETHOSTNAME])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_GETIFADDRS], [/* Define to 1 if you have the \`getifaddrs' function. */
++#undef HAVE_GETIFADDRS])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_GETIPNODEBYADDR], [/* Define to 1 if you have the \`getipnodebyaddr' function. */
++#undef HAVE_GETIPNODEBYADDR])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_GETIPNODEBYNAME], [/* Define to 1 if you have the \`getipnodebyname' function. */
++#undef HAVE_GETIPNODEBYNAME])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_GETOPT], [/* Define to 1 if you have the \`getopt' function. */
++#undef HAVE_GETOPT])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_GETTIMEOFDAY], [/* Define to 1 if you have the \`gettimeofday' function. */
++#undef HAVE_GETTIMEOFDAY])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_GETUID], [/* Define to 1 if you have the \`getuid' function. */
++#undef HAVE_GETUID])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_GETUSERSHELL], [/* Define to 1 if you have the \`getusershell' function. */
++#undef HAVE_GETUSERSHELL])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_INITGROUPS], [/* Define to 1 if you have the \`initgroups' function. */
++#undef HAVE_INITGROUPS])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_INNETGR], [/* Define to 1 if you have the \`innetgr' function. */
++#undef HAVE_INNETGR])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_IRUSEROK], [/* Define to 1 if you have the \`iruserok' function. */
++#undef HAVE_IRUSEROK])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_LSTAT], [/* Define to 1 if you have the \`lstat' function. */
++#undef HAVE_LSTAT])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_MEMMOVE], [/* Define to 1 if you have the \`memmove' function. */
++#undef HAVE_MEMMOVE])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_MKSTEMP], [/* Define to 1 if you have the \`mkstemp' function. */
++#undef HAVE_MKSTEMP])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_PUTENV], [/* Define to 1 if you have the \`putenv' function. */
++#undef HAVE_PUTENV])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_RCMD], [/* Define to 1 if you have the \`rcmd' function. */
++#undef HAVE_RCMD])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_READV], [/* Define to 1 if you have the \`readv' function. */
++#undef HAVE_READV])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_RECVMSG], [/* Define to 1 if you have the \`recvmsg' function. */
++#undef HAVE_RECVMSG])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_SENDMSG], [/* Define to 1 if you have the \`sendmsg' function. */
++#undef HAVE_SENDMSG])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_SETEGID], [/* Define to 1 if you have the \`setegid' function. */
++#undef HAVE_SETEGID])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_SETENV], [/* Define to 1 if you have the \`setenv' function. */
++#undef HAVE_SETENV])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_SETEUID], [/* Define to 1 if you have the \`seteuid' function. */
++#undef HAVE_SETEUID])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_STRCASECMP], [/* Define to 1 if you have the \`strcasecmp' function. */
++#undef HAVE_STRCASECMP])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_STRDUP], [/* Define to 1 if you have the \`strdup' function. */
++#undef HAVE_STRDUP])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_STRERROR], [/* Define to 1 if you have the \`strerror' function. */
++#undef HAVE_STRERROR])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_STRFTIME], [/* Define to 1 if you have the \`strftime' function. */
++#undef HAVE_STRFTIME])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_STRLCAT], [/* Define to 1 if you have the \`strlcat' function. */
++#undef HAVE_STRLCAT])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_STRLCPY], [/* Define to 1 if you have the \`strlcpy' function. */
++#undef HAVE_STRLCPY])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_STRLWR], [/* Define to 1 if you have the \`strlwr' function. */
++#undef HAVE_STRLWR])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_STRNCASECMP], [/* Define to 1 if you have the \`strncasecmp' function. */
++#undef HAVE_STRNCASECMP])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_STRNDUP], [/* Define to 1 if you have the \`strndup' function. */
++#undef HAVE_STRNDUP])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_STRNLEN], [/* Define to 1 if you have the \`strnlen' function. */
++#undef HAVE_STRNLEN])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_STRPTIME], [/* Define to 1 if you have the \`strptime' function. */
++#undef HAVE_STRPTIME])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_STRSEP], [/* Define to 1 if you have the \`strsep' function. */
++#undef HAVE_STRSEP])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_STRSEP_COPY], [/* Define to 1 if you have the \`strsep_copy' function. */
++#undef HAVE_STRSEP_COPY])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_STRTOK_R], [/* Define to 1 if you have the \`strtok_r' function. */
++#undef HAVE_STRTOK_R])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_STRUPR], [/* Define to 1 if you have the \`strupr' function. */
++#undef HAVE_STRUPR])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_SWAB], [/* Define to 1 if you have the \`swab' function. */
++#undef HAVE_SWAB])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_UNSETENV], [/* Define to 1 if you have the \`unsetenv' function. */
++#undef HAVE_UNSETENV])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_VERR], [/* Define to 1 if you have the \`verr' function. */
++#undef HAVE_VERR])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_VERRX], [/* Define to 1 if you have the \`verrx' function. */
++#undef HAVE_VERRX])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_VSYSLOG], [/* Define to 1 if you have the \`vsyslog' function. */
++#undef HAVE_VSYSLOG])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_VWARN], [/* Define to 1 if you have the \`vwarn' function. */
++#undef HAVE_VWARN])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_VWARNX], [/* Define to 1 if you have the \`vwarnx' function. */
++#undef HAVE_VWARNX])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_WARN], [/* Define to 1 if you have the \`warn' function. */
++#undef HAVE_WARN])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_WARNX], [/* Define to 1 if you have the \`warnx' function. */
++#undef HAVE_WARNX])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_WRITEV], [/* Define to 1 if you have the \`writev' function. */
++#undef HAVE_WRITEV])
++m4trace:configure.in:78: -1- AC_SUBST([LIBOBJS])
++m4trace:configure.in:78: -1- AC_CHECK_FUNCS([inet_aton])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_INET_ATON], [/* Define to 1 if you have the \`inet_aton' function. */
++#undef HAVE_INET_ATON])
++m4trace:configure.in:78: -1- AC_SUBST([LIBOBJS])
++m4trace:configure.in:78: -1- AC_CHECK_FUNCS([inet_ntop])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_INET_NTOP], [/* Define to 1 if you have the \`inet_ntop' function. */
++#undef HAVE_INET_NTOP])
++m4trace:configure.in:78: -1- AC_SUBST([LIBOBJS])
++m4trace:configure.in:78: -1- AC_CHECK_FUNCS([inet_pton])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_INET_PTON], [/* Define to 1 if you have the \`inet_pton' function. */
++#undef HAVE_INET_PTON])
++m4trace:configure.in:78: -1- AC_SUBST([LIBOBJS])
++m4trace:configure.in:78: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_SOCKADDR_SA_LEN])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_STRUCT_SOCKADDR_SA_LEN], [/* Define if struct sockaddr has field sa_len. */
++#undef HAVE_STRUCT_SOCKADDR_SA_LEN])
++m4trace:configure.in:78: -1- AC_DEFINE_TRACE_LITERAL([NEED_SETENV_PROTO])
++m4trace:configure.in:78: -1- AH_OUTPUT([NEED_SETENV_PROTO], [/* define if the system is missing a prototype for setenv() */
++#undef NEED_SETENV_PROTO])
++m4trace:configure.in:78: -1- AC_DEFINE_TRACE_LITERAL([NEED_UNSETENV_PROTO])
++m4trace:configure.in:78: -1- AH_OUTPUT([NEED_UNSETENV_PROTO], [/* define if the system is missing a prototype for unsetenv() */
++#undef NEED_UNSETENV_PROTO])
++m4trace:configure.in:78: -1- AC_DEFINE_TRACE_LITERAL([NEED_GETHOSTNAME_PROTO])
++m4trace:configure.in:78: -1- AH_OUTPUT([NEED_GETHOSTNAME_PROTO], [/* define if the system is missing a prototype for gethostname() */
++#undef NEED_GETHOSTNAME_PROTO])
++m4trace:configure.in:78: -1- AC_DEFINE_TRACE_LITERAL([NEED_MKSTEMP_PROTO])
++m4trace:configure.in:78: -1- AH_OUTPUT([NEED_MKSTEMP_PROTO], [/* define if the system is missing a prototype for mkstemp() */
++#undef NEED_MKSTEMP_PROTO])
++m4trace:configure.in:78: -1- AC_DEFINE_TRACE_LITERAL([NEED_GETUSERSHELL_PROTO])
++m4trace:configure.in:78: -1- AH_OUTPUT([NEED_GETUSERSHELL_PROTO], [/* define if the system is missing a prototype for getusershell() */
++#undef NEED_GETUSERSHELL_PROTO])
++m4trace:configure.in:78: -1- AC_DEFINE_TRACE_LITERAL([NEED_INET_ATON_PROTO])
++m4trace:configure.in:78: -1- AH_OUTPUT([NEED_INET_ATON_PROTO], [/* define if the system is missing a prototype for inet_aton() */
++#undef NEED_INET_ATON_PROTO])
++m4trace:configure.in:78: -1- AC_CHECK_FUNCS([crypt])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_CRYPT], [/* Define to 1 if you have the \`crypt' function. */
++#undef HAVE_CRYPT])
++m4trace:configure.in:78: -1- AC_SUBST([LIB_crypt])
++m4trace:configure.in:78: -1- AC_DEFINE_TRACE_LITERAL([BROKEN_REALLOC])
++m4trace:configure.in:78: -1- AH_OUTPUT([BROKEN_REALLOC], [/* Define if realloc(NULL) doesn't work. */
++#undef BROKEN_REALLOC])
++m4trace:configure.in:78: -1- AH_OUTPUT([zzzz3], [#ifdef BROKEN_REALLOC
++#define realloc(X, Y) isoc_realloc((X), (Y))
++#define isoc_realloc(X, Y) ((X) ? realloc((X), (Y)) : malloc(Y))
++#endif])
++m4trace:configure.in:78: -1- AC_DEFINE_TRACE_LITERAL([GETHOSTBYNAME_PROTO_COMPATIBLE])
++m4trace:configure.in:78: -1- AH_OUTPUT([GETHOSTBYNAME_PROTO_COMPATIBLE], [/* define if prototype of gethostbyname is compatible with struct hostent
++   *gethostbyname(const char *) */
++#undef GETHOSTBYNAME_PROTO_COMPATIBLE])
++m4trace:configure.in:78: -1- AC_DEFINE_TRACE_LITERAL([GETHOSTBYADDR_PROTO_COMPATIBLE])
++m4trace:configure.in:78: -1- AH_OUTPUT([GETHOSTBYADDR_PROTO_COMPATIBLE], [/* define if prototype of gethostbyaddr is compatible with struct hostent
++   *gethostbyaddr(const void *, size_t, int) */
++#undef GETHOSTBYADDR_PROTO_COMPATIBLE])
++m4trace:configure.in:78: -1- AC_DEFINE_TRACE_LITERAL([GETSERVBYNAME_PROTO_COMPATIBLE])
++m4trace:configure.in:78: -1- AH_OUTPUT([GETSERVBYNAME_PROTO_COMPATIBLE], [/* define if prototype of getservbyname is compatible with struct servent
++   *getservbyname(const char *, const char *) */
++#undef GETSERVBYNAME_PROTO_COMPATIBLE])
++m4trace:configure.in:78: -1- AC_DEFINE_TRACE_LITERAL([GETSOCKNAME_PROTO_COMPATIBLE])
++m4trace:configure.in:78: -1- AH_OUTPUT([GETSOCKNAME_PROTO_COMPATIBLE], [/* define if prototype of getsockname is compatible with int getsockname(int,
++   struct sockaddr*, socklen_t*) */
++#undef GETSOCKNAME_PROTO_COMPATIBLE])
++m4trace:configure.in:78: -1- AC_DEFINE_TRACE_LITERAL([OPENLOG_PROTO_COMPATIBLE])
++m4trace:configure.in:78: -1- AH_OUTPUT([OPENLOG_PROTO_COMPATIBLE], [/* define if prototype of openlog is compatible with void openlog(const char
++   *, int, int) */
++#undef OPENLOG_PROTO_COMPATIBLE])
++m4trace:configure.in:78: -1- AC_DEFINE_TRACE_LITERAL([NEED_CRYPT_PROTO])
++m4trace:configure.in:78: -1- AH_OUTPUT([NEED_CRYPT_PROTO], [/* define if the system is missing a prototype for crypt() */
++#undef NEED_CRYPT_PROTO])
++m4trace:configure.in:78: -1- AC_DEFINE_TRACE_LITERAL([NEED_STRTOK_R_PROTO])
++m4trace:configure.in:78: -1- AH_OUTPUT([NEED_STRTOK_R_PROTO], [/* define if the system is missing a prototype for strtok_r() */
++#undef NEED_STRTOK_R_PROTO])
++m4trace:configure.in:78: -1- AC_DEFINE_TRACE_LITERAL([NEED_STRSEP_PROTO])
++m4trace:configure.in:78: -1- AH_OUTPUT([NEED_STRSEP_PROTO], [/* define if the system is missing a prototype for strsep() */
++#undef NEED_STRSEP_PROTO])
++m4trace:configure.in:78: -1- AC_DEFINE_TRACE_LITERAL([HAVE_H_ERRNO])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_H_ERRNO], [/* Define if you have the \`h_errno' variable. */
++#undef HAVE_H_ERRNO])
++m4trace:configure.in:78: -2- AC_DEFINE_TRACE_LITERAL([HAVE_H_ERRNO_DECLARATION])
++m4trace:configure.in:78: -2- AH_OUTPUT([HAVE_H_ERRNO_DECLARATION], [/* define if your system declares h_errno */
++#undef HAVE_H_ERRNO_DECLARATION])
++m4trace:configure.in:78: -1- AC_DEFINE_TRACE_LITERAL([HAVE_H_ERRLIST])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_H_ERRLIST], [/* Define if you have the \`h_errlist' variable. */
++#undef HAVE_H_ERRLIST])
++m4trace:configure.in:78: -2- AC_DEFINE_TRACE_LITERAL([HAVE_H_ERRLIST_DECLARATION])
++m4trace:configure.in:78: -2- AH_OUTPUT([HAVE_H_ERRLIST_DECLARATION], [/* define if your system declares h_errlist */
++#undef HAVE_H_ERRLIST_DECLARATION])
++m4trace:configure.in:78: -1- AC_DEFINE_TRACE_LITERAL([HAVE_H_NERR])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_H_NERR], [/* Define if you have the \`h_nerr' variable. */
++#undef HAVE_H_NERR])
++m4trace:configure.in:78: -2- AC_DEFINE_TRACE_LITERAL([HAVE_H_NERR_DECLARATION])
++m4trace:configure.in:78: -2- AH_OUTPUT([HAVE_H_NERR_DECLARATION], [/* define if your system declares h_nerr */
++#undef HAVE_H_NERR_DECLARATION])
++m4trace:configure.in:78: -1- AC_DEFINE_TRACE_LITERAL([HAVE___PROGNAME])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE___PROGNAME], [/* Define if you have the \`__progname' variable. */
++#undef HAVE___PROGNAME])
++m4trace:configure.in:78: -2- AC_DEFINE_TRACE_LITERAL([HAVE___PROGNAME_DECLARATION])
++m4trace:configure.in:78: -2- AH_OUTPUT([HAVE___PROGNAME_DECLARATION], [/* define if your system declares __progname */
++#undef HAVE___PROGNAME_DECLARATION])
++m4trace:configure.in:78: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OPTARG_DECLARATION])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_OPTARG_DECLARATION], [/* define if your system declares optarg */
++#undef HAVE_OPTARG_DECLARATION])
++m4trace:configure.in:78: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OPTIND_DECLARATION])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_OPTIND_DECLARATION], [/* define if your system declares optind */
++#undef HAVE_OPTIND_DECLARATION])
++m4trace:configure.in:78: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OPTERR_DECLARATION])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_OPTERR_DECLARATION], [/* define if your system declares opterr */
++#undef HAVE_OPTERR_DECLARATION])
++m4trace:configure.in:78: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OPTOPT_DECLARATION])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_OPTOPT_DECLARATION], [/* define if your system declares optopt */
++#undef HAVE_OPTOPT_DECLARATION])
++m4trace:configure.in:78: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ENVIRON_DECLARATION])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_ENVIRON_DECLARATION], [/* define if your system declares environ */
++#undef HAVE_ENVIRON_DECLARATION])
++m4trace:configure.in:78: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_TM_TM_GMTOFF])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_STRUCT_TM_TM_GMTOFF], [/* Define if struct tm has field tm_gmtoff. */
++#undef HAVE_STRUCT_TM_TM_GMTOFF])
++m4trace:configure.in:78: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_TM_TM_ZONE])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_STRUCT_TM_TM_ZONE], [/* Define if struct tm has field tm_zone. */
++#undef HAVE_STRUCT_TM_TM_ZONE])
++m4trace:configure.in:78: -1- AC_DEFINE_TRACE_LITERAL([HAVE_TIMEZONE])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_TIMEZONE], [/* Define if you have the \`timezone' variable. */
++#undef HAVE_TIMEZONE])
++m4trace:configure.in:78: -2- AC_DEFINE_TRACE_LITERAL([HAVE_TIMEZONE_DECLARATION])
++m4trace:configure.in:78: -2- AH_OUTPUT([HAVE_TIMEZONE_DECLARATION], [/* define if your system declares timezone */
++#undef HAVE_TIMEZONE_DECLARATION])
++m4trace:configure.in:78: -1- AC_CHECK_TYPES([sa_family_t])
++m4trace:configure.in:78: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SA_FAMILY_T])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_SA_FAMILY_T], [/* Define to 1 if the system has the type \`sa_family_t'. */
++#undef HAVE_SA_FAMILY_T])
++m4trace:configure.in:78: -1- AC_CHECK_TYPES([socklen_t])
++m4trace:configure.in:78: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SOCKLEN_T])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_SOCKLEN_T], [/* Define to 1 if the system has the type \`socklen_t'. */
++#undef HAVE_SOCKLEN_T])
++m4trace:configure.in:78: -1- AC_CHECK_TYPES([struct sockaddr])
++m4trace:configure.in:78: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_SOCKADDR])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_STRUCT_SOCKADDR], [/* Define to 1 if the system has the type \`struct sockaddr'. */
++#undef HAVE_STRUCT_SOCKADDR])
++m4trace:configure.in:78: -1- AC_CHECK_TYPES([struct sockaddr_storage])
++m4trace:configure.in:78: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_SOCKADDR_STORAGE])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_STRUCT_SOCKADDR_STORAGE], [/* Define to 1 if the system has the type \`struct sockaddr_storage'. */
++#undef HAVE_STRUCT_SOCKADDR_STORAGE])
++m4trace:configure.in:78: -1- AC_CHECK_TYPES([struct addrinfo])
++m4trace:configure.in:78: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_ADDRINFO])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_STRUCT_ADDRINFO], [/* Define to 1 if the system has the type \`struct addrinfo'. */
++#undef HAVE_STRUCT_ADDRINFO])
++m4trace:configure.in:78: -1- AC_CHECK_TYPES([struct ifaddrs])
++m4trace:configure.in:78: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_IFADDRS])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_STRUCT_IFADDRS], [/* Define to 1 if the system has the type \`struct ifaddrs'. */
++#undef HAVE_STRUCT_IFADDRS])
++m4trace:configure.in:78: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_WINSIZE])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_STRUCT_WINSIZE], [/* define if struct winsize is declared in sys/termios.h */
++#undef HAVE_STRUCT_WINSIZE])
++m4trace:configure.in:78: -2- AC_DEFINE_TRACE_LITERAL([HAVE_WS_XPIXEL])
++m4trace:configure.in:78: -2- AH_OUTPUT([HAVE_WS_XPIXEL], [/* define if struct winsize has ws_xpixel */
++#undef HAVE_WS_XPIXEL])
++m4trace:configure.in:78: -2- AC_DEFINE_TRACE_LITERAL([HAVE_WS_YPIXEL])
++m4trace:configure.in:78: -2- AH_OUTPUT([HAVE_WS_YPIXEL], [/* define if struct winsize has ws_ypixel */
++#undef HAVE_WS_YPIXEL])
++m4trace:configure.in:78: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_SPWD])
++m4trace:configure.in:78: -1- AH_OUTPUT([HAVE_STRUCT_SPWD], [/* define if you have struct spwd */
++#undef HAVE_STRUCT_SPWD])
++m4trace:configure.in:78: -1- AC_SUBST([DIR_roken])
++m4trace:configure.in:78: -1- AC_SUBST([LIB_roken])
++m4trace:configure.in:78: -1- AC_SUBST([INCLUDES_roken])
++m4trace:configure.in:85: -2- AC_DEFINE_TRACE_LITERAL([OPENLDAP])
++m4trace:configure.in:85: -2- AH_OUTPUT([OPENLDAP], [/* Define if you have the openldap package. */
++#undef OPENLDAP])
++m4trace:configure.in:85: -1- AC_SUBST([DIR_openldap])
++m4trace:configure.in:85: -1- AC_SUBST([INCLUDE_openldap])
++m4trace:configure.in:85: -1- AC_SUBST([LIB_openldap])
++m4trace:configure.in:91: -2- AC_DEFINE_TRACE_LITERAL([KRB4])
++m4trace:configure.in:91: -2- AH_OUTPUT([KRB4], [/* Define if you have the krb4 package. */
++#undef KRB4])
++m4trace:configure.in:91: -1- AC_SUBST([DIR_krb4])
++m4trace:configure.in:91: -1- AC_SUBST([INCLUDE_krb4])
++m4trace:configure.in:91: -1- AC_SUBST([LIB_krb4])
++m4trace:configure.in:103: -1- AC_SUBST([EXTRA_LIB45])
++m4trace:configure.in:113: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FOUR_VALUED_KRB_PUT_INT])
++m4trace:configure.in:113: -1- AH_OUTPUT([HAVE_FOUR_VALUED_KRB_PUT_INT], [/* define if krb_put_int takes four arguments. */
++#undef HAVE_FOUR_VALUED_KRB_PUT_INT])
++m4trace:configure.in:120: -1- AH_OUTPUT([zzzz4], [#if defined(HAVE_FOUR_VALUED_KRB_PUT_INT) || !defined(KRB4)
++#define KRB_PUT_INT(F, T, L, S) krb_put_int((F), (T), (L), (S))
++#else
++#define KRB_PUT_INT(F, T, L, S) krb_put_int((F), (T), (S))
++#endif
++])
++m4trace:configure.in:129: -1- AC_DEFINE_TRACE_LITERAL([KRB_VERIFY_SECURE])
++m4trace:configure.in:129: -1- AH_OUTPUT([KRB_VERIFY_SECURE], [/* Define to one if your krb.h doesn't */
++#undef KRB_VERIFY_SECURE])
++m4trace:configure.in:131: -1- AC_DEFINE_TRACE_LITERAL([KRB_VERIFY_SECURE_FAIL])
++m4trace:configure.in:131: -1- AH_OUTPUT([KRB_VERIFY_SECURE_FAIL], [/* Define to two if your krb.h doesn't */
++#undef KRB_VERIFY_SECURE_FAIL])
++m4trace:configure.in:142: -1- AC_DEFINE_TRACE_LITERAL([KRB_VERIFY_NOT_SECURE])
++m4trace:configure.in:142: -1- AH_OUTPUT([KRB_VERIFY_NOT_SECURE], [/* Define to zero if your krb.h doesn't */
++#undef KRB_VERIFY_NOT_SECURE])
++m4trace:configure.in:144: -1- AC_CHECK_FUNCS([krb_enable_debug])
++m4trace:configure.in:144: -1- AH_OUTPUT([HAVE_KRB_ENABLE_DEBUG], [/* Define to 1 if you have the \`krb_enable_debug' function. */
++#undef HAVE_KRB_ENABLE_DEBUG])
++m4trace:configure.in:144: -1- AC_SUBST([LIB_krb_enable_debug])
++m4trace:configure.in:145: -1- AC_CHECK_FUNCS([krb_disable_debug])
++m4trace:configure.in:145: -1- AH_OUTPUT([HAVE_KRB_DISABLE_DEBUG], [/* Define to 1 if you have the \`krb_disable_debug' function. */
++#undef HAVE_KRB_DISABLE_DEBUG])
++m4trace:configure.in:145: -1- AC_SUBST([LIB_krb_disable_debug])
++m4trace:configure.in:146: -1- AC_CHECK_FUNCS([krb_get_our_ip_for_realm])
++m4trace:configure.in:146: -1- AH_OUTPUT([HAVE_KRB_GET_OUR_IP_FOR_REALM], [/* Define to 1 if you have the \`krb_get_our_ip_for_realm' function. */
++#undef HAVE_KRB_GET_OUR_IP_FOR_REALM])
++m4trace:configure.in:146: -1- AC_SUBST([LIB_krb_get_our_ip_for_realm])
++m4trace:configure.in:158: -1- AC_DEFINE_TRACE_LITERAL([KRB_MK_REQ_CONST])
++m4trace:configure.in:158: -1- AH_OUTPUT([KRB_MK_REQ_CONST], [/* Define if krb_mk_req takes cons char * */
++#undef KRB_MK_REQ_CONST])
++m4trace:configure.in:169: -1- AM_CONDITIONAL([KRB4], [test "$with_krb4" != "no"])
++m4trace:configure.in:169: -1- AC_SUBST([KRB4_TRUE])
++m4trace:configure.in:169: -1- AC_SUBST([KRB4_FALSE])
++m4trace:configure.in:170: -1- AM_CONDITIONAL([KRB5], [true])
++m4trace:configure.in:170: -1- AC_SUBST([KRB5_TRUE])
++m4trace:configure.in:170: -1- AC_SUBST([KRB5_FALSE])
++m4trace:configure.in:171: -1- AM_CONDITIONAL([do_roken_rename], [true])
++m4trace:configure.in:171: -1- AC_SUBST([do_roken_rename_TRUE])
++m4trace:configure.in:171: -1- AC_SUBST([do_roken_rename_FALSE])
++m4trace:configure.in:173: -1- AC_DEFINE_TRACE_LITERAL([KRB5])
++m4trace:configure.in:173: -1- AH_OUTPUT([KRB5], [/* Enable Kerberos 5 support in applications. */
++#undef KRB5])
++m4trace:configure.in:174: -1- AC_SUBST([LIB_kdb])
++m4trace:configure.in:178: -1- AC_DEFINE_TRACE_LITERAL([DCE])
++m4trace:configure.in:178: -1- AH_OUTPUT([DCE], [/* Define if you want support for DCE/DFS PAG's. */
++#undef DCE])
++m4trace:configure.in:180: -1- AM_CONDITIONAL([DCE], [test "$enable_dce" = yes])
++m4trace:configure.in:180: -1- AC_SUBST([DCE_TRUE])
++m4trace:configure.in:180: -1- AC_SUBST([DCE_FALSE])
++m4trace:configure.in:191: -1- AC_SUBST([dpagaix_CFLAGS])
++m4trace:configure.in:192: -1- AC_SUBST([dpagaix_LDADD])
++m4trace:configure.in:203: -1- AC_DEFINE_TRACE_LITERAL([OTP])
++m4trace:configure.in:203: -1- AH_OUTPUT([OTP], [/* Define if you want OTP support in applications. */
++#undef OTP])
++m4trace:configure.in:206: -1- AC_SUBST([LIB_otp])
++m4trace:configure.in:207: -1- AM_CONDITIONAL([OTP], [test "$otp" = yes])
++m4trace:configure.in:207: -1- AC_SUBST([OTP_TRUE])
++m4trace:configure.in:207: -1- AC_SUBST([OTP_FALSE])
++m4trace:configure.in:209: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OSFC2])
++m4trace:configure.in:209: -1- AH_OUTPUT([HAVE_OSFC2], [/* Define to enable basic OSF C2 support. */
++#undef HAVE_OSFC2])
++m4trace:configure.in:209: -1- AC_SUBST([LIB_security])
++m4trace:configure.in:211: -1- AC_SUBST([NROFF], [$ac_cv_path_NROFF])
++m4trace:configure.in:211: -1- AC_SUBST([GROFF], [$ac_cv_path_GROFF])
++m4trace:configure.in:211: -1- AC_SUBST([CATMAN])
++m4trace:configure.in:211: -1- AM_CONDITIONAL([CATMAN], [test "$CATMAN"])
++m4trace:configure.in:211: -1- AC_SUBST([CATMAN_TRUE])
++m4trace:configure.in:211: -1- AC_SUBST([CATMAN_FALSE])
++m4trace:configure.in:211: -1- AC_SUBST([CATMANEXT])
++m4trace:configure.in:215: -2- AC_DEFINE_TRACE_LITERAL([READLINE])
++m4trace:configure.in:215: -2- AH_OUTPUT([READLINE], [/* Define if you have the readline package. */
++#undef READLINE])
++m4trace:configure.in:215: -1- AC_SUBST([DIR_readline])
++m4trace:configure.in:215: -1- AC_SUBST([INCLUDE_readline])
++m4trace:configure.in:215: -1- AC_SUBST([LIB_readline])
++m4trace:configure.in:217: -2- AC_DEFINE_TRACE_LITERAL([HESIOD])
++m4trace:configure.in:217: -2- AH_OUTPUT([HESIOD], [/* Define if you have the hesiod package. */
++#undef HESIOD])
++m4trace:configure.in:217: -1- AC_SUBST([DIR_hesiod])
++m4trace:configure.in:217: -1- AC_SUBST([INCLUDE_hesiod])
++m4trace:configure.in:217: -1- AC_SUBST([LIB_hesiod])
++m4trace:configure.in:219: -2- AC_DEFINE_TRACE_LITERAL([SL])
++m4trace:configure.in:219: -2- AH_OUTPUT([SL], [/* Define if you have the sl package. */
++#undef SL])
++m4trace:configure.in:219: -1- AC_SUBST([DIR_sl])
++m4trace:configure.in:219: -1- AC_SUBST([INCLUDE_sl])
++m4trace:configure.in:219: -1- AC_SUBST([LIB_sl])
++m4trace:configure.in:224: -2- AC_DEFINE_TRACE_LITERAL([SS])
++m4trace:configure.in:224: -2- AH_OUTPUT([SS], [/* Define if you have the ss package. */
++#undef SS])
++m4trace:configure.in:224: -1- AC_SUBST([DIR_ss])
++m4trace:configure.in:224: -1- AC_SUBST([INCLUDE_ss])
++m4trace:configure.in:224: -1- AC_SUBST([LIB_ss])
++m4trace:configure.in:232: -2- AC_DEFINE_TRACE_LITERAL([OTP])
++m4trace:configure.in:232: -2- AH_OUTPUT([OTP], [/* Define if you have the otp package. */
++#undef OTP])
++m4trace:configure.in:232: -1- AC_SUBST([DIR_otp])
++m4trace:configure.in:232: -1- AC_SUBST([INCLUDE_otp])
++m4trace:configure.in:232: -1- AC_SUBST([LIB_otp])
++m4trace:configure.in:239: -1- AC_DEFINE_TRACE_LITERAL([WORDS_BIGENDIAN])
++m4trace:configure.in:239: -1- AH_OUTPUT([WORDS_BIGENDIAN], [/* define if target is big endian */
++#undef WORDS_BIGENDIAN])
++m4trace:configure.in:239: -1- AC_DEFINE_TRACE_LITERAL([ENDIANESS_IN_SYS_PARAM_H])
++m4trace:configure.in:239: -1- AH_OUTPUT([ENDIANESS_IN_SYS_PARAM_H], [/* define if sys/param.h defines the endiness */
++#undef ENDIANESS_IN_SYS_PARAM_H])
++m4trace:configure.in:240: -1- AC_C_INLINE
++m4trace:configure.in:240: -1- AC_DEFINE_TRACE_LITERAL([inline])
++m4trace:configure.in:240: -1- AH_OUTPUT([inline], [/* Define as \`__inline' if that's what the C compiler calls it, or to nothing
++   if it is not supported. */
++#undef inline])
++m4trace:configure.in:240: -1- AC_DEFINE_TRACE_LITERAL([inline])
++m4trace:configure.in:242: -1- AM_CONDITIONAL([AIX], [test "$aix" != no])
++m4trace:configure.in:242: -1- AC_SUBST([AIX_TRUE])
++m4trace:configure.in:242: -1- AC_SUBST([AIX_FALSE])
++m4trace:configure.in:242: -1- AM_CONDITIONAL([AIX4], [test "$aix" = 4])
++m4trace:configure.in:242: -1- AC_SUBST([AIX4_TRUE])
++m4trace:configure.in:242: -1- AC_SUBST([AIX4_FALSE])
++m4trace:configure.in:242: -1- AM_CONDITIONAL([AIX_DYNAMIC_AFS], [test "$aix_dynamic_afs" = yes])
++m4trace:configure.in:242: -1- AC_SUBST([AIX_DYNAMIC_AFS_TRUE])
++m4trace:configure.in:242: -1- AC_SUBST([AIX_DYNAMIC_AFS_FALSE])
++m4trace:configure.in:242: -1- AC_CHECK_FUNCS([dlopen])
++m4trace:configure.in:242: -1- AH_OUTPUT([HAVE_DLOPEN], [/* Define to 1 if you have the \`dlopen' function. */
++#undef HAVE_DLOPEN])
++m4trace:configure.in:242: -1- AC_SUBST([LIB_dlopen])
++m4trace:configure.in:242: -1- AM_CONDITIONAL([HAVE_DLOPEN], [test "$ac_cv_funclib_dlopen" != no])
++m4trace:configure.in:242: -1- AC_SUBST([HAVE_DLOPEN_TRUE])
++m4trace:configure.in:242: -1- AC_SUBST([HAVE_DLOPEN_FALSE])
++m4trace:configure.in:242: -1- AC_SUBST([AIX_EXTRA_KAFS])
++m4trace:configure.in:243: -1- AM_CONDITIONAL([IRIX], [test "$irix" != no])
++m4trace:configure.in:243: -1- AC_SUBST([IRIX_TRUE])
++m4trace:configure.in:243: -1- AC_SUBST([IRIX_FALSE])
++m4trace:configure.in:245: -1- AC_PATH_X
++m4trace:configure.in:245: -1- AC_DEFINE_TRACE_LITERAL([X_DISPLAY_MISSING])
++m4trace:configure.in:245: -1- AH_OUTPUT([X_DISPLAY_MISSING], [/* Define to 1 if the X Window System is missing or not being used. */
++#undef X_DISPLAY_MISSING])
++m4trace:configure.in:245: -1- AC_CHECK_LIB([dnet], [dnet_ntoa], [X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"])
++m4trace:configure.in:245: -1- AC_CHECK_LIB([dnet_stub], [dnet_ntoa], [X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"])
++m4trace:configure.in:245: -1- AC_CHECK_LIB([nsl], [gethostbyname], [X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"])
++m4trace:configure.in:245: -1- AC_CHECK_LIB([bsd], [gethostbyname], [X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"])
++m4trace:configure.in:245: -1- AC_CHECK_LIB([socket], [connect], [X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"], [], [$X_EXTRA_LIBS])
++m4trace:configure.in:245: -1- AC_CHECK_LIB([posix], [remove], [X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"])
++m4trace:configure.in:245: -1- AC_CHECK_LIB([ipc], [shmat], [X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"])
++m4trace:configure.in:245: -1- AC_CHECK_LIB([ICE], [IceConnectionNumber], [X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"], [], [$X_EXTRA_LIBS])
++m4trace:configure.in:245: -1- AC_SUBST([X_CFLAGS])
++m4trace:configure.in:245: -1- AC_SUBST([X_PRE_LIBS])
++m4trace:configure.in:245: -1- AC_SUBST([X_LIBS])
++m4trace:configure.in:245: -1- AC_SUBST([X_EXTRA_LIBS])
++m4trace:configure.in:247: -1- AM_CONDITIONAL([HAVE_X], [test "$no_x" != yes])
++m4trace:configure.in:247: -1- AC_SUBST([HAVE_X_TRUE])
++m4trace:configure.in:247: -1- AC_SUBST([HAVE_X_FALSE])
++m4trace:configure.in:249: -1- AC_CHECK_FUNCS([XauWriteAuth])
++m4trace:configure.in:249: -1- AH_OUTPUT([HAVE_XAUWRITEAUTH], [/* Define to 1 if you have the \`XauWriteAuth' function. */
++#undef HAVE_XAUWRITEAUTH])
++m4trace:configure.in:249: -1- AC_SUBST([LIB_XauWriteAuth])
++m4trace:configure.in:249: -1- AC_CHECK_FUNCS([XauReadAuth])
++m4trace:configure.in:249: -1- AH_OUTPUT([HAVE_XAUREADAUTH], [/* Define to 1 if you have the \`XauReadAuth' function. */
++#undef HAVE_XAUREADAUTH])
++m4trace:configure.in:249: -1- AC_SUBST([LIB_XauReadAuth])
++m4trace:configure.in:249: -1- AC_CHECK_FUNCS([XauFileName])
++m4trace:configure.in:249: -1- AH_OUTPUT([HAVE_XAUFILENAME], [/* Define to 1 if you have the \`XauFileName' function. */
++#undef HAVE_XAUFILENAME])
++m4trace:configure.in:249: -1- AC_SUBST([LIB_XauFileName])
++m4trace:configure.in:249: -1- AM_CONDITIONAL([NEED_WRITEAUTH], [test "$ac_cv_func_XauWriteAuth" != "yes"])
++m4trace:configure.in:249: -1- AC_SUBST([NEED_WRITEAUTH_TRUE])
++m4trace:configure.in:249: -1- AC_SUBST([NEED_WRITEAUTH_FALSE])
++m4trace:configure.in:249: -1- AC_SUBST([NEED_WRITEAUTH_TRUE])
++m4trace:configure.in:249: -1- AC_SUBST([NEED_WRITEAUTH_FALSE])
++m4trace:configure.in:254: -1- AC_C_CONST
++m4trace:configure.in:254: -1- AC_DEFINE_TRACE_LITERAL([const])
++m4trace:configure.in:254: -1- AH_OUTPUT([const], [/* Define to empty if \`const' does not conform to ANSI C. */
++#undef const])
++m4trace:configure.in:255: -1- AC_TYPE_OFF_T
++m4trace:configure.in:255: -1- AC_DEFINE_TRACE_LITERAL([off_t])
++m4trace:configure.in:255: -1- AH_OUTPUT([off_t], [/* Define to \`long' if <sys/types.h> does not define. */
++#undef off_t])
++m4trace:configure.in:256: -1- AC_TYPE_SIZE_T
++m4trace:configure.in:256: -1- AC_DEFINE_TRACE_LITERAL([size_t])
++m4trace:configure.in:256: -1- AH_OUTPUT([size_t], [/* Define to \`unsigned' if <sys/types.h> does not define. */
++#undef size_t])
++m4trace:configure.in:257: -1- AC_DEFINE_TRACE_LITERAL([ssize_t])
++m4trace:configure.in:257: -1- AH_OUTPUT([ssize_t], [/* Define this to what the type ssize_t should be. */
++#undef ssize_t])
++m4trace:configure.in:258: -1- AC_TYPE_PID_T
++m4trace:configure.in:258: -1- AC_DEFINE_TRACE_LITERAL([pid_t])
++m4trace:configure.in:258: -1- AH_OUTPUT([pid_t], [/* Define to \`int' if <sys/types.h> does not define. */
++#undef pid_t])
++m4trace:configure.in:259: -1- AC_TYPE_UID_T
++m4trace:configure.in:259: -1- AC_DEFINE_TRACE_LITERAL([uid_t])
++m4trace:configure.in:259: -1- AH_OUTPUT([uid_t], [/* Define to \`int' if <sys/types.h> doesn't define. */
++#undef uid_t])
++m4trace:configure.in:259: -1- AC_DEFINE_TRACE_LITERAL([gid_t])
++m4trace:configure.in:259: -1- AH_OUTPUT([gid_t], [/* Define to \`int' if <sys/types.h> doesn't define. */
++#undef gid_t])
++m4trace:configure.in:260: -1- AC_DEFINE_TRACE_LITERAL([mode_t])
++m4trace:configure.in:260: -1- AH_OUTPUT([mode_t], [/* Define this to what the type mode_t should be. */
++#undef mode_t])
++m4trace:configure.in:261: -1- AC_DEFINE_TRACE_LITERAL([sig_atomic_t])
++m4trace:configure.in:261: -1- AH_OUTPUT([sig_atomic_t], [/* Define this to what the type sig_atomic_t should be. */
++#undef sig_atomic_t])
++m4trace:configure.in:262: -1- AC_CHECK_TYPES([long long])
++m4trace:configure.in:262: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LONG_LONG])
++m4trace:configure.in:262: -1- AH_OUTPUT([HAVE_LONG_LONG], [/* Define to 1 if the system has the type \`long long'. */
++#undef HAVE_LONG_LONG])
++m4trace:configure.in:263: -1- AC_HEADER_TIME
++m4trace:configure.in:263: -1- AC_DEFINE_TRACE_LITERAL([TIME_WITH_SYS_TIME])
++m4trace:configure.in:263: -1- AH_OUTPUT([TIME_WITH_SYS_TIME], [/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
++#undef TIME_WITH_SYS_TIME])
++m4trace:configure.in:264: -1- AC_STRUCT_TM
++m4trace:configure.in:264: -1- AC_DEFINE_TRACE_LITERAL([TM_IN_SYS_TIME])
++m4trace:configure.in:264: -1- AH_OUTPUT([TM_IN_SYS_TIME], [/* Define to 1 if your <sys/time.h> declares \`struct tm'. */
++#undef TM_IN_SYS_TIME])
++m4trace:configure.in:267: -1- AC_HEADER_STDC
++m4trace:configure.in:267: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS])
++m4trace:configure.in:267: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */
++#undef STDC_HEADERS])
++m4trace:configure.in:356: -1- AC_CHECK_HEADERS([\
++	arpa/ftp.h				\
++	arpa/inet.h				\
++	arpa/nameser.h				\
++	arpa/telnet.h				\
++	bind/bitypes.h				\
++	bsdsetjmp.h				\
++	crypt.h					\
++	curses.h				\
++	dirent.h				\
++	dlfcn.h					\
++	err.h					\
++	errno.h					\
++	fcntl.h					\
++	fnmatch.h				\
++	grp.h					\
++	inttypes.h				\
++	io.h					\
++	libutil.h				\
++	limits.h				\
++	maillock.h				\
++	net/if.h				\
++	netdb.h					\
++	netinet/in.h				\
++	netinet/in6.h				\
++	netinet/in6_machtypes.h			\
++	netinet/in6_var.h			\
++	netinet/in_systm.h			\
++	netinet6/in6.h				\
++	netinfo/ni.h				\
++	paths.h					\
++	pthread.h				\
++	pty.h					\
++	pwd.h					\
++	resolv.h				\
++	sac.h					\
++	security/pam_modules.h			\
++	sgtty.h					\
++	shadow.h				\
++	siad.h					\
++	signal.h				\
++	stropts.h				\
++	sys/bitypes.h				\
++	sys/category.h				\
++	sys/file.h				\
++	sys/filio.h				\
++	sys/ioccom.h				\
++	sys/ioctl.h				\
++	sys/param.h				\
++	sys/proc.h				\
++	sys/pty.h				\
++	sys/ptyio.h				\
++	sys/ptyvar.h				\
++	sys/resource.h				\
++	sys/select.h				\
++	sys/socket.h				\
++	sys/sockio.h				\
++	sys/stat.h				\
++	sys/str_tty.h				\
++	sys/stream.h				\
++	sys/stropts.h				\
++	sys/strtty.h				\
++	sys/syscall.h				\
++	sys/sysctl.h				\
++	sys/termio.h				\
++	sys/time.h				\
++	sys/timeb.h				\
++	sys/times.h				\
++	sys/tty.h				\
++	sys/types.h				\
++	sys/uio.h				\
++	sys/un.h				\
++	sys/utsname.h				\
++	sys/wait.h				\
++	syslog.h				\
++	term.h					\
++	termio.h				\
++	termios.h				\
++	time.h					\
++	tmpdir.h				\
++	udb.h					\
++	unistd.h				\
++	userconf.h				\
++	usersec.h				\
++	util.h					\
++	utmp.h					\
++	utmpx.h					\
++])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_ARPA_FTP_H], [/* Define to 1 if you have the <arpa/ftp.h> header file. */
++#undef HAVE_ARPA_FTP_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_ARPA_INET_H], [/* Define to 1 if you have the <arpa/inet.h> header file. */
++#undef HAVE_ARPA_INET_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_ARPA_NAMESER_H], [/* Define to 1 if you have the <arpa/nameser.h> header file. */
++#undef HAVE_ARPA_NAMESER_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_ARPA_TELNET_H], [/* Define to 1 if you have the <arpa/telnet.h> header file. */
++#undef HAVE_ARPA_TELNET_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_BIND_BITYPES_H], [/* Define to 1 if you have the <bind/bitypes.h> header file. */
++#undef HAVE_BIND_BITYPES_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_BSDSETJMP_H], [/* Define to 1 if you have the <bsdsetjmp.h> header file. */
++#undef HAVE_BSDSETJMP_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_CRYPT_H], [/* Define to 1 if you have the <crypt.h> header file. */
++#undef HAVE_CRYPT_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_CURSES_H], [/* Define to 1 if you have the <curses.h> header file. */
++#undef HAVE_CURSES_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_DIRENT_H], [/* Define to 1 if you have the <dirent.h> header file. */
++#undef HAVE_DIRENT_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_DLFCN_H], [/* Define to 1 if you have the <dlfcn.h> header file. */
++#undef HAVE_DLFCN_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_ERR_H], [/* Define to 1 if you have the <err.h> header file. */
++#undef HAVE_ERR_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_ERRNO_H], [/* Define to 1 if you have the <errno.h> header file. */
++#undef HAVE_ERRNO_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_FCNTL_H], [/* Define to 1 if you have the <fcntl.h> header file. */
++#undef HAVE_FCNTL_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_FNMATCH_H], [/* Define to 1 if you have the <fnmatch.h> header file. */
++#undef HAVE_FNMATCH_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_GRP_H], [/* Define to 1 if you have the <grp.h> header file. */
++#undef HAVE_GRP_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */
++#undef HAVE_INTTYPES_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_IO_H], [/* Define to 1 if you have the <io.h> header file. */
++#undef HAVE_IO_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_LIBUTIL_H], [/* Define to 1 if you have the <libutil.h> header file. */
++#undef HAVE_LIBUTIL_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_LIMITS_H], [/* Define to 1 if you have the <limits.h> header file. */
++#undef HAVE_LIMITS_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_MAILLOCK_H], [/* Define to 1 if you have the <maillock.h> header file. */
++#undef HAVE_MAILLOCK_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_NET_IF_H], [/* Define to 1 if you have the <net/if.h> header file. */
++#undef HAVE_NET_IF_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_NETDB_H], [/* Define to 1 if you have the <netdb.h> header file. */
++#undef HAVE_NETDB_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_NETINET_IN_H], [/* Define to 1 if you have the <netinet/in.h> header file. */
++#undef HAVE_NETINET_IN_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_NETINET_IN6_H], [/* Define to 1 if you have the <netinet/in6.h> header file. */
++#undef HAVE_NETINET_IN6_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_NETINET_IN6_MACHTYPES_H], [/* Define to 1 if you have the <netinet/in6_machtypes.h> header file. */
++#undef HAVE_NETINET_IN6_MACHTYPES_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_NETINET_IN6_VAR_H], [/* Define to 1 if you have the <netinet/in6_var.h> header file. */
++#undef HAVE_NETINET_IN6_VAR_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_NETINET_IN_SYSTM_H], [/* Define to 1 if you have the <netinet/in_systm.h> header file. */
++#undef HAVE_NETINET_IN_SYSTM_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_NETINET6_IN6_H], [/* Define to 1 if you have the <netinet6/in6.h> header file. */
++#undef HAVE_NETINET6_IN6_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_NETINFO_NI_H], [/* Define to 1 if you have the <netinfo/ni.h> header file. */
++#undef HAVE_NETINFO_NI_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_PATHS_H], [/* Define to 1 if you have the <paths.h> header file. */
++#undef HAVE_PATHS_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_PTHREAD_H], [/* Define to 1 if you have the <pthread.h> header file. */
++#undef HAVE_PTHREAD_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_PTY_H], [/* Define to 1 if you have the <pty.h> header file. */
++#undef HAVE_PTY_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_PWD_H], [/* Define to 1 if you have the <pwd.h> header file. */
++#undef HAVE_PWD_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_RESOLV_H], [/* Define to 1 if you have the <resolv.h> header file. */
++#undef HAVE_RESOLV_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_SAC_H], [/* Define to 1 if you have the <sac.h> header file. */
++#undef HAVE_SAC_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_SECURITY_PAM_MODULES_H], [/* Define to 1 if you have the <security/pam_modules.h> header file. */
++#undef HAVE_SECURITY_PAM_MODULES_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_SGTTY_H], [/* Define to 1 if you have the <sgtty.h> header file. */
++#undef HAVE_SGTTY_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_SHADOW_H], [/* Define to 1 if you have the <shadow.h> header file. */
++#undef HAVE_SHADOW_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_SIAD_H], [/* Define to 1 if you have the <siad.h> header file. */
++#undef HAVE_SIAD_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_SIGNAL_H], [/* Define to 1 if you have the <signal.h> header file. */
++#undef HAVE_SIGNAL_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_STROPTS_H], [/* Define to 1 if you have the <stropts.h> header file. */
++#undef HAVE_STROPTS_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_SYS_BITYPES_H], [/* Define to 1 if you have the <sys/bitypes.h> header file. */
++#undef HAVE_SYS_BITYPES_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_SYS_CATEGORY_H], [/* Define to 1 if you have the <sys/category.h> header file. */
++#undef HAVE_SYS_CATEGORY_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_SYS_FILE_H], [/* Define to 1 if you have the <sys/file.h> header file. */
++#undef HAVE_SYS_FILE_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_SYS_FILIO_H], [/* Define to 1 if you have the <sys/filio.h> header file. */
++#undef HAVE_SYS_FILIO_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_SYS_IOCCOM_H], [/* Define to 1 if you have the <sys/ioccom.h> header file. */
++#undef HAVE_SYS_IOCCOM_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_SYS_IOCTL_H], [/* Define to 1 if you have the <sys/ioctl.h> header file. */
++#undef HAVE_SYS_IOCTL_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_SYS_PARAM_H], [/* Define to 1 if you have the <sys/param.h> header file. */
++#undef HAVE_SYS_PARAM_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_SYS_PROC_H], [/* Define to 1 if you have the <sys/proc.h> header file. */
++#undef HAVE_SYS_PROC_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_SYS_PTY_H], [/* Define to 1 if you have the <sys/pty.h> header file. */
++#undef HAVE_SYS_PTY_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_SYS_PTYIO_H], [/* Define to 1 if you have the <sys/ptyio.h> header file. */
++#undef HAVE_SYS_PTYIO_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_SYS_PTYVAR_H], [/* Define to 1 if you have the <sys/ptyvar.h> header file. */
++#undef HAVE_SYS_PTYVAR_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_SYS_RESOURCE_H], [/* Define to 1 if you have the <sys/resource.h> header file. */
++#undef HAVE_SYS_RESOURCE_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_SYS_SELECT_H], [/* Define to 1 if you have the <sys/select.h> header file. */
++#undef HAVE_SYS_SELECT_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_SYS_SOCKET_H], [/* Define to 1 if you have the <sys/socket.h> header file. */
++#undef HAVE_SYS_SOCKET_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_SYS_SOCKIO_H], [/* Define to 1 if you have the <sys/sockio.h> header file. */
++#undef HAVE_SYS_SOCKIO_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the <sys/stat.h> header file. */
++#undef HAVE_SYS_STAT_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_SYS_STR_TTY_H], [/* Define to 1 if you have the <sys/str_tty.h> header file. */
++#undef HAVE_SYS_STR_TTY_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_SYS_STREAM_H], [/* Define to 1 if you have the <sys/stream.h> header file. */
++#undef HAVE_SYS_STREAM_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_SYS_STROPTS_H], [/* Define to 1 if you have the <sys/stropts.h> header file. */
++#undef HAVE_SYS_STROPTS_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_SYS_STRTTY_H], [/* Define to 1 if you have the <sys/strtty.h> header file. */
++#undef HAVE_SYS_STRTTY_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_SYS_SYSCALL_H], [/* Define to 1 if you have the <sys/syscall.h> header file. */
++#undef HAVE_SYS_SYSCALL_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_SYS_SYSCTL_H], [/* Define to 1 if you have the <sys/sysctl.h> header file. */
++#undef HAVE_SYS_SYSCTL_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_SYS_TERMIO_H], [/* Define to 1 if you have the <sys/termio.h> header file. */
++#undef HAVE_SYS_TERMIO_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_SYS_TIME_H], [/* Define to 1 if you have the <sys/time.h> header file. */
++#undef HAVE_SYS_TIME_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_SYS_TIMEB_H], [/* Define to 1 if you have the <sys/timeb.h> header file. */
++#undef HAVE_SYS_TIMEB_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_SYS_TIMES_H], [/* Define to 1 if you have the <sys/times.h> header file. */
++#undef HAVE_SYS_TIMES_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_SYS_TTY_H], [/* Define to 1 if you have the <sys/tty.h> header file. */
++#undef HAVE_SYS_TTY_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the <sys/types.h> header file. */
++#undef HAVE_SYS_TYPES_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_SYS_UIO_H], [/* Define to 1 if you have the <sys/uio.h> header file. */
++#undef HAVE_SYS_UIO_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_SYS_UN_H], [/* Define to 1 if you have the <sys/un.h> header file. */
++#undef HAVE_SYS_UN_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_SYS_UTSNAME_H], [/* Define to 1 if you have the <sys/utsname.h> header file. */
++#undef HAVE_SYS_UTSNAME_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_SYS_WAIT_H], [/* Define to 1 if you have the <sys/wait.h> header file. */
++#undef HAVE_SYS_WAIT_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_SYSLOG_H], [/* Define to 1 if you have the <syslog.h> header file. */
++#undef HAVE_SYSLOG_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_TERM_H], [/* Define to 1 if you have the <term.h> header file. */
++#undef HAVE_TERM_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_TERMIO_H], [/* Define to 1 if you have the <termio.h> header file. */
++#undef HAVE_TERMIO_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_TERMIOS_H], [/* Define to 1 if you have the <termios.h> header file. */
++#undef HAVE_TERMIOS_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_TIME_H], [/* Define to 1 if you have the <time.h> header file. */
++#undef HAVE_TIME_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_TMPDIR_H], [/* Define to 1 if you have the <tmpdir.h> header file. */
++#undef HAVE_TMPDIR_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_UDB_H], [/* Define to 1 if you have the <udb.h> header file. */
++#undef HAVE_UDB_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
++#undef HAVE_UNISTD_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_USERCONF_H], [/* Define to 1 if you have the <userconf.h> header file. */
++#undef HAVE_USERCONF_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_USERSEC_H], [/* Define to 1 if you have the <usersec.h> header file. */
++#undef HAVE_USERSEC_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_UTIL_H], [/* Define to 1 if you have the <util.h> header file. */
++#undef HAVE_UTIL_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_UTMP_H], [/* Define to 1 if you have the <utmp.h> header file. */
++#undef HAVE_UTMP_H])
++m4trace:configure.in:356: -1- AH_OUTPUT([HAVE_UTMPX_H], [/* Define to 1 if you have the <utmpx.h> header file. */
++#undef HAVE_UTMPX_H])
++m4trace:configure.in:358: -1- AC_CHECK_HEADERS([standards.h])
++m4trace:configure.in:358: -1- AH_OUTPUT([HAVE_STANDARDS_H], [/* Define to 1 if you have the <standards.h> header file. */
++#undef HAVE_STANDARDS_H])
++m4trace:configure.in:358: -1- AC_CHECK_HEADERS([netinet/ip.h netinet/tcp.h])
++m4trace:configure.in:358: -1- AH_OUTPUT([HAVE_NETINET_IP_H], [/* Define to 1 if you have the <netinet/ip.h> header file. */
++#undef HAVE_NETINET_IP_H])
++m4trace:configure.in:358: -1- AH_OUTPUT([HAVE_NETINET_TCP_H], [/* Define to 1 if you have the <netinet/tcp.h> header file. */
++#undef HAVE_NETINET_TCP_H])
++m4trace:configure.in:366: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NETINFO])
++m4trace:configure.in:366: -1- AH_OUTPUT([HAVE_NETINFO], [/* Define if you want to use Netinfo instead of krb5.conf. */
++#undef HAVE_NETINFO])
++m4trace:configure.in:369: -1- AM_CONDITIONAL([have_err_h], [test "$ac_cv_header_err_h" = yes])
++m4trace:configure.in:369: -1- AC_SUBST([have_err_h_TRUE])
++m4trace:configure.in:369: -1- AC_SUBST([have_err_h_FALSE])
++m4trace:configure.in:370: -1- AM_CONDITIONAL([have_fnmatch_h], [test "$ac_cv_header_fnmatch_h" = yes])
++m4trace:configure.in:370: -1- AC_SUBST([have_fnmatch_h_TRUE])
++m4trace:configure.in:370: -1- AC_SUBST([have_fnmatch_h_FALSE])
++m4trace:configure.in:374: -1- AC_CHECK_FUNCS([socket])
++m4trace:configure.in:374: -1- AH_OUTPUT([HAVE_SOCKET], [/* Define to 1 if you have the \`socket' function. */
++#undef HAVE_SOCKET])
++m4trace:configure.in:374: -1- AC_SUBST([LIB_socket])
++m4trace:configure.in:375: -1- AC_CHECK_FUNCS([gethostbyname])
++m4trace:configure.in:375: -1- AH_OUTPUT([HAVE_GETHOSTBYNAME], [/* Define to 1 if you have the \`gethostbyname' function. */
++#undef HAVE_GETHOSTBYNAME])
++m4trace:configure.in:375: -1- AC_SUBST([LIB_gethostbyname])
++m4trace:configure.in:376: -1- AC_CHECK_FUNCS([syslog])
++m4trace:configure.in:376: -1- AH_OUTPUT([HAVE_SYSLOG], [/* Define to 1 if you have the \`syslog' function. */
++#undef HAVE_SYSLOG])
++m4trace:configure.in:376: -1- AC_SUBST([LIB_syslog])
++m4trace:configure.in:378: -1- AC_DEFINE_TRACE_LITERAL([HAVE_IPV6])
++m4trace:configure.in:378: -1- AH_OUTPUT([HAVE_IPV6], [/* Define if you have IPv6. */
++#undef HAVE_IPV6])
++m4trace:configure.in:378: -1- AC_DEFINE_TRACE_LITERAL([HAVE_IN6ADDR_LOOPBACK])
++m4trace:configure.in:378: -1- AH_OUTPUT([HAVE_IN6ADDR_LOOPBACK], [/* Define if you have the in6addr_loopback variable */
++#undef HAVE_IN6ADDR_LOOPBACK])
++m4trace:configure.in:380: -1- AC_CHECK_FUNCS([logwtmp])
++m4trace:configure.in:380: -1- AH_OUTPUT([HAVE_LOGWTMP], [/* Define to 1 if you have the \`logwtmp' function. */
++#undef HAVE_LOGWTMP])
++m4trace:configure.in:380: -1- AC_SUBST([LIB_logwtmp])
++m4trace:configure.in:381: -1- AC_CHECK_FUNCS([logout])
++m4trace:configure.in:381: -1- AH_OUTPUT([HAVE_LOGOUT], [/* Define to 1 if you have the \`logout' function. */
++#undef HAVE_LOGOUT])
++m4trace:configure.in:381: -1- AC_SUBST([LIB_logout])
++m4trace:configure.in:382: -1- AC_CHECK_FUNCS([openpty])
++m4trace:configure.in:382: -1- AH_OUTPUT([HAVE_OPENPTY], [/* Define to 1 if you have the \`openpty' function. */
++#undef HAVE_OPENPTY])
++m4trace:configure.in:382: -1- AC_SUBST([LIB_openpty])
++m4trace:configure.in:383: -1- AC_CHECK_FUNCS([tgetent])
++m4trace:configure.in:383: -1- AH_OUTPUT([HAVE_TGETENT], [/* Define to 1 if you have the \`tgetent' function. */
++#undef HAVE_TGETENT])
++m4trace:configure.in:383: -1- AC_SUBST([LIB_tgetent])
++m4trace:configure.in:384: -1- AC_CHECK_FUNCS([gethostbyname2])
++m4trace:configure.in:384: -1- AH_OUTPUT([HAVE_GETHOSTBYNAME2], [/* Define to 1 if you have the \`gethostbyname2' function. */
++#undef HAVE_GETHOSTBYNAME2])
++m4trace:configure.in:384: -1- AC_SUBST([LIB_gethostbyname2])
++m4trace:configure.in:402: -1- AC_CHECK_FUNCS([res_search])
++m4trace:configure.in:402: -1- AH_OUTPUT([HAVE_RES_SEARCH], [/* Define to 1 if you have the \`res_search' function. */
++#undef HAVE_RES_SEARCH])
++m4trace:configure.in:402: -1- AC_SUBST([LIB_res_search])
++m4trace:configure.in:420: -1- AC_CHECK_FUNCS([dn_expand])
++m4trace:configure.in:420: -1- AH_OUTPUT([HAVE_DN_EXPAND], [/* Define to 1 if you have the \`dn_expand' function. */
++#undef HAVE_DN_EXPAND])
++m4trace:configure.in:420: -1- AC_SUBST([LIB_dn_expand])
++m4trace:configure.in:424: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SNPRINTF])
++m4trace:configure.in:424: -1- AH_OUTPUT([HAVE_SNPRINTF], [/* define if you have a working snprintf */
++#undef HAVE_SNPRINTF])
++m4trace:configure.in:424: -1- AC_DEFINE_TRACE_LITERAL([NEED_SNPRINTF_PROTO])
++m4trace:configure.in:424: -1- AH_OUTPUT([NEED_SNPRINTF_PROTO], [/* define if the system is missing a prototype for snprintf() */
++#undef NEED_SNPRINTF_PROTO])
++m4trace:configure.in:425: -1- AC_DEFINE_TRACE_LITERAL([HAVE_VSNPRINTF])
++m4trace:configure.in:425: -1- AH_OUTPUT([HAVE_VSNPRINTF], [/* define if you have a working vsnprintf */
++#undef HAVE_VSNPRINTF])
++m4trace:configure.in:425: -1- AC_DEFINE_TRACE_LITERAL([NEED_VSNPRINTF_PROTO])
++m4trace:configure.in:425: -1- AH_OUTPUT([NEED_VSNPRINTF_PROTO], [/* define if the system is missing a prototype for vsnprintf() */
++#undef NEED_VSNPRINTF_PROTO])
++m4trace:configure.in:459: -1- AC_CHECK_FUNCS([				\
++	_getpty					\
++	_scrsize				\
++	fcntl					\
++	gettimeofday				\
++	getuid					\
++	grantpt					\
++	mktime					\
++	ptsname					\
++	rand					\
++	random					\
++	revoke					\
++	select					\
++	setitimer				\
++	setpcred				\
++	setpgid					\
++	setproctitle				\
++	setregid				\
++	setresgid				\
++	setresuid				\
++	setreuid				\
++	setsid					\
++	setutent				\
++	sigaction				\
++	strstr					\
++	timegm					\
++	ttyname					\
++	ttyslot					\
++	umask					\
++	unlockpt				\
++	vhangup					\
++	yp_get_default_domain			\
++])
++m4trace:configure.in:459: -1- AH_OUTPUT([HAVE__GETPTY], [/* Define to 1 if you have the \`_getpty' function. */
++#undef HAVE__GETPTY])
++m4trace:configure.in:459: -1- AH_OUTPUT([HAVE__SCRSIZE], [/* Define to 1 if you have the \`_scrsize' function. */
++#undef HAVE__SCRSIZE])
++m4trace:configure.in:459: -1- AH_OUTPUT([HAVE_FCNTL], [/* Define to 1 if you have the \`fcntl' function. */
++#undef HAVE_FCNTL])
++m4trace:configure.in:459: -1- AH_OUTPUT([HAVE_GETTIMEOFDAY], [/* Define to 1 if you have the \`gettimeofday' function. */
++#undef HAVE_GETTIMEOFDAY])
++m4trace:configure.in:459: -1- AH_OUTPUT([HAVE_GETUID], [/* Define to 1 if you have the \`getuid' function. */
++#undef HAVE_GETUID])
++m4trace:configure.in:459: -1- AH_OUTPUT([HAVE_GRANTPT], [/* Define to 1 if you have the \`grantpt' function. */
++#undef HAVE_GRANTPT])
++m4trace:configure.in:459: -1- AH_OUTPUT([HAVE_MKTIME], [/* Define to 1 if you have the \`mktime' function. */
++#undef HAVE_MKTIME])
++m4trace:configure.in:459: -1- AH_OUTPUT([HAVE_PTSNAME], [/* Define to 1 if you have the \`ptsname' function. */
++#undef HAVE_PTSNAME])
++m4trace:configure.in:459: -1- AH_OUTPUT([HAVE_RAND], [/* Define to 1 if you have the \`rand' function. */
++#undef HAVE_RAND])
++m4trace:configure.in:459: -1- AH_OUTPUT([HAVE_RANDOM], [/* Define to 1 if you have the \`random' function. */
++#undef HAVE_RANDOM])
++m4trace:configure.in:459: -1- AH_OUTPUT([HAVE_REVOKE], [/* Define to 1 if you have the \`revoke' function. */
++#undef HAVE_REVOKE])
++m4trace:configure.in:459: -1- AH_OUTPUT([HAVE_SELECT], [/* Define to 1 if you have the \`select' function. */
++#undef HAVE_SELECT])
++m4trace:configure.in:459: -1- AH_OUTPUT([HAVE_SETITIMER], [/* Define to 1 if you have the \`setitimer' function. */
++#undef HAVE_SETITIMER])
++m4trace:configure.in:459: -1- AH_OUTPUT([HAVE_SETPCRED], [/* Define to 1 if you have the \`setpcred' function. */
++#undef HAVE_SETPCRED])
++m4trace:configure.in:459: -1- AH_OUTPUT([HAVE_SETPGID], [/* Define to 1 if you have the \`setpgid' function. */
++#undef HAVE_SETPGID])
++m4trace:configure.in:459: -1- AH_OUTPUT([HAVE_SETPROCTITLE], [/* Define to 1 if you have the \`setproctitle' function. */
++#undef HAVE_SETPROCTITLE])
++m4trace:configure.in:459: -1- AH_OUTPUT([HAVE_SETREGID], [/* Define to 1 if you have the \`setregid' function. */
++#undef HAVE_SETREGID])
++m4trace:configure.in:459: -1- AH_OUTPUT([HAVE_SETRESGID], [/* Define to 1 if you have the \`setresgid' function. */
++#undef HAVE_SETRESGID])
++m4trace:configure.in:459: -1- AH_OUTPUT([HAVE_SETRESUID], [/* Define to 1 if you have the \`setresuid' function. */
++#undef HAVE_SETRESUID])
++m4trace:configure.in:459: -1- AH_OUTPUT([HAVE_SETREUID], [/* Define to 1 if you have the \`setreuid' function. */
++#undef HAVE_SETREUID])
++m4trace:configure.in:459: -1- AH_OUTPUT([HAVE_SETSID], [/* Define to 1 if you have the \`setsid' function. */
++#undef HAVE_SETSID])
++m4trace:configure.in:459: -1- AH_OUTPUT([HAVE_SETUTENT], [/* Define to 1 if you have the \`setutent' function. */
++#undef HAVE_SETUTENT])
++m4trace:configure.in:459: -1- AH_OUTPUT([HAVE_SIGACTION], [/* Define to 1 if you have the \`sigaction' function. */
++#undef HAVE_SIGACTION])
++m4trace:configure.in:459: -1- AH_OUTPUT([HAVE_STRSTR], [/* Define to 1 if you have the \`strstr' function. */
++#undef HAVE_STRSTR])
++m4trace:configure.in:459: -1- AH_OUTPUT([HAVE_TIMEGM], [/* Define to 1 if you have the \`timegm' function. */
++#undef HAVE_TIMEGM])
++m4trace:configure.in:459: -1- AH_OUTPUT([HAVE_TTYNAME], [/* Define to 1 if you have the \`ttyname' function. */
++#undef HAVE_TTYNAME])
++m4trace:configure.in:459: -1- AH_OUTPUT([HAVE_TTYSLOT], [/* Define to 1 if you have the \`ttyslot' function. */
++#undef HAVE_TTYSLOT])
++m4trace:configure.in:459: -1- AH_OUTPUT([HAVE_UMASK], [/* Define to 1 if you have the \`umask' function. */
++#undef HAVE_UMASK])
++m4trace:configure.in:459: -1- AH_OUTPUT([HAVE_UNLOCKPT], [/* Define to 1 if you have the \`unlockpt' function. */
++#undef HAVE_UNLOCKPT])
++m4trace:configure.in:459: -1- AH_OUTPUT([HAVE_VHANGUP], [/* Define to 1 if you have the \`vhangup' function. */
++#undef HAVE_VHANGUP])
++m4trace:configure.in:459: -1- AH_OUTPUT([HAVE_YP_GET_DEFAULT_DOMAIN], [/* Define to 1 if you have the \`yp_get_default_domain' function. */
++#undef HAVE_YP_GET_DEFAULT_DOMAIN])
++m4trace:configure.in:461: -1- AC_CHECK_HEADERS([capability.h sys/capability.h])
++m4trace:configure.in:461: -1- AH_OUTPUT([HAVE_CAPABILITY_H], [/* Define to 1 if you have the <capability.h> header file. */
++#undef HAVE_CAPABILITY_H])
++m4trace:configure.in:461: -1- AH_OUTPUT([HAVE_SYS_CAPABILITY_H], [/* Define to 1 if you have the <sys/capability.h> header file. */
++#undef HAVE_SYS_CAPABILITY_H])
++m4trace:configure.in:461: -1- AC_CHECK_FUNCS([sgi_getcapabilitybyname cap_set_proc])
++m4trace:configure.in:461: -1- AH_OUTPUT([HAVE_SGI_GETCAPABILITYBYNAME], [/* Define to 1 if you have the \`sgi_getcapabilitybyname' function. */
++#undef HAVE_SGI_GETCAPABILITYBYNAME])
++m4trace:configure.in:461: -1- AH_OUTPUT([HAVE_CAP_SET_PROC], [/* Define to 1 if you have the \`cap_set_proc' function. */
++#undef HAVE_CAP_SET_PROC])
++m4trace:configure.in:463: -1- AC_CHECK_FUNCS([getpwnam_r])
++m4trace:configure.in:463: -1- AH_OUTPUT([HAVE_GETPWNAM_R], [/* Define to 1 if you have the \`getpwnam_r' function. */
++#undef HAVE_GETPWNAM_R])
++m4trace:configure.in:463: -1- AC_SUBST([LIB_getpwnam_r])
++m4trace:configure.in:463: -1- AC_DEFINE_TRACE_LITERAL([POSIX_GETPWNAM_R])
++m4trace:configure.in:463: -1- AH_OUTPUT([POSIX_GETPWNAM_R], [/* Define if getpwnam_r has POSIX flavour. */
++#undef POSIX_GETPWNAM_R])
++m4trace:configure.in:472: -1- AC_CHECK_FUNCS([getsockopt])
++m4trace:configure.in:472: -1- AH_OUTPUT([HAVE_GETSOCKOPT], [/* Define to 1 if you have the \`getsockopt' function. */
++#undef HAVE_GETSOCKOPT])
++m4trace:configure.in:472: -1- AC_SUBST([LIB_getsockopt])
++m4trace:configure.in:480: -1- AC_CHECK_FUNCS([setsockopt])
++m4trace:configure.in:480: -1- AH_OUTPUT([HAVE_SETSOCKOPT], [/* Define to 1 if you have the \`setsockopt' function. */
++#undef HAVE_SETSOCKOPT])
++m4trace:configure.in:480: -1- AC_SUBST([LIB_setsockopt])
++m4trace:configure.in:483: -1- AC_CHECK_FUNCS([getudbnam setlim])
++m4trace:configure.in:483: -1- AH_OUTPUT([HAVE_GETUDBNAM], [/* Define to 1 if you have the \`getudbnam' function. */
++#undef HAVE_GETUDBNAM])
++m4trace:configure.in:483: -1- AH_OUTPUT([HAVE_SETLIM], [/* Define to 1 if you have the \`setlim' function. */
++#undef HAVE_SETLIM])
++m4trace:configure.in:485: -1- AC_TYPE_SIGNAL
++m4trace:configure.in:485: -1- AC_DEFINE_TRACE_LITERAL([RETSIGTYPE])
++m4trace:configure.in:485: -1- AH_OUTPUT([RETSIGTYPE], [/* Define as the return type of signal handlers (\`int' or \`void'). */
++#undef RETSIGTYPE])
++m4trace:configure.in:485: -1- AC_DEFINE_TRACE_LITERAL([VOID_RETSIGTYPE])
++m4trace:configure.in:485: -1- AH_OUTPUT([VOID_RETSIGTYPE], [/* Define if signal handlers return void. */
++#undef VOID_RETSIGTYPE])
++m4trace:configure.in:485: -1- AC_SUBST([VOID_RETSIGTYPE])
++m4trace:configure.in:485: -1- AH_OUTPUT([zzzz5], [#ifdef VOID_RETSIGTYPE
++#define SIGRETURN(x) return
++#else
++#define SIGRETURN(x) return (RETSIGTYPE)(x)
++#endif])
++m4trace:configure.in:487: -1- AC_DEFINE_TRACE_LITERAL([BROKEN_REALLOC])
++m4trace:configure.in:487: -1- AH_OUTPUT([BROKEN_REALLOC], [/* Define if realloc(NULL) doesn't work. */
++#undef BROKEN_REALLOC])
++m4trace:configure.in:487: -1- AH_OUTPUT([zzzz6], [#ifdef BROKEN_REALLOC
++#define realloc(X, Y) isoc_realloc((X), (Y))
++#define isoc_realloc(X, Y) ((X) ? realloc((X), (Y)) : malloc(Y))
++#endif])
++m4trace:configure.in:495: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_UTMP_UT_ADDR])
++m4trace:configure.in:495: -1- AH_OUTPUT([HAVE_STRUCT_UTMP_UT_ADDR], [/* Define if struct utmp has field ut_addr. */
++#undef HAVE_STRUCT_UTMP_UT_ADDR])
++m4trace:configure.in:496: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_UTMP_UT_HOST])
++m4trace:configure.in:496: -1- AH_OUTPUT([HAVE_STRUCT_UTMP_UT_HOST], [/* Define if struct utmp has field ut_host. */
++#undef HAVE_STRUCT_UTMP_UT_HOST])
++m4trace:configure.in:497: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_UTMP_UT_ID])
++m4trace:configure.in:497: -1- AH_OUTPUT([HAVE_STRUCT_UTMP_UT_ID], [/* Define if struct utmp has field ut_id. */
++#undef HAVE_STRUCT_UTMP_UT_ID])
++m4trace:configure.in:498: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_UTMP_UT_PID])
++m4trace:configure.in:498: -1- AH_OUTPUT([HAVE_STRUCT_UTMP_UT_PID], [/* Define if struct utmp has field ut_pid. */
++#undef HAVE_STRUCT_UTMP_UT_PID])
++m4trace:configure.in:499: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_UTMP_UT_TYPE])
++m4trace:configure.in:499: -1- AH_OUTPUT([HAVE_STRUCT_UTMP_UT_TYPE], [/* Define if struct utmp has field ut_type. */
++#undef HAVE_STRUCT_UTMP_UT_TYPE])
++m4trace:configure.in:500: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_UTMP_UT_USER])
++m4trace:configure.in:500: -1- AH_OUTPUT([HAVE_STRUCT_UTMP_UT_USER], [/* Define if struct utmp has field ut_user. */
++#undef HAVE_STRUCT_UTMP_UT_USER])
++m4trace:configure.in:501: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_UTMPX_UT_EXIT])
++m4trace:configure.in:501: -1- AH_OUTPUT([HAVE_STRUCT_UTMPX_UT_EXIT], [/* Define if struct utmpx has field ut_exit. */
++#undef HAVE_STRUCT_UTMPX_UT_EXIT])
++m4trace:configure.in:502: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_UTMPX_UT_SYSLEN])
++m4trace:configure.in:502: -1- AH_OUTPUT([HAVE_STRUCT_UTMPX_UT_SYSLEN], [/* Define if struct utmpx has field ut_syslen. */
++#undef HAVE_STRUCT_UTMPX_UT_SYSLEN])
++m4trace:configure.in:508: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_TM_TM_GMTOFF])
++m4trace:configure.in:508: -1- AH_OUTPUT([HAVE_STRUCT_TM_TM_GMTOFF], [/* Define if struct tm has field tm_gmtoff. */
++#undef HAVE_STRUCT_TM_TM_GMTOFF])
++m4trace:configure.in:509: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_TM_TM_ZONE])
++m4trace:configure.in:509: -1- AH_OUTPUT([HAVE_STRUCT_TM_TM_ZONE], [/* Define if struct tm has field tm_zone. */
++#undef HAVE_STRUCT_TM_TM_ZONE])
++m4trace:configure.in:515: -1- AC_DEFINE_TRACE_LITERAL([HAVE_TIMEZONE])
++m4trace:configure.in:515: -1- AH_OUTPUT([HAVE_TIMEZONE], [/* Define if you have the \`timezone' variable. */
++#undef HAVE_TIMEZONE])
++m4trace:configure.in:515: -2- AC_DEFINE_TRACE_LITERAL([HAVE_TIMEZONE_DECLARATION])
++m4trace:configure.in:515: -2- AH_OUTPUT([HAVE_TIMEZONE_DECLARATION], [/* define if your system declares timezone */
++#undef HAVE_TIMEZONE_DECLARATION])
++m4trace:configure.in:517: -1- AC_CHECK_TYPES([sa_family_t])
++m4trace:configure.in:517: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SA_FAMILY_T])
++m4trace:configure.in:517: -1- AH_OUTPUT([HAVE_SA_FAMILY_T], [/* Define to 1 if the system has the type \`sa_family_t'. */
++#undef HAVE_SA_FAMILY_T])
++m4trace:configure.in:519: -1- AC_CHECK_TYPES([socklen_t])
++m4trace:configure.in:519: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SOCKLEN_T])
++m4trace:configure.in:519: -1- AH_OUTPUT([HAVE_SOCKLEN_T], [/* Define to 1 if the system has the type \`socklen_t'. */
++#undef HAVE_SOCKLEN_T])
++m4trace:configure.in:521: -1- AC_CHECK_TYPES([struct sockaddr])
++m4trace:configure.in:521: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_SOCKADDR])
++m4trace:configure.in:521: -1- AH_OUTPUT([HAVE_STRUCT_SOCKADDR], [/* Define to 1 if the system has the type \`struct sockaddr'. */
++#undef HAVE_STRUCT_SOCKADDR])
++m4trace:configure.in:523: -1- AC_CHECK_TYPES([struct sockaddr_storage])
++m4trace:configure.in:523: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_SOCKADDR_STORAGE])
++m4trace:configure.in:523: -1- AH_OUTPUT([HAVE_STRUCT_SOCKADDR_STORAGE], [/* Define to 1 if the system has the type \`struct sockaddr_storage'. */
++#undef HAVE_STRUCT_SOCKADDR_STORAGE])
++m4trace:configure.in:525: -1- AC_CHECK_TYPES([struct addrinfo])
++m4trace:configure.in:525: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_ADDRINFO])
++m4trace:configure.in:525: -1- AH_OUTPUT([HAVE_STRUCT_ADDRINFO], [/* Define to 1 if the system has the type \`struct addrinfo'. */
++#undef HAVE_STRUCT_ADDRINFO])
++m4trace:configure.in:531: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_WINSIZE])
++m4trace:configure.in:531: -1- AH_OUTPUT([HAVE_STRUCT_WINSIZE], [/* define if struct winsize is declared in sys/termios.h */
++#undef HAVE_STRUCT_WINSIZE])
++m4trace:configure.in:531: -2- AC_DEFINE_TRACE_LITERAL([HAVE_WS_XPIXEL])
++m4trace:configure.in:531: -2- AH_OUTPUT([HAVE_WS_XPIXEL], [/* define if struct winsize has ws_xpixel */
++#undef HAVE_WS_XPIXEL])
++m4trace:configure.in:531: -2- AC_DEFINE_TRACE_LITERAL([HAVE_WS_YPIXEL])
++m4trace:configure.in:531: -2- AH_OUTPUT([HAVE_WS_YPIXEL], [/* define if struct winsize has ws_ypixel */
++#undef HAVE_WS_YPIXEL])
++m4trace:configure.in:537: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_SPWD])
++m4trace:configure.in:537: -1- AH_OUTPUT([HAVE_STRUCT_SPWD], [/* define if you have struct spwd */
++#undef HAVE_STRUCT_SPWD])
++m4trace:configure.in:544: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_SOCKADDR_SA_LEN])
++m4trace:configure.in:544: -1- AH_OUTPUT([HAVE_STRUCT_SOCKADDR_SA_LEN], [/* Define if struct sockaddr has field sa_len. */
++#undef HAVE_STRUCT_SOCKADDR_SA_LEN])
++m4trace:configure.in:551: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OPENSSL])
++m4trace:configure.in:551: -1- AH_OUTPUT([HAVE_OPENSSL], [/* define to use openssl's libcrypto */
++#undef HAVE_OPENSSL])
++m4trace:configure.in:551: -1- AC_SUBST([DIR_des])
++m4trace:configure.in:551: -1- AC_SUBST([INCLUDE_des])
++m4trace:configure.in:551: -1- AC_SUBST([LIB_des])
++m4trace:configure.in:551: -1- AC_SUBST([LIB_des_a])
++m4trace:configure.in:551: -1- AC_SUBST([LIB_des_so])
++m4trace:configure.in:551: -1- AC_SUBST([LIB_des_appl])
++m4trace:configure.in:553: -1- AC_CHECK_FUNCS([el_init])
++m4trace:configure.in:553: -1- AH_OUTPUT([HAVE_EL_INIT], [/* Define to 1 if you have the \`el_init' function. */
++#undef HAVE_EL_INIT])
++m4trace:configure.in:553: -1- AC_SUBST([LIB_el_init])
++m4trace:configure.in:553: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FOUR_VALUED_EL_INIT])
++m4trace:configure.in:553: -1- AH_OUTPUT([HAVE_FOUR_VALUED_EL_INIT], [/* Define if el_init takes four arguments. */
++#undef HAVE_FOUR_VALUED_EL_INIT])
++m4trace:configure.in:553: -1- AM_CONDITIONAL([el_compat], [test "$ac_foo" = yes])
++m4trace:configure.in:553: -1- AC_SUBST([el_compat_TRUE])
++m4trace:configure.in:553: -1- AC_SUBST([el_compat_FALSE])
++m4trace:configure.in:553: -1- AC_DEFINE_TRACE_LITERAL([HAVE_READLINE])
++m4trace:configure.in:553: -1- AH_OUTPUT([HAVE_READLINE], [/* Define if you have a readline compatible library. */
++#undef HAVE_READLINE])
++m4trace:configure.in:558: -1- AC_DEFINE_TRACE_LITERAL([AUTHENTICATION])
++m4trace:configure.in:558: -1- AH_OUTPUT([AUTHENTICATION], [/* Define if you want authentication support in telnet. */
++#undef AUTHENTICATION])
++m4trace:configure.in:560: -1- AC_DEFINE_TRACE_LITERAL([ENCRYPTION])
++m4trace:configure.in:560: -1- AH_OUTPUT([ENCRYPTION], [/* Define if you want encryption support in telnet. */
++#undef ENCRYPTION])
++m4trace:configure.in:562: -1- AC_DEFINE_TRACE_LITERAL([DES_ENCRYPTION])
++m4trace:configure.in:562: -1- AH_OUTPUT([DES_ENCRYPTION], [/* Define if you want to use DES encryption in telnet. */
++#undef DES_ENCRYPTION])
++m4trace:configure.in:564: -1- AC_DEFINE_TRACE_LITERAL([DIAGNOSTICS])
++m4trace:configure.in:564: -1- AH_OUTPUT([DIAGNOSTICS], [/* Define this to enable diagnostics in telnet. */
++#undef DIAGNOSTICS])
++m4trace:configure.in:566: -1- AC_DEFINE_TRACE_LITERAL([OLD_ENVIRON])
++m4trace:configure.in:566: -1- AH_OUTPUT([OLD_ENVIRON], [/* Define this to enable old environment option in telnet. */
++#undef OLD_ENVIRON])
++m4trace:configure.in:569: -1- AC_DEFINE_TRACE_LITERAL([ENV_HACK])
++m4trace:configure.in:569: -1- AH_OUTPUT([ENV_HACK], [/* Define this if you want support for broken ENV_{VAR,VAL} telnets. */
++#undef ENV_HACK])
++m4trace:configure.in:598: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETMSG])
++m4trace:configure.in:598: -1- AH_OUTPUT([HAVE_GETMSG], [/* Define if you have a working getmsg. */
++#undef HAVE_GETMSG])
++m4trace:configure.in:615: -1- AC_DEFINE_TRACE_LITERAL([STREAMSPTY])
++m4trace:configure.in:615: -1- AH_OUTPUT([STREAMSPTY], [/* Define if you have streams ptys. */
++#undef STREAMSPTY])
++m4trace:configure.in:619: -1- AC_SUBST([COMPILE_ET])
++m4trace:configure.in:619: -1- AC_SUBST([DIR_com_err])
++m4trace:configure.in:619: -1- AC_SUBST([LIB_com_err])
++m4trace:configure.in:619: -1- AC_SUBST([LIB_com_err_a])
++m4trace:configure.in:619: -1- AC_SUBST([LIB_com_err_so])
++m4trace:configure.in:621: -1- AC_SUBST([LIB_AUTH_SUBDIRS])
++m4trace:configure.in:642: -1- AH_OUTPUT([zzzz7], [#undef BINDIR 
++#undef LIBDIR
++#undef LIBEXECDIR
++#undef SBINDIR])
++m4trace:configure.in:645: -1- AC_SUBST([LTLIBOBJS])
++m4trace:configure.in:698: -1- AC_CONFIG_FILES([Makefile 		\
++	include/Makefile		\
++	include/kadm5/Makefile		\
++	lib/Makefile			\
++	lib/45/Makefile			\
++	lib/auth/Makefile		\
++	lib/auth/afskauthlib/Makefile	\
++	lib/auth/pam/Makefile		\
++	lib/auth/sia/Makefile		\
++	lib/asn1/Makefile		\
++	lib/com_err/Makefile		\
++	lib/des/Makefile		\
++	lib/editline/Makefile		\
++	lib/gssapi/Makefile		\
++	lib/hdb/Makefile		\
++	lib/kadm5/Makefile		\
++	lib/kafs/Makefile		\
++	lib/kdfs/Makefile		\
++	lib/krb5/Makefile		\
++	lib/otp/Makefile		\
++	lib/roken/Makefile		\
++	lib/sl/Makefile			\
++	lib/vers/Makefile		\
++	kuser/Makefile			\
++	kpasswd/Makefile		\
++	kadmin/Makefile			\
++	admin/Makefile			\
++	kdc/Makefile			\
++	appl/Makefile			\
++	appl/afsutil/Makefile		\
++	appl/ftp/Makefile		\
++	appl/ftp/common/Makefile	\
++	appl/ftp/ftp/Makefile		\
++	appl/ftp/ftpd/Makefile		\
++	appl/kx/Makefile		\
++	appl/login/Makefile		\
++	appl/otp/Makefile		\
++	appl/popper/Makefile		\
++	appl/push/Makefile		\
++	appl/rsh/Makefile		\
++	appl/rcp/Makefile		\
++	appl/su/Makefile		\
++	appl/xnlock/Makefile		\
++	appl/telnet/Makefile		\
++	appl/telnet/libtelnet/Makefile	\
++	appl/telnet/telnet/Makefile	\
++	appl/telnet/telnetd/Makefile	\
++	appl/test/Makefile		\
++	appl/kf/Makefile		\
++	appl/dceutils/Makefile		\
++	doc/Makefile			\
++	tools/Makefile			\
++])
+diff -ruN heimdal-0.4e-old/compile heimdal-0.4e/compile
+--- heimdal-0.4e-old/compile	Thu Jan  1 10:00:00 1970
++++ heimdal-0.4e/compile	Fri Oct 19 13:28:05 2001
+@@ -0,0 +1,99 @@
++#! /bin/sh
++
++# Wrapper for compilers which do not understand `-c -o'.
++
++# Copyright 1999, 2000 Free Software Foundation, Inc.
++# Written by Tom Tromey <tromey@cygnus.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, 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
++
++# As a special exception to the GNU General Public License, if you
++# distribute this file as part of a program that contains a
++# configuration script generated by Autoconf, you may include it under
++# the same distribution terms that you use for the rest of that program.
++
++# Usage:
++# compile PROGRAM [ARGS]...
++# `-o FOO.o' is removed from the args passed to the actual compile.
++
++prog=$1
++shift
++
++ofile=
++cfile=
++args=
++while test $# -gt 0; do
++   case "$1" in
++    -o)
++       # configure might choose to run compile as `compile cc -o foo foo.c'.
++       # So we do something ugly here.
++       ofile=$2
++       shift
++       case "$ofile" in
++	*.o | *.obj)
++	   ;;
++	*)
++	   args="$args -o $ofile"
++	   ofile=
++	   ;;
++       esac
++       ;;
++    *.c)
++       cfile=$1
++       args="$args $1"
++       ;;
++    *)
++       args="$args $1"
++       ;;
++   esac
++   shift
++done
++
++if test -z "$ofile" || test -z "$cfile"; then
++   # If no `-o' option was seen then we might have been invoked from a
++   # pattern rule where we don't need one.  That is ok -- this is a
++   # normal compilation that the losing compiler can handle.  If no
++   # `.c' file was seen then we are probably linking.  That is also
++   # ok.
++   exec "$prog" $args
++fi
++
++# Name of file we expect compiler to create.
++cofile=`echo $cfile | sed -e 's|^.*/||' -e 's/\.c$/.o/'`
++
++# Create the lock directory.
++# Note: use `[/.-]' here to ensure that we don't use the same name
++# that we are using for the .o file.  Also, base the name on the expected
++# object file name, since that is what matters with a parallel build.
++lockdir=`echo $cofile | sed -e 's|[/.-]|_|g'`.d
++while true; do
++   if mkdir $lockdir > /dev/null 2>&1; then
++      break
++   fi
++   sleep 1
++done
++# FIXME: race condition here if user kills between mkdir and trap.
++trap "rmdir $lockdir; exit 1" 1 2 15
++
++# Run the compile.
++"$prog" $args
++status=$?
++
++if test -f "$cofile"; then
++   mv "$cofile" "$ofile"
++fi
++
++rmdir $lockdir
++exit $status
+diff -ruN heimdal-0.4e-old/config.guess heimdal-0.4e/config.guess
+--- heimdal-0.4e-old/config.guess	Mon Sep 25 10:15:55 2000
++++ heimdal-0.4e/config.guess	Sat Jun 15 19:34:44 2002
+@@ -1,9 +1,9 @@
+ #! /bin/sh
+ # Attempt to guess a canonical system name.
+-#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000
+-#   Free Software Foundation, Inc.
++#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
++#   2000, 2001, 2002 Free Software Foundation, Inc.
+ 
+-version='2000-09-05'
++timestamp='2002-03-20'
+ 
+ # This file is free software; you can redistribute it and/or modify it
+ # under the terms of the GNU General Public License as published by
+@@ -24,38 +24,50 @@
+ # configuration script generated by Autoconf, you may include it under
+ # the same distribution terms that you use for the rest of that program.
+ 
+-# Written by Per Bothner <bothner@cygnus.com>.
+-# Please send patches to <config-patches@gnu.org>.
++# Originally written by Per Bothner <per@bothner.com>.
++# Please send patches to <config-patches@gnu.org>.  Submit a context
++# diff and a properly formatted ChangeLog entry.
+ #
+ # This script attempts to guess a canonical system name similar to
+ # config.sub.  If it succeeds, it prints the system name on stdout, and
+ # exits with 0.  Otherwise, it exits with 1.
+ #
+ # The plan is that this can be called by configure scripts if you
+-# don't specify an explicit system type (host/target name).
+-#
+-# Only a few systems have been added to this list; please add others
+-# (but try to keep the structure clean).
+-#
++# don't specify an explicit build system type.
+ 
+ me=`echo "$0" | sed -e 's,.*/,,'`
+ 
+ usage="\
+ Usage: $0 [OPTION]
+ 
+-Output the configuration name of this system.
++Output the configuration name of the system \`$me' is run on.
+ 
+ Operation modes:
+-  -h, --help               print this help, then exit
+-  -V, --version            print version number, then exit"
++  -h, --help         print this help, then exit
++  -t, --time-stamp   print date of last modification, then exit
++  -v, --version      print version number, then exit
++
++Report bugs and patches to <config-patches@gnu.org>."
++
++version="\
++GNU config.guess ($timestamp)
++
++Originally written by Per Bothner.
++Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
++Free Software Foundation, Inc.
++
++This is free software; see the source for copying conditions.  There is NO
++warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
+ 
+ help="
+ Try \`$me --help' for more information."
+ 
+ # Parse command line
+ while test $# -gt 0 ; do
+-  case "$1" in
+-    --version | --vers* | -V )
++  case $1 in
++    --time-stamp | --time* | -t )
++       echo "$timestamp" ; exit 0 ;;
++    --version | -v )
+        echo "$version" ; exit 0 ;;
+     --help | --h* | -h )
+        echo "$usage"; exit 0 ;;
+@@ -64,9 +76,7 @@
+     - )	# Use stdin as input.
+        break ;;
+     -* )
+-       exec >&2
+-       echo "$me: invalid option $1"
+-       echo "$help"
++       echo "$me: invalid option $1$help" >&2
+        exit 1 ;;
+     * )
+        break ;;
+@@ -78,67 +88,84 @@
+   exit 1
+ fi
+ 
+-# Use $HOST_CC if defined. $CC may point to a cross-compiler
+-if test x"$CC_FOR_BUILD" = x; then
+-  if test x"$HOST_CC" != x; then
+-    CC_FOR_BUILD="$HOST_CC"
+-  else
+-    if test x"$CC" != x; then
+-      CC_FOR_BUILD="$CC"
+-    else
+-      CC_FOR_BUILD=cc
+-    fi
+-  fi
+-fi
+ 
++dummy=dummy-$$
++trap 'rm -f $dummy.c $dummy.o $dummy.rel $dummy; exit 1' 1 2 15
++
++# CC_FOR_BUILD -- compiler used by this script.
++# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
++# use `HOST_CC' if defined, but it is deprecated.
++
++set_cc_for_build='case $CC_FOR_BUILD,$HOST_CC,$CC in
++ ,,)    echo "int dummy(){}" > $dummy.c ;
++	for c in cc gcc c89 c99 ; do
++	  ($c $dummy.c -c -o $dummy.o) >/dev/null 2>&1 ;
++	  if test $? = 0 ; then
++	     CC_FOR_BUILD="$c"; break ;
++	  fi ;
++	done ;
++	rm -f $dummy.c $dummy.o $dummy.rel ;
++	if test x"$CC_FOR_BUILD" = x ; then
++	  CC_FOR_BUILD=no_compiler_found ;
++	fi
++	;;
++ ,,*)   CC_FOR_BUILD=$CC ;;
++ ,*,*)  CC_FOR_BUILD=$HOST_CC ;;
++esac'
+ 
+ # This is needed to find uname on a Pyramid OSx when run in the BSD universe.
+-# (ghazi@noc.rutgers.edu 8/24/94.)
++# (ghazi@noc.rutgers.edu 1994-08-24)
+ if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
+ 	PATH=$PATH:/.attbin ; export PATH
+ fi
+ 
+ UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
+ UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
+-UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
++UNAME_SYSTEM=`(uname -s) 2>/dev/null`  || UNAME_SYSTEM=unknown
+ UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
+ 
+-dummy=dummy-$$
+-trap 'rm -f $dummy.c $dummy.o $dummy; exit 1' 1 2 15
+-
+ # Note: order is significant - the case branches are not exclusive.
+ 
+ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
+     *:NetBSD:*:*)
+-	# Netbsd (nbsd) targets should (where applicable) match one or
++	# NetBSD (nbsd) targets should (where applicable) match one or
+ 	# more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*,
+ 	# *-*-netbsdecoff* and *-*-netbsd*.  For targets that recently
+ 	# switched to ELF, *-*-netbsd* would select the old
+ 	# object file format.  This provides both forward
+ 	# compatibility and a consistent mechanism for selecting the
+ 	# object file format.
+-	# Determine the machine/vendor (is the vendor relevant).
+-	case "${UNAME_MACHINE}" in
+-	    amiga) machine=m68k-unknown ;;
+-	    arm32) machine=arm-unknown ;;
+-	    atari*) machine=m68k-atari ;;
+-	    sun3*) machine=m68k-sun ;;
+-	    mac68k) machine=m68k-apple ;;
+-	    macppc) machine=powerpc-apple ;;
+-	    hp3[0-9][05]) machine=m68k-hp ;;
+-	    ibmrt|romp-ibm) machine=romp-ibm ;;
+-	    *) machine=${UNAME_MACHINE}-unknown ;;
++	#
++	# Note: NetBSD doesn't particularly care about the vendor
++	# portion of the name.  We always set it to "unknown".
++	sysctl="sysctl -n hw.machine_arch"
++	UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \
++	    /usr/sbin/$sysctl 2>/dev/null || echo unknown)`
++	case "${UNAME_MACHINE_ARCH}" in
++	    arm*) machine=arm-unknown ;;
++	    sh3el) machine=shl-unknown ;;
++	    sh3eb) machine=sh-unknown ;;
++	    *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
++	esac
++	# The Operating System including object format, if it has switched
++	# to ELF recently, or will in the future.
++	case "${UNAME_MACHINE_ARCH}" in
++	    arm*|i386|m68k|ns32k|sh3*|sparc|vax)
++		eval $set_cc_for_build
++		if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
++			| grep __ELF__ >/dev/null
++		then
++		    # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
++		    # Return netbsd for either.  FIX?
++		    os=netbsd
++		else
++		    os=netbsdelf
++		fi
++		;;
++	    *)
++	        os=netbsd
++		;;
+ 	esac
+-	# The Operating System including object format.
+-	if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
+-		| grep __ELF__ >/dev/null
+-	then
+-	    # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
+-	    # Return netbsd for either.  FIX?
+-	    os=netbsd
+-	else
+-	    os=netbsdelf
+-	fi
+ 	# The OS release
+ 	release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
+ 	# Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
+@@ -146,6 +173,45 @@
+ 	# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
+ 	echo "${machine}-${os}${release}"
+ 	exit 0 ;;
++    amiga:OpenBSD:*:*)
++	echo m68k-unknown-openbsd${UNAME_RELEASE}
++	exit 0 ;;
++    arc:OpenBSD:*:*)
++	echo mipsel-unknown-openbsd${UNAME_RELEASE}
++	exit 0 ;;
++    hp300:OpenBSD:*:*)
++	echo m68k-unknown-openbsd${UNAME_RELEASE}
++	exit 0 ;;
++    mac68k:OpenBSD:*:*)
++	echo m68k-unknown-openbsd${UNAME_RELEASE}
++	exit 0 ;;
++    macppc:OpenBSD:*:*)
++	echo powerpc-unknown-openbsd${UNAME_RELEASE}
++	exit 0 ;;
++    mvme68k:OpenBSD:*:*)
++	echo m68k-unknown-openbsd${UNAME_RELEASE}
++	exit 0 ;;
++    mvme88k:OpenBSD:*:*)
++	echo m88k-unknown-openbsd${UNAME_RELEASE}
++	exit 0 ;;
++    mvmeppc:OpenBSD:*:*)
++	echo powerpc-unknown-openbsd${UNAME_RELEASE}
++	exit 0 ;;
++    pmax:OpenBSD:*:*)
++	echo mipsel-unknown-openbsd${UNAME_RELEASE}
++	exit 0 ;;
++    sgi:OpenBSD:*:*)
++	echo mipseb-unknown-openbsd${UNAME_RELEASE}
++	exit 0 ;;
++    sun3:OpenBSD:*:*)
++	echo m68k-unknown-openbsd${UNAME_RELEASE}
++	exit 0 ;;
++    wgrisc:OpenBSD:*:*)
++	echo mipsel-unknown-openbsd${UNAME_RELEASE}
++	exit 0 ;;
++    *:OpenBSD:*:*)
++	echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE}
++	exit 0 ;;
+     alpha:OSF1:*:*)
+ 	if test $UNAME_RELEASE = "V4.0"; then
+ 		UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
+@@ -179,6 +245,7 @@
+ 	jsr \$26,exit
+ 	.end main
+ EOF
++	eval $set_cc_for_build
+ 	$CC_FOR_BUILD $dummy.s -o $dummy 2>/dev/null
+ 	if test "$?" = 0 ; then
+ 		case `./$dummy` in
+@@ -200,6 +267,9 @@
+ 			2-307)
+ 				UNAME_MACHINE="alphaev67"
+ 				;;
++			2-1307)
++				UNAME_MACHINE="alphaev68"
++				;;
+ 		esac
+ 	fi
+ 	rm -f $dummy.s $dummy
+@@ -217,29 +287,11 @@
+     Amiga*:UNIX_System_V:4.0:*)
+ 	echo m68k-unknown-sysv4
+ 	exit 0;;
+-    amiga:OpenBSD:*:*)
+-	echo m68k-unknown-openbsd${UNAME_RELEASE}
+-	exit 0 ;;
+     *:[Aa]miga[Oo][Ss]:*:*)
+ 	echo ${UNAME_MACHINE}-unknown-amigaos
+ 	exit 0 ;;
+-    arc64:OpenBSD:*:*)
+-	echo mips64el-unknown-openbsd${UNAME_RELEASE}
+-	exit 0 ;;
+-    arc:OpenBSD:*:*)
+-	echo mipsel-unknown-openbsd${UNAME_RELEASE}
+-	exit 0 ;;
+-    hkmips:OpenBSD:*:*)
+-	echo mips-unknown-openbsd${UNAME_RELEASE}
+-	exit 0 ;;
+-    pmax:OpenBSD:*:*)
+-	echo mipsel-unknown-openbsd${UNAME_RELEASE}
+-	exit 0 ;;
+-    sgi:OpenBSD:*:*)
+-	echo mips-unknown-openbsd${UNAME_RELEASE}
+-	exit 0 ;;
+-    wgrisc:OpenBSD:*:*)
+-	echo mipsel-unknown-openbsd${UNAME_RELEASE}
++    *:[Mm]orph[Oo][Ss]:*:*)
++	echo ${UNAME_MACHINE}-unknown-morphos
+ 	exit 0 ;;
+     *:OS/390:*:*)
+ 	echo i370-ibm-openedition
+@@ -247,7 +299,7 @@
+     arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
+ 	echo arm-acorn-riscix${UNAME_RELEASE}
+ 	exit 0;;
+-    SR2?01:HI-UX/MPP:*:*)
++    SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
+ 	echo hppa1.1-hitachi-hiuxmpp
+ 	exit 0;;
+     Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*)
+@@ -289,7 +341,7 @@
+ 	echo m68k-sun-sunos${UNAME_RELEASE}
+ 	exit 0 ;;
+     sun*:*:4.2BSD:*)
+-	UNAME_RELEASE=`(head -1 /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
++	UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
+ 	test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
+ 	case "`/bin/arch`" in
+ 	    sun3)
+@@ -303,12 +355,9 @@
+     aushp:SunOS:*:*)
+ 	echo sparc-auspex-sunos${UNAME_RELEASE}
+ 	exit 0 ;;
+-    atari*:OpenBSD:*:*)
+-	echo m68k-unknown-openbsd${UNAME_RELEASE}
+-	exit 0 ;;
+     # The situation for MiNT is a little confusing.  The machine name
+     # can be virtually everything (everything which is not
+-    # "atarist" or "atariste" at least should have a processor 
++    # "atarist" or "atariste" at least should have a processor
+     # > m68000).  The system name ranges from "MiNT" over "FreeMiNT"
+     # to the lowercase version "mint" (or "freemint").  Finally
+     # the system name "TOS" denotes a system which is actually not
+@@ -332,18 +381,6 @@
+     *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
+         echo m68k-unknown-mint${UNAME_RELEASE}
+         exit 0 ;;
+-    sun3*:OpenBSD:*:*)
+-	echo m68k-unknown-openbsd${UNAME_RELEASE}
+-	exit 0 ;;
+-    mac68k:OpenBSD:*:*)
+-	echo m68k-unknown-openbsd${UNAME_RELEASE}
+-	exit 0 ;;
+-    mvme68k:OpenBSD:*:*)
+-	echo m68k-unknown-openbsd${UNAME_RELEASE}
+-	exit 0 ;;
+-    mvme88k:OpenBSD:*:*)
+-	echo m88k-unknown-openbsd${UNAME_RELEASE}
+-	exit 0 ;;
+     powerpc:machten:*:*)
+ 	echo powerpc-apple-machten${UNAME_RELEASE}
+ 	exit 0 ;;
+@@ -360,6 +397,7 @@
+ 	echo clipper-intergraph-clix${UNAME_RELEASE}
+ 	exit 0 ;;
+     mips:*:*:UMIPS | mips:*:*:RISCos)
++	eval $set_cc_for_build
+ 	sed 's/^	//' << EOF >$dummy.c
+ #ifdef __cplusplus
+ #include <stdio.h>  /* for printf() prototype */
+@@ -383,10 +421,13 @@
+ EOF
+ 	$CC_FOR_BUILD $dummy.c -o $dummy \
+ 	  && ./$dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \
+-	  && rm $dummy.c $dummy && exit 0
++	  && rm -f $dummy.c $dummy && exit 0
+ 	rm -f $dummy.c $dummy
+ 	echo mips-mips-riscos${UNAME_RELEASE}
+ 	exit 0 ;;
++    Motorola:PowerMAX_OS:*:*)
++	echo powerpc-motorola-powermax
++	exit 0 ;;
+     Night_Hawk:Power_UNIX:*:*)
+ 	echo powerpc-harris-powerunix
+ 	exit 0 ;;
+@@ -402,7 +443,7 @@
+     AViiON:dgux:*:*)
+         # DG/UX returns AViiON for all architectures
+         UNAME_PROCESSOR=`/usr/bin/uname -p`
+-	if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110]
++	if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
+ 	then
+ 	    if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
+ 	       [ ${TARGET_BINARY_INTERFACE}x = x ]
+@@ -434,11 +475,20 @@
+     ????????:AIX?:[12].1:2)   # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
+ 	echo romp-ibm-aix      # uname -m gives an 8 hex-code CPU id
+ 	exit 0 ;;              # Note that: echo "'`uname -s`'" gives 'AIX '
+-    i?86:AIX:*:*)
++    i*86:AIX:*:*)
+ 	echo i386-ibm-aix
+ 	exit 0 ;;
++    ia64:AIX:*:*)
++	if [ -x /usr/bin/oslevel ] ; then
++		IBM_REV=`/usr/bin/oslevel`
++	else
++		IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
++	fi
++	echo ${UNAME_MACHINE}-ibm-aix${IBM_REV}
++	exit 0 ;;
+     *:AIX:2:3)
+ 	if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
++		eval $set_cc_for_build
+ 		sed 's/^		//' << EOF >$dummy.c
+ 		#include <sys/systemcfg.h>
+ 
+@@ -450,7 +500,7 @@
+ 			exit(0);
+ 			}
+ EOF
+-		$CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm $dummy.c $dummy && exit 0
++		$CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm -f $dummy.c $dummy && exit 0
+ 		rm -f $dummy.c $dummy
+ 		echo rs6000-ibm-aix3.2.5
+ 	elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
+@@ -459,9 +509,9 @@
+ 		echo rs6000-ibm-aix3.2
+ 	fi
+ 	exit 0 ;;
+-    *:AIX:*:4)
+-	IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | head -1 | awk '{ print $1 }'`
+-	if /usr/sbin/lsattr -EHl ${IBM_CPU_ID} | grep POWER >/dev/null 2>&1; then
++    *:AIX:*:[45])
++	IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
++	if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
+ 		IBM_ARCH=rs6000
+ 	else
+ 		IBM_ARCH=powerpc
+@@ -469,7 +519,7 @@
+ 	if [ -x /usr/bin/oslevel ] ; then
+ 		IBM_REV=`/usr/bin/oslevel`
+ 	else
+-		IBM_REV=4.${UNAME_RELEASE}
++		IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
+ 	fi
+ 	echo ${IBM_ARCH}-ibm-aix${IBM_REV}
+ 	exit 0 ;;
+@@ -495,11 +545,28 @@
+ 	echo m68k-hp-bsd4.4
+ 	exit 0 ;;
+     9000/[34678]??:HP-UX:*:*)
++	HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
+ 	case "${UNAME_MACHINE}" in
+ 	    9000/31? )            HP_ARCH=m68000 ;;
+ 	    9000/[34]?? )         HP_ARCH=m68k ;;
+ 	    9000/[678][0-9][0-9])
+-              sed 's/^              //' << EOF >$dummy.c
++		if [ -x /usr/bin/getconf ]; then
++		    sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
++                    sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
++                    case "${sc_cpu_version}" in
++                      523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
++                      528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
++                      532)                      # CPU_PA_RISC2_0
++                        case "${sc_kernel_bits}" in
++                          32) HP_ARCH="hppa2.0n" ;;
++                          64) HP_ARCH="hppa2.0w" ;;
++			  '') HP_ARCH="hppa2.0" ;;   # HP-UX 10.20
++                        esac ;;
++                    esac
++		fi
++		if [ "${HP_ARCH}" = "" ]; then
++		    eval $set_cc_for_build
++		    sed 's/^              //' << EOF >$dummy.c
+ 
+               #define _HPUX_SOURCE
+               #include <stdlib.h>
+@@ -532,13 +599,19 @@
+                   exit (0);
+               }
+ EOF
+-	(CCOPTS= $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null ) && HP_ARCH=`./$dummy`
+-	rm -f $dummy.c $dummy
++		    (CCOPTS= $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null) && HP_ARCH=`./$dummy`
++		    if test -z "$HP_ARCH"; then HP_ARCH=hppa; fi
++		    rm -f $dummy.c $dummy
++		fi ;;
+ 	esac
+-	HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
+ 	echo ${HP_ARCH}-hp-hpux${HPUX_REV}
+ 	exit 0 ;;
++    ia64:HP-UX:*:*)
++	HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
++	echo ia64-hp-hpux${HPUX_REV}
++	exit 0 ;;
+     3050*:HI-UX:*:*)
++	eval $set_cc_for_build
+ 	sed 's/^	//' << EOF >$dummy.c
+ 	#include <unistd.h>
+ 	int
+@@ -564,7 +637,7 @@
+ 	  exit (0);
+ 	}
+ EOF
+-	$CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm $dummy.c $dummy && exit 0
++	$CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm -f $dummy.c $dummy && exit 0
+ 	rm -f $dummy.c $dummy
+ 	echo unknown-hitachi-hiuxwe2
+ 	exit 0 ;;
+@@ -574,7 +647,7 @@
+     9000/8??:4.3bsd:*:*)
+ 	echo hppa1.0-hp-bsd
+ 	exit 0 ;;
+-    *9??*:MPE/iX:*:*)
++    *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
+ 	echo hppa1.0-hp-mpeix
+ 	exit 0 ;;
+     hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
+@@ -583,7 +656,7 @@
+     hp8??:OSF1:*:*)
+ 	echo hppa1.0-hp-osf
+ 	exit 0 ;;
+-    i?86:OSF1:*:*)
++    i*86:OSF1:*:*)
+ 	if [ -x /usr/sbin/sysversion ] ; then
+ 	    echo ${UNAME_MACHINE}-unknown-osf1mk
+ 	else
+@@ -593,9 +666,6 @@
+     parisc*:Lites*:*:*)
+ 	echo hppa1.1-hp-lites
+ 	exit 0 ;;
+-    hppa*:OpenBSD:*:*)
+-	echo hppa-unknown-openbsd
+-	exit 0 ;;
+     C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
+ 	echo c1-convex-bsd
+         exit 0 ;;
+@@ -614,41 +684,34 @@
+     C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
+ 	echo c4-convex-bsd
+         exit 0 ;;
+-    CRAY*X-MP:*:*:*)
+-	echo xmp-cray-unicos
+-        exit 0 ;;
+     CRAY*Y-MP:*:*:*)
+-	echo ymp-cray-unicos${UNAME_RELEASE}
++	echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
+ 	exit 0 ;;
+     CRAY*[A-Z]90:*:*:*)
+ 	echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \
+ 	| sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
+-	      -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/
++	      -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \
++	      -e 's/\.[^.]*$/.X/'
+ 	exit 0 ;;
+     CRAY*TS:*:*:*)
+ 	echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
+ 	exit 0 ;;
+-    CRAY*T3E:*:*:*)
++    CRAY*T3D:*:*:*)
+ 	echo alpha-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
+ 	exit 0 ;;
++    CRAY*T3E:*:*:*)
++	echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
++	exit 0 ;;
+     CRAY*SV1:*:*:*)
+-	echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'    
++	echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
+ 	exit 0 ;;
+-    CRAY-2:*:*:*)
+-	echo cray2-cray-unicos
+-        exit 0 ;;
+-    F300:UNIX_System_V:*:*)
++    F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
++	FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
+         FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
+         FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
+-        echo "f300-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
++        echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
+         exit 0 ;;
+-    F301:UNIX_System_V:*:*)
+-       echo f301-fujitsu-uxpv`echo $UNAME_RELEASE | sed 's/ .*//'`
+-       exit 0 ;;
+-    hp300:OpenBSD:*:*)
+-	echo m68k-unknown-openbsd${UNAME_RELEASE}
+-	exit 0 ;;
+-    i?86:BSD/386:*:* | i?86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
++    i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
+ 	echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
+ 	exit 0 ;;
+     sparc*:BSD/OS:*:*)
+@@ -660,9 +723,6 @@
+     *:FreeBSD:*:*)
+ 	echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
+ 	exit 0 ;;
+-    *:OpenBSD:*:*)
+-	echo ${UNAME_MACHINE}-unknown-openbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
+-	exit 0 ;;
+     i*:CYGWIN*:*)
+ 	echo ${UNAME_MACHINE}-pc-cygwin
+ 	exit 0 ;;
+@@ -672,6 +732,9 @@
+     i*:PW*:*)
+ 	echo ${UNAME_MACHINE}-pc-pw32
+ 	exit 0 ;;
++    x86:Interix*:3*)
++	echo i386-pc-interix3
++	exit 0 ;;
+     i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
+ 	# How do we know it's Interix rather than the generic POSIX subsystem?
+ 	# It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
+@@ -693,225 +756,139 @@
+     i*86:Minix:*:*)
+ 	echo ${UNAME_MACHINE}-pc-minix
+ 	exit 0 ;;
+-    *:Linux:*:*)
+-
++    arm*:Linux:*:*)
++	echo ${UNAME_MACHINE}-unknown-linux-gnu
++	exit 0 ;;
++    ia64:Linux:*:*)
++	echo ${UNAME_MACHINE}-unknown-linux-gnu
++	exit 0 ;;
++    m68*:Linux:*:*)
++	echo ${UNAME_MACHINE}-unknown-linux-gnu
++	exit 0 ;;
++    mips:Linux:*:*)
++	eval $set_cc_for_build
++	sed 's/^	//' << EOF >$dummy.c
++	#undef CPU
++	#undef mips
++	#undef mipsel
++	#if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
++	CPU=mipsel
++	#else
++	#if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
++	CPU=mips
++	#else
++	CPU=
++	#endif
++	#endif
++EOF
++	eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
++	rm -f $dummy.c
++	test x"${CPU}" != x && echo "${CPU}-pc-linux-gnu" && exit 0
++	;;
++    ppc:Linux:*:*)
++	echo powerpc-unknown-linux-gnu
++	exit 0 ;;
++    ppc64:Linux:*:*)
++	echo powerpc64-unknown-linux-gnu
++	exit 0 ;;
++    alpha:Linux:*:*)
++	case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
++	  EV5)   UNAME_MACHINE=alphaev5 ;;
++	  EV56)  UNAME_MACHINE=alphaev56 ;;
++	  PCA56) UNAME_MACHINE=alphapca56 ;;
++	  PCA57) UNAME_MACHINE=alphapca56 ;;
++	  EV6)   UNAME_MACHINE=alphaev6 ;;
++	  EV67)  UNAME_MACHINE=alphaev67 ;;
++	  EV68*) UNAME_MACHINE=alphaev68 ;;
++        esac
++	objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
++	if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
++	echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
++	exit 0 ;;
++    parisc:Linux:*:* | hppa:Linux:*:*)
++	# Look for CPU level
++	case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
++	  PA7*) echo hppa1.1-unknown-linux-gnu ;;
++	  PA8*) echo hppa2.0-unknown-linux-gnu ;;
++	  *)    echo hppa-unknown-linux-gnu ;;
++	esac
++	exit 0 ;;
++    parisc64:Linux:*:* | hppa64:Linux:*:*)
++	echo hppa64-unknown-linux-gnu
++	exit 0 ;;
++    s390:Linux:*:* | s390x:Linux:*:*)
++	echo ${UNAME_MACHINE}-ibm-linux
++	exit 0 ;;
++    sh*:Linux:*:*)
++	echo ${UNAME_MACHINE}-unknown-linux-gnu
++	exit 0 ;;
++    sparc:Linux:*:* | sparc64:Linux:*:*)
++	echo ${UNAME_MACHINE}-unknown-linux-gnu
++	exit 0 ;;
++    x86_64:Linux:*:*)
++	echo x86_64-unknown-linux-gnu
++	exit 0 ;;
++    i*86:Linux:*:*)
+ 	# The BFD linker knows what the default object file format is, so
+ 	# first see if it will tell us. cd to the root directory to prevent
+ 	# problems with other programs or directories called `ld' in the path.
+-	ld_help_string=`cd /; ld --help 2>&1`
+-	ld_supported_emulations=`echo $ld_help_string \
+-			 | sed -ne '/supported emulations:/!d
++	# Set LC_ALL=C to ensure ld outputs messages in English.
++	ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \
++			 | sed -ne '/supported targets:/!d
+ 				    s/[ 	][ 	]*/ /g
+-				    s/.*supported emulations: *//
++				    s/.*supported targets: *//
+ 				    s/ .*//
+ 				    p'`
+-        case "$ld_supported_emulations" in
+-	  *ia64)
+-		echo "${UNAME_MACHINE}-unknown-linux"
+-		exit 0
+-		;;
+-	  i?86linux)
+-		echo "${UNAME_MACHINE}-pc-linux-gnuaout"
+-		exit 0
+-		;;
+-	  elf_i?86)
++        case "$ld_supported_targets" in
++	  elf32-i386)
+ 		TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
+ 		;;
+-	  i?86coff)
++	  a.out-i386-linux)
++		echo "${UNAME_MACHINE}-pc-linux-gnuaout"
++		exit 0 ;;		
++	  coff-i386)
+ 		echo "${UNAME_MACHINE}-pc-linux-gnucoff"
+-		exit 0
+-		;;
+-	  sparclinux)
+-		echo "${UNAME_MACHINE}-unknown-linux-gnuaout"
+-		exit 0
+-		;;
+-	  armlinux)
+-		echo "${UNAME_MACHINE}-unknown-linux-gnuaout"
+-		exit 0
+-		;;
+-	  elf32arm*)
+-		echo "${UNAME_MACHINE}-unknown-linux-gnuoldld"
+-		exit 0
+-		;;
+-	  armelf_linux*)
+-		echo "${UNAME_MACHINE}-unknown-linux-gnu"
+-		exit 0
+-		;;
+-	  m68klinux)
+-		echo "${UNAME_MACHINE}-unknown-linux-gnuaout"
+-		exit 0
+-		;;
+-	  elf32ppc | elf32ppclinux)
+-		# Determine Lib Version
+-		cat >$dummy.c <<EOF
+-#include <features.h>
+-#if defined(__GLIBC__)
+-extern char __libc_version[];
+-extern char __libc_release[];
+-#endif
+-main(argc, argv)
+-     int argc;
+-     char *argv[];
+-{
+-#if defined(__GLIBC__)
+-  printf("%s %s\n", __libc_version, __libc_release);
+-#else
+-  printf("unkown\n");
+-#endif
+-  return 0;
+-}
+-EOF
+-		LIBC=""
+-		$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null
+-		if test "$?" = 0 ; then
+-			./$dummy | grep 1\.99 > /dev/null
+-			if test "$?" = 0 ; then
+-				LIBC="libc1"
+-			fi
+-		fi	
+-		rm -f $dummy.c $dummy
+-		echo powerpc-unknown-linux-gnu${LIBC}
+-		exit 0
+-		;;
+-	  shelf_linux)
+-		echo "${UNAME_MACHINE}-unknown-linux-gnu"
+-		exit 0
+-		;;
++		exit 0 ;;
++	  "")
++		# Either a pre-BFD a.out linker (linux-gnuoldld) or
++		# one that does not give us useful --help.
++		echo "${UNAME_MACHINE}-pc-linux-gnuoldld"
++		exit 0 ;;
+ 	esac
+-
+-	if test "${UNAME_MACHINE}" = "alpha" ; then
+-		cat <<EOF >$dummy.s
+-			.data
+-		\$Lformat:
+-			.byte 37,100,45,37,120,10,0	# "%d-%x\n"
+-
+-			.text
+-			.globl main
+-			.align 4
+-			.ent main
+-		main:
+-			.frame \$30,16,\$26,0
+-			ldgp \$29,0(\$27)
+-			.prologue 1
+-			.long 0x47e03d80 # implver \$0
+-			lda \$2,-1
+-			.long 0x47e20c21 # amask \$2,\$1
+-			lda \$16,\$Lformat
+-			mov \$0,\$17
+-			not \$1,\$18
+-			jsr \$26,printf
+-			ldgp \$29,0(\$26)
+-			mov 0,\$16
+-			jsr \$26,exit
+-			.end main
+-EOF
+-		LIBC=""
+-		$CC_FOR_BUILD $dummy.s -o $dummy 2>/dev/null
+-		if test "$?" = 0 ; then
+-			case `./$dummy` in
+-			0-0)
+-				UNAME_MACHINE="alpha"
+-				;;
+-			1-0)
+-				UNAME_MACHINE="alphaev5"
+-				;;
+-			1-1)
+-				UNAME_MACHINE="alphaev56"
+-				;;
+-			1-101)
+-				UNAME_MACHINE="alphapca56"
+-				;;
+-			2-303)
+-				UNAME_MACHINE="alphaev6"
+-				;;
+-			2-307)
+-				UNAME_MACHINE="alphaev67"
+-				;;
+-			esac
+-
+-			objdump --private-headers $dummy | \
+-			  grep ld.so.1 > /dev/null
+-			if test "$?" = 0 ; then
+-				LIBC="libc1"
+-			fi
+-		fi
+-		rm -f $dummy.s $dummy
+-		echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} ; exit 0
+-	elif test "${UNAME_MACHINE}" = "mips" ; then
+-	  cat >$dummy.c <<EOF
+-#ifdef __cplusplus
+-#include <stdio.h>  /* for printf() prototype */
+-	int main (int argc, char *argv[]) {
+-#else
+-	int main (argc, argv) int argc; char *argv[]; {
+-#endif
+-#ifdef __MIPSEB__
+-  printf ("%s-unknown-linux-gnu\n", argv[1]);
+-#endif
+-#ifdef __MIPSEL__
+-  printf ("%sel-unknown-linux-gnu\n", argv[1]);
+-#endif
+-  return 0;
+-}
+-EOF
+-	  $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy "${UNAME_MACHINE}" && rm $dummy.c $dummy && exit 0
+-	  rm -f $dummy.c $dummy
+-	elif test "${UNAME_MACHINE}" = "s390"; then
+-	  echo s390-ibm-linux && exit 0
+-	elif test "${UNAME_MACHINE}" = "x86_64"; then
+-	  echo x86_64-unknown-linux-gnu && exit 0
+-	else
+-	  # Either a pre-BFD a.out linker (linux-gnuoldld)
+-	  # or one that does not give us useful --help.
+-	  # GCC wants to distinguish between linux-gnuoldld and linux-gnuaout.
+-	  # If ld does not provide *any* "supported emulations:"
+-	  # that means it is gnuoldld.
+-	  echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations:"
+-	  test $? != 0 && echo "${UNAME_MACHINE}-pc-linux-gnuoldld" && exit 0
+-
+-	  case "${UNAME_MACHINE}" in
+-	  i?86)
+-	    VENDOR=pc;
+-	    ;;
+-	  *)
+-	    VENDOR=unknown;
+-	    ;;
+-	  esac
+-	  # Determine whether the default compiler is a.out or elf
+-	  cat >$dummy.c <<EOF
+-#include <features.h>
+-#ifdef __cplusplus
+-#include <stdio.h>  /* for printf() prototype */
+-	int main (int argc, char *argv[]) {
+-#else
+-	int main (argc, argv) int argc; char *argv[]; {
+-#endif
+-#ifdef __ELF__
+-# ifdef __GLIBC__
+-#  if __GLIBC__ >= 2
+-    printf ("%s-${VENDOR}-linux-gnu\n", argv[1]);
+-#  else
+-    printf ("%s-${VENDOR}-linux-gnulibc1\n", argv[1]);
+-#  endif
+-# else
+-   printf ("%s-${VENDOR}-linux-gnulibc1\n", argv[1]);
+-# endif
+-#else
+-  printf ("%s-${VENDOR}-linux-gnuaout\n", argv[1]);
+-#endif
+-  return 0;
+-}
++	# Determine whether the default compiler is a.out or elf
++	eval $set_cc_for_build
++	sed 's/^	//' << EOF >$dummy.c
++	#include <features.h>
++	#ifdef __ELF__
++	# ifdef __GLIBC__
++	#  if __GLIBC__ >= 2
++	LIBC=gnu
++	#  else
++	LIBC=gnulibc1
++	#  endif
++	# else
++	LIBC=gnulibc1
++	# endif
++	#else
++	#ifdef __INTEL_COMPILER
++	LIBC=gnu
++	#else
++	LIBC=gnuaout
++	#endif
++	#endif
+ EOF
+-	  $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy "${UNAME_MACHINE}" && rm $dummy.c $dummy && exit 0
+-	  rm -f $dummy.c $dummy
+-	  test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0
+-	fi ;;
+-# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.  earlier versions
+-# are messed up and put the nodename in both sysname and nodename.
+-    i?86:DYNIX/ptx:4*:*)
++	eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
++	rm -f $dummy.c
++	test x"${LIBC}" != x && echo "${UNAME_MACHINE}-pc-linux-${LIBC}" && exit 0
++	test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0
++	;;
++    i*86:DYNIX/ptx:4*:*)
++	# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
++	# earlier versions are messed up and put the nodename in both
++	# sysname and nodename.
+ 	echo i386-sequent-sysv4
+ 	exit 0 ;;
+-    i?86:UNIX_SV:4.2MP:2.*)
++    i*86:UNIX_SV:4.2MP:2.*)
+         # Unixware is an offshoot of SVR4, but it has its own version
+         # number series starting with 2...
+         # I am not positive that other SVR4 systems won't match this,
+@@ -919,7 +896,7 @@
+         # Use sysv4.2uw... so that sysv4* matches it.
+ 	echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
+ 	exit 0 ;;
+-    i?86:*:4.*:* | i?86:SYSTEM_V:4.*:*)
++    i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
+ 	UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
+ 	if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
+ 		echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL}
+@@ -927,16 +904,15 @@
+ 		echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL}
+ 	fi
+ 	exit 0 ;;
+-    i?86:*:5:7*)
+-        # Fixed at (any) Pentium or better
+-        UNAME_MACHINE=i586
+-        if [ ${UNAME_SYSTEM} = "UnixWare" ] ; then
+-	    echo ${UNAME_MACHINE}-sco-sysv${UNAME_RELEASE}uw${UNAME_VERSION}
+-	else
+-	    echo ${UNAME_MACHINE}-pc-sysv${UNAME_RELEASE}
+-	fi
++    i*86:*:5:[78]*)
++	case `/bin/uname -X | grep "^Machine"` in
++	    *486*)	     UNAME_MACHINE=i486 ;;
++	    *Pentium)	     UNAME_MACHINE=i586 ;;
++	    *Pent*|*Celeron) UNAME_MACHINE=i686 ;;
++	esac
++	echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
+ 	exit 0 ;;
+-    i?86:*:3.2:*)
++    i*86:*:3.2:*)
+ 	if test -f /usr/options/cb.name; then
+ 		UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
+ 		echo ${UNAME_MACHINE}-pc-isc$UNAME_REL
+@@ -954,7 +930,7 @@
+ 		echo ${UNAME_MACHINE}-pc-sysv32
+ 	fi
+ 	exit 0 ;;
+-    i?86:*DOS:*:*)
++    i*86:*DOS:*:*)
+ 	echo ${UNAME_MACHINE}-pc-msdosdjgpp
+ 	exit 0 ;;
+     pc:*:*:*)
+@@ -982,7 +958,7 @@
+ 	exit 0 ;;
+     M68*:*:R3V[567]*:*)
+ 	test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
+-    3[34]??:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 4850:*:4.0:3.0)
++    3[34]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0)
+ 	OS_REL=''
+ 	test -r /etc/.relid \
+ 	&& OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
+@@ -993,21 +969,24 @@
+     3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
+         /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
+           && echo i486-ncr-sysv4 && exit 0 ;;
+-    m68*:LynxOS:2.*:*)
++    m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
+ 	echo m68k-unknown-lynxos${UNAME_RELEASE}
+ 	exit 0 ;;
+     mc68030:UNIX_System_V:4.*:*)
+ 	echo m68k-atari-sysv4
+ 	exit 0 ;;
+-    i?86:LynxOS:2.*:* | i?86:LynxOS:3.[01]*:*)
++    i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
+ 	echo i386-unknown-lynxos${UNAME_RELEASE}
+ 	exit 0 ;;
+     TSUNAMI:LynxOS:2.*:*)
+ 	echo sparc-unknown-lynxos${UNAME_RELEASE}
+ 	exit 0 ;;
+-    rs6000:LynxOS:2.*:* | PowerPC:LynxOS:2.*:*)
++    rs6000:LynxOS:2.*:*)
+ 	echo rs6000-unknown-lynxos${UNAME_RELEASE}
+ 	exit 0 ;;
++    PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
++	echo powerpc-unknown-lynxos${UNAME_RELEASE}
++	exit 0 ;;
+     SM[BE]S:UNIX_SV:*:*)
+ 	echo mips-dde-sysv${UNAME_RELEASE}
+ 	exit 0 ;;
+@@ -1025,8 +1004,8 @@
+ 		echo ns32k-sni-sysv
+ 	fi
+ 	exit 0 ;;
+-    PENTIUM:CPunix:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
+-                           # says <Richard.M.Bartel@ccMail.Census.GOV>
++    PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
++                      # says <Richard.M.Bartel@ccMail.Census.GOV>
+         echo i586-unisys-sysv4
+         exit 0 ;;
+     *:UNIX_System_V:4*:FTX*)
+@@ -1038,6 +1017,10 @@
+ 	# From seanf@swdc.stratus.com.
+ 	echo i860-stratus-sysv4
+ 	exit 0 ;;
++    *:VOS:*:*)
++	# From Paul.Green@stratus.com.
++	echo hppa1.1-stratus-vos
++	exit 0 ;;
+     mc68*:A/UX:*:*)
+ 	echo m68k-apple-aux${UNAME_RELEASE}
+ 	exit 0 ;;
+@@ -1076,17 +1059,22 @@
+ 	echo `uname -p`-apple-darwin${UNAME_RELEASE}
+ 	exit 0 ;;
+     *:procnto*:*:* | *:QNX:[0123456789]*:*)
+-	if test "${UNAME_MACHINE}" = "x86pc"; then
++	UNAME_PROCESSOR=`uname -p`
++	if test "$UNAME_PROCESSOR" = "x86"; then
++		UNAME_PROCESSOR=i386
+ 		UNAME_MACHINE=pc
+ 	fi
+-	echo `uname -p`-${UNAME_MACHINE}-nto-qnx
++	echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE}
+ 	exit 0 ;;
+     *:QNX:*:4*)
+ 	echo i386-pc-qnx
+ 	exit 0 ;;
+-    NSR-[KW]:NONSTOP_KERNEL:*:*)
++    NSR-[GKLNPTVW]:NONSTOP_KERNEL:*:*)
+ 	echo nsr-tandem-nsk${UNAME_RELEASE}
+ 	exit 0 ;;
++    *:NonStop-UX:*:*)
++	echo mips-compaq-nonstopux
++	exit 0 ;;
+     BS2000:POSIX*:*:*)
+ 	echo bs2000-siemens-sysv
+ 	exit 0 ;;
+@@ -1104,13 +1092,41 @@
+ 	fi
+ 	echo ${UNAME_MACHINE}-unknown-plan9
+ 	exit 0 ;;
+-    *:OS/2:*:*)
+-	echo ${UNAME_MACHINE}-pc-os2_emx
++    i*86:OS/2:*:*)
++	# If we were able to find `uname', then EMX Unix compatibility
++	# is probably installed.
++	echo ${UNAME_MACHINE}-pc-os2-emx
++	exit 0 ;;
++    *:TOPS-10:*:*)
++	echo pdp10-unknown-tops10
++	exit 0 ;;
++    *:TENEX:*:*)
++	echo pdp10-unknown-tenex
++	exit 0 ;;
++    KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*)
++	echo pdp10-dec-tops20
++	exit 0 ;;
++    XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*)
++	echo pdp10-xkl-tops20
++	exit 0 ;;
++    *:TOPS-20:*:*)
++	echo pdp10-unknown-tops20
++	exit 0 ;;
++    *:ITS:*:*)
++	echo pdp10-unknown-its
++	exit 0 ;;
++    i*86:XTS-300:*:STOP)
++	echo ${UNAME_MACHINE}-unknown-stop
++	exit 0 ;;
++    i*86:atheos:*:*)
++	echo ${UNAME_MACHINE}-unknown-atheos
++	exit 0 ;;
+ esac
+ 
+ #echo '(No uname command or uname output not recognized.)' 1>&2
+ #echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2
+ 
++eval $set_cc_for_build
+ cat >$dummy.c <<EOF
+ #ifdef _SEQUENT_
+ # include <sys/types.h>
+@@ -1197,11 +1213,24 @@
+ #endif
+ 
+ #if defined (vax)
+-#if !defined (ultrix)
+-  printf ("vax-dec-bsd\n"); exit (0);
+-#else
+-  printf ("vax-dec-ultrix\n"); exit (0);
+-#endif
++# if !defined (ultrix)
++#  include <sys/param.h>
++#  if defined (BSD)
++#   if BSD == 43
++      printf ("vax-dec-bsd4.3\n"); exit (0);
++#   else
++#    if BSD == 199006
++      printf ("vax-dec-bsd4.3reno\n"); exit (0);
++#    else
++      printf ("vax-dec-bsd\n"); exit (0);
++#    endif
++#   endif
++#  else
++    printf ("vax-dec-bsd\n"); exit (0);
++#  endif
++# else
++    printf ("vax-dec-ultrix\n"); exit (0);
++# endif
+ #endif
+ 
+ #if defined (alliant) && defined (i860)
+@@ -1212,7 +1241,7 @@
+ }
+ EOF
+ 
+-$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy && rm $dummy.c $dummy && exit 0
++$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy && rm -f $dummy.c $dummy && exit 0
+ rm -f $dummy.c $dummy
+ 
+ # Apollos put the system type in the environment.
+@@ -1248,8 +1277,9 @@
+ cat >&2 <<EOF
+ $0: unable to guess system type
+ 
+-The $version version of this script cannot recognize your system type.
+-Please download the most up to date version of the config scripts:
++This script, last modified $timestamp, has failed to recognize
++the operating system you are using. It is advised that you
++download the most up to date version of the config scripts from
+ 
+     ftp://ftp.gnu.org/pub/gnu/config/
+ 
+@@ -1258,7 +1288,7 @@
+ pertinent to <config-patches@gnu.org> in order to provide the needed
+ information to handle your system.
+ 
+-config.guess version = $version
++config.guess timestamp = $timestamp
+ 
+ uname -m = `(uname -m) 2>/dev/null || echo unknown`
+ uname -r = `(uname -r) 2>/dev/null || echo unknown`
+@@ -1285,7 +1315,7 @@
+ 
+ # Local variables:
+ # eval: (add-hook 'write-file-hooks 'time-stamp)
+-# time-stamp-start: "version='"
++# time-stamp-start: "timestamp='"
+ # time-stamp-format: "%:y-%02m-%02d"
+ # time-stamp-end: "'"
+ # End:
+diff -ruN heimdal-0.4e-old/config.sub heimdal-0.4e/config.sub
+--- heimdal-0.4e-old/config.sub	Mon Sep 25 10:16:33 2000
++++ heimdal-0.4e/config.sub	Sat Jun 15 19:34:44 2002
+@@ -1,9 +1,9 @@
+ #! /bin/sh
+-# Configuration validation subroutine script, version 1.1.
+-#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000
+-#   Free Software Foundation, Inc.
++# Configuration validation subroutine script.
++#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
++#   2000, 2001, 2002 Free Software Foundation, Inc.
+ 
+-version='2000-09-11'
++timestamp='2002-03-07'
+ 
+ # This file is (in principle) common to ALL GNU software.
+ # The presence of a machine in this file suggests that SOME GNU software
+@@ -29,7 +29,8 @@
+ # configuration script generated by Autoconf, you may include it under
+ # the same distribution terms that you use for the rest of that program.
+ 
+-# Please send patches to <config-patches@gnu.org>.
++# Please send patches to <config-patches@gnu.org>.  Submit a context
++# diff and a properly formatted ChangeLog entry.
+ #
+ # Configuration subroutine to validate and canonicalize a configuration type.
+ # Supply the specified configuration type as an argument.
+@@ -60,16 +61,30 @@
+ Canonicalize a configuration name.
+ 
+ Operation modes:
+-  -h, --help               print this help, then exit
+-  -V, --version            print version number, then exit"
++  -h, --help         print this help, then exit
++  -t, --time-stamp   print date of last modification, then exit
++  -v, --version      print version number, then exit
++
++Report bugs and patches to <config-patches@gnu.org>."
++
++version="\
++GNU config.sub ($timestamp)
++
++Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
++Free Software Foundation, Inc.
++
++This is free software; see the source for copying conditions.  There is NO
++warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
+ 
+ help="
+ Try \`$me --help' for more information."
+ 
+ # Parse command line
+ while test $# -gt 0 ; do
+-  case "$1" in
+-    --version | --vers* | -V )
++  case $1 in
++    --time-stamp | --time* | -t )
++       echo "$timestamp" ; exit 0 ;;
++    --version | -v )
+        echo "$version" ; exit 0 ;;
+     --help | --h* | -h )
+        echo "$usage"; exit 0 ;;
+@@ -78,9 +93,7 @@
+     - )	# Use stdin as input.
+        break ;;
+     -* )
+-       exec >&2
+-       echo "$me: invalid option $1"
+-       echo "$help"
++       echo "$me: invalid option $1$help"
+        exit 1 ;;
+ 
+     *local*)
+@@ -105,7 +118,7 @@
+ # Here we must recognize all the valid KERNEL-OS combinations.
+ maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
+ case $maybe_os in
+-  nto-qnx* | linux-gnu*)
++  nto-qnx* | linux-gnu* | storm-chaos* | os2-emx* | windows32-* | rtmk-nova*)
+     os=-$maybe_os
+     basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
+     ;;
+@@ -145,6 +158,14 @@
+ 		os=-vxworks
+ 		basic_machine=$1
+ 		;;
++	-chorusos*)
++		os=-chorusos
++		basic_machine=$1
++		;;
++ 	-chorusrdb)
++ 		os=-chorusrdb
++		basic_machine=$1
++ 		;;
+ 	-hiux*)
+ 		os=-hiuxwe2
+ 		;;
+@@ -203,22 +224,36 @@
+ case $basic_machine in
+ 	# Recognize the basic CPU types without company name.
+ 	# Some are omitted here because they have special meanings below.
+-	tahoe | i860 | ia64 | m32r | m68k | m68000 | m88k | ns32k | arc | arm \
+-		| arme[lb] | armv[2345] | armv[345][lb] | pyramid | mn10200 | mn10300 | tron | a29k \
+-		| 580 | i960 | h8300 \
+-		| x86 | ppcbe | mipsbe | mipsle | shbe | shle | armbe | armle \
+-		| hppa | hppa1.0 | hppa1.1 | hppa2.0 | hppa2.0w | hppa2.0n \
+-		| hppa64 \
+-		| alpha | alphaev[4-8] | alphaev56 | alphapca5[67] \
+-		| alphaev6[78] \
+-		| we32k | ns16k | clipper | i370 | sh | sh[34] \
+-		| powerpc | powerpcle \
+-		| 1750a | dsp16xx | pdp11 | mips16 | mips64 | mipsel | mips64el \
+-		| mips64orion | mips64orionel | mipstx39 | mipstx39el \
+-		| mips64vr4300 | mips64vr4300el | mips64vr4100 | mips64vr4100el \
+-		| mips64vr5000 | miprs64vr5000el | mcore \
+-		| sparc | sparclet | sparclite | sparc64 | sparcv9 | v850 | c4x \
+-		| thumb | d10v | d30v | fr30 | avr)
++	1750a | 580 \
++	| a29k \
++	| alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
++	| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
++	| arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
++	| c4x | clipper \
++	| d10v | d30v | dsp16xx \
++	| fr30 \
++	| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
++	| i370 | i860 | i960 | ia64 \
++	| m32r | m68000 | m68k | m88k | mcore \
++	| mips | mips16 | mips64 | mips64el | mips64orion | mips64orionel \
++	| mips64vr4100 | mips64vr4100el | mips64vr4300 \
++	| mips64vr4300el | mips64vr5000 | mips64vr5000el \
++	| mipsbe | mipseb | mipsel | mipsle | mipstx39 | mipstx39el \
++	| mipsisa32 | mipsisa64 \
++	| mn10200 | mn10300 \
++	| ns16k | ns32k \
++	| openrisc | or32 \
++	| pdp10 | pdp11 | pj | pjl \
++	| powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
++	| pyramid \
++	| sh | sh[34] | sh[34]eb | shbe | shle | sh64 \
++	| sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \
++	| strongarm \
++	| tahoe | thumb | tic80 | tron \
++	| v850 | v850e \
++	| we32k \
++	| x86 | xscale | xstormy16 | xtensa \
++	| z8k)
+ 		basic_machine=$basic_machine-unknown
+ 		;;
+ 	m6811 | m68hc11 | m6812 | m68hc12)
+@@ -226,13 +261,13 @@
+ 		basic_machine=$basic_machine-unknown
+ 		os=-none
+ 		;;
+-	m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | z8k | v70 | h8500 | w65 | pj | pjl)
++	m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
+ 		;;
+ 
+ 	# We use `pc' rather than `unknown'
+ 	# because (1) that's what they normally are, and
+ 	# (2) the word "unknown" tends to confuse beginning users.
+-	i[234567]86 | x86_64)
++	i*86 | x86_64)
+ 	  basic_machine=$basic_machine-pc
+ 	  ;;
+ 	# Object if more than one company name word.
+@@ -241,28 +276,45 @@
+ 		exit 1
+ 		;;
+ 	# Recognize the basic CPU types with company name.
+-	# FIXME: clean up the formatting here.
+-	vax-* | tahoe-* | i[234567]86-* | i860-* | ia64-* | m32r-* | m68k-* | m68000-* \
+-	      | m88k-* | sparc-* | ns32k-* | fx80-* | arc-* | arm-* | c[123]* \
+-	      | mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \
+-	      | power-* | none-* | 580-* | cray2-* | h8300-* | h8500-* | i960-* \
+-	      | xmp-* | ymp-* \
+-	      | x86-* | ppcbe-* | mipsbe-* | mipsle-* | shbe-* | shle-* | armbe-* | armle-* \
+-	      | hppa-* | hppa1.0-* | hppa1.1-* | hppa2.0-* | hppa2.0w-* \
+-	      | hppa2.0n-* | hppa64-* \
+-	      | alpha-* | alphaev[4-8]-* | alphaev56-* | alphapca5[67]-* \
+-	      | alphaev6[78]-* \
+-	      | we32k-* | cydra-* | ns16k-* | pn-* | np1-* | xps100-* \
+-	      | clipper-* | orion-* \
+-	      | sparclite-* | pdp11-* | sh-* | powerpc-* | powerpcle-* \
+-	      | sparc64-* | sparcv9-* | sparc86x-* | mips16-* | mips64-* | mipsel-* \
+-	      | mips64el-* | mips64orion-* | mips64orionel-* \
+-	      | mips64vr4100-* | mips64vr4100el-* | mips64vr4300-* | mips64vr4300el-* \
+-	      | mipstx39-* | mipstx39el-* | mcore-* \
+-	      | f301-* | armv*-* | s390-* | sv1-* | t3e-* \
+-	      | m88110-* | m680[01234]0-* | m683?2-* | m68360-* | z8k-* | d10v-* \
+-	      | thumb-* | v850-* | d30v-* | tic30-* | c30-* | fr30-* \
+-	      | bs2000-* | tic54x-* | c54x-* | x86_64-*)
++	580-* \
++	| a29k-* \
++	| alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
++	| alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
++	| alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
++	| arm-*  | armbe-* | armle-* | armv*-* \
++	| avr-* \
++	| bs2000-* \
++	| c[123]* | c30-* | [cjt]90-* | c54x-* \
++	| clipper-* | cydra-* \
++	| d10v-* | d30v-* \
++	| elxsi-* \
++	| f30[01]-* | f700-* | fr30-* | fx80-* \
++	| h8300-* | h8500-* \
++	| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
++	| i*86-* | i860-* | i960-* | ia64-* \
++	| m32r-* \
++	| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
++	| m88110-* | m88k-* | mcore-* \
++	| mips-* | mips16-* | mips64-* | mips64el-* | mips64orion-* \
++	| mips64orionel-* | mips64vr4100-* | mips64vr4100el-* \
++	| mips64vr4300-* | mips64vr4300el-* | mipsbe-* | mipseb-* \
++	| mipsle-* | mipsel-* | mipstx39-* | mipstx39el-* \
++	| none-* | np1-* | ns16k-* | ns32k-* \
++	| orion-* \
++	| pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
++	| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
++	| pyramid-* \
++	| romp-* | rs6000-* \
++	| sh-* | sh[34]-* | sh[34]eb-* | shbe-* | shle-* | sh64-* \
++	| sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
++	| sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
++	| tahoe-* | thumb-* | tic30-* | tic54x-* | tic80-* | tron-* \
++	| v850-* | v850e-* | vax-* \
++	| we32k-* \
++	| x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \
++	| xtensa-* \
++	| ymp-* \
++	| z8k-*)
+ 		;;
+ 	# Recognize the various machine names and aliases which stand
+ 	# for a CPU type and a company and sometimes even an OS.
+@@ -325,6 +377,10 @@
+ 		basic_machine=ns32k-sequent
+ 		os=-dynix
+ 		;;
++	c90)
++		basic_machine=c90-cray
++		os=-unicos
++		;;
+ 	convex-c1)
+ 		basic_machine=c1-convex
+ 		os=-bsd
+@@ -345,16 +401,8 @@
+ 		basic_machine=c38-convex
+ 		os=-bsd
+ 		;;
+-	cray | ymp)
+-		basic_machine=ymp-cray
+-		os=-unicos
+-		;;
+-	cray2)
+-		basic_machine=cray2-cray
+-		os=-unicos
+-		;;
+-	[ctj]90-cray)
+-		basic_machine=c90-cray
++	cray | j90)
++		basic_machine=j90-cray
+ 		os=-unicos
+ 		;;
+ 	crds | unos)
+@@ -369,6 +417,14 @@
+ 	decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn)
+ 		basic_machine=mips-dec
+ 		;;
++	decsystem10* | dec10*)
++		basic_machine=pdp10-dec
++		os=-tops10
++		;;
++	decsystem20* | dec20*)
++		basic_machine=pdp10-dec
++		os=-tops20
++		;;
+ 	delta | 3300 | motorola-3300 | motorola-delta \
+ 	      | 3300-motorola | delta-motorola)
+ 		basic_machine=m68k-motorola
+@@ -410,6 +466,10 @@
+ 		basic_machine=tron-gmicro
+ 		os=-sysv
+ 		;;
++	go32)
++		basic_machine=i386-pc
++		os=-go32
++		;;
+ 	h3050r* | hiux*)
+ 		basic_machine=hppa1.1-hitachi
+ 		os=-hiuxwe2
+@@ -485,19 +545,19 @@
+ 		basic_machine=i370-ibm
+ 		;;
+ # I'm not sure what "Sysv32" means.  Should this be sysv3.2?
+-	i[34567]86v32)
++	i*86v32)
+ 		basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
+ 		os=-sysv32
+ 		;;
+-	i[34567]86v4*)
++	i*86v4*)
+ 		basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
+ 		os=-sysv4
+ 		;;
+-	i[34567]86v)
++	i*86v)
+ 		basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
+ 		os=-sysv
+ 		;;
+-	i[34567]86sol2)
++	i*86sol2)
+ 		basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
+ 		os=-solaris2
+ 		;;
+@@ -509,18 +569,6 @@
+ 		basic_machine=i386-unknown
+ 		os=-vsta
+ 		;;
+-	i386-go32 | go32)
+-		basic_machine=i386-unknown
+-		os=-go32
+-		;;
+-	i386-mingw32 | mingw32)
+-		basic_machine=i386-unknown
+-		os=-mingw32
+-		;;
+-	i[34567]86-pw32 | pw32)
+-		basic_machine=i586-unknown
+-		os=-pw32
+-		;;
+ 	iris | iris4d)
+ 		basic_machine=mips-sgi
+ 		case $os in
+@@ -546,6 +594,10 @@
+ 		basic_machine=ns32k-utek
+ 		os=-sysv
+ 		;;
++	mingw32)
++		basic_machine=i386-pc
++		os=-mingw32
++		;;
+ 	miniframe)
+ 		basic_machine=m68000-convergent
+ 		;;
+@@ -553,14 +605,6 @@
+ 		basic_machine=m68k-atari
+ 		os=-mint
+ 		;;
+-	mipsel*-linux*)
+-		basic_machine=mipsel-unknown
+-		os=-linux-gnu
+-		;;
+-	mips*-linux*)
+-		basic_machine=mips-unknown
+-		os=-linux-gnu
+-		;;
+ 	mips3*-*)
+ 		basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
+ 		;;
+@@ -575,8 +619,12 @@
+ 		basic_machine=m68k-rom68k
+ 		os=-coff
+ 		;;
++	morphos)
++		basic_machine=powerpc-unknown
++		os=-morphos
++		;;
+ 	msdos)
+-		basic_machine=i386-unknown
++		basic_machine=i386-pc
+ 		os=-msdos
+ 		;;
+ 	mvs)
+@@ -640,6 +688,10 @@
+ 		basic_machine=i960-intel
+ 		os=-mon960
+ 		;;
++	nonstopux)
++		basic_machine=mips-compaq
++		os=-nonstopux
++		;;
+ 	np1)
+ 		basic_machine=np1-gould
+ 		;;
+@@ -650,6 +702,10 @@
+ 		basic_machine=hppa1.1-oki
+ 		os=-proelf
+ 		;;
++	or32 | or32-*)
++		basic_machine=or32-unknown
++		os=-coff
++		;;
+ 	OSE68000 | ose68000)
+ 		basic_machine=m68000-ericsson
+ 		os=-ose
+@@ -675,28 +731,28 @@
+         pc532 | pc532-*)
+ 		basic_machine=ns32k-pc532
+ 		;;
+-	pentium | p5 | k5 | k6 | nexen)
++	pentium | p5 | k5 | k6 | nexgen | viac3)
+ 		basic_machine=i586-pc
+ 		;;
+ 	pentiumpro | p6 | 6x86 | athlon)
+ 		basic_machine=i686-pc
+ 		;;
+ 	pentiumii | pentium2)
+-		basic_machine=i786-pc
++		basic_machine=i686-pc
+ 		;;
+-	pentium-* | p5-* | k5-* | k6-* | nexen-*)
++	pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
+ 		basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
+ 		;;
+ 	pentiumpro-* | p6-* | 6x86-* | athlon-*)
+ 		basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
+ 		;;
+ 	pentiumii-* | pentium2-*)
+-		basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
++		basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
+ 		;;
+ 	pn)
+ 		basic_machine=pn-gould
+ 		;;
+-	power)	basic_machine=rs6000-ibm
++	power)	basic_machine=power-ibm
+ 		;;
+ 	ppc)	basic_machine=powerpc-unknown
+ 	        ;;
+@@ -708,9 +764,23 @@
+ 	ppcle-* | powerpclittle-*)
+ 		basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
+ 		;;
++	ppc64)	basic_machine=powerpc64-unknown
++	        ;;
++	ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
++		;;
++	ppc64le | powerpc64little | ppc64-le | powerpc64-little)
++		basic_machine=powerpc64le-unknown
++	        ;;
++	ppc64le-* | powerpc64little-*)
++		basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
++		;;
+ 	ps2)
+ 		basic_machine=i386-ibm
+ 		;;
++	pw32)
++		basic_machine=i586-unknown
++		os=-pw32
++		;;
+ 	rom68k)
+ 		basic_machine=m68k-rom68k
+ 		os=-coff
+@@ -721,6 +791,12 @@
+ 	rtpc | rtpc-*)
+ 		basic_machine=romp-ibm
+ 		;;
++	s390 | s390-*)
++		basic_machine=s390-ibm
++		;;
++	s390x | s390x-*)
++		basic_machine=s390x-ibm
++		;;
+ 	sa29200)
+ 		basic_machine=a29k-amd
+ 		os=-udi
+@@ -732,7 +808,7 @@
+ 		basic_machine=sh-hitachi
+ 		os=-hms
+ 		;;
+-	sparclite-wrs)
++	sparclite-wrs | simso-wrs)
+ 		basic_machine=sparclite-wrs
+ 		os=-vxworks
+ 		;;
+@@ -790,7 +866,7 @@
+ 	sun386 | sun386i | roadrunner)
+ 		basic_machine=i386-sun
+ 		;;
+-	sv1)
++        sv1)
+ 		basic_machine=sv1-cray
+ 		os=-unicos
+ 		;;
+@@ -798,8 +874,16 @@
+ 		basic_machine=i386-sequent
+ 		os=-dynix
+ 		;;
++	t3d)
++		basic_machine=alpha-cray
++		os=-unicos
++		;;
+ 	t3e)
+-		basic_machine=t3e-cray
++		basic_machine=alphaev5-cray
++		os=-unicos
++		;;
++	t90)
++		basic_machine=t90-cray
+ 		os=-unicos
+ 		;;
+ 	tic54x | c54x*)
+@@ -812,6 +896,10 @@
+ 	tx39el)
+ 		basic_machine=mipstx39el-unknown
+ 		;;
++	toad1)
++		basic_machine=pdp10-xkl
++		os=-tops20
++		;;
+ 	tower | tower-32)
+ 		basic_machine=m68k-ncr
+ 		;;
+@@ -858,13 +946,17 @@
+ 		basic_machine=hppa1.1-winbond
+ 		os=-proelf
+ 		;;
+-	xmp)
+-		basic_machine=xmp-cray
+-		os=-unicos
++	windows32)
++		basic_machine=i386-pc
++		os=-windows32-msvcrt
+ 		;;
+         xps | xps100)
+ 		basic_machine=xps100-honeywell
+ 		;;
++	ymp)
++		basic_machine=ymp-cray
++		os=-unicos
++		;;
+ 	z8k-*-coff)
+ 		basic_machine=z8k-unknown
+ 		os=-sim
+@@ -885,13 +977,6 @@
+ 	op60c)
+ 		basic_machine=hppa1.1-oki
+ 		;;
+-	mips)
+-		if [ x$os = x-linux-gnu ]; then
+-			basic_machine=mips-unknown
+-		else
+-			basic_machine=mips-mips
+-		fi
+-		;;
+ 	romp)
+ 		basic_machine=romp-ibm
+ 		;;
+@@ -901,16 +986,23 @@
+ 	vax)
+ 		basic_machine=vax-dec
+ 		;;
++	pdp10)
++		# there are many clones, so DEC is not a safe bet
++		basic_machine=pdp10-unknown
++		;;
+ 	pdp11)
+ 		basic_machine=pdp11-dec
+ 		;;
+ 	we32k)
+ 		basic_machine=we32k-att
+ 		;;
+-	sh3 | sh4)
+-		base_machine=sh-unknown
++	sh3 | sh4 | sh3eb | sh4eb)
++		basic_machine=sh-unknown
++		;;
++	sh64)
++		basic_machine=sh64-unknown
+ 		;;
+-	sparc | sparcv9)
++	sparc | sparcv9 | sparcv9b)
+ 		basic_machine=sparc-sun
+ 		;;
+         cydra)
+@@ -932,6 +1024,9 @@
+ 		basic_machine=c4x-none
+ 		os=-coff
+ 		;;
++	*-unknown)
++		# Make sure to match an already-canonicalized machine name.
++		;;
+ 	*)
+ 		echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
+ 		exit 1
+@@ -988,15 +1083,19 @@
+ 	      | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
+ 	      | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
+ 	      | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
++	      | -chorusos* | -chorusrdb* \
+ 	      | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
+ 	      | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
+ 	      | -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \
+-	      | -openstep* | -oskit* | -conix* | -pw32*)
++	      | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
++	      | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
++	      | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
++	      | -morphos* | -superux* | -rtmk* | -rtmk-nova*)
+ 	# Remember, each alternative MUST END IN *, to match a version number.
+ 		;;
+ 	-qnx*)
+ 		case $basic_machine in
+-		    x86-* | i[34567]86-*)
++		    x86-* | i*86-*)
+ 			;;
+ 		    *)
+ 			os=-nto$os
+@@ -1043,12 +1142,18 @@
+ 	-acis*)
+ 		os=-aos
+ 		;;
++	-atheos*)
++		os=-atheos
++		;;
+ 	-386bsd)
+ 		os=-bsd
+ 		;;
+ 	-ctix* | -uts*)
+ 		os=-sysv
+ 		;;
++	-nova*)
++		os=-rtmk-nova
++		;;
+ 	-ns2 )
+ 	        os=-nextstep2
+ 		;;
+@@ -1089,7 +1194,7 @@
+ 	-xenix)
+ 		os=-xenix
+ 		;;
+-        -*mint | -*MiNT)
++        -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
+ 	        os=-mint
+ 		;;
+ 	-none)
+@@ -1123,6 +1228,10 @@
+ 	arm*-semi)
+ 		os=-aout
+ 		;;
++	# This must come before the *-dec entry.
++	pdp10-*)
++		os=-tops20
++		;;
+         pdp11-*)
+ 		os=-none
+ 		;;
+@@ -1150,6 +1259,9 @@
+ 	mips*-*)
+ 		os=-elf
+ 		;;
++	or32-*)
++		os=-coff
++		;;
+ 	*-tti)	# must be before sparc entry or we get the wrong os.
+ 		os=-sysv3
+ 		;;
+@@ -1231,7 +1343,7 @@
+ 	*-masscomp)
+ 		os=-rtu
+ 		;;
+-	f301-fujitsu)
++	f30[01]-fujitsu | f700-fujitsu)
+ 		os=-uxpv
+ 		;;
+ 	*-rom68k)
+@@ -1309,9 +1421,12 @@
+ 			-mpw* | -macos*)
+ 				vendor=apple
+ 				;;
+-			-*mint | -*MiNT)
++			-*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
+ 				vendor=atari
+ 				;;
++			-vos*)
++				vendor=stratus
++				;;
+ 		esac
+ 		basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
+ 		;;
+@@ -1322,7 +1437,7 @@
+ 
+ # Local variables:
+ # eval: (add-hook 'write-file-hooks 'time-stamp)
+-# time-stamp-start: "version='"
++# time-stamp-start: "timestamp='"
+ # time-stamp-format: "%:y-%02m-%02d"
+ # time-stamp-end: "'"
+ # End:
+diff -ruN heimdal-0.4e-old/configure heimdal-0.4e/configure
+--- heimdal-0.4e-old/configure	Thu Sep  6 22:31:32 2001
++++ heimdal-0.4e/configure	Sat Jun 15 19:35:00 2002
+@@ -1,11 +1,11 @@
+ #! /bin/sh
+ # From configure.in Revision: 1.302 .
+ # Guess values for system-dependent variables and create Makefiles.
+-# Generated by Autoconf 2.52 for heimdal 0.4e.
++# Generated by GNU Autoconf 2.53 for heimdal 0.4e.
+ #
+ # Report bugs to <heimdal-bugs@pdc.kth.se>.
+ #
+-# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
++# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
+ # Free Software Foundation, Inc.
+ # This configure script is free software; the Free Software Foundation
+ # gives unlimited permission to copy, distribute and modify it.
+@@ -18,8 +18,10 @@
+     *-DOS) lt_cv_sys_path_separator=';' ;;
+     *)     lt_cv_sys_path_separator=':' ;;
+   esac
++  PATH_SEPARATOR=$lt_cv_sys_path_separator
+ fi
+ 
++
+ # Check that we are running under the correct shell.
+ SHELL=${CONFIG_SHELL-/bin/sh}
+ 
+@@ -83,7 +85,7 @@
+   #
+   # So, first we look for a working echo in the user's PATH.
+ 
+-  IFS="${IFS= 	}"; save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR}"
++  IFS="${IFS= 	}"; save_ifs="$IFS"; IFS=$PATH_SEPARATOR
+   for dir in $PATH /usr/ucb; do
+     if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
+        test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
+@@ -165,18 +167,18 @@
+    ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
+ fi
+ 
+-# Avoid depending upon Character Ranges.
+-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
+-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
+-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
+-as_cr_digits='0123456789'
+-as_cr_alnum=$as_cr_Letters$as_cr_digits
+ 
+-# Sed expression to map a string onto a valid variable name.
+-as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
+ 
+-# Sed expression to map a string onto a valid CPP name.
+-as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
++if expr a : '\(a\)' >/dev/null 2>&1; then
++  as_expr=expr
++else
++  as_expr=false
++fi
++
++
++## --------------------- ##
++## M4sh Initialization.  ##
++## --------------------- ##
+ 
+ # Be Bourne compatible
+ if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
+@@ -186,8 +188,165 @@
+   set -o posix
+ fi
+ 
++# NLS nuisances.
++# Support unset when possible.
++if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
++  as_unset=unset
++else
++  as_unset=false
++fi
++
++(set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
++    { $as_unset LANG || test "${LANG+set}" != set; } ||
++      { LANG=C; export LANG; }
++(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
++    { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
++      { LC_ALL=C; export LC_ALL; }
++(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
++    { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
++      { LC_TIME=C; export LC_TIME; }
++(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
++    { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
++      { LC_CTYPE=C; export LC_CTYPE; }
++(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
++    { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
++      { LANGUAGE=C; export LANGUAGE; }
++(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
++    { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
++      { LC_COLLATE=C; export LC_COLLATE; }
++(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
++    { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
++      { LC_NUMERIC=C; export LC_NUMERIC; }
++(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
++    { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
++      { LC_MESSAGES=C; export LC_MESSAGES; }
++
++
+ # Name of the executable.
+-as_me=`echo "$0" |sed 's,.*[\\/],,'`
++as_me=`(basename "$0") 2>/dev/null ||
++$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
++	 X"$0" : 'X\(//\)$' \| \
++	 X"$0" : 'X\(/\)$' \| \
++	 .     : '\(.\)' 2>/dev/null ||
++echo X/"$0" |
++    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
++  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
++  	  /^X\/\(\/\).*/{ s//\1/; q; }
++  	  s/.*/./; q'`
++
++# PATH needs CR, and LINENO needs CR and PATH.
++# Avoid depending upon Character Ranges.
++as_cr_letters='abcdefghijklmnopqrstuvwxyz'
++as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
++as_cr_Letters=$as_cr_letters$as_cr_LETTERS
++as_cr_digits='0123456789'
++as_cr_alnum=$as_cr_Letters$as_cr_digits
++
++# The user is always right.
++if test "${PATH_SEPARATOR+set}" != set; then
++  echo "#! /bin/sh" >conftest.sh
++  echo  "exit 0"   >>conftest.sh
++  chmod +x conftest.sh
++  if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
++    PATH_SEPARATOR=';'
++  else
++    PATH_SEPARATOR=:
++  fi
++  rm -f conftest.sh
++fi
++
++
++  as_lineno_1=$LINENO
++  as_lineno_2=$LINENO
++  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
++  test "x$as_lineno_1" != "x$as_lineno_2" &&
++  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
++  # Find who we are.  Look in the path if we contain no path at all
++  # relative or not.
++  case $0 in
++    *[\\/]* ) as_myself=$0 ;;
++    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
++done
++
++       ;;
++  esac
++  # We did not find ourselves, most probably we were run as `sh COMMAND'
++  # in which case we are not to be found in the path.
++  if test "x$as_myself" = x; then
++    as_myself=$0
++  fi
++  if test ! -f "$as_myself"; then
++    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
++   { (exit 1); exit 1; }; }
++  fi
++  case $CONFIG_SHELL in
++  '')
++    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for as_base in sh bash ksh sh5; do
++	 case $as_dir in
++	 /*)
++	   if ("$as_dir/$as_base" -c '
++  as_lineno_1=$LINENO
++  as_lineno_2=$LINENO
++  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
++  test "x$as_lineno_1" != "x$as_lineno_2" &&
++  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
++	     CONFIG_SHELL=$as_dir/$as_base
++	     export CONFIG_SHELL
++	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
++	   fi;;
++	 esac
++       done
++done
++;;
++  esac
++
++  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
++  # uniformly replaced by the line number.  The first 'sed' inserts a
++  # line-number line before each line; the second 'sed' does the real
++  # work.  The second script uses 'N' to pair each line-number line
++  # with the numbered line, and appends trailing '-' during
++  # substitution so that $LINENO is not a special case at line end.
++  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
++  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
++  sed '=' <$as_myself |
++    sed '
++      N
++      s,$,-,
++      : loop
++      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
++      t loop
++      s,-$,,
++      s,^['$as_cr_digits']*\n,,
++    ' >$as_me.lineno &&
++  chmod +x $as_me.lineno ||
++    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
++   { (exit 1); exit 1; }; }
++
++  # Don't try to exec as it changes $[0], causing all sort of problems
++  # (the dirname of $[0] is not the place where we might find the
++  # original and so on.  Autoconf is especially sensible to this).
++  . ./$as_me.lineno
++  # Exit status is that of the last command.
++  exit
++}
++
++
++case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
++  *c*,-n*) ECHO_N= ECHO_C='
++' ECHO_T='	' ;;
++  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
++  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
++esac
+ 
+ if expr a : '\(a\)' >/dev/null 2>&1; then
+   as_expr=expr
+@@ -215,22 +374,12 @@
+ 
+ as_executable_p="test -f"
+ 
+-# Support unset when possible.
+-if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
+-  as_unset=unset
+-else
+-  as_unset=false
+-fi
++# Sed expression to map a string onto a valid CPP name.
++as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
++
++# Sed expression to map a string onto a valid variable name.
++as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
+ 
+-# NLS nuisances.
+-$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
+-$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
+-$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
+-$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
+-$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
+-$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
+-$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
+-$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
+ 
+ # IFS
+ # We need space, tab and new line, in precisely that order.
+@@ -239,7 +388,8 @@
+ IFS=" 	$as_nl"
+ 
+ # CDPATH.
+-$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
++$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
++
+ 
+ # Name of the host.
+ # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
+@@ -254,7 +404,8 @@
+ ac_default_prefix=/usr/local
+ cross_compiling=no
+ subdirs=
+-MFLAGS= MAKEFLAGS=
++MFLAGS=
++MAKEFLAGS=
+ SHELL=${CONFIG_SHELL-/bin/sh}
+ 
+ # Maximum number of lines to put in a shell here document.
+@@ -262,6 +413,13 @@
+ # only ac_max_sed_lines should be used.
+ : ${ac_max_here_lines=38}
+ 
++# Identity of this package.
++PACKAGE_NAME='heimdal'
++PACKAGE_TARNAME='heimdal'
++PACKAGE_VERSION='0.4e'
++PACKAGE_STRING='heimdal 0.4e'
++PACKAGE_BUGREPORT='heimdal-bugs@pdc.kth.se'
++
+ ac_default_prefix=/usr/heimdal
+ # Factoring default headers for most tests.
+ ac_includes_default="\
+@@ -300,6 +458,7 @@
+ # include <unistd.h>
+ #endif"
+ 
++
+ # Initialize some variables set by options.
+ ac_init_help=
+ ac_init_version=false
+@@ -338,13 +497,6 @@
+ infodir='${prefix}/info'
+ mandir='${prefix}/man'
+ 
+-# Identity of this package.
+-PACKAGE_NAME='heimdal'
+-PACKAGE_TARNAME='heimdal'
+-PACKAGE_VERSION='0.4e'
+-PACKAGE_STRING='heimdal 0.4e'
+-PACKAGE_BUGREPORT='heimdal-bugs@pdc.kth.se'
+-
+ ac_prev=
+ for ac_option
+ do
+@@ -477,7 +629,7 @@
+     with_fp=no ;;
+ 
+   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
+-  | --no-cr | --no-c)
++  | --no-cr | --no-c | -n)
+     no_create=yes ;;
+ 
+   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
+@@ -656,7 +808,7 @@
+   eval ac_val=$`echo $ac_var`
+   case $ac_val in
+     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
+-    *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
++    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
+    { (exit 1); exit 1; }; };;
+   esac
+ done
+@@ -668,18 +820,19 @@
+   eval ac_val=$`echo $ac_var`
+   case $ac_val in
+     [\\/$]* | ?:[\\/]* ) ;;
+-    *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
++    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
+    { (exit 1); exit 1; }; };;
+   esac
+ done
+ 
+ # There might be people who depend on the old broken behavior: `$host'
+ # used to hold the argument of --host etc.
++# FIXME: To remove some day.
+ build=$build_alias
+ host=$host_alias
+ target=$target_alias
+ 
+-# FIXME: should be removed in autoconf 3.0.
++# FIXME: To remove some day.
+ if test "x$host_alias" != x; then
+   if test "x$build_alias" = x; then
+     cross_compiling=maybe
+@@ -695,13 +848,23 @@
+ 
+ test "$silent" = yes && exec 6>/dev/null
+ 
++
+ # 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=.
++  ac_confdir=`(dirname "$0") 2>/dev/null ||
++$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++         X"$0" : 'X\(//\)[^/]' \| \
++         X"$0" : 'X\(//\)$' \| \
++         X"$0" : 'X\(/\)' \| \
++         .     : '\(.\)' 2>/dev/null ||
++echo X"$0" |
++    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
++  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
++  	  /^X\(\/\/\)$/{ s//\1/; q; }
++  	  /^X\(\/\).*/{ s//\1/; q; }
++  	  s/.*/./; q'`
+   srcdir=$ac_confdir
+   if test ! -r $srcdir/$ac_unique_file; then
+     srcdir=..
+@@ -711,10 +874,10 @@
+ fi
+ if test ! -r $srcdir/$ac_unique_file; then
+   if test "$ac_srcdir_defaulted" = yes; then
+-    { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
++    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
+    { (exit 1); exit 1; }; }
+   else
+-    { echo "$as_me: error: cannot find sources in $srcdir" >&2
++    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
+    { (exit 1); exit 1; }; }
+   fi
+ fi
+@@ -758,7 +921,7 @@
+ if test "$ac_init_help" = "long"; then
+   # 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
++  cat <<_ACEOF
+ \`configure' configures heimdal 0.4e to adapt to many kinds of systems.
+ 
+ Usage: $0 [OPTION]... [VAR=VALUE]...
+@@ -779,9 +942,9 @@
+   -n, --no-create         do not create output files
+       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
+ 
+-EOF
++_ACEOF
+ 
+-  cat <<EOF
++  cat <<_ACEOF
+ Installation directories:
+   --prefix=PREFIX         install architecture-independent files in PREFIX
+                           [$ac_default_prefix]
+@@ -808,9 +971,9 @@
+   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
+   --infodir=DIR          info documentation [PREFIX/info]
+   --mandir=DIR           man documentation [PREFIX/man]
+-EOF
++_ACEOF
+ 
+-  cat <<\EOF
++  cat <<\_ACEOF
+ 
+ Program names:
+   --program-prefix=PREFIX            prepend PREFIX to installed program names
+@@ -823,19 +986,21 @@
+ 
+ System types:
+   --build=BUILD     configure for building on BUILD [guessed]
+-  --host=HOST       build programs to run on HOST [BUILD]
+-EOF
++  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
++_ACEOF
+ fi
+ 
+ if test -n "$ac_init_help"; then
+   case $ac_init_help in
+      short | recursive ) echo "Configuration of heimdal 0.4e:";;
+    esac
+-  cat <<\EOF
++  cat <<\_ACEOF
+ 
+ Optional Features:
+   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
+   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
++  --enable-maintainer-mode enable make rules and dependencies not useful
++                          (and sometimes confusing) to the casual installer
+   --disable-dependency-tracking Speeds up one-time builds
+   --enable-dependency-tracking  Do not reject slow dependency extractors
+   --enable-shared=PKGS  build shared libraries default=no
+@@ -856,6 +1021,7 @@
+   --with-gnu-ld           assume the C compiler uses GNU ld default=no
+   --with-pic              try to use only PIC/non-PIC objects default=use both
+   --without-berkeley-db   if you don't want berkeley db
++  --with-roken=dir	use the roken library in dir
+   --without-ipv6	do not enable IPv6 support
+   --with-openldap=dir                use openldap in dir
+   --with-openldap-lib=dir            use openldap libraries in dir
+@@ -869,6 +1035,15 @@
+   --with-hesiod=dir                use hesiod in dir
+   --with-hesiod-lib=dir            use hesiod libraries in dir
+   --with-hesiod-include=dir        use hesiod headers in dir
++  --with-sl=dir                use sl in dir
++  --with-sl-lib=dir            use sl libraries in dir
++  --with-sl-include=dir        use sl headers in dir
++  --with-ss=dir                use ss in dir
++  --with-ss-lib=dir            use ss libraries in dir
++  --with-ss-include=dir        use ss headers in dir
++  --with-otp=dir                use otp in dir
++  --with-otp-lib=dir            use otp libraries in dir
++  --with-otp-include=dir        use otp headers in dir
+   --with-x                use the X Window System
+   --with-openssl=dir      use openssl in dir
+   --with-openssl-lib=dir  use openssl libraries in dir
+@@ -888,40 +1063,60 @@
+ it to find libraries and programs with nonstandard names/locations.
+ 
+ Report bugs to <heimdal-bugs@pdc.kth.se>.
+-EOF
++_ACEOF
+ fi
+ 
+ if test "$ac_init_help" = "recursive"; then
+   # If there are subdirs, report their specific --help.
+   ac_popdir=`pwd`
+-  for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
+-    cd $ac_subdir
+-    # A "../" for each directory in /$ac_subdir.
+-    ac_dots=`echo $ac_subdir |
+-             sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
+-
+-    case $srcdir in
+-    .) # No --srcdir option.  We are building in place.
+-      ac_sub_srcdir=$srcdir ;;
+-    [\\/]* | ?:[\\/]* ) # Absolute path.
+-      ac_sub_srcdir=$srcdir/$ac_subdir ;;
+-    *) # Relative path.
+-      ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
+-    esac
++  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
++    test -d $ac_dir || continue
++    ac_builddir=.
++
++if test "$ac_dir" != .; then
++  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
++  # A "../" for each directory in $ac_dir_suffix.
++  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
++else
++  ac_dir_suffix= ac_top_builddir=
++fi
++
++case $srcdir in
++  .)  # No --srcdir option.  We are building in place.
++    ac_srcdir=.
++    if test -z "$ac_top_builddir"; then
++       ac_top_srcdir=.
++    else
++       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
++    fi ;;
++  [\\/]* | ?:[\\/]* )  # Absolute path.
++    ac_srcdir=$srcdir$ac_dir_suffix;
++    ac_top_srcdir=$srcdir ;;
++  *) # Relative path.
++    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
++    ac_top_srcdir=$ac_top_builddir$srcdir ;;
++esac
++# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
++# absolute.
++ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
++ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
++ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
++ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
+ 
++    cd $ac_dir
+     # Check for guested configure; otherwise get Cygnus style configure.
+-    if test -f $ac_sub_srcdir/configure.gnu; then
++    if test -f $ac_srcdir/configure.gnu; then
+       echo
+-      $SHELL $ac_sub_srcdir/configure.gnu  --help=recursive
+-    elif test -f $ac_sub_srcdir/configure; then
++      $SHELL $ac_srcdir/configure.gnu  --help=recursive
++    elif test -f $ac_srcdir/configure; then
+       echo
+-      $SHELL $ac_sub_srcdir/configure  --help=recursive
+-    elif test -f $ac_sub_srcdir/configure.ac ||
+-           test -f $ac_sub_srcdir/configure.in; then
++      $SHELL $ac_srcdir/configure  --help=recursive
++    elif test -f $ac_srcdir/configure.ac ||
++           test -f $ac_srcdir/configure.in; then
+       echo
+       $ac_configure --help
+     else
+-      echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
++      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
+     fi
+     cd $ac_popdir
+   done
+@@ -929,33 +1124,33 @@
+ 
+ test -n "$ac_init_help" && exit 0
+ if $ac_init_version; then
+-  cat <<\EOF
++  cat <<\_ACEOF
+ heimdal configure 0.4e
+-generated by GNU Autoconf 2.52
++generated by GNU Autoconf 2.53
+ 
+-Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
++Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
+ Free Software Foundation, Inc.
+ This configure script is free software; the Free Software Foundation
+ gives unlimited permission to copy, distribute and modify it.
+-EOF
++_ACEOF
+   exit 0
+ fi
+ exec 5>config.log
+-cat >&5 <<EOF
++cat >&5 <<_ACEOF
+ This file contains any messages produced by compilers while
+ running configure, to aid debugging if configure makes a mistake.
+ 
+ It was created by heimdal $as_me 0.4e, which was
+-generated by GNU Autoconf 2.52.  Invocation command line was
++generated by GNU Autoconf 2.53.  Invocation command line was
+ 
+   $ $0 $@
+ 
+-EOF
++_ACEOF
+ {
+ cat <<_ASUNAME
+-## ---------- ##
+-## Platform.  ##
+-## ---------- ##
++## --------- ##
++## Platform. ##
++## --------- ##
+ 
+ hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
+ uname -m = `(uname -m) 2>/dev/null || echo unknown`
+@@ -974,17 +1169,27 @@
+ /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
+ /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
+ 
+-PATH = $PATH
+-
+ _ASUNAME
++
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  echo "PATH: $as_dir"
++done
++
+ } >&5
+ 
+-cat >&5 <<EOF
+-## ------------ ##
+-## Core tests.  ##
+-## ------------ ##
++cat >&5 <<_ACEOF
++
++
++## ----------- ##
++## Core tests. ##
++## ----------- ##
++
++_ACEOF
+ 
+-EOF
+ 
+ # Keep a trace of the command line.
+ # Strip out --no-create and --no-recursion so they do not pile up.
+@@ -995,15 +1200,17 @@
+ do
+   case $ac_arg in
+   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
+-  | --no-cr | --no-c) ;;
++  | --no-cr | --no-c | -n ) continue ;;
+   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
+-  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
++  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
++    continue ;;
+   *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
+-    ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
+-    ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
+-    ac_sep=" " ;;
+-  *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
+-     ac_sep=" " ;;
++    ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
++  esac
++  case " $ac_configure_args " in
++    *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
++    *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
++       ac_sep=" " ;;
+   esac
+   # Get rid of the leading space.
+ done
+@@ -1011,14 +1218,19 @@
+ # When interrupted or exit'd, cleanup temporary files, and complete
+ # config.log.  We remove comments because anyway the quotes in there
+ # would cause problems or look ugly.
++# WARNING: Be sure not to use single quotes in there, as some shells,
++# such as our DU 5.0 friend, will then `close' the trap.
+ trap 'exit_status=$?
+   # Save into config.log some information that might help in debugging.
+-  echo >&5
+-  echo "## ----------------- ##" >&5
+-  echo "## Cache variables.  ##" >&5
+-  echo "## ----------------- ##" >&5
+-  echo >&5
+-  # The following way of writing the cache mishandles newlines in values,
++  {
++    echo
++    cat <<\_ASBOX
++## ---------------- ##
++## Cache variables. ##
++## ---------------- ##
++_ASBOX
++    echo
++    # The following way of writing the cache mishandles newlines in values,
+ {
+   (set) 2>&1 |
+     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
+@@ -1032,21 +1244,24 @@
+         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
+       ;;
+     esac;
+-} >&5
+-  sed "/^$/d" confdefs.h >conftest.log
+-  if test -s conftest.log; then
+-    echo >&5
+-    echo "## ------------ ##" >&5
+-    echo "## confdefs.h.  ##" >&5
+-    echo "## ------------ ##" >&5
+-    echo >&5
+-    cat conftest.log >&5
+-  fi
+-  (echo; echo) >&5
+-  test "$ac_signal" != 0 &&
+-    echo "$as_me: caught signal $ac_signal" >&5
+-  echo "$as_me: exit $exit_status" >&5
+-  rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
++}
++    echo
++    if test -s confdefs.h; then
++      cat <<\_ASBOX
++## ----------- ##
++## confdefs.h. ##
++## ----------- ##
++_ASBOX
++      echo
++      sed "/^$/d" confdefs.h
++      echo
++    fi
++    test "$ac_signal" != 0 &&
++      echo "$as_me: caught signal $ac_signal"
++    echo "$as_me: exit $exit_status"
++  } >&5
++  rm -f core core.* *.core &&
++  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
+     exit $exit_status
+      ' 0
+ for ac_signal in 1 2 13 15; do
+@@ -1059,6 +1274,33 @@
+ # AIX cpp loses on an empty file, so make sure it contains at least a newline.
+ echo >confdefs.h
+ 
++# Predefined preprocessor variables.
++
++cat >>confdefs.h <<_ACEOF
++#define PACKAGE_NAME "$PACKAGE_NAME"
++_ACEOF
++
++
++cat >>confdefs.h <<_ACEOF
++#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
++_ACEOF
++
++
++cat >>confdefs.h <<_ACEOF
++#define PACKAGE_VERSION "$PACKAGE_VERSION"
++_ACEOF
++
++
++cat >>confdefs.h <<_ACEOF
++#define PACKAGE_STRING "$PACKAGE_STRING"
++_ACEOF
++
++
++cat >>confdefs.h <<_ACEOF
++#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
++_ACEOF
++
++
+ # Let the site file select an alternate cache file if it wants to.
+ # Prefer explicitly selected file to automatically selected ones.
+ if test -z "$CONFIG_SITE"; then
+@@ -1070,9 +1312,9 @@
+ fi
+ for ac_site_file in $CONFIG_SITE; do
+   if test -r "$ac_site_file"; then
+-    { echo "$as_me:1073: loading site script $ac_site_file" >&5
++    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
+ echo "$as_me: loading site script $ac_site_file" >&6;}
+-    cat "$ac_site_file" >&5
++    sed 's/^/| /' "$ac_site_file" >&5
+     . "$ac_site_file"
+   fi
+ done
+@@ -1081,7 +1323,7 @@
+   # Some versions of bash will fail to source /dev/null (special
+   # files actually), so we avoid doing that.
+   if test -f "$cache_file"; then
+-    { echo "$as_me:1084: loading cache $cache_file" >&5
++    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
+ echo "$as_me: loading cache $cache_file" >&6;}
+     case $cache_file in
+       [\\/]* | ?:[\\/]* ) . $cache_file;;
+@@ -1089,7 +1331,7 @@
+     esac
+   fi
+ else
+-  { echo "$as_me:1092: creating cache $cache_file" >&5
++  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
+ echo "$as_me: creating cache $cache_file" >&6;}
+   >$cache_file
+ fi
+@@ -1105,42 +1347,42 @@
+   eval ac_new_val="\$ac_env_${ac_var}_value"
+   case $ac_old_set,$ac_new_set in
+     set,)
+-      { echo "$as_me:1108: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
++      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
+ echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
+       ac_cache_corrupted=: ;;
+     ,set)
+-      { echo "$as_me:1112: error: \`$ac_var' was not set in the previous run" >&5
++      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
+ echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
+       ac_cache_corrupted=: ;;
+     ,);;
+     *)
+       if test "x$ac_old_val" != "x$ac_new_val"; then
+-        { echo "$as_me:1118: error: \`$ac_var' has changed since the previous run:" >&5
++        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
+ echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
+-        { echo "$as_me:1120:   former value:  $ac_old_val" >&5
++        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
+ echo "$as_me:   former value:  $ac_old_val" >&2;}
+-        { echo "$as_me:1122:   current value: $ac_new_val" >&5
++        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
+ echo "$as_me:   current value: $ac_new_val" >&2;}
+         ac_cache_corrupted=:
+       fi;;
+   esac
+-  # Pass precious variables to config.status.  It doesn't matter if
+-  # we pass some twice (in addition to the command line arguments).
++  # Pass precious variables to config.status.
+   if test "$ac_new_set" = set; then
+     case $ac_new_val in
+     *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
+-      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`
+-      ac_configure_args="$ac_configure_args '$ac_arg'"
+-      ;;
+-    *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
+-       ;;
++      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
++    *) ac_arg=$ac_var=$ac_new_val ;;
++    esac
++    case " $ac_configure_args " in
++      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
++      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
+     esac
+   fi
+ done
+ if $ac_cache_corrupted; then
+-  { echo "$as_me:1141: error: changes in the environment can compromise the build" >&5
++  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
+ echo "$as_me: error: changes in the environment can compromise the build" >&2;}
+-  { { echo "$as_me:1143: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
++  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
+ echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
+    { (exit 1); exit 1; }; }
+ fi
+@@ -1151,30 +1393,59 @@
+ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ ac_compiler_gnu=$ac_cv_c_compiler_gnu
+ 
+-case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
+-  *c*,-n*) ECHO_N= ECHO_C='
+-' ECHO_T='	' ;;
+-  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
+-  *)      ECHO_N= ECHO_C='\c' ECHO_T= ;;
+-esac
+-echo "#! $SHELL" >conftest.sh
+-echo  "exit 0"   >>conftest.sh
+-chmod +x conftest.sh
+-if { (echo "$as_me:1163: PATH=\".;.\"; conftest.sh") >&5
+-  (PATH=".;."; conftest.sh) 2>&5
+-  ac_status=$?
+-  echo "$as_me:1166: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-  ac_path_separator=';'
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
++echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
++    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
++if test "${enable_maintainer_mode+set}" = set; then
++  enableval="$enable_maintainer_mode"
++  USE_MAINTAINER_MODE=$enableval
++else
++  USE_MAINTAINER_MODE=no
++fi;
++  echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
++echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
++
++
++if test $USE_MAINTAINER_MODE = yes; then
++  MAINTAINER_MODE_TRUE=
++  MAINTAINER_MODE_FALSE='#'
+ else
+-  ac_path_separator=:
++  MAINTAINER_MODE_TRUE='#'
++  MAINTAINER_MODE_FALSE=
+ fi
+-PATH_SEPARATOR="$ac_path_separator"
+-rm -f conftest.sh
++  MAINT=$MAINTAINER_MODE_TRUE
++
++
++
+ 
+-ac_config_headers="$ac_config_headers include/config.h"
+ 
+-  ac_config_commands="$ac_config_commands default-1"
++		    		    		    ac_config_headers="$ac_config_headers include/config.h"
++
+ 
+ ac_ext=c
+ ac_cpp='$CPP $CPPFLAGS'
+@@ -1184,7 +1455,7 @@
+ if test -n "$ac_tool_prefix"; then
+   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
+ set dummy ${ac_tool_prefix}gcc; ac_word=$2
+-echo "$as_me:1187: checking for $ac_word" >&5
++echo "$as_me:$LINENO: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_CC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -1192,25 +1463,28 @@
+   if test -n "$CC"; then
+   ac_cv_prog_CC="$CC" # Let the user override the test.
+ else
+-  ac_save_IFS=$IFS; IFS=$ac_path_separator
+-ac_dummy="$PATH"
+-for ac_dir in $ac_dummy; do
+-  IFS=$ac_save_IFS
+-  test -z "$ac_dir" && ac_dir=.
+-  $as_executable_p "$ac_dir/$ac_word" || continue
+-ac_cv_prog_CC="${ac_tool_prefix}gcc"
+-echo "$as_me:1202: found $ac_dir/$ac_word" >&5
+-break
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_CC="${ac_tool_prefix}gcc"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
+ done
+ 
+ fi
+ fi
+ CC=$ac_cv_prog_CC
+ if test -n "$CC"; then
+-  echo "$as_me:1210: result: $CC" >&5
++  echo "$as_me:$LINENO: result: $CC" >&5
+ echo "${ECHO_T}$CC" >&6
+ else
+-  echo "$as_me:1213: result: no" >&5
++  echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+@@ -1219,7 +1493,7 @@
+   ac_ct_CC=$CC
+   # Extract the first word of "gcc", so it can be a program name with args.
+ set dummy gcc; ac_word=$2
+-echo "$as_me:1222: checking for $ac_word" >&5
++echo "$as_me:$LINENO: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -1227,25 +1501,28 @@
+   if test -n "$ac_ct_CC"; then
+   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
+ else
+-  ac_save_IFS=$IFS; IFS=$ac_path_separator
+-ac_dummy="$PATH"
+-for ac_dir in $ac_dummy; do
+-  IFS=$ac_save_IFS
+-  test -z "$ac_dir" && ac_dir=.
+-  $as_executable_p "$ac_dir/$ac_word" || continue
+-ac_cv_prog_ac_ct_CC="gcc"
+-echo "$as_me:1237: found $ac_dir/$ac_word" >&5
+-break
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_ac_ct_CC="gcc"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
+ done
+ 
+ fi
+ fi
+ ac_ct_CC=$ac_cv_prog_ac_ct_CC
+ if test -n "$ac_ct_CC"; then
+-  echo "$as_me:1245: result: $ac_ct_CC" >&5
++  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
+ echo "${ECHO_T}$ac_ct_CC" >&6
+ else
+-  echo "$as_me:1248: result: no" >&5
++  echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+@@ -1258,7 +1535,7 @@
+   if test -n "$ac_tool_prefix"; then
+   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
+ set dummy ${ac_tool_prefix}cc; ac_word=$2
+-echo "$as_me:1261: checking for $ac_word" >&5
++echo "$as_me:$LINENO: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_CC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -1266,25 +1543,28 @@
+   if test -n "$CC"; then
+   ac_cv_prog_CC="$CC" # Let the user override the test.
+ else
+-  ac_save_IFS=$IFS; IFS=$ac_path_separator
+-ac_dummy="$PATH"
+-for ac_dir in $ac_dummy; do
+-  IFS=$ac_save_IFS
+-  test -z "$ac_dir" && ac_dir=.
+-  $as_executable_p "$ac_dir/$ac_word" || continue
+-ac_cv_prog_CC="${ac_tool_prefix}cc"
+-echo "$as_me:1276: found $ac_dir/$ac_word" >&5
+-break
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_CC="${ac_tool_prefix}cc"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
+ done
+ 
+ fi
+ fi
+ CC=$ac_cv_prog_CC
+ if test -n "$CC"; then
+-  echo "$as_me:1284: result: $CC" >&5
++  echo "$as_me:$LINENO: result: $CC" >&5
+ echo "${ECHO_T}$CC" >&6
+ else
+-  echo "$as_me:1287: result: no" >&5
++  echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+@@ -1293,7 +1573,7 @@
+   ac_ct_CC=$CC
+   # Extract the first word of "cc", so it can be a program name with args.
+ set dummy cc; ac_word=$2
+-echo "$as_me:1296: checking for $ac_word" >&5
++echo "$as_me:$LINENO: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -1301,25 +1581,28 @@
+   if test -n "$ac_ct_CC"; then
+   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
+ else
+-  ac_save_IFS=$IFS; IFS=$ac_path_separator
+-ac_dummy="$PATH"
+-for ac_dir in $ac_dummy; do
+-  IFS=$ac_save_IFS
+-  test -z "$ac_dir" && ac_dir=.
+-  $as_executable_p "$ac_dir/$ac_word" || continue
+-ac_cv_prog_ac_ct_CC="cc"
+-echo "$as_me:1311: found $ac_dir/$ac_word" >&5
+-break
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_ac_ct_CC="cc"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
+ done
+ 
+ fi
+ fi
+ ac_ct_CC=$ac_cv_prog_ac_ct_CC
+ if test -n "$ac_ct_CC"; then
+-  echo "$as_me:1319: result: $ac_ct_CC" >&5
++  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
+ echo "${ECHO_T}$ac_ct_CC" >&6
+ else
+-  echo "$as_me:1322: result: no" >&5
++  echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+@@ -1332,7 +1615,7 @@
+ 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 "$as_me:1335: checking for $ac_word" >&5
++echo "$as_me:$LINENO: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_CC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -1341,19 +1624,22 @@
+   ac_cv_prog_CC="$CC" # Let the user override the test.
+ else
+   ac_prog_rejected=no
+-  ac_save_IFS=$IFS; IFS=$ac_path_separator
+-ac_dummy="$PATH"
+-for ac_dir in $ac_dummy; do
+-  IFS=$ac_save_IFS
+-  test -z "$ac_dir" && ac_dir=.
+-  $as_executable_p "$ac_dir/$ac_word" || continue
+-if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
+-  ac_prog_rejected=yes
+-  continue
+-fi
+-ac_cv_prog_CC="cc"
+-echo "$as_me:1355: found $ac_dir/$ac_word" >&5
+-break
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
++       ac_prog_rejected=yes
++       continue
++     fi
++    ac_cv_prog_CC="cc"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
+ done
+ 
+ if test $ac_prog_rejected = yes; then
+@@ -1365,7 +1651,7 @@
+     # 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" ${1+"$@"}
++    set dummy "$as_dir/$ac_word" ${1+"$@"}
+     shift
+     ac_cv_prog_CC="$@"
+   fi
+@@ -1374,10 +1660,10 @@
+ fi
+ CC=$ac_cv_prog_CC
+ if test -n "$CC"; then
+-  echo "$as_me:1377: result: $CC" >&5
++  echo "$as_me:$LINENO: result: $CC" >&5
+ echo "${ECHO_T}$CC" >&6
+ else
+-  echo "$as_me:1380: result: no" >&5
++  echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+@@ -1388,7 +1674,7 @@
+   do
+     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
+ set dummy $ac_tool_prefix$ac_prog; ac_word=$2
+-echo "$as_me:1391: checking for $ac_word" >&5
++echo "$as_me:$LINENO: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_CC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -1396,25 +1682,28 @@
+   if test -n "$CC"; then
+   ac_cv_prog_CC="$CC" # Let the user override the test.
+ else
+-  ac_save_IFS=$IFS; IFS=$ac_path_separator
+-ac_dummy="$PATH"
+-for ac_dir in $ac_dummy; do
+-  IFS=$ac_save_IFS
+-  test -z "$ac_dir" && ac_dir=.
+-  $as_executable_p "$ac_dir/$ac_word" || continue
+-ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
+-echo "$as_me:1406: found $ac_dir/$ac_word" >&5
+-break
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
+ done
+ 
+ fi
+ fi
+ CC=$ac_cv_prog_CC
+ if test -n "$CC"; then
+-  echo "$as_me:1414: result: $CC" >&5
++  echo "$as_me:$LINENO: result: $CC" >&5
+ echo "${ECHO_T}$CC" >&6
+ else
+-  echo "$as_me:1417: result: no" >&5
++  echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+@@ -1427,7 +1716,7 @@
+ do
+   # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+-echo "$as_me:1430: checking for $ac_word" >&5
++echo "$as_me:$LINENO: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -1435,25 +1724,28 @@
+   if test -n "$ac_ct_CC"; then
+   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
+ else
+-  ac_save_IFS=$IFS; IFS=$ac_path_separator
+-ac_dummy="$PATH"
+-for ac_dir in $ac_dummy; do
+-  IFS=$ac_save_IFS
+-  test -z "$ac_dir" && ac_dir=.
+-  $as_executable_p "$ac_dir/$ac_word" || continue
+-ac_cv_prog_ac_ct_CC="$ac_prog"
+-echo "$as_me:1445: found $ac_dir/$ac_word" >&5
+-break
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_ac_ct_CC="$ac_prog"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
+ done
+ 
+ fi
+ fi
+ ac_ct_CC=$ac_cv_prog_ac_ct_CC
+ if test -n "$ac_ct_CC"; then
+-  echo "$as_me:1453: result: $ac_ct_CC" >&5
++  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
+ echo "${ECHO_T}$ac_ct_CC" >&6
+ else
+-  echo "$as_me:1456: result: no" >&5
++  echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+@@ -1465,34 +1757,41 @@
+ 
+ fi
+ 
+-test -z "$CC" && { { echo "$as_me:1468: error: no acceptable cc found in \$PATH" >&5
+-echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
++
++test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
++echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
+    { (exit 1); exit 1; }; }
+ 
+ # Provide some information about the compiler.
+-echo "$as_me:1473:" \
++echo "$as_me:$LINENO:" \
+      "checking for C compiler version" >&5
+ ac_compiler=`set X $ac_compile; echo $2`
+-{ (eval echo "$as_me:1476: \"$ac_compiler --version </dev/null >&5\"") >&5
++{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
+   (eval $ac_compiler --version </dev/null >&5) 2>&5
+   ac_status=$?
+-  echo "$as_me:1479: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }
+-{ (eval echo "$as_me:1481: \"$ac_compiler -v </dev/null >&5\"") >&5
++{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
+   (eval $ac_compiler -v </dev/null >&5) 2>&5
+   ac_status=$?
+-  echo "$as_me:1484: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }
+-{ (eval echo "$as_me:1486: \"$ac_compiler -V </dev/null >&5\"") >&5
++{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
+   (eval $ac_compiler -V </dev/null >&5) 2>&5
+   ac_status=$?
+-  echo "$as_me:1489: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 1493 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -1506,22 +1805,26 @@
+ # Try to create an executable without -o first, disregard a.out.
+ # It will help us diagnose broken compilers, and finding out an intuition
+ # of exeext.
+-echo "$as_me:1509: checking for C compiler default output" >&5
++echo "$as_me:$LINENO: checking for C compiler default output" >&5
+ echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
+ ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
+-if { (eval echo "$as_me:1512: \"$ac_link_default\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
+   (eval $ac_link_default) 2>&5
+   ac_status=$?
+-  echo "$as_me:1515: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; then
+   # Find the output, starting from the most likely.  This scheme is
+ # not robust to junk in `.', hence go to wildcards (a.*) only as a last
+ # resort.
+-for ac_file in `ls a.exe conftest.exe 2>/dev/null;
++
++# Be careful to initialize this variable, since it used to be cached.
++# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
++ac_cv_exeext=
++for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
+                 ls a.out conftest 2>/dev/null;
+                 ls a.* conftest.* 2>/dev/null`; do
+   case $ac_file in
+-    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
++    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;;
+     a.out ) # We found the default executable, but exeext='' is most
+             # certainly right.
+             break;;
+@@ -1535,34 +1838,34 @@
+ else
+   echo "$as_me: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+-{ { echo "$as_me:1538: error: C compiler cannot create executables" >&5
++{ { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
+ echo "$as_me: error: C compiler cannot create executables" >&2;}
+    { (exit 77); exit 77; }; }
+ fi
+ 
+ ac_exeext=$ac_cv_exeext
+-echo "$as_me:1544: result: $ac_file" >&5
++echo "$as_me:$LINENO: result: $ac_file" >&5
+ echo "${ECHO_T}$ac_file" >&6
+ 
+ # Check the compiler produces executables we can run.  If not, either
+ # the compiler is broken, or we cross compile.
+-echo "$as_me:1549: checking whether the C compiler works" >&5
++echo "$as_me:$LINENO: checking whether the C compiler works" >&5
+ echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
+ # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
+ # If not cross compiling, check that we can run a simple program.
+ if test "$cross_compiling" != yes; then
+   if { ac_try='./$ac_file'
+-  { (eval echo "$as_me:1555: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:1558: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+     cross_compiling=no
+   else
+     if test "$cross_compiling" = maybe; then
+ 	cross_compiling=yes
+     else
+-	{ { echo "$as_me:1565: error: cannot run C compiled programs.
++	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
+ If you meant to cross compile, use \`--host'." >&5
+ echo "$as_me: error: cannot run C compiled programs.
+ If you meant to cross compile, use \`--host'." >&2;}
+@@ -1570,24 +1873,24 @@
+     fi
+   fi
+ fi
+-echo "$as_me:1573: result: yes" >&5
++echo "$as_me:$LINENO: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 
+ rm -f a.out a.exe conftest$ac_cv_exeext
+ ac_clean_files=$ac_clean_files_save
+ # Check the compiler produces executables we can run.  If not, either
+ # the compiler is broken, or we cross compile.
+-echo "$as_me:1580: checking whether we are cross compiling" >&5
++echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
+ echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
+-echo "$as_me:1582: result: $cross_compiling" >&5
++echo "$as_me:$LINENO: result: $cross_compiling" >&5
+ echo "${ECHO_T}$cross_compiling" >&6
+ 
+-echo "$as_me:1585: checking for executable suffix" >&5
+-echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
+-if { (eval echo "$as_me:1587: \"$ac_link\"") >&5
++echo "$as_me:$LINENO: checking for suffix of executables" >&5
++echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:1590: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; then
+   # If both `conftest.exe' and `conftest' are `present' (well, observable)
+ # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
+@@ -1603,27 +1906,33 @@
+   esac
+ done
+ else
+-  { { echo "$as_me:1606: error: cannot compute EXEEXT: cannot compile and link" >&5
+-echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
++  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
++echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
+    { (exit 1); exit 1; }; }
+ fi
+ 
+ rm -f conftest$ac_cv_exeext
+-echo "$as_me:1612: result: $ac_cv_exeext" >&5
++echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
+ echo "${ECHO_T}$ac_cv_exeext" >&6
+ 
+ rm -f conftest.$ac_ext
+ EXEEXT=$ac_cv_exeext
+ ac_exeext=$EXEEXT
+-echo "$as_me:1618: checking for object suffix" >&5
+-echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
++echo "$as_me:$LINENO: checking for suffix of object files" >&5
++echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
+ if test "${ac_cv_objext+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 1624 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -1633,10 +1942,10 @@
+ }
+ _ACEOF
+ rm -f conftest.o conftest.obj
+-if { (eval echo "$as_me:1636: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:1639: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; then
+   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
+   case $ac_file in
+@@ -1648,26 +1957,32 @@
+ else
+   echo "$as_me: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+-{ { echo "$as_me:1651: error: cannot compute OBJEXT: cannot compile" >&5
+-echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
++{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
++echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
+    { (exit 1); exit 1; }; }
+ fi
+ 
+ rm -f conftest.$ac_cv_objext conftest.$ac_ext
+ fi
+-echo "$as_me:1658: result: $ac_cv_objext" >&5
++echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
+ echo "${ECHO_T}$ac_cv_objext" >&6
+ OBJEXT=$ac_cv_objext
+ ac_objext=$OBJEXT
+-echo "$as_me:1662: checking whether we are using the GNU C compiler" >&5
++echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
+ echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
+ if test "${ac_cv_c_compiler_gnu+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 1668 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -1680,16 +1995,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:1683: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:1686: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:1689: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:1692: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_compiler_gnu=yes
+ else
+@@ -1701,21 +2016,27 @@
+ ac_cv_c_compiler_gnu=$ac_compiler_gnu
+ 
+ fi
+-echo "$as_me:1704: result: $ac_cv_c_compiler_gnu" >&5
++echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
+ echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
+ GCC=`test $ac_compiler_gnu = yes && echo yes`
+ ac_test_CFLAGS=${CFLAGS+set}
+ ac_save_CFLAGS=$CFLAGS
+ CFLAGS="-g"
+-echo "$as_me:1710: checking whether $CC accepts -g" >&5
++echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
+ echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
+ if test "${ac_cv_prog_cc_g+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 1716 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -1725,16 +2046,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:1728: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:1731: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:1734: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:1737: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_prog_cc_g=yes
+ else
+@@ -1744,7 +2065,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:1747: result: $ac_cv_prog_cc_g" >&5
++echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
+ echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
+ if test "$ac_test_CFLAGS" = set; then
+   CFLAGS=$ac_save_CFLAGS
+@@ -1771,16 +2092,16 @@
+ #endif
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:1774: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:1777: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:1780: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:1783: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   for ac_declaration in \
+    ''\
+@@ -1792,10 +2113,16 @@
+    'void exit (int);'
+ do
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 1795 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ $ac_declaration
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -1805,16 +2132,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:1808: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:1811: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:1814: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:1817: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   :
+ else
+@@ -1824,9 +2151,15 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 1827 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ $ac_declaration
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -1836,16 +2169,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:1839: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:1842: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:1845: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:1848: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   break
+ else
+@@ -1877,7 +2210,7 @@
+ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ ac_compiler_gnu=$ac_cv_c_compiler_gnu
+-echo "$as_me:1880: checking how to run the C preprocessor" >&5
++echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
+ echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
+ # On Suns, sometimes $CPP names a directory.
+ if test -n "$CPP" && test -d "$CPP"; then
+@@ -1898,18 +2231,18 @@
+   # On the NeXT, cc -E runs the code through the compiler's parser,
+   # not just through cpp. "Syntax error" is here to catch this case.
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 1901 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <assert.h>
+                      Syntax error
+ _ACEOF
+-if { (eval echo "$as_me:1906: \"$ac_cpp conftest.$ac_ext\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
+   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+   ac_status=$?
+   egrep -v '^ *\+' conftest.er1 >conftest.err
+   rm -f conftest.er1
+   cat conftest.err >&5
+-  echo "$as_me:1912: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } >/dev/null; then
+   if test -s conftest.err; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+@@ -1932,17 +2265,17 @@
+   # OK, works on sane cases.  Now check whether non-existent headers
+   # can be detected and how.
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 1935 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <ac_nonexistent.h>
+ _ACEOF
+-if { (eval echo "$as_me:1939: \"$ac_cpp conftest.$ac_ext\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
+   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+   ac_status=$?
+   egrep -v '^ *\+' conftest.er1 >conftest.err
+   rm -f conftest.er1
+   cat conftest.err >&5
+-  echo "$as_me:1945: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } >/dev/null; then
+   if test -s conftest.err; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+@@ -1979,7 +2312,7 @@
+ else
+   ac_cv_prog_CPP=$CPP
+ fi
+-echo "$as_me:1982: result: $CPP" >&5
++echo "$as_me:$LINENO: result: $CPP" >&5
+ echo "${ECHO_T}$CPP" >&6
+ ac_preproc_ok=false
+ for ac_c_preproc_warn_flag in '' yes
+@@ -1989,18 +2322,18 @@
+   # On the NeXT, cc -E runs the code through the compiler's parser,
+   # not just through cpp. "Syntax error" is here to catch this case.
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 1992 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <assert.h>
+                      Syntax error
+ _ACEOF
+-if { (eval echo "$as_me:1997: \"$ac_cpp conftest.$ac_ext\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
+   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+   ac_status=$?
+   egrep -v '^ *\+' conftest.er1 >conftest.err
+   rm -f conftest.er1
+   cat conftest.err >&5
+-  echo "$as_me:2003: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } >/dev/null; then
+   if test -s conftest.err; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+@@ -2023,17 +2356,17 @@
+   # OK, works on sane cases.  Now check whether non-existent headers
+   # can be detected and how.
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 2026 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <ac_nonexistent.h>
+ _ACEOF
+-if { (eval echo "$as_me:2030: \"$ac_cpp conftest.$ac_ext\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
+   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+   ac_status=$?
+   egrep -v '^ *\+' conftest.er1 >conftest.err
+   rm -f conftest.er1
+   cat conftest.err >&5
+-  echo "$as_me:2036: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } >/dev/null; then
+   if test -s conftest.err; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+@@ -2061,7 +2394,7 @@
+ if $ac_preproc_ok; then
+   :
+ else
+-  { { echo "$as_me:2064: error: C preprocessor \"$CPP\" fails sanity check" >&5
++  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
+ echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
+    { (exit 1); exit 1; }; }
+ fi
+@@ -2072,7 +2405,8 @@
+ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ ac_compiler_gnu=$ac_cv_c_compiler_gnu
+ 
+-echo "$as_me:2075: checking for $CC option to accept ANSI C" >&5
++
++echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
+ echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
+ if test "${ac_cv_prog_cc_stdc+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -2080,7 +2414,7 @@
+   ac_cv_prog_cc_stdc=no
+ ac_save_CC=$CC
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 2083 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <stdarg.h>
+ #include <stdio.h>
+@@ -2110,6 +2444,12 @@
+ int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
+ int argc;
+ char **argv;
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -2129,16 +2469,16 @@
+ do
+   CC="$ac_save_CC $ac_arg"
+   rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:2132: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:2135: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:2138: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:2141: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_prog_cc_stdc=$ac_arg
+ break
+@@ -2155,14 +2495,15 @@
+ 
+ case "x$ac_cv_prog_cc_stdc" in
+   x|xno)
+-    echo "$as_me:2158: result: none needed" >&5
++    echo "$as_me:$LINENO: result: none needed" >&5
+ echo "${ECHO_T}none needed" >&6 ;;
+   *)
+-    echo "$as_me:2161: result: $ac_cv_prog_cc_stdc" >&5
++    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
+ echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
+     CC="$CC $ac_cv_prog_cc_stdc" ;;
+ esac
+ 
++
+ ac_aux_dir=
+ for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
+   if test -f $ac_dir/install-sh; then
+@@ -2180,7 +2521,7 @@
+   fi
+ done
+ if test -z "$ac_aux_dir"; then
+-  { { echo "$as_me:2183: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
++  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
+ echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
+    { (exit 1); exit 1; }; }
+ fi
+@@ -2200,45 +2541,50 @@
+ # 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 "$as_me:2203: checking for a BSD compatible install" >&5
+-echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
++echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
++echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
+ if test -z "$INSTALL"; then
+ if test "${ac_cv_path_install+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-    ac_save_IFS=$IFS; IFS=$ac_path_separator
+-  for ac_dir in $PATH; do
+-    IFS=$ac_save_IFS
+-    # Account for people who put trailing slashes in PATH elements.
+-    case $ac_dir/ in
+-    / | ./ | .// | /cC/* \
+-    | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
+-    | /usr/ucb/* ) ;;
+-    *)
+-      # OSF1 and SCO ODT 3.0 have their own names for install.
+-      # Don't use installbsd from OSF since it installs stuff as root
+-      # by default.
+-      for ac_prog in ginstall scoinst install; do
+-        if $as_executable_p "$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.
+-	    :
+-	  elif test $ac_prog = install &&
+-	    grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
+-	    # program-specific install script used by HP pwplus--don't use.
+-	    :
+-	  else
+-	    ac_cv_path_install="$ac_dir/$ac_prog -c"
+-	    break 2
+-	  fi
+-	fi
++  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  # Account for people who put trailing slashes in PATH elements.
++case $as_dir/ in
++  ./ | .// | /cC/* | \
++  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
++  /usr/ucb/* ) ;;
++  *)
++    # OSF1 and SCO ODT 3.0 have their own names for install.
++    # Don't use installbsd from OSF since it installs stuff as root
++    # by default.
++    for ac_prog in ginstall scoinst install; do
++      for ac_exec_ext in '' $ac_executable_extensions; do
++        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
++          if test $ac_prog = install &&
++            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
++            # AIX install.  It has an incompatible calling convention.
++            :
++          elif test $ac_prog = install &&
++            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
++            # program-specific install script used by HP pwplus--don't use.
++            :
++          else
++            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
++            break 3
++          fi
++        fi
+       done
+-      ;;
+-    esac
+-  done
+-
+-fi
++    done
++    ;;
++esac
++done
++
++
++fi
+   if test "${ac_cv_path_install+set}" = set; then
+     INSTALL=$ac_cv_path_install
+   else
+@@ -2249,7 +2595,7 @@
+     INSTALL=$ac_install_sh
+   fi
+ fi
+-echo "$as_me:2252: result: $INSTALL" >&5
++echo "$as_me:$LINENO: result: $INSTALL" >&5
+ echo "${ECHO_T}$INSTALL" >&6
+ 
+ # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
+@@ -2260,50 +2606,50 @@
+ 
+ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
+ 
+-echo "$as_me:2263: checking whether build environment is sane" >&5
++echo "$as_me:$LINENO: checking whether build environment is sane" >&5
+ echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
+ # Just in case
+ sleep 1
+-echo timestamp > conftestfile
++echo timestamp > conftest.file
+ # Do `set' in a subshell so we don't clobber the current shell's
+ # arguments.  Must try -L first in case configure is actually a
+ # symlink; some systems play weird games with the mod time of symlinks
+ # (eg FreeBSD returns the mod time of the symlink's containing
+ # directory).
+ if (
+-   set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
++   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
+    if test "$*" = "X"; then
+       # -L didn't work.
+-      set X `ls -t $srcdir/configure conftestfile`
++      set X `ls -t $srcdir/configure conftest.file`
+    fi
+-   if test "$*" != "X $srcdir/configure conftestfile" \
+-      && test "$*" != "X conftestfile $srcdir/configure"; then
++   rm -f conftest.file
++   if test "$*" != "X $srcdir/configure conftest.file" \
++      && test "$*" != "X conftest.file $srcdir/configure"; then
+ 
+       # If neither matched, then we have a broken ls.  This can happen
+       # if, for instance, CONFIG_SHELL is bash and it inherits a
+       # broken ls alias from the environment.  This has actually
+       # happened.  Such a system could not be considered "sane".
+-      { { echo "$as_me:2286: error: ls -t appears to fail.  Make sure there is not a broken
++      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
+ alias in your environment" >&5
+ echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
+ alias in your environment" >&2;}
+    { (exit 1); exit 1; }; }
+    fi
+ 
+-   test "$2" = conftestfile
++   test "$2" = conftest.file
+    )
+ then
+    # Ok.
+    :
+ else
+-   { { echo "$as_me:2299: error: newly created file is older than distributed files!
++   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
+ Check your system clock" >&5
+ echo "$as_me: error: newly created file is older than distributed files!
+ Check your system clock" >&2;}
+    { (exit 1); exit 1; }; }
+ fi
+-rm -f conftest*
+-echo "$as_me:2306: result: yes" >&5
++echo "$as_me:$LINENO: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ test "$program_prefix" != NONE &&
+   program_transform_name="s,^,$program_prefix,;$program_transform_name"
+@@ -2318,23 +2664,26 @@
+ program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
+ rm conftest.sed
+ 
+-test x"${MISSING+set}" = xset || \
+-  MISSING="\${SHELL} `CDPATH=:; cd $ac_aux_dir && pwd`/missing"
++
++# expand $ac_aux_dir to an absolute path
++am_aux_dir=`CDPATH=:; cd $ac_aux_dir && pwd`
++
++test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
+ # Use eval to expand $SHELL
+-if eval "$MISSING --run :"; then
++if eval "$MISSING --run true"; then
+   am_missing_run="$MISSING --run "
+ else
+   am_missing_run=
+   am_backtick='`'
+-  { echo "$as_me:2329: WARNING: ${am_backtick}missing' script is too old or missing" >&5
++  { echo "$as_me:$LINENO: WARNING: ${am_backtick}missing' script is too old or missing" >&5
+ echo "$as_me: WARNING: ${am_backtick}missing' script is too old or missing" >&2;}
+ fi
+ 
+-for ac_prog in mawk gawk nawk awk
++for ac_prog in gawk mawk nawk awk
+ do
+   # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+-echo "$as_me:2337: checking for $ac_word" >&5
++echo "$as_me:$LINENO: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_AWK+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -2342,41 +2691,44 @@
+   if test -n "$AWK"; then
+   ac_cv_prog_AWK="$AWK" # Let the user override the test.
+ else
+-  ac_save_IFS=$IFS; IFS=$ac_path_separator
+-ac_dummy="$PATH"
+-for ac_dir in $ac_dummy; do
+-  IFS=$ac_save_IFS
+-  test -z "$ac_dir" && ac_dir=.
+-  $as_executable_p "$ac_dir/$ac_word" || continue
+-ac_cv_prog_AWK="$ac_prog"
+-echo "$as_me:2352: found $ac_dir/$ac_word" >&5
+-break
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_AWK="$ac_prog"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
+ done
+ 
+ fi
+ fi
+ AWK=$ac_cv_prog_AWK
+ if test -n "$AWK"; then
+-  echo "$as_me:2360: result: $AWK" >&5
++  echo "$as_me:$LINENO: result: $AWK" >&5
+ echo "${ECHO_T}$AWK" >&6
+ else
+-  echo "$as_me:2363: result: no" >&5
++  echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+   test -n "$AWK" && break
+ done
+ 
+-echo "$as_me:2370: checking whether ${MAKE-make} sets \${MAKE}" >&5
++echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
+ echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
+ set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
+ if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.make <<\EOF
++  cat >conftest.make <<\_ACEOF
+ all:
+ 	@echo 'ac_maketemp="${MAKE}"'
+-EOF
++_ACEOF
+ # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
+ eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
+ if test -n "$ac_maketemp"; then
+@@ -2387,11 +2739,11 @@
+ rm -f conftest.make
+ fi
+ if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
+-  echo "$as_me:2390: result: yes" >&5
++  echo "$as_me:$LINENO: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+   SET_MAKE=
+ else
+-  echo "$as_me:2394: result: no" >&5
++  echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+   SET_MAKE="MAKE=${MAKE-make}"
+ fi
+@@ -2401,38 +2753,79 @@
+   enableval="$enable_dependency_tracking"
+ 
+ fi;
+-if test "x$enable_dependency_tracking" = xno; then
+-  AMDEP="#"
+-else
++if test "x$enable_dependency_tracking" != xno; then
+   am_depcomp="$ac_aux_dir/depcomp"
+-  if test ! -f "$am_depcomp"; then
+-    AMDEP="#"
+-  else
+-    AMDEP=
+-  fi
++  AMDEPBACKSLASH='\'
+ fi
+ 
+-if test -z "$AMDEP"; then
+-  AMDEPBACKSLASH='\'
++
++if test "x$enable_dependency_tracking" != xno; then
++  AMDEP_TRUE=
++  AMDEP_FALSE='#'
+ else
+-  AMDEPBACKSLASH=
++  AMDEP_TRUE='#'
++  AMDEP_FALSE=
+ fi
+ 
+-if test -d .deps || mkdir .deps 2> /dev/null || test -d .deps; then
++
++
++
++rm -f .deps 2>/dev/null
++mkdir .deps 2>/dev/null
++if test -d .deps; then
+   DEPDIR=.deps
+-  # We redirect because .deps might already exist and be populated.
+-  # In this situation we don't want to see an error.
+-  rmdir .deps > /dev/null 2>&1
+ else
++  # MS-DOS does not allow filenames that begin with a dot.
+   DEPDIR=_deps
+ fi
++rmdir .deps 2>/dev/null
++
++
++
++ac_config_commands="$ac_config_commands default-1"
++
++am_make=${MAKE-make}
++cat > confinc << 'END'
++doit:
++	@echo done
++END
++# If we don't find an include directive, just comment out the code.
++echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
++echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
++am__include='#'
++am__quote=
++_am_result=none
++# First try GNU make style include.
++echo "include confinc" > confmf
++# We grep out `Entering directory' and `Leaving directory'
++# messages which can occur if `w' ends up in MAKEFLAGS.
++# In particular we don't look at `^make:' because GNU make might
++# be invoked under some other name (usually "gmake"), in which
++# case it prints its new name instead of `make'.
++if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
++   am__include=include
++   am__quote=
++   _am_result=GNU
++fi
++# Now try BSD make style include.
++if test "$am__include" = "#"; then
++   echo '.include "confinc"' > confmf
++   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
++      am__include=.include
++      am__quote='"'
++      _am_result=BSD
++   fi
++fi
++
+ 
+-ac_config_commands="$ac_config_commands default-2"
++echo "$as_me:$LINENO: result: $_am_result" >&5
++echo "${ECHO_T}$_am_result" >&6
++rm -f confinc confmf
+ 
+ # test to see if srcdir already configured
+ if test "`CDPATH=:; cd $srcdir && pwd`" != "`pwd`" &&
+    test -f $srcdir/config.status; then
+-  { { echo "$as_me:2435: error: source directory already configured; run \"make distclean\" there first" >&5
++  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
+ echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
+    { (exit 1); exit 1; }; }
+ fi
+@@ -2441,53 +2834,86 @@
+ PACKAGE=heimdal
+ VERSION=0.4e
+ 
+-cat >>confdefs.h <<EOF
++cat >>confdefs.h <<_ACEOF
+ #define PACKAGE "$PACKAGE"
+-EOF
++_ACEOF
+ 
+-cat >>confdefs.h <<EOF
++
++cat >>confdefs.h <<_ACEOF
+ #define VERSION "$VERSION"
+-EOF
++_ACEOF
++
++
++# Autoconf 2.50 wants to disallow AM_ names.  We explicitly allow
++# the ones we care about.
++
++# Autoconf 2.50 always computes EXEEXT.  However we need to be
++# compatible with 2.13, for now.  So we always define EXEEXT, but we
++# don't compute it.
++
++# Similar for OBJEXT -- only we only use OBJEXT if the user actually
++# requests that it be used.  This is a bit dumb.
++: ${OBJEXT=o}
++
+ 
+ # Some tools Automake needs.
+ 
+ ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal"}
+ 
++
+ AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
+ 
++
+ AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake"}
+ 
++
+ AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
+ 
++
+ MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
+ 
++
+ AMTAR=${AMTAR-"${am_missing_run}tar"}
+ 
+-if test -z "$install_sh"; then
+-   install_sh="$ac_aux_dir/install-sh"
+-   test -f "$install_sh" || install_sh="$ac_aux_dir/install.sh"
+-   test -f "$install_sh" || install_sh="${am_missing_run}${ac_auxdir}/install-sh"
+-         install_sh="`echo $install_sh | sed -e 's/\${SHELL}//'`"
+-fi
++install_sh=${install_sh-"$am_aux_dir/install-sh"}
++
++INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
+ 
+ # We need awk for the "check" target.  The system "awk" is bad on
+ # some platforms.
+ 
+-depcc="$CC"
+-depcpp="$CPP"
+-echo "$as_me:2478: checking dependency style of $depcc" >&5
++depcc="$CC"   am_compiler_list=
++
++echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
+ echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
+ if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-
+-if test -z "$AMDEP"; then
+-  echo '#include "conftest.h"' > conftest.c
+-  echo 'int i;' > conftest.h
++  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
++  # We make a subdir and do the tests there.  Otherwise we can end up
++  # making bogus files that we don't know about and never remove.  For
++  # instance it was reported that on HP-UX the gcc test will end up
++  # making a dummy file named `D' -- because `-MD' means `put the output
++  # in D'.
++  mkdir conftest.dir
++  # Copy depcomp to subdir because otherwise we won't find it if we're
++  # using a relative directory.
++  cp "$am_depcomp" conftest.dir
++  cd conftest.dir
+ 
+   am_cv_CC_dependencies_compiler_type=none
+-  for depmode in `sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < "$am_depcomp"`; do
+-    case "$depmode" in
++  if test "$am_compiler_list" = ""; then
++     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
++  fi
++  for depmode in $am_compiler_list; do
++    # We need to recreate these files for each test, as the compiler may
++    # overwrite some of them when testing with obscure command lines.
++    # This happens at least with the AIX C compiler.
++    echo '#include "conftest.h"' > conftest.c
++    echo 'int i;' > conftest.h
++    echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
++
++    case $depmode in
+     nosideeffect)
+       # after this tag, mechanisms are not by side-effect, so they'll
+       # only be used when explicitly requested
+@@ -2502,34 +2928,39 @@
+     # We check with `-c' and `-o' for the sake of the "dashmstdout"
+     # mode.  It turns out that the SunPro C++ compiler does not properly
+     # handle `-M -o', and we need to detect this.
+-    if depmode="$depmode" \
++    if depmode=$depmode \
+        source=conftest.c object=conftest.o \
+        depfile=conftest.Po tmpdepfile=conftest.TPo \
+-       $SHELL $am_depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
+-       grep conftest.h conftest.Po > /dev/null 2>&1; then
+-      am_cv_CC_dependencies_compiler_type="$depmode"
++       $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
++       grep conftest.h conftest.Po > /dev/null 2>&1 &&
++       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
++      am_cv_CC_dependencies_compiler_type=$depmode
+       break
+     fi
+   done
+ 
+-  rm -f conftest.*
++  cd ..
++  rm -rf conftest.dir
+ else
+   am_cv_CC_dependencies_compiler_type=none
+ fi
+ 
+ fi
+-
+-echo "$as_me:2522: result: $am_cv_CC_dependencies_compiler_type" >&5
++echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
+ echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
+ CCDEPMODE="depmode=$am_cv_CC_dependencies_compiler_type"
+ 
++
++
++
++
+ # Make sure we can run config.sub.
+ $ac_config_sub sun4 >/dev/null 2>&1 ||
+-  { { echo "$as_me:2528: error: cannot run $ac_config_sub" >&5
++  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
+ echo "$as_me: error: cannot run $ac_config_sub" >&2;}
+    { (exit 1); exit 1; }; }
+ 
+-echo "$as_me:2532: checking build system type" >&5
++echo "$as_me:$LINENO: checking build system type" >&5
+ echo $ECHO_N "checking build system type... $ECHO_C" >&6
+ if test "${ac_cv_build+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -2538,23 +2969,24 @@
+ test -z "$ac_cv_build_alias" &&
+   ac_cv_build_alias=`$ac_config_guess`
+ test -z "$ac_cv_build_alias" &&
+-  { { echo "$as_me:2541: error: cannot guess build type; you must specify one" >&5
++  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
+ echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
+    { (exit 1); exit 1; }; }
+ ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
+-  { { echo "$as_me:2545: error: $ac_config_sub $ac_cv_build_alias failed." >&5
+-echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;}
++  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
++echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
+    { (exit 1); exit 1; }; }
+ 
+ fi
+-echo "$as_me:2550: result: $ac_cv_build" >&5
++echo "$as_me:$LINENO: result: $ac_cv_build" >&5
+ echo "${ECHO_T}$ac_cv_build" >&6
+ build=$ac_cv_build
+ build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
+ build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
+ build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
+ 
+-echo "$as_me:2557: checking host system type" >&5
++
++echo "$as_me:$LINENO: checking host system type" >&5
+ echo $ECHO_N "checking host system type... $ECHO_C" >&6
+ if test "${ac_cv_host+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -2563,20 +2995,22 @@
+ test -z "$ac_cv_host_alias" &&
+   ac_cv_host_alias=$ac_cv_build_alias
+ ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
+-  { { echo "$as_me:2566: error: $ac_config_sub $ac_cv_host_alias failed" >&5
++  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
+ echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
+    { (exit 1); exit 1; }; }
+ 
+ fi
+-echo "$as_me:2571: result: $ac_cv_host" >&5
++echo "$as_me:$LINENO: result: $ac_cv_host" >&5
+ echo "${ECHO_T}$ac_cv_host" >&6
+ host=$ac_cv_host
+ host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
+ host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
+ host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
+ 
++
+ CANONICAL_HOST=$host
+ 
++
+ sunos=no
+ case "$host" in
+ *-*-sunos4*)
+@@ -2594,9 +3028,9 @@
+ esac
+ if test "$sunos" != no; then
+ 
+-cat >>confdefs.h <<EOF
++cat >>confdefs.h <<_ACEOF
+ #define SunOS $sunos
+-EOF
++_ACEOF
+ 
+ fi
+ 
+@@ -2612,11 +3046,14 @@
+ 
+ #test -z "$CFLAGS" && CFLAGS="-g"
+ 
++
++
++
+ for ac_prog in 'bison -y' byacc
+ do
+   # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+-echo "$as_me:2619: checking for $ac_word" >&5
++echo "$as_me:$LINENO: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_YACC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -2624,25 +3061,28 @@
+   if test -n "$YACC"; then
+   ac_cv_prog_YACC="$YACC" # Let the user override the test.
+ else
+-  ac_save_IFS=$IFS; IFS=$ac_path_separator
+-ac_dummy="$PATH"
+-for ac_dir in $ac_dummy; do
+-  IFS=$ac_save_IFS
+-  test -z "$ac_dir" && ac_dir=.
+-  $as_executable_p "$ac_dir/$ac_word" || continue
+-ac_cv_prog_YACC="$ac_prog"
+-echo "$as_me:2634: found $ac_dir/$ac_word" >&5
+-break
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_YACC="$ac_prog"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
+ done
+ 
+ fi
+ fi
+ YACC=$ac_cv_prog_YACC
+ if test -n "$YACC"; then
+-  echo "$as_me:2642: result: $YACC" >&5
++  echo "$as_me:$LINENO: result: $YACC" >&5
+ echo "${ECHO_T}$YACC" >&6
+ else
+-  echo "$as_me:2645: result: no" >&5
++  echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+@@ -2650,11 +3090,12 @@
+ done
+ test -n "$YACC" || YACC="yacc"
+ 
++
+ for ac_prog in flex lex
+ do
+   # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+-echo "$as_me:2657: checking for $ac_word" >&5
++echo "$as_me:$LINENO: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_LEX+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -2662,25 +3103,28 @@
+   if test -n "$LEX"; then
+   ac_cv_prog_LEX="$LEX" # Let the user override the test.
+ else
+-  ac_save_IFS=$IFS; IFS=$ac_path_separator
+-ac_dummy="$PATH"
+-for ac_dir in $ac_dummy; do
+-  IFS=$ac_save_IFS
+-  test -z "$ac_dir" && ac_dir=.
+-  $as_executable_p "$ac_dir/$ac_word" || continue
+-ac_cv_prog_LEX="$ac_prog"
+-echo "$as_me:2672: found $ac_dir/$ac_word" >&5
+-break
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_LEX="$ac_prog"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
+ done
+ 
+ fi
+ fi
+ LEX=$ac_cv_prog_LEX
+ if test -n "$LEX"; then
+-  echo "$as_me:2680: result: $LEX" >&5
++  echo "$as_me:$LINENO: result: $LEX" >&5
+ echo "${ECHO_T}$LEX" >&6
+ else
+-  echo "$as_me:2683: result: no" >&5
++  echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+@@ -2692,7 +3136,7 @@
+ do
+   # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+-echo "$as_me:2695: checking for $ac_word" >&5
++echo "$as_me:$LINENO: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_LEX+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -2700,25 +3144,28 @@
+   if test -n "$LEX"; then
+   ac_cv_prog_LEX="$LEX" # Let the user override the test.
+ else
+-  ac_save_IFS=$IFS; IFS=$ac_path_separator
+-ac_dummy="$PATH"
+-for ac_dir in $ac_dummy; do
+-  IFS=$ac_save_IFS
+-  test -z "$ac_dir" && ac_dir=.
+-  $as_executable_p "$ac_dir/$ac_word" || continue
+-ac_cv_prog_LEX="$ac_prog"
+-echo "$as_me:2710: found $ac_dir/$ac_word" >&5
+-break
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_LEX="$ac_prog"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
+ done
+ 
+ fi
+ fi
+ LEX=$ac_cv_prog_LEX
+ if test -n "$LEX"; then
+-  echo "$as_me:2718: result: $LEX" >&5
++  echo "$as_me:$LINENO: result: $LEX" >&5
+ echo "${ECHO_T}$LEX" >&6
+ else
+-  echo "$as_me:2721: result: no" >&5
++  echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+@@ -2728,7 +3175,7 @@
+ 
+ if test -z "$LEXLIB"
+ then
+-  echo "$as_me:2731: checking for yywrap in -lfl" >&5
++  echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
+ echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
+ if test "${ac_cv_lib_fl_yywrap+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -2736,7 +3183,7 @@
+   ac_check_lib_save_LIBS=$LIBS
+ LIBS="-lfl  $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 2739 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -2746,6 +3193,12 @@
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+ char yywrap ();
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -2755,16 +3208,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:2758: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:2761: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:2764: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:2767: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_lib_fl_yywrap=yes
+ else
+@@ -2775,12 +3228,12 @@
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "$as_me:2778: result: $ac_cv_lib_fl_yywrap" >&5
++echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
+ echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
+ if test $ac_cv_lib_fl_yywrap = yes; then
+   LEXLIB="-lfl"
+ else
+-  echo "$as_me:2783: checking for yywrap in -ll" >&5
++  echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
+ echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
+ if test "${ac_cv_lib_l_yywrap+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -2788,7 +3241,7 @@
+   ac_check_lib_save_LIBS=$LIBS
+ LIBS="-ll  $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 2791 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -2798,6 +3251,12 @@
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+ char yywrap ();
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -2807,16 +3266,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:2810: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:2813: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:2816: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:2819: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_lib_l_yywrap=yes
+ else
+@@ -2827,7 +3286,7 @@
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "$as_me:2830: result: $ac_cv_lib_l_yywrap" >&5
++echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
+ echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
+ if test $ac_cv_lib_l_yywrap = yes; then
+   LEXLIB="-ll"
+@@ -2838,30 +3297,38 @@
+ fi
+ 
+ if test "x$LEX" != "x:"; then
+-  echo "$as_me:2841: checking lex output file root" >&5
++  echo "$as_me:$LINENO: checking lex output file root" >&5
+ echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
+ if test "${ac_cv_prog_lex_root+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   # The minimal lex program is just a single line: %%.  But some broken lexes
+ # (Solaris, I think it was) want two %% lines, so accommodate them.
+-echo '%%
+-%%' | $LEX
++cat >conftest.l <<_ACEOF
++%%
++%%
++_ACEOF
++{ (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
++  (eval $LEX conftest.l) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }
+ if test -f lex.yy.c; then
+   ac_cv_prog_lex_root=lex.yy
+ elif test -f lexyy.c; then
+   ac_cv_prog_lex_root=lexyy
+ else
+-  { { echo "$as_me:2855: error: cannot find output from $LEX; giving up" >&5
++  { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
+ echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
+    { (exit 1); exit 1; }; }
+ fi
+ fi
+-echo "$as_me:2860: result: $ac_cv_prog_lex_root" >&5
++echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
+ echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
++rm -f conftest.l
+ LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
+ 
+-echo "$as_me:2864: checking whether yytext is a pointer" >&5
++echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
+ echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
+ if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -2877,16 +3344,16 @@
+ `cat $LEX_OUTPUT_ROOT.c`
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:2880: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:2883: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:2886: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:2889: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_prog_lex_yytext_pointer=yes
+ else
+@@ -2898,13 +3365,13 @@
+ rm -f "${LEX_OUTPUT_ROOT}.c"
+ 
+ fi
+-echo "$as_me:2901: result: $ac_cv_prog_lex_yytext_pointer" >&5
++echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
+ echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
+ if test $ac_cv_prog_lex_yytext_pointer = yes; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define YYTEXT_POINTER 1
+-EOF
++_ACEOF
+ 
+ fi
+ 
+@@ -2913,7 +3380,7 @@
+ if test -n "$ac_tool_prefix"; then
+   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
+ set dummy ${ac_tool_prefix}ranlib; ac_word=$2
+-echo "$as_me:2916: checking for $ac_word" >&5
++echo "$as_me:$LINENO: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_RANLIB+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -2921,25 +3388,28 @@
+   if test -n "$RANLIB"; then
+   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
+ else
+-  ac_save_IFS=$IFS; IFS=$ac_path_separator
+-ac_dummy="$PATH"
+-for ac_dir in $ac_dummy; do
+-  IFS=$ac_save_IFS
+-  test -z "$ac_dir" && ac_dir=.
+-  $as_executable_p "$ac_dir/$ac_word" || continue
+-ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
+-echo "$as_me:2931: found $ac_dir/$ac_word" >&5
+-break
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
+ done
+ 
+ fi
+ fi
+ RANLIB=$ac_cv_prog_RANLIB
+ if test -n "$RANLIB"; then
+-  echo "$as_me:2939: result: $RANLIB" >&5
++  echo "$as_me:$LINENO: result: $RANLIB" >&5
+ echo "${ECHO_T}$RANLIB" >&6
+ else
+-  echo "$as_me:2942: result: no" >&5
++  echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+@@ -2948,7 +3418,7 @@
+   ac_ct_RANLIB=$RANLIB
+   # Extract the first word of "ranlib", so it can be a program name with args.
+ set dummy ranlib; ac_word=$2
+-echo "$as_me:2951: checking for $ac_word" >&5
++echo "$as_me:$LINENO: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -2956,15 +3426,18 @@
+   if test -n "$ac_ct_RANLIB"; then
+   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
+ else
+-  ac_save_IFS=$IFS; IFS=$ac_path_separator
+-ac_dummy="$PATH"
+-for ac_dir in $ac_dummy; do
+-  IFS=$ac_save_IFS
+-  test -z "$ac_dir" && ac_dir=.
+-  $as_executable_p "$ac_dir/$ac_word" || continue
+-ac_cv_prog_ac_ct_RANLIB="ranlib"
+-echo "$as_me:2966: found $ac_dir/$ac_word" >&5
+-break
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_ac_ct_RANLIB="ranlib"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
+ done
+ 
+   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
+@@ -2972,10 +3445,10 @@
+ fi
+ ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
+ if test -n "$ac_ct_RANLIB"; then
+-  echo "$as_me:2975: result: $ac_ct_RANLIB" >&5
++  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
+ echo "${ECHO_T}$ac_ct_RANLIB" >&6
+ else
+-  echo "$as_me:2978: result: no" >&5
++  echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+@@ -2984,11 +3457,11 @@
+   RANLIB="$ac_cv_prog_RANLIB"
+ fi
+ 
+-for ac_prog in mawk gawk nawk awk
++for ac_prog in gawk mawk nawk awk
+ do
+   # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+-echo "$as_me:2991: checking for $ac_word" >&5
++echo "$as_me:$LINENO: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_AWK+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -2996,32 +3469,35 @@
+   if test -n "$AWK"; then
+   ac_cv_prog_AWK="$AWK" # Let the user override the test.
+ else
+-  ac_save_IFS=$IFS; IFS=$ac_path_separator
+-ac_dummy="$PATH"
+-for ac_dir in $ac_dummy; do
+-  IFS=$ac_save_IFS
+-  test -z "$ac_dir" && ac_dir=.
+-  $as_executable_p "$ac_dir/$ac_word" || continue
+-ac_cv_prog_AWK="$ac_prog"
+-echo "$as_me:3006: found $ac_dir/$ac_word" >&5
+-break
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_AWK="$ac_prog"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
+ done
+ 
+ fi
+ fi
+ AWK=$ac_cv_prog_AWK
+ if test -n "$AWK"; then
+-  echo "$as_me:3014: result: $AWK" >&5
++  echo "$as_me:$LINENO: result: $AWK" >&5
+ echo "${ECHO_T}$AWK" >&6
+ else
+-  echo "$as_me:3017: result: no" >&5
++  echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+   test -n "$AWK" && break
+ done
+ 
+-echo "$as_me:3024: checking for ln -s or something else" >&5
++echo "$as_me:$LINENO: checking for ln -s or something else" >&5
+ echo $ECHO_N "checking for ln -s or something else... $ECHO_C" >&6
+ if test "${ac_cv_prog_LN_S+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -3042,9 +3518,12 @@
+ fi
+ fi
+ LN_S="$ac_cv_prog_LN_S"
+-echo "$as_me:3045: result: $ac_cv_prog_LN_S" >&5
++echo "$as_me:$LINENO: result: $ac_cv_prog_LN_S" >&5
+ echo "${ECHO_T}$ac_cv_prog_LN_S" >&6
+ 
++
++
++
+ # Check whether --with-mips_abi or --without-mips_abi was given.
+ if test "${with_mips_abi+set}" = set; then
+   withval="$with_mips_abi"
+@@ -3070,13 +3549,13 @@
+        n32|yes) abi='-mabi=n32'; abilibdirext='32'  ;;
+         64) abi='-mabi=64';  abilibdirext='64'   ;;
+ 	no) abi=''; abilibdirext='';;
+-         *) { { echo "$as_me:3073: error: \"Invalid ABI specified\"" >&5
++         *) { { echo "$as_me:$LINENO: error: \"Invalid ABI specified\"" >&5
+ echo "$as_me: error: \"Invalid ABI specified\"" >&2;}
+    { (exit 1); exit 1; }; } ;;
+ esac
+ if test -n "$abi" ; then
+ ac_foo=krb_cv_gcc_`echo $abi | tr =- __`
+-echo "$as_me:3079: checking if $CC supports the $abi option" >&5
++echo "$as_me:$LINENO: checking if $CC supports the $abi option" >&5
+ echo $ECHO_N "checking if $CC supports the $abi option... $ECHO_C" >&6
+ if eval "test \"\${$ac_foo+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -3085,9 +3564,15 @@
+ save_CFLAGS="$CFLAGS"
+ CFLAGS="$CFLAGS $abi"
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 3088 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -3097,16 +3582,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:3100: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:3103: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:3106: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:3109: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval $ac_foo=yes
+ else
+@@ -3120,7 +3605,7 @@
+ fi
+ 
+ ac_res=`eval echo \\\$$ac_foo`
+-echo "$as_me:3123: result: $ac_res" >&5
++echo "$as_me:$LINENO: result: $ac_res" >&5
+ echo "${ECHO_T}$ac_res" >&6
+ if test $ac_res = no; then
+ # Try to figure out why that failed...
+@@ -3129,9 +3614,15 @@
+ 	save_CFLAGS="$CFLAGS"
+ 	CFLAGS="$CFLAGS -mabi=n32"
+ 	cat >conftest.$ac_ext <<_ACEOF
+-#line 3132 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -3141,16 +3632,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:3144: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:3147: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:3150: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:3153: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_res=yes
+ else
+@@ -3162,7 +3653,7 @@
+ 	CLAGS="$save_CFLAGS"
+ 	if test $ac_res = yes; then
+ 		# New GCC
+-		{ { echo "$as_me:3165: error: $CC does not support the $with_mips_abi ABI" >&5
++		{ { echo "$as_me:$LINENO: error: $CC does not support the $with_mips_abi ABI" >&5
+ echo "$as_me: error: $CC does not support the $with_mips_abi ABI" >&2;}
+    { (exit 1); exit 1; }; }
+ 	fi
+@@ -3177,7 +3668,7 @@
+ 			abilibdirext=''
+ 		else
+ 			# Some broken GCC
+-			{ { echo "$as_me:3180: error: $CC does not support the $with_mips_abi ABI" >&5
++			{ { echo "$as_me:$LINENO: error: $CC does not support the $with_mips_abi ABI" >&5
+ echo "$as_me: error: $CC does not support the $with_mips_abi ABI" >&2;}
+    { (exit 1); exit 1; }; }
+ 		fi
+@@ -3191,7 +3682,7 @@
+        n32|yes) abi='-n32'; abilibdirext='32'  ;;
+         64) abi='-64'; abilibdirext='64'   ;;
+ 	no) abi=''; abilibdirext='';;
+-         *) { { echo "$as_me:3194: error: \"Invalid ABI specified\"" >&5
++         *) { { echo "$as_me:$LINENO: error: \"Invalid ABI specified\"" >&5
+ echo "$as_me: error: \"Invalid ABI specified\"" >&2;}
+    { (exit 1); exit 1; }; } ;;
+ esac
+@@ -3202,18 +3693,25 @@
+ CC="$CC $abi"
+ libdir="$libdir$abilibdirext"
+ 
+-echo "$as_me:3205: checking for __attribute__" >&5
++
++echo "$as_me:$LINENO: checking for __attribute__" >&5
+ echo $ECHO_N "checking for __attribute__... $ECHO_C" >&6
+ if test "${ac_cv___attribute__+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 3212 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
+ #include <stdlib.h>
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -3231,16 +3729,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:3234: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:3237: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:3240: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:3243: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv___attribute__=yes
+ else
+@@ -3253,14 +3751,15 @@
+ 
+ if test "$ac_cv___attribute__" = "yes"; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define HAVE___ATTRIBUTE__ 1
+-EOF
++_ACEOF
+ 
+ fi
+-echo "$as_me:3261: result: $ac_cv___attribute__" >&5
++echo "$as_me:$LINENO: result: $ac_cv___attribute__" >&5
+ echo "${ECHO_T}$ac_cv___attribute__" >&6
+ 
++
+ # Check whether --enable-shared or --disable-shared was given.
+ if test "${enable_shared+set}" = set; then
+   enableval="$enable_shared"
+@@ -3327,6 +3826,17 @@
+ else
+   enable_fast_install=yes
+ fi;
++# Find the correct PATH separator.  Usually this is `:', but
++# DJGPP uses `;' like DOS.
++if test "X${PATH_SEPARATOR+set}" != Xset; then
++  UNAME=${UNAME-`uname 2>/dev/null`}
++  case X$UNAME in
++    *-DOS) lt_cv_sys_path_separator=';' ;;
++    *)     lt_cv_sys_path_separator=':' ;;
++  esac
++  PATH_SEPARATOR=$lt_cv_sys_path_separator
++fi
++
+ 
+ # Check whether --with-gnu-ld or --without-gnu-ld was given.
+ if test "${with_gnu_ld+set}" = set; then
+@@ -3338,7 +3848,7 @@
+ ac_prog=ld
+ if test "$GCC" = yes; then
+   # Check if gcc -print-prog-name=ld gives a path.
+-  echo "$as_me:3341: checking for ld used by GCC" >&5
++  echo "$as_me:$LINENO: checking for ld used by GCC" >&5
+ echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
+   case $host in
+   *-*-mingw*)
+@@ -3368,17 +3878,17 @@
+     ;;
+   esac
+ elif test "$with_gnu_ld" = yes; then
+-  echo "$as_me:3371: checking for GNU ld" >&5
++  echo "$as_me:$LINENO: checking for GNU ld" >&5
+ echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
+ else
+-  echo "$as_me:3374: checking for non-GNU ld" >&5
++  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
+ echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
+ fi
+ if test "${lt_cv_path_LD+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   if test -z "$LD"; then
+-  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
++  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
+   for ac_dir in $PATH; do
+     test -z "$ac_dir" && ac_dir=.
+     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
+@@ -3401,16 +3911,16 @@
+ 
+ LD="$lt_cv_path_LD"
+ if test -n "$LD"; then
+-  echo "$as_me:3404: result: $LD" >&5
++  echo "$as_me:$LINENO: result: $LD" >&5
+ echo "${ECHO_T}$LD" >&6
+ else
+-  echo "$as_me:3407: result: no" >&5
++  echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+-test -z "$LD" && { { echo "$as_me:3410: error: no acceptable ld found in \$PATH" >&5
++test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
+ echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
+    { (exit 1); exit 1; }; }
+-echo "$as_me:3413: checking if the linker ($LD) is GNU ld" >&5
++echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
+ echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
+ if test "${lt_cv_prog_gnu_ld+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -3422,23 +3932,24 @@
+   lt_cv_prog_gnu_ld=no
+ fi
+ fi
+-echo "$as_me:3425: result: $lt_cv_prog_gnu_ld" >&5
++echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
+ echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
+ with_gnu_ld=$lt_cv_prog_gnu_ld
+ 
+-echo "$as_me:3429: checking for $LD option to reload object files" >&5
++
++echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
+ echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
+ if test "${lt_cv_ld_reload_flag+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   lt_cv_ld_reload_flag='-r'
+ fi
+-echo "$as_me:3436: result: $lt_cv_ld_reload_flag" >&5
++echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
+ echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
+ reload_flag=$lt_cv_ld_reload_flag
+ test -n "$reload_flag" && reload_flag=" $reload_flag"
+ 
+-echo "$as_me:3441: checking for BSD-compatible nm" >&5
++echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
+ echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
+ if test "${lt_cv_path_NM+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -3447,7 +3958,7 @@
+   # Let the user override the test.
+   lt_cv_path_NM="$NM"
+ else
+-  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
++  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
+   for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
+     test -z "$ac_dir" && ac_dir=.
+     tmp_nm=$ac_dir/${ac_tool_prefix}nm
+@@ -3474,21 +3985,21 @@
+ fi
+ 
+ NM="$lt_cv_path_NM"
+-echo "$as_me:3477: result: $NM" >&5
++echo "$as_me:$LINENO: result: $NM" >&5
+ echo "${ECHO_T}$NM" >&6
+ 
+-echo "$as_me:3480: checking whether ln -s works" >&5
++echo "$as_me:$LINENO: checking whether ln -s works" >&5
+ echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
+ LN_S=$as_ln_s
+ if test "$LN_S" = "ln -s"; then
+-  echo "$as_me:3484: result: yes" >&5
++  echo "$as_me:$LINENO: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ else
+-  echo "$as_me:3487: result: no, using $LN_S" >&5
++  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
+ echo "${ECHO_T}no, using $LN_S" >&6
+ fi
+ 
+-echo "$as_me:3491: checking how to recognise dependant libraries" >&5
++echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
+ echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
+ if test "${lt_cv_deplibs_check_method+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -3502,7 +4013,7 @@
+ # `unknown' -- same as none, but documents that we really don't know.
+ # 'pass_all' -- all dependencies passed with no checks.
+ # 'test_compile' -- check by making test program.
+-# ['file_magic [regex]'] -- check by looking for files in library path
++# 'file_magic [[regex]]' -- check by looking for files in library path
+ # which responds to the $file_magic_cmd with a given egrep regex.
+ # If you have `file' or equivalent on your system and you're not sure
+ # whether `pass_all' will *always* work, you probably want this one.
+@@ -3531,7 +4042,7 @@
+   lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
+   lt_cv_file_magic_cmd='/usr/bin/file -L'
+   case "$host_os" in
+-  rhapsody* | darwin1.012)
++  rhapsody* | darwin1.[012])
+     lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1`
+     ;;
+   *) # Darwin 1.3 on
+@@ -3566,9 +4077,9 @@
+   lt_cv_file_magic_test_file=/usr/lib/libc.sl
+   ;;
+ 
+-irix5* | irix6*)
++irix5* | irix6* | nonstopux*)
+   case $host_os in
+-  irix5*)
++  irix5* | nonstopux*)
+     # this will be overridden with pass_all, but let us keep it just in case
+     lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
+     ;;
+@@ -3589,13 +4100,7 @@
+ 
+ # This must be Linux ELF.
+ linux-gnu*)
+-  case $host_cpu in
+-  alpha* | i*86 | powerpc* | sparc* | ia64* )
+-    lt_cv_deplibs_check_method=pass_all ;;
+-  *)
+-    # glibc up to 2.1.1 does not perform some relocations on ARM
+-    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
+-  esac
++  lt_cv_deplibs_check_method=pass_all
+   lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
+   ;;
+ 
+@@ -3613,6 +4118,16 @@
+   lt_cv_file_magic_test_file=/usr/lib/libnls.so
+   ;;
+ 
++openbsd*)
++  lt_cv_file_magic_cmd=/usr/bin/file
++  lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
++  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
++    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
++  else
++    lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
++  fi
++  ;;
++
+ osf3* | osf4* | osf5*)
+   # this will be overridden with pass_all, but let us keep it just in case
+   lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
+@@ -3656,13 +4171,17 @@
+ esac
+ 
+ fi
+-echo "$as_me:3659: result: $lt_cv_deplibs_check_method" >&5
++echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
+ echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
+ file_magic_cmd=$lt_cv_file_magic_cmd
+ deplibs_check_method=$lt_cv_deplibs_check_method
+ 
++
++
++
++
+ # Check for command to grab the raw symbol name followed by C symbol from nm.
+-echo "$as_me:3665: checking command to parse $NM output" >&5
++echo "$as_me:$LINENO: checking command to parse $NM output" >&5
+ echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6
+ if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -3683,6 +4202,9 @@
+ # Transform an extracted symbol line into a proper C declaration
+ lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'"
+ 
++# Transform an extracted symbol line into symbol name and symbol address
++lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
++
+ # Define system-specific variables.
+ case $host_os in
+ aix*)
+@@ -3693,8 +4215,9 @@
+   ;;
+ hpux*) # Its linker distinguishes data from code symbols
+   lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
++  lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
+   ;;
+-irix*)
++irix* | nonstopux*)
+   symcode='[BCDEGRST]'
+   ;;
+ solaris* | sysv5*)
+@@ -3739,17 +4262,17 @@
+ int main(){nm_test_var='a';nm_test_func();return(0);}
+ EOF
+ 
+-  if { (eval echo "$as_me:3742: \"$ac_compile\"") >&5
++  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:3745: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; then
+     # Now try to grab the symbols.
+     nlist=conftest.nm
+-    if { (eval echo "$as_me:3749: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
++    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
+   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
+   ac_status=$?
+-  echo "$as_me:3752: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } && test -s "$nlist"; then
+       # Try sorting and uniquifying the output.
+       if sort "$nlist" | uniq > "$nlist"T; then
+@@ -3772,23 +4295,23 @@
+ 
+ 	  cat <<EOF >> conftest.$ac_ext
+ #if defined (__STDC__) && __STDC__
+-# define lt_ptr_t void *
++# define lt_ptr void *
+ #else
+-# define lt_ptr_t char *
++# define lt_ptr char *
+ # define const
+ #endif
+ 
+ /* The mapping between symbol names and symbols. */
+ const struct {
+   const char *name;
+-  lt_ptr_t address;
++  lt_ptr address;
+ }
+ lt_preloaded_symbols[] =
+ {
+ EOF
+-	  sed "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" >> conftest.$ac_ext
++	  sed "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.$ac_ext
+ 	  cat <<\EOF >> conftest.$ac_ext
+-  {0, (lt_ptr_t) 0}
++  {0, (lt_ptr) 0}
+ };
+ 
+ #ifdef __cplusplus
+@@ -3801,10 +4324,10 @@
+ 	  save_CFLAGS="$CFLAGS"
+ 	  LIBS="conftstm.$ac_objext"
+ 	  CFLAGS="$CFLAGS$no_builtin_flag"
+-	  if { (eval echo "$as_me:3804: \"$ac_link\"") >&5
++	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:3807: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } && test -s conftest; then
+ 	    pipe_works=yes
+ 	  fi
+@@ -3838,37 +4361,42 @@
+ global_symbol_pipe="$lt_cv_sys_global_symbol_pipe"
+ if test -z "$lt_cv_sys_global_symbol_pipe"; then
+   global_symbol_to_cdecl=
++  global_symbol_to_c_name_address=
+ else
+   global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl"
++  global_symbol_to_c_name_address="$lt_cv_global_symbol_to_c_name_address"
+ fi
+-if test -z "$global_symbol_pipe$global_symbol_to_cdecl"; then
+-  echo "$as_me:3845: result: failed" >&5
++if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address";
++then
++  echo "$as_me:$LINENO: result: failed" >&5
+ echo "${ECHO_T}failed" >&6
+ else
+-  echo "$as_me:3848: result: ok" >&5
++  echo "$as_me:$LINENO: result: ok" >&5
+ echo "${ECHO_T}ok" >&6
+ fi
+ 
+-for ac_header in dlfcn.h
+-do
+-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+-echo "$as_me:3855: checking for $ac_header" >&5
+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+-if eval "test \"\${$as_ac_Header+set}\" = set"; then
++
++echo "$as_me:$LINENO: checking for ANSI C header files" >&5
++echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
++if test "${ac_cv_header_stdc+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 3861 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+-#include <$ac_header>
++#include <stdlib.h>
++#include <stdarg.h>
++#include <string.h>
++#include <float.h>
++
+ _ACEOF
+-if { (eval echo "$as_me:3865: \"$ac_cpp conftest.$ac_ext\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
+   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+   ac_status=$?
+   egrep -v '^ *\+' conftest.er1 >conftest.err
+   rm -f conftest.er1
+   cat conftest.err >&5
+-  echo "$as_me:3871: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } >/dev/null; then
+   if test -s conftest.err; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+@@ -3879,100 +4407,366 @@
+   ac_cpp_err=yes
+ fi
+ if test -z "$ac_cpp_err"; then
+-  eval "$as_ac_Header=yes"
++  ac_cv_header_stdc=yes
+ else
+   echo "$as_me: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+-  eval "$as_ac_Header=no"
++  ac_cv_header_stdc=no
+ fi
+ rm -f conftest.err conftest.$ac_ext
+-fi
+-echo "$as_me:3890: result: `eval echo '${'$as_ac_Header'}'`" >&5
+-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
+-if test `eval echo '${'$as_ac_Header'}'` = yes; then
+-  cat >>confdefs.h <<EOF
+-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
+-EOF
+ 
+-fi
+-done
++if test $ac_cv_header_stdc = yes; then
++  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <string.h>
+ 
+-# Only perform the check for file, if the check method requires it
+-case $deplibs_check_method in
+-file_magic*)
+-  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
+-    echo "$as_me:3904: checking for ${ac_tool_prefix}file" >&5
+-echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
+-if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  egrep "memchr" >/dev/null 2>&1; then
++  :
+ else
+-  case $MAGIC_CMD in
+-  /*)
+-  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
+-  ;;
+-  ?:/*)
+-  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
+-  ;;
+-  *)
+-  ac_save_MAGIC_CMD="$MAGIC_CMD"
+-  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
+-  ac_dummy="/usr/bin:$PATH"
+-  for ac_dir in $ac_dummy; do
+-    test -z "$ac_dir" && ac_dir=.
+-    if test -f $ac_dir/${ac_tool_prefix}file; then
+-      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
+-      if test -n "$file_magic_test_file"; then
+-	case $deplibs_check_method in
+-	"file_magic "*)
+-	  file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
+-	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
+-	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
+-	    egrep "$file_magic_regex" > /dev/null; then
+-	    :
+-	  else
+-	    cat <<EOF 1>&2
+-
+-*** Warning: the command libtool uses to detect shared libraries,
+-*** $file_magic_cmd, produces output that libtool cannot recognize.
+-*** The result is that libtool may fail to recognize shared libraries
+-*** as such.  This will affect the creation of libtool libraries that
+-*** depend on shared libraries, but programs linked with such libtool
+-*** libraries will work regardless of this problem.  Nevertheless, you
+-*** may want to report the problem to your system manager and/or to
+-*** bug-libtool@gnu.org
++  ac_cv_header_stdc=no
++fi
++rm -f conftest*
+ 
+-EOF
+-	  fi ;;
+-	esac
+-      fi
+-      break
+-    fi
+-  done
+-  IFS="$ac_save_ifs"
+-  MAGIC_CMD="$ac_save_MAGIC_CMD"
+-  ;;
+-esac
+ fi
+ 
+-MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
+-if test -n "$MAGIC_CMD"; then
+-  echo "$as_me:3959: result: $MAGIC_CMD" >&5
+-echo "${ECHO_T}$MAGIC_CMD" >&6
++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 <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <stdlib.h>
++
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  egrep "free" >/dev/null 2>&1; then
++  :
+ else
+-  echo "$as_me:3962: result: no" >&5
+-echo "${ECHO_T}no" >&6
++  ac_cv_header_stdc=no
+ fi
++rm -f conftest*
+ 
+-if test -z "$lt_cv_path_MAGIC_CMD"; then
+-  if test -n "$ac_tool_prefix"; then
+-    echo "$as_me:3968: checking for file" >&5
+-echo $ECHO_N "checking for file... $ECHO_C" >&6
+-if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  case $MAGIC_CMD in
+-  /*)
+-  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
++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 <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <ctype.h>
++#if ((' ' & 0x0FF) == 0x020)
++# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
++# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
++#else
++# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
++                     || ('j' <= (c) && (c) <= 'r') \
++                     || ('s' <= (c) && (c) <= 'z'))
++# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
++#endif
++
++#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);
++}
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  :
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++( exit $ac_status )
++ac_cv_header_stdc=no
++fi
++rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++fi
++fi
++echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
++echo "${ECHO_T}$ac_cv_header_stdc" >&6
++if test $ac_cv_header_stdc = yes; then
++
++cat >>confdefs.h <<\_ACEOF
++#define STDC_HEADERS 1
++_ACEOF
++
++fi
++
++# On IRIX 5.3, sys/types and inttypes.h are conflicting.
++
++
++
++
++
++
++
++
++
++for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
++                  inttypes.h stdint.h unistd.h
++do
++as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++$ac_includes_default
++
++#include <$ac_header>
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_Header=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_Header=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++if test `eval echo '${'$as_ac_Header'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
++_ACEOF
++
++fi
++
++done
++
++
++
++for ac_header in dlfcn.h
++do
++as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++else
++  # Is the header compilable?
++echo "$as_me:$LINENO: checking $ac_header usability" >&5
++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++$ac_includes_default
++#include <$ac_header>
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_header_compiler=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_header_compiler=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
++echo "${ECHO_T}$ac_header_compiler" >&6
++
++# Is the header present?
++echo "$as_me:$LINENO: checking $ac_header presence" >&5
++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <$ac_header>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  egrep -v '^ *\+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  ac_header_preproc=yes
++else
++  echo "$as_me: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_header_preproc=no
++fi
++rm -f conftest.err conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
++echo "${ECHO_T}$ac_header_preproc" >&6
++
++# So?  What about this header?
++case $ac_header_compiler:$ac_header_preproc in
++  yes:no )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
++echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++  no:yes )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
++echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
++echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++esac
++echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  eval "$as_ac_Header=$ac_header_preproc"
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++
++fi
++if test `eval echo '${'$as_ac_Header'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
++_ACEOF
++
++fi
++
++done
++
++
++
++
++
++# Only perform the check for file, if the check method requires it
++case $deplibs_check_method in
++file_magic*)
++  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
++    echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
++echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
++if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  case $MAGIC_CMD in
++  /*)
++  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
++  ;;
++  ?:/*)
++  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
++  ;;
++  *)
++  ac_save_MAGIC_CMD="$MAGIC_CMD"
++  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
++  ac_dummy="/usr/bin:$PATH"
++  for ac_dir in $ac_dummy; do
++    test -z "$ac_dir" && ac_dir=.
++    if test -f $ac_dir/${ac_tool_prefix}file; then
++      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
++      if test -n "$file_magic_test_file"; then
++	case $deplibs_check_method in
++	"file_magic "*)
++	  file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
++	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
++	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
++	    egrep "$file_magic_regex" > /dev/null; then
++	    :
++	  else
++	    cat <<EOF 1>&2
++
++*** Warning: the command libtool uses to detect shared libraries,
++*** $file_magic_cmd, produces output that libtool cannot recognize.
++*** The result is that libtool may fail to recognize shared libraries
++*** as such.  This will affect the creation of libtool libraries that
++*** depend on shared libraries, but programs linked with such libtool
++*** libraries will work regardless of this problem.  Nevertheless, you
++*** may want to report the problem to your system manager and/or to
++*** bug-libtool@gnu.org
++
++EOF
++	  fi ;;
++	esac
++      fi
++      break
++    fi
++  done
++  IFS="$ac_save_ifs"
++  MAGIC_CMD="$ac_save_MAGIC_CMD"
++  ;;
++esac
++fi
++
++MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
++if test -n "$MAGIC_CMD"; then
++  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
++echo "${ECHO_T}$MAGIC_CMD" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++if test -z "$lt_cv_path_MAGIC_CMD"; then
++  if test -n "$ac_tool_prefix"; then
++    echo "$as_me:$LINENO: checking for file" >&5
++echo $ECHO_N "checking for file... $ECHO_C" >&6
++if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  case $MAGIC_CMD in
++  /*)
++  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
+   ;;
+   ?:/*)
+   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
+@@ -4020,10 +4814,10 @@
+ 
+ MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
+ if test -n "$MAGIC_CMD"; then
+-  echo "$as_me:4023: result: $MAGIC_CMD" >&5
++  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
+ echo "${ECHO_T}$MAGIC_CMD" >&6
+ else
+-  echo "$as_me:4026: result: no" >&5
++  echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+@@ -4039,7 +4833,7 @@
+ if test -n "$ac_tool_prefix"; then
+   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
+ set dummy ${ac_tool_prefix}ranlib; ac_word=$2
+-echo "$as_me:4042: checking for $ac_word" >&5
++echo "$as_me:$LINENO: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_RANLIB+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -4047,25 +4841,28 @@
+   if test -n "$RANLIB"; then
+   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
+ else
+-  ac_save_IFS=$IFS; IFS=$ac_path_separator
+-ac_dummy="$PATH"
+-for ac_dir in $ac_dummy; do
+-  IFS=$ac_save_IFS
+-  test -z "$ac_dir" && ac_dir=.
+-  $as_executable_p "$ac_dir/$ac_word" || continue
+-ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
+-echo "$as_me:4057: found $ac_dir/$ac_word" >&5
+-break
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
+ done
+ 
+ fi
+ fi
+ RANLIB=$ac_cv_prog_RANLIB
+ if test -n "$RANLIB"; then
+-  echo "$as_me:4065: result: $RANLIB" >&5
++  echo "$as_me:$LINENO: result: $RANLIB" >&5
+ echo "${ECHO_T}$RANLIB" >&6
+ else
+-  echo "$as_me:4068: result: no" >&5
++  echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+@@ -4074,7 +4871,7 @@
+   ac_ct_RANLIB=$RANLIB
+   # Extract the first word of "ranlib", so it can be a program name with args.
+ set dummy ranlib; ac_word=$2
+-echo "$as_me:4077: checking for $ac_word" >&5
++echo "$as_me:$LINENO: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -4082,15 +4879,18 @@
+   if test -n "$ac_ct_RANLIB"; then
+   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
+ else
+-  ac_save_IFS=$IFS; IFS=$ac_path_separator
+-ac_dummy="$PATH"
+-for ac_dir in $ac_dummy; do
+-  IFS=$ac_save_IFS
+-  test -z "$ac_dir" && ac_dir=.
+-  $as_executable_p "$ac_dir/$ac_word" || continue
+-ac_cv_prog_ac_ct_RANLIB="ranlib"
+-echo "$as_me:4092: found $ac_dir/$ac_word" >&5
+-break
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_ac_ct_RANLIB="ranlib"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
+ done
+ 
+   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
+@@ -4098,10 +4898,10 @@
+ fi
+ ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
+ if test -n "$ac_ct_RANLIB"; then
+-  echo "$as_me:4101: result: $ac_ct_RANLIB" >&5
++  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
+ echo "${ECHO_T}$ac_ct_RANLIB" >&6
+ else
+-  echo "$as_me:4104: result: no" >&5
++  echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+@@ -4113,7 +4913,7 @@
+ if test -n "$ac_tool_prefix"; then
+   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
+ set dummy ${ac_tool_prefix}strip; ac_word=$2
+-echo "$as_me:4116: checking for $ac_word" >&5
++echo "$as_me:$LINENO: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_STRIP+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -4121,25 +4921,28 @@
+   if test -n "$STRIP"; then
+   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
+ else
+-  ac_save_IFS=$IFS; IFS=$ac_path_separator
+-ac_dummy="$PATH"
+-for ac_dir in $ac_dummy; do
+-  IFS=$ac_save_IFS
+-  test -z "$ac_dir" && ac_dir=.
+-  $as_executable_p "$ac_dir/$ac_word" || continue
+-ac_cv_prog_STRIP="${ac_tool_prefix}strip"
+-echo "$as_me:4131: found $ac_dir/$ac_word" >&5
+-break
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
+ done
+ 
+ fi
+ fi
+ STRIP=$ac_cv_prog_STRIP
+ if test -n "$STRIP"; then
+-  echo "$as_me:4139: result: $STRIP" >&5
++  echo "$as_me:$LINENO: result: $STRIP" >&5
+ echo "${ECHO_T}$STRIP" >&6
+ else
+-  echo "$as_me:4142: result: no" >&5
++  echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+@@ -4148,7 +4951,7 @@
+   ac_ct_STRIP=$STRIP
+   # Extract the first word of "strip", so it can be a program name with args.
+ set dummy strip; ac_word=$2
+-echo "$as_me:4151: checking for $ac_word" >&5
++echo "$as_me:$LINENO: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -4156,15 +4959,18 @@
+   if test -n "$ac_ct_STRIP"; then
+   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
+ else
+-  ac_save_IFS=$IFS; IFS=$ac_path_separator
+-ac_dummy="$PATH"
+-for ac_dir in $ac_dummy; do
+-  IFS=$ac_save_IFS
+-  test -z "$ac_dir" && ac_dir=.
+-  $as_executable_p "$ac_dir/$ac_word" || continue
+-ac_cv_prog_ac_ct_STRIP="strip"
+-echo "$as_me:4166: found $ac_dir/$ac_word" >&5
+-break
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_ac_ct_STRIP="strip"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
+ done
+ 
+   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
+@@ -4172,10 +4978,10 @@
+ fi
+ ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
+ if test -n "$ac_ct_STRIP"; then
+-  echo "$as_me:4175: result: $ac_ct_STRIP" >&5
++  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
+ echo "${ECHO_T}$ac_ct_STRIP" >&6
+ else
+-  echo "$as_me:4178: result: no" >&5
++  echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+@@ -4184,6 +4990,7 @@
+   STRIP="$ac_cv_prog_STRIP"
+ fi
+ 
++
+ enable_dlopen=no
+ enable_win32_dll=no
+ 
+@@ -4199,11 +5006,11 @@
+ case $host in
+ *-*-irix6*)
+   # Find out which ABI we are using.
+-  echo '#line 4202 "configure"' > conftest.$ac_ext
+-  if { (eval echo "$as_me:4203: \"$ac_compile\"") >&5
++  echo '#line 5009 "configure"' > conftest.$ac_ext
++  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:4206: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; then
+     case `/usr/bin/file conftest.$ac_objext` in
+     *32-bit*)
+@@ -4224,12 +5031,13 @@
+   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
+   SAVE_CFLAGS="$CFLAGS"
+   CFLAGS="$CFLAGS -belf"
+-  echo "$as_me:4227: checking whether the C compiler needs -belf" >&5
++  echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
+ echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
+ if test "${lt_cv_cc_needs_belf+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
++
+      ac_ext=c
+ ac_cpp='$CPP $CPPFLAGS'
+ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+@@ -4237,9 +5045,15 @@
+ ac_compiler_gnu=$ac_cv_c_compiler_gnu
+ 
+      cat >conftest.$ac_ext <<_ACEOF
+-#line 4240 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -4249,16 +5063,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:4252: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:4255: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:4258: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:4261: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   lt_cv_cc_needs_belf=yes
+ else
+@@ -4274,7 +5088,7 @@
+ ac_compiler_gnu=$ac_cv_c_compiler_gnu
+ 
+ fi
+-echo "$as_me:4277: result: $lt_cv_cc_needs_belf" >&5
++echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
+ echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
+   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
+     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
+@@ -4282,6 +5096,7 @@
+   fi
+   ;;
+ 
++
+ esac
+ 
+ # Sed substitution that helps us do robust quoting.  It backslashifies
+@@ -4359,15 +5174,22 @@
+ old_postuninstall_cmds=
+ 
+ if test -n "$RANLIB"; then
++  case $host_os in
++  openbsd*)
++    old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
++    ;;
++  *)
++    old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
++    ;;
++  esac
+   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
+-  old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
+ fi
+ 
+ # Allow CC to be a program name with arguments.
+ set dummy $CC
+ compiler="$2"
+ 
+-echo "$as_me:4370: checking for objdir" >&5
++echo "$as_me:$LINENO: checking for objdir" >&5
+ echo $ECHO_N "checking for objdir... $ECHO_C" >&6
+ rm -f .libs 2>/dev/null
+ mkdir .libs 2>/dev/null
+@@ -4378,9 +5200,11 @@
+   objdir=_libs
+ fi
+ rmdir .libs 2>/dev/null
+-echo "$as_me:4381: result: $objdir" >&5
++echo "$as_me:$LINENO: result: $objdir" >&5
+ echo "${ECHO_T}$objdir" >&6
+ 
++
++
+ # Check whether --with-pic or --without-pic was given.
+ if test "${with_pic+set}" = set; then
+   withval="$with_pic"
+@@ -4393,7 +5217,7 @@
+ # We assume here that the value for lt_cv_prog_cc_pic will not be cached
+ # in isolation, and that seeing it set (from the cache) indicates that
+ # the associated values are set (in the cache) correctly too.
+-echo "$as_me:4396: checking for $compiler option to produce PIC" >&5
++echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
+ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
+ if test "${lt_cv_prog_cc_pic+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -4416,7 +5240,7 @@
+       # libC (AIX C++ library), which obviously doesn't included in libraries
+       # list by gcc. This cause undefined symbols with -static flags.
+       # This hack allows C programs to be linked with "-static -ldl", but
+-      # we not sure about C++ programs.
++      # not sure about C++ programs.
+       lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC"
+       ;;
+     amigaos*)
+@@ -4425,7 +5249,7 @@
+       # like `-m68040'.
+       lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4'
+       ;;
+-    beos* | irix5* | irix6* | osf3* | osf4* | osf5*)
++    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
+       # PIC is the default for these OSes.
+       ;;
+     darwin* | rhapsody*)
+@@ -4451,13 +5275,13 @@
+     # PORTME Check for PIC flags for the system compiler.
+     case $host_os in
+     aix3* | aix4* | aix5*)
++      lt_cv_prog_cc_wl='-Wl,'
+       # All AIX code is PIC.
+       if test "$host_cpu" = ia64; then
+-        # AIX 5 now supports IA64 processor
+-        lt_cv_prog_cc_static='-Bstatic'
+-        lt_cv_prog_cc_wl='-Wl,'
++	# AIX 5 now supports IA64 processor
++	lt_cv_prog_cc_static='-Bstatic'
+       else
+-        lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp'
++	lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp'
+       fi
+       ;;
+ 
+@@ -4468,7 +5292,7 @@
+       lt_cv_prog_cc_pic='+Z'
+       ;;
+ 
+-    irix5* | irix6*)
++    irix5* | irix6* | nonstopux*)
+       lt_cv_prog_cc_wl='-Wl,'
+       lt_cv_prog_cc_static='-non_shared'
+       # PIC (with -KPIC) is the default.
+@@ -4513,9 +5337,9 @@
+       lt_cv_prog_cc_pic='-KPIC'
+       lt_cv_prog_cc_static='-Bstatic'
+       if test "x$host_vendor" = xsni; then
+-        lt_cv_prog_cc_wl='-LD'
++	lt_cv_prog_cc_wl='-LD'
+       else
+-        lt_cv_prog_cc_wl='-Wl,'
++	lt_cv_prog_cc_wl='-Wl,'
+       fi
+       ;;
+ 
+@@ -4540,14 +5364,14 @@
+ fi
+ 
+ if test -z "$lt_cv_prog_cc_pic"; then
+-  echo "$as_me:4543: result: none" >&5
++  echo "$as_me:$LINENO: result: none" >&5
+ echo "${ECHO_T}none" >&6
+ else
+-  echo "$as_me:4546: result: $lt_cv_prog_cc_pic" >&5
++  echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic" >&5
+ echo "${ECHO_T}$lt_cv_prog_cc_pic" >&6
+ 
+   # Check to make sure the pic_flag actually works.
+-  echo "$as_me:4550: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5
++  echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5
+ echo $ECHO_N "checking if $compiler PIC flag $lt_cv_prog_cc_pic works... $ECHO_C" >&6
+   if test "${lt_cv_prog_cc_pic_works+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -4555,9 +5379,15 @@
+       save_CFLAGS="$CFLAGS"
+     CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"
+     cat >conftest.$ac_ext <<_ACEOF
+-#line 4558 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -4567,16 +5397,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:4570: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:4573: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:4576: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:4579: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+         case $host_os in
+       hpux9* | hpux10* | hpux11*)
+@@ -4605,6 +5435,7 @@
+ 
+ fi
+ 
++
+   if test "X$lt_cv_prog_cc_pic_works" = Xno; then
+     lt_cv_prog_cc_pic=
+     lt_cv_prog_cc_can_build_shared=no
+@@ -4612,23 +5443,23 @@
+     lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic"
+   fi
+ 
+-  echo "$as_me:4615: result: $lt_cv_prog_cc_pic_works" >&5
++  echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic_works" >&5
+ echo "${ECHO_T}$lt_cv_prog_cc_pic_works" >&6
+ fi
+ 
+ # Check for any special shared library compilation flags.
+ if test -n "$lt_cv_prog_cc_shlib"; then
+-  { echo "$as_me:4621: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&5
++  { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&5
+ echo "$as_me: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&2;}
+   if echo "$old_CC $old_CFLAGS " | egrep -e "[ 	]$lt_cv_prog_cc_shlib[ 	]" >/dev/null; then :
+   else
+-   { echo "$as_me:4625: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
++   { echo "$as_me:$LINENO: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
+ echo "$as_me: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
+     lt_cv_prog_cc_can_build_shared=no
+   fi
+ fi
+ 
+-echo "$as_me:4631: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5
++echo "$as_me:$LINENO: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5
+ echo $ECHO_N "checking if $compiler static flag $lt_cv_prog_cc_static works... $ECHO_C" >&6
+ if test "${lt_cv_prog_cc_static_works+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -4637,9 +5468,15 @@
+   save_LDFLAGS="$LDFLAGS"
+   LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 4640 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -4649,16 +5486,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:4652: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:4655: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:4658: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:4661: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   lt_cv_prog_cc_static_works=yes
+ else
+@@ -4670,9 +5507,10 @@
+ 
+ fi
+ 
++
+ # Belt *and* braces to stop my trousers falling down:
+ test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static=
+-echo "$as_me:4675: result: $lt_cv_prog_cc_static_works" >&5
++echo "$as_me:$LINENO: result: $lt_cv_prog_cc_static_works" >&5
+ echo "${ECHO_T}$lt_cv_prog_cc_static_works" >&6
+ 
+ pic_flag="$lt_cv_prog_cc_pic"
+@@ -4682,8 +5520,9 @@
+ no_builtin_flag="$lt_cv_prog_cc_no_builtin"
+ can_build_shared="$lt_cv_prog_cc_can_build_shared"
+ 
++
+ # Check to see if options -o and -c are simultaneously supported by compiler
+-echo "$as_me:4686: checking if $compiler supports -c -o file.$ac_objext" >&5
++echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
+ echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
+ if test "${lt_cv_compiler_c_o+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -4703,7 +5542,7 @@
+ save_CFLAGS="$CFLAGS"
+ CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
+ compiler_c_o=no
+-if { (eval echo configure:4706: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
++if { (eval echo configure:5545: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
+   # The compiler can only warn and ignore the option if not recognized
+   # So say no if there are warnings
+   if test -s out/conftest.err; then
+@@ -4727,12 +5566,12 @@
+ fi
+ 
+ compiler_c_o=$lt_cv_compiler_c_o
+-echo "$as_me:4730: result: $compiler_c_o" >&5
++echo "$as_me:$LINENO: result: $compiler_c_o" >&5
+ echo "${ECHO_T}$compiler_c_o" >&6
+ 
+ if test x"$compiler_c_o" = x"yes"; then
+   # Check to see if we can write to a .lo
+-  echo "$as_me:4735: checking if $compiler supports -c -o file.lo" >&5
++  echo "$as_me:$LINENO: checking if $compiler supports -c -o file.lo" >&5
+ echo $ECHO_N "checking if $compiler supports -c -o file.lo... $ECHO_C" >&6
+   if test "${lt_cv_compiler_o_lo+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -4741,10 +5580,18 @@
+   lt_cv_compiler_o_lo=no
+   save_CFLAGS="$CFLAGS"
+   CFLAGS="$CFLAGS -c -o conftest.lo"
++  save_objext="$ac_objext"
++  ac_objext=lo
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 4745 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -4754,16 +5601,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:4757: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:4760: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:4763: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:4766: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+       # The compiler can only warn and ignore the option if not recognized
+     # So say no if there are warnings
+@@ -4778,13 +5625,14 @@
+ cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
++  ac_objext="$save_objext"
+   CFLAGS="$save_CFLAGS"
+ 
+ fi
+ 
+   compiler_o_lo=$lt_cv_compiler_o_lo
+-  echo "$as_me:4786: result: $compiler_c_lo" >&5
+-echo "${ECHO_T}$compiler_c_lo" >&6
++  echo "$as_me:$LINENO: result: $compiler_o_lo" >&5
++echo "${ECHO_T}$compiler_o_lo" >&6
+ else
+   compiler_o_lo=no
+ fi
+@@ -4793,7 +5641,7 @@
+ hard_links="nottested"
+ if test "$compiler_c_o" = no && test "$need_locks" != no; then
+   # do not overwrite the value of need_locks provided by the user
+-  echo "$as_me:4796: checking if we can lock with hard links" >&5
++  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
+ echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
+   hard_links=yes
+   $rm conftest*
+@@ -4801,10 +5649,10 @@
+   touch conftest.a
+   ln conftest.a conftest.b 2>&5 || hard_links=no
+   ln conftest.a conftest.b 2>/dev/null && hard_links=no
+-  echo "$as_me:4804: result: $hard_links" >&5
++  echo "$as_me:$LINENO: result: $hard_links" >&5
+ echo "${ECHO_T}$hard_links" >&6
+   if test "$hard_links" = no; then
+-    { echo "$as_me:4807: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
++    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
+ echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
+     need_locks=warn
+   fi
+@@ -4814,16 +5662,22 @@
+ 
+ if test "$GCC" = yes; then
+   # Check to see if options -fno-rtti -fno-exceptions are supported by compiler
+-  echo "$as_me:4817: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
++  echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
+ echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
+   echo "int some_variable = 0;" > conftest.$ac_ext
+   save_CFLAGS="$CFLAGS"
+   CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"
+   compiler_rtti_exceptions=no
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 4824 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -4833,16 +5687,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:4836: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:4839: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:4842: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:4845: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+       # The compiler can only warn and ignore the option if not recognized
+     # So say no if there are warnings
+@@ -4858,7 +5712,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+   CFLAGS="$save_CFLAGS"
+-  echo "$as_me:4861: result: $compiler_rtti_exceptions" >&5
++  echo "$as_me:$LINENO: result: $compiler_rtti_exceptions" >&5
+ echo "${ECHO_T}$compiler_rtti_exceptions" >&6
+ 
+   if test "$compiler_rtti_exceptions" = "yes"; then
+@@ -4869,7 +5723,7 @@
+ fi
+ 
+ # See if the linker supports building shared libraries.
+-echo "$as_me:4872: checking whether the linker ($LD) supports shared libraries" >&5
++echo "$as_me:$LINENO: checking whether the linker ($LD) supports shared libraries" >&5
+ echo $ECHO_N "checking whether the linker ($LD) supports shared libraries... $ECHO_C" >&6
+ 
+ allow_undefined_flag=
+@@ -4911,7 +5765,7 @@
+ extract_expsyms_cmds=
+ 
+ case $host_os in
+-cygwin* | mingw* | pw32* )
++cygwin* | mingw* | pw32*)
+   # FIXME: the MSVC++ port hasn't been tested in a loooong time
+   # When not using gcc, we currently assume that we are using
+   # Microsoft Visual C++.
+@@ -4919,7 +5773,9 @@
+     with_gnu_ld=no
+   fi
+   ;;
+-
++openbsd*)
++  with_gnu_ld=no
++  ;;
+ esac
+ 
+ ld_shlibs=yes
+@@ -5006,7 +5862,7 @@
+     # can override, but on older systems we have to supply one (in ltdll.c)
+     if test "x$lt_cv_need_dllmain" = "xyes"; then
+       ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext "
+-      ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < [$]0 > $output_objdir/$soname-ltdll.c~
++      ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < $''0 > $output_objdir/$soname-ltdll.c~
+ 	test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~'
+     else
+       ltdll_obj=
+@@ -5025,18 +5881,18 @@
+     # is EXPORTS), use it as is.
+     # If DATA tags from a recent dlltool are present, honour them!
+     archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then
+-        cp $export_symbols $output_objdir/$soname-def;
++	cp $export_symbols $output_objdir/$soname-def;
+       else
+-        echo EXPORTS > $output_objdir/$soname-def;
+-        _lt_hint=1;
+-        cat $export_symbols | while read symbol; do
+-         set dummy \$symbol;
+-         case \$# in
+-           2) echo "   \$2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
+-           *) echo "     \$2 @ \$_lt_hint \$3 ; " >> $output_objdir/$soname-def;;
+-         esac;
+-         _lt_hint=`expr 1 + \$_lt_hint`;
+-        done;
++	echo EXPORTS > $output_objdir/$soname-def;
++	_lt_hint=1;
++	cat $export_symbols | while read symbol; do
++	 set dummy \$symbol;
++	 case \$# in
++	   2) echo "   \$2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
++	   *) echo "     \$2 @ \$_lt_hint \$3 ; " >> $output_objdir/$soname-def;;
++	 esac;
++	 _lt_hint=`expr 1 + \$_lt_hint`;
++	done;
+       fi~
+       '"$ltdll_cmds"'
+       $CC -Wl,--base-file,$output_objdir/$soname-base '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
+@@ -5131,80 +5987,96 @@
+     ;;
+ 
+   aix4* | aix5*)
++    if test "$host_cpu" = ia64; then
++      # On IA64, the linker does run time linking by default, so we don't
++      # have to do anything special.
++      aix_use_runtimelinking=no
++      exp_sym_flag='-Bexport'
++      no_entry_flag=""
++    else
++      aix_use_runtimelinking=no
++
++      # Test if we are trying to use run time linking or normal
++      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
++      # need to do runtime linking.
++      case $host_os in aix4.[23]|aix4.[23].*|aix5*)
++	for ld_flag in $LDFLAGS; do
++	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
++	    aix_use_runtimelinking=yes
++	    break
++	  fi
++	done
++      esac
++
++      exp_sym_flag='-bexport'
++      no_entry_flag='-bnoentry'
++    fi
++
+     # When large executables or shared objects are built, AIX ld can
+     # have problems creating the table of contents.  If linking a library
+     # or program results in "error TOC overflow" add -mminimal-toc to
+     # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
+     # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
+ 
++    hardcode_direct=yes
+     archive_cmds=''
+     hardcode_libdir_separator=':'
+     if test "$GCC" = yes; then
+-      collect2name=`${CC} -print-prog-name=collect2`
+-      if test -f "$collect2name" && \
+-	 strings "$collect2name" | grep resolve_lib_name >/dev/null
+-      then
+-	# We have reworked collect2
+-	hardcode_direct=yes
+-      else
+-        # We have old collect2
+-        hardcode_direct=unsupported
+-        # It fails to find uninstalled libraries when the uninstalled
+-        # path is not listed in the libpath.  Setting hardcode_minus_L
+-        # to unsupported forces relinking
+-        hardcode_minus_L=yes
+-        hardcode_libdir_flag_spec='-L$libdir'
+-        hardcode_libdir_separator=
+-      fi
++      case $host_os in aix4.[012]|aix4.[012].*)
++	collect2name=`${CC} -print-prog-name=collect2`
++	if test -f "$collect2name" && \
++	  strings "$collect2name" | grep resolve_lib_name >/dev/null
++	then
++	  # We have reworked collect2
++	  hardcode_direct=yes
++	else
++	  # We have old collect2
++	  hardcode_direct=unsupported
++	  # It fails to find uninstalled libraries when the uninstalled
++	  # path is not listed in the libpath.  Setting hardcode_minus_L
++	  # to unsupported forces relinking
++	  hardcode_minus_L=yes
++	  hardcode_libdir_flag_spec='-L$libdir'
++	  hardcode_libdir_separator=
++	fi
++      esac
++
+       shared_flag='-shared'
+     else
++      # not using gcc
+       if test "$host_cpu" = ia64; then
+-        shared_flag='-G'
++	shared_flag='${wl}-G'
+       else
+-        shared_flag='${wl}-bM:SRE'
++	if test "$aix_use_runtimelinking" = yes; then
++	  shared_flag='${wl}-G'
++	else
++	  shared_flag='${wl}-bM:SRE'
++	fi
+       fi
+-      hardcode_direct=yes
+     fi
+ 
+-    if test "$host_cpu" = ia64; then
+-      # On IA64, the linker does run time linking by default, so we don't
+-      # have to do anything special.
+-      aix_use_runtimelinking=no
+-      exp_sym_flag='-Bexport'
+-      no_entry_flag=""
+-    else
+-      # Test if we are trying to use run time linking, or normal AIX style linking.
+-      # If -brtl is somewhere in LDFLAGS, we need to do run time linking.
+-      aix_use_runtimelinking=no
+-      for ld_flag in $LDFLAGS; do
+-        if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl" ); then
+-          aix_use_runtimelinking=yes
+-          break
+-        fi
+-      done
+-      exp_sym_flag='-bexport'
+-      no_entry_flag='-bnoentry'
+-    fi
+     # It seems that -bexpall can do strange things, so it is better to
+     # generate a list of symbols to export.
+     always_export_symbols=yes
+     if test "$aix_use_runtimelinking" = yes; then
++      # Warning - without using the other runtime loading flags (-brtl),
++      # -berok will link without error, but may produce a broken library.
++      allow_undefined_flag='-berok'
+       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib'
+-      allow_undefined_flag=' -Wl,-G'
+-      archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
++      archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
+     else
+       if test "$host_cpu" = ia64; then
+-        hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
+-       allow_undefined_flag="-znodefs"
+-        archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
++	hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
++	allow_undefined_flag="-z nodefs"
++	archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
+       else
+-        hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib'
+-        # Warning - without using the other run time loading flags, -berok will
+-        #           link without error, but may produce a broken library.
+-        allow_undefined_flag='${wl}-berok"
+-        # This is a bit strange, but is similar to how AIX traditionally builds
+-        # it's shared libraries.
+-        archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $objdir/$libname$release.a $objdir/$soname'
++	hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib'
++	# Warning - without using the other run time loading flags,
++	# -berok will link without error, but may produce a broken library.
++	allow_undefined_flag='${wl}-berok'
++	# This is a bit strange, but is similar to how AIX traditionally builds
++	# it's shared libraries.
++	archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $objdir/$libname$release.a $objdir/$soname'
+       fi
+     fi
+     ;;
+@@ -5236,11 +6108,19 @@
+     ;;
+ 
+   darwin* | rhapsody*)
+-    allow_undefined_flag='-undefined suppress'
++    case "$host_os" in
++    rhapsody* | darwin1.[012])
++      allow_undefined_flag='-undefined suppress'
++      ;;
++    *) # Darwin 1.3 on
++      allow_undefined_flag='-flat_namespace -undefined suppress'
++      ;;
++    esac
+     # FIXME: Relying on posixy $() will cause problems for
+     #        cross-compilation, but unfortunately the echo tests do not
+-    #        yet detect zsh echo's removal of \ escapes.
+-    archive_cmds='$CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linkopts -install_name $rpath/$soname $(test -n "$verstring" -a x$verstring != x0.0 && echo $verstring)'
++    #        yet detect zsh echo's removal of \ escapes.  Also zsh mangles
++    #	     `"' quotes if we put them in here... so don't!
++    archive_cmds='$nonopt $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linker_flags -install_name $rpath/$soname $verstring'
+     # We need to add '_' to the symbols in $export_symbols first
+     #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
+     hardcode_direct=yes
+@@ -5292,7 +6172,7 @@
+     export_dynamic_flag_spec='${wl}-E'
+     ;;
+ 
+-  irix5* | irix6*)
++  irix5* | irix6* | nonstopux*)
+     if test "$GCC" = yes; then
+       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+     else
+@@ -5315,7 +6195,7 @@
+     ;;
+ 
+   newsos6)
+-    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linkopts'
++    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+     hardcode_direct=yes
+     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
+     hardcode_libdir_separator=:
+@@ -5323,10 +6203,24 @@
+     ;;
+ 
+   openbsd*)
+-    archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
+-    hardcode_libdir_flag_spec='-R$libdir'
+     hardcode_direct=yes
+     hardcode_shlibpath_var=no
++    if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
++      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
++      export_dynamic_flag_spec='${wl}-E'
++    else
++      case "$host_os" in
++      openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
++	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++	hardcode_libdir_flag_spec='-R$libdir'
++        ;;
++      *)
++        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
++        hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
++        ;;
++      esac
++    fi
+     ;;
+ 
+   os2*)
+@@ -5371,10 +6265,39 @@
+     hardcode_shlibpath_var=no
+     runpath_var=LD_RUN_PATH
+     hardcode_runpath_var=yes
++    export_dynamic_flag_spec='${wl}-Bexport'
+     ;;
+ 
+   solaris*)
++    # gcc --version < 3.0 without binutils cannot create self contained
++    # shared libraries reliably, requiring libgcc.a to resolve some of
++    # the object symbols generated in some cases.  Libraries that use
++    # assert need libgcc.a to resolve __eprintf, for example.  Linking
++    # a copy of libgcc.a into every shared library to guarantee resolving
++    # such symbols causes other problems:  According to Tim Van Holder
++    # <tim.van.holder@pandora.be>, C++ libraries end up with a separate
++    # (to the application) exception stack for one thing.
+     no_undefined_flag=' -z defs'
++    if test "$GCC" = yes; then
++      case `$CC --version 2>/dev/null` in
++      [12].*)
++	cat <<EOF 1>&2
++
++*** Warning: Releases of GCC earlier than version 3.0 cannot reliably
++*** create self contained shared libraries on Solaris systems, without
++*** introducing a dependency on libgcc.a.  Therefore, libtool is disabling
++*** -no-undefined support, which will at least allow you to build shared
++*** libraries.  However, you may find that when you link such libraries
++*** into an application without using GCC, you have to manually add
++*** \`gcc --print-libgcc-file-name\` to the link command.  We urge you to
++*** upgrade to a newer version of GCC.  Another option is to rebuild your
++*** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer.
++
++EOF
++        no_undefined_flag=
++	;;
++      esac
++    fi
+     # $CC -shared without GNU ld will not create a library from C++
+     # object files and a static libstdc++, better avoid it by now
+     archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
+@@ -5406,7 +6329,7 @@
+ 
+   sysv4)
+     if test "x$host_vendor" = xsno; then
+-      archive_cmds='$LD -G -Bsymbolic -h $soname -o $lib $libobjs $deplibs $linkopts'
++      archive_cmds='$LD -G -Bsymbolic -h $soname -o $lib $libobjs $deplibs $linker_flags'
+       hardcode_direct=yes # is this really true???
+     else
+       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+@@ -5481,12 +6404,12 @@
+     ;;
+   esac
+ fi
+-echo "$as_me:5484: result: $ld_shlibs" >&5
++echo "$as_me:$LINENO: result: $ld_shlibs" >&5
+ echo "${ECHO_T}$ld_shlibs" >&6
+ test "$ld_shlibs" = no && can_build_shared=no
+ 
+ # Check hardcoding attributes.
+-echo "$as_me:5489: checking how to hardcode library paths into programs" >&5
++echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
+ echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
+ hardcode_action=
+ if test -n "$hardcode_libdir_flag_spec" || \
+@@ -5510,20 +6433,20 @@
+   # directories.
+   hardcode_action=unsupported
+ fi
+-echo "$as_me:5513: result: $hardcode_action" >&5
++echo "$as_me:$LINENO: result: $hardcode_action" >&5
+ echo "${ECHO_T}$hardcode_action" >&6
+ 
+ striplib=
+ old_striplib=
+-echo "$as_me:5518: checking whether stripping libraries is possible" >&5
++echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
+ echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
+ if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
+   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
+   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
+-  echo "$as_me:5523: result: yes" >&5
++  echo "$as_me:$LINENO: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ else
+-  echo "$as_me:5526: result: no" >&5
++  echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+@@ -5531,7 +6454,7 @@
+ test -z "$deplibs_check_method" && deplibs_check_method=unknown
+ 
+ # PORTME Fill in your ld.so characteristics
+-echo "$as_me:5534: checking dynamic linker characteristics" >&5
++echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
+ echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
+ library_names_spec=
+ libname_spec='lib$name'
+@@ -5570,22 +6493,24 @@
+     # depend on `.', always an invalid library.  This was fixed in
+     # development snapshots of GCC prior to 3.0.
+     case $host_os in
+-       aix4 | aix4.[01] | aix4.[01].*)
+-      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
+-           echo ' yes '
+-           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
+-        :
+-      else
+-        can_build_shared=no
+-      fi
+-      ;;
++      aix4 | aix4.[01] | aix4.[01].*)
++	if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
++	     echo ' yes '
++	     echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
++	  :
++	else
++	  can_build_shared=no
++	fi
++	;;
+     esac
+-    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
+-    # soname into executable. Probably we can add versioning support to
+-    # collect2, so additional links can be useful in future.
++    # AIX (on Power*) has no versioning support, so currently we can
++    # not hardcode correct soname into executable. Probably we can
++    # add versioning support to collect2, so additional links can
++    # be useful in future.
+     if test "$aix_use_runtimelinking" = yes; then
+-      # If using run time linking (on AIX 4.2 or later) use lib<name>.so instead of
+-      # lib<name>.a to let people know that these are not typical AIX shared libraries.
++      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
++      # instead of lib<name>.a to let people know that these are not
++      # typical AIX shared libraries.
+       library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
+     else
+       # We preserve .a as extension for shared libraries through AIX4.2
+@@ -5594,7 +6519,6 @@
+       soname_spec='${libname}${release}.so$major'
+     fi
+     shlibpath_var=LIBPATH
+-    deplibs_check_method=pass_all
+   fi
+   ;;
+ 
+@@ -5726,14 +6650,17 @@
+   postinstall_cmds='chmod 555 $lib'
+   ;;
+ 
+-irix5* | irix6*)
+-  version_type=irix
++irix5* | irix6* | nonstopux*)
++  case $host_os in
++    nonstopux*) version_type=nonstopux ;;
++    *)          version_type=irix ;;
++  esac
+   need_lib_prefix=no
+   need_version=no
+   soname_spec='${libname}${release}.so$major'
+   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so'
+   case $host_os in
+-  irix5*)
++  irix5* | nonstopux*)
+     libsuff= shlibsuff=
+     ;;
+   *)
+@@ -5807,9 +6734,19 @@
+ 
+ openbsd*)
+   version_type=sunos
+-  if test "$with_gnu_ld" = yes; then
+-    need_lib_prefix=no
+-    need_version=no
++  need_lib_prefix=no
++  need_version=no
++  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
++    case "$host_os" in
++    openbsd2.[89] | openbsd2.[89].*)
++      shlibpath_overrides_runpath=no
++      ;;
++    *)
++      shlibpath_overrides_runpath=yes
++      ;;
++    esac
++  else
++    shlibpath_overrides_runpath=yes
+   fi
+   library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
+   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
+@@ -5827,6 +6764,7 @@
+ osf3* | osf4* | osf5*)
+   version_type=osf
+   need_version=no
++  need_lib_prefix=no
+   soname_spec='${libname}${release}.so'
+   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
+   shlibpath_var=LD_LIBRARY_PATH
+@@ -5913,16 +6851,47 @@
+   dynamic_linker=no
+   ;;
+ esac
+-echo "$as_me:5916: result: $dynamic_linker" >&5
++echo "$as_me:$LINENO: result: $dynamic_linker" >&5
+ echo "${ECHO_T}$dynamic_linker" >&6
+ test "$dynamic_linker" = no && can_build_shared=no
+ 
+ # Report the final consequences.
+-echo "$as_me:5921: checking if libtool supports shared libraries" >&5
++echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
+ echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
+-echo "$as_me:5923: result: $can_build_shared" >&5
++echo "$as_me:$LINENO: result: $can_build_shared" >&5
+ echo "${ECHO_T}$can_build_shared" >&6
+ 
++echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
++echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
++test "$can_build_shared" = "no" && enable_shared=no
++
++# On AIX, shared libraries and static libraries use the same namespace, and
++# are all built from PIC.
++case "$host_os" in
++aix3*)
++  test "$enable_shared" = yes && enable_static=no
++  if test -n "$RANLIB"; then
++    archive_cmds="$archive_cmds~\$RANLIB \$lib"
++    postinstall_cmds='$RANLIB $lib'
++  fi
++  ;;
++
++aix4*)
++  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
++    test "$enable_shared" = yes && enable_static=no
++  fi
++  ;;
++esac
++echo "$as_me:$LINENO: result: $enable_shared" >&5
++echo "${ECHO_T}$enable_shared" >&6
++
++echo "$as_me:$LINENO: checking whether to build static libraries" >&5
++echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
++# Make sure either enable_shared or enable_static is yes.
++test "$enable_shared" = yes || enable_static=yes
++echo "$as_me:$LINENO: result: $enable_static" >&5
++echo "${ECHO_T}$enable_static" >&6
++
+ if test "$hardcode_action" = relink; then
+   # Fast installation is not supported
+   enable_fast_install=no
+@@ -5958,15 +6927,82 @@
+    ;;
+ 
+   *)
+-    echo "$as_me:5961: checking for dlopen in -ldl" >&5
+-echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
+-if test "${ac_cv_lib_dl_dlopen+set}" = set; then
++    echo "$as_me:$LINENO: checking for shl_load" >&5
++echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
++if test "${ac_cv_func_shl_load+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char shl_load (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char shl_load ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_shl_load) || defined (__stub___shl_load)
++choke me
++#else
++f = shl_load;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_shl_load=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_shl_load=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
++echo "${ECHO_T}$ac_cv_func_shl_load" >&6
++if test $ac_cv_func_shl_load = yes; then
++  lt_cv_dlopen="shl_load"
++else
++  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
++echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
++if test "${ac_cv_lib_dld_shl_load+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   ac_check_lib_save_LIBS=$LIBS
+-LIBS="-ldl  $LIBS"
++LIBS="-ldld  $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 5969 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -5975,48 +7011,54 @@
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+-char dlopen ();
++char shl_load ();
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+-dlopen ();
++shl_load ();
+   ;
+   return 0;
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:5988: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:5991: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:5994: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:5997: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_lib_dl_dlopen=yes
++  ac_cv_lib_dld_shl_load=yes
+ else
+   echo "$as_me: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+-ac_cv_lib_dl_dlopen=no
++ac_cv_lib_dld_shl_load=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "$as_me:6008: result: $ac_cv_lib_dl_dlopen" >&5
+-echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
+-if test $ac_cv_lib_dl_dlopen = yes; then
+-  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
++echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
++echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
++if test $ac_cv_lib_dld_shl_load = yes; then
++  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
+ else
+-  echo "$as_me:6013: checking for dlopen" >&5
++  echo "$as_me:$LINENO: checking for dlopen" >&5
+ echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
+ if test "${ac_cv_func_dlopen+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 6019 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char dlopen (); below.  */
+@@ -6030,6 +7072,12 @@
+ char dlopen ();
+ char (*f) ();
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -6047,16 +7095,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:6050: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:6053: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:6056: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:6059: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_func_dlopen=yes
+ else
+@@ -6066,73 +7114,70 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:6069: result: $ac_cv_func_dlopen" >&5
++echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
+ echo "${ECHO_T}$ac_cv_func_dlopen" >&6
+ if test $ac_cv_func_dlopen = yes; then
+   lt_cv_dlopen="dlopen"
+ else
+-  echo "$as_me:6074: checking for shl_load" >&5
+-echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
+-if test "${ac_cv_func_shl_load+set}" = set; then
++  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
++echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
++if test "${ac_cv_lib_dl_dlopen+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<_ACEOF
+-#line 6080 "configure"
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ldl  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
+ #include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char shl_load (); below.  */
+-#include <assert.h>
++
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+-char shl_load ();
+-char (*f) ();
+-
++char dlopen ();
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ 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_shl_load) || defined (__stub___shl_load)
+-choke me
+-#else
+-f = shl_load;
+-#endif
+-
++dlopen ();
+   ;
+   return 0;
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:6111: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:6114: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:6117: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:6120: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_func_shl_load=yes
++  ac_cv_lib_dl_dlopen=yes
+ else
+   echo "$as_me: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+-ac_cv_func_shl_load=no
++ac_cv_lib_dl_dlopen=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "$as_me:6130: result: $ac_cv_func_shl_load" >&5
+-echo "${ECHO_T}$ac_cv_func_shl_load" >&6
+-if test $ac_cv_func_shl_load = yes; then
+-  lt_cv_dlopen="shl_load"
++echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
++echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
++if test $ac_cv_lib_dl_dlopen = yes; then
++  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
+ else
+-  echo "$as_me:6135: checking for dlopen in -lsvld" >&5
++  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
+ echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
+ if test "${ac_cv_lib_svld_dlopen+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -6140,7 +7185,7 @@
+   ac_check_lib_save_LIBS=$LIBS
+ LIBS="-lsvld  $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 6143 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -6150,6 +7195,12 @@
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+ char dlopen ();
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -6159,16 +7210,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:6162: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:6165: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:6168: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:6171: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_lib_svld_dlopen=yes
+ else
+@@ -6179,20 +7230,20 @@
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "$as_me:6182: result: $ac_cv_lib_svld_dlopen" >&5
++echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
+ echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
+ if test $ac_cv_lib_svld_dlopen = yes; then
+   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
+ else
+-  echo "$as_me:6187: checking for shl_load in -ldld" >&5
+-echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
+-if test "${ac_cv_lib_dld_shl_load+set}" = set; then
++  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
++echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
++if test "${ac_cv_lib_dld_dld_link+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   ac_check_lib_save_LIBS=$LIBS
+ LIBS="-ldld  $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 6195 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -6201,48 +7252,61 @@
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+-char shl_load ();
++char dld_link ();
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+-shl_load ();
++dld_link ();
+   ;
+   return 0;
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:6214: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:6217: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:6220: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:6223: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_lib_dld_shl_load=yes
++  ac_cv_lib_dld_dld_link=yes
+ else
+   echo "$as_me: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+-ac_cv_lib_dld_shl_load=no
++ac_cv_lib_dld_dld_link=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "$as_me:6234: result: $ac_cv_lib_dld_shl_load" >&5
+-echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
+-if test $ac_cv_lib_dld_shl_load = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
++echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
++if test $ac_cv_lib_dld_dld_link = yes; then
+   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
+ fi
+ 
++
++fi
++
++
+ fi
+ 
++
+ fi
+ 
++
+ fi
+ 
++
+ fi
+ 
+     ;;
+@@ -6265,7 +7329,7 @@
+     save_LIBS="$LIBS"
+     LIBS="$lt_cv_dlopen_libs $LIBS"
+ 
+-    echo "$as_me:6268: checking whether a program can dlopen itself" >&5
++    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
+ echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
+ if test "${lt_cv_dlopen_self+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -6276,7 +7340,7 @@
+     lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
+   lt_status=$lt_dlunknown
+   cat > conftest.$ac_ext <<EOF
+-#line 6279 "configure"
++#line 7343 "configure"
+ #include "confdefs.h"
+ 
+ #if HAVE_DLFCN_H
+@@ -6337,10 +7401,10 @@
+     exit (status);
+ }
+ EOF
+-  if { (eval echo "$as_me:6340: \"$ac_link\"") >&5
++  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:6343: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
+     (./conftest; exit; ) 2>/dev/null
+     lt_status=$?
+@@ -6356,13 +7420,14 @@
+ fi
+ rm -fr conftest*
+ 
++
+ fi
+-echo "$as_me:6360: result: $lt_cv_dlopen_self" >&5
++echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
+ echo "${ECHO_T}$lt_cv_dlopen_self" >&6
+ 
+     if test "x$lt_cv_dlopen_self" = xyes; then
+       LDFLAGS="$LDFLAGS $link_static_flag"
+-      echo "$as_me:6365: checking whether a statically linked program can dlopen itself" >&5
++      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
+ echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
+ if test "${lt_cv_dlopen_self_static+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -6373,7 +7438,7 @@
+     lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
+   lt_status=$lt_dlunknown
+   cat > conftest.$ac_ext <<EOF
+-#line 6376 "configure"
++#line 7441 "configure"
+ #include "confdefs.h"
+ 
+ #if HAVE_DLFCN_H
+@@ -6434,10 +7499,10 @@
+     exit (status);
+ }
+ EOF
+-  if { (eval echo "$as_me:6437: \"$ac_link\"") >&5
++  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:6440: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
+     (./conftest; exit; ) 2>/dev/null
+     lt_status=$?
+@@ -6453,8 +7518,9 @@
+ fi
+ rm -fr conftest*
+ 
++
+ fi
+-echo "$as_me:6457: result: $lt_cv_dlopen_self_static" >&5
++echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
+ echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
+     fi
+ 
+@@ -6475,6 +7541,7 @@
+   esac
+ fi
+ 
++
+ if test "$enable_shared" = yes && test "$GCC" = yes; then
+   case $archive_cmds in
+   *'~'*)
+@@ -6484,7 +7551,7 @@
+     # Test whether the compiler implicitly links with -lc since on some
+     # systems, -lgcc has to come before -lc. If gcc already passes -lc
+     # to ld, don't add -lc before -lgcc.
+-    echo "$as_me:6487: checking whether -lc should be explicitly linked in" >&5
++    echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
+ echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
+     if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -6492,10 +7559,10 @@
+   $rm conftest*
+     echo 'static int dummy;' > conftest.$ac_ext
+ 
+-    if { (eval echo "$as_me:6495: \"$ac_compile\"") >&5
++    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:6498: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; then
+       soname=conftest
+       lib=conftest
+@@ -6509,10 +7576,10 @@
+       libname=conftest
+       save_allow_undefined_flag=$allow_undefined_flag
+       allow_undefined_flag=
+-      if { (eval echo "$as_me:6512: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
++      if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
+   (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
+   ac_status=$?
+-  echo "$as_me:6515: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }
+       then
+ 	lt_cv_archive_cmds_need_lc=no
+@@ -6525,7 +7592,7 @@
+     fi
+ fi
+ 
+-    echo "$as_me:6528: result: $lt_cv_archive_cmds_need_lc" >&5
++    echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
+ echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
+     ;;
+   esac
+@@ -6566,6 +7633,7 @@
+     old_striplib striplib file_magic_cmd export_symbols_cmds \
+     deplibs_check_method allow_undefined_flag no_undefined_flag \
+     finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \
++    global_symbol_to_c_name_address \
+     hardcode_libdir_flag_spec hardcode_libdir_separator  \
+     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
+     compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do
+@@ -6632,12 +7700,12 @@
+ # Whether or not to build shared libraries.
+ build_libtool_libs=$enable_shared
+ 
+-# Whether or not to add -lc for building shared libraries.
+-build_libtool_need_lc=$need_lc
+-
+ # Whether or not to build static libraries.
+ build_old_libs=$enable_static
+ 
++# Whether or not to add -lc for building shared libraries.
++build_libtool_need_lc=$need_lc
++
+ # Whether or not to optimize for fast installation.
+ fast_install=$enable_fast_install
+ 
+@@ -6803,6 +7871,9 @@
+ # Transform the output of nm in a proper C declaration
+ global_symbol_to_cdecl=$lt_global_symbol_to_cdecl
+ 
++# Transform the output of nm in a C name address pair
++global_symbol_to_c_name_address=$lt_global_symbol_to_c_name_address
++
+ # This is the shared library runtime path variable.
+ runpath_var=$runpath_var
+ 
+@@ -6925,9 +7996,9 @@
+ #   return TRUE;
+ # }
+ # /* ltdll.c ends here */
+-        # This is a source program that is used to create import libraries
+-        # on Windows for dlls which lack them. Don't remove nor modify the
+-        # starting and closing comments
++	# This is a source program that is used to create import libraries
++	# on Windows for dlls which lack them. Don't remove nor modify the
++	# starting and closing comments
+ # /* impgen.c starts here */
+ # /*   Copyright (C) 1999-2000 Free Software Foundation, Inc.
+ #
+@@ -7078,6 +8149,10 @@
+   chmod +x "$ofile"
+ fi
+ 
++
++
++
++
+ # This can be used to rebuild libtool when needed
+ LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
+ 
+@@ -7086,6 +8161,9 @@
+ 
+ # Prevent multiple expansion
+ 
++
++
++
+ WFLAGS_NOUNUSED=""
+ WFLAGS_NOIMPLICITINT=""
+ if test -z "$WFLAGS" -a "$GCC" = "yes"; then
+@@ -7099,6 +8177,7 @@
+   WFLAGS_NOIMPLICITINT="-Wno-implicit-int"
+ fi
+ 
++
+ berkeley_db=db
+ 
+ # Check whether --with-berkeley-db or --without-berkeley-db was given.
+@@ -7115,29 +8194,69 @@
+ 
+ if test "$berkeley_db"; then
+ 
++
++
+ for ac_header in 				\
+ 	db.h					\
+ 	db_185.h				\
+ 
+ do
+ as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+-echo "$as_me:7124: checking for $ac_header" >&5
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo "$as_me:$LINENO: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
+ else
+-  cat >conftest.$ac_ext <<_ACEOF
+-#line 7130 "configure"
++  # Is the header compilable?
++echo "$as_me:$LINENO: checking $ac_header usability" >&5
++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++$ac_includes_default
++#include <$ac_header>
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_header_compiler=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_header_compiler=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
++echo "${ECHO_T}$ac_header_compiler" >&6
++
++# Is the header present?
++echo "$as_me:$LINENO: checking $ac_header presence" >&5
++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <$ac_header>
+ _ACEOF
+-if { (eval echo "$as_me:7134: \"$ac_cpp conftest.$ac_ext\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
+   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+   ac_status=$?
+   egrep -v '^ *\+' conftest.er1 >conftest.err
+   rm -f conftest.er1
+   cat conftest.err >&5
+-  echo "$as_me:7140: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } >/dev/null; then
+   if test -s conftest.err; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+@@ -7148,25 +8267,57 @@
+   ac_cpp_err=yes
+ fi
+ if test -z "$ac_cpp_err"; then
+-  eval "$as_ac_Header=yes"
++  ac_header_preproc=yes
+ else
+   echo "$as_me: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+-  eval "$as_ac_Header=no"
++  ac_header_preproc=no
+ fi
+ rm -f conftest.err conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
++echo "${ECHO_T}$ac_header_preproc" >&6
++
++# So?  What about this header?
++case $ac_header_compiler:$ac_header_preproc in
++  yes:no )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
++echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++  no:yes )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
++echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
++echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++esac
++echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  eval "$as_ac_Header=$ac_header_preproc"
+ fi
+-echo "$as_me:7159: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++
++fi
+ if test `eval echo '${'$as_ac_Header'}'` = yes; then
+-  cat >>confdefs.h <<EOF
++  cat >>confdefs.h <<_ACEOF
+ #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
+-EOF
++_ACEOF
+ 
+ fi
++
+ done
+ 
+-echo "$as_me:7169: checking for db_create" >&5
++
++
++
++
++
++echo "$as_me:$LINENO: checking for db_create" >&5
+ echo $ECHO_N "checking for db_create... $ECHO_C" >&6
+ if test "${ac_cv_funclib_db_create+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -7184,12 +8335,18 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 7187 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
+   #include <stdio.h>
+   #include <db.h>
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -7199,16 +8356,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:7202: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:7205: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:7208: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:7211: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_db_create=$ac_lib; else ac_cv_funclib_db_create=yes; fi";break
+ else
+@@ -7223,6 +8380,7 @@
+ 
+ fi
+ 
++
+ eval "ac_res=\$ac_cv_funclib_db_create"
+ 
+ if false; then
+@@ -7230,13 +8388,13 @@
+ for ac_func in db_create
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:7233: checking for $ac_func" >&5
++echo "$as_me:$LINENO: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 7239 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -7250,6 +8408,12 @@
+ char $ac_func ();
+ char (*f) ();
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -7267,16 +8431,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:7270: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:7273: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:7276: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:7279: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -7286,12 +8450,12 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:7289: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+-  cat >>confdefs.h <<EOF
++  cat >>confdefs.h <<_ACEOF
+ #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+-EOF
++_ACEOF
+ 
+ fi
+ done
+@@ -7306,35 +8470,37 @@
+ 	yes)
+ 	eval "ac_cv_func_db_create=yes"
+ 	eval "LIB_db_create="
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:7313: result: yes" >&5
++	echo "$as_me:$LINENO: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_db_create=no"
+ 	eval "LIB_db_create="
+-	echo "$as_me:7319: result: no" >&5
++	echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+ 	eval "ac_cv_func_db_create=yes"
+ 	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_lib 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:7333: result: yes, in $ac_res" >&5
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
++
++
+   if test "$ac_cv_func_db_create" = "yes"; then
+     db_type=db3
+     if test "$ac_cv_funclib_db_create" != "yes"; then
+@@ -7343,13 +8509,17 @@
+       DBLIB=""
+     fi
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define HAVE_DB3 1
+-EOF
++_ACEOF
+ 
+   else
+ 
+-echo "$as_me:7352: checking for dbopen" >&5
++
++
++
++
++echo "$as_me:$LINENO: checking for dbopen" >&5
+ echo $ECHO_N "checking for dbopen... $ECHO_C" >&6
+ if test "${ac_cv_funclib_dbopen+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -7367,7 +8537,7 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 7370 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
+     #include <stdio.h>
+@@ -7379,6 +8549,12 @@
+     #error no db.h
+     #endif
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -7388,16 +8564,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:7391: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:7394: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:7397: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:7400: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_dbopen=$ac_lib; else ac_cv_funclib_dbopen=yes; fi";break
+ else
+@@ -7412,6 +8588,7 @@
+ 
+ fi
+ 
++
+ eval "ac_res=\$ac_cv_funclib_dbopen"
+ 
+ if false; then
+@@ -7419,13 +8596,13 @@
+ for ac_func in dbopen
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:7422: checking for $ac_func" >&5
++echo "$as_me:$LINENO: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 7428 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -7439,6 +8616,12 @@
+ char $ac_func ();
+ char (*f) ();
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -7456,16 +8639,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:7459: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:7462: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:7465: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:7468: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -7475,12 +8658,12 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:7478: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+-  cat >>confdefs.h <<EOF
++  cat >>confdefs.h <<_ACEOF
+ #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+-EOF
++_ACEOF
+ 
+ fi
+ done
+@@ -7495,35 +8678,37 @@
+ 	yes)
+ 	eval "ac_cv_func_dbopen=yes"
+ 	eval "LIB_dbopen="
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:7502: result: yes" >&5
++	echo "$as_me:$LINENO: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_dbopen=no"
+ 	eval "LIB_dbopen="
+-	echo "$as_me:7508: result: no" >&5
++	echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+ 	eval "ac_cv_func_dbopen=yes"
+ 	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_lib 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:7522: result: yes, in $ac_res" >&5
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
++
++
+     if test "$ac_cv_func_dbopen" = "yes"; then
+       db_type=db1
+       if test "$ac_cv_funclib_dbopen" != "yes"; then
+@@ -7532,14 +8717,17 @@
+         DBLIB=""
+       fi
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define HAVE_DB1 1
+-EOF
++_ACEOF
+ 
+     fi
+   fi
+ 
+-echo "$as_me:7542: checking for dbm_firstkey" >&5
++
++
++
++echo "$as_me:$LINENO: checking for dbm_firstkey" >&5
+ echo $ECHO_N "checking for dbm_firstkey... $ECHO_C" >&6
+ if test "${ac_cv_funclib_dbm_firstkey+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -7557,7 +8745,7 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 7560 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
+   #include <stdio.h>
+@@ -7565,6 +8753,12 @@
+   #include <db.h>
+   DBM *dbm;
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -7574,16 +8768,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:7577: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:7580: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:7583: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:7586: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_dbm_firstkey=$ac_lib; else ac_cv_funclib_dbm_firstkey=yes; fi";break
+ else
+@@ -7598,6 +8792,7 @@
+ 
+ fi
+ 
++
+ eval "ac_res=\$ac_cv_funclib_dbm_firstkey"
+ 
+ if false; then
+@@ -7605,13 +8800,13 @@
+ for ac_func in dbm_firstkey
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:7608: checking for $ac_func" >&5
++echo "$as_me:$LINENO: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 7614 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -7625,6 +8820,12 @@
+ char $ac_func ();
+ char (*f) ();
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -7642,16 +8843,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:7645: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:7648: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:7651: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:7654: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -7661,12 +8862,12 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:7664: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+-  cat >>confdefs.h <<EOF
++  cat >>confdefs.h <<_ACEOF
+ #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+-EOF
++_ACEOF
+ 
+ fi
+ done
+@@ -7681,35 +8882,37 @@
+ 	yes)
+ 	eval "ac_cv_func_dbm_firstkey=yes"
+ 	eval "LIB_dbm_firstkey="
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:7688: result: yes" >&5
++	echo "$as_me:$LINENO: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_dbm_firstkey=no"
+ 	eval "LIB_dbm_firstkey="
+-	echo "$as_me:7694: result: no" >&5
++	echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+ 	eval "ac_cv_func_dbm_firstkey=yes"
+ 	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_lib 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:7708: result: yes, in $ac_res" >&5
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
++
++
+   if test "$ac_cv_func_dbm_firstkey" = "yes"; then
+     if test "$ac_cv_funclib_dbm_firstkey" != "yes"; then
+       LIB_NDBM="$ac_cv_funclib_dbm_firstkey"
+@@ -7717,9 +8920,9 @@
+       LIB_NDBM=""
+     fi
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define HAVE_DB_NDBM 1
+-EOF
++_ACEOF
+ 
+   else
+     $as_unset ac_cv_func_dbm_firstkey
+@@ -7730,29 +8933,69 @@
+ 
+ if test "$db_type" = "unknown" -o "$ac_cv_func_dbm_firstkey" = ""; then
+ 
++
++
+ for ac_header in 				\
+ 	dbm.h					\
+ 	ndbm.h					\
+ 
+ do
+ as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+-echo "$as_me:7739: checking for $ac_header" >&5
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo "$as_me:$LINENO: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
+ else
+-  cat >conftest.$ac_ext <<_ACEOF
+-#line 7745 "configure"
++  # Is the header compilable?
++echo "$as_me:$LINENO: checking $ac_header usability" >&5
++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++$ac_includes_default
++#include <$ac_header>
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_header_compiler=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_header_compiler=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
++echo "${ECHO_T}$ac_header_compiler" >&6
++
++# Is the header present?
++echo "$as_me:$LINENO: checking $ac_header presence" >&5
++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <$ac_header>
+ _ACEOF
+-if { (eval echo "$as_me:7749: \"$ac_cpp conftest.$ac_ext\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
+   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+   ac_status=$?
+   egrep -v '^ *\+' conftest.er1 >conftest.err
+   rm -f conftest.er1
+   cat conftest.err >&5
+-  echo "$as_me:7755: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } >/dev/null; then
+   if test -s conftest.err; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+@@ -7763,25 +9006,56 @@
+   ac_cpp_err=yes
+ fi
+ if test -z "$ac_cpp_err"; then
+-  eval "$as_ac_Header=yes"
++  ac_header_preproc=yes
+ else
+   echo "$as_me: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+-  eval "$as_ac_Header=no"
++  ac_header_preproc=no
+ fi
+ rm -f conftest.err conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
++echo "${ECHO_T}$ac_header_preproc" >&6
++
++# So?  What about this header?
++case $ac_header_compiler:$ac_header_preproc in
++  yes:no )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
++echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++  no:yes )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
++echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
++echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++esac
++echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  eval "$as_ac_Header=$ac_header_preproc"
+ fi
+-echo "$as_me:7774: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++
++fi
+ if test `eval echo '${'$as_ac_Header'}'` = yes; then
+-  cat >>confdefs.h <<EOF
++  cat >>confdefs.h <<_ACEOF
+ #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
+-EOF
++_ACEOF
+ 
+ fi
++
+ done
+ 
+-echo "$as_me:7784: checking for dbm_firstkey" >&5
++
++
++
++
++echo "$as_me:$LINENO: checking for dbm_firstkey" >&5
+ echo $ECHO_N "checking for dbm_firstkey... $ECHO_C" >&6
+ if test "${ac_cv_funclib_dbm_firstkey+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -7799,7 +9073,7 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 7802 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
+   #include <stdio.h>
+@@ -7812,6 +9086,12 @@
+   #endif
+   DBM *dbm;
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -7821,16 +9101,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:7824: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:7827: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:7830: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:7833: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_dbm_firstkey=$ac_lib; else ac_cv_funclib_dbm_firstkey=yes; fi";break
+ else
+@@ -7845,6 +9125,7 @@
+ 
+ fi
+ 
++
+ eval "ac_res=\$ac_cv_funclib_dbm_firstkey"
+ 
+ if false; then
+@@ -7852,13 +9133,13 @@
+ for ac_func in dbm_firstkey
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:7855: checking for $ac_func" >&5
++echo "$as_me:$LINENO: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 7861 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -7872,6 +9153,12 @@
+ char $ac_func ();
+ char (*f) ();
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -7889,16 +9176,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:7892: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:7895: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:7898: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:7901: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -7908,12 +9195,12 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:7911: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+-  cat >>confdefs.h <<EOF
++  cat >>confdefs.h <<_ACEOF
+ #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+-EOF
++_ACEOF
+ 
+ fi
+ done
+@@ -7928,35 +9215,37 @@
+ 	yes)
+ 	eval "ac_cv_func_dbm_firstkey=yes"
+ 	eval "LIB_dbm_firstkey="
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:7935: result: yes" >&5
++	echo "$as_me:$LINENO: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_dbm_firstkey=no"
+ 	eval "LIB_dbm_firstkey="
+-	echo "$as_me:7941: result: no" >&5
++	echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+ 	eval "ac_cv_func_dbm_firstkey=yes"
+ 	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_lib 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:7955: result: yes, in $ac_res" >&5
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
++
++
+   if test "$ac_cv_func_dbm_firstkey" = "yes"; then
+     if test "$ac_cv_funclib_dbm_firstkey" != "yes"; then
+       LIB_NDBM="$ac_cv_funclib_dbm_firstkey"
+@@ -7964,9 +9253,9 @@
+       LIB_NDBM=""
+     fi
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define HAVE_NDBM 1
+-EOF
++_ACEOF
+     if test "$db_type" = "unknown"; then
+       db_type=ndbm
+       DBLIB="$LIB_NDBM"
+@@ -7976,28 +9265,67 @@
+     $as_unset ac_cv_func_dbm_firstkey
+     $as_unset ac_cv_funclib_dbm_firstkey
+ 
++
+ for ac_header in 				\
+ 	  gdbm/ndbm.h				\
+ 
+ do
+ as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+-echo "$as_me:7984: checking for $ac_header" >&5
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo "$as_me:$LINENO: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
+ else
+-  cat >conftest.$ac_ext <<_ACEOF
+-#line 7990 "configure"
++  # Is the header compilable?
++echo "$as_me:$LINENO: checking $ac_header usability" >&5
++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++$ac_includes_default
++#include <$ac_header>
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_header_compiler=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_header_compiler=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
++echo "${ECHO_T}$ac_header_compiler" >&6
++
++# Is the header present?
++echo "$as_me:$LINENO: checking $ac_header presence" >&5
++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <$ac_header>
+ _ACEOF
+-if { (eval echo "$as_me:7994: \"$ac_cpp conftest.$ac_ext\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
+   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+   ac_status=$?
+   egrep -v '^ *\+' conftest.er1 >conftest.err
+   rm -f conftest.er1
+   cat conftest.err >&5
+-  echo "$as_me:8000: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } >/dev/null; then
+   if test -s conftest.err; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+@@ -8008,25 +9336,56 @@
+   ac_cpp_err=yes
+ fi
+ if test -z "$ac_cpp_err"; then
+-  eval "$as_ac_Header=yes"
++  ac_header_preproc=yes
+ else
+   echo "$as_me: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+-  eval "$as_ac_Header=no"
++  ac_header_preproc=no
+ fi
+ rm -f conftest.err conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
++echo "${ECHO_T}$ac_header_preproc" >&6
++
++# So?  What about this header?
++case $ac_header_compiler:$ac_header_preproc in
++  yes:no )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
++echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++  no:yes )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
++echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
++echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++esac
++echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  eval "$as_ac_Header=$ac_header_preproc"
+ fi
+-echo "$as_me:8019: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++
++fi
+ if test `eval echo '${'$as_ac_Header'}'` = yes; then
+-  cat >>confdefs.h <<EOF
++  cat >>confdefs.h <<_ACEOF
+ #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
+-EOF
++_ACEOF
+ 
+ fi
++
+ done
+ 
+-echo "$as_me:8029: checking for dbm_firstkey" >&5
++
++
++
++
++echo "$as_me:$LINENO: checking for dbm_firstkey" >&5
+ echo $ECHO_N "checking for dbm_firstkey... $ECHO_C" >&6
+ if test "${ac_cv_funclib_dbm_firstkey+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -8044,13 +9403,19 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 8047 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
+     #include <stdio.h>
+     #include <gdbm/ndbm.h>
+     DBM *dbm;
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -8060,16 +9425,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:8063: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:8066: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:8069: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:8072: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_dbm_firstkey=$ac_lib; else ac_cv_funclib_dbm_firstkey=yes; fi";break
+ else
+@@ -8084,6 +9449,7 @@
+ 
+ fi
+ 
++
+ eval "ac_res=\$ac_cv_funclib_dbm_firstkey"
+ 
+ if false; then
+@@ -8091,13 +9457,13 @@
+ for ac_func in dbm_firstkey
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:8094: checking for $ac_func" >&5
++echo "$as_me:$LINENO: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 8100 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -8111,6 +9477,12 @@
+ char $ac_func ();
+ char (*f) ();
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -8128,16 +9500,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:8131: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:8134: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:8137: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:8140: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -8147,12 +9519,12 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:8150: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+-  cat >>confdefs.h <<EOF
++  cat >>confdefs.h <<_ACEOF
+ #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+-EOF
++_ACEOF
+ 
+ fi
+ done
+@@ -8167,35 +9539,37 @@
+ 	yes)
+ 	eval "ac_cv_func_dbm_firstkey=yes"
+ 	eval "LIB_dbm_firstkey="
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:8174: result: yes" >&5
++	echo "$as_me:$LINENO: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_dbm_firstkey=no"
+ 	eval "LIB_dbm_firstkey="
+-	echo "$as_me:8180: result: no" >&5
++	echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+ 	eval "ac_cv_func_dbm_firstkey=yes"
+ 	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_lib 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:8194: result: yes, in $ac_res" >&5
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
++
++
+     if test "$ac_cv_func_dbm_firstkey" = "yes"; then
+       if test "$ac_cv_funclib_dbm_firstkey" != "yes"; then
+ 	LIB_NDBM="$ac_cv_funclib_dbm_firstkey"
+@@ -8203,9 +9577,9 @@
+ 	LIB_NDBM=""
+       fi
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define HAVE_NDBM 1
+-EOF
++_ACEOF
+       if test "$db_type" = "unknown"; then
+ 	db_type=ndbm
+ 	DBLIB="$LIB_NDBM"
+@@ -8215,15 +9589,286 @@
+ 
+ fi # unknown
+ 
+-echo "$as_me:8218: checking for inline" >&5
+-echo $ECHO_N "checking for inline... $ECHO_C" >&6
+-if test "${ac_cv_c_inline+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
++
++
++
++
++# Check whether --with-roken or --without-roken was given.
++if test "${with_roken+set}" = set; then
++  withval="$with_roken"
++  if test "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: roken is required" >&5
++echo "$as_me: error: roken is required" >&2;}
++   { (exit 1); exit 1; }; }
++fi
++fi;
++
++save_CPPFLAGS="${CPPFLAGS}"
++
++case $with_roken in
++yes|"")
++  dirs="/usr/heimdal /usr/athena" ;;
++*)
++  dirs="$with_roken" ;;
++esac
++
++roken_installed=no
++
++for i in $dirs; do
++
++echo "$as_me:$LINENO: checking for roken in $i" >&5
++echo $ECHO_N "checking for roken in $i... $ECHO_C" >&6
++
++CPPFLAGS="-I$i/include ${CPPFLAGS}"
++
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <roken.h>
++//#if ROKEN_VERSION < 10
++//#error old roken version, should be 10
++//fail
++//#endif
++
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  egrep -v '^ *\+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  roken_installed=yes; break
++else
++  echo "$as_me: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_ext
++
++echo "$as_me:$LINENO: result: $roken_installed" >&5
++echo "${ECHO_T}$roken_installed" >&6
++
++done
++
++CPPFLAGS="$save_CPPFLAGS"
++
++if test "$roken_installed" != "yes"; then
++  DIR_roken="roken"
++  LIB_roken='$(top_builddir)/lib/roken/libroken.la'
++  CPPFLAGS_roken='-I$(top_builddir)/lib/roken -I$(top_srcdir)/lib/roken'
++else
++  LIB_roken="$i/lib/libroken.la"
++  CPPFLAGS_roken="-I$i/include"
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking for crypt" >&5
++echo $ECHO_N "checking for crypt... $ECHO_C" >&6
++if test "${ac_cv_funclib_crypt+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++
++if eval "test \"\$ac_cv_func_crypt\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" crypt; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++crypt()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_crypt=$ac_lib; else ac_cv_funclib_crypt=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_crypt=\${ac_cv_funclib_crypt-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_crypt"
++
++if false; then
++
++for ac_func in crypt
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++
++fi
++done
++
++fi
++# crypt
++eval "ac_tr_func=HAVE_`echo crypt | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_crypt=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_crypt=yes"
++	eval "LIB_crypt="
++	cat >>confdefs.h <<_ACEOF
++#define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_crypt=no"
++	eval "LIB_crypt="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_crypt=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++#define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++#define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++LIB_roken="${LIB_roken} \$(LIB_crypt) \$(LIB_dbopen)"
++
++
++if ! test "$roken_installed" = yes; then
++
++
++echo "$as_me:$LINENO: checking for inline" >&5
++echo $ECHO_N "checking for inline... $ECHO_C" >&6
++if test "${ac_cv_c_inline+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   ac_cv_c_inline=no
+ for ac_kw in inline __inline__ __inline; do
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 8226 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #ifndef __cplusplus
+ static $ac_kw int static_foo () {return 0; }
+@@ -8232,16 +9877,16 @@
+ 
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:8235: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:8238: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:8241: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:8244: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_c_inline=$ac_kw; break
+ else
+@@ -8252,30 +9897,36 @@
+ done
+ 
+ fi
+-echo "$as_me:8255: result: $ac_cv_c_inline" >&5
++echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
+ echo "${ECHO_T}$ac_cv_c_inline" >&6
+ case $ac_cv_c_inline in
+   inline | yes) ;;
+   no)
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define inline
+-EOF
++_ACEOF
+  ;;
+-  *)  cat >>confdefs.h <<EOF
++  *)  cat >>confdefs.h <<_ACEOF
+ #define inline $ac_cv_c_inline
+-EOF
++_ACEOF
+  ;;
+ esac
+ 
+-echo "$as_me:8270: checking for an ANSI C-conforming const" >&5
++echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
+ echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
+ if test "${ac_cv_c_const+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 8276 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -8331,16 +9982,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:8334: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:8337: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:8340: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:8343: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_c_const=yes
+ else
+@@ -8350,232 +10001,53 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:8353: result: $ac_cv_c_const" >&5
++echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
+ echo "${ECHO_T}$ac_cv_c_const" >&6
+ if test $ac_cv_c_const = no; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define const
+-EOF
++_ACEOF
+ 
+ fi
+ 
+-echo "$as_me:8363: checking for ANSI C header files" >&5
+-echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
+-if test "${ac_cv_header_stdc+set}" = set; then
++echo "$as_me:$LINENO: checking for size_t" >&5
++echo $ECHO_N "checking for size_t... $ECHO_C" >&6
++if test "${ac_cv_type_size_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 8369 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+-#include <stdlib.h>
+-#include <stdarg.h>
+-#include <string.h>
+-#include <float.h>
+-
++$ac_includes_default
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++if ((size_t *) 0)
++  return 0;
++if (sizeof (size_t))
++  return 0;
++  ;
++  return 0;
++}
+ _ACEOF
+-if { (eval echo "$as_me:8377: \"$ac_cpp conftest.$ac_ext\"") >&5
+-  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
+   ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
+-  rm -f conftest.er1
+-  cat conftest.err >&5
+-  echo "$as_me:8383: \$? = $ac_status" >&5
+-  (exit $ac_status); } >/dev/null; then
+-  if test -s conftest.err; then
+-    ac_cpp_err=$ac_c_preproc_warn_flag
+-  else
+-    ac_cpp_err=
+-  fi
+-else
+-  ac_cpp_err=yes
+-fi
+-if test -z "$ac_cpp_err"; then
+-  ac_cv_header_stdc=yes
+-else
+-  echo "$as_me: failed program was:" >&5
+-  cat conftest.$ac_ext >&5
+-  ac_cv_header_stdc=no
+-fi
+-rm -f conftest.err conftest.$ac_ext
+-
+-if test $ac_cv_header_stdc = yes; then
+-  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
+-  cat >conftest.$ac_ext <<_ACEOF
+-#line 8405 "configure"
+-#include "confdefs.h"
+-#include <string.h>
+-
+-_ACEOF
+-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+-  egrep "memchr" >/dev/null 2>&1; then
+-  :
+-else
+-  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 <<_ACEOF
+-#line 8423 "configure"
+-#include "confdefs.h"
+-#include <stdlib.h>
+-
+-_ACEOF
+-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+-  egrep "free" >/dev/null 2>&1; then
+-  :
+-else
+-  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 <<_ACEOF
+-#line 8444 "configure"
+-#include "confdefs.h"
+-#include <ctype.h>
+-#if ((' ' & 0x0FF) == 0x020)
+-# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
+-# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
+-#else
+-# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
+-                     || ('j' <= (c) && (c) <= 'r') \
+-                     || ('s' <= (c) && (c) <= 'z'))
+-# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
+-#endif
+-
+-#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);
+-}
+-_ACEOF
+-rm -f conftest$ac_exeext
+-if { (eval echo "$as_me:8470: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:8473: \$? = $ac_status" >&5
+-  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
+-  { (eval echo "$as_me:8475: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:8478: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
+-  :
+-else
+-  echo "$as_me: program exited with status $ac_status" >&5
+-echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_header_stdc=no
+-fi
+-rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
+-fi
+-fi
+-fi
+-echo "$as_me:8491: result: $ac_cv_header_stdc" >&5
+-echo "${ECHO_T}$ac_cv_header_stdc" >&6
+-if test $ac_cv_header_stdc = yes; then
+-
+-cat >>confdefs.h <<\EOF
+-#define STDC_HEADERS 1
+-EOF
+-
+-fi
+-
+-# On IRIX 5.3, sys/types and inttypes.h are conflicting.
+-
+-for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
+-                  inttypes.h stdint.h unistd.h
+-do
+-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+-echo "$as_me:8507: checking for $ac_header" >&5
+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+-if eval "test \"\${$as_ac_Header+set}\" = set"; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  cat >conftest.$ac_ext <<_ACEOF
+-#line 8513 "configure"
+-#include "confdefs.h"
+-$ac_includes_default
+-#include <$ac_header>
+-_ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:8519: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:8522: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:8525: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:8528: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
+-  eval "$as_ac_Header=yes"
+-else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$as_ac_Header=no"
+-fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
+-fi
+-echo "$as_me:8538: result: `eval echo '${'$as_ac_Header'}'`" >&5
+-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
+-if test `eval echo '${'$as_ac_Header'}'` = yes; then
+-  cat >>confdefs.h <<EOF
+-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
+-EOF
+-
+-fi
+-done
+-
+-echo "$as_me:8548: checking for size_t" >&5
+-echo $ECHO_N "checking for size_t... $ECHO_C" >&6
+-if test "${ac_cv_type_size_t+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  cat >conftest.$ac_ext <<_ACEOF
+-#line 8554 "configure"
+-#include "confdefs.h"
+-$ac_includes_default
+-int
+-main ()
+-{
+-if ((size_t *) 0)
+-  return 0;
+-if (sizeof (size_t))
+-  return 0;
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:8569: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:8572: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:8575: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:8578: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_type_size_t=yes
+ else
+@@ -8585,27 +10057,33 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:8588: result: $ac_cv_type_size_t" >&5
++echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
+ echo "${ECHO_T}$ac_cv_type_size_t" >&6
+ if test $ac_cv_type_size_t = yes; then
+   :
+ else
+ 
+-cat >>confdefs.h <<EOF
++cat >>confdefs.h <<_ACEOF
+ #define size_t unsigned
+-EOF
++_ACEOF
+ 
+ fi
+ 
+-echo "$as_me:8600: checking for pid_t" >&5
++echo "$as_me:$LINENO: checking for pid_t" >&5
+ echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
+ if test "${ac_cv_type_pid_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 8606 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ $ac_includes_default
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -8618,16 +10096,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:8621: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:8624: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:8627: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:8630: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_type_pid_t=yes
+ else
+@@ -8637,25 +10115,25 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:8640: result: $ac_cv_type_pid_t" >&5
++echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
+ echo "${ECHO_T}$ac_cv_type_pid_t" >&6
+ if test $ac_cv_type_pid_t = yes; then
+   :
+ else
+ 
+-cat >>confdefs.h <<EOF
++cat >>confdefs.h <<_ACEOF
+ #define pid_t int
+-EOF
++_ACEOF
+ 
+ fi
+ 
+-echo "$as_me:8652: checking for uid_t in sys/types.h" >&5
++echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
+ echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
+ if test "${ac_cv_type_uid_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 8658 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ 
+@@ -8669,27 +10147,29 @@
+ rm -f conftest*
+ 
+ fi
+-echo "$as_me:8672: result: $ac_cv_type_uid_t" >&5
++echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
+ echo "${ECHO_T}$ac_cv_type_uid_t" >&6
+ if test $ac_cv_type_uid_t = no; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define uid_t int
+-EOF
++_ACEOF
++
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define gid_t int
+-EOF
++_ACEOF
+ 
+ fi
+ 
+-echo "$as_me:8686: checking return type of signal handlers" >&5
++
++echo "$as_me:$LINENO: checking return type of signal handlers" >&5
+ echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
+ if test "${ac_cv_type_signal+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 8692 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #include <signal.h>
+@@ -8702,6 +10182,12 @@
+ void (*signal ()) ();
+ #endif
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -8711,16 +10197,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:8714: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:8717: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:8720: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:8723: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_type_signal=void
+ else
+@@ -8730,33 +10216,43 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:8733: result: $ac_cv_type_signal" >&5
++echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
+ echo "${ECHO_T}$ac_cv_type_signal" >&6
+ 
+-cat >>confdefs.h <<EOF
++cat >>confdefs.h <<_ACEOF
+ #define RETSIGTYPE $ac_cv_type_signal
+-EOF
++_ACEOF
++
+ 
+ if test "$ac_cv_type_signal" = "void" ; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define VOID_RETSIGTYPE 1
+-EOF
++_ACEOF
+ 
+ fi
+ 
+-echo "$as_me:8748: checking whether time.h and sys/time.h may both be included" >&5
++
++
++
++echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
+ echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
+ if test "${ac_cv_header_time+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 8754 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #include <sys/time.h>
+ #include <time.h>
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -8767,16 +10263,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:8770: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:8773: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:8776: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:8779: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_header_time=yes
+ else
+@@ -8786,36 +10282,76 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:8789: result: $ac_cv_header_time" >&5
++echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
+ echo "${ECHO_T}$ac_cv_header_time" >&6
+ if test $ac_cv_header_time = yes; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define TIME_WITH_SYS_TIME 1
+-EOF
++_ACEOF
+ 
+ fi
+ 
++
++
+ for ac_header in standards.h
+ do
+ as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+-echo "$as_me:8802: checking for $ac_header" >&5
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo "$as_me:$LINENO: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
+ else
+-  cat >conftest.$ac_ext <<_ACEOF
+-#line 8808 "configure"
++  # Is the header compilable?
++echo "$as_me:$LINENO: checking $ac_header usability" >&5
++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++$ac_includes_default
++#include <$ac_header>
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_header_compiler=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_header_compiler=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
++echo "${ECHO_T}$ac_header_compiler" >&6
++
++# Is the header present?
++echo "$as_me:$LINENO: checking $ac_header presence" >&5
++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <$ac_header>
+ _ACEOF
+-if { (eval echo "$as_me:8812: \"$ac_cpp conftest.$ac_ext\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
+   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+   ac_status=$?
+   egrep -v '^ *\+' conftest.er1 >conftest.err
+   rm -f conftest.er1
+   cat conftest.err >&5
+-  echo "$as_me:8818: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } >/dev/null; then
+   if test -s conftest.err; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+@@ -8826,35 +10362,62 @@
+   ac_cpp_err=yes
+ fi
+ if test -z "$ac_cpp_err"; then
+-  eval "$as_ac_Header=yes"
++  ac_header_preproc=yes
+ else
+   echo "$as_me: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+-  eval "$as_ac_Header=no"
++  ac_header_preproc=no
+ fi
+ rm -f conftest.err conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
++echo "${ECHO_T}$ac_header_preproc" >&6
++
++# So?  What about this header?
++case $ac_header_compiler:$ac_header_preproc in
++  yes:no )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
++echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++  no:yes )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
++echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
++echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++esac
++echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  eval "$as_ac_Header=$ac_header_preproc"
+ fi
+-echo "$as_me:8837: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++
++fi
+ if test `eval echo '${'$as_ac_Header'}'` = yes; then
+-  cat >>confdefs.h <<EOF
++  cat >>confdefs.h <<_ACEOF
+ #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
+-EOF
++_ACEOF
+ 
+ fi
++
+ done
+ 
+ for i in netinet/ip.h netinet/tcp.h; do
+ 
+ cv=`echo "$i" | sed 'y%./+-%__p_%'`
+ 
+-echo "$as_me:8851: checking for $i" >&5
++echo "$as_me:$LINENO: checking for $i" >&5
+ echo $ECHO_N "checking for $i... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_header_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 8857 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ \
+ #ifdef HAVE_STANDARDS_H
+@@ -8863,13 +10426,13 @@
+ #include <$i>
+ 
+ _ACEOF
+-if { (eval echo "$as_me:8866: \"$ac_cpp conftest.$ac_ext\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
+   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+   ac_status=$?
+   egrep -v '^ *\+' conftest.er1 >conftest.err
+   rm -f conftest.er1
+   cat conftest.err >&5
+-  echo "$as_me:8872: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } >/dev/null; then
+   if test -s conftest.err; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+@@ -8888,39 +10451,78 @@
+ fi
+ rm -f conftest.err conftest.$ac_ext
+ fi
+-echo "$as_me:8891: result: `eval echo '${'ac_cv_header_$cv'}'`" >&5
++echo "$as_me:$LINENO: result: `eval echo '${'ac_cv_header_$cv'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'ac_cv_header_$cv'}'`" >&6
+ ac_res=`eval echo \\$ac_cv_header_$cv`
+ if test "$ac_res" = yes; then
+ 	ac_tr_hdr=HAVE_`echo $i | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_hdr 1
+-EOF
++_ACEOF
+ 
+ fi
+ done
+ if false;then
+ 
++
+ for ac_header in netinet/ip.h netinet/tcp.h
+ do
+ as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+-echo "$as_me:8907: checking for $ac_header" >&5
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo "$as_me:$LINENO: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
+ else
+-  cat >conftest.$ac_ext <<_ACEOF
+-#line 8913 "configure"
++  # Is the header compilable?
++echo "$as_me:$LINENO: checking $ac_header usability" >&5
++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++$ac_includes_default
++#include <$ac_header>
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_header_compiler=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_header_compiler=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
++echo "${ECHO_T}$ac_header_compiler" >&6
++
++# Is the header present?
++echo "$as_me:$LINENO: checking $ac_header presence" >&5
++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <$ac_header>
+ _ACEOF
+-if { (eval echo "$as_me:8917: \"$ac_cpp conftest.$ac_ext\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
+   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+   ac_status=$?
+   egrep -v '^ *\+' conftest.er1 >conftest.err
+   rm -f conftest.er1
+   cat conftest.err >&5
+-  echo "$as_me:8923: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } >/dev/null; then
+   if test -s conftest.err; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+@@ -8931,36 +10533,66 @@
+   ac_cpp_err=yes
+ fi
+ if test -z "$ac_cpp_err"; then
+-  eval "$as_ac_Header=yes"
++  ac_header_preproc=yes
+ else
+   echo "$as_me: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+-  eval "$as_ac_Header=no"
++  ac_header_preproc=no
+ fi
+ rm -f conftest.err conftest.$ac_ext
+-fi
+-echo "$as_me:8942: result: `eval echo '${'$as_ac_Header'}'`" >&5
+-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
+-if test `eval echo '${'$as_ac_Header'}'` = yes; then
+-  cat >>confdefs.h <<EOF
+-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
+-EOF
++echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
++echo "${ECHO_T}$ac_header_preproc" >&6
++
++# So?  What about this header?
++case $ac_header_compiler:$ac_header_preproc in
++  yes:no )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
++echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++  no:yes )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
++echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
++echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++esac
++echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  eval "$as_ac_Header=$ac_header_preproc"
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
+ 
+ fi
++if test `eval echo '${'$as_ac_Header'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
++_ACEOF
++
++fi
++
+ done
+ 
+ fi
+ 
++
++
++
+ for ac_func in getlogin setlogin
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:8957: checking for $ac_func" >&5
++echo "$as_me:$LINENO: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 8963 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -8974,6 +10606,12 @@
+ char $ac_func ();
+ char (*f) ();
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -8991,16 +10629,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:8994: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:8997: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:9000: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:9003: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -9010,18 +10648,18 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:9013: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+-  cat >>confdefs.h <<EOF
++  cat >>confdefs.h <<_ACEOF
+ #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+-EOF
++_ACEOF
+ 
+ fi
+ done
+ 
+ if test "$ac_cv_func_getlogin" = yes; then
+-echo "$as_me:9024: checking if getlogin is posix" >&5
++echo "$as_me:$LINENO: checking if getlogin is posix" >&5
+ echo $ECHO_N "checking if getlogin is posix... $ECHO_C" >&6
+ if test "${ac_cv_func_getlogin_posix+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -9034,18 +10672,19 @@
+ fi
+ 
+ fi
+-echo "$as_me:9037: result: $ac_cv_func_getlogin_posix" >&5
++echo "$as_me:$LINENO: result: $ac_cv_func_getlogin_posix" >&5
+ echo "${ECHO_T}$ac_cv_func_getlogin_posix" >&6
+ if test "$ac_cv_func_getlogin_posix" = yes; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define POSIX_GETLOGIN 1
+-EOF
++_ACEOF
+ 
+ fi
+ fi
+ 
+-echo "$as_me:9048: checking if realloc if broken" >&5
++
++echo "$as_me:$LINENO: checking if realloc if broken" >&5
+ echo $ECHO_N "checking if realloc if broken... $ECHO_C" >&6
+ if test "${ac_cv_func_realloc_broken+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -9056,7 +10695,7 @@
+   :
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 9059 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
+ #include <stddef.h>
+@@ -9069,41 +10708,61 @@
+ 
+ _ACEOF
+ rm -f conftest$ac_exeext
+-if { (eval echo "$as_me:9072: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:9075: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
+-  { (eval echo "$as_me:9077: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:9080: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   :
+ else
+   echo "$as_me: program exited with status $ac_status" >&5
+ echo "$as_me: failed program was:" >&5
+ cat conftest.$ac_ext >&5
++( exit $ac_status )
+ ac_cv_func_realloc_broken=yes
+ fi
+ rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
+ fi
+ 
+ fi
+-echo "$as_me:9093: result: $ac_cv_func_realloc_broken" >&5
++echo "$as_me:$LINENO: result: $ac_cv_func_realloc_broken" >&5
+ echo "${ECHO_T}$ac_cv_func_realloc_broken" >&6
+ if test "$ac_cv_func_realloc_broken" = yes ; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define BROKEN_REALLOC 1
+-EOF
++_ACEOF
+ 
+ fi
+ 
++
++
++
++
++
++
+ DIR_roken=roken
+ LIB_roken='$(top_builddir)/lib/roken/libroken.la'
+ INCLUDES_roken='-I$(top_builddir)/lib/roken -I$(top_srcdir)/lib/roken'
+ 
++
++
++
++
++
++
++
++
++
++
++
++
++
+ WFLAGS_NOUNUSED=""
+ WFLAGS_NOIMPLICITINT=""
+ if test -z "$WFLAGS" -a "$GCC" = "yes"; then
+@@ -9117,13 +10776,18 @@
+   WFLAGS_NOIMPLICITINT="-Wno-implicit-int"
+ fi
+ 
+-echo "$as_me:9120: checking for ssize_t" >&5
++
++
++
++
++
++echo "$as_me:$LINENO: checking for ssize_t" >&5
+ echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
+ if test "${ac_cv_type_ssize_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 9126 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -9141,24 +10805,28 @@
+ rm -f conftest*
+ 
+ fi
+-echo "$as_me:9144: result: $ac_cv_type_ssize_t" >&5
++echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
+ echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
+ if test $ac_cv_type_ssize_t = no; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define ssize_t int
+-EOF
++_ACEOF
+ 
+ fi
+ 
++
++
++
++
+ cv=`echo "long long" | sed 'y%./+- %__p__%'`
+-echo "$as_me:9155: checking for long long" >&5
++echo "$as_me:$LINENO: checking for long long" >&5
+ echo $ECHO_N "checking for long long... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 9161 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -9166,6 +10834,12 @@
+ #include <stddef.h>
+ #endif
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -9175,16 +10849,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:9178: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:9181: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:9184: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:9187: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_type_$cv=yes"
+ else
+@@ -9195,20 +10869,26 @@
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:9198: result: $ac_foo" >&5
++echo "$as_me:$LINENO: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo long long | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:9203: checking for long long" >&5
++	echo "$as_me:$LINENO: checking for long long" >&5
+ echo $ECHO_N "checking for long long... $ECHO_C" >&6
+ if test "${ac_cv_type_long_long+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 9209 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ $ac_includes_default
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -9221,16 +10901,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:9224: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:9227: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:9230: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:9233: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_type_long_long=yes
+ else
+@@ -9240,24 +10920,75 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:9243: result: $ac_cv_type_long_long" >&5
++echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
+ echo "${ECHO_T}$ac_cv_type_long_long" >&6
+ if test $ac_cv_type_long_long = yes; then
+ 
+-cat >>confdefs.h <<EOF
++cat >>confdefs.h <<_ACEOF
+ #define HAVE_LONG_LONG 1
+-EOF
++_ACEOF
++
+ 
+ fi
+ 
+ fi
+ 
+-cat >>confdefs.h <<EOF
++cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_hdr 1
+-EOF
++_ACEOF
+ 
+ fi
+ 
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
+ for ac_header in \
+ 	arpa/inet.h				\
+ 	arpa/nameser.h				\
+@@ -9306,23 +11037,61 @@
+ 
+ do
+ as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+-echo "$as_me:9309: checking for $ac_header" >&5
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo "$as_me:$LINENO: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
+ else
+-  cat >conftest.$ac_ext <<_ACEOF
+-#line 9315 "configure"
++  # Is the header compilable?
++echo "$as_me:$LINENO: checking $ac_header usability" >&5
++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++$ac_includes_default
++#include <$ac_header>
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_header_compiler=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_header_compiler=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
++echo "${ECHO_T}$ac_header_compiler" >&6
++
++# Is the header present?
++echo "$as_me:$LINENO: checking $ac_header presence" >&5
++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <$ac_header>
+ _ACEOF
+-if { (eval echo "$as_me:9319: \"$ac_cpp conftest.$ac_ext\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
+   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+   ac_status=$?
+   egrep -v '^ *\+' conftest.er1 >conftest.err
+   rm -f conftest.er1
+   cat conftest.err >&5
+-  echo "$as_me:9325: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } >/dev/null; then
+   if test -s conftest.err; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+@@ -9333,24 +11102,56 @@
+   ac_cpp_err=yes
+ fi
+ if test -z "$ac_cpp_err"; then
+-  eval "$as_ac_Header=yes"
++  ac_header_preproc=yes
+ else
+   echo "$as_me: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+-  eval "$as_ac_Header=no"
++  ac_header_preproc=no
+ fi
+ rm -f conftest.err conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
++echo "${ECHO_T}$ac_header_preproc" >&6
++
++# So?  What about this header?
++case $ac_header_compiler:$ac_header_preproc in
++  yes:no )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
++echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++  no:yes )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
++echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
++echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++esac
++echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  eval "$as_ac_Header=$ac_header_preproc"
+ fi
+-echo "$as_me:9344: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++
++fi
+ if test `eval echo '${'$as_ac_Header'}'` = yes; then
+-  cat >>confdefs.h <<EOF
++  cat >>confdefs.h <<_ACEOF
+ #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
+-EOF
++_ACEOF
+ 
+ fi
++
+ done
+ 
++
++
++
++
++
+ if test "$ac_cv_header_err_h" = yes; then
+   have_err_h_TRUE=
+   have_err_h_FALSE='#'
+@@ -9359,6 +11160,7 @@
+   have_err_h_FALSE=
+ fi
+ 
++
+ if test "$ac_cv_header_fnmatch_h" = yes; then
+   have_fnmatch_h_TRUE=
+   have_fnmatch_h_FALSE='#'
+@@ -9367,6 +11169,7 @@
+   have_fnmatch_h_FALSE=
+ fi
+ 
++
+ if test "$ac_cv_header_ifaddrs_h" = yes; then
+   have_ifaddrs_h_TRUE=
+   have_ifaddrs_h_FALSE='#'
+@@ -9375,6 +11178,7 @@
+   have_ifaddrs_h_FALSE=
+ fi
+ 
++
+ if test "$ac_cv_header_vis_h" = yes; then
+   have_vis_h_TRUE=
+   have_vis_h_FALSE='#'
+@@ -9383,6 +11187,9 @@
+   have_vis_h_FALSE=
+ fi
+ 
++
++
++
+ # Check whether --with-ipv6 or --without-ipv6 was given.
+ if test "${with_ipv6+set}" = set; then
+   withval="$with_ipv6"
+@@ -9398,13 +11205,13 @@
+   v6type=unknown
+ v6lib=none
+ 
+-echo "$as_me:9401: checking ipv6 stack type" >&5
++echo "$as_me:$LINENO: checking ipv6 stack type" >&5
+ echo $ECHO_N "checking ipv6 stack type... $ECHO_C" >&6
+ for i in v6d toshiba kame inria zeta linux; do
+ 	case $i in
+ 	v6d)
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 9407 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
+ #include </usr/local/v6/include/sys/types.h>
+@@ -9423,7 +11230,7 @@
+ 		;;
+ 	toshiba)
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 9426 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
+ #include <sys/param.h>
+@@ -9442,7 +11249,7 @@
+ 		;;
+ 	kame)
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 9445 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
+ #include <netinet/in.h>
+@@ -9461,7 +11268,7 @@
+ 		;;
+ 	inria)
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 9464 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
+ #include <netinet/in.h>
+@@ -9478,7 +11285,7 @@
+ 		;;
+ 	zeta)
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 9481 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
+ #include <sys/param.h>
+@@ -9508,7 +11315,7 @@
+ 		break
+ 	fi
+ done
+-echo "$as_me:9511: result: $v6type" >&5
++echo "$as_me:$LINENO: result: $v6type" >&5
+ echo "${ECHO_T}$v6type" >&6
+ 
+ if test "$v6lib" != "none"; then
+@@ -9520,7 +11327,7 @@
+ 	done
+ fi
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 9523 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_SYS_TYPES_H
+@@ -9536,6 +11343,12 @@
+ #include <netinet/in6.h>
+ #endif
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -9555,16 +11368,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:9558: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:9561: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:9564: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:9567: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_lib_ipv6=yes
+ else
+@@ -9575,29 +11388,29 @@
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+ 
+-echo "$as_me:9578: checking for IPv6" >&5
++echo "$as_me:$LINENO: checking for IPv6" >&5
+ echo $ECHO_N "checking for IPv6... $ECHO_C" >&6
+-echo "$as_me:9580: result: $ac_cv_lib_ipv6" >&5
++echo "$as_me:$LINENO: result: $ac_cv_lib_ipv6" >&5
+ echo "${ECHO_T}$ac_cv_lib_ipv6" >&6
+ if test "$ac_cv_lib_ipv6" = yes; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define HAVE_IPV6 1
+-EOF
++_ACEOF
+ 
+ else
+   CFLAGS="${save_CFLAGS}"
+ fi
+ 
+ if test "$ac_cv_lib_ipv6" = yes; then
+-	echo "$as_me:9593: checking for in6addr_loopback" >&5
++	echo "$as_me:$LINENO: checking for in6addr_loopback" >&5
+ echo $ECHO_N "checking for in6addr_loopback... $ECHO_C" >&6
+ if test "${ac_cv_var_in6addr_loopback+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ 	cat >conftest.$ac_ext <<_ACEOF
+-#line 9600 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_SYS_TYPES_H
+@@ -9612,6 +11425,12 @@
+ #ifdef HAVE_NETINET_IN6_H
+ #include <netinet/in6.h>
+ #endif
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -9624,16 +11443,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:9627: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:9630: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:9633: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:9636: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_var_in6addr_loopback=yes
+ else
+@@ -9643,18 +11462,23 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:9646: result: $ac_cv_var_in6addr_loopback" >&5
++echo "$as_me:$LINENO: result: $ac_cv_var_in6addr_loopback" >&5
+ echo "${ECHO_T}$ac_cv_var_in6addr_loopback" >&6
+ 	if test "$ac_cv_var_in6addr_loopback" = yes; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define HAVE_IN6ADDR_LOOPBACK 1
+-EOF
++_ACEOF
+ 
+ 	fi
+ fi
+ 
+-echo "$as_me:9657: checking for socket" >&5
++
++
++
++
++
++echo "$as_me:$LINENO: checking for socket" >&5
+ echo $ECHO_N "checking for socket... $ECHO_C" >&6
+ if test "${ac_cv_funclib_socket+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -9672,9 +11496,15 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 9675 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -9684,16 +11514,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:9687: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:9690: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:9693: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:9696: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_socket=$ac_lib; else ac_cv_funclib_socket=yes; fi";break
+ else
+@@ -9708,6 +11538,7 @@
+ 
+ fi
+ 
++
+ eval "ac_res=\$ac_cv_funclib_socket"
+ 
+ if false; then
+@@ -9715,13 +11546,13 @@
+ for ac_func in socket
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:9718: checking for $ac_func" >&5
++echo "$as_me:$LINENO: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 9724 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -9735,6 +11566,12 @@
+ char $ac_func ();
+ char (*f) ();
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -9752,16 +11589,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:9755: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:9758: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:9761: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:9764: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -9771,12 +11608,12 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:9774: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+-  cat >>confdefs.h <<EOF
++  cat >>confdefs.h <<_ACEOF
+ #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+-EOF
++_ACEOF
+ 
+ fi
+ done
+@@ -9791,40 +11628,45 @@
+ 	yes)
+ 	eval "ac_cv_func_socket=yes"
+ 	eval "LIB_socket="
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:9798: result: yes" >&5
++	echo "$as_me:$LINENO: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_socket=no"
+ 	eval "LIB_socket="
+-	echo "$as_me:9804: result: no" >&5
++	echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+ 	eval "ac_cv_func_socket=yes"
+ 	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_lib 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:9818: result: yes, in $ac_res" >&5
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
++
+ if test -n "$LIB_socket"; then
+ 	LIBS="$LIB_socket $LIBS"
+ fi
+ 
+-echo "$as_me:9827: checking for gethostbyname" >&5
++
++
++
++
++echo "$as_me:$LINENO: checking for gethostbyname" >&5
+ echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
+ if test "${ac_cv_funclib_gethostbyname+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -9842,9 +11684,15 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 9845 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -9854,16 +11702,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:9857: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:9860: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:9863: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:9866: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_gethostbyname=$ac_lib; else ac_cv_funclib_gethostbyname=yes; fi";break
+ else
+@@ -9878,6 +11726,7 @@
+ 
+ fi
+ 
++
+ eval "ac_res=\$ac_cv_funclib_gethostbyname"
+ 
+ if false; then
+@@ -9885,13 +11734,13 @@
+ for ac_func in gethostbyname
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:9888: checking for $ac_func" >&5
++echo "$as_me:$LINENO: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 9894 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -9905,6 +11754,12 @@
+ char $ac_func ();
+ char (*f) ();
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -9922,16 +11777,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:9925: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:9928: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:9931: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:9934: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -9941,12 +11796,12 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:9944: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+-  cat >>confdefs.h <<EOF
++  cat >>confdefs.h <<_ACEOF
+ #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+-EOF
++_ACEOF
+ 
+ fi
+ done
+@@ -9961,40 +11816,45 @@
+ 	yes)
+ 	eval "ac_cv_func_gethostbyname=yes"
+ 	eval "LIB_gethostbyname="
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:9968: result: yes" >&5
++	echo "$as_me:$LINENO: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_gethostbyname=no"
+ 	eval "LIB_gethostbyname="
+-	echo "$as_me:9974: result: no" >&5
++	echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+ 	eval "ac_cv_func_gethostbyname=yes"
+ 	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_lib 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:9988: result: yes, in $ac_res" >&5
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
++
+ if test -n "$LIB_gethostbyname"; then
+ 	LIBS="$LIB_gethostbyname $LIBS"
+ fi
+ 
+-echo "$as_me:9997: checking for syslog" >&5
++
++
++
++
++echo "$as_me:$LINENO: checking for syslog" >&5
+ echo $ECHO_N "checking for syslog... $ECHO_C" >&6
+ if test "${ac_cv_funclib_syslog+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -10012,9 +11872,15 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 10015 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -10024,16 +11890,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:10027: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:10030: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:10033: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:10036: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_syslog=$ac_lib; else ac_cv_funclib_syslog=yes; fi";break
+ else
+@@ -10048,6 +11914,7 @@
+ 
+ fi
+ 
++
+ eval "ac_res=\$ac_cv_funclib_syslog"
+ 
+ if false; then
+@@ -10055,13 +11922,13 @@
+ for ac_func in syslog
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:10058: checking for $ac_func" >&5
++echo "$as_me:$LINENO: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 10064 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -10075,6 +11942,12 @@
+ char $ac_func ();
+ char (*f) ();
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -10092,16 +11965,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:10095: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:10098: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:10101: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:10104: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -10111,12 +11984,12 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:10114: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+-  cat >>confdefs.h <<EOF
++  cat >>confdefs.h <<_ACEOF
+ #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+-EOF
++_ACEOF
+ 
+ fi
+ done
+@@ -10131,40 +12004,45 @@
+ 	yes)
+ 	eval "ac_cv_func_syslog=yes"
+ 	eval "LIB_syslog="
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:10138: result: yes" >&5
++	echo "$as_me:$LINENO: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_syslog=no"
+ 	eval "LIB_syslog="
+-	echo "$as_me:10144: result: no" >&5
++	echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+ 	eval "ac_cv_func_syslog=yes"
+ 	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_lib 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:10158: result: yes, in $ac_res" >&5
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
++
+ if test -n "$LIB_syslog"; then
+ 	LIBS="$LIB_syslog $LIBS"
+ fi
+ 
+-echo "$as_me:10167: checking for gethostbyname2" >&5
++
++
++
++
++echo "$as_me:$LINENO: checking for gethostbyname2" >&5
+ echo $ECHO_N "checking for gethostbyname2... $ECHO_C" >&6
+ if test "${ac_cv_funclib_gethostbyname2+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -10182,9 +12060,15 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 10185 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -10194,16 +12078,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:10197: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:10200: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:10203: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:10206: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_gethostbyname2=$ac_lib; else ac_cv_funclib_gethostbyname2=yes; fi";break
+ else
+@@ -10218,6 +12102,7 @@
+ 
+ fi
+ 
++
+ eval "ac_res=\$ac_cv_funclib_gethostbyname2"
+ 
+ if false; then
+@@ -10225,13 +12110,13 @@
+ for ac_func in gethostbyname2
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:10228: checking for $ac_func" >&5
++echo "$as_me:$LINENO: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 10234 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -10245,6 +12130,12 @@
+ char $ac_func ();
+ char (*f) ();
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -10262,16 +12153,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:10265: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:10268: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:10271: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:10274: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -10281,12 +12172,12 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:10284: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+-  cat >>confdefs.h <<EOF
++  cat >>confdefs.h <<_ACEOF
+ #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+-EOF
++_ACEOF
+ 
+ fi
+ done
+@@ -10301,40 +12192,46 @@
+ 	yes)
+ 	eval "ac_cv_func_gethostbyname2=yes"
+ 	eval "LIB_gethostbyname2="
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:10308: result: yes" >&5
++	echo "$as_me:$LINENO: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_gethostbyname2=no"
+ 	eval "LIB_gethostbyname2="
+-	echo "$as_me:10314: result: no" >&5
++	echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+ 	eval "ac_cv_func_gethostbyname2=yes"
+ 	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_lib 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:10328: result: yes, in $ac_res" >&5
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
++
+ if test -n "$LIB_gethostbyname2"; then
+ 	LIBS="$LIB_gethostbyname2 $LIBS"
+ fi
+ 
+-echo "$as_me:10337: checking for res_search" >&5
++
++
++
++
++
++echo "$as_me:$LINENO: checking for res_search" >&5
+ echo $ECHO_N "checking for res_search... $ECHO_C" >&6
+ if test "${ac_cv_funclib_res_search+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -10352,7 +12249,7 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 10355 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -10369,6 +12266,12 @@
+ #include <resolv.h>
+ #endif
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -10378,16 +12281,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:10381: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:10384: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:10387: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:10390: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_res_search=$ac_lib; else ac_cv_funclib_res_search=yes; fi";break
+ else
+@@ -10402,6 +12305,7 @@
+ 
+ fi
+ 
++
+ eval "ac_res=\$ac_cv_funclib_res_search"
+ 
+ if false; then
+@@ -10409,13 +12313,13 @@
+ for ac_func in res_search
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:10412: checking for $ac_func" >&5
++echo "$as_me:$LINENO: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 10418 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -10429,6 +12333,12 @@
+ char $ac_func ();
+ char (*f) ();
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -10446,16 +12356,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:10449: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:10452: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:10455: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:10458: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -10465,12 +12375,12 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:10468: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+-  cat >>confdefs.h <<EOF
++  cat >>confdefs.h <<_ACEOF
+ #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+-EOF
++_ACEOF
+ 
+ fi
+ done
+@@ -10485,40 +12395,46 @@
+ 	yes)
+ 	eval "ac_cv_func_res_search=yes"
+ 	eval "LIB_res_search="
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:10492: result: yes" >&5
++	echo "$as_me:$LINENO: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_res_search=no"
+ 	eval "LIB_res_search="
+-	echo "$as_me:10498: result: no" >&5
++	echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+ 	eval "ac_cv_func_res_search=yes"
+ 	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_lib 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:10512: result: yes, in $ac_res" >&5
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
++
+ if test -n "$LIB_res_search"; then
+ 	LIBS="$LIB_res_search $LIBS"
+ fi
+ 
+-echo "$as_me:10521: checking for dn_expand" >&5
++
++
++
++
++
++echo "$as_me:$LINENO: checking for dn_expand" >&5
+ echo $ECHO_N "checking for dn_expand... $ECHO_C" >&6
+ if test "${ac_cv_funclib_dn_expand+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -10536,7 +12452,7 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 10539 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -10553,6 +12469,12 @@
+ #include <resolv.h>
+ #endif
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -10562,16 +12484,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:10565: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:10568: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:10571: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:10574: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_dn_expand=$ac_lib; else ac_cv_funclib_dn_expand=yes; fi";break
+ else
+@@ -10586,6 +12508,7 @@
+ 
+ fi
+ 
++
+ eval "ac_res=\$ac_cv_funclib_dn_expand"
+ 
+ if false; then
+@@ -10593,13 +12516,13 @@
+ for ac_func in dn_expand
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:10596: checking for $ac_func" >&5
++echo "$as_me:$LINENO: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 10602 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -10613,6 +12536,12 @@
+ char $ac_func ();
+ char (*f) ();
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -10630,16 +12559,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:10633: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:10636: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:10639: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:10642: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -10649,12 +12578,12 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:10652: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+-  cat >>confdefs.h <<EOF
++  cat >>confdefs.h <<_ACEOF
+ #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+-EOF
++_ACEOF
+ 
+ fi
+ done
+@@ -10669,40 +12598,43 @@
+ 	yes)
+ 	eval "ac_cv_func_dn_expand=yes"
+ 	eval "LIB_dn_expand="
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:10676: result: yes" >&5
++	echo "$as_me:$LINENO: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_dn_expand=no"
+ 	eval "LIB_dn_expand="
+-	echo "$as_me:10682: result: no" >&5
++	echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+ 	eval "ac_cv_func_dn_expand=yes"
+ 	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_lib 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:10696: result: yes, in $ac_res" >&5
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
++
+ if test -n "$LIB_dn_expand"; then
+ 	LIBS="$LIB_dn_expand $LIBS"
+ fi
+ 
+-echo "$as_me:10705: checking for working snprintf" >&5
++
++
++echo "$as_me:$LINENO: checking for working snprintf" >&5
+ echo $ECHO_N "checking for working snprintf... $ECHO_C" >&6
+ if test "${ac_cv_func_snprintf_working+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -10712,7 +12644,7 @@
+   :
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 10715 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -10725,48 +12657,55 @@
+ }
+ _ACEOF
+ rm -f conftest$ac_exeext
+-if { (eval echo "$as_me:10728: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:10731: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
+-  { (eval echo "$as_me:10733: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:10736: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   :
+ else
+   echo "$as_me: program exited with status $ac_status" >&5
+ echo "$as_me: failed program was:" >&5
+ cat conftest.$ac_ext >&5
++( exit $ac_status )
+ ac_cv_func_snprintf_working=no
+ fi
+ rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
+ fi
+ fi
+-echo "$as_me:10748: result: $ac_cv_func_snprintf_working" >&5
++echo "$as_me:$LINENO: result: $ac_cv_func_snprintf_working" >&5
+ echo "${ECHO_T}$ac_cv_func_snprintf_working" >&6
+ 
+ if test "$ac_cv_func_snprintf_working" = yes; then
+ 
+-cat >>confdefs.h <<EOF
++cat >>confdefs.h <<_ACEOF
+ #define HAVE_SNPRINTF 1
+-EOF
++_ACEOF
+ 
+ fi
+ if test "$ac_cv_func_snprintf_working" = yes; then
+ 
+ if test "$ac_cv_func_snprintf+set" != set -o "$ac_cv_func_snprintf" = yes; then
+-echo "$as_me:10761: checking if snprintf needs a prototype" >&5
++echo "$as_me:$LINENO: checking if snprintf needs a prototype" >&5
+ echo $ECHO_N "checking if snprintf needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_snprintf_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 10767 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -10779,16 +12718,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:10782: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:10785: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:10788: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:10791: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_func_snprintf_noproto=yes"
+ else
+@@ -10798,14 +12737,14 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:10801: result: $ac_cv_func_snprintf_noproto" >&5
++echo "$as_me:$LINENO: result: $ac_cv_func_snprintf_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_snprintf_noproto" >&6
+ 
+ if test "$ac_cv_func_snprintf_noproto" = yes; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define NEED_SNPRINTF_PROTO 1
+-EOF
++_ACEOF
+ 
+ fi
+ 
+@@ -10813,7 +12752,8 @@
+ 
+ fi
+ 
+-echo "$as_me:10816: checking for working vsnprintf" >&5
++
++echo "$as_me:$LINENO: checking for working vsnprintf" >&5
+ echo $ECHO_N "checking for working vsnprintf... $ECHO_C" >&6
+ if test "${ac_cv_func_vsnprintf_working+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -10823,7 +12763,7 @@
+   :
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 10826 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -10840,54 +12780,62 @@
+ 	return strcmp(bar, "1");
+ }
+ 
++
+ int main()
+ {
+ 	return foo(0, "12");
+ }
+ _ACEOF
+ rm -f conftest$ac_exeext
+-if { (eval echo "$as_me:10849: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:10852: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
+-  { (eval echo "$as_me:10854: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:10857: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   :
+ else
+   echo "$as_me: program exited with status $ac_status" >&5
+ echo "$as_me: failed program was:" >&5
+ cat conftest.$ac_ext >&5
++( exit $ac_status )
+ ac_cv_func_vsnprintf_working=no
+ fi
+ rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
+ fi
+ fi
+-echo "$as_me:10869: result: $ac_cv_func_vsnprintf_working" >&5
++echo "$as_me:$LINENO: result: $ac_cv_func_vsnprintf_working" >&5
+ echo "${ECHO_T}$ac_cv_func_vsnprintf_working" >&6
+ 
+ if test "$ac_cv_func_vsnprintf_working" = yes; then
+ 
+-cat >>confdefs.h <<EOF
++cat >>confdefs.h <<_ACEOF
+ #define HAVE_VSNPRINTF 1
+-EOF
++_ACEOF
+ 
+ fi
+ if test "$ac_cv_func_vsnprintf_working" = yes; then
+ 
+ if test "$ac_cv_func_vsnprintf+set" != set -o "$ac_cv_func_vsnprintf" = yes; then
+-echo "$as_me:10882: checking if vsnprintf needs a prototype" >&5
++echo "$as_me:$LINENO: checking if vsnprintf needs a prototype" >&5
+ echo $ECHO_N "checking if vsnprintf needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_vsnprintf_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 10888 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -10900,16 +12848,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:10903: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:10906: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:10909: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:10912: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_func_vsnprintf_noproto=yes"
+ else
+@@ -10919,14 +12867,14 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:10922: result: $ac_cv_func_vsnprintf_noproto" >&5
++echo "$as_me:$LINENO: result: $ac_cv_func_vsnprintf_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_vsnprintf_noproto" >&6
+ 
+ if test "$ac_cv_func_vsnprintf_noproto" = yes; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define NEED_VSNPRINTF_PROTO 1
+-EOF
++_ACEOF
+ 
+ fi
+ 
+@@ -10934,18 +12882,26 @@
+ 
+ fi
+ 
+-echo "$as_me:10937: checking for working glob" >&5
++
++
++echo "$as_me:$LINENO: checking for working glob" >&5
+ echo $ECHO_N "checking for working glob... $ECHO_C" >&6
+ if test "${ac_cv_func_glob_working+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   ac_cv_func_glob_working=yes
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 10944 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+ #include <glob.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -10964,16 +12920,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:10967: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:10970: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:10973: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:10976: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   :
+ else
+@@ -10983,29 +12939,35 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:10986: result: $ac_cv_func_glob_working" >&5
++echo "$as_me:$LINENO: result: $ac_cv_func_glob_working" >&5
+ echo "${ECHO_T}$ac_cv_func_glob_working" >&6
+ 
+ if test "$ac_cv_func_glob_working" = yes; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define HAVE_GLOB 1
+-EOF
++_ACEOF
+ 
+ fi
+ if test "$ac_cv_func_glob_working" = yes; then
+ 
+ if test "$ac_cv_func_glob+set" != set -o "$ac_cv_func_glob" = yes; then
+-echo "$as_me:10999: checking if glob needs a prototype" >&5
++echo "$as_me:$LINENO: checking if glob needs a prototype" >&5
+ echo $ECHO_N "checking if glob needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_glob_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 11005 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
+ #include <glob.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -11018,16 +12980,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:11021: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:11024: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:11027: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:11030: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_func_glob_noproto=yes"
+ else
+@@ -11037,14 +12999,14 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:11040: result: $ac_cv_func_glob_noproto" >&5
++echo "$as_me:$LINENO: result: $ac_cv_func_glob_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_glob_noproto" >&6
+ 
+ if test "$ac_cv_func_glob_noproto" = yes; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define NEED_GLOB_PROTO 1
+-EOF
++_ACEOF
+ 
+ fi
+ 
+@@ -11056,6 +13018,7 @@
+ 	LIBOBJS="$LIBOBJS glob.o"
+ fi
+ 
++
+ if test "$ac_cv_func_glob_working" = yes; then
+   have_glob_h_TRUE=
+   have_glob_h_FALSE='#'
+@@ -11064,6 +13027,31 @@
+   have_glob_h_FALSE=
+ fi
+ 
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
+ for ac_func in 				\
+ 	asnprintf				\
+ 	asprintf				\
+@@ -11092,13 +13080,13 @@
+ 
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:11095: checking for $ac_func" >&5
++echo "$as_me:$LINENO: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 11101 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -11112,6 +13100,12 @@
+ char $ac_func ();
+ char (*f) ();
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -11129,16 +13123,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:11132: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:11135: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:11138: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:11141: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -11148,21 +13142,27 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:11151: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+-  cat >>confdefs.h <<EOF
++  cat >>confdefs.h <<_ACEOF
+ #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+-EOF
++_ACEOF
+ 
+ fi
+ done
+ 
++
+ if test "$ac_cv_func_cgetent" = no; then
+ 	LIBOBJS="$LIBOBJS getcap.o"
+ fi
+ 
+-echo "$as_me:11165: checking for getsockopt" >&5
++
++
++
++
++
++echo "$as_me:$LINENO: checking for getsockopt" >&5
+ echo $ECHO_N "checking for getsockopt... $ECHO_C" >&6
+ if test "${ac_cv_funclib_getsockopt+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -11180,7 +13180,7 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 11183 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_SYS_TYPES_H
+ #include <sys/types.h>
+@@ -11188,6 +13188,12 @@
+ #ifdef HAVE_SYS_SOCKET_H
+ #include <sys/socket.h>
+ #endif
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -11197,16 +13203,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:11200: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:11203: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:11206: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:11209: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_getsockopt=$ac_lib; else ac_cv_funclib_getsockopt=yes; fi";break
+ else
+@@ -11221,6 +13227,7 @@
+ 
+ fi
+ 
++
+ eval "ac_res=\$ac_cv_funclib_getsockopt"
+ 
+ if false; then
+@@ -11228,13 +13235,13 @@
+ for ac_func in getsockopt
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:11231: checking for $ac_func" >&5
++echo "$as_me:$LINENO: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 11237 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -11248,6 +13255,12 @@
+ char $ac_func ();
+ char (*f) ();
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -11265,16 +13278,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:11268: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:11271: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:11274: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:11277: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -11284,12 +13297,12 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:11287: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+-  cat >>confdefs.h <<EOF
++  cat >>confdefs.h <<_ACEOF
+ #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+-EOF
++_ACEOF
+ 
+ fi
+ done
+@@ -11304,36 +13317,40 @@
+ 	yes)
+ 	eval "ac_cv_func_getsockopt=yes"
+ 	eval "LIB_getsockopt="
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:11311: result: yes" >&5
++	echo "$as_me:$LINENO: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_getsockopt=no"
+ 	eval "LIB_getsockopt="
+-	echo "$as_me:11317: result: no" >&5
++	echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+ 	eval "ac_cv_func_getsockopt=yes"
+ 	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_lib 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:11331: result: yes, in $ac_res" >&5
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "$as_me:11336: checking for setsockopt" >&5
++
++
++
++
++echo "$as_me:$LINENO: checking for setsockopt" >&5
+ echo $ECHO_N "checking for setsockopt... $ECHO_C" >&6
+ if test "${ac_cv_funclib_setsockopt+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -11351,7 +13368,7 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 11354 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_SYS_TYPES_H
+ #include <sys/types.h>
+@@ -11359,6 +13376,12 @@
+ #ifdef HAVE_SYS_SOCKET_H
+ #include <sys/socket.h>
+ #endif
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -11368,16 +13391,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:11371: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:11374: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:11377: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:11380: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_setsockopt=$ac_lib; else ac_cv_funclib_setsockopt=yes; fi";break
+ else
+@@ -11392,6 +13415,7 @@
+ 
+ fi
+ 
++
+ eval "ac_res=\$ac_cv_funclib_setsockopt"
+ 
+ if false; then
+@@ -11399,13 +13423,13 @@
+ for ac_func in setsockopt
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:11402: checking for $ac_func" >&5
++echo "$as_me:$LINENO: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 11408 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -11419,6 +13443,12 @@
+ char $ac_func ();
+ char (*f) ();
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -11436,16 +13466,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:11439: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:11442: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:11445: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:11448: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -11455,12 +13485,12 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:11458: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+-  cat >>confdefs.h <<EOF
++  cat >>confdefs.h <<_ACEOF
+ #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+-EOF
++_ACEOF
+ 
+ fi
+ done
+@@ -11475,36 +13505,42 @@
+ 	yes)
+ 	eval "ac_cv_func_setsockopt=yes"
+ 	eval "LIB_setsockopt="
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:11482: result: yes" >&5
++	echo "$as_me:$LINENO: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_setsockopt=no"
+ 	eval "LIB_setsockopt="
+-	echo "$as_me:11488: result: no" >&5
++	echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+ 	eval "ac_cv_func_setsockopt=yes"
+ 	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_lib 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:11502: result: yes, in $ac_res" >&5
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "$as_me:11507: checking for hstrerror" >&5
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for hstrerror" >&5
+ echo $ECHO_N "checking for hstrerror... $ECHO_C" >&6
+ if test "${ac_cv_funclib_hstrerror+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -11522,11 +13558,17 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 11525 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_NETDB_H
+ #include <netdb.h>
+ #endif
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -11536,16 +13578,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:11539: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:11542: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:11545: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:11548: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_hstrerror=$ac_lib; else ac_cv_funclib_hstrerror=yes; fi";break
+ else
+@@ -11560,6 +13602,7 @@
+ 
+ fi
+ 
++
+ eval "ac_res=\$ac_cv_funclib_hstrerror"
+ 
+ if false; then
+@@ -11567,13 +13610,13 @@
+ for ac_func in hstrerror
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:11570: checking for $ac_func" >&5
++echo "$as_me:$LINENO: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 11576 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -11587,6 +13630,12 @@
+ char $ac_func ();
+ char (*f) ();
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -11604,16 +13653,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:11607: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:11610: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:11613: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:11616: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -11623,12 +13672,12 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:11626: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+-  cat >>confdefs.h <<EOF
++  cat >>confdefs.h <<_ACEOF
+ #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+-EOF
++_ACEOF
+ 
+ fi
+ done
+@@ -11643,35 +13692,36 @@
+ 	yes)
+ 	eval "ac_cv_func_hstrerror=yes"
+ 	eval "LIB_hstrerror="
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:11650: result: yes" >&5
++	echo "$as_me:$LINENO: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_hstrerror=no"
+ 	eval "LIB_hstrerror="
+-	echo "$as_me:11656: result: no" >&5
++	echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+ 	eval "ac_cv_func_hstrerror=yes"
+ 	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_lib 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:11670: result: yes, in $ac_res" >&5
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
++
+ if test -n "$LIB_hstrerror"; then
+ 	LIBS="$LIB_hstrerror $LIBS"
+ fi
+@@ -11683,18 +13733,24 @@
+ if test "$ac_cv_func_hstrerror" = yes; then
+ 
+ if test "$ac_cv_func_hstrerror+set" != set -o "$ac_cv_func_hstrerror" = yes; then
+-echo "$as_me:11686: checking if hstrerror needs a prototype" >&5
++echo "$as_me:$LINENO: checking if hstrerror needs a prototype" >&5
+ echo $ECHO_N "checking if hstrerror needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_hstrerror_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 11692 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_NETDB_H
+ #include <netdb.h>
+ #endif
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -11707,16 +13763,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:11710: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:11713: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:11716: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:11719: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_func_hstrerror_noproto=yes"
+ else
+@@ -11726,14 +13782,14 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:11729: result: $ac_cv_func_hstrerror_noproto" >&5
++echo "$as_me:$LINENO: result: $ac_cv_func_hstrerror_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_hstrerror_noproto" >&6
+ 
+ if test "$ac_cv_func_hstrerror_noproto" = yes; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define NEED_HSTRERROR_PROTO 1
+-EOF
++_ACEOF
+ 
+ fi
+ 
+@@ -11744,17 +13800,23 @@
+ if test "$ac_cv_func_asprintf" = yes; then
+ 
+ if test "$ac_cv_func_asprintf+set" != set -o "$ac_cv_func_asprintf" = yes; then
+-echo "$as_me:11747: checking if asprintf needs a prototype" >&5
++echo "$as_me:$LINENO: checking if asprintf needs a prototype" >&5
+ echo $ECHO_N "checking if asprintf needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_asprintf_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 11753 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+ #include <string.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -11767,16 +13829,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:11770: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:11773: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:11776: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:11779: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_func_asprintf_noproto=yes"
+ else
+@@ -11786,14 +13848,14 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:11789: result: $ac_cv_func_asprintf_noproto" >&5
++echo "$as_me:$LINENO: result: $ac_cv_func_asprintf_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_asprintf_noproto" >&6
+ 
+ if test "$ac_cv_func_asprintf_noproto" = yes; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define NEED_ASPRINTF_PROTO 1
+-EOF
++_ACEOF
+ 
+ fi
+ 
+@@ -11802,17 +13864,23 @@
+ if test "$ac_cv_func_vasprintf" = yes; then
+ 
+ if test "$ac_cv_func_vasprintf+set" != set -o "$ac_cv_func_vasprintf" = yes; then
+-echo "$as_me:11805: checking if vasprintf needs a prototype" >&5
++echo "$as_me:$LINENO: checking if vasprintf needs a prototype" >&5
+ echo $ECHO_N "checking if vasprintf needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_vasprintf_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 11811 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+ #include <string.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -11825,16 +13893,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:11828: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:11831: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:11834: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:11837: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_func_vasprintf_noproto=yes"
+ else
+@@ -11844,14 +13912,14 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:11847: result: $ac_cv_func_vasprintf_noproto" >&5
++echo "$as_me:$LINENO: result: $ac_cv_func_vasprintf_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_vasprintf_noproto" >&6
+ 
+ if test "$ac_cv_func_vasprintf_noproto" = yes; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define NEED_VASPRINTF_PROTO 1
+-EOF
++_ACEOF
+ 
+ fi
+ 
+@@ -11860,17 +13928,23 @@
+ if test "$ac_cv_func_asnprintf" = yes; then
+ 
+ if test "$ac_cv_func_asnprintf+set" != set -o "$ac_cv_func_asnprintf" = yes; then
+-echo "$as_me:11863: checking if asnprintf needs a prototype" >&5
++echo "$as_me:$LINENO: checking if asnprintf needs a prototype" >&5
+ echo $ECHO_N "checking if asnprintf needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_asnprintf_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 11869 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+ #include <string.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -11883,16 +13957,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:11886: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:11889: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:11892: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:11895: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_func_asnprintf_noproto=yes"
+ else
+@@ -11902,14 +13976,14 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:11905: result: $ac_cv_func_asnprintf_noproto" >&5
++echo "$as_me:$LINENO: result: $ac_cv_func_asnprintf_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_asnprintf_noproto" >&6
+ 
+ if test "$ac_cv_func_asnprintf_noproto" = yes; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define NEED_ASNPRINTF_PROTO 1
+-EOF
++_ACEOF
+ 
+ fi
+ 
+@@ -11918,17 +13992,23 @@
+ if test "$ac_cv_func_vasnprintf" = yes; then
+ 
+ if test "$ac_cv_func_vasnprintf+set" != set -o "$ac_cv_func_vasnprintf" = yes; then
+-echo "$as_me:11921: checking if vasnprintf needs a prototype" >&5
++echo "$as_me:$LINENO: checking if vasnprintf needs a prototype" >&5
+ echo $ECHO_N "checking if vasnprintf needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_vasnprintf_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 11927 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+ #include <string.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -11941,16 +14021,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:11944: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:11947: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:11950: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:11953: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_func_vasnprintf_noproto=yes"
+ else
+@@ -11960,21 +14040,24 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:11963: result: $ac_cv_func_vasnprintf_noproto" >&5
++echo "$as_me:$LINENO: result: $ac_cv_func_vasnprintf_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_vasnprintf_noproto" >&6
+ 
+ if test "$ac_cv_func_vasnprintf_noproto" = yes; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define NEED_VASNPRINTF_PROTO 1
+-EOF
++_ACEOF
+ 
+ fi
+ 
+ fi
+ fi
+ 
+-echo "$as_me:11977: checking for bswap16" >&5
++
++
++
++echo "$as_me:$LINENO: checking for bswap16" >&5
+ echo $ECHO_N "checking for bswap16... $ECHO_C" >&6
+ if test "${ac_cv_funclib_bswap16+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -11992,11 +14075,17 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 11995 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_SYS_BSWAP_H
+ #include <sys/bswap.h>
+ #endif
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -12006,16 +14095,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:12009: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:12012: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:12015: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:12018: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_bswap16=$ac_lib; else ac_cv_funclib_bswap16=yes; fi";break
+ else
+@@ -12030,6 +14119,7 @@
+ 
+ fi
+ 
++
+ eval "ac_res=\$ac_cv_funclib_bswap16"
+ 
+ if false; then
+@@ -12037,13 +14127,13 @@
+ for ac_func in bswap16
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:12040: checking for $ac_func" >&5
++echo "$as_me:$LINENO: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 12046 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -12057,6 +14147,12 @@
+ char $ac_func ();
+ char (*f) ();
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -12074,16 +14170,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:12077: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:12080: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:12083: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:12086: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -12093,12 +14189,12 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:12096: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+-  cat >>confdefs.h <<EOF
++  cat >>confdefs.h <<_ACEOF
+ #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+-EOF
++_ACEOF
+ 
+ fi
+ done
+@@ -12113,36 +14209,41 @@
+ 	yes)
+ 	eval "ac_cv_func_bswap16=yes"
+ 	eval "LIB_bswap16="
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:12120: result: yes" >&5
++	echo "$as_me:$LINENO: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_bswap16=no"
+ 	eval "LIB_bswap16="
+-	echo "$as_me:12126: result: no" >&5
++	echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+ 	eval "ac_cv_func_bswap16=yes"
+ 	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_lib 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:12140: result: yes, in $ac_res" >&5
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "$as_me:12145: checking for bswap32" >&5
++
++
++
++
++
++echo "$as_me:$LINENO: checking for bswap32" >&5
+ echo $ECHO_N "checking for bswap32... $ECHO_C" >&6
+ if test "${ac_cv_funclib_bswap32+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -12160,11 +14261,17 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 12163 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_SYS_BSWAP_H
+ #include <sys/bswap.h>
+ #endif
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -12174,16 +14281,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:12177: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:12180: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:12183: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:12186: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_bswap32=$ac_lib; else ac_cv_funclib_bswap32=yes; fi";break
+ else
+@@ -12198,6 +14305,7 @@
+ 
+ fi
+ 
++
+ eval "ac_res=\$ac_cv_funclib_bswap32"
+ 
+ if false; then
+@@ -12205,13 +14313,13 @@
+ for ac_func in bswap32
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:12208: checking for $ac_func" >&5
++echo "$as_me:$LINENO: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 12214 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -12225,6 +14333,12 @@
+ char $ac_func ();
+ char (*f) ();
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -12242,16 +14356,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:12245: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:12248: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:12251: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:12254: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -12261,12 +14375,12 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:12264: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+-  cat >>confdefs.h <<EOF
++  cat >>confdefs.h <<_ACEOF
+ #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+-EOF
++_ACEOF
+ 
+ fi
+ done
+@@ -12281,36 +14395,41 @@
+ 	yes)
+ 	eval "ac_cv_func_bswap32=yes"
+ 	eval "LIB_bswap32="
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:12288: result: yes" >&5
++	echo "$as_me:$LINENO: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_bswap32=no"
+ 	eval "LIB_bswap32="
+-	echo "$as_me:12294: result: no" >&5
++	echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+ 	eval "ac_cv_func_bswap32=yes"
+ 	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_lib 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:12308: result: yes, in $ac_res" >&5
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "$as_me:12313: checking for pidfile" >&5
++
++
++
++
++
++echo "$as_me:$LINENO: checking for pidfile" >&5
+ echo $ECHO_N "checking for pidfile... $ECHO_C" >&6
+ if test "${ac_cv_funclib_pidfile+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -12328,11 +14447,17 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 12331 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_UTIL_H
+ #include <util.h>
+ #endif
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -12342,16 +14467,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:12345: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:12348: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:12351: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:12354: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_pidfile=$ac_lib; else ac_cv_funclib_pidfile=yes; fi";break
+ else
+@@ -12366,6 +14491,7 @@
+ 
+ fi
+ 
++
+ eval "ac_res=\$ac_cv_funclib_pidfile"
+ 
+ if false; then
+@@ -12373,13 +14499,13 @@
+ for ac_func in pidfile
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:12376: checking for $ac_func" >&5
++echo "$as_me:$LINENO: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 12382 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -12393,6 +14519,12 @@
+ char $ac_func ();
+ char (*f) ();
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -12410,16 +14542,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:12413: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:12416: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:12419: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:12422: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -12429,12 +14561,12 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:12432: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+-  cat >>confdefs.h <<EOF
++  cat >>confdefs.h <<_ACEOF
+ #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+-EOF
++_ACEOF
+ 
+ fi
+ done
+@@ -12449,36 +14581,42 @@
+ 	yes)
+ 	eval "ac_cv_func_pidfile=yes"
+ 	eval "LIB_pidfile="
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:12456: result: yes" >&5
++	echo "$as_me:$LINENO: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_pidfile=no"
+ 	eval "LIB_pidfile="
+-	echo "$as_me:12462: result: no" >&5
++	echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+ 	eval "ac_cv_func_pidfile=yes"
+ 	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_lib 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:12476: result: yes, in $ac_res" >&5
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "$as_me:12481: checking for getaddrinfo" >&5
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for getaddrinfo" >&5
+ echo $ECHO_N "checking for getaddrinfo... $ECHO_C" >&6
+ if test "${ac_cv_funclib_getaddrinfo+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -12496,11 +14634,17 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 12499 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_NETDB_H
+ #include <netdb.h>
+ #endif
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -12510,16 +14654,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:12513: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:12516: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:12519: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:12522: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_getaddrinfo=$ac_lib; else ac_cv_funclib_getaddrinfo=yes; fi";break
+ else
+@@ -12534,6 +14678,7 @@
+ 
+ fi
+ 
++
+ eval "ac_res=\$ac_cv_funclib_getaddrinfo"
+ 
+ if false; then
+@@ -12541,13 +14686,13 @@
+ for ac_func in getaddrinfo
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:12544: checking for $ac_func" >&5
++echo "$as_me:$LINENO: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 12550 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -12561,6 +14706,12 @@
+ char $ac_func ();
+ char (*f) ();
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -12578,16 +14729,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:12581: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:12584: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:12587: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:12590: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -12597,12 +14748,12 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:12600: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+-  cat >>confdefs.h <<EOF
++  cat >>confdefs.h <<_ACEOF
+ #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+-EOF
++_ACEOF
+ 
+ fi
+ done
+@@ -12617,35 +14768,36 @@
+ 	yes)
+ 	eval "ac_cv_func_getaddrinfo=yes"
+ 	eval "LIB_getaddrinfo="
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:12624: result: yes" >&5
++	echo "$as_me:$LINENO: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_getaddrinfo=no"
+ 	eval "LIB_getaddrinfo="
+-	echo "$as_me:12630: result: no" >&5
++	echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+ 	eval "ac_cv_func_getaddrinfo=yes"
+ 	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_lib 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:12644: result: yes, in $ac_res" >&5
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
++
+ if test -n "$LIB_getaddrinfo"; then
+ 	LIBS="$LIB_getaddrinfo $LIBS"
+ fi
+@@ -12654,7 +14806,12 @@
+ LIBOBJS="$LIBOBJS getaddrinfo.o"
+ fi
+ 
+-echo "$as_me:12657: checking for getnameinfo" >&5
++
++
++
++
++
++echo "$as_me:$LINENO: checking for getnameinfo" >&5
+ echo $ECHO_N "checking for getnameinfo... $ECHO_C" >&6
+ if test "${ac_cv_funclib_getnameinfo+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -12672,11 +14829,17 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 12675 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_NETDB_H
+ #include <netdb.h>
+ #endif
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -12686,16 +14849,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:12689: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:12692: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:12695: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:12698: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_getnameinfo=$ac_lib; else ac_cv_funclib_getnameinfo=yes; fi";break
+ else
+@@ -12710,6 +14873,7 @@
+ 
+ fi
+ 
++
+ eval "ac_res=\$ac_cv_funclib_getnameinfo"
+ 
+ if false; then
+@@ -12717,13 +14881,13 @@
+ for ac_func in getnameinfo
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:12720: checking for $ac_func" >&5
++echo "$as_me:$LINENO: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 12726 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -12737,6 +14901,12 @@
+ char $ac_func ();
+ char (*f) ();
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -12754,16 +14924,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:12757: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:12760: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:12763: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:12766: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -12773,12 +14943,12 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:12776: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+-  cat >>confdefs.h <<EOF
++  cat >>confdefs.h <<_ACEOF
+ #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+-EOF
++_ACEOF
+ 
+ fi
+ done
+@@ -12793,35 +14963,36 @@
+ 	yes)
+ 	eval "ac_cv_func_getnameinfo=yes"
+ 	eval "LIB_getnameinfo="
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:12800: result: yes" >&5
++	echo "$as_me:$LINENO: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_getnameinfo=no"
+ 	eval "LIB_getnameinfo="
+-	echo "$as_me:12806: result: no" >&5
++	echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+ 	eval "ac_cv_func_getnameinfo=yes"
+ 	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_lib 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:12820: result: yes, in $ac_res" >&5
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
++
+ if test -n "$LIB_getnameinfo"; then
+ 	LIBS="$LIB_getnameinfo $LIBS"
+ fi
+@@ -12830,7 +15001,12 @@
+ LIBOBJS="$LIBOBJS getnameinfo.o"
+ fi
+ 
+-echo "$as_me:12833: checking for freeaddrinfo" >&5
++
++
++
++
++
++echo "$as_me:$LINENO: checking for freeaddrinfo" >&5
+ echo $ECHO_N "checking for freeaddrinfo... $ECHO_C" >&6
+ if test "${ac_cv_funclib_freeaddrinfo+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -12848,11 +15024,17 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 12851 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_NETDB_H
+ #include <netdb.h>
+ #endif
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -12862,16 +15044,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:12865: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:12868: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:12871: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:12874: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_freeaddrinfo=$ac_lib; else ac_cv_funclib_freeaddrinfo=yes; fi";break
+ else
+@@ -12886,6 +15068,7 @@
+ 
+ fi
+ 
++
+ eval "ac_res=\$ac_cv_funclib_freeaddrinfo"
+ 
+ if false; then
+@@ -12893,13 +15076,13 @@
+ for ac_func in freeaddrinfo
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:12896: checking for $ac_func" >&5
++echo "$as_me:$LINENO: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 12902 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -12913,6 +15096,12 @@
+ char $ac_func ();
+ char (*f) ();
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -12930,16 +15119,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:12933: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:12936: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:12939: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:12942: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -12949,12 +15138,12 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:12952: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+-  cat >>confdefs.h <<EOF
++  cat >>confdefs.h <<_ACEOF
+ #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+-EOF
++_ACEOF
+ 
+ fi
+ done
+@@ -12969,35 +15158,36 @@
+ 	yes)
+ 	eval "ac_cv_func_freeaddrinfo=yes"
+ 	eval "LIB_freeaddrinfo="
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:12976: result: yes" >&5
++	echo "$as_me:$LINENO: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_freeaddrinfo=no"
+ 	eval "LIB_freeaddrinfo="
+-	echo "$as_me:12982: result: no" >&5
++	echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+ 	eval "ac_cv_func_freeaddrinfo=yes"
+ 	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_lib 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:12996: result: yes, in $ac_res" >&5
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
++
+ if test -n "$LIB_freeaddrinfo"; then
+ 	LIBS="$LIB_freeaddrinfo $LIBS"
+ fi
+@@ -13006,7 +15196,12 @@
+ LIBOBJS="$LIBOBJS freeaddrinfo.o"
+ fi
+ 
+-echo "$as_me:13009: checking for gai_strerror" >&5
++
++
++
++
++
++echo "$as_me:$LINENO: checking for gai_strerror" >&5
+ echo $ECHO_N "checking for gai_strerror... $ECHO_C" >&6
+ if test "${ac_cv_funclib_gai_strerror+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -13024,11 +15219,17 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 13027 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_NETDB_H
+ #include <netdb.h>
+ #endif
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -13038,16 +15239,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:13041: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:13044: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:13047: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:13050: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_gai_strerror=$ac_lib; else ac_cv_funclib_gai_strerror=yes; fi";break
+ else
+@@ -13062,6 +15263,7 @@
+ 
+ fi
+ 
++
+ eval "ac_res=\$ac_cv_funclib_gai_strerror"
+ 
+ if false; then
+@@ -13069,13 +15271,13 @@
+ for ac_func in gai_strerror
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:13072: checking for $ac_func" >&5
++echo "$as_me:$LINENO: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 13078 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -13089,6 +15291,12 @@
+ char $ac_func ();
+ char (*f) ();
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -13106,16 +15314,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:13109: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:13112: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:13115: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:13118: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -13125,12 +15333,12 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:13128: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+-  cat >>confdefs.h <<EOF
++  cat >>confdefs.h <<_ACEOF
+ #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+-EOF
++_ACEOF
+ 
+ fi
+ done
+@@ -13145,35 +15353,36 @@
+ 	yes)
+ 	eval "ac_cv_func_gai_strerror=yes"
+ 	eval "LIB_gai_strerror="
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:13152: result: yes" >&5
++	echo "$as_me:$LINENO: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_gai_strerror=no"
+ 	eval "LIB_gai_strerror="
+-	echo "$as_me:13158: result: no" >&5
++	echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+ 	eval "ac_cv_func_gai_strerror=yes"
+ 	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_lib 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:13172: result: yes, in $ac_res" >&5
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
++
+ if test -n "$LIB_gai_strerror"; then
+ 	LIBS="$LIB_gai_strerror $LIBS"
+ fi
+@@ -13182,6 +15391,7 @@
+ LIBOBJS="$LIBOBJS gai_strerror.o"
+ fi
+ 
++
+ for ac_func in 					\
+ 	chown					\
+ 	copyhostent				\
+@@ -13251,13 +15461,13 @@
+ 
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:13254: checking for $ac_func" >&5
++echo "$as_me:$LINENO: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 13260 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -13271,6 +15481,12 @@
+ char $ac_func ();
+ char (*f) ();
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -13288,16 +15504,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:13291: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:13294: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:13297: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:13300: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -13307,14 +15523,14 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:13310: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+ 
+ ac_tr_func=HAVE_`echo $ac_func | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`
+-cat >>confdefs.h <<EOF
++cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+ else
+   LIBOBJS="$LIBOBJS ${ac_func}.o"
+@@ -13322,6 +15538,70 @@
+ 
+ if false; then
+ 
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
+ for ac_func in \
+ 	chown					\
+ 	copyhostent				\
+@@ -13391,13 +15671,13 @@
+ 
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:13394: checking for $ac_func" >&5
++echo "$as_me:$LINENO: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 13400 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -13411,6 +15691,12 @@
+ char $ac_func ();
+ char (*f) ();
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -13428,16 +15714,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:13431: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:13434: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:13437: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:13440: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -13447,12 +15733,12 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:13450: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+-  cat >>confdefs.h <<EOF
++  cat >>confdefs.h <<_ACEOF
+ #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+-EOF
++_ACEOF
+ 
+ fi
+ done
+@@ -13460,15 +15746,16 @@
+ fi
+ done
+ 
++
+ for ac_func in inet_aton
+ do
+-echo "$as_me:13465: checking for $ac_func" >&5
++echo "$as_me:$LINENO: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_func_$ac_func+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 13471 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_SYS_TYPES_H
+ #include <sys/types.h>
+@@ -13482,6 +15769,12 @@
+ #ifdef HAVE_ARPA_INET_H
+ #include <arpa/inet.h>
+ #endif
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -13500,16 +15793,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:13503: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:13506: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:13509: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:13512: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_func_$ac_func=yes"
+ else
+@@ -13522,14 +15815,14 @@
+ 
+ if eval "test \"\${ac_cv_func_$ac_func}\" = yes"; then
+   ac_tr_func=HAVE_`echo $ac_func | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`
+-  cat >>confdefs.h <<EOF
++  cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-  echo "$as_me:13529: result: yes" >&5
++  echo "$as_me:$LINENO: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ else
+-  echo "$as_me:13532: result: no" >&5
++  echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+   LIBOBJS="$LIBOBJS ${ac_func}.o"
+ fi
+@@ -13539,13 +15832,13 @@
+ for ac_func in inet_aton
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:13542: checking for $ac_func" >&5
++echo "$as_me:$LINENO: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 13548 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -13559,6 +15852,12 @@
+ char $ac_func ();
+ char (*f) ();
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -13576,16 +15875,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:13579: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:13582: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:13585: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:13588: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -13595,27 +15894,28 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:13598: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+-  cat >>confdefs.h <<EOF
++  cat >>confdefs.h <<_ACEOF
+ #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+-EOF
++_ACEOF
+ 
+ fi
+ done
+ 
+ fi
+ 
++
+ for ac_func in inet_ntop
+ do
+-echo "$as_me:13612: checking for $ac_func" >&5
++echo "$as_me:$LINENO: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_func_$ac_func+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 13618 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_SYS_TYPES_H
+ #include <sys/types.h>
+@@ -13629,6 +15929,12 @@
+ #ifdef HAVE_ARPA_INET_H
+ #include <arpa/inet.h>
+ #endif
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -13647,16 +15953,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:13650: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:13653: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:13656: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:13659: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_func_$ac_func=yes"
+ else
+@@ -13669,14 +15975,14 @@
+ 
+ if eval "test \"\${ac_cv_func_$ac_func}\" = yes"; then
+   ac_tr_func=HAVE_`echo $ac_func | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`
+-  cat >>confdefs.h <<EOF
++  cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-  echo "$as_me:13676: result: yes" >&5
++  echo "$as_me:$LINENO: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ else
+-  echo "$as_me:13679: result: no" >&5
++  echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+   LIBOBJS="$LIBOBJS ${ac_func}.o"
+ fi
+@@ -13686,13 +15992,13 @@
+ for ac_func in inet_ntop
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:13689: checking for $ac_func" >&5
++echo "$as_me:$LINENO: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 13695 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -13706,6 +16012,12 @@
+ char $ac_func ();
+ char (*f) ();
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -13723,16 +16035,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:13726: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:13729: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:13732: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:13735: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -13742,27 +16054,28 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:13745: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+-  cat >>confdefs.h <<EOF
++  cat >>confdefs.h <<_ACEOF
+ #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+-EOF
++_ACEOF
+ 
+ fi
+ done
+ 
+ fi
+ 
++
+ for ac_func in inet_pton
+ do
+-echo "$as_me:13759: checking for $ac_func" >&5
++echo "$as_me:$LINENO: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_func_$ac_func+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 13765 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_SYS_TYPES_H
+ #include <sys/types.h>
+@@ -13776,6 +16089,12 @@
+ #ifdef HAVE_ARPA_INET_H
+ #include <arpa/inet.h>
+ #endif
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -13794,16 +16113,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:13797: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:13800: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:13803: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:13806: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_func_$ac_func=yes"
+ else
+@@ -13816,14 +16135,14 @@
+ 
+ if eval "test \"\${ac_cv_func_$ac_func}\" = yes"; then
+   ac_tr_func=HAVE_`echo $ac_func | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`
+-  cat >>confdefs.h <<EOF
++  cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-  echo "$as_me:13823: result: yes" >&5
++  echo "$as_me:$LINENO: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ else
+-  echo "$as_me:13826: result: no" >&5
++  echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+   LIBOBJS="$LIBOBJS ${ac_func}.o"
+ fi
+@@ -13833,13 +16152,13 @@
+ for ac_func in inet_pton
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:13836: checking for $ac_func" >&5
++echo "$as_me:$LINENO: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 13842 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -13853,6 +16172,12 @@
+ char $ac_func ();
+ char (*f) ();
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -13870,16 +16195,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:13873: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:13876: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:13879: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:13882: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -13889,29 +16214,38 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:13892: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+-  cat >>confdefs.h <<EOF
++  cat >>confdefs.h <<_ACEOF
+ #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+-EOF
++_ACEOF
+ 
+ fi
+ done
+ 
+ fi
+ 
+-echo "$as_me:13904: checking for sa_len in struct sockaddr" >&5
++
++
++
++echo "$as_me:$LINENO: checking for sa_len in struct sockaddr" >&5
+ echo $ECHO_N "checking for sa_len in struct sockaddr... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_sockaddr_sa_len+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 13911 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #include <sys/socket.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -13921,16 +16255,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:13924: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:13927: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:13930: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:13933: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_type_struct_sockaddr_sa_len=yes
+ else
+@@ -13940,30 +16274,34 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:13943: result: $ac_cv_type_struct_sockaddr_sa_len" >&5
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_sockaddr_sa_len" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_sockaddr_sa_len" >&6
+ if test "$ac_cv_type_struct_sockaddr_sa_len" = yes; then
+ 
+-cat >>confdefs.h <<\EOF
++
++cat >>confdefs.h <<\_ACEOF
+ #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
+-EOF
++_ACEOF
++
+ 
+ fi
+ 
++
++
+ if test "$ac_cv_func_getnameinfo" = "yes"; then
+ 
+-echo "$as_me:13955: checking if getnameinfo is broken" >&5
++echo "$as_me:$LINENO: checking if getnameinfo is broken" >&5
+ echo $ECHO_N "checking if getnameinfo is broken... $ECHO_C" >&6
+ if test "${ac_cv_func_getnameinfo_broken+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   if test "$cross_compiling" = yes; then
+-  { { echo "$as_me:13961: error: cannot run test program while cross compiling" >&5
++  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
+ echo "$as_me: error: cannot run test program while cross compiling" >&2;}
+    { (exit 1); exit 1; }; }
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 13966 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
+ #include <sys/types.h>
+@@ -13989,27 +16327,28 @@
+ 
+ _ACEOF
+ rm -f conftest$ac_exeext
+-if { (eval echo "$as_me:13992: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:13995: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
+-  { (eval echo "$as_me:13997: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:14000: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_func_getnameinfo_broken=no
+ else
+   echo "$as_me: program exited with status $ac_status" >&5
+ echo "$as_me: failed program was:" >&5
+ cat conftest.$ac_ext >&5
++( exit $ac_status )
+ ac_cv_func_getnameinfo_broken=yes
+ fi
+ rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
+ fi
+ fi
+-echo "$as_me:14012: result: $ac_cv_func_getnameinfo_broken" >&5
++echo "$as_me:$LINENO: result: $ac_cv_func_getnameinfo_broken" >&5
+ echo "${ECHO_T}$ac_cv_func_getnameinfo_broken" >&6
+   if test "$ac_cv_func_getnameinfo_broken" = yes; then
+     LIBOBJS="$LIBOBJS getnameinfo.o"
+@@ -14018,18 +16357,18 @@
+ 
+ if test "$ac_cv_func_getaddrinfo" = "yes"; then
+ 
+-echo "$as_me:14021: checking if getaddrinfo handles numeric services" >&5
++echo "$as_me:$LINENO: checking if getaddrinfo handles numeric services" >&5
+ echo $ECHO_N "checking if getaddrinfo handles numeric services... $ECHO_C" >&6
+ if test "${ac_cv_func_getaddrinfo_numserv+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   if test "$cross_compiling" = yes; then
+-  { { echo "$as_me:14027: error: cannot run test program while cross compiling" >&5
++  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
+ echo "$as_me: error: cannot run test program while cross compiling" >&2;}
+    { (exit 1); exit 1; }; }
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 14032 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
+ #include <sys/types.h>
+@@ -14051,43 +16390,51 @@
+ 
+ _ACEOF
+ rm -f conftest$ac_exeext
+-if { (eval echo "$as_me:14054: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:14057: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
+-  { (eval echo "$as_me:14059: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:14062: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_func_getaddrinfo_numserv=yes
+ else
+   echo "$as_me: program exited with status $ac_status" >&5
+ echo "$as_me: failed program was:" >&5
+ cat conftest.$ac_ext >&5
++( exit $ac_status )
+ ac_cv_func_getaddrinfo_numserv=no
+ fi
+ rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
+ fi
+ fi
+-echo "$as_me:14074: result: $ac_cv_func_getaddrinfo_numserv" >&5
++echo "$as_me:$LINENO: result: $ac_cv_func_getaddrinfo_numserv" >&5
+ echo "${ECHO_T}$ac_cv_func_getaddrinfo_numserv" >&6
+   if test "$ac_cv_func_getaddrinfo_numserv" = no; then
+     LIBOBJS="$LIBOBJS getaddrinfo.o"
+   fi
+ fi
+ 
++
+ if test "$ac_cv_func_setenv+set" != set -o "$ac_cv_func_setenv" = yes; then
+-echo "$as_me:14082: checking if setenv needs a prototype" >&5
++echo "$as_me:$LINENO: checking if setenv needs a prototype" >&5
+ echo $ECHO_N "checking if setenv needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_setenv_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 14088 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -14100,16 +16447,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:14103: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:14106: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:14109: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:14112: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_func_setenv_noproto=yes"
+ else
+@@ -14119,29 +16466,36 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:14122: result: $ac_cv_func_setenv_noproto" >&5
++echo "$as_me:$LINENO: result: $ac_cv_func_setenv_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_setenv_noproto" >&6
+ 
+ if test "$ac_cv_func_setenv_noproto" = yes; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define NEED_SETENV_PROTO 1
+-EOF
++_ACEOF
+ 
+ fi
+ 
+ fi
+ 
++
+ if test "$ac_cv_func_unsetenv+set" != set -o "$ac_cv_func_unsetenv" = yes; then
+-echo "$as_me:14136: checking if unsetenv needs a prototype" >&5
++echo "$as_me:$LINENO: checking if unsetenv needs a prototype" >&5
+ echo $ECHO_N "checking if unsetenv needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_unsetenv_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 14142 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -14154,16 +16508,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:14157: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:14160: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:14163: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:14166: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_func_unsetenv_noproto=yes"
+ else
+@@ -14173,29 +16527,36 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:14176: result: $ac_cv_func_unsetenv_noproto" >&5
++echo "$as_me:$LINENO: result: $ac_cv_func_unsetenv_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_unsetenv_noproto" >&6
+ 
+ if test "$ac_cv_func_unsetenv_noproto" = yes; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define NEED_UNSETENV_PROTO 1
+-EOF
++_ACEOF
+ 
+ fi
+ 
+ fi
+ 
++
+ if test "$ac_cv_func_gethostname+set" != set -o "$ac_cv_func_gethostname" = yes; then
+-echo "$as_me:14190: checking if gethostname needs a prototype" >&5
++echo "$as_me:$LINENO: checking if gethostname needs a prototype" >&5
+ echo $ECHO_N "checking if gethostname needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_gethostname_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 14196 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <unistd.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -14208,16 +16569,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:14211: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:14214: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:14217: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:14220: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_func_gethostname_noproto=yes"
+ else
+@@ -14227,29 +16588,36 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:14230: result: $ac_cv_func_gethostname_noproto" >&5
++echo "$as_me:$LINENO: result: $ac_cv_func_gethostname_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_gethostname_noproto" >&6
+ 
+ if test "$ac_cv_func_gethostname_noproto" = yes; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define NEED_GETHOSTNAME_PROTO 1
+-EOF
++_ACEOF
+ 
+ fi
+ 
+ fi
+ 
++
+ if test "$ac_cv_func_mkstemp+set" != set -o "$ac_cv_func_mkstemp" = yes; then
+-echo "$as_me:14244: checking if mkstemp needs a prototype" >&5
++echo "$as_me:$LINENO: checking if mkstemp needs a prototype" >&5
+ echo $ECHO_N "checking if mkstemp needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_mkstemp_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 14250 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <unistd.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -14262,16 +16630,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:14265: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:14268: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:14271: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:14274: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_func_mkstemp_noproto=yes"
+ else
+@@ -14281,29 +16649,36 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:14284: result: $ac_cv_func_mkstemp_noproto" >&5
++echo "$as_me:$LINENO: result: $ac_cv_func_mkstemp_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_mkstemp_noproto" >&6
+ 
+ if test "$ac_cv_func_mkstemp_noproto" = yes; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define NEED_MKSTEMP_PROTO 1
+-EOF
++_ACEOF
+ 
+ fi
+ 
+ fi
+ 
++
+ if test "$ac_cv_func_getusershell+set" != set -o "$ac_cv_func_getusershell" = yes; then
+-echo "$as_me:14298: checking if getusershell needs a prototype" >&5
++echo "$as_me:$LINENO: checking if getusershell needs a prototype" >&5
+ echo $ECHO_N "checking if getusershell needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_getusershell_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 14304 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <unistd.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -14316,16 +16691,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:14319: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:14322: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:14325: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:14328: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_func_getusershell_noproto=yes"
+ else
+@@ -14335,27 +16710,29 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:14338: result: $ac_cv_func_getusershell_noproto" >&5
++echo "$as_me:$LINENO: result: $ac_cv_func_getusershell_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_getusershell_noproto" >&6
+ 
+ if test "$ac_cv_func_getusershell_noproto" = yes; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define NEED_GETUSERSHELL_PROTO 1
+-EOF
++_ACEOF
+ 
+ fi
+ 
+ fi
+ 
++
++
+ if test "$ac_cv_func_inet_aton+set" != set -o "$ac_cv_func_inet_aton" = yes; then
+-echo "$as_me:14352: checking if inet_aton needs a prototype" >&5
++echo "$as_me:$LINENO: checking if inet_aton needs a prototype" >&5
+ echo $ECHO_N "checking if inet_aton needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_inet_aton_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 14358 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_SYS_TYPES_H
+@@ -14370,6 +16747,12 @@
+ #ifdef HAVE_ARPA_INET_H
+ #include <arpa/inet.h>
+ #endif
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -14382,16 +16765,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:14385: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:14388: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:14391: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:14394: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_func_inet_aton_noproto=yes"
+ else
+@@ -14401,20 +16784,24 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:14404: result: $ac_cv_func_inet_aton_noproto" >&5
++echo "$as_me:$LINENO: result: $ac_cv_func_inet_aton_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_inet_aton_noproto" >&6
+ 
+ if test "$ac_cv_func_inet_aton_noproto" = yes; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define NEED_INET_ATON_PROTO 1
+-EOF
++_ACEOF
+ 
+ fi
+ 
+ fi
+ 
+-echo "$as_me:14417: checking for crypt" >&5
++
++
++
++
++echo "$as_me:$LINENO: checking for crypt" >&5
+ echo $ECHO_N "checking for crypt... $ECHO_C" >&6
+ if test "${ac_cv_funclib_crypt+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -14432,9 +16819,15 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 14435 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -14444,16 +16837,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:14447: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:14450: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:14453: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:14456: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_crypt=$ac_lib; else ac_cv_funclib_crypt=yes; fi";break
+ else
+@@ -14468,6 +16861,7 @@
+ 
+ fi
+ 
++
+ eval "ac_res=\$ac_cv_funclib_crypt"
+ 
+ if false; then
+@@ -14475,13 +16869,13 @@
+ for ac_func in crypt
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:14478: checking for $ac_func" >&5
++echo "$as_me:$LINENO: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 14484 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -14495,6 +16889,12 @@
+ char $ac_func ();
+ char (*f) ();
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -14512,16 +16912,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:14515: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:14518: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:14521: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:14524: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -14531,12 +16931,12 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:14534: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+-  cat >>confdefs.h <<EOF
++  cat >>confdefs.h <<_ACEOF
+ #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+-EOF
++_ACEOF
+ 
+ fi
+ done
+@@ -14551,42 +16951,47 @@
+ 	yes)
+ 	eval "ac_cv_func_crypt=yes"
+ 	eval "LIB_crypt="
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:14558: result: yes" >&5
++	echo "$as_me:$LINENO: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_crypt=no"
+ 	eval "LIB_crypt="
+-	echo "$as_me:14564: result: no" >&5
++	echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+ 	eval "ac_cv_func_crypt=yes"
+ 	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_lib 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:14578: result: yes, in $ac_res" >&5
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "$as_me:14583: checking if gethostbyname is compatible with system prototype" >&5
++
++
++
++
++
++echo "$as_me:$LINENO: checking if gethostbyname is compatible with system prototype" >&5
+ echo $ECHO_N "checking if gethostbyname is compatible with system prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_gethostbyname_proto_compat+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 14589 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_SYS_TYPES_H
+@@ -14605,6 +17010,12 @@
+ #include <netdb.h>
+ #endif
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -14614,16 +17025,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:14617: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:14620: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:14623: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:14626: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_func_gethostbyname_proto_compat=yes"
+ else
+@@ -14633,24 +17044,27 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:14636: result: $ac_cv_func_gethostbyname_proto_compat" >&5
++echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname_proto_compat" >&5
+ echo "${ECHO_T}$ac_cv_func_gethostbyname_proto_compat" >&6
+ 
+ if test "$ac_cv_func_gethostbyname_proto_compat" = yes; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define GETHOSTBYNAME_PROTO_COMPATIBLE 1
+-EOF
++_ACEOF
+ 
+ fi
+ 
+-echo "$as_me:14647: checking if gethostbyaddr is compatible with system prototype" >&5
++
++
++
++echo "$as_me:$LINENO: checking if gethostbyaddr is compatible with system prototype" >&5
+ echo $ECHO_N "checking if gethostbyaddr is compatible with system prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_gethostbyaddr_proto_compat+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 14653 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_SYS_TYPES_H
+@@ -14669,6 +17083,12 @@
+ #include <netdb.h>
+ #endif
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -14678,16 +17098,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:14681: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:14684: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:14687: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:14690: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_func_gethostbyaddr_proto_compat=yes"
+ else
+@@ -14697,24 +17117,27 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:14700: result: $ac_cv_func_gethostbyaddr_proto_compat" >&5
++echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyaddr_proto_compat" >&5
+ echo "${ECHO_T}$ac_cv_func_gethostbyaddr_proto_compat" >&6
+ 
+ if test "$ac_cv_func_gethostbyaddr_proto_compat" = yes; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define GETHOSTBYADDR_PROTO_COMPATIBLE 1
+-EOF
++_ACEOF
+ 
+ fi
+ 
+-echo "$as_me:14711: checking if getservbyname is compatible with system prototype" >&5
++
++
++
++echo "$as_me:$LINENO: checking if getservbyname is compatible with system prototype" >&5
+ echo $ECHO_N "checking if getservbyname is compatible with system prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_getservbyname_proto_compat+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 14717 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_SYS_TYPES_H
+@@ -14733,6 +17156,12 @@
+ #include <netdb.h>
+ #endif
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -14742,16 +17171,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:14745: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:14748: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:14751: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:14754: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_func_getservbyname_proto_compat=yes"
+ else
+@@ -14761,24 +17190,27 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:14764: result: $ac_cv_func_getservbyname_proto_compat" >&5
++echo "$as_me:$LINENO: result: $ac_cv_func_getservbyname_proto_compat" >&5
+ echo "${ECHO_T}$ac_cv_func_getservbyname_proto_compat" >&6
+ 
+ if test "$ac_cv_func_getservbyname_proto_compat" = yes; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define GETSERVBYNAME_PROTO_COMPATIBLE 1
+-EOF
++_ACEOF
+ 
+ fi
+ 
+-echo "$as_me:14775: checking if getsockname is compatible with system prototype" >&5
++
++
++
++echo "$as_me:$LINENO: checking if getsockname is compatible with system prototype" >&5
+ echo $ECHO_N "checking if getsockname is compatible with system prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_getsockname_proto_compat+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 14781 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_SYS_TYPES_H
+@@ -14788,6 +17220,12 @@
+ #include <sys/socket.h>
+ #endif
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -14797,16 +17235,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:14800: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:14803: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:14806: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:14809: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_func_getsockname_proto_compat=yes"
+ else
+@@ -14816,30 +17254,39 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:14819: result: $ac_cv_func_getsockname_proto_compat" >&5
++echo "$as_me:$LINENO: result: $ac_cv_func_getsockname_proto_compat" >&5
+ echo "${ECHO_T}$ac_cv_func_getsockname_proto_compat" >&6
+ 
+ if test "$ac_cv_func_getsockname_proto_compat" = yes; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define GETSOCKNAME_PROTO_COMPATIBLE 1
+-EOF
++_ACEOF
+ 
+ fi
+ 
+-echo "$as_me:14830: checking if openlog is compatible with system prototype" >&5
++
++
++
++echo "$as_me:$LINENO: checking if openlog is compatible with system prototype" >&5
+ echo $ECHO_N "checking if openlog is compatible with system prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_openlog_proto_compat+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 14836 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_SYSLOG_H
+ #include <syslog.h>
+ #endif
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -14849,16 +17296,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:14852: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:14855: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:14858: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:14861: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_func_openlog_proto_compat=yes"
+ else
+@@ -14868,25 +17315,28 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:14871: result: $ac_cv_func_openlog_proto_compat" >&5
++echo "$as_me:$LINENO: result: $ac_cv_func_openlog_proto_compat" >&5
+ echo "${ECHO_T}$ac_cv_func_openlog_proto_compat" >&6
+ 
+ if test "$ac_cv_func_openlog_proto_compat" = yes; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define OPENLOG_PROTO_COMPATIBLE 1
+-EOF
++_ACEOF
+ 
+ fi
+ 
++
++
++
+ if test "$ac_cv_func_crypt+set" != set -o "$ac_cv_func_crypt" = yes; then
+-echo "$as_me:14883: checking if crypt needs a prototype" >&5
++echo "$as_me:$LINENO: checking if crypt needs a prototype" >&5
+ echo $ECHO_N "checking if crypt needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_crypt_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 14889 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_CRYPT_H
+@@ -14896,6 +17346,12 @@
+ #include <unistd.h>
+ #endif
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -14908,16 +17364,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:14911: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:14914: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:14917: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:14920: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_func_crypt_noproto=yes"
+ else
+@@ -14927,31 +17383,39 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:14930: result: $ac_cv_func_crypt_noproto" >&5
++echo "$as_me:$LINENO: result: $ac_cv_func_crypt_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_crypt_noproto" >&6
+ 
+ if test "$ac_cv_func_crypt_noproto" = yes; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define NEED_CRYPT_PROTO 1
+-EOF
++_ACEOF
+ 
+ fi
+ 
+ fi
+ 
++
++
+ if test "$ac_cv_func_strtok_r+set" != set -o "$ac_cv_func_strtok_r" = yes; then
+-echo "$as_me:14944: checking if strtok_r needs a prototype" >&5
++echo "$as_me:$LINENO: checking if strtok_r needs a prototype" >&5
+ echo $ECHO_N "checking if strtok_r needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_strtok_r_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 14950 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
+ #include <string.h>
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -14964,16 +17428,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:14967: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:14970: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:14973: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:14976: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_func_strtok_r_noproto=yes"
+ else
+@@ -14983,31 +17447,39 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:14986: result: $ac_cv_func_strtok_r_noproto" >&5
++echo "$as_me:$LINENO: result: $ac_cv_func_strtok_r_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_strtok_r_noproto" >&6
+ 
+ if test "$ac_cv_func_strtok_r_noproto" = yes; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define NEED_STRTOK_R_PROTO 1
+-EOF
++_ACEOF
+ 
+ fi
+ 
+ fi
+ 
++
++
+ if test "$ac_cv_func_strsep+set" != set -o "$ac_cv_func_strsep" = yes; then
+-echo "$as_me:15000: checking if strsep needs a prototype" >&5
++echo "$as_me:$LINENO: checking if strsep needs a prototype" >&5
+ echo $ECHO_N "checking if strsep needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_strsep_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 15006 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
+ #include <string.h>
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -15020,16 +17492,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:15023: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:15026: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:15029: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:15032: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_func_strsep_noproto=yes"
+ else
+@@ -15039,30 +17511,39 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:15042: result: $ac_cv_func_strsep_noproto" >&5
++echo "$as_me:$LINENO: result: $ac_cv_func_strsep_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_strsep_noproto" >&6
+ 
+ if test "$ac_cv_func_strsep_noproto" = yes; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define NEED_STRSEP_PROTO 1
+-EOF
++_ACEOF
+ 
+ fi
+ 
+ fi
+ 
+-echo "$as_me:15055: checking for h_errno" >&5
++
++
++
++echo "$as_me:$LINENO: checking for h_errno" >&5
+ echo $ECHO_N "checking for h_errno... $ECHO_C" >&6
+ if test "${ac_cv_var_h_errno+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 15062 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ extern int h_errno;
+ int foo() { return h_errno; }
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -15072,16 +17553,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:15075: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:15078: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:15081: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:15084: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_var_h_errno=yes
+ else
+@@ -15094,22 +17575,23 @@
+ fi
+ 
+ ac_foo=`eval echo \\$ac_cv_var_h_errno`
+-echo "$as_me:15097: result: $ac_foo" >&5
++echo "$as_me:$LINENO: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+ 
+-cat >>confdefs.h <<EOF
++cat >>confdefs.h <<_ACEOF
+ #define HAVE_H_ERRNO 1
+-EOF
++_ACEOF
+ 
+-echo "$as_me:15105: checking if h_errno is properly declared" >&5
++
++echo "$as_me:$LINENO: checking if h_errno is properly declared" >&5
+ echo $ECHO_N "checking if h_errno is properly declared... $ECHO_C" >&6
+ if test "${ac_cv_var_h_errno_declaration+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 15112 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_SYS_TYPES_H
+ #include <sys/types.h>
+@@ -15118,6 +17600,12 @@
+ #include <netdb.h>
+ #endif
+ extern struct { int foo; } h_errno;
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -15127,16 +17615,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:15130: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:15133: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:15136: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:15139: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_var_h_errno_declaration=no"
+ else
+@@ -15148,29 +17636,41 @@
+ 
+ fi
+ 
+-echo "$as_me:15151: result: $ac_cv_var_h_errno_declaration" >&5
+-echo "${ECHO_T}$ac_cv_var_h_errno_declaration" >&6
++
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var_h_errno_declaration" >&5
++echo "${ECHO_T}$ac_cv_var_h_errno_declaration" >&6
+ if eval "test \"\$ac_cv_var_h_errno_declaration\" = yes"; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define HAVE_H_ERRNO_DECLARATION 1
+-EOF
++_ACEOF
+ 
+ fi
+ 
++
+ fi
+ 
+-echo "$as_me:15163: checking for h_errlist" >&5
++
++
++echo "$as_me:$LINENO: checking for h_errlist" >&5
+ echo $ECHO_N "checking for h_errlist... $ECHO_C" >&6
+ if test "${ac_cv_var_h_errlist+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 15170 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ extern int h_errlist;
+ int foo() { return h_errlist; }
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -15180,16 +17680,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:15183: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:15186: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:15189: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:15192: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_var_h_errlist=yes
+ else
+@@ -15202,27 +17702,34 @@
+ fi
+ 
+ ac_foo=`eval echo \\$ac_cv_var_h_errlist`
+-echo "$as_me:15205: result: $ac_foo" >&5
++echo "$as_me:$LINENO: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+ 
+-cat >>confdefs.h <<EOF
++cat >>confdefs.h <<_ACEOF
+ #define HAVE_H_ERRLIST 1
+-EOF
++_ACEOF
++
+ 
+-echo "$as_me:15213: checking if h_errlist is properly declared" >&5
++echo "$as_me:$LINENO: checking if h_errlist is properly declared" >&5
+ echo $ECHO_N "checking if h_errlist is properly declared... $ECHO_C" >&6
+ if test "${ac_cv_var_h_errlist_declaration+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 15220 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_NETDB_H
+ #include <netdb.h>
+ #endif
+ extern struct { int foo; } h_errlist;
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -15232,16 +17739,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:15235: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:15238: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:15241: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:15244: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_var_h_errlist_declaration=no"
+ else
+@@ -15253,29 +17760,41 @@
+ 
+ fi
+ 
+-echo "$as_me:15256: result: $ac_cv_var_h_errlist_declaration" >&5
++
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var_h_errlist_declaration" >&5
+ echo "${ECHO_T}$ac_cv_var_h_errlist_declaration" >&6
+ if eval "test \"\$ac_cv_var_h_errlist_declaration\" = yes"; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define HAVE_H_ERRLIST_DECLARATION 1
+-EOF
++_ACEOF
+ 
+ fi
+ 
++
+ fi
+ 
+-echo "$as_me:15268: checking for h_nerr" >&5
++
++
++echo "$as_me:$LINENO: checking for h_nerr" >&5
+ echo $ECHO_N "checking for h_nerr... $ECHO_C" >&6
+ if test "${ac_cv_var_h_nerr+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 15275 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ extern int h_nerr;
+ int foo() { return h_nerr; }
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -15285,16 +17804,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:15288: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:15291: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:15294: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:15297: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_var_h_nerr=yes
+ else
+@@ -15307,27 +17826,34 @@
+ fi
+ 
+ ac_foo=`eval echo \\$ac_cv_var_h_nerr`
+-echo "$as_me:15310: result: $ac_foo" >&5
++echo "$as_me:$LINENO: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+ 
+-cat >>confdefs.h <<EOF
++cat >>confdefs.h <<_ACEOF
+ #define HAVE_H_NERR 1
+-EOF
++_ACEOF
+ 
+-echo "$as_me:15318: checking if h_nerr is properly declared" >&5
++
++echo "$as_me:$LINENO: checking if h_nerr is properly declared" >&5
+ echo $ECHO_N "checking if h_nerr is properly declared... $ECHO_C" >&6
+ if test "${ac_cv_var_h_nerr_declaration+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 15325 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_NETDB_H
+ #include <netdb.h>
+ #endif
+ extern struct { int foo; } h_nerr;
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -15337,16 +17863,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:15340: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:15343: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:15346: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:15349: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_var_h_nerr_declaration=no"
+ else
+@@ -15358,29 +17884,41 @@
+ 
+ fi
+ 
+-echo "$as_me:15361: result: $ac_cv_var_h_nerr_declaration" >&5
++
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var_h_nerr_declaration" >&5
+ echo "${ECHO_T}$ac_cv_var_h_nerr_declaration" >&6
+ if eval "test \"\$ac_cv_var_h_nerr_declaration\" = yes"; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define HAVE_H_NERR_DECLARATION 1
+-EOF
++_ACEOF
+ 
+ fi
+ 
++
+ fi
+ 
+-echo "$as_me:15373: checking for __progname" >&5
++
++
++echo "$as_me:$LINENO: checking for __progname" >&5
+ echo $ECHO_N "checking for __progname... $ECHO_C" >&6
+ if test "${ac_cv_var___progname+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 15380 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ extern int __progname;
+ int foo() { return __progname; }
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -15390,16 +17928,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:15393: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:15396: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:15399: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:15402: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_var___progname=yes
+ else
+@@ -15412,27 +17950,34 @@
+ fi
+ 
+ ac_foo=`eval echo \\$ac_cv_var___progname`
+-echo "$as_me:15415: result: $ac_foo" >&5
++echo "$as_me:$LINENO: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+ 
+-cat >>confdefs.h <<EOF
++cat >>confdefs.h <<_ACEOF
+ #define HAVE___PROGNAME 1
+-EOF
++_ACEOF
++
+ 
+-echo "$as_me:15423: checking if __progname is properly declared" >&5
++echo "$as_me:$LINENO: checking if __progname is properly declared" >&5
+ echo $ECHO_N "checking if __progname is properly declared... $ECHO_C" >&6
+ if test "${ac_cv_var___progname_declaration+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 15430 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_ERR_H
+ #include <err.h>
+ #endif
+ extern struct { int foo; } __progname;
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -15442,16 +17987,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:15445: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:15448: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:15451: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:15454: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_var___progname_declaration=no"
+ else
+@@ -15463,32 +18008,44 @@
+ 
+ fi
+ 
+-echo "$as_me:15466: result: $ac_cv_var___progname_declaration" >&5
++
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var___progname_declaration" >&5
+ echo "${ECHO_T}$ac_cv_var___progname_declaration" >&6
+ if eval "test \"\$ac_cv_var___progname_declaration\" = yes"; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define HAVE___PROGNAME_DECLARATION 1
+-EOF
++_ACEOF
+ 
+ fi
+ 
++
+ fi
+ 
+-echo "$as_me:15478: checking if optarg is properly declared" >&5
++
++
++echo "$as_me:$LINENO: checking if optarg is properly declared" >&5
+ echo $ECHO_N "checking if optarg is properly declared... $ECHO_C" >&6
+ if test "${ac_cv_var_optarg_declaration+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 15485 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ #ifdef HAVE_UNISTD_H
+ #include <unistd.h>
+ #endif
+ extern struct { int foo; } optarg;
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -15498,16 +18055,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:15501: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:15504: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:15507: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:15510: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_var_optarg_declaration=no"
+ else
+@@ -15519,30 +18076,41 @@
+ 
+ fi
+ 
+-echo "$as_me:15522: result: $ac_cv_var_optarg_declaration" >&5
++
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var_optarg_declaration" >&5
+ echo "${ECHO_T}$ac_cv_var_optarg_declaration" >&6
+ if eval "test \"\$ac_cv_var_optarg_declaration\" = yes"; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define HAVE_OPTARG_DECLARATION 1
+-EOF
++_ACEOF
+ 
+ fi
+ 
+-echo "$as_me:15532: checking if optind is properly declared" >&5
++
++
++echo "$as_me:$LINENO: checking if optind is properly declared" >&5
+ echo $ECHO_N "checking if optind is properly declared... $ECHO_C" >&6
+ if test "${ac_cv_var_optind_declaration+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 15539 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ #ifdef HAVE_UNISTD_H
+ #include <unistd.h>
+ #endif
+ extern struct { int foo; } optind;
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -15552,16 +18120,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:15555: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:15558: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:15561: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:15564: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_var_optind_declaration=no"
+ else
+@@ -15573,30 +18141,41 @@
+ 
+ fi
+ 
+-echo "$as_me:15576: result: $ac_cv_var_optind_declaration" >&5
++
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var_optind_declaration" >&5
+ echo "${ECHO_T}$ac_cv_var_optind_declaration" >&6
+ if eval "test \"\$ac_cv_var_optind_declaration\" = yes"; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define HAVE_OPTIND_DECLARATION 1
+-EOF
++_ACEOF
+ 
+ fi
+ 
+-echo "$as_me:15586: checking if opterr is properly declared" >&5
++
++
++echo "$as_me:$LINENO: checking if opterr is properly declared" >&5
+ echo $ECHO_N "checking if opterr is properly declared... $ECHO_C" >&6
+ if test "${ac_cv_var_opterr_declaration+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 15593 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ #ifdef HAVE_UNISTD_H
+ #include <unistd.h>
+ #endif
+ extern struct { int foo; } opterr;
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -15606,16 +18185,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:15609: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:15612: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:15615: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:15618: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_var_opterr_declaration=no"
+ else
+@@ -15627,30 +18206,41 @@
+ 
+ fi
+ 
+-echo "$as_me:15630: result: $ac_cv_var_opterr_declaration" >&5
++
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var_opterr_declaration" >&5
+ echo "${ECHO_T}$ac_cv_var_opterr_declaration" >&6
+ if eval "test \"\$ac_cv_var_opterr_declaration\" = yes"; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define HAVE_OPTERR_DECLARATION 1
+-EOF
++_ACEOF
+ 
+ fi
+ 
+-echo "$as_me:15640: checking if optopt is properly declared" >&5
++
++
++echo "$as_me:$LINENO: checking if optopt is properly declared" >&5
+ echo $ECHO_N "checking if optopt is properly declared... $ECHO_C" >&6
+ if test "${ac_cv_var_optopt_declaration+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 15647 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ #ifdef HAVE_UNISTD_H
+ #include <unistd.h>
+ #endif
+ extern struct { int foo; } optopt;
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -15660,16 +18250,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:15663: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:15666: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:15669: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:15672: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_var_optopt_declaration=no"
+ else
+@@ -15681,27 +18271,39 @@
+ 
+ fi
+ 
+-echo "$as_me:15684: result: $ac_cv_var_optopt_declaration" >&5
++
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var_optopt_declaration" >&5
+ echo "${ECHO_T}$ac_cv_var_optopt_declaration" >&6
+ if eval "test \"\$ac_cv_var_optopt_declaration\" = yes"; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define HAVE_OPTOPT_DECLARATION 1
+-EOF
++_ACEOF
+ 
+ fi
+ 
+-echo "$as_me:15694: checking if environ is properly declared" >&5
++
++
++
++echo "$as_me:$LINENO: checking if environ is properly declared" >&5
+ echo $ECHO_N "checking if environ is properly declared... $ECHO_C" >&6
+ if test "${ac_cv_var_environ_declaration+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 15701 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ extern struct { int foo; } environ;
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -15711,16 +18313,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:15714: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:15717: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:15720: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:15723: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_var_environ_declaration=no"
+ else
+@@ -15732,26 +18334,40 @@
+ 
+ fi
+ 
+-echo "$as_me:15735: result: $ac_cv_var_environ_declaration" >&5
++
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var_environ_declaration" >&5
+ echo "${ECHO_T}$ac_cv_var_environ_declaration" >&6
+ if eval "test \"\$ac_cv_var_environ_declaration\" = yes"; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define HAVE_ENVIRON_DECLARATION 1
+-EOF
++_ACEOF
+ 
+ fi
+ 
+-echo "$as_me:15745: checking for tm_gmtoff in struct tm" >&5
++
++
++
++
++
++echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
+ echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_tm_tm_gmtoff+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 15752 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <time.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -15761,16 +18377,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:15764: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:15767: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:15770: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:15773: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_type_struct_tm_tm_gmtoff=yes
+ else
+@@ -15780,26 +18396,37 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:15783: result: $ac_cv_type_struct_tm_tm_gmtoff" >&5
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_tm_tm_gmtoff" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_tm_tm_gmtoff" >&6
+ if test "$ac_cv_type_struct_tm_tm_gmtoff" = yes; then
+ 
+-cat >>confdefs.h <<\EOF
++
++cat >>confdefs.h <<\_ACEOF
+ #define HAVE_STRUCT_TM_TM_GMTOFF 1
+-EOF
++_ACEOF
++
+ 
+ fi
+ 
+-echo "$as_me:15793: checking for tm_zone in struct tm" >&5
++
++
++
++echo "$as_me:$LINENO: checking for tm_zone in struct tm" >&5
+ echo $ECHO_N "checking for tm_zone in struct tm... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_tm_tm_zone+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 15800 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <time.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -15809,16 +18436,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:15812: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:15815: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:15818: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:15821: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_type_struct_tm_tm_zone=yes
+ else
+@@ -15828,27 +18455,39 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:15831: result: $ac_cv_type_struct_tm_tm_zone" >&5
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_tm_tm_zone" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_tm_tm_zone" >&6
+ if test "$ac_cv_type_struct_tm_tm_zone" = yes; then
+ 
+-cat >>confdefs.h <<\EOF
++
++cat >>confdefs.h <<\_ACEOF
+ #define HAVE_STRUCT_TM_TM_ZONE 1
+-EOF
++_ACEOF
++
+ 
+ fi
+ 
+-echo "$as_me:15841: checking for timezone" >&5
++
++
++
++
++echo "$as_me:$LINENO: checking for timezone" >&5
+ echo $ECHO_N "checking for timezone... $ECHO_C" >&6
+ if test "${ac_cv_var_timezone+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 15848 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ extern int timezone;
+ int foo() { return timezone; }
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -15858,16 +18497,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:15861: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:15864: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:15867: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:15870: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_var_timezone=yes
+ else
+@@ -15880,25 +18519,32 @@
+ fi
+ 
+ ac_foo=`eval echo \\$ac_cv_var_timezone`
+-echo "$as_me:15883: result: $ac_foo" >&5
++echo "$as_me:$LINENO: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+ 
+-cat >>confdefs.h <<EOF
++cat >>confdefs.h <<_ACEOF
+ #define HAVE_TIMEZONE 1
+-EOF
++_ACEOF
+ 
+-echo "$as_me:15891: checking if timezone is properly declared" >&5
++
++echo "$as_me:$LINENO: checking if timezone is properly declared" >&5
+ echo $ECHO_N "checking if timezone is properly declared... $ECHO_C" >&6
+ if test "${ac_cv_var_timezone_declaration+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 15898 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <time.h>
+ extern struct { int foo; } timezone;
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -15908,16 +18554,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:15911: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:15914: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:15917: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:15920: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_var_timezone_declaration=no"
+ else
+@@ -15929,26 +18575,33 @@
+ 
+ fi
+ 
+-echo "$as_me:15932: result: $ac_cv_var_timezone_declaration" >&5
++
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var_timezone_declaration" >&5
+ echo "${ECHO_T}$ac_cv_var_timezone_declaration" >&6
+ if eval "test \"\$ac_cv_var_timezone_declaration\" = yes"; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define HAVE_TIMEZONE_DECLARATION 1
+-EOF
++_ACEOF
+ 
+ fi
+ 
++
+ fi
+ 
++
++
++
+ cv=`echo "sa_family_t" | sed 'y%./+- %__p__%'`
+-echo "$as_me:15945: checking for sa_family_t" >&5
++echo "$as_me:$LINENO: checking for sa_family_t" >&5
+ echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 15951 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -15956,6 +18609,12 @@
+ #include <stddef.h>
+ #endif
+ #include <sys/socket.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -15965,16 +18624,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:15968: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:15971: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:15974: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:15977: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_type_$cv=yes"
+ else
+@@ -15985,20 +18644,26 @@
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:15988: result: $ac_foo" >&5
++echo "$as_me:$LINENO: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo sa_family_t | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:15993: checking for sa_family_t" >&5
++	echo "$as_me:$LINENO: checking for sa_family_t" >&5
+ echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6
+ if test "${ac_cv_type_sa_family_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 15999 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ $ac_includes_default
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -16011,16 +18676,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:16014: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:16017: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:16020: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:16023: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_type_sa_family_t=yes
+ else
+@@ -16030,32 +18695,35 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:16033: result: $ac_cv_type_sa_family_t" >&5
++echo "$as_me:$LINENO: result: $ac_cv_type_sa_family_t" >&5
+ echo "${ECHO_T}$ac_cv_type_sa_family_t" >&6
+ if test $ac_cv_type_sa_family_t = yes; then
+ 
+-cat >>confdefs.h <<EOF
++cat >>confdefs.h <<_ACEOF
+ #define HAVE_SA_FAMILY_T 1
+-EOF
++_ACEOF
++
+ 
+ fi
+ 
+ fi
+ 
+-cat >>confdefs.h <<EOF
++cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_hdr 1
+-EOF
++_ACEOF
+ 
+ fi
+ 
++
++
+ cv=`echo "socklen_t" | sed 'y%./+- %__p__%'`
+-echo "$as_me:16052: checking for socklen_t" >&5
++echo "$as_me:$LINENO: checking for socklen_t" >&5
+ echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 16058 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -16063,6 +18731,12 @@
+ #include <stddef.h>
+ #endif
+ #include <sys/socket.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -16072,16 +18746,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:16075: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:16078: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:16081: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:16084: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_type_$cv=yes"
+ else
+@@ -16092,20 +18766,26 @@
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:16095: result: $ac_foo" >&5
++echo "$as_me:$LINENO: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo socklen_t | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:16100: checking for socklen_t" >&5
++	echo "$as_me:$LINENO: checking for socklen_t" >&5
+ echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
+ if test "${ac_cv_type_socklen_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 16106 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ $ac_includes_default
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -16118,16 +18798,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:16121: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:16124: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:16127: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:16130: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_type_socklen_t=yes
+ else
+@@ -16137,32 +18817,35 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:16140: result: $ac_cv_type_socklen_t" >&5
++echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
+ echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
+ if test $ac_cv_type_socklen_t = yes; then
+ 
+-cat >>confdefs.h <<EOF
++cat >>confdefs.h <<_ACEOF
+ #define HAVE_SOCKLEN_T 1
+-EOF
++_ACEOF
++
+ 
+ fi
+ 
+ fi
+ 
+-cat >>confdefs.h <<EOF
++cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_hdr 1
+-EOF
++_ACEOF
+ 
+ fi
+ 
++
++
+ cv=`echo "struct sockaddr" | sed 'y%./+- %__p__%'`
+-echo "$as_me:16159: checking for struct sockaddr" >&5
++echo "$as_me:$LINENO: checking for struct sockaddr" >&5
+ echo $ECHO_N "checking for struct sockaddr... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 16165 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -16170,6 +18853,12 @@
+ #include <stddef.h>
+ #endif
+ #include <sys/socket.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -16179,16 +18868,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:16182: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:16185: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:16188: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:16191: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_type_$cv=yes"
+ else
+@@ -16199,20 +18888,26 @@
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:16202: result: $ac_foo" >&5
++echo "$as_me:$LINENO: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo struct sockaddr | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:16207: checking for struct sockaddr" >&5
++	echo "$as_me:$LINENO: checking for struct sockaddr" >&5
+ echo $ECHO_N "checking for struct sockaddr... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_sockaddr+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 16213 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ $ac_includes_default
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -16225,16 +18920,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:16228: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:16231: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:16234: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:16237: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_type_struct_sockaddr=yes
+ else
+@@ -16244,32 +18939,35 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:16247: result: $ac_cv_type_struct_sockaddr" >&5
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_sockaddr" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_sockaddr" >&6
+ if test $ac_cv_type_struct_sockaddr = yes; then
+ 
+-cat >>confdefs.h <<EOF
++cat >>confdefs.h <<_ACEOF
+ #define HAVE_STRUCT_SOCKADDR 1
+-EOF
++_ACEOF
++
+ 
+ fi
+ 
+ fi
+ 
+-cat >>confdefs.h <<EOF
++cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_hdr 1
+-EOF
++_ACEOF
+ 
+ fi
+ 
++
++
+ cv=`echo "struct sockaddr_storage" | sed 'y%./+- %__p__%'`
+-echo "$as_me:16266: checking for struct sockaddr_storage" >&5
++echo "$as_me:$LINENO: checking for struct sockaddr_storage" >&5
+ echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 16272 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -16277,6 +18975,12 @@
+ #include <stddef.h>
+ #endif
+ #include <sys/socket.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -16286,16 +18990,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:16289: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:16292: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:16295: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:16298: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_type_$cv=yes"
+ else
+@@ -16306,20 +19010,26 @@
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:16309: result: $ac_foo" >&5
++echo "$as_me:$LINENO: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo struct sockaddr_storage | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:16314: checking for struct sockaddr_storage" >&5
++	echo "$as_me:$LINENO: checking for struct sockaddr_storage" >&5
+ echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_sockaddr_storage+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 16320 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ $ac_includes_default
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -16332,16 +19042,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:16335: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:16338: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:16341: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:16344: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_type_struct_sockaddr_storage=yes
+ else
+@@ -16351,32 +19061,35 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:16354: result: $ac_cv_type_struct_sockaddr_storage" >&5
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_sockaddr_storage" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_sockaddr_storage" >&6
+ if test $ac_cv_type_struct_sockaddr_storage = yes; then
+ 
+-cat >>confdefs.h <<EOF
++cat >>confdefs.h <<_ACEOF
+ #define HAVE_STRUCT_SOCKADDR_STORAGE 1
+-EOF
++_ACEOF
++
+ 
+ fi
+ 
+ fi
+ 
+-cat >>confdefs.h <<EOF
++cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_hdr 1
+-EOF
++_ACEOF
+ 
+ fi
+ 
++
++
+ cv=`echo "struct addrinfo" | sed 'y%./+- %__p__%'`
+-echo "$as_me:16373: checking for struct addrinfo" >&5
++echo "$as_me:$LINENO: checking for struct addrinfo" >&5
+ echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 16379 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -16384,6 +19097,12 @@
+ #include <stddef.h>
+ #endif
+ #include <netdb.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -16393,16 +19112,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:16396: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:16399: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:16402: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:16405: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_type_$cv=yes"
+ else
+@@ -16413,20 +19132,26 @@
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:16416: result: $ac_foo" >&5
++echo "$as_me:$LINENO: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo struct addrinfo | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:16421: checking for struct addrinfo" >&5
++	echo "$as_me:$LINENO: checking for struct addrinfo" >&5
+ echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_addrinfo+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 16427 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ $ac_includes_default
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -16439,16 +19164,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:16442: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:16445: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:16448: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:16451: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_type_struct_addrinfo=yes
+ else
+@@ -16458,32 +19183,35 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:16461: result: $ac_cv_type_struct_addrinfo" >&5
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_addrinfo" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_addrinfo" >&6
+ if test $ac_cv_type_struct_addrinfo = yes; then
+ 
+-cat >>confdefs.h <<EOF
++cat >>confdefs.h <<_ACEOF
+ #define HAVE_STRUCT_ADDRINFO 1
+-EOF
++_ACEOF
++
+ 
+ fi
+ 
+ fi
+ 
+-cat >>confdefs.h <<EOF
++cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_hdr 1
+-EOF
++_ACEOF
+ 
+ fi
+ 
++
++
+ cv=`echo "struct ifaddrs" | sed 'y%./+- %__p__%'`
+-echo "$as_me:16480: checking for struct ifaddrs" >&5
++echo "$as_me:$LINENO: checking for struct ifaddrs" >&5
+ echo $ECHO_N "checking for struct ifaddrs... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 16486 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -16491,6 +19219,12 @@
+ #include <stddef.h>
+ #endif
+ #include <ifaddrs.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -16500,16 +19234,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:16503: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:16506: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:16509: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:16512: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_type_$cv=yes"
+ else
+@@ -16520,20 +19254,26 @@
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:16523: result: $ac_foo" >&5
++echo "$as_me:$LINENO: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo struct ifaddrs | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:16528: checking for struct ifaddrs" >&5
++	echo "$as_me:$LINENO: checking for struct ifaddrs" >&5
+ echo $ECHO_N "checking for struct ifaddrs... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_ifaddrs+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 16534 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ $ac_includes_default
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -16546,16 +19286,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:16549: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:16552: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:16555: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:16558: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_type_struct_ifaddrs=yes
+ else
+@@ -16565,25 +19305,29 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:16568: result: $ac_cv_type_struct_ifaddrs" >&5
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_ifaddrs" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_ifaddrs" >&6
+ if test $ac_cv_type_struct_ifaddrs = yes; then
+ 
+-cat >>confdefs.h <<EOF
++cat >>confdefs.h <<_ACEOF
+ #define HAVE_STRUCT_IFADDRS 1
+-EOF
++_ACEOF
++
+ 
+ fi
+ 
+ fi
+ 
+-cat >>confdefs.h <<EOF
++cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_hdr 1
+-EOF
++_ACEOF
+ 
+ fi
+ 
+-echo "$as_me:16586: checking for struct winsize" >&5
++
++
++
++echo "$as_me:$LINENO: checking for struct winsize" >&5
+ echo $ECHO_N "checking for struct winsize... $ECHO_C" >&6
+ if test "${ac_cv_struct_winsize+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -16592,7 +19336,7 @@
+ ac_cv_struct_winsize=no
+ for i in sys/termios.h sys/ioctl.h; do
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 16595 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <$i>
+ 
+@@ -16608,15 +19352,15 @@
+ 
+ if test "$ac_cv_struct_winsize" = "yes"; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define HAVE_STRUCT_WINSIZE 1
+-EOF
++_ACEOF
+ 
+ fi
+-echo "$as_me:16616: result: $ac_cv_struct_winsize" >&5
++echo "$as_me:$LINENO: result: $ac_cv_struct_winsize" >&5
+ echo "${ECHO_T}$ac_cv_struct_winsize" >&6
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 16619 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <termios.h>
+ 
+@@ -16624,15 +19368,15 @@
+ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+   egrep "ws_xpixel" >/dev/null 2>&1; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define HAVE_WS_XPIXEL 1
+-EOF
++_ACEOF
+ 
+ fi
+ rm -f conftest*
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 16635 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <termios.h>
+ 
+@@ -16640,26 +19384,36 @@
+ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+   egrep "ws_ypixel" >/dev/null 2>&1; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define HAVE_WS_YPIXEL 1
+-EOF
++_ACEOF
+ 
+ fi
+ rm -f conftest*
+ 
+-echo "$as_me:16650: checking for struct spwd" >&5
++
++
++
++
++echo "$as_me:$LINENO: checking for struct spwd" >&5
+ echo $ECHO_N "checking for struct spwd... $ECHO_C" >&6
+ if test "${ac_cv_struct_spwd+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 16657 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <pwd.h>
+ #ifdef HAVE_SHADOW_H
+ #include <shadow.h>
+ #endif
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -16669,16 +19423,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:16672: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:16675: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:16678: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:16681: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_struct_spwd=yes
+ else
+@@ -16690,21 +19444,27 @@
+ 
+ fi
+ 
+-echo "$as_me:16693: result: $ac_cv_struct_spwd" >&5
++echo "$as_me:$LINENO: result: $ac_cv_struct_spwd" >&5
+ echo "${ECHO_T}$ac_cv_struct_spwd" >&6
+ 
+ if test "$ac_cv_struct_spwd" = "yes"; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define HAVE_STRUCT_SPWD 1
+-EOF
++_ACEOF
+ 
+ fi
+ 
++
++
+ LIB_roken="${LIB_roken} \$(LIB_crypt) \$(LIB_dbopen)"
+ 
++
++fi
+ LIB_roken="\$(top_builddir)/lib/vers/libvers.la $LIB_roken"
+ 
++
++
+ # Check whether --with-openldap or --without-openldap was given.
+ if test "${with_openldap+set}" = set; then
+   withval="$with_openldap"
+@@ -16715,7 +19475,7 @@
+ if test "${with_openldap_lib+set}" = set; then
+   withval="$with_openldap_lib"
+   if test "$withval" = "yes" -o "$withval" = "no"; then
+-  { { echo "$as_me:16718: error: No argument for --with-openldap-lib" >&5
++  { { echo "$as_me:$LINENO: error: No argument for --with-openldap-lib" >&5
+ echo "$as_me: error: No argument for --with-openldap-lib" >&2;}
+    { (exit 1); exit 1; }; }
+ elif test "X$with_openldap" = "X"; then
+@@ -16727,7 +19487,7 @@
+ if test "${with_openldap_include+set}" = set; then
+   withval="$with_openldap_include"
+   if test "$withval" = "yes" -o "$withval" = "no"; then
+-  { { echo "$as_me:16730: error: No argument for --with-openldap-include" >&5
++  { { echo "$as_me:$LINENO: error: No argument for --with-openldap-include" >&5
+ echo "$as_me: error: No argument for --with-openldap-include" >&2;}
+    { (exit 1); exit 1; }; }
+ elif test "X$with_openldap" = "X"; then
+@@ -16735,7 +19495,7 @@
+ fi
+ fi;
+ 
+-echo "$as_me:16738: checking for openldap" >&5
++echo "$as_me:$LINENO: checking for openldap" >&5
+ echo $ECHO_N "checking for openldap... $ECHO_C" >&6
+ 
+ case "$with_openldap" in
+@@ -16753,7 +19513,7 @@
+ header_dirs=
+ lib_dirs=
+ d=''
+-for i in $d; do
++for i in $d /usr; do
+ 	header_dirs="$header_dirs $i/include"
+ 	lib_dirs="$lib_dirs $i/lib$abilibdirext"
+ done
+@@ -16775,10 +19535,16 @@
+ for i in $header_dirs; do
+ 	CFLAGS="-I$i $save_CFLAGS"
+ 	cat >conftest.$ac_ext <<_ACEOF
+-#line 16778 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <lber.h>
+ #include <ldap.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -16788,16 +19554,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:16791: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:16794: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:16797: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:16800: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ires=$i;break
+ else
+@@ -16809,10 +19575,16 @@
+ for i in $lib_dirs; do
+ 	LIBS="-L$i -lldap -llber  $save_LIBS"
+ 	cat >conftest.$ac_ext <<_ACEOF
+-#line 16812 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <lber.h>
+ #include <ldap.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -16822,16 +19594,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:16825: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:16828: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:16831: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:16834: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   lres=$i;break
+ else
+@@ -16846,28 +19618,36 @@
+ if test "$ires" -a "$lres" -a "$with_openldap" != "no"; then
+ 	openldap_includedir="$ires"
+ 	openldap_libdir="$lres"
++	DIR_openldap=
+ 	INCLUDE_openldap="-I$openldap_includedir"
+ 	LIB_openldap="-L$openldap_libdir -lldap -llber"
+ 
+-cat >>confdefs.h <<EOF
++cat >>confdefs.h <<_ACEOF
+ #define OPENLDAP 1
+-EOF
++_ACEOF
+ 
+ 	with_openldap=yes
+-	echo "$as_me:16857: result: headers $ires, libraries $lres" >&5
++	echo "$as_me:$LINENO: result: headers $ires, libraries $lres" >&5
+ echo "${ECHO_T}headers $ires, libraries $lres" >&6
+ else
++	DIR_openldap=
+ 	INCLUDE_openldap=
+ 	LIB_openldap=
+ 	with_openldap=no
+-	echo "$as_me:16863: result: $with_openldap" >&5
++	echo "$as_me:$LINENO: result: $with_openldap" >&5
+ echo "${ECHO_T}$with_openldap" >&6
+ fi
+ 
++
++
++
++
+ if test "$openldap_libdir"; then
+ 	LIB_openldap="-R $openldap_libdir $LIB_openldap"
+ fi
+ 
++
++
+ # Check whether --with-krb4 or --without-krb4 was given.
+ if test "${with_krb4+set}" = set; then
+   withval="$with_krb4"
+@@ -16878,7 +19658,7 @@
+ if test "${with_krb4_lib+set}" = set; then
+   withval="$with_krb4_lib"
+   if test "$withval" = "yes" -o "$withval" = "no"; then
+-  { { echo "$as_me:16881: error: No argument for --with-krb4-lib" >&5
++  { { echo "$as_me:$LINENO: error: No argument for --with-krb4-lib" >&5
+ echo "$as_me: error: No argument for --with-krb4-lib" >&2;}
+    { (exit 1); exit 1; }; }
+ elif test "X$with_krb4" = "X"; then
+@@ -16890,7 +19670,7 @@
+ if test "${with_krb4_include+set}" = set; then
+   withval="$with_krb4_include"
+   if test "$withval" = "yes" -o "$withval" = "no"; then
+-  { { echo "$as_me:16893: error: No argument for --with-krb4-include" >&5
++  { { echo "$as_me:$LINENO: error: No argument for --with-krb4-include" >&5
+ echo "$as_me: error: No argument for --with-krb4-include" >&2;}
+    { (exit 1); exit 1; }; }
+ elif test "X$with_krb4" = "X"; then
+@@ -16898,7 +19678,7 @@
+ fi
+ fi;
+ 
+-echo "$as_me:16901: checking for krb4" >&5
++echo "$as_me:$LINENO: checking for krb4" >&5
+ echo $ECHO_N "checking for krb4... $ECHO_C" >&6
+ 
+ case "$with_krb4" in
+@@ -16915,8 +19695,8 @@
+ esac
+ header_dirs=
+ lib_dirs=
+-d='/usr/athena'
+-for i in $d; do
++d=''
++for i in $d /usr; do
+ 	header_dirs="$header_dirs $i/include"
+ 	lib_dirs="$lib_dirs $i/lib$abilibdirext"
+ done
+@@ -16938,9 +19718,15 @@
+ for i in $header_dirs; do
+ 	CFLAGS="-I$i $save_CFLAGS"
+ 	cat >conftest.$ac_ext <<_ACEOF
+-#line 16941 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <krb.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -16950,16 +19736,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:16953: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:16956: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:16959: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:16962: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ires=$i;break
+ else
+@@ -16969,11 +19755,17 @@
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ done
+ for i in $lib_dirs; do
+-	LIBS="-L$i -lkrb -ldes $save_LIBS"
++	LIBS="-L$i -lkrb  $save_LIBS"
+ 	cat >conftest.$ac_ext <<_ACEOF
+-#line 16974 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <krb.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -16983,16 +19775,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:16986: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:16989: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:16992: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:16995: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   lres=$i;break
+ else
+@@ -17007,41 +19799,56 @@
+ if test "$ires" -a "$lres" -a "$with_krb4" != "no"; then
+ 	krb4_includedir="$ires"
+ 	krb4_libdir="$lres"
++	DIR_krb4=
+ 	INCLUDE_krb4="-I$krb4_includedir"
+ 	LIB_krb4="-L$krb4_libdir -lkrb"
+ 
+-cat >>confdefs.h <<EOF
++cat >>confdefs.h <<_ACEOF
+ #define KRB4 1
+-EOF
++_ACEOF
+ 
+ 	with_krb4=yes
+-	echo "$as_me:17018: result: headers $ires, libraries $lres" >&5
++	echo "$as_me:$LINENO: result: headers $ires, libraries $lres" >&5
+ echo "${ECHO_T}headers $ires, libraries $lres" >&6
+ else
++	DIR_krb4=
+ 	INCLUDE_krb4=
+ 	LIB_krb4=
+ 	with_krb4=no
+-	echo "$as_me:17024: result: $with_krb4" >&5
++	echo "$as_me:$LINENO: result: $with_krb4" >&5
+ echo "${ECHO_T}$with_krb4" >&6
+ fi
+ 
++
++
++
++if test "$krb4_libdir" = "/usr/lib"; then
++  krb4_libdir="";
++fi
++
+ LIB_kdb=
+ if test "$with_krb4" != "no"; then
+ 	save_CFLAGS="$CFLAGS"
+ 	CFLAGS="$CFLAGS $INCLUDE_krb4"
+ 	save_LIBS="$LIBS"
+-	LIBS="$LIB_krb4 -ldes $LIBS"
++	LIBS="$LIB_krb4 $LIBS"
+ 	EXTRA_LIB45=lib45.a
+ 
+-	echo "$as_me:17036: checking for four valued krb_put_int" >&5
++	echo "$as_me:$LINENO: checking for four valued krb_put_int" >&5
+ echo $ECHO_N "checking for four valued krb_put_int... $ECHO_C" >&6
+ if test "${ac_cv_func_krb_put_int_four+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 17042 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <krb.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -17053,16 +19860,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:17056: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:17059: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:17062: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:17065: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_func_krb_put_int_four=yes
+ else
+@@ -17073,25 +19880,32 @@
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ 
+ fi
+-echo "$as_me:17076: result: $ac_cv_func_krb_put_int_four" >&5
++echo "$as_me:$LINENO: result: $ac_cv_func_krb_put_int_four" >&5
+ echo "${ECHO_T}$ac_cv_func_krb_put_int_four" >&6
+ 	if test "$ac_cv_func_krb_put_int_four" = yes; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define HAVE_FOUR_VALUED_KRB_PUT_INT 1
+-EOF
++_ACEOF
+ 
+ 	fi
+ 
+-	echo "$as_me:17086: checking for KRB_VERIFY_SECURE" >&5
++
++	echo "$as_me:$LINENO: checking for KRB_VERIFY_SECURE" >&5
+ echo $ECHO_N "checking for KRB_VERIFY_SECURE... $ECHO_C" >&6
+ if test "${ac_cv_func_krb_verify_secure+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 17092 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <krb.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -17102,16 +19916,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:17105: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:17108: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:17111: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:17114: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_func_krb_verify_secure=yes
+ else
+@@ -17122,28 +19936,35 @@
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ 
+ fi
+-echo "$as_me:17125: result: $ac_cv_func_krb_verify_secure" >&5
++echo "$as_me:$LINENO: result: $ac_cv_func_krb_verify_secure" >&5
+ echo "${ECHO_T}$ac_cv_func_krb_verify_secure" >&6
+ 	if test "$ac_cv_func_krb_verify_secure" != yes; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define KRB_VERIFY_SECURE 1
+-EOF
++_ACEOF
+ 
+-cat >>confdefs.h <<\EOF
++
++cat >>confdefs.h <<\_ACEOF
+ #define KRB_VERIFY_SECURE_FAIL 2
+-EOF
++_ACEOF
+ 
+ 	fi
+-	echo "$as_me:17138: checking for KRB_VERIFY_NOT_SECURE" >&5
++	echo "$as_me:$LINENO: checking for KRB_VERIFY_NOT_SECURE" >&5
+ echo $ECHO_N "checking for KRB_VERIFY_NOT_SECURE... $ECHO_C" >&6
+ if test "${ac_cv_func_krb_verify_not_secure+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 17144 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <krb.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -17154,16 +19975,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:17157: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:17160: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:17163: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:17166: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_func_krb_verify_not_secure=yes
+ else
+@@ -17174,17 +19995,20 @@
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ 
+ fi
+-echo "$as_me:17177: result: $ac_cv_func_krb_verify_not_secure" >&5
++echo "$as_me:$LINENO: result: $ac_cv_func_krb_verify_not_secure" >&5
+ echo "${ECHO_T}$ac_cv_func_krb_verify_not_secure" >&6
+ 	if test "$ac_cv_func_krb_verify_not_secure" != yes; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define KRB_VERIFY_NOT_SECURE 0
+-EOF
++_ACEOF
+ 
+ 	fi
+ 
+-echo "$as_me:17187: checking for krb_enable_debug" >&5
++
++
++
++echo "$as_me:$LINENO: checking for krb_enable_debug" >&5
+ echo $ECHO_N "checking for krb_enable_debug... $ECHO_C" >&6
+ if test "${ac_cv_funclib_krb_enable_debug+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -17202,9 +20026,15 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 17205 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -17214,16 +20044,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:17217: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:17220: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:17223: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:17226: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_krb_enable_debug=$ac_lib; else ac_cv_funclib_krb_enable_debug=yes; fi";break
+ else
+@@ -17238,6 +20068,7 @@
+ 
+ fi
+ 
++
+ eval "ac_res=\$ac_cv_funclib_krb_enable_debug"
+ 
+ if false; then
+@@ -17245,13 +20076,13 @@
+ for ac_func in krb_enable_debug
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:17248: checking for $ac_func" >&5
++echo "$as_me:$LINENO: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 17254 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -17265,6 +20096,12 @@
+ char $ac_func ();
+ char (*f) ();
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -17282,16 +20119,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:17285: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:17288: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:17291: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:17294: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -17301,12 +20138,12 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:17304: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+-  cat >>confdefs.h <<EOF
++  cat >>confdefs.h <<_ACEOF
+ #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+-EOF
++_ACEOF
+ 
+ fi
+ done
+@@ -17321,40 +20158,45 @@
+ 	yes)
+ 	eval "ac_cv_func_krb_enable_debug=yes"
+ 	eval "LIB_krb_enable_debug="
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:17328: result: yes" >&5
++	echo "$as_me:$LINENO: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_krb_enable_debug=no"
+ 	eval "LIB_krb_enable_debug="
+-	echo "$as_me:17334: result: no" >&5
++	echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+ 	eval "ac_cv_func_krb_enable_debug=yes"
+ 	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_lib 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:17348: result: yes, in $ac_res" >&5
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
++
+ if test -n "$LIB_krb_enable_debug"; then
+ 	LIBS="$LIB_krb_enable_debug $LIBS"
+ fi
+ 
+-echo "$as_me:17357: checking for krb_disable_debug" >&5
++
++
++
++
++echo "$as_me:$LINENO: checking for krb_disable_debug" >&5
+ echo $ECHO_N "checking for krb_disable_debug... $ECHO_C" >&6
+ if test "${ac_cv_funclib_krb_disable_debug+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -17372,9 +20214,15 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 17375 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -17384,16 +20232,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:17387: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:17390: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:17393: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:17396: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_krb_disable_debug=$ac_lib; else ac_cv_funclib_krb_disable_debug=yes; fi";break
+ else
+@@ -17408,6 +20256,7 @@
+ 
+ fi
+ 
++
+ eval "ac_res=\$ac_cv_funclib_krb_disable_debug"
+ 
+ if false; then
+@@ -17415,13 +20264,13 @@
+ for ac_func in krb_disable_debug
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:17418: checking for $ac_func" >&5
++echo "$as_me:$LINENO: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 17424 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -17435,6 +20284,12 @@
+ char $ac_func ();
+ char (*f) ();
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -17452,16 +20307,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:17455: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:17458: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:17461: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:17464: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -17471,12 +20326,12 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:17474: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+-  cat >>confdefs.h <<EOF
++  cat >>confdefs.h <<_ACEOF
+ #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+-EOF
++_ACEOF
+ 
+ fi
+ done
+@@ -17491,40 +20346,45 @@
+ 	yes)
+ 	eval "ac_cv_func_krb_disable_debug=yes"
+ 	eval "LIB_krb_disable_debug="
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:17498: result: yes" >&5
++	echo "$as_me:$LINENO: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_krb_disable_debug=no"
+ 	eval "LIB_krb_disable_debug="
+-	echo "$as_me:17504: result: no" >&5
++	echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+ 	eval "ac_cv_func_krb_disable_debug=yes"
+ 	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_lib 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:17518: result: yes, in $ac_res" >&5
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
++
+ if test -n "$LIB_krb_disable_debug"; then
+ 	LIBS="$LIB_krb_disable_debug $LIBS"
+ fi
+ 
+-echo "$as_me:17527: checking for krb_get_our_ip_for_realm" >&5
++
++
++
++
++echo "$as_me:$LINENO: checking for krb_get_our_ip_for_realm" >&5
+ echo $ECHO_N "checking for krb_get_our_ip_for_realm... $ECHO_C" >&6
+ if test "${ac_cv_funclib_krb_get_our_ip_for_realm+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -17542,9 +20402,15 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 17545 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -17554,16 +20420,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:17557: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:17560: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:17563: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:17566: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_krb_get_our_ip_for_realm=$ac_lib; else ac_cv_funclib_krb_get_our_ip_for_realm=yes; fi";break
+ else
+@@ -17578,6 +20444,7 @@
+ 
+ fi
+ 
++
+ eval "ac_res=\$ac_cv_funclib_krb_get_our_ip_for_realm"
+ 
+ if false; then
+@@ -17585,13 +20452,13 @@
+ for ac_func in krb_get_our_ip_for_realm
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:17588: checking for $ac_func" >&5
++echo "$as_me:$LINENO: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 17594 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -17605,6 +20472,12 @@
+ char $ac_func ();
+ char (*f) ();
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -17622,16 +20495,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:17625: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:17628: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:17631: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:17634: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -17641,12 +20514,12 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:17644: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+-  cat >>confdefs.h <<EOF
++  cat >>confdefs.h <<_ACEOF
+ #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+-EOF
++_ACEOF
+ 
+ fi
+ done
+@@ -17661,51 +20534,58 @@
+ 	yes)
+ 	eval "ac_cv_func_krb_get_our_ip_for_realm=yes"
+ 	eval "LIB_krb_get_our_ip_for_realm="
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:17668: result: yes" >&5
++	echo "$as_me:$LINENO: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_krb_get_our_ip_for_realm=no"
+ 	eval "LIB_krb_get_our_ip_for_realm="
+-	echo "$as_me:17674: result: no" >&5
++	echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+ 	eval "ac_cv_func_krb_get_our_ip_for_realm=yes"
+ 	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_lib 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:17688: result: yes, in $ac_res" >&5
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
++
+ if test -n "$LIB_krb_get_our_ip_for_realm"; then
+ 	LIBS="$LIB_krb_get_our_ip_for_realm $LIBS"
+ fi
+ 
+-	echo "$as_me:17697: checking for krb_mk_req with const arguments" >&5
++	echo "$as_me:$LINENO: checking for krb_mk_req with const arguments" >&5
+ echo $ECHO_N "checking for krb_mk_req with const arguments... $ECHO_C" >&6
+ if test "${ac_cv_func_krb_mk_req_const+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 17703 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <krb.h>
+ 		int krb_mk_req(KTEXT a, const char *s, const char *i,
+ 			       const char *r, int32_t checksum)
+ 		{ return 17; }
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -17715,16 +20595,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:17718: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:17721: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:17724: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:17727: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_func_krb_mk_req_const=yes
+ else
+@@ -17735,25 +20615,26 @@
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ 
+ fi
+-echo "$as_me:17738: result: $ac_cv_func_krb_mk_req_const" >&5
++echo "$as_me:$LINENO: result: $ac_cv_func_krb_mk_req_const" >&5
+ echo "${ECHO_T}$ac_cv_func_krb_mk_req_const" >&6
+ 	if test "$ac_cv_func_krb_mk_req_const" = "yes"; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define KRB_MK_REQ_CONST 1
+-EOF
++_ACEOF
+ 
+ 	fi
+ 
+ 	LIBS="$save_LIBS"
+ 	CFLAGS="$save_CFLAGS"
+ 	LIB_kdb="-lkdb -lkrb"
+-	if test "$krb4_libdir"; then
++	if test "$krb4_libdir" != ""; then
+ 		LIB_krb4="-R $krb4_libdir $LIB_krb4"
+ 		LIB_kdb="-R $krb4_libdir -L$krb4_libdir $LIB_kdb"
+ 	fi
+ fi
+ 
++
+ if test "$with_krb4" != "no"; then
+   KRB4_TRUE=
+   KRB4_FALSE='#'
+@@ -17762,6 +20643,7 @@
+   KRB4_FALSE=
+ fi
+ 
++
+ if true; then
+   KRB5_TRUE=
+   KRB5_FALSE='#'
+@@ -17770,6 +20652,7 @@
+   KRB5_FALSE=
+ fi
+ 
++
+ if true; then
+   do_roken_rename_TRUE=
+   do_roken_rename_FALSE='#'
+@@ -17778,9 +20661,10 @@
+   do_roken_rename_FALSE=
+ fi
+ 
+-cat >>confdefs.h <<\EOF
++
++cat >>confdefs.h <<\_ACEOF
+ #define KRB5 1
+-EOF
++_ACEOF
+ 
+ # Check whether --enable-dce or --disable-dce was given.
+ if test "${enable_dce+set}" = set; then
+@@ -17789,12 +20673,13 @@
+ fi;
+ if test "$enable_dce" = yes; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define DCE 1
+-EOF
++_ACEOF
+ 
+ fi
+ 
++
+ if test "$enable_dce" = yes; then
+   DCE_TRUE=
+   DCE_FALSE='#'
+@@ -17813,6 +20698,8 @@
+ 	dpagaix_LDFLAGS="-Wl,-bI:dfspag.exp"
+ fi
+ 
++
++
+ otp=yes
+ # Check whether --enable-otp or --disable-otp was given.
+ if test "${enable_otp+set}" = set; then
+@@ -17825,13 +20712,15 @@
+ fi;
+ if test "$otp" = "yes"; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define OTP 1
+-EOF
++_ACEOF
+ 
+ 	LIB_otp='$(top_builddir)/lib/otp/libotp.la'
+ fi
+ 
++
++
+ if test "$otp" = yes; then
+   OTP_TRUE=
+   OTP_FALSE='#'
+@@ -17848,16 +20737,18 @@
+ LIB_security=
+ if test "$enable_osfc2" = yes; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define HAVE_OSFC2 1
+-EOF
++_ACEOF
+ 
+ 	LIB_security=-lsecurity
+ fi
+ 
++
++
+ # Extract the first word of "nroff", so it can be a program name with args.
+ set dummy nroff; ac_word=$2
+-echo "$as_me:17860: checking for $ac_word" >&5
++echo "$as_me:$LINENO: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_path_NROFF+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -17867,16 +20758,18 @@
+   ac_cv_path_NROFF="$NROFF" # Let the user override the test with a path.
+   ;;
+   *)
+-  ac_save_IFS=$IFS; IFS=$ac_path_separator
+-ac_dummy="$PATH"
+-for ac_dir in $ac_dummy; do
+-  IFS=$ac_save_IFS
+-  test -z "$ac_dir" && ac_dir=.
+-  if $as_executable_p "$ac_dir/$ac_word"; then
+-   ac_cv_path_NROFF="$ac_dir/$ac_word"
+-   echo "$as_me:17877: found $ac_dir/$ac_word" >&5
+-   break
+-fi
++  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_path_NROFF="$as_dir/$ac_word$ac_exec_ext"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
+ done
+ 
+   ;;
+@@ -17885,16 +20778,16 @@
+ NROFF=$ac_cv_path_NROFF
+ 
+ if test -n "$NROFF"; then
+-  echo "$as_me:17888: result: $NROFF" >&5
++  echo "$as_me:$LINENO: result: $NROFF" >&5
+ echo "${ECHO_T}$NROFF" >&6
+ else
+-  echo "$as_me:17891: result: no" >&5
++  echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+ # Extract the first word of "groff", so it can be a program name with args.
+ set dummy groff; ac_word=$2
+-echo "$as_me:17897: checking for $ac_word" >&5
++echo "$as_me:$LINENO: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_path_GROFF+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -17904,164 +20797,707 @@
+   ac_cv_path_GROFF="$GROFF" # Let the user override the test with a path.
+   ;;
+   *)
+-  ac_save_IFS=$IFS; IFS=$ac_path_separator
+-ac_dummy="$PATH"
+-for ac_dir in $ac_dummy; do
+-  IFS=$ac_save_IFS
+-  test -z "$ac_dir" && ac_dir=.
+-  if $as_executable_p "$ac_dir/$ac_word"; then
+-   ac_cv_path_GROFF="$ac_dir/$ac_word"
+-   echo "$as_me:17914: found $ac_dir/$ac_word" >&5
+-   break
++  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_path_GROFF="$as_dir/$ac_word$ac_exec_ext"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++  ;;
++esac
++fi
++GROFF=$ac_cv_path_GROFF
++
++if test -n "$GROFF"; then
++  echo "$as_me:$LINENO: result: $GROFF" >&5
++echo "${ECHO_T}$GROFF" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++echo "$as_me:$LINENO: checking how to format man pages" >&5
++echo $ECHO_N "checking how to format man pages... $ECHO_C" >&6
++if test "${ac_cv_sys_man_format+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat > conftest.1 << END
++.Dd January 1, 1970
++.Dt CONFTEST 1
++.Sh NAME
++.Nm conftest
++.Nd
++foobar
++END
++
++if test "$NROFF" ; then
++	for i in "-mdoc" "-mandoc"; do
++		if "$NROFF" $i conftest.1 2> /dev/null | \
++			grep Jan > /dev/null 2>&1 ; then
++			ac_cv_sys_man_format="$NROFF $i"
++			break
++		fi
++	done
++fi
++if test "$ac_cv_sys_man_format" = "" -a "$GROFF" ; then
++	for i in "-mdoc" "-mandoc"; do
++		if "$GROFF" -Tascii $i conftest.1 2> /dev/null | \
++			grep Jan > /dev/null 2>&1 ; then
++			ac_cv_sys_man_format="$GROFF -Tascii $i"
++			break
++		fi
++	done
++fi
++if test "$ac_cv_sys_man_format"; then
++	ac_cv_sys_man_format="$ac_cv_sys_man_format \$< > \$@"
++fi
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_sys_man_format" >&5
++echo "${ECHO_T}$ac_cv_sys_man_format" >&6
++if test "$ac_cv_sys_man_format"; then
++	CATMAN="$ac_cv_sys_man_format"
++
++fi
++
++
++if test "$CATMAN"; then
++  CATMAN_TRUE=
++  CATMAN_FALSE='#'
++else
++  CATMAN_TRUE='#'
++  CATMAN_FALSE=
++fi
++echo "$as_me:$LINENO: checking extension of pre-formatted manual pages" >&5
++echo $ECHO_N "checking extension of pre-formatted manual pages... $ECHO_C" >&6
++if test "${ac_cv_sys_catman_ext+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if grep _suffix /etc/man.conf > /dev/null 2>&1; then
++	ac_cv_sys_catman_ext=0
++else
++	ac_cv_sys_catman_ext=number
++fi
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_sys_catman_ext" >&5
++echo "${ECHO_T}$ac_cv_sys_catman_ext" >&6
++if test "$ac_cv_sys_catman_ext" = number; then
++	CATMANEXT='$$section'
++else
++	CATMANEXT=0
++fi
++
++
++
++
++
++# Check whether --with-readline or --without-readline was given.
++if test "${with_readline+set}" = set; then
++  withval="$with_readline"
++
++fi;
++
++# Check whether --with-readline-lib or --without-readline-lib was given.
++if test "${with_readline_lib+set}" = set; then
++  withval="$with_readline_lib"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-readline-lib" >&5
++echo "$as_me: error: No argument for --with-readline-lib" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_readline" = "X"; then
++  with_readline=yes
++fi
++fi;
++
++# Check whether --with-readline-include or --without-readline-include was given.
++if test "${with_readline_include+set}" = set; then
++  withval="$with_readline_include"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-readline-include" >&5
++echo "$as_me: error: No argument for --with-readline-include" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_readline" = "X"; then
++  with_readline=yes
+ fi
++fi;
++
++echo "$as_me:$LINENO: checking for readline" >&5
++echo $ECHO_N "checking for readline... $ECHO_C" >&6
++
++case "$with_readline" in
++yes)	;;
++no)	;;
++"")	;;
++*)	if test "$with_readline_include" = ""; then
++		with_readline_include="$with_readline/include"
++	fi
++	if test "$with_readline_lib" = ""; then
++		with_readline_lib="$with_readline/lib$abilibdirext"
++	fi
++	;;
++esac
++header_dirs=
++lib_dirs=
++d=''
++for i in $d /usr; do
++	header_dirs="$header_dirs $i/include"
++	lib_dirs="$lib_dirs $i/lib$abilibdirext"
++done
++
++case "$with_readline_include" in
++yes) ;;
++no)  ;;
++*)   header_dirs="$with_readline_include $header_dirs";;
++esac
++case "$with_readline_lib" in
++yes) ;;
++no)  ;;
++*)   lib_dirs="$with_readline_lib $lib_dirs";;
++esac
++
++save_CFLAGS="$CFLAGS"
++save_LIBS="$LIBS"
++ires= lres=
++for i in $header_dirs; do
++	CFLAGS="-I$i $save_CFLAGS"
++	cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <stdio.h>
++ #include <readline.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ires=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++done
++for i in $lib_dirs; do
++	LIBS="-L$i -lreadline  $save_LIBS"
++	cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <stdio.h>
++ #include <readline.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  lres=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++done
++CFLAGS="$save_CFLAGS"
++LIBS="$save_LIBS"
++
++if test "$ires" -a "$lres" -a "$with_readline" != "no"; then
++	readline_includedir="$ires"
++	readline_libdir="$lres"
++	DIR_readline=
++	INCLUDE_readline="-I$readline_includedir"
++	LIB_readline="-L$readline_libdir -lreadline"
++
++cat >>confdefs.h <<_ACEOF
++#define READLINE 1
++_ACEOF
++
++	with_readline=yes
++	echo "$as_me:$LINENO: result: headers $ires, libraries $lres" >&5
++echo "${ECHO_T}headers $ires, libraries $lres" >&6
++else
++	DIR_readline=
++	INCLUDE_readline=
++	LIB_readline=
++	with_readline=no
++	echo "$as_me:$LINENO: result: $with_readline" >&5
++echo "${ECHO_T}$with_readline" >&6
++fi
++
++
++
++
++
++
++
++# Check whether --with-hesiod or --without-hesiod was given.
++if test "${with_hesiod+set}" = set; then
++  withval="$with_hesiod"
++
++fi;
++
++# Check whether --with-hesiod-lib or --without-hesiod-lib was given.
++if test "${with_hesiod_lib+set}" = set; then
++  withval="$with_hesiod_lib"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-hesiod-lib" >&5
++echo "$as_me: error: No argument for --with-hesiod-lib" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_hesiod" = "X"; then
++  with_hesiod=yes
++fi
++fi;
++
++# Check whether --with-hesiod-include or --without-hesiod-include was given.
++if test "${with_hesiod_include+set}" = set; then
++  withval="$with_hesiod_include"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-hesiod-include" >&5
++echo "$as_me: error: No argument for --with-hesiod-include" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_hesiod" = "X"; then
++  with_hesiod=yes
++fi
++fi;
++
++echo "$as_me:$LINENO: checking for hesiod" >&5
++echo $ECHO_N "checking for hesiod... $ECHO_C" >&6
++
++case "$with_hesiod" in
++yes)	;;
++no)	;;
++"")	;;
++*)	if test "$with_hesiod_include" = ""; then
++		with_hesiod_include="$with_hesiod/include"
++	fi
++	if test "$with_hesiod_lib" = ""; then
++		with_hesiod_lib="$with_hesiod/lib$abilibdirext"
++	fi
++	;;
++esac
++header_dirs=
++lib_dirs=
++d=''
++for i in $d /usr; do
++	header_dirs="$header_dirs $i/include"
++	lib_dirs="$lib_dirs $i/lib$abilibdirext"
++done
++
++case "$with_hesiod_include" in
++yes) ;;
++no)  ;;
++*)   header_dirs="$with_hesiod_include $header_dirs";;
++esac
++case "$with_hesiod_lib" in
++yes) ;;
++no)  ;;
++*)   lib_dirs="$with_hesiod_lib $lib_dirs";;
++esac
++
++save_CFLAGS="$CFLAGS"
++save_LIBS="$LIBS"
++ires= lres=
++for i in $header_dirs; do
++	CFLAGS="-I$i $save_CFLAGS"
++	cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <hesiod.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ires=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++done
++for i in $lib_dirs; do
++	LIBS="-L$i -lhesiod  $save_LIBS"
++	cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <hesiod.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  lres=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++done
++CFLAGS="$save_CFLAGS"
++LIBS="$save_LIBS"
++
++if test "$ires" -a "$lres" -a "$with_hesiod" != "no"; then
++	hesiod_includedir="$ires"
++	hesiod_libdir="$lres"
++	DIR_hesiod=
++	INCLUDE_hesiod="-I$hesiod_includedir"
++	LIB_hesiod="-L$hesiod_libdir -lhesiod"
++
++cat >>confdefs.h <<_ACEOF
++#define HESIOD 1
++_ACEOF
++
++	with_hesiod=yes
++	echo "$as_me:$LINENO: result: headers $ires, libraries $lres" >&5
++echo "${ECHO_T}headers $ires, libraries $lres" >&6
++else
++	DIR_hesiod=
++	INCLUDE_hesiod=
++	LIB_hesiod=
++	with_hesiod=no
++	echo "$as_me:$LINENO: result: $with_hesiod" >&5
++echo "${ECHO_T}$with_hesiod" >&6
++fi
++
++
++
++
++
++
++
++# Check whether --with-sl or --without-sl was given.
++if test "${with_sl+set}" = set; then
++  withval="$with_sl"
++
++fi;
++
++# Check whether --with-sl-lib or --without-sl-lib was given.
++if test "${with_sl_lib+set}" = set; then
++  withval="$with_sl_lib"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-sl-lib" >&5
++echo "$as_me: error: No argument for --with-sl-lib" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_sl" = "X"; then
++  with_sl=yes
++fi
++fi;
++
++# Check whether --with-sl-include or --without-sl-include was given.
++if test "${with_sl_include+set}" = set; then
++  withval="$with_sl_include"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-sl-include" >&5
++echo "$as_me: error: No argument for --with-sl-include" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_sl" = "X"; then
++  with_sl=yes
++fi
++fi;
++
++echo "$as_me:$LINENO: checking for sl" >&5
++echo $ECHO_N "checking for sl... $ECHO_C" >&6
++
++case "$with_sl" in
++yes)	;;
++no)	;;
++"")	;;
++*)	if test "$with_sl_include" = ""; then
++		with_sl_include="$with_sl/include"
++	fi
++	if test "$with_sl_lib" = ""; then
++		with_sl_lib="$with_sl/lib$abilibdirext"
++	fi
++	;;
++esac
++header_dirs=
++lib_dirs=
++d=''
++for i in $d /usr; do
++	header_dirs="$header_dirs $i/include"
++	lib_dirs="$lib_dirs $i/lib$abilibdirext"
++done
++
++case "$with_sl_include" in
++yes) ;;
++no)  ;;
++*)   header_dirs="$with_sl_include $header_dirs";;
++esac
++case "$with_sl_lib" in
++yes) ;;
++no)  ;;
++*)   lib_dirs="$with_sl_lib $lib_dirs";;
++esac
++
++save_CFLAGS="$CFLAGS"
++save_LIBS="$LIBS"
++ires= lres=
++for i in $header_dirs; do
++	CFLAGS="-I$i $save_CFLAGS"
++	cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ires=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
+ done
++for i in $lib_dirs; do
++	LIBS="-L$i -lsl  $save_LIBS"
++	cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
+ 
+-  ;;
+-esac
+-fi
+-GROFF=$ac_cv_path_GROFF
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
+ 
+-if test -n "$GROFF"; then
+-  echo "$as_me:17925: result: $GROFF" >&5
+-echo "${ECHO_T}$GROFF" >&6
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  lres=$i;break
+ else
+-  echo "$as_me:17928: result: no" >&5
+-echo "${ECHO_T}no" >&6
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
+ fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++done
++CFLAGS="$save_CFLAGS"
++LIBS="$save_LIBS"
+ 
+-echo "$as_me:17932: checking how to format man pages" >&5
+-echo $ECHO_N "checking how to format man pages... $ECHO_C" >&6
+-if test "${ac_cv_sys_man_format+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  cat > conftest.1 << END
+-.Dd January 1, 1970
+-.Dt CONFTEST 1
+-.Sh NAME
+-.Nm conftest
+-.Nd
+-foobar
+-END
++if test "$ires" -a "$lres" -a "$with_sl" != "no"; then
++	sl_includedir="$ires"
++	sl_libdir="$lres"
++	DIR_sl=
++	INCLUDE_sl="-I$sl_includedir"
++	LIB_sl="-L$sl_libdir -lsl"
+ 
+-if test "$NROFF" ; then
+-	for i in "-mdoc" "-mandoc"; do
+-		if "$NROFF" $i conftest.1 2> /dev/null | \
+-			grep Jan > /dev/null 2>&1 ; then
+-			ac_cv_sys_man_format="$NROFF $i"
+-			break
+-		fi
+-	done
+-fi
+-if test "$ac_cv_sys_man_format" = "" -a "$GROFF" ; then
+-	for i in "-mdoc" "-mandoc"; do
+-		if "$GROFF" -Tascii $i conftest.1 2> /dev/null | \
+-			grep Jan > /dev/null 2>&1 ; then
+-			ac_cv_sys_man_format="$GROFF -Tascii $i"
+-			break
+-		fi
+-	done
+-fi
+-if test "$ac_cv_sys_man_format"; then
+-	ac_cv_sys_man_format="$ac_cv_sys_man_format \$< > \$@"
+-fi
++cat >>confdefs.h <<_ACEOF
++#define SL 1
++_ACEOF
+ 
++	with_sl=yes
++	echo "$as_me:$LINENO: result: headers $ires, libraries $lres" >&5
++echo "${ECHO_T}headers $ires, libraries $lres" >&6
++else
++	DIR_sl=
++	INCLUDE_sl=
++	LIB_sl=
++	with_sl=no
++	echo "$as_me:$LINENO: result: $with_sl" >&5
++echo "${ECHO_T}$with_sl" >&6
+ fi
+-echo "$as_me:17969: result: $ac_cv_sys_man_format" >&5
+-echo "${ECHO_T}$ac_cv_sys_man_format" >&6
+-if test "$ac_cv_sys_man_format"; then
+-	CATMAN="$ac_cv_sys_man_format"
+ 
+-fi
+ 
+-if test "$CATMAN"; then
+-  CATMAN_TRUE=
+-  CATMAN_FALSE='#'
+-else
+-  CATMAN_TRUE='#'
+-  CATMAN_FALSE=
+-fi
+-echo "$as_me:17983: checking extension of pre-formatted manual pages" >&5
+-echo $ECHO_N "checking extension of pre-formatted manual pages... $ECHO_C" >&6
+-if test "${ac_cv_sys_catman_ext+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  if grep _suffix /etc/man.conf > /dev/null 2>&1; then
+-	ac_cv_sys_catman_ext=0
+-else
+-	ac_cv_sys_catman_ext=number
+-fi
+ 
+-fi
+-echo "$as_me:17995: result: $ac_cv_sys_catman_ext" >&5
+-echo "${ECHO_T}$ac_cv_sys_catman_ext" >&6
+-if test "$ac_cv_sys_catman_ext" = number; then
+-	CATMANEXT='$$section'
+-else
+-	CATMANEXT=0
++
++if ! test "$with_sl" = yes; then
++	DIR_sl="sl"
++	LIB_sl='$(top_builddir)/lib/sl/libsl.la'
+ fi
+ 
+-# Check whether --with-readline or --without-readline was given.
+-if test "${with_readline+set}" = set; then
+-  withval="$with_readline"
++
++# Check whether --with-ss or --without-ss was given.
++if test "${with_ss+set}" = set; then
++  withval="$with_ss"
+ 
+ fi;
+ 
+-# Check whether --with-readline-lib or --without-readline-lib was given.
+-if test "${with_readline_lib+set}" = set; then
+-  withval="$with_readline_lib"
++# Check whether --with-ss-lib or --without-ss-lib was given.
++if test "${with_ss_lib+set}" = set; then
++  withval="$with_ss_lib"
+   if test "$withval" = "yes" -o "$withval" = "no"; then
+-  { { echo "$as_me:18013: error: No argument for --with-readline-lib" >&5
+-echo "$as_me: error: No argument for --with-readline-lib" >&2;}
++  { { echo "$as_me:$LINENO: error: No argument for --with-ss-lib" >&5
++echo "$as_me: error: No argument for --with-ss-lib" >&2;}
+    { (exit 1); exit 1; }; }
+-elif test "X$with_readline" = "X"; then
+-  with_readline=yes
++elif test "X$with_ss" = "X"; then
++  with_ss=yes
+ fi
+ fi;
+ 
+-# Check whether --with-readline-include or --without-readline-include was given.
+-if test "${with_readline_include+set}" = set; then
+-  withval="$with_readline_include"
++# Check whether --with-ss-include or --without-ss-include was given.
++if test "${with_ss_include+set}" = set; then
++  withval="$with_ss_include"
+   if test "$withval" = "yes" -o "$withval" = "no"; then
+-  { { echo "$as_me:18025: error: No argument for --with-readline-include" >&5
+-echo "$as_me: error: No argument for --with-readline-include" >&2;}
++  { { echo "$as_me:$LINENO: error: No argument for --with-ss-include" >&5
++echo "$as_me: error: No argument for --with-ss-include" >&2;}
+    { (exit 1); exit 1; }; }
+-elif test "X$with_readline" = "X"; then
+-  with_readline=yes
++elif test "X$with_ss" = "X"; then
++  with_ss=yes
+ fi
+ fi;
+ 
+-echo "$as_me:18033: checking for readline" >&5
+-echo $ECHO_N "checking for readline... $ECHO_C" >&6
++echo "$as_me:$LINENO: checking for ss" >&5
++echo $ECHO_N "checking for ss... $ECHO_C" >&6
+ 
+-case "$with_readline" in
++case "$with_ss" in
+ yes)	;;
+ no)	;;
+ "")	;;
+-*)	if test "$with_readline_include" = ""; then
+-		with_readline_include="$with_readline/include"
++*)	if test "$with_ss_include" = ""; then
++		with_ss_include="$with_ss/include"
+ 	fi
+-	if test "$with_readline_lib" = ""; then
+-		with_readline_lib="$with_readline/lib$abilibdirext"
++	if test "$with_ss_lib" = ""; then
++		with_ss_lib="$with_ss/lib$abilibdirext"
+ 	fi
+ 	;;
+ esac
+ header_dirs=
+ lib_dirs=
+ d=''
+-for i in $d; do
++for i in $d /usr; do
+ 	header_dirs="$header_dirs $i/include"
+ 	lib_dirs="$lib_dirs $i/lib$abilibdirext"
+ done
+ 
+-case "$with_readline_include" in
++case "$with_ss_include" in
+ yes) ;;
+ no)  ;;
+-*)   header_dirs="$with_readline_include $header_dirs";;
++*)   header_dirs="$with_ss_include $header_dirs";;
+ esac
+-case "$with_readline_lib" in
++case "$with_ss_lib" in
+ yes) ;;
+ no)  ;;
+-*)   lib_dirs="$with_readline_lib $lib_dirs";;
++*)   lib_dirs="$with_ss_lib $lib_dirs";;
+ esac
+ 
+ save_CFLAGS="$CFLAGS"
+@@ -18070,10 +21506,15 @@
+ for i in $header_dirs; do
+ 	CFLAGS="-I$i $save_CFLAGS"
+ 	cat >conftest.$ac_ext <<_ACEOF
+-#line 18073 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+-#include <stdio.h>
+- #include <readline.h>
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -18083,16 +21524,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:18086: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:18089: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:18092: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:18095: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ires=$i;break
+ else
+@@ -18102,12 +21543,17 @@
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ done
+ for i in $lib_dirs; do
+-	LIBS="-L$i -lreadline  $save_LIBS"
++	LIBS="-L$i -lss  $save_LIBS"
+ 	cat >conftest.$ac_ext <<_ACEOF
+-#line 18107 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+-#include <stdio.h>
+- #include <readline.h>
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -18117,16 +21563,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:18120: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:18123: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:18126: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:18129: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   lres=$i;break
+ else
+@@ -18138,89 +21584,103 @@
+ CFLAGS="$save_CFLAGS"
+ LIBS="$save_LIBS"
+ 
+-if test "$ires" -a "$lres" -a "$with_readline" != "no"; then
+-	readline_includedir="$ires"
+-	readline_libdir="$lres"
+-	INCLUDE_readline="-I$readline_includedir"
+-	LIB_readline="-L$readline_libdir -lreadline"
++if test "$ires" -a "$lres" -a "$with_ss" != "no"; then
++	ss_includedir="$ires"
++	ss_libdir="$lres"
++	DIR_ss=
++	INCLUDE_ss="-I$ss_includedir"
++	LIB_ss="-L$ss_libdir -lss"
+ 
+-cat >>confdefs.h <<EOF
+-#define READLINE 1
+-EOF
++cat >>confdefs.h <<_ACEOF
++#define SS 1
++_ACEOF
+ 
+-	with_readline=yes
+-	echo "$as_me:18152: result: headers $ires, libraries $lres" >&5
++	with_ss=yes
++	echo "$as_me:$LINENO: result: headers $ires, libraries $lres" >&5
+ echo "${ECHO_T}headers $ires, libraries $lres" >&6
+ else
+-	INCLUDE_readline=
+-	LIB_readline=
+-	with_readline=no
+-	echo "$as_me:18158: result: $with_readline" >&5
+-echo "${ECHO_T}$with_readline" >&6
++	DIR_ss=
++	INCLUDE_ss=
++	LIB_ss=
++	with_ss=no
++	echo "$as_me:$LINENO: result: $with_ss" >&5
++echo "${ECHO_T}$with_ss" >&6
+ fi
+ 
+-# Check whether --with-hesiod or --without-hesiod was given.
+-if test "${with_hesiod+set}" = set; then
+-  withval="$with_hesiod"
++
++
++
++if ! test "$with_sl" = yes; then
++	DIR_sl="sl"
++	LIB_sl='$(top_builddir)/lib/sl/libsl.la'
++	DIR_ss=""
++	LIB_ss='$(top_builddir)/lib/sl/libss.la'
++fi
++if test "$otp" = "yes"; then
++
++
++# Check whether --with-otp or --without-otp was given.
++if test "${with_otp+set}" = set; then
++  withval="$with_otp"
+ 
+ fi;
+ 
+-# Check whether --with-hesiod-lib or --without-hesiod-lib was given.
+-if test "${with_hesiod_lib+set}" = set; then
+-  withval="$with_hesiod_lib"
++# Check whether --with-otp-lib or --without-otp-lib was given.
++if test "${with_otp_lib+set}" = set; then
++  withval="$with_otp_lib"
+   if test "$withval" = "yes" -o "$withval" = "no"; then
+-  { { echo "$as_me:18172: error: No argument for --with-hesiod-lib" >&5
+-echo "$as_me: error: No argument for --with-hesiod-lib" >&2;}
++  { { echo "$as_me:$LINENO: error: No argument for --with-otp-lib" >&5
++echo "$as_me: error: No argument for --with-otp-lib" >&2;}
+    { (exit 1); exit 1; }; }
+-elif test "X$with_hesiod" = "X"; then
+-  with_hesiod=yes
++elif test "X$with_otp" = "X"; then
++  with_otp=yes
+ fi
+ fi;
+ 
+-# Check whether --with-hesiod-include or --without-hesiod-include was given.
+-if test "${with_hesiod_include+set}" = set; then
+-  withval="$with_hesiod_include"
++# Check whether --with-otp-include or --without-otp-include was given.
++if test "${with_otp_include+set}" = set; then
++  withval="$with_otp_include"
+   if test "$withval" = "yes" -o "$withval" = "no"; then
+-  { { echo "$as_me:18184: error: No argument for --with-hesiod-include" >&5
+-echo "$as_me: error: No argument for --with-hesiod-include" >&2;}
++  { { echo "$as_me:$LINENO: error: No argument for --with-otp-include" >&5
++echo "$as_me: error: No argument for --with-otp-include" >&2;}
+    { (exit 1); exit 1; }; }
+-elif test "X$with_hesiod" = "X"; then
+-  with_hesiod=yes
++elif test "X$with_otp" = "X"; then
++  with_otp=yes
+ fi
+ fi;
+ 
+-echo "$as_me:18192: checking for hesiod" >&5
+-echo $ECHO_N "checking for hesiod... $ECHO_C" >&6
++echo "$as_me:$LINENO: checking for otp" >&5
++echo $ECHO_N "checking for otp... $ECHO_C" >&6
+ 
+-case "$with_hesiod" in
++case "$with_otp" in
+ yes)	;;
+ no)	;;
+ "")	;;
+-*)	if test "$with_hesiod_include" = ""; then
+-		with_hesiod_include="$with_hesiod/include"
++*)	if test "$with_otp_include" = ""; then
++		with_otp_include="$with_otp/include"
+ 	fi
+-	if test "$with_hesiod_lib" = ""; then
+-		with_hesiod_lib="$with_hesiod/lib$abilibdirext"
++	if test "$with_otp_lib" = ""; then
++		with_otp_lib="$with_otp/lib$abilibdirext"
+ 	fi
+ 	;;
+ esac
+ header_dirs=
+ lib_dirs=
+ d=''
+-for i in $d; do
++for i in $d /usr; do
+ 	header_dirs="$header_dirs $i/include"
+ 	lib_dirs="$lib_dirs $i/lib$abilibdirext"
+ done
+ 
+-case "$with_hesiod_include" in
++case "$with_otp_include" in
+ yes) ;;
+ no)  ;;
+-*)   header_dirs="$with_hesiod_include $header_dirs";;
++*)   header_dirs="$with_otp_include $header_dirs";;
+ esac
+-case "$with_hesiod_lib" in
++case "$with_otp_lib" in
+ yes) ;;
+ no)  ;;
+-*)   lib_dirs="$with_hesiod_lib $lib_dirs";;
++*)   lib_dirs="$with_otp_lib $lib_dirs";;
+ esac
+ 
+ save_CFLAGS="$CFLAGS"
+@@ -18229,9 +21689,15 @@
+ for i in $header_dirs; do
+ 	CFLAGS="-I$i $save_CFLAGS"
+ 	cat >conftest.$ac_ext <<_ACEOF
+-#line 18232 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+-#include <hesiod.h>
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -18241,16 +21707,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:18244: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:18247: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:18250: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:18253: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ires=$i;break
+ else
+@@ -18260,11 +21726,17 @@
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ done
+ for i in $lib_dirs; do
+-	LIBS="-L$i -lhesiod  $save_LIBS"
++	LIBS="-L$i -lotp  $save_LIBS"
+ 	cat >conftest.$ac_ext <<_ACEOF
+-#line 18265 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+-#include <hesiod.h>
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -18274,16 +21746,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:18277: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:18280: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:18283: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:18286: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   lres=$i;break
+ else
+@@ -18295,27 +21767,39 @@
+ CFLAGS="$save_CFLAGS"
+ LIBS="$save_LIBS"
+ 
+-if test "$ires" -a "$lres" -a "$with_hesiod" != "no"; then
+-	hesiod_includedir="$ires"
+-	hesiod_libdir="$lres"
+-	INCLUDE_hesiod="-I$hesiod_includedir"
+-	LIB_hesiod="-L$hesiod_libdir -lhesiod"
++if test "$ires" -a "$lres" -a "$with_otp" != "no"; then
++	otp_includedir="$ires"
++	otp_libdir="$lres"
++	DIR_otp=
++	INCLUDE_otp="-I$otp_includedir"
++	LIB_otp="-L$otp_libdir -lotp"
+ 
+-cat >>confdefs.h <<EOF
+-#define HESIOD 1
+-EOF
++cat >>confdefs.h <<_ACEOF
++#define OTP 1
++_ACEOF
+ 
+-	with_hesiod=yes
+-	echo "$as_me:18309: result: headers $ires, libraries $lres" >&5
++	with_otp=yes
++	echo "$as_me:$LINENO: result: headers $ires, libraries $lres" >&5
+ echo "${ECHO_T}headers $ires, libraries $lres" >&6
+ else
+-	INCLUDE_hesiod=
+-	LIB_hesiod=
+-	with_hesiod=no
+-	echo "$as_me:18315: result: $with_hesiod" >&5
+-echo "${ECHO_T}$with_hesiod" >&6
++	DIR_otp=
++	INCLUDE_otp=
++	LIB_otp=
++	with_otp=no
++	echo "$as_me:$LINENO: result: $with_otp" >&5
++echo "${ECHO_T}$with_otp" >&6
++fi
++
++
++
++
++  if ! test "$with_otp" = yes; then
++	DIR_otp="otp"
++	LIB_otp='$(top_builddir)/lib/otp/libotp.la'
++  fi
+ fi
+ 
++
+ # Check whether --enable-bigendian or --disable-bigendian was given.
+ if test "${enable_bigendian+set}" = set; then
+   enableval="$enable_bigendian"
+@@ -18326,17 +21810,23 @@
+   enableval="$enable_littleendian"
+   krb_cv_c_bigendian=no
+ fi;
+-echo "$as_me:18329: checking whether byte order is known at compile time" >&5
++echo "$as_me:$LINENO: checking whether byte order is known at compile time" >&5
+ echo $ECHO_N "checking whether byte order is known at compile time... $ECHO_C" >&6
+ if test "${krb_cv_c_bigendian_compile+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 18335 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
+ #include <sys/types.h>
+ #include <sys/param.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -18349,16 +21839,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:18352: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:18355: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:18358: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:18361: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   krb_cv_c_bigendian_compile=yes
+ else
+@@ -18368,9 +21858,9 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:18371: result: $krb_cv_c_bigendian_compile" >&5
++echo "$as_me:$LINENO: result: $krb_cv_c_bigendian_compile" >&5
+ echo "${ECHO_T}$krb_cv_c_bigendian_compile" >&6
+-echo "$as_me:18373: checking whether byte ordering is bigendian" >&5
++echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
+ echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
+ if test "${krb_cv_c_bigendian+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -18378,11 +21868,17 @@
+ 
+   if test "$krb_cv_c_bigendian_compile" = "yes"; then
+     cat >conftest.$ac_ext <<_ACEOF
+-#line 18381 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
+ #include <sys/types.h>
+ #include <sys/param.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -18395,16 +21891,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:18398: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:18401: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:18404: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:18407: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   krb_cv_c_bigendian=yes
+ else
+@@ -18415,12 +21911,12 @@
+ rm -f conftest.$ac_objext conftest.$ac_ext
+   else
+     if test "$cross_compiling" = yes; then
+-  { { echo "$as_me:18418: error: specify either --enable-bigendian or --enable-littleendian" >&5
++  { { echo "$as_me:$LINENO: error: specify either --enable-bigendian or --enable-littleendian" >&5
+ echo "$as_me: error: specify either --enable-bigendian or --enable-littleendian" >&2;}
+    { (exit 1); exit 1; }; }
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 18423 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ main () {
+       /* Are we little or big endian?  From Harbison&Steele.  */
+@@ -18434,21 +21930,22 @@
+   }
+ _ACEOF
+ rm -f conftest$ac_exeext
+-if { (eval echo "$as_me:18437: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:18440: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
+-  { (eval echo "$as_me:18442: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:18445: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   krb_cv_c_bigendian=no
+ else
+   echo "$as_me: program exited with status $ac_status" >&5
+ echo "$as_me: failed program was:" >&5
+ cat conftest.$ac_ext >&5
++( exit $ac_status )
+ krb_cv_c_bigendian=yes
+ fi
+ rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
+@@ -18456,22 +21953,22 @@
+   fi
+ 
+ fi
+-echo "$as_me:18459: result: $krb_cv_c_bigendian" >&5
++echo "$as_me:$LINENO: result: $krb_cv_c_bigendian" >&5
+ echo "${ECHO_T}$krb_cv_c_bigendian" >&6
+ if test "$krb_cv_c_bigendian" = "yes"; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define WORDS_BIGENDIAN 1
+-EOF
++_ACEOF
+ fi
+ if test "$krb_cv_c_bigendian_compile" = "yes"; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define ENDIANESS_IN_SYS_PARAM_H 1
+-EOF
++_ACEOF
+ fi
+ 
+-echo "$as_me:18474: checking for inline" >&5
++echo "$as_me:$LINENO: checking for inline" >&5
+ echo $ECHO_N "checking for inline... $ECHO_C" >&6
+ if test "${ac_cv_c_inline+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -18479,7 +21976,7 @@
+   ac_cv_c_inline=no
+ for ac_kw in inline __inline__ __inline; do
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 18482 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #ifndef __cplusplus
+ static $ac_kw int static_foo () {return 0; }
+@@ -18488,16 +21985,16 @@
+ 
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:18491: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:18494: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:18497: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:18500: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_c_inline=$ac_kw; break
+ else
+@@ -18508,21 +22005,23 @@
+ done
+ 
+ fi
+-echo "$as_me:18511: result: $ac_cv_c_inline" >&5
++echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
+ echo "${ECHO_T}$ac_cv_c_inline" >&6
+ case $ac_cv_c_inline in
+   inline | yes) ;;
+   no)
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define inline
+-EOF
++_ACEOF
+  ;;
+-  *)  cat >>confdefs.h <<EOF
++  *)  cat >>confdefs.h <<_ACEOF
+ #define inline $ac_cv_c_inline
+-EOF
++_ACEOF
+  ;;
+ esac
+ 
++
++
+ aix=no
+ case "$host" in
+ *-*-aix3*)
+@@ -18533,6 +22032,7 @@
+ 	;;
+ esac
+ 
++
+ if test "$aix" != no; then
+   AIX_TRUE=
+   AIX_FALSE='#'
+@@ -18550,6 +22050,7 @@
+ fi
+ aix_dynamic_afs=yes
+ 
++
+ if test "$aix_dynamic_afs" = yes; then
+   AIX_DYNAMIC_AFS_TRUE=
+   AIX_DYNAMIC_AFS_FALSE='#'
+@@ -18558,7 +22059,9 @@
+   AIX_DYNAMIC_AFS_FALSE=
+ fi
+ 
+-echo "$as_me:18561: checking for dlopen" >&5
++
++
++echo "$as_me:$LINENO: checking for dlopen" >&5
+ echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
+ if test "${ac_cv_funclib_dlopen+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -18576,9 +22079,15 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 18579 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -18588,16 +22097,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:18591: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:18594: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:18597: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:18600: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_dlopen=$ac_lib; else ac_cv_funclib_dlopen=yes; fi";break
+ else
+@@ -18612,6 +22121,7 @@
+ 
+ fi
+ 
++
+ eval "ac_res=\$ac_cv_funclib_dlopen"
+ 
+ if false; then
+@@ -18619,13 +22129,13 @@
+ for ac_func in dlopen
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:18622: checking for $ac_func" >&5
++echo "$as_me:$LINENO: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 18628 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -18639,6 +22149,12 @@
+ char $ac_func ();
+ char (*f) ();
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -18656,16 +22172,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:18659: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:18662: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:18665: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:18668: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -18675,12 +22191,12 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:18678: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+-  cat >>confdefs.h <<EOF
++  cat >>confdefs.h <<_ACEOF
+ #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+-EOF
++_ACEOF
+ 
+ fi
+ done
+@@ -18695,35 +22211,37 @@
+ 	yes)
+ 	eval "ac_cv_func_dlopen=yes"
+ 	eval "LIB_dlopen="
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:18702: result: yes" >&5
++	echo "$as_me:$LINENO: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_dlopen=no"
+ 	eval "LIB_dlopen="
+-	echo "$as_me:18708: result: no" >&5
++	echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+ 	eval "ac_cv_func_dlopen=yes"
+ 	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_lib 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:18722: result: yes, in $ac_res" >&5
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
++
++
+ if test "$aix" != no; then
+ 	if test "$aix_dynamic_afs" = yes; then
+ 		if test "$ac_cv_funclib_dlopen" = yes; then
+@@ -18738,6 +22256,8 @@
+ 	fi
+ fi
+ 
++
++
+ if test "$ac_cv_funclib_dlopen" != no; then
+   HAVE_DLOPEN_TRUE=
+   HAVE_DLOPEN_FALSE='#'
+@@ -18746,11 +22266,13 @@
+   HAVE_DLOPEN_FALSE=
+ fi
+ 
++
+ irix=no
+ case "$host_os" in
+ irix*) irix=yes ;;
+ esac
+ 
++
+ if test "$irix" != no; then
+   IRIX_TRUE=
+   IRIX_FALSE='#'
+@@ -18759,9 +22281,10 @@
+   IRIX_FALSE=
+ fi
+ 
+-echo "$as_me:18762: checking for X" >&5
++echo "$as_me:$LINENO: checking for X" >&5
+ echo $ECHO_N "checking for X... $ECHO_C" >&6
+ 
++
+ # Check whether --with-x or --without-x was given.
+ if test "${with_x+set}" = set; then
+   withval="$with_x"
+@@ -18785,10 +22308,10 @@
+ if mkdir conftest.dir; then
+   cd conftest.dir
+   # Make sure to not put "make" in the Imakefile rules, since we grep it out.
+-  cat >Imakefile <<'EOF'
++  cat >Imakefile <<'_ACEOF'
+ acfindx:
+ 	@echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
+-EOF
++_ACEOF
+   if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
+     # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
+     eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
+@@ -18856,17 +22379,17 @@
+   # Guess where to find include files, by looking for Intrinsic.h.
+   # First, try using that file with no special directory specified.
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 18859 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <X11/Intrinsic.h>
+ _ACEOF
+-if { (eval echo "$as_me:18863: \"$ac_cpp conftest.$ac_ext\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
+   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+   ac_status=$?
+   egrep -v '^ *\+' conftest.er1 >conftest.err
+   rm -f conftest.er1
+   cat conftest.err >&5
+-  echo "$as_me:18869: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } >/dev/null; then
+   if test -s conftest.err; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+@@ -18899,9 +22422,15 @@
+   ac_save_LIBS=$LIBS
+   LIBS="-lXt $LIBS"
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 18902 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <X11/Intrinsic.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -18911,16 +22440,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:18914: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:18917: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:18920: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:18923: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   LIBS=$ac_save_LIBS
+ # We can link X programs with no special library path.
+@@ -18958,7 +22487,7 @@
+ fi # $with_x != no
+ 
+ if test "$have_x" != yes; then
+-  echo "$as_me:18961: result: $have_x" >&5
++  echo "$as_me:$LINENO: result: $have_x" >&5
+ echo "${ECHO_T}$have_x" >&6
+   no_x=yes
+ else
+@@ -18968,16 +22497,17 @@
+   # Update the cache value to reflect the command line values.
+   ac_cv_have_x="have_x=yes \
+ 		ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
+-  echo "$as_me:18971: result: libraries $x_libraries, headers $x_includes" >&5
++  echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
+ echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
+ fi
+ 
++
+ if test "$no_x" = yes; then
+   # Not all programs may use this symbol, but it does not hurt to define it.
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define X_DISPLAY_MISSING 1
+-EOF
++_ACEOF
+ 
+   X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
+ else
+@@ -18992,13 +22522,19 @@
+     # others require no space.  Words are not sufficient . . . .
+     case `(uname -sr) 2>/dev/null` in
+     "SunOS 5"*)
+-      echo "$as_me:18995: checking whether -R must be followed by a space" >&5
++      echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
+ echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
+       ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
+       cat >conftest.$ac_ext <<_ACEOF
+-#line 18999 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -19008,16 +22544,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:19011: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:19014: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:19017: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:19020: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_R_nospace=yes
+ else
+@@ -19027,15 +22563,21 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+       if test $ac_R_nospace = yes; then
+-	echo "$as_me:19030: result: no" >&5
++	echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	X_LIBS="$X_LIBS -R$x_libraries"
+       else
+ 	LIBS="$ac_xsave_LIBS -R $x_libraries"
+ 	cat >conftest.$ac_ext <<_ACEOF
+-#line 19036 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -19045,16 +22587,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:19048: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:19051: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:19054: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:19057: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_R_space=yes
+ else
+@@ -19064,11 +22606,11 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ 	if test $ac_R_space = yes; then
+-	  echo "$as_me:19067: result: yes" >&5
++	  echo "$as_me:$LINENO: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	  X_LIBS="$X_LIBS -R $x_libraries"
+ 	else
+-	  echo "$as_me:19071: result: neither works" >&5
++	  echo "$as_me:$LINENO: result: neither works" >&5
+ echo "${ECHO_T}neither works" >&6
+ 	fi
+       fi
+@@ -19088,7 +22630,7 @@
+     # the Alpha needs dnet_stub (dnet does not exist).
+     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
+     cat >conftest.$ac_ext <<_ACEOF
+-#line 19091 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -19098,6 +22640,12 @@
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+ char XOpenDisplay ();
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -19107,22 +22655,22 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:19110: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:19113: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:19116: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:19119: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   :
+ else
+   echo "$as_me: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+-echo "$as_me:19125: checking for dnet_ntoa in -ldnet" >&5
++echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
+ echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
+ if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -19130,7 +22678,7 @@
+   ac_check_lib_save_LIBS=$LIBS
+ LIBS="-ldnet  $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 19133 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -19140,6 +22688,12 @@
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+ char dnet_ntoa ();
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -19149,16 +22703,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:19152: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:19155: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:19158: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:19161: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_lib_dnet_dnet_ntoa=yes
+ else
+@@ -19169,14 +22723,14 @@
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "$as_me:19172: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
++echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
+ echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
+ if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
+   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
+ fi
+ 
+     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
+-      echo "$as_me:19179: checking for dnet_ntoa in -ldnet_stub" >&5
++      echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
+ echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
+ if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -19184,7 +22738,7 @@
+   ac_check_lib_save_LIBS=$LIBS
+ LIBS="-ldnet_stub  $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 19187 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -19194,6 +22748,12 @@
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+ char dnet_ntoa ();
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -19203,16 +22763,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:19206: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:19209: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:19212: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:19215: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_lib_dnet_stub_dnet_ntoa=yes
+ else
+@@ -19223,7 +22783,7 @@
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "$as_me:19226: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
++echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
+ echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
+ if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
+   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
+@@ -19242,13 +22802,13 @@
+     # on Irix 5.2, according to T.E. Dickey.
+     # The functions gethostbyname, getservbyname, and inet_addr are
+     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
+-    echo "$as_me:19245: checking for gethostbyname" >&5
++    echo "$as_me:$LINENO: checking for gethostbyname" >&5
+ echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
+ if test "${ac_cv_func_gethostbyname+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 19251 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char gethostbyname (); below.  */
+@@ -19262,6 +22822,12 @@
+ char gethostbyname ();
+ char (*f) ();
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -19279,16 +22845,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:19282: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:19285: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:19288: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:19291: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_func_gethostbyname=yes
+ else
+@@ -19298,11 +22864,11 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:19301: result: $ac_cv_func_gethostbyname" >&5
++echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
+ echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
+ 
+     if test $ac_cv_func_gethostbyname = no; then
+-      echo "$as_me:19305: checking for gethostbyname in -lnsl" >&5
++      echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
+ echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
+ if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -19310,7 +22876,7 @@
+   ac_check_lib_save_LIBS=$LIBS
+ LIBS="-lnsl  $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 19313 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -19320,6 +22886,12 @@
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+ char gethostbyname ();
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -19329,16 +22901,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:19332: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:19335: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:19338: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:19341: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_lib_nsl_gethostbyname=yes
+ else
+@@ -19349,14 +22921,14 @@
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "$as_me:19352: result: $ac_cv_lib_nsl_gethostbyname" >&5
++echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
+ echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
+ if test $ac_cv_lib_nsl_gethostbyname = yes; then
+   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
+ fi
+ 
+       if test $ac_cv_lib_nsl_gethostbyname = no; then
+-        echo "$as_me:19359: checking for gethostbyname in -lbsd" >&5
++        echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
+ echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
+ if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -19364,7 +22936,7 @@
+   ac_check_lib_save_LIBS=$LIBS
+ LIBS="-lbsd  $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 19367 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -19374,6 +22946,12 @@
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+ char gethostbyname ();
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -19383,16 +22961,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:19386: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:19389: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:19392: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:19395: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_lib_bsd_gethostbyname=yes
+ else
+@@ -19403,7 +22981,7 @@
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "$as_me:19406: result: $ac_cv_lib_bsd_gethostbyname" >&5
++echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
+ echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
+ if test $ac_cv_lib_bsd_gethostbyname = yes; then
+   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
+@@ -19419,13 +22997,13 @@
+     # variants that don't use the nameserver (or something).  -lsocket
+     # must be given before -lnsl if both are needed.  We assume that
+     # if connect needs -lnsl, so does gethostbyname.
+-    echo "$as_me:19422: checking for connect" >&5
++    echo "$as_me:$LINENO: checking for connect" >&5
+ echo $ECHO_N "checking for connect... $ECHO_C" >&6
+ if test "${ac_cv_func_connect+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 19428 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char connect (); below.  */
+@@ -19439,6 +23017,12 @@
+ char connect ();
+ char (*f) ();
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -19456,16 +23040,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:19459: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:19462: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:19465: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:19468: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_func_connect=yes
+ else
+@@ -19475,11 +23059,11 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:19478: result: $ac_cv_func_connect" >&5
++echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
+ echo "${ECHO_T}$ac_cv_func_connect" >&6
+ 
+     if test $ac_cv_func_connect = no; then
+-      echo "$as_me:19482: checking for connect in -lsocket" >&5
++      echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
+ echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
+ if test "${ac_cv_lib_socket_connect+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -19487,7 +23071,7 @@
+   ac_check_lib_save_LIBS=$LIBS
+ LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 19490 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -19497,6 +23081,12 @@
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+ char connect ();
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -19506,16 +23096,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:19509: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:19512: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:19515: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:19518: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_lib_socket_connect=yes
+ else
+@@ -19526,7 +23116,7 @@
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "$as_me:19529: result: $ac_cv_lib_socket_connect" >&5
++echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
+ echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
+ if test $ac_cv_lib_socket_connect = yes; then
+   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
+@@ -19535,13 +23125,13 @@
+     fi
+ 
+     # Guillermo Gomez says -lposix is necessary on A/UX.
+-    echo "$as_me:19538: checking for remove" >&5
++    echo "$as_me:$LINENO: checking for remove" >&5
+ echo $ECHO_N "checking for remove... $ECHO_C" >&6
+ if test "${ac_cv_func_remove+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 19544 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char remove (); below.  */
+@@ -19555,6 +23145,12 @@
+ char remove ();
+ char (*f) ();
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -19572,16 +23168,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:19575: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:19578: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:19581: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:19584: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_func_remove=yes
+ else
+@@ -19591,11 +23187,11 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:19594: result: $ac_cv_func_remove" >&5
++echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
+ echo "${ECHO_T}$ac_cv_func_remove" >&6
+ 
+     if test $ac_cv_func_remove = no; then
+-      echo "$as_me:19598: checking for remove in -lposix" >&5
++      echo "$as_me:$LINENO: checking for remove in -lposix" >&5
+ echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
+ if test "${ac_cv_lib_posix_remove+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -19603,7 +23199,7 @@
+   ac_check_lib_save_LIBS=$LIBS
+ LIBS="-lposix  $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 19606 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -19613,6 +23209,12 @@
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+ char remove ();
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -19622,16 +23224,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:19625: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:19628: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:19631: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:19634: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_lib_posix_remove=yes
+ else
+@@ -19642,7 +23244,7 @@
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "$as_me:19645: result: $ac_cv_lib_posix_remove" >&5
++echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
+ echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
+ if test $ac_cv_lib_posix_remove = yes; then
+   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
+@@ -19651,13 +23253,13 @@
+     fi
+ 
+     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
+-    echo "$as_me:19654: checking for shmat" >&5
++    echo "$as_me:$LINENO: checking for shmat" >&5
+ echo $ECHO_N "checking for shmat... $ECHO_C" >&6
+ if test "${ac_cv_func_shmat+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 19660 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char shmat (); below.  */
+@@ -19671,6 +23273,12 @@
+ char shmat ();
+ char (*f) ();
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -19688,16 +23296,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:19691: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:19694: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:19697: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:19700: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_func_shmat=yes
+ else
+@@ -19707,11 +23315,11 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:19710: result: $ac_cv_func_shmat" >&5
++echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
+ echo "${ECHO_T}$ac_cv_func_shmat" >&6
+ 
+     if test $ac_cv_func_shmat = no; then
+-      echo "$as_me:19714: checking for shmat in -lipc" >&5
++      echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
+ echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
+ if test "${ac_cv_lib_ipc_shmat+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -19719,7 +23327,7 @@
+   ac_check_lib_save_LIBS=$LIBS
+ LIBS="-lipc  $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 19722 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -19729,6 +23337,12 @@
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+ char shmat ();
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -19738,16 +23352,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:19741: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:19744: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:19747: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:19750: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_lib_ipc_shmat=yes
+ else
+@@ -19758,7 +23372,7 @@
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "$as_me:19761: result: $ac_cv_lib_ipc_shmat" >&5
++echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
+ echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
+ if test $ac_cv_lib_ipc_shmat = yes; then
+   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
+@@ -19776,7 +23390,7 @@
+   # These have to be linked with before -lX11, unlike the other
+   # libraries we check for below, so use a different variable.
+   # John Interrante, Karl Berry
+-  echo "$as_me:19779: checking for IceConnectionNumber in -lICE" >&5
++  echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
+ echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
+ if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -19784,7 +23398,7 @@
+   ac_check_lib_save_LIBS=$LIBS
+ LIBS="-lICE $X_EXTRA_LIBS $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 19787 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -19794,6 +23408,12 @@
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+ char IceConnectionNumber ();
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -19803,16 +23423,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:19806: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:19809: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:19812: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:19815: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_lib_ICE_IceConnectionNumber=yes
+ else
+@@ -19823,7 +23443,7 @@
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "$as_me:19826: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
++echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
+ echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
+ if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
+   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
+@@ -19833,10 +23453,11 @@
+ 
+ fi
+ 
++
+ # try to figure out if we need any additional ld flags, like -R
+ # and yes, the autoconf X test is utterly broken
+ if test "$no_x" != yes; then
+-	echo "$as_me:19839: checking for special X linker flags" >&5
++	echo "$as_me:$LINENO: checking for special X linker flags" >&5
+ echo $ECHO_N "checking for special X linker flags... $ECHO_C" >&6
+ if test "${krb_cv_sys_x_libs_rpath+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -19865,12 +23486,12 @@
+ 		fi
+ 		LIBS="$ac_save_libs $foo $X_PRE_LIBS -lX11 $X_EXTRA_LIBS"
+ 		if test "$cross_compiling" = yes; then
+-  { { echo "$as_me:19868: error: cannot run test program while cross compiling" >&5
++  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
+ echo "$as_me: error: cannot run test program while cross compiling" >&2;}
+    { (exit 1); exit 1; }; }
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 19873 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
+ 		#include <X11/Xlib.h>
+@@ -19885,21 +23506,22 @@
+ 
+ _ACEOF
+ rm -f conftest$ac_exeext
+-if { (eval echo "$as_me:19888: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:19891: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
+-  { (eval echo "$as_me:19893: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:19896: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   krb_cv_sys_x_libs_rpath="$rflag"; krb_cv_sys_x_libs="$foo"; break
+ else
+   echo "$as_me: program exited with status $ac_status" >&5
+ echo "$as_me: failed program was:" >&5
+ cat conftest.$ac_ext >&5
++( exit $ac_status )
+ :
+ fi
+ rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
+@@ -19909,11 +23531,14 @@
+ 	CFLAGS="$ac_save_cflags"
+ 
+ fi
+-echo "$as_me:19912: result: $krb_cv_sys_x_libs_rpath" >&5
++echo "$as_me:$LINENO: result: $krb_cv_sys_x_libs_rpath" >&5
+ echo "${ECHO_T}$krb_cv_sys_x_libs_rpath" >&6
+ 	X_LIBS="$krb_cv_sys_x_libs"
+ fi
+ 
++
++
++
+ if test "$no_x" != yes; then
+   HAVE_X_TRUE=
+   HAVE_X_FALSE='#'
+@@ -19922,6 +23547,7 @@
+   HAVE_X_FALSE=
+ fi
+ 
++
+ save_CFLAGS="$CFLAGS"
+ CFLAGS="$X_CFLAGS $CFLAGS"
+ save_LIBS="$LIBS"
+@@ -19929,7 +23555,11 @@
+ save_LDFLAGS="$LDFLAGS"
+ LDFLAGS="$LDFLAGS $X_LIBS"
+ 
+-echo "$as_me:19932: checking for XauWriteAuth" >&5
++
++
++
++
++echo "$as_me:$LINENO: checking for XauWriteAuth" >&5
+ echo $ECHO_N "checking for XauWriteAuth... $ECHO_C" >&6
+ if test "${ac_cv_funclib_XauWriteAuth+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -19947,9 +23577,15 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 19950 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -19959,16 +23595,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:19962: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:19965: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:19968: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:19971: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_XauWriteAuth=$ac_lib; else ac_cv_funclib_XauWriteAuth=yes; fi";break
+ else
+@@ -19983,6 +23619,7 @@
+ 
+ fi
+ 
++
+ eval "ac_res=\$ac_cv_funclib_XauWriteAuth"
+ 
+ if false; then
+@@ -19990,13 +23627,13 @@
+ for ac_func in XauWriteAuth
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:19993: checking for $ac_func" >&5
++echo "$as_me:$LINENO: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 19999 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -20010,6 +23647,12 @@
+ char $ac_func ();
+ char (*f) ();
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -20027,16 +23670,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:20030: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:20033: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:20036: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:20039: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -20046,12 +23689,12 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:20049: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+-  cat >>confdefs.h <<EOF
++  cat >>confdefs.h <<_ACEOF
+ #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+-EOF
++_ACEOF
+ 
+ fi
+ done
+@@ -20066,39 +23709,42 @@
+ 	yes)
+ 	eval "ac_cv_func_XauWriteAuth=yes"
+ 	eval "LIB_XauWriteAuth="
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:20073: result: yes" >&5
++	echo "$as_me:$LINENO: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_XauWriteAuth=no"
+ 	eval "LIB_XauWriteAuth="
+-	echo "$as_me:20079: result: no" >&5
++	echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+ 	eval "ac_cv_func_XauWriteAuth=yes"
+ 	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_lib 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:20093: result: yes, in $ac_res" >&5
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
++
+ ac_xxx="$LIBS"
+ LIBS="$LIB_XauWriteAuth $LIBS"
+ 
+-echo "$as_me:20101: checking for XauReadAuth" >&5
++
++
++echo "$as_me:$LINENO: checking for XauReadAuth" >&5
+ echo $ECHO_N "checking for XauReadAuth... $ECHO_C" >&6
+ if test "${ac_cv_funclib_XauReadAuth+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -20116,9 +23762,15 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 20119 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -20128,16 +23780,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:20131: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:20134: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:20137: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:20140: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_XauReadAuth=$ac_lib; else ac_cv_funclib_XauReadAuth=yes; fi";break
+ else
+@@ -20152,6 +23804,7 @@
+ 
+ fi
+ 
++
+ eval "ac_res=\$ac_cv_funclib_XauReadAuth"
+ 
+ if false; then
+@@ -20159,13 +23812,13 @@
+ for ac_func in XauReadAuth
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:20162: checking for $ac_func" >&5
++echo "$as_me:$LINENO: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 20168 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -20179,6 +23832,12 @@
+ char $ac_func ();
+ char (*f) ();
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -20196,16 +23855,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:20199: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:20202: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:20205: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:20208: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -20215,12 +23874,12 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:20218: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+-  cat >>confdefs.h <<EOF
++  cat >>confdefs.h <<_ACEOF
+ #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+-EOF
++_ACEOF
+ 
+ fi
+ done
+@@ -20235,38 +23894,41 @@
+ 	yes)
+ 	eval "ac_cv_func_XauReadAuth=yes"
+ 	eval "LIB_XauReadAuth="
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:20242: result: yes" >&5
++	echo "$as_me:$LINENO: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_XauReadAuth=no"
+ 	eval "LIB_XauReadAuth="
+-	echo "$as_me:20248: result: no" >&5
++	echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+ 	eval "ac_cv_func_XauReadAuth=yes"
+ 	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_lib 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:20262: result: yes, in $ac_res" >&5
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
++
+ LIBS="$LIB_XauReadAauth $LIBS"
+ 
+-echo "$as_me:20269: checking for XauFileName" >&5
++
++
++echo "$as_me:$LINENO: checking for XauFileName" >&5
+ echo $ECHO_N "checking for XauFileName... $ECHO_C" >&6
+ if test "${ac_cv_funclib_XauFileName+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -20284,9 +23946,15 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 20287 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -20296,16 +23964,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:20299: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:20302: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:20305: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:20308: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_XauFileName=$ac_lib; else ac_cv_funclib_XauFileName=yes; fi";break
+ else
+@@ -20320,6 +23988,7 @@
+ 
+ fi
+ 
++
+ eval "ac_res=\$ac_cv_funclib_XauFileName"
+ 
+ if false; then
+@@ -20327,13 +23996,13 @@
+ for ac_func in XauFileName
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:20330: checking for $ac_func" >&5
++echo "$as_me:$LINENO: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 20336 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -20347,6 +24016,12 @@
+ char $ac_func ();
+ char (*f) ();
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -20364,16 +24039,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:20367: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:20370: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:20373: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:20376: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -20383,12 +24058,12 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:20386: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+-  cat >>confdefs.h <<EOF
++  cat >>confdefs.h <<_ACEOF
+ #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+-EOF
++_ACEOF
+ 
+ fi
+ done
+@@ -20403,35 +24078,36 @@
+ 	yes)
+ 	eval "ac_cv_func_XauFileName=yes"
+ 	eval "LIB_XauFileName="
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:20410: result: yes" >&5
++	echo "$as_me:$LINENO: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_XauFileName=no"
+ 	eval "LIB_XauFileName="
+-	echo "$as_me:20416: result: no" >&5
++	echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+ 	eval "ac_cv_func_XauFileName=yes"
+ 	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_lib 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:20430: result: yes, in $ac_res" >&5
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
++
+ LIBS="$ac_xxx"
+ 
+ case "$ac_cv_funclib_XauWriteAuth" in
+@@ -20455,6 +24131,7 @@
+ 
+ if test "$AUTOMAKE" != ""; then
+ 
++
+ if test "$ac_cv_func_XauWriteAuth" != "yes"; then
+   NEED_WRITEAUTH_TRUE=
+   NEED_WRITEAUTH_FALSE='#'
+@@ -20464,6 +24141,7 @@
+ fi
+ else
+ 
++
+ 	if test "$ac_cv_func_XauWriteAuth" != "yes"; then
+ 		NEED_WRITEAUTH_TRUE=
+ 		NEED_WRITEAUTH_FALSE='#'
+@@ -20476,15 +24154,23 @@
+ LIBS=$save_LIBS
+ LDFLAGS=$save_LDFLAGS
+ 
+-echo "$as_me:20479: checking for an ANSI C-conforming const" >&5
++
++
++echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
+ echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
+ if test "${ac_cv_c_const+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 20485 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -20540,16 +24226,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:20543: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:20546: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:20549: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:20552: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_c_const=yes
+ else
+@@ -20559,25 +24245,31 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:20562: result: $ac_cv_c_const" >&5
++echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
+ echo "${ECHO_T}$ac_cv_c_const" >&6
+ if test $ac_cv_c_const = no; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define const
+-EOF
++_ACEOF
+ 
+ fi
+ 
+-echo "$as_me:20572: checking for off_t" >&5
++echo "$as_me:$LINENO: checking for off_t" >&5
+ echo $ECHO_N "checking for off_t... $ECHO_C" >&6
+ if test "${ac_cv_type_off_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 20578 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ $ac_includes_default
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -20590,16 +24282,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:20593: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:20596: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:20599: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:20602: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_type_off_t=yes
+ else
+@@ -20609,27 +24301,33 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:20612: result: $ac_cv_type_off_t" >&5
++echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
+ echo "${ECHO_T}$ac_cv_type_off_t" >&6
+ if test $ac_cv_type_off_t = yes; then
+   :
+ else
+ 
+-cat >>confdefs.h <<EOF
++cat >>confdefs.h <<_ACEOF
+ #define off_t long
+-EOF
++_ACEOF
+ 
+ fi
+ 
+-echo "$as_me:20624: checking for size_t" >&5
++echo "$as_me:$LINENO: checking for size_t" >&5
+ echo $ECHO_N "checking for size_t... $ECHO_C" >&6
+ if test "${ac_cv_type_size_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 20630 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ $ac_includes_default
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -20642,16 +24340,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:20645: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:20648: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:20651: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:20654: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_type_size_t=yes
+ else
+@@ -20661,25 +24359,25 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:20664: result: $ac_cv_type_size_t" >&5
++echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
+ echo "${ECHO_T}$ac_cv_type_size_t" >&6
+ if test $ac_cv_type_size_t = yes; then
+   :
+ else
+ 
+-cat >>confdefs.h <<EOF
++cat >>confdefs.h <<_ACEOF
+ #define size_t unsigned
+-EOF
++_ACEOF
+ 
+ fi
+ 
+-echo "$as_me:20676: checking for ssize_t" >&5
++echo "$as_me:$LINENO: checking for ssize_t" >&5
+ echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
+ if test "${ac_cv_type_ssize_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 20682 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -20697,25 +24395,31 @@
+ rm -f conftest*
+ 
+ fi
+-echo "$as_me:20700: result: $ac_cv_type_ssize_t" >&5
++echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
+ echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
+ if test $ac_cv_type_ssize_t = no; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define ssize_t int
+-EOF
++_ACEOF
+ 
+ fi
+ 
+-echo "$as_me:20710: checking for pid_t" >&5
++echo "$as_me:$LINENO: checking for pid_t" >&5
+ echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
+ if test "${ac_cv_type_pid_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 20716 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ $ac_includes_default
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -20728,16 +24432,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:20731: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:20734: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:20737: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:20740: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_type_pid_t=yes
+ else
+@@ -20747,25 +24451,25 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:20750: result: $ac_cv_type_pid_t" >&5
++echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
+ echo "${ECHO_T}$ac_cv_type_pid_t" >&6
+ if test $ac_cv_type_pid_t = yes; then
+   :
+ else
+ 
+-cat >>confdefs.h <<EOF
++cat >>confdefs.h <<_ACEOF
+ #define pid_t int
+-EOF
++_ACEOF
+ 
+ fi
+ 
+-echo "$as_me:20762: checking for uid_t in sys/types.h" >&5
++echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
+ echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
+ if test "${ac_cv_type_uid_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 20768 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ 
+@@ -20779,27 +24483,28 @@
+ rm -f conftest*
+ 
+ fi
+-echo "$as_me:20782: result: $ac_cv_type_uid_t" >&5
++echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
+ echo "${ECHO_T}$ac_cv_type_uid_t" >&6
+ if test $ac_cv_type_uid_t = no; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define uid_t int
+-EOF
++_ACEOF
+ 
+-cat >>confdefs.h <<\EOF
++
++cat >>confdefs.h <<\_ACEOF
+ #define gid_t int
+-EOF
++_ACEOF
+ 
+ fi
+ 
+-echo "$as_me:20796: checking for mode_t" >&5
++echo "$as_me:$LINENO: checking for mode_t" >&5
+ echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
+ if test "${ac_cv_type_mode_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 20802 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -20817,23 +24522,23 @@
+ rm -f conftest*
+ 
+ fi
+-echo "$as_me:20820: result: $ac_cv_type_mode_t" >&5
++echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
+ echo "${ECHO_T}$ac_cv_type_mode_t" >&6
+ if test $ac_cv_type_mode_t = no; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define mode_t unsigned short
+-EOF
++_ACEOF
+ 
+ fi
+ 
+-echo "$as_me:20830: checking for sig_atomic_t" >&5
++echo "$as_me:$LINENO: checking for sig_atomic_t" >&5
+ echo $ECHO_N "checking for sig_atomic_t... $ECHO_C" >&6
+ if test "${ac_cv_type_sig_atomic_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 20836 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -20851,24 +24556,26 @@
+ rm -f conftest*
+ 
+ fi
+-echo "$as_me:20854: result: $ac_cv_type_sig_atomic_t" >&5
++echo "$as_me:$LINENO: result: $ac_cv_type_sig_atomic_t" >&5
+ echo "${ECHO_T}$ac_cv_type_sig_atomic_t" >&6
+ if test $ac_cv_type_sig_atomic_t = no; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define sig_atomic_t int
+-EOF
++_ACEOF
+ 
+ fi
+ 
++
++
+ cv=`echo "long long" | sed 'y%./+- %__p__%'`
+-echo "$as_me:20865: checking for long long" >&5
++echo "$as_me:$LINENO: checking for long long" >&5
+ echo $ECHO_N "checking for long long... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 20871 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -20876,6 +24583,12 @@
+ #include <stddef.h>
+ #endif
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -20885,16 +24598,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:20888: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:20891: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:20894: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:20897: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_type_$cv=yes"
+ else
+@@ -20905,20 +24618,26 @@
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:20908: result: $ac_foo" >&5
++echo "$as_me:$LINENO: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo long long | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:20913: checking for long long" >&5
++	echo "$as_me:$LINENO: checking for long long" >&5
+ echo $ECHO_N "checking for long long... $ECHO_C" >&6
+ if test "${ac_cv_type_long_long+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 20919 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ $ac_includes_default
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -20931,16 +24650,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:20934: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:20937: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:20940: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:20943: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_type_long_long=yes
+ else
+@@ -20950,36 +24669,43 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:20953: result: $ac_cv_type_long_long" >&5
++echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
+ echo "${ECHO_T}$ac_cv_type_long_long" >&6
+ if test $ac_cv_type_long_long = yes; then
+ 
+-cat >>confdefs.h <<EOF
++cat >>confdefs.h <<_ACEOF
+ #define HAVE_LONG_LONG 1
+-EOF
++_ACEOF
++
+ 
+ fi
+ 
+ fi
+ 
+-cat >>confdefs.h <<EOF
++cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_hdr 1
+-EOF
++_ACEOF
+ 
+ fi
+ 
+-echo "$as_me:20971: checking whether time.h and sys/time.h may both be included" >&5
++echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
+ echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
+ if test "${ac_cv_header_time+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 20977 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #include <sys/time.h>
+ #include <time.h>
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -20990,16 +24716,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:20993: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:20996: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:20999: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:21002: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_header_time=yes
+ else
+@@ -21009,27 +24735,33 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:21012: result: $ac_cv_header_time" >&5
++echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
+ echo "${ECHO_T}$ac_cv_header_time" >&6
+ if test $ac_cv_header_time = yes; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define TIME_WITH_SYS_TIME 1
+-EOF
++_ACEOF
+ 
+ fi
+ 
+-echo "$as_me:21022: checking whether struct tm is in sys/time.h or time.h" >&5
++echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
+ echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
+ if test "${ac_cv_struct_tm+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 21028 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #include <time.h>
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -21039,16 +24771,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:21042: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:21045: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:21048: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:21051: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_struct_tm=time.h
+ else
+@@ -21058,23 +24790,24 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:21061: result: $ac_cv_struct_tm" >&5
++echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
+ echo "${ECHO_T}$ac_cv_struct_tm" >&6
+ if test $ac_cv_struct_tm = sys/time.h; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define TM_IN_SYS_TIME 1
+-EOF
++_ACEOF
+ 
+ fi
+ 
+-echo "$as_me:21071: checking for ANSI C header files" >&5
++
++echo "$as_me:$LINENO: checking for ANSI C header files" >&5
+ echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
+ if test "${ac_cv_header_stdc+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 21077 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ #include <stdarg.h>
+@@ -21082,13 +24815,13 @@
+ #include <float.h>
+ 
+ _ACEOF
+-if { (eval echo "$as_me:21085: \"$ac_cpp conftest.$ac_ext\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
+   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+   ac_status=$?
+   egrep -v '^ *\+' conftest.er1 >conftest.err
+   rm -f conftest.er1
+   cat conftest.err >&5
+-  echo "$as_me:21091: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } >/dev/null; then
+   if test -s conftest.err; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+@@ -21110,7 +24843,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 <<_ACEOF
+-#line 21113 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <string.h>
+ 
+@@ -21128,7 +24861,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 <<_ACEOF
+-#line 21131 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ 
+@@ -21149,7 +24882,7 @@
+   :
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 21152 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <ctype.h>
+ #if ((' ' & 0x0FF) == 0x020)
+@@ -21162,49 +24895,137 @@
+ # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
+ #endif
+ 
+-#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);
+-}
+-_ACEOF
+-rm -f conftest$ac_exeext
+-if { (eval echo "$as_me:21178: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:21181: \$? = $ac_status" >&5
+-  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
+-  { (eval echo "$as_me:21183: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:21186: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
+-  :
+-else
+-  echo "$as_me: program exited with status $ac_status" >&5
+-echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_header_stdc=no
+-fi
+-rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
+-fi
+-fi
+-fi
+-echo "$as_me:21199: result: $ac_cv_header_stdc" >&5
+-echo "${ECHO_T}$ac_cv_header_stdc" >&6
+-if test $ac_cv_header_stdc = yes; then
++#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);
++}
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  :
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++( exit $ac_status )
++ac_cv_header_stdc=no
++fi
++rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++fi
++fi
++echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
++echo "${ECHO_T}$ac_cv_header_stdc" >&6
++if test $ac_cv_header_stdc = yes; then
++
++cat >>confdefs.h <<\_ACEOF
++#define STDC_HEADERS 1
++_ACEOF
++
++fi
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
+ 
+-cat >>confdefs.h <<\EOF
+-#define STDC_HEADERS 1
+-EOF
+ 
+-fi
+ 
+ for ac_header in \
+ 	arpa/ftp.h				\
+@@ -21296,23 +25117,61 @@
+ 
+ do
+ as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+-echo "$as_me:21299: checking for $ac_header" >&5
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo "$as_me:$LINENO: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
+ else
+-  cat >conftest.$ac_ext <<_ACEOF
+-#line 21305 "configure"
++  # Is the header compilable?
++echo "$as_me:$LINENO: checking $ac_header usability" >&5
++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++$ac_includes_default
++#include <$ac_header>
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_header_compiler=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_header_compiler=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
++echo "${ECHO_T}$ac_header_compiler" >&6
++
++# Is the header present?
++echo "$as_me:$LINENO: checking $ac_header presence" >&5
++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <$ac_header>
+ _ACEOF
+-if { (eval echo "$as_me:21309: \"$ac_cpp conftest.$ac_ext\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
+   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+   ac_status=$?
+   egrep -v '^ *\+' conftest.er1 >conftest.err
+   rm -f conftest.er1
+   cat conftest.err >&5
+-  echo "$as_me:21315: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } >/dev/null; then
+   if test -s conftest.err; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+@@ -21323,44 +25182,112 @@
+   ac_cpp_err=yes
+ fi
+ if test -z "$ac_cpp_err"; then
+-  eval "$as_ac_Header=yes"
++  ac_header_preproc=yes
+ else
+   echo "$as_me: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+-  eval "$as_ac_Header=no"
++  ac_header_preproc=no
+ fi
+ rm -f conftest.err conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
++echo "${ECHO_T}$ac_header_preproc" >&6
++
++# So?  What about this header?
++case $ac_header_compiler:$ac_header_preproc in
++  yes:no )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
++echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++  no:yes )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
++echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
++echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++esac
++echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  eval "$as_ac_Header=$ac_header_preproc"
+ fi
+-echo "$as_me:21334: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++
++fi
+ if test `eval echo '${'$as_ac_Header'}'` = yes; then
+-  cat >>confdefs.h <<EOF
++  cat >>confdefs.h <<_ACEOF
+ #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
+-EOF
++_ACEOF
+ 
+ fi
++
+ done
+ 
++
++
++
+ for ac_header in standards.h
+ do
+ as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+-echo "$as_me:21347: checking for $ac_header" >&5
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo "$as_me:$LINENO: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
+ else
+-  cat >conftest.$ac_ext <<_ACEOF
+-#line 21353 "configure"
++  # Is the header compilable?
++echo "$as_me:$LINENO: checking $ac_header usability" >&5
++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++$ac_includes_default
++#include <$ac_header>
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_header_compiler=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_header_compiler=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
++echo "${ECHO_T}$ac_header_compiler" >&6
++
++# Is the header present?
++echo "$as_me:$LINENO: checking $ac_header presence" >&5
++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <$ac_header>
+ _ACEOF
+-if { (eval echo "$as_me:21357: \"$ac_cpp conftest.$ac_ext\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
+   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+   ac_status=$?
+   egrep -v '^ *\+' conftest.er1 >conftest.err
+   rm -f conftest.er1
+   cat conftest.err >&5
+-  echo "$as_me:21363: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } >/dev/null; then
+   if test -s conftest.err; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+@@ -21371,35 +25298,62 @@
+   ac_cpp_err=yes
+ fi
+ if test -z "$ac_cpp_err"; then
+-  eval "$as_ac_Header=yes"
++  ac_header_preproc=yes
+ else
+   echo "$as_me: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+-  eval "$as_ac_Header=no"
++  ac_header_preproc=no
+ fi
+ rm -f conftest.err conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
++echo "${ECHO_T}$ac_header_preproc" >&6
++
++# So?  What about this header?
++case $ac_header_compiler:$ac_header_preproc in
++  yes:no )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
++echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++  no:yes )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
++echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
++echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++esac
++echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  eval "$as_ac_Header=$ac_header_preproc"
+ fi
+-echo "$as_me:21382: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++
++fi
+ if test `eval echo '${'$as_ac_Header'}'` = yes; then
+-  cat >>confdefs.h <<EOF
++  cat >>confdefs.h <<_ACEOF
+ #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
+-EOF
++_ACEOF
+ 
+ fi
++
+ done
+ 
+ for i in netinet/ip.h netinet/tcp.h; do
+ 
+ cv=`echo "$i" | sed 'y%./+-%__p_%'`
+ 
+-echo "$as_me:21396: checking for $i" >&5
++echo "$as_me:$LINENO: checking for $i" >&5
+ echo $ECHO_N "checking for $i... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_header_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 21402 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ \
+ #ifdef HAVE_STANDARDS_H
+@@ -21408,13 +25362,13 @@
+ #include <$i>
+ 
+ _ACEOF
+-if { (eval echo "$as_me:21411: \"$ac_cpp conftest.$ac_ext\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
+   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+   ac_status=$?
+   egrep -v '^ *\+' conftest.er1 >conftest.err
+   rm -f conftest.er1
+   cat conftest.err >&5
+-  echo "$as_me:21417: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } >/dev/null; then
+   if test -s conftest.err; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+@@ -21433,39 +25387,78 @@
+ fi
+ rm -f conftest.err conftest.$ac_ext
+ fi
+-echo "$as_me:21436: result: `eval echo '${'ac_cv_header_$cv'}'`" >&5
++echo "$as_me:$LINENO: result: `eval echo '${'ac_cv_header_$cv'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'ac_cv_header_$cv'}'`" >&6
+ ac_res=`eval echo \\$ac_cv_header_$cv`
+ if test "$ac_res" = yes; then
+ 	ac_tr_hdr=HAVE_`echo $i | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_hdr 1
+-EOF
++_ACEOF
+ 
+ fi
+ done
+ if false;then
+ 
++
+ for ac_header in netinet/ip.h netinet/tcp.h
+ do
+ as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+-echo "$as_me:21452: checking for $ac_header" >&5
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo "$as_me:$LINENO: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
+ else
+-  cat >conftest.$ac_ext <<_ACEOF
+-#line 21458 "configure"
++  # Is the header compilable?
++echo "$as_me:$LINENO: checking $ac_header usability" >&5
++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++$ac_includes_default
++#include <$ac_header>
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_header_compiler=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_header_compiler=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
++echo "${ECHO_T}$ac_header_compiler" >&6
++
++# Is the header present?
++echo "$as_me:$LINENO: checking $ac_header presence" >&5
++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <$ac_header>
+ _ACEOF
+-if { (eval echo "$as_me:21462: \"$ac_cpp conftest.$ac_ext\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
+   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+   ac_status=$?
+   egrep -v '^ *\+' conftest.er1 >conftest.err
+   rm -f conftest.er1
+   cat conftest.err >&5
+-  echo "$as_me:21468: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } >/dev/null; then
+   if test -s conftest.err; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+@@ -21476,26 +25469,55 @@
+   ac_cpp_err=yes
+ fi
+ if test -z "$ac_cpp_err"; then
+-  eval "$as_ac_Header=yes"
++  ac_header_preproc=yes
+ else
+   echo "$as_me: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+-  eval "$as_ac_Header=no"
++  ac_header_preproc=no
+ fi
+ rm -f conftest.err conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
++echo "${ECHO_T}$ac_header_preproc" >&6
++
++# So?  What about this header?
++case $ac_header_compiler:$ac_header_preproc in
++  yes:no )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
++echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++  no:yes )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
++echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
++echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++esac
++echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  eval "$as_ac_Header=$ac_header_preproc"
+ fi
+-echo "$as_me:21487: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++
++fi
+ if test `eval echo '${'$as_ac_Header'}'` = yes; then
+-  cat >>confdefs.h <<EOF
++  cat >>confdefs.h <<_ACEOF
+ #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
+-EOF
++_ACEOF
+ 
+ fi
++
+ done
+ 
+ fi
+ 
++
++
+ # Check whether --enable-netinfo or --disable-netinfo was given.
+ if test "${enable_netinfo+set}" = set; then
+   enableval="$enable_netinfo"
+@@ -21504,12 +25526,14 @@
+ 
+ if test "$ac_cv_header_netinfo_ni_h" = yes -a "$enable_netinfo" = yes; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define HAVE_NETINFO 1
+-EOF
++_ACEOF
+ 
+ fi
+ 
++
++
+ if test "$ac_cv_header_err_h" = yes; then
+   have_err_h_TRUE=
+   have_err_h_FALSE='#'
+@@ -21518,6 +25542,7 @@
+   have_err_h_FALSE=
+ fi
+ 
++
+ if test "$ac_cv_header_fnmatch_h" = yes; then
+   have_fnmatch_h_TRUE=
+   have_fnmatch_h_FALSE='#'
+@@ -21526,7 +25551,12 @@
+   have_fnmatch_h_FALSE=
+ fi
+ 
+-echo "$as_me:21529: checking for socket" >&5
++
++
++
++
++
++echo "$as_me:$LINENO: checking for socket" >&5
+ echo $ECHO_N "checking for socket... $ECHO_C" >&6
+ if test "${ac_cv_funclib_socket+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -21544,9 +25574,15 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 21547 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -21556,16 +25592,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:21559: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:21562: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:21565: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:21568: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_socket=$ac_lib; else ac_cv_funclib_socket=yes; fi";break
+ else
+@@ -21580,6 +25616,7 @@
+ 
+ fi
+ 
++
+ eval "ac_res=\$ac_cv_funclib_socket"
+ 
+ if false; then
+@@ -21587,13 +25624,13 @@
+ for ac_func in socket
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:21590: checking for $ac_func" >&5
++echo "$as_me:$LINENO: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 21596 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -21607,6 +25644,12 @@
+ char $ac_func ();
+ char (*f) ();
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -21624,16 +25667,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:21627: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:21630: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:21633: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:21636: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -21643,12 +25686,12 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:21646: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+-  cat >>confdefs.h <<EOF
++  cat >>confdefs.h <<_ACEOF
+ #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+-EOF
++_ACEOF
+ 
+ fi
+ done
+@@ -21663,40 +25706,45 @@
+ 	yes)
+ 	eval "ac_cv_func_socket=yes"
+ 	eval "LIB_socket="
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:21670: result: yes" >&5
++	echo "$as_me:$LINENO: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_socket=no"
+ 	eval "LIB_socket="
+-	echo "$as_me:21676: result: no" >&5
++	echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+ 	eval "ac_cv_func_socket=yes"
+ 	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_lib 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:21690: result: yes, in $ac_res" >&5
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
++
+ if test -n "$LIB_socket"; then
+ 	LIBS="$LIB_socket $LIBS"
+ fi
+ 
+-echo "$as_me:21699: checking for gethostbyname" >&5
++
++
++
++
++echo "$as_me:$LINENO: checking for gethostbyname" >&5
+ echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
+ if test "${ac_cv_funclib_gethostbyname+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -21714,9 +25762,15 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 21717 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -21726,16 +25780,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:21729: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:21732: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:21735: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:21738: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_gethostbyname=$ac_lib; else ac_cv_funclib_gethostbyname=yes; fi";break
+ else
+@@ -21750,6 +25804,7 @@
+ 
+ fi
+ 
++
+ eval "ac_res=\$ac_cv_funclib_gethostbyname"
+ 
+ if false; then
+@@ -21757,13 +25812,13 @@
+ for ac_func in gethostbyname
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:21760: checking for $ac_func" >&5
++echo "$as_me:$LINENO: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 21766 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -21777,6 +25832,12 @@
+ char $ac_func ();
+ char (*f) ();
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -21794,16 +25855,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:21797: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:21800: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:21803: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:21806: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -21813,12 +25874,12 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:21816: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+-  cat >>confdefs.h <<EOF
++  cat >>confdefs.h <<_ACEOF
+ #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+-EOF
++_ACEOF
+ 
+ fi
+ done
+@@ -21833,40 +25894,45 @@
+ 	yes)
+ 	eval "ac_cv_func_gethostbyname=yes"
+ 	eval "LIB_gethostbyname="
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:21840: result: yes" >&5
++	echo "$as_me:$LINENO: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_gethostbyname=no"
+ 	eval "LIB_gethostbyname="
+-	echo "$as_me:21846: result: no" >&5
++	echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+ 	eval "ac_cv_func_gethostbyname=yes"
+ 	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_lib 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:21860: result: yes, in $ac_res" >&5
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
++
+ if test -n "$LIB_gethostbyname"; then
+ 	LIBS="$LIB_gethostbyname $LIBS"
+ fi
+ 
+-echo "$as_me:21869: checking for syslog" >&5
++
++
++
++
++echo "$as_me:$LINENO: checking for syslog" >&5
+ echo $ECHO_N "checking for syslog... $ECHO_C" >&6
+ if test "${ac_cv_funclib_syslog+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -21884,9 +25950,15 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 21887 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -21896,16 +25968,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:21899: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:21902: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:21905: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:21908: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_syslog=$ac_lib; else ac_cv_funclib_syslog=yes; fi";break
+ else
+@@ -21920,6 +25992,7 @@
+ 
+ fi
+ 
++
+ eval "ac_res=\$ac_cv_funclib_syslog"
+ 
+ if false; then
+@@ -21927,13 +26000,13 @@
+ for ac_func in syslog
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:21930: checking for $ac_func" >&5
++echo "$as_me:$LINENO: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 21936 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -21947,6 +26020,12 @@
+ char $ac_func ();
+ char (*f) ();
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -21964,16 +26043,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:21967: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:21970: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:21973: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:21976: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -21983,12 +26062,12 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:21986: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+-  cat >>confdefs.h <<EOF
++  cat >>confdefs.h <<_ACEOF
+ #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+-EOF
++_ACEOF
+ 
+ fi
+ done
+@@ -22003,39 +26082,43 @@
+ 	yes)
+ 	eval "ac_cv_func_syslog=yes"
+ 	eval "LIB_syslog="
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:22010: result: yes" >&5
++	echo "$as_me:$LINENO: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_syslog=no"
+ 	eval "LIB_syslog="
+-	echo "$as_me:22016: result: no" >&5
++	echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+ 	eval "ac_cv_func_syslog=yes"
+ 	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_lib 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:22030: result: yes, in $ac_res" >&5
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
++
+ if test -n "$LIB_syslog"; then
+ 	LIBS="$LIB_syslog $LIBS"
+ fi
+ 
++
++
++
+ # Check whether --with-ipv6 or --without-ipv6 was given.
+ if test "${with_ipv6+set}" = set; then
+   withval="$with_ipv6"
+@@ -22051,13 +26134,13 @@
+   v6type=unknown
+ v6lib=none
+ 
+-echo "$as_me:22054: checking ipv6 stack type" >&5
++echo "$as_me:$LINENO: checking ipv6 stack type" >&5
+ echo $ECHO_N "checking ipv6 stack type... $ECHO_C" >&6
+ for i in v6d toshiba kame inria zeta linux; do
+ 	case $i in
+ 	v6d)
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 22060 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
+ #include </usr/local/v6/include/sys/types.h>
+@@ -22076,7 +26159,7 @@
+ 		;;
+ 	toshiba)
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 22079 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
+ #include <sys/param.h>
+@@ -22095,7 +26178,7 @@
+ 		;;
+ 	kame)
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 22098 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
+ #include <netinet/in.h>
+@@ -22114,7 +26197,7 @@
+ 		;;
+ 	inria)
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 22117 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
+ #include <netinet/in.h>
+@@ -22131,7 +26214,7 @@
+ 		;;
+ 	zeta)
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 22134 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
+ #include <sys/param.h>
+@@ -22161,7 +26244,7 @@
+ 		break
+ 	fi
+ done
+-echo "$as_me:22164: result: $v6type" >&5
++echo "$as_me:$LINENO: result: $v6type" >&5
+ echo "${ECHO_T}$v6type" >&6
+ 
+ if test "$v6lib" != "none"; then
+@@ -22173,7 +26256,7 @@
+ 	done
+ fi
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 22176 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_SYS_TYPES_H
+@@ -22189,6 +26272,12 @@
+ #include <netinet/in6.h>
+ #endif
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -22208,16 +26297,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:22211: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:22214: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:22217: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:22220: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_lib_ipv6=yes
+ else
+@@ -22228,29 +26317,29 @@
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+ 
+-echo "$as_me:22231: checking for IPv6" >&5
++echo "$as_me:$LINENO: checking for IPv6" >&5
+ echo $ECHO_N "checking for IPv6... $ECHO_C" >&6
+-echo "$as_me:22233: result: $ac_cv_lib_ipv6" >&5
++echo "$as_me:$LINENO: result: $ac_cv_lib_ipv6" >&5
+ echo "${ECHO_T}$ac_cv_lib_ipv6" >&6
+ if test "$ac_cv_lib_ipv6" = yes; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define HAVE_IPV6 1
+-EOF
++_ACEOF
+ 
+ else
+   CFLAGS="${save_CFLAGS}"
+ fi
+ 
+ if test "$ac_cv_lib_ipv6" = yes; then
+-	echo "$as_me:22246: checking for in6addr_loopback" >&5
++	echo "$as_me:$LINENO: checking for in6addr_loopback" >&5
+ echo $ECHO_N "checking for in6addr_loopback... $ECHO_C" >&6
+ if test "${ac_cv_var_in6addr_loopback+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ 	cat >conftest.$ac_ext <<_ACEOF
+-#line 22253 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_SYS_TYPES_H
+@@ -22265,6 +26354,12 @@
+ #ifdef HAVE_NETINET_IN6_H
+ #include <netinet/in6.h>
+ #endif
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -22277,16 +26372,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:22280: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:22283: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:22286: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:22289: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_var_in6addr_loopback=yes
+ else
+@@ -22296,18 +26391,22 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:22299: result: $ac_cv_var_in6addr_loopback" >&5
++echo "$as_me:$LINENO: result: $ac_cv_var_in6addr_loopback" >&5
+ echo "${ECHO_T}$ac_cv_var_in6addr_loopback" >&6
+ 	if test "$ac_cv_var_in6addr_loopback" = yes; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define HAVE_IN6ADDR_LOOPBACK 1
+-EOF
++_ACEOF
+ 
+ 	fi
+ fi
+ 
+-echo "$as_me:22310: checking for logwtmp" >&5
++
++
++
++
++echo "$as_me:$LINENO: checking for logwtmp" >&5
+ echo $ECHO_N "checking for logwtmp... $ECHO_C" >&6
+ if test "${ac_cv_funclib_logwtmp+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -22325,9 +26424,15 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 22328 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -22337,16 +26442,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:22340: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:22343: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:22346: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:22349: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_logwtmp=$ac_lib; else ac_cv_funclib_logwtmp=yes; fi";break
+ else
+@@ -22361,6 +26466,7 @@
+ 
+ fi
+ 
++
+ eval "ac_res=\$ac_cv_funclib_logwtmp"
+ 
+ if false; then
+@@ -22368,13 +26474,13 @@
+ for ac_func in logwtmp
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:22371: checking for $ac_func" >&5
++echo "$as_me:$LINENO: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 22377 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -22388,6 +26494,12 @@
+ char $ac_func ();
+ char (*f) ();
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -22405,16 +26517,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:22408: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:22411: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:22414: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:22417: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -22424,12 +26536,12 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:22427: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+-  cat >>confdefs.h <<EOF
++  cat >>confdefs.h <<_ACEOF
+ #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+-EOF
++_ACEOF
+ 
+ fi
+ done
+@@ -22444,36 +26556,40 @@
+ 	yes)
+ 	eval "ac_cv_func_logwtmp=yes"
+ 	eval "LIB_logwtmp="
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:22451: result: yes" >&5
++	echo "$as_me:$LINENO: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_logwtmp=no"
+ 	eval "LIB_logwtmp="
+-	echo "$as_me:22457: result: no" >&5
++	echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+ 	eval "ac_cv_func_logwtmp=yes"
+ 	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_lib 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:22471: result: yes, in $ac_res" >&5
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "$as_me:22476: checking for logout" >&5
++
++
++
++
++echo "$as_me:$LINENO: checking for logout" >&5
+ echo $ECHO_N "checking for logout... $ECHO_C" >&6
+ if test "${ac_cv_funclib_logout+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -22491,9 +26607,15 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 22494 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -22503,16 +26625,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:22506: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:22509: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:22512: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:22515: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_logout=$ac_lib; else ac_cv_funclib_logout=yes; fi";break
+ else
+@@ -22527,6 +26649,7 @@
+ 
+ fi
+ 
++
+ eval "ac_res=\$ac_cv_funclib_logout"
+ 
+ if false; then
+@@ -22534,13 +26657,13 @@
+ for ac_func in logout
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:22537: checking for $ac_func" >&5
++echo "$as_me:$LINENO: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 22543 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -22554,6 +26677,12 @@
+ char $ac_func ();
+ char (*f) ();
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -22571,16 +26700,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:22574: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:22577: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:22580: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:22583: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -22590,12 +26719,12 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:22593: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+-  cat >>confdefs.h <<EOF
++  cat >>confdefs.h <<_ACEOF
+ #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+-EOF
++_ACEOF
+ 
+ fi
+ done
+@@ -22610,36 +26739,40 @@
+ 	yes)
+ 	eval "ac_cv_func_logout=yes"
+ 	eval "LIB_logout="
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:22617: result: yes" >&5
++	echo "$as_me:$LINENO: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_logout=no"
+ 	eval "LIB_logout="
+-	echo "$as_me:22623: result: no" >&5
++	echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+ 	eval "ac_cv_func_logout=yes"
+ 	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_lib 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:22637: result: yes, in $ac_res" >&5
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "$as_me:22642: checking for openpty" >&5
++
++
++
++
++echo "$as_me:$LINENO: checking for openpty" >&5
+ echo $ECHO_N "checking for openpty... $ECHO_C" >&6
+ if test "${ac_cv_funclib_openpty+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -22657,9 +26790,15 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 22660 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -22669,16 +26808,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:22672: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:22675: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:22678: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:22681: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_openpty=$ac_lib; else ac_cv_funclib_openpty=yes; fi";break
+ else
+@@ -22693,6 +26832,7 @@
+ 
+ fi
+ 
++
+ eval "ac_res=\$ac_cv_funclib_openpty"
+ 
+ if false; then
+@@ -22700,13 +26840,13 @@
+ for ac_func in openpty
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:22703: checking for $ac_func" >&5
++echo "$as_me:$LINENO: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 22709 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -22720,6 +26860,12 @@
+ char $ac_func ();
+ char (*f) ();
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -22737,16 +26883,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:22740: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:22743: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:22746: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:22749: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -22756,12 +26902,12 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:22759: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+-  cat >>confdefs.h <<EOF
++  cat >>confdefs.h <<_ACEOF
+ #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+-EOF
++_ACEOF
+ 
+ fi
+ done
+@@ -22776,36 +26922,40 @@
+ 	yes)
+ 	eval "ac_cv_func_openpty=yes"
+ 	eval "LIB_openpty="
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:22783: result: yes" >&5
++	echo "$as_me:$LINENO: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_openpty=no"
+ 	eval "LIB_openpty="
+-	echo "$as_me:22789: result: no" >&5
++	echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+ 	eval "ac_cv_func_openpty=yes"
+ 	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_lib 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:22803: result: yes, in $ac_res" >&5
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "$as_me:22808: checking for tgetent" >&5
++
++
++
++
++echo "$as_me:$LINENO: checking for tgetent" >&5
+ echo $ECHO_N "checking for tgetent... $ECHO_C" >&6
+ if test "${ac_cv_funclib_tgetent+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -22823,9 +26973,15 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 22826 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -22835,16 +26991,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:22838: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:22841: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:22844: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:22847: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_tgetent=$ac_lib; else ac_cv_funclib_tgetent=yes; fi";break
+ else
+@@ -22859,6 +27015,7 @@
+ 
+ fi
+ 
++
+ eval "ac_res=\$ac_cv_funclib_tgetent"
+ 
+ if false; then
+@@ -22866,13 +27023,13 @@
+ for ac_func in tgetent
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:22869: checking for $ac_func" >&5
++echo "$as_me:$LINENO: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 22875 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -22886,6 +27043,12 @@
+ char $ac_func ();
+ char (*f) ();
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -22903,16 +27066,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:22906: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:22909: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:22912: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:22915: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -22922,12 +27085,12 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:22925: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+-  cat >>confdefs.h <<EOF
++  cat >>confdefs.h <<_ACEOF
+ #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+-EOF
++_ACEOF
+ 
+ fi
+ done
+@@ -22942,36 +27105,41 @@
+ 	yes)
+ 	eval "ac_cv_func_tgetent=yes"
+ 	eval "LIB_tgetent="
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:22949: result: yes" >&5
++	echo "$as_me:$LINENO: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_tgetent=no"
+ 	eval "LIB_tgetent="
+-	echo "$as_me:22955: result: no" >&5
++	echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+ 	eval "ac_cv_func_tgetent=yes"
+ 	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_lib 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:22969: result: yes, in $ac_res" >&5
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "$as_me:22974: checking for gethostbyname2" >&5
++
++
++
++
++
++echo "$as_me:$LINENO: checking for gethostbyname2" >&5
+ echo $ECHO_N "checking for gethostbyname2... $ECHO_C" >&6
+ if test "${ac_cv_funclib_gethostbyname2+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -22989,9 +27157,15 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 22992 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -23001,16 +27175,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:23004: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:23007: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:23010: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:23013: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_gethostbyname2=$ac_lib; else ac_cv_funclib_gethostbyname2=yes; fi";break
+ else
+@@ -23025,6 +27199,7 @@
+ 
+ fi
+ 
++
+ eval "ac_res=\$ac_cv_funclib_gethostbyname2"
+ 
+ if false; then
+@@ -23032,13 +27207,13 @@
+ for ac_func in gethostbyname2
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:23035: checking for $ac_func" >&5
++echo "$as_me:$LINENO: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 23041 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -23052,6 +27227,12 @@
+ char $ac_func ();
+ char (*f) ();
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -23069,16 +27250,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:23072: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:23075: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:23078: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:23081: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -23088,12 +27269,12 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:23091: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+-  cat >>confdefs.h <<EOF
++  cat >>confdefs.h <<_ACEOF
+ #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+-EOF
++_ACEOF
+ 
+ fi
+ done
+@@ -23108,40 +27289,46 @@
+ 	yes)
+ 	eval "ac_cv_func_gethostbyname2=yes"
+ 	eval "LIB_gethostbyname2="
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:23115: result: yes" >&5
++	echo "$as_me:$LINENO: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_gethostbyname2=no"
+ 	eval "LIB_gethostbyname2="
+-	echo "$as_me:23121: result: no" >&5
++	echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+ 	eval "ac_cv_func_gethostbyname2=yes"
+ 	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_lib 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:23135: result: yes, in $ac_res" >&5
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
++
+ if test -n "$LIB_gethostbyname2"; then
+ 	LIBS="$LIB_gethostbyname2 $LIBS"
+ fi
+ 
+-echo "$as_me:23144: checking for res_search" >&5
++
++
++
++
++
++echo "$as_me:$LINENO: checking for res_search" >&5
+ echo $ECHO_N "checking for res_search... $ECHO_C" >&6
+ if test "${ac_cv_funclib_res_search+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -23159,7 +27346,7 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 23162 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -23176,6 +27363,12 @@
+ #include <resolv.h>
+ #endif
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -23185,16 +27378,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:23188: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:23191: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:23194: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:23197: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_res_search=$ac_lib; else ac_cv_funclib_res_search=yes; fi";break
+ else
+@@ -23209,6 +27402,7 @@
+ 
+ fi
+ 
++
+ eval "ac_res=\$ac_cv_funclib_res_search"
+ 
+ if false; then
+@@ -23216,13 +27410,13 @@
+ for ac_func in res_search
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:23219: checking for $ac_func" >&5
++echo "$as_me:$LINENO: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 23225 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -23236,6 +27430,12 @@
+ char $ac_func ();
+ char (*f) ();
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -23253,16 +27453,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:23256: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:23259: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:23262: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:23265: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -23272,12 +27472,12 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:23275: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+-  cat >>confdefs.h <<EOF
++  cat >>confdefs.h <<_ACEOF
+ #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+-EOF
++_ACEOF
+ 
+ fi
+ done
+@@ -23292,40 +27492,46 @@
+ 	yes)
+ 	eval "ac_cv_func_res_search=yes"
+ 	eval "LIB_res_search="
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:23299: result: yes" >&5
++	echo "$as_me:$LINENO: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_res_search=no"
+ 	eval "LIB_res_search="
+-	echo "$as_me:23305: result: no" >&5
++	echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+ 	eval "ac_cv_func_res_search=yes"
+ 	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_lib 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:23319: result: yes, in $ac_res" >&5
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
++
+ if test -n "$LIB_res_search"; then
+ 	LIBS="$LIB_res_search $LIBS"
+ fi
+ 
+-echo "$as_me:23328: checking for dn_expand" >&5
++
++
++
++
++
++echo "$as_me:$LINENO: checking for dn_expand" >&5
+ echo $ECHO_N "checking for dn_expand... $ECHO_C" >&6
+ if test "${ac_cv_funclib_dn_expand+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -23343,7 +27549,7 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 23346 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -23360,6 +27566,12 @@
+ #include <resolv.h>
+ #endif
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -23369,16 +27581,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:23372: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:23375: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:23378: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:23381: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_dn_expand=$ac_lib; else ac_cv_funclib_dn_expand=yes; fi";break
+ else
+@@ -23393,6 +27605,7 @@
+ 
+ fi
+ 
++
+ eval "ac_res=\$ac_cv_funclib_dn_expand"
+ 
+ if false; then
+@@ -23400,13 +27613,13 @@
+ for ac_func in dn_expand
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:23403: checking for $ac_func" >&5
++echo "$as_me:$LINENO: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 23409 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -23420,6 +27633,12 @@
+ char $ac_func ();
+ char (*f) ();
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -23437,16 +27656,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:23440: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:23443: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:23446: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:23449: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -23456,12 +27675,12 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:23459: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+-  cat >>confdefs.h <<EOF
++  cat >>confdefs.h <<_ACEOF
+ #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+-EOF
++_ACEOF
+ 
+ fi
+ done
+@@ -23476,40 +27695,44 @@
+ 	yes)
+ 	eval "ac_cv_func_dn_expand=yes"
+ 	eval "LIB_dn_expand="
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:23483: result: yes" >&5
++	echo "$as_me:$LINENO: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_dn_expand=no"
+ 	eval "LIB_dn_expand="
+-	echo "$as_me:23489: result: no" >&5
++	echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+ 	eval "ac_cv_func_dn_expand=yes"
+ 	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_lib 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:23503: result: yes, in $ac_res" >&5
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
++
+ if test -n "$LIB_dn_expand"; then
+ 	LIBS="$LIB_dn_expand $LIBS"
+ fi
+ 
+-echo "$as_me:23512: checking for working snprintf" >&5
++
++
++
++echo "$as_me:$LINENO: checking for working snprintf" >&5
+ echo $ECHO_N "checking for working snprintf... $ECHO_C" >&6
+ if test "${ac_cv_func_snprintf_working+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -23519,7 +27742,7 @@
+   :
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 23522 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -23532,48 +27755,55 @@
+ }
+ _ACEOF
+ rm -f conftest$ac_exeext
+-if { (eval echo "$as_me:23535: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:23538: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
+-  { (eval echo "$as_me:23540: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:23543: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   :
+ else
+   echo "$as_me: program exited with status $ac_status" >&5
+ echo "$as_me: failed program was:" >&5
+ cat conftest.$ac_ext >&5
++( exit $ac_status )
+ ac_cv_func_snprintf_working=no
+ fi
+ rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
+ fi
+ fi
+-echo "$as_me:23555: result: $ac_cv_func_snprintf_working" >&5
++echo "$as_me:$LINENO: result: $ac_cv_func_snprintf_working" >&5
+ echo "${ECHO_T}$ac_cv_func_snprintf_working" >&6
+ 
+ if test "$ac_cv_func_snprintf_working" = yes; then
+ 
+-cat >>confdefs.h <<EOF
++cat >>confdefs.h <<_ACEOF
+ #define HAVE_SNPRINTF 1
+-EOF
++_ACEOF
+ 
+ fi
+ if test "$ac_cv_func_snprintf_working" = yes; then
+ 
+ if test "$ac_cv_func_snprintf+set" != set -o "$ac_cv_func_snprintf" = yes; then
+-echo "$as_me:23568: checking if snprintf needs a prototype" >&5
++echo "$as_me:$LINENO: checking if snprintf needs a prototype" >&5
+ echo $ECHO_N "checking if snprintf needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_snprintf_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 23574 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -23586,16 +27816,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:23589: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:23592: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:23595: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:23598: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_func_snprintf_noproto=yes"
+ else
+@@ -23605,14 +27835,14 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:23608: result: $ac_cv_func_snprintf_noproto" >&5
++echo "$as_me:$LINENO: result: $ac_cv_func_snprintf_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_snprintf_noproto" >&6
+ 
+ if test "$ac_cv_func_snprintf_noproto" = yes; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define NEED_SNPRINTF_PROTO 1
+-EOF
++_ACEOF
+ 
+ fi
+ 
+@@ -23620,7 +27850,8 @@
+ 
+ fi
+ 
+-echo "$as_me:23623: checking for working vsnprintf" >&5
++
++echo "$as_me:$LINENO: checking for working vsnprintf" >&5
+ echo $ECHO_N "checking for working vsnprintf... $ECHO_C" >&6
+ if test "${ac_cv_func_vsnprintf_working+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -23630,7 +27861,7 @@
+   :
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 23633 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -23647,54 +27878,62 @@
+ 	return strcmp(bar, "1");
+ }
+ 
++
+ int main()
+ {
+ 	return foo(0, "12");
+ }
+ _ACEOF
+ rm -f conftest$ac_exeext
+-if { (eval echo "$as_me:23656: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:23659: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
+-  { (eval echo "$as_me:23661: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:23664: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   :
+ else
+   echo "$as_me: program exited with status $ac_status" >&5
+ echo "$as_me: failed program was:" >&5
+ cat conftest.$ac_ext >&5
++( exit $ac_status )
+ ac_cv_func_vsnprintf_working=no
+ fi
+ rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
+ fi
+ fi
+-echo "$as_me:23676: result: $ac_cv_func_vsnprintf_working" >&5
++echo "$as_me:$LINENO: result: $ac_cv_func_vsnprintf_working" >&5
+ echo "${ECHO_T}$ac_cv_func_vsnprintf_working" >&6
+ 
+ if test "$ac_cv_func_vsnprintf_working" = yes; then
+ 
+-cat >>confdefs.h <<EOF
++cat >>confdefs.h <<_ACEOF
+ #define HAVE_VSNPRINTF 1
+-EOF
++_ACEOF
+ 
+ fi
+ if test "$ac_cv_func_vsnprintf_working" = yes; then
+ 
+ if test "$ac_cv_func_vsnprintf+set" != set -o "$ac_cv_func_vsnprintf" = yes; then
+-echo "$as_me:23689: checking if vsnprintf needs a prototype" >&5
++echo "$as_me:$LINENO: checking if vsnprintf needs a prototype" >&5
+ echo $ECHO_N "checking if vsnprintf needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_vsnprintf_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 23695 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -23707,16 +27946,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:23710: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:23713: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:23716: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:23719: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_func_vsnprintf_noproto=yes"
+ else
+@@ -23726,14 +27965,14 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:23729: result: $ac_cv_func_vsnprintf_noproto" >&5
++echo "$as_me:$LINENO: result: $ac_cv_func_vsnprintf_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_vsnprintf_noproto" >&6
+ 
+ if test "$ac_cv_func_vsnprintf_noproto" = yes; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define NEED_VSNPRINTF_PROTO 1
+-EOF
++_ACEOF
+ 
+ fi
+ 
+@@ -23741,6 +27980,38 @@
+ 
+ fi
+ 
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
+ for ac_func in 				\
+ 	_getpty					\
+ 	_scrsize				\
+@@ -23776,13 +28047,13 @@
+ 
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:23779: checking for $ac_func" >&5
++echo "$as_me:$LINENO: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 23785 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -23796,6 +28067,12 @@
+ char $ac_func ();
+ char (*f) ();
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -23813,16 +28090,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:23816: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:23819: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:23822: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:23825: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -23832,36 +28109,79 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:23835: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+-  cat >>confdefs.h <<EOF
++  cat >>confdefs.h <<_ACEOF
+ #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+-EOF
++_ACEOF
+ 
+ fi
+ done
+ 
++
++
++
++
++
+ for ac_header in capability.h sys/capability.h
+ do
+ as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+-echo "$as_me:23848: checking for $ac_header" >&5
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo "$as_me:$LINENO: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
+ else
+-  cat >conftest.$ac_ext <<_ACEOF
+-#line 23854 "configure"
++  # Is the header compilable?
++echo "$as_me:$LINENO: checking $ac_header usability" >&5
++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++$ac_includes_default
++#include <$ac_header>
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_header_compiler=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_header_compiler=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
++echo "${ECHO_T}$ac_header_compiler" >&6
++
++# Is the header present?
++echo "$as_me:$LINENO: checking $ac_header presence" >&5
++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <$ac_header>
+ _ACEOF
+-if { (eval echo "$as_me:23858: \"$ac_cpp conftest.$ac_ext\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
+   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+   ac_status=$?
+   egrep -v '^ *\+' conftest.er1 >conftest.err
+   rm -f conftest.er1
+   cat conftest.err >&5
+-  echo "$as_me:23864: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } >/dev/null; then
+   if test -s conftest.err; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+@@ -23872,34 +28192,64 @@
+   ac_cpp_err=yes
+ fi
+ if test -z "$ac_cpp_err"; then
+-  eval "$as_ac_Header=yes"
++  ac_header_preproc=yes
+ else
+   echo "$as_me: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+-  eval "$as_ac_Header=no"
++  ac_header_preproc=no
+ fi
+ rm -f conftest.err conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
++echo "${ECHO_T}$ac_header_preproc" >&6
++
++# So?  What about this header?
++case $ac_header_compiler:$ac_header_preproc in
++  yes:no )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
++echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++  no:yes )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
++echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
++echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++esac
++echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  eval "$as_ac_Header=$ac_header_preproc"
+ fi
+-echo "$as_me:23883: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++
++fi
+ if test `eval echo '${'$as_ac_Header'}'` = yes; then
+-  cat >>confdefs.h <<EOF
++  cat >>confdefs.h <<_ACEOF
+ #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
+-EOF
++_ACEOF
+ 
+ fi
++
+ done
+ 
++
++
++
+ for ac_func in sgi_getcapabilitybyname cap_set_proc
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:23896: checking for $ac_func" >&5
++echo "$as_me:$LINENO: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 23902 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -23913,6 +28263,12 @@
+ char $ac_func ();
+ char (*f) ();
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -23930,16 +28286,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:23933: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:23936: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:23939: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:23942: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -23949,17 +28305,23 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:23952: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+-  cat >>confdefs.h <<EOF
++  cat >>confdefs.h <<_ACEOF
+ #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+-EOF
++_ACEOF
+ 
+ fi
+ done
+ 
+-echo "$as_me:23962: checking for getpwnam_r" >&5
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for getpwnam_r" >&5
+ echo $ECHO_N "checking for getpwnam_r... $ECHO_C" >&6
+ if test "${ac_cv_funclib_getpwnam_r+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -23977,9 +28339,15 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 23980 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -23989,16 +28357,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:23992: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:23995: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:23998: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:24001: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_getpwnam_r=$ac_lib; else ac_cv_funclib_getpwnam_r=yes; fi";break
+ else
+@@ -24013,6 +28381,7 @@
+ 
+ fi
+ 
++
+ eval "ac_res=\$ac_cv_funclib_getpwnam_r"
+ 
+ if false; then
+@@ -24020,13 +28389,13 @@
+ for ac_func in getpwnam_r
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:24023: checking for $ac_func" >&5
++echo "$as_me:$LINENO: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 24029 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -24040,6 +28409,12 @@
+ char $ac_func ();
+ char (*f) ();
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -24057,16 +28432,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:24060: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:24063: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:24066: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:24069: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -24076,12 +28451,12 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:24079: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+-  cat >>confdefs.h <<EOF
++  cat >>confdefs.h <<_ACEOF
+ #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+-EOF
++_ACEOF
+ 
+ fi
+ done
+@@ -24096,37 +28471,38 @@
+ 	yes)
+ 	eval "ac_cv_func_getpwnam_r=yes"
+ 	eval "LIB_getpwnam_r="
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:24103: result: yes" >&5
++	echo "$as_me:$LINENO: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_getpwnam_r=no"
+ 	eval "LIB_getpwnam_r="
+-	echo "$as_me:24109: result: no" >&5
++	echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+ 	eval "ac_cv_func_getpwnam_r=yes"
+ 	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_lib 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:24123: result: yes, in $ac_res" >&5
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
++
+ if test "$ac_cv_func_getpwnam_r" = yes; then
+-	echo "$as_me:24129: checking if getpwnam_r is posix" >&5
++	echo "$as_me:$LINENO: checking if getpwnam_r is posix" >&5
+ echo $ECHO_N "checking if getpwnam_r is posix... $ECHO_C" >&6
+ if test "${ac_cv_func_getpwnam_r_posix+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -24137,7 +28513,7 @@
+   :
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 24140 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
+ #include <pwd.h>
+@@ -24149,39 +28525,44 @@
+ 
+ _ACEOF
+ rm -f conftest$ac_exeext
+-if { (eval echo "$as_me:24152: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:24155: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
+-  { (eval echo "$as_me:24157: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:24160: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_func_getpwnam_r_posix=yes
+ else
+   echo "$as_me: program exited with status $ac_status" >&5
+ echo "$as_me: failed program was:" >&5
+ cat conftest.$ac_ext >&5
++( exit $ac_status )
+ ac_cv_func_getpwnam_r_posix=no
+ fi
+ rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
+ fi
+ LIBS="$ac_libs"
+ fi
+-echo "$as_me:24173: result: $ac_cv_func_getpwnam_r_posix" >&5
++echo "$as_me:$LINENO: result: $ac_cv_func_getpwnam_r_posix" >&5
+ echo "${ECHO_T}$ac_cv_func_getpwnam_r_posix" >&6
+ if test "$ac_cv_func_getpwnam_r_posix" = yes; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define POSIX_GETPWNAM_R 1
+-EOF
++_ACEOF
+ 
+ fi
+ fi
+ 
+-echo "$as_me:24184: checking for getsockopt" >&5
++
++
++
++
++echo "$as_me:$LINENO: checking for getsockopt" >&5
+ echo $ECHO_N "checking for getsockopt... $ECHO_C" >&6
+ if test "${ac_cv_funclib_getsockopt+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -24199,7 +28580,7 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 24202 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_SYS_TYPES_H
+ #include <sys/types.h>
+@@ -24207,6 +28588,12 @@
+ #ifdef HAVE_SYS_SOCKET_H
+ #include <sys/socket.h>
+ #endif
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -24216,16 +28603,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:24219: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:24222: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:24225: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:24228: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_getsockopt=$ac_lib; else ac_cv_funclib_getsockopt=yes; fi";break
+ else
+@@ -24240,6 +28627,7 @@
+ 
+ fi
+ 
++
+ eval "ac_res=\$ac_cv_funclib_getsockopt"
+ 
+ if false; then
+@@ -24247,13 +28635,13 @@
+ for ac_func in getsockopt
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:24250: checking for $ac_func" >&5
++echo "$as_me:$LINENO: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 24256 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -24267,6 +28655,12 @@
+ char $ac_func ();
+ char (*f) ();
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -24284,16 +28678,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:24287: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:24290: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:24293: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:24296: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -24303,12 +28697,12 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:24306: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+-  cat >>confdefs.h <<EOF
++  cat >>confdefs.h <<_ACEOF
+ #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+-EOF
++_ACEOF
+ 
+ fi
+ done
+@@ -24323,36 +28717,40 @@
+ 	yes)
+ 	eval "ac_cv_func_getsockopt=yes"
+ 	eval "LIB_getsockopt="
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:24330: result: yes" >&5
++	echo "$as_me:$LINENO: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_getsockopt=no"
+ 	eval "LIB_getsockopt="
+-	echo "$as_me:24336: result: no" >&5
++	echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+ 	eval "ac_cv_func_getsockopt=yes"
+ 	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_lib 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:24350: result: yes, in $ac_res" >&5
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "$as_me:24355: checking for setsockopt" >&5
++
++
++
++
++echo "$as_me:$LINENO: checking for setsockopt" >&5
+ echo $ECHO_N "checking for setsockopt... $ECHO_C" >&6
+ if test "${ac_cv_funclib_setsockopt+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -24370,7 +28768,7 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 24373 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_SYS_TYPES_H
+ #include <sys/types.h>
+@@ -24378,6 +28776,12 @@
+ #ifdef HAVE_SYS_SOCKET_H
+ #include <sys/socket.h>
+ #endif
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -24387,16 +28791,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:24390: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:24393: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:24396: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:24399: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_setsockopt=$ac_lib; else ac_cv_funclib_setsockopt=yes; fi";break
+ else
+@@ -24411,6 +28815,7 @@
+ 
+ fi
+ 
++
+ eval "ac_res=\$ac_cv_funclib_setsockopt"
+ 
+ if false; then
+@@ -24418,13 +28823,13 @@
+ for ac_func in setsockopt
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:24421: checking for $ac_func" >&5
++echo "$as_me:$LINENO: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 24427 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -24438,6 +28843,12 @@
+ char $ac_func ();
+ char (*f) ();
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -24455,16 +28866,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:24458: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:24461: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:24464: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:24467: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -24474,12 +28885,12 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:24477: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+-  cat >>confdefs.h <<EOF
++  cat >>confdefs.h <<_ACEOF
+ #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+-EOF
++_ACEOF
+ 
+ fi
+ done
+@@ -24494,45 +28905,49 @@
+ 	yes)
+ 	eval "ac_cv_func_setsockopt=yes"
+ 	eval "LIB_setsockopt="
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:24501: result: yes" >&5
++	echo "$as_me:$LINENO: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_setsockopt=no"
+ 	eval "LIB_setsockopt="
+-	echo "$as_me:24507: result: no" >&5
++	echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+ 	eval "ac_cv_func_setsockopt=yes"
+ 	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_lib 1
+-EOF
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++
+ 
+-	echo "$as_me:24521: result: yes, in $ac_res" >&5
+-echo "${ECHO_T}yes, in $ac_res" >&6
+-	;;
+-esac
+ 
+ for ac_func in getudbnam setlim
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:24529: checking for $ac_func" >&5
++echo "$as_me:$LINENO: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 24535 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -24546,6 +28961,12 @@
+ char $ac_func ();
+ char (*f) ();
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -24563,16 +28984,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:24566: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:24569: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:24572: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:24575: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -24582,23 +29003,25 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:24585: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+-  cat >>confdefs.h <<EOF
++  cat >>confdefs.h <<_ACEOF
+ #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+-EOF
++_ACEOF
+ 
+ fi
+ done
+ 
+-echo "$as_me:24595: checking return type of signal handlers" >&5
++
++
++echo "$as_me:$LINENO: checking return type of signal handlers" >&5
+ echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
+ if test "${ac_cv_type_signal+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 24601 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #include <signal.h>
+@@ -24611,6 +29034,12 @@
+ void (*signal ()) ();
+ #endif
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -24620,16 +29049,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:24623: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:24626: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:24629: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:24632: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_type_signal=void
+ else
+@@ -24639,22 +29068,28 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:24642: result: $ac_cv_type_signal" >&5
++echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
+ echo "${ECHO_T}$ac_cv_type_signal" >&6
+ 
+-cat >>confdefs.h <<EOF
++cat >>confdefs.h <<_ACEOF
+ #define RETSIGTYPE $ac_cv_type_signal
+-EOF
++_ACEOF
++
+ 
+ if test "$ac_cv_type_signal" = "void" ; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define VOID_RETSIGTYPE 1
+-EOF
++_ACEOF
+ 
+ fi
+ 
+-echo "$as_me:24657: checking if realloc if broken" >&5
++
++
++
++
++
++echo "$as_me:$LINENO: checking if realloc if broken" >&5
+ echo $ECHO_N "checking if realloc if broken... $ECHO_C" >&6
+ if test "${ac_cv_func_realloc_broken+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -24665,7 +29100,7 @@
+   :
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 24668 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
+ #include <stddef.h>
+@@ -24678,47 +29113,61 @@
+ 
+ _ACEOF
+ rm -f conftest$ac_exeext
+-if { (eval echo "$as_me:24681: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:24684: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
+-  { (eval echo "$as_me:24686: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:24689: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   :
+ else
+   echo "$as_me: program exited with status $ac_status" >&5
+ echo "$as_me: failed program was:" >&5
+ cat conftest.$ac_ext >&5
++( exit $ac_status )
+ ac_cv_func_realloc_broken=yes
+ fi
+ rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
+ fi
+ 
+ fi
+-echo "$as_me:24702: result: $ac_cv_func_realloc_broken" >&5
++echo "$as_me:$LINENO: result: $ac_cv_func_realloc_broken" >&5
+ echo "${ECHO_T}$ac_cv_func_realloc_broken" >&6
+ if test "$ac_cv_func_realloc_broken" = yes ; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define BROKEN_REALLOC 1
+-EOF
++_ACEOF
+ 
+ fi
+ 
+-echo "$as_me:24712: checking for ut_addr in struct utmp" >&5
++
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for ut_addr in struct utmp" >&5
+ echo $ECHO_N "checking for ut_addr in struct utmp... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_utmp_ut_addr+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 24719 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <utmp.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -24728,16 +29177,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:24731: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:24734: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:24737: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:24740: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_type_struct_utmp_ut_addr=yes
+ else
+@@ -24747,26 +29196,37 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:24750: result: $ac_cv_type_struct_utmp_ut_addr" >&5
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_utmp_ut_addr" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_addr" >&6
+ if test "$ac_cv_type_struct_utmp_ut_addr" = yes; then
+ 
+-cat >>confdefs.h <<\EOF
++
++cat >>confdefs.h <<\_ACEOF
+ #define HAVE_STRUCT_UTMP_UT_ADDR 1
+-EOF
++_ACEOF
++
+ 
+ fi
+ 
+-echo "$as_me:24760: checking for ut_host in struct utmp" >&5
++
++
++
++echo "$as_me:$LINENO: checking for ut_host in struct utmp" >&5
+ echo $ECHO_N "checking for ut_host in struct utmp... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_utmp_ut_host+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 24767 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <utmp.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -24776,16 +29236,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:24779: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:24782: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:24785: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:24788: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_type_struct_utmp_ut_host=yes
+ else
+@@ -24795,26 +29255,37 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:24798: result: $ac_cv_type_struct_utmp_ut_host" >&5
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_utmp_ut_host" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_host" >&6
+ if test "$ac_cv_type_struct_utmp_ut_host" = yes; then
+ 
+-cat >>confdefs.h <<\EOF
++
++cat >>confdefs.h <<\_ACEOF
+ #define HAVE_STRUCT_UTMP_UT_HOST 1
+-EOF
++_ACEOF
++
+ 
+ fi
+ 
+-echo "$as_me:24808: checking for ut_id in struct utmp" >&5
++
++
++
++echo "$as_me:$LINENO: checking for ut_id in struct utmp" >&5
+ echo $ECHO_N "checking for ut_id in struct utmp... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_utmp_ut_id+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 24815 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <utmp.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -24824,16 +29295,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:24827: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:24830: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:24833: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:24836: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_type_struct_utmp_ut_id=yes
+ else
+@@ -24843,26 +29314,37 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:24846: result: $ac_cv_type_struct_utmp_ut_id" >&5
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_utmp_ut_id" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_id" >&6
+ if test "$ac_cv_type_struct_utmp_ut_id" = yes; then
+ 
+-cat >>confdefs.h <<\EOF
++
++cat >>confdefs.h <<\_ACEOF
+ #define HAVE_STRUCT_UTMP_UT_ID 1
+-EOF
++_ACEOF
++
+ 
+ fi
+ 
+-echo "$as_me:24856: checking for ut_pid in struct utmp" >&5
++
++
++
++echo "$as_me:$LINENO: checking for ut_pid in struct utmp" >&5
+ echo $ECHO_N "checking for ut_pid in struct utmp... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_utmp_ut_pid+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 24863 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <utmp.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -24872,16 +29354,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:24875: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:24878: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:24881: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:24884: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_type_struct_utmp_ut_pid=yes
+ else
+@@ -24891,26 +29373,37 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:24894: result: $ac_cv_type_struct_utmp_ut_pid" >&5
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_utmp_ut_pid" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_pid" >&6
+ if test "$ac_cv_type_struct_utmp_ut_pid" = yes; then
+ 
+-cat >>confdefs.h <<\EOF
++
++cat >>confdefs.h <<\_ACEOF
+ #define HAVE_STRUCT_UTMP_UT_PID 1
+-EOF
++_ACEOF
++
+ 
+ fi
+ 
+-echo "$as_me:24904: checking for ut_type in struct utmp" >&5
++
++
++
++echo "$as_me:$LINENO: checking for ut_type in struct utmp" >&5
+ echo $ECHO_N "checking for ut_type in struct utmp... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_utmp_ut_type+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 24911 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <utmp.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -24920,16 +29413,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:24923: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:24926: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:24929: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:24932: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_type_struct_utmp_ut_type=yes
+ else
+@@ -24939,26 +29432,37 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:24942: result: $ac_cv_type_struct_utmp_ut_type" >&5
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_utmp_ut_type" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_type" >&6
+ if test "$ac_cv_type_struct_utmp_ut_type" = yes; then
+ 
+-cat >>confdefs.h <<\EOF
++
++cat >>confdefs.h <<\_ACEOF
+ #define HAVE_STRUCT_UTMP_UT_TYPE 1
+-EOF
++_ACEOF
++
+ 
+ fi
+ 
+-echo "$as_me:24952: checking for ut_user in struct utmp" >&5
++
++
++
++echo "$as_me:$LINENO: checking for ut_user in struct utmp" >&5
+ echo $ECHO_N "checking for ut_user in struct utmp... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_utmp_ut_user+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 24959 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <utmp.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -24968,16 +29472,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:24971: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:24974: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:24977: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:24980: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_type_struct_utmp_ut_user=yes
+ else
+@@ -24987,26 +29491,37 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:24990: result: $ac_cv_type_struct_utmp_ut_user" >&5
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_utmp_ut_user" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_user" >&6
+ if test "$ac_cv_type_struct_utmp_ut_user" = yes; then
+ 
+-cat >>confdefs.h <<\EOF
++
++cat >>confdefs.h <<\_ACEOF
+ #define HAVE_STRUCT_UTMP_UT_USER 1
+-EOF
++_ACEOF
++
+ 
+ fi
+ 
+-echo "$as_me:25000: checking for ut_exit in struct utmpx" >&5
++
++
++
++echo "$as_me:$LINENO: checking for ut_exit in struct utmpx" >&5
+ echo $ECHO_N "checking for ut_exit in struct utmpx... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_utmpx_ut_exit+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 25007 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <utmpx.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -25016,16 +29531,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:25019: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:25022: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:25025: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:25028: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_type_struct_utmpx_ut_exit=yes
+ else
+@@ -25035,26 +29550,37 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:25038: result: $ac_cv_type_struct_utmpx_ut_exit" >&5
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_utmpx_ut_exit" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_utmpx_ut_exit" >&6
+ if test "$ac_cv_type_struct_utmpx_ut_exit" = yes; then
+ 
+-cat >>confdefs.h <<\EOF
++
++cat >>confdefs.h <<\_ACEOF
+ #define HAVE_STRUCT_UTMPX_UT_EXIT 1
+-EOF
++_ACEOF
++
+ 
+ fi
+ 
+-echo "$as_me:25048: checking for ut_syslen in struct utmpx" >&5
++
++
++
++echo "$as_me:$LINENO: checking for ut_syslen in struct utmpx" >&5
+ echo $ECHO_N "checking for ut_syslen in struct utmpx... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_utmpx_ut_syslen+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 25055 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <utmpx.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -25064,16 +29590,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:25067: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:25070: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:25073: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:25076: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_type_struct_utmpx_ut_syslen=yes
+ else
+@@ -25083,26 +29609,39 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:25086: result: $ac_cv_type_struct_utmpx_ut_syslen" >&5
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_utmpx_ut_syslen" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_utmpx_ut_syslen" >&6
+ if test "$ac_cv_type_struct_utmpx_ut_syslen" = yes; then
+ 
+-cat >>confdefs.h <<\EOF
++
++cat >>confdefs.h <<\_ACEOF
+ #define HAVE_STRUCT_UTMPX_UT_SYSLEN 1
+-EOF
++_ACEOF
++
+ 
+ fi
+ 
+-echo "$as_me:25096: checking for tm_gmtoff in struct tm" >&5
++
++
++
++
++
++echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
+ echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_tm_tm_gmtoff+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 25103 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <time.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -25112,16 +29651,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:25115: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:25118: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:25121: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:25124: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_type_struct_tm_tm_gmtoff=yes
+ else
+@@ -25131,26 +29670,37 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:25134: result: $ac_cv_type_struct_tm_tm_gmtoff" >&5
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_tm_tm_gmtoff" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_tm_tm_gmtoff" >&6
+ if test "$ac_cv_type_struct_tm_tm_gmtoff" = yes; then
+ 
+-cat >>confdefs.h <<\EOF
++
++cat >>confdefs.h <<\_ACEOF
+ #define HAVE_STRUCT_TM_TM_GMTOFF 1
+-EOF
++_ACEOF
++
+ 
+ fi
+ 
+-echo "$as_me:25144: checking for tm_zone in struct tm" >&5
++
++
++
++echo "$as_me:$LINENO: checking for tm_zone in struct tm" >&5
+ echo $ECHO_N "checking for tm_zone in struct tm... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_tm_tm_zone+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 25151 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <time.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -25160,16 +29710,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:25163: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:25166: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:25169: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:25172: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_type_struct_tm_tm_zone=yes
+ else
+@@ -25179,27 +29729,39 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:25182: result: $ac_cv_type_struct_tm_tm_zone" >&5
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_tm_tm_zone" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_tm_tm_zone" >&6
+ if test "$ac_cv_type_struct_tm_tm_zone" = yes; then
+ 
+-cat >>confdefs.h <<\EOF
++
++cat >>confdefs.h <<\_ACEOF
+ #define HAVE_STRUCT_TM_TM_ZONE 1
+-EOF
++_ACEOF
++
+ 
+ fi
+ 
+-echo "$as_me:25192: checking for timezone" >&5
++
++
++
++
++echo "$as_me:$LINENO: checking for timezone" >&5
+ echo $ECHO_N "checking for timezone... $ECHO_C" >&6
+ if test "${ac_cv_var_timezone+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 25199 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ extern int timezone;
+ int foo() { return timezone; }
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -25209,16 +29771,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:25212: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:25215: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:25218: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:25221: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_var_timezone=yes
+ else
+@@ -25231,25 +29793,32 @@
+ fi
+ 
+ ac_foo=`eval echo \\$ac_cv_var_timezone`
+-echo "$as_me:25234: result: $ac_foo" >&5
++echo "$as_me:$LINENO: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+ 
+-cat >>confdefs.h <<EOF
++cat >>confdefs.h <<_ACEOF
+ #define HAVE_TIMEZONE 1
+-EOF
++_ACEOF
++
+ 
+-echo "$as_me:25242: checking if timezone is properly declared" >&5
++echo "$as_me:$LINENO: checking if timezone is properly declared" >&5
+ echo $ECHO_N "checking if timezone is properly declared... $ECHO_C" >&6
+ if test "${ac_cv_var_timezone_declaration+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 25249 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <time.h>
+ extern struct { int foo; } timezone;
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -25259,16 +29828,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:25262: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:25265: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:25268: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:25271: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_var_timezone_declaration=no"
+ else
+@@ -25280,26 +29849,33 @@
+ 
+ fi
+ 
+-echo "$as_me:25283: result: $ac_cv_var_timezone_declaration" >&5
++
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var_timezone_declaration" >&5
+ echo "${ECHO_T}$ac_cv_var_timezone_declaration" >&6
+ if eval "test \"\$ac_cv_var_timezone_declaration\" = yes"; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define HAVE_TIMEZONE_DECLARATION 1
+-EOF
++_ACEOF
+ 
+ fi
+ 
++
+ fi
+ 
++
++
++
+ cv=`echo "sa_family_t" | sed 'y%./+- %__p__%'`
+-echo "$as_me:25296: checking for sa_family_t" >&5
++echo "$as_me:$LINENO: checking for sa_family_t" >&5
+ echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 25302 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -25307,6 +29883,12 @@
+ #include <stddef.h>
+ #endif
+ #include <sys/socket.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -25316,16 +29898,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:25319: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:25322: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:25325: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:25328: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_type_$cv=yes"
+ else
+@@ -25336,20 +29918,26 @@
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:25339: result: $ac_foo" >&5
++echo "$as_me:$LINENO: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo sa_family_t | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:25344: checking for sa_family_t" >&5
++	echo "$as_me:$LINENO: checking for sa_family_t" >&5
+ echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6
+ if test "${ac_cv_type_sa_family_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 25350 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ $ac_includes_default
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -25362,16 +29950,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:25365: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:25368: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:25371: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:25374: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_type_sa_family_t=yes
+ else
+@@ -25381,32 +29969,36 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:25384: result: $ac_cv_type_sa_family_t" >&5
++echo "$as_me:$LINENO: result: $ac_cv_type_sa_family_t" >&5
+ echo "${ECHO_T}$ac_cv_type_sa_family_t" >&6
+ if test $ac_cv_type_sa_family_t = yes; then
+ 
+-cat >>confdefs.h <<EOF
++cat >>confdefs.h <<_ACEOF
+ #define HAVE_SA_FAMILY_T 1
+-EOF
++_ACEOF
++
+ 
+ fi
+ 
+ fi
+ 
+-cat >>confdefs.h <<EOF
++cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_hdr 1
+-EOF
++_ACEOF
+ 
+ fi
+ 
++
++
++
+ cv=`echo "socklen_t" | sed 'y%./+- %__p__%'`
+-echo "$as_me:25403: checking for socklen_t" >&5
++echo "$as_me:$LINENO: checking for socklen_t" >&5
+ echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 25409 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -25414,6 +30006,12 @@
+ #include <stddef.h>
+ #endif
+ #include <sys/socket.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -25423,16 +30021,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:25426: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:25429: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:25432: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:25435: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_type_$cv=yes"
+ else
+@@ -25443,20 +30041,26 @@
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:25446: result: $ac_foo" >&5
++echo "$as_me:$LINENO: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo socklen_t | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:25451: checking for socklen_t" >&5
++	echo "$as_me:$LINENO: checking for socklen_t" >&5
+ echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
+ if test "${ac_cv_type_socklen_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 25457 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ $ac_includes_default
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -25469,16 +30073,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:25472: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:25475: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:25478: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:25481: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_type_socklen_t=yes
+ else
+@@ -25488,32 +30092,36 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:25491: result: $ac_cv_type_socklen_t" >&5
++echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
+ echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
+ if test $ac_cv_type_socklen_t = yes; then
+ 
+-cat >>confdefs.h <<EOF
++cat >>confdefs.h <<_ACEOF
+ #define HAVE_SOCKLEN_T 1
+-EOF
++_ACEOF
++
+ 
+ fi
+ 
+ fi
+ 
+-cat >>confdefs.h <<EOF
++cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_hdr 1
+-EOF
++_ACEOF
+ 
+ fi
+ 
++
++
++
+ cv=`echo "struct sockaddr" | sed 'y%./+- %__p__%'`
+-echo "$as_me:25510: checking for struct sockaddr" >&5
++echo "$as_me:$LINENO: checking for struct sockaddr" >&5
+ echo $ECHO_N "checking for struct sockaddr... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 25516 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -25521,6 +30129,12 @@
+ #include <stddef.h>
+ #endif
+ #include <sys/socket.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -25530,16 +30144,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:25533: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:25536: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:25539: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:25542: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_type_$cv=yes"
+ else
+@@ -25550,20 +30164,26 @@
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:25553: result: $ac_foo" >&5
++echo "$as_me:$LINENO: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo struct sockaddr | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:25558: checking for struct sockaddr" >&5
++	echo "$as_me:$LINENO: checking for struct sockaddr" >&5
+ echo $ECHO_N "checking for struct sockaddr... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_sockaddr+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 25564 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ $ac_includes_default
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -25576,16 +30196,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:25579: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:25582: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:25585: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:25588: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_type_struct_sockaddr=yes
+ else
+@@ -25595,32 +30215,36 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:25598: result: $ac_cv_type_struct_sockaddr" >&5
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_sockaddr" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_sockaddr" >&6
+ if test $ac_cv_type_struct_sockaddr = yes; then
+ 
+-cat >>confdefs.h <<EOF
++cat >>confdefs.h <<_ACEOF
+ #define HAVE_STRUCT_SOCKADDR 1
+-EOF
++_ACEOF
++
+ 
+ fi
+ 
+ fi
+ 
+-cat >>confdefs.h <<EOF
++cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_hdr 1
+-EOF
++_ACEOF
+ 
+ fi
+ 
++
++
++
+ cv=`echo "struct sockaddr_storage" | sed 'y%./+- %__p__%'`
+-echo "$as_me:25617: checking for struct sockaddr_storage" >&5
++echo "$as_me:$LINENO: checking for struct sockaddr_storage" >&5
+ echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 25623 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -25628,6 +30252,12 @@
+ #include <stddef.h>
+ #endif
+ #include <sys/socket.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -25637,16 +30267,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:25640: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:25643: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:25646: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:25649: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_type_$cv=yes"
+ else
+@@ -25657,20 +30287,26 @@
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:25660: result: $ac_foo" >&5
++echo "$as_me:$LINENO: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo struct sockaddr_storage | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:25665: checking for struct sockaddr_storage" >&5
++	echo "$as_me:$LINENO: checking for struct sockaddr_storage" >&5
+ echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_sockaddr_storage+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 25671 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ $ac_includes_default
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -25683,16 +30319,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:25686: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:25689: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:25692: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:25695: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_type_struct_sockaddr_storage=yes
+ else
+@@ -25702,32 +30338,36 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:25705: result: $ac_cv_type_struct_sockaddr_storage" >&5
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_sockaddr_storage" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_sockaddr_storage" >&6
+ if test $ac_cv_type_struct_sockaddr_storage = yes; then
+ 
+-cat >>confdefs.h <<EOF
++cat >>confdefs.h <<_ACEOF
+ #define HAVE_STRUCT_SOCKADDR_STORAGE 1
+-EOF
++_ACEOF
++
+ 
+ fi
+ 
+ fi
+ 
+-cat >>confdefs.h <<EOF
++cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_hdr 1
+-EOF
++_ACEOF
+ 
+ fi
+ 
++
++
++
+ cv=`echo "struct addrinfo" | sed 'y%./+- %__p__%'`
+-echo "$as_me:25724: checking for struct addrinfo" >&5
++echo "$as_me:$LINENO: checking for struct addrinfo" >&5
+ echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 25730 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -25735,6 +30375,12 @@
+ #include <stddef.h>
+ #endif
+ #include <netdb.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -25744,16 +30390,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:25747: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:25750: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:25753: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:25756: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_type_$cv=yes"
+ else
+@@ -25764,20 +30410,26 @@
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:25767: result: $ac_foo" >&5
++echo "$as_me:$LINENO: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo struct addrinfo | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:25772: checking for struct addrinfo" >&5
++	echo "$as_me:$LINENO: checking for struct addrinfo" >&5
+ echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_addrinfo+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 25778 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ $ac_includes_default
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -25790,16 +30442,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:25793: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:25796: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:25799: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:25802: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_type_struct_addrinfo=yes
+ else
+@@ -25809,25 +30461,29 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:25812: result: $ac_cv_type_struct_addrinfo" >&5
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_addrinfo" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_addrinfo" >&6
+ if test $ac_cv_type_struct_addrinfo = yes; then
+ 
+-cat >>confdefs.h <<EOF
++cat >>confdefs.h <<_ACEOF
+ #define HAVE_STRUCT_ADDRINFO 1
+-EOF
++_ACEOF
++
+ 
+ fi
+ 
+ fi
+ 
+-cat >>confdefs.h <<EOF
++cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_hdr 1
+-EOF
++_ACEOF
+ 
+ fi
+ 
+-echo "$as_me:25830: checking for struct winsize" >&5
++
++
++
++echo "$as_me:$LINENO: checking for struct winsize" >&5
+ echo $ECHO_N "checking for struct winsize... $ECHO_C" >&6
+ if test "${ac_cv_struct_winsize+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -25836,7 +30492,7 @@
+ ac_cv_struct_winsize=no
+ for i in sys/termios.h sys/ioctl.h; do
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 25839 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <$i>
+ 
+@@ -25852,15 +30508,15 @@
+ 
+ if test "$ac_cv_struct_winsize" = "yes"; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define HAVE_STRUCT_WINSIZE 1
+-EOF
++_ACEOF
+ 
+ fi
+-echo "$as_me:25860: result: $ac_cv_struct_winsize" >&5
++echo "$as_me:$LINENO: result: $ac_cv_struct_winsize" >&5
+ echo "${ECHO_T}$ac_cv_struct_winsize" >&6
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 25863 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <termios.h>
+ 
+@@ -25868,15 +30524,15 @@
+ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+   egrep "ws_xpixel" >/dev/null 2>&1; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define HAVE_WS_XPIXEL 1
+-EOF
++_ACEOF
+ 
+ fi
+ rm -f conftest*
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 25879 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <termios.h>
+ 
+@@ -25884,26 +30540,36 @@
+ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+   egrep "ws_ypixel" >/dev/null 2>&1; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define HAVE_WS_YPIXEL 1
+-EOF
++_ACEOF
+ 
+ fi
+ rm -f conftest*
+ 
+-echo "$as_me:25894: checking for struct spwd" >&5
++
++
++
++
++echo "$as_me:$LINENO: checking for struct spwd" >&5
+ echo $ECHO_N "checking for struct spwd... $ECHO_C" >&6
+ if test "${ac_cv_struct_spwd+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 25901 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <pwd.h>
+ #ifdef HAVE_SHADOW_H
+ #include <shadow.h>
+ #endif
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -25913,16 +30579,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:25916: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:25919: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:25922: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:25925: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_struct_spwd=yes
+ else
+@@ -25934,28 +30600,38 @@
+ 
+ fi
+ 
+-echo "$as_me:25937: result: $ac_cv_struct_spwd" >&5
++echo "$as_me:$LINENO: result: $ac_cv_struct_spwd" >&5
+ echo "${ECHO_T}$ac_cv_struct_spwd" >&6
+ 
+ if test "$ac_cv_struct_spwd" = "yes"; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define HAVE_STRUCT_SPWD 1
+-EOF
++_ACEOF
+ 
+ fi
+ 
+-echo "$as_me:25948: checking for sa_len in struct sockaddr" >&5
++
++
++
++
++echo "$as_me:$LINENO: checking for sa_len in struct sockaddr" >&5
+ echo $ECHO_N "checking for sa_len in struct sockaddr... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_sockaddr_sa_len+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 25955 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #include <sys/socket.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -25965,16 +30641,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:25968: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:25971: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:25974: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:25977: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_type_struct_sockaddr_sa_len=yes
+ else
+@@ -25984,27 +30660,33 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:25987: result: $ac_cv_type_struct_sockaddr_sa_len" >&5
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_sockaddr_sa_len" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_sockaddr_sa_len" >&6
+ if test "$ac_cv_type_struct_sockaddr_sa_len" = yes; then
+ 
+-cat >>confdefs.h <<\EOF
++
++cat >>confdefs.h <<\_ACEOF
+ #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
+-EOF
++_ACEOF
++
+ 
+ fi
+ 
++
++
++
++
+ for i in int8_t int16_t int32_t int64_t \
+ 	u_int8_t u_int16_t u_int32_t u_int64_t \
+ 	uint8_t uint16_t uint32_t uint64_t; do
+-	echo "$as_me:26000: checking for $i" >&5
++	echo "$as_me:$LINENO: checking for $i" >&5
+ echo $ECHO_N "checking for $i... $ECHO_C" >&6
+ 
+ if eval "test \"\${ac_cv_type_$i+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 26007 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_INTTYPES_H
+@@ -26023,6 +30705,12 @@
+ #include <netinet/in6_machtypes.h>
+ #endif
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -26033,16 +30721,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:26036: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:26039: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:26042: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:26045: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval ac_cv_type_$i=yes
+ else
+@@ -26056,28 +30744,32 @@
+ 	eval ac_res=\$ac_cv_type_$i
+ 	if test "$ac_res" = yes; then
+ 		type=HAVE_`echo $i | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`
+-		cat >>confdefs.h <<EOF
++		cat >>confdefs.h <<_ACEOF
+ #define $type 1
+-EOF
++_ACEOF
+ 
+ 	fi
+-	echo "$as_me:26064: result: $ac_res" >&5
++	echo "$as_me:$LINENO: result: $ac_res" >&5
+ echo "${ECHO_T}$ac_res" >&6
+ done
+ 
++
++
+ crypto_lib=unknown
+ 
++
+ # Check whether --with-openssl or --without-openssl was given.
+ if test "${with_openssl+set}" = set; then
+   withval="$with_openssl"
+ 
+ fi;
+ 
++
+ # Check whether --with-openssl-lib or --without-openssl-lib was given.
+ if test "${with_openssl_lib+set}" = set; then
+   withval="$with_openssl_lib"
+   if test "$withval" = "yes" -o "$withval" = "no"; then
+-  { { echo "$as_me:26080: error: No argument for --with-openssl-lib" >&5
++  { { echo "$as_me:$LINENO: error: No argument for --with-openssl-lib" >&5
+ echo "$as_me: error: No argument for --with-openssl-lib" >&2;}
+    { (exit 1); exit 1; }; }
+ elif test "X$with_openssl" = "X"; then
+@@ -26085,11 +30777,12 @@
+ fi
+ fi;
+ 
++
+ # Check whether --with-openssl-include or --without-openssl-include was given.
+ if test "${with_openssl_include+set}" = set; then
+   withval="$with_openssl_include"
+   if test "$withval" = "yes" -o "$withval" = "no"; then
+-  { { echo "$as_me:26092: error: No argument for --with-openssl-include" >&5
++  { { echo "$as_me:$LINENO: error: No argument for --with-openssl-include" >&5
+ echo "$as_me: error: No argument for --with-openssl-include" >&2;}
+    { (exit 1); exit 1; }; }
+ elif test "X$with_openssl" = "X"; then
+@@ -26110,9 +30803,10 @@
+ 	;;
+ esac
+ 
++
+ DIR_des=
+ 
+-echo "$as_me:26115: checking for crypto library" >&5
++echo "$as_me:$LINENO: checking for crypto library" >&5
+ echo $ECHO_N "checking for crypto library... $ECHO_C" >&6
+ 
+ if test "$crypto_lib" = "unknown" -a "$with_openssl" != "no"; then
+@@ -26134,7 +30828,7 @@
+   LIB_des_appl="$LIB_des"
+   LIBS="${LIBS} ${LIB_des}"
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 26137 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
+   #include <openssl/md4.h>
+@@ -26143,6 +30837,12 @@
+   #include <openssl/des.h>
+   #include <openssl/rc4.h>
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -26163,25 +30863,25 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:26166: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:26169: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:26172: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:26175: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+ 
+   crypto_lib=libcrypto
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define HAVE_OPENSSL 1
+-EOF
++_ACEOF
+ 
+-  echo "$as_me:26184: result: libcrypto" >&5
++  echo "$as_me:$LINENO: result: libcrypto" >&5
+ echo "${ECHO_T}libcrypto" >&6
+ else
+   echo "$as_me: failed program was:" >&5
+@@ -26209,7 +30909,7 @@
+   LIB_des_appl="$LIB_des"
+   LIBS="${LIBS} ${LIB_des}"
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 26212 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
+   #undef KRB5 /* makes md4.h et al unhappy */
+@@ -26220,6 +30920,12 @@
+   #include <des.h>
+   #include <rc4.h>
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -26240,18 +30946,18 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:26243: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:26246: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:26249: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:26252: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  crypto_lib=krb4; echo "$as_me:26254: result: krb4's libdes" >&5
++  crypto_lib=krb4; echo "$as_me:$LINENO: result: krb4's libdes" >&5
+ echo "${ECHO_T}krb4's libdes" >&6
+ else
+   echo "$as_me: failed program was:" >&5
+@@ -26270,12 +30976,24 @@
+   LIB_des_so='$(top_builddir)/lib/des/.libs/libdes.so'
+   LIB_des_appl="-ldes"
+ 
+-  echo "$as_me:26273: result: included libdes" >&5
++  echo "$as_me:$LINENO: result: included libdes" >&5
+ echo "${ECHO_T}included libdes" >&6
+ 
+-fi
++fi
++
++
++
++
++
++
++
++
++
++
++
++
+ 
+-echo "$as_me:26278: checking for el_init" >&5
++echo "$as_me:$LINENO: checking for el_init" >&5
+ echo $ECHO_N "checking for el_init... $ECHO_C" >&6
+ if test "${ac_cv_funclib_el_init+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -26293,9 +31011,15 @@
+ 		esac
+ 		LIBS=" $ac_lib $LIB_tgetent $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 26296 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -26305,16 +31029,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:26308: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:26311: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:26314: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:26317: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_el_init=$ac_lib; else ac_cv_funclib_el_init=yes; fi";break
+ else
+@@ -26329,6 +31053,7 @@
+ 
+ fi
+ 
++
+ eval "ac_res=\$ac_cv_funclib_el_init"
+ 
+ if false; then
+@@ -26336,13 +31061,13 @@
+ for ac_func in el_init
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:26339: checking for $ac_func" >&5
++echo "$as_me:$LINENO: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 26345 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -26356,6 +31081,12 @@
+ char $ac_func ();
+ char (*f) ();
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -26373,16 +31104,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:26376: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:26379: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:26382: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:26385: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -26392,12 +31123,12 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:26395: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+-  cat >>confdefs.h <<EOF
++  cat >>confdefs.h <<_ACEOF
+ #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+-EOF
++_ACEOF
+ 
+ fi
+ done
+@@ -26412,47 +31143,54 @@
+ 	yes)
+ 	eval "ac_cv_func_el_init=yes"
+ 	eval "LIB_el_init="
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:26419: result: yes" >&5
++	echo "$as_me:$LINENO: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_el_init=no"
+ 	eval "LIB_el_init="
+-	echo "$as_me:26425: result: no" >&5
++	echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+ 	eval "ac_cv_func_el_init=yes"
+ 	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+-EOF
++_ACEOF
+ 
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_lib 1
+-EOF
++_ACEOF
+ 
+-	echo "$as_me:26439: result: yes, in $ac_res" >&5
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
++
+ if test "$ac_cv_func_el_init" = yes ; then
+-	echo "$as_me:26445: checking for four argument el_init" >&5
++	echo "$as_me:$LINENO: checking for four argument el_init" >&5
+ echo $ECHO_N "checking for four argument el_init... $ECHO_C" >&6
+ if test "${ac_cv_func_el_init_four+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 26452 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
+ 			#include <histedit.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -26462,16 +31200,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:26465: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:26468: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:26471: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:26474: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_func_el_init_four=yes
+ else
+@@ -26481,17 +31219,18 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:26484: result: $ac_cv_func_el_init_four" >&5
++echo "$as_me:$LINENO: result: $ac_cv_func_el_init_four" >&5
+ echo "${ECHO_T}$ac_cv_func_el_init_four" >&6
+ 	if test "$ac_cv_func_el_init_four" = yes; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define HAVE_FOUR_VALUED_EL_INIT 1
+-EOF
++_ACEOF
+ 
+ 	fi
+ fi
+ 
++
+ ac_foo=no
+ if test "$with_readline" = yes; then
+ 	:
+@@ -26499,11 +31238,14 @@
+ 	:
+ elif test "$ac_cv_func_el_init" = yes; then
+ 	ac_foo=yes
++	DIR_readline="editline"
+ 	LIB_readline="\$(top_builddir)/lib/editline/libel_compat.la $LIB_el_init"
+ else
++	DIR_readline="editline"
+ 	LIB_readline='$(top_builddir)/lib/editline/libeditline.la'
+ fi
+ 
++
+ if test "$ac_foo" = yes; then
+   el_compat_TRUE=
+   el_compat_FALSE='#'
+@@ -26511,39 +31253,40 @@
+   el_compat_TRUE='#'
+   el_compat_FALSE=
+ fi
+-if test "$readline_libdir"; then
+-	LIB_readline="-rpath $readline_libdir $LIB_readline"
+-fi
+ LIB_readline="$LIB_readline \$(LIB_tgetent)"
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define HAVE_READLINE 1
+-EOF
++_ACEOF
+ 
+-cat >>confdefs.h <<\EOF
++
++
++
++
++cat >>confdefs.h <<\_ACEOF
+ #define AUTHENTICATION 1
+-EOF
++_ACEOF
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define ENCRYPTION 1
+-EOF
++_ACEOF
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define DES_ENCRYPTION 1
+-EOF
++_ACEOF
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define DIAGNOSTICS 1
+-EOF
++_ACEOF
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define OLD_ENVIRON 1
+-EOF
++_ACEOF
+ if false; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define ENV_HACK 1
+-EOF
++_ACEOF
+ 
+ fi
+ 
+@@ -26552,13 +31295,13 @@
+ #
+ # And also something wierd has happend with dec-osf1, fallback to bsd-ptys
+ 
+-echo "$as_me:26555: checking for getmsg" >&5
++echo "$as_me:$LINENO: checking for getmsg" >&5
+ echo $ECHO_N "checking for getmsg... $ECHO_C" >&6
+ if test "${ac_cv_func_getmsg+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 26561 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char getmsg (); below.  */
+@@ -26572,6 +31315,12 @@
+ char getmsg ();
+ char (*f) ();
+ 
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -26589,16 +31338,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:26592: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:26595: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:26598: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:26601: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_func_getmsg=yes
+ else
+@@ -26608,12 +31357,13 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:26611: result: $ac_cv_func_getmsg" >&5
++echo "$as_me:$LINENO: result: $ac_cv_func_getmsg" >&5
+ echo "${ECHO_T}$ac_cv_func_getmsg" >&6
+ 
++
+ if test "$ac_cv_func_getmsg" = "yes"; then
+ 
+-echo "$as_me:26616: checking for working getmsg" >&5
++echo "$as_me:$LINENO: checking for working getmsg" >&5
+ echo $ECHO_N "checking for working getmsg... $ECHO_C" >&6
+ if test "${ac_cv_func_getmsg_work+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -26622,7 +31372,7 @@
+   ac_cv_func_getmsg_work=no
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 26625 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -26639,38 +31389,40 @@
+ 
+ _ACEOF
+ rm -f conftest$ac_exeext
+-if { (eval echo "$as_me:26642: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:26645: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
+-  { (eval echo "$as_me:26647: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:26650: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_func_getmsg_work=yes
+ else
+   echo "$as_me: program exited with status $ac_status" >&5
+ echo "$as_me: failed program was:" >&5
+ cat conftest.$ac_ext >&5
++( exit $ac_status )
+ ac_cv_func_getmsg_work=no
+ fi
+ rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
+ fi
+ fi
+-echo "$as_me:26662: result: $ac_cv_func_getmsg_work" >&5
++echo "$as_me:$LINENO: result: $ac_cv_func_getmsg_work" >&5
+ echo "${ECHO_T}$ac_cv_func_getmsg_work" >&6
+ test "$ac_cv_func_getmsg_work" = "yes" &&
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define HAVE_GETMSG 1
+-EOF
++_ACEOF
++
+ 
+ fi
+ 
+ if test "$ac_cv_func_getmsg_work" = yes; then
+-echo "$as_me:26673: checking for streamspty" >&5
++echo "$as_me:$LINENO: checking for streamspty" >&5
+ echo $ECHO_N "checking for streamspty... $ECHO_C" >&6
+ case "$host" in
+ *-*-aix3*|*-*-sunos4*|*-*-osf*|*-*-hpux1[01]*)
+@@ -26680,20 +31432,22 @@
+ 	krb_cv_sys_streamspty=yes
+ 	;;
+ esac
+-echo "$as_me:26683: result: $krb_cv_sys_streamspty" >&5
++echo "$as_me:$LINENO: result: $krb_cv_sys_streamspty" >&5
+ echo "${ECHO_T}$krb_cv_sys_streamspty" >&6
+ fi
+ if test "$krb_cv_sys_streamspty" = yes; then
+ 
+-cat >>confdefs.h <<\EOF
++cat >>confdefs.h <<\_ACEOF
+ #define STREAMSPTY 1
+-EOF
++_ACEOF
+ 
+ fi
+ 
++
++
+ # Extract the first word of "compile_et", so it can be a program name with args.
+ set dummy compile_et; ac_word=$2
+-echo "$as_me:26696: checking for $ac_word" >&5
++echo "$as_me:$LINENO: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_COMPILE_ET+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -26701,32 +31455,36 @@
+   if test -n "$COMPILE_ET"; then
+   ac_cv_prog_COMPILE_ET="$COMPILE_ET" # Let the user override the test.
+ else
+-  ac_save_IFS=$IFS; IFS=$ac_path_separator
+-ac_dummy="$PATH"
+-for ac_dir in $ac_dummy; do
+-  IFS=$ac_save_IFS
+-  test -z "$ac_dir" && ac_dir=.
+-  $as_executable_p "$ac_dir/$ac_word" || continue
+-ac_cv_prog_COMPILE_ET="compile_et"
+-echo "$as_me:26711: found $ac_dir/$ac_word" >&5
+-break
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_COMPILE_ET="compile_et"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
+ done
+ 
+ fi
+ fi
+ COMPILE_ET=$ac_cv_prog_COMPILE_ET
+ if test -n "$COMPILE_ET"; then
+-  echo "$as_me:26719: result: $COMPILE_ET" >&5
++  echo "$as_me:$LINENO: result: $COMPILE_ET" >&5
+ echo "${ECHO_T}$COMPILE_ET" >&6
+ else
+-  echo "$as_me:26722: result: no" >&5
++  echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
++
+ krb_cv_compile_et="no"
+ if test "${COMPILE_ET}" = "compile_et"; then
+ 
+-echo "$as_me:26729: checking whether compile_et has the features we need" >&5
++echo "$as_me:$LINENO: checking whether compile_et has the features we need" >&5
+ echo $ECHO_N "checking whether compile_et has the features we need... $ECHO_C" >&6
+ cat > conftest_et.et <<'EOF'
+ error_table conf
+@@ -26743,12 +31501,12 @@
+     CPPFLAGS="-I/usr/include/et ${CPPFLAGS}"
+   fi
+     if test "$cross_compiling" = yes; then
+-  { { echo "$as_me:26746: error: cannot run test program while cross compiling" >&5
++  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
+ echo "$as_me: error: cannot run test program while cross compiling" >&2;}
+    { (exit 1); exit 1; }; }
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 26751 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ 
+ #include <com_err.h>
+@@ -26758,27 +31516,28 @@
+ 
+ _ACEOF
+ rm -f conftest$ac_exeext
+-if { (eval echo "$as_me:26761: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:26764: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
+-  { (eval echo "$as_me:26766: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:26769: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   krb_cv_compile_et="yes"
+ else
+   echo "$as_me: program exited with status $ac_status" >&5
+ echo "$as_me: failed program was:" >&5
+ cat conftest.$ac_ext >&5
++( exit $ac_status )
+ CPPFLAGS="${save_CPPFLAGS}"
+ fi
+ rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
+ fi
+ fi
+-echo "$as_me:26781: result: ${krb_cv_compile_et}" >&5
++echo "$as_me:$LINENO: result: ${krb_cv_compile_et}" >&5
+ echo "${ECHO_T}${krb_cv_compile_et}" >&6
+ rm -fr conftest*
+ fi
+@@ -26786,12 +31545,18 @@
+ if test "${krb_cv_compile_et}" = "yes"; then
+     krb_cv_save_LIBS="${LIBS}"
+   LIBS="${LIBS} -lcom_err"
+-  echo "$as_me:26789: checking for com_err" >&5
++  echo "$as_me:$LINENO: checking for com_err" >&5
+ echo $ECHO_N "checking for com_err... $ECHO_C" >&6
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 26792 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+ #include <com_err.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
+ int
+ main ()
+ {
+@@ -26804,16 +31569,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:26807: \"$ac_link\"") >&5
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:26810: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:26813: \"$ac_try\"") >&5
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:26816: \$? = $ac_status" >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   krb_cv_com_err="yes"
+ else
+@@ -26822,7 +31587,7 @@
+ krb_cv_com_err="no"; CPPFLAGS="${save_CPPFLAGS}"
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+-  echo "$as_me:26825: result: ${krb_cv_com_err}" >&5
++  echo "$as_me:$LINENO: result: ${krb_cv_com_err}" >&5
+ echo "${ECHO_T}${krb_cv_com_err}" >&6
+   LIBS="${krb_cv_save_LIBS}"
+ else
+@@ -26834,7 +31599,7 @@
+     LIB_com_err="-lcom_err"
+     LIB_com_err_a=""
+     LIB_com_err_so=""
+-    { echo "$as_me:26837: Using the already-installed com_err" >&5
++    { echo "$as_me:$LINENO: Using the already-installed com_err" >&5
+ echo "$as_me: Using the already-installed com_err" >&6;}
+ else
+     COMPILE_ET="\$(top_builddir)/lib/com_err/compile_et"
+@@ -26842,11 +31607,18 @@
+     LIB_com_err="\$(top_builddir)/lib/com_err/libcom_err.la"
+     LIB_com_err_a="\$(top_builddir)/lib/com_err/.libs/libcom_err.a"
+     LIB_com_err_so="\$(top_builddir)/lib/com_err/.libs/libcom_err.so"
+-    { echo "$as_me:26845: Using our own com_err" >&5
++    { echo "$as_me:$LINENO: Using our own com_err" >&5
+ echo "$as_me: Using our own com_err" >&6;}
+ fi
+ 
+-echo "$as_me:26849: checking which authentication modules should be built" >&5
++
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking which authentication modules should be built" >&5
+ echo $ECHO_N "checking which authentication modules should be built... $ECHO_C" >&6
+ 
+ LIB_AUTH_SUBDIRS=
+@@ -26863,9 +31635,12 @@
+ *-*-irix[56]*) LIB_AUTH_SUBDIRS="$LIB_AUTH_SUBDIRS afskauthlib" ;;
+ esac
+ 
+-echo "$as_me:26866: result: $LIB_AUTH_SUBDIRS" >&5
++echo "$as_me:$LINENO: result: $LIB_AUTH_SUBDIRS" >&5
+ echo "${ECHO_T}$LIB_AUTH_SUBDIRS" >&6
+ 
++
++
++
+ test "x$prefix" = xNONE && prefix=$ac_default_prefix
+ test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
+ 
+@@ -26878,16 +31653,19 @@
+ 		x="$y"
+ 		eval y="$x"
+ 	done
+-	cat >>confdefs.h <<EOF
++	cat >>confdefs.h <<_ACEOF
+ #define $foo "$x"
+-EOF
++_ACEOF
+ 
+ done
+ 
++
++
+ LTLIBOBJS=`echo "$LIBOBJS" | sed 's/\.o/\.lo/g'`
+ 
+ ac_config_files="$ac_config_files Makefile include/Makefile include/kadm5/Makefile lib/Makefile lib/45/Makefile lib/auth/Makefile lib/auth/afskauthlib/Makefile lib/auth/pam/Makefile lib/auth/sia/Makefile lib/asn1/Makefile lib/com_err/Makefile lib/des/Makefile lib/editline/Makefile lib/gssapi/Makefile lib/hdb/Makefile lib/kadm5/Makefile lib/kafs/Makefile lib/kdfs/Makefile lib/krb5/Makefile lib/otp/Makefile lib/roken/Makefile lib/sl/Makefile lib/vers/Makefile kuser/Makefile kpasswd/Makefile kadmin/Makefile admin/Makefile kdc/Makefile appl/Makefile appl/afsutil/Makefile appl/ftp/Makefile appl/ftp/common/Makefile appl/ftp/ftp/Makefile appl/ftp/ftpd/Makefile appl/kx/Makefile appl/login/Makefile appl/otp/Makefile appl/popper/Makefile appl/push/Makefile appl/rsh/Makefile appl/rcp/Makefile appl/su/Makefile appl/xnlock/Makefile appl/telnet/Makefile appl/telnet/libtelnet/Makefile appl/telnet/telnet/Makefile appl/telnet/telnetd/Makefile appl/test/Makefile appl/kf/Makefile appl/dceutils/Makefile doc/Makefile tools/Makefile"
+ 
++
+ cat >confcache <<\_ACEOF
+ # This file is a shell script that caches the results of configure
+ # tests run on this system so they can be shared between configure
+@@ -26964,25 +31742,29 @@
+ 
+ DEFS=-DHAVE_CONFIG_H
+ 
++
+ : ${CONFIG_STATUS=./config.status}
+ ac_clean_files_save=$ac_clean_files
+ ac_clean_files="$ac_clean_files $CONFIG_STATUS"
+-{ echo "$as_me:26970: creating $CONFIG_STATUS" >&5
++{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
+ echo "$as_me: creating $CONFIG_STATUS" >&6;}
+ cat >$CONFIG_STATUS <<_ACEOF
+ #! $SHELL
+-# Generated automatically by configure.
++# Generated by $as_me.
+ # Run this file to recreate the current configuration.
+ # Compiler output produced by configure, useful for debugging
+ # configure, is in config.log if it exists.
+ 
+ debug=false
+ SHELL=\${CONFIG_SHELL-$SHELL}
+-ac_cs_invocation="\$0 \$@"
+-
+ _ACEOF
+ 
+ cat >>$CONFIG_STATUS <<\_ACEOF
++
++## --------------------- ##
++## M4sh Initialization.  ##
++## --------------------- ##
++
+ # Be Bourne compatible
+ if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
+   emulate sh
+@@ -26991,8 +31773,167 @@
+   set -o posix
+ fi
+ 
++# NLS nuisances.
++# Support unset when possible.
++if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
++  as_unset=unset
++else
++  as_unset=false
++fi
++
++(set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
++    { $as_unset LANG || test "${LANG+set}" != set; } ||
++      { LANG=C; export LANG; }
++(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
++    { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
++      { LC_ALL=C; export LC_ALL; }
++(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
++    { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
++      { LC_TIME=C; export LC_TIME; }
++(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
++    { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
++      { LC_CTYPE=C; export LC_CTYPE; }
++(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
++    { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
++      { LANGUAGE=C; export LANGUAGE; }
++(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
++    { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
++      { LC_COLLATE=C; export LC_COLLATE; }
++(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
++    { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
++      { LC_NUMERIC=C; export LC_NUMERIC; }
++(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
++    { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
++      { LC_MESSAGES=C; export LC_MESSAGES; }
++
++
+ # Name of the executable.
+-as_me=`echo "$0" |sed 's,.*[\\/],,'`
++as_me=`(basename "$0") 2>/dev/null ||
++$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
++	 X"$0" : 'X\(//\)$' \| \
++	 X"$0" : 'X\(/\)$' \| \
++	 .     : '\(.\)' 2>/dev/null ||
++echo X/"$0" |
++    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
++  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
++  	  /^X\/\(\/\).*/{ s//\1/; q; }
++  	  s/.*/./; q'`
++
++# PATH needs CR, and LINENO needs CR and PATH.
++# Avoid depending upon Character Ranges.
++as_cr_letters='abcdefghijklmnopqrstuvwxyz'
++as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
++as_cr_Letters=$as_cr_letters$as_cr_LETTERS
++as_cr_digits='0123456789'
++as_cr_alnum=$as_cr_Letters$as_cr_digits
++
++# The user is always right.
++if test "${PATH_SEPARATOR+set}" != set; then
++  echo "#! /bin/sh" >conftest.sh
++  echo  "exit 0"   >>conftest.sh
++  chmod +x conftest.sh
++  if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
++    PATH_SEPARATOR=';'
++  else
++    PATH_SEPARATOR=:
++  fi
++  rm -f conftest.sh
++fi
++
++
++  as_lineno_1=$LINENO
++  as_lineno_2=$LINENO
++  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
++  test "x$as_lineno_1" != "x$as_lineno_2" &&
++  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
++  # Find who we are.  Look in the path if we contain no path at all
++  # relative or not.
++  case $0 in
++    *[\\/]* ) as_myself=$0 ;;
++    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
++done
++
++       ;;
++  esac
++  # We did not find ourselves, most probably we were run as `sh COMMAND'
++  # in which case we are not to be found in the path.
++  if test "x$as_myself" = x; then
++    as_myself=$0
++  fi
++  if test ! -f "$as_myself"; then
++    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
++echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
++   { (exit 1); exit 1; }; }
++  fi
++  case $CONFIG_SHELL in
++  '')
++    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for as_base in sh bash ksh sh5; do
++	 case $as_dir in
++	 /*)
++	   if ("$as_dir/$as_base" -c '
++  as_lineno_1=$LINENO
++  as_lineno_2=$LINENO
++  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
++  test "x$as_lineno_1" != "x$as_lineno_2" &&
++  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
++	     CONFIG_SHELL=$as_dir/$as_base
++	     export CONFIG_SHELL
++	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
++	   fi;;
++	 esac
++       done
++done
++;;
++  esac
++
++  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
++  # uniformly replaced by the line number.  The first 'sed' inserts a
++  # line-number line before each line; the second 'sed' does the real
++  # work.  The second script uses 'N' to pair each line-number line
++  # with the numbered line, and appends trailing '-' during
++  # substitution so that $LINENO is not a special case at line end.
++  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
++  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
++  sed '=' <$as_myself |
++    sed '
++      N
++      s,$,-,
++      : loop
++      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
++      t loop
++      s,-$,,
++      s,^['$as_cr_digits']*\n,,
++    ' >$as_me.lineno &&
++  chmod +x $as_me.lineno ||
++    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
++echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
++   { (exit 1); exit 1; }; }
++
++  # Don't try to exec as it changes $[0], causing all sort of problems
++  # (the dirname of $[0] is not the place where we might find the
++  # original and so on.  Autoconf is especially sensible to this).
++  . ./$as_me.lineno
++  # Exit status is that of the last command.
++  exit
++}
++
++
++case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
++  *c*,-n*) ECHO_N= ECHO_C='
++' ECHO_T='	' ;;
++  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
++  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
++esac
+ 
+ if expr a : '\(a\)' >/dev/null 2>&1; then
+   as_expr=expr
+@@ -27020,22 +31961,12 @@
+ 
+ as_executable_p="test -f"
+ 
+-# Support unset when possible.
+-if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
+-  as_unset=unset
+-else
+-  as_unset=false
+-fi
++# Sed expression to map a string onto a valid CPP name.
++as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
++
++# Sed expression to map a string onto a valid variable name.
++as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
+ 
+-# NLS nuisances.
+-$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
+-$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
+-$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
+-$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
+-$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
+-$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
+-$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
+-$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
+ 
+ # IFS
+ # We need space, tab and new line, in precisely that order.
+@@ -27044,10 +31975,34 @@
+ IFS=" 	$as_nl"
+ 
+ # CDPATH.
+-$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
++$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
+ 
+ exec 6>&1
+ 
++# Open the log real soon, to keep \$[0] and so on meaningful, and to
++# report actual input values of CONFIG_FILES etc. instead of their
++# values after options handling.  Logging --version etc. is OK.
++exec 5>>config.log
++{
++  echo
++  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
++## Running $as_me. ##
++_ASBOX
++} >&5
++cat >&5 <<_CSEOF
++
++This file was extended by heimdal $as_me 0.4e, which was
++generated by GNU Autoconf 2.53.  Invocation command line was
++
++  CONFIG_FILES    = $CONFIG_FILES
++  CONFIG_HEADERS  = $CONFIG_HEADERS
++  CONFIG_LINKS    = $CONFIG_LINKS
++  CONFIG_COMMANDS = $CONFIG_COMMANDS
++  $ $0 $@
++
++_CSEOF
++echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
++echo >&5
+ _ACEOF
+ 
+ # Files that config.status was made for.
+@@ -27067,7 +32022,7 @@
+   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
+ fi
+ 
+-cat >>$CONFIG_STATUS <<\EOF
++cat >>$CONFIG_STATUS <<\_ACEOF
+ 
+ ac_cs_usage="\
+ \`$as_me' instantiates files from templates according to the
+@@ -27094,12 +32049,12 @@
+ $config_commands
+ 
+ Report bugs to <bug-autoconf@gnu.org>."
+-EOF
++_ACEOF
+ 
+-cat >>$CONFIG_STATUS <<EOF
++cat >>$CONFIG_STATUS <<_ACEOF
+ ac_cs_version="\\
+ heimdal config.status 0.4e
+-configured by $0, generated by GNU Autoconf 2.52,
++configured by $0, generated by GNU Autoconf 2.53,
+   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
+ 
+ Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
+@@ -27108,9 +32063,9 @@
+ gives unlimited permission to copy, distribute and modify it."
+ srcdir=$srcdir
+ INSTALL="$INSTALL"
+-EOF
++_ACEOF
+ 
+-cat >>$CONFIG_STATUS <<\EOF
++cat >>$CONFIG_STATUS <<\_ACEOF
+ # If no file are specified by the user, then we need to provide default
+ # value.  By we need to know if files were specified by the user.
+ ac_need_defaults=:
+@@ -27132,18 +32087,18 @@
+ 
+   case $1 in
+   # Handling of the options.
+-EOF
+-cat >>$CONFIG_STATUS <<EOF
++_ACEOF
++cat >>$CONFIG_STATUS <<_ACEOF
+   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
+     echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
+     exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
+-EOF
+-cat >>$CONFIG_STATUS <<\EOF
++_ACEOF
++cat >>$CONFIG_STATUS <<\_ACEOF
+   --version | --vers* | -V )
+     echo "$ac_cs_version"; exit 0 ;;
+   --he | --h)
+     # Conflict between --help and --header
+-    { { echo "$as_me:27146: error: ambiguous option: $1
++    { { echo "$as_me:$LINENO: error: ambiguous option: $1
+ Try \`$0 --help' for more information." >&5
+ echo "$as_me: error: ambiguous option: $1
+ Try \`$0 --help' for more information." >&2;}
+@@ -27162,7 +32117,7 @@
+     ac_need_defaults=false;;
+ 
+   # This is an error.
+-  -*) { { echo "$as_me:27165: error: unrecognized option: $1
++  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
+ Try \`$0 --help' for more information." >&5
+ echo "$as_me: error: unrecognized option: $1
+ Try \`$0 --help' for more information." >&2;}
+@@ -27174,44 +32129,21 @@
+   shift
+ done
+ 
+-exec 5>>config.log
+-cat >&5 << _ACEOF
+-
+-## ----------------------- ##
+-## Running config.status.  ##
+-## ----------------------- ##
+-
+-This file was extended by $as_me (heimdal 0.4e) 2.52, executed with
+-  CONFIG_FILES    = $CONFIG_FILES
+-  CONFIG_HEADERS  = $CONFIG_HEADERS
+-  CONFIG_LINKS    = $CONFIG_LINKS
+-  CONFIG_COMMANDS = $CONFIG_COMMANDS
+-  > $ac_cs_invocation
+-on `(hostname || uname -n) 2>/dev/null | sed 1q`
+-
+ _ACEOF
+-EOF
+ 
+-cat >>$CONFIG_STATUS <<EOF
++cat >>$CONFIG_STATUS <<_ACEOF
+ #
+ # INIT-COMMANDS section.
+ #
+ 
+-am_indx=1
+-  for am_file in include/config.h; do
+-    case " $CONFIG_HEADERS " in
+-    *" $am_file "*)
+-      echo timestamp > `echo $am_file | sed 's%:.*%%;s%[^/]*$%%'`stamp-h$am_indx
+-      ;;
+-    esac
+-    am_indx=\`expr \$am_indx + 1\`
+-  done
+-AMDEP="$AMDEP"
++AMDEP_TRUE="$AMDEP_TRUE"
+ ac_aux_dir="$ac_aux_dir"
+ 
+-EOF
++_ACEOF
+ 
+-cat >>$CONFIG_STATUS <<\EOF
++
++
++cat >>$CONFIG_STATUS <<\_ACEOF
+ for ac_config_target in $ac_config_targets
+ do
+   case "$ac_config_target" in
+@@ -27269,9 +32201,8 @@
+   "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
+   "tools/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
+   "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
+-  "default-2" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-2" ;;
+   "include/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
+-  *) { { echo "$as_me:27274: error: invalid argument: $ac_config_target" >&5
++  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
+ echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
+    { (exit 1); exit 1; }; };;
+   esac
+@@ -27309,9 +32240,9 @@
+    { (exit 1); exit 1; }
+ }
+ 
+-EOF
++_ACEOF
+ 
+-cat >>$CONFIG_STATUS <<EOF
++cat >>$CONFIG_STATUS <<_ACEOF
+ 
+ #
+ # CONFIG_FILES section.
+@@ -27324,6 +32255,12 @@
+   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
+    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
+ s,@SHELL@,$SHELL,;t t
++s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
++s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
++s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
++s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
++s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
++s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
+ s,@exec_prefix@,$exec_prefix,;t t
+ s,@prefix@,$prefix,;t t
+ s,@program_transform_name@,$program_transform_name,;t t
+@@ -27339,20 +32276,17 @@
+ s,@oldincludedir@,$oldincludedir,;t t
+ s,@infodir@,$infodir,;t t
+ s,@mandir@,$mandir,;t t
+-s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
+-s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
+-s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
+-s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
+-s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
+ s,@build_alias@,$build_alias,;t t
+ s,@host_alias@,$host_alias,;t t
+ s,@target_alias@,$target_alias,;t t
++s,@DEFS@,$DEFS,;t t
+ s,@ECHO_C@,$ECHO_C,;t t
+ s,@ECHO_N@,$ECHO_N,;t t
+ s,@ECHO_T@,$ECHO_T,;t t
+-s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
+-s,@DEFS@,$DEFS,;t t
+ s,@LIBS@,$LIBS,;t t
++s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
++s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
++s,@MAINT@,$MAINT,;t t
+ s,@CC@,$CC,;t t
+ s,@CFLAGS@,$CFLAGS,;t t
+ s,@LDFLAGS@,$LDFLAGS,;t t
+@@ -27373,11 +32307,15 @@
+ s,@MAKEINFO@,$MAKEINFO,;t t
+ s,@AMTAR@,$AMTAR,;t t
+ s,@install_sh@,$install_sh,;t t
++s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
+ s,@AWK@,$AWK,;t t
+ s,@SET_MAKE@,$SET_MAKE,;t t
+-s,@AMDEP@,$AMDEP,;t t
++s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
++s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
+ s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
+ s,@DEPDIR@,$DEPDIR,;t t
++s,@am__include@,$am__include,;t t
++s,@am__quote@,$am__quote,;t t
+ s,@CCDEPMODE@,$CCDEPMODE,;t t
+ s,@build@,$build,;t t
+ s,@build_cpu@,$build_cpu,;t t
+@@ -27407,6 +32345,10 @@
+ s,@LIB_dbm_firstkey@,$LIB_dbm_firstkey,;t t
+ s,@DBLIB@,$DBLIB,;t t
+ s,@LIB_NDBM@,$LIB_NDBM,;t t
++s,@LIB_crypt@,$LIB_crypt,;t t
++s,@LIB_roken@,$LIB_roken,;t t
++s,@DIR_roken@,$DIR_roken,;t t
++s,@CPPFLAGS_roken@,$CPPFLAGS_roken,;t t
+ s,@VOID_RETSIGTYPE@,$VOID_RETSIGTYPE,;t t
+ s,@have_err_h_TRUE@,$have_err_h_TRUE,;t t
+ s,@have_err_h_FALSE@,$have_err_h_FALSE,;t t
+@@ -27435,12 +32377,11 @@
+ s,@LIB_getnameinfo@,$LIB_getnameinfo,;t t
+ s,@LIB_freeaddrinfo@,$LIB_freeaddrinfo,;t t
+ s,@LIB_gai_strerror@,$LIB_gai_strerror,;t t
+-s,@LIB_crypt@,$LIB_crypt,;t t
+-s,@DIR_roken@,$DIR_roken,;t t
+-s,@LIB_roken@,$LIB_roken,;t t
+ s,@INCLUDES_roken@,$INCLUDES_roken,;t t
++s,@DIR_openldap@,$DIR_openldap,;t t
+ s,@INCLUDE_openldap@,$INCLUDE_openldap,;t t
+ s,@LIB_openldap@,$LIB_openldap,;t t
++s,@DIR_krb4@,$DIR_krb4,;t t
+ s,@INCLUDE_krb4@,$INCLUDE_krb4,;t t
+ s,@LIB_krb4@,$LIB_krb4,;t t
+ s,@EXTRA_LIB45@,$EXTRA_LIB45,;t t
+@@ -27468,10 +32409,20 @@
+ s,@CATMAN_TRUE@,$CATMAN_TRUE,;t t
+ s,@CATMAN_FALSE@,$CATMAN_FALSE,;t t
+ s,@CATMANEXT@,$CATMANEXT,;t t
++s,@DIR_readline@,$DIR_readline,;t t
+ s,@INCLUDE_readline@,$INCLUDE_readline,;t t
+ s,@LIB_readline@,$LIB_readline,;t t
++s,@DIR_hesiod@,$DIR_hesiod,;t t
+ s,@INCLUDE_hesiod@,$INCLUDE_hesiod,;t t
+ s,@LIB_hesiod@,$LIB_hesiod,;t t
++s,@DIR_sl@,$DIR_sl,;t t
++s,@INCLUDE_sl@,$INCLUDE_sl,;t t
++s,@LIB_sl@,$LIB_sl,;t t
++s,@DIR_ss@,$DIR_ss,;t t
++s,@INCLUDE_ss@,$INCLUDE_ss,;t t
++s,@LIB_ss@,$LIB_ss,;t t
++s,@DIR_otp@,$DIR_otp,;t t
++s,@INCLUDE_otp@,$INCLUDE_otp,;t t
+ s,@AIX_TRUE@,$AIX_TRUE,;t t
+ s,@AIX_FALSE@,$AIX_FALSE,;t t
+ s,@AIX4_TRUE@,$AIX4_TRUE,;t t
+@@ -27518,9 +32469,9 @@
+ s,@LTLIBOBJS@,$LTLIBOBJS,;t t
+ CEOF
+ 
+-EOF
++_ACEOF
+ 
+-  cat >>$CONFIG_STATUS <<\EOF
++  cat >>$CONFIG_STATUS <<\_ACEOF
+   # 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_lines=48
+@@ -27559,8 +32510,8 @@
+   fi
+ fi # test -n "$CONFIG_FILES"
+ 
+-EOF
+-cat >>$CONFIG_STATUS <<\EOF
++_ACEOF
++cat >>$CONFIG_STATUS <<\_ACEOF
+ for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
+   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
+   case $ac_file in
+@@ -27574,7 +32525,8 @@
+   esac
+ 
+   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
+-  ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
++$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+          X"$ac_file" : 'X\(//\)[^/]' \| \
+          X"$ac_file" : 'X\(//\)$' \| \
+          X"$ac_file" : 'X\(/\)' \| \
+@@ -27585,8 +32537,7 @@
+   	  /^X\(\/\/\)$/{ s//\1/; q; }
+   	  /^X\(\/\).*/{ s//\1/; q; }
+   	  s/.*/./; q'`
+-  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
+-    { case "$ac_dir" in
++  { case "$ac_dir" in
+   [\\/]* | ?:[\\/]* ) as_incr_dir=;;
+   *)                      as_incr_dir=.;;
+ esac
+@@ -27597,48 +32548,68 @@
+     ?:) as_incr_dir=$as_mkdir_dir ;;
+     *)
+       as_incr_dir=$as_incr_dir/$as_mkdir_dir
+-      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
++      test -d "$as_incr_dir" ||
++        mkdir "$as_incr_dir" ||
++	{ { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
++echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
++   { (exit 1); exit 1; }; }
+     ;;
+   esac
+ done; }
+ 
+-    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
++  ac_builddir=.
+ 
+-  case $srcdir in
+-  .)  ac_srcdir=.
+-      if test -z "$ac_dots"; then
+-         ac_top_srcdir=.
+-      else
+-         ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
+-      fi ;;
+-  [\\/]* | ?:[\\/]* )
+-      ac_srcdir=$srcdir$ac_dir_suffix;
+-      ac_top_srcdir=$srcdir ;;
++if test "$ac_dir" != .; then
++  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
++  # A "../" for each directory in $ac_dir_suffix.
++  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
++else
++  ac_dir_suffix= ac_top_builddir=
++fi
++
++case $srcdir in
++  .)  # No --srcdir option.  We are building in place.
++    ac_srcdir=.
++    if test -z "$ac_top_builddir"; then
++       ac_top_srcdir=.
++    else
++       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
++    fi ;;
++  [\\/]* | ?:[\\/]* )  # Absolute path.
++    ac_srcdir=$srcdir$ac_dir_suffix;
++    ac_top_srcdir=$srcdir ;;
+   *) # Relative path.
+-    ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
+-    ac_top_srcdir=$ac_dots$srcdir ;;
+-  esac
++    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
++    ac_top_srcdir=$ac_top_builddir$srcdir ;;
++esac
++# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
++# absolute.
++ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
++ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
++ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
++ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
++
+ 
+   case $INSTALL in
+   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
+-  *) ac_INSTALL=$ac_dots$INSTALL ;;
++  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
+   esac
+ 
+   if test x"$ac_file" != x-; then
+-    { echo "$as_me:27633: creating $ac_file" >&5
++    { echo "$as_me:$LINENO: creating $ac_file" >&5
+ echo "$as_me: creating $ac_file" >&6;}
+     rm -f "$ac_file"
+   fi
+   # Let's still pretend it is `configure' which instantiates (i.e., don't
+   # use $as_me), people would be surprised to read:
+-  #    /* config.h.  Generated automatically by config.status.  */
+-  configure_input="Generated automatically from `echo $ac_file_in |
+-                                                 sed 's,.*/,,'` by configure."
++  #    /* config.h.  Generated by config.status.  */
++  if test x"$ac_file" = x-; then
++    configure_input=
++  else
++    configure_input="$ac_file.  "
++  fi
++  configure_input=$configure_input"Generated from `echo $ac_file_in |
++                                     sed 's,.*/,,'` by configure."
+ 
+   # First look for the input files in the build tree, otherwise in the
+   # src tree.
+@@ -27648,7 +32619,7 @@
+       -) echo $tmp/stdin ;;
+       [\\/$]*)
+          # Absolute (can't be DOS-style, as IFS=:)
+-         test -f "$f" || { { echo "$as_me:27651: error: cannot find input file: $f" >&5
++         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
+ echo "$as_me: error: cannot find input file: $f" >&2;}
+    { (exit 1); exit 1; }; }
+          echo $f;;
+@@ -27661,23 +32632,29 @@
+            echo $srcdir/$f
+          else
+            # /dev/null tree
+-           { { echo "$as_me:27664: error: cannot find input file: $f" >&5
++           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
+ echo "$as_me: error: cannot find input file: $f" >&2;}
+    { (exit 1); exit 1; }; }
+          fi;;
+       esac
+     done` || { (exit 1); exit 1; }
+-EOF
+-cat >>$CONFIG_STATUS <<EOF
++_ACEOF
++cat >>$CONFIG_STATUS <<_ACEOF
+   sed "$ac_vpsub
+ $extrasub
+-EOF
+-cat >>$CONFIG_STATUS <<\EOF
++_ACEOF
++cat >>$CONFIG_STATUS <<\_ACEOF
+ :t
+ /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
+ s,@configure_input@,$configure_input,;t t
+ s,@srcdir@,$ac_srcdir,;t t
++s,@abs_srcdir@,$ac_abs_srcdir,;t t
+ s,@top_srcdir@,$ac_top_srcdir,;t t
++s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
++s,@builddir@,$ac_builddir,;t t
++s,@abs_builddir@,$ac_abs_builddir,;t t
++s,@top_builddir@,$ac_top_builddir,;t t
++s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
+ s,@INSTALL@,$ac_INSTALL,;t t
+ " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
+   rm -f $tmp/stdin
+@@ -27689,8 +32666,8 @@
+   fi
+ 
+ done
+-EOF
+-cat >>$CONFIG_STATUS <<\EOF
++_ACEOF
++cat >>$CONFIG_STATUS <<\_ACEOF
+ 
+ #
+ # CONFIG_HEADER section.
+@@ -27722,7 +32699,7 @@
+   * )   ac_file_in=$ac_file.in ;;
+   esac
+ 
+-  test x"$ac_file" != x- && { echo "$as_me:27725: creating $ac_file" >&5
++  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
+ echo "$as_me: creating $ac_file" >&6;}
+ 
+   # First look for the input files in the build tree, otherwise in the
+@@ -27733,7 +32710,7 @@
+       -) echo $tmp/stdin ;;
+       [\\/$]*)
+          # Absolute (can't be DOS-style, as IFS=:)
+-         test -f "$f" || { { echo "$as_me:27736: error: cannot find input file: $f" >&5
++         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
+ echo "$as_me: error: cannot find input file: $f" >&2;}
+    { (exit 1); exit 1; }; }
+          echo $f;;
+@@ -27746,7 +32723,7 @@
+            echo $srcdir/$f
+          else
+            # /dev/null tree
+-           { { echo "$as_me:27749: error: cannot find input file: $f" >&5
++           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
+ echo "$as_me: error: cannot find input file: $f" >&2;}
+    { (exit 1); exit 1; }; }
+          fi;;
+@@ -27755,7 +32732,7 @@
+   # Remove the trailing spaces.
+   sed 's/[ 	]*$//' $ac_file_inputs >$tmp/in
+ 
+-EOF
++_ACEOF
+ 
+ # Transform confdefs.h into two sed scripts, `conftest.defines' and
+ # `conftest.undefs', that substitutes the proper values into
+@@ -27771,16 +32748,16 @@
+ # `end' is used to avoid that the second main sed command (meant for
+ # 0-ary CPP macros) applies to n-ary macro definitions.
+ # See the Autoconf documentation for `clear'.
+-cat >confdef2sed.sed <<\EOF
++cat >confdef2sed.sed <<\_ACEOF
+ s/[\\&,]/\\&/g
+ s,[\\$`],\\&,g
+ t clear
+ : clear
+-s,^[ 	]*#[ 	]*define[ 	][ 	]*\(\([^ 	(][^ 	(]*\)([^)]*)\)[ 	]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
++s,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	(][^ 	(]*\)\(([^)]*)\)[ 	]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
+ t end
+ s,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	][^ 	]*\)[ 	]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
+ : end
+-EOF
++_ACEOF
+ # If some macros were called several times there might be several times
+ # the same #defines, which is useless.  Nevertheless, we may not want to
+ # sort them, since we want the *last* AC-DEFINE to be honored.
+@@ -27791,9 +32768,9 @@
+ # 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.undefs <<\EOF
++cat >>conftest.undefs <<\_ACEOF
+ s,^[ 	]*#[ 	]*undef[ 	][ 	]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
+-EOF
++_ACEOF
+ 
+ # Break up conftest.defines because some shells have a limit on the size
+ # of here documents, and old seds have small limits too (100 cmds).
+@@ -27850,23 +32827,24 @@
+ done
+ rm -f conftest.undefs
+ 
+-cat >>$CONFIG_STATUS <<\EOF
++cat >>$CONFIG_STATUS <<\_ACEOF
+   # Let's still pretend it is `configure' which instantiates (i.e., don't
+   # use $as_me), people would be surprised to read:
+-  #    /* config.h.  Generated automatically by config.status.  */
++  #    /* config.h.  Generated by config.status.  */
+   if test x"$ac_file" = x-; then
+-    echo "/* Generated automatically by configure.  */" >$tmp/config.h
++    echo "/* Generated by configure.  */" >$tmp/config.h
+   else
+-    echo "/* $ac_file.  Generated automatically by configure.  */" >$tmp/config.h
++    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
+   fi
+   cat $tmp/in >>$tmp/config.h
+   rm -f $tmp/in
+   if test x"$ac_file" != x-; then
+     if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
+-      { echo "$as_me:27866: $ac_file is unchanged" >&5
++      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
+ echo "$as_me: $ac_file is unchanged" >&6;}
+     else
+-      ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
++$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+          X"$ac_file" : 'X\(//\)[^/]' \| \
+          X"$ac_file" : 'X\(//\)$' \| \
+          X"$ac_file" : 'X\(/\)' \| \
+@@ -27877,8 +32855,7 @@
+   	  /^X\(\/\/\)$/{ s//\1/; q; }
+   	  /^X\(\/\).*/{ s//\1/; q; }
+   	  s/.*/./; q'`
+-      if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
+-        { case "$ac_dir" in
++      { case "$ac_dir" in
+   [\\/]* | ?:[\\/]* ) as_incr_dir=;;
+   *)                      as_incr_dir=.;;
+ esac
+@@ -27889,12 +32866,15 @@
+     ?:) as_incr_dir=$as_mkdir_dir ;;
+     *)
+       as_incr_dir=$as_incr_dir/$as_mkdir_dir
+-      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
++      test -d "$as_incr_dir" ||
++        mkdir "$as_incr_dir" ||
++	{ { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
++echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
++   { (exit 1); exit 1; }; }
+     ;;
+   esac
+ done; }
+ 
+-      fi
+       rm -f $ac_file
+       mv $tmp/config.h $ac_file
+     fi
+@@ -27902,9 +32882,15 @@
+     cat $tmp/config.h
+     rm -f $tmp/config.h
+   fi
++  # Run the commands associated with the file.
++  case $ac_file in
++    include/config.h ) # update the timestamp
++echo timestamp >"include/stamp-h1"
++ ;;
++  esac
+ done
+-EOF
+-cat >>$CONFIG_STATUS <<\EOF
++_ACEOF
++cat >>$CONFIG_STATUS <<\_ACEOF
+ 
+ #
+ # CONFIG_COMMANDS section.
+@@ -27912,11 +32898,56 @@
+ for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
+   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
+   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
++  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
++$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++         X"$ac_dest" : 'X\(//\)[^/]' \| \
++         X"$ac_dest" : 'X\(//\)$' \| \
++         X"$ac_dest" : 'X\(/\)' \| \
++         .     : '\(.\)' 2>/dev/null ||
++echo X"$ac_dest" |
++    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
++  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
++  	  /^X\(\/\/\)$/{ s//\1/; q; }
++  	  /^X\(\/\).*/{ s//\1/; q; }
++  	  s/.*/./; q'`
++  ac_builddir=.
++
++if test "$ac_dir" != .; then
++  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
++  # A "../" for each directory in $ac_dir_suffix.
++  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
++else
++  ac_dir_suffix= ac_top_builddir=
++fi
++
++case $srcdir in
++  .)  # No --srcdir option.  We are building in place.
++    ac_srcdir=.
++    if test -z "$ac_top_builddir"; then
++       ac_top_srcdir=.
++    else
++       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
++    fi ;;
++  [\\/]* | ?:[\\/]* )  # Absolute path.
++    ac_srcdir=$srcdir$ac_dir_suffix;
++    ac_top_srcdir=$srcdir ;;
++  *) # Relative path.
++    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
++    ac_top_srcdir=$ac_top_builddir$srcdir ;;
++esac
++# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
++# absolute.
++ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
++ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
++ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
++ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
+ 
++
++  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
++echo "$as_me: executing $ac_dest commands" >&6;}
+   case $ac_dest in
+-    default-1 ) test -z "$CONFIG_HEADERS" || echo timestamp >	   include/stamp-h ;;
+-    default-2 )
+-test x"$AMDEP" != x"" ||
++    default-1 )
++test x"$AMDEP_TRUE" != x"" ||
+ for mf in $CONFIG_FILES; do
+   case "$mf" in
+   Makefile) dirpart=.;;
+@@ -27956,15 +32987,16 @@
+  ;;
+   esac
+ done
+-EOF
++_ACEOF
+ 
+-cat >>$CONFIG_STATUS <<\EOF
++cat >>$CONFIG_STATUS <<\_ACEOF
+ 
+ { (exit 0); exit 0; }
+-EOF
++_ACEOF
+ chmod +x $CONFIG_STATUS
+ ac_clean_files=$ac_clean_files_save
+ 
++
+ # configure is writing to config.log, and then calls config.status.
+ # config.status does its own redirection, appending to config.log.
+ # Unfortunately, on DOS this fails, as config.log is still kept open
+@@ -27982,6 +33014,7 @@
+   # would make configure fail if this is the last instruction.
+   $ac_cs_success || { (exit 1); exit 1; }
+ fi
++
+ 
+ HEIMDALVERSION="$PACKAGE-$VERSION"
+ 
+diff -ruN heimdal-0.4e-old/doc/Makefile.in heimdal-0.4e/doc/Makefile.in
+--- heimdal-0.4e-old/doc/Makefile.in	Thu Sep  6 22:25:46 2001
++++ heimdal-0.4e/doc/Makefile.in	Sat Jun 15 19:35:25 2002
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.6 1999/03/20 13:58:16 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,13 +90,13 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+ LIB_ = @LIB_@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+-LIB_com_err = @LIB_com_err@
+ LIB_com_err_a = @LIB_com_err_a@
+ LIB_com_err_so = @LIB_com_err_so@
+ LIB_des = @LIB_des@
+@@ -100,12 +104,10 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+-LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,19 +121,19 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+-
+-# $Id: Makefile.am,v 1.6 1999/03/20 13:58:16 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
++LIB_com_err = @LIB_com_err@
++LIB_otp = @LIB_otp@
++LIB_roken = @LIB_roken@
+ 
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b no-texinfo.tex
+ 
+@@ -185,17 +187,24 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+@@ -203,111 +212,73 @@
+ heimdal_TEXINFOS = intro.texi install.texi setup.texi kerberos4.texi
+ subdir = doc
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../include/config.h
+-CONFIG_CLEAN_FILES = 
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++depcomp =
+ CFLAGS = @CFLAGS@
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES = 
+-TEXI2DVI = texi2dvi
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++DIST_SOURCES =
+ INFO_DEPS = heimdal.info
+ DVIS = heimdal.dvi
+ TEXINFOS = heimdal.texi
+-depcomp = 
+-DIST_COMMON =  $(heimdal_TEXINFOS) Makefile.am Makefile.in mdate-sh
++DIST_COMMON = $(heimdal_TEXINFOS) Makefile.am Makefile.in mdate-sh
++all: all-am
+ 
++.SUFFIXES:
++.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .dvi .info .ps .texi
+ 
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-GZIP_ENV = --best
+-all: all-redirect
+-.SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .dvi .info .ps .texi .texinfo .txi
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign doc/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  doc/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ 
+ heimdal.info: heimdal.texi $(heimdal_TEXINFOS)
+ heimdal.dvi: heimdal.texi $(heimdal_TEXINFOS)
+ 
+-
+-DVIPS = dvips
+-
+ .texi.info:
+ 	@cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
+ 	cd $(srcdir) \
+-	  && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
++	  && $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) \
++	       `echo $< | sed 's,.*/,,'`
+ 
+ .texi.dvi:
+ 	TEXINPUTS=$(srcdir):$$TEXINPUTS \
+-	  MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
++	MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
++	$(TEXI2DVI) $<
+ 
+ .texi:
+ 	@cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
+ 	cd $(srcdir) \
+-	  && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
++	  && $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) \
++	       `echo $< | sed 's,.*/,,'`
+ 
+-.texinfo.info:
+-	@cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
+-	cd $(srcdir) \
+-	  && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
+-
+-.texinfo:
+-	@cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
+-	cd $(srcdir) \
+-	  && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
+-
+-.texinfo.dvi:
+-	TEXINPUTS=$(srcdir):$$TEXINPUTS \
+-	  MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
+-
+-.txi.info:
+-	@cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
+-	cd $(srcdir) \
+-	  && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
+-
+-.txi.dvi:
+-	TEXINPUTS=$(srcdir):$$TEXINPUTS \
+-	  MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
+-
+-.txi:
+-	@cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
+-	cd $(srcdir) \
+-	  && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
++MAKEINFO = @MAKEINFO@
++TEXI2DVI = texi2dvi
++DVIPS = dvips
+ .dvi.ps:
+ 	$(DVIPS) $< -o $@
+ 
+-install-info-am: $(INFO_DEPS)
+-	@$(NORMAL_INSTALL)
+-	$(mkinstalldirs) $(DESTDIR)$(infodir)
+-	@list='$(INFO_DEPS)'; \
+-	for file in $$list; do \
+-	  d=$(srcdir); \
+-	  for ifile in `CDPATH=: && cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
+-	    if test -f $$d/$$ifile; then \
+-	      echo " $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile"; \
+-	      $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile; \
+-	    else : ; fi; \
+-	  done; \
+-	done
+-	@$(POST_INSTALL)
+-	@if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
+-	  list='$(INFO_DEPS)'; \
+-	  for file in $$list; do \
+-	    echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\
+-	    install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :;\
+-	  done; \
+-	else : ; fi
+-
+-uninstall-info:
++uninstall-info-am:
+ 	$(PRE_UNINSTALL)
+-	@if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
++	@if (install-info --version && \
++	     install-info --version | fgrep -i -v debian) >/dev/null 2>&1; then \
+ 	  list='$(INFO_DEPS)'; \
+ 	  for file in $$list; do \
+ 	    echo " install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$file"; \
+@@ -334,18 +305,13 @@
+ 	done
+ 
+ mostlyclean-aminfo:
+-	-rm -f heimdal.aux heimdal.cp heimdal.cps heimdal.dvi heimdal.fn \
+-	  heimdal.fns heimdal.pgs heimdal.ky heimdal.kys heimdal.ps \
+-	  heimdal.log heimdal.pg heimdal.toc heimdal.tp heimdal.tps \
+-	  heimdal.vr heimdal.vrs heimdal.op heimdal.tr heimdal.cv \
+-	  heimdal.cn heimdal.cm heimdal.ov
+-
+-clean-aminfo:
+-
+-distclean-aminfo:
++	-rm -f heimdal.aux heimdal.cp heimdal.cps heimdal.dvi heimdal.fn heimdal.ky \
++	  heimdal.log heimdal.pg heimdal.ps heimdal.toc heimdal.tp \
++	  heimdal.vr
+ 
+ maintainer-clean-aminfo:
+-	cd $(srcdir) && for i in $(INFO_DEPS); do \
++	cd $(srcdir) && \
++	for i in $(INFO_DEPS); do \
+ 	  rm -f $$i; \
+ 	  if test "`echo $$i-[0-9]*`" != "$$i-[0-9]*"; then \
+ 	    rm -f $$i-[0-9]*; \
+@@ -355,11 +321,18 @@
+ TAGS:
+ 
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++
++top_distdir = ..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -369,76 +342,112 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-info
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am: $(INFO_DEPS)
+-info: info-am
+-dvi-am: $(DVIS)
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-info dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-install-exec-am:
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++all-am: Makefile $(INFO_DEPS) all-local
+ 
+-install-data-am: install-info-am install-data-local
+-install-data: install-data-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(infodir)
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am: uninstall-info
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(INFO_DEPS) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(infodir)
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-aminfo mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-generic clean-libtool mostlyclean-am
+ 
+-clean-am:  clean-aminfo clean-generic mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-generic distclean-libtool
+ 
+-distclean-am:  distclean-aminfo distclean-generic clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am: $(DVIS)
+ 
+-maintainer-clean-am:  maintainer-clean-aminfo 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."
++info: info-am
++
++info-am: $(INFO_DEPS)
++
++install-data-am: install-data-local install-info-am
++
++install-exec-am:
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-info-am: $(INFO_DEPS)
++	@$(NORMAL_INSTALL)
++	$(mkinstalldirs) $(DESTDIR)$(infodir)
++	@list='$(INFO_DEPS)'; \
++	for file in $$list; do \
++	  d=$(srcdir); \
++	  for ifile in `CDPATH=: && cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
++	    if test -f $$d/$$ifile; then \
++	      echo " $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile"; \
++	      $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile; \
++	    else : ; fi; \
++	  done; \
++	done
++	@$(POST_INSTALL)
++	@if (install-info --version && \
++	     install-info --version | fgrep -i -v debian) >/dev/null 2>&1; then \
++	  list='$(INFO_DEPS)'; \
++	  for file in $$list; do \
++	    echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\
++	    install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :;\
++	  done; \
++	else : ; fi
++install-man:
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-am
+ 
+-.PHONY: install-info-am uninstall-info mostlyclean-aminfo \
+-distclean-aminfo clean-aminfo maintainer-clean-aminfo tags distdir \
+-info-am info dvi-am dvi check-local check check-am installcheck-am \
+-installcheck install-exec-am install-exec install-data-local \
+-install-data-am install-data install-am install uninstall-am uninstall \
+-all-local all-redirect all-am all install-strip installdirs \
+-mostlyclean-generic distclean-generic clean-generic \
+-maintainer-clean-generic clean mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-aminfo \
++	maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-aminfo mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-info-am
++
++.PHONY: all all-am all-local check check-am check-local clean \
++	clean-generic clean-libtool dist-info distclean \
++	distclean-generic distclean-libtool distdir dvi dvi-am info \
++	info-am install install-am install-data install-data-am \
++	install-data-local install-exec install-exec-am install-info \
++	install-info-am install-man install-strip installcheck \
++	installcheck-am installdirs maintainer-clean \
++	maintainer-clean-aminfo maintainer-clean-generic mostlyclean \
++	mostlyclean-aminfo mostlyclean-generic mostlyclean-libtool \
++	uninstall uninstall-am uninstall-info-am
+ 
+ 
+ install-suid-programs:
+@@ -568,7 +577,6 @@
+ 	  echo "$$dashes"; \
+ 	  test "$$failed" -eq 0; \
+ 	fi
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/include/Makefile.in heimdal-0.4e/include/Makefile.in
+--- heimdal-0.4e-old/include/Makefile.in	Thu Sep  6 22:22:40 2001
++++ heimdal-0.4e/include/Makefile.in	Sat Jun 15 19:35:25 2002
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.31 2000/07/02 16:08:29 assar Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,13 +90,13 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+ LIB_ = @LIB_@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+-LIB_com_err = @LIB_com_err@
+ LIB_com_err_a = @LIB_com_err_a@
+ LIB_com_err_so = @LIB_com_err_so@
+ LIB_des = @LIB_des@
+@@ -100,12 +104,10 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+-LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,19 +121,19 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+-
+-# $Id: Makefile.am,v 1.31 2000/07/02 16:08:29 assar Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
++LIB_com_err = @LIB_com_err@
++LIB_otp = @LIB_otp@
++LIB_roken = @LIB_roken@
+ 
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+@@ -185,17 +187,25 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+ CHECK_LOCAL = 
+ 
+ SUBDIRS = kadm5
+@@ -243,54 +253,63 @@
+ subdir = include
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+ CONFIG_HEADER = config.h
+-CONFIG_CLEAN_FILES = 
+-noinst_PROGRAMS =  bits$(EXEEXT)
+-PROGRAMS =  $(noinst_PROGRAMS)
++CONFIG_CLEAN_FILES =
++noinst_PROGRAMS = bits$(EXEEXT)
++PROGRAMS = $(noinst_PROGRAMS)
+ 
++bits_SOURCES = bits.c
++bits_OBJECTS = bits.$(OBJEXT)
++bits_LDADD = $(LDADD)
++bits_DEPENDENCIES =
++bits_LDFLAGS =
+ 
+-DEFS = @DEFS@ -I. -I$(srcdir) -I.
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I.
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+-bits_SOURCES = bits.c
+-bits_OBJECTS =  bits.$(OBJEXT)
+-bits_LDADD = $(LDADD)
+-bits_DEPENDENCIES = 
+-bits_LDFLAGS = 
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  bits.c
+-HEADERS =  $(include_HEADERS)
+-
+-depcomp = 
+-DIST_COMMON =  $(include_HEADERS) ./stamp-h.in Makefile.am Makefile.in \
+-config.h.in
+-
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++DIST_SOURCES = bits.c
++HEADERS = $(include_HEADERS)
+ 
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-GZIP_ENV = --best
+-DIST_SUBDIRS =  $(SUBDIRS)
++RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \
++	uninstall-info-recursive all-recursive install-data-recursive \
++	install-exec-recursive installdirs-recursive install-recursive \
++	uninstall-recursive check-recursive installcheck-recursive
++DIST_COMMON = $(include_HEADERS) ./stamp-h.in Makefile.am Makefile.in \
++	config.h.in
++DIST_SUBDIRS = $(SUBDIRS)
+ SOURCES = bits.c
+-OBJECTS = bits.$(OBJEXT)
+ 
+-all: all-redirect
++all: config.h
++	$(MAKE) $(AM_MAKEFLAGS) all-recursive
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign include/Makefile
+ 
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  include/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ config.h: stamp-h
+ 	@if test ! -f $@; then \
+ 		rm -f stamp-h; \
+@@ -303,7 +322,7 @@
+ 	  && CONFIG_FILES= CONFIG_HEADERS=include/config.h \
+ 	     $(SHELL) ./config.status
+ 	@mv stamp-hT stamp-h
+-$(srcdir)/config.h.in: $(srcdir)/./stamp-h.in
++$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/./stamp-h.in
+ 	@if test ! -f $@; then \
+ 		rm -f $(srcdir)/./stamp-h.in; \
+ 		$(MAKE) $(srcdir)/./stamp-h.in; \
+@@ -314,63 +333,38 @@
+ 	cd $(top_srcdir) && $(AUTOHEADER)
+ 	@mv $(srcdir)/./stamp-h.inT $(srcdir)/./stamp-h.in
+ 
+-mostlyclean-hdr:
+-
+-clean-hdr:
+-
+ distclean-hdr:
+ 	-rm -f config.h
+ 
+-maintainer-clean-hdr:
+-
+-mostlyclean-noinstPROGRAMS:
+-
+ clean-noinstPROGRAMS:
+ 	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
+-
+-distclean-noinstPROGRAMS:
+-
+-maintainer-clean-noinstPROGRAMS:
++bits$(EXEEXT): $(bits_OBJECTS) $(bits_DEPENDENCIES) 
++	@rm -f bits$(EXEEXT)
++	$(LINK) $(bits_LDFLAGS) $(bits_OBJECTS) $(bits_LDADD) $(LIBS)
+ 
+ mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
+-
+-clean-compile:
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+-maintainer-clean-compile:
+-
+-mostlyclean-libtool:
+-	-rm -f *.lo
+-
+-clean-libtool:
+-	-rm -rf .libs _libs
+-
+-distclean-libtool:
+-
+-maintainer-clean-libtool:
+-
+-bits$(EXEEXT): $(bits_OBJECTS) $(bits_DEPENDENCIES)
+-	@rm -f bits$(EXEEXT)
+-	$(LINK) $(bits_LDFLAGS) $(bits_OBJECTS) $(bits_LDADD) $(LIBS)
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
+-.c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
+ 
++.c.lo:
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
++uninstall-info-am:
+ install-includeHEADERS: $(include_HEADERS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(includedir)
+ 	@list='$(include_HEADERS)'; for p in $$list; do \
+-	  if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
++	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
+-	  $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f; \
++	  echo " $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
++	  $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(includedir)/$$f; \
+ 	done
+ 
+ uninstall-includeHEADERS:
+@@ -387,10 +381,7 @@
+ # (1) if the variable is set in `config.status', edit `config.status'
+ #     (which will cause the Makefiles to be regenerated when you run `make');
+ # (2) otherwise, pass the desired values on the `make' command line.
+-
+-all-recursive install-data-recursive install-exec-recursive \
+-installdirs-recursive install-recursive uninstall-recursive  \
+-check-recursive installcheck-recursive info-recursive dvi-recursive:
++$(RECURSIVE_TARGETS):
+ 	@set fnord $(MAKEFLAGS); amf=$$2; \
+ 	dot_seen=no; \
+ 	target=`echo $@ | sed s/-recursive//`; \
+@@ -455,9 +446,9 @@
+ 	tags=; \
+ 	here=`pwd`; \
+ 	list='$(SUBDIRS)'; for subdir in $$list; do \
+-   if test "$$subdir" = .; then :; else \
++	  if test "$$subdir" = .; then :; else \
+ 	    test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
+-   fi; \
++	  fi; \
+ 	done; \
+ 	list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
+ 	unique=`for i in $$list; do \
+@@ -471,22 +462,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -501,103 +493,110 @@
+ 	    test -d $(distdir)/$$subdir \
+ 	    || mkdir $(distdir)/$$subdir \
+ 	    || exit 1; \
+-	    (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \
++	    (cd $$subdir && \
++	      $(MAKE) $(AM_MAKEFLAGS) \
++	        top_distdir="$(top_distdir)" \
++	        distdir=../$(distdir)/$$subdir \
++	        distdir) \
+ 	      || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-recursive
+-dvi-am:
+-dvi: dvi-recursive
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-recursive
+-installcheck-am:
+-installcheck: installcheck-recursive
+-all-recursive-am: config.h
+-	$(MAKE) $(AM_MAKEFLAGS) all-recursive
++all-am: Makefile $(PROGRAMS) $(HEADERS) config.h all-local
++installdirs: installdirs-recursive
++installdirs-am:
++	$(mkinstalldirs) $(DESTDIR)$(includedir)
+ 
+-install-exec-am:
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++install: install-recursive
+ install-exec: install-exec-recursive
+-
+-install-data-am: install-includeHEADERS install-data-local
+ install-data: install-data-recursive
++uninstall: uninstall-recursive
+ 
+ install-am: all-am
+ 	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+-install: install-recursive
+-uninstall-am: uninstall-includeHEADERS
+-uninstall: uninstall-recursive
+-all-am: Makefile $(PROGRAMS) $(HEADERS) config.h all-local
+-all-redirect: all-recursive-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs: installdirs-recursive
+-installdirs-am:
+-	$(mkinstalldirs)  $(DESTDIR)$(includedir)
+-
+ 
++installcheck: installcheck-recursive
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-hdr mostlyclean-noinstPROGRAMS \
+-		mostlyclean-compile mostlyclean-libtool \
+-		mostlyclean-tags mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-recursive
+ 
+-mostlyclean: mostlyclean-recursive
++clean-am: clean-generic clean-libtool clean-noinstPROGRAMS \
++	mostlyclean-am
+ 
+-clean-am:  clean-hdr clean-noinstPROGRAMS clean-compile clean-libtool \
+-		clean-tags clean-generic mostlyclean-am
++distclean: distclean-recursive
+ 
+-clean: clean-recursive
++distclean-am: clean-am distclean-compile distclean-generic distclean-hdr \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-hdr distclean-noinstPROGRAMS distclean-compile \
+-		distclean-libtool distclean-tags distclean-generic \
+-		clean-am
+-	-rm -f libtool
++dvi: dvi-recursive
+ 
+-distclean: distclean-recursive
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-hdr \
+-		maintainer-clean-noinstPROGRAMS \
+-		maintainer-clean-compile maintainer-clean-libtool \
+-		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."
++info: info-recursive
++
++info-am:
++
++install-data-am: install-data-local install-includeHEADERS
++
++install-exec-am:
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-recursive
++
++install-man:
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-recursive
+ 
+-.PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
+-mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \
+-clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \
+-mostlyclean-compile distclean-compile clean-compile \
+-maintainer-clean-compile mostlyclean-libtool distclean-libtool \
+-clean-libtool maintainer-clean-libtool uninstall-includeHEADERS \
+-install-includeHEADERS install-recursive uninstall-recursive \
+-install-data-recursive uninstall-data-recursive install-exec-recursive \
+-uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
+-all-recursive check-recursive installcheck-recursive info-recursive \
+-dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
+-maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
+-distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
+-dvi-am dvi check-local check check-am installcheck-am installcheck \
+-all-recursive-am install-exec-am install-exec install-data-local \
+-install-data-am install-data install-am install uninstall-am uninstall \
+-all-local all-redirect all-am all install-strip installdirs-am \
+-installdirs mostlyclean-generic distclean-generic clean-generic \
+-maintainer-clean-generic clean mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-recursive
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-includeHEADERS uninstall-info-am
++
++uninstall-info: uninstall-info-recursive
++
++.PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am all-local check check-am \
++	check-local clean clean-generic clean-libtool \
++	clean-noinstPROGRAMS clean-recursive distclean \
++	distclean-compile distclean-generic distclean-hdr \
++	distclean-libtool distclean-recursive distclean-tags distdir \
++	dvi dvi-am dvi-recursive info info-am info-recursive install \
++	install-am install-data install-data-am install-data-local \
++	install-data-recursive install-exec install-exec-am \
++	install-exec-recursive install-includeHEADERS install-info \
++	install-info-am install-info-recursive install-man \
++	install-recursive install-strip installcheck installcheck-am \
++	installdirs installdirs-am installdirs-recursive \
++	maintainer-clean maintainer-clean-generic \
++	maintainer-clean-recursive mostlyclean mostlyclean-compile \
++	mostlyclean-generic mostlyclean-libtool mostlyclean-recursive \
++	tags tags-recursive uninstall uninstall-am \
++	uninstall-includeHEADERS uninstall-info-am \
++	uninstall-info-recursive uninstall-recursive
+ 
+ 
+ install-suid-programs:
+@@ -730,7 +729,6 @@
+ 
+ krb5-types.h: bits$(EXEEXT)
+ 	./bits$(EXEEXT) krb5-types.h
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/include/config.h.in heimdal-0.4e/include/config.h.in
+--- heimdal-0.4e-old/include/config.h.in	Sat Jun 15 19:34:42 2002
++++ heimdal-0.4e/include/config.h.in	Sat Jun 15 19:35:14 2002
+@@ -1,4 +1,4 @@
+-/* include/config.h.in.  Generated automatically from configure.in by autoheader.  */
++/* include/config.h.in.  Generated from configure.in by autoheader.  */
+ 
+ #ifndef RCSID
+ #define RCSID(msg) \
+@@ -65,64 +65,64 @@
+    struct sockaddr*, socklen_t*) */
+ #undef GETSOCKNAME_PROTO_COMPATIBLE
+ 
+-/* Define if you have the <arpa/ftp.h> header file. */
++/* Define to 1 if you have the <arpa/ftp.h> header file. */
+ #undef HAVE_ARPA_FTP_H
+ 
+-/* Define if you have the <arpa/inet.h> header file. */
++/* Define to 1 if you have the <arpa/inet.h> header file. */
+ #undef HAVE_ARPA_INET_H
+ 
+-/* Define if you have the <arpa/nameser.h> header file. */
++/* Define to 1 if you have the <arpa/nameser.h> header file. */
+ #undef HAVE_ARPA_NAMESER_H
+ 
+-/* Define if you have the <arpa/telnet.h> header file. */
++/* Define to 1 if you have the <arpa/telnet.h> header file. */
+ #undef HAVE_ARPA_TELNET_H
+ 
+-/* Define if you have the `asnprintf' function. */
++/* Define to 1 if you have the `asnprintf' function. */
+ #undef HAVE_ASNPRINTF
+ 
+-/* Define if you have the `asprintf' function. */
++/* Define to 1 if you have the `asprintf' function. */
+ #undef HAVE_ASPRINTF
+ 
+-/* Define if you have the <bind/bitypes.h> header file. */
++/* Define to 1 if you have the <bind/bitypes.h> header file. */
+ #undef HAVE_BIND_BITYPES_H
+ 
+-/* Define if you have the <bsdsetjmp.h> header file. */
++/* Define to 1 if you have the <bsdsetjmp.h> header file. */
+ #undef HAVE_BSDSETJMP_H
+ 
+-/* Define if you have the `bswap16' function. */
++/* Define to 1 if you have the `bswap16' function. */
+ #undef HAVE_BSWAP16
+ 
+-/* Define if you have the `bswap32' function. */
++/* Define to 1 if you have the `bswap32' function. */
+ #undef HAVE_BSWAP32
+ 
+-/* Define if you have the <capability.h> header file. */
++/* Define to 1 if you have the <capability.h> header file. */
+ #undef HAVE_CAPABILITY_H
+ 
+-/* Define if you have the `cap_set_proc' function. */
++/* Define to 1 if you have the `cap_set_proc' function. */
+ #undef HAVE_CAP_SET_PROC
+ 
+-/* Define if you have the `cgetent' function. */
++/* Define to 1 if you have the `cgetent' function. */
+ #undef HAVE_CGETENT
+ 
+-/* Define if you have the `chown' function. */
++/* Define to 1 if you have the `chown' function. */
+ #undef HAVE_CHOWN
+ 
+-/* Define if you have the <config.h> header file. */
++/* Define to 1 if you have the <config.h> header file. */
+ #undef HAVE_CONFIG_H
+ 
+-/* Define if you have the `copyhostent' function. */
++/* Define to 1 if you have the `copyhostent' function. */
+ #undef HAVE_COPYHOSTENT
+ 
+-/* Define if you have the `crypt' function. */
++/* Define to 1 if you have the `crypt' function. */
+ #undef HAVE_CRYPT
+ 
+-/* Define if you have the <crypt.h> header file. */
++/* Define to 1 if you have the <crypt.h> header file. */
+ #undef HAVE_CRYPT_H
+ 
+-/* Define if you have the <curses.h> header file. */
++/* Define to 1 if you have the <curses.h> header file. */
+ #undef HAVE_CURSES_H
+ 
+-/* Define if you have the `daemon' function. */
++/* Define to 1 if you have the `daemon' function. */
+ #undef HAVE_DAEMON
+ 
+ /* define if you have a berkeley db1/2 library */
+@@ -131,85 +131,85 @@
+ /* define if you have a berkeley db3 library */
+ #undef HAVE_DB3
+ 
+-/* Define if you have the `dbm_firstkey' function. */
++/* Define to 1 if you have the `dbm_firstkey' function. */
+ #undef HAVE_DBM_FIRSTKEY
+ 
+-/* Define if you have the <dbm.h> header file. */
++/* Define to 1 if you have the <dbm.h> header file. */
+ #undef HAVE_DBM_H
+ 
+-/* Define if you have the `dbopen' function. */
++/* Define to 1 if you have the `dbopen' function. */
+ #undef HAVE_DBOPEN
+ 
+-/* Define if you have the <db_185.h> header file. */
++/* Define to 1 if you have the <db_185.h> header file. */
+ #undef HAVE_DB_185_H
+ 
+-/* Define if you have the `db_create' function. */
++/* Define to 1 if you have the `db_create' function. */
+ #undef HAVE_DB_CREATE
+ 
+-/* Define if you have the <db.h> header file. */
++/* Define to 1 if you have the <db.h> header file. */
+ #undef HAVE_DB_H
+ 
+ /* define if you have ndbm compat in db */
+ #undef HAVE_DB_NDBM
+ 
+-/* Define if you have the <dirent.h> header file. */
++/* Define to 1 if you have the <dirent.h> header file. */
+ #undef HAVE_DIRENT_H
+ 
+-/* Define if you have the <dlfcn.h> header file. */
++/* Define to 1 if you have the <dlfcn.h> header file. */
+ #undef HAVE_DLFCN_H
+ 
+-/* Define if you have the `dlopen' function. */
++/* Define to 1 if you have the `dlopen' function. */
+ #undef HAVE_DLOPEN
+ 
+-/* Define if you have the `dn_expand' function. */
++/* Define to 1 if you have the `dn_expand' function. */
+ #undef HAVE_DN_EXPAND
+ 
+-/* Define if you have the `ecalloc' function. */
++/* Define to 1 if you have the `ecalloc' function. */
+ #undef HAVE_ECALLOC
+ 
+-/* Define if you have the `el_init' function. */
++/* Define to 1 if you have the `el_init' function. */
+ #undef HAVE_EL_INIT
+ 
+-/* Define if you have the `emalloc' function. */
++/* Define to 1 if you have the `emalloc' function. */
+ #undef HAVE_EMALLOC
+ 
+ /* define if your system declares environ */
+ #undef HAVE_ENVIRON_DECLARATION
+ 
+-/* Define if you have the `erealloc' function. */
++/* Define to 1 if you have the `erealloc' function. */
+ #undef HAVE_EREALLOC
+ 
+-/* Define if you have the `err' function. */
++/* Define to 1 if you have the `err' function. */
+ #undef HAVE_ERR
+ 
+-/* Define if you have the <errno.h> header file. */
++/* Define to 1 if you have the <errno.h> header file. */
+ #undef HAVE_ERRNO_H
+ 
+-/* Define if you have the `errx' function. */
++/* Define to 1 if you have the `errx' function. */
+ #undef HAVE_ERRX
+ 
+-/* Define if you have the <err.h> header file. */
++/* Define to 1 if you have the <err.h> header file. */
+ #undef HAVE_ERR_H
+ 
+-/* Define if you have the `estrdup' function. */
++/* Define to 1 if you have the `estrdup' function. */
+ #undef HAVE_ESTRDUP
+ 
+-/* Define if you have the `fchown' function. */
++/* Define to 1 if you have the `fchown' function. */
+ #undef HAVE_FCHOWN
+ 
+-/* Define if you have the `fcntl' function. */
++/* Define to 1 if you have the `fcntl' function. */
+ #undef HAVE_FCNTL
+ 
+-/* Define if you have the <fcntl.h> header file. */
++/* Define to 1 if you have the <fcntl.h> header file. */
+ #undef HAVE_FCNTL_H
+ 
+-/* Define if you have the `flock' function. */
++/* Define to 1 if you have the `flock' function. */
+ #undef HAVE_FLOCK
+ 
+-/* Define if you have the `fnmatch' function. */
++/* Define to 1 if you have the `fnmatch' function. */
+ #undef HAVE_FNMATCH
+ 
+-/* Define if you have the <fnmatch.h> header file. */
++/* Define to 1 if you have the <fnmatch.h> header file. */
+ #undef HAVE_FNMATCH_H
+ 
+ /* Define if el_init takes four arguments. */
+@@ -218,107 +218,107 @@
+ /* define if krb_put_int takes four arguments. */
+ #undef HAVE_FOUR_VALUED_KRB_PUT_INT
+ 
+-/* Define if you have the `freeaddrinfo' function. */
++/* Define to 1 if you have the `freeaddrinfo' function. */
+ #undef HAVE_FREEADDRINFO
+ 
+-/* Define if you have the `freehostent' function. */
++/* Define to 1 if you have the `freehostent' function. */
+ #undef HAVE_FREEHOSTENT
+ 
+-/* Define if you have the `gai_strerror' function. */
++/* Define to 1 if you have the `gai_strerror' function. */
+ #undef HAVE_GAI_STRERROR
+ 
+-/* Define if you have the <gdbm/ndbm.h> header file. */
++/* Define to 1 if you have the <gdbm/ndbm.h> header file. */
+ #undef HAVE_GDBM_NDBM_H
+ 
+-/* Define if you have the `getaddrinfo' function. */
++/* Define to 1 if you have the `getaddrinfo' function. */
+ #undef HAVE_GETADDRINFO
+ 
+-/* Define if you have the `getconfattr' function. */
++/* Define to 1 if you have the `getconfattr' function. */
+ #undef HAVE_GETCONFATTR
+ 
+-/* Define if you have the `getcwd' function. */
++/* Define to 1 if you have the `getcwd' function. */
+ #undef HAVE_GETCWD
+ 
+-/* Define if you have the `getdtablesize' function. */
++/* Define to 1 if you have the `getdtablesize' function. */
+ #undef HAVE_GETDTABLESIZE
+ 
+-/* Define if you have the `getegid' function. */
++/* Define to 1 if you have the `getegid' function. */
+ #undef HAVE_GETEGID
+ 
+-/* Define if you have the `geteuid' function. */
++/* Define to 1 if you have the `geteuid' function. */
+ #undef HAVE_GETEUID
+ 
+-/* Define if you have the `getgid' function. */
++/* Define to 1 if you have the `getgid' function. */
+ #undef HAVE_GETGID
+ 
+-/* Define if you have the `gethostbyname' function. */
++/* Define to 1 if you have the `gethostbyname' function. */
+ #undef HAVE_GETHOSTBYNAME
+ 
+-/* Define if you have the `gethostbyname2' function. */
++/* Define to 1 if you have the `gethostbyname2' function. */
+ #undef HAVE_GETHOSTBYNAME2
+ 
+-/* Define if you have the `gethostname' function. */
++/* Define to 1 if you have the `gethostname' function. */
+ #undef HAVE_GETHOSTNAME
+ 
+-/* Define if you have the `getifaddrs' function. */
++/* Define to 1 if you have the `getifaddrs' function. */
+ #undef HAVE_GETIFADDRS
+ 
+-/* Define if you have the `getipnodebyaddr' function. */
++/* Define to 1 if you have the `getipnodebyaddr' function. */
+ #undef HAVE_GETIPNODEBYADDR
+ 
+-/* Define if you have the `getipnodebyname' function. */
++/* Define to 1 if you have the `getipnodebyname' function. */
+ #undef HAVE_GETIPNODEBYNAME
+ 
+-/* Define if you have the `getlogin' function. */
++/* Define to 1 if you have the `getlogin' function. */
+ #undef HAVE_GETLOGIN
+ 
+ /* Define if you have a working getmsg. */
+ #undef HAVE_GETMSG
+ 
+-/* Define if you have the `getnameinfo' function. */
++/* Define to 1 if you have the `getnameinfo' function. */
+ #undef HAVE_GETNAMEINFO
+ 
+-/* Define if you have the `getopt' function. */
++/* Define to 1 if you have the `getopt' function. */
+ #undef HAVE_GETOPT
+ 
+-/* Define if you have the `getprogname' function. */
++/* Define to 1 if you have the `getprogname' function. */
+ #undef HAVE_GETPROGNAME
+ 
+-/* Define if you have the `getpwnam_r' function. */
++/* Define to 1 if you have the `getpwnam_r' function. */
+ #undef HAVE_GETPWNAM_R
+ 
+-/* Define if you have the `getrlimit' function. */
++/* Define to 1 if you have the `getrlimit' function. */
+ #undef HAVE_GETRLIMIT
+ 
+-/* Define if you have the `getsockopt' function. */
++/* Define to 1 if you have the `getsockopt' function. */
+ #undef HAVE_GETSOCKOPT
+ 
+-/* Define if you have the `getspnam' function. */
++/* Define to 1 if you have the `getspnam' function. */
+ #undef HAVE_GETSPNAM
+ 
+-/* Define if you have the `gettimeofday' function. */
++/* Define to 1 if you have the `gettimeofday' function. */
+ #undef HAVE_GETTIMEOFDAY
+ 
+-/* Define if you have the `getudbnam' function. */
++/* Define to 1 if you have the `getudbnam' function. */
+ #undef HAVE_GETUDBNAM
+ 
+-/* Define if you have the `getuid' function. */
++/* Define to 1 if you have the `getuid' function. */
+ #undef HAVE_GETUID
+ 
+-/* Define if you have the `getusershell' function. */
++/* Define to 1 if you have the `getusershell' function. */
+ #undef HAVE_GETUSERSHELL
+ 
+ /* define if you have a glob() that groks GLOB_BRACE, GLOB_NOCHECK,
+    GLOB_QUOTE, GLOB_TILDE, and GLOB_LIMIT */
+ #undef HAVE_GLOB
+ 
+-/* Define if you have the `grantpt' function. */
++/* Define to 1 if you have the `grantpt' function. */
+ #undef HAVE_GRANTPT
+ 
+-/* Define if you have the <grp.h> header file. */
++/* Define to 1 if you have the <grp.h> header file. */
+ #undef HAVE_GRP_H
+ 
+-/* Define if you have the `hstrerror' function. */
++/* Define to 1 if you have the `hstrerror' function. */
+ #undef HAVE_HSTRERROR
+ 
+ /* Define if you have the `h_errlist' variable. */
+@@ -339,133 +339,133 @@
+ /* define if your system declares h_nerr */
+ #undef HAVE_H_NERR_DECLARATION
+ 
+-/* Define if you have the <ifaddrs.h> header file. */
++/* Define to 1 if you have the <ifaddrs.h> header file. */
+ #undef HAVE_IFADDRS_H
+ 
+ /* Define if you have the in6addr_loopback variable */
+ #undef HAVE_IN6ADDR_LOOPBACK
+ 
+-/* Define if you have the `inet_aton' function. */
++/* Define to 1 if you have the `inet_aton' function. */
+ #undef HAVE_INET_ATON
+ 
+-/* Define if you have the `inet_ntop' function. */
++/* Define to 1 if you have the `inet_ntop' function. */
+ #undef HAVE_INET_NTOP
+ 
+-/* Define if you have the `inet_pton' function. */
++/* Define to 1 if you have the `inet_pton' function. */
+ #undef HAVE_INET_PTON
+ 
+-/* Define if you have the `initgroups' function. */
++/* Define to 1 if you have the `initgroups' function. */
+ #undef HAVE_INITGROUPS
+ 
+-/* Define if you have the `initstate' function. */
++/* Define to 1 if you have the `initstate' function. */
+ #undef HAVE_INITSTATE
+ 
+-/* Define if you have the `innetgr' function. */
++/* Define to 1 if you have the `innetgr' function. */
+ #undef HAVE_INNETGR
+ 
+-/* Define if you have the <inttypes.h> header file. */
++/* Define to 1 if you have the <inttypes.h> header file. */
+ #undef HAVE_INTTYPES_H
+ 
+-/* Define if you have the <io.h> header file. */
++/* Define to 1 if you have the <io.h> header file. */
+ #undef HAVE_IO_H
+ 
+ /* Define if you have IPv6. */
+ #undef HAVE_IPV6
+ 
+-/* Define if you have the `iruserok' function. */
++/* Define to 1 if you have the `iruserok' function. */
+ #undef HAVE_IRUSEROK
+ 
+-/* Define if you have the `issetugid' function. */
++/* Define to 1 if you have the `issetugid' function. */
+ #undef HAVE_ISSETUGID
+ 
+-/* Define if you have the `krb_disable_debug' function. */
++/* Define to 1 if you have the `krb_disable_debug' function. */
+ #undef HAVE_KRB_DISABLE_DEBUG
+ 
+-/* Define if you have the `krb_enable_debug' function. */
++/* Define to 1 if you have the `krb_enable_debug' function. */
+ #undef HAVE_KRB_ENABLE_DEBUG
+ 
+-/* Define if you have the `krb_get_our_ip_for_realm' function. */
++/* Define to 1 if you have the `krb_get_our_ip_for_realm' function. */
+ #undef HAVE_KRB_GET_OUR_IP_FOR_REALM
+ 
+-/* Define if you have the <libutil.h> header file. */
++/* Define to 1 if you have the <libutil.h> header file. */
+ #undef HAVE_LIBUTIL_H
+ 
+-/* Define if you have the <limits.h> header file. */
++/* Define to 1 if you have the <limits.h> header file. */
+ #undef HAVE_LIMITS_H
+ 
+-/* Define if you have the `logout' function. */
++/* Define to 1 if you have the `logout' function. */
+ #undef HAVE_LOGOUT
+ 
+-/* Define if you have the `logwtmp' function. */
++/* Define to 1 if you have the `logwtmp' function. */
+ #undef HAVE_LOGWTMP
+ 
+-/* Define if the system has the type `long long'. */
++/* Define to 1 if the system has the type `long long'. */
+ #undef HAVE_LONG_LONG
+ 
+-/* Define if you have the `lstat' function. */
++/* Define to 1 if you have the `lstat' function. */
+ #undef HAVE_LSTAT
+ 
+-/* Define if you have the <maillock.h> header file. */
++/* Define to 1 if you have the <maillock.h> header file. */
+ #undef HAVE_MAILLOCK_H
+ 
+-/* Define if you have the `memmove' function. */
++/* Define to 1 if you have the `memmove' function. */
+ #undef HAVE_MEMMOVE
+ 
+-/* Define if you have the <memory.h> header file. */
++/* Define to 1 if you have the <memory.h> header file. */
+ #undef HAVE_MEMORY_H
+ 
+-/* Define if you have the `mkstemp' function. */
++/* Define to 1 if you have the `mkstemp' function. */
+ #undef HAVE_MKSTEMP
+ 
+-/* Define if you have the `mktime' function. */
++/* Define to 1 if you have the `mktime' function. */
+ #undef HAVE_MKTIME
+ 
+ /* define if you have a ndbm library */
+ #undef HAVE_NDBM
+ 
+-/* Define if you have the <ndbm.h> header file. */
++/* Define to 1 if you have the <ndbm.h> header file. */
+ #undef HAVE_NDBM_H
+ 
+-/* Define if you have the <netdb.h> header file. */
++/* Define to 1 if you have the <netdb.h> header file. */
+ #undef HAVE_NETDB_H
+ 
+-/* Define if you have the <netinet6/in6.h> header file. */
++/* Define to 1 if you have the <netinet6/in6.h> header file. */
+ #undef HAVE_NETINET6_IN6_H
+ 
+-/* Define if you have the <netinet6/in6_var.h> header file. */
++/* Define to 1 if you have the <netinet6/in6_var.h> header file. */
+ #undef HAVE_NETINET6_IN6_VAR_H
+ 
+-/* Define if you have the <netinet/in6.h> header file. */
++/* Define to 1 if you have the <netinet/in6.h> header file. */
+ #undef HAVE_NETINET_IN6_H
+ 
+-/* Define if you have the <netinet/in6_machtypes.h> header file. */
++/* Define to 1 if you have the <netinet/in6_machtypes.h> header file. */
+ #undef HAVE_NETINET_IN6_MACHTYPES_H
+ 
+-/* Define if you have the <netinet/in6_var.h> header file. */
++/* Define to 1 if you have the <netinet/in6_var.h> header file. */
+ #undef HAVE_NETINET_IN6_VAR_H
+ 
+-/* Define if you have the <netinet/in.h> header file. */
++/* Define to 1 if you have the <netinet/in.h> header file. */
+ #undef HAVE_NETINET_IN_H
+ 
+-/* Define if you have the <netinet/in_systm.h> header file. */
++/* Define to 1 if you have the <netinet/in_systm.h> header file. */
+ #undef HAVE_NETINET_IN_SYSTM_H
+ 
+-/* Define if you have the <netinet/ip.h> header file. */
++/* Define to 1 if you have the <netinet/ip.h> header file. */
+ #undef HAVE_NETINET_IP_H
+ 
+-/* Define if you have the <netinet/tcp.h> header file. */
++/* Define to 1 if you have the <netinet/tcp.h> header file. */
+ #undef HAVE_NETINET_TCP_H
+ 
+ /* Define if you want to use Netinfo instead of krb5.conf. */
+ #undef HAVE_NETINFO
+ 
+-/* Define if you have the <netinfo/ni.h> header file. */
++/* Define to 1 if you have the <netinfo/ni.h> header file. */
+ #undef HAVE_NETINFO_NI_H
+ 
+-/* Define if you have the <net/if.h> header file. */
++/* Define to 1 if you have the <net/if.h> header file. */
+ #undef HAVE_NET_IF_H
+ 
+-/* Define if you have the `openpty' function. */
++/* Define to 1 if you have the `openpty' function. */
+ #undef HAVE_OPENPTY
+ 
+ /* define to use openssl's libcrypto */
+@@ -486,232 +486,232 @@
+ /* Define to enable basic OSF C2 support. */
+ #undef HAVE_OSFC2
+ 
+-/* Define if you have the <paths.h> header file. */
++/* Define to 1 if you have the <paths.h> header file. */
+ #undef HAVE_PATHS_H
+ 
+-/* Define if you have the `pidfile' function. */
++/* Define to 1 if you have the `pidfile' function. */
+ #undef HAVE_PIDFILE
+ 
+-/* Define if you have the <pthread.h> header file. */
++/* Define to 1 if you have the <pthread.h> header file. */
+ #undef HAVE_PTHREAD_H
+ 
+-/* Define if you have the `ptsname' function. */
++/* Define to 1 if you have the `ptsname' function. */
+ #undef HAVE_PTSNAME
+ 
+-/* Define if you have the <pty.h> header file. */
++/* Define to 1 if you have the <pty.h> header file. */
+ #undef HAVE_PTY_H
+ 
+-/* Define if you have the `putenv' function. */
++/* Define to 1 if you have the `putenv' function. */
+ #undef HAVE_PUTENV
+ 
+-/* Define if you have the <pwd.h> header file. */
++/* Define to 1 if you have the <pwd.h> header file. */
+ #undef HAVE_PWD_H
+ 
+-/* Define if you have the `rand' function. */
++/* Define to 1 if you have the `rand' function. */
+ #undef HAVE_RAND
+ 
+-/* Define if you have the `random' function. */
++/* Define to 1 if you have the `random' function. */
+ #undef HAVE_RANDOM
+ 
+-/* Define if you have the `rcmd' function. */
++/* Define to 1 if you have the `rcmd' function. */
+ #undef HAVE_RCMD
+ 
+ /* Define if you have a readline compatible library. */
+ #undef HAVE_READLINE
+ 
+-/* Define if you have the `readv' function. */
++/* Define to 1 if you have the `readv' function. */
+ #undef HAVE_READV
+ 
+-/* Define if you have the `recvmsg' function. */
++/* Define to 1 if you have the `recvmsg' function. */
+ #undef HAVE_RECVMSG
+ 
+-/* Define if you have the <resolv.h> header file. */
++/* Define to 1 if you have the <resolv.h> header file. */
+ #undef HAVE_RESOLV_H
+ 
+-/* Define if you have the `res_search' function. */
++/* Define to 1 if you have the `res_search' function. */
+ #undef HAVE_RES_SEARCH
+ 
+-/* Define if you have the `revoke' function. */
++/* Define to 1 if you have the `revoke' function. */
+ #undef HAVE_REVOKE
+ 
+-/* Define if you have the <rpcsvc/ypclnt.h> header file. */
++/* Define to 1 if you have the <rpcsvc/ypclnt.h> header file. */
+ #undef HAVE_RPCSVC_YPCLNT_H
+ 
+-/* Define if you have the <sac.h> header file. */
++/* Define to 1 if you have the <sac.h> header file. */
+ #undef HAVE_SAC_H
+ 
+-/* Define if the system has the type `sa_family_t'. */
++/* Define to 1 if the system has the type `sa_family_t'. */
+ #undef HAVE_SA_FAMILY_T
+ 
+-/* Define if you have the <security/pam_modules.h> header file. */
++/* Define to 1 if you have the <security/pam_modules.h> header file. */
+ #undef HAVE_SECURITY_PAM_MODULES_H
+ 
+-/* Define if you have the `select' function. */
++/* Define to 1 if you have the `select' function. */
+ #undef HAVE_SELECT
+ 
+-/* Define if you have the `sendmsg' function. */
++/* Define to 1 if you have the `sendmsg' function. */
+ #undef HAVE_SENDMSG
+ 
+-/* Define if you have the `setegid' function. */
++/* Define to 1 if you have the `setegid' function. */
+ #undef HAVE_SETEGID
+ 
+-/* Define if you have the `setenv' function. */
++/* Define to 1 if you have the `setenv' function. */
+ #undef HAVE_SETENV
+ 
+-/* Define if you have the `seteuid' function. */
++/* Define to 1 if you have the `seteuid' function. */
+ #undef HAVE_SETEUID
+ 
+-/* Define if you have the `setitimer' function. */
++/* Define to 1 if you have the `setitimer' function. */
+ #undef HAVE_SETITIMER
+ 
+-/* Define if you have the `setlim' function. */
++/* Define to 1 if you have the `setlim' function. */
+ #undef HAVE_SETLIM
+ 
+-/* Define if you have the `setlogin' function. */
++/* Define to 1 if you have the `setlogin' function. */
+ #undef HAVE_SETLOGIN
+ 
+-/* Define if you have the `setpcred' function. */
++/* Define to 1 if you have the `setpcred' function. */
+ #undef HAVE_SETPCRED
+ 
+-/* Define if you have the `setpgid' function. */
++/* Define to 1 if you have the `setpgid' function. */
+ #undef HAVE_SETPGID
+ 
+-/* Define if you have the `setproctitle' function. */
++/* Define to 1 if you have the `setproctitle' function. */
+ #undef HAVE_SETPROCTITLE
+ 
+-/* Define if you have the `setprogname' function. */
++/* Define to 1 if you have the `setprogname' function. */
+ #undef HAVE_SETPROGNAME
+ 
+-/* Define if you have the `setregid' function. */
++/* Define to 1 if you have the `setregid' function. */
+ #undef HAVE_SETREGID
+ 
+-/* Define if you have the `setresgid' function. */
++/* Define to 1 if you have the `setresgid' function. */
+ #undef HAVE_SETRESGID
+ 
+-/* Define if you have the `setresuid' function. */
++/* Define to 1 if you have the `setresuid' function. */
+ #undef HAVE_SETRESUID
+ 
+-/* Define if you have the `setreuid' function. */
++/* Define to 1 if you have the `setreuid' function. */
+ #undef HAVE_SETREUID
+ 
+-/* Define if you have the `setsid' function. */
++/* Define to 1 if you have the `setsid' function. */
+ #undef HAVE_SETSID
+ 
+-/* Define if you have the `setsockopt' function. */
++/* Define to 1 if you have the `setsockopt' function. */
+ #undef HAVE_SETSOCKOPT
+ 
+-/* Define if you have the `setstate' function. */
++/* Define to 1 if you have the `setstate' function. */
+ #undef HAVE_SETSTATE
+ 
+-/* Define if you have the `setutent' function. */
++/* Define to 1 if you have the `setutent' function. */
+ #undef HAVE_SETUTENT
+ 
+-/* Define if you have the `sgi_getcapabilitybyname' function. */
++/* Define to 1 if you have the `sgi_getcapabilitybyname' function. */
+ #undef HAVE_SGI_GETCAPABILITYBYNAME
+ 
+-/* Define if you have the <sgtty.h> header file. */
++/* Define to 1 if you have the <sgtty.h> header file. */
+ #undef HAVE_SGTTY_H
+ 
+-/* Define if you have the <shadow.h> header file. */
++/* Define to 1 if you have the <shadow.h> header file. */
+ #undef HAVE_SHADOW_H
+ 
+-/* Define if you have the <siad.h> header file. */
++/* Define to 1 if you have the <siad.h> header file. */
+ #undef HAVE_SIAD_H
+ 
+-/* Define if you have the `sigaction' function. */
++/* Define to 1 if you have the `sigaction' function. */
+ #undef HAVE_SIGACTION
+ 
+-/* Define if you have the <signal.h> header file. */
++/* Define to 1 if you have the <signal.h> header file. */
+ #undef HAVE_SIGNAL_H
+ 
+ /* define if you have a working snprintf */
+ #undef HAVE_SNPRINTF
+ 
+-/* Define if you have the `socket' function. */
++/* Define to 1 if you have the `socket' function. */
+ #undef HAVE_SOCKET
+ 
+-/* Define if the system has the type `socklen_t'. */
++/* Define to 1 if the system has the type `socklen_t'. */
+ #undef HAVE_SOCKLEN_T
+ 
+-/* Define if you have the <standards.h> header file. */
++/* Define to 1 if you have the <standards.h> header file. */
+ #undef HAVE_STANDARDS_H
+ 
+-/* Define if you have the <stdint.h> header file. */
++/* Define to 1 if you have the <stdint.h> header file. */
+ #undef HAVE_STDINT_H
+ 
+-/* Define if you have the <stdlib.h> header file. */
++/* Define to 1 if you have the <stdlib.h> header file. */
+ #undef HAVE_STDLIB_H
+ 
+-/* Define if you have the `strcasecmp' function. */
++/* Define to 1 if you have the `strcasecmp' function. */
+ #undef HAVE_STRCASECMP
+ 
+-/* Define if you have the `strdup' function. */
++/* Define to 1 if you have the `strdup' function. */
+ #undef HAVE_STRDUP
+ 
+-/* Define if you have the `strerror' function. */
++/* Define to 1 if you have the `strerror' function. */
+ #undef HAVE_STRERROR
+ 
+-/* Define if you have the `strftime' function. */
++/* Define to 1 if you have the `strftime' function. */
+ #undef HAVE_STRFTIME
+ 
+-/* Define if you have the <strings.h> header file. */
++/* Define to 1 if you have the <strings.h> header file. */
+ #undef HAVE_STRINGS_H
+ 
+-/* Define if you have the <string.h> header file. */
++/* Define to 1 if you have the <string.h> header file. */
+ #undef HAVE_STRING_H
+ 
+-/* Define if you have the `strlcat' function. */
++/* Define to 1 if you have the `strlcat' function. */
+ #undef HAVE_STRLCAT
+ 
+-/* Define if you have the `strlcpy' function. */
++/* Define to 1 if you have the `strlcpy' function. */
+ #undef HAVE_STRLCPY
+ 
+-/* Define if you have the `strlwr' function. */
++/* Define to 1 if you have the `strlwr' function. */
+ #undef HAVE_STRLWR
+ 
+-/* Define if you have the `strncasecmp' function. */
++/* Define to 1 if you have the `strncasecmp' function. */
+ #undef HAVE_STRNCASECMP
+ 
+-/* Define if you have the `strndup' function. */
++/* Define to 1 if you have the `strndup' function. */
+ #undef HAVE_STRNDUP
+ 
+-/* Define if you have the `strnlen' function. */
++/* Define to 1 if you have the `strnlen' function. */
+ #undef HAVE_STRNLEN
+ 
+-/* Define if you have the <stropts.h> header file. */
++/* Define to 1 if you have the <stropts.h> header file. */
+ #undef HAVE_STROPTS_H
+ 
+-/* Define if you have the `strptime' function. */
++/* Define to 1 if you have the `strptime' function. */
+ #undef HAVE_STRPTIME
+ 
+-/* Define if you have the `strsep' function. */
++/* Define to 1 if you have the `strsep' function. */
+ #undef HAVE_STRSEP
+ 
+-/* Define if you have the `strsep_copy' function. */
++/* Define to 1 if you have the `strsep_copy' function. */
+ #undef HAVE_STRSEP_COPY
+ 
+-/* Define if you have the `strstr' function. */
++/* Define to 1 if you have the `strstr' function. */
+ #undef HAVE_STRSTR
+ 
+-/* Define if you have the `strsvis' function. */
++/* Define to 1 if you have the `strsvis' function. */
+ #undef HAVE_STRSVIS
+ 
+-/* Define if you have the `strtok_r' function. */
++/* Define to 1 if you have the `strtok_r' function. */
+ #undef HAVE_STRTOK_R
+ 
+-/* Define if the system has the type `struct addrinfo'. */
++/* Define to 1 if the system has the type `struct addrinfo'. */
+ #undef HAVE_STRUCT_ADDRINFO
+ 
+-/* Define if the system has the type `struct ifaddrs'. */
++/* Define to 1 if the system has the type `struct ifaddrs'. */
+ #undef HAVE_STRUCT_IFADDRS
+ 
+-/* Define if the system has the type `struct sockaddr'. */
++/* Define to 1 if the system has the type `struct sockaddr'. */
+ #undef HAVE_STRUCT_SOCKADDR
+ 
+ /* Define if struct sockaddr has field sa_len. */
+ #undef HAVE_STRUCT_SOCKADDR_SA_LEN
+ 
+-/* Define if the system has the type `struct sockaddr_storage'. */
++/* Define to 1 if the system has the type `struct sockaddr_storage'. */
+ #undef HAVE_STRUCT_SOCKADDR_STORAGE
+ 
+ /* define if you have struct spwd */
+@@ -750,151 +750,151 @@
+ /* define if struct winsize is declared in sys/termios.h */
+ #undef HAVE_STRUCT_WINSIZE
+ 
+-/* Define if you have the `strunvis' function. */
++/* Define to 1 if you have the `strunvis' function. */
+ #undef HAVE_STRUNVIS
+ 
+-/* Define if you have the `strupr' function. */
++/* Define to 1 if you have the `strupr' function. */
+ #undef HAVE_STRUPR
+ 
+-/* Define if you have the `strvis' function. */
++/* Define to 1 if you have the `strvis' function. */
+ #undef HAVE_STRVIS
+ 
+-/* Define if you have the `strvisx' function. */
++/* Define to 1 if you have the `strvisx' function. */
+ #undef HAVE_STRVISX
+ 
+-/* Define if you have the `svis' function. */
++/* Define to 1 if you have the `svis' function. */
+ #undef HAVE_SVIS
+ 
+-/* Define if you have the `swab' function. */
++/* Define to 1 if you have the `swab' function. */
+ #undef HAVE_SWAB
+ 
+-/* Define if you have the `sysconf' function. */
++/* Define to 1 if you have the `sysconf' function. */
+ #undef HAVE_SYSCONF
+ 
+-/* Define if you have the `sysctl' function. */
++/* Define to 1 if you have the `sysctl' function. */
+ #undef HAVE_SYSCTL
+ 
+-/* Define if you have the `syslog' function. */
++/* Define to 1 if you have the `syslog' function. */
+ #undef HAVE_SYSLOG
+ 
+-/* Define if you have the <syslog.h> header file. */
++/* Define to 1 if you have the <syslog.h> header file. */
+ #undef HAVE_SYSLOG_H
+ 
+-/* Define if you have the <sys/bitypes.h> header file. */
++/* Define to 1 if you have the <sys/bitypes.h> header file. */
+ #undef HAVE_SYS_BITYPES_H
+ 
+-/* Define if you have the <sys/bswap.h> header file. */
++/* Define to 1 if you have the <sys/bswap.h> header file. */
+ #undef HAVE_SYS_BSWAP_H
+ 
+-/* Define if you have the <sys/capability.h> header file. */
++/* Define to 1 if you have the <sys/capability.h> header file. */
+ #undef HAVE_SYS_CAPABILITY_H
+ 
+-/* Define if you have the <sys/category.h> header file. */
++/* Define to 1 if you have the <sys/category.h> header file. */
+ #undef HAVE_SYS_CATEGORY_H
+ 
+-/* Define if you have the <sys/file.h> header file. */
++/* Define to 1 if you have the <sys/file.h> header file. */
+ #undef HAVE_SYS_FILE_H
+ 
+-/* Define if you have the <sys/filio.h> header file. */
++/* Define to 1 if you have the <sys/filio.h> header file. */
+ #undef HAVE_SYS_FILIO_H
+ 
+-/* Define if you have the <sys/ioccom.h> header file. */
++/* Define to 1 if you have the <sys/ioccom.h> header file. */
+ #undef HAVE_SYS_IOCCOM_H
+ 
+-/* Define if you have the <sys/ioctl.h> header file. */
++/* Define to 1 if you have the <sys/ioctl.h> header file. */
+ #undef HAVE_SYS_IOCTL_H
+ 
+-/* Define if you have the <sys/param.h> header file. */
++/* Define to 1 if you have the <sys/param.h> header file. */
+ #undef HAVE_SYS_PARAM_H
+ 
+-/* Define if you have the <sys/proc.h> header file. */
++/* Define to 1 if you have the <sys/proc.h> header file. */
+ #undef HAVE_SYS_PROC_H
+ 
+-/* Define if you have the <sys/ptyio.h> header file. */
++/* Define to 1 if you have the <sys/ptyio.h> header file. */
+ #undef HAVE_SYS_PTYIO_H
+ 
+-/* Define if you have the <sys/ptyvar.h> header file. */
++/* Define to 1 if you have the <sys/ptyvar.h> header file. */
+ #undef HAVE_SYS_PTYVAR_H
+ 
+-/* Define if you have the <sys/pty.h> header file. */
++/* Define to 1 if you have the <sys/pty.h> header file. */
+ #undef HAVE_SYS_PTY_H
+ 
+-/* Define if you have the <sys/resource.h> header file. */
++/* Define to 1 if you have the <sys/resource.h> header file. */
+ #undef HAVE_SYS_RESOURCE_H
+ 
+-/* Define if you have the <sys/select.h> header file. */
++/* Define to 1 if you have the <sys/select.h> header file. */
+ #undef HAVE_SYS_SELECT_H
+ 
+-/* Define if you have the <sys/socket.h> header file. */
++/* Define to 1 if you have the <sys/socket.h> header file. */
+ #undef HAVE_SYS_SOCKET_H
+ 
+-/* Define if you have the <sys/sockio.h> header file. */
++/* Define to 1 if you have the <sys/sockio.h> header file. */
+ #undef HAVE_SYS_SOCKIO_H
+ 
+-/* Define if you have the <sys/stat.h> header file. */
++/* Define to 1 if you have the <sys/stat.h> header file. */
+ #undef HAVE_SYS_STAT_H
+ 
+-/* Define if you have the <sys/stream.h> header file. */
++/* Define to 1 if you have the <sys/stream.h> header file. */
+ #undef HAVE_SYS_STREAM_H
+ 
+-/* Define if you have the <sys/stropts.h> header file. */
++/* Define to 1 if you have the <sys/stropts.h> header file. */
+ #undef HAVE_SYS_STROPTS_H
+ 
+-/* Define if you have the <sys/strtty.h> header file. */
++/* Define to 1 if you have the <sys/strtty.h> header file. */
+ #undef HAVE_SYS_STRTTY_H
+ 
+-/* Define if you have the <sys/str_tty.h> header file. */
++/* Define to 1 if you have the <sys/str_tty.h> header file. */
+ #undef HAVE_SYS_STR_TTY_H
+ 
+-/* Define if you have the <sys/syscall.h> header file. */
++/* Define to 1 if you have the <sys/syscall.h> header file. */
+ #undef HAVE_SYS_SYSCALL_H
+ 
+-/* Define if you have the <sys/sysctl.h> header file. */
++/* Define to 1 if you have the <sys/sysctl.h> header file. */
+ #undef HAVE_SYS_SYSCTL_H
+ 
+-/* Define if you have the <sys/termio.h> header file. */
++/* Define to 1 if you have the <sys/termio.h> header file. */
+ #undef HAVE_SYS_TERMIO_H
+ 
+-/* Define if you have the <sys/timeb.h> header file. */
++/* Define to 1 if you have the <sys/timeb.h> header file. */
+ #undef HAVE_SYS_TIMEB_H
+ 
+-/* Define if you have the <sys/times.h> header file. */
++/* Define to 1 if you have the <sys/times.h> header file. */
+ #undef HAVE_SYS_TIMES_H
+ 
+-/* Define if you have the <sys/time.h> header file. */
++/* Define to 1 if you have the <sys/time.h> header file. */
+ #undef HAVE_SYS_TIME_H
+ 
+-/* Define if you have the <sys/tty.h> header file. */
++/* Define to 1 if you have the <sys/tty.h> header file. */
+ #undef HAVE_SYS_TTY_H
+ 
+-/* Define if you have the <sys/types.h> header file. */
++/* Define to 1 if you have the <sys/types.h> header file. */
+ #undef HAVE_SYS_TYPES_H
+ 
+-/* Define if you have the <sys/uio.h> header file. */
++/* Define to 1 if you have the <sys/uio.h> header file. */
+ #undef HAVE_SYS_UIO_H
+ 
+-/* Define if you have the <sys/un.h> header file. */
++/* Define to 1 if you have the <sys/un.h> header file. */
+ #undef HAVE_SYS_UN_H
+ 
+-/* Define if you have the <sys/utsname.h> header file. */
++/* Define to 1 if you have the <sys/utsname.h> header file. */
+ #undef HAVE_SYS_UTSNAME_H
+ 
+-/* Define if you have the <sys/wait.h> header file. */
++/* Define to 1 if you have the <sys/wait.h> header file. */
+ #undef HAVE_SYS_WAIT_H
+ 
+-/* Define if you have the <termios.h> header file. */
++/* Define to 1 if you have the <termios.h> header file. */
+ #undef HAVE_TERMIOS_H
+ 
+-/* Define if you have the <termio.h> header file. */
++/* Define to 1 if you have the <termio.h> header file. */
+ #undef HAVE_TERMIO_H
+ 
+-/* Define if you have the <term.h> header file. */
++/* Define to 1 if you have the <term.h> header file. */
+ #undef HAVE_TERM_H
+ 
+-/* Define if you have the `tgetent' function. */
++/* Define to 1 if you have the `tgetent' function. */
+ #undef HAVE_TGETENT
+ 
+-/* Define if you have the `timegm' function. */
++/* Define to 1 if you have the `timegm' function. */
+ #undef HAVE_TIMEGM
+ 
+ /* Define if you have the `timezone' variable. */
+@@ -903,94 +903,94 @@
+ /* define if your system declares timezone */
+ #undef HAVE_TIMEZONE_DECLARATION
+ 
+-/* Define if you have the <time.h> header file. */
++/* Define to 1 if you have the <time.h> header file. */
+ #undef HAVE_TIME_H
+ 
+-/* Define if you have the <tmpdir.h> header file. */
++/* Define to 1 if you have the <tmpdir.h> header file. */
+ #undef HAVE_TMPDIR_H
+ 
+-/* Define if you have the `ttyname' function. */
++/* Define to 1 if you have the `ttyname' function. */
+ #undef HAVE_TTYNAME
+ 
+-/* Define if you have the `ttyslot' function. */
++/* Define to 1 if you have the `ttyslot' function. */
+ #undef HAVE_TTYSLOT
+ 
+-/* Define if you have the <udb.h> header file. */
++/* Define to 1 if you have the <udb.h> header file. */
+ #undef HAVE_UDB_H
+ 
+-/* Define if you have the `umask' function. */
++/* Define to 1 if you have the `umask' function. */
+ #undef HAVE_UMASK
+ 
+-/* Define if you have the `uname' function. */
++/* Define to 1 if you have the `uname' function. */
+ #undef HAVE_UNAME
+ 
+-/* Define if you have the <unistd.h> header file. */
++/* Define to 1 if you have the <unistd.h> header file. */
+ #undef HAVE_UNISTD_H
+ 
+-/* Define if you have the `unlockpt' function. */
++/* Define to 1 if you have the `unlockpt' function. */
+ #undef HAVE_UNLOCKPT
+ 
+-/* Define if you have the `unsetenv' function. */
++/* Define to 1 if you have the `unsetenv' function. */
+ #undef HAVE_UNSETENV
+ 
+-/* Define if you have the `unvis' function. */
++/* Define to 1 if you have the `unvis' function. */
+ #undef HAVE_UNVIS
+ 
+-/* Define if you have the <userconf.h> header file. */
++/* Define to 1 if you have the <userconf.h> header file. */
+ #undef HAVE_USERCONF_H
+ 
+-/* Define if you have the <usersec.h> header file. */
++/* Define to 1 if you have the <usersec.h> header file. */
+ #undef HAVE_USERSEC_H
+ 
+-/* Define if you have the <util.h> header file. */
++/* Define to 1 if you have the <util.h> header file. */
+ #undef HAVE_UTIL_H
+ 
+-/* Define if you have the <utmpx.h> header file. */
++/* Define to 1 if you have the <utmpx.h> header file. */
+ #undef HAVE_UTMPX_H
+ 
+-/* Define if you have the <utmp.h> header file. */
++/* Define to 1 if you have the <utmp.h> header file. */
+ #undef HAVE_UTMP_H
+ 
+-/* Define if you have the `vasnprintf' function. */
++/* Define to 1 if you have the `vasnprintf' function. */
+ #undef HAVE_VASNPRINTF
+ 
+-/* Define if you have the `vasprintf' function. */
++/* Define to 1 if you have the `vasprintf' function. */
+ #undef HAVE_VASPRINTF
+ 
+-/* Define if you have the `verr' function. */
++/* Define to 1 if you have the `verr' function. */
+ #undef HAVE_VERR
+ 
+-/* Define if you have the `verrx' function. */
++/* Define to 1 if you have the `verrx' function. */
+ #undef HAVE_VERRX
+ 
+-/* Define if you have the `vhangup' function. */
++/* Define to 1 if you have the `vhangup' function. */
+ #undef HAVE_VHANGUP
+ 
+-/* Define if you have the `vis' function. */
++/* Define to 1 if you have the `vis' function. */
+ #undef HAVE_VIS
+ 
+-/* Define if you have the <vis.h> header file. */
++/* Define to 1 if you have the <vis.h> header file. */
+ #undef HAVE_VIS_H
+ 
+ /* define if you have a working vsnprintf */
+ #undef HAVE_VSNPRINTF
+ 
+-/* Define if you have the `vsyslog' function. */
++/* Define to 1 if you have the `vsyslog' function. */
+ #undef HAVE_VSYSLOG
+ 
+-/* Define if you have the `vwarn' function. */
++/* Define to 1 if you have the `vwarn' function. */
+ #undef HAVE_VWARN
+ 
+-/* Define if you have the `vwarnx' function. */
++/* Define to 1 if you have the `vwarnx' function. */
+ #undef HAVE_VWARNX
+ 
+-/* Define if you have the `warn' function. */
++/* Define to 1 if you have the `warn' function. */
+ #undef HAVE_WARN
+ 
+-/* Define if you have the `warnx' function. */
++/* Define to 1 if you have the `warnx' function. */
+ #undef HAVE_WARNX
+ 
+-/* Define if you have the `writev' function. */
++/* Define to 1 if you have the `writev' function. */
+ #undef HAVE_WRITEV
+ 
+ /* define if struct winsize has ws_xpixel */
+@@ -999,22 +999,22 @@
+ /* define if struct winsize has ws_ypixel */
+ #undef HAVE_WS_YPIXEL
+ 
+-/* Define if you have the `XauFileName' function. */
++/* Define to 1 if you have the `XauFileName' function. */
+ #undef HAVE_XAUFILENAME
+ 
+-/* Define if you have the `XauReadAuth' function. */
++/* Define to 1 if you have the `XauReadAuth' function. */
+ #undef HAVE_XAUREADAUTH
+ 
+-/* Define if you have the `XauWriteAuth' function. */
++/* Define to 1 if you have the `XauWriteAuth' function. */
+ #undef HAVE_XAUWRITEAUTH
+ 
+-/* Define if you have the `yp_get_default_domain' function. */
++/* Define to 1 if you have the `yp_get_default_domain' function. */
+ #undef HAVE_YP_GET_DEFAULT_DOMAIN
+ 
+-/* Define if you have the `_getpty' function. */
++/* Define to 1 if you have the `_getpty' function. */
+ #undef HAVE__GETPTY
+ 
+-/* Define if you have the `_scrsize' function. */
++/* Define to 1 if you have the `_scrsize' function. */
+ #undef HAVE__SCRSIZE
+ 
+ /* define if your compiler has __attribute__ */
+@@ -1108,12 +1108,27 @@
+    *, int, int) */
+ #undef OPENLOG_PROTO_COMPATIBLE
+ 
+-/* Define if you want OTP support in applications. */
++/* Define if you have the otp package. */
+ #undef OTP
+ 
+ /* Name of package */
+ #undef PACKAGE
+ 
++/* Define to the address where bug reports for this package should be sent. */
++#undef PACKAGE_BUGREPORT
++
++/* Define to the full name of this package. */
++#undef PACKAGE_NAME
++
++/* Define to the full name and version of this package. */
++#undef PACKAGE_STRING
++
++/* Define to the one symbol short name of this package. */
++#undef PACKAGE_TARNAME
++
++/* Define to the version of this package. */
++#undef PACKAGE_VERSION
++
+ /* Define if getlogin has POSIX flavour (and not BSD). */
+ #undef POSIX_GETLOGIN
+ 
+@@ -1126,7 +1141,13 @@
+ /* Define as the return type of signal handlers (`int' or `void'). */
+ #undef RETSIGTYPE
+ 
+-/* Define if you have the ANSI C header files. */
++/* Define if you have the sl package. */
++#undef SL
++
++/* Define if you have the ss package. */
++#undef SS
++
++/* Define to 1 if you have the ANSI C header files. */
+ #undef STDC_HEADERS
+ 
+ /* Define if you have streams ptys. */
+@@ -1135,10 +1156,10 @@
+ /* Define to what version of SunOS you are running. */
+ #undef SunOS
+ 
+-/* Define if you can safely include both <sys/time.h> and <time.h>. */
++/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
+ #undef TIME_WITH_SYS_TIME
+ 
+-/* Define if your <sys/time.h> declares `struct tm'. */
++/* Define to 1 if your <sys/time.h> declares `struct tm'. */
+ #undef TM_IN_SYS_TIME
+ 
+ /* Version number of package */
+@@ -1150,11 +1171,11 @@
+ /* define if target is big endian */
+ #undef WORDS_BIGENDIAN
+ 
+-/* Define if the X Window System is missing or not being used. */
++/* Define to 1 if the X Window System is missing or not being used. */
+ #undef X_DISPLAY_MISSING
+ 
+-/* Define if `lex' declares `yytext' as a `char *' by default, not a `char[]'.
+-   */
++/* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
++   `char[]'. */
+ #undef YYTEXT_POINTER
+ 
+ /* Define to empty if `const' does not conform to ANSI C. */
+diff -ruN heimdal-0.4e-old/include/kadm5/Makefile.in heimdal-0.4e/include/kadm5/Makefile.in
+--- heimdal-0.4e-old/include/kadm5/Makefile.in	Thu Sep  6 22:22:41 2001
++++ heimdal-0.4e/include/kadm5/Makefile.in	Sat Jun 15 19:35:25 2002
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.6 1999/03/20 13:58:17 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,13 +90,13 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+ LIB_ = @LIB_@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+-LIB_com_err = @LIB_com_err@
+ LIB_com_err_a = @LIB_com_err_a@
+ LIB_com_err_so = @LIB_com_err_so@
+ LIB_des = @LIB_des@
+@@ -100,12 +104,10 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+-LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,19 +121,19 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+-
+-# $Id: Makefile.am,v 1.6 1999/03/20 13:58:17 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
++LIB_com_err = @LIB_com_err@
++LIB_otp = @LIB_otp@
++LIB_roken = @LIB_roken@
+ 
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+@@ -185,57 +187,80 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+ CLEANFILES = admin.h kadm5_err.h private.h
+ subdir = include/kadm5
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../include/config.h
+-CONFIG_CLEAN_FILES = 
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++depcomp =
+ CFLAGS = @CFLAGS@
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES = 
+-depcomp = 
+-DIST_COMMON =  Makefile.am Makefile.in
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++DIST_SOURCES =
++DIST_COMMON = Makefile.am Makefile.in
++all: all-am
+ 
++.SUFFIXES:
++.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c
+ 
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-GZIP_ENV = --best
+-all: all-redirect
+-.SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign include/kadm5/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  include/kadm5/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
++uninstall-info-am:
+ tags: TAGS
+ TAGS:
+ 
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -245,72 +270,87 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-install-exec-am:
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++all-am: Makefile all-local
+ 
+-install-data-am: install-data-local
+-install-data: install-data-am
++installdirs:
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am:
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-generic clean-libtool mostlyclean-am
+ 
+-clean-am:  clean-generic mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-generic distclean-libtool
+ 
+-distclean-am:  distclean-generic clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local
++
++install-exec-am:
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man:
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-am
+ 
+-.PHONY: tags distdir info-am info dvi-am dvi check-local check check-am \
+-installcheck-am installcheck install-exec-am install-exec \
+-install-data-local install-data-am install-data install-am install \
+-uninstall-am uninstall all-local all-redirect all-am all install-strip \
+-installdirs mostlyclean-generic distclean-generic clean-generic \
+-maintainer-clean-generic clean mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-generic mostlyclean-libtool
++
++uninstall-am: uninstall-info-am
++
++.PHONY: all all-am all-local check check-am check-local clean \
++	clean-generic clean-libtool distclean distclean-generic \
++	distclean-libtool distdir dvi dvi-am info info-am install \
++	install-am install-data install-data-am install-data-local \
++	install-exec install-exec-am install-info install-info-am \
++	install-man install-strip installcheck installcheck-am \
++	installdirs maintainer-clean maintainer-clean-generic \
++	mostlyclean mostlyclean-generic mostlyclean-libtool uninstall \
++	uninstall-am uninstall-info-am
+ 
+ 
+ install-suid-programs:
+@@ -440,7 +480,6 @@
+ 	  echo "$$dashes"; \
+ 	  test "$$failed" -eq 0; \
+ 	fi
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/kadmin/Makefile.in heimdal-0.4e/kadmin/Makefile.in
+--- heimdal-0.4e-old/kadmin/Makefile.in	Thu Sep  6 22:23:52 2001
++++ heimdal-0.4e/kadmin/Makefile.in	Sat Jun 15 19:35:25 2002
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.34 2001/08/28 08:31:26 assar Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,13 +90,13 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+ LIB_ = @LIB_@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+-LIB_com_err = @LIB_com_err@
+ LIB_com_err_a = @LIB_com_err_a@
+ LIB_com_err_so = @LIB_com_err_so@
+ LIB_des = @LIB_des@
+@@ -100,12 +104,10 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+-LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,19 +121,19 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+-
+-# $Id: Makefile.am,v 1.34 2001/08/28 08:31:26 assar Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
++LIB_com_err = @LIB_com_err@
++LIB_otp = @LIB_otp@
++LIB_roken = @LIB_roken@
+ 
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+@@ -185,17 +187,24 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+@@ -225,8 +234,8 @@
+ 	kadmin_locl.h
+ 
+ 
+-@KRB4_TRUE@KRB4LIB = @KRB4_TRUE@$(LIB_krb4)
+-@KRB4_TRUE@version4_c = @KRB4_TRUE@version4.c
++@KRB4_TRUE@KRB4LIB = $(LIB_krb4)
++@KRB4_TRUE@version4_c = version4.c
+ 
+ kadmind_SOURCES = \
+ 	kadmind.c				\
+@@ -259,7 +268,7 @@
+ kadmin_LDADD = \
+ 	$(top_builddir)/lib/kadm5/libkadm5clnt.la \
+ 	$(top_builddir)/lib/kadm5/libkadm5srv.la \
+-	$(top_builddir)/lib/sl/libsl.la \
++	$(LIB_sl) \
+ 	$(LIB_readline) \
+ 	$(LDADD_common) \
+ 	$(LIB_dlopen)
+@@ -273,193 +282,176 @@
+ 
+ subdir = kadmin
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../include/config.h
+-CONFIG_CLEAN_FILES = 
+-libexec_PROGRAMS =  kadmind$(EXEEXT)
+-noinst_PROGRAMS =  add_random_users$(EXEEXT)
+-sbin_PROGRAMS =  kadmin$(EXEEXT)
+-PROGRAMS =  $(libexec_PROGRAMS) $(noinst_PROGRAMS) $(sbin_PROGRAMS)
+-
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++libexec_PROGRAMS = kadmind$(EXEEXT)
++noinst_PROGRAMS = add_random_users$(EXEEXT)
++sbin_PROGRAMS = kadmin$(EXEEXT)
++PROGRAMS = $(libexec_PROGRAMS) $(noinst_PROGRAMS) $(sbin_PROGRAMS)
++
++am_add_random_users_OBJECTS = add-random-users.$(OBJEXT)
++add_random_users_OBJECTS = $(am_add_random_users_OBJECTS)
++add_random_users_DEPENDENCIES = \
++	$(top_builddir)/lib/kadm5/libkadm5clnt.la \
++	$(top_builddir)/lib/kadm5/libkadm5srv.la \
++	$(top_builddir)/lib/hdb/libhdb.la \
++	$(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++add_random_users_LDFLAGS =
++am_kadmin_OBJECTS = ank.$(OBJEXT) cpw.$(OBJEXT) del.$(OBJEXT) \
++	del_enctype.$(OBJEXT) dump.$(OBJEXT) ext.$(OBJEXT) \
++	get.$(OBJEXT) init.$(OBJEXT) kadmin.$(OBJEXT) load.$(OBJEXT) \
++	mod.$(OBJEXT) rename.$(OBJEXT) util.$(OBJEXT) \
++	random_password.$(OBJEXT)
++kadmin_OBJECTS = $(am_kadmin_OBJECTS)
++kadmin_DEPENDENCIES = $(top_builddir)/lib/kadm5/libkadm5clnt.la \
++	$(top_builddir)/lib/kadm5/libkadm5srv.la \
++	$(top_builddir)/lib/hdb/libhdb.la \
++	$(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++kadmin_LDFLAGS =
++@KRB4_TRUE@am_kadmind_OBJECTS = kadmind.$(OBJEXT) server.$(OBJEXT) \
++@KRB4_TRUE@	version4.$(OBJEXT) kadm_conn.$(OBJEXT)
++@KRB4_FALSE@am_kadmind_OBJECTS = kadmind.$(OBJEXT) server.$(OBJEXT) \
++@KRB4_FALSE@	kadm_conn.$(OBJEXT)
++kadmind_OBJECTS = $(am_kadmind_OBJECTS)
++@KRB4_TRUE@kadmind_DEPENDENCIES = \
++@KRB4_TRUE@	$(top_builddir)/lib/kadm5/libkadm5srv.la \
++@KRB4_TRUE@	$(top_builddir)/lib/hdb/libhdb.la \
++@KRB4_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la \
++@KRB4_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB4_FALSE@kadmind_DEPENDENCIES = \
++@KRB4_FALSE@	$(top_builddir)/lib/kadm5/libkadm5srv.la \
++@KRB4_FALSE@	$(top_builddir)/lib/hdb/libhdb.la \
++@KRB4_FALSE@	$(top_builddir)/lib/krb5/libkrb5.la \
++@KRB4_FALSE@	$(top_builddir)/lib/asn1/libasn1.la
++kadmind_LDFLAGS =
+ 
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../include
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+-am_add_random_users_OBJECTS =  add-random-users.$(OBJEXT)
+-add_random_users_OBJECTS =  $(am_add_random_users_OBJECTS)
+-add_random_users_DEPENDENCIES =  \
+-$(top_builddir)/lib/kadm5/libkadm5clnt.la \
+-$(top_builddir)/lib/kadm5/libkadm5srv.la \
+-$(top_builddir)/lib/hdb/libhdb.la $(top_builddir)/lib/krb5/libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
+-add_random_users_LDFLAGS = 
+-am_kadmin_OBJECTS =  ank.$(OBJEXT) cpw.$(OBJEXT) del.$(OBJEXT) \
+-del_enctype.$(OBJEXT) dump.$(OBJEXT) ext.$(OBJEXT) get.$(OBJEXT) \
+-init.$(OBJEXT) kadmin.$(OBJEXT) load.$(OBJEXT) mod.$(OBJEXT) \
+-rename.$(OBJEXT) util.$(OBJEXT) random_password.$(OBJEXT)
+-kadmin_OBJECTS =  $(am_kadmin_OBJECTS)
+-kadmin_DEPENDENCIES =  $(top_builddir)/lib/kadm5/libkadm5clnt.la \
+-$(top_builddir)/lib/kadm5/libkadm5srv.la \
+-$(top_builddir)/lib/sl/libsl.la $(top_builddir)/lib/hdb/libhdb.la \
+-$(top_builddir)/lib/krb5/libkrb5.la $(top_builddir)/lib/asn1/libasn1.la
+-kadmin_LDFLAGS = 
+-@KRB4_FALSE@am_kadmind_OBJECTS =  kadmind.$(OBJEXT) server.$(OBJEXT) \
+-@KRB4_FALSE@kadm_conn.$(OBJEXT)
+-@KRB4_TRUE@am_kadmind_OBJECTS =  kadmind.$(OBJEXT) server.$(OBJEXT) \
+-@KRB4_TRUE@version4.$(OBJEXT) kadm_conn.$(OBJEXT)
+-kadmind_OBJECTS =  $(am_kadmind_OBJECTS)
+-@KRB4_FALSE@kadmind_DEPENDENCIES =  \
+-@KRB4_FALSE@$(top_builddir)/lib/kadm5/libkadm5srv.la \
+-@KRB4_FALSE@$(top_builddir)/lib/hdb/libhdb.la \
+-@KRB4_FALSE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_FALSE@$(top_builddir)/lib/asn1/libasn1.la
+-@KRB4_TRUE@kadmind_DEPENDENCIES =  \
+-@KRB4_TRUE@$(top_builddir)/lib/kadm5/libkadm5srv.la \
+-@KRB4_TRUE@$(top_builddir)/lib/hdb/libhdb.la \
+-@KRB4_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_TRUE@$(top_builddir)/lib/asn1/libasn1.la
+-kadmind_LDFLAGS = 
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  $(add_random_users_SOURCES) $(kadmin_SOURCES) \
+-$(kadmind_SOURCES) $(EXTRA_kadmind_SOURCES)
+-man8dir = $(mandir)/man8
+-MANS = $(man_MANS)
+-depcomp = 
+-DIST_COMMON =  ChangeLog Makefile.am Makefile.in
+-
+-
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++DIST_SOURCES = $(add_random_users_SOURCES) $(kadmin_SOURCES) \
++	$(kadmind_SOURCES) $(EXTRA_kadmind_SOURCES)
+ 
+-GZIP_ENV = --best
++NROFF = nroff
++MANS = $(man_MANS)
++DIST_COMMON = ChangeLog Makefile.am Makefile.in
+ SOURCES = $(add_random_users_SOURCES) $(kadmin_SOURCES) $(kadmind_SOURCES) $(EXTRA_kadmind_SOURCES)
+-OBJECTS = $(am_add_random_users_OBJECTS) $(am_kadmin_OBJECTS) $(am_kadmind_OBJECTS)
+ 
+-all: all-redirect
++all: all-am
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign kadmin/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+-
+-
+-mostlyclean-libexecPROGRAMS:
+ 
+-clean-libexecPROGRAMS:
+-	-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
+-
+-distclean-libexecPROGRAMS:
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-maintainer-clean-libexecPROGRAMS:
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  kadmin/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ install-libexecPROGRAMS: $(libexec_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(libexecdir)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+-	  if test -f $$p; then \
+-	    f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libexecdir)/$$f"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libexecdir)/$$f; \
++	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  if test -f $$p \
++	     || test -f $$p1 \
++	  ; then \
++	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-libexecPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+-	  f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(libexecdir)/$$f; \
+ 	done
+ 
+-mostlyclean-noinstPROGRAMS:
++clean-libexecPROGRAMS:
++	-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
+ 
+ clean-noinstPROGRAMS:
+ 	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
+-
+-distclean-noinstPROGRAMS:
+-
+-maintainer-clean-noinstPROGRAMS:
+-
+-mostlyclean-sbinPROGRAMS:
+-
+-clean-sbinPROGRAMS:
+-	-test -z "$(sbin_PROGRAMS)" || rm -f $(sbin_PROGRAMS)
+-
+-distclean-sbinPROGRAMS:
+-
+-maintainer-clean-sbinPROGRAMS:
+-
+ install-sbinPROGRAMS: $(sbin_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(sbindir)
+ 	@list='$(sbin_PROGRAMS)'; for p in $$list; do \
+-	  if test -f $$p; then \
+-	    f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(sbindir)/$$f"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(sbindir)/$$f; \
++	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  if test -f $$p \
++	     || test -f $$p1 \
++	  ; then \
++	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(sbindir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(sbindir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-sbinPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(sbin_PROGRAMS)'; for p in $$list; do \
+-	  f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(sbindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(sbindir)/$$f; \
+ 	done
+ 
+-mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
+-
+-clean-compile:
+-
+-distclean-compile:
+-	-rm -f *.tab.c
+-
+-maintainer-clean-compile:
+-
+-mostlyclean-libtool:
+-	-rm -f *.lo
+-
+-clean-libtool:
+-	-rm -rf .libs _libs
+-
+-distclean-libtool:
+-
+-maintainer-clean-libtool:
+-
+-add_random_users$(EXEEXT): $(add_random_users_OBJECTS) $(add_random_users_DEPENDENCIES)
++clean-sbinPROGRAMS:
++	-test -z "$(sbin_PROGRAMS)" || rm -f $(sbin_PROGRAMS)
++add_random_users$(EXEEXT): $(add_random_users_OBJECTS) $(add_random_users_DEPENDENCIES) 
+ 	@rm -f add_random_users$(EXEEXT)
+ 	$(LINK) $(add_random_users_LDFLAGS) $(add_random_users_OBJECTS) $(add_random_users_LDADD) $(LIBS)
+-
+-kadmin$(EXEEXT): $(kadmin_OBJECTS) $(kadmin_DEPENDENCIES)
++kadmin$(EXEEXT): $(kadmin_OBJECTS) $(kadmin_DEPENDENCIES) 
+ 	@rm -f kadmin$(EXEEXT)
+ 	$(LINK) $(kadmin_LDFLAGS) $(kadmin_OBJECTS) $(kadmin_LDADD) $(LIBS)
+-
+-kadmind$(EXEEXT): $(kadmind_OBJECTS) $(kadmind_DEPENDENCIES)
++kadmind$(EXEEXT): $(kadmind_OBJECTS) $(kadmind_DEPENDENCIES) 
+ 	@rm -f kadmind$(EXEEXT)
+ 	$(LINK) $(kadmind_LDFLAGS) $(kadmind_OBJECTS) $(kadmind_LDADD) $(LIBS)
++
++mostlyclean-compile:
++	-rm -f *.$(OBJEXT) core *.core
++
++distclean-compile:
++	-rm -f *.tab.c
++
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
++
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
++uninstall-info-am:
+ 
+-install-man8:
++man8dir = $(mandir)/man8
++install-man8: $(man8_MANS) $(man_MANS)
++	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(man8dir)
+-	@list='$(man8_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.8*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -474,10 +466,11 @@
+ 	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst"; \
+ 	  $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst; \
+ 	done
+-
+ uninstall-man8:
+-	@list='$(man8_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@$(NORMAL_UNINSTALL)
++	@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.8*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -490,12 +483,6 @@
+ 	  echo " rm -f $(DESTDIR)$(man8dir)/$$inst"; \
+ 	  rm -f $(DESTDIR)$(man8dir)/$$inst; \
+ 	done
+-install-man: $(MANS)
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-man8
+-uninstall-man:
+-	@$(NORMAL_UNINSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) uninstall-man8
+ 
+ tags: TAGS
+ 
+@@ -524,22 +511,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -549,98 +537,98 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-install-exec-am: install-libexecPROGRAMS install-sbinPROGRAMS
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++all-am: Makefile $(PROGRAMS) $(MANS) all-local
+ 
+-install-data-am: install-man install-data-local
+-install-data: install-data-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(libexecdir) $(DESTDIR)$(sbindir) $(DESTDIR)$(man8dir)
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am: uninstall-libexecPROGRAMS uninstall-sbinPROGRAMS \
+-		uninstall-man
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(PROGRAMS) $(MANS) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(libexecdir) $(DESTDIR)$(sbindir) \
+-		$(DESTDIR)$(mandir)/man8
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-libexecPROGRAMS mostlyclean-noinstPROGRAMS \
+-		mostlyclean-sbinPROGRAMS mostlyclean-compile \
+-		mostlyclean-libtool mostlyclean-tags \
+-		mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-generic clean-libexecPROGRAMS clean-libtool \
++	clean-noinstPROGRAMS clean-sbinPROGRAMS mostlyclean-am
+ 
+-clean-am:  clean-libexecPROGRAMS clean-noinstPROGRAMS clean-sbinPROGRAMS \
+-		clean-compile clean-libtool clean-tags clean-generic \
+-		mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-libexecPROGRAMS distclean-noinstPROGRAMS \
+-		distclean-sbinPROGRAMS distclean-compile \
+-		distclean-libtool distclean-tags distclean-generic \
+-		clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-libexecPROGRAMS \
+-		maintainer-clean-noinstPROGRAMS \
+-		maintainer-clean-sbinPROGRAMS maintainer-clean-compile \
+-		maintainer-clean-libtool 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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local install-man
++
++install-exec-am: install-libexecPROGRAMS install-sbinPROGRAMS
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man: install-man8
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-am
+ 
+-.PHONY: mostlyclean-libexecPROGRAMS distclean-libexecPROGRAMS \
+-clean-libexecPROGRAMS maintainer-clean-libexecPROGRAMS \
+-uninstall-libexecPROGRAMS install-libexecPROGRAMS \
+-mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \
+-clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \
+-mostlyclean-sbinPROGRAMS distclean-sbinPROGRAMS clean-sbinPROGRAMS \
+-maintainer-clean-sbinPROGRAMS uninstall-sbinPROGRAMS \
+-install-sbinPROGRAMS mostlyclean-compile distclean-compile \
+-clean-compile maintainer-clean-compile mostlyclean-libtool \
+-distclean-libtool clean-libtool maintainer-clean-libtool install-man8 \
+-uninstall-man8 install-man uninstall-man tags mostlyclean-tags \
+-distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
+-dvi-am dvi check-local check check-am installcheck-am installcheck \
+-install-exec-am install-exec install-data-local install-data-am \
+-install-data install-am install uninstall-am uninstall all-local \
+-all-redirect all-am all install-strip installdirs mostlyclean-generic \
+-distclean-generic clean-generic maintainer-clean-generic clean \
+-mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-info-am uninstall-libexecPROGRAMS uninstall-man \
++	uninstall-sbinPROGRAMS
++
++uninstall-man: uninstall-man8
++
++.PHONY: GTAGS all all-am all-local check check-am check-local clean \
++	clean-generic clean-libexecPROGRAMS clean-libtool \
++	clean-noinstPROGRAMS clean-sbinPROGRAMS distclean \
++	distclean-compile distclean-generic distclean-libtool \
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-data install-data-am install-data-local \
++	install-exec install-exec-am install-info install-info-am \
++	install-libexecPROGRAMS install-man install-man8 \
++	install-sbinPROGRAMS install-strip installcheck installcheck-am \
++	installdirs maintainer-clean maintainer-clean-generic \
++	mostlyclean mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool tags uninstall uninstall-am \
++	uninstall-info-am uninstall-libexecPROGRAMS uninstall-man \
++	uninstall-man8 uninstall-sbinPROGRAMS
+ 
+ 
+ install-suid-programs:
+@@ -770,7 +758,6 @@
+ 	  echo "$$dashes"; \
+ 	  test "$$failed" -eq 0; \
+ 	fi
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/kdc/Makefile.in heimdal-0.4e/kdc/Makefile.in
+--- heimdal-0.4e-old/kdc/Makefile.in	Thu Sep  6 22:24:02 2001
++++ heimdal-0.4e/kdc/Makefile.in	Sat Jun 15 19:35:26 2002
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.43 2001/08/28 08:31:27 assar Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,13 +90,13 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+ LIB_ = @LIB_@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+-LIB_com_err = @LIB_com_err@
+ LIB_com_err_a = @LIB_com_err_a@
+ LIB_com_err_so = @LIB_com_err_so@
+ LIB_des = @LIB_des@
+@@ -100,12 +104,10 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+-LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,19 +121,19 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+-
+-# $Id: Makefile.am,v 1.43 2001/08/28 08:31:27 assar Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
++LIB_com_err = @LIB_com_err@
++LIB_otp = @LIB_otp@
++LIB_roken = @LIB_roken@
+ 
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+@@ -185,17 +187,24 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+@@ -213,7 +222,8 @@
+ kstash_SOURCES = kstash.c headers.h
+ 
+ string2key_SOURCES = string2key.c headers.h
+-@KRB4_TRUE@krb4_sources = @KRB4_TRUE@524.c kerberos4.c kaserver.c rx.h
++
++@KRB4_TRUE@krb4_sources = 524.c kerberos4.c kaserver.c rx.h
+ @KRB4_FALSE@krb4_sources = 
+ 
+ kdc_SOURCES = \
+@@ -262,219 +272,204 @@
+ kdc_LDADD = $(LDADD) $(LIB_pidfile)
+ subdir = kdc
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../include/config.h
+-CONFIG_CLEAN_FILES = 
+-bin_PROGRAMS =  string2key$(EXEEXT)
+-libexec_PROGRAMS =  hprop$(EXEEXT) hpropd$(EXEEXT) kdc$(EXEEXT)
+-sbin_PROGRAMS =  kstash$(EXEEXT)
+-PROGRAMS =  $(bin_PROGRAMS) $(libexec_PROGRAMS) $(sbin_PROGRAMS)
+-
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++bin_PROGRAMS = string2key$(EXEEXT)
++libexec_PROGRAMS = hprop$(EXEEXT) hpropd$(EXEEXT) kdc$(EXEEXT)
++sbin_PROGRAMS = kstash$(EXEEXT)
++PROGRAMS = $(bin_PROGRAMS) $(libexec_PROGRAMS) $(sbin_PROGRAMS)
++
++am_hprop_OBJECTS = hprop.$(OBJEXT) mit_dump.$(OBJEXT) v4_dump.$(OBJEXT)
++hprop_OBJECTS = $(am_hprop_OBJECTS)
++hprop_DEPENDENCIES = $(top_builddir)/lib/hdb/libhdb.la \
++	$(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++hprop_LDFLAGS =
++am_hpropd_OBJECTS = hpropd.$(OBJEXT)
++hpropd_OBJECTS = $(am_hpropd_OBJECTS)
++hpropd_DEPENDENCIES = $(top_builddir)/lib/hdb/libhdb.la \
++	$(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++hpropd_LDFLAGS =
++@KRB4_TRUE@am_kdc_OBJECTS = config.$(OBJEXT) connect.$(OBJEXT) \
++@KRB4_TRUE@	kerberos5.$(OBJEXT) log.$(OBJEXT) main.$(OBJEXT) \
++@KRB4_TRUE@	misc.$(OBJEXT) 524.$(OBJEXT) kerberos4.$(OBJEXT) \
++@KRB4_TRUE@	kaserver.$(OBJEXT)
++@KRB4_FALSE@am_kdc_OBJECTS = config.$(OBJEXT) connect.$(OBJEXT) \
++@KRB4_FALSE@	kerberos5.$(OBJEXT) log.$(OBJEXT) main.$(OBJEXT) \
++@KRB4_FALSE@	misc.$(OBJEXT)
++kdc_OBJECTS = $(am_kdc_OBJECTS)
++kdc_DEPENDENCIES = $(top_builddir)/lib/hdb/libhdb.la \
++	$(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++kdc_LDFLAGS =
++am_kstash_OBJECTS = kstash.$(OBJEXT)
++kstash_OBJECTS = $(am_kstash_OBJECTS)
++kstash_LDADD = $(LDADD)
++kstash_DEPENDENCIES = $(top_builddir)/lib/hdb/libhdb.la \
++	$(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++kstash_LDFLAGS =
++am_string2key_OBJECTS = string2key.$(OBJEXT)
++string2key_OBJECTS = $(am_string2key_OBJECTS)
++string2key_LDADD = $(LDADD)
++string2key_DEPENDENCIES = $(top_builddir)/lib/hdb/libhdb.la \
++	$(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++string2key_LDFLAGS =
+ 
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../include
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+-am_hprop_OBJECTS =  hprop.$(OBJEXT) mit_dump.$(OBJEXT) v4_dump.$(OBJEXT)
+-hprop_OBJECTS =  $(am_hprop_OBJECTS)
+-hprop_DEPENDENCIES =  $(top_builddir)/lib/hdb/libhdb.la \
+-$(top_builddir)/lib/krb5/libkrb5.la $(top_builddir)/lib/asn1/libasn1.la
+-hprop_LDFLAGS = 
+-am_hpropd_OBJECTS =  hpropd.$(OBJEXT)
+-hpropd_OBJECTS =  $(am_hpropd_OBJECTS)
+-hpropd_DEPENDENCIES =  $(top_builddir)/lib/hdb/libhdb.la \
+-$(top_builddir)/lib/krb5/libkrb5.la $(top_builddir)/lib/asn1/libasn1.la
+-hpropd_LDFLAGS = 
+-@KRB4_FALSE@am_kdc_OBJECTS =  config.$(OBJEXT) connect.$(OBJEXT) \
+-@KRB4_FALSE@kerberos5.$(OBJEXT) log.$(OBJEXT) main.$(OBJEXT) \
+-@KRB4_FALSE@misc.$(OBJEXT)
+-@KRB4_TRUE@am_kdc_OBJECTS =  config.$(OBJEXT) connect.$(OBJEXT) \
+-@KRB4_TRUE@kerberos5.$(OBJEXT) log.$(OBJEXT) main.$(OBJEXT) \
+-@KRB4_TRUE@misc.$(OBJEXT) 524.$(OBJEXT) kerberos4.$(OBJEXT) \
+-@KRB4_TRUE@kaserver.$(OBJEXT)
+-kdc_OBJECTS =  $(am_kdc_OBJECTS)
+-kdc_DEPENDENCIES =  $(top_builddir)/lib/hdb/libhdb.la \
+-$(top_builddir)/lib/krb5/libkrb5.la $(top_builddir)/lib/asn1/libasn1.la
+-kdc_LDFLAGS = 
+-am_kstash_OBJECTS =  kstash.$(OBJEXT)
+-kstash_OBJECTS =  $(am_kstash_OBJECTS)
+-kstash_LDADD = $(LDADD)
+-kstash_DEPENDENCIES =  $(top_builddir)/lib/hdb/libhdb.la \
+-$(top_builddir)/lib/krb5/libkrb5.la $(top_builddir)/lib/asn1/libasn1.la
+-kstash_LDFLAGS = 
+-am_string2key_OBJECTS =  string2key.$(OBJEXT)
+-string2key_OBJECTS =  $(am_string2key_OBJECTS)
+-string2key_LDADD = $(LDADD)
+-string2key_DEPENDENCIES =  $(top_builddir)/lib/hdb/libhdb.la \
+-$(top_builddir)/lib/krb5/libkrb5.la $(top_builddir)/lib/asn1/libasn1.la
+-string2key_LDFLAGS = 
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  $(hprop_SOURCES) $(hpropd_SOURCES) $(kdc_SOURCES) \
+-$(kstash_SOURCES) $(string2key_SOURCES)
+-man8dir = $(mandir)/man8
+-MANS = $(man_MANS)
+-depcomp = 
+-DIST_COMMON =  Makefile.am Makefile.in
+-
+-
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++DIST_SOURCES = $(hprop_SOURCES) $(hpropd_SOURCES) $(kdc_SOURCES) \
++	$(kstash_SOURCES) $(string2key_SOURCES)
+ 
+-GZIP_ENV = --best
++NROFF = nroff
++MANS = $(man_MANS)
++DIST_COMMON = Makefile.am Makefile.in
+ SOURCES = $(hprop_SOURCES) $(hpropd_SOURCES) $(kdc_SOURCES) $(kstash_SOURCES) $(string2key_SOURCES)
+-OBJECTS = $(am_hprop_OBJECTS) $(am_hpropd_OBJECTS) $(am_kdc_OBJECTS) $(am_kstash_OBJECTS) $(am_string2key_OBJECTS)
+ 
+-all: all-redirect
++all: all-am
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign kdc/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+ 
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-mostlyclean-binPROGRAMS:
+-
+-clean-binPROGRAMS:
+-	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
+-
+-distclean-binPROGRAMS:
+-
+-maintainer-clean-binPROGRAMS:
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  kdc/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ install-binPROGRAMS: $(bin_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(bindir)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  if test -f $$p; then \
+-	    f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f; \
++	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  if test -f $$p \
++	     || test -f $$p1 \
++	  ; then \
++	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-binPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+-mostlyclean-libexecPROGRAMS:
+-
+-clean-libexecPROGRAMS:
+-	-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
+-
+-distclean-libexecPROGRAMS:
+-
+-maintainer-clean-libexecPROGRAMS:
+-
++clean-binPROGRAMS:
++	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
+ install-libexecPROGRAMS: $(libexec_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(libexecdir)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+-	  if test -f $$p; then \
+-	    f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libexecdir)/$$f"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libexecdir)/$$f; \
++	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  if test -f $$p \
++	     || test -f $$p1 \
++	  ; then \
++	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-libexecPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+-	  f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(libexecdir)/$$f; \
+ 	done
+ 
+-mostlyclean-sbinPROGRAMS:
+-
+-clean-sbinPROGRAMS:
+-	-test -z "$(sbin_PROGRAMS)" || rm -f $(sbin_PROGRAMS)
+-
+-distclean-sbinPROGRAMS:
+-
+-maintainer-clean-sbinPROGRAMS:
+-
++clean-libexecPROGRAMS:
++	-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
+ install-sbinPROGRAMS: $(sbin_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(sbindir)
+ 	@list='$(sbin_PROGRAMS)'; for p in $$list; do \
+-	  if test -f $$p; then \
+-	    f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(sbindir)/$$f"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(sbindir)/$$f; \
++	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  if test -f $$p \
++	     || test -f $$p1 \
++	  ; then \
++	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(sbindir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(sbindir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-sbinPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(sbin_PROGRAMS)'; for p in $$list; do \
+-	  f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(sbindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(sbindir)/$$f; \
+ 	done
+ 
+-mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
+-
+-clean-compile:
+-
+-distclean-compile:
+-	-rm -f *.tab.c
+-
+-maintainer-clean-compile:
+-
+-mostlyclean-libtool:
+-	-rm -f *.lo
+-
+-clean-libtool:
+-	-rm -rf .libs _libs
+-
+-distclean-libtool:
+-
+-maintainer-clean-libtool:
+-
+-hprop$(EXEEXT): $(hprop_OBJECTS) $(hprop_DEPENDENCIES)
++clean-sbinPROGRAMS:
++	-test -z "$(sbin_PROGRAMS)" || rm -f $(sbin_PROGRAMS)
++hprop$(EXEEXT): $(hprop_OBJECTS) $(hprop_DEPENDENCIES) 
+ 	@rm -f hprop$(EXEEXT)
+ 	$(LINK) $(hprop_LDFLAGS) $(hprop_OBJECTS) $(hprop_LDADD) $(LIBS)
+-
+-hpropd$(EXEEXT): $(hpropd_OBJECTS) $(hpropd_DEPENDENCIES)
++hpropd$(EXEEXT): $(hpropd_OBJECTS) $(hpropd_DEPENDENCIES) 
+ 	@rm -f hpropd$(EXEEXT)
+ 	$(LINK) $(hpropd_LDFLAGS) $(hpropd_OBJECTS) $(hpropd_LDADD) $(LIBS)
+-
+-kdc$(EXEEXT): $(kdc_OBJECTS) $(kdc_DEPENDENCIES)
++kdc$(EXEEXT): $(kdc_OBJECTS) $(kdc_DEPENDENCIES) 
+ 	@rm -f kdc$(EXEEXT)
+ 	$(LINK) $(kdc_LDFLAGS) $(kdc_OBJECTS) $(kdc_LDADD) $(LIBS)
+-
+-kstash$(EXEEXT): $(kstash_OBJECTS) $(kstash_DEPENDENCIES)
++kstash$(EXEEXT): $(kstash_OBJECTS) $(kstash_DEPENDENCIES) 
+ 	@rm -f kstash$(EXEEXT)
+ 	$(LINK) $(kstash_LDFLAGS) $(kstash_OBJECTS) $(kstash_LDADD) $(LIBS)
+-
+-string2key$(EXEEXT): $(string2key_OBJECTS) $(string2key_DEPENDENCIES)
++string2key$(EXEEXT): $(string2key_OBJECTS) $(string2key_DEPENDENCIES) 
+ 	@rm -f string2key$(EXEEXT)
+ 	$(LINK) $(string2key_LDFLAGS) $(string2key_OBJECTS) $(string2key_LDADD) $(LIBS)
++
++mostlyclean-compile:
++	-rm -f *.$(OBJEXT) core *.core
++
++distclean-compile:
++	-rm -f *.tab.c
++
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
++
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
++uninstall-info-am:
+ 
+-install-man8:
++man8dir = $(mandir)/man8
++install-man8: $(man8_MANS) $(man_MANS)
++	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(man8dir)
+-	@list='$(man8_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.8*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -489,10 +484,11 @@
+ 	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst"; \
+ 	  $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst; \
+ 	done
+-
+ uninstall-man8:
+-	@list='$(man8_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@$(NORMAL_UNINSTALL)
++	@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.8*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -505,12 +501,6 @@
+ 	  echo " rm -f $(DESTDIR)$(man8dir)/$$inst"; \
+ 	  rm -f $(DESTDIR)$(man8dir)/$$inst; \
+ 	done
+-install-man: $(MANS)
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-man8
+-uninstall-man:
+-	@$(NORMAL_UNINSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) uninstall-man8
+ 
+ tags: TAGS
+ 
+@@ -539,22 +529,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -564,99 +555,100 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-install-exec-am: install-binPROGRAMS install-libexecPROGRAMS \
+-		install-sbinPROGRAMS
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++all-am: Makefile $(PROGRAMS) $(MANS) all-local
+ 
+-install-data-am: install-man install-data-local
+-install-data: install-data-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(libexecdir) $(DESTDIR)$(sbindir) $(DESTDIR)$(man8dir)
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am: uninstall-binPROGRAMS uninstall-libexecPROGRAMS \
+-		uninstall-sbinPROGRAMS uninstall-man
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(PROGRAMS) $(MANS) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(bindir) $(DESTDIR)$(libexecdir) \
+-		$(DESTDIR)$(sbindir) $(DESTDIR)$(mandir)/man8
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-binPROGRAMS mostlyclean-libexecPROGRAMS \
+-		mostlyclean-sbinPROGRAMS mostlyclean-compile \
+-		mostlyclean-libtool mostlyclean-tags \
+-		mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-binPROGRAMS clean-generic clean-libexecPROGRAMS \
++	clean-libtool clean-sbinPROGRAMS mostlyclean-am
+ 
+-clean-am:  clean-binPROGRAMS clean-libexecPROGRAMS clean-sbinPROGRAMS \
+-		clean-compile clean-libtool clean-tags clean-generic \
+-		mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-binPROGRAMS distclean-libexecPROGRAMS \
+-		distclean-sbinPROGRAMS distclean-compile \
+-		distclean-libtool distclean-tags distclean-generic \
+-		clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-binPROGRAMS \
+-		maintainer-clean-libexecPROGRAMS \
+-		maintainer-clean-sbinPROGRAMS maintainer-clean-compile \
+-		maintainer-clean-libtool 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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local install-man
++
++install-exec-am: install-binPROGRAMS install-libexecPROGRAMS \
++	install-sbinPROGRAMS
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man: install-man8
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-am
+ 
+-.PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
+-maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
+-mostlyclean-libexecPROGRAMS distclean-libexecPROGRAMS \
+-clean-libexecPROGRAMS maintainer-clean-libexecPROGRAMS \
+-uninstall-libexecPROGRAMS install-libexecPROGRAMS \
+-mostlyclean-sbinPROGRAMS distclean-sbinPROGRAMS clean-sbinPROGRAMS \
+-maintainer-clean-sbinPROGRAMS uninstall-sbinPROGRAMS \
+-install-sbinPROGRAMS mostlyclean-compile distclean-compile \
+-clean-compile maintainer-clean-compile mostlyclean-libtool \
+-distclean-libtool clean-libtool maintainer-clean-libtool install-man8 \
+-uninstall-man8 install-man uninstall-man tags mostlyclean-tags \
+-distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
+-dvi-am dvi check-local check check-am installcheck-am installcheck \
+-install-exec-am install-exec install-data-local install-data-am \
+-install-data install-am install uninstall-am uninstall all-local \
+-all-redirect all-am all install-strip installdirs mostlyclean-generic \
+-distclean-generic clean-generic maintainer-clean-generic clean \
+-mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-binPROGRAMS uninstall-info-am \
++	uninstall-libexecPROGRAMS uninstall-man uninstall-sbinPROGRAMS
++
++uninstall-man: uninstall-man8
++
++.PHONY: GTAGS all all-am all-local check check-am check-local clean \
++	clean-binPROGRAMS clean-generic clean-libexecPROGRAMS \
++	clean-libtool clean-sbinPROGRAMS distclean distclean-compile \
++	distclean-generic distclean-libtool distclean-tags distdir dvi \
++	dvi-am info info-am install install-am install-binPROGRAMS \
++	install-data install-data-am install-data-local install-exec \
++	install-exec-am install-info install-info-am \
++	install-libexecPROGRAMS install-man install-man8 \
++	install-sbinPROGRAMS install-strip installcheck installcheck-am \
++	installdirs maintainer-clean maintainer-clean-generic \
++	mostlyclean mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool tags uninstall uninstall-am \
++	uninstall-binPROGRAMS uninstall-info-am \
++	uninstall-libexecPROGRAMS uninstall-man uninstall-man8 \
++	uninstall-sbinPROGRAMS
+ 
+ 
+ install-suid-programs:
+@@ -786,7 +778,6 @@
+ 	  echo "$$dashes"; \
+ 	  test "$$failed" -eq 0; \
+ 	fi
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/kpasswd/Makefile.in heimdal-0.4e/kpasswd/Makefile.in
+--- heimdal-0.4e-old/kpasswd/Makefile.in	Thu Sep  6 22:23:49 2001
++++ heimdal-0.4e/kpasswd/Makefile.in	Sat Jun 15 19:35:26 2002
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.16 2001/08/28 08:31:29 assar Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,13 +90,13 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+ LIB_ = @LIB_@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+-LIB_com_err = @LIB_com_err@
+ LIB_com_err_a = @LIB_com_err_a@
+ LIB_com_err_so = @LIB_com_err_so@
+ LIB_des = @LIB_des@
+@@ -100,12 +104,10 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+-LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,19 +121,19 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+-
+-# $Id: Makefile.am,v 1.16 2001/08/28 08:31:29 assar Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
++LIB_com_err = @LIB_com_err@
++LIB_otp = @LIB_otp@
++LIB_roken = @LIB_roken@
+ 
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+@@ -185,17 +187,24 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+@@ -228,178 +237,158 @@
+ 
+ subdir = kpasswd
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../include/config.h
+-CONFIG_CLEAN_FILES = 
+-bin_PROGRAMS =  kpasswd$(EXEEXT)
+-libexec_PROGRAMS =  kpasswdd$(EXEEXT)
+-noinst_PROGRAMS =  kpasswd-generator$(EXEEXT)
+-PROGRAMS =  $(bin_PROGRAMS) $(libexec_PROGRAMS) $(noinst_PROGRAMS)
+-
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++bin_PROGRAMS = kpasswd$(EXEEXT)
++libexec_PROGRAMS = kpasswdd$(EXEEXT)
++noinst_PROGRAMS = kpasswd-generator$(EXEEXT)
++PROGRAMS = $(bin_PROGRAMS) $(libexec_PROGRAMS) $(noinst_PROGRAMS)
+ 
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../include
+-CPPFLAGS = @CPPFLAGS@
+-LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+-am_kpasswd_OBJECTS =  kpasswd.$(OBJEXT)
+-kpasswd_OBJECTS =  $(am_kpasswd_OBJECTS)
++am_kpasswd_OBJECTS = kpasswd.$(OBJEXT)
++kpasswd_OBJECTS = $(am_kpasswd_OBJECTS)
+ kpasswd_LDADD = $(LDADD)
+-kpasswd_DEPENDENCIES =  $(top_builddir)/lib/krb5/libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
+-kpasswd_LDFLAGS = 
++kpasswd_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++kpasswd_LDFLAGS =
+ kpasswd_generator_SOURCES = kpasswd-generator.c
+-kpasswd_generator_OBJECTS =  kpasswd-generator.$(OBJEXT)
++kpasswd_generator_OBJECTS = kpasswd-generator.$(OBJEXT)
+ kpasswd_generator_LDADD = $(LDADD)
+-kpasswd_generator_DEPENDENCIES =  $(top_builddir)/lib/krb5/libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
+-kpasswd_generator_LDFLAGS = 
+-am_kpasswdd_OBJECTS =  kpasswdd.$(OBJEXT)
+-kpasswdd_OBJECTS =  $(am_kpasswdd_OBJECTS)
+-kpasswdd_DEPENDENCIES =  $(top_builddir)/lib/kadm5/libkadm5srv.la \
+-$(top_builddir)/lib/hdb/libhdb.la $(top_builddir)/lib/krb5/libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
+-kpasswdd_LDFLAGS = 
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
+-CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  $(kpasswd_SOURCES) kpasswd-generator.c \
+-$(kpasswdd_SOURCES)
+-man1dir = $(mandir)/man1
+-man8dir = $(mandir)/man8
+-MANS = $(man_MANS)
+-depcomp = 
+-DIST_COMMON =  Makefile.am Makefile.in
+-
++kpasswd_generator_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++kpasswd_generator_LDFLAGS =
++am_kpasswdd_OBJECTS = kpasswdd.$(OBJEXT)
++kpasswdd_OBJECTS = $(am_kpasswdd_OBJECTS)
++kpasswdd_DEPENDENCIES = $(top_builddir)/lib/kadm5/libkadm5srv.la \
++	$(top_builddir)/lib/hdb/libhdb.la \
++	$(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++kpasswdd_LDFLAGS =
+ 
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
++CPPFLAGS = @CPPFLAGS@
++LDFLAGS = @LDFLAGS@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++CCLD = $(CC)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++DIST_SOURCES = $(kpasswd_SOURCES) kpasswd-generator.c \
++	$(kpasswdd_SOURCES)
+ 
+-GZIP_ENV = --best
++NROFF = nroff
++MANS = $(man_MANS)
++DIST_COMMON = Makefile.am Makefile.in
+ SOURCES = $(kpasswd_SOURCES) kpasswd-generator.c $(kpasswdd_SOURCES)
+-OBJECTS = $(am_kpasswd_OBJECTS) kpasswd-generator.$(OBJEXT) $(am_kpasswdd_OBJECTS)
+ 
+-all: all-redirect
++all: all-am
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign kpasswd/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+-
+ 
+-mostlyclean-binPROGRAMS:
+-
+-clean-binPROGRAMS:
+-	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
+-
+-distclean-binPROGRAMS:
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-maintainer-clean-binPROGRAMS:
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  kpasswd/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ install-binPROGRAMS: $(bin_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(bindir)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  if test -f $$p; then \
+-	    f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f; \
++	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  if test -f $$p \
++	     || test -f $$p1 \
++	  ; then \
++	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-binPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+-mostlyclean-libexecPROGRAMS:
+-
+-clean-libexecPROGRAMS:
+-	-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
+-
+-distclean-libexecPROGRAMS:
+-
+-maintainer-clean-libexecPROGRAMS:
+-
++clean-binPROGRAMS:
++	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
+ install-libexecPROGRAMS: $(libexec_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(libexecdir)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+-	  if test -f $$p; then \
+-	    f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libexecdir)/$$f"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libexecdir)/$$f; \
++	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  if test -f $$p \
++	     || test -f $$p1 \
++	  ; then \
++	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-libexecPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+-	  f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(libexecdir)/$$f; \
+ 	done
+ 
+-mostlyclean-noinstPROGRAMS:
++clean-libexecPROGRAMS:
++	-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
+ 
+ clean-noinstPROGRAMS:
+ 	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
+-
+-distclean-noinstPROGRAMS:
+-
+-maintainer-clean-noinstPROGRAMS:
+-
+-mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
+-
+-clean-compile:
+-
+-distclean-compile:
+-	-rm -f *.tab.c
+-
+-maintainer-clean-compile:
+-
+-mostlyclean-libtool:
+-	-rm -f *.lo
+-
+-clean-libtool:
+-	-rm -rf .libs _libs
+-
+-distclean-libtool:
+-
+-maintainer-clean-libtool:
+-
+-kpasswd$(EXEEXT): $(kpasswd_OBJECTS) $(kpasswd_DEPENDENCIES)
++kpasswd$(EXEEXT): $(kpasswd_OBJECTS) $(kpasswd_DEPENDENCIES) 
+ 	@rm -f kpasswd$(EXEEXT)
+ 	$(LINK) $(kpasswd_LDFLAGS) $(kpasswd_OBJECTS) $(kpasswd_LDADD) $(LIBS)
+-
+-kpasswd-generator$(EXEEXT): $(kpasswd_generator_OBJECTS) $(kpasswd_generator_DEPENDENCIES)
++kpasswd-generator$(EXEEXT): $(kpasswd_generator_OBJECTS) $(kpasswd_generator_DEPENDENCIES) 
+ 	@rm -f kpasswd-generator$(EXEEXT)
+ 	$(LINK) $(kpasswd_generator_LDFLAGS) $(kpasswd_generator_OBJECTS) $(kpasswd_generator_LDADD) $(LIBS)
+-
+-kpasswdd$(EXEEXT): $(kpasswdd_OBJECTS) $(kpasswdd_DEPENDENCIES)
++kpasswdd$(EXEEXT): $(kpasswdd_OBJECTS) $(kpasswdd_DEPENDENCIES) 
+ 	@rm -f kpasswdd$(EXEEXT)
+ 	$(LINK) $(kpasswdd_LDFLAGS) $(kpasswdd_OBJECTS) $(kpasswdd_LDADD) $(LIBS)
++
++mostlyclean-compile:
++	-rm -f *.$(OBJEXT) core *.core
++
++distclean-compile:
++	-rm -f *.tab.c
++
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
++
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
++uninstall-info-am:
+ 
+-install-man1:
++man1dir = $(mandir)/man1
++install-man1: $(man1_MANS) $(man_MANS)
++	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(man1dir)
+-	@list='$(man1_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.1*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -414,10 +403,11 @@
+ 	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
+ 	  $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
+ 	done
+-
+ uninstall-man1:
+-	@list='$(man1_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@$(NORMAL_UNINSTALL)
++	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.1*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -431,10 +421,13 @@
+ 	  rm -f $(DESTDIR)$(man1dir)/$$inst; \
+ 	done
+ 
+-install-man8:
++man8dir = $(mandir)/man8
++install-man8: $(man8_MANS) $(man_MANS)
++	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(man8dir)
+-	@list='$(man8_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.8*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -449,10 +442,11 @@
+ 	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst"; \
+ 	  $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst; \
+ 	done
+-
+ uninstall-man8:
+-	@list='$(man8_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@$(NORMAL_UNINSTALL)
++	@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.8*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -465,12 +459,6 @@
+ 	  echo " rm -f $(DESTDIR)$(man8dir)/$$inst"; \
+ 	  rm -f $(DESTDIR)$(man8dir)/$$inst; \
+ 	done
+-install-man: $(MANS)
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-man1 install-man8
+-uninstall-man:
+-	@$(NORMAL_UNINSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) uninstall-man1 uninstall-man8
+ 
+ tags: TAGS
+ 
+@@ -499,22 +487,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -524,99 +513,98 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-install-exec-am: install-binPROGRAMS install-libexecPROGRAMS
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++all-am: Makefile $(PROGRAMS) $(MANS) all-local
+ 
+-install-data-am: install-man install-data-local
+-install-data: install-data-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(libexecdir) $(DESTDIR)$(man1dir) $(DESTDIR)$(man8dir)
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am: uninstall-binPROGRAMS uninstall-libexecPROGRAMS \
+-		uninstall-man
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(PROGRAMS) $(MANS) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(bindir) $(DESTDIR)$(libexecdir) \
+-		$(DESTDIR)$(mandir)/man1 $(DESTDIR)$(mandir)/man8
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-binPROGRAMS mostlyclean-libexecPROGRAMS \
+-		mostlyclean-noinstPROGRAMS mostlyclean-compile \
+-		mostlyclean-libtool mostlyclean-tags \
+-		mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-binPROGRAMS clean-generic clean-libexecPROGRAMS \
++	clean-libtool clean-noinstPROGRAMS mostlyclean-am
+ 
+-clean-am:  clean-binPROGRAMS clean-libexecPROGRAMS clean-noinstPROGRAMS \
+-		clean-compile clean-libtool clean-tags clean-generic \
+-		mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-binPROGRAMS distclean-libexecPROGRAMS \
+-		distclean-noinstPROGRAMS distclean-compile \
+-		distclean-libtool distclean-tags distclean-generic \
+-		clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-binPROGRAMS \
+-		maintainer-clean-libexecPROGRAMS \
+-		maintainer-clean-noinstPROGRAMS \
+-		maintainer-clean-compile maintainer-clean-libtool \
+-		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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local install-man
++
++install-exec-am: install-binPROGRAMS install-libexecPROGRAMS
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man: install-man1 install-man8
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-am
+ 
+-.PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
+-maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
+-mostlyclean-libexecPROGRAMS distclean-libexecPROGRAMS \
+-clean-libexecPROGRAMS maintainer-clean-libexecPROGRAMS \
+-uninstall-libexecPROGRAMS install-libexecPROGRAMS \
+-mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \
+-clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \
+-mostlyclean-compile distclean-compile clean-compile \
+-maintainer-clean-compile mostlyclean-libtool distclean-libtool \
+-clean-libtool maintainer-clean-libtool install-man1 uninstall-man1 \
+-install-man8 uninstall-man8 install-man uninstall-man tags \
+-mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
+-distdir info-am info dvi-am dvi check-local check check-am \
+-installcheck-am installcheck install-exec-am install-exec \
+-install-data-local install-data-am install-data install-am install \
+-uninstall-am uninstall all-local all-redirect all-am all install-strip \
+-installdirs mostlyclean-generic distclean-generic clean-generic \
+-maintainer-clean-generic clean mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-binPROGRAMS uninstall-info-am \
++	uninstall-libexecPROGRAMS uninstall-man
++
++uninstall-man: uninstall-man1 uninstall-man8
++
++.PHONY: GTAGS all all-am all-local check check-am check-local clean \
++	clean-binPROGRAMS clean-generic clean-libexecPROGRAMS \
++	clean-libtool clean-noinstPROGRAMS distclean distclean-compile \
++	distclean-generic distclean-libtool distclean-tags distdir dvi \
++	dvi-am info info-am install install-am install-binPROGRAMS \
++	install-data install-data-am install-data-local install-exec \
++	install-exec-am install-info install-info-am \
++	install-libexecPROGRAMS install-man install-man1 install-man8 \
++	install-strip installcheck installcheck-am installdirs \
++	maintainer-clean maintainer-clean-generic mostlyclean \
++	mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
++	tags uninstall uninstall-am uninstall-binPROGRAMS \
++	uninstall-info-am uninstall-libexecPROGRAMS uninstall-man \
++	uninstall-man1 uninstall-man8
+ 
+ 
+ install-suid-programs:
+@@ -746,7 +734,6 @@
+ 	  echo "$$dashes"; \
+ 	  test "$$failed" -eq 0; \
+ 	fi
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/kuser/Makefile.in heimdal-0.4e/kuser/Makefile.in
+--- heimdal-0.4e-old/kuser/Makefile.in	Thu Sep  6 22:23:45 2001
++++ heimdal-0.4e/kuser/Makefile.in	Sat Jun 15 19:35:26 2002
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.30 2001/09/02 17:12:23 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,13 +90,13 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+ LIB_ = @LIB_@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+-LIB_com_err = @LIB_com_err@
+ LIB_com_err_a = @LIB_com_err_a@
+ LIB_com_err_so = @LIB_com_err_so@
+ LIB_des = @LIB_des@
+@@ -100,12 +104,10 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+-LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,19 +121,19 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+-
+-# $Id: Makefile.am,v 1.30 2001/09/02 17:12:23 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
++LIB_com_err = @LIB_com_err@
++LIB_otp = @LIB_otp@
++LIB_roken = @LIB_roken@
+ 
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+@@ -185,17 +187,24 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+@@ -226,196 +235,176 @@
+ 
+ subdir = kuser
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../include/config.h
+-CONFIG_CLEAN_FILES = 
+-bin_PROGRAMS =  kinit$(EXEEXT) klist$(EXEEXT) kdestroy$(EXEEXT) \
+-kgetcred$(EXEEXT)
+-noinst_PROGRAMS =  kverify$(EXEEXT) kdecode_ticket$(EXEEXT) \
+-generate-requests$(EXEEXT)
+-PROGRAMS =  $(bin_PROGRAMS) $(noinst_PROGRAMS)
+-
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++bin_PROGRAMS = kinit$(EXEEXT) klist$(EXEEXT) kdestroy$(EXEEXT) \
++	kgetcred$(EXEEXT)
++noinst_PROGRAMS = kverify$(EXEEXT) kdecode_ticket$(EXEEXT) \
++	generate-requests$(EXEEXT)
++PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS)
+ 
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../include
+-CPPFLAGS = @CPPFLAGS@
+-LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+ generate_requests_SOURCES = generate-requests.c
+-generate_requests_OBJECTS =  generate-requests.$(OBJEXT)
++generate_requests_OBJECTS = generate-requests.$(OBJEXT)
+ generate_requests_LDADD = $(LDADD)
+-generate_requests_DEPENDENCIES =  $(top_builddir)/lib/krb5/libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
+-generate_requests_LDFLAGS = 
++generate_requests_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++generate_requests_LDFLAGS =
+ kdecode_ticket_SOURCES = kdecode_ticket.c
+-kdecode_ticket_OBJECTS =  kdecode_ticket.$(OBJEXT)
++kdecode_ticket_OBJECTS = kdecode_ticket.$(OBJEXT)
+ kdecode_ticket_LDADD = $(LDADD)
+-kdecode_ticket_DEPENDENCIES =  $(top_builddir)/lib/krb5/libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
+-kdecode_ticket_LDFLAGS = 
++kdecode_ticket_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++kdecode_ticket_LDFLAGS =
+ kdestroy_SOURCES = kdestroy.c
+-kdestroy_OBJECTS =  kdestroy.$(OBJEXT)
+-@KRB4_FALSE@kdestroy_DEPENDENCIES =  $(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_FALSE@$(top_builddir)/lib/asn1/libasn1.la
+-@KRB4_TRUE@kdestroy_DEPENDENCIES =  $(top_builddir)/lib/kafs/libkafs.la \
+-@KRB4_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_TRUE@$(top_builddir)/lib/asn1/libasn1.la
+-kdestroy_LDFLAGS = 
++kdestroy_OBJECTS = kdestroy.$(OBJEXT)
++@KRB4_TRUE@kdestroy_DEPENDENCIES = $(top_builddir)/lib/kafs/libkafs.la \
++@KRB4_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la \
++@KRB4_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB4_FALSE@kdestroy_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
++@KRB4_FALSE@	$(top_builddir)/lib/asn1/libasn1.la
++kdestroy_LDFLAGS =
+ kgetcred_SOURCES = kgetcred.c
+-kgetcred_OBJECTS =  kgetcred.$(OBJEXT)
++kgetcred_OBJECTS = kgetcred.$(OBJEXT)
+ kgetcred_LDADD = $(LDADD)
+-kgetcred_DEPENDENCIES =  $(top_builddir)/lib/krb5/libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
+-kgetcred_LDFLAGS = 
++kgetcred_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++kgetcred_LDFLAGS =
+ kinit_SOURCES = kinit.c
+-kinit_OBJECTS =  kinit.$(OBJEXT)
+-@KRB4_FALSE@kinit_DEPENDENCIES =  $(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_FALSE@$(top_builddir)/lib/asn1/libasn1.la
+-@KRB4_TRUE@kinit_DEPENDENCIES =  $(top_builddir)/lib/kafs/libkafs.la \
+-@KRB4_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_TRUE@$(top_builddir)/lib/asn1/libasn1.la
+-kinit_LDFLAGS = 
++kinit_OBJECTS = kinit.$(OBJEXT)
++@KRB4_TRUE@kinit_DEPENDENCIES = $(top_builddir)/lib/kafs/libkafs.la \
++@KRB4_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la \
++@KRB4_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB4_FALSE@kinit_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
++@KRB4_FALSE@	$(top_builddir)/lib/asn1/libasn1.la
++kinit_LDFLAGS =
+ klist_SOURCES = klist.c
+-klist_OBJECTS =  klist.$(OBJEXT)
+-@KRB4_FALSE@klist_DEPENDENCIES =  $(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_FALSE@$(top_builddir)/lib/asn1/libasn1.la
+-@KRB4_TRUE@klist_DEPENDENCIES =  $(top_builddir)/lib/kafs/libkafs.la \
+-@KRB4_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_TRUE@$(top_builddir)/lib/asn1/libasn1.la
+-klist_LDFLAGS = 
++klist_OBJECTS = klist.$(OBJEXT)
++@KRB4_TRUE@klist_DEPENDENCIES = $(top_builddir)/lib/kafs/libkafs.la \
++@KRB4_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la \
++@KRB4_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB4_FALSE@klist_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
++@KRB4_FALSE@	$(top_builddir)/lib/asn1/libasn1.la
++klist_LDFLAGS =
+ kverify_SOURCES = kverify.c
+-kverify_OBJECTS =  kverify.$(OBJEXT)
++kverify_OBJECTS = kverify.$(OBJEXT)
+ kverify_LDADD = $(LDADD)
+-kverify_DEPENDENCIES =  $(top_builddir)/lib/krb5/libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
+-kverify_LDFLAGS = 
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
+-CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  generate-requests.c kdecode_ticket.c kdestroy.c \
+-kgetcred.c kinit.c klist.c kverify.c
+-man1dir = $(mandir)/man1
+-MANS = $(man_MANS)
+-depcomp = 
+-DIST_COMMON =  Makefile.am Makefile.in
+-
++kverify_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++kverify_LDFLAGS =
+ 
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
++CPPFLAGS = @CPPFLAGS@
++LDFLAGS = @LDFLAGS@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++CCLD = $(CC)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++DIST_SOURCES = generate-requests.c kdecode_ticket.c kdestroy.c \
++	kgetcred.c kinit.c klist.c kverify.c
+ 
+-GZIP_ENV = --best
++NROFF = nroff
++MANS = $(man_MANS)
++DIST_COMMON = Makefile.am Makefile.in
+ SOURCES = generate-requests.c kdecode_ticket.c kdestroy.c kgetcred.c kinit.c klist.c kverify.c
+-OBJECTS = generate-requests.$(OBJEXT) kdecode_ticket.$(OBJEXT) kdestroy.$(OBJEXT) kgetcred.$(OBJEXT) kinit.$(OBJEXT) klist.$(OBJEXT) kverify.$(OBJEXT)
+ 
+-all: all-redirect
++all: all-am
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign kuser/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+-
+-
+-mostlyclean-binPROGRAMS:
+ 
+-clean-binPROGRAMS:
+-	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
+-
+-distclean-binPROGRAMS:
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-maintainer-clean-binPROGRAMS:
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  kuser/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ install-binPROGRAMS: $(bin_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(bindir)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  if test -f $$p; then \
+-	    f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f; \
++	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  if test -f $$p \
++	     || test -f $$p1 \
++	  ; then \
++	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-binPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+-mostlyclean-noinstPROGRAMS:
++clean-binPROGRAMS:
++	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
+ 
+ clean-noinstPROGRAMS:
+ 	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
+-
+-distclean-noinstPROGRAMS:
+-
+-maintainer-clean-noinstPROGRAMS:
+-
+-mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
+-
+-clean-compile:
+-
+-distclean-compile:
+-	-rm -f *.tab.c
+-
+-maintainer-clean-compile:
+-
+-mostlyclean-libtool:
+-	-rm -f *.lo
+-
+-clean-libtool:
+-	-rm -rf .libs _libs
+-
+-distclean-libtool:
+-
+-maintainer-clean-libtool:
+-
+-generate-requests$(EXEEXT): $(generate_requests_OBJECTS) $(generate_requests_DEPENDENCIES)
++generate-requests$(EXEEXT): $(generate_requests_OBJECTS) $(generate_requests_DEPENDENCIES) 
+ 	@rm -f generate-requests$(EXEEXT)
+ 	$(LINK) $(generate_requests_LDFLAGS) $(generate_requests_OBJECTS) $(generate_requests_LDADD) $(LIBS)
+-
+-kdecode_ticket$(EXEEXT): $(kdecode_ticket_OBJECTS) $(kdecode_ticket_DEPENDENCIES)
++kdecode_ticket$(EXEEXT): $(kdecode_ticket_OBJECTS) $(kdecode_ticket_DEPENDENCIES) 
+ 	@rm -f kdecode_ticket$(EXEEXT)
+ 	$(LINK) $(kdecode_ticket_LDFLAGS) $(kdecode_ticket_OBJECTS) $(kdecode_ticket_LDADD) $(LIBS)
+-
+-kdestroy$(EXEEXT): $(kdestroy_OBJECTS) $(kdestroy_DEPENDENCIES)
++kdestroy$(EXEEXT): $(kdestroy_OBJECTS) $(kdestroy_DEPENDENCIES) 
+ 	@rm -f kdestroy$(EXEEXT)
+ 	$(LINK) $(kdestroy_LDFLAGS) $(kdestroy_OBJECTS) $(kdestroy_LDADD) $(LIBS)
+-
+-kgetcred$(EXEEXT): $(kgetcred_OBJECTS) $(kgetcred_DEPENDENCIES)
++kgetcred$(EXEEXT): $(kgetcred_OBJECTS) $(kgetcred_DEPENDENCIES) 
+ 	@rm -f kgetcred$(EXEEXT)
+ 	$(LINK) $(kgetcred_LDFLAGS) $(kgetcred_OBJECTS) $(kgetcred_LDADD) $(LIBS)
+-
+-kinit$(EXEEXT): $(kinit_OBJECTS) $(kinit_DEPENDENCIES)
++kinit$(EXEEXT): $(kinit_OBJECTS) $(kinit_DEPENDENCIES) 
+ 	@rm -f kinit$(EXEEXT)
+ 	$(LINK) $(kinit_LDFLAGS) $(kinit_OBJECTS) $(kinit_LDADD) $(LIBS)
+-
+-klist$(EXEEXT): $(klist_OBJECTS) $(klist_DEPENDENCIES)
++klist$(EXEEXT): $(klist_OBJECTS) $(klist_DEPENDENCIES) 
+ 	@rm -f klist$(EXEEXT)
+ 	$(LINK) $(klist_LDFLAGS) $(klist_OBJECTS) $(klist_LDADD) $(LIBS)
+-
+-kverify$(EXEEXT): $(kverify_OBJECTS) $(kverify_DEPENDENCIES)
++kverify$(EXEEXT): $(kverify_OBJECTS) $(kverify_DEPENDENCIES) 
+ 	@rm -f kverify$(EXEEXT)
+ 	$(LINK) $(kverify_LDFLAGS) $(kverify_OBJECTS) $(kverify_LDADD) $(LIBS)
++
++mostlyclean-compile:
++	-rm -f *.$(OBJEXT) core *.core
++
++distclean-compile:
++	-rm -f *.tab.c
++
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
++
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
++uninstall-info-am:
+ 
+-install-man1:
++man1dir = $(mandir)/man1
++install-man1: $(man1_MANS) $(man_MANS)
++	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(man1dir)
+-	@list='$(man1_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.1*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -430,10 +419,11 @@
+ 	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
+ 	  $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
+ 	done
+-
+ uninstall-man1:
+-	@list='$(man1_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@$(NORMAL_UNINSTALL)
++	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.1*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -446,12 +436,6 @@
+ 	  echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
+ 	  rm -f $(DESTDIR)$(man1dir)/$$inst; \
+ 	done
+-install-man: $(MANS)
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-man1
+-uninstall-man:
+-	@$(NORMAL_UNINSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) uninstall-man1
+ 
+ tags: TAGS
+ 
+@@ -480,22 +464,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -505,90 +490,96 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-install-exec-am: install-binPROGRAMS
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++all-am: Makefile $(PROGRAMS) $(MANS) all-local
+ 
+-install-data-am: install-man install-data-local
+-install-data: install-data-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(man1dir)
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am: uninstall-binPROGRAMS uninstall-man
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(PROGRAMS) $(MANS) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-binPROGRAMS mostlyclean-noinstPROGRAMS \
+-		mostlyclean-compile mostlyclean-libtool \
+-		mostlyclean-tags mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-binPROGRAMS clean-generic clean-libtool \
++	clean-noinstPROGRAMS mostlyclean-am
+ 
+-clean-am:  clean-binPROGRAMS clean-noinstPROGRAMS clean-compile \
+-		clean-libtool clean-tags clean-generic mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-binPROGRAMS distclean-noinstPROGRAMS \
+-		distclean-compile distclean-libtool distclean-tags \
+-		distclean-generic clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-binPROGRAMS \
+-		maintainer-clean-noinstPROGRAMS \
+-		maintainer-clean-compile maintainer-clean-libtool \
+-		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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local install-man
++
++install-exec-am: install-binPROGRAMS
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man: install-man1
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-am
+ 
+-.PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
+-maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
+-mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \
+-clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \
+-mostlyclean-compile distclean-compile clean-compile \
+-maintainer-clean-compile mostlyclean-libtool distclean-libtool \
+-clean-libtool maintainer-clean-libtool install-man1 uninstall-man1 \
+-install-man uninstall-man tags mostlyclean-tags distclean-tags \
+-clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi \
+-check-local check check-am installcheck-am installcheck install-exec-am \
+-install-exec install-data-local install-data-am install-data install-am \
+-install uninstall-am uninstall all-local all-redirect all-am all \
+-install-strip installdirs mostlyclean-generic distclean-generic \
+-clean-generic maintainer-clean-generic clean mostlyclean distclean \
+-maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-binPROGRAMS uninstall-info-am uninstall-man
++
++uninstall-man: uninstall-man1
++
++.PHONY: GTAGS all all-am all-local check check-am check-local clean \
++	clean-binPROGRAMS clean-generic clean-libtool \
++	clean-noinstPROGRAMS distclean distclean-compile \
++	distclean-generic distclean-libtool distclean-tags distdir dvi \
++	dvi-am info info-am install install-am install-binPROGRAMS \
++	install-data install-data-am install-data-local install-exec \
++	install-exec-am install-info install-info-am install-man \
++	install-man1 install-strip installcheck installcheck-am \
++	installdirs maintainer-clean maintainer-clean-generic \
++	mostlyclean mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool tags uninstall uninstall-am \
++	uninstall-binPROGRAMS uninstall-info-am uninstall-man \
++	uninstall-man1
+ 
+ 
+ install-suid-programs:
+@@ -722,7 +713,6 @@
+ # make sure install-exec-hook doesn't have any commands in Makefile.am.common
+ install-exec-hook:
+ 	(cd $(DESTDIR)$(bindir) && rm -f kauth && $(LN_S) kinit kauth)
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/lib/45/Makefile.in heimdal-0.4e/lib/45/Makefile.in
+--- heimdal-0.4e-old/lib/45/Makefile.in	Thu Sep  6 22:22:44 2001
++++ heimdal-0.4e/lib/45/Makefile.in	Sat Jun 15 19:35:26 2002
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.5 1999/03/20 13:58:17 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,13 +90,13 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+ LIB_ = @LIB_@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+-LIB_com_err = @LIB_com_err@
+ LIB_com_err_a = @LIB_com_err_a@
+ LIB_com_err_so = @LIB_com_err_so@
+ LIB_des = @LIB_des@
+@@ -100,12 +104,10 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+-LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,19 +121,19 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+-
+-# $Id: Makefile.am,v 1.5 1999/03/20 13:58:17 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
++LIB_com_err = @LIB_com_err@
++LIB_otp = @LIB_otp@
++LIB_roken = @LIB_roken@
+ 
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+@@ -185,17 +187,24 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+@@ -206,59 +215,54 @@
+ lib45_a_SOURCES = get_ad_tkt.c mk_req.c 45_locl.h
+ subdir = lib/45
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../include/config.h
+-CONFIG_CLEAN_FILES = 
+-LIBRARIES =  $(lib_LIBRARIES)
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++LIBRARIES = $(lib_LIBRARIES)
+ 
++lib45_a_AR = $(AR) cru
++lib45_a_LIBADD =
++am_lib45_a_OBJECTS = get_ad_tkt.$(OBJEXT) mk_req.$(OBJEXT)
++lib45_a_OBJECTS = $(am_lib45_a_OBJECTS)
+ 
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../../include
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+-lib45_a_AR = $(AR) cru
+-lib45_a_LIBADD = 
+-am_lib45_a_OBJECTS =  get_ad_tkt.$(OBJEXT) mk_req.$(OBJEXT)
+-lib45_a_OBJECTS =  $(am_lib45_a_OBJECTS)
+-AR = ar
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  $(lib45_a_SOURCES)
+-depcomp = 
+-DIST_COMMON =  Makefile.am Makefile.in
+-
+-
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+-
+-GZIP_ENV = --best
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++DIST_SOURCES = $(lib45_a_SOURCES)
++DIST_COMMON = Makefile.am Makefile.in
+ SOURCES = $(lib45_a_SOURCES)
+-OBJECTS = $(am_lib45_a_OBJECTS)
+ 
+-all: all-redirect
++all: all-am
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/45/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+ 
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-mostlyclean-libLIBRARIES:
+-
+-clean-libLIBRARIES:
+-	-test -z "$(lib_LIBRARIES)" || rm -f $(lib_LIBRARIES)
+-
+-distclean-libLIBRARIES:
++clean-libtool:
++	-rm -rf .libs _libs
+ 
+-maintainer-clean-libLIBRARIES:
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  lib/45/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ 
++AR = ar
+ install-libLIBRARIES: $(lib_LIBRARIES)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(libdir)
+@@ -283,37 +287,28 @@
+ 	  rm -f $(DESTDIR)$(libdir)/$$p; \
+ 	done
+ 
+-mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
++clean-libLIBRARIES:
++	-test -z "$(lib_LIBRARIES)" || rm -f $(lib_LIBRARIES)
++lib45.a: $(lib45_a_OBJECTS) $(lib45_a_DEPENDENCIES) 
++	-rm -f lib45.a
++	$(lib45_a_AR) lib45.a $(lib45_a_OBJECTS) $(lib45_a_LIBADD)
++	$(RANLIB) lib45.a
+ 
+-clean-compile:
++mostlyclean-compile:
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+-maintainer-clean-compile:
+-
+-mostlyclean-libtool:
+-	-rm -f *.lo
+-
+-clean-libtool:
+-	-rm -rf .libs _libs
+-
+-distclean-libtool:
+-
+-maintainer-clean-libtool:
+-
+-lib45.a: $(lib45_a_OBJECTS) $(lib45_a_DEPENDENCIES)
+-	-rm -f lib45.a
+-	$(lib45_a_AR) lib45.a $(lib45_a_OBJECTS) $(lib45_a_LIBADD)
+-	$(RANLIB) lib45.a
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
++
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
++uninstall-info-am:
+ 
+ tags: TAGS
+ 
+@@ -342,22 +337,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -367,86 +363,91 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-install-exec-am: install-libLIBRARIES
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++all-am: Makefile $(LIBRARIES) all-local
+ 
+-install-data-am: install-data-local
+-install-data: install-data-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(libdir)
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am: uninstall-libLIBRARIES
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(LIBRARIES) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(libdir)
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-libLIBRARIES mostlyclean-compile \
+-		mostlyclean-libtool mostlyclean-tags \
+-		mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-generic clean-libLIBRARIES clean-libtool mostlyclean-am
+ 
+-clean-am:  clean-libLIBRARIES clean-compile clean-libtool clean-tags \
+-		clean-generic mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-libLIBRARIES distclean-compile \
+-		distclean-libtool distclean-tags distclean-generic \
+-		clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-libLIBRARIES \
+-		maintainer-clean-compile maintainer-clean-libtool \
+-		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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local
++
++install-exec-am: install-libLIBRARIES
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man:
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-am
+ 
+-.PHONY: mostlyclean-libLIBRARIES distclean-libLIBRARIES \
+-clean-libLIBRARIES maintainer-clean-libLIBRARIES uninstall-libLIBRARIES \
+-install-libLIBRARIES mostlyclean-compile distclean-compile \
+-clean-compile maintainer-clean-compile mostlyclean-libtool \
+-distclean-libtool clean-libtool maintainer-clean-libtool tags \
+-mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
+-distdir info-am info dvi-am dvi check-local check check-am \
+-installcheck-am installcheck install-exec-am install-exec \
+-install-data-local install-data-am install-data install-am install \
+-uninstall-am uninstall all-local all-redirect all-am all install-strip \
+-installdirs mostlyclean-generic distclean-generic clean-generic \
+-maintainer-clean-generic clean mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-info-am uninstall-libLIBRARIES
++
++.PHONY: GTAGS all all-am all-local check check-am check-local clean \
++	clean-generic clean-libLIBRARIES clean-libtool distclean \
++	distclean-compile distclean-generic distclean-libtool \
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-data install-data-am install-data-local \
++	install-exec install-exec-am install-info install-info-am \
++	install-libLIBRARIES install-man install-strip installcheck \
++	installcheck-am installdirs maintainer-clean \
++	maintainer-clean-generic mostlyclean mostlyclean-compile \
++	mostlyclean-generic mostlyclean-libtool tags uninstall \
++	uninstall-am uninstall-info-am uninstall-libLIBRARIES
+ 
+ 
+ install-suid-programs:
+@@ -576,7 +577,6 @@
+ 	  echo "$$dashes"; \
+ 	  test "$$failed" -eq 0; \
+ 	fi
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/lib/Makefile.in heimdal-0.4e/lib/Makefile.in
+--- heimdal-0.4e-old/lib/Makefile.in	Thu Sep  6 22:22:42 2001
++++ heimdal-0.4e/lib/Makefile.in	Sat Jun 15 19:35:27 2002
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.22 2001/08/28 18:44:41 nectar Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,13 +90,13 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+ LIB_ = @LIB_@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+-LIB_com_err = @LIB_com_err@
+ LIB_com_err_a = @LIB_com_err_a@
+ LIB_com_err_so = @LIB_com_err_so@
+ LIB_des = @LIB_des@
+@@ -100,12 +104,10 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+-LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,19 +121,19 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+-
+-# $Id: Makefile.am,v 1.22 2001/08/28 18:44:41 nectar Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
++LIB_com_err = @LIB_com_err@
++LIB_otp = @LIB_otp@
++LIB_roken = @LIB_roken@
+ 
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+@@ -185,56 +187,77 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+-@KRB4_TRUE@dir_45 = @KRB4_TRUE@45
+-@OTP_TRUE@dir_otp = @OTP_TRUE@otp
+-@DCE_TRUE@dir_dce = @DCE_TRUE@kdfs
++@KRB4_TRUE@dir_45 = 45
++@DCE_TRUE@dir_dce = kdfs
+ 
+-SUBDIRS = @DIR_roken@ vers editline @DIR_com_err@ sl asn1 @DIR_des@ krb5 \
+-	kafs hdb kadm5 gssapi auth $(dir_45) $(dir_otp) $(dir_dce)
++SUBDIRS = @DIR_roken@ vers @DIR_readline@ @DIR_com_err@ @DIR_sl@ asn1 @DIR_des@ krb5 \
++	kafs hdb kadm5 gssapi auth $(dir_45) @DIR_otp@ $(dir_dce)
+ 
+ subdir = lib
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../include/config.h
+-CONFIG_CLEAN_FILES = 
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++depcomp =
+ CFLAGS = @CFLAGS@
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES = 
+-depcomp = 
+-DIST_COMMON =  Makefile.am Makefile.in
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++DIST_SOURCES =
++
++RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \
++	uninstall-info-recursive all-recursive install-data-recursive \
++	install-exec-recursive installdirs-recursive install-recursive \
++	uninstall-recursive check-recursive installcheck-recursive
++DIST_COMMON = Makefile.am Makefile.in
++DIST_SUBDIRS = @DIR_roken@ vers @DIR_readline@ @DIR_com_err@ @DIR_sl@ \
++	asn1 @DIR_des@ krb5 kafs hdb kadm5 gssapi auth 45 @DIR_otp@ \
++	kdfs
++all: all-recursive
+ 
++.SUFFIXES:
++.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c
+ 
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-GZIP_ENV = --best
+-DIST_SUBDIRS =  @DIR_roken@ vers editline @DIR_com_err@ sl asn1 \
+-@DIR_des@ krb5 kafs hdb kadm5 gssapi auth 45 otp kdfs
+-all: all-redirect
+-.SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  lib/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
++uninstall-info-am:
+ 
+ # This directory's subdirectories are mostly independent; you can cd
+ # into them and run `make' without going through this Makefile.
+@@ -242,10 +265,7 @@
+ # (1) if the variable is set in `config.status', edit `config.status'
+ #     (which will cause the Makefiles to be regenerated when you run `make');
+ # (2) otherwise, pass the desired values on the `make' command line.
+-
+-all-recursive install-data-recursive install-exec-recursive \
+-installdirs-recursive install-recursive uninstall-recursive  \
+-check-recursive installcheck-recursive info-recursive dvi-recursive:
++$(RECURSIVE_TARGETS):
+ 	@set fnord $(MAKEFLAGS); amf=$$2; \
+ 	dot_seen=no; \
+ 	target=`echo $@ | sed s/-recursive//`; \
+@@ -310,9 +330,9 @@
+ 	tags=; \
+ 	here=`pwd`; \
+ 	list='$(SUBDIRS)'; for subdir in $$list; do \
+-   if test "$$subdir" = .; then :; else \
++	  if test "$$subdir" = .; then :; else \
+ 	    test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
+-   fi; \
++	  fi; \
+ 	done; \
+ 	list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
+ 	unique=`for i in $$list; do \
+@@ -326,22 +346,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -356,84 +377,103 @@
+ 	    test -d $(distdir)/$$subdir \
+ 	    || mkdir $(distdir)/$$subdir \
+ 	    || exit 1; \
+-	    (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \
++	    (cd $$subdir && \
++	      $(MAKE) $(AM_MAKEFLAGS) \
++	        top_distdir="$(top_distdir)" \
++	        distdir=../$(distdir)/$$subdir \
++	        distdir) \
+ 	      || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-recursive
+-dvi-am:
+-dvi: dvi-recursive
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-recursive
+-installcheck-am:
+-installcheck: installcheck-recursive
+-install-exec-am:
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-recursive
++all-am: Makefile all-local
++installdirs: installdirs-recursive
++installdirs-am:
+ 
+-install-data-am: install-data-local
++install: install-recursive
++install-exec: install-exec-recursive
+ install-data: install-data-recursive
++uninstall: uninstall-recursive
+ 
+ install-am: all-am
+ 	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+-install: install-recursive
+-uninstall-am:
+-uninstall: uninstall-recursive
+-all-am: Makefile all-local
+-all-redirect: all-recursive
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs: installdirs-recursive
+-installdirs-am:
+-
+ 
++installcheck: installcheck-recursive
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-tags mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-recursive
+ 
+-mostlyclean: mostlyclean-recursive
++clean-am: clean-generic clean-libtool mostlyclean-am
+ 
+-clean-am:  clean-tags clean-generic mostlyclean-am
++distclean: distclean-recursive
+ 
+-clean: clean-recursive
++distclean-am: clean-am distclean-generic distclean-libtool \
++	distclean-tags
+ 
+-distclean-am:  distclean-tags distclean-generic clean-am
+-	-rm -f libtool
++dvi: dvi-recursive
+ 
+-distclean: distclean-recursive
++dvi-am:
+ 
+-maintainer-clean-am:  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."
++info: info-recursive
++
++info-am:
++
++install-data-am: install-data-local
++
++install-exec-am:
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-recursive
++
++install-man:
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-recursive
+ 
+-.PHONY: install-recursive uninstall-recursive install-data-recursive \
+-uninstall-data-recursive install-exec-recursive \
+-uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
+-all-recursive check-recursive installcheck-recursive info-recursive \
+-dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
+-maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
+-distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
+-dvi-am dvi check-local check check-am installcheck-am installcheck \
+-install-exec-am install-exec install-data-local install-data-am \
+-install-data install-am install uninstall-am uninstall all-local \
+-all-redirect all-am all install-strip installdirs-am installdirs \
+-mostlyclean-generic distclean-generic clean-generic \
+-maintainer-clean-generic clean mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-recursive
++
++mostlyclean-am: mostlyclean-generic mostlyclean-libtool
++
++uninstall-am: uninstall-info-am
++
++uninstall-info: uninstall-info-recursive
++
++.PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am all-local check check-am \
++	check-local clean clean-generic clean-libtool clean-recursive \
++	distclean distclean-generic distclean-libtool \
++	distclean-recursive distclean-tags distdir dvi dvi-am \
++	dvi-recursive info info-am info-recursive install install-am \
++	install-data install-data-am install-data-local \
++	install-data-recursive install-exec install-exec-am \
++	install-exec-recursive install-info install-info-am \
++	install-info-recursive install-man install-recursive \
++	install-strip installcheck installcheck-am installdirs \
++	installdirs-am installdirs-recursive maintainer-clean \
++	maintainer-clean-generic maintainer-clean-recursive mostlyclean \
++	mostlyclean-generic mostlyclean-libtool mostlyclean-recursive \
++	tags tags-recursive uninstall uninstall-am uninstall-info-am \
++	uninstall-info-recursive uninstall-recursive
+ 
+ 
+ install-suid-programs:
+@@ -563,7 +603,6 @@
+ 	  echo "$$dashes"; \
+ 	  test "$$failed" -eq 0; \
+ 	fi
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/lib/asn1/Makefile.in heimdal-0.4e/lib/asn1/Makefile.in
+--- heimdal-0.4e-old/lib/asn1/Makefile.in	Thu Sep  6 22:22:55 2001
++++ heimdal-0.4e/lib/asn1/Makefile.in	Sat Jun 15 19:35:27 2002
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.67 2001/09/02 16:56:45 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,13 +90,13 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+ LIB_ = @LIB_@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+-LIB_com_err = @LIB_com_err@
+ LIB_com_err_a = @LIB_com_err_a@
+ LIB_com_err_so = @LIB_com_err_so@
+ LIB_des = @LIB_des@
+@@ -100,12 +104,10 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+-LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,19 +121,19 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+-
+-# $Id: Makefile.am,v 1.67 2001/09/02 16:56:45 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
++LIB_com_err = @LIB_com_err@
++LIB_otp = @LIB_otp@
++LIB_roken = @LIB_roken@
+ 
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+@@ -185,17 +187,24 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+@@ -315,192 +324,174 @@
+ EXTRA_DIST = asn1_err.et
+ subdir = lib/asn1
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../include/config.h
+-CONFIG_CLEAN_FILES = 
+-LTLIBRARIES =  $(lib_LTLIBRARIES)
+-
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++LTLIBRARIES = $(lib_LTLIBRARIES)
++
++libasn1_la_DEPENDENCIES =
++am_libasn1_la_OBJECTS = der_get.lo der_put.lo der_free.lo der_length.lo \
++	der_copy.lo timegm.lo asn1_APOptions.lo asn1_AP_REP.lo \
++	asn1_AP_REQ.lo asn1_AS_REP.lo asn1_AS_REQ.lo \
++	asn1_Authenticator.lo asn1_AuthorizationData.lo \
++	asn1_CKSUMTYPE.lo asn1_Checksum.lo asn1_ENCTYPE.lo \
++	asn1_ETYPE_INFO.lo asn1_ETYPE_INFO_ENTRY.lo \
++	asn1_EncAPRepPart.lo asn1_EncASRepPart.lo asn1_EncKDCRepPart.lo \
++	asn1_EncKrbCredPart.lo asn1_EncKrbPrivPart.lo \
++	asn1_EncTGSRepPart.lo asn1_EncTicketPart.lo \
++	asn1_EncryptedData.lo asn1_EncryptionKey.lo asn1_HostAddress.lo \
++	asn1_HostAddresses.lo asn1_KDCOptions.lo asn1_KDC_REP.lo \
++	asn1_KDC_REQ.lo asn1_KDC_REQ_BODY.lo asn1_KRB_CRED.lo \
++	asn1_KRB_ERROR.lo asn1_KRB_PRIV.lo asn1_KRB_SAFE.lo \
++	asn1_KRB_SAFE_BODY.lo asn1_KerberosTime.lo asn1_KrbCredInfo.lo \
++	asn1_LastReq.lo asn1_LR_TYPE.lo asn1_MESSAGE_TYPE.lo \
++	asn1_METHOD_DATA.lo asn1_NAME_TYPE.lo asn1_PADATA_TYPE.lo \
++	asn1_PA_DATA.lo asn1_PA_ENC_TS_ENC.lo asn1_Principal.lo \
++	asn1_PrincipalName.lo asn1_Realm.lo asn1_TGS_REP.lo \
++	asn1_TGS_REQ.lo asn1_Ticket.lo asn1_TicketFlags.lo \
++	asn1_TransitedEncoding.lo asn1_UNSIGNED.lo asn1_err.lo
++libasn1_la_OBJECTS = $(am_libasn1_la_OBJECTS)
++check_PROGRAMS = check-der$(EXEEXT)
++noinst_PROGRAMS = asn1_compile$(EXEEXT) asn1_print$(EXEEXT)
++PROGRAMS = $(noinst_PROGRAMS)
++
++am_asn1_compile_OBJECTS = gen.$(OBJEXT) gen_copy.$(OBJEXT) \
++	gen_decode.$(OBJEXT) gen_encode.$(OBJEXT) gen_free.$(OBJEXT) \
++	gen_glue.$(OBJEXT) gen_length.$(OBJEXT) hash.$(OBJEXT) \
++	lex.$(OBJEXT) main.$(OBJEXT) parse.$(OBJEXT) symbol.$(OBJEXT)
++asn1_compile_OBJECTS = $(am_asn1_compile_OBJECTS)
++asn1_compile_DEPENDENCIES =
++asn1_compile_LDFLAGS =
++asn1_print_SOURCES = asn1_print.c
++asn1_print_OBJECTS = asn1_print.$(OBJEXT)
++asn1_print_DEPENDENCIES = libasn1.la
++asn1_print_LDFLAGS =
++check_der_SOURCES = check-der.c
++check_der_OBJECTS = check-der.$(OBJEXT)
++check_der_DEPENDENCIES = libasn1.la
++check_der_LDFLAGS =
+ 
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../../include
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+-libasn1_la_DEPENDENCIES = 
+-am_libasn1_la_OBJECTS =  der_get.lo der_put.lo der_free.lo der_length.lo \
+-der_copy.lo timegm.lo asn1_APOptions.lo asn1_AP_REP.lo asn1_AP_REQ.lo \
+-asn1_AS_REP.lo asn1_AS_REQ.lo asn1_Authenticator.lo \
+-asn1_AuthorizationData.lo asn1_CKSUMTYPE.lo asn1_Checksum.lo \
+-asn1_ENCTYPE.lo asn1_ETYPE_INFO.lo asn1_ETYPE_INFO_ENTRY.lo \
+-asn1_EncAPRepPart.lo asn1_EncASRepPart.lo asn1_EncKDCRepPart.lo \
+-asn1_EncKrbCredPart.lo asn1_EncKrbPrivPart.lo asn1_EncTGSRepPart.lo \
+-asn1_EncTicketPart.lo asn1_EncryptedData.lo asn1_EncryptionKey.lo \
+-asn1_HostAddress.lo asn1_HostAddresses.lo asn1_KDCOptions.lo \
+-asn1_KDC_REP.lo asn1_KDC_REQ.lo asn1_KDC_REQ_BODY.lo asn1_KRB_CRED.lo \
+-asn1_KRB_ERROR.lo asn1_KRB_PRIV.lo asn1_KRB_SAFE.lo \
+-asn1_KRB_SAFE_BODY.lo asn1_KerberosTime.lo asn1_KrbCredInfo.lo \
+-asn1_LastReq.lo asn1_LR_TYPE.lo asn1_MESSAGE_TYPE.lo \
+-asn1_METHOD_DATA.lo asn1_NAME_TYPE.lo asn1_PADATA_TYPE.lo \
+-asn1_PA_DATA.lo asn1_PA_ENC_TS_ENC.lo asn1_Principal.lo \
+-asn1_PrincipalName.lo asn1_Realm.lo asn1_TGS_REP.lo asn1_TGS_REQ.lo \
+-asn1_Ticket.lo asn1_TicketFlags.lo asn1_TransitedEncoding.lo \
+-asn1_UNSIGNED.lo asn1_err.lo
+-libasn1_la_OBJECTS =  $(am_libasn1_la_OBJECTS)
+-check_PROGRAMS =  check-der$(EXEEXT)
+-noinst_PROGRAMS =  asn1_compile$(EXEEXT) asn1_print$(EXEEXT)
+-PROGRAMS =  $(noinst_PROGRAMS)
+-
+-am_asn1_compile_OBJECTS =  gen.$(OBJEXT) gen_copy.$(OBJEXT) \
+-gen_decode.$(OBJEXT) gen_encode.$(OBJEXT) gen_free.$(OBJEXT) \
+-gen_glue.$(OBJEXT) gen_length.$(OBJEXT) hash.$(OBJEXT) lex.$(OBJEXT) \
+-main.$(OBJEXT) parse.$(OBJEXT) symbol.$(OBJEXT)
+-asn1_compile_OBJECTS =  $(am_asn1_compile_OBJECTS)
+-asn1_compile_DEPENDENCIES = 
+-asn1_compile_LDFLAGS = 
+-asn1_print_SOURCES = asn1_print.c
+-asn1_print_OBJECTS =  asn1_print.$(OBJEXT)
+-asn1_print_DEPENDENCIES =  libasn1.la
+-asn1_print_LDFLAGS = 
+-check_der_SOURCES = check-der.c
+-check_der_OBJECTS =  check-der.$(OBJEXT)
+-check_der_DEPENDENCIES =  libasn1.la
+-check_der_LDFLAGS = 
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
+-LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  $(libasn1_la_SOURCES) $(asn1_compile_SOURCES) \
+-asn1_print.c check-der.c
+-HEADERS =  $(include_HEADERS)
+-
+-depcomp = 
+-DIST_COMMON =  $(include_HEADERS) Makefile.am Makefile.in lex.c parse.c \
+-parse.h
+-
+-
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++LEXCOMPILE = $(LEX) $(LFLAGS) $(AM_LFLAGS)
++LTLEXCOMPILE = $(LIBTOOL) --mode=compile $(LEX) $(LFLAGS) $(AM_LFLAGS)
++YACCCOMPILE = $(YACC) $(YFLAGS) $(AM_YFLAGS)
++LTYACCCOMPILE = $(LIBTOOL) --mode=compile $(YACC) $(YFLAGS) $(AM_YFLAGS)
++DIST_SOURCES = $(libasn1_la_SOURCES) $(asn1_compile_SOURCES) \
++	asn1_print.c check-der.c
++HEADERS = $(include_HEADERS)
+ 
+-GZIP_ENV = --best
++DIST_COMMON = $(include_HEADERS) Makefile.am Makefile.in lex.c parse.c \
++	parse.h
+ SOURCES = $(libasn1_la_SOURCES) $(asn1_compile_SOURCES) asn1_print.c check-der.c
+-OBJECTS = $(am_libasn1_la_OBJECTS) $(am_asn1_compile_OBJECTS) asn1_print.$(OBJEXT) check-der.$(OBJEXT)
+ 
+-all: all-redirect
++all: $(BUILT_SOURCES)
++	$(MAKE) $(AM_MAKEFLAGS) all-am
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .l .lo .o .obj .y
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/asn1/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+-
+ 
+-mostlyclean-libLTLIBRARIES:
+-
+-clean-libLTLIBRARIES:
+-	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
+-
+-distclean-libLTLIBRARIES:
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-maintainer-clean-libLTLIBRARIES:
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  lib/asn1/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ install-libLTLIBRARIES: $(lib_LTLIBRARIES)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(libdir)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+ 	  if test -f $$p; then \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p; \
++	    echo " $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p"; \
++	    $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-libLTLIBRARIES:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+-	  echo " $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
+-	  $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
++	  echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
++	  $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
+ 	done
+ 
+-mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
+-
+-clean-compile:
+-
+-distclean-compile:
+-	-rm -f *.tab.c
+-
+-maintainer-clean-compile:
+-
+-mostlyclean-libtool:
+-	-rm -f *.lo
+-
+-clean-libtool:
+-	-rm -rf .libs _libs
+-
+-distclean-libtool:
+-
+-maintainer-clean-libtool:
+-
+-libasn1.la: $(libasn1_la_OBJECTS) $(libasn1_la_DEPENDENCIES)
++clean-libLTLIBRARIES:
++	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
++libasn1.la: $(libasn1_la_OBJECTS) $(libasn1_la_DEPENDENCIES) 
+ 	$(LINK) -rpath $(libdir) $(libasn1_la_LDFLAGS) $(libasn1_la_OBJECTS) $(libasn1_la_LIBADD) $(LIBS)
+ 
+-mostlyclean-checkPROGRAMS:
+-
+ clean-checkPROGRAMS:
+ 	-test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
+ 
+-distclean-checkPROGRAMS:
+-
+-maintainer-clean-checkPROGRAMS:
+-
+-mostlyclean-noinstPROGRAMS:
+-
+ clean-noinstPROGRAMS:
+ 	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
+-
+-distclean-noinstPROGRAMS:
+-
+-maintainer-clean-noinstPROGRAMS:
+-
+-asn1_compile$(EXEEXT): $(asn1_compile_OBJECTS) $(asn1_compile_DEPENDENCIES)
++parse.h: parse.c
++asn1_compile$(EXEEXT): $(asn1_compile_OBJECTS) $(asn1_compile_DEPENDENCIES) 
+ 	@rm -f asn1_compile$(EXEEXT)
+ 	$(LINK) $(asn1_compile_LDFLAGS) $(asn1_compile_OBJECTS) $(asn1_compile_LDADD) $(LIBS)
+-
+-asn1_print$(EXEEXT): $(asn1_print_OBJECTS) $(asn1_print_DEPENDENCIES)
++asn1_print$(EXEEXT): $(asn1_print_OBJECTS) $(asn1_print_DEPENDENCIES) 
+ 	@rm -f asn1_print$(EXEEXT)
+ 	$(LINK) $(asn1_print_LDFLAGS) $(asn1_print_OBJECTS) $(asn1_print_LDADD) $(LIBS)
+-
+-check-der$(EXEEXT): $(check_der_OBJECTS) $(check_der_DEPENDENCIES)
++check-der$(EXEEXT): $(check_der_OBJECTS) $(check_der_DEPENDENCIES) 
+ 	@rm -f check-der$(EXEEXT)
+ 	$(LINK) $(check_der_LDFLAGS) $(check_der_OBJECTS) $(check_der_LDADD) $(LIBS)
++
++mostlyclean-compile:
++	-rm -f *.$(OBJEXT) core *.core
++
++distclean-compile:
++	-rm -f *.tab.c
++
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
++
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
++
++LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
++
+ .l.c:
+-	$(LEX) $(AM_LFLAGS) $(LFLAGS) $< && mv $(LEX_OUTPUT_ROOT).c $@
++	$(LEXCOMPILE) $< && mv $(LEX_OUTPUT_ROOT).c $@
++
+ .y.c:
+-	$(YACC) $(AM_YFLAGS) $(YFLAGS) $< && mv y.tab.c $*.c
++	$(YACCCOMPILE) $< && mv y.tab.c $@
+ 	if test -f y.tab.h; then \
+-	if cmp -s y.tab.h $*.h; then rm -f y.tab.h; else mv y.tab.h $*.h; fi; \
+-	else :; fi
+-parse.h: parse.c
+-
+-
++	  if cmp -s y.tab.h $*.h; then \
++	    rm -f y.tab.h; \
++	  else \
++	    mv y.tab.h $*.h; \
++	  fi; \
++	fi
++uninstall-info-am:
+ install-includeHEADERS: $(include_HEADERS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(includedir)
+ 	@list='$(include_HEADERS)'; for p in $$list; do \
+-	  if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
++	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
+-	  $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f; \
++	  echo " $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
++	  $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(includedir)/$$f; \
+ 	done
+ 
+ uninstall-includeHEADERS:
+@@ -538,16 +529,11 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
+ check-TESTS: $(TESTS)
+ 	@failed=0; all=0; xfail=0; xpass=0; \
+ 	srcdir=$(srcdir); export srcdir; \
+@@ -603,11 +589,18 @@
+ 	  test "$$failed" -eq 0; \
+ 	fi
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -617,102 +610,98 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
+ 	$(MAKE) $(AM_MAKEFLAGS) check-TESTS check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-all-recursive-am: $(BUILT_SOURCES)
+-	$(MAKE) $(AM_MAKEFLAGS) all-recursive
++all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(HEADERS) all-local
+ 
+-install-exec-am: install-libLTLIBRARIES
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(includedir)
+ 
+-install-data-am: install-includeHEADERS install-data-local
++install: install-am
++install-exec: install-exec-am
+ install-data: install-data-am
++uninstall: uninstall-am
+ 
+ install-am: all-am
+ 	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+-install: install-am
+-uninstall-am: uninstall-libLTLIBRARIES uninstall-includeHEADERS
+-uninstall: uninstall-am
+-all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(HEADERS) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(libdir) $(DESTDIR)$(includedir)
+-
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-	-test -z "lex.cparse.hparse.c$(BUILT_SOURCES)" || rm -f lex.c parse.h parse.c $(BUILT_SOURCES)
+-mostlyclean-am:  mostlyclean-libLTLIBRARIES mostlyclean-compile \
+-		mostlyclean-libtool mostlyclean-checkPROGRAMS \
+-		mostlyclean-noinstPROGRAMS mostlyclean-tags \
+-		mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++	-test -z "parse.h$(BUILT_SOURCES)" || rm -f parse.h $(BUILT_SOURCES)
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-checkPROGRAMS clean-generic clean-libLTLIBRARIES \
++	clean-libtool clean-noinstPROGRAMS mostlyclean-am
+ 
+-clean-am:  clean-libLTLIBRARIES clean-compile clean-libtool \
+-		clean-checkPROGRAMS clean-noinstPROGRAMS clean-tags \
+-		clean-generic mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-libLTLIBRARIES distclean-compile \
+-		distclean-libtool distclean-checkPROGRAMS \
+-		distclean-noinstPROGRAMS distclean-tags \
+-		distclean-generic clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-libLTLIBRARIES \
+-		maintainer-clean-compile maintainer-clean-libtool \
+-		maintainer-clean-checkPROGRAMS \
+-		maintainer-clean-noinstPROGRAMS 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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local install-includeHEADERS
++
++install-exec-am: install-libLTLIBRARIES
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man:
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-am
+ 
+-.PHONY: mostlyclean-libLTLIBRARIES distclean-libLTLIBRARIES \
+-clean-libLTLIBRARIES maintainer-clean-libLTLIBRARIES \
+-uninstall-libLTLIBRARIES install-libLTLIBRARIES mostlyclean-compile \
+-distclean-compile clean-compile maintainer-clean-compile \
+-mostlyclean-libtool distclean-libtool clean-libtool \
+-maintainer-clean-libtool mostlyclean-checkPROGRAMS \
+-distclean-checkPROGRAMS clean-checkPROGRAMS \
+-maintainer-clean-checkPROGRAMS mostlyclean-noinstPROGRAMS \
+-distclean-noinstPROGRAMS clean-noinstPROGRAMS \
+-maintainer-clean-noinstPROGRAMS uninstall-includeHEADERS \
+-install-includeHEADERS tags mostlyclean-tags distclean-tags clean-tags \
+-maintainer-clean-tags check-TESTS distdir info-am info dvi-am dvi \
+-check-local check check-am installcheck-am installcheck \
+-all-recursive-am install-exec-am install-exec install-data-local \
+-install-data-am install-data install-am install uninstall-am uninstall \
+-all-local all-redirect all-am all install-strip installdirs \
+-mostlyclean-generic distclean-generic clean-generic \
+-maintainer-clean-generic clean mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-includeHEADERS uninstall-info-am \
++	uninstall-libLTLIBRARIES
++
++.PHONY: GTAGS all all-am all-local check check-TESTS check-am \
++	check-local clean clean-checkPROGRAMS clean-generic \
++	clean-libLTLIBRARIES clean-libtool clean-noinstPROGRAMS \
++	distclean distclean-compile distclean-generic distclean-libtool \
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-data install-data-am install-data-local \
++	install-exec install-exec-am install-includeHEADERS \
++	install-info install-info-am install-libLTLIBRARIES install-man \
++	install-strip installcheck installcheck-am installdirs \
++	maintainer-clean maintainer-clean-generic mostlyclean \
++	mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
++	tags uninstall uninstall-am uninstall-includeHEADERS \
++	uninstall-info-am uninstall-libLTLIBRARIES
+ 
+ 
+ install-suid-programs:
+@@ -853,7 +842,6 @@
+ $(libasn1_la_OBJECTS): krb5_asn1.h asn1_err.h
+ 
+ $(asn1_print_OBJECTS): krb5_asn1.h
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/lib/auth/Makefile.in heimdal-0.4e/lib/auth/Makefile.in
+--- heimdal-0.4e-old/lib/auth/Makefile.in	Thu Sep  6 22:22:46 2001
++++ heimdal-0.4e/lib/auth/Makefile.in	Sat Jun 15 19:35:27 2002
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.2 1999/03/21 17:11:08 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,13 +90,13 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+ LIB_ = @LIB_@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+-LIB_com_err = @LIB_com_err@
+ LIB_com_err_a = @LIB_com_err_a@
+ LIB_com_err_so = @LIB_com_err_so@
+ LIB_des = @LIB_des@
+@@ -100,12 +104,10 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+-LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,19 +121,19 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+-
+-# $Id: Makefile.am,v 1.2 1999/03/21 17:11:08 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
++LIB_com_err = @LIB_com_err@
++LIB_otp = @LIB_otp@
++LIB_roken = @LIB_roken@
+ 
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+@@ -185,17 +187,24 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+@@ -203,31 +212,45 @@
+ DIST_SUBDIRS = afskauthlib pam sia
+ subdir = lib/auth
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../include/config.h
+-CONFIG_CLEAN_FILES = 
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++depcomp =
+ CFLAGS = @CFLAGS@
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES = 
+-depcomp = 
+-DIST_COMMON =  ChangeLog Makefile.am Makefile.in
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++DIST_SOURCES =
++
++RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \
++	uninstall-info-recursive all-recursive install-data-recursive \
++	install-exec-recursive installdirs-recursive install-recursive \
++	uninstall-recursive check-recursive installcheck-recursive
++DIST_COMMON = ChangeLog Makefile.am Makefile.in
++all: all-recursive
+ 
++.SUFFIXES:
++.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c
+ 
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-GZIP_ENV = --best
+-all: all-redirect
+-.SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/auth/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  lib/auth/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
++uninstall-info-am:
+ 
+ # This directory's subdirectories are mostly independent; you can cd
+ # into them and run `make' without going through this Makefile.
+@@ -235,10 +258,7 @@
+ # (1) if the variable is set in `config.status', edit `config.status'
+ #     (which will cause the Makefiles to be regenerated when you run `make');
+ # (2) otherwise, pass the desired values on the `make' command line.
+-
+-all-recursive install-data-recursive install-exec-recursive \
+-installdirs-recursive install-recursive uninstall-recursive  \
+-check-recursive installcheck-recursive info-recursive dvi-recursive:
++$(RECURSIVE_TARGETS):
+ 	@set fnord $(MAKEFLAGS); amf=$$2; \
+ 	dot_seen=no; \
+ 	target=`echo $@ | sed s/-recursive//`; \
+@@ -303,9 +323,9 @@
+ 	tags=; \
+ 	here=`pwd`; \
+ 	list='$(SUBDIRS)'; for subdir in $$list; do \
+-   if test "$$subdir" = .; then :; else \
++	  if test "$$subdir" = .; then :; else \
+ 	    test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
+-   fi; \
++	  fi; \
+ 	done; \
+ 	list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
+ 	unique=`for i in $$list; do \
+@@ -319,22 +339,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -349,84 +370,103 @@
+ 	    test -d $(distdir)/$$subdir \
+ 	    || mkdir $(distdir)/$$subdir \
+ 	    || exit 1; \
+-	    (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \
++	    (cd $$subdir && \
++	      $(MAKE) $(AM_MAKEFLAGS) \
++	        top_distdir="$(top_distdir)" \
++	        distdir=../$(distdir)/$$subdir \
++	        distdir) \
+ 	      || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-recursive
+-dvi-am:
+-dvi: dvi-recursive
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-recursive
+-installcheck-am:
+-installcheck: installcheck-recursive
+-install-exec-am:
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-recursive
++all-am: Makefile all-local
++installdirs: installdirs-recursive
++installdirs-am:
+ 
+-install-data-am: install-data-local
++install: install-recursive
++install-exec: install-exec-recursive
+ install-data: install-data-recursive
++uninstall: uninstall-recursive
+ 
+ install-am: all-am
+ 	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+-install: install-recursive
+-uninstall-am:
+-uninstall: uninstall-recursive
+-all-am: Makefile all-local
+-all-redirect: all-recursive
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs: installdirs-recursive
+-installdirs-am:
+-
+ 
++installcheck: installcheck-recursive
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-tags mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-recursive
+ 
+-mostlyclean: mostlyclean-recursive
++clean-am: clean-generic clean-libtool mostlyclean-am
+ 
+-clean-am:  clean-tags clean-generic mostlyclean-am
++distclean: distclean-recursive
+ 
+-clean: clean-recursive
++distclean-am: clean-am distclean-generic distclean-libtool \
++	distclean-tags
+ 
+-distclean-am:  distclean-tags distclean-generic clean-am
+-	-rm -f libtool
++dvi: dvi-recursive
+ 
+-distclean: distclean-recursive
++dvi-am:
+ 
+-maintainer-clean-am:  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."
++info: info-recursive
++
++info-am:
++
++install-data-am: install-data-local
++
++install-exec-am:
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-recursive
++
++install-man:
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-recursive
+ 
+-.PHONY: install-recursive uninstall-recursive install-data-recursive \
+-uninstall-data-recursive install-exec-recursive \
+-uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
+-all-recursive check-recursive installcheck-recursive info-recursive \
+-dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
+-maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
+-distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
+-dvi-am dvi check-local check check-am installcheck-am installcheck \
+-install-exec-am install-exec install-data-local install-data-am \
+-install-data install-am install uninstall-am uninstall all-local \
+-all-redirect all-am all install-strip installdirs-am installdirs \
+-mostlyclean-generic distclean-generic clean-generic \
+-maintainer-clean-generic clean mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-recursive
++
++mostlyclean-am: mostlyclean-generic mostlyclean-libtool
++
++uninstall-am: uninstall-info-am
++
++uninstall-info: uninstall-info-recursive
++
++.PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am all-local check check-am \
++	check-local clean clean-generic clean-libtool clean-recursive \
++	distclean distclean-generic distclean-libtool \
++	distclean-recursive distclean-tags distdir dvi dvi-am \
++	dvi-recursive info info-am info-recursive install install-am \
++	install-data install-data-am install-data-local \
++	install-data-recursive install-exec install-exec-am \
++	install-exec-recursive install-info install-info-am \
++	install-info-recursive install-man install-recursive \
++	install-strip installcheck installcheck-am installdirs \
++	installdirs-am installdirs-recursive maintainer-clean \
++	maintainer-clean-generic maintainer-clean-recursive mostlyclean \
++	mostlyclean-generic mostlyclean-libtool mostlyclean-recursive \
++	tags tags-recursive uninstall uninstall-am uninstall-info-am \
++	uninstall-info-recursive uninstall-recursive
+ 
+ 
+ install-suid-programs:
+@@ -556,7 +596,6 @@
+ 	  echo "$$dashes"; \
+ 	  test "$$failed" -eq 0; \
+ 	fi
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/lib/auth/afskauthlib/Makefile.in heimdal-0.4e/lib/auth/afskauthlib/Makefile.in
+--- heimdal-0.4e-old/lib/auth/afskauthlib/Makefile.in	Thu Sep  6 22:22:47 2001
++++ heimdal-0.4e/lib/auth/afskauthlib/Makefile.in	Sat Jun 15 19:35:27 2002
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.6 2001/07/15 04:21:07 assar Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,13 +90,13 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+ LIB_ = @LIB_@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+-LIB_com_err = @LIB_com_err@
+ LIB_com_err_a = @LIB_com_err_a@
+ LIB_com_err_so = @LIB_com_err_so@
+ LIB_des = @LIB_des@
+@@ -100,12 +104,10 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+-LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,19 +121,19 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+-
+-# $Id: Makefile.am,v 1.6 2001/07/15 04:21:07 assar Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
++LIB_com_err = @LIB_com_err@
++LIB_otp = @LIB_otp@
++LIB_roken = @LIB_roken@
+ 
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+@@ -185,17 +187,24 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+@@ -209,57 +218,67 @@
+ 
+ CLEANFILES = $(foo_DATA) $(OBJS) so_locations
+ 
+-@KRB4_TRUE@KAFS = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la
++@KRB4_TRUE@KAFS = $(LIB_kafs)
+ 
+-@KRB5_TRUE@L = @KRB5_TRUE@\
++@KRB5_TRUE@L = \
+ @KRB5_TRUE@	$(KAFS)	\
+ @KRB5_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la	\
+ @KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la	\
+ @KRB5_TRUE@	$(LIB_krb4)				\
+ @KRB5_TRUE@	$(LIB_des)				\
+-@KRB5_TRUE@	$(top_builddir)/lib/roken/libroken.la	\
++@KRB5_TRUE@	$(LIB_roken)	\
+ @KRB5_TRUE@	-lc
+-@KRB5_FALSE@L = @KRB5_FALSE@\
++
++@KRB5_FALSE@L = \
+ @KRB5_FALSE@	$(KAFS)	\
+ @KRB5_FALSE@	$(LIB_krb4)				\
+ @KRB5_FALSE@	$(LIB_des)				\
+-@KRB5_FALSE@	$(top_builddir)/lib/roken/libroken.la	\
++@KRB5_FALSE@	$(LIB_roken)	\
+ @KRB5_FALSE@	-lc
++
+ subdir = lib/auth/afskauthlib
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../../include/config.h
+-CONFIG_CLEAN_FILES = 
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++depcomp =
+ CFLAGS = @CFLAGS@
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES = 
+-DATA =  $(foo_DATA)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++DIST_SOURCES =
++DATA = $(foo_DATA)
+ 
+-depcomp = 
+-DIST_COMMON =  Makefile.am Makefile.in
+-
+-
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++DIST_COMMON = Makefile.am Makefile.in
++all: all-am
+ 
+-GZIP_ENV = --best
+-all: all-redirect
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .o
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/auth/afskauthlib/Makefile
+ 
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  lib/auth/afskauthlib/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
++uninstall-info-am:
+ install-fooDATA: $(foo_DATA)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(foodir)
+ 	@list='$(foo_DATA)'; for p in $$list; do \
+-	  if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
++	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+ 	  echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(foodir)/$$f"; \
+ 	  $(INSTALL_DATA) $$d$$p $(DESTDIR)$(foodir)/$$f; \
+@@ -276,11 +295,18 @@
+ TAGS:
+ 
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++
++top_distdir = ../../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -290,74 +316,89 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-install-exec-am:
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++all-am: Makefile $(DATA) all-local
+ 
+-install-data-am: install-fooDATA install-data-local
+-install-data: install-data-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(foodir)
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am: uninstall-fooDATA
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(DATA) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(foodir)
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-generic clean-libtool mostlyclean-am
+ 
+-clean-am:  clean-generic mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-generic distclean-libtool
+ 
+-distclean-am:  distclean-generic clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local install-fooDATA
++
++install-exec-am:
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man:
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-am
+ 
+-.PHONY: uninstall-fooDATA install-fooDATA tags distdir info-am info \
+-dvi-am dvi check-local check check-am installcheck-am installcheck \
+-install-exec-am install-exec install-data-local install-data-am \
+-install-data install-am install uninstall-am uninstall all-local \
+-all-redirect all-am all install-strip installdirs mostlyclean-generic \
+-distclean-generic clean-generic maintainer-clean-generic clean \
+-mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-generic mostlyclean-libtool
++
++uninstall-am: uninstall-fooDATA uninstall-info-am
++
++.PHONY: all all-am all-local check check-am check-local clean \
++	clean-generic clean-libtool distclean distclean-generic \
++	distclean-libtool distdir dvi dvi-am info info-am install \
++	install-am install-data install-data-am install-data-local \
++	install-exec install-exec-am install-fooDATA install-info \
++	install-info-am install-man install-strip installcheck \
++	installcheck-am installdirs maintainer-clean \
++	maintainer-clean-generic mostlyclean mostlyclean-generic \
++	mostlyclean-libtool uninstall uninstall-am uninstall-fooDATA \
++	uninstall-info-am
+ 
+ 
+ install-suid-programs:
+@@ -495,7 +536,6 @@
+ 	$(COMPILE) -c $<
+ 
+ $(OBJS): $(top_builddir)/include/config.h
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/lib/auth/pam/Makefile.in heimdal-0.4e/lib/auth/pam/Makefile.in
+--- heimdal-0.4e-old/lib/auth/pam/Makefile.in	Thu Sep  6 22:22:48 2001
++++ heimdal-0.4e/lib/auth/pam/Makefile.in	Sat Jun 15 19:35:27 2002
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.2 1999/04/01 14:57:04 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,13 +90,13 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+ LIB_ = @LIB_@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+-LIB_com_err = @LIB_com_err@
+ LIB_com_err_a = @LIB_com_err_a@
+ LIB_com_err_so = @LIB_com_err_so@
+ LIB_des = @LIB_des@
+@@ -100,12 +104,10 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+-LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,19 +121,19 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+-
+-# $Id: Makefile.am,v 1.2 1999/04/01 14:57:04 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
++LIB_com_err = @LIB_com_err@
++LIB_otp = @LIB_otp@
++LIB_roken = @LIB_roken@
+ 
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+@@ -185,55 +187,78 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ subdir = lib/auth/pam
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../../include/config.h
+-CONFIG_CLEAN_FILES = 
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++depcomp =
+ CFLAGS = @CFLAGS@
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES = 
+-depcomp = 
+-DIST_COMMON =  Makefile.am Makefile.in
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++DIST_SOURCES =
++DIST_COMMON = Makefile.am Makefile.in
++all: all-am
+ 
++.SUFFIXES:
++.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c
+ 
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-GZIP_ENV = --best
+-all: all-redirect
+-.SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/auth/pam/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  lib/auth/pam/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
++uninstall-info-am:
+ tags: TAGS
+ TAGS:
+ 
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++
++top_distdir = ../../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -243,71 +268,86 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-install-exec-am:
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++all-am: Makefile all-local
+ 
+-install-data-am: install-data-local
+-install-data: install-data-am
++installdirs:
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am:
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-generic clean-libtool mostlyclean-am
+ 
+-clean-am:  clean-generic mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-generic distclean-libtool
+ 
+-distclean-am:  distclean-generic clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local
++
++install-exec-am:
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man:
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-am
+ 
+-.PHONY: tags distdir info-am info dvi-am dvi check-local check check-am \
+-installcheck-am installcheck install-exec-am install-exec \
+-install-data-local install-data-am install-data install-am install \
+-uninstall-am uninstall all-local all-redirect all-am all install-strip \
+-installdirs mostlyclean-generic distclean-generic clean-generic \
+-maintainer-clean-generic clean mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-generic mostlyclean-libtool
++
++uninstall-am: uninstall-info-am
++
++.PHONY: all all-am all-local check check-am check-local clean \
++	clean-generic clean-libtool distclean distclean-generic \
++	distclean-libtool distdir dvi dvi-am info info-am install \
++	install-am install-data install-data-am install-data-local \
++	install-exec install-exec-am install-info install-info-am \
++	install-man install-strip installcheck installcheck-am \
++	installdirs maintainer-clean maintainer-clean-generic \
++	mostlyclean mostlyclean-generic mostlyclean-libtool uninstall \
++	uninstall-am uninstall-info-am
+ 
+ 
+ install-suid-programs:
+@@ -437,7 +477,6 @@
+ 	  echo "$$dashes"; \
+ 	  test "$$failed" -eq 0; \
+ 	fi
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/lib/auth/sia/Makefile.in heimdal-0.4e/lib/auth/sia/Makefile.in
+--- heimdal-0.4e-old/lib/auth/sia/Makefile.in	Thu Sep  6 22:22:50 2001
++++ heimdal-0.4e/lib/auth/sia/Makefile.in	Sat Jun 15 19:35:27 2002
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.13 2001/08/28 18:44:43 nectar Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,13 +90,13 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+ LIB_ = @LIB_@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+-LIB_com_err = @LIB_com_err@
+ LIB_com_err_a = @LIB_com_err_a@
+ LIB_com_err_so = @LIB_com_err_so@
+ LIB_des = @LIB_des@
+@@ -100,12 +104,10 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+-LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -118,19 +120,21 @@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
++LIB_com_err = @LIB_com_err@
++LIB_otp = @LIB_otp@
++LIB_roken = @LIB_roken@
+ 
+-# $Id: Makefile.am,v 1.13 2001/08/28 18:44:43 nectar Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
++WFLAGS = @WFLAGS@ $(WFLAGS_NOIMPLICITINT)
+ 
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+@@ -184,28 +188,33 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+-WFLAGS = @WFLAGS@ $(WFLAGS_NOIMPLICITINT)
+-
+ DEFS = @DEFS@
+ 
+-@KRB4_TRUE@KAFS = @KRB4_TRUE@$(top_builddir)/lib/kafs/.libs/libkafs.a
+-@KRB4_TRUE@KAFS_S = @KRB4_TRUE@$(top_builddir)/lib/kafs/.libs/libkafs.so
++@KRB4_TRUE@KAFS = $(top_builddir)/lib/kafs/.libs/libkafs.a
++@KRB4_TRUE@KAFS_S = $(top_builddir)/lib/kafs/.libs/libkafs.so
+ 
+-@KRB5_TRUE@L = @KRB5_TRUE@\
++@KRB5_TRUE@L = \
+ @KRB5_TRUE@	$(KAFS)						\
+ @KRB5_TRUE@	$(top_builddir)/lib/krb5/.libs/libkrb5.a	\
+ @KRB5_TRUE@	$(top_builddir)/lib/asn1/.libs/libasn1.a	\
+@@ -215,7 +224,8 @@
+ @KRB5_TRUE@	$(top_builddir)/lib/roken/.libs/libroken.a	\
+ @KRB5_TRUE@	$(LIB_getpwnam_r)				\
+ @KRB5_TRUE@	-lc
+-@KRB5_FALSE@L = @KRB5_FALSE@\
++
++@KRB5_FALSE@L = \
+ @KRB5_FALSE@	$(KAFS)						\
+ @KRB5_FALSE@	$(top_builddir)/lib/kadm/.libs/libkadm.a	\
+ @KRB5_FALSE@	$(top_builddir)/lib/krb/.libs/libkrb.a		\
+@@ -225,7 +235,8 @@
+ @KRB5_FALSE@	$(LIB_getpwnam_r)				\
+ @KRB5_FALSE@	-lc
+ 
+-@KRB5_TRUE@L_shared = @KRB5_TRUE@\
++
++@KRB5_TRUE@L_shared = \
+ @KRB5_TRUE@	$(KAFS_S)					\
+ @KRB5_TRUE@	$(top_builddir)/lib/krb5/.libs/libkrb5.so	\
+ @KRB5_TRUE@	$(top_builddir)/lib/asn1/.libs/libasn1.so	\
+@@ -235,7 +246,8 @@
+ @KRB5_TRUE@	$(top_builddir)/lib/roken/.libs/libroken.so	\
+ @KRB5_TRUE@	$(LIB_getpwnam_r)				\
+ @KRB5_TRUE@	-lc
+-@KRB5_FALSE@L_shared = @KRB5_FALSE@\
++
++@KRB5_FALSE@L_shared = \
+ @KRB5_FALSE@	$(KAFS_S)					\
+ @KRB5_FALSE@	$(top_builddir)/lib/kadm/.libs/libkadm.so	\
+ @KRB5_FALSE@	$(top_builddir)/lib/krb/.libs/libkrb.so		\
+@@ -245,8 +257,9 @@
+ @KRB5_FALSE@	$(LIB_getpwnam_r)				\
+ @KRB5_FALSE@	-lc
+ 
+-@KRB5_TRUE@MOD = @KRB5_TRUE@libsia_krb5.so
+-@KRB5_FALSE@MOD = @KRB5_FALSE@libsia_krb4.so
++
++@KRB5_TRUE@MOD = libsia_krb5.so
++@KRB5_FALSE@MOD = libsia_krb4.so
+ 
+ EXTRA_DIST = sia.c krb4_matrix.conf krb4+c2_matrix.conf \
+ 	krb5_matrix.conf krb5+c2_matrix.conf security.patch
+@@ -262,39 +275,47 @@
+ CLEANFILES = $(MOD) $(OBJS) so_locations
+ subdir = lib/auth/sia
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../../include/config.h
+-CONFIG_CLEAN_FILES = 
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++depcomp =
+ CFLAGS = @CFLAGS@
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES = 
+-DATA =  $(foo_DATA)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++DIST_SOURCES =
++DATA = $(foo_DATA)
+ 
+-depcomp = 
+-DIST_COMMON =  Makefile.am Makefile.in
++DIST_COMMON = Makefile.am Makefile.in
++all: all-am
+ 
+-
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+-
+-GZIP_ENV = --best
+-all: all-redirect
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .o
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/auth/sia/Makefile
+ 
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  lib/auth/sia/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
++uninstall-info-am:
+ install-fooDATA: $(foo_DATA)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(foodir)
+ 	@list='$(foo_DATA)'; for p in $$list; do \
+-	  if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
++	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+ 	  echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(foodir)/$$f"; \
+ 	  $(INSTALL_DATA) $$d$$p $(DESTDIR)$(foodir)/$$f; \
+@@ -311,11 +332,18 @@
+ TAGS:
+ 
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++
++top_distdir = ../../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -325,74 +353,89 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-install-exec-am:
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++all-am: Makefile $(DATA) all-local
+ 
+-install-data-am: install-fooDATA install-data-local
+-install-data: install-data-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(foodir)
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am: uninstall-fooDATA
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(DATA) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(foodir)
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-generic clean-libtool mostlyclean-am
++
++distclean: distclean-am
+ 
+-clean-am:  clean-generic mostlyclean-am
++distclean-am: clean-am distclean-generic distclean-libtool
+ 
+-clean: clean-am
++dvi: dvi-am
+ 
+-distclean-am:  distclean-generic clean-am
+-	-rm -f libtool
++dvi-am:
+ 
+-distclean: distclean-am
++info: info-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."
++info-am:
++
++install-data-am: install-data-local install-fooDATA
++
++install-exec-am:
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man:
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-am
+ 
+-.PHONY: uninstall-fooDATA install-fooDATA tags distdir info-am info \
+-dvi-am dvi check-local check check-am installcheck-am installcheck \
+-install-exec-am install-exec install-data-local install-data-am \
+-install-data install-am install uninstall-am uninstall all-local \
+-all-redirect all-am all install-strip installdirs mostlyclean-generic \
+-distclean-generic clean-generic maintainer-clean-generic clean \
+-mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-generic mostlyclean-libtool
++
++uninstall-am: uninstall-fooDATA uninstall-info-am
++
++.PHONY: all all-am all-local check check-am check-local clean \
++	clean-generic clean-libtool distclean distclean-generic \
++	distclean-libtool distdir dvi dvi-am info info-am install \
++	install-am install-data install-data-am install-data-local \
++	install-exec install-exec-am install-fooDATA install-info \
++	install-info-am install-man install-strip installcheck \
++	installcheck-am installdirs maintainer-clean \
++	maintainer-clean-generic mostlyclean mostlyclean-generic \
++	mostlyclean-libtool uninstall uninstall-am uninstall-fooDATA \
++	uninstall-info-am
+ 
+ 
+ install-suid-programs:
+@@ -549,7 +592,6 @@
+ 
+ .c.o:
+ 	$(COMPILE) -c $<
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/lib/com_err/Makefile.in heimdal-0.4e/lib/com_err/Makefile.in
+--- heimdal-0.4e-old/lib/com_err/Makefile.in	Thu Sep  6 22:22:59 2001
++++ heimdal-0.4e/lib/com_err/Makefile.in	Sat Jun 15 19:35:28 2002
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.26 2001/09/02 16:56:21 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,13 +90,13 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+ LIB_ = @LIB_@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+-LIB_com_err = @LIB_com_err@
+ LIB_com_err_a = @LIB_com_err_a@
+ LIB_com_err_so = @LIB_com_err_so@
+ LIB_des = @LIB_des@
+@@ -100,12 +104,10 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+-LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,19 +121,19 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+-
+-# $Id: Makefile.am,v 1.26 2001/09/02 16:56:21 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
++LIB_com_err = @LIB_com_err@
++LIB_otp = @LIB_otp@
++LIB_roken = @LIB_roken@
+ 
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+@@ -185,17 +187,24 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+@@ -220,165 +229,154 @@
+ 
+ subdir = lib/com_err
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../include/config.h
+-CONFIG_CLEAN_FILES = 
+-LTLIBRARIES =  $(lib_LTLIBRARIES)
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++LTLIBRARIES = $(lib_LTLIBRARIES)
++
++libcom_err_la_LIBADD =
++am_libcom_err_la_OBJECTS = error.lo com_err.lo
++libcom_err_la_OBJECTS = $(am_libcom_err_la_OBJECTS)
++bin_PROGRAMS = compile_et$(EXEEXT)
++PROGRAMS = $(bin_PROGRAMS)
++
++am_compile_et_OBJECTS = compile_et.$(OBJEXT) parse.$(OBJEXT) \
++	lex.$(OBJEXT)
++compile_et_OBJECTS = $(am_compile_et_OBJECTS)
++compile_et_DEPENDENCIES =
++compile_et_LDFLAGS =
+ 
+-
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../../include
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+-libcom_err_la_LIBADD = 
+-am_libcom_err_la_OBJECTS =  error.lo com_err.lo
+-libcom_err_la_OBJECTS =  $(am_libcom_err_la_OBJECTS)
+-bin_PROGRAMS =  compile_et$(EXEEXT)
+-PROGRAMS =  $(bin_PROGRAMS)
+-
+-am_compile_et_OBJECTS =  compile_et.$(OBJEXT) parse.$(OBJEXT) \
+-lex.$(OBJEXT)
+-compile_et_OBJECTS =  $(am_compile_et_OBJECTS)
+-compile_et_DEPENDENCIES = 
+-compile_et_LDFLAGS = 
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
+-LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  $(libcom_err_la_SOURCES) $(compile_et_SOURCES)
+-HEADERS =  $(include_HEADERS)
+-
+-depcomp = 
+-DIST_COMMON =  $(include_HEADERS) ChangeLog Makefile.am Makefile.in \
+-lex.c parse.c parse.h
+-
+-
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++LEXCOMPILE = $(LEX) $(LFLAGS) $(AM_LFLAGS)
++LTLEXCOMPILE = $(LIBTOOL) --mode=compile $(LEX) $(LFLAGS) $(AM_LFLAGS)
++YACCCOMPILE = $(YACC) $(YFLAGS) $(AM_YFLAGS)
++LTYACCCOMPILE = $(LIBTOOL) --mode=compile $(YACC) $(YFLAGS) $(AM_YFLAGS)
++DIST_SOURCES = $(libcom_err_la_SOURCES) $(compile_et_SOURCES)
++HEADERS = $(include_HEADERS)
+ 
+-GZIP_ENV = --best
++DIST_COMMON = $(include_HEADERS) ChangeLog Makefile.am Makefile.in \
++	lex.c parse.c parse.h
+ SOURCES = $(libcom_err_la_SOURCES) $(compile_et_SOURCES)
+-OBJECTS = $(am_libcom_err_la_OBJECTS) $(am_compile_et_OBJECTS)
+ 
+-all: all-redirect
++all: all-am
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .l .lo .o .obj .y
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/com_err/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+-
+-
+-mostlyclean-libLTLIBRARIES:
+ 
+-clean-libLTLIBRARIES:
+-	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
+-
+-distclean-libLTLIBRARIES:
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-maintainer-clean-libLTLIBRARIES:
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  lib/com_err/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ install-libLTLIBRARIES: $(lib_LTLIBRARIES)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(libdir)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+ 	  if test -f $$p; then \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p; \
++	    echo " $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p"; \
++	    $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-libLTLIBRARIES:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+-	  echo " $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
+-	  $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
++	  echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
++	  $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
+ 	done
+ 
+-mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
+-
+-clean-compile:
+-
+-distclean-compile:
+-	-rm -f *.tab.c
+-
+-maintainer-clean-compile:
+-
+-mostlyclean-libtool:
+-	-rm -f *.lo
+-
+-clean-libtool:
+-	-rm -rf .libs _libs
+-
+-distclean-libtool:
+-
+-maintainer-clean-libtool:
+-
+-libcom_err.la: $(libcom_err_la_OBJECTS) $(libcom_err_la_DEPENDENCIES)
++clean-libLTLIBRARIES:
++	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
++libcom_err.la: $(libcom_err_la_OBJECTS) $(libcom_err_la_DEPENDENCIES) 
+ 	$(LINK) -rpath $(libdir) $(libcom_err_la_LDFLAGS) $(libcom_err_la_OBJECTS) $(libcom_err_la_LIBADD) $(LIBS)
+-
+-mostlyclean-binPROGRAMS:
+-
+-clean-binPROGRAMS:
+-	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
+-
+-distclean-binPROGRAMS:
+-
+-maintainer-clean-binPROGRAMS:
+-
+ install-binPROGRAMS: $(bin_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(bindir)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  if test -f $$p; then \
+-	    f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f; \
++	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  if test -f $$p \
++	     || test -f $$p1 \
++	  ; then \
++	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-binPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+-compile_et$(EXEEXT): $(compile_et_OBJECTS) $(compile_et_DEPENDENCIES)
++clean-binPROGRAMS:
++	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
++parse.h: parse.c
++compile_et$(EXEEXT): $(compile_et_OBJECTS) $(compile_et_DEPENDENCIES) 
+ 	@rm -f compile_et$(EXEEXT)
+ 	$(LINK) $(compile_et_LDFLAGS) $(compile_et_OBJECTS) $(compile_et_LDADD) $(LIBS)
++
++mostlyclean-compile:
++	-rm -f *.$(OBJEXT) core *.core
++
++distclean-compile:
++	-rm -f *.tab.c
++
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
++
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
++
++LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
++
+ .l.c:
+-	$(LEX) $(AM_LFLAGS) $(LFLAGS) $< && mv $(LEX_OUTPUT_ROOT).c $@
++	$(LEXCOMPILE) $< && mv $(LEX_OUTPUT_ROOT).c $@
++
+ .y.c:
+-	$(YACC) $(AM_YFLAGS) $(YFLAGS) $< && mv y.tab.c $*.c
++	$(YACCCOMPILE) $< && mv y.tab.c $@
+ 	if test -f y.tab.h; then \
+-	if cmp -s y.tab.h $*.h; then rm -f y.tab.h; else mv y.tab.h $*.h; fi; \
+-	else :; fi
+-parse.h: parse.c
+-
+-
++	  if cmp -s y.tab.h $*.h; then \
++	    rm -f y.tab.h; \
++	  else \
++	    mv y.tab.h $*.h; \
++	  fi; \
++	fi
++uninstall-info-am:
+ install-includeHEADERS: $(include_HEADERS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(includedir)
+ 	@list='$(include_HEADERS)'; for p in $$list; do \
+-	  if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
++	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
+-	  $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f; \
++	  echo " $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
++	  $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(includedir)/$$f; \
+ 	done
+ 
+ uninstall-includeHEADERS:
+@@ -416,22 +414,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -441,96 +440,99 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
++all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(HEADERS) all-local
+ install-binPROGRAMS: install-libLTLIBRARIES
+ 
+-install-exec-am: install-libLTLIBRARIES install-binPROGRAMS
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
+ 
+-install-data-am: install-includeHEADERS install-data-local
+-install-data: install-data-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(bindir) $(DESTDIR)$(includedir)
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am: uninstall-libLTLIBRARIES uninstall-binPROGRAMS \
+-		uninstall-includeHEADERS
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(HEADERS) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(libdir) $(DESTDIR)$(bindir) \
+-		$(DESTDIR)$(includedir)
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-	-test -z "lex.cparse.hparse.c" || rm -f lex.c parse.h parse.c
+-mostlyclean-am:  mostlyclean-libLTLIBRARIES mostlyclean-compile \
+-		mostlyclean-libtool mostlyclean-binPROGRAMS \
+-		mostlyclean-tags mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++	-test -z "parse.h" || rm -f parse.h
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-binPROGRAMS clean-generic clean-libLTLIBRARIES \
++	clean-libtool mostlyclean-am
+ 
+-clean-am:  clean-libLTLIBRARIES clean-compile clean-libtool \
+-		clean-binPROGRAMS clean-tags clean-generic \
+-		mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-libLTLIBRARIES distclean-compile \
+-		distclean-libtool distclean-binPROGRAMS distclean-tags \
+-		distclean-generic clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-libLTLIBRARIES \
+-		maintainer-clean-compile maintainer-clean-libtool \
+-		maintainer-clean-binPROGRAMS 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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local install-includeHEADERS
++
++install-exec-am: install-binPROGRAMS install-libLTLIBRARIES
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man:
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-am
+ 
+-.PHONY: mostlyclean-libLTLIBRARIES distclean-libLTLIBRARIES \
+-clean-libLTLIBRARIES maintainer-clean-libLTLIBRARIES \
+-uninstall-libLTLIBRARIES install-libLTLIBRARIES mostlyclean-compile \
+-distclean-compile clean-compile maintainer-clean-compile \
+-mostlyclean-libtool distclean-libtool clean-libtool \
+-maintainer-clean-libtool mostlyclean-binPROGRAMS distclean-binPROGRAMS \
+-clean-binPROGRAMS maintainer-clean-binPROGRAMS uninstall-binPROGRAMS \
+-install-binPROGRAMS uninstall-includeHEADERS install-includeHEADERS \
+-tags mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
+-distdir info-am info dvi-am dvi check-local check check-am \
+-installcheck-am installcheck install-exec-am install-exec \
+-install-data-local install-data-am install-data install-am install \
+-uninstall-am uninstall all-local all-redirect all-am all install-strip \
+-installdirs mostlyclean-generic distclean-generic clean-generic \
+-maintainer-clean-generic clean mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-binPROGRAMS uninstall-includeHEADERS \
++	uninstall-info-am uninstall-libLTLIBRARIES
++
++.PHONY: GTAGS all all-am all-local check check-am check-local clean \
++	clean-binPROGRAMS clean-generic clean-libLTLIBRARIES \
++	clean-libtool distclean distclean-compile distclean-generic \
++	distclean-libtool distclean-tags distdir dvi dvi-am info \
++	info-am install install-am install-binPROGRAMS install-data \
++	install-data-am install-data-local install-exec install-exec-am \
++	install-includeHEADERS install-info install-info-am \
++	install-libLTLIBRARIES install-man install-strip installcheck \
++	installcheck-am installdirs maintainer-clean \
++	maintainer-clean-generic mostlyclean mostlyclean-compile \
++	mostlyclean-generic mostlyclean-libtool tags uninstall \
++	uninstall-am uninstall-binPROGRAMS uninstall-includeHEADERS \
++	uninstall-info-am uninstall-libLTLIBRARIES
+ 
+ 
+ install-suid-programs:
+@@ -662,7 +664,6 @@
+ 	fi
+ 
+ $(compile_et_OBJECTS): parse.h parse.c ## XXX broken automake 1.4s
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/lib/des/Makefile.in heimdal-0.4e/lib/des/Makefile.in
+--- heimdal-0.4e-old/lib/des/Makefile.in	Thu Sep  6 22:23:02 2001
++++ heimdal-0.4e/lib/des/Makefile.in	Sat Jun 15 19:35:28 2002
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.26 2001/08/04 03:10:23 assar Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,13 +90,13 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+ LIB_ = @LIB_@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+-LIB_com_err = @LIB_com_err@
+ LIB_com_err_a = @LIB_com_err_a@
+ LIB_com_err_so = @LIB_com_err_so@
+ LIB_des = @LIB_des@
+@@ -100,12 +104,10 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+-LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,19 +121,19 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+-
+-# $Id: Makefile.am,v 1.26 2001/08/04 03:10:23 assar Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
++LIB_com_err = @LIB_com_err@
++LIB_otp = @LIB_otp@
++LIB_roken = @LIB_roken@
+ 
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+@@ -185,17 +187,25 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+ CHECK_LOCAL = 
+ 
+ lib_LTLIBRARIES = libdes.la
+@@ -305,198 +315,171 @@
+ 
+ subdir = lib/des
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../include/config.h
+-CONFIG_CLEAN_FILES = 
+-LTLIBRARIES =  $(lib_LTLIBRARIES)
+-
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++LTLIBRARIES = $(lib_LTLIBRARIES)
++
++libdes_la_LIBADD =
++am_libdes_la_OBJECTS = cbc3_enc.lo cbc_cksm.lo cbc_enc.lo cfb64ede.lo \
++	cfb64enc.lo cfb_enc.lo des_enc.lo ecb3_enc.lo ecb_enc.lo \
++	ede_enc.lo enc_read.lo enc_writ.lo fcrypt.lo key_par.lo md4.lo \
++	md5.lo ncbc_enc.lo ofb64ede.lo ofb64enc.lo ofb_enc.lo \
++	pcbc_enc.lo qud_cksm.lo rc4_skey.lo rc4_enc.lo read_pwd.lo \
++	rnd_keys.lo set_key.lo sha.lo str2key.lo xcbc_enc.lo
++libdes_la_OBJECTS = $(am_libdes_la_OBJECTS)
++bin_PROGRAMS = des$(EXEEXT)
++check_PROGRAMS = destest$(EXEEXT) mdtest$(EXEEXT) md5crypt_test$(EXEEXT)
++PROGRAMS = $(bin_PROGRAMS)
+ 
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../../include
+-CPPFLAGS = @CPPFLAGS@
+-LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+-libdes_la_LIBADD = 
+-am_libdes_la_OBJECTS =  cbc3_enc.lo cbc_cksm.lo cbc_enc.lo cfb64ede.lo \
+-cfb64enc.lo cfb_enc.lo des_enc.lo ecb3_enc.lo ecb_enc.lo ede_enc.lo \
+-enc_read.lo enc_writ.lo fcrypt.lo key_par.lo md4.lo md5.lo ncbc_enc.lo \
+-ofb64ede.lo ofb64enc.lo ofb_enc.lo pcbc_enc.lo qud_cksm.lo rc4_skey.lo \
+-rc4_enc.lo read_pwd.lo rnd_keys.lo set_key.lo sha.lo str2key.lo \
+-xcbc_enc.lo
+-libdes_la_OBJECTS =  $(am_libdes_la_OBJECTS)
+-bin_PROGRAMS =  des$(EXEEXT)
+-check_PROGRAMS =  destest$(EXEEXT) mdtest$(EXEEXT) \
+-md5crypt_test$(EXEEXT)
+-PROGRAMS =  $(bin_PROGRAMS)
+-
+-am_des_OBJECTS =  des.$(OBJEXT)
+-des_OBJECTS =  $(am_des_OBJECTS)
++am_des_OBJECTS = des.$(OBJEXT)
++des_OBJECTS = $(am_des_OBJECTS)
+ des_LDADD = $(LDADD)
+-des_DEPENDENCIES =  libdes.la
+-des_LDFLAGS = 
++des_DEPENDENCIES = libdes.la
++des_LDFLAGS =
+ destest_SOURCES = destest.c
+-destest_OBJECTS =  destest.$(OBJEXT)
++destest_OBJECTS = destest.$(OBJEXT)
+ destest_LDADD = $(LDADD)
+-destest_DEPENDENCIES =  libdes.la
+-destest_LDFLAGS = 
++destest_DEPENDENCIES = libdes.la
++destest_LDFLAGS =
+ md5crypt_test_SOURCES = md5crypt_test.c
+-md5crypt_test_OBJECTS =  md5crypt_test.$(OBJEXT)
++md5crypt_test_OBJECTS = md5crypt_test.$(OBJEXT)
+ md5crypt_test_LDADD = $(LDADD)
+-md5crypt_test_DEPENDENCIES =  libdes.la
+-md5crypt_test_LDFLAGS = 
++md5crypt_test_DEPENDENCIES = libdes.la
++md5crypt_test_LDFLAGS =
+ mdtest_SOURCES = mdtest.c
+-mdtest_OBJECTS =  mdtest.$(OBJEXT)
++mdtest_OBJECTS = mdtest.$(OBJEXT)
+ mdtest_LDADD = $(LDADD)
+-mdtest_DEPENDENCIES =  libdes.la
+-mdtest_LDFLAGS = 
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
+-CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  $(libdes_la_SOURCES) $(EXTRA_libdes_la_SOURCES) \
+-$(des_SOURCES) destest.c md5crypt_test.c mdtest.c
+-man1dir = $(mandir)/man1
+-man3dir = $(mandir)/man3
+-MANS = $(man_MANS)
+-HEADERS =  $(include_HEADERS)
+-
+-depcomp = 
+-DIST_COMMON =  README $(include_HEADERS) ChangeLog INSTALL Makefile.am \
+-Makefile.in
++mdtest_DEPENDENCIES = libdes.la
++mdtest_LDFLAGS =
+ 
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
++CPPFLAGS = @CPPFLAGS@
++LDFLAGS = @LDFLAGS@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++CCLD = $(CC)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++DIST_SOURCES = $(libdes_la_SOURCES) $(EXTRA_libdes_la_SOURCES) \
++	$(des_SOURCES) destest.c md5crypt_test.c mdtest.c
+ 
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++NROFF = nroff
++MANS = $(man_MANS)
++HEADERS = $(include_HEADERS)
+ 
+-GZIP_ENV = --best
++DIST_COMMON = README $(include_HEADERS) ChangeLog INSTALL Makefile.am \
++	Makefile.in
+ SOURCES = $(libdes_la_SOURCES) $(EXTRA_libdes_la_SOURCES) $(des_SOURCES) destest.c md5crypt_test.c mdtest.c
+-OBJECTS = $(am_libdes_la_OBJECTS) $(am_des_OBJECTS) destest.$(OBJEXT) md5crypt_test.$(OBJEXT) mdtest.$(OBJEXT)
+ 
+-all: all-redirect
++all: all-am
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/des/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+-
+ 
+-mostlyclean-libLTLIBRARIES:
+-
+-clean-libLTLIBRARIES:
+-	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
+-
+-distclean-libLTLIBRARIES:
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-maintainer-clean-libLTLIBRARIES:
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  lib/des/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ install-libLTLIBRARIES: $(lib_LTLIBRARIES)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(libdir)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+ 	  if test -f $$p; then \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p; \
++	    echo " $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p"; \
++	    $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-libLTLIBRARIES:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+-	  echo " $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
+-	  $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
++	  echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
++	  $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
+ 	done
+ 
+-mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
+-
+-clean-compile:
+-
+-distclean-compile:
+-	-rm -f *.tab.c
+-
+-maintainer-clean-compile:
+-
+-mostlyclean-libtool:
+-	-rm -f *.lo
+-
+-clean-libtool:
+-	-rm -rf .libs _libs
+-
+-distclean-libtool:
+-
+-maintainer-clean-libtool:
+-
+-libdes.la: $(libdes_la_OBJECTS) $(libdes_la_DEPENDENCIES)
++clean-libLTLIBRARIES:
++	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
++libdes.la: $(libdes_la_OBJECTS) $(libdes_la_DEPENDENCIES) 
+ 	$(LINK) -rpath $(libdir) $(libdes_la_LDFLAGS) $(libdes_la_OBJECTS) $(libdes_la_LIBADD) $(LIBS)
+-
+-mostlyclean-binPROGRAMS:
+-
+-clean-binPROGRAMS:
+-	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
+-
+-distclean-binPROGRAMS:
+-
+-maintainer-clean-binPROGRAMS:
+-
+ install-binPROGRAMS: $(bin_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(bindir)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  if test -f $$p; then \
+-	    f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f; \
++	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  if test -f $$p \
++	     || test -f $$p1 \
++	  ; then \
++	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-binPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+-mostlyclean-checkPROGRAMS:
++clean-binPROGRAMS:
++	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
+ 
+ clean-checkPROGRAMS:
+ 	-test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
+-
+-distclean-checkPROGRAMS:
+-
+-maintainer-clean-checkPROGRAMS:
+-
+-des$(EXEEXT): $(des_OBJECTS) $(des_DEPENDENCIES)
++des$(EXEEXT): $(des_OBJECTS) $(des_DEPENDENCIES) 
+ 	@rm -f des$(EXEEXT)
+ 	$(LINK) $(des_LDFLAGS) $(des_OBJECTS) $(des_LDADD) $(LIBS)
+-
+-destest$(EXEEXT): $(destest_OBJECTS) $(destest_DEPENDENCIES)
++destest$(EXEEXT): $(destest_OBJECTS) $(destest_DEPENDENCIES) 
+ 	@rm -f destest$(EXEEXT)
+ 	$(LINK) $(destest_LDFLAGS) $(destest_OBJECTS) $(destest_LDADD) $(LIBS)
+-
+-md5crypt_test$(EXEEXT): $(md5crypt_test_OBJECTS) $(md5crypt_test_DEPENDENCIES)
++md5crypt_test$(EXEEXT): $(md5crypt_test_OBJECTS) $(md5crypt_test_DEPENDENCIES) 
+ 	@rm -f md5crypt_test$(EXEEXT)
+ 	$(LINK) $(md5crypt_test_LDFLAGS) $(md5crypt_test_OBJECTS) $(md5crypt_test_LDADD) $(LIBS)
+-
+-mdtest$(EXEEXT): $(mdtest_OBJECTS) $(mdtest_DEPENDENCIES)
++mdtest$(EXEEXT): $(mdtest_OBJECTS) $(mdtest_DEPENDENCIES) 
+ 	@rm -f mdtest$(EXEEXT)
+ 	$(LINK) $(mdtest_LDFLAGS) $(mdtest_OBJECTS) $(mdtest_LDADD) $(LIBS)
++
++mostlyclean-compile:
++	-rm -f *.$(OBJEXT) core *.core
++
++distclean-compile:
++	-rm -f *.tab.c
++
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
++
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
++uninstall-info-am:
+ 
+-install-man1:
++man1dir = $(mandir)/man1
++install-man1: $(man1_MANS) $(man_MANS)
++	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(man1dir)
+-	@list='$(man1_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.1*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -511,10 +494,11 @@
+ 	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
+ 	  $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
+ 	done
+-
+ uninstall-man1:
+-	@list='$(man1_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@$(NORMAL_UNINSTALL)
++	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.1*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -528,10 +512,13 @@
+ 	  rm -f $(DESTDIR)$(man1dir)/$$inst; \
+ 	done
+ 
+-install-man3:
++man3dir = $(mandir)/man3
++install-man3: $(man3_MANS) $(man_MANS)
++	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(man3dir)
+-	@list='$(man3_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@list='$(man3_MANS) $(dist_man3_MANS) $(nodist_man3_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.3*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -546,10 +533,11 @@
+ 	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man3dir)/$$inst"; \
+ 	  $(INSTALL_DATA) $$file $(DESTDIR)$(man3dir)/$$inst; \
+ 	done
+-
+ uninstall-man3:
+-	@list='$(man3_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@$(NORMAL_UNINSTALL)
++	@list='$(man3_MANS) $(dist_man3_MANS) $(nodist_man3_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.3*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -562,21 +550,14 @@
+ 	  echo " rm -f $(DESTDIR)$(man3dir)/$$inst"; \
+ 	  rm -f $(DESTDIR)$(man3dir)/$$inst; \
+ 	done
+-install-man: $(MANS)
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-man1 install-man3
+-uninstall-man:
+-	@$(NORMAL_UNINSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) uninstall-man1 uninstall-man3
+-
+ install-includeHEADERS: $(include_HEADERS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(includedir)
+ 	@list='$(include_HEADERS)'; for p in $$list; do \
+-	  if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
++	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
+-	  $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f; \
++	  echo " $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
++	  $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(includedir)/$$f; \
+ 	done
+ 
+ uninstall-includeHEADERS:
+@@ -614,16 +595,11 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
+ check-TESTS: $(TESTS)
+ 	@failed=0; all=0; xfail=0; xpass=0; \
+ 	srcdir=$(srcdir); export srcdir; \
+@@ -679,11 +655,18 @@
+ 	  test "$$failed" -eq 0; \
+ 	fi
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -693,102 +676,103 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
+ 	$(MAKE) $(AM_MAKEFLAGS) check-TESTS check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
++all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(MANS) $(HEADERS) all-local
+ install-binPROGRAMS: install-libLTLIBRARIES
+ 
+-install-exec-am: install-libLTLIBRARIES install-binPROGRAMS
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
+ 
+-install-data-am: install-man install-includeHEADERS install-data-local
+-install-data: install-data-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(bindir) $(DESTDIR)$(man1dir) $(DESTDIR)$(man3dir) $(DESTDIR)$(includedir)
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am: uninstall-libLTLIBRARIES uninstall-binPROGRAMS \
+-		uninstall-man uninstall-includeHEADERS
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(MANS) $(HEADERS) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(libdir) $(DESTDIR)$(bindir) \
+-		$(DESTDIR)$(mandir)/man1 $(DESTDIR)$(mandir)/man3 \
+-		$(DESTDIR)$(includedir)
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-libLTLIBRARIES mostlyclean-compile \
+-		mostlyclean-libtool mostlyclean-binPROGRAMS \
+-		mostlyclean-checkPROGRAMS mostlyclean-tags \
+-		mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-binPROGRAMS clean-checkPROGRAMS clean-generic \
++	clean-libLTLIBRARIES clean-libtool mostlyclean-am
+ 
+-clean-am:  clean-libLTLIBRARIES clean-compile clean-libtool \
+-		clean-binPROGRAMS clean-checkPROGRAMS clean-tags \
+-		clean-generic mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-libLTLIBRARIES distclean-compile \
+-		distclean-libtool distclean-binPROGRAMS \
+-		distclean-checkPROGRAMS distclean-tags \
+-		distclean-generic clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-libLTLIBRARIES \
+-		maintainer-clean-compile maintainer-clean-libtool \
+-		maintainer-clean-binPROGRAMS \
+-		maintainer-clean-checkPROGRAMS 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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local install-includeHEADERS install-man
++
++install-exec-am: install-binPROGRAMS install-libLTLIBRARIES
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man: install-man1 install-man3
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-am
+ 
+-.PHONY: mostlyclean-libLTLIBRARIES distclean-libLTLIBRARIES \
+-clean-libLTLIBRARIES maintainer-clean-libLTLIBRARIES \
+-uninstall-libLTLIBRARIES install-libLTLIBRARIES mostlyclean-compile \
+-distclean-compile clean-compile maintainer-clean-compile \
+-mostlyclean-libtool distclean-libtool clean-libtool \
+-maintainer-clean-libtool mostlyclean-binPROGRAMS distclean-binPROGRAMS \
+-clean-binPROGRAMS maintainer-clean-binPROGRAMS uninstall-binPROGRAMS \
+-install-binPROGRAMS mostlyclean-checkPROGRAMS distclean-checkPROGRAMS \
+-clean-checkPROGRAMS maintainer-clean-checkPROGRAMS install-man1 \
+-uninstall-man1 install-man3 uninstall-man3 install-man uninstall-man \
+-uninstall-includeHEADERS install-includeHEADERS tags mostlyclean-tags \
+-distclean-tags clean-tags maintainer-clean-tags check-TESTS distdir \
+-info-am info dvi-am dvi check-local check check-am installcheck-am \
+-installcheck install-exec-am install-exec install-data-local \
+-install-data-am install-data install-am install uninstall-am uninstall \
+-all-local all-redirect all-am all install-strip installdirs \
+-mostlyclean-generic distclean-generic clean-generic \
+-maintainer-clean-generic clean mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-binPROGRAMS uninstall-includeHEADERS \
++	uninstall-info-am uninstall-libLTLIBRARIES uninstall-man
++
++uninstall-man: uninstall-man1 uninstall-man3
++
++.PHONY: GTAGS all all-am all-local check check-TESTS check-am \
++	check-local clean clean-binPROGRAMS clean-checkPROGRAMS \
++	clean-generic clean-libLTLIBRARIES clean-libtool distclean \
++	distclean-compile distclean-generic distclean-libtool \
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-binPROGRAMS install-data install-data-am \
++	install-data-local install-exec install-exec-am \
++	install-includeHEADERS install-info install-info-am \
++	install-libLTLIBRARIES install-man install-man1 install-man3 \
++	install-strip installcheck installcheck-am installdirs \
++	maintainer-clean maintainer-clean-generic mostlyclean \
++	mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
++	tags uninstall uninstall-am uninstall-binPROGRAMS \
++	uninstall-includeHEADERS uninstall-info-am \
++	uninstall-libLTLIBRARIES uninstall-man uninstall-man1 \
++	uninstall-man3
+ 
+ 
+ install-suid-programs:
+@@ -926,7 +910,6 @@
+ 	$(mkinstalldirs) $(distdir)/asm
+ 	(cd $(srcdir)/asm && tar cf - $(asm_files)) \
+ 		| (cd $(distdir)/asm; tar xf -)
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/lib/editline/Makefile.in heimdal-0.4e/lib/editline/Makefile.in
+--- heimdal-0.4e-old/lib/editline/Makefile.in	Thu Sep  6 22:23:05 2001
++++ heimdal-0.4e/lib/editline/Makefile.in	Sat Jun 15 19:35:28 2002
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.12 2000/11/14 23:22:29 assar Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,13 +90,13 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+ LIB_ = @LIB_@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+-LIB_com_err = @LIB_com_err@
+ LIB_com_err_a = @LIB_com_err_a@
+ LIB_com_err_so = @LIB_com_err_so@
+ LIB_des = @LIB_des@
+@@ -100,12 +104,10 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+-LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,19 +121,19 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+-
+-# $Id: Makefile.am,v 1.12 2000/11/14 23:22:29 assar Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
++LIB_com_err = @LIB_com_err@
++LIB_otp = @LIB_otp@
++LIB_roken = @LIB_roken@
+ 
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+@@ -185,27 +187,34 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = 
+ 
+-@do_roken_rename_TRUE@IS = @do_roken_rename_TRUE@-DROKEN_RENAME
+-@do_roken_rename_TRUE@ES = @do_roken_rename_TRUE@snprintf.c strdup.c
++@do_roken_rename_TRUE@IS = -DROKEN_RENAME
++@do_roken_rename_TRUE@ES = snprintf.c strdup.c
+ 
+ man_MANS = editline.3
+ 
+ lib_LTLIBRARIES = libeditline.la
+-@el_compat_TRUE@noinst_LTLIBRARIES = @el_compat_TRUE@libel_compat.la
++@el_compat_TRUE@noinst_LTLIBRARIES = libel_compat.la
+ @el_compat_FALSE@noinst_LTLIBRARIES = 
+ 
+ noinst_PROGRAMS = testit
+@@ -228,163 +237,139 @@
+ 	$(EXTRA_SOURCE)
+ 
+ 
+-libeditline_la_LDFLAGS = -static
++libeditline_la_LDFLAGS = -no-undefined
+ 
+ EXTRA_SOURCE = $(ES) 
+ 
+ libel_compat_la_SOURCES = edit_compat.c
+ 
+-libel_compat_la_LDFLAGS = -static
++libel_compat_la_LDFLAGS = -no-undefined
+ 
+ EXTRA_DIST = $(man_MANS)
+ subdir = lib/editline
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../include/config.h
+-CONFIG_CLEAN_FILES = 
+-LTLIBRARIES =  $(lib_LTLIBRARIES) $(noinst_LTLIBRARIES)
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++LTLIBRARIES = $(lib_LTLIBRARIES) $(noinst_LTLIBRARIES)
++
++libeditline_la_LIBADD =
++@do_roken_rename_TRUE@am_libeditline_la_OBJECTS = complete.lo \
++@do_roken_rename_TRUE@	editline.lo sysunix.lo snprintf.lo \
++@do_roken_rename_TRUE@	strdup.lo
++@do_roken_rename_FALSE@am_libeditline_la_OBJECTS = complete.lo \
++@do_roken_rename_FALSE@	editline.lo sysunix.lo
++libeditline_la_OBJECTS = $(am_libeditline_la_OBJECTS)
++libel_compat_la_LIBADD =
++am_libel_compat_la_OBJECTS = edit_compat.lo
++libel_compat_la_OBJECTS = $(am_libel_compat_la_OBJECTS)
++noinst_PROGRAMS = testit$(EXEEXT)
++PROGRAMS = $(noinst_PROGRAMS)
+ 
++testit_SOURCES = testit.c
++testit_OBJECTS = testit.$(OBJEXT)
++testit_DEPENDENCIES = libeditline.la
++testit_LDFLAGS =
+ 
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../../include
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+-libeditline_la_LIBADD = 
+-@do_roken_rename_FALSE@am_libeditline_la_OBJECTS =  complete.lo \
+-@do_roken_rename_FALSE@editline.lo sysunix.lo
+-@do_roken_rename_TRUE@am_libeditline_la_OBJECTS =  complete.lo \
+-@do_roken_rename_TRUE@editline.lo sysunix.lo snprintf.lo strdup.lo
+-libeditline_la_OBJECTS =  $(am_libeditline_la_OBJECTS)
+-libel_compat_la_LIBADD = 
+-am_libel_compat_la_OBJECTS =  edit_compat.lo
+-libel_compat_la_OBJECTS =  $(am_libel_compat_la_OBJECTS)
+-noinst_PROGRAMS =  testit$(EXEEXT)
+-PROGRAMS =  $(noinst_PROGRAMS)
+-
+-testit_SOURCES = testit.c
+-testit_OBJECTS =  testit.$(OBJEXT)
+-testit_DEPENDENCIES =  libeditline.la
+-testit_LDFLAGS = 
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  $(libeditline_la_SOURCES) $(libel_compat_la_SOURCES) \
+-testit.c
+-man3dir = $(mandir)/man3
+-MANS = $(man_MANS)
+-HEADERS =  $(include_HEADERS)
+-
+-depcomp = 
+-DIST_COMMON =  README $(include_HEADERS) ChangeLog Makefile.am \
+-Makefile.in
+-
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++DIST_SOURCES = $(libeditline_la_SOURCES) $(libel_compat_la_SOURCES) \
++	testit.c
+ 
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++NROFF = nroff
++MANS = $(man_MANS)
++HEADERS = $(include_HEADERS)
+ 
+-GZIP_ENV = --best
++DIST_COMMON = README $(include_HEADERS) ChangeLog Makefile.am \
++	Makefile.in
+ SOURCES = $(libeditline_la_SOURCES) $(libel_compat_la_SOURCES) testit.c
+-OBJECTS = $(am_libeditline_la_OBJECTS) $(am_libel_compat_la_OBJECTS) testit.$(OBJEXT)
+ 
+-all: all-redirect
++all: all-am
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/editline/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+-
+-
+-mostlyclean-libLTLIBRARIES:
+-
+-clean-libLTLIBRARIES:
+-	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
+ 
+-distclean-libLTLIBRARIES:
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-maintainer-clean-libLTLIBRARIES:
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  lib/editline/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ install-libLTLIBRARIES: $(lib_LTLIBRARIES)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(libdir)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+ 	  if test -f $$p; then \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p; \
++	    echo " $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p"; \
++	    $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-libLTLIBRARIES:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+-	  echo " $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
+-	  $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
++	  echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
++	  $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
+ 	done
+ 
+-mostlyclean-noinstLTLIBRARIES:
++clean-libLTLIBRARIES:
++	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
+ 
+ clean-noinstLTLIBRARIES:
+ 	-test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
+-
+-distclean-noinstLTLIBRARIES:
+-
+-maintainer-clean-noinstLTLIBRARIES:
+-
+-mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
+-
+-clean-compile:
+-
+-distclean-compile:
+-	-rm -f *.tab.c
+-
+-maintainer-clean-compile:
+-
+-mostlyclean-libtool:
+-	-rm -f *.lo
+-
+-clean-libtool:
+-	-rm -rf .libs _libs
+-
+-distclean-libtool:
+-
+-maintainer-clean-libtool:
+-
+-libeditline.la: $(libeditline_la_OBJECTS) $(libeditline_la_DEPENDENCIES)
++libeditline.la: $(libeditline_la_OBJECTS) $(libeditline_la_DEPENDENCIES) 
+ 	$(LINK) -rpath $(libdir) $(libeditline_la_LDFLAGS) $(libeditline_la_OBJECTS) $(libeditline_la_LIBADD) $(LIBS)
+-
+-libel_compat.la: $(libel_compat_la_OBJECTS) $(libel_compat_la_DEPENDENCIES)
++libel_compat.la: $(libel_compat_la_OBJECTS) $(libel_compat_la_DEPENDENCIES) 
+ 	$(LINK)  $(libel_compat_la_LDFLAGS) $(libel_compat_la_OBJECTS) $(libel_compat_la_LIBADD) $(LIBS)
+ 
+-mostlyclean-noinstPROGRAMS:
+-
+ clean-noinstPROGRAMS:
+ 	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
++testit$(EXEEXT): $(testit_OBJECTS) $(testit_DEPENDENCIES) 
++	@rm -f testit$(EXEEXT)
++	$(LINK) $(testit_LDFLAGS) $(testit_OBJECTS) $(testit_LDADD) $(LIBS)
+ 
+-distclean-noinstPROGRAMS:
++mostlyclean-compile:
++	-rm -f *.$(OBJEXT) core *.core
+ 
+-maintainer-clean-noinstPROGRAMS:
++distclean-compile:
++	-rm -f *.tab.c
+ 
+-testit$(EXEEXT): $(testit_OBJECTS) $(testit_DEPENDENCIES)
+-	@rm -f testit$(EXEEXT)
+-	$(LINK) $(testit_LDFLAGS) $(testit_OBJECTS) $(testit_LDADD) $(LIBS)
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
++
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
++uninstall-info-am:
+ 
+-install-man3:
++man3dir = $(mandir)/man3
++install-man3: $(man3_MANS) $(man_MANS)
++	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(man3dir)
+-	@list='$(man3_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@list='$(man3_MANS) $(dist_man3_MANS) $(nodist_man3_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.3*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -399,10 +384,11 @@
+ 	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man3dir)/$$inst"; \
+ 	  $(INSTALL_DATA) $$file $(DESTDIR)$(man3dir)/$$inst; \
+ 	done
+-
+ uninstall-man3:
+-	@list='$(man3_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@$(NORMAL_UNINSTALL)
++	@list='$(man3_MANS) $(dist_man3_MANS) $(nodist_man3_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.3*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -415,21 +401,14 @@
+ 	  echo " rm -f $(DESTDIR)$(man3dir)/$$inst"; \
+ 	  rm -f $(DESTDIR)$(man3dir)/$$inst; \
+ 	done
+-install-man: $(MANS)
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-man3
+-uninstall-man:
+-	@$(NORMAL_UNINSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) uninstall-man3
+-
+ install-includeHEADERS: $(include_HEADERS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(includedir)
+ 	@list='$(include_HEADERS)'; for p in $$list; do \
+-	  if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
++	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
+-	  $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f; \
++	  echo " $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
++	  $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(includedir)/$$f; \
+ 	done
+ 
+ uninstall-includeHEADERS:
+@@ -467,22 +446,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -492,98 +472,98 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-install-exec-am: install-libLTLIBRARIES
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(MANS) $(HEADERS) all-local
+ 
+-install-data-am: install-man install-includeHEADERS install-data-local
+-install-data: install-data-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(man3dir) $(DESTDIR)$(includedir)
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am: uninstall-libLTLIBRARIES uninstall-man \
+-		uninstall-includeHEADERS
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(MANS) $(HEADERS) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(libdir) $(DESTDIR)$(mandir)/man3 \
+-		$(DESTDIR)$(includedir)
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-libLTLIBRARIES \
+-		mostlyclean-noinstLTLIBRARIES mostlyclean-compile \
+-		mostlyclean-libtool mostlyclean-noinstPROGRAMS \
+-		mostlyclean-tags mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \
++	clean-noinstLTLIBRARIES clean-noinstPROGRAMS mostlyclean-am
+ 
+-clean-am:  clean-libLTLIBRARIES clean-noinstLTLIBRARIES clean-compile \
+-		clean-libtool clean-noinstPROGRAMS clean-tags \
+-		clean-generic mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-libLTLIBRARIES distclean-noinstLTLIBRARIES \
+-		distclean-compile distclean-libtool \
+-		distclean-noinstPROGRAMS distclean-tags \
+-		distclean-generic clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-libLTLIBRARIES \
+-		maintainer-clean-noinstLTLIBRARIES \
+-		maintainer-clean-compile maintainer-clean-libtool \
+-		maintainer-clean-noinstPROGRAMS 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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local install-includeHEADERS install-man
++
++install-exec-am: install-libLTLIBRARIES
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man: install-man3
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-am
+ 
+-.PHONY: mostlyclean-libLTLIBRARIES distclean-libLTLIBRARIES \
+-clean-libLTLIBRARIES maintainer-clean-libLTLIBRARIES \
+-uninstall-libLTLIBRARIES install-libLTLIBRARIES \
+-mostlyclean-noinstLTLIBRARIES distclean-noinstLTLIBRARIES \
+-clean-noinstLTLIBRARIES maintainer-clean-noinstLTLIBRARIES \
+-mostlyclean-compile distclean-compile clean-compile \
+-maintainer-clean-compile mostlyclean-libtool distclean-libtool \
+-clean-libtool maintainer-clean-libtool mostlyclean-noinstPROGRAMS \
+-distclean-noinstPROGRAMS clean-noinstPROGRAMS \
+-maintainer-clean-noinstPROGRAMS install-man3 uninstall-man3 install-man \
+-uninstall-man uninstall-includeHEADERS install-includeHEADERS tags \
+-mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
+-distdir info-am info dvi-am dvi check-local check check-am \
+-installcheck-am installcheck install-exec-am install-exec \
+-install-data-local install-data-am install-data install-am install \
+-uninstall-am uninstall all-local all-redirect all-am all install-strip \
+-installdirs mostlyclean-generic distclean-generic clean-generic \
+-maintainer-clean-generic clean mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-includeHEADERS uninstall-info-am \
++	uninstall-libLTLIBRARIES uninstall-man
++
++uninstall-man: uninstall-man3
++
++.PHONY: GTAGS all all-am all-local check check-am check-local clean \
++	clean-generic clean-libLTLIBRARIES clean-libtool \
++	clean-noinstLTLIBRARIES clean-noinstPROGRAMS distclean \
++	distclean-compile distclean-generic distclean-libtool \
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-data install-data-am install-data-local \
++	install-exec install-exec-am install-includeHEADERS \
++	install-info install-info-am install-libLTLIBRARIES install-man \
++	install-man3 install-strip installcheck installcheck-am \
++	installdirs maintainer-clean maintainer-clean-generic \
++	mostlyclean mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool tags uninstall uninstall-am \
++	uninstall-includeHEADERS uninstall-info-am \
++	uninstall-libLTLIBRARIES uninstall-man uninstall-man3
+ 
+ 
+ install-suid-programs:
+@@ -718,7 +698,6 @@
+ 	$(LN_S) $(srcdir)/../roken/snprintf.c .
+ strdup.c:
+ 	$(LN_S) $(srcdir)/../roken/strdup.c .
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/lib/gssapi/Makefile.in heimdal-0.4e/lib/gssapi/Makefile.in
+--- heimdal-0.4e-old/lib/gssapi/Makefile.in	Thu Sep  6 22:23:07 2001
++++ heimdal-0.4e/lib/gssapi/Makefile.in	Sat Jun 15 19:35:29 2002
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.36 2001/08/28 11:21:17 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,13 +90,13 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+ LIB_ = @LIB_@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+-LIB_com_err = @LIB_com_err@
+ LIB_com_err_a = @LIB_com_err_a@
+ LIB_com_err_so = @LIB_com_err_so@
+ LIB_des = @LIB_des@
+@@ -100,12 +104,10 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+-LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,19 +121,19 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+-
+-# $Id: Makefile.am,v 1.36 2001/08/28 11:21:17 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
++LIB_com_err = @LIB_com_err@
++LIB_otp = @LIB_otp@
++LIB_roken = @LIB_roken@
+ 
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+@@ -185,23 +187,30 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+ lib_LTLIBRARIES = libgssapi.la
+ libgssapi_la_LDFLAGS = -version-info 3:4:2
+-libgssapi_la_LIBADD = ../krb5/libkrb5.la $(LIB_des) ../asn1/libasn1.la ../roken/libroken.la
++libgssapi_la_LIBADD = ../krb5/libkrb5.la $(LIB_des) ../asn1/libasn1.la $(LIB_roken)
+ 
+ include_HEADERS = gssapi.h
+ 
+@@ -247,124 +256,108 @@
+ 
+ subdir = lib/gssapi
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../include/config.h
+-CONFIG_CLEAN_FILES = 
+-LTLIBRARIES =  $(lib_LTLIBRARIES)
+-
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++LTLIBRARIES = $(lib_LTLIBRARIES)
++
++libgssapi_la_DEPENDENCIES = ../krb5/libkrb5.la ../asn1/libasn1.la
++am_libgssapi_la_OBJECTS = 8003.lo accept_sec_context.lo acquire_cred.lo \
++	add_oid_set_member.lo canonicalize_name.lo compare_name.lo \
++	context_time.lo copy_ccache.lo create_emtpy_oid_set.lo \
++	decapsulate.lo delete_sec_context.lo display_name.lo \
++	display_status.lo duplicate_name.lo encapsulate.lo \
++	export_sec_context.lo export_name.lo external.lo get_mic.lo \
++	import_name.lo import_sec_context.lo indicate_mechs.lo init.lo \
++	init_sec_context.lo inquire_context.lo inquire_cred.lo \
++	release_buffer.lo release_cred.lo release_name.lo \
++	release_oid_set.lo test_oid_set_member.lo unwrap.lo v1.lo \
++	verify_mic.lo wrap.lo address_to_krb5addr.lo
++libgssapi_la_OBJECTS = $(am_libgssapi_la_OBJECTS)
+ 
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../../include
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+-libgssapi_la_DEPENDENCIES =  ../krb5/libkrb5.la ../asn1/libasn1.la \
+-../roken/libroken.la
+-am_libgssapi_la_OBJECTS =  8003.lo accept_sec_context.lo acquire_cred.lo \
+-add_oid_set_member.lo canonicalize_name.lo compare_name.lo \
+-context_time.lo copy_ccache.lo create_emtpy_oid_set.lo decapsulate.lo \
+-delete_sec_context.lo display_name.lo display_status.lo \
+-duplicate_name.lo encapsulate.lo export_sec_context.lo export_name.lo \
+-external.lo get_mic.lo import_name.lo import_sec_context.lo \
+-indicate_mechs.lo init.lo init_sec_context.lo inquire_context.lo \
+-inquire_cred.lo release_buffer.lo release_cred.lo release_name.lo \
+-release_oid_set.lo test_oid_set_member.lo unwrap.lo v1.lo verify_mic.lo \
+-wrap.lo address_to_krb5addr.lo
+-libgssapi_la_OBJECTS =  $(am_libgssapi_la_OBJECTS)
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  $(libgssapi_la_SOURCES)
+-HEADERS =  $(include_HEADERS)
+-
+-depcomp = 
+-DIST_COMMON =  $(include_HEADERS) ChangeLog Makefile.am Makefile.in
+-
+-
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++DIST_SOURCES = $(libgssapi_la_SOURCES)
++HEADERS = $(include_HEADERS)
+ 
+-GZIP_ENV = --best
++DIST_COMMON = $(include_HEADERS) ChangeLog Makefile.am Makefile.in
+ SOURCES = $(libgssapi_la_SOURCES)
+-OBJECTS = $(am_libgssapi_la_OBJECTS)
+ 
+-all: all-redirect
++all: all-am
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/gssapi/Makefile
+ 
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+-
+-
+-mostlyclean-libLTLIBRARIES:
+-
+-clean-libLTLIBRARIES:
+-	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
+-
+-distclean-libLTLIBRARIES:
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-maintainer-clean-libLTLIBRARIES:
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  lib/gssapi/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ install-libLTLIBRARIES: $(lib_LTLIBRARIES)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(libdir)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+ 	  if test -f $$p; then \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p; \
++	    echo " $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p"; \
++	    $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-libLTLIBRARIES:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+-	  echo " $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
+-	  $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
++	  echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
++	  $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
+ 	done
+ 
+-mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
++clean-libLTLIBRARIES:
++	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
++libgssapi.la: $(libgssapi_la_OBJECTS) $(libgssapi_la_DEPENDENCIES) 
++	$(LINK) -rpath $(libdir) $(libgssapi_la_LDFLAGS) $(libgssapi_la_OBJECTS) $(libgssapi_la_LIBADD) $(LIBS)
+ 
+-clean-compile:
++mostlyclean-compile:
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+-maintainer-clean-compile:
+-
+-mostlyclean-libtool:
+-	-rm -f *.lo
+-
+-clean-libtool:
+-	-rm -rf .libs _libs
+-
+-distclean-libtool:
+-
+-maintainer-clean-libtool:
+-
+-libgssapi.la: $(libgssapi_la_OBJECTS) $(libgssapi_la_DEPENDENCIES)
+-	$(LINK) -rpath $(libdir) $(libgssapi_la_LDFLAGS) $(libgssapi_la_OBJECTS) $(libgssapi_la_LIBADD) $(LIBS)
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
+-.c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
+ 
++.c.lo:
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
++uninstall-info-am:
+ install-includeHEADERS: $(include_HEADERS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(includedir)
+ 	@list='$(include_HEADERS)'; for p in $$list; do \
+-	  if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
++	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
+-	  $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f; \
++	  echo " $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
++	  $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(includedir)/$$f; \
+ 	done
+ 
+ uninstall-includeHEADERS:
+@@ -402,22 +395,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -427,87 +421,94 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-install-exec-am: install-libLTLIBRARIES
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++all-am: Makefile $(LTLIBRARIES) $(HEADERS) all-local
+ 
+-install-data-am: install-includeHEADERS install-data-local
+-install-data: install-data-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(includedir)
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am: uninstall-libLTLIBRARIES uninstall-includeHEADERS
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(LTLIBRARIES) $(HEADERS) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(libdir) $(DESTDIR)$(includedir)
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-libLTLIBRARIES mostlyclean-compile \
+-		mostlyclean-libtool mostlyclean-tags \
+-		mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \
++	mostlyclean-am
+ 
+-clean-am:  clean-libLTLIBRARIES clean-compile clean-libtool clean-tags \
+-		clean-generic mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-libLTLIBRARIES distclean-compile \
+-		distclean-libtool distclean-tags distclean-generic \
+-		clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-libLTLIBRARIES \
+-		maintainer-clean-compile maintainer-clean-libtool \
+-		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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local install-includeHEADERS
++
++install-exec-am: install-libLTLIBRARIES
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man:
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-am
+ 
+-.PHONY: mostlyclean-libLTLIBRARIES distclean-libLTLIBRARIES \
+-clean-libLTLIBRARIES maintainer-clean-libLTLIBRARIES \
+-uninstall-libLTLIBRARIES install-libLTLIBRARIES mostlyclean-compile \
+-distclean-compile clean-compile maintainer-clean-compile \
+-mostlyclean-libtool distclean-libtool clean-libtool \
+-maintainer-clean-libtool uninstall-includeHEADERS \
+-install-includeHEADERS tags mostlyclean-tags distclean-tags clean-tags \
+-maintainer-clean-tags distdir info-am info dvi-am dvi check-local check \
+-check-am installcheck-am installcheck install-exec-am install-exec \
+-install-data-local install-data-am install-data install-am install \
+-uninstall-am uninstall all-local all-redirect all-am all install-strip \
+-installdirs mostlyclean-generic distclean-generic clean-generic \
+-maintainer-clean-generic clean mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-includeHEADERS uninstall-info-am \
++	uninstall-libLTLIBRARIES
++
++.PHONY: GTAGS all all-am all-local check check-am check-local clean \
++	clean-generic clean-libLTLIBRARIES clean-libtool distclean \
++	distclean-compile distclean-generic distclean-libtool \
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-data install-data-am install-data-local \
++	install-exec install-exec-am install-includeHEADERS \
++	install-info install-info-am install-libLTLIBRARIES install-man \
++	install-strip installcheck installcheck-am installdirs \
++	maintainer-clean maintainer-clean-generic mostlyclean \
++	mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
++	tags uninstall uninstall-am uninstall-includeHEADERS \
++	uninstall-info-am uninstall-libLTLIBRARIES
+ 
+ 
+ install-suid-programs:
+@@ -637,7 +638,6 @@
+ 	  echo "$$dashes"; \
+ 	  test "$$failed" -eq 0; \
+ 	fi
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/lib/hdb/Makefile.in heimdal-0.4e/lib/hdb/Makefile.in
+--- heimdal-0.4e-old/lib/hdb/Makefile.in	Thu Sep  6 22:23:09 2001
++++ heimdal-0.4e/lib/hdb/Makefile.in	Sat Jun 15 19:35:29 2002
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.51 2001/08/28 08:31:31 assar Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,13 +90,13 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+ LIB_ = @LIB_@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+-LIB_com_err = @LIB_com_err@
+ LIB_com_err_a = @LIB_com_err_a@
+ LIB_com_err_so = @LIB_com_err_so@
+ LIB_des = @LIB_des@
+@@ -100,12 +104,10 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+-LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,19 +121,19 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+-
+-# $Id: Makefile.am,v 1.51 2001/08/28 08:31:31 assar Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
++LIB_com_err = @LIB_com_err@
++LIB_otp = @LIB_otp@
++LIB_roken = @LIB_roken@
+ 
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+@@ -185,17 +187,24 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+@@ -234,143 +243,120 @@
+ 
+ include_HEADERS = hdb.h hdb_err.h hdb_asn1.h hdb-protos.h hdb-private.h
+ 
+-libhdb_la_LIBADD = ../krb5/libkrb5.la ../asn1/libasn1.la ../roken/libroken.la $(LIB_openldap) $(DBLIB) $(LIB_NDBM)
++libhdb_la_LIBADD = ../krb5/libkrb5.la ../asn1/libasn1.la $(LIB_roken) $(LIB_openldap) $(DBLIB) $(LIB_NDBM)
+ subdir = lib/hdb
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../include/config.h
+-CONFIG_CLEAN_FILES = 
+-LTLIBRARIES =  $(lib_LTLIBRARIES)
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++LTLIBRARIES = $(lib_LTLIBRARIES)
++
++libhdb_la_DEPENDENCIES = ../krb5/libkrb5.la ../asn1/libasn1.la
++am_libhdb_la_OBJECTS = common.lo db.lo db3.lo hdb-ldap.lo hdb.lo \
++	keytab.lo mkey.lo ndbm.lo print.lo asn1_Key.lo asn1_Event.lo \
++	asn1_HDBFlags.lo asn1_hdb_entry.lo asn1_Salt.lo hdb_err.lo \
++	asn1_GENERATION.lo
++libhdb_la_OBJECTS = $(am_libhdb_la_OBJECTS)
++noinst_PROGRAMS = convert_db$(EXEEXT)
++PROGRAMS = $(noinst_PROGRAMS)
+ 
++convert_db_SOURCES = convert_db.c
++convert_db_OBJECTS = convert_db.$(OBJEXT)
++convert_db_LDADD = $(LDADD)
++convert_db_DEPENDENCIES = libhdb.la ../krb5/libkrb5.la \
++	../asn1/libasn1.la
++convert_db_LDFLAGS =
+ 
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../../include
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+-libhdb_la_DEPENDENCIES =  ../krb5/libkrb5.la ../asn1/libasn1.la \
+-../roken/libroken.la
+-am_libhdb_la_OBJECTS =  common.lo db.lo db3.lo hdb-ldap.lo hdb.lo \
+-keytab.lo mkey.lo ndbm.lo print.lo asn1_Key.lo asn1_Event.lo \
+-asn1_HDBFlags.lo asn1_hdb_entry.lo asn1_Salt.lo hdb_err.lo \
+-asn1_GENERATION.lo
+-libhdb_la_OBJECTS =  $(am_libhdb_la_OBJECTS)
+-noinst_PROGRAMS =  convert_db$(EXEEXT)
+-PROGRAMS =  $(noinst_PROGRAMS)
+-
+-convert_db_SOURCES = convert_db.c
+-convert_db_OBJECTS =  convert_db.$(OBJEXT)
+-convert_db_LDADD = $(LDADD)
+-convert_db_DEPENDENCIES =  libhdb.la ../krb5/libkrb5.la \
+-../asn1/libasn1.la
+-convert_db_LDFLAGS = 
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  $(libhdb_la_SOURCES) convert_db.c
+-HEADERS =  $(include_HEADERS)
+-
+-depcomp = 
+-DIST_COMMON =  $(include_HEADERS) Makefile.am Makefile.in
+-
+-
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++DIST_SOURCES = $(libhdb_la_SOURCES) convert_db.c
++HEADERS = $(include_HEADERS)
+ 
+-GZIP_ENV = --best
++DIST_COMMON = $(include_HEADERS) Makefile.am Makefile.in
+ SOURCES = $(libhdb_la_SOURCES) convert_db.c
+-OBJECTS = $(am_libhdb_la_OBJECTS) convert_db.$(OBJEXT)
+ 
+-all: all-redirect
++all: $(BUILT_SOURCES)
++	$(MAKE) $(AM_MAKEFLAGS) all-am
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/hdb/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+ 
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-mostlyclean-libLTLIBRARIES:
+-
+-clean-libLTLIBRARIES:
+-	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
+-
+-distclean-libLTLIBRARIES:
+-
+-maintainer-clean-libLTLIBRARIES:
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  lib/hdb/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ install-libLTLIBRARIES: $(lib_LTLIBRARIES)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(libdir)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+ 	  if test -f $$p; then \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p; \
++	    echo " $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p"; \
++	    $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-libLTLIBRARIES:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+-	  echo " $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
+-	  $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
++	  echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
++	  $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
+ 	done
+ 
+-mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
+-
+-clean-compile:
+-
+-distclean-compile:
+-	-rm -f *.tab.c
+-
+-maintainer-clean-compile:
+-
+-mostlyclean-libtool:
+-	-rm -f *.lo
+-
+-clean-libtool:
+-	-rm -rf .libs _libs
+-
+-distclean-libtool:
+-
+-maintainer-clean-libtool:
+-
+-libhdb.la: $(libhdb_la_OBJECTS) $(libhdb_la_DEPENDENCIES)
++clean-libLTLIBRARIES:
++	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
++libhdb.la: $(libhdb_la_OBJECTS) $(libhdb_la_DEPENDENCIES) 
+ 	$(LINK) -rpath $(libdir) $(libhdb_la_LDFLAGS) $(libhdb_la_OBJECTS) $(libhdb_la_LIBADD) $(LIBS)
+ 
+-mostlyclean-noinstPROGRAMS:
+-
+ clean-noinstPROGRAMS:
+ 	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
++convert_db$(EXEEXT): $(convert_db_OBJECTS) $(convert_db_DEPENDENCIES) 
++	@rm -f convert_db$(EXEEXT)
++	$(LINK) $(convert_db_LDFLAGS) $(convert_db_OBJECTS) $(convert_db_LDADD) $(LIBS)
+ 
+-distclean-noinstPROGRAMS:
++mostlyclean-compile:
++	-rm -f *.$(OBJEXT) core *.core
+ 
+-maintainer-clean-noinstPROGRAMS:
++distclean-compile:
++	-rm -f *.tab.c
+ 
+-convert_db$(EXEEXT): $(convert_db_OBJECTS) $(convert_db_DEPENDENCIES)
+-	@rm -f convert_db$(EXEEXT)
+-	$(LINK) $(convert_db_LDFLAGS) $(convert_db_OBJECTS) $(convert_db_LDADD) $(LIBS)
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
+-.c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
+ 
++.c.lo:
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
++uninstall-info-am:
+ install-includeHEADERS: $(include_HEADERS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(includedir)
+ 	@list='$(include_HEADERS)'; for p in $$list; do \
+-	  if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
++	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
+-	  $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f; \
++	  echo " $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
++	  $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(includedir)/$$f; \
+ 	done
+ 
+ uninstall-includeHEADERS:
+@@ -408,22 +394,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -433,96 +420,97 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-all-recursive-am: $(BUILT_SOURCES)
+-	$(MAKE) $(AM_MAKEFLAGS) all-recursive
++all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(HEADERS) all-local
+ 
+-install-exec-am: install-libLTLIBRARIES
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(includedir)
+ 
+-install-data-am: install-includeHEADERS install-data-local
++install: install-am
++install-exec: install-exec-am
+ install-data: install-data-am
++uninstall: uninstall-am
+ 
+ install-am: all-am
+ 	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+-install: install-am
+-uninstall-am: uninstall-libLTLIBRARIES uninstall-includeHEADERS
+-uninstall: uninstall-am
+-all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(HEADERS) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(libdir) $(DESTDIR)$(includedir)
+-
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
+ 	-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
+-mostlyclean-am:  mostlyclean-libLTLIBRARIES mostlyclean-compile \
+-		mostlyclean-libtool mostlyclean-noinstPROGRAMS \
+-		mostlyclean-tags mostlyclean-generic
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \
++	clean-noinstPROGRAMS mostlyclean-am
+ 
+-clean-am:  clean-libLTLIBRARIES clean-compile clean-libtool \
+-		clean-noinstPROGRAMS clean-tags clean-generic \
+-		mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-libLTLIBRARIES distclean-compile \
+-		distclean-libtool distclean-noinstPROGRAMS \
+-		distclean-tags distclean-generic clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-libLTLIBRARIES \
+-		maintainer-clean-compile maintainer-clean-libtool \
+-		maintainer-clean-noinstPROGRAMS 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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local install-includeHEADERS
++
++install-exec-am: install-libLTLIBRARIES
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man:
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-am
+ 
+-.PHONY: mostlyclean-libLTLIBRARIES distclean-libLTLIBRARIES \
+-clean-libLTLIBRARIES maintainer-clean-libLTLIBRARIES \
+-uninstall-libLTLIBRARIES install-libLTLIBRARIES mostlyclean-compile \
+-distclean-compile clean-compile maintainer-clean-compile \
+-mostlyclean-libtool distclean-libtool clean-libtool \
+-maintainer-clean-libtool mostlyclean-noinstPROGRAMS \
+-distclean-noinstPROGRAMS clean-noinstPROGRAMS \
+-maintainer-clean-noinstPROGRAMS uninstall-includeHEADERS \
+-install-includeHEADERS tags mostlyclean-tags distclean-tags clean-tags \
+-maintainer-clean-tags distdir info-am info dvi-am dvi check-local check \
+-check-am installcheck-am installcheck all-recursive-am install-exec-am \
+-install-exec install-data-local install-data-am install-data install-am \
+-install uninstall-am uninstall all-local all-redirect all-am all \
+-install-strip installdirs mostlyclean-generic distclean-generic \
+-clean-generic maintainer-clean-generic clean mostlyclean distclean \
+-maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-includeHEADERS uninstall-info-am \
++	uninstall-libLTLIBRARIES
++
++.PHONY: GTAGS all all-am all-local check check-am check-local clean \
++	clean-generic clean-libLTLIBRARIES clean-libtool \
++	clean-noinstPROGRAMS distclean distclean-compile \
++	distclean-generic distclean-libtool distclean-tags distdir dvi \
++	dvi-am info info-am install install-am install-data \
++	install-data-am install-data-local install-exec install-exec-am \
++	install-includeHEADERS install-info install-info-am \
++	install-libLTLIBRARIES install-man install-strip installcheck \
++	installcheck-am installdirs maintainer-clean \
++	maintainer-clean-generic mostlyclean mostlyclean-compile \
++	mostlyclean-generic mostlyclean-libtool tags uninstall \
++	uninstall-am uninstall-includeHEADERS uninstall-info-am \
++	uninstall-libLTLIBRARIES
+ 
+ 
+ install-suid-programs:
+@@ -673,7 +661,6 @@
+ # to help stupid solaris make
+ 
+ hdb_err.h: hdb_err.et
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/lib/kadm5/Makefile.in heimdal-0.4e/lib/kadm5/Makefile.in
+--- heimdal-0.4e-old/lib/kadm5/Makefile.in	Thu Sep  6 22:23:13 2001
++++ heimdal-0.4e/lib/kadm5/Makefile.in	Sat Jun 15 19:35:29 2002
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.48 2001/08/27 23:00:13 assar Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,13 +90,13 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+ LIB_ = @LIB_@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+-LIB_com_err = @LIB_com_err@
+ LIB_com_err_a = @LIB_com_err_a@
+ LIB_com_err_so = @LIB_com_err_so@
+ LIB_des = @LIB_des@
+@@ -100,12 +104,10 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+-LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,19 +121,19 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+-
+-# $Id: Makefile.am,v 1.48 2001/08/27 23:00:13 assar Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
++LIB_com_err = @LIB_com_err@
++LIB_otp = @LIB_otp@
++LIB_roken = @LIB_roken@
+ 
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+@@ -185,17 +187,24 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+@@ -204,8 +213,8 @@
+ libkadm5clnt_la_LDFLAGS = -version-info 6:2:2
+ sbin_PROGRAMS = dump_log replay_log truncate_log
+ 
+-libkadm5srv_la_LIBADD = ../krb5/libkrb5.la ../hdb/libhdb.la ../roken/libroken.la
+-libkadm5clnt_la_LIBADD = ../krb5/libkrb5.la ../hdb/libhdb.la ../roken/libroken.la
++libkadm5srv_la_LIBADD = ../krb5/libkrb5.la ../hdb/libhdb.la $(LIB_roken)
++libkadm5clnt_la_LIBADD = ../krb5/libkrb5.la ../hdb/libhdb.la $(LIB_roken)
+ 
+ libexec_PROGRAMS = ipropd-master ipropd-slave
+ 
+@@ -299,248 +308,221 @@
+ CLEANFILES = kadm5_err.c kadm5_err.h
+ subdir = lib/kadm5
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../include/config.h
+-CONFIG_CLEAN_FILES = 
+-LTLIBRARIES =  $(lib_LTLIBRARIES)
+-
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++LTLIBRARIES = $(lib_LTLIBRARIES)
++
++libkadm5clnt_la_DEPENDENCIES = ../krb5/libkrb5.la ../hdb/libhdb.la
++am_libkadm5clnt_la_OBJECTS = chpass_c.lo common_glue.lo create_c.lo \
++	delete_c.lo destroy_c.lo flush_c.lo free.lo get_c.lo \
++	get_princs_c.lo init_c.lo kadm5_err.lo marshall.lo modify_c.lo \
++	privs_c.lo randkey_c.lo rename_c.lo send_recv.lo client_glue.lo
++libkadm5clnt_la_OBJECTS = $(am_libkadm5clnt_la_OBJECTS)
++libkadm5srv_la_DEPENDENCIES = ../krb5/libkrb5.la ../hdb/libhdb.la
++am_libkadm5srv_la_OBJECTS = acl.lo bump_pw_expire.lo chpass_s.lo \
++	common_glue.lo context_s.lo create_s.lo delete_s.lo \
++	destroy_s.lo ent_setup.lo error.lo flush_s.lo free.lo \
++	get_princs_s.lo get_s.lo init_s.lo kadm5_err.lo keys.lo log.lo \
++	marshall.lo modify_s.lo privs_s.lo randkey_s.lo rename_s.lo \
++	set_keys.lo set_modifier.lo password_quality.lo server_glue.lo
++libkadm5srv_la_OBJECTS = $(am_libkadm5srv_la_OBJECTS)
++libexec_PROGRAMS = ipropd-master$(EXEEXT) ipropd-slave$(EXEEXT)
++sbin_PROGRAMS = dump_log$(EXEEXT) replay_log$(EXEEXT) \
++	truncate_log$(EXEEXT)
++PROGRAMS = $(libexec_PROGRAMS) $(sbin_PROGRAMS)
+ 
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../../include
+-CPPFLAGS = @CPPFLAGS@
+-LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+-libkadm5clnt_la_DEPENDENCIES =  ../krb5/libkrb5.la ../hdb/libhdb.la \
+-../roken/libroken.la
+-am_libkadm5clnt_la_OBJECTS =  chpass_c.lo common_glue.lo create_c.lo \
+-delete_c.lo destroy_c.lo flush_c.lo free.lo get_c.lo get_princs_c.lo \
+-init_c.lo kadm5_err.lo marshall.lo modify_c.lo privs_c.lo randkey_c.lo \
+-rename_c.lo send_recv.lo client_glue.lo
+-libkadm5clnt_la_OBJECTS =  $(am_libkadm5clnt_la_OBJECTS)
+-libkadm5srv_la_DEPENDENCIES =  ../krb5/libkrb5.la ../hdb/libhdb.la \
+-../roken/libroken.la
+-am_libkadm5srv_la_OBJECTS =  acl.lo bump_pw_expire.lo chpass_s.lo \
+-common_glue.lo context_s.lo create_s.lo delete_s.lo destroy_s.lo \
+-ent_setup.lo error.lo flush_s.lo free.lo get_princs_s.lo get_s.lo \
+-init_s.lo kadm5_err.lo keys.lo log.lo marshall.lo modify_s.lo \
+-privs_s.lo randkey_s.lo rename_s.lo set_keys.lo set_modifier.lo \
+-password_quality.lo server_glue.lo
+-libkadm5srv_la_OBJECTS =  $(am_libkadm5srv_la_OBJECTS)
+-libexec_PROGRAMS =  ipropd-master$(EXEEXT) ipropd-slave$(EXEEXT)
+-sbin_PROGRAMS =  dump_log$(EXEEXT) replay_log$(EXEEXT) \
+-truncate_log$(EXEEXT)
+-PROGRAMS =  $(libexec_PROGRAMS) $(sbin_PROGRAMS)
+-
+-am_dump_log_OBJECTS =  dump_log.$(OBJEXT)
+-dump_log_OBJECTS =  $(am_dump_log_OBJECTS)
++am_dump_log_OBJECTS = dump_log.$(OBJEXT)
++dump_log_OBJECTS = $(am_dump_log_OBJECTS)
+ dump_log_LDADD = $(LDADD)
+-dump_log_DEPENDENCIES =  libkadm5srv.la \
+-$(top_builddir)/lib/hdb/libhdb.la $(top_builddir)/lib/krb5/libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
+-dump_log_LDFLAGS = 
+-am_ipropd_master_OBJECTS =  ipropd_master.$(OBJEXT)
+-ipropd_master_OBJECTS =  $(am_ipropd_master_OBJECTS)
++dump_log_DEPENDENCIES = libkadm5srv.la $(top_builddir)/lib/hdb/libhdb.la \
++	$(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++dump_log_LDFLAGS =
++am_ipropd_master_OBJECTS = ipropd_master.$(OBJEXT)
++ipropd_master_OBJECTS = $(am_ipropd_master_OBJECTS)
+ ipropd_master_LDADD = $(LDADD)
+-ipropd_master_DEPENDENCIES =  libkadm5srv.la \
+-$(top_builddir)/lib/hdb/libhdb.la $(top_builddir)/lib/krb5/libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
+-ipropd_master_LDFLAGS = 
+-am_ipropd_slave_OBJECTS =  ipropd_slave.$(OBJEXT)
+-ipropd_slave_OBJECTS =  $(am_ipropd_slave_OBJECTS)
++ipropd_master_DEPENDENCIES = libkadm5srv.la \
++	$(top_builddir)/lib/hdb/libhdb.la \
++	$(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++ipropd_master_LDFLAGS =
++am_ipropd_slave_OBJECTS = ipropd_slave.$(OBJEXT)
++ipropd_slave_OBJECTS = $(am_ipropd_slave_OBJECTS)
+ ipropd_slave_LDADD = $(LDADD)
+-ipropd_slave_DEPENDENCIES =  libkadm5srv.la \
+-$(top_builddir)/lib/hdb/libhdb.la $(top_builddir)/lib/krb5/libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
+-ipropd_slave_LDFLAGS = 
+-am_replay_log_OBJECTS =  replay_log.$(OBJEXT)
+-replay_log_OBJECTS =  $(am_replay_log_OBJECTS)
++ipropd_slave_DEPENDENCIES = libkadm5srv.la \
++	$(top_builddir)/lib/hdb/libhdb.la \
++	$(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++ipropd_slave_LDFLAGS =
++am_replay_log_OBJECTS = replay_log.$(OBJEXT)
++replay_log_OBJECTS = $(am_replay_log_OBJECTS)
+ replay_log_LDADD = $(LDADD)
+-replay_log_DEPENDENCIES =  libkadm5srv.la \
+-$(top_builddir)/lib/hdb/libhdb.la $(top_builddir)/lib/krb5/libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
+-replay_log_LDFLAGS = 
+-am_truncate_log_OBJECTS =  truncate_log.$(OBJEXT)
+-truncate_log_OBJECTS =  $(am_truncate_log_OBJECTS)
++replay_log_DEPENDENCIES = libkadm5srv.la \
++	$(top_builddir)/lib/hdb/libhdb.la \
++	$(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++replay_log_LDFLAGS =
++am_truncate_log_OBJECTS = truncate_log.$(OBJEXT)
++truncate_log_OBJECTS = $(am_truncate_log_OBJECTS)
+ truncate_log_LDADD = $(LDADD)
+-truncate_log_DEPENDENCIES =  libkadm5srv.la \
+-$(top_builddir)/lib/hdb/libhdb.la $(top_builddir)/lib/krb5/libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
+-truncate_log_LDFLAGS = 
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
+-CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  $(libkadm5clnt_la_SOURCES) $(libkadm5srv_la_SOURCES) \
+-$(dump_log_SOURCES) $(ipropd_master_SOURCES) $(ipropd_slave_SOURCES) \
+-$(replay_log_SOURCES) $(truncate_log_SOURCES)
+-HEADERS =  $(kadm5include_HEADERS)
+-
+-depcomp = 
+-DIST_COMMON =  $(kadm5include_HEADERS) ChangeLog Makefile.am Makefile.in
+-
++truncate_log_DEPENDENCIES = libkadm5srv.la \
++	$(top_builddir)/lib/hdb/libhdb.la \
++	$(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++truncate_log_LDFLAGS =
+ 
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
++CPPFLAGS = @CPPFLAGS@
++LDFLAGS = @LDFLAGS@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++CCLD = $(CC)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++DIST_SOURCES = $(libkadm5clnt_la_SOURCES) $(libkadm5srv_la_SOURCES) \
++	$(dump_log_SOURCES) $(ipropd_master_SOURCES) \
++	$(ipropd_slave_SOURCES) $(replay_log_SOURCES) \
++	$(truncate_log_SOURCES)
++HEADERS = $(kadm5include_HEADERS)
+ 
+-GZIP_ENV = --best
++DIST_COMMON = $(kadm5include_HEADERS) ChangeLog Makefile.am Makefile.in
+ SOURCES = $(libkadm5clnt_la_SOURCES) $(libkadm5srv_la_SOURCES) $(dump_log_SOURCES) $(ipropd_master_SOURCES) $(ipropd_slave_SOURCES) $(replay_log_SOURCES) $(truncate_log_SOURCES)
+-OBJECTS = $(am_libkadm5clnt_la_OBJECTS) $(am_libkadm5srv_la_OBJECTS) $(am_dump_log_OBJECTS) $(am_ipropd_master_OBJECTS) $(am_ipropd_slave_OBJECTS) $(am_replay_log_OBJECTS) $(am_truncate_log_OBJECTS)
+ 
+-all: all-redirect
++all: all-am
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/kadm5/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+-
+-
+-mostlyclean-libLTLIBRARIES:
+-
+-clean-libLTLIBRARIES:
+-	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
+ 
+-distclean-libLTLIBRARIES:
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-maintainer-clean-libLTLIBRARIES:
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  lib/kadm5/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ install-libLTLIBRARIES: $(lib_LTLIBRARIES)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(libdir)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+ 	  if test -f $$p; then \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p; \
++	    echo " $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p"; \
++	    $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-libLTLIBRARIES:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+-	  echo " $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
+-	  $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
++	  echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
++	  $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
+ 	done
+ 
+-mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
+-
+-clean-compile:
+-
+-distclean-compile:
+-	-rm -f *.tab.c
+-
+-maintainer-clean-compile:
+-
+-mostlyclean-libtool:
+-	-rm -f *.lo
+-
+-clean-libtool:
+-	-rm -rf .libs _libs
+-
+-distclean-libtool:
+-
+-maintainer-clean-libtool:
+-
+-libkadm5clnt.la: $(libkadm5clnt_la_OBJECTS) $(libkadm5clnt_la_DEPENDENCIES)
++clean-libLTLIBRARIES:
++	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
++libkadm5clnt.la: $(libkadm5clnt_la_OBJECTS) $(libkadm5clnt_la_DEPENDENCIES) 
+ 	$(LINK) -rpath $(libdir) $(libkadm5clnt_la_LDFLAGS) $(libkadm5clnt_la_OBJECTS) $(libkadm5clnt_la_LIBADD) $(LIBS)
+-
+-libkadm5srv.la: $(libkadm5srv_la_OBJECTS) $(libkadm5srv_la_DEPENDENCIES)
++libkadm5srv.la: $(libkadm5srv_la_OBJECTS) $(libkadm5srv_la_DEPENDENCIES) 
+ 	$(LINK) -rpath $(libdir) $(libkadm5srv_la_LDFLAGS) $(libkadm5srv_la_OBJECTS) $(libkadm5srv_la_LIBADD) $(LIBS)
+-
+-mostlyclean-libexecPROGRAMS:
+-
+-clean-libexecPROGRAMS:
+-	-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
+-
+-distclean-libexecPROGRAMS:
+-
+-maintainer-clean-libexecPROGRAMS:
+-
+ install-libexecPROGRAMS: $(libexec_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(libexecdir)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+-	  if test -f $$p; then \
+-	    f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libexecdir)/$$f"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libexecdir)/$$f; \
++	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  if test -f $$p \
++	     || test -f $$p1 \
++	  ; then \
++	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-libexecPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+-	  f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(libexecdir)/$$f; \
+ 	done
+ 
+-mostlyclean-sbinPROGRAMS:
+-
+-clean-sbinPROGRAMS:
+-	-test -z "$(sbin_PROGRAMS)" || rm -f $(sbin_PROGRAMS)
+-
+-distclean-sbinPROGRAMS:
+-
+-maintainer-clean-sbinPROGRAMS:
+-
++clean-libexecPROGRAMS:
++	-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
+ install-sbinPROGRAMS: $(sbin_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(sbindir)
+ 	@list='$(sbin_PROGRAMS)'; for p in $$list; do \
+-	  if test -f $$p; then \
+-	    f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(sbindir)/$$f"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(sbindir)/$$f; \
++	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  if test -f $$p \
++	     || test -f $$p1 \
++	  ; then \
++	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(sbindir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(sbindir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-sbinPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(sbin_PROGRAMS)'; for p in $$list; do \
+-	  f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(sbindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(sbindir)/$$f; \
+ 	done
+ 
+-dump_log$(EXEEXT): $(dump_log_OBJECTS) $(dump_log_DEPENDENCIES)
++clean-sbinPROGRAMS:
++	-test -z "$(sbin_PROGRAMS)" || rm -f $(sbin_PROGRAMS)
++dump_log$(EXEEXT): $(dump_log_OBJECTS) $(dump_log_DEPENDENCIES) 
+ 	@rm -f dump_log$(EXEEXT)
+ 	$(LINK) $(dump_log_LDFLAGS) $(dump_log_OBJECTS) $(dump_log_LDADD) $(LIBS)
+-
+-ipropd-master$(EXEEXT): $(ipropd_master_OBJECTS) $(ipropd_master_DEPENDENCIES)
++ipropd-master$(EXEEXT): $(ipropd_master_OBJECTS) $(ipropd_master_DEPENDENCIES) 
+ 	@rm -f ipropd-master$(EXEEXT)
+ 	$(LINK) $(ipropd_master_LDFLAGS) $(ipropd_master_OBJECTS) $(ipropd_master_LDADD) $(LIBS)
+-
+-ipropd-slave$(EXEEXT): $(ipropd_slave_OBJECTS) $(ipropd_slave_DEPENDENCIES)
++ipropd-slave$(EXEEXT): $(ipropd_slave_OBJECTS) $(ipropd_slave_DEPENDENCIES) 
+ 	@rm -f ipropd-slave$(EXEEXT)
+ 	$(LINK) $(ipropd_slave_LDFLAGS) $(ipropd_slave_OBJECTS) $(ipropd_slave_LDADD) $(LIBS)
+-
+-replay_log$(EXEEXT): $(replay_log_OBJECTS) $(replay_log_DEPENDENCIES)
++replay_log$(EXEEXT): $(replay_log_OBJECTS) $(replay_log_DEPENDENCIES) 
+ 	@rm -f replay_log$(EXEEXT)
+ 	$(LINK) $(replay_log_LDFLAGS) $(replay_log_OBJECTS) $(replay_log_LDADD) $(LIBS)
+-
+-truncate_log$(EXEEXT): $(truncate_log_OBJECTS) $(truncate_log_DEPENDENCIES)
++truncate_log$(EXEEXT): $(truncate_log_OBJECTS) $(truncate_log_DEPENDENCIES) 
+ 	@rm -f truncate_log$(EXEEXT)
+ 	$(LINK) $(truncate_log_LDFLAGS) $(truncate_log_OBJECTS) $(truncate_log_LDADD) $(LIBS)
++
++mostlyclean-compile:
++	-rm -f *.$(OBJEXT) core *.core
++
++distclean-compile:
++	-rm -f *.tab.c
++
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
+-.c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
+ 
++.c.lo:
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
++uninstall-info-am:
+ install-kadm5includeHEADERS: $(kadm5include_HEADERS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(kadm5includedir)
+ 	@list='$(kadm5include_HEADERS)'; for p in $$list; do \
+-	  if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
++	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(kadm5includedir)/$$f"; \
+-	  $(INSTALL_DATA) $$d$$p $(DESTDIR)$(kadm5includedir)/$$f; \
++	  echo " $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(kadm5includedir)/$$f"; \
++	  $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(kadm5includedir)/$$f; \
+ 	done
+ 
+ uninstall-kadm5includeHEADERS:
+@@ -578,22 +560,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -603,101 +586,100 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-install-exec-am: install-libLTLIBRARIES install-libexecPROGRAMS \
+-		install-sbinPROGRAMS
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(HEADERS) all-local
+ 
+-install-data-am: install-kadm5includeHEADERS install-data-local
+-install-data: install-data-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(libexecdir) $(DESTDIR)$(sbindir) $(DESTDIR)$(kadm5includedir)
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am: uninstall-libLTLIBRARIES uninstall-libexecPROGRAMS \
+-		uninstall-sbinPROGRAMS uninstall-kadm5includeHEADERS
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(HEADERS) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(libdir) $(DESTDIR)$(libexecdir) \
+-		$(DESTDIR)$(sbindir) $(DESTDIR)$(kadm5includedir)
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-libLTLIBRARIES mostlyclean-compile \
+-		mostlyclean-libtool mostlyclean-libexecPROGRAMS \
+-		mostlyclean-sbinPROGRAMS mostlyclean-tags \
+-		mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-generic clean-libLTLIBRARIES clean-libexecPROGRAMS \
++	clean-libtool clean-sbinPROGRAMS mostlyclean-am
+ 
+-clean-am:  clean-libLTLIBRARIES clean-compile clean-libtool \
+-		clean-libexecPROGRAMS clean-sbinPROGRAMS clean-tags \
+-		clean-generic mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-libLTLIBRARIES distclean-compile \
+-		distclean-libtool distclean-libexecPROGRAMS \
+-		distclean-sbinPROGRAMS distclean-tags distclean-generic \
+-		clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-libLTLIBRARIES \
+-		maintainer-clean-compile maintainer-clean-libtool \
+-		maintainer-clean-libexecPROGRAMS \
+-		maintainer-clean-sbinPROGRAMS 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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local install-kadm5includeHEADERS
++
++install-exec-am: install-libLTLIBRARIES install-libexecPROGRAMS \
++	install-sbinPROGRAMS
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man:
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-am
+ 
+-.PHONY: mostlyclean-libLTLIBRARIES distclean-libLTLIBRARIES \
+-clean-libLTLIBRARIES maintainer-clean-libLTLIBRARIES \
+-uninstall-libLTLIBRARIES install-libLTLIBRARIES mostlyclean-compile \
+-distclean-compile clean-compile maintainer-clean-compile \
+-mostlyclean-libtool distclean-libtool clean-libtool \
+-maintainer-clean-libtool mostlyclean-libexecPROGRAMS \
+-distclean-libexecPROGRAMS clean-libexecPROGRAMS \
+-maintainer-clean-libexecPROGRAMS uninstall-libexecPROGRAMS \
+-install-libexecPROGRAMS mostlyclean-sbinPROGRAMS distclean-sbinPROGRAMS \
+-clean-sbinPROGRAMS maintainer-clean-sbinPROGRAMS uninstall-sbinPROGRAMS \
+-install-sbinPROGRAMS uninstall-kadm5includeHEADERS \
+-install-kadm5includeHEADERS tags mostlyclean-tags distclean-tags \
+-clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi \
+-check-local check check-am installcheck-am installcheck install-exec-am \
+-install-exec install-data-local install-data-am install-data install-am \
+-install uninstall-am uninstall all-local all-redirect all-am all \
+-install-strip installdirs mostlyclean-generic distclean-generic \
+-clean-generic maintainer-clean-generic clean mostlyclean distclean \
+-maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-info-am uninstall-kadm5includeHEADERS \
++	uninstall-libLTLIBRARIES uninstall-libexecPROGRAMS \
++	uninstall-sbinPROGRAMS
++
++.PHONY: GTAGS all all-am all-local check check-am check-local clean \
++	clean-generic clean-libLTLIBRARIES clean-libexecPROGRAMS \
++	clean-libtool clean-sbinPROGRAMS distclean distclean-compile \
++	distclean-generic distclean-libtool distclean-tags distdir dvi \
++	dvi-am info info-am install install-am install-data \
++	install-data-am install-data-local install-exec install-exec-am \
++	install-info install-info-am install-kadm5includeHEADERS \
++	install-libLTLIBRARIES install-libexecPROGRAMS install-man \
++	install-sbinPROGRAMS install-strip installcheck installcheck-am \
++	installdirs maintainer-clean maintainer-clean-generic \
++	mostlyclean mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool tags uninstall uninstall-am \
++	uninstall-info-am uninstall-kadm5includeHEADERS \
++	uninstall-libLTLIBRARIES uninstall-libexecPROGRAMS \
++	uninstall-sbinPROGRAMS
+ 
+ 
+ install-suid-programs:
+@@ -848,7 +830,6 @@
+ # to help stupid solaris make
+ 
+ kadm5_err.h: kadm5_err.et
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/lib/kafs/Makefile.in heimdal-0.4e/lib/kafs/Makefile.in
+--- heimdal-0.4e-old/lib/kafs/Makefile.in	Thu Sep  6 22:23:20 2001
++++ heimdal-0.4e/lib/kafs/Makefile.in	Sat Jun 15 19:35:30 2002
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.31 2001/09/02 19:37:53 assar Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,13 +90,13 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+ LIB_ = @LIB_@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+-LIB_com_err = @LIB_com_err@
+ LIB_com_err_a = @LIB_com_err_a@
+ LIB_com_err_so = @LIB_com_err_so@
+ LIB_des = @LIB_des@
+@@ -100,12 +104,10 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+-LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,19 +121,19 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+-
+-# $Id: Makefile.am,v 1.31 2001/09/02 19:37:53 assar Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
++LIB_com_err = @LIB_com_err@
++LIB_otp = @LIB_otp@
++LIB_roken = @LIB_roken@
+ 
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+@@ -185,53 +187,63 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+-@KRB4_TRUE@AFSLIBS = @KRB4_TRUE@libkafs.la
++@KRB4_TRUE@AFSLIBS = libkafs.la
+ @KRB4_FALSE@AFSLIBS = 
+-@KRB4_TRUE@DEPLIB_krb4 = @KRB4_TRUE@$(LIB_krb4) $(LIB_des)
++@KRB4_TRUE@DEPLIB_krb4 = $(LIB_krb4) $(LIB_des)
+ @KRB4_FALSE@DEPLIB_krb4 = 
+ 
+-@KRB4_TRUE@@AIX_TRUE@AFSL_EXP = @KRB4_TRUE@@AIX_TRUE@$(srcdir)/afsl.exp
+-@KRB4_TRUE@@AIX_FALSE@AFSL_EXP = 
+-@KRB4_TRUE@@AIX_TRUE@@AIX4_TRUE@AFS_EXTRA_LD = @KRB4_TRUE@@AIX_TRUE@@AIX4_TRUE@-bnoentry
+-@KRB4_TRUE@@AIX_TRUE@@AIX4_FALSE@AFS_EXTRA_LD = @KRB4_TRUE@@AIX_TRUE@@AIX4_FALSE@-e _nostart
+-@KRB4_TRUE@@AIX_TRUE@@AIX_DYNAMIC_AFS_TRUE@@HAVE_DLOPEN_TRUE@AIX_SRC = 
+-@KRB4_TRUE@@AIX_TRUE@@AIX_DYNAMIC_AFS_TRUE@@HAVE_DLOPEN_FALSE@AIX_SRC = @KRB4_TRUE@@AIX_TRUE@@AIX_DYNAMIC_AFS_TRUE@@HAVE_DLOPEN_FALSE@dlfcn.c
+-@KRB4_TRUE@@AIX_TRUE@@AIX_DYNAMIC_AFS_FALSE@AIX_SRC = @KRB4_TRUE@@AIX_TRUE@@AIX_DYNAMIC_AFS_FALSE@afslib.c
+-@KRB4_TRUE@@AIX_FALSE@AIX_SRC = 
+-@KRB4_TRUE@@AIX_TRUE@@AIX_DYNAMIC_AFS_TRUE@AFS_EXTRA_LIBS = @KRB4_TRUE@@AIX_TRUE@@AIX_DYNAMIC_AFS_TRUE@afslib.so
+-@KRB4_TRUE@@AIX_TRUE@@AIX_DYNAMIC_AFS_FALSE@AFS_EXTRA_LIBS = 
+-@KRB4_TRUE@@AIX_TRUE@@AIX_DYNAMIC_AFS_TRUE@AFS_EXTRA_DEFS = 
+-@KRB4_TRUE@@AIX_TRUE@@AIX_DYNAMIC_AFS_FALSE@AFS_EXTRA_DEFS = @KRB4_TRUE@@AIX_TRUE@@AIX_DYNAMIC_AFS_FALSE@-DSTATIC_AFS
+-@KRB5_TRUE@libkafs_la_LIBADD = @KRB5_TRUE@../krb5/libkrb5.la ../roken/libroken.la $(DEPLIB_krb4)
+-@KRB5_FALSE@libkafs_la_LIBADD = @KRB5_FALSE@../roken/libroken.la $(DEPLIB_krb4)
++@AIX_FALSE@@KRB4_TRUE@AFSL_EXP = 
++@AIX_TRUE@@KRB4_TRUE@AFSL_EXP = $(srcdir)/afsl.exp
++
++@AIX4_FALSE@@AIX_TRUE@@KRB4_TRUE@AFS_EXTRA_LD = -e _nostart
++@AIX4_TRUE@@AIX_TRUE@@KRB4_TRUE@AFS_EXTRA_LD = -bnoentry
++
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@KRB4_TRUE@AIX_SRC = afslib.c
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@AIX_SRC = dlfcn.c
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@AIX_SRC = 
++@AIX_FALSE@@KRB4_TRUE@AIX_SRC = 
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@KRB4_TRUE@AFS_EXTRA_LIBS = 
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@KRB4_TRUE@AFS_EXTRA_LIBS = afslib.so
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@KRB4_TRUE@AFS_EXTRA_DEFS = -DSTATIC_AFS
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@KRB4_TRUE@AFS_EXTRA_DEFS = 
++
++@KRB5_TRUE@libkafs_la_LIBADD = ../krb5/libkrb5.la $(LIB_roken) $(DEPLIB_krb4)
++@KRB5_FALSE@libkafs_la_LIBADD = $(LIB_roken) $(DEPLIB_krb4)
+ 
+ lib_LTLIBRARIES = $(AFSLIBS)
+ libkafs_la_LDFLAGS = -version-info 3:1:3
+ foodir = $(libdir)
+ foo_DATA = $(AFS_EXTRA_LIBS)
+-# EXTRA_DATA = afslib.so
+ 
++# EXTRA_DATA = afslib.so
+ CLEANFILES = $(AFS_EXTRA_LIBS) $(ROKEN_SRCS)
+ 
+ include_HEADERS = kafs.h
+ 
+-@KRB5_TRUE@afskrb5_c = @KRB5_TRUE@afskrb5.c
++@KRB5_TRUE@afskrb5_c = afskrb5.c
+ 
+-@do_roken_rename_TRUE@ROKEN_SRCS = @do_roken_rename_TRUE@resolve.c
++@do_roken_rename_TRUE@ROKEN_SRCS = resolve.c
+ 
+ libkafs_la_SOURCES = \
+ 	afssys.c				\
+@@ -244,8 +256,8 @@
+ 	$(ROKEN_SRCS)
+ 
+ 
+-#afslib_so_SOURCES = afslib.c
+ 
++#afslib_so_SOURCES = afslib.c
+ EXTRA_libkafs_la_SOURCES = afskrb5.c dlfcn.c afslib.c dlfcn.h
+ 
+ EXTRA_DIST = README.dlfcn afsl.exp afslib.exp
+@@ -253,447 +265,437 @@
+ man_MANS = kafs.3
+ subdir = lib/kafs
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../include/config.h
+-CONFIG_CLEAN_FILES = 
+-LTLIBRARIES =  $(lib_LTLIBRARIES)
+-
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++LTLIBRARIES = $(lib_LTLIBRARIES)
++
++@KRB4_FALSE@@KRB5_TRUE@libkafs_la_DEPENDENCIES = ../krb5/libkrb5.la
++@KRB4_FALSE@@KRB5_FALSE@libkafs_la_DEPENDENCIES =
++@KRB4_TRUE@@KRB5_TRUE@libkafs_la_DEPENDENCIES = ../krb5/libkrb5.la
++@KRB4_TRUE@@KRB5_FALSE@libkafs_la_DEPENDENCIES =
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@	afssys.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@	common.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@	resolve.lo
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@	afssys.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@	common.lo
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	afssys.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	afskrb5.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	common.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	resolve.lo
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@	afssys.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@	afskrb5.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@	common.lo
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@	afssys.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@	common.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@	resolve.lo
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@	afssys.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@	common.lo
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	afssys.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	afskrb5.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	common.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	resolve.lo
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@	afssys.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@	afskrb5.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@	common.lo
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@	afssys.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@	common.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@	resolve.lo
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@	afssys.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@	common.lo
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	afssys.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	afskrb5.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	common.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	resolve.lo
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@	afssys.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@	afskrb5.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@	common.lo
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@	afssys.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@	common.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@	resolve.lo
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@	afssys.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@	common.lo
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	afssys.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	afskrb5.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	common.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	resolve.lo
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@	afssys.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@	afskrb5.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@	common.lo
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@	afssys.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@	common.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@	resolve.lo
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@	afssys.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@	common.lo
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	afssys.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	afskrb5.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	common.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	resolve.lo
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@	afssys.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@	afskrb5.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@	common.lo
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@	afssys.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@	common.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@	afslib.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@	resolve.lo
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@	afssys.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@	common.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@	afslib.lo
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	afssys.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	afskrb5.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	common.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	afslib.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	resolve.lo
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@	afssys.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@	afskrb5.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@	common.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@	afslib.lo
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@	afssys.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@	common.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@	resolve.lo
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@	afssys.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@	common.lo
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	afssys.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	afskrb5.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	common.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	resolve.lo
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@	afssys.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@	afskrb5.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@	common.lo
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@	afssys.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@	common.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@	afslib.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@	resolve.lo
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@	afssys.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@	common.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@	afslib.lo
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	afssys.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	afskrb5.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	common.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	afslib.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	resolve.lo
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@	afssys.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@	afskrb5.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@	common.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@	afslib.lo
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@	afssys.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@	common.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@	resolve.lo
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@	afssys.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@	common.lo
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	afssys.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	afskrb5.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	common.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	resolve.lo
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@	afssys.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@	afskrb5.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@	common.lo
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@	afssys.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@	common.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@	resolve.lo
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@	afssys.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@	common.lo
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	afssys.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	afskrb5.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	common.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	resolve.lo
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@	afssys.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@	afskrb5.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@	common.lo
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@	afssys.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@	common.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@	resolve.lo
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@	afssys.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@	common.lo
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	afssys.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	afskrb5.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	common.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	resolve.lo
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@	afssys.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@	afskrb5.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@	common.lo
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@	afssys.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@	common.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@	resolve.lo
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@	afssys.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@	common.lo
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	afssys.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	afskrb5.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	common.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	resolve.lo
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@	afssys.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@	afskrb5.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@	common.lo
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@	afssys.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@	common.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@	resolve.lo
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@	afssys.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@	common.lo
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	afssys.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	afskrb5.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	common.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	resolve.lo
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@	afssys.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@	afskrb5.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@	common.lo
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@	afssys.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@	common.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@	dlfcn.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@	resolve.lo
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@	afssys.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@	common.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@	dlfcn.lo
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	afssys.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	afskrb5.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	common.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	dlfcn.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	resolve.lo
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@	afssys.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@	afskrb5.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@	common.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@	dlfcn.lo
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@	afssys.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@	common.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@	resolve.lo
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@	afssys.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@	common.lo
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	afssys.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	afskrb5.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	common.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	resolve.lo
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@	afssys.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@	afskrb5.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@	common.lo
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@	afssys.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@	common.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@	resolve.lo
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@	afssys.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@	common.lo
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	afssys.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	afskrb5.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	common.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	resolve.lo
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@	afssys.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@	afskrb5.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@	common.lo
++libkafs_la_OBJECTS = $(am_libkafs_la_OBJECTS)
+ 
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../../include
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+-@KRB5_FALSE@libkafs_la_DEPENDENCIES =  ../roken/libroken.la
+-@KRB5_TRUE@libkafs_la_DEPENDENCIES =  ../krb5/libkrb5.la \
+-@KRB5_TRUE@../roken/libroken.la
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@afssys.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@common.lo
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@afssys.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@common.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@resolve.lo
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@afssys.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@afskrb5.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@common.lo
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@afssys.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@afskrb5.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@common.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@resolve.lo
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@afssys.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@common.lo
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@afssys.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@common.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@resolve.lo
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@afssys.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@afskrb5.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@common.lo
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@afssys.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@afskrb5.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@common.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@resolve.lo
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@afssys.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@common.lo
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@afssys.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@common.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@resolve.lo
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@afssys.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@afskrb5.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@common.lo
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@afssys.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@afskrb5.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@common.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@resolve.lo
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@afssys.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@common.lo
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@afssys.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@common.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@resolve.lo
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@afssys.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@afskrb5.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@common.lo
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@afssys.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@afskrb5.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@common.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@resolve.lo
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@afssys.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@common.lo
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@afssys.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@common.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@resolve.lo
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@afssys.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@afskrb5.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@common.lo
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@afssys.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@afskrb5.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@common.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@resolve.lo
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@afssys.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@common.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@afslib.lo
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@afssys.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@common.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@afslib.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@resolve.lo
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@afssys.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@afskrb5.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@common.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@afslib.lo
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@afssys.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@afskrb5.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@common.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@afslib.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@resolve.lo
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@afssys.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@common.lo
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@afssys.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@common.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@resolve.lo
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@afssys.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@afskrb5.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@common.lo
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@afssys.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@afskrb5.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@common.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@resolve.lo
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@afssys.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@common.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@afslib.lo
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@afssys.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@common.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@afslib.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@resolve.lo
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@afssys.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@afskrb5.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@common.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@afslib.lo
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@afssys.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@afskrb5.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@common.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@afslib.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@resolve.lo
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@afssys.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@common.lo
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@afssys.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@common.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@resolve.lo
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@afssys.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@afskrb5.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@common.lo
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@afssys.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@afskrb5.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@common.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@resolve.lo
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@afssys.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@common.lo
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@afssys.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@common.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@resolve.lo
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@afssys.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@afskrb5.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@common.lo
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@afssys.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@afskrb5.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@common.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@resolve.lo
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@afssys.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@common.lo
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@afssys.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@common.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@resolve.lo
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@afssys.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@afskrb5.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@common.lo
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@afssys.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@afskrb5.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@common.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@resolve.lo
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@afssys.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@common.lo
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@afssys.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@common.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@resolve.lo
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@afssys.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@afskrb5.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@common.lo
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@afssys.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@afskrb5.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@common.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@resolve.lo
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@afssys.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@common.lo
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@afssys.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@common.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@resolve.lo
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@afssys.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@afskrb5.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@common.lo
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@afssys.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@afskrb5.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@common.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@resolve.lo
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@afssys.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@common.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@dlfcn.lo
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@afssys.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@common.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@dlfcn.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@resolve.lo
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@afssys.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@afskrb5.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@common.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@dlfcn.lo
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@afssys.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@afskrb5.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@common.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@dlfcn.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@resolve.lo
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@afssys.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@common.lo
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@afssys.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@common.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@resolve.lo
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@afssys.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@afskrb5.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@common.lo
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@afssys.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@afskrb5.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@common.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@resolve.lo
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@afssys.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@common.lo
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@afssys.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@common.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@resolve.lo
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@afssys.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@afskrb5.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@common.lo
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@afssys.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@afskrb5.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@common.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@resolve.lo
+-libkafs_la_OBJECTS =  $(am_libkafs_la_OBJECTS)
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  $(libkafs_la_SOURCES) $(EXTRA_libkafs_la_SOURCES)
+-man3dir = $(mandir)/man3
+-MANS = $(man_MANS)
+-DATA =  $(foo_DATA)
+-
+-HEADERS =  $(include_HEADERS)
+-
+-depcomp = 
+-DIST_COMMON =  $(include_HEADERS) ChangeLog Makefile.am Makefile.in
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++DIST_SOURCES = $(libkafs_la_SOURCES) $(EXTRA_libkafs_la_SOURCES)
+ 
++NROFF = nroff
++MANS = $(man_MANS)
++DATA = $(foo_DATA)
+ 
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++HEADERS = $(include_HEADERS)
+ 
+-GZIP_ENV = --best
++DIST_COMMON = $(include_HEADERS) ChangeLog Makefile.am Makefile.in
+ SOURCES = $(libkafs_la_SOURCES) $(EXTRA_libkafs_la_SOURCES)
+-OBJECTS = $(am_libkafs_la_OBJECTS)
+ 
+-all: all-redirect
++all: all-am
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/kafs/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+ 
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-mostlyclean-libLTLIBRARIES:
+-
+-clean-libLTLIBRARIES:
+-	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
+-
+-distclean-libLTLIBRARIES:
+-
+-maintainer-clean-libLTLIBRARIES:
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  lib/kafs/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ install-libLTLIBRARIES: $(lib_LTLIBRARIES)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(libdir)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+ 	  if test -f $$p; then \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p; \
++	    echo " $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p"; \
++	    $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-libLTLIBRARIES:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+-	  echo " $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
+-	  $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
++	  echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
++	  $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
+ 	done
+ 
+-mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
++clean-libLTLIBRARIES:
++	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
++libkafs.la: $(libkafs_la_OBJECTS) $(libkafs_la_DEPENDENCIES) 
++	$(LINK) -rpath $(libdir) $(libkafs_la_LDFLAGS) $(libkafs_la_OBJECTS) $(libkafs_la_LIBADD) $(LIBS)
+ 
+-clean-compile:
++mostlyclean-compile:
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+-maintainer-clean-compile:
+-
+-mostlyclean-libtool:
+-	-rm -f *.lo
+-
+-clean-libtool:
+-	-rm -rf .libs _libs
+-
+-distclean-libtool:
+-
+-maintainer-clean-libtool:
+-
+-libkafs.la: $(libkafs_la_OBJECTS) $(libkafs_la_DEPENDENCIES)
+-	$(LINK) -rpath $(libdir) $(libkafs_la_LDFLAGS) $(libkafs_la_OBJECTS) $(libkafs_la_LIBADD) $(LIBS)
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
++
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
++uninstall-info-am:
+ 
+-install-man3:
++man3dir = $(mandir)/man3
++install-man3: $(man3_MANS) $(man_MANS)
++	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(man3dir)
+-	@list='$(man3_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@list='$(man3_MANS) $(dist_man3_MANS) $(nodist_man3_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.3*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -708,10 +710,11 @@
+ 	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man3dir)/$$inst"; \
+ 	  $(INSTALL_DATA) $$file $(DESTDIR)$(man3dir)/$$inst; \
+ 	done
+-
+ uninstall-man3:
+-	@list='$(man3_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@$(NORMAL_UNINSTALL)
++	@list='$(man3_MANS) $(dist_man3_MANS) $(nodist_man3_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.3*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -724,18 +727,11 @@
+ 	  echo " rm -f $(DESTDIR)$(man3dir)/$$inst"; \
+ 	  rm -f $(DESTDIR)$(man3dir)/$$inst; \
+ 	done
+-install-man: $(MANS)
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-man3
+-uninstall-man:
+-	@$(NORMAL_UNINSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) uninstall-man3
+-
+ install-fooDATA: $(foo_DATA)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(foodir)
+ 	@list='$(foo_DATA)'; for p in $$list; do \
+-	  if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
++	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+ 	  echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(foodir)/$$f"; \
+ 	  $(INSTALL_DATA) $$d$$p $(DESTDIR)$(foodir)/$$f; \
+@@ -748,15 +744,14 @@
+ 	  echo " rm -f $(DESTDIR)$(foodir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(foodir)/$$f; \
+ 	done
+-
+ install-includeHEADERS: $(include_HEADERS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(includedir)
+ 	@list='$(include_HEADERS)'; for p in $$list; do \
+-	  if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
++	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
+-	  $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f; \
++	  echo " $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
++	  $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(includedir)/$$f; \
+ 	done
+ 
+ uninstall-includeHEADERS:
+@@ -794,22 +789,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -819,93 +815,100 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-install-exec-am: install-libLTLIBRARIES
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++all-am: Makefile $(LTLIBRARIES) $(MANS) $(DATA) $(HEADERS) all-local
+ 
+-install-data-am: install-man install-fooDATA install-includeHEADERS \
+-		install-data-local
+-install-data: install-data-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(man3dir) $(DESTDIR)$(foodir) $(DESTDIR)$(includedir)
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am: uninstall-libLTLIBRARIES uninstall-man uninstall-fooDATA \
+-		uninstall-includeHEADERS
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(LTLIBRARIES) $(MANS) $(DATA) $(HEADERS) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(libdir) $(DESTDIR)$(mandir)/man3 \
+-		$(DESTDIR)$(foodir) $(DESTDIR)$(includedir)
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-libLTLIBRARIES mostlyclean-compile \
+-		mostlyclean-libtool mostlyclean-tags \
+-		mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \
++	mostlyclean-am
+ 
+-clean-am:  clean-libLTLIBRARIES clean-compile clean-libtool clean-tags \
+-		clean-generic mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-libLTLIBRARIES distclean-compile \
+-		distclean-libtool distclean-tags distclean-generic \
+-		clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-libLTLIBRARIES \
+-		maintainer-clean-compile maintainer-clean-libtool \
+-		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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local install-fooDATA \
++	install-includeHEADERS install-man
++
++install-exec-am: install-libLTLIBRARIES
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man: install-man3
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-am
+ 
+-.PHONY: mostlyclean-libLTLIBRARIES distclean-libLTLIBRARIES \
+-clean-libLTLIBRARIES maintainer-clean-libLTLIBRARIES \
+-uninstall-libLTLIBRARIES install-libLTLIBRARIES mostlyclean-compile \
+-distclean-compile clean-compile maintainer-clean-compile \
+-mostlyclean-libtool distclean-libtool clean-libtool \
+-maintainer-clean-libtool install-man3 uninstall-man3 install-man \
+-uninstall-man uninstall-fooDATA install-fooDATA \
+-uninstall-includeHEADERS install-includeHEADERS tags mostlyclean-tags \
+-distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
+-dvi-am dvi check-local check check-am installcheck-am installcheck \
+-install-exec-am install-exec install-data-local install-data-am \
+-install-data install-am install uninstall-am uninstall all-local \
+-all-redirect all-am all install-strip installdirs mostlyclean-generic \
+-distclean-generic clean-generic maintainer-clean-generic clean \
+-mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-fooDATA uninstall-includeHEADERS \
++	uninstall-info-am uninstall-libLTLIBRARIES uninstall-man
++
++uninstall-man: uninstall-man3
++
++.PHONY: GTAGS all all-am all-local check check-am check-local clean \
++	clean-generic clean-libLTLIBRARIES clean-libtool distclean \
++	distclean-compile distclean-generic distclean-libtool \
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-data install-data-am install-data-local \
++	install-exec install-exec-am install-fooDATA \
++	install-includeHEADERS install-info install-info-am \
++	install-libLTLIBRARIES install-man install-man3 install-strip \
++	installcheck installcheck-am installdirs maintainer-clean \
++	maintainer-clean-generic mostlyclean mostlyclean-compile \
++	mostlyclean-generic mostlyclean-libtool tags uninstall \
++	uninstall-am uninstall-fooDATA uninstall-includeHEADERS \
++	uninstall-info-am uninstall-libLTLIBRARIES uninstall-man \
++	uninstall-man3
+ 
+ 
+ install-suid-programs:
+@@ -1045,7 +1048,6 @@
+ 
+ resolve.c:
+ 	$(LN_S) $(srcdir)/../roken/resolve.c .
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/lib/kdfs/Makefile.in heimdal-0.4e/lib/kdfs/Makefile.in
+--- heimdal-0.4e-old/lib/kdfs/Makefile.in	Thu Sep  6 22:23:23 2001
++++ heimdal-0.4e/lib/kdfs/Makefile.in	Sat Jun 15 19:35:30 2002
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.2 2000/12/11 00:46:47 assar Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,13 +90,13 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+ LIB_ = @LIB_@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+-LIB_com_err = @LIB_com_err@
+ LIB_com_err_a = @LIB_com_err_a@
+ LIB_com_err_so = @LIB_com_err_so@
+ LIB_des = @LIB_des@
+@@ -100,12 +104,10 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+-LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,19 +121,19 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+-
+-# $Id: Makefile.am,v 1.2 2000/12/11 00:46:47 assar Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
++LIB_com_err = @LIB_com_err@
++LIB_otp = @LIB_otp@
++LIB_roken = @LIB_roken@
+ 
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+@@ -185,17 +187,24 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+@@ -208,103 +217,88 @@
+ libkdfs_la_LDFLAGS = -version-info 0:1:0
+ subdir = lib/kdfs
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../include/config.h
+-CONFIG_CLEAN_FILES = 
+-LTLIBRARIES =  $(lib_LTLIBRARIES)
+-
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++LTLIBRARIES = $(lib_LTLIBRARIES)
++
++libkdfs_la_LIBADD =
++am_libkdfs_la_OBJECTS = k5dfspag.lo
++libkdfs_la_OBJECTS = $(am_libkdfs_la_OBJECTS)
+ 
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../../include
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+-libkdfs_la_LIBADD = 
+-am_libkdfs_la_OBJECTS =  k5dfspag.lo
+-libkdfs_la_OBJECTS =  $(am_libkdfs_la_OBJECTS)
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  $(libkdfs_la_SOURCES)
+-depcomp = 
+-DIST_COMMON =  ChangeLog Makefile.am Makefile.in
+-
+-
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+-
+-GZIP_ENV = --best
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++DIST_SOURCES = $(libkdfs_la_SOURCES)
++DIST_COMMON = ChangeLog Makefile.am Makefile.in
+ SOURCES = $(libkdfs_la_SOURCES)
+-OBJECTS = $(am_libkdfs_la_OBJECTS)
+ 
+-all: all-redirect
++all: all-am
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/kdfs/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+-
+-
+-mostlyclean-libLTLIBRARIES:
+-
+-clean-libLTLIBRARIES:
+-	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
+ 
+-distclean-libLTLIBRARIES:
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-maintainer-clean-libLTLIBRARIES:
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  lib/kdfs/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ install-libLTLIBRARIES: $(lib_LTLIBRARIES)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(libdir)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+ 	  if test -f $$p; then \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p; \
++	    echo " $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p"; \
++	    $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-libLTLIBRARIES:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+-	  echo " $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
+-	  $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
++	  echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
++	  $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
+ 	done
+ 
+-mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
++clean-libLTLIBRARIES:
++	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
++libkdfs.la: $(libkdfs_la_OBJECTS) $(libkdfs_la_DEPENDENCIES) 
++	$(LINK) -rpath $(libdir) $(libkdfs_la_LDFLAGS) $(libkdfs_la_OBJECTS) $(libkdfs_la_LIBADD) $(LIBS)
+ 
+-clean-compile:
++mostlyclean-compile:
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+-maintainer-clean-compile:
+-
+-mostlyclean-libtool:
+-	-rm -f *.lo
+-
+-clean-libtool:
+-	-rm -rf .libs _libs
+-
+-distclean-libtool:
+-
+-maintainer-clean-libtool:
+-
+-libkdfs.la: $(libkdfs_la_OBJECTS) $(libkdfs_la_DEPENDENCIES)
+-	$(LINK) -rpath $(libdir) $(libkdfs_la_LDFLAGS) $(libkdfs_la_OBJECTS) $(libkdfs_la_LIBADD) $(LIBS)
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
++
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
++uninstall-info-am:
+ 
+ tags: TAGS
+ 
+@@ -333,22 +327,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -358,87 +353,92 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-install-exec-am: install-libLTLIBRARIES
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++all-am: Makefile $(LTLIBRARIES) all-local
+ 
+-install-data-am: install-data-local
+-install-data: install-data-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(libdir)
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am: uninstall-libLTLIBRARIES
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(LTLIBRARIES) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(libdir)
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-libLTLIBRARIES mostlyclean-compile \
+-		mostlyclean-libtool mostlyclean-tags \
+-		mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \
++	mostlyclean-am
+ 
+-clean-am:  clean-libLTLIBRARIES clean-compile clean-libtool clean-tags \
+-		clean-generic mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-libLTLIBRARIES distclean-compile \
+-		distclean-libtool distclean-tags distclean-generic \
+-		clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-libLTLIBRARIES \
+-		maintainer-clean-compile maintainer-clean-libtool \
+-		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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local
++
++install-exec-am: install-libLTLIBRARIES
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man:
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-am
+ 
+-.PHONY: mostlyclean-libLTLIBRARIES distclean-libLTLIBRARIES \
+-clean-libLTLIBRARIES maintainer-clean-libLTLIBRARIES \
+-uninstall-libLTLIBRARIES install-libLTLIBRARIES mostlyclean-compile \
+-distclean-compile clean-compile maintainer-clean-compile \
+-mostlyclean-libtool distclean-libtool clean-libtool \
+-maintainer-clean-libtool tags mostlyclean-tags distclean-tags \
+-clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi \
+-check-local check check-am installcheck-am installcheck install-exec-am \
+-install-exec install-data-local install-data-am install-data install-am \
+-install uninstall-am uninstall all-local all-redirect all-am all \
+-install-strip installdirs mostlyclean-generic distclean-generic \
+-clean-generic maintainer-clean-generic clean mostlyclean distclean \
+-maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-info-am uninstall-libLTLIBRARIES
++
++.PHONY: GTAGS all all-am all-local check check-am check-local clean \
++	clean-generic clean-libLTLIBRARIES clean-libtool distclean \
++	distclean-compile distclean-generic distclean-libtool \
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-data install-data-am install-data-local \
++	install-exec install-exec-am install-info install-info-am \
++	install-libLTLIBRARIES install-man install-strip installcheck \
++	installcheck-am installdirs maintainer-clean \
++	maintainer-clean-generic mostlyclean mostlyclean-compile \
++	mostlyclean-generic mostlyclean-libtool tags uninstall \
++	uninstall-am uninstall-info-am uninstall-libLTLIBRARIES
+ 
+ 
+ install-suid-programs:
+@@ -568,7 +568,6 @@
+ 	  echo "$$dashes"; \
+ 	  test "$$failed" -eq 0; \
+ 	fi
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/lib/krb5/Makefile.in heimdal-0.4e/lib/krb5/Makefile.in
+--- heimdal-0.4e-old/lib/krb5/Makefile.in	Thu Sep  6 22:23:29 2001
++++ heimdal-0.4e/lib/krb5/Makefile.in	Sat Jun 15 19:35:30 2002
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.138 2001/09/06 12:19:16 assar Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,13 +90,13 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+ LIB_ = @LIB_@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+-LIB_com_err = @LIB_com_err@
+ LIB_com_err_a = @LIB_com_err_a@
+ LIB_com_err_so = @LIB_com_err_so@
+ LIB_des = @LIB_des@
+@@ -100,12 +104,10 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+-LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,19 +121,19 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+-
+-# $Id: Makefile.am,v 1.138 2001/09/06 12:19:16 assar Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
++LIB_com_err = @LIB_com_err@
++LIB_otp = @LIB_otp@
++LIB_roken = @LIB_roken@
+ 
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+@@ -185,17 +187,24 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+@@ -206,17 +215,15 @@
+ check_PROGRAMS = n-fold-test string-to-key-test derived-key-test store-test
+ TESTS = n-fold-test string-to-key-test derived-key-test store-test 
+ 
+-LDADD = libkrb5.la \
+-	$(LIB_des) \
+-	$(top_builddir)/lib/asn1/libasn1.la \
+-	$(LIB_roken)
+-
++LDADD = libkrb5.la
+ 
+ libkrb5_la_LIBADD = \
+-	../com_err/error.lo ../com_err/com_err.lo \
++	$(LIB_res_search) \
++	$(LIB_com_err) \
+ 	$(LIB_des) \
+ 	$(top_builddir)/lib/asn1/libasn1.la \
+-	$(LIB_roken)
++	$(LIB_roken) \
++	$(LIB_dbopen)
+ 
+ 
+ lib_LTLIBRARIES = libkrb5.la
+@@ -322,8 +329,8 @@
+ 
+ libkrb5_la_LDFLAGS = -version-info 18:2:1
+ 
+-#libkrb5_la_LIBADD = ../com_err/error.lo ../com_err/com_err.lo
+ 
++#libkrb5_la_LIBADD = ../com_err/error.lo ../com_err/com_err.lo
+ man_MANS = \
+ 	kerberos.8				\
+ 	krb5.conf.5				\
+@@ -358,270 +365,227 @@
+ CLEANFILES = krb5_err.c krb5_err.h heim_err.c heim_err.h k524_err.c k524_err.h
+ subdir = lib/krb5
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../include/config.h
+-CONFIG_CLEAN_FILES = 
+-LTLIBRARIES =  $(lib_LTLIBRARIES)
+-
+-
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../../include
+-CPPFLAGS = @CPPFLAGS@
+-LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+-libkrb5_la_DEPENDENCIES =  ../com_err/error.lo ../com_err/com_err.lo \
+-$(top_builddir)/lib/asn1/libasn1.la
+-am_libkrb5_la_OBJECTS =  acl.lo add_et_list.lo addr_families.lo \
+-aname_to_localname.lo appdefault.lo asn1_glue.lo auth_context.lo \
+-build_ap_req.lo build_auth.lo cache.lo changepw.lo codec.lo \
+-config_file.lo config_file_netinfo.lo convert_creds.lo constants.lo \
+-context.lo copy_host_realm.lo crc.lo creds.lo crypto.lo data.lo \
+-eai_to_heim_errno.lo error_string.lo expand_hostname.lo fcache.lo \
+-free.lo free_host_realm.lo generate_seq_number.lo generate_subkey.lo \
+-get_addrs.lo get_cred.lo get_default_principal.lo get_default_realm.lo \
+-get_for_creds.lo get_host_realm.lo get_in_tkt.lo get_in_tkt_pw.lo \
+-get_in_tkt_with_keytab.lo get_in_tkt_with_skey.lo get_port.lo \
+-init_creds.lo init_creds_pw.lo keyblock.lo keytab.lo keytab_any.lo \
+-keytab_file.lo keytab_memory.lo keytab_keyfile.lo keytab_krb4.lo \
+-krbhst.lo kuserok.lo log.lo mcache.lo misc.lo mk_error.lo mk_priv.lo \
+-mk_rep.lo mk_req.lo mk_req_ext.lo mk_safe.lo net_read.lo net_write.lo \
+-n-fold.lo padata.lo principal.lo prog_setup.lo prompter_posix.lo \
+-rd_cred.lo rd_error.lo rd_priv.lo rd_rep.lo rd_req.lo rd_safe.lo \
+-read_message.lo recvauth.lo replay.lo send_to_kdc.lo sendauth.lo \
+-set_default_realm.lo sock_principal.lo store.lo store_emem.lo \
+-store_fd.lo store_mem.lo ticket.lo time.lo transited.lo verify_init.lo \
+-verify_user.lo version.lo warn.lo write_message.lo krb5_err.lo \
+-heim_err.lo k524_err.lo
+-libkrb5_la_OBJECTS =  $(am_libkrb5_la_OBJECTS)
+-bin_PROGRAMS =  verify_krb5_conf$(EXEEXT)
+-check_PROGRAMS =  n-fold-test$(EXEEXT) string-to-key-test$(EXEEXT) \
+-derived-key-test$(EXEEXT) store-test$(EXEEXT)
+-noinst_PROGRAMS =  dump_config$(EXEEXT) test_get_addrs$(EXEEXT) \
+-krbhst-test$(EXEEXT)
+-PROGRAMS =  $(bin_PROGRAMS) $(noinst_PROGRAMS)
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++LTLIBRARIES = $(lib_LTLIBRARIES)
++
++libkrb5_la_DEPENDENCIES = $(top_builddir)/lib/asn1/libasn1.la
++am_libkrb5_la_OBJECTS = acl.lo add_et_list.lo addr_families.lo \
++	aname_to_localname.lo appdefault.lo asn1_glue.lo \
++	auth_context.lo build_ap_req.lo build_auth.lo cache.lo \
++	changepw.lo codec.lo config_file.lo config_file_netinfo.lo \
++	convert_creds.lo constants.lo context.lo copy_host_realm.lo \
++	crc.lo creds.lo crypto.lo data.lo eai_to_heim_errno.lo \
++	error_string.lo expand_hostname.lo fcache.lo free.lo \
++	free_host_realm.lo generate_seq_number.lo generate_subkey.lo \
++	get_addrs.lo get_cred.lo get_default_principal.lo \
++	get_default_realm.lo get_for_creds.lo get_host_realm.lo \
++	get_in_tkt.lo get_in_tkt_pw.lo get_in_tkt_with_keytab.lo \
++	get_in_tkt_with_skey.lo get_port.lo init_creds.lo \
++	init_creds_pw.lo keyblock.lo keytab.lo keytab_any.lo \
++	keytab_file.lo keytab_memory.lo keytab_keyfile.lo \
++	keytab_krb4.lo krbhst.lo kuserok.lo log.lo mcache.lo misc.lo \
++	mk_error.lo mk_priv.lo mk_rep.lo mk_req.lo mk_req_ext.lo \
++	mk_safe.lo net_read.lo net_write.lo n-fold.lo padata.lo \
++	principal.lo prog_setup.lo prompter_posix.lo rd_cred.lo \
++	rd_error.lo rd_priv.lo rd_rep.lo rd_req.lo rd_safe.lo \
++	read_message.lo recvauth.lo replay.lo send_to_kdc.lo \
++	sendauth.lo set_default_realm.lo sock_principal.lo store.lo \
++	store_emem.lo store_fd.lo store_mem.lo ticket.lo time.lo \
++	transited.lo verify_init.lo verify_user.lo version.lo warn.lo \
++	write_message.lo krb5_err.lo heim_err.lo k524_err.lo
++libkrb5_la_OBJECTS = $(am_libkrb5_la_OBJECTS)
++bin_PROGRAMS = verify_krb5_conf$(EXEEXT)
++check_PROGRAMS = n-fold-test$(EXEEXT) string-to-key-test$(EXEEXT) \
++	derived-key-test$(EXEEXT) store-test$(EXEEXT)
++noinst_PROGRAMS = dump_config$(EXEEXT) test_get_addrs$(EXEEXT) \
++	krbhst-test$(EXEEXT)
++PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS)
+ 
+ derived_key_test_SOURCES = derived-key-test.c
+-derived_key_test_OBJECTS =  derived-key-test.$(OBJEXT)
++derived_key_test_OBJECTS = derived-key-test.$(OBJEXT)
+ derived_key_test_LDADD = $(LDADD)
+-derived_key_test_DEPENDENCIES =  libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
+-derived_key_test_LDFLAGS = 
++derived_key_test_DEPENDENCIES = libkrb5.la
++derived_key_test_LDFLAGS =
+ dump_config_SOURCES = dump_config.c
+-dump_config_OBJECTS =  dump_config.$(OBJEXT)
++dump_config_OBJECTS = dump_config.$(OBJEXT)
+ dump_config_LDADD = $(LDADD)
+-dump_config_DEPENDENCIES =  libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
+-dump_config_LDFLAGS = 
++dump_config_DEPENDENCIES = libkrb5.la
++dump_config_LDFLAGS =
+ krbhst_test_SOURCES = krbhst-test.c
+-krbhst_test_OBJECTS =  krbhst-test.$(OBJEXT)
++krbhst_test_OBJECTS = krbhst-test.$(OBJEXT)
+ krbhst_test_LDADD = $(LDADD)
+-krbhst_test_DEPENDENCIES =  libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
+-krbhst_test_LDFLAGS = 
++krbhst_test_DEPENDENCIES = libkrb5.la
++krbhst_test_LDFLAGS =
+ n_fold_test_SOURCES = n-fold-test.c
+-n_fold_test_OBJECTS =  n-fold-test.$(OBJEXT)
++n_fold_test_OBJECTS = n-fold-test.$(OBJEXT)
+ n_fold_test_LDADD = $(LDADD)
+-n_fold_test_DEPENDENCIES =  libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
+-n_fold_test_LDFLAGS = 
++n_fold_test_DEPENDENCIES = libkrb5.la
++n_fold_test_LDFLAGS =
+ store_test_SOURCES = store-test.c
+-store_test_OBJECTS =  store-test.$(OBJEXT)
++store_test_OBJECTS = store-test.$(OBJEXT)
+ store_test_LDADD = $(LDADD)
+-store_test_DEPENDENCIES =  libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
+-store_test_LDFLAGS = 
++store_test_DEPENDENCIES = libkrb5.la
++store_test_LDFLAGS =
+ string_to_key_test_SOURCES = string-to-key-test.c
+-string_to_key_test_OBJECTS =  string-to-key-test.$(OBJEXT)
++string_to_key_test_OBJECTS = string-to-key-test.$(OBJEXT)
+ string_to_key_test_LDADD = $(LDADD)
+-string_to_key_test_DEPENDENCIES =  libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
+-string_to_key_test_LDFLAGS = 
++string_to_key_test_DEPENDENCIES = libkrb5.la
++string_to_key_test_LDFLAGS =
+ test_get_addrs_SOURCES = test_get_addrs.c
+-test_get_addrs_OBJECTS =  test_get_addrs.$(OBJEXT)
++test_get_addrs_OBJECTS = test_get_addrs.$(OBJEXT)
+ test_get_addrs_LDADD = $(LDADD)
+-test_get_addrs_DEPENDENCIES =  libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
+-test_get_addrs_LDFLAGS = 
++test_get_addrs_DEPENDENCIES = libkrb5.la
++test_get_addrs_LDFLAGS =
+ verify_krb5_conf_SOURCES = verify_krb5_conf.c
+-verify_krb5_conf_OBJECTS =  verify_krb5_conf.$(OBJEXT)
++verify_krb5_conf_OBJECTS = verify_krb5_conf.$(OBJEXT)
+ verify_krb5_conf_LDADD = $(LDADD)
+-verify_krb5_conf_DEPENDENCIES =  libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
+-verify_krb5_conf_LDFLAGS = 
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
+-CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  $(libkrb5_la_SOURCES) derived-key-test.c dump_config.c \
+-krbhst-test.c n-fold-test.c store-test.c string-to-key-test.c \
+-test_get_addrs.c verify_krb5_conf.c
+-man3dir = $(mandir)/man3
+-man5dir = $(mandir)/man5
+-man8dir = $(mandir)/man8
+-MANS = $(man_MANS)
+-HEADERS =  $(include_HEADERS)
+-
+-depcomp = 
+-DIST_COMMON =  $(include_HEADERS) Makefile.am Makefile.in
++verify_krb5_conf_DEPENDENCIES = libkrb5.la
++verify_krb5_conf_LDFLAGS =
+ 
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
++CPPFLAGS = @CPPFLAGS@
++LDFLAGS = @LDFLAGS@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++CCLD = $(CC)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++DIST_SOURCES = $(libkrb5_la_SOURCES) derived-key-test.c dump_config.c \
++	krbhst-test.c n-fold-test.c store-test.c string-to-key-test.c \
++	test_get_addrs.c verify_krb5_conf.c
+ 
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++NROFF = nroff
++MANS = $(man_MANS)
++HEADERS = $(include_HEADERS)
+ 
+-GZIP_ENV = --best
++DIST_COMMON = $(include_HEADERS) Makefile.am Makefile.in
+ SOURCES = $(libkrb5_la_SOURCES) derived-key-test.c dump_config.c krbhst-test.c n-fold-test.c store-test.c string-to-key-test.c test_get_addrs.c verify_krb5_conf.c
+-OBJECTS = $(am_libkrb5_la_OBJECTS) derived-key-test.$(OBJEXT) dump_config.$(OBJEXT) krbhst-test.$(OBJEXT) n-fold-test.$(OBJEXT) store-test.$(OBJEXT) string-to-key-test.$(OBJEXT) test_get_addrs.$(OBJEXT) verify_krb5_conf.$(OBJEXT)
+ 
+-all: all-redirect
++all: all-am
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/krb5/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+-
+-
+-mostlyclean-libLTLIBRARIES:
+-
+-clean-libLTLIBRARIES:
+-	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
+ 
+-distclean-libLTLIBRARIES:
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-maintainer-clean-libLTLIBRARIES:
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  lib/krb5/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ install-libLTLIBRARIES: $(lib_LTLIBRARIES)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(libdir)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+ 	  if test -f $$p; then \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p; \
++	    echo " $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p"; \
++	    $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-libLTLIBRARIES:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+-	  echo " $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
+-	  $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
++	  echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
++	  $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
+ 	done
+ 
+-mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
+-
+-clean-compile:
+-
+-distclean-compile:
+-	-rm -f *.tab.c
+-
+-maintainer-clean-compile:
+-
+-mostlyclean-libtool:
+-	-rm -f *.lo
+-
+-clean-libtool:
+-	-rm -rf .libs _libs
+-
+-distclean-libtool:
+-
+-maintainer-clean-libtool:
+-
+-libkrb5.la: $(libkrb5_la_OBJECTS) $(libkrb5_la_DEPENDENCIES)
++clean-libLTLIBRARIES:
++	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
++libkrb5.la: $(libkrb5_la_OBJECTS) $(libkrb5_la_DEPENDENCIES) 
+ 	$(LINK) -rpath $(libdir) $(libkrb5_la_LDFLAGS) $(libkrb5_la_OBJECTS) $(libkrb5_la_LIBADD) $(LIBS)
+-
+-mostlyclean-binPROGRAMS:
+-
+-clean-binPROGRAMS:
+-	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
+-
+-distclean-binPROGRAMS:
+-
+-maintainer-clean-binPROGRAMS:
+-
+ install-binPROGRAMS: $(bin_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(bindir)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  if test -f $$p; then \
+-	    f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f; \
++	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  if test -f $$p \
++	     || test -f $$p1 \
++	  ; then \
++	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-binPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+-mostlyclean-checkPROGRAMS:
++clean-binPROGRAMS:
++	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
+ 
+ clean-checkPROGRAMS:
+ 	-test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
+ 
+-distclean-checkPROGRAMS:
+-
+-maintainer-clean-checkPROGRAMS:
+-
+-mostlyclean-noinstPROGRAMS:
+-
+ clean-noinstPROGRAMS:
+ 	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
+-
+-distclean-noinstPROGRAMS:
+-
+-maintainer-clean-noinstPROGRAMS:
+-
+-derived-key-test$(EXEEXT): $(derived_key_test_OBJECTS) $(derived_key_test_DEPENDENCIES)
++derived-key-test$(EXEEXT): $(derived_key_test_OBJECTS) $(derived_key_test_DEPENDENCIES) 
+ 	@rm -f derived-key-test$(EXEEXT)
+ 	$(LINK) $(derived_key_test_LDFLAGS) $(derived_key_test_OBJECTS) $(derived_key_test_LDADD) $(LIBS)
+-
+-dump_config$(EXEEXT): $(dump_config_OBJECTS) $(dump_config_DEPENDENCIES)
++dump_config$(EXEEXT): $(dump_config_OBJECTS) $(dump_config_DEPENDENCIES) 
+ 	@rm -f dump_config$(EXEEXT)
+ 	$(LINK) $(dump_config_LDFLAGS) $(dump_config_OBJECTS) $(dump_config_LDADD) $(LIBS)
+-
+-krbhst-test$(EXEEXT): $(krbhst_test_OBJECTS) $(krbhst_test_DEPENDENCIES)
++krbhst-test$(EXEEXT): $(krbhst_test_OBJECTS) $(krbhst_test_DEPENDENCIES) 
+ 	@rm -f krbhst-test$(EXEEXT)
+ 	$(LINK) $(krbhst_test_LDFLAGS) $(krbhst_test_OBJECTS) $(krbhst_test_LDADD) $(LIBS)
+-
+-n-fold-test$(EXEEXT): $(n_fold_test_OBJECTS) $(n_fold_test_DEPENDENCIES)
++n-fold-test$(EXEEXT): $(n_fold_test_OBJECTS) $(n_fold_test_DEPENDENCIES) 
+ 	@rm -f n-fold-test$(EXEEXT)
+ 	$(LINK) $(n_fold_test_LDFLAGS) $(n_fold_test_OBJECTS) $(n_fold_test_LDADD) $(LIBS)
+-
+-store-test$(EXEEXT): $(store_test_OBJECTS) $(store_test_DEPENDENCIES)
++store-test$(EXEEXT): $(store_test_OBJECTS) $(store_test_DEPENDENCIES) 
+ 	@rm -f store-test$(EXEEXT)
+ 	$(LINK) $(store_test_LDFLAGS) $(store_test_OBJECTS) $(store_test_LDADD) $(LIBS)
+-
+-string-to-key-test$(EXEEXT): $(string_to_key_test_OBJECTS) $(string_to_key_test_DEPENDENCIES)
++string-to-key-test$(EXEEXT): $(string_to_key_test_OBJECTS) $(string_to_key_test_DEPENDENCIES) 
+ 	@rm -f string-to-key-test$(EXEEXT)
+ 	$(LINK) $(string_to_key_test_LDFLAGS) $(string_to_key_test_OBJECTS) $(string_to_key_test_LDADD) $(LIBS)
+-
+-test_get_addrs$(EXEEXT): $(test_get_addrs_OBJECTS) $(test_get_addrs_DEPENDENCIES)
++test_get_addrs$(EXEEXT): $(test_get_addrs_OBJECTS) $(test_get_addrs_DEPENDENCIES) 
+ 	@rm -f test_get_addrs$(EXEEXT)
+ 	$(LINK) $(test_get_addrs_LDFLAGS) $(test_get_addrs_OBJECTS) $(test_get_addrs_LDADD) $(LIBS)
+-
+-verify_krb5_conf$(EXEEXT): $(verify_krb5_conf_OBJECTS) $(verify_krb5_conf_DEPENDENCIES)
++verify_krb5_conf$(EXEEXT): $(verify_krb5_conf_OBJECTS) $(verify_krb5_conf_DEPENDENCIES) 
+ 	@rm -f verify_krb5_conf$(EXEEXT)
+ 	$(LINK) $(verify_krb5_conf_LDFLAGS) $(verify_krb5_conf_OBJECTS) $(verify_krb5_conf_LDADD) $(LIBS)
++
++mostlyclean-compile:
++	-rm -f *.$(OBJEXT) core *.core
++
++distclean-compile:
++	-rm -f *.tab.c
++
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
++
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
++uninstall-info-am:
+ 
+-install-man3:
++man3dir = $(mandir)/man3
++install-man3: $(man3_MANS) $(man_MANS)
++	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(man3dir)
+-	@list='$(man3_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@list='$(man3_MANS) $(dist_man3_MANS) $(nodist_man3_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.3*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -636,10 +600,11 @@
+ 	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man3dir)/$$inst"; \
+ 	  $(INSTALL_DATA) $$file $(DESTDIR)$(man3dir)/$$inst; \
+ 	done
+-
+ uninstall-man3:
+-	@list='$(man3_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@$(NORMAL_UNINSTALL)
++	@list='$(man3_MANS) $(dist_man3_MANS) $(nodist_man3_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.3*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -653,10 +618,13 @@
+ 	  rm -f $(DESTDIR)$(man3dir)/$$inst; \
+ 	done
+ 
+-install-man5:
++man5dir = $(mandir)/man5
++install-man5: $(man5_MANS) $(man_MANS)
++	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(man5dir)
+-	@list='$(man5_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@list='$(man5_MANS) $(dist_man5_MANS) $(nodist_man5_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.5*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -671,10 +639,11 @@
+ 	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man5dir)/$$inst"; \
+ 	  $(INSTALL_DATA) $$file $(DESTDIR)$(man5dir)/$$inst; \
+ 	done
+-
+ uninstall-man5:
+-	@list='$(man5_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@$(NORMAL_UNINSTALL)
++	@list='$(man5_MANS) $(dist_man5_MANS) $(nodist_man5_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.5*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -688,10 +657,13 @@
+ 	  rm -f $(DESTDIR)$(man5dir)/$$inst; \
+ 	done
+ 
+-install-man8:
++man8dir = $(mandir)/man8
++install-man8: $(man8_MANS) $(man_MANS)
++	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(man8dir)
+-	@list='$(man8_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.8*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -706,10 +678,11 @@
+ 	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst"; \
+ 	  $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst; \
+ 	done
+-
+ uninstall-man8:
+-	@list='$(man8_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@$(NORMAL_UNINSTALL)
++	@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.8*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -722,21 +695,14 @@
+ 	  echo " rm -f $(DESTDIR)$(man8dir)/$$inst"; \
+ 	  rm -f $(DESTDIR)$(man8dir)/$$inst; \
+ 	done
+-install-man: $(MANS)
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-man3 install-man5 install-man8
+-uninstall-man:
+-	@$(NORMAL_UNINSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) uninstall-man3 uninstall-man5 uninstall-man8
+-
+ install-includeHEADERS: $(include_HEADERS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(includedir)
+ 	@list='$(include_HEADERS)'; for p in $$list; do \
+-	  if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
++	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
+-	  $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f; \
++	  echo " $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
++	  $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(includedir)/$$f; \
+ 	done
+ 
+ uninstall-includeHEADERS:
+@@ -774,16 +740,11 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
+ check-TESTS: $(TESTS)
+ 	@failed=0; all=0; xfail=0; xpass=0; \
+ 	srcdir=$(srcdir); export srcdir; \
+@@ -839,11 +800,18 @@
+ 	  test "$$failed" -eq 0; \
+ 	fi
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -853,108 +821,105 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
+ 	$(MAKE) $(AM_MAKEFLAGS) check-TESTS check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
++all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(MANS) $(HEADERS) all-local
+ install-binPROGRAMS: install-libLTLIBRARIES
+ 
+-install-exec-am: install-libLTLIBRARIES install-binPROGRAMS
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
+ 
+-install-data-am: install-man install-includeHEADERS install-data-local
+-install-data: install-data-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(bindir) $(DESTDIR)$(man3dir) $(DESTDIR)$(man5dir) $(DESTDIR)$(man8dir) $(DESTDIR)$(includedir)
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am: uninstall-libLTLIBRARIES uninstall-binPROGRAMS \
+-		uninstall-man uninstall-includeHEADERS
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(MANS) $(HEADERS) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(libdir) $(DESTDIR)$(bindir) \
+-		$(DESTDIR)$(mandir)/man3 $(DESTDIR)$(mandir)/man5 \
+-		$(DESTDIR)$(mandir)/man8 $(DESTDIR)$(includedir)
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-libLTLIBRARIES mostlyclean-compile \
+-		mostlyclean-libtool mostlyclean-binPROGRAMS \
+-		mostlyclean-checkPROGRAMS mostlyclean-noinstPROGRAMS \
+-		mostlyclean-tags mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-binPROGRAMS clean-checkPROGRAMS clean-generic \
++	clean-libLTLIBRARIES clean-libtool clean-noinstPROGRAMS \
++	mostlyclean-am
++
++distclean: distclean-am
+ 
+-clean-am:  clean-libLTLIBRARIES clean-compile clean-libtool \
+-		clean-binPROGRAMS clean-checkPROGRAMS \
+-		clean-noinstPROGRAMS clean-tags clean-generic \
+-		mostlyclean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-clean: clean-am
++dvi: dvi-am
+ 
+-distclean-am:  distclean-libLTLIBRARIES distclean-compile \
+-		distclean-libtool distclean-binPROGRAMS \
+-		distclean-checkPROGRAMS distclean-noinstPROGRAMS \
+-		distclean-tags distclean-generic clean-am
+-	-rm -f libtool
++dvi-am:
+ 
+-distclean: distclean-am
++info: info-am
+ 
+-maintainer-clean-am:  maintainer-clean-libLTLIBRARIES \
+-		maintainer-clean-compile maintainer-clean-libtool \
+-		maintainer-clean-binPROGRAMS \
+-		maintainer-clean-checkPROGRAMS \
+-		maintainer-clean-noinstPROGRAMS 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."
++info-am:
++
++install-data-am: install-data-local install-includeHEADERS install-man
++
++install-exec-am: install-binPROGRAMS install-libLTLIBRARIES
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man: install-man3 install-man5 install-man8
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-am
+ 
+-.PHONY: mostlyclean-libLTLIBRARIES distclean-libLTLIBRARIES \
+-clean-libLTLIBRARIES maintainer-clean-libLTLIBRARIES \
+-uninstall-libLTLIBRARIES install-libLTLIBRARIES mostlyclean-compile \
+-distclean-compile clean-compile maintainer-clean-compile \
+-mostlyclean-libtool distclean-libtool clean-libtool \
+-maintainer-clean-libtool mostlyclean-binPROGRAMS distclean-binPROGRAMS \
+-clean-binPROGRAMS maintainer-clean-binPROGRAMS uninstall-binPROGRAMS \
+-install-binPROGRAMS mostlyclean-checkPROGRAMS distclean-checkPROGRAMS \
+-clean-checkPROGRAMS maintainer-clean-checkPROGRAMS \
+-mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \
+-clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS install-man3 \
+-uninstall-man3 install-man5 uninstall-man5 install-man8 uninstall-man8 \
+-install-man uninstall-man uninstall-includeHEADERS \
+-install-includeHEADERS tags mostlyclean-tags distclean-tags clean-tags \
+-maintainer-clean-tags check-TESTS distdir info-am info dvi-am dvi \
+-check-local check check-am installcheck-am installcheck install-exec-am \
+-install-exec install-data-local install-data-am install-data install-am \
+-install uninstall-am uninstall all-local all-redirect all-am all \
+-install-strip installdirs mostlyclean-generic distclean-generic \
+-clean-generic maintainer-clean-generic clean mostlyclean distclean \
+-maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-binPROGRAMS uninstall-includeHEADERS \
++	uninstall-info-am uninstall-libLTLIBRARIES uninstall-man
++
++uninstall-man: uninstall-man3 uninstall-man5 uninstall-man8
++
++.PHONY: GTAGS all all-am all-local check check-TESTS check-am \
++	check-local clean clean-binPROGRAMS clean-checkPROGRAMS \
++	clean-generic clean-libLTLIBRARIES clean-libtool \
++	clean-noinstPROGRAMS distclean distclean-compile \
++	distclean-generic distclean-libtool distclean-tags distdir dvi \
++	dvi-am info info-am install install-am install-binPROGRAMS \
++	install-data install-data-am install-data-local install-exec \
++	install-exec-am install-includeHEADERS install-info \
++	install-info-am install-libLTLIBRARIES install-man install-man3 \
++	install-man5 install-man8 install-strip installcheck \
++	installcheck-am installdirs maintainer-clean \
++	maintainer-clean-generic mostlyclean mostlyclean-compile \
++	mostlyclean-generic mostlyclean-libtool tags uninstall \
++	uninstall-am uninstall-binPROGRAMS uninstall-includeHEADERS \
++	uninstall-info-am uninstall-libLTLIBRARIES uninstall-man \
++	uninstall-man3 uninstall-man5 uninstall-man8
+ 
+ 
+ install-suid-programs:
+@@ -1102,7 +1067,6 @@
+ heim_err.h: heim_err.et
+ 
+ k524_err.h: k524_err.et
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/lib/otp/Makefile.in heimdal-0.4e/lib/otp/Makefile.in
+--- heimdal-0.4e-old/lib/otp/Makefile.in	Thu Sep  6 22:23:32 2001
++++ heimdal-0.4e/lib/otp/Makefile.in	Sat Jun 15 19:35:30 2002
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.20 2001/09/02 19:37:12 assar Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,13 +90,13 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+ LIB_ = @LIB_@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+-LIB_com_err = @LIB_com_err@
+ LIB_com_err_a = @LIB_com_err_a@
+ LIB_com_err_so = @LIB_com_err_so@
+ LIB_des = @LIB_des@
+@@ -100,12 +104,10 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+-LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,19 +121,19 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+-
+-# $Id: Makefile.am,v 1.20 2001/09/02 19:37:12 assar Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
++LIB_com_err = @LIB_com_err@
++LIB_otp = @LIB_otp@
++LIB_roken = @LIB_roken@
+ 
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+@@ -185,17 +187,24 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+@@ -225,145 +234,116 @@
+ 
+ subdir = lib/otp
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../include/config.h
+-CONFIG_CLEAN_FILES = 
+-LTLIBRARIES =  $(lib_LTLIBRARIES)
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++LTLIBRARIES = $(lib_LTLIBRARIES)
++
++libotp_la_DEPENDENCIES =
++am_libotp_la_OBJECTS = otp.lo otp_challenge.lo otp_db.lo otp_md.lo \
++	otp_parse.lo otp_print.lo otp_verify.lo
++libotp_la_OBJECTS = $(am_libotp_la_OBJECTS)
++check_PROGRAMS = otptest$(EXEEXT)
++noinst_PROGRAMS = otptest$(EXEEXT)
++PROGRAMS = $(noinst_PROGRAMS)
+ 
++otptest_SOURCES = otptest.c
++otptest_OBJECTS = otptest.$(OBJEXT)
++otptest_DEPENDENCIES = libotp.la
++otptest_LDFLAGS =
+ 
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../../include
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+-libotp_la_DEPENDENCIES = 
+-am_libotp_la_OBJECTS =  otp.lo otp_challenge.lo otp_db.lo otp_md.lo \
+-otp_parse.lo otp_print.lo otp_verify.lo
+-libotp_la_OBJECTS =  $(am_libotp_la_OBJECTS)
+-check_PROGRAMS =  otptest$(EXEEXT)
+-noinst_PROGRAMS =  otptest$(EXEEXT)
+-PROGRAMS =  $(noinst_PROGRAMS)
+-
+-otptest_SOURCES = otptest.c
+-otptest_OBJECTS =  otptest.$(OBJEXT)
+-otptest_DEPENDENCIES =  libotp.la
+-otptest_LDFLAGS = 
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  $(libotp_la_SOURCES) otptest.c
+-HEADERS =  $(include_HEADERS)
+-
+-depcomp = 
+-DIST_COMMON =  $(include_HEADERS) ChangeLog Makefile.am Makefile.in
+-
+-
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++DIST_SOURCES = $(libotp_la_SOURCES) otptest.c
++HEADERS = $(include_HEADERS)
+ 
+-GZIP_ENV = --best
++DIST_COMMON = $(include_HEADERS) ChangeLog Makefile.am Makefile.in
+ SOURCES = $(libotp_la_SOURCES) otptest.c
+-OBJECTS = $(am_libotp_la_OBJECTS) otptest.$(OBJEXT)
+ 
+-all: all-redirect
++all: all-am
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/otp/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+-
+ 
+-mostlyclean-libLTLIBRARIES:
+-
+-clean-libLTLIBRARIES:
+-	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
+-
+-distclean-libLTLIBRARIES:
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-maintainer-clean-libLTLIBRARIES:
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  lib/otp/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ install-libLTLIBRARIES: $(lib_LTLIBRARIES)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(libdir)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+ 	  if test -f $$p; then \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p; \
++	    echo " $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p"; \
++	    $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-libLTLIBRARIES:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+-	  echo " $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
+-	  $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
++	  echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
++	  $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
+ 	done
+ 
+-mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
+-
+-clean-compile:
+-
+-distclean-compile:
+-	-rm -f *.tab.c
+-
+-maintainer-clean-compile:
+-
+-mostlyclean-libtool:
+-	-rm -f *.lo
+-
+-clean-libtool:
+-	-rm -rf .libs _libs
+-
+-distclean-libtool:
+-
+-maintainer-clean-libtool:
+-
+-libotp.la: $(libotp_la_OBJECTS) $(libotp_la_DEPENDENCIES)
++clean-libLTLIBRARIES:
++	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
++libotp.la: $(libotp_la_OBJECTS) $(libotp_la_DEPENDENCIES) 
+ 	$(LINK) -rpath $(libdir) $(libotp_la_LDFLAGS) $(libotp_la_OBJECTS) $(libotp_la_LIBADD) $(LIBS)
+ 
+-mostlyclean-checkPROGRAMS:
+-
+ clean-checkPROGRAMS:
+ 	-test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
+ 
+-distclean-checkPROGRAMS:
+-
+-maintainer-clean-checkPROGRAMS:
+-
+-mostlyclean-noinstPROGRAMS:
+-
+ clean-noinstPROGRAMS:
+ 	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
++otptest$(EXEEXT): $(otptest_OBJECTS) $(otptest_DEPENDENCIES) 
++	@rm -f otptest$(EXEEXT)
++	$(LINK) $(otptest_LDFLAGS) $(otptest_OBJECTS) $(otptest_LDADD) $(LIBS)
+ 
+-distclean-noinstPROGRAMS:
++mostlyclean-compile:
++	-rm -f *.$(OBJEXT) core *.core
+ 
+-maintainer-clean-noinstPROGRAMS:
++distclean-compile:
++	-rm -f *.tab.c
+ 
+-otptest$(EXEEXT): $(otptest_OBJECTS) $(otptest_DEPENDENCIES)
+-	@rm -f otptest$(EXEEXT)
+-	$(LINK) $(otptest_LDFLAGS) $(otptest_OBJECTS) $(otptest_LDADD) $(LIBS)
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
+-.c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
+ 
++.c.lo:
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
++uninstall-info-am:
+ install-includeHEADERS: $(include_HEADERS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(includedir)
+ 	@list='$(include_HEADERS)'; for p in $$list; do \
+-	  if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
++	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
+-	  $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f; \
++	  echo " $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
++	  $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(includedir)/$$f; \
+ 	done
+ 
+ uninstall-includeHEADERS:
+@@ -401,22 +381,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -426,96 +407,96 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-install-exec-am: install-libLTLIBRARIES
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(HEADERS) all-local
+ 
+-install-data-am: install-includeHEADERS install-data-local
+-install-data: install-data-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(includedir)
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am: uninstall-libLTLIBRARIES uninstall-includeHEADERS
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(HEADERS) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(libdir) $(DESTDIR)$(includedir)
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-libLTLIBRARIES mostlyclean-compile \
+-		mostlyclean-libtool mostlyclean-checkPROGRAMS \
+-		mostlyclean-noinstPROGRAMS mostlyclean-tags \
+-		mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-checkPROGRAMS clean-generic clean-libLTLIBRARIES \
++	clean-libtool clean-noinstPROGRAMS mostlyclean-am
+ 
+-clean-am:  clean-libLTLIBRARIES clean-compile clean-libtool \
+-		clean-checkPROGRAMS clean-noinstPROGRAMS clean-tags \
+-		clean-generic mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-libLTLIBRARIES distclean-compile \
+-		distclean-libtool distclean-checkPROGRAMS \
+-		distclean-noinstPROGRAMS distclean-tags \
+-		distclean-generic clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-libLTLIBRARIES \
+-		maintainer-clean-compile maintainer-clean-libtool \
+-		maintainer-clean-checkPROGRAMS \
+-		maintainer-clean-noinstPROGRAMS 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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local install-includeHEADERS
++
++install-exec-am: install-libLTLIBRARIES
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man:
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-am
+ 
+-.PHONY: mostlyclean-libLTLIBRARIES distclean-libLTLIBRARIES \
+-clean-libLTLIBRARIES maintainer-clean-libLTLIBRARIES \
+-uninstall-libLTLIBRARIES install-libLTLIBRARIES mostlyclean-compile \
+-distclean-compile clean-compile maintainer-clean-compile \
+-mostlyclean-libtool distclean-libtool clean-libtool \
+-maintainer-clean-libtool mostlyclean-checkPROGRAMS \
+-distclean-checkPROGRAMS clean-checkPROGRAMS \
+-maintainer-clean-checkPROGRAMS mostlyclean-noinstPROGRAMS \
+-distclean-noinstPROGRAMS clean-noinstPROGRAMS \
+-maintainer-clean-noinstPROGRAMS uninstall-includeHEADERS \
+-install-includeHEADERS tags mostlyclean-tags distclean-tags clean-tags \
+-maintainer-clean-tags distdir info-am info dvi-am dvi check-local check \
+-check-am installcheck-am installcheck install-exec-am install-exec \
+-install-data-local install-data-am install-data install-am install \
+-uninstall-am uninstall all-local all-redirect all-am all install-strip \
+-installdirs mostlyclean-generic distclean-generic clean-generic \
+-maintainer-clean-generic clean mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-includeHEADERS uninstall-info-am \
++	uninstall-libLTLIBRARIES
++
++.PHONY: GTAGS all all-am all-local check check-am check-local clean \
++	clean-checkPROGRAMS clean-generic clean-libLTLIBRARIES \
++	clean-libtool clean-noinstPROGRAMS distclean distclean-compile \
++	distclean-generic distclean-libtool distclean-tags distdir dvi \
++	dvi-am info info-am install install-am install-data \
++	install-data-am install-data-local install-exec install-exec-am \
++	install-includeHEADERS install-info install-info-am \
++	install-libLTLIBRARIES install-man install-strip installcheck \
++	installcheck-am installdirs maintainer-clean \
++	maintainer-clean-generic mostlyclean mostlyclean-compile \
++	mostlyclean-generic mostlyclean-libtool tags uninstall \
++	uninstall-am uninstall-includeHEADERS uninstall-info-am \
++	uninstall-libLTLIBRARIES
+ 
+ 
+ install-suid-programs:
+@@ -645,7 +626,6 @@
+ 	  echo "$$dashes"; \
+ 	  test "$$failed" -eq 0; \
+ 	fi
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/lib/roken/Makefile.in heimdal-0.4e/lib/roken/Makefile.in
+--- heimdal-0.4e-old/lib/roken/Makefile.in	Thu Sep  6 22:40:17 2001
++++ heimdal-0.4e/lib/roken/Makefile.in	Sat Jun 15 19:35:31 2002
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.115 2001/09/03 05:05:14 assar Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,13 +90,13 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+ LIB_ = @LIB_@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+-LIB_com_err = @LIB_com_err@
+ LIB_com_err_a = @LIB_com_err_a@
+ LIB_com_err_so = @LIB_com_err_so@
+ LIB_des = @LIB_des@
+@@ -100,12 +104,10 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+-LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,19 +121,19 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+-
+-# $Id: Makefile.am,v 1.115 2001/09/03 05:05:14 assar Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
++LIB_com_err = @LIB_com_err@
++LIB_otp = @LIB_otp@
++LIB_roken = @LIB_roken@
+ 
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+@@ -186,17 +188,24 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+@@ -357,16 +366,21 @@
+ libroken_la_LIBADD = @LTLIBOBJS@ $(DBLIB)
+ 
+ BUILT_SOURCES = make-roken.c roken.h
++
+ @have_err_h_TRUE@err_h = 
+-@have_err_h_FALSE@err_h = @have_err_h_FALSE@err.h
++@have_err_h_FALSE@err_h = err.h
++
+ @have_fnmatch_h_TRUE@fnmatch_h = 
+-@have_fnmatch_h_FALSE@fnmatch_h = @have_fnmatch_h_FALSE@fnmatch.h
++@have_fnmatch_h_FALSE@fnmatch_h = fnmatch.h
++
+ @have_glob_h_TRUE@glob_h = 
+-@have_glob_h_FALSE@glob_h = @have_glob_h_FALSE@glob.h
++@have_glob_h_FALSE@glob_h = glob.h
++
+ @have_ifaddrs_h_TRUE@ifaddrs_h = 
+-@have_ifaddrs_h_FALSE@ifaddrs_h = @have_ifaddrs_h_FALSE@ifaddrs.h
++@have_ifaddrs_h_FALSE@ifaddrs_h = ifaddrs.h
++
+ @have_vis_h_TRUE@vis_h = 
+-@have_vis_h_FALSE@vis_h = @have_vis_h_FALSE@vis.h
++@have_vis_h_FALSE@vis_h = vis.h
+ 
+ XHEADERS = $(err_h) $(fnmatch_h) $(glob_h) $(ifaddrs_h) $(vis_h)
+ 
+@@ -388,207 +402,196 @@
+ man_MANS = getarg.3
+ subdir = lib/roken
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../include/config.h
+-CONFIG_CLEAN_FILES = 
+-LTLIBRARIES =  $(lib_LTLIBRARIES)
+-
+-
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../../include
+-CPPFLAGS = @CPPFLAGS@
+-LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+-libroken_la_DEPENDENCIES =  @LTLIBOBJS@
+-am_libroken_la_OBJECTS =  base64.lo bswap.lo concat.lo environment.lo \
+-eread.lo esetenv.lo ewrite.lo getaddrinfo_hostspec.lo \
+-get_default_username.lo get_window_size.lo getarg.lo \
+-getnameinfo_verified.lo getprogname.lo h_errno.lo hostent_find_fqdn.lo \
+-issuid.lo k_getpwnam.lo k_getpwuid.lo mini_inetd.lo net_read.lo \
+-net_write.lo parse_bytes.lo parse_time.lo parse_units.lo resolve.lo \
+-roken_gethostby.lo rtbl.lo setprogname.lo signal.lo simple_exec.lo \
+-snprintf.lo socket.lo strcollect.lo timeval.lo tm2time.lo unvis.lo \
+-verify.lo vis.lo warnerr.lo write_pid.lo
+-libroken_la_OBJECTS =  $(am_libroken_la_OBJECTS)
+-check_PROGRAMS =  base64-test$(EXEEXT) getaddrinfo-test$(EXEEXT) \
+-parse_bytes-test$(EXEEXT) snprintf-test$(EXEEXT) \
+-strpftime-test$(EXEEXT)
+-noinst_PROGRAMS =  make-roken$(EXEEXT) snprintf-test$(EXEEXT)
+-PROGRAMS =  $(noinst_PROGRAMS)
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++LTLIBRARIES = $(lib_LTLIBRARIES)
++
++libroken_la_DEPENDENCIES = @LTLIBOBJS@
++am_libroken_la_OBJECTS = base64.lo bswap.lo concat.lo environment.lo \
++	eread.lo esetenv.lo ewrite.lo getaddrinfo_hostspec.lo \
++	get_default_username.lo get_window_size.lo getarg.lo \
++	getnameinfo_verified.lo getprogname.lo h_errno.lo \
++	hostent_find_fqdn.lo issuid.lo k_getpwnam.lo k_getpwuid.lo \
++	mini_inetd.lo net_read.lo net_write.lo parse_bytes.lo \
++	parse_time.lo parse_units.lo resolve.lo roken_gethostby.lo \
++	rtbl.lo setprogname.lo signal.lo simple_exec.lo snprintf.lo \
++	socket.lo strcollect.lo timeval.lo tm2time.lo unvis.lo \
++	verify.lo vis.lo warnerr.lo write_pid.lo
++libroken_la_OBJECTS = $(am_libroken_la_OBJECTS)
++check_PROGRAMS = base64-test$(EXEEXT) getaddrinfo-test$(EXEEXT) \
++	parse_bytes-test$(EXEEXT) snprintf-test$(EXEEXT) \
++	strpftime-test$(EXEEXT)
++noinst_PROGRAMS = make-roken$(EXEEXT) snprintf-test$(EXEEXT)
++PROGRAMS = $(noinst_PROGRAMS)
+ 
+ base64_test_SOURCES = base64-test.c
+-base64_test_OBJECTS =  base64-test.$(OBJEXT)
++base64_test_OBJECTS = base64-test.$(OBJEXT)
+ base64_test_LDADD = $(LDADD)
+-base64_test_DEPENDENCIES =  libroken.la
+-base64_test_LDFLAGS = 
++base64_test_DEPENDENCIES = libroken.la
++base64_test_LDFLAGS =
+ getaddrinfo_test_SOURCES = getaddrinfo-test.c
+-getaddrinfo_test_OBJECTS =  getaddrinfo-test.$(OBJEXT)
++getaddrinfo_test_OBJECTS = getaddrinfo-test.$(OBJEXT)
+ getaddrinfo_test_LDADD = $(LDADD)
+-getaddrinfo_test_DEPENDENCIES =  libroken.la
+-getaddrinfo_test_LDFLAGS = 
+-nodist_make_roken_OBJECTS =  make-roken.$(OBJEXT)
+-make_roken_OBJECTS =  $(nodist_make_roken_OBJECTS)
+-make_roken_DEPENDENCIES = 
+-make_roken_LDFLAGS = 
++getaddrinfo_test_DEPENDENCIES = libroken.la
++getaddrinfo_test_LDFLAGS =
++nodist_make_roken_OBJECTS = make-roken.$(OBJEXT)
++make_roken_OBJECTS = $(nodist_make_roken_OBJECTS)
++make_roken_DEPENDENCIES =
++make_roken_LDFLAGS =
+ parse_bytes_test_SOURCES = parse_bytes-test.c
+-parse_bytes_test_OBJECTS =  parse_bytes-test.$(OBJEXT)
++parse_bytes_test_OBJECTS = parse_bytes-test.$(OBJEXT)
+ parse_bytes_test_LDADD = $(LDADD)
+-parse_bytes_test_DEPENDENCIES =  libroken.la
+-parse_bytes_test_LDFLAGS = 
+-am_snprintf_test_OBJECTS =  snprintf_test-snprintf-test.$(OBJEXT) \
+-snprintf_test-snprintf.$(OBJEXT)
+-snprintf_test_OBJECTS =  $(am_snprintf_test_OBJECTS)
++parse_bytes_test_DEPENDENCIES = libroken.la
++parse_bytes_test_LDFLAGS =
++am_snprintf_test_OBJECTS = snprintf_test-snprintf-test.$(OBJEXT) \
++	snprintf_test-snprintf.$(OBJEXT)
++snprintf_test_OBJECTS = $(am_snprintf_test_OBJECTS)
+ snprintf_test_LDADD = $(LDADD)
+-snprintf_test_DEPENDENCIES =  libroken.la
+-snprintf_test_LDFLAGS = 
+-am_strpftime_test_OBJECTS =  strpftime-test.$(OBJEXT) strftime.$(OBJEXT) \
+-strptime.$(OBJEXT) snprintf.$(OBJEXT)
+-strpftime_test_OBJECTS =  $(am_strpftime_test_OBJECTS)
++snprintf_test_DEPENDENCIES = libroken.la
++snprintf_test_LDFLAGS =
++am_strpftime_test_OBJECTS = strpftime-test.$(OBJEXT) strftime.$(OBJEXT) \
++	strptime.$(OBJEXT) snprintf.$(OBJEXT)
++strpftime_test_OBJECTS = $(am_strpftime_test_OBJECTS)
+ strpftime_test_LDADD = $(LDADD)
+-strpftime_test_DEPENDENCIES =  libroken.la
+-strpftime_test_LDFLAGS = 
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
+-CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  $(libroken_la_SOURCES) $(EXTRA_libroken_la_SOURCES) \
+-base64-test.c getaddrinfo-test.c parse_bytes-test.c \
+-$(snprintf_test_SOURCES) $(strpftime_test_SOURCES)
+-man3dir = $(mandir)/man3
+-MANS = $(man_MANS)
+-HEADERS =  $(include_HEADERS) $(nodist_include_HEADERS)
+-
+-depcomp = 
+-DIST_COMMON =  $(include_HEADERS) ChangeLog Makefile.am Makefile.in \
+-acinclude.m4 compile getaddrinfo.c getcap.c getnameinfo.c glob.c \
+-install-sh missing mkinstalldirs
++strpftime_test_DEPENDENCIES = libroken.la
++strpftime_test_LDFLAGS =
+ 
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
++CPPFLAGS = @CPPFLAGS@
++LDFLAGS = @LDFLAGS@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++CCLD = $(CC)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++DIST_SOURCES = $(libroken_la_SOURCES) $(EXTRA_libroken_la_SOURCES) \
++	base64-test.c getaddrinfo-test.c parse_bytes-test.c \
++	$(snprintf_test_SOURCES) $(strpftime_test_SOURCES)
+ 
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++NROFF = nroff
++MANS = $(man_MANS)
++HEADERS = $(include_HEADERS) $(nodist_include_HEADERS)
+ 
+-GZIP_ENV = --best
++DIST_COMMON = $(include_HEADERS) ChangeLog Makefile.am Makefile.in \
++	acinclude.m4 compile getaddrinfo.c getcap.c getnameinfo.c \
++	glob.c install-sh missing mkinstalldirs
+ SOURCES = $(libroken_la_SOURCES) $(EXTRA_libroken_la_SOURCES) base64-test.c getaddrinfo-test.c $(nodist_make_roken_SOURCES) parse_bytes-test.c $(snprintf_test_SOURCES) $(strpftime_test_SOURCES)
+-OBJECTS = $(am_libroken_la_OBJECTS) base64-test.$(OBJEXT) getaddrinfo-test.$(OBJEXT) $(nodist_make_roken_OBJECTS) parse_bytes-test.$(OBJEXT) $(am_snprintf_test_OBJECTS) $(am_strpftime_test_OBJECTS)
+-
+-all: all-redirect
+-.SUFFIXES:
+-.SUFFIXES: .hin .c .h .lo .o .obj
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/roken/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+-
+ 
+-mostlyclean-libLTLIBRARIES:
++all: $(BUILT_SOURCES)
++	$(MAKE) $(AM_MAKEFLAGS) all-am
+ 
+-clean-libLTLIBRARIES:
+-	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
++.SUFFIXES:
++.SUFFIXES: .hin .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .x
+ 
+-distclean-libLTLIBRARIES:
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-maintainer-clean-libLTLIBRARIES:
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  lib/roken/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ install-libLTLIBRARIES: $(lib_LTLIBRARIES)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(libdir)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+ 	  if test -f $$p; then \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p; \
++	    echo " $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p"; \
++	    $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-libLTLIBRARIES:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+-	  echo " $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
+-	  $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
++	  echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
++	  $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
+ 	done
+ 
+-mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
+-
+-clean-compile:
+-
+-distclean-compile:
+-	-rm -f *.tab.c
+-
+-maintainer-clean-compile:
+-
+-mostlyclean-libtool:
+-	-rm -f *.lo
+-
+-clean-libtool:
+-	-rm -rf .libs _libs
+-
+-distclean-libtool:
+-
+-maintainer-clean-libtool:
+-
+-libroken.la: $(libroken_la_OBJECTS) $(libroken_la_DEPENDENCIES)
++clean-libLTLIBRARIES:
++	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
++libroken.la: $(libroken_la_OBJECTS) $(libroken_la_DEPENDENCIES) 
+ 	$(LINK) -rpath $(libdir) $(libroken_la_LDFLAGS) $(libroken_la_OBJECTS) $(libroken_la_LIBADD) $(LIBS)
+ 
+-mostlyclean-checkPROGRAMS:
+-
+ clean-checkPROGRAMS:
+ 	-test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
+ 
+-distclean-checkPROGRAMS:
+-
+-maintainer-clean-checkPROGRAMS:
+-
+-mostlyclean-noinstPROGRAMS:
+-
+ clean-noinstPROGRAMS:
+ 	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
+-
+-distclean-noinstPROGRAMS:
+-
+-maintainer-clean-noinstPROGRAMS:
+-
+-base64-test$(EXEEXT): $(base64_test_OBJECTS) $(base64_test_DEPENDENCIES)
++base64-test$(EXEEXT): $(base64_test_OBJECTS) $(base64_test_DEPENDENCIES) 
+ 	@rm -f base64-test$(EXEEXT)
+ 	$(LINK) $(base64_test_LDFLAGS) $(base64_test_OBJECTS) $(base64_test_LDADD) $(LIBS)
+-
+-getaddrinfo-test$(EXEEXT): $(getaddrinfo_test_OBJECTS) $(getaddrinfo_test_DEPENDENCIES)
++getaddrinfo-test$(EXEEXT): $(getaddrinfo_test_OBJECTS) $(getaddrinfo_test_DEPENDENCIES) 
+ 	@rm -f getaddrinfo-test$(EXEEXT)
+ 	$(LINK) $(getaddrinfo_test_LDFLAGS) $(getaddrinfo_test_OBJECTS) $(getaddrinfo_test_LDADD) $(LIBS)
+-
+-make-roken$(EXEEXT): $(make_roken_OBJECTS) $(make_roken_DEPENDENCIES)
++make-roken$(EXEEXT): $(make_roken_OBJECTS) $(make_roken_DEPENDENCIES) 
+ 	@rm -f make-roken$(EXEEXT)
+ 	$(LINK) $(make_roken_LDFLAGS) $(make_roken_OBJECTS) $(make_roken_LDADD) $(LIBS)
+-
+-parse_bytes-test$(EXEEXT): $(parse_bytes_test_OBJECTS) $(parse_bytes_test_DEPENDENCIES)
++parse_bytes-test$(EXEEXT): $(parse_bytes_test_OBJECTS) $(parse_bytes_test_DEPENDENCIES) 
+ 	@rm -f parse_bytes-test$(EXEEXT)
+ 	$(LINK) $(parse_bytes_test_LDFLAGS) $(parse_bytes_test_OBJECTS) $(parse_bytes_test_LDADD) $(LIBS)
+ snprintf_test-snprintf-test.$(OBJEXT): snprintf-test.c
+-	$(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(snprintf_test_CFLAGS) $(CFLAGS) -c -o snprintf_test-snprintf-test.$(OBJEXT) `test -f ./snprintf-test.c || echo '$(srcdir)/'`snprintf-test.c
+ snprintf_test-snprintf.$(OBJEXT): snprintf.c
+-	$(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(snprintf_test_CFLAGS) $(CFLAGS) -c -o snprintf_test-snprintf.$(OBJEXT) `test -f ./snprintf.c || echo '$(srcdir)/'`snprintf.c
+-
+-snprintf-test$(EXEEXT): $(snprintf_test_OBJECTS) $(snprintf_test_DEPENDENCIES)
++snprintf-test$(EXEEXT): $(snprintf_test_OBJECTS) $(snprintf_test_DEPENDENCIES) 
+ 	@rm -f snprintf-test$(EXEEXT)
+ 	$(LINK) $(snprintf_test_LDFLAGS) $(snprintf_test_OBJECTS) $(snprintf_test_LDADD) $(LIBS)
+-
+-strpftime-test$(EXEEXT): $(strpftime_test_OBJECTS) $(strpftime_test_DEPENDENCIES)
++strpftime-test$(EXEEXT): $(strpftime_test_OBJECTS) $(strpftime_test_DEPENDENCIES) 
+ 	@rm -f strpftime-test$(EXEEXT)
+ 	$(LINK) $(strpftime_test_LDFLAGS) $(strpftime_test_OBJECTS) $(strpftime_test_LDADD) $(LIBS)
++
++mostlyclean-compile:
++	-rm -f *.$(OBJEXT) core *.core
++
++distclean-compile:
++	-rm -f *.tab.c
++
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
++
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
++
++snprintf_test-snprintf-test.o: snprintf-test.c
++	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(snprintf_test_CFLAGS) $(CFLAGS) -c -o snprintf_test-snprintf-test.o `test -f snprintf-test.c || echo '$(srcdir)/'`snprintf-test.c
++
++snprintf_test-snprintf-test.obj: snprintf-test.c
++	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(snprintf_test_CFLAGS) $(CFLAGS) -c -o snprintf_test-snprintf-test.obj `cygpath -w snprintf-test.c`
++
++snprintf_test-snprintf-test.lo: snprintf-test.c
++	$(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(snprintf_test_CFLAGS) $(CFLAGS) -c -o snprintf_test-snprintf-test.lo `test -f snprintf-test.c || echo '$(srcdir)/'`snprintf-test.c
+ 
+-install-man3:
++snprintf_test-snprintf.o: snprintf.c
++	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(snprintf_test_CFLAGS) $(CFLAGS) -c -o snprintf_test-snprintf.o `test -f snprintf.c || echo '$(srcdir)/'`snprintf.c
++
++snprintf_test-snprintf.obj: snprintf.c
++	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(snprintf_test_CFLAGS) $(CFLAGS) -c -o snprintf_test-snprintf.obj `cygpath -w snprintf.c`
++
++snprintf_test-snprintf.lo: snprintf.c
++	$(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(snprintf_test_CFLAGS) $(CFLAGS) -c -o snprintf_test-snprintf.lo `test -f snprintf.c || echo '$(srcdir)/'`snprintf.c
++uninstall-info-am:
++
++man3dir = $(mandir)/man3
++install-man3: $(man3_MANS) $(man_MANS)
++	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(man3dir)
+-	@list='$(man3_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@list='$(man3_MANS) $(dist_man3_MANS) $(nodist_man3_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.3*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -603,10 +606,11 @@
+ 	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man3dir)/$$inst"; \
+ 	  $(INSTALL_DATA) $$file $(DESTDIR)$(man3dir)/$$inst; \
+ 	done
+-
+ uninstall-man3:
+-	@list='$(man3_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@$(NORMAL_UNINSTALL)
++	@list='$(man3_MANS) $(dist_man3_MANS) $(nodist_man3_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.3*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -619,21 +623,14 @@
+ 	  echo " rm -f $(DESTDIR)$(man3dir)/$$inst"; \
+ 	  rm -f $(DESTDIR)$(man3dir)/$$inst; \
+ 	done
+-install-man: $(MANS)
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-man3
+-uninstall-man:
+-	@$(NORMAL_UNINSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) uninstall-man3
+-
+ install-includeHEADERS: $(include_HEADERS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(includedir)
+ 	@list='$(include_HEADERS)'; for p in $$list; do \
+-	  if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
++	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
+-	  $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f; \
++	  echo " $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
++	  $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(includedir)/$$f; \
+ 	done
+ 
+ uninstall-includeHEADERS:
+@@ -643,15 +640,14 @@
+ 	  echo " rm -f $(DESTDIR)$(includedir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(includedir)/$$f; \
+ 	done
+-
+ install-nodist_includeHEADERS: $(nodist_include_HEADERS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(includedir)
+ 	@list='$(nodist_include_HEADERS)'; for p in $$list; do \
+-	  if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
++	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
+-	  $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f; \
++	  echo " $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
++	  $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(includedir)/$$f; \
+ 	done
+ 
+ uninstall-nodist_includeHEADERS:
+@@ -689,16 +685,11 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
+ check-TESTS: $(TESTS)
+ 	@failed=0; all=0; xfail=0; xpass=0; \
+ 	srcdir=$(srcdir); export srcdir; \
+@@ -754,11 +745,18 @@
+ 	  test "$$failed" -eq 0; \
+ 	fi
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -768,108 +766,104 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
+ 	$(MAKE) $(AM_MAKEFLAGS) check-TESTS check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-all-recursive-am: $(BUILT_SOURCES)
+-	$(MAKE) $(AM_MAKEFLAGS) all-recursive
++all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(MANS) $(HEADERS) all-local
+ 
+-install-exec-am: install-libLTLIBRARIES
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(man3dir) $(DESTDIR)$(includedir) $(DESTDIR)$(includedir)
+ 
+-install-data-am: install-man install-includeHEADERS \
+-		install-nodist_includeHEADERS install-data-local
++install: install-am
++install-exec: install-exec-am
+ install-data: install-data-am
++uninstall: uninstall-am
+ 
+ install-am: all-am
+ 	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+-install: install-am
+-uninstall-am: uninstall-libLTLIBRARIES uninstall-man \
+-		uninstall-includeHEADERS \
+-		uninstall-nodist_includeHEADERS
+-uninstall: uninstall-am
+-all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(MANS) $(HEADERS) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(libdir) $(DESTDIR)$(mandir)/man3 \
+-		$(DESTDIR)$(includedir) $(DESTDIR)$(nodist_includedir)
+-
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
+ 	-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
+-mostlyclean-am:  mostlyclean-libLTLIBRARIES mostlyclean-compile \
+-		mostlyclean-libtool mostlyclean-checkPROGRAMS \
+-		mostlyclean-noinstPROGRAMS mostlyclean-tags \
+-		mostlyclean-generic
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-checkPROGRAMS clean-generic clean-libLTLIBRARIES \
++	clean-libtool clean-noinstPROGRAMS mostlyclean-am
+ 
+-clean-am:  clean-libLTLIBRARIES clean-compile clean-libtool \
+-		clean-checkPROGRAMS clean-noinstPROGRAMS clean-tags \
+-		clean-generic mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-libLTLIBRARIES distclean-compile \
+-		distclean-libtool distclean-checkPROGRAMS \
+-		distclean-noinstPROGRAMS distclean-tags \
+-		distclean-generic clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-libLTLIBRARIES \
+-		maintainer-clean-compile maintainer-clean-libtool \
+-		maintainer-clean-checkPROGRAMS \
+-		maintainer-clean-noinstPROGRAMS 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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local install-includeHEADERS install-man \
++	install-nodist_includeHEADERS
++
++install-exec-am: install-libLTLIBRARIES
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man: install-man3
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-am
+ 
+-.PHONY: mostlyclean-libLTLIBRARIES distclean-libLTLIBRARIES \
+-clean-libLTLIBRARIES maintainer-clean-libLTLIBRARIES \
+-uninstall-libLTLIBRARIES install-libLTLIBRARIES mostlyclean-compile \
+-distclean-compile clean-compile maintainer-clean-compile \
+-mostlyclean-libtool distclean-libtool clean-libtool \
+-maintainer-clean-libtool mostlyclean-checkPROGRAMS \
+-distclean-checkPROGRAMS clean-checkPROGRAMS \
+-maintainer-clean-checkPROGRAMS mostlyclean-noinstPROGRAMS \
+-distclean-noinstPROGRAMS clean-noinstPROGRAMS \
+-maintainer-clean-noinstPROGRAMS install-man3 uninstall-man3 install-man \
+-uninstall-man uninstall-includeHEADERS install-includeHEADERS \
+-uninstall-nodist_includeHEADERS install-nodist_includeHEADERS tags \
+-mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
+-check-TESTS distdir info-am info dvi-am dvi check-local check check-am \
+-installcheck-am installcheck all-recursive-am install-exec-am \
+-install-exec install-data-local install-data-am install-data install-am \
+-install uninstall-am uninstall all-local all-redirect all-am all \
+-install-strip installdirs mostlyclean-generic distclean-generic \
+-clean-generic maintainer-clean-generic clean mostlyclean distclean \
+-maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-includeHEADERS uninstall-info-am \
++	uninstall-libLTLIBRARIES uninstall-man \
++	uninstall-nodist_includeHEADERS
++
++uninstall-man: uninstall-man3
++
++.PHONY: GTAGS all all-am all-local check check-TESTS check-am \
++	check-local clean clean-checkPROGRAMS clean-generic \
++	clean-libLTLIBRARIES clean-libtool clean-noinstPROGRAMS \
++	distclean distclean-compile distclean-generic distclean-libtool \
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-data install-data-am install-data-local \
++	install-exec install-exec-am install-includeHEADERS \
++	install-info install-info-am install-libLTLIBRARIES install-man \
++	install-man3 install-nodist_includeHEADERS install-strip \
++	installcheck installcheck-am installdirs maintainer-clean \
++	maintainer-clean-generic mostlyclean mostlyclean-compile \
++	mostlyclean-generic mostlyclean-libtool tags uninstall \
++	uninstall-am uninstall-includeHEADERS uninstall-info-am \
++	uninstall-libLTLIBRARIES uninstall-man uninstall-man3 \
++	uninstall-nodist_includeHEADERS
+ 
+ 
+ install-suid-programs:
+@@ -1011,7 +1005,6 @@
+ 
+ make-roken.c: roken.h.in roken.awk
+ 	$(AWK) -f $(srcdir)/roken.awk $(srcdir)/roken.h.in > make-roken.c
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/lib/sl/Makefile.in heimdal-0.4e/lib/sl/Makefile.in
+--- heimdal-0.4e-old/lib/sl/Makefile.in	Thu Sep  6 22:23:40 2001
++++ heimdal-0.4e/lib/sl/Makefile.in	Sat Jun 15 19:35:31 2002
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.27 2001/08/31 18:26:53 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,13 +90,13 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+ LIB_ = @LIB_@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+-LIB_com_err = @LIB_com_err@
+ LIB_com_err_a = @LIB_com_err_a@
+ LIB_com_err_so = @LIB_com_err_so@
+ LIB_des = @LIB_des@
+@@ -100,12 +104,10 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+-LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,19 +121,19 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+-
+-# $Id: Makefile.am,v 1.27 2001/08/31 18:26:53 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
++LIB_com_err = @LIB_com_err@
++LIB_otp = @LIB_otp@
++LIB_roken = @LIB_roken@
+ 
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+@@ -185,22 +187,29 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+-@do_roken_rename_TRUE@IS = @do_roken_rename_TRUE@-DROKEN_RENAME
+-@do_roken_rename_TRUE@ES = @do_roken_rename_TRUE@strtok_r.c snprintf.c strdup.c strupr.c getprogname.c
++@do_roken_rename_TRUE@IS = -DROKEN_RENAME
++@do_roken_rename_TRUE@ES = strtok_r.c snprintf.c strdup.c strupr.c getprogname.c
+ 
+ YFLAGS = -d
+ 
+@@ -216,8 +225,8 @@
+ libsl_la_SOURCES = sl_locl.h sl.c $(ES)
+ libss_la_SOURCES = $(libsl_la_SOURCES) ss.c ss.h
+ 
+-# install these?
+ 
++# install these?
+ bin_PROGRAMS = mk_cmds
+ 
+ mk_cmds_SOURCES = make_cmds.c make_cmds.h parse.y lex.l $(ES)
+@@ -233,182 +242,167 @@
+ 
+ subdir = lib/sl
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../include/config.h
+-CONFIG_CLEAN_FILES = 
+-LTLIBRARIES =  $(lib_LTLIBRARIES)
+-
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++LTLIBRARIES = $(lib_LTLIBRARIES)
++
++libsl_la_DEPENDENCIES =
++@do_roken_rename_TRUE@am_libsl_la_OBJECTS = sl.lo strtok_r.lo \
++@do_roken_rename_TRUE@	snprintf.lo strdup.lo strupr.lo \
++@do_roken_rename_TRUE@	getprogname.lo
++@do_roken_rename_FALSE@am_libsl_la_OBJECTS = sl.lo
++libsl_la_OBJECTS = $(am_libsl_la_OBJECTS)
++libss_la_DEPENDENCIES =
++@do_roken_rename_TRUE@am_libss_la_OBJECTS = sl.lo strtok_r.lo \
++@do_roken_rename_TRUE@	snprintf.lo strdup.lo strupr.lo \
++@do_roken_rename_TRUE@	getprogname.lo ss.lo
++@do_roken_rename_FALSE@am_libss_la_OBJECTS = sl.lo ss.lo
++libss_la_OBJECTS = $(am_libss_la_OBJECTS)
++bin_PROGRAMS = mk_cmds$(EXEEXT)
++PROGRAMS = $(bin_PROGRAMS)
++
++@do_roken_rename_TRUE@am_mk_cmds_OBJECTS = make_cmds.$(OBJEXT) \
++@do_roken_rename_TRUE@	parse.$(OBJEXT) lex.$(OBJEXT) \
++@do_roken_rename_TRUE@	strtok_r.$(OBJEXT) snprintf.$(OBJEXT) \
++@do_roken_rename_TRUE@	strdup.$(OBJEXT) strupr.$(OBJEXT) \
++@do_roken_rename_TRUE@	getprogname.$(OBJEXT)
++@do_roken_rename_FALSE@am_mk_cmds_OBJECTS = make_cmds.$(OBJEXT) \
++@do_roken_rename_FALSE@	parse.$(OBJEXT) lex.$(OBJEXT)
++mk_cmds_OBJECTS = $(am_mk_cmds_OBJECTS)
++mk_cmds_LDADD = $(LDADD)
++mk_cmds_DEPENDENCIES =
++mk_cmds_LDFLAGS =
+ 
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../../include
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+-libsl_la_DEPENDENCIES = 
+-@do_roken_rename_FALSE@am_libsl_la_OBJECTS =  sl.lo
+-@do_roken_rename_TRUE@am_libsl_la_OBJECTS =  sl.lo strtok_r.lo \
+-@do_roken_rename_TRUE@snprintf.lo strdup.lo strupr.lo getprogname.lo
+-libsl_la_OBJECTS =  $(am_libsl_la_OBJECTS)
+-libss_la_DEPENDENCIES = 
+-@do_roken_rename_FALSE@am_libss_la_OBJECTS =  sl.lo ss.lo
+-@do_roken_rename_TRUE@am_libss_la_OBJECTS =  sl.lo strtok_r.lo \
+-@do_roken_rename_TRUE@snprintf.lo strdup.lo strupr.lo getprogname.lo \
+-@do_roken_rename_TRUE@ss.lo
+-libss_la_OBJECTS =  $(am_libss_la_OBJECTS)
+-bin_PROGRAMS =  mk_cmds$(EXEEXT)
+-PROGRAMS =  $(bin_PROGRAMS)
+-
+-@do_roken_rename_FALSE@am_mk_cmds_OBJECTS =  make_cmds.$(OBJEXT) \
+-@do_roken_rename_FALSE@parse.$(OBJEXT) lex.$(OBJEXT)
+-@do_roken_rename_TRUE@am_mk_cmds_OBJECTS =  make_cmds.$(OBJEXT) \
+-@do_roken_rename_TRUE@parse.$(OBJEXT) lex.$(OBJEXT) strtok_r.$(OBJEXT) \
+-@do_roken_rename_TRUE@snprintf.$(OBJEXT) strdup.$(OBJEXT) \
+-@do_roken_rename_TRUE@strupr.$(OBJEXT) getprogname.$(OBJEXT)
+-mk_cmds_OBJECTS =  $(am_mk_cmds_OBJECTS)
+-mk_cmds_LDADD = $(LDADD)
+-mk_cmds_DEPENDENCIES = 
+-mk_cmds_LDFLAGS = 
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
+-LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  $(libsl_la_SOURCES) $(libss_la_SOURCES) \
+-$(mk_cmds_SOURCES)
+-HEADERS =  $(include_HEADERS) $(ssinclude_HEADERS)
+-
+-depcomp = 
+-DIST_COMMON =  $(include_HEADERS) $(ssinclude_HEADERS) ChangeLog \
+-Makefile.am Makefile.in lex.c parse.c parse.h
+-
+-
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++LEXCOMPILE = $(LEX) $(LFLAGS) $(AM_LFLAGS)
++LTLEXCOMPILE = $(LIBTOOL) --mode=compile $(LEX) $(LFLAGS) $(AM_LFLAGS)
++YLWRAP = $(top_srcdir)/ylwrap
++YACCCOMPILE = $(YACC) $(YFLAGS) $(AM_YFLAGS)
++LTYACCCOMPILE = $(LIBTOOL) --mode=compile $(YACC) $(YFLAGS) $(AM_YFLAGS)
++DIST_SOURCES = $(libsl_la_SOURCES) $(libss_la_SOURCES) \
++	$(mk_cmds_SOURCES)
++HEADERS = $(include_HEADERS) $(ssinclude_HEADERS)
+ 
+-GZIP_ENV = --best
++DIST_COMMON = $(include_HEADERS) $(ssinclude_HEADERS) ChangeLog \
++	Makefile.am Makefile.in lex.c parse.c parse.h
+ SOURCES = $(libsl_la_SOURCES) $(libss_la_SOURCES) $(mk_cmds_SOURCES)
+-OBJECTS = $(am_libsl_la_OBJECTS) $(am_libss_la_OBJECTS) $(am_mk_cmds_OBJECTS)
+ 
+-all: all-redirect
++all: all-am
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .l .lo .o .obj .y
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/sl/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+ 
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-mostlyclean-libLTLIBRARIES:
+-
+-clean-libLTLIBRARIES:
+-	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
+-
+-distclean-libLTLIBRARIES:
+-
+-maintainer-clean-libLTLIBRARIES:
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  lib/sl/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ install-libLTLIBRARIES: $(lib_LTLIBRARIES)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(libdir)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+ 	  if test -f $$p; then \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p; \
++	    echo " $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p"; \
++	    $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-libLTLIBRARIES:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+-	  echo " $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
+-	  $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
++	  echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
++	  $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
+ 	done
+ 
+-mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
+-
+-clean-compile:
+-
+-distclean-compile:
+-	-rm -f *.tab.c
+-
+-maintainer-clean-compile:
+-
+-mostlyclean-libtool:
+-	-rm -f *.lo
+-
+-clean-libtool:
+-	-rm -rf .libs _libs
+-
+-distclean-libtool:
+-
+-maintainer-clean-libtool:
+-
+-libsl.la: $(libsl_la_OBJECTS) $(libsl_la_DEPENDENCIES)
++clean-libLTLIBRARIES:
++	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
++libsl.la: $(libsl_la_OBJECTS) $(libsl_la_DEPENDENCIES) 
+ 	$(LINK) -rpath $(libdir) $(libsl_la_LDFLAGS) $(libsl_la_OBJECTS) $(libsl_la_LIBADD) $(LIBS)
+-
+-libss.la: $(libss_la_OBJECTS) $(libss_la_DEPENDENCIES)
++libss.la: $(libss_la_OBJECTS) $(libss_la_DEPENDENCIES) 
+ 	$(LINK) -rpath $(libdir) $(libss_la_LDFLAGS) $(libss_la_OBJECTS) $(libss_la_LIBADD) $(LIBS)
+-
+-mostlyclean-binPROGRAMS:
+-
+-clean-binPROGRAMS:
+-	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
+-
+-distclean-binPROGRAMS:
+-
+-maintainer-clean-binPROGRAMS:
+-
+ install-binPROGRAMS: $(bin_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(bindir)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  if test -f $$p; then \
+-	    f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f; \
++	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  if test -f $$p \
++	     || test -f $$p1 \
++	  ; then \
++	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-binPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+-mk_cmds$(EXEEXT): $(mk_cmds_OBJECTS) $(mk_cmds_DEPENDENCIES)
++clean-binPROGRAMS:
++	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
++parse.h: parse.c
++parse.h: parse.c
++mk_cmds$(EXEEXT): $(mk_cmds_OBJECTS) $(mk_cmds_DEPENDENCIES) 
+ 	@rm -f mk_cmds$(EXEEXT)
+ 	$(LINK) $(mk_cmds_LDFLAGS) $(mk_cmds_OBJECTS) $(mk_cmds_LDADD) $(LIBS)
++
++mostlyclean-compile:
++	-rm -f *.$(OBJEXT) core *.core
++
++distclean-compile:
++	-rm -f *.tab.c
++
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
++
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
+-.l.c:
+-	$(LEX) $(AM_LFLAGS) $(LFLAGS) $< && mv $(LEX_OUTPUT_ROOT).c $@
+-.y.c:
+-	$(YACC) $(AM_YFLAGS) $(YFLAGS) $< && mv y.tab.c $*.c
+-	if test -f y.tab.h; then \
+-	if cmp -s y.tab.h $*.h; then rm -f y.tab.h; else mv y.tab.h $*.h; fi; \
+-	else :; fi
+-parse.h: parse.c
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
+ 
++LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
++
++.l.c:
++	$(SHELL) $(YLWRAP) $< $(LEX_OUTPUT_ROOT).c $@ -- $(LEXCOMPILE)
+ 
++.y.c:
++	$(SHELL) $(YLWRAP) $< y.tab.c $@ y.tab.h $*.h -- $(YACCCOMPILE)
++uninstall-info-am:
+ install-includeHEADERS: $(include_HEADERS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(includedir)
+ 	@list='$(include_HEADERS)'; for p in $$list; do \
+-	  if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
++	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
+-	  $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f; \
++	  echo " $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
++	  $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(includedir)/$$f; \
+ 	done
+ 
+ uninstall-includeHEADERS:
+@@ -418,15 +412,14 @@
+ 	  echo " rm -f $(DESTDIR)$(includedir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(includedir)/$$f; \
+ 	done
+-
+ install-ssincludeHEADERS: $(ssinclude_HEADERS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(ssincludedir)
+ 	@list='$(ssinclude_HEADERS)'; for p in $$list; do \
+-	  if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
++	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(ssincludedir)/$$f"; \
+-	  $(INSTALL_DATA) $$d$$p $(DESTDIR)$(ssincludedir)/$$f; \
++	  echo " $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(ssincludedir)/$$f"; \
++	  $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(ssincludedir)/$$f; \
+ 	done
+ 
+ uninstall-ssincludeHEADERS:
+@@ -464,22 +457,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -489,98 +483,102 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
++all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(HEADERS) all-local
+ install-binPROGRAMS: install-libLTLIBRARIES
+ 
+-install-exec-am: install-libLTLIBRARIES install-binPROGRAMS
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
+ 
+-install-data-am: install-includeHEADERS install-ssincludeHEADERS \
+-		install-data-local
+-install-data: install-data-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(bindir) $(DESTDIR)$(includedir) $(DESTDIR)$(ssincludedir)
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am: uninstall-libLTLIBRARIES uninstall-binPROGRAMS \
+-		uninstall-includeHEADERS uninstall-ssincludeHEADERS
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(HEADERS) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(libdir) $(DESTDIR)$(bindir) \
+-		$(DESTDIR)$(includedir) $(DESTDIR)$(ssincludedir)
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-	-test -z "lex.cparse.hparse.c" || rm -f lex.c parse.h parse.c
+-mostlyclean-am:  mostlyclean-libLTLIBRARIES mostlyclean-compile \
+-		mostlyclean-libtool mostlyclean-binPROGRAMS \
+-		mostlyclean-tags mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++	-test -z "parse.hparse.h" || rm -f parse.h parse.h
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-binPROGRAMS clean-generic clean-libLTLIBRARIES \
++	clean-libtool mostlyclean-am
+ 
+-clean-am:  clean-libLTLIBRARIES clean-compile clean-libtool \
+-		clean-binPROGRAMS clean-tags clean-generic \
+-		mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-libLTLIBRARIES distclean-compile \
+-		distclean-libtool distclean-binPROGRAMS distclean-tags \
+-		distclean-generic clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-libLTLIBRARIES \
+-		maintainer-clean-compile maintainer-clean-libtool \
+-		maintainer-clean-binPROGRAMS 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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local install-includeHEADERS \
++	install-ssincludeHEADERS
++
++install-exec-am: install-binPROGRAMS install-libLTLIBRARIES
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man:
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-am
+ 
+-.PHONY: mostlyclean-libLTLIBRARIES distclean-libLTLIBRARIES \
+-clean-libLTLIBRARIES maintainer-clean-libLTLIBRARIES \
+-uninstall-libLTLIBRARIES install-libLTLIBRARIES mostlyclean-compile \
+-distclean-compile clean-compile maintainer-clean-compile \
+-mostlyclean-libtool distclean-libtool clean-libtool \
+-maintainer-clean-libtool mostlyclean-binPROGRAMS distclean-binPROGRAMS \
+-clean-binPROGRAMS maintainer-clean-binPROGRAMS uninstall-binPROGRAMS \
+-install-binPROGRAMS uninstall-includeHEADERS install-includeHEADERS \
+-uninstall-ssincludeHEADERS install-ssincludeHEADERS tags \
+-mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
+-distdir info-am info dvi-am dvi check-local check check-am \
+-installcheck-am installcheck install-exec-am install-exec \
+-install-data-local install-data-am install-data install-am install \
+-uninstall-am uninstall all-local all-redirect all-am all install-strip \
+-installdirs mostlyclean-generic distclean-generic clean-generic \
+-maintainer-clean-generic clean mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-binPROGRAMS uninstall-includeHEADERS \
++	uninstall-info-am uninstall-libLTLIBRARIES \
++	uninstall-ssincludeHEADERS
++
++.PHONY: GTAGS all all-am all-local check check-am check-local clean \
++	clean-binPROGRAMS clean-generic clean-libLTLIBRARIES \
++	clean-libtool distclean distclean-compile distclean-generic \
++	distclean-libtool distclean-tags distdir dvi dvi-am info \
++	info-am install install-am install-binPROGRAMS install-data \
++	install-data-am install-data-local install-exec install-exec-am \
++	install-includeHEADERS install-info install-info-am \
++	install-libLTLIBRARIES install-man install-ssincludeHEADERS \
++	install-strip installcheck installcheck-am installdirs \
++	maintainer-clean maintainer-clean-generic mostlyclean \
++	mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
++	tags uninstall uninstall-am uninstall-binPROGRAMS \
++	uninstall-includeHEADERS uninstall-info-am \
++	uninstall-libLTLIBRARIES uninstall-ssincludeHEADERS
+ 
+ 
+ install-suid-programs:
+@@ -723,7 +721,6 @@
+ 	$(LN_S) $(srcdir)/../roken/strupr.c .
+ getprogname.c:
+ 	$(LN_S) $(srcdir)/../roken/getprogname.c .
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/lib/vers/Makefile.in heimdal-0.4e/lib/vers/Makefile.in
+--- heimdal-0.4e-old/lib/vers/Makefile.in	Thu Sep  6 22:23:41 2001
++++ heimdal-0.4e/lib/vers/Makefile.in	Sat Jun 15 19:35:31 2002
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.4 2001/08/23 22:41:03 assar Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,13 +90,13 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+ LIB_ = @LIB_@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+-LIB_com_err = @LIB_com_err@
+ LIB_com_err_a = @LIB_com_err_a@
+ LIB_com_err_so = @LIB_com_err_so@
+ LIB_des = @LIB_des@
+@@ -100,12 +104,10 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+-LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,19 +121,19 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+-
+-# $Id: Makefile.am,v 1.4 2001/08/23 22:41:03 assar Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
++LIB_com_err = @LIB_com_err@
++LIB_otp = @LIB_otp@
++LIB_roken = @LIB_roken@
+ 
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+@@ -185,17 +187,24 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+@@ -207,80 +216,51 @@
+ 
+ noinst_PROGRAMS = make-print-version
+ 
+-@KRB4_TRUE@@KRB5_TRUE@make_print_version_LDADD = @KRB4_TRUE@@KRB5_TRUE@$(LIB_krb4) -ldes
++@KRB4_TRUE@@KRB5_TRUE@make_print_version_LDADD = $(LIB_krb4)
+ 
+ libvers_la_SOURCES = print_version.c
++libvers_la_LDFLAGS = -no-undefined
+ subdir = lib/vers
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../include/config.h
+-CONFIG_CLEAN_FILES = 
+-LTLIBRARIES =  $(noinst_LTLIBRARIES)
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++LTLIBRARIES = $(noinst_LTLIBRARIES)
++
++libvers_la_LIBADD =
++am_libvers_la_OBJECTS = print_version.lo
++libvers_la_OBJECTS = $(am_libvers_la_OBJECTS)
++noinst_PROGRAMS = make-print-version$(EXEEXT)
++PROGRAMS = $(noinst_PROGRAMS)
+ 
++make_print_version_SOURCES = make-print-version.c
++make_print_version_OBJECTS = make-print-version.$(OBJEXT)
++@KRB4_FALSE@@KRB5_TRUE@make_print_version_DEPENDENCIES =
++@KRB4_FALSE@@KRB5_FALSE@make_print_version_DEPENDENCIES =
++@KRB4_TRUE@@KRB5_TRUE@make_print_version_DEPENDENCIES =
++@KRB4_TRUE@@KRB5_FALSE@make_print_version_DEPENDENCIES =
++make_print_version_LDFLAGS =
+ 
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../../include
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+-libvers_la_LDFLAGS = 
+-libvers_la_LIBADD = 
+-am_libvers_la_OBJECTS =  print_version.lo
+-libvers_la_OBJECTS =  $(am_libvers_la_OBJECTS)
+-noinst_PROGRAMS =  make-print-version$(EXEEXT)
+-PROGRAMS =  $(noinst_PROGRAMS)
+-
+-make_print_version_SOURCES = make-print-version.c
+-make_print_version_OBJECTS =  make-print-version.$(OBJEXT)
+-@KRB4_TRUE@@KRB5_TRUE@make_print_version_DEPENDENCIES = 
+-make_print_version_LDFLAGS = 
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  $(libvers_la_SOURCES) make-print-version.c
+-depcomp = 
+-DIST_COMMON =  ChangeLog Makefile.am Makefile.in
+-
+-
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+-
+-GZIP_ENV = --best
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++DIST_SOURCES = $(libvers_la_SOURCES) make-print-version.c
++DIST_COMMON = ChangeLog Makefile.am Makefile.in
+ SOURCES = $(libvers_la_SOURCES) make-print-version.c
+-OBJECTS = $(am_libvers_la_OBJECTS) make-print-version.$(OBJEXT)
+ 
+-all: all-redirect
++all: all-am
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/vers/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+-
+-
+-mostlyclean-noinstLTLIBRARIES:
+-
+-clean-noinstLTLIBRARIES:
+-	-test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
+-
+-distclean-noinstLTLIBRARIES:
+-
+-maintainer-clean-noinstLTLIBRARIES:
+-
+-mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
+-
+-clean-compile:
+-
+-distclean-compile:
+-	-rm -f *.tab.c
+-
+-maintainer-clean-compile:
+ 
+ mostlyclean-libtool:
+ 	-rm -f *.lo
+@@ -289,30 +269,41 @@
+ 	-rm -rf .libs _libs
+ 
+ distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  lib/vers/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ 
+-maintainer-clean-libtool:
+-
+-libvers.la: $(libvers_la_OBJECTS) $(libvers_la_DEPENDENCIES)
++clean-noinstLTLIBRARIES:
++	-test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
++libvers.la: $(libvers_la_OBJECTS) $(libvers_la_DEPENDENCIES) 
+ 	$(LINK)  $(libvers_la_LDFLAGS) $(libvers_la_OBJECTS) $(libvers_la_LIBADD) $(LIBS)
+ 
+-mostlyclean-noinstPROGRAMS:
+-
+ clean-noinstPROGRAMS:
+ 	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
++make-print-version$(EXEEXT): $(make_print_version_OBJECTS) $(make_print_version_DEPENDENCIES) 
++	@rm -f make-print-version$(EXEEXT)
++	$(LINK) $(make_print_version_LDFLAGS) $(make_print_version_OBJECTS) $(make_print_version_LDADD) $(LIBS)
+ 
+-distclean-noinstPROGRAMS:
++mostlyclean-compile:
++	-rm -f *.$(OBJEXT) core *.core
+ 
+-maintainer-clean-noinstPROGRAMS:
++distclean-compile:
++	-rm -f *.tab.c
+ 
+-make-print-version$(EXEEXT): $(make_print_version_OBJECTS) $(make_print_version_DEPENDENCIES)
+-	@rm -f make-print-version$(EXEEXT)
+-	$(LINK) $(make_print_version_LDFLAGS) $(make_print_version_OBJECTS) $(make_print_version_LDADD) $(LIBS)
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
++
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
++uninstall-info-am:
+ 
+ tags: TAGS
+ 
+@@ -341,22 +332,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -366,89 +358,92 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-install-exec-am:
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) all-local
+ 
+-install-data-am: install-data-local
+-install-data: install-data-am
++installdirs:
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am:
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-noinstLTLIBRARIES mostlyclean-compile \
+-		mostlyclean-libtool mostlyclean-noinstPROGRAMS \
+-		mostlyclean-tags mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \
++	clean-noinstPROGRAMS mostlyclean-am
+ 
+-clean-am:  clean-noinstLTLIBRARIES clean-compile clean-libtool \
+-		clean-noinstPROGRAMS clean-tags clean-generic \
+-		mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-noinstLTLIBRARIES distclean-compile \
+-		distclean-libtool distclean-noinstPROGRAMS \
+-		distclean-tags distclean-generic clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-noinstLTLIBRARIES \
+-		maintainer-clean-compile maintainer-clean-libtool \
+-		maintainer-clean-noinstPROGRAMS 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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local
++
++install-exec-am:
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man:
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-am
+ 
+-.PHONY: mostlyclean-noinstLTLIBRARIES distclean-noinstLTLIBRARIES \
+-clean-noinstLTLIBRARIES maintainer-clean-noinstLTLIBRARIES \
+-mostlyclean-compile distclean-compile clean-compile \
+-maintainer-clean-compile mostlyclean-libtool distclean-libtool \
+-clean-libtool maintainer-clean-libtool mostlyclean-noinstPROGRAMS \
+-distclean-noinstPROGRAMS clean-noinstPROGRAMS \
+-maintainer-clean-noinstPROGRAMS tags mostlyclean-tags distclean-tags \
+-clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi \
+-check-local check check-am installcheck-am installcheck install-exec-am \
+-install-exec install-data-local install-data-am install-data install-am \
+-install uninstall-am uninstall all-local all-redirect all-am all \
+-install-strip installdirs mostlyclean-generic distclean-generic \
+-clean-generic maintainer-clean-generic clean mostlyclean distclean \
+-maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-info-am
++
++.PHONY: GTAGS all all-am all-local check check-am check-local clean \
++	clean-generic clean-libtool clean-noinstLTLIBRARIES \
++	clean-noinstPROGRAMS distclean distclean-compile \
++	distclean-generic distclean-libtool distclean-tags distdir dvi \
++	dvi-am info info-am install install-am install-data \
++	install-data-am install-data-local install-exec install-exec-am \
++	install-info install-info-am install-man install-strip \
++	installcheck installcheck-am installdirs maintainer-clean \
++	maintainer-clean-generic mostlyclean mostlyclean-compile \
++	mostlyclean-generic mostlyclean-libtool tags uninstall \
++	uninstall-am uninstall-info-am
+ 
+ 
+ install-suid-programs:
+@@ -585,7 +580,6 @@
+ 	./make-print-version$(EXEEXT) print_version.h
+ 
+ make-print-version.o: $(top_builddir)/include/version.h
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/ltmain.sh heimdal-0.4e/ltmain.sh
+--- heimdal-0.4e-old/ltmain.sh	Sun Jun 24 08:27:51 2001
++++ heimdal-0.4e/ltmain.sh	Sat Jun 15 19:34:44 2002
+@@ -55,8 +55,8 @@
+ # Constants.
+ PROGRAM=ltmain.sh
+ PACKAGE=libtool
+-VERSION=1.4
+-TIMESTAMP=" (1.920 2001/04/24 23:26:18)"
++VERSION=1.4.2a
++TIMESTAMP=" (1.922.2.79 2001/11/28 21:50:31)"
+ 
+ default_mode=
+ help="Try \`$progname --help' for more information."
+@@ -84,6 +84,9 @@
+   save_LANG="$LANG"; LANG=C; export LANG
+ fi
+ 
++# Make sure IFS has a sensible default
++: ${IFS=" 	"}
++
+ if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then
+   echo "$modename: not configured to build any kind of library" 1>&2
+   echo "Fatal configuration error.  See the $PACKAGE docs for more information." 1>&2
+@@ -174,6 +177,8 @@
+   --mode) prevopt="--mode" prev=mode ;;
+   --mode=*) mode="$optarg" ;;
+ 
++  --preserve-dup-deps) duplicate_deps="yes" ;;
++
+   --quiet | --silent)
+     show=:
+     ;;
+@@ -202,6 +207,11 @@
+   exit 1
+ fi
+ 
++# If this variable is set in any of the actions, the command in it
++# will be execed at the end.  This prevents here-documents from being
++# left over by shells.
++exec_cmd=
++
+ if test -z "$show_help"; then
+ 
+   # Infer the operation mode.
+@@ -329,7 +339,7 @@
+       -Wc,*)
+ 	args=`$echo "X$arg" | $Xsed -e "s/^-Wc,//"`
+ 	lastarg=
+-	IFS="${IFS= 	}"; save_ifs="$IFS"; IFS=','
++	save_ifs="$IFS"; IFS=','
+ 	for arg in $args; do
+ 	  IFS="$save_ifs"
+ 
+@@ -615,6 +625,10 @@
+ 	# Now arrange that obj and lo_libobj become the same file
+ 	$show "(cd $xdir && $LN_S $baseobj $libobj)"
+ 	if $run eval '(cd $xdir && $LN_S $baseobj $libobj)'; then
++	  # Unlock the critical section if it was locked
++	  if test "$need_locks" != no; then
++	    $run $rm "$lockfile"
++	  fi
+ 	  exit 0
+ 	else
+ 	  error=$?
+@@ -980,7 +994,7 @@
+       # so, if we see these flags be careful not to treat them like -L
+       -L[A-Z][A-Z]*:*)
+ 	case $with_gcc/$host in
+-	no/*-*-irix*)
++	no/*-*-irix* | no/*-*-nonstopux*)
+ 	  compile_command="$compile_command $arg"
+ 	  finalize_command="$finalize_command $arg"
+ 	  ;;
+@@ -1031,6 +1045,17 @@
+ 	    # These systems don't actually have a C library (as such)
+ 	    test "X$arg" = "X-lc" && continue
+ 	    ;;
++	  *-*-openbsd* | *-*-freebsd*)
++	    # Do not include libc due to us having libc/libc_r.
++	    test "X$arg" = "X-lc" && continue
++	    ;;
++	  esac
++	 elif test "X$arg" = "X-lc_r"; then
++	  case $host in
++	 *-*-openbsd* | *-*-freebsd*)
++	    # Do not include libc_r directly, use -pthread flag.
++	    continue
++	    ;;
+ 	  esac
+ 	fi
+ 	deplibs="$deplibs $arg"
+@@ -1122,7 +1147,7 @@
+       -Wc,*)
+ 	args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wc,//'`
+ 	arg=
+-	IFS="${IFS= 	}"; save_ifs="$IFS"; IFS=','
++	save_ifs="$IFS"; IFS=','
+ 	for flag in $args; do
+ 	  IFS="$save_ifs"
+ 	  case $flag in
+@@ -1140,7 +1165,7 @@
+       -Wl,*)
+ 	args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wl,//'`
+ 	arg=
+-	IFS="${IFS= 	}"; save_ifs="$IFS"; IFS=','
++	save_ifs="$IFS"; IFS=','
+ 	for flag in $args; do
+ 	  IFS="$save_ifs"
+ 	  case $flag in
+@@ -1307,9 +1332,11 @@
+     # Find all interdependent deplibs by searching for libraries
+     # that are linked more than once (e.g. -la -lb -la)
+     for deplib in $deplibs; do
+-      case "$libs " in
+-      *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
+-      esac
++      if test "X$duplicate_deps" = "Xyes" ; then
++	case "$libs " in
++	*" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
++	esac
++      fi
+       libs="$libs $deplib"
+     done
+     deplibs=
+@@ -1438,10 +1465,12 @@
+ 	  lib)
+ 	    if test "$deplibs_check_method" != pass_all; then
+ 	      echo
+-	      echo "*** Warning: This library needs some functionality provided by $deplib."
++	      echo "*** Warning: Trying to link with static lib archive $deplib."
+ 	      echo "*** I have the capability to make that library automatically link in when"
+ 	      echo "*** you link to this library.  But I can only do this if you have a"
+-	      echo "*** shared version of the library, which you do not appear to have."
++	      echo "*** shared version of the library, which you do not appear to have"
++	      echo "*** because the file extensions .$libext of this argument makes me believe"
++	      echo "*** that it is just a static archive that I should not used here."
+ 	    else
+ 	      echo
+ 	      echo "*** Warning: Linking the shared library $output against the"
+@@ -1532,9 +1561,11 @@
+ 	    tmp_libs=
+ 	    for deplib in $dependency_libs; do
+ 	      deplibs="$deplib $deplibs"
+-	      case "$tmp_libs " in
+-	      *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
+-	      esac
++              if test "X$duplicate_deps" = "Xyes" ; then
++	        case "$tmp_libs " in
++	        *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
++	        esac
++              fi
+ 	      tmp_libs="$tmp_libs $deplib"
+ 	    done
+ 	  elif test $linkmode != prog && test $linkmode != lib; then
+@@ -1657,9 +1688,11 @@
+ 	      # or/and link against static libraries
+ 	      newdependency_libs="$deplib $newdependency_libs"
+ 	    fi
+-	    case "$tmp_libs " in
+-	    *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
+-	    esac
++	    if test "X$duplicate_deps" = "Xyes" ; then
++	      case "$tmp_libs " in
++	      *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
++	      esac
++	    fi
+ 	    tmp_libs="$tmp_libs $deplib"
+ 	  done # for deplib
+ 	  continue
+@@ -1750,7 +1783,7 @@
+ 	    if test -f "$output_objdir/$soname-def"; then :
+ 	    else
+ 	      $show "extracting exported symbol list from \`$soname'"
+-	      IFS="${IFS= 	}"; save_ifs="$IFS"; IFS='~'
++	      save_ifs="$IFS"; IFS='~'
+ 	      eval cmds=\"$extract_expsyms_cmds\"
+ 	      for cmd in $cmds; do
+ 		IFS="$save_ifs"
+@@ -1763,7 +1796,7 @@
+ 	    # Create $newlib
+ 	    if test -f "$output_objdir/$newlib"; then :; else
+ 	      $show "generating import library for \`$soname'"
+-	      IFS="${IFS= 	}"; save_ifs="$IFS"; IFS='~'
++	      save_ifs="$IFS"; IFS='~'
+ 	      eval cmds=\"$old_archive_from_expsyms_cmds\"
+ 	      for cmd in $cmds; do
+ 		IFS="$save_ifs"
+@@ -1903,25 +1936,26 @@
+ 	    # Just print a warning and add the library to dependency_libs so
+ 	    # that the program can be linked against the static library.
+ 	    echo
+-	    echo "*** Warning: This library needs some functionality provided by $lib."
++	    echo "*** Warning: This system can not link to static lib archive $lib."
+ 	    echo "*** I have the capability to make that library automatically link in when"
+ 	    echo "*** you link to this library.  But I can only do this if you have a"
+ 	    echo "*** shared version of the library, which you do not appear to have."
+ 	    if test "$module" = yes; then
+-	      echo "*** Therefore, libtool will create a static module, that should work "
+-	      echo "*** as long as the dlopening application is linked with the -dlopen flag."
++	      echo "*** But as you try to build a module library, libtool will still create "
++	      echo "*** a static module, that should work as long as the dlopening application"
++	      echo "*** is linked with the -dlopen flag to resolve symbols at runtime."
+ 	      if test -z "$global_symbol_pipe"; then
+-	        echo
+-	        echo "*** However, this would only work if libtool was able to extract symbol"
+-	        echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
+-	        echo "*** not find such a program.  So, this module is probably useless."
+-	        echo "*** \`nm' from GNU binutils and a full rebuild may help."
++		echo
++		echo "*** However, this would only work if libtool was able to extract symbol"
++		echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
++		echo "*** not find such a program.  So, this module is probably useless."
++		echo "*** \`nm' from GNU binutils and a full rebuild may help."
+ 	      fi
+ 	      if test "$build_old_libs" = no; then
+-	        build_libtool_libs=module
+-	        build_old_libs=yes
++		build_libtool_libs=module
++		build_old_libs=yes
+ 	      else
+-	        build_libtool_libs=no
++		build_libtool_libs=no
+ 	      fi
+ 	    fi
+ 	  else
+@@ -1958,9 +1992,11 @@
+ 	  tmp_libs=
+ 	  for deplib in $dependency_libs; do
+ 	    newdependency_libs="$deplib $newdependency_libs"
+-	    case "$tmp_libs " in
+-	    *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
+-	    esac
++	    if test "X$duplicate_deps" = "Xyes" ; then
++	      case "$tmp_libs " in
++	      *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
++	      esac
++	    fi
+ 	    tmp_libs="$tmp_libs $deplib"
+ 	  done
+ 
+@@ -2175,7 +2211,7 @@
+       else
+ 
+ 	# Parse the version information argument.
+-	IFS="${IFS= 	}"; save_ifs="$IFS"; IFS=':'
++	save_ifs="$IFS"; IFS=':'
+ 	set dummy $vinfo 0 0 0
+ 	IFS="$save_ifs"
+ 
+@@ -2250,16 +2286,21 @@
+ 	  versuffix=".$current";
+ 	  ;;
+ 
+-	irix)
++	irix | nonstopux)
++	  case $version_type in
++	    nonstopux) verstring_prefix=nonstopux ;;
++	    *)         verstring_prefix=sgi ;;
++	  esac
++	  verstring="$verstring_prefix$major.$revision"
++
+ 	  major=`expr $current - $age + 1`
+-	  verstring="sgi$major.$revision"
+ 
+ 	  # Add in all the interfaces that we are compatible with.
+ 	  loop=$revision
+ 	  while test $loop != 0; do
+ 	    iface=`expr $revision - $loop`
+ 	    loop=`expr $loop - 1`
+-	    verstring="sgi$major.$iface:$verstring"
++	    verstring="$verstring_prefix$major.$iface:$verstring"
+ 	  done
+ 
+ 	  # Before this point, $major must not contain `.'.
+@@ -2312,6 +2353,16 @@
+ 	if test -z "$vinfo" && test -n "$release"; then
+ 	  major=
+ 	  verstring="0.0"
++	  case $version_type in
++	  darwin)
++	    # we can't check for "0.0" in archive_cmds due to quoting
++	    # problems, so we reset it completely
++	    verstring=""
++	    ;;
++	  *)
++	    verstring="0.0"
++	    ;;
++	  esac
+ 	  if test "$need_version" = no; then
+ 	    versuffix=
+ 	  else
+@@ -2408,6 +2459,9 @@
+ 	  *-*-netbsd*)
+ 	    # Don't link with libc until the a.out ld.so is fixed.
+ 	    ;;
++	  *-*-openbsd* | *-*-freebsd*)
++	    # Do not include libc due to us having libc/libc_r.
++	    ;;
+ 	  *)
+ 	    # Add libc to deplibs on all other systems if necessary.
+ 	    if test $build_libtool_need_lc = "yes"; then
+@@ -2466,18 +2520,20 @@
+ 		else
+ 		  droppeddeps=yes
+ 		  echo
+-		  echo "*** Warning: This library needs some functionality provided by $i."
++		  echo "*** Warning: dynamic linker does not accept needed library $i."
+ 		  echo "*** I have the capability to make that library automatically link in when"
+ 		  echo "*** you link to this library.  But I can only do this if you have a"
+-		  echo "*** shared version of the library, which you do not appear to have."
++		  echo "*** shared version of the library, which I believe you do not have"
++		  echo "*** because a test_compile did reveal that the linker did not use it for"
++		  echo "*** its dynamic dependency list that programs get resolved with at runtime."
+ 		fi
+ 	      else
+ 		newdeplibs="$newdeplibs $i"
+ 	      fi
+ 	    done
+ 	  else
+-	    # Error occured in the first compile.  Let's try to salvage the situation:
+-	    # Compile a seperate program for each library.
++	    # Error occured in the first compile.  Let's try to salvage
++	    # the situation: Compile a separate program for each library.
+ 	    for i in $deplibs; do
+ 	      name="`expr $i : '-l\(.*\)'`"
+ 	     # If $name is empty we are operating on a -L argument.
+@@ -2496,10 +2552,12 @@
+ 		  else
+ 		    droppeddeps=yes
+ 		    echo
+-		    echo "*** Warning: This library needs some functionality provided by $i."
++		    echo "*** Warning: dynamic linker does not accept needed library $i."
+ 		    echo "*** I have the capability to make that library automatically link in when"
+ 		    echo "*** you link to this library.  But I can only do this if you have a"
+-		    echo "*** shared version of the library, which you do not appear to have."
++		    echo "*** shared version of the library, which you do not appear to have"
++		    echo "*** because a test_compile did reveal that the linker did not use this one"
++		    echo "*** as a dynamic dependency that programs can get resolved with at runtime."
+ 		  fi
+ 		else
+ 		  droppeddeps=yes
+@@ -2556,10 +2614,17 @@
+ 	      if test -n "$a_deplib" ; then
+ 		droppeddeps=yes
+ 		echo
+-		echo "*** Warning: This library needs some functionality provided by $a_deplib."
++		echo "*** Warning: linker path does not have real file for library $a_deplib."
+ 		echo "*** I have the capability to make that library automatically link in when"
+ 		echo "*** you link to this library.  But I can only do this if you have a"
+-		echo "*** shared version of the library, which you do not appear to have."
++		echo "*** shared version of the library, which you do not appear to have"
++		echo "*** because I did check the linker path looking for a file starting"
++		if test -z "$potlib" ; then
++		  echo "*** with $libname but no candidates were found. (...for file magic test)"
++		else
++		  echo "*** with $libname and none of the candidates passed a file format test"
++		  echo "*** using a file magic. Last file checked: $potlib"
++		fi
+ 	      fi
+ 	    else
+ 	      # Add a -L argument.
+@@ -2578,6 +2643,7 @@
+ 	      for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
+ 		potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
+ 		for potent_lib in $potential_libs; do
++		  potlib="$potent_lib" # see symlink-check below in file_magic test
+ 		  if eval echo \"$potent_lib\" 2>/dev/null \
+ 		      | sed 10q \
+ 		      | egrep "$match_pattern_regex" > /dev/null; then
+@@ -2590,10 +2656,17 @@
+ 	      if test -n "$a_deplib" ; then
+ 		droppeddeps=yes
+ 		echo
+-		echo "*** Warning: This library needs some functionality provided by $a_deplib."
++		echo "*** Warning: linker path does not have real file for library $a_deplib."
+ 		echo "*** I have the capability to make that library automatically link in when"
+ 		echo "*** you link to this library.  But I can only do this if you have a"
+-		echo "*** shared version of the library, which you do not appear to have."
++		echo "*** shared version of the library, which you do not appear to have"
++		echo "*** because I did check the linker path looking for a file starting"
++		if test -z "$potlib" ; then
++		  echo "*** with $libname but no candidates were found. (...for regex pattern test)"
++		else
++		  echo "*** with $libname and none of the candidates passed a file format test"
++		  echo "*** using a regex pattern. Last file checked: $potlib"
++		fi
+ 	      fi
+ 	    else
+ 	      # Add a -L argument.
+@@ -2784,7 +2857,7 @@
+ 	    export_symbols="$output_objdir/$libname.exp"
+ 	    $run $rm $export_symbols
+ 	    eval cmds=\"$export_symbols_cmds\"
+-	    IFS="${IFS= 	}"; save_ifs="$IFS"; IFS='~'
++	    save_ifs="$IFS"; IFS='~'
+ 	    for cmd in $cmds; do
+ 	      IFS="$save_ifs"
+ 	      $show "$cmd"
+@@ -2860,7 +2933,7 @@
+ 	else
+ 	  eval cmds=\"$archive_cmds\"
+ 	fi
+-	IFS="${IFS= 	}"; save_ifs="$IFS"; IFS='~'
++	save_ifs="$IFS"; IFS='~'
+ 	for cmd in $cmds; do
+ 	  IFS="$save_ifs"
+ 	  $show "$cmd"
+@@ -2988,7 +3061,7 @@
+ 
+       output="$obj"
+       eval cmds=\"$reload_cmds\"
+-      IFS="${IFS= 	}"; save_ifs="$IFS"; IFS='~'
++      save_ifs="$IFS"; IFS='~'
+       for cmd in $cmds; do
+ 	IFS="$save_ifs"
+ 	$show "$cmd"
+@@ -3024,7 +3097,7 @@
+ 	reload_objs="$libobjs $reload_conv_objs"
+ 	output="$libobj"
+ 	eval cmds=\"$reload_cmds\"
+-	IFS="${IFS= 	}"; save_ifs="$IFS"; IFS='~'
++	save_ifs="$IFS"; IFS='~'
+ 	for cmd in $cmds; do
+ 	  IFS="$save_ifs"
+ 	  $show "$cmd"
+@@ -3287,27 +3360,25 @@
+ #undef lt_preloaded_symbols
+ 
+ #if defined (__STDC__) && __STDC__
+-# define lt_ptr_t void *
++# define lt_ptr void *
+ #else
+-# define lt_ptr_t char *
++# define lt_ptr char *
+ # define const
+ #endif
+ 
+ /* The mapping between symbol names and symbols. */
+ const struct {
+   const char *name;
+-  lt_ptr_t address;
++  lt_ptr address;
+ }
+ lt_preloaded_symbols[] =
+ {\
+ "
+ 
+-	    sed -n -e 's/^: \([^ ]*\) $/  {\"\1\", (lt_ptr_t) 0},/p' \
+-		-e 's/^. \([^ ]*\) \([^ ]*\)$/  {"\2", (lt_ptr_t) \&\2},/p' \
+-		  < "$nlist" >> "$output_objdir/$dlsyms"
++	    eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$dlsyms"
+ 
+ 	    $echo >> "$output_objdir/$dlsyms" "\
+-  {0, (lt_ptr_t) 0}
++  {0, (lt_ptr) 0}
+ };
+ 
+ /* This works around a problem in FreeBSD linker */
+@@ -3494,7 +3565,7 @@
+ 	    relink_command="$var=\"$var_value\"; export $var; $relink_command"
+ 	  fi
+ 	done
+-	relink_command="cd `pwd`; $relink_command"
++	relink_command="(cd `pwd`; $relink_command)"
+ 	relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"`
+       fi
+ 
+@@ -3618,8 +3689,9 @@
+ 
+     # relink executable if necessary
+     if test -n \"\$relink_command\"; then
+-      if (eval \$relink_command); then :
++      if relink_command_output=\`eval \$relink_command 2>&1\`; then :
+       else
++	$echo \"\$relink_command_output\" >&2
+ 	$rm \"\$progdir/\$file\"
+ 	exit 1
+       fi
+@@ -3790,7 +3862,7 @@
+ 
+ 	eval cmds=\"$old_archive_cmds\"
+       fi
+-      IFS="${IFS= 	}"; save_ifs="$IFS"; IFS='~'
++      save_ifs="$IFS"; IFS='~'
+       for cmd in $cmds; do
+ 	IFS="$save_ifs"
+ 	$show "$cmd"
+@@ -3823,7 +3895,7 @@
+ 	fi
+       done
+       # Quote the link command for shipping.
+-      relink_command="cd `pwd`; $SHELL $0 --mode=relink $libtool_args"
++      relink_command="(cd `pwd`; $SHELL $0 --mode=relink $libtool_args)"
+       relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"`
+ 
+       # Only create the output if not a dry run.
+@@ -4165,7 +4237,7 @@
+ 	  # Do each command in the postinstall commands.
+ 	  lib="$destdir/$realname"
+ 	  eval cmds=\"$postinstall_cmds\"
+-	  IFS="${IFS= 	}"; save_ifs="$IFS"; IFS='~'
++	  save_ifs="$IFS"; IFS='~'
+ 	  for cmd in $cmds; do
+ 	    IFS="$save_ifs"
+ 	    $show "$cmd"
+@@ -4238,19 +4310,27 @@
+ 	fi
+ 
+ 	# Do a test to see if this is really a libtool program.
+-	if (sed -e '4q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
++	case $host in
++	*cygwin*|*mingw*)
++	    wrapper=`echo $file | sed -e 's,.exe$,,'`
++	    ;;
++	*)
++	    wrapper=$file
++	    ;;
++	esac
++	if (sed -e '4q' $wrapper | egrep "^# Generated by .*$PACKAGE")>/dev/null 2>&1; then
+ 	  notinst_deplibs=
+ 	  relink_command=
+ 
+ 	  # If there is no directory component, then add one.
+ 	  case $file in
+-	  */* | *\\*) . $file ;;
+-	  *) . ./$file ;;
++	  */* | *\\*) . $wrapper ;;
++	  *) . ./$wrapper ;;
+ 	  esac
+ 
+ 	  # Check the variables that should have been set.
+ 	  if test -z "$notinst_deplibs"; then
+-	    $echo "$modename: invalid libtool wrapper script \`$file'" 1>&2
++	    $echo "$modename: invalid libtool wrapper script \`$wrapper'" 1>&2
+ 	    exit 1
+ 	  fi
+ 
+@@ -4275,8 +4355,8 @@
+ 	  relink_command=
+ 	  # If there is no directory component, then add one.
+ 	  case $file in
+-	  */* | *\\*) . $file ;;
+-	  *) . ./$file ;;
++	  */* | *\\*) . $wrapper ;;
++	  *) . ./$wrapper ;;
+ 	  esac
+ 
+ 	  outputname=
+@@ -4352,7 +4432,7 @@
+ 
+       # Do each command in the postinstall commands.
+       eval cmds=\"$old_postinstall_cmds\"
+-      IFS="${IFS= 	}"; save_ifs="$IFS"; IFS='~'
++      save_ifs="$IFS"; IFS='~'
+       for cmd in $cmds; do
+ 	IFS="$save_ifs"
+ 	$show "$cmd"
+@@ -4368,11 +4448,10 @@
+     if test -n "$current_libdirs"; then
+       # Maybe just do a dry run.
+       test -n "$run" && current_libdirs=" -n$current_libdirs"
+-      exec $SHELL $0 --finish$current_libdirs
+-      exit 1
++      exec_cmd='$SHELL $0 --finish$current_libdirs'
++    else
++      exit 0
+     fi
+-
+-    exit 0
+     ;;
+ 
+   # libtool finish mode
+@@ -4391,7 +4470,7 @@
+ 	if test -n "$finish_cmds"; then
+ 	  # Do each command in the finish commands.
+ 	  eval cmds=\"$finish_cmds\"
+-	  IFS="${IFS= 	}"; save_ifs="$IFS"; IFS='~'
++	  save_ifs="$IFS"; IFS='~'
+ 	  for cmd in $cmds; do
+ 	    IFS="$save_ifs"
+ 	    $show "$cmd"
+@@ -4575,11 +4654,8 @@
+ 	LANG="$save_LANG"; export LANG
+       fi
+ 
+-      # Now actually exec the command.
+-      eval "exec \$cmd$args"
+-
+-      $echo "$modename: cannot exec \$cmd$args"
+-      exit 1
++      # Now prepare to actually exec the command.
++      exec_cmd="\$cmd$args"
+     else
+       # Display what would be done.
+       if test -n "$shlibpath_var"; then
+@@ -4641,14 +4717,14 @@
+ 
+       # Don't error if the file doesn't exist and rm -f was used.
+       if (test -L "$file") >/dev/null 2>&1 \
+-        || (test -h "$file") >/dev/null 2>&1 \
++	|| (test -h "$file") >/dev/null 2>&1 \
+ 	|| test -f "$file"; then
+-        :
++	:
+       elif test -d "$file"; then
+-        exit_status=1
++	exit_status=1
+ 	continue
+       elif test "$rmforce" = yes; then
+-        continue
++	continue
+       fi
+ 
+       rmfiles="$file"
+@@ -4670,7 +4746,7 @@
+ 	    if test -n "$library_names"; then
+ 	      # Do each command in the postuninstall commands.
+ 	      eval cmds=\"$postuninstall_cmds\"
+-	      IFS="${IFS= 	}"; save_ifs="$IFS"; IFS='~'
++	      save_ifs="$IFS"; IFS='~'
+ 	      for cmd in $cmds; do
+ 		IFS="$save_ifs"
+ 		$show "$cmd"
+@@ -4685,7 +4761,7 @@
+ 	    if test -n "$old_library"; then
+ 	      # Do each command in the old_postuninstall commands.
+ 	      eval cmds=\"$old_postuninstall_cmds\"
+-	      IFS="${IFS= 	}"; save_ifs="$IFS"; IFS='~'
++	      save_ifs="$IFS"; IFS='~'
+ 	      for cmd in $cmds; do
+ 		IFS="$save_ifs"
+ 		$show "$cmd"
+@@ -4744,10 +4820,17 @@
+     ;;
+   esac
+ 
+-  $echo "$modename: invalid operation mode \`$mode'" 1>&2
+-  $echo "$generic_help" 1>&2
+-  exit 1
++  if test -z "$exec_cmd"; then
++    $echo "$modename: invalid operation mode \`$mode'" 1>&2
++    $echo "$generic_help" 1>&2
++    exit 1
++  fi
+ fi # test -z "$show_help"
++
++if test -n "$exec_cmd"; then
++  eval exec $exec_cmd
++  exit 1
++fi
+ 
+ # We need to display help for each of the modes.
+ case $mode in
+diff -ruN heimdal-0.4e-old/tools/Makefile.in heimdal-0.4e/tools/Makefile.in
+--- heimdal-0.4e-old/tools/Makefile.in	Thu Sep  6 22:25:47 2001
++++ heimdal-0.4e/tools/Makefile.in	Sat Jun 15 19:35:31 2002
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.5 2001/01/29 06:56:33 assar Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,13 +90,13 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+ LIB_ = @LIB_@
+ LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
+ LIB_NDBM = @LIB_NDBM@
+-LIB_com_err = @LIB_com_err@
+ LIB_com_err_a = @LIB_com_err_a@
+ LIB_com_err_so = @LIB_com_err_so@
+ LIB_des = @LIB_des@
+@@ -100,12 +104,10 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+-LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,19 +121,19 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+-
+-# $Id: Makefile.am,v 1.5 2001/01/29 06:56:33 assar Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
++LIB_com_err = @LIB_com_err@
++LIB_otp = @LIB_otp@
++LIB_roken = @LIB_roken@
+ 
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+@@ -185,17 +187,24 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++
+ LEXLIB = @LEXLIB@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+@@ -208,36 +217,44 @@
+ man_MANS = krb5-config.1
+ subdir = tools
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../include/config.h
+-CONFIG_CLEAN_FILES = 
+-SCRIPTS =  $(bin_SCRIPTS)
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++SCRIPTS = $(bin_SCRIPTS)
+ 
++depcomp =
+ CFLAGS = @CFLAGS@
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES = 
+-man1dir = $(mandir)/man1
+-MANS = $(man_MANS)
+-depcomp = 
+-DIST_COMMON =  Makefile.am Makefile.in
+-
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++DIST_SOURCES =
+ 
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++NROFF = nroff
++MANS = $(man_MANS)
++DIST_COMMON = Makefile.am Makefile.in
++all: all-am
+ 
+-GZIP_ENV = --best
+-all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign tools/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
++.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c
++
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  tools/Makefile
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ install-binSCRIPTS: $(bin_SCRIPTS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(bindir)
+@@ -259,11 +276,15 @@
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
++uninstall-info-am:
+ 
+-install-man1:
++man1dir = $(mandir)/man1
++install-man1: $(man1_MANS) $(man_MANS)
++	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(man1dir)
+-	@list='$(man1_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.1*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -278,10 +299,11 @@
+ 	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
+ 	  $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
+ 	done
+-
+ uninstall-man1:
+-	@list='$(man1_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@$(NORMAL_UNINSTALL)
++	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.1*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -294,21 +316,22 @@
+ 	  echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
+ 	  rm -f $(DESTDIR)$(man1dir)/$$inst; \
+ 	done
+-install-man: $(MANS)
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-man1
+-uninstall-man:
+-	@$(NORMAL_UNINSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) uninstall-man1
+ tags: TAGS
+ TAGS:
+ 
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++
++top_distdir = ..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -318,75 +341,91 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-install-exec-am: install-binSCRIPTS
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++all-am: Makefile $(SCRIPTS) $(MANS) all-local
+ 
+-install-data-am: install-man install-data-local
+-install-data: install-data-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(man1dir)
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am: uninstall-binSCRIPTS uninstall-man
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(SCRIPTS) $(MANS) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-generic clean-libtool mostlyclean-am
++
++distclean: distclean-am
+ 
+-clean-am:  clean-generic mostlyclean-am
++distclean-am: clean-am distclean-generic distclean-libtool
+ 
+-clean: clean-am
++dvi: dvi-am
+ 
+-distclean-am:  distclean-generic clean-am
+-	-rm -f libtool
++dvi-am:
+ 
+-distclean: distclean-am
++info: info-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."
++info-am:
++
++install-data-am: install-data-local install-man
++
++install-exec-am: install-binSCRIPTS
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man: install-man1
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-am
+ 
+-.PHONY: uninstall-binSCRIPTS install-binSCRIPTS install-man1 \
+-uninstall-man1 install-man uninstall-man tags distdir info-am info \
+-dvi-am dvi check-local check check-am installcheck-am installcheck \
+-install-exec-am install-exec install-data-local install-data-am \
+-install-data install-am install uninstall-am uninstall all-local \
+-all-redirect all-am all install-strip installdirs mostlyclean-generic \
+-distclean-generic clean-generic maintainer-clean-generic clean \
+-mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-generic mostlyclean-libtool
++
++uninstall-am: uninstall-binSCRIPTS uninstall-info-am uninstall-man
++
++uninstall-man: uninstall-man1
++
++.PHONY: all all-am all-local check check-am check-local clean \
++	clean-generic clean-libtool distclean distclean-generic \
++	distclean-libtool distdir dvi dvi-am info info-am install \
++	install-am install-binSCRIPTS install-data install-data-am \
++	install-data-local install-exec install-exec-am install-info \
++	install-info-am install-man install-man1 install-strip \
++	installcheck installcheck-am installdirs maintainer-clean \
++	maintainer-clean-generic mostlyclean mostlyclean-generic \
++	mostlyclean-libtool uninstall uninstall-am uninstall-binSCRIPTS \
++	uninstall-info-am uninstall-man uninstall-man1
+ 
+ 
+ install-suid-programs:
+@@ -530,7 +569,6 @@
+ 		-e "s,@LIBS\@,$(LIBS),g" \
+ 		$(srcdir)/krb5-config.in > $@
+ 	chmod +x $@
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/ylwrap heimdal-0.4e/ylwrap
+--- heimdal-0.4e-old/ylwrap	Thu Jan  1 10:00:00 1970
++++ heimdal-0.4e/ylwrap	Fri Oct 19 13:28:05 2001
+@@ -0,0 +1,143 @@
++#! /bin/sh
++# ylwrap - wrapper for lex/yacc invocations.
++# Copyright 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
++# Written by Tom Tromey <tromey@cygnus.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, 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
++
++# As a special exception to the GNU General Public License, if you
++# distribute this file as part of a program that contains a
++# configuration script generated by Autoconf, you may include it under
++# the same distribution terms that you use for the rest of that program.
++
++# Usage:
++#     ylwrap INPUT [OUTPUT DESIRED]... -- PROGRAM [ARGS]...
++# * INPUT is the input file
++# * OUTPUT is file PROG generates
++# * DESIRED is file we actually want
++# * PROGRAM is program to run
++# * ARGS are passed to PROG
++# Any number of OUTPUT,DESIRED pairs may be used.
++
++# The input.
++input="$1"
++shift
++case "$input" in
++ [\\/]* | ?:[\\/]*)
++    # Absolute path; do nothing.
++    ;;
++ *)
++    # Relative path.  Make it absolute.
++    input="`pwd`/$input"
++    ;;
++esac
++
++# The directory holding the input.
++input_dir=`echo "$input" | sed -e 's,\([\\/]\)[^\\/]*$,\1,'`
++# Quote $INPUT_DIR so we can use it in a regexp.
++# FIXME: really we should care about more than `.' and `\'.
++input_rx=`echo "$input_dir" | sed -e 's,\\\\,\\\\\\\\,g' -e 's,\\.,\\\\.,g'`
++
++echo "got $input_rx"
++
++pairlist=
++while test "$#" -ne 0; do
++   if test "$1" = "--"; then
++      shift
++      break
++   fi
++   pairlist="$pairlist $1"
++   shift
++done
++
++# The program to run.
++prog="$1"
++shift
++# Make any relative path in $prog absolute.
++case "$prog" in
++ [\\/]* | ?:[\\/]*) ;;
++ *[\\/]*) prog="`pwd`/$prog" ;;
++esac
++
++# FIXME: add hostname here for parallel makes that run commands on
++# other machines.  But that might take us over the 14-char limit.
++dirname=ylwrap$$
++trap "cd `pwd`; rm -rf $dirname > /dev/null 2>&1" 1 2 3 15
++mkdir $dirname || exit 1
++
++cd $dirname
++
++$prog ${1+"$@"} "$input"
++status=$?
++
++if test $status -eq 0; then
++   set X $pairlist
++   shift
++   first=yes
++   # Since DOS filename conventions don't allow two dots,
++   # the DOS version of Bison writes out y_tab.c instead of y.tab.c
++   # and y_tab.h instead of y.tab.h. Test to see if this is the case.
++   y_tab_nodot="no"
++   if test -f y_tab.c || test -f y_tab.h; then
++      y_tab_nodot="yes"
++   fi
++
++   while test "$#" -ne 0; do
++      from="$1"
++      # Handle y_tab.c and y_tab.h output by DOS
++      if test $y_tab_nodot = "yes"; then
++	 if test $from = "y.tab.c"; then
++	    from="y_tab.c"
++	 else
++	    if test $from = "y.tab.h"; then
++	       from="y_tab.h"
++	    fi
++	 fi
++      fi
++      if test -f "$from"; then
++         # If $2 is an absolute path name, then just use that,
++         # otherwise prepend `../'.
++         case "$2" in
++	   [\\/]* | ?:[\\/]*) target="$2";;
++	   *) target="../$2";;
++	 esac
++
++	 # Edit out `#line' or `#' directives.  We don't want the
++	 # resulting debug information to point at an absolute srcdir;
++	 # it is better for it to just mention the .y file with no
++	 # path.
++	 sed -e "/^#/ s,$input_rx,," "$from" > "$target" || status=$?
++      else
++	 # A missing file is only an error for the first file.  This
++	 # is a blatant hack to let us support using "yacc -d".  If -d
++	 # is not specified, we don't want an error when the header
++	 # file is "missing".
++	 if test $first = yes; then
++	    status=1
++	 fi
++      fi
++      shift
++      shift
++      first=no
++   done
++else
++   status=$?
++fi
++
++# Remove the directory.
++cd ..
++rm -rf $dirname
++
++exit $status
--- heimdal-0.6.3.orig/debian/patches-0.4e/021_debian
+++ heimdal-0.6.3/debian/patches-0.4e/021_debian
@@ -0,0 +1,50 @@
+Index: heimdal-0.4e/appl/telnet/telnetd/telnetd.h
+===================================================================
+RCS file: /homes/bam/cvsroot/debian/heimdal/appl/telnet/telnetd/telnetd.h,v
+retrieving revision 1.1.1.2
+retrieving revision 1.2
+diff -c -r1.1.1.2 -r1.2
+*** heimdal-0.4e/appl/telnet/telnetd/telnetd.h 1999/07/24 08:24:26 1.1.1.2
+--- appl/telnet/telnetd/telnetd.h	2000/01/06 09:22:48	1.2
+***************
+*** 193,199 ****
+  #endif
+  
+  #undef _PATH_LOGIN
+! #define _PATH_LOGIN	BINDIR "/login"
+  
+  /* fallbacks */
+  
+--- 193,199 ----
+  #endif
+  
+  #undef _PATH_LOGIN
+! #define _PATH_LOGIN	"/bin/login"
+  
+  /* fallbacks */
+  
+Index: heimdal-0.4e/lib/hdb/hdb.h
+===================================================================
+RCS file: /homes/bam/cvsroot/debian/heimdal/lib/hdb/hdb.h,v
+retrieving revision 1.1.1.4
+retrieving revision 1.3
+diff -c -r1.1.1.4 -r1.3
+*** heimdal-0.4e/lib/hdb/hdb.h 2000/07/31 03:16:43 1.1.1.4
+--- heimdal-0.4e/lib/hdb/hdb.h	2000/07/31 03:22:57	1.3
+***************
+*** 78,84 ****
+      krb5_error_code (*destroy)(krb5_context, struct HDB*);
+  }HDB;
+  
+! #define HDB_DB_DIR "/var/heimdal"
+  #define HDB_DEFAULT_DB HDB_DB_DIR "/heimdal"
+  #define HDB_DB_FORMAT_ENTRY "hdb/db-format"
+  
+--- 78,84 ----
+      krb5_error_code (*destroy)(krb5_context, struct HDB*);
+  }HDB;
+  
+! #define HDB_DB_DIR "/var/lib/heimdal-kdc"
+  #define HDB_DEFAULT_DB HDB_DB_DIR "/heimdal"
+  #define HDB_DB_FORMAT_ENTRY "hdb/db-format"
+  
--- heimdal-0.6.3.orig/debian/patches-0.4e/031_autotools
+++ heimdal-0.6.3/debian/patches-0.4e/031_autotools
@@ -0,0 +1,9 @@
+--- heimdal-0.4e/ltmain.sh.orig	Fri May 11 05:34:59 2001
++++ heimdal-0.4e/ltmain.sh	Thu May 31 02:14:09 2001
+@@ -1862,6 +1862,7 @@
+ 	    else
+ 	      # We cannot seem to hardcode it, guess we'll fake it.
+ 	      add_dir="-L$libdir"
++	      test -d $ladir/.libs && add_dir="$add_dir -L$ladir/.libs"
+ 	      add="-l$name"
+ 	    fi
--- heimdal-0.6.3.orig/debian/patches-0.4e/036patch.have_glob_as_default
+++ heimdal-0.6.3/debian/patches-0.4e/036patch.have_glob_as_default
@@ -0,0 +1,11 @@
+--- heimdal-0.4e/include/config.h.in.org	2002-08-12 15:29:26.000000000 +0200
++++ heimdal-0.4e/include/config.h.in	2002-08-12 15:30:11.000000000 +0200
+@@ -310,7 +310,7 @@
+ 
+ /* define if you have a glob() that groks GLOB_BRACE, GLOB_NOCHECK,
+    GLOB_QUOTE, GLOB_TILDE, and GLOB_LIMIT */
+-#undef HAVE_GLOB
++#define HAVE_GLOB 1
+ 
+ /* Define to 1 if you have the `grantpt' function. */
+ #undef HAVE_GRANTPT
--- heimdal-0.6.3.orig/debian/patches-0.4e/036patch.ftp.use.roken-glob
+++ heimdal-0.6.3/debian/patches-0.4e/036patch.ftp.use.roken-glob
@@ -0,0 +1,182 @@
+--- heimdal-0.4e/appl/ftp/ftp/cmds.c	2001-08-05 08:39:14.000000000 +0200
++++ heimdal-0.4e/appl/ftp/ftp/cmds.c	2002-08-12 14:58:56.000000000 +0200
+@@ -535,9 +535,17 @@
+ 
+ 	memset(&gl, 0, sizeof(gl));
+ 	flags = GLOB_BRACE|GLOB_NOCHECK|GLOB_QUOTE|GLOB_TILDE;
++#ifdef HAVE_GLOB
+ 	if (glob(argv[i], flags, NULL, &gl) || gl.gl_pathc == 0) {
++#else
++	if (roken_glob(argv[i], flags, NULL, &gl) || gl.gl_pathc == 0) {
++#endif 
+ 	    warnx("%s: not found", argv[i]);
++#ifdef HAVE_GLOB
+ 	    globfree(&gl);
++#else
++	    roken_globfree(&gl);
++#endif
+ 	    continue;
+ 	}
+ 	for (cpp = gl.gl_pathv; cpp && *cpp != NULL; cpp++) {
+@@ -558,7 +566,11 @@
+ 		}
+ 	    }
+ 	}
++#ifdef HAVE_GLOB
+ 	globfree(&gl);
++#else
++	roken_globfree(&gl);
++#endif
+     }
+     signal(SIGINT, oldintr);
+     mflag = 0;
+@@ -1567,14 +1579,27 @@
+ 
+ 	flags = GLOB_BRACE|GLOB_NOCHECK|GLOB_QUOTE|GLOB_TILDE;
+ 	memset(&gl, 0, sizeof(gl));
++#ifdef HAVE_GLOB
+ 	if (glob(*cpp, flags, NULL, &gl) ||
++#else 
++	if (roken_glob(*cpp, flags, NULL, &gl) ||
++#endif
+ 	    gl.gl_pathc == 0) {
+ 		warnx("%s: not found", *cpp);
++#ifdef HAVE_GLOB
+ 		globfree(&gl);
++#else
++		roken_globfree(&gl);
++#endif
+ 		return (0);
+ 	}
+ 	*cpp = strdup(gl.gl_pathv[0]);	/* XXX - wasted memory */
++#ifdef HAVE_GLOB
+ 	globfree(&gl);
++#else
++	roken_globfree(&gl);
++#endif
++
+ 	return (1);
+ }
+ 
+diff -u -r 1.1/heimdal-0.4e/appl/ftp/ftp/ftp_locl.h 1.1.changes/heimdal-0.4e/appl/ftp/ftp/ftp_locl.h
+--- heimdal-0.4e/appl/ftp/ftp/ftp_locl.h	2001-08-22 22:30:19.000000000 +0200
++++ heimdal-0.4e/appl/ftp/ftp/ftp_locl.h	2002-08-12 14:58:58.000000000 +0200
+@@ -101,7 +101,11 @@
+ 
+ #include <errno.h>
+ #include <ctype.h>
++#ifdef HAVE_GLOB
+ #include <glob.h>
++#else
++#include <roken-glob.h>
++#endif 
+ #ifdef HAVE_NETDB_H
+ #include <netdb.h>
+ #endif
+diff -u -r 1.1/heimdal-0.4e/appl/ftp/ftpd/ftpcmd.y 1.1.changes/heimdal-0.4e/appl/ftp/ftpd/ftpcmd.y
+--- heimdal-0.4e/appl/ftp/ftpd/ftpcmd.y	2001-08-05 08:39:29.000000000 +0200
++++ heimdal-0.4e/appl/ftp/ftpd/ftpcmd.y	2002-08-12 14:58:59.000000000 +0200
+@@ -838,14 +838,22 @@
+ 				 GLOB_BRACE|GLOB_NOCHECK|GLOB_QUOTE|GLOB_TILDE;
+ 
+ 				memset(&gl, 0, sizeof(gl));
++#ifdef HAVE_GLOB
+ 				if (glob($1, flags, NULL, &gl) ||
++#else
++				if (roken_glob($1, flags, NULL, &gl) ||
++#endif
+ 				    gl.gl_pathc == 0) {
+ 					reply(550, "not found");
+ 					$$ = NULL;
+ 				} else {
+ 					$$ = strdup(gl.gl_pathv[0]);
+ 				}
++#ifdef HAVE_GLOB
+ 				globfree(&gl);
++#else
++				roken_globfree(&gl);
++#endif
+ 				free($1);
+ 			} else
+ 				$$ = $1;
+diff -u -r 1.1/heimdal-0.4e/appl/ftp/ftpd/ftpd.c 1.1.changes/heimdal-0.4e/appl/ftp/ftpd/ftpd.c
+--- heimdal-0.4e/appl/ftp/ftpd/ftpd.c	2001-09-13 11:17:14.000000000 +0200
++++ heimdal-0.4e/appl/ftp/ftpd/ftpd.c	2002-08-12 14:58:59.000000000 +0200
+@@ -2204,7 +2204,11 @@
+ 
+     memset(&gl, 0, sizeof(gl));
+     freeglob = 1;
++#ifdef HAVE_GLOB
+     if (glob(whichf, flags, 0, &gl)) {
++#else
++    if (roken_glob(whichf, flags, 0, &gl)) {
++#endif
+       reply(550, "not found");
+       goto out;
+     } else if (gl.gl_pathc == 0) {
+@@ -2314,7 +2318,11 @@
+ out:
+   if (freeglob) {
+     freeglob = 0;
++#ifdef HAVE_GLOB
+     globfree(&gl);
++#else
++    roken_globfree(&gl);
++#endif
+   }
+ }
+ 
+diff -u -r 1.1/heimdal-0.4e/appl/ftp/ftpd/ftpd_locl.h 1.1.changes/heimdal-0.4e/appl/ftp/ftpd/ftpd_locl.h
+--- heimdal-0.4e/appl/ftp/ftpd/ftpd_locl.h	2000-09-19 15:16:44.000000000 +0200
++++ heimdal-0.4e/appl/ftp/ftpd/ftpd_locl.h	2002-08-12 14:59:00.000000000 +0200
+@@ -106,7 +106,11 @@
+ #ifdef HAVE_FCNTL_H
+ #include <fcntl.h>
+ #endif
++#ifdef HAVE_GLOB
+ #include <glob.h>
++#else
++#include <roken-glob.h>
++#endif 
+ #include <limits.h>
+ #ifdef HAVE_PWD_H
+ #include <pwd.h>
+diff -u -r 1.1/heimdal-0.4e/appl/ftp/ftpd/popen.c 1.1.changes/heimdal-0.4e/appl/ftp/ftpd/popen.c
+--- heimdal-0.4e/appl/ftp/ftpd/popen.c	2001-06-19 12:00:25.000000000 +0200
++++ heimdal-0.4e/appl/ftp/ftpd/popen.c	2002-08-12 14:59:00.000000000 +0200
+@@ -55,7 +55,11 @@
+ #include <sys/wait.h>
+ 
+ #include <errno.h>
++#ifdef HAVE_GLOB
+ #include <glob.h>
++#else
++#include <roken-glob.h>
++#endif
+ #include <signal.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+@@ -148,14 +152,22 @@
+ 		    ;
+ 
+ 		memset(&gl, 0, sizeof(gl));
++#ifdef HAVE_GLOB
+ 		if (no_glob || glob(argv[argc], flags, NULL, &gl))
++#else
++		if (no_glob || roken_glob(argv[argc], flags, NULL, &gl))
++#endif
+ 			gargv[gargc++] = strdup(argv[argc]);
+ 		else
+ 			for (pop = gl.gl_pathv;
+ 			     *pop && gargc < MAXGLOBS - 1;
+ 			     pop++)
+ 				gargv[gargc++] = strdup(*pop);
++#ifdef HAVE_GLOB
+ 		globfree(&gl);
++#else
++		roken_globfree(&gl);
++#endif
+ 	}
+ 	gargv[gargc] = NULL;
+ 
+
--- heimdal-0.6.3.orig/debian/patches-0.4e/036patch.roken-glob.instead.of.roken
+++ heimdal-0.6.3/debian/patches-0.4e/036patch.roken-glob.instead.of.roken
@@ -0,0 +1,98 @@
+diff -u -r build-tree.org/heimdal-0.4e/lib/roken/Makefile.am build-tree/heimdal-0.4e/lib/roken/Makefile.am
+--- heimdal-0.4e/lib/roken/Makefile.am	Mon Sep 17 02:54:49 2001
++++ heimdal-0.4e/lib/roken/Makefile.am	Tue Jul  2 17:24:18 2002
+@@ -176,7 +176,7 @@
+ if have_glob_h
+ glob_h =
+ else
+-glob_h = glob.h
++glob_h = roken-glob.h
+ endif
+ 
+ if have_ifaddrs_h
+@@ -213,6 +213,8 @@
+ SUFFIXES = .hin
+ .hin.h:
+ 	cp $< $@
++roken-glob.h:
++	cp glob.hin roken-glob.h
+ 
+ roken.h: make-roken$(EXEEXT)
+ 	@./make-roken$(EXEEXT) > tmp.h ;\
+diff -u heimdal-0.4e/lib/roken/Makefile.in.org  heimdal-0.4e/lib/roken/Makefile.in
+--- heimdal-0.4e/lib/roken/Makefile.in.org     2002-08-12 17:01:32.000000000 +0200
++++ heimdal-0.4e/lib/roken/Makefile.in 2002-08-12 17:02:36.000000000 +0200
+@@ -374,7 +374,7 @@
+ @have_fnmatch_h_FALSE@fnmatch_h = fnmatch.h
+ 
+ @have_glob_h_TRUE@glob_h = 
+-@have_glob_h_FALSE@glob_h = glob.h
++@have_glob_h_FALSE@glob_h = roken-glob.h
+ 
+ @have_ifaddrs_h_TRUE@ifaddrs_h = 
+ @have_ifaddrs_h_FALSE@ifaddrs_h = ifaddrs.h
+@@ -997,6 +997,9 @@
+ $(LTLIBOBJS) $(libroken_la_OBJECTS): $(include_HEADERS) roken.h $(XHEADERS)
+ .hin.h:
+	cp $< $@
++roken-glob.h:
++	cp glob.hin roken-glob.h
++
+ 
+ roken.h: make-roken$(EXEEXT)
+        @./make-roken$(EXEEXT) > tmp.h ;\
+diff -u -r heimdal-0.4e/lib/roken/glob.c build-tree/heimdal-0.4e/lib/roken/glob.c
+--- heimdal-0.4e/lib/roken/glob.c	Tue Aug 21 17:32:44 2001
++++ heimdal-0.4e/lib/roken/glob.c	Tue Jul  2 17:19:11 2002
+@@ -91,7 +91,7 @@
+ #include <limits.h>
+ #endif
+ 
+-#include "glob.h"
++#include "roken-glob.h"
+ #include "roken.h"
+ 
+ #ifndef ARG_MAX
+@@ -171,7 +171,7 @@
+ #endif
+ 
+ int
+-glob(const char *pattern, 
++roken_glob(const char *pattern, 
+      int flags, 
+      int (*errfunc)(const char *, int), 
+      glob_t *pglob)
+@@ -746,7 +746,7 @@
+ 
+ /* Free allocated data belonging to a glob_t structure. */
+ void
+-globfree(glob_t *pglob)
++roken_globfree(glob_t *pglob)
+ {
+ 	int i;
+ 	char **pp;
+diff -u -r heimdal-0.4e/lib/roken/glob.hin build-tree/heimdal-0.4e/lib/roken/glob.hin
+--- heimdal-0.4e/lib/roken/glob.hin	Mon Mar 26 01:43:19 2001
++++ heimdal-0.4e/lib/roken/glob.hin	Tue Jul  2 17:17:33 2002
+@@ -36,8 +36,8 @@
+  *	@(#)glob.h	8.1 (Berkeley) 6/2/93
+  */
+ 
+-#ifndef _GLOB_H_
+-#define	_GLOB_H_
++#ifndef _ROKEN_GLOB_H_
++#define	_ROKEN_GLOB_H_
+ 
+ struct stat;
+ typedef struct {
+@@ -79,7 +79,7 @@
+ #define	GLOB_NOSPACE	(-1)	/* Malloc call failed. */
+ #define	GLOB_ABEND	(-2)	/* Unignored error. */
+ 
+-int	glob (const char *, int, int (*)(const char *, int), glob_t *);
+-void	globfree (glob_t *);
++int	roken_glob (const char *, int, int (*)(const char *, int), glob_t *);
++void	roken_globfree (glob_t *);
+ 
+-#endif /* !_GLOB_H_ */
++#endif /* !_ROKEN_GLOB_H_ */
--- heimdal-0.6.3.orig/debian/patches-0.4e-old/011_sharedlibs
+++ heimdal-0.6.3/debian/patches-0.4e-old/011_sharedlibs
@@ -0,0 +1,142 @@
+diff -ruN heimdal-0.4e-old/cf/Makefile.am.common heimdal-0.4e/cf/Makefile.am.common
+--- heimdal-0.4e-old/cf/Makefile.am.common	Sat Sep  1 21:12:18 2001
++++ heimdal-0.4e/cf/Makefile.am.common	Thu Nov 15 11:59:31 2001
+@@ -169,8 +169,7 @@
+ endif
+ 
+ if KRB5
+-LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
+-	$(top_builddir)/lib/asn1/libasn1.la
++LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
+ LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ endif
+ 
+diff -ruN heimdal-0.4e-old/configure.in heimdal-0.4e/configure.in
+--- heimdal-0.4e-old/configure.in	Thu Sep  6 22:22:03 2001
++++ heimdal-0.4e/configure.in	Thu Nov 15 12:01:18 2001
+@@ -86,14 +86,17 @@
+ 	LIB_openldap="-R $openldap_libdir $LIB_openldap"
+ fi
+ 
+-AC_TEST_PACKAGE_NEW(krb4,[#include <krb.h>],-lkrb,-ldes,/usr/athena, KRB4)
++AC_TEST_PACKAGE_NEW(krb4,[#include <krb.h>],-lkrb,,,KRB4)
++if test "$krb4_libdir" = "/usr/lib"; then
++  krb4_libdir="";
++fi
+ 
+ LIB_kdb=
+ if test "$with_krb4" != "no"; then
+ 	save_CFLAGS="$CFLAGS"
+ 	CFLAGS="$CFLAGS $INCLUDE_krb4"
+ 	save_LIBS="$LIBS"
+-	LIBS="$LIB_krb4 -ldes $LIBS"
++	LIBS="$LIB_krb4 $LIBS"
+ 	EXTRA_LIB45=lib45.a
+ 	AC_SUBST(EXTRA_LIB45)
+ 	AC_CACHE_CHECK(for four valued krb_put_int, ac_cv_func_krb_put_int_four,
+@@ -156,7 +159,7 @@
+ 	LIBS="$save_LIBS"
+ 	CFLAGS="$save_CFLAGS"
+ 	LIB_kdb="-lkdb -lkrb"
+-	if test "$krb4_libdir"; then
++	if test "$krb4_libdir" != ""; then
+ 		LIB_krb4="-R $krb4_libdir $LIB_krb4"
+ 		LIB_kdb="-R $krb4_libdir -L$krb4_libdir $LIB_kdb"
+ 	fi
+diff -ruN heimdal-0.4e-old/lib/asn1/Makefile.am heimdal-0.4e/lib/asn1/Makefile.am
+--- heimdal-0.4e-old/lib/asn1/Makefile.am	Mon Sep  3 02:56:45 2001
++++ heimdal-0.4e/lib/asn1/Makefile.am	Thu Nov 15 11:59:31 2001
+@@ -6,6 +6,8 @@
+ 
+ lib_LTLIBRARIES = libasn1.la
+ libasn1_la_LDFLAGS = -version-info 5:0:0
++libasn1_la_LIBADD = \
++	$(top_builddir)/lib/com_err/libcom_err.la
+ 
+ libasn1_la_LIBADD = @LIB_com_err@
+ 
+diff -ruN heimdal-0.4e-old/lib/editline/Makefile.am heimdal-0.4e/lib/editline/Makefile.am
+--- heimdal-0.4e-old/lib/editline/Makefile.am	Wed Nov 15 10:22:29 2000
++++ heimdal-0.4e/lib/editline/Makefile.am	Thu Nov 15 11:59:31 2001
+@@ -38,13 +38,13 @@
+ 	unix.h \
+ 	$(EXTRA_SOURCE)
+ 
+-libeditline_la_LDFLAGS = -static
++libeditline_la_LDFLAGS = -no-undefined
+ 
+ EXTRA_SOURCE = $(ES) 
+ 
+ libel_compat_la_SOURCES = edit_compat.c
+ 
+-libel_compat_la_LDFLAGS = -static
++libel_compat_la_LDFLAGS = -no-undefined
+ 
+ EXTRA_DIST = $(man_MANS)
+ 
+diff -ruN heimdal-0.4e-old/lib/krb5/Makefile.am heimdal-0.4e/lib/krb5/Makefile.am
+--- heimdal-0.4e-old/lib/krb5/Makefile.am	Thu Sep  6 22:19:16 2001
++++ heimdal-0.4e/lib/krb5/Makefile.am	Thu Nov 15 11:59:31 2001
+@@ -11,16 +11,15 @@
+ check_PROGRAMS = n-fold-test string-to-key-test derived-key-test store-test
+ TESTS = n-fold-test string-to-key-test derived-key-test store-test 
+ 
+-LDADD = libkrb5.la \
+-	$(LIB_des) \
+-	$(top_builddir)/lib/asn1/libasn1.la \
+-	$(LIB_roken)
++LDADD = libkrb5.la
+ 
+ libkrb5_la_LIBADD = \
+-	../com_err/error.lo ../com_err/com_err.lo \
++	$(LIB_res_search) \
++	$(top_builddir)/lib/com_err/libcom_err.la \
+ 	$(LIB_des) \
+ 	$(top_builddir)/lib/asn1/libasn1.la \
+-	$(LIB_roken)
++	$(LIB_roken) \
++	$(LIB_dbopen)
+ 
+ lib_LTLIBRARIES = libkrb5.la
+ 
+diff -ruN heimdal-0.4e-old/lib/vers/Makefile.am heimdal-0.4e/lib/vers/Makefile.am
+--- heimdal-0.4e-old/lib/vers/Makefile.am	Fri Aug 24 08:41:03 2001
++++ heimdal-0.4e/lib/vers/Makefile.am	Mon Nov 19 17:18:52 2001
+@@ -14,11 +14,12 @@
+ if KRB5
+ ## need to link with des here; otherwise, if krb4 is shared the link
+ ## will fail with unresolved references
+-make_print_version_LDADD = $(LIB_krb4) -ldes
++make_print_version_LDADD = $(LIB_krb4)
+ endif
+ endif
+ 
+ libvers_la_SOURCES	= print_version.c
++libvers_la_LDFLAGS	= -no-undefined
+ 
+ print_version.lo: print_version.h
+ 
+diff -ruN heimdal-0.4e-old/tools/krb5-config.in heimdal-0.4e/tools/krb5-config.in
+--- heimdal-0.4e-old/tools/krb5-config.in	Mon Jan 29 17:56:51 2001
++++ heimdal-0.4e/tools/krb5-config.in	Thu Nov 15 11:59:31 2001
+@@ -89,6 +89,9 @@
+ if test "$do_libs" = "yes"; then
+     lib_flags="-L${libdir}"
+     case $library in
++    krb5)
++	lib_flags="$lib_flags -lkrb5"
++	;;
+     gssapi)
+ 	lib_flags="$lib_flags -lgssapi"
+ 	;;
+@@ -99,8 +102,8 @@
+ 	lib_flags="$lib_flags -lkadm5srv"
+ 	;;
+     esac
+-    lib_flags="$lib_flags -lkrb5 -lasn1 @LIB_des_appl@ -lroken"
+-    lib_flags="$lib_flags @LIB_crypt@ @LIB_dbopen@ @LIBS@"
++#    lib_flags="$lib_flags -lkrb5 -lasn1 @LIB_des_appl@ -lroken"
++#    lib_flags="$lib_flags @LIB_crypt@ @LIB_dbopen@ @LIBS@"
+     echo $lib_flags
+ fi
+ if test "$do_cflags" = "yes"; then
--- heimdal-0.6.3.orig/debian/patches-0.4e-old/001_kstash
+++ heimdal-0.6.3/debian/patches-0.4e-old/001_kstash
@@ -0,0 +1,69 @@
+From nobody Wed Dec  5 16:05:13 2001
+Return-Path: <nectar@nectar.com>
+Delivered-To: bam-debian@snoopy.apana.org.au
+Received: from master.debian.org (master.debian.org [216.234.231.5])
+	by snoopy.apana.org.au (Postfix) with ESMTP id AC8771CF9F
+	for <bam-debian@snoopy.apana.org.au>; Fri, 30 Nov 2001 15:19:00 +1100 (EST)
+Received: from gw.nectar.com [208.42.49.153] 
+	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
+	id 169f8g-0004gj-00; Thu, 29 Nov 2001 22:19:02 -0600
+Received: from madman.nectar.com (madman.nectar.com [10.0.1.111])
+	by gw.nectar.com (Postfix) with ESMTP
+	id 956332F; Thu, 29 Nov 2001 22:19:01 -0600 (CST)
+Received: (from nectar@localhost)
+	by madman.nectar.com (8.11.6/8.11.3) id fAU4ItC53052;
+	Thu, 29 Nov 2001 22:18:55 -0600 (CST)
+	(envelope-from nectar)
+Date: Thu, 29 Nov 2001 22:18:55 -0600
+From: "Jacques A. Vidrine" <n@nectar.com>
+To: Brian May <bam@debian.org>
+Cc: heimdal-bugs@pdc.kth.se,
+	"Mark A. Hershberger" <mah@everybody.org>,
+	120502-forwarded@bugs.debian.org
+Subject: Re: Bug#120502: heimdal-kdc; kstash segfault w/o krb5.conf
+Message-ID: <20011130041855.GD52946@madman.nectar.com>
+Mail-Followup-To: "Jacques A. Vidrine" <n@nectar.com>,
+	Brian May <bam@debian.org>, heimdal-bugs@pdc.kth.se,
+	"Mark A. Hershberger" <mah@everybody.org>,
+	120502-forwarded@bugs.debian.org
+References: <E166YKW-00017n-00@mah.mcdermott.com> <20011126094806.A10424@snoopy.apana.org.au>
+Mime-Version: 1.0
+Content-Type: text/plain; charset=us-ascii
+Content-Disposition: inline
+In-Reply-To: <20011126094806.A10424@snoopy.apana.org.au>
+User-Agent: Mutt/1.3.23.1i
+X-Url: http://www.nectar.com/
+
+On Mon, Nov 26, 2001 at 09:48:06AM +1100, Brian May wrote:
+> (please keep CCs in reply for tracking by the Debian bug reporting
+> system - thanks)
+> 
+> Hello,
+> 
+> I received this bug report on kstash:
+> 
+> > Without a krb5.conf, kstash segfaults.
+> 
+
+Thanks for your report!
+Would you mind trying the following patch?
+
+--- heimdal-0.4e/lib/hdb/mkey.c	2001/09/18 07:42:09
++++ heimdal-0.4e/lib/hdb/mkey.c	2001/11/30 04:17:42
+@@ -50,7 +50,8 @@
+     struct hdb_master_key_data *ptr;
+     while(mkey) {
+ 	krb5_kt_free_entry(context, &mkey->keytab);
+-	krb5_crypto_destroy(context, mkey->crypto);
++	if (mkey->crypto)
++	    krb5_crypto_destroy(context, mkey->crypto);
+ 	ptr = mkey;
+ 	mkey = mkey->next;
+ 	free(ptr);
+
+
+-- 
+Jacques A. Vidrine <n@nectar.com>                   http://www.nectar.com/
+NTT/Verio SME           .      FreeBSD UNIX      .        Heimdal Kerberos
+jvidrine@verio.net      .   nectar@FreeBSD.org   .           nectar@kth.se
+
--- heimdal-0.6.3.orig/debian/patches-0.4e-old/012_sharedlibs
+++ heimdal-0.6.3/debian/patches-0.4e-old/012_sharedlibs
@@ -0,0 +1,70 @@
+diff -ruN heimdal-0.4e-old/cf/krb-readline.m4 heimdal-0.4e/cf/krb-readline.m4
+--- heimdal-0.4e-old/cf/krb-readline.m4	Wed Nov 15 11:47:08 2000
++++ heimdal-0.4e/cf/krb-readline.m4	Sun Oct 28 17:52:01 2001
+@@ -28,16 +28,15 @@
+ 	:
+ elif test "$ac_cv_func_el_init" = yes; then
+ 	ac_foo=yes
++	DIR_readline="editline"
+ 	LIB_readline="\$(top_builddir)/lib/editline/libel_compat.la $LIB_el_init"
+ else
++	DIR_readline="editline"
+ 	LIB_readline='$(top_builddir)/lib/editline/libeditline.la'
+ fi
+ AM_CONDITIONAL(el_compat, test "$ac_foo" = yes)
+-if test "$readline_libdir"; then
+-	LIB_readline="-rpath $readline_libdir $LIB_readline"
+-fi
+ LIB_readline="$LIB_readline \$(LIB_tgetent)"
+ AC_DEFINE(HAVE_READLINE, 1, 
+ 	[Define if you have a readline compatible library.])dnl
+ 
+-])
+\ No newline at end of file
++])
+diff -ruN heimdal-0.4e-old/cf/test-package.m4 heimdal-0.4e/cf/test-package.m4
+--- heimdal-0.4e-old/cf/test-package.m4	Fri Dec 15 15:54:24 2000
++++ heimdal-0.4e/cf/test-package.m4	Sun Oct 28 17:54:18 2001
+@@ -39,7 +39,7 @@
+ header_dirs=
+ lib_dirs=
+ d='$5'
+-for i in $d; do
++for i in $d /usr; do
+ 	header_dirs="$header_dirs $i/include"
+ 	lib_dirs="$lib_dirs $i/lib$abilibdirext"
+ done
+@@ -72,6 +72,7 @@
+ if test "$ires" -a "$lres" -a "$with_$1" != "no"; then
+ 	$1_includedir="$ires"
+ 	$1_libdir="$lres"
++	DIR_$1=
+ 	INCLUDE_$1="-I$$1_includedir"
+ 	LIB_$1="-L$$1_libdir $3"
+ 	m4_ifval([$6],
+@@ -80,6 +81,7 @@
+ 	with_$1=yes
+ 	AC_MSG_RESULT([headers $ires, libraries $lres])
+ else
++	DIR_$1=
+ 	INCLUDE_$1=
+ 	LIB_$1=
+ 	with_$1=no
+@@ -88,6 +90,7 @@
+ dnl m4_ifval([$6],
+ dnl 	AM_CONDITIONAL($6, test "$with_$1" = yes)
+ dnl 	AM_CONDITIONAL(upcase($1), test "$with_$1" = yes))
++AC_SUBST(DIR_$1)
+ AC_SUBST(INCLUDE_$1)
+ AC_SUBST(LIB_$1)
+ ])
+diff -ruN heimdal-0.4e-old/lib/Makefile.am heimdal-0.4e/lib/Makefile.am
+--- heimdal-0.4e-old/lib/Makefile.am	Wed Aug 29 04:44:41 2001
++++ heimdal-0.4e/lib/Makefile.am	Sun Oct 28 17:55:47 2001
+@@ -12,5 +12,5 @@
+ dir_dce = kdfs
+ endif
+ 
+-SUBDIRS = @DIR_roken@ vers editline @DIR_com_err@ sl asn1 @DIR_des@ krb5 \
++SUBDIRS = @DIR_roken@ vers @DIR_readline@ @DIR_com_err@ sl asn1 @DIR_des@ krb5 \
+ 	kafs hdb kadm5 gssapi auth $(dir_45) $(dir_otp) $(dir_dce)
--- heimdal-0.6.3.orig/debian/patches-0.4e-old/013_maildir
+++ heimdal-0.6.3/debian/patches-0.4e-old/013_maildir
@@ -0,0 +1,40 @@
+Index: heimdal-0.4e/appl/popper/pop_pass.c
+===================================================================
+RCS file: /homes/bam/cvsroot/debian/heimdal/appl/popper/pop_pass.c,v
+retrieving revision 1.1.1.3
+retrieving revision 1.5
+diff -c -r1.1.1.3 -r1.5
+*** heimdal-0.4e/appl/popper/pop_pass.c 2000/05/19 05:23:42 1.1.1.3
+--- heimdal-0.4e/appl/popper/pop_pass.c	2000/05/19 05:33:06	1.5
+***************
+*** 197,203 ****
+  	    p->ipaddr, p->user);
+  
+      /*  Build the name of the user's maildrop */
+!     snprintf(p->drop_name, sizeof(p->drop_name), "%s/%s", POP_MAILDIR, p->user);
+  
+      if(stat(p->drop_name, &st) < 0 || !S_ISDIR(st.st_mode)){
+  	/*  Make a temporary copy of the user's maildrop */
+--- 197,218 ----
+  	    p->ipaddr, p->user);
+  
+      /*  Build the name of the user's maildrop */
+! 
+!     /* Try ~/Maildir */
+!     if (pw->pw_dir != NULL)
+! 	{
+!         snprintf(p->drop_name, sizeof(p->drop_name), "%s/%s", pw->pw_dir, "Maildir");
+! 	}
+!     if(pw->pw_dir != NULL && stat(p->drop_name, &st) < 0)
+! 	{
+!     	/* else try ~/Mailbox */
+! 	snprintf(p->drop_name, sizeof(p->drop_name), "%s/%s", pw->pw_dir, "Mailbox");
+! 	}
+!     if(pw->pw_dir == NULL || stat(p->drop_name, &st) < 0)
+! 	{
+!     	/* else try /var/spool/mail/userid */
+! 	snprintf(p->drop_name, sizeof(p->drop_name), "%s/%s", POP_MAILDIR, p->user);
+! 	}
+  
+      if(stat(p->drop_name, &st) < 0 || !S_ISDIR(st.st_mode)){
+  	/*  Make a temporary copy of the user's maildrop */
--- heimdal-0.6.3.orig/debian/patches-0.4e-old/014_cache
+++ heimdal-0.6.3/debian/patches-0.4e-old/014_cache
@@ -0,0 +1,152 @@
+diff -ruN heimdal-0.4e-old/lib/krb5/cache.c heimdal-0.4e/lib/krb5/cache.c
+--- heimdal-0.4e-old/lib/krb5/cache.c	Mon May 14 16:14:45 2001
++++ heimdal-0.4e/lib/krb5/cache.c	Tue Jun 19 20:16:49 2001
+@@ -99,13 +99,28 @@
+ {
+     krb5_error_code ret;
+     krb5_ccache p;
++    krb5_cc_ops *q;
+ 
+     p = malloc(sizeof(*p));
+     if(p == NULL) {
+ 	krb5_set_error_string(context, "malloc: out of memory");
+ 	return KRB5_CC_NOMEM;
+     }
+-    p->ops = ops;
++
++    q = malloc(sizeof(*q));
++    if(q == NULL) {
++	krb5_set_error_string(context, "malloc: out of memory");
++        return KRB5_CC_NOMEM;
++    }
++    memcpy(q, ops, sizeof(*q));
++    q->prefix = strdup(ops->prefix);
++    if(q->prefix == NULL) {
++        free(q);
++	krb5_set_error_string(context, "strdup: out of memory");
++        return KRB5_CC_NOMEM;
++    }
++
++    p->ops = q;
+     *id = p;
+     ret = p->ops->resolve(context, id, residual);
+     if(ret)
+@@ -155,13 +170,28 @@
+ 		krb5_ccache *id)
+ {
+     krb5_ccache p;
++    krb5_cc_ops *q;
+ 
+     p = malloc (sizeof(*p));
+     if (p == NULL) {
+ 	krb5_set_error_string(context, "malloc: out of memory");
+ 	return KRB5_CC_NOMEM;
+     }
+-    p->ops = ops;
++
++    q = malloc(sizeof(*q));
++    if(q == NULL) {
++	krb5_set_error_string(context, "malloc: out of memory");
++        return KRB5_CC_NOMEM;
++    }
++    memcpy(q, ops, sizeof(*q));
++    q->prefix = strdup(ops->prefix);
++    if(q->prefix == NULL) {
++        free(q);
++	krb5_set_error_string(context, "strdup: out of memory");
++        return KRB5_CC_NOMEM;
++    }
++
++    p->ops = q;
+     *id = p;
+     return p->ops->gen_new(context, id);
+ }
+@@ -264,6 +294,8 @@
+ {
+     krb5_error_code ret;
+     ret = id->ops->close(context, id);
++    free(id->ops->prefix);
++    free((krb5_cc_ops *)id->ops);
+     free(id);
+     return ret;
+ }
+diff -ruN heimdal-0.4e-old/lib/krb5/cache.c.rej heimdal-0.4e/lib/krb5/cache.c.rej
+--- heimdal-0.4e-old/lib/krb5/cache.c.rej	Thu Jan  1 10:00:00 1970
++++ heimdal-0.4e/lib/krb5/cache.c.rej	Tue Jun 19 20:10:36 2001
+@@ -0,0 +1,76 @@
++***************
++*** 89,99 ****
++  {
++      krb5_error_code ret;
++      krb5_ccache p;
++  
++      p = malloc(sizeof(*p));
++      if(p == NULL)
++  	return KRB5_CC_NOMEM;
++-     p->ops = ops;
++      *id = p;
++      ret = p->ops->resolve(context, id, residual);
++      if(ret)
++--- 89,112 ----
++  {
++      krb5_error_code ret;
++      krb5_ccache p;
+++     krb5_cc_ops *q;
++  
++      p = malloc(sizeof(*p));
++      if(p == NULL)
++  	return KRB5_CC_NOMEM;
+++ 
+++     q = malloc(sizeof(*q));
+++     if(q == NULL)
+++         return KRB5_CC_NOMEM;
+++     memcpy(q, ops, sizeof(*q));
+++     q->prefix = strdup(ops->prefix);
+++     if(q->prefix == NULL)
+++     {
+++         free(q);
+++         return KRB5_CC_NOMEM;
+++     }
+++     
+++     p->ops = q;
++      *id = p;
++      ret = p->ops->resolve(context, id, residual);
++      if(ret)
++***************
++*** 141,151 ****
++  		krb5_ccache *id)
++  {
++      krb5_ccache p;
++  
++      p = malloc (sizeof(*p));
++      if (p == NULL)
++  	return KRB5_CC_NOMEM;
++-     p->ops = ops;
++      *id = p;
++      return p->ops->gen_new(context, id);
++  }
++--- 154,177 ----
++  		krb5_ccache *id)
++  {
++      krb5_ccache p;
+++     krb5_cc_ops *q;
++  
++      p = malloc (sizeof(*p));
++      if (p == NULL)
++  	return KRB5_CC_NOMEM;
+++ 
+++     q = malloc(sizeof(*q));
+++     if(q == NULL)
+++         return KRB5_CC_NOMEM;
+++     memcpy(q, ops, sizeof(*q));
+++     q->prefix = strdup(ops->prefix);
+++     if(q->prefix == NULL)
+++     {
+++         free(q);
+++         return KRB5_CC_NOMEM;
+++     }
+++     
+++     p->ops = q;
++      *id = p;
++      return p->ops->gen_new(context, id);
++  }
--- heimdal-0.6.3.orig/debian/patches-0.4e-old/021_debian
+++ heimdal-0.6.3/debian/patches-0.4e-old/021_debian
@@ -0,0 +1,50 @@
+Index: heimdal-0.4e/appl/telnet/telnetd/telnetd.h
+===================================================================
+RCS file: /homes/bam/cvsroot/debian/heimdal/appl/telnet/telnetd/telnetd.h,v
+retrieving revision 1.1.1.2
+retrieving revision 1.2
+diff -c -r1.1.1.2 -r1.2
+*** heimdal-0.4e/appl/telnet/telnetd/telnetd.h 1999/07/24 08:24:26 1.1.1.2
+--- appl/telnet/telnetd/telnetd.h	2000/01/06 09:22:48	1.2
+***************
+*** 193,199 ****
+  #endif
+  
+  #undef _PATH_LOGIN
+! #define _PATH_LOGIN	BINDIR "/login"
+  
+  /* fallbacks */
+  
+--- 193,199 ----
+  #endif
+  
+  #undef _PATH_LOGIN
+! #define _PATH_LOGIN	"/bin/login"
+  
+  /* fallbacks */
+  
+Index: heimdal-0.4e/lib/hdb/hdb.h
+===================================================================
+RCS file: /homes/bam/cvsroot/debian/heimdal/lib/hdb/hdb.h,v
+retrieving revision 1.1.1.4
+retrieving revision 1.3
+diff -c -r1.1.1.4 -r1.3
+*** heimdal-0.4e/lib/hdb/hdb.h 2000/07/31 03:16:43 1.1.1.4
+--- heimdal-0.4e/lib/hdb/hdb.h	2000/07/31 03:22:57	1.3
+***************
+*** 78,84 ****
+      krb5_error_code (*destroy)(krb5_context, struct HDB*);
+  }HDB;
+  
+! #define HDB_DB_DIR "/var/heimdal"
+  #define HDB_DEFAULT_DB HDB_DB_DIR "/heimdal"
+  #define HDB_DB_FORMAT_ENTRY "hdb/db-format"
+  
+--- 78,84 ----
+      krb5_error_code (*destroy)(krb5_context, struct HDB*);
+  }HDB;
+  
+! #define HDB_DB_DIR "/var/lib/heimdal-kdc"
+  #define HDB_DEFAULT_DB HDB_DB_DIR "/heimdal"
+  #define HDB_DB_FORMAT_ENTRY "hdb/db-format"
+  
--- heimdal-0.6.3.orig/debian/patches-0.4e-old/030_autotools
+++ heimdal-0.6.3/debian/patches-0.4e-old/030_autotools
@@ -0,0 +1,51423 @@
+diff -ruN heimdal-0.4e-old/Makefile.in heimdal-0.4e/Makefile.in
+--- heimdal-0.4e-old/Makefile.in	Thu Sep  6 22:22:37 2001
++++ heimdal-0.4e/Makefile.in	Wed Nov 21 11:52:35 2001
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.16 2000/11/15 22:54:15 assar Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = .
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,9 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,6 +89,7 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+@@ -105,7 +109,6 @@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,20 +122,17 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+ 
+-# $Id: Makefile.am,v 1.16 2000/11/15 22:54:15 assar Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
+-
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+ SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+@@ -189,13 +189,12 @@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+@@ -207,76 +206,65 @@
+ subdir = .
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ./include/config.h
+-CONFIG_CLEAN_FILES = 
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++depcomp =
+ CFLAGS = @CFLAGS@
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES = 
+-depcomp = 
+-DIST_COMMON =  README ChangeLog Makefile.am Makefile.in NEWS TODO \
+-acconfig.h acinclude.m4 aclocal.m4 config.guess config.sub configure \
+-configure.in install-sh ltconfig ltmain.sh missing mkinstalldirs
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++DIST_SOURCES =
++
++RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \
++	uninstall-info-recursive all-recursive install-data-recursive \
++	install-exec-recursive installdirs-recursive install-recursive \
++	uninstall-recursive check-recursive installcheck-recursive
++DIST_COMMON = README ChangeLog Makefile.am Makefile.in NEWS TODO \
++	acconfig.h acinclude.m4 aclocal.m4 config.guess config.sub \
++	configure configure.in install-sh ltconfig ltmain.sh missing \
++	mkinstalldirs
++DIST_SUBDIRS = $(SUBDIRS)
++all: all-recursive
++
++.SUFFIXES:
++.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c
+ 
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++clean-libtool:
++	-rm -rf .libs _libs
+ 
+-GZIP_ENV = --best
+-DIST_SUBDIRS =  $(SUBDIRS)
+-all: all-redirect
+-.SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
+-
+-$(ACLOCAL_M4):  configure.in  acinclude.m4 cf/aix.m4 cf/auth-modules.m4 \
+-		cf/broken-getaddrinfo.m4 cf/broken-getnameinfo.m4 \
+-		cf/broken-glob.m4 cf/broken-realloc.m4 \
+-		cf/broken-snprintf.m4 cf/broken.m4 cf/broken2.m4 \
+-		cf/c-attribute.m4 cf/c-function.m4 cf/capabilities.m4 \
+-		cf/check-compile-et.m4 cf/check-declaration.m4 \
+-		cf/check-getpwnam_r-posix.m4 cf/check-man.m4 \
+-		cf/check-netinet-ip-and-tcp.m4 cf/check-type-extra.m4 \
+-		cf/check-var.m4 cf/check-x.m4 cf/check-xau.m4 \
+-		cf/crypto.m4 cf/db.m4 cf/find-func-no-libs.m4 \
+-		cf/find-func-no-libs2.m4 cf/find-func.m4 \
+-		cf/find-if-not-broken.m4 cf/grok-type.m4 \
+-		cf/have-pragma-weak.m4 cf/have-struct-field.m4 \
+-		cf/have-type.m4 cf/have-types.m4 cf/krb-bigendian.m4 \
+-		cf/krb-find-db.m4 cf/krb-func-getcwd-broken.m4 \
+-		cf/krb-func-getlogin.m4 cf/krb-ipv6.m4 cf/krb-irix.m4 \
+-		cf/krb-prog-ln-s.m4 cf/krb-prog-ranlib.m4 \
+-		cf/krb-prog-yacc.m4 cf/krb-readline.m4 \
+-		cf/krb-struct-spwd.m4 cf/krb-struct-winsize.m4 \
+-		cf/krb-sys-aix.m4 cf/krb-sys-nextstep.m4 \
+-		cf/krb-version.m4 cf/mips-abi.m4 cf/misc.m4 \
+-		cf/need-proto.m4 cf/osfc2.m4 cf/proto-compat.m4 \
+-		cf/retsigtype.m4 cf/roken-frag.m4 cf/roken.m4 \
+-		cf/shared-libs.m4 cf/test-package.m4 cf/wflags.m4 \
+-		cf/with-all.m4
+-	cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  Makefile
++Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$@ $(SHELL) ./config.status
+ 
+-config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
++$(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ 	$(SHELL) ./config.status --recheck
+-$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
++$(srcdir)/configure:  $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
+ 	cd $(srcdir) && $(AUTOCONF)
+ 
++$(ACLOCAL_M4):  configure.in acinclude.m4 cf/aix.m4 cf/auth-modules.m4 cf/broken-getaddrinfo.m4 cf/broken-getnameinfo.m4 cf/broken-glob.m4 cf/broken-realloc.m4 cf/broken-snprintf.m4 cf/broken.m4 cf/broken2.m4 cf/c-attribute.m4 cf/c-function.m4 cf/capabilities.m4 cf/check-compile-et.m4 cf/check-declaration.m4 cf/check-getpwnam_r-posix.m4 cf/check-man.m4 cf/check-netinet-ip-and-tcp.m4 cf/check-type-extra.m4 cf/check-var.m4 cf/check-x.m4 cf/check-xau.m4 cf/crypto.m4 cf/db.m4 cf/find-func-no-libs.m4 cf/find-func-no-libs2.m4 cf/find-func.m4 cf/find-if-not-broken.m4 cf/grok-type.m4 cf/have-pragma-weak.m4 cf/have-struct-field.m4 cf/have-type.m4 cf/have-types.m4 cf/krb-bigendian.m4 cf/krb-find-db.m4 cf/krb-func-getcwd-broken.m4 cf/krb-func-getlogin.m4 cf/krb-ipv6.m4 cf/krb-irix.m4 cf/krb-prog-ln-s.m4 cf/krb-prog-ranlib.m4 cf/krb-prog-yacc.m4 cf/krb-readline.m4 cf/krb-struct-spwd.m4 cf/krb-struct-winsize.m4 cf/krb-sys-aix.m4 cf/krb-sys-nextstep.m4 cf/krb-version.m4 cf/mips-abi.m4 cf/misc.m4 cf/need-proto.m4 cf/osfc2.m4 cf/proto-compat.m4 cf/retsigtype.m4 cf/roken-frag.m4 cf/roken.m4 cf/shared-libs.m4 cf/test-package.m4 cf/wflags.m4 cf/with-all.m4
++	cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
++uninstall-info-am:
++
+ # This directory's subdirectories are mostly independent; you can cd
+ # into them and run `make' without going through this Makefile.
+ # To change the values of `make' variables: instead of editing Makefiles,
+ # (1) if the variable is set in `config.status', edit `config.status'
+ #     (which will cause the Makefiles to be regenerated when you run `make');
+ # (2) otherwise, pass the desired values on the `make' command line.
+-
+-all-recursive install-data-recursive install-exec-recursive \
+-installdirs-recursive install-recursive uninstall-recursive  \
+-check-recursive installcheck-recursive info-recursive dvi-recursive:
++$(RECURSIVE_TARGETS):
+ 	@set fnord $(MAKEFLAGS); amf=$$2; \
+ 	dot_seen=no; \
+ 	target=`echo $@ | sed s/-recursive//`; \
+@@ -341,9 +329,9 @@
+ 	tags=; \
+ 	here=`pwd`; \
+ 	list='$(SUBDIRS)'; for subdir in $$list; do \
+-   if test "$$subdir" = .; then :; else \
++	  if test "$$subdir" = .; then :; else \
+ 	    test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
+-   fi; \
++	  fi; \
+ 	done; \
+ 	list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
+ 	unique=`for i in $$list; do \
+@@ -357,20 +345,61 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
++top_distdir = .
++# Avoid unsightly `./'.
+ distdir = $(PACKAGE)-$(VERSION)
+-top_distdir = $(distdir)
+ 
++GZIP_ENV = --best
++
++distdir: $(DISTFILES)
++	-chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
++	mkdir $(distdir)
++	@for file in $(DISTFILES); do \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
++	  if test -d $$d/$$file; then \
++	    cp -pR $$d/$$file $(distdir) \
++	    || exit 1; \
++	  else \
++	    test -f $(distdir)/$$file \
++	    || cp -p $$d/$$file $(distdir)/$$file \
++	    || exit 1; \
++	  fi; \
++	done
++	for subdir in $(SUBDIRS); do \
++	  if test "$$subdir" = .; then :; else \
++	    test -d $(distdir)/$$subdir \
++	    || mkdir $(distdir)/$$subdir \
++	    || exit 1; \
++	    (cd $$subdir && \
++	      $(MAKE) $(AM_MAKEFLAGS) \
++	        top_distdir="$(top_distdir)" \
++	        distdir=../$(distdir)/$$subdir \
++	        distdir) \
++	      || exit 1; \
++	  fi; \
++	done
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
++	-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
++	  ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
++	  ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
++	  ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
++	|| chmod -R a+r $(distdir)
++dist: distdir
++	$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
++	-chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
+ 
+ # This target untars the dist file and tries a VPATH configuration.  Then
+ # it guarantees that the distribution is self-contained by making another
+@@ -391,132 +420,107 @@
+ 	  && $(MAKE) $(AM_MAKEFLAGS) install \
+ 	  && $(MAKE) $(AM_MAKEFLAGS) installcheck \
+ 	  && $(MAKE) $(AM_MAKEFLAGS) uninstall \
+-	  && test `find $$dc_install_base -type f -print | wc -l` -le 1 \
++	  && (test `find $$dc_install_base -type f -print | wc -l` -le 1 \
++	     || (echo "Error: files left after uninstall" 1>&2; \
++	         exit 1) ) \
+ 	  && $(MAKE) $(AM_MAKEFLAGS) dist \
+ 	  && $(MAKE) $(AM_MAKEFLAGS) distclean \
+ 	  && rm -f $(distdir).tar.gz \
+-	  && test `find . -type f -print | wc -l` -eq 0
+-	-chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
+-	@banner="$(distdir).tar.gz is ready for distribution"; \
+-	dashes=`echo "$$banner" | sed s/./=/g`; \
+-	echo "$$dashes"; \
+-	echo "$$banner"; \
+-	echo "$$dashes"
+-dist: distdir
+-	-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
+-	  ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
+-	  ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
+-	  ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
+-	|| chmod -R a+r $(distdir)
+-	$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c > $(distdir).tar.gz
++	  && (test `find . -type f -print | wc -l` -eq 0 \
++	     || (echo "Error: files left after distclean" 1>&2; \
++	         exit 1) )
+ 	-chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
+-dist-all: distdir
+-	-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
+-	  ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
+-	  ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
+-	  ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
+-	|| chmod -R a+r $(distdir)
+-	$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c > $(distdir).tar.gz
+-	-chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
+-distdir: $(DISTFILES)
+-	-chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
+-	mkdir $(distdir)
+-	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
+-	  if test -d $$d/$$file; then \
+-	    cp -pR $$d/$$file $(distdir) \
+-	    || exit 1; \
+-	  else \
+-	    test -f $(distdir)/$$file \
+-	    || cp -p $$d/$$file $(distdir)/$$file \
+-	    || exit 1; \
+-	  fi; \
+-	done
+-	for subdir in $(SUBDIRS); do \
+-	  if test "$$subdir" = .; then :; else \
+-	    test -d $(distdir)/$$subdir \
+-	    || mkdir $(distdir)/$$subdir \
+-	    || exit 1; \
+-	    (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
+-	      || exit 1; \
+-	  fi; \
+-	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-recursive
+-dvi-am:
+-dvi: dvi-recursive
++	@echo "$(distdir).tar.gz is ready for distribution" | \
++	  sed 'h;s/./=/g;p;x;p;x'
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-recursive
+-installcheck-am:
+-installcheck: installcheck-recursive
+-install-exec-am:
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-recursive
++all-am: Makefile all-local
++installdirs: installdirs-recursive
++installdirs-am:
+ 
+-install-data-am: install-data-local
++install: install-recursive
++install-exec: install-exec-recursive
+ install-data: install-data-recursive
++uninstall: uninstall-recursive
+ 
+ install-am: all-am
+ 	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+-install: install-recursive
+-uninstall-am:
+-uninstall: uninstall-recursive
+-all-am: Makefile all-local
+-all-redirect: all-recursive
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs: installdirs-recursive
+-installdirs-am:
+-
+ 
++installcheck: installcheck-recursive
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-tags mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-recursive
+ 
+-mostlyclean: mostlyclean-recursive
++clean-am: clean-generic clean-libtool mostlyclean-am
+ 
+-clean-am:  clean-tags clean-generic mostlyclean-am
++dist-all: distdir
++	$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
++	-chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
++distclean: distclean-recursive
++	-rm -f config.status config.cache config.log
++distclean-am: clean-am distclean-generic distclean-libtool \
++	distclean-tags
+ 
+-clean: clean-recursive
++dvi: dvi-recursive
+ 
+-distclean-am:  distclean-tags distclean-generic clean-am
+-	-rm -f libtool
++dvi-am:
+ 
+-distclean: distclean-recursive
+-	-rm -f config.status
++info: info-recursive
+ 
+-maintainer-clean-am:  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."
++info-am:
++
++install-data-am: install-data-local
++
++install-exec-am:
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-recursive
++
++install-man:
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-recursive
+-	-rm -f config.status
+ 
+-.PHONY: install-recursive uninstall-recursive install-data-recursive \
+-uninstall-data-recursive install-exec-recursive \
+-uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
+-all-recursive check-recursive installcheck-recursive info-recursive \
+-dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
+-maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
+-distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
+-dvi-am dvi check-local check check-am installcheck-am installcheck \
+-install-exec-am install-exec install-data-local install-data-am \
+-install-data install-am install uninstall-am uninstall all-local \
+-all-redirect all-am all install-strip installdirs-am installdirs \
+-mostlyclean-generic distclean-generic clean-generic \
+-maintainer-clean-generic clean mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-recursive
++
++mostlyclean-am: mostlyclean-generic mostlyclean-libtool
++
++uninstall-am: uninstall-info-am
++
++uninstall-info: uninstall-info-recursive
++
++.PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am all-local check check-am \
++	check-local clean clean-generic clean-libtool clean-recursive \
++	dist dist-all distcheck distclean distclean-generic \
++	distclean-libtool distclean-recursive distclean-tags distdir \
++	dvi dvi-am dvi-recursive info info-am info-recursive install \
++	install-am install-data install-data-am install-data-local \
++	install-data-recursive install-exec install-exec-am \
++	install-exec-recursive install-info install-info-am \
++	install-info-recursive install-man install-recursive \
++	install-strip installcheck installcheck-am installdirs \
++	installdirs-am installdirs-recursive maintainer-clean \
++	maintainer-clean-generic maintainer-clean-recursive mostlyclean \
++	mostlyclean-generic mostlyclean-libtool mostlyclean-recursive \
++	tags tags-recursive uninstall uninstall-am uninstall-info-am \
++	uninstall-info-recursive uninstall-recursive
+ 
+ 
+ install-suid-programs:
+@@ -646,7 +650,6 @@
+ 	  echo "$$dashes"; \
+ 	  test "$$failed" -eq 0; \
+ 	fi
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/aclocal.m4 heimdal-0.4e/aclocal.m4
+--- heimdal-0.4e-old/aclocal.m4	Thu Sep  6 22:22:21 2001
++++ heimdal-0.4e/aclocal.m4	Wed Nov 21 11:52:00 2001
+@@ -1,6 +1,6 @@
+-# ./aclocal.m4 generated automatically by aclocal 1.4b
++# aclocal.m4 generated automatically by aclocal 1.5
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This file is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -60,29 +60,75 @@
+ AC_PREREQ([2.12])
+ 
+ AC_DEFUN([AM_CONFIG_HEADER],
++[ifdef([AC_FOREACH],dnl
++	 [dnl init our file count if it isn't already
++	 m4_ifndef([_AM_Config_Header_Index], m4_define([_AM_Config_Header_Index], [0]))
++	 dnl prepare to store our destination file list for use in config.status
++	 AC_FOREACH([_AM_File], [$1],
++		    [m4_pushdef([_AM_Dest], m4_patsubst(_AM_File, [:.*]))
++		    m4_define([_AM_Config_Header_Index], m4_incr(_AM_Config_Header_Index))
++		    dnl and add it to the list of files AC keeps track of, along
++		    dnl with our hook
++		    AC_CONFIG_HEADERS(_AM_File,
++dnl COMMANDS, [, INIT-CMDS]
++[# update the timestamp
++echo timestamp >"AS_ESCAPE(_AM_DIRNAME(]_AM_Dest[))/stamp-h]_AM_Config_Header_Index["
++][$2]m4_ifval([$3], [, [$3]]))dnl AC_CONFIG_HEADERS
++		    m4_popdef([_AM_Dest])])],dnl
+ [AC_CONFIG_HEADER([$1])
+   AC_OUTPUT_COMMANDS(
+    ifelse(patsubst([$1], [[^ ]], []),
+ 	  [],
+ 	  [test -z "$CONFIG_HEADERS" || echo timestamp >dnl
+-	   patsubst([$1], [^\([^:]*/\)?.*], [\1])stamp-h]),
+-  [am_indx=1
+-  for am_file in $1; do
+-    case " $CONFIG_HEADERS " in
+-    *" $am_file "*)
+-      echo timestamp > `echo $am_file | sed 's%:.*%%;s%[^/]*$%%'`stamp-h$am_indx
+-      ;;
+-    esac
+-    am_indx=\`expr \$am_indx + 1\`
+-  done])
+-])
++	   patsubst([$1], [^\([^:]*/\)?.*], [\1])stamp-h]),dnl
++[am_indx=1
++for am_file in $1; do
++  case " \$CONFIG_HEADERS " in
++  *" \$am_file "*)
++    am_dir=\`echo \$am_file |sed 's%:.*%%;s%[^/]*\$%%'\`
++    if test -n "\$am_dir"; then
++      am_tmpdir=\`echo \$am_dir |sed 's%^\(/*\).*\$%\1%'\`
++      for am_subdir in \`echo \$am_dir |sed 's%/% %'\`; do
++        am_tmpdir=\$am_tmpdir\$am_subdir/
++        if test ! -d \$am_tmpdir; then
++          mkdir \$am_tmpdir
++        fi
++      done
++    fi
++    echo timestamp > "\$am_dir"stamp-h\$am_indx
++    ;;
++  esac
++  am_indx=\`expr \$am_indx + 1\`
++done])
++])]) # AM_CONFIG_HEADER
++
++# _AM_DIRNAME(PATH)
++# -----------------
++# Like AS_DIRNAME, only do it during macro expansion
++AC_DEFUN([_AM_DIRNAME],
++       [m4_if(m4_regexp([$1], [^.*[^/]//*[^/][^/]*/*$]), -1,
++	      m4_if(m4_regexp([$1], [^//\([^/]\|$\)]), -1,
++		    m4_if(m4_regexp([$1], [^/.*]), -1,
++			  [.],
++			  m4_patsubst([$1], [^\(/\).*], [\1])),
++		    m4_patsubst([$1], [^\(//\)\([^/].*\|$\)], [\1])),
++	      m4_patsubst([$1], [^\(.*[^/]\)//*[^/][^/]*/*$], [\1]))[]dnl
++]) # _AM_DIRNAME
+ 
+ # Do all the work for Automake.  This macro actually does too much --
+ # some checks are only needed if your package does certain things.
+ # But this isn't really a big deal.
+ 
+-# serial 3
++# serial 5
++
++# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
++# written in clear, in which case automake, when reading aclocal.m4,
++# will think it sees a *use*, and therefore will trigger all it's
++# C support machinery.  Also note that it means that autoscan, seeing
++# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
+ 
++
++# We require 2.13 because we rely on SHELL being computed by configure.
+ AC_PREREQ([2.13])
+ 
+ # AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
+@@ -102,12 +148,11 @@
+ # AM_INIT_AUTOMAKE(PACKAGE,VERSION, [NO-DEFINE])
+ # ----------------------------------------------
+ AC_DEFUN([AM_INIT_AUTOMAKE],
+-[dnl We require 2.13 because we rely on SHELL being computed by configure.
+-AC_REQUIRE([AC_PROG_INSTALL])dnl
++[AC_REQUIRE([AC_PROG_INSTALL])dnl
+ # test to see if srcdir already configured
+ if test "`CDPATH=:; cd $srcdir && pwd`" != "`pwd`" &&
+    test -f $srcdir/config.status; then
+-  AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
++  AC_MSG_ERROR([source directory already configured; run \"make distclean\" there first])
+ fi
+ 
+ # Define the identity of the package.
+@@ -119,6 +164,20 @@
+ [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
+ AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])
+ 
++# Autoconf 2.50 wants to disallow AM_ names.  We explicitly allow
++# the ones we care about.
++ifdef([m4_pattern_allow],
++      [m4_pattern_allow([^AM_[A-Z]+FLAGS])])dnl
++
++# Autoconf 2.50 always computes EXEEXT.  However we need to be
++# compatible with 2.13, for now.  So we always define EXEEXT, but we
++# don't compute it.
++AC_SUBST(EXEEXT)
++# Similar for OBJEXT -- only we only use OBJEXT if the user actually
++# requests that it be used.  This is a bit dumb.
++: ${OBJEXT=o}
++AC_SUBST(OBJEXT)
++
+ # Some tools Automake needs.
+ AC_REQUIRE([AM_SANITY_CHECK])dnl
+ AC_REQUIRE([AC_ARG_PROGRAM])dnl
+@@ -128,45 +187,51 @@
+ AM_MISSING_PROG(AUTOHEADER, autoheader)
+ AM_MISSING_PROG(MAKEINFO, makeinfo)
+ AM_MISSING_PROG(AMTAR, tar)
+-AM_MISSING_INSTALL_SH
++AM_PROG_INSTALL_SH
++AM_PROG_INSTALL_STRIP
+ # We need awk for the "check" target.  The system "awk" is bad on
+ # some platforms.
+ AC_REQUIRE([AC_PROG_AWK])dnl
+ AC_REQUIRE([AC_PROG_MAKE_SET])dnl
+ AC_REQUIRE([AM_DEP_TRACK])dnl
+ AC_REQUIRE([AM_SET_DEPDIR])dnl
+-AC_PROVIDE_IFELSE([AC_PROG_CC],
+-                  [AM_DEPENDENCIES(CC)],
+-                  [define([AC_PROG_CC],
+-                          defn([AC_PROG_CC])[AM_DEPENDENCIES(CC)])])dnl
+-AC_PROVIDE_IFELSE([AC_PROG_CXX],
+-                  [AM_DEPENDENCIES(CXX)],
+-                  [define([AC_PROG_CXX],
+-                          defn([AC_PROG_CXX])[AM_DEPENDENCIES(CXX)])])dnl
++AC_PROVIDE_IFELSE([AC_PROG_][CC],
++                  [_AM_DEPENDENCIES(CC)],
++                  [define([AC_PROG_][CC],
++                          defn([AC_PROG_][CC])[_AM_DEPENDENCIES(CC)])])dnl
++AC_PROVIDE_IFELSE([AC_PROG_][CXX],
++                  [_AM_DEPENDENCIES(CXX)],
++                  [define([AC_PROG_][CXX],
++                          defn([AC_PROG_][CXX])[_AM_DEPENDENCIES(CXX)])])dnl
+ ])
+ 
+ #
+ # Check to make sure that the build environment is sane.
+ #
+ 
++# serial 3
++
++# AM_SANITY_CHECK
++# ---------------
+ AC_DEFUN([AM_SANITY_CHECK],
+ [AC_MSG_CHECKING([whether build environment is sane])
+ # Just in case
+ sleep 1
+-echo timestamp > conftestfile
++echo timestamp > conftest.file
+ # Do `set' in a subshell so we don't clobber the current shell's
+ # arguments.  Must try -L first in case configure is actually a
+ # symlink; some systems play weird games with the mod time of symlinks
+ # (eg FreeBSD returns the mod time of the symlink's containing
+ # directory).
+ if (
+-   set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
+-   if test "[$]*" = "X"; then
++   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
++   if test "$[*]" = "X"; then
+       # -L didn't work.
+-      set X `ls -t $srcdir/configure conftestfile`
++      set X `ls -t $srcdir/configure conftest.file`
+    fi
+-   if test "[$]*" != "X $srcdir/configure conftestfile" \
+-      && test "[$]*" != "X conftestfile $srcdir/configure"; then
++   rm -f conftest.file
++   if test "$[*]" != "X $srcdir/configure conftest.file" \
++      && test "$[*]" != "X conftest.file $srcdir/configure"; then
+ 
+       # If neither matched, then we have a broken ls.  This can happen
+       # if, for instance, CONFIG_SHELL is bash and it inherits a
+@@ -176,7 +241,7 @@
+ alias in your environment])
+    fi
+ 
+-   test "[$]2" = conftestfile
++   test "$[2]" = conftest.file
+    )
+ then
+    # Ok.
+@@ -185,37 +250,28 @@
+    AC_MSG_ERROR([newly created file is older than distributed files!
+ Check your system clock])
+ fi
+-rm -f conftest*
+ AC_MSG_RESULT(yes)])
+ 
++
++# serial 2
++
+ # AM_MISSING_PROG(NAME, PROGRAM)
+-AC_DEFUN([AM_MISSING_PROG], [
+-AC_REQUIRE([AM_MISSING_HAS_RUN])
++# ------------------------------
++AC_DEFUN([AM_MISSING_PROG],
++[AC_REQUIRE([AM_MISSING_HAS_RUN])
+ $1=${$1-"${am_missing_run}$2"}
+ AC_SUBST($1)])
+ 
+-# Like AM_MISSING_PROG, but only looks for install-sh.
+-# AM_MISSING_INSTALL_SH()
+-AC_DEFUN([AM_MISSING_INSTALL_SH], [
+-AC_REQUIRE([AM_MISSING_HAS_RUN])
+-if test -z "$install_sh"; then
+-   install_sh="$ac_aux_dir/install-sh"
+-   test -f "$install_sh" || install_sh="$ac_aux_dir/install.sh"
+-   test -f "$install_sh" || install_sh="${am_missing_run}${ac_auxdir}/install-sh"
+-   dnl FIXME: an evil hack: we remove the SHELL invocation from
+-   dnl install_sh because automake adds it back in.  Sigh.
+-   install_sh="`echo $install_sh | sed -e 's/\${SHELL}//'`"
+-fi
+-AC_SUBST(install_sh)])
+ 
+-# AM_MISSING_HAS_RUN.
++# AM_MISSING_HAS_RUN
++# ------------------
+ # Define MISSING if not defined so far and test if it supports --run.
+ # If it does, set am_missing_run to use it, otherwise, to nothing.
+-AC_DEFUN([AM_MISSING_HAS_RUN], [
+-test x"${MISSING+set}" = xset || \
+-  MISSING="\${SHELL} `CDPATH=:; cd $ac_aux_dir && pwd`/missing"
++AC_DEFUN([AM_MISSING_HAS_RUN],
++[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
++test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
+ # Use eval to expand $SHELL
+-if eval "$MISSING --run :"; then
++if eval "$MISSING --run true"; then
+   am_missing_run="$MISSING --run "
+ else
+   am_missing_run=
+@@ -224,38 +280,132 @@
+ fi
+ ])
+ 
++# AM_AUX_DIR_EXPAND
++
++# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
++# $ac_aux_dir to `$srcdir/foo'.  In other projects, it is set to
++# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
++#
++# Of course, Automake must honor this variable whenever it calls a
++# tool from the auxiliary directory.  The problem is that $srcdir (and
++# therefore $ac_aux_dir as well) can be either absolute or relative,
++# depending on how configure is run.  This is pretty annoying, since
++# it makes $ac_aux_dir quite unusable in subdirectories: in the top
++# source directory, any form will work fine, but in subdirectories a
++# relative path needs to be adjusted first.
++#
++# $ac_aux_dir/missing
++#    fails when called from a subdirectory if $ac_aux_dir is relative
++# $top_srcdir/$ac_aux_dir/missing
++#    fails if $ac_aux_dir is absolute,
++#    fails when called from a subdirectory in a VPATH build with
++#          a relative $ac_aux_dir
++#
++# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
++# are both prefixed by $srcdir.  In an in-source build this is usually
++# harmless because $srcdir is `.', but things will broke when you
++# start a VPATH build or use an absolute $srcdir.
++#
++# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
++# iff we strip the leading $srcdir from $ac_aux_dir.  That would be:
++#   am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
++# and then we would define $MISSING as
++#   MISSING="\${SHELL} $am_aux_dir/missing"
++# This will work as long as MISSING is not called from configure, because
++# unfortunately $(top_srcdir) has no meaning in configure.
++# However there are other variables, like CC, which are often used in
++# configure, and could therefore not use this "fixed" $ac_aux_dir.
++#
++# Another solution, used here, is to always expand $ac_aux_dir to an
++# absolute PATH.  The drawback is that using absolute paths prevent a
++# configured tree to be moved without reconfiguration.
++
++AC_DEFUN([AM_AUX_DIR_EXPAND], [
++# expand $ac_aux_dir to an absolute path
++am_aux_dir=`CDPATH=:; cd $ac_aux_dir && pwd`
++])
++
++# AM_PROG_INSTALL_SH
++# ------------------
++# Define $install_sh.
++AC_DEFUN([AM_PROG_INSTALL_SH],
++[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
++install_sh=${install_sh-"$am_aux_dir/install-sh"}
++AC_SUBST(install_sh)])
++
++# One issue with vendor `install' (even GNU) is that you can't
++# specify the program used to strip binaries.  This is especially
++# annoying in cross-compiling environments, where the build's strip
++# is unlikely to handle the host's binaries.
++# Fortunately install-sh will honor a STRIPPROG variable, so we
++# always use install-sh in `make install-strip', and initialize
++# STRIPPROG with the value of the STRIP variable (set by the user).
++AC_DEFUN([AM_PROG_INSTALL_STRIP],
++[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
++INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
++AC_SUBST([INSTALL_STRIP_PROGRAM])])
++
++# serial 4						-*- Autoconf -*-
++
++
++
++# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
++# written in clear, in which case automake, when reading aclocal.m4,
++# will think it sees a *use*, and therefore will trigger all it's
++# C support machinery.  Also note that it means that autoscan, seeing
++# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
++
++
++
++# _AM_DEPENDENCIES(NAME)
++# ---------------------
+ # See how the compiler implements dependency checking.
+-# Usage:
+-# AM_DEPENDENCIES(NAME)
+ # NAME is "CC", "CXX" or "OBJC".
+-
+ # We try a few techniques and use that to set a single cache variable.
++#
++# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
++# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
++# dependency, and given that the user is not expected to run this macro,
++# just rely on AC_PROG_CC.
++AC_DEFUN([_AM_DEPENDENCIES],
++[AC_REQUIRE([AM_SET_DEPDIR])dnl
++AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
++AC_REQUIRE([AM_MAKE_INCLUDE])dnl
++AC_REQUIRE([AM_DEP_TRACK])dnl
+ 
+-AC_DEFUN([AM_DEPENDENCIES],[
+-AC_REQUIRE([AM_SET_DEPDIR])
+-AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])
+-ifelse([$1],CC,[
+-AC_REQUIRE([AC_PROG_CC])
+-AC_REQUIRE([AC_PROG_CPP])
+-depcc="$CC"
+-depcpp="$CPP"],[$1],CXX,[
+-AC_REQUIRE([AC_PROG_CXX])
+-AC_REQUIRE([AC_PROG_CXXCPP])
+-depcc="$CXX"
+-depcpp="$CXXCPP"],[$1],OBJC,[
+-am_cv_OBJC_dependencies_compiler_type=gcc],[
+-AC_REQUIRE([AC_PROG_][$1])
+-depcc="$[$1]"
+-depcpp=""])
+-AC_MSG_CHECKING([dependency style of $depcc])
+-AC_CACHE_VAL(am_cv_[$1]_dependencies_compiler_type,[
+-if test -z "$AMDEP"; then
+-  echo '#include "conftest.h"' > conftest.c
+-  echo 'int i;' > conftest.h
+-
+-  am_cv_[$1]_dependencies_compiler_type=none
+-  for depmode in `sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < "$am_depcomp"`; do
+-    case "$depmode" in
++ifelse([$1], CC,   [depcc="$CC"   am_compiler_list=],
++       [$1], CXX,  [depcc="$CXX"  am_compiler_list=],
++       [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc']
++       [$1], GCJ,  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
++                   [depcc="$$1"   am_compiler_list=])
++
++AC_CACHE_CHECK([dependency style of $depcc],
++               [am_cv_$1_dependencies_compiler_type],
++[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
++  # We make a subdir and do the tests there.  Otherwise we can end up
++  # making bogus files that we don't know about and never remove.  For
++  # instance it was reported that on HP-UX the gcc test will end up
++  # making a dummy file named `D' -- because `-MD' means `put the output
++  # in D'.
++  mkdir conftest.dir
++  # Copy depcomp to subdir because otherwise we won't find it if we're
++  # using a relative directory.
++  cp "$am_depcomp" conftest.dir
++  cd conftest.dir
++
++  am_cv_$1_dependencies_compiler_type=none
++  if test "$am_compiler_list" = ""; then
++     am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
++  fi
++  for depmode in $am_compiler_list; do
++    # We need to recreate these files for each test, as the compiler may
++    # overwrite some of them when testing with obscure command lines.
++    # This happens at least with the AIX C compiler.
++    echo '#include "conftest.h"' > conftest.c
++    echo 'int i;' > conftest.h
++    echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
++
++    case $depmode in
+     nosideeffect)
+       # after this tag, mechanisms are not by side-effect, so they'll
+       # only be used when explicitly requested
+@@ -270,61 +420,57 @@
+     # We check with `-c' and `-o' for the sake of the "dashmstdout"
+     # mode.  It turns out that the SunPro C++ compiler does not properly
+     # handle `-M -o', and we need to detect this.
+-    if depmode="$depmode" \
++    if depmode=$depmode \
+        source=conftest.c object=conftest.o \
+        depfile=conftest.Po tmpdepfile=conftest.TPo \
+-       $SHELL $am_depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
+-       grep conftest.h conftest.Po > /dev/null 2>&1; then
+-      am_cv_[$1]_dependencies_compiler_type="$depmode"
++       $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
++       grep conftest.h conftest.Po > /dev/null 2>&1 &&
++       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
++      am_cv_$1_dependencies_compiler_type=$depmode
+       break
+     fi
+   done
+ 
+-  rm -f conftest.*
++  cd ..
++  rm -rf conftest.dir
+ else
+-  am_cv_[$1]_dependencies_compiler_type=none
++  am_cv_$1_dependencies_compiler_type=none
+ fi
+ ])
+-AC_MSG_RESULT($am_cv_[$1]_dependencies_compiler_type)
+-[$1]DEPMODE="depmode=$am_cv_[$1]_dependencies_compiler_type"
+-AC_SUBST([$1]DEPMODE)
++$1DEPMODE="depmode=$am_cv_$1_dependencies_compiler_type"
++AC_SUBST([$1DEPMODE])
+ ])
+ 
+-# Choose a directory name for dependency files.
+-# This macro is AC_REQUIREd in AM_DEPENDENCIES
+ 
+-AC_DEFUN([AM_SET_DEPDIR],[
+-if test -d .deps || mkdir .deps 2> /dev/null || test -d .deps; then
++# AM_SET_DEPDIR
++# -------------
++# Choose a directory name for dependency files.
++# This macro is AC_REQUIREd in _AM_DEPENDENCIES
++AC_DEFUN([AM_SET_DEPDIR],
++[rm -f .deps 2>/dev/null
++mkdir .deps 2>/dev/null
++if test -d .deps; then
+   DEPDIR=.deps
+-  # We redirect because .deps might already exist and be populated.
+-  # In this situation we don't want to see an error.
+-  rmdir .deps > /dev/null 2>&1
+ else
++  # MS-DOS does not allow filenames that begin with a dot.
+   DEPDIR=_deps
+ fi
++rmdir .deps 2>/dev/null
+ AC_SUBST(DEPDIR)
+ ])
+ 
+-AC_DEFUN([AM_DEP_TRACK],[
+-AC_ARG_ENABLE(dependency-tracking,
++
++# AM_DEP_TRACK
++# ------------
++AC_DEFUN([AM_DEP_TRACK],
++[AC_ARG_ENABLE(dependency-tracking,
+ [  --disable-dependency-tracking Speeds up one-time builds
+   --enable-dependency-tracking  Do not reject slow dependency extractors])
+-if test "x$enable_dependency_tracking" = xno; then
+-  AMDEP="#"
+-else
++if test "x$enable_dependency_tracking" != xno; then
+   am_depcomp="$ac_aux_dir/depcomp"
+-  if test ! -f "$am_depcomp"; then
+-    AMDEP="#"
+-  else
+-    AMDEP=
+-  fi
+-fi
+-AC_SUBST(AMDEP)
+-if test -z "$AMDEP"; then
+   AMDEPBACKSLASH='\'
+-else
+-  AMDEPBACKSLASH=
+ fi
++AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
+ pushdef([subst], defn([AC_SUBST]))
+ subst(AMDEPBACKSLASH)
+ popdef([subst])
+@@ -341,7 +487,7 @@
+ # need in order to bootstrap the dependency handling code.
+ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],[
+ AC_OUTPUT_COMMANDS([
+-test x"$AMDEP" != x"" ||
++test x"$AMDEP_TRUE" != x"" ||
+ for mf in $CONFIG_FILES; do
+   case "$mf" in
+   Makefile) dirpart=.;;
+@@ -378,9 +524,77 @@
+     echo '# dummy' > "$dirpart/$file"
+   done
+ done
+-], [AMDEP="$AMDEP"
++], [AMDEP_TRUE="$AMDEP_TRUE"
+ ac_aux_dir="$ac_aux_dir"])])
+ 
++# AM_MAKE_INCLUDE()
++# -----------------
++# Check to see how make treats includes.
++AC_DEFUN([AM_MAKE_INCLUDE],
++[am_make=${MAKE-make}
++cat > confinc << 'END'
++doit:
++	@echo done
++END
++# If we don't find an include directive, just comment out the code.
++AC_MSG_CHECKING([for style of include used by $am_make])
++am__include='#'
++am__quote=
++_am_result=none
++# First try GNU make style include.
++echo "include confinc" > confmf
++# We grep out `Entering directory' and `Leaving directory'
++# messages which can occur if `w' ends up in MAKEFLAGS.
++# In particular we don't look at `^make:' because GNU make might
++# be invoked under some other name (usually "gmake"), in which
++# case it prints its new name instead of `make'.
++if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
++   am__include=include
++   am__quote=
++   _am_result=GNU
++fi
++# Now try BSD make style include.
++if test "$am__include" = "#"; then
++   echo '.include "confinc"' > confmf
++   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
++      am__include=.include
++      am__quote='"'
++      _am_result=BSD
++   fi
++fi
++AC_SUBST(am__include)
++AC_SUBST(am__quote)
++AC_MSG_RESULT($_am_result)
++rm -f confinc confmf
++])
++
++# serial 3
++
++# AM_CONDITIONAL(NAME, SHELL-CONDITION)
++# -------------------------------------
++# Define a conditional.
++#
++# FIXME: Once using 2.50, use this:
++# m4_match([$1], [^TRUE\|FALSE$], [AC_FATAL([$0: invalid condition: $1])])dnl
++AC_DEFUN([AM_CONDITIONAL],
++[ifelse([$1], [TRUE],
++        [errprint(__file__:__line__: [$0: invalid condition: $1
++])dnl
++m4exit(1)])dnl
++ifelse([$1], [FALSE],
++       [errprint(__file__:__line__: [$0: invalid condition: $1
++])dnl
++m4exit(1)])dnl
++AC_SUBST([$1_TRUE])
++AC_SUBST([$1_FALSE])
++if $2; then
++  $1_TRUE=
++  $1_FALSE='#'
++else
++  $1_TRUE='#'
++  $1_FALSE=
++fi])
++
+ 
+ # AM_PROG_LEX
+ # Look for flex, lex or missing, then run AC_PROG_LEX and AC_DECL_YYTEXT
+@@ -542,6 +756,7 @@
+ # libtool.m4 - Configure libtool for the host system. -*-Shell-script-*-
+ 
+ # serial 46 AC_PROG_LIBTOOL
++
+ AC_DEFUN([AC_PROG_LIBTOOL],
+ [AC_REQUIRE([AC_LIBTOOL_SETUP])dnl
+ 
+@@ -667,9 +882,30 @@
+ 
+ ])
+ 
++# AC_LIBTOOL_HEADER_ASSERT
++# ------------------------
++AC_DEFUN([AC_LIBTOOL_HEADER_ASSERT],
++[AC_CACHE_CHECK([whether $CC supports assert without backlinking],
++    [lt_cv_func_assert_works],
++    [case $host in
++    *-*-solaris*)
++      if test "$GCC" = yes && test "$with_gnu_ld" != yes; then
++        case `$CC --version 2>/dev/null` in
++        [[12]].*) lt_cv_func_assert_works=no ;;
++        *)        lt_cv_func_assert_works=yes ;;
++        esac
++      fi
++      ;;
++    esac])
++
++if test "x$lt_cv_func_assert_works" = xyes; then
++  AC_CHECK_HEADERS(assert.h)
++fi
++])# AC_LIBTOOL_HEADER_ASSERT
++
+ # _LT_AC_CHECK_DLFCN
+ # --------------------
+-AC_DEFUN(_LT_AC_CHECK_DLFCN,
++AC_DEFUN([_LT_AC_CHECK_DLFCN],
+ [AC_CHECK_HEADERS(dlfcn.h)
+ ])# _LT_AC_CHECK_DLFCN
+ 
+@@ -687,10 +923,10 @@
+ # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
+ 
+ # Character class describing NM global symbol codes.
+-[symcode='[BCDEGRST]']
++symcode='[[BCDEGRST]]'
+ 
+ # Regexp to match symbols that can be accessed directly from C.
+-[sympat='\([_A-Za-z][_A-Za-z0-9]*\)']
++sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
+ 
+ # Transform the above into a raw symbol and a C symbol.
+ symxfrm='\1 \2\3 \3'
+@@ -698,25 +934,29 @@
+ # Transform an extracted symbol line into a proper C declaration
+ lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'"
+ 
++# Transform an extracted symbol line into symbol name and symbol address
++lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([[^ ]]*\) \([[^ ]]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
++
+ # Define system-specific variables.
+ case $host_os in
+ aix*)
+-  [symcode='[BCDT]']
++  symcode='[[BCDT]]'
+   ;;
+ cygwin* | mingw* | pw32*)
+-  [symcode='[ABCDGISTW]']
++  symcode='[[ABCDGISTW]]'
+   ;;
+ hpux*) # Its linker distinguishes data from code symbols
+   lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
++  lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
+   ;;
+ irix*)
+-  [symcode='[BCDEGRST]']
++  symcode='[[BCDEGRST]]'
+   ;;
+ solaris* | sysv5*)
+-  [symcode='[BDT]']
++  symcode='[[BDT]]'
+   ;;
+ sysv4)
+-  [symcode='[DFNSTU]']
++  symcode='[[DFNSTU]]'
+   ;;
+ esac
+ 
+@@ -730,14 +970,14 @@
+ 
+ # If we're using GNU nm, then use its standard symbol codes.
+ if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then
+-  [symcode='[ABCDGISTW]']
++  symcode='[[ABCDGISTW]]'
+ fi
+ 
+ # Try without a prefix undercore, then with it.
+ for ac_symprfx in "" "_"; do
+ 
+   # Write the raw and C identifiers.
+-[lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"]
++lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ 	]]\($symcode$symcode*\)[[ 	]][[ 	]]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
+ 
+   # Check to see that the pipe works correctly.
+   pipe_works=no
+@@ -779,23 +1019,23 @@
+ 
+ 	  cat <<EOF >> conftest.$ac_ext
+ #if defined (__STDC__) && __STDC__
+-# define lt_ptr_t void *
++# define lt_ptr void *
+ #else
+-# define lt_ptr_t char *
++# define lt_ptr char *
+ # define const
+ #endif
+ 
+ /* The mapping between symbol names and symbols. */
+ const struct {
+   const char *name;
+-  lt_ptr_t address;
++  lt_ptr address;
+ }
+-[lt_preloaded_symbols[] =]
++lt_preloaded_symbols[[]] =
+ {
+ EOF
+-	  sed "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" >> conftest.$ac_ext
++	  sed "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.$ac_ext
+ 	  cat <<\EOF >> conftest.$ac_ext
+-  {0, (lt_ptr_t) 0}
++  {0, (lt_ptr) 0}
+ };
+ 
+ #ifdef __cplusplus
+@@ -839,10 +1079,13 @@
+ global_symbol_pipe="$lt_cv_sys_global_symbol_pipe"
+ if test -z "$lt_cv_sys_global_symbol_pipe"; then
+   global_symbol_to_cdecl=
++  global_symbol_to_c_name_address=
+ else
+   global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl"
++  global_symbol_to_c_name_address="$lt_cv_global_symbol_to_c_name_address"
+ fi
+-if test -z "$global_symbol_pipe$global_symbol_to_cdecl"; then
++if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address";
++then
+   AC_MSG_RESULT(failed)
+ else
+   AC_MSG_RESULT(ok)
+@@ -860,16 +1103,17 @@
+     *-DOS) lt_cv_sys_path_separator=';' ;;
+     *)     lt_cv_sys_path_separator=':' ;;
+   esac
++  PATH_SEPARATOR=$lt_cv_sys_path_separator
+ fi
+ ])# _LT_AC_LIBTOOL_SYS_PATH_SEPARATOR
+ 
+ # _LT_AC_PROG_ECHO_BACKSLASH
+ # --------------------------
+ # Add some code to the start of the generated configure script which
+-# will find an echo command which doesn;t interpret backslashes.
++# will find an echo command which doesn't interpret backslashes.
+ AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH],
+ [ifdef([AC_DIVERSION_NOTICE], [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
+-                              [AC_DIVERT_PUSH(NOTICE)])
++			      [AC_DIVERT_PUSH(NOTICE)])
+ _LT_AC_LIBTOOL_SYS_PATH_SEPARATOR
+ 
+ # Check that we are running under the correct shell.
+@@ -935,7 +1179,7 @@
+   #
+   # So, first we look for a working echo in the user's PATH.
+ 
+-  IFS="${IFS= 	}"; save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR}"
++  IFS="${IFS= 	}"; save_ifs="$IFS"; IFS=$PATH_SEPARATOR
+   for dir in $PATH /usr/ucb; do
+     if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
+        test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
+@@ -1024,7 +1268,7 @@
+ # _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
+ #                           ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
+ # ------------------------------------------------------------------
+-AC_DEFUN(_LT_AC_TRY_DLOPEN_SELF,
++AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF],
+ [if test "$cross_compiling" = yes; then :
+   [$4]
+ else
+@@ -1111,7 +1355,7 @@
+ 
+ # AC_LIBTOOL_DLOPEN_SELF
+ # -------------------
+-AC_DEFUN(AC_LIBTOOL_DLOPEN_SELF,
++AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF],
+ [if test "x$enable_dlopen" != xyes; then
+   enable_dlopen=unknown
+   enable_dlopen_self=unknown
+@@ -1133,16 +1377,22 @@
+    ;;
+ 
+   *)
+-    AC_CHECK_LIB(dl, dlopen,  [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
+-      [AC_CHECK_FUNC(dlopen, lt_cv_dlopen="dlopen",
+-        [AC_CHECK_FUNC(shl_load, lt_cv_dlopen="shl_load",
+-          [AC_CHECK_LIB(svld, dlopen,
+-	    [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
+-            [AC_CHECK_LIB(dld, shl_load,
+-              [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
++    AC_CHECK_FUNC([shl_load],
++          [lt_cv_dlopen="shl_load"],
++      [AC_CHECK_LIB([dld], [shl_load],
++            [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"],
++	[AC_CHECK_FUNC([dlopen],
++	      [lt_cv_dlopen="dlopen"],
++	  [AC_CHECK_LIB([dl], [dlopen],
++	        [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
++	    [AC_CHECK_LIB([svld], [dlopen],
++	          [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
++	      [AC_CHECK_LIB([dld], [dld_link],
++	            [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
++	      ])
+ 	    ])
+-          ])
+-        ])
++	  ])
++	])
+       ])
+     ;;
+   esac
+@@ -1205,10 +1455,10 @@
+ # Sed substitution that helps us do robust quoting.  It backslashifies
+ # metacharacters that are still active within double-quoted strings.
+ Xsed='sed -e s/^X//'
+-[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g']
++sed_quote_subst='s/\([[\\"\\`$\\\\]]\)/\\\1/g'
+ 
+ # Same as above, but do not quote variable references.
+-[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g']
++double_quote_subst='s/\([[\\"\\`\\\\]]\)/\\\1/g'
+ 
+ # Sed substitution to delay expansion of an escaped shell variable in a
+ # double_quote_subst'ed string.
+@@ -1277,8 +1527,15 @@
+ old_postuninstall_cmds=
+ 
+ if test -n "$RANLIB"; then
++  case $host_os in
++  openbsd*)
++    old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
++    ;;
++  *)
++    old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
++    ;;
++  esac
+   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
+-  old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
+ fi
+ 
+ # Allow CC to be a program name with arguments.
+@@ -1298,7 +1555,7 @@
+ AC_MSG_RESULT($objdir)
+ 
+ 
+-AC_ARG_WITH(pic, 
++AC_ARG_WITH(pic,
+ [  --with-pic              try to use only PIC/non-PIC objects [default=use both]],
+ pic_mode="$withval", pic_mode=default)
+ test -z "$pic_mode" && pic_mode=default
+@@ -1326,7 +1583,7 @@
+       # libC (AIX C++ library), which obviously doesn't included in libraries
+       # list by gcc. This cause undefined symbols with -static flags.
+       # This hack allows C programs to be linked with "-static -ldl", but
+-      # we not sure about C++ programs.
++      # not sure about C++ programs.
+       lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC"
+       ;;
+     amigaos*)
+@@ -1361,13 +1618,13 @@
+     # PORTME Check for PIC flags for the system compiler.
+     case $host_os in
+     aix3* | aix4* | aix5*)
++      lt_cv_prog_cc_wl='-Wl,'
+       # All AIX code is PIC.
+       if test "$host_cpu" = ia64; then
+-        # AIX 5 now supports IA64 processor
+-        lt_cv_prog_cc_static='-Bstatic'
+-        lt_cv_prog_cc_wl='-Wl,'
++	# AIX 5 now supports IA64 processor
++	lt_cv_prog_cc_static='-Bstatic'
+       else
+-        lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp'
++	lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp'
+       fi
+       ;;
+ 
+@@ -1423,9 +1680,9 @@
+       lt_cv_prog_cc_pic='-KPIC'
+       lt_cv_prog_cc_static='-Bstatic'
+       if test "x$host_vendor" = xsni; then
+-        lt_cv_prog_cc_wl='-LD'
++	lt_cv_prog_cc_wl='-LD'
+       else
+-        lt_cv_prog_cc_wl='-Wl,'
++	lt_cv_prog_cc_wl='-Wl,'
+       fi
+       ;;
+ 
+@@ -1492,7 +1749,7 @@
+ # Check for any special shared library compilation flags.
+ if test -n "$lt_cv_prog_cc_shlib"; then
+   AC_MSG_WARN([\`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries])
+-  if echo "$old_CC $old_CFLAGS " | [egrep -e "[ 	]$lt_cv_prog_cc_shlib[ 	]"] >/dev/null; then :
++  if echo "$old_CC $old_CFLAGS " | egrep -e "[[ 	]]$lt_cv_prog_cc_shlib[[ 	]]" >/dev/null; then :
+   else
+    AC_MSG_WARN([add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure])
+     lt_cv_prog_cc_can_build_shared=no
+@@ -1568,6 +1825,8 @@
+   lt_cv_compiler_o_lo=no
+   save_CFLAGS="$CFLAGS"
+   CFLAGS="$CFLAGS -c -o conftest.lo"
++  save_objext="$ac_objext"
++  ac_objext=lo
+   AC_TRY_COMPILE([], [int some_variable = 0;], [dnl
+     # The compiler can only warn and ignore the option if not recognized
+     # So say no if there are warnings
+@@ -1577,10 +1836,11 @@
+       lt_cv_compiler_o_lo=yes
+     fi
+   ])
++  ac_objext="$save_objext"
+   CFLAGS="$save_CFLAGS"
+   ])
+   compiler_o_lo=$lt_cv_compiler_o_lo
+-  AC_MSG_RESULT([$compiler_c_lo])
++  AC_MSG_RESULT([$compiler_o_lo])
+ else
+   compiler_o_lo=no
+ fi
+@@ -1673,7 +1933,7 @@
+ extract_expsyms_cmds=
+ 
+ case $host_os in
+-cygwin* | mingw* | pw32* )
++cygwin* | mingw* | pw32*)
+   # FIXME: the MSVC++ port hasn't been tested in a loooong time
+   # When not using gcc, we currently assume that we are using
+   # Microsoft Visual C++.
+@@ -1681,7 +1941,9 @@
+     with_gnu_ld=no
+   fi
+   ;;
+-
++openbsd*)
++  with_gnu_ld=no
++  ;;
+ esac
+ 
+ ld_shlibs=yes
+@@ -1768,7 +2030,7 @@
+     # can override, but on older systems we have to supply one (in ltdll.c)
+     if test "x$lt_cv_need_dllmain" = "xyes"; then
+       ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext "
+-      ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < [$]0 > $output_objdir/$soname-ltdll.c~
++      ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < $''0 > $output_objdir/$soname-ltdll.c~
+ 	test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~'
+     else
+       ltdll_obj=
+@@ -1781,24 +2043,24 @@
+     # Be careful not to strip the DATA tag left be newer dlltools.
+     export_symbols_cmds="$ltdll_cmds"'
+       $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~
+-      [sed -e "1,/EXPORTS/d" -e "s/ @ [0-9]*//" -e "s/ *;.*$//"] < $output_objdir/$soname-def > $export_symbols'
++      sed -e "1,/EXPORTS/d" -e "s/ @ [[0-9]]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols'
+ 
+     # If the export-symbols file already is a .def file (1st line
+     # is EXPORTS), use it as is.
+     # If DATA tags from a recent dlltool are present, honour them!
+     archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then
+-        cp $export_symbols $output_objdir/$soname-def;
++	cp $export_symbols $output_objdir/$soname-def;
+       else
+-        echo EXPORTS > $output_objdir/$soname-def;
+-        _lt_hint=1;
+-        cat $export_symbols | while read symbol; do
+-         set dummy \$symbol;
+-         case \[$]# in
+-           2) echo "   \[$]2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
+-           *) echo "     \[$]2 @ \$_lt_hint \[$]3 ; " >> $output_objdir/$soname-def;;
+-         esac;
+-         _lt_hint=`expr 1 + \$_lt_hint`;
+-        done;
++	echo EXPORTS > $output_objdir/$soname-def;
++	_lt_hint=1;
++	cat $export_symbols | while read symbol; do
++	 set dummy \$symbol;
++	 case \[$]# in
++	   2) echo "   \[$]2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
++	   *) echo "     \[$]2 @ \$_lt_hint \[$]3 ; " >> $output_objdir/$soname-def;;
++	 esac;
++	 _lt_hint=`expr 1 + \$_lt_hint`;
++	done;
+       fi~
+       '"$ltdll_cmds"'
+       $CC -Wl,--base-file,$output_objdir/$soname-base '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
+@@ -1893,80 +2155,96 @@
+     ;;
+ 
+   aix4* | aix5*)
++    if test "$host_cpu" = ia64; then
++      # On IA64, the linker does run time linking by default, so we don't
++      # have to do anything special.
++      aix_use_runtimelinking=no
++      exp_sym_flag='-Bexport'
++      no_entry_flag=""
++    else
++      aix_use_runtimelinking=no
++
++      # Test if we are trying to use run time linking or normal
++      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
++      # need to do runtime linking.
++      case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
++	for ld_flag in $LDFLAGS; do
++	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
++	    aix_use_runtimelinking=yes
++	    break
++	  fi
++	done
++      esac
++
++      exp_sym_flag='-bexport'
++      no_entry_flag='-bnoentry'
++    fi
++
+     # When large executables or shared objects are built, AIX ld can
+     # have problems creating the table of contents.  If linking a library
+     # or program results in "error TOC overflow" add -mminimal-toc to
+     # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
+     # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
+ 
++    hardcode_direct=yes
+     archive_cmds=''
+     hardcode_libdir_separator=':'
+     if test "$GCC" = yes; then
+-      collect2name=`${CC} -print-prog-name=collect2`
+-      if test -f "$collect2name" && \
+-	 strings "$collect2name" | grep resolve_lib_name >/dev/null
+-      then
+-	# We have reworked collect2
+-	hardcode_direct=yes
+-      else
+-        # We have old collect2
+-        hardcode_direct=unsupported
+-        # It fails to find uninstalled libraries when the uninstalled
+-        # path is not listed in the libpath.  Setting hardcode_minus_L
+-        # to unsupported forces relinking
+-        hardcode_minus_L=yes
+-        hardcode_libdir_flag_spec='-L$libdir'
+-        hardcode_libdir_separator=
+-      fi
++      case $host_os in aix4.[[012]]|aix4.[[012]].*)
++	collect2name=`${CC} -print-prog-name=collect2`
++	if test -f "$collect2name" && \
++	  strings "$collect2name" | grep resolve_lib_name >/dev/null
++	then
++	  # We have reworked collect2
++	  hardcode_direct=yes
++	else
++	  # We have old collect2
++	  hardcode_direct=unsupported
++	  # It fails to find uninstalled libraries when the uninstalled
++	  # path is not listed in the libpath.  Setting hardcode_minus_L
++	  # to unsupported forces relinking
++	  hardcode_minus_L=yes
++	  hardcode_libdir_flag_spec='-L$libdir'
++	  hardcode_libdir_separator=
++	fi
++      esac
++
+       shared_flag='-shared'
+     else
++      # not using gcc
+       if test "$host_cpu" = ia64; then
+-        shared_flag='-G'
++	shared_flag='${wl}-G'
+       else
+-        shared_flag='${wl}-bM:SRE'
++	if test "$aix_use_runtimelinking" = yes; then
++	  shared_flag='${wl}-G'
++	else
++	  shared_flag='${wl}-bM:SRE'
++	fi
+       fi
+-      hardcode_direct=yes
+     fi
+ 
+-    if test "$host_cpu" = ia64; then
+-      # On IA64, the linker does run time linking by default, so we don't
+-      # have to do anything special.
+-      aix_use_runtimelinking=no
+-      exp_sym_flag='-Bexport'
+-      no_entry_flag=""
+-    else
+-      # Test if we are trying to use run time linking, or normal AIX style linking.
+-      # If -brtl is somewhere in LDFLAGS, we need to do run time linking.
+-      aix_use_runtimelinking=no
+-      for ld_flag in $LDFLAGS; do
+-        if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl" ); then
+-          aix_use_runtimelinking=yes
+-          break
+-        fi
+-      done
+-      exp_sym_flag='-bexport'
+-      no_entry_flag='-bnoentry'
+-    fi
+     # It seems that -bexpall can do strange things, so it is better to
+     # generate a list of symbols to export.
+     always_export_symbols=yes
+     if test "$aix_use_runtimelinking" = yes; then
++      # Warning - without using the other runtime loading flags (-brtl),
++      # -berok will link without error, but may produce a broken library.
++      allow_undefined_flag='-berok'
+       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib'
+-      allow_undefined_flag=' -Wl,-G'
+-      archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
++      archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
+     else
+       if test "$host_cpu" = ia64; then
+-        hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
+-       allow_undefined_flag="-znodefs"
+-        archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
++	hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
++	allow_undefined_flag="-z nodefs"
++	archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
+       else
+-        hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib'
+-        # Warning - without using the other run time loading flags, -berok will
+-        #           link without error, but may produce a broken library.
+-        allow_undefined_flag='${wl}-berok"
+-        # This is a bit strange, but is similar to how AIX traditionally builds
+-        # it's shared libraries.
+-        archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $objdir/$libname$release.a $objdir/$soname'
++	hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib'
++	# Warning - without using the other run time loading flags,
++	# -berok will link without error, but may produce a broken library.
++	allow_undefined_flag='${wl}-berok'
++	# This is a bit strange, but is similar to how AIX traditionally builds
++	# it's shared libraries.
++	archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $objdir/$libname$release.a $objdir/$soname'
+       fi
+     fi
+     ;;
+@@ -1998,11 +2276,18 @@
+     ;;
+ 
+   darwin* | rhapsody*)
+-    allow_undefined_flag='-undefined suppress'
++    case "$host_os" in
++    rhapsody* | darwin1.[[012]])
++      allow_undefined_flag='-undefined suppress'
++      ;;
++    *) # Darwin 1.3 on
++      allow_undefined_flag='-flat_namespace -undefined suppress'
++      ;;
++    esac
+     # FIXME: Relying on posixy $() will cause problems for
+     #        cross-compilation, but unfortunately the echo tests do not
+     #        yet detect zsh echo's removal of \ escapes.
+-    archive_cmds='$CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linkopts -install_name $rpath/$soname $(test -n "$verstring" -a x$verstring != x0.0 && echo $verstring)'
++    archive_cmds='$nonopt $(test "x$module" = xyes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linker_flags -install_name $rpath/$soname $verstring'
+     # We need to add '_' to the symbols in $export_symbols first
+     #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
+     hardcode_direct=yes
+@@ -2077,7 +2362,7 @@
+     ;;
+ 
+   newsos6)
+-    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linkopts'
++    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+     hardcode_direct=yes
+     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
+     hardcode_libdir_separator=:
+@@ -2085,10 +2370,24 @@
+     ;;
+ 
+   openbsd*)
+-    archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
+-    hardcode_libdir_flag_spec='-R$libdir'
+     hardcode_direct=yes
+     hardcode_shlibpath_var=no
++    if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
++      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
++      export_dynamic_flag_spec='${wl}-E'
++    else
++      case "$host_os" in
++      openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
++	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++	hardcode_libdir_flag_spec='-R$libdir'
++        ;;
++      *)
++        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
++        hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
++        ;;
++      esac
++    fi
+     ;;
+ 
+   os2*)
+@@ -2133,10 +2432,39 @@
+     hardcode_shlibpath_var=no
+     runpath_var=LD_RUN_PATH
+     hardcode_runpath_var=yes
++    export_dynamic_flag_spec='${wl}-Bexport'
+     ;;
+ 
+   solaris*)
++    # gcc --version < 3.0 without binutils cannot create self contained
++    # shared libraries reliably, requiring libgcc.a to resolve some of
++    # the object symbols generated in some cases.  Libraries that use
++    # assert need libgcc.a to resolve __eprintf, for example.  Linking
++    # a copy of libgcc.a into every shared library to guarantee resolving
++    # such symbols causes other problems:  According to Tim Van Holder
++    # <tim.van.holder@pandora.be>, C++ libraries end up with a separate
++    # (to the application) exception stack for one thing.
+     no_undefined_flag=' -z defs'
++    if test "$GCC" = yes; then
++      case `$CC --version 2>/dev/null` in
++      [[12]].*)
++	cat <<EOF 1>&2
++
++*** Warning: Releases of GCC earlier than version 3.0 cannot reliably
++*** create self contained shared libraries on Solaris systems, without
++*** introducing a dependency on libgcc.a.  Therefore, libtool is disabling
++*** -no-undefined support, which will at least allow you to build shared
++*** libraries.  However, you may find that when you link such libraries
++*** into an application without using GCC, you have to manually add
++*** \`gcc --print-libgcc-file-name\` to the link command.  We urge you to
++*** upgrade to a newer version of GCC.  Another option is to rebuild your
++*** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer.
++
++EOF
++        no_undefined_flag=
++	;;
++      esac
++    fi
+     # $CC -shared without GNU ld will not create a library from C++
+     # object files and a static libstdc++, better avoid it by now
+     archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
+@@ -2145,7 +2473,7 @@
+     hardcode_libdir_flag_spec='-R$libdir'
+     hardcode_shlibpath_var=no
+     case $host_os in
+-    [solaris2.[0-5] | solaris2.[0-5].*]) ;;
++    solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
+     *) # Supported since Solaris 2.6 (maybe 2.5.1?)
+       whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
+     esac
+@@ -2168,7 +2496,7 @@
+ 
+   sysv4)
+     if test "x$host_vendor" = xsno; then
+-      archive_cmds='$LD -G -Bsymbolic -h $soname -o $lib $libobjs $deplibs $linkopts'
++      archive_cmds='$LD -G -Bsymbolic -h $soname -o $lib $libobjs $deplibs $linker_flags'
+       hardcode_direct=yes # is this really true???
+     else
+       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+@@ -2325,22 +2653,24 @@
+     # depend on `.', always an invalid library.  This was fixed in
+     # development snapshots of GCC prior to 3.0.
+     case $host_os in
+-      [ aix4 | aix4.[01] | aix4.[01].*)]
+-      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
+-           echo ' yes '
+-           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
+-        :
+-      else
+-        can_build_shared=no
+-      fi
+-      ;;
++      aix4 | aix4.[[01]] | aix4.[[01]].*)
++	if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
++	     echo ' yes '
++	     echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
++	  :
++	else
++	  can_build_shared=no
++	fi
++	;;
+     esac
+-    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
+-    # soname into executable. Probably we can add versioning support to
+-    # collect2, so additional links can be useful in future.
++    # AIX (on Power*) has no versioning support, so currently we can
++    # not hardcode correct soname into executable. Probably we can
++    # add versioning support to collect2, so additional links can
++    # be useful in future.
+     if test "$aix_use_runtimelinking" = yes; then
+-      # If using run time linking (on AIX 4.2 or later) use lib<name>.so instead of
+-      # lib<name>.a to let people know that these are not typical AIX shared libraries.
++      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
++      # instead of lib<name>.a to let people know that these are not
++      # typical AIX shared libraries.
+       library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
+     else
+       # We preserve .a as extension for shared libraries through AIX4.2
+@@ -2349,14 +2679,13 @@
+       soname_spec='${libname}${release}.so$major'
+     fi
+     shlibpath_var=LIBPATH
+-    deplibs_check_method=pass_all
+   fi
+   ;;
+ 
+ amigaos*)
+   library_names_spec='$libname.ixlibrary $libname.a'
+   # Create ${libname}_ixlibrary.a entries in /sys/libs.
+-  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | [$Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\'']`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done'
++  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done'
+   ;;
+ 
+ beos*)
+@@ -2387,7 +2716,7 @@
+   case $GCC,$host_os in
+   yes,cygwin*)
+     library_names_spec='$libname.dll.a'
+-    soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | [sed -e 's/[.]/-/g']`${versuffix}.dll'
++    soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll'
+     postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~
+       dldir=$destdir/`dirname \$dlpath`~
+       test -d \$dldir || mkdir -p \$dldir~
+@@ -2397,14 +2726,14 @@
+        $rm \$dlpath'
+     ;;
+   yes,mingw*)
+-    library_names_spec='${libname}`echo ${release} | [sed -e 's/[.]/-/g']`${versuffix}.dll'
++    library_names_spec='${libname}`echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll'
+     sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g"`
+     ;;
+   yes,pw32*)
+     library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
+     ;;
+   *)
+-    library_names_spec='${libname}`echo ${release} | [sed -e 's/[.]/-/g']`${versuffix}.dll $libname.lib'
++    library_names_spec='${libname}`echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll $libname.lib'
+     ;;
+   esac
+   dynamic_linker='Win32 ld.exe'
+@@ -2562,9 +2891,19 @@
+ 
+ openbsd*)
+   version_type=sunos
+-  if test "$with_gnu_ld" = yes; then
+-    need_lib_prefix=no
+-    need_version=no
++  need_lib_prefix=no
++  need_version=no
++  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
++    case "$host_os" in
++    openbsd2.[[89]] | openbsd2.[[89]].*)
++      shlibpath_overrides_runpath=no
++      ;;
++    *)
++      shlibpath_overrides_runpath=yes
++      ;;
++    esac
++  else
++    shlibpath_overrides_runpath=yes
+   fi
+   library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
+   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
+@@ -2675,6 +3014,33 @@
+ AC_MSG_CHECKING([if libtool supports shared libraries])
+ AC_MSG_RESULT([$can_build_shared])
+ 
++AC_MSG_CHECKING([whether to build shared libraries])
++test "$can_build_shared" = "no" && enable_shared=no
++
++# On AIX, shared libraries and static libraries use the same namespace, and
++# are all built from PIC.
++case "$host_os" in
++aix3*)
++  test "$enable_shared" = yes && enable_static=no
++  if test -n "$RANLIB"; then
++    archive_cmds="$archive_cmds~\$RANLIB \$lib"
++    postinstall_cmds='$RANLIB $lib'
++  fi
++  ;;
++
++aix4*)
++  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
++    test "$enable_shared" = yes && enable_static=no
++  fi
++  ;;
++esac
++AC_MSG_RESULT([$enable_shared])
++
++AC_MSG_CHECKING([whether to build static libraries])
++# Make sure either enable_shared or enable_static is yes.
++test "$enable_shared" = yes || enable_static=yes
++AC_MSG_RESULT([$enable_static])
++
+ if test "$hardcode_action" = relink; then
+   # Fast installation is not supported
+   enable_fast_install=no
+@@ -2768,6 +3134,7 @@
+     old_striplib striplib file_magic_cmd export_symbols_cmds \
+     deplibs_check_method allow_undefined_flag no_undefined_flag \
+     finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \
++    global_symbol_to_c_name_address \
+     hardcode_libdir_flag_spec hardcode_libdir_separator  \
+     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
+     compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do
+@@ -2834,12 +3201,12 @@
+ # Whether or not to build shared libraries.
+ build_libtool_libs=$enable_shared
+ 
+-# Whether or not to add -lc for building shared libraries.
+-build_libtool_need_lc=$need_lc
+-
+ # Whether or not to build static libraries.
+ build_old_libs=$enable_static
+ 
++# Whether or not to add -lc for building shared libraries.
++build_libtool_need_lc=$need_lc
++
+ # Whether or not to optimize for fast installation.
+ fast_install=$enable_fast_install
+ 
+@@ -3005,6 +3372,9 @@
+ # Transform the output of nm in a proper C declaration
+ global_symbol_to_cdecl=$lt_global_symbol_to_cdecl
+ 
++# Transform the output of nm in a C name address pair
++global_symbol_to_c_name_address=$lt_global_symbol_to_c_name_address
++
+ # This is the shared library runtime path variable.
+ runpath_var=$runpath_var
+ 
+@@ -3127,9 +3497,9 @@
+ #   return TRUE;
+ # }
+ # /* ltdll.c ends here */
+-        # This is a source program that is used to create import libraries
+-        # on Windows for dlls which lack them. Don't remove nor modify the
+-        # starting and closing comments
++	# This is a source program that is used to create import libraries
++	# on Windows for dlls which lack them. Don't remove nor modify the
++	# starting and closing comments
+ # /* impgen.c starts here */
+ # /*   Copyright (C) 1999-2000 Free Software Foundation, Inc.
+ #
+@@ -3484,6 +3854,7 @@
+ AC_REQUIRE([AC_PROG_CC])dnl
+ AC_REQUIRE([AC_CANONICAL_HOST])dnl
+ AC_REQUIRE([AC_CANONICAL_BUILD])dnl
++AC_REQUIRE([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR])dnl
+ ac_prog=ld
+ if test "$GCC" = yes; then
+   # Check if gcc -print-prog-name=ld gives a path.
+@@ -3497,8 +3868,8 @@
+   esac
+   case $ac_prog in
+     # Accept absolute paths.
+-    [[\\/]* | [A-Za-z]:[\\/]*)]
+-      [re_direlt='/[^/][^/]*/\.\./']
++    [[\\/]]* | [[A-Za-z]]:[[\\/]]*)
++      re_direlt='/[[^/]][[^/]]*/\.\./'
+       # Canonicalize the path of ld
+       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
+       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
+@@ -3522,7 +3893,7 @@
+ fi
+ AC_CACHE_VAL(lt_cv_path_LD,
+ [if test -z "$LD"; then
+-  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
++  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
+   for ac_dir in $PATH; do
+     test -z "$ac_dir" && ac_dir=.
+     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
+@@ -3586,7 +3957,7 @@
+ # `unknown' -- same as none, but documents that we really don't know.
+ # 'pass_all' -- all dependencies passed with no checks.
+ # 'test_compile' -- check by making test program.
+-# ['file_magic [regex]'] -- check by looking for files in library path
++# 'file_magic [[regex]]' -- check by looking for files in library path
+ # which responds to the $file_magic_cmd with a given egrep regex.
+ # If you have `file' or equivalent on your system and you're not sure
+ # whether `pass_all' will *always* work, you probably want this one.
+@@ -3601,7 +3972,7 @@
+   ;;
+ 
+ bsdi4*)
+-  [lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)']
++  lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
+   lt_cv_file_magic_cmd='/usr/bin/file -L'
+   lt_cv_file_magic_test_file=/shlib/libc.so
+   ;;
+@@ -3615,7 +3986,7 @@
+   lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
+   lt_cv_file_magic_cmd='/usr/bin/file -L'
+   case "$host_os" in
+-  rhapsody* | darwin1.[012])
++  rhapsody* | darwin1.[[012]])
+     lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1`
+     ;;
+   *) # Darwin 1.3 on
+@@ -3630,7 +4001,7 @@
+     i*86 )
+       # Not sure whether the presence of OpenBSD here was a mistake.
+       # Let's accept both of them until this is cleared up.
+-      [lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library']
++      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[[3-9]]86 (compact )?demand paged shared library'
+       lt_cv_file_magic_cmd=/usr/bin/file
+       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
+       ;;
+@@ -3645,7 +4016,7 @@
+   ;;
+ 
+ hpux10.20*|hpux11*)
+-  [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library']
++  lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
+   lt_cv_file_magic_cmd=/usr/bin/file
+   lt_cv_file_magic_test_file=/usr/lib/libc.sl
+   ;;
+@@ -3664,7 +4035,7 @@
+     *) libmagic=never-match;;
+     esac
+     # this will be overridden with pass_all, but let us keep it just in case
+-    [lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"]
++    lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[[1234]] dynamic lib MIPS - version 1"
+     ;;
+   esac
+   lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
+@@ -3674,29 +4045,39 @@
+ # This must be Linux ELF.
+ linux-gnu*)
+   case $host_cpu in
+-  alpha* | i*86 | powerpc* | sparc* | ia64* )
++  alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
+     lt_cv_deplibs_check_method=pass_all ;;
+   *)
+     # glibc up to 2.1.1 does not perform some relocations on ARM
+-    [lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;]
++    lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;;
+   esac
+   lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
+   ;;
+ 
+ netbsd*)
+   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
+-    [lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$']
++    lt_cv_deplibs_check_method='match_pattern /lib[[^/\.]]+\.so\.[[0-9]]+\.[[0-9]]+$'
+   else
+-    [lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$']
++    lt_cv_deplibs_check_method='match_pattern /lib[[^/\.]]+\.so$'
+   fi
+   ;;
+ 
+ newos6*)
+-  [lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)']
++  lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
+   lt_cv_file_magic_cmd=/usr/bin/file
+   lt_cv_file_magic_test_file=/usr/lib/libnls.so
+   ;;
+ 
++openbsd*)
++  lt_cv_file_magic_cmd=/usr/bin/file
++  lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
++  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
++    lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB shared object'
++  else
++    lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
++  fi
++  ;;
++
+ osf3* | osf4* | osf5*)
+   # this will be overridden with pass_all, but let us keep it just in case
+   lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
+@@ -3713,14 +4094,14 @@
+   lt_cv_file_magic_test_file=/lib/libc.so
+   ;;
+ 
+-[sysv5uw[78]* | sysv4*uw2*)]
++sysv5uw[[78]]* | sysv4*uw2*)
+   lt_cv_deplibs_check_method=pass_all
+   ;;
+ 
+ sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
+   case $host_vendor in
+   motorola)
+-    [lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]']
++    lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]'
+     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
+     ;;
+   ncr)
+@@ -3728,11 +4109,11 @@
+     ;;
+   sequent)
+     lt_cv_file_magic_cmd='/bin/file'
+-    [lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )']
++    lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
+     ;;
+   sni)
+     lt_cv_file_magic_cmd='/bin/file'
+-    [lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"]
++    lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
+     lt_cv_file_magic_test_file=/lib/libc.so
+     ;;
+   esac
+@@ -3746,13 +4127,14 @@
+ 
+ # AC_PROG_NM - find the path to a BSD-compatible name lister
+ AC_DEFUN([AC_PROG_NM],
+-[AC_MSG_CHECKING([for BSD-compatible nm])
++[AC_REQUIRE([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR])dnl
++AC_MSG_CHECKING([for BSD-compatible nm])
+ AC_CACHE_VAL(lt_cv_path_NM,
+ [if test -n "$NM"; then
+   # Let the user override the test.
+   lt_cv_path_NM="$NM"
+ else
+-  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
++  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
+   for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
+     test -z "$ac_dir" && ac_dir=.
+     tmp_nm=$ac_dir/${ac_tool_prefix}nm
+@@ -4840,19 +5222,6 @@
+ fi
+ ])
+ 
+-# Define a conditional.
+-
+-AC_DEFUN([AM_CONDITIONAL],
+-[AC_SUBST($1_TRUE)
+-AC_SUBST($1_FALSE)
+-if $2; then
+-  $1_TRUE=
+-  $1_FALSE='#'
+-else
+-  $1_TRUE='#'
+-  $1_FALSE=
+-fi])
+-
+ dnl $Id: krb-ipv6.m4,v 1.12 2001/08/19 16:27:02 joda Exp $
+ dnl
+ dnl test for IPv6
+@@ -5476,7 +5845,7 @@
+ header_dirs=
+ lib_dirs=
+ d='$5'
+-for i in $d; do
++for i in $d /usr; do
+ 	header_dirs="$header_dirs $i/include"
+ 	lib_dirs="$lib_dirs $i/lib$abilibdirext"
+ done
+@@ -5509,6 +5878,7 @@
+ if test "$ires" -a "$lres" -a "$with_$1" != "no"; then
+ 	$1_includedir="$ires"
+ 	$1_libdir="$lres"
++	DIR_$1=
+ 	INCLUDE_$1="-I$$1_includedir"
+ 	LIB_$1="-L$$1_libdir $3"
+ 	m4_ifval([$6],
+@@ -5517,6 +5887,7 @@
+ 	with_$1=yes
+ 	AC_MSG_RESULT([headers $ires, libraries $lres])
+ else
++	DIR_$1=
+ 	INCLUDE_$1=
+ 	LIB_$1=
+ 	with_$1=no
+@@ -5525,6 +5896,7 @@
+ dnl m4_ifval([$6],
+ dnl 	AM_CONDITIONAL($6, test "$with_$1" = yes)
+ dnl 	AM_CONDITIONAL(upcase($1), test "$with_$1" = yes))
++AC_SUBST(DIR_$1)
+ AC_SUBST(INCLUDE_$1)
+ AC_SUBST(LIB_$1)
+ ])
+@@ -6090,19 +6462,19 @@
+ 	:
+ elif test "$ac_cv_func_el_init" = yes; then
+ 	ac_foo=yes
++	DIR_readline="editline"
+ 	LIB_readline="\$(top_builddir)/lib/editline/libel_compat.la $LIB_el_init"
+ else
++	DIR_readline="editline"
+ 	LIB_readline='$(top_builddir)/lib/editline/libeditline.la'
+ fi
+ AM_CONDITIONAL(el_compat, test "$ac_foo" = yes)
+-if test "$readline_libdir"; then
+-	LIB_readline="-rpath $readline_libdir $LIB_readline"
+-fi
+ LIB_readline="$LIB_readline \$(LIB_tgetent)"
+ AC_DEFINE(HAVE_READLINE, 1, 
+ 	[Define if you have a readline compatible library.])dnl
+ 
+ ])
++
+ dnl $Id: check-compile-et.m4,v 1.6 2001/09/02 17:08:48 assar Exp $
+ dnl
+ dnl CHECK_COMPILE_ET
+diff -ruN heimdal-0.4e-old/admin/Makefile.in heimdal-0.4e/admin/Makefile.in
+--- heimdal-0.4e-old/admin/Makefile.in	Thu Sep  6 22:23:55 2001
++++ heimdal-0.4e/admin/Makefile.in	Wed Nov 21 11:52:36 2001
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.35 2001/08/28 08:31:19 assar Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,9 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,6 +89,7 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+@@ -105,7 +109,6 @@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,20 +122,17 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+ 
+-# $Id: Makefile.am,v 1.35 2001/08/28 08:31:19 assar Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
+-
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+ SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+@@ -189,13 +189,12 @@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+@@ -226,120 +225,113 @@
+ 
+ subdir = admin
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../include/config.h
+-CONFIG_CLEAN_FILES = 
+-sbin_PROGRAMS =  ktutil$(EXEEXT)
+-PROGRAMS =  $(sbin_PROGRAMS)
+-
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++sbin_PROGRAMS = ktutil$(EXEEXT)
++PROGRAMS = $(sbin_PROGRAMS)
++
++am_ktutil_OBJECTS = add.$(OBJEXT) change.$(OBJEXT) copy.$(OBJEXT) \
++	get.$(OBJEXT) ktutil.$(OBJEXT) list.$(OBJEXT) purge.$(OBJEXT) \
++	remove.$(OBJEXT) rename.$(OBJEXT)
++ktutil_OBJECTS = $(am_ktutil_OBJECTS)
++ktutil_LDADD = $(LDADD)
++ktutil_DEPENDENCIES = $(top_builddir)/lib/kadm5/libkadm5clnt.la \
++	$(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la \
++	$(top_builddir)/lib/sl/libsl.la
++ktutil_LDFLAGS =
+ 
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../include
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+-am_ktutil_OBJECTS =  add.$(OBJEXT) change.$(OBJEXT) copy.$(OBJEXT) \
+-get.$(OBJEXT) ktutil.$(OBJEXT) list.$(OBJEXT) purge.$(OBJEXT) \
+-remove.$(OBJEXT) rename.$(OBJEXT)
+-ktutil_OBJECTS =  $(am_ktutil_OBJECTS)
+-ktutil_LDADD = $(LDADD)
+-ktutil_DEPENDENCIES =  $(top_builddir)/lib/kadm5/libkadm5clnt.la \
+-$(top_builddir)/lib/krb5/libkrb5.la $(top_builddir)/lib/asn1/libasn1.la \
+-$(top_builddir)/lib/sl/libsl.la
+-ktutil_LDFLAGS = 
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  $(ktutil_SOURCES)
+-man8dir = $(mandir)/man8
+-MANS = $(man_MANS)
+-depcomp = 
+-DIST_COMMON =  Makefile.am Makefile.in
+-
+-
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++DIST_SOURCES = $(ktutil_SOURCES)
+ 
+-GZIP_ENV = --best
++NROFF = nroff
++MANS = $(man_MANS)
++DIST_COMMON = Makefile.am Makefile.in
+ SOURCES = $(ktutil_SOURCES)
+-OBJECTS = $(am_ktutil_OBJECTS)
+ 
+-all: all-redirect
++all: all-am
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign admin/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+-
+ 
+-mostlyclean-sbinPROGRAMS:
+-
+-clean-sbinPROGRAMS:
+-	-test -z "$(sbin_PROGRAMS)" || rm -f $(sbin_PROGRAMS)
+-
+-distclean-sbinPROGRAMS:
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-maintainer-clean-sbinPROGRAMS:
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  admin/Makefile
++Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ install-sbinPROGRAMS: $(sbin_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(sbindir)
+ 	@list='$(sbin_PROGRAMS)'; for p in $$list; do \
+-	  if test -f $$p; then \
+-	    f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(sbindir)/$$f"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(sbindir)/$$f; \
++	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  if test -f $$p \
++	     || test -f $$p1 \
++	  ; then \
++	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(sbindir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(sbindir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-sbinPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(sbin_PROGRAMS)'; for p in $$list; do \
+-	  f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(sbindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(sbindir)/$$f; \
+ 	done
+ 
+-mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
++clean-sbinPROGRAMS:
++	-test -z "$(sbin_PROGRAMS)" || rm -f $(sbin_PROGRAMS)
++ktutil$(EXEEXT): $(ktutil_OBJECTS) $(ktutil_DEPENDENCIES) 
++	@rm -f ktutil$(EXEEXT)
++	$(LINK) $(ktutil_LDFLAGS) $(ktutil_OBJECTS) $(ktutil_LDADD) $(LIBS)
+ 
+-clean-compile:
++mostlyclean-compile:
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+-maintainer-clean-compile:
+-
+-mostlyclean-libtool:
+-	-rm -f *.lo
+-
+-clean-libtool:
+-	-rm -rf .libs _libs
+-
+-distclean-libtool:
+-
+-maintainer-clean-libtool:
+-
+-ktutil$(EXEEXT): $(ktutil_OBJECTS) $(ktutil_DEPENDENCIES)
+-	@rm -f ktutil$(EXEEXT)
+-	$(LINK) $(ktutil_LDFLAGS) $(ktutil_OBJECTS) $(ktutil_LDADD) $(LIBS)
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
++
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
++uninstall-info-am:
+ 
+-install-man8:
++man8dir = $(mandir)/man8
++install-man8: $(man8_MANS) $(man_MANS)
++	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(man8dir)
+-	@list='$(man8_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.8*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -354,10 +346,11 @@
+ 	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst"; \
+ 	  $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst; \
+ 	done
+-
+ uninstall-man8:
+-	@list='$(man8_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@$(NORMAL_UNINSTALL)
++	@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.8*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -370,12 +363,6 @@
+ 	  echo " rm -f $(DESTDIR)$(man8dir)/$$inst"; \
+ 	  rm -f $(DESTDIR)$(man8dir)/$$inst; \
+ 	done
+-install-man: $(MANS)
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-man8
+-uninstall-man:
+-	@$(NORMAL_UNINSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) uninstall-man8
+ 
+ tags: TAGS
+ 
+@@ -404,22 +391,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -429,87 +417,94 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-install-exec-am: install-sbinPROGRAMS
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++all-am: Makefile $(PROGRAMS) $(MANS) all-local
+ 
+-install-data-am: install-man install-data-local
+-install-data: install-data-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(sbindir) $(DESTDIR)$(man8dir)
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am: uninstall-sbinPROGRAMS uninstall-man
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(PROGRAMS) $(MANS) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(sbindir) $(DESTDIR)$(mandir)/man8
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-sbinPROGRAMS mostlyclean-compile \
+-		mostlyclean-libtool mostlyclean-tags \
+-		mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-generic clean-libtool clean-sbinPROGRAMS mostlyclean-am
+ 
+-clean-am:  clean-sbinPROGRAMS clean-compile clean-libtool clean-tags \
+-		clean-generic mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-sbinPROGRAMS distclean-compile \
+-		distclean-libtool distclean-tags distclean-generic \
+-		clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-sbinPROGRAMS \
+-		maintainer-clean-compile maintainer-clean-libtool \
+-		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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local install-man
++
++install-exec-am: install-sbinPROGRAMS
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man: install-man8
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-am
+ 
+-.PHONY: mostlyclean-sbinPROGRAMS distclean-sbinPROGRAMS \
+-clean-sbinPROGRAMS maintainer-clean-sbinPROGRAMS uninstall-sbinPROGRAMS \
+-install-sbinPROGRAMS mostlyclean-compile distclean-compile \
+-clean-compile maintainer-clean-compile mostlyclean-libtool \
+-distclean-libtool clean-libtool maintainer-clean-libtool install-man8 \
+-uninstall-man8 install-man uninstall-man tags mostlyclean-tags \
+-distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
+-dvi-am dvi check-local check check-am installcheck-am installcheck \
+-install-exec-am install-exec install-data-local install-data-am \
+-install-data install-am install uninstall-am uninstall all-local \
+-all-redirect all-am all install-strip installdirs mostlyclean-generic \
+-distclean-generic clean-generic maintainer-clean-generic clean \
+-mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-info-am uninstall-man uninstall-sbinPROGRAMS
++
++uninstall-man: uninstall-man8
++
++.PHONY: GTAGS all all-am all-local check check-am check-local clean \
++	clean-generic clean-libtool clean-sbinPROGRAMS distclean \
++	distclean-compile distclean-generic distclean-libtool \
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-data install-data-am install-data-local \
++	install-exec install-exec-am install-info install-info-am \
++	install-man install-man8 install-sbinPROGRAMS install-strip \
++	installcheck installcheck-am installdirs maintainer-clean \
++	maintainer-clean-generic mostlyclean mostlyclean-compile \
++	mostlyclean-generic mostlyclean-libtool tags uninstall \
++	uninstall-am uninstall-info-am uninstall-man uninstall-man8 \
++	uninstall-sbinPROGRAMS
+ 
+ 
+ install-suid-programs:
+@@ -639,7 +634,6 @@
+ 	  echo "$$dashes"; \
+ 	  test "$$failed" -eq 0; \
+ 	fi
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/appl/Makefile.in heimdal-0.4e/appl/Makefile.in
+--- heimdal-0.4e-old/appl/Makefile.in	Thu Sep  6 22:24:06 2001
++++ heimdal-0.4e/appl/Makefile.in	Wed Nov 21 11:52:36 2001
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.24 2001/01/27 18:34:39 assar Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,9 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,6 +89,7 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+@@ -105,7 +109,6 @@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,20 +122,17 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+ 
+-# $Id: Makefile.am,v 1.24 2001/01/27 18:34:39 assar Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
+-
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+ SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+@@ -189,18 +189,17 @@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+-@OTP_TRUE@dir_otp = @OTP_TRUE@otp
+-@DCE_TRUE@dir_dce = @DCE_TRUE@dceutils
++@OTP_TRUE@dir_otp = otp
++@DCE_TRUE@dir_dce = dceutils
+ SUBDIRS = \
+ 	  afsutil				\
+ 	  ftp					\
+@@ -220,33 +219,47 @@
+ 
+ subdir = appl
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../include/config.h
+-CONFIG_CLEAN_FILES = 
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++depcomp =
+ CFLAGS = @CFLAGS@
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES = 
+-depcomp = 
+-DIST_COMMON =  Makefile.am Makefile.in
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++DIST_SOURCES =
++
++RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \
++	uninstall-info-recursive all-recursive install-data-recursive \
++	install-exec-recursive installdirs-recursive install-recursive \
++	uninstall-recursive check-recursive installcheck-recursive
++DIST_COMMON = Makefile.am Makefile.in
++DIST_SUBDIRS = afsutil ftp login otp popper push rsh rcp su xnlock \
++	telnet test kx kf dceutils
++all: all-recursive
+ 
++.SUFFIXES:
++.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c
+ 
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-GZIP_ENV = --best
+-DIST_SUBDIRS =  afsutil ftp login otp popper push rsh rcp su xnlock \
+-telnet test kx kf dceutils
+-all: all-redirect
+-.SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  appl/Makefile
++Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
++uninstall-info-am:
+ 
+ # This directory's subdirectories are mostly independent; you can cd
+ # into them and run `make' without going through this Makefile.
+@@ -254,10 +267,7 @@
+ # (1) if the variable is set in `config.status', edit `config.status'
+ #     (which will cause the Makefiles to be regenerated when you run `make');
+ # (2) otherwise, pass the desired values on the `make' command line.
+-
+-all-recursive install-data-recursive install-exec-recursive \
+-installdirs-recursive install-recursive uninstall-recursive  \
+-check-recursive installcheck-recursive info-recursive dvi-recursive:
++$(RECURSIVE_TARGETS):
+ 	@set fnord $(MAKEFLAGS); amf=$$2; \
+ 	dot_seen=no; \
+ 	target=`echo $@ | sed s/-recursive//`; \
+@@ -322,9 +332,9 @@
+ 	tags=; \
+ 	here=`pwd`; \
+ 	list='$(SUBDIRS)'; for subdir in $$list; do \
+-   if test "$$subdir" = .; then :; else \
++	  if test "$$subdir" = .; then :; else \
+ 	    test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
+-   fi; \
++	  fi; \
+ 	done; \
+ 	list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
+ 	unique=`for i in $$list; do \
+@@ -338,22 +348,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -368,84 +379,103 @@
+ 	    test -d $(distdir)/$$subdir \
+ 	    || mkdir $(distdir)/$$subdir \
+ 	    || exit 1; \
+-	    (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \
++	    (cd $$subdir && \
++	      $(MAKE) $(AM_MAKEFLAGS) \
++	        top_distdir="$(top_distdir)" \
++	        distdir=../$(distdir)/$$subdir \
++	        distdir) \
+ 	      || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-recursive
+-dvi-am:
+-dvi: dvi-recursive
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-recursive
+-installcheck-am:
+-installcheck: installcheck-recursive
+-install-exec-am:
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-recursive
++all-am: Makefile all-local
++installdirs: installdirs-recursive
++installdirs-am:
+ 
+-install-data-am: install-data-local
++install: install-recursive
++install-exec: install-exec-recursive
+ install-data: install-data-recursive
++uninstall: uninstall-recursive
+ 
+ install-am: all-am
+ 	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+-install: install-recursive
+-uninstall-am:
+-uninstall: uninstall-recursive
+-all-am: Makefile all-local
+-all-redirect: all-recursive
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs: installdirs-recursive
+-installdirs-am:
+-
+ 
++installcheck: installcheck-recursive
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-tags mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-recursive
+ 
+-mostlyclean: mostlyclean-recursive
++clean-am: clean-generic clean-libtool mostlyclean-am
+ 
+-clean-am:  clean-tags clean-generic mostlyclean-am
++distclean: distclean-recursive
+ 
+-clean: clean-recursive
++distclean-am: clean-am distclean-generic distclean-libtool \
++	distclean-tags
+ 
+-distclean-am:  distclean-tags distclean-generic clean-am
+-	-rm -f libtool
++dvi: dvi-recursive
+ 
+-distclean: distclean-recursive
++dvi-am:
+ 
+-maintainer-clean-am:  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."
++info: info-recursive
++
++info-am:
++
++install-data-am: install-data-local
++
++install-exec-am:
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-recursive
++
++install-man:
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-recursive
+ 
+-.PHONY: install-recursive uninstall-recursive install-data-recursive \
+-uninstall-data-recursive install-exec-recursive \
+-uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
+-all-recursive check-recursive installcheck-recursive info-recursive \
+-dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
+-maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
+-distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
+-dvi-am dvi check-local check check-am installcheck-am installcheck \
+-install-exec-am install-exec install-data-local install-data-am \
+-install-data install-am install uninstall-am uninstall all-local \
+-all-redirect all-am all install-strip installdirs-am installdirs \
+-mostlyclean-generic distclean-generic clean-generic \
+-maintainer-clean-generic clean mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-recursive
++
++mostlyclean-am: mostlyclean-generic mostlyclean-libtool
++
++uninstall-am: uninstall-info-am
++
++uninstall-info: uninstall-info-recursive
++
++.PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am all-local check check-am \
++	check-local clean clean-generic clean-libtool clean-recursive \
++	distclean distclean-generic distclean-libtool \
++	distclean-recursive distclean-tags distdir dvi dvi-am \
++	dvi-recursive info info-am info-recursive install install-am \
++	install-data install-data-am install-data-local \
++	install-data-recursive install-exec install-exec-am \
++	install-exec-recursive install-info install-info-am \
++	install-info-recursive install-man install-recursive \
++	install-strip installcheck installcheck-am installdirs \
++	installdirs-am installdirs-recursive maintainer-clean \
++	maintainer-clean-generic maintainer-clean-recursive mostlyclean \
++	mostlyclean-generic mostlyclean-libtool mostlyclean-recursive \
++	tags tags-recursive uninstall uninstall-am uninstall-info-am \
++	uninstall-info-recursive uninstall-recursive
+ 
+ 
+ install-suid-programs:
+@@ -575,7 +605,6 @@
+ 	  echo "$$dashes"; \
+ 	  test "$$failed" -eq 0; \
+ 	fi
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/appl/afsutil/Makefile.in heimdal-0.4e/appl/afsutil/Makefile.in
+--- heimdal-0.4e-old/appl/afsutil/Makefile.in	Thu Sep  6 22:24:12 2001
++++ heimdal-0.4e/appl/afsutil/Makefile.in	Wed Nov 21 11:52:36 2001
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.12 2000/11/15 22:51:07 assar Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,9 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,6 +89,7 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+@@ -105,7 +109,6 @@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,20 +122,17 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+ 
+-# $Id: Makefile.am,v 1.12 2000/11/15 22:51:07 assar Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
+-
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+ SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+@@ -189,17 +189,16 @@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+-@KRB4_TRUE@AFSPROGS = @KRB4_TRUE@afslog pagsh
++@KRB4_TRUE@AFSPROGS = afslog pagsh
+ bin_PROGRAMS = $(AFSPROGS)
+ 
+ afslog_SOURCES = afslog.c
+@@ -215,127 +214,114 @@
+ 
+ subdir = appl/afsutil
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../include/config.h
+-CONFIG_CLEAN_FILES = 
+-@KRB4_FALSE@bin_PROGRAMS = 
+-@KRB4_TRUE@bin_PROGRAMS =  afslog$(EXEEXT) pagsh$(EXEEXT)
+-PROGRAMS =  $(bin_PROGRAMS)
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++@KRB4_TRUE@bin_PROGRAMS = afslog$(EXEEXT) pagsh$(EXEEXT)
++@KRB4_FALSE@bin_PROGRAMS =
++PROGRAMS = $(bin_PROGRAMS)
+ 
++am_afslog_OBJECTS = afslog.$(OBJEXT)
++afslog_OBJECTS = $(am_afslog_OBJECTS)
++afslog_LDADD = $(LDADD)
++@KRB4_TRUE@afslog_DEPENDENCIES = $(top_builddir)/lib/kafs/libkafs.la \
++@KRB4_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la \
++@KRB4_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB4_FALSE@afslog_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
++@KRB4_FALSE@	$(top_builddir)/lib/asn1/libasn1.la
++afslog_LDFLAGS =
++am_pagsh_OBJECTS = pagsh.$(OBJEXT)
++pagsh_OBJECTS = $(am_pagsh_OBJECTS)
++pagsh_LDADD = $(LDADD)
++@KRB4_TRUE@pagsh_DEPENDENCIES = $(top_builddir)/lib/kafs/libkafs.la \
++@KRB4_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la \
++@KRB4_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB4_FALSE@pagsh_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
++@KRB4_FALSE@	$(top_builddir)/lib/asn1/libasn1.la
++pagsh_LDFLAGS =
+ 
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../../include
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+-am_afslog_OBJECTS =  afslog.$(OBJEXT)
+-afslog_OBJECTS =  $(am_afslog_OBJECTS)
+-afslog_LDADD = $(LDADD)
+-@KRB4_FALSE@afslog_DEPENDENCIES =  $(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_FALSE@$(top_builddir)/lib/asn1/libasn1.la
+-@KRB4_TRUE@afslog_DEPENDENCIES =  $(top_builddir)/lib/kafs/libkafs.la \
+-@KRB4_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_TRUE@$(top_builddir)/lib/asn1/libasn1.la
+-afslog_LDFLAGS = 
+-am_pagsh_OBJECTS =  pagsh.$(OBJEXT)
+-pagsh_OBJECTS =  $(am_pagsh_OBJECTS)
+-pagsh_LDADD = $(LDADD)
+-@KRB4_FALSE@pagsh_DEPENDENCIES =  $(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_FALSE@$(top_builddir)/lib/asn1/libasn1.la
+-@KRB4_TRUE@pagsh_DEPENDENCIES =  $(top_builddir)/lib/kafs/libkafs.la \
+-@KRB4_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_TRUE@$(top_builddir)/lib/asn1/libasn1.la
+-pagsh_LDFLAGS = 
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  $(afslog_SOURCES) $(pagsh_SOURCES)
+-depcomp = 
+-DIST_COMMON =  ChangeLog Makefile.am Makefile.in
+-
+-
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+-
+-GZIP_ENV = --best
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++DIST_SOURCES = $(afslog_SOURCES) $(pagsh_SOURCES)
++DIST_COMMON = ChangeLog Makefile.am Makefile.in
+ SOURCES = $(afslog_SOURCES) $(pagsh_SOURCES)
+-OBJECTS = $(am_afslog_OBJECTS) $(am_pagsh_OBJECTS)
+ 
+-all: all-redirect
++all: all-am
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/afsutil/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+ 
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-mostlyclean-binPROGRAMS:
+-
+-clean-binPROGRAMS:
+-	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
+-
+-distclean-binPROGRAMS:
+-
+-maintainer-clean-binPROGRAMS:
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  appl/afsutil/Makefile
++Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ install-binPROGRAMS: $(bin_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(bindir)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  if test -f $$p; then \
+-	    f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f; \
++	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  if test -f $$p \
++	     || test -f $$p1 \
++	  ; then \
++	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-binPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+-mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
++clean-binPROGRAMS:
++	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
++afslog$(EXEEXT): $(afslog_OBJECTS) $(afslog_DEPENDENCIES) 
++	@rm -f afslog$(EXEEXT)
++	$(LINK) $(afslog_LDFLAGS) $(afslog_OBJECTS) $(afslog_LDADD) $(LIBS)
++pagsh$(EXEEXT): $(pagsh_OBJECTS) $(pagsh_DEPENDENCIES) 
++	@rm -f pagsh$(EXEEXT)
++	$(LINK) $(pagsh_LDFLAGS) $(pagsh_OBJECTS) $(pagsh_LDADD) $(LIBS)
+ 
+-clean-compile:
++mostlyclean-compile:
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+-maintainer-clean-compile:
+-
+-mostlyclean-libtool:
+-	-rm -f *.lo
+-
+-clean-libtool:
+-	-rm -rf .libs _libs
+-
+-distclean-libtool:
+-
+-maintainer-clean-libtool:
+-
+-afslog$(EXEEXT): $(afslog_OBJECTS) $(afslog_DEPENDENCIES)
+-	@rm -f afslog$(EXEEXT)
+-	$(LINK) $(afslog_LDFLAGS) $(afslog_OBJECTS) $(afslog_LDADD) $(LIBS)
+-
+-pagsh$(EXEEXT): $(pagsh_OBJECTS) $(pagsh_DEPENDENCIES)
+-	@rm -f pagsh$(EXEEXT)
+-	$(LINK) $(pagsh_LDFLAGS) $(pagsh_OBJECTS) $(pagsh_LDADD) $(LIBS)
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
++
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
++uninstall-info-am:
+ 
+ tags: TAGS
+ 
+@@ -364,22 +350,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -389,85 +376,91 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-install-exec-am: install-binPROGRAMS
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++all-am: Makefile $(PROGRAMS) all-local
+ 
+-install-data-am: install-data-local
+-install-data: install-data-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(bindir)
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am: uninstall-binPROGRAMS
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(PROGRAMS) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(bindir)
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-binPROGRAMS mostlyclean-compile \
+-		mostlyclean-libtool mostlyclean-tags \
+-		mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am
+ 
+-clean-am:  clean-binPROGRAMS clean-compile clean-libtool clean-tags \
+-		clean-generic mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-binPROGRAMS distclean-compile distclean-libtool \
+-		distclean-tags distclean-generic clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-binPROGRAMS \
+-		maintainer-clean-compile maintainer-clean-libtool \
+-		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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local
++
++install-exec-am: install-binPROGRAMS
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man:
++
++installcheck-am:
+ 
+ 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 mostlyclean-libtool distclean-libtool \
+-clean-libtool maintainer-clean-libtool tags mostlyclean-tags \
+-distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
+-dvi-am dvi check-local check check-am installcheck-am installcheck \
+-install-exec-am install-exec install-data-local install-data-am \
+-install-data install-am install uninstall-am uninstall all-local \
+-all-redirect all-am all install-strip installdirs mostlyclean-generic \
+-distclean-generic clean-generic maintainer-clean-generic clean \
+-mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-binPROGRAMS uninstall-info-am
++
++.PHONY: GTAGS all all-am all-local check check-am check-local clean \
++	clean-binPROGRAMS clean-generic clean-libtool distclean \
++	distclean-compile distclean-generic distclean-libtool \
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-binPROGRAMS install-data install-data-am \
++	install-data-local install-exec install-exec-am install-info \
++	install-info-am install-man install-strip installcheck \
++	installcheck-am installdirs maintainer-clean \
++	maintainer-clean-generic mostlyclean mostlyclean-compile \
++	mostlyclean-generic mostlyclean-libtool tags uninstall \
++	uninstall-am uninstall-binPROGRAMS uninstall-info-am
+ 
+ 
+ install-suid-programs:
+@@ -597,7 +590,6 @@
+ 	  echo "$$dashes"; \
+ 	  test "$$failed" -eq 0; \
+ 	fi
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/appl/dceutils/Makefile.in heimdal-0.4e/appl/dceutils/Makefile.in
+--- heimdal-0.4e-old/appl/dceutils/Makefile.in	Thu Sep  6 22:25:44 2001
++++ heimdal-0.4e/appl/dceutils/Makefile.in	Wed Nov 21 11:52:36 2001
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.7 2001/08/23 22:42:44 assar Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,9 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,6 +89,7 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+@@ -105,7 +109,6 @@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,19 +122,17 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
+-dpagaix_CFLAGS = @dpagaix_CFLAGS@
+-dpagaix_LDADD = @dpagaix_LDADD@
++am__include = @am__include@
++am__quote = @am__quote@
+ install_sh = @install_sh@
+ 
+-# $Id: Makefile.am,v 1.7 2001/08/23 22:42:44 assar Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
++dpagaix_CFLAGS = @dpagaix_CFLAGS@
++dpagaix_LDADD = @dpagaix_LDADD@
+ 
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+@@ -189,144 +190,137 @@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+ DFSPROGS = k5dcecon
+-@AIX_TRUE@AIX_DFSPROGS = @AIX_TRUE@dpagaix
++@AIX_TRUE@AIX_DFSPROGS = dpagaix
+ 
+ libexec_PROGRAMS = $(DFSPROGS) $(AIX_DFSPROGS)
+-
+-dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDFLAGS = @dpagaix_LDFLAGS@
+-dpagaix_LDADD = @dpagaix_LDADD@
+ 
+ LIB_dce = -ldce
+ 
+ k5dcecon_SOURCES = k5dcecon.c k5dce.h
+ 
+ dpagaix_SOURCES = dpagaix.c
+-@IRIX_TRUE@LDADD = @IRIX_TRUE@$(LIB_dce)
+-@IRIX_FALSE@LDADD = @IRIX_FALSE@$(LIB_roken) $(LIB_dce)
++
++@IRIX_TRUE@LDADD = $(LIB_dce)
++@IRIX_FALSE@LDADD = $(LIB_roken) $(LIB_dce)
+ subdir = appl/dceutils
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../include/config.h
+-CONFIG_CLEAN_FILES = 
+-@AIX_FALSE@libexec_PROGRAMS =  k5dcecon$(EXEEXT)
+-@AIX_TRUE@libexec_PROGRAMS =  k5dcecon$(EXEEXT) dpagaix$(EXEEXT)
+-PROGRAMS =  $(libexec_PROGRAMS)
+-
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++@AIX_TRUE@libexec_PROGRAMS = k5dcecon$(EXEEXT) dpagaix$(EXEEXT)
++@AIX_FALSE@libexec_PROGRAMS = k5dcecon$(EXEEXT)
++PROGRAMS = $(libexec_PROGRAMS)
++
++am_dpagaix_OBJECTS = dpagaix-dpagaix.$(OBJEXT)
++dpagaix_OBJECTS = $(am_dpagaix_OBJECTS)
++dpagaix_DEPENDENCIES =
++am_k5dcecon_OBJECTS = k5dcecon.$(OBJEXT)
++k5dcecon_OBJECTS = $(am_k5dcecon_OBJECTS)
++k5dcecon_LDADD = $(LDADD)
++@IRIX_TRUE@k5dcecon_DEPENDENCIES =
++@IRIX_FALSE@k5dcecon_DEPENDENCIES =
++k5dcecon_LDFLAGS =
+ 
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../../include
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+-am_dpagaix_OBJECTS =  dpagaix-dpagaix.$(OBJEXT)
+-dpagaix_OBJECTS =  $(am_dpagaix_OBJECTS)
+-dpagaix_DEPENDENCIES = 
+-am_k5dcecon_OBJECTS =  k5dcecon.$(OBJEXT)
+-k5dcecon_OBJECTS =  $(am_k5dcecon_OBJECTS)
+-k5dcecon_LDADD = $(LDADD)
+-@IRIX_FALSE@k5dcecon_DEPENDENCIES = 
+-@IRIX_TRUE@k5dcecon_DEPENDENCIES = 
+-k5dcecon_LDFLAGS = 
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  $(dpagaix_SOURCES) $(k5dcecon_SOURCES)
+-depcomp = 
+-DIST_COMMON =  ChangeLog Makefile.am Makefile.in
+-
+-
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+-
+-GZIP_ENV = --best
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++DIST_SOURCES = $(dpagaix_SOURCES) $(k5dcecon_SOURCES)
++DIST_COMMON = ChangeLog Makefile.am Makefile.in
+ SOURCES = $(dpagaix_SOURCES) $(k5dcecon_SOURCES)
+-OBJECTS = $(am_dpagaix_OBJECTS) $(am_k5dcecon_OBJECTS)
+ 
+-all: all-redirect
++all: all-am
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/dceutils/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+-
+-
+-mostlyclean-libexecPROGRAMS:
+-
+-clean-libexecPROGRAMS:
+-	-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
+ 
+-distclean-libexecPROGRAMS:
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-maintainer-clean-libexecPROGRAMS:
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  appl/dceutils/Makefile
++Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ install-libexecPROGRAMS: $(libexec_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(libexecdir)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+-	  if test -f $$p; then \
+-	    f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libexecdir)/$$f"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libexecdir)/$$f; \
++	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  if test -f $$p \
++	     || test -f $$p1 \
++	  ; then \
++	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-libexecPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+-	  f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(libexecdir)/$$f; \
+ 	done
+ 
+-mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
++clean-libexecPROGRAMS:
++	-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
++dpagaix-dpagaix.$(OBJEXT): dpagaix.c
++k5dcecon$(EXEEXT): $(k5dcecon_OBJECTS) $(k5dcecon_DEPENDENCIES) 
++	@rm -f k5dcecon$(EXEEXT)
++	$(LINK) $(k5dcecon_LDFLAGS) $(k5dcecon_OBJECTS) $(k5dcecon_LDADD) $(LIBS)
+ 
+-clean-compile:
++mostlyclean-compile:
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+-maintainer-clean-compile:
++.c.o:
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
+ 
+-mostlyclean-libtool:
+-	-rm -f *.lo
++.c.obj:
++	$(COMPILE) -c `cygpath -w $<`
+ 
+-clean-libtool:
+-	-rm -rf .libs _libs
++.c.lo:
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
+ 
+-distclean-libtool:
++dpagaix-dpagaix.o: dpagaix.c
++	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(dpagaix_CFLAGS) $(CFLAGS) -c -o dpagaix-dpagaix.o `test -f dpagaix.c || echo '$(srcdir)/'`dpagaix.c
+ 
+-maintainer-clean-libtool:
+-dpagaix-dpagaix.$(OBJEXT): dpagaix.c
+-	$(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(dpagaix_CFLAGS) $(CFLAGS) -c -o dpagaix-dpagaix.$(OBJEXT) `test -f ./dpagaix.c || echo '$(srcdir)/'`dpagaix.c
++dpagaix-dpagaix.obj: dpagaix.c
++	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(dpagaix_CFLAGS) $(CFLAGS) -c -o dpagaix-dpagaix.obj `cygpath -w dpagaix.c`
+ 
+-k5dcecon$(EXEEXT): $(k5dcecon_OBJECTS) $(k5dcecon_DEPENDENCIES)
+-	@rm -f k5dcecon$(EXEEXT)
+-	$(LINK) $(k5dcecon_LDFLAGS) $(k5dcecon_OBJECTS) $(k5dcecon_LDADD) $(LIBS)
+-.c.o:
+-	$(COMPILE) -c $<
+-.c.obj:
+-	$(COMPILE) -c `cygpath -w $<`
+-.c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++dpagaix-dpagaix.lo: dpagaix.c
++	$(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(dpagaix_CFLAGS) $(CFLAGS) -c -o dpagaix-dpagaix.lo `test -f dpagaix.c || echo '$(srcdir)/'`dpagaix.c
++uninstall-info-am:
+ 
+ tags: TAGS
+ 
+@@ -355,22 +349,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -380,87 +375,92 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-install-exec-am: install-libexecPROGRAMS
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++all-am: Makefile $(PROGRAMS) all-local
+ 
+-install-data-am: install-data-local
+-install-data: install-data-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(libexecdir)
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am: uninstall-libexecPROGRAMS
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(PROGRAMS) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(libexecdir)
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-libexecPROGRAMS mostlyclean-compile \
+-		mostlyclean-libtool mostlyclean-tags \
+-		mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-generic clean-libexecPROGRAMS clean-libtool \
++	mostlyclean-am
+ 
+-clean-am:  clean-libexecPROGRAMS clean-compile clean-libtool clean-tags \
+-		clean-generic mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-libexecPROGRAMS distclean-compile \
+-		distclean-libtool distclean-tags distclean-generic \
+-		clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-libexecPROGRAMS \
+-		maintainer-clean-compile maintainer-clean-libtool \
+-		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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local
++
++install-exec-am: install-libexecPROGRAMS
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man:
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-am
+ 
+-.PHONY: mostlyclean-libexecPROGRAMS distclean-libexecPROGRAMS \
+-clean-libexecPROGRAMS maintainer-clean-libexecPROGRAMS \
+-uninstall-libexecPROGRAMS install-libexecPROGRAMS mostlyclean-compile \
+-distclean-compile clean-compile maintainer-clean-compile \
+-mostlyclean-libtool distclean-libtool clean-libtool \
+-maintainer-clean-libtool tags mostlyclean-tags distclean-tags \
+-clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi \
+-check-local check check-am installcheck-am installcheck install-exec-am \
+-install-exec install-data-local install-data-am install-data install-am \
+-install uninstall-am uninstall all-local all-redirect all-am all \
+-install-strip installdirs mostlyclean-generic distclean-generic \
+-clean-generic maintainer-clean-generic clean mostlyclean distclean \
+-maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-info-am uninstall-libexecPROGRAMS
++
++.PHONY: GTAGS all all-am all-local check check-am check-local clean \
++	clean-generic clean-libexecPROGRAMS clean-libtool distclean \
++	distclean-compile distclean-generic distclean-libtool \
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-data install-data-am install-data-local \
++	install-exec install-exec-am install-info install-info-am \
++	install-libexecPROGRAMS install-man install-strip installcheck \
++	installcheck-am installdirs maintainer-clean \
++	maintainer-clean-generic mostlyclean mostlyclean-compile \
++	mostlyclean-generic mostlyclean-libtool tags uninstall \
++	uninstall-am uninstall-info-am uninstall-libexecPROGRAMS
+ 
+ 
+ install-suid-programs:
+@@ -593,7 +593,6 @@
+ 
+ dpagaix$(EXEEXT): $(dpagaix_OBJECTS)
+ 	ld -edpagaix -o dpagaix$(EXEEXT) $(dpagaix_OBJECTS) $(srcdir)/dfspag.exp
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/appl/ftp/Makefile.in heimdal-0.4e/appl/ftp/Makefile.in
+--- heimdal-0.4e-old/appl/ftp/Makefile.in	Thu Sep  6 22:24:15 2001
++++ heimdal-0.4e/appl/ftp/Makefile.in	Wed Nov 21 11:52:36 2001
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.5 1999/03/20 13:58:14 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,9 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,6 +89,7 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+@@ -105,7 +109,6 @@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,20 +122,17 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+ 
+-# $Id: Makefile.am,v 1.5 1999/03/20 13:58:14 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
+-
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+ SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+@@ -189,45 +189,58 @@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+ SUBDIRS = common ftp ftpd
+ subdir = appl/ftp
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../include/config.h
+-CONFIG_CLEAN_FILES = 
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++depcomp =
+ CFLAGS = @CFLAGS@
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES = 
+-depcomp = 
+-DIST_COMMON =  ChangeLog Makefile.am Makefile.in
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++DIST_SOURCES =
++
++RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \
++	uninstall-info-recursive all-recursive install-data-recursive \
++	install-exec-recursive installdirs-recursive install-recursive \
++	uninstall-recursive check-recursive installcheck-recursive
++DIST_COMMON = ChangeLog Makefile.am Makefile.in
++DIST_SUBDIRS = $(SUBDIRS)
++all: all-recursive
+ 
++.SUFFIXES:
++.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c
+ 
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-GZIP_ENV = --best
+-DIST_SUBDIRS =  $(SUBDIRS)
+-all: all-redirect
+-.SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/ftp/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  appl/ftp/Makefile
++Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
++uninstall-info-am:
+ 
+ # This directory's subdirectories are mostly independent; you can cd
+ # into them and run `make' without going through this Makefile.
+@@ -235,10 +248,7 @@
+ # (1) if the variable is set in `config.status', edit `config.status'
+ #     (which will cause the Makefiles to be regenerated when you run `make');
+ # (2) otherwise, pass the desired values on the `make' command line.
+-
+-all-recursive install-data-recursive install-exec-recursive \
+-installdirs-recursive install-recursive uninstall-recursive  \
+-check-recursive installcheck-recursive info-recursive dvi-recursive:
++$(RECURSIVE_TARGETS):
+ 	@set fnord $(MAKEFLAGS); amf=$$2; \
+ 	dot_seen=no; \
+ 	target=`echo $@ | sed s/-recursive//`; \
+@@ -303,9 +313,9 @@
+ 	tags=; \
+ 	here=`pwd`; \
+ 	list='$(SUBDIRS)'; for subdir in $$list; do \
+-   if test "$$subdir" = .; then :; else \
++	  if test "$$subdir" = .; then :; else \
+ 	    test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
+-   fi; \
++	  fi; \
+ 	done; \
+ 	list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
+ 	unique=`for i in $$list; do \
+@@ -319,22 +329,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -349,84 +360,103 @@
+ 	    test -d $(distdir)/$$subdir \
+ 	    || mkdir $(distdir)/$$subdir \
+ 	    || exit 1; \
+-	    (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \
++	    (cd $$subdir && \
++	      $(MAKE) $(AM_MAKEFLAGS) \
++	        top_distdir="$(top_distdir)" \
++	        distdir=../$(distdir)/$$subdir \
++	        distdir) \
+ 	      || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-recursive
+-dvi-am:
+-dvi: dvi-recursive
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-recursive
+-installcheck-am:
+-installcheck: installcheck-recursive
+-install-exec-am:
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-recursive
++all-am: Makefile all-local
++installdirs: installdirs-recursive
++installdirs-am:
+ 
+-install-data-am: install-data-local
++install: install-recursive
++install-exec: install-exec-recursive
+ install-data: install-data-recursive
++uninstall: uninstall-recursive
+ 
+ install-am: all-am
+ 	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+-install: install-recursive
+-uninstall-am:
+-uninstall: uninstall-recursive
+-all-am: Makefile all-local
+-all-redirect: all-recursive
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs: installdirs-recursive
+-installdirs-am:
+-
+ 
++installcheck: installcheck-recursive
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-tags mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-recursive
+ 
+-mostlyclean: mostlyclean-recursive
++clean-am: clean-generic clean-libtool mostlyclean-am
+ 
+-clean-am:  clean-tags clean-generic mostlyclean-am
++distclean: distclean-recursive
+ 
+-clean: clean-recursive
++distclean-am: clean-am distclean-generic distclean-libtool \
++	distclean-tags
+ 
+-distclean-am:  distclean-tags distclean-generic clean-am
+-	-rm -f libtool
++dvi: dvi-recursive
+ 
+-distclean: distclean-recursive
++dvi-am:
+ 
+-maintainer-clean-am:  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."
++info: info-recursive
++
++info-am:
++
++install-data-am: install-data-local
++
++install-exec-am:
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-recursive
++
++install-man:
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-recursive
+ 
+-.PHONY: install-recursive uninstall-recursive install-data-recursive \
+-uninstall-data-recursive install-exec-recursive \
+-uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
+-all-recursive check-recursive installcheck-recursive info-recursive \
+-dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
+-maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
+-distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
+-dvi-am dvi check-local check check-am installcheck-am installcheck \
+-install-exec-am install-exec install-data-local install-data-am \
+-install-data install-am install uninstall-am uninstall all-local \
+-all-redirect all-am all install-strip installdirs-am installdirs \
+-mostlyclean-generic distclean-generic clean-generic \
+-maintainer-clean-generic clean mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-recursive
++
++mostlyclean-am: mostlyclean-generic mostlyclean-libtool
++
++uninstall-am: uninstall-info-am
++
++uninstall-info: uninstall-info-recursive
++
++.PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am all-local check check-am \
++	check-local clean clean-generic clean-libtool clean-recursive \
++	distclean distclean-generic distclean-libtool \
++	distclean-recursive distclean-tags distdir dvi dvi-am \
++	dvi-recursive info info-am info-recursive install install-am \
++	install-data install-data-am install-data-local \
++	install-data-recursive install-exec install-exec-am \
++	install-exec-recursive install-info install-info-am \
++	install-info-recursive install-man install-recursive \
++	install-strip installcheck installcheck-am installdirs \
++	installdirs-am installdirs-recursive maintainer-clean \
++	maintainer-clean-generic maintainer-clean-recursive mostlyclean \
++	mostlyclean-generic mostlyclean-libtool mostlyclean-recursive \
++	tags tags-recursive uninstall uninstall-am uninstall-info-am \
++	uninstall-info-recursive uninstall-recursive
+ 
+ 
+ install-suid-programs:
+@@ -556,7 +586,6 @@
+ 	  echo "$$dashes"; \
+ 	  test "$$failed" -eq 0; \
+ 	fi
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/appl/ftp/common/Makefile.in heimdal-0.4e/appl/ftp/common/Makefile.in
+--- heimdal-0.4e-old/appl/ftp/common/Makefile.in	Thu Sep  6 22:24:20 2001
++++ heimdal-0.4e/appl/ftp/common/Makefile.in	Wed Nov 21 11:52:37 2001
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.9 1999/07/28 21:15:06 assar Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,9 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,6 +89,7 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+@@ -105,7 +109,6 @@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,20 +122,17 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+ 
+-# $Id: Makefile.am,v 1.9 1999/07/28 21:15:06 assar Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
+-
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+ SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+@@ -189,13 +189,12 @@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+@@ -208,69 +207,36 @@
+ 
+ subdir = appl/ftp/common
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../../include/config.h
+-CONFIG_CLEAN_FILES = 
+-LIBRARIES =  $(noinst_LIBRARIES)
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++LIBRARIES = $(noinst_LIBRARIES)
+ 
++libcommon_a_AR = $(AR) cru
++libcommon_a_LIBADD =
++am_libcommon_a_OBJECTS = sockbuf.$(OBJEXT) buffer.$(OBJEXT)
++libcommon_a_OBJECTS = $(am_libcommon_a_OBJECTS)
+ 
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../../../include
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+-libcommon_a_AR = $(AR) cru
+-libcommon_a_LIBADD = 
+-am_libcommon_a_OBJECTS =  sockbuf.$(OBJEXT) buffer.$(OBJEXT)
+-libcommon_a_OBJECTS =  $(am_libcommon_a_OBJECTS)
+-AR = ar
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  $(libcommon_a_SOURCES)
+-depcomp = 
+-DIST_COMMON =  Makefile.am Makefile.in
+-
+-
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+-
+-GZIP_ENV = --best
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++DIST_SOURCES = $(libcommon_a_SOURCES)
++DIST_COMMON = Makefile.am Makefile.in
+ SOURCES = $(libcommon_a_SOURCES)
+-OBJECTS = $(am_libcommon_a_OBJECTS)
+ 
+-all: all-redirect
++all: all-am
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/ftp/common/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+-
+-
+-mostlyclean-noinstLIBRARIES:
+-
+-clean-noinstLIBRARIES:
+-	-test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
+-
+-distclean-noinstLIBRARIES:
+-
+-maintainer-clean-noinstLIBRARIES:
+-
+-mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
+-
+-clean-compile:
+-
+-distclean-compile:
+-	-rm -f *.tab.c
+-
+-maintainer-clean-compile:
+ 
+ mostlyclean-libtool:
+ 	-rm -f *.lo
+@@ -279,19 +245,39 @@
+ 	-rm -rf .libs _libs
+ 
+ distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  appl/ftp/common/Makefile
++Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ 
+-maintainer-clean-libtool:
++AR = ar
+ 
+-libcommon.a: $(libcommon_a_OBJECTS) $(libcommon_a_DEPENDENCIES)
++clean-noinstLIBRARIES:
++	-test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
++libcommon.a: $(libcommon_a_OBJECTS) $(libcommon_a_DEPENDENCIES) 
+ 	-rm -f libcommon.a
+ 	$(libcommon_a_AR) libcommon.a $(libcommon_a_OBJECTS) $(libcommon_a_LIBADD)
+ 	$(RANLIB) libcommon.a
++
++mostlyclean-compile:
++	-rm -f *.$(OBJEXT) core *.core
++
++distclean-compile:
++	-rm -f *.tab.c
++
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
++
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
++uninstall-info-am:
+ 
+ tags: TAGS
+ 
+@@ -320,22 +306,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ../../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -345,85 +332,91 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-install-exec-am:
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++all-am: Makefile $(LIBRARIES) all-local
+ 
+-install-data-am: install-data-local
+-install-data: install-data-am
++installdirs:
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am:
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(LIBRARIES) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-noinstLIBRARIES mostlyclean-compile \
+-		mostlyclean-libtool mostlyclean-tags \
+-		mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-generic clean-libtool clean-noinstLIBRARIES \
++	mostlyclean-am
+ 
+-clean-am:  clean-noinstLIBRARIES clean-compile clean-libtool clean-tags \
+-		clean-generic mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-noinstLIBRARIES distclean-compile \
+-		distclean-libtool distclean-tags distclean-generic \
+-		clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-noinstLIBRARIES \
+-		maintainer-clean-compile maintainer-clean-libtool \
+-		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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local
++
++install-exec-am:
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man:
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-am
+ 
+-.PHONY: mostlyclean-noinstLIBRARIES distclean-noinstLIBRARIES \
+-clean-noinstLIBRARIES maintainer-clean-noinstLIBRARIES \
+-mostlyclean-compile distclean-compile clean-compile \
+-maintainer-clean-compile mostlyclean-libtool distclean-libtool \
+-clean-libtool maintainer-clean-libtool tags mostlyclean-tags \
+-distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
+-dvi-am dvi check-local check check-am installcheck-am installcheck \
+-install-exec-am install-exec install-data-local install-data-am \
+-install-data install-am install uninstall-am uninstall all-local \
+-all-redirect all-am all install-strip installdirs mostlyclean-generic \
+-distclean-generic clean-generic maintainer-clean-generic clean \
+-mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-info-am
++
++.PHONY: GTAGS all all-am all-local check check-am check-local clean \
++	clean-generic clean-libtool clean-noinstLIBRARIES distclean \
++	distclean-compile distclean-generic distclean-libtool \
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-data install-data-am install-data-local \
++	install-exec install-exec-am install-info install-info-am \
++	install-man install-strip installcheck installcheck-am \
++	installdirs maintainer-clean maintainer-clean-generic \
++	mostlyclean mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool tags uninstall uninstall-am \
++	uninstall-info-am
+ 
+ 
+ install-suid-programs:
+@@ -553,7 +546,6 @@
+ 	  echo "$$dashes"; \
+ 	  test "$$failed" -eq 0; \
+ 	fi
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/appl/ftp/ftp/Makefile.in heimdal-0.4e/appl/ftp/ftp/Makefile.in
+--- heimdal-0.4e-old/appl/ftp/ftp/Makefile.in	Thu Sep  6 22:24:27 2001
++++ heimdal-0.4e/appl/ftp/ftp/Makefile.in	Wed Nov 21 11:52:37 2001
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.15 2001/08/28 08:31:21 assar Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,9 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,6 +89,7 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+@@ -105,7 +109,6 @@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,20 +122,17 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+ 
+-# $Id: Makefile.am,v 1.15 2001/08/28 08:31:21 assar Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
+-
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+ SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+@@ -189,20 +189,19 @@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = 
+ 
+ bin_PROGRAMS = ftp
+ 
+-@KRB4_TRUE@krb4_sources = @KRB4_TRUE@krb4.c kauth.c
+-@KRB5_TRUE@krb5_sources = @KRB5_TRUE@gssapi.c
++@KRB4_TRUE@krb4_sources = krb4.c kauth.c
++@KRB5_TRUE@krb5_sources = gssapi.c
+ 
+ ftp_SOURCES = \
+ 	cmds.c \
+@@ -237,137 +236,130 @@
+ 
+ subdir = appl/ftp/ftp
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../../include/config.h
+-CONFIG_CLEAN_FILES = 
+-bin_PROGRAMS =  ftp$(EXEEXT)
+-PROGRAMS =  $(bin_PROGRAMS)
+-
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++bin_PROGRAMS = ftp$(EXEEXT)
++PROGRAMS = $(bin_PROGRAMS)
++
++@KRB4_FALSE@@KRB5_TRUE@am_ftp_OBJECTS = cmds.$(OBJEXT) cmdtab.$(OBJEXT) \
++@KRB4_FALSE@@KRB5_TRUE@	ftp.$(OBJEXT) main.$(OBJEXT) \
++@KRB4_FALSE@@KRB5_TRUE@	ruserpass.$(OBJEXT) domacro.$(OBJEXT) \
++@KRB4_FALSE@@KRB5_TRUE@	globals.$(OBJEXT) security.$(OBJEXT) \
++@KRB4_FALSE@@KRB5_TRUE@	gssapi.$(OBJEXT)
++@KRB4_FALSE@@KRB5_FALSE@am_ftp_OBJECTS = cmds.$(OBJEXT) cmdtab.$(OBJEXT) \
++@KRB4_FALSE@@KRB5_FALSE@	ftp.$(OBJEXT) main.$(OBJEXT) \
++@KRB4_FALSE@@KRB5_FALSE@	ruserpass.$(OBJEXT) domacro.$(OBJEXT) \
++@KRB4_FALSE@@KRB5_FALSE@	globals.$(OBJEXT) security.$(OBJEXT)
++@KRB4_TRUE@@KRB5_TRUE@am_ftp_OBJECTS = cmds.$(OBJEXT) cmdtab.$(OBJEXT) \
++@KRB4_TRUE@@KRB5_TRUE@	ftp.$(OBJEXT) main.$(OBJEXT) \
++@KRB4_TRUE@@KRB5_TRUE@	ruserpass.$(OBJEXT) domacro.$(OBJEXT) \
++@KRB4_TRUE@@KRB5_TRUE@	globals.$(OBJEXT) security.$(OBJEXT) \
++@KRB4_TRUE@@KRB5_TRUE@	krb4.$(OBJEXT) kauth.$(OBJEXT) \
++@KRB4_TRUE@@KRB5_TRUE@	gssapi.$(OBJEXT)
++@KRB4_TRUE@@KRB5_FALSE@am_ftp_OBJECTS = cmds.$(OBJEXT) cmdtab.$(OBJEXT) \
++@KRB4_TRUE@@KRB5_FALSE@	ftp.$(OBJEXT) main.$(OBJEXT) \
++@KRB4_TRUE@@KRB5_FALSE@	ruserpass.$(OBJEXT) domacro.$(OBJEXT) \
++@KRB4_TRUE@@KRB5_FALSE@	globals.$(OBJEXT) security.$(OBJEXT) \
++@KRB4_TRUE@@KRB5_FALSE@	krb4.$(OBJEXT) kauth.$(OBJEXT)
++ftp_OBJECTS = $(am_ftp_OBJECTS)
++ftp_LDADD = $(LDADD)
++@KRB5_TRUE@ftp_DEPENDENCIES = ../common/libcommon.a \
++@KRB5_TRUE@	$(top_builddir)/lib/gssapi/libgssapi.la \
++@KRB5_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_FALSE@ftp_DEPENDENCIES = ../common/libcommon.a
++ftp_LDFLAGS =
+ 
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../../../include
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+-@KRB4_FALSE@@KRB5_FALSE@am_ftp_OBJECTS =  cmds.$(OBJEXT) \
+-@KRB4_FALSE@@KRB5_FALSE@cmdtab.$(OBJEXT) ftp.$(OBJEXT) main.$(OBJEXT) \
+-@KRB4_FALSE@@KRB5_FALSE@ruserpass.$(OBJEXT) domacro.$(OBJEXT) \
+-@KRB4_FALSE@@KRB5_FALSE@globals.$(OBJEXT) security.$(OBJEXT)
+-@KRB4_FALSE@@KRB5_TRUE@am_ftp_OBJECTS =  cmds.$(OBJEXT) cmdtab.$(OBJEXT) \
+-@KRB4_FALSE@@KRB5_TRUE@ftp.$(OBJEXT) main.$(OBJEXT) ruserpass.$(OBJEXT) \
+-@KRB4_FALSE@@KRB5_TRUE@domacro.$(OBJEXT) globals.$(OBJEXT) \
+-@KRB4_FALSE@@KRB5_TRUE@security.$(OBJEXT) gssapi.$(OBJEXT)
+-@KRB4_TRUE@@KRB5_FALSE@am_ftp_OBJECTS =  cmds.$(OBJEXT) cmdtab.$(OBJEXT) \
+-@KRB4_TRUE@@KRB5_FALSE@ftp.$(OBJEXT) main.$(OBJEXT) ruserpass.$(OBJEXT) \
+-@KRB4_TRUE@@KRB5_FALSE@domacro.$(OBJEXT) globals.$(OBJEXT) \
+-@KRB4_TRUE@@KRB5_FALSE@security.$(OBJEXT) krb4.$(OBJEXT) \
+-@KRB4_TRUE@@KRB5_FALSE@kauth.$(OBJEXT)
+-@KRB4_TRUE@@KRB5_TRUE@am_ftp_OBJECTS =  cmds.$(OBJEXT) cmdtab.$(OBJEXT) \
+-@KRB4_TRUE@@KRB5_TRUE@ftp.$(OBJEXT) main.$(OBJEXT) ruserpass.$(OBJEXT) \
+-@KRB4_TRUE@@KRB5_TRUE@domacro.$(OBJEXT) globals.$(OBJEXT) \
+-@KRB4_TRUE@@KRB5_TRUE@security.$(OBJEXT) krb4.$(OBJEXT) kauth.$(OBJEXT) \
+-@KRB4_TRUE@@KRB5_TRUE@gssapi.$(OBJEXT)
+-ftp_OBJECTS =  $(am_ftp_OBJECTS)
+-ftp_LDADD = $(LDADD)
+-@KRB5_FALSE@ftp_DEPENDENCIES =  ../common/libcommon.a
+-@KRB5_TRUE@ftp_DEPENDENCIES =  ../common/libcommon.a \
+-@KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la \
+-@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
+-ftp_LDFLAGS = 
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  $(ftp_SOURCES) $(EXTRA_ftp_SOURCES)
+-man1dir = $(mandir)/man1
+-MANS = $(man_MANS)
+-depcomp = 
+-DIST_COMMON =  Makefile.am Makefile.in
+-
+-
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++DIST_SOURCES = $(ftp_SOURCES) $(EXTRA_ftp_SOURCES)
+ 
+-GZIP_ENV = --best
++NROFF = nroff
++MANS = $(man_MANS)
++DIST_COMMON = Makefile.am Makefile.in
+ SOURCES = $(ftp_SOURCES) $(EXTRA_ftp_SOURCES)
+-OBJECTS = $(am_ftp_OBJECTS)
+ 
+-all: all-redirect
++all: all-am
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/ftp/ftp/Makefile
+ 
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+-
+-
+-mostlyclean-binPROGRAMS:
+-
+-clean-binPROGRAMS:
+-	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
+-
+-distclean-binPROGRAMS:
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-maintainer-clean-binPROGRAMS:
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  appl/ftp/ftp/Makefile
++Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ install-binPROGRAMS: $(bin_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(bindir)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  if test -f $$p; then \
+-	    f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f; \
++	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  if test -f $$p \
++	     || test -f $$p1 \
++	  ; then \
++	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-binPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+-mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
++clean-binPROGRAMS:
++	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
++ftp$(EXEEXT): $(ftp_OBJECTS) $(ftp_DEPENDENCIES) 
++	@rm -f ftp$(EXEEXT)
++	$(LINK) $(ftp_LDFLAGS) $(ftp_OBJECTS) $(ftp_LDADD) $(LIBS)
+ 
+-clean-compile:
++mostlyclean-compile:
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+-maintainer-clean-compile:
+-
+-mostlyclean-libtool:
+-	-rm -f *.lo
+-
+-clean-libtool:
+-	-rm -rf .libs _libs
+-
+-distclean-libtool:
+-
+-maintainer-clean-libtool:
+-
+-ftp$(EXEEXT): $(ftp_OBJECTS) $(ftp_DEPENDENCIES)
+-	@rm -f ftp$(EXEEXT)
+-	$(LINK) $(ftp_LDFLAGS) $(ftp_OBJECTS) $(ftp_LDADD) $(LIBS)
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
++
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
++uninstall-info-am:
+ 
+-install-man1:
++man1dir = $(mandir)/man1
++install-man1: $(man1_MANS) $(man_MANS)
++	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(man1dir)
+-	@list='$(man1_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.1*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -382,10 +374,11 @@
+ 	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
+ 	  $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
+ 	done
+-
+ uninstall-man1:
+-	@list='$(man1_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@$(NORMAL_UNINSTALL)
++	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.1*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -398,12 +391,6 @@
+ 	  echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
+ 	  rm -f $(DESTDIR)$(man1dir)/$$inst; \
+ 	done
+-install-man: $(MANS)
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-man1
+-uninstall-man:
+-	@$(NORMAL_UNINSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) uninstall-man1
+ 
+ tags: TAGS
+ 
+@@ -432,22 +419,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ../../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -457,86 +445,94 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-install-exec-am: install-binPROGRAMS
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++all-am: Makefile $(PROGRAMS) $(MANS) all-local
+ 
+-install-data-am: install-man install-data-local
+-install-data: install-data-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(man1dir)
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am: uninstall-binPROGRAMS uninstall-man
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(PROGRAMS) $(MANS) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-binPROGRAMS mostlyclean-compile \
+-		mostlyclean-libtool mostlyclean-tags \
+-		mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am
+ 
+-clean-am:  clean-binPROGRAMS clean-compile clean-libtool clean-tags \
+-		clean-generic mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-binPROGRAMS distclean-compile distclean-libtool \
+-		distclean-tags distclean-generic clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-binPROGRAMS \
+-		maintainer-clean-compile maintainer-clean-libtool \
+-		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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local install-man
++
++install-exec-am: install-binPROGRAMS
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man: install-man1
++
++installcheck-am:
+ 
+ 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 mostlyclean-libtool distclean-libtool \
+-clean-libtool maintainer-clean-libtool install-man1 uninstall-man1 \
+-install-man uninstall-man tags mostlyclean-tags distclean-tags \
+-clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi \
+-check-local check check-am installcheck-am installcheck install-exec-am \
+-install-exec install-data-local install-data-am install-data install-am \
+-install uninstall-am uninstall all-local all-redirect all-am all \
+-install-strip installdirs mostlyclean-generic distclean-generic \
+-clean-generic maintainer-clean-generic clean mostlyclean distclean \
+-maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-binPROGRAMS uninstall-info-am uninstall-man
++
++uninstall-man: uninstall-man1
++
++.PHONY: GTAGS all all-am all-local check check-am check-local clean \
++	clean-binPROGRAMS clean-generic clean-libtool distclean \
++	distclean-compile distclean-generic distclean-libtool \
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-binPROGRAMS install-data install-data-am \
++	install-data-local install-exec install-exec-am install-info \
++	install-info-am install-man install-man1 install-strip \
++	installcheck installcheck-am installdirs maintainer-clean \
++	maintainer-clean-generic mostlyclean mostlyclean-compile \
++	mostlyclean-generic mostlyclean-libtool tags uninstall \
++	uninstall-am uninstall-binPROGRAMS uninstall-info-am \
++	uninstall-man uninstall-man1
+ 
+ 
+ install-suid-programs:
+@@ -666,7 +662,6 @@
+ 	  echo "$$dashes"; \
+ 	  test "$$failed" -eq 0; \
+ 	fi
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/appl/ftp/ftpd/Makefile.in heimdal-0.4e/appl/ftp/ftpd/Makefile.in
+--- heimdal-0.4e-old/appl/ftp/ftpd/Makefile.in	Thu Sep  6 22:24:34 2001
++++ heimdal-0.4e/appl/ftp/ftpd/Makefile.in	Wed Nov 21 11:52:37 2001
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.26 2001/09/06 12:18:34 assar Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,9 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,6 +89,7 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+@@ -105,7 +109,6 @@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,20 +122,17 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+ 
+-# $Id: Makefile.am,v 1.26 2001/09/06 12:18:34 assar Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
+-
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+ SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+@@ -189,20 +189,19 @@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = 
+ 
+ libexec_PROGRAMS = ftpd
+ 
+-@KRB4_TRUE@krb4_sources = @KRB4_TRUE@krb4.c kauth.c
+-@KRB5_TRUE@krb5_sources = @KRB5_TRUE@gssapi.c gss_userok.c
++@KRB4_TRUE@krb4_sources = krb4.c kauth.c
++@KRB5_TRUE@krb5_sources = gssapi.c gss_userok.c
+ 
+ ftpd_SOURCES = \
+ 	extern.h	\
+@@ -235,148 +234,139 @@
+ 
+ subdir = appl/ftp/ftpd
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../../include/config.h
+-CONFIG_CLEAN_FILES = 
+-libexec_PROGRAMS =  ftpd$(EXEEXT)
+-PROGRAMS =  $(libexec_PROGRAMS)
+-
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++libexec_PROGRAMS = ftpd$(EXEEXT)
++PROGRAMS = $(libexec_PROGRAMS)
++
++@KRB4_FALSE@@KRB5_TRUE@am_ftpd_OBJECTS = ftpcmd.$(OBJEXT) ftpd.$(OBJEXT) \
++@KRB4_FALSE@@KRB5_TRUE@	logwtmp.$(OBJEXT) ls.$(OBJEXT) \
++@KRB4_FALSE@@KRB5_TRUE@	popen.$(OBJEXT) security.$(OBJEXT) \
++@KRB4_FALSE@@KRB5_TRUE@	gssapi.$(OBJEXT) gss_userok.$(OBJEXT)
++@KRB4_FALSE@@KRB5_FALSE@am_ftpd_OBJECTS = ftpcmd.$(OBJEXT) \
++@KRB4_FALSE@@KRB5_FALSE@	ftpd.$(OBJEXT) logwtmp.$(OBJEXT) \
++@KRB4_FALSE@@KRB5_FALSE@	ls.$(OBJEXT) popen.$(OBJEXT) \
++@KRB4_FALSE@@KRB5_FALSE@	security.$(OBJEXT)
++@KRB4_TRUE@@KRB5_TRUE@am_ftpd_OBJECTS = ftpcmd.$(OBJEXT) ftpd.$(OBJEXT) \
++@KRB4_TRUE@@KRB5_TRUE@	logwtmp.$(OBJEXT) ls.$(OBJEXT) \
++@KRB4_TRUE@@KRB5_TRUE@	popen.$(OBJEXT) security.$(OBJEXT) \
++@KRB4_TRUE@@KRB5_TRUE@	krb4.$(OBJEXT) kauth.$(OBJEXT) \
++@KRB4_TRUE@@KRB5_TRUE@	gssapi.$(OBJEXT) gss_userok.$(OBJEXT)
++@KRB4_TRUE@@KRB5_FALSE@am_ftpd_OBJECTS = ftpcmd.$(OBJEXT) ftpd.$(OBJEXT) \
++@KRB4_TRUE@@KRB5_FALSE@	logwtmp.$(OBJEXT) ls.$(OBJEXT) \
++@KRB4_TRUE@@KRB5_FALSE@	popen.$(OBJEXT) security.$(OBJEXT) \
++@KRB4_TRUE@@KRB5_FALSE@	krb4.$(OBJEXT) kauth.$(OBJEXT)
++ftpd_OBJECTS = $(am_ftpd_OBJECTS)
++ftpd_LDADD = $(LDADD)
++@KRB4_FALSE@@KRB5_TRUE@ftpd_DEPENDENCIES = ../common/libcommon.a \
++@KRB4_FALSE@@KRB5_TRUE@	$(top_builddir)/lib/gssapi/libgssapi.la \
++@KRB4_FALSE@@KRB5_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la
++@KRB4_FALSE@@KRB5_FALSE@ftpd_DEPENDENCIES = ../common/libcommon.a
++@KRB4_TRUE@@KRB5_TRUE@ftpd_DEPENDENCIES = ../common/libcommon.a \
++@KRB4_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/gssapi/libgssapi.la \
++@KRB4_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la \
++@KRB4_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/kafs/libkafs.la
++@KRB4_TRUE@@KRB5_FALSE@ftpd_DEPENDENCIES = ../common/libcommon.a \
++@KRB4_TRUE@@KRB5_FALSE@	$(top_builddir)/lib/kafs/libkafs.la
++ftpd_LDFLAGS =
+ 
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../../../include
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+-@KRB4_FALSE@@KRB5_FALSE@am_ftpd_OBJECTS =  ftpcmd.$(OBJEXT) \
+-@KRB4_FALSE@@KRB5_FALSE@ftpd.$(OBJEXT) logwtmp.$(OBJEXT) ls.$(OBJEXT) \
+-@KRB4_FALSE@@KRB5_FALSE@popen.$(OBJEXT) security.$(OBJEXT)
+-@KRB4_FALSE@@KRB5_TRUE@am_ftpd_OBJECTS =  ftpcmd.$(OBJEXT) \
+-@KRB4_FALSE@@KRB5_TRUE@ftpd.$(OBJEXT) logwtmp.$(OBJEXT) ls.$(OBJEXT) \
+-@KRB4_FALSE@@KRB5_TRUE@popen.$(OBJEXT) security.$(OBJEXT) \
+-@KRB4_FALSE@@KRB5_TRUE@gssapi.$(OBJEXT) gss_userok.$(OBJEXT)
+-@KRB4_TRUE@@KRB5_FALSE@am_ftpd_OBJECTS =  ftpcmd.$(OBJEXT) \
+-@KRB4_TRUE@@KRB5_FALSE@ftpd.$(OBJEXT) logwtmp.$(OBJEXT) ls.$(OBJEXT) \
+-@KRB4_TRUE@@KRB5_FALSE@popen.$(OBJEXT) security.$(OBJEXT) \
+-@KRB4_TRUE@@KRB5_FALSE@krb4.$(OBJEXT) kauth.$(OBJEXT)
+-@KRB4_TRUE@@KRB5_TRUE@am_ftpd_OBJECTS =  ftpcmd.$(OBJEXT) ftpd.$(OBJEXT) \
+-@KRB4_TRUE@@KRB5_TRUE@logwtmp.$(OBJEXT) ls.$(OBJEXT) popen.$(OBJEXT) \
+-@KRB4_TRUE@@KRB5_TRUE@security.$(OBJEXT) krb4.$(OBJEXT) kauth.$(OBJEXT) \
+-@KRB4_TRUE@@KRB5_TRUE@gssapi.$(OBJEXT) gss_userok.$(OBJEXT)
+-ftpd_OBJECTS =  $(am_ftpd_OBJECTS)
+-ftpd_LDADD = $(LDADD)
+-@KRB4_FALSE@@KRB5_FALSE@ftpd_DEPENDENCIES =  ../common/libcommon.a
+-@KRB4_FALSE@@KRB5_TRUE@ftpd_DEPENDENCIES =  ../common/libcommon.a \
+-@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la \
+-@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
+-@KRB4_TRUE@@KRB5_FALSE@ftpd_DEPENDENCIES =  ../common/libcommon.a \
+-@KRB4_TRUE@@KRB5_FALSE@$(top_builddir)/lib/kafs/libkafs.la
+-@KRB4_TRUE@@KRB5_TRUE@ftpd_DEPENDENCIES =  ../common/libcommon.a \
+-@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la \
+-@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la \
+-@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/kafs/libkafs.la
+-ftpd_LDFLAGS = 
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  $(ftpd_SOURCES) $(EXTRA_ftpd_SOURCES)
+-man5dir = $(mandir)/man5
+-man8dir = $(mandir)/man8
+-MANS = $(man_MANS)
+-depcomp = 
+-DIST_COMMON =  Makefile.am Makefile.in ftpcmd.c
+-
+-
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++YACCCOMPILE = $(YACC) $(YFLAGS) $(AM_YFLAGS)
++LTYACCCOMPILE = $(LIBTOOL) --mode=compile $(YACC) $(YFLAGS) $(AM_YFLAGS)
++YLWRAP = $(top_srcdir)/ylwrap
++DIST_SOURCES = $(ftpd_SOURCES) $(EXTRA_ftpd_SOURCES)
+ 
+-GZIP_ENV = --best
++NROFF = nroff
++MANS = $(man_MANS)
++DIST_COMMON = Makefile.am Makefile.in ftpcmd.c
+ SOURCES = $(ftpd_SOURCES) $(EXTRA_ftpd_SOURCES)
+-OBJECTS = $(am_ftpd_OBJECTS)
+ 
+-all: all-redirect
++all: all-am
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj .y
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/ftp/ftpd/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+ 
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-mostlyclean-libexecPROGRAMS:
+-
+-clean-libexecPROGRAMS:
+-	-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
+-
+-distclean-libexecPROGRAMS:
+-
+-maintainer-clean-libexecPROGRAMS:
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  appl/ftp/ftpd/Makefile
++Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ install-libexecPROGRAMS: $(libexec_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(libexecdir)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+-	  if test -f $$p; then \
+-	    f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libexecdir)/$$f"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libexecdir)/$$f; \
++	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  if test -f $$p \
++	     || test -f $$p1 \
++	  ; then \
++	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-libexecPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+-	  f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(libexecdir)/$$f; \
+ 	done
+ 
+-mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
++clean-libexecPROGRAMS:
++	-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
++ftpd$(EXEEXT): $(ftpd_OBJECTS) $(ftpd_DEPENDENCIES) 
++	@rm -f ftpd$(EXEEXT)
++	$(LINK) $(ftpd_LDFLAGS) $(ftpd_OBJECTS) $(ftpd_LDADD) $(LIBS)
+ 
+-clean-compile:
++mostlyclean-compile:
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+-maintainer-clean-compile:
+-
+-mostlyclean-libtool:
+-	-rm -f *.lo
+-
+-clean-libtool:
+-	-rm -rf .libs _libs
+-
+-distclean-libtool:
+-
+-maintainer-clean-libtool:
+-
+-ftpd$(EXEEXT): $(ftpd_OBJECTS) $(ftpd_DEPENDENCIES)
+-	@rm -f ftpd$(EXEEXT)
+-	$(LINK) $(ftpd_LDFLAGS) $(ftpd_OBJECTS) $(ftpd_LDADD) $(LIBS)
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
++
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
+-.y.c:
+-	$(YACC) $(AM_YFLAGS) $(YFLAGS) $< && mv y.tab.c $*.c
+-	if test -f y.tab.h; then \
+-	if cmp -s y.tab.h $*.h; then rm -f y.tab.h; else mv y.tab.h $*.h; fi; \
+-	else :; fi
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
+ 
++.y.c:
++	$(SHELL) $(YLWRAP) $< y.tab.c $@ y.tab.h $*.h -- $(YACCCOMPILE)
++uninstall-info-am:
+ 
+-install-man5:
++man5dir = $(mandir)/man5
++install-man5: $(man5_MANS) $(man_MANS)
++	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(man5dir)
+-	@list='$(man5_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@list='$(man5_MANS) $(dist_man5_MANS) $(nodist_man5_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.5*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -391,10 +381,11 @@
+ 	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man5dir)/$$inst"; \
+ 	  $(INSTALL_DATA) $$file $(DESTDIR)$(man5dir)/$$inst; \
+ 	done
+-
+ uninstall-man5:
+-	@list='$(man5_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@$(NORMAL_UNINSTALL)
++	@list='$(man5_MANS) $(dist_man5_MANS) $(nodist_man5_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.5*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -408,10 +399,13 @@
+ 	  rm -f $(DESTDIR)$(man5dir)/$$inst; \
+ 	done
+ 
+-install-man8:
++man8dir = $(mandir)/man8
++install-man8: $(man8_MANS) $(man_MANS)
++	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(man8dir)
+-	@list='$(man8_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.8*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -426,10 +420,11 @@
+ 	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst"; \
+ 	  $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst; \
+ 	done
+-
+ uninstall-man8:
+-	@list='$(man8_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@$(NORMAL_UNINSTALL)
++	@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.8*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -442,12 +437,6 @@
+ 	  echo " rm -f $(DESTDIR)$(man8dir)/$$inst"; \
+ 	  rm -f $(DESTDIR)$(man8dir)/$$inst; \
+ 	done
+-install-man: $(MANS)
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-man5 install-man8
+-uninstall-man:
+-	@$(NORMAL_UNINSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) uninstall-man5 uninstall-man8
+ 
+ tags: TAGS
+ 
+@@ -476,22 +465,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ../../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -501,91 +491,97 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-install-exec-am: install-libexecPROGRAMS
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++all-am: Makefile $(PROGRAMS) $(MANS) all-local
+ 
+-install-data-am: install-man install-data-local
+-install-data: install-data-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(libexecdir) $(DESTDIR)$(man5dir) $(DESTDIR)$(man8dir)
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am: uninstall-libexecPROGRAMS uninstall-man
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(PROGRAMS) $(MANS) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(libexecdir) $(DESTDIR)$(mandir)/man5 \
+-		$(DESTDIR)$(mandir)/man8
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-	-test -z "ftpcmd.c" || rm -f ftpcmd.c
+-mostlyclean-am:  mostlyclean-libexecPROGRAMS mostlyclean-compile \
+-		mostlyclean-libtool mostlyclean-tags \
+-		mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-generic clean-libexecPROGRAMS clean-libtool \
++	mostlyclean-am
+ 
+-clean-am:  clean-libexecPROGRAMS clean-compile clean-libtool clean-tags \
+-		clean-generic mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-libexecPROGRAMS distclean-compile \
+-		distclean-libtool distclean-tags distclean-generic \
+-		clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-libexecPROGRAMS \
+-		maintainer-clean-compile maintainer-clean-libtool \
+-		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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local install-man
++
++install-exec-am: install-libexecPROGRAMS
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man: install-man5 install-man8
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-am
+ 
+-.PHONY: mostlyclean-libexecPROGRAMS distclean-libexecPROGRAMS \
+-clean-libexecPROGRAMS maintainer-clean-libexecPROGRAMS \
+-uninstall-libexecPROGRAMS install-libexecPROGRAMS mostlyclean-compile \
+-distclean-compile clean-compile maintainer-clean-compile \
+-mostlyclean-libtool distclean-libtool clean-libtool \
+-maintainer-clean-libtool install-man5 uninstall-man5 install-man8 \
+-uninstall-man8 install-man uninstall-man tags mostlyclean-tags \
+-distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
+-dvi-am dvi check-local check check-am installcheck-am installcheck \
+-install-exec-am install-exec install-data-local install-data-am \
+-install-data install-am install uninstall-am uninstall all-local \
+-all-redirect all-am all install-strip installdirs mostlyclean-generic \
+-distclean-generic clean-generic maintainer-clean-generic clean \
+-mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-info-am uninstall-libexecPROGRAMS uninstall-man
++
++uninstall-man: uninstall-man5 uninstall-man8
++
++.PHONY: GTAGS all all-am all-local check check-am check-local clean \
++	clean-generic clean-libexecPROGRAMS clean-libtool distclean \
++	distclean-compile distclean-generic distclean-libtool \
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-data install-data-am install-data-local \
++	install-exec install-exec-am install-info install-info-am \
++	install-libexecPROGRAMS install-man install-man5 install-man8 \
++	install-strip installcheck installcheck-am installdirs \
++	maintainer-clean maintainer-clean-generic mostlyclean \
++	mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
++	tags uninstall uninstall-am uninstall-info-am \
++	uninstall-libexecPROGRAMS uninstall-man uninstall-man5 \
++	uninstall-man8
+ 
+ 
+ install-suid-programs:
+@@ -726,7 +722,6 @@
+ 	@test -f krb4.c || $(LN_S) $(srcdir)/../ftp/krb4.c .
+ gssapi.c:
+ 	@test -f gssapi.c || $(LN_S) $(srcdir)/../ftp/gssapi.c .
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/appl/kf/Makefile.in heimdal-0.4e/appl/kf/Makefile.in
+--- heimdal-0.4e-old/appl/kf/Makefile.in	Thu Sep  6 22:25:42 2001
++++ heimdal-0.4e/appl/kf/Makefile.in	Wed Nov 21 11:52:37 2001
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.5 2000/11/15 22:51:08 assar Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,9 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,6 +89,7 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+@@ -105,7 +109,6 @@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,20 +122,17 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+ 
+-# $Id: Makefile.am,v 1.5 2000/11/15 22:51:08 assar Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
+-
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+ SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+@@ -189,13 +189,12 @@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+@@ -216,157 +215,143 @@
+ 
+ subdir = appl/kf
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../include/config.h
+-CONFIG_CLEAN_FILES = 
+-bin_PROGRAMS =  kf$(EXEEXT)
+-libexec_PROGRAMS =  kfd$(EXEEXT)
+-PROGRAMS =  $(bin_PROGRAMS) $(libexec_PROGRAMS)
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++bin_PROGRAMS = kf$(EXEEXT)
++libexec_PROGRAMS = kfd$(EXEEXT)
++PROGRAMS = $(bin_PROGRAMS) $(libexec_PROGRAMS)
+ 
++am_kf_OBJECTS = kf.$(OBJEXT)
++kf_OBJECTS = $(am_kf_OBJECTS)
++kf_LDADD = $(LDADD)
++kf_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++kf_LDFLAGS =
++am_kfd_OBJECTS = kfd.$(OBJEXT)
++kfd_OBJECTS = $(am_kfd_OBJECTS)
++kfd_LDADD = $(LDADD)
++kfd_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++kfd_LDFLAGS =
+ 
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../../include
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+-am_kf_OBJECTS =  kf.$(OBJEXT)
+-kf_OBJECTS =  $(am_kf_OBJECTS)
+-kf_LDADD = $(LDADD)
+-kf_DEPENDENCIES =  $(top_builddir)/lib/krb5/libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
+-kf_LDFLAGS = 
+-am_kfd_OBJECTS =  kfd.$(OBJEXT)
+-kfd_OBJECTS =  $(am_kfd_OBJECTS)
+-kfd_LDADD = $(LDADD)
+-kfd_DEPENDENCIES =  $(top_builddir)/lib/krb5/libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
+-kfd_LDFLAGS = 
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  $(kf_SOURCES) $(kfd_SOURCES)
+-man1dir = $(mandir)/man1
+-man8dir = $(mandir)/man8
+-MANS = $(man_MANS)
+-depcomp = 
+-DIST_COMMON =  Makefile.am Makefile.in
+-
+-
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++DIST_SOURCES = $(kf_SOURCES) $(kfd_SOURCES)
+ 
+-GZIP_ENV = --best
++NROFF = nroff
++MANS = $(man_MANS)
++DIST_COMMON = Makefile.am Makefile.in
+ SOURCES = $(kf_SOURCES) $(kfd_SOURCES)
+-OBJECTS = $(am_kf_OBJECTS) $(am_kfd_OBJECTS)
+ 
+-all: all-redirect
++all: all-am
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/kf/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+-
+-
+-mostlyclean-binPROGRAMS:
+-
+-clean-binPROGRAMS:
+-	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
+ 
+-distclean-binPROGRAMS:
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-maintainer-clean-binPROGRAMS:
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  appl/kf/Makefile
++Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ install-binPROGRAMS: $(bin_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(bindir)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  if test -f $$p; then \
+-	    f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f; \
++	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  if test -f $$p \
++	     || test -f $$p1 \
++	  ; then \
++	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-binPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+-mostlyclean-libexecPROGRAMS:
+-
+-clean-libexecPROGRAMS:
+-	-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
+-
+-distclean-libexecPROGRAMS:
+-
+-maintainer-clean-libexecPROGRAMS:
+-
++clean-binPROGRAMS:
++	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
+ install-libexecPROGRAMS: $(libexec_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(libexecdir)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+-	  if test -f $$p; then \
+-	    f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libexecdir)/$$f"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libexecdir)/$$f; \
++	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  if test -f $$p \
++	     || test -f $$p1 \
++	  ; then \
++	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-libexecPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+-	  f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(libexecdir)/$$f; \
+ 	done
+ 
+-mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
++clean-libexecPROGRAMS:
++	-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
++kf$(EXEEXT): $(kf_OBJECTS) $(kf_DEPENDENCIES) 
++	@rm -f kf$(EXEEXT)
++	$(LINK) $(kf_LDFLAGS) $(kf_OBJECTS) $(kf_LDADD) $(LIBS)
++kfd$(EXEEXT): $(kfd_OBJECTS) $(kfd_DEPENDENCIES) 
++	@rm -f kfd$(EXEEXT)
++	$(LINK) $(kfd_LDFLAGS) $(kfd_OBJECTS) $(kfd_LDADD) $(LIBS)
+ 
+-clean-compile:
++mostlyclean-compile:
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+-maintainer-clean-compile:
+-
+-mostlyclean-libtool:
+-	-rm -f *.lo
+-
+-clean-libtool:
+-	-rm -rf .libs _libs
+-
+-distclean-libtool:
+-
+-maintainer-clean-libtool:
+-
+-kf$(EXEEXT): $(kf_OBJECTS) $(kf_DEPENDENCIES)
+-	@rm -f kf$(EXEEXT)
+-	$(LINK) $(kf_LDFLAGS) $(kf_OBJECTS) $(kf_LDADD) $(LIBS)
+-
+-kfd$(EXEEXT): $(kfd_OBJECTS) $(kfd_DEPENDENCIES)
+-	@rm -f kfd$(EXEEXT)
+-	$(LINK) $(kfd_LDFLAGS) $(kfd_OBJECTS) $(kfd_LDADD) $(LIBS)
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
++
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
++uninstall-info-am:
+ 
+-install-man1:
++man1dir = $(mandir)/man1
++install-man1: $(man1_MANS) $(man_MANS)
++	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(man1dir)
+-	@list='$(man1_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.1*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -381,10 +366,11 @@
+ 	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
+ 	  $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
+ 	done
+-
+ uninstall-man1:
+-	@list='$(man1_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@$(NORMAL_UNINSTALL)
++	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.1*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -398,10 +384,13 @@
+ 	  rm -f $(DESTDIR)$(man1dir)/$$inst; \
+ 	done
+ 
+-install-man8:
++man8dir = $(mandir)/man8
++install-man8: $(man8_MANS) $(man_MANS)
++	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(man8dir)
+-	@list='$(man8_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.8*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -416,10 +405,11 @@
+ 	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst"; \
+ 	  $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst; \
+ 	done
+-
+ uninstall-man8:
+-	@list='$(man8_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@$(NORMAL_UNINSTALL)
++	@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.8*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -432,12 +422,6 @@
+ 	  echo " rm -f $(DESTDIR)$(man8dir)/$$inst"; \
+ 	  rm -f $(DESTDIR)$(man8dir)/$$inst; \
+ 	done
+-install-man: $(MANS)
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-man1 install-man8
+-uninstall-man:
+-	@$(NORMAL_UNINSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) uninstall-man1 uninstall-man8
+ 
+ tags: TAGS
+ 
+@@ -466,22 +450,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -491,93 +476,98 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-install-exec-am: install-binPROGRAMS install-libexecPROGRAMS
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++all-am: Makefile $(PROGRAMS) $(MANS) all-local
+ 
+-install-data-am: install-man install-data-local
+-install-data: install-data-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(libexecdir) $(DESTDIR)$(man1dir) $(DESTDIR)$(man8dir)
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am: uninstall-binPROGRAMS uninstall-libexecPROGRAMS \
+-		uninstall-man
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(PROGRAMS) $(MANS) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(bindir) $(DESTDIR)$(libexecdir) \
+-		$(DESTDIR)$(mandir)/man1 $(DESTDIR)$(mandir)/man8
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-binPROGRAMS mostlyclean-libexecPROGRAMS \
+-		mostlyclean-compile mostlyclean-libtool \
+-		mostlyclean-tags mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-binPROGRAMS clean-generic clean-libexecPROGRAMS \
++	clean-libtool mostlyclean-am
+ 
+-clean-am:  clean-binPROGRAMS clean-libexecPROGRAMS clean-compile \
+-		clean-libtool clean-tags clean-generic mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-binPROGRAMS distclean-libexecPROGRAMS \
+-		distclean-compile distclean-libtool distclean-tags \
+-		distclean-generic clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-binPROGRAMS \
+-		maintainer-clean-libexecPROGRAMS \
+-		maintainer-clean-compile maintainer-clean-libtool \
+-		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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local install-man
++
++install-exec-am: install-binPROGRAMS install-libexecPROGRAMS
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man: install-man1 install-man8
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-am
+ 
+-.PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
+-maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
+-mostlyclean-libexecPROGRAMS distclean-libexecPROGRAMS \
+-clean-libexecPROGRAMS maintainer-clean-libexecPROGRAMS \
+-uninstall-libexecPROGRAMS install-libexecPROGRAMS mostlyclean-compile \
+-distclean-compile clean-compile maintainer-clean-compile \
+-mostlyclean-libtool distclean-libtool clean-libtool \
+-maintainer-clean-libtool install-man1 uninstall-man1 install-man8 \
+-uninstall-man8 install-man uninstall-man tags mostlyclean-tags \
+-distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
+-dvi-am dvi check-local check check-am installcheck-am installcheck \
+-install-exec-am install-exec install-data-local install-data-am \
+-install-data install-am install uninstall-am uninstall all-local \
+-all-redirect all-am all install-strip installdirs mostlyclean-generic \
+-distclean-generic clean-generic maintainer-clean-generic clean \
+-mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-binPROGRAMS uninstall-info-am \
++	uninstall-libexecPROGRAMS uninstall-man
++
++uninstall-man: uninstall-man1 uninstall-man8
++
++.PHONY: GTAGS all all-am all-local check check-am check-local clean \
++	clean-binPROGRAMS clean-generic clean-libexecPROGRAMS \
++	clean-libtool distclean distclean-compile distclean-generic \
++	distclean-libtool distclean-tags distdir dvi dvi-am info \
++	info-am install install-am install-binPROGRAMS install-data \
++	install-data-am install-data-local install-exec install-exec-am \
++	install-info install-info-am install-libexecPROGRAMS \
++	install-man install-man1 install-man8 install-strip \
++	installcheck installcheck-am installdirs maintainer-clean \
++	maintainer-clean-generic mostlyclean mostlyclean-compile \
++	mostlyclean-generic mostlyclean-libtool tags uninstall \
++	uninstall-am uninstall-binPROGRAMS uninstall-info-am \
++	uninstall-libexecPROGRAMS uninstall-man uninstall-man1 \
++	uninstall-man8
+ 
+ 
+ install-suid-programs:
+@@ -707,7 +697,6 @@
+ 	  echo "$$dashes"; \
+ 	  test "$$failed" -eq 0; \
+ 	fi
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/appl/kx/Makefile.in heimdal-0.4e/appl/kx/Makefile.in
+--- heimdal-0.4e-old/appl/kx/Makefile.in	Thu Sep  6 22:24:45 2001
++++ heimdal-0.4e/appl/kx/Makefile.in	Wed Nov 21 11:52:38 2001
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.12 2000/11/15 22:51:08 assar Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,9 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,6 +89,7 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+@@ -105,7 +109,6 @@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -118,19 +121,18 @@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+ 
+-# $Id: Makefile.am,v 1.12 2000/11/15 22:51:08 assar Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
++WFLAGS = @WFLAGS@ $(WFLAGS_NOIMPLICITINT)
+ 
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+@@ -188,28 +190,25 @@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+-WFLAGS = @WFLAGS@ $(WFLAGS_NOIMPLICITINT)
+-
+-@HAVE_X_TRUE@bin_PROGRAMS = @HAVE_X_TRUE@kx
++@HAVE_X_TRUE@bin_PROGRAMS = kx
+ @HAVE_X_FALSE@bin_PROGRAMS = 
+-@HAVE_X_TRUE@bin_SCRIPTS = @HAVE_X_TRUE@rxterm rxtelnet tenletxr
++@HAVE_X_TRUE@bin_SCRIPTS = rxterm rxtelnet tenletxr
+ @HAVE_X_FALSE@bin_SCRIPTS = 
+-@HAVE_X_TRUE@libexec_PROGRAMS = @HAVE_X_TRUE@kxd
++@HAVE_X_TRUE@libexec_PROGRAMS = kxd
+ @HAVE_X_FALSE@libexec_PROGRAMS = 
+ 
+ CLEANFILES = rxterm rxtelnet tenletxr
+ 
+-@NEED_WRITEAUTH_TRUE@XauWriteAuth_c = @NEED_WRITEAUTH_TRUE@writeauth.c
++@NEED_WRITEAUTH_TRUE@XauWriteAuth_c = writeauth.c
+ 
+ kx_SOURCES = \
+ 	kx.c \
+@@ -249,174 +248,146 @@
+ 
+ subdir = appl/kx
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../include/config.h
+-CONFIG_CLEAN_FILES = 
+-@HAVE_X_FALSE@bin_PROGRAMS = 
+-@HAVE_X_FALSE@libexec_PROGRAMS = 
+-PROGRAMS =  $(bin_PROGRAMS) $(libexec_PROGRAMS)
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++@HAVE_X_TRUE@bin_PROGRAMS = kx$(EXEEXT)
++@HAVE_X_FALSE@bin_PROGRAMS =
++@HAVE_X_TRUE@libexec_PROGRAMS = kxd$(EXEEXT)
++@HAVE_X_FALSE@libexec_PROGRAMS =
++PROGRAMS = $(bin_PROGRAMS) $(libexec_PROGRAMS)
++
++@NEED_WRITEAUTH_TRUE@am_kx_OBJECTS = kx.$(OBJEXT) common.$(OBJEXT) \
++@NEED_WRITEAUTH_TRUE@	context.$(OBJEXT) krb4.$(OBJEXT) \
++@NEED_WRITEAUTH_TRUE@	krb5.$(OBJEXT) writeauth.$(OBJEXT)
++@NEED_WRITEAUTH_FALSE@am_kx_OBJECTS = kx.$(OBJEXT) common.$(OBJEXT) \
++@NEED_WRITEAUTH_FALSE@	context.$(OBJEXT) krb4.$(OBJEXT) \
++@NEED_WRITEAUTH_FALSE@	krb5.$(OBJEXT)
++kx_OBJECTS = $(am_kx_OBJECTS)
++kx_LDADD = $(LDADD)
++@KRB4_FALSE@@KRB5_TRUE@kx_DEPENDENCIES = \
++@KRB4_FALSE@@KRB5_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la
++@KRB4_FALSE@@KRB5_FALSE@kx_DEPENDENCIES =
++@KRB4_TRUE@@KRB5_TRUE@kx_DEPENDENCIES = \
++@KRB4_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/kafs/libkafs.la \
++@KRB4_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la
++@KRB4_TRUE@@KRB5_FALSE@kx_DEPENDENCIES = \
++@KRB4_TRUE@@KRB5_FALSE@	$(top_builddir)/lib/kafs/libkafs.la
++kx_LDFLAGS =
++@NEED_WRITEAUTH_TRUE@am_kxd_OBJECTS = kxd.$(OBJEXT) common.$(OBJEXT) \
++@NEED_WRITEAUTH_TRUE@	context.$(OBJEXT) krb4.$(OBJEXT) \
++@NEED_WRITEAUTH_TRUE@	krb5.$(OBJEXT) writeauth.$(OBJEXT)
++@NEED_WRITEAUTH_FALSE@am_kxd_OBJECTS = kxd.$(OBJEXT) common.$(OBJEXT) \
++@NEED_WRITEAUTH_FALSE@	context.$(OBJEXT) krb4.$(OBJEXT) \
++@NEED_WRITEAUTH_FALSE@	krb5.$(OBJEXT)
++kxd_OBJECTS = $(am_kxd_OBJECTS)
++kxd_LDADD = $(LDADD)
++@KRB4_FALSE@@KRB5_TRUE@kxd_DEPENDENCIES = \
++@KRB4_FALSE@@KRB5_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la
++@KRB4_FALSE@@KRB5_FALSE@kxd_DEPENDENCIES =
++@KRB4_TRUE@@KRB5_TRUE@kxd_DEPENDENCIES = \
++@KRB4_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/kafs/libkafs.la \
++@KRB4_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la
++@KRB4_TRUE@@KRB5_FALSE@kxd_DEPENDENCIES = \
++@KRB4_TRUE@@KRB5_FALSE@	$(top_builddir)/lib/kafs/libkafs.la
++kxd_LDFLAGS =
++SCRIPTS = $(bin_SCRIPTS)
+ 
+ 
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../../include
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+-@NEED_WRITEAUTH_FALSE@am_kx_OBJECTS =  kx.$(OBJEXT) common.$(OBJEXT) \
+-@NEED_WRITEAUTH_FALSE@context.$(OBJEXT) krb4.$(OBJEXT) krb5.$(OBJEXT)
+-@NEED_WRITEAUTH_TRUE@am_kx_OBJECTS =  kx.$(OBJEXT) common.$(OBJEXT) \
+-@NEED_WRITEAUTH_TRUE@context.$(OBJEXT) krb4.$(OBJEXT) krb5.$(OBJEXT) \
+-@NEED_WRITEAUTH_TRUE@writeauth.$(OBJEXT)
+-kx_OBJECTS =  $(am_kx_OBJECTS)
+-kx_LDADD = $(LDADD)
+-@KRB4_FALSE@@KRB5_FALSE@kx_DEPENDENCIES = 
+-@KRB4_FALSE@@KRB5_TRUE@kx_DEPENDENCIES =  \
+-@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
+-@KRB4_TRUE@@KRB5_FALSE@kx_DEPENDENCIES =  \
+-@KRB4_TRUE@@KRB5_FALSE@$(top_builddir)/lib/kafs/libkafs.la
+-@KRB4_TRUE@@KRB5_TRUE@kx_DEPENDENCIES =  \
+-@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/kafs/libkafs.la \
+-@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
+-kx_LDFLAGS = 
+-@NEED_WRITEAUTH_FALSE@am_kxd_OBJECTS =  kxd.$(OBJEXT) common.$(OBJEXT) \
+-@NEED_WRITEAUTH_FALSE@context.$(OBJEXT) krb4.$(OBJEXT) krb5.$(OBJEXT)
+-@NEED_WRITEAUTH_TRUE@am_kxd_OBJECTS =  kxd.$(OBJEXT) common.$(OBJEXT) \
+-@NEED_WRITEAUTH_TRUE@context.$(OBJEXT) krb4.$(OBJEXT) krb5.$(OBJEXT) \
+-@NEED_WRITEAUTH_TRUE@writeauth.$(OBJEXT)
+-kxd_OBJECTS =  $(am_kxd_OBJECTS)
+-kxd_LDADD = $(LDADD)
+-@KRB4_FALSE@@KRB5_FALSE@kxd_DEPENDENCIES = 
+-@KRB4_FALSE@@KRB5_TRUE@kxd_DEPENDENCIES =  \
+-@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
+-@KRB4_TRUE@@KRB5_FALSE@kxd_DEPENDENCIES =  \
+-@KRB4_TRUE@@KRB5_FALSE@$(top_builddir)/lib/kafs/libkafs.la
+-@KRB4_TRUE@@KRB5_TRUE@kxd_DEPENDENCIES =  \
+-@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/kafs/libkafs.la \
+-@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
+-kxd_LDFLAGS = 
+-SCRIPTS =  $(bin_SCRIPTS)
+-
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  $(kx_SOURCES) $(EXTRA_kx_SOURCES) $(kxd_SOURCES) \
+-$(EXTRA_kxd_SOURCES)
+-man1dir = $(mandir)/man1
+-man8dir = $(mandir)/man8
+-MANS = $(man_MANS)
+-depcomp = 
+-DIST_COMMON =  ChangeLog Makefile.am Makefile.in
+-
+-
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++DIST_SOURCES = $(kx_SOURCES) $(EXTRA_kx_SOURCES) $(kxd_SOURCES) \
++	$(EXTRA_kxd_SOURCES)
+ 
+-GZIP_ENV = --best
++NROFF = nroff
++MANS = $(man_MANS)
++DIST_COMMON = ChangeLog Makefile.am Makefile.in
+ SOURCES = $(kx_SOURCES) $(EXTRA_kx_SOURCES) $(kxd_SOURCES) $(EXTRA_kxd_SOURCES)
+-OBJECTS = $(am_kx_OBJECTS) $(am_kxd_OBJECTS)
+ 
+-all: all-redirect
++all: all-am
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/kx/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+-
+ 
+-mostlyclean-binPROGRAMS:
+-
+-clean-binPROGRAMS:
+-	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
+-
+-distclean-binPROGRAMS:
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-maintainer-clean-binPROGRAMS:
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  appl/kx/Makefile
++Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ install-binPROGRAMS: $(bin_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(bindir)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  if test -f $$p; then \
+-	    f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f; \
++	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  if test -f $$p \
++	     || test -f $$p1 \
++	  ; then \
++	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-binPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+-mostlyclean-libexecPROGRAMS:
+-
+-clean-libexecPROGRAMS:
+-	-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
+-
+-distclean-libexecPROGRAMS:
+-
+-maintainer-clean-libexecPROGRAMS:
+-
++clean-binPROGRAMS:
++	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
+ install-libexecPROGRAMS: $(libexec_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(libexecdir)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+-	  if test -f $$p; then \
+-	    f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libexecdir)/$$f"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libexecdir)/$$f; \
++	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  if test -f $$p \
++	     || test -f $$p1 \
++	  ; then \
++	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-libexecPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+-	  f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(libexecdir)/$$f; \
+ 	done
+ 
+-mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
+-
+-clean-compile:
+-
+-distclean-compile:
+-	-rm -f *.tab.c
+-
+-maintainer-clean-compile:
+-
+-mostlyclean-libtool:
+-	-rm -f *.lo
+-
+-clean-libtool:
+-	-rm -rf .libs _libs
+-
+-distclean-libtool:
+-
+-maintainer-clean-libtool:
+-
+-kx$(EXEEXT): $(kx_OBJECTS) $(kx_DEPENDENCIES)
++clean-libexecPROGRAMS:
++	-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
++kx$(EXEEXT): $(kx_OBJECTS) $(kx_DEPENDENCIES) 
+ 	@rm -f kx$(EXEEXT)
+ 	$(LINK) $(kx_LDFLAGS) $(kx_OBJECTS) $(kx_LDADD) $(LIBS)
+-
+-kxd$(EXEEXT): $(kxd_OBJECTS) $(kxd_DEPENDENCIES)
++kxd$(EXEEXT): $(kxd_OBJECTS) $(kxd_DEPENDENCIES) 
+ 	@rm -f kxd$(EXEEXT)
+ 	$(LINK) $(kxd_LDFLAGS) $(kxd_OBJECTS) $(kxd_LDADD) $(LIBS)
+-
+ install-binSCRIPTS: $(bin_SCRIPTS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(bindir)
+@@ -438,17 +409,30 @@
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
++
++mostlyclean-compile:
++	-rm -f *.$(OBJEXT) core *.core
++
++distclean-compile:
++	-rm -f *.tab.c
++
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
++
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
++uninstall-info-am:
+ 
+-install-man1:
++man1dir = $(mandir)/man1
++install-man1: $(man1_MANS) $(man_MANS)
++	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(man1dir)
+-	@list='$(man1_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.1*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -463,10 +447,11 @@
+ 	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
+ 	  $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
+ 	done
+-
+ uninstall-man1:
+-	@list='$(man1_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@$(NORMAL_UNINSTALL)
++	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.1*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -480,10 +465,13 @@
+ 	  rm -f $(DESTDIR)$(man1dir)/$$inst; \
+ 	done
+ 
+-install-man8:
++man8dir = $(mandir)/man8
++install-man8: $(man8_MANS) $(man_MANS)
++	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(man8dir)
+-	@list='$(man8_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.8*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -498,10 +486,11 @@
+ 	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst"; \
+ 	  $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst; \
+ 	done
+-
+ uninstall-man8:
+-	@list='$(man8_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@$(NORMAL_UNINSTALL)
++	@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.8*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -514,12 +503,6 @@
+ 	  echo " rm -f $(DESTDIR)$(man8dir)/$$inst"; \
+ 	  rm -f $(DESTDIR)$(man8dir)/$$inst; \
+ 	done
+-install-man: $(MANS)
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-man1 install-man8
+-uninstall-man:
+-	@$(NORMAL_UNINSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) uninstall-man1 uninstall-man8
+ 
+ tags: TAGS
+ 
+@@ -548,22 +531,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -573,96 +557,101 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-install-exec-am: install-binPROGRAMS install-libexecPROGRAMS \
+-		install-binSCRIPTS
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++all-am: Makefile $(PROGRAMS) $(SCRIPTS) $(MANS) all-local
+ 
+-install-data-am: install-man install-data-local
+-install-data: install-data-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(libexecdir) $(DESTDIR)$(bindir) $(DESTDIR)$(man1dir) $(DESTDIR)$(man8dir)
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am: uninstall-binPROGRAMS uninstall-libexecPROGRAMS \
+-		uninstall-binSCRIPTS uninstall-man
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(PROGRAMS) $(SCRIPTS) $(MANS) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(bindir) $(DESTDIR)$(libexecdir) \
+-		$(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1 \
+-		$(DESTDIR)$(mandir)/man8
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-binPROGRAMS mostlyclean-libexecPROGRAMS \
+-		mostlyclean-compile mostlyclean-libtool \
+-		mostlyclean-tags mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-binPROGRAMS clean-generic clean-libexecPROGRAMS \
++	clean-libtool mostlyclean-am
+ 
+-clean-am:  clean-binPROGRAMS clean-libexecPROGRAMS clean-compile \
+-		clean-libtool clean-tags clean-generic mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-binPROGRAMS distclean-libexecPROGRAMS \
+-		distclean-compile distclean-libtool distclean-tags \
+-		distclean-generic clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-binPROGRAMS \
+-		maintainer-clean-libexecPROGRAMS \
+-		maintainer-clean-compile maintainer-clean-libtool \
+-		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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local install-man
++
++install-exec-am: install-binPROGRAMS install-binSCRIPTS \
++	install-libexecPROGRAMS
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man: install-man1 install-man8
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-am
+ 
+-.PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
+-maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
+-mostlyclean-libexecPROGRAMS distclean-libexecPROGRAMS \
+-clean-libexecPROGRAMS maintainer-clean-libexecPROGRAMS \
+-uninstall-libexecPROGRAMS install-libexecPROGRAMS mostlyclean-compile \
+-distclean-compile clean-compile maintainer-clean-compile \
+-mostlyclean-libtool distclean-libtool clean-libtool \
+-maintainer-clean-libtool uninstall-binSCRIPTS install-binSCRIPTS \
+-install-man1 uninstall-man1 install-man8 uninstall-man8 install-man \
+-uninstall-man tags mostlyclean-tags distclean-tags clean-tags \
+-maintainer-clean-tags distdir info-am info dvi-am dvi check-local check \
+-check-am installcheck-am installcheck install-exec-am install-exec \
+-install-data-local install-data-am install-data install-am install \
+-uninstall-am uninstall all-local all-redirect all-am all install-strip \
+-installdirs mostlyclean-generic distclean-generic clean-generic \
+-maintainer-clean-generic clean mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-binPROGRAMS uninstall-binSCRIPTS \
++	uninstall-info-am uninstall-libexecPROGRAMS uninstall-man
++
++uninstall-man: uninstall-man1 uninstall-man8
++
++.PHONY: GTAGS all all-am all-local check check-am check-local clean \
++	clean-binPROGRAMS clean-generic clean-libexecPROGRAMS \
++	clean-libtool distclean distclean-compile distclean-generic \
++	distclean-libtool distclean-tags distdir dvi dvi-am info \
++	info-am install install-am install-binPROGRAMS \
++	install-binSCRIPTS install-data install-data-am \
++	install-data-local install-exec install-exec-am install-info \
++	install-info-am install-libexecPROGRAMS install-man \
++	install-man1 install-man8 install-strip installcheck \
++	installcheck-am installdirs maintainer-clean \
++	maintainer-clean-generic mostlyclean mostlyclean-compile \
++	mostlyclean-generic mostlyclean-libtool tags uninstall \
++	uninstall-am uninstall-binPROGRAMS uninstall-binSCRIPTS \
++	uninstall-info-am uninstall-libexecPROGRAMS uninstall-man \
++	uninstall-man1 uninstall-man8
+ 
+ 
+ install-suid-programs:
+@@ -804,7 +793,6 @@
+ tenletxr: tenletxr.in
+ 	sed -e "s!%bindir%!$(bindir)!" $(srcdir)/tenletxr.in > $@
+ 	chmod +x $@
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/appl/login/Makefile.in heimdal-0.4e/appl/login/Makefile.in
+--- heimdal-0.4e-old/appl/login/Makefile.in	Thu Sep  6 22:24:49 2001
++++ heimdal-0.4e/appl/login/Makefile.in	Wed Nov 21 11:52:38 2001
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.19 2000/11/15 22:51:08 assar Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,9 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,6 +89,7 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+@@ -105,7 +109,6 @@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,20 +122,17 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+ 
+-# $Id: Makefile.am,v 1.19 2000/11/15 22:51:08 assar Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
+-
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+ SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+@@ -189,13 +189,12 @@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+@@ -229,116 +228,104 @@
+ 
+ subdir = appl/login
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../include/config.h
+-CONFIG_CLEAN_FILES = 
+-bin_PROGRAMS =  login$(EXEEXT)
+-PROGRAMS =  $(bin_PROGRAMS)
+-
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++bin_PROGRAMS = login$(EXEEXT)
++PROGRAMS = $(bin_PROGRAMS)
++
++am_login_OBJECTS = conf.$(OBJEXT) env.$(OBJEXT) login.$(OBJEXT) \
++	login_access.$(OBJEXT) osfc2.$(OBJEXT) read_string.$(OBJEXT) \
++	shadow.$(OBJEXT) stty_default.$(OBJEXT) tty.$(OBJEXT) \
++	utmp_login.$(OBJEXT) utmpx_login.$(OBJEXT)
++login_OBJECTS = $(am_login_OBJECTS)
++login_LDADD = $(LDADD)
++@KRB4_TRUE@login_DEPENDENCIES = $(top_builddir)/lib/kafs/libkafs.la \
++@KRB4_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la \
++@KRB4_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB4_FALSE@login_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
++@KRB4_FALSE@	$(top_builddir)/lib/asn1/libasn1.la
++login_LDFLAGS =
+ 
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../../include
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+-am_login_OBJECTS =  conf.$(OBJEXT) env.$(OBJEXT) login.$(OBJEXT) \
+-login_access.$(OBJEXT) osfc2.$(OBJEXT) read_string.$(OBJEXT) \
+-shadow.$(OBJEXT) stty_default.$(OBJEXT) tty.$(OBJEXT) \
+-utmp_login.$(OBJEXT) utmpx_login.$(OBJEXT)
+-login_OBJECTS =  $(am_login_OBJECTS)
+-login_LDADD = $(LDADD)
+-@KRB4_FALSE@login_DEPENDENCIES =  $(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_FALSE@$(top_builddir)/lib/asn1/libasn1.la
+-@KRB4_TRUE@login_DEPENDENCIES =  $(top_builddir)/lib/kafs/libkafs.la \
+-@KRB4_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_TRUE@$(top_builddir)/lib/asn1/libasn1.la
+-login_LDFLAGS = 
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  $(login_SOURCES)
+-depcomp = 
+-DIST_COMMON =  ChangeLog Makefile.am Makefile.in
+-
+-
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+-
+-GZIP_ENV = --best
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++DIST_SOURCES = $(login_SOURCES)
++DIST_COMMON = ChangeLog Makefile.am Makefile.in
+ SOURCES = $(login_SOURCES)
+-OBJECTS = $(am_login_OBJECTS)
+ 
+-all: all-redirect
++all: all-am
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/login/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+ 
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-mostlyclean-binPROGRAMS:
+-
+-clean-binPROGRAMS:
+-	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
+-
+-distclean-binPROGRAMS:
+-
+-maintainer-clean-binPROGRAMS:
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  appl/login/Makefile
++Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ install-binPROGRAMS: $(bin_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(bindir)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  if test -f $$p; then \
+-	    f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f; \
++	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  if test -f $$p \
++	     || test -f $$p1 \
++	  ; then \
++	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-binPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+-mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
++clean-binPROGRAMS:
++	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
++login$(EXEEXT): $(login_OBJECTS) $(login_DEPENDENCIES) 
++	@rm -f login$(EXEEXT)
++	$(LINK) $(login_LDFLAGS) $(login_OBJECTS) $(login_LDADD) $(LIBS)
+ 
+-clean-compile:
++mostlyclean-compile:
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+-maintainer-clean-compile:
+-
+-mostlyclean-libtool:
+-	-rm -f *.lo
+-
+-clean-libtool:
+-	-rm -rf .libs _libs
+-
+-distclean-libtool:
+-
+-maintainer-clean-libtool:
+-
+-login$(EXEEXT): $(login_OBJECTS) $(login_DEPENDENCIES)
+-	@rm -f login$(EXEEXT)
+-	$(LINK) $(login_LDFLAGS) $(login_OBJECTS) $(login_LDADD) $(LIBS)
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
++
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
++uninstall-info-am:
+ 
+ tags: TAGS
+ 
+@@ -367,22 +354,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -392,85 +380,91 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-install-exec-am: install-binPROGRAMS
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++all-am: Makefile $(PROGRAMS) all-local
+ 
+-install-data-am: install-data-local
+-install-data: install-data-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(bindir)
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am: uninstall-binPROGRAMS
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(PROGRAMS) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(bindir)
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-binPROGRAMS mostlyclean-compile \
+-		mostlyclean-libtool mostlyclean-tags \
+-		mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am
+ 
+-clean-am:  clean-binPROGRAMS clean-compile clean-libtool clean-tags \
+-		clean-generic mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-binPROGRAMS distclean-compile distclean-libtool \
+-		distclean-tags distclean-generic clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-binPROGRAMS \
+-		maintainer-clean-compile maintainer-clean-libtool \
+-		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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local
++
++install-exec-am: install-binPROGRAMS
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man:
++
++installcheck-am:
+ 
+ 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 mostlyclean-libtool distclean-libtool \
+-clean-libtool maintainer-clean-libtool tags mostlyclean-tags \
+-distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
+-dvi-am dvi check-local check check-am installcheck-am installcheck \
+-install-exec-am install-exec install-data-local install-data-am \
+-install-data install-am install uninstall-am uninstall all-local \
+-all-redirect all-am all install-strip installdirs mostlyclean-generic \
+-distclean-generic clean-generic maintainer-clean-generic clean \
+-mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-binPROGRAMS uninstall-info-am
++
++.PHONY: GTAGS all all-am all-local check check-am check-local clean \
++	clean-binPROGRAMS clean-generic clean-libtool distclean \
++	distclean-compile distclean-generic distclean-libtool \
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-binPROGRAMS install-data install-data-am \
++	install-data-local install-exec install-exec-am install-info \
++	install-info-am install-man install-strip installcheck \
++	installcheck-am installdirs maintainer-clean \
++	maintainer-clean-generic mostlyclean mostlyclean-compile \
++	mostlyclean-generic mostlyclean-libtool tags uninstall \
++	uninstall-am uninstall-binPROGRAMS uninstall-info-am
+ 
+ 
+ install-suid-programs:
+@@ -605,7 +599,6 @@
+ 	cd $(srcdir); perl ../../cf/make-proto.pl -o login_protos.h $(login_SOURCES) || rm -f login_protos.h
+ 
+ $(login_OBJECTS): $(srcdir)/login_protos.h
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/appl/otp/Makefile.in heimdal-0.4e/appl/otp/Makefile.in
+--- heimdal-0.4e-old/appl/otp/Makefile.in	Thu Sep  6 22:24:53 2001
++++ heimdal-0.4e/appl/otp/Makefile.in	Wed Nov 21 11:52:38 2001
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.11 2001/08/28 08:31:21 assar Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,9 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,6 +89,7 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+@@ -105,7 +109,6 @@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,20 +122,17 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+ 
+-# $Id: Makefile.am,v 1.11 2001/08/28 08:31:21 assar Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
+-
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+ SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+@@ -189,13 +189,12 @@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+@@ -211,125 +210,116 @@
+ 
+ subdir = appl/otp
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../include/config.h
+-CONFIG_CLEAN_FILES = 
+-bin_PROGRAMS =  otp$(EXEEXT) otpprint$(EXEEXT)
+-PROGRAMS =  $(bin_PROGRAMS)
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++bin_PROGRAMS = otp$(EXEEXT) otpprint$(EXEEXT)
++PROGRAMS = $(bin_PROGRAMS)
+ 
++am_otp_OBJECTS = otp.$(OBJEXT)
++otp_OBJECTS = $(am_otp_OBJECTS)
++otp_LDADD = $(LDADD)
++otp_DEPENDENCIES = $(top_builddir)/lib/otp/libotp.la
++otp_LDFLAGS =
++am_otpprint_OBJECTS = otpprint.$(OBJEXT)
++otpprint_OBJECTS = $(am_otpprint_OBJECTS)
++otpprint_LDADD = $(LDADD)
++otpprint_DEPENDENCIES = $(top_builddir)/lib/otp/libotp.la
++otpprint_LDFLAGS =
+ 
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../../include
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+-am_otp_OBJECTS =  otp.$(OBJEXT)
+-otp_OBJECTS =  $(am_otp_OBJECTS)
+-otp_LDADD = $(LDADD)
+-otp_DEPENDENCIES =  $(top_builddir)/lib/otp/libotp.la
+-otp_LDFLAGS = 
+-am_otpprint_OBJECTS =  otpprint.$(OBJEXT)
+-otpprint_OBJECTS =  $(am_otpprint_OBJECTS)
+-otpprint_LDADD = $(LDADD)
+-otpprint_DEPENDENCIES =  $(top_builddir)/lib/otp/libotp.la
+-otpprint_LDFLAGS = 
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  $(otp_SOURCES) $(otpprint_SOURCES)
+-man1dir = $(mandir)/man1
+-MANS = $(man_MANS)
+-depcomp = 
+-DIST_COMMON =  ChangeLog Makefile.am Makefile.in
+-
+-
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++DIST_SOURCES = $(otp_SOURCES) $(otpprint_SOURCES)
+ 
+-GZIP_ENV = --best
++NROFF = nroff
++MANS = $(man_MANS)
++DIST_COMMON = ChangeLog Makefile.am Makefile.in
+ SOURCES = $(otp_SOURCES) $(otpprint_SOURCES)
+-OBJECTS = $(am_otp_OBJECTS) $(am_otpprint_OBJECTS)
+ 
+-all: all-redirect
++all: all-am
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/otp/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+ 
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-mostlyclean-binPROGRAMS:
+-
+-clean-binPROGRAMS:
+-	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
+-
+-distclean-binPROGRAMS:
+-
+-maintainer-clean-binPROGRAMS:
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  appl/otp/Makefile
++Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ install-binPROGRAMS: $(bin_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(bindir)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  if test -f $$p; then \
+-	    f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f; \
++	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  if test -f $$p \
++	     || test -f $$p1 \
++	  ; then \
++	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-binPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+-mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
++clean-binPROGRAMS:
++	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
++otp$(EXEEXT): $(otp_OBJECTS) $(otp_DEPENDENCIES) 
++	@rm -f otp$(EXEEXT)
++	$(LINK) $(otp_LDFLAGS) $(otp_OBJECTS) $(otp_LDADD) $(LIBS)
++otpprint$(EXEEXT): $(otpprint_OBJECTS) $(otpprint_DEPENDENCIES) 
++	@rm -f otpprint$(EXEEXT)
++	$(LINK) $(otpprint_LDFLAGS) $(otpprint_OBJECTS) $(otpprint_LDADD) $(LIBS)
+ 
+-clean-compile:
++mostlyclean-compile:
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+-maintainer-clean-compile:
+-
+-mostlyclean-libtool:
+-	-rm -f *.lo
+-
+-clean-libtool:
+-	-rm -rf .libs _libs
+-
+-distclean-libtool:
+-
+-maintainer-clean-libtool:
+-
+-otp$(EXEEXT): $(otp_OBJECTS) $(otp_DEPENDENCIES)
+-	@rm -f otp$(EXEEXT)
+-	$(LINK) $(otp_LDFLAGS) $(otp_OBJECTS) $(otp_LDADD) $(LIBS)
+-
+-otpprint$(EXEEXT): $(otpprint_OBJECTS) $(otpprint_DEPENDENCIES)
+-	@rm -f otpprint$(EXEEXT)
+-	$(LINK) $(otpprint_LDFLAGS) $(otpprint_OBJECTS) $(otpprint_LDADD) $(LIBS)
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
++
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
++uninstall-info-am:
+ 
+-install-man1:
++man1dir = $(mandir)/man1
++install-man1: $(man1_MANS) $(man_MANS)
++	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(man1dir)
+-	@list='$(man1_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.1*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -344,10 +334,11 @@
+ 	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
+ 	  $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
+ 	done
+-
+ uninstall-man1:
+-	@list='$(man1_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@$(NORMAL_UNINSTALL)
++	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.1*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -360,12 +351,6 @@
+ 	  echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
+ 	  rm -f $(DESTDIR)$(man1dir)/$$inst; \
+ 	done
+-install-man: $(MANS)
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-man1
+-uninstall-man:
+-	@$(NORMAL_UNINSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) uninstall-man1
+ 
+ tags: TAGS
+ 
+@@ -394,22 +379,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -419,86 +405,94 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-install-exec-am: install-binPROGRAMS
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++all-am: Makefile $(PROGRAMS) $(MANS) all-local
+ 
+-install-data-am: install-man install-data-local
+-install-data: install-data-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(man1dir)
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am: uninstall-binPROGRAMS uninstall-man
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(PROGRAMS) $(MANS) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-binPROGRAMS mostlyclean-compile \
+-		mostlyclean-libtool mostlyclean-tags \
+-		mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am
+ 
+-clean-am:  clean-binPROGRAMS clean-compile clean-libtool clean-tags \
+-		clean-generic mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-binPROGRAMS distclean-compile distclean-libtool \
+-		distclean-tags distclean-generic clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-binPROGRAMS \
+-		maintainer-clean-compile maintainer-clean-libtool \
+-		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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local install-man
++
++install-exec-am: install-binPROGRAMS
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man: install-man1
++
++installcheck-am:
+ 
+ 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 mostlyclean-libtool distclean-libtool \
+-clean-libtool maintainer-clean-libtool install-man1 uninstall-man1 \
+-install-man uninstall-man tags mostlyclean-tags distclean-tags \
+-clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi \
+-check-local check check-am installcheck-am installcheck install-exec-am \
+-install-exec install-data-local install-data-am install-data install-am \
+-install uninstall-am uninstall all-local all-redirect all-am all \
+-install-strip installdirs mostlyclean-generic distclean-generic \
+-clean-generic maintainer-clean-generic clean mostlyclean distclean \
+-maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-binPROGRAMS uninstall-info-am uninstall-man
++
++uninstall-man: uninstall-man1
++
++.PHONY: GTAGS all all-am all-local check check-am check-local clean \
++	clean-binPROGRAMS clean-generic clean-libtool distclean \
++	distclean-compile distclean-generic distclean-libtool \
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-binPROGRAMS install-data install-data-am \
++	install-data-local install-exec install-exec-am install-info \
++	install-info-am install-man install-man1 install-strip \
++	installcheck installcheck-am installdirs maintainer-clean \
++	maintainer-clean-generic mostlyclean mostlyclean-compile \
++	mostlyclean-generic mostlyclean-libtool tags uninstall \
++	uninstall-am uninstall-binPROGRAMS uninstall-info-am \
++	uninstall-man uninstall-man1
+ 
+ 
+ install-suid-programs:
+@@ -628,7 +622,6 @@
+ 	  echo "$$dashes"; \
+ 	  test "$$failed" -eq 0; \
+ 	fi
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/appl/popper/Makefile.in heimdal-0.4e/appl/popper/Makefile.in
+--- heimdal-0.4e-old/appl/popper/Makefile.in	Thu Sep  6 22:24:59 2001
++++ heimdal-0.4e/appl/popper/Makefile.in	Wed Nov 21 11:52:38 2001
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.14 2001/08/04 03:08:02 assar Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,9 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,6 +89,7 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+@@ -105,7 +109,6 @@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,20 +122,17 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+ 
+-# $Id: Makefile.am,v 1.14 2001/08/04 03:08:02 assar Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
+-
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+ SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+@@ -189,13 +189,12 @@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+@@ -229,146 +228,129 @@
+ man_MANS = popper.8
+ subdir = appl/popper
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../include/config.h
+-CONFIG_CLEAN_FILES = 
+-libexec_PROGRAMS =  popper$(EXEEXT)
+-noinst_PROGRAMS =  pop_debug$(EXEEXT)
+-PROGRAMS =  $(libexec_PROGRAMS) $(noinst_PROGRAMS)
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++libexec_PROGRAMS = popper$(EXEEXT)
++noinst_PROGRAMS = pop_debug$(EXEEXT)
++PROGRAMS = $(libexec_PROGRAMS) $(noinst_PROGRAMS)
+ 
+-
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../../include
+-CPPFLAGS = @CPPFLAGS@
+-LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+ pop_debug_SOURCES = pop_debug.c
+-pop_debug_OBJECTS =  pop_debug.$(OBJEXT)
++pop_debug_OBJECTS = pop_debug.$(OBJEXT)
+ pop_debug_LDADD = $(LDADD)
+-@KRB5_FALSE@pop_debug_DEPENDENCIES = 
+-@KRB5_TRUE@pop_debug_DEPENDENCIES =  $(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
+-pop_debug_LDFLAGS = 
+-am_popper_OBJECTS =  pop_dele.$(OBJEXT) pop_dropcopy.$(OBJEXT) \
+-pop_dropinfo.$(OBJEXT) pop_get_command.$(OBJEXT) pop_init.$(OBJEXT) \
+-pop_last.$(OBJEXT) pop_list.$(OBJEXT) pop_log.$(OBJEXT) \
+-pop_msg.$(OBJEXT) pop_parse.$(OBJEXT) pop_pass.$(OBJEXT) \
+-pop_quit.$(OBJEXT) pop_rset.$(OBJEXT) pop_send.$(OBJEXT) \
+-pop_stat.$(OBJEXT) pop_updt.$(OBJEXT) pop_user.$(OBJEXT) \
+-pop_uidl.$(OBJEXT) pop_xover.$(OBJEXT) popper.$(OBJEXT) \
+-maildir.$(OBJEXT)
+-popper_OBJECTS =  $(am_popper_OBJECTS)
++@KRB5_TRUE@pop_debug_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_FALSE@pop_debug_DEPENDENCIES =
++pop_debug_LDFLAGS =
++am_popper_OBJECTS = pop_dele.$(OBJEXT) pop_dropcopy.$(OBJEXT) \
++	pop_dropinfo.$(OBJEXT) pop_get_command.$(OBJEXT) \
++	pop_init.$(OBJEXT) pop_last.$(OBJEXT) pop_list.$(OBJEXT) \
++	pop_log.$(OBJEXT) pop_msg.$(OBJEXT) pop_parse.$(OBJEXT) \
++	pop_pass.$(OBJEXT) pop_quit.$(OBJEXT) pop_rset.$(OBJEXT) \
++	pop_send.$(OBJEXT) pop_stat.$(OBJEXT) pop_updt.$(OBJEXT) \
++	pop_user.$(OBJEXT) pop_uidl.$(OBJEXT) pop_xover.$(OBJEXT) \
++	popper.$(OBJEXT) maildir.$(OBJEXT)
++popper_OBJECTS = $(am_popper_OBJECTS)
+ popper_LDADD = $(LDADD)
+-@KRB5_FALSE@popper_DEPENDENCIES = 
+-@KRB5_TRUE@popper_DEPENDENCIES =  $(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
+-popper_LDFLAGS = 
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
+-CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  pop_debug.c $(popper_SOURCES)
+-man8dir = $(mandir)/man8
+-MANS = $(man_MANS)
+-depcomp = 
+-DIST_COMMON =  README ChangeLog Makefile.am Makefile.in
+-
++@KRB5_TRUE@popper_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_FALSE@popper_DEPENDENCIES =
++popper_LDFLAGS =
+ 
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
++CPPFLAGS = @CPPFLAGS@
++LDFLAGS = @LDFLAGS@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++CCLD = $(CC)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++DIST_SOURCES = pop_debug.c $(popper_SOURCES)
+ 
+-GZIP_ENV = --best
++NROFF = nroff
++MANS = $(man_MANS)
++DIST_COMMON = README ChangeLog Makefile.am Makefile.in
+ SOURCES = pop_debug.c $(popper_SOURCES)
+-OBJECTS = pop_debug.$(OBJEXT) $(am_popper_OBJECTS)
+ 
+-all: all-redirect
++all: all-am
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/popper/Makefile
+ 
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+-
+-
+-mostlyclean-libexecPROGRAMS:
+-
+-clean-libexecPROGRAMS:
+-	-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
+-
+-distclean-libexecPROGRAMS:
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-maintainer-clean-libexecPROGRAMS:
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  appl/popper/Makefile
++Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ install-libexecPROGRAMS: $(libexec_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(libexecdir)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+-	  if test -f $$p; then \
+-	    f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libexecdir)/$$f"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libexecdir)/$$f; \
++	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  if test -f $$p \
++	     || test -f $$p1 \
++	  ; then \
++	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-libexecPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+-	  f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(libexecdir)/$$f; \
+ 	done
+ 
+-mostlyclean-noinstPROGRAMS:
++clean-libexecPROGRAMS:
++	-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
+ 
+ clean-noinstPROGRAMS:
+ 	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
+-
+-distclean-noinstPROGRAMS:
+-
+-maintainer-clean-noinstPROGRAMS:
++pop_debug$(EXEEXT): $(pop_debug_OBJECTS) $(pop_debug_DEPENDENCIES) 
++	@rm -f pop_debug$(EXEEXT)
++	$(LINK) $(pop_debug_LDFLAGS) $(pop_debug_OBJECTS) $(pop_debug_LDADD) $(LIBS)
++popper$(EXEEXT): $(popper_OBJECTS) $(popper_DEPENDENCIES) 
++	@rm -f popper$(EXEEXT)
++	$(LINK) $(popper_LDFLAGS) $(popper_OBJECTS) $(popper_LDADD) $(LIBS)
+ 
+ mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
+-
+-clean-compile:
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+-maintainer-clean-compile:
+-
+-mostlyclean-libtool:
+-	-rm -f *.lo
+-
+-clean-libtool:
+-	-rm -rf .libs _libs
+-
+-distclean-libtool:
+-
+-maintainer-clean-libtool:
+-
+-pop_debug$(EXEEXT): $(pop_debug_OBJECTS) $(pop_debug_DEPENDENCIES)
+-	@rm -f pop_debug$(EXEEXT)
+-	$(LINK) $(pop_debug_LDFLAGS) $(pop_debug_OBJECTS) $(pop_debug_LDADD) $(LIBS)
+-
+-popper$(EXEEXT): $(popper_OBJECTS) $(popper_DEPENDENCIES)
+-	@rm -f popper$(EXEEXT)
+-	$(LINK) $(popper_LDFLAGS) $(popper_OBJECTS) $(popper_LDADD) $(LIBS)
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
++
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
++uninstall-info-am:
+ 
+-install-man8:
++man8dir = $(mandir)/man8
++install-man8: $(man8_MANS) $(man_MANS)
++	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(man8dir)
+-	@list='$(man8_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.8*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -383,10 +365,11 @@
+ 	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst"; \
+ 	  $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst; \
+ 	done
+-
+ uninstall-man8:
+-	@list='$(man8_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@$(NORMAL_UNINSTALL)
++	@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.8*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -399,12 +382,6 @@
+ 	  echo " rm -f $(DESTDIR)$(man8dir)/$$inst"; \
+ 	  rm -f $(DESTDIR)$(man8dir)/$$inst; \
+ 	done
+-install-man: $(MANS)
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-man8
+-uninstall-man:
+-	@$(NORMAL_UNINSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) uninstall-man8
+ 
+ tags: TAGS
+ 
+@@ -433,22 +410,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -458,91 +436,96 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-install-exec-am: install-libexecPROGRAMS
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++all-am: Makefile $(PROGRAMS) $(MANS) all-local
+ 
+-install-data-am: install-man install-data-local
+-install-data: install-data-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(libexecdir) $(DESTDIR)$(man8dir)
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am: uninstall-libexecPROGRAMS uninstall-man
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(PROGRAMS) $(MANS) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(libexecdir) $(DESTDIR)$(mandir)/man8
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-libexecPROGRAMS mostlyclean-noinstPROGRAMS \
+-		mostlyclean-compile mostlyclean-libtool \
+-		mostlyclean-tags mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-generic clean-libexecPROGRAMS clean-libtool \
++	clean-noinstPROGRAMS mostlyclean-am
+ 
+-clean-am:  clean-libexecPROGRAMS clean-noinstPROGRAMS clean-compile \
+-		clean-libtool clean-tags clean-generic mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-libexecPROGRAMS distclean-noinstPROGRAMS \
+-		distclean-compile distclean-libtool distclean-tags \
+-		distclean-generic clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-libexecPROGRAMS \
+-		maintainer-clean-noinstPROGRAMS \
+-		maintainer-clean-compile maintainer-clean-libtool \
+-		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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local install-man
++
++install-exec-am: install-libexecPROGRAMS
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man: install-man8
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-am
+ 
+-.PHONY: mostlyclean-libexecPROGRAMS distclean-libexecPROGRAMS \
+-clean-libexecPROGRAMS maintainer-clean-libexecPROGRAMS \
+-uninstall-libexecPROGRAMS install-libexecPROGRAMS \
+-mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \
+-clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \
+-mostlyclean-compile distclean-compile clean-compile \
+-maintainer-clean-compile mostlyclean-libtool distclean-libtool \
+-clean-libtool maintainer-clean-libtool install-man8 uninstall-man8 \
+-install-man uninstall-man tags mostlyclean-tags distclean-tags \
+-clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi \
+-check-local check check-am installcheck-am installcheck install-exec-am \
+-install-exec install-data-local install-data-am install-data install-am \
+-install uninstall-am uninstall all-local all-redirect all-am all \
+-install-strip installdirs mostlyclean-generic distclean-generic \
+-clean-generic maintainer-clean-generic clean mostlyclean distclean \
+-maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-info-am uninstall-libexecPROGRAMS uninstall-man
++
++uninstall-man: uninstall-man8
++
++.PHONY: GTAGS all all-am all-local check check-am check-local clean \
++	clean-generic clean-libexecPROGRAMS clean-libtool \
++	clean-noinstPROGRAMS distclean distclean-compile \
++	distclean-generic distclean-libtool distclean-tags distdir dvi \
++	dvi-am info info-am install install-am install-data \
++	install-data-am install-data-local install-exec install-exec-am \
++	install-info install-info-am install-libexecPROGRAMS \
++	install-man install-man8 install-strip installcheck \
++	installcheck-am installdirs maintainer-clean \
++	maintainer-clean-generic mostlyclean mostlyclean-compile \
++	mostlyclean-generic mostlyclean-libtool tags uninstall \
++	uninstall-am uninstall-info-am uninstall-libexecPROGRAMS \
++	uninstall-man uninstall-man8
+ 
+ 
+ install-suid-programs:
+@@ -672,7 +655,6 @@
+ 	  echo "$$dashes"; \
+ 	  test "$$failed" -eq 0; \
+ 	fi
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/appl/push/Makefile.in heimdal-0.4e/appl/push/Makefile.in
+--- heimdal-0.4e-old/appl/push/Makefile.in	Thu Sep  6 22:25:03 2001
++++ heimdal-0.4e/appl/push/Makefile.in	Wed Nov 21 11:52:39 2001
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.17 2000/11/15 22:51:09 assar Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,9 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,6 +89,7 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+@@ -105,7 +109,6 @@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,20 +122,17 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+ 
+-# $Id: Makefile.am,v 1.17 2000/11/15 22:51:09 assar Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
+-
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+ SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+@@ -189,13 +189,12 @@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+@@ -219,111 +218,87 @@
+ 
+ subdir = appl/push
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../include/config.h
+-CONFIG_CLEAN_FILES = 
+-libexec_PROGRAMS =  push$(EXEEXT)
+-PROGRAMS =  $(libexec_PROGRAMS)
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++libexec_PROGRAMS = push$(EXEEXT)
++PROGRAMS = $(libexec_PROGRAMS)
+ 
++am_push_OBJECTS = push.$(OBJEXT)
++push_OBJECTS = $(am_push_OBJECTS)
++push_LDADD = $(LDADD)
++@KRB5_TRUE@push_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_FALSE@push_DEPENDENCIES =
++push_LDFLAGS =
++SCRIPTS = $(bin_SCRIPTS)
+ 
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../../include
++
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+-am_push_OBJECTS =  push.$(OBJEXT)
+-push_OBJECTS =  $(am_push_OBJECTS)
+-push_LDADD = $(LDADD)
+-@KRB5_FALSE@push_DEPENDENCIES = 
+-@KRB5_TRUE@push_DEPENDENCIES =  $(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
+-push_LDFLAGS = 
+-SCRIPTS =  $(bin_SCRIPTS)
+-
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  $(push_SOURCES)
+-man1dir = $(mandir)/man1
+-man8dir = $(mandir)/man8
+-MANS = $(man_MANS)
+-depcomp = 
+-DIST_COMMON =  ChangeLog Makefile.am Makefile.in
+-
+-
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++DIST_SOURCES = $(push_SOURCES)
+ 
+-GZIP_ENV = --best
++NROFF = nroff
++MANS = $(man_MANS)
++DIST_COMMON = ChangeLog Makefile.am Makefile.in
+ SOURCES = $(push_SOURCES)
+-OBJECTS = $(am_push_OBJECTS)
+ 
+-all: all-redirect
++all: all-am
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/push/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+-
+ 
+-mostlyclean-libexecPROGRAMS:
+-
+-clean-libexecPROGRAMS:
+-	-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
+-
+-distclean-libexecPROGRAMS:
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-maintainer-clean-libexecPROGRAMS:
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  appl/push/Makefile
++Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ install-libexecPROGRAMS: $(libexec_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(libexecdir)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+-	  if test -f $$p; then \
+-	    f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libexecdir)/$$f"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libexecdir)/$$f; \
++	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  if test -f $$p \
++	     || test -f $$p1 \
++	  ; then \
++	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-libexecPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+-	  f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(libexecdir)/$$f; \
+ 	done
+ 
+-mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
+-
+-clean-compile:
+-
+-distclean-compile:
+-	-rm -f *.tab.c
+-
+-maintainer-clean-compile:
+-
+-mostlyclean-libtool:
+-	-rm -f *.lo
+-
+-clean-libtool:
+-	-rm -rf .libs _libs
+-
+-distclean-libtool:
+-
+-maintainer-clean-libtool:
+-
+-push$(EXEEXT): $(push_OBJECTS) $(push_DEPENDENCIES)
++clean-libexecPROGRAMS:
++	-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
++push$(EXEEXT): $(push_OBJECTS) $(push_DEPENDENCIES) 
+ 	@rm -f push$(EXEEXT)
+ 	$(LINK) $(push_LDFLAGS) $(push_OBJECTS) $(push_LDADD) $(LIBS)
+-
+ install-binSCRIPTS: $(bin_SCRIPTS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(bindir)
+@@ -345,17 +320,30 @@
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
++
++mostlyclean-compile:
++	-rm -f *.$(OBJEXT) core *.core
++
++distclean-compile:
++	-rm -f *.tab.c
++
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
++
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
++uninstall-info-am:
+ 
+-install-man1:
++man1dir = $(mandir)/man1
++install-man1: $(man1_MANS) $(man_MANS)
++	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(man1dir)
+-	@list='$(man1_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.1*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -370,10 +358,11 @@
+ 	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
+ 	  $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
+ 	done
+-
+ uninstall-man1:
+-	@list='$(man1_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@$(NORMAL_UNINSTALL)
++	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.1*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -387,10 +376,13 @@
+ 	  rm -f $(DESTDIR)$(man1dir)/$$inst; \
+ 	done
+ 
+-install-man8:
++man8dir = $(mandir)/man8
++install-man8: $(man8_MANS) $(man_MANS)
++	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(man8dir)
+-	@list='$(man8_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.8*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -405,10 +397,11 @@
+ 	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst"; \
+ 	  $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst; \
+ 	done
+-
+ uninstall-man8:
+-	@list='$(man8_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@$(NORMAL_UNINSTALL)
++	@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.8*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -421,12 +414,6 @@
+ 	  echo " rm -f $(DESTDIR)$(man8dir)/$$inst"; \
+ 	  rm -f $(DESTDIR)$(man8dir)/$$inst; \
+ 	done
+-install-man: $(MANS)
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-man1 install-man8
+-uninstall-man:
+-	@$(NORMAL_UNINSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) uninstall-man1 uninstall-man8
+ 
+ tags: TAGS
+ 
+@@ -455,22 +442,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -480,91 +468,99 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-install-exec-am: install-libexecPROGRAMS install-binSCRIPTS
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++all-am: Makefile $(PROGRAMS) $(SCRIPTS) $(MANS) all-local
+ 
+-install-data-am: install-man install-data-local
+-install-data: install-data-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(libexecdir) $(DESTDIR)$(bindir) $(DESTDIR)$(man1dir) $(DESTDIR)$(man8dir)
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am: uninstall-libexecPROGRAMS uninstall-binSCRIPTS \
+-		uninstall-man
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(PROGRAMS) $(SCRIPTS) $(MANS) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(libexecdir) $(DESTDIR)$(bindir) \
+-		$(DESTDIR)$(mandir)/man1 $(DESTDIR)$(mandir)/man8
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-libexecPROGRAMS mostlyclean-compile \
+-		mostlyclean-libtool mostlyclean-tags \
+-		mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-generic clean-libexecPROGRAMS clean-libtool \
++	mostlyclean-am
+ 
+-clean-am:  clean-libexecPROGRAMS clean-compile clean-libtool clean-tags \
+-		clean-generic mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-libexecPROGRAMS distclean-compile \
+-		distclean-libtool distclean-tags distclean-generic \
+-		clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-libexecPROGRAMS \
+-		maintainer-clean-compile maintainer-clean-libtool \
+-		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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local install-man
++
++install-exec-am: install-binSCRIPTS install-libexecPROGRAMS
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man: install-man1 install-man8
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-am
+ 
+-.PHONY: mostlyclean-libexecPROGRAMS distclean-libexecPROGRAMS \
+-clean-libexecPROGRAMS maintainer-clean-libexecPROGRAMS \
+-uninstall-libexecPROGRAMS install-libexecPROGRAMS mostlyclean-compile \
+-distclean-compile clean-compile maintainer-clean-compile \
+-mostlyclean-libtool distclean-libtool clean-libtool \
+-maintainer-clean-libtool uninstall-binSCRIPTS install-binSCRIPTS \
+-install-man1 uninstall-man1 install-man8 uninstall-man8 install-man \
+-uninstall-man tags mostlyclean-tags distclean-tags clean-tags \
+-maintainer-clean-tags distdir info-am info dvi-am dvi check-local check \
+-check-am installcheck-am installcheck install-exec-am install-exec \
+-install-data-local install-data-am install-data install-am install \
+-uninstall-am uninstall all-local all-redirect all-am all install-strip \
+-installdirs mostlyclean-generic distclean-generic clean-generic \
+-maintainer-clean-generic clean mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-binSCRIPTS uninstall-info-am \
++	uninstall-libexecPROGRAMS uninstall-man
++
++uninstall-man: uninstall-man1 uninstall-man8
++
++.PHONY: GTAGS all all-am all-local check check-am check-local clean \
++	clean-generic clean-libexecPROGRAMS clean-libtool distclean \
++	distclean-compile distclean-generic distclean-libtool \
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-binSCRIPTS install-data install-data-am \
++	install-data-local install-exec install-exec-am install-info \
++	install-info-am install-libexecPROGRAMS install-man \
++	install-man1 install-man8 install-strip installcheck \
++	installcheck-am installdirs maintainer-clean \
++	maintainer-clean-generic mostlyclean mostlyclean-compile \
++	mostlyclean-generic mostlyclean-libtool tags uninstall \
++	uninstall-am uninstall-binSCRIPTS uninstall-info-am \
++	uninstall-libexecPROGRAMS uninstall-man uninstall-man1 \
++	uninstall-man8
+ 
+ 
+ install-suid-programs:
+@@ -698,7 +694,6 @@
+ pfrom: pfrom.in
+ 	sed -e "s!%libexecdir%!$(libexecdir)!" $(srcdir)/pfrom.in > $@
+ 	chmod +x $@
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/appl/rcp/Makefile.in heimdal-0.4e/appl/rcp/Makefile.in
+--- heimdal-0.4e-old/appl/rcp/Makefile.in	Thu Sep  6 22:25:12 2001
++++ heimdal-0.4e/appl/rcp/Makefile.in	Wed Nov 21 11:52:39 2001
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.2 2001/01/28 22:50:35 assar Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,9 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,6 +89,7 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+@@ -105,7 +109,6 @@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,20 +122,17 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+ 
+-# $Id: Makefile.am,v 1.2 2001/01/28 22:50:35 assar Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
+-
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+ SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+@@ -189,13 +189,12 @@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+@@ -206,109 +205,97 @@
+ LDADD = $(LIB_roken)
+ subdir = appl/rcp
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../include/config.h
+-CONFIG_CLEAN_FILES = 
+-bin_PROGRAMS =  rcp$(EXEEXT)
+-PROGRAMS =  $(bin_PROGRAMS)
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++bin_PROGRAMS = rcp$(EXEEXT)
++PROGRAMS = $(bin_PROGRAMS)
+ 
++am_rcp_OBJECTS = rcp.$(OBJEXT) util.$(OBJEXT)
++rcp_OBJECTS = $(am_rcp_OBJECTS)
++rcp_LDADD = $(LDADD)
++rcp_DEPENDENCIES =
++rcp_LDFLAGS =
+ 
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../../include
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+-am_rcp_OBJECTS =  rcp.$(OBJEXT) util.$(OBJEXT)
+-rcp_OBJECTS =  $(am_rcp_OBJECTS)
+-rcp_LDADD = $(LDADD)
+-rcp_DEPENDENCIES = 
+-rcp_LDFLAGS = 
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  $(rcp_SOURCES)
+-depcomp = 
+-DIST_COMMON =  ChangeLog Makefile.am Makefile.in
+-
+-
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+-
+-GZIP_ENV = --best
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++DIST_SOURCES = $(rcp_SOURCES)
++DIST_COMMON = ChangeLog Makefile.am Makefile.in
+ SOURCES = $(rcp_SOURCES)
+-OBJECTS = $(am_rcp_OBJECTS)
+ 
+-all: all-redirect
++all: all-am
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/rcp/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+ 
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-mostlyclean-binPROGRAMS:
+-
+-clean-binPROGRAMS:
+-	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
+-
+-distclean-binPROGRAMS:
+-
+-maintainer-clean-binPROGRAMS:
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  appl/rcp/Makefile
++Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ install-binPROGRAMS: $(bin_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(bindir)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  if test -f $$p; then \
+-	    f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f; \
++	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  if test -f $$p \
++	     || test -f $$p1 \
++	  ; then \
++	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-binPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+-mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
++clean-binPROGRAMS:
++	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
++rcp$(EXEEXT): $(rcp_OBJECTS) $(rcp_DEPENDENCIES) 
++	@rm -f rcp$(EXEEXT)
++	$(LINK) $(rcp_LDFLAGS) $(rcp_OBJECTS) $(rcp_LDADD) $(LIBS)
+ 
+-clean-compile:
++mostlyclean-compile:
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+-maintainer-clean-compile:
+-
+-mostlyclean-libtool:
+-	-rm -f *.lo
+-
+-clean-libtool:
+-	-rm -rf .libs _libs
+-
+-distclean-libtool:
+-
+-maintainer-clean-libtool:
+-
+-rcp$(EXEEXT): $(rcp_OBJECTS) $(rcp_DEPENDENCIES)
+-	@rm -f rcp$(EXEEXT)
+-	$(LINK) $(rcp_LDFLAGS) $(rcp_OBJECTS) $(rcp_LDADD) $(LIBS)
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
++
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
++uninstall-info-am:
+ 
+ tags: TAGS
+ 
+@@ -337,22 +324,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -362,85 +350,91 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-install-exec-am: install-binPROGRAMS
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++all-am: Makefile $(PROGRAMS) all-local
+ 
+-install-data-am: install-data-local
+-install-data: install-data-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(bindir)
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am: uninstall-binPROGRAMS
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(PROGRAMS) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(bindir)
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-binPROGRAMS mostlyclean-compile \
+-		mostlyclean-libtool mostlyclean-tags \
+-		mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am
+ 
+-clean-am:  clean-binPROGRAMS clean-compile clean-libtool clean-tags \
+-		clean-generic mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-binPROGRAMS distclean-compile distclean-libtool \
+-		distclean-tags distclean-generic clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-binPROGRAMS \
+-		maintainer-clean-compile maintainer-clean-libtool \
+-		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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local
++
++install-exec-am: install-binPROGRAMS
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man:
++
++installcheck-am:
+ 
+ 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 mostlyclean-libtool distclean-libtool \
+-clean-libtool maintainer-clean-libtool tags mostlyclean-tags \
+-distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
+-dvi-am dvi check-local check check-am installcheck-am installcheck \
+-install-exec-am install-exec install-data-local install-data-am \
+-install-data install-am install uninstall-am uninstall all-local \
+-all-redirect all-am all install-strip installdirs mostlyclean-generic \
+-distclean-generic clean-generic maintainer-clean-generic clean \
+-mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-binPROGRAMS uninstall-info-am
++
++.PHONY: GTAGS all all-am all-local check check-am check-local clean \
++	clean-binPROGRAMS clean-generic clean-libtool distclean \
++	distclean-compile distclean-generic distclean-libtool \
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-binPROGRAMS install-data install-data-am \
++	install-data-local install-exec install-exec-am install-info \
++	install-info-am install-man install-strip installcheck \
++	installcheck-am installdirs maintainer-clean \
++	maintainer-clean-generic mostlyclean mostlyclean-compile \
++	mostlyclean-generic mostlyclean-libtool tags uninstall \
++	uninstall-am uninstall-binPROGRAMS uninstall-info-am
+ 
+ 
+ install-suid-programs:
+@@ -570,7 +564,6 @@
+ 	  echo "$$dashes"; \
+ 	  test "$$failed" -eq 0; \
+ 	fi
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/appl/rsh/Makefile.in heimdal-0.4e/appl/rsh/Makefile.in
+--- heimdal-0.4e-old/appl/rsh/Makefile.in	Thu Sep  6 22:25:09 2001
++++ heimdal-0.4e/appl/rsh/Makefile.in	Wed Nov 21 11:52:39 2001
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.17 2001/07/31 09:12:03 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,9 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,6 +89,7 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+@@ -105,7 +109,6 @@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,20 +122,17 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+ 
+-# $Id: Makefile.am,v 1.17 2001/07/31 09:12:03 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
+-
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+ SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+@@ -189,13 +189,12 @@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+@@ -218,202 +217,179 @@
+ 
+ subdir = appl/rsh
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../include/config.h
+-CONFIG_CLEAN_FILES = 
+-bin_PROGRAMS =  rsh$(EXEEXT)
+-libexec_PROGRAMS =  rshd$(EXEEXT)
+-PROGRAMS =  $(bin_PROGRAMS) $(libexec_PROGRAMS)
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++bin_PROGRAMS = rsh$(EXEEXT)
++libexec_PROGRAMS = rshd$(EXEEXT)
++PROGRAMS = $(bin_PROGRAMS) $(libexec_PROGRAMS)
+ 
++am_rsh_OBJECTS = rsh.$(OBJEXT) common.$(OBJEXT)
++rsh_OBJECTS = $(am_rsh_OBJECTS)
++rsh_LDADD = $(LDADD)
++@DCE_FALSE@@KRB4_FALSE@@KRB5_TRUE@rsh_DEPENDENCIES = \
++@DCE_FALSE@@KRB4_FALSE@@KRB5_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la
++@DCE_FALSE@@KRB4_FALSE@@KRB5_FALSE@rsh_DEPENDENCIES =
++@DCE_FALSE@@KRB4_TRUE@@KRB5_TRUE@rsh_DEPENDENCIES = \
++@DCE_FALSE@@KRB4_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/kafs/libkafs.la \
++@DCE_FALSE@@KRB4_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la
++@DCE_FALSE@@KRB4_TRUE@@KRB5_FALSE@rsh_DEPENDENCIES = \
++@DCE_FALSE@@KRB4_TRUE@@KRB5_FALSE@	$(top_builddir)/lib/kafs/libkafs.la
++@DCE_TRUE@@KRB4_FALSE@@KRB5_TRUE@rsh_DEPENDENCIES = \
++@DCE_TRUE@@KRB4_FALSE@@KRB5_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la \
++@DCE_TRUE@@KRB4_FALSE@@KRB5_TRUE@	$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@@KRB4_FALSE@@KRB5_FALSE@rsh_DEPENDENCIES = \
++@DCE_TRUE@@KRB4_FALSE@@KRB5_FALSE@	$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@rsh_DEPENDENCIES = \
++@DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/kafs/libkafs.la \
++@DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la \
++@DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@@KRB4_TRUE@@KRB5_FALSE@rsh_DEPENDENCIES = \
++@DCE_TRUE@@KRB4_TRUE@@KRB5_FALSE@	$(top_builddir)/lib/kafs/libkafs.la \
++@DCE_TRUE@@KRB4_TRUE@@KRB5_FALSE@	$(top_builddir)/lib/kdfs/libkdfs.la
++rsh_LDFLAGS =
++am_rshd_OBJECTS = rshd.$(OBJEXT) common.$(OBJEXT) login_access.$(OBJEXT)
++rshd_OBJECTS = $(am_rshd_OBJECTS)
++rshd_LDADD = $(LDADD)
++@DCE_FALSE@@KRB4_FALSE@@KRB5_TRUE@rshd_DEPENDENCIES = \
++@DCE_FALSE@@KRB4_FALSE@@KRB5_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la
++@DCE_FALSE@@KRB4_FALSE@@KRB5_FALSE@rshd_DEPENDENCIES =
++@DCE_FALSE@@KRB4_TRUE@@KRB5_TRUE@rshd_DEPENDENCIES = \
++@DCE_FALSE@@KRB4_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/kafs/libkafs.la \
++@DCE_FALSE@@KRB4_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la
++@DCE_FALSE@@KRB4_TRUE@@KRB5_FALSE@rshd_DEPENDENCIES = \
++@DCE_FALSE@@KRB4_TRUE@@KRB5_FALSE@	$(top_builddir)/lib/kafs/libkafs.la
++@DCE_TRUE@@KRB4_FALSE@@KRB5_TRUE@rshd_DEPENDENCIES = \
++@DCE_TRUE@@KRB4_FALSE@@KRB5_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la \
++@DCE_TRUE@@KRB4_FALSE@@KRB5_TRUE@	$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@@KRB4_FALSE@@KRB5_FALSE@rshd_DEPENDENCIES = \
++@DCE_TRUE@@KRB4_FALSE@@KRB5_FALSE@	$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@rshd_DEPENDENCIES = \
++@DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/kafs/libkafs.la \
++@DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la \
++@DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@@KRB4_TRUE@@KRB5_FALSE@rshd_DEPENDENCIES = \
++@DCE_TRUE@@KRB4_TRUE@@KRB5_FALSE@	$(top_builddir)/lib/kafs/libkafs.la \
++@DCE_TRUE@@KRB4_TRUE@@KRB5_FALSE@	$(top_builddir)/lib/kdfs/libkdfs.la
++rshd_LDFLAGS =
+ 
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../../include
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+-am_rsh_OBJECTS =  rsh.$(OBJEXT) common.$(OBJEXT)
+-rsh_OBJECTS =  $(am_rsh_OBJECTS)
+-rsh_LDADD = $(LDADD)
+-@DCE_FALSE@@KRB4_FALSE@@KRB5_FALSE@rsh_DEPENDENCIES = 
+-@DCE_FALSE@@KRB4_FALSE@@KRB5_TRUE@rsh_DEPENDENCIES =  \
+-@DCE_FALSE@@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@DCE_FALSE@@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
+-@DCE_FALSE@@KRB4_TRUE@@KRB5_FALSE@rsh_DEPENDENCIES =  \
+-@DCE_FALSE@@KRB4_TRUE@@KRB5_FALSE@$(top_builddir)/lib/kafs/libkafs.la
+-@DCE_FALSE@@KRB4_TRUE@@KRB5_TRUE@rsh_DEPENDENCIES =  \
+-@DCE_FALSE@@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/kafs/libkafs.la \
+-@DCE_FALSE@@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@DCE_FALSE@@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
+-@DCE_TRUE@@KRB4_FALSE@@KRB5_FALSE@rsh_DEPENDENCIES =  \
+-@DCE_TRUE@@KRB4_FALSE@@KRB5_FALSE@$(top_builddir)/lib/kdfs/libkdfs.la
+-@DCE_TRUE@@KRB4_FALSE@@KRB5_TRUE@rsh_DEPENDENCIES =  \
+-@DCE_TRUE@@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@DCE_TRUE@@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la \
+-@DCE_TRUE@@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+-@DCE_TRUE@@KRB4_TRUE@@KRB5_FALSE@rsh_DEPENDENCIES =  \
+-@DCE_TRUE@@KRB4_TRUE@@KRB5_FALSE@$(top_builddir)/lib/kafs/libkafs.la \
+-@DCE_TRUE@@KRB4_TRUE@@KRB5_FALSE@$(top_builddir)/lib/kdfs/libkdfs.la
+-@DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@rsh_DEPENDENCIES =  \
+-@DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/kafs/libkafs.la \
+-@DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la \
+-@DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+-rsh_LDFLAGS = 
+-am_rshd_OBJECTS =  rshd.$(OBJEXT) common.$(OBJEXT) \
+-login_access.$(OBJEXT)
+-rshd_OBJECTS =  $(am_rshd_OBJECTS)
+-rshd_LDADD = $(LDADD)
+-@DCE_FALSE@@KRB4_FALSE@@KRB5_FALSE@rshd_DEPENDENCIES = 
+-@DCE_FALSE@@KRB4_FALSE@@KRB5_TRUE@rshd_DEPENDENCIES =  \
+-@DCE_FALSE@@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@DCE_FALSE@@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
+-@DCE_FALSE@@KRB4_TRUE@@KRB5_FALSE@rshd_DEPENDENCIES =  \
+-@DCE_FALSE@@KRB4_TRUE@@KRB5_FALSE@$(top_builddir)/lib/kafs/libkafs.la
+-@DCE_FALSE@@KRB4_TRUE@@KRB5_TRUE@rshd_DEPENDENCIES =  \
+-@DCE_FALSE@@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/kafs/libkafs.la \
+-@DCE_FALSE@@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@DCE_FALSE@@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
+-@DCE_TRUE@@KRB4_FALSE@@KRB5_FALSE@rshd_DEPENDENCIES =  \
+-@DCE_TRUE@@KRB4_FALSE@@KRB5_FALSE@$(top_builddir)/lib/kdfs/libkdfs.la
+-@DCE_TRUE@@KRB4_FALSE@@KRB5_TRUE@rshd_DEPENDENCIES =  \
+-@DCE_TRUE@@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@DCE_TRUE@@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la \
+-@DCE_TRUE@@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+-@DCE_TRUE@@KRB4_TRUE@@KRB5_FALSE@rshd_DEPENDENCIES =  \
+-@DCE_TRUE@@KRB4_TRUE@@KRB5_FALSE@$(top_builddir)/lib/kafs/libkafs.la \
+-@DCE_TRUE@@KRB4_TRUE@@KRB5_FALSE@$(top_builddir)/lib/kdfs/libkdfs.la
+-@DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@rshd_DEPENDENCIES =  \
+-@DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/kafs/libkafs.la \
+-@DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la \
+-@DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+-rshd_LDFLAGS = 
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  $(rsh_SOURCES) $(rshd_SOURCES)
+-man1dir = $(mandir)/man1
+-man8dir = $(mandir)/man8
+-MANS = $(man_MANS)
+-depcomp = 
+-DIST_COMMON =  ChangeLog Makefile.am Makefile.in
+-
+-
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++DIST_SOURCES = $(rsh_SOURCES) $(rshd_SOURCES)
+ 
+-GZIP_ENV = --best
++NROFF = nroff
++MANS = $(man_MANS)
++DIST_COMMON = ChangeLog Makefile.am Makefile.in
+ SOURCES = $(rsh_SOURCES) $(rshd_SOURCES)
+-OBJECTS = $(am_rsh_OBJECTS) $(am_rshd_OBJECTS)
+ 
+-all: all-redirect
++all: all-am
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/rsh/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+-
+-
+-mostlyclean-binPROGRAMS:
+-
+-clean-binPROGRAMS:
+-	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
+ 
+-distclean-binPROGRAMS:
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-maintainer-clean-binPROGRAMS:
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  appl/rsh/Makefile
++Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ install-binPROGRAMS: $(bin_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(bindir)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  if test -f $$p; then \
+-	    f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f; \
++	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  if test -f $$p \
++	     || test -f $$p1 \
++	  ; then \
++	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-binPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+-mostlyclean-libexecPROGRAMS:
+-
+-clean-libexecPROGRAMS:
+-	-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
+-
+-distclean-libexecPROGRAMS:
+-
+-maintainer-clean-libexecPROGRAMS:
+-
++clean-binPROGRAMS:
++	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
+ install-libexecPROGRAMS: $(libexec_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(libexecdir)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+-	  if test -f $$p; then \
+-	    f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libexecdir)/$$f"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libexecdir)/$$f; \
++	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  if test -f $$p \
++	     || test -f $$p1 \
++	  ; then \
++	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-libexecPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+-	  f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(libexecdir)/$$f; \
+ 	done
+ 
+-mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
++clean-libexecPROGRAMS:
++	-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
++rsh$(EXEEXT): $(rsh_OBJECTS) $(rsh_DEPENDENCIES) 
++	@rm -f rsh$(EXEEXT)
++	$(LINK) $(rsh_LDFLAGS) $(rsh_OBJECTS) $(rsh_LDADD) $(LIBS)
++rshd$(EXEEXT): $(rshd_OBJECTS) $(rshd_DEPENDENCIES) 
++	@rm -f rshd$(EXEEXT)
++	$(LINK) $(rshd_LDFLAGS) $(rshd_OBJECTS) $(rshd_LDADD) $(LIBS)
+ 
+-clean-compile:
++mostlyclean-compile:
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+-maintainer-clean-compile:
+-
+-mostlyclean-libtool:
+-	-rm -f *.lo
+-
+-clean-libtool:
+-	-rm -rf .libs _libs
+-
+-distclean-libtool:
+-
+-maintainer-clean-libtool:
+-
+-rsh$(EXEEXT): $(rsh_OBJECTS) $(rsh_DEPENDENCIES)
+-	@rm -f rsh$(EXEEXT)
+-	$(LINK) $(rsh_LDFLAGS) $(rsh_OBJECTS) $(rsh_LDADD) $(LIBS)
+-
+-rshd$(EXEEXT): $(rshd_OBJECTS) $(rshd_DEPENDENCIES)
+-	@rm -f rshd$(EXEEXT)
+-	$(LINK) $(rshd_LDFLAGS) $(rshd_OBJECTS) $(rshd_LDADD) $(LIBS)
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
++
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
++uninstall-info-am:
+ 
+-install-man1:
++man1dir = $(mandir)/man1
++install-man1: $(man1_MANS) $(man_MANS)
++	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(man1dir)
+-	@list='$(man1_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.1*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -428,10 +404,11 @@
+ 	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
+ 	  $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
+ 	done
+-
+ uninstall-man1:
+-	@list='$(man1_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@$(NORMAL_UNINSTALL)
++	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.1*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -445,10 +422,13 @@
+ 	  rm -f $(DESTDIR)$(man1dir)/$$inst; \
+ 	done
+ 
+-install-man8:
++man8dir = $(mandir)/man8
++install-man8: $(man8_MANS) $(man_MANS)
++	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(man8dir)
+-	@list='$(man8_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.8*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -463,10 +443,11 @@
+ 	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst"; \
+ 	  $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst; \
+ 	done
+-
+ uninstall-man8:
+-	@list='$(man8_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@$(NORMAL_UNINSTALL)
++	@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.8*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -479,12 +460,6 @@
+ 	  echo " rm -f $(DESTDIR)$(man8dir)/$$inst"; \
+ 	  rm -f $(DESTDIR)$(man8dir)/$$inst; \
+ 	done
+-install-man: $(MANS)
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-man1 install-man8
+-uninstall-man:
+-	@$(NORMAL_UNINSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) uninstall-man1 uninstall-man8
+ 
+ tags: TAGS
+ 
+@@ -513,22 +488,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -538,93 +514,98 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-install-exec-am: install-binPROGRAMS install-libexecPROGRAMS
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++all-am: Makefile $(PROGRAMS) $(MANS) all-local
+ 
+-install-data-am: install-man install-data-local
+-install-data: install-data-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(libexecdir) $(DESTDIR)$(man1dir) $(DESTDIR)$(man8dir)
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am: uninstall-binPROGRAMS uninstall-libexecPROGRAMS \
+-		uninstall-man
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(PROGRAMS) $(MANS) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(bindir) $(DESTDIR)$(libexecdir) \
+-		$(DESTDIR)$(mandir)/man1 $(DESTDIR)$(mandir)/man8
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-binPROGRAMS mostlyclean-libexecPROGRAMS \
+-		mostlyclean-compile mostlyclean-libtool \
+-		mostlyclean-tags mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-binPROGRAMS clean-generic clean-libexecPROGRAMS \
++	clean-libtool mostlyclean-am
+ 
+-clean-am:  clean-binPROGRAMS clean-libexecPROGRAMS clean-compile \
+-		clean-libtool clean-tags clean-generic mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-binPROGRAMS distclean-libexecPROGRAMS \
+-		distclean-compile distclean-libtool distclean-tags \
+-		distclean-generic clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-binPROGRAMS \
+-		maintainer-clean-libexecPROGRAMS \
+-		maintainer-clean-compile maintainer-clean-libtool \
+-		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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local install-man
++
++install-exec-am: install-binPROGRAMS install-libexecPROGRAMS
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man: install-man1 install-man8
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-am
+ 
+-.PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
+-maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
+-mostlyclean-libexecPROGRAMS distclean-libexecPROGRAMS \
+-clean-libexecPROGRAMS maintainer-clean-libexecPROGRAMS \
+-uninstall-libexecPROGRAMS install-libexecPROGRAMS mostlyclean-compile \
+-distclean-compile clean-compile maintainer-clean-compile \
+-mostlyclean-libtool distclean-libtool clean-libtool \
+-maintainer-clean-libtool install-man1 uninstall-man1 install-man8 \
+-uninstall-man8 install-man uninstall-man tags mostlyclean-tags \
+-distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
+-dvi-am dvi check-local check check-am installcheck-am installcheck \
+-install-exec-am install-exec install-data-local install-data-am \
+-install-data install-am install uninstall-am uninstall all-local \
+-all-redirect all-am all install-strip installdirs mostlyclean-generic \
+-distclean-generic clean-generic maintainer-clean-generic clean \
+-mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-binPROGRAMS uninstall-info-am \
++	uninstall-libexecPROGRAMS uninstall-man
++
++uninstall-man: uninstall-man1 uninstall-man8
++
++.PHONY: GTAGS all all-am all-local check check-am check-local clean \
++	clean-binPROGRAMS clean-generic clean-libexecPROGRAMS \
++	clean-libtool distclean distclean-compile distclean-generic \
++	distclean-libtool distclean-tags distdir dvi dvi-am info \
++	info-am install install-am install-binPROGRAMS install-data \
++	install-data-am install-data-local install-exec install-exec-am \
++	install-info install-info-am install-libexecPROGRAMS \
++	install-man install-man1 install-man8 install-strip \
++	installcheck installcheck-am installdirs maintainer-clean \
++	maintainer-clean-generic mostlyclean mostlyclean-compile \
++	mostlyclean-generic mostlyclean-libtool tags uninstall \
++	uninstall-am uninstall-binPROGRAMS uninstall-info-am \
++	uninstall-libexecPROGRAMS uninstall-man uninstall-man1 \
++	uninstall-man8
+ 
+ 
+ install-suid-programs:
+@@ -757,7 +738,6 @@
+ 
+ login_access.c:
+ 	$(LN_S) $(srcdir)/../login/login_access.c .
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/appl/su/Makefile.in heimdal-0.4e/appl/su/Makefile.in
+--- heimdal-0.4e-old/appl/su/Makefile.in	Thu Sep  6 22:25:16 2001
++++ heimdal-0.4e/appl/su/Makefile.in	Wed Nov 21 11:52:39 2001
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.7 2001/08/28 08:31:22 assar Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,9 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,6 +89,7 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+@@ -105,7 +109,6 @@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,20 +122,17 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+ 
+-# $Id: Makefile.am,v 1.7 2001/08/28 08:31:22 assar Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
+-
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+ SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+@@ -189,13 +189,12 @@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+@@ -212,113 +211,101 @@
+ 
+ subdir = appl/su
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../include/config.h
+-CONFIG_CLEAN_FILES = 
+-bin_PROGRAMS =  su$(EXEEXT)
+-PROGRAMS =  $(bin_PROGRAMS)
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++bin_PROGRAMS = su$(EXEEXT)
++PROGRAMS = $(bin_PROGRAMS)
+ 
++am_su_OBJECTS = su.$(OBJEXT)
++su_OBJECTS = $(am_su_OBJECTS)
++su_LDADD = $(LDADD)
++@KRB4_TRUE@su_DEPENDENCIES = $(top_builddir)/lib/kafs/libkafs.la \
++@KRB4_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la \
++@KRB4_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB4_FALSE@su_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
++@KRB4_FALSE@	$(top_builddir)/lib/asn1/libasn1.la
++su_LDFLAGS =
+ 
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../../include
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+-am_su_OBJECTS =  su.$(OBJEXT)
+-su_OBJECTS =  $(am_su_OBJECTS)
+-su_LDADD = $(LDADD)
+-@KRB4_FALSE@su_DEPENDENCIES =  $(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_FALSE@$(top_builddir)/lib/asn1/libasn1.la
+-@KRB4_TRUE@su_DEPENDENCIES =  $(top_builddir)/lib/kafs/libkafs.la \
+-@KRB4_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_TRUE@$(top_builddir)/lib/asn1/libasn1.la
+-su_LDFLAGS = 
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  $(su_SOURCES)
+-depcomp = 
+-DIST_COMMON =  ChangeLog Makefile.am Makefile.in
+-
+-
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+-
+-GZIP_ENV = --best
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++DIST_SOURCES = $(su_SOURCES)
++DIST_COMMON = ChangeLog Makefile.am Makefile.in
+ SOURCES = $(su_SOURCES)
+-OBJECTS = $(am_su_OBJECTS)
+ 
+-all: all-redirect
++all: all-am
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/su/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+ 
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-mostlyclean-binPROGRAMS:
+-
+-clean-binPROGRAMS:
+-	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
+-
+-distclean-binPROGRAMS:
+-
+-maintainer-clean-binPROGRAMS:
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  appl/su/Makefile
++Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ install-binPROGRAMS: $(bin_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(bindir)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  if test -f $$p; then \
+-	    f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f; \
++	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  if test -f $$p \
++	     || test -f $$p1 \
++	  ; then \
++	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-binPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+-mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
++clean-binPROGRAMS:
++	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
++su$(EXEEXT): $(su_OBJECTS) $(su_DEPENDENCIES) 
++	@rm -f su$(EXEEXT)
++	$(LINK) $(su_LDFLAGS) $(su_OBJECTS) $(su_LDADD) $(LIBS)
+ 
+-clean-compile:
++mostlyclean-compile:
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+-maintainer-clean-compile:
+-
+-mostlyclean-libtool:
+-	-rm -f *.lo
+-
+-clean-libtool:
+-	-rm -rf .libs _libs
+-
+-distclean-libtool:
+-
+-maintainer-clean-libtool:
+-
+-su$(EXEEXT): $(su_OBJECTS) $(su_DEPENDENCIES)
+-	@rm -f su$(EXEEXT)
+-	$(LINK) $(su_LDFLAGS) $(su_OBJECTS) $(su_LDADD) $(LIBS)
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
++
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
++uninstall-info-am:
+ 
+ tags: TAGS
+ 
+@@ -347,22 +334,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -372,85 +360,91 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-install-exec-am: install-binPROGRAMS
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++all-am: Makefile $(PROGRAMS) all-local
+ 
+-install-data-am: install-data-local
+-install-data: install-data-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(bindir)
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am: uninstall-binPROGRAMS
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(PROGRAMS) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(bindir)
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-binPROGRAMS mostlyclean-compile \
+-		mostlyclean-libtool mostlyclean-tags \
+-		mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am
+ 
+-clean-am:  clean-binPROGRAMS clean-compile clean-libtool clean-tags \
+-		clean-generic mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-binPROGRAMS distclean-compile distclean-libtool \
+-		distclean-tags distclean-generic clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-binPROGRAMS \
+-		maintainer-clean-compile maintainer-clean-libtool \
+-		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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local
++
++install-exec-am: install-binPROGRAMS
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man:
++
++installcheck-am:
+ 
+ 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 mostlyclean-libtool distclean-libtool \
+-clean-libtool maintainer-clean-libtool tags mostlyclean-tags \
+-distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
+-dvi-am dvi check-local check check-am installcheck-am installcheck \
+-install-exec-am install-exec install-data-local install-data-am \
+-install-data install-am install uninstall-am uninstall all-local \
+-all-redirect all-am all install-strip installdirs mostlyclean-generic \
+-distclean-generic clean-generic maintainer-clean-generic clean \
+-mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-binPROGRAMS uninstall-info-am
++
++.PHONY: GTAGS all all-am all-local check check-am check-local clean \
++	clean-binPROGRAMS clean-generic clean-libtool distclean \
++	distclean-compile distclean-generic distclean-libtool \
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-binPROGRAMS install-data install-data-am \
++	install-data-local install-exec install-exec-am install-info \
++	install-info-am install-man install-strip installcheck \
++	installcheck-am installdirs maintainer-clean \
++	maintainer-clean-generic mostlyclean mostlyclean-compile \
++	mostlyclean-generic mostlyclean-libtool tags uninstall \
++	uninstall-am uninstall-binPROGRAMS uninstall-info-am
+ 
+ 
+ install-suid-programs:
+@@ -580,7 +574,6 @@
+ 	  echo "$$dashes"; \
+ 	  test "$$failed" -eq 0; \
+ 	fi
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/appl/telnet/Makefile.in heimdal-0.4e/appl/telnet/Makefile.in
+--- heimdal-0.4e-old/appl/telnet/Makefile.in	Thu Sep  6 22:25:23 2001
++++ heimdal-0.4e/appl/telnet/Makefile.in	Wed Nov 21 11:52:39 2001
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.6 1999/03/20 13:58:15 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,9 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,6 +89,7 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+@@ -105,7 +109,6 @@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,20 +122,17 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+ 
+-# $Id: Makefile.am,v 1.6 1999/03/20 13:58:15 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
+-
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+ SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+@@ -189,13 +189,12 @@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+@@ -204,32 +203,46 @@
+ EXTRA_DIST = README.ORIG telnet.state
+ subdir = appl/telnet
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../include/config.h
+-CONFIG_CLEAN_FILES = 
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++depcomp =
+ CFLAGS = @CFLAGS@
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES = 
+-depcomp = 
+-DIST_COMMON =  ChangeLog Makefile.am Makefile.in
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++DIST_SOURCES =
++
++RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \
++	uninstall-info-recursive all-recursive install-data-recursive \
++	install-exec-recursive installdirs-recursive install-recursive \
++	uninstall-recursive check-recursive installcheck-recursive
++DIST_COMMON = ChangeLog Makefile.am Makefile.in
++DIST_SUBDIRS = $(SUBDIRS)
++all: all-recursive
+ 
++.SUFFIXES:
++.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c
+ 
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-GZIP_ENV = --best
+-DIST_SUBDIRS =  $(SUBDIRS)
+-all: all-redirect
+-.SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/telnet/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  appl/telnet/Makefile
++Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
++uninstall-info-am:
+ 
+ # This directory's subdirectories are mostly independent; you can cd
+ # into them and run `make' without going through this Makefile.
+@@ -237,10 +250,7 @@
+ # (1) if the variable is set in `config.status', edit `config.status'
+ #     (which will cause the Makefiles to be regenerated when you run `make');
+ # (2) otherwise, pass the desired values on the `make' command line.
+-
+-all-recursive install-data-recursive install-exec-recursive \
+-installdirs-recursive install-recursive uninstall-recursive  \
+-check-recursive installcheck-recursive info-recursive dvi-recursive:
++$(RECURSIVE_TARGETS):
+ 	@set fnord $(MAKEFLAGS); amf=$$2; \
+ 	dot_seen=no; \
+ 	target=`echo $@ | sed s/-recursive//`; \
+@@ -305,9 +315,9 @@
+ 	tags=; \
+ 	here=`pwd`; \
+ 	list='$(SUBDIRS)'; for subdir in $$list; do \
+-   if test "$$subdir" = .; then :; else \
++	  if test "$$subdir" = .; then :; else \
+ 	    test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
+-   fi; \
++	  fi; \
+ 	done; \
+ 	list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
+ 	unique=`for i in $$list; do \
+@@ -321,22 +331,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -351,84 +362,103 @@
+ 	    test -d $(distdir)/$$subdir \
+ 	    || mkdir $(distdir)/$$subdir \
+ 	    || exit 1; \
+-	    (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \
++	    (cd $$subdir && \
++	      $(MAKE) $(AM_MAKEFLAGS) \
++	        top_distdir="$(top_distdir)" \
++	        distdir=../$(distdir)/$$subdir \
++	        distdir) \
+ 	      || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-recursive
+-dvi-am:
+-dvi: dvi-recursive
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-recursive
+-installcheck-am:
+-installcheck: installcheck-recursive
+-install-exec-am:
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-recursive
++all-am: Makefile all-local
++installdirs: installdirs-recursive
++installdirs-am:
+ 
+-install-data-am: install-data-local
++install: install-recursive
++install-exec: install-exec-recursive
+ install-data: install-data-recursive
++uninstall: uninstall-recursive
+ 
+ install-am: all-am
+ 	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+-install: install-recursive
+-uninstall-am:
+-uninstall: uninstall-recursive
+-all-am: Makefile all-local
+-all-redirect: all-recursive
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs: installdirs-recursive
+-installdirs-am:
+-
+ 
++installcheck: installcheck-recursive
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-tags mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-recursive
+ 
+-mostlyclean: mostlyclean-recursive
++clean-am: clean-generic clean-libtool mostlyclean-am
+ 
+-clean-am:  clean-tags clean-generic mostlyclean-am
++distclean: distclean-recursive
+ 
+-clean: clean-recursive
++distclean-am: clean-am distclean-generic distclean-libtool \
++	distclean-tags
+ 
+-distclean-am:  distclean-tags distclean-generic clean-am
+-	-rm -f libtool
++dvi: dvi-recursive
+ 
+-distclean: distclean-recursive
++dvi-am:
+ 
+-maintainer-clean-am:  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."
++info: info-recursive
++
++info-am:
++
++install-data-am: install-data-local
++
++install-exec-am:
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-recursive
++
++install-man:
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-recursive
+ 
+-.PHONY: install-recursive uninstall-recursive install-data-recursive \
+-uninstall-data-recursive install-exec-recursive \
+-uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
+-all-recursive check-recursive installcheck-recursive info-recursive \
+-dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
+-maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
+-distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
+-dvi-am dvi check-local check check-am installcheck-am installcheck \
+-install-exec-am install-exec install-data-local install-data-am \
+-install-data install-am install uninstall-am uninstall all-local \
+-all-redirect all-am all install-strip installdirs-am installdirs \
+-mostlyclean-generic distclean-generic clean-generic \
+-maintainer-clean-generic clean mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-recursive
++
++mostlyclean-am: mostlyclean-generic mostlyclean-libtool
++
++uninstall-am: uninstall-info-am
++
++uninstall-info: uninstall-info-recursive
++
++.PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am all-local check check-am \
++	check-local clean clean-generic clean-libtool clean-recursive \
++	distclean distclean-generic distclean-libtool \
++	distclean-recursive distclean-tags distdir dvi dvi-am \
++	dvi-recursive info info-am info-recursive install install-am \
++	install-data install-data-am install-data-local \
++	install-data-recursive install-exec install-exec-am \
++	install-exec-recursive install-info install-info-am \
++	install-info-recursive install-man install-recursive \
++	install-strip installcheck installcheck-am installdirs \
++	installdirs-am installdirs-recursive maintainer-clean \
++	maintainer-clean-generic maintainer-clean-recursive mostlyclean \
++	mostlyclean-generic mostlyclean-libtool mostlyclean-recursive \
++	tags tags-recursive uninstall uninstall-am uninstall-info-am \
++	uninstall-info-recursive uninstall-recursive
+ 
+ 
+ install-suid-programs:
+@@ -562,7 +592,6 @@
+ dist-hook:
+ 	$(mkinstalldirs) $(distdir)/arpa
+ 	$(INSTALL_DATA) $(srcdir)/arpa/telnet.h $(distdir)/arpa
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/appl/telnet/libtelnet/Makefile.in heimdal-0.4e/appl/telnet/libtelnet/Makefile.in
+--- heimdal-0.4e-old/appl/telnet/libtelnet/Makefile.in	Thu Sep  6 22:25:25 2001
++++ heimdal-0.4e/appl/telnet/libtelnet/Makefile.in	Wed Nov 21 11:52:40 2001
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.9 2001/08/28 08:31:23 assar Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,9 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,6 +89,7 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+@@ -105,7 +109,6 @@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,20 +122,17 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+ 
+-# $Id: Makefile.am,v 1.9 2001/08/28 08:31:23 assar Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
+-
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+ SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+@@ -189,13 +189,12 @@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+@@ -220,71 +219,38 @@
+ EXTRA_DIST = krb4encpwd.c rsaencpwd.c spx.c
+ subdir = appl/telnet/libtelnet
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../../include/config.h
+-CONFIG_CLEAN_FILES = 
+-LIBRARIES =  $(noinst_LIBRARIES)
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++LIBRARIES = $(noinst_LIBRARIES)
+ 
++libtelnet_a_AR = $(AR) cru
++libtelnet_a_LIBADD =
++am_libtelnet_a_OBJECTS = auth.$(OBJEXT) enc_des.$(OBJEXT) \
++	encrypt.$(OBJEXT) genget.$(OBJEXT) kerberos.$(OBJEXT) \
++	kerberos5.$(OBJEXT) misc.$(OBJEXT)
++libtelnet_a_OBJECTS = $(am_libtelnet_a_OBJECTS)
+ 
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../../../include
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+-libtelnet_a_AR = $(AR) cru
+-libtelnet_a_LIBADD = 
+-am_libtelnet_a_OBJECTS =  auth.$(OBJEXT) enc_des.$(OBJEXT) \
+-encrypt.$(OBJEXT) genget.$(OBJEXT) kerberos.$(OBJEXT) \
+-kerberos5.$(OBJEXT) misc.$(OBJEXT)
+-libtelnet_a_OBJECTS =  $(am_libtelnet_a_OBJECTS)
+-AR = ar
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  $(libtelnet_a_SOURCES)
+-depcomp = 
+-DIST_COMMON =  Makefile.am Makefile.in
+-
+-
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+-
+-GZIP_ENV = --best
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++DIST_SOURCES = $(libtelnet_a_SOURCES)
++DIST_COMMON = Makefile.am Makefile.in
+ SOURCES = $(libtelnet_a_SOURCES)
+-OBJECTS = $(am_libtelnet_a_OBJECTS)
+ 
+-all: all-redirect
++all: all-am
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/telnet/libtelnet/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+-
+-
+-mostlyclean-noinstLIBRARIES:
+-
+-clean-noinstLIBRARIES:
+-	-test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
+-
+-distclean-noinstLIBRARIES:
+-
+-maintainer-clean-noinstLIBRARIES:
+-
+-mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
+-
+-clean-compile:
+-
+-distclean-compile:
+-	-rm -f *.tab.c
+-
+-maintainer-clean-compile:
+ 
+ mostlyclean-libtool:
+ 	-rm -f *.lo
+@@ -293,19 +259,39 @@
+ 	-rm -rf .libs _libs
+ 
+ distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  appl/telnet/libtelnet/Makefile
++Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ 
+-maintainer-clean-libtool:
++AR = ar
+ 
+-libtelnet.a: $(libtelnet_a_OBJECTS) $(libtelnet_a_DEPENDENCIES)
++clean-noinstLIBRARIES:
++	-test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
++libtelnet.a: $(libtelnet_a_OBJECTS) $(libtelnet_a_DEPENDENCIES) 
+ 	-rm -f libtelnet.a
+ 	$(libtelnet_a_AR) libtelnet.a $(libtelnet_a_OBJECTS) $(libtelnet_a_LIBADD)
+ 	$(RANLIB) libtelnet.a
++
++mostlyclean-compile:
++	-rm -f *.$(OBJEXT) core *.core
++
++distclean-compile:
++	-rm -f *.tab.c
++
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
++
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
++uninstall-info-am:
+ 
+ tags: TAGS
+ 
+@@ -334,22 +320,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ../../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -359,85 +346,91 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-install-exec-am:
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++all-am: Makefile $(LIBRARIES) all-local
+ 
+-install-data-am: install-data-local
+-install-data: install-data-am
++installdirs:
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am:
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(LIBRARIES) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-noinstLIBRARIES mostlyclean-compile \
+-		mostlyclean-libtool mostlyclean-tags \
+-		mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-generic clean-libtool clean-noinstLIBRARIES \
++	mostlyclean-am
+ 
+-clean-am:  clean-noinstLIBRARIES clean-compile clean-libtool clean-tags \
+-		clean-generic mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-noinstLIBRARIES distclean-compile \
+-		distclean-libtool distclean-tags distclean-generic \
+-		clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-noinstLIBRARIES \
+-		maintainer-clean-compile maintainer-clean-libtool \
+-		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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local
++
++install-exec-am:
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man:
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-am
+ 
+-.PHONY: mostlyclean-noinstLIBRARIES distclean-noinstLIBRARIES \
+-clean-noinstLIBRARIES maintainer-clean-noinstLIBRARIES \
+-mostlyclean-compile distclean-compile clean-compile \
+-maintainer-clean-compile mostlyclean-libtool distclean-libtool \
+-clean-libtool maintainer-clean-libtool tags mostlyclean-tags \
+-distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
+-dvi-am dvi check-local check check-am installcheck-am installcheck \
+-install-exec-am install-exec install-data-local install-data-am \
+-install-data install-am install uninstall-am uninstall all-local \
+-all-redirect all-am all install-strip installdirs mostlyclean-generic \
+-distclean-generic clean-generic maintainer-clean-generic clean \
+-mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-info-am
++
++.PHONY: GTAGS all all-am all-local check check-am check-local clean \
++	clean-generic clean-libtool clean-noinstLIBRARIES distclean \
++	distclean-compile distclean-generic distclean-libtool \
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-data install-data-am install-data-local \
++	install-exec install-exec-am install-info install-info-am \
++	install-man install-strip installcheck installcheck-am \
++	installdirs maintainer-clean maintainer-clean-generic \
++	mostlyclean mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool tags uninstall uninstall-am \
++	uninstall-info-am
+ 
+ 
+ install-suid-programs:
+@@ -567,7 +560,6 @@
+ 	  echo "$$dashes"; \
+ 	  test "$$failed" -eq 0; \
+ 	fi
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/appl/telnet/telnet/Makefile.in heimdal-0.4e/appl/telnet/telnet/Makefile.in
+--- heimdal-0.4e-old/appl/telnet/telnet/Makefile.in	Thu Sep  6 22:25:29 2001
++++ heimdal-0.4e/appl/telnet/telnet/Makefile.in	Wed Nov 21 11:52:40 2001
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.16 2001/08/28 11:21:16 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,9 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,6 +89,7 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+@@ -105,7 +109,6 @@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,20 +122,17 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+ 
+-# $Id: Makefile.am,v 1.16 2001/08/28 11:21:16 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
+-
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+ SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+@@ -189,13 +189,12 @@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = 
+ 
+@@ -218,127 +217,117 @@
+ 
+ subdir = appl/telnet/telnet
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../../include/config.h
+-CONFIG_CLEAN_FILES = 
+-bin_PROGRAMS =  telnet$(EXEEXT)
+-PROGRAMS =  $(bin_PROGRAMS)
+-
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++bin_PROGRAMS = telnet$(EXEEXT)
++PROGRAMS = $(bin_PROGRAMS)
++
++am_telnet_OBJECTS = authenc.$(OBJEXT) commands.$(OBJEXT) main.$(OBJEXT) \
++	network.$(OBJEXT) ring.$(OBJEXT) sys_bsd.$(OBJEXT) \
++	telnet.$(OBJEXT) terminal.$(OBJEXT) utilities.$(OBJEXT)
++telnet_OBJECTS = $(am_telnet_OBJECTS)
++telnet_LDADD = $(LDADD)
++@DCE_FALSE@@KRB5_TRUE@telnet_DEPENDENCIES = ../libtelnet/libtelnet.a \
++@DCE_FALSE@@KRB5_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la
++@DCE_FALSE@@KRB5_FALSE@telnet_DEPENDENCIES = ../libtelnet/libtelnet.a
++@DCE_TRUE@@KRB5_TRUE@telnet_DEPENDENCIES = ../libtelnet/libtelnet.a \
++@DCE_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la \
++@DCE_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@@KRB5_FALSE@telnet_DEPENDENCIES = ../libtelnet/libtelnet.a \
++@DCE_TRUE@@KRB5_FALSE@	$(top_builddir)/lib/kdfs/libkdfs.la
++telnet_LDFLAGS =
+ 
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../../../include
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+-am_telnet_OBJECTS =  authenc.$(OBJEXT) commands.$(OBJEXT) main.$(OBJEXT) \
+-network.$(OBJEXT) ring.$(OBJEXT) sys_bsd.$(OBJEXT) telnet.$(OBJEXT) \
+-terminal.$(OBJEXT) utilities.$(OBJEXT)
+-telnet_OBJECTS =  $(am_telnet_OBJECTS)
+-telnet_LDADD = $(LDADD)
+-@DCE_FALSE@@KRB5_FALSE@telnet_DEPENDENCIES =  ../libtelnet/libtelnet.a
+-@DCE_FALSE@@KRB5_TRUE@telnet_DEPENDENCIES =  ../libtelnet/libtelnet.a \
+-@DCE_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@DCE_FALSE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
+-@DCE_TRUE@@KRB5_FALSE@telnet_DEPENDENCIES =  ../libtelnet/libtelnet.a \
+-@DCE_TRUE@@KRB5_FALSE@$(top_builddir)/lib/kdfs/libkdfs.la
+-@DCE_TRUE@@KRB5_TRUE@telnet_DEPENDENCIES =  ../libtelnet/libtelnet.a \
+-@DCE_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@DCE_TRUE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la \
+-@DCE_TRUE@@KRB5_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+-telnet_LDFLAGS = 
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  $(telnet_SOURCES)
+-man1dir = $(mandir)/man1
+-MANS = $(man_MANS)
+-depcomp = 
+-DIST_COMMON =  Makefile.am Makefile.in
+-
+-
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++DIST_SOURCES = $(telnet_SOURCES)
+ 
+-GZIP_ENV = --best
++NROFF = nroff
++MANS = $(man_MANS)
++DIST_COMMON = Makefile.am Makefile.in
+ SOURCES = $(telnet_SOURCES)
+-OBJECTS = $(am_telnet_OBJECTS)
+ 
+-all: all-redirect
++all: all-am
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/telnet/telnet/Makefile
+ 
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+-
+-
+-mostlyclean-binPROGRAMS:
+-
+-clean-binPROGRAMS:
+-	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
+-
+-distclean-binPROGRAMS:
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-maintainer-clean-binPROGRAMS:
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  appl/telnet/telnet/Makefile
++Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ install-binPROGRAMS: $(bin_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(bindir)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  if test -f $$p; then \
+-	    f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f; \
++	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  if test -f $$p \
++	     || test -f $$p1 \
++	  ; then \
++	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-binPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+-mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
++clean-binPROGRAMS:
++	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
++telnet$(EXEEXT): $(telnet_OBJECTS) $(telnet_DEPENDENCIES) 
++	@rm -f telnet$(EXEEXT)
++	$(LINK) $(telnet_LDFLAGS) $(telnet_OBJECTS) $(telnet_LDADD) $(LIBS)
+ 
+-clean-compile:
++mostlyclean-compile:
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+-maintainer-clean-compile:
+-
+-mostlyclean-libtool:
+-	-rm -f *.lo
+-
+-clean-libtool:
+-	-rm -rf .libs _libs
+-
+-distclean-libtool:
+-
+-maintainer-clean-libtool:
+-
+-telnet$(EXEEXT): $(telnet_OBJECTS) $(telnet_DEPENDENCIES)
+-	@rm -f telnet$(EXEEXT)
+-	$(LINK) $(telnet_LDFLAGS) $(telnet_OBJECTS) $(telnet_LDADD) $(LIBS)
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
++
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
++uninstall-info-am:
+ 
+-install-man1:
++man1dir = $(mandir)/man1
++install-man1: $(man1_MANS) $(man_MANS)
++	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(man1dir)
+-	@list='$(man1_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.1*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -353,10 +342,11 @@
+ 	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
+ 	  $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
+ 	done
+-
+ uninstall-man1:
+-	@list='$(man1_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@$(NORMAL_UNINSTALL)
++	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.1*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -369,12 +359,6 @@
+ 	  echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
+ 	  rm -f $(DESTDIR)$(man1dir)/$$inst; \
+ 	done
+-install-man: $(MANS)
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-man1
+-uninstall-man:
+-	@$(NORMAL_UNINSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) uninstall-man1
+ 
+ tags: TAGS
+ 
+@@ -403,22 +387,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ../../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -428,86 +413,94 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-install-exec-am: install-binPROGRAMS
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++all-am: Makefile $(PROGRAMS) $(MANS) all-local
+ 
+-install-data-am: install-man install-data-local
+-install-data: install-data-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(man1dir)
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am: uninstall-binPROGRAMS uninstall-man
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(PROGRAMS) $(MANS) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-binPROGRAMS mostlyclean-compile \
+-		mostlyclean-libtool mostlyclean-tags \
+-		mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am
+ 
+-clean-am:  clean-binPROGRAMS clean-compile clean-libtool clean-tags \
+-		clean-generic mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-binPROGRAMS distclean-compile distclean-libtool \
+-		distclean-tags distclean-generic clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-binPROGRAMS \
+-		maintainer-clean-compile maintainer-clean-libtool \
+-		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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local install-man
++
++install-exec-am: install-binPROGRAMS
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man: install-man1
++
++installcheck-am:
+ 
+ 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 mostlyclean-libtool distclean-libtool \
+-clean-libtool maintainer-clean-libtool install-man1 uninstall-man1 \
+-install-man uninstall-man tags mostlyclean-tags distclean-tags \
+-clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi \
+-check-local check check-am installcheck-am installcheck install-exec-am \
+-install-exec install-data-local install-data-am install-data install-am \
+-install uninstall-am uninstall all-local all-redirect all-am all \
+-install-strip installdirs mostlyclean-generic distclean-generic \
+-clean-generic maintainer-clean-generic clean mostlyclean distclean \
+-maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-binPROGRAMS uninstall-info-am uninstall-man
++
++uninstall-man: uninstall-man1
++
++.PHONY: GTAGS all all-am all-local check check-am check-local clean \
++	clean-binPROGRAMS clean-generic clean-libtool distclean \
++	distclean-compile distclean-generic distclean-libtool \
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-binPROGRAMS install-data install-data-am \
++	install-data-local install-exec install-exec-am install-info \
++	install-info-am install-man install-man1 install-strip \
++	installcheck installcheck-am installdirs maintainer-clean \
++	maintainer-clean-generic mostlyclean mostlyclean-compile \
++	mostlyclean-generic mostlyclean-libtool tags uninstall \
++	uninstall-am uninstall-binPROGRAMS uninstall-info-am \
++	uninstall-man uninstall-man1
+ 
+ 
+ install-suid-programs:
+@@ -637,7 +630,6 @@
+ 	  echo "$$dashes"; \
+ 	  test "$$failed" -eq 0; \
+ 	fi
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/appl/telnet/telnetd/Makefile.in heimdal-0.4e/appl/telnet/telnetd/Makefile.in
+--- heimdal-0.4e-old/appl/telnet/telnetd/Makefile.in	Thu Sep  6 22:25:33 2001
++++ heimdal-0.4e/appl/telnet/telnetd/Makefile.in	Wed Nov 21 11:52:40 2001
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.18 2001/08/28 11:21:17 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,9 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,6 +89,7 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+@@ -105,7 +109,6 @@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,20 +122,17 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+ 
+-# $Id: Makefile.am,v 1.18 2001/08/28 11:21:17 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
+-
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+ SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+@@ -189,13 +189,12 @@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = 
+ 
+@@ -221,127 +220,117 @@
+ 
+ subdir = appl/telnet/telnetd
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../../include/config.h
+-CONFIG_CLEAN_FILES = 
+-libexec_PROGRAMS =  telnetd$(EXEEXT)
+-PROGRAMS =  $(libexec_PROGRAMS)
+-
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++libexec_PROGRAMS = telnetd$(EXEEXT)
++PROGRAMS = $(libexec_PROGRAMS)
++
++am_telnetd_OBJECTS = telnetd.$(OBJEXT) state.$(OBJEXT) \
++	termstat.$(OBJEXT) slc.$(OBJEXT) sys_term.$(OBJEXT) \
++	utility.$(OBJEXT) global.$(OBJEXT) authenc.$(OBJEXT)
++telnetd_OBJECTS = $(am_telnetd_OBJECTS)
++telnetd_LDADD = $(LDADD)
++@DCE_FALSE@@KRB5_TRUE@telnetd_DEPENDENCIES = ../libtelnet/libtelnet.a \
++@DCE_FALSE@@KRB5_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la
++@DCE_FALSE@@KRB5_FALSE@telnetd_DEPENDENCIES = ../libtelnet/libtelnet.a
++@DCE_TRUE@@KRB5_TRUE@telnetd_DEPENDENCIES = ../libtelnet/libtelnet.a \
++@DCE_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la \
++@DCE_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@@KRB5_FALSE@telnetd_DEPENDENCIES = ../libtelnet/libtelnet.a \
++@DCE_TRUE@@KRB5_FALSE@	$(top_builddir)/lib/kdfs/libkdfs.la
++telnetd_LDFLAGS =
+ 
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../../../include
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+-am_telnetd_OBJECTS =  telnetd.$(OBJEXT) state.$(OBJEXT) \
+-termstat.$(OBJEXT) slc.$(OBJEXT) sys_term.$(OBJEXT) utility.$(OBJEXT) \
+-global.$(OBJEXT) authenc.$(OBJEXT)
+-telnetd_OBJECTS =  $(am_telnetd_OBJECTS)
+-telnetd_LDADD = $(LDADD)
+-@DCE_FALSE@@KRB5_FALSE@telnetd_DEPENDENCIES =  ../libtelnet/libtelnet.a
+-@DCE_FALSE@@KRB5_TRUE@telnetd_DEPENDENCIES =  ../libtelnet/libtelnet.a \
+-@DCE_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@DCE_FALSE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
+-@DCE_TRUE@@KRB5_FALSE@telnetd_DEPENDENCIES =  ../libtelnet/libtelnet.a \
+-@DCE_TRUE@@KRB5_FALSE@$(top_builddir)/lib/kdfs/libkdfs.la
+-@DCE_TRUE@@KRB5_TRUE@telnetd_DEPENDENCIES =  ../libtelnet/libtelnet.a \
+-@DCE_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@DCE_TRUE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la \
+-@DCE_TRUE@@KRB5_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+-telnetd_LDFLAGS = 
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  $(telnetd_SOURCES)
+-man8dir = $(mandir)/man8
+-MANS = $(man_MANS)
+-depcomp = 
+-DIST_COMMON =  Makefile.am Makefile.in
+-
+-
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++DIST_SOURCES = $(telnetd_SOURCES)
+ 
+-GZIP_ENV = --best
++NROFF = nroff
++MANS = $(man_MANS)
++DIST_COMMON = Makefile.am Makefile.in
+ SOURCES = $(telnetd_SOURCES)
+-OBJECTS = $(am_telnetd_OBJECTS)
+ 
+-all: all-redirect
++all: all-am
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/telnet/telnetd/Makefile
+ 
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+-
+-
+-mostlyclean-libexecPROGRAMS:
+-
+-clean-libexecPROGRAMS:
+-	-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
+-
+-distclean-libexecPROGRAMS:
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-maintainer-clean-libexecPROGRAMS:
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  appl/telnet/telnetd/Makefile
++Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ install-libexecPROGRAMS: $(libexec_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(libexecdir)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+-	  if test -f $$p; then \
+-	    f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libexecdir)/$$f"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libexecdir)/$$f; \
++	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  if test -f $$p \
++	     || test -f $$p1 \
++	  ; then \
++	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-libexecPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+-	  f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(libexecdir)/$$f; \
+ 	done
+ 
+-mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
++clean-libexecPROGRAMS:
++	-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
++telnetd$(EXEEXT): $(telnetd_OBJECTS) $(telnetd_DEPENDENCIES) 
++	@rm -f telnetd$(EXEEXT)
++	$(LINK) $(telnetd_LDFLAGS) $(telnetd_OBJECTS) $(telnetd_LDADD) $(LIBS)
+ 
+-clean-compile:
++mostlyclean-compile:
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+-maintainer-clean-compile:
+-
+-mostlyclean-libtool:
+-	-rm -f *.lo
+-
+-clean-libtool:
+-	-rm -rf .libs _libs
+-
+-distclean-libtool:
+-
+-maintainer-clean-libtool:
+-
+-telnetd$(EXEEXT): $(telnetd_OBJECTS) $(telnetd_DEPENDENCIES)
+-	@rm -f telnetd$(EXEEXT)
+-	$(LINK) $(telnetd_LDFLAGS) $(telnetd_OBJECTS) $(telnetd_LDADD) $(LIBS)
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
++
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
++uninstall-info-am:
+ 
+-install-man8:
++man8dir = $(mandir)/man8
++install-man8: $(man8_MANS) $(man_MANS)
++	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(man8dir)
+-	@list='$(man8_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.8*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -356,10 +345,11 @@
+ 	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst"; \
+ 	  $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst; \
+ 	done
+-
+ uninstall-man8:
+-	@list='$(man8_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@$(NORMAL_UNINSTALL)
++	@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.8*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -372,12 +362,6 @@
+ 	  echo " rm -f $(DESTDIR)$(man8dir)/$$inst"; \
+ 	  rm -f $(DESTDIR)$(man8dir)/$$inst; \
+ 	done
+-install-man: $(MANS)
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-man8
+-uninstall-man:
+-	@$(NORMAL_UNINSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) uninstall-man8
+ 
+ tags: TAGS
+ 
+@@ -406,22 +390,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ../../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -431,87 +416,95 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-install-exec-am: install-libexecPROGRAMS
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++all-am: Makefile $(PROGRAMS) $(MANS) all-local
+ 
+-install-data-am: install-man install-data-local
+-install-data: install-data-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(libexecdir) $(DESTDIR)$(man8dir)
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am: uninstall-libexecPROGRAMS uninstall-man
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(PROGRAMS) $(MANS) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(libexecdir) $(DESTDIR)$(mandir)/man8
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-libexecPROGRAMS mostlyclean-compile \
+-		mostlyclean-libtool mostlyclean-tags \
+-		mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-generic clean-libexecPROGRAMS clean-libtool \
++	mostlyclean-am
+ 
+-clean-am:  clean-libexecPROGRAMS clean-compile clean-libtool clean-tags \
+-		clean-generic mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-libexecPROGRAMS distclean-compile \
+-		distclean-libtool distclean-tags distclean-generic \
+-		clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-libexecPROGRAMS \
+-		maintainer-clean-compile maintainer-clean-libtool \
+-		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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local install-man
++
++install-exec-am: install-libexecPROGRAMS
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man: install-man8
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-am
+ 
+-.PHONY: mostlyclean-libexecPROGRAMS distclean-libexecPROGRAMS \
+-clean-libexecPROGRAMS maintainer-clean-libexecPROGRAMS \
+-uninstall-libexecPROGRAMS install-libexecPROGRAMS mostlyclean-compile \
+-distclean-compile clean-compile maintainer-clean-compile \
+-mostlyclean-libtool distclean-libtool clean-libtool \
+-maintainer-clean-libtool install-man8 uninstall-man8 install-man \
+-uninstall-man tags mostlyclean-tags distclean-tags clean-tags \
+-maintainer-clean-tags distdir info-am info dvi-am dvi check-local check \
+-check-am installcheck-am installcheck install-exec-am install-exec \
+-install-data-local install-data-am install-data install-am install \
+-uninstall-am uninstall all-local all-redirect all-am all install-strip \
+-installdirs mostlyclean-generic distclean-generic clean-generic \
+-maintainer-clean-generic clean mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-info-am uninstall-libexecPROGRAMS uninstall-man
++
++uninstall-man: uninstall-man8
++
++.PHONY: GTAGS all all-am all-local check check-am check-local clean \
++	clean-generic clean-libexecPROGRAMS clean-libtool distclean \
++	distclean-compile distclean-generic distclean-libtool \
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-data install-data-am install-data-local \
++	install-exec install-exec-am install-info install-info-am \
++	install-libexecPROGRAMS install-man install-man8 install-strip \
++	installcheck installcheck-am installdirs maintainer-clean \
++	maintainer-clean-generic mostlyclean mostlyclean-compile \
++	mostlyclean-generic mostlyclean-libtool tags uninstall \
++	uninstall-am uninstall-info-am uninstall-libexecPROGRAMS \
++	uninstall-man uninstall-man8
+ 
+ 
+ install-suid-programs:
+@@ -641,7 +634,6 @@
+ 	  echo "$$dashes"; \
+ 	  test "$$failed" -eq 0; \
+ 	fi
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/appl/test/Makefile.in heimdal-0.4e/appl/test/Makefile.in
+--- heimdal-0.4e-old/appl/test/Makefile.in	Thu Sep  6 22:25:38 2001
++++ heimdal-0.4e/appl/test/Makefile.in	Wed Nov 21 11:52:40 2001
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.14 2000/11/15 22:51:11 assar Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,9 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,6 +89,7 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+@@ -105,7 +109,6 @@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,20 +122,17 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+ 
+-# $Id: Makefile.am,v 1.14 2000/11/15 22:51:11 assar Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
+-
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+ SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+@@ -189,13 +189,12 @@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+@@ -238,117 +237,91 @@
+ 
+ subdir = appl/test
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../include/config.h
+-CONFIG_CLEAN_FILES = 
+-noinst_PROGRAMS =  tcp_client$(EXEEXT) tcp_server$(EXEEXT) \
+-gssapi_server$(EXEEXT) gssapi_client$(EXEEXT) uu_server$(EXEEXT) \
+-uu_client$(EXEEXT) nt_gss_server$(EXEEXT) nt_gss_client$(EXEEXT)
+-PROGRAMS =  $(noinst_PROGRAMS)
+-
+-
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../../include
+-CPPFLAGS = @CPPFLAGS@
+-LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+-am_gssapi_client_OBJECTS =  gssapi_client.$(OBJEXT) gss_common.$(OBJEXT) \
+-common.$(OBJEXT)
+-gssapi_client_OBJECTS =  $(am_gssapi_client_OBJECTS)
+-gssapi_client_DEPENDENCIES =  $(top_builddir)/lib/gssapi/libgssapi.la \
+-$(top_builddir)/lib/krb5/libkrb5.la $(top_builddir)/lib/asn1/libasn1.la
+-gssapi_client_LDFLAGS = 
+-am_gssapi_server_OBJECTS =  gssapi_server.$(OBJEXT) gss_common.$(OBJEXT) \
+-common.$(OBJEXT)
+-gssapi_server_OBJECTS =  $(am_gssapi_server_OBJECTS)
+-gssapi_server_DEPENDENCIES =  $(top_builddir)/lib/gssapi/libgssapi.la \
+-$(top_builddir)/lib/krb5/libkrb5.la $(top_builddir)/lib/asn1/libasn1.la
+-gssapi_server_LDFLAGS = 
+-am_nt_gss_client_OBJECTS =  nt_gss_client.$(OBJEXT) \
+-nt_gss_common.$(OBJEXT) common.$(OBJEXT)
+-nt_gss_client_OBJECTS =  $(am_nt_gss_client_OBJECTS)
+-nt_gss_client_DEPENDENCIES =  $(top_builddir)/lib/gssapi/libgssapi.la \
+-$(top_builddir)/lib/krb5/libkrb5.la $(top_builddir)/lib/asn1/libasn1.la
+-nt_gss_client_LDFLAGS = 
+-am_nt_gss_server_OBJECTS =  nt_gss_server.$(OBJEXT) \
+-nt_gss_common.$(OBJEXT)
+-nt_gss_server_OBJECTS =  $(am_nt_gss_server_OBJECTS)
+-nt_gss_server_DEPENDENCIES =  $(top_builddir)/lib/gssapi/libgssapi.la \
+-$(top_builddir)/lib/krb5/libkrb5.la $(top_builddir)/lib/asn1/libasn1.la
+-nt_gss_server_LDFLAGS = 
+-am_tcp_client_OBJECTS =  tcp_client.$(OBJEXT) common.$(OBJEXT)
+-tcp_client_OBJECTS =  $(am_tcp_client_OBJECTS)
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++noinst_PROGRAMS = tcp_client$(EXEEXT) tcp_server$(EXEEXT) \
++	gssapi_server$(EXEEXT) gssapi_client$(EXEEXT) \
++	uu_server$(EXEEXT) uu_client$(EXEEXT) nt_gss_server$(EXEEXT) \
++	nt_gss_client$(EXEEXT)
++PROGRAMS = $(noinst_PROGRAMS)
++
++am_gssapi_client_OBJECTS = gssapi_client.$(OBJEXT) gss_common.$(OBJEXT) \
++	common.$(OBJEXT)
++gssapi_client_OBJECTS = $(am_gssapi_client_OBJECTS)
++gssapi_client_DEPENDENCIES = $(top_builddir)/lib/gssapi/libgssapi.la \
++	$(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++gssapi_client_LDFLAGS =
++am_gssapi_server_OBJECTS = gssapi_server.$(OBJEXT) gss_common.$(OBJEXT) \
++	common.$(OBJEXT)
++gssapi_server_OBJECTS = $(am_gssapi_server_OBJECTS)
++gssapi_server_DEPENDENCIES = $(top_builddir)/lib/gssapi/libgssapi.la \
++	$(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++gssapi_server_LDFLAGS =
++am_nt_gss_client_OBJECTS = nt_gss_client.$(OBJEXT) \
++	nt_gss_common.$(OBJEXT) common.$(OBJEXT)
++nt_gss_client_OBJECTS = $(am_nt_gss_client_OBJECTS)
++nt_gss_client_DEPENDENCIES = $(top_builddir)/lib/gssapi/libgssapi.la \
++	$(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++nt_gss_client_LDFLAGS =
++am_nt_gss_server_OBJECTS = nt_gss_server.$(OBJEXT) \
++	nt_gss_common.$(OBJEXT)
++nt_gss_server_OBJECTS = $(am_nt_gss_server_OBJECTS)
++nt_gss_server_DEPENDENCIES = $(top_builddir)/lib/gssapi/libgssapi.la \
++	$(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++nt_gss_server_LDFLAGS =
++am_tcp_client_OBJECTS = tcp_client.$(OBJEXT) common.$(OBJEXT)
++tcp_client_OBJECTS = $(am_tcp_client_OBJECTS)
+ tcp_client_LDADD = $(LDADD)
+-tcp_client_DEPENDENCIES =  $(top_builddir)/lib/krb5/libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
+-tcp_client_LDFLAGS = 
+-am_tcp_server_OBJECTS =  tcp_server.$(OBJEXT) common.$(OBJEXT)
+-tcp_server_OBJECTS =  $(am_tcp_server_OBJECTS)
++tcp_client_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++tcp_client_LDFLAGS =
++am_tcp_server_OBJECTS = tcp_server.$(OBJEXT) common.$(OBJEXT)
++tcp_server_OBJECTS = $(am_tcp_server_OBJECTS)
+ tcp_server_LDADD = $(LDADD)
+-tcp_server_DEPENDENCIES =  $(top_builddir)/lib/krb5/libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
+-tcp_server_LDFLAGS = 
+-am_uu_client_OBJECTS =  uu_client.$(OBJEXT) common.$(OBJEXT)
+-uu_client_OBJECTS =  $(am_uu_client_OBJECTS)
++tcp_server_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++tcp_server_LDFLAGS =
++am_uu_client_OBJECTS = uu_client.$(OBJEXT) common.$(OBJEXT)
++uu_client_OBJECTS = $(am_uu_client_OBJECTS)
+ uu_client_LDADD = $(LDADD)
+-uu_client_DEPENDENCIES =  $(top_builddir)/lib/krb5/libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
+-uu_client_LDFLAGS = 
+-am_uu_server_OBJECTS =  uu_server.$(OBJEXT) common.$(OBJEXT)
+-uu_server_OBJECTS =  $(am_uu_server_OBJECTS)
++uu_client_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++uu_client_LDFLAGS =
++am_uu_server_OBJECTS = uu_server.$(OBJEXT) common.$(OBJEXT)
++uu_server_OBJECTS = $(am_uu_server_OBJECTS)
+ uu_server_LDADD = $(LDADD)
+-uu_server_DEPENDENCIES =  $(top_builddir)/lib/krb5/libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
+-uu_server_LDFLAGS = 
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
+-CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  $(gssapi_client_SOURCES) $(gssapi_server_SOURCES) \
+-$(nt_gss_client_SOURCES) $(nt_gss_server_SOURCES) $(tcp_client_SOURCES) \
+-$(tcp_server_SOURCES) $(uu_client_SOURCES) $(uu_server_SOURCES)
+-depcomp = 
+-DIST_COMMON =  Makefile.am Makefile.in
++uu_server_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++uu_server_LDFLAGS =
+ 
+-
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+-
+-GZIP_ENV = --best
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
++CPPFLAGS = @CPPFLAGS@
++LDFLAGS = @LDFLAGS@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++CCLD = $(CC)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++DIST_SOURCES = $(gssapi_client_SOURCES) $(gssapi_server_SOURCES) \
++	$(nt_gss_client_SOURCES) $(nt_gss_server_SOURCES) \
++	$(tcp_client_SOURCES) $(tcp_server_SOURCES) \
++	$(uu_client_SOURCES) $(uu_server_SOURCES)
++DIST_COMMON = Makefile.am Makefile.in
+ SOURCES = $(gssapi_client_SOURCES) $(gssapi_server_SOURCES) $(nt_gss_client_SOURCES) $(nt_gss_server_SOURCES) $(tcp_client_SOURCES) $(tcp_server_SOURCES) $(uu_client_SOURCES) $(uu_server_SOURCES)
+-OBJECTS = $(am_gssapi_client_OBJECTS) $(am_gssapi_server_OBJECTS) $(am_nt_gss_client_OBJECTS) $(am_nt_gss_server_OBJECTS) $(am_tcp_client_OBJECTS) $(am_tcp_server_OBJECTS) $(am_uu_client_OBJECTS) $(am_uu_server_OBJECTS)
+ 
+-all: all-redirect
++all: all-am
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/test/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+-
+-
+-mostlyclean-noinstPROGRAMS:
+-
+-clean-noinstPROGRAMS:
+-	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
+-
+-distclean-noinstPROGRAMS:
+-
+-maintainer-clean-noinstPROGRAMS:
+-
+-mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
+-
+-clean-compile:
+-
+-distclean-compile:
+-	-rm -f *.tab.c
+-
+-maintainer-clean-compile:
+ 
+ mostlyclean-libtool:
+ 	-rm -f *.lo
+@@ -357,46 +330,57 @@
+ 	-rm -rf .libs _libs
+ 
+ distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  appl/test/Makefile
++Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ 
+-maintainer-clean-libtool:
+-
+-gssapi_client$(EXEEXT): $(gssapi_client_OBJECTS) $(gssapi_client_DEPENDENCIES)
++clean-noinstPROGRAMS:
++	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
++gssapi_client$(EXEEXT): $(gssapi_client_OBJECTS) $(gssapi_client_DEPENDENCIES) 
+ 	@rm -f gssapi_client$(EXEEXT)
+ 	$(LINK) $(gssapi_client_LDFLAGS) $(gssapi_client_OBJECTS) $(gssapi_client_LDADD) $(LIBS)
+-
+-gssapi_server$(EXEEXT): $(gssapi_server_OBJECTS) $(gssapi_server_DEPENDENCIES)
++gssapi_server$(EXEEXT): $(gssapi_server_OBJECTS) $(gssapi_server_DEPENDENCIES) 
+ 	@rm -f gssapi_server$(EXEEXT)
+ 	$(LINK) $(gssapi_server_LDFLAGS) $(gssapi_server_OBJECTS) $(gssapi_server_LDADD) $(LIBS)
+-
+-nt_gss_client$(EXEEXT): $(nt_gss_client_OBJECTS) $(nt_gss_client_DEPENDENCIES)
++nt_gss_client$(EXEEXT): $(nt_gss_client_OBJECTS) $(nt_gss_client_DEPENDENCIES) 
+ 	@rm -f nt_gss_client$(EXEEXT)
+ 	$(LINK) $(nt_gss_client_LDFLAGS) $(nt_gss_client_OBJECTS) $(nt_gss_client_LDADD) $(LIBS)
+-
+-nt_gss_server$(EXEEXT): $(nt_gss_server_OBJECTS) $(nt_gss_server_DEPENDENCIES)
++nt_gss_server$(EXEEXT): $(nt_gss_server_OBJECTS) $(nt_gss_server_DEPENDENCIES) 
+ 	@rm -f nt_gss_server$(EXEEXT)
+ 	$(LINK) $(nt_gss_server_LDFLAGS) $(nt_gss_server_OBJECTS) $(nt_gss_server_LDADD) $(LIBS)
+-
+-tcp_client$(EXEEXT): $(tcp_client_OBJECTS) $(tcp_client_DEPENDENCIES)
++tcp_client$(EXEEXT): $(tcp_client_OBJECTS) $(tcp_client_DEPENDENCIES) 
+ 	@rm -f tcp_client$(EXEEXT)
+ 	$(LINK) $(tcp_client_LDFLAGS) $(tcp_client_OBJECTS) $(tcp_client_LDADD) $(LIBS)
+-
+-tcp_server$(EXEEXT): $(tcp_server_OBJECTS) $(tcp_server_DEPENDENCIES)
++tcp_server$(EXEEXT): $(tcp_server_OBJECTS) $(tcp_server_DEPENDENCIES) 
+ 	@rm -f tcp_server$(EXEEXT)
+ 	$(LINK) $(tcp_server_LDFLAGS) $(tcp_server_OBJECTS) $(tcp_server_LDADD) $(LIBS)
+-
+-uu_client$(EXEEXT): $(uu_client_OBJECTS) $(uu_client_DEPENDENCIES)
++uu_client$(EXEEXT): $(uu_client_OBJECTS) $(uu_client_DEPENDENCIES) 
+ 	@rm -f uu_client$(EXEEXT)
+ 	$(LINK) $(uu_client_LDFLAGS) $(uu_client_OBJECTS) $(uu_client_LDADD) $(LIBS)
+-
+-uu_server$(EXEEXT): $(uu_server_OBJECTS) $(uu_server_DEPENDENCIES)
++uu_server$(EXEEXT): $(uu_server_OBJECTS) $(uu_server_DEPENDENCIES) 
+ 	@rm -f uu_server$(EXEEXT)
+ 	$(LINK) $(uu_server_LDFLAGS) $(uu_server_OBJECTS) $(uu_server_LDADD) $(LIBS)
++
++mostlyclean-compile:
++	-rm -f *.$(OBJEXT) core *.core
++
++distclean-compile:
++	-rm -f *.tab.c
++
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
++
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
++uninstall-info-am:
+ 
+ tags: TAGS
+ 
+@@ -425,22 +409,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -450,85 +435,91 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-install-exec-am:
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++all-am: Makefile $(PROGRAMS) all-local
+ 
+-install-data-am: install-data-local
+-install-data: install-data-am
++installdirs:
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am:
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(PROGRAMS) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-noinstPROGRAMS mostlyclean-compile \
+-		mostlyclean-libtool mostlyclean-tags \
+-		mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-generic clean-libtool clean-noinstPROGRAMS \
++	mostlyclean-am
+ 
+-clean-am:  clean-noinstPROGRAMS clean-compile clean-libtool clean-tags \
+-		clean-generic mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-noinstPROGRAMS distclean-compile \
+-		distclean-libtool distclean-tags distclean-generic \
+-		clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-noinstPROGRAMS \
+-		maintainer-clean-compile maintainer-clean-libtool \
+-		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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local
++
++install-exec-am:
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man:
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-am
+ 
+-.PHONY: mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \
+-clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \
+-mostlyclean-compile distclean-compile clean-compile \
+-maintainer-clean-compile mostlyclean-libtool distclean-libtool \
+-clean-libtool maintainer-clean-libtool tags mostlyclean-tags \
+-distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
+-dvi-am dvi check-local check check-am installcheck-am installcheck \
+-install-exec-am install-exec install-data-local install-data-am \
+-install-data install-am install uninstall-am uninstall all-local \
+-all-redirect all-am all install-strip installdirs mostlyclean-generic \
+-distclean-generic clean-generic maintainer-clean-generic clean \
+-mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-info-am
++
++.PHONY: GTAGS all all-am all-local check check-am check-local clean \
++	clean-generic clean-libtool clean-noinstPROGRAMS distclean \
++	distclean-compile distclean-generic distclean-libtool \
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-data install-data-am install-data-local \
++	install-exec install-exec-am install-info install-info-am \
++	install-man install-strip installcheck installcheck-am \
++	installdirs maintainer-clean maintainer-clean-generic \
++	mostlyclean mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool tags uninstall uninstall-am \
++	uninstall-info-am
+ 
+ 
+ install-suid-programs:
+@@ -658,7 +649,6 @@
+ 	  echo "$$dashes"; \
+ 	  test "$$failed" -eq 0; \
+ 	fi
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/appl/xnlock/Makefile.in heimdal-0.4e/appl/xnlock/Makefile.in
+--- heimdal-0.4e-old/appl/xnlock/Makefile.in	Thu Sep  6 22:25:20 2001
++++ heimdal-0.4e/appl/xnlock/Makefile.in	Wed Nov 21 11:52:40 2001
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.15 2000/11/15 22:51:12 assar Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,9 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,6 +89,7 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+@@ -105,7 +109,6 @@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -118,19 +121,18 @@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+ 
+-# $Id: Makefile.am,v 1.15 2000/11/15 22:51:12 assar Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
++WFLAGS = @WFLAGS@ $(WFLAGS_NOIMPLICITINT)
+ 
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+@@ -188,19 +190,16 @@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+-WFLAGS = @WFLAGS@ $(WFLAGS_NOIMPLICITINT)
+-
+-@HAVE_X_TRUE@bin_PROGRAMS = @HAVE_X_TRUE@xnlock
++@HAVE_X_TRUE@bin_PROGRAMS = xnlock
+ @HAVE_X_FALSE@bin_PROGRAMS = 
+ 
+ man_MANS = xnlock.1
+@@ -219,125 +218,116 @@
+ 
+ subdir = appl/xnlock
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../include/config.h
+-CONFIG_CLEAN_FILES = 
+-@HAVE_X_FALSE@bin_PROGRAMS = 
+-PROGRAMS =  $(bin_PROGRAMS)
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++@HAVE_X_TRUE@bin_PROGRAMS = xnlock$(EXEEXT)
++@HAVE_X_FALSE@bin_PROGRAMS =
++PROGRAMS = $(bin_PROGRAMS)
+ 
++xnlock_SOURCES = xnlock.c
++xnlock_OBJECTS = xnlock.$(OBJEXT)
++xnlock_LDADD = $(LDADD)
++@KRB4_FALSE@@KRB5_TRUE@xnlock_DEPENDENCIES = \
++@KRB4_FALSE@@KRB5_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la
++@KRB4_FALSE@@KRB5_FALSE@xnlock_DEPENDENCIES =
++@KRB4_TRUE@@KRB5_TRUE@xnlock_DEPENDENCIES = \
++@KRB4_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/kafs/libkafs.la \
++@KRB4_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la
++@KRB4_TRUE@@KRB5_FALSE@xnlock_DEPENDENCIES = \
++@KRB4_TRUE@@KRB5_FALSE@	$(top_builddir)/lib/kafs/libkafs.la
++xnlock_LDFLAGS =
+ 
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../../include
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+-xnlock_SOURCES = xnlock.c
+-xnlock_OBJECTS =  xnlock.$(OBJEXT)
+-xnlock_LDADD = $(LDADD)
+-@KRB4_FALSE@@KRB5_FALSE@xnlock_DEPENDENCIES = 
+-@KRB4_FALSE@@KRB5_TRUE@xnlock_DEPENDENCIES =  \
+-@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
+-@KRB4_TRUE@@KRB5_FALSE@xnlock_DEPENDENCIES =  \
+-@KRB4_TRUE@@KRB5_FALSE@$(top_builddir)/lib/kafs/libkafs.la
+-@KRB4_TRUE@@KRB5_TRUE@xnlock_DEPENDENCIES =  \
+-@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/kafs/libkafs.la \
+-@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
+-xnlock_LDFLAGS = 
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  xnlock.c
+-man1dir = $(mandir)/man1
+-MANS = $(man_MANS)
+-depcomp = 
+-DIST_COMMON =  README ChangeLog Makefile.am Makefile.in
+-
+-
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++DIST_SOURCES = xnlock.c
+ 
+-GZIP_ENV = --best
++NROFF = nroff
++MANS = $(man_MANS)
++DIST_COMMON = README ChangeLog Makefile.am Makefile.in
+ SOURCES = xnlock.c
+-OBJECTS = xnlock.$(OBJEXT)
+ 
+-all: all-redirect
++all: all-am
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/xnlock/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+-
+-
+-mostlyclean-binPROGRAMS:
+-
+-clean-binPROGRAMS:
+-	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
+ 
+-distclean-binPROGRAMS:
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-maintainer-clean-binPROGRAMS:
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  appl/xnlock/Makefile
++Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ install-binPROGRAMS: $(bin_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(bindir)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  if test -f $$p; then \
+-	    f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f; \
++	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  if test -f $$p \
++	     || test -f $$p1 \
++	  ; then \
++	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-binPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+-mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
++clean-binPROGRAMS:
++	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
++xnlock$(EXEEXT): $(xnlock_OBJECTS) $(xnlock_DEPENDENCIES) 
++	@rm -f xnlock$(EXEEXT)
++	$(LINK) $(xnlock_LDFLAGS) $(xnlock_OBJECTS) $(xnlock_LDADD) $(LIBS)
+ 
+-clean-compile:
++mostlyclean-compile:
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+-maintainer-clean-compile:
+-
+-mostlyclean-libtool:
+-	-rm -f *.lo
+-
+-clean-libtool:
+-	-rm -rf .libs _libs
+-
+-distclean-libtool:
+-
+-maintainer-clean-libtool:
+-
+-xnlock$(EXEEXT): $(xnlock_OBJECTS) $(xnlock_DEPENDENCIES)
+-	@rm -f xnlock$(EXEEXT)
+-	$(LINK) $(xnlock_LDFLAGS) $(xnlock_OBJECTS) $(xnlock_LDADD) $(LIBS)
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
++
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
++uninstall-info-am:
+ 
+-install-man1:
++man1dir = $(mandir)/man1
++install-man1: $(man1_MANS) $(man_MANS)
++	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(man1dir)
+-	@list='$(man1_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.1*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -352,10 +342,11 @@
+ 	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
+ 	  $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
+ 	done
+-
+ uninstall-man1:
+-	@list='$(man1_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@$(NORMAL_UNINSTALL)
++	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.1*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -368,12 +359,6 @@
+ 	  echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
+ 	  rm -f $(DESTDIR)$(man1dir)/$$inst; \
+ 	done
+-install-man: $(MANS)
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-man1
+-uninstall-man:
+-	@$(NORMAL_UNINSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) uninstall-man1
+ 
+ tags: TAGS
+ 
+@@ -402,22 +387,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -427,86 +413,94 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-install-exec-am: install-binPROGRAMS
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++all-am: Makefile $(PROGRAMS) $(MANS) all-local
+ 
+-install-data-am: install-man install-data-local
+-install-data: install-data-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(man1dir)
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am: uninstall-binPROGRAMS uninstall-man
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(PROGRAMS) $(MANS) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-binPROGRAMS mostlyclean-compile \
+-		mostlyclean-libtool mostlyclean-tags \
+-		mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am
+ 
+-clean-am:  clean-binPROGRAMS clean-compile clean-libtool clean-tags \
+-		clean-generic mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-binPROGRAMS distclean-compile distclean-libtool \
+-		distclean-tags distclean-generic clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-binPROGRAMS \
+-		maintainer-clean-compile maintainer-clean-libtool \
+-		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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local install-man
++
++install-exec-am: install-binPROGRAMS
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man: install-man1
++
++installcheck-am:
+ 
+ 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 mostlyclean-libtool distclean-libtool \
+-clean-libtool maintainer-clean-libtool install-man1 uninstall-man1 \
+-install-man uninstall-man tags mostlyclean-tags distclean-tags \
+-clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi \
+-check-local check check-am installcheck-am installcheck install-exec-am \
+-install-exec install-data-local install-data-am install-data install-am \
+-install uninstall-am uninstall all-local all-redirect all-am all \
+-install-strip installdirs mostlyclean-generic distclean-generic \
+-clean-generic maintainer-clean-generic clean mostlyclean distclean \
+-maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-binPROGRAMS uninstall-info-am uninstall-man
++
++uninstall-man: uninstall-man1
++
++.PHONY: GTAGS all all-am all-local check check-am check-local clean \
++	clean-binPROGRAMS clean-generic clean-libtool distclean \
++	distclean-compile distclean-generic distclean-libtool \
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-binPROGRAMS install-data install-data-am \
++	install-data-local install-exec install-exec-am install-info \
++	install-info-am install-man install-man1 install-strip \
++	installcheck installcheck-am installdirs maintainer-clean \
++	maintainer-clean-generic mostlyclean mostlyclean-compile \
++	mostlyclean-generic mostlyclean-libtool tags uninstall \
++	uninstall-am uninstall-binPROGRAMS uninstall-info-am \
++	uninstall-man uninstall-man1
+ 
+ 
+ install-suid-programs:
+@@ -636,7 +630,6 @@
+ 	  echo "$$dashes"; \
+ 	  test "$$failed" -eq 0; \
+ 	fi
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/compile heimdal-0.4e/compile
+--- heimdal-0.4e-old/compile	Thu Jan  1 10:00:00 1970
++++ heimdal-0.4e/compile	Fri Oct 19 13:28:05 2001
+@@ -0,0 +1,99 @@
++#! /bin/sh
++
++# Wrapper for compilers which do not understand `-c -o'.
++
++# Copyright 1999, 2000 Free Software Foundation, Inc.
++# Written by Tom Tromey <tromey@cygnus.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, 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
++
++# As a special exception to the GNU General Public License, if you
++# distribute this file as part of a program that contains a
++# configuration script generated by Autoconf, you may include it under
++# the same distribution terms that you use for the rest of that program.
++
++# Usage:
++# compile PROGRAM [ARGS]...
++# `-o FOO.o' is removed from the args passed to the actual compile.
++
++prog=$1
++shift
++
++ofile=
++cfile=
++args=
++while test $# -gt 0; do
++   case "$1" in
++    -o)
++       # configure might choose to run compile as `compile cc -o foo foo.c'.
++       # So we do something ugly here.
++       ofile=$2
++       shift
++       case "$ofile" in
++	*.o | *.obj)
++	   ;;
++	*)
++	   args="$args -o $ofile"
++	   ofile=
++	   ;;
++       esac
++       ;;
++    *.c)
++       cfile=$1
++       args="$args $1"
++       ;;
++    *)
++       args="$args $1"
++       ;;
++   esac
++   shift
++done
++
++if test -z "$ofile" || test -z "$cfile"; then
++   # If no `-o' option was seen then we might have been invoked from a
++   # pattern rule where we don't need one.  That is ok -- this is a
++   # normal compilation that the losing compiler can handle.  If no
++   # `.c' file was seen then we are probably linking.  That is also
++   # ok.
++   exec "$prog" $args
++fi
++
++# Name of file we expect compiler to create.
++cofile=`echo $cfile | sed -e 's|^.*/||' -e 's/\.c$/.o/'`
++
++# Create the lock directory.
++# Note: use `[/.-]' here to ensure that we don't use the same name
++# that we are using for the .o file.  Also, base the name on the expected
++# object file name, since that is what matters with a parallel build.
++lockdir=`echo $cofile | sed -e 's|[/.-]|_|g'`.d
++while true; do
++   if mkdir $lockdir > /dev/null 2>&1; then
++      break
++   fi
++   sleep 1
++done
++# FIXME: race condition here if user kills between mkdir and trap.
++trap "rmdir $lockdir; exit 1" 1 2 15
++
++# Run the compile.
++"$prog" $args
++status=$?
++
++if test -f "$cofile"; then
++   mv "$cofile" "$ofile"
++fi
++
++rmdir $lockdir
++exit $status
+diff -ruN heimdal-0.4e-old/config.guess heimdal-0.4e/config.guess
+--- heimdal-0.4e-old/config.guess	Mon Sep 25 10:15:55 2000
++++ heimdal-0.4e/config.guess	Wed Nov 21 11:52:00 2001
+@@ -1,9 +1,9 @@
+ #! /bin/sh
+ # Attempt to guess a canonical system name.
+-#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000
++#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ #   Free Software Foundation, Inc.
+ 
+-version='2000-09-05'
++timestamp='2001-10-05'
+ 
+ # This file is free software; you can redistribute it and/or modify it
+ # under the terms of the GNU General Public License as published by
+@@ -24,38 +24,50 @@
+ # configuration script generated by Autoconf, you may include it under
+ # the same distribution terms that you use for the rest of that program.
+ 
+-# Written by Per Bothner <bothner@cygnus.com>.
+-# Please send patches to <config-patches@gnu.org>.
++# Originally written by Per Bothner <bothner@cygnus.com>.
++# Please send patches to <config-patches@gnu.org>.  Submit a context
++# diff and a properly formatted ChangeLog entry.
+ #
+ # This script attempts to guess a canonical system name similar to
+ # config.sub.  If it succeeds, it prints the system name on stdout, and
+ # exits with 0.  Otherwise, it exits with 1.
+ #
+ # The plan is that this can be called by configure scripts if you
+-# don't specify an explicit system type (host/target name).
+-#
+-# Only a few systems have been added to this list; please add others
+-# (but try to keep the structure clean).
+-#
++# don't specify an explicit build system type.
+ 
+ me=`echo "$0" | sed -e 's,.*/,,'`
+ 
+ usage="\
+ Usage: $0 [OPTION]
+ 
+-Output the configuration name of this system.
++Output the configuration name of the system \`$me' is run on.
+ 
+ Operation modes:
+-  -h, --help               print this help, then exit
+-  -V, --version            print version number, then exit"
++  -h, --help         print this help, then exit
++  -t, --time-stamp   print date of last modification, then exit
++  -v, --version      print version number, then exit
++
++Report bugs and patches to <config-patches@gnu.org>."
++
++version="\
++GNU config.guess ($timestamp)
++
++Originally written by Per Bothner.
++Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
++Free Software Foundation, Inc.
++
++This is free software; see the source for copying conditions.  There is NO
++warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
+ 
+ help="
+ Try \`$me --help' for more information."
+ 
+ # Parse command line
+ while test $# -gt 0 ; do
+-  case "$1" in
+-    --version | --vers* | -V )
++  case $1 in
++    --time-stamp | --time* | -t )
++       echo "$timestamp" ; exit 0 ;;
++    --version | -v )
+        echo "$version" ; exit 0 ;;
+     --help | --h* | -h )
+        echo "$usage"; exit 0 ;;
+@@ -64,9 +76,7 @@
+     - )	# Use stdin as input.
+        break ;;
+     -* )
+-       exec >&2
+-       echo "$me: invalid option $1"
+-       echo "$help"
++       echo "$me: invalid option $1$help" >&2
+        exit 1 ;;
+     * )
+        break ;;
+@@ -78,39 +88,47 @@
+   exit 1
+ fi
+ 
+-# Use $HOST_CC if defined. $CC may point to a cross-compiler
+-if test x"$CC_FOR_BUILD" = x; then
+-  if test x"$HOST_CC" != x; then
+-    CC_FOR_BUILD="$HOST_CC"
+-  else
+-    if test x"$CC" != x; then
+-      CC_FOR_BUILD="$CC"
+-    else
+-      CC_FOR_BUILD=cc
+-    fi
+-  fi
+-fi
+ 
++dummy=dummy-$$
++trap 'rm -f $dummy.c $dummy.o $dummy.rel $dummy; exit 1' 1 2 15
++
++# CC_FOR_BUILD -- compiler used by this script.
++# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
++# use `HOST_CC' if defined, but it is deprecated.
++
++set_cc_for_build='case $CC_FOR_BUILD,$HOST_CC,$CC in
++ ,,)    echo "int dummy(){}" > $dummy.c ;
++	for c in cc gcc c89 ; do
++	  ($c $dummy.c -c -o $dummy.o) >/dev/null 2>&1 ;
++	  if test $? = 0 ; then
++	     CC_FOR_BUILD="$c"; break ;
++	  fi ;
++	done ;
++	rm -f $dummy.c $dummy.o $dummy.rel ;
++	if test x"$CC_FOR_BUILD" = x ; then
++	  CC_FOR_BUILD=no_compiler_found ;
++	fi
++	;;
++ ,,*)   CC_FOR_BUILD=$CC ;;
++ ,*,*)  CC_FOR_BUILD=$HOST_CC ;;
++esac'
+ 
+ # This is needed to find uname on a Pyramid OSx when run in the BSD universe.
+-# (ghazi@noc.rutgers.edu 8/24/94.)
++# (ghazi@noc.rutgers.edu 1994-08-24)
+ if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
+ 	PATH=$PATH:/.attbin ; export PATH
+ fi
+ 
+ UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
+ UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
+-UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
++UNAME_SYSTEM=`(uname -s) 2>/dev/null`  || UNAME_SYSTEM=unknown
+ UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
+ 
+-dummy=dummy-$$
+-trap 'rm -f $dummy.c $dummy.o $dummy; exit 1' 1 2 15
+-
+ # Note: order is significant - the case branches are not exclusive.
+ 
+ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
+     *:NetBSD:*:*)
+-	# Netbsd (nbsd) targets should (where applicable) match one or
++	# NetBSD (nbsd) targets should (where applicable) match one or
+ 	# more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*,
+ 	# *-*-netbsdecoff* and *-*-netbsd*.  For targets that recently
+ 	# switched to ELF, *-*-netbsd* would select the old
+@@ -127,18 +145,28 @@
+ 	    macppc) machine=powerpc-apple ;;
+ 	    hp3[0-9][05]) machine=m68k-hp ;;
+ 	    ibmrt|romp-ibm) machine=romp-ibm ;;
++	    sparc*) machine=`uname -p`-unknown ;;
+ 	    *) machine=${UNAME_MACHINE}-unknown ;;
+ 	esac
+-	# The Operating System including object format.
+-	if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
+-		| grep __ELF__ >/dev/null
+-	then
+-	    # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
+-	    # Return netbsd for either.  FIX?
+-	    os=netbsd
+-	else
+-	    os=netbsdelf
+-	fi
++	# The Operating System including object format, if it has switched
++	# to ELF recently, or will in the future.
++	case "${UNAME_MACHINE}" in
++	    i386|sparc|amiga|arm*|hp300|mvme68k|vax|atari|luna68k|mac68k|news68k|next68k|pc532|sun3*|x68k)
++		eval $set_cc_for_build
++		if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
++			| grep __ELF__ >/dev/null
++		then
++		    # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
++		    # Return netbsd for either.  FIX?
++		    os=netbsd
++		else
++		    os=netbsdelf
++		fi
++		;;
++	    *)
++	        os=netbsd
++		;;
++	esac
+ 	# The OS release
+ 	release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
+ 	# Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
+@@ -146,6 +174,45 @@
+ 	# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
+ 	echo "${machine}-${os}${release}"
+ 	exit 0 ;;
++    amiga:OpenBSD:*:*)
++	echo m68k-unknown-openbsd${UNAME_RELEASE}
++	exit 0 ;;
++    arc:OpenBSD:*:*)
++	echo mipsel-unknown-openbsd${UNAME_RELEASE}
++	exit 0 ;;
++    hp300:OpenBSD:*:*)
++	echo m68k-unknown-openbsd${UNAME_RELEASE}
++	exit 0 ;;
++    mac68k:OpenBSD:*:*)
++	echo m68k-unknown-openbsd${UNAME_RELEASE}
++	exit 0 ;;
++    macppc:OpenBSD:*:*)
++	echo powerpc-unknown-openbsd${UNAME_RELEASE}
++	exit 0 ;;
++    mvme68k:OpenBSD:*:*)
++	echo m68k-unknown-openbsd${UNAME_RELEASE}
++	exit 0 ;;
++    mvme88k:OpenBSD:*:*)
++	echo m88k-unknown-openbsd${UNAME_RELEASE}
++	exit 0 ;;
++    mvmeppc:OpenBSD:*:*)
++	echo powerpc-unknown-openbsd${UNAME_RELEASE}
++	exit 0 ;;
++    pmax:OpenBSD:*:*)
++	echo mipsel-unknown-openbsd${UNAME_RELEASE}
++	exit 0 ;;
++    sgi:OpenBSD:*:*)
++	echo mipseb-unknown-openbsd${UNAME_RELEASE}
++	exit 0 ;;
++    sun3:OpenBSD:*:*)
++	echo m68k-unknown-openbsd${UNAME_RELEASE}
++	exit 0 ;;
++    wgrisc:OpenBSD:*:*)
++	echo mipsel-unknown-openbsd${UNAME_RELEASE}
++	exit 0 ;;
++    *:OpenBSD:*:*)
++	echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE}
++	exit 0 ;;
+     alpha:OSF1:*:*)
+ 	if test $UNAME_RELEASE = "V4.0"; then
+ 		UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
+@@ -179,6 +246,7 @@
+ 	jsr \$26,exit
+ 	.end main
+ EOF
++	eval $set_cc_for_build
+ 	$CC_FOR_BUILD $dummy.s -o $dummy 2>/dev/null
+ 	if test "$?" = 0 ; then
+ 		case `./$dummy` in
+@@ -200,6 +268,9 @@
+ 			2-307)
+ 				UNAME_MACHINE="alphaev67"
+ 				;;
++			2-1307)
++				UNAME_MACHINE="alphaev68"
++				;;
+ 		esac
+ 	fi
+ 	rm -f $dummy.s $dummy
+@@ -217,37 +288,16 @@
+     Amiga*:UNIX_System_V:4.0:*)
+ 	echo m68k-unknown-sysv4
+ 	exit 0;;
+-    amiga:OpenBSD:*:*)
+-	echo m68k-unknown-openbsd${UNAME_RELEASE}
+-	exit 0 ;;
+     *:[Aa]miga[Oo][Ss]:*:*)
+ 	echo ${UNAME_MACHINE}-unknown-amigaos
+ 	exit 0 ;;
+-    arc64:OpenBSD:*:*)
+-	echo mips64el-unknown-openbsd${UNAME_RELEASE}
+-	exit 0 ;;
+-    arc:OpenBSD:*:*)
+-	echo mipsel-unknown-openbsd${UNAME_RELEASE}
+-	exit 0 ;;
+-    hkmips:OpenBSD:*:*)
+-	echo mips-unknown-openbsd${UNAME_RELEASE}
+-	exit 0 ;;
+-    pmax:OpenBSD:*:*)
+-	echo mipsel-unknown-openbsd${UNAME_RELEASE}
+-	exit 0 ;;
+-    sgi:OpenBSD:*:*)
+-	echo mips-unknown-openbsd${UNAME_RELEASE}
+-	exit 0 ;;
+-    wgrisc:OpenBSD:*:*)
+-	echo mipsel-unknown-openbsd${UNAME_RELEASE}
+-	exit 0 ;;
+     *:OS/390:*:*)
+ 	echo i370-ibm-openedition
+ 	exit 0 ;;
+     arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
+ 	echo arm-acorn-riscix${UNAME_RELEASE}
+ 	exit 0;;
+-    SR2?01:HI-UX/MPP:*:*)
++    SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
+ 	echo hppa1.1-hitachi-hiuxmpp
+ 	exit 0;;
+     Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*)
+@@ -303,12 +353,9 @@
+     aushp:SunOS:*:*)
+ 	echo sparc-auspex-sunos${UNAME_RELEASE}
+ 	exit 0 ;;
+-    atari*:OpenBSD:*:*)
+-	echo m68k-unknown-openbsd${UNAME_RELEASE}
+-	exit 0 ;;
+     # The situation for MiNT is a little confusing.  The machine name
+     # can be virtually everything (everything which is not
+-    # "atarist" or "atariste" at least should have a processor 
++    # "atarist" or "atariste" at least should have a processor
+     # > m68000).  The system name ranges from "MiNT" over "FreeMiNT"
+     # to the lowercase version "mint" (or "freemint").  Finally
+     # the system name "TOS" denotes a system which is actually not
+@@ -332,18 +379,6 @@
+     *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
+         echo m68k-unknown-mint${UNAME_RELEASE}
+         exit 0 ;;
+-    sun3*:OpenBSD:*:*)
+-	echo m68k-unknown-openbsd${UNAME_RELEASE}
+-	exit 0 ;;
+-    mac68k:OpenBSD:*:*)
+-	echo m68k-unknown-openbsd${UNAME_RELEASE}
+-	exit 0 ;;
+-    mvme68k:OpenBSD:*:*)
+-	echo m68k-unknown-openbsd${UNAME_RELEASE}
+-	exit 0 ;;
+-    mvme88k:OpenBSD:*:*)
+-	echo m88k-unknown-openbsd${UNAME_RELEASE}
+-	exit 0 ;;
+     powerpc:machten:*:*)
+ 	echo powerpc-apple-machten${UNAME_RELEASE}
+ 	exit 0 ;;
+@@ -360,6 +395,7 @@
+ 	echo clipper-intergraph-clix${UNAME_RELEASE}
+ 	exit 0 ;;
+     mips:*:*:UMIPS | mips:*:*:RISCos)
++	eval $set_cc_for_build
+ 	sed 's/^	//' << EOF >$dummy.c
+ #ifdef __cplusplus
+ #include <stdio.h>  /* for printf() prototype */
+@@ -383,10 +419,13 @@
+ EOF
+ 	$CC_FOR_BUILD $dummy.c -o $dummy \
+ 	  && ./$dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \
+-	  && rm $dummy.c $dummy && exit 0
++	  && rm -f $dummy.c $dummy && exit 0
+ 	rm -f $dummy.c $dummy
+ 	echo mips-mips-riscos${UNAME_RELEASE}
+ 	exit 0 ;;
++    Motorola:PowerMAX_OS:*:*)
++	echo powerpc-motorola-powermax
++	exit 0 ;;
+     Night_Hawk:Power_UNIX:*:*)
+ 	echo powerpc-harris-powerunix
+ 	exit 0 ;;
+@@ -402,7 +441,7 @@
+     AViiON:dgux:*:*)
+         # DG/UX returns AViiON for all architectures
+         UNAME_PROCESSOR=`/usr/bin/uname -p`
+-	if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110]
++	if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
+ 	then
+ 	    if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
+ 	       [ ${TARGET_BINARY_INTERFACE}x = x ]
+@@ -434,11 +473,20 @@
+     ????????:AIX?:[12].1:2)   # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
+ 	echo romp-ibm-aix      # uname -m gives an 8 hex-code CPU id
+ 	exit 0 ;;              # Note that: echo "'`uname -s`'" gives 'AIX '
+-    i?86:AIX:*:*)
++    i*86:AIX:*:*)
+ 	echo i386-ibm-aix
+ 	exit 0 ;;
++    ia64:AIX:*:*)
++	if [ -x /usr/bin/oslevel ] ; then
++		IBM_REV=`/usr/bin/oslevel`
++	else
++		IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
++	fi
++	echo ${UNAME_MACHINE}-ibm-aix${IBM_REV}
++	exit 0 ;;
+     *:AIX:2:3)
+ 	if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
++		eval $set_cc_for_build
+ 		sed 's/^		//' << EOF >$dummy.c
+ 		#include <sys/systemcfg.h>
+ 
+@@ -450,7 +498,7 @@
+ 			exit(0);
+ 			}
+ EOF
+-		$CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm $dummy.c $dummy && exit 0
++		$CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm -f $dummy.c $dummy && exit 0
+ 		rm -f $dummy.c $dummy
+ 		echo rs6000-ibm-aix3.2.5
+ 	elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
+@@ -459,9 +507,9 @@
+ 		echo rs6000-ibm-aix3.2
+ 	fi
+ 	exit 0 ;;
+-    *:AIX:*:4)
++    *:AIX:*:[45])
+ 	IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | head -1 | awk '{ print $1 }'`
+-	if /usr/sbin/lsattr -EHl ${IBM_CPU_ID} | grep POWER >/dev/null 2>&1; then
++	if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
+ 		IBM_ARCH=rs6000
+ 	else
+ 		IBM_ARCH=powerpc
+@@ -469,7 +517,7 @@
+ 	if [ -x /usr/bin/oslevel ] ; then
+ 		IBM_REV=`/usr/bin/oslevel`
+ 	else
+-		IBM_REV=4.${UNAME_RELEASE}
++		IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
+ 	fi
+ 	echo ${IBM_ARCH}-ibm-aix${IBM_REV}
+ 	exit 0 ;;
+@@ -495,11 +543,28 @@
+ 	echo m68k-hp-bsd4.4
+ 	exit 0 ;;
+     9000/[34678]??:HP-UX:*:*)
++	HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
+ 	case "${UNAME_MACHINE}" in
+ 	    9000/31? )            HP_ARCH=m68000 ;;
+ 	    9000/[34]?? )         HP_ARCH=m68k ;;
+ 	    9000/[678][0-9][0-9])
+-              sed 's/^              //' << EOF >$dummy.c
++		if [ -x /usr/bin/getconf ]; then
++		    sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
++                    sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
++                    case "${sc_cpu_version}" in
++                      523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
++                      528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
++                      532)                      # CPU_PA_RISC2_0
++                        case "${sc_kernel_bits}" in
++                          32) HP_ARCH="hppa2.0n" ;;
++                          64) HP_ARCH="hppa2.0w" ;;
++			  '') HP_ARCH="hppa2.0" ;;   # HP-UX 10.20
++                        esac ;;
++                    esac
++		fi
++		if [ "${HP_ARCH}" = "" ]; then
++		    eval $set_cc_for_build
++		    sed 's/^              //' << EOF >$dummy.c
+ 
+               #define _HPUX_SOURCE
+               #include <stdlib.h>
+@@ -532,13 +597,19 @@
+                   exit (0);
+               }
+ EOF
+-	(CCOPTS= $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null ) && HP_ARCH=`./$dummy`
+-	rm -f $dummy.c $dummy
++		    (CCOPTS= $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null) && HP_ARCH=`./$dummy`
++		    if test -z "$HP_ARCH"; then HP_ARCH=hppa; fi
++		    rm -f $dummy.c $dummy
++		fi ;;
+ 	esac
+-	HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
+ 	echo ${HP_ARCH}-hp-hpux${HPUX_REV}
+ 	exit 0 ;;
++    ia64:HP-UX:*:*)
++	HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
++	echo ia64-hp-hpux${HPUX_REV}
++	exit 0 ;;
+     3050*:HI-UX:*:*)
++	eval $set_cc_for_build
+ 	sed 's/^	//' << EOF >$dummy.c
+ 	#include <unistd.h>
+ 	int
+@@ -564,7 +635,7 @@
+ 	  exit (0);
+ 	}
+ EOF
+-	$CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm $dummy.c $dummy && exit 0
++	$CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm -f $dummy.c $dummy && exit 0
+ 	rm -f $dummy.c $dummy
+ 	echo unknown-hitachi-hiuxwe2
+ 	exit 0 ;;
+@@ -574,7 +645,7 @@
+     9000/8??:4.3bsd:*:*)
+ 	echo hppa1.0-hp-bsd
+ 	exit 0 ;;
+-    *9??*:MPE/iX:*:*)
++    *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
+ 	echo hppa1.0-hp-mpeix
+ 	exit 0 ;;
+     hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
+@@ -583,7 +654,7 @@
+     hp8??:OSF1:*:*)
+ 	echo hppa1.0-hp-osf
+ 	exit 0 ;;
+-    i?86:OSF1:*:*)
++    i*86:OSF1:*:*)
+ 	if [ -x /usr/sbin/sysversion ] ; then
+ 	    echo ${UNAME_MACHINE}-unknown-osf1mk
+ 	else
+@@ -593,9 +664,6 @@
+     parisc*:Lites*:*:*)
+ 	echo hppa1.1-hp-lites
+ 	exit 0 ;;
+-    hppa*:OpenBSD:*:*)
+-	echo hppa-unknown-openbsd
+-	exit 0 ;;
+     C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
+ 	echo c1-convex-bsd
+         exit 0 ;;
+@@ -618,37 +686,36 @@
+ 	echo xmp-cray-unicos
+         exit 0 ;;
+     CRAY*Y-MP:*:*:*)
+-	echo ymp-cray-unicos${UNAME_RELEASE}
++	echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
+ 	exit 0 ;;
+     CRAY*[A-Z]90:*:*:*)
+ 	echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \
+ 	| sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
+-	      -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/
++	      -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \
++	      -e 's/\.[^.]*$/.X/'
+ 	exit 0 ;;
+     CRAY*TS:*:*:*)
+ 	echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
+ 	exit 0 ;;
+-    CRAY*T3E:*:*:*)
++    CRAY*T3D:*:*:*)
+ 	echo alpha-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
+ 	exit 0 ;;
++    CRAY*T3E:*:*:*)
++	echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
++	exit 0 ;;
+     CRAY*SV1:*:*:*)
+-	echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'    
++	echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
+ 	exit 0 ;;
+     CRAY-2:*:*:*)
+ 	echo cray2-cray-unicos
+         exit 0 ;;
+-    F300:UNIX_System_V:*:*)
++    F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
++	FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
+         FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
+         FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
+-        echo "f300-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
++        echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
+         exit 0 ;;
+-    F301:UNIX_System_V:*:*)
+-       echo f301-fujitsu-uxpv`echo $UNAME_RELEASE | sed 's/ .*//'`
+-       exit 0 ;;
+-    hp300:OpenBSD:*:*)
+-	echo m68k-unknown-openbsd${UNAME_RELEASE}
+-	exit 0 ;;
+-    i?86:BSD/386:*:* | i?86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
++    i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
+ 	echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
+ 	exit 0 ;;
+     sparc*:BSD/OS:*:*)
+@@ -660,9 +727,6 @@
+     *:FreeBSD:*:*)
+ 	echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
+ 	exit 0 ;;
+-    *:OpenBSD:*:*)
+-	echo ${UNAME_MACHINE}-unknown-openbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
+-	exit 0 ;;
+     i*:CYGWIN*:*)
+ 	echo ${UNAME_MACHINE}-pc-cygwin
+ 	exit 0 ;;
+@@ -693,192 +757,93 @@
+     i*86:Minix:*:*)
+ 	echo ${UNAME_MACHINE}-pc-minix
+ 	exit 0 ;;
+-    *:Linux:*:*)
+-
++    arm*:Linux:*:*)
++	echo ${UNAME_MACHINE}-unknown-linux-gnu
++	exit 0 ;;
++    ia64:Linux:*:*)
++	echo ${UNAME_MACHINE}-unknown-linux
++	exit 0 ;;
++    m68*:Linux:*:*)
++	echo ${UNAME_MACHINE}-unknown-linux-gnu
++	exit 0 ;;
++    mips:Linux:*:*)
++	case `sed -n '/^byte/s/^.*: \(.*\) endian/\1/p' < /proc/cpuinfo` in
++	  big)    echo mips-unknown-linux-gnu && exit 0 ;;
++	  little) echo mipsel-unknown-linux-gnu && exit 0 ;;
++	esac
++	;;
++    ppc:Linux:*:*)
++	echo powerpc-unknown-linux-gnu
++	exit 0 ;;
++    ppc64:Linux:*:*)
++	echo powerpc64-unknown-linux-gnu
++	exit 0 ;;
++    alpha:Linux:*:*)
++	case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
++	  EV5)   UNAME_MACHINE=alphaev5 ;;
++	  EV56)  UNAME_MACHINE=alphaev56 ;;
++	  PCA56) UNAME_MACHINE=alphapca56 ;;
++	  PCA57) UNAME_MACHINE=alphapca56 ;;
++	  EV6)   UNAME_MACHINE=alphaev6 ;;
++	  EV67)  UNAME_MACHINE=alphaev67 ;;
++	  EV68*) UNAME_MACHINE=alphaev68 ;;
++        esac
++	objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
++	if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
++	echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
++	exit 0 ;;
++    parisc:Linux:*:* | hppa:Linux:*:*)
++	# Look for CPU level
++	case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
++	  PA7*) echo hppa1.1-unknown-linux-gnu ;;
++	  PA8*) echo hppa2.0-unknown-linux-gnu ;;
++	  *)    echo hppa-unknown-linux-gnu ;;
++	esac
++	exit 0 ;;
++    parisc64:Linux:*:* | hppa64:Linux:*:*)
++	echo hppa64-unknown-linux-gnu
++	exit 0 ;;
++    s390:Linux:*:* | s390x:Linux:*:*)
++	echo ${UNAME_MACHINE}-ibm-linux
++	exit 0 ;;
++    sh*:Linux:*:*)
++	echo ${UNAME_MACHINE}-unknown-linux-gnu
++	exit 0 ;;
++    sparc:Linux:*:* | sparc64:Linux:*:*)
++	echo ${UNAME_MACHINE}-unknown-linux-gnu
++	exit 0 ;;
++    x86_64:Linux:*:*)
++	echo x86_64-unknown-linux-gnu
++	exit 0 ;;
++    i*86:Linux:*:*)
+ 	# The BFD linker knows what the default object file format is, so
+ 	# first see if it will tell us. cd to the root directory to prevent
+ 	# problems with other programs or directories called `ld' in the path.
+-	ld_help_string=`cd /; ld --help 2>&1`
+-	ld_supported_emulations=`echo $ld_help_string \
+-			 | sed -ne '/supported emulations:/!d
++	ld_supported_targets=`cd /; ld --help 2>&1 \
++			 | sed -ne '/supported targets:/!d
+ 				    s/[ 	][ 	]*/ /g
+-				    s/.*supported emulations: *//
++				    s/.*supported targets: *//
+ 				    s/ .*//
+ 				    p'`
+-        case "$ld_supported_emulations" in
+-	  *ia64)
+-		echo "${UNAME_MACHINE}-unknown-linux"
+-		exit 0
+-		;;
+-	  i?86linux)
+-		echo "${UNAME_MACHINE}-pc-linux-gnuaout"
+-		exit 0
+-		;;
+-	  elf_i?86)
++        case "$ld_supported_targets" in
++	  elf32-i386)
+ 		TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
+ 		;;
+-	  i?86coff)
++	  a.out-i386-linux)
++		echo "${UNAME_MACHINE}-pc-linux-gnuaout"
++		exit 0 ;;		
++	  coff-i386)
+ 		echo "${UNAME_MACHINE}-pc-linux-gnucoff"
+-		exit 0
+-		;;
+-	  sparclinux)
+-		echo "${UNAME_MACHINE}-unknown-linux-gnuaout"
+-		exit 0
+-		;;
+-	  armlinux)
+-		echo "${UNAME_MACHINE}-unknown-linux-gnuaout"
+-		exit 0
+-		;;
+-	  elf32arm*)
+-		echo "${UNAME_MACHINE}-unknown-linux-gnuoldld"
+-		exit 0
+-		;;
+-	  armelf_linux*)
+-		echo "${UNAME_MACHINE}-unknown-linux-gnu"
+-		exit 0
+-		;;
+-	  m68klinux)
+-		echo "${UNAME_MACHINE}-unknown-linux-gnuaout"
+-		exit 0
+-		;;
+-	  elf32ppc | elf32ppclinux)
+-		# Determine Lib Version
+-		cat >$dummy.c <<EOF
+-#include <features.h>
+-#if defined(__GLIBC__)
+-extern char __libc_version[];
+-extern char __libc_release[];
+-#endif
+-main(argc, argv)
+-     int argc;
+-     char *argv[];
+-{
+-#if defined(__GLIBC__)
+-  printf("%s %s\n", __libc_version, __libc_release);
+-#else
+-  printf("unkown\n");
+-#endif
+-  return 0;
+-}
+-EOF
+-		LIBC=""
+-		$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null
+-		if test "$?" = 0 ; then
+-			./$dummy | grep 1\.99 > /dev/null
+-			if test "$?" = 0 ; then
+-				LIBC="libc1"
+-			fi
+-		fi	
+-		rm -f $dummy.c $dummy
+-		echo powerpc-unknown-linux-gnu${LIBC}
+-		exit 0
+-		;;
+-	  shelf_linux)
+-		echo "${UNAME_MACHINE}-unknown-linux-gnu"
+-		exit 0
+-		;;
++		exit 0 ;;
++	  "")
++		# Either a pre-BFD a.out linker (linux-gnuoldld) or
++		# one that does not give us useful --help.
++		echo "${UNAME_MACHINE}-pc-linux-gnuoldld"
++		exit 0 ;;
+ 	esac
+-
+-	if test "${UNAME_MACHINE}" = "alpha" ; then
+-		cat <<EOF >$dummy.s
+-			.data
+-		\$Lformat:
+-			.byte 37,100,45,37,120,10,0	# "%d-%x\n"
+-
+-			.text
+-			.globl main
+-			.align 4
+-			.ent main
+-		main:
+-			.frame \$30,16,\$26,0
+-			ldgp \$29,0(\$27)
+-			.prologue 1
+-			.long 0x47e03d80 # implver \$0
+-			lda \$2,-1
+-			.long 0x47e20c21 # amask \$2,\$1
+-			lda \$16,\$Lformat
+-			mov \$0,\$17
+-			not \$1,\$18
+-			jsr \$26,printf
+-			ldgp \$29,0(\$26)
+-			mov 0,\$16
+-			jsr \$26,exit
+-			.end main
+-EOF
+-		LIBC=""
+-		$CC_FOR_BUILD $dummy.s -o $dummy 2>/dev/null
+-		if test "$?" = 0 ; then
+-			case `./$dummy` in
+-			0-0)
+-				UNAME_MACHINE="alpha"
+-				;;
+-			1-0)
+-				UNAME_MACHINE="alphaev5"
+-				;;
+-			1-1)
+-				UNAME_MACHINE="alphaev56"
+-				;;
+-			1-101)
+-				UNAME_MACHINE="alphapca56"
+-				;;
+-			2-303)
+-				UNAME_MACHINE="alphaev6"
+-				;;
+-			2-307)
+-				UNAME_MACHINE="alphaev67"
+-				;;
+-			esac
+-
+-			objdump --private-headers $dummy | \
+-			  grep ld.so.1 > /dev/null
+-			if test "$?" = 0 ; then
+-				LIBC="libc1"
+-			fi
+-		fi
+-		rm -f $dummy.s $dummy
+-		echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} ; exit 0
+-	elif test "${UNAME_MACHINE}" = "mips" ; then
+-	  cat >$dummy.c <<EOF
+-#ifdef __cplusplus
+-#include <stdio.h>  /* for printf() prototype */
+-	int main (int argc, char *argv[]) {
+-#else
+-	int main (argc, argv) int argc; char *argv[]; {
+-#endif
+-#ifdef __MIPSEB__
+-  printf ("%s-unknown-linux-gnu\n", argv[1]);
+-#endif
+-#ifdef __MIPSEL__
+-  printf ("%sel-unknown-linux-gnu\n", argv[1]);
+-#endif
+-  return 0;
+-}
+-EOF
+-	  $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy "${UNAME_MACHINE}" && rm $dummy.c $dummy && exit 0
+-	  rm -f $dummy.c $dummy
+-	elif test "${UNAME_MACHINE}" = "s390"; then
+-	  echo s390-ibm-linux && exit 0
+-	elif test "${UNAME_MACHINE}" = "x86_64"; then
+-	  echo x86_64-unknown-linux-gnu && exit 0
+-	else
+-	  # Either a pre-BFD a.out linker (linux-gnuoldld)
+-	  # or one that does not give us useful --help.
+-	  # GCC wants to distinguish between linux-gnuoldld and linux-gnuaout.
+-	  # If ld does not provide *any* "supported emulations:"
+-	  # that means it is gnuoldld.
+-	  echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations:"
+-	  test $? != 0 && echo "${UNAME_MACHINE}-pc-linux-gnuoldld" && exit 0
+-
+-	  case "${UNAME_MACHINE}" in
+-	  i?86)
+-	    VENDOR=pc;
+-	    ;;
+-	  *)
+-	    VENDOR=unknown;
+-	    ;;
+-	  esac
+-	  # Determine whether the default compiler is a.out or elf
+-	  cat >$dummy.c <<EOF
++	# Determine whether the default compiler is a.out or elf
++	eval $set_cc_for_build
++	cat >$dummy.c <<EOF
+ #include <features.h>
+ #ifdef __cplusplus
+ #include <stdio.h>  /* for printf() prototype */
+@@ -889,29 +854,30 @@
+ #ifdef __ELF__
+ # ifdef __GLIBC__
+ #  if __GLIBC__ >= 2
+-    printf ("%s-${VENDOR}-linux-gnu\n", argv[1]);
++    printf ("%s-pc-linux-gnu\n", argv[1]);
+ #  else
+-    printf ("%s-${VENDOR}-linux-gnulibc1\n", argv[1]);
++    printf ("%s-pc-linux-gnulibc1\n", argv[1]);
+ #  endif
+ # else
+-   printf ("%s-${VENDOR}-linux-gnulibc1\n", argv[1]);
++   printf ("%s-pc-linux-gnulibc1\n", argv[1]);
+ # endif
+ #else
+-  printf ("%s-${VENDOR}-linux-gnuaout\n", argv[1]);
++  printf ("%s-pc-linux-gnuaout\n", argv[1]);
+ #endif
+   return 0;
+ }
+ EOF
+-	  $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy "${UNAME_MACHINE}" && rm $dummy.c $dummy && exit 0
+-	  rm -f $dummy.c $dummy
+-	  test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0
+-	fi ;;
+-# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.  earlier versions
+-# are messed up and put the nodename in both sysname and nodename.
+-    i?86:DYNIX/ptx:4*:*)
++	$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy "${UNAME_MACHINE}" && rm -f $dummy.c $dummy && exit 0
++	rm -f $dummy.c $dummy
++	test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0
++	;;
++    i*86:DYNIX/ptx:4*:*)
++	# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
++	# earlier versions are messed up and put the nodename in both
++	# sysname and nodename.
+ 	echo i386-sequent-sysv4
+ 	exit 0 ;;
+-    i?86:UNIX_SV:4.2MP:2.*)
++    i*86:UNIX_SV:4.2MP:2.*)
+         # Unixware is an offshoot of SVR4, but it has its own version
+         # number series starting with 2...
+         # I am not positive that other SVR4 systems won't match this,
+@@ -919,7 +885,7 @@
+         # Use sysv4.2uw... so that sysv4* matches it.
+ 	echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
+ 	exit 0 ;;
+-    i?86:*:4.*:* | i?86:SYSTEM_V:4.*:*)
++    i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
+ 	UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
+ 	if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
+ 		echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL}
+@@ -927,16 +893,15 @@
+ 		echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL}
+ 	fi
+ 	exit 0 ;;
+-    i?86:*:5:7*)
+-        # Fixed at (any) Pentium or better
+-        UNAME_MACHINE=i586
+-        if [ ${UNAME_SYSTEM} = "UnixWare" ] ; then
+-	    echo ${UNAME_MACHINE}-sco-sysv${UNAME_RELEASE}uw${UNAME_VERSION}
+-	else
+-	    echo ${UNAME_MACHINE}-pc-sysv${UNAME_RELEASE}
+-	fi
++    i*86:*:5:[78]*)
++	case `/bin/uname -X | grep "^Machine"` in
++	    *486*)	     UNAME_MACHINE=i486 ;;
++	    *Pentium)	     UNAME_MACHINE=i586 ;;
++	    *Pent*|*Celeron) UNAME_MACHINE=i686 ;;
++	esac
++	echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
+ 	exit 0 ;;
+-    i?86:*:3.2:*)
++    i*86:*:3.2:*)
+ 	if test -f /usr/options/cb.name; then
+ 		UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
+ 		echo ${UNAME_MACHINE}-pc-isc$UNAME_REL
+@@ -954,7 +919,7 @@
+ 		echo ${UNAME_MACHINE}-pc-sysv32
+ 	fi
+ 	exit 0 ;;
+-    i?86:*DOS:*:*)
++    i*86:*DOS:*:*)
+ 	echo ${UNAME_MACHINE}-pc-msdosdjgpp
+ 	exit 0 ;;
+     pc:*:*:*)
+@@ -982,7 +947,7 @@
+ 	exit 0 ;;
+     M68*:*:R3V[567]*:*)
+ 	test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
+-    3[34]??:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 4850:*:4.0:3.0)
++    3[34]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0)
+ 	OS_REL=''
+ 	test -r /etc/.relid \
+ 	&& OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
+@@ -993,21 +958,24 @@
+     3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
+         /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
+           && echo i486-ncr-sysv4 && exit 0 ;;
+-    m68*:LynxOS:2.*:*)
++    m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
+ 	echo m68k-unknown-lynxos${UNAME_RELEASE}
+ 	exit 0 ;;
+     mc68030:UNIX_System_V:4.*:*)
+ 	echo m68k-atari-sysv4
+ 	exit 0 ;;
+-    i?86:LynxOS:2.*:* | i?86:LynxOS:3.[01]*:*)
++    i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
+ 	echo i386-unknown-lynxos${UNAME_RELEASE}
+ 	exit 0 ;;
+     TSUNAMI:LynxOS:2.*:*)
+ 	echo sparc-unknown-lynxos${UNAME_RELEASE}
+ 	exit 0 ;;
+-    rs6000:LynxOS:2.*:* | PowerPC:LynxOS:2.*:*)
++    rs6000:LynxOS:2.*:*)
+ 	echo rs6000-unknown-lynxos${UNAME_RELEASE}
+ 	exit 0 ;;
++    PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
++	echo powerpc-unknown-lynxos${UNAME_RELEASE}
++	exit 0 ;;
+     SM[BE]S:UNIX_SV:*:*)
+ 	echo mips-dde-sysv${UNAME_RELEASE}
+ 	exit 0 ;;
+@@ -1025,8 +993,8 @@
+ 		echo ns32k-sni-sysv
+ 	fi
+ 	exit 0 ;;
+-    PENTIUM:CPunix:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
+-                           # says <Richard.M.Bartel@ccMail.Census.GOV>
++    PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
++                      # says <Richard.M.Bartel@ccMail.Census.GOV>
+         echo i586-unisys-sysv4
+         exit 0 ;;
+     *:UNIX_System_V:4*:FTX*)
+@@ -1038,6 +1006,10 @@
+ 	# From seanf@swdc.stratus.com.
+ 	echo i860-stratus-sysv4
+ 	exit 0 ;;
++    *:VOS:*:*)
++	# From Paul.Green@stratus.com.
++	echo hppa1.1-stratus-vos
++	exit 0 ;;
+     mc68*:A/UX:*:*)
+ 	echo m68k-apple-aux${UNAME_RELEASE}
+ 	exit 0 ;;
+@@ -1087,6 +1059,9 @@
+     NSR-[KW]:NONSTOP_KERNEL:*:*)
+ 	echo nsr-tandem-nsk${UNAME_RELEASE}
+ 	exit 0 ;;
++    *:NonStop-UX:*:*)
++	echo mips-compaq-nonstopux
++	exit 0 ;;
+     BS2000:POSIX*:*:*)
+ 	echo bs2000-siemens-sysv
+ 	exit 0 ;;
+@@ -1104,13 +1079,41 @@
+ 	fi
+ 	echo ${UNAME_MACHINE}-unknown-plan9
+ 	exit 0 ;;
+-    *:OS/2:*:*)
+-	echo ${UNAME_MACHINE}-pc-os2_emx
++    i*86:OS/2:*:*)
++	# If we were able to find `uname', then EMX Unix compatibility
++	# is probably installed.
++	echo ${UNAME_MACHINE}-pc-os2-emx
++	exit 0 ;;
++    *:TOPS-10:*:*)
++	echo pdp10-unknown-tops10
++	exit 0 ;;
++    *:TENEX:*:*)
++	echo pdp10-unknown-tenex
++	exit 0 ;;
++    KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*)
++	echo pdp10-dec-tops20
++	exit 0 ;;
++    XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*)
++	echo pdp10-xkl-tops20
++	exit 0 ;;
++    *:TOPS-20:*:*)
++	echo pdp10-unknown-tops20
++	exit 0 ;;
++    *:ITS:*:*)
++	echo pdp10-unknown-its
++	exit 0 ;;
++    i*86:XTS-300:*:STOP)
++	echo ${UNAME_MACHINE}-unknown-stop
++	exit 0 ;;
++    i*86:atheos:*:*)
++	echo ${UNAME_MACHINE}-unknown-atheos
++	exit 0 ;;
+ esac
+ 
+ #echo '(No uname command or uname output not recognized.)' 1>&2
+ #echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2
+ 
++eval $set_cc_for_build
+ cat >$dummy.c <<EOF
+ #ifdef _SEQUENT_
+ # include <sys/types.h>
+@@ -1197,11 +1200,24 @@
+ #endif
+ 
+ #if defined (vax)
+-#if !defined (ultrix)
+-  printf ("vax-dec-bsd\n"); exit (0);
+-#else
+-  printf ("vax-dec-ultrix\n"); exit (0);
+-#endif
++# if !defined (ultrix)
++#  include <sys/param.h>
++#  if defined (BSD)
++#   if BSD == 43
++      printf ("vax-dec-bsd4.3\n"); exit (0);
++#   else
++#    if BSD == 199006
++      printf ("vax-dec-bsd4.3reno\n"); exit (0);
++#    else
++      printf ("vax-dec-bsd\n"); exit (0);
++#    endif
++#   endif
++#  else
++    printf ("vax-dec-bsd\n"); exit (0);
++#  endif
++# else
++    printf ("vax-dec-ultrix\n"); exit (0);
++# endif
+ #endif
+ 
+ #if defined (alliant) && defined (i860)
+@@ -1212,7 +1228,7 @@
+ }
+ EOF
+ 
+-$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy && rm $dummy.c $dummy && exit 0
++$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy && rm -f $dummy.c $dummy && exit 0
+ rm -f $dummy.c $dummy
+ 
+ # Apollos put the system type in the environment.
+@@ -1248,8 +1264,9 @@
+ cat >&2 <<EOF
+ $0: unable to guess system type
+ 
+-The $version version of this script cannot recognize your system type.
+-Please download the most up to date version of the config scripts:
++This script, last modified $timestamp, has failed to recognize
++the operating system you are using. It is advised that you
++download the most up to date version of the config scripts from
+ 
+     ftp://ftp.gnu.org/pub/gnu/config/
+ 
+@@ -1258,7 +1275,7 @@
+ pertinent to <config-patches@gnu.org> in order to provide the needed
+ information to handle your system.
+ 
+-config.guess version = $version
++config.guess timestamp = $timestamp
+ 
+ uname -m = `(uname -m) 2>/dev/null || echo unknown`
+ uname -r = `(uname -r) 2>/dev/null || echo unknown`
+@@ -1285,7 +1302,7 @@
+ 
+ # Local variables:
+ # eval: (add-hook 'write-file-hooks 'time-stamp)
+-# time-stamp-start: "version='"
++# time-stamp-start: "timestamp='"
+ # time-stamp-format: "%:y-%02m-%02d"
+ # time-stamp-end: "'"
+ # End:
+diff -ruN heimdal-0.4e-old/config.sub heimdal-0.4e/config.sub
+--- heimdal-0.4e-old/config.sub	Mon Sep 25 10:16:33 2000
++++ heimdal-0.4e/config.sub	Wed Nov 21 11:52:00 2001
+@@ -1,9 +1,9 @@
+ #! /bin/sh
+-# Configuration validation subroutine script, version 1.1.
+-#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Configuration validation subroutine script.
++#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ #   Free Software Foundation, Inc.
+ 
+-version='2000-09-11'
++timestamp='2001-10-05'
+ 
+ # This file is (in principle) common to ALL GNU software.
+ # The presence of a machine in this file suggests that SOME GNU software
+@@ -29,7 +29,8 @@
+ # configuration script generated by Autoconf, you may include it under
+ # the same distribution terms that you use for the rest of that program.
+ 
+-# Please send patches to <config-patches@gnu.org>.
++# Please send patches to <config-patches@gnu.org>.  Submit a context
++# diff and a properly formatted ChangeLog entry.
+ #
+ # Configuration subroutine to validate and canonicalize a configuration type.
+ # Supply the specified configuration type as an argument.
+@@ -60,16 +61,30 @@
+ Canonicalize a configuration name.
+ 
+ Operation modes:
+-  -h, --help               print this help, then exit
+-  -V, --version            print version number, then exit"
++  -h, --help         print this help, then exit
++  -t, --time-stamp   print date of last modification, then exit
++  -v, --version      print version number, then exit
++
++Report bugs and patches to <config-patches@gnu.org>."
++
++version="\
++GNU config.sub ($timestamp)
++
++Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
++Free Software Foundation, Inc.
++
++This is free software; see the source for copying conditions.  There is NO
++warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
+ 
+ help="
+ Try \`$me --help' for more information."
+ 
+ # Parse command line
+ while test $# -gt 0 ; do
+-  case "$1" in
+-    --version | --vers* | -V )
++  case $1 in
++    --time-stamp | --time* | -t )
++       echo "$timestamp" ; exit 0 ;;
++    --version | -v )
+        echo "$version" ; exit 0 ;;
+     --help | --h* | -h )
+        echo "$usage"; exit 0 ;;
+@@ -78,9 +93,7 @@
+     - )	# Use stdin as input.
+        break ;;
+     -* )
+-       exec >&2
+-       echo "$me: invalid option $1"
+-       echo "$help"
++       echo "$me: invalid option $1$help"
+        exit 1 ;;
+ 
+     *local*)
+@@ -105,7 +118,7 @@
+ # Here we must recognize all the valid KERNEL-OS combinations.
+ maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
+ case $maybe_os in
+-  nto-qnx* | linux-gnu*)
++  nto-qnx* | linux-gnu* | storm-chaos* | os2-emx* | windows32-*)
+     os=-$maybe_os
+     basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
+     ;;
+@@ -145,6 +158,14 @@
+ 		os=-vxworks
+ 		basic_machine=$1
+ 		;;
++	-chorusos*)
++		os=-chorusos
++		basic_machine=$1
++		;;
++ 	-chorusrdb)
++ 		os=-chorusrdb
++		basic_machine=$1
++ 		;;
+ 	-hiux*)
+ 		os=-hiuxwe2
+ 		;;
+@@ -203,22 +224,36 @@
+ case $basic_machine in
+ 	# Recognize the basic CPU types without company name.
+ 	# Some are omitted here because they have special meanings below.
+-	tahoe | i860 | ia64 | m32r | m68k | m68000 | m88k | ns32k | arc | arm \
+-		| arme[lb] | armv[2345] | armv[345][lb] | pyramid | mn10200 | mn10300 | tron | a29k \
+-		| 580 | i960 | h8300 \
+-		| x86 | ppcbe | mipsbe | mipsle | shbe | shle | armbe | armle \
+-		| hppa | hppa1.0 | hppa1.1 | hppa2.0 | hppa2.0w | hppa2.0n \
+-		| hppa64 \
+-		| alpha | alphaev[4-8] | alphaev56 | alphapca5[67] \
+-		| alphaev6[78] \
+-		| we32k | ns16k | clipper | i370 | sh | sh[34] \
+-		| powerpc | powerpcle \
+-		| 1750a | dsp16xx | pdp11 | mips16 | mips64 | mipsel | mips64el \
+-		| mips64orion | mips64orionel | mipstx39 | mipstx39el \
+-		| mips64vr4300 | mips64vr4300el | mips64vr4100 | mips64vr4100el \
+-		| mips64vr5000 | miprs64vr5000el | mcore \
+-		| sparc | sparclet | sparclite | sparc64 | sparcv9 | v850 | c4x \
+-		| thumb | d10v | d30v | fr30 | avr)
++	1750a | 580 \
++	| a29k \
++	| alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
++	| arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
++	| c4x | clipper \
++	| d10v | d30v | dsp16xx \
++	| fr30 \
++	| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
++	| i370 | i860 | i960 | ia64 \
++	| m32r | m68000 | m68k | m88k | mcore \
++	| mips16 | mips64 | mips64el | mips64orion | mips64orionel \
++	| mips64vr4100 | mips64vr4100el | mips64vr4300 \
++	| mips64vr4300el | mips64vr5000 | mips64vr5000el \
++	| mipsbe | mipseb | mipsel | mipsle | mipstx39 | mipstx39el \
++	| mipsisa32 \
++	| mn10200 | mn10300 \
++	| ns16k | ns32k \
++	| openrisc \
++	| pdp10 | pdp11 | pj | pjl \
++	| powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
++	| pyramid \
++	| s390 | s390x \
++	| sh | sh[34] | sh[34]eb | shbe | shle \
++	| sparc | sparc64 | sparclet | sparclite | sparcv9 | sparcv9b \
++	| stormy16 | strongarm \
++	| tahoe | thumb | tic80 | tron \
++	| v850 \
++	| we32k \
++	| x86 | xscale \
++	| z8k)
+ 		basic_machine=$basic_machine-unknown
+ 		;;
+ 	m6811 | m68hc11 | m6812 | m68hc12)
+@@ -226,13 +261,13 @@
+ 		basic_machine=$basic_machine-unknown
+ 		os=-none
+ 		;;
+-	m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | z8k | v70 | h8500 | w65 | pj | pjl)
++	m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
+ 		;;
+ 
+ 	# We use `pc' rather than `unknown'
+ 	# because (1) that's what they normally are, and
+ 	# (2) the word "unknown" tends to confuse beginning users.
+-	i[234567]86 | x86_64)
++	i*86 | x86_64)
+ 	  basic_machine=$basic_machine-pc
+ 	  ;;
+ 	# Object if more than one company name word.
+@@ -241,28 +276,44 @@
+ 		exit 1
+ 		;;
+ 	# Recognize the basic CPU types with company name.
+-	# FIXME: clean up the formatting here.
+-	vax-* | tahoe-* | i[234567]86-* | i860-* | ia64-* | m32r-* | m68k-* | m68000-* \
+-	      | m88k-* | sparc-* | ns32k-* | fx80-* | arc-* | arm-* | c[123]* \
+-	      | mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \
+-	      | power-* | none-* | 580-* | cray2-* | h8300-* | h8500-* | i960-* \
+-	      | xmp-* | ymp-* \
+-	      | x86-* | ppcbe-* | mipsbe-* | mipsle-* | shbe-* | shle-* | armbe-* | armle-* \
+-	      | hppa-* | hppa1.0-* | hppa1.1-* | hppa2.0-* | hppa2.0w-* \
+-	      | hppa2.0n-* | hppa64-* \
+-	      | alpha-* | alphaev[4-8]-* | alphaev56-* | alphapca5[67]-* \
+-	      | alphaev6[78]-* \
+-	      | we32k-* | cydra-* | ns16k-* | pn-* | np1-* | xps100-* \
+-	      | clipper-* | orion-* \
+-	      | sparclite-* | pdp11-* | sh-* | powerpc-* | powerpcle-* \
+-	      | sparc64-* | sparcv9-* | sparc86x-* | mips16-* | mips64-* | mipsel-* \
+-	      | mips64el-* | mips64orion-* | mips64orionel-* \
+-	      | mips64vr4100-* | mips64vr4100el-* | mips64vr4300-* | mips64vr4300el-* \
+-	      | mipstx39-* | mipstx39el-* | mcore-* \
+-	      | f301-* | armv*-* | s390-* | sv1-* | t3e-* \
+-	      | m88110-* | m680[01234]0-* | m683?2-* | m68360-* | z8k-* | d10v-* \
+-	      | thumb-* | v850-* | d30v-* | tic30-* | c30-* | fr30-* \
+-	      | bs2000-* | tic54x-* | c54x-* | x86_64-*)
++	580-* \
++	| a29k-* \
++	| alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
++	| alphapca5[67]-* | arc-* \
++	| arm-*  | armbe-* | armle-* | armv*-* \
++	| avr-* \
++	| bs2000-* \
++	| c[123]* | c30-* | [cjt]90-* | c54x-* \
++	| clipper-* | cray2-* | cydra-* \
++	| d10v-* | d30v-* \
++	| elxsi-* \
++	| f30[01]-* | f700-* | fr30-* | fx80-* \
++	| h8300-* | h8500-* \
++	| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
++	| i*86-* | i860-* | i960-* | ia64-* \
++	| m32r-* \
++	| m68000-* | m680[01234]0-* | m68360-* | m683?2-* | m68k-* \
++	| m88110-* | m88k-* | mcore-* \
++	| mips-* | mips16-* | mips64-* | mips64el-* | mips64orion-* \
++	| mips64orionel-* | mips64vr4100-* | mips64vr4100el-* \
++	| mips64vr4300-* | mips64vr4300el-* | mipsbe-* | mipseb-* \
++	| mipsle-* | mipsel-* | mipstx39-* | mipstx39el-* \
++	| none-* | np1-* | ns16k-* | ns32k-* \
++	| orion-* \
++	| pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
++	| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
++	| pyramid-* \
++	| romp-* | rs6000-* \
++	| s390-* | s390x-* \
++	| sh-* | sh[34]-* | sh[34]eb-* | shbe-* | shle-* \
++	| sparc-* | sparc64-* | sparc86x-* | sparclite-* \
++	| sparcv9-* | sparcv9b-* | stormy16-* | strongarm-* | sv1-* \
++	| t3e-* | tahoe-* | thumb-* | tic30-* | tic54x-* | tic80-* | tron-* \
++	| v850-* | vax-* \
++	| we32k-* \
++	| x86-* | x86_64-* | xmp-* | xps100-* | xscale-* \
++	| ymp-* \
++	| z8k-*)
+ 		;;
+ 	# Recognize the various machine names and aliases which stand
+ 	# for a CPU type and a company and sometimes even an OS.
+@@ -353,8 +404,8 @@
+ 		basic_machine=cray2-cray
+ 		os=-unicos
+ 		;;
+-	[ctj]90-cray)
+-		basic_machine=c90-cray
++	[cjt]90)
++		basic_machine=${basic_machine}-cray
+ 		os=-unicos
+ 		;;
+ 	crds | unos)
+@@ -410,6 +461,10 @@
+ 		basic_machine=tron-gmicro
+ 		os=-sysv
+ 		;;
++	go32)
++		basic_machine=i386-pc
++		os=-go32
++		;;
+ 	h3050r* | hiux*)
+ 		basic_machine=hppa1.1-hitachi
+ 		os=-hiuxwe2
+@@ -485,19 +540,19 @@
+ 		basic_machine=i370-ibm
+ 		;;
+ # I'm not sure what "Sysv32" means.  Should this be sysv3.2?
+-	i[34567]86v32)
++	i*86v32)
+ 		basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
+ 		os=-sysv32
+ 		;;
+-	i[34567]86v4*)
++	i*86v4*)
+ 		basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
+ 		os=-sysv4
+ 		;;
+-	i[34567]86v)
++	i*86v)
+ 		basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
+ 		os=-sysv
+ 		;;
+-	i[34567]86sol2)
++	i*86sol2)
+ 		basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
+ 		os=-solaris2
+ 		;;
+@@ -509,18 +564,6 @@
+ 		basic_machine=i386-unknown
+ 		os=-vsta
+ 		;;
+-	i386-go32 | go32)
+-		basic_machine=i386-unknown
+-		os=-go32
+-		;;
+-	i386-mingw32 | mingw32)
+-		basic_machine=i386-unknown
+-		os=-mingw32
+-		;;
+-	i[34567]86-pw32 | pw32)
+-		basic_machine=i586-unknown
+-		os=-pw32
+-		;;
+ 	iris | iris4d)
+ 		basic_machine=mips-sgi
+ 		case $os in
+@@ -546,6 +589,10 @@
+ 		basic_machine=ns32k-utek
+ 		os=-sysv
+ 		;;
++	mingw32)
++		basic_machine=i386-pc
++		os=-mingw32
++		;;
+ 	miniframe)
+ 		basic_machine=m68000-convergent
+ 		;;
+@@ -576,7 +623,7 @@
+ 		os=-coff
+ 		;;
+ 	msdos)
+-		basic_machine=i386-unknown
++		basic_machine=i386-pc
+ 		os=-msdos
+ 		;;
+ 	mvs)
+@@ -640,6 +687,10 @@
+ 		basic_machine=i960-intel
+ 		os=-mon960
+ 		;;
++	nonstopux)
++		basic_machine=mips-compaq
++		os=-nonstopux
++		;;
+ 	np1)
+ 		basic_machine=np1-gould
+ 		;;
+@@ -675,28 +726,28 @@
+         pc532 | pc532-*)
+ 		basic_machine=ns32k-pc532
+ 		;;
+-	pentium | p5 | k5 | k6 | nexen)
++	pentium | p5 | k5 | k6 | nexgen | viac3)
+ 		basic_machine=i586-pc
+ 		;;
+ 	pentiumpro | p6 | 6x86 | athlon)
+ 		basic_machine=i686-pc
+ 		;;
+ 	pentiumii | pentium2)
+-		basic_machine=i786-pc
++		basic_machine=i686-pc
+ 		;;
+-	pentium-* | p5-* | k5-* | k6-* | nexen-*)
++	pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
+ 		basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
+ 		;;
+ 	pentiumpro-* | p6-* | 6x86-* | athlon-*)
+ 		basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
+ 		;;
+ 	pentiumii-* | pentium2-*)
+-		basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
++		basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
+ 		;;
+ 	pn)
+ 		basic_machine=pn-gould
+ 		;;
+-	power)	basic_machine=rs6000-ibm
++	power)	basic_machine=power-ibm
+ 		;;
+ 	ppc)	basic_machine=powerpc-unknown
+ 	        ;;
+@@ -708,9 +759,23 @@
+ 	ppcle-* | powerpclittle-*)
+ 		basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
+ 		;;
++	ppc64)	basic_machine=powerpc64-unknown
++	        ;;
++	ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
++		;;
++	ppc64le | powerpc64little | ppc64-le | powerpc64-little)
++		basic_machine=powerpc64le-unknown
++	        ;;
++	ppc64le-* | powerpc64little-*)
++		basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
++		;;
+ 	ps2)
+ 		basic_machine=i386-ibm
+ 		;;
++	pw32)
++		basic_machine=i586-unknown
++		os=-pw32
++		;;
+ 	rom68k)
+ 		basic_machine=m68k-rom68k
+ 		os=-coff
+@@ -732,7 +797,7 @@
+ 		basic_machine=sh-hitachi
+ 		os=-hms
+ 		;;
+-	sparclite-wrs)
++	sparclite-wrs | simso-wrs)
+ 		basic_machine=sparclite-wrs
+ 		os=-vxworks
+ 		;;
+@@ -858,6 +923,10 @@
+ 		basic_machine=hppa1.1-winbond
+ 		os=-proelf
+ 		;;
++	windows32)
++		basic_machine=i386-pc
++		os=-windows32-msvcrt
++		;;
+ 	xmp)
+ 		basic_machine=xmp-cray
+ 		os=-unicos
+@@ -901,16 +970,20 @@
+ 	vax)
+ 		basic_machine=vax-dec
+ 		;;
++	pdp10)
++		# there are many clones, so DEC is not a safe bet
++		basic_machine=pdp10-unknown
++		;;
+ 	pdp11)
+ 		basic_machine=pdp11-dec
+ 		;;
+ 	we32k)
+ 		basic_machine=we32k-att
+ 		;;
+-	sh3 | sh4)
+-		base_machine=sh-unknown
++	sh3 | sh4 | sh3eb | sh4eb)
++		basic_machine=sh-unknown
+ 		;;
+-	sparc | sparcv9)
++	sparc | sparcv9 | sparcv9b)
+ 		basic_machine=sparc-sun
+ 		;;
+         cydra)
+@@ -932,6 +1005,9 @@
+ 		basic_machine=c4x-none
+ 		os=-coff
+ 		;;
++	*-unknown)
++		# Make sure to match an already-canonicalized machine name.
++		;;
+ 	*)
+ 		echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
+ 		exit 1
+@@ -988,15 +1064,18 @@
+ 	      | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
+ 	      | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
+ 	      | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
++	      | -chorusos* | -chorusrdb* \
+ 	      | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
+ 	      | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
+ 	      | -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \
+-	      | -openstep* | -oskit* | -conix* | -pw32*)
++	      | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
++	      | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
++	      | -os2* | -vos*)
+ 	# Remember, each alternative MUST END IN *, to match a version number.
+ 		;;
+ 	-qnx*)
+ 		case $basic_machine in
+-		    x86-* | i[34567]86-*)
++		    x86-* | i*86-*)
+ 			;;
+ 		    *)
+ 			os=-nto$os
+@@ -1089,7 +1168,7 @@
+ 	-xenix)
+ 		os=-xenix
+ 		;;
+-        -*mint | -*MiNT)
++        -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
+ 	        os=-mint
+ 		;;
+ 	-none)
+@@ -1123,6 +1202,9 @@
+ 	arm*-semi)
+ 		os=-aout
+ 		;;
++	pdp10-*)
++		os=-tops20
++		;;
+         pdp11-*)
+ 		os=-none
+ 		;;
+@@ -1231,7 +1313,7 @@
+ 	*-masscomp)
+ 		os=-rtu
+ 		;;
+-	f301-fujitsu)
++	f30[01]-fujitsu | f700-fujitsu)
+ 		os=-uxpv
+ 		;;
+ 	*-rom68k)
+@@ -1309,9 +1391,12 @@
+ 			-mpw* | -macos*)
+ 				vendor=apple
+ 				;;
+-			-*mint | -*MiNT)
++			-*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
+ 				vendor=atari
+ 				;;
++			-vos*)
++				vendor=stratus
++				;;
+ 		esac
+ 		basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
+ 		;;
+@@ -1322,7 +1407,7 @@
+ 
+ # Local variables:
+ # eval: (add-hook 'write-file-hooks 'time-stamp)
+-# time-stamp-start: "version='"
++# time-stamp-start: "timestamp='"
+ # time-stamp-format: "%:y-%02m-%02d"
+ # time-stamp-end: "'"
+ # End:
+diff -ruN heimdal-0.4e-old/configure heimdal-0.4e/configure
+--- heimdal-0.4e-old/configure	Thu Sep  6 22:31:32 2001
++++ heimdal-0.4e/configure	Wed Nov 21 11:52:13 2001
+@@ -18,6 +18,7 @@
+     *-DOS) lt_cv_sys_path_separator=';' ;;
+     *)     lt_cv_sys_path_separator=':' ;;
+   esac
++  PATH_SEPARATOR=$lt_cv_sys_path_separator
+ fi
+ 
+ # Check that we are running under the correct shell.
+@@ -83,7 +84,7 @@
+   #
+   # So, first we look for a working echo in the user's PATH.
+ 
+-  IFS="${IFS= 	}"; save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR}"
++  IFS="${IFS= 	}"; save_ifs="$IFS"; IFS=$PATH_SEPARATOR
+   for dir in $PATH /usr/ucb; do
+     if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
+        test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
+@@ -1070,7 +1071,7 @@
+ fi
+ for ac_site_file in $CONFIG_SITE; do
+   if test -r "$ac_site_file"; then
+-    { echo "$as_me:1073: loading site script $ac_site_file" >&5
++    { echo "$as_me:1074: loading site script $ac_site_file" >&5
+ echo "$as_me: loading site script $ac_site_file" >&6;}
+     cat "$ac_site_file" >&5
+     . "$ac_site_file"
+@@ -1081,7 +1082,7 @@
+   # Some versions of bash will fail to source /dev/null (special
+   # files actually), so we avoid doing that.
+   if test -f "$cache_file"; then
+-    { echo "$as_me:1084: loading cache $cache_file" >&5
++    { echo "$as_me:1085: loading cache $cache_file" >&5
+ echo "$as_me: loading cache $cache_file" >&6;}
+     case $cache_file in
+       [\\/]* | ?:[\\/]* ) . $cache_file;;
+@@ -1089,7 +1090,7 @@
+     esac
+   fi
+ else
+-  { echo "$as_me:1092: creating cache $cache_file" >&5
++  { echo "$as_me:1093: creating cache $cache_file" >&5
+ echo "$as_me: creating cache $cache_file" >&6;}
+   >$cache_file
+ fi
+@@ -1105,21 +1106,21 @@
+   eval ac_new_val="\$ac_env_${ac_var}_value"
+   case $ac_old_set,$ac_new_set in
+     set,)
+-      { echo "$as_me:1108: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
++      { echo "$as_me:1109: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
+ echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
+       ac_cache_corrupted=: ;;
+     ,set)
+-      { echo "$as_me:1112: error: \`$ac_var' was not set in the previous run" >&5
++      { echo "$as_me:1113: error: \`$ac_var' was not set in the previous run" >&5
+ echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
+       ac_cache_corrupted=: ;;
+     ,);;
+     *)
+       if test "x$ac_old_val" != "x$ac_new_val"; then
+-        { echo "$as_me:1118: error: \`$ac_var' has changed since the previous run:" >&5
++        { echo "$as_me:1119: error: \`$ac_var' has changed since the previous run:" >&5
+ echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
+-        { echo "$as_me:1120:   former value:  $ac_old_val" >&5
++        { echo "$as_me:1121:   former value:  $ac_old_val" >&5
+ echo "$as_me:   former value:  $ac_old_val" >&2;}
+-        { echo "$as_me:1122:   current value: $ac_new_val" >&5
++        { echo "$as_me:1123:   current value: $ac_new_val" >&5
+ echo "$as_me:   current value: $ac_new_val" >&2;}
+         ac_cache_corrupted=:
+       fi;;
+@@ -1138,9 +1139,9 @@
+   fi
+ done
+ if $ac_cache_corrupted; then
+-  { echo "$as_me:1141: error: changes in the environment can compromise the build" >&5
++  { echo "$as_me:1142: error: changes in the environment can compromise the build" >&5
+ echo "$as_me: error: changes in the environment can compromise the build" >&2;}
+-  { { echo "$as_me:1143: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
++  { { echo "$as_me:1144: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
+ echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
+    { (exit 1); exit 1; }; }
+ fi
+@@ -1160,10 +1161,10 @@
+ echo "#! $SHELL" >conftest.sh
+ echo  "exit 0"   >>conftest.sh
+ chmod +x conftest.sh
+-if { (echo "$as_me:1163: PATH=\".;.\"; conftest.sh") >&5
++if { (echo "$as_me:1164: PATH=\".;.\"; conftest.sh") >&5
+   (PATH=".;."; conftest.sh) 2>&5
+   ac_status=$?
+-  echo "$as_me:1166: \$? = $ac_status" >&5
++  echo "$as_me:1167: \$? = $ac_status" >&5
+   (exit $ac_status); }; then
+   ac_path_separator=';'
+ else
+@@ -1172,9 +1173,7 @@
+ PATH_SEPARATOR="$ac_path_separator"
+ rm -f conftest.sh
+ 
+-ac_config_headers="$ac_config_headers include/config.h"
+-
+-  ac_config_commands="$ac_config_commands default-1"
++		    		    		    ac_config_headers="$ac_config_headers include/config.h"
+ 
+ ac_ext=c
+ ac_cpp='$CPP $CPPFLAGS'
+@@ -1184,7 +1183,7 @@
+ if test -n "$ac_tool_prefix"; then
+   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
+ set dummy ${ac_tool_prefix}gcc; ac_word=$2
+-echo "$as_me:1187: checking for $ac_word" >&5
++echo "$as_me:1186: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_CC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -1199,7 +1198,7 @@
+   test -z "$ac_dir" && ac_dir=.
+   $as_executable_p "$ac_dir/$ac_word" || continue
+ ac_cv_prog_CC="${ac_tool_prefix}gcc"
+-echo "$as_me:1202: found $ac_dir/$ac_word" >&5
++echo "$as_me:1201: found $ac_dir/$ac_word" >&5
+ break
+ done
+ 
+@@ -1207,10 +1206,10 @@
+ fi
+ CC=$ac_cv_prog_CC
+ if test -n "$CC"; then
+-  echo "$as_me:1210: result: $CC" >&5
++  echo "$as_me:1209: result: $CC" >&5
+ echo "${ECHO_T}$CC" >&6
+ else
+-  echo "$as_me:1213: result: no" >&5
++  echo "$as_me:1212: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+@@ -1219,7 +1218,7 @@
+   ac_ct_CC=$CC
+   # Extract the first word of "gcc", so it can be a program name with args.
+ set dummy gcc; ac_word=$2
+-echo "$as_me:1222: checking for $ac_word" >&5
++echo "$as_me:1221: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -1234,7 +1233,7 @@
+   test -z "$ac_dir" && ac_dir=.
+   $as_executable_p "$ac_dir/$ac_word" || continue
+ ac_cv_prog_ac_ct_CC="gcc"
+-echo "$as_me:1237: found $ac_dir/$ac_word" >&5
++echo "$as_me:1236: found $ac_dir/$ac_word" >&5
+ break
+ done
+ 
+@@ -1242,10 +1241,10 @@
+ fi
+ ac_ct_CC=$ac_cv_prog_ac_ct_CC
+ if test -n "$ac_ct_CC"; then
+-  echo "$as_me:1245: result: $ac_ct_CC" >&5
++  echo "$as_me:1244: result: $ac_ct_CC" >&5
+ echo "${ECHO_T}$ac_ct_CC" >&6
+ else
+-  echo "$as_me:1248: result: no" >&5
++  echo "$as_me:1247: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+@@ -1258,7 +1257,7 @@
+   if test -n "$ac_tool_prefix"; then
+   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
+ set dummy ${ac_tool_prefix}cc; ac_word=$2
+-echo "$as_me:1261: checking for $ac_word" >&5
++echo "$as_me:1260: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_CC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -1273,7 +1272,7 @@
+   test -z "$ac_dir" && ac_dir=.
+   $as_executable_p "$ac_dir/$ac_word" || continue
+ ac_cv_prog_CC="${ac_tool_prefix}cc"
+-echo "$as_me:1276: found $ac_dir/$ac_word" >&5
++echo "$as_me:1275: found $ac_dir/$ac_word" >&5
+ break
+ done
+ 
+@@ -1281,10 +1280,10 @@
+ fi
+ CC=$ac_cv_prog_CC
+ if test -n "$CC"; then
+-  echo "$as_me:1284: result: $CC" >&5
++  echo "$as_me:1283: result: $CC" >&5
+ echo "${ECHO_T}$CC" >&6
+ else
+-  echo "$as_me:1287: result: no" >&5
++  echo "$as_me:1286: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+@@ -1293,7 +1292,7 @@
+   ac_ct_CC=$CC
+   # Extract the first word of "cc", so it can be a program name with args.
+ set dummy cc; ac_word=$2
+-echo "$as_me:1296: checking for $ac_word" >&5
++echo "$as_me:1295: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -1308,7 +1307,7 @@
+   test -z "$ac_dir" && ac_dir=.
+   $as_executable_p "$ac_dir/$ac_word" || continue
+ ac_cv_prog_ac_ct_CC="cc"
+-echo "$as_me:1311: found $ac_dir/$ac_word" >&5
++echo "$as_me:1310: found $ac_dir/$ac_word" >&5
+ break
+ done
+ 
+@@ -1316,10 +1315,10 @@
+ fi
+ ac_ct_CC=$ac_cv_prog_ac_ct_CC
+ if test -n "$ac_ct_CC"; then
+-  echo "$as_me:1319: result: $ac_ct_CC" >&5
++  echo "$as_me:1318: result: $ac_ct_CC" >&5
+ echo "${ECHO_T}$ac_ct_CC" >&6
+ else
+-  echo "$as_me:1322: result: no" >&5
++  echo "$as_me:1321: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+@@ -1332,7 +1331,7 @@
+ 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 "$as_me:1335: checking for $ac_word" >&5
++echo "$as_me:1334: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_CC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -1352,7 +1351,7 @@
+   continue
+ fi
+ ac_cv_prog_CC="cc"
+-echo "$as_me:1355: found $ac_dir/$ac_word" >&5
++echo "$as_me:1354: found $ac_dir/$ac_word" >&5
+ break
+ done
+ 
+@@ -1374,10 +1373,10 @@
+ fi
+ CC=$ac_cv_prog_CC
+ if test -n "$CC"; then
+-  echo "$as_me:1377: result: $CC" >&5
++  echo "$as_me:1376: result: $CC" >&5
+ echo "${ECHO_T}$CC" >&6
+ else
+-  echo "$as_me:1380: result: no" >&5
++  echo "$as_me:1379: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+@@ -1388,7 +1387,7 @@
+   do
+     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
+ set dummy $ac_tool_prefix$ac_prog; ac_word=$2
+-echo "$as_me:1391: checking for $ac_word" >&5
++echo "$as_me:1390: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_CC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -1403,7 +1402,7 @@
+   test -z "$ac_dir" && ac_dir=.
+   $as_executable_p "$ac_dir/$ac_word" || continue
+ ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
+-echo "$as_me:1406: found $ac_dir/$ac_word" >&5
++echo "$as_me:1405: found $ac_dir/$ac_word" >&5
+ break
+ done
+ 
+@@ -1411,10 +1410,10 @@
+ fi
+ CC=$ac_cv_prog_CC
+ if test -n "$CC"; then
+-  echo "$as_me:1414: result: $CC" >&5
++  echo "$as_me:1413: result: $CC" >&5
+ echo "${ECHO_T}$CC" >&6
+ else
+-  echo "$as_me:1417: result: no" >&5
++  echo "$as_me:1416: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+@@ -1427,7 +1426,7 @@
+ do
+   # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+-echo "$as_me:1430: checking for $ac_word" >&5
++echo "$as_me:1429: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -1442,7 +1441,7 @@
+   test -z "$ac_dir" && ac_dir=.
+   $as_executable_p "$ac_dir/$ac_word" || continue
+ ac_cv_prog_ac_ct_CC="$ac_prog"
+-echo "$as_me:1445: found $ac_dir/$ac_word" >&5
++echo "$as_me:1444: found $ac_dir/$ac_word" >&5
+ break
+ done
+ 
+@@ -1450,10 +1449,10 @@
+ fi
+ ac_ct_CC=$ac_cv_prog_ac_ct_CC
+ if test -n "$ac_ct_CC"; then
+-  echo "$as_me:1453: result: $ac_ct_CC" >&5
++  echo "$as_me:1452: result: $ac_ct_CC" >&5
+ echo "${ECHO_T}$ac_ct_CC" >&6
+ else
+-  echo "$as_me:1456: result: no" >&5
++  echo "$as_me:1455: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+@@ -1465,32 +1464,32 @@
+ 
+ fi
+ 
+-test -z "$CC" && { { echo "$as_me:1468: error: no acceptable cc found in \$PATH" >&5
++test -z "$CC" && { { echo "$as_me:1467: error: no acceptable cc found in \$PATH" >&5
+ echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
+    { (exit 1); exit 1; }; }
+ 
+ # Provide some information about the compiler.
+-echo "$as_me:1473:" \
++echo "$as_me:1472:" \
+      "checking for C compiler version" >&5
+ ac_compiler=`set X $ac_compile; echo $2`
+-{ (eval echo "$as_me:1476: \"$ac_compiler --version </dev/null >&5\"") >&5
++{ (eval echo "$as_me:1475: \"$ac_compiler --version </dev/null >&5\"") >&5
+   (eval $ac_compiler --version </dev/null >&5) 2>&5
+   ac_status=$?
+-  echo "$as_me:1479: \$? = $ac_status" >&5
++  echo "$as_me:1478: \$? = $ac_status" >&5
+   (exit $ac_status); }
+-{ (eval echo "$as_me:1481: \"$ac_compiler -v </dev/null >&5\"") >&5
++{ (eval echo "$as_me:1480: \"$ac_compiler -v </dev/null >&5\"") >&5
+   (eval $ac_compiler -v </dev/null >&5) 2>&5
+   ac_status=$?
+-  echo "$as_me:1484: \$? = $ac_status" >&5
++  echo "$as_me:1483: \$? = $ac_status" >&5
+   (exit $ac_status); }
+-{ (eval echo "$as_me:1486: \"$ac_compiler -V </dev/null >&5\"") >&5
++{ (eval echo "$as_me:1485: \"$ac_compiler -V </dev/null >&5\"") >&5
+   (eval $ac_compiler -V </dev/null >&5) 2>&5
+   ac_status=$?
+-  echo "$as_me:1489: \$? = $ac_status" >&5
++  echo "$as_me:1488: \$? = $ac_status" >&5
+   (exit $ac_status); }
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 1493 "configure"
++#line 1492 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -1506,13 +1505,13 @@
+ # Try to create an executable without -o first, disregard a.out.
+ # It will help us diagnose broken compilers, and finding out an intuition
+ # of exeext.
+-echo "$as_me:1509: checking for C compiler default output" >&5
++echo "$as_me:1508: checking for C compiler default output" >&5
+ echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
+ ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
+-if { (eval echo "$as_me:1512: \"$ac_link_default\"") >&5
++if { (eval echo "$as_me:1511: \"$ac_link_default\"") >&5
+   (eval $ac_link_default) 2>&5
+   ac_status=$?
+-  echo "$as_me:1515: \$? = $ac_status" >&5
++  echo "$as_me:1514: \$? = $ac_status" >&5
+   (exit $ac_status); }; then
+   # Find the output, starting from the most likely.  This scheme is
+ # not robust to junk in `.', hence go to wildcards (a.*) only as a last
+@@ -1535,34 +1534,34 @@
+ else
+   echo "$as_me: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+-{ { echo "$as_me:1538: error: C compiler cannot create executables" >&5
++{ { echo "$as_me:1537: error: C compiler cannot create executables" >&5
+ echo "$as_me: error: C compiler cannot create executables" >&2;}
+    { (exit 77); exit 77; }; }
+ fi
+ 
+ ac_exeext=$ac_cv_exeext
+-echo "$as_me:1544: result: $ac_file" >&5
++echo "$as_me:1543: result: $ac_file" >&5
+ echo "${ECHO_T}$ac_file" >&6
+ 
+ # Check the compiler produces executables we can run.  If not, either
+ # the compiler is broken, or we cross compile.
+-echo "$as_me:1549: checking whether the C compiler works" >&5
++echo "$as_me:1548: checking whether the C compiler works" >&5
+ echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
+ # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
+ # If not cross compiling, check that we can run a simple program.
+ if test "$cross_compiling" != yes; then
+   if { ac_try='./$ac_file'
+-  { (eval echo "$as_me:1555: \"$ac_try\"") >&5
++  { (eval echo "$as_me:1554: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:1558: \$? = $ac_status" >&5
++  echo "$as_me:1557: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+     cross_compiling=no
+   else
+     if test "$cross_compiling" = maybe; then
+ 	cross_compiling=yes
+     else
+-	{ { echo "$as_me:1565: error: cannot run C compiled programs.
++	{ { echo "$as_me:1564: error: cannot run C compiled programs.
+ If you meant to cross compile, use \`--host'." >&5
+ echo "$as_me: error: cannot run C compiled programs.
+ If you meant to cross compile, use \`--host'." >&2;}
+@@ -1570,24 +1569,24 @@
+     fi
+   fi
+ fi
+-echo "$as_me:1573: result: yes" >&5
++echo "$as_me:1572: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 
+ rm -f a.out a.exe conftest$ac_cv_exeext
+ ac_clean_files=$ac_clean_files_save
+ # Check the compiler produces executables we can run.  If not, either
+ # the compiler is broken, or we cross compile.
+-echo "$as_me:1580: checking whether we are cross compiling" >&5
++echo "$as_me:1579: checking whether we are cross compiling" >&5
+ echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
+-echo "$as_me:1582: result: $cross_compiling" >&5
++echo "$as_me:1581: result: $cross_compiling" >&5
+ echo "${ECHO_T}$cross_compiling" >&6
+ 
+-echo "$as_me:1585: checking for executable suffix" >&5
++echo "$as_me:1584: checking for executable suffix" >&5
+ echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
+-if { (eval echo "$as_me:1587: \"$ac_link\"") >&5
++if { (eval echo "$as_me:1586: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:1590: \$? = $ac_status" >&5
++  echo "$as_me:1589: \$? = $ac_status" >&5
+   (exit $ac_status); }; then
+   # If both `conftest.exe' and `conftest' are `present' (well, observable)
+ # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
+@@ -1603,25 +1602,25 @@
+   esac
+ done
+ else
+-  { { echo "$as_me:1606: error: cannot compute EXEEXT: cannot compile and link" >&5
++  { { echo "$as_me:1605: error: cannot compute EXEEXT: cannot compile and link" >&5
+ echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
+    { (exit 1); exit 1; }; }
+ fi
+ 
+ rm -f conftest$ac_cv_exeext
+-echo "$as_me:1612: result: $ac_cv_exeext" >&5
++echo "$as_me:1611: result: $ac_cv_exeext" >&5
+ echo "${ECHO_T}$ac_cv_exeext" >&6
+ 
+ rm -f conftest.$ac_ext
+ EXEEXT=$ac_cv_exeext
+ ac_exeext=$EXEEXT
+-echo "$as_me:1618: checking for object suffix" >&5
++echo "$as_me:1617: checking for object suffix" >&5
+ echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
+ if test "${ac_cv_objext+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 1624 "configure"
++#line 1623 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -1633,10 +1632,10 @@
+ }
+ _ACEOF
+ rm -f conftest.o conftest.obj
+-if { (eval echo "$as_me:1636: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:1635: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:1639: \$? = $ac_status" >&5
++  echo "$as_me:1638: \$? = $ac_status" >&5
+   (exit $ac_status); }; then
+   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
+   case $ac_file in
+@@ -1648,24 +1647,24 @@
+ else
+   echo "$as_me: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+-{ { echo "$as_me:1651: error: cannot compute OBJEXT: cannot compile" >&5
++{ { echo "$as_me:1650: error: cannot compute OBJEXT: cannot compile" >&5
+ echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
+    { (exit 1); exit 1; }; }
+ fi
+ 
+ rm -f conftest.$ac_cv_objext conftest.$ac_ext
+ fi
+-echo "$as_me:1658: result: $ac_cv_objext" >&5
++echo "$as_me:1657: result: $ac_cv_objext" >&5
+ echo "${ECHO_T}$ac_cv_objext" >&6
+ OBJEXT=$ac_cv_objext
+ ac_objext=$OBJEXT
+-echo "$as_me:1662: checking whether we are using the GNU C compiler" >&5
++echo "$as_me:1661: checking whether we are using the GNU C compiler" >&5
+ echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
+ if test "${ac_cv_c_compiler_gnu+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 1668 "configure"
++#line 1667 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -1680,16 +1679,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:1683: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:1682: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:1686: \$? = $ac_status" >&5
++  echo "$as_me:1685: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:1689: \"$ac_try\"") >&5
++  { (eval echo "$as_me:1688: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:1692: \$? = $ac_status" >&5
++  echo "$as_me:1691: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_compiler_gnu=yes
+ else
+@@ -1701,19 +1700,19 @@
+ ac_cv_c_compiler_gnu=$ac_compiler_gnu
+ 
+ fi
+-echo "$as_me:1704: result: $ac_cv_c_compiler_gnu" >&5
++echo "$as_me:1703: result: $ac_cv_c_compiler_gnu" >&5
+ echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
+ GCC=`test $ac_compiler_gnu = yes && echo yes`
+ ac_test_CFLAGS=${CFLAGS+set}
+ ac_save_CFLAGS=$CFLAGS
+ CFLAGS="-g"
+-echo "$as_me:1710: checking whether $CC accepts -g" >&5
++echo "$as_me:1709: checking whether $CC accepts -g" >&5
+ echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
+ if test "${ac_cv_prog_cc_g+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 1716 "configure"
++#line 1715 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -1725,16 +1724,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:1728: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:1727: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:1731: \$? = $ac_status" >&5
++  echo "$as_me:1730: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:1734: \"$ac_try\"") >&5
++  { (eval echo "$as_me:1733: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:1737: \$? = $ac_status" >&5
++  echo "$as_me:1736: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_prog_cc_g=yes
+ else
+@@ -1744,7 +1743,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:1747: result: $ac_cv_prog_cc_g" >&5
++echo "$as_me:1746: result: $ac_cv_prog_cc_g" >&5
+ echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
+ if test "$ac_test_CFLAGS" = set; then
+   CFLAGS=$ac_save_CFLAGS
+@@ -1771,16 +1770,16 @@
+ #endif
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:1774: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:1773: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:1777: \$? = $ac_status" >&5
++  echo "$as_me:1776: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:1780: \"$ac_try\"") >&5
++  { (eval echo "$as_me:1779: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:1783: \$? = $ac_status" >&5
++  echo "$as_me:1782: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   for ac_declaration in \
+    ''\
+@@ -1792,7 +1791,7 @@
+    'void exit (int);'
+ do
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 1795 "configure"
++#line 1794 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ $ac_declaration
+@@ -1805,16 +1804,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:1808: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:1807: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:1811: \$? = $ac_status" >&5
++  echo "$as_me:1810: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:1814: \"$ac_try\"") >&5
++  { (eval echo "$as_me:1813: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:1817: \$? = $ac_status" >&5
++  echo "$as_me:1816: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   :
+ else
+@@ -1824,7 +1823,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 1827 "configure"
++#line 1826 "configure"
+ #include "confdefs.h"
+ $ac_declaration
+ int
+@@ -1836,16 +1835,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:1839: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:1838: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:1842: \$? = $ac_status" >&5
++  echo "$as_me:1841: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:1845: \"$ac_try\"") >&5
++  { (eval echo "$as_me:1844: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:1848: \$? = $ac_status" >&5
++  echo "$as_me:1847: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   break
+ else
+@@ -1877,7 +1876,7 @@
+ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ ac_compiler_gnu=$ac_cv_c_compiler_gnu
+-echo "$as_me:1880: checking how to run the C preprocessor" >&5
++echo "$as_me:1879: checking how to run the C preprocessor" >&5
+ echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
+ # On Suns, sometimes $CPP names a directory.
+ if test -n "$CPP" && test -d "$CPP"; then
+@@ -1898,18 +1897,18 @@
+   # On the NeXT, cc -E runs the code through the compiler's parser,
+   # not just through cpp. "Syntax error" is here to catch this case.
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 1901 "configure"
++#line 1900 "configure"
+ #include "confdefs.h"
+ #include <assert.h>
+                      Syntax error
+ _ACEOF
+-if { (eval echo "$as_me:1906: \"$ac_cpp conftest.$ac_ext\"") >&5
++if { (eval echo "$as_me:1905: \"$ac_cpp conftest.$ac_ext\"") >&5
+   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+   ac_status=$?
+   egrep -v '^ *\+' conftest.er1 >conftest.err
+   rm -f conftest.er1
+   cat conftest.err >&5
+-  echo "$as_me:1912: \$? = $ac_status" >&5
++  echo "$as_me:1911: \$? = $ac_status" >&5
+   (exit $ac_status); } >/dev/null; then
+   if test -s conftest.err; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+@@ -1932,17 +1931,17 @@
+   # OK, works on sane cases.  Now check whether non-existent headers
+   # can be detected and how.
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 1935 "configure"
++#line 1934 "configure"
+ #include "confdefs.h"
+ #include <ac_nonexistent.h>
+ _ACEOF
+-if { (eval echo "$as_me:1939: \"$ac_cpp conftest.$ac_ext\"") >&5
++if { (eval echo "$as_me:1938: \"$ac_cpp conftest.$ac_ext\"") >&5
+   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+   ac_status=$?
+   egrep -v '^ *\+' conftest.er1 >conftest.err
+   rm -f conftest.er1
+   cat conftest.err >&5
+-  echo "$as_me:1945: \$? = $ac_status" >&5
++  echo "$as_me:1944: \$? = $ac_status" >&5
+   (exit $ac_status); } >/dev/null; then
+   if test -s conftest.err; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+@@ -1979,7 +1978,7 @@
+ else
+   ac_cv_prog_CPP=$CPP
+ fi
+-echo "$as_me:1982: result: $CPP" >&5
++echo "$as_me:1981: result: $CPP" >&5
+ echo "${ECHO_T}$CPP" >&6
+ ac_preproc_ok=false
+ for ac_c_preproc_warn_flag in '' yes
+@@ -1989,18 +1988,18 @@
+   # On the NeXT, cc -E runs the code through the compiler's parser,
+   # not just through cpp. "Syntax error" is here to catch this case.
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 1992 "configure"
++#line 1991 "configure"
+ #include "confdefs.h"
+ #include <assert.h>
+                      Syntax error
+ _ACEOF
+-if { (eval echo "$as_me:1997: \"$ac_cpp conftest.$ac_ext\"") >&5
++if { (eval echo "$as_me:1996: \"$ac_cpp conftest.$ac_ext\"") >&5
+   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+   ac_status=$?
+   egrep -v '^ *\+' conftest.er1 >conftest.err
+   rm -f conftest.er1
+   cat conftest.err >&5
+-  echo "$as_me:2003: \$? = $ac_status" >&5
++  echo "$as_me:2002: \$? = $ac_status" >&5
+   (exit $ac_status); } >/dev/null; then
+   if test -s conftest.err; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+@@ -2023,17 +2022,17 @@
+   # OK, works on sane cases.  Now check whether non-existent headers
+   # can be detected and how.
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 2026 "configure"
++#line 2025 "configure"
+ #include "confdefs.h"
+ #include <ac_nonexistent.h>
+ _ACEOF
+-if { (eval echo "$as_me:2030: \"$ac_cpp conftest.$ac_ext\"") >&5
++if { (eval echo "$as_me:2029: \"$ac_cpp conftest.$ac_ext\"") >&5
+   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+   ac_status=$?
+   egrep -v '^ *\+' conftest.er1 >conftest.err
+   rm -f conftest.er1
+   cat conftest.err >&5
+-  echo "$as_me:2036: \$? = $ac_status" >&5
++  echo "$as_me:2035: \$? = $ac_status" >&5
+   (exit $ac_status); } >/dev/null; then
+   if test -s conftest.err; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+@@ -2061,7 +2060,7 @@
+ if $ac_preproc_ok; then
+   :
+ else
+-  { { echo "$as_me:2064: error: C preprocessor \"$CPP\" fails sanity check" >&5
++  { { echo "$as_me:2063: error: C preprocessor \"$CPP\" fails sanity check" >&5
+ echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
+    { (exit 1); exit 1; }; }
+ fi
+@@ -2072,7 +2071,7 @@
+ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ ac_compiler_gnu=$ac_cv_c_compiler_gnu
+ 
+-echo "$as_me:2075: checking for $CC option to accept ANSI C" >&5
++echo "$as_me:2074: checking for $CC option to accept ANSI C" >&5
+ echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
+ if test "${ac_cv_prog_cc_stdc+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -2080,7 +2079,7 @@
+   ac_cv_prog_cc_stdc=no
+ ac_save_CC=$CC
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 2083 "configure"
++#line 2082 "configure"
+ #include "confdefs.h"
+ #include <stdarg.h>
+ #include <stdio.h>
+@@ -2129,16 +2128,16 @@
+ do
+   CC="$ac_save_CC $ac_arg"
+   rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:2132: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:2131: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:2135: \$? = $ac_status" >&5
++  echo "$as_me:2134: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:2138: \"$ac_try\"") >&5
++  { (eval echo "$as_me:2137: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:2141: \$? = $ac_status" >&5
++  echo "$as_me:2140: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_prog_cc_stdc=$ac_arg
+ break
+@@ -2155,10 +2154,10 @@
+ 
+ case "x$ac_cv_prog_cc_stdc" in
+   x|xno)
+-    echo "$as_me:2158: result: none needed" >&5
++    echo "$as_me:2157: result: none needed" >&5
+ echo "${ECHO_T}none needed" >&6 ;;
+   *)
+-    echo "$as_me:2161: result: $ac_cv_prog_cc_stdc" >&5
++    echo "$as_me:2160: result: $ac_cv_prog_cc_stdc" >&5
+ echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
+     CC="$CC $ac_cv_prog_cc_stdc" ;;
+ esac
+@@ -2180,7 +2179,7 @@
+   fi
+ done
+ if test -z "$ac_aux_dir"; then
+-  { { echo "$as_me:2183: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
++  { { echo "$as_me:2182: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
+ echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
+    { (exit 1); exit 1; }; }
+ fi
+@@ -2200,7 +2199,7 @@
+ # 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 "$as_me:2203: checking for a BSD compatible install" >&5
++echo "$as_me:2202: checking for a BSD compatible install" >&5
+ echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
+ if test -z "$INSTALL"; then
+ if test "${ac_cv_path_install+set}" = set; then
+@@ -2249,7 +2248,7 @@
+     INSTALL=$ac_install_sh
+   fi
+ fi
+-echo "$as_me:2252: result: $INSTALL" >&5
++echo "$as_me:2251: result: $INSTALL" >&5
+ echo "${ECHO_T}$INSTALL" >&6
+ 
+ # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
+@@ -2260,24 +2259,25 @@
+ 
+ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
+ 
+-echo "$as_me:2263: checking whether build environment is sane" >&5
++echo "$as_me:2262: checking whether build environment is sane" >&5
+ echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
+ # Just in case
+ sleep 1
+-echo timestamp > conftestfile
++echo timestamp > conftest.file
+ # Do `set' in a subshell so we don't clobber the current shell's
+ # arguments.  Must try -L first in case configure is actually a
+ # symlink; some systems play weird games with the mod time of symlinks
+ # (eg FreeBSD returns the mod time of the symlink's containing
+ # directory).
+ if (
+-   set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
++   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
+    if test "$*" = "X"; then
+       # -L didn't work.
+-      set X `ls -t $srcdir/configure conftestfile`
++      set X `ls -t $srcdir/configure conftest.file`
+    fi
+-   if test "$*" != "X $srcdir/configure conftestfile" \
+-      && test "$*" != "X conftestfile $srcdir/configure"; then
++   rm -f conftest.file
++   if test "$*" != "X $srcdir/configure conftest.file" \
++      && test "$*" != "X conftest.file $srcdir/configure"; then
+ 
+       # If neither matched, then we have a broken ls.  This can happen
+       # if, for instance, CONFIG_SHELL is bash and it inherits a
+@@ -2290,7 +2290,7 @@
+    { (exit 1); exit 1; }; }
+    fi
+ 
+-   test "$2" = conftestfile
++   test "$2" = conftest.file
+    )
+ then
+    # Ok.
+@@ -2302,8 +2302,7 @@
+ Check your system clock" >&2;}
+    { (exit 1); exit 1; }; }
+ fi
+-rm -f conftest*
+-echo "$as_me:2306: result: yes" >&5
++echo "$as_me:2305: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ test "$program_prefix" != NONE &&
+   program_transform_name="s,^,$program_prefix,;$program_transform_name"
+@@ -2318,15 +2317,17 @@
+ program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
+ rm conftest.sed
+ 
+-test x"${MISSING+set}" = xset || \
+-  MISSING="\${SHELL} `CDPATH=:; cd $ac_aux_dir && pwd`/missing"
++# expand $ac_aux_dir to an absolute path
++am_aux_dir=`CDPATH=:; cd $ac_aux_dir && pwd`
++
++test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
+ # Use eval to expand $SHELL
+-if eval "$MISSING --run :"; then
++if eval "$MISSING --run true"; then
+   am_missing_run="$MISSING --run "
+ else
+   am_missing_run=
+   am_backtick='`'
+-  { echo "$as_me:2329: WARNING: ${am_backtick}missing' script is too old or missing" >&5
++  { echo "$as_me:2330: WARNING: ${am_backtick}missing' script is too old or missing" >&5
+ echo "$as_me: WARNING: ${am_backtick}missing' script is too old or missing" >&2;}
+ fi
+ 
+@@ -2334,7 +2335,7 @@
+ do
+   # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+-echo "$as_me:2337: checking for $ac_word" >&5
++echo "$as_me:2338: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_AWK+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -2349,7 +2350,7 @@
+   test -z "$ac_dir" && ac_dir=.
+   $as_executable_p "$ac_dir/$ac_word" || continue
+ ac_cv_prog_AWK="$ac_prog"
+-echo "$as_me:2352: found $ac_dir/$ac_word" >&5
++echo "$as_me:2353: found $ac_dir/$ac_word" >&5
+ break
+ done
+ 
+@@ -2357,17 +2358,17 @@
+ fi
+ AWK=$ac_cv_prog_AWK
+ if test -n "$AWK"; then
+-  echo "$as_me:2360: result: $AWK" >&5
++  echo "$as_me:2361: result: $AWK" >&5
+ echo "${ECHO_T}$AWK" >&6
+ else
+-  echo "$as_me:2363: result: no" >&5
++  echo "$as_me:2364: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+   test -n "$AWK" && break
+ done
+ 
+-echo "$as_me:2370: checking whether ${MAKE-make} sets \${MAKE}" >&5
++echo "$as_me:2371: checking whether ${MAKE-make} sets \${MAKE}" >&5
+ echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
+ set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
+ if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
+@@ -2387,11 +2388,11 @@
+ rm -f conftest.make
+ fi
+ if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
+-  echo "$as_me:2390: result: yes" >&5
++  echo "$as_me:2391: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+   SET_MAKE=
+ else
+-  echo "$as_me:2394: result: no" >&5
++  echo "$as_me:2395: result: no" >&5
+ echo "${ECHO_T}no" >&6
+   SET_MAKE="MAKE=${MAKE-make}"
+ fi
+@@ -2401,38 +2402,72 @@
+   enableval="$enable_dependency_tracking"
+ 
+ fi;
+-if test "x$enable_dependency_tracking" = xno; then
+-  AMDEP="#"
+-else
++if test "x$enable_dependency_tracking" != xno; then
+   am_depcomp="$ac_aux_dir/depcomp"
+-  if test ! -f "$am_depcomp"; then
+-    AMDEP="#"
+-  else
+-    AMDEP=
+-  fi
++  AMDEPBACKSLASH='\'
+ fi
+ 
+-if test -z "$AMDEP"; then
+-  AMDEPBACKSLASH='\'
++if test "x$enable_dependency_tracking" != xno; then
++  AMDEP_TRUE=
++  AMDEP_FALSE='#'
+ else
+-  AMDEPBACKSLASH=
++  AMDEP_TRUE='#'
++  AMDEP_FALSE=
+ fi
+ 
+-if test -d .deps || mkdir .deps 2> /dev/null || test -d .deps; then
++rm -f .deps 2>/dev/null
++mkdir .deps 2>/dev/null
++if test -d .deps; then
+   DEPDIR=.deps
+-  # We redirect because .deps might already exist and be populated.
+-  # In this situation we don't want to see an error.
+-  rmdir .deps > /dev/null 2>&1
+ else
++  # MS-DOS does not allow filenames that begin with a dot.
+   DEPDIR=_deps
+ fi
++rmdir .deps 2>/dev/null
+ 
+-ac_config_commands="$ac_config_commands default-2"
++ac_config_commands="$ac_config_commands default-1"
++
++am_make=${MAKE-make}
++cat > confinc << 'END'
++doit:
++	@echo done
++END
++# If we don't find an include directive, just comment out the code.
++echo "$as_me:2436: checking for style of include used by $am_make" >&5
++echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
++am__include='#'
++am__quote=
++_am_result=none
++# First try GNU make style include.
++echo "include confinc" > confmf
++# We grep out `Entering directory' and `Leaving directory'
++# messages which can occur if `w' ends up in MAKEFLAGS.
++# In particular we don't look at `^make:' because GNU make might
++# be invoked under some other name (usually "gmake"), in which
++# case it prints its new name instead of `make'.
++if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
++   am__include=include
++   am__quote=
++   _am_result=GNU
++fi
++# Now try BSD make style include.
++if test "$am__include" = "#"; then
++   echo '.include "confinc"' > confmf
++   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
++      am__include=.include
++      am__quote='"'
++      _am_result=BSD
++   fi
++fi
++
++echo "$as_me:2463: result: $_am_result" >&5
++echo "${ECHO_T}$_am_result" >&6
++rm -f confinc confmf
+ 
+ # test to see if srcdir already configured
+ if test "`CDPATH=:; cd $srcdir && pwd`" != "`pwd`" &&
+    test -f $srcdir/config.status; then
+-  { { echo "$as_me:2435: error: source directory already configured; run \"make distclean\" there first" >&5
++  { { echo "$as_me:2470: error: source directory already configured; run \"make distclean\" there first" >&5
+ echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
+    { (exit 1); exit 1; }; }
+ fi
+@@ -2449,6 +2484,17 @@
+ #define VERSION "$VERSION"
+ EOF
+ 
++# Autoconf 2.50 wants to disallow AM_ names.  We explicitly allow
++# the ones we care about.
++
++# Autoconf 2.50 always computes EXEEXT.  However we need to be
++# compatible with 2.13, for now.  So we always define EXEEXT, but we
++# don't compute it.
++
++# Similar for OBJEXT -- only we only use OBJEXT if the user actually
++# requests that it be used.  This is a bit dumb.
++: ${OBJEXT=o}
++
+ # Some tools Automake needs.
+ 
+ ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal"}
+@@ -2463,31 +2509,45 @@
+ 
+ AMTAR=${AMTAR-"${am_missing_run}tar"}
+ 
+-if test -z "$install_sh"; then
+-   install_sh="$ac_aux_dir/install-sh"
+-   test -f "$install_sh" || install_sh="$ac_aux_dir/install.sh"
+-   test -f "$install_sh" || install_sh="${am_missing_run}${ac_auxdir}/install-sh"
+-         install_sh="`echo $install_sh | sed -e 's/\${SHELL}//'`"
+-fi
++install_sh=${install_sh-"$am_aux_dir/install-sh"}
++
++INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
+ 
+ # We need awk for the "check" target.  The system "awk" is bad on
+ # some platforms.
+ 
+-depcc="$CC"
+-depcpp="$CPP"
+-echo "$as_me:2478: checking dependency style of $depcc" >&5
++depcc="$CC"   am_compiler_list=
++
++echo "$as_me:2521: checking dependency style of $depcc" >&5
+ echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
+ if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-
+-if test -z "$AMDEP"; then
+-  echo '#include "conftest.h"' > conftest.c
+-  echo 'int i;' > conftest.h
++  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
++  # We make a subdir and do the tests there.  Otherwise we can end up
++  # making bogus files that we don't know about and never remove.  For
++  # instance it was reported that on HP-UX the gcc test will end up
++  # making a dummy file named `D' -- because `-MD' means `put the output
++  # in D'.
++  mkdir conftest.dir
++  # Copy depcomp to subdir because otherwise we won't find it if we're
++  # using a relative directory.
++  cp "$am_depcomp" conftest.dir
++  cd conftest.dir
+ 
+   am_cv_CC_dependencies_compiler_type=none
+-  for depmode in `sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < "$am_depcomp"`; do
+-    case "$depmode" in
++  if test "$am_compiler_list" = ""; then
++     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
++  fi
++  for depmode in $am_compiler_list; do
++    # We need to recreate these files for each test, as the compiler may
++    # overwrite some of them when testing with obscure command lines.
++    # This happens at least with the AIX C compiler.
++    echo '#include "conftest.h"' > conftest.c
++    echo 'int i;' > conftest.h
++    echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
++
++    case $depmode in
+     nosideeffect)
+       # after this tag, mechanisms are not by side-effect, so they'll
+       # only be used when explicitly requested
+@@ -2502,34 +2562,35 @@
+     # We check with `-c' and `-o' for the sake of the "dashmstdout"
+     # mode.  It turns out that the SunPro C++ compiler does not properly
+     # handle `-M -o', and we need to detect this.
+-    if depmode="$depmode" \
++    if depmode=$depmode \
+        source=conftest.c object=conftest.o \
+        depfile=conftest.Po tmpdepfile=conftest.TPo \
+-       $SHELL $am_depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
+-       grep conftest.h conftest.Po > /dev/null 2>&1; then
+-      am_cv_CC_dependencies_compiler_type="$depmode"
++       $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
++       grep conftest.h conftest.Po > /dev/null 2>&1 &&
++       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
++      am_cv_CC_dependencies_compiler_type=$depmode
+       break
+     fi
+   done
+ 
+-  rm -f conftest.*
++  cd ..
++  rm -rf conftest.dir
+ else
+   am_cv_CC_dependencies_compiler_type=none
+ fi
+ 
+ fi
+-
+-echo "$as_me:2522: result: $am_cv_CC_dependencies_compiler_type" >&5
++echo "$as_me:2583: result: $am_cv_CC_dependencies_compiler_type" >&5
+ echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
+ CCDEPMODE="depmode=$am_cv_CC_dependencies_compiler_type"
+ 
+ # Make sure we can run config.sub.
+ $ac_config_sub sun4 >/dev/null 2>&1 ||
+-  { { echo "$as_me:2528: error: cannot run $ac_config_sub" >&5
++  { { echo "$as_me:2589: error: cannot run $ac_config_sub" >&5
+ echo "$as_me: error: cannot run $ac_config_sub" >&2;}
+    { (exit 1); exit 1; }; }
+ 
+-echo "$as_me:2532: checking build system type" >&5
++echo "$as_me:2593: checking build system type" >&5
+ echo $ECHO_N "checking build system type... $ECHO_C" >&6
+ if test "${ac_cv_build+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -2538,23 +2599,23 @@
+ test -z "$ac_cv_build_alias" &&
+   ac_cv_build_alias=`$ac_config_guess`
+ test -z "$ac_cv_build_alias" &&
+-  { { echo "$as_me:2541: error: cannot guess build type; you must specify one" >&5
++  { { echo "$as_me:2602: error: cannot guess build type; you must specify one" >&5
+ echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
+    { (exit 1); exit 1; }; }
+ ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
+-  { { echo "$as_me:2545: error: $ac_config_sub $ac_cv_build_alias failed." >&5
++  { { echo "$as_me:2606: error: $ac_config_sub $ac_cv_build_alias failed." >&5
+ echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;}
+    { (exit 1); exit 1; }; }
+ 
+ fi
+-echo "$as_me:2550: result: $ac_cv_build" >&5
++echo "$as_me:2611: result: $ac_cv_build" >&5
+ echo "${ECHO_T}$ac_cv_build" >&6
+ build=$ac_cv_build
+ build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
+ build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
+ build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
+ 
+-echo "$as_me:2557: checking host system type" >&5
++echo "$as_me:2618: checking host system type" >&5
+ echo $ECHO_N "checking host system type... $ECHO_C" >&6
+ if test "${ac_cv_host+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -2563,12 +2624,12 @@
+ test -z "$ac_cv_host_alias" &&
+   ac_cv_host_alias=$ac_cv_build_alias
+ ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
+-  { { echo "$as_me:2566: error: $ac_config_sub $ac_cv_host_alias failed" >&5
++  { { echo "$as_me:2627: error: $ac_config_sub $ac_cv_host_alias failed" >&5
+ echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
+    { (exit 1); exit 1; }; }
+ 
+ fi
+-echo "$as_me:2571: result: $ac_cv_host" >&5
++echo "$as_me:2632: result: $ac_cv_host" >&5
+ echo "${ECHO_T}$ac_cv_host" >&6
+ host=$ac_cv_host
+ host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
+@@ -2616,7 +2677,7 @@
+ do
+   # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+-echo "$as_me:2619: checking for $ac_word" >&5
++echo "$as_me:2680: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_YACC+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -2631,7 +2692,7 @@
+   test -z "$ac_dir" && ac_dir=.
+   $as_executable_p "$ac_dir/$ac_word" || continue
+ ac_cv_prog_YACC="$ac_prog"
+-echo "$as_me:2634: found $ac_dir/$ac_word" >&5
++echo "$as_me:2695: found $ac_dir/$ac_word" >&5
+ break
+ done
+ 
+@@ -2639,10 +2700,10 @@
+ fi
+ YACC=$ac_cv_prog_YACC
+ if test -n "$YACC"; then
+-  echo "$as_me:2642: result: $YACC" >&5
++  echo "$as_me:2703: result: $YACC" >&5
+ echo "${ECHO_T}$YACC" >&6
+ else
+-  echo "$as_me:2645: result: no" >&5
++  echo "$as_me:2706: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+@@ -2654,7 +2715,7 @@
+ do
+   # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+-echo "$as_me:2657: checking for $ac_word" >&5
++echo "$as_me:2718: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_LEX+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -2669,7 +2730,7 @@
+   test -z "$ac_dir" && ac_dir=.
+   $as_executable_p "$ac_dir/$ac_word" || continue
+ ac_cv_prog_LEX="$ac_prog"
+-echo "$as_me:2672: found $ac_dir/$ac_word" >&5
++echo "$as_me:2733: found $ac_dir/$ac_word" >&5
+ break
+ done
+ 
+@@ -2677,10 +2738,10 @@
+ fi
+ LEX=$ac_cv_prog_LEX
+ if test -n "$LEX"; then
+-  echo "$as_me:2680: result: $LEX" >&5
++  echo "$as_me:2741: result: $LEX" >&5
+ echo "${ECHO_T}$LEX" >&6
+ else
+-  echo "$as_me:2683: result: no" >&5
++  echo "$as_me:2744: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+@@ -2692,7 +2753,7 @@
+ do
+   # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+-echo "$as_me:2695: checking for $ac_word" >&5
++echo "$as_me:2756: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_LEX+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -2707,7 +2768,7 @@
+   test -z "$ac_dir" && ac_dir=.
+   $as_executable_p "$ac_dir/$ac_word" || continue
+ ac_cv_prog_LEX="$ac_prog"
+-echo "$as_me:2710: found $ac_dir/$ac_word" >&5
++echo "$as_me:2771: found $ac_dir/$ac_word" >&5
+ break
+ done
+ 
+@@ -2715,10 +2776,10 @@
+ fi
+ LEX=$ac_cv_prog_LEX
+ if test -n "$LEX"; then
+-  echo "$as_me:2718: result: $LEX" >&5
++  echo "$as_me:2779: result: $LEX" >&5
+ echo "${ECHO_T}$LEX" >&6
+ else
+-  echo "$as_me:2721: result: no" >&5
++  echo "$as_me:2782: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+@@ -2728,7 +2789,7 @@
+ 
+ if test -z "$LEXLIB"
+ then
+-  echo "$as_me:2731: checking for yywrap in -lfl" >&5
++  echo "$as_me:2792: checking for yywrap in -lfl" >&5
+ echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
+ if test "${ac_cv_lib_fl_yywrap+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -2736,7 +2797,7 @@
+   ac_check_lib_save_LIBS=$LIBS
+ LIBS="-lfl  $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 2739 "configure"
++#line 2800 "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -2755,16 +2816,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:2758: \"$ac_link\"") >&5
++if { (eval echo "$as_me:2819: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:2761: \$? = $ac_status" >&5
++  echo "$as_me:2822: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:2764: \"$ac_try\"") >&5
++  { (eval echo "$as_me:2825: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:2767: \$? = $ac_status" >&5
++  echo "$as_me:2828: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_lib_fl_yywrap=yes
+ else
+@@ -2775,12 +2836,12 @@
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "$as_me:2778: result: $ac_cv_lib_fl_yywrap" >&5
++echo "$as_me:2839: result: $ac_cv_lib_fl_yywrap" >&5
+ echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
+ if test $ac_cv_lib_fl_yywrap = yes; then
+   LEXLIB="-lfl"
+ else
+-  echo "$as_me:2783: checking for yywrap in -ll" >&5
++  echo "$as_me:2844: checking for yywrap in -ll" >&5
+ echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
+ if test "${ac_cv_lib_l_yywrap+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -2788,7 +2849,7 @@
+   ac_check_lib_save_LIBS=$LIBS
+ LIBS="-ll  $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 2791 "configure"
++#line 2852 "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -2807,16 +2868,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:2810: \"$ac_link\"") >&5
++if { (eval echo "$as_me:2871: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:2813: \$? = $ac_status" >&5
++  echo "$as_me:2874: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:2816: \"$ac_try\"") >&5
++  { (eval echo "$as_me:2877: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:2819: \$? = $ac_status" >&5
++  echo "$as_me:2880: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_lib_l_yywrap=yes
+ else
+@@ -2827,7 +2888,7 @@
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "$as_me:2830: result: $ac_cv_lib_l_yywrap" >&5
++echo "$as_me:2891: result: $ac_cv_lib_l_yywrap" >&5
+ echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
+ if test $ac_cv_lib_l_yywrap = yes; then
+   LEXLIB="-ll"
+@@ -2838,7 +2899,7 @@
+ fi
+ 
+ if test "x$LEX" != "x:"; then
+-  echo "$as_me:2841: checking lex output file root" >&5
++  echo "$as_me:2902: checking lex output file root" >&5
+ echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
+ if test "${ac_cv_prog_lex_root+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -2852,16 +2913,16 @@
+ elif test -f lexyy.c; then
+   ac_cv_prog_lex_root=lexyy
+ else
+-  { { echo "$as_me:2855: error: cannot find output from $LEX; giving up" >&5
++  { { echo "$as_me:2916: error: cannot find output from $LEX; giving up" >&5
+ echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
+    { (exit 1); exit 1; }; }
+ fi
+ fi
+-echo "$as_me:2860: result: $ac_cv_prog_lex_root" >&5
++echo "$as_me:2921: result: $ac_cv_prog_lex_root" >&5
+ echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
+ LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
+ 
+-echo "$as_me:2864: checking whether yytext is a pointer" >&5
++echo "$as_me:2925: checking whether yytext is a pointer" >&5
+ echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
+ if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -2877,16 +2938,16 @@
+ `cat $LEX_OUTPUT_ROOT.c`
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:2880: \"$ac_link\"") >&5
++if { (eval echo "$as_me:2941: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:2883: \$? = $ac_status" >&5
++  echo "$as_me:2944: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:2886: \"$ac_try\"") >&5
++  { (eval echo "$as_me:2947: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:2889: \$? = $ac_status" >&5
++  echo "$as_me:2950: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_prog_lex_yytext_pointer=yes
+ else
+@@ -2898,7 +2959,7 @@
+ rm -f "${LEX_OUTPUT_ROOT}.c"
+ 
+ fi
+-echo "$as_me:2901: result: $ac_cv_prog_lex_yytext_pointer" >&5
++echo "$as_me:2962: result: $ac_cv_prog_lex_yytext_pointer" >&5
+ echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
+ if test $ac_cv_prog_lex_yytext_pointer = yes; then
+ 
+@@ -2913,7 +2974,7 @@
+ if test -n "$ac_tool_prefix"; then
+   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
+ set dummy ${ac_tool_prefix}ranlib; ac_word=$2
+-echo "$as_me:2916: checking for $ac_word" >&5
++echo "$as_me:2977: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_RANLIB+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -2928,7 +2989,7 @@
+   test -z "$ac_dir" && ac_dir=.
+   $as_executable_p "$ac_dir/$ac_word" || continue
+ ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
+-echo "$as_me:2931: found $ac_dir/$ac_word" >&5
++echo "$as_me:2992: found $ac_dir/$ac_word" >&5
+ break
+ done
+ 
+@@ -2936,10 +2997,10 @@
+ fi
+ RANLIB=$ac_cv_prog_RANLIB
+ if test -n "$RANLIB"; then
+-  echo "$as_me:2939: result: $RANLIB" >&5
++  echo "$as_me:3000: result: $RANLIB" >&5
+ echo "${ECHO_T}$RANLIB" >&6
+ else
+-  echo "$as_me:2942: result: no" >&5
++  echo "$as_me:3003: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+@@ -2948,7 +3009,7 @@
+   ac_ct_RANLIB=$RANLIB
+   # Extract the first word of "ranlib", so it can be a program name with args.
+ set dummy ranlib; ac_word=$2
+-echo "$as_me:2951: checking for $ac_word" >&5
++echo "$as_me:3012: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -2963,7 +3024,7 @@
+   test -z "$ac_dir" && ac_dir=.
+   $as_executable_p "$ac_dir/$ac_word" || continue
+ ac_cv_prog_ac_ct_RANLIB="ranlib"
+-echo "$as_me:2966: found $ac_dir/$ac_word" >&5
++echo "$as_me:3027: found $ac_dir/$ac_word" >&5
+ break
+ done
+ 
+@@ -2972,10 +3033,10 @@
+ fi
+ ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
+ if test -n "$ac_ct_RANLIB"; then
+-  echo "$as_me:2975: result: $ac_ct_RANLIB" >&5
++  echo "$as_me:3036: result: $ac_ct_RANLIB" >&5
+ echo "${ECHO_T}$ac_ct_RANLIB" >&6
+ else
+-  echo "$as_me:2978: result: no" >&5
++  echo "$as_me:3039: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+@@ -2988,7 +3049,7 @@
+ do
+   # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+-echo "$as_me:2991: checking for $ac_word" >&5
++echo "$as_me:3052: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_AWK+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -3003,7 +3064,7 @@
+   test -z "$ac_dir" && ac_dir=.
+   $as_executable_p "$ac_dir/$ac_word" || continue
+ ac_cv_prog_AWK="$ac_prog"
+-echo "$as_me:3006: found $ac_dir/$ac_word" >&5
++echo "$as_me:3067: found $ac_dir/$ac_word" >&5
+ break
+ done
+ 
+@@ -3011,17 +3072,17 @@
+ fi
+ AWK=$ac_cv_prog_AWK
+ if test -n "$AWK"; then
+-  echo "$as_me:3014: result: $AWK" >&5
++  echo "$as_me:3075: result: $AWK" >&5
+ echo "${ECHO_T}$AWK" >&6
+ else
+-  echo "$as_me:3017: result: no" >&5
++  echo "$as_me:3078: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+   test -n "$AWK" && break
+ done
+ 
+-echo "$as_me:3024: checking for ln -s or something else" >&5
++echo "$as_me:3085: checking for ln -s or something else" >&5
+ echo $ECHO_N "checking for ln -s or something else... $ECHO_C" >&6
+ if test "${ac_cv_prog_LN_S+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -3042,7 +3103,7 @@
+ fi
+ fi
+ LN_S="$ac_cv_prog_LN_S"
+-echo "$as_me:3045: result: $ac_cv_prog_LN_S" >&5
++echo "$as_me:3106: result: $ac_cv_prog_LN_S" >&5
+ echo "${ECHO_T}$ac_cv_prog_LN_S" >&6
+ 
+ # Check whether --with-mips_abi or --without-mips_abi was given.
+@@ -3070,13 +3131,13 @@
+        n32|yes) abi='-mabi=n32'; abilibdirext='32'  ;;
+         64) abi='-mabi=64';  abilibdirext='64'   ;;
+ 	no) abi=''; abilibdirext='';;
+-         *) { { echo "$as_me:3073: error: \"Invalid ABI specified\"" >&5
++         *) { { echo "$as_me:3134: error: \"Invalid ABI specified\"" >&5
+ echo "$as_me: error: \"Invalid ABI specified\"" >&2;}
+    { (exit 1); exit 1; }; } ;;
+ esac
+ if test -n "$abi" ; then
+ ac_foo=krb_cv_gcc_`echo $abi | tr =- __`
+-echo "$as_me:3079: checking if $CC supports the $abi option" >&5
++echo "$as_me:3140: checking if $CC supports the $abi option" >&5
+ echo $ECHO_N "checking if $CC supports the $abi option... $ECHO_C" >&6
+ if eval "test \"\${$ac_foo+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -3085,7 +3146,7 @@
+ save_CFLAGS="$CFLAGS"
+ CFLAGS="$CFLAGS $abi"
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 3088 "configure"
++#line 3149 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -3097,16 +3158,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:3100: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:3161: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:3103: \$? = $ac_status" >&5
++  echo "$as_me:3164: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:3106: \"$ac_try\"") >&5
++  { (eval echo "$as_me:3167: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:3109: \$? = $ac_status" >&5
++  echo "$as_me:3170: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval $ac_foo=yes
+ else
+@@ -3120,7 +3181,7 @@
+ fi
+ 
+ ac_res=`eval echo \\\$$ac_foo`
+-echo "$as_me:3123: result: $ac_res" >&5
++echo "$as_me:3184: result: $ac_res" >&5
+ echo "${ECHO_T}$ac_res" >&6
+ if test $ac_res = no; then
+ # Try to figure out why that failed...
+@@ -3129,7 +3190,7 @@
+ 	save_CFLAGS="$CFLAGS"
+ 	CFLAGS="$CFLAGS -mabi=n32"
+ 	cat >conftest.$ac_ext <<_ACEOF
+-#line 3132 "configure"
++#line 3193 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -3141,16 +3202,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:3144: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:3205: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:3147: \$? = $ac_status" >&5
++  echo "$as_me:3208: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:3150: \"$ac_try\"") >&5
++  { (eval echo "$as_me:3211: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:3153: \$? = $ac_status" >&5
++  echo "$as_me:3214: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_res=yes
+ else
+@@ -3162,7 +3223,7 @@
+ 	CLAGS="$save_CFLAGS"
+ 	if test $ac_res = yes; then
+ 		# New GCC
+-		{ { echo "$as_me:3165: error: $CC does not support the $with_mips_abi ABI" >&5
++		{ { echo "$as_me:3226: error: $CC does not support the $with_mips_abi ABI" >&5
+ echo "$as_me: error: $CC does not support the $with_mips_abi ABI" >&2;}
+    { (exit 1); exit 1; }; }
+ 	fi
+@@ -3177,7 +3238,7 @@
+ 			abilibdirext=''
+ 		else
+ 			# Some broken GCC
+-			{ { echo "$as_me:3180: error: $CC does not support the $with_mips_abi ABI" >&5
++			{ { echo "$as_me:3241: error: $CC does not support the $with_mips_abi ABI" >&5
+ echo "$as_me: error: $CC does not support the $with_mips_abi ABI" >&2;}
+    { (exit 1); exit 1; }; }
+ 		fi
+@@ -3191,7 +3252,7 @@
+        n32|yes) abi='-n32'; abilibdirext='32'  ;;
+         64) abi='-64'; abilibdirext='64'   ;;
+ 	no) abi=''; abilibdirext='';;
+-         *) { { echo "$as_me:3194: error: \"Invalid ABI specified\"" >&5
++         *) { { echo "$as_me:3255: error: \"Invalid ABI specified\"" >&5
+ echo "$as_me: error: \"Invalid ABI specified\"" >&2;}
+    { (exit 1); exit 1; }; } ;;
+ esac
+@@ -3202,14 +3263,14 @@
+ CC="$CC $abi"
+ libdir="$libdir$abilibdirext"
+ 
+-echo "$as_me:3205: checking for __attribute__" >&5
++echo "$as_me:3266: checking for __attribute__" >&5
+ echo $ECHO_N "checking for __attribute__... $ECHO_C" >&6
+ if test "${ac_cv___attribute__+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 3212 "configure"
++#line 3273 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdlib.h>
+@@ -3231,16 +3292,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:3234: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:3295: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:3237: \$? = $ac_status" >&5
++  echo "$as_me:3298: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:3240: \"$ac_try\"") >&5
++  { (eval echo "$as_me:3301: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:3243: \$? = $ac_status" >&5
++  echo "$as_me:3304: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv___attribute__=yes
+ else
+@@ -3258,7 +3319,7 @@
+ EOF
+ 
+ fi
+-echo "$as_me:3261: result: $ac_cv___attribute__" >&5
++echo "$as_me:3322: result: $ac_cv___attribute__" >&5
+ echo "${ECHO_T}$ac_cv___attribute__" >&6
+ 
+ # Check whether --enable-shared or --disable-shared was given.
+@@ -3327,6 +3388,16 @@
+ else
+   enable_fast_install=yes
+ fi;
++# Find the correct PATH separator.  Usually this is `:', but
++# DJGPP uses `;' like DOS.
++if test "X${PATH_SEPARATOR+set}" != Xset; then
++  UNAME=${UNAME-`uname 2>/dev/null`}
++  case X$UNAME in
++    *-DOS) lt_cv_sys_path_separator=';' ;;
++    *)     lt_cv_sys_path_separator=':' ;;
++  esac
++  PATH_SEPARATOR=$lt_cv_sys_path_separator
++fi
+ 
+ # Check whether --with-gnu-ld or --without-gnu-ld was given.
+ if test "${with_gnu_ld+set}" = set; then
+@@ -3338,7 +3409,7 @@
+ ac_prog=ld
+ if test "$GCC" = yes; then
+   # Check if gcc -print-prog-name=ld gives a path.
+-  echo "$as_me:3341: checking for ld used by GCC" >&5
++  echo "$as_me:3412: checking for ld used by GCC" >&5
+ echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
+   case $host in
+   *-*-mingw*)
+@@ -3368,17 +3439,17 @@
+     ;;
+   esac
+ elif test "$with_gnu_ld" = yes; then
+-  echo "$as_me:3371: checking for GNU ld" >&5
++  echo "$as_me:3442: checking for GNU ld" >&5
+ echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
+ else
+-  echo "$as_me:3374: checking for non-GNU ld" >&5
++  echo "$as_me:3445: checking for non-GNU ld" >&5
+ echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
+ fi
+ if test "${lt_cv_path_LD+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   if test -z "$LD"; then
+-  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
++  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
+   for ac_dir in $PATH; do
+     test -z "$ac_dir" && ac_dir=.
+     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
+@@ -3401,16 +3472,16 @@
+ 
+ LD="$lt_cv_path_LD"
+ if test -n "$LD"; then
+-  echo "$as_me:3404: result: $LD" >&5
++  echo "$as_me:3475: result: $LD" >&5
+ echo "${ECHO_T}$LD" >&6
+ else
+-  echo "$as_me:3407: result: no" >&5
++  echo "$as_me:3478: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+-test -z "$LD" && { { echo "$as_me:3410: error: no acceptable ld found in \$PATH" >&5
++test -z "$LD" && { { echo "$as_me:3481: error: no acceptable ld found in \$PATH" >&5
+ echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
+    { (exit 1); exit 1; }; }
+-echo "$as_me:3413: checking if the linker ($LD) is GNU ld" >&5
++echo "$as_me:3484: checking if the linker ($LD) is GNU ld" >&5
+ echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
+ if test "${lt_cv_prog_gnu_ld+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -3422,23 +3493,23 @@
+   lt_cv_prog_gnu_ld=no
+ fi
+ fi
+-echo "$as_me:3425: result: $lt_cv_prog_gnu_ld" >&5
++echo "$as_me:3496: result: $lt_cv_prog_gnu_ld" >&5
+ echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
+ with_gnu_ld=$lt_cv_prog_gnu_ld
+ 
+-echo "$as_me:3429: checking for $LD option to reload object files" >&5
++echo "$as_me:3500: checking for $LD option to reload object files" >&5
+ echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
+ if test "${lt_cv_ld_reload_flag+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   lt_cv_ld_reload_flag='-r'
+ fi
+-echo "$as_me:3436: result: $lt_cv_ld_reload_flag" >&5
++echo "$as_me:3507: result: $lt_cv_ld_reload_flag" >&5
+ echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
+ reload_flag=$lt_cv_ld_reload_flag
+ test -n "$reload_flag" && reload_flag=" $reload_flag"
+ 
+-echo "$as_me:3441: checking for BSD-compatible nm" >&5
++echo "$as_me:3512: checking for BSD-compatible nm" >&5
+ echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
+ if test "${lt_cv_path_NM+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -3447,7 +3518,7 @@
+   # Let the user override the test.
+   lt_cv_path_NM="$NM"
+ else
+-  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
++  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
+   for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
+     test -z "$ac_dir" && ac_dir=.
+     tmp_nm=$ac_dir/${ac_tool_prefix}nm
+@@ -3474,21 +3545,21 @@
+ fi
+ 
+ NM="$lt_cv_path_NM"
+-echo "$as_me:3477: result: $NM" >&5
++echo "$as_me:3548: result: $NM" >&5
+ echo "${ECHO_T}$NM" >&6
+ 
+-echo "$as_me:3480: checking whether ln -s works" >&5
++echo "$as_me:3551: checking whether ln -s works" >&5
+ echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
+ LN_S=$as_ln_s
+ if test "$LN_S" = "ln -s"; then
+-  echo "$as_me:3484: result: yes" >&5
++  echo "$as_me:3555: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ else
+-  echo "$as_me:3487: result: no, using $LN_S" >&5
++  echo "$as_me:3558: result: no, using $LN_S" >&5
+ echo "${ECHO_T}no, using $LN_S" >&6
+ fi
+ 
+-echo "$as_me:3491: checking how to recognise dependant libraries" >&5
++echo "$as_me:3562: checking how to recognise dependant libraries" >&5
+ echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
+ if test "${lt_cv_deplibs_check_method+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -3502,7 +3573,7 @@
+ # `unknown' -- same as none, but documents that we really don't know.
+ # 'pass_all' -- all dependencies passed with no checks.
+ # 'test_compile' -- check by making test program.
+-# ['file_magic [regex]'] -- check by looking for files in library path
++# 'file_magic [[regex]]' -- check by looking for files in library path
+ # which responds to the $file_magic_cmd with a given egrep regex.
+ # If you have `file' or equivalent on your system and you're not sure
+ # whether `pass_all' will *always* work, you probably want this one.
+@@ -3531,7 +3602,7 @@
+   lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
+   lt_cv_file_magic_cmd='/usr/bin/file -L'
+   case "$host_os" in
+-  rhapsody* | darwin1.012)
++  rhapsody* | darwin1.[012])
+     lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1`
+     ;;
+   *) # Darwin 1.3 on
+@@ -3590,7 +3661,7 @@
+ # This must be Linux ELF.
+ linux-gnu*)
+   case $host_cpu in
+-  alpha* | i*86 | powerpc* | sparc* | ia64* )
++  alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
+     lt_cv_deplibs_check_method=pass_all ;;
+   *)
+     # glibc up to 2.1.1 does not perform some relocations on ARM
+@@ -3613,6 +3684,16 @@
+   lt_cv_file_magic_test_file=/usr/lib/libnls.so
+   ;;
+ 
++openbsd*)
++  lt_cv_file_magic_cmd=/usr/bin/file
++  lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
++  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
++    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
++  else
++    lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
++  fi
++  ;;
++
+ osf3* | osf4* | osf5*)
+   # this will be overridden with pass_all, but let us keep it just in case
+   lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
+@@ -3656,13 +3737,13 @@
+ esac
+ 
+ fi
+-echo "$as_me:3659: result: $lt_cv_deplibs_check_method" >&5
++echo "$as_me:3740: result: $lt_cv_deplibs_check_method" >&5
+ echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
+ file_magic_cmd=$lt_cv_file_magic_cmd
+ deplibs_check_method=$lt_cv_deplibs_check_method
+ 
+ # Check for command to grab the raw symbol name followed by C symbol from nm.
+-echo "$as_me:3665: checking command to parse $NM output" >&5
++echo "$as_me:3746: checking command to parse $NM output" >&5
+ echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6
+ if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -3683,6 +3764,9 @@
+ # Transform an extracted symbol line into a proper C declaration
+ lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'"
+ 
++# Transform an extracted symbol line into symbol name and symbol address
++lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
++
+ # Define system-specific variables.
+ case $host_os in
+ aix*)
+@@ -3693,6 +3777,7 @@
+   ;;
+ hpux*) # Its linker distinguishes data from code symbols
+   lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
++  lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
+   ;;
+ irix*)
+   symcode='[BCDEGRST]'
+@@ -3739,17 +3824,17 @@
+ int main(){nm_test_var='a';nm_test_func();return(0);}
+ EOF
+ 
+-  if { (eval echo "$as_me:3742: \"$ac_compile\"") >&5
++  if { (eval echo "$as_me:3827: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:3745: \$? = $ac_status" >&5
++  echo "$as_me:3830: \$? = $ac_status" >&5
+   (exit $ac_status); }; then
+     # Now try to grab the symbols.
+     nlist=conftest.nm
+-    if { (eval echo "$as_me:3749: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
++    if { (eval echo "$as_me:3834: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
+   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
+   ac_status=$?
+-  echo "$as_me:3752: \$? = $ac_status" >&5
++  echo "$as_me:3837: \$? = $ac_status" >&5
+   (exit $ac_status); } && test -s "$nlist"; then
+       # Try sorting and uniquifying the output.
+       if sort "$nlist" | uniq > "$nlist"T; then
+@@ -3772,23 +3857,23 @@
+ 
+ 	  cat <<EOF >> conftest.$ac_ext
+ #if defined (__STDC__) && __STDC__
+-# define lt_ptr_t void *
++# define lt_ptr void *
+ #else
+-# define lt_ptr_t char *
++# define lt_ptr char *
+ # define const
+ #endif
+ 
+ /* The mapping between symbol names and symbols. */
+ const struct {
+   const char *name;
+-  lt_ptr_t address;
++  lt_ptr address;
+ }
+ lt_preloaded_symbols[] =
+ {
+ EOF
+-	  sed "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" >> conftest.$ac_ext
++	  sed "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.$ac_ext
+ 	  cat <<\EOF >> conftest.$ac_ext
+-  {0, (lt_ptr_t) 0}
++  {0, (lt_ptr) 0}
+ };
+ 
+ #ifdef __cplusplus
+@@ -3801,10 +3886,10 @@
+ 	  save_CFLAGS="$CFLAGS"
+ 	  LIBS="conftstm.$ac_objext"
+ 	  CFLAGS="$CFLAGS$no_builtin_flag"
+-	  if { (eval echo "$as_me:3804: \"$ac_link\"") >&5
++	  if { (eval echo "$as_me:3889: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:3807: \$? = $ac_status" >&5
++  echo "$as_me:3892: \$? = $ac_status" >&5
+   (exit $ac_status); } && test -s conftest; then
+ 	    pipe_works=yes
+ 	  fi
+@@ -3838,37 +3923,40 @@
+ global_symbol_pipe="$lt_cv_sys_global_symbol_pipe"
+ if test -z "$lt_cv_sys_global_symbol_pipe"; then
+   global_symbol_to_cdecl=
++  global_symbol_to_c_name_address=
+ else
+   global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl"
++  global_symbol_to_c_name_address="$lt_cv_global_symbol_to_c_name_address"
+ fi
+-if test -z "$global_symbol_pipe$global_symbol_to_cdecl"; then
+-  echo "$as_me:3845: result: failed" >&5
++if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address";
++then
++  echo "$as_me:3933: result: failed" >&5
+ echo "${ECHO_T}failed" >&6
+ else
+-  echo "$as_me:3848: result: ok" >&5
++  echo "$as_me:3936: result: ok" >&5
+ echo "${ECHO_T}ok" >&6
+ fi
+ 
+ for ac_header in dlfcn.h
+ do
+ as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+-echo "$as_me:3855: checking for $ac_header" >&5
++echo "$as_me:3943: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 3861 "configure"
++#line 3949 "configure"
+ #include "confdefs.h"
+ #include <$ac_header>
+ _ACEOF
+-if { (eval echo "$as_me:3865: \"$ac_cpp conftest.$ac_ext\"") >&5
++if { (eval echo "$as_me:3953: \"$ac_cpp conftest.$ac_ext\"") >&5
+   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+   ac_status=$?
+   egrep -v '^ *\+' conftest.er1 >conftest.err
+   rm -f conftest.er1
+   cat conftest.err >&5
+-  echo "$as_me:3871: \$? = $ac_status" >&5
++  echo "$as_me:3959: \$? = $ac_status" >&5
+   (exit $ac_status); } >/dev/null; then
+   if test -s conftest.err; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+@@ -3887,7 +3975,7 @@
+ fi
+ rm -f conftest.err conftest.$ac_ext
+ fi
+-echo "$as_me:3890: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "$as_me:3978: result: `eval echo '${'$as_ac_Header'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
+ if test `eval echo '${'$as_ac_Header'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -3901,7 +3989,7 @@
+ case $deplibs_check_method in
+ file_magic*)
+   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
+-    echo "$as_me:3904: checking for ${ac_tool_prefix}file" >&5
++    echo "$as_me:3992: checking for ${ac_tool_prefix}file" >&5
+ echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
+ if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -3956,16 +4044,16 @@
+ 
+ MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
+ if test -n "$MAGIC_CMD"; then
+-  echo "$as_me:3959: result: $MAGIC_CMD" >&5
++  echo "$as_me:4047: result: $MAGIC_CMD" >&5
+ echo "${ECHO_T}$MAGIC_CMD" >&6
+ else
+-  echo "$as_me:3962: result: no" >&5
++  echo "$as_me:4050: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+ if test -z "$lt_cv_path_MAGIC_CMD"; then
+   if test -n "$ac_tool_prefix"; then
+-    echo "$as_me:3968: checking for file" >&5
++    echo "$as_me:4056: checking for file" >&5
+ echo $ECHO_N "checking for file... $ECHO_C" >&6
+ if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -4020,10 +4108,10 @@
+ 
+ MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
+ if test -n "$MAGIC_CMD"; then
+-  echo "$as_me:4023: result: $MAGIC_CMD" >&5
++  echo "$as_me:4111: result: $MAGIC_CMD" >&5
+ echo "${ECHO_T}$MAGIC_CMD" >&6
+ else
+-  echo "$as_me:4026: result: no" >&5
++  echo "$as_me:4114: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+@@ -4039,7 +4127,7 @@
+ if test -n "$ac_tool_prefix"; then
+   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
+ set dummy ${ac_tool_prefix}ranlib; ac_word=$2
+-echo "$as_me:4042: checking for $ac_word" >&5
++echo "$as_me:4130: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_RANLIB+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -4054,7 +4142,7 @@
+   test -z "$ac_dir" && ac_dir=.
+   $as_executable_p "$ac_dir/$ac_word" || continue
+ ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
+-echo "$as_me:4057: found $ac_dir/$ac_word" >&5
++echo "$as_me:4145: found $ac_dir/$ac_word" >&5
+ break
+ done
+ 
+@@ -4062,10 +4150,10 @@
+ fi
+ RANLIB=$ac_cv_prog_RANLIB
+ if test -n "$RANLIB"; then
+-  echo "$as_me:4065: result: $RANLIB" >&5
++  echo "$as_me:4153: result: $RANLIB" >&5
+ echo "${ECHO_T}$RANLIB" >&6
+ else
+-  echo "$as_me:4068: result: no" >&5
++  echo "$as_me:4156: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+@@ -4074,7 +4162,7 @@
+   ac_ct_RANLIB=$RANLIB
+   # Extract the first word of "ranlib", so it can be a program name with args.
+ set dummy ranlib; ac_word=$2
+-echo "$as_me:4077: checking for $ac_word" >&5
++echo "$as_me:4165: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -4089,7 +4177,7 @@
+   test -z "$ac_dir" && ac_dir=.
+   $as_executable_p "$ac_dir/$ac_word" || continue
+ ac_cv_prog_ac_ct_RANLIB="ranlib"
+-echo "$as_me:4092: found $ac_dir/$ac_word" >&5
++echo "$as_me:4180: found $ac_dir/$ac_word" >&5
+ break
+ done
+ 
+@@ -4098,10 +4186,10 @@
+ fi
+ ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
+ if test -n "$ac_ct_RANLIB"; then
+-  echo "$as_me:4101: result: $ac_ct_RANLIB" >&5
++  echo "$as_me:4189: result: $ac_ct_RANLIB" >&5
+ echo "${ECHO_T}$ac_ct_RANLIB" >&6
+ else
+-  echo "$as_me:4104: result: no" >&5
++  echo "$as_me:4192: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+@@ -4113,7 +4201,7 @@
+ if test -n "$ac_tool_prefix"; then
+   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
+ set dummy ${ac_tool_prefix}strip; ac_word=$2
+-echo "$as_me:4116: checking for $ac_word" >&5
++echo "$as_me:4204: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_STRIP+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -4128,7 +4216,7 @@
+   test -z "$ac_dir" && ac_dir=.
+   $as_executable_p "$ac_dir/$ac_word" || continue
+ ac_cv_prog_STRIP="${ac_tool_prefix}strip"
+-echo "$as_me:4131: found $ac_dir/$ac_word" >&5
++echo "$as_me:4219: found $ac_dir/$ac_word" >&5
+ break
+ done
+ 
+@@ -4136,10 +4224,10 @@
+ fi
+ STRIP=$ac_cv_prog_STRIP
+ if test -n "$STRIP"; then
+-  echo "$as_me:4139: result: $STRIP" >&5
++  echo "$as_me:4227: result: $STRIP" >&5
+ echo "${ECHO_T}$STRIP" >&6
+ else
+-  echo "$as_me:4142: result: no" >&5
++  echo "$as_me:4230: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+@@ -4148,7 +4236,7 @@
+   ac_ct_STRIP=$STRIP
+   # Extract the first word of "strip", so it can be a program name with args.
+ set dummy strip; ac_word=$2
+-echo "$as_me:4151: checking for $ac_word" >&5
++echo "$as_me:4239: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -4163,7 +4251,7 @@
+   test -z "$ac_dir" && ac_dir=.
+   $as_executable_p "$ac_dir/$ac_word" || continue
+ ac_cv_prog_ac_ct_STRIP="strip"
+-echo "$as_me:4166: found $ac_dir/$ac_word" >&5
++echo "$as_me:4254: found $ac_dir/$ac_word" >&5
+ break
+ done
+ 
+@@ -4172,10 +4260,10 @@
+ fi
+ ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
+ if test -n "$ac_ct_STRIP"; then
+-  echo "$as_me:4175: result: $ac_ct_STRIP" >&5
++  echo "$as_me:4263: result: $ac_ct_STRIP" >&5
+ echo "${ECHO_T}$ac_ct_STRIP" >&6
+ else
+-  echo "$as_me:4178: result: no" >&5
++  echo "$as_me:4266: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+@@ -4199,11 +4287,11 @@
+ case $host in
+ *-*-irix6*)
+   # Find out which ABI we are using.
+-  echo '#line 4202 "configure"' > conftest.$ac_ext
+-  if { (eval echo "$as_me:4203: \"$ac_compile\"") >&5
++  echo '#line 4290 "configure"' > conftest.$ac_ext
++  if { (eval echo "$as_me:4291: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:4206: \$? = $ac_status" >&5
++  echo "$as_me:4294: \$? = $ac_status" >&5
+   (exit $ac_status); }; then
+     case `/usr/bin/file conftest.$ac_objext` in
+     *32-bit*)
+@@ -4224,7 +4312,7 @@
+   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
+   SAVE_CFLAGS="$CFLAGS"
+   CFLAGS="$CFLAGS -belf"
+-  echo "$as_me:4227: checking whether the C compiler needs -belf" >&5
++  echo "$as_me:4315: checking whether the C compiler needs -belf" >&5
+ echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
+ if test "${lt_cv_cc_needs_belf+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -4237,7 +4325,7 @@
+ ac_compiler_gnu=$ac_cv_c_compiler_gnu
+ 
+      cat >conftest.$ac_ext <<_ACEOF
+-#line 4240 "configure"
++#line 4328 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -4249,16 +4337,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:4252: \"$ac_link\"") >&5
++if { (eval echo "$as_me:4340: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:4255: \$? = $ac_status" >&5
++  echo "$as_me:4343: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:4258: \"$ac_try\"") >&5
++  { (eval echo "$as_me:4346: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:4261: \$? = $ac_status" >&5
++  echo "$as_me:4349: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   lt_cv_cc_needs_belf=yes
+ else
+@@ -4274,7 +4362,7 @@
+ ac_compiler_gnu=$ac_cv_c_compiler_gnu
+ 
+ fi
+-echo "$as_me:4277: result: $lt_cv_cc_needs_belf" >&5
++echo "$as_me:4365: result: $lt_cv_cc_needs_belf" >&5
+ echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
+   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
+     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
+@@ -4359,15 +4447,22 @@
+ old_postuninstall_cmds=
+ 
+ if test -n "$RANLIB"; then
++  case $host_os in
++  openbsd*)
++    old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
++    ;;
++  *)
++    old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
++    ;;
++  esac
+   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
+-  old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
+ fi
+ 
+ # Allow CC to be a program name with arguments.
+ set dummy $CC
+ compiler="$2"
+ 
+-echo "$as_me:4370: checking for objdir" >&5
++echo "$as_me:4465: checking for objdir" >&5
+ echo $ECHO_N "checking for objdir... $ECHO_C" >&6
+ rm -f .libs 2>/dev/null
+ mkdir .libs 2>/dev/null
+@@ -4378,7 +4473,7 @@
+   objdir=_libs
+ fi
+ rmdir .libs 2>/dev/null
+-echo "$as_me:4381: result: $objdir" >&5
++echo "$as_me:4476: result: $objdir" >&5
+ echo "${ECHO_T}$objdir" >&6
+ 
+ # Check whether --with-pic or --without-pic was given.
+@@ -4393,7 +4488,7 @@
+ # We assume here that the value for lt_cv_prog_cc_pic will not be cached
+ # in isolation, and that seeing it set (from the cache) indicates that
+ # the associated values are set (in the cache) correctly too.
+-echo "$as_me:4396: checking for $compiler option to produce PIC" >&5
++echo "$as_me:4491: checking for $compiler option to produce PIC" >&5
+ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
+ if test "${lt_cv_prog_cc_pic+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -4416,7 +4511,7 @@
+       # libC (AIX C++ library), which obviously doesn't included in libraries
+       # list by gcc. This cause undefined symbols with -static flags.
+       # This hack allows C programs to be linked with "-static -ldl", but
+-      # we not sure about C++ programs.
++      # not sure about C++ programs.
+       lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC"
+       ;;
+     amigaos*)
+@@ -4451,13 +4546,13 @@
+     # PORTME Check for PIC flags for the system compiler.
+     case $host_os in
+     aix3* | aix4* | aix5*)
++      lt_cv_prog_cc_wl='-Wl,'
+       # All AIX code is PIC.
+       if test "$host_cpu" = ia64; then
+-        # AIX 5 now supports IA64 processor
+-        lt_cv_prog_cc_static='-Bstatic'
+-        lt_cv_prog_cc_wl='-Wl,'
++	# AIX 5 now supports IA64 processor
++	lt_cv_prog_cc_static='-Bstatic'
+       else
+-        lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp'
++	lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp'
+       fi
+       ;;
+ 
+@@ -4513,9 +4608,9 @@
+       lt_cv_prog_cc_pic='-KPIC'
+       lt_cv_prog_cc_static='-Bstatic'
+       if test "x$host_vendor" = xsni; then
+-        lt_cv_prog_cc_wl='-LD'
++	lt_cv_prog_cc_wl='-LD'
+       else
+-        lt_cv_prog_cc_wl='-Wl,'
++	lt_cv_prog_cc_wl='-Wl,'
+       fi
+       ;;
+ 
+@@ -4540,14 +4635,14 @@
+ fi
+ 
+ if test -z "$lt_cv_prog_cc_pic"; then
+-  echo "$as_me:4543: result: none" >&5
++  echo "$as_me:4638: result: none" >&5
+ echo "${ECHO_T}none" >&6
+ else
+-  echo "$as_me:4546: result: $lt_cv_prog_cc_pic" >&5
++  echo "$as_me:4641: result: $lt_cv_prog_cc_pic" >&5
+ echo "${ECHO_T}$lt_cv_prog_cc_pic" >&6
+ 
+   # Check to make sure the pic_flag actually works.
+-  echo "$as_me:4550: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5
++  echo "$as_me:4645: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5
+ echo $ECHO_N "checking if $compiler PIC flag $lt_cv_prog_cc_pic works... $ECHO_C" >&6
+   if test "${lt_cv_prog_cc_pic_works+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -4555,7 +4650,7 @@
+       save_CFLAGS="$CFLAGS"
+     CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"
+     cat >conftest.$ac_ext <<_ACEOF
+-#line 4558 "configure"
++#line 4653 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -4567,16 +4662,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:4570: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:4665: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:4573: \$? = $ac_status" >&5
++  echo "$as_me:4668: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:4576: \"$ac_try\"") >&5
++  { (eval echo "$as_me:4671: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:4579: \$? = $ac_status" >&5
++  echo "$as_me:4674: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+         case $host_os in
+       hpux9* | hpux10* | hpux11*)
+@@ -4612,23 +4707,23 @@
+     lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic"
+   fi
+ 
+-  echo "$as_me:4615: result: $lt_cv_prog_cc_pic_works" >&5
++  echo "$as_me:4710: result: $lt_cv_prog_cc_pic_works" >&5
+ echo "${ECHO_T}$lt_cv_prog_cc_pic_works" >&6
+ fi
+ 
+ # Check for any special shared library compilation flags.
+ if test -n "$lt_cv_prog_cc_shlib"; then
+-  { echo "$as_me:4621: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&5
++  { echo "$as_me:4716: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&5
+ echo "$as_me: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&2;}
+   if echo "$old_CC $old_CFLAGS " | egrep -e "[ 	]$lt_cv_prog_cc_shlib[ 	]" >/dev/null; then :
+   else
+-   { echo "$as_me:4625: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
++   { echo "$as_me:4720: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
+ echo "$as_me: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
+     lt_cv_prog_cc_can_build_shared=no
+   fi
+ fi
+ 
+-echo "$as_me:4631: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5
++echo "$as_me:4726: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5
+ echo $ECHO_N "checking if $compiler static flag $lt_cv_prog_cc_static works... $ECHO_C" >&6
+ if test "${lt_cv_prog_cc_static_works+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -4637,7 +4732,7 @@
+   save_LDFLAGS="$LDFLAGS"
+   LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 4640 "configure"
++#line 4735 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -4649,16 +4744,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:4652: \"$ac_link\"") >&5
++if { (eval echo "$as_me:4747: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:4655: \$? = $ac_status" >&5
++  echo "$as_me:4750: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:4658: \"$ac_try\"") >&5
++  { (eval echo "$as_me:4753: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:4661: \$? = $ac_status" >&5
++  echo "$as_me:4756: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   lt_cv_prog_cc_static_works=yes
+ else
+@@ -4672,7 +4767,7 @@
+ 
+ # Belt *and* braces to stop my trousers falling down:
+ test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static=
+-echo "$as_me:4675: result: $lt_cv_prog_cc_static_works" >&5
++echo "$as_me:4770: result: $lt_cv_prog_cc_static_works" >&5
+ echo "${ECHO_T}$lt_cv_prog_cc_static_works" >&6
+ 
+ pic_flag="$lt_cv_prog_cc_pic"
+@@ -4683,7 +4778,7 @@
+ can_build_shared="$lt_cv_prog_cc_can_build_shared"
+ 
+ # Check to see if options -o and -c are simultaneously supported by compiler
+-echo "$as_me:4686: checking if $compiler supports -c -o file.$ac_objext" >&5
++echo "$as_me:4781: checking if $compiler supports -c -o file.$ac_objext" >&5
+ echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
+ if test "${lt_cv_compiler_c_o+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -4703,7 +4798,7 @@
+ save_CFLAGS="$CFLAGS"
+ CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
+ compiler_c_o=no
+-if { (eval echo configure:4706: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
++if { (eval echo configure:4801: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
+   # The compiler can only warn and ignore the option if not recognized
+   # So say no if there are warnings
+   if test -s out/conftest.err; then
+@@ -4727,12 +4822,12 @@
+ fi
+ 
+ compiler_c_o=$lt_cv_compiler_c_o
+-echo "$as_me:4730: result: $compiler_c_o" >&5
++echo "$as_me:4825: result: $compiler_c_o" >&5
+ echo "${ECHO_T}$compiler_c_o" >&6
+ 
+ if test x"$compiler_c_o" = x"yes"; then
+   # Check to see if we can write to a .lo
+-  echo "$as_me:4735: checking if $compiler supports -c -o file.lo" >&5
++  echo "$as_me:4830: checking if $compiler supports -c -o file.lo" >&5
+ echo $ECHO_N "checking if $compiler supports -c -o file.lo... $ECHO_C" >&6
+   if test "${lt_cv_compiler_o_lo+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -4741,8 +4836,10 @@
+   lt_cv_compiler_o_lo=no
+   save_CFLAGS="$CFLAGS"
+   CFLAGS="$CFLAGS -c -o conftest.lo"
++  save_objext="$ac_objext"
++  ac_objext=lo
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 4745 "configure"
++#line 4842 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -4754,16 +4851,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:4757: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:4854: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:4760: \$? = $ac_status" >&5
++  echo "$as_me:4857: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:4763: \"$ac_try\"") >&5
++  { (eval echo "$as_me:4860: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:4766: \$? = $ac_status" >&5
++  echo "$as_me:4863: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+       # The compiler can only warn and ignore the option if not recognized
+     # So say no if there are warnings
+@@ -4778,13 +4875,14 @@
+ cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
++  ac_objext="$save_objext"
+   CFLAGS="$save_CFLAGS"
+ 
+ fi
+ 
+   compiler_o_lo=$lt_cv_compiler_o_lo
+-  echo "$as_me:4786: result: $compiler_c_lo" >&5
+-echo "${ECHO_T}$compiler_c_lo" >&6
++  echo "$as_me:4884: result: $compiler_o_lo" >&5
++echo "${ECHO_T}$compiler_o_lo" >&6
+ else
+   compiler_o_lo=no
+ fi
+@@ -4793,7 +4891,7 @@
+ hard_links="nottested"
+ if test "$compiler_c_o" = no && test "$need_locks" != no; then
+   # do not overwrite the value of need_locks provided by the user
+-  echo "$as_me:4796: checking if we can lock with hard links" >&5
++  echo "$as_me:4894: checking if we can lock with hard links" >&5
+ echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
+   hard_links=yes
+   $rm conftest*
+@@ -4801,10 +4899,10 @@
+   touch conftest.a
+   ln conftest.a conftest.b 2>&5 || hard_links=no
+   ln conftest.a conftest.b 2>/dev/null && hard_links=no
+-  echo "$as_me:4804: result: $hard_links" >&5
++  echo "$as_me:4902: result: $hard_links" >&5
+ echo "${ECHO_T}$hard_links" >&6
+   if test "$hard_links" = no; then
+-    { echo "$as_me:4807: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
++    { echo "$as_me:4905: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
+ echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
+     need_locks=warn
+   fi
+@@ -4814,14 +4912,14 @@
+ 
+ if test "$GCC" = yes; then
+   # Check to see if options -fno-rtti -fno-exceptions are supported by compiler
+-  echo "$as_me:4817: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
++  echo "$as_me:4915: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
+ echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
+   echo "int some_variable = 0;" > conftest.$ac_ext
+   save_CFLAGS="$CFLAGS"
+   CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"
+   compiler_rtti_exceptions=no
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 4824 "configure"
++#line 4922 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -4833,16 +4931,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:4836: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:4934: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:4839: \$? = $ac_status" >&5
++  echo "$as_me:4937: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:4842: \"$ac_try\"") >&5
++  { (eval echo "$as_me:4940: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:4845: \$? = $ac_status" >&5
++  echo "$as_me:4943: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+       # The compiler can only warn and ignore the option if not recognized
+     # So say no if there are warnings
+@@ -4858,7 +4956,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+   CFLAGS="$save_CFLAGS"
+-  echo "$as_me:4861: result: $compiler_rtti_exceptions" >&5
++  echo "$as_me:4959: result: $compiler_rtti_exceptions" >&5
+ echo "${ECHO_T}$compiler_rtti_exceptions" >&6
+ 
+   if test "$compiler_rtti_exceptions" = "yes"; then
+@@ -4869,7 +4967,7 @@
+ fi
+ 
+ # See if the linker supports building shared libraries.
+-echo "$as_me:4872: checking whether the linker ($LD) supports shared libraries" >&5
++echo "$as_me:4970: checking whether the linker ($LD) supports shared libraries" >&5
+ echo $ECHO_N "checking whether the linker ($LD) supports shared libraries... $ECHO_C" >&6
+ 
+ allow_undefined_flag=
+@@ -4911,7 +5009,7 @@
+ extract_expsyms_cmds=
+ 
+ case $host_os in
+-cygwin* | mingw* | pw32* )
++cygwin* | mingw* | pw32*)
+   # FIXME: the MSVC++ port hasn't been tested in a loooong time
+   # When not using gcc, we currently assume that we are using
+   # Microsoft Visual C++.
+@@ -4919,7 +5017,9 @@
+     with_gnu_ld=no
+   fi
+   ;;
+-
++openbsd*)
++  with_gnu_ld=no
++  ;;
+ esac
+ 
+ ld_shlibs=yes
+@@ -5006,7 +5106,7 @@
+     # can override, but on older systems we have to supply one (in ltdll.c)
+     if test "x$lt_cv_need_dllmain" = "xyes"; then
+       ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext "
+-      ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < [$]0 > $output_objdir/$soname-ltdll.c~
++      ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < $''0 > $output_objdir/$soname-ltdll.c~
+ 	test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~'
+     else
+       ltdll_obj=
+@@ -5025,18 +5125,18 @@
+     # is EXPORTS), use it as is.
+     # If DATA tags from a recent dlltool are present, honour them!
+     archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then
+-        cp $export_symbols $output_objdir/$soname-def;
++	cp $export_symbols $output_objdir/$soname-def;
+       else
+-        echo EXPORTS > $output_objdir/$soname-def;
+-        _lt_hint=1;
+-        cat $export_symbols | while read symbol; do
+-         set dummy \$symbol;
+-         case \$# in
+-           2) echo "   \$2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
+-           *) echo "     \$2 @ \$_lt_hint \$3 ; " >> $output_objdir/$soname-def;;
+-         esac;
+-         _lt_hint=`expr 1 + \$_lt_hint`;
+-        done;
++	echo EXPORTS > $output_objdir/$soname-def;
++	_lt_hint=1;
++	cat $export_symbols | while read symbol; do
++	 set dummy \$symbol;
++	 case \$# in
++	   2) echo "   \$2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
++	   *) echo "     \$2 @ \$_lt_hint \$3 ; " >> $output_objdir/$soname-def;;
++	 esac;
++	 _lt_hint=`expr 1 + \$_lt_hint`;
++	done;
+       fi~
+       '"$ltdll_cmds"'
+       $CC -Wl,--base-file,$output_objdir/$soname-base '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
+@@ -5131,80 +5231,96 @@
+     ;;
+ 
+   aix4* | aix5*)
++    if test "$host_cpu" = ia64; then
++      # On IA64, the linker does run time linking by default, so we don't
++      # have to do anything special.
++      aix_use_runtimelinking=no
++      exp_sym_flag='-Bexport'
++      no_entry_flag=""
++    else
++      aix_use_runtimelinking=no
++
++      # Test if we are trying to use run time linking or normal
++      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
++      # need to do runtime linking.
++      case $host_os in aix4.[23]|aix4.[23].*|aix5*)
++	for ld_flag in $LDFLAGS; do
++	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
++	    aix_use_runtimelinking=yes
++	    break
++	  fi
++	done
++      esac
++
++      exp_sym_flag='-bexport'
++      no_entry_flag='-bnoentry'
++    fi
++
+     # When large executables or shared objects are built, AIX ld can
+     # have problems creating the table of contents.  If linking a library
+     # or program results in "error TOC overflow" add -mminimal-toc to
+     # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
+     # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
+ 
++    hardcode_direct=yes
+     archive_cmds=''
+     hardcode_libdir_separator=':'
+     if test "$GCC" = yes; then
+-      collect2name=`${CC} -print-prog-name=collect2`
+-      if test -f "$collect2name" && \
+-	 strings "$collect2name" | grep resolve_lib_name >/dev/null
+-      then
+-	# We have reworked collect2
+-	hardcode_direct=yes
+-      else
+-        # We have old collect2
+-        hardcode_direct=unsupported
+-        # It fails to find uninstalled libraries when the uninstalled
+-        # path is not listed in the libpath.  Setting hardcode_minus_L
+-        # to unsupported forces relinking
+-        hardcode_minus_L=yes
+-        hardcode_libdir_flag_spec='-L$libdir'
+-        hardcode_libdir_separator=
+-      fi
++      case $host_os in aix4.[012]|aix4.[012].*)
++	collect2name=`${CC} -print-prog-name=collect2`
++	if test -f "$collect2name" && \
++	  strings "$collect2name" | grep resolve_lib_name >/dev/null
++	then
++	  # We have reworked collect2
++	  hardcode_direct=yes
++	else
++	  # We have old collect2
++	  hardcode_direct=unsupported
++	  # It fails to find uninstalled libraries when the uninstalled
++	  # path is not listed in the libpath.  Setting hardcode_minus_L
++	  # to unsupported forces relinking
++	  hardcode_minus_L=yes
++	  hardcode_libdir_flag_spec='-L$libdir'
++	  hardcode_libdir_separator=
++	fi
++      esac
++
+       shared_flag='-shared'
+     else
++      # not using gcc
+       if test "$host_cpu" = ia64; then
+-        shared_flag='-G'
++	shared_flag='${wl}-G'
+       else
+-        shared_flag='${wl}-bM:SRE'
++	if test "$aix_use_runtimelinking" = yes; then
++	  shared_flag='${wl}-G'
++	else
++	  shared_flag='${wl}-bM:SRE'
++	fi
+       fi
+-      hardcode_direct=yes
+     fi
+ 
+-    if test "$host_cpu" = ia64; then
+-      # On IA64, the linker does run time linking by default, so we don't
+-      # have to do anything special.
+-      aix_use_runtimelinking=no
+-      exp_sym_flag='-Bexport'
+-      no_entry_flag=""
+-    else
+-      # Test if we are trying to use run time linking, or normal AIX style linking.
+-      # If -brtl is somewhere in LDFLAGS, we need to do run time linking.
+-      aix_use_runtimelinking=no
+-      for ld_flag in $LDFLAGS; do
+-        if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl" ); then
+-          aix_use_runtimelinking=yes
+-          break
+-        fi
+-      done
+-      exp_sym_flag='-bexport'
+-      no_entry_flag='-bnoentry'
+-    fi
+     # It seems that -bexpall can do strange things, so it is better to
+     # generate a list of symbols to export.
+     always_export_symbols=yes
+     if test "$aix_use_runtimelinking" = yes; then
++      # Warning - without using the other runtime loading flags (-brtl),
++      # -berok will link without error, but may produce a broken library.
++      allow_undefined_flag='-berok'
+       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib'
+-      allow_undefined_flag=' -Wl,-G'
+-      archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
++      archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
+     else
+       if test "$host_cpu" = ia64; then
+-        hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
+-       allow_undefined_flag="-znodefs"
+-        archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
++	hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
++	allow_undefined_flag="-z nodefs"
++	archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
+       else
+-        hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib'
+-        # Warning - without using the other run time loading flags, -berok will
+-        #           link without error, but may produce a broken library.
+-        allow_undefined_flag='${wl}-berok"
+-        # This is a bit strange, but is similar to how AIX traditionally builds
+-        # it's shared libraries.
+-        archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $objdir/$libname$release.a $objdir/$soname'
++	hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib'
++	# Warning - without using the other run time loading flags,
++	# -berok will link without error, but may produce a broken library.
++	allow_undefined_flag='${wl}-berok'
++	# This is a bit strange, but is similar to how AIX traditionally builds
++	# it's shared libraries.
++	archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $objdir/$libname$release.a $objdir/$soname'
+       fi
+     fi
+     ;;
+@@ -5236,11 +5352,18 @@
+     ;;
+ 
+   darwin* | rhapsody*)
+-    allow_undefined_flag='-undefined suppress'
++    case "$host_os" in
++    rhapsody* | darwin1.[012])
++      allow_undefined_flag='-undefined suppress'
++      ;;
++    *) # Darwin 1.3 on
++      allow_undefined_flag='-flat_namespace -undefined suppress'
++      ;;
++    esac
+     # FIXME: Relying on posixy $() will cause problems for
+     #        cross-compilation, but unfortunately the echo tests do not
+     #        yet detect zsh echo's removal of \ escapes.
+-    archive_cmds='$CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linkopts -install_name $rpath/$soname $(test -n "$verstring" -a x$verstring != x0.0 && echo $verstring)'
++    archive_cmds='$nonopt $(test "x$module" = xyes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linker_flags -install_name $rpath/$soname $verstring'
+     # We need to add '_' to the symbols in $export_symbols first
+     #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
+     hardcode_direct=yes
+@@ -5315,7 +5438,7 @@
+     ;;
+ 
+   newsos6)
+-    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linkopts'
++    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+     hardcode_direct=yes
+     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
+     hardcode_libdir_separator=:
+@@ -5323,10 +5446,24 @@
+     ;;
+ 
+   openbsd*)
+-    archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
+-    hardcode_libdir_flag_spec='-R$libdir'
+     hardcode_direct=yes
+     hardcode_shlibpath_var=no
++    if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
++      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
++      export_dynamic_flag_spec='${wl}-E'
++    else
++      case "$host_os" in
++      openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
++	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++	hardcode_libdir_flag_spec='-R$libdir'
++        ;;
++      *)
++        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
++        hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
++        ;;
++      esac
++    fi
+     ;;
+ 
+   os2*)
+@@ -5371,10 +5508,39 @@
+     hardcode_shlibpath_var=no
+     runpath_var=LD_RUN_PATH
+     hardcode_runpath_var=yes
++    export_dynamic_flag_spec='${wl}-Bexport'
+     ;;
+ 
+   solaris*)
++    # gcc --version < 3.0 without binutils cannot create self contained
++    # shared libraries reliably, requiring libgcc.a to resolve some of
++    # the object symbols generated in some cases.  Libraries that use
++    # assert need libgcc.a to resolve __eprintf, for example.  Linking
++    # a copy of libgcc.a into every shared library to guarantee resolving
++    # such symbols causes other problems:  According to Tim Van Holder
++    # <tim.van.holder@pandora.be>, C++ libraries end up with a separate
++    # (to the application) exception stack for one thing.
+     no_undefined_flag=' -z defs'
++    if test "$GCC" = yes; then
++      case `$CC --version 2>/dev/null` in
++      [12].*)
++	cat <<EOF 1>&2
++
++*** Warning: Releases of GCC earlier than version 3.0 cannot reliably
++*** create self contained shared libraries on Solaris systems, without
++*** introducing a dependency on libgcc.a.  Therefore, libtool is disabling
++*** -no-undefined support, which will at least allow you to build shared
++*** libraries.  However, you may find that when you link such libraries
++*** into an application without using GCC, you have to manually add
++*** \`gcc --print-libgcc-file-name\` to the link command.  We urge you to
++*** upgrade to a newer version of GCC.  Another option is to rebuild your
++*** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer.
++
++EOF
++        no_undefined_flag=
++	;;
++      esac
++    fi
+     # $CC -shared without GNU ld will not create a library from C++
+     # object files and a static libstdc++, better avoid it by now
+     archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
+@@ -5406,7 +5572,7 @@
+ 
+   sysv4)
+     if test "x$host_vendor" = xsno; then
+-      archive_cmds='$LD -G -Bsymbolic -h $soname -o $lib $libobjs $deplibs $linkopts'
++      archive_cmds='$LD -G -Bsymbolic -h $soname -o $lib $libobjs $deplibs $linker_flags'
+       hardcode_direct=yes # is this really true???
+     else
+       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+@@ -5481,12 +5647,12 @@
+     ;;
+   esac
+ fi
+-echo "$as_me:5484: result: $ld_shlibs" >&5
++echo "$as_me:5650: result: $ld_shlibs" >&5
+ echo "${ECHO_T}$ld_shlibs" >&6
+ test "$ld_shlibs" = no && can_build_shared=no
+ 
+ # Check hardcoding attributes.
+-echo "$as_me:5489: checking how to hardcode library paths into programs" >&5
++echo "$as_me:5655: checking how to hardcode library paths into programs" >&5
+ echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
+ hardcode_action=
+ if test -n "$hardcode_libdir_flag_spec" || \
+@@ -5510,20 +5676,20 @@
+   # directories.
+   hardcode_action=unsupported
+ fi
+-echo "$as_me:5513: result: $hardcode_action" >&5
++echo "$as_me:5679: result: $hardcode_action" >&5
+ echo "${ECHO_T}$hardcode_action" >&6
+ 
+ striplib=
+ old_striplib=
+-echo "$as_me:5518: checking whether stripping libraries is possible" >&5
++echo "$as_me:5684: checking whether stripping libraries is possible" >&5
+ echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
+ if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
+   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
+   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
+-  echo "$as_me:5523: result: yes" >&5
++  echo "$as_me:5689: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ else
+-  echo "$as_me:5526: result: no" >&5
++  echo "$as_me:5692: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+@@ -5531,7 +5697,7 @@
+ test -z "$deplibs_check_method" && deplibs_check_method=unknown
+ 
+ # PORTME Fill in your ld.so characteristics
+-echo "$as_me:5534: checking dynamic linker characteristics" >&5
++echo "$as_me:5700: checking dynamic linker characteristics" >&5
+ echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
+ library_names_spec=
+ libname_spec='lib$name'
+@@ -5570,22 +5736,24 @@
+     # depend on `.', always an invalid library.  This was fixed in
+     # development snapshots of GCC prior to 3.0.
+     case $host_os in
+-       aix4 | aix4.[01] | aix4.[01].*)
+-      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
+-           echo ' yes '
+-           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
+-        :
+-      else
+-        can_build_shared=no
+-      fi
+-      ;;
++      aix4 | aix4.[01] | aix4.[01].*)
++	if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
++	     echo ' yes '
++	     echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
++	  :
++	else
++	  can_build_shared=no
++	fi
++	;;
+     esac
+-    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
+-    # soname into executable. Probably we can add versioning support to
+-    # collect2, so additional links can be useful in future.
++    # AIX (on Power*) has no versioning support, so currently we can
++    # not hardcode correct soname into executable. Probably we can
++    # add versioning support to collect2, so additional links can
++    # be useful in future.
+     if test "$aix_use_runtimelinking" = yes; then
+-      # If using run time linking (on AIX 4.2 or later) use lib<name>.so instead of
+-      # lib<name>.a to let people know that these are not typical AIX shared libraries.
++      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
++      # instead of lib<name>.a to let people know that these are not
++      # typical AIX shared libraries.
+       library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
+     else
+       # We preserve .a as extension for shared libraries through AIX4.2
+@@ -5594,7 +5762,6 @@
+       soname_spec='${libname}${release}.so$major'
+     fi
+     shlibpath_var=LIBPATH
+-    deplibs_check_method=pass_all
+   fi
+   ;;
+ 
+@@ -5807,9 +5974,19 @@
+ 
+ openbsd*)
+   version_type=sunos
+-  if test "$with_gnu_ld" = yes; then
+-    need_lib_prefix=no
+-    need_version=no
++  need_lib_prefix=no
++  need_version=no
++  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
++    case "$host_os" in
++    openbsd2.[89] | openbsd2.[89].*)
++      shlibpath_overrides_runpath=no
++      ;;
++    *)
++      shlibpath_overrides_runpath=yes
++      ;;
++    esac
++  else
++    shlibpath_overrides_runpath=yes
+   fi
+   library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
+   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
+@@ -5913,16 +6090,47 @@
+   dynamic_linker=no
+   ;;
+ esac
+-echo "$as_me:5916: result: $dynamic_linker" >&5
++echo "$as_me:6093: result: $dynamic_linker" >&5
+ echo "${ECHO_T}$dynamic_linker" >&6
+ test "$dynamic_linker" = no && can_build_shared=no
+ 
+ # Report the final consequences.
+-echo "$as_me:5921: checking if libtool supports shared libraries" >&5
++echo "$as_me:6098: checking if libtool supports shared libraries" >&5
+ echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
+-echo "$as_me:5923: result: $can_build_shared" >&5
++echo "$as_me:6100: result: $can_build_shared" >&5
+ echo "${ECHO_T}$can_build_shared" >&6
+ 
++echo "$as_me:6103: checking whether to build shared libraries" >&5
++echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
++test "$can_build_shared" = "no" && enable_shared=no
++
++# On AIX, shared libraries and static libraries use the same namespace, and
++# are all built from PIC.
++case "$host_os" in
++aix3*)
++  test "$enable_shared" = yes && enable_static=no
++  if test -n "$RANLIB"; then
++    archive_cmds="$archive_cmds~\$RANLIB \$lib"
++    postinstall_cmds='$RANLIB $lib'
++  fi
++  ;;
++
++aix4*)
++  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
++    test "$enable_shared" = yes && enable_static=no
++  fi
++  ;;
++esac
++echo "$as_me:6124: result: $enable_shared" >&5
++echo "${ECHO_T}$enable_shared" >&6
++
++echo "$as_me:6127: checking whether to build static libraries" >&5
++echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
++# Make sure either enable_shared or enable_static is yes.
++test "$enable_shared" = yes || enable_static=yes
++echo "$as_me:6131: result: $enable_static" >&5
++echo "${ECHO_T}$enable_static" >&6
++
+ if test "$hardcode_action" = relink; then
+   # Fast installation is not supported
+   enable_fast_install=no
+@@ -5958,15 +6166,76 @@
+    ;;
+ 
+   *)
+-    echo "$as_me:5961: checking for dlopen in -ldl" >&5
+-echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
+-if test "${ac_cv_lib_dl_dlopen+set}" = set; then
++    echo "$as_me:6169: checking for shl_load" >&5
++echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
++if test "${ac_cv_func_shl_load+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line 6175 "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char shl_load (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char shl_load ();
++char (*f) ();
++
++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_shl_load) || defined (__stub___shl_load)
++choke me
++#else
++f = shl_load;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:6206: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:6209: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:6212: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:6215: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_shl_load=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_shl_load=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:6225: result: $ac_cv_func_shl_load" >&5
++echo "${ECHO_T}$ac_cv_func_shl_load" >&6
++if test $ac_cv_func_shl_load = yes; then
++  lt_cv_dlopen="shl_load"
++else
++  echo "$as_me:6230: checking for shl_load in -ldld" >&5
++echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
++if test "${ac_cv_lib_dld_shl_load+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   ac_check_lib_save_LIBS=$LIBS
+-LIBS="-ldl  $LIBS"
++LIBS="-ldld  $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 5969 "configure"
++#line 6238 "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -5975,48 +6244,48 @@
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+-char dlopen ();
++char shl_load ();
+ int
+ main ()
+ {
+-dlopen ();
++shl_load ();
+   ;
+   return 0;
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:5988: \"$ac_link\"") >&5
++if { (eval echo "$as_me:6257: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:5991: \$? = $ac_status" >&5
++  echo "$as_me:6260: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:5994: \"$ac_try\"") >&5
++  { (eval echo "$as_me:6263: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:5997: \$? = $ac_status" >&5
++  echo "$as_me:6266: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_lib_dl_dlopen=yes
++  ac_cv_lib_dld_shl_load=yes
+ else
+   echo "$as_me: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+-ac_cv_lib_dl_dlopen=no
++ac_cv_lib_dld_shl_load=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "$as_me:6008: result: $ac_cv_lib_dl_dlopen" >&5
+-echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
+-if test $ac_cv_lib_dl_dlopen = yes; then
+-  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
++echo "$as_me:6277: result: $ac_cv_lib_dld_shl_load" >&5
++echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
++if test $ac_cv_lib_dld_shl_load = yes; then
++  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
+ else
+-  echo "$as_me:6013: checking for dlopen" >&5
++  echo "$as_me:6282: checking for dlopen" >&5
+ echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
+ if test "${ac_cv_func_dlopen+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 6019 "configure"
++#line 6288 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char dlopen (); below.  */
+@@ -6047,16 +6316,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:6050: \"$ac_link\"") >&5
++if { (eval echo "$as_me:6319: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:6053: \$? = $ac_status" >&5
++  echo "$as_me:6322: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:6056: \"$ac_try\"") >&5
++  { (eval echo "$as_me:6325: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:6059: \$? = $ac_status" >&5
++  echo "$as_me:6328: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_func_dlopen=yes
+ else
+@@ -6066,73 +6335,64 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:6069: result: $ac_cv_func_dlopen" >&5
++echo "$as_me:6338: result: $ac_cv_func_dlopen" >&5
+ echo "${ECHO_T}$ac_cv_func_dlopen" >&6
+ if test $ac_cv_func_dlopen = yes; then
+   lt_cv_dlopen="dlopen"
+ else
+-  echo "$as_me:6074: checking for shl_load" >&5
+-echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
+-if test "${ac_cv_func_shl_load+set}" = set; then
++  echo "$as_me:6343: checking for dlopen in -ldl" >&5
++echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
++if test "${ac_cv_lib_dl_dlopen+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<_ACEOF
+-#line 6080 "configure"
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ldl  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line 6351 "configure"
+ #include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char shl_load (); below.  */
+-#include <assert.h>
++
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+-char shl_load ();
+-char (*f) ();
+-
++char dlopen ();
+ 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_shl_load) || defined (__stub___shl_load)
+-choke me
+-#else
+-f = shl_load;
+-#endif
+-
++dlopen ();
+   ;
+   return 0;
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:6111: \"$ac_link\"") >&5
++if { (eval echo "$as_me:6370: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:6114: \$? = $ac_status" >&5
++  echo "$as_me:6373: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:6117: \"$ac_try\"") >&5
++  { (eval echo "$as_me:6376: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:6120: \$? = $ac_status" >&5
++  echo "$as_me:6379: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_func_shl_load=yes
++  ac_cv_lib_dl_dlopen=yes
+ else
+   echo "$as_me: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+-ac_cv_func_shl_load=no
++ac_cv_lib_dl_dlopen=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "$as_me:6130: result: $ac_cv_func_shl_load" >&5
+-echo "${ECHO_T}$ac_cv_func_shl_load" >&6
+-if test $ac_cv_func_shl_load = yes; then
+-  lt_cv_dlopen="shl_load"
++echo "$as_me:6390: result: $ac_cv_lib_dl_dlopen" >&5
++echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
++if test $ac_cv_lib_dl_dlopen = yes; then
++  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
+ else
+-  echo "$as_me:6135: checking for dlopen in -lsvld" >&5
++  echo "$as_me:6395: checking for dlopen in -lsvld" >&5
+ echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
+ if test "${ac_cv_lib_svld_dlopen+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -6140,7 +6400,7 @@
+   ac_check_lib_save_LIBS=$LIBS
+ LIBS="-lsvld  $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 6143 "configure"
++#line 6403 "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -6159,16 +6419,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:6162: \"$ac_link\"") >&5
++if { (eval echo "$as_me:6422: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:6165: \$? = $ac_status" >&5
++  echo "$as_me:6425: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:6168: \"$ac_try\"") >&5
++  { (eval echo "$as_me:6428: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:6171: \$? = $ac_status" >&5
++  echo "$as_me:6431: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_lib_svld_dlopen=yes
+ else
+@@ -6179,20 +6439,20 @@
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "$as_me:6182: result: $ac_cv_lib_svld_dlopen" >&5
++echo "$as_me:6442: result: $ac_cv_lib_svld_dlopen" >&5
+ echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
+ if test $ac_cv_lib_svld_dlopen = yes; then
+   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
+ else
+-  echo "$as_me:6187: checking for shl_load in -ldld" >&5
+-echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
+-if test "${ac_cv_lib_dld_shl_load+set}" = set; then
++  echo "$as_me:6447: checking for dld_link in -ldld" >&5
++echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
++if test "${ac_cv_lib_dld_dld_link+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   ac_check_lib_save_LIBS=$LIBS
+ LIBS="-ldld  $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 6195 "configure"
++#line 6455 "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -6201,39 +6461,39 @@
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+-char shl_load ();
++char dld_link ();
+ int
+ main ()
+ {
+-shl_load ();
++dld_link ();
+   ;
+   return 0;
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:6214: \"$ac_link\"") >&5
++if { (eval echo "$as_me:6474: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:6217: \$? = $ac_status" >&5
++  echo "$as_me:6477: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:6220: \"$ac_try\"") >&5
++  { (eval echo "$as_me:6480: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:6223: \$? = $ac_status" >&5
++  echo "$as_me:6483: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_lib_dld_shl_load=yes
++  ac_cv_lib_dld_dld_link=yes
+ else
+   echo "$as_me: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+-ac_cv_lib_dld_shl_load=no
++ac_cv_lib_dld_dld_link=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "$as_me:6234: result: $ac_cv_lib_dld_shl_load" >&5
+-echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
+-if test $ac_cv_lib_dld_shl_load = yes; then
++echo "$as_me:6494: result: $ac_cv_lib_dld_dld_link" >&5
++echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
++if test $ac_cv_lib_dld_dld_link = yes; then
+   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
+ fi
+ 
+@@ -6245,6 +6505,8 @@
+ 
+ fi
+ 
++fi
++
+     ;;
+   esac
+ 
+@@ -6265,7 +6527,7 @@
+     save_LIBS="$LIBS"
+     LIBS="$lt_cv_dlopen_libs $LIBS"
+ 
+-    echo "$as_me:6268: checking whether a program can dlopen itself" >&5
++    echo "$as_me:6530: checking whether a program can dlopen itself" >&5
+ echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
+ if test "${lt_cv_dlopen_self+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -6276,7 +6538,7 @@
+     lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
+   lt_status=$lt_dlunknown
+   cat > conftest.$ac_ext <<EOF
+-#line 6279 "configure"
++#line 6541 "configure"
+ #include "confdefs.h"
+ 
+ #if HAVE_DLFCN_H
+@@ -6337,10 +6599,10 @@
+     exit (status);
+ }
+ EOF
+-  if { (eval echo "$as_me:6340: \"$ac_link\"") >&5
++  if { (eval echo "$as_me:6602: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:6343: \$? = $ac_status" >&5
++  echo "$as_me:6605: \$? = $ac_status" >&5
+   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
+     (./conftest; exit; ) 2>/dev/null
+     lt_status=$?
+@@ -6357,12 +6619,12 @@
+ rm -fr conftest*
+ 
+ fi
+-echo "$as_me:6360: result: $lt_cv_dlopen_self" >&5
++echo "$as_me:6622: result: $lt_cv_dlopen_self" >&5
+ echo "${ECHO_T}$lt_cv_dlopen_self" >&6
+ 
+     if test "x$lt_cv_dlopen_self" = xyes; then
+       LDFLAGS="$LDFLAGS $link_static_flag"
+-      echo "$as_me:6365: checking whether a statically linked program can dlopen itself" >&5
++      echo "$as_me:6627: checking whether a statically linked program can dlopen itself" >&5
+ echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
+ if test "${lt_cv_dlopen_self_static+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -6373,7 +6635,7 @@
+     lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
+   lt_status=$lt_dlunknown
+   cat > conftest.$ac_ext <<EOF
+-#line 6376 "configure"
++#line 6638 "configure"
+ #include "confdefs.h"
+ 
+ #if HAVE_DLFCN_H
+@@ -6434,10 +6696,10 @@
+     exit (status);
+ }
+ EOF
+-  if { (eval echo "$as_me:6437: \"$ac_link\"") >&5
++  if { (eval echo "$as_me:6699: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:6440: \$? = $ac_status" >&5
++  echo "$as_me:6702: \$? = $ac_status" >&5
+   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
+     (./conftest; exit; ) 2>/dev/null
+     lt_status=$?
+@@ -6454,7 +6716,7 @@
+ rm -fr conftest*
+ 
+ fi
+-echo "$as_me:6457: result: $lt_cv_dlopen_self_static" >&5
++echo "$as_me:6719: result: $lt_cv_dlopen_self_static" >&5
+ echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
+     fi
+ 
+@@ -6484,7 +6746,7 @@
+     # Test whether the compiler implicitly links with -lc since on some
+     # systems, -lgcc has to come before -lc. If gcc already passes -lc
+     # to ld, don't add -lc before -lgcc.
+-    echo "$as_me:6487: checking whether -lc should be explicitly linked in" >&5
++    echo "$as_me:6749: checking whether -lc should be explicitly linked in" >&5
+ echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
+     if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -6492,10 +6754,10 @@
+   $rm conftest*
+     echo 'static int dummy;' > conftest.$ac_ext
+ 
+-    if { (eval echo "$as_me:6495: \"$ac_compile\"") >&5
++    if { (eval echo "$as_me:6757: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:6498: \$? = $ac_status" >&5
++  echo "$as_me:6760: \$? = $ac_status" >&5
+   (exit $ac_status); }; then
+       soname=conftest
+       lib=conftest
+@@ -6509,10 +6771,10 @@
+       libname=conftest
+       save_allow_undefined_flag=$allow_undefined_flag
+       allow_undefined_flag=
+-      if { (eval echo "$as_me:6512: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
++      if { (eval echo "$as_me:6774: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
+   (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
+   ac_status=$?
+-  echo "$as_me:6515: \$? = $ac_status" >&5
++  echo "$as_me:6777: \$? = $ac_status" >&5
+   (exit $ac_status); }
+       then
+ 	lt_cv_archive_cmds_need_lc=no
+@@ -6525,7 +6787,7 @@
+     fi
+ fi
+ 
+-    echo "$as_me:6528: result: $lt_cv_archive_cmds_need_lc" >&5
++    echo "$as_me:6790: result: $lt_cv_archive_cmds_need_lc" >&5
+ echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
+     ;;
+   esac
+@@ -6566,6 +6828,7 @@
+     old_striplib striplib file_magic_cmd export_symbols_cmds \
+     deplibs_check_method allow_undefined_flag no_undefined_flag \
+     finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \
++    global_symbol_to_c_name_address \
+     hardcode_libdir_flag_spec hardcode_libdir_separator  \
+     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
+     compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do
+@@ -6632,12 +6895,12 @@
+ # Whether or not to build shared libraries.
+ build_libtool_libs=$enable_shared
+ 
+-# Whether or not to add -lc for building shared libraries.
+-build_libtool_need_lc=$need_lc
+-
+ # Whether or not to build static libraries.
+ build_old_libs=$enable_static
+ 
++# Whether or not to add -lc for building shared libraries.
++build_libtool_need_lc=$need_lc
++
+ # Whether or not to optimize for fast installation.
+ fast_install=$enable_fast_install
+ 
+@@ -6803,6 +7066,9 @@
+ # Transform the output of nm in a proper C declaration
+ global_symbol_to_cdecl=$lt_global_symbol_to_cdecl
+ 
++# Transform the output of nm in a C name address pair
++global_symbol_to_c_name_address=$lt_global_symbol_to_c_name_address
++
+ # This is the shared library runtime path variable.
+ runpath_var=$runpath_var
+ 
+@@ -6925,9 +7191,9 @@
+ #   return TRUE;
+ # }
+ # /* ltdll.c ends here */
+-        # This is a source program that is used to create import libraries
+-        # on Windows for dlls which lack them. Don't remove nor modify the
+-        # starting and closing comments
++	# This is a source program that is used to create import libraries
++	# on Windows for dlls which lack them. Don't remove nor modify the
++	# starting and closing comments
+ # /* impgen.c starts here */
+ # /*   Copyright (C) 1999-2000 Free Software Foundation, Inc.
+ #
+@@ -7121,23 +7387,23 @@
+ 
+ do
+ as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+-echo "$as_me:7124: checking for $ac_header" >&5
++echo "$as_me:7390: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 7130 "configure"
++#line 7396 "configure"
+ #include "confdefs.h"
+ #include <$ac_header>
+ _ACEOF
+-if { (eval echo "$as_me:7134: \"$ac_cpp conftest.$ac_ext\"") >&5
++if { (eval echo "$as_me:7400: \"$ac_cpp conftest.$ac_ext\"") >&5
+   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+   ac_status=$?
+   egrep -v '^ *\+' conftest.er1 >conftest.err
+   rm -f conftest.er1
+   cat conftest.err >&5
+-  echo "$as_me:7140: \$? = $ac_status" >&5
++  echo "$as_me:7406: \$? = $ac_status" >&5
+   (exit $ac_status); } >/dev/null; then
+   if test -s conftest.err; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+@@ -7156,7 +7422,7 @@
+ fi
+ rm -f conftest.err conftest.$ac_ext
+ fi
+-echo "$as_me:7159: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "$as_me:7425: result: `eval echo '${'$as_ac_Header'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
+ if test `eval echo '${'$as_ac_Header'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -7166,7 +7432,7 @@
+ fi
+ done
+ 
+-echo "$as_me:7169: checking for db_create" >&5
++echo "$as_me:7435: checking for db_create" >&5
+ echo $ECHO_N "checking for db_create... $ECHO_C" >&6
+ if test "${ac_cv_funclib_db_create+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -7184,7 +7450,7 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 7187 "configure"
++#line 7453 "configure"
+ #include "confdefs.h"
+ 
+   #include <stdio.h>
+@@ -7199,16 +7465,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:7202: \"$ac_link\"") >&5
++if { (eval echo "$as_me:7468: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:7205: \$? = $ac_status" >&5
++  echo "$as_me:7471: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:7208: \"$ac_try\"") >&5
++  { (eval echo "$as_me:7474: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:7211: \$? = $ac_status" >&5
++  echo "$as_me:7477: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_db_create=$ac_lib; else ac_cv_funclib_db_create=yes; fi";break
+ else
+@@ -7230,13 +7496,13 @@
+ for ac_func in db_create
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:7233: checking for $ac_func" >&5
++echo "$as_me:7499: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 7239 "configure"
++#line 7505 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -7267,16 +7533,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:7270: \"$ac_link\"") >&5
++if { (eval echo "$as_me:7536: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:7273: \$? = $ac_status" >&5
++  echo "$as_me:7539: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:7276: \"$ac_try\"") >&5
++  { (eval echo "$as_me:7542: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:7279: \$? = $ac_status" >&5
++  echo "$as_me:7545: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -7286,7 +7552,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:7289: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:7555: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -7310,13 +7576,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:7313: result: yes" >&5
++	echo "$as_me:7579: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_db_create=no"
+ 	eval "LIB_db_create="
+-	echo "$as_me:7319: result: no" >&5
++	echo "$as_me:7585: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -7330,7 +7596,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:7333: result: yes, in $ac_res" >&5
++	echo "$as_me:7599: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -7349,7 +7615,7 @@
+ 
+   else
+ 
+-echo "$as_me:7352: checking for dbopen" >&5
++echo "$as_me:7618: checking for dbopen" >&5
+ echo $ECHO_N "checking for dbopen... $ECHO_C" >&6
+ if test "${ac_cv_funclib_dbopen+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -7367,7 +7633,7 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 7370 "configure"
++#line 7636 "configure"
+ #include "confdefs.h"
+ 
+     #include <stdio.h>
+@@ -7388,16 +7654,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:7391: \"$ac_link\"") >&5
++if { (eval echo "$as_me:7657: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:7394: \$? = $ac_status" >&5
++  echo "$as_me:7660: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:7397: \"$ac_try\"") >&5
++  { (eval echo "$as_me:7663: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:7400: \$? = $ac_status" >&5
++  echo "$as_me:7666: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_dbopen=$ac_lib; else ac_cv_funclib_dbopen=yes; fi";break
+ else
+@@ -7419,13 +7685,13 @@
+ for ac_func in dbopen
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:7422: checking for $ac_func" >&5
++echo "$as_me:7688: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 7428 "configure"
++#line 7694 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -7456,16 +7722,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:7459: \"$ac_link\"") >&5
++if { (eval echo "$as_me:7725: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:7462: \$? = $ac_status" >&5
++  echo "$as_me:7728: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:7465: \"$ac_try\"") >&5
++  { (eval echo "$as_me:7731: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:7468: \$? = $ac_status" >&5
++  echo "$as_me:7734: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -7475,7 +7741,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:7478: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:7744: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -7499,13 +7765,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:7502: result: yes" >&5
++	echo "$as_me:7768: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_dbopen=no"
+ 	eval "LIB_dbopen="
+-	echo "$as_me:7508: result: no" >&5
++	echo "$as_me:7774: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -7519,7 +7785,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:7522: result: yes, in $ac_res" >&5
++	echo "$as_me:7788: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -7539,7 +7805,7 @@
+     fi
+   fi
+ 
+-echo "$as_me:7542: checking for dbm_firstkey" >&5
++echo "$as_me:7808: checking for dbm_firstkey" >&5
+ echo $ECHO_N "checking for dbm_firstkey... $ECHO_C" >&6
+ if test "${ac_cv_funclib_dbm_firstkey+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -7557,7 +7823,7 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 7560 "configure"
++#line 7826 "configure"
+ #include "confdefs.h"
+ 
+   #include <stdio.h>
+@@ -7574,16 +7840,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:7577: \"$ac_link\"") >&5
++if { (eval echo "$as_me:7843: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:7580: \$? = $ac_status" >&5
++  echo "$as_me:7846: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:7583: \"$ac_try\"") >&5
++  { (eval echo "$as_me:7849: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:7586: \$? = $ac_status" >&5
++  echo "$as_me:7852: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_dbm_firstkey=$ac_lib; else ac_cv_funclib_dbm_firstkey=yes; fi";break
+ else
+@@ -7605,13 +7871,13 @@
+ for ac_func in dbm_firstkey
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:7608: checking for $ac_func" >&5
++echo "$as_me:7874: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 7614 "configure"
++#line 7880 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -7642,16 +7908,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:7645: \"$ac_link\"") >&5
++if { (eval echo "$as_me:7911: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:7648: \$? = $ac_status" >&5
++  echo "$as_me:7914: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:7651: \"$ac_try\"") >&5
++  { (eval echo "$as_me:7917: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:7654: \$? = $ac_status" >&5
++  echo "$as_me:7920: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -7661,7 +7927,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:7664: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:7930: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -7685,13 +7951,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:7688: result: yes" >&5
++	echo "$as_me:7954: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_dbm_firstkey=no"
+ 	eval "LIB_dbm_firstkey="
+-	echo "$as_me:7694: result: no" >&5
++	echo "$as_me:7960: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -7705,7 +7971,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:7708: result: yes, in $ac_res" >&5
++	echo "$as_me:7974: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -7736,23 +8002,23 @@
+ 
+ do
+ as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+-echo "$as_me:7739: checking for $ac_header" >&5
++echo "$as_me:8005: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 7745 "configure"
++#line 8011 "configure"
+ #include "confdefs.h"
+ #include <$ac_header>
+ _ACEOF
+-if { (eval echo "$as_me:7749: \"$ac_cpp conftest.$ac_ext\"") >&5
++if { (eval echo "$as_me:8015: \"$ac_cpp conftest.$ac_ext\"") >&5
+   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+   ac_status=$?
+   egrep -v '^ *\+' conftest.er1 >conftest.err
+   rm -f conftest.er1
+   cat conftest.err >&5
+-  echo "$as_me:7755: \$? = $ac_status" >&5
++  echo "$as_me:8021: \$? = $ac_status" >&5
+   (exit $ac_status); } >/dev/null; then
+   if test -s conftest.err; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+@@ -7771,7 +8037,7 @@
+ fi
+ rm -f conftest.err conftest.$ac_ext
+ fi
+-echo "$as_me:7774: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "$as_me:8040: result: `eval echo '${'$as_ac_Header'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
+ if test `eval echo '${'$as_ac_Header'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -7781,7 +8047,7 @@
+ fi
+ done
+ 
+-echo "$as_me:7784: checking for dbm_firstkey" >&5
++echo "$as_me:8050: checking for dbm_firstkey" >&5
+ echo $ECHO_N "checking for dbm_firstkey... $ECHO_C" >&6
+ if test "${ac_cv_funclib_dbm_firstkey+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -7799,7 +8065,7 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 7802 "configure"
++#line 8068 "configure"
+ #include "confdefs.h"
+ 
+   #include <stdio.h>
+@@ -7821,16 +8087,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:7824: \"$ac_link\"") >&5
++if { (eval echo "$as_me:8090: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:7827: \$? = $ac_status" >&5
++  echo "$as_me:8093: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:7830: \"$ac_try\"") >&5
++  { (eval echo "$as_me:8096: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:7833: \$? = $ac_status" >&5
++  echo "$as_me:8099: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_dbm_firstkey=$ac_lib; else ac_cv_funclib_dbm_firstkey=yes; fi";break
+ else
+@@ -7852,13 +8118,13 @@
+ for ac_func in dbm_firstkey
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:7855: checking for $ac_func" >&5
++echo "$as_me:8121: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 7861 "configure"
++#line 8127 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -7889,16 +8155,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:7892: \"$ac_link\"") >&5
++if { (eval echo "$as_me:8158: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:7895: \$? = $ac_status" >&5
++  echo "$as_me:8161: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:7898: \"$ac_try\"") >&5
++  { (eval echo "$as_me:8164: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:7901: \$? = $ac_status" >&5
++  echo "$as_me:8167: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -7908,7 +8174,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:7911: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:8177: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -7932,13 +8198,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:7935: result: yes" >&5
++	echo "$as_me:8201: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_dbm_firstkey=no"
+ 	eval "LIB_dbm_firstkey="
+-	echo "$as_me:7941: result: no" >&5
++	echo "$as_me:8207: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -7952,7 +8218,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:7955: result: yes, in $ac_res" >&5
++	echo "$as_me:8221: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -7981,23 +8247,23 @@
+ 
+ do
+ as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+-echo "$as_me:7984: checking for $ac_header" >&5
++echo "$as_me:8250: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 7990 "configure"
++#line 8256 "configure"
+ #include "confdefs.h"
+ #include <$ac_header>
+ _ACEOF
+-if { (eval echo "$as_me:7994: \"$ac_cpp conftest.$ac_ext\"") >&5
++if { (eval echo "$as_me:8260: \"$ac_cpp conftest.$ac_ext\"") >&5
+   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+   ac_status=$?
+   egrep -v '^ *\+' conftest.er1 >conftest.err
+   rm -f conftest.er1
+   cat conftest.err >&5
+-  echo "$as_me:8000: \$? = $ac_status" >&5
++  echo "$as_me:8266: \$? = $ac_status" >&5
+   (exit $ac_status); } >/dev/null; then
+   if test -s conftest.err; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+@@ -8016,7 +8282,7 @@
+ fi
+ rm -f conftest.err conftest.$ac_ext
+ fi
+-echo "$as_me:8019: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "$as_me:8285: result: `eval echo '${'$as_ac_Header'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
+ if test `eval echo '${'$as_ac_Header'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -8026,7 +8292,7 @@
+ fi
+ done
+ 
+-echo "$as_me:8029: checking for dbm_firstkey" >&5
++echo "$as_me:8295: checking for dbm_firstkey" >&5
+ echo $ECHO_N "checking for dbm_firstkey... $ECHO_C" >&6
+ if test "${ac_cv_funclib_dbm_firstkey+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -8044,7 +8310,7 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 8047 "configure"
++#line 8313 "configure"
+ #include "confdefs.h"
+ 
+     #include <stdio.h>
+@@ -8060,16 +8326,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:8063: \"$ac_link\"") >&5
++if { (eval echo "$as_me:8329: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:8066: \$? = $ac_status" >&5
++  echo "$as_me:8332: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:8069: \"$ac_try\"") >&5
++  { (eval echo "$as_me:8335: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:8072: \$? = $ac_status" >&5
++  echo "$as_me:8338: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_dbm_firstkey=$ac_lib; else ac_cv_funclib_dbm_firstkey=yes; fi";break
+ else
+@@ -8091,13 +8357,13 @@
+ for ac_func in dbm_firstkey
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:8094: checking for $ac_func" >&5
++echo "$as_me:8360: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 8100 "configure"
++#line 8366 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -8128,16 +8394,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:8131: \"$ac_link\"") >&5
++if { (eval echo "$as_me:8397: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:8134: \$? = $ac_status" >&5
++  echo "$as_me:8400: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:8137: \"$ac_try\"") >&5
++  { (eval echo "$as_me:8403: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:8140: \$? = $ac_status" >&5
++  echo "$as_me:8406: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -8147,7 +8413,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:8150: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:8416: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -8171,13 +8437,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:8174: result: yes" >&5
++	echo "$as_me:8440: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_dbm_firstkey=no"
+ 	eval "LIB_dbm_firstkey="
+-	echo "$as_me:8180: result: no" >&5
++	echo "$as_me:8446: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -8191,7 +8457,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:8194: result: yes, in $ac_res" >&5
++	echo "$as_me:8460: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -8215,7 +8481,7 @@
+ 
+ fi # unknown
+ 
+-echo "$as_me:8218: checking for inline" >&5
++echo "$as_me:8484: checking for inline" >&5
+ echo $ECHO_N "checking for inline... $ECHO_C" >&6
+ if test "${ac_cv_c_inline+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -8223,7 +8489,7 @@
+   ac_cv_c_inline=no
+ for ac_kw in inline __inline__ __inline; do
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 8226 "configure"
++#line 8492 "configure"
+ #include "confdefs.h"
+ #ifndef __cplusplus
+ static $ac_kw int static_foo () {return 0; }
+@@ -8232,16 +8498,16 @@
+ 
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:8235: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:8501: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:8238: \$? = $ac_status" >&5
++  echo "$as_me:8504: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:8241: \"$ac_try\"") >&5
++  { (eval echo "$as_me:8507: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:8244: \$? = $ac_status" >&5
++  echo "$as_me:8510: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_c_inline=$ac_kw; break
+ else
+@@ -8252,7 +8518,7 @@
+ done
+ 
+ fi
+-echo "$as_me:8255: result: $ac_cv_c_inline" >&5
++echo "$as_me:8521: result: $ac_cv_c_inline" >&5
+ echo "${ECHO_T}$ac_cv_c_inline" >&6
+ case $ac_cv_c_inline in
+   inline | yes) ;;
+@@ -8267,13 +8533,13 @@
+  ;;
+ esac
+ 
+-echo "$as_me:8270: checking for an ANSI C-conforming const" >&5
++echo "$as_me:8536: checking for an ANSI C-conforming const" >&5
+ echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
+ if test "${ac_cv_c_const+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 8276 "configure"
++#line 8542 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -8331,16 +8597,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:8334: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:8600: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:8337: \$? = $ac_status" >&5
++  echo "$as_me:8603: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:8340: \"$ac_try\"") >&5
++  { (eval echo "$as_me:8606: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:8343: \$? = $ac_status" >&5
++  echo "$as_me:8609: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_c_const=yes
+ else
+@@ -8350,7 +8616,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:8353: result: $ac_cv_c_const" >&5
++echo "$as_me:8619: result: $ac_cv_c_const" >&5
+ echo "${ECHO_T}$ac_cv_c_const" >&6
+ if test $ac_cv_c_const = no; then
+ 
+@@ -8360,13 +8626,13 @@
+ 
+ fi
+ 
+-echo "$as_me:8363: checking for ANSI C header files" >&5
++echo "$as_me:8629: checking for ANSI C header files" >&5
+ echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
+ if test "${ac_cv_header_stdc+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 8369 "configure"
++#line 8635 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ #include <stdarg.h>
+@@ -8374,13 +8640,13 @@
+ #include <float.h>
+ 
+ _ACEOF
+-if { (eval echo "$as_me:8377: \"$ac_cpp conftest.$ac_ext\"") >&5
++if { (eval echo "$as_me:8643: \"$ac_cpp conftest.$ac_ext\"") >&5
+   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+   ac_status=$?
+   egrep -v '^ *\+' conftest.er1 >conftest.err
+   rm -f conftest.er1
+   cat conftest.err >&5
+-  echo "$as_me:8383: \$? = $ac_status" >&5
++  echo "$as_me:8649: \$? = $ac_status" >&5
+   (exit $ac_status); } >/dev/null; then
+   if test -s conftest.err; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+@@ -8402,7 +8668,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 <<_ACEOF
+-#line 8405 "configure"
++#line 8671 "configure"
+ #include "confdefs.h"
+ #include <string.h>
+ 
+@@ -8420,7 +8686,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 <<_ACEOF
+-#line 8423 "configure"
++#line 8689 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ 
+@@ -8441,7 +8707,7 @@
+   :
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 8444 "configure"
++#line 8710 "configure"
+ #include "confdefs.h"
+ #include <ctype.h>
+ #if ((' ' & 0x0FF) == 0x020)
+@@ -8467,15 +8733,15 @@
+ }
+ _ACEOF
+ rm -f conftest$ac_exeext
+-if { (eval echo "$as_me:8470: \"$ac_link\"") >&5
++if { (eval echo "$as_me:8736: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:8473: \$? = $ac_status" >&5
++  echo "$as_me:8739: \$? = $ac_status" >&5
+   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
+-  { (eval echo "$as_me:8475: \"$ac_try\"") >&5
++  { (eval echo "$as_me:8741: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:8478: \$? = $ac_status" >&5
++  echo "$as_me:8744: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   :
+ else
+@@ -8488,7 +8754,7 @@
+ fi
+ fi
+ fi
+-echo "$as_me:8491: result: $ac_cv_header_stdc" >&5
++echo "$as_me:8757: result: $ac_cv_header_stdc" >&5
+ echo "${ECHO_T}$ac_cv_header_stdc" >&6
+ if test $ac_cv_header_stdc = yes; then
+ 
+@@ -8504,28 +8770,28 @@
+                   inttypes.h stdint.h unistd.h
+ do
+ as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+-echo "$as_me:8507: checking for $ac_header" >&5
++echo "$as_me:8773: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 8513 "configure"
++#line 8779 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ #include <$ac_header>
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:8519: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:8785: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:8522: \$? = $ac_status" >&5
++  echo "$as_me:8788: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:8525: \"$ac_try\"") >&5
++  { (eval echo "$as_me:8791: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:8528: \$? = $ac_status" >&5
++  echo "$as_me:8794: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_Header=yes"
+ else
+@@ -8535,7 +8801,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:8538: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "$as_me:8804: result: `eval echo '${'$as_ac_Header'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
+ if test `eval echo '${'$as_ac_Header'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -8545,13 +8811,13 @@
+ fi
+ done
+ 
+-echo "$as_me:8548: checking for size_t" >&5
++echo "$as_me:8814: checking for size_t" >&5
+ echo $ECHO_N "checking for size_t... $ECHO_C" >&6
+ if test "${ac_cv_type_size_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 8554 "configure"
++#line 8820 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -8566,16 +8832,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:8569: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:8835: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:8572: \$? = $ac_status" >&5
++  echo "$as_me:8838: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:8575: \"$ac_try\"") >&5
++  { (eval echo "$as_me:8841: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:8578: \$? = $ac_status" >&5
++  echo "$as_me:8844: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_type_size_t=yes
+ else
+@@ -8585,7 +8851,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:8588: result: $ac_cv_type_size_t" >&5
++echo "$as_me:8854: result: $ac_cv_type_size_t" >&5
+ echo "${ECHO_T}$ac_cv_type_size_t" >&6
+ if test $ac_cv_type_size_t = yes; then
+   :
+@@ -8597,13 +8863,13 @@
+ 
+ fi
+ 
+-echo "$as_me:8600: checking for pid_t" >&5
++echo "$as_me:8866: checking for pid_t" >&5
+ echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
+ if test "${ac_cv_type_pid_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 8606 "configure"
++#line 8872 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -8618,16 +8884,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:8621: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:8887: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:8624: \$? = $ac_status" >&5
++  echo "$as_me:8890: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:8627: \"$ac_try\"") >&5
++  { (eval echo "$as_me:8893: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:8630: \$? = $ac_status" >&5
++  echo "$as_me:8896: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_type_pid_t=yes
+ else
+@@ -8637,7 +8903,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:8640: result: $ac_cv_type_pid_t" >&5
++echo "$as_me:8906: result: $ac_cv_type_pid_t" >&5
+ echo "${ECHO_T}$ac_cv_type_pid_t" >&6
+ if test $ac_cv_type_pid_t = yes; then
+   :
+@@ -8649,13 +8915,13 @@
+ 
+ fi
+ 
+-echo "$as_me:8652: checking for uid_t in sys/types.h" >&5
++echo "$as_me:8918: checking for uid_t in sys/types.h" >&5
+ echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
+ if test "${ac_cv_type_uid_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 8658 "configure"
++#line 8924 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ 
+@@ -8669,7 +8935,7 @@
+ rm -f conftest*
+ 
+ fi
+-echo "$as_me:8672: result: $ac_cv_type_uid_t" >&5
++echo "$as_me:8938: result: $ac_cv_type_uid_t" >&5
+ echo "${ECHO_T}$ac_cv_type_uid_t" >&6
+ if test $ac_cv_type_uid_t = no; then
+ 
+@@ -8683,13 +8949,13 @@
+ 
+ fi
+ 
+-echo "$as_me:8686: checking return type of signal handlers" >&5
++echo "$as_me:8952: checking return type of signal handlers" >&5
+ echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
+ if test "${ac_cv_type_signal+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 8692 "configure"
++#line 8958 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #include <signal.h>
+@@ -8711,16 +8977,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:8714: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:8980: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:8717: \$? = $ac_status" >&5
++  echo "$as_me:8983: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:8720: \"$ac_try\"") >&5
++  { (eval echo "$as_me:8986: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:8723: \$? = $ac_status" >&5
++  echo "$as_me:8989: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_type_signal=void
+ else
+@@ -8730,7 +8996,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:8733: result: $ac_cv_type_signal" >&5
++echo "$as_me:8999: result: $ac_cv_type_signal" >&5
+ echo "${ECHO_T}$ac_cv_type_signal" >&6
+ 
+ cat >>confdefs.h <<EOF
+@@ -8745,13 +9011,13 @@
+ 
+ fi
+ 
+-echo "$as_me:8748: checking whether time.h and sys/time.h may both be included" >&5
++echo "$as_me:9014: checking whether time.h and sys/time.h may both be included" >&5
+ echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
+ if test "${ac_cv_header_time+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 8754 "configure"
++#line 9020 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #include <sys/time.h>
+@@ -8767,16 +9033,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:8770: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:9036: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:8773: \$? = $ac_status" >&5
++  echo "$as_me:9039: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:8776: \"$ac_try\"") >&5
++  { (eval echo "$as_me:9042: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:8779: \$? = $ac_status" >&5
++  echo "$as_me:9045: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_header_time=yes
+ else
+@@ -8786,7 +9052,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:8789: result: $ac_cv_header_time" >&5
++echo "$as_me:9055: result: $ac_cv_header_time" >&5
+ echo "${ECHO_T}$ac_cv_header_time" >&6
+ if test $ac_cv_header_time = yes; then
+ 
+@@ -8799,23 +9065,23 @@
+ for ac_header in standards.h
+ do
+ as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+-echo "$as_me:8802: checking for $ac_header" >&5
++echo "$as_me:9068: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 8808 "configure"
++#line 9074 "configure"
+ #include "confdefs.h"
+ #include <$ac_header>
+ _ACEOF
+-if { (eval echo "$as_me:8812: \"$ac_cpp conftest.$ac_ext\"") >&5
++if { (eval echo "$as_me:9078: \"$ac_cpp conftest.$ac_ext\"") >&5
+   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+   ac_status=$?
+   egrep -v '^ *\+' conftest.er1 >conftest.err
+   rm -f conftest.er1
+   cat conftest.err >&5
+-  echo "$as_me:8818: \$? = $ac_status" >&5
++  echo "$as_me:9084: \$? = $ac_status" >&5
+   (exit $ac_status); } >/dev/null; then
+   if test -s conftest.err; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+@@ -8834,7 +9100,7 @@
+ fi
+ rm -f conftest.err conftest.$ac_ext
+ fi
+-echo "$as_me:8837: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "$as_me:9103: result: `eval echo '${'$as_ac_Header'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
+ if test `eval echo '${'$as_ac_Header'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -8848,13 +9114,13 @@
+ 
+ cv=`echo "$i" | sed 'y%./+-%__p_%'`
+ 
+-echo "$as_me:8851: checking for $i" >&5
++echo "$as_me:9117: checking for $i" >&5
+ echo $ECHO_N "checking for $i... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_header_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 8857 "configure"
++#line 9123 "configure"
+ #include "confdefs.h"
+ \
+ #ifdef HAVE_STANDARDS_H
+@@ -8863,13 +9129,13 @@
+ #include <$i>
+ 
+ _ACEOF
+-if { (eval echo "$as_me:8866: \"$ac_cpp conftest.$ac_ext\"") >&5
++if { (eval echo "$as_me:9132: \"$ac_cpp conftest.$ac_ext\"") >&5
+   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+   ac_status=$?
+   egrep -v '^ *\+' conftest.er1 >conftest.err
+   rm -f conftest.er1
+   cat conftest.err >&5
+-  echo "$as_me:8872: \$? = $ac_status" >&5
++  echo "$as_me:9138: \$? = $ac_status" >&5
+   (exit $ac_status); } >/dev/null; then
+   if test -s conftest.err; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+@@ -8888,7 +9154,7 @@
+ fi
+ rm -f conftest.err conftest.$ac_ext
+ fi
+-echo "$as_me:8891: result: `eval echo '${'ac_cv_header_$cv'}'`" >&5
++echo "$as_me:9157: result: `eval echo '${'ac_cv_header_$cv'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'ac_cv_header_$cv'}'`" >&6
+ ac_res=`eval echo \\$ac_cv_header_$cv`
+ if test "$ac_res" = yes; then
+@@ -8904,23 +9170,23 @@
+ for ac_header in netinet/ip.h netinet/tcp.h
+ do
+ as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+-echo "$as_me:8907: checking for $ac_header" >&5
++echo "$as_me:9173: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 8913 "configure"
++#line 9179 "configure"
+ #include "confdefs.h"
+ #include <$ac_header>
+ _ACEOF
+-if { (eval echo "$as_me:8917: \"$ac_cpp conftest.$ac_ext\"") >&5
++if { (eval echo "$as_me:9183: \"$ac_cpp conftest.$ac_ext\"") >&5
+   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+   ac_status=$?
+   egrep -v '^ *\+' conftest.er1 >conftest.err
+   rm -f conftest.er1
+   cat conftest.err >&5
+-  echo "$as_me:8923: \$? = $ac_status" >&5
++  echo "$as_me:9189: \$? = $ac_status" >&5
+   (exit $ac_status); } >/dev/null; then
+   if test -s conftest.err; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+@@ -8939,7 +9205,7 @@
+ fi
+ rm -f conftest.err conftest.$ac_ext
+ fi
+-echo "$as_me:8942: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "$as_me:9208: result: `eval echo '${'$as_ac_Header'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
+ if test `eval echo '${'$as_ac_Header'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -8954,13 +9220,13 @@
+ for ac_func in getlogin setlogin
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:8957: checking for $ac_func" >&5
++echo "$as_me:9223: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 8963 "configure"
++#line 9229 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -8991,16 +9257,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:8994: \"$ac_link\"") >&5
++if { (eval echo "$as_me:9260: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:8997: \$? = $ac_status" >&5
++  echo "$as_me:9263: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:9000: \"$ac_try\"") >&5
++  { (eval echo "$as_me:9266: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:9003: \$? = $ac_status" >&5
++  echo "$as_me:9269: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -9010,7 +9276,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:9013: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:9279: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -9021,7 +9287,7 @@
+ done
+ 
+ if test "$ac_cv_func_getlogin" = yes; then
+-echo "$as_me:9024: checking if getlogin is posix" >&5
++echo "$as_me:9290: checking if getlogin is posix" >&5
+ echo $ECHO_N "checking if getlogin is posix... $ECHO_C" >&6
+ if test "${ac_cv_func_getlogin_posix+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -9034,7 +9300,7 @@
+ fi
+ 
+ fi
+-echo "$as_me:9037: result: $ac_cv_func_getlogin_posix" >&5
++echo "$as_me:9303: result: $ac_cv_func_getlogin_posix" >&5
+ echo "${ECHO_T}$ac_cv_func_getlogin_posix" >&6
+ if test "$ac_cv_func_getlogin_posix" = yes; then
+ 
+@@ -9045,7 +9311,7 @@
+ fi
+ fi
+ 
+-echo "$as_me:9048: checking if realloc if broken" >&5
++echo "$as_me:9314: checking if realloc if broken" >&5
+ echo $ECHO_N "checking if realloc if broken... $ECHO_C" >&6
+ if test "${ac_cv_func_realloc_broken+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -9056,7 +9322,7 @@
+   :
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 9059 "configure"
++#line 9325 "configure"
+ #include "confdefs.h"
+ 
+ #include <stddef.h>
+@@ -9069,15 +9335,15 @@
+ 
+ _ACEOF
+ rm -f conftest$ac_exeext
+-if { (eval echo "$as_me:9072: \"$ac_link\"") >&5
++if { (eval echo "$as_me:9338: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:9075: \$? = $ac_status" >&5
++  echo "$as_me:9341: \$? = $ac_status" >&5
+   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
+-  { (eval echo "$as_me:9077: \"$ac_try\"") >&5
++  { (eval echo "$as_me:9343: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:9080: \$? = $ac_status" >&5
++  echo "$as_me:9346: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   :
+ else
+@@ -9090,7 +9356,7 @@
+ fi
+ 
+ fi
+-echo "$as_me:9093: result: $ac_cv_func_realloc_broken" >&5
++echo "$as_me:9359: result: $ac_cv_func_realloc_broken" >&5
+ echo "${ECHO_T}$ac_cv_func_realloc_broken" >&6
+ if test "$ac_cv_func_realloc_broken" = yes ; then
+ 
+@@ -9117,13 +9383,13 @@
+   WFLAGS_NOIMPLICITINT="-Wno-implicit-int"
+ fi
+ 
+-echo "$as_me:9120: checking for ssize_t" >&5
++echo "$as_me:9386: checking for ssize_t" >&5
+ echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
+ if test "${ac_cv_type_ssize_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 9126 "configure"
++#line 9392 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -9141,7 +9407,7 @@
+ rm -f conftest*
+ 
+ fi
+-echo "$as_me:9144: result: $ac_cv_type_ssize_t" >&5
++echo "$as_me:9410: result: $ac_cv_type_ssize_t" >&5
+ echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
+ if test $ac_cv_type_ssize_t = no; then
+ 
+@@ -9152,13 +9418,13 @@
+ fi
+ 
+ cv=`echo "long long" | sed 'y%./+- %__p__%'`
+-echo "$as_me:9155: checking for long long" >&5
++echo "$as_me:9421: checking for long long" >&5
+ echo $ECHO_N "checking for long long... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 9161 "configure"
++#line 9427 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -9175,16 +9441,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:9178: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:9444: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:9181: \$? = $ac_status" >&5
++  echo "$as_me:9447: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:9184: \"$ac_try\"") >&5
++  { (eval echo "$as_me:9450: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:9187: \$? = $ac_status" >&5
++  echo "$as_me:9453: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_type_$cv=yes"
+ else
+@@ -9195,18 +9461,18 @@
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:9198: result: $ac_foo" >&5
++echo "$as_me:9464: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo long long | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:9203: checking for long long" >&5
++	echo "$as_me:9469: checking for long long" >&5
+ echo $ECHO_N "checking for long long... $ECHO_C" >&6
+ if test "${ac_cv_type_long_long+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 9209 "configure"
++#line 9475 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -9221,16 +9487,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:9224: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:9490: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:9227: \$? = $ac_status" >&5
++  echo "$as_me:9493: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:9230: \"$ac_try\"") >&5
++  { (eval echo "$as_me:9496: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:9233: \$? = $ac_status" >&5
++  echo "$as_me:9499: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_type_long_long=yes
+ else
+@@ -9240,7 +9506,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:9243: result: $ac_cv_type_long_long" >&5
++echo "$as_me:9509: result: $ac_cv_type_long_long" >&5
+ echo "${ECHO_T}$ac_cv_type_long_long" >&6
+ if test $ac_cv_type_long_long = yes; then
+ 
+@@ -9306,23 +9572,23 @@
+ 
+ do
+ as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+-echo "$as_me:9309: checking for $ac_header" >&5
++echo "$as_me:9575: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 9315 "configure"
++#line 9581 "configure"
+ #include "confdefs.h"
+ #include <$ac_header>
+ _ACEOF
+-if { (eval echo "$as_me:9319: \"$ac_cpp conftest.$ac_ext\"") >&5
++if { (eval echo "$as_me:9585: \"$ac_cpp conftest.$ac_ext\"") >&5
+   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+   ac_status=$?
+   egrep -v '^ *\+' conftest.er1 >conftest.err
+   rm -f conftest.er1
+   cat conftest.err >&5
+-  echo "$as_me:9325: \$? = $ac_status" >&5
++  echo "$as_me:9591: \$? = $ac_status" >&5
+   (exit $ac_status); } >/dev/null; then
+   if test -s conftest.err; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+@@ -9341,7 +9607,7 @@
+ fi
+ rm -f conftest.err conftest.$ac_ext
+ fi
+-echo "$as_me:9344: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "$as_me:9610: result: `eval echo '${'$as_ac_Header'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
+ if test `eval echo '${'$as_ac_Header'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -9398,13 +9664,13 @@
+   v6type=unknown
+ v6lib=none
+ 
+-echo "$as_me:9401: checking ipv6 stack type" >&5
++echo "$as_me:9667: checking ipv6 stack type" >&5
+ echo $ECHO_N "checking ipv6 stack type... $ECHO_C" >&6
+ for i in v6d toshiba kame inria zeta linux; do
+ 	case $i in
+ 	v6d)
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 9407 "configure"
++#line 9673 "configure"
+ #include "confdefs.h"
+ 
+ #include </usr/local/v6/include/sys/types.h>
+@@ -9423,7 +9689,7 @@
+ 		;;
+ 	toshiba)
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 9426 "configure"
++#line 9692 "configure"
+ #include "confdefs.h"
+ 
+ #include <sys/param.h>
+@@ -9442,7 +9708,7 @@
+ 		;;
+ 	kame)
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 9445 "configure"
++#line 9711 "configure"
+ #include "confdefs.h"
+ 
+ #include <netinet/in.h>
+@@ -9461,7 +9727,7 @@
+ 		;;
+ 	inria)
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 9464 "configure"
++#line 9730 "configure"
+ #include "confdefs.h"
+ 
+ #include <netinet/in.h>
+@@ -9478,7 +9744,7 @@
+ 		;;
+ 	zeta)
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 9481 "configure"
++#line 9747 "configure"
+ #include "confdefs.h"
+ 
+ #include <sys/param.h>
+@@ -9508,7 +9774,7 @@
+ 		break
+ 	fi
+ done
+-echo "$as_me:9511: result: $v6type" >&5
++echo "$as_me:9777: result: $v6type" >&5
+ echo "${ECHO_T}$v6type" >&6
+ 
+ if test "$v6lib" != "none"; then
+@@ -9520,7 +9786,7 @@
+ 	done
+ fi
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 9523 "configure"
++#line 9789 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_SYS_TYPES_H
+@@ -9555,16 +9821,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:9558: \"$ac_link\"") >&5
++if { (eval echo "$as_me:9824: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:9561: \$? = $ac_status" >&5
++  echo "$as_me:9827: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:9564: \"$ac_try\"") >&5
++  { (eval echo "$as_me:9830: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:9567: \$? = $ac_status" >&5
++  echo "$as_me:9833: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_lib_ipv6=yes
+ else
+@@ -9575,9 +9841,9 @@
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+ 
+-echo "$as_me:9578: checking for IPv6" >&5
++echo "$as_me:9844: checking for IPv6" >&5
+ echo $ECHO_N "checking for IPv6... $ECHO_C" >&6
+-echo "$as_me:9580: result: $ac_cv_lib_ipv6" >&5
++echo "$as_me:9846: result: $ac_cv_lib_ipv6" >&5
+ echo "${ECHO_T}$ac_cv_lib_ipv6" >&6
+ if test "$ac_cv_lib_ipv6" = yes; then
+ 
+@@ -9590,14 +9856,14 @@
+ fi
+ 
+ if test "$ac_cv_lib_ipv6" = yes; then
+-	echo "$as_me:9593: checking for in6addr_loopback" >&5
++	echo "$as_me:9859: checking for in6addr_loopback" >&5
+ echo $ECHO_N "checking for in6addr_loopback... $ECHO_C" >&6
+ if test "${ac_cv_var_in6addr_loopback+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ 	cat >conftest.$ac_ext <<_ACEOF
+-#line 9600 "configure"
++#line 9866 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_SYS_TYPES_H
+@@ -9624,16 +9890,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:9627: \"$ac_link\"") >&5
++if { (eval echo "$as_me:9893: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:9630: \$? = $ac_status" >&5
++  echo "$as_me:9896: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:9633: \"$ac_try\"") >&5
++  { (eval echo "$as_me:9899: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:9636: \$? = $ac_status" >&5
++  echo "$as_me:9902: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_var_in6addr_loopback=yes
+ else
+@@ -9643,7 +9909,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:9646: result: $ac_cv_var_in6addr_loopback" >&5
++echo "$as_me:9912: result: $ac_cv_var_in6addr_loopback" >&5
+ echo "${ECHO_T}$ac_cv_var_in6addr_loopback" >&6
+ 	if test "$ac_cv_var_in6addr_loopback" = yes; then
+ 
+@@ -9654,7 +9920,7 @@
+ 	fi
+ fi
+ 
+-echo "$as_me:9657: checking for socket" >&5
++echo "$as_me:9923: checking for socket" >&5
+ echo $ECHO_N "checking for socket... $ECHO_C" >&6
+ if test "${ac_cv_funclib_socket+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -9672,7 +9938,7 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 9675 "configure"
++#line 9941 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -9684,16 +9950,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:9687: \"$ac_link\"") >&5
++if { (eval echo "$as_me:9953: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:9690: \$? = $ac_status" >&5
++  echo "$as_me:9956: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:9693: \"$ac_try\"") >&5
++  { (eval echo "$as_me:9959: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:9696: \$? = $ac_status" >&5
++  echo "$as_me:9962: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_socket=$ac_lib; else ac_cv_funclib_socket=yes; fi";break
+ else
+@@ -9715,13 +9981,13 @@
+ for ac_func in socket
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:9718: checking for $ac_func" >&5
++echo "$as_me:9984: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 9724 "configure"
++#line 9990 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -9752,16 +10018,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:9755: \"$ac_link\"") >&5
++if { (eval echo "$as_me:10021: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:9758: \$? = $ac_status" >&5
++  echo "$as_me:10024: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:9761: \"$ac_try\"") >&5
++  { (eval echo "$as_me:10027: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:9764: \$? = $ac_status" >&5
++  echo "$as_me:10030: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -9771,7 +10037,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:9774: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:10040: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -9795,13 +10061,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:9798: result: yes" >&5
++	echo "$as_me:10064: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_socket=no"
+ 	eval "LIB_socket="
+-	echo "$as_me:9804: result: no" >&5
++	echo "$as_me:10070: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -9815,7 +10081,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:9818: result: yes, in $ac_res" >&5
++	echo "$as_me:10084: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -9824,7 +10090,7 @@
+ 	LIBS="$LIB_socket $LIBS"
+ fi
+ 
+-echo "$as_me:9827: checking for gethostbyname" >&5
++echo "$as_me:10093: checking for gethostbyname" >&5
+ echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
+ if test "${ac_cv_funclib_gethostbyname+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -9842,7 +10108,7 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 9845 "configure"
++#line 10111 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -9854,16 +10120,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:9857: \"$ac_link\"") >&5
++if { (eval echo "$as_me:10123: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:9860: \$? = $ac_status" >&5
++  echo "$as_me:10126: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:9863: \"$ac_try\"") >&5
++  { (eval echo "$as_me:10129: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:9866: \$? = $ac_status" >&5
++  echo "$as_me:10132: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_gethostbyname=$ac_lib; else ac_cv_funclib_gethostbyname=yes; fi";break
+ else
+@@ -9885,13 +10151,13 @@
+ for ac_func in gethostbyname
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:9888: checking for $ac_func" >&5
++echo "$as_me:10154: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 9894 "configure"
++#line 10160 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -9922,16 +10188,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:9925: \"$ac_link\"") >&5
++if { (eval echo "$as_me:10191: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:9928: \$? = $ac_status" >&5
++  echo "$as_me:10194: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:9931: \"$ac_try\"") >&5
++  { (eval echo "$as_me:10197: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:9934: \$? = $ac_status" >&5
++  echo "$as_me:10200: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -9941,7 +10207,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:9944: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:10210: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -9965,13 +10231,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:9968: result: yes" >&5
++	echo "$as_me:10234: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_gethostbyname=no"
+ 	eval "LIB_gethostbyname="
+-	echo "$as_me:9974: result: no" >&5
++	echo "$as_me:10240: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -9985,7 +10251,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:9988: result: yes, in $ac_res" >&5
++	echo "$as_me:10254: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -9994,7 +10260,7 @@
+ 	LIBS="$LIB_gethostbyname $LIBS"
+ fi
+ 
+-echo "$as_me:9997: checking for syslog" >&5
++echo "$as_me:10263: checking for syslog" >&5
+ echo $ECHO_N "checking for syslog... $ECHO_C" >&6
+ if test "${ac_cv_funclib_syslog+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -10012,7 +10278,7 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 10015 "configure"
++#line 10281 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -10024,16 +10290,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:10027: \"$ac_link\"") >&5
++if { (eval echo "$as_me:10293: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:10030: \$? = $ac_status" >&5
++  echo "$as_me:10296: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:10033: \"$ac_try\"") >&5
++  { (eval echo "$as_me:10299: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:10036: \$? = $ac_status" >&5
++  echo "$as_me:10302: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_syslog=$ac_lib; else ac_cv_funclib_syslog=yes; fi";break
+ else
+@@ -10055,13 +10321,13 @@
+ for ac_func in syslog
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:10058: checking for $ac_func" >&5
++echo "$as_me:10324: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 10064 "configure"
++#line 10330 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -10092,16 +10358,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:10095: \"$ac_link\"") >&5
++if { (eval echo "$as_me:10361: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:10098: \$? = $ac_status" >&5
++  echo "$as_me:10364: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:10101: \"$ac_try\"") >&5
++  { (eval echo "$as_me:10367: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:10104: \$? = $ac_status" >&5
++  echo "$as_me:10370: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -10111,7 +10377,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:10114: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:10380: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -10135,13 +10401,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:10138: result: yes" >&5
++	echo "$as_me:10404: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_syslog=no"
+ 	eval "LIB_syslog="
+-	echo "$as_me:10144: result: no" >&5
++	echo "$as_me:10410: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -10155,7 +10421,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:10158: result: yes, in $ac_res" >&5
++	echo "$as_me:10424: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -10164,7 +10430,7 @@
+ 	LIBS="$LIB_syslog $LIBS"
+ fi
+ 
+-echo "$as_me:10167: checking for gethostbyname2" >&5
++echo "$as_me:10433: checking for gethostbyname2" >&5
+ echo $ECHO_N "checking for gethostbyname2... $ECHO_C" >&6
+ if test "${ac_cv_funclib_gethostbyname2+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -10182,7 +10448,7 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 10185 "configure"
++#line 10451 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -10194,16 +10460,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:10197: \"$ac_link\"") >&5
++if { (eval echo "$as_me:10463: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:10200: \$? = $ac_status" >&5
++  echo "$as_me:10466: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:10203: \"$ac_try\"") >&5
++  { (eval echo "$as_me:10469: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:10206: \$? = $ac_status" >&5
++  echo "$as_me:10472: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_gethostbyname2=$ac_lib; else ac_cv_funclib_gethostbyname2=yes; fi";break
+ else
+@@ -10225,13 +10491,13 @@
+ for ac_func in gethostbyname2
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:10228: checking for $ac_func" >&5
++echo "$as_me:10494: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 10234 "configure"
++#line 10500 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -10262,16 +10528,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:10265: \"$ac_link\"") >&5
++if { (eval echo "$as_me:10531: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:10268: \$? = $ac_status" >&5
++  echo "$as_me:10534: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:10271: \"$ac_try\"") >&5
++  { (eval echo "$as_me:10537: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:10274: \$? = $ac_status" >&5
++  echo "$as_me:10540: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -10281,7 +10547,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:10284: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:10550: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -10305,13 +10571,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:10308: result: yes" >&5
++	echo "$as_me:10574: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_gethostbyname2=no"
+ 	eval "LIB_gethostbyname2="
+-	echo "$as_me:10314: result: no" >&5
++	echo "$as_me:10580: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -10325,7 +10591,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:10328: result: yes, in $ac_res" >&5
++	echo "$as_me:10594: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -10334,7 +10600,7 @@
+ 	LIBS="$LIB_gethostbyname2 $LIBS"
+ fi
+ 
+-echo "$as_me:10337: checking for res_search" >&5
++echo "$as_me:10603: checking for res_search" >&5
+ echo $ECHO_N "checking for res_search... $ECHO_C" >&6
+ if test "${ac_cv_funclib_res_search+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -10352,7 +10618,7 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 10355 "configure"
++#line 10621 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -10378,16 +10644,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:10381: \"$ac_link\"") >&5
++if { (eval echo "$as_me:10647: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:10384: \$? = $ac_status" >&5
++  echo "$as_me:10650: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:10387: \"$ac_try\"") >&5
++  { (eval echo "$as_me:10653: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:10390: \$? = $ac_status" >&5
++  echo "$as_me:10656: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_res_search=$ac_lib; else ac_cv_funclib_res_search=yes; fi";break
+ else
+@@ -10409,13 +10675,13 @@
+ for ac_func in res_search
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:10412: checking for $ac_func" >&5
++echo "$as_me:10678: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 10418 "configure"
++#line 10684 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -10446,16 +10712,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:10449: \"$ac_link\"") >&5
++if { (eval echo "$as_me:10715: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:10452: \$? = $ac_status" >&5
++  echo "$as_me:10718: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:10455: \"$ac_try\"") >&5
++  { (eval echo "$as_me:10721: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:10458: \$? = $ac_status" >&5
++  echo "$as_me:10724: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -10465,7 +10731,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:10468: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:10734: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -10489,13 +10755,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:10492: result: yes" >&5
++	echo "$as_me:10758: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_res_search=no"
+ 	eval "LIB_res_search="
+-	echo "$as_me:10498: result: no" >&5
++	echo "$as_me:10764: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -10509,7 +10775,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:10512: result: yes, in $ac_res" >&5
++	echo "$as_me:10778: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -10518,7 +10784,7 @@
+ 	LIBS="$LIB_res_search $LIBS"
+ fi
+ 
+-echo "$as_me:10521: checking for dn_expand" >&5
++echo "$as_me:10787: checking for dn_expand" >&5
+ echo $ECHO_N "checking for dn_expand... $ECHO_C" >&6
+ if test "${ac_cv_funclib_dn_expand+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -10536,7 +10802,7 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 10539 "configure"
++#line 10805 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -10562,16 +10828,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:10565: \"$ac_link\"") >&5
++if { (eval echo "$as_me:10831: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:10568: \$? = $ac_status" >&5
++  echo "$as_me:10834: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:10571: \"$ac_try\"") >&5
++  { (eval echo "$as_me:10837: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:10574: \$? = $ac_status" >&5
++  echo "$as_me:10840: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_dn_expand=$ac_lib; else ac_cv_funclib_dn_expand=yes; fi";break
+ else
+@@ -10593,13 +10859,13 @@
+ for ac_func in dn_expand
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:10596: checking for $ac_func" >&5
++echo "$as_me:10862: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 10602 "configure"
++#line 10868 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -10630,16 +10896,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:10633: \"$ac_link\"") >&5
++if { (eval echo "$as_me:10899: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:10636: \$? = $ac_status" >&5
++  echo "$as_me:10902: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:10639: \"$ac_try\"") >&5
++  { (eval echo "$as_me:10905: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:10642: \$? = $ac_status" >&5
++  echo "$as_me:10908: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -10649,7 +10915,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:10652: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:10918: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -10673,13 +10939,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:10676: result: yes" >&5
++	echo "$as_me:10942: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_dn_expand=no"
+ 	eval "LIB_dn_expand="
+-	echo "$as_me:10682: result: no" >&5
++	echo "$as_me:10948: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -10693,7 +10959,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:10696: result: yes, in $ac_res" >&5
++	echo "$as_me:10962: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -10702,7 +10968,7 @@
+ 	LIBS="$LIB_dn_expand $LIBS"
+ fi
+ 
+-echo "$as_me:10705: checking for working snprintf" >&5
++echo "$as_me:10971: checking for working snprintf" >&5
+ echo $ECHO_N "checking for working snprintf... $ECHO_C" >&6
+ if test "${ac_cv_func_snprintf_working+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -10712,7 +10978,7 @@
+   :
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 10715 "configure"
++#line 10981 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -10725,15 +10991,15 @@
+ }
+ _ACEOF
+ rm -f conftest$ac_exeext
+-if { (eval echo "$as_me:10728: \"$ac_link\"") >&5
++if { (eval echo "$as_me:10994: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:10731: \$? = $ac_status" >&5
++  echo "$as_me:10997: \$? = $ac_status" >&5
+   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
+-  { (eval echo "$as_me:10733: \"$ac_try\"") >&5
++  { (eval echo "$as_me:10999: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:10736: \$? = $ac_status" >&5
++  echo "$as_me:11002: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   :
+ else
+@@ -10745,7 +11011,7 @@
+ rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
+ fi
+ fi
+-echo "$as_me:10748: result: $ac_cv_func_snprintf_working" >&5
++echo "$as_me:11014: result: $ac_cv_func_snprintf_working" >&5
+ echo "${ECHO_T}$ac_cv_func_snprintf_working" >&6
+ 
+ if test "$ac_cv_func_snprintf_working" = yes; then
+@@ -10758,13 +11024,13 @@
+ if test "$ac_cv_func_snprintf_working" = yes; then
+ 
+ if test "$ac_cv_func_snprintf+set" != set -o "$ac_cv_func_snprintf" = yes; then
+-echo "$as_me:10761: checking if snprintf needs a prototype" >&5
++echo "$as_me:11027: checking if snprintf needs a prototype" >&5
+ echo $ECHO_N "checking if snprintf needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_snprintf_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 10767 "configure"
++#line 11033 "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
+ int
+@@ -10779,16 +11045,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:10782: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:11048: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:10785: \$? = $ac_status" >&5
++  echo "$as_me:11051: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:10788: \"$ac_try\"") >&5
++  { (eval echo "$as_me:11054: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:10791: \$? = $ac_status" >&5
++  echo "$as_me:11057: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_func_snprintf_noproto=yes"
+ else
+@@ -10798,7 +11064,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:10801: result: $ac_cv_func_snprintf_noproto" >&5
++echo "$as_me:11067: result: $ac_cv_func_snprintf_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_snprintf_noproto" >&6
+ 
+ if test "$ac_cv_func_snprintf_noproto" = yes; then
+@@ -10813,7 +11079,7 @@
+ 
+ fi
+ 
+-echo "$as_me:10816: checking for working vsnprintf" >&5
++echo "$as_me:11082: checking for working vsnprintf" >&5
+ echo $ECHO_N "checking for working vsnprintf... $ECHO_C" >&6
+ if test "${ac_cv_func_vsnprintf_working+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -10823,7 +11089,7 @@
+   :
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 10826 "configure"
++#line 11092 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -10846,15 +11112,15 @@
+ }
+ _ACEOF
+ rm -f conftest$ac_exeext
+-if { (eval echo "$as_me:10849: \"$ac_link\"") >&5
++if { (eval echo "$as_me:11115: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:10852: \$? = $ac_status" >&5
++  echo "$as_me:11118: \$? = $ac_status" >&5
+   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
+-  { (eval echo "$as_me:10854: \"$ac_try\"") >&5
++  { (eval echo "$as_me:11120: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:10857: \$? = $ac_status" >&5
++  echo "$as_me:11123: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   :
+ else
+@@ -10866,7 +11132,7 @@
+ rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
+ fi
+ fi
+-echo "$as_me:10869: result: $ac_cv_func_vsnprintf_working" >&5
++echo "$as_me:11135: result: $ac_cv_func_vsnprintf_working" >&5
+ echo "${ECHO_T}$ac_cv_func_vsnprintf_working" >&6
+ 
+ if test "$ac_cv_func_vsnprintf_working" = yes; then
+@@ -10879,13 +11145,13 @@
+ if test "$ac_cv_func_vsnprintf_working" = yes; then
+ 
+ if test "$ac_cv_func_vsnprintf+set" != set -o "$ac_cv_func_vsnprintf" = yes; then
+-echo "$as_me:10882: checking if vsnprintf needs a prototype" >&5
++echo "$as_me:11148: checking if vsnprintf needs a prototype" >&5
+ echo $ECHO_N "checking if vsnprintf needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_vsnprintf_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 10888 "configure"
++#line 11154 "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
+ int
+@@ -10900,16 +11166,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:10903: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:11169: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:10906: \$? = $ac_status" >&5
++  echo "$as_me:11172: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:10909: \"$ac_try\"") >&5
++  { (eval echo "$as_me:11175: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:10912: \$? = $ac_status" >&5
++  echo "$as_me:11178: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_func_vsnprintf_noproto=yes"
+ else
+@@ -10919,7 +11185,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:10922: result: $ac_cv_func_vsnprintf_noproto" >&5
++echo "$as_me:11188: result: $ac_cv_func_vsnprintf_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_vsnprintf_noproto" >&6
+ 
+ if test "$ac_cv_func_vsnprintf_noproto" = yes; then
+@@ -10934,14 +11200,14 @@
+ 
+ fi
+ 
+-echo "$as_me:10937: checking for working glob" >&5
++echo "$as_me:11203: checking for working glob" >&5
+ echo $ECHO_N "checking for working glob... $ECHO_C" >&6
+ if test "${ac_cv_func_glob_working+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   ac_cv_func_glob_working=yes
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 10944 "configure"
++#line 11210 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -10964,16 +11230,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:10967: \"$ac_link\"") >&5
++if { (eval echo "$as_me:11233: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:10970: \$? = $ac_status" >&5
++  echo "$as_me:11236: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:10973: \"$ac_try\"") >&5
++  { (eval echo "$as_me:11239: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:10976: \$? = $ac_status" >&5
++  echo "$as_me:11242: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   :
+ else
+@@ -10983,7 +11249,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:10986: result: $ac_cv_func_glob_working" >&5
++echo "$as_me:11252: result: $ac_cv_func_glob_working" >&5
+ echo "${ECHO_T}$ac_cv_func_glob_working" >&6
+ 
+ if test "$ac_cv_func_glob_working" = yes; then
+@@ -10996,13 +11262,13 @@
+ if test "$ac_cv_func_glob_working" = yes; then
+ 
+ if test "$ac_cv_func_glob+set" != set -o "$ac_cv_func_glob" = yes; then
+-echo "$as_me:10999: checking if glob needs a prototype" >&5
++echo "$as_me:11265: checking if glob needs a prototype" >&5
+ echo $ECHO_N "checking if glob needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_glob_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 11005 "configure"
++#line 11271 "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
+ #include <glob.h>
+@@ -11018,16 +11284,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:11021: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:11287: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:11024: \$? = $ac_status" >&5
++  echo "$as_me:11290: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:11027: \"$ac_try\"") >&5
++  { (eval echo "$as_me:11293: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:11030: \$? = $ac_status" >&5
++  echo "$as_me:11296: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_func_glob_noproto=yes"
+ else
+@@ -11037,7 +11303,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:11040: result: $ac_cv_func_glob_noproto" >&5
++echo "$as_me:11306: result: $ac_cv_func_glob_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_glob_noproto" >&6
+ 
+ if test "$ac_cv_func_glob_noproto" = yes; then
+@@ -11092,13 +11358,13 @@
+ 
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:11095: checking for $ac_func" >&5
++echo "$as_me:11361: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 11101 "configure"
++#line 11367 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -11129,16 +11395,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:11132: \"$ac_link\"") >&5
++if { (eval echo "$as_me:11398: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:11135: \$? = $ac_status" >&5
++  echo "$as_me:11401: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:11138: \"$ac_try\"") >&5
++  { (eval echo "$as_me:11404: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:11141: \$? = $ac_status" >&5
++  echo "$as_me:11407: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -11148,7 +11414,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:11151: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:11417: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -11162,7 +11428,7 @@
+ 	LIBOBJS="$LIBOBJS getcap.o"
+ fi
+ 
+-echo "$as_me:11165: checking for getsockopt" >&5
++echo "$as_me:11431: checking for getsockopt" >&5
+ echo $ECHO_N "checking for getsockopt... $ECHO_C" >&6
+ if test "${ac_cv_funclib_getsockopt+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -11180,7 +11446,7 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 11183 "configure"
++#line 11449 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_SYS_TYPES_H
+ #include <sys/types.h>
+@@ -11197,16 +11463,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:11200: \"$ac_link\"") >&5
++if { (eval echo "$as_me:11466: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:11203: \$? = $ac_status" >&5
++  echo "$as_me:11469: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:11206: \"$ac_try\"") >&5
++  { (eval echo "$as_me:11472: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:11209: \$? = $ac_status" >&5
++  echo "$as_me:11475: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_getsockopt=$ac_lib; else ac_cv_funclib_getsockopt=yes; fi";break
+ else
+@@ -11228,13 +11494,13 @@
+ for ac_func in getsockopt
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:11231: checking for $ac_func" >&5
++echo "$as_me:11497: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 11237 "configure"
++#line 11503 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -11265,16 +11531,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:11268: \"$ac_link\"") >&5
++if { (eval echo "$as_me:11534: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:11271: \$? = $ac_status" >&5
++  echo "$as_me:11537: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:11274: \"$ac_try\"") >&5
++  { (eval echo "$as_me:11540: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:11277: \$? = $ac_status" >&5
++  echo "$as_me:11543: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -11284,7 +11550,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:11287: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:11553: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -11308,13 +11574,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:11311: result: yes" >&5
++	echo "$as_me:11577: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_getsockopt=no"
+ 	eval "LIB_getsockopt="
+-	echo "$as_me:11317: result: no" >&5
++	echo "$as_me:11583: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -11328,12 +11594,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:11331: result: yes, in $ac_res" >&5
++	echo "$as_me:11597: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "$as_me:11336: checking for setsockopt" >&5
++echo "$as_me:11602: checking for setsockopt" >&5
+ echo $ECHO_N "checking for setsockopt... $ECHO_C" >&6
+ if test "${ac_cv_funclib_setsockopt+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -11351,7 +11617,7 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 11354 "configure"
++#line 11620 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_SYS_TYPES_H
+ #include <sys/types.h>
+@@ -11368,16 +11634,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:11371: \"$ac_link\"") >&5
++if { (eval echo "$as_me:11637: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:11374: \$? = $ac_status" >&5
++  echo "$as_me:11640: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:11377: \"$ac_try\"") >&5
++  { (eval echo "$as_me:11643: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:11380: \$? = $ac_status" >&5
++  echo "$as_me:11646: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_setsockopt=$ac_lib; else ac_cv_funclib_setsockopt=yes; fi";break
+ else
+@@ -11399,13 +11665,13 @@
+ for ac_func in setsockopt
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:11402: checking for $ac_func" >&5
++echo "$as_me:11668: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 11408 "configure"
++#line 11674 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -11436,16 +11702,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:11439: \"$ac_link\"") >&5
++if { (eval echo "$as_me:11705: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:11442: \$? = $ac_status" >&5
++  echo "$as_me:11708: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:11445: \"$ac_try\"") >&5
++  { (eval echo "$as_me:11711: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:11448: \$? = $ac_status" >&5
++  echo "$as_me:11714: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -11455,7 +11721,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:11458: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:11724: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -11479,13 +11745,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:11482: result: yes" >&5
++	echo "$as_me:11748: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_setsockopt=no"
+ 	eval "LIB_setsockopt="
+-	echo "$as_me:11488: result: no" >&5
++	echo "$as_me:11754: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -11499,12 +11765,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:11502: result: yes, in $ac_res" >&5
++	echo "$as_me:11768: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "$as_me:11507: checking for hstrerror" >&5
++echo "$as_me:11773: checking for hstrerror" >&5
+ echo $ECHO_N "checking for hstrerror... $ECHO_C" >&6
+ if test "${ac_cv_funclib_hstrerror+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -11522,7 +11788,7 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 11525 "configure"
++#line 11791 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_NETDB_H
+ #include <netdb.h>
+@@ -11536,16 +11802,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:11539: \"$ac_link\"") >&5
++if { (eval echo "$as_me:11805: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:11542: \$? = $ac_status" >&5
++  echo "$as_me:11808: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:11545: \"$ac_try\"") >&5
++  { (eval echo "$as_me:11811: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:11548: \$? = $ac_status" >&5
++  echo "$as_me:11814: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_hstrerror=$ac_lib; else ac_cv_funclib_hstrerror=yes; fi";break
+ else
+@@ -11567,13 +11833,13 @@
+ for ac_func in hstrerror
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:11570: checking for $ac_func" >&5
++echo "$as_me:11836: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 11576 "configure"
++#line 11842 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -11604,16 +11870,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:11607: \"$ac_link\"") >&5
++if { (eval echo "$as_me:11873: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:11610: \$? = $ac_status" >&5
++  echo "$as_me:11876: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:11613: \"$ac_try\"") >&5
++  { (eval echo "$as_me:11879: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:11616: \$? = $ac_status" >&5
++  echo "$as_me:11882: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -11623,7 +11889,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:11626: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:11892: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -11647,13 +11913,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:11650: result: yes" >&5
++	echo "$as_me:11916: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_hstrerror=no"
+ 	eval "LIB_hstrerror="
+-	echo "$as_me:11656: result: no" >&5
++	echo "$as_me:11922: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -11667,7 +11933,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:11670: result: yes, in $ac_res" >&5
++	echo "$as_me:11936: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -11683,13 +11949,13 @@
+ if test "$ac_cv_func_hstrerror" = yes; then
+ 
+ if test "$ac_cv_func_hstrerror+set" != set -o "$ac_cv_func_hstrerror" = yes; then
+-echo "$as_me:11686: checking if hstrerror needs a prototype" >&5
++echo "$as_me:11952: checking if hstrerror needs a prototype" >&5
+ echo $ECHO_N "checking if hstrerror needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_hstrerror_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 11692 "configure"
++#line 11958 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_NETDB_H
+@@ -11707,16 +11973,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:11710: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:11976: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:11713: \$? = $ac_status" >&5
++  echo "$as_me:11979: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:11716: \"$ac_try\"") >&5
++  { (eval echo "$as_me:11982: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:11719: \$? = $ac_status" >&5
++  echo "$as_me:11985: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_func_hstrerror_noproto=yes"
+ else
+@@ -11726,7 +11992,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:11729: result: $ac_cv_func_hstrerror_noproto" >&5
++echo "$as_me:11995: result: $ac_cv_func_hstrerror_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_hstrerror_noproto" >&6
+ 
+ if test "$ac_cv_func_hstrerror_noproto" = yes; then
+@@ -11744,13 +12010,13 @@
+ if test "$ac_cv_func_asprintf" = yes; then
+ 
+ if test "$ac_cv_func_asprintf+set" != set -o "$ac_cv_func_asprintf" = yes; then
+-echo "$as_me:11747: checking if asprintf needs a prototype" >&5
++echo "$as_me:12013: checking if asprintf needs a prototype" >&5
+ echo $ECHO_N "checking if asprintf needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_asprintf_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 11753 "configure"
++#line 12019 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -11767,16 +12033,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:11770: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:12036: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:11773: \$? = $ac_status" >&5
++  echo "$as_me:12039: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:11776: \"$ac_try\"") >&5
++  { (eval echo "$as_me:12042: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:11779: \$? = $ac_status" >&5
++  echo "$as_me:12045: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_func_asprintf_noproto=yes"
+ else
+@@ -11786,7 +12052,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:11789: result: $ac_cv_func_asprintf_noproto" >&5
++echo "$as_me:12055: result: $ac_cv_func_asprintf_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_asprintf_noproto" >&6
+ 
+ if test "$ac_cv_func_asprintf_noproto" = yes; then
+@@ -11802,13 +12068,13 @@
+ if test "$ac_cv_func_vasprintf" = yes; then
+ 
+ if test "$ac_cv_func_vasprintf+set" != set -o "$ac_cv_func_vasprintf" = yes; then
+-echo "$as_me:11805: checking if vasprintf needs a prototype" >&5
++echo "$as_me:12071: checking if vasprintf needs a prototype" >&5
+ echo $ECHO_N "checking if vasprintf needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_vasprintf_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 11811 "configure"
++#line 12077 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -11825,16 +12091,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:11828: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:12094: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:11831: \$? = $ac_status" >&5
++  echo "$as_me:12097: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:11834: \"$ac_try\"") >&5
++  { (eval echo "$as_me:12100: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:11837: \$? = $ac_status" >&5
++  echo "$as_me:12103: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_func_vasprintf_noproto=yes"
+ else
+@@ -11844,7 +12110,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:11847: result: $ac_cv_func_vasprintf_noproto" >&5
++echo "$as_me:12113: result: $ac_cv_func_vasprintf_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_vasprintf_noproto" >&6
+ 
+ if test "$ac_cv_func_vasprintf_noproto" = yes; then
+@@ -11860,13 +12126,13 @@
+ if test "$ac_cv_func_asnprintf" = yes; then
+ 
+ if test "$ac_cv_func_asnprintf+set" != set -o "$ac_cv_func_asnprintf" = yes; then
+-echo "$as_me:11863: checking if asnprintf needs a prototype" >&5
++echo "$as_me:12129: checking if asnprintf needs a prototype" >&5
+ echo $ECHO_N "checking if asnprintf needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_asnprintf_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 11869 "configure"
++#line 12135 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -11883,16 +12149,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:11886: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:12152: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:11889: \$? = $ac_status" >&5
++  echo "$as_me:12155: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:11892: \"$ac_try\"") >&5
++  { (eval echo "$as_me:12158: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:11895: \$? = $ac_status" >&5
++  echo "$as_me:12161: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_func_asnprintf_noproto=yes"
+ else
+@@ -11902,7 +12168,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:11905: result: $ac_cv_func_asnprintf_noproto" >&5
++echo "$as_me:12171: result: $ac_cv_func_asnprintf_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_asnprintf_noproto" >&6
+ 
+ if test "$ac_cv_func_asnprintf_noproto" = yes; then
+@@ -11918,13 +12184,13 @@
+ if test "$ac_cv_func_vasnprintf" = yes; then
+ 
+ if test "$ac_cv_func_vasnprintf+set" != set -o "$ac_cv_func_vasnprintf" = yes; then
+-echo "$as_me:11921: checking if vasnprintf needs a prototype" >&5
++echo "$as_me:12187: checking if vasnprintf needs a prototype" >&5
+ echo $ECHO_N "checking if vasnprintf needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_vasnprintf_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 11927 "configure"
++#line 12193 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -11941,16 +12207,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:11944: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:12210: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:11947: \$? = $ac_status" >&5
++  echo "$as_me:12213: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:11950: \"$ac_try\"") >&5
++  { (eval echo "$as_me:12216: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:11953: \$? = $ac_status" >&5
++  echo "$as_me:12219: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_func_vasnprintf_noproto=yes"
+ else
+@@ -11960,7 +12226,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:11963: result: $ac_cv_func_vasnprintf_noproto" >&5
++echo "$as_me:12229: result: $ac_cv_func_vasnprintf_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_vasnprintf_noproto" >&6
+ 
+ if test "$ac_cv_func_vasnprintf_noproto" = yes; then
+@@ -11974,7 +12240,7 @@
+ fi
+ fi
+ 
+-echo "$as_me:11977: checking for bswap16" >&5
++echo "$as_me:12243: checking for bswap16" >&5
+ echo $ECHO_N "checking for bswap16... $ECHO_C" >&6
+ if test "${ac_cv_funclib_bswap16+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -11992,7 +12258,7 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 11995 "configure"
++#line 12261 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_SYS_BSWAP_H
+ #include <sys/bswap.h>
+@@ -12006,16 +12272,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:12009: \"$ac_link\"") >&5
++if { (eval echo "$as_me:12275: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:12012: \$? = $ac_status" >&5
++  echo "$as_me:12278: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:12015: \"$ac_try\"") >&5
++  { (eval echo "$as_me:12281: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:12018: \$? = $ac_status" >&5
++  echo "$as_me:12284: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_bswap16=$ac_lib; else ac_cv_funclib_bswap16=yes; fi";break
+ else
+@@ -12037,13 +12303,13 @@
+ for ac_func in bswap16
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:12040: checking for $ac_func" >&5
++echo "$as_me:12306: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 12046 "configure"
++#line 12312 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -12074,16 +12340,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:12077: \"$ac_link\"") >&5
++if { (eval echo "$as_me:12343: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:12080: \$? = $ac_status" >&5
++  echo "$as_me:12346: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:12083: \"$ac_try\"") >&5
++  { (eval echo "$as_me:12349: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:12086: \$? = $ac_status" >&5
++  echo "$as_me:12352: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -12093,7 +12359,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:12096: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:12362: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -12117,13 +12383,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:12120: result: yes" >&5
++	echo "$as_me:12386: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_bswap16=no"
+ 	eval "LIB_bswap16="
+-	echo "$as_me:12126: result: no" >&5
++	echo "$as_me:12392: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -12137,12 +12403,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:12140: result: yes, in $ac_res" >&5
++	echo "$as_me:12406: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "$as_me:12145: checking for bswap32" >&5
++echo "$as_me:12411: checking for bswap32" >&5
+ echo $ECHO_N "checking for bswap32... $ECHO_C" >&6
+ if test "${ac_cv_funclib_bswap32+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -12160,7 +12426,7 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 12163 "configure"
++#line 12429 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_SYS_BSWAP_H
+ #include <sys/bswap.h>
+@@ -12174,16 +12440,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:12177: \"$ac_link\"") >&5
++if { (eval echo "$as_me:12443: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:12180: \$? = $ac_status" >&5
++  echo "$as_me:12446: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:12183: \"$ac_try\"") >&5
++  { (eval echo "$as_me:12449: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:12186: \$? = $ac_status" >&5
++  echo "$as_me:12452: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_bswap32=$ac_lib; else ac_cv_funclib_bswap32=yes; fi";break
+ else
+@@ -12205,13 +12471,13 @@
+ for ac_func in bswap32
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:12208: checking for $ac_func" >&5
++echo "$as_me:12474: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 12214 "configure"
++#line 12480 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -12242,16 +12508,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:12245: \"$ac_link\"") >&5
++if { (eval echo "$as_me:12511: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:12248: \$? = $ac_status" >&5
++  echo "$as_me:12514: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:12251: \"$ac_try\"") >&5
++  { (eval echo "$as_me:12517: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:12254: \$? = $ac_status" >&5
++  echo "$as_me:12520: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -12261,7 +12527,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:12264: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:12530: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -12285,13 +12551,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:12288: result: yes" >&5
++	echo "$as_me:12554: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_bswap32=no"
+ 	eval "LIB_bswap32="
+-	echo "$as_me:12294: result: no" >&5
++	echo "$as_me:12560: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -12305,12 +12571,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:12308: result: yes, in $ac_res" >&5
++	echo "$as_me:12574: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "$as_me:12313: checking for pidfile" >&5
++echo "$as_me:12579: checking for pidfile" >&5
+ echo $ECHO_N "checking for pidfile... $ECHO_C" >&6
+ if test "${ac_cv_funclib_pidfile+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -12328,7 +12594,7 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 12331 "configure"
++#line 12597 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_UTIL_H
+ #include <util.h>
+@@ -12342,16 +12608,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:12345: \"$ac_link\"") >&5
++if { (eval echo "$as_me:12611: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:12348: \$? = $ac_status" >&5
++  echo "$as_me:12614: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:12351: \"$ac_try\"") >&5
++  { (eval echo "$as_me:12617: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:12354: \$? = $ac_status" >&5
++  echo "$as_me:12620: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_pidfile=$ac_lib; else ac_cv_funclib_pidfile=yes; fi";break
+ else
+@@ -12373,13 +12639,13 @@
+ for ac_func in pidfile
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:12376: checking for $ac_func" >&5
++echo "$as_me:12642: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 12382 "configure"
++#line 12648 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -12410,16 +12676,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:12413: \"$ac_link\"") >&5
++if { (eval echo "$as_me:12679: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:12416: \$? = $ac_status" >&5
++  echo "$as_me:12682: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:12419: \"$ac_try\"") >&5
++  { (eval echo "$as_me:12685: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:12422: \$? = $ac_status" >&5
++  echo "$as_me:12688: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -12429,7 +12695,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:12432: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:12698: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -12453,13 +12719,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:12456: result: yes" >&5
++	echo "$as_me:12722: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_pidfile=no"
+ 	eval "LIB_pidfile="
+-	echo "$as_me:12462: result: no" >&5
++	echo "$as_me:12728: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -12473,12 +12739,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:12476: result: yes, in $ac_res" >&5
++	echo "$as_me:12742: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "$as_me:12481: checking for getaddrinfo" >&5
++echo "$as_me:12747: checking for getaddrinfo" >&5
+ echo $ECHO_N "checking for getaddrinfo... $ECHO_C" >&6
+ if test "${ac_cv_funclib_getaddrinfo+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -12496,7 +12762,7 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 12499 "configure"
++#line 12765 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_NETDB_H
+ #include <netdb.h>
+@@ -12510,16 +12776,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:12513: \"$ac_link\"") >&5
++if { (eval echo "$as_me:12779: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:12516: \$? = $ac_status" >&5
++  echo "$as_me:12782: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:12519: \"$ac_try\"") >&5
++  { (eval echo "$as_me:12785: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:12522: \$? = $ac_status" >&5
++  echo "$as_me:12788: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_getaddrinfo=$ac_lib; else ac_cv_funclib_getaddrinfo=yes; fi";break
+ else
+@@ -12541,13 +12807,13 @@
+ for ac_func in getaddrinfo
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:12544: checking for $ac_func" >&5
++echo "$as_me:12810: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 12550 "configure"
++#line 12816 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -12578,16 +12844,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:12581: \"$ac_link\"") >&5
++if { (eval echo "$as_me:12847: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:12584: \$? = $ac_status" >&5
++  echo "$as_me:12850: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:12587: \"$ac_try\"") >&5
++  { (eval echo "$as_me:12853: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:12590: \$? = $ac_status" >&5
++  echo "$as_me:12856: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -12597,7 +12863,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:12600: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:12866: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -12621,13 +12887,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:12624: result: yes" >&5
++	echo "$as_me:12890: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_getaddrinfo=no"
+ 	eval "LIB_getaddrinfo="
+-	echo "$as_me:12630: result: no" >&5
++	echo "$as_me:12896: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -12641,7 +12907,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:12644: result: yes, in $ac_res" >&5
++	echo "$as_me:12910: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -12654,7 +12920,7 @@
+ LIBOBJS="$LIBOBJS getaddrinfo.o"
+ fi
+ 
+-echo "$as_me:12657: checking for getnameinfo" >&5
++echo "$as_me:12923: checking for getnameinfo" >&5
+ echo $ECHO_N "checking for getnameinfo... $ECHO_C" >&6
+ if test "${ac_cv_funclib_getnameinfo+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -12672,7 +12938,7 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 12675 "configure"
++#line 12941 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_NETDB_H
+ #include <netdb.h>
+@@ -12686,16 +12952,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:12689: \"$ac_link\"") >&5
++if { (eval echo "$as_me:12955: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:12692: \$? = $ac_status" >&5
++  echo "$as_me:12958: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:12695: \"$ac_try\"") >&5
++  { (eval echo "$as_me:12961: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:12698: \$? = $ac_status" >&5
++  echo "$as_me:12964: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_getnameinfo=$ac_lib; else ac_cv_funclib_getnameinfo=yes; fi";break
+ else
+@@ -12717,13 +12983,13 @@
+ for ac_func in getnameinfo
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:12720: checking for $ac_func" >&5
++echo "$as_me:12986: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 12726 "configure"
++#line 12992 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -12754,16 +13020,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:12757: \"$ac_link\"") >&5
++if { (eval echo "$as_me:13023: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:12760: \$? = $ac_status" >&5
++  echo "$as_me:13026: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:12763: \"$ac_try\"") >&5
++  { (eval echo "$as_me:13029: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:12766: \$? = $ac_status" >&5
++  echo "$as_me:13032: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -12773,7 +13039,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:12776: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:13042: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -12797,13 +13063,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:12800: result: yes" >&5
++	echo "$as_me:13066: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_getnameinfo=no"
+ 	eval "LIB_getnameinfo="
+-	echo "$as_me:12806: result: no" >&5
++	echo "$as_me:13072: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -12817,7 +13083,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:12820: result: yes, in $ac_res" >&5
++	echo "$as_me:13086: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -12830,7 +13096,7 @@
+ LIBOBJS="$LIBOBJS getnameinfo.o"
+ fi
+ 
+-echo "$as_me:12833: checking for freeaddrinfo" >&5
++echo "$as_me:13099: checking for freeaddrinfo" >&5
+ echo $ECHO_N "checking for freeaddrinfo... $ECHO_C" >&6
+ if test "${ac_cv_funclib_freeaddrinfo+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -12848,7 +13114,7 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 12851 "configure"
++#line 13117 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_NETDB_H
+ #include <netdb.h>
+@@ -12862,16 +13128,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:12865: \"$ac_link\"") >&5
++if { (eval echo "$as_me:13131: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:12868: \$? = $ac_status" >&5
++  echo "$as_me:13134: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:12871: \"$ac_try\"") >&5
++  { (eval echo "$as_me:13137: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:12874: \$? = $ac_status" >&5
++  echo "$as_me:13140: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_freeaddrinfo=$ac_lib; else ac_cv_funclib_freeaddrinfo=yes; fi";break
+ else
+@@ -12893,13 +13159,13 @@
+ for ac_func in freeaddrinfo
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:12896: checking for $ac_func" >&5
++echo "$as_me:13162: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 12902 "configure"
++#line 13168 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -12930,16 +13196,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:12933: \"$ac_link\"") >&5
++if { (eval echo "$as_me:13199: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:12936: \$? = $ac_status" >&5
++  echo "$as_me:13202: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:12939: \"$ac_try\"") >&5
++  { (eval echo "$as_me:13205: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:12942: \$? = $ac_status" >&5
++  echo "$as_me:13208: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -12949,7 +13215,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:12952: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:13218: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -12973,13 +13239,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:12976: result: yes" >&5
++	echo "$as_me:13242: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_freeaddrinfo=no"
+ 	eval "LIB_freeaddrinfo="
+-	echo "$as_me:12982: result: no" >&5
++	echo "$as_me:13248: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -12993,7 +13259,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:12996: result: yes, in $ac_res" >&5
++	echo "$as_me:13262: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -13006,7 +13272,7 @@
+ LIBOBJS="$LIBOBJS freeaddrinfo.o"
+ fi
+ 
+-echo "$as_me:13009: checking for gai_strerror" >&5
++echo "$as_me:13275: checking for gai_strerror" >&5
+ echo $ECHO_N "checking for gai_strerror... $ECHO_C" >&6
+ if test "${ac_cv_funclib_gai_strerror+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -13024,7 +13290,7 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 13027 "configure"
++#line 13293 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_NETDB_H
+ #include <netdb.h>
+@@ -13038,16 +13304,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:13041: \"$ac_link\"") >&5
++if { (eval echo "$as_me:13307: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:13044: \$? = $ac_status" >&5
++  echo "$as_me:13310: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:13047: \"$ac_try\"") >&5
++  { (eval echo "$as_me:13313: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:13050: \$? = $ac_status" >&5
++  echo "$as_me:13316: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_gai_strerror=$ac_lib; else ac_cv_funclib_gai_strerror=yes; fi";break
+ else
+@@ -13069,13 +13335,13 @@
+ for ac_func in gai_strerror
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:13072: checking for $ac_func" >&5
++echo "$as_me:13338: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 13078 "configure"
++#line 13344 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -13106,16 +13372,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:13109: \"$ac_link\"") >&5
++if { (eval echo "$as_me:13375: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:13112: \$? = $ac_status" >&5
++  echo "$as_me:13378: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:13115: \"$ac_try\"") >&5
++  { (eval echo "$as_me:13381: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:13118: \$? = $ac_status" >&5
++  echo "$as_me:13384: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -13125,7 +13391,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:13128: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:13394: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -13149,13 +13415,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:13152: result: yes" >&5
++	echo "$as_me:13418: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_gai_strerror=no"
+ 	eval "LIB_gai_strerror="
+-	echo "$as_me:13158: result: no" >&5
++	echo "$as_me:13424: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -13169,7 +13435,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:13172: result: yes, in $ac_res" >&5
++	echo "$as_me:13438: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -13251,13 +13517,13 @@
+ 
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:13254: checking for $ac_func" >&5
++echo "$as_me:13520: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 13260 "configure"
++#line 13526 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -13288,16 +13554,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:13291: \"$ac_link\"") >&5
++if { (eval echo "$as_me:13557: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:13294: \$? = $ac_status" >&5
++  echo "$as_me:13560: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:13297: \"$ac_try\"") >&5
++  { (eval echo "$as_me:13563: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:13300: \$? = $ac_status" >&5
++  echo "$as_me:13566: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -13307,7 +13573,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:13310: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:13576: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+ 
+@@ -13391,13 +13657,13 @@
+ 
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:13394: checking for $ac_func" >&5
++echo "$as_me:13660: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 13400 "configure"
++#line 13666 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -13428,16 +13694,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:13431: \"$ac_link\"") >&5
++if { (eval echo "$as_me:13697: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:13434: \$? = $ac_status" >&5
++  echo "$as_me:13700: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:13437: \"$ac_try\"") >&5
++  { (eval echo "$as_me:13703: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:13440: \$? = $ac_status" >&5
++  echo "$as_me:13706: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -13447,7 +13713,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:13450: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:13716: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -13462,13 +13728,13 @@
+ 
+ for ac_func in inet_aton
+ do
+-echo "$as_me:13465: checking for $ac_func" >&5
++echo "$as_me:13731: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_func_$ac_func+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 13471 "configure"
++#line 13737 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_SYS_TYPES_H
+ #include <sys/types.h>
+@@ -13500,16 +13766,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:13503: \"$ac_link\"") >&5
++if { (eval echo "$as_me:13769: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:13506: \$? = $ac_status" >&5
++  echo "$as_me:13772: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:13509: \"$ac_try\"") >&5
++  { (eval echo "$as_me:13775: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:13512: \$? = $ac_status" >&5
++  echo "$as_me:13778: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_func_$ac_func=yes"
+ else
+@@ -13526,10 +13792,10 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-  echo "$as_me:13529: result: yes" >&5
++  echo "$as_me:13795: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ else
+-  echo "$as_me:13532: result: no" >&5
++  echo "$as_me:13798: result: no" >&5
+ echo "${ECHO_T}no" >&6
+   LIBOBJS="$LIBOBJS ${ac_func}.o"
+ fi
+@@ -13539,13 +13805,13 @@
+ for ac_func in inet_aton
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:13542: checking for $ac_func" >&5
++echo "$as_me:13808: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 13548 "configure"
++#line 13814 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -13576,16 +13842,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:13579: \"$ac_link\"") >&5
++if { (eval echo "$as_me:13845: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:13582: \$? = $ac_status" >&5
++  echo "$as_me:13848: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:13585: \"$ac_try\"") >&5
++  { (eval echo "$as_me:13851: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:13588: \$? = $ac_status" >&5
++  echo "$as_me:13854: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -13595,7 +13861,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:13598: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:13864: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -13609,13 +13875,13 @@
+ 
+ for ac_func in inet_ntop
+ do
+-echo "$as_me:13612: checking for $ac_func" >&5
++echo "$as_me:13878: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_func_$ac_func+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 13618 "configure"
++#line 13884 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_SYS_TYPES_H
+ #include <sys/types.h>
+@@ -13647,16 +13913,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:13650: \"$ac_link\"") >&5
++if { (eval echo "$as_me:13916: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:13653: \$? = $ac_status" >&5
++  echo "$as_me:13919: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:13656: \"$ac_try\"") >&5
++  { (eval echo "$as_me:13922: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:13659: \$? = $ac_status" >&5
++  echo "$as_me:13925: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_func_$ac_func=yes"
+ else
+@@ -13673,10 +13939,10 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-  echo "$as_me:13676: result: yes" >&5
++  echo "$as_me:13942: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ else
+-  echo "$as_me:13679: result: no" >&5
++  echo "$as_me:13945: result: no" >&5
+ echo "${ECHO_T}no" >&6
+   LIBOBJS="$LIBOBJS ${ac_func}.o"
+ fi
+@@ -13686,13 +13952,13 @@
+ for ac_func in inet_ntop
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:13689: checking for $ac_func" >&5
++echo "$as_me:13955: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 13695 "configure"
++#line 13961 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -13723,16 +13989,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:13726: \"$ac_link\"") >&5
++if { (eval echo "$as_me:13992: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:13729: \$? = $ac_status" >&5
++  echo "$as_me:13995: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:13732: \"$ac_try\"") >&5
++  { (eval echo "$as_me:13998: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:13735: \$? = $ac_status" >&5
++  echo "$as_me:14001: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -13742,7 +14008,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:13745: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:14011: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -13756,13 +14022,13 @@
+ 
+ for ac_func in inet_pton
+ do
+-echo "$as_me:13759: checking for $ac_func" >&5
++echo "$as_me:14025: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_func_$ac_func+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 13765 "configure"
++#line 14031 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_SYS_TYPES_H
+ #include <sys/types.h>
+@@ -13794,16 +14060,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:13797: \"$ac_link\"") >&5
++if { (eval echo "$as_me:14063: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:13800: \$? = $ac_status" >&5
++  echo "$as_me:14066: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:13803: \"$ac_try\"") >&5
++  { (eval echo "$as_me:14069: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:13806: \$? = $ac_status" >&5
++  echo "$as_me:14072: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_func_$ac_func=yes"
+ else
+@@ -13820,10 +14086,10 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-  echo "$as_me:13823: result: yes" >&5
++  echo "$as_me:14089: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ else
+-  echo "$as_me:13826: result: no" >&5
++  echo "$as_me:14092: result: no" >&5
+ echo "${ECHO_T}no" >&6
+   LIBOBJS="$LIBOBJS ${ac_func}.o"
+ fi
+@@ -13833,13 +14099,13 @@
+ for ac_func in inet_pton
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:13836: checking for $ac_func" >&5
++echo "$as_me:14102: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 13842 "configure"
++#line 14108 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -13870,16 +14136,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:13873: \"$ac_link\"") >&5
++if { (eval echo "$as_me:14139: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:13876: \$? = $ac_status" >&5
++  echo "$as_me:14142: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:13879: \"$ac_try\"") >&5
++  { (eval echo "$as_me:14145: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:13882: \$? = $ac_status" >&5
++  echo "$as_me:14148: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -13889,7 +14155,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:13892: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:14158: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -13901,14 +14167,14 @@
+ 
+ fi
+ 
+-echo "$as_me:13904: checking for sa_len in struct sockaddr" >&5
++echo "$as_me:14170: checking for sa_len in struct sockaddr" >&5
+ echo $ECHO_N "checking for sa_len in struct sockaddr... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_sockaddr_sa_len+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 13911 "configure"
++#line 14177 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #include <sys/socket.h>
+@@ -13921,16 +14187,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:13924: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:14190: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:13927: \$? = $ac_status" >&5
++  echo "$as_me:14193: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:13930: \"$ac_try\"") >&5
++  { (eval echo "$as_me:14196: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:13933: \$? = $ac_status" >&5
++  echo "$as_me:14199: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_type_struct_sockaddr_sa_len=yes
+ else
+@@ -13940,7 +14206,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:13943: result: $ac_cv_type_struct_sockaddr_sa_len" >&5
++echo "$as_me:14209: result: $ac_cv_type_struct_sockaddr_sa_len" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_sockaddr_sa_len" >&6
+ if test "$ac_cv_type_struct_sockaddr_sa_len" = yes; then
+ 
+@@ -13952,18 +14218,18 @@
+ 
+ if test "$ac_cv_func_getnameinfo" = "yes"; then
+ 
+-echo "$as_me:13955: checking if getnameinfo is broken" >&5
++echo "$as_me:14221: checking if getnameinfo is broken" >&5
+ echo $ECHO_N "checking if getnameinfo is broken... $ECHO_C" >&6
+ if test "${ac_cv_func_getnameinfo_broken+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   if test "$cross_compiling" = yes; then
+-  { { echo "$as_me:13961: error: cannot run test program while cross compiling" >&5
++  { { echo "$as_me:14227: error: cannot run test program while cross compiling" >&5
+ echo "$as_me: error: cannot run test program while cross compiling" >&2;}
+    { (exit 1); exit 1; }; }
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 13966 "configure"
++#line 14232 "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
+ #include <sys/types.h>
+@@ -13989,15 +14255,15 @@
+ 
+ _ACEOF
+ rm -f conftest$ac_exeext
+-if { (eval echo "$as_me:13992: \"$ac_link\"") >&5
++if { (eval echo "$as_me:14258: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:13995: \$? = $ac_status" >&5
++  echo "$as_me:14261: \$? = $ac_status" >&5
+   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
+-  { (eval echo "$as_me:13997: \"$ac_try\"") >&5
++  { (eval echo "$as_me:14263: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:14000: \$? = $ac_status" >&5
++  echo "$as_me:14266: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_func_getnameinfo_broken=no
+ else
+@@ -14009,7 +14275,7 @@
+ rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
+ fi
+ fi
+-echo "$as_me:14012: result: $ac_cv_func_getnameinfo_broken" >&5
++echo "$as_me:14278: result: $ac_cv_func_getnameinfo_broken" >&5
+ echo "${ECHO_T}$ac_cv_func_getnameinfo_broken" >&6
+   if test "$ac_cv_func_getnameinfo_broken" = yes; then
+     LIBOBJS="$LIBOBJS getnameinfo.o"
+@@ -14018,18 +14284,18 @@
+ 
+ if test "$ac_cv_func_getaddrinfo" = "yes"; then
+ 
+-echo "$as_me:14021: checking if getaddrinfo handles numeric services" >&5
++echo "$as_me:14287: checking if getaddrinfo handles numeric services" >&5
+ echo $ECHO_N "checking if getaddrinfo handles numeric services... $ECHO_C" >&6
+ if test "${ac_cv_func_getaddrinfo_numserv+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   if test "$cross_compiling" = yes; then
+-  { { echo "$as_me:14027: error: cannot run test program while cross compiling" >&5
++  { { echo "$as_me:14293: error: cannot run test program while cross compiling" >&5
+ echo "$as_me: error: cannot run test program while cross compiling" >&2;}
+    { (exit 1); exit 1; }; }
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 14032 "configure"
++#line 14298 "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
+ #include <sys/types.h>
+@@ -14051,15 +14317,15 @@
+ 
+ _ACEOF
+ rm -f conftest$ac_exeext
+-if { (eval echo "$as_me:14054: \"$ac_link\"") >&5
++if { (eval echo "$as_me:14320: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:14057: \$? = $ac_status" >&5
++  echo "$as_me:14323: \$? = $ac_status" >&5
+   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
+-  { (eval echo "$as_me:14059: \"$ac_try\"") >&5
++  { (eval echo "$as_me:14325: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:14062: \$? = $ac_status" >&5
++  echo "$as_me:14328: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_func_getaddrinfo_numserv=yes
+ else
+@@ -14071,7 +14337,7 @@
+ rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
+ fi
+ fi
+-echo "$as_me:14074: result: $ac_cv_func_getaddrinfo_numserv" >&5
++echo "$as_me:14340: result: $ac_cv_func_getaddrinfo_numserv" >&5
+ echo "${ECHO_T}$ac_cv_func_getaddrinfo_numserv" >&6
+   if test "$ac_cv_func_getaddrinfo_numserv" = no; then
+     LIBOBJS="$LIBOBJS getaddrinfo.o"
+@@ -14079,13 +14345,13 @@
+ fi
+ 
+ if test "$ac_cv_func_setenv+set" != set -o "$ac_cv_func_setenv" = yes; then
+-echo "$as_me:14082: checking if setenv needs a prototype" >&5
++echo "$as_me:14348: checking if setenv needs a prototype" >&5
+ echo $ECHO_N "checking if setenv needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_setenv_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 14088 "configure"
++#line 14354 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ int
+@@ -14100,16 +14366,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:14103: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:14369: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:14106: \$? = $ac_status" >&5
++  echo "$as_me:14372: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:14109: \"$ac_try\"") >&5
++  { (eval echo "$as_me:14375: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:14112: \$? = $ac_status" >&5
++  echo "$as_me:14378: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_func_setenv_noproto=yes"
+ else
+@@ -14119,7 +14385,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:14122: result: $ac_cv_func_setenv_noproto" >&5
++echo "$as_me:14388: result: $ac_cv_func_setenv_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_setenv_noproto" >&6
+ 
+ if test "$ac_cv_func_setenv_noproto" = yes; then
+@@ -14133,13 +14399,13 @@
+ fi
+ 
+ if test "$ac_cv_func_unsetenv+set" != set -o "$ac_cv_func_unsetenv" = yes; then
+-echo "$as_me:14136: checking if unsetenv needs a prototype" >&5
++echo "$as_me:14402: checking if unsetenv needs a prototype" >&5
+ echo $ECHO_N "checking if unsetenv needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_unsetenv_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 14142 "configure"
++#line 14408 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ int
+@@ -14154,16 +14420,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:14157: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:14423: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:14160: \$? = $ac_status" >&5
++  echo "$as_me:14426: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:14163: \"$ac_try\"") >&5
++  { (eval echo "$as_me:14429: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:14166: \$? = $ac_status" >&5
++  echo "$as_me:14432: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_func_unsetenv_noproto=yes"
+ else
+@@ -14173,7 +14439,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:14176: result: $ac_cv_func_unsetenv_noproto" >&5
++echo "$as_me:14442: result: $ac_cv_func_unsetenv_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_unsetenv_noproto" >&6
+ 
+ if test "$ac_cv_func_unsetenv_noproto" = yes; then
+@@ -14187,13 +14453,13 @@
+ fi
+ 
+ if test "$ac_cv_func_gethostname+set" != set -o "$ac_cv_func_gethostname" = yes; then
+-echo "$as_me:14190: checking if gethostname needs a prototype" >&5
++echo "$as_me:14456: checking if gethostname needs a prototype" >&5
+ echo $ECHO_N "checking if gethostname needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_gethostname_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 14196 "configure"
++#line 14462 "configure"
+ #include "confdefs.h"
+ #include <unistd.h>
+ int
+@@ -14208,16 +14474,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:14211: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:14477: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:14214: \$? = $ac_status" >&5
++  echo "$as_me:14480: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:14217: \"$ac_try\"") >&5
++  { (eval echo "$as_me:14483: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:14220: \$? = $ac_status" >&5
++  echo "$as_me:14486: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_func_gethostname_noproto=yes"
+ else
+@@ -14227,7 +14493,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:14230: result: $ac_cv_func_gethostname_noproto" >&5
++echo "$as_me:14496: result: $ac_cv_func_gethostname_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_gethostname_noproto" >&6
+ 
+ if test "$ac_cv_func_gethostname_noproto" = yes; then
+@@ -14241,13 +14507,13 @@
+ fi
+ 
+ if test "$ac_cv_func_mkstemp+set" != set -o "$ac_cv_func_mkstemp" = yes; then
+-echo "$as_me:14244: checking if mkstemp needs a prototype" >&5
++echo "$as_me:14510: checking if mkstemp needs a prototype" >&5
+ echo $ECHO_N "checking if mkstemp needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_mkstemp_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 14250 "configure"
++#line 14516 "configure"
+ #include "confdefs.h"
+ #include <unistd.h>
+ int
+@@ -14262,16 +14528,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:14265: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:14531: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:14268: \$? = $ac_status" >&5
++  echo "$as_me:14534: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:14271: \"$ac_try\"") >&5
++  { (eval echo "$as_me:14537: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:14274: \$? = $ac_status" >&5
++  echo "$as_me:14540: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_func_mkstemp_noproto=yes"
+ else
+@@ -14281,7 +14547,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:14284: result: $ac_cv_func_mkstemp_noproto" >&5
++echo "$as_me:14550: result: $ac_cv_func_mkstemp_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_mkstemp_noproto" >&6
+ 
+ if test "$ac_cv_func_mkstemp_noproto" = yes; then
+@@ -14295,13 +14561,13 @@
+ fi
+ 
+ if test "$ac_cv_func_getusershell+set" != set -o "$ac_cv_func_getusershell" = yes; then
+-echo "$as_me:14298: checking if getusershell needs a prototype" >&5
++echo "$as_me:14564: checking if getusershell needs a prototype" >&5
+ echo $ECHO_N "checking if getusershell needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_getusershell_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 14304 "configure"
++#line 14570 "configure"
+ #include "confdefs.h"
+ #include <unistd.h>
+ int
+@@ -14316,16 +14582,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:14319: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:14585: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:14322: \$? = $ac_status" >&5
++  echo "$as_me:14588: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:14325: \"$ac_try\"") >&5
++  { (eval echo "$as_me:14591: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:14328: \$? = $ac_status" >&5
++  echo "$as_me:14594: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_func_getusershell_noproto=yes"
+ else
+@@ -14335,7 +14601,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:14338: result: $ac_cv_func_getusershell_noproto" >&5
++echo "$as_me:14604: result: $ac_cv_func_getusershell_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_getusershell_noproto" >&6
+ 
+ if test "$ac_cv_func_getusershell_noproto" = yes; then
+@@ -14349,13 +14615,13 @@
+ fi
+ 
+ if test "$ac_cv_func_inet_aton+set" != set -o "$ac_cv_func_inet_aton" = yes; then
+-echo "$as_me:14352: checking if inet_aton needs a prototype" >&5
++echo "$as_me:14618: checking if inet_aton needs a prototype" >&5
+ echo $ECHO_N "checking if inet_aton needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_inet_aton_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 14358 "configure"
++#line 14624 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_SYS_TYPES_H
+@@ -14382,16 +14648,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:14385: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:14651: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:14388: \$? = $ac_status" >&5
++  echo "$as_me:14654: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:14391: \"$ac_try\"") >&5
++  { (eval echo "$as_me:14657: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:14394: \$? = $ac_status" >&5
++  echo "$as_me:14660: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_func_inet_aton_noproto=yes"
+ else
+@@ -14401,7 +14667,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:14404: result: $ac_cv_func_inet_aton_noproto" >&5
++echo "$as_me:14670: result: $ac_cv_func_inet_aton_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_inet_aton_noproto" >&6
+ 
+ if test "$ac_cv_func_inet_aton_noproto" = yes; then
+@@ -14414,7 +14680,7 @@
+ 
+ fi
+ 
+-echo "$as_me:14417: checking for crypt" >&5
++echo "$as_me:14683: checking for crypt" >&5
+ echo $ECHO_N "checking for crypt... $ECHO_C" >&6
+ if test "${ac_cv_funclib_crypt+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -14432,7 +14698,7 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 14435 "configure"
++#line 14701 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -14444,16 +14710,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:14447: \"$ac_link\"") >&5
++if { (eval echo "$as_me:14713: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:14450: \$? = $ac_status" >&5
++  echo "$as_me:14716: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:14453: \"$ac_try\"") >&5
++  { (eval echo "$as_me:14719: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:14456: \$? = $ac_status" >&5
++  echo "$as_me:14722: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_crypt=$ac_lib; else ac_cv_funclib_crypt=yes; fi";break
+ else
+@@ -14475,13 +14741,13 @@
+ for ac_func in crypt
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:14478: checking for $ac_func" >&5
++echo "$as_me:14744: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 14484 "configure"
++#line 14750 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -14512,16 +14778,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:14515: \"$ac_link\"") >&5
++if { (eval echo "$as_me:14781: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:14518: \$? = $ac_status" >&5
++  echo "$as_me:14784: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:14521: \"$ac_try\"") >&5
++  { (eval echo "$as_me:14787: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:14524: \$? = $ac_status" >&5
++  echo "$as_me:14790: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -14531,7 +14797,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:14534: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:14800: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -14555,13 +14821,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:14558: result: yes" >&5
++	echo "$as_me:14824: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_crypt=no"
+ 	eval "LIB_crypt="
+-	echo "$as_me:14564: result: no" >&5
++	echo "$as_me:14830: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -14575,18 +14841,18 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:14578: result: yes, in $ac_res" >&5
++	echo "$as_me:14844: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "$as_me:14583: checking if gethostbyname is compatible with system prototype" >&5
++echo "$as_me:14849: checking if gethostbyname is compatible with system prototype" >&5
+ echo $ECHO_N "checking if gethostbyname is compatible with system prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_gethostbyname_proto_compat+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 14589 "configure"
++#line 14855 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_SYS_TYPES_H
+@@ -14614,16 +14880,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:14617: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:14883: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:14620: \$? = $ac_status" >&5
++  echo "$as_me:14886: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:14623: \"$ac_try\"") >&5
++  { (eval echo "$as_me:14889: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:14626: \$? = $ac_status" >&5
++  echo "$as_me:14892: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_func_gethostbyname_proto_compat=yes"
+ else
+@@ -14633,7 +14899,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:14636: result: $ac_cv_func_gethostbyname_proto_compat" >&5
++echo "$as_me:14902: result: $ac_cv_func_gethostbyname_proto_compat" >&5
+ echo "${ECHO_T}$ac_cv_func_gethostbyname_proto_compat" >&6
+ 
+ if test "$ac_cv_func_gethostbyname_proto_compat" = yes; then
+@@ -14644,13 +14910,13 @@
+ 
+ fi
+ 
+-echo "$as_me:14647: checking if gethostbyaddr is compatible with system prototype" >&5
++echo "$as_me:14913: checking if gethostbyaddr is compatible with system prototype" >&5
+ echo $ECHO_N "checking if gethostbyaddr is compatible with system prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_gethostbyaddr_proto_compat+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 14653 "configure"
++#line 14919 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_SYS_TYPES_H
+@@ -14678,16 +14944,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:14681: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:14947: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:14684: \$? = $ac_status" >&5
++  echo "$as_me:14950: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:14687: \"$ac_try\"") >&5
++  { (eval echo "$as_me:14953: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:14690: \$? = $ac_status" >&5
++  echo "$as_me:14956: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_func_gethostbyaddr_proto_compat=yes"
+ else
+@@ -14697,7 +14963,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:14700: result: $ac_cv_func_gethostbyaddr_proto_compat" >&5
++echo "$as_me:14966: result: $ac_cv_func_gethostbyaddr_proto_compat" >&5
+ echo "${ECHO_T}$ac_cv_func_gethostbyaddr_proto_compat" >&6
+ 
+ if test "$ac_cv_func_gethostbyaddr_proto_compat" = yes; then
+@@ -14708,13 +14974,13 @@
+ 
+ fi
+ 
+-echo "$as_me:14711: checking if getservbyname is compatible with system prototype" >&5
++echo "$as_me:14977: checking if getservbyname is compatible with system prototype" >&5
+ echo $ECHO_N "checking if getservbyname is compatible with system prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_getservbyname_proto_compat+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 14717 "configure"
++#line 14983 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_SYS_TYPES_H
+@@ -14742,16 +15008,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:14745: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:15011: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:14748: \$? = $ac_status" >&5
++  echo "$as_me:15014: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:14751: \"$ac_try\"") >&5
++  { (eval echo "$as_me:15017: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:14754: \$? = $ac_status" >&5
++  echo "$as_me:15020: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_func_getservbyname_proto_compat=yes"
+ else
+@@ -14761,7 +15027,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:14764: result: $ac_cv_func_getservbyname_proto_compat" >&5
++echo "$as_me:15030: result: $ac_cv_func_getservbyname_proto_compat" >&5
+ echo "${ECHO_T}$ac_cv_func_getservbyname_proto_compat" >&6
+ 
+ if test "$ac_cv_func_getservbyname_proto_compat" = yes; then
+@@ -14772,13 +15038,13 @@
+ 
+ fi
+ 
+-echo "$as_me:14775: checking if getsockname is compatible with system prototype" >&5
++echo "$as_me:15041: checking if getsockname is compatible with system prototype" >&5
+ echo $ECHO_N "checking if getsockname is compatible with system prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_getsockname_proto_compat+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 14781 "configure"
++#line 15047 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_SYS_TYPES_H
+@@ -14797,16 +15063,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:14800: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:15066: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:14803: \$? = $ac_status" >&5
++  echo "$as_me:15069: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:14806: \"$ac_try\"") >&5
++  { (eval echo "$as_me:15072: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:14809: \$? = $ac_status" >&5
++  echo "$as_me:15075: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_func_getsockname_proto_compat=yes"
+ else
+@@ -14816,7 +15082,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:14819: result: $ac_cv_func_getsockname_proto_compat" >&5
++echo "$as_me:15085: result: $ac_cv_func_getsockname_proto_compat" >&5
+ echo "${ECHO_T}$ac_cv_func_getsockname_proto_compat" >&6
+ 
+ if test "$ac_cv_func_getsockname_proto_compat" = yes; then
+@@ -14827,13 +15093,13 @@
+ 
+ fi
+ 
+-echo "$as_me:14830: checking if openlog is compatible with system prototype" >&5
++echo "$as_me:15096: checking if openlog is compatible with system prototype" >&5
+ echo $ECHO_N "checking if openlog is compatible with system prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_openlog_proto_compat+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 14836 "configure"
++#line 15102 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_SYSLOG_H
+@@ -14849,16 +15115,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:14852: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:15118: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:14855: \$? = $ac_status" >&5
++  echo "$as_me:15121: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:14858: \"$ac_try\"") >&5
++  { (eval echo "$as_me:15124: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:14861: \$? = $ac_status" >&5
++  echo "$as_me:15127: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_func_openlog_proto_compat=yes"
+ else
+@@ -14868,7 +15134,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:14871: result: $ac_cv_func_openlog_proto_compat" >&5
++echo "$as_me:15137: result: $ac_cv_func_openlog_proto_compat" >&5
+ echo "${ECHO_T}$ac_cv_func_openlog_proto_compat" >&6
+ 
+ if test "$ac_cv_func_openlog_proto_compat" = yes; then
+@@ -14880,13 +15146,13 @@
+ fi
+ 
+ if test "$ac_cv_func_crypt+set" != set -o "$ac_cv_func_crypt" = yes; then
+-echo "$as_me:14883: checking if crypt needs a prototype" >&5
++echo "$as_me:15149: checking if crypt needs a prototype" >&5
+ echo $ECHO_N "checking if crypt needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_crypt_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 14889 "configure"
++#line 15155 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_CRYPT_H
+@@ -14908,16 +15174,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:14911: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:15177: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:14914: \$? = $ac_status" >&5
++  echo "$as_me:15180: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:14917: \"$ac_try\"") >&5
++  { (eval echo "$as_me:15183: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:14920: \$? = $ac_status" >&5
++  echo "$as_me:15186: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_func_crypt_noproto=yes"
+ else
+@@ -14927,7 +15193,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:14930: result: $ac_cv_func_crypt_noproto" >&5
++echo "$as_me:15196: result: $ac_cv_func_crypt_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_crypt_noproto" >&6
+ 
+ if test "$ac_cv_func_crypt_noproto" = yes; then
+@@ -14941,13 +15207,13 @@
+ fi
+ 
+ if test "$ac_cv_func_strtok_r+set" != set -o "$ac_cv_func_strtok_r" = yes; then
+-echo "$as_me:14944: checking if strtok_r needs a prototype" >&5
++echo "$as_me:15210: checking if strtok_r needs a prototype" >&5
+ echo $ECHO_N "checking if strtok_r needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_strtok_r_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 14950 "configure"
++#line 15216 "configure"
+ #include "confdefs.h"
+ 
+ #include <string.h>
+@@ -14964,16 +15230,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:14967: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:15233: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:14970: \$? = $ac_status" >&5
++  echo "$as_me:15236: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:14973: \"$ac_try\"") >&5
++  { (eval echo "$as_me:15239: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:14976: \$? = $ac_status" >&5
++  echo "$as_me:15242: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_func_strtok_r_noproto=yes"
+ else
+@@ -14983,7 +15249,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:14986: result: $ac_cv_func_strtok_r_noproto" >&5
++echo "$as_me:15252: result: $ac_cv_func_strtok_r_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_strtok_r_noproto" >&6
+ 
+ if test "$ac_cv_func_strtok_r_noproto" = yes; then
+@@ -14997,13 +15263,13 @@
+ fi
+ 
+ if test "$ac_cv_func_strsep+set" != set -o "$ac_cv_func_strsep" = yes; then
+-echo "$as_me:15000: checking if strsep needs a prototype" >&5
++echo "$as_me:15266: checking if strsep needs a prototype" >&5
+ echo $ECHO_N "checking if strsep needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_strsep_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 15006 "configure"
++#line 15272 "configure"
+ #include "confdefs.h"
+ 
+ #include <string.h>
+@@ -15020,16 +15286,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:15023: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:15289: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:15026: \$? = $ac_status" >&5
++  echo "$as_me:15292: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:15029: \"$ac_try\"") >&5
++  { (eval echo "$as_me:15295: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:15032: \$? = $ac_status" >&5
++  echo "$as_me:15298: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_func_strsep_noproto=yes"
+ else
+@@ -15039,7 +15305,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:15042: result: $ac_cv_func_strsep_noproto" >&5
++echo "$as_me:15308: result: $ac_cv_func_strsep_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_strsep_noproto" >&6
+ 
+ if test "$ac_cv_func_strsep_noproto" = yes; then
+@@ -15052,14 +15318,14 @@
+ 
+ fi
+ 
+-echo "$as_me:15055: checking for h_errno" >&5
++echo "$as_me:15321: checking for h_errno" >&5
+ echo $ECHO_N "checking for h_errno... $ECHO_C" >&6
+ if test "${ac_cv_var_h_errno+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 15062 "configure"
++#line 15328 "configure"
+ #include "confdefs.h"
+ extern int h_errno;
+ int foo() { return h_errno; }
+@@ -15072,16 +15338,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:15075: \"$ac_link\"") >&5
++if { (eval echo "$as_me:15341: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:15078: \$? = $ac_status" >&5
++  echo "$as_me:15344: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:15081: \"$ac_try\"") >&5
++  { (eval echo "$as_me:15347: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:15084: \$? = $ac_status" >&5
++  echo "$as_me:15350: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_var_h_errno=yes
+ else
+@@ -15094,7 +15360,7 @@
+ fi
+ 
+ ac_foo=`eval echo \\$ac_cv_var_h_errno`
+-echo "$as_me:15097: result: $ac_foo" >&5
++echo "$as_me:15363: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+ 
+@@ -15102,14 +15368,14 @@
+ #define HAVE_H_ERRNO 1
+ EOF
+ 
+-echo "$as_me:15105: checking if h_errno is properly declared" >&5
++echo "$as_me:15371: checking if h_errno is properly declared" >&5
+ echo $ECHO_N "checking if h_errno is properly declared... $ECHO_C" >&6
+ if test "${ac_cv_var_h_errno_declaration+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 15112 "configure"
++#line 15378 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_SYS_TYPES_H
+ #include <sys/types.h>
+@@ -15127,16 +15393,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:15130: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:15396: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:15133: \$? = $ac_status" >&5
++  echo "$as_me:15399: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:15136: \"$ac_try\"") >&5
++  { (eval echo "$as_me:15402: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:15139: \$? = $ac_status" >&5
++  echo "$as_me:15405: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_var_h_errno_declaration=no"
+ else
+@@ -15148,7 +15414,7 @@
+ 
+ fi
+ 
+-echo "$as_me:15151: result: $ac_cv_var_h_errno_declaration" >&5
++echo "$as_me:15417: result: $ac_cv_var_h_errno_declaration" >&5
+ echo "${ECHO_T}$ac_cv_var_h_errno_declaration" >&6
+ if eval "test \"\$ac_cv_var_h_errno_declaration\" = yes"; then
+ 
+@@ -15160,14 +15426,14 @@
+ 
+ fi
+ 
+-echo "$as_me:15163: checking for h_errlist" >&5
++echo "$as_me:15429: checking for h_errlist" >&5
+ echo $ECHO_N "checking for h_errlist... $ECHO_C" >&6
+ if test "${ac_cv_var_h_errlist+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 15170 "configure"
++#line 15436 "configure"
+ #include "confdefs.h"
+ extern int h_errlist;
+ int foo() { return h_errlist; }
+@@ -15180,16 +15446,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:15183: \"$ac_link\"") >&5
++if { (eval echo "$as_me:15449: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:15186: \$? = $ac_status" >&5
++  echo "$as_me:15452: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:15189: \"$ac_try\"") >&5
++  { (eval echo "$as_me:15455: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:15192: \$? = $ac_status" >&5
++  echo "$as_me:15458: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_var_h_errlist=yes
+ else
+@@ -15202,7 +15468,7 @@
+ fi
+ 
+ ac_foo=`eval echo \\$ac_cv_var_h_errlist`
+-echo "$as_me:15205: result: $ac_foo" >&5
++echo "$as_me:15471: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+ 
+@@ -15210,14 +15476,14 @@
+ #define HAVE_H_ERRLIST 1
+ EOF
+ 
+-echo "$as_me:15213: checking if h_errlist is properly declared" >&5
++echo "$as_me:15479: checking if h_errlist is properly declared" >&5
+ echo $ECHO_N "checking if h_errlist is properly declared... $ECHO_C" >&6
+ if test "${ac_cv_var_h_errlist_declaration+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 15220 "configure"
++#line 15486 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_NETDB_H
+ #include <netdb.h>
+@@ -15232,16 +15498,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:15235: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:15501: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:15238: \$? = $ac_status" >&5
++  echo "$as_me:15504: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:15241: \"$ac_try\"") >&5
++  { (eval echo "$as_me:15507: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:15244: \$? = $ac_status" >&5
++  echo "$as_me:15510: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_var_h_errlist_declaration=no"
+ else
+@@ -15253,7 +15519,7 @@
+ 
+ fi
+ 
+-echo "$as_me:15256: result: $ac_cv_var_h_errlist_declaration" >&5
++echo "$as_me:15522: result: $ac_cv_var_h_errlist_declaration" >&5
+ echo "${ECHO_T}$ac_cv_var_h_errlist_declaration" >&6
+ if eval "test \"\$ac_cv_var_h_errlist_declaration\" = yes"; then
+ 
+@@ -15265,14 +15531,14 @@
+ 
+ fi
+ 
+-echo "$as_me:15268: checking for h_nerr" >&5
++echo "$as_me:15534: checking for h_nerr" >&5
+ echo $ECHO_N "checking for h_nerr... $ECHO_C" >&6
+ if test "${ac_cv_var_h_nerr+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 15275 "configure"
++#line 15541 "configure"
+ #include "confdefs.h"
+ extern int h_nerr;
+ int foo() { return h_nerr; }
+@@ -15285,16 +15551,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:15288: \"$ac_link\"") >&5
++if { (eval echo "$as_me:15554: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:15291: \$? = $ac_status" >&5
++  echo "$as_me:15557: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:15294: \"$ac_try\"") >&5
++  { (eval echo "$as_me:15560: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:15297: \$? = $ac_status" >&5
++  echo "$as_me:15563: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_var_h_nerr=yes
+ else
+@@ -15307,7 +15573,7 @@
+ fi
+ 
+ ac_foo=`eval echo \\$ac_cv_var_h_nerr`
+-echo "$as_me:15310: result: $ac_foo" >&5
++echo "$as_me:15576: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+ 
+@@ -15315,14 +15581,14 @@
+ #define HAVE_H_NERR 1
+ EOF
+ 
+-echo "$as_me:15318: checking if h_nerr is properly declared" >&5
++echo "$as_me:15584: checking if h_nerr is properly declared" >&5
+ echo $ECHO_N "checking if h_nerr is properly declared... $ECHO_C" >&6
+ if test "${ac_cv_var_h_nerr_declaration+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 15325 "configure"
++#line 15591 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_NETDB_H
+ #include <netdb.h>
+@@ -15337,16 +15603,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:15340: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:15606: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:15343: \$? = $ac_status" >&5
++  echo "$as_me:15609: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:15346: \"$ac_try\"") >&5
++  { (eval echo "$as_me:15612: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:15349: \$? = $ac_status" >&5
++  echo "$as_me:15615: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_var_h_nerr_declaration=no"
+ else
+@@ -15358,7 +15624,7 @@
+ 
+ fi
+ 
+-echo "$as_me:15361: result: $ac_cv_var_h_nerr_declaration" >&5
++echo "$as_me:15627: result: $ac_cv_var_h_nerr_declaration" >&5
+ echo "${ECHO_T}$ac_cv_var_h_nerr_declaration" >&6
+ if eval "test \"\$ac_cv_var_h_nerr_declaration\" = yes"; then
+ 
+@@ -15370,14 +15636,14 @@
+ 
+ fi
+ 
+-echo "$as_me:15373: checking for __progname" >&5
++echo "$as_me:15639: checking for __progname" >&5
+ echo $ECHO_N "checking for __progname... $ECHO_C" >&6
+ if test "${ac_cv_var___progname+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 15380 "configure"
++#line 15646 "configure"
+ #include "confdefs.h"
+ extern int __progname;
+ int foo() { return __progname; }
+@@ -15390,16 +15656,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:15393: \"$ac_link\"") >&5
++if { (eval echo "$as_me:15659: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:15396: \$? = $ac_status" >&5
++  echo "$as_me:15662: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:15399: \"$ac_try\"") >&5
++  { (eval echo "$as_me:15665: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:15402: \$? = $ac_status" >&5
++  echo "$as_me:15668: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_var___progname=yes
+ else
+@@ -15412,7 +15678,7 @@
+ fi
+ 
+ ac_foo=`eval echo \\$ac_cv_var___progname`
+-echo "$as_me:15415: result: $ac_foo" >&5
++echo "$as_me:15681: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+ 
+@@ -15420,14 +15686,14 @@
+ #define HAVE___PROGNAME 1
+ EOF
+ 
+-echo "$as_me:15423: checking if __progname is properly declared" >&5
++echo "$as_me:15689: checking if __progname is properly declared" >&5
+ echo $ECHO_N "checking if __progname is properly declared... $ECHO_C" >&6
+ if test "${ac_cv_var___progname_declaration+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 15430 "configure"
++#line 15696 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_ERR_H
+ #include <err.h>
+@@ -15442,16 +15708,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:15445: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:15711: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:15448: \$? = $ac_status" >&5
++  echo "$as_me:15714: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:15451: \"$ac_try\"") >&5
++  { (eval echo "$as_me:15717: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:15454: \$? = $ac_status" >&5
++  echo "$as_me:15720: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_var___progname_declaration=no"
+ else
+@@ -15463,7 +15729,7 @@
+ 
+ fi
+ 
+-echo "$as_me:15466: result: $ac_cv_var___progname_declaration" >&5
++echo "$as_me:15732: result: $ac_cv_var___progname_declaration" >&5
+ echo "${ECHO_T}$ac_cv_var___progname_declaration" >&6
+ if eval "test \"\$ac_cv_var___progname_declaration\" = yes"; then
+ 
+@@ -15475,14 +15741,14 @@
+ 
+ fi
+ 
+-echo "$as_me:15478: checking if optarg is properly declared" >&5
++echo "$as_me:15744: checking if optarg is properly declared" >&5
+ echo $ECHO_N "checking if optarg is properly declared... $ECHO_C" >&6
+ if test "${ac_cv_var_optarg_declaration+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 15485 "configure"
++#line 15751 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ #ifdef HAVE_UNISTD_H
+@@ -15498,16 +15764,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:15501: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:15767: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:15504: \$? = $ac_status" >&5
++  echo "$as_me:15770: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:15507: \"$ac_try\"") >&5
++  { (eval echo "$as_me:15773: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:15510: \$? = $ac_status" >&5
++  echo "$as_me:15776: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_var_optarg_declaration=no"
+ else
+@@ -15519,7 +15785,7 @@
+ 
+ fi
+ 
+-echo "$as_me:15522: result: $ac_cv_var_optarg_declaration" >&5
++echo "$as_me:15788: result: $ac_cv_var_optarg_declaration" >&5
+ echo "${ECHO_T}$ac_cv_var_optarg_declaration" >&6
+ if eval "test \"\$ac_cv_var_optarg_declaration\" = yes"; then
+ 
+@@ -15529,14 +15795,14 @@
+ 
+ fi
+ 
+-echo "$as_me:15532: checking if optind is properly declared" >&5
++echo "$as_me:15798: checking if optind is properly declared" >&5
+ echo $ECHO_N "checking if optind is properly declared... $ECHO_C" >&6
+ if test "${ac_cv_var_optind_declaration+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 15539 "configure"
++#line 15805 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ #ifdef HAVE_UNISTD_H
+@@ -15552,16 +15818,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:15555: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:15821: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:15558: \$? = $ac_status" >&5
++  echo "$as_me:15824: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:15561: \"$ac_try\"") >&5
++  { (eval echo "$as_me:15827: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:15564: \$? = $ac_status" >&5
++  echo "$as_me:15830: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_var_optind_declaration=no"
+ else
+@@ -15573,7 +15839,7 @@
+ 
+ fi
+ 
+-echo "$as_me:15576: result: $ac_cv_var_optind_declaration" >&5
++echo "$as_me:15842: result: $ac_cv_var_optind_declaration" >&5
+ echo "${ECHO_T}$ac_cv_var_optind_declaration" >&6
+ if eval "test \"\$ac_cv_var_optind_declaration\" = yes"; then
+ 
+@@ -15583,14 +15849,14 @@
+ 
+ fi
+ 
+-echo "$as_me:15586: checking if opterr is properly declared" >&5
++echo "$as_me:15852: checking if opterr is properly declared" >&5
+ echo $ECHO_N "checking if opterr is properly declared... $ECHO_C" >&6
+ if test "${ac_cv_var_opterr_declaration+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 15593 "configure"
++#line 15859 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ #ifdef HAVE_UNISTD_H
+@@ -15606,16 +15872,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:15609: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:15875: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:15612: \$? = $ac_status" >&5
++  echo "$as_me:15878: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:15615: \"$ac_try\"") >&5
++  { (eval echo "$as_me:15881: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:15618: \$? = $ac_status" >&5
++  echo "$as_me:15884: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_var_opterr_declaration=no"
+ else
+@@ -15627,7 +15893,7 @@
+ 
+ fi
+ 
+-echo "$as_me:15630: result: $ac_cv_var_opterr_declaration" >&5
++echo "$as_me:15896: result: $ac_cv_var_opterr_declaration" >&5
+ echo "${ECHO_T}$ac_cv_var_opterr_declaration" >&6
+ if eval "test \"\$ac_cv_var_opterr_declaration\" = yes"; then
+ 
+@@ -15637,14 +15903,14 @@
+ 
+ fi
+ 
+-echo "$as_me:15640: checking if optopt is properly declared" >&5
++echo "$as_me:15906: checking if optopt is properly declared" >&5
+ echo $ECHO_N "checking if optopt is properly declared... $ECHO_C" >&6
+ if test "${ac_cv_var_optopt_declaration+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 15647 "configure"
++#line 15913 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ #ifdef HAVE_UNISTD_H
+@@ -15660,16 +15926,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:15663: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:15929: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:15666: \$? = $ac_status" >&5
++  echo "$as_me:15932: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:15669: \"$ac_try\"") >&5
++  { (eval echo "$as_me:15935: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:15672: \$? = $ac_status" >&5
++  echo "$as_me:15938: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_var_optopt_declaration=no"
+ else
+@@ -15681,7 +15947,7 @@
+ 
+ fi
+ 
+-echo "$as_me:15684: result: $ac_cv_var_optopt_declaration" >&5
++echo "$as_me:15950: result: $ac_cv_var_optopt_declaration" >&5
+ echo "${ECHO_T}$ac_cv_var_optopt_declaration" >&6
+ if eval "test \"\$ac_cv_var_optopt_declaration\" = yes"; then
+ 
+@@ -15691,14 +15957,14 @@
+ 
+ fi
+ 
+-echo "$as_me:15694: checking if environ is properly declared" >&5
++echo "$as_me:15960: checking if environ is properly declared" >&5
+ echo $ECHO_N "checking if environ is properly declared... $ECHO_C" >&6
+ if test "${ac_cv_var_environ_declaration+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 15701 "configure"
++#line 15967 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ extern struct { int foo; } environ;
+@@ -15711,16 +15977,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:15714: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:15980: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:15717: \$? = $ac_status" >&5
++  echo "$as_me:15983: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:15720: \"$ac_try\"") >&5
++  { (eval echo "$as_me:15986: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:15723: \$? = $ac_status" >&5
++  echo "$as_me:15989: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_var_environ_declaration=no"
+ else
+@@ -15732,7 +15998,7 @@
+ 
+ fi
+ 
+-echo "$as_me:15735: result: $ac_cv_var_environ_declaration" >&5
++echo "$as_me:16001: result: $ac_cv_var_environ_declaration" >&5
+ echo "${ECHO_T}$ac_cv_var_environ_declaration" >&6
+ if eval "test \"\$ac_cv_var_environ_declaration\" = yes"; then
+ 
+@@ -15742,14 +16008,14 @@
+ 
+ fi
+ 
+-echo "$as_me:15745: checking for tm_gmtoff in struct tm" >&5
++echo "$as_me:16011: checking for tm_gmtoff in struct tm" >&5
+ echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_tm_tm_gmtoff+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 15752 "configure"
++#line 16018 "configure"
+ #include "confdefs.h"
+ #include <time.h>
+ int
+@@ -15761,16 +16027,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:15764: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:16030: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:15767: \$? = $ac_status" >&5
++  echo "$as_me:16033: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:15770: \"$ac_try\"") >&5
++  { (eval echo "$as_me:16036: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:15773: \$? = $ac_status" >&5
++  echo "$as_me:16039: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_type_struct_tm_tm_gmtoff=yes
+ else
+@@ -15780,7 +16046,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:15783: result: $ac_cv_type_struct_tm_tm_gmtoff" >&5
++echo "$as_me:16049: result: $ac_cv_type_struct_tm_tm_gmtoff" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_tm_tm_gmtoff" >&6
+ if test "$ac_cv_type_struct_tm_tm_gmtoff" = yes; then
+ 
+@@ -15790,14 +16056,14 @@
+ 
+ fi
+ 
+-echo "$as_me:15793: checking for tm_zone in struct tm" >&5
++echo "$as_me:16059: checking for tm_zone in struct tm" >&5
+ echo $ECHO_N "checking for tm_zone in struct tm... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_tm_tm_zone+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 15800 "configure"
++#line 16066 "configure"
+ #include "confdefs.h"
+ #include <time.h>
+ int
+@@ -15809,16 +16075,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:15812: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:16078: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:15815: \$? = $ac_status" >&5
++  echo "$as_me:16081: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:15818: \"$ac_try\"") >&5
++  { (eval echo "$as_me:16084: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:15821: \$? = $ac_status" >&5
++  echo "$as_me:16087: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_type_struct_tm_tm_zone=yes
+ else
+@@ -15828,7 +16094,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:15831: result: $ac_cv_type_struct_tm_tm_zone" >&5
++echo "$as_me:16097: result: $ac_cv_type_struct_tm_tm_zone" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_tm_tm_zone" >&6
+ if test "$ac_cv_type_struct_tm_tm_zone" = yes; then
+ 
+@@ -15838,14 +16104,14 @@
+ 
+ fi
+ 
+-echo "$as_me:15841: checking for timezone" >&5
++echo "$as_me:16107: checking for timezone" >&5
+ echo $ECHO_N "checking for timezone... $ECHO_C" >&6
+ if test "${ac_cv_var_timezone+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 15848 "configure"
++#line 16114 "configure"
+ #include "confdefs.h"
+ extern int timezone;
+ int foo() { return timezone; }
+@@ -15858,16 +16124,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:15861: \"$ac_link\"") >&5
++if { (eval echo "$as_me:16127: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:15864: \$? = $ac_status" >&5
++  echo "$as_me:16130: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:15867: \"$ac_try\"") >&5
++  { (eval echo "$as_me:16133: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:15870: \$? = $ac_status" >&5
++  echo "$as_me:16136: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_var_timezone=yes
+ else
+@@ -15880,7 +16146,7 @@
+ fi
+ 
+ ac_foo=`eval echo \\$ac_cv_var_timezone`
+-echo "$as_me:15883: result: $ac_foo" >&5
++echo "$as_me:16149: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+ 
+@@ -15888,14 +16154,14 @@
+ #define HAVE_TIMEZONE 1
+ EOF
+ 
+-echo "$as_me:15891: checking if timezone is properly declared" >&5
++echo "$as_me:16157: checking if timezone is properly declared" >&5
+ echo $ECHO_N "checking if timezone is properly declared... $ECHO_C" >&6
+ if test "${ac_cv_var_timezone_declaration+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 15898 "configure"
++#line 16164 "configure"
+ #include "confdefs.h"
+ #include <time.h>
+ extern struct { int foo; } timezone;
+@@ -15908,16 +16174,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:15911: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:16177: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:15914: \$? = $ac_status" >&5
++  echo "$as_me:16180: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:15917: \"$ac_try\"") >&5
++  { (eval echo "$as_me:16183: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:15920: \$? = $ac_status" >&5
++  echo "$as_me:16186: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_var_timezone_declaration=no"
+ else
+@@ -15929,7 +16195,7 @@
+ 
+ fi
+ 
+-echo "$as_me:15932: result: $ac_cv_var_timezone_declaration" >&5
++echo "$as_me:16198: result: $ac_cv_var_timezone_declaration" >&5
+ echo "${ECHO_T}$ac_cv_var_timezone_declaration" >&6
+ if eval "test \"\$ac_cv_var_timezone_declaration\" = yes"; then
+ 
+@@ -15942,13 +16208,13 @@
+ fi
+ 
+ cv=`echo "sa_family_t" | sed 'y%./+- %__p__%'`
+-echo "$as_me:15945: checking for sa_family_t" >&5
++echo "$as_me:16211: checking for sa_family_t" >&5
+ echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 15951 "configure"
++#line 16217 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -15965,16 +16231,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:15968: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:16234: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:15971: \$? = $ac_status" >&5
++  echo "$as_me:16237: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:15974: \"$ac_try\"") >&5
++  { (eval echo "$as_me:16240: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:15977: \$? = $ac_status" >&5
++  echo "$as_me:16243: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_type_$cv=yes"
+ else
+@@ -15985,18 +16251,18 @@
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:15988: result: $ac_foo" >&5
++echo "$as_me:16254: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo sa_family_t | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:15993: checking for sa_family_t" >&5
++	echo "$as_me:16259: checking for sa_family_t" >&5
+ echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6
+ if test "${ac_cv_type_sa_family_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 15999 "configure"
++#line 16265 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -16011,16 +16277,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:16014: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:16280: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:16017: \$? = $ac_status" >&5
++  echo "$as_me:16283: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:16020: \"$ac_try\"") >&5
++  { (eval echo "$as_me:16286: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:16023: \$? = $ac_status" >&5
++  echo "$as_me:16289: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_type_sa_family_t=yes
+ else
+@@ -16030,7 +16296,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:16033: result: $ac_cv_type_sa_family_t" >&5
++echo "$as_me:16299: result: $ac_cv_type_sa_family_t" >&5
+ echo "${ECHO_T}$ac_cv_type_sa_family_t" >&6
+ if test $ac_cv_type_sa_family_t = yes; then
+ 
+@@ -16049,13 +16315,13 @@
+ fi
+ 
+ cv=`echo "socklen_t" | sed 'y%./+- %__p__%'`
+-echo "$as_me:16052: checking for socklen_t" >&5
++echo "$as_me:16318: checking for socklen_t" >&5
+ echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 16058 "configure"
++#line 16324 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -16072,16 +16338,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:16075: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:16341: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:16078: \$? = $ac_status" >&5
++  echo "$as_me:16344: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:16081: \"$ac_try\"") >&5
++  { (eval echo "$as_me:16347: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:16084: \$? = $ac_status" >&5
++  echo "$as_me:16350: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_type_$cv=yes"
+ else
+@@ -16092,18 +16358,18 @@
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:16095: result: $ac_foo" >&5
++echo "$as_me:16361: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo socklen_t | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:16100: checking for socklen_t" >&5
++	echo "$as_me:16366: checking for socklen_t" >&5
+ echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
+ if test "${ac_cv_type_socklen_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 16106 "configure"
++#line 16372 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -16118,16 +16384,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:16121: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:16387: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:16124: \$? = $ac_status" >&5
++  echo "$as_me:16390: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:16127: \"$ac_try\"") >&5
++  { (eval echo "$as_me:16393: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:16130: \$? = $ac_status" >&5
++  echo "$as_me:16396: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_type_socklen_t=yes
+ else
+@@ -16137,7 +16403,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:16140: result: $ac_cv_type_socklen_t" >&5
++echo "$as_me:16406: result: $ac_cv_type_socklen_t" >&5
+ echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
+ if test $ac_cv_type_socklen_t = yes; then
+ 
+@@ -16156,13 +16422,13 @@
+ fi
+ 
+ cv=`echo "struct sockaddr" | sed 'y%./+- %__p__%'`
+-echo "$as_me:16159: checking for struct sockaddr" >&5
++echo "$as_me:16425: checking for struct sockaddr" >&5
+ echo $ECHO_N "checking for struct sockaddr... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 16165 "configure"
++#line 16431 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -16179,16 +16445,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:16182: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:16448: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:16185: \$? = $ac_status" >&5
++  echo "$as_me:16451: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:16188: \"$ac_try\"") >&5
++  { (eval echo "$as_me:16454: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:16191: \$? = $ac_status" >&5
++  echo "$as_me:16457: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_type_$cv=yes"
+ else
+@@ -16199,18 +16465,18 @@
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:16202: result: $ac_foo" >&5
++echo "$as_me:16468: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo struct sockaddr | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:16207: checking for struct sockaddr" >&5
++	echo "$as_me:16473: checking for struct sockaddr" >&5
+ echo $ECHO_N "checking for struct sockaddr... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_sockaddr+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 16213 "configure"
++#line 16479 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -16225,16 +16491,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:16228: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:16494: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:16231: \$? = $ac_status" >&5
++  echo "$as_me:16497: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:16234: \"$ac_try\"") >&5
++  { (eval echo "$as_me:16500: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:16237: \$? = $ac_status" >&5
++  echo "$as_me:16503: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_type_struct_sockaddr=yes
+ else
+@@ -16244,7 +16510,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:16247: result: $ac_cv_type_struct_sockaddr" >&5
++echo "$as_me:16513: result: $ac_cv_type_struct_sockaddr" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_sockaddr" >&6
+ if test $ac_cv_type_struct_sockaddr = yes; then
+ 
+@@ -16263,13 +16529,13 @@
+ fi
+ 
+ cv=`echo "struct sockaddr_storage" | sed 'y%./+- %__p__%'`
+-echo "$as_me:16266: checking for struct sockaddr_storage" >&5
++echo "$as_me:16532: checking for struct sockaddr_storage" >&5
+ echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 16272 "configure"
++#line 16538 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -16286,16 +16552,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:16289: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:16555: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:16292: \$? = $ac_status" >&5
++  echo "$as_me:16558: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:16295: \"$ac_try\"") >&5
++  { (eval echo "$as_me:16561: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:16298: \$? = $ac_status" >&5
++  echo "$as_me:16564: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_type_$cv=yes"
+ else
+@@ -16306,18 +16572,18 @@
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:16309: result: $ac_foo" >&5
++echo "$as_me:16575: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo struct sockaddr_storage | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:16314: checking for struct sockaddr_storage" >&5
++	echo "$as_me:16580: checking for struct sockaddr_storage" >&5
+ echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_sockaddr_storage+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 16320 "configure"
++#line 16586 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -16332,16 +16598,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:16335: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:16601: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:16338: \$? = $ac_status" >&5
++  echo "$as_me:16604: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:16341: \"$ac_try\"") >&5
++  { (eval echo "$as_me:16607: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:16344: \$? = $ac_status" >&5
++  echo "$as_me:16610: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_type_struct_sockaddr_storage=yes
+ else
+@@ -16351,7 +16617,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:16354: result: $ac_cv_type_struct_sockaddr_storage" >&5
++echo "$as_me:16620: result: $ac_cv_type_struct_sockaddr_storage" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_sockaddr_storage" >&6
+ if test $ac_cv_type_struct_sockaddr_storage = yes; then
+ 
+@@ -16370,13 +16636,13 @@
+ fi
+ 
+ cv=`echo "struct addrinfo" | sed 'y%./+- %__p__%'`
+-echo "$as_me:16373: checking for struct addrinfo" >&5
++echo "$as_me:16639: checking for struct addrinfo" >&5
+ echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 16379 "configure"
++#line 16645 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -16393,16 +16659,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:16396: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:16662: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:16399: \$? = $ac_status" >&5
++  echo "$as_me:16665: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:16402: \"$ac_try\"") >&5
++  { (eval echo "$as_me:16668: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:16405: \$? = $ac_status" >&5
++  echo "$as_me:16671: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_type_$cv=yes"
+ else
+@@ -16413,18 +16679,18 @@
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:16416: result: $ac_foo" >&5
++echo "$as_me:16682: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo struct addrinfo | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:16421: checking for struct addrinfo" >&5
++	echo "$as_me:16687: checking for struct addrinfo" >&5
+ echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_addrinfo+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 16427 "configure"
++#line 16693 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -16439,16 +16705,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:16442: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:16708: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:16445: \$? = $ac_status" >&5
++  echo "$as_me:16711: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:16448: \"$ac_try\"") >&5
++  { (eval echo "$as_me:16714: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:16451: \$? = $ac_status" >&5
++  echo "$as_me:16717: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_type_struct_addrinfo=yes
+ else
+@@ -16458,7 +16724,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:16461: result: $ac_cv_type_struct_addrinfo" >&5
++echo "$as_me:16727: result: $ac_cv_type_struct_addrinfo" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_addrinfo" >&6
+ if test $ac_cv_type_struct_addrinfo = yes; then
+ 
+@@ -16477,13 +16743,13 @@
+ fi
+ 
+ cv=`echo "struct ifaddrs" | sed 'y%./+- %__p__%'`
+-echo "$as_me:16480: checking for struct ifaddrs" >&5
++echo "$as_me:16746: checking for struct ifaddrs" >&5
+ echo $ECHO_N "checking for struct ifaddrs... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 16486 "configure"
++#line 16752 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -16500,16 +16766,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:16503: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:16769: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:16506: \$? = $ac_status" >&5
++  echo "$as_me:16772: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:16509: \"$ac_try\"") >&5
++  { (eval echo "$as_me:16775: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:16512: \$? = $ac_status" >&5
++  echo "$as_me:16778: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_type_$cv=yes"
+ else
+@@ -16520,18 +16786,18 @@
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:16523: result: $ac_foo" >&5
++echo "$as_me:16789: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo struct ifaddrs | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:16528: checking for struct ifaddrs" >&5
++	echo "$as_me:16794: checking for struct ifaddrs" >&5
+ echo $ECHO_N "checking for struct ifaddrs... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_ifaddrs+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 16534 "configure"
++#line 16800 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -16546,16 +16812,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:16549: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:16815: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:16552: \$? = $ac_status" >&5
++  echo "$as_me:16818: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:16555: \"$ac_try\"") >&5
++  { (eval echo "$as_me:16821: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:16558: \$? = $ac_status" >&5
++  echo "$as_me:16824: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_type_struct_ifaddrs=yes
+ else
+@@ -16565,7 +16831,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:16568: result: $ac_cv_type_struct_ifaddrs" >&5
++echo "$as_me:16834: result: $ac_cv_type_struct_ifaddrs" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_ifaddrs" >&6
+ if test $ac_cv_type_struct_ifaddrs = yes; then
+ 
+@@ -16583,7 +16849,7 @@
+ 
+ fi
+ 
+-echo "$as_me:16586: checking for struct winsize" >&5
++echo "$as_me:16852: checking for struct winsize" >&5
+ echo $ECHO_N "checking for struct winsize... $ECHO_C" >&6
+ if test "${ac_cv_struct_winsize+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -16592,7 +16858,7 @@
+ ac_cv_struct_winsize=no
+ for i in sys/termios.h sys/ioctl.h; do
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 16595 "configure"
++#line 16861 "configure"
+ #include "confdefs.h"
+ #include <$i>
+ 
+@@ -16613,10 +16879,10 @@
+ EOF
+ 
+ fi
+-echo "$as_me:16616: result: $ac_cv_struct_winsize" >&5
++echo "$as_me:16882: result: $ac_cv_struct_winsize" >&5
+ echo "${ECHO_T}$ac_cv_struct_winsize" >&6
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 16619 "configure"
++#line 16885 "configure"
+ #include "confdefs.h"
+ #include <termios.h>
+ 
+@@ -16632,7 +16898,7 @@
+ rm -f conftest*
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 16635 "configure"
++#line 16901 "configure"
+ #include "confdefs.h"
+ #include <termios.h>
+ 
+@@ -16647,14 +16913,14 @@
+ fi
+ rm -f conftest*
+ 
+-echo "$as_me:16650: checking for struct spwd" >&5
++echo "$as_me:16916: checking for struct spwd" >&5
+ echo $ECHO_N "checking for struct spwd... $ECHO_C" >&6
+ if test "${ac_cv_struct_spwd+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 16657 "configure"
++#line 16923 "configure"
+ #include "confdefs.h"
+ #include <pwd.h>
+ #ifdef HAVE_SHADOW_H
+@@ -16669,16 +16935,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:16672: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:16938: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:16675: \$? = $ac_status" >&5
++  echo "$as_me:16941: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:16678: \"$ac_try\"") >&5
++  { (eval echo "$as_me:16944: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:16681: \$? = $ac_status" >&5
++  echo "$as_me:16947: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_struct_spwd=yes
+ else
+@@ -16690,7 +16956,7 @@
+ 
+ fi
+ 
+-echo "$as_me:16693: result: $ac_cv_struct_spwd" >&5
++echo "$as_me:16959: result: $ac_cv_struct_spwd" >&5
+ echo "${ECHO_T}$ac_cv_struct_spwd" >&6
+ 
+ if test "$ac_cv_struct_spwd" = "yes"; then
+@@ -16715,7 +16981,7 @@
+ if test "${with_openldap_lib+set}" = set; then
+   withval="$with_openldap_lib"
+   if test "$withval" = "yes" -o "$withval" = "no"; then
+-  { { echo "$as_me:16718: error: No argument for --with-openldap-lib" >&5
++  { { echo "$as_me:16984: error: No argument for --with-openldap-lib" >&5
+ echo "$as_me: error: No argument for --with-openldap-lib" >&2;}
+    { (exit 1); exit 1; }; }
+ elif test "X$with_openldap" = "X"; then
+@@ -16727,7 +16993,7 @@
+ if test "${with_openldap_include+set}" = set; then
+   withval="$with_openldap_include"
+   if test "$withval" = "yes" -o "$withval" = "no"; then
+-  { { echo "$as_me:16730: error: No argument for --with-openldap-include" >&5
++  { { echo "$as_me:16996: error: No argument for --with-openldap-include" >&5
+ echo "$as_me: error: No argument for --with-openldap-include" >&2;}
+    { (exit 1); exit 1; }; }
+ elif test "X$with_openldap" = "X"; then
+@@ -16735,7 +17001,7 @@
+ fi
+ fi;
+ 
+-echo "$as_me:16738: checking for openldap" >&5
++echo "$as_me:17004: checking for openldap" >&5
+ echo $ECHO_N "checking for openldap... $ECHO_C" >&6
+ 
+ case "$with_openldap" in
+@@ -16753,7 +17019,7 @@
+ header_dirs=
+ lib_dirs=
+ d=''
+-for i in $d; do
++for i in $d /usr; do
+ 	header_dirs="$header_dirs $i/include"
+ 	lib_dirs="$lib_dirs $i/lib$abilibdirext"
+ done
+@@ -16775,7 +17041,7 @@
+ for i in $header_dirs; do
+ 	CFLAGS="-I$i $save_CFLAGS"
+ 	cat >conftest.$ac_ext <<_ACEOF
+-#line 16778 "configure"
++#line 17044 "configure"
+ #include "confdefs.h"
+ #include <lber.h>
+ #include <ldap.h>
+@@ -16788,16 +17054,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:16791: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:17057: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:16794: \$? = $ac_status" >&5
++  echo "$as_me:17060: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:16797: \"$ac_try\"") >&5
++  { (eval echo "$as_me:17063: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:16800: \$? = $ac_status" >&5
++  echo "$as_me:17066: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ires=$i;break
+ else
+@@ -16809,7 +17075,7 @@
+ for i in $lib_dirs; do
+ 	LIBS="-L$i -lldap -llber  $save_LIBS"
+ 	cat >conftest.$ac_ext <<_ACEOF
+-#line 16812 "configure"
++#line 17078 "configure"
+ #include "confdefs.h"
+ #include <lber.h>
+ #include <ldap.h>
+@@ -16822,16 +17088,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:16825: \"$ac_link\"") >&5
++if { (eval echo "$as_me:17091: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:16828: \$? = $ac_status" >&5
++  echo "$as_me:17094: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:16831: \"$ac_try\"") >&5
++  { (eval echo "$as_me:17097: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:16834: \$? = $ac_status" >&5
++  echo "$as_me:17100: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   lres=$i;break
+ else
+@@ -16846,6 +17112,7 @@
+ if test "$ires" -a "$lres" -a "$with_openldap" != "no"; then
+ 	openldap_includedir="$ires"
+ 	openldap_libdir="$lres"
++	DIR_openldap=
+ 	INCLUDE_openldap="-I$openldap_includedir"
+ 	LIB_openldap="-L$openldap_libdir -lldap -llber"
+ 
+@@ -16854,13 +17121,14 @@
+ EOF
+ 
+ 	with_openldap=yes
+-	echo "$as_me:16857: result: headers $ires, libraries $lres" >&5
++	echo "$as_me:17124: result: headers $ires, libraries $lres" >&5
+ echo "${ECHO_T}headers $ires, libraries $lres" >&6
+ else
++	DIR_openldap=
+ 	INCLUDE_openldap=
+ 	LIB_openldap=
+ 	with_openldap=no
+-	echo "$as_me:16863: result: $with_openldap" >&5
++	echo "$as_me:17131: result: $with_openldap" >&5
+ echo "${ECHO_T}$with_openldap" >&6
+ fi
+ 
+@@ -16878,7 +17146,7 @@
+ if test "${with_krb4_lib+set}" = set; then
+   withval="$with_krb4_lib"
+   if test "$withval" = "yes" -o "$withval" = "no"; then
+-  { { echo "$as_me:16881: error: No argument for --with-krb4-lib" >&5
++  { { echo "$as_me:17149: error: No argument for --with-krb4-lib" >&5
+ echo "$as_me: error: No argument for --with-krb4-lib" >&2;}
+    { (exit 1); exit 1; }; }
+ elif test "X$with_krb4" = "X"; then
+@@ -16890,7 +17158,7 @@
+ if test "${with_krb4_include+set}" = set; then
+   withval="$with_krb4_include"
+   if test "$withval" = "yes" -o "$withval" = "no"; then
+-  { { echo "$as_me:16893: error: No argument for --with-krb4-include" >&5
++  { { echo "$as_me:17161: error: No argument for --with-krb4-include" >&5
+ echo "$as_me: error: No argument for --with-krb4-include" >&2;}
+    { (exit 1); exit 1; }; }
+ elif test "X$with_krb4" = "X"; then
+@@ -16898,7 +17166,7 @@
+ fi
+ fi;
+ 
+-echo "$as_me:16901: checking for krb4" >&5
++echo "$as_me:17169: checking for krb4" >&5
+ echo $ECHO_N "checking for krb4... $ECHO_C" >&6
+ 
+ case "$with_krb4" in
+@@ -16915,8 +17183,8 @@
+ esac
+ header_dirs=
+ lib_dirs=
+-d='/usr/athena'
+-for i in $d; do
++d=''
++for i in $d /usr; do
+ 	header_dirs="$header_dirs $i/include"
+ 	lib_dirs="$lib_dirs $i/lib$abilibdirext"
+ done
+@@ -16938,7 +17206,7 @@
+ for i in $header_dirs; do
+ 	CFLAGS="-I$i $save_CFLAGS"
+ 	cat >conftest.$ac_ext <<_ACEOF
+-#line 16941 "configure"
++#line 17209 "configure"
+ #include "confdefs.h"
+ #include <krb.h>
+ int
+@@ -16950,16 +17218,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:16953: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:17221: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:16956: \$? = $ac_status" >&5
++  echo "$as_me:17224: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:16959: \"$ac_try\"") >&5
++  { (eval echo "$as_me:17227: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:16962: \$? = $ac_status" >&5
++  echo "$as_me:17230: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ires=$i;break
+ else
+@@ -16969,9 +17237,9 @@
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ done
+ for i in $lib_dirs; do
+-	LIBS="-L$i -lkrb -ldes $save_LIBS"
++	LIBS="-L$i -lkrb  $save_LIBS"
+ 	cat >conftest.$ac_ext <<_ACEOF
+-#line 16974 "configure"
++#line 17242 "configure"
+ #include "confdefs.h"
+ #include <krb.h>
+ int
+@@ -16983,16 +17251,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:16986: \"$ac_link\"") >&5
++if { (eval echo "$as_me:17254: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:16989: \$? = $ac_status" >&5
++  echo "$as_me:17257: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:16992: \"$ac_try\"") >&5
++  { (eval echo "$as_me:17260: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:16995: \$? = $ac_status" >&5
++  echo "$as_me:17263: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   lres=$i;break
+ else
+@@ -17007,6 +17275,7 @@
+ if test "$ires" -a "$lres" -a "$with_krb4" != "no"; then
+ 	krb4_includedir="$ires"
+ 	krb4_libdir="$lres"
++	DIR_krb4=
+ 	INCLUDE_krb4="-I$krb4_includedir"
+ 	LIB_krb4="-L$krb4_libdir -lkrb"
+ 
+@@ -17015,31 +17284,36 @@
+ EOF
+ 
+ 	with_krb4=yes
+-	echo "$as_me:17018: result: headers $ires, libraries $lres" >&5
++	echo "$as_me:17287: result: headers $ires, libraries $lres" >&5
+ echo "${ECHO_T}headers $ires, libraries $lres" >&6
+ else
++	DIR_krb4=
+ 	INCLUDE_krb4=
+ 	LIB_krb4=
+ 	with_krb4=no
+-	echo "$as_me:17024: result: $with_krb4" >&5
++	echo "$as_me:17294: result: $with_krb4" >&5
+ echo "${ECHO_T}$with_krb4" >&6
+ fi
+ 
++if test "$krb4_libdir" = "/usr/lib"; then
++  krb4_libdir="";
++fi
++
+ LIB_kdb=
+ if test "$with_krb4" != "no"; then
+ 	save_CFLAGS="$CFLAGS"
+ 	CFLAGS="$CFLAGS $INCLUDE_krb4"
+ 	save_LIBS="$LIBS"
+-	LIBS="$LIB_krb4 -ldes $LIBS"
++	LIBS="$LIB_krb4 $LIBS"
+ 	EXTRA_LIB45=lib45.a
+ 
+-	echo "$as_me:17036: checking for four valued krb_put_int" >&5
++	echo "$as_me:17310: checking for four valued krb_put_int" >&5
+ echo $ECHO_N "checking for four valued krb_put_int... $ECHO_C" >&6
+ if test "${ac_cv_func_krb_put_int_four+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 17042 "configure"
++#line 17316 "configure"
+ #include "confdefs.h"
+ #include <krb.h>
+ int
+@@ -17053,16 +17327,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:17056: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:17330: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:17059: \$? = $ac_status" >&5
++  echo "$as_me:17333: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:17062: \"$ac_try\"") >&5
++  { (eval echo "$as_me:17336: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:17065: \$? = $ac_status" >&5
++  echo "$as_me:17339: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_func_krb_put_int_four=yes
+ else
+@@ -17073,7 +17347,7 @@
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ 
+ fi
+-echo "$as_me:17076: result: $ac_cv_func_krb_put_int_four" >&5
++echo "$as_me:17350: result: $ac_cv_func_krb_put_int_four" >&5
+ echo "${ECHO_T}$ac_cv_func_krb_put_int_four" >&6
+ 	if test "$ac_cv_func_krb_put_int_four" = yes; then
+ 
+@@ -17083,13 +17357,13 @@
+ 
+ 	fi
+ 
+-	echo "$as_me:17086: checking for KRB_VERIFY_SECURE" >&5
++	echo "$as_me:17360: checking for KRB_VERIFY_SECURE" >&5
+ echo $ECHO_N "checking for KRB_VERIFY_SECURE... $ECHO_C" >&6
+ if test "${ac_cv_func_krb_verify_secure+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 17092 "configure"
++#line 17366 "configure"
+ #include "confdefs.h"
+ #include <krb.h>
+ int
+@@ -17102,16 +17376,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:17105: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:17379: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:17108: \$? = $ac_status" >&5
++  echo "$as_me:17382: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:17111: \"$ac_try\"") >&5
++  { (eval echo "$as_me:17385: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:17114: \$? = $ac_status" >&5
++  echo "$as_me:17388: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_func_krb_verify_secure=yes
+ else
+@@ -17122,7 +17396,7 @@
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ 
+ fi
+-echo "$as_me:17125: result: $ac_cv_func_krb_verify_secure" >&5
++echo "$as_me:17399: result: $ac_cv_func_krb_verify_secure" >&5
+ echo "${ECHO_T}$ac_cv_func_krb_verify_secure" >&6
+ 	if test "$ac_cv_func_krb_verify_secure" != yes; then
+ 
+@@ -17135,13 +17409,13 @@
+ EOF
+ 
+ 	fi
+-	echo "$as_me:17138: checking for KRB_VERIFY_NOT_SECURE" >&5
++	echo "$as_me:17412: checking for KRB_VERIFY_NOT_SECURE" >&5
+ echo $ECHO_N "checking for KRB_VERIFY_NOT_SECURE... $ECHO_C" >&6
+ if test "${ac_cv_func_krb_verify_not_secure+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 17144 "configure"
++#line 17418 "configure"
+ #include "confdefs.h"
+ #include <krb.h>
+ int
+@@ -17154,16 +17428,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:17157: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:17431: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:17160: \$? = $ac_status" >&5
++  echo "$as_me:17434: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:17163: \"$ac_try\"") >&5
++  { (eval echo "$as_me:17437: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:17166: \$? = $ac_status" >&5
++  echo "$as_me:17440: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_func_krb_verify_not_secure=yes
+ else
+@@ -17174,7 +17448,7 @@
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ 
+ fi
+-echo "$as_me:17177: result: $ac_cv_func_krb_verify_not_secure" >&5
++echo "$as_me:17451: result: $ac_cv_func_krb_verify_not_secure" >&5
+ echo "${ECHO_T}$ac_cv_func_krb_verify_not_secure" >&6
+ 	if test "$ac_cv_func_krb_verify_not_secure" != yes; then
+ 
+@@ -17184,7 +17458,7 @@
+ 
+ 	fi
+ 
+-echo "$as_me:17187: checking for krb_enable_debug" >&5
++echo "$as_me:17461: checking for krb_enable_debug" >&5
+ echo $ECHO_N "checking for krb_enable_debug... $ECHO_C" >&6
+ if test "${ac_cv_funclib_krb_enable_debug+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -17202,7 +17476,7 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 17205 "configure"
++#line 17479 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -17214,16 +17488,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:17217: \"$ac_link\"") >&5
++if { (eval echo "$as_me:17491: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:17220: \$? = $ac_status" >&5
++  echo "$as_me:17494: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:17223: \"$ac_try\"") >&5
++  { (eval echo "$as_me:17497: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:17226: \$? = $ac_status" >&5
++  echo "$as_me:17500: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_krb_enable_debug=$ac_lib; else ac_cv_funclib_krb_enable_debug=yes; fi";break
+ else
+@@ -17245,13 +17519,13 @@
+ for ac_func in krb_enable_debug
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:17248: checking for $ac_func" >&5
++echo "$as_me:17522: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 17254 "configure"
++#line 17528 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -17282,16 +17556,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:17285: \"$ac_link\"") >&5
++if { (eval echo "$as_me:17559: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:17288: \$? = $ac_status" >&5
++  echo "$as_me:17562: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:17291: \"$ac_try\"") >&5
++  { (eval echo "$as_me:17565: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:17294: \$? = $ac_status" >&5
++  echo "$as_me:17568: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -17301,7 +17575,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:17304: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:17578: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -17325,13 +17599,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:17328: result: yes" >&5
++	echo "$as_me:17602: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_krb_enable_debug=no"
+ 	eval "LIB_krb_enable_debug="
+-	echo "$as_me:17334: result: no" >&5
++	echo "$as_me:17608: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -17345,7 +17619,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:17348: result: yes, in $ac_res" >&5
++	echo "$as_me:17622: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -17354,7 +17628,7 @@
+ 	LIBS="$LIB_krb_enable_debug $LIBS"
+ fi
+ 
+-echo "$as_me:17357: checking for krb_disable_debug" >&5
++echo "$as_me:17631: checking for krb_disable_debug" >&5
+ echo $ECHO_N "checking for krb_disable_debug... $ECHO_C" >&6
+ if test "${ac_cv_funclib_krb_disable_debug+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -17372,7 +17646,7 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 17375 "configure"
++#line 17649 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -17384,16 +17658,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:17387: \"$ac_link\"") >&5
++if { (eval echo "$as_me:17661: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:17390: \$? = $ac_status" >&5
++  echo "$as_me:17664: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:17393: \"$ac_try\"") >&5
++  { (eval echo "$as_me:17667: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:17396: \$? = $ac_status" >&5
++  echo "$as_me:17670: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_krb_disable_debug=$ac_lib; else ac_cv_funclib_krb_disable_debug=yes; fi";break
+ else
+@@ -17415,13 +17689,13 @@
+ for ac_func in krb_disable_debug
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:17418: checking for $ac_func" >&5
++echo "$as_me:17692: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 17424 "configure"
++#line 17698 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -17452,16 +17726,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:17455: \"$ac_link\"") >&5
++if { (eval echo "$as_me:17729: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:17458: \$? = $ac_status" >&5
++  echo "$as_me:17732: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:17461: \"$ac_try\"") >&5
++  { (eval echo "$as_me:17735: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:17464: \$? = $ac_status" >&5
++  echo "$as_me:17738: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -17471,7 +17745,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:17474: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:17748: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -17495,13 +17769,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:17498: result: yes" >&5
++	echo "$as_me:17772: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_krb_disable_debug=no"
+ 	eval "LIB_krb_disable_debug="
+-	echo "$as_me:17504: result: no" >&5
++	echo "$as_me:17778: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -17515,7 +17789,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:17518: result: yes, in $ac_res" >&5
++	echo "$as_me:17792: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -17524,7 +17798,7 @@
+ 	LIBS="$LIB_krb_disable_debug $LIBS"
+ fi
+ 
+-echo "$as_me:17527: checking for krb_get_our_ip_for_realm" >&5
++echo "$as_me:17801: checking for krb_get_our_ip_for_realm" >&5
+ echo $ECHO_N "checking for krb_get_our_ip_for_realm... $ECHO_C" >&6
+ if test "${ac_cv_funclib_krb_get_our_ip_for_realm+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -17542,7 +17816,7 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 17545 "configure"
++#line 17819 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -17554,16 +17828,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:17557: \"$ac_link\"") >&5
++if { (eval echo "$as_me:17831: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:17560: \$? = $ac_status" >&5
++  echo "$as_me:17834: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:17563: \"$ac_try\"") >&5
++  { (eval echo "$as_me:17837: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:17566: \$? = $ac_status" >&5
++  echo "$as_me:17840: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_krb_get_our_ip_for_realm=$ac_lib; else ac_cv_funclib_krb_get_our_ip_for_realm=yes; fi";break
+ else
+@@ -17585,13 +17859,13 @@
+ for ac_func in krb_get_our_ip_for_realm
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:17588: checking for $ac_func" >&5
++echo "$as_me:17862: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 17594 "configure"
++#line 17868 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -17622,16 +17896,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:17625: \"$ac_link\"") >&5
++if { (eval echo "$as_me:17899: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:17628: \$? = $ac_status" >&5
++  echo "$as_me:17902: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:17631: \"$ac_try\"") >&5
++  { (eval echo "$as_me:17905: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:17634: \$? = $ac_status" >&5
++  echo "$as_me:17908: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -17641,7 +17915,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:17644: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:17918: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -17665,13 +17939,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:17668: result: yes" >&5
++	echo "$as_me:17942: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_krb_get_our_ip_for_realm=no"
+ 	eval "LIB_krb_get_our_ip_for_realm="
+-	echo "$as_me:17674: result: no" >&5
++	echo "$as_me:17948: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -17685,7 +17959,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:17688: result: yes, in $ac_res" >&5
++	echo "$as_me:17962: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -17694,13 +17968,13 @@
+ 	LIBS="$LIB_krb_get_our_ip_for_realm $LIBS"
+ fi
+ 
+-	echo "$as_me:17697: checking for krb_mk_req with const arguments" >&5
++	echo "$as_me:17971: checking for krb_mk_req with const arguments" >&5
+ echo $ECHO_N "checking for krb_mk_req with const arguments... $ECHO_C" >&6
+ if test "${ac_cv_func_krb_mk_req_const+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 17703 "configure"
++#line 17977 "configure"
+ #include "confdefs.h"
+ #include <krb.h>
+ 		int krb_mk_req(KTEXT a, const char *s, const char *i,
+@@ -17715,16 +17989,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:17718: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:17992: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:17721: \$? = $ac_status" >&5
++  echo "$as_me:17995: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:17724: \"$ac_try\"") >&5
++  { (eval echo "$as_me:17998: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:17727: \$? = $ac_status" >&5
++  echo "$as_me:18001: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_func_krb_mk_req_const=yes
+ else
+@@ -17735,7 +18009,7 @@
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ 
+ fi
+-echo "$as_me:17738: result: $ac_cv_func_krb_mk_req_const" >&5
++echo "$as_me:18012: result: $ac_cv_func_krb_mk_req_const" >&5
+ echo "${ECHO_T}$ac_cv_func_krb_mk_req_const" >&6
+ 	if test "$ac_cv_func_krb_mk_req_const" = "yes"; then
+ 
+@@ -17748,7 +18022,7 @@
+ 	LIBS="$save_LIBS"
+ 	CFLAGS="$save_CFLAGS"
+ 	LIB_kdb="-lkdb -lkrb"
+-	if test "$krb4_libdir"; then
++	if test "$krb4_libdir" != ""; then
+ 		LIB_krb4="-R $krb4_libdir $LIB_krb4"
+ 		LIB_kdb="-R $krb4_libdir -L$krb4_libdir $LIB_kdb"
+ 	fi
+@@ -17857,7 +18131,7 @@
+ 
+ # Extract the first word of "nroff", so it can be a program name with args.
+ set dummy nroff; ac_word=$2
+-echo "$as_me:17860: checking for $ac_word" >&5
++echo "$as_me:18134: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_path_NROFF+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -17874,7 +18148,7 @@
+   test -z "$ac_dir" && ac_dir=.
+   if $as_executable_p "$ac_dir/$ac_word"; then
+    ac_cv_path_NROFF="$ac_dir/$ac_word"
+-   echo "$as_me:17877: found $ac_dir/$ac_word" >&5
++   echo "$as_me:18151: found $ac_dir/$ac_word" >&5
+    break
+ fi
+ done
+@@ -17885,16 +18159,16 @@
+ NROFF=$ac_cv_path_NROFF
+ 
+ if test -n "$NROFF"; then
+-  echo "$as_me:17888: result: $NROFF" >&5
++  echo "$as_me:18162: result: $NROFF" >&5
+ echo "${ECHO_T}$NROFF" >&6
+ else
+-  echo "$as_me:17891: result: no" >&5
++  echo "$as_me:18165: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+ # Extract the first word of "groff", so it can be a program name with args.
+ set dummy groff; ac_word=$2
+-echo "$as_me:17897: checking for $ac_word" >&5
++echo "$as_me:18171: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_path_GROFF+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -17911,7 +18185,7 @@
+   test -z "$ac_dir" && ac_dir=.
+   if $as_executable_p "$ac_dir/$ac_word"; then
+    ac_cv_path_GROFF="$ac_dir/$ac_word"
+-   echo "$as_me:17914: found $ac_dir/$ac_word" >&5
++   echo "$as_me:18188: found $ac_dir/$ac_word" >&5
+    break
+ fi
+ done
+@@ -17922,14 +18196,14 @@
+ GROFF=$ac_cv_path_GROFF
+ 
+ if test -n "$GROFF"; then
+-  echo "$as_me:17925: result: $GROFF" >&5
++  echo "$as_me:18199: result: $GROFF" >&5
+ echo "${ECHO_T}$GROFF" >&6
+ else
+-  echo "$as_me:17928: result: no" >&5
++  echo "$as_me:18202: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+-echo "$as_me:17932: checking how to format man pages" >&5
++echo "$as_me:18206: checking how to format man pages" >&5
+ echo $ECHO_N "checking how to format man pages... $ECHO_C" >&6
+ if test "${ac_cv_sys_man_format+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -17966,7 +18240,7 @@
+ fi
+ 
+ fi
+-echo "$as_me:17969: result: $ac_cv_sys_man_format" >&5
++echo "$as_me:18243: result: $ac_cv_sys_man_format" >&5
+ echo "${ECHO_T}$ac_cv_sys_man_format" >&6
+ if test "$ac_cv_sys_man_format"; then
+ 	CATMAN="$ac_cv_sys_man_format"
+@@ -17980,7 +18254,7 @@
+   CATMAN_TRUE='#'
+   CATMAN_FALSE=
+ fi
+-echo "$as_me:17983: checking extension of pre-formatted manual pages" >&5
++echo "$as_me:18257: checking extension of pre-formatted manual pages" >&5
+ echo $ECHO_N "checking extension of pre-formatted manual pages... $ECHO_C" >&6
+ if test "${ac_cv_sys_catman_ext+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -17992,7 +18266,7 @@
+ fi
+ 
+ fi
+-echo "$as_me:17995: result: $ac_cv_sys_catman_ext" >&5
++echo "$as_me:18269: result: $ac_cv_sys_catman_ext" >&5
+ echo "${ECHO_T}$ac_cv_sys_catman_ext" >&6
+ if test "$ac_cv_sys_catman_ext" = number; then
+ 	CATMANEXT='$$section'
+@@ -18010,7 +18284,7 @@
+ if test "${with_readline_lib+set}" = set; then
+   withval="$with_readline_lib"
+   if test "$withval" = "yes" -o "$withval" = "no"; then
+-  { { echo "$as_me:18013: error: No argument for --with-readline-lib" >&5
++  { { echo "$as_me:18287: error: No argument for --with-readline-lib" >&5
+ echo "$as_me: error: No argument for --with-readline-lib" >&2;}
+    { (exit 1); exit 1; }; }
+ elif test "X$with_readline" = "X"; then
+@@ -18022,7 +18296,7 @@
+ if test "${with_readline_include+set}" = set; then
+   withval="$with_readline_include"
+   if test "$withval" = "yes" -o "$withval" = "no"; then
+-  { { echo "$as_me:18025: error: No argument for --with-readline-include" >&5
++  { { echo "$as_me:18299: error: No argument for --with-readline-include" >&5
+ echo "$as_me: error: No argument for --with-readline-include" >&2;}
+    { (exit 1); exit 1; }; }
+ elif test "X$with_readline" = "X"; then
+@@ -18030,7 +18304,7 @@
+ fi
+ fi;
+ 
+-echo "$as_me:18033: checking for readline" >&5
++echo "$as_me:18307: checking for readline" >&5
+ echo $ECHO_N "checking for readline... $ECHO_C" >&6
+ 
+ case "$with_readline" in
+@@ -18048,7 +18322,7 @@
+ header_dirs=
+ lib_dirs=
+ d=''
+-for i in $d; do
++for i in $d /usr; do
+ 	header_dirs="$header_dirs $i/include"
+ 	lib_dirs="$lib_dirs $i/lib$abilibdirext"
+ done
+@@ -18070,7 +18344,7 @@
+ for i in $header_dirs; do
+ 	CFLAGS="-I$i $save_CFLAGS"
+ 	cat >conftest.$ac_ext <<_ACEOF
+-#line 18073 "configure"
++#line 18347 "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
+  #include <readline.h>
+@@ -18083,16 +18357,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:18086: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:18360: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:18089: \$? = $ac_status" >&5
++  echo "$as_me:18363: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:18092: \"$ac_try\"") >&5
++  { (eval echo "$as_me:18366: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:18095: \$? = $ac_status" >&5
++  echo "$as_me:18369: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ires=$i;break
+ else
+@@ -18104,7 +18378,7 @@
+ for i in $lib_dirs; do
+ 	LIBS="-L$i -lreadline  $save_LIBS"
+ 	cat >conftest.$ac_ext <<_ACEOF
+-#line 18107 "configure"
++#line 18381 "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
+  #include <readline.h>
+@@ -18117,16 +18391,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:18120: \"$ac_link\"") >&5
++if { (eval echo "$as_me:18394: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:18123: \$? = $ac_status" >&5
++  echo "$as_me:18397: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:18126: \"$ac_try\"") >&5
++  { (eval echo "$as_me:18400: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:18129: \$? = $ac_status" >&5
++  echo "$as_me:18403: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   lres=$i;break
+ else
+@@ -18141,6 +18415,7 @@
+ if test "$ires" -a "$lres" -a "$with_readline" != "no"; then
+ 	readline_includedir="$ires"
+ 	readline_libdir="$lres"
++	DIR_readline=
+ 	INCLUDE_readline="-I$readline_includedir"
+ 	LIB_readline="-L$readline_libdir -lreadline"
+ 
+@@ -18149,13 +18424,14 @@
+ EOF
+ 
+ 	with_readline=yes
+-	echo "$as_me:18152: result: headers $ires, libraries $lres" >&5
++	echo "$as_me:18427: result: headers $ires, libraries $lres" >&5
+ echo "${ECHO_T}headers $ires, libraries $lres" >&6
+ else
++	DIR_readline=
+ 	INCLUDE_readline=
+ 	LIB_readline=
+ 	with_readline=no
+-	echo "$as_me:18158: result: $with_readline" >&5
++	echo "$as_me:18434: result: $with_readline" >&5
+ echo "${ECHO_T}$with_readline" >&6
+ fi
+ 
+@@ -18169,7 +18445,7 @@
+ if test "${with_hesiod_lib+set}" = set; then
+   withval="$with_hesiod_lib"
+   if test "$withval" = "yes" -o "$withval" = "no"; then
+-  { { echo "$as_me:18172: error: No argument for --with-hesiod-lib" >&5
++  { { echo "$as_me:18448: error: No argument for --with-hesiod-lib" >&5
+ echo "$as_me: error: No argument for --with-hesiod-lib" >&2;}
+    { (exit 1); exit 1; }; }
+ elif test "X$with_hesiod" = "X"; then
+@@ -18181,7 +18457,7 @@
+ if test "${with_hesiod_include+set}" = set; then
+   withval="$with_hesiod_include"
+   if test "$withval" = "yes" -o "$withval" = "no"; then
+-  { { echo "$as_me:18184: error: No argument for --with-hesiod-include" >&5
++  { { echo "$as_me:18460: error: No argument for --with-hesiod-include" >&5
+ echo "$as_me: error: No argument for --with-hesiod-include" >&2;}
+    { (exit 1); exit 1; }; }
+ elif test "X$with_hesiod" = "X"; then
+@@ -18189,7 +18465,7 @@
+ fi
+ fi;
+ 
+-echo "$as_me:18192: checking for hesiod" >&5
++echo "$as_me:18468: checking for hesiod" >&5
+ echo $ECHO_N "checking for hesiod... $ECHO_C" >&6
+ 
+ case "$with_hesiod" in
+@@ -18207,7 +18483,7 @@
+ header_dirs=
+ lib_dirs=
+ d=''
+-for i in $d; do
++for i in $d /usr; do
+ 	header_dirs="$header_dirs $i/include"
+ 	lib_dirs="$lib_dirs $i/lib$abilibdirext"
+ done
+@@ -18229,7 +18505,7 @@
+ for i in $header_dirs; do
+ 	CFLAGS="-I$i $save_CFLAGS"
+ 	cat >conftest.$ac_ext <<_ACEOF
+-#line 18232 "configure"
++#line 18508 "configure"
+ #include "confdefs.h"
+ #include <hesiod.h>
+ int
+@@ -18241,16 +18517,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:18244: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:18520: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:18247: \$? = $ac_status" >&5
++  echo "$as_me:18523: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:18250: \"$ac_try\"") >&5
++  { (eval echo "$as_me:18526: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:18253: \$? = $ac_status" >&5
++  echo "$as_me:18529: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ires=$i;break
+ else
+@@ -18262,7 +18538,7 @@
+ for i in $lib_dirs; do
+ 	LIBS="-L$i -lhesiod  $save_LIBS"
+ 	cat >conftest.$ac_ext <<_ACEOF
+-#line 18265 "configure"
++#line 18541 "configure"
+ #include "confdefs.h"
+ #include <hesiod.h>
+ int
+@@ -18274,16 +18550,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:18277: \"$ac_link\"") >&5
++if { (eval echo "$as_me:18553: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:18280: \$? = $ac_status" >&5
++  echo "$as_me:18556: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:18283: \"$ac_try\"") >&5
++  { (eval echo "$as_me:18559: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:18286: \$? = $ac_status" >&5
++  echo "$as_me:18562: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   lres=$i;break
+ else
+@@ -18298,6 +18574,7 @@
+ if test "$ires" -a "$lres" -a "$with_hesiod" != "no"; then
+ 	hesiod_includedir="$ires"
+ 	hesiod_libdir="$lres"
++	DIR_hesiod=
+ 	INCLUDE_hesiod="-I$hesiod_includedir"
+ 	LIB_hesiod="-L$hesiod_libdir -lhesiod"
+ 
+@@ -18306,13 +18583,14 @@
+ EOF
+ 
+ 	with_hesiod=yes
+-	echo "$as_me:18309: result: headers $ires, libraries $lres" >&5
++	echo "$as_me:18586: result: headers $ires, libraries $lres" >&5
+ echo "${ECHO_T}headers $ires, libraries $lres" >&6
+ else
++	DIR_hesiod=
+ 	INCLUDE_hesiod=
+ 	LIB_hesiod=
+ 	with_hesiod=no
+-	echo "$as_me:18315: result: $with_hesiod" >&5
++	echo "$as_me:18593: result: $with_hesiod" >&5
+ echo "${ECHO_T}$with_hesiod" >&6
+ fi
+ 
+@@ -18326,13 +18604,13 @@
+   enableval="$enable_littleendian"
+   krb_cv_c_bigendian=no
+ fi;
+-echo "$as_me:18329: checking whether byte order is known at compile time" >&5
++echo "$as_me:18607: checking whether byte order is known at compile time" >&5
+ echo $ECHO_N "checking whether byte order is known at compile time... $ECHO_C" >&6
+ if test "${krb_cv_c_bigendian_compile+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 18335 "configure"
++#line 18613 "configure"
+ #include "confdefs.h"
+ 
+ #include <sys/types.h>
+@@ -18349,16 +18627,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:18352: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:18630: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:18355: \$? = $ac_status" >&5
++  echo "$as_me:18633: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:18358: \"$ac_try\"") >&5
++  { (eval echo "$as_me:18636: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:18361: \$? = $ac_status" >&5
++  echo "$as_me:18639: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   krb_cv_c_bigendian_compile=yes
+ else
+@@ -18368,9 +18646,9 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:18371: result: $krb_cv_c_bigendian_compile" >&5
++echo "$as_me:18649: result: $krb_cv_c_bigendian_compile" >&5
+ echo "${ECHO_T}$krb_cv_c_bigendian_compile" >&6
+-echo "$as_me:18373: checking whether byte ordering is bigendian" >&5
++echo "$as_me:18651: checking whether byte ordering is bigendian" >&5
+ echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
+ if test "${krb_cv_c_bigendian+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -18378,7 +18656,7 @@
+ 
+   if test "$krb_cv_c_bigendian_compile" = "yes"; then
+     cat >conftest.$ac_ext <<_ACEOF
+-#line 18381 "configure"
++#line 18659 "configure"
+ #include "confdefs.h"
+ 
+ #include <sys/types.h>
+@@ -18395,16 +18673,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:18398: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:18676: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:18401: \$? = $ac_status" >&5
++  echo "$as_me:18679: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:18404: \"$ac_try\"") >&5
++  { (eval echo "$as_me:18682: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:18407: \$? = $ac_status" >&5
++  echo "$as_me:18685: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   krb_cv_c_bigendian=yes
+ else
+@@ -18415,12 +18693,12 @@
+ rm -f conftest.$ac_objext conftest.$ac_ext
+   else
+     if test "$cross_compiling" = yes; then
+-  { { echo "$as_me:18418: error: specify either --enable-bigendian or --enable-littleendian" >&5
++  { { echo "$as_me:18696: error: specify either --enable-bigendian or --enable-littleendian" >&5
+ echo "$as_me: error: specify either --enable-bigendian or --enable-littleendian" >&2;}
+    { (exit 1); exit 1; }; }
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 18423 "configure"
++#line 18701 "configure"
+ #include "confdefs.h"
+ main () {
+       /* Are we little or big endian?  From Harbison&Steele.  */
+@@ -18434,15 +18712,15 @@
+   }
+ _ACEOF
+ rm -f conftest$ac_exeext
+-if { (eval echo "$as_me:18437: \"$ac_link\"") >&5
++if { (eval echo "$as_me:18715: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:18440: \$? = $ac_status" >&5
++  echo "$as_me:18718: \$? = $ac_status" >&5
+   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
+-  { (eval echo "$as_me:18442: \"$ac_try\"") >&5
++  { (eval echo "$as_me:18720: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:18445: \$? = $ac_status" >&5
++  echo "$as_me:18723: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   krb_cv_c_bigendian=no
+ else
+@@ -18456,7 +18734,7 @@
+   fi
+ 
+ fi
+-echo "$as_me:18459: result: $krb_cv_c_bigendian" >&5
++echo "$as_me:18737: result: $krb_cv_c_bigendian" >&5
+ echo "${ECHO_T}$krb_cv_c_bigendian" >&6
+ if test "$krb_cv_c_bigendian" = "yes"; then
+ 
+@@ -18471,7 +18749,7 @@
+ EOF
+ fi
+ 
+-echo "$as_me:18474: checking for inline" >&5
++echo "$as_me:18752: checking for inline" >&5
+ echo $ECHO_N "checking for inline... $ECHO_C" >&6
+ if test "${ac_cv_c_inline+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -18479,7 +18757,7 @@
+   ac_cv_c_inline=no
+ for ac_kw in inline __inline__ __inline; do
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 18482 "configure"
++#line 18760 "configure"
+ #include "confdefs.h"
+ #ifndef __cplusplus
+ static $ac_kw int static_foo () {return 0; }
+@@ -18488,16 +18766,16 @@
+ 
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:18491: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:18769: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:18494: \$? = $ac_status" >&5
++  echo "$as_me:18772: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:18497: \"$ac_try\"") >&5
++  { (eval echo "$as_me:18775: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:18500: \$? = $ac_status" >&5
++  echo "$as_me:18778: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_c_inline=$ac_kw; break
+ else
+@@ -18508,7 +18786,7 @@
+ done
+ 
+ fi
+-echo "$as_me:18511: result: $ac_cv_c_inline" >&5
++echo "$as_me:18789: result: $ac_cv_c_inline" >&5
+ echo "${ECHO_T}$ac_cv_c_inline" >&6
+ case $ac_cv_c_inline in
+   inline | yes) ;;
+@@ -18558,7 +18836,7 @@
+   AIX_DYNAMIC_AFS_FALSE=
+ fi
+ 
+-echo "$as_me:18561: checking for dlopen" >&5
++echo "$as_me:18839: checking for dlopen" >&5
+ echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
+ if test "${ac_cv_funclib_dlopen+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -18576,7 +18854,7 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 18579 "configure"
++#line 18857 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -18588,16 +18866,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:18591: \"$ac_link\"") >&5
++if { (eval echo "$as_me:18869: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:18594: \$? = $ac_status" >&5
++  echo "$as_me:18872: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:18597: \"$ac_try\"") >&5
++  { (eval echo "$as_me:18875: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:18600: \$? = $ac_status" >&5
++  echo "$as_me:18878: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_dlopen=$ac_lib; else ac_cv_funclib_dlopen=yes; fi";break
+ else
+@@ -18619,13 +18897,13 @@
+ for ac_func in dlopen
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:18622: checking for $ac_func" >&5
++echo "$as_me:18900: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 18628 "configure"
++#line 18906 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -18656,16 +18934,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:18659: \"$ac_link\"") >&5
++if { (eval echo "$as_me:18937: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:18662: \$? = $ac_status" >&5
++  echo "$as_me:18940: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:18665: \"$ac_try\"") >&5
++  { (eval echo "$as_me:18943: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:18668: \$? = $ac_status" >&5
++  echo "$as_me:18946: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -18675,7 +18953,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:18678: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:18956: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -18699,13 +18977,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:18702: result: yes" >&5
++	echo "$as_me:18980: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_dlopen=no"
+ 	eval "LIB_dlopen="
+-	echo "$as_me:18708: result: no" >&5
++	echo "$as_me:18986: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -18719,7 +18997,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:18722: result: yes, in $ac_res" >&5
++	echo "$as_me:19000: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -18759,7 +19037,7 @@
+   IRIX_FALSE=
+ fi
+ 
+-echo "$as_me:18762: checking for X" >&5
++echo "$as_me:19040: checking for X" >&5
+ echo $ECHO_N "checking for X... $ECHO_C" >&6
+ 
+ # Check whether --with-x or --without-x was given.
+@@ -18856,17 +19134,17 @@
+   # Guess where to find include files, by looking for Intrinsic.h.
+   # First, try using that file with no special directory specified.
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 18859 "configure"
++#line 19137 "configure"
+ #include "confdefs.h"
+ #include <X11/Intrinsic.h>
+ _ACEOF
+-if { (eval echo "$as_me:18863: \"$ac_cpp conftest.$ac_ext\"") >&5
++if { (eval echo "$as_me:19141: \"$ac_cpp conftest.$ac_ext\"") >&5
+   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+   ac_status=$?
+   egrep -v '^ *\+' conftest.er1 >conftest.err
+   rm -f conftest.er1
+   cat conftest.err >&5
+-  echo "$as_me:18869: \$? = $ac_status" >&5
++  echo "$as_me:19147: \$? = $ac_status" >&5
+   (exit $ac_status); } >/dev/null; then
+   if test -s conftest.err; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+@@ -18899,7 +19177,7 @@
+   ac_save_LIBS=$LIBS
+   LIBS="-lXt $LIBS"
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 18902 "configure"
++#line 19180 "configure"
+ #include "confdefs.h"
+ #include <X11/Intrinsic.h>
+ int
+@@ -18911,16 +19189,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:18914: \"$ac_link\"") >&5
++if { (eval echo "$as_me:19192: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:18917: \$? = $ac_status" >&5
++  echo "$as_me:19195: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:18920: \"$ac_try\"") >&5
++  { (eval echo "$as_me:19198: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:18923: \$? = $ac_status" >&5
++  echo "$as_me:19201: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   LIBS=$ac_save_LIBS
+ # We can link X programs with no special library path.
+@@ -18958,7 +19236,7 @@
+ fi # $with_x != no
+ 
+ if test "$have_x" != yes; then
+-  echo "$as_me:18961: result: $have_x" >&5
++  echo "$as_me:19239: result: $have_x" >&5
+ echo "${ECHO_T}$have_x" >&6
+   no_x=yes
+ else
+@@ -18968,7 +19246,7 @@
+   # Update the cache value to reflect the command line values.
+   ac_cv_have_x="have_x=yes \
+ 		ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
+-  echo "$as_me:18971: result: libraries $x_libraries, headers $x_includes" >&5
++  echo "$as_me:19249: result: libraries $x_libraries, headers $x_includes" >&5
+ echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
+ fi
+ 
+@@ -18992,11 +19270,11 @@
+     # others require no space.  Words are not sufficient . . . .
+     case `(uname -sr) 2>/dev/null` in
+     "SunOS 5"*)
+-      echo "$as_me:18995: checking whether -R must be followed by a space" >&5
++      echo "$as_me:19273: checking whether -R must be followed by a space" >&5
+ echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
+       ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
+       cat >conftest.$ac_ext <<_ACEOF
+-#line 18999 "configure"
++#line 19277 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -19008,16 +19286,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:19011: \"$ac_link\"") >&5
++if { (eval echo "$as_me:19289: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:19014: \$? = $ac_status" >&5
++  echo "$as_me:19292: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:19017: \"$ac_try\"") >&5
++  { (eval echo "$as_me:19295: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:19020: \$? = $ac_status" >&5
++  echo "$as_me:19298: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_R_nospace=yes
+ else
+@@ -19027,13 +19305,13 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+       if test $ac_R_nospace = yes; then
+-	echo "$as_me:19030: result: no" >&5
++	echo "$as_me:19308: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	X_LIBS="$X_LIBS -R$x_libraries"
+       else
+ 	LIBS="$ac_xsave_LIBS -R $x_libraries"
+ 	cat >conftest.$ac_ext <<_ACEOF
+-#line 19036 "configure"
++#line 19314 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -19045,16 +19323,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:19048: \"$ac_link\"") >&5
++if { (eval echo "$as_me:19326: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:19051: \$? = $ac_status" >&5
++  echo "$as_me:19329: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:19054: \"$ac_try\"") >&5
++  { (eval echo "$as_me:19332: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:19057: \$? = $ac_status" >&5
++  echo "$as_me:19335: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_R_space=yes
+ else
+@@ -19064,11 +19342,11 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ 	if test $ac_R_space = yes; then
+-	  echo "$as_me:19067: result: yes" >&5
++	  echo "$as_me:19345: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	  X_LIBS="$X_LIBS -R $x_libraries"
+ 	else
+-	  echo "$as_me:19071: result: neither works" >&5
++	  echo "$as_me:19349: result: neither works" >&5
+ echo "${ECHO_T}neither works" >&6
+ 	fi
+       fi
+@@ -19088,7 +19366,7 @@
+     # the Alpha needs dnet_stub (dnet does not exist).
+     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
+     cat >conftest.$ac_ext <<_ACEOF
+-#line 19091 "configure"
++#line 19369 "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -19107,22 +19385,22 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:19110: \"$ac_link\"") >&5
++if { (eval echo "$as_me:19388: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:19113: \$? = $ac_status" >&5
++  echo "$as_me:19391: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:19116: \"$ac_try\"") >&5
++  { (eval echo "$as_me:19394: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:19119: \$? = $ac_status" >&5
++  echo "$as_me:19397: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   :
+ else
+   echo "$as_me: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+-echo "$as_me:19125: checking for dnet_ntoa in -ldnet" >&5
++echo "$as_me:19403: checking for dnet_ntoa in -ldnet" >&5
+ echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
+ if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -19130,7 +19408,7 @@
+   ac_check_lib_save_LIBS=$LIBS
+ LIBS="-ldnet  $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 19133 "configure"
++#line 19411 "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -19149,16 +19427,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:19152: \"$ac_link\"") >&5
++if { (eval echo "$as_me:19430: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:19155: \$? = $ac_status" >&5
++  echo "$as_me:19433: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:19158: \"$ac_try\"") >&5
++  { (eval echo "$as_me:19436: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:19161: \$? = $ac_status" >&5
++  echo "$as_me:19439: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_lib_dnet_dnet_ntoa=yes
+ else
+@@ -19169,14 +19447,14 @@
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "$as_me:19172: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
++echo "$as_me:19450: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
+ echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
+ if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
+   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
+ fi
+ 
+     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
+-      echo "$as_me:19179: checking for dnet_ntoa in -ldnet_stub" >&5
++      echo "$as_me:19457: checking for dnet_ntoa in -ldnet_stub" >&5
+ echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
+ if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -19184,7 +19462,7 @@
+   ac_check_lib_save_LIBS=$LIBS
+ LIBS="-ldnet_stub  $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 19187 "configure"
++#line 19465 "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -19203,16 +19481,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:19206: \"$ac_link\"") >&5
++if { (eval echo "$as_me:19484: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:19209: \$? = $ac_status" >&5
++  echo "$as_me:19487: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:19212: \"$ac_try\"") >&5
++  { (eval echo "$as_me:19490: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:19215: \$? = $ac_status" >&5
++  echo "$as_me:19493: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_lib_dnet_stub_dnet_ntoa=yes
+ else
+@@ -19223,7 +19501,7 @@
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "$as_me:19226: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
++echo "$as_me:19504: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
+ echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
+ if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
+   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
+@@ -19242,13 +19520,13 @@
+     # on Irix 5.2, according to T.E. Dickey.
+     # The functions gethostbyname, getservbyname, and inet_addr are
+     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
+-    echo "$as_me:19245: checking for gethostbyname" >&5
++    echo "$as_me:19523: checking for gethostbyname" >&5
+ echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
+ if test "${ac_cv_func_gethostbyname+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 19251 "configure"
++#line 19529 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char gethostbyname (); below.  */
+@@ -19279,16 +19557,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:19282: \"$ac_link\"") >&5
++if { (eval echo "$as_me:19560: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:19285: \$? = $ac_status" >&5
++  echo "$as_me:19563: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:19288: \"$ac_try\"") >&5
++  { (eval echo "$as_me:19566: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:19291: \$? = $ac_status" >&5
++  echo "$as_me:19569: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_func_gethostbyname=yes
+ else
+@@ -19298,11 +19576,11 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:19301: result: $ac_cv_func_gethostbyname" >&5
++echo "$as_me:19579: result: $ac_cv_func_gethostbyname" >&5
+ echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
+ 
+     if test $ac_cv_func_gethostbyname = no; then
+-      echo "$as_me:19305: checking for gethostbyname in -lnsl" >&5
++      echo "$as_me:19583: checking for gethostbyname in -lnsl" >&5
+ echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
+ if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -19310,7 +19588,7 @@
+   ac_check_lib_save_LIBS=$LIBS
+ LIBS="-lnsl  $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 19313 "configure"
++#line 19591 "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -19329,16 +19607,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:19332: \"$ac_link\"") >&5
++if { (eval echo "$as_me:19610: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:19335: \$? = $ac_status" >&5
++  echo "$as_me:19613: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:19338: \"$ac_try\"") >&5
++  { (eval echo "$as_me:19616: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:19341: \$? = $ac_status" >&5
++  echo "$as_me:19619: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_lib_nsl_gethostbyname=yes
+ else
+@@ -19349,14 +19627,14 @@
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "$as_me:19352: result: $ac_cv_lib_nsl_gethostbyname" >&5
++echo "$as_me:19630: result: $ac_cv_lib_nsl_gethostbyname" >&5
+ echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
+ if test $ac_cv_lib_nsl_gethostbyname = yes; then
+   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
+ fi
+ 
+       if test $ac_cv_lib_nsl_gethostbyname = no; then
+-        echo "$as_me:19359: checking for gethostbyname in -lbsd" >&5
++        echo "$as_me:19637: checking for gethostbyname in -lbsd" >&5
+ echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
+ if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -19364,7 +19642,7 @@
+   ac_check_lib_save_LIBS=$LIBS
+ LIBS="-lbsd  $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 19367 "configure"
++#line 19645 "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -19383,16 +19661,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:19386: \"$ac_link\"") >&5
++if { (eval echo "$as_me:19664: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:19389: \$? = $ac_status" >&5
++  echo "$as_me:19667: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:19392: \"$ac_try\"") >&5
++  { (eval echo "$as_me:19670: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:19395: \$? = $ac_status" >&5
++  echo "$as_me:19673: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_lib_bsd_gethostbyname=yes
+ else
+@@ -19403,7 +19681,7 @@
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "$as_me:19406: result: $ac_cv_lib_bsd_gethostbyname" >&5
++echo "$as_me:19684: result: $ac_cv_lib_bsd_gethostbyname" >&5
+ echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
+ if test $ac_cv_lib_bsd_gethostbyname = yes; then
+   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
+@@ -19419,13 +19697,13 @@
+     # variants that don't use the nameserver (or something).  -lsocket
+     # must be given before -lnsl if both are needed.  We assume that
+     # if connect needs -lnsl, so does gethostbyname.
+-    echo "$as_me:19422: checking for connect" >&5
++    echo "$as_me:19700: checking for connect" >&5
+ echo $ECHO_N "checking for connect... $ECHO_C" >&6
+ if test "${ac_cv_func_connect+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 19428 "configure"
++#line 19706 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char connect (); below.  */
+@@ -19456,16 +19734,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:19459: \"$ac_link\"") >&5
++if { (eval echo "$as_me:19737: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:19462: \$? = $ac_status" >&5
++  echo "$as_me:19740: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:19465: \"$ac_try\"") >&5
++  { (eval echo "$as_me:19743: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:19468: \$? = $ac_status" >&5
++  echo "$as_me:19746: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_func_connect=yes
+ else
+@@ -19475,11 +19753,11 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:19478: result: $ac_cv_func_connect" >&5
++echo "$as_me:19756: result: $ac_cv_func_connect" >&5
+ echo "${ECHO_T}$ac_cv_func_connect" >&6
+ 
+     if test $ac_cv_func_connect = no; then
+-      echo "$as_me:19482: checking for connect in -lsocket" >&5
++      echo "$as_me:19760: checking for connect in -lsocket" >&5
+ echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
+ if test "${ac_cv_lib_socket_connect+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -19487,7 +19765,7 @@
+   ac_check_lib_save_LIBS=$LIBS
+ LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 19490 "configure"
++#line 19768 "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -19506,16 +19784,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:19509: \"$ac_link\"") >&5
++if { (eval echo "$as_me:19787: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:19512: \$? = $ac_status" >&5
++  echo "$as_me:19790: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:19515: \"$ac_try\"") >&5
++  { (eval echo "$as_me:19793: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:19518: \$? = $ac_status" >&5
++  echo "$as_me:19796: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_lib_socket_connect=yes
+ else
+@@ -19526,7 +19804,7 @@
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "$as_me:19529: result: $ac_cv_lib_socket_connect" >&5
++echo "$as_me:19807: result: $ac_cv_lib_socket_connect" >&5
+ echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
+ if test $ac_cv_lib_socket_connect = yes; then
+   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
+@@ -19535,13 +19813,13 @@
+     fi
+ 
+     # Guillermo Gomez says -lposix is necessary on A/UX.
+-    echo "$as_me:19538: checking for remove" >&5
++    echo "$as_me:19816: checking for remove" >&5
+ echo $ECHO_N "checking for remove... $ECHO_C" >&6
+ if test "${ac_cv_func_remove+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 19544 "configure"
++#line 19822 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char remove (); below.  */
+@@ -19572,16 +19850,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:19575: \"$ac_link\"") >&5
++if { (eval echo "$as_me:19853: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:19578: \$? = $ac_status" >&5
++  echo "$as_me:19856: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:19581: \"$ac_try\"") >&5
++  { (eval echo "$as_me:19859: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:19584: \$? = $ac_status" >&5
++  echo "$as_me:19862: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_func_remove=yes
+ else
+@@ -19591,11 +19869,11 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:19594: result: $ac_cv_func_remove" >&5
++echo "$as_me:19872: result: $ac_cv_func_remove" >&5
+ echo "${ECHO_T}$ac_cv_func_remove" >&6
+ 
+     if test $ac_cv_func_remove = no; then
+-      echo "$as_me:19598: checking for remove in -lposix" >&5
++      echo "$as_me:19876: checking for remove in -lposix" >&5
+ echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
+ if test "${ac_cv_lib_posix_remove+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -19603,7 +19881,7 @@
+   ac_check_lib_save_LIBS=$LIBS
+ LIBS="-lposix  $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 19606 "configure"
++#line 19884 "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -19622,16 +19900,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:19625: \"$ac_link\"") >&5
++if { (eval echo "$as_me:19903: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:19628: \$? = $ac_status" >&5
++  echo "$as_me:19906: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:19631: \"$ac_try\"") >&5
++  { (eval echo "$as_me:19909: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:19634: \$? = $ac_status" >&5
++  echo "$as_me:19912: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_lib_posix_remove=yes
+ else
+@@ -19642,7 +19920,7 @@
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "$as_me:19645: result: $ac_cv_lib_posix_remove" >&5
++echo "$as_me:19923: result: $ac_cv_lib_posix_remove" >&5
+ echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
+ if test $ac_cv_lib_posix_remove = yes; then
+   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
+@@ -19651,13 +19929,13 @@
+     fi
+ 
+     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
+-    echo "$as_me:19654: checking for shmat" >&5
++    echo "$as_me:19932: checking for shmat" >&5
+ echo $ECHO_N "checking for shmat... $ECHO_C" >&6
+ if test "${ac_cv_func_shmat+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 19660 "configure"
++#line 19938 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char shmat (); below.  */
+@@ -19688,16 +19966,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:19691: \"$ac_link\"") >&5
++if { (eval echo "$as_me:19969: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:19694: \$? = $ac_status" >&5
++  echo "$as_me:19972: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:19697: \"$ac_try\"") >&5
++  { (eval echo "$as_me:19975: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:19700: \$? = $ac_status" >&5
++  echo "$as_me:19978: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_func_shmat=yes
+ else
+@@ -19707,11 +19985,11 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:19710: result: $ac_cv_func_shmat" >&5
++echo "$as_me:19988: result: $ac_cv_func_shmat" >&5
+ echo "${ECHO_T}$ac_cv_func_shmat" >&6
+ 
+     if test $ac_cv_func_shmat = no; then
+-      echo "$as_me:19714: checking for shmat in -lipc" >&5
++      echo "$as_me:19992: checking for shmat in -lipc" >&5
+ echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
+ if test "${ac_cv_lib_ipc_shmat+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -19719,7 +19997,7 @@
+   ac_check_lib_save_LIBS=$LIBS
+ LIBS="-lipc  $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 19722 "configure"
++#line 20000 "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -19738,16 +20016,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:19741: \"$ac_link\"") >&5
++if { (eval echo "$as_me:20019: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:19744: \$? = $ac_status" >&5
++  echo "$as_me:20022: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:19747: \"$ac_try\"") >&5
++  { (eval echo "$as_me:20025: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:19750: \$? = $ac_status" >&5
++  echo "$as_me:20028: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_lib_ipc_shmat=yes
+ else
+@@ -19758,7 +20036,7 @@
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "$as_me:19761: result: $ac_cv_lib_ipc_shmat" >&5
++echo "$as_me:20039: result: $ac_cv_lib_ipc_shmat" >&5
+ echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
+ if test $ac_cv_lib_ipc_shmat = yes; then
+   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
+@@ -19776,7 +20054,7 @@
+   # These have to be linked with before -lX11, unlike the other
+   # libraries we check for below, so use a different variable.
+   # John Interrante, Karl Berry
+-  echo "$as_me:19779: checking for IceConnectionNumber in -lICE" >&5
++  echo "$as_me:20057: checking for IceConnectionNumber in -lICE" >&5
+ echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
+ if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -19784,7 +20062,7 @@
+   ac_check_lib_save_LIBS=$LIBS
+ LIBS="-lICE $X_EXTRA_LIBS $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 19787 "configure"
++#line 20065 "configure"
+ #include "confdefs.h"
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+@@ -19803,16 +20081,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:19806: \"$ac_link\"") >&5
++if { (eval echo "$as_me:20084: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:19809: \$? = $ac_status" >&5
++  echo "$as_me:20087: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:19812: \"$ac_try\"") >&5
++  { (eval echo "$as_me:20090: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:19815: \$? = $ac_status" >&5
++  echo "$as_me:20093: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_lib_ICE_IceConnectionNumber=yes
+ else
+@@ -19823,7 +20101,7 @@
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "$as_me:19826: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
++echo "$as_me:20104: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
+ echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
+ if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
+   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
+@@ -19836,7 +20114,7 @@
+ # try to figure out if we need any additional ld flags, like -R
+ # and yes, the autoconf X test is utterly broken
+ if test "$no_x" != yes; then
+-	echo "$as_me:19839: checking for special X linker flags" >&5
++	echo "$as_me:20117: checking for special X linker flags" >&5
+ echo $ECHO_N "checking for special X linker flags... $ECHO_C" >&6
+ if test "${krb_cv_sys_x_libs_rpath+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -19865,12 +20143,12 @@
+ 		fi
+ 		LIBS="$ac_save_libs $foo $X_PRE_LIBS -lX11 $X_EXTRA_LIBS"
+ 		if test "$cross_compiling" = yes; then
+-  { { echo "$as_me:19868: error: cannot run test program while cross compiling" >&5
++  { { echo "$as_me:20146: error: cannot run test program while cross compiling" >&5
+ echo "$as_me: error: cannot run test program while cross compiling" >&2;}
+    { (exit 1); exit 1; }; }
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 19873 "configure"
++#line 20151 "configure"
+ #include "confdefs.h"
+ 
+ 		#include <X11/Xlib.h>
+@@ -19885,15 +20163,15 @@
+ 
+ _ACEOF
+ rm -f conftest$ac_exeext
+-if { (eval echo "$as_me:19888: \"$ac_link\"") >&5
++if { (eval echo "$as_me:20166: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:19891: \$? = $ac_status" >&5
++  echo "$as_me:20169: \$? = $ac_status" >&5
+   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
+-  { (eval echo "$as_me:19893: \"$ac_try\"") >&5
++  { (eval echo "$as_me:20171: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:19896: \$? = $ac_status" >&5
++  echo "$as_me:20174: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   krb_cv_sys_x_libs_rpath="$rflag"; krb_cv_sys_x_libs="$foo"; break
+ else
+@@ -19909,7 +20187,7 @@
+ 	CFLAGS="$ac_save_cflags"
+ 
+ fi
+-echo "$as_me:19912: result: $krb_cv_sys_x_libs_rpath" >&5
++echo "$as_me:20190: result: $krb_cv_sys_x_libs_rpath" >&5
+ echo "${ECHO_T}$krb_cv_sys_x_libs_rpath" >&6
+ 	X_LIBS="$krb_cv_sys_x_libs"
+ fi
+@@ -19929,7 +20207,7 @@
+ save_LDFLAGS="$LDFLAGS"
+ LDFLAGS="$LDFLAGS $X_LIBS"
+ 
+-echo "$as_me:19932: checking for XauWriteAuth" >&5
++echo "$as_me:20210: checking for XauWriteAuth" >&5
+ echo $ECHO_N "checking for XauWriteAuth... $ECHO_C" >&6
+ if test "${ac_cv_funclib_XauWriteAuth+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -19947,7 +20225,7 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 19950 "configure"
++#line 20228 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -19959,16 +20237,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:19962: \"$ac_link\"") >&5
++if { (eval echo "$as_me:20240: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:19965: \$? = $ac_status" >&5
++  echo "$as_me:20243: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:19968: \"$ac_try\"") >&5
++  { (eval echo "$as_me:20246: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:19971: \$? = $ac_status" >&5
++  echo "$as_me:20249: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_XauWriteAuth=$ac_lib; else ac_cv_funclib_XauWriteAuth=yes; fi";break
+ else
+@@ -19990,13 +20268,13 @@
+ for ac_func in XauWriteAuth
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:19993: checking for $ac_func" >&5
++echo "$as_me:20271: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 19999 "configure"
++#line 20277 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -20027,16 +20305,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:20030: \"$ac_link\"") >&5
++if { (eval echo "$as_me:20308: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:20033: \$? = $ac_status" >&5
++  echo "$as_me:20311: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:20036: \"$ac_try\"") >&5
++  { (eval echo "$as_me:20314: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:20039: \$? = $ac_status" >&5
++  echo "$as_me:20317: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -20046,7 +20324,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:20049: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:20327: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -20070,13 +20348,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:20073: result: yes" >&5
++	echo "$as_me:20351: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_XauWriteAuth=no"
+ 	eval "LIB_XauWriteAuth="
+-	echo "$as_me:20079: result: no" >&5
++	echo "$as_me:20357: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -20090,7 +20368,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:20093: result: yes, in $ac_res" >&5
++	echo "$as_me:20371: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -20098,7 +20376,7 @@
+ ac_xxx="$LIBS"
+ LIBS="$LIB_XauWriteAuth $LIBS"
+ 
+-echo "$as_me:20101: checking for XauReadAuth" >&5
++echo "$as_me:20379: checking for XauReadAuth" >&5
+ echo $ECHO_N "checking for XauReadAuth... $ECHO_C" >&6
+ if test "${ac_cv_funclib_XauReadAuth+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -20116,7 +20394,7 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 20119 "configure"
++#line 20397 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -20128,16 +20406,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:20131: \"$ac_link\"") >&5
++if { (eval echo "$as_me:20409: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:20134: \$? = $ac_status" >&5
++  echo "$as_me:20412: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:20137: \"$ac_try\"") >&5
++  { (eval echo "$as_me:20415: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:20140: \$? = $ac_status" >&5
++  echo "$as_me:20418: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_XauReadAuth=$ac_lib; else ac_cv_funclib_XauReadAuth=yes; fi";break
+ else
+@@ -20159,13 +20437,13 @@
+ for ac_func in XauReadAuth
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:20162: checking for $ac_func" >&5
++echo "$as_me:20440: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 20168 "configure"
++#line 20446 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -20196,16 +20474,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:20199: \"$ac_link\"") >&5
++if { (eval echo "$as_me:20477: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:20202: \$? = $ac_status" >&5
++  echo "$as_me:20480: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:20205: \"$ac_try\"") >&5
++  { (eval echo "$as_me:20483: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:20208: \$? = $ac_status" >&5
++  echo "$as_me:20486: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -20215,7 +20493,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:20218: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:20496: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -20239,13 +20517,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:20242: result: yes" >&5
++	echo "$as_me:20520: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_XauReadAuth=no"
+ 	eval "LIB_XauReadAuth="
+-	echo "$as_me:20248: result: no" >&5
++	echo "$as_me:20526: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -20259,14 +20537,14 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:20262: result: yes, in $ac_res" >&5
++	echo "$as_me:20540: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+ LIBS="$LIB_XauReadAauth $LIBS"
+ 
+-echo "$as_me:20269: checking for XauFileName" >&5
++echo "$as_me:20547: checking for XauFileName" >&5
+ echo $ECHO_N "checking for XauFileName... $ECHO_C" >&6
+ if test "${ac_cv_funclib_XauFileName+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -20284,7 +20562,7 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 20287 "configure"
++#line 20565 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -20296,16 +20574,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:20299: \"$ac_link\"") >&5
++if { (eval echo "$as_me:20577: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:20302: \$? = $ac_status" >&5
++  echo "$as_me:20580: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:20305: \"$ac_try\"") >&5
++  { (eval echo "$as_me:20583: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:20308: \$? = $ac_status" >&5
++  echo "$as_me:20586: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_XauFileName=$ac_lib; else ac_cv_funclib_XauFileName=yes; fi";break
+ else
+@@ -20327,13 +20605,13 @@
+ for ac_func in XauFileName
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:20330: checking for $ac_func" >&5
++echo "$as_me:20608: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 20336 "configure"
++#line 20614 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -20364,16 +20642,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:20367: \"$ac_link\"") >&5
++if { (eval echo "$as_me:20645: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:20370: \$? = $ac_status" >&5
++  echo "$as_me:20648: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:20373: \"$ac_try\"") >&5
++  { (eval echo "$as_me:20651: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:20376: \$? = $ac_status" >&5
++  echo "$as_me:20654: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -20383,7 +20661,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:20386: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:20664: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -20407,13 +20685,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:20410: result: yes" >&5
++	echo "$as_me:20688: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_XauFileName=no"
+ 	eval "LIB_XauFileName="
+-	echo "$as_me:20416: result: no" >&5
++	echo "$as_me:20694: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -20427,7 +20705,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:20430: result: yes, in $ac_res" >&5
++	echo "$as_me:20708: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -20476,13 +20754,13 @@
+ LIBS=$save_LIBS
+ LDFLAGS=$save_LDFLAGS
+ 
+-echo "$as_me:20479: checking for an ANSI C-conforming const" >&5
++echo "$as_me:20757: checking for an ANSI C-conforming const" >&5
+ echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
+ if test "${ac_cv_c_const+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 20485 "configure"
++#line 20763 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -20540,16 +20818,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:20543: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:20821: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:20546: \$? = $ac_status" >&5
++  echo "$as_me:20824: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:20549: \"$ac_try\"") >&5
++  { (eval echo "$as_me:20827: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:20552: \$? = $ac_status" >&5
++  echo "$as_me:20830: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_c_const=yes
+ else
+@@ -20559,7 +20837,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:20562: result: $ac_cv_c_const" >&5
++echo "$as_me:20840: result: $ac_cv_c_const" >&5
+ echo "${ECHO_T}$ac_cv_c_const" >&6
+ if test $ac_cv_c_const = no; then
+ 
+@@ -20569,13 +20847,13 @@
+ 
+ fi
+ 
+-echo "$as_me:20572: checking for off_t" >&5
++echo "$as_me:20850: checking for off_t" >&5
+ echo $ECHO_N "checking for off_t... $ECHO_C" >&6
+ if test "${ac_cv_type_off_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 20578 "configure"
++#line 20856 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -20590,16 +20868,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:20593: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:20871: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:20596: \$? = $ac_status" >&5
++  echo "$as_me:20874: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:20599: \"$ac_try\"") >&5
++  { (eval echo "$as_me:20877: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:20602: \$? = $ac_status" >&5
++  echo "$as_me:20880: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_type_off_t=yes
+ else
+@@ -20609,7 +20887,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:20612: result: $ac_cv_type_off_t" >&5
++echo "$as_me:20890: result: $ac_cv_type_off_t" >&5
+ echo "${ECHO_T}$ac_cv_type_off_t" >&6
+ if test $ac_cv_type_off_t = yes; then
+   :
+@@ -20621,13 +20899,13 @@
+ 
+ fi
+ 
+-echo "$as_me:20624: checking for size_t" >&5
++echo "$as_me:20902: checking for size_t" >&5
+ echo $ECHO_N "checking for size_t... $ECHO_C" >&6
+ if test "${ac_cv_type_size_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 20630 "configure"
++#line 20908 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -20642,16 +20920,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:20645: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:20923: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:20648: \$? = $ac_status" >&5
++  echo "$as_me:20926: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:20651: \"$ac_try\"") >&5
++  { (eval echo "$as_me:20929: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:20654: \$? = $ac_status" >&5
++  echo "$as_me:20932: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_type_size_t=yes
+ else
+@@ -20661,7 +20939,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:20664: result: $ac_cv_type_size_t" >&5
++echo "$as_me:20942: result: $ac_cv_type_size_t" >&5
+ echo "${ECHO_T}$ac_cv_type_size_t" >&6
+ if test $ac_cv_type_size_t = yes; then
+   :
+@@ -20673,13 +20951,13 @@
+ 
+ fi
+ 
+-echo "$as_me:20676: checking for ssize_t" >&5
++echo "$as_me:20954: checking for ssize_t" >&5
+ echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
+ if test "${ac_cv_type_ssize_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 20682 "configure"
++#line 20960 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -20697,7 +20975,7 @@
+ rm -f conftest*
+ 
+ fi
+-echo "$as_me:20700: result: $ac_cv_type_ssize_t" >&5
++echo "$as_me:20978: result: $ac_cv_type_ssize_t" >&5
+ echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
+ if test $ac_cv_type_ssize_t = no; then
+ 
+@@ -20707,13 +20985,13 @@
+ 
+ fi
+ 
+-echo "$as_me:20710: checking for pid_t" >&5
++echo "$as_me:20988: checking for pid_t" >&5
+ echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
+ if test "${ac_cv_type_pid_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 20716 "configure"
++#line 20994 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -20728,16 +21006,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:20731: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:21009: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:20734: \$? = $ac_status" >&5
++  echo "$as_me:21012: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:20737: \"$ac_try\"") >&5
++  { (eval echo "$as_me:21015: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:20740: \$? = $ac_status" >&5
++  echo "$as_me:21018: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_type_pid_t=yes
+ else
+@@ -20747,7 +21025,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:20750: result: $ac_cv_type_pid_t" >&5
++echo "$as_me:21028: result: $ac_cv_type_pid_t" >&5
+ echo "${ECHO_T}$ac_cv_type_pid_t" >&6
+ if test $ac_cv_type_pid_t = yes; then
+   :
+@@ -20759,13 +21037,13 @@
+ 
+ fi
+ 
+-echo "$as_me:20762: checking for uid_t in sys/types.h" >&5
++echo "$as_me:21040: checking for uid_t in sys/types.h" >&5
+ echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
+ if test "${ac_cv_type_uid_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 20768 "configure"
++#line 21046 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ 
+@@ -20779,7 +21057,7 @@
+ rm -f conftest*
+ 
+ fi
+-echo "$as_me:20782: result: $ac_cv_type_uid_t" >&5
++echo "$as_me:21060: result: $ac_cv_type_uid_t" >&5
+ echo "${ECHO_T}$ac_cv_type_uid_t" >&6
+ if test $ac_cv_type_uid_t = no; then
+ 
+@@ -20793,13 +21071,13 @@
+ 
+ fi
+ 
+-echo "$as_me:20796: checking for mode_t" >&5
++echo "$as_me:21074: checking for mode_t" >&5
+ echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
+ if test "${ac_cv_type_mode_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 20802 "configure"
++#line 21080 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -20817,7 +21095,7 @@
+ rm -f conftest*
+ 
+ fi
+-echo "$as_me:20820: result: $ac_cv_type_mode_t" >&5
++echo "$as_me:21098: result: $ac_cv_type_mode_t" >&5
+ echo "${ECHO_T}$ac_cv_type_mode_t" >&6
+ if test $ac_cv_type_mode_t = no; then
+ 
+@@ -20827,13 +21105,13 @@
+ 
+ fi
+ 
+-echo "$as_me:20830: checking for sig_atomic_t" >&5
++echo "$as_me:21108: checking for sig_atomic_t" >&5
+ echo $ECHO_N "checking for sig_atomic_t... $ECHO_C" >&6
+ if test "${ac_cv_type_sig_atomic_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 20836 "configure"
++#line 21114 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -20851,7 +21129,7 @@
+ rm -f conftest*
+ 
+ fi
+-echo "$as_me:20854: result: $ac_cv_type_sig_atomic_t" >&5
++echo "$as_me:21132: result: $ac_cv_type_sig_atomic_t" >&5
+ echo "${ECHO_T}$ac_cv_type_sig_atomic_t" >&6
+ if test $ac_cv_type_sig_atomic_t = no; then
+ 
+@@ -20862,13 +21140,13 @@
+ fi
+ 
+ cv=`echo "long long" | sed 'y%./+- %__p__%'`
+-echo "$as_me:20865: checking for long long" >&5
++echo "$as_me:21143: checking for long long" >&5
+ echo $ECHO_N "checking for long long... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 20871 "configure"
++#line 21149 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -20885,16 +21163,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:20888: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:21166: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:20891: \$? = $ac_status" >&5
++  echo "$as_me:21169: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:20894: \"$ac_try\"") >&5
++  { (eval echo "$as_me:21172: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:20897: \$? = $ac_status" >&5
++  echo "$as_me:21175: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_type_$cv=yes"
+ else
+@@ -20905,18 +21183,18 @@
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:20908: result: $ac_foo" >&5
++echo "$as_me:21186: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo long long | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:20913: checking for long long" >&5
++	echo "$as_me:21191: checking for long long" >&5
+ echo $ECHO_N "checking for long long... $ECHO_C" >&6
+ if test "${ac_cv_type_long_long+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 20919 "configure"
++#line 21197 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -20931,16 +21209,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:20934: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:21212: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:20937: \$? = $ac_status" >&5
++  echo "$as_me:21215: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:20940: \"$ac_try\"") >&5
++  { (eval echo "$as_me:21218: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:20943: \$? = $ac_status" >&5
++  echo "$as_me:21221: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_type_long_long=yes
+ else
+@@ -20950,7 +21228,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:20953: result: $ac_cv_type_long_long" >&5
++echo "$as_me:21231: result: $ac_cv_type_long_long" >&5
+ echo "${ECHO_T}$ac_cv_type_long_long" >&6
+ if test $ac_cv_type_long_long = yes; then
+ 
+@@ -20968,13 +21246,13 @@
+ 
+ fi
+ 
+-echo "$as_me:20971: checking whether time.h and sys/time.h may both be included" >&5
++echo "$as_me:21249: checking whether time.h and sys/time.h may both be included" >&5
+ echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
+ if test "${ac_cv_header_time+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 20977 "configure"
++#line 21255 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #include <sys/time.h>
+@@ -20990,16 +21268,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:20993: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:21271: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:20996: \$? = $ac_status" >&5
++  echo "$as_me:21274: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:20999: \"$ac_try\"") >&5
++  { (eval echo "$as_me:21277: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:21002: \$? = $ac_status" >&5
++  echo "$as_me:21280: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_header_time=yes
+ else
+@@ -21009,7 +21287,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:21012: result: $ac_cv_header_time" >&5
++echo "$as_me:21290: result: $ac_cv_header_time" >&5
+ echo "${ECHO_T}$ac_cv_header_time" >&6
+ if test $ac_cv_header_time = yes; then
+ 
+@@ -21019,13 +21297,13 @@
+ 
+ fi
+ 
+-echo "$as_me:21022: checking whether struct tm is in sys/time.h or time.h" >&5
++echo "$as_me:21300: checking whether struct tm is in sys/time.h or time.h" >&5
+ echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
+ if test "${ac_cv_struct_tm+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 21028 "configure"
++#line 21306 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #include <time.h>
+@@ -21039,16 +21317,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:21042: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:21320: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:21045: \$? = $ac_status" >&5
++  echo "$as_me:21323: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:21048: \"$ac_try\"") >&5
++  { (eval echo "$as_me:21326: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:21051: \$? = $ac_status" >&5
++  echo "$as_me:21329: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_struct_tm=time.h
+ else
+@@ -21058,7 +21336,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:21061: result: $ac_cv_struct_tm" >&5
++echo "$as_me:21339: result: $ac_cv_struct_tm" >&5
+ echo "${ECHO_T}$ac_cv_struct_tm" >&6
+ if test $ac_cv_struct_tm = sys/time.h; then
+ 
+@@ -21068,13 +21346,13 @@
+ 
+ fi
+ 
+-echo "$as_me:21071: checking for ANSI C header files" >&5
++echo "$as_me:21349: checking for ANSI C header files" >&5
+ echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
+ if test "${ac_cv_header_stdc+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 21077 "configure"
++#line 21355 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ #include <stdarg.h>
+@@ -21082,13 +21360,13 @@
+ #include <float.h>
+ 
+ _ACEOF
+-if { (eval echo "$as_me:21085: \"$ac_cpp conftest.$ac_ext\"") >&5
++if { (eval echo "$as_me:21363: \"$ac_cpp conftest.$ac_ext\"") >&5
+   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+   ac_status=$?
+   egrep -v '^ *\+' conftest.er1 >conftest.err
+   rm -f conftest.er1
+   cat conftest.err >&5
+-  echo "$as_me:21091: \$? = $ac_status" >&5
++  echo "$as_me:21369: \$? = $ac_status" >&5
+   (exit $ac_status); } >/dev/null; then
+   if test -s conftest.err; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+@@ -21110,7 +21388,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 <<_ACEOF
+-#line 21113 "configure"
++#line 21391 "configure"
+ #include "confdefs.h"
+ #include <string.h>
+ 
+@@ -21128,7 +21406,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 <<_ACEOF
+-#line 21131 "configure"
++#line 21409 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ 
+@@ -21149,7 +21427,7 @@
+   :
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 21152 "configure"
++#line 21430 "configure"
+ #include "confdefs.h"
+ #include <ctype.h>
+ #if ((' ' & 0x0FF) == 0x020)
+@@ -21175,15 +21453,15 @@
+ }
+ _ACEOF
+ rm -f conftest$ac_exeext
+-if { (eval echo "$as_me:21178: \"$ac_link\"") >&5
++if { (eval echo "$as_me:21456: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:21181: \$? = $ac_status" >&5
++  echo "$as_me:21459: \$? = $ac_status" >&5
+   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
+-  { (eval echo "$as_me:21183: \"$ac_try\"") >&5
++  { (eval echo "$as_me:21461: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:21186: \$? = $ac_status" >&5
++  echo "$as_me:21464: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   :
+ else
+@@ -21196,7 +21474,7 @@
+ fi
+ fi
+ fi
+-echo "$as_me:21199: result: $ac_cv_header_stdc" >&5
++echo "$as_me:21477: result: $ac_cv_header_stdc" >&5
+ echo "${ECHO_T}$ac_cv_header_stdc" >&6
+ if test $ac_cv_header_stdc = yes; then
+ 
+@@ -21296,23 +21574,23 @@
+ 
+ do
+ as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+-echo "$as_me:21299: checking for $ac_header" >&5
++echo "$as_me:21577: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 21305 "configure"
++#line 21583 "configure"
+ #include "confdefs.h"
+ #include <$ac_header>
+ _ACEOF
+-if { (eval echo "$as_me:21309: \"$ac_cpp conftest.$ac_ext\"") >&5
++if { (eval echo "$as_me:21587: \"$ac_cpp conftest.$ac_ext\"") >&5
+   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+   ac_status=$?
+   egrep -v '^ *\+' conftest.er1 >conftest.err
+   rm -f conftest.er1
+   cat conftest.err >&5
+-  echo "$as_me:21315: \$? = $ac_status" >&5
++  echo "$as_me:21593: \$? = $ac_status" >&5
+   (exit $ac_status); } >/dev/null; then
+   if test -s conftest.err; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+@@ -21331,7 +21609,7 @@
+ fi
+ rm -f conftest.err conftest.$ac_ext
+ fi
+-echo "$as_me:21334: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "$as_me:21612: result: `eval echo '${'$as_ac_Header'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
+ if test `eval echo '${'$as_ac_Header'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -21344,23 +21622,23 @@
+ for ac_header in standards.h
+ do
+ as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+-echo "$as_me:21347: checking for $ac_header" >&5
++echo "$as_me:21625: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 21353 "configure"
++#line 21631 "configure"
+ #include "confdefs.h"
+ #include <$ac_header>
+ _ACEOF
+-if { (eval echo "$as_me:21357: \"$ac_cpp conftest.$ac_ext\"") >&5
++if { (eval echo "$as_me:21635: \"$ac_cpp conftest.$ac_ext\"") >&5
+   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+   ac_status=$?
+   egrep -v '^ *\+' conftest.er1 >conftest.err
+   rm -f conftest.er1
+   cat conftest.err >&5
+-  echo "$as_me:21363: \$? = $ac_status" >&5
++  echo "$as_me:21641: \$? = $ac_status" >&5
+   (exit $ac_status); } >/dev/null; then
+   if test -s conftest.err; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+@@ -21379,7 +21657,7 @@
+ fi
+ rm -f conftest.err conftest.$ac_ext
+ fi
+-echo "$as_me:21382: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "$as_me:21660: result: `eval echo '${'$as_ac_Header'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
+ if test `eval echo '${'$as_ac_Header'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -21393,13 +21671,13 @@
+ 
+ cv=`echo "$i" | sed 'y%./+-%__p_%'`
+ 
+-echo "$as_me:21396: checking for $i" >&5
++echo "$as_me:21674: checking for $i" >&5
+ echo $ECHO_N "checking for $i... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_header_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 21402 "configure"
++#line 21680 "configure"
+ #include "confdefs.h"
+ \
+ #ifdef HAVE_STANDARDS_H
+@@ -21408,13 +21686,13 @@
+ #include <$i>
+ 
+ _ACEOF
+-if { (eval echo "$as_me:21411: \"$ac_cpp conftest.$ac_ext\"") >&5
++if { (eval echo "$as_me:21689: \"$ac_cpp conftest.$ac_ext\"") >&5
+   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+   ac_status=$?
+   egrep -v '^ *\+' conftest.er1 >conftest.err
+   rm -f conftest.er1
+   cat conftest.err >&5
+-  echo "$as_me:21417: \$? = $ac_status" >&5
++  echo "$as_me:21695: \$? = $ac_status" >&5
+   (exit $ac_status); } >/dev/null; then
+   if test -s conftest.err; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+@@ -21433,7 +21711,7 @@
+ fi
+ rm -f conftest.err conftest.$ac_ext
+ fi
+-echo "$as_me:21436: result: `eval echo '${'ac_cv_header_$cv'}'`" >&5
++echo "$as_me:21714: result: `eval echo '${'ac_cv_header_$cv'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'ac_cv_header_$cv'}'`" >&6
+ ac_res=`eval echo \\$ac_cv_header_$cv`
+ if test "$ac_res" = yes; then
+@@ -21449,23 +21727,23 @@
+ for ac_header in netinet/ip.h netinet/tcp.h
+ do
+ as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+-echo "$as_me:21452: checking for $ac_header" >&5
++echo "$as_me:21730: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 21458 "configure"
++#line 21736 "configure"
+ #include "confdefs.h"
+ #include <$ac_header>
+ _ACEOF
+-if { (eval echo "$as_me:21462: \"$ac_cpp conftest.$ac_ext\"") >&5
++if { (eval echo "$as_me:21740: \"$ac_cpp conftest.$ac_ext\"") >&5
+   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+   ac_status=$?
+   egrep -v '^ *\+' conftest.er1 >conftest.err
+   rm -f conftest.er1
+   cat conftest.err >&5
+-  echo "$as_me:21468: \$? = $ac_status" >&5
++  echo "$as_me:21746: \$? = $ac_status" >&5
+   (exit $ac_status); } >/dev/null; then
+   if test -s conftest.err; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+@@ -21484,7 +21762,7 @@
+ fi
+ rm -f conftest.err conftest.$ac_ext
+ fi
+-echo "$as_me:21487: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "$as_me:21765: result: `eval echo '${'$as_ac_Header'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
+ if test `eval echo '${'$as_ac_Header'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -21526,7 +21804,7 @@
+   have_fnmatch_h_FALSE=
+ fi
+ 
+-echo "$as_me:21529: checking for socket" >&5
++echo "$as_me:21807: checking for socket" >&5
+ echo $ECHO_N "checking for socket... $ECHO_C" >&6
+ if test "${ac_cv_funclib_socket+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -21544,7 +21822,7 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 21547 "configure"
++#line 21825 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -21556,16 +21834,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:21559: \"$ac_link\"") >&5
++if { (eval echo "$as_me:21837: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:21562: \$? = $ac_status" >&5
++  echo "$as_me:21840: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:21565: \"$ac_try\"") >&5
++  { (eval echo "$as_me:21843: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:21568: \$? = $ac_status" >&5
++  echo "$as_me:21846: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_socket=$ac_lib; else ac_cv_funclib_socket=yes; fi";break
+ else
+@@ -21587,13 +21865,13 @@
+ for ac_func in socket
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:21590: checking for $ac_func" >&5
++echo "$as_me:21868: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 21596 "configure"
++#line 21874 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -21624,16 +21902,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:21627: \"$ac_link\"") >&5
++if { (eval echo "$as_me:21905: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:21630: \$? = $ac_status" >&5
++  echo "$as_me:21908: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:21633: \"$ac_try\"") >&5
++  { (eval echo "$as_me:21911: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:21636: \$? = $ac_status" >&5
++  echo "$as_me:21914: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -21643,7 +21921,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:21646: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:21924: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -21667,13 +21945,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:21670: result: yes" >&5
++	echo "$as_me:21948: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_socket=no"
+ 	eval "LIB_socket="
+-	echo "$as_me:21676: result: no" >&5
++	echo "$as_me:21954: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -21687,7 +21965,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:21690: result: yes, in $ac_res" >&5
++	echo "$as_me:21968: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -21696,7 +21974,7 @@
+ 	LIBS="$LIB_socket $LIBS"
+ fi
+ 
+-echo "$as_me:21699: checking for gethostbyname" >&5
++echo "$as_me:21977: checking for gethostbyname" >&5
+ echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
+ if test "${ac_cv_funclib_gethostbyname+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -21714,7 +21992,7 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 21717 "configure"
++#line 21995 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -21726,16 +22004,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:21729: \"$ac_link\"") >&5
++if { (eval echo "$as_me:22007: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:21732: \$? = $ac_status" >&5
++  echo "$as_me:22010: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:21735: \"$ac_try\"") >&5
++  { (eval echo "$as_me:22013: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:21738: \$? = $ac_status" >&5
++  echo "$as_me:22016: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_gethostbyname=$ac_lib; else ac_cv_funclib_gethostbyname=yes; fi";break
+ else
+@@ -21757,13 +22035,13 @@
+ for ac_func in gethostbyname
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:21760: checking for $ac_func" >&5
++echo "$as_me:22038: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 21766 "configure"
++#line 22044 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -21794,16 +22072,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:21797: \"$ac_link\"") >&5
++if { (eval echo "$as_me:22075: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:21800: \$? = $ac_status" >&5
++  echo "$as_me:22078: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:21803: \"$ac_try\"") >&5
++  { (eval echo "$as_me:22081: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:21806: \$? = $ac_status" >&5
++  echo "$as_me:22084: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -21813,7 +22091,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:21816: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:22094: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -21837,13 +22115,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:21840: result: yes" >&5
++	echo "$as_me:22118: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_gethostbyname=no"
+ 	eval "LIB_gethostbyname="
+-	echo "$as_me:21846: result: no" >&5
++	echo "$as_me:22124: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -21857,7 +22135,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:21860: result: yes, in $ac_res" >&5
++	echo "$as_me:22138: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -21866,7 +22144,7 @@
+ 	LIBS="$LIB_gethostbyname $LIBS"
+ fi
+ 
+-echo "$as_me:21869: checking for syslog" >&5
++echo "$as_me:22147: checking for syslog" >&5
+ echo $ECHO_N "checking for syslog... $ECHO_C" >&6
+ if test "${ac_cv_funclib_syslog+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -21884,7 +22162,7 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 21887 "configure"
++#line 22165 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -21896,16 +22174,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:21899: \"$ac_link\"") >&5
++if { (eval echo "$as_me:22177: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:21902: \$? = $ac_status" >&5
++  echo "$as_me:22180: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:21905: \"$ac_try\"") >&5
++  { (eval echo "$as_me:22183: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:21908: \$? = $ac_status" >&5
++  echo "$as_me:22186: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_syslog=$ac_lib; else ac_cv_funclib_syslog=yes; fi";break
+ else
+@@ -21927,13 +22205,13 @@
+ for ac_func in syslog
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:21930: checking for $ac_func" >&5
++echo "$as_me:22208: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 21936 "configure"
++#line 22214 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -21964,16 +22242,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:21967: \"$ac_link\"") >&5
++if { (eval echo "$as_me:22245: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:21970: \$? = $ac_status" >&5
++  echo "$as_me:22248: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:21973: \"$ac_try\"") >&5
++  { (eval echo "$as_me:22251: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:21976: \$? = $ac_status" >&5
++  echo "$as_me:22254: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -21983,7 +22261,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:21986: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:22264: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -22007,13 +22285,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:22010: result: yes" >&5
++	echo "$as_me:22288: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_syslog=no"
+ 	eval "LIB_syslog="
+-	echo "$as_me:22016: result: no" >&5
++	echo "$as_me:22294: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -22027,7 +22305,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:22030: result: yes, in $ac_res" >&5
++	echo "$as_me:22308: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -22051,13 +22329,13 @@
+   v6type=unknown
+ v6lib=none
+ 
+-echo "$as_me:22054: checking ipv6 stack type" >&5
++echo "$as_me:22332: checking ipv6 stack type" >&5
+ echo $ECHO_N "checking ipv6 stack type... $ECHO_C" >&6
+ for i in v6d toshiba kame inria zeta linux; do
+ 	case $i in
+ 	v6d)
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 22060 "configure"
++#line 22338 "configure"
+ #include "confdefs.h"
+ 
+ #include </usr/local/v6/include/sys/types.h>
+@@ -22076,7 +22354,7 @@
+ 		;;
+ 	toshiba)
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 22079 "configure"
++#line 22357 "configure"
+ #include "confdefs.h"
+ 
+ #include <sys/param.h>
+@@ -22095,7 +22373,7 @@
+ 		;;
+ 	kame)
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 22098 "configure"
++#line 22376 "configure"
+ #include "confdefs.h"
+ 
+ #include <netinet/in.h>
+@@ -22114,7 +22392,7 @@
+ 		;;
+ 	inria)
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 22117 "configure"
++#line 22395 "configure"
+ #include "confdefs.h"
+ 
+ #include <netinet/in.h>
+@@ -22131,7 +22409,7 @@
+ 		;;
+ 	zeta)
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 22134 "configure"
++#line 22412 "configure"
+ #include "confdefs.h"
+ 
+ #include <sys/param.h>
+@@ -22161,7 +22439,7 @@
+ 		break
+ 	fi
+ done
+-echo "$as_me:22164: result: $v6type" >&5
++echo "$as_me:22442: result: $v6type" >&5
+ echo "${ECHO_T}$v6type" >&6
+ 
+ if test "$v6lib" != "none"; then
+@@ -22173,7 +22451,7 @@
+ 	done
+ fi
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 22176 "configure"
++#line 22454 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_SYS_TYPES_H
+@@ -22208,16 +22486,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:22211: \"$ac_link\"") >&5
++if { (eval echo "$as_me:22489: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:22214: \$? = $ac_status" >&5
++  echo "$as_me:22492: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:22217: \"$ac_try\"") >&5
++  { (eval echo "$as_me:22495: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:22220: \$? = $ac_status" >&5
++  echo "$as_me:22498: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_lib_ipv6=yes
+ else
+@@ -22228,9 +22506,9 @@
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+ 
+-echo "$as_me:22231: checking for IPv6" >&5
++echo "$as_me:22509: checking for IPv6" >&5
+ echo $ECHO_N "checking for IPv6... $ECHO_C" >&6
+-echo "$as_me:22233: result: $ac_cv_lib_ipv6" >&5
++echo "$as_me:22511: result: $ac_cv_lib_ipv6" >&5
+ echo "${ECHO_T}$ac_cv_lib_ipv6" >&6
+ if test "$ac_cv_lib_ipv6" = yes; then
+ 
+@@ -22243,14 +22521,14 @@
+ fi
+ 
+ if test "$ac_cv_lib_ipv6" = yes; then
+-	echo "$as_me:22246: checking for in6addr_loopback" >&5
++	echo "$as_me:22524: checking for in6addr_loopback" >&5
+ echo $ECHO_N "checking for in6addr_loopback... $ECHO_C" >&6
+ if test "${ac_cv_var_in6addr_loopback+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ 	cat >conftest.$ac_ext <<_ACEOF
+-#line 22253 "configure"
++#line 22531 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_SYS_TYPES_H
+@@ -22277,16 +22555,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:22280: \"$ac_link\"") >&5
++if { (eval echo "$as_me:22558: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:22283: \$? = $ac_status" >&5
++  echo "$as_me:22561: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:22286: \"$ac_try\"") >&5
++  { (eval echo "$as_me:22564: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:22289: \$? = $ac_status" >&5
++  echo "$as_me:22567: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_var_in6addr_loopback=yes
+ else
+@@ -22296,7 +22574,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:22299: result: $ac_cv_var_in6addr_loopback" >&5
++echo "$as_me:22577: result: $ac_cv_var_in6addr_loopback" >&5
+ echo "${ECHO_T}$ac_cv_var_in6addr_loopback" >&6
+ 	if test "$ac_cv_var_in6addr_loopback" = yes; then
+ 
+@@ -22307,7 +22585,7 @@
+ 	fi
+ fi
+ 
+-echo "$as_me:22310: checking for logwtmp" >&5
++echo "$as_me:22588: checking for logwtmp" >&5
+ echo $ECHO_N "checking for logwtmp... $ECHO_C" >&6
+ if test "${ac_cv_funclib_logwtmp+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -22325,7 +22603,7 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 22328 "configure"
++#line 22606 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -22337,16 +22615,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:22340: \"$ac_link\"") >&5
++if { (eval echo "$as_me:22618: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:22343: \$? = $ac_status" >&5
++  echo "$as_me:22621: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:22346: \"$ac_try\"") >&5
++  { (eval echo "$as_me:22624: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:22349: \$? = $ac_status" >&5
++  echo "$as_me:22627: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_logwtmp=$ac_lib; else ac_cv_funclib_logwtmp=yes; fi";break
+ else
+@@ -22368,13 +22646,13 @@
+ for ac_func in logwtmp
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:22371: checking for $ac_func" >&5
++echo "$as_me:22649: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 22377 "configure"
++#line 22655 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -22405,16 +22683,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:22408: \"$ac_link\"") >&5
++if { (eval echo "$as_me:22686: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:22411: \$? = $ac_status" >&5
++  echo "$as_me:22689: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:22414: \"$ac_try\"") >&5
++  { (eval echo "$as_me:22692: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:22417: \$? = $ac_status" >&5
++  echo "$as_me:22695: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -22424,7 +22702,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:22427: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:22705: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -22448,13 +22726,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:22451: result: yes" >&5
++	echo "$as_me:22729: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_logwtmp=no"
+ 	eval "LIB_logwtmp="
+-	echo "$as_me:22457: result: no" >&5
++	echo "$as_me:22735: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -22468,12 +22746,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:22471: result: yes, in $ac_res" >&5
++	echo "$as_me:22749: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "$as_me:22476: checking for logout" >&5
++echo "$as_me:22754: checking for logout" >&5
+ echo $ECHO_N "checking for logout... $ECHO_C" >&6
+ if test "${ac_cv_funclib_logout+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -22491,7 +22769,7 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 22494 "configure"
++#line 22772 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -22503,16 +22781,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:22506: \"$ac_link\"") >&5
++if { (eval echo "$as_me:22784: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:22509: \$? = $ac_status" >&5
++  echo "$as_me:22787: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:22512: \"$ac_try\"") >&5
++  { (eval echo "$as_me:22790: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:22515: \$? = $ac_status" >&5
++  echo "$as_me:22793: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_logout=$ac_lib; else ac_cv_funclib_logout=yes; fi";break
+ else
+@@ -22534,13 +22812,13 @@
+ for ac_func in logout
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:22537: checking for $ac_func" >&5
++echo "$as_me:22815: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 22543 "configure"
++#line 22821 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -22571,16 +22849,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:22574: \"$ac_link\"") >&5
++if { (eval echo "$as_me:22852: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:22577: \$? = $ac_status" >&5
++  echo "$as_me:22855: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:22580: \"$ac_try\"") >&5
++  { (eval echo "$as_me:22858: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:22583: \$? = $ac_status" >&5
++  echo "$as_me:22861: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -22590,7 +22868,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:22593: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:22871: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -22614,13 +22892,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:22617: result: yes" >&5
++	echo "$as_me:22895: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_logout=no"
+ 	eval "LIB_logout="
+-	echo "$as_me:22623: result: no" >&5
++	echo "$as_me:22901: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -22634,12 +22912,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:22637: result: yes, in $ac_res" >&5
++	echo "$as_me:22915: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "$as_me:22642: checking for openpty" >&5
++echo "$as_me:22920: checking for openpty" >&5
+ echo $ECHO_N "checking for openpty... $ECHO_C" >&6
+ if test "${ac_cv_funclib_openpty+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -22657,7 +22935,7 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 22660 "configure"
++#line 22938 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -22669,16 +22947,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:22672: \"$ac_link\"") >&5
++if { (eval echo "$as_me:22950: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:22675: \$? = $ac_status" >&5
++  echo "$as_me:22953: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:22678: \"$ac_try\"") >&5
++  { (eval echo "$as_me:22956: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:22681: \$? = $ac_status" >&5
++  echo "$as_me:22959: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_openpty=$ac_lib; else ac_cv_funclib_openpty=yes; fi";break
+ else
+@@ -22700,13 +22978,13 @@
+ for ac_func in openpty
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:22703: checking for $ac_func" >&5
++echo "$as_me:22981: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 22709 "configure"
++#line 22987 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -22737,16 +23015,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:22740: \"$ac_link\"") >&5
++if { (eval echo "$as_me:23018: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:22743: \$? = $ac_status" >&5
++  echo "$as_me:23021: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:22746: \"$ac_try\"") >&5
++  { (eval echo "$as_me:23024: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:22749: \$? = $ac_status" >&5
++  echo "$as_me:23027: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -22756,7 +23034,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:22759: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:23037: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -22780,13 +23058,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:22783: result: yes" >&5
++	echo "$as_me:23061: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_openpty=no"
+ 	eval "LIB_openpty="
+-	echo "$as_me:22789: result: no" >&5
++	echo "$as_me:23067: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -22800,12 +23078,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:22803: result: yes, in $ac_res" >&5
++	echo "$as_me:23081: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "$as_me:22808: checking for tgetent" >&5
++echo "$as_me:23086: checking for tgetent" >&5
+ echo $ECHO_N "checking for tgetent... $ECHO_C" >&6
+ if test "${ac_cv_funclib_tgetent+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -22823,7 +23101,7 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 22826 "configure"
++#line 23104 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -22835,16 +23113,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:22838: \"$ac_link\"") >&5
++if { (eval echo "$as_me:23116: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:22841: \$? = $ac_status" >&5
++  echo "$as_me:23119: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:22844: \"$ac_try\"") >&5
++  { (eval echo "$as_me:23122: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:22847: \$? = $ac_status" >&5
++  echo "$as_me:23125: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_tgetent=$ac_lib; else ac_cv_funclib_tgetent=yes; fi";break
+ else
+@@ -22866,13 +23144,13 @@
+ for ac_func in tgetent
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:22869: checking for $ac_func" >&5
++echo "$as_me:23147: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 22875 "configure"
++#line 23153 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -22903,16 +23181,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:22906: \"$ac_link\"") >&5
++if { (eval echo "$as_me:23184: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:22909: \$? = $ac_status" >&5
++  echo "$as_me:23187: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:22912: \"$ac_try\"") >&5
++  { (eval echo "$as_me:23190: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:22915: \$? = $ac_status" >&5
++  echo "$as_me:23193: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -22922,7 +23200,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:22925: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:23203: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -22946,13 +23224,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:22949: result: yes" >&5
++	echo "$as_me:23227: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_tgetent=no"
+ 	eval "LIB_tgetent="
+-	echo "$as_me:22955: result: no" >&5
++	echo "$as_me:23233: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -22966,12 +23244,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:22969: result: yes, in $ac_res" >&5
++	echo "$as_me:23247: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "$as_me:22974: checking for gethostbyname2" >&5
++echo "$as_me:23252: checking for gethostbyname2" >&5
+ echo $ECHO_N "checking for gethostbyname2... $ECHO_C" >&6
+ if test "${ac_cv_funclib_gethostbyname2+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -22989,7 +23267,7 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 22992 "configure"
++#line 23270 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -23001,16 +23279,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:23004: \"$ac_link\"") >&5
++if { (eval echo "$as_me:23282: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:23007: \$? = $ac_status" >&5
++  echo "$as_me:23285: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:23010: \"$ac_try\"") >&5
++  { (eval echo "$as_me:23288: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:23013: \$? = $ac_status" >&5
++  echo "$as_me:23291: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_gethostbyname2=$ac_lib; else ac_cv_funclib_gethostbyname2=yes; fi";break
+ else
+@@ -23032,13 +23310,13 @@
+ for ac_func in gethostbyname2
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:23035: checking for $ac_func" >&5
++echo "$as_me:23313: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 23041 "configure"
++#line 23319 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -23069,16 +23347,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:23072: \"$ac_link\"") >&5
++if { (eval echo "$as_me:23350: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:23075: \$? = $ac_status" >&5
++  echo "$as_me:23353: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:23078: \"$ac_try\"") >&5
++  { (eval echo "$as_me:23356: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:23081: \$? = $ac_status" >&5
++  echo "$as_me:23359: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -23088,7 +23366,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:23091: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:23369: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -23112,13 +23390,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:23115: result: yes" >&5
++	echo "$as_me:23393: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_gethostbyname2=no"
+ 	eval "LIB_gethostbyname2="
+-	echo "$as_me:23121: result: no" >&5
++	echo "$as_me:23399: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -23132,7 +23410,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:23135: result: yes, in $ac_res" >&5
++	echo "$as_me:23413: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -23141,7 +23419,7 @@
+ 	LIBS="$LIB_gethostbyname2 $LIBS"
+ fi
+ 
+-echo "$as_me:23144: checking for res_search" >&5
++echo "$as_me:23422: checking for res_search" >&5
+ echo $ECHO_N "checking for res_search... $ECHO_C" >&6
+ if test "${ac_cv_funclib_res_search+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -23159,7 +23437,7 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 23162 "configure"
++#line 23440 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -23185,16 +23463,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:23188: \"$ac_link\"") >&5
++if { (eval echo "$as_me:23466: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:23191: \$? = $ac_status" >&5
++  echo "$as_me:23469: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:23194: \"$ac_try\"") >&5
++  { (eval echo "$as_me:23472: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:23197: \$? = $ac_status" >&5
++  echo "$as_me:23475: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_res_search=$ac_lib; else ac_cv_funclib_res_search=yes; fi";break
+ else
+@@ -23216,13 +23494,13 @@
+ for ac_func in res_search
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:23219: checking for $ac_func" >&5
++echo "$as_me:23497: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 23225 "configure"
++#line 23503 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -23253,16 +23531,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:23256: \"$ac_link\"") >&5
++if { (eval echo "$as_me:23534: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:23259: \$? = $ac_status" >&5
++  echo "$as_me:23537: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:23262: \"$ac_try\"") >&5
++  { (eval echo "$as_me:23540: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:23265: \$? = $ac_status" >&5
++  echo "$as_me:23543: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -23272,7 +23550,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:23275: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:23553: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -23296,13 +23574,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:23299: result: yes" >&5
++	echo "$as_me:23577: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_res_search=no"
+ 	eval "LIB_res_search="
+-	echo "$as_me:23305: result: no" >&5
++	echo "$as_me:23583: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -23316,7 +23594,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:23319: result: yes, in $ac_res" >&5
++	echo "$as_me:23597: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -23325,7 +23603,7 @@
+ 	LIBS="$LIB_res_search $LIBS"
+ fi
+ 
+-echo "$as_me:23328: checking for dn_expand" >&5
++echo "$as_me:23606: checking for dn_expand" >&5
+ echo $ECHO_N "checking for dn_expand... $ECHO_C" >&6
+ if test "${ac_cv_funclib_dn_expand+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -23343,7 +23621,7 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 23346 "configure"
++#line 23624 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -23369,16 +23647,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:23372: \"$ac_link\"") >&5
++if { (eval echo "$as_me:23650: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:23375: \$? = $ac_status" >&5
++  echo "$as_me:23653: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:23378: \"$ac_try\"") >&5
++  { (eval echo "$as_me:23656: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:23381: \$? = $ac_status" >&5
++  echo "$as_me:23659: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_dn_expand=$ac_lib; else ac_cv_funclib_dn_expand=yes; fi";break
+ else
+@@ -23400,13 +23678,13 @@
+ for ac_func in dn_expand
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:23403: checking for $ac_func" >&5
++echo "$as_me:23681: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 23409 "configure"
++#line 23687 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -23437,16 +23715,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:23440: \"$ac_link\"") >&5
++if { (eval echo "$as_me:23718: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:23443: \$? = $ac_status" >&5
++  echo "$as_me:23721: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:23446: \"$ac_try\"") >&5
++  { (eval echo "$as_me:23724: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:23449: \$? = $ac_status" >&5
++  echo "$as_me:23727: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -23456,7 +23734,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:23459: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:23737: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -23480,13 +23758,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:23483: result: yes" >&5
++	echo "$as_me:23761: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_dn_expand=no"
+ 	eval "LIB_dn_expand="
+-	echo "$as_me:23489: result: no" >&5
++	echo "$as_me:23767: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -23500,7 +23778,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:23503: result: yes, in $ac_res" >&5
++	echo "$as_me:23781: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -23509,7 +23787,7 @@
+ 	LIBS="$LIB_dn_expand $LIBS"
+ fi
+ 
+-echo "$as_me:23512: checking for working snprintf" >&5
++echo "$as_me:23790: checking for working snprintf" >&5
+ echo $ECHO_N "checking for working snprintf... $ECHO_C" >&6
+ if test "${ac_cv_func_snprintf_working+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -23519,7 +23797,7 @@
+   :
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 23522 "configure"
++#line 23800 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -23532,15 +23810,15 @@
+ }
+ _ACEOF
+ rm -f conftest$ac_exeext
+-if { (eval echo "$as_me:23535: \"$ac_link\"") >&5
++if { (eval echo "$as_me:23813: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:23538: \$? = $ac_status" >&5
++  echo "$as_me:23816: \$? = $ac_status" >&5
+   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
+-  { (eval echo "$as_me:23540: \"$ac_try\"") >&5
++  { (eval echo "$as_me:23818: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:23543: \$? = $ac_status" >&5
++  echo "$as_me:23821: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   :
+ else
+@@ -23552,7 +23830,7 @@
+ rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
+ fi
+ fi
+-echo "$as_me:23555: result: $ac_cv_func_snprintf_working" >&5
++echo "$as_me:23833: result: $ac_cv_func_snprintf_working" >&5
+ echo "${ECHO_T}$ac_cv_func_snprintf_working" >&6
+ 
+ if test "$ac_cv_func_snprintf_working" = yes; then
+@@ -23565,13 +23843,13 @@
+ if test "$ac_cv_func_snprintf_working" = yes; then
+ 
+ if test "$ac_cv_func_snprintf+set" != set -o "$ac_cv_func_snprintf" = yes; then
+-echo "$as_me:23568: checking if snprintf needs a prototype" >&5
++echo "$as_me:23846: checking if snprintf needs a prototype" >&5
+ echo $ECHO_N "checking if snprintf needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_snprintf_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 23574 "configure"
++#line 23852 "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
+ int
+@@ -23586,16 +23864,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:23589: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:23867: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:23592: \$? = $ac_status" >&5
++  echo "$as_me:23870: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:23595: \"$ac_try\"") >&5
++  { (eval echo "$as_me:23873: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:23598: \$? = $ac_status" >&5
++  echo "$as_me:23876: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_func_snprintf_noproto=yes"
+ else
+@@ -23605,7 +23883,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:23608: result: $ac_cv_func_snprintf_noproto" >&5
++echo "$as_me:23886: result: $ac_cv_func_snprintf_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_snprintf_noproto" >&6
+ 
+ if test "$ac_cv_func_snprintf_noproto" = yes; then
+@@ -23620,7 +23898,7 @@
+ 
+ fi
+ 
+-echo "$as_me:23623: checking for working vsnprintf" >&5
++echo "$as_me:23901: checking for working vsnprintf" >&5
+ echo $ECHO_N "checking for working vsnprintf... $ECHO_C" >&6
+ if test "${ac_cv_func_vsnprintf_working+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -23630,7 +23908,7 @@
+   :
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 23633 "configure"
++#line 23911 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -23653,15 +23931,15 @@
+ }
+ _ACEOF
+ rm -f conftest$ac_exeext
+-if { (eval echo "$as_me:23656: \"$ac_link\"") >&5
++if { (eval echo "$as_me:23934: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:23659: \$? = $ac_status" >&5
++  echo "$as_me:23937: \$? = $ac_status" >&5
+   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
+-  { (eval echo "$as_me:23661: \"$ac_try\"") >&5
++  { (eval echo "$as_me:23939: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:23664: \$? = $ac_status" >&5
++  echo "$as_me:23942: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   :
+ else
+@@ -23673,7 +23951,7 @@
+ rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
+ fi
+ fi
+-echo "$as_me:23676: result: $ac_cv_func_vsnprintf_working" >&5
++echo "$as_me:23954: result: $ac_cv_func_vsnprintf_working" >&5
+ echo "${ECHO_T}$ac_cv_func_vsnprintf_working" >&6
+ 
+ if test "$ac_cv_func_vsnprintf_working" = yes; then
+@@ -23686,13 +23964,13 @@
+ if test "$ac_cv_func_vsnprintf_working" = yes; then
+ 
+ if test "$ac_cv_func_vsnprintf+set" != set -o "$ac_cv_func_vsnprintf" = yes; then
+-echo "$as_me:23689: checking if vsnprintf needs a prototype" >&5
++echo "$as_me:23967: checking if vsnprintf needs a prototype" >&5
+ echo $ECHO_N "checking if vsnprintf needs a prototype... $ECHO_C" >&6
+ if test "${ac_cv_func_vsnprintf_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 23695 "configure"
++#line 23973 "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
+ int
+@@ -23707,16 +23985,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:23710: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:23988: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:23713: \$? = $ac_status" >&5
++  echo "$as_me:23991: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:23716: \"$ac_try\"") >&5
++  { (eval echo "$as_me:23994: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:23719: \$? = $ac_status" >&5
++  echo "$as_me:23997: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_func_vsnprintf_noproto=yes"
+ else
+@@ -23726,7 +24004,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:23729: result: $ac_cv_func_vsnprintf_noproto" >&5
++echo "$as_me:24007: result: $ac_cv_func_vsnprintf_noproto" >&5
+ echo "${ECHO_T}$ac_cv_func_vsnprintf_noproto" >&6
+ 
+ if test "$ac_cv_func_vsnprintf_noproto" = yes; then
+@@ -23776,13 +24054,13 @@
+ 
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:23779: checking for $ac_func" >&5
++echo "$as_me:24057: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 23785 "configure"
++#line 24063 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -23813,16 +24091,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:23816: \"$ac_link\"") >&5
++if { (eval echo "$as_me:24094: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:23819: \$? = $ac_status" >&5
++  echo "$as_me:24097: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:23822: \"$ac_try\"") >&5
++  { (eval echo "$as_me:24100: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:23825: \$? = $ac_status" >&5
++  echo "$as_me:24103: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -23832,7 +24110,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:23835: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:24113: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -23845,23 +24123,23 @@
+ for ac_header in capability.h sys/capability.h
+ do
+ as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+-echo "$as_me:23848: checking for $ac_header" >&5
++echo "$as_me:24126: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 23854 "configure"
++#line 24132 "configure"
+ #include "confdefs.h"
+ #include <$ac_header>
+ _ACEOF
+-if { (eval echo "$as_me:23858: \"$ac_cpp conftest.$ac_ext\"") >&5
++if { (eval echo "$as_me:24136: \"$ac_cpp conftest.$ac_ext\"") >&5
+   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+   ac_status=$?
+   egrep -v '^ *\+' conftest.er1 >conftest.err
+   rm -f conftest.er1
+   cat conftest.err >&5
+-  echo "$as_me:23864: \$? = $ac_status" >&5
++  echo "$as_me:24142: \$? = $ac_status" >&5
+   (exit $ac_status); } >/dev/null; then
+   if test -s conftest.err; then
+     ac_cpp_err=$ac_c_preproc_warn_flag
+@@ -23880,7 +24158,7 @@
+ fi
+ rm -f conftest.err conftest.$ac_ext
+ fi
+-echo "$as_me:23883: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "$as_me:24161: result: `eval echo '${'$as_ac_Header'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
+ if test `eval echo '${'$as_ac_Header'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -23893,13 +24171,13 @@
+ for ac_func in sgi_getcapabilitybyname cap_set_proc
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:23896: checking for $ac_func" >&5
++echo "$as_me:24174: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 23902 "configure"
++#line 24180 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -23930,16 +24208,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:23933: \"$ac_link\"") >&5
++if { (eval echo "$as_me:24211: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:23936: \$? = $ac_status" >&5
++  echo "$as_me:24214: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:23939: \"$ac_try\"") >&5
++  { (eval echo "$as_me:24217: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:23942: \$? = $ac_status" >&5
++  echo "$as_me:24220: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -23949,7 +24227,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:23952: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:24230: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -23959,7 +24237,7 @@
+ fi
+ done
+ 
+-echo "$as_me:23962: checking for getpwnam_r" >&5
++echo "$as_me:24240: checking for getpwnam_r" >&5
+ echo $ECHO_N "checking for getpwnam_r... $ECHO_C" >&6
+ if test "${ac_cv_funclib_getpwnam_r+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -23977,7 +24255,7 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 23980 "configure"
++#line 24258 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -23989,16 +24267,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:23992: \"$ac_link\"") >&5
++if { (eval echo "$as_me:24270: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:23995: \$? = $ac_status" >&5
++  echo "$as_me:24273: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:23998: \"$ac_try\"") >&5
++  { (eval echo "$as_me:24276: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:24001: \$? = $ac_status" >&5
++  echo "$as_me:24279: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_getpwnam_r=$ac_lib; else ac_cv_funclib_getpwnam_r=yes; fi";break
+ else
+@@ -24020,13 +24298,13 @@
+ for ac_func in getpwnam_r
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:24023: checking for $ac_func" >&5
++echo "$as_me:24301: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 24029 "configure"
++#line 24307 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -24057,16 +24335,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:24060: \"$ac_link\"") >&5
++if { (eval echo "$as_me:24338: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:24063: \$? = $ac_status" >&5
++  echo "$as_me:24341: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:24066: \"$ac_try\"") >&5
++  { (eval echo "$as_me:24344: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:24069: \$? = $ac_status" >&5
++  echo "$as_me:24347: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -24076,7 +24354,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:24079: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:24357: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -24100,13 +24378,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:24103: result: yes" >&5
++	echo "$as_me:24381: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_getpwnam_r=no"
+ 	eval "LIB_getpwnam_r="
+-	echo "$as_me:24109: result: no" >&5
++	echo "$as_me:24387: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -24120,13 +24398,13 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:24123: result: yes, in $ac_res" >&5
++	echo "$as_me:24401: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+ if test "$ac_cv_func_getpwnam_r" = yes; then
+-	echo "$as_me:24129: checking if getpwnam_r is posix" >&5
++	echo "$as_me:24407: checking if getpwnam_r is posix" >&5
+ echo $ECHO_N "checking if getpwnam_r is posix... $ECHO_C" >&6
+ if test "${ac_cv_func_getpwnam_r_posix+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -24137,7 +24415,7 @@
+   :
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 24140 "configure"
++#line 24418 "configure"
+ #include "confdefs.h"
+ 
+ #include <pwd.h>
+@@ -24149,15 +24427,15 @@
+ 
+ _ACEOF
+ rm -f conftest$ac_exeext
+-if { (eval echo "$as_me:24152: \"$ac_link\"") >&5
++if { (eval echo "$as_me:24430: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:24155: \$? = $ac_status" >&5
++  echo "$as_me:24433: \$? = $ac_status" >&5
+   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
+-  { (eval echo "$as_me:24157: \"$ac_try\"") >&5
++  { (eval echo "$as_me:24435: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:24160: \$? = $ac_status" >&5
++  echo "$as_me:24438: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_func_getpwnam_r_posix=yes
+ else
+@@ -24170,7 +24448,7 @@
+ fi
+ LIBS="$ac_libs"
+ fi
+-echo "$as_me:24173: result: $ac_cv_func_getpwnam_r_posix" >&5
++echo "$as_me:24451: result: $ac_cv_func_getpwnam_r_posix" >&5
+ echo "${ECHO_T}$ac_cv_func_getpwnam_r_posix" >&6
+ if test "$ac_cv_func_getpwnam_r_posix" = yes; then
+ 
+@@ -24181,7 +24459,7 @@
+ fi
+ fi
+ 
+-echo "$as_me:24184: checking for getsockopt" >&5
++echo "$as_me:24462: checking for getsockopt" >&5
+ echo $ECHO_N "checking for getsockopt... $ECHO_C" >&6
+ if test "${ac_cv_funclib_getsockopt+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -24199,7 +24477,7 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 24202 "configure"
++#line 24480 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_SYS_TYPES_H
+ #include <sys/types.h>
+@@ -24216,16 +24494,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:24219: \"$ac_link\"") >&5
++if { (eval echo "$as_me:24497: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:24222: \$? = $ac_status" >&5
++  echo "$as_me:24500: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:24225: \"$ac_try\"") >&5
++  { (eval echo "$as_me:24503: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:24228: \$? = $ac_status" >&5
++  echo "$as_me:24506: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_getsockopt=$ac_lib; else ac_cv_funclib_getsockopt=yes; fi";break
+ else
+@@ -24247,13 +24525,13 @@
+ for ac_func in getsockopt
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:24250: checking for $ac_func" >&5
++echo "$as_me:24528: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 24256 "configure"
++#line 24534 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -24284,16 +24562,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:24287: \"$ac_link\"") >&5
++if { (eval echo "$as_me:24565: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:24290: \$? = $ac_status" >&5
++  echo "$as_me:24568: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:24293: \"$ac_try\"") >&5
++  { (eval echo "$as_me:24571: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:24296: \$? = $ac_status" >&5
++  echo "$as_me:24574: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -24303,7 +24581,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:24306: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:24584: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -24327,13 +24605,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:24330: result: yes" >&5
++	echo "$as_me:24608: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_getsockopt=no"
+ 	eval "LIB_getsockopt="
+-	echo "$as_me:24336: result: no" >&5
++	echo "$as_me:24614: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -24347,12 +24625,12 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:24350: result: yes, in $ac_res" >&5
++	echo "$as_me:24628: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+-echo "$as_me:24355: checking for setsockopt" >&5
++echo "$as_me:24633: checking for setsockopt" >&5
+ echo $ECHO_N "checking for setsockopt... $ECHO_C" >&6
+ if test "${ac_cv_funclib_setsockopt+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -24370,7 +24648,7 @@
+ 		esac
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 24373 "configure"
++#line 24651 "configure"
+ #include "confdefs.h"
+ #ifdef HAVE_SYS_TYPES_H
+ #include <sys/types.h>
+@@ -24387,16 +24665,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:24390: \"$ac_link\"") >&5
++if { (eval echo "$as_me:24668: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:24393: \$? = $ac_status" >&5
++  echo "$as_me:24671: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:24396: \"$ac_try\"") >&5
++  { (eval echo "$as_me:24674: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:24399: \$? = $ac_status" >&5
++  echo "$as_me:24677: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_setsockopt=$ac_lib; else ac_cv_funclib_setsockopt=yes; fi";break
+ else
+@@ -24418,13 +24696,13 @@
+ for ac_func in setsockopt
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:24421: checking for $ac_func" >&5
++echo "$as_me:24699: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 24427 "configure"
++#line 24705 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -24455,16 +24733,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:24458: \"$ac_link\"") >&5
++if { (eval echo "$as_me:24736: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:24461: \$? = $ac_status" >&5
++  echo "$as_me:24739: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:24464: \"$ac_try\"") >&5
++  { (eval echo "$as_me:24742: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:24467: \$? = $ac_status" >&5
++  echo "$as_me:24745: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -24474,7 +24752,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:24477: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:24755: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -24498,13 +24776,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:24501: result: yes" >&5
++	echo "$as_me:24779: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_setsockopt=no"
+ 	eval "LIB_setsockopt="
+-	echo "$as_me:24507: result: no" >&5
++	echo "$as_me:24785: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -24518,7 +24796,7 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:24521: result: yes, in $ac_res" >&5
++	echo "$as_me:24799: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+@@ -24526,13 +24804,13 @@
+ for ac_func in getudbnam setlim
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:24529: checking for $ac_func" >&5
++echo "$as_me:24807: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 24535 "configure"
++#line 24813 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -24563,16 +24841,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:24566: \"$ac_link\"") >&5
++if { (eval echo "$as_me:24844: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:24569: \$? = $ac_status" >&5
++  echo "$as_me:24847: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:24572: \"$ac_try\"") >&5
++  { (eval echo "$as_me:24850: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:24575: \$? = $ac_status" >&5
++  echo "$as_me:24853: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -24582,7 +24860,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:24585: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:24863: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -24592,13 +24870,13 @@
+ fi
+ done
+ 
+-echo "$as_me:24595: checking return type of signal handlers" >&5
++echo "$as_me:24873: checking return type of signal handlers" >&5
+ echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
+ if test "${ac_cv_type_signal+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 24601 "configure"
++#line 24879 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #include <signal.h>
+@@ -24620,16 +24898,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:24623: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:24901: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:24626: \$? = $ac_status" >&5
++  echo "$as_me:24904: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:24629: \"$ac_try\"") >&5
++  { (eval echo "$as_me:24907: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:24632: \$? = $ac_status" >&5
++  echo "$as_me:24910: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_type_signal=void
+ else
+@@ -24639,7 +24917,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:24642: result: $ac_cv_type_signal" >&5
++echo "$as_me:24920: result: $ac_cv_type_signal" >&5
+ echo "${ECHO_T}$ac_cv_type_signal" >&6
+ 
+ cat >>confdefs.h <<EOF
+@@ -24654,7 +24932,7 @@
+ 
+ fi
+ 
+-echo "$as_me:24657: checking if realloc if broken" >&5
++echo "$as_me:24935: checking if realloc if broken" >&5
+ echo $ECHO_N "checking if realloc if broken... $ECHO_C" >&6
+ if test "${ac_cv_func_realloc_broken+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -24665,7 +24943,7 @@
+   :
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 24668 "configure"
++#line 24946 "configure"
+ #include "confdefs.h"
+ 
+ #include <stddef.h>
+@@ -24678,15 +24956,15 @@
+ 
+ _ACEOF
+ rm -f conftest$ac_exeext
+-if { (eval echo "$as_me:24681: \"$ac_link\"") >&5
++if { (eval echo "$as_me:24959: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:24684: \$? = $ac_status" >&5
++  echo "$as_me:24962: \$? = $ac_status" >&5
+   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
+-  { (eval echo "$as_me:24686: \"$ac_try\"") >&5
++  { (eval echo "$as_me:24964: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:24689: \$? = $ac_status" >&5
++  echo "$as_me:24967: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   :
+ else
+@@ -24699,7 +24977,7 @@
+ fi
+ 
+ fi
+-echo "$as_me:24702: result: $ac_cv_func_realloc_broken" >&5
++echo "$as_me:24980: result: $ac_cv_func_realloc_broken" >&5
+ echo "${ECHO_T}$ac_cv_func_realloc_broken" >&6
+ if test "$ac_cv_func_realloc_broken" = yes ; then
+ 
+@@ -24709,14 +24987,14 @@
+ 
+ fi
+ 
+-echo "$as_me:24712: checking for ut_addr in struct utmp" >&5
++echo "$as_me:24990: checking for ut_addr in struct utmp" >&5
+ echo $ECHO_N "checking for ut_addr in struct utmp... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_utmp_ut_addr+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 24719 "configure"
++#line 24997 "configure"
+ #include "confdefs.h"
+ #include <utmp.h>
+ int
+@@ -24728,16 +25006,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:24731: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:25009: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:24734: \$? = $ac_status" >&5
++  echo "$as_me:25012: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:24737: \"$ac_try\"") >&5
++  { (eval echo "$as_me:25015: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:24740: \$? = $ac_status" >&5
++  echo "$as_me:25018: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_type_struct_utmp_ut_addr=yes
+ else
+@@ -24747,7 +25025,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:24750: result: $ac_cv_type_struct_utmp_ut_addr" >&5
++echo "$as_me:25028: result: $ac_cv_type_struct_utmp_ut_addr" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_addr" >&6
+ if test "$ac_cv_type_struct_utmp_ut_addr" = yes; then
+ 
+@@ -24757,14 +25035,14 @@
+ 
+ fi
+ 
+-echo "$as_me:24760: checking for ut_host in struct utmp" >&5
++echo "$as_me:25038: checking for ut_host in struct utmp" >&5
+ echo $ECHO_N "checking for ut_host in struct utmp... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_utmp_ut_host+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 24767 "configure"
++#line 25045 "configure"
+ #include "confdefs.h"
+ #include <utmp.h>
+ int
+@@ -24776,16 +25054,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:24779: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:25057: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:24782: \$? = $ac_status" >&5
++  echo "$as_me:25060: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:24785: \"$ac_try\"") >&5
++  { (eval echo "$as_me:25063: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:24788: \$? = $ac_status" >&5
++  echo "$as_me:25066: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_type_struct_utmp_ut_host=yes
+ else
+@@ -24795,7 +25073,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:24798: result: $ac_cv_type_struct_utmp_ut_host" >&5
++echo "$as_me:25076: result: $ac_cv_type_struct_utmp_ut_host" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_host" >&6
+ if test "$ac_cv_type_struct_utmp_ut_host" = yes; then
+ 
+@@ -24805,14 +25083,14 @@
+ 
+ fi
+ 
+-echo "$as_me:24808: checking for ut_id in struct utmp" >&5
++echo "$as_me:25086: checking for ut_id in struct utmp" >&5
+ echo $ECHO_N "checking for ut_id in struct utmp... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_utmp_ut_id+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 24815 "configure"
++#line 25093 "configure"
+ #include "confdefs.h"
+ #include <utmp.h>
+ int
+@@ -24824,16 +25102,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:24827: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:25105: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:24830: \$? = $ac_status" >&5
++  echo "$as_me:25108: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:24833: \"$ac_try\"") >&5
++  { (eval echo "$as_me:25111: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:24836: \$? = $ac_status" >&5
++  echo "$as_me:25114: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_type_struct_utmp_ut_id=yes
+ else
+@@ -24843,7 +25121,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:24846: result: $ac_cv_type_struct_utmp_ut_id" >&5
++echo "$as_me:25124: result: $ac_cv_type_struct_utmp_ut_id" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_id" >&6
+ if test "$ac_cv_type_struct_utmp_ut_id" = yes; then
+ 
+@@ -24853,14 +25131,14 @@
+ 
+ fi
+ 
+-echo "$as_me:24856: checking for ut_pid in struct utmp" >&5
++echo "$as_me:25134: checking for ut_pid in struct utmp" >&5
+ echo $ECHO_N "checking for ut_pid in struct utmp... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_utmp_ut_pid+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 24863 "configure"
++#line 25141 "configure"
+ #include "confdefs.h"
+ #include <utmp.h>
+ int
+@@ -24872,16 +25150,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:24875: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:25153: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:24878: \$? = $ac_status" >&5
++  echo "$as_me:25156: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:24881: \"$ac_try\"") >&5
++  { (eval echo "$as_me:25159: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:24884: \$? = $ac_status" >&5
++  echo "$as_me:25162: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_type_struct_utmp_ut_pid=yes
+ else
+@@ -24891,7 +25169,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:24894: result: $ac_cv_type_struct_utmp_ut_pid" >&5
++echo "$as_me:25172: result: $ac_cv_type_struct_utmp_ut_pid" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_pid" >&6
+ if test "$ac_cv_type_struct_utmp_ut_pid" = yes; then
+ 
+@@ -24901,14 +25179,14 @@
+ 
+ fi
+ 
+-echo "$as_me:24904: checking for ut_type in struct utmp" >&5
++echo "$as_me:25182: checking for ut_type in struct utmp" >&5
+ echo $ECHO_N "checking for ut_type in struct utmp... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_utmp_ut_type+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 24911 "configure"
++#line 25189 "configure"
+ #include "confdefs.h"
+ #include <utmp.h>
+ int
+@@ -24920,16 +25198,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:24923: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:25201: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:24926: \$? = $ac_status" >&5
++  echo "$as_me:25204: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:24929: \"$ac_try\"") >&5
++  { (eval echo "$as_me:25207: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:24932: \$? = $ac_status" >&5
++  echo "$as_me:25210: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_type_struct_utmp_ut_type=yes
+ else
+@@ -24939,7 +25217,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:24942: result: $ac_cv_type_struct_utmp_ut_type" >&5
++echo "$as_me:25220: result: $ac_cv_type_struct_utmp_ut_type" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_type" >&6
+ if test "$ac_cv_type_struct_utmp_ut_type" = yes; then
+ 
+@@ -24949,14 +25227,14 @@
+ 
+ fi
+ 
+-echo "$as_me:24952: checking for ut_user in struct utmp" >&5
++echo "$as_me:25230: checking for ut_user in struct utmp" >&5
+ echo $ECHO_N "checking for ut_user in struct utmp... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_utmp_ut_user+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 24959 "configure"
++#line 25237 "configure"
+ #include "confdefs.h"
+ #include <utmp.h>
+ int
+@@ -24968,16 +25246,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:24971: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:25249: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:24974: \$? = $ac_status" >&5
++  echo "$as_me:25252: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:24977: \"$ac_try\"") >&5
++  { (eval echo "$as_me:25255: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:24980: \$? = $ac_status" >&5
++  echo "$as_me:25258: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_type_struct_utmp_ut_user=yes
+ else
+@@ -24987,7 +25265,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:24990: result: $ac_cv_type_struct_utmp_ut_user" >&5
++echo "$as_me:25268: result: $ac_cv_type_struct_utmp_ut_user" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_user" >&6
+ if test "$ac_cv_type_struct_utmp_ut_user" = yes; then
+ 
+@@ -24997,14 +25275,14 @@
+ 
+ fi
+ 
+-echo "$as_me:25000: checking for ut_exit in struct utmpx" >&5
++echo "$as_me:25278: checking for ut_exit in struct utmpx" >&5
+ echo $ECHO_N "checking for ut_exit in struct utmpx... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_utmpx_ut_exit+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 25007 "configure"
++#line 25285 "configure"
+ #include "confdefs.h"
+ #include <utmpx.h>
+ int
+@@ -25016,16 +25294,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:25019: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:25297: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:25022: \$? = $ac_status" >&5
++  echo "$as_me:25300: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:25025: \"$ac_try\"") >&5
++  { (eval echo "$as_me:25303: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:25028: \$? = $ac_status" >&5
++  echo "$as_me:25306: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_type_struct_utmpx_ut_exit=yes
+ else
+@@ -25035,7 +25313,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:25038: result: $ac_cv_type_struct_utmpx_ut_exit" >&5
++echo "$as_me:25316: result: $ac_cv_type_struct_utmpx_ut_exit" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_utmpx_ut_exit" >&6
+ if test "$ac_cv_type_struct_utmpx_ut_exit" = yes; then
+ 
+@@ -25045,14 +25323,14 @@
+ 
+ fi
+ 
+-echo "$as_me:25048: checking for ut_syslen in struct utmpx" >&5
++echo "$as_me:25326: checking for ut_syslen in struct utmpx" >&5
+ echo $ECHO_N "checking for ut_syslen in struct utmpx... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_utmpx_ut_syslen+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 25055 "configure"
++#line 25333 "configure"
+ #include "confdefs.h"
+ #include <utmpx.h>
+ int
+@@ -25064,16 +25342,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:25067: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:25345: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:25070: \$? = $ac_status" >&5
++  echo "$as_me:25348: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:25073: \"$ac_try\"") >&5
++  { (eval echo "$as_me:25351: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:25076: \$? = $ac_status" >&5
++  echo "$as_me:25354: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_type_struct_utmpx_ut_syslen=yes
+ else
+@@ -25083,7 +25361,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:25086: result: $ac_cv_type_struct_utmpx_ut_syslen" >&5
++echo "$as_me:25364: result: $ac_cv_type_struct_utmpx_ut_syslen" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_utmpx_ut_syslen" >&6
+ if test "$ac_cv_type_struct_utmpx_ut_syslen" = yes; then
+ 
+@@ -25093,14 +25371,14 @@
+ 
+ fi
+ 
+-echo "$as_me:25096: checking for tm_gmtoff in struct tm" >&5
++echo "$as_me:25374: checking for tm_gmtoff in struct tm" >&5
+ echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_tm_tm_gmtoff+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 25103 "configure"
++#line 25381 "configure"
+ #include "confdefs.h"
+ #include <time.h>
+ int
+@@ -25112,16 +25390,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:25115: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:25393: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:25118: \$? = $ac_status" >&5
++  echo "$as_me:25396: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:25121: \"$ac_try\"") >&5
++  { (eval echo "$as_me:25399: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:25124: \$? = $ac_status" >&5
++  echo "$as_me:25402: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_type_struct_tm_tm_gmtoff=yes
+ else
+@@ -25131,7 +25409,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:25134: result: $ac_cv_type_struct_tm_tm_gmtoff" >&5
++echo "$as_me:25412: result: $ac_cv_type_struct_tm_tm_gmtoff" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_tm_tm_gmtoff" >&6
+ if test "$ac_cv_type_struct_tm_tm_gmtoff" = yes; then
+ 
+@@ -25141,14 +25419,14 @@
+ 
+ fi
+ 
+-echo "$as_me:25144: checking for tm_zone in struct tm" >&5
++echo "$as_me:25422: checking for tm_zone in struct tm" >&5
+ echo $ECHO_N "checking for tm_zone in struct tm... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_tm_tm_zone+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 25151 "configure"
++#line 25429 "configure"
+ #include "confdefs.h"
+ #include <time.h>
+ int
+@@ -25160,16 +25438,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:25163: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:25441: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:25166: \$? = $ac_status" >&5
++  echo "$as_me:25444: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:25169: \"$ac_try\"") >&5
++  { (eval echo "$as_me:25447: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:25172: \$? = $ac_status" >&5
++  echo "$as_me:25450: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_type_struct_tm_tm_zone=yes
+ else
+@@ -25179,7 +25457,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:25182: result: $ac_cv_type_struct_tm_tm_zone" >&5
++echo "$as_me:25460: result: $ac_cv_type_struct_tm_tm_zone" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_tm_tm_zone" >&6
+ if test "$ac_cv_type_struct_tm_tm_zone" = yes; then
+ 
+@@ -25189,14 +25467,14 @@
+ 
+ fi
+ 
+-echo "$as_me:25192: checking for timezone" >&5
++echo "$as_me:25470: checking for timezone" >&5
+ echo $ECHO_N "checking for timezone... $ECHO_C" >&6
+ if test "${ac_cv_var_timezone+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 25199 "configure"
++#line 25477 "configure"
+ #include "confdefs.h"
+ extern int timezone;
+ int foo() { return timezone; }
+@@ -25209,16 +25487,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:25212: \"$ac_link\"") >&5
++if { (eval echo "$as_me:25490: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:25215: \$? = $ac_status" >&5
++  echo "$as_me:25493: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:25218: \"$ac_try\"") >&5
++  { (eval echo "$as_me:25496: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:25221: \$? = $ac_status" >&5
++  echo "$as_me:25499: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_var_timezone=yes
+ else
+@@ -25231,7 +25509,7 @@
+ fi
+ 
+ ac_foo=`eval echo \\$ac_cv_var_timezone`
+-echo "$as_me:25234: result: $ac_foo" >&5
++echo "$as_me:25512: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+ 
+@@ -25239,14 +25517,14 @@
+ #define HAVE_TIMEZONE 1
+ EOF
+ 
+-echo "$as_me:25242: checking if timezone is properly declared" >&5
++echo "$as_me:25520: checking if timezone is properly declared" >&5
+ echo $ECHO_N "checking if timezone is properly declared... $ECHO_C" >&6
+ if test "${ac_cv_var_timezone_declaration+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 25249 "configure"
++#line 25527 "configure"
+ #include "confdefs.h"
+ #include <time.h>
+ extern struct { int foo; } timezone;
+@@ -25259,16 +25537,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:25262: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:25540: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:25265: \$? = $ac_status" >&5
++  echo "$as_me:25543: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:25268: \"$ac_try\"") >&5
++  { (eval echo "$as_me:25546: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:25271: \$? = $ac_status" >&5
++  echo "$as_me:25549: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_var_timezone_declaration=no"
+ else
+@@ -25280,7 +25558,7 @@
+ 
+ fi
+ 
+-echo "$as_me:25283: result: $ac_cv_var_timezone_declaration" >&5
++echo "$as_me:25561: result: $ac_cv_var_timezone_declaration" >&5
+ echo "${ECHO_T}$ac_cv_var_timezone_declaration" >&6
+ if eval "test \"\$ac_cv_var_timezone_declaration\" = yes"; then
+ 
+@@ -25293,13 +25571,13 @@
+ fi
+ 
+ cv=`echo "sa_family_t" | sed 'y%./+- %__p__%'`
+-echo "$as_me:25296: checking for sa_family_t" >&5
++echo "$as_me:25574: checking for sa_family_t" >&5
+ echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 25302 "configure"
++#line 25580 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -25316,16 +25594,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:25319: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:25597: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:25322: \$? = $ac_status" >&5
++  echo "$as_me:25600: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:25325: \"$ac_try\"") >&5
++  { (eval echo "$as_me:25603: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:25328: \$? = $ac_status" >&5
++  echo "$as_me:25606: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_type_$cv=yes"
+ else
+@@ -25336,18 +25614,18 @@
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:25339: result: $ac_foo" >&5
++echo "$as_me:25617: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo sa_family_t | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:25344: checking for sa_family_t" >&5
++	echo "$as_me:25622: checking for sa_family_t" >&5
+ echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6
+ if test "${ac_cv_type_sa_family_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 25350 "configure"
++#line 25628 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -25362,16 +25640,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:25365: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:25643: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:25368: \$? = $ac_status" >&5
++  echo "$as_me:25646: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:25371: \"$ac_try\"") >&5
++  { (eval echo "$as_me:25649: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:25374: \$? = $ac_status" >&5
++  echo "$as_me:25652: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_type_sa_family_t=yes
+ else
+@@ -25381,7 +25659,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:25384: result: $ac_cv_type_sa_family_t" >&5
++echo "$as_me:25662: result: $ac_cv_type_sa_family_t" >&5
+ echo "${ECHO_T}$ac_cv_type_sa_family_t" >&6
+ if test $ac_cv_type_sa_family_t = yes; then
+ 
+@@ -25400,13 +25678,13 @@
+ fi
+ 
+ cv=`echo "socklen_t" | sed 'y%./+- %__p__%'`
+-echo "$as_me:25403: checking for socklen_t" >&5
++echo "$as_me:25681: checking for socklen_t" >&5
+ echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 25409 "configure"
++#line 25687 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -25423,16 +25701,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:25426: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:25704: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:25429: \$? = $ac_status" >&5
++  echo "$as_me:25707: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:25432: \"$ac_try\"") >&5
++  { (eval echo "$as_me:25710: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:25435: \$? = $ac_status" >&5
++  echo "$as_me:25713: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_type_$cv=yes"
+ else
+@@ -25443,18 +25721,18 @@
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:25446: result: $ac_foo" >&5
++echo "$as_me:25724: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo socklen_t | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:25451: checking for socklen_t" >&5
++	echo "$as_me:25729: checking for socklen_t" >&5
+ echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
+ if test "${ac_cv_type_socklen_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 25457 "configure"
++#line 25735 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -25469,16 +25747,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:25472: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:25750: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:25475: \$? = $ac_status" >&5
++  echo "$as_me:25753: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:25478: \"$ac_try\"") >&5
++  { (eval echo "$as_me:25756: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:25481: \$? = $ac_status" >&5
++  echo "$as_me:25759: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_type_socklen_t=yes
+ else
+@@ -25488,7 +25766,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:25491: result: $ac_cv_type_socklen_t" >&5
++echo "$as_me:25769: result: $ac_cv_type_socklen_t" >&5
+ echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
+ if test $ac_cv_type_socklen_t = yes; then
+ 
+@@ -25507,13 +25785,13 @@
+ fi
+ 
+ cv=`echo "struct sockaddr" | sed 'y%./+- %__p__%'`
+-echo "$as_me:25510: checking for struct sockaddr" >&5
++echo "$as_me:25788: checking for struct sockaddr" >&5
+ echo $ECHO_N "checking for struct sockaddr... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 25516 "configure"
++#line 25794 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -25530,16 +25808,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:25533: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:25811: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:25536: \$? = $ac_status" >&5
++  echo "$as_me:25814: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:25539: \"$ac_try\"") >&5
++  { (eval echo "$as_me:25817: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:25542: \$? = $ac_status" >&5
++  echo "$as_me:25820: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_type_$cv=yes"
+ else
+@@ -25550,18 +25828,18 @@
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:25553: result: $ac_foo" >&5
++echo "$as_me:25831: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo struct sockaddr | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:25558: checking for struct sockaddr" >&5
++	echo "$as_me:25836: checking for struct sockaddr" >&5
+ echo $ECHO_N "checking for struct sockaddr... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_sockaddr+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 25564 "configure"
++#line 25842 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -25576,16 +25854,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:25579: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:25857: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:25582: \$? = $ac_status" >&5
++  echo "$as_me:25860: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:25585: \"$ac_try\"") >&5
++  { (eval echo "$as_me:25863: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:25588: \$? = $ac_status" >&5
++  echo "$as_me:25866: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_type_struct_sockaddr=yes
+ else
+@@ -25595,7 +25873,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:25598: result: $ac_cv_type_struct_sockaddr" >&5
++echo "$as_me:25876: result: $ac_cv_type_struct_sockaddr" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_sockaddr" >&6
+ if test $ac_cv_type_struct_sockaddr = yes; then
+ 
+@@ -25614,13 +25892,13 @@
+ fi
+ 
+ cv=`echo "struct sockaddr_storage" | sed 'y%./+- %__p__%'`
+-echo "$as_me:25617: checking for struct sockaddr_storage" >&5
++echo "$as_me:25895: checking for struct sockaddr_storage" >&5
+ echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 25623 "configure"
++#line 25901 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -25637,16 +25915,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:25640: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:25918: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:25643: \$? = $ac_status" >&5
++  echo "$as_me:25921: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:25646: \"$ac_try\"") >&5
++  { (eval echo "$as_me:25924: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:25649: \$? = $ac_status" >&5
++  echo "$as_me:25927: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_type_$cv=yes"
+ else
+@@ -25657,18 +25935,18 @@
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:25660: result: $ac_foo" >&5
++echo "$as_me:25938: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo struct sockaddr_storage | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:25665: checking for struct sockaddr_storage" >&5
++	echo "$as_me:25943: checking for struct sockaddr_storage" >&5
+ echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_sockaddr_storage+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 25671 "configure"
++#line 25949 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -25683,16 +25961,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:25686: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:25964: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:25689: \$? = $ac_status" >&5
++  echo "$as_me:25967: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:25692: \"$ac_try\"") >&5
++  { (eval echo "$as_me:25970: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:25695: \$? = $ac_status" >&5
++  echo "$as_me:25973: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_type_struct_sockaddr_storage=yes
+ else
+@@ -25702,7 +25980,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:25705: result: $ac_cv_type_struct_sockaddr_storage" >&5
++echo "$as_me:25983: result: $ac_cv_type_struct_sockaddr_storage" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_sockaddr_storage" >&6
+ if test $ac_cv_type_struct_sockaddr_storage = yes; then
+ 
+@@ -25721,13 +25999,13 @@
+ fi
+ 
+ cv=`echo "struct addrinfo" | sed 'y%./+- %__p__%'`
+-echo "$as_me:25724: checking for struct addrinfo" >&5
++echo "$as_me:26002: checking for struct addrinfo" >&5
+ echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 25730 "configure"
++#line 26008 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -25744,16 +26022,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:25747: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:26025: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:25750: \$? = $ac_status" >&5
++  echo "$as_me:26028: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:25753: \"$ac_try\"") >&5
++  { (eval echo "$as_me:26031: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:25756: \$? = $ac_status" >&5
++  echo "$as_me:26034: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "ac_cv_type_$cv=yes"
+ else
+@@ -25764,18 +26042,18 @@
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+ ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:25767: result: $ac_foo" >&5
++echo "$as_me:26045: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+   ac_tr_hdr=HAVE_`echo struct addrinfo | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:25772: checking for struct addrinfo" >&5
++	echo "$as_me:26050: checking for struct addrinfo" >&5
+ echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_addrinfo+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 25778 "configure"
++#line 26056 "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ int
+@@ -25790,16 +26068,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:25793: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:26071: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:25796: \$? = $ac_status" >&5
++  echo "$as_me:26074: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:25799: \"$ac_try\"") >&5
++  { (eval echo "$as_me:26077: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:25802: \$? = $ac_status" >&5
++  echo "$as_me:26080: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_type_struct_addrinfo=yes
+ else
+@@ -25809,7 +26087,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:25812: result: $ac_cv_type_struct_addrinfo" >&5
++echo "$as_me:26090: result: $ac_cv_type_struct_addrinfo" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_addrinfo" >&6
+ if test $ac_cv_type_struct_addrinfo = yes; then
+ 
+@@ -25827,7 +26105,7 @@
+ 
+ fi
+ 
+-echo "$as_me:25830: checking for struct winsize" >&5
++echo "$as_me:26108: checking for struct winsize" >&5
+ echo $ECHO_N "checking for struct winsize... $ECHO_C" >&6
+ if test "${ac_cv_struct_winsize+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -25836,7 +26114,7 @@
+ ac_cv_struct_winsize=no
+ for i in sys/termios.h sys/ioctl.h; do
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 25839 "configure"
++#line 26117 "configure"
+ #include "confdefs.h"
+ #include <$i>
+ 
+@@ -25857,10 +26135,10 @@
+ EOF
+ 
+ fi
+-echo "$as_me:25860: result: $ac_cv_struct_winsize" >&5
++echo "$as_me:26138: result: $ac_cv_struct_winsize" >&5
+ echo "${ECHO_T}$ac_cv_struct_winsize" >&6
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 25863 "configure"
++#line 26141 "configure"
+ #include "confdefs.h"
+ #include <termios.h>
+ 
+@@ -25876,7 +26154,7 @@
+ rm -f conftest*
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 25879 "configure"
++#line 26157 "configure"
+ #include "confdefs.h"
+ #include <termios.h>
+ 
+@@ -25891,14 +26169,14 @@
+ fi
+ rm -f conftest*
+ 
+-echo "$as_me:25894: checking for struct spwd" >&5
++echo "$as_me:26172: checking for struct spwd" >&5
+ echo $ECHO_N "checking for struct spwd... $ECHO_C" >&6
+ if test "${ac_cv_struct_spwd+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 25901 "configure"
++#line 26179 "configure"
+ #include "confdefs.h"
+ #include <pwd.h>
+ #ifdef HAVE_SHADOW_H
+@@ -25913,16 +26191,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:25916: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:26194: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:25919: \$? = $ac_status" >&5
++  echo "$as_me:26197: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:25922: \"$ac_try\"") >&5
++  { (eval echo "$as_me:26200: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:25925: \$? = $ac_status" >&5
++  echo "$as_me:26203: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_struct_spwd=yes
+ else
+@@ -25934,7 +26212,7 @@
+ 
+ fi
+ 
+-echo "$as_me:25937: result: $ac_cv_struct_spwd" >&5
++echo "$as_me:26215: result: $ac_cv_struct_spwd" >&5
+ echo "${ECHO_T}$ac_cv_struct_spwd" >&6
+ 
+ if test "$ac_cv_struct_spwd" = "yes"; then
+@@ -25945,14 +26223,14 @@
+ 
+ fi
+ 
+-echo "$as_me:25948: checking for sa_len in struct sockaddr" >&5
++echo "$as_me:26226: checking for sa_len in struct sockaddr" >&5
+ echo $ECHO_N "checking for sa_len in struct sockaddr... $ECHO_C" >&6
+ if test "${ac_cv_type_struct_sockaddr_sa_len+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+-#line 25955 "configure"
++#line 26233 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #include <sys/socket.h>
+@@ -25965,16 +26243,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:25968: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:26246: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:25971: \$? = $ac_status" >&5
++  echo "$as_me:26249: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:25974: \"$ac_try\"") >&5
++  { (eval echo "$as_me:26252: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:25977: \$? = $ac_status" >&5
++  echo "$as_me:26255: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_type_struct_sockaddr_sa_len=yes
+ else
+@@ -25984,7 +26262,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:25987: result: $ac_cv_type_struct_sockaddr_sa_len" >&5
++echo "$as_me:26265: result: $ac_cv_type_struct_sockaddr_sa_len" >&5
+ echo "${ECHO_T}$ac_cv_type_struct_sockaddr_sa_len" >&6
+ if test "$ac_cv_type_struct_sockaddr_sa_len" = yes; then
+ 
+@@ -25997,14 +26275,14 @@
+ for i in int8_t int16_t int32_t int64_t \
+ 	u_int8_t u_int16_t u_int32_t u_int64_t \
+ 	uint8_t uint16_t uint32_t uint64_t; do
+-	echo "$as_me:26000: checking for $i" >&5
++	echo "$as_me:26278: checking for $i" >&5
+ echo $ECHO_N "checking for $i... $ECHO_C" >&6
+ 
+ if eval "test \"\${ac_cv_type_$i+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 26007 "configure"
++#line 26285 "configure"
+ #include "confdefs.h"
+ 
+ #ifdef HAVE_INTTYPES_H
+@@ -26033,16 +26311,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:26036: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:26314: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:26039: \$? = $ac_status" >&5
++  echo "$as_me:26317: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:26042: \"$ac_try\"") >&5
++  { (eval echo "$as_me:26320: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:26045: \$? = $ac_status" >&5
++  echo "$as_me:26323: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval ac_cv_type_$i=yes
+ else
+@@ -26061,7 +26339,7 @@
+ EOF
+ 
+ 	fi
+-	echo "$as_me:26064: result: $ac_res" >&5
++	echo "$as_me:26342: result: $ac_res" >&5
+ echo "${ECHO_T}$ac_res" >&6
+ done
+ 
+@@ -26077,7 +26355,7 @@
+ if test "${with_openssl_lib+set}" = set; then
+   withval="$with_openssl_lib"
+   if test "$withval" = "yes" -o "$withval" = "no"; then
+-  { { echo "$as_me:26080: error: No argument for --with-openssl-lib" >&5
++  { { echo "$as_me:26358: error: No argument for --with-openssl-lib" >&5
+ echo "$as_me: error: No argument for --with-openssl-lib" >&2;}
+    { (exit 1); exit 1; }; }
+ elif test "X$with_openssl" = "X"; then
+@@ -26089,7 +26367,7 @@
+ if test "${with_openssl_include+set}" = set; then
+   withval="$with_openssl_include"
+   if test "$withval" = "yes" -o "$withval" = "no"; then
+-  { { echo "$as_me:26092: error: No argument for --with-openssl-include" >&5
++  { { echo "$as_me:26370: error: No argument for --with-openssl-include" >&5
+ echo "$as_me: error: No argument for --with-openssl-include" >&2;}
+    { (exit 1); exit 1; }; }
+ elif test "X$with_openssl" = "X"; then
+@@ -26112,7 +26390,7 @@
+ 
+ DIR_des=
+ 
+-echo "$as_me:26115: checking for crypto library" >&5
++echo "$as_me:26393: checking for crypto library" >&5
+ echo $ECHO_N "checking for crypto library... $ECHO_C" >&6
+ 
+ if test "$crypto_lib" = "unknown" -a "$with_openssl" != "no"; then
+@@ -26134,7 +26412,7 @@
+   LIB_des_appl="$LIB_des"
+   LIBS="${LIBS} ${LIB_des}"
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 26137 "configure"
++#line 26415 "configure"
+ #include "confdefs.h"
+ 
+   #include <openssl/md4.h>
+@@ -26163,16 +26441,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:26166: \"$ac_link\"") >&5
++if { (eval echo "$as_me:26444: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:26169: \$? = $ac_status" >&5
++  echo "$as_me:26447: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:26172: \"$ac_try\"") >&5
++  { (eval echo "$as_me:26450: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:26175: \$? = $ac_status" >&5
++  echo "$as_me:26453: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+ 
+   crypto_lib=libcrypto
+@@ -26181,7 +26459,7 @@
+ #define HAVE_OPENSSL 1
+ EOF
+ 
+-  echo "$as_me:26184: result: libcrypto" >&5
++  echo "$as_me:26462: result: libcrypto" >&5
+ echo "${ECHO_T}libcrypto" >&6
+ else
+   echo "$as_me: failed program was:" >&5
+@@ -26209,7 +26487,7 @@
+   LIB_des_appl="$LIB_des"
+   LIBS="${LIBS} ${LIB_des}"
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 26212 "configure"
++#line 26490 "configure"
+ #include "confdefs.h"
+ 
+   #undef KRB5 /* makes md4.h et al unhappy */
+@@ -26240,18 +26518,18 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:26243: \"$ac_link\"") >&5
++if { (eval echo "$as_me:26521: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:26246: \$? = $ac_status" >&5
++  echo "$as_me:26524: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:26249: \"$ac_try\"") >&5
++  { (eval echo "$as_me:26527: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:26252: \$? = $ac_status" >&5
++  echo "$as_me:26530: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  crypto_lib=krb4; echo "$as_me:26254: result: krb4's libdes" >&5
++  crypto_lib=krb4; echo "$as_me:26532: result: krb4's libdes" >&5
+ echo "${ECHO_T}krb4's libdes" >&6
+ else
+   echo "$as_me: failed program was:" >&5
+@@ -26270,12 +26548,12 @@
+   LIB_des_so='$(top_builddir)/lib/des/.libs/libdes.so'
+   LIB_des_appl="-ldes"
+ 
+-  echo "$as_me:26273: result: included libdes" >&5
++  echo "$as_me:26551: result: included libdes" >&5
+ echo "${ECHO_T}included libdes" >&6
+ 
+ fi
+ 
+-echo "$as_me:26278: checking for el_init" >&5
++echo "$as_me:26556: checking for el_init" >&5
+ echo $ECHO_N "checking for el_init... $ECHO_C" >&6
+ if test "${ac_cv_funclib_el_init+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -26293,7 +26571,7 @@
+ 		esac
+ 		LIBS=" $ac_lib $LIB_tgetent $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 26296 "configure"
++#line 26574 "configure"
+ #include "confdefs.h"
+ 
+ int
+@@ -26305,16 +26583,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:26308: \"$ac_link\"") >&5
++if { (eval echo "$as_me:26586: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:26311: \$? = $ac_status" >&5
++  echo "$as_me:26589: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:26314: \"$ac_try\"") >&5
++  { (eval echo "$as_me:26592: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:26317: \$? = $ac_status" >&5
++  echo "$as_me:26595: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_el_init=$ac_lib; else ac_cv_funclib_el_init=yes; fi";break
+ else
+@@ -26336,13 +26614,13 @@
+ for ac_func in el_init
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:26339: checking for $ac_func" >&5
++echo "$as_me:26617: checking for $ac_func" >&5
+ echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 26345 "configure"
++#line 26623 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char $ac_func (); below.  */
+@@ -26373,16 +26651,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:26376: \"$ac_link\"") >&5
++if { (eval echo "$as_me:26654: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:26379: \$? = $ac_status" >&5
++  echo "$as_me:26657: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:26382: \"$ac_try\"") >&5
++  { (eval echo "$as_me:26660: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:26385: \$? = $ac_status" >&5
++  echo "$as_me:26663: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   eval "$as_ac_var=yes"
+ else
+@@ -26392,7 +26670,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:26395: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "$as_me:26673: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+   cat >>confdefs.h <<EOF
+@@ -26416,13 +26694,13 @@
+ #define $ac_tr_func 1
+ EOF
+ 
+-	echo "$as_me:26419: result: yes" >&5
++	echo "$as_me:26697: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+ 	eval "ac_cv_func_el_init=no"
+ 	eval "LIB_el_init="
+-	echo "$as_me:26425: result: no" >&5
++	echo "$as_me:26703: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+@@ -26436,20 +26714,20 @@
+ #define $ac_tr_lib 1
+ EOF
+ 
+-	echo "$as_me:26439: result: yes, in $ac_res" >&5
++	echo "$as_me:26717: result: yes, in $ac_res" >&5
+ echo "${ECHO_T}yes, in $ac_res" >&6
+ 	;;
+ esac
+ 
+ if test "$ac_cv_func_el_init" = yes ; then
+-	echo "$as_me:26445: checking for four argument el_init" >&5
++	echo "$as_me:26723: checking for four argument el_init" >&5
+ echo $ECHO_N "checking for four argument el_init... $ECHO_C" >&6
+ if test "${ac_cv_func_el_init_four+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ 		cat >conftest.$ac_ext <<_ACEOF
+-#line 26452 "configure"
++#line 26730 "configure"
+ #include "confdefs.h"
+ #include <stdio.h>
+ 			#include <histedit.h>
+@@ -26462,16 +26740,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:26465: \"$ac_compile\"") >&5
++if { (eval echo "$as_me:26743: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+-  echo "$as_me:26468: \$? = $ac_status" >&5
++  echo "$as_me:26746: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:26471: \"$ac_try\"") >&5
++  { (eval echo "$as_me:26749: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:26474: \$? = $ac_status" >&5
++  echo "$as_me:26752: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_func_el_init_four=yes
+ else
+@@ -26481,7 +26759,7 @@
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:26484: result: $ac_cv_func_el_init_four" >&5
++echo "$as_me:26762: result: $ac_cv_func_el_init_four" >&5
+ echo "${ECHO_T}$ac_cv_func_el_init_four" >&6
+ 	if test "$ac_cv_func_el_init_four" = yes; then
+ 
+@@ -26499,8 +26777,10 @@
+ 	:
+ elif test "$ac_cv_func_el_init" = yes; then
+ 	ac_foo=yes
++	DIR_readline="editline"
+ 	LIB_readline="\$(top_builddir)/lib/editline/libel_compat.la $LIB_el_init"
+ else
++	DIR_readline="editline"
+ 	LIB_readline='$(top_builddir)/lib/editline/libeditline.la'
+ fi
+ 
+@@ -26511,9 +26791,6 @@
+   el_compat_TRUE='#'
+   el_compat_FALSE=
+ fi
+-if test "$readline_libdir"; then
+-	LIB_readline="-rpath $readline_libdir $LIB_readline"
+-fi
+ LIB_readline="$LIB_readline \$(LIB_tgetent)"
+ 
+ cat >>confdefs.h <<\EOF
+@@ -26552,13 +26829,13 @@
+ #
+ # And also something wierd has happend with dec-osf1, fallback to bsd-ptys
+ 
+-echo "$as_me:26555: checking for getmsg" >&5
++echo "$as_me:26832: checking for getmsg" >&5
+ echo $ECHO_N "checking for getmsg... $ECHO_C" >&6
+ if test "${ac_cv_func_getmsg+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 26561 "configure"
++#line 26838 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+     which can conflict with char getmsg (); below.  */
+@@ -26589,16 +26866,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:26592: \"$ac_link\"") >&5
++if { (eval echo "$as_me:26869: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:26595: \$? = $ac_status" >&5
++  echo "$as_me:26872: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:26598: \"$ac_try\"") >&5
++  { (eval echo "$as_me:26875: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:26601: \$? = $ac_status" >&5
++  echo "$as_me:26878: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_func_getmsg=yes
+ else
+@@ -26608,12 +26885,12 @@
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:26611: result: $ac_cv_func_getmsg" >&5
++echo "$as_me:26888: result: $ac_cv_func_getmsg" >&5
+ echo "${ECHO_T}$ac_cv_func_getmsg" >&6
+ 
+ if test "$ac_cv_func_getmsg" = "yes"; then
+ 
+-echo "$as_me:26616: checking for working getmsg" >&5
++echo "$as_me:26893: checking for working getmsg" >&5
+ echo $ECHO_N "checking for working getmsg... $ECHO_C" >&6
+ if test "${ac_cv_func_getmsg_work+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -26622,7 +26899,7 @@
+   ac_cv_func_getmsg_work=no
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 26625 "configure"
++#line 26902 "configure"
+ #include "confdefs.h"
+ 
+ #include <stdio.h>
+@@ -26639,15 +26916,15 @@
+ 
+ _ACEOF
+ rm -f conftest$ac_exeext
+-if { (eval echo "$as_me:26642: \"$ac_link\"") >&5
++if { (eval echo "$as_me:26919: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:26645: \$? = $ac_status" >&5
++  echo "$as_me:26922: \$? = $ac_status" >&5
+   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
+-  { (eval echo "$as_me:26647: \"$ac_try\"") >&5
++  { (eval echo "$as_me:26924: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:26650: \$? = $ac_status" >&5
++  echo "$as_me:26927: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   ac_cv_func_getmsg_work=yes
+ else
+@@ -26659,7 +26936,7 @@
+ rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
+ fi
+ fi
+-echo "$as_me:26662: result: $ac_cv_func_getmsg_work" >&5
++echo "$as_me:26939: result: $ac_cv_func_getmsg_work" >&5
+ echo "${ECHO_T}$ac_cv_func_getmsg_work" >&6
+ test "$ac_cv_func_getmsg_work" = "yes" &&
+ 
+@@ -26670,7 +26947,7 @@
+ fi
+ 
+ if test "$ac_cv_func_getmsg_work" = yes; then
+-echo "$as_me:26673: checking for streamspty" >&5
++echo "$as_me:26950: checking for streamspty" >&5
+ echo $ECHO_N "checking for streamspty... $ECHO_C" >&6
+ case "$host" in
+ *-*-aix3*|*-*-sunos4*|*-*-osf*|*-*-hpux1[01]*)
+@@ -26680,7 +26957,7 @@
+ 	krb_cv_sys_streamspty=yes
+ 	;;
+ esac
+-echo "$as_me:26683: result: $krb_cv_sys_streamspty" >&5
++echo "$as_me:26960: result: $krb_cv_sys_streamspty" >&5
+ echo "${ECHO_T}$krb_cv_sys_streamspty" >&6
+ fi
+ if test "$krb_cv_sys_streamspty" = yes; then
+@@ -26693,7 +26970,7 @@
+ 
+ # Extract the first word of "compile_et", so it can be a program name with args.
+ set dummy compile_et; ac_word=$2
+-echo "$as_me:26696: checking for $ac_word" >&5
++echo "$as_me:26973: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_COMPILE_ET+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -26708,7 +26985,7 @@
+   test -z "$ac_dir" && ac_dir=.
+   $as_executable_p "$ac_dir/$ac_word" || continue
+ ac_cv_prog_COMPILE_ET="compile_et"
+-echo "$as_me:26711: found $ac_dir/$ac_word" >&5
++echo "$as_me:26988: found $ac_dir/$ac_word" >&5
+ break
+ done
+ 
+@@ -26716,17 +26993,17 @@
+ fi
+ COMPILE_ET=$ac_cv_prog_COMPILE_ET
+ if test -n "$COMPILE_ET"; then
+-  echo "$as_me:26719: result: $COMPILE_ET" >&5
++  echo "$as_me:26996: result: $COMPILE_ET" >&5
+ echo "${ECHO_T}$COMPILE_ET" >&6
+ else
+-  echo "$as_me:26722: result: no" >&5
++  echo "$as_me:26999: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+ krb_cv_compile_et="no"
+ if test "${COMPILE_ET}" = "compile_et"; then
+ 
+-echo "$as_me:26729: checking whether compile_et has the features we need" >&5
++echo "$as_me:27006: checking whether compile_et has the features we need" >&5
+ echo $ECHO_N "checking whether compile_et has the features we need... $ECHO_C" >&6
+ cat > conftest_et.et <<'EOF'
+ error_table conf
+@@ -26743,12 +27020,12 @@
+     CPPFLAGS="-I/usr/include/et ${CPPFLAGS}"
+   fi
+     if test "$cross_compiling" = yes; then
+-  { { echo "$as_me:26746: error: cannot run test program while cross compiling" >&5
++  { { echo "$as_me:27023: error: cannot run test program while cross compiling" >&5
+ echo "$as_me: error: cannot run test program while cross compiling" >&2;}
+    { (exit 1); exit 1; }; }
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 26751 "configure"
++#line 27028 "configure"
+ #include "confdefs.h"
+ 
+ #include <com_err.h>
+@@ -26758,15 +27035,15 @@
+ 
+ _ACEOF
+ rm -f conftest$ac_exeext
+-if { (eval echo "$as_me:26761: \"$ac_link\"") >&5
++if { (eval echo "$as_me:27038: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:26764: \$? = $ac_status" >&5
++  echo "$as_me:27041: \$? = $ac_status" >&5
+   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
+-  { (eval echo "$as_me:26766: \"$ac_try\"") >&5
++  { (eval echo "$as_me:27043: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:26769: \$? = $ac_status" >&5
++  echo "$as_me:27046: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   krb_cv_compile_et="yes"
+ else
+@@ -26778,7 +27055,7 @@
+ rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
+ fi
+ fi
+-echo "$as_me:26781: result: ${krb_cv_compile_et}" >&5
++echo "$as_me:27058: result: ${krb_cv_compile_et}" >&5
+ echo "${ECHO_T}${krb_cv_compile_et}" >&6
+ rm -fr conftest*
+ fi
+@@ -26786,10 +27063,10 @@
+ if test "${krb_cv_compile_et}" = "yes"; then
+     krb_cv_save_LIBS="${LIBS}"
+   LIBS="${LIBS} -lcom_err"
+-  echo "$as_me:26789: checking for com_err" >&5
++  echo "$as_me:27066: checking for com_err" >&5
+ echo $ECHO_N "checking for com_err... $ECHO_C" >&6
+   cat >conftest.$ac_ext <<_ACEOF
+-#line 26792 "configure"
++#line 27069 "configure"
+ #include "confdefs.h"
+ #include <com_err.h>
+ int
+@@ -26804,16 +27081,16 @@
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:26807: \"$ac_link\"") >&5
++if { (eval echo "$as_me:27084: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+-  echo "$as_me:26810: \$? = $ac_status" >&5
++  echo "$as_me:27087: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+          { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:26813: \"$ac_try\"") >&5
++  { (eval echo "$as_me:27090: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+-  echo "$as_me:26816: \$? = $ac_status" >&5
++  echo "$as_me:27093: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   krb_cv_com_err="yes"
+ else
+@@ -26822,7 +27099,7 @@
+ krb_cv_com_err="no"; CPPFLAGS="${save_CPPFLAGS}"
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+-  echo "$as_me:26825: result: ${krb_cv_com_err}" >&5
++  echo "$as_me:27102: result: ${krb_cv_com_err}" >&5
+ echo "${ECHO_T}${krb_cv_com_err}" >&6
+   LIBS="${krb_cv_save_LIBS}"
+ else
+@@ -26834,7 +27111,7 @@
+     LIB_com_err="-lcom_err"
+     LIB_com_err_a=""
+     LIB_com_err_so=""
+-    { echo "$as_me:26837: Using the already-installed com_err" >&5
++    { echo "$as_me:27114: Using the already-installed com_err" >&5
+ echo "$as_me: Using the already-installed com_err" >&6;}
+ else
+     COMPILE_ET="\$(top_builddir)/lib/com_err/compile_et"
+@@ -26842,11 +27119,11 @@
+     LIB_com_err="\$(top_builddir)/lib/com_err/libcom_err.la"
+     LIB_com_err_a="\$(top_builddir)/lib/com_err/.libs/libcom_err.a"
+     LIB_com_err_so="\$(top_builddir)/lib/com_err/.libs/libcom_err.so"
+-    { echo "$as_me:26845: Using our own com_err" >&5
++    { echo "$as_me:27122: Using our own com_err" >&5
+ echo "$as_me: Using our own com_err" >&6;}
+ fi
+ 
+-echo "$as_me:26849: checking which authentication modules should be built" >&5
++echo "$as_me:27126: checking which authentication modules should be built" >&5
+ echo $ECHO_N "checking which authentication modules should be built... $ECHO_C" >&6
+ 
+ LIB_AUTH_SUBDIRS=
+@@ -26863,7 +27140,7 @@
+ *-*-irix[56]*) LIB_AUTH_SUBDIRS="$LIB_AUTH_SUBDIRS afskauthlib" ;;
+ esac
+ 
+-echo "$as_me:26866: result: $LIB_AUTH_SUBDIRS" >&5
++echo "$as_me:27143: result: $LIB_AUTH_SUBDIRS" >&5
+ echo "${ECHO_T}$LIB_AUTH_SUBDIRS" >&6
+ 
+ test "x$prefix" = xNONE && prefix=$ac_default_prefix
+@@ -26967,7 +27244,7 @@
+ : ${CONFIG_STATUS=./config.status}
+ ac_clean_files_save=$ac_clean_files
+ ac_clean_files="$ac_clean_files $CONFIG_STATUS"
+-{ echo "$as_me:26970: creating $CONFIG_STATUS" >&5
++{ echo "$as_me:27247: creating $CONFIG_STATUS" >&5
+ echo "$as_me: creating $CONFIG_STATUS" >&6;}
+ cat >$CONFIG_STATUS <<_ACEOF
+ #! $SHELL
+@@ -27143,7 +27420,7 @@
+     echo "$ac_cs_version"; exit 0 ;;
+   --he | --h)
+     # Conflict between --help and --header
+-    { { echo "$as_me:27146: error: ambiguous option: $1
++    { { echo "$as_me:27423: error: ambiguous option: $1
+ Try \`$0 --help' for more information." >&5
+ echo "$as_me: error: ambiguous option: $1
+ Try \`$0 --help' for more information." >&2;}
+@@ -27162,7 +27439,7 @@
+     ac_need_defaults=false;;
+ 
+   # This is an error.
+-  -*) { { echo "$as_me:27165: error: unrecognized option: $1
++  -*) { { echo "$as_me:27442: error: unrecognized option: $1
+ Try \`$0 --help' for more information." >&5
+ echo "$as_me: error: unrecognized option: $1
+ Try \`$0 --help' for more information." >&2;}
+@@ -27197,16 +27474,7 @@
+ # INIT-COMMANDS section.
+ #
+ 
+-am_indx=1
+-  for am_file in include/config.h; do
+-    case " $CONFIG_HEADERS " in
+-    *" $am_file "*)
+-      echo timestamp > `echo $am_file | sed 's%:.*%%;s%[^/]*$%%'`stamp-h$am_indx
+-      ;;
+-    esac
+-    am_indx=\`expr \$am_indx + 1\`
+-  done
+-AMDEP="$AMDEP"
++AMDEP_TRUE="$AMDEP_TRUE"
+ ac_aux_dir="$ac_aux_dir"
+ 
+ EOF
+@@ -27269,9 +27537,8 @@
+   "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
+   "tools/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
+   "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
+-  "default-2" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-2" ;;
+   "include/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
+-  *) { { echo "$as_me:27274: error: invalid argument: $ac_config_target" >&5
++  *) { { echo "$as_me:27541: error: invalid argument: $ac_config_target" >&5
+ echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
+    { (exit 1); exit 1; }; };;
+   esac
+@@ -27373,11 +27640,15 @@
+ s,@MAKEINFO@,$MAKEINFO,;t t
+ s,@AMTAR@,$AMTAR,;t t
+ s,@install_sh@,$install_sh,;t t
++s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
+ s,@AWK@,$AWK,;t t
+ s,@SET_MAKE@,$SET_MAKE,;t t
+-s,@AMDEP@,$AMDEP,;t t
++s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
++s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
+ s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
+ s,@DEPDIR@,$DEPDIR,;t t
++s,@am__include@,$am__include,;t t
++s,@am__quote@,$am__quote,;t t
+ s,@CCDEPMODE@,$CCDEPMODE,;t t
+ s,@build@,$build,;t t
+ s,@build_cpu@,$build_cpu,;t t
+@@ -27439,8 +27710,10 @@
+ s,@DIR_roken@,$DIR_roken,;t t
+ s,@LIB_roken@,$LIB_roken,;t t
+ s,@INCLUDES_roken@,$INCLUDES_roken,;t t
++s,@DIR_openldap@,$DIR_openldap,;t t
+ s,@INCLUDE_openldap@,$INCLUDE_openldap,;t t
+ s,@LIB_openldap@,$LIB_openldap,;t t
++s,@DIR_krb4@,$DIR_krb4,;t t
+ s,@INCLUDE_krb4@,$INCLUDE_krb4,;t t
+ s,@LIB_krb4@,$LIB_krb4,;t t
+ s,@EXTRA_LIB45@,$EXTRA_LIB45,;t t
+@@ -27468,8 +27741,10 @@
+ s,@CATMAN_TRUE@,$CATMAN_TRUE,;t t
+ s,@CATMAN_FALSE@,$CATMAN_FALSE,;t t
+ s,@CATMANEXT@,$CATMANEXT,;t t
++s,@DIR_readline@,$DIR_readline,;t t
+ s,@INCLUDE_readline@,$INCLUDE_readline,;t t
+ s,@LIB_readline@,$LIB_readline,;t t
++s,@DIR_hesiod@,$DIR_hesiod,;t t
+ s,@INCLUDE_hesiod@,$INCLUDE_hesiod,;t t
+ s,@LIB_hesiod@,$LIB_hesiod,;t t
+ s,@AIX_TRUE@,$AIX_TRUE,;t t
+@@ -27630,7 +27905,7 @@
+   esac
+ 
+   if test x"$ac_file" != x-; then
+-    { echo "$as_me:27633: creating $ac_file" >&5
++    { echo "$as_me:27908: creating $ac_file" >&5
+ echo "$as_me: creating $ac_file" >&6;}
+     rm -f "$ac_file"
+   fi
+@@ -27648,7 +27923,7 @@
+       -) echo $tmp/stdin ;;
+       [\\/$]*)
+          # Absolute (can't be DOS-style, as IFS=:)
+-         test -f "$f" || { { echo "$as_me:27651: error: cannot find input file: $f" >&5
++         test -f "$f" || { { echo "$as_me:27926: error: cannot find input file: $f" >&5
+ echo "$as_me: error: cannot find input file: $f" >&2;}
+    { (exit 1); exit 1; }; }
+          echo $f;;
+@@ -27661,7 +27936,7 @@
+            echo $srcdir/$f
+          else
+            # /dev/null tree
+-           { { echo "$as_me:27664: error: cannot find input file: $f" >&5
++           { { echo "$as_me:27939: error: cannot find input file: $f" >&5
+ echo "$as_me: error: cannot find input file: $f" >&2;}
+    { (exit 1); exit 1; }; }
+          fi;;
+@@ -27722,7 +27997,7 @@
+   * )   ac_file_in=$ac_file.in ;;
+   esac
+ 
+-  test x"$ac_file" != x- && { echo "$as_me:27725: creating $ac_file" >&5
++  test x"$ac_file" != x- && { echo "$as_me:28000: creating $ac_file" >&5
+ echo "$as_me: creating $ac_file" >&6;}
+ 
+   # First look for the input files in the build tree, otherwise in the
+@@ -27733,7 +28008,7 @@
+       -) echo $tmp/stdin ;;
+       [\\/$]*)
+          # Absolute (can't be DOS-style, as IFS=:)
+-         test -f "$f" || { { echo "$as_me:27736: error: cannot find input file: $f" >&5
++         test -f "$f" || { { echo "$as_me:28011: error: cannot find input file: $f" >&5
+ echo "$as_me: error: cannot find input file: $f" >&2;}
+    { (exit 1); exit 1; }; }
+          echo $f;;
+@@ -27746,7 +28021,7 @@
+            echo $srcdir/$f
+          else
+            # /dev/null tree
+-           { { echo "$as_me:27749: error: cannot find input file: $f" >&5
++           { { echo "$as_me:28024: error: cannot find input file: $f" >&5
+ echo "$as_me: error: cannot find input file: $f" >&2;}
+    { (exit 1); exit 1; }; }
+          fi;;
+@@ -27863,7 +28138,7 @@
+   rm -f $tmp/in
+   if test x"$ac_file" != x-; then
+     if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
+-      { echo "$as_me:27866: $ac_file is unchanged" >&5
++      { echo "$as_me:28141: $ac_file is unchanged" >&5
+ echo "$as_me: $ac_file is unchanged" >&6;}
+     else
+       ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+@@ -27902,6 +28177,12 @@
+     cat $tmp/config.h
+     rm -f $tmp/config.h
+   fi
++  # Run the commands associated with the file.
++  case $ac_file in
++    include/config.h ) # update the timestamp
++echo timestamp >"include/stamp-h1"
++ ;;
++  esac
+ done
+ EOF
+ cat >>$CONFIG_STATUS <<\EOF
+@@ -27914,9 +28195,8 @@
+   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
+ 
+   case $ac_dest in
+-    default-1 ) test -z "$CONFIG_HEADERS" || echo timestamp >	   include/stamp-h ;;
+-    default-2 )
+-test x"$AMDEP" != x"" ||
++    default-1 )
++test x"$AMDEP_TRUE" != x"" ||
+ for mf in $CONFIG_FILES; do
+   case "$mf" in
+   Makefile) dirpart=.;;
+diff -ruN heimdal-0.4e-old/doc/Makefile.in heimdal-0.4e/doc/Makefile.in
+--- heimdal-0.4e-old/doc/Makefile.in	Thu Sep  6 22:25:46 2001
++++ heimdal-0.4e/doc/Makefile.in	Wed Nov 21 11:52:41 2001
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.6 1999/03/20 13:58:16 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,9 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,6 +89,7 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+@@ -105,7 +109,6 @@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,20 +122,17 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+ 
+-# $Id: Makefile.am,v 1.6 1999/03/20 13:58:16 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
+-
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b no-texinfo.tex
+ 
+ SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+@@ -189,13 +189,12 @@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+@@ -203,111 +202,73 @@
+ heimdal_TEXINFOS = intro.texi install.texi setup.texi kerberos4.texi
+ subdir = doc
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../include/config.h
+-CONFIG_CLEAN_FILES = 
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++depcomp =
+ CFLAGS = @CFLAGS@
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES = 
+-TEXI2DVI = texi2dvi
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++DIST_SOURCES =
+ INFO_DEPS = heimdal.info
+ DVIS = heimdal.dvi
+ TEXINFOS = heimdal.texi
+-depcomp = 
+-DIST_COMMON =  $(heimdal_TEXINFOS) Makefile.am Makefile.in mdate-sh
++DIST_COMMON = $(heimdal_TEXINFOS) Makefile.am Makefile.in mdate-sh
++all: all-am
+ 
++.SUFFIXES:
++.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .dvi .info .ps .texi
+ 
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-GZIP_ENV = --best
+-all: all-redirect
+-.SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .dvi .info .ps .texi .texinfo .txi
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign doc/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  doc/Makefile
++Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ 
+ heimdal.info: heimdal.texi $(heimdal_TEXINFOS)
+ heimdal.dvi: heimdal.texi $(heimdal_TEXINFOS)
+ 
+-
+-DVIPS = dvips
+-
+ .texi.info:
+ 	@cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
+ 	cd $(srcdir) \
+-	  && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
++	  && $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) \
++	       `echo $< | sed 's,.*/,,'`
+ 
+ .texi.dvi:
+ 	TEXINPUTS=$(srcdir):$$TEXINPUTS \
+-	  MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
++	MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
++	$(TEXI2DVI) $<
+ 
+ .texi:
+ 	@cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
+ 	cd $(srcdir) \
+-	  && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
+-
+-.texinfo.info:
+-	@cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
+-	cd $(srcdir) \
+-	  && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
+-
+-.texinfo:
+-	@cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
+-	cd $(srcdir) \
+-	  && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
+-
+-.texinfo.dvi:
+-	TEXINPUTS=$(srcdir):$$TEXINPUTS \
+-	  MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
+-
+-.txi.info:
+-	@cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
+-	cd $(srcdir) \
+-	  && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
+-
+-.txi.dvi:
+-	TEXINPUTS=$(srcdir):$$TEXINPUTS \
+-	  MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
++	  && $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) \
++	       `echo $< | sed 's,.*/,,'`
+ 
+-.txi:
+-	@cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
+-	cd $(srcdir) \
+-	  && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
++MAKEINFO = @MAKEINFO@
++TEXI2DVI = texi2dvi
++DVIPS = dvips
+ .dvi.ps:
+ 	$(DVIPS) $< -o $@
+ 
+-install-info-am: $(INFO_DEPS)
+-	@$(NORMAL_INSTALL)
+-	$(mkinstalldirs) $(DESTDIR)$(infodir)
+-	@list='$(INFO_DEPS)'; \
+-	for file in $$list; do \
+-	  d=$(srcdir); \
+-	  for ifile in `CDPATH=: && cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
+-	    if test -f $$d/$$ifile; then \
+-	      echo " $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile"; \
+-	      $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile; \
+-	    else : ; fi; \
+-	  done; \
+-	done
+-	@$(POST_INSTALL)
+-	@if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
+-	  list='$(INFO_DEPS)'; \
+-	  for file in $$list; do \
+-	    echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\
+-	    install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :;\
+-	  done; \
+-	else : ; fi
+-
+-uninstall-info:
++uninstall-info-am:
+ 	$(PRE_UNINSTALL)
+-	@if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
++	@if (install-info --version && \
++	     install-info --version | fgrep -i -v debian) >/dev/null 2>&1; then \
+ 	  list='$(INFO_DEPS)'; \
+ 	  for file in $$list; do \
+ 	    echo " install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$file"; \
+@@ -334,18 +295,13 @@
+ 	done
+ 
+ mostlyclean-aminfo:
+-	-rm -f heimdal.aux heimdal.cp heimdal.cps heimdal.dvi heimdal.fn \
+-	  heimdal.fns heimdal.pgs heimdal.ky heimdal.kys heimdal.ps \
+-	  heimdal.log heimdal.pg heimdal.toc heimdal.tp heimdal.tps \
+-	  heimdal.vr heimdal.vrs heimdal.op heimdal.tr heimdal.cv \
+-	  heimdal.cn heimdal.cm heimdal.ov
+-
+-clean-aminfo:
+-
+-distclean-aminfo:
++	-rm -f heimdal.aux heimdal.cp heimdal.cps heimdal.dvi heimdal.fn heimdal.ky \
++	  heimdal.log heimdal.pg heimdal.ps heimdal.toc heimdal.tp \
++	  heimdal.vr
+ 
+ maintainer-clean-aminfo:
+-	cd $(srcdir) && for i in $(INFO_DEPS); do \
++	cd $(srcdir) && \
++	for i in $(INFO_DEPS); do \
+ 	  rm -f $$i; \
+ 	  if test "`echo $$i-[0-9]*`" != "$$i-[0-9]*"; then \
+ 	    rm -f $$i-[0-9]*; \
+@@ -355,11 +311,18 @@
+ TAGS:
+ 
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++
++top_distdir = ..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -369,76 +332,112 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-info
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am: $(INFO_DEPS)
+-info: info-am
+-dvi-am: $(DVIS)
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-info dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-install-exec-am:
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++all-am: Makefile $(INFO_DEPS) all-local
+ 
+-install-data-am: install-info-am install-data-local
+-install-data: install-data-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(infodir)
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am: uninstall-info
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(INFO_DEPS) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(infodir)
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-aminfo mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-generic clean-libtool mostlyclean-am
+ 
+-clean-am:  clean-aminfo clean-generic mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-generic distclean-libtool
+ 
+-distclean-am:  distclean-aminfo distclean-generic clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am: $(DVIS)
+ 
+-maintainer-clean-am:  maintainer-clean-aminfo 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."
++info: info-am
++
++info-am: $(INFO_DEPS)
++
++install-data-am: install-data-local install-info-am
++
++install-exec-am:
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-info-am: $(INFO_DEPS)
++	@$(NORMAL_INSTALL)
++	$(mkinstalldirs) $(DESTDIR)$(infodir)
++	@list='$(INFO_DEPS)'; \
++	for file in $$list; do \
++	  d=$(srcdir); \
++	  for ifile in `CDPATH=: && cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
++	    if test -f $$d/$$ifile; then \
++	      echo " $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile"; \
++	      $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile; \
++	    else : ; fi; \
++	  done; \
++	done
++	@$(POST_INSTALL)
++	@if (install-info --version && \
++	     install-info --version | fgrep -i -v debian) >/dev/null 2>&1; then \
++	  list='$(INFO_DEPS)'; \
++	  for file in $$list; do \
++	    echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\
++	    install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :;\
++	  done; \
++	else : ; fi
++install-man:
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-am
+ 
+-.PHONY: install-info-am uninstall-info mostlyclean-aminfo \
+-distclean-aminfo clean-aminfo maintainer-clean-aminfo tags distdir \
+-info-am info dvi-am dvi check-local check check-am installcheck-am \
+-installcheck install-exec-am install-exec install-data-local \
+-install-data-am install-data install-am install uninstall-am uninstall \
+-all-local all-redirect all-am all install-strip installdirs \
+-mostlyclean-generic distclean-generic clean-generic \
+-maintainer-clean-generic clean mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-aminfo \
++	maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-aminfo mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-info-am
++
++.PHONY: all all-am all-local check check-am check-local clean \
++	clean-generic clean-libtool dist-info distclean \
++	distclean-generic distclean-libtool distdir dvi dvi-am info \
++	info-am install install-am install-data install-data-am \
++	install-data-local install-exec install-exec-am install-info \
++	install-info-am install-man install-strip installcheck \
++	installcheck-am installdirs maintainer-clean \
++	maintainer-clean-aminfo maintainer-clean-generic mostlyclean \
++	mostlyclean-aminfo mostlyclean-generic mostlyclean-libtool \
++	uninstall uninstall-am uninstall-info-am
+ 
+ 
+ install-suid-programs:
+@@ -568,7 +567,6 @@
+ 	  echo "$$dashes"; \
+ 	  test "$$failed" -eq 0; \
+ 	fi
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/include/Makefile.in heimdal-0.4e/include/Makefile.in
+--- heimdal-0.4e-old/include/Makefile.in	Thu Sep  6 22:22:40 2001
++++ heimdal-0.4e/include/Makefile.in	Wed Nov 21 11:52:41 2001
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.31 2000/07/02 16:08:29 assar Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,9 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,6 +89,7 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+@@ -105,7 +109,6 @@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,20 +122,17 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+ 
+-# $Id: Makefile.am,v 1.31 2000/07/02 16:08:29 assar Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
+-
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+ SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+@@ -189,13 +189,13 @@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
++
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+ CHECK_LOCAL = 
+ 
+ SUBDIRS = kadm5
+@@ -243,54 +243,63 @@
+ subdir = include
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+ CONFIG_HEADER = config.h
+-CONFIG_CLEAN_FILES = 
+-noinst_PROGRAMS =  bits$(EXEEXT)
+-PROGRAMS =  $(noinst_PROGRAMS)
++CONFIG_CLEAN_FILES =
++noinst_PROGRAMS = bits$(EXEEXT)
++PROGRAMS = $(noinst_PROGRAMS)
+ 
++bits_SOURCES = bits.c
++bits_OBJECTS = bits.$(OBJEXT)
++bits_LDADD = $(LDADD)
++bits_DEPENDENCIES =
++bits_LDFLAGS =
+ 
+-DEFS = @DEFS@ -I. -I$(srcdir) -I.
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I.
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+-bits_SOURCES = bits.c
+-bits_OBJECTS =  bits.$(OBJEXT)
+-bits_LDADD = $(LDADD)
+-bits_DEPENDENCIES = 
+-bits_LDFLAGS = 
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  bits.c
+-HEADERS =  $(include_HEADERS)
+-
+-depcomp = 
+-DIST_COMMON =  $(include_HEADERS) ./stamp-h.in Makefile.am Makefile.in \
+-config.h.in
+-
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++DIST_SOURCES = bits.c
++HEADERS = $(include_HEADERS)
+ 
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-GZIP_ENV = --best
+-DIST_SUBDIRS =  $(SUBDIRS)
++RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \
++	uninstall-info-recursive all-recursive install-data-recursive \
++	install-exec-recursive installdirs-recursive install-recursive \
++	uninstall-recursive check-recursive installcheck-recursive
++DIST_COMMON = $(include_HEADERS) ./stamp-h.in Makefile.am Makefile.in \
++	config.h.in
++DIST_SUBDIRS = $(SUBDIRS)
+ SOURCES = bits.c
+-OBJECTS = bits.$(OBJEXT)
+ 
+-all: all-redirect
++all: config.h
++	$(MAKE) $(AM_MAKEFLAGS) all-recursive
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign include/Makefile
+ 
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  include/Makefile
++Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ config.h: stamp-h
+ 	@if test ! -f $@; then \
+ 		rm -f stamp-h; \
+@@ -303,7 +312,7 @@
+ 	  && CONFIG_FILES= CONFIG_HEADERS=include/config.h \
+ 	     $(SHELL) ./config.status
+ 	@mv stamp-hT stamp-h
+-$(srcdir)/config.h.in: $(srcdir)/./stamp-h.in
++$(srcdir)/config.h.in:  $(srcdir)/./stamp-h.in
+ 	@if test ! -f $@; then \
+ 		rm -f $(srcdir)/./stamp-h.in; \
+ 		$(MAKE) $(srcdir)/./stamp-h.in; \
+@@ -314,63 +323,38 @@
+ 	cd $(top_srcdir) && $(AUTOHEADER)
+ 	@mv $(srcdir)/./stamp-h.inT $(srcdir)/./stamp-h.in
+ 
+-mostlyclean-hdr:
+-
+-clean-hdr:
+-
+ distclean-hdr:
+ 	-rm -f config.h
+ 
+-maintainer-clean-hdr:
+-
+-mostlyclean-noinstPROGRAMS:
+-
+ clean-noinstPROGRAMS:
+ 	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
+-
+-distclean-noinstPROGRAMS:
+-
+-maintainer-clean-noinstPROGRAMS:
++bits$(EXEEXT): $(bits_OBJECTS) $(bits_DEPENDENCIES) 
++	@rm -f bits$(EXEEXT)
++	$(LINK) $(bits_LDFLAGS) $(bits_OBJECTS) $(bits_LDADD) $(LIBS)
+ 
+ mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
+-
+-clean-compile:
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+-maintainer-clean-compile:
+-
+-mostlyclean-libtool:
+-	-rm -f *.lo
+-
+-clean-libtool:
+-	-rm -rf .libs _libs
+-
+-distclean-libtool:
+-
+-maintainer-clean-libtool:
+-
+-bits$(EXEEXT): $(bits_OBJECTS) $(bits_DEPENDENCIES)
+-	@rm -f bits$(EXEEXT)
+-	$(LINK) $(bits_LDFLAGS) $(bits_OBJECTS) $(bits_LDADD) $(LIBS)
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
+-.c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
+ 
++.c.lo:
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
++uninstall-info-am:
+ install-includeHEADERS: $(include_HEADERS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(includedir)
+ 	@list='$(include_HEADERS)'; for p in $$list; do \
+-	  if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
++	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
+-	  $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f; \
++	  echo " $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
++	  $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(includedir)/$$f; \
+ 	done
+ 
+ uninstall-includeHEADERS:
+@@ -387,10 +371,7 @@
+ # (1) if the variable is set in `config.status', edit `config.status'
+ #     (which will cause the Makefiles to be regenerated when you run `make');
+ # (2) otherwise, pass the desired values on the `make' command line.
+-
+-all-recursive install-data-recursive install-exec-recursive \
+-installdirs-recursive install-recursive uninstall-recursive  \
+-check-recursive installcheck-recursive info-recursive dvi-recursive:
++$(RECURSIVE_TARGETS):
+ 	@set fnord $(MAKEFLAGS); amf=$$2; \
+ 	dot_seen=no; \
+ 	target=`echo $@ | sed s/-recursive//`; \
+@@ -455,9 +436,9 @@
+ 	tags=; \
+ 	here=`pwd`; \
+ 	list='$(SUBDIRS)'; for subdir in $$list; do \
+-   if test "$$subdir" = .; then :; else \
++	  if test "$$subdir" = .; then :; else \
+ 	    test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
+-   fi; \
++	  fi; \
+ 	done; \
+ 	list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
+ 	unique=`for i in $$list; do \
+@@ -471,22 +452,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -501,103 +483,110 @@
+ 	    test -d $(distdir)/$$subdir \
+ 	    || mkdir $(distdir)/$$subdir \
+ 	    || exit 1; \
+-	    (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \
++	    (cd $$subdir && \
++	      $(MAKE) $(AM_MAKEFLAGS) \
++	        top_distdir="$(top_distdir)" \
++	        distdir=../$(distdir)/$$subdir \
++	        distdir) \
+ 	      || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-recursive
+-dvi-am:
+-dvi: dvi-recursive
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-recursive
+-installcheck-am:
+-installcheck: installcheck-recursive
+-all-recursive-am: config.h
+-	$(MAKE) $(AM_MAKEFLAGS) all-recursive
++all-am: Makefile $(PROGRAMS) $(HEADERS) config.h all-local
++installdirs: installdirs-recursive
++installdirs-am:
++	$(mkinstalldirs) $(DESTDIR)$(includedir)
+ 
+-install-exec-am:
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++install: install-recursive
+ install-exec: install-exec-recursive
+-
+-install-data-am: install-includeHEADERS install-data-local
+ install-data: install-data-recursive
++uninstall: uninstall-recursive
+ 
+ install-am: all-am
+ 	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+-install: install-recursive
+-uninstall-am: uninstall-includeHEADERS
+-uninstall: uninstall-recursive
+-all-am: Makefile $(PROGRAMS) $(HEADERS) config.h all-local
+-all-redirect: all-recursive-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs: installdirs-recursive
+-installdirs-am:
+-	$(mkinstalldirs)  $(DESTDIR)$(includedir)
+-
+ 
++installcheck: installcheck-recursive
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-hdr mostlyclean-noinstPROGRAMS \
+-		mostlyclean-compile mostlyclean-libtool \
+-		mostlyclean-tags mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-recursive
+ 
+-mostlyclean: mostlyclean-recursive
++clean-am: clean-generic clean-libtool clean-noinstPROGRAMS \
++	mostlyclean-am
+ 
+-clean-am:  clean-hdr clean-noinstPROGRAMS clean-compile clean-libtool \
+-		clean-tags clean-generic mostlyclean-am
++distclean: distclean-recursive
+ 
+-clean: clean-recursive
++distclean-am: clean-am distclean-compile distclean-generic distclean-hdr \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-hdr distclean-noinstPROGRAMS distclean-compile \
+-		distclean-libtool distclean-tags distclean-generic \
+-		clean-am
+-	-rm -f libtool
++dvi: dvi-recursive
+ 
+-distclean: distclean-recursive
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-hdr \
+-		maintainer-clean-noinstPROGRAMS \
+-		maintainer-clean-compile maintainer-clean-libtool \
+-		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."
++info: info-recursive
++
++info-am:
++
++install-data-am: install-data-local install-includeHEADERS
++
++install-exec-am:
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-recursive
++
++install-man:
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-recursive
+ 
+-.PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
+-mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \
+-clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \
+-mostlyclean-compile distclean-compile clean-compile \
+-maintainer-clean-compile mostlyclean-libtool distclean-libtool \
+-clean-libtool maintainer-clean-libtool uninstall-includeHEADERS \
+-install-includeHEADERS install-recursive uninstall-recursive \
+-install-data-recursive uninstall-data-recursive install-exec-recursive \
+-uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
+-all-recursive check-recursive installcheck-recursive info-recursive \
+-dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
+-maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
+-distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
+-dvi-am dvi check-local check check-am installcheck-am installcheck \
+-all-recursive-am install-exec-am install-exec install-data-local \
+-install-data-am install-data install-am install uninstall-am uninstall \
+-all-local all-redirect all-am all install-strip installdirs-am \
+-installdirs mostlyclean-generic distclean-generic clean-generic \
+-maintainer-clean-generic clean mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-recursive
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-includeHEADERS uninstall-info-am
++
++uninstall-info: uninstall-info-recursive
++
++.PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am all-local check check-am \
++	check-local clean clean-generic clean-libtool \
++	clean-noinstPROGRAMS clean-recursive distclean \
++	distclean-compile distclean-generic distclean-hdr \
++	distclean-libtool distclean-recursive distclean-tags distdir \
++	dvi dvi-am dvi-recursive info info-am info-recursive install \
++	install-am install-data install-data-am install-data-local \
++	install-data-recursive install-exec install-exec-am \
++	install-exec-recursive install-includeHEADERS install-info \
++	install-info-am install-info-recursive install-man \
++	install-recursive install-strip installcheck installcheck-am \
++	installdirs installdirs-am installdirs-recursive \
++	maintainer-clean maintainer-clean-generic \
++	maintainer-clean-recursive mostlyclean mostlyclean-compile \
++	mostlyclean-generic mostlyclean-libtool mostlyclean-recursive \
++	tags tags-recursive uninstall uninstall-am \
++	uninstall-includeHEADERS uninstall-info-am \
++	uninstall-info-recursive uninstall-recursive
+ 
+ 
+ install-suid-programs:
+@@ -730,7 +719,6 @@
+ 
+ krb5-types.h: bits$(EXEEXT)
+ 	./bits$(EXEEXT) krb5-types.h
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/include/kadm5/Makefile.in heimdal-0.4e/include/kadm5/Makefile.in
+--- heimdal-0.4e-old/include/kadm5/Makefile.in	Thu Sep  6 22:22:41 2001
++++ heimdal-0.4e/include/kadm5/Makefile.in	Wed Nov 21 11:52:41 2001
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.6 1999/03/20 13:58:17 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,9 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,6 +89,7 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+@@ -105,7 +109,6 @@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,20 +122,17 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+ 
+-# $Id: Makefile.am,v 1.6 1999/03/20 13:58:17 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
+-
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+ SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+@@ -189,53 +189,68 @@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+ CLEANFILES = admin.h kadm5_err.h private.h
+ subdir = include/kadm5
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../include/config.h
+-CONFIG_CLEAN_FILES = 
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++depcomp =
+ CFLAGS = @CFLAGS@
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES = 
+-depcomp = 
+-DIST_COMMON =  Makefile.am Makefile.in
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++DIST_SOURCES =
++DIST_COMMON = Makefile.am Makefile.in
++all: all-am
+ 
++.SUFFIXES:
++.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c
+ 
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-GZIP_ENV = --best
+-all: all-redirect
+-.SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign include/kadm5/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  include/kadm5/Makefile
++Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
++uninstall-info-am:
+ tags: TAGS
+ TAGS:
+ 
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -245,72 +260,87 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-install-exec-am:
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++all-am: Makefile all-local
+ 
+-install-data-am: install-data-local
+-install-data: install-data-am
++installdirs:
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am:
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-generic clean-libtool mostlyclean-am
+ 
+-clean-am:  clean-generic mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-generic distclean-libtool
+ 
+-distclean-am:  distclean-generic clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local
++
++install-exec-am:
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man:
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-am
+ 
+-.PHONY: tags distdir info-am info dvi-am dvi check-local check check-am \
+-installcheck-am installcheck install-exec-am install-exec \
+-install-data-local install-data-am install-data install-am install \
+-uninstall-am uninstall all-local all-redirect all-am all install-strip \
+-installdirs mostlyclean-generic distclean-generic clean-generic \
+-maintainer-clean-generic clean mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-generic mostlyclean-libtool
++
++uninstall-am: uninstall-info-am
++
++.PHONY: all all-am all-local check check-am check-local clean \
++	clean-generic clean-libtool distclean distclean-generic \
++	distclean-libtool distdir dvi dvi-am info info-am install \
++	install-am install-data install-data-am install-data-local \
++	install-exec install-exec-am install-info install-info-am \
++	install-man install-strip installcheck installcheck-am \
++	installdirs maintainer-clean maintainer-clean-generic \
++	mostlyclean mostlyclean-generic mostlyclean-libtool uninstall \
++	uninstall-am uninstall-info-am
+ 
+ 
+ install-suid-programs:
+@@ -440,7 +470,6 @@
+ 	  echo "$$dashes"; \
+ 	  test "$$failed" -eq 0; \
+ 	fi
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/kadmin/Makefile.in heimdal-0.4e/kadmin/Makefile.in
+--- heimdal-0.4e-old/kadmin/Makefile.in	Thu Sep  6 22:23:52 2001
++++ heimdal-0.4e/kadmin/Makefile.in	Wed Nov 21 11:52:41 2001
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.34 2001/08/28 08:31:26 assar Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,9 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,6 +89,7 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+@@ -105,7 +109,6 @@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,20 +122,17 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+ 
+-# $Id: Makefile.am,v 1.34 2001/08/28 08:31:26 assar Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
+-
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+ SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+@@ -189,13 +189,12 @@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+@@ -225,8 +224,8 @@
+ 	kadmin_locl.h
+ 
+ 
+-@KRB4_TRUE@KRB4LIB = @KRB4_TRUE@$(LIB_krb4)
+-@KRB4_TRUE@version4_c = @KRB4_TRUE@version4.c
++@KRB4_TRUE@KRB4LIB = $(LIB_krb4)
++@KRB4_TRUE@version4_c = version4.c
+ 
+ kadmind_SOURCES = \
+ 	kadmind.c				\
+@@ -273,193 +272,177 @@
+ 
+ subdir = kadmin
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../include/config.h
+-CONFIG_CLEAN_FILES = 
+-libexec_PROGRAMS =  kadmind$(EXEEXT)
+-noinst_PROGRAMS =  add_random_users$(EXEEXT)
+-sbin_PROGRAMS =  kadmin$(EXEEXT)
+-PROGRAMS =  $(libexec_PROGRAMS) $(noinst_PROGRAMS) $(sbin_PROGRAMS)
+-
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++libexec_PROGRAMS = kadmind$(EXEEXT)
++noinst_PROGRAMS = add_random_users$(EXEEXT)
++sbin_PROGRAMS = kadmin$(EXEEXT)
++PROGRAMS = $(libexec_PROGRAMS) $(noinst_PROGRAMS) $(sbin_PROGRAMS)
++
++am_add_random_users_OBJECTS = add-random-users.$(OBJEXT)
++add_random_users_OBJECTS = $(am_add_random_users_OBJECTS)
++add_random_users_DEPENDENCIES = \
++	$(top_builddir)/lib/kadm5/libkadm5clnt.la \
++	$(top_builddir)/lib/kadm5/libkadm5srv.la \
++	$(top_builddir)/lib/hdb/libhdb.la \
++	$(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++add_random_users_LDFLAGS =
++am_kadmin_OBJECTS = ank.$(OBJEXT) cpw.$(OBJEXT) del.$(OBJEXT) \
++	del_enctype.$(OBJEXT) dump.$(OBJEXT) ext.$(OBJEXT) \
++	get.$(OBJEXT) init.$(OBJEXT) kadmin.$(OBJEXT) load.$(OBJEXT) \
++	mod.$(OBJEXT) rename.$(OBJEXT) util.$(OBJEXT) \
++	random_password.$(OBJEXT)
++kadmin_OBJECTS = $(am_kadmin_OBJECTS)
++kadmin_DEPENDENCIES = $(top_builddir)/lib/kadm5/libkadm5clnt.la \
++	$(top_builddir)/lib/kadm5/libkadm5srv.la \
++	$(top_builddir)/lib/sl/libsl.la \
++	$(top_builddir)/lib/hdb/libhdb.la \
++	$(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++kadmin_LDFLAGS =
++@KRB4_TRUE@am_kadmind_OBJECTS = kadmind.$(OBJEXT) server.$(OBJEXT) \
++@KRB4_TRUE@	version4.$(OBJEXT) kadm_conn.$(OBJEXT)
++@KRB4_FALSE@am_kadmind_OBJECTS = kadmind.$(OBJEXT) server.$(OBJEXT) \
++@KRB4_FALSE@	kadm_conn.$(OBJEXT)
++kadmind_OBJECTS = $(am_kadmind_OBJECTS)
++@KRB4_TRUE@kadmind_DEPENDENCIES = \
++@KRB4_TRUE@	$(top_builddir)/lib/kadm5/libkadm5srv.la \
++@KRB4_TRUE@	$(top_builddir)/lib/hdb/libhdb.la \
++@KRB4_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la \
++@KRB4_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB4_FALSE@kadmind_DEPENDENCIES = \
++@KRB4_FALSE@	$(top_builddir)/lib/kadm5/libkadm5srv.la \
++@KRB4_FALSE@	$(top_builddir)/lib/hdb/libhdb.la \
++@KRB4_FALSE@	$(top_builddir)/lib/krb5/libkrb5.la \
++@KRB4_FALSE@	$(top_builddir)/lib/asn1/libasn1.la
++kadmind_LDFLAGS =
+ 
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../include
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+-am_add_random_users_OBJECTS =  add-random-users.$(OBJEXT)
+-add_random_users_OBJECTS =  $(am_add_random_users_OBJECTS)
+-add_random_users_DEPENDENCIES =  \
+-$(top_builddir)/lib/kadm5/libkadm5clnt.la \
+-$(top_builddir)/lib/kadm5/libkadm5srv.la \
+-$(top_builddir)/lib/hdb/libhdb.la $(top_builddir)/lib/krb5/libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
+-add_random_users_LDFLAGS = 
+-am_kadmin_OBJECTS =  ank.$(OBJEXT) cpw.$(OBJEXT) del.$(OBJEXT) \
+-del_enctype.$(OBJEXT) dump.$(OBJEXT) ext.$(OBJEXT) get.$(OBJEXT) \
+-init.$(OBJEXT) kadmin.$(OBJEXT) load.$(OBJEXT) mod.$(OBJEXT) \
+-rename.$(OBJEXT) util.$(OBJEXT) random_password.$(OBJEXT)
+-kadmin_OBJECTS =  $(am_kadmin_OBJECTS)
+-kadmin_DEPENDENCIES =  $(top_builddir)/lib/kadm5/libkadm5clnt.la \
+-$(top_builddir)/lib/kadm5/libkadm5srv.la \
+-$(top_builddir)/lib/sl/libsl.la $(top_builddir)/lib/hdb/libhdb.la \
+-$(top_builddir)/lib/krb5/libkrb5.la $(top_builddir)/lib/asn1/libasn1.la
+-kadmin_LDFLAGS = 
+-@KRB4_FALSE@am_kadmind_OBJECTS =  kadmind.$(OBJEXT) server.$(OBJEXT) \
+-@KRB4_FALSE@kadm_conn.$(OBJEXT)
+-@KRB4_TRUE@am_kadmind_OBJECTS =  kadmind.$(OBJEXT) server.$(OBJEXT) \
+-@KRB4_TRUE@version4.$(OBJEXT) kadm_conn.$(OBJEXT)
+-kadmind_OBJECTS =  $(am_kadmind_OBJECTS)
+-@KRB4_FALSE@kadmind_DEPENDENCIES =  \
+-@KRB4_FALSE@$(top_builddir)/lib/kadm5/libkadm5srv.la \
+-@KRB4_FALSE@$(top_builddir)/lib/hdb/libhdb.la \
+-@KRB4_FALSE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_FALSE@$(top_builddir)/lib/asn1/libasn1.la
+-@KRB4_TRUE@kadmind_DEPENDENCIES =  \
+-@KRB4_TRUE@$(top_builddir)/lib/kadm5/libkadm5srv.la \
+-@KRB4_TRUE@$(top_builddir)/lib/hdb/libhdb.la \
+-@KRB4_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_TRUE@$(top_builddir)/lib/asn1/libasn1.la
+-kadmind_LDFLAGS = 
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  $(add_random_users_SOURCES) $(kadmin_SOURCES) \
+-$(kadmind_SOURCES) $(EXTRA_kadmind_SOURCES)
+-man8dir = $(mandir)/man8
+-MANS = $(man_MANS)
+-depcomp = 
+-DIST_COMMON =  ChangeLog Makefile.am Makefile.in
+-
+-
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++DIST_SOURCES = $(add_random_users_SOURCES) $(kadmin_SOURCES) \
++	$(kadmind_SOURCES) $(EXTRA_kadmind_SOURCES)
+ 
+-GZIP_ENV = --best
++NROFF = nroff
++MANS = $(man_MANS)
++DIST_COMMON = ChangeLog Makefile.am Makefile.in
+ SOURCES = $(add_random_users_SOURCES) $(kadmin_SOURCES) $(kadmind_SOURCES) $(EXTRA_kadmind_SOURCES)
+-OBJECTS = $(am_add_random_users_OBJECTS) $(am_kadmin_OBJECTS) $(am_kadmind_OBJECTS)
+ 
+-all: all-redirect
++all: all-am
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign kadmin/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+-
+ 
+-mostlyclean-libexecPROGRAMS:
+-
+-clean-libexecPROGRAMS:
+-	-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
+-
+-distclean-libexecPROGRAMS:
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-maintainer-clean-libexecPROGRAMS:
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  kadmin/Makefile
++Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ install-libexecPROGRAMS: $(libexec_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(libexecdir)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+-	  if test -f $$p; then \
+-	    f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libexecdir)/$$f"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libexecdir)/$$f; \
++	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  if test -f $$p \
++	     || test -f $$p1 \
++	  ; then \
++	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-libexecPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+-	  f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(libexecdir)/$$f; \
+ 	done
+ 
+-mostlyclean-noinstPROGRAMS:
++clean-libexecPROGRAMS:
++	-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
+ 
+ clean-noinstPROGRAMS:
+ 	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
+-
+-distclean-noinstPROGRAMS:
+-
+-maintainer-clean-noinstPROGRAMS:
+-
+-mostlyclean-sbinPROGRAMS:
+-
+-clean-sbinPROGRAMS:
+-	-test -z "$(sbin_PROGRAMS)" || rm -f $(sbin_PROGRAMS)
+-
+-distclean-sbinPROGRAMS:
+-
+-maintainer-clean-sbinPROGRAMS:
+-
+ install-sbinPROGRAMS: $(sbin_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(sbindir)
+ 	@list='$(sbin_PROGRAMS)'; for p in $$list; do \
+-	  if test -f $$p; then \
+-	    f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(sbindir)/$$f"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(sbindir)/$$f; \
++	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  if test -f $$p \
++	     || test -f $$p1 \
++	  ; then \
++	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(sbindir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(sbindir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-sbinPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(sbin_PROGRAMS)'; for p in $$list; do \
+-	  f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(sbindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(sbindir)/$$f; \
+ 	done
+ 
+-mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
+-
+-clean-compile:
+-
+-distclean-compile:
+-	-rm -f *.tab.c
+-
+-maintainer-clean-compile:
+-
+-mostlyclean-libtool:
+-	-rm -f *.lo
+-
+-clean-libtool:
+-	-rm -rf .libs _libs
+-
+-distclean-libtool:
+-
+-maintainer-clean-libtool:
+-
+-add_random_users$(EXEEXT): $(add_random_users_OBJECTS) $(add_random_users_DEPENDENCIES)
++clean-sbinPROGRAMS:
++	-test -z "$(sbin_PROGRAMS)" || rm -f $(sbin_PROGRAMS)
++add_random_users$(EXEEXT): $(add_random_users_OBJECTS) $(add_random_users_DEPENDENCIES) 
+ 	@rm -f add_random_users$(EXEEXT)
+ 	$(LINK) $(add_random_users_LDFLAGS) $(add_random_users_OBJECTS) $(add_random_users_LDADD) $(LIBS)
+-
+-kadmin$(EXEEXT): $(kadmin_OBJECTS) $(kadmin_DEPENDENCIES)
++kadmin$(EXEEXT): $(kadmin_OBJECTS) $(kadmin_DEPENDENCIES) 
+ 	@rm -f kadmin$(EXEEXT)
+ 	$(LINK) $(kadmin_LDFLAGS) $(kadmin_OBJECTS) $(kadmin_LDADD) $(LIBS)
+-
+-kadmind$(EXEEXT): $(kadmind_OBJECTS) $(kadmind_DEPENDENCIES)
++kadmind$(EXEEXT): $(kadmind_OBJECTS) $(kadmind_DEPENDENCIES) 
+ 	@rm -f kadmind$(EXEEXT)
+ 	$(LINK) $(kadmind_LDFLAGS) $(kadmind_OBJECTS) $(kadmind_LDADD) $(LIBS)
++
++mostlyclean-compile:
++	-rm -f *.$(OBJEXT) core *.core
++
++distclean-compile:
++	-rm -f *.tab.c
++
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
++
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
++uninstall-info-am:
+ 
+-install-man8:
++man8dir = $(mandir)/man8
++install-man8: $(man8_MANS) $(man_MANS)
++	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(man8dir)
+-	@list='$(man8_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.8*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -474,10 +457,11 @@
+ 	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst"; \
+ 	  $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst; \
+ 	done
+-
+ uninstall-man8:
+-	@list='$(man8_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@$(NORMAL_UNINSTALL)
++	@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.8*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -490,12 +474,6 @@
+ 	  echo " rm -f $(DESTDIR)$(man8dir)/$$inst"; \
+ 	  rm -f $(DESTDIR)$(man8dir)/$$inst; \
+ 	done
+-install-man: $(MANS)
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-man8
+-uninstall-man:
+-	@$(NORMAL_UNINSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) uninstall-man8
+ 
+ tags: TAGS
+ 
+@@ -524,22 +502,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -549,98 +528,98 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-install-exec-am: install-libexecPROGRAMS install-sbinPROGRAMS
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++all-am: Makefile $(PROGRAMS) $(MANS) all-local
+ 
+-install-data-am: install-man install-data-local
+-install-data: install-data-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(libexecdir) $(DESTDIR)$(sbindir) $(DESTDIR)$(man8dir)
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am: uninstall-libexecPROGRAMS uninstall-sbinPROGRAMS \
+-		uninstall-man
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(PROGRAMS) $(MANS) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(libexecdir) $(DESTDIR)$(sbindir) \
+-		$(DESTDIR)$(mandir)/man8
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-libexecPROGRAMS mostlyclean-noinstPROGRAMS \
+-		mostlyclean-sbinPROGRAMS mostlyclean-compile \
+-		mostlyclean-libtool mostlyclean-tags \
+-		mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-generic clean-libexecPROGRAMS clean-libtool \
++	clean-noinstPROGRAMS clean-sbinPROGRAMS mostlyclean-am
+ 
+-clean-am:  clean-libexecPROGRAMS clean-noinstPROGRAMS clean-sbinPROGRAMS \
+-		clean-compile clean-libtool clean-tags clean-generic \
+-		mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-libexecPROGRAMS distclean-noinstPROGRAMS \
+-		distclean-sbinPROGRAMS distclean-compile \
+-		distclean-libtool distclean-tags distclean-generic \
+-		clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-libexecPROGRAMS \
+-		maintainer-clean-noinstPROGRAMS \
+-		maintainer-clean-sbinPROGRAMS maintainer-clean-compile \
+-		maintainer-clean-libtool 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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local install-man
++
++install-exec-am: install-libexecPROGRAMS install-sbinPROGRAMS
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man: install-man8
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-am
+ 
+-.PHONY: mostlyclean-libexecPROGRAMS distclean-libexecPROGRAMS \
+-clean-libexecPROGRAMS maintainer-clean-libexecPROGRAMS \
+-uninstall-libexecPROGRAMS install-libexecPROGRAMS \
+-mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \
+-clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \
+-mostlyclean-sbinPROGRAMS distclean-sbinPROGRAMS clean-sbinPROGRAMS \
+-maintainer-clean-sbinPROGRAMS uninstall-sbinPROGRAMS \
+-install-sbinPROGRAMS mostlyclean-compile distclean-compile \
+-clean-compile maintainer-clean-compile mostlyclean-libtool \
+-distclean-libtool clean-libtool maintainer-clean-libtool install-man8 \
+-uninstall-man8 install-man uninstall-man tags mostlyclean-tags \
+-distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
+-dvi-am dvi check-local check check-am installcheck-am installcheck \
+-install-exec-am install-exec install-data-local install-data-am \
+-install-data install-am install uninstall-am uninstall all-local \
+-all-redirect all-am all install-strip installdirs mostlyclean-generic \
+-distclean-generic clean-generic maintainer-clean-generic clean \
+-mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-info-am uninstall-libexecPROGRAMS uninstall-man \
++	uninstall-sbinPROGRAMS
++
++uninstall-man: uninstall-man8
++
++.PHONY: GTAGS all all-am all-local check check-am check-local clean \
++	clean-generic clean-libexecPROGRAMS clean-libtool \
++	clean-noinstPROGRAMS clean-sbinPROGRAMS distclean \
++	distclean-compile distclean-generic distclean-libtool \
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-data install-data-am install-data-local \
++	install-exec install-exec-am install-info install-info-am \
++	install-libexecPROGRAMS install-man install-man8 \
++	install-sbinPROGRAMS install-strip installcheck installcheck-am \
++	installdirs maintainer-clean maintainer-clean-generic \
++	mostlyclean mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool tags uninstall uninstall-am \
++	uninstall-info-am uninstall-libexecPROGRAMS uninstall-man \
++	uninstall-man8 uninstall-sbinPROGRAMS
+ 
+ 
+ install-suid-programs:
+@@ -770,7 +749,6 @@
+ 	  echo "$$dashes"; \
+ 	  test "$$failed" -eq 0; \
+ 	fi
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/kdc/Makefile.in heimdal-0.4e/kdc/Makefile.in
+--- heimdal-0.4e-old/kdc/Makefile.in	Thu Sep  6 22:24:02 2001
++++ heimdal-0.4e/kdc/Makefile.in	Wed Nov 21 11:52:41 2001
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.43 2001/08/28 08:31:27 assar Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,9 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,6 +89,7 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+@@ -105,7 +109,6 @@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,20 +122,17 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+ 
+-# $Id: Makefile.am,v 1.43 2001/08/28 08:31:27 assar Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
+-
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+ SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+@@ -189,13 +189,12 @@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+@@ -213,7 +212,8 @@
+ kstash_SOURCES = kstash.c headers.h
+ 
+ string2key_SOURCES = string2key.c headers.h
+-@KRB4_TRUE@krb4_sources = @KRB4_TRUE@524.c kerberos4.c kaserver.c rx.h
++
++@KRB4_TRUE@krb4_sources = 524.c kerberos4.c kaserver.c rx.h
+ @KRB4_FALSE@krb4_sources = 
+ 
+ kdc_SOURCES = \
+@@ -262,219 +262,204 @@
+ kdc_LDADD = $(LDADD) $(LIB_pidfile)
+ subdir = kdc
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../include/config.h
+-CONFIG_CLEAN_FILES = 
+-bin_PROGRAMS =  string2key$(EXEEXT)
+-libexec_PROGRAMS =  hprop$(EXEEXT) hpropd$(EXEEXT) kdc$(EXEEXT)
+-sbin_PROGRAMS =  kstash$(EXEEXT)
+-PROGRAMS =  $(bin_PROGRAMS) $(libexec_PROGRAMS) $(sbin_PROGRAMS)
+-
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++bin_PROGRAMS = string2key$(EXEEXT)
++libexec_PROGRAMS = hprop$(EXEEXT) hpropd$(EXEEXT) kdc$(EXEEXT)
++sbin_PROGRAMS = kstash$(EXEEXT)
++PROGRAMS = $(bin_PROGRAMS) $(libexec_PROGRAMS) $(sbin_PROGRAMS)
++
++am_hprop_OBJECTS = hprop.$(OBJEXT) mit_dump.$(OBJEXT) v4_dump.$(OBJEXT)
++hprop_OBJECTS = $(am_hprop_OBJECTS)
++hprop_DEPENDENCIES = $(top_builddir)/lib/hdb/libhdb.la \
++	$(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++hprop_LDFLAGS =
++am_hpropd_OBJECTS = hpropd.$(OBJEXT)
++hpropd_OBJECTS = $(am_hpropd_OBJECTS)
++hpropd_DEPENDENCIES = $(top_builddir)/lib/hdb/libhdb.la \
++	$(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++hpropd_LDFLAGS =
++@KRB4_TRUE@am_kdc_OBJECTS = config.$(OBJEXT) connect.$(OBJEXT) \
++@KRB4_TRUE@	kerberos5.$(OBJEXT) log.$(OBJEXT) main.$(OBJEXT) \
++@KRB4_TRUE@	misc.$(OBJEXT) 524.$(OBJEXT) kerberos4.$(OBJEXT) \
++@KRB4_TRUE@	kaserver.$(OBJEXT)
++@KRB4_FALSE@am_kdc_OBJECTS = config.$(OBJEXT) connect.$(OBJEXT) \
++@KRB4_FALSE@	kerberos5.$(OBJEXT) log.$(OBJEXT) main.$(OBJEXT) \
++@KRB4_FALSE@	misc.$(OBJEXT)
++kdc_OBJECTS = $(am_kdc_OBJECTS)
++kdc_DEPENDENCIES = $(top_builddir)/lib/hdb/libhdb.la \
++	$(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++kdc_LDFLAGS =
++am_kstash_OBJECTS = kstash.$(OBJEXT)
++kstash_OBJECTS = $(am_kstash_OBJECTS)
++kstash_LDADD = $(LDADD)
++kstash_DEPENDENCIES = $(top_builddir)/lib/hdb/libhdb.la \
++	$(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++kstash_LDFLAGS =
++am_string2key_OBJECTS = string2key.$(OBJEXT)
++string2key_OBJECTS = $(am_string2key_OBJECTS)
++string2key_LDADD = $(LDADD)
++string2key_DEPENDENCIES = $(top_builddir)/lib/hdb/libhdb.la \
++	$(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++string2key_LDFLAGS =
+ 
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../include
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+-am_hprop_OBJECTS =  hprop.$(OBJEXT) mit_dump.$(OBJEXT) v4_dump.$(OBJEXT)
+-hprop_OBJECTS =  $(am_hprop_OBJECTS)
+-hprop_DEPENDENCIES =  $(top_builddir)/lib/hdb/libhdb.la \
+-$(top_builddir)/lib/krb5/libkrb5.la $(top_builddir)/lib/asn1/libasn1.la
+-hprop_LDFLAGS = 
+-am_hpropd_OBJECTS =  hpropd.$(OBJEXT)
+-hpropd_OBJECTS =  $(am_hpropd_OBJECTS)
+-hpropd_DEPENDENCIES =  $(top_builddir)/lib/hdb/libhdb.la \
+-$(top_builddir)/lib/krb5/libkrb5.la $(top_builddir)/lib/asn1/libasn1.la
+-hpropd_LDFLAGS = 
+-@KRB4_FALSE@am_kdc_OBJECTS =  config.$(OBJEXT) connect.$(OBJEXT) \
+-@KRB4_FALSE@kerberos5.$(OBJEXT) log.$(OBJEXT) main.$(OBJEXT) \
+-@KRB4_FALSE@misc.$(OBJEXT)
+-@KRB4_TRUE@am_kdc_OBJECTS =  config.$(OBJEXT) connect.$(OBJEXT) \
+-@KRB4_TRUE@kerberos5.$(OBJEXT) log.$(OBJEXT) main.$(OBJEXT) \
+-@KRB4_TRUE@misc.$(OBJEXT) 524.$(OBJEXT) kerberos4.$(OBJEXT) \
+-@KRB4_TRUE@kaserver.$(OBJEXT)
+-kdc_OBJECTS =  $(am_kdc_OBJECTS)
+-kdc_DEPENDENCIES =  $(top_builddir)/lib/hdb/libhdb.la \
+-$(top_builddir)/lib/krb5/libkrb5.la $(top_builddir)/lib/asn1/libasn1.la
+-kdc_LDFLAGS = 
+-am_kstash_OBJECTS =  kstash.$(OBJEXT)
+-kstash_OBJECTS =  $(am_kstash_OBJECTS)
+-kstash_LDADD = $(LDADD)
+-kstash_DEPENDENCIES =  $(top_builddir)/lib/hdb/libhdb.la \
+-$(top_builddir)/lib/krb5/libkrb5.la $(top_builddir)/lib/asn1/libasn1.la
+-kstash_LDFLAGS = 
+-am_string2key_OBJECTS =  string2key.$(OBJEXT)
+-string2key_OBJECTS =  $(am_string2key_OBJECTS)
+-string2key_LDADD = $(LDADD)
+-string2key_DEPENDENCIES =  $(top_builddir)/lib/hdb/libhdb.la \
+-$(top_builddir)/lib/krb5/libkrb5.la $(top_builddir)/lib/asn1/libasn1.la
+-string2key_LDFLAGS = 
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  $(hprop_SOURCES) $(hpropd_SOURCES) $(kdc_SOURCES) \
+-$(kstash_SOURCES) $(string2key_SOURCES)
+-man8dir = $(mandir)/man8
+-MANS = $(man_MANS)
+-depcomp = 
+-DIST_COMMON =  Makefile.am Makefile.in
+-
+-
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++DIST_SOURCES = $(hprop_SOURCES) $(hpropd_SOURCES) $(kdc_SOURCES) \
++	$(kstash_SOURCES) $(string2key_SOURCES)
+ 
+-GZIP_ENV = --best
++NROFF = nroff
++MANS = $(man_MANS)
++DIST_COMMON = Makefile.am Makefile.in
+ SOURCES = $(hprop_SOURCES) $(hpropd_SOURCES) $(kdc_SOURCES) $(kstash_SOURCES) $(string2key_SOURCES)
+-OBJECTS = $(am_hprop_OBJECTS) $(am_hpropd_OBJECTS) $(am_kdc_OBJECTS) $(am_kstash_OBJECTS) $(am_string2key_OBJECTS)
+ 
+-all: all-redirect
++all: all-am
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign kdc/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+-
+-
+-mostlyclean-binPROGRAMS:
+ 
+-clean-binPROGRAMS:
+-	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
+-
+-distclean-binPROGRAMS:
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-maintainer-clean-binPROGRAMS:
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  kdc/Makefile
++Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ install-binPROGRAMS: $(bin_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(bindir)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  if test -f $$p; then \
+-	    f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f; \
++	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  if test -f $$p \
++	     || test -f $$p1 \
++	  ; then \
++	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-binPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+-mostlyclean-libexecPROGRAMS:
+-
+-clean-libexecPROGRAMS:
+-	-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
+-
+-distclean-libexecPROGRAMS:
+-
+-maintainer-clean-libexecPROGRAMS:
+-
++clean-binPROGRAMS:
++	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
+ install-libexecPROGRAMS: $(libexec_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(libexecdir)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+-	  if test -f $$p; then \
+-	    f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libexecdir)/$$f"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libexecdir)/$$f; \
++	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  if test -f $$p \
++	     || test -f $$p1 \
++	  ; then \
++	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-libexecPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+-	  f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(libexecdir)/$$f; \
+ 	done
+ 
+-mostlyclean-sbinPROGRAMS:
+-
+-clean-sbinPROGRAMS:
+-	-test -z "$(sbin_PROGRAMS)" || rm -f $(sbin_PROGRAMS)
+-
+-distclean-sbinPROGRAMS:
+-
+-maintainer-clean-sbinPROGRAMS:
+-
++clean-libexecPROGRAMS:
++	-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
+ install-sbinPROGRAMS: $(sbin_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(sbindir)
+ 	@list='$(sbin_PROGRAMS)'; for p in $$list; do \
+-	  if test -f $$p; then \
+-	    f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(sbindir)/$$f"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(sbindir)/$$f; \
++	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  if test -f $$p \
++	     || test -f $$p1 \
++	  ; then \
++	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(sbindir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(sbindir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-sbinPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(sbin_PROGRAMS)'; for p in $$list; do \
+-	  f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(sbindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(sbindir)/$$f; \
+ 	done
+ 
+-mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
+-
+-clean-compile:
+-
+-distclean-compile:
+-	-rm -f *.tab.c
+-
+-maintainer-clean-compile:
+-
+-mostlyclean-libtool:
+-	-rm -f *.lo
+-
+-clean-libtool:
+-	-rm -rf .libs _libs
+-
+-distclean-libtool:
+-
+-maintainer-clean-libtool:
+-
+-hprop$(EXEEXT): $(hprop_OBJECTS) $(hprop_DEPENDENCIES)
++clean-sbinPROGRAMS:
++	-test -z "$(sbin_PROGRAMS)" || rm -f $(sbin_PROGRAMS)
++hprop$(EXEEXT): $(hprop_OBJECTS) $(hprop_DEPENDENCIES) 
+ 	@rm -f hprop$(EXEEXT)
+ 	$(LINK) $(hprop_LDFLAGS) $(hprop_OBJECTS) $(hprop_LDADD) $(LIBS)
+-
+-hpropd$(EXEEXT): $(hpropd_OBJECTS) $(hpropd_DEPENDENCIES)
++hpropd$(EXEEXT): $(hpropd_OBJECTS) $(hpropd_DEPENDENCIES) 
+ 	@rm -f hpropd$(EXEEXT)
+ 	$(LINK) $(hpropd_LDFLAGS) $(hpropd_OBJECTS) $(hpropd_LDADD) $(LIBS)
+-
+-kdc$(EXEEXT): $(kdc_OBJECTS) $(kdc_DEPENDENCIES)
++kdc$(EXEEXT): $(kdc_OBJECTS) $(kdc_DEPENDENCIES) 
+ 	@rm -f kdc$(EXEEXT)
+ 	$(LINK) $(kdc_LDFLAGS) $(kdc_OBJECTS) $(kdc_LDADD) $(LIBS)
+-
+-kstash$(EXEEXT): $(kstash_OBJECTS) $(kstash_DEPENDENCIES)
++kstash$(EXEEXT): $(kstash_OBJECTS) $(kstash_DEPENDENCIES) 
+ 	@rm -f kstash$(EXEEXT)
+ 	$(LINK) $(kstash_LDFLAGS) $(kstash_OBJECTS) $(kstash_LDADD) $(LIBS)
+-
+-string2key$(EXEEXT): $(string2key_OBJECTS) $(string2key_DEPENDENCIES)
++string2key$(EXEEXT): $(string2key_OBJECTS) $(string2key_DEPENDENCIES) 
+ 	@rm -f string2key$(EXEEXT)
+ 	$(LINK) $(string2key_LDFLAGS) $(string2key_OBJECTS) $(string2key_LDADD) $(LIBS)
++
++mostlyclean-compile:
++	-rm -f *.$(OBJEXT) core *.core
++
++distclean-compile:
++	-rm -f *.tab.c
++
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
++
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
++uninstall-info-am:
+ 
+-install-man8:
++man8dir = $(mandir)/man8
++install-man8: $(man8_MANS) $(man_MANS)
++	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(man8dir)
+-	@list='$(man8_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.8*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -489,10 +474,11 @@
+ 	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst"; \
+ 	  $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst; \
+ 	done
+-
+ uninstall-man8:
+-	@list='$(man8_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@$(NORMAL_UNINSTALL)
++	@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.8*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -505,12 +491,6 @@
+ 	  echo " rm -f $(DESTDIR)$(man8dir)/$$inst"; \
+ 	  rm -f $(DESTDIR)$(man8dir)/$$inst; \
+ 	done
+-install-man: $(MANS)
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-man8
+-uninstall-man:
+-	@$(NORMAL_UNINSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) uninstall-man8
+ 
+ tags: TAGS
+ 
+@@ -539,22 +519,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -564,99 +545,100 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-install-exec-am: install-binPROGRAMS install-libexecPROGRAMS \
+-		install-sbinPROGRAMS
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++all-am: Makefile $(PROGRAMS) $(MANS) all-local
+ 
+-install-data-am: install-man install-data-local
+-install-data: install-data-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(libexecdir) $(DESTDIR)$(sbindir) $(DESTDIR)$(man8dir)
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am: uninstall-binPROGRAMS uninstall-libexecPROGRAMS \
+-		uninstall-sbinPROGRAMS uninstall-man
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(PROGRAMS) $(MANS) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(bindir) $(DESTDIR)$(libexecdir) \
+-		$(DESTDIR)$(sbindir) $(DESTDIR)$(mandir)/man8
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-binPROGRAMS mostlyclean-libexecPROGRAMS \
+-		mostlyclean-sbinPROGRAMS mostlyclean-compile \
+-		mostlyclean-libtool mostlyclean-tags \
+-		mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-binPROGRAMS clean-generic clean-libexecPROGRAMS \
++	clean-libtool clean-sbinPROGRAMS mostlyclean-am
+ 
+-clean-am:  clean-binPROGRAMS clean-libexecPROGRAMS clean-sbinPROGRAMS \
+-		clean-compile clean-libtool clean-tags clean-generic \
+-		mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-binPROGRAMS distclean-libexecPROGRAMS \
+-		distclean-sbinPROGRAMS distclean-compile \
+-		distclean-libtool distclean-tags distclean-generic \
+-		clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-binPROGRAMS \
+-		maintainer-clean-libexecPROGRAMS \
+-		maintainer-clean-sbinPROGRAMS maintainer-clean-compile \
+-		maintainer-clean-libtool 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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local install-man
++
++install-exec-am: install-binPROGRAMS install-libexecPROGRAMS \
++	install-sbinPROGRAMS
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man: install-man8
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-am
+ 
+-.PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
+-maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
+-mostlyclean-libexecPROGRAMS distclean-libexecPROGRAMS \
+-clean-libexecPROGRAMS maintainer-clean-libexecPROGRAMS \
+-uninstall-libexecPROGRAMS install-libexecPROGRAMS \
+-mostlyclean-sbinPROGRAMS distclean-sbinPROGRAMS clean-sbinPROGRAMS \
+-maintainer-clean-sbinPROGRAMS uninstall-sbinPROGRAMS \
+-install-sbinPROGRAMS mostlyclean-compile distclean-compile \
+-clean-compile maintainer-clean-compile mostlyclean-libtool \
+-distclean-libtool clean-libtool maintainer-clean-libtool install-man8 \
+-uninstall-man8 install-man uninstall-man tags mostlyclean-tags \
+-distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
+-dvi-am dvi check-local check check-am installcheck-am installcheck \
+-install-exec-am install-exec install-data-local install-data-am \
+-install-data install-am install uninstall-am uninstall all-local \
+-all-redirect all-am all install-strip installdirs mostlyclean-generic \
+-distclean-generic clean-generic maintainer-clean-generic clean \
+-mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-binPROGRAMS uninstall-info-am \
++	uninstall-libexecPROGRAMS uninstall-man uninstall-sbinPROGRAMS
++
++uninstall-man: uninstall-man8
++
++.PHONY: GTAGS all all-am all-local check check-am check-local clean \
++	clean-binPROGRAMS clean-generic clean-libexecPROGRAMS \
++	clean-libtool clean-sbinPROGRAMS distclean distclean-compile \
++	distclean-generic distclean-libtool distclean-tags distdir dvi \
++	dvi-am info info-am install install-am install-binPROGRAMS \
++	install-data install-data-am install-data-local install-exec \
++	install-exec-am install-info install-info-am \
++	install-libexecPROGRAMS install-man install-man8 \
++	install-sbinPROGRAMS install-strip installcheck installcheck-am \
++	installdirs maintainer-clean maintainer-clean-generic \
++	mostlyclean mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool tags uninstall uninstall-am \
++	uninstall-binPROGRAMS uninstall-info-am \
++	uninstall-libexecPROGRAMS uninstall-man uninstall-man8 \
++	uninstall-sbinPROGRAMS
+ 
+ 
+ install-suid-programs:
+@@ -786,7 +768,6 @@
+ 	  echo "$$dashes"; \
+ 	  test "$$failed" -eq 0; \
+ 	fi
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/kpasswd/Makefile.in heimdal-0.4e/kpasswd/Makefile.in
+--- heimdal-0.4e-old/kpasswd/Makefile.in	Thu Sep  6 22:23:49 2001
++++ heimdal-0.4e/kpasswd/Makefile.in	Wed Nov 21 11:52:42 2001
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.16 2001/08/28 08:31:29 assar Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,9 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,6 +89,7 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+@@ -105,7 +109,6 @@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,20 +122,17 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+ 
+-# $Id: Makefile.am,v 1.16 2001/08/28 08:31:29 assar Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
+-
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+ SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+@@ -189,13 +189,12 @@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+@@ -228,178 +227,158 @@
+ 
+ subdir = kpasswd
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../include/config.h
+-CONFIG_CLEAN_FILES = 
+-bin_PROGRAMS =  kpasswd$(EXEEXT)
+-libexec_PROGRAMS =  kpasswdd$(EXEEXT)
+-noinst_PROGRAMS =  kpasswd-generator$(EXEEXT)
+-PROGRAMS =  $(bin_PROGRAMS) $(libexec_PROGRAMS) $(noinst_PROGRAMS)
+-
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++bin_PROGRAMS = kpasswd$(EXEEXT)
++libexec_PROGRAMS = kpasswdd$(EXEEXT)
++noinst_PROGRAMS = kpasswd-generator$(EXEEXT)
++PROGRAMS = $(bin_PROGRAMS) $(libexec_PROGRAMS) $(noinst_PROGRAMS)
+ 
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../include
+-CPPFLAGS = @CPPFLAGS@
+-LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+-am_kpasswd_OBJECTS =  kpasswd.$(OBJEXT)
+-kpasswd_OBJECTS =  $(am_kpasswd_OBJECTS)
++am_kpasswd_OBJECTS = kpasswd.$(OBJEXT)
++kpasswd_OBJECTS = $(am_kpasswd_OBJECTS)
+ kpasswd_LDADD = $(LDADD)
+-kpasswd_DEPENDENCIES =  $(top_builddir)/lib/krb5/libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
+-kpasswd_LDFLAGS = 
++kpasswd_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++kpasswd_LDFLAGS =
+ kpasswd_generator_SOURCES = kpasswd-generator.c
+-kpasswd_generator_OBJECTS =  kpasswd-generator.$(OBJEXT)
++kpasswd_generator_OBJECTS = kpasswd-generator.$(OBJEXT)
+ kpasswd_generator_LDADD = $(LDADD)
+-kpasswd_generator_DEPENDENCIES =  $(top_builddir)/lib/krb5/libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
+-kpasswd_generator_LDFLAGS = 
+-am_kpasswdd_OBJECTS =  kpasswdd.$(OBJEXT)
+-kpasswdd_OBJECTS =  $(am_kpasswdd_OBJECTS)
+-kpasswdd_DEPENDENCIES =  $(top_builddir)/lib/kadm5/libkadm5srv.la \
+-$(top_builddir)/lib/hdb/libhdb.la $(top_builddir)/lib/krb5/libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
+-kpasswdd_LDFLAGS = 
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
+-CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  $(kpasswd_SOURCES) kpasswd-generator.c \
+-$(kpasswdd_SOURCES)
+-man1dir = $(mandir)/man1
+-man8dir = $(mandir)/man8
+-MANS = $(man_MANS)
+-depcomp = 
+-DIST_COMMON =  Makefile.am Makefile.in
+-
++kpasswd_generator_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++kpasswd_generator_LDFLAGS =
++am_kpasswdd_OBJECTS = kpasswdd.$(OBJEXT)
++kpasswdd_OBJECTS = $(am_kpasswdd_OBJECTS)
++kpasswdd_DEPENDENCIES = $(top_builddir)/lib/kadm5/libkadm5srv.la \
++	$(top_builddir)/lib/hdb/libhdb.la \
++	$(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++kpasswdd_LDFLAGS =
+ 
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
++CPPFLAGS = @CPPFLAGS@
++LDFLAGS = @LDFLAGS@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++CCLD = $(CC)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++DIST_SOURCES = $(kpasswd_SOURCES) kpasswd-generator.c \
++	$(kpasswdd_SOURCES)
+ 
+-GZIP_ENV = --best
++NROFF = nroff
++MANS = $(man_MANS)
++DIST_COMMON = Makefile.am Makefile.in
+ SOURCES = $(kpasswd_SOURCES) kpasswd-generator.c $(kpasswdd_SOURCES)
+-OBJECTS = $(am_kpasswd_OBJECTS) kpasswd-generator.$(OBJEXT) $(am_kpasswdd_OBJECTS)
+ 
+-all: all-redirect
++all: all-am
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign kpasswd/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+-
+ 
+-mostlyclean-binPROGRAMS:
+-
+-clean-binPROGRAMS:
+-	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
+-
+-distclean-binPROGRAMS:
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-maintainer-clean-binPROGRAMS:
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  kpasswd/Makefile
++Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ install-binPROGRAMS: $(bin_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(bindir)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  if test -f $$p; then \
+-	    f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f; \
++	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  if test -f $$p \
++	     || test -f $$p1 \
++	  ; then \
++	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-binPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+-mostlyclean-libexecPROGRAMS:
+-
+-clean-libexecPROGRAMS:
+-	-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
+-
+-distclean-libexecPROGRAMS:
+-
+-maintainer-clean-libexecPROGRAMS:
+-
++clean-binPROGRAMS:
++	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
+ install-libexecPROGRAMS: $(libexec_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(libexecdir)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+-	  if test -f $$p; then \
+-	    f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libexecdir)/$$f"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libexecdir)/$$f; \
++	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  if test -f $$p \
++	     || test -f $$p1 \
++	  ; then \
++	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-libexecPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+-	  f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(libexecdir)/$$f; \
+ 	done
+ 
+-mostlyclean-noinstPROGRAMS:
++clean-libexecPROGRAMS:
++	-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
+ 
+ clean-noinstPROGRAMS:
+ 	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
+-
+-distclean-noinstPROGRAMS:
+-
+-maintainer-clean-noinstPROGRAMS:
+-
+-mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
+-
+-clean-compile:
+-
+-distclean-compile:
+-	-rm -f *.tab.c
+-
+-maintainer-clean-compile:
+-
+-mostlyclean-libtool:
+-	-rm -f *.lo
+-
+-clean-libtool:
+-	-rm -rf .libs _libs
+-
+-distclean-libtool:
+-
+-maintainer-clean-libtool:
+-
+-kpasswd$(EXEEXT): $(kpasswd_OBJECTS) $(kpasswd_DEPENDENCIES)
++kpasswd$(EXEEXT): $(kpasswd_OBJECTS) $(kpasswd_DEPENDENCIES) 
+ 	@rm -f kpasswd$(EXEEXT)
+ 	$(LINK) $(kpasswd_LDFLAGS) $(kpasswd_OBJECTS) $(kpasswd_LDADD) $(LIBS)
+-
+-kpasswd-generator$(EXEEXT): $(kpasswd_generator_OBJECTS) $(kpasswd_generator_DEPENDENCIES)
++kpasswd-generator$(EXEEXT): $(kpasswd_generator_OBJECTS) $(kpasswd_generator_DEPENDENCIES) 
+ 	@rm -f kpasswd-generator$(EXEEXT)
+ 	$(LINK) $(kpasswd_generator_LDFLAGS) $(kpasswd_generator_OBJECTS) $(kpasswd_generator_LDADD) $(LIBS)
+-
+-kpasswdd$(EXEEXT): $(kpasswdd_OBJECTS) $(kpasswdd_DEPENDENCIES)
++kpasswdd$(EXEEXT): $(kpasswdd_OBJECTS) $(kpasswdd_DEPENDENCIES) 
+ 	@rm -f kpasswdd$(EXEEXT)
+ 	$(LINK) $(kpasswdd_LDFLAGS) $(kpasswdd_OBJECTS) $(kpasswdd_LDADD) $(LIBS)
++
++mostlyclean-compile:
++	-rm -f *.$(OBJEXT) core *.core
++
++distclean-compile:
++	-rm -f *.tab.c
++
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
++
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
++uninstall-info-am:
+ 
+-install-man1:
++man1dir = $(mandir)/man1
++install-man1: $(man1_MANS) $(man_MANS)
++	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(man1dir)
+-	@list='$(man1_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.1*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -414,10 +393,11 @@
+ 	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
+ 	  $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
+ 	done
+-
+ uninstall-man1:
+-	@list='$(man1_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@$(NORMAL_UNINSTALL)
++	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.1*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -431,10 +411,13 @@
+ 	  rm -f $(DESTDIR)$(man1dir)/$$inst; \
+ 	done
+ 
+-install-man8:
++man8dir = $(mandir)/man8
++install-man8: $(man8_MANS) $(man_MANS)
++	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(man8dir)
+-	@list='$(man8_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.8*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -449,10 +432,11 @@
+ 	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst"; \
+ 	  $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst; \
+ 	done
+-
+ uninstall-man8:
+-	@list='$(man8_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@$(NORMAL_UNINSTALL)
++	@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.8*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -465,12 +449,6 @@
+ 	  echo " rm -f $(DESTDIR)$(man8dir)/$$inst"; \
+ 	  rm -f $(DESTDIR)$(man8dir)/$$inst; \
+ 	done
+-install-man: $(MANS)
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-man1 install-man8
+-uninstall-man:
+-	@$(NORMAL_UNINSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) uninstall-man1 uninstall-man8
+ 
+ tags: TAGS
+ 
+@@ -499,22 +477,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -524,99 +503,98 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-install-exec-am: install-binPROGRAMS install-libexecPROGRAMS
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++all-am: Makefile $(PROGRAMS) $(MANS) all-local
+ 
+-install-data-am: install-man install-data-local
+-install-data: install-data-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(libexecdir) $(DESTDIR)$(man1dir) $(DESTDIR)$(man8dir)
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am: uninstall-binPROGRAMS uninstall-libexecPROGRAMS \
+-		uninstall-man
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(PROGRAMS) $(MANS) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(bindir) $(DESTDIR)$(libexecdir) \
+-		$(DESTDIR)$(mandir)/man1 $(DESTDIR)$(mandir)/man8
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-binPROGRAMS mostlyclean-libexecPROGRAMS \
+-		mostlyclean-noinstPROGRAMS mostlyclean-compile \
+-		mostlyclean-libtool mostlyclean-tags \
+-		mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-binPROGRAMS clean-generic clean-libexecPROGRAMS \
++	clean-libtool clean-noinstPROGRAMS mostlyclean-am
+ 
+-clean-am:  clean-binPROGRAMS clean-libexecPROGRAMS clean-noinstPROGRAMS \
+-		clean-compile clean-libtool clean-tags clean-generic \
+-		mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-binPROGRAMS distclean-libexecPROGRAMS \
+-		distclean-noinstPROGRAMS distclean-compile \
+-		distclean-libtool distclean-tags distclean-generic \
+-		clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-binPROGRAMS \
+-		maintainer-clean-libexecPROGRAMS \
+-		maintainer-clean-noinstPROGRAMS \
+-		maintainer-clean-compile maintainer-clean-libtool \
+-		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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local install-man
++
++install-exec-am: install-binPROGRAMS install-libexecPROGRAMS
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man: install-man1 install-man8
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-am
+ 
+-.PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
+-maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
+-mostlyclean-libexecPROGRAMS distclean-libexecPROGRAMS \
+-clean-libexecPROGRAMS maintainer-clean-libexecPROGRAMS \
+-uninstall-libexecPROGRAMS install-libexecPROGRAMS \
+-mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \
+-clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \
+-mostlyclean-compile distclean-compile clean-compile \
+-maintainer-clean-compile mostlyclean-libtool distclean-libtool \
+-clean-libtool maintainer-clean-libtool install-man1 uninstall-man1 \
+-install-man8 uninstall-man8 install-man uninstall-man tags \
+-mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
+-distdir info-am info dvi-am dvi check-local check check-am \
+-installcheck-am installcheck install-exec-am install-exec \
+-install-data-local install-data-am install-data install-am install \
+-uninstall-am uninstall all-local all-redirect all-am all install-strip \
+-installdirs mostlyclean-generic distclean-generic clean-generic \
+-maintainer-clean-generic clean mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-binPROGRAMS uninstall-info-am \
++	uninstall-libexecPROGRAMS uninstall-man
++
++uninstall-man: uninstall-man1 uninstall-man8
++
++.PHONY: GTAGS all all-am all-local check check-am check-local clean \
++	clean-binPROGRAMS clean-generic clean-libexecPROGRAMS \
++	clean-libtool clean-noinstPROGRAMS distclean distclean-compile \
++	distclean-generic distclean-libtool distclean-tags distdir dvi \
++	dvi-am info info-am install install-am install-binPROGRAMS \
++	install-data install-data-am install-data-local install-exec \
++	install-exec-am install-info install-info-am \
++	install-libexecPROGRAMS install-man install-man1 install-man8 \
++	install-strip installcheck installcheck-am installdirs \
++	maintainer-clean maintainer-clean-generic mostlyclean \
++	mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
++	tags uninstall uninstall-am uninstall-binPROGRAMS \
++	uninstall-info-am uninstall-libexecPROGRAMS uninstall-man \
++	uninstall-man1 uninstall-man8
+ 
+ 
+ install-suid-programs:
+@@ -746,7 +724,6 @@
+ 	  echo "$$dashes"; \
+ 	  test "$$failed" -eq 0; \
+ 	fi
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/kuser/Makefile.in heimdal-0.4e/kuser/Makefile.in
+--- heimdal-0.4e-old/kuser/Makefile.in	Thu Sep  6 22:23:45 2001
++++ heimdal-0.4e/kuser/Makefile.in	Wed Nov 21 11:52:42 2001
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.30 2001/09/02 17:12:23 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,9 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,6 +89,7 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+@@ -105,7 +109,6 @@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,20 +122,17 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+ 
+-# $Id: Makefile.am,v 1.30 2001/09/02 17:12:23 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
+-
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+ SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+@@ -189,13 +189,12 @@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+@@ -226,196 +225,176 @@
+ 
+ subdir = kuser
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../include/config.h
+-CONFIG_CLEAN_FILES = 
+-bin_PROGRAMS =  kinit$(EXEEXT) klist$(EXEEXT) kdestroy$(EXEEXT) \
+-kgetcred$(EXEEXT)
+-noinst_PROGRAMS =  kverify$(EXEEXT) kdecode_ticket$(EXEEXT) \
+-generate-requests$(EXEEXT)
+-PROGRAMS =  $(bin_PROGRAMS) $(noinst_PROGRAMS)
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++bin_PROGRAMS = kinit$(EXEEXT) klist$(EXEEXT) kdestroy$(EXEEXT) \
++	kgetcred$(EXEEXT)
++noinst_PROGRAMS = kverify$(EXEEXT) kdecode_ticket$(EXEEXT) \
++	generate-requests$(EXEEXT)
++PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS)
+ 
+-
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../include
+-CPPFLAGS = @CPPFLAGS@
+-LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+ generate_requests_SOURCES = generate-requests.c
+-generate_requests_OBJECTS =  generate-requests.$(OBJEXT)
++generate_requests_OBJECTS = generate-requests.$(OBJEXT)
+ generate_requests_LDADD = $(LDADD)
+-generate_requests_DEPENDENCIES =  $(top_builddir)/lib/krb5/libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
+-generate_requests_LDFLAGS = 
++generate_requests_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++generate_requests_LDFLAGS =
+ kdecode_ticket_SOURCES = kdecode_ticket.c
+-kdecode_ticket_OBJECTS =  kdecode_ticket.$(OBJEXT)
++kdecode_ticket_OBJECTS = kdecode_ticket.$(OBJEXT)
+ kdecode_ticket_LDADD = $(LDADD)
+-kdecode_ticket_DEPENDENCIES =  $(top_builddir)/lib/krb5/libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
+-kdecode_ticket_LDFLAGS = 
++kdecode_ticket_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++kdecode_ticket_LDFLAGS =
+ kdestroy_SOURCES = kdestroy.c
+-kdestroy_OBJECTS =  kdestroy.$(OBJEXT)
+-@KRB4_FALSE@kdestroy_DEPENDENCIES =  $(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_FALSE@$(top_builddir)/lib/asn1/libasn1.la
+-@KRB4_TRUE@kdestroy_DEPENDENCIES =  $(top_builddir)/lib/kafs/libkafs.la \
+-@KRB4_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_TRUE@$(top_builddir)/lib/asn1/libasn1.la
+-kdestroy_LDFLAGS = 
++kdestroy_OBJECTS = kdestroy.$(OBJEXT)
++@KRB4_TRUE@kdestroy_DEPENDENCIES = $(top_builddir)/lib/kafs/libkafs.la \
++@KRB4_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la \
++@KRB4_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB4_FALSE@kdestroy_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
++@KRB4_FALSE@	$(top_builddir)/lib/asn1/libasn1.la
++kdestroy_LDFLAGS =
+ kgetcred_SOURCES = kgetcred.c
+-kgetcred_OBJECTS =  kgetcred.$(OBJEXT)
++kgetcred_OBJECTS = kgetcred.$(OBJEXT)
+ kgetcred_LDADD = $(LDADD)
+-kgetcred_DEPENDENCIES =  $(top_builddir)/lib/krb5/libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
+-kgetcred_LDFLAGS = 
++kgetcred_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++kgetcred_LDFLAGS =
+ kinit_SOURCES = kinit.c
+-kinit_OBJECTS =  kinit.$(OBJEXT)
+-@KRB4_FALSE@kinit_DEPENDENCIES =  $(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_FALSE@$(top_builddir)/lib/asn1/libasn1.la
+-@KRB4_TRUE@kinit_DEPENDENCIES =  $(top_builddir)/lib/kafs/libkafs.la \
+-@KRB4_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_TRUE@$(top_builddir)/lib/asn1/libasn1.la
+-kinit_LDFLAGS = 
++kinit_OBJECTS = kinit.$(OBJEXT)
++@KRB4_TRUE@kinit_DEPENDENCIES = $(top_builddir)/lib/kafs/libkafs.la \
++@KRB4_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la \
++@KRB4_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB4_FALSE@kinit_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
++@KRB4_FALSE@	$(top_builddir)/lib/asn1/libasn1.la
++kinit_LDFLAGS =
+ klist_SOURCES = klist.c
+-klist_OBJECTS =  klist.$(OBJEXT)
+-@KRB4_FALSE@klist_DEPENDENCIES =  $(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_FALSE@$(top_builddir)/lib/asn1/libasn1.la
+-@KRB4_TRUE@klist_DEPENDENCIES =  $(top_builddir)/lib/kafs/libkafs.la \
+-@KRB4_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB4_TRUE@$(top_builddir)/lib/asn1/libasn1.la
+-klist_LDFLAGS = 
++klist_OBJECTS = klist.$(OBJEXT)
++@KRB4_TRUE@klist_DEPENDENCIES = $(top_builddir)/lib/kafs/libkafs.la \
++@KRB4_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la \
++@KRB4_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
++@KRB4_FALSE@klist_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
++@KRB4_FALSE@	$(top_builddir)/lib/asn1/libasn1.la
++klist_LDFLAGS =
+ kverify_SOURCES = kverify.c
+-kverify_OBJECTS =  kverify.$(OBJEXT)
++kverify_OBJECTS = kverify.$(OBJEXT)
+ kverify_LDADD = $(LDADD)
+-kverify_DEPENDENCIES =  $(top_builddir)/lib/krb5/libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
+-kverify_LDFLAGS = 
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
+-CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  generate-requests.c kdecode_ticket.c kdestroy.c \
+-kgetcred.c kinit.c klist.c kverify.c
+-man1dir = $(mandir)/man1
+-MANS = $(man_MANS)
+-depcomp = 
+-DIST_COMMON =  Makefile.am Makefile.in
+-
++kverify_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++kverify_LDFLAGS =
+ 
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
++CPPFLAGS = @CPPFLAGS@
++LDFLAGS = @LDFLAGS@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++CCLD = $(CC)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++DIST_SOURCES = generate-requests.c kdecode_ticket.c kdestroy.c \
++	kgetcred.c kinit.c klist.c kverify.c
+ 
+-GZIP_ENV = --best
++NROFF = nroff
++MANS = $(man_MANS)
++DIST_COMMON = Makefile.am Makefile.in
+ SOURCES = generate-requests.c kdecode_ticket.c kdestroy.c kgetcred.c kinit.c klist.c kverify.c
+-OBJECTS = generate-requests.$(OBJEXT) kdecode_ticket.$(OBJEXT) kdestroy.$(OBJEXT) kgetcred.$(OBJEXT) kinit.$(OBJEXT) klist.$(OBJEXT) kverify.$(OBJEXT)
+ 
+-all: all-redirect
++all: all-am
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign kuser/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+-
+-
+-mostlyclean-binPROGRAMS:
+ 
+-clean-binPROGRAMS:
+-	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
+-
+-distclean-binPROGRAMS:
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-maintainer-clean-binPROGRAMS:
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  kuser/Makefile
++Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ install-binPROGRAMS: $(bin_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(bindir)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  if test -f $$p; then \
+-	    f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f; \
++	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  if test -f $$p \
++	     || test -f $$p1 \
++	  ; then \
++	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-binPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+-mostlyclean-noinstPROGRAMS:
++clean-binPROGRAMS:
++	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
+ 
+ clean-noinstPROGRAMS:
+ 	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
+-
+-distclean-noinstPROGRAMS:
+-
+-maintainer-clean-noinstPROGRAMS:
+-
+-mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
+-
+-clean-compile:
+-
+-distclean-compile:
+-	-rm -f *.tab.c
+-
+-maintainer-clean-compile:
+-
+-mostlyclean-libtool:
+-	-rm -f *.lo
+-
+-clean-libtool:
+-	-rm -rf .libs _libs
+-
+-distclean-libtool:
+-
+-maintainer-clean-libtool:
+-
+-generate-requests$(EXEEXT): $(generate_requests_OBJECTS) $(generate_requests_DEPENDENCIES)
++generate-requests$(EXEEXT): $(generate_requests_OBJECTS) $(generate_requests_DEPENDENCIES) 
+ 	@rm -f generate-requests$(EXEEXT)
+ 	$(LINK) $(generate_requests_LDFLAGS) $(generate_requests_OBJECTS) $(generate_requests_LDADD) $(LIBS)
+-
+-kdecode_ticket$(EXEEXT): $(kdecode_ticket_OBJECTS) $(kdecode_ticket_DEPENDENCIES)
++kdecode_ticket$(EXEEXT): $(kdecode_ticket_OBJECTS) $(kdecode_ticket_DEPENDENCIES) 
+ 	@rm -f kdecode_ticket$(EXEEXT)
+ 	$(LINK) $(kdecode_ticket_LDFLAGS) $(kdecode_ticket_OBJECTS) $(kdecode_ticket_LDADD) $(LIBS)
+-
+-kdestroy$(EXEEXT): $(kdestroy_OBJECTS) $(kdestroy_DEPENDENCIES)
++kdestroy$(EXEEXT): $(kdestroy_OBJECTS) $(kdestroy_DEPENDENCIES) 
+ 	@rm -f kdestroy$(EXEEXT)
+ 	$(LINK) $(kdestroy_LDFLAGS) $(kdestroy_OBJECTS) $(kdestroy_LDADD) $(LIBS)
+-
+-kgetcred$(EXEEXT): $(kgetcred_OBJECTS) $(kgetcred_DEPENDENCIES)
++kgetcred$(EXEEXT): $(kgetcred_OBJECTS) $(kgetcred_DEPENDENCIES) 
+ 	@rm -f kgetcred$(EXEEXT)
+ 	$(LINK) $(kgetcred_LDFLAGS) $(kgetcred_OBJECTS) $(kgetcred_LDADD) $(LIBS)
+-
+-kinit$(EXEEXT): $(kinit_OBJECTS) $(kinit_DEPENDENCIES)
++kinit$(EXEEXT): $(kinit_OBJECTS) $(kinit_DEPENDENCIES) 
+ 	@rm -f kinit$(EXEEXT)
+ 	$(LINK) $(kinit_LDFLAGS) $(kinit_OBJECTS) $(kinit_LDADD) $(LIBS)
+-
+-klist$(EXEEXT): $(klist_OBJECTS) $(klist_DEPENDENCIES)
++klist$(EXEEXT): $(klist_OBJECTS) $(klist_DEPENDENCIES) 
+ 	@rm -f klist$(EXEEXT)
+ 	$(LINK) $(klist_LDFLAGS) $(klist_OBJECTS) $(klist_LDADD) $(LIBS)
+-
+-kverify$(EXEEXT): $(kverify_OBJECTS) $(kverify_DEPENDENCIES)
++kverify$(EXEEXT): $(kverify_OBJECTS) $(kverify_DEPENDENCIES) 
+ 	@rm -f kverify$(EXEEXT)
+ 	$(LINK) $(kverify_LDFLAGS) $(kverify_OBJECTS) $(kverify_LDADD) $(LIBS)
++
++mostlyclean-compile:
++	-rm -f *.$(OBJEXT) core *.core
++
++distclean-compile:
++	-rm -f *.tab.c
++
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
++
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
++uninstall-info-am:
+ 
+-install-man1:
++man1dir = $(mandir)/man1
++install-man1: $(man1_MANS) $(man_MANS)
++	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(man1dir)
+-	@list='$(man1_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.1*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -430,10 +409,11 @@
+ 	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
+ 	  $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
+ 	done
+-
+ uninstall-man1:
+-	@list='$(man1_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@$(NORMAL_UNINSTALL)
++	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.1*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -446,12 +426,6 @@
+ 	  echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
+ 	  rm -f $(DESTDIR)$(man1dir)/$$inst; \
+ 	done
+-install-man: $(MANS)
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-man1
+-uninstall-man:
+-	@$(NORMAL_UNINSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) uninstall-man1
+ 
+ tags: TAGS
+ 
+@@ -480,22 +454,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -505,90 +480,96 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-install-exec-am: install-binPROGRAMS
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++all-am: Makefile $(PROGRAMS) $(MANS) all-local
+ 
+-install-data-am: install-man install-data-local
+-install-data: install-data-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(man1dir)
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am: uninstall-binPROGRAMS uninstall-man
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(PROGRAMS) $(MANS) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-binPROGRAMS mostlyclean-noinstPROGRAMS \
+-		mostlyclean-compile mostlyclean-libtool \
+-		mostlyclean-tags mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-binPROGRAMS clean-generic clean-libtool \
++	clean-noinstPROGRAMS mostlyclean-am
+ 
+-clean-am:  clean-binPROGRAMS clean-noinstPROGRAMS clean-compile \
+-		clean-libtool clean-tags clean-generic mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-binPROGRAMS distclean-noinstPROGRAMS \
+-		distclean-compile distclean-libtool distclean-tags \
+-		distclean-generic clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-binPROGRAMS \
+-		maintainer-clean-noinstPROGRAMS \
+-		maintainer-clean-compile maintainer-clean-libtool \
+-		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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local install-man
++
++install-exec-am: install-binPROGRAMS
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man: install-man1
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-am
+ 
+-.PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
+-maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
+-mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \
+-clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \
+-mostlyclean-compile distclean-compile clean-compile \
+-maintainer-clean-compile mostlyclean-libtool distclean-libtool \
+-clean-libtool maintainer-clean-libtool install-man1 uninstall-man1 \
+-install-man uninstall-man tags mostlyclean-tags distclean-tags \
+-clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi \
+-check-local check check-am installcheck-am installcheck install-exec-am \
+-install-exec install-data-local install-data-am install-data install-am \
+-install uninstall-am uninstall all-local all-redirect all-am all \
+-install-strip installdirs mostlyclean-generic distclean-generic \
+-clean-generic maintainer-clean-generic clean mostlyclean distclean \
+-maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-binPROGRAMS uninstall-info-am uninstall-man
++
++uninstall-man: uninstall-man1
++
++.PHONY: GTAGS all all-am all-local check check-am check-local clean \
++	clean-binPROGRAMS clean-generic clean-libtool \
++	clean-noinstPROGRAMS distclean distclean-compile \
++	distclean-generic distclean-libtool distclean-tags distdir dvi \
++	dvi-am info info-am install install-am install-binPROGRAMS \
++	install-data install-data-am install-data-local install-exec \
++	install-exec-am install-info install-info-am install-man \
++	install-man1 install-strip installcheck installcheck-am \
++	installdirs maintainer-clean maintainer-clean-generic \
++	mostlyclean mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool tags uninstall uninstall-am \
++	uninstall-binPROGRAMS uninstall-info-am uninstall-man \
++	uninstall-man1
+ 
+ 
+ install-suid-programs:
+@@ -722,7 +703,6 @@
+ # make sure install-exec-hook doesn't have any commands in Makefile.am.common
+ install-exec-hook:
+ 	(cd $(DESTDIR)$(bindir) && rm -f kauth && $(LN_S) kinit kauth)
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/lib/45/Makefile.in heimdal-0.4e/lib/45/Makefile.in
+--- heimdal-0.4e-old/lib/45/Makefile.in	Thu Sep  6 22:22:44 2001
++++ heimdal-0.4e/lib/45/Makefile.in	Wed Nov 21 11:52:42 2001
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.5 1999/03/20 13:58:17 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,9 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,6 +89,7 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+@@ -105,7 +109,6 @@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,20 +122,17 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+ 
+-# $Id: Makefile.am,v 1.5 1999/03/20 13:58:17 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
+-
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+ SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+@@ -189,13 +189,12 @@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+@@ -206,59 +205,54 @@
+ lib45_a_SOURCES = get_ad_tkt.c mk_req.c 45_locl.h
+ subdir = lib/45
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../include/config.h
+-CONFIG_CLEAN_FILES = 
+-LIBRARIES =  $(lib_LIBRARIES)
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++LIBRARIES = $(lib_LIBRARIES)
+ 
++lib45_a_AR = $(AR) cru
++lib45_a_LIBADD =
++am_lib45_a_OBJECTS = get_ad_tkt.$(OBJEXT) mk_req.$(OBJEXT)
++lib45_a_OBJECTS = $(am_lib45_a_OBJECTS)
+ 
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../../include
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+-lib45_a_AR = $(AR) cru
+-lib45_a_LIBADD = 
+-am_lib45_a_OBJECTS =  get_ad_tkt.$(OBJEXT) mk_req.$(OBJEXT)
+-lib45_a_OBJECTS =  $(am_lib45_a_OBJECTS)
+-AR = ar
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  $(lib45_a_SOURCES)
+-depcomp = 
+-DIST_COMMON =  Makefile.am Makefile.in
+-
+-
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+-
+-GZIP_ENV = --best
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++DIST_SOURCES = $(lib45_a_SOURCES)
++DIST_COMMON = Makefile.am Makefile.in
+ SOURCES = $(lib45_a_SOURCES)
+-OBJECTS = $(am_lib45_a_OBJECTS)
+ 
+-all: all-redirect
++all: all-am
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/45/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+ 
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-mostlyclean-libLIBRARIES:
+-
+-clean-libLIBRARIES:
+-	-test -z "$(lib_LIBRARIES)" || rm -f $(lib_LIBRARIES)
+-
+-distclean-libLIBRARIES:
++clean-libtool:
++	-rm -rf .libs _libs
+ 
+-maintainer-clean-libLIBRARIES:
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  lib/45/Makefile
++Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ 
++AR = ar
+ install-libLIBRARIES: $(lib_LIBRARIES)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(libdir)
+@@ -283,37 +277,28 @@
+ 	  rm -f $(DESTDIR)$(libdir)/$$p; \
+ 	done
+ 
+-mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
++clean-libLIBRARIES:
++	-test -z "$(lib_LIBRARIES)" || rm -f $(lib_LIBRARIES)
++lib45.a: $(lib45_a_OBJECTS) $(lib45_a_DEPENDENCIES) 
++	-rm -f lib45.a
++	$(lib45_a_AR) lib45.a $(lib45_a_OBJECTS) $(lib45_a_LIBADD)
++	$(RANLIB) lib45.a
+ 
+-clean-compile:
++mostlyclean-compile:
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+-maintainer-clean-compile:
+-
+-mostlyclean-libtool:
+-	-rm -f *.lo
+-
+-clean-libtool:
+-	-rm -rf .libs _libs
+-
+-distclean-libtool:
+-
+-maintainer-clean-libtool:
+-
+-lib45.a: $(lib45_a_OBJECTS) $(lib45_a_DEPENDENCIES)
+-	-rm -f lib45.a
+-	$(lib45_a_AR) lib45.a $(lib45_a_OBJECTS) $(lib45_a_LIBADD)
+-	$(RANLIB) lib45.a
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
++
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
++uninstall-info-am:
+ 
+ tags: TAGS
+ 
+@@ -342,22 +327,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -367,86 +353,91 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-install-exec-am: install-libLIBRARIES
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++all-am: Makefile $(LIBRARIES) all-local
+ 
+-install-data-am: install-data-local
+-install-data: install-data-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(libdir)
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am: uninstall-libLIBRARIES
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(LIBRARIES) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(libdir)
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-libLIBRARIES mostlyclean-compile \
+-		mostlyclean-libtool mostlyclean-tags \
+-		mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-generic clean-libLIBRARIES clean-libtool mostlyclean-am
+ 
+-clean-am:  clean-libLIBRARIES clean-compile clean-libtool clean-tags \
+-		clean-generic mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-libLIBRARIES distclean-compile \
+-		distclean-libtool distclean-tags distclean-generic \
+-		clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-libLIBRARIES \
+-		maintainer-clean-compile maintainer-clean-libtool \
+-		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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local
++
++install-exec-am: install-libLIBRARIES
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man:
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-am
+ 
+-.PHONY: mostlyclean-libLIBRARIES distclean-libLIBRARIES \
+-clean-libLIBRARIES maintainer-clean-libLIBRARIES uninstall-libLIBRARIES \
+-install-libLIBRARIES mostlyclean-compile distclean-compile \
+-clean-compile maintainer-clean-compile mostlyclean-libtool \
+-distclean-libtool clean-libtool maintainer-clean-libtool tags \
+-mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
+-distdir info-am info dvi-am dvi check-local check check-am \
+-installcheck-am installcheck install-exec-am install-exec \
+-install-data-local install-data-am install-data install-am install \
+-uninstall-am uninstall all-local all-redirect all-am all install-strip \
+-installdirs mostlyclean-generic distclean-generic clean-generic \
+-maintainer-clean-generic clean mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-info-am uninstall-libLIBRARIES
++
++.PHONY: GTAGS all all-am all-local check check-am check-local clean \
++	clean-generic clean-libLIBRARIES clean-libtool distclean \
++	distclean-compile distclean-generic distclean-libtool \
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-data install-data-am install-data-local \
++	install-exec install-exec-am install-info install-info-am \
++	install-libLIBRARIES install-man install-strip installcheck \
++	installcheck-am installdirs maintainer-clean \
++	maintainer-clean-generic mostlyclean mostlyclean-compile \
++	mostlyclean-generic mostlyclean-libtool tags uninstall \
++	uninstall-am uninstall-info-am uninstall-libLIBRARIES
+ 
+ 
+ install-suid-programs:
+@@ -576,7 +567,6 @@
+ 	  echo "$$dashes"; \
+ 	  test "$$failed" -eq 0; \
+ 	fi
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/lib/Makefile.in heimdal-0.4e/lib/Makefile.in
+--- heimdal-0.4e-old/lib/Makefile.in	Thu Sep  6 22:22:42 2001
++++ heimdal-0.4e/lib/Makefile.in	Wed Nov 21 11:52:42 2001
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.22 2001/08/28 18:44:41 nectar Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,9 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,6 +89,7 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+@@ -105,7 +109,6 @@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,20 +122,17 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+ 
+-# $Id: Makefile.am,v 1.22 2001/08/28 18:44:41 nectar Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
+-
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+ SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+@@ -189,52 +189,65 @@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+-@KRB4_TRUE@dir_45 = @KRB4_TRUE@45
+-@OTP_TRUE@dir_otp = @OTP_TRUE@otp
+-@DCE_TRUE@dir_dce = @DCE_TRUE@kdfs
++@KRB4_TRUE@dir_45 = 45
++@OTP_TRUE@dir_otp = otp
++@DCE_TRUE@dir_dce = kdfs
+ 
+-SUBDIRS = @DIR_roken@ vers editline @DIR_com_err@ sl asn1 @DIR_des@ krb5 \
++SUBDIRS = @DIR_roken@ vers @DIR_readline@ @DIR_com_err@ sl asn1 @DIR_des@ krb5 \
+ 	kafs hdb kadm5 gssapi auth $(dir_45) $(dir_otp) $(dir_dce)
+ 
+ subdir = lib
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../include/config.h
+-CONFIG_CLEAN_FILES = 
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++depcomp =
+ CFLAGS = @CFLAGS@
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES = 
+-depcomp = 
+-DIST_COMMON =  Makefile.am Makefile.in
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++DIST_SOURCES =
++
++RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \
++	uninstall-info-recursive all-recursive install-data-recursive \
++	install-exec-recursive installdirs-recursive install-recursive \
++	uninstall-recursive check-recursive installcheck-recursive
++DIST_COMMON = Makefile.am Makefile.in
++DIST_SUBDIRS = @DIR_roken@ vers @DIR_readline@ @DIR_com_err@ sl asn1 \
++	@DIR_des@ krb5 kafs hdb kadm5 gssapi auth 45 otp kdfs
++all: all-recursive
+ 
++.SUFFIXES:
++.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c
+ 
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-GZIP_ENV = --best
+-DIST_SUBDIRS =  @DIR_roken@ vers editline @DIR_com_err@ sl asn1 \
+-@DIR_des@ krb5 kafs hdb kadm5 gssapi auth 45 otp kdfs
+-all: all-redirect
+-.SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  lib/Makefile
++Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
++uninstall-info-am:
+ 
+ # This directory's subdirectories are mostly independent; you can cd
+ # into them and run `make' without going through this Makefile.
+@@ -242,10 +255,7 @@
+ # (1) if the variable is set in `config.status', edit `config.status'
+ #     (which will cause the Makefiles to be regenerated when you run `make');
+ # (2) otherwise, pass the desired values on the `make' command line.
+-
+-all-recursive install-data-recursive install-exec-recursive \
+-installdirs-recursive install-recursive uninstall-recursive  \
+-check-recursive installcheck-recursive info-recursive dvi-recursive:
++$(RECURSIVE_TARGETS):
+ 	@set fnord $(MAKEFLAGS); amf=$$2; \
+ 	dot_seen=no; \
+ 	target=`echo $@ | sed s/-recursive//`; \
+@@ -310,9 +320,9 @@
+ 	tags=; \
+ 	here=`pwd`; \
+ 	list='$(SUBDIRS)'; for subdir in $$list; do \
+-   if test "$$subdir" = .; then :; else \
++	  if test "$$subdir" = .; then :; else \
+ 	    test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
+-   fi; \
++	  fi; \
+ 	done; \
+ 	list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
+ 	unique=`for i in $$list; do \
+@@ -326,22 +336,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -356,84 +367,103 @@
+ 	    test -d $(distdir)/$$subdir \
+ 	    || mkdir $(distdir)/$$subdir \
+ 	    || exit 1; \
+-	    (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \
++	    (cd $$subdir && \
++	      $(MAKE) $(AM_MAKEFLAGS) \
++	        top_distdir="$(top_distdir)" \
++	        distdir=../$(distdir)/$$subdir \
++	        distdir) \
+ 	      || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-recursive
+-dvi-am:
+-dvi: dvi-recursive
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-recursive
+-installcheck-am:
+-installcheck: installcheck-recursive
+-install-exec-am:
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-recursive
++all-am: Makefile all-local
++installdirs: installdirs-recursive
++installdirs-am:
+ 
+-install-data-am: install-data-local
++install: install-recursive
++install-exec: install-exec-recursive
+ install-data: install-data-recursive
++uninstall: uninstall-recursive
+ 
+ install-am: all-am
+ 	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+-install: install-recursive
+-uninstall-am:
+-uninstall: uninstall-recursive
+-all-am: Makefile all-local
+-all-redirect: all-recursive
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs: installdirs-recursive
+-installdirs-am:
+-
+ 
++installcheck: installcheck-recursive
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-tags mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-recursive
+ 
+-mostlyclean: mostlyclean-recursive
++clean-am: clean-generic clean-libtool mostlyclean-am
+ 
+-clean-am:  clean-tags clean-generic mostlyclean-am
++distclean: distclean-recursive
+ 
+-clean: clean-recursive
++distclean-am: clean-am distclean-generic distclean-libtool \
++	distclean-tags
+ 
+-distclean-am:  distclean-tags distclean-generic clean-am
+-	-rm -f libtool
++dvi: dvi-recursive
+ 
+-distclean: distclean-recursive
++dvi-am:
+ 
+-maintainer-clean-am:  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."
++info: info-recursive
++
++info-am:
++
++install-data-am: install-data-local
++
++install-exec-am:
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-recursive
++
++install-man:
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-recursive
+ 
+-.PHONY: install-recursive uninstall-recursive install-data-recursive \
+-uninstall-data-recursive install-exec-recursive \
+-uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
+-all-recursive check-recursive installcheck-recursive info-recursive \
+-dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
+-maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
+-distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
+-dvi-am dvi check-local check check-am installcheck-am installcheck \
+-install-exec-am install-exec install-data-local install-data-am \
+-install-data install-am install uninstall-am uninstall all-local \
+-all-redirect all-am all install-strip installdirs-am installdirs \
+-mostlyclean-generic distclean-generic clean-generic \
+-maintainer-clean-generic clean mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-recursive
++
++mostlyclean-am: mostlyclean-generic mostlyclean-libtool
++
++uninstall-am: uninstall-info-am
++
++uninstall-info: uninstall-info-recursive
++
++.PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am all-local check check-am \
++	check-local clean clean-generic clean-libtool clean-recursive \
++	distclean distclean-generic distclean-libtool \
++	distclean-recursive distclean-tags distdir dvi dvi-am \
++	dvi-recursive info info-am info-recursive install install-am \
++	install-data install-data-am install-data-local \
++	install-data-recursive install-exec install-exec-am \
++	install-exec-recursive install-info install-info-am \
++	install-info-recursive install-man install-recursive \
++	install-strip installcheck installcheck-am installdirs \
++	installdirs-am installdirs-recursive maintainer-clean \
++	maintainer-clean-generic maintainer-clean-recursive mostlyclean \
++	mostlyclean-generic mostlyclean-libtool mostlyclean-recursive \
++	tags tags-recursive uninstall uninstall-am uninstall-info-am \
++	uninstall-info-recursive uninstall-recursive
+ 
+ 
+ install-suid-programs:
+@@ -563,7 +593,6 @@
+ 	  echo "$$dashes"; \
+ 	  test "$$failed" -eq 0; \
+ 	fi
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/lib/asn1/Makefile.in heimdal-0.4e/lib/asn1/Makefile.in
+--- heimdal-0.4e-old/lib/asn1/Makefile.in	Thu Sep  6 22:22:55 2001
++++ heimdal-0.4e/lib/asn1/Makefile.in	Wed Nov 21 11:52:43 2001
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.67 2001/09/02 16:56:45 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,9 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,6 +89,7 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+@@ -105,7 +109,6 @@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,20 +122,17 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+ 
+-# $Id: Makefile.am,v 1.67 2001/09/02 16:56:45 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
+-
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+ SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+@@ -189,13 +189,12 @@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+@@ -315,192 +314,174 @@
+ EXTRA_DIST = asn1_err.et
+ subdir = lib/asn1
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../include/config.h
+-CONFIG_CLEAN_FILES = 
+-LTLIBRARIES =  $(lib_LTLIBRARIES)
+-
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++LTLIBRARIES = $(lib_LTLIBRARIES)
++
++libasn1_la_DEPENDENCIES =
++am_libasn1_la_OBJECTS = der_get.lo der_put.lo der_free.lo der_length.lo \
++	der_copy.lo timegm.lo asn1_APOptions.lo asn1_AP_REP.lo \
++	asn1_AP_REQ.lo asn1_AS_REP.lo asn1_AS_REQ.lo \
++	asn1_Authenticator.lo asn1_AuthorizationData.lo \
++	asn1_CKSUMTYPE.lo asn1_Checksum.lo asn1_ENCTYPE.lo \
++	asn1_ETYPE_INFO.lo asn1_ETYPE_INFO_ENTRY.lo \
++	asn1_EncAPRepPart.lo asn1_EncASRepPart.lo asn1_EncKDCRepPart.lo \
++	asn1_EncKrbCredPart.lo asn1_EncKrbPrivPart.lo \
++	asn1_EncTGSRepPart.lo asn1_EncTicketPart.lo \
++	asn1_EncryptedData.lo asn1_EncryptionKey.lo asn1_HostAddress.lo \
++	asn1_HostAddresses.lo asn1_KDCOptions.lo asn1_KDC_REP.lo \
++	asn1_KDC_REQ.lo asn1_KDC_REQ_BODY.lo asn1_KRB_CRED.lo \
++	asn1_KRB_ERROR.lo asn1_KRB_PRIV.lo asn1_KRB_SAFE.lo \
++	asn1_KRB_SAFE_BODY.lo asn1_KerberosTime.lo asn1_KrbCredInfo.lo \
++	asn1_LastReq.lo asn1_LR_TYPE.lo asn1_MESSAGE_TYPE.lo \
++	asn1_METHOD_DATA.lo asn1_NAME_TYPE.lo asn1_PADATA_TYPE.lo \
++	asn1_PA_DATA.lo asn1_PA_ENC_TS_ENC.lo asn1_Principal.lo \
++	asn1_PrincipalName.lo asn1_Realm.lo asn1_TGS_REP.lo \
++	asn1_TGS_REQ.lo asn1_Ticket.lo asn1_TicketFlags.lo \
++	asn1_TransitedEncoding.lo asn1_UNSIGNED.lo asn1_err.lo
++libasn1_la_OBJECTS = $(am_libasn1_la_OBJECTS)
++check_PROGRAMS = check-der$(EXEEXT)
++noinst_PROGRAMS = asn1_compile$(EXEEXT) asn1_print$(EXEEXT)
++PROGRAMS = $(noinst_PROGRAMS)
++
++am_asn1_compile_OBJECTS = gen.$(OBJEXT) gen_copy.$(OBJEXT) \
++	gen_decode.$(OBJEXT) gen_encode.$(OBJEXT) gen_free.$(OBJEXT) \
++	gen_glue.$(OBJEXT) gen_length.$(OBJEXT) hash.$(OBJEXT) \
++	lex.$(OBJEXT) main.$(OBJEXT) parse.$(OBJEXT) symbol.$(OBJEXT)
++asn1_compile_OBJECTS = $(am_asn1_compile_OBJECTS)
++asn1_compile_DEPENDENCIES =
++asn1_compile_LDFLAGS =
++asn1_print_SOURCES = asn1_print.c
++asn1_print_OBJECTS = asn1_print.$(OBJEXT)
++asn1_print_DEPENDENCIES = libasn1.la
++asn1_print_LDFLAGS =
++check_der_SOURCES = check-der.c
++check_der_OBJECTS = check-der.$(OBJEXT)
++check_der_DEPENDENCIES = libasn1.la
++check_der_LDFLAGS =
+ 
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../../include
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+-libasn1_la_DEPENDENCIES = 
+-am_libasn1_la_OBJECTS =  der_get.lo der_put.lo der_free.lo der_length.lo \
+-der_copy.lo timegm.lo asn1_APOptions.lo asn1_AP_REP.lo asn1_AP_REQ.lo \
+-asn1_AS_REP.lo asn1_AS_REQ.lo asn1_Authenticator.lo \
+-asn1_AuthorizationData.lo asn1_CKSUMTYPE.lo asn1_Checksum.lo \
+-asn1_ENCTYPE.lo asn1_ETYPE_INFO.lo asn1_ETYPE_INFO_ENTRY.lo \
+-asn1_EncAPRepPart.lo asn1_EncASRepPart.lo asn1_EncKDCRepPart.lo \
+-asn1_EncKrbCredPart.lo asn1_EncKrbPrivPart.lo asn1_EncTGSRepPart.lo \
+-asn1_EncTicketPart.lo asn1_EncryptedData.lo asn1_EncryptionKey.lo \
+-asn1_HostAddress.lo asn1_HostAddresses.lo asn1_KDCOptions.lo \
+-asn1_KDC_REP.lo asn1_KDC_REQ.lo asn1_KDC_REQ_BODY.lo asn1_KRB_CRED.lo \
+-asn1_KRB_ERROR.lo asn1_KRB_PRIV.lo asn1_KRB_SAFE.lo \
+-asn1_KRB_SAFE_BODY.lo asn1_KerberosTime.lo asn1_KrbCredInfo.lo \
+-asn1_LastReq.lo asn1_LR_TYPE.lo asn1_MESSAGE_TYPE.lo \
+-asn1_METHOD_DATA.lo asn1_NAME_TYPE.lo asn1_PADATA_TYPE.lo \
+-asn1_PA_DATA.lo asn1_PA_ENC_TS_ENC.lo asn1_Principal.lo \
+-asn1_PrincipalName.lo asn1_Realm.lo asn1_TGS_REP.lo asn1_TGS_REQ.lo \
+-asn1_Ticket.lo asn1_TicketFlags.lo asn1_TransitedEncoding.lo \
+-asn1_UNSIGNED.lo asn1_err.lo
+-libasn1_la_OBJECTS =  $(am_libasn1_la_OBJECTS)
+-check_PROGRAMS =  check-der$(EXEEXT)
+-noinst_PROGRAMS =  asn1_compile$(EXEEXT) asn1_print$(EXEEXT)
+-PROGRAMS =  $(noinst_PROGRAMS)
+-
+-am_asn1_compile_OBJECTS =  gen.$(OBJEXT) gen_copy.$(OBJEXT) \
+-gen_decode.$(OBJEXT) gen_encode.$(OBJEXT) gen_free.$(OBJEXT) \
+-gen_glue.$(OBJEXT) gen_length.$(OBJEXT) hash.$(OBJEXT) lex.$(OBJEXT) \
+-main.$(OBJEXT) parse.$(OBJEXT) symbol.$(OBJEXT)
+-asn1_compile_OBJECTS =  $(am_asn1_compile_OBJECTS)
+-asn1_compile_DEPENDENCIES = 
+-asn1_compile_LDFLAGS = 
+-asn1_print_SOURCES = asn1_print.c
+-asn1_print_OBJECTS =  asn1_print.$(OBJEXT)
+-asn1_print_DEPENDENCIES =  libasn1.la
+-asn1_print_LDFLAGS = 
+-check_der_SOURCES = check-der.c
+-check_der_OBJECTS =  check-der.$(OBJEXT)
+-check_der_DEPENDENCIES =  libasn1.la
+-check_der_LDFLAGS = 
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
+-LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  $(libasn1_la_SOURCES) $(asn1_compile_SOURCES) \
+-asn1_print.c check-der.c
+-HEADERS =  $(include_HEADERS)
+-
+-depcomp = 
+-DIST_COMMON =  $(include_HEADERS) Makefile.am Makefile.in lex.c parse.c \
+-parse.h
+-
+-
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++LEXCOMPILE = $(LEX) $(LFLAGS) $(AM_LFLAGS)
++LTLEXCOMPILE = $(LIBTOOL) --mode=compile $(LEX) $(LFLAGS) $(AM_LFLAGS)
++YACCCOMPILE = $(YACC) $(YFLAGS) $(AM_YFLAGS)
++LTYACCCOMPILE = $(LIBTOOL) --mode=compile $(YACC) $(YFLAGS) $(AM_YFLAGS)
++DIST_SOURCES = $(libasn1_la_SOURCES) $(asn1_compile_SOURCES) \
++	asn1_print.c check-der.c
++HEADERS = $(include_HEADERS)
+ 
+-GZIP_ENV = --best
++DIST_COMMON = $(include_HEADERS) Makefile.am Makefile.in lex.c parse.c \
++	parse.h
+ SOURCES = $(libasn1_la_SOURCES) $(asn1_compile_SOURCES) asn1_print.c check-der.c
+-OBJECTS = $(am_libasn1_la_OBJECTS) $(am_asn1_compile_OBJECTS) asn1_print.$(OBJEXT) check-der.$(OBJEXT)
+ 
+-all: all-redirect
++all: $(BUILT_SOURCES)
++	$(MAKE) $(AM_MAKEFLAGS) all-am
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .l .lo .o .obj .y
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/asn1/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+-
+-
+-mostlyclean-libLTLIBRARIES:
+-
+-clean-libLTLIBRARIES:
+-	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
+ 
+-distclean-libLTLIBRARIES:
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-maintainer-clean-libLTLIBRARIES:
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  lib/asn1/Makefile
++Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ install-libLTLIBRARIES: $(lib_LTLIBRARIES)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(libdir)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+ 	  if test -f $$p; then \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p; \
++	    echo " $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p"; \
++	    $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-libLTLIBRARIES:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+-	  echo " $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
+-	  $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
++	  echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
++	  $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
+ 	done
+ 
+-mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
+-
+-clean-compile:
+-
+-distclean-compile:
+-	-rm -f *.tab.c
+-
+-maintainer-clean-compile:
+-
+-mostlyclean-libtool:
+-	-rm -f *.lo
+-
+-clean-libtool:
+-	-rm -rf .libs _libs
+-
+-distclean-libtool:
+-
+-maintainer-clean-libtool:
+-
+-libasn1.la: $(libasn1_la_OBJECTS) $(libasn1_la_DEPENDENCIES)
++clean-libLTLIBRARIES:
++	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
++libasn1.la: $(libasn1_la_OBJECTS) $(libasn1_la_DEPENDENCIES) 
+ 	$(LINK) -rpath $(libdir) $(libasn1_la_LDFLAGS) $(libasn1_la_OBJECTS) $(libasn1_la_LIBADD) $(LIBS)
+ 
+-mostlyclean-checkPROGRAMS:
+-
+ clean-checkPROGRAMS:
+ 	-test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
+ 
+-distclean-checkPROGRAMS:
+-
+-maintainer-clean-checkPROGRAMS:
+-
+-mostlyclean-noinstPROGRAMS:
+-
+ clean-noinstPROGRAMS:
+ 	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
+-
+-distclean-noinstPROGRAMS:
+-
+-maintainer-clean-noinstPROGRAMS:
+-
+-asn1_compile$(EXEEXT): $(asn1_compile_OBJECTS) $(asn1_compile_DEPENDENCIES)
++parse.h: parse.c
++asn1_compile$(EXEEXT): $(asn1_compile_OBJECTS) $(asn1_compile_DEPENDENCIES) 
+ 	@rm -f asn1_compile$(EXEEXT)
+ 	$(LINK) $(asn1_compile_LDFLAGS) $(asn1_compile_OBJECTS) $(asn1_compile_LDADD) $(LIBS)
+-
+-asn1_print$(EXEEXT): $(asn1_print_OBJECTS) $(asn1_print_DEPENDENCIES)
++asn1_print$(EXEEXT): $(asn1_print_OBJECTS) $(asn1_print_DEPENDENCIES) 
+ 	@rm -f asn1_print$(EXEEXT)
+ 	$(LINK) $(asn1_print_LDFLAGS) $(asn1_print_OBJECTS) $(asn1_print_LDADD) $(LIBS)
+-
+-check-der$(EXEEXT): $(check_der_OBJECTS) $(check_der_DEPENDENCIES)
++check-der$(EXEEXT): $(check_der_OBJECTS) $(check_der_DEPENDENCIES) 
+ 	@rm -f check-der$(EXEEXT)
+ 	$(LINK) $(check_der_LDFLAGS) $(check_der_OBJECTS) $(check_der_LDADD) $(LIBS)
++
++mostlyclean-compile:
++	-rm -f *.$(OBJEXT) core *.core
++
++distclean-compile:
++	-rm -f *.tab.c
++
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
++
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
++
++LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
++
+ .l.c:
+-	$(LEX) $(AM_LFLAGS) $(LFLAGS) $< && mv $(LEX_OUTPUT_ROOT).c $@
++	$(LEXCOMPILE) $< && mv $(LEX_OUTPUT_ROOT).c $@
++
+ .y.c:
+-	$(YACC) $(AM_YFLAGS) $(YFLAGS) $< && mv y.tab.c $*.c
++	$(YACCCOMPILE) $< && mv y.tab.c $@
+ 	if test -f y.tab.h; then \
+-	if cmp -s y.tab.h $*.h; then rm -f y.tab.h; else mv y.tab.h $*.h; fi; \
+-	else :; fi
+-parse.h: parse.c
+-
+-
++	  if cmp -s y.tab.h $*.h; then \
++	    rm -f y.tab.h; \
++	  else \
++	    mv y.tab.h $*.h; \
++	  fi; \
++	fi
++uninstall-info-am:
+ install-includeHEADERS: $(include_HEADERS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(includedir)
+ 	@list='$(include_HEADERS)'; for p in $$list; do \
+-	  if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
++	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
+-	  $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f; \
++	  echo " $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
++	  $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(includedir)/$$f; \
+ 	done
+ 
+ uninstall-includeHEADERS:
+@@ -538,16 +519,11 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
+ check-TESTS: $(TESTS)
+ 	@failed=0; all=0; xfail=0; xpass=0; \
+ 	srcdir=$(srcdir); export srcdir; \
+@@ -603,11 +579,18 @@
+ 	  test "$$failed" -eq 0; \
+ 	fi
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -617,102 +600,98 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
+ 	$(MAKE) $(AM_MAKEFLAGS) check-TESTS check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-all-recursive-am: $(BUILT_SOURCES)
+-	$(MAKE) $(AM_MAKEFLAGS) all-recursive
++all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(HEADERS) all-local
+ 
+-install-exec-am: install-libLTLIBRARIES
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(includedir)
+ 
+-install-data-am: install-includeHEADERS install-data-local
++install: install-am
++install-exec: install-exec-am
+ install-data: install-data-am
++uninstall: uninstall-am
+ 
+ install-am: all-am
+ 	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+-install: install-am
+-uninstall-am: uninstall-libLTLIBRARIES uninstall-includeHEADERS
+-uninstall: uninstall-am
+-all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(HEADERS) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(libdir) $(DESTDIR)$(includedir)
+-
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-	-test -z "lex.cparse.hparse.c$(BUILT_SOURCES)" || rm -f lex.c parse.h parse.c $(BUILT_SOURCES)
+-mostlyclean-am:  mostlyclean-libLTLIBRARIES mostlyclean-compile \
+-		mostlyclean-libtool mostlyclean-checkPROGRAMS \
+-		mostlyclean-noinstPROGRAMS mostlyclean-tags \
+-		mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++	-test -z "parse.h$(BUILT_SOURCES)" || rm -f parse.h $(BUILT_SOURCES)
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-checkPROGRAMS clean-generic clean-libLTLIBRARIES \
++	clean-libtool clean-noinstPROGRAMS mostlyclean-am
+ 
+-clean-am:  clean-libLTLIBRARIES clean-compile clean-libtool \
+-		clean-checkPROGRAMS clean-noinstPROGRAMS clean-tags \
+-		clean-generic mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-libLTLIBRARIES distclean-compile \
+-		distclean-libtool distclean-checkPROGRAMS \
+-		distclean-noinstPROGRAMS distclean-tags \
+-		distclean-generic clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-libLTLIBRARIES \
+-		maintainer-clean-compile maintainer-clean-libtool \
+-		maintainer-clean-checkPROGRAMS \
+-		maintainer-clean-noinstPROGRAMS 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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local install-includeHEADERS
++
++install-exec-am: install-libLTLIBRARIES
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man:
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-am
+ 
+-.PHONY: mostlyclean-libLTLIBRARIES distclean-libLTLIBRARIES \
+-clean-libLTLIBRARIES maintainer-clean-libLTLIBRARIES \
+-uninstall-libLTLIBRARIES install-libLTLIBRARIES mostlyclean-compile \
+-distclean-compile clean-compile maintainer-clean-compile \
+-mostlyclean-libtool distclean-libtool clean-libtool \
+-maintainer-clean-libtool mostlyclean-checkPROGRAMS \
+-distclean-checkPROGRAMS clean-checkPROGRAMS \
+-maintainer-clean-checkPROGRAMS mostlyclean-noinstPROGRAMS \
+-distclean-noinstPROGRAMS clean-noinstPROGRAMS \
+-maintainer-clean-noinstPROGRAMS uninstall-includeHEADERS \
+-install-includeHEADERS tags mostlyclean-tags distclean-tags clean-tags \
+-maintainer-clean-tags check-TESTS distdir info-am info dvi-am dvi \
+-check-local check check-am installcheck-am installcheck \
+-all-recursive-am install-exec-am install-exec install-data-local \
+-install-data-am install-data install-am install uninstall-am uninstall \
+-all-local all-redirect all-am all install-strip installdirs \
+-mostlyclean-generic distclean-generic clean-generic \
+-maintainer-clean-generic clean mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-includeHEADERS uninstall-info-am \
++	uninstall-libLTLIBRARIES
++
++.PHONY: GTAGS all all-am all-local check check-TESTS check-am \
++	check-local clean clean-checkPROGRAMS clean-generic \
++	clean-libLTLIBRARIES clean-libtool clean-noinstPROGRAMS \
++	distclean distclean-compile distclean-generic distclean-libtool \
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-data install-data-am install-data-local \
++	install-exec install-exec-am install-includeHEADERS \
++	install-info install-info-am install-libLTLIBRARIES install-man \
++	install-strip installcheck installcheck-am installdirs \
++	maintainer-clean maintainer-clean-generic mostlyclean \
++	mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
++	tags uninstall uninstall-am uninstall-includeHEADERS \
++	uninstall-info-am uninstall-libLTLIBRARIES
+ 
+ 
+ install-suid-programs:
+@@ -853,7 +832,6 @@
+ $(libasn1_la_OBJECTS): krb5_asn1.h asn1_err.h
+ 
+ $(asn1_print_OBJECTS): krb5_asn1.h
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/lib/auth/Makefile.in heimdal-0.4e/lib/auth/Makefile.in
+--- heimdal-0.4e-old/lib/auth/Makefile.in	Thu Sep  6 22:22:46 2001
++++ heimdal-0.4e/lib/auth/Makefile.in	Wed Nov 21 11:52:43 2001
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.2 1999/03/21 17:11:08 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,9 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,6 +89,7 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+@@ -105,7 +109,6 @@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,20 +122,17 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+ 
+-# $Id: Makefile.am,v 1.2 1999/03/21 17:11:08 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
+-
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+ SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+@@ -189,13 +189,12 @@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+@@ -203,31 +202,45 @@
+ DIST_SUBDIRS = afskauthlib pam sia
+ subdir = lib/auth
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../include/config.h
+-CONFIG_CLEAN_FILES = 
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++depcomp =
+ CFLAGS = @CFLAGS@
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES = 
+-depcomp = 
+-DIST_COMMON =  ChangeLog Makefile.am Makefile.in
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++DIST_SOURCES =
++
++RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \
++	uninstall-info-recursive all-recursive install-data-recursive \
++	install-exec-recursive installdirs-recursive install-recursive \
++	uninstall-recursive check-recursive installcheck-recursive
++DIST_COMMON = ChangeLog Makefile.am Makefile.in
++all: all-recursive
+ 
++.SUFFIXES:
++.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c
+ 
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-GZIP_ENV = --best
+-all: all-redirect
+-.SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/auth/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  lib/auth/Makefile
++Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
++uninstall-info-am:
+ 
+ # This directory's subdirectories are mostly independent; you can cd
+ # into them and run `make' without going through this Makefile.
+@@ -235,10 +248,7 @@
+ # (1) if the variable is set in `config.status', edit `config.status'
+ #     (which will cause the Makefiles to be regenerated when you run `make');
+ # (2) otherwise, pass the desired values on the `make' command line.
+-
+-all-recursive install-data-recursive install-exec-recursive \
+-installdirs-recursive install-recursive uninstall-recursive  \
+-check-recursive installcheck-recursive info-recursive dvi-recursive:
++$(RECURSIVE_TARGETS):
+ 	@set fnord $(MAKEFLAGS); amf=$$2; \
+ 	dot_seen=no; \
+ 	target=`echo $@ | sed s/-recursive//`; \
+@@ -303,9 +313,9 @@
+ 	tags=; \
+ 	here=`pwd`; \
+ 	list='$(SUBDIRS)'; for subdir in $$list; do \
+-   if test "$$subdir" = .; then :; else \
++	  if test "$$subdir" = .; then :; else \
+ 	    test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
+-   fi; \
++	  fi; \
+ 	done; \
+ 	list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
+ 	unique=`for i in $$list; do \
+@@ -319,22 +329,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -349,84 +360,103 @@
+ 	    test -d $(distdir)/$$subdir \
+ 	    || mkdir $(distdir)/$$subdir \
+ 	    || exit 1; \
+-	    (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \
++	    (cd $$subdir && \
++	      $(MAKE) $(AM_MAKEFLAGS) \
++	        top_distdir="$(top_distdir)" \
++	        distdir=../$(distdir)/$$subdir \
++	        distdir) \
+ 	      || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-recursive
+-dvi-am:
+-dvi: dvi-recursive
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-recursive
+-installcheck-am:
+-installcheck: installcheck-recursive
+-install-exec-am:
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-recursive
++all-am: Makefile all-local
++installdirs: installdirs-recursive
++installdirs-am:
+ 
+-install-data-am: install-data-local
++install: install-recursive
++install-exec: install-exec-recursive
+ install-data: install-data-recursive
++uninstall: uninstall-recursive
+ 
+ install-am: all-am
+ 	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+-install: install-recursive
+-uninstall-am:
+-uninstall: uninstall-recursive
+-all-am: Makefile all-local
+-all-redirect: all-recursive
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs: installdirs-recursive
+-installdirs-am:
+-
+ 
++installcheck: installcheck-recursive
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-tags mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-recursive
+ 
+-mostlyclean: mostlyclean-recursive
++clean-am: clean-generic clean-libtool mostlyclean-am
+ 
+-clean-am:  clean-tags clean-generic mostlyclean-am
++distclean: distclean-recursive
+ 
+-clean: clean-recursive
++distclean-am: clean-am distclean-generic distclean-libtool \
++	distclean-tags
+ 
+-distclean-am:  distclean-tags distclean-generic clean-am
+-	-rm -f libtool
++dvi: dvi-recursive
+ 
+-distclean: distclean-recursive
++dvi-am:
+ 
+-maintainer-clean-am:  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."
++info: info-recursive
++
++info-am:
++
++install-data-am: install-data-local
++
++install-exec-am:
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-recursive
++
++install-man:
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-recursive
+ 
+-.PHONY: install-recursive uninstall-recursive install-data-recursive \
+-uninstall-data-recursive install-exec-recursive \
+-uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
+-all-recursive check-recursive installcheck-recursive info-recursive \
+-dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
+-maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
+-distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
+-dvi-am dvi check-local check check-am installcheck-am installcheck \
+-install-exec-am install-exec install-data-local install-data-am \
+-install-data install-am install uninstall-am uninstall all-local \
+-all-redirect all-am all install-strip installdirs-am installdirs \
+-mostlyclean-generic distclean-generic clean-generic \
+-maintainer-clean-generic clean mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-recursive
++
++mostlyclean-am: mostlyclean-generic mostlyclean-libtool
++
++uninstall-am: uninstall-info-am
++
++uninstall-info: uninstall-info-recursive
++
++.PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am all-local check check-am \
++	check-local clean clean-generic clean-libtool clean-recursive \
++	distclean distclean-generic distclean-libtool \
++	distclean-recursive distclean-tags distdir dvi dvi-am \
++	dvi-recursive info info-am info-recursive install install-am \
++	install-data install-data-am install-data-local \
++	install-data-recursive install-exec install-exec-am \
++	install-exec-recursive install-info install-info-am \
++	install-info-recursive install-man install-recursive \
++	install-strip installcheck installcheck-am installdirs \
++	installdirs-am installdirs-recursive maintainer-clean \
++	maintainer-clean-generic maintainer-clean-recursive mostlyclean \
++	mostlyclean-generic mostlyclean-libtool mostlyclean-recursive \
++	tags tags-recursive uninstall uninstall-am uninstall-info-am \
++	uninstall-info-recursive uninstall-recursive
+ 
+ 
+ install-suid-programs:
+@@ -556,7 +586,6 @@
+ 	  echo "$$dashes"; \
+ 	  test "$$failed" -eq 0; \
+ 	fi
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/lib/auth/afskauthlib/Makefile.in heimdal-0.4e/lib/auth/afskauthlib/Makefile.in
+--- heimdal-0.4e-old/lib/auth/afskauthlib/Makefile.in	Thu Sep  6 22:22:47 2001
++++ heimdal-0.4e/lib/auth/afskauthlib/Makefile.in	Wed Nov 21 11:52:43 2001
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.6 2001/07/15 04:21:07 assar Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,9 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,6 +89,7 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+@@ -105,7 +109,6 @@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,20 +122,17 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+ 
+-# $Id: Makefile.am,v 1.6 2001/07/15 04:21:07 assar Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
+-
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+ SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .o
+@@ -189,13 +189,12 @@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+@@ -209,9 +208,9 @@
+ 
+ CLEANFILES = $(foo_DATA) $(OBJS) so_locations
+ 
+-@KRB4_TRUE@KAFS = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la
++@KRB4_TRUE@KAFS = $(top_builddir)/lib/kafs/libkafs.la
+ 
+-@KRB5_TRUE@L = @KRB5_TRUE@\
++@KRB5_TRUE@L = \
+ @KRB5_TRUE@	$(KAFS)	\
+ @KRB5_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la	\
+ @KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la	\
+@@ -219,47 +218,57 @@
+ @KRB5_TRUE@	$(LIB_des)				\
+ @KRB5_TRUE@	$(top_builddir)/lib/roken/libroken.la	\
+ @KRB5_TRUE@	-lc
+-@KRB5_FALSE@L = @KRB5_FALSE@\
++
++@KRB5_FALSE@L = \
+ @KRB5_FALSE@	$(KAFS)	\
+ @KRB5_FALSE@	$(LIB_krb4)				\
+ @KRB5_FALSE@	$(LIB_des)				\
+ @KRB5_FALSE@	$(top_builddir)/lib/roken/libroken.la	\
+ @KRB5_FALSE@	-lc
++
+ subdir = lib/auth/afskauthlib
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../../include/config.h
+-CONFIG_CLEAN_FILES = 
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++depcomp =
+ CFLAGS = @CFLAGS@
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES = 
+-DATA =  $(foo_DATA)
+-
+-depcomp = 
+-DIST_COMMON =  Makefile.am Makefile.in
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++DIST_SOURCES =
++DATA = $(foo_DATA)
+ 
++DIST_COMMON = Makefile.am Makefile.in
++all: all-am
+ 
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+-
+-GZIP_ENV = --best
+-all: all-redirect
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .o
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/auth/afskauthlib/Makefile
+ 
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  lib/auth/afskauthlib/Makefile
++Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
++uninstall-info-am:
+ install-fooDATA: $(foo_DATA)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(foodir)
+ 	@list='$(foo_DATA)'; for p in $$list; do \
+-	  if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
++	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+ 	  echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(foodir)/$$f"; \
+ 	  $(INSTALL_DATA) $$d$$p $(DESTDIR)$(foodir)/$$f; \
+@@ -276,11 +285,18 @@
+ TAGS:
+ 
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++
++top_distdir = ../../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -290,74 +306,89 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-install-exec-am:
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++all-am: Makefile $(DATA) all-local
+ 
+-install-data-am: install-fooDATA install-data-local
+-install-data: install-data-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(foodir)
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am: uninstall-fooDATA
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(DATA) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(foodir)
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-generic clean-libtool mostlyclean-am
+ 
+-clean-am:  clean-generic mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-generic distclean-libtool
+ 
+-distclean-am:  distclean-generic clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local install-fooDATA
++
++install-exec-am:
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man:
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-am
+ 
+-.PHONY: uninstall-fooDATA install-fooDATA tags distdir info-am info \
+-dvi-am dvi check-local check check-am installcheck-am installcheck \
+-install-exec-am install-exec install-data-local install-data-am \
+-install-data install-am install uninstall-am uninstall all-local \
+-all-redirect all-am all install-strip installdirs mostlyclean-generic \
+-distclean-generic clean-generic maintainer-clean-generic clean \
+-mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-generic mostlyclean-libtool
++
++uninstall-am: uninstall-fooDATA uninstall-info-am
++
++.PHONY: all all-am all-local check check-am check-local clean \
++	clean-generic clean-libtool distclean distclean-generic \
++	distclean-libtool distdir dvi dvi-am info info-am install \
++	install-am install-data install-data-am install-data-local \
++	install-exec install-exec-am install-fooDATA install-info \
++	install-info-am install-man install-strip installcheck \
++	installcheck-am installdirs maintainer-clean \
++	maintainer-clean-generic mostlyclean mostlyclean-generic \
++	mostlyclean-libtool uninstall uninstall-am uninstall-fooDATA \
++	uninstall-info-am
+ 
+ 
+ install-suid-programs:
+@@ -495,7 +526,6 @@
+ 	$(COMPILE) -c $<
+ 
+ $(OBJS): $(top_builddir)/include/config.h
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/lib/auth/pam/Makefile.in heimdal-0.4e/lib/auth/pam/Makefile.in
+--- heimdal-0.4e-old/lib/auth/pam/Makefile.in	Thu Sep  6 22:22:48 2001
++++ heimdal-0.4e/lib/auth/pam/Makefile.in	Wed Nov 21 11:52:43 2001
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.2 1999/04/01 14:57:04 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,9 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,6 +89,7 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+@@ -105,7 +109,6 @@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,20 +122,17 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+ 
+-# $Id: Makefile.am,v 1.2 1999/04/01 14:57:04 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
+-
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+ SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+@@ -189,51 +189,66 @@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ subdir = lib/auth/pam
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../../include/config.h
+-CONFIG_CLEAN_FILES = 
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++depcomp =
+ CFLAGS = @CFLAGS@
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES = 
+-depcomp = 
+-DIST_COMMON =  Makefile.am Makefile.in
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++DIST_SOURCES =
++DIST_COMMON = Makefile.am Makefile.in
++all: all-am
+ 
++.SUFFIXES:
++.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c
+ 
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-GZIP_ENV = --best
+-all: all-redirect
+-.SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/auth/pam/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  lib/auth/pam/Makefile
++Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
++uninstall-info-am:
+ tags: TAGS
+ TAGS:
+ 
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++
++top_distdir = ../../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -243,71 +258,86 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-install-exec-am:
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++all-am: Makefile all-local
+ 
+-install-data-am: install-data-local
+-install-data: install-data-am
++installdirs:
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am:
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-generic clean-libtool mostlyclean-am
+ 
+-clean-am:  clean-generic mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-generic distclean-libtool
+ 
+-distclean-am:  distclean-generic clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local
++
++install-exec-am:
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man:
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-am
+ 
+-.PHONY: tags distdir info-am info dvi-am dvi check-local check check-am \
+-installcheck-am installcheck install-exec-am install-exec \
+-install-data-local install-data-am install-data install-am install \
+-uninstall-am uninstall all-local all-redirect all-am all install-strip \
+-installdirs mostlyclean-generic distclean-generic clean-generic \
+-maintainer-clean-generic clean mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-generic mostlyclean-libtool
++
++uninstall-am: uninstall-info-am
++
++.PHONY: all all-am all-local check check-am check-local clean \
++	clean-generic clean-libtool distclean distclean-generic \
++	distclean-libtool distdir dvi dvi-am info info-am install \
++	install-am install-data install-data-am install-data-local \
++	install-exec install-exec-am install-info install-info-am \
++	install-man install-strip installcheck installcheck-am \
++	installdirs maintainer-clean maintainer-clean-generic \
++	mostlyclean mostlyclean-generic mostlyclean-libtool uninstall \
++	uninstall-am uninstall-info-am
+ 
+ 
+ install-suid-programs:
+@@ -437,7 +467,6 @@
+ 	  echo "$$dashes"; \
+ 	  test "$$failed" -eq 0; \
+ 	fi
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/lib/auth/sia/Makefile.in heimdal-0.4e/lib/auth/sia/Makefile.in
+--- heimdal-0.4e-old/lib/auth/sia/Makefile.in	Thu Sep  6 22:22:50 2001
++++ heimdal-0.4e/lib/auth/sia/Makefile.in	Wed Nov 21 11:52:43 2001
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.13 2001/08/28 18:44:43 nectar Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,9 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,6 +89,7 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+@@ -105,7 +109,6 @@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -118,19 +121,18 @@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+ 
+-# $Id: Makefile.am,v 1.13 2001/08/28 18:44:43 nectar Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
++WFLAGS = @WFLAGS@ $(WFLAGS_NOIMPLICITINT)
+ 
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+@@ -188,24 +190,21 @@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+-WFLAGS = @WFLAGS@ $(WFLAGS_NOIMPLICITINT)
+-
+ DEFS = @DEFS@
+ 
+-@KRB4_TRUE@KAFS = @KRB4_TRUE@$(top_builddir)/lib/kafs/.libs/libkafs.a
+-@KRB4_TRUE@KAFS_S = @KRB4_TRUE@$(top_builddir)/lib/kafs/.libs/libkafs.so
++@KRB4_TRUE@KAFS = $(top_builddir)/lib/kafs/.libs/libkafs.a
++@KRB4_TRUE@KAFS_S = $(top_builddir)/lib/kafs/.libs/libkafs.so
+ 
+-@KRB5_TRUE@L = @KRB5_TRUE@\
++@KRB5_TRUE@L = \
+ @KRB5_TRUE@	$(KAFS)						\
+ @KRB5_TRUE@	$(top_builddir)/lib/krb5/.libs/libkrb5.a	\
+ @KRB5_TRUE@	$(top_builddir)/lib/asn1/.libs/libasn1.a	\
+@@ -215,7 +214,8 @@
+ @KRB5_TRUE@	$(top_builddir)/lib/roken/.libs/libroken.a	\
+ @KRB5_TRUE@	$(LIB_getpwnam_r)				\
+ @KRB5_TRUE@	-lc
+-@KRB5_FALSE@L = @KRB5_FALSE@\
++
++@KRB5_FALSE@L = \
+ @KRB5_FALSE@	$(KAFS)						\
+ @KRB5_FALSE@	$(top_builddir)/lib/kadm/.libs/libkadm.a	\
+ @KRB5_FALSE@	$(top_builddir)/lib/krb/.libs/libkrb.a		\
+@@ -225,7 +225,8 @@
+ @KRB5_FALSE@	$(LIB_getpwnam_r)				\
+ @KRB5_FALSE@	-lc
+ 
+-@KRB5_TRUE@L_shared = @KRB5_TRUE@\
++
++@KRB5_TRUE@L_shared = \
+ @KRB5_TRUE@	$(KAFS_S)					\
+ @KRB5_TRUE@	$(top_builddir)/lib/krb5/.libs/libkrb5.so	\
+ @KRB5_TRUE@	$(top_builddir)/lib/asn1/.libs/libasn1.so	\
+@@ -235,7 +236,8 @@
+ @KRB5_TRUE@	$(top_builddir)/lib/roken/.libs/libroken.so	\
+ @KRB5_TRUE@	$(LIB_getpwnam_r)				\
+ @KRB5_TRUE@	-lc
+-@KRB5_FALSE@L_shared = @KRB5_FALSE@\
++
++@KRB5_FALSE@L_shared = \
+ @KRB5_FALSE@	$(KAFS_S)					\
+ @KRB5_FALSE@	$(top_builddir)/lib/kadm/.libs/libkadm.so	\
+ @KRB5_FALSE@	$(top_builddir)/lib/krb/.libs/libkrb.so		\
+@@ -245,8 +247,9 @@
+ @KRB5_FALSE@	$(LIB_getpwnam_r)				\
+ @KRB5_FALSE@	-lc
+ 
+-@KRB5_TRUE@MOD = @KRB5_TRUE@libsia_krb5.so
+-@KRB5_FALSE@MOD = @KRB5_FALSE@libsia_krb4.so
++
++@KRB5_TRUE@MOD = libsia_krb5.so
++@KRB5_FALSE@MOD = libsia_krb4.so
+ 
+ EXTRA_DIST = sia.c krb4_matrix.conf krb4+c2_matrix.conf \
+ 	krb5_matrix.conf krb5+c2_matrix.conf security.patch
+@@ -262,39 +265,47 @@
+ CLEANFILES = $(MOD) $(OBJS) so_locations
+ subdir = lib/auth/sia
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../../include/config.h
+-CONFIG_CLEAN_FILES = 
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++depcomp =
+ CFLAGS = @CFLAGS@
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES = 
+-DATA =  $(foo_DATA)
+-
+-depcomp = 
+-DIST_COMMON =  Makefile.am Makefile.in
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++DIST_SOURCES =
++DATA = $(foo_DATA)
+ 
++DIST_COMMON = Makefile.am Makefile.in
++all: all-am
+ 
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+-
+-GZIP_ENV = --best
+-all: all-redirect
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .o
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/auth/sia/Makefile
+ 
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  lib/auth/sia/Makefile
++Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
++uninstall-info-am:
+ install-fooDATA: $(foo_DATA)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(foodir)
+ 	@list='$(foo_DATA)'; for p in $$list; do \
+-	  if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
++	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+ 	  echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(foodir)/$$f"; \
+ 	  $(INSTALL_DATA) $$d$$p $(DESTDIR)$(foodir)/$$f; \
+@@ -311,11 +322,18 @@
+ TAGS:
+ 
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++
++top_distdir = ../../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -325,74 +343,89 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-install-exec-am:
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++all-am: Makefile $(DATA) all-local
+ 
+-install-data-am: install-fooDATA install-data-local
+-install-data: install-data-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(foodir)
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am: uninstall-fooDATA
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(DATA) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(foodir)
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-generic clean-libtool mostlyclean-am
+ 
+-clean-am:  clean-generic mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-generic distclean-libtool
+ 
+-distclean-am:  distclean-generic clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local install-fooDATA
++
++install-exec-am:
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man:
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-am
+ 
+-.PHONY: uninstall-fooDATA install-fooDATA tags distdir info-am info \
+-dvi-am dvi check-local check check-am installcheck-am installcheck \
+-install-exec-am install-exec install-data-local install-data-am \
+-install-data install-am install uninstall-am uninstall all-local \
+-all-redirect all-am all install-strip installdirs mostlyclean-generic \
+-distclean-generic clean-generic maintainer-clean-generic clean \
+-mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-generic mostlyclean-libtool
++
++uninstall-am: uninstall-fooDATA uninstall-info-am
++
++.PHONY: all all-am all-local check check-am check-local clean \
++	clean-generic clean-libtool distclean distclean-generic \
++	distclean-libtool distdir dvi dvi-am info info-am install \
++	install-am install-data install-data-am install-data-local \
++	install-exec install-exec-am install-fooDATA install-info \
++	install-info-am install-man install-strip installcheck \
++	installcheck-am installdirs maintainer-clean \
++	maintainer-clean-generic mostlyclean mostlyclean-generic \
++	mostlyclean-libtool uninstall uninstall-am uninstall-fooDATA \
++	uninstall-info-am
+ 
+ 
+ install-suid-programs:
+@@ -549,7 +582,6 @@
+ 
+ .c.o:
+ 	$(COMPILE) -c $<
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/lib/com_err/Makefile.in heimdal-0.4e/lib/com_err/Makefile.in
+--- heimdal-0.4e-old/lib/com_err/Makefile.in	Thu Sep  6 22:22:59 2001
++++ heimdal-0.4e/lib/com_err/Makefile.in	Wed Nov 21 11:52:43 2001
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.26 2001/09/02 16:56:21 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,9 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,6 +89,7 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+@@ -105,7 +109,6 @@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,20 +122,17 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+ 
+-# $Id: Makefile.am,v 1.26 2001/09/02 16:56:21 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
+-
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+ SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+@@ -189,13 +189,12 @@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+@@ -220,165 +219,154 @@
+ 
+ subdir = lib/com_err
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../include/config.h
+-CONFIG_CLEAN_FILES = 
+-LTLIBRARIES =  $(lib_LTLIBRARIES)
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++LTLIBRARIES = $(lib_LTLIBRARIES)
++
++libcom_err_la_LIBADD =
++am_libcom_err_la_OBJECTS = error.lo com_err.lo
++libcom_err_la_OBJECTS = $(am_libcom_err_la_OBJECTS)
++bin_PROGRAMS = compile_et$(EXEEXT)
++PROGRAMS = $(bin_PROGRAMS)
++
++am_compile_et_OBJECTS = compile_et.$(OBJEXT) parse.$(OBJEXT) \
++	lex.$(OBJEXT)
++compile_et_OBJECTS = $(am_compile_et_OBJECTS)
++compile_et_DEPENDENCIES =
++compile_et_LDFLAGS =
+ 
+-
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../../include
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+-libcom_err_la_LIBADD = 
+-am_libcom_err_la_OBJECTS =  error.lo com_err.lo
+-libcom_err_la_OBJECTS =  $(am_libcom_err_la_OBJECTS)
+-bin_PROGRAMS =  compile_et$(EXEEXT)
+-PROGRAMS =  $(bin_PROGRAMS)
+-
+-am_compile_et_OBJECTS =  compile_et.$(OBJEXT) parse.$(OBJEXT) \
+-lex.$(OBJEXT)
+-compile_et_OBJECTS =  $(am_compile_et_OBJECTS)
+-compile_et_DEPENDENCIES = 
+-compile_et_LDFLAGS = 
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
+-LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  $(libcom_err_la_SOURCES) $(compile_et_SOURCES)
+-HEADERS =  $(include_HEADERS)
+-
+-depcomp = 
+-DIST_COMMON =  $(include_HEADERS) ChangeLog Makefile.am Makefile.in \
+-lex.c parse.c parse.h
+-
+-
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++LEXCOMPILE = $(LEX) $(LFLAGS) $(AM_LFLAGS)
++LTLEXCOMPILE = $(LIBTOOL) --mode=compile $(LEX) $(LFLAGS) $(AM_LFLAGS)
++YACCCOMPILE = $(YACC) $(YFLAGS) $(AM_YFLAGS)
++LTYACCCOMPILE = $(LIBTOOL) --mode=compile $(YACC) $(YFLAGS) $(AM_YFLAGS)
++DIST_SOURCES = $(libcom_err_la_SOURCES) $(compile_et_SOURCES)
++HEADERS = $(include_HEADERS)
+ 
+-GZIP_ENV = --best
++DIST_COMMON = $(include_HEADERS) ChangeLog Makefile.am Makefile.in \
++	lex.c parse.c parse.h
+ SOURCES = $(libcom_err_la_SOURCES) $(compile_et_SOURCES)
+-OBJECTS = $(am_libcom_err_la_OBJECTS) $(am_compile_et_OBJECTS)
+ 
+-all: all-redirect
++all: all-am
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .l .lo .o .obj .y
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/com_err/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+-
+-
+-mostlyclean-libLTLIBRARIES:
+-
+-clean-libLTLIBRARIES:
+-	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
+ 
+-distclean-libLTLIBRARIES:
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-maintainer-clean-libLTLIBRARIES:
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  lib/com_err/Makefile
++Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ install-libLTLIBRARIES: $(lib_LTLIBRARIES)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(libdir)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+ 	  if test -f $$p; then \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p; \
++	    echo " $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p"; \
++	    $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-libLTLIBRARIES:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+-	  echo " $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
+-	  $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
++	  echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
++	  $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
+ 	done
+ 
+-mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
+-
+-clean-compile:
+-
+-distclean-compile:
+-	-rm -f *.tab.c
+-
+-maintainer-clean-compile:
+-
+-mostlyclean-libtool:
+-	-rm -f *.lo
+-
+-clean-libtool:
+-	-rm -rf .libs _libs
+-
+-distclean-libtool:
+-
+-maintainer-clean-libtool:
+-
+-libcom_err.la: $(libcom_err_la_OBJECTS) $(libcom_err_la_DEPENDENCIES)
++clean-libLTLIBRARIES:
++	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
++libcom_err.la: $(libcom_err_la_OBJECTS) $(libcom_err_la_DEPENDENCIES) 
+ 	$(LINK) -rpath $(libdir) $(libcom_err_la_LDFLAGS) $(libcom_err_la_OBJECTS) $(libcom_err_la_LIBADD) $(LIBS)
+-
+-mostlyclean-binPROGRAMS:
+-
+-clean-binPROGRAMS:
+-	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
+-
+-distclean-binPROGRAMS:
+-
+-maintainer-clean-binPROGRAMS:
+-
+ install-binPROGRAMS: $(bin_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(bindir)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  if test -f $$p; then \
+-	    f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f; \
++	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  if test -f $$p \
++	     || test -f $$p1 \
++	  ; then \
++	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-binPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+-compile_et$(EXEEXT): $(compile_et_OBJECTS) $(compile_et_DEPENDENCIES)
++clean-binPROGRAMS:
++	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
++parse.h: parse.c
++compile_et$(EXEEXT): $(compile_et_OBJECTS) $(compile_et_DEPENDENCIES) 
+ 	@rm -f compile_et$(EXEEXT)
+ 	$(LINK) $(compile_et_LDFLAGS) $(compile_et_OBJECTS) $(compile_et_LDADD) $(LIBS)
++
++mostlyclean-compile:
++	-rm -f *.$(OBJEXT) core *.core
++
++distclean-compile:
++	-rm -f *.tab.c
++
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
++
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
++
++LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
++
+ .l.c:
+-	$(LEX) $(AM_LFLAGS) $(LFLAGS) $< && mv $(LEX_OUTPUT_ROOT).c $@
++	$(LEXCOMPILE) $< && mv $(LEX_OUTPUT_ROOT).c $@
++
+ .y.c:
+-	$(YACC) $(AM_YFLAGS) $(YFLAGS) $< && mv y.tab.c $*.c
++	$(YACCCOMPILE) $< && mv y.tab.c $@
+ 	if test -f y.tab.h; then \
+-	if cmp -s y.tab.h $*.h; then rm -f y.tab.h; else mv y.tab.h $*.h; fi; \
+-	else :; fi
+-parse.h: parse.c
+-
+-
++	  if cmp -s y.tab.h $*.h; then \
++	    rm -f y.tab.h; \
++	  else \
++	    mv y.tab.h $*.h; \
++	  fi; \
++	fi
++uninstall-info-am:
+ install-includeHEADERS: $(include_HEADERS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(includedir)
+ 	@list='$(include_HEADERS)'; for p in $$list; do \
+-	  if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
++	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
+-	  $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f; \
++	  echo " $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
++	  $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(includedir)/$$f; \
+ 	done
+ 
+ uninstall-includeHEADERS:
+@@ -416,22 +404,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -441,96 +430,99 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
++all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(HEADERS) all-local
+ install-binPROGRAMS: install-libLTLIBRARIES
+ 
+-install-exec-am: install-libLTLIBRARIES install-binPROGRAMS
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
+ 
+-install-data-am: install-includeHEADERS install-data-local
+-install-data: install-data-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(bindir) $(DESTDIR)$(includedir)
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am: uninstall-libLTLIBRARIES uninstall-binPROGRAMS \
+-		uninstall-includeHEADERS
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(HEADERS) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(libdir) $(DESTDIR)$(bindir) \
+-		$(DESTDIR)$(includedir)
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-	-test -z "lex.cparse.hparse.c" || rm -f lex.c parse.h parse.c
+-mostlyclean-am:  mostlyclean-libLTLIBRARIES mostlyclean-compile \
+-		mostlyclean-libtool mostlyclean-binPROGRAMS \
+-		mostlyclean-tags mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++	-test -z "parse.h" || rm -f parse.h
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-binPROGRAMS clean-generic clean-libLTLIBRARIES \
++	clean-libtool mostlyclean-am
+ 
+-clean-am:  clean-libLTLIBRARIES clean-compile clean-libtool \
+-		clean-binPROGRAMS clean-tags clean-generic \
+-		mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-libLTLIBRARIES distclean-compile \
+-		distclean-libtool distclean-binPROGRAMS distclean-tags \
+-		distclean-generic clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-libLTLIBRARIES \
+-		maintainer-clean-compile maintainer-clean-libtool \
+-		maintainer-clean-binPROGRAMS 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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local install-includeHEADERS
++
++install-exec-am: install-binPROGRAMS install-libLTLIBRARIES
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man:
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-am
+ 
+-.PHONY: mostlyclean-libLTLIBRARIES distclean-libLTLIBRARIES \
+-clean-libLTLIBRARIES maintainer-clean-libLTLIBRARIES \
+-uninstall-libLTLIBRARIES install-libLTLIBRARIES mostlyclean-compile \
+-distclean-compile clean-compile maintainer-clean-compile \
+-mostlyclean-libtool distclean-libtool clean-libtool \
+-maintainer-clean-libtool mostlyclean-binPROGRAMS distclean-binPROGRAMS \
+-clean-binPROGRAMS maintainer-clean-binPROGRAMS uninstall-binPROGRAMS \
+-install-binPROGRAMS uninstall-includeHEADERS install-includeHEADERS \
+-tags mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
+-distdir info-am info dvi-am dvi check-local check check-am \
+-installcheck-am installcheck install-exec-am install-exec \
+-install-data-local install-data-am install-data install-am install \
+-uninstall-am uninstall all-local all-redirect all-am all install-strip \
+-installdirs mostlyclean-generic distclean-generic clean-generic \
+-maintainer-clean-generic clean mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-binPROGRAMS uninstall-includeHEADERS \
++	uninstall-info-am uninstall-libLTLIBRARIES
++
++.PHONY: GTAGS all all-am all-local check check-am check-local clean \
++	clean-binPROGRAMS clean-generic clean-libLTLIBRARIES \
++	clean-libtool distclean distclean-compile distclean-generic \
++	distclean-libtool distclean-tags distdir dvi dvi-am info \
++	info-am install install-am install-binPROGRAMS install-data \
++	install-data-am install-data-local install-exec install-exec-am \
++	install-includeHEADERS install-info install-info-am \
++	install-libLTLIBRARIES install-man install-strip installcheck \
++	installcheck-am installdirs maintainer-clean \
++	maintainer-clean-generic mostlyclean mostlyclean-compile \
++	mostlyclean-generic mostlyclean-libtool tags uninstall \
++	uninstall-am uninstall-binPROGRAMS uninstall-includeHEADERS \
++	uninstall-info-am uninstall-libLTLIBRARIES
+ 
+ 
+ install-suid-programs:
+@@ -662,7 +654,6 @@
+ 	fi
+ 
+ $(compile_et_OBJECTS): parse.h parse.c ## XXX broken automake 1.4s
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/lib/des/Makefile.in heimdal-0.4e/lib/des/Makefile.in
+--- heimdal-0.4e-old/lib/des/Makefile.in	Thu Sep  6 22:23:02 2001
++++ heimdal-0.4e/lib/des/Makefile.in	Wed Nov 21 11:52:44 2001
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.26 2001/08/04 03:10:23 assar Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,9 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,6 +89,7 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+@@ -105,7 +109,6 @@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,20 +122,17 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+ 
+-# $Id: Makefile.am,v 1.26 2001/08/04 03:10:23 assar Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
+-
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+ SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+@@ -189,13 +189,13 @@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
++
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
+ CHECK_LOCAL = 
+ 
+ lib_LTLIBRARIES = libdes.la
+@@ -305,198 +305,171 @@
+ 
+ subdir = lib/des
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../include/config.h
+-CONFIG_CLEAN_FILES = 
+-LTLIBRARIES =  $(lib_LTLIBRARIES)
+-
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++LTLIBRARIES = $(lib_LTLIBRARIES)
++
++libdes_la_LIBADD =
++am_libdes_la_OBJECTS = cbc3_enc.lo cbc_cksm.lo cbc_enc.lo cfb64ede.lo \
++	cfb64enc.lo cfb_enc.lo des_enc.lo ecb3_enc.lo ecb_enc.lo \
++	ede_enc.lo enc_read.lo enc_writ.lo fcrypt.lo key_par.lo md4.lo \
++	md5.lo ncbc_enc.lo ofb64ede.lo ofb64enc.lo ofb_enc.lo \
++	pcbc_enc.lo qud_cksm.lo rc4_skey.lo rc4_enc.lo read_pwd.lo \
++	rnd_keys.lo set_key.lo sha.lo str2key.lo xcbc_enc.lo
++libdes_la_OBJECTS = $(am_libdes_la_OBJECTS)
++bin_PROGRAMS = des$(EXEEXT)
++check_PROGRAMS = destest$(EXEEXT) mdtest$(EXEEXT) md5crypt_test$(EXEEXT)
++PROGRAMS = $(bin_PROGRAMS)
+ 
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../../include
+-CPPFLAGS = @CPPFLAGS@
+-LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+-libdes_la_LIBADD = 
+-am_libdes_la_OBJECTS =  cbc3_enc.lo cbc_cksm.lo cbc_enc.lo cfb64ede.lo \
+-cfb64enc.lo cfb_enc.lo des_enc.lo ecb3_enc.lo ecb_enc.lo ede_enc.lo \
+-enc_read.lo enc_writ.lo fcrypt.lo key_par.lo md4.lo md5.lo ncbc_enc.lo \
+-ofb64ede.lo ofb64enc.lo ofb_enc.lo pcbc_enc.lo qud_cksm.lo rc4_skey.lo \
+-rc4_enc.lo read_pwd.lo rnd_keys.lo set_key.lo sha.lo str2key.lo \
+-xcbc_enc.lo
+-libdes_la_OBJECTS =  $(am_libdes_la_OBJECTS)
+-bin_PROGRAMS =  des$(EXEEXT)
+-check_PROGRAMS =  destest$(EXEEXT) mdtest$(EXEEXT) \
+-md5crypt_test$(EXEEXT)
+-PROGRAMS =  $(bin_PROGRAMS)
+-
+-am_des_OBJECTS =  des.$(OBJEXT)
+-des_OBJECTS =  $(am_des_OBJECTS)
++am_des_OBJECTS = des.$(OBJEXT)
++des_OBJECTS = $(am_des_OBJECTS)
+ des_LDADD = $(LDADD)
+-des_DEPENDENCIES =  libdes.la
+-des_LDFLAGS = 
++des_DEPENDENCIES = libdes.la
++des_LDFLAGS =
+ destest_SOURCES = destest.c
+-destest_OBJECTS =  destest.$(OBJEXT)
++destest_OBJECTS = destest.$(OBJEXT)
+ destest_LDADD = $(LDADD)
+-destest_DEPENDENCIES =  libdes.la
+-destest_LDFLAGS = 
++destest_DEPENDENCIES = libdes.la
++destest_LDFLAGS =
+ md5crypt_test_SOURCES = md5crypt_test.c
+-md5crypt_test_OBJECTS =  md5crypt_test.$(OBJEXT)
++md5crypt_test_OBJECTS = md5crypt_test.$(OBJEXT)
+ md5crypt_test_LDADD = $(LDADD)
+-md5crypt_test_DEPENDENCIES =  libdes.la
+-md5crypt_test_LDFLAGS = 
++md5crypt_test_DEPENDENCIES = libdes.la
++md5crypt_test_LDFLAGS =
+ mdtest_SOURCES = mdtest.c
+-mdtest_OBJECTS =  mdtest.$(OBJEXT)
++mdtest_OBJECTS = mdtest.$(OBJEXT)
+ mdtest_LDADD = $(LDADD)
+-mdtest_DEPENDENCIES =  libdes.la
+-mdtest_LDFLAGS = 
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
+-CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  $(libdes_la_SOURCES) $(EXTRA_libdes_la_SOURCES) \
+-$(des_SOURCES) destest.c md5crypt_test.c mdtest.c
+-man1dir = $(mandir)/man1
+-man3dir = $(mandir)/man3
+-MANS = $(man_MANS)
+-HEADERS =  $(include_HEADERS)
+-
+-depcomp = 
+-DIST_COMMON =  README $(include_HEADERS) ChangeLog INSTALL Makefile.am \
+-Makefile.in
++mdtest_DEPENDENCIES = libdes.la
++mdtest_LDFLAGS =
+ 
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
++CPPFLAGS = @CPPFLAGS@
++LDFLAGS = @LDFLAGS@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++CCLD = $(CC)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++DIST_SOURCES = $(libdes_la_SOURCES) $(EXTRA_libdes_la_SOURCES) \
++	$(des_SOURCES) destest.c md5crypt_test.c mdtest.c
+ 
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++NROFF = nroff
++MANS = $(man_MANS)
++HEADERS = $(include_HEADERS)
+ 
+-GZIP_ENV = --best
++DIST_COMMON = README $(include_HEADERS) ChangeLog INSTALL Makefile.am \
++	Makefile.in
+ SOURCES = $(libdes_la_SOURCES) $(EXTRA_libdes_la_SOURCES) $(des_SOURCES) destest.c md5crypt_test.c mdtest.c
+-OBJECTS = $(am_libdes_la_OBJECTS) $(am_des_OBJECTS) destest.$(OBJEXT) md5crypt_test.$(OBJEXT) mdtest.$(OBJEXT)
+ 
+-all: all-redirect
++all: all-am
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/des/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+-
+-
+-mostlyclean-libLTLIBRARIES:
+-
+-clean-libLTLIBRARIES:
+-	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
+ 
+-distclean-libLTLIBRARIES:
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-maintainer-clean-libLTLIBRARIES:
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  lib/des/Makefile
++Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ install-libLTLIBRARIES: $(lib_LTLIBRARIES)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(libdir)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+ 	  if test -f $$p; then \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p; \
++	    echo " $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p"; \
++	    $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-libLTLIBRARIES:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+-	  echo " $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
+-	  $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
++	  echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
++	  $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
+ 	done
+ 
+-mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
+-
+-clean-compile:
+-
+-distclean-compile:
+-	-rm -f *.tab.c
+-
+-maintainer-clean-compile:
+-
+-mostlyclean-libtool:
+-	-rm -f *.lo
+-
+-clean-libtool:
+-	-rm -rf .libs _libs
+-
+-distclean-libtool:
+-
+-maintainer-clean-libtool:
+-
+-libdes.la: $(libdes_la_OBJECTS) $(libdes_la_DEPENDENCIES)
++clean-libLTLIBRARIES:
++	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
++libdes.la: $(libdes_la_OBJECTS) $(libdes_la_DEPENDENCIES) 
+ 	$(LINK) -rpath $(libdir) $(libdes_la_LDFLAGS) $(libdes_la_OBJECTS) $(libdes_la_LIBADD) $(LIBS)
+-
+-mostlyclean-binPROGRAMS:
+-
+-clean-binPROGRAMS:
+-	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
+-
+-distclean-binPROGRAMS:
+-
+-maintainer-clean-binPROGRAMS:
+-
+ install-binPROGRAMS: $(bin_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(bindir)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  if test -f $$p; then \
+-	    f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f; \
++	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  if test -f $$p \
++	     || test -f $$p1 \
++	  ; then \
++	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-binPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+-mostlyclean-checkPROGRAMS:
++clean-binPROGRAMS:
++	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
+ 
+ clean-checkPROGRAMS:
+ 	-test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
+-
+-distclean-checkPROGRAMS:
+-
+-maintainer-clean-checkPROGRAMS:
+-
+-des$(EXEEXT): $(des_OBJECTS) $(des_DEPENDENCIES)
++des$(EXEEXT): $(des_OBJECTS) $(des_DEPENDENCIES) 
+ 	@rm -f des$(EXEEXT)
+ 	$(LINK) $(des_LDFLAGS) $(des_OBJECTS) $(des_LDADD) $(LIBS)
+-
+-destest$(EXEEXT): $(destest_OBJECTS) $(destest_DEPENDENCIES)
++destest$(EXEEXT): $(destest_OBJECTS) $(destest_DEPENDENCIES) 
+ 	@rm -f destest$(EXEEXT)
+ 	$(LINK) $(destest_LDFLAGS) $(destest_OBJECTS) $(destest_LDADD) $(LIBS)
+-
+-md5crypt_test$(EXEEXT): $(md5crypt_test_OBJECTS) $(md5crypt_test_DEPENDENCIES)
++md5crypt_test$(EXEEXT): $(md5crypt_test_OBJECTS) $(md5crypt_test_DEPENDENCIES) 
+ 	@rm -f md5crypt_test$(EXEEXT)
+ 	$(LINK) $(md5crypt_test_LDFLAGS) $(md5crypt_test_OBJECTS) $(md5crypt_test_LDADD) $(LIBS)
+-
+-mdtest$(EXEEXT): $(mdtest_OBJECTS) $(mdtest_DEPENDENCIES)
++mdtest$(EXEEXT): $(mdtest_OBJECTS) $(mdtest_DEPENDENCIES) 
+ 	@rm -f mdtest$(EXEEXT)
+ 	$(LINK) $(mdtest_LDFLAGS) $(mdtest_OBJECTS) $(mdtest_LDADD) $(LIBS)
++
++mostlyclean-compile:
++	-rm -f *.$(OBJEXT) core *.core
++
++distclean-compile:
++	-rm -f *.tab.c
++
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
++
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
++uninstall-info-am:
+ 
+-install-man1:
++man1dir = $(mandir)/man1
++install-man1: $(man1_MANS) $(man_MANS)
++	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(man1dir)
+-	@list='$(man1_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.1*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -511,10 +484,11 @@
+ 	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
+ 	  $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
+ 	done
+-
+ uninstall-man1:
+-	@list='$(man1_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@$(NORMAL_UNINSTALL)
++	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.1*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -528,10 +502,13 @@
+ 	  rm -f $(DESTDIR)$(man1dir)/$$inst; \
+ 	done
+ 
+-install-man3:
++man3dir = $(mandir)/man3
++install-man3: $(man3_MANS) $(man_MANS)
++	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(man3dir)
+-	@list='$(man3_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@list='$(man3_MANS) $(dist_man3_MANS) $(nodist_man3_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.3*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -546,10 +523,11 @@
+ 	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man3dir)/$$inst"; \
+ 	  $(INSTALL_DATA) $$file $(DESTDIR)$(man3dir)/$$inst; \
+ 	done
+-
+ uninstall-man3:
+-	@list='$(man3_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@$(NORMAL_UNINSTALL)
++	@list='$(man3_MANS) $(dist_man3_MANS) $(nodist_man3_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.3*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -562,21 +540,14 @@
+ 	  echo " rm -f $(DESTDIR)$(man3dir)/$$inst"; \
+ 	  rm -f $(DESTDIR)$(man3dir)/$$inst; \
+ 	done
+-install-man: $(MANS)
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-man1 install-man3
+-uninstall-man:
+-	@$(NORMAL_UNINSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) uninstall-man1 uninstall-man3
+-
+ install-includeHEADERS: $(include_HEADERS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(includedir)
+ 	@list='$(include_HEADERS)'; for p in $$list; do \
+-	  if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
++	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
+-	  $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f; \
++	  echo " $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
++	  $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(includedir)/$$f; \
+ 	done
+ 
+ uninstall-includeHEADERS:
+@@ -614,16 +585,11 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
+ check-TESTS: $(TESTS)
+ 	@failed=0; all=0; xfail=0; xpass=0; \
+ 	srcdir=$(srcdir); export srcdir; \
+@@ -679,11 +645,18 @@
+ 	  test "$$failed" -eq 0; \
+ 	fi
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -693,102 +666,103 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
+ 	$(MAKE) $(AM_MAKEFLAGS) check-TESTS check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
++all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(MANS) $(HEADERS) all-local
+ install-binPROGRAMS: install-libLTLIBRARIES
+ 
+-install-exec-am: install-libLTLIBRARIES install-binPROGRAMS
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
+ 
+-install-data-am: install-man install-includeHEADERS install-data-local
+-install-data: install-data-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(bindir) $(DESTDIR)$(man1dir) $(DESTDIR)$(man3dir) $(DESTDIR)$(includedir)
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am: uninstall-libLTLIBRARIES uninstall-binPROGRAMS \
+-		uninstall-man uninstall-includeHEADERS
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(MANS) $(HEADERS) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(libdir) $(DESTDIR)$(bindir) \
+-		$(DESTDIR)$(mandir)/man1 $(DESTDIR)$(mandir)/man3 \
+-		$(DESTDIR)$(includedir)
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-libLTLIBRARIES mostlyclean-compile \
+-		mostlyclean-libtool mostlyclean-binPROGRAMS \
+-		mostlyclean-checkPROGRAMS mostlyclean-tags \
+-		mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-binPROGRAMS clean-checkPROGRAMS clean-generic \
++	clean-libLTLIBRARIES clean-libtool mostlyclean-am
+ 
+-clean-am:  clean-libLTLIBRARIES clean-compile clean-libtool \
+-		clean-binPROGRAMS clean-checkPROGRAMS clean-tags \
+-		clean-generic mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-libLTLIBRARIES distclean-compile \
+-		distclean-libtool distclean-binPROGRAMS \
+-		distclean-checkPROGRAMS distclean-tags \
+-		distclean-generic clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-libLTLIBRARIES \
+-		maintainer-clean-compile maintainer-clean-libtool \
+-		maintainer-clean-binPROGRAMS \
+-		maintainer-clean-checkPROGRAMS 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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local install-includeHEADERS install-man
++
++install-exec-am: install-binPROGRAMS install-libLTLIBRARIES
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man: install-man1 install-man3
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-am
+ 
+-.PHONY: mostlyclean-libLTLIBRARIES distclean-libLTLIBRARIES \
+-clean-libLTLIBRARIES maintainer-clean-libLTLIBRARIES \
+-uninstall-libLTLIBRARIES install-libLTLIBRARIES mostlyclean-compile \
+-distclean-compile clean-compile maintainer-clean-compile \
+-mostlyclean-libtool distclean-libtool clean-libtool \
+-maintainer-clean-libtool mostlyclean-binPROGRAMS distclean-binPROGRAMS \
+-clean-binPROGRAMS maintainer-clean-binPROGRAMS uninstall-binPROGRAMS \
+-install-binPROGRAMS mostlyclean-checkPROGRAMS distclean-checkPROGRAMS \
+-clean-checkPROGRAMS maintainer-clean-checkPROGRAMS install-man1 \
+-uninstall-man1 install-man3 uninstall-man3 install-man uninstall-man \
+-uninstall-includeHEADERS install-includeHEADERS tags mostlyclean-tags \
+-distclean-tags clean-tags maintainer-clean-tags check-TESTS distdir \
+-info-am info dvi-am dvi check-local check check-am installcheck-am \
+-installcheck install-exec-am install-exec install-data-local \
+-install-data-am install-data install-am install uninstall-am uninstall \
+-all-local all-redirect all-am all install-strip installdirs \
+-mostlyclean-generic distclean-generic clean-generic \
+-maintainer-clean-generic clean mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-binPROGRAMS uninstall-includeHEADERS \
++	uninstall-info-am uninstall-libLTLIBRARIES uninstall-man
++
++uninstall-man: uninstall-man1 uninstall-man3
++
++.PHONY: GTAGS all all-am all-local check check-TESTS check-am \
++	check-local clean clean-binPROGRAMS clean-checkPROGRAMS \
++	clean-generic clean-libLTLIBRARIES clean-libtool distclean \
++	distclean-compile distclean-generic distclean-libtool \
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-binPROGRAMS install-data install-data-am \
++	install-data-local install-exec install-exec-am \
++	install-includeHEADERS install-info install-info-am \
++	install-libLTLIBRARIES install-man install-man1 install-man3 \
++	install-strip installcheck installcheck-am installdirs \
++	maintainer-clean maintainer-clean-generic mostlyclean \
++	mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
++	tags uninstall uninstall-am uninstall-binPROGRAMS \
++	uninstall-includeHEADERS uninstall-info-am \
++	uninstall-libLTLIBRARIES uninstall-man uninstall-man1 \
++	uninstall-man3
+ 
+ 
+ install-suid-programs:
+@@ -926,7 +900,6 @@
+ 	$(mkinstalldirs) $(distdir)/asm
+ 	(cd $(srcdir)/asm && tar cf - $(asm_files)) \
+ 		| (cd $(distdir)/asm; tar xf -)
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/lib/editline/Makefile.in heimdal-0.4e/lib/editline/Makefile.in
+--- heimdal-0.4e-old/lib/editline/Makefile.in	Thu Sep  6 22:23:05 2001
++++ heimdal-0.4e/lib/editline/Makefile.in	Wed Nov 21 11:52:44 2001
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.12 2000/11/14 23:22:29 assar Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,9 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,6 +89,7 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+@@ -105,7 +109,6 @@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,20 +122,17 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+ 
+-# $Id: Makefile.am,v 1.12 2000/11/14 23:22:29 assar Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
+-
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+ SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+@@ -189,23 +189,22 @@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = 
+ 
+-@do_roken_rename_TRUE@IS = @do_roken_rename_TRUE@-DROKEN_RENAME
+-@do_roken_rename_TRUE@ES = @do_roken_rename_TRUE@snprintf.c strdup.c
++@do_roken_rename_TRUE@IS = -DROKEN_RENAME
++@do_roken_rename_TRUE@ES = snprintf.c strdup.c
+ 
+ man_MANS = editline.3
+ 
+ lib_LTLIBRARIES = libeditline.la
+-@el_compat_TRUE@noinst_LTLIBRARIES = @el_compat_TRUE@libel_compat.la
++@el_compat_TRUE@noinst_LTLIBRARIES = libel_compat.la
+ @el_compat_FALSE@noinst_LTLIBRARIES = 
+ 
+ noinst_PROGRAMS = testit
+@@ -228,163 +227,139 @@
+ 	$(EXTRA_SOURCE)
+ 
+ 
+-libeditline_la_LDFLAGS = -static
++libeditline_la_LDFLAGS = -no-undefined
+ 
+ EXTRA_SOURCE = $(ES) 
+ 
+ libel_compat_la_SOURCES = edit_compat.c
+ 
+-libel_compat_la_LDFLAGS = -static
++libel_compat_la_LDFLAGS = -no-undefined
+ 
+ EXTRA_DIST = $(man_MANS)
+ subdir = lib/editline
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../include/config.h
+-CONFIG_CLEAN_FILES = 
+-LTLIBRARIES =  $(lib_LTLIBRARIES) $(noinst_LTLIBRARIES)
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++LTLIBRARIES = $(lib_LTLIBRARIES) $(noinst_LTLIBRARIES)
++
++libeditline_la_LIBADD =
++@do_roken_rename_TRUE@am_libeditline_la_OBJECTS = complete.lo \
++@do_roken_rename_TRUE@	editline.lo sysunix.lo snprintf.lo \
++@do_roken_rename_TRUE@	strdup.lo
++@do_roken_rename_FALSE@am_libeditline_la_OBJECTS = complete.lo \
++@do_roken_rename_FALSE@	editline.lo sysunix.lo
++libeditline_la_OBJECTS = $(am_libeditline_la_OBJECTS)
++libel_compat_la_LIBADD =
++am_libel_compat_la_OBJECTS = edit_compat.lo
++libel_compat_la_OBJECTS = $(am_libel_compat_la_OBJECTS)
++noinst_PROGRAMS = testit$(EXEEXT)
++PROGRAMS = $(noinst_PROGRAMS)
+ 
++testit_SOURCES = testit.c
++testit_OBJECTS = testit.$(OBJEXT)
++testit_DEPENDENCIES = libeditline.la
++testit_LDFLAGS =
+ 
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../../include
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+-libeditline_la_LIBADD = 
+-@do_roken_rename_FALSE@am_libeditline_la_OBJECTS =  complete.lo \
+-@do_roken_rename_FALSE@editline.lo sysunix.lo
+-@do_roken_rename_TRUE@am_libeditline_la_OBJECTS =  complete.lo \
+-@do_roken_rename_TRUE@editline.lo sysunix.lo snprintf.lo strdup.lo
+-libeditline_la_OBJECTS =  $(am_libeditline_la_OBJECTS)
+-libel_compat_la_LIBADD = 
+-am_libel_compat_la_OBJECTS =  edit_compat.lo
+-libel_compat_la_OBJECTS =  $(am_libel_compat_la_OBJECTS)
+-noinst_PROGRAMS =  testit$(EXEEXT)
+-PROGRAMS =  $(noinst_PROGRAMS)
+-
+-testit_SOURCES = testit.c
+-testit_OBJECTS =  testit.$(OBJEXT)
+-testit_DEPENDENCIES =  libeditline.la
+-testit_LDFLAGS = 
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  $(libeditline_la_SOURCES) $(libel_compat_la_SOURCES) \
+-testit.c
+-man3dir = $(mandir)/man3
+-MANS = $(man_MANS)
+-HEADERS =  $(include_HEADERS)
+-
+-depcomp = 
+-DIST_COMMON =  README $(include_HEADERS) ChangeLog Makefile.am \
+-Makefile.in
+-
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++DIST_SOURCES = $(libeditline_la_SOURCES) $(libel_compat_la_SOURCES) \
++	testit.c
+ 
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++NROFF = nroff
++MANS = $(man_MANS)
++HEADERS = $(include_HEADERS)
+ 
+-GZIP_ENV = --best
++DIST_COMMON = README $(include_HEADERS) ChangeLog Makefile.am \
++	Makefile.in
+ SOURCES = $(libeditline_la_SOURCES) $(libel_compat_la_SOURCES) testit.c
+-OBJECTS = $(am_libeditline_la_OBJECTS) $(am_libel_compat_la_OBJECTS) testit.$(OBJEXT)
+ 
+-all: all-redirect
++all: all-am
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/editline/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+-
+ 
+-mostlyclean-libLTLIBRARIES:
+-
+-clean-libLTLIBRARIES:
+-	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
+-
+-distclean-libLTLIBRARIES:
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-maintainer-clean-libLTLIBRARIES:
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  lib/editline/Makefile
++Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ install-libLTLIBRARIES: $(lib_LTLIBRARIES)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(libdir)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+ 	  if test -f $$p; then \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p; \
++	    echo " $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p"; \
++	    $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-libLTLIBRARIES:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+-	  echo " $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
+-	  $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
++	  echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
++	  $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
+ 	done
+ 
+-mostlyclean-noinstLTLIBRARIES:
++clean-libLTLIBRARIES:
++	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
+ 
+ clean-noinstLTLIBRARIES:
+ 	-test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
+-
+-distclean-noinstLTLIBRARIES:
+-
+-maintainer-clean-noinstLTLIBRARIES:
+-
+-mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
+-
+-clean-compile:
+-
+-distclean-compile:
+-	-rm -f *.tab.c
+-
+-maintainer-clean-compile:
+-
+-mostlyclean-libtool:
+-	-rm -f *.lo
+-
+-clean-libtool:
+-	-rm -rf .libs _libs
+-
+-distclean-libtool:
+-
+-maintainer-clean-libtool:
+-
+-libeditline.la: $(libeditline_la_OBJECTS) $(libeditline_la_DEPENDENCIES)
++libeditline.la: $(libeditline_la_OBJECTS) $(libeditline_la_DEPENDENCIES) 
+ 	$(LINK) -rpath $(libdir) $(libeditline_la_LDFLAGS) $(libeditline_la_OBJECTS) $(libeditline_la_LIBADD) $(LIBS)
+-
+-libel_compat.la: $(libel_compat_la_OBJECTS) $(libel_compat_la_DEPENDENCIES)
++libel_compat.la: $(libel_compat_la_OBJECTS) $(libel_compat_la_DEPENDENCIES) 
+ 	$(LINK)  $(libel_compat_la_LDFLAGS) $(libel_compat_la_OBJECTS) $(libel_compat_la_LIBADD) $(LIBS)
+ 
+-mostlyclean-noinstPROGRAMS:
+-
+ clean-noinstPROGRAMS:
+ 	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
++testit$(EXEEXT): $(testit_OBJECTS) $(testit_DEPENDENCIES) 
++	@rm -f testit$(EXEEXT)
++	$(LINK) $(testit_LDFLAGS) $(testit_OBJECTS) $(testit_LDADD) $(LIBS)
+ 
+-distclean-noinstPROGRAMS:
++mostlyclean-compile:
++	-rm -f *.$(OBJEXT) core *.core
+ 
+-maintainer-clean-noinstPROGRAMS:
++distclean-compile:
++	-rm -f *.tab.c
+ 
+-testit$(EXEEXT): $(testit_OBJECTS) $(testit_DEPENDENCIES)
+-	@rm -f testit$(EXEEXT)
+-	$(LINK) $(testit_LDFLAGS) $(testit_OBJECTS) $(testit_LDADD) $(LIBS)
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
++
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
++uninstall-info-am:
+ 
+-install-man3:
++man3dir = $(mandir)/man3
++install-man3: $(man3_MANS) $(man_MANS)
++	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(man3dir)
+-	@list='$(man3_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@list='$(man3_MANS) $(dist_man3_MANS) $(nodist_man3_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.3*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -399,10 +374,11 @@
+ 	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man3dir)/$$inst"; \
+ 	  $(INSTALL_DATA) $$file $(DESTDIR)$(man3dir)/$$inst; \
+ 	done
+-
+ uninstall-man3:
+-	@list='$(man3_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@$(NORMAL_UNINSTALL)
++	@list='$(man3_MANS) $(dist_man3_MANS) $(nodist_man3_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.3*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -415,21 +391,14 @@
+ 	  echo " rm -f $(DESTDIR)$(man3dir)/$$inst"; \
+ 	  rm -f $(DESTDIR)$(man3dir)/$$inst; \
+ 	done
+-install-man: $(MANS)
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-man3
+-uninstall-man:
+-	@$(NORMAL_UNINSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) uninstall-man3
+-
+ install-includeHEADERS: $(include_HEADERS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(includedir)
+ 	@list='$(include_HEADERS)'; for p in $$list; do \
+-	  if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
++	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
+-	  $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f; \
++	  echo " $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
++	  $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(includedir)/$$f; \
+ 	done
+ 
+ uninstall-includeHEADERS:
+@@ -467,22 +436,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -492,98 +462,98 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-install-exec-am: install-libLTLIBRARIES
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(MANS) $(HEADERS) all-local
+ 
+-install-data-am: install-man install-includeHEADERS install-data-local
+-install-data: install-data-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(man3dir) $(DESTDIR)$(includedir)
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am: uninstall-libLTLIBRARIES uninstall-man \
+-		uninstall-includeHEADERS
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(MANS) $(HEADERS) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(libdir) $(DESTDIR)$(mandir)/man3 \
+-		$(DESTDIR)$(includedir)
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-libLTLIBRARIES \
+-		mostlyclean-noinstLTLIBRARIES mostlyclean-compile \
+-		mostlyclean-libtool mostlyclean-noinstPROGRAMS \
+-		mostlyclean-tags mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \
++	clean-noinstLTLIBRARIES clean-noinstPROGRAMS mostlyclean-am
+ 
+-clean-am:  clean-libLTLIBRARIES clean-noinstLTLIBRARIES clean-compile \
+-		clean-libtool clean-noinstPROGRAMS clean-tags \
+-		clean-generic mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-libLTLIBRARIES distclean-noinstLTLIBRARIES \
+-		distclean-compile distclean-libtool \
+-		distclean-noinstPROGRAMS distclean-tags \
+-		distclean-generic clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-libLTLIBRARIES \
+-		maintainer-clean-noinstLTLIBRARIES \
+-		maintainer-clean-compile maintainer-clean-libtool \
+-		maintainer-clean-noinstPROGRAMS 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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local install-includeHEADERS install-man
++
++install-exec-am: install-libLTLIBRARIES
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man: install-man3
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-am
+ 
+-.PHONY: mostlyclean-libLTLIBRARIES distclean-libLTLIBRARIES \
+-clean-libLTLIBRARIES maintainer-clean-libLTLIBRARIES \
+-uninstall-libLTLIBRARIES install-libLTLIBRARIES \
+-mostlyclean-noinstLTLIBRARIES distclean-noinstLTLIBRARIES \
+-clean-noinstLTLIBRARIES maintainer-clean-noinstLTLIBRARIES \
+-mostlyclean-compile distclean-compile clean-compile \
+-maintainer-clean-compile mostlyclean-libtool distclean-libtool \
+-clean-libtool maintainer-clean-libtool mostlyclean-noinstPROGRAMS \
+-distclean-noinstPROGRAMS clean-noinstPROGRAMS \
+-maintainer-clean-noinstPROGRAMS install-man3 uninstall-man3 install-man \
+-uninstall-man uninstall-includeHEADERS install-includeHEADERS tags \
+-mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
+-distdir info-am info dvi-am dvi check-local check check-am \
+-installcheck-am installcheck install-exec-am install-exec \
+-install-data-local install-data-am install-data install-am install \
+-uninstall-am uninstall all-local all-redirect all-am all install-strip \
+-installdirs mostlyclean-generic distclean-generic clean-generic \
+-maintainer-clean-generic clean mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-includeHEADERS uninstall-info-am \
++	uninstall-libLTLIBRARIES uninstall-man
++
++uninstall-man: uninstall-man3
++
++.PHONY: GTAGS all all-am all-local check check-am check-local clean \
++	clean-generic clean-libLTLIBRARIES clean-libtool \
++	clean-noinstLTLIBRARIES clean-noinstPROGRAMS distclean \
++	distclean-compile distclean-generic distclean-libtool \
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-data install-data-am install-data-local \
++	install-exec install-exec-am install-includeHEADERS \
++	install-info install-info-am install-libLTLIBRARIES install-man \
++	install-man3 install-strip installcheck installcheck-am \
++	installdirs maintainer-clean maintainer-clean-generic \
++	mostlyclean mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool tags uninstall uninstall-am \
++	uninstall-includeHEADERS uninstall-info-am \
++	uninstall-libLTLIBRARIES uninstall-man uninstall-man3
+ 
+ 
+ install-suid-programs:
+@@ -718,7 +688,6 @@
+ 	$(LN_S) $(srcdir)/../roken/snprintf.c .
+ strdup.c:
+ 	$(LN_S) $(srcdir)/../roken/strdup.c .
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/lib/gssapi/Makefile.in heimdal-0.4e/lib/gssapi/Makefile.in
+--- heimdal-0.4e-old/lib/gssapi/Makefile.in	Thu Sep  6 22:23:07 2001
++++ heimdal-0.4e/lib/gssapi/Makefile.in	Wed Nov 21 11:52:44 2001
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.36 2001/08/28 11:21:17 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,9 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,6 +89,7 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+@@ -105,7 +109,6 @@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,20 +122,17 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+ 
+-# $Id: Makefile.am,v 1.36 2001/08/28 11:21:17 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
+-
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+ SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+@@ -189,13 +189,12 @@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+@@ -247,124 +246,109 @@
+ 
+ subdir = lib/gssapi
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../include/config.h
+-CONFIG_CLEAN_FILES = 
+-LTLIBRARIES =  $(lib_LTLIBRARIES)
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++LTLIBRARIES = $(lib_LTLIBRARIES)
++
++libgssapi_la_DEPENDENCIES = ../krb5/libkrb5.la ../asn1/libasn1.la \
++	../roken/libroken.la
++am_libgssapi_la_OBJECTS = 8003.lo accept_sec_context.lo acquire_cred.lo \
++	add_oid_set_member.lo canonicalize_name.lo compare_name.lo \
++	context_time.lo copy_ccache.lo create_emtpy_oid_set.lo \
++	decapsulate.lo delete_sec_context.lo display_name.lo \
++	display_status.lo duplicate_name.lo encapsulate.lo \
++	export_sec_context.lo export_name.lo external.lo get_mic.lo \
++	import_name.lo import_sec_context.lo indicate_mechs.lo init.lo \
++	init_sec_context.lo inquire_context.lo inquire_cred.lo \
++	release_buffer.lo release_cred.lo release_name.lo \
++	release_oid_set.lo test_oid_set_member.lo unwrap.lo v1.lo \
++	verify_mic.lo wrap.lo address_to_krb5addr.lo
++libgssapi_la_OBJECTS = $(am_libgssapi_la_OBJECTS)
+ 
+-
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../../include
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+-libgssapi_la_DEPENDENCIES =  ../krb5/libkrb5.la ../asn1/libasn1.la \
+-../roken/libroken.la
+-am_libgssapi_la_OBJECTS =  8003.lo accept_sec_context.lo acquire_cred.lo \
+-add_oid_set_member.lo canonicalize_name.lo compare_name.lo \
+-context_time.lo copy_ccache.lo create_emtpy_oid_set.lo decapsulate.lo \
+-delete_sec_context.lo display_name.lo display_status.lo \
+-duplicate_name.lo encapsulate.lo export_sec_context.lo export_name.lo \
+-external.lo get_mic.lo import_name.lo import_sec_context.lo \
+-indicate_mechs.lo init.lo init_sec_context.lo inquire_context.lo \
+-inquire_cred.lo release_buffer.lo release_cred.lo release_name.lo \
+-release_oid_set.lo test_oid_set_member.lo unwrap.lo v1.lo verify_mic.lo \
+-wrap.lo address_to_krb5addr.lo
+-libgssapi_la_OBJECTS =  $(am_libgssapi_la_OBJECTS)
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  $(libgssapi_la_SOURCES)
+-HEADERS =  $(include_HEADERS)
+-
+-depcomp = 
+-DIST_COMMON =  $(include_HEADERS) ChangeLog Makefile.am Makefile.in
+-
+-
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++DIST_SOURCES = $(libgssapi_la_SOURCES)
++HEADERS = $(include_HEADERS)
+ 
+-GZIP_ENV = --best
++DIST_COMMON = $(include_HEADERS) ChangeLog Makefile.am Makefile.in
+ SOURCES = $(libgssapi_la_SOURCES)
+-OBJECTS = $(am_libgssapi_la_OBJECTS)
+ 
+-all: all-redirect
++all: all-am
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/gssapi/Makefile
+ 
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+-
+-
+-mostlyclean-libLTLIBRARIES:
+-
+-clean-libLTLIBRARIES:
+-	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
+-
+-distclean-libLTLIBRARIES:
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-maintainer-clean-libLTLIBRARIES:
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  lib/gssapi/Makefile
++Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ install-libLTLIBRARIES: $(lib_LTLIBRARIES)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(libdir)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+ 	  if test -f $$p; then \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p; \
++	    echo " $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p"; \
++	    $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-libLTLIBRARIES:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+-	  echo " $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
+-	  $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
++	  echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
++	  $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
+ 	done
+ 
+-mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
++clean-libLTLIBRARIES:
++	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
++libgssapi.la: $(libgssapi_la_OBJECTS) $(libgssapi_la_DEPENDENCIES) 
++	$(LINK) -rpath $(libdir) $(libgssapi_la_LDFLAGS) $(libgssapi_la_OBJECTS) $(libgssapi_la_LIBADD) $(LIBS)
+ 
+-clean-compile:
++mostlyclean-compile:
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+-maintainer-clean-compile:
+-
+-mostlyclean-libtool:
+-	-rm -f *.lo
+-
+-clean-libtool:
+-	-rm -rf .libs _libs
+-
+-distclean-libtool:
+-
+-maintainer-clean-libtool:
+-
+-libgssapi.la: $(libgssapi_la_OBJECTS) $(libgssapi_la_DEPENDENCIES)
+-	$(LINK) -rpath $(libdir) $(libgssapi_la_LDFLAGS) $(libgssapi_la_OBJECTS) $(libgssapi_la_LIBADD) $(LIBS)
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
+-.c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
+ 
++.c.lo:
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
++uninstall-info-am:
+ install-includeHEADERS: $(include_HEADERS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(includedir)
+ 	@list='$(include_HEADERS)'; for p in $$list; do \
+-	  if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
++	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
+-	  $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f; \
++	  echo " $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
++	  $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(includedir)/$$f; \
+ 	done
+ 
+ uninstall-includeHEADERS:
+@@ -402,22 +386,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -427,87 +412,94 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-install-exec-am: install-libLTLIBRARIES
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++all-am: Makefile $(LTLIBRARIES) $(HEADERS) all-local
+ 
+-install-data-am: install-includeHEADERS install-data-local
+-install-data: install-data-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(includedir)
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am: uninstall-libLTLIBRARIES uninstall-includeHEADERS
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(LTLIBRARIES) $(HEADERS) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(libdir) $(DESTDIR)$(includedir)
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-libLTLIBRARIES mostlyclean-compile \
+-		mostlyclean-libtool mostlyclean-tags \
+-		mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \
++	mostlyclean-am
+ 
+-clean-am:  clean-libLTLIBRARIES clean-compile clean-libtool clean-tags \
+-		clean-generic mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-libLTLIBRARIES distclean-compile \
+-		distclean-libtool distclean-tags distclean-generic \
+-		clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-libLTLIBRARIES \
+-		maintainer-clean-compile maintainer-clean-libtool \
+-		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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local install-includeHEADERS
++
++install-exec-am: install-libLTLIBRARIES
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man:
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-am
+ 
+-.PHONY: mostlyclean-libLTLIBRARIES distclean-libLTLIBRARIES \
+-clean-libLTLIBRARIES maintainer-clean-libLTLIBRARIES \
+-uninstall-libLTLIBRARIES install-libLTLIBRARIES mostlyclean-compile \
+-distclean-compile clean-compile maintainer-clean-compile \
+-mostlyclean-libtool distclean-libtool clean-libtool \
+-maintainer-clean-libtool uninstall-includeHEADERS \
+-install-includeHEADERS tags mostlyclean-tags distclean-tags clean-tags \
+-maintainer-clean-tags distdir info-am info dvi-am dvi check-local check \
+-check-am installcheck-am installcheck install-exec-am install-exec \
+-install-data-local install-data-am install-data install-am install \
+-uninstall-am uninstall all-local all-redirect all-am all install-strip \
+-installdirs mostlyclean-generic distclean-generic clean-generic \
+-maintainer-clean-generic clean mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-includeHEADERS uninstall-info-am \
++	uninstall-libLTLIBRARIES
++
++.PHONY: GTAGS all all-am all-local check check-am check-local clean \
++	clean-generic clean-libLTLIBRARIES clean-libtool distclean \
++	distclean-compile distclean-generic distclean-libtool \
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-data install-data-am install-data-local \
++	install-exec install-exec-am install-includeHEADERS \
++	install-info install-info-am install-libLTLIBRARIES install-man \
++	install-strip installcheck installcheck-am installdirs \
++	maintainer-clean maintainer-clean-generic mostlyclean \
++	mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
++	tags uninstall uninstall-am uninstall-includeHEADERS \
++	uninstall-info-am uninstall-libLTLIBRARIES
+ 
+ 
+ install-suid-programs:
+@@ -637,7 +629,6 @@
+ 	  echo "$$dashes"; \
+ 	  test "$$failed" -eq 0; \
+ 	fi
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/lib/hdb/Makefile.in heimdal-0.4e/lib/hdb/Makefile.in
+--- heimdal-0.4e-old/lib/hdb/Makefile.in	Thu Sep  6 22:23:09 2001
++++ heimdal-0.4e/lib/hdb/Makefile.in	Wed Nov 21 11:52:44 2001
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.51 2001/08/28 08:31:31 assar Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,9 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,6 +89,7 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+@@ -105,7 +109,6 @@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,20 +122,17 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+ 
+-# $Id: Makefile.am,v 1.51 2001/08/28 08:31:31 assar Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
+-
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+ SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+@@ -189,13 +189,12 @@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+@@ -237,140 +236,118 @@
+ libhdb_la_LIBADD = ../krb5/libkrb5.la ../asn1/libasn1.la ../roken/libroken.la $(LIB_openldap) $(DBLIB) $(LIB_NDBM)
+ subdir = lib/hdb
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../include/config.h
+-CONFIG_CLEAN_FILES = 
+-LTLIBRARIES =  $(lib_LTLIBRARIES)
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++LTLIBRARIES = $(lib_LTLIBRARIES)
++
++libhdb_la_DEPENDENCIES = ../krb5/libkrb5.la ../asn1/libasn1.la \
++	../roken/libroken.la
++am_libhdb_la_OBJECTS = common.lo db.lo db3.lo hdb-ldap.lo hdb.lo \
++	keytab.lo mkey.lo ndbm.lo print.lo asn1_Key.lo asn1_Event.lo \
++	asn1_HDBFlags.lo asn1_hdb_entry.lo asn1_Salt.lo hdb_err.lo \
++	asn1_GENERATION.lo
++libhdb_la_OBJECTS = $(am_libhdb_la_OBJECTS)
++noinst_PROGRAMS = convert_db$(EXEEXT)
++PROGRAMS = $(noinst_PROGRAMS)
+ 
++convert_db_SOURCES = convert_db.c
++convert_db_OBJECTS = convert_db.$(OBJEXT)
++convert_db_LDADD = $(LDADD)
++convert_db_DEPENDENCIES = libhdb.la ../krb5/libkrb5.la \
++	../asn1/libasn1.la
++convert_db_LDFLAGS =
+ 
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../../include
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+-libhdb_la_DEPENDENCIES =  ../krb5/libkrb5.la ../asn1/libasn1.la \
+-../roken/libroken.la
+-am_libhdb_la_OBJECTS =  common.lo db.lo db3.lo hdb-ldap.lo hdb.lo \
+-keytab.lo mkey.lo ndbm.lo print.lo asn1_Key.lo asn1_Event.lo \
+-asn1_HDBFlags.lo asn1_hdb_entry.lo asn1_Salt.lo hdb_err.lo \
+-asn1_GENERATION.lo
+-libhdb_la_OBJECTS =  $(am_libhdb_la_OBJECTS)
+-noinst_PROGRAMS =  convert_db$(EXEEXT)
+-PROGRAMS =  $(noinst_PROGRAMS)
+-
+-convert_db_SOURCES = convert_db.c
+-convert_db_OBJECTS =  convert_db.$(OBJEXT)
+-convert_db_LDADD = $(LDADD)
+-convert_db_DEPENDENCIES =  libhdb.la ../krb5/libkrb5.la \
+-../asn1/libasn1.la
+-convert_db_LDFLAGS = 
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  $(libhdb_la_SOURCES) convert_db.c
+-HEADERS =  $(include_HEADERS)
+-
+-depcomp = 
+-DIST_COMMON =  $(include_HEADERS) Makefile.am Makefile.in
+-
+-
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++DIST_SOURCES = $(libhdb_la_SOURCES) convert_db.c
++HEADERS = $(include_HEADERS)
+ 
+-GZIP_ENV = --best
++DIST_COMMON = $(include_HEADERS) Makefile.am Makefile.in
+ SOURCES = $(libhdb_la_SOURCES) convert_db.c
+-OBJECTS = $(am_libhdb_la_OBJECTS) convert_db.$(OBJEXT)
+ 
+-all: all-redirect
++all: $(BUILT_SOURCES)
++	$(MAKE) $(AM_MAKEFLAGS) all-am
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/hdb/Makefile
+ 
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+-
+-
+-mostlyclean-libLTLIBRARIES:
+-
+-clean-libLTLIBRARIES:
+-	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
+-
+-distclean-libLTLIBRARIES:
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-maintainer-clean-libLTLIBRARIES:
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  lib/hdb/Makefile
++Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ install-libLTLIBRARIES: $(lib_LTLIBRARIES)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(libdir)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+ 	  if test -f $$p; then \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p; \
++	    echo " $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p"; \
++	    $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-libLTLIBRARIES:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+-	  echo " $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
+-	  $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
++	  echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
++	  $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
+ 	done
+ 
+-mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
+-
+-clean-compile:
+-
+-distclean-compile:
+-	-rm -f *.tab.c
+-
+-maintainer-clean-compile:
+-
+-mostlyclean-libtool:
+-	-rm -f *.lo
+-
+-clean-libtool:
+-	-rm -rf .libs _libs
+-
+-distclean-libtool:
+-
+-maintainer-clean-libtool:
+-
+-libhdb.la: $(libhdb_la_OBJECTS) $(libhdb_la_DEPENDENCIES)
++clean-libLTLIBRARIES:
++	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
++libhdb.la: $(libhdb_la_OBJECTS) $(libhdb_la_DEPENDENCIES) 
+ 	$(LINK) -rpath $(libdir) $(libhdb_la_LDFLAGS) $(libhdb_la_OBJECTS) $(libhdb_la_LIBADD) $(LIBS)
+ 
+-mostlyclean-noinstPROGRAMS:
+-
+ clean-noinstPROGRAMS:
+ 	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
++convert_db$(EXEEXT): $(convert_db_OBJECTS) $(convert_db_DEPENDENCIES) 
++	@rm -f convert_db$(EXEEXT)
++	$(LINK) $(convert_db_LDFLAGS) $(convert_db_OBJECTS) $(convert_db_LDADD) $(LIBS)
+ 
+-distclean-noinstPROGRAMS:
++mostlyclean-compile:
++	-rm -f *.$(OBJEXT) core *.core
+ 
+-maintainer-clean-noinstPROGRAMS:
++distclean-compile:
++	-rm -f *.tab.c
+ 
+-convert_db$(EXEEXT): $(convert_db_OBJECTS) $(convert_db_DEPENDENCIES)
+-	@rm -f convert_db$(EXEEXT)
+-	$(LINK) $(convert_db_LDFLAGS) $(convert_db_OBJECTS) $(convert_db_LDADD) $(LIBS)
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
+-.c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
+ 
++.c.lo:
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
++uninstall-info-am:
+ install-includeHEADERS: $(include_HEADERS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(includedir)
+ 	@list='$(include_HEADERS)'; for p in $$list; do \
+-	  if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
++	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
+-	  $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f; \
++	  echo " $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
++	  $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(includedir)/$$f; \
+ 	done
+ 
+ uninstall-includeHEADERS:
+@@ -408,22 +385,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -433,96 +411,97 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-all-recursive-am: $(BUILT_SOURCES)
+-	$(MAKE) $(AM_MAKEFLAGS) all-recursive
++all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(HEADERS) all-local
+ 
+-install-exec-am: install-libLTLIBRARIES
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(includedir)
+ 
+-install-data-am: install-includeHEADERS install-data-local
++install: install-am
++install-exec: install-exec-am
+ install-data: install-data-am
++uninstall: uninstall-am
+ 
+ install-am: all-am
+ 	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+-install: install-am
+-uninstall-am: uninstall-libLTLIBRARIES uninstall-includeHEADERS
+-uninstall: uninstall-am
+-all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(HEADERS) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(libdir) $(DESTDIR)$(includedir)
+-
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
+ 	-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
+-mostlyclean-am:  mostlyclean-libLTLIBRARIES mostlyclean-compile \
+-		mostlyclean-libtool mostlyclean-noinstPROGRAMS \
+-		mostlyclean-tags mostlyclean-generic
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \
++	clean-noinstPROGRAMS mostlyclean-am
+ 
+-clean-am:  clean-libLTLIBRARIES clean-compile clean-libtool \
+-		clean-noinstPROGRAMS clean-tags clean-generic \
+-		mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-libLTLIBRARIES distclean-compile \
+-		distclean-libtool distclean-noinstPROGRAMS \
+-		distclean-tags distclean-generic clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-libLTLIBRARIES \
+-		maintainer-clean-compile maintainer-clean-libtool \
+-		maintainer-clean-noinstPROGRAMS 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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local install-includeHEADERS
++
++install-exec-am: install-libLTLIBRARIES
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man:
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-am
+ 
+-.PHONY: mostlyclean-libLTLIBRARIES distclean-libLTLIBRARIES \
+-clean-libLTLIBRARIES maintainer-clean-libLTLIBRARIES \
+-uninstall-libLTLIBRARIES install-libLTLIBRARIES mostlyclean-compile \
+-distclean-compile clean-compile maintainer-clean-compile \
+-mostlyclean-libtool distclean-libtool clean-libtool \
+-maintainer-clean-libtool mostlyclean-noinstPROGRAMS \
+-distclean-noinstPROGRAMS clean-noinstPROGRAMS \
+-maintainer-clean-noinstPROGRAMS uninstall-includeHEADERS \
+-install-includeHEADERS tags mostlyclean-tags distclean-tags clean-tags \
+-maintainer-clean-tags distdir info-am info dvi-am dvi check-local check \
+-check-am installcheck-am installcheck all-recursive-am install-exec-am \
+-install-exec install-data-local install-data-am install-data install-am \
+-install uninstall-am uninstall all-local all-redirect all-am all \
+-install-strip installdirs mostlyclean-generic distclean-generic \
+-clean-generic maintainer-clean-generic clean mostlyclean distclean \
+-maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-includeHEADERS uninstall-info-am \
++	uninstall-libLTLIBRARIES
++
++.PHONY: GTAGS all all-am all-local check check-am check-local clean \
++	clean-generic clean-libLTLIBRARIES clean-libtool \
++	clean-noinstPROGRAMS distclean distclean-compile \
++	distclean-generic distclean-libtool distclean-tags distdir dvi \
++	dvi-am info info-am install install-am install-data \
++	install-data-am install-data-local install-exec install-exec-am \
++	install-includeHEADERS install-info install-info-am \
++	install-libLTLIBRARIES install-man install-strip installcheck \
++	installcheck-am installdirs maintainer-clean \
++	maintainer-clean-generic mostlyclean mostlyclean-compile \
++	mostlyclean-generic mostlyclean-libtool tags uninstall \
++	uninstall-am uninstall-includeHEADERS uninstall-info-am \
++	uninstall-libLTLIBRARIES
+ 
+ 
+ install-suid-programs:
+@@ -673,7 +652,6 @@
+ # to help stupid solaris make
+ 
+ hdb_err.h: hdb_err.et
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/lib/kadm5/Makefile.in heimdal-0.4e/lib/kadm5/Makefile.in
+--- heimdal-0.4e-old/lib/kadm5/Makefile.in	Thu Sep  6 22:23:13 2001
++++ heimdal-0.4e/lib/kadm5/Makefile.in	Wed Nov 21 11:52:45 2001
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.48 2001/08/27 23:00:13 assar Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,9 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,6 +89,7 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+@@ -105,7 +109,6 @@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,20 +122,17 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+ 
+-# $Id: Makefile.am,v 1.48 2001/08/27 23:00:13 assar Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
+-
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+ SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+@@ -189,13 +189,12 @@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+@@ -299,248 +298,223 @@
+ CLEANFILES = kadm5_err.c kadm5_err.h
+ subdir = lib/kadm5
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../include/config.h
+-CONFIG_CLEAN_FILES = 
+-LTLIBRARIES =  $(lib_LTLIBRARIES)
+-
+-
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../../include
+-CPPFLAGS = @CPPFLAGS@
+-LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+-libkadm5clnt_la_DEPENDENCIES =  ../krb5/libkrb5.la ../hdb/libhdb.la \
+-../roken/libroken.la
+-am_libkadm5clnt_la_OBJECTS =  chpass_c.lo common_glue.lo create_c.lo \
+-delete_c.lo destroy_c.lo flush_c.lo free.lo get_c.lo get_princs_c.lo \
+-init_c.lo kadm5_err.lo marshall.lo modify_c.lo privs_c.lo randkey_c.lo \
+-rename_c.lo send_recv.lo client_glue.lo
+-libkadm5clnt_la_OBJECTS =  $(am_libkadm5clnt_la_OBJECTS)
+-libkadm5srv_la_DEPENDENCIES =  ../krb5/libkrb5.la ../hdb/libhdb.la \
+-../roken/libroken.la
+-am_libkadm5srv_la_OBJECTS =  acl.lo bump_pw_expire.lo chpass_s.lo \
+-common_glue.lo context_s.lo create_s.lo delete_s.lo destroy_s.lo \
+-ent_setup.lo error.lo flush_s.lo free.lo get_princs_s.lo get_s.lo \
+-init_s.lo kadm5_err.lo keys.lo log.lo marshall.lo modify_s.lo \
+-privs_s.lo randkey_s.lo rename_s.lo set_keys.lo set_modifier.lo \
+-password_quality.lo server_glue.lo
+-libkadm5srv_la_OBJECTS =  $(am_libkadm5srv_la_OBJECTS)
+-libexec_PROGRAMS =  ipropd-master$(EXEEXT) ipropd-slave$(EXEEXT)
+-sbin_PROGRAMS =  dump_log$(EXEEXT) replay_log$(EXEEXT) \
+-truncate_log$(EXEEXT)
+-PROGRAMS =  $(libexec_PROGRAMS) $(sbin_PROGRAMS)
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++LTLIBRARIES = $(lib_LTLIBRARIES)
++
++libkadm5clnt_la_DEPENDENCIES = ../krb5/libkrb5.la ../hdb/libhdb.la \
++	../roken/libroken.la
++am_libkadm5clnt_la_OBJECTS = chpass_c.lo common_glue.lo create_c.lo \
++	delete_c.lo destroy_c.lo flush_c.lo free.lo get_c.lo \
++	get_princs_c.lo init_c.lo kadm5_err.lo marshall.lo modify_c.lo \
++	privs_c.lo randkey_c.lo rename_c.lo send_recv.lo client_glue.lo
++libkadm5clnt_la_OBJECTS = $(am_libkadm5clnt_la_OBJECTS)
++libkadm5srv_la_DEPENDENCIES = ../krb5/libkrb5.la ../hdb/libhdb.la \
++	../roken/libroken.la
++am_libkadm5srv_la_OBJECTS = acl.lo bump_pw_expire.lo chpass_s.lo \
++	common_glue.lo context_s.lo create_s.lo delete_s.lo \
++	destroy_s.lo ent_setup.lo error.lo flush_s.lo free.lo \
++	get_princs_s.lo get_s.lo init_s.lo kadm5_err.lo keys.lo log.lo \
++	marshall.lo modify_s.lo privs_s.lo randkey_s.lo rename_s.lo \
++	set_keys.lo set_modifier.lo password_quality.lo server_glue.lo
++libkadm5srv_la_OBJECTS = $(am_libkadm5srv_la_OBJECTS)
++libexec_PROGRAMS = ipropd-master$(EXEEXT) ipropd-slave$(EXEEXT)
++sbin_PROGRAMS = dump_log$(EXEEXT) replay_log$(EXEEXT) \
++	truncate_log$(EXEEXT)
++PROGRAMS = $(libexec_PROGRAMS) $(sbin_PROGRAMS)
+ 
+-am_dump_log_OBJECTS =  dump_log.$(OBJEXT)
+-dump_log_OBJECTS =  $(am_dump_log_OBJECTS)
++am_dump_log_OBJECTS = dump_log.$(OBJEXT)
++dump_log_OBJECTS = $(am_dump_log_OBJECTS)
+ dump_log_LDADD = $(LDADD)
+-dump_log_DEPENDENCIES =  libkadm5srv.la \
+-$(top_builddir)/lib/hdb/libhdb.la $(top_builddir)/lib/krb5/libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
+-dump_log_LDFLAGS = 
+-am_ipropd_master_OBJECTS =  ipropd_master.$(OBJEXT)
+-ipropd_master_OBJECTS =  $(am_ipropd_master_OBJECTS)
++dump_log_DEPENDENCIES = libkadm5srv.la $(top_builddir)/lib/hdb/libhdb.la \
++	$(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++dump_log_LDFLAGS =
++am_ipropd_master_OBJECTS = ipropd_master.$(OBJEXT)
++ipropd_master_OBJECTS = $(am_ipropd_master_OBJECTS)
+ ipropd_master_LDADD = $(LDADD)
+-ipropd_master_DEPENDENCIES =  libkadm5srv.la \
+-$(top_builddir)/lib/hdb/libhdb.la $(top_builddir)/lib/krb5/libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
+-ipropd_master_LDFLAGS = 
+-am_ipropd_slave_OBJECTS =  ipropd_slave.$(OBJEXT)
+-ipropd_slave_OBJECTS =  $(am_ipropd_slave_OBJECTS)
++ipropd_master_DEPENDENCIES = libkadm5srv.la \
++	$(top_builddir)/lib/hdb/libhdb.la \
++	$(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++ipropd_master_LDFLAGS =
++am_ipropd_slave_OBJECTS = ipropd_slave.$(OBJEXT)
++ipropd_slave_OBJECTS = $(am_ipropd_slave_OBJECTS)
+ ipropd_slave_LDADD = $(LDADD)
+-ipropd_slave_DEPENDENCIES =  libkadm5srv.la \
+-$(top_builddir)/lib/hdb/libhdb.la $(top_builddir)/lib/krb5/libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
+-ipropd_slave_LDFLAGS = 
+-am_replay_log_OBJECTS =  replay_log.$(OBJEXT)
+-replay_log_OBJECTS =  $(am_replay_log_OBJECTS)
++ipropd_slave_DEPENDENCIES = libkadm5srv.la \
++	$(top_builddir)/lib/hdb/libhdb.la \
++	$(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++ipropd_slave_LDFLAGS =
++am_replay_log_OBJECTS = replay_log.$(OBJEXT)
++replay_log_OBJECTS = $(am_replay_log_OBJECTS)
+ replay_log_LDADD = $(LDADD)
+-replay_log_DEPENDENCIES =  libkadm5srv.la \
+-$(top_builddir)/lib/hdb/libhdb.la $(top_builddir)/lib/krb5/libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
+-replay_log_LDFLAGS = 
+-am_truncate_log_OBJECTS =  truncate_log.$(OBJEXT)
+-truncate_log_OBJECTS =  $(am_truncate_log_OBJECTS)
++replay_log_DEPENDENCIES = libkadm5srv.la \
++	$(top_builddir)/lib/hdb/libhdb.la \
++	$(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++replay_log_LDFLAGS =
++am_truncate_log_OBJECTS = truncate_log.$(OBJEXT)
++truncate_log_OBJECTS = $(am_truncate_log_OBJECTS)
+ truncate_log_LDADD = $(LDADD)
+-truncate_log_DEPENDENCIES =  libkadm5srv.la \
+-$(top_builddir)/lib/hdb/libhdb.la $(top_builddir)/lib/krb5/libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
+-truncate_log_LDFLAGS = 
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
+-CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  $(libkadm5clnt_la_SOURCES) $(libkadm5srv_la_SOURCES) \
+-$(dump_log_SOURCES) $(ipropd_master_SOURCES) $(ipropd_slave_SOURCES) \
+-$(replay_log_SOURCES) $(truncate_log_SOURCES)
+-HEADERS =  $(kadm5include_HEADERS)
+-
+-depcomp = 
+-DIST_COMMON =  $(kadm5include_HEADERS) ChangeLog Makefile.am Makefile.in
+-
++truncate_log_DEPENDENCIES = libkadm5srv.la \
++	$(top_builddir)/lib/hdb/libhdb.la \
++	$(top_builddir)/lib/krb5/libkrb5.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++truncate_log_LDFLAGS =
+ 
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
++CPPFLAGS = @CPPFLAGS@
++LDFLAGS = @LDFLAGS@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++CCLD = $(CC)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++DIST_SOURCES = $(libkadm5clnt_la_SOURCES) $(libkadm5srv_la_SOURCES) \
++	$(dump_log_SOURCES) $(ipropd_master_SOURCES) \
++	$(ipropd_slave_SOURCES) $(replay_log_SOURCES) \
++	$(truncate_log_SOURCES)
++HEADERS = $(kadm5include_HEADERS)
+ 
+-GZIP_ENV = --best
++DIST_COMMON = $(kadm5include_HEADERS) ChangeLog Makefile.am Makefile.in
+ SOURCES = $(libkadm5clnt_la_SOURCES) $(libkadm5srv_la_SOURCES) $(dump_log_SOURCES) $(ipropd_master_SOURCES) $(ipropd_slave_SOURCES) $(replay_log_SOURCES) $(truncate_log_SOURCES)
+-OBJECTS = $(am_libkadm5clnt_la_OBJECTS) $(am_libkadm5srv_la_OBJECTS) $(am_dump_log_OBJECTS) $(am_ipropd_master_OBJECTS) $(am_ipropd_slave_OBJECTS) $(am_replay_log_OBJECTS) $(am_truncate_log_OBJECTS)
+ 
+-all: all-redirect
++all: all-am
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/kadm5/Makefile
+ 
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+-
+-
+-mostlyclean-libLTLIBRARIES:
+-
+-clean-libLTLIBRARIES:
+-	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
+-
+-distclean-libLTLIBRARIES:
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-maintainer-clean-libLTLIBRARIES:
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  lib/kadm5/Makefile
++Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ install-libLTLIBRARIES: $(lib_LTLIBRARIES)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(libdir)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+ 	  if test -f $$p; then \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p; \
++	    echo " $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p"; \
++	    $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-libLTLIBRARIES:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+-	  echo " $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
+-	  $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
++	  echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
++	  $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
+ 	done
+ 
+-mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
+-
+-clean-compile:
+-
+-distclean-compile:
+-	-rm -f *.tab.c
+-
+-maintainer-clean-compile:
+-
+-mostlyclean-libtool:
+-	-rm -f *.lo
+-
+-clean-libtool:
+-	-rm -rf .libs _libs
+-
+-distclean-libtool:
+-
+-maintainer-clean-libtool:
+-
+-libkadm5clnt.la: $(libkadm5clnt_la_OBJECTS) $(libkadm5clnt_la_DEPENDENCIES)
++clean-libLTLIBRARIES:
++	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
++libkadm5clnt.la: $(libkadm5clnt_la_OBJECTS) $(libkadm5clnt_la_DEPENDENCIES) 
+ 	$(LINK) -rpath $(libdir) $(libkadm5clnt_la_LDFLAGS) $(libkadm5clnt_la_OBJECTS) $(libkadm5clnt_la_LIBADD) $(LIBS)
+-
+-libkadm5srv.la: $(libkadm5srv_la_OBJECTS) $(libkadm5srv_la_DEPENDENCIES)
++libkadm5srv.la: $(libkadm5srv_la_OBJECTS) $(libkadm5srv_la_DEPENDENCIES) 
+ 	$(LINK) -rpath $(libdir) $(libkadm5srv_la_LDFLAGS) $(libkadm5srv_la_OBJECTS) $(libkadm5srv_la_LIBADD) $(LIBS)
+-
+-mostlyclean-libexecPROGRAMS:
+-
+-clean-libexecPROGRAMS:
+-	-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
+-
+-distclean-libexecPROGRAMS:
+-
+-maintainer-clean-libexecPROGRAMS:
+-
+ install-libexecPROGRAMS: $(libexec_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(libexecdir)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+-	  if test -f $$p; then \
+-	    f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libexecdir)/$$f"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libexecdir)/$$f; \
++	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  if test -f $$p \
++	     || test -f $$p1 \
++	  ; then \
++	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-libexecPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+-	  f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(libexecdir)/$$f; \
+ 	done
+ 
+-mostlyclean-sbinPROGRAMS:
+-
+-clean-sbinPROGRAMS:
+-	-test -z "$(sbin_PROGRAMS)" || rm -f $(sbin_PROGRAMS)
+-
+-distclean-sbinPROGRAMS:
+-
+-maintainer-clean-sbinPROGRAMS:
+-
++clean-libexecPROGRAMS:
++	-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
+ install-sbinPROGRAMS: $(sbin_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(sbindir)
+ 	@list='$(sbin_PROGRAMS)'; for p in $$list; do \
+-	  if test -f $$p; then \
+-	    f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(sbindir)/$$f"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(sbindir)/$$f; \
++	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  if test -f $$p \
++	     || test -f $$p1 \
++	  ; then \
++	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(sbindir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(sbindir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-sbinPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(sbin_PROGRAMS)'; for p in $$list; do \
+-	  f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(sbindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(sbindir)/$$f; \
+ 	done
+ 
+-dump_log$(EXEEXT): $(dump_log_OBJECTS) $(dump_log_DEPENDENCIES)
++clean-sbinPROGRAMS:
++	-test -z "$(sbin_PROGRAMS)" || rm -f $(sbin_PROGRAMS)
++dump_log$(EXEEXT): $(dump_log_OBJECTS) $(dump_log_DEPENDENCIES) 
+ 	@rm -f dump_log$(EXEEXT)
+ 	$(LINK) $(dump_log_LDFLAGS) $(dump_log_OBJECTS) $(dump_log_LDADD) $(LIBS)
+-
+-ipropd-master$(EXEEXT): $(ipropd_master_OBJECTS) $(ipropd_master_DEPENDENCIES)
++ipropd-master$(EXEEXT): $(ipropd_master_OBJECTS) $(ipropd_master_DEPENDENCIES) 
+ 	@rm -f ipropd-master$(EXEEXT)
+ 	$(LINK) $(ipropd_master_LDFLAGS) $(ipropd_master_OBJECTS) $(ipropd_master_LDADD) $(LIBS)
+-
+-ipropd-slave$(EXEEXT): $(ipropd_slave_OBJECTS) $(ipropd_slave_DEPENDENCIES)
++ipropd-slave$(EXEEXT): $(ipropd_slave_OBJECTS) $(ipropd_slave_DEPENDENCIES) 
+ 	@rm -f ipropd-slave$(EXEEXT)
+ 	$(LINK) $(ipropd_slave_LDFLAGS) $(ipropd_slave_OBJECTS) $(ipropd_slave_LDADD) $(LIBS)
+-
+-replay_log$(EXEEXT): $(replay_log_OBJECTS) $(replay_log_DEPENDENCIES)
++replay_log$(EXEEXT): $(replay_log_OBJECTS) $(replay_log_DEPENDENCIES) 
+ 	@rm -f replay_log$(EXEEXT)
+ 	$(LINK) $(replay_log_LDFLAGS) $(replay_log_OBJECTS) $(replay_log_LDADD) $(LIBS)
+-
+-truncate_log$(EXEEXT): $(truncate_log_OBJECTS) $(truncate_log_DEPENDENCIES)
++truncate_log$(EXEEXT): $(truncate_log_OBJECTS) $(truncate_log_DEPENDENCIES) 
+ 	@rm -f truncate_log$(EXEEXT)
+ 	$(LINK) $(truncate_log_LDFLAGS) $(truncate_log_OBJECTS) $(truncate_log_LDADD) $(LIBS)
++
++mostlyclean-compile:
++	-rm -f *.$(OBJEXT) core *.core
++
++distclean-compile:
++	-rm -f *.tab.c
++
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
+-.c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
+ 
++.c.lo:
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
++uninstall-info-am:
+ install-kadm5includeHEADERS: $(kadm5include_HEADERS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(kadm5includedir)
+ 	@list='$(kadm5include_HEADERS)'; for p in $$list; do \
+-	  if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
++	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(kadm5includedir)/$$f"; \
+-	  $(INSTALL_DATA) $$d$$p $(DESTDIR)$(kadm5includedir)/$$f; \
++	  echo " $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(kadm5includedir)/$$f"; \
++	  $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(kadm5includedir)/$$f; \
+ 	done
+ 
+ uninstall-kadm5includeHEADERS:
+@@ -578,22 +552,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -603,101 +578,100 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-install-exec-am: install-libLTLIBRARIES install-libexecPROGRAMS \
+-		install-sbinPROGRAMS
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(HEADERS) all-local
+ 
+-install-data-am: install-kadm5includeHEADERS install-data-local
+-install-data: install-data-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(libexecdir) $(DESTDIR)$(sbindir) $(DESTDIR)$(kadm5includedir)
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am: uninstall-libLTLIBRARIES uninstall-libexecPROGRAMS \
+-		uninstall-sbinPROGRAMS uninstall-kadm5includeHEADERS
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(HEADERS) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(libdir) $(DESTDIR)$(libexecdir) \
+-		$(DESTDIR)$(sbindir) $(DESTDIR)$(kadm5includedir)
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-libLTLIBRARIES mostlyclean-compile \
+-		mostlyclean-libtool mostlyclean-libexecPROGRAMS \
+-		mostlyclean-sbinPROGRAMS mostlyclean-tags \
+-		mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-generic clean-libLTLIBRARIES clean-libexecPROGRAMS \
++	clean-libtool clean-sbinPROGRAMS mostlyclean-am
+ 
+-clean-am:  clean-libLTLIBRARIES clean-compile clean-libtool \
+-		clean-libexecPROGRAMS clean-sbinPROGRAMS clean-tags \
+-		clean-generic mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-libLTLIBRARIES distclean-compile \
+-		distclean-libtool distclean-libexecPROGRAMS \
+-		distclean-sbinPROGRAMS distclean-tags distclean-generic \
+-		clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-libLTLIBRARIES \
+-		maintainer-clean-compile maintainer-clean-libtool \
+-		maintainer-clean-libexecPROGRAMS \
+-		maintainer-clean-sbinPROGRAMS 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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local install-kadm5includeHEADERS
++
++install-exec-am: install-libLTLIBRARIES install-libexecPROGRAMS \
++	install-sbinPROGRAMS
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man:
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-am
+ 
+-.PHONY: mostlyclean-libLTLIBRARIES distclean-libLTLIBRARIES \
+-clean-libLTLIBRARIES maintainer-clean-libLTLIBRARIES \
+-uninstall-libLTLIBRARIES install-libLTLIBRARIES mostlyclean-compile \
+-distclean-compile clean-compile maintainer-clean-compile \
+-mostlyclean-libtool distclean-libtool clean-libtool \
+-maintainer-clean-libtool mostlyclean-libexecPROGRAMS \
+-distclean-libexecPROGRAMS clean-libexecPROGRAMS \
+-maintainer-clean-libexecPROGRAMS uninstall-libexecPROGRAMS \
+-install-libexecPROGRAMS mostlyclean-sbinPROGRAMS distclean-sbinPROGRAMS \
+-clean-sbinPROGRAMS maintainer-clean-sbinPROGRAMS uninstall-sbinPROGRAMS \
+-install-sbinPROGRAMS uninstall-kadm5includeHEADERS \
+-install-kadm5includeHEADERS tags mostlyclean-tags distclean-tags \
+-clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi \
+-check-local check check-am installcheck-am installcheck install-exec-am \
+-install-exec install-data-local install-data-am install-data install-am \
+-install uninstall-am uninstall all-local all-redirect all-am all \
+-install-strip installdirs mostlyclean-generic distclean-generic \
+-clean-generic maintainer-clean-generic clean mostlyclean distclean \
+-maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-info-am uninstall-kadm5includeHEADERS \
++	uninstall-libLTLIBRARIES uninstall-libexecPROGRAMS \
++	uninstall-sbinPROGRAMS
++
++.PHONY: GTAGS all all-am all-local check check-am check-local clean \
++	clean-generic clean-libLTLIBRARIES clean-libexecPROGRAMS \
++	clean-libtool clean-sbinPROGRAMS distclean distclean-compile \
++	distclean-generic distclean-libtool distclean-tags distdir dvi \
++	dvi-am info info-am install install-am install-data \
++	install-data-am install-data-local install-exec install-exec-am \
++	install-info install-info-am install-kadm5includeHEADERS \
++	install-libLTLIBRARIES install-libexecPROGRAMS install-man \
++	install-sbinPROGRAMS install-strip installcheck installcheck-am \
++	installdirs maintainer-clean maintainer-clean-generic \
++	mostlyclean mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool tags uninstall uninstall-am \
++	uninstall-info-am uninstall-kadm5includeHEADERS \
++	uninstall-libLTLIBRARIES uninstall-libexecPROGRAMS \
++	uninstall-sbinPROGRAMS
+ 
+ 
+ install-suid-programs:
+@@ -848,7 +822,6 @@
+ # to help stupid solaris make
+ 
+ kadm5_err.h: kadm5_err.et
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/lib/kafs/Makefile.in heimdal-0.4e/lib/kafs/Makefile.in
+--- heimdal-0.4e-old/lib/kafs/Makefile.in	Thu Sep  6 22:23:20 2001
++++ heimdal-0.4e/lib/kafs/Makefile.in	Wed Nov 21 11:52:46 2001
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.31 2001/09/02 19:37:53 assar Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,9 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,6 +89,7 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+@@ -105,7 +109,6 @@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,20 +122,17 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+ 
+-# $Id: Makefile.am,v 1.31 2001/09/02 19:37:53 assar Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
+-
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+ SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+@@ -189,49 +189,51 @@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+-@KRB4_TRUE@AFSLIBS = @KRB4_TRUE@libkafs.la
++@KRB4_TRUE@AFSLIBS = libkafs.la
+ @KRB4_FALSE@AFSLIBS = 
+-@KRB4_TRUE@DEPLIB_krb4 = @KRB4_TRUE@$(LIB_krb4) $(LIB_des)
++@KRB4_TRUE@DEPLIB_krb4 = $(LIB_krb4) $(LIB_des)
+ @KRB4_FALSE@DEPLIB_krb4 = 
+ 
+-@KRB4_TRUE@@AIX_TRUE@AFSL_EXP = @KRB4_TRUE@@AIX_TRUE@$(srcdir)/afsl.exp
+-@KRB4_TRUE@@AIX_FALSE@AFSL_EXP = 
+-@KRB4_TRUE@@AIX_TRUE@@AIX4_TRUE@AFS_EXTRA_LD = @KRB4_TRUE@@AIX_TRUE@@AIX4_TRUE@-bnoentry
+-@KRB4_TRUE@@AIX_TRUE@@AIX4_FALSE@AFS_EXTRA_LD = @KRB4_TRUE@@AIX_TRUE@@AIX4_FALSE@-e _nostart
+-@KRB4_TRUE@@AIX_TRUE@@AIX_DYNAMIC_AFS_TRUE@@HAVE_DLOPEN_TRUE@AIX_SRC = 
+-@KRB4_TRUE@@AIX_TRUE@@AIX_DYNAMIC_AFS_TRUE@@HAVE_DLOPEN_FALSE@AIX_SRC = @KRB4_TRUE@@AIX_TRUE@@AIX_DYNAMIC_AFS_TRUE@@HAVE_DLOPEN_FALSE@dlfcn.c
+-@KRB4_TRUE@@AIX_TRUE@@AIX_DYNAMIC_AFS_FALSE@AIX_SRC = @KRB4_TRUE@@AIX_TRUE@@AIX_DYNAMIC_AFS_FALSE@afslib.c
+-@KRB4_TRUE@@AIX_FALSE@AIX_SRC = 
+-@KRB4_TRUE@@AIX_TRUE@@AIX_DYNAMIC_AFS_TRUE@AFS_EXTRA_LIBS = @KRB4_TRUE@@AIX_TRUE@@AIX_DYNAMIC_AFS_TRUE@afslib.so
+-@KRB4_TRUE@@AIX_TRUE@@AIX_DYNAMIC_AFS_FALSE@AFS_EXTRA_LIBS = 
+-@KRB4_TRUE@@AIX_TRUE@@AIX_DYNAMIC_AFS_TRUE@AFS_EXTRA_DEFS = 
+-@KRB4_TRUE@@AIX_TRUE@@AIX_DYNAMIC_AFS_FALSE@AFS_EXTRA_DEFS = @KRB4_TRUE@@AIX_TRUE@@AIX_DYNAMIC_AFS_FALSE@-DSTATIC_AFS
+-@KRB5_TRUE@libkafs_la_LIBADD = @KRB5_TRUE@../krb5/libkrb5.la ../roken/libroken.la $(DEPLIB_krb4)
+-@KRB5_FALSE@libkafs_la_LIBADD = @KRB5_FALSE@../roken/libroken.la $(DEPLIB_krb4)
++@AIX_FALSE@@KRB4_TRUE@AFSL_EXP = 
++@AIX_TRUE@@KRB4_TRUE@AFSL_EXP = $(srcdir)/afsl.exp
++
++@AIX4_FALSE@@AIX_TRUE@@KRB4_TRUE@AFS_EXTRA_LD = -e _nostart
++@AIX4_TRUE@@AIX_TRUE@@KRB4_TRUE@AFS_EXTRA_LD = -bnoentry
++
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@KRB4_TRUE@AIX_SRC = afslib.c
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@AIX_SRC = dlfcn.c
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@AIX_SRC = 
++@AIX_FALSE@@KRB4_TRUE@AIX_SRC = 
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@KRB4_TRUE@AFS_EXTRA_LIBS = 
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@KRB4_TRUE@AFS_EXTRA_LIBS = afslib.so
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@KRB4_TRUE@AFS_EXTRA_DEFS = -DSTATIC_AFS
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@KRB4_TRUE@AFS_EXTRA_DEFS = 
++
++@KRB5_TRUE@libkafs_la_LIBADD = ../krb5/libkrb5.la ../roken/libroken.la $(DEPLIB_krb4)
++@KRB5_FALSE@libkafs_la_LIBADD = ../roken/libroken.la $(DEPLIB_krb4)
+ 
+ lib_LTLIBRARIES = $(AFSLIBS)
+ libkafs_la_LDFLAGS = -version-info 3:1:3
+ foodir = $(libdir)
+ foo_DATA = $(AFS_EXTRA_LIBS)
+-# EXTRA_DATA = afslib.so
+ 
++# EXTRA_DATA = afslib.so
+ CLEANFILES = $(AFS_EXTRA_LIBS) $(ROKEN_SRCS)
+ 
+ include_HEADERS = kafs.h
+ 
+-@KRB5_TRUE@afskrb5_c = @KRB5_TRUE@afskrb5.c
++@KRB5_TRUE@afskrb5_c = afskrb5.c
+ 
+-@do_roken_rename_TRUE@ROKEN_SRCS = @do_roken_rename_TRUE@resolve.c
++@do_roken_rename_TRUE@ROKEN_SRCS = resolve.c
+ 
+ libkafs_la_SOURCES = \
+ 	afssys.c				\
+@@ -244,8 +246,8 @@
+ 	$(ROKEN_SRCS)
+ 
+ 
+-#afslib_so_SOURCES = afslib.c
+ 
++#afslib_so_SOURCES = afslib.c
+ EXTRA_libkafs_la_SOURCES = afskrb5.c dlfcn.c afslib.c dlfcn.h
+ 
+ EXTRA_DIST = README.dlfcn afsl.exp afslib.exp
+@@ -253,447 +255,439 @@
+ man_MANS = kafs.3
+ subdir = lib/kafs
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../include/config.h
+-CONFIG_CLEAN_FILES = 
+-LTLIBRARIES =  $(lib_LTLIBRARIES)
+-
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++LTLIBRARIES = $(lib_LTLIBRARIES)
++
++@KRB4_FALSE@@KRB5_TRUE@libkafs_la_DEPENDENCIES = ../krb5/libkrb5.la \
++@KRB4_FALSE@@KRB5_TRUE@	../roken/libroken.la
++@KRB4_FALSE@@KRB5_FALSE@libkafs_la_DEPENDENCIES = ../roken/libroken.la
++@KRB4_TRUE@@KRB5_TRUE@libkafs_la_DEPENDENCIES = ../krb5/libkrb5.la \
++@KRB4_TRUE@@KRB5_TRUE@	../roken/libroken.la
++@KRB4_TRUE@@KRB5_FALSE@libkafs_la_DEPENDENCIES = ../roken/libroken.la
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@	afssys.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@	common.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@	resolve.lo
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@	afssys.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@	common.lo
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	afssys.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	afskrb5.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	common.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	resolve.lo
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@	afssys.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@	afskrb5.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@	common.lo
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@	afssys.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@	common.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@	resolve.lo
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@	afssys.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@	common.lo
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	afssys.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	afskrb5.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	common.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	resolve.lo
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@	afssys.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@	afskrb5.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@	common.lo
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@	afssys.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@	common.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@	resolve.lo
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@	afssys.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@	common.lo
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	afssys.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	afskrb5.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	common.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	resolve.lo
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@	afssys.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@	afskrb5.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@	common.lo
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@	afssys.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@	common.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@	resolve.lo
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@	afssys.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@	common.lo
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	afssys.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	afskrb5.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	common.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	resolve.lo
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@	afssys.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@	afskrb5.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@	common.lo
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@	afssys.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@	common.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@	resolve.lo
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@	afssys.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@	common.lo
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	afssys.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	afskrb5.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	common.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	resolve.lo
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@	afssys.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@	afskrb5.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@	common.lo
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@	afssys.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@	common.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@	afslib.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@	resolve.lo
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@	afssys.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@	common.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@	afslib.lo
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	afssys.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	afskrb5.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	common.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	afslib.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	resolve.lo
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@	afssys.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@	afskrb5.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@	common.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@	afslib.lo
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@	afssys.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@	common.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@	resolve.lo
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@	afssys.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@	common.lo
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	afssys.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	afskrb5.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	common.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	resolve.lo
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@	afssys.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@	afskrb5.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@	common.lo
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@	afssys.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@	common.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@	afslib.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@	resolve.lo
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@	afssys.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@	common.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@	afslib.lo
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	afssys.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	afskrb5.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	common.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	afslib.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	resolve.lo
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@	afssys.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@	afskrb5.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@	common.lo \
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@	afslib.lo
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@	afssys.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@	common.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@	resolve.lo
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@	afssys.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@	common.lo
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	afssys.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	afskrb5.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	common.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	resolve.lo
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@	afssys.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@	afskrb5.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@	common.lo
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@	afssys.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@	common.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@	resolve.lo
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@	afssys.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@	common.lo
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	afssys.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	afskrb5.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	common.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	resolve.lo
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@	afssys.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@	afskrb5.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@	common.lo
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@	afssys.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@	common.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@	resolve.lo
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@	afssys.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@	common.lo
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	afssys.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	afskrb5.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	common.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	resolve.lo
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@	afssys.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@	afskrb5.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@	common.lo
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@	afssys.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@	common.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@	resolve.lo
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@	afssys.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@	common.lo
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	afssys.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	afskrb5.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	common.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	resolve.lo
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@	afssys.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@	afskrb5.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@	common.lo
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@	afssys.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@	common.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@	resolve.lo
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@	afssys.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@	common.lo
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	afssys.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	afskrb5.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	common.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	resolve.lo
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@	afssys.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@	afskrb5.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@	common.lo
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@	afssys.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@	common.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@	dlfcn.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@	resolve.lo
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@	afssys.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@	common.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@	dlfcn.lo
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	afssys.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	afskrb5.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	common.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	dlfcn.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	resolve.lo
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@	afssys.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@	afskrb5.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@	common.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@	dlfcn.lo
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@	afssys.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@	common.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@	resolve.lo
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@	afssys.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@	common.lo
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	afssys.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	afskrb5.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	common.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@	resolve.lo
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@	afssys.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@	afskrb5.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@	common.lo
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@	afssys.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@	common.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@	resolve.lo
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@	afssys.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@	common.lo
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	afssys.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	afskrb5.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	common.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@	resolve.lo
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS = \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@	afssys.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@	afskrb.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@	afskrb5.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@	common.lo
++libkafs_la_OBJECTS = $(am_libkafs_la_OBJECTS)
+ 
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../../include
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+-@KRB5_FALSE@libkafs_la_DEPENDENCIES =  ../roken/libroken.la
+-@KRB5_TRUE@libkafs_la_DEPENDENCIES =  ../krb5/libkrb5.la \
+-@KRB5_TRUE@../roken/libroken.la
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@afssys.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@common.lo
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@afssys.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@common.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@resolve.lo
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@afssys.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@afskrb5.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@common.lo
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@afssys.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@afskrb5.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@common.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@resolve.lo
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@afssys.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@common.lo
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@afssys.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@common.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@resolve.lo
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@afssys.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@afskrb5.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@common.lo
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@afssys.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@afskrb5.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@common.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@resolve.lo
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@afssys.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@common.lo
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@afssys.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@common.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@resolve.lo
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@afssys.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@afskrb5.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@common.lo
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@afssys.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@afskrb5.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@common.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@resolve.lo
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@afssys.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@common.lo
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@afssys.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@common.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@resolve.lo
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@afssys.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@afskrb5.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@common.lo
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@afssys.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@afskrb5.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@common.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@resolve.lo
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@afssys.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@common.lo
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@afssys.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@common.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@resolve.lo
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@afssys.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@afskrb5.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@common.lo
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@afssys.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@afskrb5.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@common.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@resolve.lo
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@afssys.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@common.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@afslib.lo
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@afssys.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@common.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@afslib.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@resolve.lo
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@afssys.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@afskrb5.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@common.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@afslib.lo
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@afssys.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@afskrb5.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@common.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@afslib.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@resolve.lo
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@afssys.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@common.lo
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@afssys.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@common.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@resolve.lo
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@afssys.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@afskrb5.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@common.lo
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@afssys.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@afskrb5.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@common.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@resolve.lo
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@afssys.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@common.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@afslib.lo
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@afssys.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@common.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@afslib.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@resolve.lo
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@afssys.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@afskrb5.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@common.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@afslib.lo
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@afssys.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@afskrb5.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@common.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@afslib.lo \
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@resolve.lo
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@afssys.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@common.lo
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@afssys.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@common.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@resolve.lo
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@afssys.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@afskrb5.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@common.lo
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@afssys.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@afskrb5.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@common.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@resolve.lo
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@afssys.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@common.lo
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@afssys.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@common.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@resolve.lo
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@afssys.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@afskrb5.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@common.lo
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@afssys.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@afskrb5.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@common.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@resolve.lo
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@afssys.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@common.lo
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@afssys.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@common.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@resolve.lo
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@afssys.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@afskrb5.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@common.lo
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@afssys.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@afskrb5.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@common.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@resolve.lo
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@afssys.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@common.lo
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@afssys.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@common.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@resolve.lo
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@afssys.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@afskrb5.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@common.lo
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@afssys.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@afskrb5.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@common.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_FALSE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@resolve.lo
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@afssys.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@common.lo
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@afssys.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@common.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@resolve.lo
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@afssys.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@afskrb5.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@common.lo
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@afssys.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@afskrb5.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@common.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@resolve.lo
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@afssys.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@common.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@dlfcn.lo
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@afssys.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@common.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@dlfcn.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@resolve.lo
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@afssys.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@afskrb5.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@common.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@dlfcn.lo
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@afssys.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@afskrb5.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@common.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@dlfcn.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@resolve.lo
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@afssys.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_FALSE@common.lo
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@afssys.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@common.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_FALSE@@do_roken_rename_TRUE@resolve.lo
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@afssys.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@afskrb5.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_FALSE@common.lo
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@afssys.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@afskrb5.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@common.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_FALSE@@KRB5_TRUE@@do_roken_rename_TRUE@resolve.lo
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@afssys.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_FALSE@common.lo
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@afssys.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@common.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_FALSE@@do_roken_rename_TRUE@resolve.lo
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@afssys.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@afskrb5.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_FALSE@common.lo
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@am_libkafs_la_OBJECTS =  \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@afssys.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@afskrb.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@afskrb5.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@common.lo \
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@@KRB5_TRUE@@do_roken_rename_TRUE@resolve.lo
+-libkafs_la_OBJECTS =  $(am_libkafs_la_OBJECTS)
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  $(libkafs_la_SOURCES) $(EXTRA_libkafs_la_SOURCES)
+-man3dir = $(mandir)/man3
+-MANS = $(man_MANS)
+-DATA =  $(foo_DATA)
+-
+-HEADERS =  $(include_HEADERS)
+-
+-depcomp = 
+-DIST_COMMON =  $(include_HEADERS) ChangeLog Makefile.am Makefile.in
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++DIST_SOURCES = $(libkafs_la_SOURCES) $(EXTRA_libkafs_la_SOURCES)
+ 
++NROFF = nroff
++MANS = $(man_MANS)
++DATA = $(foo_DATA)
+ 
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++HEADERS = $(include_HEADERS)
+ 
+-GZIP_ENV = --best
++DIST_COMMON = $(include_HEADERS) ChangeLog Makefile.am Makefile.in
+ SOURCES = $(libkafs_la_SOURCES) $(EXTRA_libkafs_la_SOURCES)
+-OBJECTS = $(am_libkafs_la_OBJECTS)
+ 
+-all: all-redirect
++all: all-am
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/kafs/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+-
+-
+-mostlyclean-libLTLIBRARIES:
+-
+-clean-libLTLIBRARIES:
+-	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
+ 
+-distclean-libLTLIBRARIES:
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-maintainer-clean-libLTLIBRARIES:
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  lib/kafs/Makefile
++Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ install-libLTLIBRARIES: $(lib_LTLIBRARIES)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(libdir)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+ 	  if test -f $$p; then \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p; \
++	    echo " $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p"; \
++	    $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-libLTLIBRARIES:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+-	  echo " $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
+-	  $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
++	  echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
++	  $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
+ 	done
+ 
+-mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
++clean-libLTLIBRARIES:
++	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
++libkafs.la: $(libkafs_la_OBJECTS) $(libkafs_la_DEPENDENCIES) 
++	$(LINK) -rpath $(libdir) $(libkafs_la_LDFLAGS) $(libkafs_la_OBJECTS) $(libkafs_la_LIBADD) $(LIBS)
+ 
+-clean-compile:
++mostlyclean-compile:
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+-maintainer-clean-compile:
+-
+-mostlyclean-libtool:
+-	-rm -f *.lo
+-
+-clean-libtool:
+-	-rm -rf .libs _libs
+-
+-distclean-libtool:
+-
+-maintainer-clean-libtool:
+-
+-libkafs.la: $(libkafs_la_OBJECTS) $(libkafs_la_DEPENDENCIES)
+-	$(LINK) -rpath $(libdir) $(libkafs_la_LDFLAGS) $(libkafs_la_OBJECTS) $(libkafs_la_LIBADD) $(LIBS)
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
++
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
++uninstall-info-am:
+ 
+-install-man3:
++man3dir = $(mandir)/man3
++install-man3: $(man3_MANS) $(man_MANS)
++	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(man3dir)
+-	@list='$(man3_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@list='$(man3_MANS) $(dist_man3_MANS) $(nodist_man3_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.3*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -708,10 +702,11 @@
+ 	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man3dir)/$$inst"; \
+ 	  $(INSTALL_DATA) $$file $(DESTDIR)$(man3dir)/$$inst; \
+ 	done
+-
+ uninstall-man3:
+-	@list='$(man3_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@$(NORMAL_UNINSTALL)
++	@list='$(man3_MANS) $(dist_man3_MANS) $(nodist_man3_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.3*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -724,18 +719,11 @@
+ 	  echo " rm -f $(DESTDIR)$(man3dir)/$$inst"; \
+ 	  rm -f $(DESTDIR)$(man3dir)/$$inst; \
+ 	done
+-install-man: $(MANS)
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-man3
+-uninstall-man:
+-	@$(NORMAL_UNINSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) uninstall-man3
+-
+ install-fooDATA: $(foo_DATA)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(foodir)
+ 	@list='$(foo_DATA)'; for p in $$list; do \
+-	  if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
++	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+ 	  echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(foodir)/$$f"; \
+ 	  $(INSTALL_DATA) $$d$$p $(DESTDIR)$(foodir)/$$f; \
+@@ -748,15 +736,14 @@
+ 	  echo " rm -f $(DESTDIR)$(foodir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(foodir)/$$f; \
+ 	done
+-
+ install-includeHEADERS: $(include_HEADERS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(includedir)
+ 	@list='$(include_HEADERS)'; for p in $$list; do \
+-	  if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
++	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
+-	  $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f; \
++	  echo " $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
++	  $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(includedir)/$$f; \
+ 	done
+ 
+ uninstall-includeHEADERS:
+@@ -794,22 +781,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -819,93 +807,100 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-install-exec-am: install-libLTLIBRARIES
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++all-am: Makefile $(LTLIBRARIES) $(MANS) $(DATA) $(HEADERS) all-local
+ 
+-install-data-am: install-man install-fooDATA install-includeHEADERS \
+-		install-data-local
+-install-data: install-data-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(man3dir) $(DESTDIR)$(foodir) $(DESTDIR)$(includedir)
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am: uninstall-libLTLIBRARIES uninstall-man uninstall-fooDATA \
+-		uninstall-includeHEADERS
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(LTLIBRARIES) $(MANS) $(DATA) $(HEADERS) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(libdir) $(DESTDIR)$(mandir)/man3 \
+-		$(DESTDIR)$(foodir) $(DESTDIR)$(includedir)
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-libLTLIBRARIES mostlyclean-compile \
+-		mostlyclean-libtool mostlyclean-tags \
+-		mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \
++	mostlyclean-am
+ 
+-clean-am:  clean-libLTLIBRARIES clean-compile clean-libtool clean-tags \
+-		clean-generic mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-libLTLIBRARIES distclean-compile \
+-		distclean-libtool distclean-tags distclean-generic \
+-		clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-libLTLIBRARIES \
+-		maintainer-clean-compile maintainer-clean-libtool \
+-		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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local install-fooDATA \
++	install-includeHEADERS install-man
++
++install-exec-am: install-libLTLIBRARIES
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man: install-man3
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-am
+ 
+-.PHONY: mostlyclean-libLTLIBRARIES distclean-libLTLIBRARIES \
+-clean-libLTLIBRARIES maintainer-clean-libLTLIBRARIES \
+-uninstall-libLTLIBRARIES install-libLTLIBRARIES mostlyclean-compile \
+-distclean-compile clean-compile maintainer-clean-compile \
+-mostlyclean-libtool distclean-libtool clean-libtool \
+-maintainer-clean-libtool install-man3 uninstall-man3 install-man \
+-uninstall-man uninstall-fooDATA install-fooDATA \
+-uninstall-includeHEADERS install-includeHEADERS tags mostlyclean-tags \
+-distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
+-dvi-am dvi check-local check check-am installcheck-am installcheck \
+-install-exec-am install-exec install-data-local install-data-am \
+-install-data install-am install uninstall-am uninstall all-local \
+-all-redirect all-am all install-strip installdirs mostlyclean-generic \
+-distclean-generic clean-generic maintainer-clean-generic clean \
+-mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-fooDATA uninstall-includeHEADERS \
++	uninstall-info-am uninstall-libLTLIBRARIES uninstall-man
++
++uninstall-man: uninstall-man3
++
++.PHONY: GTAGS all all-am all-local check check-am check-local clean \
++	clean-generic clean-libLTLIBRARIES clean-libtool distclean \
++	distclean-compile distclean-generic distclean-libtool \
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-data install-data-am install-data-local \
++	install-exec install-exec-am install-fooDATA \
++	install-includeHEADERS install-info install-info-am \
++	install-libLTLIBRARIES install-man install-man3 install-strip \
++	installcheck installcheck-am installdirs maintainer-clean \
++	maintainer-clean-generic mostlyclean mostlyclean-compile \
++	mostlyclean-generic mostlyclean-libtool tags uninstall \
++	uninstall-am uninstall-fooDATA uninstall-includeHEADERS \
++	uninstall-info-am uninstall-libLTLIBRARIES uninstall-man \
++	uninstall-man3
+ 
+ 
+ install-suid-programs:
+@@ -1045,7 +1040,6 @@
+ 
+ resolve.c:
+ 	$(LN_S) $(srcdir)/../roken/resolve.c .
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/lib/kdfs/Makefile.in heimdal-0.4e/lib/kdfs/Makefile.in
+--- heimdal-0.4e-old/lib/kdfs/Makefile.in	Thu Sep  6 22:23:23 2001
++++ heimdal-0.4e/lib/kdfs/Makefile.in	Wed Nov 21 11:52:46 2001
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.2 2000/12/11 00:46:47 assar Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,9 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,6 +89,7 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+@@ -105,7 +109,6 @@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,20 +122,17 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+ 
+-# $Id: Makefile.am,v 1.2 2000/12/11 00:46:47 assar Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
+-
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+ SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+@@ -189,13 +189,12 @@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+@@ -208,103 +207,88 @@
+ libkdfs_la_LDFLAGS = -version-info 0:1:0
+ subdir = lib/kdfs
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../include/config.h
+-CONFIG_CLEAN_FILES = 
+-LTLIBRARIES =  $(lib_LTLIBRARIES)
+-
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++LTLIBRARIES = $(lib_LTLIBRARIES)
++
++libkdfs_la_LIBADD =
++am_libkdfs_la_OBJECTS = k5dfspag.lo
++libkdfs_la_OBJECTS = $(am_libkdfs_la_OBJECTS)
+ 
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../../include
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+-libkdfs_la_LIBADD = 
+-am_libkdfs_la_OBJECTS =  k5dfspag.lo
+-libkdfs_la_OBJECTS =  $(am_libkdfs_la_OBJECTS)
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  $(libkdfs_la_SOURCES)
+-depcomp = 
+-DIST_COMMON =  ChangeLog Makefile.am Makefile.in
+-
+-
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+-
+-GZIP_ENV = --best
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++DIST_SOURCES = $(libkdfs_la_SOURCES)
++DIST_COMMON = ChangeLog Makefile.am Makefile.in
+ SOURCES = $(libkdfs_la_SOURCES)
+-OBJECTS = $(am_libkdfs_la_OBJECTS)
+ 
+-all: all-redirect
++all: all-am
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/kdfs/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+ 
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-mostlyclean-libLTLIBRARIES:
+-
+-clean-libLTLIBRARIES:
+-	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
+-
+-distclean-libLTLIBRARIES:
+-
+-maintainer-clean-libLTLIBRARIES:
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  lib/kdfs/Makefile
++Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ install-libLTLIBRARIES: $(lib_LTLIBRARIES)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(libdir)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+ 	  if test -f $$p; then \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p; \
++	    echo " $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p"; \
++	    $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-libLTLIBRARIES:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+-	  echo " $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
+-	  $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
++	  echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
++	  $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
+ 	done
+ 
+-mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
++clean-libLTLIBRARIES:
++	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
++libkdfs.la: $(libkdfs_la_OBJECTS) $(libkdfs_la_DEPENDENCIES) 
++	$(LINK) -rpath $(libdir) $(libkdfs_la_LDFLAGS) $(libkdfs_la_OBJECTS) $(libkdfs_la_LIBADD) $(LIBS)
+ 
+-clean-compile:
++mostlyclean-compile:
++	-rm -f *.$(OBJEXT) core *.core
+ 
+ distclean-compile:
+ 	-rm -f *.tab.c
+ 
+-maintainer-clean-compile:
+-
+-mostlyclean-libtool:
+-	-rm -f *.lo
+-
+-clean-libtool:
+-	-rm -rf .libs _libs
+-
+-distclean-libtool:
+-
+-maintainer-clean-libtool:
+-
+-libkdfs.la: $(libkdfs_la_OBJECTS) $(libkdfs_la_DEPENDENCIES)
+-	$(LINK) -rpath $(libdir) $(libkdfs_la_LDFLAGS) $(libkdfs_la_OBJECTS) $(libkdfs_la_LIBADD) $(LIBS)
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
++
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
++uninstall-info-am:
+ 
+ tags: TAGS
+ 
+@@ -333,22 +317,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -358,87 +343,92 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-install-exec-am: install-libLTLIBRARIES
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++all-am: Makefile $(LTLIBRARIES) all-local
+ 
+-install-data-am: install-data-local
+-install-data: install-data-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(libdir)
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am: uninstall-libLTLIBRARIES
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(LTLIBRARIES) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(libdir)
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-libLTLIBRARIES mostlyclean-compile \
+-		mostlyclean-libtool mostlyclean-tags \
+-		mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \
++	mostlyclean-am
+ 
+-clean-am:  clean-libLTLIBRARIES clean-compile clean-libtool clean-tags \
+-		clean-generic mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-libLTLIBRARIES distclean-compile \
+-		distclean-libtool distclean-tags distclean-generic \
+-		clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-libLTLIBRARIES \
+-		maintainer-clean-compile maintainer-clean-libtool \
+-		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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local
++
++install-exec-am: install-libLTLIBRARIES
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man:
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-am
+ 
+-.PHONY: mostlyclean-libLTLIBRARIES distclean-libLTLIBRARIES \
+-clean-libLTLIBRARIES maintainer-clean-libLTLIBRARIES \
+-uninstall-libLTLIBRARIES install-libLTLIBRARIES mostlyclean-compile \
+-distclean-compile clean-compile maintainer-clean-compile \
+-mostlyclean-libtool distclean-libtool clean-libtool \
+-maintainer-clean-libtool tags mostlyclean-tags distclean-tags \
+-clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi \
+-check-local check check-am installcheck-am installcheck install-exec-am \
+-install-exec install-data-local install-data-am install-data install-am \
+-install uninstall-am uninstall all-local all-redirect all-am all \
+-install-strip installdirs mostlyclean-generic distclean-generic \
+-clean-generic maintainer-clean-generic clean mostlyclean distclean \
+-maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-info-am uninstall-libLTLIBRARIES
++
++.PHONY: GTAGS all all-am all-local check check-am check-local clean \
++	clean-generic clean-libLTLIBRARIES clean-libtool distclean \
++	distclean-compile distclean-generic distclean-libtool \
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-data install-data-am install-data-local \
++	install-exec install-exec-am install-info install-info-am \
++	install-libLTLIBRARIES install-man install-strip installcheck \
++	installcheck-am installdirs maintainer-clean \
++	maintainer-clean-generic mostlyclean mostlyclean-compile \
++	mostlyclean-generic mostlyclean-libtool tags uninstall \
++	uninstall-am uninstall-info-am uninstall-libLTLIBRARIES
+ 
+ 
+ install-suid-programs:
+@@ -568,7 +558,6 @@
+ 	  echo "$$dashes"; \
+ 	  test "$$failed" -eq 0; \
+ 	fi
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/lib/krb5/Makefile.in heimdal-0.4e/lib/krb5/Makefile.in
+--- heimdal-0.4e-old/lib/krb5/Makefile.in	Thu Sep  6 22:23:29 2001
++++ heimdal-0.4e/lib/krb5/Makefile.in	Wed Nov 21 11:52:46 2001
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.138 2001/09/06 12:19:16 assar Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,9 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,6 +89,7 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+@@ -105,7 +109,6 @@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,20 +122,17 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+ 
+-# $Id: Makefile.am,v 1.138 2001/09/06 12:19:16 assar Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
+-
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+ SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+@@ -189,13 +189,12 @@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+@@ -206,17 +205,15 @@
+ check_PROGRAMS = n-fold-test string-to-key-test derived-key-test store-test
+ TESTS = n-fold-test string-to-key-test derived-key-test store-test 
+ 
+-LDADD = libkrb5.la \
+-	$(LIB_des) \
+-	$(top_builddir)/lib/asn1/libasn1.la \
+-	$(LIB_roken)
+-
++LDADD = libkrb5.la
+ 
+ libkrb5_la_LIBADD = \
+-	../com_err/error.lo ../com_err/com_err.lo \
++	$(LIB_res_search) \
++	$(top_builddir)/lib/com_err/libcom_err.la \
+ 	$(LIB_des) \
+ 	$(top_builddir)/lib/asn1/libasn1.la \
+-	$(LIB_roken)
++	$(LIB_roken) \
++	$(LIB_dbopen)
+ 
+ 
+ lib_LTLIBRARIES = libkrb5.la
+@@ -322,8 +319,8 @@
+ 
+ libkrb5_la_LDFLAGS = -version-info 18:2:1
+ 
+-#libkrb5_la_LIBADD = ../com_err/error.lo ../com_err/com_err.lo
+ 
++#libkrb5_la_LIBADD = ../com_err/error.lo ../com_err/com_err.lo
+ man_MANS = \
+ 	kerberos.8				\
+ 	krb5.conf.5				\
+@@ -358,270 +355,228 @@
+ CLEANFILES = krb5_err.c krb5_err.h heim_err.c heim_err.h k524_err.c k524_err.h
+ subdir = lib/krb5
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../include/config.h
+-CONFIG_CLEAN_FILES = 
+-LTLIBRARIES =  $(lib_LTLIBRARIES)
+-
+-
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../../include
+-CPPFLAGS = @CPPFLAGS@
+-LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+-libkrb5_la_DEPENDENCIES =  ../com_err/error.lo ../com_err/com_err.lo \
+-$(top_builddir)/lib/asn1/libasn1.la
+-am_libkrb5_la_OBJECTS =  acl.lo add_et_list.lo addr_families.lo \
+-aname_to_localname.lo appdefault.lo asn1_glue.lo auth_context.lo \
+-build_ap_req.lo build_auth.lo cache.lo changepw.lo codec.lo \
+-config_file.lo config_file_netinfo.lo convert_creds.lo constants.lo \
+-context.lo copy_host_realm.lo crc.lo creds.lo crypto.lo data.lo \
+-eai_to_heim_errno.lo error_string.lo expand_hostname.lo fcache.lo \
+-free.lo free_host_realm.lo generate_seq_number.lo generate_subkey.lo \
+-get_addrs.lo get_cred.lo get_default_principal.lo get_default_realm.lo \
+-get_for_creds.lo get_host_realm.lo get_in_tkt.lo get_in_tkt_pw.lo \
+-get_in_tkt_with_keytab.lo get_in_tkt_with_skey.lo get_port.lo \
+-init_creds.lo init_creds_pw.lo keyblock.lo keytab.lo keytab_any.lo \
+-keytab_file.lo keytab_memory.lo keytab_keyfile.lo keytab_krb4.lo \
+-krbhst.lo kuserok.lo log.lo mcache.lo misc.lo mk_error.lo mk_priv.lo \
+-mk_rep.lo mk_req.lo mk_req_ext.lo mk_safe.lo net_read.lo net_write.lo \
+-n-fold.lo padata.lo principal.lo prog_setup.lo prompter_posix.lo \
+-rd_cred.lo rd_error.lo rd_priv.lo rd_rep.lo rd_req.lo rd_safe.lo \
+-read_message.lo recvauth.lo replay.lo send_to_kdc.lo sendauth.lo \
+-set_default_realm.lo sock_principal.lo store.lo store_emem.lo \
+-store_fd.lo store_mem.lo ticket.lo time.lo transited.lo verify_init.lo \
+-verify_user.lo version.lo warn.lo write_message.lo krb5_err.lo \
+-heim_err.lo k524_err.lo
+-libkrb5_la_OBJECTS =  $(am_libkrb5_la_OBJECTS)
+-bin_PROGRAMS =  verify_krb5_conf$(EXEEXT)
+-check_PROGRAMS =  n-fold-test$(EXEEXT) string-to-key-test$(EXEEXT) \
+-derived-key-test$(EXEEXT) store-test$(EXEEXT)
+-noinst_PROGRAMS =  dump_config$(EXEEXT) test_get_addrs$(EXEEXT) \
+-krbhst-test$(EXEEXT)
+-PROGRAMS =  $(bin_PROGRAMS) $(noinst_PROGRAMS)
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++LTLIBRARIES = $(lib_LTLIBRARIES)
++
++libkrb5_la_DEPENDENCIES = $(top_builddir)/lib/com_err/libcom_err.la \
++	$(top_builddir)/lib/asn1/libasn1.la
++am_libkrb5_la_OBJECTS = acl.lo add_et_list.lo addr_families.lo \
++	aname_to_localname.lo appdefault.lo asn1_glue.lo \
++	auth_context.lo build_ap_req.lo build_auth.lo cache.lo \
++	changepw.lo codec.lo config_file.lo config_file_netinfo.lo \
++	convert_creds.lo constants.lo context.lo copy_host_realm.lo \
++	crc.lo creds.lo crypto.lo data.lo eai_to_heim_errno.lo \
++	error_string.lo expand_hostname.lo fcache.lo free.lo \
++	free_host_realm.lo generate_seq_number.lo generate_subkey.lo \
++	get_addrs.lo get_cred.lo get_default_principal.lo \
++	get_default_realm.lo get_for_creds.lo get_host_realm.lo \
++	get_in_tkt.lo get_in_tkt_pw.lo get_in_tkt_with_keytab.lo \
++	get_in_tkt_with_skey.lo get_port.lo init_creds.lo \
++	init_creds_pw.lo keyblock.lo keytab.lo keytab_any.lo \
++	keytab_file.lo keytab_memory.lo keytab_keyfile.lo \
++	keytab_krb4.lo krbhst.lo kuserok.lo log.lo mcache.lo misc.lo \
++	mk_error.lo mk_priv.lo mk_rep.lo mk_req.lo mk_req_ext.lo \
++	mk_safe.lo net_read.lo net_write.lo n-fold.lo padata.lo \
++	principal.lo prog_setup.lo prompter_posix.lo rd_cred.lo \
++	rd_error.lo rd_priv.lo rd_rep.lo rd_req.lo rd_safe.lo \
++	read_message.lo recvauth.lo replay.lo send_to_kdc.lo \
++	sendauth.lo set_default_realm.lo sock_principal.lo store.lo \
++	store_emem.lo store_fd.lo store_mem.lo ticket.lo time.lo \
++	transited.lo verify_init.lo verify_user.lo version.lo warn.lo \
++	write_message.lo krb5_err.lo heim_err.lo k524_err.lo
++libkrb5_la_OBJECTS = $(am_libkrb5_la_OBJECTS)
++bin_PROGRAMS = verify_krb5_conf$(EXEEXT)
++check_PROGRAMS = n-fold-test$(EXEEXT) string-to-key-test$(EXEEXT) \
++	derived-key-test$(EXEEXT) store-test$(EXEEXT)
++noinst_PROGRAMS = dump_config$(EXEEXT) test_get_addrs$(EXEEXT) \
++	krbhst-test$(EXEEXT)
++PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS)
+ 
+ derived_key_test_SOURCES = derived-key-test.c
+-derived_key_test_OBJECTS =  derived-key-test.$(OBJEXT)
++derived_key_test_OBJECTS = derived-key-test.$(OBJEXT)
+ derived_key_test_LDADD = $(LDADD)
+-derived_key_test_DEPENDENCIES =  libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
+-derived_key_test_LDFLAGS = 
++derived_key_test_DEPENDENCIES = libkrb5.la
++derived_key_test_LDFLAGS =
+ dump_config_SOURCES = dump_config.c
+-dump_config_OBJECTS =  dump_config.$(OBJEXT)
++dump_config_OBJECTS = dump_config.$(OBJEXT)
+ dump_config_LDADD = $(LDADD)
+-dump_config_DEPENDENCIES =  libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
+-dump_config_LDFLAGS = 
++dump_config_DEPENDENCIES = libkrb5.la
++dump_config_LDFLAGS =
+ krbhst_test_SOURCES = krbhst-test.c
+-krbhst_test_OBJECTS =  krbhst-test.$(OBJEXT)
++krbhst_test_OBJECTS = krbhst-test.$(OBJEXT)
+ krbhst_test_LDADD = $(LDADD)
+-krbhst_test_DEPENDENCIES =  libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
+-krbhst_test_LDFLAGS = 
++krbhst_test_DEPENDENCIES = libkrb5.la
++krbhst_test_LDFLAGS =
+ n_fold_test_SOURCES = n-fold-test.c
+-n_fold_test_OBJECTS =  n-fold-test.$(OBJEXT)
++n_fold_test_OBJECTS = n-fold-test.$(OBJEXT)
+ n_fold_test_LDADD = $(LDADD)
+-n_fold_test_DEPENDENCIES =  libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
+-n_fold_test_LDFLAGS = 
++n_fold_test_DEPENDENCIES = libkrb5.la
++n_fold_test_LDFLAGS =
+ store_test_SOURCES = store-test.c
+-store_test_OBJECTS =  store-test.$(OBJEXT)
++store_test_OBJECTS = store-test.$(OBJEXT)
+ store_test_LDADD = $(LDADD)
+-store_test_DEPENDENCIES =  libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
+-store_test_LDFLAGS = 
++store_test_DEPENDENCIES = libkrb5.la
++store_test_LDFLAGS =
+ string_to_key_test_SOURCES = string-to-key-test.c
+-string_to_key_test_OBJECTS =  string-to-key-test.$(OBJEXT)
++string_to_key_test_OBJECTS = string-to-key-test.$(OBJEXT)
+ string_to_key_test_LDADD = $(LDADD)
+-string_to_key_test_DEPENDENCIES =  libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
+-string_to_key_test_LDFLAGS = 
++string_to_key_test_DEPENDENCIES = libkrb5.la
++string_to_key_test_LDFLAGS =
+ test_get_addrs_SOURCES = test_get_addrs.c
+-test_get_addrs_OBJECTS =  test_get_addrs.$(OBJEXT)
++test_get_addrs_OBJECTS = test_get_addrs.$(OBJEXT)
+ test_get_addrs_LDADD = $(LDADD)
+-test_get_addrs_DEPENDENCIES =  libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
+-test_get_addrs_LDFLAGS = 
++test_get_addrs_DEPENDENCIES = libkrb5.la
++test_get_addrs_LDFLAGS =
+ verify_krb5_conf_SOURCES = verify_krb5_conf.c
+-verify_krb5_conf_OBJECTS =  verify_krb5_conf.$(OBJEXT)
++verify_krb5_conf_OBJECTS = verify_krb5_conf.$(OBJEXT)
+ verify_krb5_conf_LDADD = $(LDADD)
+-verify_krb5_conf_DEPENDENCIES =  libkrb5.la \
+-$(top_builddir)/lib/asn1/libasn1.la
+-verify_krb5_conf_LDFLAGS = 
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
+-CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  $(libkrb5_la_SOURCES) derived-key-test.c dump_config.c \
+-krbhst-test.c n-fold-test.c store-test.c string-to-key-test.c \
+-test_get_addrs.c verify_krb5_conf.c
+-man3dir = $(mandir)/man3
+-man5dir = $(mandir)/man5
+-man8dir = $(mandir)/man8
+-MANS = $(man_MANS)
+-HEADERS =  $(include_HEADERS)
+-
+-depcomp = 
+-DIST_COMMON =  $(include_HEADERS) Makefile.am Makefile.in
++verify_krb5_conf_DEPENDENCIES = libkrb5.la
++verify_krb5_conf_LDFLAGS =
+ 
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
++CPPFLAGS = @CPPFLAGS@
++LDFLAGS = @LDFLAGS@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++CCLD = $(CC)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++DIST_SOURCES = $(libkrb5_la_SOURCES) derived-key-test.c dump_config.c \
++	krbhst-test.c n-fold-test.c store-test.c string-to-key-test.c \
++	test_get_addrs.c verify_krb5_conf.c
+ 
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++NROFF = nroff
++MANS = $(man_MANS)
++HEADERS = $(include_HEADERS)
+ 
+-GZIP_ENV = --best
++DIST_COMMON = $(include_HEADERS) Makefile.am Makefile.in
+ SOURCES = $(libkrb5_la_SOURCES) derived-key-test.c dump_config.c krbhst-test.c n-fold-test.c store-test.c string-to-key-test.c test_get_addrs.c verify_krb5_conf.c
+-OBJECTS = $(am_libkrb5_la_OBJECTS) derived-key-test.$(OBJEXT) dump_config.$(OBJEXT) krbhst-test.$(OBJEXT) n-fold-test.$(OBJEXT) store-test.$(OBJEXT) string-to-key-test.$(OBJEXT) test_get_addrs.$(OBJEXT) verify_krb5_conf.$(OBJEXT)
+ 
+-all: all-redirect
++all: all-am
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/krb5/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+-
+-
+-mostlyclean-libLTLIBRARIES:
+-
+-clean-libLTLIBRARIES:
+-	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
+ 
+-distclean-libLTLIBRARIES:
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-maintainer-clean-libLTLIBRARIES:
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  lib/krb5/Makefile
++Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ install-libLTLIBRARIES: $(lib_LTLIBRARIES)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(libdir)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+ 	  if test -f $$p; then \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p; \
++	    echo " $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p"; \
++	    $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-libLTLIBRARIES:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+-	  echo " $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
+-	  $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
++	  echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
++	  $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
+ 	done
+ 
+-mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
+-
+-clean-compile:
+-
+-distclean-compile:
+-	-rm -f *.tab.c
+-
+-maintainer-clean-compile:
+-
+-mostlyclean-libtool:
+-	-rm -f *.lo
+-
+-clean-libtool:
+-	-rm -rf .libs _libs
+-
+-distclean-libtool:
+-
+-maintainer-clean-libtool:
+-
+-libkrb5.la: $(libkrb5_la_OBJECTS) $(libkrb5_la_DEPENDENCIES)
++clean-libLTLIBRARIES:
++	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
++libkrb5.la: $(libkrb5_la_OBJECTS) $(libkrb5_la_DEPENDENCIES) 
+ 	$(LINK) -rpath $(libdir) $(libkrb5_la_LDFLAGS) $(libkrb5_la_OBJECTS) $(libkrb5_la_LIBADD) $(LIBS)
+-
+-mostlyclean-binPROGRAMS:
+-
+-clean-binPROGRAMS:
+-	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
+-
+-distclean-binPROGRAMS:
+-
+-maintainer-clean-binPROGRAMS:
+-
+ install-binPROGRAMS: $(bin_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(bindir)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  if test -f $$p; then \
+-	    f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f; \
++	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  if test -f $$p \
++	     || test -f $$p1 \
++	  ; then \
++	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-binPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+-mostlyclean-checkPROGRAMS:
++clean-binPROGRAMS:
++	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
+ 
+ clean-checkPROGRAMS:
+ 	-test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
+ 
+-distclean-checkPROGRAMS:
+-
+-maintainer-clean-checkPROGRAMS:
+-
+-mostlyclean-noinstPROGRAMS:
+-
+ clean-noinstPROGRAMS:
+ 	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
+-
+-distclean-noinstPROGRAMS:
+-
+-maintainer-clean-noinstPROGRAMS:
+-
+-derived-key-test$(EXEEXT): $(derived_key_test_OBJECTS) $(derived_key_test_DEPENDENCIES)
++derived-key-test$(EXEEXT): $(derived_key_test_OBJECTS) $(derived_key_test_DEPENDENCIES) 
+ 	@rm -f derived-key-test$(EXEEXT)
+ 	$(LINK) $(derived_key_test_LDFLAGS) $(derived_key_test_OBJECTS) $(derived_key_test_LDADD) $(LIBS)
+-
+-dump_config$(EXEEXT): $(dump_config_OBJECTS) $(dump_config_DEPENDENCIES)
++dump_config$(EXEEXT): $(dump_config_OBJECTS) $(dump_config_DEPENDENCIES) 
+ 	@rm -f dump_config$(EXEEXT)
+ 	$(LINK) $(dump_config_LDFLAGS) $(dump_config_OBJECTS) $(dump_config_LDADD) $(LIBS)
+-
+-krbhst-test$(EXEEXT): $(krbhst_test_OBJECTS) $(krbhst_test_DEPENDENCIES)
++krbhst-test$(EXEEXT): $(krbhst_test_OBJECTS) $(krbhst_test_DEPENDENCIES) 
+ 	@rm -f krbhst-test$(EXEEXT)
+ 	$(LINK) $(krbhst_test_LDFLAGS) $(krbhst_test_OBJECTS) $(krbhst_test_LDADD) $(LIBS)
+-
+-n-fold-test$(EXEEXT): $(n_fold_test_OBJECTS) $(n_fold_test_DEPENDENCIES)
++n-fold-test$(EXEEXT): $(n_fold_test_OBJECTS) $(n_fold_test_DEPENDENCIES) 
+ 	@rm -f n-fold-test$(EXEEXT)
+ 	$(LINK) $(n_fold_test_LDFLAGS) $(n_fold_test_OBJECTS) $(n_fold_test_LDADD) $(LIBS)
+-
+-store-test$(EXEEXT): $(store_test_OBJECTS) $(store_test_DEPENDENCIES)
++store-test$(EXEEXT): $(store_test_OBJECTS) $(store_test_DEPENDENCIES) 
+ 	@rm -f store-test$(EXEEXT)
+ 	$(LINK) $(store_test_LDFLAGS) $(store_test_OBJECTS) $(store_test_LDADD) $(LIBS)
+-
+-string-to-key-test$(EXEEXT): $(string_to_key_test_OBJECTS) $(string_to_key_test_DEPENDENCIES)
++string-to-key-test$(EXEEXT): $(string_to_key_test_OBJECTS) $(string_to_key_test_DEPENDENCIES) 
+ 	@rm -f string-to-key-test$(EXEEXT)
+ 	$(LINK) $(string_to_key_test_LDFLAGS) $(string_to_key_test_OBJECTS) $(string_to_key_test_LDADD) $(LIBS)
+-
+-test_get_addrs$(EXEEXT): $(test_get_addrs_OBJECTS) $(test_get_addrs_DEPENDENCIES)
++test_get_addrs$(EXEEXT): $(test_get_addrs_OBJECTS) $(test_get_addrs_DEPENDENCIES) 
+ 	@rm -f test_get_addrs$(EXEEXT)
+ 	$(LINK) $(test_get_addrs_LDFLAGS) $(test_get_addrs_OBJECTS) $(test_get_addrs_LDADD) $(LIBS)
+-
+-verify_krb5_conf$(EXEEXT): $(verify_krb5_conf_OBJECTS) $(verify_krb5_conf_DEPENDENCIES)
++verify_krb5_conf$(EXEEXT): $(verify_krb5_conf_OBJECTS) $(verify_krb5_conf_DEPENDENCIES) 
+ 	@rm -f verify_krb5_conf$(EXEEXT)
+ 	$(LINK) $(verify_krb5_conf_LDFLAGS) $(verify_krb5_conf_OBJECTS) $(verify_krb5_conf_LDADD) $(LIBS)
++
++mostlyclean-compile:
++	-rm -f *.$(OBJEXT) core *.core
++
++distclean-compile:
++	-rm -f *.tab.c
++
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
++
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
++uninstall-info-am:
+ 
+-install-man3:
++man3dir = $(mandir)/man3
++install-man3: $(man3_MANS) $(man_MANS)
++	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(man3dir)
+-	@list='$(man3_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@list='$(man3_MANS) $(dist_man3_MANS) $(nodist_man3_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.3*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -636,10 +591,11 @@
+ 	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man3dir)/$$inst"; \
+ 	  $(INSTALL_DATA) $$file $(DESTDIR)$(man3dir)/$$inst; \
+ 	done
+-
+ uninstall-man3:
+-	@list='$(man3_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@$(NORMAL_UNINSTALL)
++	@list='$(man3_MANS) $(dist_man3_MANS) $(nodist_man3_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.3*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -653,10 +609,13 @@
+ 	  rm -f $(DESTDIR)$(man3dir)/$$inst; \
+ 	done
+ 
+-install-man5:
++man5dir = $(mandir)/man5
++install-man5: $(man5_MANS) $(man_MANS)
++	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(man5dir)
+-	@list='$(man5_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@list='$(man5_MANS) $(dist_man5_MANS) $(nodist_man5_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.5*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -671,10 +630,11 @@
+ 	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man5dir)/$$inst"; \
+ 	  $(INSTALL_DATA) $$file $(DESTDIR)$(man5dir)/$$inst; \
+ 	done
+-
+ uninstall-man5:
+-	@list='$(man5_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@$(NORMAL_UNINSTALL)
++	@list='$(man5_MANS) $(dist_man5_MANS) $(nodist_man5_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.5*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -688,10 +648,13 @@
+ 	  rm -f $(DESTDIR)$(man5dir)/$$inst; \
+ 	done
+ 
+-install-man8:
++man8dir = $(mandir)/man8
++install-man8: $(man8_MANS) $(man_MANS)
++	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(man8dir)
+-	@list='$(man8_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.8*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -706,10 +669,11 @@
+ 	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst"; \
+ 	  $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst; \
+ 	done
+-
+ uninstall-man8:
+-	@list='$(man8_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@$(NORMAL_UNINSTALL)
++	@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.8*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -722,21 +686,14 @@
+ 	  echo " rm -f $(DESTDIR)$(man8dir)/$$inst"; \
+ 	  rm -f $(DESTDIR)$(man8dir)/$$inst; \
+ 	done
+-install-man: $(MANS)
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-man3 install-man5 install-man8
+-uninstall-man:
+-	@$(NORMAL_UNINSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) uninstall-man3 uninstall-man5 uninstall-man8
+-
+ install-includeHEADERS: $(include_HEADERS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(includedir)
+ 	@list='$(include_HEADERS)'; for p in $$list; do \
+-	  if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
++	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
+-	  $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f; \
++	  echo " $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
++	  $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(includedir)/$$f; \
+ 	done
+ 
+ uninstall-includeHEADERS:
+@@ -774,16 +731,11 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
+ check-TESTS: $(TESTS)
+ 	@failed=0; all=0; xfail=0; xpass=0; \
+ 	srcdir=$(srcdir); export srcdir; \
+@@ -839,11 +791,18 @@
+ 	  test "$$failed" -eq 0; \
+ 	fi
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -853,108 +812,105 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
+ 	$(MAKE) $(AM_MAKEFLAGS) check-TESTS check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
++all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(MANS) $(HEADERS) all-local
+ install-binPROGRAMS: install-libLTLIBRARIES
+ 
+-install-exec-am: install-libLTLIBRARIES install-binPROGRAMS
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
+ 
+-install-data-am: install-man install-includeHEADERS install-data-local
+-install-data: install-data-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(bindir) $(DESTDIR)$(man3dir) $(DESTDIR)$(man5dir) $(DESTDIR)$(man8dir) $(DESTDIR)$(includedir)
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am: uninstall-libLTLIBRARIES uninstall-binPROGRAMS \
+-		uninstall-man uninstall-includeHEADERS
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(MANS) $(HEADERS) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(libdir) $(DESTDIR)$(bindir) \
+-		$(DESTDIR)$(mandir)/man3 $(DESTDIR)$(mandir)/man5 \
+-		$(DESTDIR)$(mandir)/man8 $(DESTDIR)$(includedir)
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-libLTLIBRARIES mostlyclean-compile \
+-		mostlyclean-libtool mostlyclean-binPROGRAMS \
+-		mostlyclean-checkPROGRAMS mostlyclean-noinstPROGRAMS \
+-		mostlyclean-tags mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-binPROGRAMS clean-checkPROGRAMS clean-generic \
++	clean-libLTLIBRARIES clean-libtool clean-noinstPROGRAMS \
++	mostlyclean-am
+ 
+-clean-am:  clean-libLTLIBRARIES clean-compile clean-libtool \
+-		clean-binPROGRAMS clean-checkPROGRAMS \
+-		clean-noinstPROGRAMS clean-tags clean-generic \
+-		mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-libLTLIBRARIES distclean-compile \
+-		distclean-libtool distclean-binPROGRAMS \
+-		distclean-checkPROGRAMS distclean-noinstPROGRAMS \
+-		distclean-tags distclean-generic clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-libLTLIBRARIES \
+-		maintainer-clean-compile maintainer-clean-libtool \
+-		maintainer-clean-binPROGRAMS \
+-		maintainer-clean-checkPROGRAMS \
+-		maintainer-clean-noinstPROGRAMS 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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local install-includeHEADERS install-man
++
++install-exec-am: install-binPROGRAMS install-libLTLIBRARIES
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man: install-man3 install-man5 install-man8
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-am
+ 
+-.PHONY: mostlyclean-libLTLIBRARIES distclean-libLTLIBRARIES \
+-clean-libLTLIBRARIES maintainer-clean-libLTLIBRARIES \
+-uninstall-libLTLIBRARIES install-libLTLIBRARIES mostlyclean-compile \
+-distclean-compile clean-compile maintainer-clean-compile \
+-mostlyclean-libtool distclean-libtool clean-libtool \
+-maintainer-clean-libtool mostlyclean-binPROGRAMS distclean-binPROGRAMS \
+-clean-binPROGRAMS maintainer-clean-binPROGRAMS uninstall-binPROGRAMS \
+-install-binPROGRAMS mostlyclean-checkPROGRAMS distclean-checkPROGRAMS \
+-clean-checkPROGRAMS maintainer-clean-checkPROGRAMS \
+-mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \
+-clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS install-man3 \
+-uninstall-man3 install-man5 uninstall-man5 install-man8 uninstall-man8 \
+-install-man uninstall-man uninstall-includeHEADERS \
+-install-includeHEADERS tags mostlyclean-tags distclean-tags clean-tags \
+-maintainer-clean-tags check-TESTS distdir info-am info dvi-am dvi \
+-check-local check check-am installcheck-am installcheck install-exec-am \
+-install-exec install-data-local install-data-am install-data install-am \
+-install uninstall-am uninstall all-local all-redirect all-am all \
+-install-strip installdirs mostlyclean-generic distclean-generic \
+-clean-generic maintainer-clean-generic clean mostlyclean distclean \
+-maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-binPROGRAMS uninstall-includeHEADERS \
++	uninstall-info-am uninstall-libLTLIBRARIES uninstall-man
++
++uninstall-man: uninstall-man3 uninstall-man5 uninstall-man8
++
++.PHONY: GTAGS all all-am all-local check check-TESTS check-am \
++	check-local clean clean-binPROGRAMS clean-checkPROGRAMS \
++	clean-generic clean-libLTLIBRARIES clean-libtool \
++	clean-noinstPROGRAMS distclean distclean-compile \
++	distclean-generic distclean-libtool distclean-tags distdir dvi \
++	dvi-am info info-am install install-am install-binPROGRAMS \
++	install-data install-data-am install-data-local install-exec \
++	install-exec-am install-includeHEADERS install-info \
++	install-info-am install-libLTLIBRARIES install-man install-man3 \
++	install-man5 install-man8 install-strip installcheck \
++	installcheck-am installdirs maintainer-clean \
++	maintainer-clean-generic mostlyclean mostlyclean-compile \
++	mostlyclean-generic mostlyclean-libtool tags uninstall \
++	uninstall-am uninstall-binPROGRAMS uninstall-includeHEADERS \
++	uninstall-info-am uninstall-libLTLIBRARIES uninstall-man \
++	uninstall-man3 uninstall-man5 uninstall-man8
+ 
+ 
+ install-suid-programs:
+@@ -1102,7 +1058,6 @@
+ heim_err.h: heim_err.et
+ 
+ k524_err.h: k524_err.et
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/lib/otp/Makefile.in heimdal-0.4e/lib/otp/Makefile.in
+--- heimdal-0.4e-old/lib/otp/Makefile.in	Thu Sep  6 22:23:32 2001
++++ heimdal-0.4e/lib/otp/Makefile.in	Wed Nov 21 11:52:47 2001
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.20 2001/09/02 19:37:12 assar Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,9 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,6 +89,7 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+@@ -105,7 +109,6 @@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,20 +122,17 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+ 
+-# $Id: Makefile.am,v 1.20 2001/09/02 19:37:12 assar Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
+-
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+ SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+@@ -189,13 +189,12 @@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+@@ -225,145 +224,116 @@
+ 
+ subdir = lib/otp
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../include/config.h
+-CONFIG_CLEAN_FILES = 
+-LTLIBRARIES =  $(lib_LTLIBRARIES)
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++LTLIBRARIES = $(lib_LTLIBRARIES)
++
++libotp_la_DEPENDENCIES =
++am_libotp_la_OBJECTS = otp.lo otp_challenge.lo otp_db.lo otp_md.lo \
++	otp_parse.lo otp_print.lo otp_verify.lo
++libotp_la_OBJECTS = $(am_libotp_la_OBJECTS)
++check_PROGRAMS = otptest$(EXEEXT)
++noinst_PROGRAMS = otptest$(EXEEXT)
++PROGRAMS = $(noinst_PROGRAMS)
+ 
++otptest_SOURCES = otptest.c
++otptest_OBJECTS = otptest.$(OBJEXT)
++otptest_DEPENDENCIES = libotp.la
++otptest_LDFLAGS =
+ 
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../../include
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+-libotp_la_DEPENDENCIES = 
+-am_libotp_la_OBJECTS =  otp.lo otp_challenge.lo otp_db.lo otp_md.lo \
+-otp_parse.lo otp_print.lo otp_verify.lo
+-libotp_la_OBJECTS =  $(am_libotp_la_OBJECTS)
+-check_PROGRAMS =  otptest$(EXEEXT)
+-noinst_PROGRAMS =  otptest$(EXEEXT)
+-PROGRAMS =  $(noinst_PROGRAMS)
+-
+-otptest_SOURCES = otptest.c
+-otptest_OBJECTS =  otptest.$(OBJEXT)
+-otptest_DEPENDENCIES =  libotp.la
+-otptest_LDFLAGS = 
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  $(libotp_la_SOURCES) otptest.c
+-HEADERS =  $(include_HEADERS)
+-
+-depcomp = 
+-DIST_COMMON =  $(include_HEADERS) ChangeLog Makefile.am Makefile.in
+-
+-
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++DIST_SOURCES = $(libotp_la_SOURCES) otptest.c
++HEADERS = $(include_HEADERS)
+ 
+-GZIP_ENV = --best
++DIST_COMMON = $(include_HEADERS) ChangeLog Makefile.am Makefile.in
+ SOURCES = $(libotp_la_SOURCES) otptest.c
+-OBJECTS = $(am_libotp_la_OBJECTS) otptest.$(OBJEXT)
+ 
+-all: all-redirect
++all: all-am
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/otp/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+-
+-
+-mostlyclean-libLTLIBRARIES:
+ 
+-clean-libLTLIBRARIES:
+-	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
+-
+-distclean-libLTLIBRARIES:
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-maintainer-clean-libLTLIBRARIES:
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  lib/otp/Makefile
++Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ install-libLTLIBRARIES: $(lib_LTLIBRARIES)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(libdir)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+ 	  if test -f $$p; then \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p; \
++	    echo " $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p"; \
++	    $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-libLTLIBRARIES:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+-	  echo " $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
+-	  $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
++	  echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
++	  $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
+ 	done
+ 
+-mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
+-
+-clean-compile:
+-
+-distclean-compile:
+-	-rm -f *.tab.c
+-
+-maintainer-clean-compile:
+-
+-mostlyclean-libtool:
+-	-rm -f *.lo
+-
+-clean-libtool:
+-	-rm -rf .libs _libs
+-
+-distclean-libtool:
+-
+-maintainer-clean-libtool:
+-
+-libotp.la: $(libotp_la_OBJECTS) $(libotp_la_DEPENDENCIES)
++clean-libLTLIBRARIES:
++	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
++libotp.la: $(libotp_la_OBJECTS) $(libotp_la_DEPENDENCIES) 
+ 	$(LINK) -rpath $(libdir) $(libotp_la_LDFLAGS) $(libotp_la_OBJECTS) $(libotp_la_LIBADD) $(LIBS)
+ 
+-mostlyclean-checkPROGRAMS:
+-
+ clean-checkPROGRAMS:
+ 	-test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
+ 
+-distclean-checkPROGRAMS:
+-
+-maintainer-clean-checkPROGRAMS:
+-
+-mostlyclean-noinstPROGRAMS:
+-
+ clean-noinstPROGRAMS:
+ 	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
++otptest$(EXEEXT): $(otptest_OBJECTS) $(otptest_DEPENDENCIES) 
++	@rm -f otptest$(EXEEXT)
++	$(LINK) $(otptest_LDFLAGS) $(otptest_OBJECTS) $(otptest_LDADD) $(LIBS)
+ 
+-distclean-noinstPROGRAMS:
++mostlyclean-compile:
++	-rm -f *.$(OBJEXT) core *.core
+ 
+-maintainer-clean-noinstPROGRAMS:
++distclean-compile:
++	-rm -f *.tab.c
+ 
+-otptest$(EXEEXT): $(otptest_OBJECTS) $(otptest_DEPENDENCIES)
+-	@rm -f otptest$(EXEEXT)
+-	$(LINK) $(otptest_LDFLAGS) $(otptest_OBJECTS) $(otptest_LDADD) $(LIBS)
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
+-.c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
+ 
++.c.lo:
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
++uninstall-info-am:
+ install-includeHEADERS: $(include_HEADERS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(includedir)
+ 	@list='$(include_HEADERS)'; for p in $$list; do \
+-	  if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
++	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
+-	  $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f; \
++	  echo " $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
++	  $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(includedir)/$$f; \
+ 	done
+ 
+ uninstall-includeHEADERS:
+@@ -401,22 +371,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -426,96 +397,96 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-install-exec-am: install-libLTLIBRARIES
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(HEADERS) all-local
+ 
+-install-data-am: install-includeHEADERS install-data-local
+-install-data: install-data-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(includedir)
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am: uninstall-libLTLIBRARIES uninstall-includeHEADERS
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(HEADERS) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(libdir) $(DESTDIR)$(includedir)
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-libLTLIBRARIES mostlyclean-compile \
+-		mostlyclean-libtool mostlyclean-checkPROGRAMS \
+-		mostlyclean-noinstPROGRAMS mostlyclean-tags \
+-		mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-checkPROGRAMS clean-generic clean-libLTLIBRARIES \
++	clean-libtool clean-noinstPROGRAMS mostlyclean-am
+ 
+-clean-am:  clean-libLTLIBRARIES clean-compile clean-libtool \
+-		clean-checkPROGRAMS clean-noinstPROGRAMS clean-tags \
+-		clean-generic mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-libLTLIBRARIES distclean-compile \
+-		distclean-libtool distclean-checkPROGRAMS \
+-		distclean-noinstPROGRAMS distclean-tags \
+-		distclean-generic clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-libLTLIBRARIES \
+-		maintainer-clean-compile maintainer-clean-libtool \
+-		maintainer-clean-checkPROGRAMS \
+-		maintainer-clean-noinstPROGRAMS 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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local install-includeHEADERS
++
++install-exec-am: install-libLTLIBRARIES
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man:
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-am
+ 
+-.PHONY: mostlyclean-libLTLIBRARIES distclean-libLTLIBRARIES \
+-clean-libLTLIBRARIES maintainer-clean-libLTLIBRARIES \
+-uninstall-libLTLIBRARIES install-libLTLIBRARIES mostlyclean-compile \
+-distclean-compile clean-compile maintainer-clean-compile \
+-mostlyclean-libtool distclean-libtool clean-libtool \
+-maintainer-clean-libtool mostlyclean-checkPROGRAMS \
+-distclean-checkPROGRAMS clean-checkPROGRAMS \
+-maintainer-clean-checkPROGRAMS mostlyclean-noinstPROGRAMS \
+-distclean-noinstPROGRAMS clean-noinstPROGRAMS \
+-maintainer-clean-noinstPROGRAMS uninstall-includeHEADERS \
+-install-includeHEADERS tags mostlyclean-tags distclean-tags clean-tags \
+-maintainer-clean-tags distdir info-am info dvi-am dvi check-local check \
+-check-am installcheck-am installcheck install-exec-am install-exec \
+-install-data-local install-data-am install-data install-am install \
+-uninstall-am uninstall all-local all-redirect all-am all install-strip \
+-installdirs mostlyclean-generic distclean-generic clean-generic \
+-maintainer-clean-generic clean mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-includeHEADERS uninstall-info-am \
++	uninstall-libLTLIBRARIES
++
++.PHONY: GTAGS all all-am all-local check check-am check-local clean \
++	clean-checkPROGRAMS clean-generic clean-libLTLIBRARIES \
++	clean-libtool clean-noinstPROGRAMS distclean distclean-compile \
++	distclean-generic distclean-libtool distclean-tags distdir dvi \
++	dvi-am info info-am install install-am install-data \
++	install-data-am install-data-local install-exec install-exec-am \
++	install-includeHEADERS install-info install-info-am \
++	install-libLTLIBRARIES install-man install-strip installcheck \
++	installcheck-am installdirs maintainer-clean \
++	maintainer-clean-generic mostlyclean mostlyclean-compile \
++	mostlyclean-generic mostlyclean-libtool tags uninstall \
++	uninstall-am uninstall-includeHEADERS uninstall-info-am \
++	uninstall-libLTLIBRARIES
+ 
+ 
+ install-suid-programs:
+@@ -645,7 +616,6 @@
+ 	  echo "$$dashes"; \
+ 	  test "$$failed" -eq 0; \
+ 	fi
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/lib/roken/Makefile.in heimdal-0.4e/lib/roken/Makefile.in
+--- heimdal-0.4e-old/lib/roken/Makefile.in	Thu Sep  6 22:40:17 2001
++++ heimdal-0.4e/lib/roken/Makefile.in	Wed Nov 21 11:52:47 2001
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.115 2001/09/03 05:05:14 assar Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,9 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,6 +89,7 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+@@ -105,7 +109,6 @@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,20 +122,17 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+ 
+-# $Id: Makefile.am,v 1.115 2001/09/03 05:05:14 assar Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
+-
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+ SUFFIXES = .hin
+@@ -190,13 +190,12 @@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+@@ -357,16 +356,21 @@
+ libroken_la_LIBADD = @LTLIBOBJS@ $(DBLIB)
+ 
+ BUILT_SOURCES = make-roken.c roken.h
++
+ @have_err_h_TRUE@err_h = 
+-@have_err_h_FALSE@err_h = @have_err_h_FALSE@err.h
++@have_err_h_FALSE@err_h = err.h
++
+ @have_fnmatch_h_TRUE@fnmatch_h = 
+-@have_fnmatch_h_FALSE@fnmatch_h = @have_fnmatch_h_FALSE@fnmatch.h
++@have_fnmatch_h_FALSE@fnmatch_h = fnmatch.h
++
+ @have_glob_h_TRUE@glob_h = 
+-@have_glob_h_FALSE@glob_h = @have_glob_h_FALSE@glob.h
++@have_glob_h_FALSE@glob_h = glob.h
++
+ @have_ifaddrs_h_TRUE@ifaddrs_h = 
+-@have_ifaddrs_h_FALSE@ifaddrs_h = @have_ifaddrs_h_FALSE@ifaddrs.h
++@have_ifaddrs_h_FALSE@ifaddrs_h = ifaddrs.h
++
+ @have_vis_h_TRUE@vis_h = 
+-@have_vis_h_FALSE@vis_h = @have_vis_h_FALSE@vis.h
++@have_vis_h_FALSE@vis_h = vis.h
+ 
+ XHEADERS = $(err_h) $(fnmatch_h) $(glob_h) $(ifaddrs_h) $(vis_h)
+ 
+@@ -388,207 +392,196 @@
+ man_MANS = getarg.3
+ subdir = lib/roken
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../include/config.h
+-CONFIG_CLEAN_FILES = 
+-LTLIBRARIES =  $(lib_LTLIBRARIES)
+-
+-
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../../include
+-CPPFLAGS = @CPPFLAGS@
+-LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+-libroken_la_DEPENDENCIES =  @LTLIBOBJS@
+-am_libroken_la_OBJECTS =  base64.lo bswap.lo concat.lo environment.lo \
+-eread.lo esetenv.lo ewrite.lo getaddrinfo_hostspec.lo \
+-get_default_username.lo get_window_size.lo getarg.lo \
+-getnameinfo_verified.lo getprogname.lo h_errno.lo hostent_find_fqdn.lo \
+-issuid.lo k_getpwnam.lo k_getpwuid.lo mini_inetd.lo net_read.lo \
+-net_write.lo parse_bytes.lo parse_time.lo parse_units.lo resolve.lo \
+-roken_gethostby.lo rtbl.lo setprogname.lo signal.lo simple_exec.lo \
+-snprintf.lo socket.lo strcollect.lo timeval.lo tm2time.lo unvis.lo \
+-verify.lo vis.lo warnerr.lo write_pid.lo
+-libroken_la_OBJECTS =  $(am_libroken_la_OBJECTS)
+-check_PROGRAMS =  base64-test$(EXEEXT) getaddrinfo-test$(EXEEXT) \
+-parse_bytes-test$(EXEEXT) snprintf-test$(EXEEXT) \
+-strpftime-test$(EXEEXT)
+-noinst_PROGRAMS =  make-roken$(EXEEXT) snprintf-test$(EXEEXT)
+-PROGRAMS =  $(noinst_PROGRAMS)
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++LTLIBRARIES = $(lib_LTLIBRARIES)
++
++libroken_la_DEPENDENCIES = @LTLIBOBJS@
++am_libroken_la_OBJECTS = base64.lo bswap.lo concat.lo environment.lo \
++	eread.lo esetenv.lo ewrite.lo getaddrinfo_hostspec.lo \
++	get_default_username.lo get_window_size.lo getarg.lo \
++	getnameinfo_verified.lo getprogname.lo h_errno.lo \
++	hostent_find_fqdn.lo issuid.lo k_getpwnam.lo k_getpwuid.lo \
++	mini_inetd.lo net_read.lo net_write.lo parse_bytes.lo \
++	parse_time.lo parse_units.lo resolve.lo roken_gethostby.lo \
++	rtbl.lo setprogname.lo signal.lo simple_exec.lo snprintf.lo \
++	socket.lo strcollect.lo timeval.lo tm2time.lo unvis.lo \
++	verify.lo vis.lo warnerr.lo write_pid.lo
++libroken_la_OBJECTS = $(am_libroken_la_OBJECTS)
++check_PROGRAMS = base64-test$(EXEEXT) getaddrinfo-test$(EXEEXT) \
++	parse_bytes-test$(EXEEXT) snprintf-test$(EXEEXT) \
++	strpftime-test$(EXEEXT)
++noinst_PROGRAMS = make-roken$(EXEEXT) snprintf-test$(EXEEXT)
++PROGRAMS = $(noinst_PROGRAMS)
+ 
+ base64_test_SOURCES = base64-test.c
+-base64_test_OBJECTS =  base64-test.$(OBJEXT)
++base64_test_OBJECTS = base64-test.$(OBJEXT)
+ base64_test_LDADD = $(LDADD)
+-base64_test_DEPENDENCIES =  libroken.la
+-base64_test_LDFLAGS = 
++base64_test_DEPENDENCIES = libroken.la
++base64_test_LDFLAGS =
+ getaddrinfo_test_SOURCES = getaddrinfo-test.c
+-getaddrinfo_test_OBJECTS =  getaddrinfo-test.$(OBJEXT)
++getaddrinfo_test_OBJECTS = getaddrinfo-test.$(OBJEXT)
+ getaddrinfo_test_LDADD = $(LDADD)
+-getaddrinfo_test_DEPENDENCIES =  libroken.la
+-getaddrinfo_test_LDFLAGS = 
+-nodist_make_roken_OBJECTS =  make-roken.$(OBJEXT)
+-make_roken_OBJECTS =  $(nodist_make_roken_OBJECTS)
+-make_roken_DEPENDENCIES = 
+-make_roken_LDFLAGS = 
++getaddrinfo_test_DEPENDENCIES = libroken.la
++getaddrinfo_test_LDFLAGS =
++nodist_make_roken_OBJECTS = make-roken.$(OBJEXT)
++make_roken_OBJECTS = $(nodist_make_roken_OBJECTS)
++make_roken_DEPENDENCIES =
++make_roken_LDFLAGS =
+ parse_bytes_test_SOURCES = parse_bytes-test.c
+-parse_bytes_test_OBJECTS =  parse_bytes-test.$(OBJEXT)
++parse_bytes_test_OBJECTS = parse_bytes-test.$(OBJEXT)
+ parse_bytes_test_LDADD = $(LDADD)
+-parse_bytes_test_DEPENDENCIES =  libroken.la
+-parse_bytes_test_LDFLAGS = 
+-am_snprintf_test_OBJECTS =  snprintf_test-snprintf-test.$(OBJEXT) \
+-snprintf_test-snprintf.$(OBJEXT)
+-snprintf_test_OBJECTS =  $(am_snprintf_test_OBJECTS)
++parse_bytes_test_DEPENDENCIES = libroken.la
++parse_bytes_test_LDFLAGS =
++am_snprintf_test_OBJECTS = snprintf_test-snprintf-test.$(OBJEXT) \
++	snprintf_test-snprintf.$(OBJEXT)
++snprintf_test_OBJECTS = $(am_snprintf_test_OBJECTS)
+ snprintf_test_LDADD = $(LDADD)
+-snprintf_test_DEPENDENCIES =  libroken.la
+-snprintf_test_LDFLAGS = 
+-am_strpftime_test_OBJECTS =  strpftime-test.$(OBJEXT) strftime.$(OBJEXT) \
+-strptime.$(OBJEXT) snprintf.$(OBJEXT)
+-strpftime_test_OBJECTS =  $(am_strpftime_test_OBJECTS)
++snprintf_test_DEPENDENCIES = libroken.la
++snprintf_test_LDFLAGS =
++am_strpftime_test_OBJECTS = strpftime-test.$(OBJEXT) strftime.$(OBJEXT) \
++	strptime.$(OBJEXT) snprintf.$(OBJEXT)
++strpftime_test_OBJECTS = $(am_strpftime_test_OBJECTS)
+ strpftime_test_LDADD = $(LDADD)
+-strpftime_test_DEPENDENCIES =  libroken.la
+-strpftime_test_LDFLAGS = 
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
+-CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  $(libroken_la_SOURCES) $(EXTRA_libroken_la_SOURCES) \
+-base64-test.c getaddrinfo-test.c parse_bytes-test.c \
+-$(snprintf_test_SOURCES) $(strpftime_test_SOURCES)
+-man3dir = $(mandir)/man3
+-MANS = $(man_MANS)
+-HEADERS =  $(include_HEADERS) $(nodist_include_HEADERS)
+-
+-depcomp = 
+-DIST_COMMON =  $(include_HEADERS) ChangeLog Makefile.am Makefile.in \
+-acinclude.m4 compile getaddrinfo.c getcap.c getnameinfo.c glob.c \
+-install-sh missing mkinstalldirs
++strpftime_test_DEPENDENCIES = libroken.la
++strpftime_test_LDFLAGS =
+ 
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
++CPPFLAGS = @CPPFLAGS@
++LDFLAGS = @LDFLAGS@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++CCLD = $(CC)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++DIST_SOURCES = $(libroken_la_SOURCES) $(EXTRA_libroken_la_SOURCES) \
++	base64-test.c getaddrinfo-test.c parse_bytes-test.c \
++	$(snprintf_test_SOURCES) $(strpftime_test_SOURCES)
+ 
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++NROFF = nroff
++MANS = $(man_MANS)
++HEADERS = $(include_HEADERS) $(nodist_include_HEADERS)
+ 
+-GZIP_ENV = --best
++DIST_COMMON = $(include_HEADERS) ChangeLog Makefile.am Makefile.in \
++	acinclude.m4 compile getaddrinfo.c getcap.c getnameinfo.c \
++	glob.c install-sh missing mkinstalldirs
+ SOURCES = $(libroken_la_SOURCES) $(EXTRA_libroken_la_SOURCES) base64-test.c getaddrinfo-test.c $(nodist_make_roken_SOURCES) parse_bytes-test.c $(snprintf_test_SOURCES) $(strpftime_test_SOURCES)
+-OBJECTS = $(am_libroken_la_OBJECTS) base64-test.$(OBJEXT) getaddrinfo-test.$(OBJEXT) $(nodist_make_roken_OBJECTS) parse_bytes-test.$(OBJEXT) $(am_snprintf_test_OBJECTS) $(am_strpftime_test_OBJECTS)
+-
+-all: all-redirect
+-.SUFFIXES:
+-.SUFFIXES: .hin .c .h .lo .o .obj
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/roken/Makefile
+ 
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
++all: $(BUILT_SOURCES)
++	$(MAKE) $(AM_MAKEFLAGS) all-am
+ 
++.SUFFIXES:
++.SUFFIXES: .hin .1 .3 .5 .8 .c .cat1 .cat3 .cat5 .cat8 .et .h .lo .o .obj .x
+ 
+-mostlyclean-libLTLIBRARIES:
+-
+-clean-libLTLIBRARIES:
+-	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
+-
+-distclean-libLTLIBRARIES:
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-maintainer-clean-libLTLIBRARIES:
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  lib/roken/Makefile
++Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ install-libLTLIBRARIES: $(lib_LTLIBRARIES)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(libdir)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+ 	  if test -f $$p; then \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p; \
++	    echo " $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p"; \
++	    $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-libLTLIBRARIES:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+-	  echo " $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
+-	  $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
++	  echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
++	  $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
+ 	done
+ 
+-mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
+-
+-clean-compile:
+-
+-distclean-compile:
+-	-rm -f *.tab.c
+-
+-maintainer-clean-compile:
+-
+-mostlyclean-libtool:
+-	-rm -f *.lo
+-
+-clean-libtool:
+-	-rm -rf .libs _libs
+-
+-distclean-libtool:
+-
+-maintainer-clean-libtool:
+-
+-libroken.la: $(libroken_la_OBJECTS) $(libroken_la_DEPENDENCIES)
++clean-libLTLIBRARIES:
++	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
++libroken.la: $(libroken_la_OBJECTS) $(libroken_la_DEPENDENCIES) 
+ 	$(LINK) -rpath $(libdir) $(libroken_la_LDFLAGS) $(libroken_la_OBJECTS) $(libroken_la_LIBADD) $(LIBS)
+ 
+-mostlyclean-checkPROGRAMS:
+-
+ clean-checkPROGRAMS:
+ 	-test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
+ 
+-distclean-checkPROGRAMS:
+-
+-maintainer-clean-checkPROGRAMS:
+-
+-mostlyclean-noinstPROGRAMS:
+-
+ clean-noinstPROGRAMS:
+ 	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
+-
+-distclean-noinstPROGRAMS:
+-
+-maintainer-clean-noinstPROGRAMS:
+-
+-base64-test$(EXEEXT): $(base64_test_OBJECTS) $(base64_test_DEPENDENCIES)
++base64-test$(EXEEXT): $(base64_test_OBJECTS) $(base64_test_DEPENDENCIES) 
+ 	@rm -f base64-test$(EXEEXT)
+ 	$(LINK) $(base64_test_LDFLAGS) $(base64_test_OBJECTS) $(base64_test_LDADD) $(LIBS)
+-
+-getaddrinfo-test$(EXEEXT): $(getaddrinfo_test_OBJECTS) $(getaddrinfo_test_DEPENDENCIES)
++getaddrinfo-test$(EXEEXT): $(getaddrinfo_test_OBJECTS) $(getaddrinfo_test_DEPENDENCIES) 
+ 	@rm -f getaddrinfo-test$(EXEEXT)
+ 	$(LINK) $(getaddrinfo_test_LDFLAGS) $(getaddrinfo_test_OBJECTS) $(getaddrinfo_test_LDADD) $(LIBS)
+-
+-make-roken$(EXEEXT): $(make_roken_OBJECTS) $(make_roken_DEPENDENCIES)
++make-roken$(EXEEXT): $(make_roken_OBJECTS) $(make_roken_DEPENDENCIES) 
+ 	@rm -f make-roken$(EXEEXT)
+ 	$(LINK) $(make_roken_LDFLAGS) $(make_roken_OBJECTS) $(make_roken_LDADD) $(LIBS)
+-
+-parse_bytes-test$(EXEEXT): $(parse_bytes_test_OBJECTS) $(parse_bytes_test_DEPENDENCIES)
++parse_bytes-test$(EXEEXT): $(parse_bytes_test_OBJECTS) $(parse_bytes_test_DEPENDENCIES) 
+ 	@rm -f parse_bytes-test$(EXEEXT)
+ 	$(LINK) $(parse_bytes_test_LDFLAGS) $(parse_bytes_test_OBJECTS) $(parse_bytes_test_LDADD) $(LIBS)
+ snprintf_test-snprintf-test.$(OBJEXT): snprintf-test.c
+-	$(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(snprintf_test_CFLAGS) $(CFLAGS) -c -o snprintf_test-snprintf-test.$(OBJEXT) `test -f ./snprintf-test.c || echo '$(srcdir)/'`snprintf-test.c
+ snprintf_test-snprintf.$(OBJEXT): snprintf.c
+-	$(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(snprintf_test_CFLAGS) $(CFLAGS) -c -o snprintf_test-snprintf.$(OBJEXT) `test -f ./snprintf.c || echo '$(srcdir)/'`snprintf.c
+-
+-snprintf-test$(EXEEXT): $(snprintf_test_OBJECTS) $(snprintf_test_DEPENDENCIES)
++snprintf-test$(EXEEXT): $(snprintf_test_OBJECTS) $(snprintf_test_DEPENDENCIES) 
+ 	@rm -f snprintf-test$(EXEEXT)
+ 	$(LINK) $(snprintf_test_LDFLAGS) $(snprintf_test_OBJECTS) $(snprintf_test_LDADD) $(LIBS)
+-
+-strpftime-test$(EXEEXT): $(strpftime_test_OBJECTS) $(strpftime_test_DEPENDENCIES)
++strpftime-test$(EXEEXT): $(strpftime_test_OBJECTS) $(strpftime_test_DEPENDENCIES) 
+ 	@rm -f strpftime-test$(EXEEXT)
+ 	$(LINK) $(strpftime_test_LDFLAGS) $(strpftime_test_OBJECTS) $(strpftime_test_LDADD) $(LIBS)
++
++mostlyclean-compile:
++	-rm -f *.$(OBJEXT) core *.core
++
++distclean-compile:
++	-rm -f *.tab.c
++
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
++
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
++
++snprintf_test-snprintf-test.o: snprintf-test.c
++	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(snprintf_test_CFLAGS) $(CFLAGS) -c -o snprintf_test-snprintf-test.o `test -f snprintf-test.c || echo '$(srcdir)/'`snprintf-test.c
++
++snprintf_test-snprintf-test.obj: snprintf-test.c
++	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(snprintf_test_CFLAGS) $(CFLAGS) -c -o snprintf_test-snprintf-test.obj `cygpath -w snprintf-test.c`
++
++snprintf_test-snprintf-test.lo: snprintf-test.c
++	$(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(snprintf_test_CFLAGS) $(CFLAGS) -c -o snprintf_test-snprintf-test.lo `test -f snprintf-test.c || echo '$(srcdir)/'`snprintf-test.c
++
++snprintf_test-snprintf.o: snprintf.c
++	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(snprintf_test_CFLAGS) $(CFLAGS) -c -o snprintf_test-snprintf.o `test -f snprintf.c || echo '$(srcdir)/'`snprintf.c
++
++snprintf_test-snprintf.obj: snprintf.c
++	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(snprintf_test_CFLAGS) $(CFLAGS) -c -o snprintf_test-snprintf.obj `cygpath -w snprintf.c`
+ 
+-install-man3:
++snprintf_test-snprintf.lo: snprintf.c
++	$(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(snprintf_test_CFLAGS) $(CFLAGS) -c -o snprintf_test-snprintf.lo `test -f snprintf.c || echo '$(srcdir)/'`snprintf.c
++uninstall-info-am:
++
++man3dir = $(mandir)/man3
++install-man3: $(man3_MANS) $(man_MANS)
++	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(man3dir)
+-	@list='$(man3_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@list='$(man3_MANS) $(dist_man3_MANS) $(nodist_man3_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.3*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -603,10 +596,11 @@
+ 	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man3dir)/$$inst"; \
+ 	  $(INSTALL_DATA) $$file $(DESTDIR)$(man3dir)/$$inst; \
+ 	done
+-
+ uninstall-man3:
+-	@list='$(man3_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@$(NORMAL_UNINSTALL)
++	@list='$(man3_MANS) $(dist_man3_MANS) $(nodist_man3_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.3*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -619,21 +613,14 @@
+ 	  echo " rm -f $(DESTDIR)$(man3dir)/$$inst"; \
+ 	  rm -f $(DESTDIR)$(man3dir)/$$inst; \
+ 	done
+-install-man: $(MANS)
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-man3
+-uninstall-man:
+-	@$(NORMAL_UNINSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) uninstall-man3
+-
+ install-includeHEADERS: $(include_HEADERS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(includedir)
+ 	@list='$(include_HEADERS)'; for p in $$list; do \
+-	  if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
++	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
+-	  $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f; \
++	  echo " $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
++	  $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(includedir)/$$f; \
+ 	done
+ 
+ uninstall-includeHEADERS:
+@@ -643,15 +630,14 @@
+ 	  echo " rm -f $(DESTDIR)$(includedir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(includedir)/$$f; \
+ 	done
+-
+ install-nodist_includeHEADERS: $(nodist_include_HEADERS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(includedir)
+ 	@list='$(nodist_include_HEADERS)'; for p in $$list; do \
+-	  if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
++	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
+-	  $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f; \
++	  echo " $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
++	  $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(includedir)/$$f; \
+ 	done
+ 
+ uninstall-nodist_includeHEADERS:
+@@ -689,16 +675,11 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
+ check-TESTS: $(TESTS)
+ 	@failed=0; all=0; xfail=0; xpass=0; \
+ 	srcdir=$(srcdir); export srcdir; \
+@@ -754,11 +735,18 @@
+ 	  test "$$failed" -eq 0; \
+ 	fi
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -768,108 +756,104 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
+ 	$(MAKE) $(AM_MAKEFLAGS) check-TESTS check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-all-recursive-am: $(BUILT_SOURCES)
+-	$(MAKE) $(AM_MAKEFLAGS) all-recursive
++all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(MANS) $(HEADERS) all-local
+ 
+-install-exec-am: install-libLTLIBRARIES
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(man3dir) $(DESTDIR)$(includedir) $(DESTDIR)$(includedir)
+ 
+-install-data-am: install-man install-includeHEADERS \
+-		install-nodist_includeHEADERS install-data-local
++install: install-am
++install-exec: install-exec-am
+ install-data: install-data-am
++uninstall: uninstall-am
+ 
+ install-am: all-am
+ 	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+-install: install-am
+-uninstall-am: uninstall-libLTLIBRARIES uninstall-man \
+-		uninstall-includeHEADERS \
+-		uninstall-nodist_includeHEADERS
+-uninstall: uninstall-am
+-all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(MANS) $(HEADERS) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(libdir) $(DESTDIR)$(mandir)/man3 \
+-		$(DESTDIR)$(includedir) $(DESTDIR)$(nodist_includedir)
+-
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
+ 	-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
+-mostlyclean-am:  mostlyclean-libLTLIBRARIES mostlyclean-compile \
+-		mostlyclean-libtool mostlyclean-checkPROGRAMS \
+-		mostlyclean-noinstPROGRAMS mostlyclean-tags \
+-		mostlyclean-generic
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-checkPROGRAMS clean-generic clean-libLTLIBRARIES \
++	clean-libtool clean-noinstPROGRAMS mostlyclean-am
+ 
+-clean-am:  clean-libLTLIBRARIES clean-compile clean-libtool \
+-		clean-checkPROGRAMS clean-noinstPROGRAMS clean-tags \
+-		clean-generic mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-libLTLIBRARIES distclean-compile \
+-		distclean-libtool distclean-checkPROGRAMS \
+-		distclean-noinstPROGRAMS distclean-tags \
+-		distclean-generic clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-libLTLIBRARIES \
+-		maintainer-clean-compile maintainer-clean-libtool \
+-		maintainer-clean-checkPROGRAMS \
+-		maintainer-clean-noinstPROGRAMS 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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local install-includeHEADERS install-man \
++	install-nodist_includeHEADERS
++
++install-exec-am: install-libLTLIBRARIES
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man: install-man3
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-am
+ 
+-.PHONY: mostlyclean-libLTLIBRARIES distclean-libLTLIBRARIES \
+-clean-libLTLIBRARIES maintainer-clean-libLTLIBRARIES \
+-uninstall-libLTLIBRARIES install-libLTLIBRARIES mostlyclean-compile \
+-distclean-compile clean-compile maintainer-clean-compile \
+-mostlyclean-libtool distclean-libtool clean-libtool \
+-maintainer-clean-libtool mostlyclean-checkPROGRAMS \
+-distclean-checkPROGRAMS clean-checkPROGRAMS \
+-maintainer-clean-checkPROGRAMS mostlyclean-noinstPROGRAMS \
+-distclean-noinstPROGRAMS clean-noinstPROGRAMS \
+-maintainer-clean-noinstPROGRAMS install-man3 uninstall-man3 install-man \
+-uninstall-man uninstall-includeHEADERS install-includeHEADERS \
+-uninstall-nodist_includeHEADERS install-nodist_includeHEADERS tags \
+-mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
+-check-TESTS distdir info-am info dvi-am dvi check-local check check-am \
+-installcheck-am installcheck all-recursive-am install-exec-am \
+-install-exec install-data-local install-data-am install-data install-am \
+-install uninstall-am uninstall all-local all-redirect all-am all \
+-install-strip installdirs mostlyclean-generic distclean-generic \
+-clean-generic maintainer-clean-generic clean mostlyclean distclean \
+-maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-includeHEADERS uninstall-info-am \
++	uninstall-libLTLIBRARIES uninstall-man \
++	uninstall-nodist_includeHEADERS
++
++uninstall-man: uninstall-man3
++
++.PHONY: GTAGS all all-am all-local check check-TESTS check-am \
++	check-local clean clean-checkPROGRAMS clean-generic \
++	clean-libLTLIBRARIES clean-libtool clean-noinstPROGRAMS \
++	distclean distclean-compile distclean-generic distclean-libtool \
++	distclean-tags distdir dvi dvi-am info info-am install \
++	install-am install-data install-data-am install-data-local \
++	install-exec install-exec-am install-includeHEADERS \
++	install-info install-info-am install-libLTLIBRARIES install-man \
++	install-man3 install-nodist_includeHEADERS install-strip \
++	installcheck installcheck-am installdirs maintainer-clean \
++	maintainer-clean-generic mostlyclean mostlyclean-compile \
++	mostlyclean-generic mostlyclean-libtool tags uninstall \
++	uninstall-am uninstall-includeHEADERS uninstall-info-am \
++	uninstall-libLTLIBRARIES uninstall-man uninstall-man3 \
++	uninstall-nodist_includeHEADERS
+ 
+ 
+ install-suid-programs:
+@@ -1011,7 +995,6 @@
+ 
+ make-roken.c: roken.h.in roken.awk
+ 	$(AWK) -f $(srcdir)/roken.awk $(srcdir)/roken.h.in > make-roken.c
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/lib/sl/Makefile.in heimdal-0.4e/lib/sl/Makefile.in
+--- heimdal-0.4e-old/lib/sl/Makefile.in	Thu Sep  6 22:23:40 2001
++++ heimdal-0.4e/lib/sl/Makefile.in	Wed Nov 21 11:52:47 2001
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.27 2001/08/31 18:26:53 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,9 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,6 +89,7 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+@@ -105,7 +109,6 @@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,20 +122,17 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+ 
+-# $Id: Makefile.am,v 1.27 2001/08/31 18:26:53 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
+-
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+ SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+@@ -189,18 +189,17 @@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+-@do_roken_rename_TRUE@IS = @do_roken_rename_TRUE@-DROKEN_RENAME
+-@do_roken_rename_TRUE@ES = @do_roken_rename_TRUE@strtok_r.c snprintf.c strdup.c strupr.c getprogname.c
++@do_roken_rename_TRUE@IS = -DROKEN_RENAME
++@do_roken_rename_TRUE@ES = strtok_r.c snprintf.c strdup.c strupr.c getprogname.c
+ 
+ YFLAGS = -d
+ 
+@@ -216,8 +215,8 @@
+ libsl_la_SOURCES = sl_locl.h sl.c $(ES)
+ libss_la_SOURCES = $(libsl_la_SOURCES) ss.c ss.h
+ 
+-# install these?
+ 
++# install these?
+ bin_PROGRAMS = mk_cmds
+ 
+ mk_cmds_SOURCES = make_cmds.c make_cmds.h parse.y lex.l $(ES)
+@@ -233,182 +232,167 @@
+ 
+ subdir = lib/sl
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../include/config.h
+-CONFIG_CLEAN_FILES = 
+-LTLIBRARIES =  $(lib_LTLIBRARIES)
+-
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++LTLIBRARIES = $(lib_LTLIBRARIES)
++
++libsl_la_DEPENDENCIES =
++@do_roken_rename_TRUE@am_libsl_la_OBJECTS = sl.lo strtok_r.lo \
++@do_roken_rename_TRUE@	snprintf.lo strdup.lo strupr.lo \
++@do_roken_rename_TRUE@	getprogname.lo
++@do_roken_rename_FALSE@am_libsl_la_OBJECTS = sl.lo
++libsl_la_OBJECTS = $(am_libsl_la_OBJECTS)
++libss_la_DEPENDENCIES =
++@do_roken_rename_TRUE@am_libss_la_OBJECTS = sl.lo strtok_r.lo \
++@do_roken_rename_TRUE@	snprintf.lo strdup.lo strupr.lo \
++@do_roken_rename_TRUE@	getprogname.lo ss.lo
++@do_roken_rename_FALSE@am_libss_la_OBJECTS = sl.lo ss.lo
++libss_la_OBJECTS = $(am_libss_la_OBJECTS)
++bin_PROGRAMS = mk_cmds$(EXEEXT)
++PROGRAMS = $(bin_PROGRAMS)
++
++@do_roken_rename_TRUE@am_mk_cmds_OBJECTS = make_cmds.$(OBJEXT) \
++@do_roken_rename_TRUE@	parse.$(OBJEXT) lex.$(OBJEXT) \
++@do_roken_rename_TRUE@	strtok_r.$(OBJEXT) snprintf.$(OBJEXT) \
++@do_roken_rename_TRUE@	strdup.$(OBJEXT) strupr.$(OBJEXT) \
++@do_roken_rename_TRUE@	getprogname.$(OBJEXT)
++@do_roken_rename_FALSE@am_mk_cmds_OBJECTS = make_cmds.$(OBJEXT) \
++@do_roken_rename_FALSE@	parse.$(OBJEXT) lex.$(OBJEXT)
++mk_cmds_OBJECTS = $(am_mk_cmds_OBJECTS)
++mk_cmds_LDADD = $(LDADD)
++mk_cmds_DEPENDENCIES =
++mk_cmds_LDFLAGS =
+ 
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../../include
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+-libsl_la_DEPENDENCIES = 
+-@do_roken_rename_FALSE@am_libsl_la_OBJECTS =  sl.lo
+-@do_roken_rename_TRUE@am_libsl_la_OBJECTS =  sl.lo strtok_r.lo \
+-@do_roken_rename_TRUE@snprintf.lo strdup.lo strupr.lo getprogname.lo
+-libsl_la_OBJECTS =  $(am_libsl_la_OBJECTS)
+-libss_la_DEPENDENCIES = 
+-@do_roken_rename_FALSE@am_libss_la_OBJECTS =  sl.lo ss.lo
+-@do_roken_rename_TRUE@am_libss_la_OBJECTS =  sl.lo strtok_r.lo \
+-@do_roken_rename_TRUE@snprintf.lo strdup.lo strupr.lo getprogname.lo \
+-@do_roken_rename_TRUE@ss.lo
+-libss_la_OBJECTS =  $(am_libss_la_OBJECTS)
+-bin_PROGRAMS =  mk_cmds$(EXEEXT)
+-PROGRAMS =  $(bin_PROGRAMS)
+-
+-@do_roken_rename_FALSE@am_mk_cmds_OBJECTS =  make_cmds.$(OBJEXT) \
+-@do_roken_rename_FALSE@parse.$(OBJEXT) lex.$(OBJEXT)
+-@do_roken_rename_TRUE@am_mk_cmds_OBJECTS =  make_cmds.$(OBJEXT) \
+-@do_roken_rename_TRUE@parse.$(OBJEXT) lex.$(OBJEXT) strtok_r.$(OBJEXT) \
+-@do_roken_rename_TRUE@snprintf.$(OBJEXT) strdup.$(OBJEXT) \
+-@do_roken_rename_TRUE@strupr.$(OBJEXT) getprogname.$(OBJEXT)
+-mk_cmds_OBJECTS =  $(am_mk_cmds_OBJECTS)
+-mk_cmds_LDADD = $(LDADD)
+-mk_cmds_DEPENDENCIES = 
+-mk_cmds_LDFLAGS = 
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
+-LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  $(libsl_la_SOURCES) $(libss_la_SOURCES) \
+-$(mk_cmds_SOURCES)
+-HEADERS =  $(include_HEADERS) $(ssinclude_HEADERS)
+-
+-depcomp = 
+-DIST_COMMON =  $(include_HEADERS) $(ssinclude_HEADERS) ChangeLog \
+-Makefile.am Makefile.in lex.c parse.c parse.h
+-
+-
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++LEXCOMPILE = $(LEX) $(LFLAGS) $(AM_LFLAGS)
++LTLEXCOMPILE = $(LIBTOOL) --mode=compile $(LEX) $(LFLAGS) $(AM_LFLAGS)
++YLWRAP = $(top_srcdir)/ylwrap
++YACCCOMPILE = $(YACC) $(YFLAGS) $(AM_YFLAGS)
++LTYACCCOMPILE = $(LIBTOOL) --mode=compile $(YACC) $(YFLAGS) $(AM_YFLAGS)
++DIST_SOURCES = $(libsl_la_SOURCES) $(libss_la_SOURCES) \
++	$(mk_cmds_SOURCES)
++HEADERS = $(include_HEADERS) $(ssinclude_HEADERS)
+ 
+-GZIP_ENV = --best
++DIST_COMMON = $(include_HEADERS) $(ssinclude_HEADERS) ChangeLog \
++	Makefile.am Makefile.in lex.c parse.c parse.h
+ SOURCES = $(libsl_la_SOURCES) $(libss_la_SOURCES) $(mk_cmds_SOURCES)
+-OBJECTS = $(am_libsl_la_OBJECTS) $(am_libss_la_OBJECTS) $(am_mk_cmds_OBJECTS)
+ 
+-all: all-redirect
++all: all-am
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .l .lo .o .obj .y
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/sl/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+-
+-
+-mostlyclean-libLTLIBRARIES:
+-
+-clean-libLTLIBRARIES:
+-	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
+ 
+-distclean-libLTLIBRARIES:
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
+-maintainer-clean-libLTLIBRARIES:
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  lib/sl/Makefile
++Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ install-libLTLIBRARIES: $(lib_LTLIBRARIES)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(libdir)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+ 	  if test -f $$p; then \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p; \
++	    echo " $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p"; \
++	    $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-libLTLIBRARIES:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+-	  echo " $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
+-	  $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
++	  echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
++	  $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
+ 	done
+ 
+-mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
+-
+-clean-compile:
+-
+-distclean-compile:
+-	-rm -f *.tab.c
+-
+-maintainer-clean-compile:
+-
+-mostlyclean-libtool:
+-	-rm -f *.lo
+-
+-clean-libtool:
+-	-rm -rf .libs _libs
+-
+-distclean-libtool:
+-
+-maintainer-clean-libtool:
+-
+-libsl.la: $(libsl_la_OBJECTS) $(libsl_la_DEPENDENCIES)
++clean-libLTLIBRARIES:
++	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
++libsl.la: $(libsl_la_OBJECTS) $(libsl_la_DEPENDENCIES) 
+ 	$(LINK) -rpath $(libdir) $(libsl_la_LDFLAGS) $(libsl_la_OBJECTS) $(libsl_la_LIBADD) $(LIBS)
+-
+-libss.la: $(libss_la_OBJECTS) $(libss_la_DEPENDENCIES)
++libss.la: $(libss_la_OBJECTS) $(libss_la_DEPENDENCIES) 
+ 	$(LINK) -rpath $(libdir) $(libss_la_LDFLAGS) $(libss_la_OBJECTS) $(libss_la_LIBADD) $(LIBS)
+-
+-mostlyclean-binPROGRAMS:
+-
+-clean-binPROGRAMS:
+-	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
+-
+-distclean-binPROGRAMS:
+-
+-maintainer-clean-binPROGRAMS:
+-
+ install-binPROGRAMS: $(bin_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(bindir)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  if test -f $$p; then \
+-	    f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
+-	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f"; \
+-	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f; \
++	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  if test -f $$p \
++	     || test -f $$p1 \
++	  ; then \
++	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-binPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+-mk_cmds$(EXEEXT): $(mk_cmds_OBJECTS) $(mk_cmds_DEPENDENCIES)
++clean-binPROGRAMS:
++	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
++parse.h: parse.c
++parse.h: parse.c
++mk_cmds$(EXEEXT): $(mk_cmds_OBJECTS) $(mk_cmds_DEPENDENCIES) 
+ 	@rm -f mk_cmds$(EXEEXT)
+ 	$(LINK) $(mk_cmds_LDFLAGS) $(mk_cmds_OBJECTS) $(mk_cmds_LDADD) $(LIBS)
++
++mostlyclean-compile:
++	-rm -f *.$(OBJEXT) core *.core
++
++distclean-compile:
++	-rm -f *.tab.c
++
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
++
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
+-.l.c:
+-	$(LEX) $(AM_LFLAGS) $(LFLAGS) $< && mv $(LEX_OUTPUT_ROOT).c $@
+-.y.c:
+-	$(YACC) $(AM_YFLAGS) $(YFLAGS) $< && mv y.tab.c $*.c
+-	if test -f y.tab.h; then \
+-	if cmp -s y.tab.h $*.h; then rm -f y.tab.h; else mv y.tab.h $*.h; fi; \
+-	else :; fi
+-parse.h: parse.c
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
+ 
++LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
++
++.l.c:
++	$(SHELL) $(YLWRAP) $< $(LEX_OUTPUT_ROOT).c $@ -- $(LEXCOMPILE)
+ 
++.y.c:
++	$(SHELL) $(YLWRAP) $< y.tab.c $@ y.tab.h $*.h -- $(YACCCOMPILE)
++uninstall-info-am:
+ install-includeHEADERS: $(include_HEADERS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(includedir)
+ 	@list='$(include_HEADERS)'; for p in $$list; do \
+-	  if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
++	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
+-	  $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f; \
++	  echo " $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
++	  $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(includedir)/$$f; \
+ 	done
+ 
+ uninstall-includeHEADERS:
+@@ -418,15 +402,14 @@
+ 	  echo " rm -f $(DESTDIR)$(includedir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(includedir)/$$f; \
+ 	done
+-
+ install-ssincludeHEADERS: $(ssinclude_HEADERS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(ssincludedir)
+ 	@list='$(ssinclude_HEADERS)'; for p in $$list; do \
+-	  if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
++	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+-	  echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(ssincludedir)/$$f"; \
+-	  $(INSTALL_DATA) $$d$$p $(DESTDIR)$(ssincludedir)/$$f; \
++	  echo " $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(ssincludedir)/$$f"; \
++	  $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(ssincludedir)/$$f; \
+ 	done
+ 
+ uninstall-ssincludeHEADERS:
+@@ -464,22 +447,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -489,98 +473,102 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
++all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(HEADERS) all-local
+ install-binPROGRAMS: install-libLTLIBRARIES
+ 
+-install-exec-am: install-libLTLIBRARIES install-binPROGRAMS
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
+ 
+-install-data-am: install-includeHEADERS install-ssincludeHEADERS \
+-		install-data-local
+-install-data: install-data-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(bindir) $(DESTDIR)$(includedir) $(DESTDIR)$(ssincludedir)
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am: uninstall-libLTLIBRARIES uninstall-binPROGRAMS \
+-		uninstall-includeHEADERS uninstall-ssincludeHEADERS
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(HEADERS) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(libdir) $(DESTDIR)$(bindir) \
+-		$(DESTDIR)$(includedir) $(DESTDIR)$(ssincludedir)
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-	-test -z "lex.cparse.hparse.c" || rm -f lex.c parse.h parse.c
+-mostlyclean-am:  mostlyclean-libLTLIBRARIES mostlyclean-compile \
+-		mostlyclean-libtool mostlyclean-binPROGRAMS \
+-		mostlyclean-tags mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++	-test -z "parse.hparse.h" || rm -f parse.h parse.h
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-binPROGRAMS clean-generic clean-libLTLIBRARIES \
++	clean-libtool mostlyclean-am
+ 
+-clean-am:  clean-libLTLIBRARIES clean-compile clean-libtool \
+-		clean-binPROGRAMS clean-tags clean-generic \
+-		mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-libLTLIBRARIES distclean-compile \
+-		distclean-libtool distclean-binPROGRAMS distclean-tags \
+-		distclean-generic clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-libLTLIBRARIES \
+-		maintainer-clean-compile maintainer-clean-libtool \
+-		maintainer-clean-binPROGRAMS 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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local install-includeHEADERS \
++	install-ssincludeHEADERS
++
++install-exec-am: install-binPROGRAMS install-libLTLIBRARIES
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man:
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-am
+ 
+-.PHONY: mostlyclean-libLTLIBRARIES distclean-libLTLIBRARIES \
+-clean-libLTLIBRARIES maintainer-clean-libLTLIBRARIES \
+-uninstall-libLTLIBRARIES install-libLTLIBRARIES mostlyclean-compile \
+-distclean-compile clean-compile maintainer-clean-compile \
+-mostlyclean-libtool distclean-libtool clean-libtool \
+-maintainer-clean-libtool mostlyclean-binPROGRAMS distclean-binPROGRAMS \
+-clean-binPROGRAMS maintainer-clean-binPROGRAMS uninstall-binPROGRAMS \
+-install-binPROGRAMS uninstall-includeHEADERS install-includeHEADERS \
+-uninstall-ssincludeHEADERS install-ssincludeHEADERS tags \
+-mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
+-distdir info-am info dvi-am dvi check-local check check-am \
+-installcheck-am installcheck install-exec-am install-exec \
+-install-data-local install-data-am install-data install-am install \
+-uninstall-am uninstall all-local all-redirect all-am all install-strip \
+-installdirs mostlyclean-generic distclean-generic clean-generic \
+-maintainer-clean-generic clean mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-binPROGRAMS uninstall-includeHEADERS \
++	uninstall-info-am uninstall-libLTLIBRARIES \
++	uninstall-ssincludeHEADERS
++
++.PHONY: GTAGS all all-am all-local check check-am check-local clean \
++	clean-binPROGRAMS clean-generic clean-libLTLIBRARIES \
++	clean-libtool distclean distclean-compile distclean-generic \
++	distclean-libtool distclean-tags distdir dvi dvi-am info \
++	info-am install install-am install-binPROGRAMS install-data \
++	install-data-am install-data-local install-exec install-exec-am \
++	install-includeHEADERS install-info install-info-am \
++	install-libLTLIBRARIES install-man install-ssincludeHEADERS \
++	install-strip installcheck installcheck-am installdirs \
++	maintainer-clean maintainer-clean-generic mostlyclean \
++	mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
++	tags uninstall uninstall-am uninstall-binPROGRAMS \
++	uninstall-includeHEADERS uninstall-info-am \
++	uninstall-libLTLIBRARIES uninstall-ssincludeHEADERS
+ 
+ 
+ install-suid-programs:
+@@ -723,7 +711,6 @@
+ 	$(LN_S) $(srcdir)/../roken/strupr.c .
+ getprogname.c:
+ 	$(LN_S) $(srcdir)/../roken/getprogname.c .
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/lib/vers/Makefile.in heimdal-0.4e/lib/vers/Makefile.in
+--- heimdal-0.4e-old/lib/vers/Makefile.in	Thu Sep  6 22:23:41 2001
++++ heimdal-0.4e/lib/vers/Makefile.in	Wed Nov 21 11:52:48 2001
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.4 2001/08/23 22:41:03 assar Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ../..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,9 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,6 +89,7 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+@@ -105,7 +109,6 @@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,20 +122,17 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+ 
+-# $Id: Makefile.am,v 1.4 2001/08/23 22:41:03 assar Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
+-
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+ SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+@@ -189,13 +189,12 @@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+@@ -207,80 +206,51 @@
+ 
+ noinst_PROGRAMS = make-print-version
+ 
+-@KRB4_TRUE@@KRB5_TRUE@make_print_version_LDADD = @KRB4_TRUE@@KRB5_TRUE@$(LIB_krb4) -ldes
++@KRB4_TRUE@@KRB5_TRUE@make_print_version_LDADD = $(LIB_krb4)
+ 
+ libvers_la_SOURCES = print_version.c
++libvers_la_LDFLAGS = -no-undefined
+ subdir = lib/vers
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../../include/config.h
+-CONFIG_CLEAN_FILES = 
+-LTLIBRARIES =  $(noinst_LTLIBRARIES)
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++LTLIBRARIES = $(noinst_LTLIBRARIES)
++
++libvers_la_LIBADD =
++am_libvers_la_OBJECTS = print_version.lo
++libvers_la_OBJECTS = $(am_libvers_la_OBJECTS)
++noinst_PROGRAMS = make-print-version$(EXEEXT)
++PROGRAMS = $(noinst_PROGRAMS)
+ 
++make_print_version_SOURCES = make-print-version.c
++make_print_version_OBJECTS = make-print-version.$(OBJEXT)
++@KRB4_FALSE@@KRB5_TRUE@make_print_version_DEPENDENCIES =
++@KRB4_FALSE@@KRB5_FALSE@make_print_version_DEPENDENCIES =
++@KRB4_TRUE@@KRB5_TRUE@make_print_version_DEPENDENCIES =
++@KRB4_TRUE@@KRB5_FALSE@make_print_version_DEPENDENCIES =
++make_print_version_LDFLAGS =
+ 
+-DEFS = @DEFS@ -I. -I$(srcdir) -I../../include
++DEFS = @DEFS@
++DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+-X_CFLAGS = @X_CFLAGS@
+-X_LIBS = @X_LIBS@
+-X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_PRE_LIBS = @X_PRE_LIBS@
+-libvers_la_LDFLAGS = 
+-libvers_la_LIBADD = 
+-am_libvers_la_OBJECTS =  print_version.lo
+-libvers_la_OBJECTS =  $(am_libvers_la_OBJECTS)
+-noinst_PROGRAMS =  make-print-version$(EXEEXT)
+-PROGRAMS =  $(noinst_PROGRAMS)
+-
+-make_print_version_SOURCES = make-print-version.c
+-make_print_version_OBJECTS =  make-print-version.$(OBJEXT)
+-@KRB4_TRUE@@KRB5_TRUE@make_print_version_DEPENDENCIES = 
+-make_print_version_LDFLAGS = 
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-CFLAGS = @CFLAGS@
++depcomp =
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES =  $(libvers_la_SOURCES) make-print-version.c
+-depcomp = 
+-DIST_COMMON =  ChangeLog Makefile.am Makefile.in
+-
+-
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+-
+-GZIP_ENV = --best
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++CFLAGS = @CFLAGS@
++DIST_SOURCES = $(libvers_la_SOURCES) make-print-version.c
++DIST_COMMON = ChangeLog Makefile.am Makefile.in
+ SOURCES = $(libvers_la_SOURCES) make-print-version.c
+-OBJECTS = $(am_libvers_la_OBJECTS) make-print-version.$(OBJEXT)
+ 
+-all: all-redirect
++all: all-am
++
+ .SUFFIXES:
+ .SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/vers/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+-
+-
+-mostlyclean-noinstLTLIBRARIES:
+-
+-clean-noinstLTLIBRARIES:
+-	-test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
+-
+-distclean-noinstLTLIBRARIES:
+-
+-maintainer-clean-noinstLTLIBRARIES:
+-
+-mostlyclean-compile:
+-	-rm -f *.o core *.core
+-	-rm -f *.$(OBJEXT)
+-
+-clean-compile:
+-
+-distclean-compile:
+-	-rm -f *.tab.c
+-
+-maintainer-clean-compile:
+ 
+ mostlyclean-libtool:
+ 	-rm -f *.lo
+@@ -289,30 +259,41 @@
+ 	-rm -rf .libs _libs
+ 
+ distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  lib/vers/Makefile
++Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ 
+-maintainer-clean-libtool:
+-
+-libvers.la: $(libvers_la_OBJECTS) $(libvers_la_DEPENDENCIES)
++clean-noinstLTLIBRARIES:
++	-test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
++libvers.la: $(libvers_la_OBJECTS) $(libvers_la_DEPENDENCIES) 
+ 	$(LINK)  $(libvers_la_LDFLAGS) $(libvers_la_OBJECTS) $(libvers_la_LIBADD) $(LIBS)
+ 
+-mostlyclean-noinstPROGRAMS:
+-
+ clean-noinstPROGRAMS:
+ 	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
++make-print-version$(EXEEXT): $(make_print_version_OBJECTS) $(make_print_version_DEPENDENCIES) 
++	@rm -f make-print-version$(EXEEXT)
++	$(LINK) $(make_print_version_LDFLAGS) $(make_print_version_OBJECTS) $(make_print_version_LDADD) $(LIBS)
+ 
+-distclean-noinstPROGRAMS:
++mostlyclean-compile:
++	-rm -f *.$(OBJEXT) core *.core
+ 
+-maintainer-clean-noinstPROGRAMS:
++distclean-compile:
++	-rm -f *.tab.c
+ 
+-make-print-version$(EXEEXT): $(make_print_version_OBJECTS) $(make_print_version_DEPENDENCIES)
+-	@rm -f make-print-version$(EXEEXT)
+-	$(LINK) $(make_print_version_LDFLAGS) $(make_print_version_OBJECTS) $(make_print_version_LDADD) $(LIBS)
+ .c.o:
+-	$(COMPILE) -c $<
++	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
++
+ .c.obj:
+ 	$(COMPILE) -c `cygpath -w $<`
++
+ .c.lo:
+-	$(LTCOMPILE) -c -o $@ $<
++	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
++uninstall-info-am:
+ 
+ tags: TAGS
+ 
+@@ -341,22 +322,23 @@
+ GTAGS:
+ 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
+ 	  && cd $(top_srcdir) \
+-	  && gtags -i $$here
+-
+-mostlyclean-tags:
+-
+-clean-tags:
++	  && gtags -i $(GTAGS_ARGS) $$here
+ 
+ distclean-tags:
+-	-rm -f TAGS ID
++	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+ 
+-maintainer-clean-tags:
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++top_distdir = ../..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -366,89 +348,92 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-install-exec-am:
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) all-local
+ 
+-install-data-am: install-data-local
+-install-data: install-data-am
++installdirs:
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am:
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-noinstLTLIBRARIES mostlyclean-compile \
+-		mostlyclean-libtool mostlyclean-noinstPROGRAMS \
+-		mostlyclean-tags mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \
++	clean-noinstPROGRAMS mostlyclean-am
+ 
+-clean-am:  clean-noinstLTLIBRARIES clean-compile clean-libtool \
+-		clean-noinstPROGRAMS clean-tags clean-generic \
+-		mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-compile distclean-generic \
++	distclean-libtool distclean-tags
+ 
+-distclean-am:  distclean-noinstLTLIBRARIES distclean-compile \
+-		distclean-libtool distclean-noinstPROGRAMS \
+-		distclean-tags distclean-generic clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-am:
+ 
+-maintainer-clean-am:  maintainer-clean-noinstLTLIBRARIES \
+-		maintainer-clean-compile maintainer-clean-libtool \
+-		maintainer-clean-noinstPROGRAMS 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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local
++
++install-exec-am:
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man:
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-am
+ 
+-.PHONY: mostlyclean-noinstLTLIBRARIES distclean-noinstLTLIBRARIES \
+-clean-noinstLTLIBRARIES maintainer-clean-noinstLTLIBRARIES \
+-mostlyclean-compile distclean-compile clean-compile \
+-maintainer-clean-compile mostlyclean-libtool distclean-libtool \
+-clean-libtool maintainer-clean-libtool mostlyclean-noinstPROGRAMS \
+-distclean-noinstPROGRAMS clean-noinstPROGRAMS \
+-maintainer-clean-noinstPROGRAMS tags mostlyclean-tags distclean-tags \
+-clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi \
+-check-local check check-am installcheck-am installcheck install-exec-am \
+-install-exec install-data-local install-data-am install-data install-am \
+-install uninstall-am uninstall all-local all-redirect all-am all \
+-install-strip installdirs mostlyclean-generic distclean-generic \
+-clean-generic maintainer-clean-generic clean mostlyclean distclean \
+-maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++	mostlyclean-libtool
++
++uninstall-am: uninstall-info-am
++
++.PHONY: GTAGS all all-am all-local check check-am check-local clean \
++	clean-generic clean-libtool clean-noinstLTLIBRARIES \
++	clean-noinstPROGRAMS distclean distclean-compile \
++	distclean-generic distclean-libtool distclean-tags distdir dvi \
++	dvi-am info info-am install install-am install-data \
++	install-data-am install-data-local install-exec install-exec-am \
++	install-info install-info-am install-man install-strip \
++	installcheck installcheck-am installdirs maintainer-clean \
++	maintainer-clean-generic mostlyclean mostlyclean-compile \
++	mostlyclean-generic mostlyclean-libtool tags uninstall \
++	uninstall-am uninstall-info-am
+ 
+ 
+ install-suid-programs:
+@@ -585,7 +570,6 @@
+ 	./make-print-version$(EXEEXT) print_version.h
+ 
+ make-print-version.o: $(top_builddir)/include/version.h
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/ltmain.sh heimdal-0.4e/ltmain.sh
+--- heimdal-0.4e-old/ltmain.sh	Sun Jun 24 08:27:51 2001
++++ heimdal-0.4e/ltmain.sh	Wed Nov 21 11:52:00 2001
+@@ -55,8 +55,8 @@
+ # Constants.
+ PROGRAM=ltmain.sh
+ PACKAGE=libtool
+-VERSION=1.4
+-TIMESTAMP=" (1.920 2001/04/24 23:26:18)"
++VERSION=1.4.2
++TIMESTAMP=" (1.922.2.53 2001/09/11 03:18:52)"
+ 
+ default_mode=
+ help="Try \`$progname --help' for more information."
+@@ -84,6 +84,9 @@
+   save_LANG="$LANG"; LANG=C; export LANG
+ fi
+ 
++# Make sure IFS has a sensible default
++: ${IFS=" 	"}
++
+ if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then
+   echo "$modename: not configured to build any kind of library" 1>&2
+   echo "Fatal configuration error.  See the $PACKAGE docs for more information." 1>&2
+@@ -202,6 +205,11 @@
+   exit 1
+ fi
+ 
++# If this variable is set in any of the actions, the command in it
++# will be execed at the end.  This prevents here-documents from being
++# left over by shells.
++exec_cmd=
++
+ if test -z "$show_help"; then
+ 
+   # Infer the operation mode.
+@@ -329,7 +337,7 @@
+       -Wc,*)
+ 	args=`$echo "X$arg" | $Xsed -e "s/^-Wc,//"`
+ 	lastarg=
+-	IFS="${IFS= 	}"; save_ifs="$IFS"; IFS=','
++	save_ifs="$IFS"; IFS=','
+ 	for arg in $args; do
+ 	  IFS="$save_ifs"
+ 
+@@ -615,6 +623,10 @@
+ 	# Now arrange that obj and lo_libobj become the same file
+ 	$show "(cd $xdir && $LN_S $baseobj $libobj)"
+ 	if $run eval '(cd $xdir && $LN_S $baseobj $libobj)'; then
++	  # Unlock the critical section if it was locked
++	  if test "$need_locks" != no; then
++	    $run $rm "$lockfile"
++	  fi
+ 	  exit 0
+ 	else
+ 	  error=$?
+@@ -1031,6 +1043,17 @@
+ 	    # These systems don't actually have a C library (as such)
+ 	    test "X$arg" = "X-lc" && continue
+ 	    ;;
++	  *-*-openbsd*)
++	    # Do not include libc due to us having libc/libc_r.
++	    test "X$arg" = "X-lc" && continue
++	    ;;
++	  esac
++	 elif test "X$arg" = "X-lc_r"; then
++	  case $host in
++	  *-*-openbsd*)
++	    # Do not include libc_r directly, use -pthread flag.
++	    continue
++	    ;;
+ 	  esac
+ 	fi
+ 	deplibs="$deplibs $arg"
+@@ -1122,7 +1145,7 @@
+       -Wc,*)
+ 	args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wc,//'`
+ 	arg=
+-	IFS="${IFS= 	}"; save_ifs="$IFS"; IFS=','
++	save_ifs="$IFS"; IFS=','
+ 	for flag in $args; do
+ 	  IFS="$save_ifs"
+ 	  case $flag in
+@@ -1140,7 +1163,7 @@
+       -Wl,*)
+ 	args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wl,//'`
+ 	arg=
+-	IFS="${IFS= 	}"; save_ifs="$IFS"; IFS=','
++	save_ifs="$IFS"; IFS=','
+ 	for flag in $args; do
+ 	  IFS="$save_ifs"
+ 	  case $flag in
+@@ -1750,7 +1773,7 @@
+ 	    if test -f "$output_objdir/$soname-def"; then :
+ 	    else
+ 	      $show "extracting exported symbol list from \`$soname'"
+-	      IFS="${IFS= 	}"; save_ifs="$IFS"; IFS='~'
++	      save_ifs="$IFS"; IFS='~'
+ 	      eval cmds=\"$extract_expsyms_cmds\"
+ 	      for cmd in $cmds; do
+ 		IFS="$save_ifs"
+@@ -1763,7 +1786,7 @@
+ 	    # Create $newlib
+ 	    if test -f "$output_objdir/$newlib"; then :; else
+ 	      $show "generating import library for \`$soname'"
+-	      IFS="${IFS= 	}"; save_ifs="$IFS"; IFS='~'
++	      save_ifs="$IFS"; IFS='~'
+ 	      eval cmds=\"$old_archive_from_expsyms_cmds\"
+ 	      for cmd in $cmds; do
+ 		IFS="$save_ifs"
+@@ -1911,17 +1934,17 @@
+ 	      echo "*** Therefore, libtool will create a static module, that should work "
+ 	      echo "*** as long as the dlopening application is linked with the -dlopen flag."
+ 	      if test -z "$global_symbol_pipe"; then
+-	        echo
+-	        echo "*** However, this would only work if libtool was able to extract symbol"
+-	        echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
+-	        echo "*** not find such a program.  So, this module is probably useless."
+-	        echo "*** \`nm' from GNU binutils and a full rebuild may help."
++		echo
++		echo "*** However, this would only work if libtool was able to extract symbol"
++		echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
++		echo "*** not find such a program.  So, this module is probably useless."
++		echo "*** \`nm' from GNU binutils and a full rebuild may help."
+ 	      fi
+ 	      if test "$build_old_libs" = no; then
+-	        build_libtool_libs=module
+-	        build_old_libs=yes
++		build_libtool_libs=module
++		build_old_libs=yes
+ 	      else
+-	        build_libtool_libs=no
++		build_libtool_libs=no
+ 	      fi
+ 	    fi
+ 	  else
+@@ -2175,7 +2198,7 @@
+       else
+ 
+ 	# Parse the version information argument.
+-	IFS="${IFS= 	}"; save_ifs="$IFS"; IFS=':'
++	save_ifs="$IFS"; IFS=':'
+ 	set dummy $vinfo 0 0 0
+ 	IFS="$save_ifs"
+ 
+@@ -2312,6 +2335,16 @@
+ 	if test -z "$vinfo" && test -n "$release"; then
+ 	  major=
+ 	  verstring="0.0"
++	  case $version_type in
++	  darwin)
++	    # we can't check for "0.0" in archive_cmds due to quoting
++	    # problems, so we reset it completely
++	    verstring=""
++	    ;;
++	  *)
++	    verstring="0.0"
++	    ;;
++	  esac
+ 	  if test "$need_version" = no; then
+ 	    versuffix=
+ 	  else
+@@ -2408,6 +2441,9 @@
+ 	  *-*-netbsd*)
+ 	    # Don't link with libc until the a.out ld.so is fixed.
+ 	    ;;
++	  *-*-openbsd*)
++	    # Do not include libc due to us having libc/libc_r.
++	    ;;
+ 	  *)
+ 	    # Add libc to deplibs on all other systems if necessary.
+ 	    if test $build_libtool_need_lc = "yes"; then
+@@ -2784,7 +2820,7 @@
+ 	    export_symbols="$output_objdir/$libname.exp"
+ 	    $run $rm $export_symbols
+ 	    eval cmds=\"$export_symbols_cmds\"
+-	    IFS="${IFS= 	}"; save_ifs="$IFS"; IFS='~'
++	    save_ifs="$IFS"; IFS='~'
+ 	    for cmd in $cmds; do
+ 	      IFS="$save_ifs"
+ 	      $show "$cmd"
+@@ -2860,7 +2896,7 @@
+ 	else
+ 	  eval cmds=\"$archive_cmds\"
+ 	fi
+-	IFS="${IFS= 	}"; save_ifs="$IFS"; IFS='~'
++	save_ifs="$IFS"; IFS='~'
+ 	for cmd in $cmds; do
+ 	  IFS="$save_ifs"
+ 	  $show "$cmd"
+@@ -2988,7 +3024,7 @@
+ 
+       output="$obj"
+       eval cmds=\"$reload_cmds\"
+-      IFS="${IFS= 	}"; save_ifs="$IFS"; IFS='~'
++      save_ifs="$IFS"; IFS='~'
+       for cmd in $cmds; do
+ 	IFS="$save_ifs"
+ 	$show "$cmd"
+@@ -3024,7 +3060,7 @@
+ 	reload_objs="$libobjs $reload_conv_objs"
+ 	output="$libobj"
+ 	eval cmds=\"$reload_cmds\"
+-	IFS="${IFS= 	}"; save_ifs="$IFS"; IFS='~'
++	save_ifs="$IFS"; IFS='~'
+ 	for cmd in $cmds; do
+ 	  IFS="$save_ifs"
+ 	  $show "$cmd"
+@@ -3287,27 +3323,25 @@
+ #undef lt_preloaded_symbols
+ 
+ #if defined (__STDC__) && __STDC__
+-# define lt_ptr_t void *
++# define lt_ptr void *
+ #else
+-# define lt_ptr_t char *
++# define lt_ptr char *
+ # define const
+ #endif
+ 
+ /* The mapping between symbol names and symbols. */
+ const struct {
+   const char *name;
+-  lt_ptr_t address;
++  lt_ptr address;
+ }
+ lt_preloaded_symbols[] =
+ {\
+ "
+ 
+-	    sed -n -e 's/^: \([^ ]*\) $/  {\"\1\", (lt_ptr_t) 0},/p' \
+-		-e 's/^. \([^ ]*\) \([^ ]*\)$/  {"\2", (lt_ptr_t) \&\2},/p' \
+-		  < "$nlist" >> "$output_objdir/$dlsyms"
++	    eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$dlsyms"
+ 
+ 	    $echo >> "$output_objdir/$dlsyms" "\
+-  {0, (lt_ptr_t) 0}
++  {0, (lt_ptr) 0}
+ };
+ 
+ /* This works around a problem in FreeBSD linker */
+@@ -3618,8 +3652,9 @@
+ 
+     # relink executable if necessary
+     if test -n \"\$relink_command\"; then
+-      if (eval \$relink_command); then :
++      if relink_command_output=\`eval \$relink_command 2>&1\`; then :
+       else
++	$echo \"\$relink_command_output\" >&2
+ 	$rm \"\$progdir/\$file\"
+ 	exit 1
+       fi
+@@ -3790,7 +3825,7 @@
+ 
+ 	eval cmds=\"$old_archive_cmds\"
+       fi
+-      IFS="${IFS= 	}"; save_ifs="$IFS"; IFS='~'
++      save_ifs="$IFS"; IFS='~'
+       for cmd in $cmds; do
+ 	IFS="$save_ifs"
+ 	$show "$cmd"
+@@ -4165,7 +4200,7 @@
+ 	  # Do each command in the postinstall commands.
+ 	  lib="$destdir/$realname"
+ 	  eval cmds=\"$postinstall_cmds\"
+-	  IFS="${IFS= 	}"; save_ifs="$IFS"; IFS='~'
++	  save_ifs="$IFS"; IFS='~'
+ 	  for cmd in $cmds; do
+ 	    IFS="$save_ifs"
+ 	    $show "$cmd"
+@@ -4352,7 +4387,7 @@
+ 
+       # Do each command in the postinstall commands.
+       eval cmds=\"$old_postinstall_cmds\"
+-      IFS="${IFS= 	}"; save_ifs="$IFS"; IFS='~'
++      save_ifs="$IFS"; IFS='~'
+       for cmd in $cmds; do
+ 	IFS="$save_ifs"
+ 	$show "$cmd"
+@@ -4368,11 +4403,10 @@
+     if test -n "$current_libdirs"; then
+       # Maybe just do a dry run.
+       test -n "$run" && current_libdirs=" -n$current_libdirs"
+-      exec $SHELL $0 --finish$current_libdirs
+-      exit 1
++      exec_cmd='$SHELL $0 --finish$current_libdirs'
++    else
++      exit 0
+     fi
+-
+-    exit 0
+     ;;
+ 
+   # libtool finish mode
+@@ -4391,7 +4425,7 @@
+ 	if test -n "$finish_cmds"; then
+ 	  # Do each command in the finish commands.
+ 	  eval cmds=\"$finish_cmds\"
+-	  IFS="${IFS= 	}"; save_ifs="$IFS"; IFS='~'
++	  save_ifs="$IFS"; IFS='~'
+ 	  for cmd in $cmds; do
+ 	    IFS="$save_ifs"
+ 	    $show "$cmd"
+@@ -4575,11 +4609,8 @@
+ 	LANG="$save_LANG"; export LANG
+       fi
+ 
+-      # Now actually exec the command.
+-      eval "exec \$cmd$args"
+-
+-      $echo "$modename: cannot exec \$cmd$args"
+-      exit 1
++      # Now prepare to actually exec the command.
++      exec_cmd='"$cmd"$args'
+     else
+       # Display what would be done.
+       if test -n "$shlibpath_var"; then
+@@ -4641,14 +4672,14 @@
+ 
+       # Don't error if the file doesn't exist and rm -f was used.
+       if (test -L "$file") >/dev/null 2>&1 \
+-        || (test -h "$file") >/dev/null 2>&1 \
++	|| (test -h "$file") >/dev/null 2>&1 \
+ 	|| test -f "$file"; then
+-        :
++	:
+       elif test -d "$file"; then
+-        exit_status=1
++	exit_status=1
+ 	continue
+       elif test "$rmforce" = yes; then
+-        continue
++	continue
+       fi
+ 
+       rmfiles="$file"
+@@ -4670,7 +4701,7 @@
+ 	    if test -n "$library_names"; then
+ 	      # Do each command in the postuninstall commands.
+ 	      eval cmds=\"$postuninstall_cmds\"
+-	      IFS="${IFS= 	}"; save_ifs="$IFS"; IFS='~'
++	      save_ifs="$IFS"; IFS='~'
+ 	      for cmd in $cmds; do
+ 		IFS="$save_ifs"
+ 		$show "$cmd"
+@@ -4685,7 +4716,7 @@
+ 	    if test -n "$old_library"; then
+ 	      # Do each command in the old_postuninstall commands.
+ 	      eval cmds=\"$old_postuninstall_cmds\"
+-	      IFS="${IFS= 	}"; save_ifs="$IFS"; IFS='~'
++	      save_ifs="$IFS"; IFS='~'
+ 	      for cmd in $cmds; do
+ 		IFS="$save_ifs"
+ 		$show "$cmd"
+@@ -4744,10 +4775,17 @@
+     ;;
+   esac
+ 
+-  $echo "$modename: invalid operation mode \`$mode'" 1>&2
+-  $echo "$generic_help" 1>&2
+-  exit 1
++  if test -z "$exec_cmd"; then
++    $echo "$modename: invalid operation mode \`$mode'" 1>&2
++    $echo "$generic_help" 1>&2
++    exit 1
++  fi
+ fi # test -z "$show_help"
++
++if test -n "$exec_cmd"; then
++  eval exec $exec_cmd
++  exit 1
++fi
+ 
+ # We need to display help for each of the modes.
+ case $mode in
+diff -ruN heimdal-0.4e-old/tools/Makefile.in heimdal-0.4e/tools/Makefile.in
+--- heimdal-0.4e-old/tools/Makefile.in	Thu Sep  6 22:25:47 2001
++++ heimdal-0.4e/tools/Makefile.in	Wed Nov 21 11:52:48 2001
+@@ -1,6 +1,6 @@
+-# Makefile.in generated automatically by automake 1.4b from Makefile.am
++# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+ 
+-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
++# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ # Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -11,6 +11,16 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++@SET_MAKE@
++
++# $Id: Makefile.am,v 1.5 2001/01/29 06:56:33 assar Exp $
++
++
++# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
++
++
++# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
++
+ SHELL = @SHELL@
+ 
+ srcdir = @srcdir@
+@@ -31,11 +41,9 @@
+ mandir = @mandir@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+-
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+-
+ top_builddir = ..
+ 
+ ACLOCAL = @ACLOCAL@
+@@ -47,21 +55,17 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_FLAG =
++INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+-
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-
+-@SET_MAKE@
+ host_alias = @host_alias@
+ host_triplet = @host@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+-AMDEP = @AMDEP@
+ AMTAR = @AMTAR@
+ AS = @AS@
+ AWK = @AWK@
+@@ -71,10 +75,9 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+-CXX = @CXX@
+-CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -86,6 +89,7 @@
+ INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LEX = @LEX@
+ LIBOBJS = @LIBOBJS@
+ LIBTOOL = @LIBTOOL@
+@@ -105,7 +109,6 @@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+-MAKEINFO = @MAKEINFO@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -119,20 +122,17 @@
+ WFLAGS = @WFLAGS@
+ WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
+ WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
++X_CFLAGS = @X_CFLAGS@
++X_EXTRA_LIBS = @X_EXTRA_LIBS@
++X_LIBS = @X_LIBS@
++X_PRE_LIBS = @X_PRE_LIBS@
+ YACC = @YACC@
++am__include = @am__include@
++am__quote = @am__quote@
+ dpagaix_CFLAGS = @dpagaix_CFLAGS@
+ dpagaix_LDADD = @dpagaix_LDADD@
+ install_sh = @install_sh@
+ 
+-# $Id: Makefile.am,v 1.5 2001/01/29 06:56:33 assar Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
+-
+-
+-# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
+-
+-
+ AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
+ 
+ SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+@@ -189,13 +189,12 @@
+ 
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+-@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
++@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+ 
+-@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
+-@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
+-@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
++@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la
++@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
+ 
+-@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
++@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ CHECK_LOCAL = $(PROGRAMS)
+ 
+@@ -208,36 +207,44 @@
+ man_MANS = krb5-config.1
+ subdir = tools
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+-CONFIG_HEADER = ../include/config.h
+-CONFIG_CLEAN_FILES = 
+-SCRIPTS =  $(bin_SCRIPTS)
++CONFIG_HEADER = $(top_builddir)/include/config.h
++CONFIG_CLEAN_FILES =
++SCRIPTS = $(bin_SCRIPTS)
+ 
++depcomp =
+ CFLAGS = @CFLAGS@
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
++	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-DIST_SOURCES = 
+-man1dir = $(mandir)/man1
+-MANS = $(man_MANS)
+-depcomp = 
+-DIST_COMMON =  Makefile.am Makefile.in
+-
++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++	$(AM_LDFLAGS) $(LDFLAGS) -o $@
++DIST_SOURCES =
+ 
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++NROFF = nroff
++MANS = $(man_MANS)
++DIST_COMMON = Makefile.am Makefile.in
++all: all-am
+ 
+-GZIP_ENV = --best
+-all: all-redirect
+ .SUFFIXES:
+-.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
+-	cd $(top_srcdir) && $(AUTOMAKE) --foreign tools/Makefile
+-
+-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+-	cd $(top_builddir) \
+-	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
++.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c
++
++mostlyclean-libtool:
++	-rm -f *.lo
+ 
++clean-libtool:
++	-rm -rf .libs _libs
+ 
++distclean-libtool:
++	-rm -f libtool
++$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++	cd $(top_srcdir) && \
++	  $(AUTOMAKE) --foreign  tools/Makefile
++Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++	cd $(top_builddir) && \
++	  CONFIG_HEADERS= CONFIG_LINKS= \
++	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+ install-binSCRIPTS: $(bin_SCRIPTS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(bindir)
+@@ -259,11 +266,15 @@
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
++uninstall-info-am:
+ 
+-install-man1:
++man1dir = $(mandir)/man1
++install-man1: $(man1_MANS) $(man_MANS)
++	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(man1dir)
+-	@list='$(man1_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.1*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -278,10 +289,11 @@
+ 	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
+ 	  $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
+ 	done
+-
+ uninstall-man1:
+-	@list='$(man1_MANS)'; \
+-	l2='$(man_MANS)'; for i in $$l2; do \
++	@$(NORMAL_UNINSTALL)
++	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
++	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
++	for i in $$l2; do \
+ 	  case "$$i" in \
+ 	    *.1*) list="$$list $$i" ;; \
+ 	  esac; \
+@@ -294,21 +306,22 @@
+ 	  echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
+ 	  rm -f $(DESTDIR)$(man1dir)/$$inst; \
+ 	done
+-install-man: $(MANS)
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-man1
+-uninstall-man:
+-	@$(NORMAL_UNINSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) uninstall-man1
+ tags: TAGS
+ TAGS:
+ 
+ 
+-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++
++top_distdir = ..
++distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+ 	@for file in $(DISTFILES); do \
+-	  d=$(srcdir); \
++	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
++	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++	    $(mkinstalldirs) "$(distdir)/$$dir"; \
++	  fi; \
+ 	  if test -d $$d/$$file; then \
+ 	    cp -pR $$d/$$file $(distdir) \
+ 	    || exit 1; \
+@@ -318,75 +331,91 @@
+ 	    || exit 1; \
+ 	  fi; \
+ 	done
+-	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+-info-am:
+-info: info-am
+-dvi-am:
+-dvi: dvi-am
++	$(MAKE) $(AM_MAKEFLAGS) \
++	  top_distdir="${top_distdir}" distdir="$(distdir)" \
++	  dist-hook
+ check-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) check-local
+ check: check-am
+-installcheck-am:
+-installcheck: installcheck-am
+-install-exec-am: install-binSCRIPTS
+-	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+-install-exec: install-exec-am
++all-am: Makefile $(SCRIPTS) $(MANS) all-local
+ 
+-install-data-am: install-man install-data-local
+-install-data: install-data-am
++installdirs:
++	$(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(man1dir)
+ 
+-install-am: all-am
+-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ install: install-am
+-uninstall-am: uninstall-binSCRIPTS uninstall-man
++install-exec: install-exec-am
++install-data: install-data-am
+ uninstall: uninstall-am
+-all-am: Makefile $(SCRIPTS) $(MANS) all-local
+-all-redirect: all-am
+-install-strip:
+-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
+-installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1
+ 
++install-am: all-am
++	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ 
++installcheck: installcheck-am
++install-strip:
++	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++	  `test -z '$(STRIP)' || \
++	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+ mostlyclean-generic:
+ 
+ clean-generic:
+ 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+-	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ 
+ maintainer-clean-generic:
+-	-rm -f Makefile.in
+-mostlyclean-am:  mostlyclean-generic
++	@echo "This command is intended for maintainers to use"
++	@echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
+ 
+-mostlyclean: mostlyclean-am
++clean-am: clean-generic clean-libtool mostlyclean-am
+ 
+-clean-am:  clean-generic mostlyclean-am
++distclean: distclean-am
+ 
+-clean: clean-am
++distclean-am: clean-am distclean-generic distclean-libtool
+ 
+-distclean-am:  distclean-generic clean-am
+-	-rm -f libtool
++dvi: dvi-am
+ 
+-distclean: distclean-am
++dvi-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."
++info: info-am
++
++info-am:
++
++install-data-am: install-data-local install-man
++
++install-exec-am: install-binSCRIPTS
++	@$(NORMAL_INSTALL)
++	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
++
++install-info: install-info-am
++
++install-man: install-man1
++
++installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-am
+ 
+-.PHONY: uninstall-binSCRIPTS install-binSCRIPTS install-man1 \
+-uninstall-man1 install-man uninstall-man tags distdir info-am info \
+-dvi-am dvi check-local check check-am installcheck-am installcheck \
+-install-exec-am install-exec install-data-local install-data-am \
+-install-data install-am install uninstall-am uninstall all-local \
+-all-redirect all-am all install-strip installdirs mostlyclean-generic \
+-distclean-generic clean-generic maintainer-clean-generic clean \
+-mostlyclean distclean maintainer-clean
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-generic mostlyclean-libtool
++
++uninstall-am: uninstall-binSCRIPTS uninstall-info-am uninstall-man
++
++uninstall-man: uninstall-man1
++
++.PHONY: all all-am all-local check check-am check-local clean \
++	clean-generic clean-libtool distclean distclean-generic \
++	distclean-libtool distdir dvi dvi-am info info-am install \
++	install-am install-binSCRIPTS install-data install-data-am \
++	install-data-local install-exec install-exec-am install-info \
++	install-info-am install-man install-man1 install-strip \
++	installcheck installcheck-am installdirs maintainer-clean \
++	maintainer-clean-generic mostlyclean mostlyclean-generic \
++	mostlyclean-libtool uninstall uninstall-am uninstall-binSCRIPTS \
++	uninstall-info-am uninstall-man uninstall-man1
+ 
+ 
+ install-suid-programs:
+@@ -530,7 +559,6 @@
+ 		-e "s,@LIBS\@,$(LIBS),g" \
+ 		$(srcdir)/krb5-config.in > $@
+ 	chmod +x $@
+-
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.4e-old/ylwrap heimdal-0.4e/ylwrap
+--- heimdal-0.4e-old/ylwrap	Thu Jan  1 10:00:00 1970
++++ heimdal-0.4e/ylwrap	Fri Oct 19 13:28:05 2001
+@@ -0,0 +1,143 @@
++#! /bin/sh
++# ylwrap - wrapper for lex/yacc invocations.
++# Copyright 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
++# Written by Tom Tromey <tromey@cygnus.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, 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
++
++# As a special exception to the GNU General Public License, if you
++# distribute this file as part of a program that contains a
++# configuration script generated by Autoconf, you may include it under
++# the same distribution terms that you use for the rest of that program.
++
++# Usage:
++#     ylwrap INPUT [OUTPUT DESIRED]... -- PROGRAM [ARGS]...
++# * INPUT is the input file
++# * OUTPUT is file PROG generates
++# * DESIRED is file we actually want
++# * PROGRAM is program to run
++# * ARGS are passed to PROG
++# Any number of OUTPUT,DESIRED pairs may be used.
++
++# The input.
++input="$1"
++shift
++case "$input" in
++ [\\/]* | ?:[\\/]*)
++    # Absolute path; do nothing.
++    ;;
++ *)
++    # Relative path.  Make it absolute.
++    input="`pwd`/$input"
++    ;;
++esac
++
++# The directory holding the input.
++input_dir=`echo "$input" | sed -e 's,\([\\/]\)[^\\/]*$,\1,'`
++# Quote $INPUT_DIR so we can use it in a regexp.
++# FIXME: really we should care about more than `.' and `\'.
++input_rx=`echo "$input_dir" | sed -e 's,\\\\,\\\\\\\\,g' -e 's,\\.,\\\\.,g'`
++
++echo "got $input_rx"
++
++pairlist=
++while test "$#" -ne 0; do
++   if test "$1" = "--"; then
++      shift
++      break
++   fi
++   pairlist="$pairlist $1"
++   shift
++done
++
++# The program to run.
++prog="$1"
++shift
++# Make any relative path in $prog absolute.
++case "$prog" in
++ [\\/]* | ?:[\\/]*) ;;
++ *[\\/]*) prog="`pwd`/$prog" ;;
++esac
++
++# FIXME: add hostname here for parallel makes that run commands on
++# other machines.  But that might take us over the 14-char limit.
++dirname=ylwrap$$
++trap "cd `pwd`; rm -rf $dirname > /dev/null 2>&1" 1 2 3 15
++mkdir $dirname || exit 1
++
++cd $dirname
++
++$prog ${1+"$@"} "$input"
++status=$?
++
++if test $status -eq 0; then
++   set X $pairlist
++   shift
++   first=yes
++   # Since DOS filename conventions don't allow two dots,
++   # the DOS version of Bison writes out y_tab.c instead of y.tab.c
++   # and y_tab.h instead of y.tab.h. Test to see if this is the case.
++   y_tab_nodot="no"
++   if test -f y_tab.c || test -f y_tab.h; then
++      y_tab_nodot="yes"
++   fi
++
++   while test "$#" -ne 0; do
++      from="$1"
++      # Handle y_tab.c and y_tab.h output by DOS
++      if test $y_tab_nodot = "yes"; then
++	 if test $from = "y.tab.c"; then
++	    from="y_tab.c"
++	 else
++	    if test $from = "y.tab.h"; then
++	       from="y_tab.h"
++	    fi
++	 fi
++      fi
++      if test -f "$from"; then
++         # If $2 is an absolute path name, then just use that,
++         # otherwise prepend `../'.
++         case "$2" in
++	   [\\/]* | ?:[\\/]*) target="$2";;
++	   *) target="../$2";;
++	 esac
++
++	 # Edit out `#line' or `#' directives.  We don't want the
++	 # resulting debug information to point at an absolute srcdir;
++	 # it is better for it to just mention the .y file with no
++	 # path.
++	 sed -e "/^#/ s,$input_rx,," "$from" > "$target" || status=$?
++      else
++	 # A missing file is only an error for the first file.  This
++	 # is a blatant hack to let us support using "yacc -d".  If -d
++	 # is not specified, we don't want an error when the header
++	 # file is "missing".
++	 if test $first = yes; then
++	    status=1
++	 fi
++      fi
++      shift
++      shift
++      first=no
++   done
++else
++   status=$?
++fi
++
++# Remove the directory.
++cd ..
++rm -rf $dirname
++
++exit $status
--- heimdal-0.6.3.orig/debian/patches-0.4e-old/031_autotools
+++ heimdal-0.6.3/debian/patches-0.4e-old/031_autotools
@@ -0,0 +1,9 @@
+--- heimdal-0.4e/ltmain.sh.orig	Fri May 11 05:34:59 2001
++++ heimdal-0.4e/ltmain.sh	Thu May 31 02:14:09 2001
+@@ -1862,6 +1862,7 @@
+ 	    else
+ 	      # We cannot seem to hardcode it, guess we'll fake it.
+ 	      add_dir="-L$libdir"
++	      test -d $ladir/.libs && add_dir="$add_dir -L$ladir/.libs"
+ 	      add="-l$name"
+ 	    fi
--- heimdal-0.6.3.orig/debian/patches-0.5.1/023_versioned_symbols
+++ heimdal-0.6.3/debian/patches-0.5.1/023_versioned_symbols
@@ -0,0 +1,448 @@
+diff -ruN heimdal-0.5.1-old/lib/asn1/Makefile.am heimdal-0.5.1/lib/asn1/Makefile.am
+--- heimdal-0.5.1-old/lib/asn1/Makefile.am	Mon Mar 11 10:41:33 2002
++++ heimdal-0.5.1/lib/asn1/Makefile.am	Mon Mar 17 11:42:30 2003
+@@ -5,7 +5,7 @@
+ YFLAGS = -d
+ 
+ lib_LTLIBRARIES = libasn1.la
+-libasn1_la_LDFLAGS = -version-info 6:0:0
++libasn1_la_LDFLAGS = -version-info 6:0:0 -Wl,--version-script=libasn1.script
+ 
+ libasn1_la_LIBADD = @LIB_com_err@
+ 
+@@ -120,4 +120,4 @@
+ 
+ $(asn1_print_OBJECTS): krb5_asn1.h
+ 
+-EXTRA_DIST = asn1_err.et
++EXTRA_DIST = asn1_err.et libasn1.script
+diff -ruN heimdal-0.5.1-old/lib/asn1/libasn1.script heimdal-0.5.1/lib/asn1/libasn1.script
+--- heimdal-0.5.1-old/lib/asn1/libasn1.script	Thu Jan  1 10:00:00 1970
++++ heimdal-0.5.1/lib/asn1/libasn1.script	Mon Mar 17 11:36:10 2003
+@@ -0,0 +1,9 @@
++HIDDEN {
++	local:
++		__*;
++};
++
++ASN1_6_HEIMDAL {
++	global:
++		*;
++};
+diff -ruN heimdal-0.5.1-old/lib/com_err/Makefile.am heimdal-0.5.1/lib/com_err/Makefile.am
+--- heimdal-0.5.1-old/lib/com_err/Makefile.am	Mon Mar 11 10:52:41 2002
++++ heimdal-0.5.1/lib/com_err/Makefile.am	Mon Mar 17 11:42:45 2003
+@@ -1,11 +1,12 @@
+ # $Id: Makefile.am,v 1.27 2002/03/10 23:52:41 assar Exp $
+ 
+ include $(top_srcdir)/Makefile.am.common
++EXTRA_DIST=libcom_err.script
+ 
+ YFLAGS = -d
+ 
+ lib_LTLIBRARIES = libcom_err.la
+-libcom_err_la_LDFLAGS = -version-info 2:1:1
++libcom_err_la_LDFLAGS = -version-info 2:1:1 -Wl,--version-script=libcom_err.script
+ 
+ bin_PROGRAMS = compile_et
+ 
+diff -ruN heimdal-0.5.1-old/lib/com_err/libcom_err.script heimdal-0.5.1/lib/com_err/libcom_err.script
+--- heimdal-0.5.1-old/lib/com_err/libcom_err.script	Thu Jan  1 10:00:00 1970
++++ heimdal-0.5.1/lib/com_err/libcom_err.script	Mon Mar 17 11:40:52 2003
+@@ -0,0 +1,9 @@
++HIDDEN {
++	local:
++		__*;
++};
++
++COMERR_1_HEIMDAL {
++	global:
++		*;
++};
+diff -ruN heimdal-0.5.1-old/lib/des/Makefile.am heimdal-0.5.1/lib/des/Makefile.am
+--- heimdal-0.5.1-old/lib/des/Makefile.am	Sat Aug  4 13:10:23 2001
++++ heimdal-0.5.1/lib/des/Makefile.am	Mon Mar 17 11:41:59 2003
+@@ -3,7 +3,7 @@
+ include $(top_srcdir)/Makefile.am.common
+ 
+ lib_LTLIBRARIES = libdes.la
+-libdes_la_LDFLAGS = -version-info 3:1:0
++libdes_la_LDFLAGS = -version-info 3:1:0 -Wl,--version-script=libdes.script
+ 
+ include_HEADERS = des.h md4.h md5.h sha.h rc4.h
+ 
+@@ -100,7 +100,9 @@
+ 	times		\
+ 	typemap		\
+ 	version.h	\
+-	vms.com
++	vms.com		\
++	libdes.script
++
+ 
+ asm_files = des-som2.pl des-som3.pl des586.pl des686.pl desboth.pl \
+ 	dx86-cpp.s dx86unix.cpp readme win32.asm win32.obj win32.uu x86ms.pl \
+diff -ruN heimdal-0.5.1-old/lib/des/libdes.script heimdal-0.5.1/lib/des/libdes.script
+--- heimdal-0.5.1-old/lib/des/libdes.script	Thu Jan  1 10:00:00 1970
++++ heimdal-0.5.1/lib/des/libdes.script	Mon Mar 17 11:44:06 2003
+@@ -0,0 +1,9 @@
++HIDDEN {
++	local:
++		__*;
++};
++
++DES_3_HEIMDAL {
++	global:
++		*;
++};
+diff -ruN heimdal-0.5.1-old/lib/editline/Makefile.am heimdal-0.5.1/lib/editline/Makefile.am
+--- heimdal-0.5.1-old/lib/editline/Makefile.am	Mon Mar 17 11:29:14 2003
++++ heimdal-0.5.1/lib/editline/Makefile.am	Mon Mar 17 11:44:50 2003
+@@ -37,7 +37,7 @@
+ 	unix.h \
+ 	$(EXTRA_SOURCE)
+ 
+-libeditline_la_LDFLAGS = -no-undefined
++libeditline_la_LDFLAGS = -no-undefined -Wl,--version-script=libeditline.script
+ 
+ EXTRA_SOURCE = $(ES) 
+ 
+@@ -45,7 +45,7 @@
+ 
+ libel_compat_la_LDFLAGS = -no-undefined
+ 
+-EXTRA_DIST = $(man_MANS)
++EXTRA_DIST = $(man_MANS) libeditline.script
+ 
+ snprintf.c:
+ 	$(LN_S) $(srcdir)/../roken/snprintf.c .
+diff -ruN heimdal-0.5.1-old/lib/editline/libeditline.script heimdal-0.5.1/lib/editline/libeditline.script
+--- heimdal-0.5.1-old/lib/editline/libeditline.script	Thu Jan  1 10:00:00 1970
++++ heimdal-0.5.1/lib/editline/libeditline.script	Mon Mar 17 11:45:31 2003
+@@ -0,0 +1,9 @@
++HIDDEN {
++	local:
++		__*;
++};
++
++EDITLINE_0_HEIMDAL {
++	global:
++		*;
++};
+diff -ruN heimdal-0.5.1-old/lib/gssapi/Makefile.am heimdal-0.5.1/lib/gssapi/Makefile.am
+--- heimdal-0.5.1-old/lib/gssapi/Makefile.am	Mon Mar 17 11:29:14 2003
++++ heimdal-0.5.1/lib/gssapi/Makefile.am	Mon Mar 17 12:02:35 2003
+@@ -1,11 +1,12 @@
+ # $Id: Makefile.am,v 1.38 2002/03/22 12:16:17 joda Exp $
+ 
+ include $(top_srcdir)/Makefile.am.common
++EXTRA_DIST=libgssapi.script
+ 
+ INCLUDES += -I$(srcdir)/../krb5 $(INCLUDE_des) $(INCLUDE_krb4)
+ 
+ lib_LTLIBRARIES = libgssapi.la
+-libgssapi_la_LDFLAGS = -version-info 3:5:2
++libgssapi_la_LDFLAGS = -version-info 3:5:2 -Wl,--version-script=libgssapi.script
+ libgssapi_la_LIBADD  = ../krb5/libkrb5.la $(LIB_des) ../asn1/libasn1.la $(LIB_roken)
+ 
+ include_HEADERS = gssapi.h
+diff -ruN heimdal-0.5.1-old/lib/gssapi/libgssapi.script heimdal-0.5.1/lib/gssapi/libgssapi.script
+--- heimdal-0.5.1-old/lib/gssapi/libgssapi.script	Thu Jan  1 10:00:00 1970
++++ heimdal-0.5.1/lib/gssapi/libgssapi.script	Mon Mar 17 11:47:15 2003
+@@ -0,0 +1,9 @@
++HIDDEN {
++	local:
++		__*;
++};
++
++GSSAPI_1_HEIMDAL {
++	global:
++		*;
++};
+diff -ruN heimdal-0.5.1-old/lib/hdb/Makefile.am heimdal-0.5.1/lib/hdb/Makefile.am
+--- heimdal-0.5.1-old/lib/hdb/Makefile.am	Mon Mar 17 11:29:14 2003
++++ heimdal-0.5.1/lib/hdb/Makefile.am	Mon Mar 17 12:03:01 2003
+@@ -1,6 +1,7 @@
+ # $Id: Makefile.am,v 1.53 2002/08/19 16:17:16 joda Exp $
+ 
+ include $(top_srcdir)/Makefile.am.common
++EXTRA_DIST = libhdb.script
+ 
+ INCLUDES += -I../asn1 -I$(srcdir)/../asn1 $(INCLUDE_des)
+ 
+@@ -20,7 +21,7 @@
+ 	$(LIB_roken)
+ 
+ lib_LTLIBRARIES = libhdb.la
+-libhdb_la_LDFLAGS = -version-info 7:5:0
++libhdb_la_LDFLAGS = -version-info 7:5:0 -Wl,--version-script=libhdb.script
+ 
+ libhdb_la_SOURCES =				\
+ 	common.c				\
+diff -ruN heimdal-0.5.1-old/lib/hdb/libhdb.script heimdal-0.5.1/lib/hdb/libhdb.script
+--- heimdal-0.5.1-old/lib/hdb/libhdb.script	Thu Jan  1 10:00:00 1970
++++ heimdal-0.5.1/lib/hdb/libhdb.script	Mon Mar 17 11:48:26 2003
+@@ -0,0 +1,9 @@
++HIDDEN {
++	local:
++		__*;
++};
++
++HDB_7_HEIMDAL {
++	global:
++		*;
++};
+diff -ruN heimdal-0.5.1-old/lib/kadm5/Makefile.am heimdal-0.5.1/lib/kadm5/Makefile.am
+--- heimdal-0.5.1-old/lib/kadm5/Makefile.am	Mon Mar 17 11:29:14 2003
++++ heimdal-0.5.1/lib/kadm5/Makefile.am	Mon Mar 17 11:50:02 2003
+@@ -1,10 +1,11 @@
+ # $Id: Makefile.am,v 1.51 2002/08/16 20:57:09 joda Exp $
+ 
+ include $(top_srcdir)/Makefile.am.common
++EXTRA_DIST=libkadm5srv.script libkadm5clnt.script
+ 
+ lib_LTLIBRARIES = libkadm5srv.la libkadm5clnt.la
+-libkadm5srv_la_LDFLAGS = -version-info 7:5:0
+-libkadm5clnt_la_LDFLAGS = -version-info 6:3:2
++libkadm5srv_la_LDFLAGS = -version-info 7:5:0 -Wl,--version-script=libkadm5srv.script
++libkadm5clnt_la_LDFLAGS = -version-info 6:3:2 -Wl,--version-script=libkadm5clnt.script
+ sbin_PROGRAMS = dump_log replay_log truncate_log
+ 
+ libkadm5srv_la_LIBADD = ../krb5/libkrb5.la ../hdb/libhdb.la $(LIB_roken)
+diff -ruN heimdal-0.5.1-old/lib/kadm5/libkadm5clnt.script heimdal-0.5.1/lib/kadm5/libkadm5clnt.script
+--- heimdal-0.5.1-old/lib/kadm5/libkadm5clnt.script	Thu Jan  1 10:00:00 1970
++++ heimdal-0.5.1/lib/kadm5/libkadm5clnt.script	Mon Mar 17 11:50:49 2003
+@@ -0,0 +1,9 @@
++HIDDEN {
++	local:
++		__*;
++};
++
++KADM5CLNT_4_HEIMDAL {
++	global:
++		*;
++};
+diff -ruN heimdal-0.5.1-old/lib/kadm5/libkadm5srv.script heimdal-0.5.1/lib/kadm5/libkadm5srv.script
+--- heimdal-0.5.1-old/lib/kadm5/libkadm5srv.script	Thu Jan  1 10:00:00 1970
++++ heimdal-0.5.1/lib/kadm5/libkadm5srv.script	Mon Mar 17 11:51:03 2003
+@@ -0,0 +1,9 @@
++HIDDEN {
++	local:
++		__*;
++};
++
++KADM5SRV_7_HEIMDAL {
++	global:
++		*;
++};
+diff -ruN heimdal-0.5.1-old/lib/kafs/Makefile.am heimdal-0.5.1/lib/kafs/Makefile.am
+--- heimdal-0.5.1-old/lib/kafs/Makefile.am	Mon Mar 17 11:29:14 2003
++++ heimdal-0.5.1/lib/kafs/Makefile.am	Mon Mar 17 11:52:21 2003
+@@ -48,7 +48,7 @@
+ endif # KRB5
+ 
+ lib_LTLIBRARIES = $(AFSLIBS)
+-libkafs_la_LDFLAGS = -version-info 3:4:3
++libkafs_la_LDFLAGS = -version-info 3:4:3 -Wl,--version-script=libkafs.script
+ foodir = $(libdir)
+ foo_DATA = $(AFS_EXTRA_LIBS)
+ # EXTRA_DATA = afslib.so
+@@ -79,7 +79,7 @@
+ 
+ EXTRA_libkafs_la_SOURCES = afskrb5.c dlfcn.c afslib.c dlfcn.h
+ 
+-EXTRA_DIST = README.dlfcn afsl.exp afslib.exp
++EXTRA_DIST = README.dlfcn afsl.exp afslib.exp libkafs.script
+ 
+ man_MANS = kafs.3
+ 
+diff -ruN heimdal-0.5.1-old/lib/kafs/libkafs.script heimdal-0.5.1/lib/kafs/libkafs.script
+--- heimdal-0.5.1-old/lib/kafs/libkafs.script	Thu Jan  1 10:00:00 1970
++++ heimdal-0.5.1/lib/kafs/libkafs.script	Mon Mar 17 11:52:40 2003
+@@ -0,0 +1,9 @@
++HIDDEN {
++	local:
++		__*;
++};
++
++KAFS_0_HEIMDAL {
++	global:
++		*;
++};
+diff -ruN heimdal-0.5.1-old/lib/kdfs/Makefile.am heimdal-0.5.1/lib/kdfs/Makefile.am
+--- heimdal-0.5.1-old/lib/kdfs/Makefile.am	Mon Mar 11 10:53:22 2002
++++ heimdal-0.5.1/lib/kdfs/Makefile.am	Mon Mar 17 11:54:01 2003
+@@ -1,10 +1,11 @@
+ # $Id: Makefile.am,v 1.3 2002/03/10 23:53:22 assar Exp $
+ 
+ include $(top_srcdir)/Makefile.am.common
++EXTRA_DIST=libkdfs.script
+ 
+ lib_LTLIBRARIES = libkdfs.la
+ 
+ libkdfs_la_SOURCES = \
+ 	k5dfspag.c
+ 
+-libkdfs_la_LDFLAGS = -version-info 0:2:0
++libkdfs_la_LDFLAGS = -version-info 0:2:0 -Wl,--version-script=libkdfs.script
+diff -ruN heimdal-0.5.1-old/lib/kdfs/libkdfs.script heimdal-0.5.1/lib/kdfs/libkdfs.script
+--- heimdal-0.5.1-old/lib/kdfs/libkdfs.script	Thu Jan  1 10:00:00 1970
++++ heimdal-0.5.1/lib/kdfs/libkdfs.script	Mon Mar 17 11:53:22 2003
+@@ -0,0 +1,9 @@
++HIDDEN {
++	local:
++		__*;
++};
++
++KDFS_0_HEIMDAL {
++	global:
++		*;
++};
+diff -ruN heimdal-0.5.1-old/lib/krb5/Makefile.am heimdal-0.5.1/lib/krb5/Makefile.am
+--- heimdal-0.5.1-old/lib/krb5/Makefile.am	Mon Mar 17 11:29:14 2003
++++ heimdal-0.5.1/lib/krb5/Makefile.am	Mon Mar 17 11:54:47 2003
+@@ -1,6 +1,7 @@
+ # $Id: Makefile.am,v 1.147.2.1 2002/10/21 15:03:14 joda Exp $
+ 
+ include $(top_srcdir)/Makefile.am.common
++EXTRA_DIST=libkrb5.script
+ 
+ INCLUDES += $(INCLUDE_krb4) $(INCLUDE_des) -I../com_err -I$(srcdir)/../com_err
+ 
+@@ -130,7 +131,7 @@
+ 	write_message.c				\
+ 	$(ERR_FILES)
+ 
+-libkrb5_la_LDFLAGS = -version-info 18:4:1
++libkrb5_la_LDFLAGS = -version-info 18:4:1 -Wl,--version-script=libkrb5.script
+ 
+ $(libkrb5_la_OBJECTS): $(srcdir)/krb5-protos.h $(srcdir)/krb5-private.h
+ 
+diff -ruN heimdal-0.5.1-old/lib/krb5/libkrb5.script heimdal-0.5.1/lib/krb5/libkrb5.script
+--- heimdal-0.5.1-old/lib/krb5/libkrb5.script	Thu Jan  1 10:00:00 1970
++++ heimdal-0.5.1/lib/krb5/libkrb5.script	Mon Mar 17 14:08:25 2003
+@@ -0,0 +1,9 @@
++HIDDEN {
++	local:
++		__*;
++};
++
++KRB5_17_HEIMDAL {
++	global:
++		*;
++};
+diff -ruN heimdal-0.5.1-old/lib/otp/Makefile.am heimdal-0.5.1/lib/otp/Makefile.am
+--- heimdal-0.5.1-old/lib/otp/Makefile.am	Wed Aug 14 00:02:54 2002
++++ heimdal-0.5.1/lib/otp/Makefile.am	Mon Mar 17 11:57:02 2003
+@@ -1,6 +1,7 @@
+ # $Id: Makefile.am,v 1.22 2002/08/13 14:02:54 joda Exp $
+ 
+ include $(top_srcdir)/Makefile.am.common
++EXTRA_DIST=libotp.script
+ 
+ INCLUDES += $(INCLUDE_des) $(ROKEN_RENAME)
+ 
+@@ -13,7 +14,7 @@
+ include_HEADERS = otp.h
+ 
+ lib_LTLIBRARIES = libotp.la
+-libotp_la_LDFLAGS = -version-info 1:3:1
++libotp_la_LDFLAGS = -version-info 1:3:1 -Wl,--version-script=libotp.script
+ libotp_la_LIBADD  = $(LIB_des) $(LIB_roken) $(LIB_NDBM)
+ 
+ if HAVE_DB3
+diff -ruN heimdal-0.5.1-old/lib/otp/libotp.script heimdal-0.5.1/lib/otp/libotp.script
+--- heimdal-0.5.1-old/lib/otp/libotp.script	Thu Jan  1 10:00:00 1970
++++ heimdal-0.5.1/lib/otp/libotp.script	Mon Mar 17 11:56:44 2003
+@@ -0,0 +1,9 @@
++HIDDEN {
++	local:
++		__*;
++};
++
++OTP_0_HEIMDAL {
++	global:
++		*;
++};
+diff -ruN heimdal-0.5.1-old/lib/roken/Makefile.am heimdal-0.5.1/lib/roken/Makefile.am
+--- heimdal-0.5.1-old/lib/roken/Makefile.am	Mon Mar 17 11:29:14 2003
++++ heimdal-0.5.1/lib/roken/Makefile.am	Mon Mar 17 11:57:47 2003
+@@ -7,7 +7,7 @@
+ CLEANFILES = roken.h make-roken.c $(XHEADERS)
+ 
+ lib_LTLIBRARIES = libroken.la
+-libroken_la_LDFLAGS = -version-info 16:1:0
++libroken_la_LDFLAGS = -version-info 16:1:0 -Wl,--version-script=libroken.script
+ 
+ noinst_PROGRAMS = make-roken snprintf-test
+ 
+@@ -160,7 +160,7 @@
+ 	warnx.c			\
+ 	writev.c
+ 
+-EXTRA_DIST = roken.awk roken.h.in
++EXTRA_DIST = roken.awk roken.h.in libroken.script
+ 
+ libroken_la_LIBADD = @LTLIBOBJS@ $(DBLIB)
+ 
+diff -ruN heimdal-0.5.1-old/lib/roken/libroken.script heimdal-0.5.1/lib/roken/libroken.script
+--- heimdal-0.5.1-old/lib/roken/libroken.script	Thu Jan  1 10:00:00 1970
++++ heimdal-0.5.1/lib/roken/libroken.script	Mon Mar 17 11:58:16 2003
+@@ -0,0 +1,9 @@
++HIDDEN {
++	local:
++		__*;
++};
++
++ROKEN_16_HEIMDAL {
++	global:
++		*;
++};
+diff -ruN heimdal-0.5.1-old/lib/sl/Makefile.am heimdal-0.5.1/lib/sl/Makefile.am
+--- heimdal-0.5.1-old/lib/sl/Makefile.am	Tue Aug 13 23:48:17 2002
++++ heimdal-0.5.1/lib/sl/Makefile.am	Mon Mar 17 11:58:58 2003
+@@ -1,6 +1,7 @@
+ # $Id: Makefile.am,v 1.29 2002/08/13 13:48:17 joda Exp $
+ 
+ include $(top_srcdir)/Makefile.am.common
++EXTRA_DIST=libsl.script libss.script
+ 
+ if do_roken_rename
+ ES = strtok_r.c snprintf.c strdup.c strupr.c getprogname.c
+@@ -13,8 +14,8 @@
+ include_HEADERS = sl.h
+ 
+ lib_LTLIBRARIES = libsl.la libss.la
+-libsl_la_LDFLAGS = -version-info 1:2:1
+-libss_la_LDFLAGS = -version-info 1:4:1
++libsl_la_LDFLAGS = -version-info 1:2:1 -Wl,--version-script=libsl.script
++libss_la_LDFLAGS = -version-info 1:4:1 -Wl,--version-script=libss.script
+ 
+ libsl_la_LIBADD = @LIB_readline@
+ libss_la_LIBADD = @LIB_readline@ @LIB_com_err@
+diff -ruN heimdal-0.5.1-old/lib/sl/libsl.script heimdal-0.5.1/lib/sl/libsl.script
+--- heimdal-0.5.1-old/lib/sl/libsl.script	Thu Jan  1 10:00:00 1970
++++ heimdal-0.5.1/lib/sl/libsl.script	Mon Mar 17 11:59:47 2003
+@@ -0,0 +1,9 @@
++HIDDEN {
++	local:
++		__*;
++};
++
++SL_0_HEIMDAL {
++	global:
++		*;
++};
+diff -ruN heimdal-0.5.1-old/lib/sl/libss.script heimdal-0.5.1/lib/sl/libss.script
+--- heimdal-0.5.1-old/lib/sl/libss.script	Thu Jan  1 10:00:00 1970
++++ heimdal-0.5.1/lib/sl/libss.script	Mon Mar 17 11:59:52 2003
+@@ -0,0 +1,9 @@
++HIDDEN {
++	local:
++		__*;
++};
++
++SS_0_HEIMDAL {
++	global:
++		*;
++};
--- heimdal-0.6.3.orig/debian/patches-0.5.1/001_gssapi_forward
+++ heimdal-0.6.3/debian/patches-0.5.1/001_gssapi_forward
@@ -0,0 +1,55 @@
+diff -Naur heimdal-0.5.1-old/lib/gssapi/init_sec_context.c heimdal-0.5.1/lib/gssapi/init_sec_context.c
+--- heimdal-0.5.1-old/lib/gssapi/init_sec_context.c	2002-09-02 19:16:12.000000000 +0200
++++ heimdal-0.5.1/lib/gssapi/init_sec_context.c	2003-02-20 23:07:12.000000000 +0100
+@@ -117,15 +117,6 @@
+     memset (&creds, 0, sizeof(creds));
+     krb5_data_zero (fwd_data);
+        
+-    kret = krb5_generate_subkey (gssapi_krb5_context, &cred->session, &subkey);
+-    if (kret)
+-	goto out;
+-       
+-    kret = krb5_auth_con_setlocalsubkey(gssapi_krb5_context, ac, subkey);
+-    krb5_free_keyblock (gssapi_krb5_context, subkey);
+-    if (kret)
+-	goto out;
+-       
+     kret = krb5_cc_get_principal(gssapi_krb5_context, ccache, &creds.client);
+     if (kret) 
+ 	goto out;
+@@ -316,7 +307,17 @@
+     krb5_auth_con_setkey(gssapi_krb5_context, 
+ 			 (*context_handle)->auth_context, 
+ 			 &cred->session);
+-  
++    
++    kret = krb5_auth_con_generatelocalsubkey(gssapi_krb5_context,
++					    (*context_handle)->auth_context,
++					    &cred->session);
++    if(kret) {
++       gssapi_krb5_set_error_string ();
++       *minor_status = kret;
++       ret = GSS_S_FAILURE;
++       goto failure;
++    }
++
+     flags = 0;
+     ap_options = 0;
+     if (req_flags & GSS_C_DELEG_FLAG)
+@@ -367,16 +368,6 @@
+     }
+ #endif
+ 
+-    kret = krb5_auth_con_generatelocalsubkey(gssapi_krb5_context, 
+-					     (*context_handle)->auth_context,
+-					     &cred->session);
+-    if(kret) {
+-	gssapi_krb5_set_error_string ();
+-	*minor_status = kret;
+-	ret = GSS_S_FAILURE;
+-	goto failure;
+-    }
+-
+     kret = krb5_build_authenticator (gssapi_krb5_context,
+ 				     (*context_handle)->auth_context,
+ 				     enctype,
--- heimdal-0.6.3.orig/debian/patches-0.5.1/011_sharedlibs
+++ heimdal-0.6.3/debian/patches-0.5.1/011_sharedlibs
@@ -0,0 +1,43 @@
+diff -ruN heimdal-0.5.1-old/lib/editline/Makefile.am heimdal-0.5.1/lib/editline/Makefile.am
+--- heimdal-0.5.1-old/lib/editline/Makefile.am	Wed Nov 15 10:22:29 2000
++++ heimdal-0.5.1/lib/editline/Makefile.am	Thu Nov 15 11:59:31 2001
+@@ -38,13 +38,13 @@
+ 	unix.h \
+ 	$(EXTRA_SOURCE)
+ 
+-libeditline_la_LDFLAGS = -static
++libeditline_la_LDFLAGS = -no-undefined
+ 
+ EXTRA_SOURCE = $(ES) 
+ 
+ libel_compat_la_SOURCES = edit_compat.c
+ 
+-libel_compat_la_LDFLAGS = -static
++libel_compat_la_LDFLAGS = -no-undefined
+ 
+ EXTRA_DIST = $(man_MANS)
+ 
+diff -ruN heimdal-0.5.1-old/tools/krb5-config.in heimdal-0.5.1/tools/krb5-config.in
+--- heimdal-0.5.1-old/tools/krb5-config.in	Mon Jan 29 17:56:51 2001
++++ heimdal-0.5.1/tools/krb5-config.in	Thu Nov 15 11:59:31 2001
+@@ -89,6 +89,9 @@
+ if test "$do_libs" = "yes"; then
+     lib_flags="-L${libdir}"
+     case $library in
++    krb5)
++	lib_flags="$lib_flags -lkrb5"
++	;;
+     gssapi)
+ 	lib_flags="$lib_flags -lgssapi"
+ 	;;
+@@ -99,8 +102,8 @@
+ 	lib_flags="$lib_flags -lkadm5srv"
+ 	;;
+     esac
+-    lib_flags="$lib_flags -lkrb5 -lasn1 @LIB_des_appl@ -lroken"
+-    lib_flags="$lib_flags @LIB_crypt@ @LIB_dbopen@ @LIBS@"
++#    lib_flags="$lib_flags -lkrb5 -lasn1 @LIB_des_appl@ -lroken"
++#    lib_flags="$lib_flags @LIB_crypt@ @LIB_dbopen@ @LIBS@"
+     echo $lib_flags
+ fi
+ if test "$do_cflags" = "yes"; then
--- heimdal-0.6.3.orig/debian/patches-0.5.1/012_sharedlibs
+++ heimdal-0.6.3/debian/patches-0.5.1/012_sharedlibs
@@ -0,0 +1,345 @@
+diff -ruN heimdal-0.5.1-old/admin/Makefile.am heimdal-0.5.1/admin/Makefile.am
+--- heimdal-0.5.1-old/admin/Makefile.am	Tue Aug 28 18:31:19 2001
++++ heimdal-0.5.1/admin/Makefile.am	Tue Jan  7 13:51:53 2003
+@@ -24,6 +24,6 @@
+ 	$(top_builddir)/lib/krb5/libkrb5.la \
+ 	$(LIB_des) \
+ 	$(top_builddir)/lib/asn1/libasn1.la \
+-	$(top_builddir)/lib/sl/libsl.la \
++	$(LIB_sl) \
+ 	$(LIB_readline) \
+ 	$(LIB_roken)
+diff -ruN heimdal-0.5.1-old/appl/otp/Makefile.am heimdal-0.5.1/appl/otp/Makefile.am
+--- heimdal-0.5.1-old/appl/otp/Makefile.am	Tue Aug 28 18:31:21 2001
++++ heimdal-0.5.1/appl/otp/Makefile.am	Tue Jan  7 13:51:53 2003
+@@ -12,4 +12,4 @@
+ man_MANS = otp.1  otpprint.1
+ 
+ LDADD = \
+-	$(top_builddir)/lib/otp/libotp.la
++	$(LIB_otp)
+diff -ruN heimdal-0.5.1-old/cf/Makefile.am.common heimdal-0.5.1/cf/Makefile.am.common
+--- heimdal-0.5.1-old/cf/Makefile.am.common	Tue Aug 20 02:10:25 2002
++++ heimdal-0.5.1/cf/Makefile.am.common	Tue Jan  7 13:51:53 2003
+@@ -57,6 +57,17 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++LIB_roken = @LIB_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ LEXLIB = @LEXLIB@
+ 
+ install-suid-programs:
+diff -ruN heimdal-0.5.1-old/cf/krb-readline.m4 heimdal-0.5.1/cf/krb-readline.m4
+--- heimdal-0.5.1-old/cf/krb-readline.m4	Thu Aug 29 12:22:32 2002
++++ heimdal-0.5.1/cf/krb-readline.m4	Tue Jan  7 13:51:53 2003
+@@ -28,8 +28,10 @@
+ 	:
+ elif test "$ac_cv_func_el_init" = yes; then
+ 	ac_foo=yes
++	DIR_readline="editline"
+ 	LIB_readline="\$(top_builddir)/lib/editline/libel_compat.la \$(LIB_el_init) \$(LIB_tgetent)"
+ else
++	DIR_readline="editline"
+ 	LIB_readline="\$(top_builddir)/lib/editline/libeditline.la \$(LIB_tgetent)"
+ fi
+ AM_CONDITIONAL(el_compat, test "$ac_foo" = yes)
+diff -ruN heimdal-0.5.1-old/cf/otp.m4 heimdal-0.5.1/cf/otp.m4
+--- heimdal-0.5.1-old/cf/otp.m4	Mon May 20 06:51:08 2002
++++ heimdal-0.5.1/cf/otp.m4	Tue Jan  7 14:06:31 2003
+@@ -18,8 +18,6 @@
+ fi
+ if test "$enable_otp" = yes; then
+ 	AC_DEFINE(OTP, 1, [Define if you want OTP support in applications.])
+-	LIB_otp='$(top_builddir)/lib/otp/libotp.la'
+-	AC_SUBST(LIB_otp)
+ fi
+ AC_MSG_CHECKING([whether to enable OTP library])
+ AC_MSG_RESULT($enable_otp)
+diff -ruN heimdal-0.5.1-old/cf/roken-frag.m4 heimdal-0.5.1/cf/roken-frag.m4
+--- heimdal-0.5.1-old/cf/roken-frag.m4	Thu Sep  5 06:57:30 2002
++++ heimdal-0.5.1/cf/roken-frag.m4	Tue Jan  7 13:51:53 2003
+@@ -8,9 +8,9 @@
+ 
+ AC_REQUIRE([rk_CONFIG_HEADER])
+ 
+-DIR_roken=roken
+-LIB_roken='$(top_builddir)/$1/libroken.la'
+-INCLUDES_roken='-I$(top_builddir)/$1 -I$(top_srcdir)/$1'
++dnl DIR_roken=roken
++dnl LIB_roken='$(top_builddir)/$1/libroken.la'
++dnl INCLUDES_roken='-I$(top_builddir)/$1 -I$(top_srcdir)/$1'
+ 
+ dnl Checks for programs
+ AC_REQUIRE([AC_PROG_CC])
+@@ -643,9 +643,9 @@
+ dnl moved to AC_OUTPUT in configure.in
+ dnl AC_CONFIG_FILES($1/Makefile)
+ 
+-LIB_roken="${LIB_roken} \$(LIB_crypt) \$(LIB_dbopen)"
++dnl LIB_roken="${LIB_roken} \$(LIB_crypt) \$(LIB_dbopen)"
+ 
+-AC_SUBST(DIR_roken)dnl
+-AC_SUBST(LIB_roken)dnl
+-AC_SUBST(INCLUDES_roken)dnl
++dnl AC_SUBST(DIR_roken)dnl
++dnl AC_SUBST(LIB_roken)dnl
++dnl AC_SUBST(INCLUDES_roken)dnl
+ ])
+diff -ruN heimdal-0.5.1-old/cf/roken.m4 heimdal-0.5.1/cf/roken.m4
+--- heimdal-0.5.1-old/cf/roken.m4	Wed May  1 02:46:33 2002
++++ heimdal-0.5.1/cf/roken.m4	Tue Jan  7 13:51:53 2003
+@@ -34,10 +34,10 @@
+ 
+ AC_TRY_CPP(
+ [#include <roken.h>
+-#if ROKEN_VERSION < $1
+-#error old roken version, should be $1
+-fail
+-#endif
++//#if ROKEN_VERSION < $1
++//#error old roken version, should be $1
++//fail
++//#endif
+ ],[roken_installed=yes; break])
+ 
+ AC_MSG_RESULT($roken_installed)
+@@ -50,12 +50,13 @@
+   DIR_roken="roken"
+   LIB_roken='$4'
+   CPPFLAGS_roken='$5'
+-  AC_CONFIG_SUBDIRS(lib/roken)
++dnl  AC_CONFIG_SUBDIRS(lib/roken)
+ else
+   LIB_roken="$i/lib/libroken.la"
+   CPPFLAGS_roken="-I$i/include"
+ fi
+ 
++AC_FIND_FUNC_NO_LIBS(crypt, crypt)dnl
+ LIB_roken="${LIB_roken} \$(LIB_crypt) \$(LIB_dbopen)"
+ 
+ AC_SUBST(LIB_roken)dnl
+diff -ruN heimdal-0.5.1-old/cf/test-package.m4 heimdal-0.5.1/cf/test-package.m4
+--- heimdal-0.5.1-old/cf/test-package.m4	Wed Sep 11 01:23:38 2002
++++ heimdal-0.5.1/cf/test-package.m4	Tue Jan  7 13:51:53 2003
+@@ -37,7 +37,7 @@
+ 
+ header_dirs=
+ lib_dirs=
+-for i in $d; do
++for i in $d /usr; do
+ 	if test "$with_$1_include" = ""; then
+ 		if test -d "$i/include/$1"; then
+ 			header_dirs="$header_dirs $i/include/$1"
+@@ -100,6 +100,7 @@
+ 			AC_TRY_LINK([$2],,lres=$i;break)
+ 		done
+ 		if test "$ires" -a "$lres" -a "$with_$1" != "no"; then
++			DIR_$1=
+ 			INCLUDE_$1="-I$ires"
+ 			LIB_$1="-L$lres $3 $4"
+ 			found=yes
+@@ -115,11 +116,13 @@
+ 	with_$1=yes
+ else
+ 	with_$1=no
++	DIR_$1=
+ 	INCLUDE_$1=
+ 	LIB_$1=
+ 	AC_MSG_RESULT(no)
+ fi
+ 
++AC_SUBST(DIR_$1)
+ AC_SUBST(INCLUDE_$1)
+ AC_SUBST(LIB_$1)
+ ])
+diff -ruN heimdal-0.5.1-old/configure.in heimdal-0.5.1/configure.in
+--- heimdal-0.5.1-old/configure.in	Tue Oct 22 01:05:42 2002
++++ heimdal-0.5.1/configure.in	Tue Jan  7 14:07:00 2003
+@@ -181,9 +181,10 @@
+ 
+ rk_DB
+ 
+-dnl AC_ROKEN(10,[/usr/heimdal /usr/athena],[lib/roken],[$(top_builddir)/lib/roken/libroken.la],[-I$(top_builddir)/lib/roken -I$(top_srcdir)/lib/roken])
+-
+-rk_ROKEN(lib/roken)
++AC_ROKEN(10,[/usr/heimdal /usr/athena],[lib/roken],[$(top_builddir)/lib/roken/libroken.la],[-I$(top_builddir)/lib/roken -I$(top_srcdir)/lib/roken])
++#if ! test "$roken_installed" = yes; then
++	rk_ROKEN(lib/roken)
++#fi
+ LIB_roken="\$(top_builddir)/lib/vers/libvers.la $LIB_roken"
+ 
+ rk_OTP
+@@ -203,6 +204,26 @@
+  #include <readline.h>],-lreadline,,, READLINE)
+ 
+ rk_TEST_PACKAGE(hesiod,[#include <hesiod.h>],-lhesiod,,, HESIOD)
++
++rk_TEST_PACKAGE(sl,,-lsl,,,SL)
++if ! test "$with_sl" = yes; then
++	DIR_sl="sl"
++	LIB_sl='$(top_builddir)/lib/sl/libsl.la'
++fi
++rk_TEST_PACKAGE(ss,,-lss,,,SS)
++if ! test "$with_sl" = yes; then
++	DIR_sl="sl"
++	LIB_sl='$(top_builddir)/lib/sl/libsl.la'
++	DIR_ss=""
++	LIB_ss='$(top_builddir)/lib/sl/libss.la'
++fi
++if test "$enable_otp" = "yes"; then
++  rk_TEST_PACKAGE(otp,,-lotp,,,OTP)
++  if ! test "$with_otp" = yes; then
++	DIR_otp="otp"
++ 	LIB_otp='$(top_builddir)/lib/otp/libotp.la'
++  fi
++fi
+ 
+ KRB_C_BIGENDIAN
+ AC_C_INLINE
+diff -ruN heimdal-0.5.1-old/kadmin/Makefile.am heimdal-0.5.1/kadmin/Makefile.am
+--- heimdal-0.5.1-old/kadmin/Makefile.am	Tue Aug 28 18:31:26 2001
++++ heimdal-0.5.1/kadmin/Makefile.am	Tue Jan  7 13:51:53 2003
+@@ -62,7 +62,7 @@
+ kadmin_LDADD = \
+ 	$(top_builddir)/lib/kadm5/libkadm5clnt.la \
+ 	$(top_builddir)/lib/kadm5/libkadm5srv.la \
+-	$(top_builddir)/lib/sl/libsl.la \
++	$(LIB_sl) \
+ 	$(LIB_readline) \
+ 	$(LDADD_common) \
+ 	$(LIB_dlopen)
+diff -ruN heimdal-0.5.1-old/lib/Makefile.am heimdal-0.5.1/lib/Makefile.am
+--- heimdal-0.5.1-old/lib/Makefile.am	Wed Aug 29 04:44:41 2001
++++ heimdal-0.5.1/lib/Makefile.am	Tue Jan  7 13:51:53 2003
+@@ -5,12 +5,9 @@
+ if KRB4
+ dir_45 = 45
+ endif
+-if OTP
+-dir_otp = otp
+-endif
+ if DCE
+ dir_dce = kdfs
+ endif
+ 
+-SUBDIRS = @DIR_roken@ vers editline @DIR_com_err@ sl asn1 @DIR_des@ krb5 \
+-	kafs hdb kadm5 gssapi auth $(dir_45) $(dir_otp) $(dir_dce)
++SUBDIRS = @DIR_roken@ vers @DIR_readline@ @DIR_com_err@ @DIR_sl@ asn1 @DIR_des@ krb5 \
++	kafs hdb kadm5 gssapi auth $(dir_45) @DIR_otp@ $(dir_dce)
+diff -ruN heimdal-0.5.1-old/lib/auth/afskauthlib/Makefile.am heimdal-0.5.1/lib/auth/afskauthlib/Makefile.am
+--- heimdal-0.5.1-old/lib/auth/afskauthlib/Makefile.am	Sun Jul 15 14:21:07 2001
++++ heimdal-0.5.1/lib/auth/afskauthlib/Makefile.am	Tue Jan  7 13:51:53 2003
+@@ -23,7 +23,7 @@
+ 	$(COMPILE) -c $<
+ 
+ if KRB4
+-KAFS = $(top_builddir)/lib/kafs/libkafs.la
++KAFS = $(LIB_kafs)
+ endif
+ 
+ if KRB5
+@@ -33,7 +33,7 @@
+ 	$(top_builddir)/lib/asn1/libasn1.la	\
+ 	$(LIB_krb4)				\
+ 	$(LIB_des)				\
+-	$(top_builddir)/lib/roken/libroken.la	\
++	$(LIB_roken)	\
+ 	-lc
+ 
+ else
+@@ -42,7 +42,7 @@
+ 	$(KAFS)	\
+ 	$(LIB_krb4)				\
+ 	$(LIB_des)				\
+-	$(top_builddir)/lib/roken/libroken.la	\
++	$(LIB_roken)	\
+ 	-lc
+ endif
+ 
+diff -ruN heimdal-0.5.1-old/lib/gssapi/Makefile.am heimdal-0.5.1/lib/gssapi/Makefile.am
+--- heimdal-0.5.1-old/lib/gssapi/Makefile.am	Fri Mar 22 23:16:17 2002
++++ heimdal-0.5.1/lib/gssapi/Makefile.am	Tue Jan  7 13:51:53 2003
+@@ -6,7 +6,7 @@
+ 
+ lib_LTLIBRARIES = libgssapi.la
+ libgssapi_la_LDFLAGS = -version-info 3:5:2
+-libgssapi_la_LIBADD  = ../krb5/libkrb5.la $(LIB_des) ../asn1/libasn1.la ../roken/libroken.la
++libgssapi_la_LIBADD  = ../krb5/libkrb5.la $(LIB_des) ../asn1/libasn1.la $(LIB_roken)
+ 
+ include_HEADERS = gssapi.h
+ 
+diff -ruN heimdal-0.5.1-old/lib/hdb/Makefile.am heimdal-0.5.1/lib/hdb/Makefile.am
+--- heimdal-0.5.1-old/lib/hdb/Makefile.am	Tue Aug 20 02:17:16 2002
++++ heimdal-0.5.1/lib/hdb/Makefile.am	Tue Jan  7 13:51:53 2003
+@@ -38,7 +38,7 @@
+ 
+ include_HEADERS = hdb.h hdb_err.h hdb_asn1.h hdb-protos.h hdb-private.h
+ 
+-libhdb_la_LIBADD = ../krb5/libkrb5.la ../asn1/libasn1.la ../roken/libroken.la $(LIB_openldap) $(DBLIB) $(LIB_NDBM)
++libhdb_la_LIBADD = ../krb5/libkrb5.la ../asn1/libasn1.la $(LIB_roken) $(LIB_openldap) $(DBLIB) $(LIB_NDBM)
+ 
+ $(libhdb_la_OBJECTS): $(srcdir)/hdb-protos.h $(srcdir)/hdb-private.h
+ 
+diff -ruN heimdal-0.5.1-old/lib/kadm5/Makefile.am heimdal-0.5.1/lib/kadm5/Makefile.am
+--- heimdal-0.5.1-old/lib/kadm5/Makefile.am	Sat Aug 17 06:57:09 2002
++++ heimdal-0.5.1/lib/kadm5/Makefile.am	Tue Jan  7 13:51:53 2003
+@@ -7,8 +7,8 @@
+ libkadm5clnt_la_LDFLAGS = -version-info 6:3:2
+ sbin_PROGRAMS = dump_log replay_log truncate_log
+ 
+-libkadm5srv_la_LIBADD = ../krb5/libkrb5.la ../hdb/libhdb.la ../roken/libroken.la
+-libkadm5clnt_la_LIBADD = ../krb5/libkrb5.la ../hdb/libhdb.la ../roken/libroken.la
++libkadm5srv_la_LIBADD = ../krb5/libkrb5.la ../hdb/libhdb.la $(LIB_roken)
++libkadm5clnt_la_LIBADD = ../krb5/libkrb5.la ../hdb/libhdb.la $(LIB_roken)
+ 
+ libexec_PROGRAMS = ipropd-master ipropd-slave
+ 
+diff -ruN heimdal-0.5.1-old/lib/kafs/Makefile.am heimdal-0.5.1/lib/kafs/Makefile.am
+--- heimdal-0.5.1-old/lib/kafs/Makefile.am	Tue Aug 20 01:08:37 2002
++++ heimdal-0.5.1/lib/kafs/Makefile.am	Tue Jan  7 13:51:53 2003
+@@ -42,9 +42,9 @@
+ endif # KRB4
+ 
+ if KRB5
+-libkafs_la_LIBADD = ../krb5/libkrb5.la ../roken/libroken.la $(DEPLIB_krb4)
++libkafs_la_LIBADD = ../krb5/libkrb5.la $(LIB_roken) $(DEPLIB_krb4)
+ else
+-libkafs_la_LIBADD = ../roken/libroken.la $(DEPLIB_krb4)
++libkafs_la_LIBADD = $(LIB_roken) $(DEPLIB_krb4)
+ endif # KRB5
+ 
+ lib_LTLIBRARIES = $(AFSLIBS)
+diff -ruN heimdal-0.5.1-old/lib/krb5/Makefile.am heimdal-0.5.1/lib/krb5/Makefile.am
+--- heimdal-0.5.1-old/lib/krb5/Makefile.am	Tue Oct 22 01:03:14 2002
++++ heimdal-0.5.1/lib/krb5/Makefile.am	Tue Jan  7 13:51:53 2003
+@@ -24,7 +24,7 @@
+ 	$(LIB_roken)
+ 
+ libkrb5_la_LIBADD = \
+-	../com_err/error.lo ../com_err/com_err.lo \
++	$(LIB_com_err) \
+ 	$(LIB_des) \
+ 	$(top_builddir)/lib/asn1/libasn1.la \
+ 	$(LIB_roken)
+diff -ruN heimdal-0.5.1-old/lib/roken/acconfig.h heimdal-0.5.1/lib/roken/acconfig.h
+--- heimdal-0.5.1-old/lib/roken/acconfig.h	Sun Jul  9 00:22:08 2000
++++ heimdal-0.5.1/lib/roken/acconfig.h	Tue Jan  7 13:51:53 2003
+@@ -12,7 +12,7 @@
+ #endif
+ 
+ #define RCSID(msg) \
+-static /**/const char *const rcsid[] = { (const char *)rcsid, "\100(#)" msg }
++static /**/const char *const rcsid[] = { (const char *)rcsid, "@(#)" msg }
+ 
+ #undef PROTOTYPES
+ 
--- heimdal-0.6.3.orig/debian/patches-0.5.1/013_maildir
+++ heimdal-0.6.3/debian/patches-0.5.1/013_maildir
@@ -0,0 +1,40 @@
+Index: heimdal-0.5.1/appl/popper/pop_pass.c
+===================================================================
+RCS file: /homes/bam/cvsroot/debian/heimdal/appl/popper/pop_pass.c,v
+retrieving revision 1.1.1.3
+retrieving revision 1.5
+diff -c -r1.1.1.3 -r1.5
+*** heimdal-0.5.1/appl/popper/pop_pass.c 2000/05/19 05:23:42 1.1.1.3
+--- heimdal-0.5.1/appl/popper/pop_pass.c	2000/05/19 05:33:06	1.5
+***************
+*** 197,203 ****
+  	    p->ipaddr, p->user);
+  
+      /*  Build the name of the user's maildrop */
+!     snprintf(p->drop_name, sizeof(p->drop_name), "%s/%s", POP_MAILDIR, p->user);
+  
+      if(stat(p->drop_name, &st) < 0 || !S_ISDIR(st.st_mode)){
+  	/*  Make a temporary copy of the user's maildrop */
+--- 197,218 ----
+  	    p->ipaddr, p->user);
+  
+      /*  Build the name of the user's maildrop */
+! 
+!     /* Try ~/Maildir */
+!     if (pw->pw_dir != NULL)
+! 	{
+!         snprintf(p->drop_name, sizeof(p->drop_name), "%s/%s", pw->pw_dir, "Maildir");
+! 	}
+!     if(pw->pw_dir != NULL && stat(p->drop_name, &st) < 0)
+! 	{
+!     	/* else try ~/Mailbox */
+! 	snprintf(p->drop_name, sizeof(p->drop_name), "%s/%s", pw->pw_dir, "Mailbox");
+! 	}
+!     if(pw->pw_dir == NULL || stat(p->drop_name, &st) < 0)
+! 	{
+!     	/* else try /var/spool/mail/userid */
+! 	snprintf(p->drop_name, sizeof(p->drop_name), "%s/%s", POP_MAILDIR, p->user);
+! 	}
+  
+      if(stat(p->drop_name, &st) < 0 || !S_ISDIR(st.st_mode)){
+  	/*  Make a temporary copy of the user's maildrop */
--- heimdal-0.6.3.orig/debian/patches-0.5.1/014_cache
+++ heimdal-0.6.3/debian/patches-0.5.1/014_cache
@@ -0,0 +1,72 @@
+diff -ruN heimdal-0.5.1-old/lib/krb5/cache.c heimdal-0.5.1/lib/krb5/cache.c
+--- heimdal-0.5.1-old/lib/krb5/cache.c	Mon May 14 16:14:45 2001
++++ heimdal-0.5.1/lib/krb5/cache.c	Tue Jun 19 20:16:49 2001
+@@ -99,13 +99,28 @@
+ {
+     krb5_error_code ret;
+     krb5_ccache p;
++    krb5_cc_ops *q;
+ 
+     p = malloc(sizeof(*p));
+     if(p == NULL) {
+ 	krb5_set_error_string(context, "malloc: out of memory");
+ 	return KRB5_CC_NOMEM;
+     }
+-    p->ops = ops;
++
++    q = malloc(sizeof(*q));
++    if(q == NULL) {
++	krb5_set_error_string(context, "malloc: out of memory");
++        return KRB5_CC_NOMEM;
++    }
++    memcpy(q, ops, sizeof(*q));
++    q->prefix = strdup(ops->prefix);
++    if(q->prefix == NULL) {
++        free(q);
++	krb5_set_error_string(context, "strdup: out of memory");
++        return KRB5_CC_NOMEM;
++    }
++
++    p->ops = q;
+     *id = p;
+     ret = p->ops->resolve(context, id, residual);
+     if(ret)
+@@ -155,13 +170,28 @@
+ 		krb5_ccache *id)
+ {
+     krb5_ccache p;
++    krb5_cc_ops *q;
+ 
+     p = malloc (sizeof(*p));
+     if (p == NULL) {
+ 	krb5_set_error_string(context, "malloc: out of memory");
+ 	return KRB5_CC_NOMEM;
+     }
+-    p->ops = ops;
++
++    q = malloc(sizeof(*q));
++    if(q == NULL) {
++	krb5_set_error_string(context, "malloc: out of memory");
++        return KRB5_CC_NOMEM;
++    }
++    memcpy(q, ops, sizeof(*q));
++    q->prefix = strdup(ops->prefix);
++    if(q->prefix == NULL) {
++        free(q);
++	krb5_set_error_string(context, "strdup: out of memory");
++        return KRB5_CC_NOMEM;
++    }
++
++    p->ops = q;
+     *id = p;
+     return p->ops->gen_new(context, id);
+ }
+@@ -264,6 +294,8 @@
+ {
+     krb5_error_code ret;
+     ret = id->ops->close(context, id);
++    free(id->ops->prefix);
++    free((krb5_cc_ops *)id->ops);
+     free(id);
+     return ret;
+ }
--- heimdal-0.6.3.orig/debian/patches-0.5.1/015_getifaddrs
+++ heimdal-0.6.3/debian/patches-0.5.1/015_getifaddrs
@@ -0,0 +1,12 @@
+diff -ruN heimdal-0.5.1-old/lib/krb5/get_addrs.c heimdal-0.5.1/lib/krb5/get_addrs.c
+--- heimdal-0.5.1-old/lib/krb5/get_addrs.c	Sat Aug 17 06:50:15 2002
++++ heimdal-0.5.1/lib/krb5/get_addrs.c	Thu Jan 16 10:25:40 2003
+@@ -144,6 +144,8 @@
+     for (ifa = ifa0, idx = 0; ifa != NULL; ifa = ifa->ifa_next) {
+ 	if ((ifa->ifa_flags & IFF_UP) == 0)
+ 	    continue;
++	if (ifa->ifa_addr == NULL)
++	    continue;
+ 	if (memcmp(ifa->ifa_addr, &sa_zero, sizeof(sa_zero)) == 0)
+ 	    continue;
+ 	if (krb5_sockaddr_uninteresting(ifa->ifa_addr))
--- heimdal-0.6.3.orig/debian/patches-0.5.1/016_openssl
+++ heimdal-0.6.3/debian/patches-0.5.1/016_openssl
@@ -0,0 +1,12 @@
+diff -ruN heimdal-0.5.1-old/include/make_crypto.c heimdal-0.5.1/include/make_crypto.c
+--- heimdal-0.5.1-old/include/make_crypto.c	Tue Oct 22 00:30:04 2002
++++ heimdal-0.5.1/include/make_crypto.c	Thu Jan 16 19:17:12 2003
+@@ -60,6 +60,8 @@
+     fprintf(f, "#ifndef __%s__\n", argv[1]);
+     fprintf(f, "#define __%s__\n", argv[1]);
+ #ifdef HAVE_OPENSSL
++    fputs("#define OPENSSL_DES_LIBDES_COMPATIBILITY\n", f);
++    fputs("#include <openssl/ui_compat.h>\n", f);
+     fputs("#include <openssl/des.h>\n", f);
+     fputs("#include <openssl/rc4.h>\n", f);
+     fputs("#include <openssl/md4.h>\n", f);
--- heimdal-0.6.3.orig/debian/patches-0.5.1/017_krb4-crypt-hack
+++ heimdal-0.6.3/debian/patches-0.5.1/017_krb4-crypt-hack
@@ -0,0 +1,24 @@
+diff -ruN heimdal-0.5.1-old/cf/crypto.m4 heimdal-0.5.1/cf/crypto.m4
+--- heimdal-0.5.1-old/cf/crypto.m4	Wed Sep 11 05:55:48 2002
++++ heimdal-0.5.1/cf/crypto.m4	Thu Jan 30 13:09:56 2003
+@@ -87,7 +87,7 @@
+ 	lres=
+ 	for i in $cdirs; do
+ 		for j in $clibs; do
+-			LIBS="$i $j $save_LIBS"
++			LIBS="$i $j $save_LIBS -lcrypt"
+ 			AC_TRY_LINK(test_headers, test_body,
+ 				lres="$i $j"; break 2)
+ 		done
+diff -ruN heimdal-0.5.1-old/configure.in heimdal-0.5.1/configure.in
+--- heimdal-0.5.1-old/configure.in	Thu Jan 30 12:28:10 2003
++++ heimdal-0.5.1/configure.in	Thu Jan 30 12:35:34 2003
+@@ -56,7 +56,7 @@
+ #include <ldap.h>],
+ [-lldap -llber],,,OPENLDAP)
+ 
+-rk_TEST_PACKAGE(krb4,[#include <krb.h>],-lkrb,-ldes,/usr/athena, KRB4, krb4-config)
++rk_TEST_PACKAGE(krb4,[#include <krb.h>],-lkrb,-lcrypt,/usr/athena, KRB4, krb4-config)
+ 
+ LIB_kdb=
+ if test "$with_krb4" != "no"; then
--- heimdal-0.6.3.orig/debian/patches-0.5.1/018_sasize
+++ heimdal-0.6.3/debian/patches-0.5.1/018_sasize
@@ -0,0 +1,126 @@
+I had simliar problems with heimdal 0.5.1 but got this fix from
+John Godehn <godehn@email.unc.edu> that solved my problems:
+
+>From godehn@email.unc.edu Mon Dec  9 13:26:07 2002
+Date: Mon, 21 Oct 2002 15:42:30 -0400 (EDT)
+From: John Godehn <godehn@email.unc.edu>
+To: heimdal-discuss@sics.se
+Subject: krb5_addr2sockaddr problems
+
+
+Hello, when trying out Heimdal 0.5, I ran into some problems getting the
+kpasswdd to start. I keep getting the following entry in the log file:
+
+2002-10-21T13:43:52 socket: Addr family not supported by protocol
+
+I seem to have tracked down the source of my problems to the
+krb5_addr2sockaddr function and the functions that backend it, particularly
+the ipv4_addr2sockaddr. It seems that in the newer version of Heimdal, the
+meaning of the sa_size parameter has changed. In the older (0.4e) version,
+it was strictly a out parameter indicating the size of the structure the
+function filled. Now, the input for this paramter is used to determine the
+maximum length of the structure to be filled.
+
+Now the problem is that in places where this function is used
+(kpasswd/kpasswdd.c and kdc/connect.c), the parameter isn't initialized:
+
+kdc/connect.c:
+
+static void
+init_socket(struct descr *d, krb5_address *a, int family, int type, int port)
+{
+    krb5_error_code ret;
+    struct sockaddr_storage __ss;
+    struct sockaddr *sa = (struct sockaddr *)&__ss;
+    int sa_size;
+
+    init_descr (d);
+
+    ret = krb5_addr2sockaddr (context, a, sa, &sa_size, port);
+
+So since the sa_size isn't being initialized to sizeof(*sa), sometimes
+the krb5_addr2sockaddr worked and sometimes it didn't, depending on what
+sa_size happened to get initialized to. For example, under AIX 5.1, kpasswdd
+would work if compiled with no optimization and fail it it was compiled with
+optimization (since the stack was different and sa_size was initialized to 0)
+
+So it seems as though kdc/connect.c and kpasswd/kpasswdd.c need to be
+patched something like:
+
+diff -ur heimdal-0.5.orig/kdc/connect.c heimdal-0.5/kdc/connect.c
+--- heimdal-0.5.1.orig/kdc/connect.c      Mon Aug 12 09:29:48 2002
++++ heimdal-0.5.1/kdc/connect.c   Mon Oct 21 15:34:17 2002
+@@ -236,7 +236,7 @@
+     krb5_error_code ret;
+     struct sockaddr_storage __ss;
+     struct sockaddr *sa = (struct sockaddr *)&__ss;
+-    int sa_size;
++    int sa_size = sizeof(*sa);
+
+     init_descr (d);
+
+diff -ur heimdal-0.5.orig/kpasswd/kpasswdd.c heimdal-0.5/kpasswd/kpasswdd.c
+--- heimdal-0.5.1.orig/kpasswd/kpasswdd.c Mon Aug 19 11:07:31 2002
++++ heimdal-0.5.1/kpasswd/kpasswdd.c      Mon Oct 21 15:34:48 2002
+@@ -448,7 +448,7 @@
+     maxfd = -1;
+     FD_ZERO(&real_fdset);
+     for (i = 0; i < n; ++i) {
+-	int sa_size;
++	int sa_size = sizeof(*sa);
+
+	krb5_addr2sockaddr (context, &addrs.val[i], sa, &sa_size, port);
+
+
+if krb5_addr2sockaddr is going to have this new behavior. If I am mistaken,
+please let me know.
+
+Thanks,
+
+John
+
+
+On Mon, 9 Dec 2002, Gunnar Gunnarsson wrote:
+
+> Hej,
+> I'm testing heimdal version  (Heimdal 0.5.1, KTH-KRB 1.2.1) on Solaris
+>  5.7  and I'm getting
+>
+> kpasswdd[1573]: socket: Protocol not supported when
+>
+> The other daemon seems to be working ( kdc and kadmind ).
+>
+
+
+Balazs GAL writes:
+ > 2003-03-03, h keltez-Béssel Brian May ezt írta:-A
+ > > I had a feeling I previously reported this, but then it come good or
+ > > something.
+ > > 
+ > > ...well it has gone bad again ;-)
+ > > 
+ > > Heimdal 0.5.1, Debian version.
+ >           
+ > > tcp        0      0 226.106.44.64:512       0.0.0.0:*               LISTEN      12408/kdc
+ > 
+ >            
+ > > bind(17, {sin_family=AF_INET, sin_port=htons(512), sin_addr=inet_addr("226.106.44.64")}}, 16) = -1 EADDRINUSE (Address already in use)
+ > 
+ > > Has anyone else experienced similar problems?
+ > 
+ > YES !!! This is my problem too.
+ > 
+ > (Heimdal 0.5.1, Debian version. ported to woody/sarge )
+ > 
+ > bind(4, {sin_family=AF_INET, sin_port=htons(8),
+ > sin_addr=inet_addr("226.154.43.64")}}, 16) = 0
+ >                     ^^^^^^^^^^^^^
+ > 
+ > and much worse it doesn't bind to 4444/tcp|udp etc.
+ > 
+ > Any idea?
+ > 
+ > The same binaries are working in other domain's well.
+ > 
+ > balsa
+ > 
--- heimdal-0.6.3.orig/debian/patches-0.5.1/020_maintainermode
+++ heimdal-0.6.3/debian/patches-0.5.1/020_maintainermode
@@ -0,0 +1,11 @@
+diff -ruN heimdal-0.5.1-old/configure.in heimdal-0.5.1/configure.in
+--- heimdal-0.5.1-old/configure.in	Sun Sep 29 10:38:42 2002
++++ heimdal-0.5.1/configure.in	Sun Sep 29 10:39:08 2002
+@@ -3,6 +3,7 @@
+ AC_PREREQ(2.53)
+ #test -z "$CFLAGS" && CFLAGS="-g"
+ AC_INIT(Heimdal, 0.5.1, heimdal-bugs@pdc.kth.se)
++AM_MAINTAINER_MODE
+ AC_CONFIG_SRCDIR([kuser/kinit.c])
+ AM_CONFIG_HEADER(include/config.h)
+ 
--- heimdal-0.6.3.orig/debian/patches-0.5.1/021_debian
+++ heimdal-0.6.3/debian/patches-0.5.1/021_debian
@@ -0,0 +1,50 @@
+Index: heimdal-0.5.1/appl/telnet/telnetd/telnetd.h
+===================================================================
+RCS file: /homes/bam/cvsroot/debian/heimdal/appl/telnet/telnetd/telnetd.h,v
+retrieving revision 1.1.1.2
+retrieving revision 1.2
+diff -c -r1.1.1.2 -r1.2
+*** heimdal-0.5.1/appl/telnet/telnetd/telnetd.h 1999/07/24 08:24:26 1.1.1.2
+--- appl/telnet/telnetd/telnetd.h	2000/01/06 09:22:48	1.2
+***************
+*** 193,199 ****
+  #endif
+  
+  #undef _PATH_LOGIN
+! #define _PATH_LOGIN	BINDIR "/login"
+  
+  /* fallbacks */
+  
+--- 193,199 ----
+  #endif
+  
+  #undef _PATH_LOGIN
+! #define _PATH_LOGIN	"/bin/login"
+  
+  /* fallbacks */
+  
+Index: heimdal-0.5.1/lib/hdb/hdb.h
+===================================================================
+RCS file: /homes/bam/cvsroot/debian/heimdal/lib/hdb/hdb.h,v
+retrieving revision 1.1.1.4
+retrieving revision 1.3
+diff -c -r1.1.1.4 -r1.3
+*** heimdal-0.5.1/lib/hdb/hdb.h 2000/07/31 03:16:43 1.1.1.4
+--- heimdal-0.5.1/lib/hdb/hdb.h	2000/07/31 03:22:57	1.3
+***************
+*** 78,84 ****
+      krb5_error_code (*destroy)(krb5_context, struct HDB*);
+  }HDB;
+  
+! #define HDB_DB_DIR "/var/heimdal"
+  #define HDB_DEFAULT_DB HDB_DB_DIR "/heimdal"
+  #define HDB_DB_FORMAT_ENTRY "hdb/db-format"
+  
+--- 78,84 ----
+      krb5_error_code (*destroy)(krb5_context, struct HDB*);
+  }HDB;
+  
+! #define HDB_DB_DIR "/var/lib/heimdal-kdc"
+  #define HDB_DEFAULT_DB HDB_DB_DIR "/heimdal"
+  #define HDB_DB_FORMAT_ENTRY "hdb/db-format"
+  
--- heimdal-0.6.3.orig/debian/patches-0.5.1/022_ftp-roken-glob
+++ heimdal-0.6.3/debian/patches-0.5.1/022_ftp-roken-glob
@@ -0,0 +1,2846 @@
+diff -ruN heimdal-0.5.1-old/appl/ftp/ftp/cmds.c heimdal-0.5.1/appl/ftp/ftp/cmds.c
+--- heimdal-0.5.1-old/appl/ftp/ftp/cmds.c	Sun Aug  5 16:39:14 2001
++++ heimdal-0.5.1/appl/ftp/ftp/cmds.c	Sun Oct  6 14:57:46 2002
+@@ -535,9 +535,17 @@
+ 
+ 	memset(&gl, 0, sizeof(gl));
+ 	flags = GLOB_BRACE|GLOB_NOCHECK|GLOB_QUOTE|GLOB_TILDE;
++#ifdef HAVE_GLOB
+ 	if (glob(argv[i], flags, NULL, &gl) || gl.gl_pathc == 0) {
++#else
++	if (roken_glob(argv[i], flags, NULL, &gl) || gl.gl_pathc == 0) {
++#endif 
+ 	    warnx("%s: not found", argv[i]);
++#ifdef HAVE_GLOB
+ 	    globfree(&gl);
++#else
++	    roken_globfree(&gl);
++#endif
+ 	    continue;
+ 	}
+ 	for (cpp = gl.gl_pathv; cpp && *cpp != NULL; cpp++) {
+@@ -558,7 +566,11 @@
+ 		}
+ 	    }
+ 	}
++#ifdef HAVE_GLOB
+ 	globfree(&gl);
++#else
++	roken_globfree(&gl);
++#endif
+     }
+     signal(SIGINT, oldintr);
+     mflag = 0;
+@@ -1567,14 +1579,27 @@
+ 
+ 	flags = GLOB_BRACE|GLOB_NOCHECK|GLOB_QUOTE|GLOB_TILDE;
+ 	memset(&gl, 0, sizeof(gl));
++#ifdef HAVE_GLOB
+ 	if (glob(*cpp, flags, NULL, &gl) ||
++#else 
++	if (roken_glob(*cpp, flags, NULL, &gl) ||
++#endif
+ 	    gl.gl_pathc == 0) {
+ 		warnx("%s: not found", *cpp);
++#ifdef HAVE_GLOB
+ 		globfree(&gl);
++#else
++		roken_globfree(&gl);
++#endif
+ 		return (0);
+ 	}
+ 	*cpp = strdup(gl.gl_pathv[0]);	/* XXX - wasted memory */
++#ifdef HAVE_GLOB
+ 	globfree(&gl);
++#else
++	roken_globfree(&gl);
++#endif
++
+ 	return (1);
+ }
+ 
+diff -ruN heimdal-0.5.1-old/appl/ftp/ftp/ftp_locl.h heimdal-0.5.1/appl/ftp/ftp/ftp_locl.h
+--- heimdal-0.5.1-old/appl/ftp/ftp/ftp_locl.h	Wed Sep 11 06:03:46 2002
++++ heimdal-0.5.1/appl/ftp/ftp/ftp_locl.h	Sun Oct  6 14:57:46 2002
+@@ -101,7 +101,11 @@
+ 
+ #include <errno.h>
+ #include <ctype.h>
++#ifdef HAVE_GLOB
+ #include <glob.h>
++#else
++#include <roken-glob.h>
++#endif 
+ #ifdef HAVE_NETDB_H
+ #include <netdb.h>
+ #endif
+diff -ruN heimdal-0.5.1-old/appl/ftp/ftpd/ftpcmd.y heimdal-0.5.1/appl/ftp/ftpd/ftpcmd.y
+--- heimdal-0.5.1-old/appl/ftp/ftpd/ftpcmd.y	Sun Aug  5 16:39:29 2001
++++ heimdal-0.5.1/appl/ftp/ftpd/ftpcmd.y	Sun Oct  6 14:57:46 2002
+@@ -838,14 +838,22 @@
+ 				 GLOB_BRACE|GLOB_NOCHECK|GLOB_QUOTE|GLOB_TILDE;
+ 
+ 				memset(&gl, 0, sizeof(gl));
++#ifdef HAVE_GLOB
+ 				if (glob($1, flags, NULL, &gl) ||
++#else
++				if (roken_glob($1, flags, NULL, &gl) ||
++#endif
+ 				    gl.gl_pathc == 0) {
+ 					reply(550, "not found");
+ 					$$ = NULL;
+ 				} else {
+ 					$$ = strdup(gl.gl_pathv[0]);
+ 				}
++#ifdef HAVE_GLOB
+ 				globfree(&gl);
++#else
++				roken_globfree(&gl);
++#endif
+ 				free($1);
+ 			} else
+ 				$$ = $1;
+diff -ruN heimdal-0.5.1-old/appl/ftp/ftpd/ftpd.c heimdal-0.5.1/appl/ftp/ftpd/ftpd.c
+--- heimdal-0.5.1-old/appl/ftp/ftpd/ftpd.c	Fri Mar  1 02:50:14 2002
++++ heimdal-0.5.1/appl/ftp/ftpd/ftpd.c	Sun Oct  6 14:57:46 2002
+@@ -2205,7 +2205,11 @@
+ 
+     memset(&gl, 0, sizeof(gl));
+     freeglob = 1;
++#ifdef HAVE_GLOB
+     if (glob(whichf, flags, 0, &gl)) {
++#else
++    if (roken_glob(whichf, flags, 0, &gl)) {
++#endif
+       reply(550, "not found");
+       goto out;
+     } else if (gl.gl_pathc == 0) {
+@@ -2315,7 +2319,11 @@
+ out:
+   if (freeglob) {
+     freeglob = 0;
++#ifdef HAVE_GLOB
+     globfree(&gl);
++#else
++    roken_globfree(&gl);
++#endif
+   }
+ }
+ 
+diff -ruN heimdal-0.5.1-old/appl/ftp/ftpd/ftpd.c.orig heimdal-0.5.1/appl/ftp/ftpd/ftpd.c.orig
+--- heimdal-0.5.1-old/appl/ftp/ftpd/ftpd.c.orig	Thu Jan  1 10:00:00 1970
++++ heimdal-0.5.1/appl/ftp/ftpd/ftpd.c.orig	Sun Oct  6 14:57:46 2002
+@@ -0,0 +1,2348 @@
++/*
++ * Copyright (c) 1985, 1988, 1990, 1992, 1993, 1994
++ *	The Regents of the University of California.  All rights reserved.
++ *
++ * Redistribution and use in source and binary forms, with or without
++ * modification, are permitted provided that the following conditions
++ * are met:
++ * 1. Redistributions of source code must retain the above copyright
++ *    notice, this list of conditions and the following disclaimer.
++ * 2. Redistributions in binary form must reproduce the above copyright
++ *    notice, this list of conditions and the following disclaimer in the
++ *    documentation and/or other materials provided with the distribution.
++ * 3. All advertising materials mentioning features or use of this software
++ *    must display the following acknowledgement:
++ *	This product includes software developed by the University of
++ *	California, Berkeley and its contributors.
++ * 4. Neither the name of the University nor the names of its contributors
++ *    may be used to endorse or promote products derived from this software
++ *    without specific prior written permission.
++ *
++ * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
++ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
++ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
++ * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
++ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
++ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
++ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
++ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
++ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
++ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
++ * SUCH DAMAGE.
++ */
++
++#define	FTP_NAMES
++#include "ftpd_locl.h"
++#ifdef KRB5
++#include <krb5.h>
++#endif
++#include "getarg.h"
++
++RCSID("$Id: ftpd.c,v 1.161 2002/02/28 15:50:14 joda Exp $");
++
++static char version[] = "Version 6.00";
++
++extern	off_t restart_point;
++extern	char cbuf[];
++
++struct  sockaddr_storage ctrl_addr_ss;
++struct  sockaddr *ctrl_addr = (struct sockaddr *)&ctrl_addr_ss;
++
++struct  sockaddr_storage data_source_ss;
++struct  sockaddr *data_source = (struct sockaddr *)&data_source_ss;
++
++struct  sockaddr_storage data_dest_ss;
++struct  sockaddr *data_dest = (struct sockaddr *)&data_dest_ss;
++
++struct  sockaddr_storage his_addr_ss;
++struct  sockaddr *his_addr = (struct sockaddr *)&his_addr_ss;
++
++struct  sockaddr_storage pasv_addr_ss;
++struct  sockaddr *pasv_addr = (struct sockaddr *)&pasv_addr_ss;
++
++int	data;
++jmp_buf	errcatch, urgcatch;
++int	oobflag;
++int	logged_in;
++struct	passwd *pw;
++int	debug = 0;
++int	ftpd_timeout = 900;    /* timeout after 15 minutes of inactivity */
++int	maxtimeout = 7200;/* don't allow idle time to be set beyond 2 hours */
++int	restricted_data_ports = 1;
++int	logging;
++int	guest;
++int	dochroot;
++int	type;
++int	form;
++int	stru;			/* avoid C keyword */
++int	mode;
++int	usedefault = 1;		/* for data transfers */
++int	pdata = -1;		/* for passive mode */
++int	transflag;
++off_t	file_size;
++off_t	byte_count;
++#if !defined(CMASK) || CMASK == 0
++#undef CMASK
++#define CMASK 027
++#endif
++int	defumask = CMASK;		/* default umask value */
++int	guest_umask = 0777;	/* Paranoia for anonymous users */
++char	tmpline[10240];
++char	hostname[MaxHostNameLen];
++char	remotehost[MaxHostNameLen];
++static char ttyline[20];
++
++#define AUTH_PLAIN	(1 << 0) /* allow sending passwords */
++#define AUTH_OTP	(1 << 1) /* passwords are one-time */
++#define AUTH_FTP	(1 << 2) /* allow anonymous login */
++
++static int auth_level = 0; /* Only allow kerberos login by default */
++
++/*
++ * Timeout intervals for retrying connections
++ * to hosts that don't accept PORT cmds.  This
++ * is a kludge, but given the problems with TCP...
++ */
++#define	SWAITMAX	90	/* wait at most 90 seconds */
++#define	SWAITINT	5	/* interval between retries */
++
++int	swaitmax = SWAITMAX;
++int	swaitint = SWAITINT;
++
++#ifdef HAVE_SETPROCTITLE
++char	proctitle[BUFSIZ];	/* initial part of title */
++#endif /* HAVE_SETPROCTITLE */
++
++#define LOGCMD(cmd, file) \
++	if (logging > 1) \
++	    syslog(LOG_INFO,"%s %s%s", cmd, \
++		*(file) == '/' ? "" : curdir(), file);
++#define LOGCMD2(cmd, file1, file2) \
++	 if (logging > 1) \
++	    syslog(LOG_INFO,"%s %s%s %s%s", cmd, \
++		*(file1) == '/' ? "" : curdir(), file1, \
++		*(file2) == '/' ? "" : curdir(), file2);
++#define LOGBYTES(cmd, file, cnt) \
++	if (logging > 1) { \
++		if (cnt == (off_t)-1) \
++		    syslog(LOG_INFO,"%s %s%s", cmd, \
++			*(file) == '/' ? "" : curdir(), file); \
++		else \
++		    syslog(LOG_INFO, "%s %s%s = %ld bytes", \
++			cmd, (*(file) == '/') ? "" : curdir(), file, (long)cnt); \
++	}
++
++static void	 ack (char *);
++static void	 myoob (int);
++static int	 checkuser (char *, char *);
++static int	 checkaccess (char *);
++static FILE	*dataconn (const char *, off_t, const char *);
++static void	 dolog (struct sockaddr *sa, int len);
++static void	 end_login (void);
++static FILE	*getdatasock (const char *);
++static char	*gunique (char *);
++static RETSIGTYPE	 lostconn (int);
++static int	 receive_data (FILE *, FILE *);
++static void	 send_data (FILE *, FILE *);
++static struct passwd * sgetpwnam (char *);
++
++static char *
++curdir(void)
++{
++	static char path[MaxPathLen+1];	/* path + '/' + '\0' */
++
++	if (getcwd(path, sizeof(path)-1) == NULL)
++		return ("");
++	if (path[1] != '\0')		/* special case for root dir. */
++		strlcat(path, "/", sizeof(path));
++	/* For guest account, skip / since it's chrooted */
++	return (guest ? path+1 : path);
++}
++
++#ifndef LINE_MAX
++#define LINE_MAX 1024
++#endif
++
++static int
++parse_auth_level(char *str)
++{
++    char *p;
++    int ret = 0;
++    char *foo = NULL;
++
++    for(p = strtok_r(str, ",", &foo);
++	p;
++	p = strtok_r(NULL, ",", &foo)) {
++	if(strcmp(p, "user") == 0)
++	    ;
++#ifdef OTP
++	else if(strcmp(p, "otp") == 0)
++	    ret |= AUTH_PLAIN|AUTH_OTP;
++#endif
++	else if(strcmp(p, "ftp") == 0 ||
++		strcmp(p, "safe") == 0)
++	    ret |= AUTH_FTP;
++	else if(strcmp(p, "plain") == 0)
++	    ret |= AUTH_PLAIN;
++	else if(strcmp(p, "none") == 0)
++	    ret |= AUTH_PLAIN|AUTH_FTP;
++	else
++	    warnx("bad value for -a: `%s'", p);
++    }
++    return ret;	    
++}
++
++/*
++ * Print usage and die.
++ */
++
++static int interactive_flag;
++static char *guest_umask_string;
++static char *port_string;
++static char *umask_string;
++static char *auth_string;
++
++int use_builtin_ls = -1;
++
++static int help_flag;
++static int version_flag;
++
++static const char *good_chars = "+-=_,.";
++
++struct getargs args[] = {
++    { NULL, 'a', arg_string, &auth_string, "required authentication" },
++    { NULL, 'i', arg_flag, &interactive_flag, "don't assume stdin is a socket" },
++    { NULL, 'p', arg_string, &port_string, "what port to listen to" },
++    { NULL, 'g', arg_string, &guest_umask_string, "umask for guest logins" },
++    { NULL, 'l', arg_counter, &logging, "log more stuff", "" },
++    { NULL, 't', arg_integer, &ftpd_timeout, "initial timeout" },
++    { NULL, 'T', arg_integer, &maxtimeout, "max timeout" },
++    { NULL, 'u', arg_string, &umask_string, "umask for user logins" },
++    { NULL, 'U', arg_negative_flag, &restricted_data_ports, "don't use high data ports" },
++    { NULL, 'd', arg_flag, &debug, "enable debugging" },
++    { NULL, 'v', arg_flag, &debug, "enable debugging" },
++    { "builtin-ls", 'B', arg_flag, &use_builtin_ls, "use built-in ls to list files" },
++    { "good-chars", 0, arg_string, &good_chars, "allowed anonymous upload filename chars" },
++    { "version", 0, arg_flag, &version_flag },
++    { "help", 'h', arg_flag, &help_flag }
++};
++
++static int num_args = sizeof(args) / sizeof(args[0]);
++
++static void
++usage (int code)
++{
++    arg_printusage(args, num_args, NULL, "");
++    exit (code);
++}
++
++/* output contents of a file */
++static int
++show_file(const char *file, int code)
++{
++    FILE *f;
++    char buf[128];
++
++    f = fopen(file, "r");
++    if(f == NULL)
++	return -1;
++    while(fgets(buf, sizeof(buf), f)){
++	buf[strcspn(buf, "\r\n")] = '\0';
++	lreply(code, "%s", buf);
++    }
++    fclose(f);
++    return 0;
++}
++
++int
++main(int argc, char **argv)
++{
++    socklen_t his_addr_len, ctrl_addr_len;
++    int on = 1;
++    int port;
++    struct servent *sp;
++
++    int optind = 0;
++
++    setprogname (argv[0]);
++
++    /* detach from any tickets and tokens */
++    {
++#ifdef KRB4
++	char tkfile[1024];
++	snprintf(tkfile, sizeof(tkfile),
++		 "/tmp/ftp_%u", (unsigned)getpid());
++	krb_set_tkt_string(tkfile);
++#endif
++#if defined(KRB4) && defined(KRB5)
++	if(k_hasafs())
++	    k_setpag();
++#endif
++    }
++
++    if(getarg(args, num_args, argc, argv, &optind))
++	usage(1);
++
++    if(help_flag)
++	usage(0);
++	
++    if(version_flag) {
++	print_version(NULL);
++	exit(0);
++    }
++
++    if(auth_string)
++	auth_level = parse_auth_level(auth_string);
++    {
++	char *p;
++	long val = 0;
++	    
++	if(guest_umask_string) {
++	    val = strtol(guest_umask_string, &p, 8);
++	    if (*p != '\0' || val < 0)
++		warnx("bad value for -g");
++	    else
++		guest_umask = val;
++	}
++	if(umask_string) {
++	    val = strtol(umask_string, &p, 8);
++	    if (*p != '\0' || val < 0)
++		warnx("bad value for -u");
++	    else
++		defumask = val;
++	}
++    }
++    sp = getservbyname("ftp", "tcp");
++    if(sp)
++	port = sp->s_port;
++    else
++	port = htons(21);
++    if(port_string) {
++	sp = getservbyname(port_string, "tcp");
++	if(sp)
++	    port = sp->s_port;
++	else
++	    if(isdigit(port_string[0]))
++		port = htons(atoi(port_string));
++	    else
++		warnx("bad value for -p");
++    }
++		    
++    if (maxtimeout < ftpd_timeout)
++	maxtimeout = ftpd_timeout;
++
++#if 0
++    if (ftpd_timeout > maxtimeout)
++	ftpd_timeout = maxtimeout;
++#endif
++
++    if(interactive_flag)
++	mini_inetd (port);
++
++    /*
++     * LOG_NDELAY sets up the logging connection immediately,
++     * necessary for anonymous ftp's that chroot and can't do it later.
++     */
++    openlog("ftpd", LOG_PID | LOG_NDELAY, LOG_FTP);
++    his_addr_len = sizeof(his_addr_ss);
++    if (getpeername(STDIN_FILENO, his_addr, &his_addr_len) < 0) {
++	syslog(LOG_ERR, "getpeername (%s): %m",argv[0]);
++	exit(1);
++    }
++    ctrl_addr_len = sizeof(ctrl_addr_ss);
++    if (getsockname(STDIN_FILENO, ctrl_addr, &ctrl_addr_len) < 0) {
++	syslog(LOG_ERR, "getsockname (%s): %m",argv[0]);
++	exit(1);
++    }
++#if defined(IP_TOS) && defined(HAVE_SETSOCKOPT)
++    {
++	int tos = IPTOS_LOWDELAY;
++
++	if (setsockopt(STDIN_FILENO, IPPROTO_IP, IP_TOS,
++		       (void *)&tos, sizeof(int)) < 0)
++	    syslog(LOG_WARNING, "setsockopt (IP_TOS): %m");
++    }
++#endif
++    data_source->sa_family = ctrl_addr->sa_family;
++    socket_set_port (data_source,
++		     htons(ntohs(socket_get_port(ctrl_addr)) - 1));
++
++    /* set this here so it can be put in wtmp */
++    snprintf(ttyline, sizeof(ttyline), "ftp%u", (unsigned)getpid());
++
++
++    /*	freopen(_PATH_DEVNULL, "w", stderr); */
++    signal(SIGPIPE, lostconn);
++    signal(SIGCHLD, SIG_IGN);
++#ifdef SIGURG
++    if (signal(SIGURG, myoob) == SIG_ERR)
++	syslog(LOG_ERR, "signal: %m");
++#endif
++
++    /* Try to handle urgent data inline */
++#if defined(SO_OOBINLINE) && defined(HAVE_SETSOCKOPT)
++    if (setsockopt(0, SOL_SOCKET, SO_OOBINLINE, (void *)&on,
++		   sizeof(on)) < 0)
++	syslog(LOG_ERR, "setsockopt: %m");
++#endif
++
++#ifdef	F_SETOWN
++    if (fcntl(fileno(stdin), F_SETOWN, getpid()) == -1)
++	syslog(LOG_ERR, "fcntl F_SETOWN: %m");
++#endif
++    dolog(his_addr, his_addr_len);
++    /*
++     * Set up default state
++     */
++    data = -1;
++    type = TYPE_A;
++    form = FORM_N;
++    stru = STRU_F;
++    mode = MODE_S;
++    tmpline[0] = '\0';
++
++    /* If logins are disabled, print out the message. */
++    if(show_file(_PATH_NOLOGIN, 530) == 0) {
++	reply(530, "System not available.");
++	exit(0);
++    }
++    show_file(_PATH_FTPWELCOME, 220);
++    /* reply(220,) must follow */
++    gethostname(hostname, sizeof(hostname));
++	
++    reply(220, "%s FTP server (%s"
++#ifdef KRB5
++	  "+%s"
++#endif
++#ifdef KRB4
++	  "+%s"
++#endif
++	  ") ready.", hostname, version
++#ifdef KRB5
++	  ,heimdal_version
++#endif
++#ifdef KRB4
++	  ,krb4_version
++#endif
++	  );
++
++    setjmp(errcatch);
++    for (;;)
++	yyparse();
++    /* NOTREACHED */
++}
++
++static RETSIGTYPE
++lostconn(int signo)
++{
++
++	if (debug)
++		syslog(LOG_DEBUG, "lost connection");
++	dologout(-1);
++}
++
++/*
++ * Helper function for sgetpwnam().
++ */
++static char *
++sgetsave(char *s)
++{
++	char *new = strdup(s);
++
++	if (new == NULL) {
++		perror_reply(421, "Local resource failure: malloc");
++		dologout(1);
++		/* NOTREACHED */
++	}
++	return new;
++}
++
++/*
++ * Save the result of a getpwnam.  Used for USER command, since
++ * the data returned must not be clobbered by any other command
++ * (e.g., globbing).
++ */
++static struct passwd *
++sgetpwnam(char *name)
++{
++	static struct passwd save;
++	struct passwd *p;
++
++	if ((p = k_getpwnam(name)) == NULL)
++		return (p);
++	if (save.pw_name) {
++		free(save.pw_name);
++		free(save.pw_passwd);
++		free(save.pw_gecos);
++		free(save.pw_dir);
++		free(save.pw_shell);
++	}
++	save = *p;
++	save.pw_name = sgetsave(p->pw_name);
++	save.pw_passwd = sgetsave(p->pw_passwd);
++	save.pw_gecos = sgetsave(p->pw_gecos);
++	save.pw_dir = sgetsave(p->pw_dir);
++	save.pw_shell = sgetsave(p->pw_shell);
++	return (&save);
++}
++
++static int login_attempts;	/* number of failed login attempts */
++static int askpasswd;		/* had user command, ask for passwd */
++static char curname[10];	/* current USER name */
++#ifdef OTP
++OtpContext otp_ctx;
++#endif
++
++/*
++ * USER command.
++ * Sets global passwd pointer pw if named account exists and is acceptable;
++ * sets askpasswd if a PASS command is expected.  If logged in previously,
++ * need to reset state.  If name is "ftp" or "anonymous", the name is not in
++ * _PATH_FTPUSERS, and ftp account exists, set guest and pw, then just return.
++ * If account doesn't exist, ask for passwd anyway.  Otherwise, check user
++ * requesting login privileges.  Disallow anyone who does not have a standard
++ * shell as returned by getusershell().  Disallow anyone mentioned in the file
++ * _PATH_FTPUSERS to allow people such as root and uucp to be avoided.
++ */
++void
++user(char *name)
++{
++	char *cp, *shell;
++
++	if(auth_level == 0 && !sec_complete){
++	    reply(530, "No login allowed without authorization.");
++	    return;
++	}
++
++	if (logged_in) {
++		if (guest) {
++			reply(530, "Can't change user from guest login.");
++			return;
++		} else if (dochroot) {
++			reply(530, "Can't change user from chroot user.");
++			return;
++		}
++		end_login();
++	}
++
++	guest = 0;
++	if (strcmp(name, "ftp") == 0 || strcmp(name, "anonymous") == 0) {
++	    if ((auth_level & AUTH_FTP) == 0 ||
++		checkaccess("ftp") || 
++		checkaccess("anonymous"))
++		reply(530, "User %s access denied.", name);
++	    else if ((pw = sgetpwnam("ftp")) != NULL) {
++		guest = 1;
++		defumask = guest_umask;	/* paranoia for incoming */
++		askpasswd = 1;
++		reply(331, "Guest login ok, type your name as password.");
++	    } else
++		reply(530, "User %s unknown.", name);
++	    if (!askpasswd && logging) {
++		char data_addr[256];
++
++		if (inet_ntop (his_addr->sa_family,
++			       socket_get_address(his_addr),
++			       data_addr, sizeof(data_addr)) == NULL)
++			strlcpy (data_addr, "unknown address",
++					 sizeof(data_addr));
++
++		syslog(LOG_NOTICE,
++		       "ANONYMOUS FTP LOGIN REFUSED FROM %s(%s)",
++		       remotehost, data_addr);
++	    }
++	    return;
++	}
++	if((auth_level & AUTH_PLAIN) == 0 && !sec_complete){
++	    reply(530, "Only authorized and anonymous login allowed.");
++	    return;
++	}
++	if ((pw = sgetpwnam(name))) {
++		if ((shell = pw->pw_shell) == NULL || *shell == 0)
++			shell = _PATH_BSHELL;
++		while ((cp = getusershell()) != NULL)
++			if (strcmp(cp, shell) == 0)
++				break;
++		endusershell();
++
++		if (cp == NULL || checkaccess(name)) {
++			reply(530, "User %s access denied.", name);
++			if (logging) {
++				char data_addr[256];
++
++				if (inet_ntop (his_addr->sa_family,
++					       socket_get_address(his_addr),
++					       data_addr,
++					       sizeof(data_addr)) == NULL)
++					strlcpy (data_addr,
++							 "unknown address",
++							 sizeof(data_addr));
++
++				syslog(LOG_NOTICE,
++				       "FTP LOGIN REFUSED FROM %s(%s), %s",
++				       remotehost,
++				       data_addr,
++				       name);
++			}
++			pw = (struct passwd *) NULL;
++			return;
++		}
++	}
++	if (logging)
++	    strlcpy(curname, name, sizeof(curname));
++	if(sec_complete) {
++	    if(sec_userok(name) == 0)
++		do_login(232, name);
++	    else
++		reply(530, "User %s access denied.", name);
++	} else {
++		char ss[256];
++
++#ifdef OTP
++		if (otp_challenge(&otp_ctx, name, ss, sizeof(ss)) == 0) {
++			reply(331, "Password %s for %s required.",
++			      ss, name);
++			askpasswd = 1;
++		} else
++#endif
++		if ((auth_level & AUTH_OTP) == 0) {
++		    reply(331, "Password required for %s.", name);
++		    askpasswd = 1;
++		} else {
++		    char *s;
++		    
++#ifdef OTP
++		    if ((s = otp_error (&otp_ctx)) != NULL)
++			lreply(530, "OTP: %s", s);
++#endif
++		    reply(530,
++			  "Only authorized, anonymous"
++#ifdef OTP
++			  " and OTP "
++#endif
++			  "login allowed.");
++		}
++
++	}
++	/*
++	 * Delay before reading passwd after first failed
++	 * attempt to slow down passwd-guessing programs.
++	 */
++	if (login_attempts)
++		sleep(login_attempts);
++}
++
++/*
++ * Check if a user is in the file "fname"
++ */
++static int
++checkuser(char *fname, char *name)
++{
++	FILE *fd;
++	int found = 0;
++	char *p, line[BUFSIZ];
++
++	if ((fd = fopen(fname, "r")) != NULL) {
++		while (fgets(line, sizeof(line), fd) != NULL)
++			if ((p = strchr(line, '\n')) != NULL) {
++				*p = '\0';
++				if (line[0] == '#')
++					continue;
++				if (strcmp(line, name) == 0) {
++					found = 1;
++					break;
++				}
++			}
++		fclose(fd);
++	}
++	return (found);
++}
++
++
++/*
++ * Determine whether a user has access, based on information in 
++ * _PATH_FTPUSERS. The users are listed one per line, with `allow'
++ * or `deny' after the username. If anything other than `allow', or
++ * just nothing, is given after the username, `deny' is assumed.
++ *
++ * If the user is not found in the file, but the pseudo-user `*' is,
++ * the permission is taken from that line.
++ *
++ * This preserves the old semantics where if a user was listed in the
++ * file he was denied, otherwise he was allowed.
++ *
++ * Return 1 if the user is denied, or 0 if he is allowed.  */
++
++static int
++match(const char *pattern, const char *string)
++{
++    return fnmatch(pattern, string, FNM_NOESCAPE);
++}
++
++static int
++checkaccess(char *name)
++{
++#define ALLOWED		0
++#define	NOT_ALLOWED	1
++    FILE *fd;
++    int allowed = ALLOWED;
++    char *user, *perm, line[BUFSIZ];
++    char *foo;
++    
++    fd = fopen(_PATH_FTPUSERS, "r");
++    
++    if(fd == NULL)
++	return allowed;
++
++    while (fgets(line, sizeof(line), fd) != NULL)  {
++	foo = NULL;
++	user = strtok_r(line, " \t\n", &foo);
++	if (user == NULL || user[0] == '#')
++	    continue;
++	perm = strtok_r(NULL, " \t\n", &foo);
++	if (match(user, name) == 0){
++	    if(perm && strcmp(perm, "allow") == 0)
++		allowed = ALLOWED;
++	    else
++		allowed = NOT_ALLOWED;
++	    break;
++	}
++    }
++    fclose(fd);
++    return allowed;
++}
++#undef	ALLOWED
++#undef	NOT_ALLOWED
++
++
++int do_login(int code, char *passwd)
++{
++    login_attempts = 0;		/* this time successful */
++    if (setegid((gid_t)pw->pw_gid) < 0) {
++	reply(550, "Can't set gid.");
++	return -1;
++    }
++    initgroups(pw->pw_name, pw->pw_gid);
++
++    /* open wtmp before chroot */
++    ftpd_logwtmp(ttyline, pw->pw_name, remotehost);
++    logged_in = 1;
++
++    dochroot = checkuser(_PATH_FTPCHROOT, pw->pw_name);
++    if (guest) {
++	/*
++	 * We MUST do a chdir() after the chroot. Otherwise
++	 * the old current directory will be accessible as "."
++	 * outside the new root!
++	 */
++	if (chroot(pw->pw_dir) < 0 || chdir("/") < 0) {
++	    reply(550, "Can't set guest privileges.");
++	    return -1;
++	}
++    } else if (dochroot) {
++	if (chroot(pw->pw_dir) < 0 || chdir("/") < 0) {
++	    reply(550, "Can't change root.");
++	    return -1;
++	}
++    } else if (chdir(pw->pw_dir) < 0) {
++	if (chdir("/") < 0) {
++	    reply(530, "User %s: can't change directory to %s.",
++		  pw->pw_name, pw->pw_dir);
++	    return -1;
++	} else
++	    lreply(code, "No directory! Logging in with home=/");
++    }
++    if (seteuid((uid_t)pw->pw_uid) < 0) {
++	reply(550, "Can't set uid.");
++	return -1;
++    }
++
++    if(use_builtin_ls == -1) {
++	struct stat st;
++	/* if /bin/ls exist and is a regular file, use it, otherwise
++           use built-in ls */
++	if(stat("/bin/ls", &st) == 0 &&
++	   S_ISREG(st.st_mode))
++	    use_builtin_ls = 0;
++	else
++	    use_builtin_ls = 1;
++    }
++
++    /*
++     * Display a login message, if it exists.
++     * N.B. reply(code,) must follow the message.
++     */
++    show_file(_PATH_FTPLOGINMESG, code);
++    if(show_file(_PATH_ISSUE_NET, code) != 0)
++	show_file(_PATH_ISSUE, code);
++    if (guest) {
++	reply(code, "Guest login ok, access restrictions apply.");
++#ifdef HAVE_SETPROCTITLE
++	snprintf (proctitle, sizeof(proctitle),
++		  "%s: anonymous/%s",
++		  remotehost,
++		  passwd);
++	setproctitle("%s", proctitle);
++#endif /* HAVE_SETPROCTITLE */
++	if (logging) {
++	    char data_addr[256];
++
++	    if (inet_ntop (his_addr->sa_family,
++			   socket_get_address(his_addr),
++			   data_addr, sizeof(data_addr)) == NULL)
++		strlcpy (data_addr, "unknown address",
++				 sizeof(data_addr));
++
++	    syslog(LOG_INFO, "ANONYMOUS FTP LOGIN FROM %s(%s), %s",
++		   remotehost, 
++		   data_addr,
++		   passwd);
++	}
++    } else {
++	reply(code, "User %s logged in.", pw->pw_name);
++#ifdef HAVE_SETPROCTITLE
++	snprintf(proctitle, sizeof(proctitle), "%s: %s", remotehost, pw->pw_name);
++	setproctitle("%s", proctitle);
++#endif /* HAVE_SETPROCTITLE */
++	if (logging) {
++	    char data_addr[256];
++
++	    if (inet_ntop (his_addr->sa_family,
++			   socket_get_address(his_addr),
++			   data_addr, sizeof(data_addr)) == NULL)
++		strlcpy (data_addr, "unknown address",
++				 sizeof(data_addr));
++
++	    syslog(LOG_INFO, "FTP LOGIN FROM %s(%s) as %s",
++		   remotehost,
++		   data_addr,
++		   pw->pw_name);
++	}
++    }
++    umask(defumask);
++    return 0;
++}
++
++/*
++ * Terminate login as previous user, if any, resetting state;
++ * used when USER command is given or login fails.
++ */
++static void
++end_login(void)
++{
++
++	seteuid((uid_t)0);
++	if (logged_in)
++		ftpd_logwtmp(ttyline, "", "");
++	pw = NULL;
++	logged_in = 0;
++	guest = 0;
++	dochroot = 0;
++}
++
++#ifdef KRB5
++static int
++krb5_verify(struct passwd *pwd, char *passwd)
++{
++   krb5_context context;  
++   krb5_ccache  id;
++   krb5_principal princ;
++   krb5_error_code ret;
++  
++   ret = krb5_init_context(&context);
++   if(ret)
++        return ret;
++
++  ret = krb5_parse_name(context, pwd->pw_name, &princ);
++  if(ret){
++        krb5_free_context(context);
++        return ret;
++  }
++  ret = krb5_cc_gen_new(context, &krb5_mcc_ops, &id);
++  if(ret){
++        krb5_free_principal(context, princ);
++        krb5_free_context(context);
++        return ret;
++  }
++  ret = krb5_verify_user(context,
++                         princ,
++                         id,
++                         passwd,
++                         1,
++                         NULL);
++  krb5_free_principal(context, princ);
++#ifdef KRB4
++  if (k_hasafs()) {
++      k_setpag();
++      krb5_afslog_uid_home(context, id,NULL, NULL,pwd->pw_uid, pwd->pw_dir);
++  }
++#endif /* KRB4 */
++  krb5_cc_destroy(context, id);
++  krb5_free_context (context);
++  if(ret) 
++      return ret;
++  return 0;
++}
++#endif /* KRB5 */
++
++void
++pass(char *passwd)
++{
++	int rval;
++
++	/* some clients insists on sending a password */
++	if (logged_in && askpasswd == 0){
++	    reply(230, "Password not necessary");
++	    return;
++	}
++
++	if (logged_in || askpasswd == 0) {
++		reply(503, "Login with USER first.");
++		return;
++	}
++	askpasswd = 0;
++	rval = 1;
++	if (!guest) {		/* "ftp" is only account allowed no password */
++		if (pw == NULL)
++			rval = 1;	/* failure below */
++#ifdef OTP
++		else if (otp_verify_user (&otp_ctx, passwd) == 0) {
++		    rval = 0;
++		}
++#endif
++		else if((auth_level & AUTH_OTP) == 0) {
++#ifdef KRB5
++		    rval = krb5_verify(pw, passwd);
++#endif
++#ifdef KRB4
++		    if (rval) {
++			char realm[REALM_SZ];
++			if((rval = krb_get_lrealm(realm, 1)) == KSUCCESS)
++			    rval = krb_verify_user(pw->pw_name,
++						   "", realm, 
++						   passwd, 
++						   KRB_VERIFY_SECURE, NULL);
++			if (rval == KSUCCESS ) {
++			    chown (tkt_string(), pw->pw_uid, pw->pw_gid);
++			    if(k_hasafs())
++				krb_afslog(0, 0);
++			}
++		    }
++#endif
++		    if (rval)
++			rval = unix_verify_user(pw->pw_name, passwd);
++		} else {
++		    char *s;
++		    
++#ifdef OTP
++		    if ((s = otp_error(&otp_ctx)) != NULL)
++			lreply(530, "OTP: %s", s);
++#endif
++		}
++		memset (passwd, 0, strlen(passwd));
++
++		/*
++		 * If rval == 1, the user failed the authentication
++		 * check above.  If rval == 0, either Kerberos or
++		 * local authentication succeeded.
++		 */
++		if (rval) {
++			char data_addr[256];
++
++			if (inet_ntop (his_addr->sa_family,
++				       socket_get_address(his_addr),
++				       data_addr, sizeof(data_addr)) == NULL)
++				strlcpy (data_addr, "unknown address",
++						 sizeof(data_addr));
++
++			reply(530, "Login incorrect.");
++			if (logging)
++				syslog(LOG_NOTICE,
++				    "FTP LOGIN FAILED FROM %s(%s), %s",
++				       remotehost,
++				       data_addr,
++				       curname);
++			pw = NULL;
++			if (login_attempts++ >= 5) {
++				syslog(LOG_NOTICE,
++				       "repeated login failures from %s(%s)",
++				       remotehost,
++				       data_addr);
++				exit(0);
++			}
++			return;
++		}
++	}
++	if(!do_login(230, passwd))
++	  return;
++	
++	/* Forget all about it... */
++	end_login();
++}
++
++void
++retrieve(const char *cmd, char *name)
++{
++	FILE *fin = NULL, *dout;
++	struct stat st;
++	int (*closefunc) (FILE *);
++	char line[BUFSIZ];
++
++
++	if (cmd == 0) {
++		fin = fopen(name, "r");
++		closefunc = fclose;
++		st.st_size = 0;
++		if(fin == NULL){
++		    int save_errno = errno;
++		    struct cmds {
++			const char *ext;
++			const char *cmd;
++		        const char *rev_cmd;
++		    } cmds[] = {
++			{".tar", "/bin/gtar cPf - %s", NULL},
++			{".tar.gz", "/bin/gtar zcPf - %s", NULL},
++			{".tar.Z", "/bin/gtar ZcPf - %s", NULL},
++			{".gz", "/bin/gzip -c -- %s", "/bin/gzip -c -d -- %s"},
++			{".Z", "/bin/compress -c -- %s", "/bin/uncompress -c -- %s"},
++			{NULL, NULL}
++		    };
++		    struct cmds *p;
++		    for(p = cmds; p->ext; p++){
++			char *tail = name + strlen(name) - strlen(p->ext);
++			char c = *tail;
++			
++			if(strcmp(tail, p->ext) == 0 &&
++			   (*tail  = 0) == 0 &&
++			   access(name, R_OK) == 0){
++			    snprintf (line, sizeof(line), p->cmd, name);
++			    *tail  = c;
++			    break;
++			}
++			*tail = c;
++			if (p->rev_cmd != NULL) {
++			    char *ext;
++
++			    asprintf(&ext, "%s%s", name, p->ext);
++			    if (ext != NULL) { 
++  			        if (access(ext, R_OK) == 0) {
++				    snprintf (line, sizeof(line),
++					      p->rev_cmd, ext);
++				    free(ext);
++				    break;
++				}
++			        free(ext);
++			    }
++			}
++			
++		    }
++		    if(p->ext){
++			fin = ftpd_popen(line, "r", 0, 0);
++			closefunc = ftpd_pclose;
++			st.st_size = -1;
++			cmd = line;
++		    } else
++			errno = save_errno;
++		}
++	} else {
++		snprintf(line, sizeof(line), cmd, name);
++		name = line;
++		fin = ftpd_popen(line, "r", 1, 0);
++		closefunc = ftpd_pclose;
++		st.st_size = -1;
++	}
++	if (fin == NULL) {
++		if (errno != 0) {
++			perror_reply(550, name);
++			if (cmd == 0) {
++				LOGCMD("get", name);
++			}
++		}
++		return;
++	}
++	byte_count = -1;
++	if (cmd == 0){
++	    if(fstat(fileno(fin), &st) < 0 || !S_ISREG(st.st_mode)) {
++		reply(550, "%s: not a plain file.", name);
++		goto done;
++	    }
++	}
++	if (restart_point) {
++		if (type == TYPE_A) {
++			off_t i, n;
++			int c;
++
++			n = restart_point;
++			i = 0;
++			while (i++ < n) {
++				if ((c=getc(fin)) == EOF) {
++					perror_reply(550, name);
++					goto done;
++				}
++				if (c == '\n')
++					i++;
++			}
++		} else if (lseek(fileno(fin), restart_point, SEEK_SET) < 0) {
++			perror_reply(550, name);
++			goto done;
++		}
++	}
++	dout = dataconn(name, st.st_size, "w");
++	if (dout == NULL)
++		goto done;
++	set_buffer_size(fileno(dout), 0);
++	send_data(fin, dout);
++	fclose(dout);
++	data = -1;
++	pdata = -1;
++done:
++	if (cmd == 0)
++		LOGBYTES("get", name, byte_count);
++	(*closefunc)(fin);
++}
++
++/* filename sanity check */
++
++int 
++filename_check(char *filename)
++{
++    char *p;
++
++    p = strrchr(filename, '/');
++    if(p)
++	filename = p + 1;
++
++    p = filename;
++
++    if(isalnum(*p)){
++	p++;
++	while(*p && (isalnum(*p) || strchr(good_chars, *p)))
++	    p++;
++	if(*p == '\0')
++	    return 0;
++    }
++    lreply(553, "\"%s\" is not an acceptable filename.", filename);
++    lreply(553, "The filename must start with an alphanumeric "
++	   "character and must only");
++    reply(553, "consist of alphanumeric characters or any of the following: %s", 
++	  good_chars);
++    return 1;
++}
++
++void
++do_store(char *name, char *mode, int unique)
++{
++	FILE *fout, *din;
++	struct stat st;
++	int (*closefunc) (FILE *);
++
++	if(guest && filename_check(name))
++	    return;
++	if (unique && stat(name, &st) == 0 &&
++	    (name = gunique(name)) == NULL) {
++		LOGCMD(*mode == 'w' ? "put" : "append", name);
++		return;
++	}
++
++	if (restart_point)
++		mode = "r+";
++	fout = fopen(name, mode);
++	closefunc = fclose;
++	if (fout == NULL) {
++		perror_reply(553, name);
++		LOGCMD(*mode == 'w' ? "put" : "append", name);
++		return;
++	}
++	byte_count = -1;
++	if (restart_point) {
++		if (type == TYPE_A) {
++			off_t i, n;
++			int c;
++
++			n = restart_point;
++			i = 0;
++			while (i++ < n) {
++				if ((c=getc(fout)) == EOF) {
++					perror_reply(550, name);
++					goto done;
++				}
++				if (c == '\n')
++					i++;
++			}
++			/*
++			 * We must do this seek to "current" position
++			 * because we are changing from reading to
++			 * writing.
++			 */
++			if (fseek(fout, 0L, SEEK_CUR) < 0) {
++				perror_reply(550, name);
++				goto done;
++			}
++		} else if (lseek(fileno(fout), restart_point, SEEK_SET) < 0) {
++			perror_reply(550, name);
++			goto done;
++		}
++	}
++	din = dataconn(name, (off_t)-1, "r");
++	if (din == NULL)
++		goto done;
++	set_buffer_size(fileno(din), 1);
++	if (receive_data(din, fout) == 0) {
++	    if((*closefunc)(fout) < 0)
++		perror_reply(552, name);
++	    else {
++		if (unique)
++			reply(226, "Transfer complete (unique file name:%s).",
++			    name);
++		else
++			reply(226, "Transfer complete.");
++	    }
++	} else
++	    (*closefunc)(fout);
++	fclose(din);
++	data = -1;
++	pdata = -1;
++done:
++	LOGBYTES(*mode == 'w' ? "put" : "append", name, byte_count);
++}
++
++static FILE *
++getdatasock(const char *mode)
++{
++	int s, t, tries;
++
++	if (data >= 0)
++		return (fdopen(data, mode));
++	seteuid(0);
++	s = socket(ctrl_addr->sa_family, SOCK_STREAM, 0);
++	if (s < 0)
++		goto bad;
++	socket_set_reuseaddr (s, 1);
++	/* anchor socket to avoid multi-homing problems */
++	socket_set_address_and_port (data_source,
++				     socket_get_address (ctrl_addr),
++				     socket_get_port (data_source));
++
++	for (tries = 1; ; tries++) {
++		if (bind(s, data_source,
++			 socket_sockaddr_size (data_source)) >= 0)
++			break;
++		if (errno != EADDRINUSE || tries > 10)
++			goto bad;
++		sleep(tries);
++	}
++	seteuid(pw->pw_uid);
++#ifdef IPTOS_THROUGHPUT
++	socket_set_tos (s, IPTOS_THROUGHPUT);
++#endif
++	return (fdopen(s, mode));
++bad:
++	/* Return the real value of errno (close may change it) */
++	t = errno;
++	seteuid((uid_t)pw->pw_uid);
++	close(s);
++	errno = t;
++	return (NULL);
++}
++
++static int
++accept_with_timeout(int socket, 
++		    struct sockaddr *address,
++		    size_t *address_len,
++		    struct timeval *timeout)
++{
++    int ret;
++    fd_set rfd;
++    FD_ZERO(&rfd);
++    FD_SET(socket, &rfd);
++    ret = select(socket + 1, &rfd, NULL, NULL, timeout);
++    if(ret < 0)
++	return ret;
++    if(ret == 0) {
++	errno = ETIMEDOUT;
++	return -1;
++    }
++    return accept(socket, address, address_len);
++}
++
++static FILE *
++dataconn(const char *name, off_t size, const char *mode)
++{
++	char sizebuf[32];
++	FILE *file;
++	int retry = 0;
++
++	file_size = size;
++	byte_count = 0;
++	if (size >= 0)
++	    snprintf(sizebuf, sizeof(sizebuf), " (%ld bytes)", (long)size);
++	else
++	    *sizebuf = '\0';
++	if (pdata >= 0) {
++		struct sockaddr_storage from_ss;
++		struct sockaddr *from = (struct sockaddr *)&from_ss;
++		struct timeval timeout;
++		int s;
++		socklen_t fromlen = sizeof(from_ss);
++
++		timeout.tv_sec = 15;
++		timeout.tv_usec = 0;
++		s = accept_with_timeout(pdata, from, &fromlen, &timeout);
++		if (s < 0) {
++			reply(425, "Can't open data connection.");
++			close(pdata);
++			pdata = -1;
++			return (NULL);
++		}
++		close(pdata);
++		pdata = s;
++#if defined(IP_TOS) && defined(HAVE_SETSOCKOPT)
++		{
++		    int tos = IPTOS_THROUGHPUT;
++		    
++		    setsockopt(s, IPPROTO_IP, IP_TOS, (void *)&tos,
++			       sizeof(tos));
++		}
++#endif
++		reply(150, "Opening %s mode data connection for '%s'%s.",
++		     type == TYPE_A ? "ASCII" : "BINARY", name, sizebuf);
++		return (fdopen(pdata, mode));
++	}
++	if (data >= 0) {
++		reply(125, "Using existing data connection for '%s'%s.",
++		    name, sizebuf);
++		usedefault = 1;
++		return (fdopen(data, mode));
++	}
++	if (usedefault)
++		data_dest = his_addr;
++	usedefault = 1;
++	file = getdatasock(mode);
++	if (file == NULL) {
++		char data_addr[256];
++
++		if (inet_ntop (data_source->sa_family,
++			       socket_get_address(data_source),
++			       data_addr, sizeof(data_addr)) == NULL)
++			strlcpy (data_addr, "unknown address",
++					 sizeof(data_addr));
++
++		reply(425, "Can't create data socket (%s,%d): %s.",
++		      data_addr,
++		      socket_get_port (data_source),
++		      strerror(errno));
++		return (NULL);
++	}
++	data = fileno(file);
++	while (connect(data, data_dest,
++		       socket_sockaddr_size(data_dest)) < 0) {
++		if (errno == EADDRINUSE && retry < swaitmax) {
++			sleep(swaitint);
++			retry += swaitint;
++			continue;
++		}
++		perror_reply(425, "Can't build data connection");
++		fclose(file);
++		data = -1;
++		return (NULL);
++	}
++	reply(150, "Opening %s mode data connection for '%s'%s.",
++	     type == TYPE_A ? "ASCII" : "BINARY", name, sizebuf);
++	return (file);
++}
++
++/*
++ * Tranfer the contents of "instr" to "outstr" peer using the appropriate
++ * encapsulation of the data subject * to Mode, Structure, and Type.
++ *
++ * NB: Form isn't handled.
++ */
++static void
++send_data(FILE *instr, FILE *outstr)
++{
++	int c, cnt, filefd, netfd;
++	static char *buf;
++	static size_t bufsize;
++
++	transflag++;
++	if (setjmp(urgcatch)) {
++		transflag = 0;
++		return;
++	}
++	switch (type) {
++
++	case TYPE_A:
++	    while ((c = getc(instr)) != EOF) {
++		byte_count++;
++		if(c == '\n')
++		    sec_putc('\r', outstr);
++		sec_putc(c, outstr);
++	    }
++	    sec_fflush(outstr);
++	    transflag = 0;
++	    if (ferror(instr))
++		goto file_err;
++	    if (ferror(outstr))
++		goto data_err;
++	    reply(226, "Transfer complete.");
++	    return;
++		
++	case TYPE_I:
++	case TYPE_L:
++#if defined(HAVE_MMAP) && !defined(NO_MMAP)
++#ifndef MAP_FAILED
++#define MAP_FAILED (-1)
++#endif
++	    {
++		struct stat st;
++		char *chunk;
++		int in = fileno(instr);
++		if(fstat(in, &st) == 0 && S_ISREG(st.st_mode) 
++		   && st.st_size > 0) {
++		    /*
++		     * mmap zero bytes has potential of loosing, don't do it.
++		     */
++		    chunk = mmap(0, st.st_size, PROT_READ,
++				 MAP_SHARED, in, 0);
++		    if((void *)chunk != (void *)MAP_FAILED) {
++			cnt = st.st_size - restart_point;
++			sec_write(fileno(outstr), chunk + restart_point, cnt);
++			if (munmap(chunk, st.st_size) < 0)
++			    warn ("munmap");
++			sec_fflush(outstr);
++			byte_count = cnt;
++			transflag = 0;
++		    }
++		}
++	    }
++#endif
++	if(transflag) {
++	    struct stat st;
++
++	    netfd = fileno(outstr);
++	    filefd = fileno(instr);
++	    buf = alloc_buffer (buf, &bufsize,
++				fstat(filefd, &st) >= 0 ? &st : NULL);
++	    if (buf == NULL) {
++		transflag = 0;
++		perror_reply(451, "Local resource failure: malloc");
++		return;
++	    }
++	    while ((cnt = read(filefd, buf, bufsize)) > 0 &&
++		   sec_write(netfd, buf, cnt) == cnt)
++		byte_count += cnt;
++	    sec_fflush(outstr); /* to end an encrypted stream */
++	    transflag = 0;
++	    if (cnt != 0) {
++		if (cnt < 0)
++		    goto file_err;
++		goto data_err;
++	    }
++	}
++	reply(226, "Transfer complete.");
++	return;
++	default:
++	    transflag = 0;
++	    reply(550, "Unimplemented TYPE %d in send_data", type);
++	    return;
++	}
++
++data_err:
++	transflag = 0;
++	perror_reply(426, "Data connection");
++	return;
++
++file_err:
++	transflag = 0;
++	perror_reply(551, "Error on input file");
++}
++
++/*
++ * Transfer data from peer to "outstr" using the appropriate encapulation of
++ * the data subject to Mode, Structure, and Type.
++ *
++ * N.B.: Form isn't handled.
++ */
++static int
++receive_data(FILE *instr, FILE *outstr)
++{
++    int cnt, bare_lfs = 0;
++    static char *buf;
++    static size_t bufsize;
++    struct stat st;
++
++    transflag++;
++    if (setjmp(urgcatch)) {
++	transflag = 0;
++	return (-1);
++    }
++
++    buf = alloc_buffer (buf, &bufsize,
++			fstat(fileno(outstr), &st) >= 0 ? &st : NULL);
++    if (buf == NULL) {
++	transflag = 0;
++	perror_reply(451, "Local resource failure: malloc");
++	return -1;
++    }
++    
++    switch (type) {
++
++    case TYPE_I:
++    case TYPE_L:
++	while ((cnt = sec_read(fileno(instr), buf, bufsize)) > 0) {
++	    if (write(fileno(outstr), buf, cnt) != cnt)
++		goto file_err;
++	    byte_count += cnt;
++	}
++	if (cnt < 0)
++	    goto data_err;
++	transflag = 0;
++	return (0);
++
++    case TYPE_E:
++	reply(553, "TYPE E not implemented.");
++	transflag = 0;
++	return (-1);
++
++    case TYPE_A:
++    {
++	char *p, *q;
++	int cr_flag = 0;
++	while ((cnt = sec_read(fileno(instr),
++				buf + cr_flag, 
++				bufsize - cr_flag)) > 0){
++	    byte_count += cnt;
++	    cnt += cr_flag;
++	    cr_flag = 0;
++	    for(p = buf, q = buf; p < buf + cnt;) {
++		if(*p == '\n')
++		    bare_lfs++;
++		if(*p == '\r') {
++		    if(p == buf + cnt - 1){
++			cr_flag = 1;
++			p++;
++			continue;
++		    }else if(p[1] == '\n'){
++			*q++ = '\n';
++			p += 2;
++			continue;
++		    }
++		}
++		*q++ = *p++;
++	    }
++	    fwrite(buf, q - buf, 1, outstr);
++	    if(cr_flag)
++		buf[0] = '\r';
++	}
++	if(cr_flag)
++	    putc('\r', outstr);
++	fflush(outstr);
++	if (ferror(instr))
++	    goto data_err;
++	if (ferror(outstr))
++	    goto file_err;
++	transflag = 0;
++	if (bare_lfs) {
++	    lreply(226, "WARNING! %d bare linefeeds received in ASCII mode\r\n"
++		   "    File may not have transferred correctly.\r\n",
++		   bare_lfs);
++	}
++	return (0);
++    }
++    default:
++	reply(550, "Unimplemented TYPE %d in receive_data", type);
++	transflag = 0;
++	return (-1);
++    }
++	
++data_err:
++    transflag = 0;
++    perror_reply(426, "Data Connection");
++    return (-1);
++	
++file_err:
++    transflag = 0;
++    perror_reply(452, "Error writing file");
++    return (-1);
++}
++
++void
++statfilecmd(char *filename)
++{
++	FILE *fin;
++	int c;
++	char line[LINE_MAX];
++
++	snprintf(line, sizeof(line), "/bin/ls -la -- %s", filename);
++	fin = ftpd_popen(line, "r", 1, 0);
++	lreply(211, "status of %s:", filename);
++	while ((c = getc(fin)) != EOF) {
++		if (c == '\n') {
++			if (ferror(stdout)){
++				perror_reply(421, "control connection");
++				ftpd_pclose(fin);
++				dologout(1);
++				/* NOTREACHED */
++			}
++			if (ferror(fin)) {
++				perror_reply(551, filename);
++				ftpd_pclose(fin);
++				return;
++			}
++			putc('\r', stdout);
++		}
++		putc(c, stdout);
++	}
++	ftpd_pclose(fin);
++	reply(211, "End of Status");
++}
++
++void
++statcmd(void)
++{
++#if 0
++	struct sockaddr_in *sin;
++	u_char *a, *p;
++
++	lreply(211, "%s FTP server (%s) status:", hostname, version);
++	printf("     %s\r\n", version);
++	printf("     Connected to %s", remotehost);
++	if (!isdigit(remotehost[0]))
++		printf(" (%s)", inet_ntoa(his_addr.sin_addr));
++	printf("\r\n");
++	if (logged_in) {
++		if (guest)
++			printf("     Logged in anonymously\r\n");
++		else
++			printf("     Logged in as %s\r\n", pw->pw_name);
++	} else if (askpasswd)
++		printf("     Waiting for password\r\n");
++	else
++		printf("     Waiting for user name\r\n");
++	printf("     TYPE: %s", typenames[type]);
++	if (type == TYPE_A || type == TYPE_E)
++		printf(", FORM: %s", formnames[form]);
++	if (type == TYPE_L)
++#if NBBY == 8
++		printf(" %d", NBBY);
++#else
++		printf(" %d", bytesize);	/* need definition! */
++#endif
++	printf("; STRUcture: %s; transfer MODE: %s\r\n",
++	    strunames[stru], modenames[mode]);
++	if (data != -1)
++		printf("     Data connection open\r\n");
++	else if (pdata != -1) {
++		printf("     in Passive mode");
++		sin = &pasv_addr;
++		goto printaddr;
++	} else if (usedefault == 0) {
++		printf("     PORT");
++		sin = &data_dest;
++printaddr:
++		a = (u_char *) &sin->sin_addr;
++		p = (u_char *) &sin->sin_port;
++#define UC(b) (((int) b) & 0xff)
++		printf(" (%d,%d,%d,%d,%d,%d)\r\n", UC(a[0]),
++			UC(a[1]), UC(a[2]), UC(a[3]), UC(p[0]), UC(p[1]));
++#undef UC
++	} else
++		printf("     No data connection\r\n");
++#endif
++	reply(211, "End of status");
++}
++
++void
++fatal(char *s)
++{
++
++	reply(451, "Error in server: %s\n", s);
++	reply(221, "Closing connection due to server error.");
++	dologout(0);
++	/* NOTREACHED */
++}
++
++static void
++int_reply(int, char *, const char *, va_list)
++#ifdef __GNUC__
++__attribute__ ((format (printf, 3, 0)))
++#endif
++;
++
++static void
++int_reply(int n, char *c, const char *fmt, va_list ap)
++{
++    char buf[10240];
++    char *p;
++    p=buf;
++    if(n){
++	snprintf(p, sizeof(buf), "%d%s", n, c);
++	p+=strlen(p);
++    }
++    vsnprintf(p, sizeof(buf) - strlen(p), fmt, ap);
++    p+=strlen(p);
++    snprintf(p, sizeof(buf) - strlen(p), "\r\n");
++    p+=strlen(p);
++    sec_fprintf(stdout, "%s", buf);
++    fflush(stdout);
++    if (debug)
++	syslog(LOG_DEBUG, "<--- %s- ", buf);
++}
++
++void
++reply(int n, const char *fmt, ...)
++{
++  va_list ap;
++  va_start(ap, fmt);
++  int_reply(n, " ", fmt, ap);
++  delete_ftp_command();
++  va_end(ap);
++}
++
++void
++lreply(int n, const char *fmt, ...)
++{
++  va_list ap;
++  va_start(ap, fmt);
++  int_reply(n, "-", fmt, ap);
++  va_end(ap);
++}
++
++void
++nreply(const char *fmt, ...)
++{
++  va_list ap;
++  va_start(ap, fmt);
++  int_reply(0, NULL, fmt, ap);
++  va_end(ap);
++}
++
++static void
++ack(char *s)
++{
++
++	reply(250, "%s command successful.", s);
++}
++
++void
++nack(char *s)
++{
++
++	reply(502, "%s command not implemented.", s);
++}
++
++/* ARGSUSED */
++void
++yyerror(char *s)
++{
++	char *cp;
++
++	if ((cp = strchr(cbuf,'\n')))
++		*cp = '\0';
++	reply(500, "'%s': command not understood.", cbuf);
++}
++
++void
++do_delete(char *name)
++{
++	struct stat st;
++
++	LOGCMD("delete", name);
++	if (stat(name, &st) < 0) {
++		perror_reply(550, name);
++		return;
++	}
++	if ((st.st_mode&S_IFMT) == S_IFDIR) {
++		if (rmdir(name) < 0) {
++			perror_reply(550, name);
++			return;
++		}
++		goto done;
++	}
++	if (unlink(name) < 0) {
++		perror_reply(550, name);
++		return;
++	}
++done:
++	ack("DELE");
++}
++
++void
++cwd(char *path)
++{
++
++	if (chdir(path) < 0)
++		perror_reply(550, path);
++	else
++		ack("CWD");
++}
++
++void
++makedir(char *name)
++{
++
++	LOGCMD("mkdir", name);
++	if(guest && filename_check(name))
++	    return;
++	if (mkdir(name, 0777) < 0)
++		perror_reply(550, name);
++	else{
++	    if(guest)
++		chmod(name, 0700); /* guest has umask 777 */
++	    reply(257, "MKD command successful.");
++	}
++}
++
++void
++removedir(char *name)
++{
++
++	LOGCMD("rmdir", name);
++	if (rmdir(name) < 0)
++		perror_reply(550, name);
++	else
++		ack("RMD");
++}
++
++void
++pwd(void)
++{
++    char path[MaxPathLen];
++    char *ret;
++
++    /* SunOS has a broken getcwd that does popen(pwd) (!!!), this
++     * failes miserably when running chroot 
++     */
++    ret = getcwd(path, sizeof(path));
++    if (ret == NULL)
++	reply(550, "%s.", strerror(errno));
++    else
++	reply(257, "\"%s\" is current directory.", path);
++}
++
++char *
++renamefrom(char *name)
++{
++	struct stat st;
++
++	if (stat(name, &st) < 0) {
++		perror_reply(550, name);
++		return NULL;
++	}
++	reply(350, "File exists, ready for destination name");
++	return (name);
++}
++
++void
++renamecmd(char *from, char *to)
++{
++
++	LOGCMD2("rename", from, to);
++	if(guest && filename_check(to))
++	    return;
++	if (rename(from, to) < 0)
++		perror_reply(550, "rename");
++	else
++		ack("RNTO");
++}
++
++static void
++dolog(struct sockaddr *sa, int len)
++{
++	getnameinfo_verified (sa, len, remotehost, sizeof(remotehost),
++			      NULL, 0, 0);
++#ifdef HAVE_SETPROCTITLE
++	snprintf(proctitle, sizeof(proctitle), "%s: connected", remotehost);
++	setproctitle("%s", proctitle);
++#endif /* HAVE_SETPROCTITLE */
++
++	if (logging) {
++		char data_addr[256];
++
++		if (inet_ntop (his_addr->sa_family,
++			       socket_get_address(his_addr),
++			       data_addr, sizeof(data_addr)) == NULL)
++			strlcpy (data_addr, "unknown address",
++					 sizeof(data_addr));
++
++
++		syslog(LOG_INFO, "connection from %s(%s)",
++		       remotehost,
++		       data_addr);
++	}
++}
++
++/*
++ * Record logout in wtmp file
++ * and exit with supplied status.
++ */
++void
++dologout(int status)
++{
++    transflag = 0;
++    if (logged_in) {
++	seteuid((uid_t)0);
++	ftpd_logwtmp(ttyline, "", "");
++#ifdef KRB4
++	cond_kdestroy();
++#endif
++    }
++    /* beware of flushing buffers after a SIGPIPE */
++#ifdef XXX
++    exit(status);
++#else
++    _exit(status);
++#endif	
++}
++
++void abor(void)
++{
++}
++
++static void
++myoob(int signo)
++{
++#if 0
++	char *cp;
++#endif
++
++	/* only process if transfer occurring */
++	if (!transflag)
++		return;
++
++	/* This is all XXX */
++	oobflag = 1;
++	/* if the command resulted in a new command, 
++	   parse that as well */
++	do{
++	    yyparse();
++	} while(ftp_command);
++	oobflag = 0;
++
++#if 0 
++	cp = tmpline;
++	if (ftpd_getline(cp, 7) == NULL) {
++		reply(221, "You could at least say goodbye.");
++		dologout(0);
++	}
++	upper(cp);
++	if (strcmp(cp, "ABOR\r\n") == 0) {
++		tmpline[0] = '\0';
++		reply(426, "Transfer aborted. Data connection closed.");
++		reply(226, "Abort successful");
++		longjmp(urgcatch, 1);
++	}
++	if (strcmp(cp, "STAT\r\n") == 0) {
++		if (file_size != (off_t) -1)
++			reply(213, "Status: %ld of %ld bytes transferred",
++			      (long)byte_count,
++			      (long)file_size);
++		else
++			reply(213, "Status: %ld bytes transferred"
++			      (long)byte_count);
++	}
++#endif
++}
++
++/*
++ * Note: a response of 425 is not mentioned as a possible response to
++ *	the PASV command in RFC959. However, it has been blessed as
++ *	a legitimate response by Jon Postel in a telephone conversation
++ *	with Rick Adams on 25 Jan 89.
++ */
++void
++pasv(void)
++{
++	socklen_t len;
++	char *p, *a;
++	struct sockaddr_in *sin;
++
++	if (ctrl_addr->sa_family != AF_INET) {
++		reply(425,
++		      "You cannot do PASV with something that's not IPv4");
++		return;
++	}
++
++	if(pdata != -1)
++	    close(pdata);
++
++	pdata = socket(ctrl_addr->sa_family, SOCK_STREAM, 0);
++	if (pdata < 0) {
++		perror_reply(425, "Can't open passive connection");
++		return;
++	}
++	pasv_addr->sa_family = ctrl_addr->sa_family;
++	socket_set_address_and_port (pasv_addr,
++				     socket_get_address (ctrl_addr),
++				     0);
++	socket_set_portrange(pdata, restricted_data_ports, 
++	    pasv_addr->sa_family); 
++	seteuid(0);
++	if (bind(pdata, pasv_addr, socket_sockaddr_size (pasv_addr)) < 0) {
++		seteuid(pw->pw_uid);
++		goto pasv_error;
++	}
++	seteuid(pw->pw_uid);
++	len = sizeof(pasv_addr_ss);
++	if (getsockname(pdata, pasv_addr, &len) < 0)
++		goto pasv_error;
++	if (listen(pdata, 1) < 0)
++		goto pasv_error;
++	sin = (struct sockaddr_in *)pasv_addr;
++	a = (char *) &sin->sin_addr;
++	p = (char *) &sin->sin_port;
++
++#define UC(b) (((int) b) & 0xff)
++
++	reply(227, "Entering Passive Mode (%d,%d,%d,%d,%d,%d)", UC(a[0]),
++		UC(a[1]), UC(a[2]), UC(a[3]), UC(p[0]), UC(p[1]));
++	return;
++
++pasv_error:
++	close(pdata);
++	pdata = -1;
++	perror_reply(425, "Can't open passive connection");
++	return;
++}
++
++void
++epsv(char *proto)
++{
++	socklen_t len;
++
++	pdata = socket(ctrl_addr->sa_family, SOCK_STREAM, 0);
++	if (pdata < 0) {
++		perror_reply(425, "Can't open passive connection");
++		return;
++	}
++	pasv_addr->sa_family = ctrl_addr->sa_family;
++	socket_set_address_and_port (pasv_addr,
++				     socket_get_address (ctrl_addr),
++				     0);
++	socket_set_portrange(pdata, restricted_data_ports, 
++	    pasv_addr->sa_family); 
++	seteuid(0);
++	if (bind(pdata, pasv_addr, socket_sockaddr_size (pasv_addr)) < 0) {
++		seteuid(pw->pw_uid);
++		goto pasv_error;
++	}
++	seteuid(pw->pw_uid);
++	len = sizeof(pasv_addr_ss);
++	if (getsockname(pdata, pasv_addr, &len) < 0)
++		goto pasv_error;
++	if (listen(pdata, 1) < 0)
++		goto pasv_error;
++
++	reply(229, "Entering Extended Passive Mode (|||%d|)",
++	      ntohs(socket_get_port (pasv_addr)));
++	return;
++
++pasv_error:
++	close(pdata);
++	pdata = -1;
++	perror_reply(425, "Can't open passive connection");
++	return;
++}
++
++void
++eprt(char *str)
++{
++	char *end;
++	char sep;
++	int af;
++	int ret;
++	int port;
++
++	usedefault = 0;
++	if (pdata >= 0) {
++	    close(pdata);
++	    pdata = -1;
++	}
++
++	sep = *str++;
++	if (sep == '\0') {
++		reply(500, "Bad syntax in EPRT");
++		return;
++	}
++	af = strtol (str, &end, 0);
++	if (af == 0 || *end != sep) {
++		reply(500, "Bad syntax in EPRT");
++		return;
++	}
++	str = end + 1;
++	switch (af) {
++#ifdef HAVE_IPV6
++	case 2 :
++	    data_dest->sa_family = AF_INET6;
++	    break;
++#endif		
++	case 1 :
++	    data_dest->sa_family = AF_INET;
++		break;
++	default :
++		reply(522, "Network protocol %d not supported, use (1"
++#ifdef HAVE_IPV6
++		      ",2"
++#endif
++		      ")", af);
++		return;
++	}
++	end = strchr (str, sep);
++	if (end == NULL) {
++		reply(500, "Bad syntax in EPRT");
++		return;
++	}
++	*end = '\0';
++	ret = inet_pton (data_dest->sa_family, str,
++			 socket_get_address (data_dest));
++
++	if (ret != 1) {
++		reply(500, "Bad address syntax in EPRT");
++		return;
++	}
++	str = end + 1;
++	port = strtol (str, &end, 0);
++	if (port == 0 || *end != sep) {
++		reply(500, "Bad port syntax in EPRT");
++		return;
++	}
++	socket_set_port (data_dest, htons(port));
++	reply(200, "EPRT command successful.");
++}
++
++/*
++ * Generate unique name for file with basename "local".
++ * The file named "local" is already known to exist.
++ * Generates failure reply on error.
++ */
++static char *
++gunique(char *local)
++{
++	static char new[MaxPathLen];
++	struct stat st;
++	int count;
++	char *cp;
++
++	cp = strrchr(local, '/');
++	if (cp)
++		*cp = '\0';
++	if (stat(cp ? local : ".", &st) < 0) {
++		perror_reply(553, cp ? local : ".");
++		return NULL;
++	}
++	if (cp)
++		*cp = '/';
++	for (count = 1; count < 100; count++) {
++		snprintf (new, sizeof(new), "%s.%d", local, count);
++		if (stat(new, &st) < 0)
++			return (new);
++	}
++	reply(452, "Unique file name cannot be created.");
++	return (NULL);
++}
++
++/*
++ * Format and send reply containing system error number.
++ */
++void
++perror_reply(int code, const char *string)
++{
++	reply(code, "%s: %s.", string, strerror(errno));
++}
++
++static char *onefile[] = {
++	"",
++	0
++};
++
++void
++list_file(char *file)
++{
++    if(use_builtin_ls) {
++	FILE *dout;
++	dout = dataconn(file, -1, "w");
++	if (dout == NULL)
++	    return;
++	set_buffer_size(fileno(dout), 0);
++	if(builtin_ls(dout, file) == 0)
++	    reply(226, "Transfer complete.");
++	else
++	    reply(451, "Requested action aborted. Local error in processing.");
++	fclose(dout);
++	data = -1;
++	pdata = -1;
++    } else {
++#ifdef HAVE_LS_A
++	const char *cmd = "/bin/ls -lA %s";
++#else
++	const char *cmd = "/bin/ls -la %s";
++#endif
++	retrieve(cmd, file);
++    }
++}
++
++void
++send_file_list(char *whichf)
++{
++  struct stat st;
++  DIR *dirp = NULL;
++  struct dirent *dir;
++  FILE *dout = NULL;
++  char **dirlist, *dirname;
++  int simple = 0;
++  int freeglob = 0;
++  glob_t gl;
++  char buf[MaxPathLen];
++
++  if (strpbrk(whichf, "~{[*?") != NULL) {
++    int flags = GLOB_BRACE|GLOB_NOCHECK|GLOB_QUOTE|GLOB_TILDE|
++#ifdef GLOB_MAXPATH
++	GLOB_MAXPATH
++#else
++	GLOB_LIMIT
++#endif
++	;
++
++    memset(&gl, 0, sizeof(gl));
++    freeglob = 1;
++    if (glob(whichf, flags, 0, &gl)) {
++      reply(550, "not found");
++      goto out;
++    } else if (gl.gl_pathc == 0) {
++      errno = ENOENT;
++      perror_reply(550, whichf);
++      goto out;
++    }
++    dirlist = gl.gl_pathv;
++  } else {
++    onefile[0] = whichf;
++    dirlist = onefile;
++    simple = 1;
++  }
++
++  if (setjmp(urgcatch)) {
++    transflag = 0;
++    goto out;
++  }
++  while ((dirname = *dirlist++)) {
++    if (stat(dirname, &st) < 0) {
++      /*
++       * If user typed "ls -l", etc, and the client
++       * used NLST, do what the user meant.
++       */
++      if (dirname[0] == '-' && *dirlist == NULL &&
++	  transflag == 0) {
++	  list_file(dirname);
++	  goto out;
++      }
++      perror_reply(550, whichf);
++      if (dout != NULL) {
++	fclose(dout);
++	transflag = 0;
++	data = -1;
++	pdata = -1;
++      }
++      goto out;
++    }
++
++    if (S_ISREG(st.st_mode)) {
++      if (dout == NULL) {
++	dout = dataconn("file list", (off_t)-1, "w");
++	if (dout == NULL)
++	  goto out;
++	transflag++;
++      }
++      snprintf(buf, sizeof(buf), "%s%s\n", dirname,
++	      type == TYPE_A ? "\r" : "");
++      sec_write(fileno(dout), buf, strlen(buf));
++      byte_count += strlen(dirname) + 1;
++      continue;
++    } else if (!S_ISDIR(st.st_mode))
++      continue;
++
++    if ((dirp = opendir(dirname)) == NULL)
++      continue;
++
++    while ((dir = readdir(dirp)) != NULL) {
++      char nbuf[MaxPathLen];
++
++      if (!strcmp(dir->d_name, "."))
++	continue;
++      if (!strcmp(dir->d_name, ".."))
++	continue;
++
++      snprintf(nbuf, sizeof(nbuf), "%s/%s", dirname, dir->d_name);
++
++      /*
++       * We have to do a stat to insure it's
++       * not a directory or special file.
++       */
++      if (simple || (stat(nbuf, &st) == 0 &&
++		     S_ISREG(st.st_mode))) {
++	if (dout == NULL) {
++	  dout = dataconn("file list", (off_t)-1, "w");
++	  if (dout == NULL)
++	    goto out;
++	  transflag++;
++	}
++	if(strncmp(nbuf, "./", 2) == 0)
++	  snprintf(buf, sizeof(buf), "%s%s\n", nbuf +2,
++		   type == TYPE_A ? "\r" : "");
++	else
++	  snprintf(buf, sizeof(buf), "%s%s\n", nbuf,
++		   type == TYPE_A ? "\r" : "");
++	sec_write(fileno(dout), buf, strlen(buf));
++	byte_count += strlen(nbuf) + 1;
++      }
++    }
++    closedir(dirp);
++  }
++  if (dout == NULL)
++    reply(550, "No files found.");
++  else if (ferror(dout) != 0)
++    perror_reply(550, "Data connection");
++  else
++    reply(226, "Transfer complete.");
++
++  transflag = 0;
++  if (dout != NULL){
++    sec_write(fileno(dout), buf, 0); /* XXX flush */
++	    
++    fclose(dout);
++  }
++  data = -1;
++  pdata = -1;
++out:
++  if (freeglob) {
++    freeglob = 0;
++    globfree(&gl);
++  }
++}
++
++
++int
++find(char *pattern)
++{
++    char line[1024];
++    FILE *f;
++
++    snprintf(line, sizeof(line),
++	     "/bin/locate -d %s -- %s",
++	     ftp_rooted("/etc/locatedb"),
++	     pattern);
++    f = ftpd_popen(line, "r", 1, 1);
++    if(f == NULL){
++	perror_reply(550, "/bin/locate");
++	return 1;
++    }
++    lreply(200, "Output from find.");
++    while(fgets(line, sizeof(line), f)){
++	if(line[strlen(line)-1] == '\n')
++	    line[strlen(line)-1] = 0;
++	nreply("%s", line);
++    }
++    reply(200, "Done");
++    ftpd_pclose(f);
++    return 0;
++}
++
+diff -ruN heimdal-0.5.1-old/appl/ftp/ftpd/ftpd_locl.h heimdal-0.5.1/appl/ftp/ftpd/ftpd_locl.h
+--- heimdal-0.5.1-old/appl/ftp/ftpd/ftpd_locl.h	Wed Sep 20 00:16:44 2000
++++ heimdal-0.5.1/appl/ftp/ftpd/ftpd_locl.h	Sun Oct  6 14:57:46 2002
+@@ -106,7 +106,11 @@
+ #ifdef HAVE_FCNTL_H
+ #include <fcntl.h>
+ #endif
++#ifdef HAVE_GLOB
+ #include <glob.h>
++#else
++#include <roken-glob.h>
++#endif 
+ #include <limits.h>
+ #ifdef HAVE_PWD_H
+ #include <pwd.h>
+diff -ruN heimdal-0.5.1-old/appl/ftp/ftpd/popen.c heimdal-0.5.1/appl/ftp/ftpd/popen.c
+--- heimdal-0.5.1-old/appl/ftp/ftpd/popen.c	Tue Apr  2 21:57:39 2002
++++ heimdal-0.5.1/appl/ftp/ftpd/popen.c	Sun Oct  6 14:57:46 2002
+@@ -55,7 +55,11 @@
+ #include <sys/wait.h>
+ 
+ #include <errno.h>
++#ifdef HAVE_GLOB
+ #include <glob.h>
++#else
++#include <roken-glob.h>
++#endif
+ #include <signal.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+@@ -149,7 +153,11 @@
+ 
+ 		memset(&gl, 0, sizeof(gl));
+ 		if (no_glob || 
++#ifdef HAVE_GLOB
+ 		    glob(argv[argc], flags, NULL, &gl) || 
++#else
++		    roken_glob(argv[argc], flags, NULL, &gl) ||
++#endif
+ 		    gl.gl_pathc == 0)
+ 			gargv[gargc++] = strdup(argv[argc]);
+ 		else
+@@ -157,7 +165,11 @@
+ 			     *pop && gargc < MAXGLOBS - 1;
+ 			     pop++)
+ 				gargv[gargc++] = strdup(*pop);
++#ifdef HAVE_GLOB
+ 		globfree(&gl);
++#else
++		roken_globfree(&gl);
++#endif
+ 	}
+ 	gargv[gargc] = NULL;
+ 
+diff -ruN heimdal-0.5.1-old/appl/ftp/ftpd/popen.c.orig heimdal-0.5.1/appl/ftp/ftpd/popen.c.orig
+--- heimdal-0.5.1-old/appl/ftp/ftpd/popen.c.orig	Thu Jan  1 10:00:00 1970
++++ heimdal-0.5.1/appl/ftp/ftpd/popen.c.orig	Sun Oct  6 14:57:46 2002
+@@ -0,0 +1,240 @@
++/*
++ * Copyright (c) 1988, 1993, 1994
++ *	The Regents of the University of California.  All rights reserved.
++ *
++ * This code is derived from software written by Ken Arnold and
++ * published in UNIX Review, Vol. 6, No. 8.
++ *
++ * Redistribution and use in source and binary forms, with or without
++ * modification, are permitted provided that the following conditions
++ * are met:
++ * 1. Redistributions of source code must retain the above copyright
++ *    notice, this list of conditions and the following disclaimer.
++ * 2. Redistributions in binary form must reproduce the above copyright
++ *    notice, this list of conditions and the following disclaimer in the
++ *    documentation and/or other materials provided with the distribution.
++ * 3. All advertising materials mentioning features or use of this software
++ *    must display the following acknowledgement:
++ *	This product includes software developed by the University of
++ *	California, Berkeley and its contributors.
++ * 4. Neither the name of the University nor the names of its contributors
++ *    may be used to endorse or promote products derived from this software
++ *    without specific prior written permission.
++ *
++ * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
++ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
++ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
++ * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
++ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
++ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
++ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
++ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
++ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
++ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
++ * SUCH DAMAGE.
++ *
++ */
++
++#ifdef HAVE_CONFIG_H
++#include <config.h>
++RCSID("$Id: popen.c,v 1.26 2002/04/02 11:57:39 joda Exp $");
++#endif
++
++#include <sys/types.h>
++#ifdef TIME_WITH_SYS_TIME
++#include <sys/time.h>
++#include <time.h>
++#elif defined(HAVE_SYS_TIME_H)
++#include <sys/time.h>
++#else
++#include <time.h>
++#endif
++#ifdef HAVE_SYS_RESOURCE_H
++#include <sys/resource.h>
++#endif
++#include <sys/wait.h>
++
++#include <errno.h>
++#include <glob.h>
++#include <signal.h>
++#include <stdio.h>
++#include <stdlib.h>
++#include <string.h>
++#include <unistd.h>
++#include <roken.h>
++#define GLOB_QUOTE      0x0400
++#define GLOB_LIMIT      0x1000
++#include "extern.h"
++
++
++/* 
++ * Special version of popen which avoids call to shell.  This ensures
++ * no one may create a pipe to a hidden program as a side effect of a
++ * list or dir command.
++ */
++static int *pids;
++static int fds;
++
++extern int dochroot;
++
++/* return path prepended with ~ftp if that file exists, otherwise
++ * return path unchanged
++ */
++
++const char *
++ftp_rooted(const char *path)
++{
++    static char home[MaxPathLen] = "";
++    static char newpath[MaxPathLen];
++    struct passwd *pwd;
++
++    if(!home[0])
++	if((pwd = k_getpwnam("ftp")))
++	    strlcpy(home, pwd->pw_dir, sizeof(home));
++    snprintf(newpath, sizeof(newpath), "%s/%s", home, path);
++    if(access(newpath, X_OK))
++	strlcpy(newpath, path, sizeof(newpath));
++    return newpath;
++}
++
++
++#define MAXARGS	100
++#define MAXGLOBS 1000
++
++FILE *
++ftpd_popen(char *program, char *type, int do_stderr, int no_glob)
++{
++	char *cp;
++	FILE *iop;
++	int argc, gargc, pdes[2], pid;
++	char **pop, *argv[MAXARGS], *gargv[MAXGLOBS];
++	char *foo;
++
++	if (strcmp(type, "r") && strcmp(type, "w"))
++		return (NULL);
++
++	if (!pids) {
++
++	    /* This function is ugly and should be rewritten, in
++	     * modern unices there is no such thing as a maximum
++	     * filedescriptor.
++	     */
++
++	    fds = getdtablesize();
++	    pids = (int*)calloc(fds, sizeof(int));
++	    if(!pids)
++		return NULL;
++	}
++	if (pipe(pdes) < 0)
++		return (NULL);
++
++	/* break up string into pieces */
++	foo = NULL;
++	for (argc = 0, cp = program; argc < MAXARGS - 1; cp = NULL) {
++		if (!(argv[argc++] = strtok_r(cp, " \t\n", &foo)))
++			break;
++	}
++	argv[MAXARGS - 1] = NULL;
++
++	gargv[0] = (char*)ftp_rooted(argv[0]);
++	/* glob each piece */
++	for (gargc = argc = 1; argv[argc] && gargc < MAXGLOBS - 1; argc++) {
++		glob_t gl;
++		int flags = GLOB_BRACE|GLOB_NOCHECK|GLOB_QUOTE|GLOB_TILDE
++		    |
++#ifdef GLOB_MAXPATH
++	GLOB_MAXPATH
++#else
++	GLOB_LIMIT
++#endif
++		    ;
++
++		memset(&gl, 0, sizeof(gl));
++		if (no_glob || 
++		    glob(argv[argc], flags, NULL, &gl) || 
++		    gl.gl_pathc == 0)
++			gargv[gargc++] = strdup(argv[argc]);
++		else
++			for (pop = gl.gl_pathv;
++			     *pop && gargc < MAXGLOBS - 1;
++			     pop++)
++				gargv[gargc++] = strdup(*pop);
++		globfree(&gl);
++	}
++	gargv[gargc] = NULL;
++
++	iop = NULL;
++	switch(pid = fork()) {
++	case -1:			/* error */
++		close(pdes[0]);
++		close(pdes[1]);
++		goto pfree;
++		/* NOTREACHED */
++	case 0:				/* child */
++		if (*type == 'r') {
++			if (pdes[1] != STDOUT_FILENO) {
++				dup2(pdes[1], STDOUT_FILENO);
++				close(pdes[1]);
++			}
++			if(do_stderr)
++			    dup2(STDOUT_FILENO, STDERR_FILENO);
++			close(pdes[0]);
++		} else {
++			if (pdes[0] != STDIN_FILENO) {
++				dup2(pdes[0], STDIN_FILENO);
++				close(pdes[0]);
++			}
++			close(pdes[1]);
++		}
++		execv(gargv[0], gargv);
++		gargv[0] = argv[0];
++		execv(gargv[0], gargv);
++		_exit(1);
++	}
++	/* parent; assume fdopen can't fail...  */
++	if (*type == 'r') {
++		iop = fdopen(pdes[0], type);
++		close(pdes[1]);
++	} else {
++		iop = fdopen(pdes[1], type);
++		close(pdes[0]);
++	}
++	pids[fileno(iop)] = pid;
++	
++pfree:	
++	for (argc = 1; gargv[argc] != NULL; argc++)
++	    free(gargv[argc]);
++
++
++	return (iop);
++}
++
++int
++ftpd_pclose(FILE *iop)
++{
++	int fdes, status;
++	pid_t pid;
++	sigset_t sigset, osigset;
++
++	/*
++	 * pclose returns -1 if stream is not associated with a
++	 * `popened' command, or, if already `pclosed'.
++	 */
++	if (pids == 0 || pids[fdes = fileno(iop)] == 0)
++		return (-1);
++	fclose(iop);
++	sigemptyset(&sigset);
++	sigaddset(&sigset, SIGINT);
++	sigaddset(&sigset, SIGQUIT);
++	sigaddset(&sigset, SIGHUP);
++	sigprocmask(SIG_BLOCK, &sigset, &osigset);
++	while ((pid = waitpid(pids[fdes], &status, 0)) < 0 && errno == EINTR)
++		continue;
++	sigprocmask(SIG_SETMASK, &osigset, NULL);
++	pids[fdes] = 0;
++	if (pid < 0)
++		return (pid);
++	if (WIFEXITED(status))
++		return (WEXITSTATUS(status));
++	return (1);
++}
+diff -ruN heimdal-0.5.1-old/lib/roken/Makefile.am heimdal-0.5.1/lib/roken/Makefile.am
+--- heimdal-0.5.1-old/lib/roken/Makefile.am	Tue Sep 10 05:17:01 2002
++++ heimdal-0.5.1/lib/roken/Makefile.am	Sun Oct  6 14:58:25 2002
+@@ -183,7 +183,7 @@
+ if have_glob_h
+ glob_h =
+ else
+-glob_h = glob.h
++glob_h = roken-glob.h
+ endif
+ 
+ if have_ifaddrs_h
+@@ -220,6 +220,8 @@
+ SUFFIXES += .hin
+ .hin.h:
+ 	cp $< $@
++roken-glob.h:
++	cp glob.hin roken-glob.h
+ 
+ roken.h: make-roken$(EXEEXT)
+ 	@./make-roken$(EXEEXT) > tmp.h ;\
+diff -ruN heimdal-0.5.1-old/lib/roken/glob.c heimdal-0.5.1/lib/roken/glob.c
+--- heimdal-0.5.1-old/lib/roken/glob.c	Wed Aug 22 01:32:44 2001
++++ heimdal-0.5.1/lib/roken/glob.c	Sun Oct  6 14:57:46 2002
+@@ -171,7 +171,7 @@
+ #endif
+ 
+ int
+-glob(const char *pattern, 
++roken_glob(const char *pattern, 
+      int flags, 
+      int (*errfunc)(const char *, int), 
+      glob_t *pglob)
+@@ -746,7 +746,7 @@
+ 
+ /* Free allocated data belonging to a glob_t structure. */
+ void
+-globfree(glob_t *pglob)
++roken_globfree(glob_t *pglob)
+ {
+ 	int i;
+ 	char **pp;
+diff -ruN heimdal-0.5.1-old/lib/roken/glob.hin heimdal-0.5.1/lib/roken/glob.hin
+--- heimdal-0.5.1-old/lib/roken/glob.hin	Mon Mar 26 09:43:19 2001
++++ heimdal-0.5.1/lib/roken/glob.hin	Sun Oct  6 14:57:46 2002
+@@ -36,8 +36,8 @@
+  *	@(#)glob.h	8.1 (Berkeley) 6/2/93
+  */
+ 
+-#ifndef _GLOB_H_
+-#define	_GLOB_H_
++#ifndef _ROKEN_GLOB_H_
++#define	_ROKEN_GLOB_H_
+ 
+ struct stat;
+ typedef struct {
+@@ -79,7 +79,7 @@
+ #define	GLOB_NOSPACE	(-1)	/* Malloc call failed. */
+ #define	GLOB_ABEND	(-2)	/* Unignored error. */
+ 
+-int	glob (const char *, int, int (*)(const char *, int), glob_t *);
+-void	globfree (glob_t *);
++int	roken_glob (const char *, int, int (*)(const char *, int), glob_t *);
++void	roken_globfree (glob_t *);
+ 
+-#endif /* !_GLOB_H_ */
++#endif /* !_ROKEN_GLOB_H_ */
--- heimdal-0.6.3.orig/debian/patches-0.5.1/030_autotools
+++ heimdal-0.6.3/debian/patches-0.5.1/030_autotools
@@ -0,0 +1,50225 @@
+diff -ruN heimdal-0.5.1-old/Makefile.in heimdal-0.5.1/Makefile.in
+--- heimdal-0.5.1-old/Makefile.in	Tue Oct 22 03:49:13 2002
++++ heimdal-0.5.1/Makefile.in	Mon Mar 17 14:42:21 2003
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -80,8 +81,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -89,7 +92,6 @@
+ ECHO = @ECHO@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,11 +111,11 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -190,6 +192,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -236,18 +247,21 @@
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c
+-$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++
++am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
++ configure.lineno
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+ 	  $(AUTOMAKE) --foreign  Makefile
+-Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
+ 	cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)
+ 
+ $(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ 	$(SHELL) ./config.status --recheck
+-$(srcdir)/configure:  $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
++$(srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
+ 	cd $(srcdir) && $(AUTOCONF)
+ 
+-$(ACLOCAL_M4):  configure.in acinclude.m4 cf/aix.m4 cf/auth-modules.m4 cf/broken-getaddrinfo.m4 cf/broken-getnameinfo.m4 cf/broken-glob.m4 cf/broken-realloc.m4 cf/broken-snprintf.m4 cf/broken.m4 cf/broken2.m4 cf/c-attribute.m4 cf/c-function.m4 cf/capabilities.m4 cf/check-compile-et.m4 cf/check-declaration.m4 cf/check-getpwnam_r-posix.m4 cf/check-man.m4 cf/check-netinet-ip-and-tcp.m4 cf/check-type-extra.m4 cf/check-var.m4 cf/check-x.m4 cf/check-xau.m4 cf/crypto.m4 cf/db.m4 cf/destdirs.m4 cf/dlopen.m4 cf/find-func-no-libs.m4 cf/find-func-no-libs2.m4 cf/find-func.m4 cf/find-if-not-broken.m4 cf/have-pragma-weak.m4 cf/have-struct-field.m4 cf/have-type.m4 cf/have-types.m4 cf/irix.m4 cf/krb-bigendian.m4 cf/krb-func-getcwd-broken.m4 cf/krb-func-getlogin.m4 cf/krb-ipv6.m4 cf/krb-prog-ln-s.m4 cf/krb-prog-ranlib.m4 cf/krb-prog-yacc.m4 cf/krb-readline.m4 cf/krb-struct-spwd.m4 cf/krb-struct-winsize.m4 cf/krb-sys-aix.m4 cf/krb-sys-nextstep.m4 cf/krb-version.m4 cf/mips-abi.m4 cf/misc.m4 cf/need-proto.m4 cf/osfc2.m4 cf/otp.m4 cf/proto-compat.m4 cf/retsigtype.m4 cf/roken-frag.m4 cf/roken.m4 cf/sunos.m4 cf/telnet.m4 cf/test-package.m4 cf/wflags.m4 cf/with-all.m4
++$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in acinclude.m4 cf/aix.m4 cf/auth-modules.m4 cf/broken-getaddrinfo.m4 cf/broken-getnameinfo.m4 cf/broken-glob.m4 cf/broken-realloc.m4 cf/broken-snprintf.m4 cf/broken.m4 cf/broken2.m4 cf/c-attribute.m4 cf/c-function.m4 cf/capabilities.m4 cf/check-compile-et.m4 cf/check-declaration.m4 cf/check-getpwnam_r-posix.m4 cf/check-man.m4 cf/check-netinet-ip-and-tcp.m4 cf/check-type-extra.m4 cf/check-var.m4 cf/check-x.m4 cf/check-xau.m4 cf/crypto.m4 cf/db.m4 cf/destdirs.m4 cf/dlopen.m4 cf/find-func-no-libs.m4 cf/find-func-no-libs2.m4 cf/find-func.m4 cf/find-if-not-broken.m4 cf/have-pragma-weak.m4 cf/have-struct-field.m4 cf/have-type.m4 cf/have-types.m4 cf/irix.m4 cf/krb-bigendian.m4 cf/krb-func-getcwd-broken.m4 cf/krb-func-getlogin.m4 cf/krb-ipv6.m4 cf/krb-prog-ln-s.m4 cf/krb-prog-ranlib.m4 cf/krb-prog-yacc.m4 cf/krb-readline.m4 cf/krb-struct-spwd.m4 cf/krb-struct-winsize.m4 cf/krb-sys-aix.m4 cf/krb-sys-nextstep.m4 cf/krb-version.m4 cf/mips-abi.m4 cf/misc.m4 cf/need-proto.m4 cf/osfc2.m4 cf/otp.m4 cf/proto-compat.m4 cf/retsigtype.m4 cf/roken-frag.m4 cf/roken.m4 cf/sunos.m4 cf/telnet.m4 cf/test-package.m4 cf/wflags.m4 cf/with-all.m4
+ 	cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
+ 
+ mostlyclean-libtool:
+@@ -371,7 +385,7 @@
+ distdir: $(DISTFILES)
+ 	$(am__remove_distdir)
+ 	mkdir $(distdir)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -485,7 +499,7 @@
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+@@ -495,7 +509,7 @@
+ clean-am: clean-generic clean-libtool mostlyclean-am
+ 
+ distclean: distclean-recursive
+-	-rm -f config.status config.cache config.log
++	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
+ distclean-am: clean-am distclean-generic distclean-libtool \
+ 	distclean-tags
+ 
+@@ -520,7 +534,8 @@
+ installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-recursive
+-
++	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
++	-rm -rf autom4te.cache
+ maintainer-clean-am: distclean-am maintainer-clean-generic
+ 
+ mostlyclean: mostlyclean-recursive
+diff -ruN heimdal-0.5.1-old/aclocal.m4 heimdal-0.5.1/aclocal.m4
+--- heimdal-0.5.1-old/aclocal.m4	Tue Oct 22 03:48:32 2002
++++ heimdal-0.5.1/aclocal.m4	Mon Mar 17 14:41:16 2003
+@@ -1,4 +1,4 @@
+-# aclocal.m4t generated automatically by aclocal 1.6.1 -*- Autoconf -*-
++# aclocal.m4t generated automatically by aclocal 1.6.3 -*- Autoconf -*-
+ 
+ # Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002
+ # Free Software Foundation, Inc.
+@@ -36,6 +36,87 @@
+ #define MaxPathLen (1024+4)
+ 
+ ])])
++# Add --enable-maintainer-mode option to configure.
++# From Jim Meyering
++
++# Copyright 1996, 1998, 2000, 2001 Free Software Foundation, Inc.
++
++# 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, 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., 59 Temple Place - Suite 330, Boston, MA
++# 02111-1307, USA.
++
++# serial 1
++
++AC_DEFUN([AM_MAINTAINER_MODE],
++[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
++  dnl maintainer-mode is disabled by default
++  AC_ARG_ENABLE(maintainer-mode,
++[  --enable-maintainer-mode enable make rules and dependencies not useful
++                          (and sometimes confusing) to the casual installer],
++      USE_MAINTAINER_MODE=$enableval,
++      USE_MAINTAINER_MODE=no)
++  AC_MSG_RESULT([$USE_MAINTAINER_MODE])
++  AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
++  MAINT=$MAINTAINER_MODE_TRUE
++  AC_SUBST(MAINT)dnl
++]
++)
++
++# AM_CONDITIONAL                                              -*- Autoconf -*-
++
++# Copyright 1997, 2000, 2001 Free Software Foundation, Inc.
++
++# 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, 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., 59 Temple Place - Suite 330, Boston, MA
++# 02111-1307, USA.
++
++# serial 5
++
++AC_PREREQ(2.52)
++
++# AM_CONDITIONAL(NAME, SHELL-CONDITION)
++# -------------------------------------
++# Define a conditional.
++AC_DEFUN([AM_CONDITIONAL],
++[ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
++        [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
++AC_SUBST([$1_TRUE])
++AC_SUBST([$1_FALSE])
++if $2; then
++  $1_TRUE=
++  $1_FALSE='#'
++else
++  $1_TRUE='#'
++  $1_FALSE=
++fi
++AC_CONFIG_COMMANDS_PRE(
++[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
++  AC_MSG_ERROR([conditional \"$1\" was never defined.
++Usually this means the macro was only invoked conditionally.])
++fi])])
++
+ # Like AC_CONFIG_HEADER, but automatically create stamp file. -*- Autoconf -*-
+ 
+ # Copyright 1996, 1997, 2000, 2001 Free Software Foundation, Inc.
+@@ -241,7 +322,7 @@
+ # Call AM_AUTOMAKE_VERSION so it can be traced.
+ # This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
+ AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
+-	 [AM_AUTOMAKE_VERSION([1.6.1])])
++	 [AM_AUTOMAKE_VERSION([1.6.3])])
+ 
+ # Helper functions for option handling.                    -*- Autoconf -*-
+ 
+@@ -573,7 +654,7 @@
+ 
+ ifelse([$1], CC,   [depcc="$CC"   am_compiler_list=],
+        [$1], CXX,  [depcc="$CXX"  am_compiler_list=],
+-       [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc']
++       [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
+        [$1], GCJ,  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
+                    [depcc="$$1"   am_compiler_list=])
+ 
+@@ -698,7 +779,13 @@
+ [for mf in $CONFIG_FILES; do
+   # Strip MF so we end up with the name of the file.
+   mf=`echo "$mf" | sed -e 's/:.*$//'`
+-  if (sed 1q $mf | fgrep 'generated by automake') > /dev/null 2>&1; then
++  # Check whether this is an Automake generated Makefile or not.
++  # We used to match only the files named `Makefile.in', but
++  # some people rename them; so instead we look at the file content.
++  # Grep'ing the first line is not enough: some people post-process
++  # each Makefile.in and add a new line on top of each file to say so.
++  # So let's grep whole file.
++  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
+     dirpart=`AS_DIRNAME("$mf")`
+   else
+     continue
+@@ -809,50 +896,6 @@
+ rm -f confinc confmf
+ ])
+ 
+-# AM_CONDITIONAL                                              -*- Autoconf -*-
+-
+-# Copyright 1997, 2000, 2001 Free Software Foundation, Inc.
+-
+-# 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, 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., 59 Temple Place - Suite 330, Boston, MA
+-# 02111-1307, USA.
+-
+-# serial 5
+-
+-AC_PREREQ(2.52)
+-
+-# AM_CONDITIONAL(NAME, SHELL-CONDITION)
+-# -------------------------------------
+-# Define a conditional.
+-AC_DEFUN([AM_CONDITIONAL],
+-[ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
+-        [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
+-AC_SUBST([$1_TRUE])
+-AC_SUBST([$1_FALSE])
+-if $2; then
+-  $1_TRUE=
+-  $1_FALSE='#'
+-else
+-  $1_TRUE='#'
+-  $1_FALSE=
+-fi
+-AC_CONFIG_COMMANDS_PRE(
+-[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
+-  AC_MSG_ERROR([conditional \"$1\" was never defined.
+-Usually this means the macro was only invoked conditionally.])
+-fi])])
+-
+ 
+ # Copyright 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
+ 
+@@ -1231,7 +1274,7 @@
+   lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
+   lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
+   ;;
+-irix*)
++irix* | nonstopux*)
+   symcode='[[BCDEGRST]]'
+   ;;
+ solaris* | sysv5*)
+@@ -1874,7 +1917,7 @@
+       # like `-m68040'.
+       lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4'
+       ;;
+-    beos* | irix5* | irix6* | osf3* | osf4* | osf5*)
++    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
+       # PIC is the default for these OSes.
+       ;;
+     darwin* | rhapsody*)
+@@ -1917,7 +1960,7 @@
+       lt_cv_prog_cc_pic='+Z'
+       ;;
+ 
+-    irix5* | irix6*)
++    irix5* | irix6* | nonstopux*)
+       lt_cv_prog_cc_wl='-Wl,'
+       lt_cv_prog_cc_static='-non_shared'
+       # PIC (with -KPIC) is the default.
+@@ -2568,8 +2611,9 @@
+     esac
+     # FIXME: Relying on posixy $() will cause problems for
+     #        cross-compilation, but unfortunately the echo tests do not
+-    #        yet detect zsh echo's removal of \ escapes.
+-    archive_cmds='$nonopt $(test "x$module" = xyes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linker_flags -install_name $rpath/$soname $verstring'
++    #        yet detect zsh echo's removal of \ escapes.  Also zsh mangles
++    #	     `"' quotes if we put them in here... so don't!
++    archive_cmds='$nonopt $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linker_flags -install_name $rpath/$soname $verstring'
+     # We need to add '_' to the symbols in $export_symbols first
+     #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
+     hardcode_direct=yes
+@@ -2621,7 +2665,7 @@
+     export_dynamic_flag_spec='${wl}-E'
+     ;;
+ 
+-  irix5* | irix6*)
++  irix5* | irix6* | nonstopux*)
+     if test "$GCC" = yes; then
+       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+     else
+@@ -3092,14 +3136,17 @@
+   postinstall_cmds='chmod 555 $lib'
+   ;;
+ 
+-irix5* | irix6*)
+-  version_type=irix
++irix5* | irix6* | nonstopux*)
++  case $host_os in
++    nonstopux*) version_type=nonstopux ;;
++    *)          version_type=irix ;;
++  esac
+   need_lib_prefix=no
+   need_version=no
+   soname_spec='${libname}${release}.so$major'
+   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so'
+   case $host_os in
+-  irix5*)
++  irix5* | nonstopux*)
+     libsuff= shlibsuff=
+     ;;
+   *)
+@@ -3203,6 +3250,7 @@
+ osf3* | osf4* | osf5*)
+   version_type=osf
+   need_version=no
++  need_lib_prefix=no
+   soname_spec='${libname}${release}.so'
+   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
+   shlibpath_var=LD_LIBRARY_PATH
+@@ -4303,9 +4351,9 @@
+   lt_cv_file_magic_test_file=/usr/lib/libc.sl
+   ;;
+ 
+-irix5* | irix6*)
++irix5* | irix6* | nonstopux*)
+   case $host_os in
+-  irix5*)
++  irix5* | nonstopux*)
+     # this will be overridden with pass_all, but let us keep it just in case
+     lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
+     ;;
+@@ -4326,13 +4374,7 @@
+ 
+ # This must be Linux ELF.
+ linux-gnu*)
+-  case $host_cpu in
+-  alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
+-    lt_cv_deplibs_check_method=pass_all ;;
+-  *)
+-    # glibc up to 2.1.1 does not perform some relocations on ARM
+-    lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;;
+-  esac
++  lt_cv_deplibs_check_method=pass_all
+   lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
+   ;;
+ 
+@@ -4463,12 +4505,12 @@
+ ])
+ 
+ # AC_LIBLTDL_CONVENIENCE[(dir)] - sets LIBLTDL to the link flags for
+-# the libltdl convenience library and INCLTDL to the include flags for
++# the libltdl convenience library and LTDLINCL to the include flags for
+ # the libltdl header and adds --enable-ltdl-convenience to the
+-# configure arguments.  Note that LIBLTDL and INCLTDL are not
++# configure arguments.  Note that LIBLTDL and LTDLINCL are not
+ # AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called.  If DIR is not
+ # provided, it is assumed to be `libltdl'.  LIBLTDL will be prefixed
+-# with '${top_builddir}/' and INCLTDL will be prefixed with
++# with '${top_builddir}/' and LTDLINCL will be prefixed with
+ # '${top_srcdir}/' (note the single quotes!).  If your package is not
+ # flat and you're not using automake, define top_builddir and
+ # top_srcdir appropriately in the Makefiles.
+@@ -4480,16 +4522,18 @@
+       ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
+   esac
+   LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la
+-  INCLTDL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
++  LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
++  # For backwards non-gettext consistent compatibility...
++  INCLTDL="$LTDLINCL"
+ ])
+ 
+ # AC_LIBLTDL_INSTALLABLE[(dir)] - sets LIBLTDL to the link flags for
+-# the libltdl installable library and INCLTDL to the include flags for
++# the libltdl installable library and LTDLINCL to the include flags for
+ # the libltdl header and adds --enable-ltdl-install to the configure
+-# arguments.  Note that LIBLTDL and INCLTDL are not AC_SUBSTed, nor is
++# arguments.  Note that LIBLTDL and LTDLINCL are not AC_SUBSTed, nor is
+ # AC_CONFIG_SUBDIRS called.  If DIR is not provided and an installed
+ # libltdl is not found, it is assumed to be `libltdl'.  LIBLTDL will
+-# be prefixed with '${top_builddir}/' and INCLTDL will be prefixed
++# be prefixed with '${top_builddir}/' and LTDLINCL will be prefixed
+ # with '${top_srcdir}/' (note the single quotes!).  If your package is
+ # not flat and you're not using automake, define top_builddir and
+ # top_srcdir appropriately in the Makefiles.
+@@ -4507,12 +4551,14 @@
+   if test x"$enable_ltdl_install" = x"yes"; then
+     ac_configure_args="$ac_configure_args --enable-ltdl-install"
+     LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la
+-    INCLTDL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
++    LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
+   else
+     ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
+     LIBLTDL="-lltdl"
+-    INCLTDL=
++    LTDLINCL=
+   fi
++  # For backwards non-gettext consistent compatibility...
++  INCLTDL="$LTDLINCL"
+ ])
+ 
+ # old names
+@@ -4588,7 +4634,7 @@
+ 
+ header_dirs=
+ lib_dirs=
+-for i in $d; do
++for i in $d /usr; do
+ 	if test "$with_$1_include" = ""; then
+ 		if test -d "$i/include/$1"; then
+ 			header_dirs="$header_dirs $i/include/$1"
+@@ -4651,6 +4697,7 @@
+ 			AC_TRY_LINK([$2],,lres=$i;break)
+ 		done
+ 		if test "$ires" -a "$lres" -a "$with_$1" != "no"; then
++			DIR_$1=
+ 			INCLUDE_$1="-I$ires"
+ 			LIB_$1="-L$lres $3 $4"
+ 			found=yes
+@@ -4666,11 +4713,13 @@
+ 	with_$1=yes
+ else
+ 	with_$1=no
++	DIR_$1=
+ 	INCLUDE_$1=
+ 	LIB_$1=
+ 	AC_MSG_RESULT(no)
+ fi
+ 
++AC_SUBST(DIR_$1)
+ AC_SUBST(INCLUDE_$1)
+ AC_SUBST(LIB_$1)
+ ])
+@@ -4848,7 +4897,7 @@
+ 	lres=
+ 	for i in $cdirs; do
+ 		for j in $clibs; do
+-			LIBS="$i $j $save_LIBS"
++			LIBS="$i $j $save_LIBS -lcrypt"
+ 			AC_TRY_LINK(test_headers, test_body,
+ 				lres="$i $j"; break 2)
+ 		done
+@@ -5171,6 +5220,72 @@
+ AC_SUBST(LIB_NDBM)dnl
+ ])
+ 
++dnl $Id: roken.m4,v 1.3 2002/04/30 16:46:33 joda Exp $
++dnl
++dnl try to look for an installed roken library with sufficient stuff
++dnl
++dnl set LIB_roken to the what we should link with
++dnl set DIR_roken to if the directory should be built
++dnl set CPPFLAGS_roken to stuff to add to CPPFLAGS
++
++dnl AC_ROKEN(version,directory-to-try,roken-dir,fallback-library,fallback-cppflags)
++AC_DEFUN(AC_ROKEN, [
++
++AC_ARG_WITH(roken,
++	AC_HELP_STRING([--with-roken=dir],[use the roken library in dir]),
++[if test "$withval" = "no"; then
++  AC_MSG_ERROR(roken is required)
++fi])
++
++save_CPPFLAGS="${CPPFLAGS}"
++
++case $with_roken in
++yes|"")
++  dirs="$2" ;;
++*)
++  dirs="$with_roken" ;;
++esac
++
++roken_installed=no
++
++for i in $dirs; do
++
++AC_MSG_CHECKING(for roken in $i)
++
++CPPFLAGS="-I$i/include ${CPPFLAGS}"
++
++AC_TRY_CPP(
++[#include <roken.h>
++//#if ROKEN_VERSION < $1
++//#error old roken version, should be $1
++//fail
++//#endif
++],[roken_installed=yes; break])
++
++AC_MSG_RESULT($roken_installed)
++
++done
++
++CPPFLAGS="$save_CPPFLAGS"
++
++if test "$roken_installed" != "yes"; then
++  DIR_roken="roken"
++  LIB_roken='$4'
++  CPPFLAGS_roken='$5'
++dnl  AC_CONFIG_SUBDIRS(lib/roken)
++else
++  LIB_roken="$i/lib/libroken.la"
++  CPPFLAGS_roken="-I$i/include"
++fi
++
++AC_FIND_FUNC_NO_LIBS(crypt, crypt)dnl
++LIB_roken="${LIB_roken} \$(LIB_crypt) \$(LIB_dbopen)"
++
++AC_SUBST(LIB_roken)dnl
++AC_SUBST(DIR_roken)dnl
++AC_SUBST(CPPFLAGS_roken)dnl
++])
++
+ dnl $Id: roken-frag.m4,v 1.44 2002/09/04 20:57:30 joda Exp $
+ dnl
+ dnl some code to get roken working
+@@ -5181,9 +5296,9 @@
+ 
+ AC_REQUIRE([rk_CONFIG_HEADER])
+ 
+-DIR_roken=roken
+-LIB_roken='$(top_builddir)/$1/libroken.la'
+-INCLUDES_roken='-I$(top_builddir)/$1 -I$(top_srcdir)/$1'
++dnl DIR_roken=roken
++dnl LIB_roken='$(top_builddir)/$1/libroken.la'
++dnl INCLUDES_roken='-I$(top_builddir)/$1 -I$(top_srcdir)/$1'
+ 
+ dnl Checks for programs
+ AC_REQUIRE([AC_PROG_CC])
+@@ -5816,11 +5931,11 @@
+ dnl moved to AC_OUTPUT in configure.in
+ dnl AC_CONFIG_FILES($1/Makefile)
+ 
+-LIB_roken="${LIB_roken} \$(LIB_crypt) \$(LIB_dbopen)"
++dnl LIB_roken="${LIB_roken} \$(LIB_crypt) \$(LIB_dbopen)"
+ 
+-AC_SUBST(DIR_roken)dnl
+-AC_SUBST(LIB_roken)dnl
+-AC_SUBST(INCLUDES_roken)dnl
++dnl AC_SUBST(DIR_roken)dnl
++dnl AC_SUBST(LIB_roken)dnl
++dnl AC_SUBST(INCLUDES_roken)dnl
+ ])
+ 
+ dnl $Id: have-type.m4,v 1.6 2000/07/15 18:10:00 joda Exp $
+@@ -6480,8 +6595,6 @@
+ fi
+ if test "$enable_otp" = yes; then
+ 	AC_DEFINE(OTP, 1, [Define if you want OTP support in applications.])
+-	LIB_otp='$(top_builddir)/lib/otp/libotp.la'
+-	AC_SUBST(LIB_otp)
+ fi
+ AC_MSG_CHECKING([whether to enable OTP library])
+ AC_MSG_RESULT($enable_otp)
+@@ -6948,8 +7061,10 @@
+ 	:
+ elif test "$ac_cv_func_el_init" = yes; then
+ 	ac_foo=yes
++	DIR_readline="editline"
+ 	LIB_readline="\$(top_builddir)/lib/editline/libel_compat.la \$(LIB_el_init) \$(LIB_tgetent)"
+ else
++	DIR_readline="editline"
+ 	LIB_readline="\$(top_builddir)/lib/editline/libeditline.la \$(LIB_tgetent)"
+ fi
+ AM_CONDITIONAL(el_compat, test "$ac_foo" = yes)
+diff -ruN heimdal-0.5.1-old/admin/Makefile.in heimdal-0.5.1/admin/Makefile.in
+--- heimdal-0.5.1-old/admin/Makefile.in	Tue Oct 22 03:49:14 2002
++++ heimdal-0.5.1/admin/Makefile.in	Mon Mar 17 14:42:21 2003
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -80,8 +81,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -89,7 +92,6 @@
+ ECHO = @ECHO@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,11 +111,11 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -190,6 +192,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -222,7 +233,7 @@
+ 	$(top_builddir)/lib/krb5/libkrb5.la \
+ 	$(LIB_des) \
+ 	$(top_builddir)/lib/asn1/libasn1.la \
+-	$(top_builddir)/lib/sl/libsl.la \
++	$(LIB_sl) \
+ 	$(LIB_readline) \
+ 	$(LIB_roken)
+ 
+@@ -240,8 +251,7 @@
+ ktutil_LDADD = $(LDADD)
+ ktutil_DEPENDENCIES = $(top_builddir)/lib/kadm5/libkadm5clnt.la \
+ 	$(top_builddir)/lib/krb5/libkrb5.la \
+-	$(top_builddir)/lib/asn1/libasn1.la \
+-	$(top_builddir)/lib/sl/libsl.la
++	$(top_builddir)/lib/asn1/libasn1.la
+ ktutil_LDFLAGS =
+ 
+ DEFS = @DEFS@
+@@ -268,10 +278,10 @@
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj
+-$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+ 	  $(AUTOMAKE) --foreign  admin/Makefile
+-Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
+ 	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+ sbinPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ install-sbinPROGRAMS: $(sbin_PROGRAMS)
+@@ -282,8 +292,7 @@
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+-	    p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
+-	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(sbinPROGRAMS_INSTALL) $$p $(DESTDIR)$(sbindir)/$$f"; \
+ 	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(sbinPROGRAMS_INSTALL) $$p $(DESTDIR)$(sbindir)/$$f; \
+ 	  else :; fi; \
+@@ -292,14 +301,17 @@
+ uninstall-sbinPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(sbin_PROGRAMS)'; for p in $$list; do \
+-	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  f=`echo "$$f" | sed -e 's,^.*/,,'`; \
++	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(sbindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(sbindir)/$$f; \
+ 	done
+ 
+ clean-sbinPROGRAMS:
+-	-test -z "$(sbin_PROGRAMS)" || rm -f $(sbin_PROGRAMS)
++	@list='$(sbin_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ ktutil$(EXEEXT): $(ktutil_OBJECTS) $(ktutil_DEPENDENCIES) 
+ 	@rm -f ktutil$(EXEEXT)
+ 	$(LINK) $(ktutil_LDFLAGS) $(ktutil_OBJECTS) $(ktutil_LDADD) $(LIBS)
+@@ -344,6 +356,10 @@
+ 	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
+ 	  else file=$$i; fi; \
+ 	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
++	  case "$$ext" in \
++	    8*) ;; \
++	    *) ext='8' ;; \
++	  esac; \
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+@@ -409,7 +425,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -459,7 +475,7 @@
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.5.1-old/appl/Makefile.in heimdal-0.5.1/appl/Makefile.in
+--- heimdal-0.5.1-old/appl/Makefile.in	Tue Oct 22 03:49:14 2002
++++ heimdal-0.5.1/appl/Makefile.in	Mon Mar 17 14:42:22 2003
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -80,8 +81,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -89,7 +92,6 @@
+ ECHO = @ECHO@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,11 +111,11 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -190,6 +192,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -247,10 +258,10 @@
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c
+-$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+ 	  $(AUTOMAKE) --foreign  appl/Makefile
+-Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
+ 	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+ 
+ mostlyclean-libtool:
+@@ -364,7 +375,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -426,7 +437,7 @@
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.5.1-old/appl/afsutil/Makefile.in heimdal-0.5.1/appl/afsutil/Makefile.in
+--- heimdal-0.5.1-old/appl/afsutil/Makefile.in	Tue Oct 22 03:49:14 2002
++++ heimdal-0.5.1/appl/afsutil/Makefile.in	Mon Mar 17 14:42:22 2003
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -80,8 +81,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -89,7 +92,6 @@
+ ECHO = @ECHO@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,11 +111,11 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -190,6 +192,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -265,10 +276,10 @@
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj
+-$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+ 	  $(AUTOMAKE) --foreign  appl/afsutil/Makefile
+-Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
+ 	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+ binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ install-binPROGRAMS: $(bin_PROGRAMS)
+@@ -279,8 +290,7 @@
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+-	    p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
+-	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
+ 	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+@@ -289,14 +299,17 @@
+ uninstall-binPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  f=`echo "$$f" | sed -e 's,^.*/,,'`; \
++	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+ clean-binPROGRAMS:
+-	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
++	@list='$(bin_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ afslog$(EXEEXT): $(afslog_OBJECTS) $(afslog_DEPENDENCIES) 
+ 	@rm -f afslog$(EXEEXT)
+ 	$(LINK) $(afslog_LDFLAGS) $(afslog_OBJECTS) $(afslog_LDADD) $(LIBS)
+@@ -370,7 +383,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -420,7 +433,7 @@
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.5.1-old/appl/dceutils/Makefile.in heimdal-0.5.1/appl/dceutils/Makefile.in
+--- heimdal-0.5.1-old/appl/dceutils/Makefile.in	Tue Oct 22 03:49:15 2002
++++ heimdal-0.5.1/appl/dceutils/Makefile.in	Mon Mar 17 14:42:22 2003
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -80,8 +81,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -89,7 +92,6 @@
+ ECHO = @ECHO@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,11 +111,11 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -190,6 +192,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -259,10 +270,10 @@
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj
+-$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+ 	  $(AUTOMAKE) --foreign  appl/dceutils/Makefile
+-Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
+ 	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+ libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ install-libexecPROGRAMS: $(libexec_PROGRAMS)
+@@ -273,8 +284,7 @@
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+-	    p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
+-	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f"; \
+ 	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f; \
+ 	  else :; fi; \
+@@ -283,14 +293,17 @@
+ uninstall-libexecPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+-	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  f=`echo "$$f" | sed -e 's,^.*/,,'`; \
++	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(libexecdir)/$$f; \
+ 	done
+ 
+ clean-libexecPROGRAMS:
+-	-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
++	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ dpagaix-dpagaix.$(OBJEXT): dpagaix.c
+ k5dcecon$(EXEEXT): $(k5dcecon_OBJECTS) $(k5dcecon_DEPENDENCIES) 
+ 	@rm -f k5dcecon$(EXEEXT)
+@@ -371,7 +384,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -421,7 +434,7 @@
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.5.1-old/appl/ftp/Makefile.in heimdal-0.5.1/appl/ftp/Makefile.in
+--- heimdal-0.5.1-old/appl/ftp/Makefile.in	Tue Oct 22 03:49:15 2002
++++ heimdal-0.5.1/appl/ftp/Makefile.in	Mon Mar 17 14:42:23 2003
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -80,8 +81,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -89,7 +92,6 @@
+ ECHO = @ECHO@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,11 +111,11 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -190,6 +192,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -228,10 +239,10 @@
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c
+-$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+ 	  $(AUTOMAKE) --foreign  appl/ftp/Makefile
+-Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
+ 	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+ 
+ mostlyclean-libtool:
+@@ -345,7 +356,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -407,7 +418,7 @@
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.5.1-old/appl/ftp/common/Makefile.in heimdal-0.5.1/appl/ftp/common/Makefile.in
+--- heimdal-0.5.1-old/appl/ftp/common/Makefile.in	Tue Oct 22 03:49:16 2002
++++ heimdal-0.5.1/appl/ftp/common/Makefile.in	Mon Mar 17 14:42:23 2003
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -80,8 +81,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -89,7 +92,6 @@
+ ECHO = @ECHO@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,11 +111,11 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -190,6 +192,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -242,10 +253,10 @@
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj
+-$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+ 	  $(AUTOMAKE) --foreign  appl/ftp/common/Makefile
+-Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
+ 	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+ 
+ AR = ar
+@@ -323,7 +334,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -372,7 +383,7 @@
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.5.1-old/appl/ftp/ftp/Makefile.in heimdal-0.5.1/appl/ftp/ftp/Makefile.in
+--- heimdal-0.5.1-old/appl/ftp/ftp/Makefile.in	Tue Oct 22 03:49:16 2002
++++ heimdal-0.5.1/appl/ftp/ftp/Makefile.in	Mon Mar 17 14:42:23 2003
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -80,8 +81,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -89,7 +92,6 @@
+ ECHO = @ECHO@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,11 +111,11 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -190,6 +192,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -285,10 +296,10 @@
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj
+-$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+ 	  $(AUTOMAKE) --foreign  appl/ftp/ftp/Makefile
+-Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
+ 	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+ binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ install-binPROGRAMS: $(bin_PROGRAMS)
+@@ -299,8 +310,7 @@
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+-	    p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
+-	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
+ 	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+@@ -309,14 +319,17 @@
+ uninstall-binPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  f=`echo "$$f" | sed -e 's,^.*/,,'`; \
++	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+ clean-binPROGRAMS:
+-	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
++	@list='$(bin_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ ftp$(EXEEXT): $(ftp_OBJECTS) $(ftp_DEPENDENCIES) 
+ 	@rm -f ftp$(EXEEXT)
+ 	$(LINK) $(ftp_LDFLAGS) $(ftp_OBJECTS) $(ftp_LDADD) $(LIBS)
+@@ -361,6 +374,10 @@
+ 	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
+ 	  else file=$$i; fi; \
+ 	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
++	  case "$$ext" in \
++	    1*) ;; \
++	    *) ext='1' ;; \
++	  esac; \
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+@@ -426,7 +443,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -476,7 +493,7 @@
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.5.1-old/appl/ftp/ftpd/Makefile.in heimdal-0.5.1/appl/ftp/ftpd/Makefile.in
+--- heimdal-0.5.1-old/appl/ftp/ftpd/Makefile.in	Tue Oct 22 03:49:17 2002
++++ heimdal-0.5.1/appl/ftp/ftpd/Makefile.in	Mon Mar 17 14:42:24 2003
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -80,8 +81,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -89,7 +92,6 @@
+ ECHO = @ECHO@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,11 +111,11 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -190,6 +192,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -291,10 +302,10 @@
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj .y
+-$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+ 	  $(AUTOMAKE) --foreign  appl/ftp/ftpd/Makefile
+-Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
+ 	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+ libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ install-libexecPROGRAMS: $(libexec_PROGRAMS)
+@@ -305,8 +316,7 @@
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+-	    p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
+-	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f"; \
+ 	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f; \
+ 	  else :; fi; \
+@@ -315,14 +325,17 @@
+ uninstall-libexecPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+-	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  f=`echo "$$f" | sed -e 's,^.*/,,'`; \
++	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(libexecdir)/$$f; \
+ 	done
+ 
+ clean-libexecPROGRAMS:
+-	-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
++	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ ftpd$(EXEEXT): $(ftpd_OBJECTS) $(ftpd_DEPENDENCIES) 
+ 	@rm -f ftpd$(EXEEXT)
+ 	$(LINK) $(ftpd_LDFLAGS) $(ftpd_OBJECTS) $(ftpd_LDADD) $(LIBS)
+@@ -387,6 +400,10 @@
+ 	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
+ 	  else file=$$i; fi; \
+ 	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
++	  case "$$ext" in \
++	    5*) ;; \
++	    *) ext='5' ;; \
++	  esac; \
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+@@ -426,6 +443,10 @@
+ 	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
+ 	  else file=$$i; fi; \
+ 	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
++	  case "$$ext" in \
++	    8*) ;; \
++	    *) ext='8' ;; \
++	  esac; \
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+@@ -491,7 +512,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -542,11 +563,12 @@
+ 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+ 	@echo "it deletes files that may require special tools to rebuild."
++	-test -z "ftpcmd.c" || rm -f ftpcmd.c
+ clean: clean-am
+ 
+ clean-am: clean-generic clean-libexecPROGRAMS clean-libtool \
+diff -ruN heimdal-0.5.1-old/appl/kf/Makefile.in heimdal-0.5.1/appl/kf/Makefile.in
+--- heimdal-0.5.1-old/appl/kf/Makefile.in	Tue Oct 22 03:49:17 2002
++++ heimdal-0.5.1/appl/kf/Makefile.in	Mon Mar 17 14:42:24 2003
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -80,8 +81,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -89,7 +92,6 @@
+ ECHO = @ECHO@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,11 +111,11 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -190,6 +192,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -261,10 +272,10 @@
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj
+-$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+ 	  $(AUTOMAKE) --foreign  appl/kf/Makefile
+-Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
+ 	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+ binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ install-binPROGRAMS: $(bin_PROGRAMS)
+@@ -275,8 +286,7 @@
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+-	    p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
+-	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
+ 	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+@@ -285,14 +295,17 @@
+ uninstall-binPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  f=`echo "$$f" | sed -e 's,^.*/,,'`; \
++	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+ clean-binPROGRAMS:
+-	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
++	@list='$(bin_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ install-libexecPROGRAMS: $(libexec_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+@@ -302,8 +315,7 @@
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+-	    p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
+-	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f"; \
+ 	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f; \
+ 	  else :; fi; \
+@@ -312,14 +324,17 @@
+ uninstall-libexecPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+-	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  f=`echo "$$f" | sed -e 's,^.*/,,'`; \
++	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(libexecdir)/$$f; \
+ 	done
+ 
+ clean-libexecPROGRAMS:
+-	-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
++	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ kf$(EXEEXT): $(kf_OBJECTS) $(kf_DEPENDENCIES) 
+ 	@rm -f kf$(EXEEXT)
+ 	$(LINK) $(kf_LDFLAGS) $(kf_OBJECTS) $(kf_LDADD) $(LIBS)
+@@ -367,6 +382,10 @@
+ 	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
+ 	  else file=$$i; fi; \
+ 	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
++	  case "$$ext" in \
++	    1*) ;; \
++	    *) ext='1' ;; \
++	  esac; \
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+@@ -406,6 +425,10 @@
+ 	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
+ 	  else file=$$i; fi; \
+ 	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
++	  case "$$ext" in \
++	    8*) ;; \
++	    *) ext='8' ;; \
++	  esac; \
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+@@ -471,7 +494,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -521,7 +544,7 @@
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.5.1-old/appl/kx/Makefile.in heimdal-0.5.1/appl/kx/Makefile.in
+--- heimdal-0.5.1-old/appl/kx/Makefile.in	Tue Oct 22 03:49:17 2002
++++ heimdal-0.5.1/appl/kx/Makefile.in	Mon Mar 17 14:42:25 2003
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -80,8 +81,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -89,7 +92,6 @@
+ ECHO = @ECHO@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,11 +111,11 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -191,6 +193,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -259,9 +270,9 @@
+ @HAVE_X_FALSE@libexec_PROGRAMS =
+ PROGRAMS = $(bin_PROGRAMS) $(libexec_PROGRAMS)
+ 
+-@NEED_WRITEAUTH_TRUE@am__objects_3 = writeauth.$(OBJEXT)
++@NEED_WRITEAUTH_TRUE@am__objects_1 = writeauth.$(OBJEXT)
+ am_kx_OBJECTS = kx.$(OBJEXT) common.$(OBJEXT) context.$(OBJEXT) \
+-	krb4.$(OBJEXT) krb5.$(OBJEXT) $(am__objects_3)
++	krb4.$(OBJEXT) krb5.$(OBJEXT) $(am__objects_1)
+ kx_OBJECTS = $(am_kx_OBJECTS)
+ kx_LDADD = $(LDADD)
+ @KRB4_FALSE@@KRB5_TRUE@kx_DEPENDENCIES = \
+@@ -276,7 +287,7 @@
+ @KRB4_TRUE@@KRB5_FALSE@	$(top_builddir)/lib/kafs/libkafs.la
+ kx_LDFLAGS =
+ am_kxd_OBJECTS = kxd.$(OBJEXT) common.$(OBJEXT) context.$(OBJEXT) \
+-	krb4.$(OBJEXT) krb5.$(OBJEXT) $(am__objects_3)
++	krb4.$(OBJEXT) krb5.$(OBJEXT) $(am__objects_1)
+ kxd_OBJECTS = $(am_kxd_OBJECTS)
+ kxd_LDADD = $(LDADD)
+ @KRB4_FALSE@@KRB5_TRUE@kxd_DEPENDENCIES = \
+@@ -318,10 +329,10 @@
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj
+-$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+ 	  $(AUTOMAKE) --foreign  appl/kx/Makefile
+-Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
+ 	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+ binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ install-binPROGRAMS: $(bin_PROGRAMS)
+@@ -332,8 +343,7 @@
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+-	    p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
+-	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
+ 	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+@@ -342,14 +352,17 @@
+ uninstall-binPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  f=`echo "$$f" | sed -e 's,^.*/,,'`; \
++	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+ clean-binPROGRAMS:
+-	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
++	@list='$(bin_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ install-libexecPROGRAMS: $(libexec_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+@@ -359,8 +372,7 @@
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+-	    p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
+-	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f"; \
+ 	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f; \
+ 	  else :; fi; \
+@@ -369,38 +381,40 @@
+ uninstall-libexecPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+-	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  f=`echo "$$f" | sed -e 's,^.*/,,'`; \
++	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(libexecdir)/$$f; \
+ 	done
+ 
+ clean-libexecPROGRAMS:
+-	-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
++	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ kx$(EXEEXT): $(kx_OBJECTS) $(kx_DEPENDENCIES) 
+ 	@rm -f kx$(EXEEXT)
+ 	$(LINK) $(kx_LDFLAGS) $(kx_OBJECTS) $(kx_LDADD) $(LIBS)
+ kxd$(EXEEXT): $(kxd_OBJECTS) $(kxd_DEPENDENCIES) 
+ 	@rm -f kxd$(EXEEXT)
+ 	$(LINK) $(kxd_LDFLAGS) $(kxd_OBJECTS) $(kxd_LDADD) $(LIBS)
++binSCRIPT_INSTALL = $(INSTALL_SCRIPT)
+ install-binSCRIPTS: $(bin_SCRIPTS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(bindir)
+ 	@list='$(bin_SCRIPTS)'; for p in $$list; do \
+-	  f="`echo $$p|sed '$(transform)'`"; \
+-	  if test -f $$p; then \
+-	    echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/$$f"; \
+-	    $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/$$f; \
+-	  elif test -f $(srcdir)/$$p; then \
+-	    echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/$$f"; \
+-	    $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/$$f; \
++	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
++	  if test -f $$d$$p; then \
++	    f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
++	    echo " $(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f"; \
++	    $(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-binSCRIPTS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_SCRIPTS)'; for p in $$list; do \
+-	  f="`echo $$p|sed '$(transform)'`"; \
++	  f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+@@ -445,6 +459,10 @@
+ 	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
+ 	  else file=$$i; fi; \
+ 	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
++	  case "$$ext" in \
++	    1*) ;; \
++	    *) ext='1' ;; \
++	  esac; \
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+@@ -484,6 +502,10 @@
+ 	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
+ 	  else file=$$i; fi; \
+ 	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
++	  case "$$ext" in \
++	    8*) ;; \
++	    *) ext='8' ;; \
++	  esac; \
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+@@ -549,7 +571,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -600,7 +622,7 @@
+ 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.5.1-old/appl/login/Makefile.in heimdal-0.5.1/appl/login/Makefile.in
+--- heimdal-0.5.1-old/appl/login/Makefile.in	Tue Oct 22 03:49:18 2002
++++ heimdal-0.5.1/appl/login/Makefile.in	Mon Mar 17 14:42:25 2003
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -80,8 +81,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -89,7 +92,6 @@
+ ECHO = @ECHO@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,11 +111,11 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -190,6 +192,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -272,10 +283,10 @@
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj
+-$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+ 	  $(AUTOMAKE) --foreign  appl/login/Makefile
+-Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
+ 	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+ binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ install-binPROGRAMS: $(bin_PROGRAMS)
+@@ -286,8 +297,7 @@
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+-	    p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
+-	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
+ 	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+@@ -296,14 +306,17 @@
+ uninstall-binPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  f=`echo "$$f" | sed -e 's,^.*/,,'`; \
++	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+ clean-binPROGRAMS:
+-	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
++	@list='$(bin_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ login$(EXEEXT): $(login_OBJECTS) $(login_DEPENDENCIES) 
+ 	@rm -f login$(EXEEXT)
+ 	$(LINK) $(login_LDFLAGS) $(login_OBJECTS) $(login_LDADD) $(LIBS)
+@@ -374,7 +387,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -424,7 +437,7 @@
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.5.1-old/appl/otp/Makefile.in heimdal-0.5.1/appl/otp/Makefile.in
+--- heimdal-0.5.1-old/appl/otp/Makefile.in	Tue Oct 22 03:49:18 2002
++++ heimdal-0.5.1/appl/otp/Makefile.in	Mon Mar 17 14:42:25 2003
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -80,8 +81,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -89,7 +92,6 @@
+ ECHO = @ECHO@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,11 +111,11 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -190,6 +192,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -209,7 +220,7 @@
+ man_MANS = otp.1  otpprint.1
+ 
+ LDADD = \
+-	$(top_builddir)/lib/otp/libotp.la
++	$(LIB_otp)
+ 
+ subdir = appl/otp
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+@@ -221,12 +232,12 @@
+ am_otp_OBJECTS = otp.$(OBJEXT)
+ otp_OBJECTS = $(am_otp_OBJECTS)
+ otp_LDADD = $(LDADD)
+-otp_DEPENDENCIES = $(top_builddir)/lib/otp/libotp.la
++otp_DEPENDENCIES =
+ otp_LDFLAGS =
+ am_otpprint_OBJECTS = otpprint.$(OBJEXT)
+ otpprint_OBJECTS = $(am_otpprint_OBJECTS)
+ otpprint_LDADD = $(LDADD)
+-otpprint_DEPENDENCIES = $(top_builddir)/lib/otp/libotp.la
++otpprint_DEPENDENCIES =
+ otpprint_LDFLAGS =
+ 
+ DEFS = @DEFS@
+@@ -253,10 +264,10 @@
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj
+-$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+ 	  $(AUTOMAKE) --foreign  appl/otp/Makefile
+-Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
+ 	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+ binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ install-binPROGRAMS: $(bin_PROGRAMS)
+@@ -267,8 +278,7 @@
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+-	    p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
+-	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
+ 	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+@@ -277,14 +287,17 @@
+ uninstall-binPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  f=`echo "$$f" | sed -e 's,^.*/,,'`; \
++	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+ clean-binPROGRAMS:
+-	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
++	@list='$(bin_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ otp$(EXEEXT): $(otp_OBJECTS) $(otp_DEPENDENCIES) 
+ 	@rm -f otp$(EXEEXT)
+ 	$(LINK) $(otp_LDFLAGS) $(otp_OBJECTS) $(otp_LDADD) $(LIBS)
+@@ -332,6 +345,10 @@
+ 	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
+ 	  else file=$$i; fi; \
+ 	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
++	  case "$$ext" in \
++	    1*) ;; \
++	    *) ext='1' ;; \
++	  esac; \
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+@@ -397,7 +414,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -447,7 +464,7 @@
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.5.1-old/appl/popper/Makefile.in heimdal-0.5.1/appl/popper/Makefile.in
+--- heimdal-0.5.1-old/appl/popper/Makefile.in	Tue Oct 22 03:49:19 2002
++++ heimdal-0.5.1/appl/popper/Makefile.in	Mon Mar 17 14:42:26 2003
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -80,8 +81,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -89,7 +92,6 @@
+ ECHO = @ECHO@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,11 +111,11 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -190,6 +192,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -283,10 +294,10 @@
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj
+-$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+ 	  $(AUTOMAKE) --foreign  appl/popper/Makefile
+-Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
+ 	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+ libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ install-libexecPROGRAMS: $(libexec_PROGRAMS)
+@@ -297,8 +308,7 @@
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+-	    p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
+-	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f"; \
+ 	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f; \
+ 	  else :; fi; \
+@@ -307,17 +317,24 @@
+ uninstall-libexecPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+-	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  f=`echo "$$f" | sed -e 's,^.*/,,'`; \
++	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(libexecdir)/$$f; \
+ 	done
+ 
+ clean-libexecPROGRAMS:
+-	-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
++	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ 
+ clean-noinstPROGRAMS:
+-	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
++	@list='$(noinst_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ pop_debug$(EXEEXT): $(pop_debug_OBJECTS) $(pop_debug_DEPENDENCIES) 
+ 	@rm -f pop_debug$(EXEEXT)
+ 	$(LINK) $(pop_debug_LDFLAGS) $(pop_debug_OBJECTS) $(pop_debug_LDADD) $(LIBS)
+@@ -365,6 +382,10 @@
+ 	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
+ 	  else file=$$i; fi; \
+ 	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
++	  case "$$ext" in \
++	    8*) ;; \
++	    *) ext='8' ;; \
++	  esac; \
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+@@ -430,7 +451,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -480,7 +501,7 @@
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.5.1-old/appl/push/Makefile.in heimdal-0.5.1/appl/push/Makefile.in
+--- heimdal-0.5.1-old/appl/push/Makefile.in	Tue Oct 22 03:49:19 2002
++++ heimdal-0.5.1/appl/push/Makefile.in	Mon Mar 17 14:42:26 2003
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -80,8 +81,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -89,7 +92,6 @@
+ ECHO = @ECHO@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,11 +111,11 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -190,6 +192,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -260,10 +271,10 @@
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj
+-$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+ 	  $(AUTOMAKE) --foreign  appl/push/Makefile
+-Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
+ 	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+ libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ install-libexecPROGRAMS: $(libexec_PROGRAMS)
+@@ -274,8 +285,7 @@
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+-	    p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
+-	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f"; \
+ 	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f; \
+ 	  else :; fi; \
+@@ -284,35 +294,37 @@
+ uninstall-libexecPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+-	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  f=`echo "$$f" | sed -e 's,^.*/,,'`; \
++	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(libexecdir)/$$f; \
+ 	done
+ 
+ clean-libexecPROGRAMS:
+-	-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
++	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ push$(EXEEXT): $(push_OBJECTS) $(push_DEPENDENCIES) 
+ 	@rm -f push$(EXEEXT)
+ 	$(LINK) $(push_LDFLAGS) $(push_OBJECTS) $(push_LDADD) $(LIBS)
++binSCRIPT_INSTALL = $(INSTALL_SCRIPT)
+ install-binSCRIPTS: $(bin_SCRIPTS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(bindir)
+ 	@list='$(bin_SCRIPTS)'; for p in $$list; do \
+-	  f="`echo $$p|sed '$(transform)'`"; \
+-	  if test -f $$p; then \
+-	    echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/$$f"; \
+-	    $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/$$f; \
+-	  elif test -f $(srcdir)/$$p; then \
+-	    echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/$$f"; \
+-	    $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/$$f; \
++	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
++	  if test -f $$d$$p; then \
++	    f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
++	    echo " $(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f"; \
++	    $(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-binSCRIPTS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_SCRIPTS)'; for p in $$list; do \
+-	  f="`echo $$p|sed '$(transform)'`"; \
++	  f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+@@ -357,6 +369,10 @@
+ 	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
+ 	  else file=$$i; fi; \
+ 	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
++	  case "$$ext" in \
++	    1*) ;; \
++	    *) ext='1' ;; \
++	  esac; \
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+@@ -396,6 +412,10 @@
+ 	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
+ 	  else file=$$i; fi; \
+ 	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
++	  case "$$ext" in \
++	    8*) ;; \
++	    *) ext='8' ;; \
++	  esac; \
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+@@ -461,7 +481,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -512,7 +532,7 @@
+ 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.5.1-old/appl/rcp/Makefile.in heimdal-0.5.1/appl/rcp/Makefile.in
+--- heimdal-0.5.1-old/appl/rcp/Makefile.in	Tue Oct 22 03:49:20 2002
++++ heimdal-0.5.1/appl/rcp/Makefile.in	Mon Mar 17 14:42:27 2003
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -80,8 +81,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -89,7 +92,6 @@
+ ECHO = @ECHO@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,11 +111,11 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -190,6 +192,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -242,10 +253,10 @@
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj
+-$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+ 	  $(AUTOMAKE) --foreign  appl/rcp/Makefile
+-Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
+ 	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+ binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ install-binPROGRAMS: $(bin_PROGRAMS)
+@@ -256,8 +267,7 @@
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+-	    p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
+-	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
+ 	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+@@ -266,14 +276,17 @@
+ uninstall-binPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  f=`echo "$$f" | sed -e 's,^.*/,,'`; \
++	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+ clean-binPROGRAMS:
+-	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
++	@list='$(bin_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ rcp$(EXEEXT): $(rcp_OBJECTS) $(rcp_DEPENDENCIES) 
+ 	@rm -f rcp$(EXEEXT)
+ 	$(LINK) $(rcp_LDFLAGS) $(rcp_OBJECTS) $(rcp_LDADD) $(LIBS)
+@@ -344,7 +357,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -394,7 +407,7 @@
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.5.1-old/appl/rsh/Makefile.in heimdal-0.5.1/appl/rsh/Makefile.in
+--- heimdal-0.5.1-old/appl/rsh/Makefile.in	Tue Oct 22 03:49:20 2002
++++ heimdal-0.5.1/appl/rsh/Makefile.in	Mon Mar 17 14:42:27 2003
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -80,8 +81,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -89,7 +92,6 @@
+ ECHO = @ECHO@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,11 +111,11 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -190,6 +192,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -307,10 +318,10 @@
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj
+-$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+ 	  $(AUTOMAKE) --foreign  appl/rsh/Makefile
+-Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
+ 	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+ binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ install-binPROGRAMS: $(bin_PROGRAMS)
+@@ -321,8 +332,7 @@
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+-	    p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
+-	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
+ 	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+@@ -331,14 +341,17 @@
+ uninstall-binPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  f=`echo "$$f" | sed -e 's,^.*/,,'`; \
++	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+ clean-binPROGRAMS:
+-	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
++	@list='$(bin_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ install-libexecPROGRAMS: $(libexec_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+@@ -348,8 +361,7 @@
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+-	    p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
+-	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f"; \
+ 	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f; \
+ 	  else :; fi; \
+@@ -358,14 +370,17 @@
+ uninstall-libexecPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+-	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  f=`echo "$$f" | sed -e 's,^.*/,,'`; \
++	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(libexecdir)/$$f; \
+ 	done
+ 
+ clean-libexecPROGRAMS:
+-	-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
++	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ rsh$(EXEEXT): $(rsh_OBJECTS) $(rsh_DEPENDENCIES) 
+ 	@rm -f rsh$(EXEEXT)
+ 	$(LINK) $(rsh_LDFLAGS) $(rsh_OBJECTS) $(rsh_LDADD) $(LIBS)
+@@ -413,6 +428,10 @@
+ 	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
+ 	  else file=$$i; fi; \
+ 	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
++	  case "$$ext" in \
++	    1*) ;; \
++	    *) ext='1' ;; \
++	  esac; \
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+@@ -452,6 +471,10 @@
+ 	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
+ 	  else file=$$i; fi; \
+ 	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
++	  case "$$ext" in \
++	    8*) ;; \
++	    *) ext='8' ;; \
++	  esac; \
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+@@ -517,7 +540,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -567,7 +590,7 @@
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.5.1-old/appl/su/Makefile.in heimdal-0.5.1/appl/su/Makefile.in
+--- heimdal-0.5.1-old/appl/su/Makefile.in	Tue Oct 22 03:49:21 2002
++++ heimdal-0.5.1/appl/su/Makefile.in	Mon Mar 17 14:42:28 2003
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -80,8 +81,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -89,7 +92,6 @@
+ ECHO = @ECHO@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,11 +111,11 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -190,6 +192,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -252,10 +263,10 @@
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj
+-$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+ 	  $(AUTOMAKE) --foreign  appl/su/Makefile
+-Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
+ 	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+ binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ install-binPROGRAMS: $(bin_PROGRAMS)
+@@ -266,8 +277,7 @@
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+-	    p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
+-	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
+ 	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+@@ -276,14 +286,17 @@
+ uninstall-binPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  f=`echo "$$f" | sed -e 's,^.*/,,'`; \
++	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+ clean-binPROGRAMS:
+-	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
++	@list='$(bin_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ su$(EXEEXT): $(su_OBJECTS) $(su_DEPENDENCIES) 
+ 	@rm -f su$(EXEEXT)
+ 	$(LINK) $(su_LDFLAGS) $(su_OBJECTS) $(su_LDADD) $(LIBS)
+@@ -354,7 +367,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -404,7 +417,7 @@
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.5.1-old/appl/telnet/Makefile.in heimdal-0.5.1/appl/telnet/Makefile.in
+--- heimdal-0.5.1-old/appl/telnet/Makefile.in	Tue Oct 22 03:49:21 2002
++++ heimdal-0.5.1/appl/telnet/Makefile.in	Mon Mar 17 14:42:28 2003
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -80,8 +81,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -89,7 +92,6 @@
+ ECHO = @ECHO@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,11 +111,11 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -190,6 +192,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -230,10 +241,10 @@
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c
+-$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+ 	  $(AUTOMAKE) --foreign  appl/telnet/Makefile
+-Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
+ 	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+ 
+ mostlyclean-libtool:
+@@ -347,7 +358,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -409,7 +420,7 @@
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.5.1-old/appl/telnet/libtelnet/Makefile.in heimdal-0.5.1/appl/telnet/libtelnet/Makefile.in
+--- heimdal-0.5.1-old/appl/telnet/libtelnet/Makefile.in	Tue Oct 22 03:49:22 2002
++++ heimdal-0.5.1/appl/telnet/libtelnet/Makefile.in	Mon Mar 17 14:42:28 2003
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -80,8 +81,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -89,7 +92,6 @@
+ ECHO = @ECHO@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,11 +111,11 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -190,6 +192,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -256,10 +267,10 @@
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj
+-$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+ 	  $(AUTOMAKE) --foreign  appl/telnet/libtelnet/Makefile
+-Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
+ 	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+ 
+ AR = ar
+@@ -337,7 +348,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -386,7 +397,7 @@
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.5.1-old/appl/telnet/telnet/Makefile.in heimdal-0.5.1/appl/telnet/telnet/Makefile.in
+--- heimdal-0.5.1-old/appl/telnet/telnet/Makefile.in	Tue Oct 22 03:49:22 2002
++++ heimdal-0.5.1/appl/telnet/telnet/Makefile.in	Mon Mar 17 14:42:29 2003
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -80,8 +81,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -89,7 +92,6 @@
+ ECHO = @ECHO@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,11 +111,11 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -190,6 +192,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -268,10 +279,10 @@
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj
+-$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+ 	  $(AUTOMAKE) --foreign  appl/telnet/telnet/Makefile
+-Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
+ 	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+ binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ install-binPROGRAMS: $(bin_PROGRAMS)
+@@ -282,8 +293,7 @@
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+-	    p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
+-	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
+ 	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+@@ -292,14 +302,17 @@
+ uninstall-binPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  f=`echo "$$f" | sed -e 's,^.*/,,'`; \
++	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+ clean-binPROGRAMS:
+-	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
++	@list='$(bin_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ telnet$(EXEEXT): $(telnet_OBJECTS) $(telnet_DEPENDENCIES) 
+ 	@rm -f telnet$(EXEEXT)
+ 	$(LINK) $(telnet_LDFLAGS) $(telnet_OBJECTS) $(telnet_LDADD) $(LIBS)
+@@ -344,6 +357,10 @@
+ 	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
+ 	  else file=$$i; fi; \
+ 	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
++	  case "$$ext" in \
++	    1*) ;; \
++	    *) ext='1' ;; \
++	  esac; \
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+@@ -409,7 +426,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -459,7 +476,7 @@
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.5.1-old/appl/telnet/telnetd/Makefile.in heimdal-0.5.1/appl/telnet/telnetd/Makefile.in
+--- heimdal-0.5.1-old/appl/telnet/telnetd/Makefile.in	Tue Oct 22 03:49:23 2002
++++ heimdal-0.5.1/appl/telnet/telnetd/Makefile.in	Mon Mar 17 14:42:29 2003
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -80,8 +81,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -89,7 +92,6 @@
+ ECHO = @ECHO@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,11 +111,11 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -190,6 +192,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -271,10 +282,10 @@
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj
+-$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+ 	  $(AUTOMAKE) --foreign  appl/telnet/telnetd/Makefile
+-Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
+ 	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+ libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ install-libexecPROGRAMS: $(libexec_PROGRAMS)
+@@ -285,8 +296,7 @@
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+-	    p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
+-	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f"; \
+ 	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f; \
+ 	  else :; fi; \
+@@ -295,14 +305,17 @@
+ uninstall-libexecPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+-	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  f=`echo "$$f" | sed -e 's,^.*/,,'`; \
++	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(libexecdir)/$$f; \
+ 	done
+ 
+ clean-libexecPROGRAMS:
+-	-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
++	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ telnetd$(EXEEXT): $(telnetd_OBJECTS) $(telnetd_DEPENDENCIES) 
+ 	@rm -f telnetd$(EXEEXT)
+ 	$(LINK) $(telnetd_LDFLAGS) $(telnetd_OBJECTS) $(telnetd_LDADD) $(LIBS)
+@@ -347,6 +360,10 @@
+ 	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
+ 	  else file=$$i; fi; \
+ 	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
++	  case "$$ext" in \
++	    8*) ;; \
++	    *) ext='8' ;; \
++	  esac; \
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+@@ -412,7 +429,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -462,7 +479,7 @@
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.5.1-old/appl/test/Makefile.in heimdal-0.5.1/appl/test/Makefile.in
+--- heimdal-0.5.1-old/appl/test/Makefile.in	Tue Oct 22 03:49:27 2002
++++ heimdal-0.5.1/appl/test/Makefile.in	Mon Mar 17 14:42:30 2003
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -80,8 +81,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -89,7 +92,6 @@
+ ECHO = @ECHO@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,11 +111,11 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -190,6 +192,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -327,14 +338,18 @@
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj
+-$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+ 	  $(AUTOMAKE) --foreign  appl/test/Makefile
+-Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
+ 	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+ 
+ clean-noinstPROGRAMS:
+-	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
++	@list='$(noinst_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ gssapi_client$(EXEEXT): $(gssapi_client_OBJECTS) $(gssapi_client_DEPENDENCIES) 
+ 	@rm -f gssapi_client$(EXEEXT)
+ 	$(LINK) $(gssapi_client_LDFLAGS) $(gssapi_client_OBJECTS) $(gssapi_client_LDADD) $(LIBS)
+@@ -426,7 +441,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -475,7 +490,7 @@
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.5.1-old/appl/xnlock/Makefile.in heimdal-0.5.1/appl/xnlock/Makefile.in
+--- heimdal-0.5.1-old/appl/xnlock/Makefile.in	Tue Oct 22 03:49:27 2002
++++ heimdal-0.5.1/appl/xnlock/Makefile.in	Mon Mar 17 14:42:30 2003
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -80,8 +81,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -89,7 +92,6 @@
+ ECHO = @ECHO@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,11 +111,11 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -191,6 +193,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -266,10 +277,10 @@
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj
+-$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+ 	  $(AUTOMAKE) --foreign  appl/xnlock/Makefile
+-Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
+ 	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+ binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ install-binPROGRAMS: $(bin_PROGRAMS)
+@@ -280,8 +291,7 @@
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+-	    p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
+-	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
+ 	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+@@ -290,14 +300,17 @@
+ uninstall-binPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  f=`echo "$$f" | sed -e 's,^.*/,,'`; \
++	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+ clean-binPROGRAMS:
+-	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
++	@list='$(bin_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ xnlock$(EXEEXT): $(xnlock_OBJECTS) $(xnlock_DEPENDENCIES) 
+ 	@rm -f xnlock$(EXEEXT)
+ 	$(LINK) $(xnlock_LDFLAGS) $(xnlock_OBJECTS) $(xnlock_LDADD) $(LIBS)
+@@ -342,6 +355,10 @@
+ 	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
+ 	  else file=$$i; fi; \
+ 	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
++	  case "$$ext" in \
++	    1*) ;; \
++	    *) ext='1' ;; \
++	  esac; \
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+@@ -407,7 +424,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -457,7 +474,7 @@
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.5.1-old/autom4te.cache/output.0 heimdal-0.5.1/autom4te.cache/output.0
+--- heimdal-0.5.1-old/autom4te.cache/output.0	Thu Jan  1 10:00:00 1970
++++ heimdal-0.5.1/autom4te.cache/output.0	Mon Mar 17 14:41:43 2003
+@@ -0,0 +1,38436 @@
++@%:@! /bin/sh
++@%:@ From configure.in Revision: 1.325.2.2 .
++@%:@ Guess values for system-dependent variables and create Makefiles.
++@%:@ Generated by GNU Autoconf 2.53 for Heimdal 0.5.1.
++@%:@
++@%:@ Report bugs to <heimdal-bugs@pdc.kth.se>.
++@%:@ 
++@%:@ Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
++@%:@ Free Software Foundation, Inc.
++@%:@ This configure script is free software; the Free Software Foundation
++@%:@ gives unlimited permission to copy, distribute and modify it.
++
++# Find the correct PATH separator.  Usually this is `:', but
++# DJGPP uses `;' like DOS.
++if test "X${PATH_SEPARATOR+set}" != Xset; then
++  UNAME=${UNAME-`uname 2>/dev/null`}
++  case X$UNAME in
++    *-DOS) lt_cv_sys_path_separator=';' ;;
++    *)     lt_cv_sys_path_separator=':' ;;
++  esac
++  PATH_SEPARATOR=$lt_cv_sys_path_separator
++fi
++
++
++# Check that we are running under the correct shell.
++SHELL=${CONFIG_SHELL-/bin/sh}
++
++case X$ECHO in
++X*--fallback-echo)
++  # Remove one level of quotation (which was required for Make).
++  ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
++  ;;
++esac
++
++echo=${ECHO-echo}
++if test "X$1" = X--no-reexec; then
++  # Discard the --no-reexec flag, and continue.
++  shift
++elif test "X$1" = X--fallback-echo; then
++  # Avoid inline document here, it may be left over
++  :
++elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
++  # Yippee, $echo works!
++  :
++else
++  # Restart under the correct shell.
++  exec $SHELL "$0" --no-reexec ${1+"$@"}
++fi
++
++if test "X$1" = X--fallback-echo; then
++  # used as fallback echo
++  shift
++  cat <<EOF
++
++EOF
++  exit 0
++fi
++
++# The HP-UX ksh and POSIX shell print the target directory to stdout
++# if CDPATH is set.
++if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
++
++if test -z "$ECHO"; then
++if test "X${echo_test_string+set}" != Xset; then
++# find a string as large as possible, as long as the shell can cope with it
++  for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
++    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
++    if (echo_test_string="`eval $cmd`") 2>/dev/null &&
++       echo_test_string="`eval $cmd`" &&
++       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
++    then
++      break
++    fi
++  done
++fi
++
++if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
++   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
++   test "X$echo_testing_string" = "X$echo_test_string"; then
++  :
++else
++  # The Solaris, AIX, and Digital Unix default echo programs unquote
++  # backslashes.  This makes it impossible to quote backslashes using
++  #   echo "$something" | sed 's/\\/\\\\/g'
++  #
++  # So, first we look for a working echo in the user's PATH.
++
++  IFS="${IFS= 	}"; save_ifs="$IFS"; IFS=$PATH_SEPARATOR
++  for dir in $PATH /usr/ucb; do
++    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
++       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
++       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
++       test "X$echo_testing_string" = "X$echo_test_string"; then
++      echo="$dir/echo"
++      break
++    fi
++  done
++  IFS="$save_ifs"
++
++  if test "X$echo" = Xecho; then
++    # We didn't find a better echo, so look for alternatives.
++    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
++       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
++       test "X$echo_testing_string" = "X$echo_test_string"; then
++      # This shell has a builtin print -r that does the trick.
++      echo='print -r'
++    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
++	 test "X$CONFIG_SHELL" != X/bin/ksh; then
++      # If we have ksh, try running configure again with it.
++      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
++      export ORIGINAL_CONFIG_SHELL
++      CONFIG_SHELL=/bin/ksh
++      export CONFIG_SHELL
++      exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
++    else
++      # Try using printf.
++      echo='printf %s\n'
++      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
++	 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
++	 test "X$echo_testing_string" = "X$echo_test_string"; then
++	# Cool, printf works
++	:
++      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
++	   test "X$echo_testing_string" = 'X\t' &&
++	   echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
++	   test "X$echo_testing_string" = "X$echo_test_string"; then
++	CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
++	export CONFIG_SHELL
++	SHELL="$CONFIG_SHELL"
++	export SHELL
++	echo="$CONFIG_SHELL $0 --fallback-echo"
++      elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
++	   test "X$echo_testing_string" = 'X\t' &&
++	   echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
++	   test "X$echo_testing_string" = "X$echo_test_string"; then
++	echo="$CONFIG_SHELL $0 --fallback-echo"
++      else
++	# maybe with a smaller string...
++	prev=:
++
++	for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
++	  if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
++	  then
++	    break
++	  fi
++	  prev="$cmd"
++	done
++
++	if test "$prev" != 'sed 50q "$0"'; then
++	  echo_test_string=`eval $prev`
++	  export echo_test_string
++	  exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
++	else
++	  # Oops.  We lost completely, so just stick with echo.
++	  echo=echo
++	fi
++      fi
++    fi
++  fi
++fi
++fi
++
++# Copy echo and quote the copy suitably for passing to libtool from
++# the Makefile, instead of quoting the original, which is used later.
++ECHO=$echo
++if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
++   ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
++fi
++
++
++
++if expr a : '\(a\)' >/dev/null 2>&1; then
++  as_expr=expr
++else
++  as_expr=false
++fi
++
++
++## --------------------- ##
++## M4sh Initialization.  ##
++## --------------------- ##
++
++# Be Bourne compatible
++if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
++  emulate sh
++  NULLCMD=:
++elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
++  set -o posix
++fi
++
++# NLS nuisances.
++# Support unset when possible.
++if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
++  as_unset=unset
++else
++  as_unset=false
++fi
++
++(set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
++    { $as_unset LANG || test "${LANG+set}" != set; } ||
++      { LANG=C; export LANG; }
++(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
++    { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
++      { LC_ALL=C; export LC_ALL; }
++(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
++    { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
++      { LC_TIME=C; export LC_TIME; }
++(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
++    { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
++      { LC_CTYPE=C; export LC_CTYPE; }
++(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
++    { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
++      { LANGUAGE=C; export LANGUAGE; }
++(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
++    { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
++      { LC_COLLATE=C; export LC_COLLATE; }
++(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
++    { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
++      { LC_NUMERIC=C; export LC_NUMERIC; }
++(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
++    { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
++      { LC_MESSAGES=C; export LC_MESSAGES; }
++
++
++# Name of the executable.
++as_me=`(basename "$0") 2>/dev/null ||
++$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
++	 X"$0" : 'X\(//\)$' \| \
++	 X"$0" : 'X\(/\)$' \| \
++	 .     : '\(.\)' 2>/dev/null ||
++echo X/"$0" |
++    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
++  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
++  	  /^X\/\(\/\).*/{ s//\1/; q; }
++  	  s/.*/./; q'`
++
++# PATH needs CR, and LINENO needs CR and PATH.
++# Avoid depending upon Character Ranges.
++as_cr_letters='abcdefghijklmnopqrstuvwxyz'
++as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
++as_cr_Letters=$as_cr_letters$as_cr_LETTERS
++as_cr_digits='0123456789'
++as_cr_alnum=$as_cr_Letters$as_cr_digits
++
++# The user is always right.
++if test "${PATH_SEPARATOR+set}" != set; then
++  echo "#! /bin/sh" >conftest.sh
++  echo  "exit 0"   >>conftest.sh
++  chmod +x conftest.sh
++  if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
++    PATH_SEPARATOR=';'
++  else
++    PATH_SEPARATOR=:
++  fi
++  rm -f conftest.sh
++fi
++
++
++  as_lineno_1=$LINENO
++  as_lineno_2=$LINENO
++  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
++  test "x$as_lineno_1" != "x$as_lineno_2" &&
++  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
++  # Find who we are.  Look in the path if we contain no path at all
++  # relative or not.
++  case $0 in
++    *[\\/]* ) as_myself=$0 ;;
++    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
++done
++
++       ;;
++  esac
++  # We did not find ourselves, most probably we were run as `sh COMMAND'
++  # in which case we are not to be found in the path.
++  if test "x$as_myself" = x; then
++    as_myself=$0
++  fi
++  if test ! -f "$as_myself"; then
++    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
++   { (exit 1); exit 1; }; }
++  fi
++  case $CONFIG_SHELL in
++  '')
++    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for as_base in sh bash ksh sh5; do
++	 case $as_dir in
++	 /*)
++	   if ("$as_dir/$as_base" -c '
++  as_lineno_1=$LINENO
++  as_lineno_2=$LINENO
++  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
++  test "x$as_lineno_1" != "x$as_lineno_2" &&
++  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
++	     CONFIG_SHELL=$as_dir/$as_base
++	     export CONFIG_SHELL
++	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
++	   fi;;
++	 esac
++       done
++done
++;;
++  esac
++
++  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
++  # uniformly replaced by the line number.  The first 'sed' inserts a
++  # line-number line before each line; the second 'sed' does the real
++  # work.  The second script uses 'N' to pair each line-number line
++  # with the numbered line, and appends trailing '-' during
++  # substitution so that $LINENO is not a special case at line end.
++  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
++  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
++  sed '=' <$as_myself |
++    sed '
++      N
++      s,$,-,
++      : loop
++      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
++      t loop
++      s,-$,,
++      s,^['$as_cr_digits']*\n,,
++    ' >$as_me.lineno &&
++  chmod +x $as_me.lineno ||
++    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
++   { (exit 1); exit 1; }; }
++
++  # Don't try to exec as it changes $[0], causing all sort of problems
++  # (the dirname of $[0] is not the place where we might find the
++  # original and so on.  Autoconf is especially sensible to this).
++  . ./$as_me.lineno
++  # Exit status is that of the last command.
++  exit
++}
++
++
++case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
++  *c*,-n*) ECHO_N= ECHO_C='
++' ECHO_T='	' ;;
++  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
++  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
++esac
++
++if expr a : '\(a\)' >/dev/null 2>&1; then
++  as_expr=expr
++else
++  as_expr=false
++fi
++
++rm -f conf$$ conf$$.exe conf$$.file
++echo >conf$$.file
++if ln -s conf$$.file conf$$ 2>/dev/null; then
++  # We could just check for DJGPP; but this test a) works b) is more generic
++  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
++  if test -f conf$$.exe; then
++    # Don't use ln at all; we don't have any links
++    as_ln_s='cp -p'
++  else
++    as_ln_s='ln -s'
++  fi
++elif ln conf$$.file conf$$ 2>/dev/null; then
++  as_ln_s=ln
++else
++  as_ln_s='cp -p'
++fi
++rm -f conf$$ conf$$.exe conf$$.file
++
++as_executable_p="test -f"
++
++# Sed expression to map a string onto a valid CPP name.
++as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
++
++# Sed expression to map a string onto a valid variable name.
++as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
++
++
++# IFS
++# We need space, tab and new line, in precisely that order.
++as_nl='
++'
++IFS=" 	$as_nl"
++
++# CDPATH.
++$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
++
++
++# Name of the host.
++# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
++# so uname gets run too.
++ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
++
++exec 6>&1
++
++#
++# Initializations.
++#
++ac_default_prefix=/usr/local
++cross_compiling=no
++subdirs=
++MFLAGS=
++MAKEFLAGS=
++SHELL=${CONFIG_SHELL-/bin/sh}
++
++# Maximum number of lines to put in a shell here document.
++# This variable seems obsolete.  It should probably be removed, and
++# only ac_max_sed_lines should be used.
++: ${ac_max_here_lines=38}
++
++# Identity of this package.
++PACKAGE_NAME='Heimdal'
++PACKAGE_TARNAME='heimdal'
++PACKAGE_VERSION='0.5.1'
++PACKAGE_STRING='Heimdal 0.5.1'
++PACKAGE_BUGREPORT='heimdal-bugs@pdc.kth.se'
++
++ac_unique_file="kuser/kinit.c"
++ac_default_prefix=/usr/heimdal
++# Factoring default headers for most tests.
++ac_includes_default="\
++#include <stdio.h>
++#if HAVE_SYS_TYPES_H
++# include <sys/types.h>
++#endif
++#if HAVE_SYS_STAT_H
++# include <sys/stat.h>
++#endif
++#if STDC_HEADERS
++# include <stdlib.h>
++# include <stddef.h>
++#else
++# if HAVE_STDLIB_H
++#  include <stdlib.h>
++# endif
++#endif
++#if HAVE_STRING_H
++# if !STDC_HEADERS && HAVE_MEMORY_H
++#  include <memory.h>
++# endif
++# include <string.h>
++#endif
++#if HAVE_STRINGS_H
++# include <strings.h>
++#endif
++#if HAVE_INTTYPES_H
++# include <inttypes.h>
++#else
++# if HAVE_STDINT_H
++#  include <stdint.h>
++# endif
++#endif
++#if HAVE_UNISTD_H
++# include <unistd.h>
++#endif"
++
++
++# Initialize some variables set by options.
++ac_init_help=
++ac_init_version=false
++# The variables have the same names as the options, with
++# dashes changed to underlines.
++cache_file=/dev/null
++exec_prefix=NONE
++no_create=
++no_recursion=
++prefix=NONE
++program_prefix=NONE
++program_suffix=NONE
++program_transform_name=s,x,x,
++silent=
++site=
++srcdir=
++verbose=
++x_includes=NONE
++x_libraries=NONE
++
++# Installation directory options.
++# These are left unexpanded so users can "make install exec_prefix=/foo"
++# and all the variables that are supposed to be based on exec_prefix
++# by default will actually change.
++# Use braces instead of parens because sh, perl, etc. also accept them.
++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'
++
++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
++
++  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
++
++  # 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_alias ;;
++  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
++    build_alias=$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 ;;
++
++  --config-cache | -C)
++    cache_file=config.cache ;;
++
++  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
++    ac_prev=datadir ;;
++  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
++  | --da=*)
++    datadir=$ac_optarg ;;
++
++  -disable-* | --disable-*)
++    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
++    # Reject names that are not valid shell variable names.
++    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
++      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
++   { (exit 1); exit 1; }; }
++    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
++    eval "enable_$ac_feature=no" ;;
++
++  -enable-* | --enable-*)
++    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
++    # Reject names that are not valid shell variable names.
++    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
++      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
++   { (exit 1); exit 1; }; }
++    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
++    case $ac_option in
++      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
++      *) 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 | -h)
++    ac_init_help=long ;;
++  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
++    ac_init_help=recursive ;;
++  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
++    ac_init_help=short ;;
++
++  -host | --host | --hos | --ho)
++    ac_prev=host_alias ;;
++  -host=* | --host=* | --hos=* | --ho=*)
++    host_alias=$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 | -n)
++    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_alias ;;
++  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
++    target_alias=$ac_optarg ;;
++
++  -v | -verbose | --verbose | --verbos | --verbo | --verb)
++    verbose=yes ;;
++
++  -version | --version | --versio | --versi | --vers | -V)
++    ac_init_version=: ;;
++
++  -with-* | --with-*)
++    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
++    # Reject names that are not valid shell variable names.
++    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
++      { echo "$as_me: error: invalid package name: $ac_package" >&2
++   { (exit 1); exit 1; }; }
++    ac_package=`echo $ac_package| sed 's/-/_/g'`
++    case $ac_option in
++      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
++      *) ac_optarg=yes ;;
++    esac
++    eval "with_$ac_package='$ac_optarg'" ;;
++
++  -without-* | --without-*)
++    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
++    # Reject names that are not valid shell variable names.
++    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
++      { echo "$as_me: error: invalid package name: $ac_package" >&2
++   { (exit 1); exit 1; }; }
++    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 "$as_me: error: unrecognized option: $ac_option
++Try \`$0 --help' for more information." >&2
++   { (exit 1); exit 1; }; }
++    ;;
++
++  *=*)
++    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
++    # Reject names that are not valid shell variable names.
++    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
++      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
++   { (exit 1); exit 1; }; }
++    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
++    eval "$ac_envvar='$ac_optarg'"
++    export $ac_envvar ;;
++
++  *)
++    # FIXME: should be removed in autoconf 3.0.
++    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
++    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
++      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
++    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
++    ;;
++
++  esac
++done
++
++if test -n "$ac_prev"; then
++  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
++  { echo "$as_me: error: missing argument to $ac_option" >&2
++   { (exit 1); exit 1; }; }
++fi
++
++# Be sure to have absolute paths.
++for ac_var in exec_prefix prefix
++do
++  eval ac_val=$`echo $ac_var`
++  case $ac_val in
++    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
++    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
++   { (exit 1); exit 1; }; };;
++  esac
++done
++
++# Be sure to have absolute paths.
++for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
++              localstatedir libdir includedir oldincludedir infodir mandir
++do
++  eval ac_val=$`echo $ac_var`
++  case $ac_val in
++    [\\/$]* | ?:[\\/]* ) ;;
++    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
++   { (exit 1); exit 1; }; };;
++  esac
++done
++
++# There might be people who depend on the old broken behavior: `$host'
++# used to hold the argument of --host etc.
++# FIXME: To remove some day.
++build=$build_alias
++host=$host_alias
++target=$target_alias
++
++# FIXME: To remove some day.
++if test "x$host_alias" != x; then
++  if test "x$build_alias" = x; then
++    cross_compiling=maybe
++    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
++    If a cross compiler is detected then cross compile mode will be used." >&2
++  elif test "x$build_alias" != "x$host_alias"; then
++    cross_compiling=yes
++  fi
++fi
++
++ac_tool_prefix=
++test -n "$host_alias" && ac_tool_prefix=$host_alias-
++
++test "$silent" = yes && exec 6>/dev/null
++
++
++# 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_confdir=`(dirname "$0") 2>/dev/null ||
++$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++         X"$0" : 'X\(//\)[^/]' \| \
++         X"$0" : 'X\(//\)$' \| \
++         X"$0" : 'X\(/\)' \| \
++         .     : '\(.\)' 2>/dev/null ||
++echo X"$0" |
++    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
++  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
++  	  /^X\(\/\/\)$/{ s//\1/; q; }
++  	  /^X\(\/\).*/{ s//\1/; q; }
++  	  s/.*/./; q'`
++  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 "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
++   { (exit 1); exit 1; }; }
++  else
++    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
++   { (exit 1); exit 1; }; }
++  fi
++fi
++srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
++ac_env_build_alias_set=${build_alias+set}
++ac_env_build_alias_value=$build_alias
++ac_cv_env_build_alias_set=${build_alias+set}
++ac_cv_env_build_alias_value=$build_alias
++ac_env_host_alias_set=${host_alias+set}
++ac_env_host_alias_value=$host_alias
++ac_cv_env_host_alias_set=${host_alias+set}
++ac_cv_env_host_alias_value=$host_alias
++ac_env_target_alias_set=${target_alias+set}
++ac_env_target_alias_value=$target_alias
++ac_cv_env_target_alias_set=${target_alias+set}
++ac_cv_env_target_alias_value=$target_alias
++ac_env_CC_set=${CC+set}
++ac_env_CC_value=$CC
++ac_cv_env_CC_set=${CC+set}
++ac_cv_env_CC_value=$CC
++ac_env_CFLAGS_set=${CFLAGS+set}
++ac_env_CFLAGS_value=$CFLAGS
++ac_cv_env_CFLAGS_set=${CFLAGS+set}
++ac_cv_env_CFLAGS_value=$CFLAGS
++ac_env_LDFLAGS_set=${LDFLAGS+set}
++ac_env_LDFLAGS_value=$LDFLAGS
++ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
++ac_cv_env_LDFLAGS_value=$LDFLAGS
++ac_env_CPPFLAGS_set=${CPPFLAGS+set}
++ac_env_CPPFLAGS_value=$CPPFLAGS
++ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
++ac_cv_env_CPPFLAGS_value=$CPPFLAGS
++ac_env_CPP_set=${CPP+set}
++ac_env_CPP_value=$CPP
++ac_cv_env_CPP_set=${CPP+set}
++ac_cv_env_CPP_value=$CPP
++
++#
++# Report the --help message.
++#
++if test "$ac_init_help" = "long"; then
++  # 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 <<_ACEOF
++\`configure' configures Heimdal 0.5.1 to adapt to many kinds of systems.
++
++Usage: $0 [OPTION]... [VAR=VALUE]...
++
++To assign environment variables (e.g., CC, CFLAGS...), specify them as
++VAR=VALUE.  See below for descriptions of some of the useful variables.
++
++Defaults for the options are specified in brackets.
++
++Configuration:
++  -h, --help              display this help and exit
++      --help=short        display options specific to this package
++      --help=recursive    display the short help of all the included packages
++  -V, --version           display version information and exit
++  -q, --quiet, --silent   do not print \`checking...' messages
++      --cache-file=FILE   cache test results in FILE [disabled]
++  -C, --config-cache      alias for \`--cache-file=config.cache'
++  -n, --no-create         do not create output files
++      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
++
++_ACEOF
++
++  cat <<_ACEOF
++Installation directories:
++  --prefix=PREFIX         install architecture-independent files in PREFIX
++                          [$ac_default_prefix]
++  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
++                          [PREFIX]
++
++By default, \`make install' will install all the files in
++\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
++an installation prefix other than \`$ac_default_prefix' using \`--prefix',
++for instance \`--prefix=\$HOME'.
++
++For better control, use the options below.
++
++Fine tuning of the installation directories:
++  --bindir=DIR           user executables [EPREFIX/bin]
++  --sbindir=DIR          system admin executables [EPREFIX/sbin]
++  --libexecdir=DIR       program executables [EPREFIX/libexec]
++  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
++  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
++  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
++  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
++  --libdir=DIR           object code libraries [EPREFIX/lib]
++  --includedir=DIR       C header files [PREFIX/include]
++  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
++  --infodir=DIR          info documentation [PREFIX/info]
++  --mandir=DIR           man documentation [PREFIX/man]
++_ACEOF
++
++  cat <<\_ACEOF
++
++Program names:
++  --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
++
++X features:
++  --x-includes=DIR    X include files are in DIR
++  --x-libraries=DIR   X library files are in DIR
++
++System types:
++  --build=BUILD     configure for building on BUILD [guessed]
++  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
++_ACEOF
++fi
++
++if test -n "$ac_init_help"; then
++  case $ac_init_help in
++     short | recursive ) echo "Configuration of Heimdal 0.5.1:";;
++   esac
++  cat <<\_ACEOF
++
++Optional Features:
++  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
++  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
++  --enable-maintainer-mode enable make rules and dependencies not useful
++                          (and sometimes confusing) to the casual installer
++  --disable-dependency-tracking Speeds up one-time builds
++  --enable-dependency-tracking  Do not reject slow dependency extractors
++  --disable-largefile     omit support for large files
++  --enable-shared=PKGS  build shared libraries default=no
++  --enable-static=PKGS  build static libraries default=yes
++  --enable-fast-install=PKGS  optimize for fast installation default=yes
++  --disable-libtool-lock  avoid locking (might break parallel builds)
++  --enable-dce            if you want support for DCE/DFS PAG's
++  --disable-berkeley-db   if you don't want berkeley db
++  --disable-otp           if you don't want OTP support
++  --enable-osfc2          enable some OSF C2 support
++  --disable-mmap          disable use of mmap
++  --enable-bigendian      the target is big endian
++  --enable-littleendian   the target is little endian
++  --disable-dynamic-afs   do not use loaded AFS library with AIX
++  --enable-netinfo        enable netinfo for configuration lookup
++
++Optional Packages:
++  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
++  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
++  --with-mips-abi=abi     ABI to use for IRIX (32, n32, or 64)
++  --with-gnu-ld           assume the C compiler uses GNU ld default=no
++  --with-pic              try to use only PIC/non-PIC objects default=use both
++  --with-openldap=dir     use openldap in dir
++  --with-openldap-lib=dir use openldap libraries in dir
++  --with-openldap-include=dir 
++                          use openldap headers in dir
++  --with-openldap-config=path 
++                          config program for openldap
++  --with-krb4=dir         use krb4 in dir
++  --with-krb4-lib=dir     use krb4 libraries in dir
++  --with-krb4-include=dir use krb4 headers in dir
++  --with-krb4-config=path config program for krb4
++  --with-openssl=dir      use openssl in dir
++  --with-openssl-lib=dir  use openssl libraries in dir
++  --with-openssl-include=dir 
++                          use openssl headers in dir
++  --with-roken=dir        use the roken library in dir
++  --without-ipv6          do not enable IPv6 support
++  --with-readline=dir     use readline in dir
++  --with-readline-lib=dir use readline libraries in dir
++  --with-readline-include=dir 
++                          use readline headers in dir
++  --with-readline-config=path 
++                          config program for readline
++  --with-hesiod=dir       use hesiod in dir
++  --with-hesiod-lib=dir   use hesiod libraries in dir
++  --with-hesiod-include=dir 
++                          use hesiod headers in dir
++  --with-hesiod-config=path 
++                          config program for hesiod
++  --with-sl=dir           use sl in dir
++  --with-sl-lib=dir       use sl libraries in dir
++  --with-sl-include=dir   use sl headers in dir
++  --with-sl-config=path   config program for sl
++  --with-ss=dir           use ss in dir
++  --with-ss-lib=dir       use ss libraries in dir
++  --with-ss-include=dir   use ss headers in dir
++  --with-ss-config=path   config program for ss
++  --with-otp=dir          use otp in dir
++  --with-otp-lib=dir      use otp libraries in dir
++  --with-otp-include=dir  use otp headers in dir
++  --with-otp-config=path  config program for otp
++  --with-x                use the X Window System
++
++Some influential environment variables:
++  CC          C compiler command
++  CFLAGS      C compiler flags
++  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
++              nonstandard directory <lib dir>
++  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
++              headers in a nonstandard directory <include dir>
++  CPP         C preprocessor
++
++Use these variables to override the choices made by `configure' or to help
++it to find libraries and programs with nonstandard names/locations.
++
++Report bugs to <heimdal-bugs@pdc.kth.se>.
++_ACEOF
++fi
++
++if test "$ac_init_help" = "recursive"; then
++  # If there are subdirs, report their specific --help.
++  ac_popdir=`pwd`
++  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
++    test -d $ac_dir || continue
++    ac_builddir=.
++
++if test "$ac_dir" != .; then
++  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
++  # A "../" for each directory in $ac_dir_suffix.
++  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
++else
++  ac_dir_suffix= ac_top_builddir=
++fi
++
++case $srcdir in
++  .)  # No --srcdir option.  We are building in place.
++    ac_srcdir=.
++    if test -z "$ac_top_builddir"; then
++       ac_top_srcdir=.
++    else
++       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
++    fi ;;
++  [\\/]* | ?:[\\/]* )  # Absolute path.
++    ac_srcdir=$srcdir$ac_dir_suffix;
++    ac_top_srcdir=$srcdir ;;
++  *) # Relative path.
++    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
++    ac_top_srcdir=$ac_top_builddir$srcdir ;;
++esac
++# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
++# absolute.
++ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
++ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
++ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
++ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
++
++    cd $ac_dir
++    # Check for guested configure; otherwise get Cygnus style configure.
++    if test -f $ac_srcdir/configure.gnu; then
++      echo
++      $SHELL $ac_srcdir/configure.gnu  --help=recursive
++    elif test -f $ac_srcdir/configure; then
++      echo
++      $SHELL $ac_srcdir/configure  --help=recursive
++    elif test -f $ac_srcdir/configure.ac ||
++           test -f $ac_srcdir/configure.in; then
++      echo
++      $ac_configure --help
++    else
++      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
++    fi
++    cd $ac_popdir
++  done
++fi
++
++test -n "$ac_init_help" && exit 0
++if $ac_init_version; then
++  cat <<\_ACEOF
++Heimdal configure 0.5.1
++generated by GNU Autoconf 2.53
++
++Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
++Free Software Foundation, Inc.
++This configure script is free software; the Free Software Foundation
++gives unlimited permission to copy, distribute and modify it.
++_ACEOF
++  exit 0
++fi
++exec 5>config.log
++cat >&5 <<_ACEOF
++This file contains any messages produced by compilers while
++running configure, to aid debugging if configure makes a mistake.
++
++It was created by Heimdal $as_me 0.5.1, which was
++generated by GNU Autoconf 2.53.  Invocation command line was
++
++  $ $0 $@
++
++_ACEOF
++{
++cat <<_ASUNAME
++@%:@@%:@ --------- @%:@@%:@
++@%:@@%:@ Platform. @%:@@%:@
++@%:@@%:@ --------- @%:@@%:@
++
++hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
++uname -m = `(uname -m) 2>/dev/null || echo unknown`
++uname -r = `(uname -r) 2>/dev/null || echo unknown`
++uname -s = `(uname -s) 2>/dev/null || echo unknown`
++uname -v = `(uname -v) 2>/dev/null || echo unknown`
++
++/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
++/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
++
++/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
++/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
++/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
++hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
++/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
++/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
++/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
++
++_ASUNAME
++
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  echo "PATH: $as_dir"
++done
++
++} >&5
++
++cat >&5 <<_ACEOF
++
++
++@%:@@%:@ ----------- @%:@@%:@
++@%:@@%:@ Core tests. @%:@@%:@
++@%:@@%:@ ----------- @%:@@%:@
++
++_ACEOF
++
++
++# Keep a trace of the command line.
++# Strip out --no-create and --no-recursion so they do not pile up.
++# Also quote any args containing shell meta-characters.
++ac_configure_args=
++ac_sep=
++for ac_arg
++do
++  case $ac_arg in
++  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
++  | --no-cr | --no-c | -n ) continue ;;
++  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
++  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
++    continue ;;
++  *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
++    ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
++  esac
++  case " $ac_configure_args " in
++    *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
++    *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
++       ac_sep=" " ;;
++  esac
++  # Get rid of the leading space.
++done
++
++# When interrupted or exit'd, cleanup temporary files, and complete
++# config.log.  We remove comments because anyway the quotes in there
++# would cause problems or look ugly.
++# WARNING: Be sure not to use single quotes in there, as some shells,
++# such as our DU 5.0 friend, will then `close' the trap.
++trap 'exit_status=$?
++  # Save into config.log some information that might help in debugging.
++  {
++    echo
++    cat <<\_ASBOX
++@%:@@%:@ ---------------- @%:@@%:@
++@%:@@%:@ Cache variables. @%:@@%:@
++@%:@@%:@ ---------------- @%:@@%:@
++_ASBOX
++    echo
++    # The following way of writing the cache mishandles newlines in values,
++{
++  (set) 2>&1 |
++    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
++    *ac_space=\ *)
++      sed -n \
++        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
++    	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
++      ;;
++    *)
++      sed -n \
++        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
++      ;;
++    esac;
++}
++    echo
++    if test -s confdefs.h; then
++      cat <<\_ASBOX
++@%:@@%:@ ----------- @%:@@%:@
++@%:@@%:@ confdefs.h. @%:@@%:@
++@%:@@%:@ ----------- @%:@@%:@
++_ASBOX
++      echo
++      sed "/^$/d" confdefs.h
++      echo
++    fi
++    test "$ac_signal" != 0 &&
++      echo "$as_me: caught signal $ac_signal"
++    echo "$as_me: exit $exit_status"
++  } >&5
++  rm -f core core.* *.core &&
++  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
++    exit $exit_status
++     ' 0
++for ac_signal in 1 2 13 15; do
++  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
++done
++ac_signal=0
++
++# 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
++
++# Predefined preprocessor variables.
++
++cat >>confdefs.h <<_ACEOF
++@%:@define PACKAGE_NAME "$PACKAGE_NAME"
++_ACEOF
++
++
++cat >>confdefs.h <<_ACEOF
++@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
++_ACEOF
++
++
++cat >>confdefs.h <<_ACEOF
++@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
++_ACEOF
++
++
++cat >>confdefs.h <<_ACEOF
++@%:@define PACKAGE_STRING "$PACKAGE_STRING"
++_ACEOF
++
++
++cat >>confdefs.h <<_ACEOF
++@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
++_ACEOF
++
++
++# Let the site file select an alternate cache file if it wants to.
++# 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 "$as_me:$LINENO: loading site script $ac_site_file" >&5
++echo "$as_me: loading site script $ac_site_file" >&6;}
++    sed 's/^/| /' "$ac_site_file" >&5
++    . "$ac_site_file"
++  fi
++done
++
++if test -r "$cache_file"; then
++  # Some versions of bash will fail to source /dev/null (special
++  # files actually), so we avoid doing that.
++  if test -f "$cache_file"; then
++    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
++echo "$as_me: loading cache $cache_file" >&6;}
++    case $cache_file in
++      [\\/]* | ?:[\\/]* ) . $cache_file;;
++      *)                      . ./$cache_file;;
++    esac
++  fi
++else
++  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
++echo "$as_me: creating cache $cache_file" >&6;}
++  >$cache_file
++fi
++
++# Check that the precious variables saved in the cache have kept the same
++# value.
++ac_cache_corrupted=false
++for ac_var in `(set) 2>&1 |
++               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
++  eval ac_old_set=\$ac_cv_env_${ac_var}_set
++  eval ac_new_set=\$ac_env_${ac_var}_set
++  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
++  eval ac_new_val="\$ac_env_${ac_var}_value"
++  case $ac_old_set,$ac_new_set in
++    set,)
++      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
++echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
++      ac_cache_corrupted=: ;;
++    ,set)
++      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
++echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
++      ac_cache_corrupted=: ;;
++    ,);;
++    *)
++      if test "x$ac_old_val" != "x$ac_new_val"; then
++        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
++echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
++        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
++echo "$as_me:   former value:  $ac_old_val" >&2;}
++        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
++echo "$as_me:   current value: $ac_new_val" >&2;}
++        ac_cache_corrupted=:
++      fi;;
++  esac
++  # Pass precious variables to config.status.
++  if test "$ac_new_set" = set; then
++    case $ac_new_val in
++    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
++      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
++    *) ac_arg=$ac_var=$ac_new_val ;;
++    esac
++    case " $ac_configure_args " in
++      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
++      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
++    esac
++  fi
++done
++if $ac_cache_corrupted; then
++  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
++echo "$as_me: error: changes in the environment can compromise the build" >&2;}
++  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
++echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
++   { (exit 1); exit 1; }; }
++fi
++
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
++echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
++    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
++if test "${enable_maintainer_mode+set}" = set; then
++  enableval="$enable_maintainer_mode"
++  USE_MAINTAINER_MODE=$enableval
++else
++  USE_MAINTAINER_MODE=no
++fi; 
++  echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
++echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
++  
++
++if test $USE_MAINTAINER_MODE = yes; then
++  MAINTAINER_MODE_TRUE=
++  MAINTAINER_MODE_FALSE='#'
++else
++  MAINTAINER_MODE_TRUE='#'
++  MAINTAINER_MODE_FALSE=
++fi
++
++  MAINT=$MAINTAINER_MODE_TRUE
++  
++
++
++# Add the stamp file to the list of files AC keeps track of,
++# along with our hook.
++ac_config_headers="$ac_config_headers include/config.h"
++
++
++
++
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++if test -n "$ac_tool_prefix"; then
++  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
++set dummy ${ac_tool_prefix}gcc; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_CC+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$CC"; then
++  ac_cv_prog_CC="$CC" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_CC="${ac_tool_prefix}gcc"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++CC=$ac_cv_prog_CC
++if test -n "$CC"; then
++  echo "$as_me:$LINENO: result: $CC" >&5
++echo "${ECHO_T}$CC" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++fi
++if test -z "$ac_cv_prog_CC"; then
++  ac_ct_CC=$CC
++  # Extract the first word of "gcc", so it can be a program name with args.
++set dummy gcc; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$ac_ct_CC"; then
++  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_ac_ct_CC="gcc"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++ac_ct_CC=$ac_cv_prog_ac_ct_CC
++if test -n "$ac_ct_CC"; then
++  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
++echo "${ECHO_T}$ac_ct_CC" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  CC=$ac_ct_CC
++else
++  CC="$ac_cv_prog_CC"
++fi
++
++if test -z "$CC"; then
++  if test -n "$ac_tool_prefix"; then
++  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
++set dummy ${ac_tool_prefix}cc; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_CC+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$CC"; then
++  ac_cv_prog_CC="$CC" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_CC="${ac_tool_prefix}cc"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++CC=$ac_cv_prog_CC
++if test -n "$CC"; then
++  echo "$as_me:$LINENO: result: $CC" >&5
++echo "${ECHO_T}$CC" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++fi
++if test -z "$ac_cv_prog_CC"; then
++  ac_ct_CC=$CC
++  # Extract the first word of "cc", so it can be a program name with args.
++set dummy cc; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$ac_ct_CC"; then
++  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_ac_ct_CC="cc"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++ac_ct_CC=$ac_cv_prog_ac_ct_CC
++if test -n "$ac_ct_CC"; then
++  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
++echo "${ECHO_T}$ac_ct_CC" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  CC=$ac_ct_CC
++else
++  CC="$ac_cv_prog_CC"
++fi
++
++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 "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_CC+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$CC"; then
++  ac_cv_prog_CC="$CC" # Let the user override the test.
++else
++  ac_prog_rejected=no
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
++       ac_prog_rejected=yes
++       continue
++     fi
++    ac_cv_prog_CC="cc"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++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 $@%:@ != 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 "$as_dir/$ac_word" ${1+"$@"}
++    shift
++    ac_cv_prog_CC="$@"
++  fi
++fi
++fi
++fi
++CC=$ac_cv_prog_CC
++if test -n "$CC"; then
++  echo "$as_me:$LINENO: result: $CC" >&5
++echo "${ECHO_T}$CC" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++fi
++if test -z "$CC"; then
++  if test -n "$ac_tool_prefix"; then
++  for ac_prog in cl
++  do
++    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
++set dummy $ac_tool_prefix$ac_prog; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_CC+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$CC"; then
++  ac_cv_prog_CC="$CC" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++CC=$ac_cv_prog_CC
++if test -n "$CC"; then
++  echo "$as_me:$LINENO: result: $CC" >&5
++echo "${ECHO_T}$CC" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++    test -n "$CC" && break
++  done
++fi
++if test -z "$CC"; then
++  ac_ct_CC=$CC
++  for ac_prog in cl
++do
++  # Extract the first word of "$ac_prog", so it can be a program name with args.
++set dummy $ac_prog; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$ac_ct_CC"; then
++  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_ac_ct_CC="$ac_prog"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++ac_ct_CC=$ac_cv_prog_ac_ct_CC
++if test -n "$ac_ct_CC"; then
++  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
++echo "${ECHO_T}$ac_ct_CC" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  test -n "$ac_ct_CC" && break
++done
++
++  CC=$ac_ct_CC
++fi
++
++fi
++
++
++test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
++echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
++   { (exit 1); exit 1; }; }
++
++# Provide some information about the compiler.
++echo "$as_me:$LINENO:" \
++     "checking for C compiler version" >&5
++ac_compiler=`set X $ac_compile; echo $2`
++{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
++  (eval $ac_compiler --version </dev/null >&5) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }
++{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
++  (eval $ac_compiler -v </dev/null >&5) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }
++{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
++  (eval $ac_compiler -V </dev/null >&5) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }
++
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++ac_clean_files_save=$ac_clean_files
++ac_clean_files="$ac_clean_files a.out a.exe"
++# Try to create an executable without -o first, disregard a.out.
++# It will help us diagnose broken compilers, and finding out an intuition
++# of exeext.
++echo "$as_me:$LINENO: checking for C compiler default output" >&5
++echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
++ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
++if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
++  (eval $ac_link_default) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; then
++  # Find the output, starting from the most likely.  This scheme is
++# not robust to junk in `.', hence go to wildcards (a.*) only as a last
++# resort.
++
++# Be careful to initialize this variable, since it used to be cached.
++# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
++ac_cv_exeext=
++for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
++                ls a.out conftest 2>/dev/null;
++                ls a.* conftest.* 2>/dev/null`; do
++  case $ac_file in
++    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;;
++    a.out ) # We found the default executable, but exeext='' is most
++            # certainly right.
++            break;;
++    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
++          # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
++          export ac_cv_exeext
++          break;;
++    * ) break;;
++  esac
++done
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++{ { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
++echo "$as_me: error: C compiler cannot create executables" >&2;}
++   { (exit 77); exit 77; }; }
++fi
++
++ac_exeext=$ac_cv_exeext
++echo "$as_me:$LINENO: result: $ac_file" >&5
++echo "${ECHO_T}$ac_file" >&6
++
++# Check the compiler produces executables we can run.  If not, either
++# the compiler is broken, or we cross compile.
++echo "$as_me:$LINENO: checking whether the C compiler works" >&5
++echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
++# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
++# If not cross compiling, check that we can run a simple program.
++if test "$cross_compiling" != yes; then
++  if { ac_try='./$ac_file'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++    cross_compiling=no
++  else
++    if test "$cross_compiling" = maybe; then
++	cross_compiling=yes
++    else
++	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
++If you meant to cross compile, use \`--host'." >&5
++echo "$as_me: error: cannot run C compiled programs.
++If you meant to cross compile, use \`--host'." >&2;}
++   { (exit 1); exit 1; }; }
++    fi
++  fi
++fi
++echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++
++rm -f a.out a.exe conftest$ac_cv_exeext
++ac_clean_files=$ac_clean_files_save
++# Check the compiler produces executables we can run.  If not, either
++# the compiler is broken, or we cross compile.
++echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
++echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
++echo "$as_me:$LINENO: result: $cross_compiling" >&5
++echo "${ECHO_T}$cross_compiling" >&6
++
++echo "$as_me:$LINENO: checking for suffix of executables" >&5
++echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; then
++  # If both `conftest.exe' and `conftest' are `present' (well, observable)
++# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
++# work properly (i.e., refer to `conftest.exe'), while it won't with
++# `rm'.
++for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
++  case $ac_file in
++    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
++    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
++          export ac_cv_exeext
++          break;;
++    * ) break;;
++  esac
++done
++else
++  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
++echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
++   { (exit 1); exit 1; }; }
++fi
++
++rm -f conftest$ac_cv_exeext
++echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
++echo "${ECHO_T}$ac_cv_exeext" >&6
++
++rm -f conftest.$ac_ext
++EXEEXT=$ac_cv_exeext
++ac_exeext=$EXEEXT
++echo "$as_me:$LINENO: checking for suffix of object files" >&5
++echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
++if test "${ac_cv_objext+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.o conftest.obj
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; then
++  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
++  case $ac_file in
++    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
++    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
++       break;;
++  esac
++done
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
++echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
++   { (exit 1); exit 1; }; }
++fi
++
++rm -f conftest.$ac_cv_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
++echo "${ECHO_T}$ac_cv_objext" >&6
++OBJEXT=$ac_cv_objext
++ac_objext=$OBJEXT
++echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
++echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
++if test "${ac_cv_c_compiler_gnu+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++#ifndef __GNUC__
++       choke me
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_compiler_gnu=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_compiler_gnu=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++ac_cv_c_compiler_gnu=$ac_compiler_gnu
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
++echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
++GCC=`test $ac_compiler_gnu = yes && echo yes`
++ac_test_CFLAGS=${CFLAGS+set}
++ac_save_CFLAGS=$CFLAGS
++CFLAGS="-g"
++echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
++echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
++if test "${ac_cv_prog_cc_g+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_prog_cc_g=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_prog_cc_g=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
++echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
++if test "$ac_test_CFLAGS" = set; then
++  CFLAGS=$ac_save_CFLAGS
++elif test $ac_cv_prog_cc_g = yes; then
++  if test "$GCC" = yes; then
++    CFLAGS="-g -O2"
++  else
++    CFLAGS="-g"
++  fi
++else
++  if test "$GCC" = yes; then
++    CFLAGS="-O2"
++  else
++    CFLAGS=
++  fi
++fi
++# Some people use a C++ compiler to compile C.  Since we use `exit',
++# in C++ we need to declare it.  In case someone uses the same compiler
++# for both compiling C and C++ we need to have the C++ compiler decide
++# the declaration of exit, since it's the most demanding environment.
++cat >conftest.$ac_ext <<_ACEOF
++@%:@ifndef __cplusplus
++  choke me
++@%:@endif
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  for ac_declaration in \
++   ''\
++   '#include <stdlib.h>' \
++   'extern "C" void std::exit (int) throw (); using std::exit;' \
++   'extern "C" void std::exit (int); using std::exit;' \
++   'extern "C" void exit (int) throw ();' \
++   'extern "C" void exit (int);' \
++   'void exit (int);'
++do
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++@%:@include <stdlib.h>
++$ac_declaration
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++exit (42);
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  :
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++continue
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++$ac_declaration
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++exit (42);
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++done
++rm -f conftest*
++if test -n "$ac_declaration"; then
++  echo '#ifdef __cplusplus' >>confdefs.h
++  echo $ac_declaration      >>confdefs.h
++  echo '#endif'             >>confdefs.h
++fi
++
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
++echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
++# On Suns, sometimes $CPP names a directory.
++if test -n "$CPP" && test -d "$CPP"; then
++  CPP=
++fi
++if test -z "$CPP"; then
++  if test "${ac_cv_prog_CPP+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++      # Double quotes because CPP needs to be expanded
++    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
++    do
++      ac_preproc_ok=false
++for ac_c_preproc_warn_flag in '' yes
++do
++  # Use a header file that comes with gcc, so configuring glibc
++  # with a fresh cross-compiler works.
++  # On the NeXT, cc -E runs the code through the compiler's parser,
++  # not just through cpp. "Syntax error" is here to catch this case.
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++@%:@include <assert.h>
++                     Syntax error
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  egrep -v '^ *\+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  :
++else
++  echo "$as_me: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  # Broken: fails on valid input.
++continue
++fi
++rm -f conftest.err conftest.$ac_ext
++
++  # OK, works on sane cases.  Now check whether non-existent headers
++  # can be detected and how.
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++@%:@include <ac_nonexistent.h>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  egrep -v '^ *\+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  # Broken: success on invalid input.
++continue
++else
++  echo "$as_me: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  # Passes both tests.
++ac_preproc_ok=:
++break
++fi
++rm -f conftest.err conftest.$ac_ext
++
++done
++# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
++rm -f conftest.err conftest.$ac_ext
++if $ac_preproc_ok; then
++  break
++fi
++
++    done
++    ac_cv_prog_CPP=$CPP
++  
++fi
++  CPP=$ac_cv_prog_CPP
++else
++  ac_cv_prog_CPP=$CPP
++fi
++echo "$as_me:$LINENO: result: $CPP" >&5
++echo "${ECHO_T}$CPP" >&6
++ac_preproc_ok=false
++for ac_c_preproc_warn_flag in '' yes
++do
++  # Use a header file that comes with gcc, so configuring glibc
++  # with a fresh cross-compiler works.
++  # On the NeXT, cc -E runs the code through the compiler's parser,
++  # not just through cpp. "Syntax error" is here to catch this case.
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++@%:@include <assert.h>
++                     Syntax error
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  egrep -v '^ *\+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  :
++else
++  echo "$as_me: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  # Broken: fails on valid input.
++continue
++fi
++rm -f conftest.err conftest.$ac_ext
++
++  # OK, works on sane cases.  Now check whether non-existent headers
++  # can be detected and how.
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++@%:@include <ac_nonexistent.h>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  egrep -v '^ *\+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  # Broken: success on invalid input.
++continue
++else
++  echo "$as_me: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  # Passes both tests.
++ac_preproc_ok=:
++break
++fi
++rm -f conftest.err conftest.$ac_ext
++
++done
++# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
++rm -f conftest.err conftest.$ac_ext
++if $ac_preproc_ok; then
++  :
++else
++  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
++echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
++   { (exit 1); exit 1; }; }
++fi
++
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++
++echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
++echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
++if test "${ac_cv_prog_cc_stdc+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_cv_prog_cc_stdc=no
++ac_save_CC=$CC
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <stdarg.h>
++#include <stdio.h>
++#include <sys/types.h>
++#include <sys/stat.h>
++/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
++struct buf { int x; };
++FILE * (*rcsopen) (struct buf *, struct stat *, int);
++static char *e (p, i)
++     char **p;
++     int i;
++{
++  return p[i];
++}
++static char *f (char * (*g) (char **, int), char **p, ...)
++{
++  char *s;
++  va_list v;
++  va_start (v,p);
++  s = g (p, va_arg (v,int));
++  va_end (v);
++  return s;
++}
++int test (int i, double x);
++struct s1 {int (*f) (int a);};
++struct s2 {int (*f) (double a);};
++int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
++int argc;
++char **argv;
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
++  ;
++  return 0;
++}
++_ACEOF
++# Don't try gcc -ansi; that turns off useful extensions and
++# breaks some systems' header files.
++# AIX			-qlanglvl=ansi
++# Ultrix and OSF/1	-std1
++# HP-UX 10.20 and later	-Ae
++# HP-UX older versions	-Aa -D_HPUX_SOURCE
++# SVR4			-Xc -D__EXTENSIONS__
++for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
++do
++  CC="$ac_save_CC $ac_arg"
++  rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_prog_cc_stdc=$ac_arg
++break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext 
++done
++rm -f conftest.$ac_ext conftest.$ac_objext
++CC=$ac_save_CC
++
++fi
++
++case "x$ac_cv_prog_cc_stdc" in
++  x|xno)
++    echo "$as_me:$LINENO: result: none needed" >&5
++echo "${ECHO_T}none needed" >&6 ;;
++  *)
++    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
++echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
++    CC="$CC $ac_cv_prog_cc_stdc" ;;
++esac
++
++
++am__api_version="1.6"
++ac_aux_dir=
++for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
++  if test -f $ac_dir/install-sh; then
++    ac_aux_dir=$ac_dir
++    ac_install_sh="$ac_aux_dir/install-sh -c"
++    break
++  elif test -f $ac_dir/install.sh; then
++    ac_aux_dir=$ac_dir
++    ac_install_sh="$ac_aux_dir/install.sh -c"
++    break
++  elif test -f $ac_dir/shtool; then
++    ac_aux_dir=$ac_dir
++    ac_install_sh="$ac_aux_dir/shtool install -c"
++    break
++  fi
++done
++if test -z "$ac_aux_dir"; then
++  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
++echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++ac_config_guess="$SHELL $ac_aux_dir/config.guess"
++ac_config_sub="$SHELL $ac_aux_dir/config.sub"
++ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
++
++# Find a good install program.  We prefer a C program (faster),
++# so one script is as good as another.  But avoid the broken or
++# incompatible versions:
++# SysV /etc/install, /usr/sbin/install
++# SunOS /usr/etc/install
++# IRIX /sbin/install
++# AIX /bin/install
++# AmigaOS /C/install, which installs bootblocks on floppy discs
++# 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 "$as_me:$LINENO: checking for a BSD-compatible install" >&5
++echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
++if test -z "$INSTALL"; then
++if test "${ac_cv_path_install+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  # Account for people who put trailing slashes in PATH elements.
++case $as_dir/ in
++  ./ | .// | /cC/* | \
++  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
++  /usr/ucb/* ) ;;
++  *)
++    # OSF1 and SCO ODT 3.0 have their own names for install.
++    # Don't use installbsd from OSF since it installs stuff as root
++    # by default.
++    for ac_prog in ginstall scoinst install; do
++      for ac_exec_ext in '' $ac_executable_extensions; do
++        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
++          if test $ac_prog = install &&
++            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
++            # AIX install.  It has an incompatible calling convention.
++            :
++          elif test $ac_prog = install &&
++            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
++            # program-specific install script used by HP pwplus--don't use.
++            :
++          else
++            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
++            break 3
++          fi
++        fi
++      done
++    done
++    ;;
++esac
++done
++
++
++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 "$as_me:$LINENO: result: $INSTALL" >&5
++echo "${ECHO_T}$INSTALL" >&6
++
++# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
++# It thinks the first close brace ends the variable substitution.
++test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
++
++test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
++
++test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
++
++echo "$as_me:$LINENO: checking whether build environment is sane" >&5
++echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
++# Just in case
++sleep 1
++echo timestamp > conftest.file
++# Do `set' in a subshell so we don't clobber the current shell's
++# arguments.  Must try -L first in case configure is actually a
++# symlink; some systems play weird games with the mod time of symlinks
++# (eg FreeBSD returns the mod time of the symlink's containing
++# directory).
++if (
++   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
++   if test "$*" = "X"; then
++      # -L didn't work.
++      set X `ls -t $srcdir/configure conftest.file`
++   fi
++   rm -f conftest.file
++   if test "$*" != "X $srcdir/configure conftest.file" \
++      && test "$*" != "X conftest.file $srcdir/configure"; then
++
++      # If neither matched, then we have a broken ls.  This can happen
++      # if, for instance, CONFIG_SHELL is bash and it inherits a
++      # broken ls alias from the environment.  This has actually
++      # happened.  Such a system could not be considered "sane".
++      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
++alias in your environment" >&5
++echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
++alias in your environment" >&2;}
++   { (exit 1); exit 1; }; }
++   fi
++
++   test "$2" = conftest.file
++   )
++then
++   # Ok.
++   :
++else
++   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
++Check your system clock" >&5
++echo "$as_me: error: newly created file is older than distributed files!
++Check your system clock" >&2;}
++   { (exit 1); exit 1; }; }
++fi
++echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++test "$program_prefix" != NONE &&
++  program_transform_name="s,^,$program_prefix,;$program_transform_name"
++# Use a double $ so make ignores it.
++test "$program_suffix" != NONE &&
++  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
++# Double any \ or $.  echo might interpret backslashes.
++# By default was `s,x,x', remove it if useless.
++cat <<\_ACEOF >conftest.sed
++s/[\\$]/&&/g;s/;s,x,x,$//
++_ACEOF
++program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
++rm conftest.sed
++
++
++# expand $ac_aux_dir to an absolute path
++am_aux_dir=`cd $ac_aux_dir && pwd`
++
++test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
++# Use eval to expand $SHELL
++if eval "$MISSING --run true"; then
++  am_missing_run="$MISSING --run "
++else
++  am_missing_run=
++  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
++echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
++fi
++
++for ac_prog in gawk mawk nawk awk
++do
++  # Extract the first word of "$ac_prog", so it can be a program name with args.
++set dummy $ac_prog; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_AWK+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$AWK"; then
++  ac_cv_prog_AWK="$AWK" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_AWK="$ac_prog"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++AWK=$ac_cv_prog_AWK
++if test -n "$AWK"; then
++  echo "$as_me:$LINENO: result: $AWK" >&5
++echo "${ECHO_T}$AWK" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  test -n "$AWK" && break
++done
++
++echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
++echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
++set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
++if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.make <<\_ACEOF
++all:
++	@echo 'ac_maketemp="${MAKE}"'
++_ACEOF
++# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
++eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
++if test -n "$ac_maketemp"; then
++  eval ac_cv_prog_make_${ac_make}_set=yes
++else
++  eval ac_cv_prog_make_${ac_make}_set=no
++fi
++rm -f conftest.make
++fi
++if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
++  echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++  SET_MAKE=
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++  SET_MAKE="MAKE=${MAKE-make}"
++fi
++
++rm -f .deps 2>/dev/null
++mkdir .deps 2>/dev/null
++if test -d .deps; then
++  DEPDIR=.deps
++else
++  # MS-DOS does not allow filenames that begin with a dot.
++  DEPDIR=_deps
++fi
++rmdir .deps 2>/dev/null
++
++
++ac_config_commands="$ac_config_commands depfiles"
++
++
++am_make=${MAKE-make}
++cat > confinc << 'END'
++doit:
++	@echo done
++END
++# If we don't find an include directive, just comment out the code.
++echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
++echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
++am__include="#"
++am__quote=
++_am_result=none
++# First try GNU make style include.
++echo "include confinc" > confmf
++# We grep out `Entering directory' and `Leaving directory'
++# messages which can occur if `w' ends up in MAKEFLAGS.
++# In particular we don't look at `^make:' because GNU make might
++# be invoked under some other name (usually "gmake"), in which
++# case it prints its new name instead of `make'.
++if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
++   am__include=include
++   am__quote=
++   _am_result=GNU
++fi
++# Now try BSD make style include.
++if test "$am__include" = "#"; then
++   echo '.include "confinc"' > confmf
++   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
++      am__include=.include
++      am__quote="\""
++      _am_result=BSD
++   fi
++fi
++
++
++echo "$as_me:$LINENO: result: $_am_result" >&5
++echo "${ECHO_T}$_am_result" >&6
++rm -f confinc confmf
++
++# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
++if test "${enable_dependency_tracking+set}" = set; then
++  enableval="$enable_dependency_tracking"
++  
++fi; 
++if test "x$enable_dependency_tracking" != xno; then
++  am_depcomp="$ac_aux_dir/depcomp"
++  AMDEPBACKSLASH='\'
++fi
++
++
++if test "x$enable_dependency_tracking" != xno; then
++  AMDEP_TRUE=
++  AMDEP_FALSE='#'
++else
++  AMDEP_TRUE='#'
++  AMDEP_FALSE=
++fi
++
++
++
++ # test to see if srcdir already configured
++if test "`cd $srcdir && pwd`" != "`pwd`" &&
++   test -f $srcdir/config.status; then
++  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
++echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
++   { (exit 1); exit 1; }; }
++fi
++
++# Define the identity of the package.
++ PACKAGE=heimdal
++ VERSION=0.5.1
++
++
++cat >>confdefs.h <<_ACEOF
++@%:@define PACKAGE "$PACKAGE"
++_ACEOF
++
++ 
++cat >>confdefs.h <<_ACEOF
++@%:@define VERSION "$VERSION"
++_ACEOF
++
++# Some tools Automake needs.
++
++ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
++
++
++AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
++
++
++AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
++
++
++AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
++
++
++MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
++
++
++AMTAR=${AMTAR-"${am_missing_run}tar"}
++
++install_sh=${install_sh-"$am_aux_dir/install-sh"}
++
++# Installed binaries are usually stripped using `strip' when the user
++# run `make install-strip'.  However `strip' might not be the right
++# tool to use in cross-compilation environments, therefore Automake
++# will honor the `STRIP' environment variable to overrule this program.
++if test "$cross_compiling" != no; then
++  if test -n "$ac_tool_prefix"; then
++  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
++set dummy ${ac_tool_prefix}strip; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_STRIP+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$STRIP"; then
++  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++STRIP=$ac_cv_prog_STRIP
++if test -n "$STRIP"; then
++  echo "$as_me:$LINENO: result: $STRIP" >&5
++echo "${ECHO_T}$STRIP" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++fi
++if test -z "$ac_cv_prog_STRIP"; then
++  ac_ct_STRIP=$STRIP
++  # Extract the first word of "strip", so it can be a program name with args.
++set dummy strip; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$ac_ct_STRIP"; then
++  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_ac_ct_STRIP="strip"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
++fi
++fi
++ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
++if test -n "$ac_ct_STRIP"; then
++  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
++echo "${ECHO_T}$ac_ct_STRIP" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  STRIP=$ac_ct_STRIP
++else
++  STRIP="$ac_cv_prog_STRIP"
++fi
++
++fi
++INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
++
++# We need awk for the "check" target.  The system "awk" is bad on
++# some platforms.
++
++
++depcc="$CC"   am_compiler_list=
++
++echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
++echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
++if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
++  # We make a subdir and do the tests there.  Otherwise we can end up
++  # making bogus files that we don't know about and never remove.  For
++  # instance it was reported that on HP-UX the gcc test will end up
++  # making a dummy file named `D' -- because `-MD' means `put the output
++  # in D'.
++  mkdir conftest.dir
++  # Copy depcomp to subdir because otherwise we won't find it if we're
++  # using a relative directory.
++  cp "$am_depcomp" conftest.dir
++  cd conftest.dir
++
++  am_cv_CC_dependencies_compiler_type=none
++  if test "$am_compiler_list" = ""; then
++     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
++  fi
++  for depmode in $am_compiler_list; do
++    # We need to recreate these files for each test, as the compiler may
++    # overwrite some of them when testing with obscure command lines.
++    # This happens at least with the AIX C compiler.
++    echo '#include "conftest.h"' > conftest.c
++    echo 'int i;' > conftest.h
++    echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
++
++    case $depmode in
++    nosideeffect)
++      # after this tag, mechanisms are not by side-effect, so they'll
++      # only be used when explicitly requested
++      if test "x$enable_dependency_tracking" = xyes; then
++	continue
++      else
++	break
++      fi
++      ;;
++    none) break ;;
++    esac
++    # We check with `-c' and `-o' for the sake of the "dashmstdout"
++    # mode.  It turns out that the SunPro C++ compiler does not properly
++    # handle `-M -o', and we need to detect this.
++    if depmode=$depmode \
++       source=conftest.c object=conftest.o \
++       depfile=conftest.Po tmpdepfile=conftest.TPo \
++       $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
++       grep conftest.h conftest.Po > /dev/null 2>&1 &&
++       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
++      am_cv_CC_dependencies_compiler_type=$depmode
++      break
++    fi
++  done
++
++  cd ..
++  rm -rf conftest.dir
++else
++  am_cv_CC_dependencies_compiler_type=none
++fi
++
++fi
++echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
++echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
++CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
++
++
++
++
++
++
++test "$sysconfdir" = '${prefix}/etc' && sysconfdir='/etc'
++test "$localstatedir" = '${prefix}/var' && localstatedir='/var/heimdal'
++
++# Make sure we can run config.sub.
++$ac_config_sub sun4 >/dev/null 2>&1 ||
++  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
++echo "$as_me: error: cannot run $ac_config_sub" >&2;}
++   { (exit 1); exit 1; }; }
++
++echo "$as_me:$LINENO: checking build system type" >&5
++echo $ECHO_N "checking build system type... $ECHO_C" >&6
++if test "${ac_cv_build+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_cv_build_alias=$build_alias
++test -z "$ac_cv_build_alias" &&
++  ac_cv_build_alias=`$ac_config_guess`
++test -z "$ac_cv_build_alias" &&
++  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
++echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
++   { (exit 1); exit 1; }; }
++ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
++  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
++echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
++   { (exit 1); exit 1; }; }
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_build" >&5
++echo "${ECHO_T}$ac_cv_build" >&6
++build=$ac_cv_build
++build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
++build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
++build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
++
++
++echo "$as_me:$LINENO: checking host system type" >&5
++echo $ECHO_N "checking host system type... $ECHO_C" >&6
++if test "${ac_cv_host+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_cv_host_alias=$host_alias
++test -z "$ac_cv_host_alias" &&
++  ac_cv_host_alias=$ac_cv_build_alias
++ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
++  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
++echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
++   { (exit 1); exit 1; }; }
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_host" >&5
++echo "${ECHO_T}$ac_cv_host" >&6
++host=$ac_cv_host
++host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
++host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
++host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
++
++
++CANONICAL_HOST=$host
++
++
++# Check whether --enable-largefile or --disable-largefile was given.
++if test "${enable_largefile+set}" = set; then
++  enableval="$enable_largefile"
++  
++fi; 
++if test "$enable_largefile" != no; then
++
++  echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
++echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
++if test "${ac_cv_sys_largefile_CC+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_cv_sys_largefile_CC=no
++     if test "$GCC" != yes; then
++       ac_save_CC=$CC
++       while :; do
++     	 # IRIX 6.2 and later do not support large files by default,
++     	 # so use the C compiler's -n32 option if that helps.
++         cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++@%:@include <sys/types.h>
++ /* Check that off_t can represent 2**63 - 1 correctly.
++    We can't simply define LARGE_OFF_T to be 9223372036854775807,
++    since some C++ compilers masquerading as C compilers
++    incorrectly reject 9223372036854775807.  */
++@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
++  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
++		       && LARGE_OFF_T % 2147483647 == 1)
++		      ? 1 : -1];
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++     	 rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext 
++     	 CC="$CC -n32"
++     	 rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_sys_largefile_CC=' -n32'; break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext 
++         break
++       done
++       CC=$ac_save_CC
++       rm -f conftest.$ac_ext
++    fi
++fi
++echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
++echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
++  if test "$ac_cv_sys_largefile_CC" != no; then
++    CC=$CC$ac_cv_sys_largefile_CC
++  fi
++
++  echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
++echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
++if test "${ac_cv_sys_file_offset_bits+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  while :; do
++  ac_cv_sys_file_offset_bits=no
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++@%:@include <sys/types.h>
++ /* Check that off_t can represent 2**63 - 1 correctly.
++    We can't simply define LARGE_OFF_T to be 9223372036854775807,
++    since some C++ compilers masquerading as C compilers
++    incorrectly reject 9223372036854775807.  */
++@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
++  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
++		       && LARGE_OFF_T % 2147483647 == 1)
++		      ? 1 : -1];
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++@%:@define _FILE_OFFSET_BITS 64
++@%:@include <sys/types.h>
++ /* Check that off_t can represent 2**63 - 1 correctly.
++    We can't simply define LARGE_OFF_T to be 9223372036854775807,
++    since some C++ compilers masquerading as C compilers
++    incorrectly reject 9223372036854775807.  */
++@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
++  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
++		       && LARGE_OFF_T % 2147483647 == 1)
++		      ? 1 : -1];
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_sys_file_offset_bits=64; break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++  break
++done
++fi
++echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
++echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
++if test "$ac_cv_sys_file_offset_bits" != no; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
++_ACEOF
++
++fi
++rm -f conftest*
++  echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
++echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
++if test "${ac_cv_sys_large_files+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  while :; do
++  ac_cv_sys_large_files=no
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++@%:@include <sys/types.h>
++ /* Check that off_t can represent 2**63 - 1 correctly.
++    We can't simply define LARGE_OFF_T to be 9223372036854775807,
++    since some C++ compilers masquerading as C compilers
++    incorrectly reject 9223372036854775807.  */
++@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
++  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
++		       && LARGE_OFF_T % 2147483647 == 1)
++		      ? 1 : -1];
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++@%:@define _LARGE_FILES 1
++@%:@include <sys/types.h>
++ /* Check that off_t can represent 2**63 - 1 correctly.
++    We can't simply define LARGE_OFF_T to be 9223372036854775807,
++    since some C++ compilers masquerading as C compilers
++    incorrectly reject 9223372036854775807.  */
++@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
++  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
++		       && LARGE_OFF_T % 2147483647 == 1)
++		      ? 1 : -1];
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_sys_large_files=1; break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++  break
++done
++fi
++echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
++echo "${ECHO_T}$ac_cv_sys_large_files" >&6
++if test "$ac_cv_sys_large_files" != no; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define _LARGE_FILES $ac_cv_sys_large_files
++_ACEOF
++
++fi
++rm -f conftest*
++fi
++
++
++
++cat >>confdefs.h <<\_ACEOF
++@%:@define _GNU_SOURCE 1
++_ACEOF
++
++
++
++
++
++for ac_prog in 'bison -y' byacc
++do
++  # Extract the first word of "$ac_prog", so it can be a program name with args.
++set dummy $ac_prog; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_YACC+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$YACC"; then
++  ac_cv_prog_YACC="$YACC" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_YACC="$ac_prog"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++YACC=$ac_cv_prog_YACC
++if test -n "$YACC"; then
++  echo "$as_me:$LINENO: result: $YACC" >&5
++echo "${ECHO_T}$YACC" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  test -n "$YACC" && break
++done
++test -n "$YACC" || YACC="yacc"
++
++for ac_prog in flex lex
++do
++  # Extract the first word of "$ac_prog", so it can be a program name with args.
++set dummy $ac_prog; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_LEX+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$LEX"; then
++  ac_cv_prog_LEX="$LEX" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_LEX="$ac_prog"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++LEX=$ac_cv_prog_LEX
++if test -n "$LEX"; then
++  echo "$as_me:$LINENO: result: $LEX" >&5
++echo "${ECHO_T}$LEX" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  test -n "$LEX" && break
++done
++test -n "$LEX" || LEX=":"
++
++if test -z "$LEXLIB"
++then
++  echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
++echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
++if test "${ac_cv_lib_fl_yywrap+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-lfl  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char yywrap ();
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++yywrap ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_fl_yywrap=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_lib_fl_yywrap=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
++echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
++if test $ac_cv_lib_fl_yywrap = yes; then
++  LEXLIB="-lfl"
++else
++  echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
++echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
++if test "${ac_cv_lib_l_yywrap+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ll  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char yywrap ();
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++yywrap ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_l_yywrap=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_lib_l_yywrap=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
++echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
++if test $ac_cv_lib_l_yywrap = yes; then
++  LEXLIB="-ll"
++fi
++
++fi
++
++fi
++
++if test "x$LEX" != "x:"; then
++  echo "$as_me:$LINENO: checking lex output file root" >&5
++echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
++if test "${ac_cv_prog_lex_root+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  # The minimal lex program is just a single line: %%.  But some broken lexes
++# (Solaris, I think it was) want two %% lines, so accommodate them.
++cat >conftest.l <<_ACEOF
++%%
++%%
++_ACEOF
++{ (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
++  (eval $LEX conftest.l) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }
++if test -f lex.yy.c; then
++  ac_cv_prog_lex_root=lex.yy
++elif test -f lexyy.c; then
++  ac_cv_prog_lex_root=lexyy
++else
++  { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
++echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
++   { (exit 1); exit 1; }; }
++fi
++fi
++echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
++echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
++rm -f conftest.l
++LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
++
++echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
++echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
++if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  # POSIX says lex can declare yytext either as a pointer or an array; the
++# default is implementation-dependent. Figure out which it is, since
++# not all implementations provide the %pointer and %array declarations.
++ac_cv_prog_lex_yytext_pointer=no
++echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
++ac_save_LIBS=$LIBS
++LIBS="$LIBS $LEXLIB"
++cat >conftest.$ac_ext <<_ACEOF
++`cat $LEX_OUTPUT_ROOT.c`
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_prog_lex_yytext_pointer=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_save_LIBS
++rm -f "${LEX_OUTPUT_ROOT}.c"
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
++echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
++if test $ac_cv_prog_lex_yytext_pointer = yes; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define YYTEXT_POINTER 1
++_ACEOF
++
++fi
++
++fi
++if test "$LEX" = :; then
++  LEX=${am_missing_run}flex
++fi
++for ac_prog in gawk mawk nawk awk
++do
++  # Extract the first word of "$ac_prog", so it can be a program name with args.
++set dummy $ac_prog; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_AWK+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$AWK"; then
++  ac_cv_prog_AWK="$AWK" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_AWK="$ac_prog"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++AWK=$ac_cv_prog_AWK
++if test -n "$AWK"; then
++  echo "$as_me:$LINENO: result: $AWK" >&5
++echo "${ECHO_T}$AWK" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  test -n "$AWK" && break
++done
++
++echo "$as_me:$LINENO: checking for ln -s or something else" >&5
++echo $ECHO_N "checking for ln -s or something else... $ECHO_C" >&6
++if test "${ac_cv_prog_LN_S+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  rm -f conftestdata
++if ln -s X conftestdata 2>/dev/null
++then
++  rm -f conftestdata
++  ac_cv_prog_LN_S="ln -s"
++else
++  touch conftestdata1
++  if ln conftestdata1 conftestdata2; then
++    rm -f conftestdata*
++    ac_cv_prog_LN_S=ln
++  else
++    ac_cv_prog_LN_S=cp
++  fi
++fi
++fi
++LN_S="$ac_cv_prog_LN_S"
++echo "$as_me:$LINENO: result: $ac_cv_prog_LN_S" >&5
++echo "${ECHO_T}$ac_cv_prog_LN_S" >&6
++
++
++
++
++# Check whether --with-mips_abi or --without-mips_abi was given.
++if test "${with_mips_abi+set}" = set; then
++  withval="$with_mips_abi"
++  
++fi; 
++
++case "$host_os" in
++irix*)
++with_mips_abi="${with_mips_abi:-yes}"
++if test -n "$GCC"; then
++
++# GCC < 2.8 only supports the O32 ABI. GCC >= 2.8 has a flag to select
++# which ABI to use, but only supports (as of 2.8.1) the N32 and 64 ABIs.
++#
++# Default to N32, but if GCC doesn't grok -mabi=n32, we assume an old
++# GCC and revert back to O32. The same goes if O32 is asked for - old
++# GCCs doesn't like the -mabi option, and new GCCs can't output O32.
++#
++# Don't you just love *all* the different SGI ABIs?
++
++case "${with_mips_abi}" in 
++        32|o32) abi='-mabi=32';  abilibdirext=''     ;;
++       n32|yes) abi='-mabi=n32'; abilibdirext='32'  ;;
++        64) abi='-mabi=64';  abilibdirext='64'   ;;
++	no) abi=''; abilibdirext='';;
++         *) { { echo "$as_me:$LINENO: error: \"Invalid ABI specified\"" >&5
++echo "$as_me: error: \"Invalid ABI specified\"" >&2;}
++   { (exit 1); exit 1; }; } ;;
++esac
++if test -n "$abi" ; then
++ac_foo=krb_cv_gcc_`echo $abi | tr =- __`
++echo "$as_me:$LINENO: checking if $CC supports the $abi option" >&5
++echo $ECHO_N "checking if $CC supports the $abi option... $ECHO_C" >&6
++if eval "test \"\${$ac_foo+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++save_CFLAGS="$CFLAGS"
++CFLAGS="$CFLAGS $abi"
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++int x;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval $ac_foo=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval $ac_foo=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++CFLAGS="$save_CFLAGS"
++
++fi
++
++ac_res=`eval echo \\\$$ac_foo`
++echo "$as_me:$LINENO: result: $ac_res" >&5
++echo "${ECHO_T}$ac_res" >&6
++if test $ac_res = no; then
++# Try to figure out why that failed...
++case $abi in
++	-mabi=32) 
++	save_CFLAGS="$CFLAGS"
++	CFLAGS="$CFLAGS -mabi=n32"
++	cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++int x;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_res=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_res=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++	CLAGS="$save_CFLAGS"
++	if test $ac_res = yes; then
++		# New GCC
++		{ { echo "$as_me:$LINENO: error: $CC does not support the $with_mips_abi ABI" >&5
++echo "$as_me: error: $CC does not support the $with_mips_abi ABI" >&2;}
++   { (exit 1); exit 1; }; }
++	fi
++	# Old GCC
++	abi=''
++	abilibdirext=''
++	;;
++	-mabi=n32|-mabi=64)
++		if test $with_mips_abi = yes; then
++			# Old GCC, default to O32
++			abi=''
++			abilibdirext=''
++		else
++			# Some broken GCC
++			{ { echo "$as_me:$LINENO: error: $CC does not support the $with_mips_abi ABI" >&5
++echo "$as_me: error: $CC does not support the $with_mips_abi ABI" >&2;}
++   { (exit 1); exit 1; }; }
++		fi
++	;;
++esac
++fi #if test $ac_res = no; then
++fi #if test -n "$abi" ; then
++else
++case "${with_mips_abi}" in
++        32|o32) abi='-32'; abilibdirext=''     ;;
++       n32|yes) abi='-n32'; abilibdirext='32'  ;;
++        64) abi='-64'; abilibdirext='64'   ;;
++	no) abi=''; abilibdirext='';;
++         *) { { echo "$as_me:$LINENO: error: \"Invalid ABI specified\"" >&5
++echo "$as_me: error: \"Invalid ABI specified\"" >&2;}
++   { (exit 1); exit 1; }; } ;;
++esac
++fi #if test -n "$GCC"; then
++;;
++esac
++
++CC="$CC $abi"
++libdir="$libdir$abilibdirext"
++
++
++echo "$as_me:$LINENO: checking for __attribute__" >&5
++echo $ECHO_N "checking for __attribute__... $ECHO_C" >&6
++if test "${ac_cv___attribute__+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#include <stdlib.h>
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++static void foo(void) __attribute__ ((noreturn));
++
++static void
++foo(void)
++{
++  exit(1);
++}
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv___attribute__=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv___attribute__=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++
++if test "$ac_cv___attribute__" = "yes"; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE___ATTRIBUTE__ 1
++_ACEOF
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv___attribute__" >&5
++echo "${ECHO_T}$ac_cv___attribute__" >&6
++
++
++# Check whether --enable-shared or --disable-shared was given.
++if test "${enable_shared+set}" = set; then
++  enableval="$enable_shared"
++  p=${PACKAGE-default}
++case $enableval in
++yes) enable_shared=yes ;;
++no) enable_shared=no ;;
++*)
++  enable_shared=no
++  # Look at the argument we got.  We use all the common list separators.
++  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
++  for pkg in $enableval; do
++    if test "X$pkg" = "X$p"; then
++      enable_shared=yes
++    fi
++  done
++  IFS="$ac_save_ifs"
++  ;;
++esac
++else
++  enable_shared=no
++fi; 
++# Check whether --enable-static or --disable-static was given.
++if test "${enable_static+set}" = set; then
++  enableval="$enable_static"
++  p=${PACKAGE-default}
++case $enableval in
++yes) enable_static=yes ;;
++no) enable_static=no ;;
++*)
++  enable_static=no
++  # Look at the argument we got.  We use all the common list separators.
++  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
++  for pkg in $enableval; do
++    if test "X$pkg" = "X$p"; then
++      enable_static=yes
++    fi
++  done
++  IFS="$ac_save_ifs"
++  ;;
++esac
++else
++  enable_static=yes
++fi; 
++# Check whether --enable-fast-install or --disable-fast-install was given.
++if test "${enable_fast_install+set}" = set; then
++  enableval="$enable_fast_install"
++  p=${PACKAGE-default}
++case $enableval in
++yes) enable_fast_install=yes ;;
++no) enable_fast_install=no ;;
++*)
++  enable_fast_install=no
++  # Look at the argument we got.  We use all the common list separators.
++  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
++  for pkg in $enableval; do
++    if test "X$pkg" = "X$p"; then
++      enable_fast_install=yes
++    fi
++  done
++  IFS="$ac_save_ifs"
++  ;;
++esac
++else
++  enable_fast_install=yes
++fi; 
++# Find the correct PATH separator.  Usually this is `:', but
++# DJGPP uses `;' like DOS.
++if test "X${PATH_SEPARATOR+set}" != Xset; then
++  UNAME=${UNAME-`uname 2>/dev/null`}
++  case X$UNAME in
++    *-DOS) lt_cv_sys_path_separator=';' ;;
++    *)     lt_cv_sys_path_separator=':' ;;
++  esac
++  PATH_SEPARATOR=$lt_cv_sys_path_separator
++fi
++
++
++# Check whether --with-gnu-ld or --without-gnu-ld was given.
++if test "${with_gnu_ld+set}" = set; then
++  withval="$with_gnu_ld"
++  test "$withval" = no || with_gnu_ld=yes
++else
++  with_gnu_ld=no
++fi; 
++ac_prog=ld
++if test "$GCC" = yes; then
++  # Check if gcc -print-prog-name=ld gives a path.
++  echo "$as_me:$LINENO: checking for ld used by GCC" >&5
++echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
++  case $host in
++  *-*-mingw*)
++    # gcc leaves a trailing carriage return which upsets mingw
++    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
++  *)
++    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
++  esac
++  case $ac_prog in
++    # Accept absolute paths.
++    [\\/]* | [A-Za-z]:[\\/]*)
++      re_direlt='/[^/][^/]*/\.\./'
++      # Canonicalize the path of ld
++      ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
++      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
++	ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
++      done
++      test -z "$LD" && LD="$ac_prog"
++      ;;
++  "")
++    # If it fails, then pretend we aren't using GCC.
++    ac_prog=ld
++    ;;
++  *)
++    # If it is relative, then search for the first ld in PATH.
++    with_gnu_ld=unknown
++    ;;
++  esac
++elif test "$with_gnu_ld" = yes; then
++  echo "$as_me:$LINENO: checking for GNU ld" >&5
++echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
++else
++  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
++echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
++fi
++if test "${lt_cv_path_LD+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -z "$LD"; then
++  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
++  for ac_dir in $PATH; do
++    test -z "$ac_dir" && ac_dir=.
++    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
++      lt_cv_path_LD="$ac_dir/$ac_prog"
++      # Check to see if the program is GNU ld.  I'd rather use --version,
++      # but apparently some GNU ld's only accept -v.
++      # Break only if it was the GNU/non-GNU ld that we prefer.
++      if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
++	test "$with_gnu_ld" != no && break
++      else
++	test "$with_gnu_ld" != yes && break
++      fi
++    fi
++  done
++  IFS="$ac_save_ifs"
++else
++  lt_cv_path_LD="$LD" # Let the user override the test with a path.
++fi
++fi
++
++LD="$lt_cv_path_LD"
++if test -n "$LD"; then
++  echo "$as_me:$LINENO: result: $LD" >&5
++echo "${ECHO_T}$LD" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
++echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
++   { (exit 1); exit 1; }; }
++echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
++echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
++if test "${lt_cv_prog_gnu_ld+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
++if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
++  lt_cv_prog_gnu_ld=yes
++else
++  lt_cv_prog_gnu_ld=no
++fi
++fi
++echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
++echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
++with_gnu_ld=$lt_cv_prog_gnu_ld
++
++
++echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
++echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
++if test "${lt_cv_ld_reload_flag+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  lt_cv_ld_reload_flag='-r'
++fi
++echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
++echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
++reload_flag=$lt_cv_ld_reload_flag
++test -n "$reload_flag" && reload_flag=" $reload_flag"
++
++echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
++echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
++if test "${lt_cv_path_NM+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$NM"; then
++  # Let the user override the test.
++  lt_cv_path_NM="$NM"
++else
++  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
++  for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
++    test -z "$ac_dir" && ac_dir=.
++    tmp_nm=$ac_dir/${ac_tool_prefix}nm
++    if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
++      # Check to see if the nm accepts a BSD-compat flag.
++      # Adding the `sed 1q' prevents false positives on HP-UX, which says:
++      #   nm: unknown option "B" ignored
++      # Tru64's nm complains that /dev/null is an invalid object file
++      if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
++	lt_cv_path_NM="$tmp_nm -B"
++	break
++      elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
++	lt_cv_path_NM="$tmp_nm -p"
++	break
++      else
++	lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
++	continue # so that we can try to find one that supports BSD flags
++      fi
++    fi
++  done
++  IFS="$ac_save_ifs"
++  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
++fi
++fi
++
++NM="$lt_cv_path_NM"
++echo "$as_me:$LINENO: result: $NM" >&5
++echo "${ECHO_T}$NM" >&6
++
++echo "$as_me:$LINENO: checking whether ln -s works" >&5
++echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
++LN_S=$as_ln_s
++if test "$LN_S" = "ln -s"; then
++  echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++else
++  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
++echo "${ECHO_T}no, using $LN_S" >&6
++fi
++
++echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
++echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
++if test "${lt_cv_deplibs_check_method+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  lt_cv_file_magic_cmd='$MAGIC_CMD'
++lt_cv_file_magic_test_file=
++lt_cv_deplibs_check_method='unknown'
++# Need to set the preceding variable on all platforms that support
++# interlibrary dependencies.
++# 'none' -- dependencies not supported.
++# `unknown' -- same as none, but documents that we really don't know.
++# 'pass_all' -- all dependencies passed with no checks.
++# 'test_compile' -- check by making test program.
++# 'file_magic [[regex]]' -- check by looking for files in library path
++# which responds to the $file_magic_cmd with a given egrep regex.
++# If you have `file' or equivalent on your system and you're not sure
++# whether `pass_all' will *always* work, you probably want this one.
++
++case $host_os in
++aix4* | aix5*)
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++
++beos*)
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++
++bsdi4*)
++  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
++  lt_cv_file_magic_cmd='/usr/bin/file -L'
++  lt_cv_file_magic_test_file=/shlib/libc.so
++  ;;
++
++cygwin* | mingw* | pw32*)
++  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
++  lt_cv_file_magic_cmd='$OBJDUMP -f'
++  ;;
++
++darwin* | rhapsody*)
++  lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
++  lt_cv_file_magic_cmd='/usr/bin/file -L'
++  case "$host_os" in
++  rhapsody* | darwin1.[012])
++    lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1`
++    ;;
++  *) # Darwin 1.3 on
++    lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
++    ;;
++  esac
++  ;;
++
++freebsd*)
++  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
++    case $host_cpu in
++    i*86 )
++      # Not sure whether the presence of OpenBSD here was a mistake.
++      # Let's accept both of them until this is cleared up.
++      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
++      lt_cv_file_magic_cmd=/usr/bin/file
++      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
++      ;;
++    esac
++  else
++    lt_cv_deplibs_check_method=pass_all
++  fi
++  ;;
++
++gnu*)
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++
++hpux10.20*|hpux11*)
++  lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
++  lt_cv_file_magic_cmd=/usr/bin/file
++  lt_cv_file_magic_test_file=/usr/lib/libc.sl
++  ;;
++
++irix5* | irix6* | nonstopux*)
++  case $host_os in
++  irix5* | nonstopux*)
++    # this will be overridden with pass_all, but let us keep it just in case
++    lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
++    ;;
++  *)
++    case $LD in
++    *-32|*"-32 ") libmagic=32-bit;;
++    *-n32|*"-n32 ") libmagic=N32;;
++    *-64|*"-64 ") libmagic=64-bit;;
++    *) libmagic=never-match;;
++    esac
++    # this will be overridden with pass_all, but let us keep it just in case
++    lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
++    ;;
++  esac
++  lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++
++# This must be Linux ELF.
++linux-gnu*)
++  lt_cv_deplibs_check_method=pass_all
++  lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
++  ;;
++
++netbsd*)
++  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
++    lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
++  else
++    lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
++  fi
++  ;;
++
++newos6*)
++  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
++  lt_cv_file_magic_cmd=/usr/bin/file
++  lt_cv_file_magic_test_file=/usr/lib/libnls.so
++  ;;
++
++openbsd*)
++  lt_cv_file_magic_cmd=/usr/bin/file
++  lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
++  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
++    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
++  else
++    lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
++  fi
++  ;;
++
++osf3* | osf4* | osf5*)
++  # this will be overridden with pass_all, but let us keep it just in case
++  lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
++  lt_cv_file_magic_test_file=/shlib/libc.so
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++
++sco3.2v5*)
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++
++solaris*)
++  lt_cv_deplibs_check_method=pass_all
++  lt_cv_file_magic_test_file=/lib/libc.so
++  ;;
++
++sysv5uw[78]* | sysv4*uw2*)
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++
++sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
++  case $host_vendor in
++  motorola)
++    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
++    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
++    ;;
++  ncr)
++    lt_cv_deplibs_check_method=pass_all
++    ;;
++  sequent)
++    lt_cv_file_magic_cmd='/bin/file'
++    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
++    ;;
++  sni)
++    lt_cv_file_magic_cmd='/bin/file'
++    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
++    lt_cv_file_magic_test_file=/lib/libc.so
++    ;;
++  esac
++  ;;
++esac
++
++fi
++echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
++echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
++file_magic_cmd=$lt_cv_file_magic_cmd
++deplibs_check_method=$lt_cv_deplibs_check_method
++
++
++
++
++
++# Check for command to grab the raw symbol name followed by C symbol from nm.
++echo "$as_me:$LINENO: checking command to parse $NM output" >&5
++echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6
++if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++# These are sane defaults that work on at least a few old systems.
++# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
++
++# Character class describing NM global symbol codes.
++symcode='[BCDEGRST]'
++
++# Regexp to match symbols that can be accessed directly from C.
++sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
++
++# Transform the above into a raw symbol and a C symbol.
++symxfrm='\1 \2\3 \3'
++
++# Transform an extracted symbol line into a proper C declaration
++lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'"
++
++# Transform an extracted symbol line into symbol name and symbol address
++lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
++
++# Define system-specific variables.
++case $host_os in
++aix*)
++  symcode='[BCDT]'
++  ;;
++cygwin* | mingw* | pw32*)
++  symcode='[ABCDGISTW]'
++  ;;
++hpux*) # Its linker distinguishes data from code symbols
++  lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
++  lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
++  ;;
++irix* | nonstopux*)
++  symcode='[BCDEGRST]'
++  ;;
++solaris* | sysv5*)
++  symcode='[BDT]'
++  ;;
++sysv4)
++  symcode='[DFNSTU]'
++  ;;
++esac
++
++# Handle CRLF in mingw tool chain
++opt_cr=
++case $host_os in
++mingw*)
++  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
++  ;;
++esac
++
++# If we're using GNU nm, then use its standard symbol codes.
++if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then
++  symcode='[ABCDGISTW]'
++fi
++
++# Try without a prefix undercore, then with it.
++for ac_symprfx in "" "_"; do
++
++  # Write the raw and C identifiers.
++lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
++
++  # Check to see that the pipe works correctly.
++  pipe_works=no
++  rm -f conftest*
++  cat > conftest.$ac_ext <<EOF
++#ifdef __cplusplus
++extern "C" {
++#endif
++char nm_test_var;
++void nm_test_func(){}
++#ifdef __cplusplus
++}
++#endif
++int main(){nm_test_var='a';nm_test_func();return(0);}
++EOF
++
++  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; then
++    # Now try to grab the symbols.
++    nlist=conftest.nm
++    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
++  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && test -s "$nlist"; then
++      # Try sorting and uniquifying the output.
++      if sort "$nlist" | uniq > "$nlist"T; then
++	mv -f "$nlist"T "$nlist"
++      else
++	rm -f "$nlist"T
++      fi
++
++      # Make sure that we snagged all the symbols we need.
++      if egrep ' nm_test_var$' "$nlist" >/dev/null; then
++	if egrep ' nm_test_func$' "$nlist" >/dev/null; then
++	  cat <<EOF > conftest.$ac_ext
++#ifdef __cplusplus
++extern "C" {
++#endif
++
++EOF
++	  # Now generate the symbol file.
++	  eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext'
++
++	  cat <<EOF >> conftest.$ac_ext
++#if defined (__STDC__) && __STDC__
++# define lt_ptr void *
++#else
++# define lt_ptr char *
++# define const
++#endif
++
++/* The mapping between symbol names and symbols. */
++const struct {
++  const char *name;
++  lt_ptr address;
++}
++lt_preloaded_symbols[] =
++{
++EOF
++	  sed "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.$ac_ext
++	  cat <<\EOF >> conftest.$ac_ext
++  {0, (lt_ptr) 0}
++};
++
++#ifdef __cplusplus
++}
++#endif
++EOF
++	  # Now try linking the two files.
++	  mv conftest.$ac_objext conftstm.$ac_objext
++	  save_LIBS="$LIBS"
++	  save_CFLAGS="$CFLAGS"
++	  LIBS="conftstm.$ac_objext"
++	  CFLAGS="$CFLAGS$no_builtin_flag"
++	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && test -s conftest; then
++	    pipe_works=yes
++	  fi
++	  LIBS="$save_LIBS"
++	  CFLAGS="$save_CFLAGS"
++	else
++	  echo "cannot find nm_test_func in $nlist" >&5
++	fi
++      else
++	echo "cannot find nm_test_var in $nlist" >&5
++      fi
++    else
++      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
++    fi
++  else
++    echo "$progname: failed program was:" >&5
++    cat conftest.$ac_ext >&5
++  fi
++  rm -f conftest* conftst*
++
++  # Do not use the global_symbol_pipe unless it works.
++  if test "$pipe_works" = yes; then
++    break
++  else
++    lt_cv_sys_global_symbol_pipe=
++  fi
++done
++
++fi
++
++global_symbol_pipe="$lt_cv_sys_global_symbol_pipe"
++if test -z "$lt_cv_sys_global_symbol_pipe"; then
++  global_symbol_to_cdecl=
++  global_symbol_to_c_name_address=
++else
++  global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl"
++  global_symbol_to_c_name_address="$lt_cv_global_symbol_to_c_name_address"
++fi
++if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address";
++then
++  echo "$as_me:$LINENO: result: failed" >&5
++echo "${ECHO_T}failed" >&6
++else
++  echo "$as_me:$LINENO: result: ok" >&5
++echo "${ECHO_T}ok" >&6
++fi
++
++
++echo "$as_me:$LINENO: checking for ANSI C header files" >&5
++echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
++if test "${ac_cv_header_stdc+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <stdlib.h>
++#include <stdarg.h>
++#include <string.h>
++#include <float.h>
++
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  egrep -v '^ *\+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  ac_cv_header_stdc=yes
++else
++  echo "$as_me: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_header_stdc=no
++fi
++rm -f conftest.err conftest.$ac_ext
++
++if test $ac_cv_header_stdc = yes; then
++  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <string.h>
++
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  egrep "memchr" >/dev/null 2>&1; then
++  :
++else
++  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 <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <stdlib.h>
++
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  egrep "free" >/dev/null 2>&1; then
++  :
++else
++  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 <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <ctype.h>
++#if ((' ' & 0x0FF) == 0x020)
++# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
++# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
++#else
++# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
++                     || ('j' <= (c) && (c) <= 'r') \
++                     || ('s' <= (c) && (c) <= 'z'))
++# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
++#endif
++
++#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);
++}
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  :
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++( exit $ac_status )
++ac_cv_header_stdc=no
++fi
++rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++fi
++fi
++echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
++echo "${ECHO_T}$ac_cv_header_stdc" >&6
++if test $ac_cv_header_stdc = yes; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define STDC_HEADERS 1
++_ACEOF
++
++fi
++
++# On IRIX 5.3, sys/types and inttypes.h are conflicting.
++
++
++
++
++
++
++
++
++
++for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
++                  inttypes.h stdint.h unistd.h
++do
++as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++$ac_includes_default
++
++@%:@include <$ac_header>
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_Header=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_Header=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++if test `eval echo '${'$as_ac_Header'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++
++done
++
++
++
++for ac_header in dlfcn.h
++do
++as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++else
++  # Is the header compilable?
++echo "$as_me:$LINENO: checking $ac_header usability" >&5
++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++$ac_includes_default
++@%:@include <$ac_header>
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_header_compiler=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_header_compiler=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
++echo "${ECHO_T}$ac_header_compiler" >&6
++
++# Is the header present?
++echo "$as_me:$LINENO: checking $ac_header presence" >&5
++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++@%:@include <$ac_header>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  egrep -v '^ *\+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  ac_header_preproc=yes
++else
++  echo "$as_me: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_header_preproc=no
++fi
++rm -f conftest.err conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
++echo "${ECHO_T}$ac_header_preproc" >&6
++
++# So?  What about this header?
++case $ac_header_compiler:$ac_header_preproc in
++  yes:no )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
++echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++  no:yes )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
++echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
++echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++esac
++echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  eval "$as_ac_Header=$ac_header_preproc"
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++
++fi
++if test `eval echo '${'$as_ac_Header'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++
++done
++
++
++
++
++
++# Only perform the check for file, if the check method requires it
++case $deplibs_check_method in
++file_magic*)
++  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
++    echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
++echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
++if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  case $MAGIC_CMD in
++  /*)
++  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
++  ;;
++  ?:/*)
++  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
++  ;;
++  *)
++  ac_save_MAGIC_CMD="$MAGIC_CMD"
++  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
++  ac_dummy="/usr/bin:$PATH"
++  for ac_dir in $ac_dummy; do
++    test -z "$ac_dir" && ac_dir=.
++    if test -f $ac_dir/${ac_tool_prefix}file; then
++      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
++      if test -n "$file_magic_test_file"; then
++	case $deplibs_check_method in
++	"file_magic "*)
++	  file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
++	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
++	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
++	    egrep "$file_magic_regex" > /dev/null; then
++	    :
++	  else
++	    cat <<EOF 1>&2
++
++*** Warning: the command libtool uses to detect shared libraries,
++*** $file_magic_cmd, produces output that libtool cannot recognize.
++*** The result is that libtool may fail to recognize shared libraries
++*** as such.  This will affect the creation of libtool libraries that
++*** depend on shared libraries, but programs linked with such libtool
++*** libraries will work regardless of this problem.  Nevertheless, you
++*** may want to report the problem to your system manager and/or to
++*** bug-libtool@gnu.org
++
++EOF
++	  fi ;;
++	esac
++      fi
++      break
++    fi
++  done
++  IFS="$ac_save_ifs"
++  MAGIC_CMD="$ac_save_MAGIC_CMD"
++  ;;
++esac
++fi
++
++MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
++if test -n "$MAGIC_CMD"; then
++  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
++echo "${ECHO_T}$MAGIC_CMD" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++if test -z "$lt_cv_path_MAGIC_CMD"; then
++  if test -n "$ac_tool_prefix"; then
++    echo "$as_me:$LINENO: checking for file" >&5
++echo $ECHO_N "checking for file... $ECHO_C" >&6
++if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  case $MAGIC_CMD in
++  /*)
++  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
++  ;;
++  ?:/*)
++  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
++  ;;
++  *)
++  ac_save_MAGIC_CMD="$MAGIC_CMD"
++  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
++  ac_dummy="/usr/bin:$PATH"
++  for ac_dir in $ac_dummy; do
++    test -z "$ac_dir" && ac_dir=.
++    if test -f $ac_dir/file; then
++      lt_cv_path_MAGIC_CMD="$ac_dir/file"
++      if test -n "$file_magic_test_file"; then
++	case $deplibs_check_method in
++	"file_magic "*)
++	  file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
++	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
++	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
++	    egrep "$file_magic_regex" > /dev/null; then
++	    :
++	  else
++	    cat <<EOF 1>&2
++
++*** Warning: the command libtool uses to detect shared libraries,
++*** $file_magic_cmd, produces output that libtool cannot recognize.
++*** The result is that libtool may fail to recognize shared libraries
++*** as such.  This will affect the creation of libtool libraries that
++*** depend on shared libraries, but programs linked with such libtool
++*** libraries will work regardless of this problem.  Nevertheless, you
++*** may want to report the problem to your system manager and/or to
++*** bug-libtool@gnu.org
++
++EOF
++	  fi ;;
++	esac
++      fi
++      break
++    fi
++  done
++  IFS="$ac_save_ifs"
++  MAGIC_CMD="$ac_save_MAGIC_CMD"
++  ;;
++esac
++fi
++
++MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
++if test -n "$MAGIC_CMD"; then
++  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
++echo "${ECHO_T}$MAGIC_CMD" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  else
++    MAGIC_CMD=:
++  fi
++fi
++
++  fi
++  ;;
++esac
++
++if test -n "$ac_tool_prefix"; then
++  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
++set dummy ${ac_tool_prefix}ranlib; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_RANLIB+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$RANLIB"; then
++  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++RANLIB=$ac_cv_prog_RANLIB
++if test -n "$RANLIB"; then
++  echo "$as_me:$LINENO: result: $RANLIB" >&5
++echo "${ECHO_T}$RANLIB" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++fi
++if test -z "$ac_cv_prog_RANLIB"; then
++  ac_ct_RANLIB=$RANLIB
++  # Extract the first word of "ranlib", so it can be a program name with args.
++set dummy ranlib; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$ac_ct_RANLIB"; then
++  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_ac_ct_RANLIB="ranlib"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
++fi
++fi
++ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
++if test -n "$ac_ct_RANLIB"; then
++  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
++echo "${ECHO_T}$ac_ct_RANLIB" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  RANLIB=$ac_ct_RANLIB
++else
++  RANLIB="$ac_cv_prog_RANLIB"
++fi
++
++if test -n "$ac_tool_prefix"; then
++  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
++set dummy ${ac_tool_prefix}strip; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_STRIP+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$STRIP"; then
++  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++STRIP=$ac_cv_prog_STRIP
++if test -n "$STRIP"; then
++  echo "$as_me:$LINENO: result: $STRIP" >&5
++echo "${ECHO_T}$STRIP" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++fi
++if test -z "$ac_cv_prog_STRIP"; then
++  ac_ct_STRIP=$STRIP
++  # Extract the first word of "strip", so it can be a program name with args.
++set dummy strip; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$ac_ct_STRIP"; then
++  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_ac_ct_STRIP="strip"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
++fi
++fi
++ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
++if test -n "$ac_ct_STRIP"; then
++  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
++echo "${ECHO_T}$ac_ct_STRIP" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  STRIP=$ac_ct_STRIP
++else
++  STRIP="$ac_cv_prog_STRIP"
++fi
++
++
++enable_dlopen=no
++enable_win32_dll=no
++
++# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
++if test "${enable_libtool_lock+set}" = set; then
++  enableval="$enable_libtool_lock"
++  
++fi; 
++test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
++
++# Some flags need to be propagated to the compiler or linker for good
++# libtool support.
++case $host in
++*-*-irix6*)
++  # Find out which ABI we are using.
++  echo '#line __oline__ "configure"' > conftest.$ac_ext
++  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; then
++    case `/usr/bin/file conftest.$ac_objext` in
++    *32-bit*)
++      LD="${LD-ld} -32"
++      ;;
++    *N32*)
++      LD="${LD-ld} -n32"
++      ;;
++    *64-bit*)
++      LD="${LD-ld} -64"
++      ;;
++    esac
++  fi
++  rm -rf conftest*
++  ;;
++
++*-*-sco3.2v5*)
++  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
++  SAVE_CFLAGS="$CFLAGS"
++  CFLAGS="$CFLAGS -belf"
++  echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
++echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
++if test "${lt_cv_cc_needs_belf+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++
++     ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++     cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  lt_cv_cc_needs_belf=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++lt_cv_cc_needs_belf=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++     ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++fi
++echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
++echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
++  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
++    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
++    CFLAGS="$SAVE_CFLAGS"
++  fi
++  ;;
++
++
++esac
++
++# Sed substitution that helps us do robust quoting.  It backslashifies
++# metacharacters that are still active within double-quoted strings.
++Xsed='sed -e s/^X//'
++sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
++
++# Same as above, but do not quote variable references.
++double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
++
++# Sed substitution to delay expansion of an escaped shell variable in a
++# double_quote_subst'ed string.
++delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
++
++# Constants:
++rm="rm -f"
++
++# Global variables:
++default_ofile=libtool
++can_build_shared=yes
++
++# All known linkers require a `.a' archive for static linking (except M$VC,
++# which needs '.lib').
++libext=a
++ltmain="$ac_aux_dir/ltmain.sh"
++ofile="$default_ofile"
++with_gnu_ld="$lt_cv_prog_gnu_ld"
++need_locks="$enable_libtool_lock"
++
++old_CC="$CC"
++old_CFLAGS="$CFLAGS"
++
++# Set sane defaults for various variables
++test -z "$AR" && AR=ar
++test -z "$AR_FLAGS" && AR_FLAGS=cru
++test -z "$AS" && AS=as
++test -z "$CC" && CC=cc
++test -z "$DLLTOOL" && DLLTOOL=dlltool
++test -z "$LD" && LD=ld
++test -z "$LN_S" && LN_S="ln -s"
++test -z "$MAGIC_CMD" && MAGIC_CMD=file
++test -z "$NM" && NM=nm
++test -z "$OBJDUMP" && OBJDUMP=objdump
++test -z "$RANLIB" && RANLIB=:
++test -z "$STRIP" && STRIP=:
++test -z "$ac_objext" && ac_objext=o
++
++if test x"$host" != x"$build"; then
++  ac_tool_prefix=${host_alias}-
++else
++  ac_tool_prefix=
++fi
++
++# Transform linux* to *-*-linux-gnu*, to support old configure scripts.
++case $host_os in
++linux-gnu*) ;;
++linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
++esac
++
++case $host_os in
++aix3*)
++  # AIX sometimes has problems with the GCC collect2 program.  For some
++  # reason, if we set the COLLECT_NAMES environment variable, the problems
++  # vanish in a puff of smoke.
++  if test "X${COLLECT_NAMES+set}" != Xset; then
++    COLLECT_NAMES=
++    export COLLECT_NAMES
++  fi
++  ;;
++esac
++
++# Determine commands to create old-style static archives.
++old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
++old_postinstall_cmds='chmod 644 $oldlib'
++old_postuninstall_cmds=
++
++if test -n "$RANLIB"; then
++  case $host_os in
++  openbsd*)
++    old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
++    ;;
++  *)
++    old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
++    ;;
++  esac
++  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
++fi
++
++# Allow CC to be a program name with arguments.
++set dummy $CC
++compiler="$2"
++
++echo "$as_me:$LINENO: checking for objdir" >&5
++echo $ECHO_N "checking for objdir... $ECHO_C" >&6
++rm -f .libs 2>/dev/null
++mkdir .libs 2>/dev/null
++if test -d .libs; then
++  objdir=.libs
++else
++  # MS-DOS does not allow filenames that begin with a dot.
++  objdir=_libs
++fi
++rmdir .libs 2>/dev/null
++echo "$as_me:$LINENO: result: $objdir" >&5
++echo "${ECHO_T}$objdir" >&6
++
++
++
++# Check whether --with-pic or --without-pic was given.
++if test "${with_pic+set}" = set; then
++  withval="$with_pic"
++  pic_mode="$withval"
++else
++  pic_mode=default
++fi; 
++test -z "$pic_mode" && pic_mode=default
++
++# We assume here that the value for lt_cv_prog_cc_pic will not be cached
++# in isolation, and that seeing it set (from the cache) indicates that
++# the associated values are set (in the cache) correctly too.
++echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
++echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
++if test "${lt_cv_prog_cc_pic+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++   lt_cv_prog_cc_pic=
++  lt_cv_prog_cc_shlib=
++  lt_cv_prog_cc_wl=
++  lt_cv_prog_cc_static=
++  lt_cv_prog_cc_no_builtin=
++  lt_cv_prog_cc_can_build_shared=$can_build_shared
++
++  if test "$GCC" = yes; then
++    lt_cv_prog_cc_wl='-Wl,'
++    lt_cv_prog_cc_static='-static'
++
++    case $host_os in
++    aix*)
++      # Below there is a dirty hack to force normal static linking with -ldl
++      # The problem is because libdl dynamically linked with both libc and
++      # libC (AIX C++ library), which obviously doesn't included in libraries
++      # list by gcc. This cause undefined symbols with -static flags.
++      # This hack allows C programs to be linked with "-static -ldl", but
++      # not sure about C++ programs.
++      lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC"
++      ;;
++    amigaos*)
++      # FIXME: we need at least 68020 code to build shared libraries, but
++      # adding the `-m68020' flag to GCC prevents building anything better,
++      # like `-m68040'.
++      lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4'
++      ;;
++    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
++      # PIC is the default for these OSes.
++      ;;
++    darwin* | rhapsody*)
++      # PIC is the default on this platform
++      # Common symbols not allowed in MH_DYLIB files
++      lt_cv_prog_cc_pic='-fno-common'
++      ;;
++    cygwin* | mingw* | pw32* | os2*)
++      # This hack is so that the source file can tell whether it is being
++      # built for inclusion in a dll (and should export symbols for example).
++      lt_cv_prog_cc_pic='-DDLL_EXPORT'
++      ;;
++    sysv4*MP*)
++      if test -d /usr/nec; then
++	 lt_cv_prog_cc_pic=-Kconform_pic
++      fi
++      ;;
++    *)
++      lt_cv_prog_cc_pic='-fPIC'
++      ;;
++    esac
++  else
++    # PORTME Check for PIC flags for the system compiler.
++    case $host_os in
++    aix3* | aix4* | aix5*)
++      lt_cv_prog_cc_wl='-Wl,'
++      # All AIX code is PIC.
++      if test "$host_cpu" = ia64; then
++	# AIX 5 now supports IA64 processor
++	lt_cv_prog_cc_static='-Bstatic'
++      else
++	lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp'
++      fi
++      ;;
++
++    hpux9* | hpux10* | hpux11*)
++      # Is there a better lt_cv_prog_cc_static that works with the bundled CC?
++      lt_cv_prog_cc_wl='-Wl,'
++      lt_cv_prog_cc_static="${lt_cv_prog_cc_wl}-a ${lt_cv_prog_cc_wl}archive"
++      lt_cv_prog_cc_pic='+Z'
++      ;;
++
++    irix5* | irix6* | nonstopux*)
++      lt_cv_prog_cc_wl='-Wl,'
++      lt_cv_prog_cc_static='-non_shared'
++      # PIC (with -KPIC) is the default.
++      ;;
++
++    cygwin* | mingw* | pw32* | os2*)
++      # This hack is so that the source file can tell whether it is being
++      # built for inclusion in a dll (and should export symbols for example).
++      lt_cv_prog_cc_pic='-DDLL_EXPORT'
++      ;;
++
++    newsos6)
++      lt_cv_prog_cc_pic='-KPIC'
++      lt_cv_prog_cc_static='-Bstatic'
++      ;;
++
++    osf3* | osf4* | osf5*)
++      # All OSF/1 code is PIC.
++      lt_cv_prog_cc_wl='-Wl,'
++      lt_cv_prog_cc_static='-non_shared'
++      ;;
++
++    sco3.2v5*)
++      lt_cv_prog_cc_pic='-Kpic'
++      lt_cv_prog_cc_static='-dn'
++      lt_cv_prog_cc_shlib='-belf'
++      ;;
++
++    solaris*)
++      lt_cv_prog_cc_pic='-KPIC'
++      lt_cv_prog_cc_static='-Bstatic'
++      lt_cv_prog_cc_wl='-Wl,'
++      ;;
++
++    sunos4*)
++      lt_cv_prog_cc_pic='-PIC'
++      lt_cv_prog_cc_static='-Bstatic'
++      lt_cv_prog_cc_wl='-Qoption ld '
++      ;;
++
++    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
++      lt_cv_prog_cc_pic='-KPIC'
++      lt_cv_prog_cc_static='-Bstatic'
++      if test "x$host_vendor" = xsni; then
++	lt_cv_prog_cc_wl='-LD'
++      else
++	lt_cv_prog_cc_wl='-Wl,'
++      fi
++      ;;
++
++    uts4*)
++      lt_cv_prog_cc_pic='-pic'
++      lt_cv_prog_cc_static='-Bstatic'
++      ;;
++
++    sysv4*MP*)
++      if test -d /usr/nec ;then
++	lt_cv_prog_cc_pic='-Kconform_pic'
++	lt_cv_prog_cc_static='-Bstatic'
++      fi
++      ;;
++
++    *)
++      lt_cv_prog_cc_can_build_shared=no
++      ;;
++    esac
++  fi
++
++fi
++
++if test -z "$lt_cv_prog_cc_pic"; then
++  echo "$as_me:$LINENO: result: none" >&5
++echo "${ECHO_T}none" >&6
++else
++  echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic" >&5
++echo "${ECHO_T}$lt_cv_prog_cc_pic" >&6
++
++  # Check to make sure the pic_flag actually works.
++  echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5
++echo $ECHO_N "checking if $compiler PIC flag $lt_cv_prog_cc_pic works... $ECHO_C" >&6
++  if test "${lt_cv_prog_cc_pic_works+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++      save_CFLAGS="$CFLAGS"
++    CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"
++    cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++        case $host_os in
++      hpux9* | hpux10* | hpux11*)
++	# On HP-UX, both CC and GCC only warn that PIC is supported... then
++	# they create non-PIC objects.  So, if there were any warnings, we
++	# assume that PIC is not supported.
++	if test -s conftest.err; then
++	  lt_cv_prog_cc_pic_works=no
++	else
++	  lt_cv_prog_cc_pic_works=yes
++	fi
++	;;
++      *)
++	lt_cv_prog_cc_pic_works=yes
++	;;
++      esac
++    
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++      lt_cv_prog_cc_pic_works=no
++    
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++    CFLAGS="$save_CFLAGS"
++  
++fi
++
++
++  if test "X$lt_cv_prog_cc_pic_works" = Xno; then
++    lt_cv_prog_cc_pic=
++    lt_cv_prog_cc_can_build_shared=no
++  else
++    lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic"
++  fi
++
++  echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic_works" >&5
++echo "${ECHO_T}$lt_cv_prog_cc_pic_works" >&6
++fi
++
++# Check for any special shared library compilation flags.
++if test -n "$lt_cv_prog_cc_shlib"; then
++  { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&5
++echo "$as_me: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&2;}
++  if echo "$old_CC $old_CFLAGS " | egrep -e "[ 	]$lt_cv_prog_cc_shlib[ 	]" >/dev/null; then :
++  else
++   { echo "$as_me:$LINENO: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
++echo "$as_me: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
++    lt_cv_prog_cc_can_build_shared=no
++  fi
++fi
++
++echo "$as_me:$LINENO: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5
++echo $ECHO_N "checking if $compiler static flag $lt_cv_prog_cc_static works... $ECHO_C" >&6
++if test "${lt_cv_prog_cc_static_works+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++    lt_cv_prog_cc_static_works=no
++  save_LDFLAGS="$LDFLAGS"
++  LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  lt_cv_prog_cc_static_works=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++  LDFLAGS="$save_LDFLAGS"
++
++fi
++
++
++# Belt *and* braces to stop my trousers falling down:
++test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static=
++echo "$as_me:$LINENO: result: $lt_cv_prog_cc_static_works" >&5
++echo "${ECHO_T}$lt_cv_prog_cc_static_works" >&6
++
++pic_flag="$lt_cv_prog_cc_pic"
++special_shlib_compile_flags="$lt_cv_prog_cc_shlib"
++wl="$lt_cv_prog_cc_wl"
++link_static_flag="$lt_cv_prog_cc_static"
++no_builtin_flag="$lt_cv_prog_cc_no_builtin"
++can_build_shared="$lt_cv_prog_cc_can_build_shared"
++
++
++# Check to see if options -o and -c are simultaneously supported by compiler
++echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
++echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
++if test "${lt_cv_compiler_c_o+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++$rm -r conftest 2>/dev/null
++mkdir conftest
++cd conftest
++echo "int some_variable = 0;" > conftest.$ac_ext
++mkdir out
++# According to Tom Tromey, Ian Lance Taylor reported there are C compilers
++# that will create temporary files in the current directory regardless of
++# the output directory.  Thus, making CWD read-only will cause this test
++# to fail, enabling locking or at least warning the user not to do parallel
++# builds.
++chmod -w .
++save_CFLAGS="$CFLAGS"
++CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
++compiler_c_o=no
++if { (eval echo configure:__oline__: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
++  # The compiler can only warn and ignore the option if not recognized
++  # So say no if there are warnings
++  if test -s out/conftest.err; then
++    lt_cv_compiler_c_o=no
++  else
++    lt_cv_compiler_c_o=yes
++  fi
++else
++  # Append any errors to the config.log.
++  cat out/conftest.err 1>&5
++  lt_cv_compiler_c_o=no
++fi
++CFLAGS="$save_CFLAGS"
++chmod u+w .
++$rm conftest* out/*
++rmdir out
++cd ..
++rmdir conftest
++$rm -r conftest 2>/dev/null
++
++fi
++
++compiler_c_o=$lt_cv_compiler_c_o
++echo "$as_me:$LINENO: result: $compiler_c_o" >&5
++echo "${ECHO_T}$compiler_c_o" >&6
++
++if test x"$compiler_c_o" = x"yes"; then
++  # Check to see if we can write to a .lo
++  echo "$as_me:$LINENO: checking if $compiler supports -c -o file.lo" >&5
++echo $ECHO_N "checking if $compiler supports -c -o file.lo... $ECHO_C" >&6
++  if test "${lt_cv_compiler_o_lo+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++  lt_cv_compiler_o_lo=no
++  save_CFLAGS="$CFLAGS"
++  CFLAGS="$CFLAGS -c -o conftest.lo"
++  save_objext="$ac_objext"
++  ac_objext=lo
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++int some_variable = 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++      # The compiler can only warn and ignore the option if not recognized
++    # So say no if there are warnings
++    if test -s conftest.err; then
++      lt_cv_compiler_o_lo=no
++    else
++      lt_cv_compiler_o_lo=yes
++    fi
++  
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++  ac_objext="$save_objext"
++  CFLAGS="$save_CFLAGS"
++  
++fi
++
++  compiler_o_lo=$lt_cv_compiler_o_lo
++  echo "$as_me:$LINENO: result: $compiler_o_lo" >&5
++echo "${ECHO_T}$compiler_o_lo" >&6
++else
++  compiler_o_lo=no
++fi
++
++# Check to see if we can do hard links to lock some files if needed
++hard_links="nottested"
++if test "$compiler_c_o" = no && test "$need_locks" != no; then
++  # do not overwrite the value of need_locks provided by the user
++  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
++echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
++  hard_links=yes
++  $rm conftest*
++  ln conftest.a conftest.b 2>/dev/null && hard_links=no
++  touch conftest.a
++  ln conftest.a conftest.b 2>&5 || hard_links=no
++  ln conftest.a conftest.b 2>/dev/null && hard_links=no
++  echo "$as_me:$LINENO: result: $hard_links" >&5
++echo "${ECHO_T}$hard_links" >&6
++  if test "$hard_links" = no; then
++    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
++echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
++    need_locks=warn
++  fi
++else
++  need_locks=no
++fi
++
++if test "$GCC" = yes; then
++  # Check to see if options -fno-rtti -fno-exceptions are supported by compiler
++  echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
++echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
++  echo "int some_variable = 0;" > conftest.$ac_ext
++  save_CFLAGS="$CFLAGS"
++  CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"
++  compiler_rtti_exceptions=no
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++int some_variable = 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++      # The compiler can only warn and ignore the option if not recognized
++    # So say no if there are warnings
++    if test -s conftest.err; then
++      compiler_rtti_exceptions=no
++    else
++      compiler_rtti_exceptions=yes
++    fi
++  
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++  CFLAGS="$save_CFLAGS"
++  echo "$as_me:$LINENO: result: $compiler_rtti_exceptions" >&5
++echo "${ECHO_T}$compiler_rtti_exceptions" >&6
++
++  if test "$compiler_rtti_exceptions" = "yes"; then
++    no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions'
++  else
++    no_builtin_flag=' -fno-builtin'
++  fi
++fi
++
++# See if the linker supports building shared libraries.
++echo "$as_me:$LINENO: checking whether the linker ($LD) supports shared libraries" >&5
++echo $ECHO_N "checking whether the linker ($LD) supports shared libraries... $ECHO_C" >&6
++
++allow_undefined_flag=
++no_undefined_flag=
++need_lib_prefix=unknown
++need_version=unknown
++# when you set need_version to no, make sure it does not cause -set_version
++# flags to be left without arguments
++archive_cmds=
++archive_expsym_cmds=
++old_archive_from_new_cmds=
++old_archive_from_expsyms_cmds=
++export_dynamic_flag_spec=
++whole_archive_flag_spec=
++thread_safe_flag_spec=
++hardcode_into_libs=no
++hardcode_libdir_flag_spec=
++hardcode_libdir_separator=
++hardcode_direct=no
++hardcode_minus_L=no
++hardcode_shlibpath_var=unsupported
++runpath_var=
++link_all_deplibs=unknown
++always_export_symbols=no
++export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols'
++# include_expsyms should be a list of space-separated symbols to be *always*
++# included in the symbol list
++include_expsyms=
++# exclude_expsyms can be an egrep regular expression of symbols to exclude
++# it will be wrapped by ` (' and `)$', so one must not match beginning or
++# end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
++# as well as any symbol that contains `d'.
++exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
++# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
++# platforms (ab)use it in PIC code, but their linkers get confused if
++# the symbol is explicitly referenced.  Since portable code cannot
++# rely on this symbol name, it's probably fine to never include it in
++# preloaded symbol tables.
++extract_expsyms_cmds=
++
++case $host_os in
++cygwin* | mingw* | pw32*)
++  # FIXME: the MSVC++ port hasn't been tested in a loooong time
++  # When not using gcc, we currently assume that we are using
++  # Microsoft Visual C++.
++  if test "$GCC" != yes; then
++    with_gnu_ld=no
++  fi
++  ;;
++openbsd*)
++  with_gnu_ld=no
++  ;;
++esac
++
++ld_shlibs=yes
++if test "$with_gnu_ld" = yes; then
++  # If archive_cmds runs LD, not CC, wlarc should be empty
++  wlarc='${wl}'
++
++  # See if GNU ld supports shared libraries.
++  case $host_os in
++  aix3* | aix4* | aix5*)
++    # On AIX, the GNU linker is very broken
++    # Note:Check GNU linker on AIX 5-IA64 when/if it becomes available.
++    ld_shlibs=no
++    cat <<EOF 1>&2
++
++*** Warning: the GNU linker, at least up to release 2.9.1, is reported
++*** to be unable to reliably create shared libraries on AIX.
++*** Therefore, libtool is disabling shared libraries support.  If you
++*** really care for shared libraries, you may want to modify your PATH
++*** so that a non-GNU linker is found, and then restart.
++
++EOF
++    ;;
++
++  amigaos*)
++    archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
++    hardcode_libdir_flag_spec='-L$libdir'
++    hardcode_minus_L=yes
++
++    # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
++    # that the semantics of dynamic libraries on AmigaOS, at least up
++    # to version 4, is to share data among multiple programs linked
++    # with the same dynamic library.  Since this doesn't match the
++    # behavior of shared libraries on other platforms, we can use
++    # them.
++    ld_shlibs=no
++    ;;
++
++  beos*)
++    if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
++      allow_undefined_flag=unsupported
++      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
++      # support --undefined.  This deserves some investigation.  FIXME
++      archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++    else
++      ld_shlibs=no
++    fi
++    ;;
++
++  cygwin* | mingw* | pw32*)
++    # hardcode_libdir_flag_spec is actually meaningless, as there is
++    # no search path for DLLs.
++    hardcode_libdir_flag_spec='-L$libdir'
++    allow_undefined_flag=unsupported
++    always_export_symbols=yes
++
++    extract_expsyms_cmds='test -f $output_objdir/impgen.c || \
++      sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~
++      test -f $output_objdir/impgen.exe || (cd $output_objdir && \
++      if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \
++      else $CC -o impgen impgen.c ; fi)~
++      $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def'
++
++    old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib'
++
++    # cygwin and mingw dlls have different entry points and sets of symbols
++    # to exclude.
++    # FIXME: what about values for MSVC?
++    dll_entry=__cygwin_dll_entry@12
++    dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~
++    case $host_os in
++    mingw*)
++      # mingw values
++      dll_entry=_DllMainCRTStartup@12
++      dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~
++      ;;
++    esac
++
++    # mingw and cygwin differ, and it's simplest to just exclude the union
++    # of the two symbol sets.
++    dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12
++
++    # recent cygwin and mingw systems supply a stub DllMain which the user
++    # can override, but on older systems we have to supply one (in ltdll.c)
++    if test "x$lt_cv_need_dllmain" = "xyes"; then
++      ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext "
++      ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < $''0 > $output_objdir/$soname-ltdll.c~
++	test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~'
++    else
++      ltdll_obj=
++      ltdll_cmds=
++    fi
++
++    # Extract the symbol export list from an `--export-all' def file,
++    # then regenerate the def file from the symbol export list, so that
++    # the compiled dll only exports the symbol export list.
++    # Be careful not to strip the DATA tag left be newer dlltools.
++    export_symbols_cmds="$ltdll_cmds"'
++      $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~
++      sed -e "1,/EXPORTS/d" -e "s/ @ [0-9]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols'
++
++    # If the export-symbols file already is a .def file (1st line
++    # is EXPORTS), use it as is.
++    # If DATA tags from a recent dlltool are present, honour them!
++    archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then
++	cp $export_symbols $output_objdir/$soname-def;
++      else
++	echo EXPORTS > $output_objdir/$soname-def;
++	_lt_hint=1;
++	cat $export_symbols | while read symbol; do
++	 set dummy \$symbol;
++	 case \$# in
++	   2) echo "   \$2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
++	   *) echo "     \$2 @ \$_lt_hint \$3 ; " >> $output_objdir/$soname-def;;
++	 esac;
++	 _lt_hint=`expr 1 + \$_lt_hint`;
++	done;
++      fi~
++      '"$ltdll_cmds"'
++      $CC -Wl,--base-file,$output_objdir/$soname-base '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
++      $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp~
++      $CC -Wl,--base-file,$output_objdir/$soname-base $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
++      $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp --output-lib $output_objdir/$libname.dll.a~
++      $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags'
++    ;;
++
++  netbsd*)
++    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++      archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
++      wlarc=
++    else
++      archive_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++      archive_expsym_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++    fi
++    ;;
++
++  solaris* | sysv5*)
++    if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then
++      ld_shlibs=no
++      cat <<EOF 1>&2
++
++*** Warning: The releases 2.8.* of the GNU linker cannot reliably
++*** create shared libraries on Solaris systems.  Therefore, libtool
++*** is disabling shared libraries support.  We urge you to upgrade GNU
++*** binutils to release 2.9.1 or newer.  Another option is to modify
++*** your PATH or compiler configuration so that the native linker is
++*** used, and then restart.
++
++EOF
++    elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
++      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++      archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++    else
++      ld_shlibs=no
++    fi
++    ;;
++
++  sunos4*)
++    archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++    wlarc=
++    hardcode_direct=yes
++    hardcode_shlibpath_var=no
++    ;;
++
++  *)
++    if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
++      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++      archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++    else
++      ld_shlibs=no
++    fi
++    ;;
++  esac
++
++  if test "$ld_shlibs" = yes; then
++    runpath_var=LD_RUN_PATH
++    hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
++    export_dynamic_flag_spec='${wl}--export-dynamic'
++    case $host_os in
++    cygwin* | mingw* | pw32*)
++      # dlltool doesn't understand --whole-archive et. al.
++      whole_archive_flag_spec=
++      ;;
++    *)
++      # ancient GNU ld didn't support --whole-archive et. al.
++      if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then
++	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
++      else
++	whole_archive_flag_spec=
++      fi
++      ;;
++    esac
++  fi
++else
++  # PORTME fill in a description of your system's linker (not GNU ld)
++  case $host_os in
++  aix3*)
++    allow_undefined_flag=unsupported
++    always_export_symbols=yes
++    archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
++    # Note: this linker hardcodes the directories in LIBPATH if there
++    # are no directories specified by -L.
++    hardcode_minus_L=yes
++    if test "$GCC" = yes && test -z "$link_static_flag"; then
++      # Neither direct hardcoding nor static linking is supported with a
++      # broken collect2.
++      hardcode_direct=unsupported
++    fi
++    ;;
++
++  aix4* | aix5*)
++    if test "$host_cpu" = ia64; then
++      # On IA64, the linker does run time linking by default, so we don't
++      # have to do anything special.
++      aix_use_runtimelinking=no
++      exp_sym_flag='-Bexport'
++      no_entry_flag=""
++    else
++      aix_use_runtimelinking=no
++
++      # Test if we are trying to use run time linking or normal
++      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
++      # need to do runtime linking.
++      case $host_os in aix4.[23]|aix4.[23].*|aix5*)
++	for ld_flag in $LDFLAGS; do
++	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
++	    aix_use_runtimelinking=yes
++	    break
++	  fi
++	done
++      esac
++
++      exp_sym_flag='-bexport'
++      no_entry_flag='-bnoentry'
++    fi
++
++    # When large executables or shared objects are built, AIX ld can
++    # have problems creating the table of contents.  If linking a library
++    # or program results in "error TOC overflow" add -mminimal-toc to
++    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
++    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
++
++    hardcode_direct=yes
++    archive_cmds=''
++    hardcode_libdir_separator=':'
++    if test "$GCC" = yes; then
++      case $host_os in aix4.[012]|aix4.[012].*)
++	collect2name=`${CC} -print-prog-name=collect2`
++	if test -f "$collect2name" && \
++	  strings "$collect2name" | grep resolve_lib_name >/dev/null
++	then
++	  # We have reworked collect2
++	  hardcode_direct=yes
++	else
++	  # We have old collect2
++	  hardcode_direct=unsupported
++	  # It fails to find uninstalled libraries when the uninstalled
++	  # path is not listed in the libpath.  Setting hardcode_minus_L
++	  # to unsupported forces relinking
++	  hardcode_minus_L=yes
++	  hardcode_libdir_flag_spec='-L$libdir'
++	  hardcode_libdir_separator=
++	fi
++      esac
++
++      shared_flag='-shared'
++    else
++      # not using gcc
++      if test "$host_cpu" = ia64; then
++	shared_flag='${wl}-G'
++      else
++	if test "$aix_use_runtimelinking" = yes; then
++	  shared_flag='${wl}-G'
++	else
++	  shared_flag='${wl}-bM:SRE'
++	fi
++      fi
++    fi
++
++    # It seems that -bexpall can do strange things, so it is better to
++    # generate a list of symbols to export.
++    always_export_symbols=yes
++    if test "$aix_use_runtimelinking" = yes; then
++      # Warning - without using the other runtime loading flags (-brtl),
++      # -berok will link without error, but may produce a broken library.
++      allow_undefined_flag='-berok'
++      hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib'
++      archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
++    else
++      if test "$host_cpu" = ia64; then
++	hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
++	allow_undefined_flag="-z nodefs"
++	archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
++      else
++	hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib'
++	# Warning - without using the other run time loading flags,
++	# -berok will link without error, but may produce a broken library.
++	allow_undefined_flag='${wl}-berok'
++	# This is a bit strange, but is similar to how AIX traditionally builds
++	# it's shared libraries.
++	archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $objdir/$libname$release.a $objdir/$soname'
++      fi
++    fi
++    ;;
++
++  amigaos*)
++    archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
++    hardcode_libdir_flag_spec='-L$libdir'
++    hardcode_minus_L=yes
++    # see comment about different semantics on the GNU ld section
++    ld_shlibs=no
++    ;;
++
++  cygwin* | mingw* | pw32*)
++    # When not using gcc, we currently assume that we are using
++    # Microsoft Visual C++.
++    # hardcode_libdir_flag_spec is actually meaningless, as there is
++    # no search path for DLLs.
++    hardcode_libdir_flag_spec=' '
++    allow_undefined_flag=unsupported
++    # Tell ltmain to make .lib files, not .a files.
++    libext=lib
++    # FIXME: Setting linknames here is a bad hack.
++    archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames='
++    # The linker will automatically build a .lib file if we build a DLL.
++    old_archive_from_new_cmds='true'
++    # FIXME: Should let the user specify the lib program.
++    old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
++    fix_srcfile_path='`cygpath -w "$srcfile"`'
++    ;;
++
++  darwin* | rhapsody*)
++    case "$host_os" in
++    rhapsody* | darwin1.[012])
++      allow_undefined_flag='-undefined suppress'
++      ;;
++    *) # Darwin 1.3 on
++      allow_undefined_flag='-flat_namespace -undefined suppress'
++      ;;
++    esac
++    # FIXME: Relying on posixy $() will cause problems for
++    #        cross-compilation, but unfortunately the echo tests do not
++    #        yet detect zsh echo's removal of \ escapes.  Also zsh mangles
++    #	     `"' quotes if we put them in here... so don't!
++    archive_cmds='$nonopt $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linker_flags -install_name $rpath/$soname $verstring'
++    # We need to add '_' to the symbols in $export_symbols first
++    #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
++    hardcode_direct=yes
++    hardcode_shlibpath_var=no
++    whole_archive_flag_spec='-all_load $convenience'
++    ;;
++
++  freebsd1*)
++    ld_shlibs=no
++    ;;
++
++  # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
++  # support.  Future versions do this automatically, but an explicit c++rt0.o
++  # does not break anything, and helps significantly (at the cost of a little
++  # extra space).
++  freebsd2.2*)
++    archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
++    hardcode_libdir_flag_spec='-R$libdir'
++    hardcode_direct=yes
++    hardcode_shlibpath_var=no
++    ;;
++
++  # Unfortunately, older versions of FreeBSD 2 do not have this feature.
++  freebsd2*)
++    archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++    hardcode_direct=yes
++    hardcode_minus_L=yes
++    hardcode_shlibpath_var=no
++    ;;
++
++  # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
++  freebsd*)
++    archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
++    hardcode_libdir_flag_spec='-R$libdir'
++    hardcode_direct=yes
++    hardcode_shlibpath_var=no
++    ;;
++
++  hpux9* | hpux10* | hpux11*)
++    case $host_os in
++    hpux9*) archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ;;
++    *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;;
++    esac
++    hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
++    hardcode_libdir_separator=:
++    hardcode_direct=yes
++    hardcode_minus_L=yes # Not in the search PATH, but as the default
++			 # location of the library.
++    export_dynamic_flag_spec='${wl}-E'
++    ;;
++
++  irix5* | irix6* | nonstopux*)
++    if test "$GCC" = yes; then
++      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++    else
++      archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
++    fi
++    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
++    hardcode_libdir_separator=:
++    link_all_deplibs=yes
++    ;;
++
++  netbsd*)
++    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
++    else
++      archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
++    fi
++    hardcode_libdir_flag_spec='-R$libdir'
++    hardcode_direct=yes
++    hardcode_shlibpath_var=no
++    ;;
++
++  newsos6)
++    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++    hardcode_direct=yes
++    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
++    hardcode_libdir_separator=:
++    hardcode_shlibpath_var=no
++    ;;
++
++  openbsd*)
++    hardcode_direct=yes
++    hardcode_shlibpath_var=no
++    if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
++      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
++      export_dynamic_flag_spec='${wl}-E'
++    else
++      case "$host_os" in
++      openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
++	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++	hardcode_libdir_flag_spec='-R$libdir'
++        ;;
++      *)
++        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
++        hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
++        ;;
++      esac
++    fi
++    ;;
++
++  os2*)
++    hardcode_libdir_flag_spec='-L$libdir'
++    hardcode_minus_L=yes
++    allow_undefined_flag=unsupported
++    archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
++    old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
++    ;;
++
++  osf3*)
++    if test "$GCC" = yes; then
++      allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
++      archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++    else
++      allow_undefined_flag=' -expect_unresolved \*'
++      archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
++    fi
++    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
++    hardcode_libdir_separator=:
++    ;;
++
++  osf4* | osf5*)	# as osf3* with the addition of -msym flag
++    if test "$GCC" = yes; then
++      allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
++      archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
++    else
++      allow_undefined_flag=' -expect_unresolved \*'
++      archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
++      archive_expsym_cmds='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
++      $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
++
++      #Both c and cxx compiler support -rpath directly
++      hardcode_libdir_flag_spec='-rpath $libdir'
++    fi
++    hardcode_libdir_separator=:
++    ;;
++
++  sco3.2v5*)
++    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++    hardcode_shlibpath_var=no
++    runpath_var=LD_RUN_PATH
++    hardcode_runpath_var=yes
++    export_dynamic_flag_spec='${wl}-Bexport'
++    ;;
++
++  solaris*)
++    # gcc --version < 3.0 without binutils cannot create self contained
++    # shared libraries reliably, requiring libgcc.a to resolve some of
++    # the object symbols generated in some cases.  Libraries that use
++    # assert need libgcc.a to resolve __eprintf, for example.  Linking
++    # a copy of libgcc.a into every shared library to guarantee resolving
++    # such symbols causes other problems:  According to Tim Van Holder
++    # <tim.van.holder@pandora.be>, C++ libraries end up with a separate
++    # (to the application) exception stack for one thing.
++    no_undefined_flag=' -z defs'
++    if test "$GCC" = yes; then
++      case `$CC --version 2>/dev/null` in
++      [12].*)
++	cat <<EOF 1>&2
++
++*** Warning: Releases of GCC earlier than version 3.0 cannot reliably
++*** create self contained shared libraries on Solaris systems, without
++*** introducing a dependency on libgcc.a.  Therefore, libtool is disabling
++*** -no-undefined support, which will at least allow you to build shared
++*** libraries.  However, you may find that when you link such libraries
++*** into an application without using GCC, you have to manually add
++*** \`gcc --print-libgcc-file-name\` to the link command.  We urge you to
++*** upgrade to a newer version of GCC.  Another option is to rebuild your
++*** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer.
++
++EOF
++        no_undefined_flag=
++	;;
++      esac
++    fi
++    # $CC -shared without GNU ld will not create a library from C++
++    # object files and a static libstdc++, better avoid it by now
++    archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
++    archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++		$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
++    hardcode_libdir_flag_spec='-R$libdir'
++    hardcode_shlibpath_var=no
++    case $host_os in
++    solaris2.[0-5] | solaris2.[0-5].*) ;;
++    *) # Supported since Solaris 2.6 (maybe 2.5.1?)
++      whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
++    esac
++    link_all_deplibs=yes
++    ;;
++
++  sunos4*)
++    if test "x$host_vendor" = xsequent; then
++      # Use $CC to link under sequent, because it throws in some extra .o
++      # files that make .init and .fini sections work.
++      archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
++    else
++      archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
++    fi
++    hardcode_libdir_flag_spec='-L$libdir'
++    hardcode_direct=yes
++    hardcode_minus_L=yes
++    hardcode_shlibpath_var=no
++    ;;
++
++  sysv4)
++    if test "x$host_vendor" = xsno; then
++      archive_cmds='$LD -G -Bsymbolic -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_direct=yes # is this really true???
++    else
++      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_direct=no #Motorola manual says yes, but my tests say they lie
++    fi
++    runpath_var='LD_RUN_PATH'
++    hardcode_shlibpath_var=no
++    ;;
++
++  sysv4.3*)
++    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++    hardcode_shlibpath_var=no
++    export_dynamic_flag_spec='-Bexport'
++    ;;
++
++  sysv5*)
++    no_undefined_flag=' -z text'
++    # $CC -shared without GNU ld will not create a library from C++
++    # object files and a static libstdc++, better avoid it by now
++    archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
++    archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++		$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
++    hardcode_libdir_flag_spec=
++    hardcode_shlibpath_var=no
++    runpath_var='LD_RUN_PATH'
++    ;;
++
++  uts4*)
++    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++    hardcode_libdir_flag_spec='-L$libdir'
++    hardcode_shlibpath_var=no
++    ;;
++
++  dgux*)
++    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++    hardcode_libdir_flag_spec='-L$libdir'
++    hardcode_shlibpath_var=no
++    ;;
++
++  sysv4*MP*)
++    if test -d /usr/nec; then
++      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_shlibpath_var=no
++      runpath_var=LD_RUN_PATH
++      hardcode_runpath_var=yes
++      ld_shlibs=yes
++    fi
++    ;;
++
++  sysv4.2uw2*)
++    archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
++    hardcode_direct=yes
++    hardcode_minus_L=no
++    hardcode_shlibpath_var=no
++    hardcode_runpath_var=yes
++    runpath_var=LD_RUN_PATH
++    ;;
++
++  sysv5uw7* | unixware7*)
++    no_undefined_flag='${wl}-z ${wl}text'
++    if test "$GCC" = yes; then
++      archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++    else
++      archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++    fi
++    runpath_var='LD_RUN_PATH'
++    hardcode_shlibpath_var=no
++    ;;
++
++  *)
++    ld_shlibs=no
++    ;;
++  esac
++fi
++echo "$as_me:$LINENO: result: $ld_shlibs" >&5
++echo "${ECHO_T}$ld_shlibs" >&6
++test "$ld_shlibs" = no && can_build_shared=no
++
++# Check hardcoding attributes.
++echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
++echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
++hardcode_action=
++if test -n "$hardcode_libdir_flag_spec" || \
++   test -n "$runpath_var"; then
++
++  # We can hardcode non-existant directories.
++  if test "$hardcode_direct" != no &&
++     # If the only mechanism to avoid hardcoding is shlibpath_var, we
++     # have to relink, otherwise we might link with an installed library
++     # when we should be linking with a yet-to-be-installed one
++     ## test "$hardcode_shlibpath_var" != no &&
++     test "$hardcode_minus_L" != no; then
++    # Linking always hardcodes the temporary library directory.
++    hardcode_action=relink
++  else
++    # We can link without hardcoding, and we can hardcode nonexisting dirs.
++    hardcode_action=immediate
++  fi
++else
++  # We cannot hardcode anything, or else we can only hardcode existing
++  # directories.
++  hardcode_action=unsupported
++fi
++echo "$as_me:$LINENO: result: $hardcode_action" >&5
++echo "${ECHO_T}$hardcode_action" >&6
++
++striplib=
++old_striplib=
++echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
++echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
++if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
++  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
++  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
++  echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++reload_cmds='$LD$reload_flag -o $output$reload_objs'
++test -z "$deplibs_check_method" && deplibs_check_method=unknown
++
++# PORTME Fill in your ld.so characteristics
++echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
++echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
++library_names_spec=
++libname_spec='lib$name'
++soname_spec=
++postinstall_cmds=
++postuninstall_cmds=
++finish_cmds=
++finish_eval=
++shlibpath_var=
++shlibpath_overrides_runpath=unknown
++version_type=none
++dynamic_linker="$host_os ld.so"
++sys_lib_dlsearch_path_spec="/lib /usr/lib"
++sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
++
++case $host_os in
++aix3*)
++  version_type=linux
++  library_names_spec='${libname}${release}.so$versuffix $libname.a'
++  shlibpath_var=LIBPATH
++
++  # AIX has no versioning support, so we append a major version to the name.
++  soname_spec='${libname}${release}.so$major'
++  ;;
++
++aix4* | aix5*)
++  version_type=linux
++  if test "$host_cpu" = ia64; then
++    # AIX 5 supports IA64
++    library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so'
++    shlibpath_var=LD_LIBRARY_PATH
++  else
++    # With GCC up to 2.95.x, collect2 would create an import file
++    # for dependence libraries.  The import file would start with
++    # the line `#! .'.  This would cause the generated library to
++    # depend on `.', always an invalid library.  This was fixed in
++    # development snapshots of GCC prior to 3.0.
++    case $host_os in
++      aix4 | aix4.[01] | aix4.[01].*)
++	if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
++	     echo ' yes '
++	     echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
++	  :
++	else
++	  can_build_shared=no
++	fi
++	;;
++    esac
++    # AIX (on Power*) has no versioning support, so currently we can
++    # not hardcode correct soname into executable. Probably we can
++    # add versioning support to collect2, so additional links can
++    # be useful in future.
++    if test "$aix_use_runtimelinking" = yes; then
++      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
++      # instead of lib<name>.a to let people know that these are not
++      # typical AIX shared libraries.
++      library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++    else
++      # We preserve .a as extension for shared libraries through AIX4.2
++      # and later when we are not doing run time linking.
++      library_names_spec='${libname}${release}.a $libname.a'
++      soname_spec='${libname}${release}.so$major'
++    fi
++    shlibpath_var=LIBPATH
++  fi
++  ;;
++
++amigaos*)
++  library_names_spec='$libname.ixlibrary $libname.a'
++  # Create ${libname}_ixlibrary.a entries in /sys/libs.
++  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done'
++  ;;
++
++beos*)
++  library_names_spec='${libname}.so'
++  dynamic_linker="$host_os ld.so"
++  shlibpath_var=LIBRARY_PATH
++  ;;
++
++bsdi4*)
++  version_type=linux
++  need_version=no
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  soname_spec='${libname}${release}.so$major'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
++  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
++  export_dynamic_flag_spec=-rdynamic
++  # the default ld.so.conf also contains /usr/contrib/lib and
++  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
++  # libtool to hard-code these into programs
++  ;;
++
++cygwin* | mingw* | pw32*)
++  version_type=windows
++  need_version=no
++  need_lib_prefix=no
++  case $GCC,$host_os in
++  yes,cygwin*)
++    library_names_spec='$libname.dll.a'
++    soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
++    postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~
++      dldir=$destdir/`dirname \$dlpath`~
++      test -d \$dldir || mkdir -p \$dldir~
++      $install_prog .libs/$dlname \$dldir/$dlname'
++    postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~
++      dlpath=$dir/\$dldll~
++       $rm \$dlpath'
++    ;;
++  yes,mingw*)
++    library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
++    sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g"`
++    ;;
++  yes,pw32*)
++    library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}.dll'
++    ;;
++  *)
++    library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll $libname.lib'
++    ;;
++  esac
++  dynamic_linker='Win32 ld.exe'
++  # FIXME: first we should search . and the directory the executable is in
++  shlibpath_var=PATH
++  ;;
++
++darwin* | rhapsody*)
++  dynamic_linker="$host_os dyld"
++  version_type=darwin
++  need_lib_prefix=no
++  need_version=no
++  # FIXME: Relying on posixy $() will cause problems for
++  #        cross-compilation, but unfortunately the echo tests do not
++  #        yet detect zsh echo's removal of \ escapes.
++  library_names_spec='${libname}${release}${versuffix}.$(test .$module = .yes && echo so || echo dylib) ${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib) ${libname}.$(test .$module = .yes && echo so || echo dylib)'
++  soname_spec='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)'
++  shlibpath_overrides_runpath=yes
++  shlibpath_var=DYLD_LIBRARY_PATH
++  ;;
++
++freebsd1*)
++  dynamic_linker=no
++  ;;
++
++freebsd*)
++  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
++  version_type=freebsd-$objformat
++  case $version_type in
++    freebsd-elf*)
++      library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
++      need_version=no
++      need_lib_prefix=no
++      ;;
++    freebsd-*)
++      library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix'
++      need_version=yes
++      ;;
++  esac
++  shlibpath_var=LD_LIBRARY_PATH
++  case $host_os in
++  freebsd2*)
++    shlibpath_overrides_runpath=yes
++    ;;
++  *)
++    shlibpath_overrides_runpath=no
++    hardcode_into_libs=yes
++    ;;
++  esac
++  ;;
++
++gnu*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so'
++  soname_spec='${libname}${release}.so$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  hardcode_into_libs=yes
++  ;;
++
++hpux9* | hpux10* | hpux11*)
++  # Give a soname corresponding to the major version so that dld.sl refuses to
++  # link against other versions.
++  dynamic_linker="$host_os dld.sl"
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=no
++  shlibpath_var=SHLIB_PATH
++  shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
++  library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl'
++  soname_spec='${libname}${release}.sl$major'
++  # HP-UX runs *really* slowly unless shared libraries are mode 555.
++  postinstall_cmds='chmod 555 $lib'
++  ;;
++
++irix5* | irix6* | nonstopux*)
++  case $host_os in
++    nonstopux*) version_type=nonstopux ;;
++    *)          version_type=irix ;;
++  esac
++  need_lib_prefix=no
++  need_version=no
++  soname_spec='${libname}${release}.so$major'
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so'
++  case $host_os in
++  irix5* | nonstopux*)
++    libsuff= shlibsuff=
++    ;;
++  *)
++    case $LD in # libtool.m4 will add one of these switches to LD
++    *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;;
++    *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;;
++    *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;;
++    *) libsuff= shlibsuff= libmagic=never-match;;
++    esac
++    ;;
++  esac
++  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
++  shlibpath_overrides_runpath=no
++  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
++  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
++  ;;
++
++# No shared lib support for Linux oldld, aout, or coff.
++linux-gnuoldld* | linux-gnuaout* | linux-gnucoff*)
++  dynamic_linker=no
++  ;;
++
++# This must be Linux ELF.
++linux-gnu*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  soname_spec='${libname}${release}.so$major'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=no
++  # This implies no fast_install, which is unacceptable.
++  # Some rework will be needed to allow for fast_install
++  # before this can be enabled.
++  hardcode_into_libs=yes
++
++  # We used to test for /lib/ld.so.1 and disable shared libraries on
++  # powerpc, because MkLinux only supported shared libraries with the
++  # GNU dynamic linker.  Since this was broken with cross compilers,
++  # most powerpc-linux boxes support dynamic linking these days and
++  # people can always --disable-shared, the test was removed, and we
++  # assume the GNU/Linux dynamic linker is in use.
++  dynamic_linker='GNU/Linux ld.so'
++  ;;
++
++netbsd*)
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=no
++  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++    library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
++    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
++    dynamic_linker='NetBSD (a.out) ld.so'
++  else
++    library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so'
++    soname_spec='${libname}${release}.so$major'
++    dynamic_linker='NetBSD ld.elf_so'
++  fi
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  hardcode_into_libs=yes
++  ;;
++
++newsos6)
++  version_type=linux
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  ;;
++
++openbsd*)
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=no
++  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
++    case "$host_os" in
++    openbsd2.[89] | openbsd2.[89].*)
++      shlibpath_overrides_runpath=no
++      ;;
++    *)
++      shlibpath_overrides_runpath=yes
++      ;;
++    esac
++  else
++    shlibpath_overrides_runpath=yes
++  fi
++  library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++os2*)
++  libname_spec='$name'
++  need_lib_prefix=no
++  library_names_spec='$libname.dll $libname.a'
++  dynamic_linker='OS/2 ld.exe'
++  shlibpath_var=LIBPATH
++  ;;
++
++osf3* | osf4* | osf5*)
++  version_type=osf
++  need_version=no
++  need_lib_prefix=no
++  soname_spec='${libname}${release}.so'
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
++  shlibpath_var=LD_LIBRARY_PATH
++  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
++  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
++  ;;
++
++sco3.2v5*)
++  version_type=osf
++  soname_spec='${libname}${release}.so$major'
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++solaris*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  soname_spec='${libname}${release}.so$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  hardcode_into_libs=yes
++  # ldd complains unless libraries are executable
++  postinstall_cmds='chmod +x $lib'
++  ;;
++
++sunos4*)
++  version_type=sunos
++  library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
++  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  if test "$with_gnu_ld" = yes; then
++    need_lib_prefix=no
++  fi
++  need_version=yes
++  ;;
++
++sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
++  version_type=linux
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  soname_spec='${libname}${release}.so$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  case $host_vendor in
++    sni)
++      shlibpath_overrides_runpath=no
++      ;;
++    motorola)
++      need_lib_prefix=no
++      need_version=no
++      shlibpath_overrides_runpath=no
++      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
++      ;;
++  esac
++  ;;
++
++uts4*)
++  version_type=linux
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  soname_spec='${libname}${release}.so$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++dgux*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
++  soname_spec='${libname}${release}.so$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++sysv4*MP*)
++  if test -d /usr/nec ;then
++    version_type=linux
++    library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so'
++    soname_spec='$libname.so.$major'
++    shlibpath_var=LD_LIBRARY_PATH
++  fi
++  ;;
++
++*)
++  dynamic_linker=no
++  ;;
++esac
++echo "$as_me:$LINENO: result: $dynamic_linker" >&5
++echo "${ECHO_T}$dynamic_linker" >&6
++test "$dynamic_linker" = no && can_build_shared=no
++
++# Report the final consequences.
++echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
++echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
++echo "$as_me:$LINENO: result: $can_build_shared" >&5
++echo "${ECHO_T}$can_build_shared" >&6
++
++echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
++echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
++test "$can_build_shared" = "no" && enable_shared=no
++
++# On AIX, shared libraries and static libraries use the same namespace, and
++# are all built from PIC.
++case "$host_os" in
++aix3*)
++  test "$enable_shared" = yes && enable_static=no
++  if test -n "$RANLIB"; then
++    archive_cmds="$archive_cmds~\$RANLIB \$lib"
++    postinstall_cmds='$RANLIB $lib'
++  fi
++  ;;
++
++aix4*)
++  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
++    test "$enable_shared" = yes && enable_static=no
++  fi
++  ;;
++esac
++echo "$as_me:$LINENO: result: $enable_shared" >&5
++echo "${ECHO_T}$enable_shared" >&6
++
++echo "$as_me:$LINENO: checking whether to build static libraries" >&5
++echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
++# Make sure either enable_shared or enable_static is yes.
++test "$enable_shared" = yes || enable_static=yes
++echo "$as_me:$LINENO: result: $enable_static" >&5
++echo "${ECHO_T}$enable_static" >&6
++
++if test "$hardcode_action" = relink; then
++  # Fast installation is not supported
++  enable_fast_install=no
++elif test "$shlibpath_overrides_runpath" = yes ||
++     test "$enable_shared" = no; then
++  # Fast installation is not necessary
++  enable_fast_install=needless
++fi
++
++variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
++if test "$GCC" = yes; then
++  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
++fi
++
++if test "x$enable_dlopen" != xyes; then
++  enable_dlopen=unknown
++  enable_dlopen_self=unknown
++  enable_dlopen_self_static=unknown
++else
++  lt_cv_dlopen=no
++  lt_cv_dlopen_libs=
++
++  case $host_os in
++  beos*)
++    lt_cv_dlopen="load_add_on"
++    lt_cv_dlopen_libs=
++    lt_cv_dlopen_self=yes
++    ;;
++
++  cygwin* | mingw* | pw32*)
++    lt_cv_dlopen="LoadLibrary"
++    lt_cv_dlopen_libs=
++   ;;
++
++  *)
++    echo "$as_me:$LINENO: checking for shl_load" >&5
++echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
++if test "${ac_cv_func_shl_load+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char shl_load (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char shl_load ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_shl_load) || defined (__stub___shl_load)
++choke me
++#else
++f = shl_load;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_shl_load=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_shl_load=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
++echo "${ECHO_T}$ac_cv_func_shl_load" >&6
++if test $ac_cv_func_shl_load = yes; then
++  lt_cv_dlopen="shl_load"
++else
++  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
++echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
++if test "${ac_cv_lib_dld_shl_load+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ldld  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char shl_load ();
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++shl_load ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_dld_shl_load=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_lib_dld_shl_load=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
++echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
++if test $ac_cv_lib_dld_shl_load = yes; then
++  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
++else
++  echo "$as_me:$LINENO: checking for dlopen" >&5
++echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
++if test "${ac_cv_func_dlopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char dlopen (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dlopen ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_dlopen) || defined (__stub___dlopen)
++choke me
++#else
++f = dlopen;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_dlopen=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_dlopen=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
++echo "${ECHO_T}$ac_cv_func_dlopen" >&6
++if test $ac_cv_func_dlopen = yes; then
++  lt_cv_dlopen="dlopen"
++else
++  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
++echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
++if test "${ac_cv_lib_dl_dlopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ldl  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dlopen ();
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++dlopen ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_dl_dlopen=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_lib_dl_dlopen=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
++echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
++if test $ac_cv_lib_dl_dlopen = yes; then
++  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
++else
++  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
++echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
++if test "${ac_cv_lib_svld_dlopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-lsvld  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dlopen ();
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++dlopen ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_svld_dlopen=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_lib_svld_dlopen=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
++echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
++if test $ac_cv_lib_svld_dlopen = yes; then
++  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
++else
++  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
++echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
++if test "${ac_cv_lib_dld_dld_link+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ldld  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dld_link ();
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++dld_link ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_dld_dld_link=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_lib_dld_dld_link=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
++echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
++if test $ac_cv_lib_dld_dld_link = yes; then
++  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
++fi
++
++	      
++fi
++
++	    
++fi
++
++	  
++fi
++
++	
++fi
++
++      
++fi
++
++    ;;
++  esac
++
++  if test "x$lt_cv_dlopen" != xno; then
++    enable_dlopen=yes
++  else
++    enable_dlopen=no
++  fi
++
++  case $lt_cv_dlopen in
++  dlopen)
++    save_CPPFLAGS="$CPPFLAGS"
++        test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
++
++    save_LDFLAGS="$LDFLAGS"
++    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
++
++    save_LIBS="$LIBS"
++    LIBS="$lt_cv_dlopen_libs $LIBS"
++
++    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
++echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
++if test "${lt_cv_dlopen_self+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  	  if test "$cross_compiling" = yes; then :
++  lt_cv_dlopen_self=cross
++else
++    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
++  lt_status=$lt_dlunknown
++  cat > conftest.$ac_ext <<EOF
++#line __oline__ "configure"
++#include "confdefs.h"
++
++#if HAVE_DLFCN_H
++#include <dlfcn.h>
++#endif
++
++#include <stdio.h>
++
++#ifdef RTLD_GLOBAL
++#  define LT_DLGLOBAL		RTLD_GLOBAL
++#else
++#  ifdef DL_GLOBAL
++#    define LT_DLGLOBAL		DL_GLOBAL
++#  else
++#    define LT_DLGLOBAL		0
++#  endif
++#endif
++
++/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
++   find out it does not work in some platform. */
++#ifndef LT_DLLAZY_OR_NOW
++#  ifdef RTLD_LAZY
++#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
++#  else
++#    ifdef DL_LAZY
++#      define LT_DLLAZY_OR_NOW		DL_LAZY
++#    else
++#      ifdef RTLD_NOW
++#        define LT_DLLAZY_OR_NOW	RTLD_NOW
++#      else
++#        ifdef DL_NOW
++#          define LT_DLLAZY_OR_NOW	DL_NOW
++#        else
++#          define LT_DLLAZY_OR_NOW	0
++#        endif
++#      endif
++#    endif
++#  endif
++#endif
++
++#ifdef __cplusplus
++extern "C" void exit (int);
++#endif
++
++void fnord() { int i=42;}
++int main ()
++{
++  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
++  int status = $lt_dlunknown;
++
++  if (self)
++    {
++      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
++      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
++      /* dlclose (self); */
++    }
++
++    exit (status);
++}
++EOF
++  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
++    (./conftest; exit; ) 2>/dev/null
++    lt_status=$?
++    case x$lt_status in
++      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
++      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
++      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
++    esac
++  else :
++    # compilation failed
++    lt_cv_dlopen_self=no
++  fi
++fi
++rm -fr conftest*
++
++    
++fi
++echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
++echo "${ECHO_T}$lt_cv_dlopen_self" >&6
++
++    if test "x$lt_cv_dlopen_self" = xyes; then
++      LDFLAGS="$LDFLAGS $link_static_flag"
++      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
++echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
++if test "${lt_cv_dlopen_self_static+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  	  if test "$cross_compiling" = yes; then :
++  lt_cv_dlopen_self_static=cross
++else
++    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
++  lt_status=$lt_dlunknown
++  cat > conftest.$ac_ext <<EOF
++#line __oline__ "configure"
++#include "confdefs.h"
++
++#if HAVE_DLFCN_H
++#include <dlfcn.h>
++#endif
++
++#include <stdio.h>
++
++#ifdef RTLD_GLOBAL
++#  define LT_DLGLOBAL		RTLD_GLOBAL
++#else
++#  ifdef DL_GLOBAL
++#    define LT_DLGLOBAL		DL_GLOBAL
++#  else
++#    define LT_DLGLOBAL		0
++#  endif
++#endif
++
++/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
++   find out it does not work in some platform. */
++#ifndef LT_DLLAZY_OR_NOW
++#  ifdef RTLD_LAZY
++#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
++#  else
++#    ifdef DL_LAZY
++#      define LT_DLLAZY_OR_NOW		DL_LAZY
++#    else
++#      ifdef RTLD_NOW
++#        define LT_DLLAZY_OR_NOW	RTLD_NOW
++#      else
++#        ifdef DL_NOW
++#          define LT_DLLAZY_OR_NOW	DL_NOW
++#        else
++#          define LT_DLLAZY_OR_NOW	0
++#        endif
++#      endif
++#    endif
++#  endif
++#endif
++
++#ifdef __cplusplus
++extern "C" void exit (int);
++#endif
++
++void fnord() { int i=42;}
++int main ()
++{
++  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
++  int status = $lt_dlunknown;
++
++  if (self)
++    {
++      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
++      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
++      /* dlclose (self); */
++    }
++
++    exit (status);
++}
++EOF
++  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
++    (./conftest; exit; ) 2>/dev/null
++    lt_status=$?
++    case x$lt_status in
++      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
++      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
++      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
++    esac
++  else :
++    # compilation failed
++    lt_cv_dlopen_self_static=no
++  fi
++fi
++rm -fr conftest*
++
++      
++fi
++echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
++echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
++    fi
++
++    CPPFLAGS="$save_CPPFLAGS"
++    LDFLAGS="$save_LDFLAGS"
++    LIBS="$save_LIBS"
++    ;;
++  esac
++
++  case $lt_cv_dlopen_self in
++  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
++  *) enable_dlopen_self=unknown ;;
++  esac
++
++  case $lt_cv_dlopen_self_static in
++  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
++  *) enable_dlopen_self_static=unknown ;;
++  esac
++fi
++
++
++if test "$enable_shared" = yes && test "$GCC" = yes; then
++  case $archive_cmds in
++  *'~'*)
++    # FIXME: we may have to deal with multi-command sequences.
++    ;;
++  '$CC '*)
++    # Test whether the compiler implicitly links with -lc since on some
++    # systems, -lgcc has to come before -lc. If gcc already passes -lc
++    # to ld, don't add -lc before -lgcc.
++    echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
++echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
++    if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  $rm conftest*
++    echo 'static int dummy;' > conftest.$ac_ext
++
++    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; then
++      soname=conftest
++      lib=conftest
++      libobjs=conftest.$ac_objext
++      deplibs=
++      wl=$lt_cv_prog_cc_wl
++      compiler_flags=-v
++      linker_flags=-v
++      verstring=
++      output_objdir=.
++      libname=conftest
++      save_allow_undefined_flag=$allow_undefined_flag
++      allow_undefined_flag=
++      if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
++  (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }
++      then
++	lt_cv_archive_cmds_need_lc=no
++      else
++	lt_cv_archive_cmds_need_lc=yes
++      fi
++      allow_undefined_flag=$save_allow_undefined_flag
++    else
++      cat conftest.err 1>&5
++    fi
++fi
++
++    echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
++echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
++    ;;
++  esac
++fi
++need_lc=${lt_cv_archive_cmds_need_lc-yes}
++
++# The second clause should only fire when bootstrapping the
++# libtool distribution, otherwise you forgot to ship ltmain.sh
++# with your package, and you will get complaints that there are
++# no rules to generate ltmain.sh.
++if test -f "$ltmain"; then
++  :
++else
++  # If there is no Makefile yet, we rely on a make rule to execute
++  # `config.status --recheck' to rerun these tests and create the
++  # libtool script then.
++  test -f Makefile && make "$ltmain"
++fi
++
++if test -f "$ltmain"; then
++  trap "$rm \"${ofile}T\"; exit 1" 1 2 15
++  $rm -f "${ofile}T"
++
++  echo creating $ofile
++
++  # Now quote all the things that may contain metacharacters while being
++  # careful not to overquote the AC_SUBSTed values.  We take copies of the
++  # variables and quote the copies for generation of the libtool script.
++  for var in echo old_CC old_CFLAGS \
++    AR AR_FLAGS CC LD LN_S NM SHELL \
++    reload_flag reload_cmds wl \
++    pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \
++    thread_safe_flag_spec whole_archive_flag_spec libname_spec \
++    library_names_spec soname_spec \
++    RANLIB old_archive_cmds old_archive_from_new_cmds old_postinstall_cmds \
++    old_postuninstall_cmds archive_cmds archive_expsym_cmds postinstall_cmds \
++    postuninstall_cmds extract_expsyms_cmds old_archive_from_expsyms_cmds \
++    old_striplib striplib file_magic_cmd export_symbols_cmds \
++    deplibs_check_method allow_undefined_flag no_undefined_flag \
++    finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \
++    global_symbol_to_c_name_address \
++    hardcode_libdir_flag_spec hardcode_libdir_separator  \
++    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
++    compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do
++
++    case $var in
++    reload_cmds | old_archive_cmds | old_archive_from_new_cmds | \
++    old_postinstall_cmds | old_postuninstall_cmds | \
++    export_symbols_cmds | archive_cmds | archive_expsym_cmds | \
++    extract_expsyms_cmds | old_archive_from_expsyms_cmds | \
++    postinstall_cmds | postuninstall_cmds | \
++    finish_cmds | sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
++      # Double-quote double-evaled strings.
++      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
++      ;;
++    *)
++      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
++      ;;
++    esac
++  done
++
++  cat <<__EOF__ > "${ofile}T"
++#! $SHELL
++
++# `$echo "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
++# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
++# NOTE: Changes made to this file will be lost: look at ltmain.sh.
++#
++# Copyright (C) 1996-2000 Free Software Foundation, Inc.
++# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
++#
++# 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
++#
++# As a special exception to the GNU General Public License, if you
++# distribute this file as part of a program that contains a
++# configuration script generated by Autoconf, you may include it under
++# the same distribution terms that you use for the rest of that program.
++
++# Sed that helps us avoid accidentally triggering echo(1) options like -n.
++Xsed="sed -e s/^X//"
++
++# The HP-UX ksh and POSIX shell print the target directory to stdout
++# if CDPATH is set.
++if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
++
++# ### BEGIN LIBTOOL CONFIG
++
++# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
++
++# Shell to use when invoking shell scripts.
++SHELL=$lt_SHELL
++
++# Whether or not to build shared libraries.
++build_libtool_libs=$enable_shared
++
++# Whether or not to build static libraries.
++build_old_libs=$enable_static
++
++# Whether or not to add -lc for building shared libraries.
++build_libtool_need_lc=$need_lc
++
++# Whether or not to optimize for fast installation.
++fast_install=$enable_fast_install
++
++# The host system.
++host_alias=$host_alias
++host=$host
++
++# An echo program that does not interpret backslashes.
++echo=$lt_echo
++
++# The archiver.
++AR=$lt_AR
++AR_FLAGS=$lt_AR_FLAGS
++
++# The default C compiler.
++CC=$lt_CC
++
++# Is the compiler the GNU C compiler?
++with_gcc=$GCC
++
++# The linker used to build libraries.
++LD=$lt_LD
++
++# Whether we need hard or soft links.
++LN_S=$lt_LN_S
++
++# A BSD-compatible nm program.
++NM=$lt_NM
++
++# A symbol stripping program
++STRIP=$STRIP
++
++# Used to examine libraries when file_magic_cmd begins "file"
++MAGIC_CMD=$MAGIC_CMD
++
++# Used on cygwin: DLL creation program.
++DLLTOOL="$DLLTOOL"
++
++# Used on cygwin: object dumper.
++OBJDUMP="$OBJDUMP"
++
++# Used on cygwin: assembler.
++AS="$AS"
++
++# The name of the directory that contains temporary libtool files.
++objdir=$objdir
++
++# How to create reloadable object files.
++reload_flag=$lt_reload_flag
++reload_cmds=$lt_reload_cmds
++
++# How to pass a linker flag through the compiler.
++wl=$lt_wl
++
++# Object file suffix (normally "o").
++objext="$ac_objext"
++
++# Old archive suffix (normally "a").
++libext="$libext"
++
++# Executable file suffix (normally "").
++exeext="$exeext"
++
++# Additional compiler flags for building library objects.
++pic_flag=$lt_pic_flag
++pic_mode=$pic_mode
++
++# Does compiler simultaneously support -c and -o options?
++compiler_c_o=$lt_compiler_c_o
++
++# Can we write directly to a .lo ?
++compiler_o_lo=$lt_compiler_o_lo
++
++# Must we lock files when doing compilation ?
++need_locks=$lt_need_locks
++
++# Do we need the lib prefix for modules?
++need_lib_prefix=$need_lib_prefix
++
++# Do we need a version for libraries?
++need_version=$need_version
++
++# Whether dlopen is supported.
++dlopen_support=$enable_dlopen
++
++# Whether dlopen of programs is supported.
++dlopen_self=$enable_dlopen_self
++
++# Whether dlopen of statically linked programs is supported.
++dlopen_self_static=$enable_dlopen_self_static
++
++# Compiler flag to prevent dynamic linking.
++link_static_flag=$lt_link_static_flag
++
++# Compiler flag to turn off builtin functions.
++no_builtin_flag=$lt_no_builtin_flag
++
++# Compiler flag to allow reflexive dlopens.
++export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
++
++# Compiler flag to generate shared objects directly from archives.
++whole_archive_flag_spec=$lt_whole_archive_flag_spec
++
++# Compiler flag to generate thread-safe objects.
++thread_safe_flag_spec=$lt_thread_safe_flag_spec
++
++# Library versioning type.
++version_type=$version_type
++
++# Format of library name prefix.
++libname_spec=$lt_libname_spec
++
++# List of archive names.  First name is the real one, the rest are links.
++# The last name is the one that the linker finds with -lNAME.
++library_names_spec=$lt_library_names_spec
++
++# The coded name of the library, if different from the real name.
++soname_spec=$lt_soname_spec
++
++# Commands used to build and install an old-style archive.
++RANLIB=$lt_RANLIB
++old_archive_cmds=$lt_old_archive_cmds
++old_postinstall_cmds=$lt_old_postinstall_cmds
++old_postuninstall_cmds=$lt_old_postuninstall_cmds
++
++# Create an old-style archive from a shared archive.
++old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
++
++# Create a temporary old-style archive to link instead of a shared archive.
++old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
++
++# Commands used to build and install a shared archive.
++archive_cmds=$lt_archive_cmds
++archive_expsym_cmds=$lt_archive_expsym_cmds
++postinstall_cmds=$lt_postinstall_cmds
++postuninstall_cmds=$lt_postuninstall_cmds
++
++# Commands to strip libraries.
++old_striplib=$lt_old_striplib
++striplib=$lt_striplib
++
++# Method to check whether dependent libraries are shared objects.
++deplibs_check_method=$lt_deplibs_check_method
++
++# Command to use when deplibs_check_method == file_magic.
++file_magic_cmd=$lt_file_magic_cmd
++
++# Flag that allows shared libraries with undefined symbols to be built.
++allow_undefined_flag=$lt_allow_undefined_flag
++
++# Flag that forces no undefined symbols.
++no_undefined_flag=$lt_no_undefined_flag
++
++# Commands used to finish a libtool library installation in a directory.
++finish_cmds=$lt_finish_cmds
++
++# Same as above, but a single script fragment to be evaled but not shown.
++finish_eval=$lt_finish_eval
++
++# Take the output of nm and produce a listing of raw symbols and C names.
++global_symbol_pipe=$lt_global_symbol_pipe
++
++# Transform the output of nm in a proper C declaration
++global_symbol_to_cdecl=$lt_global_symbol_to_cdecl
++
++# Transform the output of nm in a C name address pair
++global_symbol_to_c_name_address=$lt_global_symbol_to_c_name_address
++
++# This is the shared library runtime path variable.
++runpath_var=$runpath_var
++
++# This is the shared library path variable.
++shlibpath_var=$shlibpath_var
++
++# Is shlibpath searched before the hard-coded library search path?
++shlibpath_overrides_runpath=$shlibpath_overrides_runpath
++
++# How to hardcode a shared library path into an executable.
++hardcode_action=$hardcode_action
++
++# Whether we should hardcode library paths into libraries.
++hardcode_into_libs=$hardcode_into_libs
++
++# Flag to hardcode \$libdir into a binary during linking.
++# This must work even if \$libdir does not exist.
++hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
++
++# Whether we need a single -rpath flag with a separated argument.
++hardcode_libdir_separator=$lt_hardcode_libdir_separator
++
++# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
++# resulting binary.
++hardcode_direct=$hardcode_direct
++
++# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
++# resulting binary.
++hardcode_minus_L=$hardcode_minus_L
++
++# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
++# the resulting binary.
++hardcode_shlibpath_var=$hardcode_shlibpath_var
++
++# Variables whose values should be saved in libtool wrapper scripts and
++# restored at relink time.
++variables_saved_for_relink="$variables_saved_for_relink"
++
++# Whether libtool must link a program against all its dependency libraries.
++link_all_deplibs=$link_all_deplibs
++
++# Compile-time system search path for libraries
++sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
++
++# Run-time system search path for libraries
++sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
++
++# Fix the shell variable \$srcfile for the compiler.
++fix_srcfile_path="$fix_srcfile_path"
++
++# Set to yes if exported symbols are required.
++always_export_symbols=$always_export_symbols
++
++# The commands to list exported symbols.
++export_symbols_cmds=$lt_export_symbols_cmds
++
++# The commands to extract the exported symbol list from a shared archive.
++extract_expsyms_cmds=$lt_extract_expsyms_cmds
++
++# Symbols that should not be listed in the preloaded symbols.
++exclude_expsyms=$lt_exclude_expsyms
++
++# Symbols that must always be exported.
++include_expsyms=$lt_include_expsyms
++
++# ### END LIBTOOL CONFIG
++
++__EOF__
++
++  case $host_os in
++  aix3*)
++    cat <<\EOF >> "${ofile}T"
++
++# AIX sometimes has problems with the GCC collect2 program.  For some
++# reason, if we set the COLLECT_NAMES environment variable, the problems
++# vanish in a puff of smoke.
++if test "X${COLLECT_NAMES+set}" != Xset; then
++  COLLECT_NAMES=
++  export COLLECT_NAMES
++fi
++EOF
++    ;;
++  esac
++
++  case $host_os in
++  cygwin* | mingw* | pw32* | os2*)
++    cat <<'EOF' >> "${ofile}T"
++      # This is a source program that is used to create dlls on Windows
++      # Don't remove nor modify the starting and closing comments
++# /* ltdll.c starts here */
++# #define WIN32_LEAN_AND_MEAN
++# #include <windows.h>
++# #undef WIN32_LEAN_AND_MEAN
++# #include <stdio.h>
++#
++# #ifndef __CYGWIN__
++# #  ifdef __CYGWIN32__
++# #    define __CYGWIN__ __CYGWIN32__
++# #  endif
++# #endif
++#
++# #ifdef __cplusplus
++# extern "C" {
++# #endif
++# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
++# #ifdef __cplusplus
++# }
++# #endif
++#
++# #ifdef __CYGWIN__
++# #include <cygwin/cygwin_dll.h>
++# DECLARE_CYGWIN_DLL( DllMain );
++# #endif
++# HINSTANCE __hDllInstance_base;
++#
++# BOOL APIENTRY
++# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
++# {
++#   __hDllInstance_base = hInst;
++#   return TRUE;
++# }
++# /* ltdll.c ends here */
++	# This is a source program that is used to create import libraries
++	# on Windows for dlls which lack them. Don't remove nor modify the
++	# starting and closing comments
++# /* impgen.c starts here */
++# /*   Copyright (C) 1999-2000 Free Software Foundation, Inc.
++#
++#  This file is part of GNU libtool.
++#
++#  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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
++#  */
++#
++# #include <stdio.h>		/* for printf() */
++# #include <unistd.h>		/* for open(), lseek(), read() */
++# #include <fcntl.h>		/* for O_RDONLY, O_BINARY */
++# #include <string.h>		/* for strdup() */
++#
++# /* O_BINARY isn't required (or even defined sometimes) under Unix */
++# #ifndef O_BINARY
++# #define O_BINARY 0
++# #endif
++#
++# static unsigned int
++# pe_get16 (fd, offset)
++#      int fd;
++#      int offset;
++# {
++#   unsigned char b[2];
++#   lseek (fd, offset, SEEK_SET);
++#   read (fd, b, 2);
++#   return b[0] + (b[1]<<8);
++# }
++#
++# static unsigned int
++# pe_get32 (fd, offset)
++#     int fd;
++#     int offset;
++# {
++#   unsigned char b[4];
++#   lseek (fd, offset, SEEK_SET);
++#   read (fd, b, 4);
++#   return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
++# }
++#
++# static unsigned int
++# pe_as32 (ptr)
++#      void *ptr;
++# {
++#   unsigned char *b = ptr;
++#   return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
++# }
++#
++# int
++# main (argc, argv)
++#     int argc;
++#     char *argv[];
++# {
++#     int dll;
++#     unsigned long pe_header_offset, opthdr_ofs, num_entries, i;
++#     unsigned long export_rva, export_size, nsections, secptr, expptr;
++#     unsigned long name_rvas, nexp;
++#     unsigned char *expdata, *erva;
++#     char *filename, *dll_name;
++#
++#     filename = argv[1];
++#
++#     dll = open(filename, O_RDONLY|O_BINARY);
++#     if (dll < 1)
++# 	return 1;
++#
++#     dll_name = filename;
++#
++#     for (i=0; filename[i]; i++)
++# 	if (filename[i] == '/' || filename[i] == '\\'  || filename[i] == ':')
++# 	    dll_name = filename + i +1;
++#
++#     pe_header_offset = pe_get32 (dll, 0x3c);
++#     opthdr_ofs = pe_header_offset + 4 + 20;
++#     num_entries = pe_get32 (dll, opthdr_ofs + 92);
++#
++#     if (num_entries < 1) /* no exports */
++# 	return 1;
++#
++#     export_rva = pe_get32 (dll, opthdr_ofs + 96);
++#     export_size = pe_get32 (dll, opthdr_ofs + 100);
++#     nsections = pe_get16 (dll, pe_header_offset + 4 +2);
++#     secptr = (pe_header_offset + 4 + 20 +
++# 	      pe_get16 (dll, pe_header_offset + 4 + 16));
++#
++#     expptr = 0;
++#     for (i = 0; i < nsections; i++)
++#     {
++# 	char sname[8];
++# 	unsigned long secptr1 = secptr + 40 * i;
++# 	unsigned long vaddr = pe_get32 (dll, secptr1 + 12);
++# 	unsigned long vsize = pe_get32 (dll, secptr1 + 16);
++# 	unsigned long fptr = pe_get32 (dll, secptr1 + 20);
++# 	lseek(dll, secptr1, SEEK_SET);
++# 	read(dll, sname, 8);
++# 	if (vaddr <= export_rva && vaddr+vsize > export_rva)
++# 	{
++# 	    expptr = fptr + (export_rva - vaddr);
++# 	    if (export_rva + export_size > vaddr + vsize)
++# 		export_size = vsize - (export_rva - vaddr);
++# 	    break;
++# 	}
++#     }
++#
++#     expdata = (unsigned char*)malloc(export_size);
++#     lseek (dll, expptr, SEEK_SET);
++#     read (dll, expdata, export_size);
++#     erva = expdata - export_rva;
++#
++#     nexp = pe_as32 (expdata+24);
++#     name_rvas = pe_as32 (expdata+32);
++#
++#     printf ("EXPORTS\n");
++#     for (i = 0; i<nexp; i++)
++#     {
++# 	unsigned long name_rva = pe_as32 (erva+name_rvas+i*4);
++# 	printf ("\t%s @ %ld ;\n", erva+name_rva, 1+ i);
++#     }
++#
++#     return 0;
++# }
++# /* impgen.c ends here */
++
++EOF
++    ;;
++  esac
++
++  # We use sed instead of cat because bash on DJGPP gets confused if
++  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
++  # text mode, it properly converts lines to CR/LF.  This bash problem
++  # is reportedly fixed, but why not run on old versions too?
++  sed '$q' "$ltmain" >> "${ofile}T" || (rm -f "${ofile}T"; exit 1)
++
++  mv -f "${ofile}T" "$ofile" || \
++    (rm -f "$ofile" && cp "${ofile}T" "$ofile" && rm -f "${ofile}T")
++  chmod +x "$ofile"
++fi
++
++
++
++
++
++# This can be used to rebuild libtool when needed
++LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
++
++# Always use our own libtool.
++LIBTOOL='$(SHELL) $(top_builddir)/libtool'
++
++# Prevent multiple expansion
++
++
++
++
++WFLAGS_NOUNUSED=""
++WFLAGS_NOIMPLICITINT=""
++if test -z "$WFLAGS" -a "$GCC" = "yes"; then
++  # -Wno-implicit-int for broken X11 headers
++  # leave these out for now:
++  #   -Wcast-align doesn't work well on alpha osf/1
++  #   -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast
++  #   -Wmissing-declarations -Wnested-externs
++  WFLAGS="-Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs"
++  WFLAGS_NOUNUSED="-Wno-unused"
++  WFLAGS_NOIMPLICITINT="-Wno-implicit-int"
++fi
++
++
++
++
++# Check whether --with-openldap or --without-openldap was given.
++if test "${with_openldap+set}" = set; then
++  withval="$with_openldap"
++  
++fi; 
++
++# Check whether --with-openldap-lib or --without-openldap-lib was given.
++if test "${with_openldap_lib+set}" = set; then
++  withval="$with_openldap_lib"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-openldap-lib" >&5
++echo "$as_me: error: No argument for --with-openldap-lib" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_openldap" = "X"; then
++  with_openldap=yes
++fi
++fi; 
++
++# Check whether --with-openldap-include or --without-openldap-include was given.
++if test "${with_openldap_include+set}" = set; then
++  withval="$with_openldap_include"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-openldap-include" >&5
++echo "$as_me: error: No argument for --with-openldap-include" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_openldap" = "X"; then
++  with_openldap=yes
++fi
++fi; 
++
++# Check whether --with-openldap-config or --without-openldap-config was given.
++if test "${with_openldap_config+set}" = set; then
++  withval="$with_openldap_config"
++  
++fi; 
++
++
++
++echo "$as_me:$LINENO: checking for openldap" >&5
++echo $ECHO_N "checking for openldap... $ECHO_C" >&6
++
++case "$with_openldap" in
++yes|"") d='' ;;
++no)	d= ;;
++*)	d="$with_openldap" ;;
++esac
++
++header_dirs=
++lib_dirs=
++for i in $d /usr; do
++	if test "$with_openldap_include" = ""; then
++		if test -d "$i/include/openldap"; then
++			header_dirs="$header_dirs $i/include/openldap"
++		fi
++		if test -d "$i/include"; then
++			header_dirs="$header_dirs $i/include"
++		fi
++	fi
++	if test "$with_openldap_lib" = ""; then
++		if test -d "$i/lib$abilibdirext"; then
++			lib_dirs="$lib_dirs $i/lib$abilibdirext"
++		fi
++	fi
++done
++
++if test "$with_openldap_include"; then
++	header_dirs="$with_openldap_include $header_dirs"
++fi
++if test "$with_openldap_lib"; then
++	lib_dirs="$with_openldap_lib $lib_dirs"
++fi
++
++if test "$with_openldap_config" = ""; then
++	with_openldap_config=''
++fi
++
++openldap_cflags=
++openldap_libs=
++
++case "$with_openldap_config" in
++yes|no|"")
++	;;
++*)
++	openldap_cflags="`$with_openldap_config --cflags 2>&1`"
++	openldap_libs="`$with_openldap_config --libs 2>&1`"
++	;;
++esac
++
++found=no
++if test "$with_openldap" != no; then
++	save_CFLAGS="$CFLAGS"
++	save_LIBS="$LIBS"
++	if test "$openldap_cflags" -a "$openldap_libs"; then
++		CFLAGS="$openldap_cflags $save_CFLAGS"
++		LIBS="$openldap_libs $save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <lber.h>
++#include <ldap.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  
++			INCLUDE_openldap="$openldap_cflags"
++			LIB_openldap="$openldap_libs"
++			echo "$as_me:$LINENO: result: from $with_openldap_config" >&5
++echo "${ECHO_T}from $with_openldap_config" >&6
++			found=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	fi
++	if test "$found" = no; then
++		ires= lres=
++		for i in $header_dirs; do
++			CFLAGS="-I$i $save_CFLAGS"
++			cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <lber.h>
++#include <ldap.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ires=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++		done
++		for i in $lib_dirs; do
++			LIBS="-L$i -lldap -llber  $save_LIBS"
++			cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <lber.h>
++#include <ldap.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  lres=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++		done
++		if test "$ires" -a "$lres" -a "$with_openldap" != "no"; then
++			DIR_openldap=
++			INCLUDE_openldap="-I$ires"
++			LIB_openldap="-L$lres -lldap -llber "
++			found=yes
++			echo "$as_me:$LINENO: result: headers $ires, libraries $lres" >&5
++echo "${ECHO_T}headers $ires, libraries $lres" >&6
++		fi
++	fi
++	CFLAGS="$save_CFLAGS"
++	LIBS="$save_LIBS"
++fi
++
++if test "$found" = yes; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define OPENLDAP 1
++_ACEOF
++
++	with_openldap=yes
++else
++	with_openldap=no
++	DIR_openldap=
++	INCLUDE_openldap=
++	LIB_openldap=
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++
++
++
++
++
++
++
++# Check whether --with-krb4 or --without-krb4 was given.
++if test "${with_krb4+set}" = set; then
++  withval="$with_krb4"
++  
++fi; 
++
++# Check whether --with-krb4-lib or --without-krb4-lib was given.
++if test "${with_krb4_lib+set}" = set; then
++  withval="$with_krb4_lib"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-krb4-lib" >&5
++echo "$as_me: error: No argument for --with-krb4-lib" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_krb4" = "X"; then
++  with_krb4=yes
++fi
++fi; 
++
++# Check whether --with-krb4-include or --without-krb4-include was given.
++if test "${with_krb4_include+set}" = set; then
++  withval="$with_krb4_include"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-krb4-include" >&5
++echo "$as_me: error: No argument for --with-krb4-include" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_krb4" = "X"; then
++  with_krb4=yes
++fi
++fi; 
++
++# Check whether --with-krb4-config or --without-krb4-config was given.
++if test "${with_krb4_config+set}" = set; then
++  withval="$with_krb4_config"
++  
++fi; 
++
++
++
++echo "$as_me:$LINENO: checking for krb4" >&5
++echo $ECHO_N "checking for krb4... $ECHO_C" >&6
++
++case "$with_krb4" in
++yes|"") d='/usr/athena' ;;
++no)	d= ;;
++*)	d="$with_krb4" ;;
++esac
++
++header_dirs=
++lib_dirs=
++for i in $d /usr; do
++	if test "$with_krb4_include" = ""; then
++		if test -d "$i/include/krb4"; then
++			header_dirs="$header_dirs $i/include/krb4"
++		fi
++		if test -d "$i/include"; then
++			header_dirs="$header_dirs $i/include"
++		fi
++	fi
++	if test "$with_krb4_lib" = ""; then
++		if test -d "$i/lib$abilibdirext"; then
++			lib_dirs="$lib_dirs $i/lib$abilibdirext"
++		fi
++	fi
++done
++
++if test "$with_krb4_include"; then
++	header_dirs="$with_krb4_include $header_dirs"
++fi
++if test "$with_krb4_lib"; then
++	lib_dirs="$with_krb4_lib $lib_dirs"
++fi
++
++if test "$with_krb4_config" = ""; then
++	with_krb4_config='krb4-config'
++fi
++
++krb4_cflags=
++krb4_libs=
++
++case "$with_krb4_config" in
++yes|no|"")
++	;;
++*)
++	krb4_cflags="`$with_krb4_config --cflags 2>&1`"
++	krb4_libs="`$with_krb4_config --libs 2>&1`"
++	;;
++esac
++
++found=no
++if test "$with_krb4" != no; then
++	save_CFLAGS="$CFLAGS"
++	save_LIBS="$LIBS"
++	if test "$krb4_cflags" -a "$krb4_libs"; then
++		CFLAGS="$krb4_cflags $save_CFLAGS"
++		LIBS="$krb4_libs $save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <krb.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  
++			INCLUDE_krb4="$krb4_cflags"
++			LIB_krb4="$krb4_libs"
++			echo "$as_me:$LINENO: result: from $with_krb4_config" >&5
++echo "${ECHO_T}from $with_krb4_config" >&6
++			found=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	fi
++	if test "$found" = no; then
++		ires= lres=
++		for i in $header_dirs; do
++			CFLAGS="-I$i $save_CFLAGS"
++			cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <krb.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ires=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++		done
++		for i in $lib_dirs; do
++			LIBS="-L$i -lkrb -lcrypt $save_LIBS"
++			cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <krb.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  lres=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++		done
++		if test "$ires" -a "$lres" -a "$with_krb4" != "no"; then
++			DIR_krb4=
++			INCLUDE_krb4="-I$ires"
++			LIB_krb4="-L$lres -lkrb -lcrypt"
++			found=yes
++			echo "$as_me:$LINENO: result: headers $ires, libraries $lres" >&5
++echo "${ECHO_T}headers $ires, libraries $lres" >&6
++		fi
++	fi
++	CFLAGS="$save_CFLAGS"
++	LIBS="$save_LIBS"
++fi
++
++if test "$found" = yes; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define KRB4 1
++_ACEOF
++
++	with_krb4=yes
++else
++	with_krb4=no
++	DIR_krb4=
++	INCLUDE_krb4=
++	LIB_krb4=
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++
++
++
++
++
++LIB_kdb=
++if test "$with_krb4" != "no"; then
++	save_CFLAGS="$CFLAGS"
++	CFLAGS="$CFLAGS $INCLUDE_krb4"
++	save_LIBS="$LIBS"
++	LIBS="$LIB_krb4 $LIBS"
++	EXTRA_LIB45=lib45.a
++	
++	echo "$as_me:$LINENO: checking for four valued krb_put_int" >&5
++echo $ECHO_N "checking for four valued krb_put_int... $ECHO_C" >&6
++if test "${ac_cv_func_krb_put_int_four+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <krb.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++		char tmp[4];
++		krb_put_int(17, tmp, 4, sizeof(tmp));
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_krb_put_int_four=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_krb_put_int_four=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++	
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_krb_put_int_four" >&5
++echo "${ECHO_T}$ac_cv_func_krb_put_int_four" >&6
++	if test "$ac_cv_func_krb_put_int_four" = yes; then
++		
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_FOUR_VALUED_KRB_PUT_INT 1
++_ACEOF
++
++	fi
++	
++
++	echo "$as_me:$LINENO: checking for KRB_VERIFY_SECURE" >&5
++echo $ECHO_N "checking for KRB_VERIFY_SECURE... $ECHO_C" >&6
++if test "${ac_cv_func_krb_verify_secure+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <krb.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++		int x = KRB_VERIFY_SECURE
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_krb_verify_secure=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_krb_verify_secure=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++	
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_krb_verify_secure" >&5
++echo "${ECHO_T}$ac_cv_func_krb_verify_secure" >&6
++	if test "$ac_cv_func_krb_verify_secure" != yes; then
++		
++cat >>confdefs.h <<\_ACEOF
++@%:@define KRB_VERIFY_SECURE 1
++_ACEOF
++
++		
++cat >>confdefs.h <<\_ACEOF
++@%:@define KRB_VERIFY_SECURE_FAIL 2
++_ACEOF
++
++	fi
++	echo "$as_me:$LINENO: checking for KRB_VERIFY_NOT_SECURE" >&5
++echo $ECHO_N "checking for KRB_VERIFY_NOT_SECURE... $ECHO_C" >&6
++if test "${ac_cv_func_krb_verify_not_secure+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <krb.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++		int x = KRB_VERIFY_NOT_SECURE
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_krb_verify_not_secure=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_krb_verify_not_secure=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++	
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_krb_verify_not_secure" >&5
++echo "${ECHO_T}$ac_cv_func_krb_verify_not_secure" >&6
++	if test "$ac_cv_func_krb_verify_not_secure" != yes; then
++		
++cat >>confdefs.h <<\_ACEOF
++@%:@define KRB_VERIFY_NOT_SECURE 0
++_ACEOF
++
++	fi
++	
++
++
++
++echo "$as_me:$LINENO: checking for krb_enable_debug" >&5
++echo $ECHO_N "checking for krb_enable_debug... $ECHO_C" >&6
++if test "${ac_cv_funclib_krb_enable_debug+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_krb_enable_debug\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++krb_enable_debug()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_krb_enable_debug=$ac_lib; else ac_cv_funclib_krb_enable_debug=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_krb_enable_debug=\${ac_cv_funclib_krb_enable_debug-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_krb_enable_debug"
++
++if false; then
++	
++for ac_func in krb_enable_debug
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# krb_enable_debug
++eval "ac_tr_func=HAVE_`echo krb_enable_debug | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_krb_enable_debug=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_krb_enable_debug=yes"
++	eval "LIB_krb_enable_debug="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_krb_enable_debug=no"
++	eval "LIB_krb_enable_debug="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_krb_enable_debug=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_krb_enable_debug"; then
++	LIBS="$LIB_krb_enable_debug $LIBS"
++fi
++
++	
++
++
++
++echo "$as_me:$LINENO: checking for krb_disable_debug" >&5
++echo $ECHO_N "checking for krb_disable_debug... $ECHO_C" >&6
++if test "${ac_cv_funclib_krb_disable_debug+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_krb_disable_debug\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++krb_disable_debug()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_krb_disable_debug=$ac_lib; else ac_cv_funclib_krb_disable_debug=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_krb_disable_debug=\${ac_cv_funclib_krb_disable_debug-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_krb_disable_debug"
++
++if false; then
++	
++for ac_func in krb_disable_debug
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# krb_disable_debug
++eval "ac_tr_func=HAVE_`echo krb_disable_debug | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_krb_disable_debug=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_krb_disable_debug=yes"
++	eval "LIB_krb_disable_debug="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_krb_disable_debug=no"
++	eval "LIB_krb_disable_debug="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_krb_disable_debug=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_krb_disable_debug"; then
++	LIBS="$LIB_krb_disable_debug $LIBS"
++fi
++
++	
++
++
++
++echo "$as_me:$LINENO: checking for krb_get_our_ip_for_realm" >&5
++echo $ECHO_N "checking for krb_get_our_ip_for_realm... $ECHO_C" >&6
++if test "${ac_cv_funclib_krb_get_our_ip_for_realm+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_krb_get_our_ip_for_realm\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++krb_get_our_ip_for_realm()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_krb_get_our_ip_for_realm=$ac_lib; else ac_cv_funclib_krb_get_our_ip_for_realm=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_krb_get_our_ip_for_realm=\${ac_cv_funclib_krb_get_our_ip_for_realm-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_krb_get_our_ip_for_realm"
++
++if false; then
++	
++for ac_func in krb_get_our_ip_for_realm
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# krb_get_our_ip_for_realm
++eval "ac_tr_func=HAVE_`echo krb_get_our_ip_for_realm | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_krb_get_our_ip_for_realm=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_krb_get_our_ip_for_realm=yes"
++	eval "LIB_krb_get_our_ip_for_realm="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_krb_get_our_ip_for_realm=no"
++	eval "LIB_krb_get_our_ip_for_realm="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_krb_get_our_ip_for_realm=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_krb_get_our_ip_for_realm"; then
++	LIBS="$LIB_krb_get_our_ip_for_realm $LIBS"
++fi
++
++	
++
++
++
++echo "$as_me:$LINENO: checking for krb_kdctimeofday" >&5
++echo $ECHO_N "checking for krb_kdctimeofday... $ECHO_C" >&6
++if test "${ac_cv_funclib_krb_kdctimeofday+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_krb_kdctimeofday\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++krb_kdctimeofday()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_krb_kdctimeofday=$ac_lib; else ac_cv_funclib_krb_kdctimeofday=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_krb_kdctimeofday=\${ac_cv_funclib_krb_kdctimeofday-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_krb_kdctimeofday"
++
++if false; then
++	
++for ac_func in krb_kdctimeofday
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# krb_kdctimeofday
++eval "ac_tr_func=HAVE_`echo krb_kdctimeofday | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_krb_kdctimeofday=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_krb_kdctimeofday=yes"
++	eval "LIB_krb_kdctimeofday="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_krb_kdctimeofday=no"
++	eval "LIB_krb_kdctimeofday="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_krb_kdctimeofday=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_krb_kdctimeofday"; then
++	LIBS="$LIB_krb_kdctimeofday $LIBS"
++fi
++
++	
++
++	
++
++
++
++echo "$as_me:$LINENO: checking for krb_get_kdc_time_diff" >&5
++echo $ECHO_N "checking for krb_get_kdc_time_diff... $ECHO_C" >&6
++if test "${ac_cv_funclib_krb_get_kdc_time_diff+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_krb_get_kdc_time_diff\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++krb_get_kdc_time_diff()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_krb_get_kdc_time_diff=$ac_lib; else ac_cv_funclib_krb_get_kdc_time_diff=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_krb_get_kdc_time_diff=\${ac_cv_funclib_krb_get_kdc_time_diff-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_krb_get_kdc_time_diff"
++
++if false; then
++	
++for ac_func in krb_get_kdc_time_diff
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# krb_get_kdc_time_diff
++eval "ac_tr_func=HAVE_`echo krb_get_kdc_time_diff | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_krb_get_kdc_time_diff=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_krb_get_kdc_time_diff=yes"
++	eval "LIB_krb_get_kdc_time_diff="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_krb_get_kdc_time_diff=no"
++	eval "LIB_krb_get_kdc_time_diff="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_krb_get_kdc_time_diff=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_krb_get_kdc_time_diff"; then
++	LIBS="$LIB_krb_get_kdc_time_diff $LIBS"
++fi
++
++	
++
++	echo "$as_me:$LINENO: checking for KRB_SENDAUTH_VERS" >&5
++echo $ECHO_N "checking for KRB_SENDAUTH_VERS... $ECHO_C" >&6
++if test "${ac_cv_func_krb_sendauth_vers+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <krb.h>
++			#include <prot.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++		char *x = KRB_SENDAUTH_VERS
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_krb_sendauth_vers=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_krb_sendauth_vers=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++	
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_krb_sendauth_vers" >&5
++echo "${ECHO_T}$ac_cv_func_krb_sendauth_vers" >&6
++	if test "$ac_cv_func_krb_sendauth_vers" != yes; then
++		
++cat >>confdefs.h <<\_ACEOF
++@%:@define KRB_SENDAUTH_VERS "AUTHV0.1"
++_ACEOF
++
++	fi
++	echo "$as_me:$LINENO: checking for krb_mk_req with const arguments" >&5
++echo $ECHO_N "checking for krb_mk_req with const arguments... $ECHO_C" >&6
++if test "${ac_cv_func_krb_mk_req_const+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <krb.h>
++		int krb_mk_req(KTEXT a, const char *s, const char *i,
++			       const char *r, int32_t checksum)
++		{ return 17; }
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_krb_mk_req_const=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_krb_mk_req_const=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++	
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_krb_mk_req_const" >&5
++echo "${ECHO_T}$ac_cv_func_krb_mk_req_const" >&6
++	if test "$ac_cv_func_krb_mk_req_const" = "yes"; then
++		
++cat >>confdefs.h <<\_ACEOF
++@%:@define KRB_MK_REQ_CONST 1
++_ACEOF
++
++	fi
++
++	LIBS="$save_LIBS"
++	CFLAGS="$save_CFLAGS"
++	LIB_kdb="-lkdb -lkrb"
++fi
++
++
++if test "$with_krb4" != "no"; then
++  KRB4_TRUE=
++  KRB4_FALSE='#'
++else
++  KRB4_TRUE='#'
++  KRB4_FALSE=
++fi
++
++
++
++if true; then
++  KRB5_TRUE=
++  KRB5_FALSE='#'
++else
++  KRB5_TRUE='#'
++  KRB5_FALSE=
++fi
++
++
++
++if true; then
++  do_roken_rename_TRUE=
++  do_roken_rename_FALSE='#'
++else
++  do_roken_rename_TRUE='#'
++  do_roken_rename_FALSE=
++fi
++
++
++
++cat >>confdefs.h <<\_ACEOF
++@%:@define KRB5 1
++_ACEOF
++
++
++crypto_lib=unknown
++
++
++# Check whether --with-openssl or --without-openssl was given.
++if test "${with_openssl+set}" = set; then
++  withval="$with_openssl"
++  
++fi; 
++
++
++# Check whether --with-openssl-lib or --without-openssl-lib was given.
++if test "${with_openssl_lib+set}" = set; then
++  withval="$with_openssl_lib"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-openssl-lib" >&5
++echo "$as_me: error: No argument for --with-openssl-lib" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_openssl" = "X"; then
++  with_openssl=yes
++fi
++fi; 
++
++
++# Check whether --with-openssl-include or --without-openssl-include was given.
++if test "${with_openssl_include+set}" = set; then
++  withval="$with_openssl_include"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-openssl-include" >&5
++echo "$as_me: error: No argument for --with-openssl-include" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_openssl" = "X"; then
++  with_openssl=yes
++fi
++fi; 
++
++case "$with_openssl" in
++yes)	;;
++no)	;;
++"")	;;
++*)	if test "$with_openssl_include" = ""; then
++		with_openssl_include="$with_openssl/include"
++	fi
++	if test "$with_openssl_lib" = ""; then
++		with_openssl_lib="$with_openssl/lib$abilibdirext"
++	fi
++	;;
++esac
++
++
++DIR_des=
++
++echo "$as_me:$LINENO: checking for crypto library" >&5
++echo $ECHO_N "checking for crypto library... $ECHO_C" >&6
++
++openssl=no
++old_hash=no
++
++if test "$crypto_lib" = "unknown" -a "$with_krb4" != "no"; then
++	save_CPPFLAGS="$CPPFLAGS"
++	save_LIBS="$LIBS"
++
++	cdirs= clibs=
++	for i in $LIB_krb4; do
++		case "$i" in
++		-L*) cdirs="$cdirs $i";;
++		-l*) clibs="$clibs $i";;
++		esac
++	done
++
++	ires=
++	for i in $INCLUDE_krb4; do
++		CFLAGS="-DHAVE_OPENSSL $i $save_CFLAGS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++		#undef KRB5 /* makes md4.h et al unhappy */
++		#ifdef HAVE_OPENSSL
++		#include <openssl/md4.h>
++		#include <openssl/md5.h>
++		#include <openssl/sha.h>
++		#include <openssl/des.h>
++		#include <openssl/rc4.h>
++		#else
++		#include <md4.h>
++		#include <md5.h>
++		#include <sha.h>
++		#include <des.h>
++		#include <rc4.h>
++		#endif
++		#ifdef OLD_HASH_NAMES
++		typedef struct md4 MD4_CTX;
++		#define MD4_Init(C) md4_init((C))
++		#define MD4_Update(C, D, L) md4_update((C), (D), (L))
++		#define MD4_Final(D, C) md4_finito((C), (D))
++		typedef struct md5 MD5_CTX;
++		#define MD5_Init(C) md5_init((C))
++		#define MD5_Update(C, D, L) md5_update((C), (D), (L))
++		#define MD5_Final(D, C) md5_finito((C), (D))
++		typedef struct sha SHA_CTX;
++		#define SHA1_Init(C) sha_init((C))
++		#define SHA1_Update(C, D, L) sha_update((C), (D), (L))
++		#define SHA1_Final(D, C) sha_finito((C), (D))
++		#endif
++		
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++		void *schedule = 0;
++		MD4_CTX md4;
++		MD5_CTX md5;
++		SHA_CTX sha1;
++
++		MD4_Init(&md4);
++		MD5_Init(&md5);
++		SHA1_Init(&sha1);
++
++		des_cbc_encrypt(0, 0, 0, schedule, 0, 0);
++		RC4(0, 0, 0, 0);
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  openssl=yes ires="$i"; break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++		CFLAGS="$i $save_CFLAGS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++		#undef KRB5 /* makes md4.h et al unhappy */
++		#ifdef HAVE_OPENSSL
++		#include <openssl/md4.h>
++		#include <openssl/md5.h>
++		#include <openssl/sha.h>
++		#include <openssl/des.h>
++		#include <openssl/rc4.h>
++		#else
++		#include <md4.h>
++		#include <md5.h>
++		#include <sha.h>
++		#include <des.h>
++		#include <rc4.h>
++		#endif
++		#ifdef OLD_HASH_NAMES
++		typedef struct md4 MD4_CTX;
++		#define MD4_Init(C) md4_init((C))
++		#define MD4_Update(C, D, L) md4_update((C), (D), (L))
++		#define MD4_Final(D, C) md4_finito((C), (D))
++		typedef struct md5 MD5_CTX;
++		#define MD5_Init(C) md5_init((C))
++		#define MD5_Update(C, D, L) md5_update((C), (D), (L))
++		#define MD5_Final(D, C) md5_finito((C), (D))
++		typedef struct sha SHA_CTX;
++		#define SHA1_Init(C) sha_init((C))
++		#define SHA1_Update(C, D, L) sha_update((C), (D), (L))
++		#define SHA1_Final(D, C) sha_finito((C), (D))
++		#endif
++		
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++		void *schedule = 0;
++		MD4_CTX md4;
++		MD5_CTX md5;
++		SHA_CTX sha1;
++
++		MD4_Init(&md4);
++		MD5_Init(&md5);
++		SHA1_Init(&sha1);
++
++		des_cbc_encrypt(0, 0, 0, schedule, 0, 0);
++		RC4(0, 0, 0, 0);
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  openssl=no ires="$i"; break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++		CFLAGS="-DOLD_HASH_NAMES $i $save_CFLAGS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++		#undef KRB5 /* makes md4.h et al unhappy */
++		#ifdef HAVE_OPENSSL
++		#include <openssl/md4.h>
++		#include <openssl/md5.h>
++		#include <openssl/sha.h>
++		#include <openssl/des.h>
++		#include <openssl/rc4.h>
++		#else
++		#include <md4.h>
++		#include <md5.h>
++		#include <sha.h>
++		#include <des.h>
++		#include <rc4.h>
++		#endif
++		#ifdef OLD_HASH_NAMES
++		typedef struct md4 MD4_CTX;
++		#define MD4_Init(C) md4_init((C))
++		#define MD4_Update(C, D, L) md4_update((C), (D), (L))
++		#define MD4_Final(D, C) md4_finito((C), (D))
++		typedef struct md5 MD5_CTX;
++		#define MD5_Init(C) md5_init((C))
++		#define MD5_Update(C, D, L) md5_update((C), (D), (L))
++		#define MD5_Final(D, C) md5_finito((C), (D))
++		typedef struct sha SHA_CTX;
++		#define SHA1_Init(C) sha_init((C))
++		#define SHA1_Update(C, D, L) sha_update((C), (D), (L))
++		#define SHA1_Final(D, C) sha_finito((C), (D))
++		#endif
++		
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++		void *schedule = 0;
++		MD4_CTX md4;
++		MD5_CTX md5;
++		SHA_CTX sha1;
++
++		MD4_Init(&md4);
++		MD5_Init(&md5);
++		SHA1_Init(&sha1);
++
++		des_cbc_encrypt(0, 0, 0, schedule, 0, 0);
++		RC4(0, 0, 0, 0);
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  openssl=no ires="$i" old_hash=yes; break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++	done
++	lres=
++	for i in $cdirs; do
++		for j in $clibs; do
++			LIBS="$i $j $save_LIBS -lcrypt"
++			cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++		#undef KRB5 /* makes md4.h et al unhappy */
++		#ifdef HAVE_OPENSSL
++		#include <openssl/md4.h>
++		#include <openssl/md5.h>
++		#include <openssl/sha.h>
++		#include <openssl/des.h>
++		#include <openssl/rc4.h>
++		#else
++		#include <md4.h>
++		#include <md5.h>
++		#include <sha.h>
++		#include <des.h>
++		#include <rc4.h>
++		#endif
++		#ifdef OLD_HASH_NAMES
++		typedef struct md4 MD4_CTX;
++		#define MD4_Init(C) md4_init((C))
++		#define MD4_Update(C, D, L) md4_update((C), (D), (L))
++		#define MD4_Final(D, C) md4_finito((C), (D))
++		typedef struct md5 MD5_CTX;
++		#define MD5_Init(C) md5_init((C))
++		#define MD5_Update(C, D, L) md5_update((C), (D), (L))
++		#define MD5_Final(D, C) md5_finito((C), (D))
++		typedef struct sha SHA_CTX;
++		#define SHA1_Init(C) sha_init((C))
++		#define SHA1_Update(C, D, L) sha_update((C), (D), (L))
++		#define SHA1_Final(D, C) sha_finito((C), (D))
++		#endif
++		
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++		void *schedule = 0;
++		MD4_CTX md4;
++		MD5_CTX md5;
++		SHA_CTX sha1;
++
++		MD4_Init(&md4);
++		MD5_Init(&md5);
++		SHA1_Init(&sha1);
++
++		des_cbc_encrypt(0, 0, 0, schedule, 0, 0);
++		RC4(0, 0, 0, 0);
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  lres="$i $j"; break 2
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++		done
++	done
++	CFLAGS="$save_CFLAGS"
++	LIBS="$save_LIBS"
++	if test "$ires" -a "$lres"; then
++		INCLUDE_des="$ires"
++		LIB_des="$lres"
++		crypto_lib=krb4
++		echo "$as_me:$LINENO: result: same as krb4" >&5
++echo "${ECHO_T}same as krb4" >&6
++		LIB_des_a='$(LIB_des)'
++		LIB_des_so='$(LIB_des)'
++		LIB_des_appl='$(LIB_des)'
++	fi
++fi
++
++if test "$crypto_lib" = "unknown" -a "$with_openssl" != "no"; then
++	save_CFLAGS="$CFLAGS"
++	save_LIBS="$LIBS"
++	INCLUDE_des=
++	LIB_des=
++	if test "$with_openssl_include" != ""; then
++		INCLUDE_des="-I${with_openssl}/include"
++	fi
++	if test "$with_openssl_lib" != ""; then
++		LIB_des="-L${with_openssl}/lib"
++	fi
++	CFLAGS="-DHAVE_OPENSSL ${INCLUDE_des} ${CFLAGS}"
++	LIB_des="${LIB_des} -lcrypto"
++	LIB_des_a="$LIB_des"
++	LIB_des_so="$LIB_des"
++	LIB_des_appl="$LIB_des"
++	LIBS="${LIBS} ${LIB_des}"
++	cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++		#undef KRB5 /* makes md4.h et al unhappy */
++		#ifdef HAVE_OPENSSL
++		#include <openssl/md4.h>
++		#include <openssl/md5.h>
++		#include <openssl/sha.h>
++		#include <openssl/des.h>
++		#include <openssl/rc4.h>
++		#else
++		#include <md4.h>
++		#include <md5.h>
++		#include <sha.h>
++		#include <des.h>
++		#include <rc4.h>
++		#endif
++		#ifdef OLD_HASH_NAMES
++		typedef struct md4 MD4_CTX;
++		#define MD4_Init(C) md4_init((C))
++		#define MD4_Update(C, D, L) md4_update((C), (D), (L))
++		#define MD4_Final(D, C) md4_finito((C), (D))
++		typedef struct md5 MD5_CTX;
++		#define MD5_Init(C) md5_init((C))
++		#define MD5_Update(C, D, L) md5_update((C), (D), (L))
++		#define MD5_Final(D, C) md5_finito((C), (D))
++		typedef struct sha SHA_CTX;
++		#define SHA1_Init(C) sha_init((C))
++		#define SHA1_Update(C, D, L) sha_update((C), (D), (L))
++		#define SHA1_Final(D, C) sha_finito((C), (D))
++		#endif
++		
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++		void *schedule = 0;
++		MD4_CTX md4;
++		MD5_CTX md5;
++		SHA_CTX sha1;
++
++		MD4_Init(&md4);
++		MD5_Init(&md5);
++		SHA1_Init(&sha1);
++
++		des_cbc_encrypt(0, 0, 0, schedule, 0, 0);
++		RC4(0, 0, 0, 0);
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  
++		crypto_lib=libcrypto openssl=yes
++		echo "$as_me:$LINENO: result: libcrypto" >&5
++echo "${ECHO_T}libcrypto" >&6
++	
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	CFLAGS="$save_CFLAGS"
++	LIBS="$save_LIBS"
++fi
++
++if test "$crypto_lib" = "unknown"; then
++
++  DIR_des='des'
++  LIB_des='$(top_builddir)/lib/des/libdes.la'
++  LIB_des_a='$(top_builddir)/lib/des/.libs/libdes.a'
++  LIB_des_so='$(top_builddir)/lib/des/.libs/libdes.so'
++  LIB_des_appl="-ldes"
++
++  echo "$as_me:$LINENO: result: included libdes" >&5
++echo "${ECHO_T}included libdes" >&6
++
++fi
++
++if test "$with_krb4" != no -a "$crypto_lib" != krb4; then
++	{ { echo "$as_me:$LINENO: error: the crypto library used by krb4 lacks features
++required by Kerberos 5; to continue, you need to install a newer 
++Kerberos 4 or configure --without-krb4" >&5
++echo "$as_me: error: the crypto library used by krb4 lacks features
++required by Kerberos 5; to continue, you need to install a newer 
++Kerberos 4 or configure --without-krb4" >&2;}
++   { (exit 1); exit 1; }; }
++fi
++
++if test "$openssl" = "yes"; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_OPENSSL 1
++_ACEOF
++
++fi
++if test "$old_hash" = yes; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_OLD_HASH_NAMES 1
++_ACEOF
++
++fi
++
++
++if test "$openssl" = yes; then
++  HAVE_OPENSSL_TRUE=
++  HAVE_OPENSSL_FALSE='#'
++else
++  HAVE_OPENSSL_TRUE='#'
++  HAVE_OPENSSL_FALSE=
++fi
++
++
++
++
++
++
++
++
++
++# Check whether --enable-dce or --disable-dce was given.
++if test "${enable_dce+set}" = set; then
++  enableval="$enable_dce"
++  
++fi; 
++if test "$enable_dce" = yes; then
++    
++cat >>confdefs.h <<\_ACEOF
++@%:@define DCE 1
++_ACEOF
++
++fi
++
++
++if test "$enable_dce" = yes; then
++  DCE_TRUE=
++  DCE_FALSE='#'
++else
++  DCE_TRUE='#'
++  DCE_FALSE=
++fi
++
++
++## XXX quite horrible:
++if test -f /etc/ibmcxx.cfg; then
++	dpagaix_ldadd=`sed -n '/^xlc_r4/,/^$/p' /etc/ibmcxx.cfg | sed -n -e '/libraries/{;s/^[^=]*=\(.*\)/\1/;s/,/ /gp;}'`
++	dpagaix_cflags=`sed -n '/^xlc_r4/,/^$/p' /etc/ibmcxx.cfg | sed -n -e '/options/{;s/^[^=]*=\(.*\)/\1/;s/-q^,*//;s/,/ /gp;}'`
++	dpagaix_ldflags=
++else
++	dpagaix_cflags="-D_THREAD_SAFE -D_AIX_PTHREADS_D7 -D_AIX32_THREADS=1 -D_AES_SOURCE -D_AIX41 -I/usr/include/dce"
++	dpagaix_ldadd="-L/usr/lib/threads -ldcelibc_r -ldcepthreads -lpthreads_compat lpthreads -lc_r"
++	dpagaix_ldflags="-Wl,-bI:dfspag.exp"
++fi
++
++
++
++
++
++# Check whether --enable-berkeley-db or --disable-berkeley-db was given.
++if test "${enable_berkeley_db+set}" = set; then
++  enableval="$enable_berkeley_db"
++  
++
++fi; 
++
++have_ndbm=no
++db_type=unknown
++
++if test "$enable_berkeley_db" != no; then
++
++  
++
++
++
++for ac_header in 				\
++	db4/db.h				\
++	db3/db.h				\
++	db.h					\
++	db_185.h				\
++  
++do
++as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++else
++  # Is the header compilable?
++echo "$as_me:$LINENO: checking $ac_header usability" >&5
++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++$ac_includes_default
++@%:@include <$ac_header>
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_header_compiler=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_header_compiler=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
++echo "${ECHO_T}$ac_header_compiler" >&6
++
++# Is the header present?
++echo "$as_me:$LINENO: checking $ac_header presence" >&5
++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++@%:@include <$ac_header>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  egrep -v '^ *\+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  ac_header_preproc=yes
++else
++  echo "$as_me: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_header_preproc=no
++fi
++rm -f conftest.err conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
++echo "${ECHO_T}$ac_header_preproc" >&6
++
++# So?  What about this header?
++case $ac_header_compiler:$ac_header_preproc in
++  yes:no )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
++echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++  no:yes )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
++echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
++echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++esac
++echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  eval "$as_ac_Header=$ac_header_preproc"
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++
++fi
++if test `eval echo '${'$as_ac_Header'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++
++done
++
++
++
++  
++
++
++echo "$as_me:$LINENO: checking for db_create" >&5
++echo $ECHO_N "checking for db_create... $ECHO_C" >&6
++if test "${ac_cv_funclib_db_create+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_db_create\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" db4 db3 db; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++  #include <stdio.h>
++  #ifdef HAVE_DB4_DB_H
++  #include <db4/db.h>
++  #elif defined(HAVE_DB3_DB_H)
++  #include <db3/db.h>
++  #else
++  #include <db.h>
++  #endif
++  
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++db_create(NULL, NULL, 0)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_db_create=$ac_lib; else ac_cv_funclib_db_create=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_db_create=\${ac_cv_funclib_db_create-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_db_create"
++
++if false; then
++	
++for ac_func in db_create
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# db_create
++eval "ac_tr_func=HAVE_`echo db_create | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_db_create=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_db_create=yes"
++	eval "LIB_db_create="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_db_create=no"
++	eval "LIB_db_create="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_db_create=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++
++  if test "$ac_cv_func_db_create" = "yes"; then
++    db_type=db3
++    if test "$ac_cv_funclib_db_create" != "yes"; then
++      DBLIB="$ac_cv_funclib_db_create"
++    else
++      DBLIB=""
++    fi
++    
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_DB3 1
++_ACEOF
++
++  else
++
++
++    
++
++
++echo "$as_me:$LINENO: checking for dbopen" >&5
++echo $ECHO_N "checking for dbopen... $ECHO_C" >&6
++if test "${ac_cv_funclib_dbopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_dbopen\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" db2 db; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++    #include <stdio.h>
++    #if defined(HAVE_DB2_DB_H)
++    #include <db2/db.h>
++    #elif defined(HAVE_DB_185_H)
++    #include <db_185.h>
++    #elif defined(HAVE_DB_H)
++    #include <db.h>
++    #else
++    #error no db.h
++    #endif
++    
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++dbopen(NULL, 0, 0, 0, NULL)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_dbopen=$ac_lib; else ac_cv_funclib_dbopen=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_dbopen=\${ac_cv_funclib_dbopen-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_dbopen"
++
++if false; then
++	
++for ac_func in dbopen
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# dbopen
++eval "ac_tr_func=HAVE_`echo dbopen | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_dbopen=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_dbopen=yes"
++	eval "LIB_dbopen="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_dbopen=no"
++	eval "LIB_dbopen="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_dbopen=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++
++    if test "$ac_cv_func_dbopen" = "yes"; then
++      db_type=db1
++      if test "$ac_cv_funclib_dbopen" != "yes"; then
++        DBLIB="$ac_cv_funclib_dbopen"
++      else
++        DBLIB=""
++      fi
++      
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_DB1 1
++_ACEOF
++
++    fi
++  fi
++
++
++  if test "$ac_cv_func_dbm_firstkey" != yes; then
++    
++
++echo "$as_me:$LINENO: checking for dbm_firstkey" >&5
++echo $ECHO_N "checking for dbm_firstkey... $ECHO_C" >&6
++if test "${ac_cv_funclib_dbm_firstkey+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_dbm_firstkey\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in $ac_cv_funclib_dbopen $ac_cv_funclib_db_create; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++    #include <stdio.h>
++    #define DB_DBM_HSEARCH 1
++    #include <db.h>
++    DBM *dbm;
++    
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++dbm_firstkey(NULL)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_dbm_firstkey=$ac_lib; else ac_cv_funclib_dbm_firstkey=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_dbm_firstkey=\${ac_cv_funclib_dbm_firstkey-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_dbm_firstkey"
++
++if false; then
++	
++for ac_func in dbm_firstkey
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# dbm_firstkey
++eval "ac_tr_func=HAVE_`echo dbm_firstkey | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_dbm_firstkey=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_dbm_firstkey=yes"
++	eval "LIB_dbm_firstkey="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_dbm_firstkey=no"
++	eval "LIB_dbm_firstkey="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_dbm_firstkey=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++  
++    if test "$ac_cv_func_dbm_firstkey" = "yes"; then
++      if test "$ac_cv_funclib_dbm_firstkey" != "yes"; then
++        LIB_NDBM="$ac_cv_funclib_dbm_firstkey"
++      else
++        LIB_NDBM=""
++      fi
++      
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_DB_NDBM 1
++_ACEOF
++
++      
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_NEW_DB 1
++_ACEOF
++
++    else
++      $as_unset ac_cv_func_dbm_firstkey
++      $as_unset ac_cv_funclib_dbm_firstkey
++    fi
++  fi
++
++fi # berkeley db
++
++if test "$db_type" = "unknown" -o "$ac_cv_func_dbm_firstkey" = ""; then
++
++  
++
++for ac_header in 				\
++	dbm.h					\
++	ndbm.h					\
++  
++do
++as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++else
++  # Is the header compilable?
++echo "$as_me:$LINENO: checking $ac_header usability" >&5
++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++$ac_includes_default
++@%:@include <$ac_header>
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_header_compiler=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_header_compiler=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
++echo "${ECHO_T}$ac_header_compiler" >&6
++
++# Is the header present?
++echo "$as_me:$LINENO: checking $ac_header presence" >&5
++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++@%:@include <$ac_header>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  egrep -v '^ *\+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  ac_header_preproc=yes
++else
++  echo "$as_me: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_header_preproc=no
++fi
++rm -f conftest.err conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
++echo "${ECHO_T}$ac_header_preproc" >&6
++
++# So?  What about this header?
++case $ac_header_compiler:$ac_header_preproc in
++  yes:no )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
++echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++  no:yes )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
++echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
++echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++esac
++echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  eval "$as_ac_Header=$ac_header_preproc"
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++
++fi
++if test `eval echo '${'$as_ac_Header'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++
++done
++
++
++  
++
++
++echo "$as_me:$LINENO: checking for dbm_firstkey" >&5
++echo $ECHO_N "checking for dbm_firstkey... $ECHO_C" >&6
++if test "${ac_cv_funclib_dbm_firstkey+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_dbm_firstkey\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ndbm; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++  #include <stdio.h>
++  #if defined(HAVE_NDBM_H)
++  #include <ndbm.h>
++  #elif defined(HAVE_DBM_H)
++  #include <dbm.h>
++  #endif
++  DBM *dbm;
++  
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++dbm_firstkey(NULL)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_dbm_firstkey=$ac_lib; else ac_cv_funclib_dbm_firstkey=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_dbm_firstkey=\${ac_cv_funclib_dbm_firstkey-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_dbm_firstkey"
++
++if false; then
++	
++for ac_func in dbm_firstkey
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# dbm_firstkey
++eval "ac_tr_func=HAVE_`echo dbm_firstkey | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_dbm_firstkey=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_dbm_firstkey=yes"
++	eval "LIB_dbm_firstkey="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_dbm_firstkey=no"
++	eval "LIB_dbm_firstkey="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_dbm_firstkey=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++
++  if test "$ac_cv_func_dbm_firstkey" = "yes"; then
++    if test "$ac_cv_funclib_dbm_firstkey" != "yes"; then
++      LIB_NDBM="$ac_cv_funclib_dbm_firstkey"
++    else
++      LIB_NDBM=""
++    fi
++    
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_NDBM 1
++_ACEOF
++    have_ndbm=yes
++    if test "$db_type" = "unknown"; then
++      db_type=ndbm
++      DBLIB="$LIB_NDBM"
++    fi
++  else
++
++    $as_unset ac_cv_func_dbm_firstkey
++    $as_unset ac_cv_funclib_dbm_firstkey
++
++    
++for ac_header in 				\
++	  gdbm/ndbm.h				\
++    
++do
++as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++else
++  # Is the header compilable?
++echo "$as_me:$LINENO: checking $ac_header usability" >&5
++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++$ac_includes_default
++@%:@include <$ac_header>
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_header_compiler=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_header_compiler=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
++echo "${ECHO_T}$ac_header_compiler" >&6
++
++# Is the header present?
++echo "$as_me:$LINENO: checking $ac_header presence" >&5
++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++@%:@include <$ac_header>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  egrep -v '^ *\+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  ac_header_preproc=yes
++else
++  echo "$as_me: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_header_preproc=no
++fi
++rm -f conftest.err conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
++echo "${ECHO_T}$ac_header_preproc" >&6
++
++# So?  What about this header?
++case $ac_header_compiler:$ac_header_preproc in
++  yes:no )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
++echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++  no:yes )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
++echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
++echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++esac
++echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  eval "$as_ac_Header=$ac_header_preproc"
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++
++fi
++if test `eval echo '${'$as_ac_Header'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++
++done
++
++
++    
++
++
++echo "$as_me:$LINENO: checking for dbm_firstkey" >&5
++echo $ECHO_N "checking for dbm_firstkey... $ECHO_C" >&6
++if test "${ac_cv_funclib_dbm_firstkey+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_dbm_firstkey\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" gdbm; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++    #include <stdio.h>
++    #include <gdbm/ndbm.h>
++    DBM *dbm;
++    
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++dbm_firstkey(NULL)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_dbm_firstkey=$ac_lib; else ac_cv_funclib_dbm_firstkey=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_dbm_firstkey=\${ac_cv_funclib_dbm_firstkey-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_dbm_firstkey"
++
++if false; then
++	
++for ac_func in dbm_firstkey
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# dbm_firstkey
++eval "ac_tr_func=HAVE_`echo dbm_firstkey | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_dbm_firstkey=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_dbm_firstkey=yes"
++	eval "LIB_dbm_firstkey="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_dbm_firstkey=no"
++	eval "LIB_dbm_firstkey="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_dbm_firstkey=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++
++    if test "$ac_cv_func_dbm_firstkey" = "yes"; then
++      if test "$ac_cv_funclib_dbm_firstkey" != "yes"; then
++	LIB_NDBM="$ac_cv_funclib_dbm_firstkey"
++      else
++	LIB_NDBM=""
++      fi
++      
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_NDBM 1
++_ACEOF
++      have_ndbm=yes
++      if test "$db_type" = "unknown"; then
++	db_type=ndbm
++	DBLIB="$LIB_NDBM"
++      fi
++    fi
++  fi
++
++fi # unknown
++
++if test "$have_ndbm" = "yes"; then
++  echo "$as_me:$LINENO: checking if ndbm is implemented with db" >&5
++echo $ECHO_N "checking if ndbm is implemented with db... $ECHO_C" >&6
++  if test "$cross_compiling" = yes; then
++  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
++echo "$as_me: error: cannot run test program while cross compiling" >&2;}
++   { (exit 1); exit 1; }; }
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#include <unistd.h>
++#include <fcntl.h>
++#if defined(HAVE_GDBM_NDBM_H)
++#include <gdbm/ndbm.h>
++#elif defined(HAVE_NDBM_H)
++#include <ndbm.h>
++#elif defined(HAVE_DBM_H)
++#include <dbm.h>
++#endif
++int main()
++{
++  DBM *d;
++
++  d = dbm_open("conftest", O_RDWR | O_CREAT, 0666);
++  if (d == NULL)
++    return 1;
++  dbm_close(d);
++  return 0;
++}
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  
++    if test -f conftest.db; then
++      echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++      
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_NEW_DB 1
++_ACEOF
++
++    else
++      echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++    fi
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++( exit $ac_status )
++echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++fi
++
++
++
++if test "$db_type" = db1; then
++  HAVE_DB1_TRUE=
++  HAVE_DB1_FALSE='#'
++else
++  HAVE_DB1_TRUE='#'
++  HAVE_DB1_FALSE=
++fi
++
++
++if test "$db_type" = db3; then
++  HAVE_DB3_TRUE=
++  HAVE_DB3_FALSE='#'
++else
++  HAVE_DB3_TRUE='#'
++  HAVE_DB3_FALSE=
++fi
++
++
++if test "$db_type" = ndbm; then
++  HAVE_NDBM_TRUE=
++  HAVE_NDBM_FALSE='#'
++else
++  HAVE_NDBM_TRUE='#'
++  HAVE_NDBM_FALSE=
++fi
++
++z=""
++for i in $LDFLAGS; do
++	case "$i" in
++	-L*) z="$z $i";;
++	esac
++done
++DBLIB="$z $DBLIB"
++
++
++
++
++
++# Check whether --with-roken or --without-roken was given.
++if test "${with_roken+set}" = set; then
++  withval="$with_roken"
++  if test "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: roken is required" >&5
++echo "$as_me: error: roken is required" >&2;}
++   { (exit 1); exit 1; }; }
++fi
++fi; 
++
++save_CPPFLAGS="${CPPFLAGS}"
++
++case $with_roken in
++yes|"")
++  dirs="/usr/heimdal /usr/athena" ;;
++*)
++  dirs="$with_roken" ;;
++esac
++
++roken_installed=no
++
++for i in $dirs; do
++
++echo "$as_me:$LINENO: checking for roken in $i" >&5
++echo $ECHO_N "checking for roken in $i... $ECHO_C" >&6
++
++CPPFLAGS="-I$i/include ${CPPFLAGS}"
++
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <roken.h>
++//#if ROKEN_VERSION < 10
++//#error old roken version, should be 10
++//fail
++//#endif
++
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  egrep -v '^ *\+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  roken_installed=yes; break
++else
++  echo "$as_me: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  
++fi
++rm -f conftest.err conftest.$ac_ext
++
++echo "$as_me:$LINENO: result: $roken_installed" >&5
++echo "${ECHO_T}$roken_installed" >&6
++
++done
++
++CPPFLAGS="$save_CPPFLAGS"
++
++if test "$roken_installed" != "yes"; then
++  DIR_roken="roken"
++  LIB_roken='$(top_builddir)/lib/roken/libroken.la'
++  CPPFLAGS_roken='-I$(top_builddir)/lib/roken -I$(top_srcdir)/lib/roken'
++else
++  LIB_roken="$i/lib/libroken.la"
++  CPPFLAGS_roken="-I$i/include"
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking for crypt" >&5
++echo $ECHO_N "checking for crypt... $ECHO_C" >&6
++if test "${ac_cv_funclib_crypt+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_crypt\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" crypt; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++crypt()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_crypt=$ac_lib; else ac_cv_funclib_crypt=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_crypt=\${ac_cv_funclib_crypt-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_crypt"
++
++if false; then
++	
++for ac_func in crypt
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# crypt
++eval "ac_tr_func=HAVE_`echo crypt | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_crypt=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_crypt=yes"
++	eval "LIB_crypt="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_crypt=no"
++	eval "LIB_crypt="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_crypt=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++LIB_roken="${LIB_roken} \$(LIB_crypt) \$(LIB_dbopen)"
++
++
++#if ! test "$roken_installed" = yes; then
++	
++
++echo "$as_me:$LINENO: checking for inline" >&5
++echo $ECHO_N "checking for inline... $ECHO_C" >&6
++if test "${ac_cv_c_inline+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_cv_c_inline=no
++for ac_kw in inline __inline__ __inline; do
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#ifndef __cplusplus
++static $ac_kw int static_foo () {return 0; }
++$ac_kw int foo () {return 0; }
++#endif
++
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_c_inline=$ac_kw; break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++done
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
++echo "${ECHO_T}$ac_cv_c_inline" >&6
++case $ac_cv_c_inline in
++  inline | yes) ;;
++  no) 
++cat >>confdefs.h <<\_ACEOF
++@%:@define inline 
++_ACEOF
++ ;;
++  *)  cat >>confdefs.h <<_ACEOF
++@%:@define inline $ac_cv_c_inline
++_ACEOF
++ ;;
++esac
++
++echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
++echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
++if test "${ac_cv_c_const+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* FIXME: Include the comments suggested by Paul. */
++#ifndef __cplusplus
++  /* Ultrix mips cc rejects this.  */
++  typedef int charset[2];
++  const charset x;
++  /* SunOS 4.1.1 cc rejects this.  */
++  char const *const *ccp;
++  char **p;
++  /* NEC SVR4.0.2 mips cc rejects this.  */
++  struct point {int x, y;};
++  static struct point const zero = {0,0};
++  /* AIX XL C 1.02.0.0 rejects this.
++     It does not let you subtract one const X* pointer from another in
++     an arm of an if-expression whose if-part is not a constant
++     expression */
++  const char *g = "string";
++  ccp = &g + (g ? g-g : 0);
++  /* HPUX 7.0 cc rejects these. */
++  ++ccp;
++  p = (char**) ccp;
++  ccp = (char const *const *) p;
++  { /* SCO 3.2v4 cc rejects this.  */
++    char *t;
++    char const *s = 0 ? (char *) 0 : (char const *) 0;
++
++    *t++ = 0;
++  }
++  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
++    int x[] = {25, 17};
++    const int *foo = &x[0];
++    ++foo;
++  }
++  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
++    typedef const int *iptr;
++    iptr p = 0;
++    ++p;
++  }
++  { /* AIX XL C 1.02.0.0 rejects this saying
++       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
++    struct s { int j; const int *ap[3]; };
++    struct s *b; b->j = 5;
++  }
++  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
++    const int foo = 10;
++  }
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_c_const=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_c_const=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
++echo "${ECHO_T}$ac_cv_c_const" >&6
++if test $ac_cv_c_const = no; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define const 
++_ACEOF
++
++fi
++
++echo "$as_me:$LINENO: checking for size_t" >&5
++echo $ECHO_N "checking for size_t... $ECHO_C" >&6
++if test "${ac_cv_type_size_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++$ac_includes_default
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++if ((size_t *) 0)
++  return 0;
++if (sizeof (size_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_size_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_type_size_t=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
++echo "${ECHO_T}$ac_cv_type_size_t" >&6
++if test $ac_cv_type_size_t = yes; then
++  :
++else
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define size_t unsigned
++_ACEOF
++
++fi
++
++echo "$as_me:$LINENO: checking for pid_t" >&5
++echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
++if test "${ac_cv_type_pid_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++$ac_includes_default
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++if ((pid_t *) 0)
++  return 0;
++if (sizeof (pid_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_pid_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_type_pid_t=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
++echo "${ECHO_T}$ac_cv_type_pid_t" >&6
++if test $ac_cv_type_pid_t = yes; then
++  :
++else
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define pid_t int
++_ACEOF
++
++fi
++
++echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
++echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
++if test "${ac_cv_type_uid_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <sys/types.h>
++
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  egrep "uid_t" >/dev/null 2>&1; then
++  ac_cv_type_uid_t=yes
++else
++  ac_cv_type_uid_t=no
++fi
++rm -f conftest*
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
++echo "${ECHO_T}$ac_cv_type_uid_t" >&6
++if test $ac_cv_type_uid_t = no; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define uid_t int
++_ACEOF
++
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define gid_t int
++_ACEOF
++
++fi
++
++
++echo "$as_me:$LINENO: checking return type of signal handlers" >&5
++echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
++if test "${ac_cv_type_signal+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "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
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++int i;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_signal=void
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_type_signal=int
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
++echo "${ECHO_T}$ac_cv_type_signal" >&6
++
++cat >>confdefs.h <<_ACEOF
++@%:@define RETSIGTYPE $ac_cv_type_signal
++_ACEOF
++
++
++if test "$ac_cv_type_signal" = "void" ; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define VOID_RETSIGTYPE 1
++_ACEOF
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
++echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
++if test "${ac_cv_header_time+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <sys/types.h>
++#include <sys/time.h>
++#include <time.h>
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++if ((struct tm *) 0)
++return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_header_time=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_header_time=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
++echo "${ECHO_T}$ac_cv_header_time" >&6
++if test $ac_cv_header_time = yes; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define TIME_WITH_SYS_TIME 1
++_ACEOF
++
++fi
++
++
++
++for ac_header in standards.h
++do
++as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++else
++  # Is the header compilable?
++echo "$as_me:$LINENO: checking $ac_header usability" >&5
++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++$ac_includes_default
++@%:@include <$ac_header>
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_header_compiler=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_header_compiler=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
++echo "${ECHO_T}$ac_header_compiler" >&6
++
++# Is the header present?
++echo "$as_me:$LINENO: checking $ac_header presence" >&5
++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++@%:@include <$ac_header>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  egrep -v '^ *\+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  ac_header_preproc=yes
++else
++  echo "$as_me: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_header_preproc=no
++fi
++rm -f conftest.err conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
++echo "${ECHO_T}$ac_header_preproc" >&6
++
++# So?  What about this header?
++case $ac_header_compiler:$ac_header_preproc in
++  yes:no )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
++echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++  no:yes )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
++echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
++echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++esac
++echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  eval "$as_ac_Header=$ac_header_preproc"
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++
++fi
++if test `eval echo '${'$as_ac_Header'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++
++done
++
++for i in netinet/ip.h netinet/tcp.h; do
++
++cv=`echo "$i" | sed 'y%./+-%__p_%'`
++
++echo "$as_me:$LINENO: checking for $i" >&5
++echo $ECHO_N "checking for $i... $ECHO_C" >&6
++if eval "test \"\${ac_cv_header_$cv+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++\
++#ifdef HAVE_STANDARDS_H
++#include <standards.h>
++#endif
++#include <$i>
++
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  egrep -v '^ *\+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  eval "ac_cv_header_$cv=yes"
++else
++  echo "$as_me: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  eval "ac_cv_header_$cv=no"
++fi
++rm -f conftest.err conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'ac_cv_header_$cv'}'`" >&5
++echo "${ECHO_T}`eval echo '${'ac_cv_header_$cv'}'`" >&6
++ac_res=`eval echo \\$ac_cv_header_$cv`
++if test "$ac_res" = yes; then
++	ac_tr_hdr=HAVE_`echo $i | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_hdr 1
++_ACEOF
++
++fi
++done
++if false;then
++	
++
++for ac_header in netinet/ip.h netinet/tcp.h
++do
++as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++else
++  # Is the header compilable?
++echo "$as_me:$LINENO: checking $ac_header usability" >&5
++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++$ac_includes_default
++@%:@include <$ac_header>
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_header_compiler=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_header_compiler=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
++echo "${ECHO_T}$ac_header_compiler" >&6
++
++# Is the header present?
++echo "$as_me:$LINENO: checking $ac_header presence" >&5
++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++@%:@include <$ac_header>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  egrep -v '^ *\+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  ac_header_preproc=yes
++else
++  echo "$as_me: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_header_preproc=no
++fi
++rm -f conftest.err conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
++echo "${ECHO_T}$ac_header_preproc" >&6
++
++# So?  What about this header?
++case $ac_header_compiler:$ac_header_preproc in
++  yes:no )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
++echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++  no:yes )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
++echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
++echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++esac
++echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  eval "$as_ac_Header=$ac_header_preproc"
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++
++fi
++if test `eval echo '${'$as_ac_Header'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++
++done
++
++fi
++
++
++
++
++for ac_func in getlogin setlogin
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++if test "$ac_cv_func_getlogin" = yes; then
++echo "$as_me:$LINENO: checking if getlogin is posix" >&5
++echo $ECHO_N "checking if getlogin is posix... $ECHO_C" >&6
++if test "${ac_cv_func_getlogin_posix+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if test "$ac_cv_func_getlogin" = yes -a "$ac_cv_func_setlogin" = yes; then
++	ac_cv_func_getlogin_posix=no
++else
++	ac_cv_func_getlogin_posix=yes
++fi
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getlogin_posix" >&5
++echo "${ECHO_T}$ac_cv_func_getlogin_posix" >&6
++if test "$ac_cv_func_getlogin_posix" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define POSIX_GETLOGIN 1
++_ACEOF
++
++fi
++fi
++
++
++
++for ac_header in stdlib.h unistd.h
++do
++as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++else
++  # Is the header compilable?
++echo "$as_me:$LINENO: checking $ac_header usability" >&5
++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++$ac_includes_default
++@%:@include <$ac_header>
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_header_compiler=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_header_compiler=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
++echo "${ECHO_T}$ac_header_compiler" >&6
++
++# Is the header present?
++echo "$as_me:$LINENO: checking $ac_header presence" >&5
++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++@%:@include <$ac_header>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  egrep -v '^ *\+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  ac_header_preproc=yes
++else
++  echo "$as_me: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_header_preproc=no
++fi
++rm -f conftest.err conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
++echo "${ECHO_T}$ac_header_preproc" >&6
++
++# So?  What about this header?
++case $ac_header_compiler:$ac_header_preproc in
++  yes:no )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
++echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++  no:yes )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
++echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
++echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++esac
++echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  eval "$as_ac_Header=$ac_header_preproc"
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++
++fi
++if test `eval echo '${'$as_ac_Header'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++
++done
++
++
++for ac_func in getpagesize
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++echo "$as_me:$LINENO: checking for working mmap" >&5
++echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
++if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test "$cross_compiling" = yes; then
++  ac_cv_func_mmap_fixed_mapped=no
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++$ac_includes_default
++/* malloc might have been renamed as rpl_malloc. */
++#undef malloc
++
++/* Thanks to Mike Haertel and Jim Avera for this test.
++   Here is a matrix of mmap possibilities:
++	mmap private not fixed
++	mmap private fixed at somewhere currently unmapped
++	mmap private fixed at somewhere already mapped
++	mmap shared not fixed
++	mmap shared fixed at somewhere currently unmapped
++	mmap shared fixed at somewhere already mapped
++   For private mappings, we should verify that changes cannot be read()
++   back from the file, nor mmap's back from the file at a different
++   address.  (There have been systems where private was not correctly
++   implemented like the infamous i386 svr4.0, and systems where the
++   VM page cache was not coherent with the file system buffer cache
++   like early versions of FreeBSD and possibly contemporary NetBSD.)
++   For shared mappings, we should conversely verify that changes get
++   propagated back to all the places they're supposed to be.
++
++   Grep wants private fixed already mapped.
++   The main things grep needs to know about mmap are:
++   * does it exist and is it safe to write into the mmap'd area
++   * how to use it (BSD variants)  */
++
++#include <fcntl.h>
++#include <sys/mman.h>
++
++#if !STDC_HEADERS && !HAVE_STDLIB_H
++char *malloc ();
++#endif
++
++/* This mess was copied from the GNU getpagesize.h.  */
++#if !HAVE_GETPAGESIZE
++/* Assume that all systems that can run configure have sys/param.h.  */
++# if !HAVE_SYS_PARAM_H
++#  define HAVE_SYS_PARAM_H 1
++# endif
++
++# ifdef _SC_PAGESIZE
++#  define getpagesize() sysconf(_SC_PAGESIZE)
++# else /* no _SC_PAGESIZE */
++#  if HAVE_SYS_PARAM_H
++#   include <sys/param.h>
++#   ifdef EXEC_PAGESIZE
++#    define getpagesize() EXEC_PAGESIZE
++#   else /* no EXEC_PAGESIZE */
++#    ifdef NBPG
++#     define getpagesize() NBPG * CLSIZE
++#     ifndef CLSIZE
++#      define CLSIZE 1
++#     endif /* no CLSIZE */
++#    else /* no NBPG */
++#     ifdef NBPC
++#      define getpagesize() NBPC
++#     else /* no NBPC */
++#      ifdef PAGESIZE
++#       define getpagesize() PAGESIZE
++#      endif /* PAGESIZE */
++#     endif /* no NBPC */
++#    endif /* no NBPG */
++#   endif /* no EXEC_PAGESIZE */
++#  else /* no HAVE_SYS_PARAM_H */
++#   define getpagesize() 8192	/* punt totally */
++#  endif /* no HAVE_SYS_PARAM_H */
++# endif /* no _SC_PAGESIZE */
++
++#endif /* no HAVE_GETPAGESIZE */
++
++int
++main ()
++{
++  char *data, *data2, *data3;
++  int i, pagesize;
++  int fd;
++
++  pagesize = getpagesize ();
++
++  /* First, make a file with some known garbage in it. */
++  data = (char *) malloc (pagesize);
++  if (!data)
++    exit (1);
++  for (i = 0; i < pagesize; ++i)
++    *(data + i) = rand ();
++  umask (0);
++  fd = creat ("conftest.mmap", 0600);
++  if (fd < 0)
++    exit (1);
++  if (write (fd, data, pagesize) != pagesize)
++    exit (1);
++  close (fd);
++
++  /* Next, try to mmap the file at a fixed address which already has
++     something else allocated at it.  If we can, also make sure that
++     we see the same garbage.  */
++  fd = open ("conftest.mmap", O_RDWR);
++  if (fd < 0)
++    exit (1);
++  data2 = (char *) malloc (2 * pagesize);
++  if (!data2)
++    exit (1);
++  data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
++  if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
++                     MAP_PRIVATE | MAP_FIXED, fd, 0L))
++    exit (1);
++  for (i = 0; i < pagesize; ++i)
++    if (*(data + i) != *(data2 + i))
++      exit (1);
++
++  /* Finally, make sure that changes to the mapped area do not
++     percolate back to the file as seen by read().  (This is a bug on
++     some variants of i386 svr4.0.)  */
++  for (i = 0; i < pagesize; ++i)
++    *(data2 + i) = *(data2 + i) + 1;
++  data3 = (char *) malloc (pagesize);
++  if (!data3)
++    exit (1);
++  if (read (fd, data3, pagesize) != pagesize)
++    exit (1);
++  for (i = 0; i < pagesize; ++i)
++    if (*(data + i) != *(data3 + i))
++      exit (1);
++  close (fd);
++  exit (0);
++}
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_mmap_fixed_mapped=yes
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++( exit $ac_status )
++ac_cv_func_mmap_fixed_mapped=no
++fi
++rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
++echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
++if test $ac_cv_func_mmap_fixed_mapped = yes; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_MMAP 1
++_ACEOF
++
++fi
++rm -f conftest.mmap
++
++
++echo "$as_me:$LINENO: checking if realloc if broken" >&5
++echo $ECHO_N "checking if realloc if broken... $ECHO_C" >&6
++if test "${ac_cv_func_realloc_broken+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++ac_cv_func_realloc_broken=no
++if test "$cross_compiling" = yes; then
++  :
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#include <stddef.h>
++#include <stdlib.h>
++
++int main()
++{
++	return realloc(NULL, 17) == NULL;
++}
++
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  :
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++( exit $ac_status )
++ac_cv_func_realloc_broken=yes
++fi
++rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_realloc_broken" >&5
++echo "${ECHO_T}$ac_cv_func_realloc_broken" >&6
++if test "$ac_cv_func_realloc_broken" = yes ; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define BROKEN_REALLOC 1
++_ACEOF
++
++fi
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++WFLAGS_NOUNUSED=""
++WFLAGS_NOIMPLICITINT=""
++if test -z "$WFLAGS" -a "$GCC" = "yes"; then
++  # -Wno-implicit-int for broken X11 headers
++  # leave these out for now:
++  #   -Wcast-align doesn't work well on alpha osf/1
++  #   -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast
++  #   -Wmissing-declarations -Wnested-externs
++  WFLAGS="-Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs"
++  WFLAGS_NOUNUSED="-Wno-unused"
++  WFLAGS_NOIMPLICITINT="-Wno-implicit-int"
++fi
++
++
++
++
++
++
++
++
++cv=`echo "ssize_t" | sed 'y%./+- %__p__%'`
++echo "$as_me:$LINENO: checking for ssize_t" >&5
++echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
++if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <sys/types.h>
++#if STDC_HEADERS
++#include <stdlib.h>
++#include <stddef.h>
++#endif
++#include <unistd.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++ssize_t foo;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_type_$cv=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_type_$cv=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++ac_foo=`eval echo \\$ac_cv_type_$cv`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++  ac_tr_hdr=HAVE_`echo ssize_t | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
++if false; then
++	echo "$as_me:$LINENO: checking for ssize_t" >&5
++echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
++if test "${ac_cv_type_ssize_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++$ac_includes_default
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++if ((ssize_t *) 0)
++  return 0;
++if (sizeof (ssize_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_ssize_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_type_ssize_t=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
++echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
++if test $ac_cv_type_ssize_t = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_SSIZE_T 1
++_ACEOF
++
++
++fi
++
++fi
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_hdr 1
++_ACEOF
++
++fi
++
++
++
++
++
++cv=`echo "long long" | sed 'y%./+- %__p__%'`
++echo "$as_me:$LINENO: checking for long long" >&5
++echo $ECHO_N "checking for long long... $ECHO_C" >&6
++if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <sys/types.h>
++#if STDC_HEADERS
++#include <stdlib.h>
++#include <stddef.h>
++#endif
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++long long foo;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_type_$cv=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_type_$cv=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++ac_foo=`eval echo \\$ac_cv_type_$cv`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++  ac_tr_hdr=HAVE_`echo long long | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
++if false; then
++	echo "$as_me:$LINENO: checking for long long" >&5
++echo $ECHO_N "checking for long long... $ECHO_C" >&6
++if test "${ac_cv_type_long_long+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++$ac_includes_default
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++if ((long long *) 0)
++  return 0;
++if (sizeof (long long))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_long_long=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_type_long_long=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
++echo "${ECHO_T}$ac_cv_type_long_long" >&6
++if test $ac_cv_type_long_long = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_LONG_LONG 1
++_ACEOF
++
++
++fi
++
++fi
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_hdr 1
++_ACEOF
++
++fi
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++for ac_header in \
++	arpa/inet.h				\
++	arpa/nameser.h				\
++	config.h				\
++	crypt.h					\
++	dirent.h				\
++	errno.h					\
++	err.h					\
++	fcntl.h					\
++	grp.h					\
++	ifaddrs.h				\
++	net/if.h				\
++	netdb.h					\
++	netinet/in.h				\
++	netinet/in6.h				\
++	netinet/in_systm.h			\
++	netinet6/in6.h				\
++	netinet6/in6_var.h			\
++	paths.h					\
++	pwd.h					\
++	resolv.h				\
++	rpcsvc/ypclnt.h				\
++	shadow.h				\
++	sys/bswap.h				\
++	sys/ioctl.h				\
++	sys/mman.h				\
++	sys/param.h				\
++	sys/proc.h				\
++	sys/resource.h				\
++	sys/socket.h				\
++	sys/sockio.h				\
++	sys/stat.h				\
++	sys/sysctl.h				\
++	sys/time.h				\
++	sys/tty.h				\
++	sys/types.h				\
++	sys/uio.h				\
++	sys/utsname.h				\
++	sys/wait.h				\
++	syslog.h				\
++	termios.h				\
++	unistd.h				\
++	userconf.h				\
++	usersec.h				\
++	util.h					\
++	vis.h					\
++
++do
++as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++else
++  # Is the header compilable?
++echo "$as_me:$LINENO: checking $ac_header usability" >&5
++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++$ac_includes_default
++@%:@include <$ac_header>
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_header_compiler=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_header_compiler=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
++echo "${ECHO_T}$ac_header_compiler" >&6
++
++# Is the header present?
++echo "$as_me:$LINENO: checking $ac_header presence" >&5
++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++@%:@include <$ac_header>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  egrep -v '^ *\+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  ac_header_preproc=yes
++else
++  echo "$as_me: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_header_preproc=no
++fi
++rm -f conftest.err conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
++echo "${ECHO_T}$ac_header_preproc" >&6
++
++# So?  What about this header?
++case $ac_header_compiler:$ac_header_preproc in
++  yes:no )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
++echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++  no:yes )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
++echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
++echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++esac
++echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  eval "$as_ac_Header=$ac_header_preproc"
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++
++fi
++if test `eval echo '${'$as_ac_Header'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++
++done
++
++	
++
++
++
++
++if test "$ac_cv_header_err_h" = yes; then
++  have_err_h_TRUE=
++  have_err_h_FALSE='#'
++else
++  have_err_h_TRUE='#'
++  have_err_h_FALSE=
++fi
++
++
++
++if test "$ac_cv_header_fnmatch_h" = yes; then
++  have_fnmatch_h_TRUE=
++  have_fnmatch_h_FALSE='#'
++else
++  have_fnmatch_h_TRUE='#'
++  have_fnmatch_h_FALSE=
++fi
++
++
++
++if test "$ac_cv_header_ifaddrs_h" = yes; then
++  have_ifaddrs_h_TRUE=
++  have_ifaddrs_h_FALSE='#'
++else
++  have_ifaddrs_h_TRUE='#'
++  have_ifaddrs_h_FALSE=
++fi
++
++
++
++if test "$ac_cv_header_vis_h" = yes; then
++  have_vis_h_TRUE=
++  have_vis_h_FALSE='#'
++else
++  have_vis_h_TRUE='#'
++  have_vis_h_FALSE=
++fi
++
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for socket" >&5
++echo $ECHO_N "checking for socket... $ECHO_C" >&6
++if test "${ac_cv_funclib_socket+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_socket\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" socket; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++socket()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_socket=$ac_lib; else ac_cv_funclib_socket=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_socket=\${ac_cv_funclib_socket-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_socket"
++
++if false; then
++	
++for ac_func in socket
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# socket
++eval "ac_tr_func=HAVE_`echo socket | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_socket=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_socket=yes"
++	eval "LIB_socket="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_socket=no"
++	eval "LIB_socket="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_socket=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_socket"; then
++	LIBS="$LIB_socket $LIBS"
++fi
++
++
++
++
++
++echo "$as_me:$LINENO: checking for gethostbyname" >&5
++echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
++if test "${ac_cv_funclib_gethostbyname+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_gethostbyname\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" nsl; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++gethostbyname()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_gethostbyname=$ac_lib; else ac_cv_funclib_gethostbyname=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_gethostbyname=\${ac_cv_funclib_gethostbyname-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_gethostbyname"
++
++if false; then
++	
++for ac_func in gethostbyname
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# gethostbyname
++eval "ac_tr_func=HAVE_`echo gethostbyname | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_gethostbyname=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_gethostbyname=yes"
++	eval "LIB_gethostbyname="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_gethostbyname=no"
++	eval "LIB_gethostbyname="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_gethostbyname=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_gethostbyname"; then
++	LIBS="$LIB_gethostbyname $LIBS"
++fi
++
++
++
++
++
++echo "$as_me:$LINENO: checking for syslog" >&5
++echo $ECHO_N "checking for syslog... $ECHO_C" >&6
++if test "${ac_cv_funclib_syslog+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_syslog\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" syslog; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++syslog()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_syslog=$ac_lib; else ac_cv_funclib_syslog=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_syslog=\${ac_cv_funclib_syslog-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_syslog"
++
++if false; then
++	
++for ac_func in syslog
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# syslog
++eval "ac_tr_func=HAVE_`echo syslog | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_syslog=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_syslog=yes"
++	eval "LIB_syslog="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_syslog=no"
++	eval "LIB_syslog="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_syslog=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_syslog"; then
++	LIBS="$LIB_syslog $LIBS"
++fi
++
++
++
++
++# Check whether --with-ipv6 or --without-ipv6 was given.
++if test "${with_ipv6+set}" = set; then
++  withval="$with_ipv6"
++  
++if test "$withval" = "no"; then
++	ac_cv_lib_ipv6=no
++fi
++fi; 
++save_CFLAGS="${CFLAGS}"
++echo "$as_me:$LINENO: checking for IPv6 stack type" >&5
++echo $ECHO_N "checking for IPv6 stack type... $ECHO_C" >&6
++if test "${v6type+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  v6type=unknown
++v6lib=none
++
++for i in v6d toshiba kame inria zeta linux; do
++	case $i in
++	v6d)
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#include </usr/local/v6/include/sys/types.h>
++#ifdef __V6D__
++yes
++#endif
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  egrep "yes" >/dev/null 2>&1; then
++  v6type=$i; v6lib=v6;
++			v6libdir=/usr/local/v6/lib;
++			CFLAGS="-I/usr/local/v6/include $CFLAGS"
++fi
++rm -f conftest*
++
++		;;
++	toshiba)
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#include <sys/param.h>
++#ifdef _TOSHIBA_INET6
++yes
++#endif
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  egrep "yes" >/dev/null 2>&1; then
++  v6type=$i; v6lib=inet6;
++			v6libdir=/usr/local/v6/lib;
++			CFLAGS="-DINET6 $CFLAGS"
++fi
++rm -f conftest*
++
++		;;
++	kame)
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#include <netinet/in.h>
++#ifdef __KAME__
++yes
++#endif
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  egrep "yes" >/dev/null 2>&1; then
++  v6type=$i; v6lib=inet6;
++			v6libdir=/usr/local/v6/lib;
++			CFLAGS="-DINET6 $CFLAGS"
++fi
++rm -f conftest*
++
++		;;
++	inria)
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#include <netinet/in.h>
++#ifdef IPV6_INRIA_VERSION
++yes
++#endif
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  egrep "yes" >/dev/null 2>&1; then
++  v6type=$i; CFLAGS="-DINET6 $CFLAGS"
++fi
++rm -f conftest*
++
++		;;
++	zeta)
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#include <sys/param.h>
++#ifdef _ZETA_MINAMI_INET6
++yes
++#endif
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  egrep "yes" >/dev/null 2>&1; then
++  v6type=$i; v6lib=inet6;
++			v6libdir=/usr/local/v6/lib;
++			CFLAGS="-DINET6 $CFLAGS"
++fi
++rm -f conftest*
++
++		;;
++	linux)
++		if test -d /usr/inet6; then
++			v6type=$i
++			v6lib=inet6
++			v6libdir=/usr/inet6
++			CFLAGS="-DINET6 $CFLAGS"
++		fi
++		;;
++	esac
++	if test "$v6type" != "unknown"; then
++		break
++	fi
++done
++
++if test "$v6lib" != "none"; then
++	for dir in $v6libdir /usr/local/v6/lib /usr/local/lib; do
++		if test -d $dir -a -f $dir/lib$v6lib.a; then
++			LIBS="-L$dir -l$v6lib $LIBS"
++			break
++		fi
++	done
++fi
++
++fi
++echo "$as_me:$LINENO: result: $v6type" >&5
++echo "${ECHO_T}$v6type" >&6
++
++echo "$as_me:$LINENO: checking for IPv6" >&5
++echo $ECHO_N "checking for IPv6... $ECHO_C" >&6
++if test "${ac_cv_lib_ipv6+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_NETINET_IN6_H
++#include <netinet/in6.h>
++#endif
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++ struct sockaddr_in6 sin6;
++ int s;
++
++ s = socket(AF_INET6, SOCK_DGRAM, 0);
++
++ sin6.sin6_family = AF_INET6;
++ sin6.sin6_port = htons(17);
++ sin6.sin6_addr = in6addr_any;
++ bind(s, (struct sockaddr *)&sin6, sizeof(sin6));
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_ipv6=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_lib_ipv6=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_ipv6" >&5
++echo "${ECHO_T}$ac_cv_lib_ipv6" >&6
++if test "$ac_cv_lib_ipv6" = yes; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_IPV6 1
++_ACEOF
++
++else
++  CFLAGS="${save_CFLAGS}"
++fi
++
++if test "$ac_cv_lib_ipv6" = yes; then
++	echo "$as_me:$LINENO: checking for in6addr_loopback" >&5
++echo $ECHO_N "checking for in6addr_loopback... $ECHO_C" >&6
++if test "${ac_cv_var_in6addr_loopback+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++	cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_NETINET_IN6_H
++#include <netinet/in6.h>
++#endif
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++struct sockaddr_in6 sin6;
++sin6.sin6_addr = in6addr_loopback;
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_var_in6addr_loopback=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_var_in6addr_loopback=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_var_in6addr_loopback" >&5
++echo "${ECHO_T}$ac_cv_var_in6addr_loopback" >&6
++	if test "$ac_cv_var_in6addr_loopback" = yes; then
++		
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_IN6ADDR_LOOPBACK 1
++_ACEOF
++
++	fi
++fi
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for gethostbyname2" >&5
++echo $ECHO_N "checking for gethostbyname2... $ECHO_C" >&6
++if test "${ac_cv_funclib_gethostbyname2+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_gethostbyname2\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" inet6 ip6; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++gethostbyname2()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_gethostbyname2=$ac_lib; else ac_cv_funclib_gethostbyname2=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_gethostbyname2=\${ac_cv_funclib_gethostbyname2-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_gethostbyname2"
++
++if false; then
++	
++for ac_func in gethostbyname2
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# gethostbyname2
++eval "ac_tr_func=HAVE_`echo gethostbyname2 | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_gethostbyname2=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_gethostbyname2=yes"
++	eval "LIB_gethostbyname2="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_gethostbyname2=no"
++	eval "LIB_gethostbyname2="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_gethostbyname2=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_gethostbyname2"; then
++	LIBS="$LIB_gethostbyname2 $LIBS"
++fi
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for res_search" >&5
++echo $ECHO_N "checking for res_search... $ECHO_C" >&6
++if test "${ac_cv_funclib_res_search+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_res_search\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" resolv; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#include <stdio.h>
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_NAMESER_H
++#include <arpa/nameser.h>
++#endif
++#ifdef HAVE_RESOLV_H
++#include <resolv.h>
++#endif
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++res_search(0,0,0,0,0)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_res_search=$ac_lib; else ac_cv_funclib_res_search=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_res_search=\${ac_cv_funclib_res_search-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_res_search"
++
++if false; then
++	
++for ac_func in res_search
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# res_search
++eval "ac_tr_func=HAVE_`echo res_search | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_res_search=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_res_search=yes"
++	eval "LIB_res_search="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_res_search=no"
++	eval "LIB_res_search="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_res_search=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_res_search"; then
++	LIBS="$LIB_res_search $LIBS"
++fi
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for res_nsearch" >&5
++echo $ECHO_N "checking for res_nsearch... $ECHO_C" >&6
++if test "${ac_cv_funclib_res_nsearch+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_res_nsearch\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" resolv; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#include <stdio.h>
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_NAMESER_H
++#include <arpa/nameser.h>
++#endif
++#ifdef HAVE_RESOLV_H
++#include <resolv.h>
++#endif
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++res_nsearch(0,0,0,0,0)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_res_nsearch=$ac_lib; else ac_cv_funclib_res_nsearch=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_res_nsearch=\${ac_cv_funclib_res_nsearch-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_res_nsearch"
++
++if false; then
++	
++for ac_func in res_nsearch
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# res_nsearch
++eval "ac_tr_func=HAVE_`echo res_nsearch | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_res_nsearch=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_res_nsearch=yes"
++	eval "LIB_res_nsearch="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_res_nsearch=no"
++	eval "LIB_res_nsearch="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_res_nsearch=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_res_nsearch"; then
++	LIBS="$LIB_res_nsearch $LIBS"
++fi
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for dn_expand" >&5
++echo $ECHO_N "checking for dn_expand... $ECHO_C" >&6
++if test "${ac_cv_funclib_dn_expand+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_dn_expand\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" resolv; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#include <stdio.h>
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_NAMESER_H
++#include <arpa/nameser.h>
++#endif
++#ifdef HAVE_RESOLV_H
++#include <resolv.h>
++#endif
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++dn_expand(0,0,0,0,0)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_dn_expand=$ac_lib; else ac_cv_funclib_dn_expand=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_dn_expand=\${ac_cv_funclib_dn_expand-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_dn_expand"
++
++if false; then
++	
++for ac_func in dn_expand
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# dn_expand
++eval "ac_tr_func=HAVE_`echo dn_expand | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_dn_expand=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_dn_expand=yes"
++	eval "LIB_dn_expand="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_dn_expand=no"
++	eval "LIB_dn_expand="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_dn_expand=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_dn_expand"; then
++	LIBS="$LIB_dn_expand $LIBS"
++fi
++
++
++
++echo "$as_me:$LINENO: checking for _res" >&5
++echo $ECHO_N "checking for _res... $ECHO_C" >&6
++if test "${ac_cv_var__res+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++extern int _res;
++int foo() { return _res; }
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++foo()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_var__res=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_var__res=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++
++fi
++
++ac_foo=`eval echo \\$ac_cv_var__res`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE__RES 1
++_ACEOF
++
++	
++echo "$as_me:$LINENO: checking if _res is properly declared" >&5
++echo $ECHO_N "checking if _res is properly declared... $ECHO_C" >&6
++if test "${ac_cv_var__res_declaration+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <stdio.h>
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_NAMESER_H
++#include <arpa/nameser.h>
++#endif
++#ifdef HAVE_RESOLV_H
++#include <resolv.h>
++#endif
++extern struct { int foo; } _res;
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++_res.foo = 1;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_var__res_declaration=no"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_var__res_declaration=yes"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var__res_declaration" >&5
++echo "${ECHO_T}$ac_cv_var__res_declaration" >&6
++if eval "test \"\$ac_cv_var__res_declaration\" = yes"; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE__RES_DECLARATION 1
++_ACEOF
++
++fi
++
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking for working snprintf" >&5
++echo $ECHO_N "checking for working snprintf... $ECHO_C" >&6
++if test "${ac_cv_func_snprintf_working+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_cv_func_snprintf_working=yes
++if test "$cross_compiling" = yes; then
++  :
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#include <stdio.h>
++#include <string.h>
++int main()
++{
++	char foo[3];
++	snprintf(foo, 2, "12");
++	return strcmp(foo, "1");
++}
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  :
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++( exit $ac_status )
++ac_cv_func_snprintf_working=no
++fi
++rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_snprintf_working" >&5
++echo "${ECHO_T}$ac_cv_func_snprintf_working" >&6
++
++if test "$ac_cv_func_snprintf_working" = yes; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_SNPRINTF 1
++_ACEOF
++
++fi
++if test "$ac_cv_func_snprintf_working" = yes; then
++
++if test "$ac_cv_func_snprintf+set" != set -o "$ac_cv_func_snprintf" = yes; then
++echo "$as_me:$LINENO: checking if snprintf needs a prototype" >&5
++echo $ECHO_N "checking if snprintf needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_snprintf_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <stdio.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int snprintf (struct foo*);
++snprintf(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_snprintf_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_func_snprintf_noproto=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_snprintf_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_snprintf_noproto" >&6
++if test "$ac_cv_func_snprintf_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_SNPRINTF_PROTO 1
++_ACEOF
++
++fi
++fi
++
++fi
++
++
++echo "$as_me:$LINENO: checking for working vsnprintf" >&5
++echo $ECHO_N "checking for working vsnprintf... $ECHO_C" >&6
++if test "${ac_cv_func_vsnprintf_working+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_cv_func_vsnprintf_working=yes
++if test "$cross_compiling" = yes; then
++  :
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#include <stdio.h>
++#include <string.h>
++#include <stdarg.h>
++
++int foo(int num, ...)
++{
++	char bar[3];
++	va_list arg;
++	va_start(arg, num);
++	vsnprintf(bar, 2, "%s", arg);
++	va_end(arg);
++	return strcmp(bar, "1");
++}
++
++
++int main()
++{
++	return foo(0, "12");
++}
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  :
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++( exit $ac_status )
++ac_cv_func_vsnprintf_working=no
++fi
++rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_vsnprintf_working" >&5
++echo "${ECHO_T}$ac_cv_func_vsnprintf_working" >&6
++
++if test "$ac_cv_func_vsnprintf_working" = yes; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_VSNPRINTF 1
++_ACEOF
++
++fi
++if test "$ac_cv_func_vsnprintf_working" = yes; then
++
++if test "$ac_cv_func_vsnprintf+set" != set -o "$ac_cv_func_vsnprintf" = yes; then
++echo "$as_me:$LINENO: checking if vsnprintf needs a prototype" >&5
++echo $ECHO_N "checking if vsnprintf needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_vsnprintf_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <stdio.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int vsnprintf (struct foo*);
++vsnprintf(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_vsnprintf_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_func_vsnprintf_noproto=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_vsnprintf_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_vsnprintf_noproto" >&6
++if test "$ac_cv_func_vsnprintf_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_VSNPRINTF_PROTO 1
++_ACEOF
++
++fi
++fi
++
++fi
++
++
++
++echo "$as_me:$LINENO: checking for working glob" >&5
++echo $ECHO_N "checking for working glob... $ECHO_C" >&6
++if test "${ac_cv_func_glob_working+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_cv_func_glob_working=yes
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#include <stdio.h>
++#include <glob.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++glob(NULL, GLOB_BRACE|GLOB_NOCHECK|GLOB_QUOTE|GLOB_TILDE|
++#ifdef GLOB_MAXPATH
++GLOB_MAXPATH
++#else
++GLOB_LIMIT
++#endif
++,
++NULL, NULL);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  :
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_glob_working=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_glob_working" >&5
++echo "${ECHO_T}$ac_cv_func_glob_working" >&6
++
++if test "$ac_cv_func_glob_working" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_GLOB 1
++_ACEOF
++
++fi
++if test "$ac_cv_func_glob_working" = yes; then
++
++if test "$ac_cv_func_glob+set" != set -o "$ac_cv_func_glob" = yes; then
++echo "$as_me:$LINENO: checking if glob needs a prototype" >&5
++echo $ECHO_N "checking if glob needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_glob_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <stdio.h>
++#include <glob.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int glob (struct foo*);
++glob(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_glob_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_func_glob_noproto=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_glob_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_glob_noproto" >&6
++if test "$ac_cv_func_glob_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_GLOB_PROTO 1
++_ACEOF
++
++fi
++fi
++
++fi
++
++if test "$ac_cv_func_glob_working" != yes; then
++	LIB@&t@OBJS="$LIB@&t@OBJS glob.$ac_objext"
++fi
++
++
++if test "$ac_cv_func_glob_working" = yes; then
++  have_glob_h_TRUE=
++  have_glob_h_FALSE='#'
++else
++  have_glob_h_TRUE='#'
++  have_glob_h_FALSE=
++fi
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++for ac_func in 				\
++	asnprintf				\
++	asprintf				\
++	atexit					\
++	cgetent					\
++	getconfattr				\
++	getprogname				\
++	getrlimit				\
++	getspnam				\
++	initstate				\
++	issetugid				\
++	on_exit					\
++	random					\
++	setprogname				\
++	setstate				\
++	strsvis					\
++	strunvis				\
++	strvis					\
++	strvisx					\
++	svis					\
++	sysconf					\
++	sysctl					\
++	uname					\
++	unvis					\
++	vasnprintf				\
++	vasprintf				\
++	vis					\
++
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++
++if test "$ac_cv_func_cgetent" = no; then
++	LIB@&t@OBJS="$LIB@&t@OBJS getcap.$ac_objext"
++fi
++
++
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for getsockopt" >&5
++echo $ECHO_N "checking for getsockopt... $ECHO_C" >&6
++if test "${ac_cv_funclib_getsockopt+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_getsockopt\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++getsockopt(0,0,0,0,0)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_getsockopt=$ac_lib; else ac_cv_funclib_getsockopt=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_getsockopt=\${ac_cv_funclib_getsockopt-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_getsockopt"
++
++if false; then
++	
++for ac_func in getsockopt
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# getsockopt
++eval "ac_tr_func=HAVE_`echo getsockopt | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_getsockopt=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_getsockopt=yes"
++	eval "LIB_getsockopt="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_getsockopt=no"
++	eval "LIB_getsockopt="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_getsockopt=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++
++
++
++echo "$as_me:$LINENO: checking for setsockopt" >&5
++echo $ECHO_N "checking for setsockopt... $ECHO_C" >&6
++if test "${ac_cv_funclib_setsockopt+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_setsockopt\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++setsockopt(0,0,0,0,0)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_setsockopt=$ac_lib; else ac_cv_funclib_setsockopt=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_setsockopt=\${ac_cv_funclib_setsockopt-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_setsockopt"
++
++if false; then
++	
++for ac_func in setsockopt
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# setsockopt
++eval "ac_tr_func=HAVE_`echo setsockopt | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_setsockopt=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_setsockopt=yes"
++	eval "LIB_setsockopt="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_setsockopt=no"
++	eval "LIB_setsockopt="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_setsockopt=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for hstrerror" >&5
++echo $ECHO_N "checking for hstrerror... $ECHO_C" >&6
++if test "${ac_cv_funclib_hstrerror+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_hstrerror\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" resolv; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++hstrerror(17)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_hstrerror=$ac_lib; else ac_cv_funclib_hstrerror=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_hstrerror=\${ac_cv_funclib_hstrerror-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_hstrerror"
++
++if false; then
++	
++for ac_func in hstrerror
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# hstrerror
++eval "ac_tr_func=HAVE_`echo hstrerror | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_hstrerror=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_hstrerror=yes"
++	eval "LIB_hstrerror="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_hstrerror=no"
++	eval "LIB_hstrerror="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_hstrerror=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_hstrerror"; then
++	LIBS="$LIB_hstrerror $LIBS"
++fi
++
++if eval "test \"$ac_cv_func_hstrerror\" != yes"; then 
++	LIB@&t@OBJS="$LIB@&t@OBJS hstrerror.$ac_objext"
++fi
++
++
++if test "$ac_cv_func_hstrerror+set" != set -o "$ac_cv_func_hstrerror" = yes; then
++echo "$as_me:$LINENO: checking if hstrerror needs a prototype" >&5
++echo $ECHO_N "checking if hstrerror needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_hstrerror_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int hstrerror (struct foo*);
++hstrerror(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_hstrerror_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_func_hstrerror_noproto=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_hstrerror_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_hstrerror_noproto" >&6
++if test "$ac_cv_func_hstrerror_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_HSTRERROR_PROTO 1
++_ACEOF
++
++fi
++fi
++
++
++
++if test "$ac_cv_func_asprintf+set" != set -o "$ac_cv_func_asprintf" = yes; then
++echo "$as_me:$LINENO: checking if asprintf needs a prototype" >&5
++echo $ECHO_N "checking if asprintf needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_asprintf_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++	#include <stdio.h>
++	#include <string.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int asprintf (struct foo*);
++asprintf(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_asprintf_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_func_asprintf_noproto=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_asprintf_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_asprintf_noproto" >&6
++if test "$ac_cv_func_asprintf_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_ASPRINTF_PROTO 1
++_ACEOF
++
++fi
++fi
++
++if test "$ac_cv_func_vasprintf+set" != set -o "$ac_cv_func_vasprintf" = yes; then
++echo "$as_me:$LINENO: checking if vasprintf needs a prototype" >&5
++echo $ECHO_N "checking if vasprintf needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_vasprintf_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++	#include <stdio.h>
++	#include <string.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int vasprintf (struct foo*);
++vasprintf(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_vasprintf_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_func_vasprintf_noproto=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_vasprintf_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_vasprintf_noproto" >&6
++if test "$ac_cv_func_vasprintf_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_VASPRINTF_PROTO 1
++_ACEOF
++
++fi
++fi
++
++if test "$ac_cv_func_asnprintf+set" != set -o "$ac_cv_func_asnprintf" = yes; then
++echo "$as_me:$LINENO: checking if asnprintf needs a prototype" >&5
++echo $ECHO_N "checking if asnprintf needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_asnprintf_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++	#include <stdio.h>
++	#include <string.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int asnprintf (struct foo*);
++asnprintf(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_asnprintf_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_func_asnprintf_noproto=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_asnprintf_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_asnprintf_noproto" >&6
++if test "$ac_cv_func_asnprintf_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_ASNPRINTF_PROTO 1
++_ACEOF
++
++fi
++fi
++
++if test "$ac_cv_func_vasnprintf+set" != set -o "$ac_cv_func_vasnprintf" = yes; then
++echo "$as_me:$LINENO: checking if vasnprintf needs a prototype" >&5
++echo $ECHO_N "checking if vasnprintf needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_vasnprintf_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++	#include <stdio.h>
++	#include <string.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int vasnprintf (struct foo*);
++vasnprintf(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_vasnprintf_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_func_vasnprintf_noproto=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_vasnprintf_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_vasnprintf_noproto" >&6
++if test "$ac_cv_func_vasnprintf_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_VASNPRINTF_PROTO 1
++_ACEOF
++
++fi
++fi
++
++
++
++
++
++echo "$as_me:$LINENO: checking for bswap16" >&5
++echo $ECHO_N "checking for bswap16... $ECHO_C" >&6
++if test "${ac_cv_funclib_bswap16+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_bswap16\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#ifdef HAVE_SYS_BSWAP_H
++#include <sys/bswap.h>
++#endif
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++bswap16(0)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_bswap16=$ac_lib; else ac_cv_funclib_bswap16=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_bswap16=\${ac_cv_funclib_bswap16-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_bswap16"
++
++if false; then
++	
++for ac_func in bswap16
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# bswap16
++eval "ac_tr_func=HAVE_`echo bswap16 | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_bswap16=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_bswap16=yes"
++	eval "LIB_bswap16="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_bswap16=no"
++	eval "LIB_bswap16="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_bswap16=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for bswap32" >&5
++echo $ECHO_N "checking for bswap32... $ECHO_C" >&6
++if test "${ac_cv_funclib_bswap32+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_bswap32\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#ifdef HAVE_SYS_BSWAP_H
++#include <sys/bswap.h>
++#endif
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++bswap32(0)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_bswap32=$ac_lib; else ac_cv_funclib_bswap32=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_bswap32=\${ac_cv_funclib_bswap32-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_bswap32"
++
++if false; then
++	
++for ac_func in bswap32
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# bswap32
++eval "ac_tr_func=HAVE_`echo bswap32 | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_bswap32=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_bswap32=yes"
++	eval "LIB_bswap32="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_bswap32=no"
++	eval "LIB_bswap32="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_bswap32=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for pidfile" >&5
++echo $ECHO_N "checking for pidfile... $ECHO_C" >&6
++if test "${ac_cv_funclib_pidfile+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_pidfile\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" util; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#ifdef HAVE_UTIL_H
++#include <util.h>
++#endif
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++pidfile(0)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_pidfile=$ac_lib; else ac_cv_funclib_pidfile=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_pidfile=\${ac_cv_funclib_pidfile-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_pidfile"
++
++if false; then
++	
++for ac_func in pidfile
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# pidfile
++eval "ac_tr_func=HAVE_`echo pidfile | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_pidfile=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_pidfile=yes"
++	eval "LIB_pidfile="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_pidfile=no"
++	eval "LIB_pidfile="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_pidfile=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for getaddrinfo" >&5
++echo $ECHO_N "checking for getaddrinfo... $ECHO_C" >&6
++if test "${ac_cv_funclib_getaddrinfo+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_getaddrinfo\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++getaddrinfo(0,0,0,0)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_getaddrinfo=$ac_lib; else ac_cv_funclib_getaddrinfo=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_getaddrinfo=\${ac_cv_funclib_getaddrinfo-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_getaddrinfo"
++
++if false; then
++	
++for ac_func in getaddrinfo
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# getaddrinfo
++eval "ac_tr_func=HAVE_`echo getaddrinfo | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_getaddrinfo=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_getaddrinfo=yes"
++	eval "LIB_getaddrinfo="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_getaddrinfo=no"
++	eval "LIB_getaddrinfo="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_getaddrinfo=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_getaddrinfo"; then
++	LIBS="$LIB_getaddrinfo $LIBS"
++fi
++
++if eval "test \"$ac_cv_func_getaddrinfo\" != yes"; then 
++	LIB@&t@OBJS="$LIB@&t@OBJS getaddrinfo.$ac_objext"
++fi
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for getnameinfo" >&5
++echo $ECHO_N "checking for getnameinfo... $ECHO_C" >&6
++if test "${ac_cv_funclib_getnameinfo+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_getnameinfo\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++getnameinfo(0,0,0,0,0,0,0)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_getnameinfo=$ac_lib; else ac_cv_funclib_getnameinfo=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_getnameinfo=\${ac_cv_funclib_getnameinfo-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_getnameinfo"
++
++if false; then
++	
++for ac_func in getnameinfo
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# getnameinfo
++eval "ac_tr_func=HAVE_`echo getnameinfo | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_getnameinfo=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_getnameinfo=yes"
++	eval "LIB_getnameinfo="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_getnameinfo=no"
++	eval "LIB_getnameinfo="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_getnameinfo=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_getnameinfo"; then
++	LIBS="$LIB_getnameinfo $LIBS"
++fi
++
++if eval "test \"$ac_cv_func_getnameinfo\" != yes"; then 
++	LIB@&t@OBJS="$LIB@&t@OBJS getnameinfo.$ac_objext"
++fi
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for freeaddrinfo" >&5
++echo $ECHO_N "checking for freeaddrinfo... $ECHO_C" >&6
++if test "${ac_cv_funclib_freeaddrinfo+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_freeaddrinfo\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++freeaddrinfo(0)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_freeaddrinfo=$ac_lib; else ac_cv_funclib_freeaddrinfo=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_freeaddrinfo=\${ac_cv_funclib_freeaddrinfo-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_freeaddrinfo"
++
++if false; then
++	
++for ac_func in freeaddrinfo
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# freeaddrinfo
++eval "ac_tr_func=HAVE_`echo freeaddrinfo | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_freeaddrinfo=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_freeaddrinfo=yes"
++	eval "LIB_freeaddrinfo="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_freeaddrinfo=no"
++	eval "LIB_freeaddrinfo="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_freeaddrinfo=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_freeaddrinfo"; then
++	LIBS="$LIB_freeaddrinfo $LIBS"
++fi
++
++if eval "test \"$ac_cv_func_freeaddrinfo\" != yes"; then 
++	LIB@&t@OBJS="$LIB@&t@OBJS freeaddrinfo.$ac_objext"
++fi
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for gai_strerror" >&5
++echo $ECHO_N "checking for gai_strerror... $ECHO_C" >&6
++if test "${ac_cv_funclib_gai_strerror+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_gai_strerror\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++gai_strerror(0)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_gai_strerror=$ac_lib; else ac_cv_funclib_gai_strerror=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_gai_strerror=\${ac_cv_funclib_gai_strerror-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_gai_strerror"
++
++if false; then
++	
++for ac_func in gai_strerror
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# gai_strerror
++eval "ac_tr_func=HAVE_`echo gai_strerror | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_gai_strerror=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_gai_strerror=yes"
++	eval "LIB_gai_strerror="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_gai_strerror=no"
++	eval "LIB_gai_strerror="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_gai_strerror=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_gai_strerror"; then
++	LIBS="$LIB_gai_strerror $LIBS"
++fi
++
++if eval "test \"$ac_cv_func_gai_strerror\" != yes"; then 
++	LIB@&t@OBJS="$LIB@&t@OBJS gai_strerror.$ac_objext"
++fi
++
++
++echo "$as_me:$LINENO: checking for chown" >&5
++echo $ECHO_N "checking for chown... $ECHO_C" >&6
++if test "${ac_cv_func_chown+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char chown (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char chown ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_chown) || defined (__stub___chown)
++choke me
++#else
++f = chown;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_chown=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_chown=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_chown" >&5
++echo "${ECHO_T}$ac_cv_func_chown" >&6
++if test $ac_cv_func_chown = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_CHOWN 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS chown.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for copyhostent" >&5
++echo $ECHO_N "checking for copyhostent... $ECHO_C" >&6
++if test "${ac_cv_func_copyhostent+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char copyhostent (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char copyhostent ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_copyhostent) || defined (__stub___copyhostent)
++choke me
++#else
++f = copyhostent;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_copyhostent=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_copyhostent=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_copyhostent" >&5
++echo "${ECHO_T}$ac_cv_func_copyhostent" >&6
++if test $ac_cv_func_copyhostent = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_COPYHOSTENT 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS copyhostent.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for daemon" >&5
++echo $ECHO_N "checking for daemon... $ECHO_C" >&6
++if test "${ac_cv_func_daemon+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char daemon (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char daemon ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_daemon) || defined (__stub___daemon)
++choke me
++#else
++f = daemon;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_daemon=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_daemon=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_daemon" >&5
++echo "${ECHO_T}$ac_cv_func_daemon" >&6
++if test $ac_cv_func_daemon = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_DAEMON 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS daemon.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for ecalloc" >&5
++echo $ECHO_N "checking for ecalloc... $ECHO_C" >&6
++if test "${ac_cv_func_ecalloc+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char ecalloc (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char ecalloc ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_ecalloc) || defined (__stub___ecalloc)
++choke me
++#else
++f = ecalloc;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_ecalloc=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_ecalloc=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_ecalloc" >&5
++echo "${ECHO_T}$ac_cv_func_ecalloc" >&6
++if test $ac_cv_func_ecalloc = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_ECALLOC 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS ecalloc.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for emalloc" >&5
++echo $ECHO_N "checking for emalloc... $ECHO_C" >&6
++if test "${ac_cv_func_emalloc+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char emalloc (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char emalloc ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_emalloc) || defined (__stub___emalloc)
++choke me
++#else
++f = emalloc;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_emalloc=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_emalloc=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_emalloc" >&5
++echo "${ECHO_T}$ac_cv_func_emalloc" >&6
++if test $ac_cv_func_emalloc = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_EMALLOC 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS emalloc.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for erealloc" >&5
++echo $ECHO_N "checking for erealloc... $ECHO_C" >&6
++if test "${ac_cv_func_erealloc+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char erealloc (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char erealloc ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_erealloc) || defined (__stub___erealloc)
++choke me
++#else
++f = erealloc;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_erealloc=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_erealloc=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_erealloc" >&5
++echo "${ECHO_T}$ac_cv_func_erealloc" >&6
++if test $ac_cv_func_erealloc = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_EREALLOC 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS erealloc.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for estrdup" >&5
++echo $ECHO_N "checking for estrdup... $ECHO_C" >&6
++if test "${ac_cv_func_estrdup+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char estrdup (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char estrdup ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_estrdup) || defined (__stub___estrdup)
++choke me
++#else
++f = estrdup;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_estrdup=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_estrdup=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_estrdup" >&5
++echo "${ECHO_T}$ac_cv_func_estrdup" >&6
++if test $ac_cv_func_estrdup = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_ESTRDUP 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS estrdup.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for err" >&5
++echo $ECHO_N "checking for err... $ECHO_C" >&6
++if test "${ac_cv_func_err+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char err (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char err ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_err) || defined (__stub___err)
++choke me
++#else
++f = err;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_err=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_err=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_err" >&5
++echo "${ECHO_T}$ac_cv_func_err" >&6
++if test $ac_cv_func_err = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_ERR 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS err.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for errx" >&5
++echo $ECHO_N "checking for errx... $ECHO_C" >&6
++if test "${ac_cv_func_errx+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char errx (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char errx ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_errx) || defined (__stub___errx)
++choke me
++#else
++f = errx;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_errx=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_errx=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_errx" >&5
++echo "${ECHO_T}$ac_cv_func_errx" >&6
++if test $ac_cv_func_errx = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_ERRX 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS errx.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for fchown" >&5
++echo $ECHO_N "checking for fchown... $ECHO_C" >&6
++if test "${ac_cv_func_fchown+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char fchown (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char fchown ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_fchown) || defined (__stub___fchown)
++choke me
++#else
++f = fchown;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_fchown=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_fchown=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_fchown" >&5
++echo "${ECHO_T}$ac_cv_func_fchown" >&6
++if test $ac_cv_func_fchown = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_FCHOWN 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS fchown.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for flock" >&5
++echo $ECHO_N "checking for flock... $ECHO_C" >&6
++if test "${ac_cv_func_flock+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char flock (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char flock ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_flock) || defined (__stub___flock)
++choke me
++#else
++f = flock;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_flock=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_flock=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_flock" >&5
++echo "${ECHO_T}$ac_cv_func_flock" >&6
++if test $ac_cv_func_flock = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_FLOCK 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS flock.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for fnmatch" >&5
++echo $ECHO_N "checking for fnmatch... $ECHO_C" >&6
++if test "${ac_cv_func_fnmatch+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char fnmatch (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char fnmatch ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_fnmatch) || defined (__stub___fnmatch)
++choke me
++#else
++f = fnmatch;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_fnmatch=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_fnmatch=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_fnmatch" >&5
++echo "${ECHO_T}$ac_cv_func_fnmatch" >&6
++if test $ac_cv_func_fnmatch = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_FNMATCH 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS fnmatch.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for freehostent" >&5
++echo $ECHO_N "checking for freehostent... $ECHO_C" >&6
++if test "${ac_cv_func_freehostent+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char freehostent (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char freehostent ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_freehostent) || defined (__stub___freehostent)
++choke me
++#else
++f = freehostent;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_freehostent=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_freehostent=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_freehostent" >&5
++echo "${ECHO_T}$ac_cv_func_freehostent" >&6
++if test $ac_cv_func_freehostent = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_FREEHOSTENT 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS freehostent.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for getcwd" >&5
++echo $ECHO_N "checking for getcwd... $ECHO_C" >&6
++if test "${ac_cv_func_getcwd+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char getcwd (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char getcwd ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_getcwd) || defined (__stub___getcwd)
++choke me
++#else
++f = getcwd;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_getcwd=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_getcwd=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getcwd" >&5
++echo "${ECHO_T}$ac_cv_func_getcwd" >&6
++if test $ac_cv_func_getcwd = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_GETCWD 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS getcwd.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for getdtablesize" >&5
++echo $ECHO_N "checking for getdtablesize... $ECHO_C" >&6
++if test "${ac_cv_func_getdtablesize+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char getdtablesize (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char getdtablesize ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_getdtablesize) || defined (__stub___getdtablesize)
++choke me
++#else
++f = getdtablesize;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_getdtablesize=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_getdtablesize=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getdtablesize" >&5
++echo "${ECHO_T}$ac_cv_func_getdtablesize" >&6
++if test $ac_cv_func_getdtablesize = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_GETDTABLESIZE 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS getdtablesize.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for getegid" >&5
++echo $ECHO_N "checking for getegid... $ECHO_C" >&6
++if test "${ac_cv_func_getegid+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char getegid (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char getegid ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_getegid) || defined (__stub___getegid)
++choke me
++#else
++f = getegid;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_getegid=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_getegid=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getegid" >&5
++echo "${ECHO_T}$ac_cv_func_getegid" >&6
++if test $ac_cv_func_getegid = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_GETEGID 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS getegid.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for geteuid" >&5
++echo $ECHO_N "checking for geteuid... $ECHO_C" >&6
++if test "${ac_cv_func_geteuid+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char geteuid (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char geteuid ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_geteuid) || defined (__stub___geteuid)
++choke me
++#else
++f = geteuid;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_geteuid=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_geteuid=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_geteuid" >&5
++echo "${ECHO_T}$ac_cv_func_geteuid" >&6
++if test $ac_cv_func_geteuid = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_GETEUID 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS geteuid.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for getgid" >&5
++echo $ECHO_N "checking for getgid... $ECHO_C" >&6
++if test "${ac_cv_func_getgid+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char getgid (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char getgid ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_getgid) || defined (__stub___getgid)
++choke me
++#else
++f = getgid;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_getgid=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_getgid=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getgid" >&5
++echo "${ECHO_T}$ac_cv_func_getgid" >&6
++if test $ac_cv_func_getgid = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_GETGID 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS getgid.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for gethostname" >&5
++echo $ECHO_N "checking for gethostname... $ECHO_C" >&6
++if test "${ac_cv_func_gethostname+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char gethostname (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char gethostname ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_gethostname) || defined (__stub___gethostname)
++choke me
++#else
++f = gethostname;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_gethostname=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_gethostname=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_gethostname" >&5
++echo "${ECHO_T}$ac_cv_func_gethostname" >&6
++if test $ac_cv_func_gethostname = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_GETHOSTNAME 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS gethostname.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for getifaddrs" >&5
++echo $ECHO_N "checking for getifaddrs... $ECHO_C" >&6
++if test "${ac_cv_func_getifaddrs+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char getifaddrs (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char getifaddrs ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_getifaddrs) || defined (__stub___getifaddrs)
++choke me
++#else
++f = getifaddrs;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_getifaddrs=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_getifaddrs=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getifaddrs" >&5
++echo "${ECHO_T}$ac_cv_func_getifaddrs" >&6
++if test $ac_cv_func_getifaddrs = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_GETIFADDRS 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS getifaddrs.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for getipnodebyaddr" >&5
++echo $ECHO_N "checking for getipnodebyaddr... $ECHO_C" >&6
++if test "${ac_cv_func_getipnodebyaddr+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char getipnodebyaddr (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char getipnodebyaddr ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_getipnodebyaddr) || defined (__stub___getipnodebyaddr)
++choke me
++#else
++f = getipnodebyaddr;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_getipnodebyaddr=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_getipnodebyaddr=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getipnodebyaddr" >&5
++echo "${ECHO_T}$ac_cv_func_getipnodebyaddr" >&6
++if test $ac_cv_func_getipnodebyaddr = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_GETIPNODEBYADDR 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS getipnodebyaddr.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for getipnodebyname" >&5
++echo $ECHO_N "checking for getipnodebyname... $ECHO_C" >&6
++if test "${ac_cv_func_getipnodebyname+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char getipnodebyname (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char getipnodebyname ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_getipnodebyname) || defined (__stub___getipnodebyname)
++choke me
++#else
++f = getipnodebyname;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_getipnodebyname=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_getipnodebyname=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getipnodebyname" >&5
++echo "${ECHO_T}$ac_cv_func_getipnodebyname" >&6
++if test $ac_cv_func_getipnodebyname = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_GETIPNODEBYNAME 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS getipnodebyname.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for getopt" >&5
++echo $ECHO_N "checking for getopt... $ECHO_C" >&6
++if test "${ac_cv_func_getopt+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char getopt (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char getopt ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_getopt) || defined (__stub___getopt)
++choke me
++#else
++f = getopt;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_getopt=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_getopt=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getopt" >&5
++echo "${ECHO_T}$ac_cv_func_getopt" >&6
++if test $ac_cv_func_getopt = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_GETOPT 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS getopt.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for gettimeofday" >&5
++echo $ECHO_N "checking for gettimeofday... $ECHO_C" >&6
++if test "${ac_cv_func_gettimeofday+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "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.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char gettimeofday ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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
++f = gettimeofday;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_gettimeofday=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_gettimeofday=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_gettimeofday" >&5
++echo "${ECHO_T}$ac_cv_func_gettimeofday" >&6
++if test $ac_cv_func_gettimeofday = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_GETTIMEOFDAY 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS gettimeofday.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for getuid" >&5
++echo $ECHO_N "checking for getuid... $ECHO_C" >&6
++if test "${ac_cv_func_getuid+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char getuid (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char getuid ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_getuid) || defined (__stub___getuid)
++choke me
++#else
++f = getuid;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_getuid=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_getuid=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getuid" >&5
++echo "${ECHO_T}$ac_cv_func_getuid" >&6
++if test $ac_cv_func_getuid = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_GETUID 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS getuid.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for getusershell" >&5
++echo $ECHO_N "checking for getusershell... $ECHO_C" >&6
++if test "${ac_cv_func_getusershell+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char getusershell (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char getusershell ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_getusershell) || defined (__stub___getusershell)
++choke me
++#else
++f = getusershell;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_getusershell=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_getusershell=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getusershell" >&5
++echo "${ECHO_T}$ac_cv_func_getusershell" >&6
++if test $ac_cv_func_getusershell = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_GETUSERSHELL 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS getusershell.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for initgroups" >&5
++echo $ECHO_N "checking for initgroups... $ECHO_C" >&6
++if test "${ac_cv_func_initgroups+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char initgroups (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char initgroups ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_initgroups) || defined (__stub___initgroups)
++choke me
++#else
++f = initgroups;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_initgroups=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_initgroups=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_initgroups" >&5
++echo "${ECHO_T}$ac_cv_func_initgroups" >&6
++if test $ac_cv_func_initgroups = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_INITGROUPS 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS initgroups.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for innetgr" >&5
++echo $ECHO_N "checking for innetgr... $ECHO_C" >&6
++if test "${ac_cv_func_innetgr+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char innetgr (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char innetgr ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_innetgr) || defined (__stub___innetgr)
++choke me
++#else
++f = innetgr;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_innetgr=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_innetgr=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_innetgr" >&5
++echo "${ECHO_T}$ac_cv_func_innetgr" >&6
++if test $ac_cv_func_innetgr = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_INNETGR 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS innetgr.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for iruserok" >&5
++echo $ECHO_N "checking for iruserok... $ECHO_C" >&6
++if test "${ac_cv_func_iruserok+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char iruserok (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char iruserok ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_iruserok) || defined (__stub___iruserok)
++choke me
++#else
++f = iruserok;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_iruserok=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_iruserok=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_iruserok" >&5
++echo "${ECHO_T}$ac_cv_func_iruserok" >&6
++if test $ac_cv_func_iruserok = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_IRUSEROK 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS iruserok.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for localtime_r" >&5
++echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
++if test "${ac_cv_func_localtime_r+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char localtime_r (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char localtime_r ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_localtime_r) || defined (__stub___localtime_r)
++choke me
++#else
++f = localtime_r;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_localtime_r=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_localtime_r=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
++echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
++if test $ac_cv_func_localtime_r = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_LOCALTIME_R 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS localtime_r.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for lstat" >&5
++echo $ECHO_N "checking for lstat... $ECHO_C" >&6
++if test "${ac_cv_func_lstat+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char lstat (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char lstat ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_lstat) || defined (__stub___lstat)
++choke me
++#else
++f = lstat;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_lstat=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_lstat=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_lstat" >&5
++echo "${ECHO_T}$ac_cv_func_lstat" >&6
++if test $ac_cv_func_lstat = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_LSTAT 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS lstat.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for memmove" >&5
++echo $ECHO_N "checking for memmove... $ECHO_C" >&6
++if test "${ac_cv_func_memmove+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char memmove (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char memmove ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_memmove) || defined (__stub___memmove)
++choke me
++#else
++f = memmove;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_memmove=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_memmove=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_memmove" >&5
++echo "${ECHO_T}$ac_cv_func_memmove" >&6
++if test $ac_cv_func_memmove = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_MEMMOVE 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS memmove.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for mkstemp" >&5
++echo $ECHO_N "checking for mkstemp... $ECHO_C" >&6
++if test "${ac_cv_func_mkstemp+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char mkstemp (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char mkstemp ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_mkstemp) || defined (__stub___mkstemp)
++choke me
++#else
++f = mkstemp;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_mkstemp=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_mkstemp=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_mkstemp" >&5
++echo "${ECHO_T}$ac_cv_func_mkstemp" >&6
++if test $ac_cv_func_mkstemp = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_MKSTEMP 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS mkstemp.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for putenv" >&5
++echo $ECHO_N "checking for putenv... $ECHO_C" >&6
++if test "${ac_cv_func_putenv+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char putenv (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char putenv ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_putenv) || defined (__stub___putenv)
++choke me
++#else
++f = putenv;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_putenv=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_putenv=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_putenv" >&5
++echo "${ECHO_T}$ac_cv_func_putenv" >&6
++if test $ac_cv_func_putenv = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_PUTENV 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS putenv.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for rcmd" >&5
++echo $ECHO_N "checking for rcmd... $ECHO_C" >&6
++if test "${ac_cv_func_rcmd+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char rcmd (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char rcmd ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_rcmd) || defined (__stub___rcmd)
++choke me
++#else
++f = rcmd;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_rcmd=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_rcmd=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_rcmd" >&5
++echo "${ECHO_T}$ac_cv_func_rcmd" >&6
++if test $ac_cv_func_rcmd = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_RCMD 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS rcmd.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for readv" >&5
++echo $ECHO_N "checking for readv... $ECHO_C" >&6
++if test "${ac_cv_func_readv+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char readv (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char readv ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_readv) || defined (__stub___readv)
++choke me
++#else
++f = readv;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_readv=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_readv=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_readv" >&5
++echo "${ECHO_T}$ac_cv_func_readv" >&6
++if test $ac_cv_func_readv = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_READV 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS readv.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for recvmsg" >&5
++echo $ECHO_N "checking for recvmsg... $ECHO_C" >&6
++if test "${ac_cv_func_recvmsg+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char recvmsg (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char recvmsg ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_recvmsg) || defined (__stub___recvmsg)
++choke me
++#else
++f = recvmsg;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_recvmsg=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_recvmsg=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_recvmsg" >&5
++echo "${ECHO_T}$ac_cv_func_recvmsg" >&6
++if test $ac_cv_func_recvmsg = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_RECVMSG 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS recvmsg.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for sendmsg" >&5
++echo $ECHO_N "checking for sendmsg... $ECHO_C" >&6
++if test "${ac_cv_func_sendmsg+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char sendmsg (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char sendmsg ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_sendmsg) || defined (__stub___sendmsg)
++choke me
++#else
++f = sendmsg;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_sendmsg=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_sendmsg=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_sendmsg" >&5
++echo "${ECHO_T}$ac_cv_func_sendmsg" >&6
++if test $ac_cv_func_sendmsg = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_SENDMSG 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS sendmsg.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for setegid" >&5
++echo $ECHO_N "checking for setegid... $ECHO_C" >&6
++if test "${ac_cv_func_setegid+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char setegid (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char setegid ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_setegid) || defined (__stub___setegid)
++choke me
++#else
++f = setegid;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_setegid=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_setegid=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_setegid" >&5
++echo "${ECHO_T}$ac_cv_func_setegid" >&6
++if test $ac_cv_func_setegid = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_SETEGID 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS setegid.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for setenv" >&5
++echo $ECHO_N "checking for setenv... $ECHO_C" >&6
++if test "${ac_cv_func_setenv+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "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.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char setenv ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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
++f = setenv;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_setenv=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_setenv=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_setenv" >&5
++echo "${ECHO_T}$ac_cv_func_setenv" >&6
++if test $ac_cv_func_setenv = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_SETENV 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS setenv.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for seteuid" >&5
++echo $ECHO_N "checking for seteuid... $ECHO_C" >&6
++if test "${ac_cv_func_seteuid+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char seteuid (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char seteuid ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_seteuid) || defined (__stub___seteuid)
++choke me
++#else
++f = seteuid;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_seteuid=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_seteuid=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_seteuid" >&5
++echo "${ECHO_T}$ac_cv_func_seteuid" >&6
++if test $ac_cv_func_seteuid = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_SETEUID 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS seteuid.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for strcasecmp" >&5
++echo $ECHO_N "checking for strcasecmp... $ECHO_C" >&6
++if test "${ac_cv_func_strcasecmp+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char strcasecmp (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char strcasecmp ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_strcasecmp) || defined (__stub___strcasecmp)
++choke me
++#else
++f = strcasecmp;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_strcasecmp=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_strcasecmp=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strcasecmp" >&5
++echo "${ECHO_T}$ac_cv_func_strcasecmp" >&6
++if test $ac_cv_func_strcasecmp = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRCASECMP 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS strcasecmp.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for strdup" >&5
++echo $ECHO_N "checking for strdup... $ECHO_C" >&6
++if test "${ac_cv_func_strdup+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char strdup (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char strdup ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_strdup) || defined (__stub___strdup)
++choke me
++#else
++f = strdup;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_strdup=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_strdup=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strdup" >&5
++echo "${ECHO_T}$ac_cv_func_strdup" >&6
++if test $ac_cv_func_strdup = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRDUP 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS strdup.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for strerror" >&5
++echo $ECHO_N "checking for strerror... $ECHO_C" >&6
++if test "${ac_cv_func_strerror+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "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.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char strerror ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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
++f = strerror;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_strerror=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_strerror=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strerror" >&5
++echo "${ECHO_T}$ac_cv_func_strerror" >&6
++if test $ac_cv_func_strerror = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRERROR 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS strerror.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for strftime" >&5
++echo $ECHO_N "checking for strftime... $ECHO_C" >&6
++if test "${ac_cv_func_strftime+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char strftime (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char strftime ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_strftime) || defined (__stub___strftime)
++choke me
++#else
++f = strftime;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_strftime=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_strftime=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strftime" >&5
++echo "${ECHO_T}$ac_cv_func_strftime" >&6
++if test $ac_cv_func_strftime = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRFTIME 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS strftime.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for strlcat" >&5
++echo $ECHO_N "checking for strlcat... $ECHO_C" >&6
++if test "${ac_cv_func_strlcat+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char strlcat (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char strlcat ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_strlcat) || defined (__stub___strlcat)
++choke me
++#else
++f = strlcat;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_strlcat=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_strlcat=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strlcat" >&5
++echo "${ECHO_T}$ac_cv_func_strlcat" >&6
++if test $ac_cv_func_strlcat = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRLCAT 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS strlcat.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for strlcpy" >&5
++echo $ECHO_N "checking for strlcpy... $ECHO_C" >&6
++if test "${ac_cv_func_strlcpy+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char strlcpy (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char strlcpy ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_strlcpy) || defined (__stub___strlcpy)
++choke me
++#else
++f = strlcpy;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_strlcpy=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_strlcpy=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strlcpy" >&5
++echo "${ECHO_T}$ac_cv_func_strlcpy" >&6
++if test $ac_cv_func_strlcpy = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRLCPY 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS strlcpy.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for strlwr" >&5
++echo $ECHO_N "checking for strlwr... $ECHO_C" >&6
++if test "${ac_cv_func_strlwr+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char strlwr (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char strlwr ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_strlwr) || defined (__stub___strlwr)
++choke me
++#else
++f = strlwr;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_strlwr=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_strlwr=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strlwr" >&5
++echo "${ECHO_T}$ac_cv_func_strlwr" >&6
++if test $ac_cv_func_strlwr = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRLWR 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS strlwr.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for strncasecmp" >&5
++echo $ECHO_N "checking for strncasecmp... $ECHO_C" >&6
++if test "${ac_cv_func_strncasecmp+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char strncasecmp (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char strncasecmp ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_strncasecmp) || defined (__stub___strncasecmp)
++choke me
++#else
++f = strncasecmp;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_strncasecmp=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_strncasecmp=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strncasecmp" >&5
++echo "${ECHO_T}$ac_cv_func_strncasecmp" >&6
++if test $ac_cv_func_strncasecmp = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRNCASECMP 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS strncasecmp.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for strndup" >&5
++echo $ECHO_N "checking for strndup... $ECHO_C" >&6
++if test "${ac_cv_func_strndup+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char strndup (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char strndup ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_strndup) || defined (__stub___strndup)
++choke me
++#else
++f = strndup;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_strndup=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_strndup=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strndup" >&5
++echo "${ECHO_T}$ac_cv_func_strndup" >&6
++if test $ac_cv_func_strndup = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRNDUP 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS strndup.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for strnlen" >&5
++echo $ECHO_N "checking for strnlen... $ECHO_C" >&6
++if test "${ac_cv_func_strnlen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char strnlen (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char strnlen ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_strnlen) || defined (__stub___strnlen)
++choke me
++#else
++f = strnlen;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_strnlen=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_strnlen=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strnlen" >&5
++echo "${ECHO_T}$ac_cv_func_strnlen" >&6
++if test $ac_cv_func_strnlen = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRNLEN 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS strnlen.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for strptime" >&5
++echo $ECHO_N "checking for strptime... $ECHO_C" >&6
++if test "${ac_cv_func_strptime+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char strptime (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char strptime ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_strptime) || defined (__stub___strptime)
++choke me
++#else
++f = strptime;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_strptime=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_strptime=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
++echo "${ECHO_T}$ac_cv_func_strptime" >&6
++if test $ac_cv_func_strptime = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRPTIME 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS strptime.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for strsep" >&5
++echo $ECHO_N "checking for strsep... $ECHO_C" >&6
++if test "${ac_cv_func_strsep+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char strsep (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char strsep ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_strsep) || defined (__stub___strsep)
++choke me
++#else
++f = strsep;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_strsep=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_strsep=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strsep" >&5
++echo "${ECHO_T}$ac_cv_func_strsep" >&6
++if test $ac_cv_func_strsep = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRSEP 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS strsep.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for strsep_copy" >&5
++echo $ECHO_N "checking for strsep_copy... $ECHO_C" >&6
++if test "${ac_cv_func_strsep_copy+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char strsep_copy (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char strsep_copy ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_strsep_copy) || defined (__stub___strsep_copy)
++choke me
++#else
++f = strsep_copy;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_strsep_copy=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_strsep_copy=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strsep_copy" >&5
++echo "${ECHO_T}$ac_cv_func_strsep_copy" >&6
++if test $ac_cv_func_strsep_copy = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRSEP_COPY 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS strsep_copy.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for strtok_r" >&5
++echo $ECHO_N "checking for strtok_r... $ECHO_C" >&6
++if test "${ac_cv_func_strtok_r+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char strtok_r (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char strtok_r ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_strtok_r) || defined (__stub___strtok_r)
++choke me
++#else
++f = strtok_r;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_strtok_r=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_strtok_r=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strtok_r" >&5
++echo "${ECHO_T}$ac_cv_func_strtok_r" >&6
++if test $ac_cv_func_strtok_r = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRTOK_R 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS strtok_r.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for strupr" >&5
++echo $ECHO_N "checking for strupr... $ECHO_C" >&6
++if test "${ac_cv_func_strupr+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char strupr (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char strupr ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_strupr) || defined (__stub___strupr)
++choke me
++#else
++f = strupr;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_strupr=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_strupr=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strupr" >&5
++echo "${ECHO_T}$ac_cv_func_strupr" >&6
++if test $ac_cv_func_strupr = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRUPR 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS strupr.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for swab" >&5
++echo $ECHO_N "checking for swab... $ECHO_C" >&6
++if test "${ac_cv_func_swab+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char swab (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char swab ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_swab) || defined (__stub___swab)
++choke me
++#else
++f = swab;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_swab=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_swab=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_swab" >&5
++echo "${ECHO_T}$ac_cv_func_swab" >&6
++if test $ac_cv_func_swab = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_SWAB 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS swab.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for unsetenv" >&5
++echo $ECHO_N "checking for unsetenv... $ECHO_C" >&6
++if test "${ac_cv_func_unsetenv+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char unsetenv (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char unsetenv ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_unsetenv) || defined (__stub___unsetenv)
++choke me
++#else
++f = unsetenv;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_unsetenv=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_unsetenv=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_unsetenv" >&5
++echo "${ECHO_T}$ac_cv_func_unsetenv" >&6
++if test $ac_cv_func_unsetenv = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_UNSETENV 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS unsetenv.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for verr" >&5
++echo $ECHO_N "checking for verr... $ECHO_C" >&6
++if test "${ac_cv_func_verr+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char verr (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char verr ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_verr) || defined (__stub___verr)
++choke me
++#else
++f = verr;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_verr=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_verr=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_verr" >&5
++echo "${ECHO_T}$ac_cv_func_verr" >&6
++if test $ac_cv_func_verr = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_VERR 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS verr.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for verrx" >&5
++echo $ECHO_N "checking for verrx... $ECHO_C" >&6
++if test "${ac_cv_func_verrx+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char verrx (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char verrx ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_verrx) || defined (__stub___verrx)
++choke me
++#else
++f = verrx;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_verrx=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_verrx=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_verrx" >&5
++echo "${ECHO_T}$ac_cv_func_verrx" >&6
++if test $ac_cv_func_verrx = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_VERRX 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS verrx.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for vsyslog" >&5
++echo $ECHO_N "checking for vsyslog... $ECHO_C" >&6
++if test "${ac_cv_func_vsyslog+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char vsyslog (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char vsyslog ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_vsyslog) || defined (__stub___vsyslog)
++choke me
++#else
++f = vsyslog;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_vsyslog=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_vsyslog=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_vsyslog" >&5
++echo "${ECHO_T}$ac_cv_func_vsyslog" >&6
++if test $ac_cv_func_vsyslog = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_VSYSLOG 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS vsyslog.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for vwarn" >&5
++echo $ECHO_N "checking for vwarn... $ECHO_C" >&6
++if test "${ac_cv_func_vwarn+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char vwarn (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char vwarn ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_vwarn) || defined (__stub___vwarn)
++choke me
++#else
++f = vwarn;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_vwarn=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_vwarn=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_vwarn" >&5
++echo "${ECHO_T}$ac_cv_func_vwarn" >&6
++if test $ac_cv_func_vwarn = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_VWARN 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS vwarn.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for vwarnx" >&5
++echo $ECHO_N "checking for vwarnx... $ECHO_C" >&6
++if test "${ac_cv_func_vwarnx+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char vwarnx (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char vwarnx ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_vwarnx) || defined (__stub___vwarnx)
++choke me
++#else
++f = vwarnx;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_vwarnx=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_vwarnx=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_vwarnx" >&5
++echo "${ECHO_T}$ac_cv_func_vwarnx" >&6
++if test $ac_cv_func_vwarnx = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_VWARNX 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS vwarnx.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for warn" >&5
++echo $ECHO_N "checking for warn... $ECHO_C" >&6
++if test "${ac_cv_func_warn+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char warn (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char warn ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_warn) || defined (__stub___warn)
++choke me
++#else
++f = warn;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_warn=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_warn=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_warn" >&5
++echo "${ECHO_T}$ac_cv_func_warn" >&6
++if test $ac_cv_func_warn = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_WARN 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS warn.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for warnx" >&5
++echo $ECHO_N "checking for warnx... $ECHO_C" >&6
++if test "${ac_cv_func_warnx+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char warnx (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char warnx ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_warnx) || defined (__stub___warnx)
++choke me
++#else
++f = warnx;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_warnx=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_warnx=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_warnx" >&5
++echo "${ECHO_T}$ac_cv_func_warnx" >&6
++if test $ac_cv_func_warnx = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_WARNX 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS warnx.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for writev" >&5
++echo $ECHO_N "checking for writev... $ECHO_C" >&6
++if test "${ac_cv_func_writev+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char writev (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char writev ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_writev) || defined (__stub___writev)
++choke me
++#else
++f = writev;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_writev=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_writev=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_writev" >&5
++echo "${ECHO_T}$ac_cv_func_writev" >&6
++if test $ac_cv_func_writev = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_WRITEV 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS writev.$ac_objext"
++fi
++
++
++
++if test "$ac_cv_func_strndup+set" != set -o "$ac_cv_func_strndup" = yes; then
++echo "$as_me:$LINENO: checking if strndup needs a prototype" >&5
++echo $ECHO_N "checking if strndup needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_strndup_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <string.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int strndup (struct foo*);
++strndup(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_strndup_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_func_strndup_noproto=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strndup_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_strndup_noproto" >&6
++if test "$ac_cv_func_strndup_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_STRNDUP_PROTO 1
++_ACEOF
++
++fi
++fi
++
++if test "$ac_cv_func_strsep+set" != set -o "$ac_cv_func_strsep" = yes; then
++echo "$as_me:$LINENO: checking if strsep needs a prototype" >&5
++echo $ECHO_N "checking if strsep needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_strsep_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <string.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int strsep (struct foo*);
++strsep(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_strsep_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_func_strsep_noproto=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strsep_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_strsep_noproto" >&6
++if test "$ac_cv_func_strsep_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_STRSEP_PROTO 1
++_ACEOF
++
++fi
++fi
++
++if test "$ac_cv_func_strtok_r+set" != set -o "$ac_cv_func_strtok_r" = yes; then
++echo "$as_me:$LINENO: checking if strtok_r needs a prototype" >&5
++echo $ECHO_N "checking if strtok_r needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_strtok_r_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <string.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int strtok_r (struct foo*);
++strtok_r(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_strtok_r_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_func_strtok_r_noproto=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strtok_r_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_strtok_r_noproto" >&6
++if test "$ac_cv_func_strtok_r_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_STRTOK_R_PROTO 1
++_ACEOF
++
++fi
++fi
++
++
++
++if test "$ac_cv_func_strsvis+set" != set -o "$ac_cv_func_strsvis" = yes; then
++echo "$as_me:$LINENO: checking if strsvis needs a prototype" >&5
++echo $ECHO_N "checking if strsvis needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_strsvis_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#ifdef HAVE_VIS_H
++#include <vis.h>
++#endif
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int strsvis (struct foo*);
++strsvis(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_strsvis_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_func_strsvis_noproto=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strsvis_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_strsvis_noproto" >&6
++if test "$ac_cv_func_strsvis_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_STRSVIS_PROTO 1
++_ACEOF
++
++fi
++fi
++
++if test "$ac_cv_func_strunvis+set" != set -o "$ac_cv_func_strunvis" = yes; then
++echo "$as_me:$LINENO: checking if strunvis needs a prototype" >&5
++echo $ECHO_N "checking if strunvis needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_strunvis_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#ifdef HAVE_VIS_H
++#include <vis.h>
++#endif
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int strunvis (struct foo*);
++strunvis(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_strunvis_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_func_strunvis_noproto=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strunvis_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_strunvis_noproto" >&6
++if test "$ac_cv_func_strunvis_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_STRUNVIS_PROTO 1
++_ACEOF
++
++fi
++fi
++
++if test "$ac_cv_func_strvis+set" != set -o "$ac_cv_func_strvis" = yes; then
++echo "$as_me:$LINENO: checking if strvis needs a prototype" >&5
++echo $ECHO_N "checking if strvis needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_strvis_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#ifdef HAVE_VIS_H
++#include <vis.h>
++#endif
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int strvis (struct foo*);
++strvis(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_strvis_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_func_strvis_noproto=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strvis_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_strvis_noproto" >&6
++if test "$ac_cv_func_strvis_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_STRVIS_PROTO 1
++_ACEOF
++
++fi
++fi
++
++if test "$ac_cv_func_strvisx+set" != set -o "$ac_cv_func_strvisx" = yes; then
++echo "$as_me:$LINENO: checking if strvisx needs a prototype" >&5
++echo $ECHO_N "checking if strvisx needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_strvisx_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#ifdef HAVE_VIS_H
++#include <vis.h>
++#endif
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int strvisx (struct foo*);
++strvisx(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_strvisx_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_func_strvisx_noproto=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strvisx_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_strvisx_noproto" >&6
++if test "$ac_cv_func_strvisx_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_STRVISX_PROTO 1
++_ACEOF
++
++fi
++fi
++
++if test "$ac_cv_func_svis+set" != set -o "$ac_cv_func_svis" = yes; then
++echo "$as_me:$LINENO: checking if svis needs a prototype" >&5
++echo $ECHO_N "checking if svis needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_svis_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#ifdef HAVE_VIS_H
++#include <vis.h>
++#endif
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int svis (struct foo*);
++svis(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_svis_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_func_svis_noproto=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_svis_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_svis_noproto" >&6
++if test "$ac_cv_func_svis_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_SVIS_PROTO 1
++_ACEOF
++
++fi
++fi
++
++if test "$ac_cv_func_unvis+set" != set -o "$ac_cv_func_unvis" = yes; then
++echo "$as_me:$LINENO: checking if unvis needs a prototype" >&5
++echo $ECHO_N "checking if unvis needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_unvis_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#ifdef HAVE_VIS_H
++#include <vis.h>
++#endif
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int unvis (struct foo*);
++unvis(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_unvis_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_func_unvis_noproto=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_unvis_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_unvis_noproto" >&6
++if test "$ac_cv_func_unvis_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_UNVIS_PROTO 1
++_ACEOF
++
++fi
++fi
++
++if test "$ac_cv_func_vis+set" != set -o "$ac_cv_func_vis" = yes; then
++echo "$as_me:$LINENO: checking if vis needs a prototype" >&5
++echo $ECHO_N "checking if vis needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_vis_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#ifdef HAVE_VIS_H
++#include <vis.h>
++#endif
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int vis (struct foo*);
++vis(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_vis_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_func_vis_noproto=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_vis_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_vis_noproto" >&6
++if test "$ac_cv_func_vis_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_VIS_PROTO 1
++_ACEOF
++
++fi
++fi
++
++
++echo "$as_me:$LINENO: checking for inet_aton" >&5
++echo $ECHO_N "checking for inet_aton... $ECHO_C" >&6
++if test "${ac_cv_func_inet_aton+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_INET_H
++#include <arpa/inet.h>
++#endif
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_inet_aton) || defined (__stub___inet_aton)
++choke me
++#else
++inet_aton(0,0)
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_inet_aton=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_func_inet_aton=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++
++if eval "test \"\${ac_cv_func_inet_aton}\" = yes"; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_INET_ATON 1
++_ACEOF
++
++  echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++  LIB@&t@OBJS="$LIB@&t@OBJS inet_aton.$ac_objext"
++fi
++
++echo "$as_me:$LINENO: checking for inet_ntop" >&5
++echo $ECHO_N "checking for inet_ntop... $ECHO_C" >&6
++if test "${ac_cv_func_inet_ntop+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_INET_H
++#include <arpa/inet.h>
++#endif
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_inet_ntop) || defined (__stub___inet_ntop)
++choke me
++#else
++inet_ntop(0, 0, 0, 0)
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_inet_ntop=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_func_inet_ntop=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++
++if eval "test \"\${ac_cv_func_inet_ntop}\" = yes"; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_INET_NTOP 1
++_ACEOF
++
++  echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++  LIB@&t@OBJS="$LIB@&t@OBJS inet_ntop.$ac_objext"
++fi
++
++echo "$as_me:$LINENO: checking for inet_pton" >&5
++echo $ECHO_N "checking for inet_pton... $ECHO_C" >&6
++if test "${ac_cv_func_inet_pton+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_INET_H
++#include <arpa/inet.h>
++#endif
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_inet_pton) || defined (__stub___inet_pton)
++choke me
++#else
++inet_pton(0,0,0)
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_inet_pton=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_func_inet_pton=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++
++if eval "test \"\${ac_cv_func_inet_pton}\" = yes"; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_INET_PTON 1
++_ACEOF
++
++  echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++  LIB@&t@OBJS="$LIB@&t@OBJS inet_pton.$ac_objext"
++fi
++
++
++
++echo "$as_me:$LINENO: checking for sa_len in struct sockaddr" >&5
++echo $ECHO_N "checking for sa_len in struct sockaddr... $ECHO_C" >&6
++if test "${ac_cv_type_struct_sockaddr_sa_len+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <sys/types.h>
++#include <sys/socket.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct sockaddr x; x.sa_len;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_sockaddr_sa_len=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_type_struct_sockaddr_sa_len=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_sockaddr_sa_len" >&5
++echo "${ECHO_T}$ac_cv_type_struct_sockaddr_sa_len" >&6
++if test "$ac_cv_type_struct_sockaddr_sa_len" = yes; then
++	
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_STRUCT_SOCKADDR_SA_LEN 1
++_ACEOF
++
++	
++fi
++
++
++
++if test "$ac_cv_func_getnameinfo" = "yes"; then
++  
++echo "$as_me:$LINENO: checking if getnameinfo is broken" >&5
++echo $ECHO_N "checking if getnameinfo is broken... $ECHO_C" >&6
++if test "${ac_cv_func_getnameinfo_broken+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test "$cross_compiling" = yes; then
++  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
++echo "$as_me: error: cannot run test program while cross compiling" >&2;}
++   { (exit 1); exit 1; }; }
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <stdio.h>
++#include <sys/types.h>
++#include <sys/socket.h>
++#include <netinet/in.h>
++#include <netdb.h>
++
++int
++main(int argc, char **argv)
++{
++  struct sockaddr_in sin;
++  char host[256];
++  memset(&sin, 0, sizeof(sin));
++#ifdef HAVE_STRUCT_SOCKADDR_SA_LEN
++  sin.sin_len = sizeof(sin);
++#endif
++  sin.sin_family = AF_INET;
++  sin.sin_addr.s_addr = 0xffffffff;
++  sin.sin_port = 0;
++  return getnameinfo((struct sockaddr*)&sin, sizeof(sin), host, sizeof(host),
++	      NULL, 0, 0);
++}
++
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_getnameinfo_broken=no
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++( exit $ac_status )
++ac_cv_func_getnameinfo_broken=yes
++fi
++rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getnameinfo_broken" >&5
++echo "${ECHO_T}$ac_cv_func_getnameinfo_broken" >&6
++  if test "$ac_cv_func_getnameinfo_broken" = yes; then
++	LIB@&t@OBJS="$LIB@&t@OBJS getnameinfo.$ac_objext"
++  fi
++fi
++
++if test "$ac_cv_func_getaddrinfo" = "yes"; then
++  
++echo "$as_me:$LINENO: checking if getaddrinfo handles numeric services" >&5
++echo $ECHO_N "checking if getaddrinfo handles numeric services... $ECHO_C" >&6
++if test "${ac_cv_func_getaddrinfo_numserv+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test "$cross_compiling" = yes; then
++  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
++echo "$as_me: error: cannot run test program while cross compiling" >&2;}
++   { (exit 1); exit 1; }; }
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <stdio.h>
++#include <sys/types.h>
++#include <sys/socket.h>
++#include <netdb.h>
++
++int
++main(int argc, char **argv)
++{
++	struct addrinfo hints, *ai;
++	memset(&hints, 0, sizeof(hints));
++	hints.ai_flags = AI_PASSIVE;
++	hints.ai_socktype = SOCK_STREAM;
++	hints.ai_family = PF_UNSPEC;
++	if(getaddrinfo(NULL, "17", &hints, &ai) != 0)
++		return 1;
++	return 0;
++}
++
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_getaddrinfo_numserv=yes
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++( exit $ac_status )
++ac_cv_func_getaddrinfo_numserv=no
++fi
++rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getaddrinfo_numserv" >&5
++echo "${ECHO_T}$ac_cv_func_getaddrinfo_numserv" >&6
++  if test "$ac_cv_func_getaddrinfo_numserv" = no; then
++	LIB@&t@OBJS="$LIB@&t@OBJS getaddrinfo.$ac_objext"
++	LIB@&t@OBJS="$LIB@&t@OBJS freeaddrinfo.$ac_objext"
++  fi
++fi
++
++
++if test "$ac_cv_func_setenv+set" != set -o "$ac_cv_func_setenv" = yes; then
++echo "$as_me:$LINENO: checking if setenv needs a prototype" >&5
++echo $ECHO_N "checking if setenv needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_setenv_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <stdlib.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int setenv (struct foo*);
++setenv(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_setenv_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_func_setenv_noproto=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_setenv_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_setenv_noproto" >&6
++if test "$ac_cv_func_setenv_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_SETENV_PROTO 1
++_ACEOF
++
++fi
++fi
++
++
++if test "$ac_cv_func_unsetenv+set" != set -o "$ac_cv_func_unsetenv" = yes; then
++echo "$as_me:$LINENO: checking if unsetenv needs a prototype" >&5
++echo $ECHO_N "checking if unsetenv needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_unsetenv_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <stdlib.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int unsetenv (struct foo*);
++unsetenv(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_unsetenv_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_func_unsetenv_noproto=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_unsetenv_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_unsetenv_noproto" >&6
++if test "$ac_cv_func_unsetenv_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_UNSETENV_PROTO 1
++_ACEOF
++
++fi
++fi
++
++
++if test "$ac_cv_func_gethostname+set" != set -o "$ac_cv_func_gethostname" = yes; then
++echo "$as_me:$LINENO: checking if gethostname needs a prototype" >&5
++echo $ECHO_N "checking if gethostname needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_gethostname_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <unistd.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int gethostname (struct foo*);
++gethostname(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_gethostname_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_func_gethostname_noproto=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_gethostname_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_gethostname_noproto" >&6
++if test "$ac_cv_func_gethostname_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_GETHOSTNAME_PROTO 1
++_ACEOF
++
++fi
++fi
++
++
++if test "$ac_cv_func_mkstemp+set" != set -o "$ac_cv_func_mkstemp" = yes; then
++echo "$as_me:$LINENO: checking if mkstemp needs a prototype" >&5
++echo $ECHO_N "checking if mkstemp needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_mkstemp_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <unistd.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int mkstemp (struct foo*);
++mkstemp(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_mkstemp_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_func_mkstemp_noproto=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_mkstemp_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_mkstemp_noproto" >&6
++if test "$ac_cv_func_mkstemp_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_MKSTEMP_PROTO 1
++_ACEOF
++
++fi
++fi
++
++
++if test "$ac_cv_func_getusershell+set" != set -o "$ac_cv_func_getusershell" = yes; then
++echo "$as_me:$LINENO: checking if getusershell needs a prototype" >&5
++echo $ECHO_N "checking if getusershell needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_getusershell_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <unistd.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int getusershell (struct foo*);
++getusershell(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_getusershell_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_func_getusershell_noproto=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getusershell_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_getusershell_noproto" >&6
++if test "$ac_cv_func_getusershell_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_GETUSERSHELL_PROTO 1
++_ACEOF
++
++fi
++fi
++
++
++
++if test "$ac_cv_func_inet_aton+set" != set -o "$ac_cv_func_inet_aton" = yes; then
++echo "$as_me:$LINENO: checking if inet_aton needs a prototype" >&5
++echo $ECHO_N "checking if inet_aton needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_inet_aton_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_INET_H
++#include <arpa/inet.h>
++#endif
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int inet_aton (struct foo*);
++inet_aton(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_inet_aton_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_func_inet_aton_noproto=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_inet_aton_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_inet_aton_noproto" >&6
++if test "$ac_cv_func_inet_aton_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_INET_ATON_PROTO 1
++_ACEOF
++
++fi
++fi
++
++
++
++
++
++echo "$as_me:$LINENO: checking for crypt" >&5
++echo $ECHO_N "checking for crypt... $ECHO_C" >&6
++if test "${ac_cv_funclib_crypt+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_crypt\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" crypt; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++crypt()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_crypt=$ac_lib; else ac_cv_funclib_crypt=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_crypt=\${ac_cv_funclib_crypt-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_crypt"
++
++if false; then
++	
++for ac_func in crypt
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# crypt
++eval "ac_tr_func=HAVE_`echo crypt | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_crypt=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_crypt=yes"
++	eval "LIB_crypt="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_crypt=no"
++	eval "LIB_crypt="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_crypt=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking if gethostbyname is compatible with system prototype" >&5
++echo $ECHO_N "checking if gethostbyname is compatible with system prototype... $ECHO_C" >&6
++if test "${ac_cv_func_gethostbyname_proto_compat+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_INET_H
++#include <arpa/inet.h>
++#endif
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct hostent *gethostbyname(const char *);
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_gethostbyname_proto_compat=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_func_gethostbyname_proto_compat=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname_proto_compat" >&5
++echo "${ECHO_T}$ac_cv_func_gethostbyname_proto_compat" >&6
++
++if test "$ac_cv_func_gethostbyname_proto_compat" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define GETHOSTBYNAME_PROTO_COMPATIBLE 1
++_ACEOF
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking if gethostbyaddr is compatible with system prototype" >&5
++echo $ECHO_N "checking if gethostbyaddr is compatible with system prototype... $ECHO_C" >&6
++if test "${ac_cv_func_gethostbyaddr_proto_compat+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_INET_H
++#include <arpa/inet.h>
++#endif
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct hostent *gethostbyaddr(const void *, size_t, int);
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_gethostbyaddr_proto_compat=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_func_gethostbyaddr_proto_compat=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyaddr_proto_compat" >&5
++echo "${ECHO_T}$ac_cv_func_gethostbyaddr_proto_compat" >&6
++
++if test "$ac_cv_func_gethostbyaddr_proto_compat" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define GETHOSTBYADDR_PROTO_COMPATIBLE 1
++_ACEOF
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking if getservbyname is compatible with system prototype" >&5
++echo $ECHO_N "checking if getservbyname is compatible with system prototype... $ECHO_C" >&6
++if test "${ac_cv_func_getservbyname_proto_compat+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_INET_H
++#include <arpa/inet.h>
++#endif
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct servent *getservbyname(const char *, const char *);
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_getservbyname_proto_compat=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_func_getservbyname_proto_compat=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getservbyname_proto_compat" >&5
++echo "${ECHO_T}$ac_cv_func_getservbyname_proto_compat" >&6
++
++if test "$ac_cv_func_getservbyname_proto_compat" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define GETSERVBYNAME_PROTO_COMPATIBLE 1
++_ACEOF
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking if getsockname is compatible with system prototype" >&5
++echo $ECHO_N "checking if getsockname is compatible with system prototype... $ECHO_C" >&6
++if test "${ac_cv_func_getsockname_proto_compat+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++int getsockname(int, struct sockaddr*, socklen_t*);
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_getsockname_proto_compat=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_func_getsockname_proto_compat=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getsockname_proto_compat" >&5
++echo "${ECHO_T}$ac_cv_func_getsockname_proto_compat" >&6
++
++if test "$ac_cv_func_getsockname_proto_compat" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define GETSOCKNAME_PROTO_COMPATIBLE 1
++_ACEOF
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking if openlog is compatible with system prototype" >&5
++echo $ECHO_N "checking if openlog is compatible with system prototype... $ECHO_C" >&6
++if test "${ac_cv_func_openlog_proto_compat+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef HAVE_SYSLOG_H
++#include <syslog.h>
++#endif
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++void openlog(const char *, int, int);
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_openlog_proto_compat=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_func_openlog_proto_compat=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_openlog_proto_compat" >&5
++echo "${ECHO_T}$ac_cv_func_openlog_proto_compat" >&6
++
++if test "$ac_cv_func_openlog_proto_compat" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define OPENLOG_PROTO_COMPATIBLE 1
++_ACEOF
++
++fi
++
++
++
++
++if test "$ac_cv_func_crypt+set" != set -o "$ac_cv_func_crypt" = yes; then
++echo "$as_me:$LINENO: checking if crypt needs a prototype" >&5
++echo $ECHO_N "checking if crypt needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_crypt_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef HAVE_CRYPT_H
++#include <crypt.h>
++#endif
++#ifdef HAVE_UNISTD_H
++#include <unistd.h>
++#endif
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int crypt (struct foo*);
++crypt(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_crypt_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_func_crypt_noproto=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_crypt_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_crypt_noproto" >&6
++if test "$ac_cv_func_crypt_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_CRYPT_PROTO 1
++_ACEOF
++
++fi
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking for h_errno" >&5
++echo $ECHO_N "checking for h_errno... $ECHO_C" >&6
++if test "${ac_cv_var_h_errno+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++extern int h_errno;
++int foo() { return h_errno; }
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++foo()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_var_h_errno=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_var_h_errno=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++
++fi
++
++ac_foo=`eval echo \\$ac_cv_var_h_errno`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_H_ERRNO 1
++_ACEOF
++
++	
++echo "$as_me:$LINENO: checking if h_errno is properly declared" >&5
++echo $ECHO_N "checking if h_errno is properly declared... $ECHO_C" >&6
++if test "${ac_cv_var_h_errno_declaration+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif
++extern struct { int foo; } h_errno;
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++h_errno.foo = 1;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_var_h_errno_declaration=no"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_var_h_errno_declaration=yes"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var_h_errno_declaration" >&5
++echo "${ECHO_T}$ac_cv_var_h_errno_declaration" >&6
++if eval "test \"\$ac_cv_var_h_errno_declaration\" = yes"; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_H_ERRNO_DECLARATION 1
++_ACEOF
++
++fi
++
++
++fi
++
++
++
++echo "$as_me:$LINENO: checking for h_errlist" >&5
++echo $ECHO_N "checking for h_errlist... $ECHO_C" >&6
++if test "${ac_cv_var_h_errlist+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++extern int h_errlist;
++int foo() { return h_errlist; }
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++foo()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_var_h_errlist=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_var_h_errlist=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++
++fi
++
++ac_foo=`eval echo \\$ac_cv_var_h_errlist`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_H_ERRLIST 1
++_ACEOF
++
++	
++echo "$as_me:$LINENO: checking if h_errlist is properly declared" >&5
++echo $ECHO_N "checking if h_errlist is properly declared... $ECHO_C" >&6
++if test "${ac_cv_var_h_errlist_declaration+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif
++extern struct { int foo; } h_errlist;
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++h_errlist.foo = 1;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_var_h_errlist_declaration=no"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_var_h_errlist_declaration=yes"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var_h_errlist_declaration" >&5
++echo "${ECHO_T}$ac_cv_var_h_errlist_declaration" >&6
++if eval "test \"\$ac_cv_var_h_errlist_declaration\" = yes"; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_H_ERRLIST_DECLARATION 1
++_ACEOF
++
++fi
++
++
++fi
++
++
++
++echo "$as_me:$LINENO: checking for h_nerr" >&5
++echo $ECHO_N "checking for h_nerr... $ECHO_C" >&6
++if test "${ac_cv_var_h_nerr+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++extern int h_nerr;
++int foo() { return h_nerr; }
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++foo()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_var_h_nerr=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_var_h_nerr=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++
++fi
++
++ac_foo=`eval echo \\$ac_cv_var_h_nerr`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_H_NERR 1
++_ACEOF
++
++	
++echo "$as_me:$LINENO: checking if h_nerr is properly declared" >&5
++echo $ECHO_N "checking if h_nerr is properly declared... $ECHO_C" >&6
++if test "${ac_cv_var_h_nerr_declaration+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif
++extern struct { int foo; } h_nerr;
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++h_nerr.foo = 1;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_var_h_nerr_declaration=no"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_var_h_nerr_declaration=yes"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var_h_nerr_declaration" >&5
++echo "${ECHO_T}$ac_cv_var_h_nerr_declaration" >&6
++if eval "test \"\$ac_cv_var_h_nerr_declaration\" = yes"; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_H_NERR_DECLARATION 1
++_ACEOF
++
++fi
++
++
++fi
++
++
++
++echo "$as_me:$LINENO: checking for __progname" >&5
++echo $ECHO_N "checking for __progname... $ECHO_C" >&6
++if test "${ac_cv_var___progname+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++extern int __progname;
++int foo() { return __progname; }
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++foo()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_var___progname=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_var___progname=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++
++fi
++
++ac_foo=`eval echo \\$ac_cv_var___progname`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE___PROGNAME 1
++_ACEOF
++
++	
++echo "$as_me:$LINENO: checking if __progname is properly declared" >&5
++echo $ECHO_N "checking if __progname is properly declared... $ECHO_C" >&6
++if test "${ac_cv_var___progname_declaration+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#ifdef HAVE_ERR_H
++#include <err.h>
++#endif
++extern struct { int foo; } __progname;
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++__progname.foo = 1;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_var___progname_declaration=no"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_var___progname_declaration=yes"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var___progname_declaration" >&5
++echo "${ECHO_T}$ac_cv_var___progname_declaration" >&6
++if eval "test \"\$ac_cv_var___progname_declaration\" = yes"; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE___PROGNAME_DECLARATION 1
++_ACEOF
++
++fi
++
++
++fi
++
++
++
++echo "$as_me:$LINENO: checking if optarg is properly declared" >&5
++echo $ECHO_N "checking if optarg is properly declared... $ECHO_C" >&6
++if test "${ac_cv_var_optarg_declaration+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <stdlib.h>
++#ifdef HAVE_UNISTD_H
++#include <unistd.h>
++#endif
++extern struct { int foo; } optarg;
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++optarg.foo = 1;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_var_optarg_declaration=no"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_var_optarg_declaration=yes"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var_optarg_declaration" >&5
++echo "${ECHO_T}$ac_cv_var_optarg_declaration" >&6
++if eval "test \"\$ac_cv_var_optarg_declaration\" = yes"; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_OPTARG_DECLARATION 1
++_ACEOF
++
++fi
++
++
++
++echo "$as_me:$LINENO: checking if optind is properly declared" >&5
++echo $ECHO_N "checking if optind is properly declared... $ECHO_C" >&6
++if test "${ac_cv_var_optind_declaration+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <stdlib.h>
++#ifdef HAVE_UNISTD_H
++#include <unistd.h>
++#endif
++extern struct { int foo; } optind;
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++optind.foo = 1;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_var_optind_declaration=no"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_var_optind_declaration=yes"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var_optind_declaration" >&5
++echo "${ECHO_T}$ac_cv_var_optind_declaration" >&6
++if eval "test \"\$ac_cv_var_optind_declaration\" = yes"; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_OPTIND_DECLARATION 1
++_ACEOF
++
++fi
++
++
++
++echo "$as_me:$LINENO: checking if opterr is properly declared" >&5
++echo $ECHO_N "checking if opterr is properly declared... $ECHO_C" >&6
++if test "${ac_cv_var_opterr_declaration+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <stdlib.h>
++#ifdef HAVE_UNISTD_H
++#include <unistd.h>
++#endif
++extern struct { int foo; } opterr;
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++opterr.foo = 1;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_var_opterr_declaration=no"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_var_opterr_declaration=yes"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var_opterr_declaration" >&5
++echo "${ECHO_T}$ac_cv_var_opterr_declaration" >&6
++if eval "test \"\$ac_cv_var_opterr_declaration\" = yes"; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_OPTERR_DECLARATION 1
++_ACEOF
++
++fi
++
++
++
++echo "$as_me:$LINENO: checking if optopt is properly declared" >&5
++echo $ECHO_N "checking if optopt is properly declared... $ECHO_C" >&6
++if test "${ac_cv_var_optopt_declaration+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <stdlib.h>
++#ifdef HAVE_UNISTD_H
++#include <unistd.h>
++#endif
++extern struct { int foo; } optopt;
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++optopt.foo = 1;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_var_optopt_declaration=no"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_var_optopt_declaration=yes"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var_optopt_declaration" >&5
++echo "${ECHO_T}$ac_cv_var_optopt_declaration" >&6
++if eval "test \"\$ac_cv_var_optopt_declaration\" = yes"; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_OPTOPT_DECLARATION 1
++_ACEOF
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking if environ is properly declared" >&5
++echo $ECHO_N "checking if environ is properly declared... $ECHO_C" >&6
++if test "${ac_cv_var_environ_declaration+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <stdlib.h>
++extern struct { int foo; } environ;
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++environ.foo = 1;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_var_environ_declaration=no"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_var_environ_declaration=yes"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var_environ_declaration" >&5
++echo "${ECHO_T}$ac_cv_var_environ_declaration" >&6
++if eval "test \"\$ac_cv_var_environ_declaration\" = yes"; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_ENVIRON_DECLARATION 1
++_ACEOF
++
++fi
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
++echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
++if test "${ac_cv_type_struct_tm_tm_gmtoff+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <time.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct tm x; x.tm_gmtoff;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_tm_tm_gmtoff=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_type_struct_tm_tm_gmtoff=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_tm_tm_gmtoff" >&5
++echo "${ECHO_T}$ac_cv_type_struct_tm_tm_gmtoff" >&6
++if test "$ac_cv_type_struct_tm_tm_gmtoff" = yes; then
++	
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_STRUCT_TM_TM_GMTOFF 1
++_ACEOF
++
++	
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking for tm_zone in struct tm" >&5
++echo $ECHO_N "checking for tm_zone in struct tm... $ECHO_C" >&6
++if test "${ac_cv_type_struct_tm_tm_zone+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <time.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct tm x; x.tm_zone;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_tm_tm_zone=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_type_struct_tm_tm_zone=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_tm_tm_zone" >&5
++echo "${ECHO_T}$ac_cv_type_struct_tm_tm_zone" >&6
++if test "$ac_cv_type_struct_tm_tm_zone" = yes; then
++	
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_STRUCT_TM_TM_ZONE 1
++_ACEOF
++
++	
++fi
++
++
++
++
++
++echo "$as_me:$LINENO: checking for timezone" >&5
++echo $ECHO_N "checking for timezone... $ECHO_C" >&6
++if test "${ac_cv_var_timezone+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++extern int timezone;
++int foo() { return timezone; }
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++foo()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_var_timezone=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_var_timezone=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++
++fi
++
++ac_foo=`eval echo \\$ac_cv_var_timezone`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_TIMEZONE 1
++_ACEOF
++
++	
++echo "$as_me:$LINENO: checking if timezone is properly declared" >&5
++echo $ECHO_N "checking if timezone is properly declared... $ECHO_C" >&6
++if test "${ac_cv_var_timezone_declaration+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <time.h>
++extern struct { int foo; } timezone;
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++timezone.foo = 1;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_var_timezone_declaration=no"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_var_timezone_declaration=yes"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var_timezone_declaration" >&5
++echo "${ECHO_T}$ac_cv_var_timezone_declaration" >&6
++if eval "test \"\$ac_cv_var_timezone_declaration\" = yes"; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_TIMEZONE_DECLARATION 1
++_ACEOF
++
++fi
++
++
++fi
++
++
++echo "$as_me:$LINENO: checking for altzone" >&5
++echo $ECHO_N "checking for altzone... $ECHO_C" >&6
++if test "${ac_cv_var_altzone+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++extern int altzone;
++int foo() { return altzone; }
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++foo()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_var_altzone=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_var_altzone=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++
++fi
++
++ac_foo=`eval echo \\$ac_cv_var_altzone`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_ALTZONE 1
++_ACEOF
++
++	
++echo "$as_me:$LINENO: checking if altzone is properly declared" >&5
++echo $ECHO_N "checking if altzone is properly declared... $ECHO_C" >&6
++if test "${ac_cv_var_altzone_declaration+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <time.h>
++extern struct { int foo; } altzone;
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++altzone.foo = 1;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_var_altzone_declaration=no"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_var_altzone_declaration=yes"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var_altzone_declaration" >&5
++echo "${ECHO_T}$ac_cv_var_altzone_declaration" >&6
++if eval "test \"\$ac_cv_var_altzone_declaration\" = yes"; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_ALTZONE_DECLARATION 1
++_ACEOF
++
++fi
++
++
++fi
++
++
++
++
++cv=`echo "sa_family_t" | sed 'y%./+- %__p__%'`
++echo "$as_me:$LINENO: checking for sa_family_t" >&5
++echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6
++if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <sys/types.h>
++#if STDC_HEADERS
++#include <stdlib.h>
++#include <stddef.h>
++#endif
++#include <sys/socket.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++sa_family_t foo;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_type_$cv=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_type_$cv=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++ac_foo=`eval echo \\$ac_cv_type_$cv`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++  ac_tr_hdr=HAVE_`echo sa_family_t | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
++if false; then
++	echo "$as_me:$LINENO: checking for sa_family_t" >&5
++echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6
++if test "${ac_cv_type_sa_family_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++$ac_includes_default
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++if ((sa_family_t *) 0)
++  return 0;
++if (sizeof (sa_family_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_sa_family_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_type_sa_family_t=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_sa_family_t" >&5
++echo "${ECHO_T}$ac_cv_type_sa_family_t" >&6
++if test $ac_cv_type_sa_family_t = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_SA_FAMILY_T 1
++_ACEOF
++
++
++fi
++
++fi
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_hdr 1
++_ACEOF
++
++fi
++
++
++
++cv=`echo "socklen_t" | sed 'y%./+- %__p__%'`
++echo "$as_me:$LINENO: checking for socklen_t" >&5
++echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
++if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <sys/types.h>
++#if STDC_HEADERS
++#include <stdlib.h>
++#include <stddef.h>
++#endif
++#include <sys/socket.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++socklen_t foo;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_type_$cv=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_type_$cv=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++ac_foo=`eval echo \\$ac_cv_type_$cv`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++  ac_tr_hdr=HAVE_`echo socklen_t | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
++if false; then
++	echo "$as_me:$LINENO: checking for socklen_t" >&5
++echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
++if test "${ac_cv_type_socklen_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++$ac_includes_default
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++if ((socklen_t *) 0)
++  return 0;
++if (sizeof (socklen_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_socklen_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_type_socklen_t=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
++echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
++if test $ac_cv_type_socklen_t = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_SOCKLEN_T 1
++_ACEOF
++
++
++fi
++
++fi
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_hdr 1
++_ACEOF
++
++fi
++
++
++
++cv=`echo "struct sockaddr" | sed 'y%./+- %__p__%'`
++echo "$as_me:$LINENO: checking for struct sockaddr" >&5
++echo $ECHO_N "checking for struct sockaddr... $ECHO_C" >&6
++if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <sys/types.h>
++#if STDC_HEADERS
++#include <stdlib.h>
++#include <stddef.h>
++#endif
++#include <sys/socket.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct sockaddr foo;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_type_$cv=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_type_$cv=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++ac_foo=`eval echo \\$ac_cv_type_$cv`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++  ac_tr_hdr=HAVE_`echo struct sockaddr | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
++if false; then
++	echo "$as_me:$LINENO: checking for struct sockaddr" >&5
++echo $ECHO_N "checking for struct sockaddr... $ECHO_C" >&6
++if test "${ac_cv_type_struct_sockaddr+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++$ac_includes_default
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++if ((struct sockaddr *) 0)
++  return 0;
++if (sizeof (struct sockaddr))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_sockaddr=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_type_struct_sockaddr=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_sockaddr" >&5
++echo "${ECHO_T}$ac_cv_type_struct_sockaddr" >&6
++if test $ac_cv_type_struct_sockaddr = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRUCT_SOCKADDR 1
++_ACEOF
++
++
++fi
++
++fi
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_hdr 1
++_ACEOF
++
++fi
++
++
++
++cv=`echo "struct sockaddr_storage" | sed 'y%./+- %__p__%'`
++echo "$as_me:$LINENO: checking for struct sockaddr_storage" >&5
++echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6
++if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <sys/types.h>
++#if STDC_HEADERS
++#include <stdlib.h>
++#include <stddef.h>
++#endif
++#include <sys/socket.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct sockaddr_storage foo;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_type_$cv=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_type_$cv=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++ac_foo=`eval echo \\$ac_cv_type_$cv`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++  ac_tr_hdr=HAVE_`echo struct sockaddr_storage | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
++if false; then
++	echo "$as_me:$LINENO: checking for struct sockaddr_storage" >&5
++echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6
++if test "${ac_cv_type_struct_sockaddr_storage+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++$ac_includes_default
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++if ((struct sockaddr_storage *) 0)
++  return 0;
++if (sizeof (struct sockaddr_storage))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_sockaddr_storage=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_type_struct_sockaddr_storage=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_sockaddr_storage" >&5
++echo "${ECHO_T}$ac_cv_type_struct_sockaddr_storage" >&6
++if test $ac_cv_type_struct_sockaddr_storage = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRUCT_SOCKADDR_STORAGE 1
++_ACEOF
++
++
++fi
++
++fi
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_hdr 1
++_ACEOF
++
++fi
++
++
++
++cv=`echo "struct addrinfo" | sed 'y%./+- %__p__%'`
++echo "$as_me:$LINENO: checking for struct addrinfo" >&5
++echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6
++if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <sys/types.h>
++#if STDC_HEADERS
++#include <stdlib.h>
++#include <stddef.h>
++#endif
++#include <netdb.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct addrinfo foo;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_type_$cv=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_type_$cv=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++ac_foo=`eval echo \\$ac_cv_type_$cv`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++  ac_tr_hdr=HAVE_`echo struct addrinfo | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
++if false; then
++	echo "$as_me:$LINENO: checking for struct addrinfo" >&5
++echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6
++if test "${ac_cv_type_struct_addrinfo+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++$ac_includes_default
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++if ((struct addrinfo *) 0)
++  return 0;
++if (sizeof (struct addrinfo))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_addrinfo=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_type_struct_addrinfo=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_addrinfo" >&5
++echo "${ECHO_T}$ac_cv_type_struct_addrinfo" >&6
++if test $ac_cv_type_struct_addrinfo = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRUCT_ADDRINFO 1
++_ACEOF
++
++
++fi
++
++fi
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_hdr 1
++_ACEOF
++
++fi
++
++
++
++cv=`echo "struct ifaddrs" | sed 'y%./+- %__p__%'`
++echo "$as_me:$LINENO: checking for struct ifaddrs" >&5
++echo $ECHO_N "checking for struct ifaddrs... $ECHO_C" >&6
++if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <sys/types.h>
++#if STDC_HEADERS
++#include <stdlib.h>
++#include <stddef.h>
++#endif
++#include <ifaddrs.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct ifaddrs foo;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_type_$cv=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_type_$cv=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++ac_foo=`eval echo \\$ac_cv_type_$cv`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++  ac_tr_hdr=HAVE_`echo struct ifaddrs | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
++if false; then
++	echo "$as_me:$LINENO: checking for struct ifaddrs" >&5
++echo $ECHO_N "checking for struct ifaddrs... $ECHO_C" >&6
++if test "${ac_cv_type_struct_ifaddrs+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++$ac_includes_default
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++if ((struct ifaddrs *) 0)
++  return 0;
++if (sizeof (struct ifaddrs))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_ifaddrs=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_type_struct_ifaddrs=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_ifaddrs" >&5
++echo "${ECHO_T}$ac_cv_type_struct_ifaddrs" >&6
++if test $ac_cv_type_struct_ifaddrs = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRUCT_IFADDRS 1
++_ACEOF
++
++
++fi
++
++fi
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_hdr 1
++_ACEOF
++
++fi
++
++
++
++cv=`echo "struct iovec" | sed 'y%./+- %__p__%'`
++echo "$as_me:$LINENO: checking for struct iovec" >&5
++echo $ECHO_N "checking for struct iovec... $ECHO_C" >&6
++if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <sys/types.h>
++#if STDC_HEADERS
++#include <stdlib.h>
++#include <stddef.h>
++#endif
++
++#include <sys/types.h>
++#include <sys/uio.h>
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct iovec foo;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_type_$cv=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_type_$cv=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++ac_foo=`eval echo \\$ac_cv_type_$cv`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++  ac_tr_hdr=HAVE_`echo struct iovec | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
++if false; then
++	echo "$as_me:$LINENO: checking for struct iovec" >&5
++echo $ECHO_N "checking for struct iovec... $ECHO_C" >&6
++if test "${ac_cv_type_struct_iovec+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++$ac_includes_default
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++if ((struct iovec *) 0)
++  return 0;
++if (sizeof (struct iovec))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_iovec=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_type_struct_iovec=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_iovec" >&5
++echo "${ECHO_T}$ac_cv_type_struct_iovec" >&6
++if test $ac_cv_type_struct_iovec = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRUCT_IOVEC 1
++_ACEOF
++
++
++fi
++
++fi
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_hdr 1
++_ACEOF
++
++fi
++
++
++
++cv=`echo "struct msghdr" | sed 'y%./+- %__p__%'`
++echo "$as_me:$LINENO: checking for struct msghdr" >&5
++echo $ECHO_N "checking for struct msghdr... $ECHO_C" >&6
++if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <sys/types.h>
++#if STDC_HEADERS
++#include <stdlib.h>
++#include <stddef.h>
++#endif
++
++#include <sys/types.h>
++#include <sys/socket.h>
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct msghdr foo;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_type_$cv=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_type_$cv=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++ac_foo=`eval echo \\$ac_cv_type_$cv`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++  ac_tr_hdr=HAVE_`echo struct msghdr | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
++if false; then
++	echo "$as_me:$LINENO: checking for struct msghdr" >&5
++echo $ECHO_N "checking for struct msghdr... $ECHO_C" >&6
++if test "${ac_cv_type_struct_msghdr+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++$ac_includes_default
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++if ((struct msghdr *) 0)
++  return 0;
++if (sizeof (struct msghdr))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_msghdr=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_type_struct_msghdr=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_msghdr" >&5
++echo "${ECHO_T}$ac_cv_type_struct_msghdr" >&6
++if test $ac_cv_type_struct_msghdr = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRUCT_MSGHDR 1
++_ACEOF
++
++
++fi
++
++fi
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_hdr 1
++_ACEOF
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking for struct winsize" >&5
++echo $ECHO_N "checking for struct winsize... $ECHO_C" >&6
++if test "${ac_cv_struct_winsize+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++ac_cv_struct_winsize=no
++for i in sys/termios.h sys/ioctl.h; do
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <$i>
++
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  egrep "struct[ 	]*winsize" >/dev/null 2>&1; then
++  ac_cv_struct_winsize=yes; break
++fi
++rm -f conftest*
++done
++
++fi
++
++if test "$ac_cv_struct_winsize" = "yes"; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_STRUCT_WINSIZE 1
++_ACEOF
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_struct_winsize" >&5
++echo "${ECHO_T}$ac_cv_struct_winsize" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <termios.h>
++
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  egrep "ws_xpixel" >/dev/null 2>&1; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_WS_XPIXEL 1
++_ACEOF
++
++fi
++rm -f conftest*
++
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <termios.h>
++
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  egrep "ws_ypixel" >/dev/null 2>&1; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_WS_YPIXEL 1
++_ACEOF
++
++fi
++rm -f conftest*
++
++
++
++
++
++echo "$as_me:$LINENO: checking for struct spwd" >&5
++echo $ECHO_N "checking for struct spwd... $ECHO_C" >&6
++if test "${ac_cv_struct_spwd+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <pwd.h>
++#ifdef HAVE_SHADOW_H
++#include <shadow.h>
++#endif
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct spwd foo;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_struct_spwd=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_struct_spwd=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++
++fi
++
++echo "$as_me:$LINENO: result: $ac_cv_struct_spwd" >&5
++echo "${ECHO_T}$ac_cv_struct_spwd" >&6
++
++if test "$ac_cv_struct_spwd" = "yes"; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_STRUCT_SPWD 1
++_ACEOF
++
++fi
++
++
++
++
++
++#fi
++LIB_roken="\$(top_builddir)/lib/vers/libvers.la $LIB_roken"
++
++
++# Check whether --enable-otp or --disable-otp was given.
++if test "${enable_otp+set}" = set; then
++  enableval="$enable_otp"
++  
++fi; 
++if test "$enable_otp" = yes -a "$db_type" = unknown; then
++	{ { echo "$as_me:$LINENO: error: OTP requires a NDBM/DB compatible library" >&5
++echo "$as_me: error: OTP requires a NDBM/DB compatible library" >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test "$enable_otp" != no; then
++	if test "$db_type" != unknown; then
++		enable_otp=yes
++	else
++		enable_otp=no
++	fi
++fi
++if test "$enable_otp" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define OTP 1
++_ACEOF
++
++fi
++echo "$as_me:$LINENO: checking whether to enable OTP library" >&5
++echo $ECHO_N "checking whether to enable OTP library... $ECHO_C" >&6
++echo "$as_me:$LINENO: result: $enable_otp" >&5
++echo "${ECHO_T}$enable_otp" >&6
++
++
++if test "$enable_otp" = yes; then
++  OTP_TRUE=
++  OTP_FALSE='#'
++else
++  OTP_TRUE='#'
++  OTP_FALSE=
++fi
++
++
++
++# Check whether --enable-osfc2 or --disable-osfc2 was given.
++if test "${enable_osfc2+set}" = set; then
++  enableval="$enable_osfc2"
++  
++fi; 
++LIB_security=
++if test "$enable_osfc2" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_OSFC2 1
++_ACEOF
++
++	LIB_security=-lsecurity
++fi
++
++
++
++# Check whether --enable-mmap or --disable-mmap was given.
++if test "${enable_mmap+set}" = set; then
++  enableval="$enable_mmap"
++  
++fi; 
++if test "$enable_mmap" = "no"; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NO_MMAP 1
++_ACEOF
++
++fi
++
++# Extract the first word of "nroff", so it can be a program name with args.
++set dummy nroff; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_path_NROFF+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  case $NROFF in
++  [\\/]* | ?:[\\/]*)
++  ac_cv_path_NROFF="$NROFF" # Let the user override the test with a path.
++  ;;
++  *)
++  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_path_NROFF="$as_dir/$ac_word$ac_exec_ext"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++  ;;
++esac
++fi
++NROFF=$ac_cv_path_NROFF
++
++if test -n "$NROFF"; then
++  echo "$as_me:$LINENO: result: $NROFF" >&5
++echo "${ECHO_T}$NROFF" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++# Extract the first word of "groff", so it can be a program name with args.
++set dummy groff; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_path_GROFF+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  case $GROFF in
++  [\\/]* | ?:[\\/]*)
++  ac_cv_path_GROFF="$GROFF" # Let the user override the test with a path.
++  ;;
++  *)
++  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_path_GROFF="$as_dir/$ac_word$ac_exec_ext"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++  ;;
++esac
++fi
++GROFF=$ac_cv_path_GROFF
++
++if test -n "$GROFF"; then
++  echo "$as_me:$LINENO: result: $GROFF" >&5
++echo "${ECHO_T}$GROFF" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++echo "$as_me:$LINENO: checking how to format man pages" >&5
++echo $ECHO_N "checking how to format man pages... $ECHO_C" >&6
++if test "${ac_cv_sys_man_format+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat > conftest.1 << END
++.Dd January 1, 1970
++.Dt CONFTEST 1
++.Sh NAME
++.Nm conftest
++.Nd
++foobar
++END
++
++if test "$NROFF" ; then
++	for i in "-mdoc" "-mandoc"; do
++		if "$NROFF" $i conftest.1 2> /dev/null | \
++			grep Jan > /dev/null 2>&1 ; then
++			ac_cv_sys_man_format="$NROFF $i"
++			break
++		fi
++	done
++fi
++if test "$ac_cv_sys_man_format" = "" -a "$GROFF" ; then
++	for i in "-mdoc" "-mandoc"; do
++		if "$GROFF" -Tascii $i conftest.1 2> /dev/null | \
++			grep Jan > /dev/null 2>&1 ; then
++			ac_cv_sys_man_format="$GROFF -Tascii $i"
++			break
++		fi
++	done
++fi
++if test "$ac_cv_sys_man_format"; then
++	ac_cv_sys_man_format="$ac_cv_sys_man_format \$< > \$@"
++fi
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_sys_man_format" >&5
++echo "${ECHO_T}$ac_cv_sys_man_format" >&6
++if test "$ac_cv_sys_man_format"; then
++	CATMAN="$ac_cv_sys_man_format"
++	
++fi
++
++
++if test "$CATMAN"; then
++  CATMAN_TRUE=
++  CATMAN_FALSE='#'
++else
++  CATMAN_TRUE='#'
++  CATMAN_FALSE=
++fi
++
++echo "$as_me:$LINENO: checking extension of pre-formatted manual pages" >&5
++echo $ECHO_N "checking extension of pre-formatted manual pages... $ECHO_C" >&6
++if test "${ac_cv_sys_catman_ext+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if grep _suffix /etc/man.conf > /dev/null 2>&1; then
++	ac_cv_sys_catman_ext=0
++else
++	ac_cv_sys_catman_ext=number
++fi
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_sys_catman_ext" >&5
++echo "${ECHO_T}$ac_cv_sys_catman_ext" >&6
++if test "$ac_cv_sys_catman_ext" = number; then
++	CATMANEXT='$$section'
++else
++	CATMANEXT=0
++fi
++
++
++
++
++
++# Check whether --with-readline or --without-readline was given.
++if test "${with_readline+set}" = set; then
++  withval="$with_readline"
++  
++fi; 
++
++# Check whether --with-readline-lib or --without-readline-lib was given.
++if test "${with_readline_lib+set}" = set; then
++  withval="$with_readline_lib"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-readline-lib" >&5
++echo "$as_me: error: No argument for --with-readline-lib" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_readline" = "X"; then
++  with_readline=yes
++fi
++fi; 
++
++# Check whether --with-readline-include or --without-readline-include was given.
++if test "${with_readline_include+set}" = set; then
++  withval="$with_readline_include"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-readline-include" >&5
++echo "$as_me: error: No argument for --with-readline-include" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_readline" = "X"; then
++  with_readline=yes
++fi
++fi; 
++
++# Check whether --with-readline-config or --without-readline-config was given.
++if test "${with_readline_config+set}" = set; then
++  withval="$with_readline_config"
++  
++fi; 
++
++
++
++echo "$as_me:$LINENO: checking for readline" >&5
++echo $ECHO_N "checking for readline... $ECHO_C" >&6
++
++case "$with_readline" in
++yes|"") d='' ;;
++no)	d= ;;
++*)	d="$with_readline" ;;
++esac
++
++header_dirs=
++lib_dirs=
++for i in $d /usr; do
++	if test "$with_readline_include" = ""; then
++		if test -d "$i/include/readline"; then
++			header_dirs="$header_dirs $i/include/readline"
++		fi
++		if test -d "$i/include"; then
++			header_dirs="$header_dirs $i/include"
++		fi
++	fi
++	if test "$with_readline_lib" = ""; then
++		if test -d "$i/lib$abilibdirext"; then
++			lib_dirs="$lib_dirs $i/lib$abilibdirext"
++		fi
++	fi
++done
++
++if test "$with_readline_include"; then
++	header_dirs="$with_readline_include $header_dirs"
++fi
++if test "$with_readline_lib"; then
++	lib_dirs="$with_readline_lib $lib_dirs"
++fi
++
++if test "$with_readline_config" = ""; then
++	with_readline_config=''
++fi
++
++readline_cflags=
++readline_libs=
++
++case "$with_readline_config" in
++yes|no|"")
++	;;
++*)
++	readline_cflags="`$with_readline_config --cflags 2>&1`"
++	readline_libs="`$with_readline_config --libs 2>&1`"
++	;;
++esac
++
++found=no
++if test "$with_readline" != no; then
++	save_CFLAGS="$CFLAGS"
++	save_LIBS="$LIBS"
++	if test "$readline_cflags" -a "$readline_libs"; then
++		CFLAGS="$readline_cflags $save_CFLAGS"
++		LIBS="$readline_libs $save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <stdio.h>
++ #include <readline.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  
++			INCLUDE_readline="$readline_cflags"
++			LIB_readline="$readline_libs"
++			echo "$as_me:$LINENO: result: from $with_readline_config" >&5
++echo "${ECHO_T}from $with_readline_config" >&6
++			found=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	fi
++	if test "$found" = no; then
++		ires= lres=
++		for i in $header_dirs; do
++			CFLAGS="-I$i $save_CFLAGS"
++			cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <stdio.h>
++ #include <readline.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ires=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++		done
++		for i in $lib_dirs; do
++			LIBS="-L$i -lreadline  $save_LIBS"
++			cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <stdio.h>
++ #include <readline.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  lres=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++		done
++		if test "$ires" -a "$lres" -a "$with_readline" != "no"; then
++			DIR_readline=
++			INCLUDE_readline="-I$ires"
++			LIB_readline="-L$lres -lreadline "
++			found=yes
++			echo "$as_me:$LINENO: result: headers $ires, libraries $lres" >&5
++echo "${ECHO_T}headers $ires, libraries $lres" >&6
++		fi
++	fi
++	CFLAGS="$save_CFLAGS"
++	LIBS="$save_LIBS"
++fi
++
++if test "$found" = yes; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define READLINE 1
++_ACEOF
++
++	with_readline=yes
++else
++	with_readline=no
++	DIR_readline=
++	INCLUDE_readline=
++	LIB_readline=
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++
++
++
++
++
++
++
++# Check whether --with-hesiod or --without-hesiod was given.
++if test "${with_hesiod+set}" = set; then
++  withval="$with_hesiod"
++  
++fi; 
++
++# Check whether --with-hesiod-lib or --without-hesiod-lib was given.
++if test "${with_hesiod_lib+set}" = set; then
++  withval="$with_hesiod_lib"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-hesiod-lib" >&5
++echo "$as_me: error: No argument for --with-hesiod-lib" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_hesiod" = "X"; then
++  with_hesiod=yes
++fi
++fi; 
++
++# Check whether --with-hesiod-include or --without-hesiod-include was given.
++if test "${with_hesiod_include+set}" = set; then
++  withval="$with_hesiod_include"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-hesiod-include" >&5
++echo "$as_me: error: No argument for --with-hesiod-include" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_hesiod" = "X"; then
++  with_hesiod=yes
++fi
++fi; 
++
++# Check whether --with-hesiod-config or --without-hesiod-config was given.
++if test "${with_hesiod_config+set}" = set; then
++  withval="$with_hesiod_config"
++  
++fi; 
++
++
++
++echo "$as_me:$LINENO: checking for hesiod" >&5
++echo $ECHO_N "checking for hesiod... $ECHO_C" >&6
++
++case "$with_hesiod" in
++yes|"") d='' ;;
++no)	d= ;;
++*)	d="$with_hesiod" ;;
++esac
++
++header_dirs=
++lib_dirs=
++for i in $d /usr; do
++	if test "$with_hesiod_include" = ""; then
++		if test -d "$i/include/hesiod"; then
++			header_dirs="$header_dirs $i/include/hesiod"
++		fi
++		if test -d "$i/include"; then
++			header_dirs="$header_dirs $i/include"
++		fi
++	fi
++	if test "$with_hesiod_lib" = ""; then
++		if test -d "$i/lib$abilibdirext"; then
++			lib_dirs="$lib_dirs $i/lib$abilibdirext"
++		fi
++	fi
++done
++
++if test "$with_hesiod_include"; then
++	header_dirs="$with_hesiod_include $header_dirs"
++fi
++if test "$with_hesiod_lib"; then
++	lib_dirs="$with_hesiod_lib $lib_dirs"
++fi
++
++if test "$with_hesiod_config" = ""; then
++	with_hesiod_config=''
++fi
++
++hesiod_cflags=
++hesiod_libs=
++
++case "$with_hesiod_config" in
++yes|no|"")
++	;;
++*)
++	hesiod_cflags="`$with_hesiod_config --cflags 2>&1`"
++	hesiod_libs="`$with_hesiod_config --libs 2>&1`"
++	;;
++esac
++
++found=no
++if test "$with_hesiod" != no; then
++	save_CFLAGS="$CFLAGS"
++	save_LIBS="$LIBS"
++	if test "$hesiod_cflags" -a "$hesiod_libs"; then
++		CFLAGS="$hesiod_cflags $save_CFLAGS"
++		LIBS="$hesiod_libs $save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <hesiod.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  
++			INCLUDE_hesiod="$hesiod_cflags"
++			LIB_hesiod="$hesiod_libs"
++			echo "$as_me:$LINENO: result: from $with_hesiod_config" >&5
++echo "${ECHO_T}from $with_hesiod_config" >&6
++			found=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	fi
++	if test "$found" = no; then
++		ires= lres=
++		for i in $header_dirs; do
++			CFLAGS="-I$i $save_CFLAGS"
++			cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <hesiod.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ires=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++		done
++		for i in $lib_dirs; do
++			LIBS="-L$i -lhesiod  $save_LIBS"
++			cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <hesiod.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  lres=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++		done
++		if test "$ires" -a "$lres" -a "$with_hesiod" != "no"; then
++			DIR_hesiod=
++			INCLUDE_hesiod="-I$ires"
++			LIB_hesiod="-L$lres -lhesiod "
++			found=yes
++			echo "$as_me:$LINENO: result: headers $ires, libraries $lres" >&5
++echo "${ECHO_T}headers $ires, libraries $lres" >&6
++		fi
++	fi
++	CFLAGS="$save_CFLAGS"
++	LIBS="$save_LIBS"
++fi
++
++if test "$found" = yes; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define HESIOD 1
++_ACEOF
++
++	with_hesiod=yes
++else
++	with_hesiod=no
++	DIR_hesiod=
++	INCLUDE_hesiod=
++	LIB_hesiod=
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++
++
++
++
++
++
++
++# Check whether --with-sl or --without-sl was given.
++if test "${with_sl+set}" = set; then
++  withval="$with_sl"
++  
++fi; 
++
++# Check whether --with-sl-lib or --without-sl-lib was given.
++if test "${with_sl_lib+set}" = set; then
++  withval="$with_sl_lib"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-sl-lib" >&5
++echo "$as_me: error: No argument for --with-sl-lib" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_sl" = "X"; then
++  with_sl=yes
++fi
++fi; 
++
++# Check whether --with-sl-include or --without-sl-include was given.
++if test "${with_sl_include+set}" = set; then
++  withval="$with_sl_include"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-sl-include" >&5
++echo "$as_me: error: No argument for --with-sl-include" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_sl" = "X"; then
++  with_sl=yes
++fi
++fi; 
++
++# Check whether --with-sl-config or --without-sl-config was given.
++if test "${with_sl_config+set}" = set; then
++  withval="$with_sl_config"
++  
++fi; 
++
++
++
++echo "$as_me:$LINENO: checking for sl" >&5
++echo $ECHO_N "checking for sl... $ECHO_C" >&6
++
++case "$with_sl" in
++yes|"") d='' ;;
++no)	d= ;;
++*)	d="$with_sl" ;;
++esac
++
++header_dirs=
++lib_dirs=
++for i in $d /usr; do
++	if test "$with_sl_include" = ""; then
++		if test -d "$i/include/sl"; then
++			header_dirs="$header_dirs $i/include/sl"
++		fi
++		if test -d "$i/include"; then
++			header_dirs="$header_dirs $i/include"
++		fi
++	fi
++	if test "$with_sl_lib" = ""; then
++		if test -d "$i/lib$abilibdirext"; then
++			lib_dirs="$lib_dirs $i/lib$abilibdirext"
++		fi
++	fi
++done
++
++if test "$with_sl_include"; then
++	header_dirs="$with_sl_include $header_dirs"
++fi
++if test "$with_sl_lib"; then
++	lib_dirs="$with_sl_lib $lib_dirs"
++fi
++
++if test "$with_sl_config" = ""; then
++	with_sl_config=''
++fi
++
++sl_cflags=
++sl_libs=
++
++case "$with_sl_config" in
++yes|no|"")
++	;;
++*)
++	sl_cflags="`$with_sl_config --cflags 2>&1`"
++	sl_libs="`$with_sl_config --libs 2>&1`"
++	;;
++esac
++
++found=no
++if test "$with_sl" != no; then
++	save_CFLAGS="$CFLAGS"
++	save_LIBS="$LIBS"
++	if test "$sl_cflags" -a "$sl_libs"; then
++		CFLAGS="$sl_cflags $save_CFLAGS"
++		LIBS="$sl_libs $save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  
++			INCLUDE_sl="$sl_cflags"
++			LIB_sl="$sl_libs"
++			echo "$as_me:$LINENO: result: from $with_sl_config" >&5
++echo "${ECHO_T}from $with_sl_config" >&6
++			found=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	fi
++	if test "$found" = no; then
++		ires= lres=
++		for i in $header_dirs; do
++			CFLAGS="-I$i $save_CFLAGS"
++			cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ires=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++		done
++		for i in $lib_dirs; do
++			LIBS="-L$i -lsl  $save_LIBS"
++			cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  lres=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++		done
++		if test "$ires" -a "$lres" -a "$with_sl" != "no"; then
++			DIR_sl=
++			INCLUDE_sl="-I$ires"
++			LIB_sl="-L$lres -lsl "
++			found=yes
++			echo "$as_me:$LINENO: result: headers $ires, libraries $lres" >&5
++echo "${ECHO_T}headers $ires, libraries $lres" >&6
++		fi
++	fi
++	CFLAGS="$save_CFLAGS"
++	LIBS="$save_LIBS"
++fi
++
++if test "$found" = yes; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define SL 1
++_ACEOF
++
++	with_sl=yes
++else
++	with_sl=no
++	DIR_sl=
++	INCLUDE_sl=
++	LIB_sl=
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++
++
++
++
++if ! test "$with_sl" = yes; then
++	DIR_sl="sl"
++	LIB_sl='$(top_builddir)/lib/sl/libsl.la'
++fi
++
++
++# Check whether --with-ss or --without-ss was given.
++if test "${with_ss+set}" = set; then
++  withval="$with_ss"
++  
++fi; 
++
++# Check whether --with-ss-lib or --without-ss-lib was given.
++if test "${with_ss_lib+set}" = set; then
++  withval="$with_ss_lib"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-ss-lib" >&5
++echo "$as_me: error: No argument for --with-ss-lib" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_ss" = "X"; then
++  with_ss=yes
++fi
++fi; 
++
++# Check whether --with-ss-include or --without-ss-include was given.
++if test "${with_ss_include+set}" = set; then
++  withval="$with_ss_include"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-ss-include" >&5
++echo "$as_me: error: No argument for --with-ss-include" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_ss" = "X"; then
++  with_ss=yes
++fi
++fi; 
++
++# Check whether --with-ss-config or --without-ss-config was given.
++if test "${with_ss_config+set}" = set; then
++  withval="$with_ss_config"
++  
++fi; 
++
++
++
++echo "$as_me:$LINENO: checking for ss" >&5
++echo $ECHO_N "checking for ss... $ECHO_C" >&6
++
++case "$with_ss" in
++yes|"") d='' ;;
++no)	d= ;;
++*)	d="$with_ss" ;;
++esac
++
++header_dirs=
++lib_dirs=
++for i in $d /usr; do
++	if test "$with_ss_include" = ""; then
++		if test -d "$i/include/ss"; then
++			header_dirs="$header_dirs $i/include/ss"
++		fi
++		if test -d "$i/include"; then
++			header_dirs="$header_dirs $i/include"
++		fi
++	fi
++	if test "$with_ss_lib" = ""; then
++		if test -d "$i/lib$abilibdirext"; then
++			lib_dirs="$lib_dirs $i/lib$abilibdirext"
++		fi
++	fi
++done
++
++if test "$with_ss_include"; then
++	header_dirs="$with_ss_include $header_dirs"
++fi
++if test "$with_ss_lib"; then
++	lib_dirs="$with_ss_lib $lib_dirs"
++fi
++
++if test "$with_ss_config" = ""; then
++	with_ss_config=''
++fi
++
++ss_cflags=
++ss_libs=
++
++case "$with_ss_config" in
++yes|no|"")
++	;;
++*)
++	ss_cflags="`$with_ss_config --cflags 2>&1`"
++	ss_libs="`$with_ss_config --libs 2>&1`"
++	;;
++esac
++
++found=no
++if test "$with_ss" != no; then
++	save_CFLAGS="$CFLAGS"
++	save_LIBS="$LIBS"
++	if test "$ss_cflags" -a "$ss_libs"; then
++		CFLAGS="$ss_cflags $save_CFLAGS"
++		LIBS="$ss_libs $save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  
++			INCLUDE_ss="$ss_cflags"
++			LIB_ss="$ss_libs"
++			echo "$as_me:$LINENO: result: from $with_ss_config" >&5
++echo "${ECHO_T}from $with_ss_config" >&6
++			found=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	fi
++	if test "$found" = no; then
++		ires= lres=
++		for i in $header_dirs; do
++			CFLAGS="-I$i $save_CFLAGS"
++			cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ires=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++		done
++		for i in $lib_dirs; do
++			LIBS="-L$i -lss  $save_LIBS"
++			cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  lres=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++		done
++		if test "$ires" -a "$lres" -a "$with_ss" != "no"; then
++			DIR_ss=
++			INCLUDE_ss="-I$ires"
++			LIB_ss="-L$lres -lss "
++			found=yes
++			echo "$as_me:$LINENO: result: headers $ires, libraries $lres" >&5
++echo "${ECHO_T}headers $ires, libraries $lres" >&6
++		fi
++	fi
++	CFLAGS="$save_CFLAGS"
++	LIBS="$save_LIBS"
++fi
++
++if test "$found" = yes; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define SS 1
++_ACEOF
++
++	with_ss=yes
++else
++	with_ss=no
++	DIR_ss=
++	INCLUDE_ss=
++	LIB_ss=
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++
++
++
++
++if ! test "$with_sl" = yes; then
++	DIR_sl="sl"
++	LIB_sl='$(top_builddir)/lib/sl/libsl.la'
++	DIR_ss=""
++	LIB_ss='$(top_builddir)/lib/sl/libss.la'
++fi
++if test "$enable_otp" = "yes"; then
++  
++
++# Check whether --with-otp or --without-otp was given.
++if test "${with_otp+set}" = set; then
++  withval="$with_otp"
++  
++fi; 
++
++# Check whether --with-otp-lib or --without-otp-lib was given.
++if test "${with_otp_lib+set}" = set; then
++  withval="$with_otp_lib"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-otp-lib" >&5
++echo "$as_me: error: No argument for --with-otp-lib" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_otp" = "X"; then
++  with_otp=yes
++fi
++fi; 
++
++# Check whether --with-otp-include or --without-otp-include was given.
++if test "${with_otp_include+set}" = set; then
++  withval="$with_otp_include"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-otp-include" >&5
++echo "$as_me: error: No argument for --with-otp-include" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_otp" = "X"; then
++  with_otp=yes
++fi
++fi; 
++
++# Check whether --with-otp-config or --without-otp-config was given.
++if test "${with_otp_config+set}" = set; then
++  withval="$with_otp_config"
++  
++fi; 
++
++
++
++echo "$as_me:$LINENO: checking for otp" >&5
++echo $ECHO_N "checking for otp... $ECHO_C" >&6
++
++case "$with_otp" in
++yes|"") d='' ;;
++no)	d= ;;
++*)	d="$with_otp" ;;
++esac
++
++header_dirs=
++lib_dirs=
++for i in $d /usr; do
++	if test "$with_otp_include" = ""; then
++		if test -d "$i/include/otp"; then
++			header_dirs="$header_dirs $i/include/otp"
++		fi
++		if test -d "$i/include"; then
++			header_dirs="$header_dirs $i/include"
++		fi
++	fi
++	if test "$with_otp_lib" = ""; then
++		if test -d "$i/lib$abilibdirext"; then
++			lib_dirs="$lib_dirs $i/lib$abilibdirext"
++		fi
++	fi
++done
++
++if test "$with_otp_include"; then
++	header_dirs="$with_otp_include $header_dirs"
++fi
++if test "$with_otp_lib"; then
++	lib_dirs="$with_otp_lib $lib_dirs"
++fi
++
++if test "$with_otp_config" = ""; then
++	with_otp_config=''
++fi
++
++otp_cflags=
++otp_libs=
++
++case "$with_otp_config" in
++yes|no|"")
++	;;
++*)
++	otp_cflags="`$with_otp_config --cflags 2>&1`"
++	otp_libs="`$with_otp_config --libs 2>&1`"
++	;;
++esac
++
++found=no
++if test "$with_otp" != no; then
++	save_CFLAGS="$CFLAGS"
++	save_LIBS="$LIBS"
++	if test "$otp_cflags" -a "$otp_libs"; then
++		CFLAGS="$otp_cflags $save_CFLAGS"
++		LIBS="$otp_libs $save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  
++			INCLUDE_otp="$otp_cflags"
++			LIB_otp="$otp_libs"
++			echo "$as_me:$LINENO: result: from $with_otp_config" >&5
++echo "${ECHO_T}from $with_otp_config" >&6
++			found=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	fi
++	if test "$found" = no; then
++		ires= lres=
++		for i in $header_dirs; do
++			CFLAGS="-I$i $save_CFLAGS"
++			cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ires=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++		done
++		for i in $lib_dirs; do
++			LIBS="-L$i -lotp  $save_LIBS"
++			cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  lres=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++		done
++		if test "$ires" -a "$lres" -a "$with_otp" != "no"; then
++			DIR_otp=
++			INCLUDE_otp="-I$ires"
++			LIB_otp="-L$lres -lotp "
++			found=yes
++			echo "$as_me:$LINENO: result: headers $ires, libraries $lres" >&5
++echo "${ECHO_T}headers $ires, libraries $lres" >&6
++		fi
++	fi
++	CFLAGS="$save_CFLAGS"
++	LIBS="$save_LIBS"
++fi
++
++if test "$found" = yes; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define OTP 1
++_ACEOF
++
++	with_otp=yes
++else
++	with_otp=no
++	DIR_otp=
++	INCLUDE_otp=
++	LIB_otp=
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++
++
++
++
++  if ! test "$with_otp" = yes; then
++	DIR_otp="otp"
++ 	LIB_otp='$(top_builddir)/lib/otp/libotp.la'
++  fi
++fi
++
++
++# Check whether --enable-bigendian or --disable-bigendian was given.
++if test "${enable_bigendian+set}" = set; then
++  enableval="$enable_bigendian"
++  krb_cv_c_bigendian=yes
++fi; 
++# Check whether --enable-littleendian or --disable-littleendian was given.
++if test "${enable_littleendian+set}" = set; then
++  enableval="$enable_littleendian"
++  krb_cv_c_bigendian=no
++fi; 
++echo "$as_me:$LINENO: checking whether byte order is known at compile time" >&5
++echo $ECHO_N "checking whether byte order is known at compile time... $ECHO_C" >&6
++if test "${krb_cv_c_bigendian_compile+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#include <sys/types.h>
++#include <sys/param.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
++ bogus endian macros
++#endif
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  krb_cv_c_bigendian_compile=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++krb_cv_c_bigendian_compile=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $krb_cv_c_bigendian_compile" >&5
++echo "${ECHO_T}$krb_cv_c_bigendian_compile" >&6
++echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
++echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
++if test "${krb_cv_c_bigendian+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++  if test "$krb_cv_c_bigendian_compile" = "yes"; then
++    cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#include <sys/types.h>
++#include <sys/param.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++#if BYTE_ORDER != BIG_ENDIAN
++  not big endian
++#endif
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  krb_cv_c_bigendian=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++krb_cv_c_bigendian=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++  else
++    if test "$cross_compiling" = yes; then
++  { { echo "$as_me:$LINENO: error: specify either --enable-bigendian or --enable-littleendian" >&5
++echo "$as_me: error: specify either --enable-bigendian or --enable-littleendian" >&2;}
++   { (exit 1); exit 1; }; }
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++main () {
++      /* Are we little or big endian?  From Harbison&Steele.  */
++      union
++      {
++	long l;
++	char c[sizeof (long)];
++    } u;
++    u.l = 1;
++    exit (u.c[sizeof (long) - 1] == 1);
++  }
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  krb_cv_c_bigendian=no
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++( exit $ac_status )
++krb_cv_c_bigendian=yes
++fi
++rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++  fi
++
++fi
++echo "$as_me:$LINENO: result: $krb_cv_c_bigendian" >&5
++echo "${ECHO_T}$krb_cv_c_bigendian" >&6
++if test "$krb_cv_c_bigendian" = "yes"; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define WORDS_BIGENDIAN 1
++_ACEOF
++fi
++if test "$krb_cv_c_bigendian_compile" = "yes"; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define ENDIANESS_IN_SYS_PARAM_H 1
++_ACEOF
++fi
++
++
++
++echo "$as_me:$LINENO: checking for inline" >&5
++echo $ECHO_N "checking for inline... $ECHO_C" >&6
++if test "${ac_cv_c_inline+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_cv_c_inline=no
++for ac_kw in inline __inline__ __inline; do
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#ifndef __cplusplus
++static $ac_kw int static_foo () {return 0; }
++$ac_kw int foo () {return 0; }
++#endif
++
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_c_inline=$ac_kw; break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++done
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
++echo "${ECHO_T}$ac_cv_c_inline" >&6
++case $ac_cv_c_inline in
++  inline | yes) ;;
++  no) 
++cat >>confdefs.h <<\_ACEOF
++@%:@define inline 
++_ACEOF
++ ;;
++  *)  cat >>confdefs.h <<_ACEOF
++@%:@define inline $ac_cv_c_inline
++_ACEOF
++ ;;
++esac
++
++
++
++	
++
++
++echo "$as_me:$LINENO: checking for dlopen" >&5
++echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
++if test "${ac_cv_funclib_dlopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_dlopen\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" dl; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++dlopen()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_dlopen=$ac_lib; else ac_cv_funclib_dlopen=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_dlopen=\${ac_cv_funclib_dlopen-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_dlopen"
++
++if false; then
++	
++for ac_func in dlopen
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# dlopen
++eval "ac_tr_func=HAVE_`echo dlopen | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_dlopen=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_dlopen=yes"
++	eval "LIB_dlopen="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_dlopen=no"
++	eval "LIB_dlopen="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_dlopen=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++	
++
++if test "$ac_cv_funclib_dlopen" != no; then
++  HAVE_DLOPEN_TRUE=
++  HAVE_DLOPEN_FALSE='#'
++else
++  HAVE_DLOPEN_TRUE='#'
++  HAVE_DLOPEN_FALSE=
++fi
++
++
++
++
++aix=no
++case "$host" in 
++*-*-aix3*)
++	aix=3
++	;;
++*-*-aix4*|*-*-aix5*)
++	aix=4
++	;;
++esac
++
++
++
++if test "$aix" != no; then
++  AIX_TRUE=
++  AIX_FALSE='#'
++else
++  AIX_TRUE='#'
++  AIX_FALSE=
++fi
++
++
++if test "$aix" = 4; then
++  AIX4_TRUE=
++  AIX4_FALSE='#'
++else
++  AIX4_TRUE='#'
++  AIX4_FALSE=
++fi
++
++
++
++# Check whether --enable-dynamic-afs or --disable-dynamic-afs was given.
++if test "${enable_dynamic_afs+set}" = set; then
++  enableval="$enable_dynamic_afs"
++  
++fi; 
++
++if test "$aix" != no; then
++	if test "$enable_dynamic_afs" != no; then
++		
++		if test "$ac_cv_func_dlopen" = no; then
++			
++
++
++echo "$as_me:$LINENO: checking for loadquery" >&5
++echo $ECHO_N "checking for loadquery... $ECHO_C" >&6
++if test "${ac_cv_funclib_loadquery+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_loadquery\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ld; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++loadquery()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_loadquery=$ac_lib; else ac_cv_funclib_loadquery=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_loadquery=\${ac_cv_funclib_loadquery-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_loadquery"
++
++if false; then
++	
++for ac_func in loadquery
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# loadquery
++eval "ac_tr_func=HAVE_`echo loadquery | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_loadquery=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_loadquery=yes"
++	eval "LIB_loadquery="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_loadquery=no"
++	eval "LIB_loadquery="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_loadquery=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++		fi
++		if test "$ac_cv_func_dlopen" != no; then
++			AIX_EXTRA_KAFS='$(LIB_dlopen)'
++		elif test "$ac_cv_func_loadquery" != no; then
++			AIX_EXTRA_KAFS='$(LIB_loadquery)'
++		else
++			{ echo "$as_me:$LINENO: not using dynloaded AFS library" >&5
++echo "$as_me: not using dynloaded AFS library" >&6;}
++			AIX_EXTRA_KAFS=
++			enable_dynamic_afs=no
++		fi
++	else
++		AIX_EXTRA_KAFS=
++	fi
++fi
++
++
++
++if test "$enable_dynamic_afs" != no; then
++  AIX_DYNAMIC_AFS_TRUE=
++  AIX_DYNAMIC_AFS_FALSE='#'
++else
++  AIX_DYNAMIC_AFS_TRUE='#'
++  AIX_DYNAMIC_AFS_FALSE=
++fi
++
++
++
++
++
++
++irix=no
++case "$host" in
++*-*-irix4*) 
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define IRIX4 1
++_ACEOF
++
++	irix=yes
++	;;
++*-*-irix*) 
++	irix=yes
++	;;
++esac
++
++
++if test "$irix" != no; then
++  IRIX_TRUE=
++  IRIX_FALSE='#'
++else
++  IRIX_TRUE='#'
++  IRIX_FALSE=
++fi
++
++
++
++
++
++sunos=no
++case "$host" in 
++*-*-sunos4*)
++	sunos=40
++	;;
++*-*-solaris2.7)
++	sunos=57
++	;;
++*-*-solaris2.[89])
++	sunos=58
++	;;
++*-*-solaris2*)
++	sunos=50
++	;;
++esac
++if test "$sunos" != no; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define SunOS $sunos
++_ACEOF
++
++fi
++
++
++echo "$as_me:$LINENO: checking for X" >&5
++echo $ECHO_N "checking for X... $ECHO_C" >&6
++
++
++# Check whether --with-x or --without-x was given.
++if test "${with_x+set}" = set; then
++  withval="$with_x"
++  
++fi; 
++# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
++if test "x$with_x" = xno; then
++  # The user explicitly disabled X.
++  have_x=disabled
++else
++  if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
++    # Both variables are already set.
++    have_x=yes
++  else
++    if test "${ac_cv_have_x+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  # One or both of the vars are not set, and there is no cached value.
++ac_x_includes=no ac_x_libraries=no
++rm -fr conftest.dir
++if mkdir conftest.dir; then
++  cd conftest.dir
++  # Make sure to not put "make" in the Imakefile rules, since we grep it out.
++  cat >Imakefile <<'_ACEOF'
++acfindx:
++	@echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
++_ACEOF
++  if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
++    # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
++    eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
++    # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
++    for ac_extension in a so sl; do
++      if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
++         test -f $ac_im_libdir/libX11.$ac_extension; then
++        ac_im_usrlibdir=$ac_im_libdir; break
++      fi
++    done
++    # Screen out bogus values from the imake configuration.  They are
++    # bogus both because they are the default anyway, and because
++    # using them would break gcc on systems where it needs fixed includes.
++    case $ac_im_incroot in
++	/usr/include) ;;
++	*) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
++    esac
++    case $ac_im_usrlibdir in
++	/usr/lib | /lib) ;;
++	*) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
++    esac
++  fi
++  cd ..
++  rm -fr conftest.dir
++fi
++
++# Standard set of common directories for X headers.
++# Check X11 before X11Rn because it is often a symlink to the current release.
++ac_x_header_dirs='
++/usr/X11/include
++/usr/X11R6/include
++/usr/X11R5/include
++/usr/X11R4/include
++
++/usr/include/X11
++/usr/include/X11R6
++/usr/include/X11R5
++/usr/include/X11R4
++
++/usr/local/X11/include
++/usr/local/X11R6/include
++/usr/local/X11R5/include
++/usr/local/X11R4/include
++
++/usr/local/include/X11
++/usr/local/include/X11R6
++/usr/local/include/X11R5
++/usr/local/include/X11R4
++
++/usr/X386/include
++/usr/x386/include
++/usr/XFree86/include/X11
++
++/usr/include
++/usr/local/include
++/usr/unsupported/include
++/usr/athena/include
++/usr/local/x11r5/include
++/usr/lpp/Xamples/include
++
++/usr/openwin/include
++/usr/openwin/share/include'
++
++if test "$ac_x_includes" = no; then
++  # Guess where to find include files, by looking for Intrinsic.h.
++  # First, try using that file with no special directory specified.
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++@%:@include <X11/Intrinsic.h>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  egrep -v '^ *\+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  # We can compile using X headers with no special include directory.
++ac_x_includes=
++else
++  echo "$as_me: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  for ac_dir in $ac_x_header_dirs; do
++  if test -r "$ac_dir/X11/Intrinsic.h"; then
++    ac_x_includes=$ac_dir
++    break
++  fi
++done
++fi
++rm -f conftest.err conftest.$ac_ext
++fi # $ac_x_includes = no
++
++if test "$ac_x_libraries" = no; then
++  # Check for the libraries.
++  # See if we find them without any special options.
++  # Don't add to $LIBS permanently.
++  ac_save_LIBS=$LIBS
++  LIBS="-lXt $LIBS"
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++@%:@include <X11/Intrinsic.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++XtMalloc (0)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  LIBS=$ac_save_LIBS
++# We can link X programs with no special library path.
++ac_x_libraries=
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++LIBS=$ac_save_LIBS
++for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
++do
++  # Don't even attempt the hair of trying to link an X program!
++  for ac_extension in a so sl; do
++    if test -r $ac_dir/libXt.$ac_extension; then
++      ac_x_libraries=$ac_dir
++      break 2
++    fi
++  done
++done
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi # $ac_x_libraries = no
++
++if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
++  # Didn't find X anywhere.  Cache the known absence of X.
++  ac_cv_have_x="have_x=no"
++else
++  # Record where we found X for the cache.
++  ac_cv_have_x="have_x=yes \
++	        ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
++fi
++fi
++
++  fi
++  eval "$ac_cv_have_x"
++fi # $with_x != no
++
++if test "$have_x" != yes; then
++  echo "$as_me:$LINENO: result: $have_x" >&5
++echo "${ECHO_T}$have_x" >&6
++  no_x=yes
++else
++  # If each of the values was on the command line, it overrides each guess.
++  test "x$x_includes" = xNONE && x_includes=$ac_x_includes
++  test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
++  # Update the cache value to reflect the command line values.
++  ac_cv_have_x="have_x=yes \
++		ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
++  echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
++echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
++fi
++
++
++if test "$no_x" = yes; then
++  # Not all programs may use this symbol, but it does not hurt to define it.
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define X_DISPLAY_MISSING 1
++_ACEOF
++
++  X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
++else
++  if test -n "$x_includes"; then
++    X_CFLAGS="$X_CFLAGS -I$x_includes"
++  fi
++
++  # It would also be nice to do this for all -L options, not just this one.
++  if test -n "$x_libraries"; then
++    X_LIBS="$X_LIBS -L$x_libraries"
++    # For Solaris; some versions of Sun CC require a space after -R and
++    # others require no space.  Words are not sufficient . . . .
++    case `(uname -sr) 2>/dev/null` in
++    "SunOS 5"*)
++      echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
++echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
++      ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
++      cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_R_nospace=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_R_nospace=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++      if test $ac_R_nospace = yes; then
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	X_LIBS="$X_LIBS -R$x_libraries"
++      else
++	LIBS="$ac_xsave_LIBS -R $x_libraries"
++	cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_R_space=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_R_space=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	if test $ac_R_space = yes; then
++	  echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	  X_LIBS="$X_LIBS -R $x_libraries"
++	else
++	  echo "$as_me:$LINENO: result: neither works" >&5
++echo "${ECHO_T}neither works" >&6
++	fi
++      fi
++      LIBS=$ac_xsave_LIBS
++    esac
++  fi
++
++  # Check for system-dependent libraries X programs must link with.
++  # Do this before checking for the system-independent R6 libraries
++  # (-lICE), since we may need -lsocket or whatever for X linking.
++
++  if test "$ISC" = yes; then
++    X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
++  else
++    # Martyn Johnson says this is needed for Ultrix, if the X
++    # libraries were built with DECnet support.  And Karl Berry says
++    # the Alpha needs dnet_stub (dnet does not exist).
++    ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
++    cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char XOpenDisplay ();
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++XOpenDisplay ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  :
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
++echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
++if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ldnet  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dnet_ntoa ();
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++dnet_ntoa ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_dnet_dnet_ntoa=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_lib_dnet_dnet_ntoa=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
++echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
++if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
++  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
++fi
++
++    if test $ac_cv_lib_dnet_dnet_ntoa = no; then
++      echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
++echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
++if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ldnet_stub  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dnet_ntoa ();
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++dnet_ntoa ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_dnet_stub_dnet_ntoa=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_lib_dnet_stub_dnet_ntoa=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
++echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
++if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
++  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
++fi
++
++    fi
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++    LIBS="$ac_xsave_LIBS"
++
++    # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
++    # to get the SysV transport functions.
++    # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
++    # needs -lnsl.
++    # The nsl library prevents programs from opening the X display
++    # on Irix 5.2, according to T.E. Dickey.
++    # The functions gethostbyname, getservbyname, and inet_addr are
++    # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
++    echo "$as_me:$LINENO: checking for gethostbyname" >&5
++echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
++if test "${ac_cv_func_gethostbyname+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char gethostbyname (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char gethostbyname ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_gethostbyname) || defined (__stub___gethostbyname)
++choke me
++#else
++f = gethostbyname;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_gethostbyname=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_gethostbyname=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
++echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
++
++    if test $ac_cv_func_gethostbyname = no; then
++      echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
++echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
++if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-lnsl  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char gethostbyname ();
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++gethostbyname ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_nsl_gethostbyname=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_lib_nsl_gethostbyname=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
++echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
++if test $ac_cv_lib_nsl_gethostbyname = yes; then
++  X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
++fi
++
++      if test $ac_cv_lib_nsl_gethostbyname = no; then
++        echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
++echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
++if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-lbsd  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char gethostbyname ();
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++gethostbyname ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_bsd_gethostbyname=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_lib_bsd_gethostbyname=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
++echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
++if test $ac_cv_lib_bsd_gethostbyname = yes; then
++  X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
++fi
++
++      fi
++    fi
++
++    # lieder@skyler.mavd.honeywell.com says without -lsocket,
++    # socket/setsockopt and other routines are undefined under SCO ODT
++    # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
++    # on later versions), says Simon Leinen: it contains gethostby*
++    # variants that don't use the nameserver (or something).  -lsocket
++    # must be given before -lnsl if both are needed.  We assume that
++    # if connect needs -lnsl, so does gethostbyname.
++    echo "$as_me:$LINENO: checking for connect" >&5
++echo $ECHO_N "checking for connect... $ECHO_C" >&6
++if test "${ac_cv_func_connect+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char connect (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char connect ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_connect) || defined (__stub___connect)
++choke me
++#else
++f = connect;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_connect=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_connect=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
++echo "${ECHO_T}$ac_cv_func_connect" >&6
++
++    if test $ac_cv_func_connect = no; then
++      echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
++echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
++if test "${ac_cv_lib_socket_connect+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char connect ();
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++connect ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_socket_connect=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_lib_socket_connect=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
++echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
++if test $ac_cv_lib_socket_connect = yes; then
++  X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
++fi
++
++    fi
++
++    # Guillermo Gomez says -lposix is necessary on A/UX.
++    echo "$as_me:$LINENO: checking for remove" >&5
++echo $ECHO_N "checking for remove... $ECHO_C" >&6
++if test "${ac_cv_func_remove+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char remove (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char remove ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_remove) || defined (__stub___remove)
++choke me
++#else
++f = remove;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_remove=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_remove=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
++echo "${ECHO_T}$ac_cv_func_remove" >&6
++
++    if test $ac_cv_func_remove = no; then
++      echo "$as_me:$LINENO: checking for remove in -lposix" >&5
++echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
++if test "${ac_cv_lib_posix_remove+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-lposix  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char remove ();
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++remove ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_posix_remove=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_lib_posix_remove=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
++echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
++if test $ac_cv_lib_posix_remove = yes; then
++  X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
++fi
++
++    fi
++
++    # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
++    echo "$as_me:$LINENO: checking for shmat" >&5
++echo $ECHO_N "checking for shmat... $ECHO_C" >&6
++if test "${ac_cv_func_shmat+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char shmat (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char shmat ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_shmat) || defined (__stub___shmat)
++choke me
++#else
++f = shmat;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_shmat=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_shmat=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
++echo "${ECHO_T}$ac_cv_func_shmat" >&6
++
++    if test $ac_cv_func_shmat = no; then
++      echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
++echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
++if test "${ac_cv_lib_ipc_shmat+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-lipc  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char shmat ();
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++shmat ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_ipc_shmat=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_lib_ipc_shmat=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
++echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
++if test $ac_cv_lib_ipc_shmat = yes; then
++  X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
++fi
++
++    fi
++  fi
++
++  # Check for libraries that X11R6 Xt/Xaw programs need.
++  ac_save_LDFLAGS=$LDFLAGS
++  test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
++  # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
++  # check for ICE first), but we must link in the order -lSM -lICE or
++  # we get undefined symbols.  So assume we have SM if we have ICE.
++  # These have to be linked with before -lX11, unlike the other
++  # libraries we check for below, so use a different variable.
++  # John Interrante, Karl Berry
++  echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
++echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
++if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-lICE $X_EXTRA_LIBS $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char IceConnectionNumber ();
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++IceConnectionNumber ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_ICE_IceConnectionNumber=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_lib_ICE_IceConnectionNumber=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
++echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
++if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
++  X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
++fi
++
++  LDFLAGS=$ac_save_LDFLAGS
++
++fi
++
++
++# try to figure out if we need any additional ld flags, like -R
++# and yes, the autoconf X test is utterly broken
++if test "$no_x" != yes; then
++	echo "$as_me:$LINENO: checking for special X linker flags" >&5
++echo $ECHO_N "checking for special X linker flags... $ECHO_C" >&6
++if test "${krb_cv_sys_x_libs_rpath+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++	ac_save_libs="$LIBS"
++	ac_save_cflags="$CFLAGS"
++	CFLAGS="$CFLAGS $X_CFLAGS"
++	krb_cv_sys_x_libs_rpath=""
++	krb_cv_sys_x_libs=""
++	for rflag in "" "-R" "-R " "-rpath "; do
++		if test "$rflag" = ""; then
++			foo="$X_LIBS"
++		else
++			foo=""
++			for flag in $X_LIBS; do
++			case $flag in
++			-L*)
++				foo="$foo $flag `echo $flag | sed \"s/-L/$rflag/\"`"
++				;;
++			*)
++				foo="$foo $flag"
++				;;
++			esac
++			done
++		fi
++		LIBS="$ac_save_libs $foo $X_PRE_LIBS -lX11 $X_EXTRA_LIBS"
++		if test "$cross_compiling" = yes; then
++  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
++echo "$as_me: error: cannot run test program while cross compiling" >&2;}
++   { (exit 1); exit 1; }; }
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++		#include <X11/Xlib.h>
++		foo()
++		{
++		XOpenDisplay(NULL);
++		}
++		main()
++		{
++		return 0;
++		}
++		
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  krb_cv_sys_x_libs_rpath="$rflag"; krb_cv_sys_x_libs="$foo"; break
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++( exit $ac_status )
++:
++fi
++rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++	done
++	LIBS="$ac_save_libs"
++	CFLAGS="$ac_save_cflags"
++	
++fi
++echo "$as_me:$LINENO: result: $krb_cv_sys_x_libs_rpath" >&5
++echo "${ECHO_T}$krb_cv_sys_x_libs_rpath" >&6
++	X_LIBS="$krb_cv_sys_x_libs"
++fi
++
++
++
++
++if test "$no_x" != yes; then
++  HAVE_X_TRUE=
++  HAVE_X_FALSE='#'
++else
++  HAVE_X_TRUE='#'
++  HAVE_X_FALSE=
++fi
++
++
++
++save_CFLAGS="$CFLAGS"
++CFLAGS="$X_CFLAGS $CFLAGS"
++save_LIBS="$LIBS"
++LIBS="$X_PRE_LIBS $X_EXTRA_LIBS $LIBS"
++save_LDFLAGS="$LDFLAGS"
++LDFLAGS="$LDFLAGS $X_LIBS"
++
++
++
++
++
++echo "$as_me:$LINENO: checking for XauWriteAuth" >&5
++echo $ECHO_N "checking for XauWriteAuth... $ECHO_C" >&6
++if test "${ac_cv_funclib_XauWriteAuth+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_XauWriteAuth\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" X11 Xau; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++XauWriteAuth()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_XauWriteAuth=$ac_lib; else ac_cv_funclib_XauWriteAuth=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_XauWriteAuth=\${ac_cv_funclib_XauWriteAuth-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_XauWriteAuth"
++
++if false; then
++	
++for ac_func in XauWriteAuth
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# XauWriteAuth
++eval "ac_tr_func=HAVE_`echo XauWriteAuth | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_XauWriteAuth=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_XauWriteAuth=yes"
++	eval "LIB_XauWriteAuth="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_XauWriteAuth=no"
++	eval "LIB_XauWriteAuth="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_XauWriteAuth=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++ac_xxx="$LIBS"
++LIBS="$LIB_XauWriteAuth $LIBS"
++
++
++
++echo "$as_me:$LINENO: checking for XauReadAuth" >&5
++echo $ECHO_N "checking for XauReadAuth... $ECHO_C" >&6
++if test "${ac_cv_funclib_XauReadAuth+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_XauReadAuth\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" X11 Xau; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++XauReadAuth()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_XauReadAuth=$ac_lib; else ac_cv_funclib_XauReadAuth=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_XauReadAuth=\${ac_cv_funclib_XauReadAuth-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_XauReadAuth"
++
++if false; then
++	
++for ac_func in XauReadAuth
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# XauReadAuth
++eval "ac_tr_func=HAVE_`echo XauReadAuth | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_XauReadAuth=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_XauReadAuth=yes"
++	eval "LIB_XauReadAuth="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_XauReadAuth=no"
++	eval "LIB_XauReadAuth="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_XauReadAuth=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++LIBS="$LIB_XauReadAauth $LIBS"
++
++
++
++echo "$as_me:$LINENO: checking for XauFileName" >&5
++echo $ECHO_N "checking for XauFileName... $ECHO_C" >&6
++if test "${ac_cv_funclib_XauFileName+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_XauFileName\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" X11 Xau; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++XauFileName()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_XauFileName=$ac_lib; else ac_cv_funclib_XauFileName=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_XauFileName=\${ac_cv_funclib_XauFileName-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_XauFileName"
++
++if false; then
++	
++for ac_func in XauFileName
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# XauFileName
++eval "ac_tr_func=HAVE_`echo XauFileName | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_XauFileName=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_XauFileName=yes"
++	eval "LIB_XauFileName="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_XauFileName=no"
++	eval "LIB_XauFileName="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_XauFileName=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++LIBS="$ac_xxx"
++
++case "$ac_cv_funclib_XauWriteAuth" in
++yes)	;;
++no)	;;
++*)	if test "$ac_cv_funclib_XauReadAuth" = yes; then
++		if test "$ac_cv_funclib_XauFileName" = yes; then
++			LIB_XauReadAuth="$LIB_XauWriteAuth"
++		else
++			LIB_XauReadAuth="$LIB_XauWriteAuth $LIB_XauFileName"
++		fi
++	else
++		if test "$ac_cv_funclib_XauFileName" = yes; then
++			LIB_XauReadAuth="$LIB_XauReadAuth $LIB_XauWriteAuth"
++		else
++			LIB_XauReadAuth="$LIB_XauReadAuth $LIB_XauWriteAuth $LIB_XauFileName"
++		fi
++	fi
++	;;
++esac
++
++if test "$AUTOMAKE" != ""; then
++	
++
++if test "$ac_cv_func_XauWriteAuth" != "yes"; then
++  NEED_WRITEAUTH_TRUE=
++  NEED_WRITEAUTH_FALSE='#'
++else
++  NEED_WRITEAUTH_TRUE='#'
++  NEED_WRITEAUTH_FALSE=
++fi
++
++else
++	
++	
++	if test "$ac_cv_func_XauWriteAuth" != "yes"; then
++		NEED_WRITEAUTH_TRUE=
++		NEED_WRITEAUTH_FALSE='#'
++	else
++		NEED_WRITEAUTH_TRUE='#'
++		NEED_WRITEAUTH_FALSE=
++	fi
++fi
++CFLAGS=$save_CFLAGS
++LIBS=$save_LIBS
++LDFLAGS=$save_LDFLAGS
++
++
++
++echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
++echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
++if test "${ac_cv_c_const+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* FIXME: Include the comments suggested by Paul. */
++#ifndef __cplusplus
++  /* Ultrix mips cc rejects this.  */
++  typedef int charset[2];
++  const charset x;
++  /* SunOS 4.1.1 cc rejects this.  */
++  char const *const *ccp;
++  char **p;
++  /* NEC SVR4.0.2 mips cc rejects this.  */
++  struct point {int x, y;};
++  static struct point const zero = {0,0};
++  /* AIX XL C 1.02.0.0 rejects this.
++     It does not let you subtract one const X* pointer from another in
++     an arm of an if-expression whose if-part is not a constant
++     expression */
++  const char *g = "string";
++  ccp = &g + (g ? g-g : 0);
++  /* HPUX 7.0 cc rejects these. */
++  ++ccp;
++  p = (char**) ccp;
++  ccp = (char const *const *) p;
++  { /* SCO 3.2v4 cc rejects this.  */
++    char *t;
++    char const *s = 0 ? (char *) 0 : (char const *) 0;
++
++    *t++ = 0;
++  }
++  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
++    int x[] = {25, 17};
++    const int *foo = &x[0];
++    ++foo;
++  }
++  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
++    typedef const int *iptr;
++    iptr p = 0;
++    ++p;
++  }
++  { /* AIX XL C 1.02.0.0 rejects this saying
++       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
++    struct s { int j; const int *ap[3]; };
++    struct s *b; b->j = 5;
++  }
++  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
++    const int foo = 10;
++  }
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_c_const=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_c_const=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
++echo "${ECHO_T}$ac_cv_c_const" >&6
++if test $ac_cv_c_const = no; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define const 
++_ACEOF
++
++fi
++
++echo "$as_me:$LINENO: checking for off_t" >&5
++echo $ECHO_N "checking for off_t... $ECHO_C" >&6
++if test "${ac_cv_type_off_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++$ac_includes_default
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++if ((off_t *) 0)
++  return 0;
++if (sizeof (off_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_off_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_type_off_t=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
++echo "${ECHO_T}$ac_cv_type_off_t" >&6
++if test $ac_cv_type_off_t = yes; then
++  :
++else
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define off_t long
++_ACEOF
++
++fi
++
++echo "$as_me:$LINENO: checking for mode_t" >&5
++echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
++if test "${ac_cv_type_mode_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <sys/types.h>
++#if STDC_HEADERS
++#include <stdlib.h>
++#include <stddef.h>
++#endif
++
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  egrep "mode_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
++  ac_cv_type_mode_t=yes
++else
++  ac_cv_type_mode_t=no
++fi
++rm -f conftest*
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
++echo "${ECHO_T}$ac_cv_type_mode_t" >&6
++if test $ac_cv_type_mode_t = no; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define mode_t unsigned short
++_ACEOF
++
++fi
++
++echo "$as_me:$LINENO: checking for sig_atomic_t" >&5
++echo $ECHO_N "checking for sig_atomic_t... $ECHO_C" >&6
++if test "${ac_cv_type_sig_atomic_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <sys/types.h>
++#if STDC_HEADERS
++#include <stdlib.h>
++#include <stddef.h>
++#endif
++#include <signal.h>
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  egrep "sig_atomic_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
++  ac_cv_type_sig_atomic_t=yes
++else
++  ac_cv_type_sig_atomic_t=no
++fi
++rm -f conftest*
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_sig_atomic_t" >&5
++echo "${ECHO_T}$ac_cv_type_sig_atomic_t" >&6
++if test $ac_cv_type_sig_atomic_t = no; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define sig_atomic_t int
++_ACEOF
++
++fi
++
++
++
++cv=`echo "long long" | sed 'y%./+- %__p__%'`
++echo "$as_me:$LINENO: checking for long long" >&5
++echo $ECHO_N "checking for long long... $ECHO_C" >&6
++if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <sys/types.h>
++#if STDC_HEADERS
++#include <stdlib.h>
++#include <stddef.h>
++#endif
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++long long foo;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_type_$cv=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "ac_cv_type_$cv=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++ac_foo=`eval echo \\$ac_cv_type_$cv`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++  ac_tr_hdr=HAVE_`echo long long | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
++if false; then
++	echo "$as_me:$LINENO: checking for long long" >&5
++echo $ECHO_N "checking for long long... $ECHO_C" >&6
++if test "${ac_cv_type_long_long+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++$ac_includes_default
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++if ((long long *) 0)
++  return 0;
++if (sizeof (long long))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_long_long=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_type_long_long=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
++echo "${ECHO_T}$ac_cv_type_long_long" >&6
++if test $ac_cv_type_long_long = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_LONG_LONG 1
++_ACEOF
++
++
++fi
++
++fi
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_hdr 1
++_ACEOF
++
++fi
++
++echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
++echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
++if test "${ac_cv_header_time+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <sys/types.h>
++#include <sys/time.h>
++#include <time.h>
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++if ((struct tm *) 0)
++return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_header_time=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_header_time=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
++echo "${ECHO_T}$ac_cv_header_time" >&6
++if test $ac_cv_header_time = yes; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define TIME_WITH_SYS_TIME 1
++_ACEOF
++
++fi
++
++echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
++echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
++if test "${ac_cv_struct_tm+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <sys/types.h>
++#include <time.h>
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct tm *tp; tp->tm_sec;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_struct_tm=time.h
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_struct_tm=sys/time.h
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
++echo "${ECHO_T}$ac_cv_struct_tm" >&6
++if test $ac_cv_struct_tm = sys/time.h; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define TM_IN_SYS_TIME 1
++_ACEOF
++
++fi
++
++
++echo "$as_me:$LINENO: checking for ANSI C header files" >&5
++echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
++if test "${ac_cv_header_stdc+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <stdlib.h>
++#include <stdarg.h>
++#include <string.h>
++#include <float.h>
++
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  egrep -v '^ *\+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  ac_cv_header_stdc=yes
++else
++  echo "$as_me: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_cv_header_stdc=no
++fi
++rm -f conftest.err conftest.$ac_ext
++
++if test $ac_cv_header_stdc = yes; then
++  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <string.h>
++
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  egrep "memchr" >/dev/null 2>&1; then
++  :
++else
++  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 <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <stdlib.h>
++
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  egrep "free" >/dev/null 2>&1; then
++  :
++else
++  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 <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <ctype.h>
++#if ((' ' & 0x0FF) == 0x020)
++# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
++# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
++#else
++# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
++                     || ('j' <= (c) && (c) <= 'r') \
++                     || ('s' <= (c) && (c) <= 'z'))
++# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
++#endif
++
++#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);
++}
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  :
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++( exit $ac_status )
++ac_cv_header_stdc=no
++fi
++rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++fi
++fi
++echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
++echo "${ECHO_T}$ac_cv_header_stdc" >&6
++if test $ac_cv_header_stdc = yes; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define STDC_HEADERS 1
++_ACEOF
++
++fi
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++for ac_header in \
++	arpa/ftp.h				\
++	arpa/telnet.h				\
++	bind/bitypes.h				\
++	bsdsetjmp.h				\
++	curses.h				\
++	dlfcn.h					\
++	fnmatch.h				\
++	inttypes.h				\
++	io.h					\
++	libutil.h				\
++	limits.h				\
++	maillock.h				\
++	netgroup.h				\
++	netinet/in6_machtypes.h			\
++	netinfo/ni.h				\
++	pthread.h				\
++	pty.h					\
++	sac.h					\
++	security/pam_modules.h			\
++	sgtty.h					\
++	siad.h					\
++	signal.h				\
++	stropts.h				\
++	sys/bitypes.h				\
++	sys/category.h				\
++	sys/file.h				\
++	sys/filio.h				\
++	sys/ioccom.h				\
++	sys/mman.h				\
++	sys/pty.h				\
++	sys/ptyio.h				\
++	sys/ptyvar.h				\
++	sys/select.h				\
++	sys/str_tty.h				\
++	sys/stream.h				\
++	sys/stropts.h				\
++	sys/strtty.h				\
++	sys/syscall.h				\
++	sys/termio.h				\
++	sys/timeb.h				\
++	sys/times.h				\
++	sys/un.h				\
++	term.h					\
++	termcap.h				\
++	termio.h				\
++	time.h					\
++	tmpdir.h				\
++	udb.h					\
++	utmp.h					\
++	utmpx.h					\
++
++do
++as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++else
++  # Is the header compilable?
++echo "$as_me:$LINENO: checking $ac_header usability" >&5
++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++$ac_includes_default
++@%:@include <$ac_header>
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_header_compiler=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_header_compiler=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
++echo "${ECHO_T}$ac_header_compiler" >&6
++
++# Is the header present?
++echo "$as_me:$LINENO: checking $ac_header presence" >&5
++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++@%:@include <$ac_header>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  egrep -v '^ *\+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  ac_header_preproc=yes
++else
++  echo "$as_me: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_header_preproc=no
++fi
++rm -f conftest.err conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
++echo "${ECHO_T}$ac_header_preproc" >&6
++
++# So?  What about this header?
++case $ac_header_compiler:$ac_header_preproc in
++  yes:no )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
++echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++  no:yes )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
++echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
++echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++esac
++echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  eval "$as_ac_Header=$ac_header_preproc"
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++
++fi
++if test `eval echo '${'$as_ac_Header'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++
++done
++
++
++# Check whether --enable-netinfo or --disable-netinfo was given.
++if test "${enable_netinfo+set}" = set; then
++  enableval="$enable_netinfo"
++  
++fi; 
++
++if test "$ac_cv_header_netinfo_ni_h" = yes -a "$enable_netinfo" = yes; then
++       
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_NETINFO 1
++_ACEOF
++
++fi
++
++
++
++
++
++echo "$as_me:$LINENO: checking for logwtmp" >&5
++echo $ECHO_N "checking for logwtmp... $ECHO_C" >&6
++if test "${ac_cv_funclib_logwtmp+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_logwtmp\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" util; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++logwtmp()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_logwtmp=$ac_lib; else ac_cv_funclib_logwtmp=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_logwtmp=\${ac_cv_funclib_logwtmp-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_logwtmp"
++
++if false; then
++	
++for ac_func in logwtmp
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# logwtmp
++eval "ac_tr_func=HAVE_`echo logwtmp | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_logwtmp=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_logwtmp=yes"
++	eval "LIB_logwtmp="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_logwtmp=no"
++	eval "LIB_logwtmp="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_logwtmp=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++
++
++
++echo "$as_me:$LINENO: checking for logout" >&5
++echo $ECHO_N "checking for logout... $ECHO_C" >&6
++if test "${ac_cv_funclib_logout+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_logout\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" util; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++logout()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_logout=$ac_lib; else ac_cv_funclib_logout=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_logout=\${ac_cv_funclib_logout-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_logout"
++
++if false; then
++	
++for ac_func in logout
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# logout
++eval "ac_tr_func=HAVE_`echo logout | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_logout=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_logout=yes"
++	eval "LIB_logout="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_logout=no"
++	eval "LIB_logout="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_logout=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++
++
++
++echo "$as_me:$LINENO: checking for openpty" >&5
++echo $ECHO_N "checking for openpty... $ECHO_C" >&6
++if test "${ac_cv_funclib_openpty+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_openpty\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" util; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++openpty()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_openpty=$ac_lib; else ac_cv_funclib_openpty=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_openpty=\${ac_cv_funclib_openpty-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_openpty"
++
++if false; then
++	
++for ac_func in openpty
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# openpty
++eval "ac_tr_func=HAVE_`echo openpty | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_openpty=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_openpty=yes"
++	eval "LIB_openpty="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_openpty=no"
++	eval "LIB_openpty="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_openpty=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++
++
++
++echo "$as_me:$LINENO: checking for tgetent" >&5
++echo $ECHO_N "checking for tgetent... $ECHO_C" >&6
++if test "${ac_cv_funclib_tgetent+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_tgetent\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" termcap ncurses curses; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++tgetent()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_tgetent=$ac_lib; else ac_cv_funclib_tgetent=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_tgetent=\${ac_cv_funclib_tgetent-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_tgetent"
++
++if false; then
++	
++for ac_func in tgetent
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# tgetent
++eval "ac_tr_func=HAVE_`echo tgetent | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_tgetent=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_tgetent=yes"
++	eval "LIB_tgetent="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_tgetent=no"
++	eval "LIB_tgetent="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_tgetent=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++for ac_func in 				\
++	_getpty					\
++	_scrsize				\
++	fcntl					\
++	grantpt					\
++	mktime					\
++	ptsname					\
++	rand					\
++	revoke					\
++	select					\
++	setitimer				\
++	setpcred				\
++	setpgid					\
++	setproctitle				\
++	setregid				\
++	setresgid				\
++	setresuid				\
++	setreuid				\
++	setsid					\
++	setutent				\
++	sigaction				\
++	strstr					\
++	timegm					\
++	ttyname					\
++	ttyslot					\
++	umask					\
++	unlockpt				\
++	vhangup					\
++	yp_get_default_domain			\
++
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++
++
++
++for ac_header in stdlib.h unistd.h
++do
++as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++else
++  # Is the header compilable?
++echo "$as_me:$LINENO: checking $ac_header usability" >&5
++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++$ac_includes_default
++@%:@include <$ac_header>
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_header_compiler=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_header_compiler=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
++echo "${ECHO_T}$ac_header_compiler" >&6
++
++# Is the header present?
++echo "$as_me:$LINENO: checking $ac_header presence" >&5
++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++@%:@include <$ac_header>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  egrep -v '^ *\+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  ac_header_preproc=yes
++else
++  echo "$as_me: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_header_preproc=no
++fi
++rm -f conftest.err conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
++echo "${ECHO_T}$ac_header_preproc" >&6
++
++# So?  What about this header?
++case $ac_header_compiler:$ac_header_preproc in
++  yes:no )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
++echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++  no:yes )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
++echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
++echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++esac
++echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  eval "$as_ac_Header=$ac_header_preproc"
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++
++fi
++if test `eval echo '${'$as_ac_Header'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++
++done
++
++
++for ac_func in getpagesize
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++echo "$as_me:$LINENO: checking for working mmap" >&5
++echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
++if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test "$cross_compiling" = yes; then
++  ac_cv_func_mmap_fixed_mapped=no
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++$ac_includes_default
++/* malloc might have been renamed as rpl_malloc. */
++#undef malloc
++
++/* Thanks to Mike Haertel and Jim Avera for this test.
++   Here is a matrix of mmap possibilities:
++	mmap private not fixed
++	mmap private fixed at somewhere currently unmapped
++	mmap private fixed at somewhere already mapped
++	mmap shared not fixed
++	mmap shared fixed at somewhere currently unmapped
++	mmap shared fixed at somewhere already mapped
++   For private mappings, we should verify that changes cannot be read()
++   back from the file, nor mmap's back from the file at a different
++   address.  (There have been systems where private was not correctly
++   implemented like the infamous i386 svr4.0, and systems where the
++   VM page cache was not coherent with the file system buffer cache
++   like early versions of FreeBSD and possibly contemporary NetBSD.)
++   For shared mappings, we should conversely verify that changes get
++   propagated back to all the places they're supposed to be.
++
++   Grep wants private fixed already mapped.
++   The main things grep needs to know about mmap are:
++   * does it exist and is it safe to write into the mmap'd area
++   * how to use it (BSD variants)  */
++
++#include <fcntl.h>
++#include <sys/mman.h>
++
++#if !STDC_HEADERS && !HAVE_STDLIB_H
++char *malloc ();
++#endif
++
++/* This mess was copied from the GNU getpagesize.h.  */
++#if !HAVE_GETPAGESIZE
++/* Assume that all systems that can run configure have sys/param.h.  */
++# if !HAVE_SYS_PARAM_H
++#  define HAVE_SYS_PARAM_H 1
++# endif
++
++# ifdef _SC_PAGESIZE
++#  define getpagesize() sysconf(_SC_PAGESIZE)
++# else /* no _SC_PAGESIZE */
++#  if HAVE_SYS_PARAM_H
++#   include <sys/param.h>
++#   ifdef EXEC_PAGESIZE
++#    define getpagesize() EXEC_PAGESIZE
++#   else /* no EXEC_PAGESIZE */
++#    ifdef NBPG
++#     define getpagesize() NBPG * CLSIZE
++#     ifndef CLSIZE
++#      define CLSIZE 1
++#     endif /* no CLSIZE */
++#    else /* no NBPG */
++#     ifdef NBPC
++#      define getpagesize() NBPC
++#     else /* no NBPC */
++#      ifdef PAGESIZE
++#       define getpagesize() PAGESIZE
++#      endif /* PAGESIZE */
++#     endif /* no NBPC */
++#    endif /* no NBPG */
++#   endif /* no EXEC_PAGESIZE */
++#  else /* no HAVE_SYS_PARAM_H */
++#   define getpagesize() 8192	/* punt totally */
++#  endif /* no HAVE_SYS_PARAM_H */
++# endif /* no _SC_PAGESIZE */
++
++#endif /* no HAVE_GETPAGESIZE */
++
++int
++main ()
++{
++  char *data, *data2, *data3;
++  int i, pagesize;
++  int fd;
++
++  pagesize = getpagesize ();
++
++  /* First, make a file with some known garbage in it. */
++  data = (char *) malloc (pagesize);
++  if (!data)
++    exit (1);
++  for (i = 0; i < pagesize; ++i)
++    *(data + i) = rand ();
++  umask (0);
++  fd = creat ("conftest.mmap", 0600);
++  if (fd < 0)
++    exit (1);
++  if (write (fd, data, pagesize) != pagesize)
++    exit (1);
++  close (fd);
++
++  /* Next, try to mmap the file at a fixed address which already has
++     something else allocated at it.  If we can, also make sure that
++     we see the same garbage.  */
++  fd = open ("conftest.mmap", O_RDWR);
++  if (fd < 0)
++    exit (1);
++  data2 = (char *) malloc (2 * pagesize);
++  if (!data2)
++    exit (1);
++  data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
++  if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
++                     MAP_PRIVATE | MAP_FIXED, fd, 0L))
++    exit (1);
++  for (i = 0; i < pagesize; ++i)
++    if (*(data + i) != *(data2 + i))
++      exit (1);
++
++  /* Finally, make sure that changes to the mapped area do not
++     percolate back to the file as seen by read().  (This is a bug on
++     some variants of i386 svr4.0.)  */
++  for (i = 0; i < pagesize; ++i)
++    *(data2 + i) = *(data2 + i) + 1;
++  data3 = (char *) malloc (pagesize);
++  if (!data3)
++    exit (1);
++  if (read (fd, data3, pagesize) != pagesize)
++    exit (1);
++  for (i = 0; i < pagesize; ++i)
++    if (*(data + i) != *(data3 + i))
++      exit (1);
++  close (fd);
++  exit (0);
++}
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_mmap_fixed_mapped=yes
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++( exit $ac_status )
++ac_cv_func_mmap_fixed_mapped=no
++fi
++rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
++echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
++if test $ac_cv_func_mmap_fixed_mapped = yes; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_MMAP 1
++_ACEOF
++
++fi
++rm -f conftest.mmap
++
++
++
++
++
++
++for ac_header in capability.h sys/capability.h
++do
++as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++else
++  # Is the header compilable?
++echo "$as_me:$LINENO: checking $ac_header usability" >&5
++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++$ac_includes_default
++@%:@include <$ac_header>
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_header_compiler=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_header_compiler=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
++echo "${ECHO_T}$ac_header_compiler" >&6
++
++# Is the header present?
++echo "$as_me:$LINENO: checking $ac_header presence" >&5
++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++@%:@include <$ac_header>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  egrep -v '^ *\+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  ac_header_preproc=yes
++else
++  echo "$as_me: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++  ac_header_preproc=no
++fi
++rm -f conftest.err conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
++echo "${ECHO_T}$ac_header_preproc" >&6
++
++# So?  What about this header?
++case $ac_header_compiler:$ac_header_preproc in
++  yes:no )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
++echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++  no:yes )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
++echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
++echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++esac
++echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  eval "$as_ac_Header=$ac_header_preproc"
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++
++fi
++if test `eval echo '${'$as_ac_Header'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++
++done
++
++
++
++
++for ac_func in sgi_getcapabilitybyname cap_set_proc
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for getpwnam_r" >&5
++echo $ECHO_N "checking for getpwnam_r... $ECHO_C" >&6
++if test "${ac_cv_funclib_getpwnam_r+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_getpwnam_r\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" c_r; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++getpwnam_r()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_getpwnam_r=$ac_lib; else ac_cv_funclib_getpwnam_r=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_getpwnam_r=\${ac_cv_funclib_getpwnam_r-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_getpwnam_r"
++
++if false; then
++	
++for ac_func in getpwnam_r
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# getpwnam_r
++eval "ac_tr_func=HAVE_`echo getpwnam_r | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_getpwnam_r=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_getpwnam_r=yes"
++	eval "LIB_getpwnam_r="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_getpwnam_r=no"
++	eval "LIB_getpwnam_r="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_getpwnam_r=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test "$ac_cv_func_getpwnam_r" = yes; then
++	echo "$as_me:$LINENO: checking if getpwnam_r is posix" >&5
++echo $ECHO_N "checking if getpwnam_r is posix... $ECHO_C" >&6
++if test "${ac_cv_func_getpwnam_r_posix+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_libs="$LIBS"
++	LIBS="$LIBS $LIB_getpwnam_r"
++	if test "$cross_compiling" = yes; then
++  :
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#include <pwd.h>
++int main()
++{
++	struct passwd pw, *pwd;
++	return getpwnam_r("", &pw, NULL, 0, &pwd) < 0;
++}
++
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_getpwnam_r_posix=yes
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++( exit $ac_status )
++ac_cv_func_getpwnam_r_posix=no
++fi
++rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++LIBS="$ac_libs"
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getpwnam_r_posix" >&5
++echo "${ECHO_T}$ac_cv_func_getpwnam_r_posix" >&6
++if test "$ac_cv_func_getpwnam_r_posix" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define POSIX_GETPWNAM_R 1
++_ACEOF
++
++fi
++fi
++
++
++
++
++for ac_func in getudbnam setlim
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for ut_addr in struct utmp" >&5
++echo $ECHO_N "checking for ut_addr in struct utmp... $ECHO_C" >&6
++if test "${ac_cv_type_struct_utmp_ut_addr+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <utmp.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct utmp x; x.ut_addr;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_utmp_ut_addr=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_type_struct_utmp_ut_addr=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_utmp_ut_addr" >&5
++echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_addr" >&6
++if test "$ac_cv_type_struct_utmp_ut_addr" = yes; then
++	
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_STRUCT_UTMP_UT_ADDR 1
++_ACEOF
++
++	
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking for ut_host in struct utmp" >&5
++echo $ECHO_N "checking for ut_host in struct utmp... $ECHO_C" >&6
++if test "${ac_cv_type_struct_utmp_ut_host+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <utmp.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct utmp x; x.ut_host;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_utmp_ut_host=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_type_struct_utmp_ut_host=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_utmp_ut_host" >&5
++echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_host" >&6
++if test "$ac_cv_type_struct_utmp_ut_host" = yes; then
++	
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_STRUCT_UTMP_UT_HOST 1
++_ACEOF
++
++	
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking for ut_id in struct utmp" >&5
++echo $ECHO_N "checking for ut_id in struct utmp... $ECHO_C" >&6
++if test "${ac_cv_type_struct_utmp_ut_id+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <utmp.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct utmp x; x.ut_id;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_utmp_ut_id=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_type_struct_utmp_ut_id=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_utmp_ut_id" >&5
++echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_id" >&6
++if test "$ac_cv_type_struct_utmp_ut_id" = yes; then
++	
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_STRUCT_UTMP_UT_ID 1
++_ACEOF
++
++	
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking for ut_pid in struct utmp" >&5
++echo $ECHO_N "checking for ut_pid in struct utmp... $ECHO_C" >&6
++if test "${ac_cv_type_struct_utmp_ut_pid+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <utmp.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct utmp x; x.ut_pid;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_utmp_ut_pid=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_type_struct_utmp_ut_pid=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_utmp_ut_pid" >&5
++echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_pid" >&6
++if test "$ac_cv_type_struct_utmp_ut_pid" = yes; then
++	
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_STRUCT_UTMP_UT_PID 1
++_ACEOF
++
++	
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking for ut_type in struct utmp" >&5
++echo $ECHO_N "checking for ut_type in struct utmp... $ECHO_C" >&6
++if test "${ac_cv_type_struct_utmp_ut_type+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <utmp.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct utmp x; x.ut_type;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_utmp_ut_type=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_type_struct_utmp_ut_type=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_utmp_ut_type" >&5
++echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_type" >&6
++if test "$ac_cv_type_struct_utmp_ut_type" = yes; then
++	
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_STRUCT_UTMP_UT_TYPE 1
++_ACEOF
++
++	
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking for ut_user in struct utmp" >&5
++echo $ECHO_N "checking for ut_user in struct utmp... $ECHO_C" >&6
++if test "${ac_cv_type_struct_utmp_ut_user+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <utmp.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct utmp x; x.ut_user;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_utmp_ut_user=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_type_struct_utmp_ut_user=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_utmp_ut_user" >&5
++echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_user" >&6
++if test "$ac_cv_type_struct_utmp_ut_user" = yes; then
++	
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_STRUCT_UTMP_UT_USER 1
++_ACEOF
++
++	
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking for ut_exit in struct utmpx" >&5
++echo $ECHO_N "checking for ut_exit in struct utmpx... $ECHO_C" >&6
++if test "${ac_cv_type_struct_utmpx_ut_exit+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <utmpx.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct utmpx x; x.ut_exit;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_utmpx_ut_exit=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_type_struct_utmpx_ut_exit=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_utmpx_ut_exit" >&5
++echo "${ECHO_T}$ac_cv_type_struct_utmpx_ut_exit" >&6
++if test "$ac_cv_type_struct_utmpx_ut_exit" = yes; then
++	
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_STRUCT_UTMPX_UT_EXIT 1
++_ACEOF
++
++	
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking for ut_syslen in struct utmpx" >&5
++echo $ECHO_N "checking for ut_syslen in struct utmpx... $ECHO_C" >&6
++if test "${ac_cv_type_struct_utmpx_ut_syslen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <utmpx.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++struct utmpx x; x.ut_syslen;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_utmpx_ut_syslen=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_type_struct_utmpx_ut_syslen=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_utmpx_ut_syslen" >&5
++echo "${ECHO_T}$ac_cv_type_struct_utmpx_ut_syslen" >&6
++if test "$ac_cv_type_struct_utmpx_ut_syslen" = yes; then
++	
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_STRUCT_UTMPX_UT_SYSLEN 1
++_ACEOF
++
++	
++fi
++
++
++
++echo "$as_me:$LINENO: checking for int8_t" >&5
++echo $ECHO_N "checking for int8_t... $ECHO_C" >&6
++if test "${ac_cv_type_int8_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef HAVE_INTTYPES_H
++#include <inttypes.h>
++#endif
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_BITYPES_H
++#include <sys/bitypes.h>
++#endif
++#ifdef HAVE_BIND_BITYPES_H
++#include <bind/bitypes.h>
++#endif
++#ifdef HAVE_NETINET_IN6_MACHTYPES_H
++#include <netinet/in6_machtypes.h>
++#endif
++
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++if ((int8_t *) 0)
++  return 0;
++if (sizeof (int8_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_int8_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_type_int8_t=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_int8_t" >&5
++echo "${ECHO_T}$ac_cv_type_int8_t" >&6
++if test $ac_cv_type_int8_t = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_INT8_T 1
++_ACEOF
++
++
++fi
++echo "$as_me:$LINENO: checking for int16_t" >&5
++echo $ECHO_N "checking for int16_t... $ECHO_C" >&6
++if test "${ac_cv_type_int16_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef HAVE_INTTYPES_H
++#include <inttypes.h>
++#endif
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_BITYPES_H
++#include <sys/bitypes.h>
++#endif
++#ifdef HAVE_BIND_BITYPES_H
++#include <bind/bitypes.h>
++#endif
++#ifdef HAVE_NETINET_IN6_MACHTYPES_H
++#include <netinet/in6_machtypes.h>
++#endif
++
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++if ((int16_t *) 0)
++  return 0;
++if (sizeof (int16_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_int16_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_type_int16_t=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_int16_t" >&5
++echo "${ECHO_T}$ac_cv_type_int16_t" >&6
++if test $ac_cv_type_int16_t = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_INT16_T 1
++_ACEOF
++
++
++fi
++echo "$as_me:$LINENO: checking for int32_t" >&5
++echo $ECHO_N "checking for int32_t... $ECHO_C" >&6
++if test "${ac_cv_type_int32_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef HAVE_INTTYPES_H
++#include <inttypes.h>
++#endif
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_BITYPES_H
++#include <sys/bitypes.h>
++#endif
++#ifdef HAVE_BIND_BITYPES_H
++#include <bind/bitypes.h>
++#endif
++#ifdef HAVE_NETINET_IN6_MACHTYPES_H
++#include <netinet/in6_machtypes.h>
++#endif
++
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++if ((int32_t *) 0)
++  return 0;
++if (sizeof (int32_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_int32_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_type_int32_t=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_int32_t" >&5
++echo "${ECHO_T}$ac_cv_type_int32_t" >&6
++if test $ac_cv_type_int32_t = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_INT32_T 1
++_ACEOF
++
++
++fi
++echo "$as_me:$LINENO: checking for int64_t" >&5
++echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
++if test "${ac_cv_type_int64_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef HAVE_INTTYPES_H
++#include <inttypes.h>
++#endif
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_BITYPES_H
++#include <sys/bitypes.h>
++#endif
++#ifdef HAVE_BIND_BITYPES_H
++#include <bind/bitypes.h>
++#endif
++#ifdef HAVE_NETINET_IN6_MACHTYPES_H
++#include <netinet/in6_machtypes.h>
++#endif
++
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++if ((int64_t *) 0)
++  return 0;
++if (sizeof (int64_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_int64_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_type_int64_t=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
++echo "${ECHO_T}$ac_cv_type_int64_t" >&6
++if test $ac_cv_type_int64_t = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_INT64_T 1
++_ACEOF
++
++
++fi
++echo "$as_me:$LINENO: checking for u_int8_t" >&5
++echo $ECHO_N "checking for u_int8_t... $ECHO_C" >&6
++if test "${ac_cv_type_u_int8_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef HAVE_INTTYPES_H
++#include <inttypes.h>
++#endif
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_BITYPES_H
++#include <sys/bitypes.h>
++#endif
++#ifdef HAVE_BIND_BITYPES_H
++#include <bind/bitypes.h>
++#endif
++#ifdef HAVE_NETINET_IN6_MACHTYPES_H
++#include <netinet/in6_machtypes.h>
++#endif
++
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++if ((u_int8_t *) 0)
++  return 0;
++if (sizeof (u_int8_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_u_int8_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_type_u_int8_t=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_u_int8_t" >&5
++echo "${ECHO_T}$ac_cv_type_u_int8_t" >&6
++if test $ac_cv_type_u_int8_t = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_U_INT8_T 1
++_ACEOF
++
++
++fi
++echo "$as_me:$LINENO: checking for u_int16_t" >&5
++echo $ECHO_N "checking for u_int16_t... $ECHO_C" >&6
++if test "${ac_cv_type_u_int16_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef HAVE_INTTYPES_H
++#include <inttypes.h>
++#endif
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_BITYPES_H
++#include <sys/bitypes.h>
++#endif
++#ifdef HAVE_BIND_BITYPES_H
++#include <bind/bitypes.h>
++#endif
++#ifdef HAVE_NETINET_IN6_MACHTYPES_H
++#include <netinet/in6_machtypes.h>
++#endif
++
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++if ((u_int16_t *) 0)
++  return 0;
++if (sizeof (u_int16_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_u_int16_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_type_u_int16_t=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_u_int16_t" >&5
++echo "${ECHO_T}$ac_cv_type_u_int16_t" >&6
++if test $ac_cv_type_u_int16_t = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_U_INT16_T 1
++_ACEOF
++
++
++fi
++echo "$as_me:$LINENO: checking for u_int32_t" >&5
++echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
++if test "${ac_cv_type_u_int32_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef HAVE_INTTYPES_H
++#include <inttypes.h>
++#endif
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_BITYPES_H
++#include <sys/bitypes.h>
++#endif
++#ifdef HAVE_BIND_BITYPES_H
++#include <bind/bitypes.h>
++#endif
++#ifdef HAVE_NETINET_IN6_MACHTYPES_H
++#include <netinet/in6_machtypes.h>
++#endif
++
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++if ((u_int32_t *) 0)
++  return 0;
++if (sizeof (u_int32_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_u_int32_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_type_u_int32_t=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
++echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
++if test $ac_cv_type_u_int32_t = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_U_INT32_T 1
++_ACEOF
++
++
++fi
++echo "$as_me:$LINENO: checking for u_int64_t" >&5
++echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
++if test "${ac_cv_type_u_int64_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef HAVE_INTTYPES_H
++#include <inttypes.h>
++#endif
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_BITYPES_H
++#include <sys/bitypes.h>
++#endif
++#ifdef HAVE_BIND_BITYPES_H
++#include <bind/bitypes.h>
++#endif
++#ifdef HAVE_NETINET_IN6_MACHTYPES_H
++#include <netinet/in6_machtypes.h>
++#endif
++
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++if ((u_int64_t *) 0)
++  return 0;
++if (sizeof (u_int64_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_u_int64_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_type_u_int64_t=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
++echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
++if test $ac_cv_type_u_int64_t = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_U_INT64_T 1
++_ACEOF
++
++
++fi
++echo "$as_me:$LINENO: checking for uint8_t" >&5
++echo $ECHO_N "checking for uint8_t... $ECHO_C" >&6
++if test "${ac_cv_type_uint8_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef HAVE_INTTYPES_H
++#include <inttypes.h>
++#endif
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_BITYPES_H
++#include <sys/bitypes.h>
++#endif
++#ifdef HAVE_BIND_BITYPES_H
++#include <bind/bitypes.h>
++#endif
++#ifdef HAVE_NETINET_IN6_MACHTYPES_H
++#include <netinet/in6_machtypes.h>
++#endif
++
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++if ((uint8_t *) 0)
++  return 0;
++if (sizeof (uint8_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_uint8_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_type_uint8_t=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_uint8_t" >&5
++echo "${ECHO_T}$ac_cv_type_uint8_t" >&6
++if test $ac_cv_type_uint8_t = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_UINT8_T 1
++_ACEOF
++
++
++fi
++echo "$as_me:$LINENO: checking for uint16_t" >&5
++echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6
++if test "${ac_cv_type_uint16_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef HAVE_INTTYPES_H
++#include <inttypes.h>
++#endif
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_BITYPES_H
++#include <sys/bitypes.h>
++#endif
++#ifdef HAVE_BIND_BITYPES_H
++#include <bind/bitypes.h>
++#endif
++#ifdef HAVE_NETINET_IN6_MACHTYPES_H
++#include <netinet/in6_machtypes.h>
++#endif
++
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++if ((uint16_t *) 0)
++  return 0;
++if (sizeof (uint16_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_uint16_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_type_uint16_t=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_uint16_t" >&5
++echo "${ECHO_T}$ac_cv_type_uint16_t" >&6
++if test $ac_cv_type_uint16_t = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_UINT16_T 1
++_ACEOF
++
++
++fi
++echo "$as_me:$LINENO: checking for uint32_t" >&5
++echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
++if test "${ac_cv_type_uint32_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef HAVE_INTTYPES_H
++#include <inttypes.h>
++#endif
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_BITYPES_H
++#include <sys/bitypes.h>
++#endif
++#ifdef HAVE_BIND_BITYPES_H
++#include <bind/bitypes.h>
++#endif
++#ifdef HAVE_NETINET_IN6_MACHTYPES_H
++#include <netinet/in6_machtypes.h>
++#endif
++
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++if ((uint32_t *) 0)
++  return 0;
++if (sizeof (uint32_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_uint32_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_type_uint32_t=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
++echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
++if test $ac_cv_type_uint32_t = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_UINT32_T 1
++_ACEOF
++
++
++fi
++echo "$as_me:$LINENO: checking for uint64_t" >&5
++echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
++if test "${ac_cv_type_uint64_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef HAVE_INTTYPES_H
++#include <inttypes.h>
++#endif
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_BITYPES_H
++#include <sys/bitypes.h>
++#endif
++#ifdef HAVE_BIND_BITYPES_H
++#include <bind/bitypes.h>
++#endif
++#ifdef HAVE_NETINET_IN6_MACHTYPES_H
++#include <netinet/in6_machtypes.h>
++#endif
++
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++if ((uint64_t *) 0)
++  return 0;
++if (sizeof (uint64_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_uint64_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_type_uint64_t=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
++echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
++if test $ac_cv_type_uint64_t = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_UINT64_T 1
++_ACEOF
++
++
++fi
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for el_init" >&5
++echo $ECHO_N "checking for el_init... $ECHO_C" >&6
++if test "${ac_cv_funclib_el_init+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_el_init\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" edit; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib $LIB_tgetent $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++el_init()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_el_init=$ac_lib; else ac_cv_funclib_el_init=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_el_init=\${ac_cv_funclib_el_init-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_el_init"
++
++if false; then
++	
++for ac_func in el_init
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# el_init
++eval "ac_tr_func=HAVE_`echo el_init | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_el_init=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_el_init=yes"
++	eval "LIB_el_init="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_el_init=no"
++	eval "LIB_el_init="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_el_init=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test "$ac_cv_func_el_init" = yes ; then
++	echo "$as_me:$LINENO: checking for four argument el_init" >&5
++echo $ECHO_N "checking for four argument el_init... $ECHO_C" >&6
++if test "${ac_cv_func_el_init_four+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <stdio.h>
++			#include <histedit.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++el_init("", NULL, NULL, NULL);
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_el_init_four=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_el_init_four=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_el_init_four" >&5
++echo "${ECHO_T}$ac_cv_func_el_init_four" >&6
++	if test "$ac_cv_func_el_init_four" = yes; then
++		
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_FOUR_VALUED_EL_INIT 1
++_ACEOF
++
++	fi
++fi
++
++
++ac_foo=no
++if test "$with_readline" = yes; then
++	:
++elif test "$ac_cv_func_readline" = yes; then
++	:
++elif test "$ac_cv_func_el_init" = yes; then
++	ac_foo=yes
++	DIR_readline="editline"
++	LIB_readline="\$(top_builddir)/lib/editline/libel_compat.la \$(LIB_el_init) \$(LIB_tgetent)"
++else
++	DIR_readline="editline"
++	LIB_readline="\$(top_builddir)/lib/editline/libeditline.la \$(LIB_tgetent)"
++fi
++
++
++if test "$ac_foo" = yes; then
++  el_compat_TRUE=
++  el_compat_FALSE='#'
++else
++  el_compat_TRUE='#'
++  el_compat_FALSE=
++fi
++
++
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_READLINE 1
++_ACEOF
++
++
++
++
++
++cat >>confdefs.h <<\_ACEOF
++@%:@define AUTHENTICATION 1
++_ACEOF
++
++cat >>confdefs.h <<\_ACEOF
++@%:@define ENCRYPTION 1
++_ACEOF
++
++cat >>confdefs.h <<\_ACEOF
++@%:@define DES_ENCRYPTION 1
++_ACEOF
++
++cat >>confdefs.h <<\_ACEOF
++@%:@define DIAGNOSTICS 1
++_ACEOF
++
++cat >>confdefs.h <<\_ACEOF
++@%:@define OLD_ENVIRON 1
++_ACEOF
++if false; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define ENV_HACK 1
++_ACEOF
++
++fi
++
++# Simple test for streamspty, based on the existance of getmsg(), alas
++# this breaks on SunOS4 which have streams but BSD-like ptys
++#
++# And also something wierd has happend with dec-osf1, fallback to bsd-ptys
++
++case "$host" in
++*-*-aix3*|*-*-sunos4*|*-*-osf*|*-*-hpux1[01]*)
++	;;
++*)
++	echo "$as_me:$LINENO: checking for getmsg" >&5
++echo $ECHO_N "checking for getmsg... $ECHO_C" >&6
++if test "${ac_cv_func_getmsg+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char getmsg (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char getmsg ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++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_getmsg) || defined (__stub___getmsg)
++choke me
++#else
++f = getmsg;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_getmsg=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++ac_cv_func_getmsg=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getmsg" >&5
++echo "${ECHO_T}$ac_cv_func_getmsg" >&6
++
++	if test "$ac_cv_func_getmsg" = "yes"; then
++		echo "$as_me:$LINENO: checking if getmsg works" >&5
++echo $ECHO_N "checking if getmsg works... $ECHO_C" >&6
++if test "${ac_cv_func_getmsg_works+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test "$cross_compiling" = yes; then
++  ac_cv_func_getmsg_works=no
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++			#include <stdio.h>
++			#include <errno.h>
++
++			int main()
++			{
++			  int ret;
++			  ret = getmsg(open("/dev/null", 0), NULL, NULL, NULL);
++			  if(ret < 0 && errno == ENOSYS)
++			    return 1;
++			  return 0;
++			}
++			
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_getmsg_works=yes
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++( exit $ac_status )
++ac_cv_func_getmsg_works=no
++fi
++rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getmsg_works" >&5
++echo "${ECHO_T}$ac_cv_func_getmsg_works" >&6
++		if test "$ac_cv_func_getmsg_works" = "yes"; then
++			
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_GETMSG 1
++_ACEOF
++
++			
++cat >>confdefs.h <<\_ACEOF
++@%:@define STREAMSPTY 1
++_ACEOF
++
++		fi
++	fi
++	;;
++esac
++
++
++
++
++
++
++
++# Extract the first word of "compile_et", so it can be a program name with args.
++set dummy compile_et; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_COMPILE_ET+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$COMPILE_ET"; then
++  ac_cv_prog_COMPILE_ET="$COMPILE_ET" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_COMPILE_ET="compile_et"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++COMPILE_ET=$ac_cv_prog_COMPILE_ET
++if test -n "$COMPILE_ET"; then
++  echo "$as_me:$LINENO: result: $COMPILE_ET" >&5
++echo "${ECHO_T}$COMPILE_ET" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++
++krb_cv_compile_et="no"
++if test "${COMPILE_ET}" = "compile_et"; then
++
++echo "$as_me:$LINENO: checking whether compile_et has the features we need" >&5
++echo $ECHO_N "checking whether compile_et has the features we need... $ECHO_C" >&6
++cat > conftest_et.et <<'EOF'
++error_table conf
++prefix CONFTEST
++index 1
++error_code CODE1, "CODE1"
++index 128
++error_code CODE2, "CODE2"
++end
++EOF
++if ${COMPILE_ET} conftest_et.et >/dev/null 2>&1; then
++    save_CPPFLAGS="${save_CPPFLAGS}"
++  if test -d "/usr/include/et"; then
++    CPPFLAGS="-I/usr/include/et ${CPPFLAGS}"
++  fi
++    if test "$cross_compiling" = yes; then
++  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
++echo "$as_me: error: cannot run test program while cross compiling" >&2;}
++   { (exit 1); exit 1; }; }
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#include <com_err.h>
++#include <string.h>
++#include "conftest_et.h"
++int main(){return (CONFTEST_CODE2 - CONFTEST_CODE1) != 127;}
++  
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  krb_cv_compile_et="yes"
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++( exit $ac_status )
++CPPFLAGS="${save_CPPFLAGS}"
++fi
++rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++fi
++echo "$as_me:$LINENO: result: ${krb_cv_compile_et}" >&5
++echo "${ECHO_T}${krb_cv_compile_et}" >&6
++rm -fr conftest*
++fi
++
++if test "${krb_cv_compile_et}" = "yes"; then
++    krb_cv_save_LIBS="${LIBS}"
++  LIBS="${LIBS} -lcom_err"
++  echo "$as_me:$LINENO: checking for com_err" >&5
++echo $ECHO_N "checking for com_err... $ECHO_C" >&6
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <com_err.h>
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++    const char *p;
++    p = error_message(0);
++  
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  krb_cv_com_err="yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++krb_cv_com_err="no"; CPPFLAGS="${save_CPPFLAGS}"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++  echo "$as_me:$LINENO: result: ${krb_cv_com_err}" >&5
++echo "${ECHO_T}${krb_cv_com_err}" >&6
++  LIBS="${krb_cv_save_LIBS}"
++else
++    krb_cv_com_err="no"
++fi
++
++if test "${krb_cv_com_err}" = "yes"; then
++    DIR_com_err=""
++    LIB_com_err="-lcom_err"
++    LIB_com_err_a=""
++    LIB_com_err_so=""
++    { echo "$as_me:$LINENO: Using the already-installed com_err" >&5
++echo "$as_me: Using the already-installed com_err" >&6;}
++else
++    COMPILE_ET="\$(top_builddir)/lib/com_err/compile_et"
++    DIR_com_err="com_err"
++    LIB_com_err="\$(top_builddir)/lib/com_err/libcom_err.la"
++    LIB_com_err_a="\$(top_builddir)/lib/com_err/.libs/libcom_err.a"
++    LIB_com_err_so="\$(top_builddir)/lib/com_err/.libs/libcom_err.so"
++    { echo "$as_me:$LINENO: Using our own com_err" >&5
++echo "$as_me: Using our own com_err" >&6;}
++fi
++
++
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking which authentication modules should be built" >&5
++echo $ECHO_N "checking which authentication modules should be built... $ECHO_C" >&6
++
++z='sia afskauthlib'
++LIB_AUTH_SUBDIRS=
++for i in $z; do
++case $i in
++sia)
++if test "$ac_cv_header_siad_h" = yes; then
++	LIB_AUTH_SUBDIRS="$LIB_AUTH_SUBDIRS sia"
++fi
++;;
++pam)
++case "${host}" in
++*-*-freebsd*)	ac_cv_want_pam_krb4=no ;;
++*)		ac_cv_want_pam_krb4=yes ;;
++esac
++
++if test "$ac_cv_want_pam_krb4" = yes -a \
++    "$ac_cv_header_security_pam_modules_h" = yes -a \
++    "$enable_shared" = yes; then
++	LIB_AUTH_SUBDIRS="$LIB_AUTH_SUBDIRS pam"
++fi
++;;
++afskauthlib)
++case "${host}" in
++*-*-irix[56]*) LIB_AUTH_SUBDIRS="$LIB_AUTH_SUBDIRS afskauthlib" ;;
++esac
++;;
++esac
++done
++if test "$LIB_AUTH_SUBDIRS"; then
++	echo "$as_me:$LINENO: result: $LIB_AUTH_SUBDIRS" >&5
++echo "${ECHO_T}$LIB_AUTH_SUBDIRS" >&6
++else
++	echo "$as_me:$LINENO: result: none" >&5
++echo "${ECHO_T}none" >&6
++fi
++
++
++
++
++# This is done by AC_OUTPUT but we need the result here.
++test "x$prefix" = xNONE && prefix=$ac_default_prefix
++test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
++
++
++	x="${bindir}"
++	eval y="$x"
++	while test "x$y" != "x$x"; do
++		x="$y"
++		eval y="$x"
++	done
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define BINDIR "$x"
++_ACEOF
++
++	x="${libdir}"
++	eval y="$x"
++	while test "x$y" != "x$x"; do
++		x="$y"
++		eval y="$x"
++	done
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define LIBDIR "$x"
++_ACEOF
++
++	x="${libexecdir}"
++	eval y="$x"
++	while test "x$y" != "x$x"; do
++		x="$y"
++		eval y="$x"
++	done
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define LIBEXECDIR "$x"
++_ACEOF
++
++	x="${localstatedir}"
++	eval y="$x"
++	while test "x$y" != "x$x"; do
++		x="$y"
++		eval y="$x"
++	done
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define LOCALSTATEDIR "$x"
++_ACEOF
++
++	x="${sbindir}"
++	eval y="$x"
++	while test "x$y" != "x$x"; do
++		x="$y"
++		eval y="$x"
++	done
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define SBINDIR "$x"
++_ACEOF
++
++	x="${sysconfdir}"
++	eval y="$x"
++	while test "x$y" != "x$x"; do
++		x="$y"
++		eval y="$x"
++	done
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define SYSCONFDIR "$x"
++_ACEOF
++
++
++
++LTLIBOBJS=`echo "$LIB@&t@OBJS" |
++	sed 's,\.[^.]* ,.lo ,g;s,\.[^.]*$,.lo,'`
++
++
++
++
++
++ac_config_files="$ac_config_files Makefile include/Makefile include/kadm5/Makefile lib/Makefile lib/45/Makefile lib/auth/Makefile lib/auth/afskauthlib/Makefile lib/auth/pam/Makefile lib/auth/sia/Makefile lib/asn1/Makefile lib/com_err/Makefile lib/des/Makefile lib/editline/Makefile lib/gssapi/Makefile lib/hdb/Makefile lib/kadm5/Makefile lib/kafs/Makefile lib/kdfs/Makefile lib/krb5/Makefile lib/otp/Makefile lib/roken/Makefile lib/sl/Makefile lib/vers/Makefile kuser/Makefile kpasswd/Makefile kadmin/Makefile admin/Makefile kdc/Makefile appl/Makefile appl/afsutil/Makefile appl/ftp/Makefile appl/ftp/common/Makefile appl/ftp/ftp/Makefile appl/ftp/ftpd/Makefile appl/kx/Makefile appl/login/Makefile appl/otp/Makefile appl/popper/Makefile appl/push/Makefile appl/rsh/Makefile appl/rcp/Makefile appl/su/Makefile appl/xnlock/Makefile appl/telnet/Makefile appl/telnet/libtelnet/Makefile appl/telnet/telnet/Makefile appl/telnet/telnetd/Makefile appl/test/Makefile appl/kf/Makefile appl/dceutils/Makefile doc/Makefile tools/Makefile"
++
++
++cat >confcache <<\_ACEOF
++# 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, see configure's option --config-cache.
++# It is not useful on other systems.  If it contains results you don't
++# want to keep, you may remove or edit it.
++#
++# config.status only pays attention to the cache file if you give it
++# the --recheck option to rerun configure.
++#
++# `ac_cv_env_foo' variables (set or unset) will be overriden when
++# loading this file, other *unset* `ac_cv_foo' will be assigned the
++# following values.
++
++_ACEOF
++
++# The following way of writing the cache mishandles newlines in values,
++# but we know of no workaround that is simple, portable, and efficient.
++# So, don't put newlines in cache variables' values.
++# Ultrix sh set writes to stderr and can't be redirected directly,
++# and sets the high bit in the cache file unless we assign to the vars.
++{
++  (set) 2>&1 |
++    case `(ac_space=' '; set | grep ac_space) 2>&1` in
++    *ac_space=\ *)
++      # `set' does not quote correctly, so add quotes (double-quote
++      # substitution turns \\\\ into \\, and sed turns \\ into \).
++      sed -n \
++        "s/'/'\\\\''/g;
++    	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
++      ;;
++    *)
++      # `set' quotes correctly as required by POSIX, so do not add quotes.
++      sed -n \
++        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
++      ;;
++    esac;
++} |
++  sed '
++     t clear
++     : clear
++     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
++     t end
++     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
++     : end' >>confcache
++if cmp -s $cache_file confcache; then :; else
++  if test -w $cache_file; then
++    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
++    cat confcache >$cache_file
++  else
++    echo "not updating unwritable cache $cache_file"
++  fi
++fi
++rm -f confcache
++
++test "x$prefix" = xNONE && prefix=$ac_default_prefix
++# Let make expand exec_prefix.
++test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
++
++# VPATH may cause trouble with some makes, so we remove $(srcdir),
++# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
++# trailing colons and then remove the whole line if VPATH becomes empty
++# (actually we leave an empty line to preserve line numbers).
++if test "x$srcdir" = x.; then
++  ac_vpsub='/^[ 	]*VPATH[ 	]*=/{
++s/:*\$(srcdir):*/:/;
++s/:*\${srcdir}:*/:/;
++s/:*@srcdir@:*/:/;
++s/^\([^=]*=[ 	]*\):*/\1/;
++s/:*$//;
++s/^[^=]*=[ 	]*$//;
++}'
++fi
++
++DEFS=-DHAVE_CONFIG_H
++
++if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"AMDEP\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${KRB4_TRUE}" && test -z "${KRB4_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"KRB4\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"KRB4\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${KRB5_TRUE}" && test -z "${KRB5_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"KRB5\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"KRB5\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${do_roken_rename_TRUE}" && test -z "${do_roken_rename_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"do_roken_rename\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"do_roken_rename\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${HAVE_OPENSSL_TRUE}" && test -z "${HAVE_OPENSSL_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"HAVE_OPENSSL\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"HAVE_OPENSSL\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${DCE_TRUE}" && test -z "${DCE_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"DCE\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"DCE\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${HAVE_DB1_TRUE}" && test -z "${HAVE_DB1_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"HAVE_DB1\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"HAVE_DB1\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${HAVE_DB3_TRUE}" && test -z "${HAVE_DB3_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"HAVE_DB3\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"HAVE_DB3\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${HAVE_NDBM_TRUE}" && test -z "${HAVE_NDBM_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"HAVE_NDBM\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"HAVE_NDBM\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${have_err_h_TRUE}" && test -z "${have_err_h_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"have_err_h\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"have_err_h\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${have_fnmatch_h_TRUE}" && test -z "${have_fnmatch_h_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"have_fnmatch_h\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"have_fnmatch_h\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${have_ifaddrs_h_TRUE}" && test -z "${have_ifaddrs_h_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"have_ifaddrs_h\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"have_ifaddrs_h\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${have_vis_h_TRUE}" && test -z "${have_vis_h_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"have_vis_h\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"have_vis_h\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${have_glob_h_TRUE}" && test -z "${have_glob_h_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"have_glob_h\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"have_glob_h\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${OTP_TRUE}" && test -z "${OTP_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"OTP\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"OTP\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${CATMAN_TRUE}" && test -z "${CATMAN_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"CATMAN\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"CATMAN\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${AIX_TRUE}" && test -z "${AIX_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"AIX\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"AIX\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${AIX4_TRUE}" && test -z "${AIX4_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"AIX4\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"AIX4\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${HAVE_DLOPEN_TRUE}" && test -z "${HAVE_DLOPEN_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"HAVE_DLOPEN\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"HAVE_DLOPEN\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${AIX_DYNAMIC_AFS_TRUE}" && test -z "${AIX_DYNAMIC_AFS_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"AIX_DYNAMIC_AFS\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"AIX_DYNAMIC_AFS\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${IRIX_TRUE}" && test -z "${IRIX_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"IRIX\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"IRIX\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${HAVE_X_TRUE}" && test -z "${HAVE_X_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"HAVE_X\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"HAVE_X\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${NEED_WRITEAUTH_TRUE}" && test -z "${NEED_WRITEAUTH_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"NEED_WRITEAUTH\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"NEED_WRITEAUTH\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${el_compat_TRUE}" && test -z "${el_compat_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"el_compat\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"el_compat\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++
++: ${CONFIG_STATUS=./config.status}
++ac_clean_files_save=$ac_clean_files
++ac_clean_files="$ac_clean_files $CONFIG_STATUS"
++{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
++echo "$as_me: creating $CONFIG_STATUS" >&6;}
++cat >$CONFIG_STATUS <<_ACEOF
++#! $SHELL
++# Generated by $as_me.
++# Run this file to recreate the current configuration.
++# Compiler output produced by configure, useful for debugging
++# configure, is in config.log if it exists.
++
++debug=false
++SHELL=\${CONFIG_SHELL-$SHELL}
++_ACEOF
++
++cat >>$CONFIG_STATUS <<\_ACEOF
++
++## --------------------- ##
++## M4sh Initialization.  ##
++## --------------------- ##
++
++# Be Bourne compatible
++if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
++  emulate sh
++  NULLCMD=:
++elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
++  set -o posix
++fi
++
++# NLS nuisances.
++# Support unset when possible.
++if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
++  as_unset=unset
++else
++  as_unset=false
++fi
++
++(set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
++    { $as_unset LANG || test "${LANG+set}" != set; } ||
++      { LANG=C; export LANG; }
++(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
++    { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
++      { LC_ALL=C; export LC_ALL; }
++(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
++    { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
++      { LC_TIME=C; export LC_TIME; }
++(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
++    { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
++      { LC_CTYPE=C; export LC_CTYPE; }
++(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
++    { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
++      { LANGUAGE=C; export LANGUAGE; }
++(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
++    { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
++      { LC_COLLATE=C; export LC_COLLATE; }
++(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
++    { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
++      { LC_NUMERIC=C; export LC_NUMERIC; }
++(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
++    { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
++      { LC_MESSAGES=C; export LC_MESSAGES; }
++
++
++# Name of the executable.
++as_me=`(basename "$0") 2>/dev/null ||
++$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
++	 X"$0" : 'X\(//\)$' \| \
++	 X"$0" : 'X\(/\)$' \| \
++	 .     : '\(.\)' 2>/dev/null ||
++echo X/"$0" |
++    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
++  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
++  	  /^X\/\(\/\).*/{ s//\1/; q; }
++  	  s/.*/./; q'`
++
++# PATH needs CR, and LINENO needs CR and PATH.
++# Avoid depending upon Character Ranges.
++as_cr_letters='abcdefghijklmnopqrstuvwxyz'
++as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
++as_cr_Letters=$as_cr_letters$as_cr_LETTERS
++as_cr_digits='0123456789'
++as_cr_alnum=$as_cr_Letters$as_cr_digits
++
++# The user is always right.
++if test "${PATH_SEPARATOR+set}" != set; then
++  echo "#! /bin/sh" >conftest.sh
++  echo  "exit 0"   >>conftest.sh
++  chmod +x conftest.sh
++  if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
++    PATH_SEPARATOR=';'
++  else
++    PATH_SEPARATOR=:
++  fi
++  rm -f conftest.sh
++fi
++
++
++  as_lineno_1=$LINENO
++  as_lineno_2=$LINENO
++  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
++  test "x$as_lineno_1" != "x$as_lineno_2" &&
++  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
++  # Find who we are.  Look in the path if we contain no path at all
++  # relative or not.
++  case $0 in
++    *[\\/]* ) as_myself=$0 ;;
++    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
++done
++
++       ;;
++  esac
++  # We did not find ourselves, most probably we were run as `sh COMMAND'
++  # in which case we are not to be found in the path.
++  if test "x$as_myself" = x; then
++    as_myself=$0
++  fi
++  if test ! -f "$as_myself"; then
++    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
++echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
++   { (exit 1); exit 1; }; }
++  fi
++  case $CONFIG_SHELL in
++  '')
++    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for as_base in sh bash ksh sh5; do
++	 case $as_dir in
++	 /*)
++	   if ("$as_dir/$as_base" -c '
++  as_lineno_1=$LINENO
++  as_lineno_2=$LINENO
++  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
++  test "x$as_lineno_1" != "x$as_lineno_2" &&
++  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
++	     CONFIG_SHELL=$as_dir/$as_base
++	     export CONFIG_SHELL
++	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
++	   fi;;
++	 esac
++       done
++done
++;;
++  esac
++
++  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
++  # uniformly replaced by the line number.  The first 'sed' inserts a
++  # line-number line before each line; the second 'sed' does the real
++  # work.  The second script uses 'N' to pair each line-number line
++  # with the numbered line, and appends trailing '-' during
++  # substitution so that $LINENO is not a special case at line end.
++  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
++  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
++  sed '=' <$as_myself |
++    sed '
++      N
++      s,$,-,
++      : loop
++      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
++      t loop
++      s,-$,,
++      s,^['$as_cr_digits']*\n,,
++    ' >$as_me.lineno &&
++  chmod +x $as_me.lineno ||
++    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
++echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
++   { (exit 1); exit 1; }; }
++
++  # Don't try to exec as it changes $[0], causing all sort of problems
++  # (the dirname of $[0] is not the place where we might find the
++  # original and so on.  Autoconf is especially sensible to this).
++  . ./$as_me.lineno
++  # Exit status is that of the last command.
++  exit
++}
++
++
++case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
++  *c*,-n*) ECHO_N= ECHO_C='
++' ECHO_T='	' ;;
++  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
++  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
++esac
++
++if expr a : '\(a\)' >/dev/null 2>&1; then
++  as_expr=expr
++else
++  as_expr=false
++fi
++
++rm -f conf$$ conf$$.exe conf$$.file
++echo >conf$$.file
++if ln -s conf$$.file conf$$ 2>/dev/null; then
++  # We could just check for DJGPP; but this test a) works b) is more generic
++  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
++  if test -f conf$$.exe; then
++    # Don't use ln at all; we don't have any links
++    as_ln_s='cp -p'
++  else
++    as_ln_s='ln -s'
++  fi
++elif ln conf$$.file conf$$ 2>/dev/null; then
++  as_ln_s=ln
++else
++  as_ln_s='cp -p'
++fi
++rm -f conf$$ conf$$.exe conf$$.file
++
++as_executable_p="test -f"
++
++# Sed expression to map a string onto a valid CPP name.
++as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
++
++# Sed expression to map a string onto a valid variable name.
++as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
++
++
++# IFS
++# We need space, tab and new line, in precisely that order.
++as_nl='
++'
++IFS=" 	$as_nl"
++
++# CDPATH.
++$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
++
++exec 6>&1
++
++# Open the log real soon, to keep \$[0] and so on meaningful, and to
++# report actual input values of CONFIG_FILES etc. instead of their
++# values after options handling.  Logging --version etc. is OK.
++exec 5>>config.log
++{
++  echo
++  sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
++@%:@@%:@ Running $as_me. @%:@@%:@
++_ASBOX
++} >&5
++cat >&5 <<_CSEOF
++
++This file was extended by Heimdal $as_me 0.5.1, which was
++generated by GNU Autoconf 2.53.  Invocation command line was
++
++  CONFIG_FILES    = $CONFIG_FILES
++  CONFIG_HEADERS  = $CONFIG_HEADERS
++  CONFIG_LINKS    = $CONFIG_LINKS
++  CONFIG_COMMANDS = $CONFIG_COMMANDS
++  $ $0 $@
++
++_CSEOF
++echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
++echo >&5
++_ACEOF
++
++# Files that config.status was made for.
++if test -n "$ac_config_files"; then
++  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
++fi
++
++if test -n "$ac_config_headers"; then
++  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
++fi
++
++if test -n "$ac_config_links"; then
++  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
++fi
++
++if test -n "$ac_config_commands"; then
++  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
++fi
++
++cat >>$CONFIG_STATUS <<\_ACEOF
++
++ac_cs_usage="\
++\`$as_me' instantiates files from templates according to the
++current configuration.
++
++Usage: $0 [OPTIONS] [FILE]...
++
++  -h, --help       print this help, then exit
++  -V, --version    print version number, then exit
++  -d, --debug      don't remove temporary files
++      --recheck    update $as_me by reconfiguring in the same conditions
++  --file=FILE[:TEMPLATE]
++                   instantiate the configuration file FILE
++  --header=FILE[:TEMPLATE]
++                   instantiate the configuration header FILE
++
++Configuration files:
++$config_files
++
++Configuration headers:
++$config_headers
++
++Configuration commands:
++$config_commands
++
++Report bugs to <bug-autoconf@gnu.org>."
++_ACEOF
++
++cat >>$CONFIG_STATUS <<_ACEOF
++ac_cs_version="\\
++Heimdal config.status 0.5.1
++configured by $0, generated by GNU Autoconf 2.53,
++  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
++
++Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
++Free Software Foundation, Inc.
++This config.status script is free software; the Free Software Foundation
++gives unlimited permission to copy, distribute and modify it."
++srcdir=$srcdir
++INSTALL="$INSTALL"
++_ACEOF
++
++cat >>$CONFIG_STATUS <<\_ACEOF
++# If no file are specified by the user, then we need to provide default
++# value.  By we need to know if files were specified by the user.
++ac_need_defaults=:
++while test $# != 0
++do
++  case $1 in
++  --*=*)
++    ac_option=`expr "x$1" : 'x\([^=]*\)='`
++    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
++    shift
++    set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
++    shift
++    ;;
++  -*);;
++  *) # This is not an option, so the user has probably given explicit
++     # arguments.
++     ac_need_defaults=false;;
++  esac
++
++  case $1 in
++  # Handling of the options.
++_ACEOF
++cat >>$CONFIG_STATUS <<_ACEOF
++  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
++    echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
++    exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
++_ACEOF
++cat >>$CONFIG_STATUS <<\_ACEOF
++  --version | --vers* | -V )
++    echo "$ac_cs_version"; exit 0 ;;
++  --he | --h)
++    # Conflict between --help and --header
++    { { echo "$as_me:$LINENO: error: ambiguous option: $1
++Try \`$0 --help' for more information." >&5
++echo "$as_me: error: ambiguous option: $1
++Try \`$0 --help' for more information." >&2;}
++   { (exit 1); exit 1; }; };;
++  --help | --hel | -h )
++    echo "$ac_cs_usage"; exit 0 ;;
++  --debug | --d* | -d )
++    debug=: ;;
++  --file | --fil | --fi | --f )
++    shift
++    CONFIG_FILES="$CONFIG_FILES $1"
++    ac_need_defaults=false;;
++  --header | --heade | --head | --hea )
++    shift
++    CONFIG_HEADERS="$CONFIG_HEADERS $1"
++    ac_need_defaults=false;;
++
++  # This is an error.
++  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
++Try \`$0 --help' for more information." >&5
++echo "$as_me: error: unrecognized option: $1
++Try \`$0 --help' for more information." >&2;}
++   { (exit 1); exit 1; }; } ;;
++
++  *) ac_config_targets="$ac_config_targets $1" ;;
++
++  esac
++  shift
++done
++
++_ACEOF
++
++cat >>$CONFIG_STATUS <<_ACEOF
++#
++# INIT-COMMANDS section.
++#
++
++AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
++
++_ACEOF
++
++
++
++cat >>$CONFIG_STATUS <<\_ACEOF
++for ac_config_target in $ac_config_targets
++do
++  case "$ac_config_target" in
++  # Handling of arguments.
++  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
++  "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
++  "include/kadm5/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/kadm5/Makefile" ;;
++  "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
++  "lib/45/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/45/Makefile" ;;
++  "lib/auth/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/auth/Makefile" ;;
++  "lib/auth/afskauthlib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/auth/afskauthlib/Makefile" ;;
++  "lib/auth/pam/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/auth/pam/Makefile" ;;
++  "lib/auth/sia/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/auth/sia/Makefile" ;;
++  "lib/asn1/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/asn1/Makefile" ;;
++  "lib/com_err/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/com_err/Makefile" ;;
++  "lib/des/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/des/Makefile" ;;
++  "lib/editline/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/editline/Makefile" ;;
++  "lib/gssapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/gssapi/Makefile" ;;
++  "lib/hdb/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/hdb/Makefile" ;;
++  "lib/kadm5/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/kadm5/Makefile" ;;
++  "lib/kafs/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/kafs/Makefile" ;;
++  "lib/kdfs/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/kdfs/Makefile" ;;
++  "lib/krb5/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/krb5/Makefile" ;;
++  "lib/otp/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/otp/Makefile" ;;
++  "lib/roken/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/roken/Makefile" ;;
++  "lib/sl/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/sl/Makefile" ;;
++  "lib/vers/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/vers/Makefile" ;;
++  "kuser/Makefile" ) CONFIG_FILES="$CONFIG_FILES kuser/Makefile" ;;
++  "kpasswd/Makefile" ) CONFIG_FILES="$CONFIG_FILES kpasswd/Makefile" ;;
++  "kadmin/Makefile" ) CONFIG_FILES="$CONFIG_FILES kadmin/Makefile" ;;
++  "admin/Makefile" ) CONFIG_FILES="$CONFIG_FILES admin/Makefile" ;;
++  "kdc/Makefile" ) CONFIG_FILES="$CONFIG_FILES kdc/Makefile" ;;
++  "appl/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/Makefile" ;;
++  "appl/afsutil/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/afsutil/Makefile" ;;
++  "appl/ftp/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/ftp/Makefile" ;;
++  "appl/ftp/common/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/ftp/common/Makefile" ;;
++  "appl/ftp/ftp/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/ftp/ftp/Makefile" ;;
++  "appl/ftp/ftpd/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/ftp/ftpd/Makefile" ;;
++  "appl/kx/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/kx/Makefile" ;;
++  "appl/login/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/login/Makefile" ;;
++  "appl/otp/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/otp/Makefile" ;;
++  "appl/popper/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/popper/Makefile" ;;
++  "appl/push/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/push/Makefile" ;;
++  "appl/rsh/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/rsh/Makefile" ;;
++  "appl/rcp/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/rcp/Makefile" ;;
++  "appl/su/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/su/Makefile" ;;
++  "appl/xnlock/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/xnlock/Makefile" ;;
++  "appl/telnet/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/telnet/Makefile" ;;
++  "appl/telnet/libtelnet/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/telnet/libtelnet/Makefile" ;;
++  "appl/telnet/telnet/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/telnet/telnet/Makefile" ;;
++  "appl/telnet/telnetd/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/telnet/telnetd/Makefile" ;;
++  "appl/test/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/test/Makefile" ;;
++  "appl/kf/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/kf/Makefile" ;;
++  "appl/dceutils/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/dceutils/Makefile" ;;
++  "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
++  "tools/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
++  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
++  "include/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
++  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
++echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
++   { (exit 1); exit 1; }; };;
++  esac
++done
++
++# If the user did not use the arguments to specify the items to instantiate,
++# then the envvar interface is used.  Set only those that are not.
++# We use the long form for the default assignment because of an extremely
++# bizarre bug on SunOS 4.1.3.
++if $ac_need_defaults; then
++  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
++  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
++  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
++fi
++
++# Create a temporary directory, and hook for its removal unless debugging.
++$debug ||
++{
++  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
++  trap '{ (exit 1); exit 1; }' 1 2 13 15
++}
++
++# Create a (secure) tmp directory for tmp files.
++: ${TMPDIR=/tmp}
++{
++  tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
++  test -n "$tmp" && test -d "$tmp"
++}  ||
++{
++  tmp=$TMPDIR/cs$$-$RANDOM
++  (umask 077 && mkdir $tmp)
++} ||
++{
++   echo "$me: cannot create a temporary directory in $TMPDIR" >&2
++   { (exit 1); exit 1; }
++}
++
++_ACEOF
++
++cat >>$CONFIG_STATUS <<_ACEOF
++
++#
++# CONFIG_FILES section.
++#
++
++# No need to generate the scripts if there are no CONFIG_FILES.
++# This happens for instance when ./config.status config.h
++if test -n "\$CONFIG_FILES"; then
++  # Protect against being on the right side of a sed subst in config.status.
++  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
++   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
++s,@SHELL@,$SHELL,;t t
++s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
++s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
++s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
++s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
++s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
++s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
++s,@exec_prefix@,$exec_prefix,;t t
++s,@prefix@,$prefix,;t t
++s,@program_transform_name@,$program_transform_name,;t t
++s,@bindir@,$bindir,;t t
++s,@sbindir@,$sbindir,;t t
++s,@libexecdir@,$libexecdir,;t t
++s,@datadir@,$datadir,;t t
++s,@sysconfdir@,$sysconfdir,;t t
++s,@sharedstatedir@,$sharedstatedir,;t t
++s,@localstatedir@,$localstatedir,;t t
++s,@libdir@,$libdir,;t t
++s,@includedir@,$includedir,;t t
++s,@oldincludedir@,$oldincludedir,;t t
++s,@infodir@,$infodir,;t t
++s,@mandir@,$mandir,;t t
++s,@build_alias@,$build_alias,;t t
++s,@host_alias@,$host_alias,;t t
++s,@target_alias@,$target_alias,;t t
++s,@DEFS@,$DEFS,;t t
++s,@ECHO_C@,$ECHO_C,;t t
++s,@ECHO_N@,$ECHO_N,;t t
++s,@ECHO_T@,$ECHO_T,;t t
++s,@LIBS@,$LIBS,;t t
++s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
++s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
++s,@MAINT@,$MAINT,;t t
++s,@CC@,$CC,;t t
++s,@CFLAGS@,$CFLAGS,;t t
++s,@LDFLAGS@,$LDFLAGS,;t t
++s,@CPPFLAGS@,$CPPFLAGS,;t t
++s,@ac_ct_CC@,$ac_ct_CC,;t t
++s,@EXEEXT@,$EXEEXT,;t t
++s,@OBJEXT@,$OBJEXT,;t t
++s,@CPP@,$CPP,;t t
++s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
++s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
++s,@INSTALL_DATA@,$INSTALL_DATA,;t t
++s,@PACKAGE@,$PACKAGE,;t t
++s,@VERSION@,$VERSION,;t t
++s,@ACLOCAL@,$ACLOCAL,;t t
++s,@AUTOCONF@,$AUTOCONF,;t t
++s,@AUTOMAKE@,$AUTOMAKE,;t t
++s,@AUTOHEADER@,$AUTOHEADER,;t t
++s,@MAKEINFO@,$MAKEINFO,;t t
++s,@AMTAR@,$AMTAR,;t t
++s,@install_sh@,$install_sh,;t t
++s,@STRIP@,$STRIP,;t t
++s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
++s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
++s,@AWK@,$AWK,;t t
++s,@SET_MAKE@,$SET_MAKE,;t t
++s,@DEPDIR@,$DEPDIR,;t t
++s,@am__include@,$am__include,;t t
++s,@am__quote@,$am__quote,;t t
++s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
++s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
++s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
++s,@CCDEPMODE@,$CCDEPMODE,;t t
++s,@build@,$build,;t t
++s,@build_cpu@,$build_cpu,;t t
++s,@build_vendor@,$build_vendor,;t t
++s,@build_os@,$build_os,;t t
++s,@host@,$host,;t t
++s,@host_cpu@,$host_cpu,;t t
++s,@host_vendor@,$host_vendor,;t t
++s,@host_os@,$host_os,;t t
++s,@CANONICAL_HOST@,$CANONICAL_HOST,;t t
++s,@YACC@,$YACC,;t t
++s,@LEX@,$LEX,;t t
++s,@LEXLIB@,$LEXLIB,;t t
++s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
++s,@LN_S@,$LN_S,;t t
++s,@ECHO@,$ECHO,;t t
++s,@RANLIB@,$RANLIB,;t t
++s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
++s,@LIBTOOL@,$LIBTOOL,;t t
++s,@WFLAGS@,$WFLAGS,;t t
++s,@WFLAGS_NOUNUSED@,$WFLAGS_NOUNUSED,;t t
++s,@WFLAGS_NOIMPLICITINT@,$WFLAGS_NOIMPLICITINT,;t t
++s,@DIR_openldap@,$DIR_openldap,;t t
++s,@INCLUDE_openldap@,$INCLUDE_openldap,;t t
++s,@LIB_openldap@,$LIB_openldap,;t t
++s,@DIR_krb4@,$DIR_krb4,;t t
++s,@INCLUDE_krb4@,$INCLUDE_krb4,;t t
++s,@LIB_krb4@,$LIB_krb4,;t t
++s,@EXTRA_LIB45@,$EXTRA_LIB45,;t t
++s,@LIB_krb_enable_debug@,$LIB_krb_enable_debug,;t t
++s,@LIB_krb_disable_debug@,$LIB_krb_disable_debug,;t t
++s,@LIB_krb_get_our_ip_for_realm@,$LIB_krb_get_our_ip_for_realm,;t t
++s,@LIB_krb_kdctimeofday@,$LIB_krb_kdctimeofday,;t t
++s,@LIB_krb_get_kdc_time_diff@,$LIB_krb_get_kdc_time_diff,;t t
++s,@KRB4_TRUE@,$KRB4_TRUE,;t t
++s,@KRB4_FALSE@,$KRB4_FALSE,;t t
++s,@KRB5_TRUE@,$KRB5_TRUE,;t t
++s,@KRB5_FALSE@,$KRB5_FALSE,;t t
++s,@do_roken_rename_TRUE@,$do_roken_rename_TRUE,;t t
++s,@do_roken_rename_FALSE@,$do_roken_rename_FALSE,;t t
++s,@LIB_kdb@,$LIB_kdb,;t t
++s,@HAVE_OPENSSL_TRUE@,$HAVE_OPENSSL_TRUE,;t t
++s,@HAVE_OPENSSL_FALSE@,$HAVE_OPENSSL_FALSE,;t t
++s,@DIR_des@,$DIR_des,;t t
++s,@INCLUDE_des@,$INCLUDE_des,;t t
++s,@LIB_des@,$LIB_des,;t t
++s,@LIB_des_a@,$LIB_des_a,;t t
++s,@LIB_des_so@,$LIB_des_so,;t t
++s,@LIB_des_appl@,$LIB_des_appl,;t t
++s,@DCE_TRUE@,$DCE_TRUE,;t t
++s,@DCE_FALSE@,$DCE_FALSE,;t t
++s,@dpagaix_cflags@,$dpagaix_cflags,;t t
++s,@dpagaix_ldadd@,$dpagaix_ldadd,;t t
++s,@dpagaix_ldflags@,$dpagaix_ldflags,;t t
++s,@LIB_db_create@,$LIB_db_create,;t t
++s,@LIB_dbopen@,$LIB_dbopen,;t t
++s,@LIB_dbm_firstkey@,$LIB_dbm_firstkey,;t t
++s,@HAVE_DB1_TRUE@,$HAVE_DB1_TRUE,;t t
++s,@HAVE_DB1_FALSE@,$HAVE_DB1_FALSE,;t t
++s,@HAVE_DB3_TRUE@,$HAVE_DB3_TRUE,;t t
++s,@HAVE_DB3_FALSE@,$HAVE_DB3_FALSE,;t t
++s,@HAVE_NDBM_TRUE@,$HAVE_NDBM_TRUE,;t t
++s,@HAVE_NDBM_FALSE@,$HAVE_NDBM_FALSE,;t t
++s,@DBLIB@,$DBLIB,;t t
++s,@LIB_NDBM@,$LIB_NDBM,;t t
++s,@LIB_crypt@,$LIB_crypt,;t t
++s,@LIB_roken@,$LIB_roken,;t t
++s,@DIR_roken@,$DIR_roken,;t t
++s,@CPPFLAGS_roken@,$CPPFLAGS_roken,;t t
++s,@VOID_RETSIGTYPE@,$VOID_RETSIGTYPE,;t t
++s,@have_err_h_TRUE@,$have_err_h_TRUE,;t t
++s,@have_err_h_FALSE@,$have_err_h_FALSE,;t t
++s,@have_fnmatch_h_TRUE@,$have_fnmatch_h_TRUE,;t t
++s,@have_fnmatch_h_FALSE@,$have_fnmatch_h_FALSE,;t t
++s,@have_ifaddrs_h_TRUE@,$have_ifaddrs_h_TRUE,;t t
++s,@have_ifaddrs_h_FALSE@,$have_ifaddrs_h_FALSE,;t t
++s,@have_vis_h_TRUE@,$have_vis_h_TRUE,;t t
++s,@have_vis_h_FALSE@,$have_vis_h_FALSE,;t t
++s,@LIB_socket@,$LIB_socket,;t t
++s,@LIB_gethostbyname@,$LIB_gethostbyname,;t t
++s,@LIB_syslog@,$LIB_syslog,;t t
++s,@LIB_gethostbyname2@,$LIB_gethostbyname2,;t t
++s,@LIB_res_search@,$LIB_res_search,;t t
++s,@LIB_res_nsearch@,$LIB_res_nsearch,;t t
++s,@LIB_dn_expand@,$LIB_dn_expand,;t t
++s,@LIB@&t@OBJS@,$LIB@&t@OBJS,;t t
++s,@have_glob_h_TRUE@,$have_glob_h_TRUE,;t t
++s,@have_glob_h_FALSE@,$have_glob_h_FALSE,;t t
++s,@LIB_getsockopt@,$LIB_getsockopt,;t t
++s,@LIB_setsockopt@,$LIB_setsockopt,;t t
++s,@LIB_hstrerror@,$LIB_hstrerror,;t t
++s,@LIB_bswap16@,$LIB_bswap16,;t t
++s,@LIB_bswap32@,$LIB_bswap32,;t t
++s,@LIB_pidfile@,$LIB_pidfile,;t t
++s,@LIB_getaddrinfo@,$LIB_getaddrinfo,;t t
++s,@LIB_getnameinfo@,$LIB_getnameinfo,;t t
++s,@LIB_freeaddrinfo@,$LIB_freeaddrinfo,;t t
++s,@LIB_gai_strerror@,$LIB_gai_strerror,;t t
++s,@OTP_TRUE@,$OTP_TRUE,;t t
++s,@OTP_FALSE@,$OTP_FALSE,;t t
++s,@LIB_security@,$LIB_security,;t t
++s,@NROFF@,$NROFF,;t t
++s,@GROFF@,$GROFF,;t t
++s,@CATMAN@,$CATMAN,;t t
++s,@CATMAN_TRUE@,$CATMAN_TRUE,;t t
++s,@CATMAN_FALSE@,$CATMAN_FALSE,;t t
++s,@CATMANEXT@,$CATMANEXT,;t t
++s,@DIR_readline@,$DIR_readline,;t t
++s,@INCLUDE_readline@,$INCLUDE_readline,;t t
++s,@LIB_readline@,$LIB_readline,;t t
++s,@DIR_hesiod@,$DIR_hesiod,;t t
++s,@INCLUDE_hesiod@,$INCLUDE_hesiod,;t t
++s,@LIB_hesiod@,$LIB_hesiod,;t t
++s,@DIR_sl@,$DIR_sl,;t t
++s,@INCLUDE_sl@,$INCLUDE_sl,;t t
++s,@LIB_sl@,$LIB_sl,;t t
++s,@DIR_ss@,$DIR_ss,;t t
++s,@INCLUDE_ss@,$INCLUDE_ss,;t t
++s,@LIB_ss@,$LIB_ss,;t t
++s,@DIR_otp@,$DIR_otp,;t t
++s,@INCLUDE_otp@,$INCLUDE_otp,;t t
++s,@LIB_otp@,$LIB_otp,;t t
++s,@AIX_TRUE@,$AIX_TRUE,;t t
++s,@AIX_FALSE@,$AIX_FALSE,;t t
++s,@AIX4_TRUE@,$AIX4_TRUE,;t t
++s,@AIX4_FALSE@,$AIX4_FALSE,;t t
++s,@LIB_dlopen@,$LIB_dlopen,;t t
++s,@HAVE_DLOPEN_TRUE@,$HAVE_DLOPEN_TRUE,;t t
++s,@HAVE_DLOPEN_FALSE@,$HAVE_DLOPEN_FALSE,;t t
++s,@LIB_loadquery@,$LIB_loadquery,;t t
++s,@AIX_DYNAMIC_AFS_TRUE@,$AIX_DYNAMIC_AFS_TRUE,;t t
++s,@AIX_DYNAMIC_AFS_FALSE@,$AIX_DYNAMIC_AFS_FALSE,;t t
++s,@AIX_EXTRA_KAFS@,$AIX_EXTRA_KAFS,;t t
++s,@IRIX_TRUE@,$IRIX_TRUE,;t t
++s,@IRIX_FALSE@,$IRIX_FALSE,;t t
++s,@X_CFLAGS@,$X_CFLAGS,;t t
++s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
++s,@X_LIBS@,$X_LIBS,;t t
++s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
++s,@HAVE_X_TRUE@,$HAVE_X_TRUE,;t t
++s,@HAVE_X_FALSE@,$HAVE_X_FALSE,;t t
++s,@LIB_XauWriteAuth@,$LIB_XauWriteAuth,;t t
++s,@LIB_XauReadAuth@,$LIB_XauReadAuth,;t t
++s,@LIB_XauFileName@,$LIB_XauFileName,;t t
++s,@NEED_WRITEAUTH_TRUE@,$NEED_WRITEAUTH_TRUE,;t t
++s,@NEED_WRITEAUTH_FALSE@,$NEED_WRITEAUTH_FALSE,;t t
++s,@LIB_logwtmp@,$LIB_logwtmp,;t t
++s,@LIB_logout@,$LIB_logout,;t t
++s,@LIB_openpty@,$LIB_openpty,;t t
++s,@LIB_tgetent@,$LIB_tgetent,;t t
++s,@LIB_getpwnam_r@,$LIB_getpwnam_r,;t t
++s,@LIB_el_init@,$LIB_el_init,;t t
++s,@el_compat_TRUE@,$el_compat_TRUE,;t t
++s,@el_compat_FALSE@,$el_compat_FALSE,;t t
++s,@COMPILE_ET@,$COMPILE_ET,;t t
++s,@DIR_com_err@,$DIR_com_err,;t t
++s,@LIB_com_err@,$LIB_com_err,;t t
++s,@LIB_com_err_a@,$LIB_com_err_a,;t t
++s,@LIB_com_err_so@,$LIB_com_err_so,;t t
++s,@LIB_AUTH_SUBDIRS@,$LIB_AUTH_SUBDIRS,;t t
++s,@LTLIBOBJS@,$LTLIBOBJS,;t t
++CEOF
++
++_ACEOF
++
++  cat >>$CONFIG_STATUS <<\_ACEOF
++  # 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_lines=48
++  ac_sed_frag=1 # Number of current file.
++  ac_beg=1 # First line for current file.
++  ac_end=$ac_max_sed_lines # 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" $tmp/subs.sed >$tmp/subs.frag
++    else
++      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
++    fi
++    if test ! -s $tmp/subs.frag; then
++      ac_more_lines=false
++    else
++      # The purpose of the label and of the branching condition is to
++      # speed up the sed processing (if there are no `@' at all, there
++      # is no need to browse any of the substitutions).
++      # These are the two extra sed commands mentioned above.
++      (echo ':t
++  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
++      if test -z "$ac_sed_cmds"; then
++  	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
++      else
++  	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
++      fi
++      ac_sed_frag=`expr $ac_sed_frag + 1`
++      ac_beg=$ac_end
++      ac_end=`expr $ac_end + $ac_max_sed_lines`
++    fi
++  done
++  if test -z "$ac_sed_cmds"; then
++    ac_sed_cmds=cat
++  fi
++fi # test -n "$CONFIG_FILES"
++
++_ACEOF
++cat >>$CONFIG_STATUS <<\_ACEOF
++for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
++  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
++  case $ac_file in
++  - | *:- | *:-:* ) # input from stdin
++        cat >$tmp/stdin
++        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
++        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
++  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
++        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
++  * )   ac_file_in=$ac_file.in ;;
++  esac
++
++  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
++  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
++$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++         X"$ac_file" : 'X\(//\)[^/]' \| \
++         X"$ac_file" : 'X\(//\)$' \| \
++         X"$ac_file" : 'X\(/\)' \| \
++         .     : '\(.\)' 2>/dev/null ||
++echo X"$ac_file" |
++    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
++  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
++  	  /^X\(\/\/\)$/{ s//\1/; q; }
++  	  /^X\(\/\).*/{ s//\1/; q; }
++  	  s/.*/./; q'`
++  { case "$ac_dir" in
++  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
++  *)                      as_incr_dir=.;;
++esac
++as_dummy="$ac_dir"
++for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
++  case $as_mkdir_dir in
++    # Skip DOS drivespec
++    ?:) as_incr_dir=$as_mkdir_dir ;;
++    *)
++      as_incr_dir=$as_incr_dir/$as_mkdir_dir
++      test -d "$as_incr_dir" ||
++        mkdir "$as_incr_dir" ||
++	{ { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
++echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
++   { (exit 1); exit 1; }; }
++    ;;
++  esac
++done; }
++
++  ac_builddir=.
++
++if test "$ac_dir" != .; then
++  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
++  # A "../" for each directory in $ac_dir_suffix.
++  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
++else
++  ac_dir_suffix= ac_top_builddir=
++fi
++
++case $srcdir in
++  .)  # No --srcdir option.  We are building in place.
++    ac_srcdir=.
++    if test -z "$ac_top_builddir"; then
++       ac_top_srcdir=.
++    else
++       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
++    fi ;;
++  [\\/]* | ?:[\\/]* )  # Absolute path.
++    ac_srcdir=$srcdir$ac_dir_suffix;
++    ac_top_srcdir=$srcdir ;;
++  *) # Relative path.
++    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
++    ac_top_srcdir=$ac_top_builddir$srcdir ;;
++esac
++# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
++# absolute.
++ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
++ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
++ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
++ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
++
++
++  case $INSTALL in
++  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
++  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
++  esac
++
++  if test x"$ac_file" != x-; then
++    { echo "$as_me:$LINENO: creating $ac_file" >&5
++echo "$as_me: creating $ac_file" >&6;}
++    rm -f "$ac_file"
++  fi
++  # Let's still pretend it is `configure' which instantiates (i.e., don't
++  # use $as_me), people would be surprised to read:
++  #    /* config.h.  Generated by config.status.  */
++  if test x"$ac_file" = x-; then
++    configure_input=
++  else
++    configure_input="$ac_file.  "
++  fi
++  configure_input=$configure_input"Generated from `echo $ac_file_in |
++                                     sed 's,.*/,,'` by configure."
++
++  # First look for the input files in the build tree, otherwise in the
++  # src tree.
++  ac_file_inputs=`IFS=:
++    for f in $ac_file_in; do
++      case $f in
++      -) echo $tmp/stdin ;;
++      [\\/$]*)
++         # Absolute (can't be DOS-style, as IFS=:)
++         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
++echo "$as_me: error: cannot find input file: $f" >&2;}
++   { (exit 1); exit 1; }; }
++         echo $f;;
++      *) # Relative
++         if test -f "$f"; then
++           # Build tree
++           echo $f
++         elif test -f "$srcdir/$f"; then
++           # Source tree
++           echo $srcdir/$f
++         else
++           # /dev/null tree
++           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
++echo "$as_me: error: cannot find input file: $f" >&2;}
++   { (exit 1); exit 1; }; }
++         fi;;
++      esac
++    done` || { (exit 1); exit 1; }
++_ACEOF
++cat >>$CONFIG_STATUS <<_ACEOF
++  sed "$ac_vpsub
++$extrasub
++_ACEOF
++cat >>$CONFIG_STATUS <<\_ACEOF
++:t
++/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
++s,@configure_input@,$configure_input,;t t
++s,@srcdir@,$ac_srcdir,;t t
++s,@abs_srcdir@,$ac_abs_srcdir,;t t
++s,@top_srcdir@,$ac_top_srcdir,;t t
++s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
++s,@builddir@,$ac_builddir,;t t
++s,@abs_builddir@,$ac_abs_builddir,;t t
++s,@top_builddir@,$ac_top_builddir,;t t
++s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
++s,@INSTALL@,$ac_INSTALL,;t t
++" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
++  rm -f $tmp/stdin
++  if test x"$ac_file" != x-; then
++    mv $tmp/out $ac_file
++  else
++    cat $tmp/out
++    rm -f $tmp/out
++  fi
++
++done
++_ACEOF
++cat >>$CONFIG_STATUS <<\_ACEOF
++
++#
++# CONFIG_HEADER section.
++#
++
++# 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=' '
++ac_dD=',;t'
++# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
++ac_uA='s,^\([ 	]*\)#\([ 	]*\)undef\([ 	][ 	]*\)'
++ac_uB='$,\1#\2define\3'
++ac_uC=' '
++ac_uD=',;t'
++
++for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
++  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
++  case $ac_file in
++  - | *:- | *:-:* ) # input from stdin
++        cat >$tmp/stdin
++        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
++        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
++  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
++        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
++  * )   ac_file_in=$ac_file.in ;;
++  esac
++
++  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
++echo "$as_me: creating $ac_file" >&6;}
++
++  # First look for the input files in the build tree, otherwise in the
++  # src tree.
++  ac_file_inputs=`IFS=:
++    for f in $ac_file_in; do
++      case $f in
++      -) echo $tmp/stdin ;;
++      [\\/$]*)
++         # Absolute (can't be DOS-style, as IFS=:)
++         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
++echo "$as_me: error: cannot find input file: $f" >&2;}
++   { (exit 1); exit 1; }; }
++         echo $f;;
++      *) # Relative
++         if test -f "$f"; then
++           # Build tree
++           echo $f
++         elif test -f "$srcdir/$f"; then
++           # Source tree
++           echo $srcdir/$f
++         else
++           # /dev/null tree
++           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
++echo "$as_me: error: cannot find input file: $f" >&2;}
++   { (exit 1); exit 1; }; }
++         fi;;
++      esac
++    done` || { (exit 1); exit 1; }
++  # Remove the trailing spaces.
++  sed 's/[ 	]*$//' $ac_file_inputs >$tmp/in
++
++_ACEOF
++
++# Transform confdefs.h into two sed scripts, `conftest.defines' and
++# `conftest.undefs', that substitutes the proper values into
++# config.h.in to produce config.h.  The first handles `#define'
++# templates, and the second `#undef' templates.
++# 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.defines conftest.undefs
++# Using a here document instead of a string reduces the quoting nightmare.
++# Putting comments in sed scripts is not portable.
++#
++# `end' is used to avoid that the second main sed command (meant for
++# 0-ary CPP macros) applies to n-ary macro definitions.
++# See the Autoconf documentation for `clear'.
++cat >confdef2sed.sed <<\_ACEOF
++s/[\\&,]/\\&/g
++s,[\\$`],\\&,g
++t clear
++: clear
++s,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	(][^ 	(]*\)\(([^)]*)\)[ 	]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
++t end
++s,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	][^ 	]*\)[ 	]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
++: end
++_ACEOF
++# If some macros were called several times there might be several times
++# the same #defines, which is useless.  Nevertheless, we may not want to
++# sort them, since we want the *last* AC-DEFINE to be honored.
++uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
++sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
++rm -f confdef2sed.sed
++
++# 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.undefs <<\_ACEOF
++s,^[ 	]*#[ 	]*undef[ 	][ 	]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
++_ACEOF
++
++# Break up conftest.defines because some shells have a limit on the size
++# of here documents, and old seds have small limits too (100 cmds).
++echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
++echo '  if egrep "^[ 	]*#[ 	]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
++echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
++echo '  :' >>$CONFIG_STATUS
++rm -f conftest.tail
++while grep . conftest.defines >/dev/null
++do
++  # Write a limited-size here document to $tmp/defines.sed.
++  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
++  # Speed up: don't consider the non `#define' lines.
++  echo '/^[ 	]*#[ 	]*define/!b' >>$CONFIG_STATUS
++  # Work around the forget-to-reset-the-flag bug.
++  echo 't clr' >>$CONFIG_STATUS
++  echo ': clr' >>$CONFIG_STATUS
++  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
++  echo 'CEOF
++  sed -f $tmp/defines.sed $tmp/in >$tmp/out
++  rm -f $tmp/in
++  mv $tmp/out $tmp/in
++' >>$CONFIG_STATUS
++  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
++  rm -f conftest.defines
++  mv conftest.tail conftest.defines
++done
++rm -f conftest.defines
++echo '  fi # egrep' >>$CONFIG_STATUS
++echo >>$CONFIG_STATUS
++
++# Break up conftest.undefs because some shells have a limit on the size
++# of here documents, and old seds have small limits too (100 cmds).
++echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
++rm -f conftest.tail
++while grep . conftest.undefs >/dev/null
++do
++  # Write a limited-size here document to $tmp/undefs.sed.
++  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
++  # Speed up: don't consider the non `#undef'
++  echo '/^[ 	]*#[ 	]*undef/!b' >>$CONFIG_STATUS
++  # Work around the forget-to-reset-the-flag bug.
++  echo 't clr' >>$CONFIG_STATUS
++  echo ': clr' >>$CONFIG_STATUS
++  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
++  echo 'CEOF
++  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
++  rm -f $tmp/in
++  mv $tmp/out $tmp/in
++' >>$CONFIG_STATUS
++  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
++  rm -f conftest.undefs
++  mv conftest.tail conftest.undefs
++done
++rm -f conftest.undefs
++
++cat >>$CONFIG_STATUS <<\_ACEOF
++  # Let's still pretend it is `configure' which instantiates (i.e., don't
++  # use $as_me), people would be surprised to read:
++  #    /* config.h.  Generated by config.status.  */
++  if test x"$ac_file" = x-; then
++    echo "/* Generated by configure.  */" >$tmp/config.h
++  else
++    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
++  fi
++  cat $tmp/in >>$tmp/config.h
++  rm -f $tmp/in
++  if test x"$ac_file" != x-; then
++    if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
++      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
++echo "$as_me: $ac_file is unchanged" >&6;}
++    else
++      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
++$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++         X"$ac_file" : 'X\(//\)[^/]' \| \
++         X"$ac_file" : 'X\(//\)$' \| \
++         X"$ac_file" : 'X\(/\)' \| \
++         .     : '\(.\)' 2>/dev/null ||
++echo X"$ac_file" |
++    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
++  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
++  	  /^X\(\/\/\)$/{ s//\1/; q; }
++  	  /^X\(\/\).*/{ s//\1/; q; }
++  	  s/.*/./; q'`
++      { case "$ac_dir" in
++  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
++  *)                      as_incr_dir=.;;
++esac
++as_dummy="$ac_dir"
++for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
++  case $as_mkdir_dir in
++    # Skip DOS drivespec
++    ?:) as_incr_dir=$as_mkdir_dir ;;
++    *)
++      as_incr_dir=$as_incr_dir/$as_mkdir_dir
++      test -d "$as_incr_dir" ||
++        mkdir "$as_incr_dir" ||
++	{ { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
++echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
++   { (exit 1); exit 1; }; }
++    ;;
++  esac
++done; }
++
++      rm -f $ac_file
++      mv $tmp/config.h $ac_file
++    fi
++  else
++    cat $tmp/config.h
++    rm -f $tmp/config.h
++  fi
++  # Run the commands associated with the file.
++  case $ac_file in
++    include/config.h ) # update the timestamp
++echo 'timestamp for include/config.h' >"include/stamp-h1"
++ ;;
++  esac
++done
++_ACEOF
++cat >>$CONFIG_STATUS <<\_ACEOF
++
++#
++# CONFIG_COMMANDS section.
++#
++for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
++  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
++  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
++  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
++$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++         X"$ac_dest" : 'X\(//\)[^/]' \| \
++         X"$ac_dest" : 'X\(//\)$' \| \
++         X"$ac_dest" : 'X\(/\)' \| \
++         .     : '\(.\)' 2>/dev/null ||
++echo X"$ac_dest" |
++    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
++  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
++  	  /^X\(\/\/\)$/{ s//\1/; q; }
++  	  /^X\(\/\).*/{ s//\1/; q; }
++  	  s/.*/./; q'`
++  ac_builddir=.
++
++if test "$ac_dir" != .; then
++  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
++  # A "../" for each directory in $ac_dir_suffix.
++  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
++else
++  ac_dir_suffix= ac_top_builddir=
++fi
++
++case $srcdir in
++  .)  # No --srcdir option.  We are building in place.
++    ac_srcdir=.
++    if test -z "$ac_top_builddir"; then
++       ac_top_srcdir=.
++    else
++       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
++    fi ;;
++  [\\/]* | ?:[\\/]* )  # Absolute path.
++    ac_srcdir=$srcdir$ac_dir_suffix;
++    ac_top_srcdir=$srcdir ;;
++  *) # Relative path.
++    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
++    ac_top_srcdir=$ac_top_builddir$srcdir ;;
++esac
++# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
++# absolute.
++ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
++ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
++ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
++ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
++
++
++  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
++echo "$as_me: executing $ac_dest commands" >&6;}
++  case $ac_dest in
++    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
++  # Strip MF so we end up with the name of the file.
++  mf=`echo "$mf" | sed -e 's/:.*$//'`
++  # Check whether this is an Automake generated Makefile or not.
++  # We used to match only the files named `Makefile.in', but
++  # some people rename them; so instead we look at the file content.
++  # Grep'ing the first line is not enough: some people post-process
++  # each Makefile.in and add a new line on top of each file to say so.
++  # So let's grep whole file.
++  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
++    dirpart=`(dirname "$mf") 2>/dev/null ||
++$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++         X"$mf" : 'X\(//\)[^/]' \| \
++         X"$mf" : 'X\(//\)$' \| \
++         X"$mf" : 'X\(/\)' \| \
++         .     : '\(.\)' 2>/dev/null ||
++echo X"$mf" |
++    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
++  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
++  	  /^X\(\/\/\)$/{ s//\1/; q; }
++  	  /^X\(\/\).*/{ s//\1/; q; }
++  	  s/.*/./; q'`
++  else
++    continue
++  fi
++  grep '^DEP_FILES *= *[^ @%:@]' < "$mf" > /dev/null || continue
++  # Extract the definition of DEP_FILES from the Makefile without
++  # running `make'.
++  DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
++  test -z "$DEPDIR" && continue
++  # When using ansi2knr, U may be empty or an underscore; expand it
++  U=`sed -n -e '/^U = / s///p' < "$mf"`
++  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
++  # We invoke sed twice because it is the simplest approach to
++  # changing $(DEPDIR) to its actual value in the expansion.
++  for file in `sed -n -e '
++    /^DEP_FILES = .*\\\\$/ {
++      s/^DEP_FILES = //
++      :loop
++	s/\\\\$//
++	p
++	n
++	/\\\\$/ b loop
++      p
++    }
++    /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
++       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
++    # Make sure the directory exists.
++    test -f "$dirpart/$file" && continue
++    fdir=`(dirname "$file") 2>/dev/null ||
++$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++         X"$file" : 'X\(//\)[^/]' \| \
++         X"$file" : 'X\(//\)$' \| \
++         X"$file" : 'X\(/\)' \| \
++         .     : '\(.\)' 2>/dev/null ||
++echo X"$file" |
++    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
++  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
++  	  /^X\(\/\/\)$/{ s//\1/; q; }
++  	  /^X\(\/\).*/{ s//\1/; q; }
++  	  s/.*/./; q'`
++    { case $dirpart/$fdir in
++  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
++  *)                      as_incr_dir=.;;
++esac
++as_dummy=$dirpart/$fdir
++for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
++  case $as_mkdir_dir in
++    # Skip DOS drivespec
++    ?:) as_incr_dir=$as_mkdir_dir ;;
++    *)
++      as_incr_dir=$as_incr_dir/$as_mkdir_dir
++      test -d "$as_incr_dir" ||
++        mkdir "$as_incr_dir" ||
++	{ { echo "$as_me:$LINENO: error: cannot create $dirpart/$fdir" >&5
++echo "$as_me: error: cannot create $dirpart/$fdir" >&2;}
++   { (exit 1); exit 1; }; }
++    ;;
++  esac
++done; }
++
++    # echo "creating $dirpart/$file"
++    echo '# dummy' > "$dirpart/$file"
++  done
++done
++ ;;
++  esac
++done
++_ACEOF
++
++cat >>$CONFIG_STATUS <<\_ACEOF
++
++{ (exit 0); exit 0; }
++_ACEOF
++chmod +x $CONFIG_STATUS
++ac_clean_files=$ac_clean_files_save
++
++
++# configure is writing to config.log, and then calls config.status.
++# config.status does its own redirection, appending to config.log.
++# Unfortunately, on DOS this fails, as config.log is still kept open
++# by configure, so config.status won't be able to write to it; its
++# output is simply discarded.  So we exec the FD to /dev/null,
++# effectively closing config.log, so it can be properly (re)opened and
++# appended to by config.status.  When coming back to configure, we
++# need to make the FD available again.
++if test "$no_create" != yes; then
++  ac_cs_success=:
++  exec 5>/dev/null
++  $SHELL $CONFIG_STATUS || ac_cs_success=false
++  exec 5>>config.log
++  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
++  # would make configure fail if this is the last instruction.
++  $ac_cs_success || { (exit 1); exit 1; }
++fi
++
++
++
++cat > include/newversion.h.in <<EOF
++const char *heimdal_long_version = "@(#)\$Version: $PACKAGE_STRING by @USER@ on @HOST@ ($host) @DATE@ \$";
++const char *heimdal_version = "Heimdal 0.5.1";
++EOF
++
++if test -f include/version.h && cmp -s include/newversion.h.in include/version.h.in; then
++	echo "include/version.h is unchanged"
++	rm -f include/newversion.h.in
++else
++ 	echo "creating include/version.h"
++ 	User=${USER-${LOGNAME}}
++ 	Host=`(hostname || uname -n || echo unknown) 2>/dev/null | sed 1q`
++ 	Date=`date`
++	mv -f include/newversion.h.in include/version.h.in
++	sed -e "s/@USER@/$User/" -e "s/@HOST@/$Host/" -e "s/@DATE@/$Date/" include/version.h.in > include/version.h
++fi
+diff -ruN heimdal-0.5.1-old/autom4te.cache/requests heimdal-0.5.1/autom4te.cache/requests
+--- heimdal-0.5.1-old/autom4te.cache/requests	Thu Jan  1 10:00:00 1970
++++ heimdal-0.5.1/autom4te.cache/requests	Mon Mar 17 14:42:17 2003
+@@ -0,0 +1,96 @@
++# This file was created by autom4te.
++# It contains the lists of macros which have been traced.
++# It can be safely removed.
++
++@request = (
++             bless( [
++                      '0',
++                      1,
++                      [
++                        '/usr/share/autoconf'
++                      ],
++                      [
++                        '--reload-state=/usr/share/autoconf/autoconf/autoconf.m4f',
++                        'aclocal.m4',
++                        'configure.in'
++                      ],
++                      {
++                        'AC_HEADER_STAT' => 1,
++                        'AC_FUNC_STRFTIME' => 1,
++                        'AC_PROG_RANLIB' => 1,
++                        'AC_FUNC_WAIT3' => 1,
++                        'AC_FUNC_SETPGRP' => 1,
++                        'AC_HEADER_TIME' => 1,
++                        'AC_FUNC_SETVBUF_REVERSED' => 1,
++                        'AC_HEADER_SYS_WAIT' => 1,
++                        'AC_TYPE_UID_T' => 1,
++                        'AM_CONDITIONAL' => 1,
++                        'AC_CHECK_LIB' => 1,
++                        'AC_PROG_LN_S' => 1,
++                        'AC_FUNC_MEMCMP' => 1,
++                        'AC_FUNC_FORK' => 1,
++                        'AC_FUNC_GETGROUPS' => 1,
++                        'AC_HEADER_MAJOR' => 1,
++                        'AC_FUNC_STRTOD' => 1,
++                        'AC_HEADER_DIRENT' => 1,
++                        'AC_FUNC_UTIME_NULL' => 1,
++                        'AC_CONFIG_FILES' => 1,
++                        'AC_FUNC_ALLOCA' => 1,
++                        'AC_C_CONST' => 1,
++                        'include' => 1,
++                        'AC_FUNC_OBSTACK' => 1,
++                        'AC_FUNC_LSTAT' => 1,
++                        'AC_STRUCT_TIMEZONE' => 1,
++                        'AC_FUNC_GETPGRP' => 1,
++                        'AC_DEFINE_TRACE_LITERAL' => 1,
++                        'AC_CHECK_HEADERS' => 1,
++                        'AC_TYPE_MODE_T' => 1,
++                        'AC_CHECK_TYPES' => 1,
++                        'AC_PROG_YACC' => 1,
++                        'AC_TYPE_PID_T' => 1,
++                        'AC_FUNC_STRERROR_R' => 1,
++                        'AC_STRUCT_ST_BLOCKS' => 1,
++                        'AC_PROG_GCC_TRADITIONAL' => 1,
++                        'AC_TYPE_SIGNAL' => 1,
++                        'AM_PROG_LIBTOOL' => 1,
++                        'AC_FUNC_FNMATCH' => 1,
++                        'AC_PROG_CPP' => 1,
++                        'AC_FUNC_STAT' => 1,
++                        'AC_PROG_INSTALL' => 1,
++                        'AM_GNU_GETTEXT' => 1,
++                        'AC_CONFIG_SUBDIRS' => 1,
++                        'AC_FUNC_STRCOLL' => 1,
++                        'AC_LIBSOURCE' => 1,
++                        'AC_C_INLINE' => 1,
++                        'AC_FUNC_CHOWN' => 1,
++                        'AC_INIT' => 1,
++                        'AC_PROG_LEX' => 1,
++                        'AH_OUTPUT' => 1,
++                        'AC_HEADER_STDC' => 1,
++                        'AC_FUNC_GETLOADAVG' => 1,
++                        'AC_CHECK_FUNCS' => 1,
++                        'AC_TYPE_SIZE_T' => 1,
++                        'AC_DECL_SYS_SIGLIST' => 1,
++                        'AC_FUNC_MKTIME' => 1,
++                        'AC_PROG_MAKE_SET' => 1,
++                        'AC_PROG_CXX' => 1,
++                        'm4_pattern_allow' => 1,
++                        'm4_include' => 1,
++                        'm4_pattern_forbid' => 1,
++                        'AC_PROG_AWK' => 1,
++                        'AC_FUNC_VPRINTF' => 1,
++                        'AC_CONFIG_HEADERS' => 1,
++                        'AC_PATH_X' => 1,
++                        'AC_TYPE_OFF_T' => 1,
++                        'AC_FUNC_MALLOC' => 1,
++                        'AC_FUNC_ERROR_AT_LINE' => 1,
++                        'AC_FUNC_FSEEKO' => 1,
++                        'AC_FUNC_MMAP' => 1,
++                        'AC_STRUCT_TM' => 1,
++                        'AC_SUBST' => 1,
++                        'AC_PROG_LIBTOOL' => 1,
++                        'AC_PROG_CC' => 1
++                      }
++                    ], 'Request' )
++           );
++
+diff -ruN heimdal-0.5.1-old/autom4te.cache/traces.0 heimdal-0.5.1/autom4te.cache/traces.0
+--- heimdal-0.5.1-old/autom4te.cache/traces.0	Thu Jan  1 10:00:00 1970
++++ heimdal-0.5.1/autom4te.cache/traces.0	Mon Mar 17 14:41:43 2003
+@@ -0,0 +1,2072 @@
++m4trace:aclocal.m4:234: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
++m4trace:configure.in:5: -1- AC_INIT([Heimdal], [0.5.1], [heimdal-bugs@pdc.kth.se])
++m4trace:configure.in:5: -1- m4_pattern_forbid([^_?A[CHUM]_])
++m4trace:configure.in:5: -1- m4_pattern_forbid([_AC_])
++m4trace:configure.in:5: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs. LIBOBJS'])
++m4trace:configure.in:5: -1- m4_pattern_allow([^AS_FLAGS$])
++m4trace:configure.in:5: -1- m4_pattern_forbid([^_?m4_])
++m4trace:configure.in:5: -1- m4_pattern_forbid([^dnl$])
++m4trace:configure.in:5: -1- m4_pattern_forbid([^_?AS_])
++m4trace:configure.in:5: -1- AC_SUBST([SHELL], [${CONFIG_SHELL-/bin/sh}])
++m4trace:configure.in:5: -1- AC_SUBST([PATH_SEPARATOR])
++m4trace:configure.in:5: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME],      ['AC_PACKAGE_NAME'])])
++m4trace:configure.in:5: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME],   ['AC_PACKAGE_TARNAME'])])
++m4trace:configure.in:5: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION],   ['AC_PACKAGE_VERSION'])])
++m4trace:configure.in:5: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING],    ['AC_PACKAGE_STRING'])])
++m4trace:configure.in:5: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])])
++m4trace:configure.in:5: -1- AC_SUBST([exec_prefix], [NONE])
++m4trace:configure.in:5: -1- AC_SUBST([prefix], [NONE])
++m4trace:configure.in:5: -1- AC_SUBST([program_transform_name], [s,x,x,])
++m4trace:configure.in:5: -1- AC_SUBST([bindir], ['${exec_prefix}/bin'])
++m4trace:configure.in:5: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin'])
++m4trace:configure.in:5: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec'])
++m4trace:configure.in:5: -1- AC_SUBST([datadir], ['${prefix}/share'])
++m4trace:configure.in:5: -1- AC_SUBST([sysconfdir], ['${prefix}/etc'])
++m4trace:configure.in:5: -1- AC_SUBST([sharedstatedir], ['${prefix}/com'])
++m4trace:configure.in:5: -1- AC_SUBST([localstatedir], ['${prefix}/var'])
++m4trace:configure.in:5: -1- AC_SUBST([libdir], ['${exec_prefix}/lib'])
++m4trace:configure.in:5: -1- AC_SUBST([includedir], ['${prefix}/include'])
++m4trace:configure.in:5: -1- AC_SUBST([oldincludedir], ['/usr/include'])
++m4trace:configure.in:5: -1- AC_SUBST([infodir], ['${prefix}/info'])
++m4trace:configure.in:5: -1- AC_SUBST([mandir], ['${prefix}/man'])
++m4trace:configure.in:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME])
++m4trace:configure.in:5: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */
++#undef PACKAGE_NAME])
++m4trace:configure.in:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME])
++m4trace:configure.in:5: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */
++#undef PACKAGE_TARNAME])
++m4trace:configure.in:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION])
++m4trace:configure.in:5: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */
++#undef PACKAGE_VERSION])
++m4trace:configure.in:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING])
++m4trace:configure.in:5: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */
++#undef PACKAGE_STRING])
++m4trace:configure.in:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT])
++m4trace:configure.in:5: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */
++#undef PACKAGE_BUGREPORT])
++m4trace:configure.in:5: -1- AC_SUBST([build_alias])
++m4trace:configure.in:5: -1- AC_SUBST([host_alias])
++m4trace:configure.in:5: -1- AC_SUBST([target_alias])
++m4trace:configure.in:5: -1- AC_SUBST([DEFS])
++m4trace:configure.in:5: -1- AC_SUBST([ECHO_C])
++m4trace:configure.in:5: -1- AC_SUBST([ECHO_N])
++m4trace:configure.in:5: -1- AC_SUBST([ECHO_T])
++m4trace:configure.in:5: -1- AC_SUBST([LIBS])
++m4trace:configure.in:6: -1- AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
++m4trace:configure.in:6: -1- AC_SUBST([MAINTAINER_MODE_TRUE])
++m4trace:configure.in:6: -1- AC_SUBST([MAINTAINER_MODE_FALSE])
++m4trace:configure.in:6: -1- AC_SUBST([MAINT])
++m4trace:configure.in:8: -1- AC_CONFIG_HEADERS([include/config.h], [# update the timestamp
++echo 'timestamp for include/config.h' >"_AM_STAMP([include/config.h])"
++], [])
++m4trace:configure.in:11: -1- AC_PROG_CC
++m4trace:configure.in:11: -1- AC_SUBST([CC])
++m4trace:configure.in:11: -1- AC_SUBST([CFLAGS])
++m4trace:configure.in:11: -1- AC_SUBST([LDFLAGS])
++m4trace:configure.in:11: -1- AC_SUBST([CPPFLAGS])
++m4trace:configure.in:11: -1- AC_SUBST([CC])
++m4trace:configure.in:11: -1- AC_SUBST([ac_ct_CC])
++m4trace:configure.in:11: -1- AC_SUBST([CC])
++m4trace:configure.in:11: -1- AC_SUBST([ac_ct_CC])
++m4trace:configure.in:11: -1- AC_SUBST([CC])
++m4trace:configure.in:11: -1- AC_SUBST([CC])
++m4trace:configure.in:11: -1- AC_SUBST([ac_ct_CC])
++m4trace:configure.in:11: -1- AC_SUBST([EXEEXT], [$ac_cv_exeext])
++m4trace:configure.in:11: -1- AC_SUBST([OBJEXT], [$ac_cv_objext])
++m4trace:configure.in:12: -1- AC_PROG_CPP
++m4trace:configure.in:12: -1- AC_SUBST([CPP])
++m4trace:configure.in:12: -1- AC_SUBST([CPPFLAGS])
++m4trace:configure.in:12: -1- AC_SUBST([CPP])
++m4trace:configure.in:15: -1- AC_PROG_INSTALL
++m4trace:configure.in:15: -1- AC_SUBST([INSTALL_PROGRAM])
++m4trace:configure.in:15: -1- AC_SUBST([INSTALL_SCRIPT])
++m4trace:configure.in:15: -1- AC_SUBST([INSTALL_DATA])
++m4trace:configure.in:15: -1- AC_SUBST([PACKAGE], [AC_PACKAGE_TARNAME])
++m4trace:configure.in:15: -1- AC_SUBST([VERSION], [AC_PACKAGE_VERSION])
++m4trace:configure.in:15: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE])
++m4trace:configure.in:15: -1- AH_OUTPUT([PACKAGE], [/* Name of package */
++#undef PACKAGE])
++m4trace:configure.in:15: -1- AC_DEFINE_TRACE_LITERAL([VERSION])
++m4trace:configure.in:15: -1- AH_OUTPUT([VERSION], [/* Version number of package */
++#undef VERSION])
++m4trace:configure.in:15: -1- AC_SUBST([ACLOCAL])
++m4trace:configure.in:15: -1- AC_SUBST([AUTOCONF])
++m4trace:configure.in:15: -1- AC_SUBST([AUTOMAKE])
++m4trace:configure.in:15: -1- AC_SUBST([AUTOHEADER])
++m4trace:configure.in:15: -1- AC_SUBST([MAKEINFO])
++m4trace:configure.in:15: -1- AC_SUBST([AMTAR])
++m4trace:configure.in:15: -1- AC_SUBST([install_sh])
++m4trace:configure.in:15: -1- AC_SUBST([STRIP])
++m4trace:configure.in:15: -1- AC_SUBST([ac_ct_STRIP])
++m4trace:configure.in:15: -1- AC_SUBST([INSTALL_STRIP_PROGRAM])
++m4trace:configure.in:15: -1- AC_PROG_AWK
++m4trace:configure.in:15: -1- AC_SUBST([AWK])
++m4trace:configure.in:15: -1- AC_PROG_MAKE_SET
++m4trace:configure.in:15: -1- AC_SUBST([SET_MAKE])
++m4trace:configure.in:15: -1- AC_SUBST([DEPDIR])
++m4trace:configure.in:15: -1- AC_SUBST([am__include])
++m4trace:configure.in:15: -1- AC_SUBST([am__quote])
++m4trace:configure.in:15: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
++m4trace:configure.in:15: -1- AC_SUBST([AMDEP_TRUE])
++m4trace:configure.in:15: -1- AC_SUBST([AMDEP_FALSE])
++m4trace:configure.in:15: -1- AC_SUBST([AMDEPBACKSLASH])
++m4trace:configure.in:15: -1- AC_SUBST([CCDEPMODE], [depmode=$am_cv_CC_dependencies_compiler_type])
++m4trace:configure.in:22: -1- AC_SUBST([build], [$ac_cv_build])
++m4trace:configure.in:22: -1- AC_SUBST([build_cpu], [`echo $ac_cv_build | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\1/'`])
++m4trace:configure.in:22: -1- AC_SUBST([build_vendor], [`echo $ac_cv_build | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\2/'`])
++m4trace:configure.in:22: -1- AC_SUBST([build_os], [`echo $ac_cv_build | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\3/'`])
++m4trace:configure.in:22: -1- AC_SUBST([host], [$ac_cv_host])
++m4trace:configure.in:22: -1- AC_SUBST([host_cpu], [`echo $ac_cv_host | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\1/'`])
++m4trace:configure.in:22: -1- AC_SUBST([host_vendor], [`echo $ac_cv_host | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\2/'`])
++m4trace:configure.in:22: -1- AC_SUBST([host_os], [`echo $ac_cv_host | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\3/'`])
++m4trace:configure.in:24: -1- AC_SUBST([CANONICAL_HOST])
++m4trace:configure.in:26: -1- AC_DEFINE_TRACE_LITERAL([_FILE_OFFSET_BITS])
++m4trace:configure.in:26: -1- AH_OUTPUT([_FILE_OFFSET_BITS], [/* Number of bits in a file offset, on hosts where this is settable. */
++#undef _FILE_OFFSET_BITS])
++m4trace:configure.in:26: -1- AC_DEFINE_TRACE_LITERAL([_LARGE_FILES])
++m4trace:configure.in:26: -1- AH_OUTPUT([_LARGE_FILES], [/* Define for large files, on AIX-style hosts. */
++#undef _LARGE_FILES])
++m4trace:configure.in:32: -1- AC_DEFINE_TRACE_LITERAL([_GNU_SOURCE])
++m4trace:configure.in:32: -1- AH_OUTPUT([_GNU_SOURCE], [/* Define to enable extensions on glibc-based systems such as Linux. */
++#undef _GNU_SOURCE])
++m4trace:configure.in:38: -1- AC_PROG_YACC
++m4trace:configure.in:38: -1- AC_SUBST([YACC])
++m4trace:configure.in:39: -1- AC_PROG_LEX
++m4trace:configure.in:39: -1- AC_SUBST([LEX])
++m4trace:configure.in:39: -1- AC_CHECK_LIB([fl], [yywrap], [LEXLIB="-lfl"], [AC_CHECK_LIB(l, yywrap, LEXLIB="-ll")])
++m4trace:configure.in:39: -1- AC_CHECK_LIB([l], [yywrap], [LEXLIB="-ll"])
++m4trace:configure.in:39: -1- AC_SUBST([LEXLIB])
++m4trace:configure.in:39: -1- AC_SUBST([LEX_OUTPUT_ROOT], [$ac_cv_prog_lex_root])
++m4trace:configure.in:39: -1- AC_DEFINE_TRACE_LITERAL([YYTEXT_POINTER])
++m4trace:configure.in:39: -1- AH_OUTPUT([YYTEXT_POINTER], [/* Define to 1 if \`lex' declares \`yytext' as a \`char *' by default, not a
++   \`char[]'. */
++#undef YYTEXT_POINTER])
++m4trace:configure.in:41: -1- AC_PROG_AWK
++m4trace:configure.in:41: -1- AC_SUBST([AWK])
++m4trace:configure.in:42: -1- AC_SUBST([LN_S])
++m4trace:configure.in:48: -1- AC_DEFINE_TRACE_LITERAL([HAVE___ATTRIBUTE__])
++m4trace:configure.in:48: -1- AH_OUTPUT([HAVE___ATTRIBUTE__], [/* define if your compiler has __attribute__ */
++#undef HAVE___ATTRIBUTE__])
++m4trace:configure.in:51: -1- AC_PROG_LIBTOOL
++m4trace:configure.in:51: -1- AC_PROG_LN_S
++m4trace:configure.in:51: -1- AC_SUBST([LN_S], [$as_ln_s])
++m4trace:configure.in:51: -1- AC_SUBST([ECHO])
++m4trace:configure.in:51: -1- AC_SUBST([RANLIB])
++m4trace:configure.in:51: -1- AC_SUBST([ac_ct_RANLIB])
++m4trace:configure.in:51: -1- AC_SUBST([STRIP])
++m4trace:configure.in:51: -1- AC_SUBST([ac_ct_STRIP])
++m4trace:configure.in:51: -1- AC_CHECK_LIB([dld], [shl_load], [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"], [AC_CHECK_FUNC([dlopen],
++	      [lt_cv_dlopen="dlopen"],
++	  [AC_CHECK_LIB([dl], [dlopen],
++	        [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
++	    [AC_CHECK_LIB([svld], [dlopen],
++	          [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
++	      [AC_CHECK_LIB([dld], [dld_link],
++	            [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
++	      ])
++	    ])
++	  ])
++	])
++m4trace:configure.in:51: -1- AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], [AC_CHECK_LIB([svld], [dlopen],
++	          [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
++	      [AC_CHECK_LIB([dld], [dld_link],
++	            [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
++	      ])
++	    ])
++m4trace:configure.in:51: -1- AC_CHECK_LIB([svld], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], [AC_CHECK_LIB([dld], [dld_link],
++	            [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
++	      ])
++m4trace:configure.in:51: -1- AC_CHECK_LIB([dld], [dld_link], [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
++m4trace:configure.in:51: -1- AC_CHECK_HEADERS([dlfcn.h])
++m4trace:configure.in:51: -1- AH_OUTPUT([HAVE_DLFCN_H], [/* Define to 1 if you have the <dlfcn.h> header file. */
++#undef HAVE_DLFCN_H])
++m4trace:configure.in:51: -1- AC_HEADER_STDC
++m4trace:configure.in:51: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS])
++m4trace:configure.in:51: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */
++#undef STDC_HEADERS])
++m4trace:configure.in:51: -1- AC_CHECK_HEADERS([sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
++                  inttypes.h stdint.h unistd.h], [], [], [$ac_includes_default])
++m4trace:configure.in:51: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the <sys/types.h> header file. */
++#undef HAVE_SYS_TYPES_H])
++m4trace:configure.in:51: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the <sys/stat.h> header file. */
++#undef HAVE_SYS_STAT_H])
++m4trace:configure.in:51: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
++#undef HAVE_STDLIB_H])
++m4trace:configure.in:51: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */
++#undef HAVE_STRING_H])
++m4trace:configure.in:51: -1- AH_OUTPUT([HAVE_MEMORY_H], [/* Define to 1 if you have the <memory.h> header file. */
++#undef HAVE_MEMORY_H])
++m4trace:configure.in:51: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the <strings.h> header file. */
++#undef HAVE_STRINGS_H])
++m4trace:configure.in:51: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */
++#undef HAVE_INTTYPES_H])
++m4trace:configure.in:51: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */
++#undef HAVE_STDINT_H])
++m4trace:configure.in:51: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
++#undef HAVE_UNISTD_H])
++m4trace:configure.in:51: -1- AC_SUBST([LIBTOOL])
++m4trace:configure.in:53: -1- AC_SUBST([WFLAGS])
++m4trace:configure.in:53: -1- AC_SUBST([WFLAGS_NOUNUSED])
++m4trace:configure.in:53: -1- AC_SUBST([WFLAGS_NOIMPLICITINT])
++m4trace:configure.in:58: -1- AC_DEFINE_TRACE_LITERAL([OPENLDAP])
++m4trace:configure.in:58: -1- AH_OUTPUT([OPENLDAP], [/* Define if you have the openldap package. */
++#undef OPENLDAP])
++m4trace:configure.in:58: -1- AC_SUBST([DIR_openldap])
++m4trace:configure.in:58: -1- AC_SUBST([INCLUDE_openldap])
++m4trace:configure.in:58: -1- AC_SUBST([LIB_openldap])
++m4trace:configure.in:60: -1- AC_DEFINE_TRACE_LITERAL([KRB4])
++m4trace:configure.in:60: -1- AH_OUTPUT([KRB4], [/* Define if you have the krb4 package. */
++#undef KRB4])
++m4trace:configure.in:60: -1- AC_SUBST([DIR_krb4])
++m4trace:configure.in:60: -1- AC_SUBST([INCLUDE_krb4])
++m4trace:configure.in:60: -1- AC_SUBST([LIB_krb4])
++m4trace:configure.in:69: -1- AC_SUBST([EXTRA_LIB45])
++m4trace:configure.in:79: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FOUR_VALUED_KRB_PUT_INT])
++m4trace:configure.in:79: -1- AH_OUTPUT([HAVE_FOUR_VALUED_KRB_PUT_INT], [/* define if krb_put_int takes four arguments. */
++#undef HAVE_FOUR_VALUED_KRB_PUT_INT])
++m4trace:configure.in:86: -1- AH_OUTPUT([zzzz1], [#if defined(HAVE_FOUR_VALUED_KRB_PUT_INT) || !defined(KRB4)
++#define KRB_PUT_INT(F, T, L, S) krb_put_int((F), (T), (L), (S))
++#else
++#define KRB_PUT_INT(F, T, L, S) krb_put_int((F), (T), (S))
++#endif
++])
++m4trace:configure.in:95: -1- AC_DEFINE_TRACE_LITERAL([KRB_VERIFY_SECURE])
++m4trace:configure.in:95: -1- AH_OUTPUT([KRB_VERIFY_SECURE], [/* Define to one if your krb.h doesn't */
++#undef KRB_VERIFY_SECURE])
++m4trace:configure.in:97: -1- AC_DEFINE_TRACE_LITERAL([KRB_VERIFY_SECURE_FAIL])
++m4trace:configure.in:97: -1- AH_OUTPUT([KRB_VERIFY_SECURE_FAIL], [/* Define to two if your krb.h doesn't */
++#undef KRB_VERIFY_SECURE_FAIL])
++m4trace:configure.in:108: -1- AC_DEFINE_TRACE_LITERAL([KRB_VERIFY_NOT_SECURE])
++m4trace:configure.in:108: -1- AH_OUTPUT([KRB_VERIFY_NOT_SECURE], [/* Define to zero if your krb.h doesn't */
++#undef KRB_VERIFY_NOT_SECURE])
++m4trace:configure.in:110: -1- AC_CHECK_FUNCS([krb_enable_debug])
++m4trace:configure.in:110: -1- AH_OUTPUT([HAVE_KRB_ENABLE_DEBUG], [/* Define to 1 if you have the \`krb_enable_debug' function. */
++#undef HAVE_KRB_ENABLE_DEBUG])
++m4trace:configure.in:110: -1- AC_SUBST([LIB_krb_enable_debug])
++m4trace:configure.in:111: -1- AC_CHECK_FUNCS([krb_disable_debug])
++m4trace:configure.in:111: -1- AH_OUTPUT([HAVE_KRB_DISABLE_DEBUG], [/* Define to 1 if you have the \`krb_disable_debug' function. */
++#undef HAVE_KRB_DISABLE_DEBUG])
++m4trace:configure.in:111: -1- AC_SUBST([LIB_krb_disable_debug])
++m4trace:configure.in:112: -1- AC_CHECK_FUNCS([krb_get_our_ip_for_realm])
++m4trace:configure.in:112: -1- AH_OUTPUT([HAVE_KRB_GET_OUR_IP_FOR_REALM], [/* Define to 1 if you have the \`krb_get_our_ip_for_realm' function. */
++#undef HAVE_KRB_GET_OUR_IP_FOR_REALM])
++m4trace:configure.in:112: -1- AC_SUBST([LIB_krb_get_our_ip_for_realm])
++m4trace:configure.in:113: -1- AC_CHECK_FUNCS([krb_kdctimeofday])
++m4trace:configure.in:113: -1- AH_OUTPUT([HAVE_KRB_KDCTIMEOFDAY], [/* Define to 1 if you have the \`krb_kdctimeofday' function. */
++#undef HAVE_KRB_KDCTIMEOFDAY])
++m4trace:configure.in:113: -1- AC_SUBST([LIB_krb_kdctimeofday])
++m4trace:configure.in:117: -1- AH_OUTPUT([zzzz2], [#ifndef HAVE_KRB_KDCTIMEOFDAY
++#define krb_kdctimeofday(X) gettimeofday((X), NULL)
++#endif])
++m4trace:configure.in:118: -1- AC_CHECK_FUNCS([krb_get_kdc_time_diff])
++m4trace:configure.in:118: -1- AH_OUTPUT([HAVE_KRB_GET_KDC_TIME_DIFF], [/* Define to 1 if you have the \`krb_get_kdc_time_diff' function. */
++#undef HAVE_KRB_GET_KDC_TIME_DIFF])
++m4trace:configure.in:118: -1- AC_SUBST([LIB_krb_get_kdc_time_diff])
++m4trace:configure.in:122: -1- AH_OUTPUT([zzzz3], [#ifndef HAVE_KRB_GET_KDC_TIME_DIFF
++#define krb_get_kdc_time_diff() (0)
++#endif])
++m4trace:configure.in:133: -1- AC_DEFINE_TRACE_LITERAL([KRB_SENDAUTH_VERS])
++m4trace:configure.in:133: -1- AH_OUTPUT([KRB_SENDAUTH_VERS], [/* This is the krb4 sendauth version. */
++#undef KRB_SENDAUTH_VERS])
++m4trace:configure.in:146: -1- AC_DEFINE_TRACE_LITERAL([KRB_MK_REQ_CONST])
++m4trace:configure.in:146: -1- AH_OUTPUT([KRB_MK_REQ_CONST], [/* Define if krb_mk_req takes const char * */
++#undef KRB_MK_REQ_CONST])
++m4trace:configure.in:153: -1- AM_CONDITIONAL([KRB4], [test "$with_krb4" != "no"])
++m4trace:configure.in:153: -1- AC_SUBST([KRB4_TRUE])
++m4trace:configure.in:153: -1- AC_SUBST([KRB4_FALSE])
++m4trace:configure.in:154: -1- AM_CONDITIONAL([KRB5], [true])
++m4trace:configure.in:154: -1- AC_SUBST([KRB5_TRUE])
++m4trace:configure.in:154: -1- AC_SUBST([KRB5_FALSE])
++m4trace:configure.in:155: -1- AM_CONDITIONAL([do_roken_rename], [true])
++m4trace:configure.in:155: -1- AC_SUBST([do_roken_rename_TRUE])
++m4trace:configure.in:155: -1- AC_SUBST([do_roken_rename_FALSE])
++m4trace:configure.in:157: -1- AC_DEFINE_TRACE_LITERAL([KRB5])
++m4trace:configure.in:157: -1- AH_OUTPUT([KRB5], [/* Enable Kerberos 5 support in applications. */
++#undef KRB5])
++m4trace:configure.in:158: -1- AC_SUBST([LIB_kdb])
++m4trace:configure.in:160: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OPENSSL])
++m4trace:configure.in:160: -1- AH_OUTPUT([HAVE_OPENSSL], [/* define to use openssl's libcrypto */
++#undef HAVE_OPENSSL])
++m4trace:configure.in:160: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OLD_HASH_NAMES])
++m4trace:configure.in:160: -1- AH_OUTPUT([HAVE_OLD_HASH_NAMES], [/* define if you have hash functions like md4_finito() */
++#undef HAVE_OLD_HASH_NAMES])
++m4trace:configure.in:160: -1- AM_CONDITIONAL([HAVE_OPENSSL], [test "$openssl" = yes])
++m4trace:configure.in:160: -1- AC_SUBST([HAVE_OPENSSL_TRUE])
++m4trace:configure.in:160: -1- AC_SUBST([HAVE_OPENSSL_FALSE])
++m4trace:configure.in:160: -1- AC_SUBST([DIR_des])
++m4trace:configure.in:160: -1- AC_SUBST([INCLUDE_des])
++m4trace:configure.in:160: -1- AC_SUBST([LIB_des])
++m4trace:configure.in:160: -1- AC_SUBST([LIB_des_a])
++m4trace:configure.in:160: -1- AC_SUBST([LIB_des_so])
++m4trace:configure.in:160: -1- AC_SUBST([LIB_des_appl])
++m4trace:configure.in:165: -1- AC_DEFINE_TRACE_LITERAL([DCE])
++m4trace:configure.in:165: -1- AH_OUTPUT([DCE], [/* Define if you want support for DCE/DFS PAG's. */
++#undef DCE])
++m4trace:configure.in:167: -1- AM_CONDITIONAL([DCE], [test "$enable_dce" = yes])
++m4trace:configure.in:167: -1- AC_SUBST([DCE_TRUE])
++m4trace:configure.in:167: -1- AC_SUBST([DCE_FALSE])
++m4trace:configure.in:179: -1- AC_SUBST([dpagaix_cflags])
++m4trace:configure.in:180: -1- AC_SUBST([dpagaix_ldadd])
++m4trace:configure.in:181: -1- AC_SUBST([dpagaix_ldflags])
++m4trace:configure.in:183: -1- AC_CHECK_HEADERS([				\
++	db4/db.h				\
++	db3/db.h				\
++	db.h					\
++	db_185.h				\
++  ])
++m4trace:configure.in:183: -1- AH_OUTPUT([HAVE_DB4_DB_H], [/* Define to 1 if you have the <db4/db.h> header file. */
++#undef HAVE_DB4_DB_H])
++m4trace:configure.in:183: -1- AH_OUTPUT([HAVE_DB3_DB_H], [/* Define to 1 if you have the <db3/db.h> header file. */
++#undef HAVE_DB3_DB_H])
++m4trace:configure.in:183: -1- AH_OUTPUT([HAVE_DB_H], [/* Define to 1 if you have the <db.h> header file. */
++#undef HAVE_DB_H])
++m4trace:configure.in:183: -1- AH_OUTPUT([HAVE_DB_185_H], [/* Define to 1 if you have the <db_185.h> header file. */
++#undef HAVE_DB_185_H])
++m4trace:configure.in:183: -1- AC_CHECK_FUNCS([db_create])
++m4trace:configure.in:183: -1- AH_OUTPUT([HAVE_DB_CREATE], [/* Define to 1 if you have the \`db_create' function. */
++#undef HAVE_DB_CREATE])
++m4trace:configure.in:183: -1- AC_SUBST([LIB_db_create])
++m4trace:configure.in:183: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DB3])
++m4trace:configure.in:183: -1- AH_OUTPUT([HAVE_DB3], [/* define if you have a berkeley db3/4 library */
++#undef HAVE_DB3])
++m4trace:configure.in:183: -1- AC_CHECK_FUNCS([dbopen])
++m4trace:configure.in:183: -1- AH_OUTPUT([HAVE_DBOPEN], [/* Define to 1 if you have the \`dbopen' function. */
++#undef HAVE_DBOPEN])
++m4trace:configure.in:183: -1- AC_SUBST([LIB_dbopen])
++m4trace:configure.in:183: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DB1])
++m4trace:configure.in:183: -1- AH_OUTPUT([HAVE_DB1], [/* define if you have a berkeley db1/2 library */
++#undef HAVE_DB1])
++m4trace:configure.in:183: -1- AC_CHECK_FUNCS([dbm_firstkey])
++m4trace:configure.in:183: -1- AH_OUTPUT([HAVE_DBM_FIRSTKEY], [/* Define to 1 if you have the \`dbm_firstkey' function. */
++#undef HAVE_DBM_FIRSTKEY])
++m4trace:configure.in:183: -1- AC_SUBST([LIB_dbm_firstkey])
++m4trace:configure.in:183: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DB_NDBM])
++m4trace:configure.in:183: -1- AH_OUTPUT([HAVE_DB_NDBM], [/* define if you have ndbm compat in db */
++#undef HAVE_DB_NDBM])
++m4trace:configure.in:183: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NEW_DB])
++m4trace:configure.in:183: -1- AH_OUTPUT([HAVE_NEW_DB], [/* Define if NDBM really is DB (creates files *.db) */
++#undef HAVE_NEW_DB])
++m4trace:configure.in:183: -1- AC_CHECK_HEADERS([				\
++	dbm.h					\
++	ndbm.h					\
++  ])
++m4trace:configure.in:183: -1- AH_OUTPUT([HAVE_DBM_H], [/* Define to 1 if you have the <dbm.h> header file. */
++#undef HAVE_DBM_H])
++m4trace:configure.in:183: -1- AH_OUTPUT([HAVE_NDBM_H], [/* Define to 1 if you have the <ndbm.h> header file. */
++#undef HAVE_NDBM_H])
++m4trace:configure.in:183: -1- AC_CHECK_FUNCS([dbm_firstkey])
++m4trace:configure.in:183: -1- AH_OUTPUT([HAVE_DBM_FIRSTKEY], [/* Define to 1 if you have the \`dbm_firstkey' function. */
++#undef HAVE_DBM_FIRSTKEY])
++m4trace:configure.in:183: -1- AC_SUBST([LIB_dbm_firstkey])
++m4trace:configure.in:183: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NDBM])
++m4trace:configure.in:183: -1- AH_OUTPUT([HAVE_NDBM], [/* define if you have a ndbm library */
++#undef HAVE_NDBM])
++m4trace:configure.in:183: -1- AC_CHECK_HEADERS([				\
++	  gdbm/ndbm.h				\
++    ])
++m4trace:configure.in:183: -1- AH_OUTPUT([HAVE_GDBM_NDBM_H], [/* Define to 1 if you have the <gdbm/ndbm.h> header file. */
++#undef HAVE_GDBM_NDBM_H])
++m4trace:configure.in:183: -1- AC_CHECK_FUNCS([dbm_firstkey])
++m4trace:configure.in:183: -1- AH_OUTPUT([HAVE_DBM_FIRSTKEY], [/* Define to 1 if you have the \`dbm_firstkey' function. */
++#undef HAVE_DBM_FIRSTKEY])
++m4trace:configure.in:183: -1- AC_SUBST([LIB_dbm_firstkey])
++m4trace:configure.in:183: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NDBM])
++m4trace:configure.in:183: -1- AH_OUTPUT([HAVE_NDBM], [/* define if you have a ndbm library */
++#undef HAVE_NDBM])
++m4trace:configure.in:183: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NEW_DB])
++m4trace:configure.in:183: -1- AH_OUTPUT([HAVE_NEW_DB], [/* Define if NDBM really is DB (creates files *.db) */
++#undef HAVE_NEW_DB])
++m4trace:configure.in:183: -1- AM_CONDITIONAL([HAVE_DB1], [test "$db_type" = db1])
++m4trace:configure.in:183: -1- AC_SUBST([HAVE_DB1_TRUE])
++m4trace:configure.in:183: -1- AC_SUBST([HAVE_DB1_FALSE])
++m4trace:configure.in:183: -1- AM_CONDITIONAL([HAVE_DB3], [test "$db_type" = db3])
++m4trace:configure.in:183: -1- AC_SUBST([HAVE_DB3_TRUE])
++m4trace:configure.in:183: -1- AC_SUBST([HAVE_DB3_FALSE])
++m4trace:configure.in:183: -1- AM_CONDITIONAL([HAVE_NDBM], [test "$db_type" = ndbm])
++m4trace:configure.in:183: -1- AC_SUBST([HAVE_NDBM_TRUE])
++m4trace:configure.in:183: -1- AC_SUBST([HAVE_NDBM_FALSE])
++m4trace:configure.in:183: -1- AC_SUBST([DBLIB])
++m4trace:configure.in:183: -1- AC_SUBST([LIB_NDBM])
++m4trace:configure.in:185: -1- AC_CHECK_FUNCS([crypt])
++m4trace:configure.in:185: -1- AH_OUTPUT([HAVE_CRYPT], [/* Define to 1 if you have the \`crypt' function. */
++#undef HAVE_CRYPT])
++m4trace:configure.in:185: -1- AC_SUBST([LIB_crypt])
++m4trace:configure.in:185: -1- AC_SUBST([LIB_roken])
++m4trace:configure.in:185: -1- AC_SUBST([DIR_roken])
++m4trace:configure.in:185: -1- AC_SUBST([CPPFLAGS_roken])
++m4trace:configure.in:187: -1- AH_OUTPUT([00004], [#ifndef RCSID
++#define RCSID(msg) \\
++static /**/const char *const rcsid[] = { (const char *)rcsid, \"@(#)\" msg }
++#endif
++
++/* Maximum values on all known systems */
++#define MaxHostNameLen (64+4)
++#define MaxPathLen (1024+4)
++
++])
++m4trace:configure.in:187: -1- AC_C_INLINE
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([inline])
++m4trace:configure.in:187: -1- AH_OUTPUT([inline], [/* Define as \`__inline' if that's what the C compiler calls it, or to nothing
++   if it is not supported. */
++#undef inline])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([inline])
++m4trace:configure.in:187: -1- AC_C_CONST
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([const])
++m4trace:configure.in:187: -1- AH_OUTPUT([const], [/* Define to empty if \`const' does not conform to ANSI C. */
++#undef const])
++m4trace:configure.in:187: -1- AC_SUBST([WFLAGS])
++m4trace:configure.in:187: -1- AC_SUBST([WFLAGS_NOUNUSED])
++m4trace:configure.in:187: -1- AC_SUBST([WFLAGS_NOIMPLICITINT])
++m4trace:configure.in:187: -1- AC_TYPE_SIZE_T
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([size_t])
++m4trace:configure.in:187: -1- AH_OUTPUT([size_t], [/* Define to \`unsigned' if <sys/types.h> does not define. */
++#undef size_t])
++m4trace:configure.in:187: -1- AC_CHECK_TYPES([ssize_t])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SSIZE_T])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_SSIZE_T], [/* Define to 1 if the system has the type \`ssize_t'. */
++#undef HAVE_SSIZE_T])
++m4trace:configure.in:187: -1- AC_TYPE_PID_T
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([pid_t])
++m4trace:configure.in:187: -1- AH_OUTPUT([pid_t], [/* Define to \`int' if <sys/types.h> does not define. */
++#undef pid_t])
++m4trace:configure.in:187: -1- AC_TYPE_UID_T
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([uid_t])
++m4trace:configure.in:187: -1- AH_OUTPUT([uid_t], [/* Define to \`int' if <sys/types.h> doesn't define. */
++#undef uid_t])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([gid_t])
++m4trace:configure.in:187: -1- AH_OUTPUT([gid_t], [/* Define to \`int' if <sys/types.h> doesn't define. */
++#undef gid_t])
++m4trace:configure.in:187: -1- AC_CHECK_TYPES([long long])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LONG_LONG])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_LONG_LONG], [/* Define to 1 if the system has the type \`long long'. */
++#undef HAVE_LONG_LONG])
++m4trace:configure.in:187: -1- AC_TYPE_SIGNAL
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([RETSIGTYPE])
++m4trace:configure.in:187: -1- AH_OUTPUT([RETSIGTYPE], [/* Define as the return type of signal handlers (\`int' or \`void'). */
++#undef RETSIGTYPE])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([VOID_RETSIGTYPE])
++m4trace:configure.in:187: -1- AH_OUTPUT([VOID_RETSIGTYPE], [/* Define if signal handlers return void. */
++#undef VOID_RETSIGTYPE])
++m4trace:configure.in:187: -1- AC_SUBST([VOID_RETSIGTYPE])
++m4trace:configure.in:187: -1- AH_OUTPUT([zzzz5], [#ifdef VOID_RETSIGTYPE
++#define SIGRETURN(x) return
++#else
++#define SIGRETURN(x) return (RETSIGTYPE)(x)
++#endif])
++m4trace:configure.in:187: -1- AC_HEADER_TIME
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([TIME_WITH_SYS_TIME])
++m4trace:configure.in:187: -1- AH_OUTPUT([TIME_WITH_SYS_TIME], [/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
++#undef TIME_WITH_SYS_TIME])
++m4trace:configure.in:187: -1- AC_CHECK_HEADERS([\
++	arpa/inet.h				\
++	arpa/nameser.h				\
++	config.h				\
++	crypt.h					\
++	dirent.h				\
++	errno.h					\
++	err.h					\
++	fcntl.h					\
++	grp.h					\
++	ifaddrs.h				\
++	net/if.h				\
++	netdb.h					\
++	netinet/in.h				\
++	netinet/in6.h				\
++	netinet/in_systm.h			\
++	netinet6/in6.h				\
++	netinet6/in6_var.h			\
++	paths.h					\
++	pwd.h					\
++	resolv.h				\
++	rpcsvc/ypclnt.h				\
++	shadow.h				\
++	sys/bswap.h				\
++	sys/ioctl.h				\
++	sys/mman.h				\
++	sys/param.h				\
++	sys/proc.h				\
++	sys/resource.h				\
++	sys/socket.h				\
++	sys/sockio.h				\
++	sys/stat.h				\
++	sys/sysctl.h				\
++	sys/time.h				\
++	sys/tty.h				\
++	sys/types.h				\
++	sys/uio.h				\
++	sys/utsname.h				\
++	sys/wait.h				\
++	syslog.h				\
++	termios.h				\
++	unistd.h				\
++	userconf.h				\
++	usersec.h				\
++	util.h					\
++	vis.h					\
++])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_ARPA_INET_H], [/* Define to 1 if you have the <arpa/inet.h> header file. */
++#undef HAVE_ARPA_INET_H])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_ARPA_NAMESER_H], [/* Define to 1 if you have the <arpa/nameser.h> header file. */
++#undef HAVE_ARPA_NAMESER_H])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_CONFIG_H], [/* Define to 1 if you have the <config.h> header file. */
++#undef HAVE_CONFIG_H])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_CRYPT_H], [/* Define to 1 if you have the <crypt.h> header file. */
++#undef HAVE_CRYPT_H])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_DIRENT_H], [/* Define to 1 if you have the <dirent.h> header file. */
++#undef HAVE_DIRENT_H])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_ERRNO_H], [/* Define to 1 if you have the <errno.h> header file. */
++#undef HAVE_ERRNO_H])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_ERR_H], [/* Define to 1 if you have the <err.h> header file. */
++#undef HAVE_ERR_H])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_FCNTL_H], [/* Define to 1 if you have the <fcntl.h> header file. */
++#undef HAVE_FCNTL_H])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_GRP_H], [/* Define to 1 if you have the <grp.h> header file. */
++#undef HAVE_GRP_H])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_IFADDRS_H], [/* Define to 1 if you have the <ifaddrs.h> header file. */
++#undef HAVE_IFADDRS_H])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_NET_IF_H], [/* Define to 1 if you have the <net/if.h> header file. */
++#undef HAVE_NET_IF_H])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_NETDB_H], [/* Define to 1 if you have the <netdb.h> header file. */
++#undef HAVE_NETDB_H])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_NETINET_IN_H], [/* Define to 1 if you have the <netinet/in.h> header file. */
++#undef HAVE_NETINET_IN_H])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_NETINET_IN6_H], [/* Define to 1 if you have the <netinet/in6.h> header file. */
++#undef HAVE_NETINET_IN6_H])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_NETINET_IN_SYSTM_H], [/* Define to 1 if you have the <netinet/in_systm.h> header file. */
++#undef HAVE_NETINET_IN_SYSTM_H])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_NETINET6_IN6_H], [/* Define to 1 if you have the <netinet6/in6.h> header file. */
++#undef HAVE_NETINET6_IN6_H])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_NETINET6_IN6_VAR_H], [/* Define to 1 if you have the <netinet6/in6_var.h> header file. */
++#undef HAVE_NETINET6_IN6_VAR_H])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_PATHS_H], [/* Define to 1 if you have the <paths.h> header file. */
++#undef HAVE_PATHS_H])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_PWD_H], [/* Define to 1 if you have the <pwd.h> header file. */
++#undef HAVE_PWD_H])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_RESOLV_H], [/* Define to 1 if you have the <resolv.h> header file. */
++#undef HAVE_RESOLV_H])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_RPCSVC_YPCLNT_H], [/* Define to 1 if you have the <rpcsvc/ypclnt.h> header file. */
++#undef HAVE_RPCSVC_YPCLNT_H])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_SHADOW_H], [/* Define to 1 if you have the <shadow.h> header file. */
++#undef HAVE_SHADOW_H])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_SYS_BSWAP_H], [/* Define to 1 if you have the <sys/bswap.h> header file. */
++#undef HAVE_SYS_BSWAP_H])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_SYS_IOCTL_H], [/* Define to 1 if you have the <sys/ioctl.h> header file. */
++#undef HAVE_SYS_IOCTL_H])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_SYS_MMAN_H], [/* Define to 1 if you have the <sys/mman.h> header file. */
++#undef HAVE_SYS_MMAN_H])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_SYS_PARAM_H], [/* Define to 1 if you have the <sys/param.h> header file. */
++#undef HAVE_SYS_PARAM_H])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_SYS_PROC_H], [/* Define to 1 if you have the <sys/proc.h> header file. */
++#undef HAVE_SYS_PROC_H])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_SYS_RESOURCE_H], [/* Define to 1 if you have the <sys/resource.h> header file. */
++#undef HAVE_SYS_RESOURCE_H])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_SYS_SOCKET_H], [/* Define to 1 if you have the <sys/socket.h> header file. */
++#undef HAVE_SYS_SOCKET_H])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_SYS_SOCKIO_H], [/* Define to 1 if you have the <sys/sockio.h> header file. */
++#undef HAVE_SYS_SOCKIO_H])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the <sys/stat.h> header file. */
++#undef HAVE_SYS_STAT_H])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_SYS_SYSCTL_H], [/* Define to 1 if you have the <sys/sysctl.h> header file. */
++#undef HAVE_SYS_SYSCTL_H])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_SYS_TIME_H], [/* Define to 1 if you have the <sys/time.h> header file. */
++#undef HAVE_SYS_TIME_H])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_SYS_TTY_H], [/* Define to 1 if you have the <sys/tty.h> header file. */
++#undef HAVE_SYS_TTY_H])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the <sys/types.h> header file. */
++#undef HAVE_SYS_TYPES_H])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_SYS_UIO_H], [/* Define to 1 if you have the <sys/uio.h> header file. */
++#undef HAVE_SYS_UIO_H])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_SYS_UTSNAME_H], [/* Define to 1 if you have the <sys/utsname.h> header file. */
++#undef HAVE_SYS_UTSNAME_H])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_SYS_WAIT_H], [/* Define to 1 if you have the <sys/wait.h> header file. */
++#undef HAVE_SYS_WAIT_H])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_SYSLOG_H], [/* Define to 1 if you have the <syslog.h> header file. */
++#undef HAVE_SYSLOG_H])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_TERMIOS_H], [/* Define to 1 if you have the <termios.h> header file. */
++#undef HAVE_TERMIOS_H])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
++#undef HAVE_UNISTD_H])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_USERCONF_H], [/* Define to 1 if you have the <userconf.h> header file. */
++#undef HAVE_USERCONF_H])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_USERSEC_H], [/* Define to 1 if you have the <usersec.h> header file. */
++#undef HAVE_USERSEC_H])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_UTIL_H], [/* Define to 1 if you have the <util.h> header file. */
++#undef HAVE_UTIL_H])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_VIS_H], [/* Define to 1 if you have the <vis.h> header file. */
++#undef HAVE_VIS_H])
++m4trace:configure.in:187: -1- AC_CHECK_HEADERS([standards.h])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_STANDARDS_H], [/* Define to 1 if you have the <standards.h> header file. */
++#undef HAVE_STANDARDS_H])
++m4trace:configure.in:187: -1- AC_CHECK_HEADERS([netinet/ip.h netinet/tcp.h])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_NETINET_IP_H], [/* Define to 1 if you have the <netinet/ip.h> header file. */
++#undef HAVE_NETINET_IP_H])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_NETINET_TCP_H], [/* Define to 1 if you have the <netinet/tcp.h> header file. */
++#undef HAVE_NETINET_TCP_H])
++m4trace:configure.in:187: -1- AM_CONDITIONAL([have_err_h], [test "$ac_cv_header_err_h" = yes])
++m4trace:configure.in:187: -1- AC_SUBST([have_err_h_TRUE])
++m4trace:configure.in:187: -1- AC_SUBST([have_err_h_FALSE])
++m4trace:configure.in:187: -1- AM_CONDITIONAL([have_fnmatch_h], [test "$ac_cv_header_fnmatch_h" = yes])
++m4trace:configure.in:187: -1- AC_SUBST([have_fnmatch_h_TRUE])
++m4trace:configure.in:187: -1- AC_SUBST([have_fnmatch_h_FALSE])
++m4trace:configure.in:187: -1- AM_CONDITIONAL([have_ifaddrs_h], [test "$ac_cv_header_ifaddrs_h" = yes])
++m4trace:configure.in:187: -1- AC_SUBST([have_ifaddrs_h_TRUE])
++m4trace:configure.in:187: -1- AC_SUBST([have_ifaddrs_h_FALSE])
++m4trace:configure.in:187: -1- AM_CONDITIONAL([have_vis_h], [test "$ac_cv_header_vis_h" = yes])
++m4trace:configure.in:187: -1- AC_SUBST([have_vis_h_TRUE])
++m4trace:configure.in:187: -1- AC_SUBST([have_vis_h_FALSE])
++m4trace:configure.in:187: -1- AC_CHECK_FUNCS([socket])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_SOCKET], [/* Define to 1 if you have the \`socket' function. */
++#undef HAVE_SOCKET])
++m4trace:configure.in:187: -1- AC_SUBST([LIB_socket])
++m4trace:configure.in:187: -1- AC_CHECK_FUNCS([gethostbyname])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_GETHOSTBYNAME], [/* Define to 1 if you have the \`gethostbyname' function. */
++#undef HAVE_GETHOSTBYNAME])
++m4trace:configure.in:187: -1- AC_SUBST([LIB_gethostbyname])
++m4trace:configure.in:187: -1- AC_CHECK_FUNCS([syslog])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_SYSLOG], [/* Define to 1 if you have the \`syslog' function. */
++#undef HAVE_SYSLOG])
++m4trace:configure.in:187: -1- AC_SUBST([LIB_syslog])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_IPV6])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_IPV6], [/* Define if you have IPv6. */
++#undef HAVE_IPV6])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_IN6ADDR_LOOPBACK])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_IN6ADDR_LOOPBACK], [/* Define if you have the in6addr_loopback variable */
++#undef HAVE_IN6ADDR_LOOPBACK])
++m4trace:configure.in:187: -1- AC_CHECK_FUNCS([gethostbyname2])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_GETHOSTBYNAME2], [/* Define to 1 if you have the \`gethostbyname2' function. */
++#undef HAVE_GETHOSTBYNAME2])
++m4trace:configure.in:187: -1- AC_SUBST([LIB_gethostbyname2])
++m4trace:configure.in:187: -1- AC_CHECK_FUNCS([res_search])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_RES_SEARCH], [/* Define to 1 if you have the \`res_search' function. */
++#undef HAVE_RES_SEARCH])
++m4trace:configure.in:187: -1- AC_SUBST([LIB_res_search])
++m4trace:configure.in:187: -1- AC_CHECK_FUNCS([res_nsearch])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_RES_NSEARCH], [/* Define to 1 if you have the \`res_nsearch' function. */
++#undef HAVE_RES_NSEARCH])
++m4trace:configure.in:187: -1- AC_SUBST([LIB_res_nsearch])
++m4trace:configure.in:187: -1- AC_CHECK_FUNCS([dn_expand])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_DN_EXPAND], [/* Define to 1 if you have the \`dn_expand' function. */
++#undef HAVE_DN_EXPAND])
++m4trace:configure.in:187: -1- AC_SUBST([LIB_dn_expand])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE__RES])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE__RES], [/* Define if you have the \`_res' variable. */
++#undef HAVE__RES])
++m4trace:configure.in:187: -2- AC_DEFINE_TRACE_LITERAL([HAVE__RES_DECLARATION])
++m4trace:configure.in:187: -2- AH_OUTPUT([HAVE__RES_DECLARATION], [/* define if your system declares _res */
++#undef HAVE__RES_DECLARATION])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SNPRINTF])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_SNPRINTF], [/* define if you have a working snprintf */
++#undef HAVE_SNPRINTF])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([NEED_SNPRINTF_PROTO])
++m4trace:configure.in:187: -1- AH_OUTPUT([NEED_SNPRINTF_PROTO], [/* define if the system is missing a prototype for snprintf() */
++#undef NEED_SNPRINTF_PROTO])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_VSNPRINTF])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_VSNPRINTF], [/* define if you have a working vsnprintf */
++#undef HAVE_VSNPRINTF])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([NEED_VSNPRINTF_PROTO])
++m4trace:configure.in:187: -1- AH_OUTPUT([NEED_VSNPRINTF_PROTO], [/* define if the system is missing a prototype for vsnprintf() */
++#undef NEED_VSNPRINTF_PROTO])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GLOB])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_GLOB], [/* define if you have a glob() that groks GLOB_BRACE, GLOB_NOCHECK,
++   GLOB_QUOTE, GLOB_TILDE, and GLOB_LIMIT */
++#undef HAVE_GLOB])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([NEED_GLOB_PROTO])
++m4trace:configure.in:187: -1- AH_OUTPUT([NEED_GLOB_PROTO], [/* define if the system is missing a prototype for glob() */
++#undef NEED_GLOB_PROTO])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([glob.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AM_CONDITIONAL([have_glob_h], [test "$ac_cv_func_glob_working" = yes])
++m4trace:configure.in:187: -1- AC_SUBST([have_glob_h_TRUE])
++m4trace:configure.in:187: -1- AC_SUBST([have_glob_h_FALSE])
++m4trace:configure.in:187: -1- AC_CHECK_FUNCS([				\
++	asnprintf				\
++	asprintf				\
++	atexit					\
++	cgetent					\
++	getconfattr				\
++	getprogname				\
++	getrlimit				\
++	getspnam				\
++	initstate				\
++	issetugid				\
++	on_exit					\
++	random					\
++	setprogname				\
++	setstate				\
++	strsvis					\
++	strunvis				\
++	strvis					\
++	strvisx					\
++	svis					\
++	sysconf					\
++	sysctl					\
++	uname					\
++	unvis					\
++	vasnprintf				\
++	vasprintf				\
++	vis					\
++])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_ASNPRINTF], [/* Define to 1 if you have the \`asnprintf' function. */
++#undef HAVE_ASNPRINTF])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_ASPRINTF], [/* Define to 1 if you have the \`asprintf' function. */
++#undef HAVE_ASPRINTF])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_ATEXIT], [/* Define to 1 if you have the \`atexit' function. */
++#undef HAVE_ATEXIT])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_CGETENT], [/* Define to 1 if you have the \`cgetent' function. */
++#undef HAVE_CGETENT])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_GETCONFATTR], [/* Define to 1 if you have the \`getconfattr' function. */
++#undef HAVE_GETCONFATTR])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_GETPROGNAME], [/* Define to 1 if you have the \`getprogname' function. */
++#undef HAVE_GETPROGNAME])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_GETRLIMIT], [/* Define to 1 if you have the \`getrlimit' function. */
++#undef HAVE_GETRLIMIT])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_GETSPNAM], [/* Define to 1 if you have the \`getspnam' function. */
++#undef HAVE_GETSPNAM])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_INITSTATE], [/* Define to 1 if you have the \`initstate' function. */
++#undef HAVE_INITSTATE])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_ISSETUGID], [/* Define to 1 if you have the \`issetugid' function. */
++#undef HAVE_ISSETUGID])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_ON_EXIT], [/* Define to 1 if you have the \`on_exit' function. */
++#undef HAVE_ON_EXIT])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_RANDOM], [/* Define to 1 if you have the \`random' function. */
++#undef HAVE_RANDOM])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_SETPROGNAME], [/* Define to 1 if you have the \`setprogname' function. */
++#undef HAVE_SETPROGNAME])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_SETSTATE], [/* Define to 1 if you have the \`setstate' function. */
++#undef HAVE_SETSTATE])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_STRSVIS], [/* Define to 1 if you have the \`strsvis' function. */
++#undef HAVE_STRSVIS])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_STRUNVIS], [/* Define to 1 if you have the \`strunvis' function. */
++#undef HAVE_STRUNVIS])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_STRVIS], [/* Define to 1 if you have the \`strvis' function. */
++#undef HAVE_STRVIS])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_STRVISX], [/* Define to 1 if you have the \`strvisx' function. */
++#undef HAVE_STRVISX])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_SVIS], [/* Define to 1 if you have the \`svis' function. */
++#undef HAVE_SVIS])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_SYSCONF], [/* Define to 1 if you have the \`sysconf' function. */
++#undef HAVE_SYSCONF])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_SYSCTL], [/* Define to 1 if you have the \`sysctl' function. */
++#undef HAVE_SYSCTL])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_UNAME], [/* Define to 1 if you have the \`uname' function. */
++#undef HAVE_UNAME])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_UNVIS], [/* Define to 1 if you have the \`unvis' function. */
++#undef HAVE_UNVIS])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_VASNPRINTF], [/* Define to 1 if you have the \`vasnprintf' function. */
++#undef HAVE_VASNPRINTF])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_VASPRINTF], [/* Define to 1 if you have the \`vasprintf' function. */
++#undef HAVE_VASPRINTF])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_VIS], [/* Define to 1 if you have the \`vis' function. */
++#undef HAVE_VIS])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([getcap.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_CHECK_FUNCS([getlogin setlogin])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_GETLOGIN], [/* Define to 1 if you have the \`getlogin' function. */
++#undef HAVE_GETLOGIN])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_SETLOGIN], [/* Define to 1 if you have the \`setlogin' function. */
++#undef HAVE_SETLOGIN])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([POSIX_GETLOGIN])
++m4trace:configure.in:187: -1- AH_OUTPUT([POSIX_GETLOGIN], [/* Define if getlogin has POSIX flavour (and not BSD). */
++#undef POSIX_GETLOGIN])
++m4trace:configure.in:187: -1- AC_FUNC_MMAP
++m4trace:configure.in:187: -1- AC_CHECK_HEADERS([stdlib.h unistd.h])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
++#undef HAVE_STDLIB_H])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
++#undef HAVE_UNISTD_H])
++m4trace:configure.in:187: -1- AC_CHECK_FUNCS([getpagesize])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_GETPAGESIZE], [/* Define to 1 if you have the \`getpagesize' function. */
++#undef HAVE_GETPAGESIZE])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MMAP])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_MMAP], [/* Define to 1 if you have a working \`mmap' system call. */
++#undef HAVE_MMAP])
++m4trace:configure.in:187: -1- AC_CHECK_FUNCS([getsockopt])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_GETSOCKOPT], [/* Define to 1 if you have the \`getsockopt' function. */
++#undef HAVE_GETSOCKOPT])
++m4trace:configure.in:187: -1- AC_SUBST([LIB_getsockopt])
++m4trace:configure.in:187: -1- AC_CHECK_FUNCS([setsockopt])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_SETSOCKOPT], [/* Define to 1 if you have the \`setsockopt' function. */
++#undef HAVE_SETSOCKOPT])
++m4trace:configure.in:187: -1- AC_SUBST([LIB_setsockopt])
++m4trace:configure.in:187: -1- AC_CHECK_FUNCS([hstrerror])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_HSTRERROR], [/* Define to 1 if you have the \`hstrerror' function. */
++#undef HAVE_HSTRERROR])
++m4trace:configure.in:187: -1- AC_SUBST([LIB_hstrerror])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([hstrerror.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([NEED_HSTRERROR_PROTO])
++m4trace:configure.in:187: -1- AH_OUTPUT([NEED_HSTRERROR_PROTO], [/* define if the system is missing a prototype for hstrerror() */
++#undef NEED_HSTRERROR_PROTO])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([NEED_ASPRINTF_PROTO])
++m4trace:configure.in:187: -1- AH_OUTPUT([NEED_ASPRINTF_PROTO], [/* define if the system is missing a prototype for asprintf() */
++#undef NEED_ASPRINTF_PROTO])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([NEED_VASPRINTF_PROTO])
++m4trace:configure.in:187: -1- AH_OUTPUT([NEED_VASPRINTF_PROTO], [/* define if the system is missing a prototype for vasprintf() */
++#undef NEED_VASPRINTF_PROTO])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([NEED_ASNPRINTF_PROTO])
++m4trace:configure.in:187: -1- AH_OUTPUT([NEED_ASNPRINTF_PROTO], [/* define if the system is missing a prototype for asnprintf() */
++#undef NEED_ASNPRINTF_PROTO])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([NEED_VASNPRINTF_PROTO])
++m4trace:configure.in:187: -1- AH_OUTPUT([NEED_VASNPRINTF_PROTO], [/* define if the system is missing a prototype for vasnprintf() */
++#undef NEED_VASNPRINTF_PROTO])
++m4trace:configure.in:187: -1- AC_CHECK_FUNCS([bswap16])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_BSWAP16], [/* Define to 1 if you have the \`bswap16' function. */
++#undef HAVE_BSWAP16])
++m4trace:configure.in:187: -1- AC_SUBST([LIB_bswap16])
++m4trace:configure.in:187: -1- AC_CHECK_FUNCS([bswap32])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_BSWAP32], [/* Define to 1 if you have the \`bswap32' function. */
++#undef HAVE_BSWAP32])
++m4trace:configure.in:187: -1- AC_SUBST([LIB_bswap32])
++m4trace:configure.in:187: -1- AC_CHECK_FUNCS([pidfile])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_PIDFILE], [/* Define to 1 if you have the \`pidfile' function. */
++#undef HAVE_PIDFILE])
++m4trace:configure.in:187: -1- AC_SUBST([LIB_pidfile])
++m4trace:configure.in:187: -1- AC_CHECK_FUNCS([getaddrinfo])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_GETADDRINFO], [/* Define to 1 if you have the \`getaddrinfo' function. */
++#undef HAVE_GETADDRINFO])
++m4trace:configure.in:187: -1- AC_SUBST([LIB_getaddrinfo])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([getaddrinfo.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_CHECK_FUNCS([getnameinfo])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_GETNAMEINFO], [/* Define to 1 if you have the \`getnameinfo' function. */
++#undef HAVE_GETNAMEINFO])
++m4trace:configure.in:187: -1- AC_SUBST([LIB_getnameinfo])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([getnameinfo.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_CHECK_FUNCS([freeaddrinfo])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_FREEADDRINFO], [/* Define to 1 if you have the \`freeaddrinfo' function. */
++#undef HAVE_FREEADDRINFO])
++m4trace:configure.in:187: -1- AC_SUBST([LIB_freeaddrinfo])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([freeaddrinfo.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_CHECK_FUNCS([gai_strerror])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_GAI_STRERROR], [/* Define to 1 if you have the \`gai_strerror' function. */
++#undef HAVE_GAI_STRERROR])
++m4trace:configure.in:187: -1- AC_SUBST([LIB_gai_strerror])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([gai_strerror.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_CHOWN])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_CHOWN], [/* Define if you have the function \`chown'. */
++#undef HAVE_CHOWN])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([chown.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_COPYHOSTENT])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_COPYHOSTENT], [/* Define if you have the function \`copyhostent'. */
++#undef HAVE_COPYHOSTENT])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([copyhostent.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DAEMON])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_DAEMON], [/* Define if you have the function \`daemon'. */
++#undef HAVE_DAEMON])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([daemon.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ECALLOC])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_ECALLOC], [/* Define if you have the function \`ecalloc'. */
++#undef HAVE_ECALLOC])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([ecalloc.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_EMALLOC])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_EMALLOC], [/* Define if you have the function \`emalloc'. */
++#undef HAVE_EMALLOC])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([emalloc.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_EREALLOC])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_EREALLOC], [/* Define if you have the function \`erealloc'. */
++#undef HAVE_EREALLOC])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([erealloc.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ESTRDUP])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_ESTRDUP], [/* Define if you have the function \`estrdup'. */
++#undef HAVE_ESTRDUP])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([estrdup.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ERR])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_ERR], [/* Define if you have the function \`err'. */
++#undef HAVE_ERR])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([err.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ERRX])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_ERRX], [/* Define if you have the function \`errx'. */
++#undef HAVE_ERRX])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([errx.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FCHOWN])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_FCHOWN], [/* Define if you have the function \`fchown'. */
++#undef HAVE_FCHOWN])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([fchown.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FLOCK])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_FLOCK], [/* Define if you have the function \`flock'. */
++#undef HAVE_FLOCK])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([flock.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FNMATCH])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_FNMATCH], [/* Define if you have the function \`fnmatch'. */
++#undef HAVE_FNMATCH])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([fnmatch.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FREEHOSTENT])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_FREEHOSTENT], [/* Define if you have the function \`freehostent'. */
++#undef HAVE_FREEHOSTENT])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([freehostent.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETCWD])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_GETCWD], [/* Define if you have the function \`getcwd'. */
++#undef HAVE_GETCWD])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([getcwd.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETDTABLESIZE])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_GETDTABLESIZE], [/* Define if you have the function \`getdtablesize'. */
++#undef HAVE_GETDTABLESIZE])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([getdtablesize.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETEGID])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_GETEGID], [/* Define if you have the function \`getegid'. */
++#undef HAVE_GETEGID])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([getegid.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETEUID])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_GETEUID], [/* Define if you have the function \`geteuid'. */
++#undef HAVE_GETEUID])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([geteuid.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETGID])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_GETGID], [/* Define if you have the function \`getgid'. */
++#undef HAVE_GETGID])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([getgid.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETHOSTNAME])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_GETHOSTNAME], [/* Define if you have the function \`gethostname'. */
++#undef HAVE_GETHOSTNAME])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([gethostname.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETIFADDRS])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_GETIFADDRS], [/* Define if you have the function \`getifaddrs'. */
++#undef HAVE_GETIFADDRS])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([getifaddrs.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETIPNODEBYADDR])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_GETIPNODEBYADDR], [/* Define if you have the function \`getipnodebyaddr'. */
++#undef HAVE_GETIPNODEBYADDR])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([getipnodebyaddr.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETIPNODEBYNAME])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_GETIPNODEBYNAME], [/* Define if you have the function \`getipnodebyname'. */
++#undef HAVE_GETIPNODEBYNAME])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([getipnodebyname.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETOPT])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_GETOPT], [/* Define if you have the function \`getopt'. */
++#undef HAVE_GETOPT])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([getopt.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETTIMEOFDAY])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_GETTIMEOFDAY], [/* Define if you have the function \`gettimeofday'. */
++#undef HAVE_GETTIMEOFDAY])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([gettimeofday.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETUID])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_GETUID], [/* Define if you have the function \`getuid'. */
++#undef HAVE_GETUID])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([getuid.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETUSERSHELL])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_GETUSERSHELL], [/* Define if you have the function \`getusershell'. */
++#undef HAVE_GETUSERSHELL])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([getusershell.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INITGROUPS])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_INITGROUPS], [/* Define if you have the function \`initgroups'. */
++#undef HAVE_INITGROUPS])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([initgroups.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INNETGR])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_INNETGR], [/* Define if you have the function \`innetgr'. */
++#undef HAVE_INNETGR])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([innetgr.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_IRUSEROK])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_IRUSEROK], [/* Define if you have the function \`iruserok'. */
++#undef HAVE_IRUSEROK])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([iruserok.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LOCALTIME_R])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_LOCALTIME_R], [/* Define if you have the function \`localtime_r'. */
++#undef HAVE_LOCALTIME_R])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([localtime_r.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LSTAT])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_LSTAT], [/* Define if you have the function \`lstat'. */
++#undef HAVE_LSTAT])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([lstat.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MEMMOVE])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_MEMMOVE], [/* Define if you have the function \`memmove'. */
++#undef HAVE_MEMMOVE])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([memmove.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MKSTEMP])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_MKSTEMP], [/* Define if you have the function \`mkstemp'. */
++#undef HAVE_MKSTEMP])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([mkstemp.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PUTENV])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_PUTENV], [/* Define if you have the function \`putenv'. */
++#undef HAVE_PUTENV])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([putenv.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_RCMD])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_RCMD], [/* Define if you have the function \`rcmd'. */
++#undef HAVE_RCMD])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([rcmd.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_READV])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_READV], [/* Define if you have the function \`readv'. */
++#undef HAVE_READV])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([readv.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_RECVMSG])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_RECVMSG], [/* Define if you have the function \`recvmsg'. */
++#undef HAVE_RECVMSG])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([recvmsg.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SENDMSG])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_SENDMSG], [/* Define if you have the function \`sendmsg'. */
++#undef HAVE_SENDMSG])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([sendmsg.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SETEGID])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_SETEGID], [/* Define if you have the function \`setegid'. */
++#undef HAVE_SETEGID])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([setegid.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SETENV])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_SETENV], [/* Define if you have the function \`setenv'. */
++#undef HAVE_SETENV])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([setenv.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SETEUID])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_SETEUID], [/* Define if you have the function \`seteuid'. */
++#undef HAVE_SETEUID])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([seteuid.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRCASECMP])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_STRCASECMP], [/* Define if you have the function \`strcasecmp'. */
++#undef HAVE_STRCASECMP])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([strcasecmp.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRDUP])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_STRDUP], [/* Define if you have the function \`strdup'. */
++#undef HAVE_STRDUP])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([strdup.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRERROR])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_STRERROR], [/* Define if you have the function \`strerror'. */
++#undef HAVE_STRERROR])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([strerror.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRFTIME])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_STRFTIME], [/* Define if you have the function \`strftime'. */
++#undef HAVE_STRFTIME])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([strftime.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRLCAT])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_STRLCAT], [/* Define if you have the function \`strlcat'. */
++#undef HAVE_STRLCAT])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([strlcat.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRLCPY])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_STRLCPY], [/* Define if you have the function \`strlcpy'. */
++#undef HAVE_STRLCPY])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([strlcpy.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRLWR])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_STRLWR], [/* Define if you have the function \`strlwr'. */
++#undef HAVE_STRLWR])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([strlwr.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRNCASECMP])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_STRNCASECMP], [/* Define if you have the function \`strncasecmp'. */
++#undef HAVE_STRNCASECMP])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([strncasecmp.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRNDUP])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_STRNDUP], [/* Define if you have the function \`strndup'. */
++#undef HAVE_STRNDUP])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([strndup.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRNLEN])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_STRNLEN], [/* Define if you have the function \`strnlen'. */
++#undef HAVE_STRNLEN])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([strnlen.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRPTIME])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_STRPTIME], [/* Define if you have the function \`strptime'. */
++#undef HAVE_STRPTIME])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([strptime.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRSEP])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_STRSEP], [/* Define if you have the function \`strsep'. */
++#undef HAVE_STRSEP])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([strsep.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRSEP_COPY])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_STRSEP_COPY], [/* Define if you have the function \`strsep_copy'. */
++#undef HAVE_STRSEP_COPY])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([strsep_copy.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRTOK_R])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_STRTOK_R], [/* Define if you have the function \`strtok_r'. */
++#undef HAVE_STRTOK_R])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([strtok_r.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUPR])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_STRUPR], [/* Define if you have the function \`strupr'. */
++#undef HAVE_STRUPR])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([strupr.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SWAB])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_SWAB], [/* Define if you have the function \`swab'. */
++#undef HAVE_SWAB])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([swab.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_UNSETENV])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_UNSETENV], [/* Define if you have the function \`unsetenv'. */
++#undef HAVE_UNSETENV])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([unsetenv.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_VERR])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_VERR], [/* Define if you have the function \`verr'. */
++#undef HAVE_VERR])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([verr.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_VERRX])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_VERRX], [/* Define if you have the function \`verrx'. */
++#undef HAVE_VERRX])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([verrx.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_VSYSLOG])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_VSYSLOG], [/* Define if you have the function \`vsyslog'. */
++#undef HAVE_VSYSLOG])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([vsyslog.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_VWARN])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_VWARN], [/* Define if you have the function \`vwarn'. */
++#undef HAVE_VWARN])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([vwarn.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_VWARNX])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_VWARNX], [/* Define if you have the function \`vwarnx'. */
++#undef HAVE_VWARNX])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([vwarnx.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WARN])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_WARN], [/* Define if you have the function \`warn'. */
++#undef HAVE_WARN])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([warn.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WARNX])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_WARNX], [/* Define if you have the function \`warnx'. */
++#undef HAVE_WARNX])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([warnx.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WRITEV])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_WRITEV], [/* Define if you have the function \`writev'. */
++#undef HAVE_WRITEV])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([writev.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([NEED_STRNDUP_PROTO])
++m4trace:configure.in:187: -1- AH_OUTPUT([NEED_STRNDUP_PROTO], [/* define if the system is missing a prototype for strndup() */
++#undef NEED_STRNDUP_PROTO])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([NEED_STRSEP_PROTO])
++m4trace:configure.in:187: -1- AH_OUTPUT([NEED_STRSEP_PROTO], [/* define if the system is missing a prototype for strsep() */
++#undef NEED_STRSEP_PROTO])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([NEED_STRTOK_R_PROTO])
++m4trace:configure.in:187: -1- AH_OUTPUT([NEED_STRTOK_R_PROTO], [/* define if the system is missing a prototype for strtok_r() */
++#undef NEED_STRTOK_R_PROTO])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([NEED_STRSVIS_PROTO])
++m4trace:configure.in:187: -1- AH_OUTPUT([NEED_STRSVIS_PROTO], [/* define if the system is missing a prototype for strsvis() */
++#undef NEED_STRSVIS_PROTO])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([NEED_STRUNVIS_PROTO])
++m4trace:configure.in:187: -1- AH_OUTPUT([NEED_STRUNVIS_PROTO], [/* define if the system is missing a prototype for strunvis() */
++#undef NEED_STRUNVIS_PROTO])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([NEED_STRVIS_PROTO])
++m4trace:configure.in:187: -1- AH_OUTPUT([NEED_STRVIS_PROTO], [/* define if the system is missing a prototype for strvis() */
++#undef NEED_STRVIS_PROTO])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([NEED_STRVISX_PROTO])
++m4trace:configure.in:187: -1- AH_OUTPUT([NEED_STRVISX_PROTO], [/* define if the system is missing a prototype for strvisx() */
++#undef NEED_STRVISX_PROTO])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([NEED_SVIS_PROTO])
++m4trace:configure.in:187: -1- AH_OUTPUT([NEED_SVIS_PROTO], [/* define if the system is missing a prototype for svis() */
++#undef NEED_SVIS_PROTO])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([NEED_UNVIS_PROTO])
++m4trace:configure.in:187: -1- AH_OUTPUT([NEED_UNVIS_PROTO], [/* define if the system is missing a prototype for unvis() */
++#undef NEED_UNVIS_PROTO])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([NEED_VIS_PROTO])
++m4trace:configure.in:187: -1- AH_OUTPUT([NEED_VIS_PROTO], [/* define if the system is missing a prototype for vis() */
++#undef NEED_VIS_PROTO])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INET_ATON])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_INET_ATON], [/* define */
++#undef HAVE_INET_ATON])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([inet_aton.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INET_NTOP])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_INET_NTOP], [/* define */
++#undef HAVE_INET_NTOP])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([inet_ntop.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INET_PTON])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_INET_PTON], [/* define */
++#undef HAVE_INET_PTON])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([inet_pton.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_SOCKADDR_SA_LEN])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_STRUCT_SOCKADDR_SA_LEN], [/* Define if struct sockaddr has field sa_len. */
++#undef HAVE_STRUCT_SOCKADDR_SA_LEN])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([getnameinfo.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([getaddrinfo.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_LIBSOURCE([freeaddrinfo.c])
++m4trace:configure.in:187: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([NEED_SETENV_PROTO])
++m4trace:configure.in:187: -1- AH_OUTPUT([NEED_SETENV_PROTO], [/* define if the system is missing a prototype for setenv() */
++#undef NEED_SETENV_PROTO])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([NEED_UNSETENV_PROTO])
++m4trace:configure.in:187: -1- AH_OUTPUT([NEED_UNSETENV_PROTO], [/* define if the system is missing a prototype for unsetenv() */
++#undef NEED_UNSETENV_PROTO])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([NEED_GETHOSTNAME_PROTO])
++m4trace:configure.in:187: -1- AH_OUTPUT([NEED_GETHOSTNAME_PROTO], [/* define if the system is missing a prototype for gethostname() */
++#undef NEED_GETHOSTNAME_PROTO])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([NEED_MKSTEMP_PROTO])
++m4trace:configure.in:187: -1- AH_OUTPUT([NEED_MKSTEMP_PROTO], [/* define if the system is missing a prototype for mkstemp() */
++#undef NEED_MKSTEMP_PROTO])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([NEED_GETUSERSHELL_PROTO])
++m4trace:configure.in:187: -1- AH_OUTPUT([NEED_GETUSERSHELL_PROTO], [/* define if the system is missing a prototype for getusershell() */
++#undef NEED_GETUSERSHELL_PROTO])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([NEED_INET_ATON_PROTO])
++m4trace:configure.in:187: -1- AH_OUTPUT([NEED_INET_ATON_PROTO], [/* define if the system is missing a prototype for inet_aton() */
++#undef NEED_INET_ATON_PROTO])
++m4trace:configure.in:187: -1- AC_CHECK_FUNCS([crypt])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_CRYPT], [/* Define to 1 if you have the \`crypt' function. */
++#undef HAVE_CRYPT])
++m4trace:configure.in:187: -1- AC_SUBST([LIB_crypt])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([BROKEN_REALLOC])
++m4trace:configure.in:187: -1- AH_OUTPUT([BROKEN_REALLOC], [/* Define if realloc(NULL) doesn't work. */
++#undef BROKEN_REALLOC])
++m4trace:configure.in:187: -1- AH_OUTPUT([zzzz6], [#ifdef BROKEN_REALLOC
++#define realloc(X, Y) isoc_realloc((X), (Y))
++#define isoc_realloc(X, Y) ((X) ? realloc((X), (Y)) : malloc(Y))
++#endif])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([GETHOSTBYNAME_PROTO_COMPATIBLE])
++m4trace:configure.in:187: -1- AH_OUTPUT([GETHOSTBYNAME_PROTO_COMPATIBLE], [/* define if prototype of gethostbyname is compatible with struct hostent
++   *gethostbyname(const char *) */
++#undef GETHOSTBYNAME_PROTO_COMPATIBLE])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([GETHOSTBYADDR_PROTO_COMPATIBLE])
++m4trace:configure.in:187: -1- AH_OUTPUT([GETHOSTBYADDR_PROTO_COMPATIBLE], [/* define if prototype of gethostbyaddr is compatible with struct hostent
++   *gethostbyaddr(const void *, size_t, int) */
++#undef GETHOSTBYADDR_PROTO_COMPATIBLE])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([GETSERVBYNAME_PROTO_COMPATIBLE])
++m4trace:configure.in:187: -1- AH_OUTPUT([GETSERVBYNAME_PROTO_COMPATIBLE], [/* define if prototype of getservbyname is compatible with struct servent
++   *getservbyname(const char *, const char *) */
++#undef GETSERVBYNAME_PROTO_COMPATIBLE])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([GETSOCKNAME_PROTO_COMPATIBLE])
++m4trace:configure.in:187: -1- AH_OUTPUT([GETSOCKNAME_PROTO_COMPATIBLE], [/* define if prototype of getsockname is compatible with int getsockname(int,
++   struct sockaddr*, socklen_t*) */
++#undef GETSOCKNAME_PROTO_COMPATIBLE])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([OPENLOG_PROTO_COMPATIBLE])
++m4trace:configure.in:187: -1- AH_OUTPUT([OPENLOG_PROTO_COMPATIBLE], [/* define if prototype of openlog is compatible with void openlog(const char
++   *, int, int) */
++#undef OPENLOG_PROTO_COMPATIBLE])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([NEED_CRYPT_PROTO])
++m4trace:configure.in:187: -1- AH_OUTPUT([NEED_CRYPT_PROTO], [/* define if the system is missing a prototype for crypt() */
++#undef NEED_CRYPT_PROTO])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_H_ERRNO])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_H_ERRNO], [/* Define if you have the \`h_errno' variable. */
++#undef HAVE_H_ERRNO])
++m4trace:configure.in:187: -2- AC_DEFINE_TRACE_LITERAL([HAVE_H_ERRNO_DECLARATION])
++m4trace:configure.in:187: -2- AH_OUTPUT([HAVE_H_ERRNO_DECLARATION], [/* define if your system declares h_errno */
++#undef HAVE_H_ERRNO_DECLARATION])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_H_ERRLIST])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_H_ERRLIST], [/* Define if you have the \`h_errlist' variable. */
++#undef HAVE_H_ERRLIST])
++m4trace:configure.in:187: -2- AC_DEFINE_TRACE_LITERAL([HAVE_H_ERRLIST_DECLARATION])
++m4trace:configure.in:187: -2- AH_OUTPUT([HAVE_H_ERRLIST_DECLARATION], [/* define if your system declares h_errlist */
++#undef HAVE_H_ERRLIST_DECLARATION])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_H_NERR])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_H_NERR], [/* Define if you have the \`h_nerr' variable. */
++#undef HAVE_H_NERR])
++m4trace:configure.in:187: -2- AC_DEFINE_TRACE_LITERAL([HAVE_H_NERR_DECLARATION])
++m4trace:configure.in:187: -2- AH_OUTPUT([HAVE_H_NERR_DECLARATION], [/* define if your system declares h_nerr */
++#undef HAVE_H_NERR_DECLARATION])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE___PROGNAME])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE___PROGNAME], [/* Define if you have the \`__progname' variable. */
++#undef HAVE___PROGNAME])
++m4trace:configure.in:187: -2- AC_DEFINE_TRACE_LITERAL([HAVE___PROGNAME_DECLARATION])
++m4trace:configure.in:187: -2- AH_OUTPUT([HAVE___PROGNAME_DECLARATION], [/* define if your system declares __progname */
++#undef HAVE___PROGNAME_DECLARATION])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OPTARG_DECLARATION])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_OPTARG_DECLARATION], [/* define if your system declares optarg */
++#undef HAVE_OPTARG_DECLARATION])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OPTIND_DECLARATION])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_OPTIND_DECLARATION], [/* define if your system declares optind */
++#undef HAVE_OPTIND_DECLARATION])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OPTERR_DECLARATION])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_OPTERR_DECLARATION], [/* define if your system declares opterr */
++#undef HAVE_OPTERR_DECLARATION])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OPTOPT_DECLARATION])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_OPTOPT_DECLARATION], [/* define if your system declares optopt */
++#undef HAVE_OPTOPT_DECLARATION])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ENVIRON_DECLARATION])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_ENVIRON_DECLARATION], [/* define if your system declares environ */
++#undef HAVE_ENVIRON_DECLARATION])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_TM_TM_GMTOFF])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_STRUCT_TM_TM_GMTOFF], [/* Define if struct tm has field tm_gmtoff. */
++#undef HAVE_STRUCT_TM_TM_GMTOFF])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_TM_TM_ZONE])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_STRUCT_TM_TM_ZONE], [/* Define if struct tm has field tm_zone. */
++#undef HAVE_STRUCT_TM_TM_ZONE])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_TIMEZONE])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_TIMEZONE], [/* Define if you have the \`timezone' variable. */
++#undef HAVE_TIMEZONE])
++m4trace:configure.in:187: -2- AC_DEFINE_TRACE_LITERAL([HAVE_TIMEZONE_DECLARATION])
++m4trace:configure.in:187: -2- AH_OUTPUT([HAVE_TIMEZONE_DECLARATION], [/* define if your system declares timezone */
++#undef HAVE_TIMEZONE_DECLARATION])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ALTZONE])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_ALTZONE], [/* Define if you have the \`altzone' variable. */
++#undef HAVE_ALTZONE])
++m4trace:configure.in:187: -2- AC_DEFINE_TRACE_LITERAL([HAVE_ALTZONE_DECLARATION])
++m4trace:configure.in:187: -2- AH_OUTPUT([HAVE_ALTZONE_DECLARATION], [/* define if your system declares altzone */
++#undef HAVE_ALTZONE_DECLARATION])
++m4trace:configure.in:187: -1- AC_CHECK_TYPES([sa_family_t])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SA_FAMILY_T])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_SA_FAMILY_T], [/* Define to 1 if the system has the type \`sa_family_t'. */
++#undef HAVE_SA_FAMILY_T])
++m4trace:configure.in:187: -1- AC_CHECK_TYPES([socklen_t])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SOCKLEN_T])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_SOCKLEN_T], [/* Define to 1 if the system has the type \`socklen_t'. */
++#undef HAVE_SOCKLEN_T])
++m4trace:configure.in:187: -1- AC_CHECK_TYPES([struct sockaddr])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_SOCKADDR])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_STRUCT_SOCKADDR], [/* Define to 1 if the system has the type \`struct sockaddr'. */
++#undef HAVE_STRUCT_SOCKADDR])
++m4trace:configure.in:187: -1- AC_CHECK_TYPES([struct sockaddr_storage])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_SOCKADDR_STORAGE])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_STRUCT_SOCKADDR_STORAGE], [/* Define to 1 if the system has the type \`struct sockaddr_storage'. */
++#undef HAVE_STRUCT_SOCKADDR_STORAGE])
++m4trace:configure.in:187: -1- AC_CHECK_TYPES([struct addrinfo])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_ADDRINFO])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_STRUCT_ADDRINFO], [/* Define to 1 if the system has the type \`struct addrinfo'. */
++#undef HAVE_STRUCT_ADDRINFO])
++m4trace:configure.in:187: -1- AC_CHECK_TYPES([struct ifaddrs])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_IFADDRS])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_STRUCT_IFADDRS], [/* Define to 1 if the system has the type \`struct ifaddrs'. */
++#undef HAVE_STRUCT_IFADDRS])
++m4trace:configure.in:187: -1- AC_CHECK_TYPES([struct iovec])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_IOVEC])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_STRUCT_IOVEC], [/* Define to 1 if the system has the type \`struct iovec'. */
++#undef HAVE_STRUCT_IOVEC])
++m4trace:configure.in:187: -1- AC_CHECK_TYPES([struct msghdr])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_MSGHDR])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_STRUCT_MSGHDR], [/* Define to 1 if the system has the type \`struct msghdr'. */
++#undef HAVE_STRUCT_MSGHDR])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_WINSIZE])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_STRUCT_WINSIZE], [/* define if struct winsize is declared in sys/termios.h */
++#undef HAVE_STRUCT_WINSIZE])
++m4trace:configure.in:187: -2- AC_DEFINE_TRACE_LITERAL([HAVE_WS_XPIXEL])
++m4trace:configure.in:187: -2- AH_OUTPUT([HAVE_WS_XPIXEL], [/* define if struct winsize has ws_xpixel */
++#undef HAVE_WS_XPIXEL])
++m4trace:configure.in:187: -2- AC_DEFINE_TRACE_LITERAL([HAVE_WS_YPIXEL])
++m4trace:configure.in:187: -2- AH_OUTPUT([HAVE_WS_YPIXEL], [/* define if struct winsize has ws_ypixel */
++#undef HAVE_WS_YPIXEL])
++m4trace:configure.in:187: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_SPWD])
++m4trace:configure.in:187: -1- AH_OUTPUT([HAVE_STRUCT_SPWD], [/* define if you have struct spwd */
++#undef HAVE_STRUCT_SPWD])
++m4trace:configure.in:191: -1- AC_DEFINE_TRACE_LITERAL([OTP])
++m4trace:configure.in:191: -1- AH_OUTPUT([OTP], [/* Define if you want OTP support in applications. */
++#undef OTP])
++m4trace:configure.in:191: -1- AM_CONDITIONAL([OTP], [test "$enable_otp" = yes])
++m4trace:configure.in:191: -1- AC_SUBST([OTP_TRUE])
++m4trace:configure.in:191: -1- AC_SUBST([OTP_FALSE])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OSFC2])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_OSFC2], [/* Define to enable basic OSF C2 support. */
++#undef HAVE_OSFC2])
++m4trace:configure.in:193: -1- AC_SUBST([LIB_security])
++m4trace:configure.in:198: -1- AC_DEFINE_TRACE_LITERAL([NO_MMAP])
++m4trace:configure.in:198: -1- AH_OUTPUT([NO_MMAP], [/* Define if you don't want to use mmap. */
++#undef NO_MMAP])
++m4trace:configure.in:201: -1- AC_SUBST([NROFF], [$ac_cv_path_NROFF])
++m4trace:configure.in:201: -1- AC_SUBST([GROFF], [$ac_cv_path_GROFF])
++m4trace:configure.in:201: -1- AC_SUBST([CATMAN])
++m4trace:configure.in:201: -1- AM_CONDITIONAL([CATMAN], [test "$CATMAN"])
++m4trace:configure.in:201: -1- AC_SUBST([CATMAN_TRUE])
++m4trace:configure.in:201: -1- AC_SUBST([CATMAN_FALSE])
++m4trace:configure.in:201: -1- AC_SUBST([CATMANEXT])
++m4trace:configure.in:205: -1- AC_DEFINE_TRACE_LITERAL([READLINE])
++m4trace:configure.in:205: -1- AH_OUTPUT([READLINE], [/* Define if you have the readline package. */
++#undef READLINE])
++m4trace:configure.in:205: -1- AC_SUBST([DIR_readline])
++m4trace:configure.in:205: -1- AC_SUBST([INCLUDE_readline])
++m4trace:configure.in:205: -1- AC_SUBST([LIB_readline])
++m4trace:configure.in:207: -1- AC_DEFINE_TRACE_LITERAL([HESIOD])
++m4trace:configure.in:207: -1- AH_OUTPUT([HESIOD], [/* Define if you have the hesiod package. */
++#undef HESIOD])
++m4trace:configure.in:207: -1- AC_SUBST([DIR_hesiod])
++m4trace:configure.in:207: -1- AC_SUBST([INCLUDE_hesiod])
++m4trace:configure.in:207: -1- AC_SUBST([LIB_hesiod])
++m4trace:configure.in:209: -1- AC_DEFINE_TRACE_LITERAL([SL])
++m4trace:configure.in:209: -1- AH_OUTPUT([SL], [/* Define if you have the sl package. */
++#undef SL])
++m4trace:configure.in:209: -1- AC_SUBST([DIR_sl])
++m4trace:configure.in:209: -1- AC_SUBST([INCLUDE_sl])
++m4trace:configure.in:209: -1- AC_SUBST([LIB_sl])
++m4trace:configure.in:214: -1- AC_DEFINE_TRACE_LITERAL([SS])
++m4trace:configure.in:214: -1- AH_OUTPUT([SS], [/* Define if you have the ss package. */
++#undef SS])
++m4trace:configure.in:214: -1- AC_SUBST([DIR_ss])
++m4trace:configure.in:214: -1- AC_SUBST([INCLUDE_ss])
++m4trace:configure.in:214: -1- AC_SUBST([LIB_ss])
++m4trace:configure.in:222: -1- AC_DEFINE_TRACE_LITERAL([OTP])
++m4trace:configure.in:222: -1- AH_OUTPUT([OTP], [/* Define if you have the otp package. */
++#undef OTP])
++m4trace:configure.in:222: -1- AC_SUBST([DIR_otp])
++m4trace:configure.in:222: -1- AC_SUBST([INCLUDE_otp])
++m4trace:configure.in:222: -1- AC_SUBST([LIB_otp])
++m4trace:configure.in:229: -1- AC_DEFINE_TRACE_LITERAL([WORDS_BIGENDIAN])
++m4trace:configure.in:229: -1- AH_OUTPUT([WORDS_BIGENDIAN], [/* define if target is big endian */
++#undef WORDS_BIGENDIAN])
++m4trace:configure.in:229: -1- AC_DEFINE_TRACE_LITERAL([ENDIANESS_IN_SYS_PARAM_H])
++m4trace:configure.in:229: -1- AH_OUTPUT([ENDIANESS_IN_SYS_PARAM_H], [/* define if sys/param.h defines the endiness */
++#undef ENDIANESS_IN_SYS_PARAM_H])
++m4trace:configure.in:229: -1- AH_OUTPUT([zzzz7], [
++#if ENDIANESS_IN_SYS_PARAM_H
++#  include <sys/types.h>
++#  include <sys/param.h>
++#  if BYTE_ORDER == BIG_ENDIAN
++#  define WORDS_BIGENDIAN 1
++#  endif
++#endif
++])
++m4trace:configure.in:230: -1- AC_C_INLINE
++m4trace:configure.in:230: -1- AC_DEFINE_TRACE_LITERAL([inline])
++m4trace:configure.in:230: -1- AH_OUTPUT([inline], [/* Define as \`__inline' if that's what the C compiler calls it, or to nothing
++   if it is not supported. */
++#undef inline])
++m4trace:configure.in:230: -1- AC_DEFINE_TRACE_LITERAL([inline])
++m4trace:configure.in:232: -1- AM_CONDITIONAL([AIX], [test "$aix" != no])
++m4trace:configure.in:232: -1- AC_SUBST([AIX_TRUE])
++m4trace:configure.in:232: -1- AC_SUBST([AIX_FALSE])
++m4trace:configure.in:232: -1- AM_CONDITIONAL([AIX4], [test "$aix" = 4])
++m4trace:configure.in:232: -1- AC_SUBST([AIX4_TRUE])
++m4trace:configure.in:232: -1- AC_SUBST([AIX4_FALSE])
++m4trace:configure.in:232: -1- AC_CHECK_FUNCS([dlopen])
++m4trace:configure.in:232: -1- AH_OUTPUT([HAVE_DLOPEN], [/* Define to 1 if you have the \`dlopen' function. */
++#undef HAVE_DLOPEN])
++m4trace:configure.in:232: -1- AC_SUBST([LIB_dlopen])
++m4trace:configure.in:232: -1- AM_CONDITIONAL([HAVE_DLOPEN], [test "$ac_cv_funclib_dlopen" != no])
++m4trace:configure.in:232: -1- AC_SUBST([HAVE_DLOPEN_TRUE])
++m4trace:configure.in:232: -1- AC_SUBST([HAVE_DLOPEN_FALSE])
++m4trace:configure.in:232: -1- AC_CHECK_FUNCS([loadquery])
++m4trace:configure.in:232: -1- AH_OUTPUT([HAVE_LOADQUERY], [/* Define to 1 if you have the \`loadquery' function. */
++#undef HAVE_LOADQUERY])
++m4trace:configure.in:232: -1- AC_SUBST([LIB_loadquery])
++m4trace:configure.in:232: -1- AM_CONDITIONAL([AIX_DYNAMIC_AFS], [test "$enable_dynamic_afs" != no])
++m4trace:configure.in:232: -1- AC_SUBST([AIX_DYNAMIC_AFS_TRUE])
++m4trace:configure.in:232: -1- AC_SUBST([AIX_DYNAMIC_AFS_FALSE])
++m4trace:configure.in:232: -1- AC_SUBST([AIX_EXTRA_KAFS])
++m4trace:configure.in:232: -1- AH_OUTPUT([zzzz8], [#if _AIX
++#define _ALL_SOURCE
++/* XXX this is gross, but kills about a gazillion warnings */
++struct ether_addr;
++struct sockaddr;
++struct sockaddr_dl;
++struct sockaddr_in;
++#endif])
++m4trace:configure.in:233: -1- AC_DEFINE_TRACE_LITERAL([IRIX4])
++m4trace:configure.in:233: -1- AH_OUTPUT([IRIX4], [/* Define if you are running IRIX 4. */
++#undef IRIX4])
++m4trace:configure.in:233: -1- AM_CONDITIONAL([IRIX], [test "$irix" != no])
++m4trace:configure.in:233: -1- AC_SUBST([IRIX_TRUE])
++m4trace:configure.in:233: -1- AC_SUBST([IRIX_FALSE])
++m4trace:configure.in:233: -1- AH_OUTPUT([zzzz9], [
++/* IRIX 4 braindamage */
++#if IRIX == 4 && !defined(__STDC__)
++#define __STDC__ 0
++#endif
++])
++m4trace:configure.in:234: -1- AC_DEFINE_TRACE_LITERAL([SunOS])
++m4trace:configure.in:234: -1- AH_OUTPUT([SunOS], [/* Define to what version of SunOS you are running. */
++#undef SunOS])
++m4trace:configure.in:236: -1- AC_PATH_X
++m4trace:configure.in:236: -1- AC_DEFINE_TRACE_LITERAL([X_DISPLAY_MISSING])
++m4trace:configure.in:236: -1- AH_OUTPUT([X_DISPLAY_MISSING], [/* Define to 1 if the X Window System is missing or not being used. */
++#undef X_DISPLAY_MISSING])
++m4trace:configure.in:236: -1- AC_CHECK_LIB([dnet], [dnet_ntoa], [X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"])
++m4trace:configure.in:236: -1- AC_CHECK_LIB([dnet_stub], [dnet_ntoa], [X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"])
++m4trace:configure.in:236: -1- AC_CHECK_LIB([nsl], [gethostbyname], [X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"])
++m4trace:configure.in:236: -1- AC_CHECK_LIB([bsd], [gethostbyname], [X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"])
++m4trace:configure.in:236: -1- AC_CHECK_LIB([socket], [connect], [X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"], [], [$X_EXTRA_LIBS])
++m4trace:configure.in:236: -1- AC_CHECK_LIB([posix], [remove], [X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"])
++m4trace:configure.in:236: -1- AC_CHECK_LIB([ipc], [shmat], [X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"])
++m4trace:configure.in:236: -1- AC_CHECK_LIB([ICE], [IceConnectionNumber], [X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"], [], [$X_EXTRA_LIBS])
++m4trace:configure.in:236: -1- AC_SUBST([X_CFLAGS])
++m4trace:configure.in:236: -1- AC_SUBST([X_PRE_LIBS])
++m4trace:configure.in:236: -1- AC_SUBST([X_LIBS])
++m4trace:configure.in:236: -1- AC_SUBST([X_EXTRA_LIBS])
++m4trace:configure.in:238: -1- AM_CONDITIONAL([HAVE_X], [test "$no_x" != yes])
++m4trace:configure.in:238: -1- AC_SUBST([HAVE_X_TRUE])
++m4trace:configure.in:238: -1- AC_SUBST([HAVE_X_FALSE])
++m4trace:configure.in:240: -1- AC_CHECK_FUNCS([XauWriteAuth])
++m4trace:configure.in:240: -1- AH_OUTPUT([HAVE_XAUWRITEAUTH], [/* Define to 1 if you have the \`XauWriteAuth' function. */
++#undef HAVE_XAUWRITEAUTH])
++m4trace:configure.in:240: -1- AC_SUBST([LIB_XauWriteAuth])
++m4trace:configure.in:240: -1- AC_CHECK_FUNCS([XauReadAuth])
++m4trace:configure.in:240: -1- AH_OUTPUT([HAVE_XAUREADAUTH], [/* Define to 1 if you have the \`XauReadAuth' function. */
++#undef HAVE_XAUREADAUTH])
++m4trace:configure.in:240: -1- AC_SUBST([LIB_XauReadAuth])
++m4trace:configure.in:240: -1- AC_CHECK_FUNCS([XauFileName])
++m4trace:configure.in:240: -1- AH_OUTPUT([HAVE_XAUFILENAME], [/* Define to 1 if you have the \`XauFileName' function. */
++#undef HAVE_XAUFILENAME])
++m4trace:configure.in:240: -1- AC_SUBST([LIB_XauFileName])
++m4trace:configure.in:240: -1- AM_CONDITIONAL([NEED_WRITEAUTH], [test "$ac_cv_func_XauWriteAuth" != "yes"])
++m4trace:configure.in:240: -1- AC_SUBST([NEED_WRITEAUTH_TRUE])
++m4trace:configure.in:240: -1- AC_SUBST([NEED_WRITEAUTH_FALSE])
++m4trace:configure.in:240: -1- AC_SUBST([NEED_WRITEAUTH_TRUE])
++m4trace:configure.in:240: -1- AC_SUBST([NEED_WRITEAUTH_FALSE])
++m4trace:configure.in:245: -1- AC_C_CONST
++m4trace:configure.in:245: -1- AC_DEFINE_TRACE_LITERAL([const])
++m4trace:configure.in:245: -1- AH_OUTPUT([const], [/* Define to empty if \`const' does not conform to ANSI C. */
++#undef const])
++m4trace:configure.in:246: -1- AC_TYPE_OFF_T
++m4trace:configure.in:246: -1- AC_DEFINE_TRACE_LITERAL([off_t])
++m4trace:configure.in:246: -1- AH_OUTPUT([off_t], [/* Define to \`long' if <sys/types.h> does not define. */
++#undef off_t])
++m4trace:configure.in:247: -1- AC_DEFINE_TRACE_LITERAL([mode_t])
++m4trace:configure.in:247: -1- AH_OUTPUT([mode_t], [/* Define this to what the type mode_t should be. */
++#undef mode_t])
++m4trace:configure.in:248: -1- AC_DEFINE_TRACE_LITERAL([sig_atomic_t])
++m4trace:configure.in:248: -1- AH_OUTPUT([sig_atomic_t], [/* Define this to what the type sig_atomic_t should be. */
++#undef sig_atomic_t])
++m4trace:configure.in:249: -1- AC_CHECK_TYPES([long long])
++m4trace:configure.in:249: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LONG_LONG])
++m4trace:configure.in:249: -1- AH_OUTPUT([HAVE_LONG_LONG], [/* Define to 1 if the system has the type \`long long'. */
++#undef HAVE_LONG_LONG])
++m4trace:configure.in:250: -1- AC_HEADER_TIME
++m4trace:configure.in:250: -1- AC_DEFINE_TRACE_LITERAL([TIME_WITH_SYS_TIME])
++m4trace:configure.in:250: -1- AH_OUTPUT([TIME_WITH_SYS_TIME], [/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
++#undef TIME_WITH_SYS_TIME])
++m4trace:configure.in:251: -1- AC_STRUCT_TM
++m4trace:configure.in:251: -1- AC_DEFINE_TRACE_LITERAL([TM_IN_SYS_TIME])
++m4trace:configure.in:251: -1- AH_OUTPUT([TM_IN_SYS_TIME], [/* Define to 1 if your <sys/time.h> declares \`struct tm'. */
++#undef TM_IN_SYS_TIME])
++m4trace:configure.in:254: -1- AC_HEADER_STDC
++m4trace:configure.in:254: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS])
++m4trace:configure.in:254: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */
++#undef STDC_HEADERS])
++m4trace:configure.in:307: -1- AC_CHECK_HEADERS([\
++	arpa/ftp.h				\
++	arpa/telnet.h				\
++	bind/bitypes.h				\
++	bsdsetjmp.h				\
++	curses.h				\
++	dlfcn.h					\
++	fnmatch.h				\
++	inttypes.h				\
++	io.h					\
++	libutil.h				\
++	limits.h				\
++	maillock.h				\
++	netgroup.h				\
++	netinet/in6_machtypes.h			\
++	netinfo/ni.h				\
++	pthread.h				\
++	pty.h					\
++	sac.h					\
++	security/pam_modules.h			\
++	sgtty.h					\
++	siad.h					\
++	signal.h				\
++	stropts.h				\
++	sys/bitypes.h				\
++	sys/category.h				\
++	sys/file.h				\
++	sys/filio.h				\
++	sys/ioccom.h				\
++	sys/mman.h				\
++	sys/pty.h				\
++	sys/ptyio.h				\
++	sys/ptyvar.h				\
++	sys/select.h				\
++	sys/str_tty.h				\
++	sys/stream.h				\
++	sys/stropts.h				\
++	sys/strtty.h				\
++	sys/syscall.h				\
++	sys/termio.h				\
++	sys/timeb.h				\
++	sys/times.h				\
++	sys/un.h				\
++	term.h					\
++	termcap.h				\
++	termio.h				\
++	time.h					\
++	tmpdir.h				\
++	udb.h					\
++	utmp.h					\
++	utmpx.h					\
++])
++m4trace:configure.in:307: -1- AH_OUTPUT([HAVE_ARPA_FTP_H], [/* Define to 1 if you have the <arpa/ftp.h> header file. */
++#undef HAVE_ARPA_FTP_H])
++m4trace:configure.in:307: -1- AH_OUTPUT([HAVE_ARPA_TELNET_H], [/* Define to 1 if you have the <arpa/telnet.h> header file. */
++#undef HAVE_ARPA_TELNET_H])
++m4trace:configure.in:307: -1- AH_OUTPUT([HAVE_BIND_BITYPES_H], [/* Define to 1 if you have the <bind/bitypes.h> header file. */
++#undef HAVE_BIND_BITYPES_H])
++m4trace:configure.in:307: -1- AH_OUTPUT([HAVE_BSDSETJMP_H], [/* Define to 1 if you have the <bsdsetjmp.h> header file. */
++#undef HAVE_BSDSETJMP_H])
++m4trace:configure.in:307: -1- AH_OUTPUT([HAVE_CURSES_H], [/* Define to 1 if you have the <curses.h> header file. */
++#undef HAVE_CURSES_H])
++m4trace:configure.in:307: -1- AH_OUTPUT([HAVE_DLFCN_H], [/* Define to 1 if you have the <dlfcn.h> header file. */
++#undef HAVE_DLFCN_H])
++m4trace:configure.in:307: -1- AH_OUTPUT([HAVE_FNMATCH_H], [/* Define to 1 if you have the <fnmatch.h> header file. */
++#undef HAVE_FNMATCH_H])
++m4trace:configure.in:307: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */
++#undef HAVE_INTTYPES_H])
++m4trace:configure.in:307: -1- AH_OUTPUT([HAVE_IO_H], [/* Define to 1 if you have the <io.h> header file. */
++#undef HAVE_IO_H])
++m4trace:configure.in:307: -1- AH_OUTPUT([HAVE_LIBUTIL_H], [/* Define to 1 if you have the <libutil.h> header file. */
++#undef HAVE_LIBUTIL_H])
++m4trace:configure.in:307: -1- AH_OUTPUT([HAVE_LIMITS_H], [/* Define to 1 if you have the <limits.h> header file. */
++#undef HAVE_LIMITS_H])
++m4trace:configure.in:307: -1- AH_OUTPUT([HAVE_MAILLOCK_H], [/* Define to 1 if you have the <maillock.h> header file. */
++#undef HAVE_MAILLOCK_H])
++m4trace:configure.in:307: -1- AH_OUTPUT([HAVE_NETGROUP_H], [/* Define to 1 if you have the <netgroup.h> header file. */
++#undef HAVE_NETGROUP_H])
++m4trace:configure.in:307: -1- AH_OUTPUT([HAVE_NETINET_IN6_MACHTYPES_H], [/* Define to 1 if you have the <netinet/in6_machtypes.h> header file. */
++#undef HAVE_NETINET_IN6_MACHTYPES_H])
++m4trace:configure.in:307: -1- AH_OUTPUT([HAVE_NETINFO_NI_H], [/* Define to 1 if you have the <netinfo/ni.h> header file. */
++#undef HAVE_NETINFO_NI_H])
++m4trace:configure.in:307: -1- AH_OUTPUT([HAVE_PTHREAD_H], [/* Define to 1 if you have the <pthread.h> header file. */
++#undef HAVE_PTHREAD_H])
++m4trace:configure.in:307: -1- AH_OUTPUT([HAVE_PTY_H], [/* Define to 1 if you have the <pty.h> header file. */
++#undef HAVE_PTY_H])
++m4trace:configure.in:307: -1- AH_OUTPUT([HAVE_SAC_H], [/* Define to 1 if you have the <sac.h> header file. */
++#undef HAVE_SAC_H])
++m4trace:configure.in:307: -1- AH_OUTPUT([HAVE_SECURITY_PAM_MODULES_H], [/* Define to 1 if you have the <security/pam_modules.h> header file. */
++#undef HAVE_SECURITY_PAM_MODULES_H])
++m4trace:configure.in:307: -1- AH_OUTPUT([HAVE_SGTTY_H], [/* Define to 1 if you have the <sgtty.h> header file. */
++#undef HAVE_SGTTY_H])
++m4trace:configure.in:307: -1- AH_OUTPUT([HAVE_SIAD_H], [/* Define to 1 if you have the <siad.h> header file. */
++#undef HAVE_SIAD_H])
++m4trace:configure.in:307: -1- AH_OUTPUT([HAVE_SIGNAL_H], [/* Define to 1 if you have the <signal.h> header file. */
++#undef HAVE_SIGNAL_H])
++m4trace:configure.in:307: -1- AH_OUTPUT([HAVE_STROPTS_H], [/* Define to 1 if you have the <stropts.h> header file. */
++#undef HAVE_STROPTS_H])
++m4trace:configure.in:307: -1- AH_OUTPUT([HAVE_SYS_BITYPES_H], [/* Define to 1 if you have the <sys/bitypes.h> header file. */
++#undef HAVE_SYS_BITYPES_H])
++m4trace:configure.in:307: -1- AH_OUTPUT([HAVE_SYS_CATEGORY_H], [/* Define to 1 if you have the <sys/category.h> header file. */
++#undef HAVE_SYS_CATEGORY_H])
++m4trace:configure.in:307: -1- AH_OUTPUT([HAVE_SYS_FILE_H], [/* Define to 1 if you have the <sys/file.h> header file. */
++#undef HAVE_SYS_FILE_H])
++m4trace:configure.in:307: -1- AH_OUTPUT([HAVE_SYS_FILIO_H], [/* Define to 1 if you have the <sys/filio.h> header file. */
++#undef HAVE_SYS_FILIO_H])
++m4trace:configure.in:307: -1- AH_OUTPUT([HAVE_SYS_IOCCOM_H], [/* Define to 1 if you have the <sys/ioccom.h> header file. */
++#undef HAVE_SYS_IOCCOM_H])
++m4trace:configure.in:307: -1- AH_OUTPUT([HAVE_SYS_MMAN_H], [/* Define to 1 if you have the <sys/mman.h> header file. */
++#undef HAVE_SYS_MMAN_H])
++m4trace:configure.in:307: -1- AH_OUTPUT([HAVE_SYS_PTY_H], [/* Define to 1 if you have the <sys/pty.h> header file. */
++#undef HAVE_SYS_PTY_H])
++m4trace:configure.in:307: -1- AH_OUTPUT([HAVE_SYS_PTYIO_H], [/* Define to 1 if you have the <sys/ptyio.h> header file. */
++#undef HAVE_SYS_PTYIO_H])
++m4trace:configure.in:307: -1- AH_OUTPUT([HAVE_SYS_PTYVAR_H], [/* Define to 1 if you have the <sys/ptyvar.h> header file. */
++#undef HAVE_SYS_PTYVAR_H])
++m4trace:configure.in:307: -1- AH_OUTPUT([HAVE_SYS_SELECT_H], [/* Define to 1 if you have the <sys/select.h> header file. */
++#undef HAVE_SYS_SELECT_H])
++m4trace:configure.in:307: -1- AH_OUTPUT([HAVE_SYS_STR_TTY_H], [/* Define to 1 if you have the <sys/str_tty.h> header file. */
++#undef HAVE_SYS_STR_TTY_H])
++m4trace:configure.in:307: -1- AH_OUTPUT([HAVE_SYS_STREAM_H], [/* Define to 1 if you have the <sys/stream.h> header file. */
++#undef HAVE_SYS_STREAM_H])
++m4trace:configure.in:307: -1- AH_OUTPUT([HAVE_SYS_STROPTS_H], [/* Define to 1 if you have the <sys/stropts.h> header file. */
++#undef HAVE_SYS_STROPTS_H])
++m4trace:configure.in:307: -1- AH_OUTPUT([HAVE_SYS_STRTTY_H], [/* Define to 1 if you have the <sys/strtty.h> header file. */
++#undef HAVE_SYS_STRTTY_H])
++m4trace:configure.in:307: -1- AH_OUTPUT([HAVE_SYS_SYSCALL_H], [/* Define to 1 if you have the <sys/syscall.h> header file. */
++#undef HAVE_SYS_SYSCALL_H])
++m4trace:configure.in:307: -1- AH_OUTPUT([HAVE_SYS_TERMIO_H], [/* Define to 1 if you have the <sys/termio.h> header file. */
++#undef HAVE_SYS_TERMIO_H])
++m4trace:configure.in:307: -1- AH_OUTPUT([HAVE_SYS_TIMEB_H], [/* Define to 1 if you have the <sys/timeb.h> header file. */
++#undef HAVE_SYS_TIMEB_H])
++m4trace:configure.in:307: -1- AH_OUTPUT([HAVE_SYS_TIMES_H], [/* Define to 1 if you have the <sys/times.h> header file. */
++#undef HAVE_SYS_TIMES_H])
++m4trace:configure.in:307: -1- AH_OUTPUT([HAVE_SYS_UN_H], [/* Define to 1 if you have the <sys/un.h> header file. */
++#undef HAVE_SYS_UN_H])
++m4trace:configure.in:307: -1- AH_OUTPUT([HAVE_TERM_H], [/* Define to 1 if you have the <term.h> header file. */
++#undef HAVE_TERM_H])
++m4trace:configure.in:307: -1- AH_OUTPUT([HAVE_TERMCAP_H], [/* Define to 1 if you have the <termcap.h> header file. */
++#undef HAVE_TERMCAP_H])
++m4trace:configure.in:307: -1- AH_OUTPUT([HAVE_TERMIO_H], [/* Define to 1 if you have the <termio.h> header file. */
++#undef HAVE_TERMIO_H])
++m4trace:configure.in:307: -1- AH_OUTPUT([HAVE_TIME_H], [/* Define to 1 if you have the <time.h> header file. */
++#undef HAVE_TIME_H])
++m4trace:configure.in:307: -1- AH_OUTPUT([HAVE_TMPDIR_H], [/* Define to 1 if you have the <tmpdir.h> header file. */
++#undef HAVE_TMPDIR_H])
++m4trace:configure.in:307: -1- AH_OUTPUT([HAVE_UDB_H], [/* Define to 1 if you have the <udb.h> header file. */
++#undef HAVE_UDB_H])
++m4trace:configure.in:307: -1- AH_OUTPUT([HAVE_UTMP_H], [/* Define to 1 if you have the <utmp.h> header file. */
++#undef HAVE_UTMP_H])
++m4trace:configure.in:307: -1- AH_OUTPUT([HAVE_UTMPX_H], [/* Define to 1 if you have the <utmpx.h> header file. */
++#undef HAVE_UTMPX_H])
++m4trace:configure.in:314: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NETINFO])
++m4trace:configure.in:314: -1- AH_OUTPUT([HAVE_NETINFO], [/* Define if you want to use Netinfo instead of krb5.conf. */
++#undef HAVE_NETINFO])
++m4trace:configure.in:319: -1- AC_CHECK_FUNCS([logwtmp])
++m4trace:configure.in:319: -1- AH_OUTPUT([HAVE_LOGWTMP], [/* Define to 1 if you have the \`logwtmp' function. */
++#undef HAVE_LOGWTMP])
++m4trace:configure.in:319: -1- AC_SUBST([LIB_logwtmp])
++m4trace:configure.in:320: -1- AC_CHECK_FUNCS([logout])
++m4trace:configure.in:320: -1- AH_OUTPUT([HAVE_LOGOUT], [/* Define to 1 if you have the \`logout' function. */
++#undef HAVE_LOGOUT])
++m4trace:configure.in:320: -1- AC_SUBST([LIB_logout])
++m4trace:configure.in:321: -1- AC_CHECK_FUNCS([openpty])
++m4trace:configure.in:321: -1- AH_OUTPUT([HAVE_OPENPTY], [/* Define to 1 if you have the \`openpty' function. */
++#undef HAVE_OPENPTY])
++m4trace:configure.in:321: -1- AC_SUBST([LIB_openpty])
++m4trace:configure.in:322: -1- AC_CHECK_FUNCS([tgetent])
++m4trace:configure.in:322: -1- AH_OUTPUT([HAVE_TGETENT], [/* Define to 1 if you have the \`tgetent' function. */
++#undef HAVE_TGETENT])
++m4trace:configure.in:322: -1- AC_SUBST([LIB_tgetent])
++m4trace:configure.in:355: -1- AC_CHECK_FUNCS([				\
++	_getpty					\
++	_scrsize				\
++	fcntl					\
++	grantpt					\
++	mktime					\
++	ptsname					\
++	rand					\
++	revoke					\
++	select					\
++	setitimer				\
++	setpcred				\
++	setpgid					\
++	setproctitle				\
++	setregid				\
++	setresgid				\
++	setresuid				\
++	setreuid				\
++	setsid					\
++	setutent				\
++	sigaction				\
++	strstr					\
++	timegm					\
++	ttyname					\
++	ttyslot					\
++	umask					\
++	unlockpt				\
++	vhangup					\
++	yp_get_default_domain			\
++])
++m4trace:configure.in:355: -1- AH_OUTPUT([HAVE__GETPTY], [/* Define to 1 if you have the \`_getpty' function. */
++#undef HAVE__GETPTY])
++m4trace:configure.in:355: -1- AH_OUTPUT([HAVE__SCRSIZE], [/* Define to 1 if you have the \`_scrsize' function. */
++#undef HAVE__SCRSIZE])
++m4trace:configure.in:355: -1- AH_OUTPUT([HAVE_FCNTL], [/* Define to 1 if you have the \`fcntl' function. */
++#undef HAVE_FCNTL])
++m4trace:configure.in:355: -1- AH_OUTPUT([HAVE_GRANTPT], [/* Define to 1 if you have the \`grantpt' function. */
++#undef HAVE_GRANTPT])
++m4trace:configure.in:355: -1- AH_OUTPUT([HAVE_MKTIME], [/* Define to 1 if you have the \`mktime' function. */
++#undef HAVE_MKTIME])
++m4trace:configure.in:355: -1- AH_OUTPUT([HAVE_PTSNAME], [/* Define to 1 if you have the \`ptsname' function. */
++#undef HAVE_PTSNAME])
++m4trace:configure.in:355: -1- AH_OUTPUT([HAVE_RAND], [/* Define to 1 if you have the \`rand' function. */
++#undef HAVE_RAND])
++m4trace:configure.in:355: -1- AH_OUTPUT([HAVE_REVOKE], [/* Define to 1 if you have the \`revoke' function. */
++#undef HAVE_REVOKE])
++m4trace:configure.in:355: -1- AH_OUTPUT([HAVE_SELECT], [/* Define to 1 if you have the \`select' function. */
++#undef HAVE_SELECT])
++m4trace:configure.in:355: -1- AH_OUTPUT([HAVE_SETITIMER], [/* Define to 1 if you have the \`setitimer' function. */
++#undef HAVE_SETITIMER])
++m4trace:configure.in:355: -1- AH_OUTPUT([HAVE_SETPCRED], [/* Define to 1 if you have the \`setpcred' function. */
++#undef HAVE_SETPCRED])
++m4trace:configure.in:355: -1- AH_OUTPUT([HAVE_SETPGID], [/* Define to 1 if you have the \`setpgid' function. */
++#undef HAVE_SETPGID])
++m4trace:configure.in:355: -1- AH_OUTPUT([HAVE_SETPROCTITLE], [/* Define to 1 if you have the \`setproctitle' function. */
++#undef HAVE_SETPROCTITLE])
++m4trace:configure.in:355: -1- AH_OUTPUT([HAVE_SETREGID], [/* Define to 1 if you have the \`setregid' function. */
++#undef HAVE_SETREGID])
++m4trace:configure.in:355: -1- AH_OUTPUT([HAVE_SETRESGID], [/* Define to 1 if you have the \`setresgid' function. */
++#undef HAVE_SETRESGID])
++m4trace:configure.in:355: -1- AH_OUTPUT([HAVE_SETRESUID], [/* Define to 1 if you have the \`setresuid' function. */
++#undef HAVE_SETRESUID])
++m4trace:configure.in:355: -1- AH_OUTPUT([HAVE_SETREUID], [/* Define to 1 if you have the \`setreuid' function. */
++#undef HAVE_SETREUID])
++m4trace:configure.in:355: -1- AH_OUTPUT([HAVE_SETSID], [/* Define to 1 if you have the \`setsid' function. */
++#undef HAVE_SETSID])
++m4trace:configure.in:355: -1- AH_OUTPUT([HAVE_SETUTENT], [/* Define to 1 if you have the \`setutent' function. */
++#undef HAVE_SETUTENT])
++m4trace:configure.in:355: -1- AH_OUTPUT([HAVE_SIGACTION], [/* Define to 1 if you have the \`sigaction' function. */
++#undef HAVE_SIGACTION])
++m4trace:configure.in:355: -1- AH_OUTPUT([HAVE_STRSTR], [/* Define to 1 if you have the \`strstr' function. */
++#undef HAVE_STRSTR])
++m4trace:configure.in:355: -1- AH_OUTPUT([HAVE_TIMEGM], [/* Define to 1 if you have the \`timegm' function. */
++#undef HAVE_TIMEGM])
++m4trace:configure.in:355: -1- AH_OUTPUT([HAVE_TTYNAME], [/* Define to 1 if you have the \`ttyname' function. */
++#undef HAVE_TTYNAME])
++m4trace:configure.in:355: -1- AH_OUTPUT([HAVE_TTYSLOT], [/* Define to 1 if you have the \`ttyslot' function. */
++#undef HAVE_TTYSLOT])
++m4trace:configure.in:355: -1- AH_OUTPUT([HAVE_UMASK], [/* Define to 1 if you have the \`umask' function. */
++#undef HAVE_UMASK])
++m4trace:configure.in:355: -1- AH_OUTPUT([HAVE_UNLOCKPT], [/* Define to 1 if you have the \`unlockpt' function. */
++#undef HAVE_UNLOCKPT])
++m4trace:configure.in:355: -1- AH_OUTPUT([HAVE_VHANGUP], [/* Define to 1 if you have the \`vhangup' function. */
++#undef HAVE_VHANGUP])
++m4trace:configure.in:355: -1- AH_OUTPUT([HAVE_YP_GET_DEFAULT_DOMAIN], [/* Define to 1 if you have the \`yp_get_default_domain' function. */
++#undef HAVE_YP_GET_DEFAULT_DOMAIN])
++m4trace:configure.in:357: -1- AC_FUNC_MMAP
++m4trace:configure.in:357: -1- AC_CHECK_HEADERS([stdlib.h unistd.h])
++m4trace:configure.in:357: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
++#undef HAVE_STDLIB_H])
++m4trace:configure.in:357: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
++#undef HAVE_UNISTD_H])
++m4trace:configure.in:357: -1- AC_CHECK_FUNCS([getpagesize])
++m4trace:configure.in:357: -1- AH_OUTPUT([HAVE_GETPAGESIZE], [/* Define to 1 if you have the \`getpagesize' function. */
++#undef HAVE_GETPAGESIZE])
++m4trace:configure.in:357: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MMAP])
++m4trace:configure.in:357: -1- AH_OUTPUT([HAVE_MMAP], [/* Define to 1 if you have a working \`mmap' system call. */
++#undef HAVE_MMAP])
++m4trace:configure.in:359: -1- AC_CHECK_HEADERS([capability.h sys/capability.h])
++m4trace:configure.in:359: -1- AH_OUTPUT([HAVE_CAPABILITY_H], [/* Define to 1 if you have the <capability.h> header file. */
++#undef HAVE_CAPABILITY_H])
++m4trace:configure.in:359: -1- AH_OUTPUT([HAVE_SYS_CAPABILITY_H], [/* Define to 1 if you have the <sys/capability.h> header file. */
++#undef HAVE_SYS_CAPABILITY_H])
++m4trace:configure.in:359: -1- AC_CHECK_FUNCS([sgi_getcapabilitybyname cap_set_proc])
++m4trace:configure.in:359: -1- AH_OUTPUT([HAVE_SGI_GETCAPABILITYBYNAME], [/* Define to 1 if you have the \`sgi_getcapabilitybyname' function. */
++#undef HAVE_SGI_GETCAPABILITYBYNAME])
++m4trace:configure.in:359: -1- AH_OUTPUT([HAVE_CAP_SET_PROC], [/* Define to 1 if you have the \`cap_set_proc' function. */
++#undef HAVE_CAP_SET_PROC])
++m4trace:configure.in:361: -1- AC_CHECK_FUNCS([getpwnam_r])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_GETPWNAM_R], [/* Define to 1 if you have the \`getpwnam_r' function. */
++#undef HAVE_GETPWNAM_R])
++m4trace:configure.in:361: -1- AC_SUBST([LIB_getpwnam_r])
++m4trace:configure.in:361: -1- AC_DEFINE_TRACE_LITERAL([POSIX_GETPWNAM_R])
++m4trace:configure.in:361: -1- AH_OUTPUT([POSIX_GETPWNAM_R], [/* Define if getpwnam_r has POSIX flavour. */
++#undef POSIX_GETPWNAM_R])
++m4trace:configure.in:364: -1- AC_CHECK_FUNCS([getudbnam setlim])
++m4trace:configure.in:364: -1- AH_OUTPUT([HAVE_GETUDBNAM], [/* Define to 1 if you have the \`getudbnam' function. */
++#undef HAVE_GETUDBNAM])
++m4trace:configure.in:364: -1- AH_OUTPUT([HAVE_SETLIM], [/* Define to 1 if you have the \`setlim' function. */
++#undef HAVE_SETLIM])
++m4trace:configure.in:372: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_UTMP_UT_ADDR])
++m4trace:configure.in:372: -1- AH_OUTPUT([HAVE_STRUCT_UTMP_UT_ADDR], [/* Define if struct utmp has field ut_addr. */
++#undef HAVE_STRUCT_UTMP_UT_ADDR])
++m4trace:configure.in:373: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_UTMP_UT_HOST])
++m4trace:configure.in:373: -1- AH_OUTPUT([HAVE_STRUCT_UTMP_UT_HOST], [/* Define if struct utmp has field ut_host. */
++#undef HAVE_STRUCT_UTMP_UT_HOST])
++m4trace:configure.in:374: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_UTMP_UT_ID])
++m4trace:configure.in:374: -1- AH_OUTPUT([HAVE_STRUCT_UTMP_UT_ID], [/* Define if struct utmp has field ut_id. */
++#undef HAVE_STRUCT_UTMP_UT_ID])
++m4trace:configure.in:375: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_UTMP_UT_PID])
++m4trace:configure.in:375: -1- AH_OUTPUT([HAVE_STRUCT_UTMP_UT_PID], [/* Define if struct utmp has field ut_pid. */
++#undef HAVE_STRUCT_UTMP_UT_PID])
++m4trace:configure.in:376: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_UTMP_UT_TYPE])
++m4trace:configure.in:376: -1- AH_OUTPUT([HAVE_STRUCT_UTMP_UT_TYPE], [/* Define if struct utmp has field ut_type. */
++#undef HAVE_STRUCT_UTMP_UT_TYPE])
++m4trace:configure.in:377: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_UTMP_UT_USER])
++m4trace:configure.in:377: -1- AH_OUTPUT([HAVE_STRUCT_UTMP_UT_USER], [/* Define if struct utmp has field ut_user. */
++#undef HAVE_STRUCT_UTMP_UT_USER])
++m4trace:configure.in:378: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_UTMPX_UT_EXIT])
++m4trace:configure.in:378: -1- AH_OUTPUT([HAVE_STRUCT_UTMPX_UT_EXIT], [/* Define if struct utmpx has field ut_exit. */
++#undef HAVE_STRUCT_UTMPX_UT_EXIT])
++m4trace:configure.in:379: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_UTMPX_UT_SYSLEN])
++m4trace:configure.in:379: -1- AH_OUTPUT([HAVE_STRUCT_UTMPX_UT_SYSLEN], [/* Define if struct utmpx has field ut_syslen. */
++#undef HAVE_STRUCT_UTMPX_UT_SYSLEN])
++m4trace:configure.in:399: -1- AC_CHECK_TYPES([int8_t, int16_t, int32_t, int64_t, 
++	u_int8_t, u_int16_t, u_int32_t, u_int64_t,
++	uint8_t, uint16_t, uint32_t, uint64_t], [], [], [
++#ifdef HAVE_INTTYPES_H
++#include <inttypes.h>
++#endif
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_BITYPES_H
++#include <sys/bitypes.h>
++#endif
++#ifdef HAVE_BIND_BITYPES_H
++#include <bind/bitypes.h>
++#endif
++#ifdef HAVE_NETINET_IN6_MACHTYPES_H
++#include <netinet/in6_machtypes.h>
++#endif
++])
++m4trace:configure.in:399: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INT8_T])
++m4trace:configure.in:399: -1- AH_OUTPUT([HAVE_INT8_T], [/* Define to 1 if the system has the type \`int8_t'. */
++#undef HAVE_INT8_T])
++m4trace:configure.in:399: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INT16_T])
++m4trace:configure.in:399: -1- AH_OUTPUT([HAVE_INT16_T], [/* Define to 1 if the system has the type \`int16_t'. */
++#undef HAVE_INT16_T])
++m4trace:configure.in:399: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INT32_T])
++m4trace:configure.in:399: -1- AH_OUTPUT([HAVE_INT32_T], [/* Define to 1 if the system has the type \`int32_t'. */
++#undef HAVE_INT32_T])
++m4trace:configure.in:399: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INT64_T])
++m4trace:configure.in:399: -1- AH_OUTPUT([HAVE_INT64_T], [/* Define to 1 if the system has the type \`int64_t'. */
++#undef HAVE_INT64_T])
++m4trace:configure.in:399: -1- AC_DEFINE_TRACE_LITERAL([HAVE_U_INT8_T])
++m4trace:configure.in:399: -1- AH_OUTPUT([HAVE_U_INT8_T], [/* Define to 1 if the system has the type \`u_int8_t'. */
++#undef HAVE_U_INT8_T])
++m4trace:configure.in:399: -1- AC_DEFINE_TRACE_LITERAL([HAVE_U_INT16_T])
++m4trace:configure.in:399: -1- AH_OUTPUT([HAVE_U_INT16_T], [/* Define to 1 if the system has the type \`u_int16_t'. */
++#undef HAVE_U_INT16_T])
++m4trace:configure.in:399: -1- AC_DEFINE_TRACE_LITERAL([HAVE_U_INT32_T])
++m4trace:configure.in:399: -1- AH_OUTPUT([HAVE_U_INT32_T], [/* Define to 1 if the system has the type \`u_int32_t'. */
++#undef HAVE_U_INT32_T])
++m4trace:configure.in:399: -1- AC_DEFINE_TRACE_LITERAL([HAVE_U_INT64_T])
++m4trace:configure.in:399: -1- AH_OUTPUT([HAVE_U_INT64_T], [/* Define to 1 if the system has the type \`u_int64_t'. */
++#undef HAVE_U_INT64_T])
++m4trace:configure.in:399: -1- AC_DEFINE_TRACE_LITERAL([HAVE_UINT8_T])
++m4trace:configure.in:399: -1- AH_OUTPUT([HAVE_UINT8_T], [/* Define to 1 if the system has the type \`uint8_t'. */
++#undef HAVE_UINT8_T])
++m4trace:configure.in:399: -1- AC_DEFINE_TRACE_LITERAL([HAVE_UINT16_T])
++m4trace:configure.in:399: -1- AH_OUTPUT([HAVE_UINT16_T], [/* Define to 1 if the system has the type \`uint16_t'. */
++#undef HAVE_UINT16_T])
++m4trace:configure.in:399: -1- AC_DEFINE_TRACE_LITERAL([HAVE_UINT32_T])
++m4trace:configure.in:399: -1- AH_OUTPUT([HAVE_UINT32_T], [/* Define to 1 if the system has the type \`uint32_t'. */
++#undef HAVE_UINT32_T])
++m4trace:configure.in:399: -1- AC_DEFINE_TRACE_LITERAL([HAVE_UINT64_T])
++m4trace:configure.in:399: -1- AH_OUTPUT([HAVE_UINT64_T], [/* Define to 1 if the system has the type \`uint64_t'. */
++#undef HAVE_UINT64_T])
++m4trace:configure.in:401: -1- AC_CHECK_FUNCS([el_init])
++m4trace:configure.in:401: -1- AH_OUTPUT([HAVE_EL_INIT], [/* Define to 1 if you have the \`el_init' function. */
++#undef HAVE_EL_INIT])
++m4trace:configure.in:401: -1- AC_SUBST([LIB_el_init])
++m4trace:configure.in:401: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FOUR_VALUED_EL_INIT])
++m4trace:configure.in:401: -1- AH_OUTPUT([HAVE_FOUR_VALUED_EL_INIT], [/* Define if el_init takes four arguments. */
++#undef HAVE_FOUR_VALUED_EL_INIT])
++m4trace:configure.in:401: -1- AM_CONDITIONAL([el_compat], [test "$ac_foo" = yes])
++m4trace:configure.in:401: -1- AC_SUBST([el_compat_TRUE])
++m4trace:configure.in:401: -1- AC_SUBST([el_compat_FALSE])
++m4trace:configure.in:401: -1- AC_DEFINE_TRACE_LITERAL([HAVE_READLINE])
++m4trace:configure.in:401: -1- AH_OUTPUT([HAVE_READLINE], [/* Define if you have a readline compatible library. */
++#undef HAVE_READLINE])
++m4trace:configure.in:403: -1- AC_DEFINE_TRACE_LITERAL([AUTHENTICATION])
++m4trace:configure.in:403: -1- AH_OUTPUT([AUTHENTICATION], [/* Define if you want authentication support in telnet. */
++#undef AUTHENTICATION])
++m4trace:configure.in:403: -1- AC_DEFINE_TRACE_LITERAL([ENCRYPTION])
++m4trace:configure.in:403: -1- AH_OUTPUT([ENCRYPTION], [/* Define if you want encryption support in telnet. */
++#undef ENCRYPTION])
++m4trace:configure.in:403: -1- AC_DEFINE_TRACE_LITERAL([DES_ENCRYPTION])
++m4trace:configure.in:403: -1- AH_OUTPUT([DES_ENCRYPTION], [/* Define if you want to use DES encryption in telnet. */
++#undef DES_ENCRYPTION])
++m4trace:configure.in:403: -1- AC_DEFINE_TRACE_LITERAL([DIAGNOSTICS])
++m4trace:configure.in:403: -1- AH_OUTPUT([DIAGNOSTICS], [/* Define this to enable diagnostics in telnet. */
++#undef DIAGNOSTICS])
++m4trace:configure.in:403: -1- AC_DEFINE_TRACE_LITERAL([OLD_ENVIRON])
++m4trace:configure.in:403: -1- AH_OUTPUT([OLD_ENVIRON], [/* Define this to enable old environment option in telnet. */
++#undef OLD_ENVIRON])
++m4trace:configure.in:403: -1- AC_DEFINE_TRACE_LITERAL([ENV_HACK])
++m4trace:configure.in:403: -1- AH_OUTPUT([ENV_HACK], [/* Define this if you want support for broken ENV_{VAR,VAL} telnets. */
++#undef ENV_HACK])
++m4trace:configure.in:403: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETMSG])
++m4trace:configure.in:403: -1- AH_OUTPUT([HAVE_GETMSG], [/* Define if you have a working getmsg. */
++#undef HAVE_GETMSG])
++m4trace:configure.in:403: -1- AC_DEFINE_TRACE_LITERAL([STREAMSPTY])
++m4trace:configure.in:403: -1- AH_OUTPUT([STREAMSPTY], [/* Define if you have streams ptys. */
++#undef STREAMSPTY])
++m4trace:configure.in:403: -1- AH_OUTPUT([zzzz10], [
++#if defined(ENCRYPTION) && !defined(AUTHENTICATION)
++#define AUTHENTICATION 1
++#endif
++
++/* Set this to the default system lead string for telnetd 
++ * can contain %-escapes: %s=sysname, %m=machine, %r=os-release
++ * %v=os-version, %t=tty, %h=hostname, %d=date and time
++ */
++#undef USE_IM
++
++/* Used with login -p */
++#undef LOGIN_ARGS
++
++/* set this to a sensible login */
++#ifndef LOGIN_PATH
++#define LOGIN_PATH BINDIR \"/login\"
++#endif
++])
++m4trace:configure.in:406: -1- AC_SUBST([COMPILE_ET])
++m4trace:configure.in:406: -1- AC_SUBST([DIR_com_err])
++m4trace:configure.in:406: -1- AC_SUBST([LIB_com_err])
++m4trace:configure.in:406: -1- AC_SUBST([LIB_com_err_a])
++m4trace:configure.in:406: -1- AC_SUBST([LIB_com_err_so])
++m4trace:configure.in:408: -1- AC_SUBST([LIB_AUTH_SUBDIRS])
++m4trace:configure.in:410: -1- AC_DEFINE_TRACE_LITERAL([BINDIR])
++m4trace:configure.in:410: -1- AH_OUTPUT([BINDIR], [/* path to bin */
++#undef BINDIR])
++m4trace:configure.in:410: -1- AC_DEFINE_TRACE_LITERAL([LIBDIR])
++m4trace:configure.in:410: -1- AH_OUTPUT([LIBDIR], [/* path to lib */
++#undef LIBDIR])
++m4trace:configure.in:410: -1- AC_DEFINE_TRACE_LITERAL([LIBEXECDIR])
++m4trace:configure.in:410: -1- AH_OUTPUT([LIBEXECDIR], [/* path to libexec */
++#undef LIBEXECDIR])
++m4trace:configure.in:410: -1- AC_DEFINE_TRACE_LITERAL([LOCALSTATEDIR])
++m4trace:configure.in:410: -1- AH_OUTPUT([LOCALSTATEDIR], [/* path to localstate */
++#undef LOCALSTATEDIR])
++m4trace:configure.in:410: -1- AC_DEFINE_TRACE_LITERAL([SBINDIR])
++m4trace:configure.in:410: -1- AH_OUTPUT([SBINDIR], [/* path to sbin */
++#undef SBINDIR])
++m4trace:configure.in:410: -1- AC_DEFINE_TRACE_LITERAL([SYSCONFDIR])
++m4trace:configure.in:410: -1- AH_OUTPUT([SYSCONFDIR], [/* path to sysconf */
++#undef SYSCONFDIR])
++m4trace:configure.in:414: -1- AC_SUBST([LTLIBOBJS])
++m4trace:configure.in:418: -1- AH_OUTPUT([zzzz11], [#ifdef ROKEN_RENAME
++#include \"roken_rename.h\"
++#endif])
++m4trace:configure.in:472: -1- AC_CONFIG_FILES([Makefile 		\
++	include/Makefile		\
++	include/kadm5/Makefile		\
++	lib/Makefile			\
++	lib/45/Makefile			\
++	lib/auth/Makefile		\
++	lib/auth/afskauthlib/Makefile	\
++	lib/auth/pam/Makefile		\
++	lib/auth/sia/Makefile		\
++	lib/asn1/Makefile		\
++	lib/com_err/Makefile		\
++	lib/des/Makefile		\
++	lib/editline/Makefile		\
++	lib/gssapi/Makefile		\
++	lib/hdb/Makefile		\
++	lib/kadm5/Makefile		\
++	lib/kafs/Makefile		\
++	lib/kdfs/Makefile		\
++	lib/krb5/Makefile		\
++	lib/otp/Makefile		\
++	lib/roken/Makefile		\
++	lib/sl/Makefile			\
++	lib/vers/Makefile		\
++	kuser/Makefile			\
++	kpasswd/Makefile		\
++	kadmin/Makefile			\
++	admin/Makefile			\
++	kdc/Makefile			\
++	appl/Makefile			\
++	appl/afsutil/Makefile		\
++	appl/ftp/Makefile		\
++	appl/ftp/common/Makefile	\
++	appl/ftp/ftp/Makefile		\
++	appl/ftp/ftpd/Makefile		\
++	appl/kx/Makefile		\
++	appl/login/Makefile		\
++	appl/otp/Makefile		\
++	appl/popper/Makefile		\
++	appl/push/Makefile		\
++	appl/rsh/Makefile		\
++	appl/rcp/Makefile		\
++	appl/su/Makefile		\
++	appl/xnlock/Makefile		\
++	appl/telnet/Makefile		\
++	appl/telnet/libtelnet/Makefile	\
++	appl/telnet/telnet/Makefile	\
++	appl/telnet/telnetd/Makefile	\
++	appl/test/Makefile		\
++	appl/kf/Makefile		\
++	appl/dceutils/Makefile		\
++	doc/Makefile			\
++	tools/Makefile			\
++])
+diff -ruN heimdal-0.5.1-old/configure heimdal-0.5.1/configure
+--- heimdal-0.5.1-old/configure	Tue Oct 22 03:49:48 2002
++++ heimdal-0.5.1/configure	Mon Mar 17 14:42:16 2003
+@@ -1000,6 +1000,8 @@
+ Optional Features:
+   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
+   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
++  --enable-maintainer-mode enable make rules and dependencies not useful
++                          (and sometimes confusing) to the casual installer
+   --disable-dependency-tracking Speeds up one-time builds
+   --enable-dependency-tracking  Do not reject slow dependency extractors
+   --disable-largefile     omit support for large files
+@@ -1037,6 +1039,7 @@
+   --with-openssl-lib=dir  use openssl libraries in dir
+   --with-openssl-include=dir
+                           use openssl headers in dir
++  --with-roken=dir        use the roken library in dir
+   --without-ipv6          do not enable IPv6 support
+   --with-readline=dir     use readline in dir
+   --with-readline-lib=dir use readline libraries in dir
+@@ -1050,6 +1053,18 @@
+                           use hesiod headers in dir
+   --with-hesiod-config=path
+                           config program for hesiod
++  --with-sl=dir           use sl in dir
++  --with-sl-lib=dir       use sl libraries in dir
++  --with-sl-include=dir   use sl headers in dir
++  --with-sl-config=path   config program for sl
++  --with-ss=dir           use ss in dir
++  --with-ss-lib=dir       use ss libraries in dir
++  --with-ss-include=dir   use ss headers in dir
++  --with-ss-config=path   config program for ss
++  --with-otp=dir          use otp in dir
++  --with-otp-lib=dir      use otp libraries in dir
++  --with-otp-include=dir  use otp headers in dir
++  --with-otp-config=path  config program for otp
+   --with-x                use the X Window System
+ 
+ Some influential environment variables:
+@@ -1420,6 +1435,30 @@
+ 
+ 
+ 
++echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
++echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
++    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
++if test "${enable_maintainer_mode+set}" = set; then
++  enableval="$enable_maintainer_mode"
++  USE_MAINTAINER_MODE=$enableval
++else
++  USE_MAINTAINER_MODE=no
++fi;
++  echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
++echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
++
++
++if test $USE_MAINTAINER_MODE = yes; then
++  MAINTAINER_MODE_TRUE=
++  MAINTAINER_MODE_FALSE='#'
++else
++  MAINTAINER_MODE_TRUE='#'
++  MAINTAINER_MODE_FALSE=
++fi
++
++  MAINT=$MAINTAINER_MODE_TRUE
++
++
+ 
+ # Add the stamp file to the list of files AC keeps track of,
+ # along with our hook.
+@@ -4301,9 +4340,9 @@
+   lt_cv_file_magic_test_file=/usr/lib/libc.sl
+   ;;
+ 
+-irix5* | irix6*)
++irix5* | irix6* | nonstopux*)
+   case $host_os in
+-  irix5*)
++  irix5* | nonstopux*)
+     # this will be overridden with pass_all, but let us keep it just in case
+     lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
+     ;;
+@@ -4324,13 +4363,7 @@
+ 
+ # This must be Linux ELF.
+ linux-gnu*)
+-  case $host_cpu in
+-  alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
+-    lt_cv_deplibs_check_method=pass_all ;;
+-  *)
+-    # glibc up to 2.1.1 does not perform some relocations on ARM
+-    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
+-  esac
++  lt_cv_deplibs_check_method=pass_all
+   lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
+   ;;
+ 
+@@ -4447,7 +4480,7 @@
+   lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
+   lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
+   ;;
+-irix*)
++irix* | nonstopux*)
+   symcode='[BCDEGRST]'
+   ;;
+ solaris* | sysv5*)
+@@ -5236,7 +5269,7 @@
+ case $host in
+ *-*-irix6*)
+   # Find out which ABI we are using.
+-  echo '#line 5239 "configure"' > conftest.$ac_ext
++  echo '#line 5272 "configure"' > conftest.$ac_ext
+   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+@@ -5479,7 +5512,7 @@
+       # like `-m68040'.
+       lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4'
+       ;;
+-    beos* | irix5* | irix6* | osf3* | osf4* | osf5*)
++    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
+       # PIC is the default for these OSes.
+       ;;
+     darwin* | rhapsody*)
+@@ -5522,7 +5555,7 @@
+       lt_cv_prog_cc_pic='+Z'
+       ;;
+ 
+-    irix5* | irix6*)
++    irix5* | irix6* | nonstopux*)
+       lt_cv_prog_cc_wl='-Wl,'
+       lt_cv_prog_cc_static='-non_shared'
+       # PIC (with -KPIC) is the default.
+@@ -5772,7 +5805,7 @@
+ save_CFLAGS="$CFLAGS"
+ CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
+ compiler_c_o=no
+-if { (eval echo configure:5775: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
++if { (eval echo configure:5808: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
+   # The compiler can only warn and ignore the option if not recognized
+   # So say no if there are warnings
+   if test -s out/conftest.err; then
+@@ -6348,8 +6381,9 @@
+     esac
+     # FIXME: Relying on posixy $() will cause problems for
+     #        cross-compilation, but unfortunately the echo tests do not
+-    #        yet detect zsh echo's removal of \ escapes.
+-    archive_cmds='$nonopt $(test "x$module" = xyes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linker_flags -install_name $rpath/$soname $verstring'
++    #        yet detect zsh echo's removal of \ escapes.  Also zsh mangles
++    #	     `"' quotes if we put them in here... so don't!
++    archive_cmds='$nonopt $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linker_flags -install_name $rpath/$soname $verstring'
+     # We need to add '_' to the symbols in $export_symbols first
+     #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
+     hardcode_direct=yes
+@@ -6401,7 +6435,7 @@
+     export_dynamic_flag_spec='${wl}-E'
+     ;;
+ 
+-  irix5* | irix6*)
++  irix5* | irix6* | nonstopux*)
+     if test "$GCC" = yes; then
+       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+     else
+@@ -6879,14 +6913,17 @@
+   postinstall_cmds='chmod 555 $lib'
+   ;;
+ 
+-irix5* | irix6*)
+-  version_type=irix
++irix5* | irix6* | nonstopux*)
++  case $host_os in
++    nonstopux*) version_type=nonstopux ;;
++    *)          version_type=irix ;;
++  esac
+   need_lib_prefix=no
+   need_version=no
+   soname_spec='${libname}${release}.so$major'
+   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so'
+   case $host_os in
+-  irix5*)
++  irix5* | nonstopux*)
+     libsuff= shlibsuff=
+     ;;
+   *)
+@@ -6990,6 +7027,7 @@
+ osf3* | osf4* | osf5*)
+   version_type=osf
+   need_version=no
++  need_lib_prefix=no
+   soname_spec='${libname}${release}.so'
+   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
+   shlibpath_var=LD_LIBRARY_PATH
+@@ -7565,7 +7603,7 @@
+     lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
+   lt_status=$lt_dlunknown
+   cat > conftest.$ac_ext <<EOF
+-#line 7568 "configure"
++#line 7606 "configure"
+ #include "confdefs.h"
+ 
+ #if HAVE_DLFCN_H
+@@ -7663,7 +7701,7 @@
+     lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
+   lt_status=$lt_dlunknown
+   cat > conftest.$ac_ext <<EOF
+-#line 7666 "configure"
++#line 7704 "configure"
+ #include "confdefs.h"
+ 
+ #if HAVE_DLFCN_H
+@@ -8454,7 +8492,7 @@
+ 
+ header_dirs=
+ lib_dirs=
+-for i in $d; do
++for i in $d /usr; do
+ 	if test "$with_openldap_include" = ""; then
+ 		if test -d "$i/include/openldap"; then
+ 			header_dirs="$header_dirs $i/include/openldap"
+@@ -8626,6 +8664,7 @@
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ 		done
+ 		if test "$ires" -a "$lres" -a "$with_openldap" != "no"; then
++			DIR_openldap=
+ 			INCLUDE_openldap="-I$ires"
+ 			LIB_openldap="-L$lres -lldap -llber "
+ 			found=yes
+@@ -8646,6 +8685,7 @@
+ 	with_openldap=yes
+ else
+ 	with_openldap=no
++	DIR_openldap=
+ 	INCLUDE_openldap=
+ 	LIB_openldap=
+ 	echo "$as_me:$LINENO: result: no" >&5
+@@ -8658,6 +8698,7 @@
+ 
+ 
+ 
++
+ # Check whether --with-krb4 or --without-krb4 was given.
+ if test "${with_krb4+set}" = set; then
+   withval="$with_krb4"
+@@ -8707,7 +8748,7 @@
+ 
+ header_dirs=
+ lib_dirs=
+-for i in $d; do
++for i in $d /usr; do
+ 	if test "$with_krb4_include" = ""; then
+ 		if test -d "$i/include/krb4"; then
+ 			header_dirs="$header_dirs $i/include/krb4"
+@@ -8837,7 +8878,7 @@
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ 		done
+ 		for i in $lib_dirs; do
+-			LIBS="-L$i -lkrb -ldes $save_LIBS"
++			LIBS="-L$i -lkrb -lcrypt $save_LIBS"
+ 			cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+ #include "confdefs.h"
+@@ -8876,8 +8917,9 @@
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ 		done
+ 		if test "$ires" -a "$lres" -a "$with_krb4" != "no"; then
++			DIR_krb4=
+ 			INCLUDE_krb4="-I$ires"
+-			LIB_krb4="-L$lres -lkrb -ldes"
++			LIB_krb4="-L$lres -lkrb -lcrypt"
+ 			found=yes
+ 			echo "$as_me:$LINENO: result: headers $ires, libraries $lres" >&5
+ echo "${ECHO_T}headers $ires, libraries $lres" >&6
+@@ -8896,6 +8938,7 @@
+ 	with_krb4=yes
+ else
+ 	with_krb4=no
++	DIR_krb4=
+ 	INCLUDE_krb4=
+ 	LIB_krb4=
+ 	echo "$as_me:$LINENO: result: no" >&5
+@@ -8906,6 +8949,7 @@
+ 
+ 
+ 
++
+ LIB_kdb=
+ if test "$with_krb4" != "no"; then
+ 	save_CFLAGS="$CFLAGS"
+@@ -10487,7 +10531,7 @@
+ 	lres=
+ 	for i in $cdirs; do
+ 		for j in $clibs; do
+-			LIBS="$i $j $save_LIBS"
++			LIBS="$i $j $save_LIBS -lcrypt"
+ 			cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+ #include "confdefs.h"
+@@ -12308,6 +12352,273 @@
+ 
+ 
+ 
++# Check whether --with-roken or --without-roken was given.
++if test "${with_roken+set}" = set; then
++  withval="$with_roken"
++  if test "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: roken is required" >&5
++echo "$as_me: error: roken is required" >&2;}
++   { (exit 1); exit 1; }; }
++fi
++fi;
++
++save_CPPFLAGS="${CPPFLAGS}"
++
++case $with_roken in
++yes|"")
++  dirs="/usr/heimdal /usr/athena" ;;
++*)
++  dirs="$with_roken" ;;
++esac
++
++roken_installed=no
++
++for i in $dirs; do
++
++echo "$as_me:$LINENO: checking for roken in $i" >&5
++echo $ECHO_N "checking for roken in $i... $ECHO_C" >&6
++
++CPPFLAGS="-I$i/include ${CPPFLAGS}"
++
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++#include <roken.h>
++//#if ROKEN_VERSION < 10
++//#error old roken version, should be 10
++//fail
++//#endif
++
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  egrep -v '^ *\+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  roken_installed=yes; break
++else
++  echo "$as_me: failed program was:" >&5
++  cat conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_ext
++
++echo "$as_me:$LINENO: result: $roken_installed" >&5
++echo "${ECHO_T}$roken_installed" >&6
++
++done
++
++CPPFLAGS="$save_CPPFLAGS"
++
++if test "$roken_installed" != "yes"; then
++  DIR_roken="roken"
++  LIB_roken='$(top_builddir)/lib/roken/libroken.la'
++  CPPFLAGS_roken='-I$(top_builddir)/lib/roken -I$(top_srcdir)/lib/roken'
++else
++  LIB_roken="$i/lib/libroken.la"
++  CPPFLAGS_roken="-I$i/include"
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking for crypt" >&5
++echo $ECHO_N "checking for crypt... $ECHO_C" >&6
++if test "${ac_cv_funclib_crypt+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++
++if eval "test \"\$ac_cv_func_crypt\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" crypt; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++crypt()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_crypt=$ac_lib; else ac_cv_funclib_crypt=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_crypt=\${ac_cv_funclib_crypt-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_crypt"
++
++if false; then
++
++for ac_func in crypt
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.  */
++#include <assert.h>
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++char (*f) ();
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++f = $ac_func;
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++
++fi
++done
++
++fi
++# crypt
++eval "ac_tr_func=HAVE_`echo crypt | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_crypt=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_crypt=yes"
++	eval "LIB_crypt="
++	cat >>confdefs.h <<_ACEOF
++#define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_crypt=no"
++	eval "LIB_crypt="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_crypt=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++#define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++#define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++LIB_roken="${LIB_roken} \$(LIB_crypt) \$(LIB_dbopen)"
++
++
++#if ! test "$roken_installed" = yes; then
++
++
+ echo "$as_me:$LINENO: checking for inline" >&5
+ echo $ECHO_N "checking for inline... $ECHO_C" >&6
+ if test "${ac_cv_c_inline+set}" = set; then
+@@ -13556,9 +13867,6 @@
+ 
+ 
+ 
+-DIR_roken=roken
+-LIB_roken='$(top_builddir)/lib/roken/libroken.la'
+-INCLUDES_roken='-I$(top_builddir)/lib/roken -I$(top_srcdir)/lib/roken'
+ 
+ 
+ 
+@@ -27735,9 +28043,9 @@
+ 
+ 
+ 
+-LIB_roken="${LIB_roken} \$(LIB_crypt) \$(LIB_dbopen)"
+ 
+ 
++#fi
+ LIB_roken="\$(top_builddir)/lib/vers/libvers.la $LIB_roken"
+ 
+ 
+@@ -27764,8 +28072,6 @@
+ #define OTP 1
+ _ACEOF
+ 
+-	LIB_otp='$(top_builddir)/lib/otp/libotp.la'
+-
+ fi
+ echo "$as_me:$LINENO: checking whether to enable OTP library" >&5
+ echo $ECHO_N "checking whether to enable OTP library... $ECHO_C" >&6
+@@ -28017,7 +28323,7 @@
+ 
+ header_dirs=
+ lib_dirs=
+-for i in $d; do
++for i in $d /usr; do
+ 	if test "$with_readline_include" = ""; then
+ 		if test -d "$i/include/readline"; then
+ 			header_dirs="$header_dirs $i/include/readline"
+@@ -28189,6 +28495,7 @@
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ 		done
+ 		if test "$ires" -a "$lres" -a "$with_readline" != "no"; then
++			DIR_readline=
+ 			INCLUDE_readline="-I$ires"
+ 			LIB_readline="-L$lres -lreadline "
+ 			found=yes
+@@ -28209,6 +28516,7 @@
+ 	with_readline=yes
+ else
+ 	with_readline=no
++	DIR_readline=
+ 	INCLUDE_readline=
+ 	LIB_readline=
+ 	echo "$as_me:$LINENO: result: no" >&5
+@@ -28221,6 +28529,7 @@
+ 
+ 
+ 
++
+ # Check whether --with-hesiod or --without-hesiod was given.
+ if test "${with_hesiod+set}" = set; then
+   withval="$with_hesiod"
+@@ -28270,7 +28579,7 @@
+ 
+ header_dirs=
+ lib_dirs=
+-for i in $d; do
++for i in $d /usr; do
+ 	if test "$with_hesiod_include" = ""; then
+ 		if test -d "$i/include/hesiod"; then
+ 			header_dirs="$header_dirs $i/include/hesiod"
+@@ -28439,6 +28748,7 @@
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ 		done
+ 		if test "$ires" -a "$lres" -a "$with_hesiod" != "no"; then
++			DIR_hesiod=
+ 			INCLUDE_hesiod="-I$ires"
+ 			LIB_hesiod="-L$lres -lhesiod "
+ 			found=yes
+@@ -28459,6 +28769,7 @@
+ 	with_hesiod=yes
+ else
+ 	with_hesiod=no
++	DIR_hesiod=
+ 	INCLUDE_hesiod=
+ 	LIB_hesiod=
+ 	echo "$as_me:$LINENO: result: no" >&5
+@@ -28470,6 +28781,780 @@
+ 
+ 
+ 
++
++
++# Check whether --with-sl or --without-sl was given.
++if test "${with_sl+set}" = set; then
++  withval="$with_sl"
++
++fi;
++
++# Check whether --with-sl-lib or --without-sl-lib was given.
++if test "${with_sl_lib+set}" = set; then
++  withval="$with_sl_lib"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-sl-lib" >&5
++echo "$as_me: error: No argument for --with-sl-lib" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_sl" = "X"; then
++  with_sl=yes
++fi
++fi;
++
++# Check whether --with-sl-include or --without-sl-include was given.
++if test "${with_sl_include+set}" = set; then
++  withval="$with_sl_include"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-sl-include" >&5
++echo "$as_me: error: No argument for --with-sl-include" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_sl" = "X"; then
++  with_sl=yes
++fi
++fi;
++
++# Check whether --with-sl-config or --without-sl-config was given.
++if test "${with_sl_config+set}" = set; then
++  withval="$with_sl_config"
++
++fi;
++
++
++
++echo "$as_me:$LINENO: checking for sl" >&5
++echo $ECHO_N "checking for sl... $ECHO_C" >&6
++
++case "$with_sl" in
++yes|"") d='' ;;
++no)	d= ;;
++*)	d="$with_sl" ;;
++esac
++
++header_dirs=
++lib_dirs=
++for i in $d /usr; do
++	if test "$with_sl_include" = ""; then
++		if test -d "$i/include/sl"; then
++			header_dirs="$header_dirs $i/include/sl"
++		fi
++		if test -d "$i/include"; then
++			header_dirs="$header_dirs $i/include"
++		fi
++	fi
++	if test "$with_sl_lib" = ""; then
++		if test -d "$i/lib$abilibdirext"; then
++			lib_dirs="$lib_dirs $i/lib$abilibdirext"
++		fi
++	fi
++done
++
++if test "$with_sl_include"; then
++	header_dirs="$with_sl_include $header_dirs"
++fi
++if test "$with_sl_lib"; then
++	lib_dirs="$with_sl_lib $lib_dirs"
++fi
++
++if test "$with_sl_config" = ""; then
++	with_sl_config=''
++fi
++
++sl_cflags=
++sl_libs=
++
++case "$with_sl_config" in
++yes|no|"")
++	;;
++*)
++	sl_cflags="`$with_sl_config --cflags 2>&1`"
++	sl_libs="`$with_sl_config --libs 2>&1`"
++	;;
++esac
++
++found=no
++if test "$with_sl" != no; then
++	save_CFLAGS="$CFLAGS"
++	save_LIBS="$LIBS"
++	if test "$sl_cflags" -a "$sl_libs"; then
++		CFLAGS="$sl_cflags $save_CFLAGS"
++		LIBS="$sl_libs $save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++
++			INCLUDE_sl="$sl_cflags"
++			LIB_sl="$sl_libs"
++			echo "$as_me:$LINENO: result: from $with_sl_config" >&5
++echo "${ECHO_T}from $with_sl_config" >&6
++			found=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	fi
++	if test "$found" = no; then
++		ires= lres=
++		for i in $header_dirs; do
++			CFLAGS="-I$i $save_CFLAGS"
++			cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ires=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++		done
++		for i in $lib_dirs; do
++			LIBS="-L$i -lsl  $save_LIBS"
++			cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  lres=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++		done
++		if test "$ires" -a "$lres" -a "$with_sl" != "no"; then
++			DIR_sl=
++			INCLUDE_sl="-I$ires"
++			LIB_sl="-L$lres -lsl "
++			found=yes
++			echo "$as_me:$LINENO: result: headers $ires, libraries $lres" >&5
++echo "${ECHO_T}headers $ires, libraries $lres" >&6
++		fi
++	fi
++	CFLAGS="$save_CFLAGS"
++	LIBS="$save_LIBS"
++fi
++
++if test "$found" = yes; then
++
++cat >>confdefs.h <<_ACEOF
++#define SL 1
++_ACEOF
++
++	with_sl=yes
++else
++	with_sl=no
++	DIR_sl=
++	INCLUDE_sl=
++	LIB_sl=
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++
++
++
++
++if ! test "$with_sl" = yes; then
++	DIR_sl="sl"
++	LIB_sl='$(top_builddir)/lib/sl/libsl.la'
++fi
++
++
++# Check whether --with-ss or --without-ss was given.
++if test "${with_ss+set}" = set; then
++  withval="$with_ss"
++
++fi;
++
++# Check whether --with-ss-lib or --without-ss-lib was given.
++if test "${with_ss_lib+set}" = set; then
++  withval="$with_ss_lib"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-ss-lib" >&5
++echo "$as_me: error: No argument for --with-ss-lib" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_ss" = "X"; then
++  with_ss=yes
++fi
++fi;
++
++# Check whether --with-ss-include or --without-ss-include was given.
++if test "${with_ss_include+set}" = set; then
++  withval="$with_ss_include"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-ss-include" >&5
++echo "$as_me: error: No argument for --with-ss-include" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_ss" = "X"; then
++  with_ss=yes
++fi
++fi;
++
++# Check whether --with-ss-config or --without-ss-config was given.
++if test "${with_ss_config+set}" = set; then
++  withval="$with_ss_config"
++
++fi;
++
++
++
++echo "$as_me:$LINENO: checking for ss" >&5
++echo $ECHO_N "checking for ss... $ECHO_C" >&6
++
++case "$with_ss" in
++yes|"") d='' ;;
++no)	d= ;;
++*)	d="$with_ss" ;;
++esac
++
++header_dirs=
++lib_dirs=
++for i in $d /usr; do
++	if test "$with_ss_include" = ""; then
++		if test -d "$i/include/ss"; then
++			header_dirs="$header_dirs $i/include/ss"
++		fi
++		if test -d "$i/include"; then
++			header_dirs="$header_dirs $i/include"
++		fi
++	fi
++	if test "$with_ss_lib" = ""; then
++		if test -d "$i/lib$abilibdirext"; then
++			lib_dirs="$lib_dirs $i/lib$abilibdirext"
++		fi
++	fi
++done
++
++if test "$with_ss_include"; then
++	header_dirs="$with_ss_include $header_dirs"
++fi
++if test "$with_ss_lib"; then
++	lib_dirs="$with_ss_lib $lib_dirs"
++fi
++
++if test "$with_ss_config" = ""; then
++	with_ss_config=''
++fi
++
++ss_cflags=
++ss_libs=
++
++case "$with_ss_config" in
++yes|no|"")
++	;;
++*)
++	ss_cflags="`$with_ss_config --cflags 2>&1`"
++	ss_libs="`$with_ss_config --libs 2>&1`"
++	;;
++esac
++
++found=no
++if test "$with_ss" != no; then
++	save_CFLAGS="$CFLAGS"
++	save_LIBS="$LIBS"
++	if test "$ss_cflags" -a "$ss_libs"; then
++		CFLAGS="$ss_cflags $save_CFLAGS"
++		LIBS="$ss_libs $save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++
++			INCLUDE_ss="$ss_cflags"
++			LIB_ss="$ss_libs"
++			echo "$as_me:$LINENO: result: from $with_ss_config" >&5
++echo "${ECHO_T}from $with_ss_config" >&6
++			found=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	fi
++	if test "$found" = no; then
++		ires= lres=
++		for i in $header_dirs; do
++			CFLAGS="-I$i $save_CFLAGS"
++			cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ires=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++		done
++		for i in $lib_dirs; do
++			LIBS="-L$i -lss  $save_LIBS"
++			cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  lres=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++		done
++		if test "$ires" -a "$lres" -a "$with_ss" != "no"; then
++			DIR_ss=
++			INCLUDE_ss="-I$ires"
++			LIB_ss="-L$lres -lss "
++			found=yes
++			echo "$as_me:$LINENO: result: headers $ires, libraries $lres" >&5
++echo "${ECHO_T}headers $ires, libraries $lres" >&6
++		fi
++	fi
++	CFLAGS="$save_CFLAGS"
++	LIBS="$save_LIBS"
++fi
++
++if test "$found" = yes; then
++
++cat >>confdefs.h <<_ACEOF
++#define SS 1
++_ACEOF
++
++	with_ss=yes
++else
++	with_ss=no
++	DIR_ss=
++	INCLUDE_ss=
++	LIB_ss=
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++
++
++
++
++if ! test "$with_sl" = yes; then
++	DIR_sl="sl"
++	LIB_sl='$(top_builddir)/lib/sl/libsl.la'
++	DIR_ss=""
++	LIB_ss='$(top_builddir)/lib/sl/libss.la'
++fi
++if test "$enable_otp" = "yes"; then
++
++
++# Check whether --with-otp or --without-otp was given.
++if test "${with_otp+set}" = set; then
++  withval="$with_otp"
++
++fi;
++
++# Check whether --with-otp-lib or --without-otp-lib was given.
++if test "${with_otp_lib+set}" = set; then
++  withval="$with_otp_lib"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-otp-lib" >&5
++echo "$as_me: error: No argument for --with-otp-lib" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_otp" = "X"; then
++  with_otp=yes
++fi
++fi;
++
++# Check whether --with-otp-include or --without-otp-include was given.
++if test "${with_otp_include+set}" = set; then
++  withval="$with_otp_include"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-otp-include" >&5
++echo "$as_me: error: No argument for --with-otp-include" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_otp" = "X"; then
++  with_otp=yes
++fi
++fi;
++
++# Check whether --with-otp-config or --without-otp-config was given.
++if test "${with_otp_config+set}" = set; then
++  withval="$with_otp_config"
++
++fi;
++
++
++
++echo "$as_me:$LINENO: checking for otp" >&5
++echo $ECHO_N "checking for otp... $ECHO_C" >&6
++
++case "$with_otp" in
++yes|"") d='' ;;
++no)	d= ;;
++*)	d="$with_otp" ;;
++esac
++
++header_dirs=
++lib_dirs=
++for i in $d /usr; do
++	if test "$with_otp_include" = ""; then
++		if test -d "$i/include/otp"; then
++			header_dirs="$header_dirs $i/include/otp"
++		fi
++		if test -d "$i/include"; then
++			header_dirs="$header_dirs $i/include"
++		fi
++	fi
++	if test "$with_otp_lib" = ""; then
++		if test -d "$i/lib$abilibdirext"; then
++			lib_dirs="$lib_dirs $i/lib$abilibdirext"
++		fi
++	fi
++done
++
++if test "$with_otp_include"; then
++	header_dirs="$with_otp_include $header_dirs"
++fi
++if test "$with_otp_lib"; then
++	lib_dirs="$with_otp_lib $lib_dirs"
++fi
++
++if test "$with_otp_config" = ""; then
++	with_otp_config=''
++fi
++
++otp_cflags=
++otp_libs=
++
++case "$with_otp_config" in
++yes|no|"")
++	;;
++*)
++	otp_cflags="`$with_otp_config --cflags 2>&1`"
++	otp_libs="`$with_otp_config --libs 2>&1`"
++	;;
++esac
++
++found=no
++if test "$with_otp" != no; then
++	save_CFLAGS="$CFLAGS"
++	save_LIBS="$LIBS"
++	if test "$otp_cflags" -a "$otp_libs"; then
++		CFLAGS="$otp_cflags $save_CFLAGS"
++		LIBS="$otp_libs $save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++
++			INCLUDE_otp="$otp_cflags"
++			LIB_otp="$otp_libs"
++			echo "$as_me:$LINENO: result: from $with_otp_config" >&5
++echo "${ECHO_T}from $with_otp_config" >&6
++			found=yes
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	fi
++	if test "$found" = no; then
++		ires= lres=
++		for i in $header_dirs; do
++			CFLAGS="-I$i $save_CFLAGS"
++			cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ires=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++		done
++		for i in $lib_dirs; do
++			LIBS="-L$i -lotp  $save_LIBS"
++			cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++#include "confdefs.h"
++
++#ifdef F77_DUMMY_MAIN
++#  ifdef __cplusplus
++     extern "C"
++#  endif
++   int F77_DUMMY_MAIN() { return 1; }
++#endif
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  lres=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++cat conftest.$ac_ext >&5
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++		done
++		if test "$ires" -a "$lres" -a "$with_otp" != "no"; then
++			DIR_otp=
++			INCLUDE_otp="-I$ires"
++			LIB_otp="-L$lres -lotp "
++			found=yes
++			echo "$as_me:$LINENO: result: headers $ires, libraries $lres" >&5
++echo "${ECHO_T}headers $ires, libraries $lres" >&6
++		fi
++	fi
++	CFLAGS="$save_CFLAGS"
++	LIBS="$save_LIBS"
++fi
++
++if test "$found" = yes; then
++
++cat >>confdefs.h <<_ACEOF
++#define OTP 1
++_ACEOF
++
++	with_otp=yes
++else
++	with_otp=no
++	DIR_otp=
++	INCLUDE_otp=
++	LIB_otp=
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++
++
++
++
++  if ! test "$with_otp" = yes; then
++	DIR_otp="otp"
++ 	LIB_otp='$(top_builddir)/lib/otp/libotp.la'
++  fi
++fi
++
++
+ # Check whether --enable-bigendian or --disable-bigendian was given.
+ if test "${enable_bigendian+set}" = set; then
+   enableval="$enable_bigendian"
+@@ -35253,8 +36338,10 @@
+ 	:
+ elif test "$ac_cv_func_el_init" = yes; then
+ 	ac_foo=yes
++	DIR_readline="editline"
+ 	LIB_readline="\$(top_builddir)/lib/editline/libel_compat.la \$(LIB_el_init) \$(LIB_tgetent)"
+ else
++	DIR_readline="editline"
+ 	LIB_readline="\$(top_builddir)/lib/editline/libeditline.la \$(LIB_tgetent)"
+ fi
+ 
+@@ -35823,6 +36910,13 @@
+ 
+ DEFS=-DHAVE_CONFIG_H
+ 
++if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
+ if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
+   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
+ Usually this means the macro was only invoked conditionally." >&5
+@@ -36532,6 +37626,9 @@
+ s,@ECHO_N@,$ECHO_N,;t t
+ s,@ECHO_T@,$ECHO_T,;t t
+ s,@LIBS@,$LIBS,;t t
++s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
++s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
++s,@MAINT@,$MAINT,;t t
+ s,@CC@,$CC,;t t
+ s,@CFLAGS@,$CFLAGS,;t t
+ s,@LDFLAGS@,$LDFLAGS,;t t
+@@ -36585,8 +37682,10 @@
+ s,@WFLAGS@,$WFLAGS,;t t
+ s,@WFLAGS_NOUNUSED@,$WFLAGS_NOUNUSED,;t t
+ s,@WFLAGS_NOIMPLICITINT@,$WFLAGS_NOIMPLICITINT,;t t
++s,@DIR_openldap@,$DIR_openldap,;t t
+ s,@INCLUDE_openldap@,$INCLUDE_openldap,;t t
+ s,@LIB_openldap@,$LIB_openldap,;t t
++s,@DIR_krb4@,$DIR_krb4,;t t
+ s,@INCLUDE_krb4@,$INCLUDE_krb4,;t t
+ s,@LIB_krb4@,$LIB_krb4,;t t
+ s,@EXTRA_LIB45@,$EXTRA_LIB45,;t t
+@@ -36626,6 +37725,10 @@
+ s,@HAVE_NDBM_FALSE@,$HAVE_NDBM_FALSE,;t t
+ s,@DBLIB@,$DBLIB,;t t
+ s,@LIB_NDBM@,$LIB_NDBM,;t t
++s,@LIB_crypt@,$LIB_crypt,;t t
++s,@LIB_roken@,$LIB_roken,;t t
++s,@DIR_roken@,$DIR_roken,;t t
++s,@CPPFLAGS_roken@,$CPPFLAGS_roken,;t t
+ s,@VOID_RETSIGTYPE@,$VOID_RETSIGTYPE,;t t
+ s,@have_err_h_TRUE@,$have_err_h_TRUE,;t t
+ s,@have_err_h_FALSE@,$have_err_h_FALSE,;t t
+@@ -36655,11 +37758,6 @@
+ s,@LIB_getnameinfo@,$LIB_getnameinfo,;t t
+ s,@LIB_freeaddrinfo@,$LIB_freeaddrinfo,;t t
+ s,@LIB_gai_strerror@,$LIB_gai_strerror,;t t
+-s,@LIB_crypt@,$LIB_crypt,;t t
+-s,@DIR_roken@,$DIR_roken,;t t
+-s,@LIB_roken@,$LIB_roken,;t t
+-s,@INCLUDES_roken@,$INCLUDES_roken,;t t
+-s,@LIB_otp@,$LIB_otp,;t t
+ s,@OTP_TRUE@,$OTP_TRUE,;t t
+ s,@OTP_FALSE@,$OTP_FALSE,;t t
+ s,@LIB_security@,$LIB_security,;t t
+@@ -36669,10 +37767,21 @@
+ s,@CATMAN_TRUE@,$CATMAN_TRUE,;t t
+ s,@CATMAN_FALSE@,$CATMAN_FALSE,;t t
+ s,@CATMANEXT@,$CATMANEXT,;t t
++s,@DIR_readline@,$DIR_readline,;t t
+ s,@INCLUDE_readline@,$INCLUDE_readline,;t t
+ s,@LIB_readline@,$LIB_readline,;t t
++s,@DIR_hesiod@,$DIR_hesiod,;t t
+ s,@INCLUDE_hesiod@,$INCLUDE_hesiod,;t t
+ s,@LIB_hesiod@,$LIB_hesiod,;t t
++s,@DIR_sl@,$DIR_sl,;t t
++s,@INCLUDE_sl@,$INCLUDE_sl,;t t
++s,@LIB_sl@,$LIB_sl,;t t
++s,@DIR_ss@,$DIR_ss,;t t
++s,@INCLUDE_ss@,$INCLUDE_ss,;t t
++s,@LIB_ss@,$LIB_ss,;t t
++s,@DIR_otp@,$DIR_otp,;t t
++s,@INCLUDE_otp@,$INCLUDE_otp,;t t
++s,@LIB_otp@,$LIB_otp,;t t
+ s,@AIX_TRUE@,$AIX_TRUE,;t t
+ s,@AIX_FALSE@,$AIX_FALSE,;t t
+ s,@AIX4_TRUE@,$AIX4_TRUE,;t t
+@@ -37194,7 +38303,13 @@
+     depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
+   # Strip MF so we end up with the name of the file.
+   mf=`echo "$mf" | sed -e 's/:.*$//'`
+-  if (sed 1q $mf | fgrep 'generated by automake') > /dev/null 2>&1; then
++  # Check whether this is an Automake generated Makefile or not.
++  # We used to match only the files named `Makefile.in', but
++  # some people rename them; so instead we look at the file content.
++  # Grep'ing the first line is not enough: some people post-process
++  # each Makefile.in and add a new line on top of each file to say so.
++  # So let's grep whole file.
++  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
+     dirpart=`(dirname "$mf") 2>/dev/null ||
+ $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+          X"$mf" : 'X\(//\)[^/]' \| \
+diff -ruN heimdal-0.5.1-old/doc/Makefile.in heimdal-0.5.1/doc/Makefile.in
+--- heimdal-0.5.1-old/doc/Makefile.in	Tue Oct 22 03:49:27 2002
++++ heimdal-0.5.1/doc/Makefile.in	Mon Mar 17 14:42:30 2003
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -80,8 +81,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -89,7 +92,6 @@
+ ECHO = @ECHO@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,11 +111,11 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -190,6 +192,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -226,10 +237,10 @@
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .dvi .info .ps .texi
+-$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+ 	  $(AUTOMAKE) --foreign  doc/Makefile
+-Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
+ 	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+ 
+ mostlyclean-libtool:
+@@ -299,12 +310,12 @@
+ 
+ mostlyclean-aminfo:
+ 	-rm -f heimdal.aux heimdal.cp heimdal.cps heimdal.dvi heimdal.fn heimdal.ky \
+-	  heimdal.log heimdal.pg heimdal.ps heimdal.toc heimdal.tp \
+-	  heimdal.vr
++	  heimdal.log heimdal.pg heimdal.ps heimdal.tmp heimdal.toc \
++	  heimdal.tp heimdal.vr
+ 
+ maintainer-clean-aminfo:
+ 	cd $(srcdir) && \
+-	for i in $(INFO_DEPS); do \
++	list='$(INFO_DEPS)'; for i in $$list; do \
+ 	  rm -f $$i; \
+ 	  if test "`echo $$i-[0-9]*`" != "$$i-[0-9]*"; then \
+ 	    rm -f $$i-[0-9]*; \
+@@ -319,7 +330,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -369,7 +380,7 @@
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.5.1-old/include/Makefile.in heimdal-0.5.1/include/Makefile.in
+--- heimdal-0.5.1-old/include/Makefile.in	Tue Oct 22 03:49:28 2002
++++ heimdal-0.5.1/include/Makefile.in	Mon Mar 17 14:42:31 2003
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -80,8 +81,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -89,7 +92,6 @@
+ ECHO = @ECHO@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,11 +111,11 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -190,6 +192,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -288,7 +299,7 @@
+ 	install-exec-recursive installdirs-recursive install-recursive \
+ 	uninstall-recursive check-recursive installcheck-recursive
+ DIST_COMMON = $(include_HEADERS) $(noinst_HEADERS) Makefile.am \
+-	Makefile.in
++	Makefile.in config.h.in
+ DIST_SUBDIRS = $(SUBDIRS)
+ SOURCES = bits.c make_crypto.c
+ 
+@@ -297,10 +308,10 @@
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj
+-$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+ 	  $(AUTOMAKE) --foreign  include/Makefile
+-Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
+ 	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+ 
+ config.h: stamp-h1
+@@ -313,15 +324,19 @@
+ 	@rm -f stamp-h1
+ 	cd $(top_builddir) && $(SHELL) ./config.status include/config.h
+ 
+-$(srcdir)/config.h.in:  $(top_srcdir)/configure.in $(ACLOCAL_M4) 
++$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(top_srcdir)/configure.in $(ACLOCAL_M4) 
+ 	cd $(top_srcdir) && $(AUTOHEADER)
+ 	touch $(srcdir)/config.h.in
+ 
+ distclean-hdr:
+-	-rm -f config.h
++	-rm -f config.h stamp-h1
+ 
+ clean-noinstPROGRAMS:
+-	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
++	@list='$(noinst_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ bits$(EXEEXT): $(bits_OBJECTS) $(bits_DEPENDENCIES) 
+ 	@rm -f bits$(EXEEXT)
+ 	$(LINK) $(bits_LDFLAGS) $(bits_OBJECTS) $(bits_LDADD) $(LIBS)
+@@ -473,7 +488,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -537,7 +552,7 @@
+ 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.5.1-old/include/config.h.in heimdal-0.5.1/include/config.h.in
+--- heimdal-0.5.1-old/include/config.h.in	Tue Oct 22 03:50:02 2002
++++ heimdal-0.5.1/include/config.h.in	Mon Mar 17 14:42:17 2003
+@@ -1241,7 +1241,7 @@
+    *, int, int) */
+ #undef OPENLOG_PROTO_COMPATIBLE
+ 
+-/* Define if you want OTP support in applications. */
++/* Define if you have the otp package. */
+ #undef OTP
+ 
+ /* Name of package */
+@@ -1276,6 +1276,12 @@
+ 
+ /* path to sbin */
+ #undef SBINDIR
++
++/* Define if you have the sl package. */
++#undef SL
++
++/* Define if you have the ss package. */
++#undef SS
+ 
+ /* Define to 1 if you have the ANSI C header files. */
+ #undef STDC_HEADERS
+diff -ruN heimdal-0.5.1-old/include/kadm5/Makefile.in heimdal-0.5.1/include/kadm5/Makefile.in
+--- heimdal-0.5.1-old/include/kadm5/Makefile.in	Tue Oct 22 03:49:28 2002
++++ heimdal-0.5.1/include/kadm5/Makefile.in	Mon Mar 17 14:42:31 2003
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -80,8 +81,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -89,7 +92,6 @@
+ ECHO = @ECHO@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,11 +111,11 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -190,6 +192,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -222,10 +233,10 @@
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c
+-$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+ 	  $(AUTOMAKE) --foreign  include/kadm5/Makefile
+-Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
+ 	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+ 
+ mostlyclean-libtool:
+@@ -246,7 +257,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -296,7 +307,7 @@
+ 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.5.1-old/kadmin/Makefile.in heimdal-0.5.1/kadmin/Makefile.in
+--- heimdal-0.5.1-old/kadmin/Makefile.in	Tue Oct 22 03:49:28 2002
++++ heimdal-0.5.1/kadmin/Makefile.in	Mon Mar 17 14:42:32 2003
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -80,8 +81,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -89,7 +92,6 @@
+ ECHO = @ECHO@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,11 +111,11 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -190,6 +192,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -261,7 +272,7 @@
+ kadmin_LDADD = \
+ 	$(top_builddir)/lib/kadm5/libkadm5clnt.la \
+ 	$(top_builddir)/lib/kadm5/libkadm5srv.la \
+-	$(top_builddir)/lib/sl/libsl.la \
++	$(LIB_sl) \
+ 	$(LIB_readline) \
+ 	$(LDADD_common) \
+ 	$(LIB_dlopen)
+@@ -299,13 +310,12 @@
+ kadmin_OBJECTS = $(am_kadmin_OBJECTS)
+ kadmin_DEPENDENCIES = $(top_builddir)/lib/kadm5/libkadm5clnt.la \
+ 	$(top_builddir)/lib/kadm5/libkadm5srv.la \
+-	$(top_builddir)/lib/sl/libsl.la \
+ 	$(top_builddir)/lib/hdb/libhdb.la \
+ 	$(top_builddir)/lib/krb5/libkrb5.la \
+ 	$(top_builddir)/lib/asn1/libasn1.la
+ kadmin_LDFLAGS =
+-@KRB4_TRUE@am__objects_4 = version4.$(OBJEXT)
+-am_kadmind_OBJECTS = kadmind.$(OBJEXT) server.$(OBJEXT) $(am__objects_4) \
++@KRB4_TRUE@am__objects_1 = version4.$(OBJEXT)
++am_kadmind_OBJECTS = kadmind.$(OBJEXT) server.$(OBJEXT) $(am__objects_1) \
+ 	kadm_conn.$(OBJEXT)
+ kadmind_OBJECTS = $(am_kadmind_OBJECTS)
+ @KRB4_TRUE@kadmind_DEPENDENCIES = \
+@@ -345,10 +355,10 @@
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj
+-$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+ 	  $(AUTOMAKE) --foreign  kadmin/Makefile
+-Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
+ 	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+ libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ install-libexecPROGRAMS: $(libexec_PROGRAMS)
+@@ -359,8 +369,7 @@
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+-	    p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
+-	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f"; \
+ 	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f; \
+ 	  else :; fi; \
+@@ -369,17 +378,24 @@
+ uninstall-libexecPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+-	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  f=`echo "$$f" | sed -e 's,^.*/,,'`; \
++	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(libexecdir)/$$f; \
+ 	done
+ 
+ clean-libexecPROGRAMS:
+-	-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
++	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ 
+ clean-noinstPROGRAMS:
+-	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
++	@list='$(noinst_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ sbinPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ install-sbinPROGRAMS: $(sbin_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+@@ -389,8 +405,7 @@
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+-	    p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
+-	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(sbinPROGRAMS_INSTALL) $$p $(DESTDIR)$(sbindir)/$$f"; \
+ 	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(sbinPROGRAMS_INSTALL) $$p $(DESTDIR)$(sbindir)/$$f; \
+ 	  else :; fi; \
+@@ -399,14 +414,17 @@
+ uninstall-sbinPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(sbin_PROGRAMS)'; for p in $$list; do \
+-	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  f=`echo "$$f" | sed -e 's,^.*/,,'`; \
++	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(sbindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(sbindir)/$$f; \
+ 	done
+ 
+ clean-sbinPROGRAMS:
+-	-test -z "$(sbin_PROGRAMS)" || rm -f $(sbin_PROGRAMS)
++	@list='$(sbin_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ add_random_users$(EXEEXT): $(add_random_users_OBJECTS) $(add_random_users_DEPENDENCIES) 
+ 	@rm -f add_random_users$(EXEEXT)
+ 	$(LINK) $(add_random_users_LDFLAGS) $(add_random_users_OBJECTS) $(add_random_users_LDADD) $(LIBS)
+@@ -457,6 +475,10 @@
+ 	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
+ 	  else file=$$i; fi; \
+ 	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
++	  case "$$ext" in \
++	    8*) ;; \
++	    *) ext='8' ;; \
++	  esac; \
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+@@ -522,7 +544,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -572,7 +594,7 @@
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.5.1-old/kdc/Makefile.in heimdal-0.5.1/kdc/Makefile.in
+--- heimdal-0.5.1-old/kdc/Makefile.in	Tue Oct 22 03:49:29 2002
++++ heimdal-0.5.1/kdc/Makefile.in	Mon Mar 17 14:42:32 2003
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -80,8 +81,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -89,7 +92,6 @@
+ ECHO = @ECHO@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,11 +111,11 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -190,6 +192,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -334,10 +345,10 @@
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj
+-$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+ 	  $(AUTOMAKE) --foreign  kdc/Makefile
+-Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
+ 	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+ binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ install-binPROGRAMS: $(bin_PROGRAMS)
+@@ -348,8 +359,7 @@
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+-	    p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
+-	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
+ 	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+@@ -358,14 +368,17 @@
+ uninstall-binPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  f=`echo "$$f" | sed -e 's,^.*/,,'`; \
++	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+ clean-binPROGRAMS:
+-	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
++	@list='$(bin_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ install-libexecPROGRAMS: $(libexec_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+@@ -375,8 +388,7 @@
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+-	    p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
+-	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f"; \
+ 	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f; \
+ 	  else :; fi; \
+@@ -385,14 +397,17 @@
+ uninstall-libexecPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+-	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  f=`echo "$$f" | sed -e 's,^.*/,,'`; \
++	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(libexecdir)/$$f; \
+ 	done
+ 
+ clean-libexecPROGRAMS:
+-	-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
++	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ sbinPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ install-sbinPROGRAMS: $(sbin_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+@@ -402,8 +417,7 @@
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+-	    p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
+-	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(sbinPROGRAMS_INSTALL) $$p $(DESTDIR)$(sbindir)/$$f"; \
+ 	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(sbinPROGRAMS_INSTALL) $$p $(DESTDIR)$(sbindir)/$$f; \
+ 	  else :; fi; \
+@@ -412,14 +426,17 @@
+ uninstall-sbinPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(sbin_PROGRAMS)'; for p in $$list; do \
+-	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  f=`echo "$$f" | sed -e 's,^.*/,,'`; \
++	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(sbindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(sbindir)/$$f; \
+ 	done
+ 
+ clean-sbinPROGRAMS:
+-	-test -z "$(sbin_PROGRAMS)" || rm -f $(sbin_PROGRAMS)
++	@list='$(sbin_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ hprop$(EXEEXT): $(hprop_OBJECTS) $(hprop_DEPENDENCIES) 
+ 	@rm -f hprop$(EXEEXT)
+ 	$(LINK) $(hprop_LDFLAGS) $(hprop_OBJECTS) $(hprop_LDADD) $(LIBS)
+@@ -476,6 +493,10 @@
+ 	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
+ 	  else file=$$i; fi; \
+ 	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
++	  case "$$ext" in \
++	    8*) ;; \
++	    *) ext='8' ;; \
++	  esac; \
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+@@ -541,7 +562,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -591,7 +612,7 @@
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.5.1-old/kpasswd/Makefile.in heimdal-0.5.1/kpasswd/Makefile.in
+--- heimdal-0.5.1-old/kpasswd/Makefile.in	Tue Oct 22 03:49:29 2002
++++ heimdal-0.5.1/kpasswd/Makefile.in	Mon Mar 17 14:42:33 2003
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -80,8 +81,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -89,7 +92,6 @@
+ ECHO = @ECHO@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,11 +111,11 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -190,6 +192,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -282,10 +293,10 @@
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj
+-$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+ 	  $(AUTOMAKE) --foreign  kpasswd/Makefile
+-Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
+ 	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+ binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ install-binPROGRAMS: $(bin_PROGRAMS)
+@@ -296,8 +307,7 @@
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+-	    p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
+-	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
+ 	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+@@ -306,14 +316,17 @@
+ uninstall-binPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  f=`echo "$$f" | sed -e 's,^.*/,,'`; \
++	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+ clean-binPROGRAMS:
+-	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
++	@list='$(bin_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ install-libexecPROGRAMS: $(libexec_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+@@ -323,8 +336,7 @@
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+-	    p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
+-	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f"; \
+ 	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f; \
+ 	  else :; fi; \
+@@ -333,17 +345,24 @@
+ uninstall-libexecPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+-	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  f=`echo "$$f" | sed -e 's,^.*/,,'`; \
++	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(libexecdir)/$$f; \
+ 	done
+ 
+ clean-libexecPROGRAMS:
+-	-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
++	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ 
+ clean-noinstPROGRAMS:
+-	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
++	@list='$(noinst_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ kpasswd$(EXEEXT): $(kpasswd_OBJECTS) $(kpasswd_DEPENDENCIES) 
+ 	@rm -f kpasswd$(EXEEXT)
+ 	$(LINK) $(kpasswd_LDFLAGS) $(kpasswd_OBJECTS) $(kpasswd_LDADD) $(LIBS)
+@@ -394,6 +413,10 @@
+ 	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
+ 	  else file=$$i; fi; \
+ 	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
++	  case "$$ext" in \
++	    1*) ;; \
++	    *) ext='1' ;; \
++	  esac; \
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+@@ -433,6 +456,10 @@
+ 	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
+ 	  else file=$$i; fi; \
+ 	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
++	  case "$$ext" in \
++	    8*) ;; \
++	    *) ext='8' ;; \
++	  esac; \
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+@@ -498,7 +525,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -548,7 +575,7 @@
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.5.1-old/kuser/Makefile.in heimdal-0.5.1/kuser/Makefile.in
+--- heimdal-0.5.1-old/kuser/Makefile.in	Tue Oct 22 03:49:29 2002
++++ heimdal-0.5.1/kuser/Makefile.in	Mon Mar 17 14:42:33 2003
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -80,8 +81,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -89,7 +92,6 @@
+ ECHO = @ECHO@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,11 +111,11 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -190,6 +192,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -310,10 +321,10 @@
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj
+-$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+ 	  $(AUTOMAKE) --foreign  kuser/Makefile
+-Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
+ 	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+ binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ install-binPROGRAMS: $(bin_PROGRAMS)
+@@ -324,8 +335,7 @@
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+-	    p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
+-	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
+ 	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+@@ -334,17 +344,24 @@
+ uninstall-binPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  f=`echo "$$f" | sed -e 's,^.*/,,'`; \
++	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+ clean-binPROGRAMS:
+-	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
++	@list='$(bin_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ 
+ clean-noinstPROGRAMS:
+-	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
++	@list='$(noinst_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ generate-requests$(EXEEXT): $(generate_requests_OBJECTS) $(generate_requests_DEPENDENCIES) 
+ 	@rm -f generate-requests$(EXEEXT)
+ 	$(LINK) $(generate_requests_LDFLAGS) $(generate_requests_OBJECTS) $(generate_requests_LDADD) $(LIBS)
+@@ -407,6 +424,10 @@
+ 	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
+ 	  else file=$$i; fi; \
+ 	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
++	  case "$$ext" in \
++	    1*) ;; \
++	    *) ext='1' ;; \
++	  esac; \
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+@@ -472,7 +493,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -522,7 +543,7 @@
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.5.1-old/lib/45/Makefile.in heimdal-0.5.1/lib/45/Makefile.in
+--- heimdal-0.5.1-old/lib/45/Makefile.in	Tue Oct 22 03:49:30 2002
++++ heimdal-0.5.1/lib/45/Makefile.in	Mon Mar 17 14:42:34 2003
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -80,8 +81,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -89,7 +92,6 @@
+ ECHO = @ECHO@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,11 +111,11 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -190,6 +192,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -240,10 +251,10 @@
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj
+-$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+ 	  $(AUTOMAKE) --foreign  lib/45/Makefile
+-Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
+ 	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+ 
+ AR = ar
+@@ -348,7 +359,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -398,7 +409,7 @@
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.5.1-old/lib/Makefile.in heimdal-0.5.1/lib/Makefile.in
+--- heimdal-0.5.1-old/lib/Makefile.in	Tue Oct 22 03:49:30 2002
++++ heimdal-0.5.1/lib/Makefile.in	Mon Mar 17 14:42:34 2003
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -80,8 +81,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -89,7 +92,6 @@
+ ECHO = @ECHO@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,11 +111,11 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -190,6 +192,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -202,11 +213,10 @@
+ @DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ @KRB4_TRUE@dir_45 = 45
+-@OTP_TRUE@dir_otp = otp
+ @DCE_TRUE@dir_dce = kdfs
+ 
+-SUBDIRS = @DIR_roken@ vers editline @DIR_com_err@ sl asn1 @DIR_des@ krb5 \
+-	kafs hdb kadm5 gssapi auth $(dir_45) $(dir_otp) $(dir_dce)
++SUBDIRS = @DIR_roken@ vers @DIR_readline@ @DIR_com_err@ @DIR_sl@ asn1 @DIR_des@ krb5 \
++	kafs hdb kadm5 gssapi auth $(dir_45) @DIR_otp@ $(dir_dce)
+ 
+ subdir = lib
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+@@ -229,16 +239,17 @@
+ 	install-exec-recursive installdirs-recursive install-recursive \
+ 	uninstall-recursive check-recursive installcheck-recursive
+ DIST_COMMON = Makefile.am Makefile.in
+-DIST_SUBDIRS = @DIR_roken@ vers editline @DIR_com_err@ sl asn1 @DIR_des@ \
+-	krb5 kafs hdb kadm5 gssapi auth 45 otp kdfs
++DIST_SUBDIRS = @DIR_roken@ vers @DIR_readline@ @DIR_com_err@ @DIR_sl@ \
++	asn1 @DIR_des@ krb5 kafs hdb kadm5 gssapi auth 45 @DIR_otp@ \
++	kdfs
+ all: all-recursive
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c
+-$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+ 	  $(AUTOMAKE) --foreign  lib/Makefile
+-Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
+ 	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+ 
+ mostlyclean-libtool:
+@@ -352,7 +363,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -414,7 +425,7 @@
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.5.1-old/lib/asn1/Makefile.in heimdal-0.5.1/lib/asn1/Makefile.in
+--- heimdal-0.5.1-old/lib/asn1/Makefile.in	Tue Oct 22 03:49:30 2002
++++ heimdal-0.5.1/lib/asn1/Makefile.in	Mon Mar 17 14:42:35 2003
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -80,8 +81,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -89,7 +92,6 @@
+ ECHO = @ECHO@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,11 +111,11 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -190,6 +192,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -204,7 +215,7 @@
+ YFLAGS = -d
+ 
+ lib_LTLIBRARIES = libasn1.la
+-libasn1_la_LDFLAGS = -version-info 6:0:0
++libasn1_la_LDFLAGS = -version-info 6:0:0 -Wl,--version-script=libasn1.script
+ 
+ libasn1_la_LIBADD = @LIB_com_err@
+ 
+@@ -314,7 +325,7 @@
+ 
+ include_HEADERS = krb5_asn1.h asn1_err.h der.h
+ 
+-EXTRA_DIST = asn1_err.et
++EXTRA_DIST = asn1_err.et libasn1.script
+ subdir = lib/asn1
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+ CONFIG_HEADER = $(top_builddir)/include/config.h
+@@ -322,7 +333,7 @@
+ LTLIBRARIES = $(lib_LTLIBRARIES)
+ 
+ libasn1_la_DEPENDENCIES =
+-am__objects_6 = asn1_APOptions.lo asn1_AP_REP.lo asn1_AP_REQ.lo \
++am__objects_1 = asn1_APOptions.lo asn1_AP_REP.lo asn1_AP_REQ.lo \
+ 	asn1_AS_REP.lo asn1_AS_REQ.lo asn1_Authenticator.lo \
+ 	asn1_AuthorizationData.lo asn1_CKSUMTYPE.lo asn1_Checksum.lo \
+ 	asn1_ENCTYPE.lo asn1_ETYPE_INFO.lo asn1_ETYPE_INFO_ENTRY.lo \
+@@ -340,9 +351,9 @@
+ 	asn1_PrincipalName.lo asn1_Realm.lo asn1_TGS_REP.lo \
+ 	asn1_TGS_REQ.lo asn1_Ticket.lo asn1_TicketFlags.lo \
+ 	asn1_TransitedEncoding.lo asn1_UNSIGNED.lo
+-am__objects_5 = $(am__objects_6) asn1_err.lo
++am__objects_2 = $(am__objects_1) asn1_err.lo
+ am_libasn1_la_OBJECTS = der_get.lo der_put.lo der_free.lo der_length.lo \
+-	der_copy.lo timegm.lo $(am__objects_5)
++	der_copy.lo timegm.lo $(am__objects_2)
+ libasn1_la_OBJECTS = $(am_libasn1_la_OBJECTS)
+ check_PROGRAMS = check-der$(EXEEXT)
+ noinst_PROGRAMS = asn1_compile$(EXEEXT) asn1_print$(EXEEXT)
+@@ -396,10 +407,10 @@
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .l .lo .o .obj .y
+-$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+ 	  $(AUTOMAKE) --foreign  lib/asn1/Makefile
+-Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
+ 	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+ libLTLIBRARIES_INSTALL = $(INSTALL)
+ install-libLTLIBRARIES: $(lib_LTLIBRARIES)
+@@ -423,15 +434,33 @@
+ 
+ clean-libLTLIBRARIES:
+ 	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
++	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
++	  dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
++	  test -z "$dir" && dir=.; \
++	  echo "rm -f \"$${dir}/so_locations\""; \
++	  rm -f "$${dir}/so_locations"; \
++	done
+ libasn1.la: $(libasn1_la_OBJECTS) $(libasn1_la_DEPENDENCIES) 
+ 	$(LINK) -rpath $(libdir) $(libasn1_la_LDFLAGS) $(libasn1_la_OBJECTS) $(libasn1_la_LIBADD) $(LIBS)
+ 
+ clean-checkPROGRAMS:
+-	-test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
++	@list='$(check_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ 
+ clean-noinstPROGRAMS:
+-	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
++	@list='$(noinst_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ parse.h: parse.c
++	@if test ! -f $@; then \
++	  rm -f parse.c; \
++	  $(MAKE) parse.c; \
++	else :; fi
+ asn1_compile$(EXEEXT): $(asn1_compile_OBJECTS) $(asn1_compile_DEPENDENCIES) 
+ 	@rm -f asn1_compile$(EXEEXT)
+ 	$(LINK) $(asn1_compile_LDFLAGS) $(asn1_compile_OBJECTS) $(asn1_compile_LDADD) $(LIBS)
+@@ -606,7 +635,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -658,12 +687,12 @@
+ 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+ 	@echo "it deletes files that may require special tools to rebuild."
+-	-test -z "parse.h$(BUILT_SOURCES)" || rm -f parse.h $(BUILT_SOURCES)
++	-test -z "lex.cparse.hparse.c$(BUILT_SOURCES)" || rm -f lex.c parse.h parse.c $(BUILT_SOURCES)
+ clean: clean-am
+ 
+ clean-am: clean-checkPROGRAMS clean-generic clean-libLTLIBRARIES \
+diff -ruN heimdal-0.5.1-old/lib/auth/Makefile.in heimdal-0.5.1/lib/auth/Makefile.in
+--- heimdal-0.5.1-old/lib/auth/Makefile.in	Tue Oct 22 03:49:30 2002
++++ heimdal-0.5.1/lib/auth/Makefile.in	Mon Mar 17 14:42:35 2003
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -80,8 +81,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -89,7 +92,6 @@
+ ECHO = @ECHO@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,11 +111,11 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -190,6 +192,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -228,10 +239,10 @@
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c
+-$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+ 	  $(AUTOMAKE) --foreign  lib/auth/Makefile
+-Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
+ 	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+ 
+ mostlyclean-libtool:
+@@ -345,7 +356,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -407,7 +418,7 @@
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.5.1-old/lib/auth/afskauthlib/Makefile.in heimdal-0.5.1/lib/auth/afskauthlib/Makefile.in
+--- heimdal-0.5.1-old/lib/auth/afskauthlib/Makefile.in	Tue Oct 22 03:49:31 2002
++++ heimdal-0.5.1/lib/auth/afskauthlib/Makefile.in	Mon Mar 17 14:42:35 2003
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -80,8 +81,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -89,7 +92,6 @@
+ ECHO = @ECHO@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,11 +111,11 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -190,6 +192,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -211,7 +222,7 @@
+ 
+ CLEANFILES = $(foo_DATA) $(OBJS) so_locations
+ 
+-@KRB4_TRUE@KAFS = $(top_builddir)/lib/kafs/libkafs.la
++@KRB4_TRUE@KAFS = $(LIB_kafs)
+ 
+ @KRB5_TRUE@L = \
+ @KRB5_TRUE@	$(KAFS)	\
+@@ -219,14 +230,14 @@
+ @KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la	\
+ @KRB5_TRUE@	$(LIB_krb4)				\
+ @KRB5_TRUE@	$(LIB_des)				\
+-@KRB5_TRUE@	$(top_builddir)/lib/roken/libroken.la	\
++@KRB5_TRUE@	$(LIB_roken)	\
+ @KRB5_TRUE@	-lc
+ 
+ @KRB5_FALSE@L = \
+ @KRB5_FALSE@	$(KAFS)	\
+ @KRB5_FALSE@	$(LIB_krb4)				\
+ @KRB5_FALSE@	$(LIB_des)				\
+-@KRB5_FALSE@	$(top_builddir)/lib/roken/libroken.la	\
++@KRB5_FALSE@	$(LIB_roken)	\
+ @KRB5_FALSE@	-lc
+ 
+ subdir = lib/auth/afskauthlib
+@@ -251,10 +262,10 @@
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .o
+-$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+ 	  $(AUTOMAKE) --foreign  lib/auth/afskauthlib/Makefile
+-Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
+ 	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+ 
+ mostlyclean-libtool:
+@@ -293,7 +304,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -344,7 +355,7 @@
+ 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.5.1-old/lib/auth/pam/Makefile.in heimdal-0.5.1/lib/auth/pam/Makefile.in
+--- heimdal-0.5.1-old/lib/auth/pam/Makefile.in	Tue Oct 22 03:49:31 2002
++++ heimdal-0.5.1/lib/auth/pam/Makefile.in	Mon Mar 17 14:42:35 2003
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -80,8 +81,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -89,7 +92,6 @@
+ ECHO = @ECHO@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,11 +111,11 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -191,6 +193,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -258,10 +269,10 @@
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .o
+-$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+ 	  $(AUTOMAKE) --foreign  lib/auth/pam/Makefile
+-Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
+ 	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+ 
+ mostlyclean-libtool:
+@@ -300,7 +311,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -351,7 +362,7 @@
+ 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.5.1-old/lib/auth/sia/Makefile.in heimdal-0.5.1/lib/auth/sia/Makefile.in
+--- heimdal-0.5.1-old/lib/auth/sia/Makefile.in	Tue Oct 22 03:49:31 2002
++++ heimdal-0.5.1/lib/auth/sia/Makefile.in	Mon Mar 17 14:42:36 2003
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -80,8 +81,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -89,7 +92,6 @@
+ ECHO = @ECHO@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,11 +111,11 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -191,6 +193,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -288,10 +299,10 @@
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .o
+-$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+ 	  $(AUTOMAKE) --foreign  lib/auth/sia/Makefile
+-Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
+ 	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+ 
+ mostlyclean-libtool:
+@@ -330,7 +341,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -381,7 +392,7 @@
+ 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.5.1-old/lib/com_err/Makefile.in heimdal-0.5.1/lib/com_err/Makefile.in
+--- heimdal-0.5.1-old/lib/com_err/Makefile.in	Tue Oct 22 03:49:32 2002
++++ heimdal-0.5.1/lib/com_err/Makefile.in	Mon Mar 17 14:42:36 2003
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -80,8 +81,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -89,7 +92,6 @@
+ ECHO = @ECHO@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,11 +111,11 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -190,6 +192,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -201,10 +212,12 @@
+ 
+ @DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
++EXTRA_DIST = libcom_err.script
++
+ YFLAGS = -d
+ 
+ lib_LTLIBRARIES = libcom_err.la
+-libcom_err_la_LDFLAGS = -version-info 2:1:1
++libcom_err_la_LDFLAGS = -version-info 2:1:1 -Wl,--version-script=libcom_err.script
+ 
+ bin_PROGRAMS = compile_et
+ 
+@@ -268,10 +281,10 @@
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .l .lo .o .obj .y
+-$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+ 	  $(AUTOMAKE) --foreign  lib/com_err/Makefile
+-Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
+ 	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+ libLTLIBRARIES_INSTALL = $(INSTALL)
+ install-libLTLIBRARIES: $(lib_LTLIBRARIES)
+@@ -295,6 +308,12 @@
+ 
+ clean-libLTLIBRARIES:
+ 	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
++	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
++	  dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
++	  test -z "$dir" && dir=.; \
++	  echo "rm -f \"$${dir}/so_locations\""; \
++	  rm -f "$${dir}/so_locations"; \
++	done
+ libcom_err.la: $(libcom_err_la_OBJECTS) $(libcom_err_la_DEPENDENCIES) 
+ 	$(LINK) -rpath $(libdir) $(libcom_err_la_LDFLAGS) $(libcom_err_la_OBJECTS) $(libcom_err_la_LIBADD) $(LIBS)
+ binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+@@ -306,8 +325,7 @@
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+-	    p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
+-	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
+ 	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+@@ -316,15 +334,22 @@
+ uninstall-binPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  f=`echo "$$f" | sed -e 's,^.*/,,'`; \
++	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+ clean-binPROGRAMS:
+-	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
++	@list='$(bin_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ parse.h: parse.c
++	@if test ! -f $@; then \
++	  rm -f parse.c; \
++	  $(MAKE) parse.c; \
++	else :; fi
+ compile_et$(EXEEXT): $(compile_et_OBJECTS) $(compile_et_DEPENDENCIES) 
+ 	@rm -f compile_et$(EXEEXT)
+ 	$(LINK) $(compile_et_LDFLAGS) $(compile_et_OBJECTS) $(compile_et_LDADD) $(LIBS)
+@@ -438,7 +463,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -491,12 +516,12 @@
+ 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+ 	@echo "it deletes files that may require special tools to rebuild."
+-	-test -z "parse.h" || rm -f parse.h
++	-test -z "parse.hparse.clex.c" || rm -f parse.h parse.c lex.c
+ clean: clean-am
+ 
+ clean-am: clean-binPROGRAMS clean-generic clean-libLTLIBRARIES \
+diff -ruN heimdal-0.5.1-old/lib/des/Makefile.in heimdal-0.5.1/lib/des/Makefile.in
+--- heimdal-0.5.1-old/lib/des/Makefile.in	Tue Oct 22 03:49:32 2002
++++ heimdal-0.5.1/lib/des/Makefile.in	Mon Mar 17 14:42:37 2003
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -80,8 +81,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -89,7 +92,6 @@
+ ECHO = @ECHO@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,11 +111,11 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -190,6 +192,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -202,7 +213,7 @@
+ @DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ lib_LTLIBRARIES = libdes.la
+-libdes_la_LDFLAGS = -version-info 3:1:0
++libdes_la_LDFLAGS = -version-info 3:1:0 -Wl,--version-script=libdes.script
+ 
+ include_HEADERS = des.h md4.h md5.h sha.h rc4.h
+ 
+@@ -300,7 +311,8 @@
+ 	times		\
+ 	typemap		\
+ 	version.h	\
+-	vms.com
++	vms.com		\
++	libdes.script
+ 
+ 
+ asm_files = des-som2.pl des-som3.pl des586.pl des686.pl desboth.pl \
+@@ -374,10 +386,10 @@
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj
+-$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+ 	  $(AUTOMAKE) --foreign  lib/des/Makefile
+-Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
+ 	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+ libLTLIBRARIES_INSTALL = $(INSTALL)
+ install-libLTLIBRARIES: $(lib_LTLIBRARIES)
+@@ -401,6 +413,12 @@
+ 
+ clean-libLTLIBRARIES:
+ 	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
++	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
++	  dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
++	  test -z "$dir" && dir=.; \
++	  echo "rm -f \"$${dir}/so_locations\""; \
++	  rm -f "$${dir}/so_locations"; \
++	done
+ libdes.la: $(libdes_la_OBJECTS) $(libdes_la_DEPENDENCIES) 
+ 	$(LINK) -rpath $(libdir) $(libdes_la_LDFLAGS) $(libdes_la_OBJECTS) $(libdes_la_LIBADD) $(LIBS)
+ binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+@@ -412,8 +430,7 @@
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+-	    p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
+-	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
+ 	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+@@ -422,17 +439,24 @@
+ uninstall-binPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  f=`echo "$$f" | sed -e 's,^.*/,,'`; \
++	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+ clean-binPROGRAMS:
+-	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
++	@list='$(bin_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ 
+ clean-checkPROGRAMS:
+-	-test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
++	@list='$(check_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ des$(EXEEXT): $(des_OBJECTS) $(des_DEPENDENCIES) 
+ 	@rm -f des$(EXEEXT)
+ 	$(LINK) $(des_LDFLAGS) $(des_OBJECTS) $(des_LDADD) $(LIBS)
+@@ -486,6 +510,10 @@
+ 	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
+ 	  else file=$$i; fi; \
+ 	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
++	  case "$$ext" in \
++	    1*) ;; \
++	    *) ext='1' ;; \
++	  esac; \
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+@@ -525,6 +553,10 @@
+ 	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
+ 	  else file=$$i; fi; \
+ 	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
++	  case "$$ext" in \
++	    3*) ;; \
++	    *) ext='3' ;; \
++	  esac; \
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+@@ -663,7 +695,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -716,7 +748,7 @@
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.5.1-old/lib/editline/Makefile.in heimdal-0.5.1/lib/editline/Makefile.in
+--- heimdal-0.5.1-old/lib/editline/Makefile.in	Tue Oct 22 03:49:33 2002
++++ heimdal-0.5.1/lib/editline/Makefile.in	Mon Mar 17 14:42:37 2003
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -80,8 +81,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -89,7 +92,6 @@
+ ECHO = @ECHO@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,11 +111,11 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -190,6 +192,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -231,15 +242,15 @@
+ 	$(EXTRA_SOURCE)
+ 
+ 
+-libeditline_la_LDFLAGS = -static
++libeditline_la_LDFLAGS = -no-undefined -Wl,--version-script=libeditline.script
+ 
+ EXTRA_SOURCE = $(ES) 
+ 
+ libel_compat_la_SOURCES = edit_compat.c
+ 
+-libel_compat_la_LDFLAGS = -static
++libel_compat_la_LDFLAGS = -no-undefined
+ 
+-EXTRA_DIST = $(man_MANS)
++EXTRA_DIST = $(man_MANS) libeditline.script
+ subdir = lib/editline
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+ CONFIG_HEADER = $(top_builddir)/include/config.h
+@@ -247,10 +258,10 @@
+ LTLIBRARIES = $(lib_LTLIBRARIES) $(noinst_LTLIBRARIES)
+ 
+ libeditline_la_LIBADD =
+-@do_roken_rename_TRUE@am__objects_8 = snprintf.lo strdup.lo
+-am__objects_7 = $(am__objects_8)
++@do_roken_rename_TRUE@am__objects_1 = snprintf.lo strdup.lo
++am__objects_2 = $(am__objects_1)
+ am_libeditline_la_OBJECTS = complete.lo editline.lo sysunix.lo \
+-	$(am__objects_7)
++	$(am__objects_2)
+ libeditline_la_OBJECTS = $(am_libeditline_la_OBJECTS)
+ libel_compat_la_LIBADD =
+ am_libel_compat_la_OBJECTS = edit_compat.lo
+@@ -291,10 +302,10 @@
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj
+-$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+ 	  $(AUTOMAKE) --foreign  lib/editline/Makefile
+-Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
+ 	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+ libLTLIBRARIES_INSTALL = $(INSTALL)
+ install-libLTLIBRARIES: $(lib_LTLIBRARIES)
+@@ -318,16 +329,32 @@
+ 
+ clean-libLTLIBRARIES:
+ 	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
++	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
++	  dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
++	  test -z "$dir" && dir=.; \
++	  echo "rm -f \"$${dir}/so_locations\""; \
++	  rm -f "$${dir}/so_locations"; \
++	done
+ 
+ clean-noinstLTLIBRARIES:
+ 	-test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
++	@list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
++	  dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
++	  test -z "$dir" && dir=.; \
++	  echo "rm -f \"$${dir}/so_locations\""; \
++	  rm -f "$${dir}/so_locations"; \
++	done
+ libeditline.la: $(libeditline_la_OBJECTS) $(libeditline_la_DEPENDENCIES) 
+ 	$(LINK) -rpath $(libdir) $(libeditline_la_LDFLAGS) $(libeditline_la_OBJECTS) $(libeditline_la_LIBADD) $(LIBS)
+ libel_compat.la: $(libel_compat_la_OBJECTS) $(libel_compat_la_DEPENDENCIES) 
+ 	$(LINK)  $(libel_compat_la_LDFLAGS) $(libel_compat_la_OBJECTS) $(libel_compat_la_LIBADD) $(LIBS)
+ 
+ clean-noinstPROGRAMS:
+-	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
++	@list='$(noinst_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ testit$(EXEEXT): $(testit_OBJECTS) $(testit_DEPENDENCIES) 
+ 	@rm -f testit$(EXEEXT)
+ 	$(LINK) $(testit_LDFLAGS) $(testit_OBJECTS) $(testit_LDADD) $(LIBS)
+@@ -372,6 +399,10 @@
+ 	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
+ 	  else file=$$i; fi; \
+ 	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
++	  case "$$ext" in \
++	    3*) ;; \
++	    *) ext='3' ;; \
++	  esac; \
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+@@ -455,7 +486,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -505,7 +536,7 @@
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.5.1-old/lib/gssapi/Makefile.in heimdal-0.5.1/lib/gssapi/Makefile.in
+--- heimdal-0.5.1-old/lib/gssapi/Makefile.in	Tue Oct 22 03:49:33 2002
++++ heimdal-0.5.1/lib/gssapi/Makefile.in	Mon Mar 17 14:42:38 2003
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -80,8 +81,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -89,7 +92,6 @@
+ ECHO = @ECHO@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,11 +111,11 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -190,6 +192,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -201,9 +212,11 @@
+ 
+ @DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
++EXTRA_DIST = libgssapi.script
++
+ lib_LTLIBRARIES = libgssapi.la
+-libgssapi_la_LDFLAGS = -version-info 3:5:2
+-libgssapi_la_LIBADD = ../krb5/libkrb5.la $(LIB_des) ../asn1/libasn1.la ../roken/libroken.la
++libgssapi_la_LDFLAGS = -version-info 3:5:2 -Wl,--version-script=libgssapi.script
++libgssapi_la_LIBADD = ../krb5/libkrb5.la $(LIB_des) ../asn1/libasn1.la $(LIB_roken)
+ 
+ include_HEADERS = gssapi.h
+ 
+@@ -253,8 +266,7 @@
+ CONFIG_CLEAN_FILES =
+ LTLIBRARIES = $(lib_LTLIBRARIES)
+ 
+-libgssapi_la_DEPENDENCIES = ../krb5/libkrb5.la ../asn1/libasn1.la \
+-	../roken/libroken.la
++libgssapi_la_DEPENDENCIES = ../krb5/libkrb5.la ../asn1/libasn1.la
+ am_libgssapi_la_OBJECTS = 8003.lo accept_sec_context.lo acquire_cred.lo \
+ 	add_oid_set_member.lo canonicalize_name.lo compare_name.lo \
+ 	context_time.lo copy_ccache.lo create_emtpy_oid_set.lo \
+@@ -293,10 +305,10 @@
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj
+-$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+ 	  $(AUTOMAKE) --foreign  lib/gssapi/Makefile
+-Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
+ 	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+ libLTLIBRARIES_INSTALL = $(INSTALL)
+ install-libLTLIBRARIES: $(lib_LTLIBRARIES)
+@@ -320,6 +332,12 @@
+ 
+ clean-libLTLIBRARIES:
+ 	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
++	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
++	  dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
++	  test -z "$dir" && dir=.; \
++	  echo "rm -f \"$${dir}/so_locations\""; \
++	  rm -f "$${dir}/so_locations"; \
++	done
+ libgssapi.la: $(libgssapi_la_OBJECTS) $(libgssapi_la_DEPENDENCIES) 
+ 	$(LINK) -rpath $(libdir) $(libgssapi_la_LDFLAGS) $(libgssapi_la_OBJECTS) $(libgssapi_la_LIBADD) $(LIBS)
+ 
+@@ -407,7 +425,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -457,7 +475,7 @@
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.5.1-old/lib/hdb/Makefile.in heimdal-0.5.1/lib/hdb/Makefile.in
+--- heimdal-0.5.1-old/lib/hdb/Makefile.in	Tue Oct 22 03:49:33 2002
++++ heimdal-0.5.1/lib/hdb/Makefile.in	Mon Mar 17 14:42:38 2003
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -80,8 +81,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -89,7 +92,6 @@
+ ECHO = @ECHO@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,11 +111,11 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -190,6 +192,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -201,6 +212,8 @@
+ 
+ @DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
++EXTRA_DIST = libhdb.script
++
+ BUILT_SOURCES = asn1_Key.c asn1_Event.c asn1_HDBFlags.c asn1_hdb_entry.c \
+ 	asn1_Salt.c hdb_err.c hdb_err.h asn1_GENERATION.c
+ 
+@@ -219,7 +232,7 @@
+ 
+ 
+ lib_LTLIBRARIES = libhdb.la
+-libhdb_la_LDFLAGS = -version-info 7:5:0
++libhdb_la_LDFLAGS = -version-info 7:5:0 -Wl,--version-script=libhdb.script
+ 
+ libhdb_la_SOURCES = \
+ 	common.c				\
+@@ -236,19 +249,18 @@
+ 
+ include_HEADERS = hdb.h hdb_err.h hdb_asn1.h hdb-protos.h hdb-private.h
+ 
+-libhdb_la_LIBADD = ../krb5/libkrb5.la ../asn1/libasn1.la ../roken/libroken.la $(LIB_openldap) $(DBLIB) $(LIB_NDBM)
++libhdb_la_LIBADD = ../krb5/libkrb5.la ../asn1/libasn1.la $(LIB_roken) $(LIB_openldap) $(DBLIB) $(LIB_NDBM)
+ subdir = lib/hdb
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+ CONFIG_HEADER = $(top_builddir)/include/config.h
+ CONFIG_CLEAN_FILES =
+ LTLIBRARIES = $(lib_LTLIBRARIES)
+ 
+-libhdb_la_DEPENDENCIES = ../krb5/libkrb5.la ../asn1/libasn1.la \
+-	../roken/libroken.la
+-am__objects_5 = asn1_Key.lo asn1_Event.lo asn1_HDBFlags.lo \
++libhdb_la_DEPENDENCIES = ../krb5/libkrb5.la ../asn1/libasn1.la
++am__objects_1 = asn1_Key.lo asn1_Event.lo asn1_HDBFlags.lo \
+ 	asn1_hdb_entry.lo asn1_Salt.lo hdb_err.lo asn1_GENERATION.lo
+ am_libhdb_la_OBJECTS = common.lo db.lo db3.lo hdb-ldap.lo hdb.lo \
+-	keytab.lo mkey.lo ndbm.lo print.lo $(am__objects_5)
++	keytab.lo mkey.lo ndbm.lo print.lo $(am__objects_1)
+ libhdb_la_OBJECTS = $(am_libhdb_la_OBJECTS)
+ noinst_PROGRAMS = convert_db$(EXEEXT)
+ PROGRAMS = $(noinst_PROGRAMS)
+@@ -286,10 +298,10 @@
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj
+-$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+ 	  $(AUTOMAKE) --foreign  lib/hdb/Makefile
+-Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
+ 	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+ libLTLIBRARIES_INSTALL = $(INSTALL)
+ install-libLTLIBRARIES: $(lib_LTLIBRARIES)
+@@ -313,11 +325,21 @@
+ 
+ clean-libLTLIBRARIES:
+ 	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
++	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
++	  dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
++	  test -z "$dir" && dir=.; \
++	  echo "rm -f \"$${dir}/so_locations\""; \
++	  rm -f "$${dir}/so_locations"; \
++	done
+ libhdb.la: $(libhdb_la_OBJECTS) $(libhdb_la_DEPENDENCIES) 
+ 	$(LINK) -rpath $(libdir) $(libhdb_la_LDFLAGS) $(libhdb_la_OBJECTS) $(libhdb_la_LIBADD) $(LIBS)
+ 
+ clean-noinstPROGRAMS:
+-	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
++	@list='$(noinst_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ convert_db$(EXEEXT): $(convert_db_OBJECTS) $(convert_db_DEPENDENCIES) 
+ 	@rm -f convert_db$(EXEEXT)
+ 	$(LINK) $(convert_db_LDFLAGS) $(convert_db_OBJECTS) $(convert_db_LDADD) $(LIBS)
+@@ -406,7 +428,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -457,7 +479,7 @@
+ 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.5.1-old/lib/kadm5/Makefile.in heimdal-0.5.1/lib/kadm5/Makefile.in
+--- heimdal-0.5.1-old/lib/kadm5/Makefile.in	Tue Oct 22 03:49:34 2002
++++ heimdal-0.5.1/lib/kadm5/Makefile.in	Mon Mar 17 14:42:39 2003
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -80,8 +81,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -89,7 +92,6 @@
+ ECHO = @ECHO@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,11 +111,11 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -190,6 +192,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -201,13 +212,15 @@
+ 
+ @DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
++EXTRA_DIST = libkadm5srv.script libkadm5clnt.script
++
+ lib_LTLIBRARIES = libkadm5srv.la libkadm5clnt.la
+-libkadm5srv_la_LDFLAGS = -version-info 7:5:0
+-libkadm5clnt_la_LDFLAGS = -version-info 6:3:2
++libkadm5srv_la_LDFLAGS = -version-info 7:5:0 -Wl,--version-script=libkadm5srv.script
++libkadm5clnt_la_LDFLAGS = -version-info 6:3:2 -Wl,--version-script=libkadm5clnt.script
+ sbin_PROGRAMS = dump_log replay_log truncate_log
+ 
+-libkadm5srv_la_LIBADD = ../krb5/libkrb5.la ../hdb/libhdb.la ../roken/libroken.la
+-libkadm5clnt_la_LIBADD = ../krb5/libkrb5.la ../hdb/libhdb.la ../roken/libroken.la
++libkadm5srv_la_LIBADD = ../krb5/libkrb5.la ../hdb/libhdb.la $(LIB_roken)
++libkadm5clnt_la_LIBADD = ../krb5/libkrb5.la ../hdb/libhdb.la $(LIB_roken)
+ 
+ libexec_PROGRAMS = ipropd-master ipropd-slave
+ 
+@@ -308,23 +321,21 @@
+ CONFIG_CLEAN_FILES =
+ LTLIBRARIES = $(lib_LTLIBRARIES)
+ 
+-libkadm5clnt_la_DEPENDENCIES = ../krb5/libkrb5.la ../hdb/libhdb.la \
+-	../roken/libroken.la
+-am__objects_9 = chpass_c.lo common_glue.lo create_c.lo delete_c.lo \
++libkadm5clnt_la_DEPENDENCIES = ../krb5/libkrb5.la ../hdb/libhdb.la
++am__objects_1 = chpass_c.lo common_glue.lo create_c.lo delete_c.lo \
+ 	destroy_c.lo flush_c.lo free.lo get_c.lo get_princs_c.lo \
+ 	init_c.lo kadm5_err.lo marshall.lo modify_c.lo privs_c.lo \
+ 	randkey_c.lo rename_c.lo send_recv.lo
+-am_libkadm5clnt_la_OBJECTS = $(am__objects_9) client_glue.lo
++am_libkadm5clnt_la_OBJECTS = $(am__objects_1) client_glue.lo
+ libkadm5clnt_la_OBJECTS = $(am_libkadm5clnt_la_OBJECTS)
+-libkadm5srv_la_DEPENDENCIES = ../krb5/libkrb5.la ../hdb/libhdb.la \
+-	../roken/libroken.la
+-am__objects_10 = acl.lo bump_pw_expire.lo chpass_s.lo common_glue.lo \
++libkadm5srv_la_DEPENDENCIES = ../krb5/libkrb5.la ../hdb/libhdb.la
++am__objects_2 = acl.lo bump_pw_expire.lo chpass_s.lo common_glue.lo \
+ 	context_s.lo create_s.lo delete_s.lo destroy_s.lo ent_setup.lo \
+ 	error.lo flush_s.lo free.lo get_princs_s.lo get_s.lo init_s.lo \
+ 	kadm5_err.lo keys.lo log.lo marshall.lo modify_s.lo privs_s.lo \
+ 	randkey_s.lo rename_s.lo set_keys.lo set_modifier.lo \
+ 	password_quality.lo
+-am_libkadm5srv_la_OBJECTS = $(am__objects_10) server_glue.lo
++am_libkadm5srv_la_OBJECTS = $(am__objects_2) server_glue.lo
+ libkadm5srv_la_OBJECTS = $(am_libkadm5srv_la_OBJECTS)
+ libexec_PROGRAMS = ipropd-master$(EXEEXT) ipropd-slave$(EXEEXT)
+ sbin_PROGRAMS = dump_log$(EXEEXT) replay_log$(EXEEXT) \
+@@ -399,10 +410,10 @@
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj
+-$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+ 	  $(AUTOMAKE) --foreign  lib/kadm5/Makefile
+-Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
+ 	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+ libLTLIBRARIES_INSTALL = $(INSTALL)
+ install-libLTLIBRARIES: $(lib_LTLIBRARIES)
+@@ -426,6 +437,12 @@
+ 
+ clean-libLTLIBRARIES:
+ 	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
++	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
++	  dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
++	  test -z "$dir" && dir=.; \
++	  echo "rm -f \"$${dir}/so_locations\""; \
++	  rm -f "$${dir}/so_locations"; \
++	done
+ libkadm5clnt.la: $(libkadm5clnt_la_OBJECTS) $(libkadm5clnt_la_DEPENDENCIES) 
+ 	$(LINK) -rpath $(libdir) $(libkadm5clnt_la_LDFLAGS) $(libkadm5clnt_la_OBJECTS) $(libkadm5clnt_la_LIBADD) $(LIBS)
+ libkadm5srv.la: $(libkadm5srv_la_OBJECTS) $(libkadm5srv_la_DEPENDENCIES) 
+@@ -439,8 +456,7 @@
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+-	    p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
+-	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f"; \
+ 	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f; \
+ 	  else :; fi; \
+@@ -449,14 +465,17 @@
+ uninstall-libexecPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+-	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  f=`echo "$$f" | sed -e 's,^.*/,,'`; \
++	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(libexecdir)/$$f; \
+ 	done
+ 
+ clean-libexecPROGRAMS:
+-	-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
++	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ sbinPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ install-sbinPROGRAMS: $(sbin_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+@@ -466,8 +485,7 @@
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+-	    p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
+-	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(sbinPROGRAMS_INSTALL) $$p $(DESTDIR)$(sbindir)/$$f"; \
+ 	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(sbinPROGRAMS_INSTALL) $$p $(DESTDIR)$(sbindir)/$$f; \
+ 	  else :; fi; \
+@@ -476,14 +494,17 @@
+ uninstall-sbinPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(sbin_PROGRAMS)'; for p in $$list; do \
+-	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  f=`echo "$$f" | sed -e 's,^.*/,,'`; \
++	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(sbindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(sbindir)/$$f; \
+ 	done
+ 
+ clean-sbinPROGRAMS:
+-	-test -z "$(sbin_PROGRAMS)" || rm -f $(sbin_PROGRAMS)
++	@list='$(sbin_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ dump_log$(EXEEXT): $(dump_log_OBJECTS) $(dump_log_DEPENDENCIES) 
+ 	@rm -f dump_log$(EXEEXT)
+ 	$(LINK) $(dump_log_LDFLAGS) $(dump_log_OBJECTS) $(dump_log_LDADD) $(LIBS)
+@@ -584,7 +605,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -635,7 +656,7 @@
+ 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.5.1-old/lib/kafs/Makefile.in heimdal-0.5.1/lib/kafs/Makefile.in
+--- heimdal-0.5.1-old/lib/kafs/Makefile.in	Tue Oct 22 03:49:34 2002
++++ heimdal-0.5.1/lib/kafs/Makefile.in	Mon Mar 17 14:42:39 2003
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -80,8 +81,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -89,7 +92,6 @@
+ ECHO = @ECHO@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,11 +111,11 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -190,6 +192,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -221,11 +232,11 @@
+ @AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@KRB4_TRUE@AFS_EXTRA_DEFS = -DSTATIC_AFS
+ @AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@KRB4_TRUE@AFS_EXTRA_DEFS = 
+ 
+-@KRB5_TRUE@libkafs_la_LIBADD = ../krb5/libkrb5.la ../roken/libroken.la $(DEPLIB_krb4)
+-@KRB5_FALSE@libkafs_la_LIBADD = ../roken/libroken.la $(DEPLIB_krb4)
++@KRB5_TRUE@libkafs_la_LIBADD = ../krb5/libkrb5.la $(LIB_roken) $(DEPLIB_krb4)
++@KRB5_FALSE@libkafs_la_LIBADD = $(LIB_roken) $(DEPLIB_krb4)
+ 
+ lib_LTLIBRARIES = $(AFSLIBS)
+-libkafs_la_LDFLAGS = -version-info 3:4:3
++libkafs_la_LDFLAGS = -version-info 3:4:3 -Wl,--version-script=libkafs.script
+ foodir = $(libdir)
+ foo_DATA = $(AFS_EXTRA_LIBS)
+ 
+@@ -253,7 +264,7 @@
+ #afslib_so_SOURCES = afslib.c
+ EXTRA_libkafs_la_SOURCES = afskrb5.c dlfcn.c afslib.c dlfcn.h
+ 
+-EXTRA_DIST = README.dlfcn afsl.exp afslib.exp
++EXTRA_DIST = README.dlfcn afsl.exp afslib.exp libkafs.script
+ 
+ man_MANS = kafs.3
+ subdir = lib/kafs
+@@ -262,22 +273,20 @@
+ CONFIG_CLEAN_FILES =
+ LTLIBRARIES = $(lib_LTLIBRARIES)
+ 
+-@KRB4_FALSE@@KRB5_TRUE@libkafs_la_DEPENDENCIES = ../krb5/libkrb5.la \
+-@KRB4_FALSE@@KRB5_TRUE@	../roken/libroken.la
+-@KRB4_FALSE@@KRB5_FALSE@libkafs_la_DEPENDENCIES = ../roken/libroken.la
+-@KRB4_TRUE@@KRB5_TRUE@libkafs_la_DEPENDENCIES = ../krb5/libkrb5.la \
+-@KRB4_TRUE@@KRB5_TRUE@	../roken/libroken.la
+-@KRB4_TRUE@@KRB5_FALSE@libkafs_la_DEPENDENCIES = ../roken/libroken.la
+-@KRB5_TRUE@am__objects_11 = afskrb5.lo
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@KRB4_TRUE@am__objects_12 = afslib.lo
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@am__objects_12 = \
++@KRB4_FALSE@@KRB5_TRUE@libkafs_la_DEPENDENCIES = ../krb5/libkrb5.la
++@KRB4_FALSE@@KRB5_FALSE@libkafs_la_DEPENDENCIES =
++@KRB4_TRUE@@KRB5_TRUE@libkafs_la_DEPENDENCIES = ../krb5/libkrb5.la
++@KRB4_TRUE@@KRB5_FALSE@libkafs_la_DEPENDENCIES =
++@KRB5_TRUE@am__objects_1 = afskrb5.lo
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@KRB4_TRUE@am__objects_2 = afslib.lo
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@am__objects_2 = \
+ @AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@	dlfcn.lo
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@am__objects_12 =
+-@AIX_FALSE@@KRB4_TRUE@am__objects_12 =
+-@do_roken_rename_TRUE@am__objects_13 = resolve.lo strtok_r.lo strlcpy.lo \
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@am__objects_2 =
++@AIX_FALSE@@KRB4_TRUE@am__objects_2 =
++@do_roken_rename_TRUE@am__objects_3 = resolve.lo strtok_r.lo strlcpy.lo \
+ @do_roken_rename_TRUE@	strsep.lo
+-am_libkafs_la_OBJECTS = afssys.lo afskrb.lo $(am__objects_11) common.lo \
+-	$(am__objects_12) $(am__objects_13)
++am_libkafs_la_OBJECTS = afssys.lo afskrb.lo $(am__objects_1) common.lo \
++	$(am__objects_2) $(am__objects_3)
+ libkafs_la_OBJECTS = $(am_libkafs_la_OBJECTS)
+ 
+ DEFS = @DEFS@
+@@ -308,10 +317,10 @@
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj
+-$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+ 	  $(AUTOMAKE) --foreign  lib/kafs/Makefile
+-Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
+ 	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+ libLTLIBRARIES_INSTALL = $(INSTALL)
+ install-libLTLIBRARIES: $(lib_LTLIBRARIES)
+@@ -335,6 +344,12 @@
+ 
+ clean-libLTLIBRARIES:
+ 	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
++	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
++	  dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
++	  test -z "$dir" && dir=.; \
++	  echo "rm -f \"$${dir}/so_locations\""; \
++	  rm -f "$${dir}/so_locations"; \
++	done
+ libkafs.la: $(libkafs_la_OBJECTS) $(libkafs_la_DEPENDENCIES) 
+ 	$(LINK) -rpath $(libdir) $(libkafs_la_LDFLAGS) $(libkafs_la_OBJECTS) $(libkafs_la_LIBADD) $(LIBS)
+ 
+@@ -378,6 +393,10 @@
+ 	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
+ 	  else file=$$i; fi; \
+ 	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
++	  case "$$ext" in \
++	    3*) ;; \
++	    *) ext='3' ;; \
++	  esac; \
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+@@ -479,7 +498,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -530,7 +549,7 @@
+ 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.5.1-old/lib/kdfs/Makefile.in heimdal-0.5.1/lib/kdfs/Makefile.in
+--- heimdal-0.5.1-old/lib/kdfs/Makefile.in	Tue Oct 22 03:49:35 2002
++++ heimdal-0.5.1/lib/kdfs/Makefile.in	Mon Mar 17 14:42:40 2003
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -80,8 +81,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -89,7 +92,6 @@
+ ECHO = @ECHO@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,11 +111,11 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -190,6 +192,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -201,13 +212,15 @@
+ 
+ @DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
++EXTRA_DIST = libkdfs.script
++
+ lib_LTLIBRARIES = libkdfs.la
+ 
+ libkdfs_la_SOURCES = \
+ 	k5dfspag.c
+ 
+ 
+-libkdfs_la_LDFLAGS = -version-info 0:2:0
++libkdfs_la_LDFLAGS = -version-info 0:2:0 -Wl,--version-script=libkdfs.script
+ subdir = lib/kdfs
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+ CONFIG_HEADER = $(top_builddir)/include/config.h
+@@ -241,10 +254,10 @@
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj
+-$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+ 	  $(AUTOMAKE) --foreign  lib/kdfs/Makefile
+-Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
+ 	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+ libLTLIBRARIES_INSTALL = $(INSTALL)
+ install-libLTLIBRARIES: $(lib_LTLIBRARIES)
+@@ -268,6 +281,12 @@
+ 
+ clean-libLTLIBRARIES:
+ 	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
++	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
++	  dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
++	  test -z "$dir" && dir=.; \
++	  echo "rm -f \"$${dir}/so_locations\""; \
++	  rm -f "$${dir}/so_locations"; \
++	done
+ libkdfs.la: $(libkdfs_la_OBJECTS) $(libkdfs_la_DEPENDENCIES) 
+ 	$(LINK) -rpath $(libdir) $(libkdfs_la_LDFLAGS) $(libkdfs_la_OBJECTS) $(libkdfs_la_LIBADD) $(LIBS)
+ 
+@@ -337,7 +356,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -387,7 +406,7 @@
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.5.1-old/lib/krb5/Makefile.in heimdal-0.5.1/lib/krb5/Makefile.in
+--- heimdal-0.5.1-old/lib/krb5/Makefile.in	Tue Oct 22 03:49:35 2002
++++ heimdal-0.5.1/lib/krb5/Makefile.in	Mon Mar 17 14:42:41 2003
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -80,8 +81,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -89,7 +92,6 @@
+ ECHO = @ECHO@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,11 +111,11 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -190,6 +192,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -201,6 +212,8 @@
+ 
+ @DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
++EXTRA_DIST = libkrb5.script
++
+ bin_PROGRAMS = verify_krb5_conf
+ 
+ noinst_PROGRAMS = dump_config test_get_addrs krbhst-test
+@@ -223,7 +236,7 @@
+ 
+ 
+ libkrb5_la_LIBADD = \
+-	../com_err/error.lo ../com_err/com_err.lo \
++	$(LIB_com_err) \
+ 	$(LIB_des) \
+ 	$(top_builddir)/lib/asn1/libasn1.la \
+ 	$(LIB_roken)
+@@ -331,7 +344,7 @@
+ 	$(ERR_FILES)
+ 
+ 
+-libkrb5_la_LDFLAGS = -version-info 18:4:1
++libkrb5_la_LDFLAGS = -version-info 18:4:1 -Wl,--version-script=libkrb5.script
+ 
+ 
+ #libkrb5_la_LIBADD = ../com_err/error.lo ../com_err/com_err.lo
+@@ -375,9 +388,8 @@
+ CONFIG_CLEAN_FILES =
+ LTLIBRARIES = $(lib_LTLIBRARIES)
+ 
+-libkrb5_la_DEPENDENCIES = ../com_err/error.lo ../com_err/com_err.lo \
+-	$(top_builddir)/lib/asn1/libasn1.la
+-am__objects_14 = krb5_err.lo heim_err.lo k524_err.lo
++libkrb5_la_DEPENDENCIES = $(top_builddir)/lib/asn1/libasn1.la
++am__objects_1 = krb5_err.lo heim_err.lo k524_err.lo
+ am_libkrb5_la_OBJECTS = acl.lo add_et_list.lo addr_families.lo \
+ 	aname_to_localname.lo appdefault.lo asn1_glue.lo \
+ 	auth_context.lo build_ap_req.lo build_auth.lo cache.lo \
+@@ -401,7 +413,7 @@
+ 	sendauth.lo set_default_realm.lo sock_principal.lo store.lo \
+ 	store_emem.lo store_fd.lo store_mem.lo ticket.lo time.lo \
+ 	transited.lo verify_init.lo verify_user.lo version.lo warn.lo \
+-	write_message.lo $(am__objects_14)
++	write_message.lo $(am__objects_1)
+ libkrb5_la_OBJECTS = $(am_libkrb5_la_OBJECTS)
+ bin_PROGRAMS = verify_krb5_conf$(EXEEXT)
+ check_PROGRAMS = n-fold-test$(EXEEXT) string-to-key-test$(EXEEXT) \
+@@ -500,10 +512,10 @@
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj
+-$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+ 	  $(AUTOMAKE) --foreign  lib/krb5/Makefile
+-Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
+ 	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+ libLTLIBRARIES_INSTALL = $(INSTALL)
+ install-libLTLIBRARIES: $(lib_LTLIBRARIES)
+@@ -527,6 +539,12 @@
+ 
+ clean-libLTLIBRARIES:
+ 	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
++	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
++	  dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
++	  test -z "$dir" && dir=.; \
++	  echo "rm -f \"$${dir}/so_locations\""; \
++	  rm -f "$${dir}/so_locations"; \
++	done
+ libkrb5.la: $(libkrb5_la_OBJECTS) $(libkrb5_la_DEPENDENCIES) 
+ 	$(LINK) -rpath $(libdir) $(libkrb5_la_LDFLAGS) $(libkrb5_la_OBJECTS) $(libkrb5_la_LIBADD) $(LIBS)
+ binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+@@ -538,8 +556,7 @@
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+-	    p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
+-	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
+ 	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+@@ -548,20 +565,31 @@
+ uninstall-binPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  f=`echo "$$f" | sed -e 's,^.*/,,'`; \
++	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+ clean-binPROGRAMS:
+-	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
++	@list='$(bin_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ 
+ clean-checkPROGRAMS:
+-	-test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
++	@list='$(check_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ 
+ clean-noinstPROGRAMS:
+-	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
++	@list='$(noinst_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ derived-key-test$(EXEEXT): $(derived_key_test_OBJECTS) $(derived_key_test_DEPENDENCIES) 
+ 	@rm -f derived-key-test$(EXEEXT)
+ 	$(LINK) $(derived_key_test_LDFLAGS) $(derived_key_test_OBJECTS) $(derived_key_test_LDADD) $(LIBS)
+@@ -633,6 +661,10 @@
+ 	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
+ 	  else file=$$i; fi; \
+ 	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
++	  case "$$ext" in \
++	    3*) ;; \
++	    *) ext='3' ;; \
++	  esac; \
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+@@ -672,6 +704,10 @@
+ 	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
+ 	  else file=$$i; fi; \
+ 	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
++	  case "$$ext" in \
++	    5*) ;; \
++	    *) ext='5' ;; \
++	  esac; \
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+@@ -711,6 +747,10 @@
+ 	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
+ 	  else file=$$i; fi; \
+ 	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
++	  case "$$ext" in \
++	    8*) ;; \
++	    *) ext='8' ;; \
++	  esac; \
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+@@ -849,7 +889,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -903,7 +943,7 @@
+ 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.5.1-old/lib/otp/Makefile.in heimdal-0.5.1/lib/otp/Makefile.in
+--- heimdal-0.5.1-old/lib/otp/Makefile.in	Tue Oct 22 03:49:35 2002
++++ heimdal-0.5.1/lib/otp/Makefile.in	Mon Mar 17 14:42:41 2003
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -80,8 +81,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -89,7 +92,6 @@
+ ECHO = @ECHO@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,11 +111,11 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -190,6 +192,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -201,6 +212,8 @@
+ 
+ @DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
++EXTRA_DIST = libotp.script
++
+ noinst_PROGRAMS = otptest
+ 
+ check_PROGRAMS = otptest
+@@ -210,7 +223,7 @@
+ include_HEADERS = otp.h
+ 
+ lib_LTLIBRARIES = libotp.la
+-libotp_la_LDFLAGS = -version-info 1:3:1
++libotp_la_LDFLAGS = -version-info 1:3:1 -Wl,--version-script=libotp.script
+ libotp_la_LIBADD = $(LIB_des) $(LIB_roken) $(LIB_NDBM)
+ 
+ @HAVE_DB3_TRUE@ndbm_wrap = ndbm_wrap.c ndbm_wrap.h
+@@ -239,13 +252,13 @@
+ LTLIBRARIES = $(lib_LTLIBRARIES)
+ 
+ libotp_la_DEPENDENCIES =
+-@HAVE_DB3_TRUE@am__objects_15 = ndbm_wrap.lo
+-@HAVE_DB3_FALSE@am__objects_15 =
+-@do_roken_rename_TRUE@am__objects_13 = snprintf.lo strcasecmp.lo \
++@HAVE_DB3_TRUE@am__objects_1 = ndbm_wrap.lo
++@HAVE_DB3_FALSE@am__objects_1 =
++@do_roken_rename_TRUE@am__objects_2 = snprintf.lo strcasecmp.lo \
+ @do_roken_rename_TRUE@	strncasecmp.lo strlwr.lo
+ am_libotp_la_OBJECTS = otp.lo otp_challenge.lo otp_db.lo otp_md.lo \
+-	otp_parse.lo otp_print.lo otp_verify.lo $(am__objects_15) \
+-	$(am__objects_13)
++	otp_parse.lo otp_print.lo otp_verify.lo $(am__objects_1) \
++	$(am__objects_2)
+ libotp_la_OBJECTS = $(am_libotp_la_OBJECTS)
+ check_PROGRAMS = otptest$(EXEEXT)
+ noinst_PROGRAMS = otptest$(EXEEXT)
+@@ -281,10 +294,10 @@
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj
+-$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+ 	  $(AUTOMAKE) --foreign  lib/otp/Makefile
+-Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
+ 	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+ libLTLIBRARIES_INSTALL = $(INSTALL)
+ install-libLTLIBRARIES: $(lib_LTLIBRARIES)
+@@ -308,14 +321,28 @@
+ 
+ clean-libLTLIBRARIES:
+ 	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
++	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
++	  dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
++	  test -z "$dir" && dir=.; \
++	  echo "rm -f \"$${dir}/so_locations\""; \
++	  rm -f "$${dir}/so_locations"; \
++	done
+ libotp.la: $(libotp_la_OBJECTS) $(libotp_la_DEPENDENCIES) 
+ 	$(LINK) -rpath $(libdir) $(libotp_la_LDFLAGS) $(libotp_la_OBJECTS) $(libotp_la_LIBADD) $(LIBS)
+ 
+ clean-checkPROGRAMS:
+-	-test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
++	@list='$(check_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ 
+ clean-noinstPROGRAMS:
+-	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
++	@list='$(noinst_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ otptest$(EXEEXT): $(otptest_OBJECTS) $(otptest_DEPENDENCIES) 
+ 	@rm -f otptest$(EXEEXT)
+ 	$(LINK) $(otptest_LDFLAGS) $(otptest_OBJECTS) $(otptest_LDADD) $(LIBS)
+@@ -404,7 +431,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -455,7 +482,7 @@
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.5.1-old/lib/roken/Makefile.in heimdal-0.5.1/lib/roken/Makefile.in
+--- heimdal-0.5.1-old/lib/roken/Makefile.in	Tue Oct 22 03:49:36 2002
++++ heimdal-0.5.1/lib/roken/Makefile.in	Mon Mar 17 14:42:42 2003
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -80,8 +81,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -89,7 +92,6 @@
+ ECHO = @ECHO@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,11 +111,11 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -190,6 +192,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -206,7 +217,7 @@
+ CLEANFILES = roken.h make-roken.c $(XHEADERS)
+ 
+ lib_LTLIBRARIES = libroken.la
+-libroken_la_LDFLAGS = -version-info 16:1:0
++libroken_la_LDFLAGS = -version-info 16:1:0 -Wl,--version-script=libroken.script
+ 
+ noinst_PROGRAMS = make-roken snprintf-test
+ 
+@@ -362,7 +373,7 @@
+ 	writev.c
+ 
+ 
+-EXTRA_DIST = roken.awk roken.h.in
++EXTRA_DIST = roken.awk roken.h.in libroken.script
+ 
+ libroken_la_LIBADD = @LTLIBOBJS@ $(DBLIB)
+ 
+@@ -375,7 +386,7 @@
+ @have_fnmatch_h_FALSE@fnmatch_h = fnmatch.h
+ 
+ @have_glob_h_TRUE@glob_h = 
+-@have_glob_h_FALSE@glob_h = glob.h
++@have_glob_h_FALSE@glob_h = roken-glob.h
+ 
+ @have_ifaddrs_h_TRUE@ifaddrs_h = 
+ @have_ifaddrs_h_FALSE@ifaddrs_h = ifaddrs.h
+@@ -497,10 +508,10 @@
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .hin .c .lo .o .obj
+-$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+ 	  $(AUTOMAKE) --foreign  lib/roken/Makefile
+-Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
+ 	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+ libLTLIBRARIES_INSTALL = $(INSTALL)
+ install-libLTLIBRARIES: $(lib_LTLIBRARIES)
+@@ -524,9 +535,21 @@
+ 
+ clean-libLTLIBRARIES:
+ 	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
++	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
++	  dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
++	  test -z "$dir" && dir=.; \
++	  echo "rm -f \"$${dir}/so_locations\""; \
++	  rm -f "$${dir}/so_locations"; \
++	done
+ 
+ clean-noinstLTLIBRARIES:
+ 	-test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
++	@list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
++	  dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
++	  test -z "$dir" && dir=.; \
++	  echo "rm -f \"$${dir}/so_locations\""; \
++	  rm -f "$${dir}/so_locations"; \
++	done
+ libroken.la: $(libroken_la_OBJECTS) $(libroken_la_DEPENDENCIES) 
+ 	$(LINK) -rpath $(libdir) $(libroken_la_LDFLAGS) $(libroken_la_OBJECTS) $(libroken_la_LIBADD) $(LIBS)
+ libtest_la-strftime.lo: strftime.c
+@@ -536,10 +559,18 @@
+ 	$(LINK)  $(libtest_la_LDFLAGS) $(libtest_la_OBJECTS) $(libtest_la_LIBADD) $(LIBS)
+ 
+ clean-checkPROGRAMS:
+-	-test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
++	@list='$(check_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ 
+ clean-noinstPROGRAMS:
+-	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
++	@list='$(noinst_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ base64-test$(EXEEXT): $(base64_test_OBJECTS) $(base64_test_DEPENDENCIES) 
+ 	@rm -f base64-test$(EXEEXT)
+ 	$(LINK) $(base64_test_LDFLAGS) $(base64_test_OBJECTS) $(base64_test_LDADD) $(LIBS)
+@@ -659,6 +690,10 @@
+ 	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
+ 	  else file=$$i; fi; \
+ 	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
++	  case "$$ext" in \
++	    3*) ;; \
++	    *) ext='3' ;; \
++	  esac; \
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+@@ -815,7 +850,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -867,7 +902,7 @@
+ 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+@@ -1071,6 +1106,8 @@
+ $(LTLIBOBJS) $(libroken_la_OBJECTS): $(include_HEADERS) roken.h $(XHEADERS)
+ .hin.h:
+ 	cp $< $@
++roken-glob.h:
++	cp glob.hin roken-glob.h
+ 
+ roken.h: make-roken$(EXEEXT)
+ 	@./make-roken$(EXEEXT) > tmp.h ;\
+diff -ruN heimdal-0.5.1-old/lib/sl/Makefile.in heimdal-0.5.1/lib/sl/Makefile.in
+--- heimdal-0.5.1-old/lib/sl/Makefile.in	Tue Oct 22 03:49:37 2002
++++ heimdal-0.5.1/lib/sl/Makefile.in	Mon Mar 17 14:42:43 2003
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -80,8 +81,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -89,7 +92,6 @@
+ ECHO = @ECHO@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,11 +111,11 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -190,6 +192,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -201,6 +212,8 @@
+ 
+ @DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
++EXTRA_DIST = libsl.script libss.script
++
+ @do_roken_rename_TRUE@ES = strtok_r.c snprintf.c strdup.c strupr.c getprogname.c
+ 
+ YFLAGS = -d
+@@ -208,8 +221,8 @@
+ include_HEADERS = sl.h
+ 
+ lib_LTLIBRARIES = libsl.la libss.la
+-libsl_la_LDFLAGS = -version-info 1:2:1
+-libss_la_LDFLAGS = -version-info 1:4:1
++libsl_la_LDFLAGS = -version-info 1:2:1 -Wl,--version-script=libsl.script
++libss_la_LDFLAGS = -version-info 1:4:1 -Wl,--version-script=libss.script
+ 
+ libsl_la_LIBADD = @LIB_readline@
+ libss_la_LIBADD = @LIB_readline@ @LIB_com_err@
+@@ -240,13 +253,13 @@
+ LTLIBRARIES = $(lib_LTLIBRARIES)
+ 
+ libsl_la_DEPENDENCIES =
+-@do_roken_rename_TRUE@am__objects_8 = strtok_r.lo snprintf.lo strdup.lo \
++@do_roken_rename_TRUE@am__objects_1 = strtok_r.lo snprintf.lo strdup.lo \
+ @do_roken_rename_TRUE@	strupr.lo getprogname.lo
+-am_libsl_la_OBJECTS = sl.lo $(am__objects_8)
++am_libsl_la_OBJECTS = sl.lo $(am__objects_1)
+ libsl_la_OBJECTS = $(am_libsl_la_OBJECTS)
+ libss_la_DEPENDENCIES =
+-am__objects_16 = sl.lo $(am__objects_8)
+-am_libss_la_OBJECTS = $(am__objects_16) ss.lo
++am__objects_2 = sl.lo $(am__objects_1)
++am_libss_la_OBJECTS = $(am__objects_2) ss.lo
+ libss_la_OBJECTS = $(am_libss_la_OBJECTS)
+ bin_PROGRAMS = mk_cmds$(EXEEXT)
+ PROGRAMS = $(bin_PROGRAMS)
+@@ -287,10 +300,10 @@
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .l .lo .o .obj .y
+-$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+ 	  $(AUTOMAKE) --foreign  lib/sl/Makefile
+-Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
+ 	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+ libLTLIBRARIES_INSTALL = $(INSTALL)
+ install-libLTLIBRARIES: $(lib_LTLIBRARIES)
+@@ -314,6 +327,12 @@
+ 
+ clean-libLTLIBRARIES:
+ 	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
++	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
++	  dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
++	  test -z "$dir" && dir=.; \
++	  echo "rm -f \"$${dir}/so_locations\""; \
++	  rm -f "$${dir}/so_locations"; \
++	done
+ libsl.la: $(libsl_la_OBJECTS) $(libsl_la_DEPENDENCIES) 
+ 	$(LINK) -rpath $(libdir) $(libsl_la_LDFLAGS) $(libsl_la_OBJECTS) $(libsl_la_LIBADD) $(LIBS)
+ libss.la: $(libss_la_OBJECTS) $(libss_la_DEPENDENCIES) 
+@@ -327,8 +346,7 @@
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+-	    p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
+-	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
+ 	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+@@ -337,15 +355,22 @@
+ uninstall-binPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  f=`echo "$$f" | sed -e 's,^.*/,,'`; \
++	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+ clean-binPROGRAMS:
+-	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
++	@list='$(bin_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ parse.h: parse.c
++	@if test ! -f $@; then \
++	  rm -f parse.c; \
++	  $(MAKE) parse.c; \
++	else :; fi
+ mk_cmds$(EXEEXT): $(mk_cmds_OBJECTS) $(mk_cmds_DEPENDENCIES) 
+ 	@rm -f mk_cmds$(EXEEXT)
+ 	$(LINK) $(mk_cmds_LDFLAGS) $(mk_cmds_OBJECTS) $(mk_cmds_LDADD) $(LIBS)
+@@ -477,7 +502,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -530,12 +555,12 @@
+ 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+ 	@echo "it deletes files that may require special tools to rebuild."
+-	-test -z "parse.h" || rm -f parse.h
++	-test -z "parse.hparse.clex.c" || rm -f parse.h parse.c lex.c
+ clean: clean-am
+ 
+ clean-am: clean-binPROGRAMS clean-generic clean-libLTLIBRARIES \
+diff -ruN heimdal-0.5.1-old/lib/vers/Makefile.in heimdal-0.5.1/lib/vers/Makefile.in
+--- heimdal-0.5.1-old/lib/vers/Makefile.in	Tue Oct 22 03:49:37 2002
++++ heimdal-0.5.1/lib/vers/Makefile.in	Mon Mar 17 14:42:43 2003
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -80,8 +81,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -89,7 +92,6 @@
+ ECHO = @ECHO@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,11 +111,11 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -190,6 +192,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -256,19 +267,29 @@
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .lo .o .obj
+-$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+ 	  $(AUTOMAKE) --foreign  lib/vers/Makefile
+-Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
+ 	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+ 
+ clean-noinstLTLIBRARIES:
+ 	-test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
++	@list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
++	  dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
++	  test -z "$dir" && dir=.; \
++	  echo "rm -f \"$${dir}/so_locations\""; \
++	  rm -f "$${dir}/so_locations"; \
++	done
+ libvers.la: $(libvers_la_OBJECTS) $(libvers_la_DEPENDENCIES) 
+ 	$(LINK)  $(libvers_la_LDFLAGS) $(libvers_la_OBJECTS) $(libvers_la_LIBADD) $(LIBS)
+ 
+ clean-noinstPROGRAMS:
+-	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
++	@list='$(noinst_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ make-print-version$(EXEEXT): $(make_print_version_OBJECTS) $(make_print_version_DEPENDENCIES) 
+ 	@rm -f make-print-version$(EXEEXT)
+ 	$(LINK) $(make_print_version_LDFLAGS) $(make_print_version_OBJECTS) $(make_print_version_LDADD) $(LIBS)
+@@ -339,7 +360,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -389,7 +410,7 @@
+ 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.5.1-old/tools/Makefile.in heimdal-0.5.1/tools/Makefile.in
+--- heimdal-0.5.1-old/tools/Makefile.in	Tue Oct 22 03:49:37 2002
++++ heimdal-0.5.1/tools/Makefile.in	Mon Mar 17 14:42:44 2003
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -80,8 +81,10 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+@@ -89,7 +92,6 @@
+ ECHO = @ECHO@
+ EXTRA_LIB45 = @EXTRA_LIB45@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,11 +111,11 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
++MAINT = @MAINT@
+ NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
+ NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
+ NROFF = @NROFF@
+@@ -190,6 +192,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ @KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -231,29 +242,28 @@
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c
+-$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
++$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+ 	  $(AUTOMAKE) --foreign  tools/Makefile
+-Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
++Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
+ 	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
++binSCRIPT_INSTALL = $(INSTALL_SCRIPT)
+ install-binSCRIPTS: $(bin_SCRIPTS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(bindir)
+ 	@list='$(bin_SCRIPTS)'; for p in $$list; do \
+-	  f="`echo $$p|sed '$(transform)'`"; \
+-	  if test -f $$p; then \
+-	    echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/$$f"; \
+-	    $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/$$f; \
+-	  elif test -f $(srcdir)/$$p; then \
+-	    echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/$$f"; \
+-	    $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/$$f; \
++	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
++	  if test -f $$d$$p; then \
++	    f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
++	    echo " $(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f"; \
++	    $(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-binSCRIPTS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_SCRIPTS)'; for p in $$list; do \
+-	  f="`echo $$p|sed '$(transform)'`"; \
++	  f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+@@ -283,6 +293,10 @@
+ 	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
+ 	  else file=$$i; fi; \
+ 	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
++	  case "$$ext" in \
++	    1*) ;; \
++	    *) ext='1' ;; \
++	  esac; \
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+@@ -315,7 +329,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -366,7 +380,7 @@
+ 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
--- heimdal-0.6.3.orig/debian/patches-0.5.1/031_autotools
+++ heimdal-0.6.3/debian/patches-0.5.1/031_autotools
@@ -0,0 +1,9 @@
+--- heimdal-0.5.1/ltmain.sh.orig	Fri May 11 05:34:59 2001
++++ heimdal-0.5.1/ltmain.sh	Thu May 31 02:14:09 2001
+@@ -1862,6 +1862,7 @@
+ 	    else
+ 	      # We cannot seem to hardcode it, guess we'll fake it.
+ 	      add_dir="-L$libdir"
++	      test -d $ladir/.libs && add_dir="$add_dir -L$ladir/.libs"
+ 	      add="-l$name"
+ 	    fi
--- heimdal-0.6.3.orig/debian/patches-0.6/011_sharedlibs
+++ heimdal-0.6.3/debian/patches-0.6/011_sharedlibs
@@ -0,0 +1,43 @@
+diff -ruN heimdal-0.6-old/lib/editline/Makefile.am heimdal-0.6/lib/editline/Makefile.am
+--- heimdal-0.6-old/lib/editline/Makefile.am	Wed Nov 15 10:22:29 2000
++++ heimdal-0.6/lib/editline/Makefile.am	Thu Nov 15 11:59:31 2001
+@@ -38,13 +38,13 @@
+ 	unix.h \
+ 	$(EXTRA_SOURCE)
+ 
+-libeditline_la_LDFLAGS = -static
++libeditline_la_LDFLAGS = -no-undefined
+ 
+ EXTRA_SOURCE = $(ES) 
+ 
+ libel_compat_la_SOURCES = edit_compat.c
+ 
+-libel_compat_la_LDFLAGS = -static
++libel_compat_la_LDFLAGS = -no-undefined
+ 
+ EXTRA_DIST = $(man_MANS)
+ 
+diff -ruN heimdal-0.6-old/tools/krb5-config.in heimdal-0.6/tools/krb5-config.in
+--- heimdal-0.6-old/tools/krb5-config.in	Mon Jan 29 17:56:51 2001
++++ heimdal-0.6/tools/krb5-config.in	Thu Nov 15 11:59:31 2001
+@@ -89,6 +89,9 @@
+ if test "$do_libs" = "yes"; then
+     lib_flags="-L${libdir}"
+     case $library in
++    krb5)
++	lib_flags="$lib_flags -lkrb5"
++	;;
+     gssapi)
+ 	lib_flags="$lib_flags -lgssapi"
+ 	;;
+@@ -99,8 +102,8 @@
+ 	lib_flags="$lib_flags -lkadm5srv"
+ 	;;
+     esac
+-    lib_flags="$lib_flags -lkrb5 -lasn1 @LIB_des_appl@ -lroken"
+-    lib_flags="$lib_flags @LIB_crypt@ @LIB_dbopen@ @LIBS@"
++#    lib_flags="$lib_flags -lkrb5 -lasn1 @LIB_des_appl@ -lroken"
++#    lib_flags="$lib_flags @LIB_crypt@ @LIB_dbopen@ @LIBS@"
+     echo $lib_flags
+ fi
+ if test "$do_cflags" = "yes"; then
--- heimdal-0.6.3.orig/debian/patches-0.6/010_gcc33
+++ heimdal-0.6.3/debian/patches-0.6/010_gcc33
@@ -0,0 +1,13 @@
+--- heimdal-0.6-old/lib/krb5/verify_krb5_conf.c	2002-08-28 15:27:19.000000000 +0000
++++ heimdal-0.6/lib/krb5/verify_krb5_conf.c	2003-06-20 17:08:41.000000000 +0000
+@@ -432,8 +432,8 @@
+ 
+ #if 0
+ struct entry kdcdefaults_entries[] = {
+-    { "kdc_ports, krb5_config_string, mit_entry },
+-    { "v4_mode, krb5_config_string, mit_entry },
++    { "kdc_ports", krb5_config_string, mit_entry },
++    { "v4_mode", krb5_config_string, mit_entry },
+     { NULL }
+ };
+ #endif
--- heimdal-0.6.3.orig/debian/patches-0.6/020_maintainermode
+++ heimdal-0.6.3/debian/patches-0.6/020_maintainermode
@@ -0,0 +1,11 @@
+diff -ruN heimdal-0.6-old/configure.in heimdal-0.6/configure.in
+--- heimdal-0.6-old/configure.in	Sun Sep 29 10:38:42 2002
++++ heimdal-0.6/configure.in	Sun Sep 29 10:39:08 2002
+@@ -3,6 +3,7 @@
+ AC_PREREQ(2.53)
+ #test -z "$CFLAGS" && CFLAGS="-g"
+ AC_INIT(Heimdal, 0.6, heimdal-bugs@pdc.kth.se)
++AM_MAINTAINER_MODE
+ AC_CONFIG_SRCDIR([kuser/kinit.c])
+ AM_CONFIG_HEADER(include/config.h)
+ 
--- heimdal-0.6.3.orig/debian/patches-0.6/012_sharedlibs
+++ heimdal-0.6.3/debian/patches-0.6/012_sharedlibs
@@ -0,0 +1,342 @@
+diff -ruN heimdal-0.6-old/admin/Makefile.am heimdal-0.6/admin/Makefile.am
+--- heimdal-0.6-old/admin/Makefile.am	Tue Aug 28 18:31:19 2001
++++ heimdal-0.6/admin/Makefile.am	Thu Aug 28 15:37:16 2003
+@@ -24,6 +24,6 @@
+ 	$(top_builddir)/lib/krb5/libkrb5.la \
+ 	$(LIB_des) \
+ 	$(top_builddir)/lib/asn1/libasn1.la \
+-	$(top_builddir)/lib/sl/libsl.la \
++	$(LIB_sl) \
+ 	$(LIB_readline) \
+ 	$(LIB_roken)
+diff -ruN heimdal-0.6-old/appl/otp/Makefile.am heimdal-0.6/appl/otp/Makefile.am
+--- heimdal-0.6-old/appl/otp/Makefile.am	Tue Aug 28 18:31:21 2001
++++ heimdal-0.6/appl/otp/Makefile.am	Thu Aug 28 15:37:16 2003
+@@ -12,4 +12,4 @@
+ man_MANS = otp.1  otpprint.1
+ 
+ LDADD = \
+-	$(top_builddir)/lib/otp/libotp.la
++	$(LIB_otp)
+diff -ruN heimdal-0.6-old/cf/Makefile.am.common heimdal-0.6/cf/Makefile.am.common
+--- heimdal-0.6-old/cf/Makefile.am.common	Fri May  9 03:08:09 2003
++++ heimdal-0.6/cf/Makefile.am.common	Thu Aug 28 15:37:16 2003
+@@ -57,6 +57,17 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++LIB_roken = @LIB_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ LEXLIB = @LEXLIB@
+ 
+ install-suid-programs:
+diff -ruN heimdal-0.6-old/cf/krb-readline.m4 heimdal-0.6/cf/krb-readline.m4
+--- heimdal-0.6-old/cf/krb-readline.m4	Thu Aug 29 12:22:32 2002
++++ heimdal-0.6/cf/krb-readline.m4	Thu Aug 28 15:37:16 2003
+@@ -28,8 +28,10 @@
+ 	:
+ elif test "$ac_cv_func_el_init" = yes; then
+ 	ac_foo=yes
++	DIR_readline="editline"
+ 	LIB_readline="\$(top_builddir)/lib/editline/libel_compat.la \$(LIB_el_init) \$(LIB_tgetent)"
+ else
++	DIR_readline="editline"
+ 	LIB_readline="\$(top_builddir)/lib/editline/libeditline.la \$(LIB_tgetent)"
+ fi
+ AM_CONDITIONAL(el_compat, test "$ac_foo" = yes)
+diff -ruN heimdal-0.6-old/cf/otp.m4 heimdal-0.6/cf/otp.m4
+--- heimdal-0.6-old/cf/otp.m4	Mon May 20 06:51:08 2002
++++ heimdal-0.6/cf/otp.m4	Thu Aug 28 15:37:16 2003
+@@ -18,8 +18,6 @@
+ fi
+ if test "$enable_otp" = yes; then
+ 	AC_DEFINE(OTP, 1, [Define if you want OTP support in applications.])
+-	LIB_otp='$(top_builddir)/lib/otp/libotp.la'
+-	AC_SUBST(LIB_otp)
+ fi
+ AC_MSG_CHECKING([whether to enable OTP library])
+ AC_MSG_RESULT($enable_otp)
+diff -ruN heimdal-0.6-old/cf/roken-frag.m4 heimdal-0.6/cf/roken-frag.m4
+--- heimdal-0.6-old/cf/roken-frag.m4	Thu Dec 19 04:34:25 2002
++++ heimdal-0.6/cf/roken-frag.m4	Thu Aug 28 15:37:16 2003
+@@ -8,9 +8,9 @@
+ 
+ AC_REQUIRE([rk_CONFIG_HEADER])
+ 
+-DIR_roken=roken
+-LIB_roken='$(top_builddir)/$1/libroken.la'
+-INCLUDES_roken='-I$(top_builddir)/$1 -I$(top_srcdir)/$1'
++dnl DIR_roken=roken
++dnl LIB_roken='$(top_builddir)/$1/libroken.la'
++dnl INCLUDES_roken='-I$(top_builddir)/$1 -I$(top_srcdir)/$1'
+ 
+ dnl Checks for programs
+ AC_REQUIRE([AC_PROG_CC])
+@@ -643,9 +643,9 @@
+ dnl moved to AC_OUTPUT in configure.in
+ dnl AC_CONFIG_FILES($1/Makefile)
+ 
+-LIB_roken="${LIB_roken} \$(LIB_crypt) \$(LIB_dbopen)"
++dnl LIB_roken="${LIB_roken} \$(LIB_crypt) \$(LIB_dbopen)"
+ 
+-AC_SUBST(DIR_roken)dnl
+-AC_SUBST(LIB_roken)dnl
+-AC_SUBST(INCLUDES_roken)dnl
++dnl AC_SUBST(DIR_roken)dnl
++dnl AC_SUBST(LIB_roken)dnl
++dnl AC_SUBST(INCLUDES_roken)dnl
+ ])
+diff -ruN heimdal-0.6-old/cf/roken.m4 heimdal-0.6/cf/roken.m4
+--- heimdal-0.6-old/cf/roken.m4	Wed May  1 02:46:33 2002
++++ heimdal-0.6/cf/roken.m4	Thu Aug 28 15:37:16 2003
+@@ -34,10 +34,10 @@
+ 
+ AC_TRY_CPP(
+ [#include <roken.h>
+-#if ROKEN_VERSION < $1
+-#error old roken version, should be $1
+-fail
+-#endif
++//#if ROKEN_VERSION < $1
++//#error old roken version, should be $1
++//fail
++//#endif
+ ],[roken_installed=yes; break])
+ 
+ AC_MSG_RESULT($roken_installed)
+@@ -50,12 +50,13 @@
+   DIR_roken="roken"
+   LIB_roken='$4'
+   CPPFLAGS_roken='$5'
+-  AC_CONFIG_SUBDIRS(lib/roken)
++dnl  AC_CONFIG_SUBDIRS(lib/roken)
+ else
+   LIB_roken="$i/lib/libroken.la"
+   CPPFLAGS_roken="-I$i/include"
+ fi
+ 
++AC_FIND_FUNC_NO_LIBS(crypt, crypt)dnl
+ LIB_roken="${LIB_roken} \$(LIB_crypt) \$(LIB_dbopen)"
+ 
+ AC_SUBST(LIB_roken)dnl
+diff -ruN heimdal-0.6-old/cf/test-package.m4 heimdal-0.6/cf/test-package.m4
+--- heimdal-0.6-old/cf/test-package.m4	Wed Sep 11 01:23:38 2002
++++ heimdal-0.6/cf/test-package.m4	Thu Aug 28 15:37:16 2003
+@@ -37,7 +37,7 @@
+ 
+ header_dirs=
+ lib_dirs=
+-for i in $d; do
++for i in $d /usr; do
+ 	if test "$with_$1_include" = ""; then
+ 		if test -d "$i/include/$1"; then
+ 			header_dirs="$header_dirs $i/include/$1"
+@@ -100,6 +100,7 @@
+ 			AC_TRY_LINK([$2],,lres=$i;break)
+ 		done
+ 		if test "$ires" -a "$lres" -a "$with_$1" != "no"; then
++			DIR_$1=
+ 			INCLUDE_$1="-I$ires"
+ 			LIB_$1="-L$lres $3 $4"
+ 			found=yes
+@@ -115,11 +116,13 @@
+ 	with_$1=yes
+ else
+ 	with_$1=no
++	DIR_$1=
+ 	INCLUDE_$1=
+ 	LIB_$1=
+ 	AC_MSG_RESULT(no)
+ fi
+ 
++AC_SUBST(DIR_$1)
+ AC_SUBST(INCLUDE_$1)
+ AC_SUBST(LIB_$1)
+ ])
+diff -ruN heimdal-0.6-old/configure.in heimdal-0.6/configure.in
+--- heimdal-0.6-old/configure.in	Tue May 13 01:26:39 2003
++++ heimdal-0.6/configure.in	Thu Aug 28 15:37:16 2003
+@@ -187,9 +187,10 @@
+ 
+ rk_DB
+ 
+-dnl AC_ROKEN(10,[/usr/heimdal /usr/athena],[lib/roken],[$(top_builddir)/lib/roken/libroken.la],[-I$(top_builddir)/lib/roken -I$(top_srcdir)/lib/roken])
+-
+-rk_ROKEN(lib/roken)
++AC_ROKEN(10,[/usr/heimdal /usr/athena],[lib/roken],[$(top_builddir)/lib/roken/libroken.la],[-I$(top_builddir)/lib/roken -I$(top_srcdir)/lib/roken])
++#if ! test "$roken_installed" = yes; then
++	rk_ROKEN(lib/roken)
++#fi
+ LIB_roken="\$(top_builddir)/lib/vers/libvers.la $LIB_roken"
+ 
+ rk_OTP
+@@ -209,6 +210,26 @@
+  #include <readline.h>],-lreadline,,, READLINE)
+ 
+ rk_TEST_PACKAGE(hesiod,[#include <hesiod.h>],-lhesiod,,, HESIOD)
++
++rk_TEST_PACKAGE(sl,,-lsl,,,SL)
++if ! test "$with_sl" = yes; then
++	DIR_sl="sl"
++	LIB_sl='$(top_builddir)/lib/sl/libsl.la'
++fi
++rk_TEST_PACKAGE(ss,,-lss,,,SS)
++if ! test "$with_sl" = yes; then
++	DIR_sl="sl"
++	LIB_sl='$(top_builddir)/lib/sl/libsl.la'
++	DIR_ss=""
++	LIB_ss='$(top_builddir)/lib/sl/libss.la'
++fi
++if test "$enable_otp" = "yes"; then
++  rk_TEST_PACKAGE(otp,,-lotp,,,OTP)
++  if ! test "$with_otp" = yes; then
++	DIR_otp="otp"
++ 	LIB_otp='$(top_builddir)/lib/otp/libotp.la'
++  fi
++fi
+ 
+ KRB_C_BIGENDIAN
+ AC_C_INLINE
+diff -ruN heimdal-0.6-old/kadmin/Makefile.am heimdal-0.6/kadmin/Makefile.am
+--- heimdal-0.6-old/kadmin/Makefile.am	Tue Aug 28 18:31:26 2001
++++ heimdal-0.6/kadmin/Makefile.am	Thu Aug 28 15:37:16 2003
+@@ -62,7 +62,7 @@
+ kadmin_LDADD = \
+ 	$(top_builddir)/lib/kadm5/libkadm5clnt.la \
+ 	$(top_builddir)/lib/kadm5/libkadm5srv.la \
+-	$(top_builddir)/lib/sl/libsl.la \
++	$(LIB_sl) \
+ 	$(LIB_readline) \
+ 	$(LDADD_common) \
+ 	$(LIB_dlopen)
+diff -ruN heimdal-0.6-old/lib/Makefile.am heimdal-0.6/lib/Makefile.am
+--- heimdal-0.6-old/lib/Makefile.am	Wed Aug 29 04:44:41 2001
++++ heimdal-0.6/lib/Makefile.am	Thu Aug 28 15:37:16 2003
+@@ -5,12 +5,9 @@
+ if KRB4
+ dir_45 = 45
+ endif
+-if OTP
+-dir_otp = otp
+-endif
+ if DCE
+ dir_dce = kdfs
+ endif
+ 
+-SUBDIRS = @DIR_roken@ vers editline @DIR_com_err@ sl asn1 @DIR_des@ krb5 \
+-	kafs hdb kadm5 gssapi auth $(dir_45) $(dir_otp) $(dir_dce)
++SUBDIRS = @DIR_roken@ vers @DIR_readline@ @DIR_com_err@ @DIR_sl@ asn1 @DIR_des@ krb5 \
++	kafs hdb kadm5 gssapi auth $(dir_45) @DIR_otp@ $(dir_dce)
+diff -ruN heimdal-0.6-old/lib/auth/afskauthlib/Makefile.am heimdal-0.6/lib/auth/afskauthlib/Makefile.am
+--- heimdal-0.6-old/lib/auth/afskauthlib/Makefile.am	Sun Jul 15 14:21:07 2001
++++ heimdal-0.6/lib/auth/afskauthlib/Makefile.am	Thu Aug 28 15:37:16 2003
+@@ -23,7 +23,7 @@
+ 	$(COMPILE) -c $<
+ 
+ if KRB4
+-KAFS = $(top_builddir)/lib/kafs/libkafs.la
++KAFS = $(LIB_kafs)
+ endif
+ 
+ if KRB5
+@@ -33,7 +33,7 @@
+ 	$(top_builddir)/lib/asn1/libasn1.la	\
+ 	$(LIB_krb4)				\
+ 	$(LIB_des)				\
+-	$(top_builddir)/lib/roken/libroken.la	\
++	$(LIB_roken)	\
+ 	-lc
+ 
+ else
+@@ -42,7 +42,7 @@
+ 	$(KAFS)	\
+ 	$(LIB_krb4)				\
+ 	$(LIB_des)				\
+-	$(top_builddir)/lib/roken/libroken.la	\
++	$(LIB_roken)	\
+ 	-lc
+ endif
+ 
+diff -ruN heimdal-0.6-old/lib/gssapi/Makefile.am heimdal-0.6/lib/gssapi/Makefile.am
+--- heimdal-0.6-old/lib/gssapi/Makefile.am	Tue May 13 01:20:46 2003
++++ heimdal-0.6/lib/gssapi/Makefile.am	Thu Aug 28 15:39:26 2003
+@@ -6,7 +6,7 @@
+ 
+ lib_LTLIBRARIES = libgssapi.la
+ libgssapi_la_LDFLAGS = -version-info 4:0:3
+-libgssapi_la_LIBADD  = ../krb5/libkrb5.la $(LIB_des) ../asn1/libasn1.la ../roken/libroken.la
++libgssapi_la_LIBADD  = ../krb5/libkrb5.la $(LIB_des) ../asn1/libasn1.la $(LIB_roken)
+ 
+ man_MANS = gssapi.3 gss_acquire_cred.3
+ 
+diff -ruN heimdal-0.6-old/lib/hdb/Makefile.am heimdal-0.6/lib/hdb/Makefile.am
+--- heimdal-0.6-old/lib/hdb/Makefile.am	Tue May 13 01:20:46 2003
++++ heimdal-0.6/lib/hdb/Makefile.am	Thu Aug 28 15:37:16 2003
+@@ -38,7 +38,7 @@
+ 
+ include_HEADERS = hdb.h hdb_err.h hdb_asn1.h hdb-protos.h hdb-private.h
+ 
+-libhdb_la_LIBADD = ../krb5/libkrb5.la ../asn1/libasn1.la ../roken/libroken.la $(LIB_openldap) $(DBLIB) $(LIB_NDBM)
++libhdb_la_LIBADD = ../krb5/libkrb5.la ../asn1/libasn1.la $(LIB_roken) $(LIB_openldap) $(DBLIB) $(LIB_NDBM)
+ 
+ $(libhdb_la_OBJECTS): $(srcdir)/hdb-protos.h $(srcdir)/hdb-private.h
+ 
+diff -ruN heimdal-0.6-old/lib/kadm5/Makefile.am heimdal-0.6/lib/kadm5/Makefile.am
+--- heimdal-0.6-old/lib/kadm5/Makefile.am	Tue May 13 01:20:46 2003
++++ heimdal-0.6/lib/kadm5/Makefile.am	Thu Aug 28 15:37:16 2003
+@@ -7,8 +7,8 @@
+ libkadm5clnt_la_LDFLAGS = -version-info 6:4:2
+ sbin_PROGRAMS = dump_log replay_log truncate_log
+ 
+-libkadm5srv_la_LIBADD = ../krb5/libkrb5.la ../hdb/libhdb.la ../roken/libroken.la
+-libkadm5clnt_la_LIBADD = ../krb5/libkrb5.la ../hdb/libhdb.la ../roken/libroken.la
++libkadm5srv_la_LIBADD = ../krb5/libkrb5.la ../hdb/libhdb.la $(LIB_roken)
++libkadm5clnt_la_LIBADD = ../krb5/libkrb5.la ../hdb/libhdb.la $(LIB_roken)
+ 
+ libexec_PROGRAMS = ipropd-master ipropd-slave
+ 
+diff -ruN heimdal-0.6-old/lib/kafs/Makefile.am heimdal-0.6/lib/kafs/Makefile.am
+--- heimdal-0.6-old/lib/kafs/Makefile.am	Tue May 13 01:20:46 2003
++++ heimdal-0.6/lib/kafs/Makefile.am	Thu Aug 28 15:42:10 2003
+@@ -51,7 +51,7 @@
+ AIX_SRC =
+ endif # AIX
+ 
+-libkafs_la_LIBADD = $(DEPLIB_krb5) ../roken/libroken.la $(DEPLIB_krb4)
++libkafs_la_LIBADD = $(DEPLIB_krb5) $(LIB_roken) $(DEPLIB_krb4)
+ 
+ lib_LTLIBRARIES = libkafs.la
+ libkafs_la_LDFLAGS = -version-info 4:0:4
+diff -ruN heimdal-0.6-old/lib/krb5/Makefile.am heimdal-0.6/lib/krb5/Makefile.am
+--- heimdal-0.6-old/lib/krb5/Makefile.am	Tue May 13 01:20:47 2003
++++ heimdal-0.6/lib/krb5/Makefile.am	Thu Aug 28 15:37:16 2003
+@@ -26,7 +26,7 @@
+ 	$(LIB_roken)
+ 
+ libkrb5_la_LIBADD = \
+-	../com_err/error.lo ../com_err/com_err.lo \
++	$(LIB_com_err) \
+ 	$(LIB_des) \
+ 	$(top_builddir)/lib/asn1/libasn1.la \
+ 	$(LIB_roken)
+diff -ruN heimdal-0.6-old/lib/roken/acconfig.h heimdal-0.6/lib/roken/acconfig.h
+--- heimdal-0.6-old/lib/roken/acconfig.h	Sun Jul  9 00:22:08 2000
++++ heimdal-0.6/lib/roken/acconfig.h	Thu Aug 28 15:37:16 2003
+@@ -12,7 +12,7 @@
+ #endif
+ 
+ #define RCSID(msg) \
+-static /**/const char *const rcsid[] = { (const char *)rcsid, "\100(#)" msg }
++static /**/const char *const rcsid[] = { (const char *)rcsid, "@(#)" msg }
+ 
+ #undef PROTOTYPES
+ 
--- heimdal-0.6.3.orig/debian/patches-0.6/013_maildir
+++ heimdal-0.6.3/debian/patches-0.6/013_maildir
@@ -0,0 +1,40 @@
+Index: heimdal-0.6/appl/popper/pop_pass.c
+===================================================================
+RCS file: /homes/bam/cvsroot/debian/heimdal/appl/popper/pop_pass.c,v
+retrieving revision 1.1.1.3
+retrieving revision 1.5
+diff -c -r1.1.1.3 -r1.5
+*** heimdal-0.6/appl/popper/pop_pass.c 2000/05/19 05:23:42 1.1.1.3
+--- heimdal-0.6/appl/popper/pop_pass.c	2000/05/19 05:33:06	1.5
+***************
+*** 197,203 ****
+  	    p->ipaddr, p->user);
+  
+      /*  Build the name of the user's maildrop */
+!     snprintf(p->drop_name, sizeof(p->drop_name), "%s/%s", POP_MAILDIR, p->user);
+  
+      if(stat(p->drop_name, &st) < 0 || !S_ISDIR(st.st_mode)){
+  	/*  Make a temporary copy of the user's maildrop */
+--- 197,218 ----
+  	    p->ipaddr, p->user);
+  
+      /*  Build the name of the user's maildrop */
+! 
+!     /* Try ~/Maildir */
+!     if (pw->pw_dir != NULL)
+! 	{
+!         snprintf(p->drop_name, sizeof(p->drop_name), "%s/%s", pw->pw_dir, "Maildir");
+! 	}
+!     if(pw->pw_dir != NULL && stat(p->drop_name, &st) < 0)
+! 	{
+!     	/* else try ~/Mailbox */
+! 	snprintf(p->drop_name, sizeof(p->drop_name), "%s/%s", pw->pw_dir, "Mailbox");
+! 	}
+!     if(pw->pw_dir == NULL || stat(p->drop_name, &st) < 0)
+! 	{
+!     	/* else try /var/spool/mail/userid */
+! 	snprintf(p->drop_name, sizeof(p->drop_name), "%s/%s", POP_MAILDIR, p->user);
+! 	}
+  
+      if(stat(p->drop_name, &st) < 0 || !S_ISDIR(st.st_mode)){
+  	/*  Make a temporary copy of the user's maildrop */
--- heimdal-0.6.3.orig/debian/patches-0.6/014_cache
+++ heimdal-0.6.3/debian/patches-0.6/014_cache
@@ -0,0 +1,72 @@
+diff -ruN heimdal-0.6-old/lib/krb5/cache.c heimdal-0.6/lib/krb5/cache.c
+--- heimdal-0.6-old/lib/krb5/cache.c	Mon May 14 16:14:45 2001
++++ heimdal-0.6/lib/krb5/cache.c	Tue Jun 19 20:16:49 2001
+@@ -99,13 +99,28 @@
+ {
+     krb5_error_code ret;
+     krb5_ccache p;
++    krb5_cc_ops *q;
+ 
+     p = malloc(sizeof(*p));
+     if(p == NULL) {
+ 	krb5_set_error_string(context, "malloc: out of memory");
+ 	return KRB5_CC_NOMEM;
+     }
+-    p->ops = ops;
++
++    q = malloc(sizeof(*q));
++    if(q == NULL) {
++	krb5_set_error_string(context, "malloc: out of memory");
++        return KRB5_CC_NOMEM;
++    }
++    memcpy(q, ops, sizeof(*q));
++    q->prefix = strdup(ops->prefix);
++    if(q->prefix == NULL) {
++        free(q);
++	krb5_set_error_string(context, "strdup: out of memory");
++        return KRB5_CC_NOMEM;
++    }
++
++    p->ops = q;
+     *id = p;
+     ret = p->ops->resolve(context, id, residual);
+     if(ret)
+@@ -155,13 +170,28 @@
+ 		krb5_ccache *id)
+ {
+     krb5_ccache p;
++    krb5_cc_ops *q;
+ 
+     p = malloc (sizeof(*p));
+     if (p == NULL) {
+ 	krb5_set_error_string(context, "malloc: out of memory");
+ 	return KRB5_CC_NOMEM;
+     }
+-    p->ops = ops;
++
++    q = malloc(sizeof(*q));
++    if(q == NULL) {
++	krb5_set_error_string(context, "malloc: out of memory");
++        return KRB5_CC_NOMEM;
++    }
++    memcpy(q, ops, sizeof(*q));
++    q->prefix = strdup(ops->prefix);
++    if(q->prefix == NULL) {
++        free(q);
++	krb5_set_error_string(context, "strdup: out of memory");
++        return KRB5_CC_NOMEM;
++    }
++
++    p->ops = q;
+     *id = p;
+     return p->ops->gen_new(context, id);
+ }
+@@ -264,6 +294,8 @@
+ {
+     krb5_error_code ret;
+     ret = id->ops->close(context, id);
++    free(id->ops->prefix);
++    free((krb5_cc_ops *)id->ops);
+     free(id);
+     return ret;
+ }
--- heimdal-0.6.3.orig/debian/patches-0.6/015_editline
+++ heimdal-0.6.3/debian/patches-0.6/015_editline
@@ -0,0 +1,56 @@
+--- heimdal-0.6.old/appl/ftp/ftp/Makefile.am	Tue Aug 28 18:31:21 2001
++++ heimdal-0.6/appl/ftp/ftp/Makefile.am	Sat Jun 28 14:31:37 2003
+@@ -2,7 +2,7 @@
+ 
+ include $(top_srcdir)/Makefile.am.common
+ 
+-INCLUDES += -I$(srcdir)/../common $(INCLUDE_readline) $(INCLUDE_krb4) $(INCLUDE_des)
++INCLUDES += -I$(srcdir)/../common -I/usr/include/editline $(INCLUDE_krb4) $(INCLUDE_des)
+ 
+ bin_PROGRAMS = ftp
+ 
+@@ -43,4 +43,4 @@
+ 	$(LIB_krb4) \
+ 	$(LIB_des) \
+ 	$(LIB_roken) \
+-	$(LIB_readline)
++	-ledit
+--- heimdal-0.6/kadmin/Makefile.am	2003-09-15 11:53:42.000000000 +0200
++++ heimdal-0.6/kadmin/Makefile.am.change	2003-09-15 12:59:00.000000000 +0200
+@@ -2,7 +2,7 @@
+ 
+ include $(top_srcdir)/Makefile.am.common
+ 
+-INCLUDES += $(INCLUDE_readline) $(INCLUDE_krb4) $(INCLUDE_des) -I$(srcdir)/../lib/krb5
++INCLUDES += -I/usr/include/editline $(INCLUDE_krb4) $(INCLUDE_des) -I$(srcdir)/../lib/krb5
+ 
+ sbin_PROGRAMS = kadmin
+ 
+@@ -63,7 +63,7 @@
+ 	$(top_builddir)/lib/kadm5/libkadm5clnt.la \
+ 	$(top_builddir)/lib/kadm5/libkadm5srv.la \
+ 	$(LIB_sl) \
+-	$(LIB_readline) \
++	-ledit \
+ 	$(LDADD_common) \
+ 	$(LIB_dlopen)
+ 
+
+--- heimdal-0.6/admin/Makefile.am	2003-09-15 11:53:42.000000000 +0200
++++ heimdal-0.6/admin/Makefile.am.change	2003-09-15 13:01:58.000000000 +0200
+@@ -25,5 +25,5 @@
+ 	$(LIB_des) \
+ 	$(top_builddir)/lib/asn1/libasn1.la \
+ 	$(LIB_sl) \
+-	$(LIB_readline) \
++	-ledit
+ 	$(LIB_roken)
+--- heimdal-0.6/lib/Makefile.am	2003-09-15 11:53:42.000000000 +0200
++++ heimdal-0.6/lib/Makefile.am.change	2003-09-15 12:44:36.000000000 +0200
+@@ -9,5 +9,5 @@
+ dir_dce = kdfs
+ endif
+ 
+-SUBDIRS = @DIR_roken@ vers @DIR_readline@ @DIR_com_err@ @DIR_sl@ asn1 @DIR_des@ krb5 \
++SUBDIRS = @DIR_roken@ vers @DIR_com_err@ @DIR_sl@ asn1 @DIR_des@ krb5 \
+ 	kafs hdb kadm5 gssapi auth $(dir_45) @DIR_otp@ $(dir_dce)
--- heimdal-0.6.3.orig/debian/patches-0.6/016_nessus_dos
+++ heimdal-0.6.3/debian/patches-0.6/016_nessus_dos
@@ -0,0 +1,69 @@
+diff -ruN heimdal-0.6-old/lib/asn1/der_free.c heimdal-0.6/lib/asn1/der_free.c
+--- heimdal-0.6-old/lib/asn1/der_free.c	Tue Sep 25 23:39:26 2001
++++ heimdal-0.6/lib/asn1/der_free.c	Sun Sep 21 15:38:34 2003
+@@ -39,16 +39,19 @@
+ free_general_string (general_string *str)
+ {
+     free(*str);
++    *str = NULL;
+ }
+ 
+ void
+ free_octet_string (octet_string *k)
+ {
+     free(k->data);
++    k->data = NULL;
+ }
+ 
+ void
+ free_oid (oid *k)
+ {
+     free(k->components);
++    k->components = NULL;
+ }
+diff -ruN heimdal-0.6-old/lib/asn1/gen_free.c heimdal-0.6/lib/asn1/gen_free.c
+--- heimdal-0.6-old/lib/asn1/gen_free.c	Tue Sep 25 23:39:26 2001
++++ heimdal-0.6/lib/asn1/gen_free.c	Sun Sep 21 15:38:50 2003
+@@ -82,7 +82,8 @@
+ 	  if(m->optional)
+ 	      fprintf(codefile, 
+ 		      "free(%s);\n"
+-		      "}\n",s);
++		      "%s = NULL;\n"
++		      "}\n", s, s);
+ 	  if (tag == -1)
+ 	      tag = m->val;
+ 	  free (s);
+@@ -100,7 +101,8 @@
+ 	      "}\n",
+ 	      name);
+       fprintf(codefile,
+-	      "free((%s)->val);\n", name);
++	      "free((%s)->val);\n"
++	      "(%s)->val = NULL;\n", name, name);
+       free(n);
+       break;
+   }
+diff -ruN heimdal-0.6-old/lib/krb5/principal.c heimdal-0.6/lib/krb5/principal.c
+--- heimdal-0.6-old/lib/krb5/principal.c	Tue Oct 22 01:30:53 2002
++++ heimdal-0.6/lib/krb5/principal.c	Sun Sep 21 15:37:42 2003
+@@ -321,14 +321,17 @@
+ 	    len += 2*plen;
+ 	len++;
+     }
++    len++;
+     *name = malloc(len);
+-    if(len != 0 && *name == NULL) {
++    if(*name == NULL) {
+ 	krb5_set_error_string (context, "malloc: out of memory");
+ 	return ENOMEM;
+     }
+     ret = unparse_name_fixed(context, principal, *name, len, short_flag);
+-    if(ret)
++    if(ret) {
+ 	free(*name);
++	*name = NULL;
++    }
+     return ret;
+ }
+ 
--- heimdal-0.6.3.orig/debian/patches-0.6/022_ftp-roken-glob
+++ heimdal-0.6.3/debian/patches-0.6/022_ftp-roken-glob
@@ -0,0 +1,2846 @@
+diff -ruN heimdal-0.6-old/appl/ftp/ftp/cmds.c heimdal-0.6/appl/ftp/ftp/cmds.c
+--- heimdal-0.6-old/appl/ftp/ftp/cmds.c	Sun Aug  5 16:39:14 2001
++++ heimdal-0.6/appl/ftp/ftp/cmds.c	Sun Oct  6 14:57:46 2002
+@@ -535,9 +535,17 @@
+ 
+ 	memset(&gl, 0, sizeof(gl));
+ 	flags = GLOB_BRACE|GLOB_NOCHECK|GLOB_QUOTE|GLOB_TILDE;
++#ifdef HAVE_GLOB
+ 	if (glob(argv[i], flags, NULL, &gl) || gl.gl_pathc == 0) {
++#else
++	if (roken_glob(argv[i], flags, NULL, &gl) || gl.gl_pathc == 0) {
++#endif 
+ 	    warnx("%s: not found", argv[i]);
++#ifdef HAVE_GLOB
+ 	    globfree(&gl);
++#else
++	    roken_globfree(&gl);
++#endif
+ 	    continue;
+ 	}
+ 	for (cpp = gl.gl_pathv; cpp && *cpp != NULL; cpp++) {
+@@ -558,7 +566,11 @@
+ 		}
+ 	    }
+ 	}
++#ifdef HAVE_GLOB
+ 	globfree(&gl);
++#else
++	roken_globfree(&gl);
++#endif
+     }
+     signal(SIGINT, oldintr);
+     mflag = 0;
+@@ -1567,14 +1579,27 @@
+ 
+ 	flags = GLOB_BRACE|GLOB_NOCHECK|GLOB_QUOTE|GLOB_TILDE;
+ 	memset(&gl, 0, sizeof(gl));
++#ifdef HAVE_GLOB
+ 	if (glob(*cpp, flags, NULL, &gl) ||
++#else 
++	if (roken_glob(*cpp, flags, NULL, &gl) ||
++#endif
+ 	    gl.gl_pathc == 0) {
+ 		warnx("%s: not found", *cpp);
++#ifdef HAVE_GLOB
+ 		globfree(&gl);
++#else
++		roken_globfree(&gl);
++#endif
+ 		return (0);
+ 	}
+ 	*cpp = strdup(gl.gl_pathv[0]);	/* XXX - wasted memory */
++#ifdef HAVE_GLOB
+ 	globfree(&gl);
++#else
++	roken_globfree(&gl);
++#endif
++
+ 	return (1);
+ }
+ 
+diff -ruN heimdal-0.6-old/appl/ftp/ftp/ftp_locl.h heimdal-0.6/appl/ftp/ftp/ftp_locl.h
+--- heimdal-0.6-old/appl/ftp/ftp/ftp_locl.h	Wed Sep 11 06:03:46 2002
++++ heimdal-0.6/appl/ftp/ftp/ftp_locl.h	Sun Oct  6 14:57:46 2002
+@@ -101,7 +101,11 @@
+ 
+ #include <errno.h>
+ #include <ctype.h>
++#ifdef HAVE_GLOB
+ #include <glob.h>
++#else
++#include <roken-glob.h>
++#endif 
+ #ifdef HAVE_NETDB_H
+ #include <netdb.h>
+ #endif
+diff -ruN heimdal-0.6-old/appl/ftp/ftpd/ftpcmd.y heimdal-0.6/appl/ftp/ftpd/ftpcmd.y
+--- heimdal-0.6-old/appl/ftp/ftpd/ftpcmd.y	Sun Aug  5 16:39:29 2001
++++ heimdal-0.6/appl/ftp/ftpd/ftpcmd.y	Sun Oct  6 14:57:46 2002
+@@ -838,14 +838,22 @@
+ 				 GLOB_BRACE|GLOB_NOCHECK|GLOB_QUOTE|GLOB_TILDE;
+ 
+ 				memset(&gl, 0, sizeof(gl));
++#ifdef HAVE_GLOB
+ 				if (glob($1, flags, NULL, &gl) ||
++#else
++				if (roken_glob($1, flags, NULL, &gl) ||
++#endif
+ 				    gl.gl_pathc == 0) {
+ 					reply(550, "not found");
+ 					$$ = NULL;
+ 				} else {
+ 					$$ = strdup(gl.gl_pathv[0]);
+ 				}
++#ifdef HAVE_GLOB
+ 				globfree(&gl);
++#else
++				roken_globfree(&gl);
++#endif
+ 				free($1);
+ 			} else
+ 				$$ = $1;
+diff -ruN heimdal-0.6-old/appl/ftp/ftpd/ftpd.c heimdal-0.6/appl/ftp/ftpd/ftpd.c
+--- heimdal-0.6-old/appl/ftp/ftpd/ftpd.c	Fri Mar  1 02:50:14 2002
++++ heimdal-0.6/appl/ftp/ftpd/ftpd.c	Sun Oct  6 14:57:46 2002
+@@ -2205,7 +2205,11 @@
+ 
+     memset(&gl, 0, sizeof(gl));
+     freeglob = 1;
++#ifdef HAVE_GLOB
+     if (glob(whichf, flags, 0, &gl)) {
++#else
++    if (roken_glob(whichf, flags, 0, &gl)) {
++#endif
+       reply(550, "not found");
+       goto out;
+     } else if (gl.gl_pathc == 0) {
+@@ -2315,7 +2319,11 @@
+ out:
+   if (freeglob) {
+     freeglob = 0;
++#ifdef HAVE_GLOB
+     globfree(&gl);
++#else
++    roken_globfree(&gl);
++#endif
+   }
+ }
+ 
+diff -ruN heimdal-0.6-old/appl/ftp/ftpd/ftpd.c.orig heimdal-0.6/appl/ftp/ftpd/ftpd.c.orig
+--- heimdal-0.6-old/appl/ftp/ftpd/ftpd.c.orig	Thu Jan  1 10:00:00 1970
++++ heimdal-0.6/appl/ftp/ftpd/ftpd.c.orig	Sun Oct  6 14:57:46 2002
+@@ -0,0 +1,2348 @@
++/*
++ * Copyright (c) 1985, 1988, 1990, 1992, 1993, 1994
++ *	The Regents of the University of California.  All rights reserved.
++ *
++ * Redistribution and use in source and binary forms, with or without
++ * modification, are permitted provided that the following conditions
++ * are met:
++ * 1. Redistributions of source code must retain the above copyright
++ *    notice, this list of conditions and the following disclaimer.
++ * 2. Redistributions in binary form must reproduce the above copyright
++ *    notice, this list of conditions and the following disclaimer in the
++ *    documentation and/or other materials provided with the distribution.
++ * 3. All advertising materials mentioning features or use of this software
++ *    must display the following acknowledgement:
++ *	This product includes software developed by the University of
++ *	California, Berkeley and its contributors.
++ * 4. Neither the name of the University nor the names of its contributors
++ *    may be used to endorse or promote products derived from this software
++ *    without specific prior written permission.
++ *
++ * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
++ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
++ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
++ * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
++ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
++ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
++ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
++ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
++ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
++ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
++ * SUCH DAMAGE.
++ */
++
++#define	FTP_NAMES
++#include "ftpd_locl.h"
++#ifdef KRB5
++#include <krb5.h>
++#endif
++#include "getarg.h"
++
++RCSID("$Id: ftpd.c,v 1.161 2002/02/28 15:50:14 joda Exp $");
++
++static char version[] = "Version 6.00";
++
++extern	off_t restart_point;
++extern	char cbuf[];
++
++struct  sockaddr_storage ctrl_addr_ss;
++struct  sockaddr *ctrl_addr = (struct sockaddr *)&ctrl_addr_ss;
++
++struct  sockaddr_storage data_source_ss;
++struct  sockaddr *data_source = (struct sockaddr *)&data_source_ss;
++
++struct  sockaddr_storage data_dest_ss;
++struct  sockaddr *data_dest = (struct sockaddr *)&data_dest_ss;
++
++struct  sockaddr_storage his_addr_ss;
++struct  sockaddr *his_addr = (struct sockaddr *)&his_addr_ss;
++
++struct  sockaddr_storage pasv_addr_ss;
++struct  sockaddr *pasv_addr = (struct sockaddr *)&pasv_addr_ss;
++
++int	data;
++jmp_buf	errcatch, urgcatch;
++int	oobflag;
++int	logged_in;
++struct	passwd *pw;
++int	debug = 0;
++int	ftpd_timeout = 900;    /* timeout after 15 minutes of inactivity */
++int	maxtimeout = 7200;/* don't allow idle time to be set beyond 2 hours */
++int	restricted_data_ports = 1;
++int	logging;
++int	guest;
++int	dochroot;
++int	type;
++int	form;
++int	stru;			/* avoid C keyword */
++int	mode;
++int	usedefault = 1;		/* for data transfers */
++int	pdata = -1;		/* for passive mode */
++int	transflag;
++off_t	file_size;
++off_t	byte_count;
++#if !defined(CMASK) || CMASK == 0
++#undef CMASK
++#define CMASK 027
++#endif
++int	defumask = CMASK;		/* default umask value */
++int	guest_umask = 0777;	/* Paranoia for anonymous users */
++char	tmpline[10240];
++char	hostname[MaxHostNameLen];
++char	remotehost[MaxHostNameLen];
++static char ttyline[20];
++
++#define AUTH_PLAIN	(1 << 0) /* allow sending passwords */
++#define AUTH_OTP	(1 << 1) /* passwords are one-time */
++#define AUTH_FTP	(1 << 2) /* allow anonymous login */
++
++static int auth_level = 0; /* Only allow kerberos login by default */
++
++/*
++ * Timeout intervals for retrying connections
++ * to hosts that don't accept PORT cmds.  This
++ * is a kludge, but given the problems with TCP...
++ */
++#define	SWAITMAX	90	/* wait at most 90 seconds */
++#define	SWAITINT	5	/* interval between retries */
++
++int	swaitmax = SWAITMAX;
++int	swaitint = SWAITINT;
++
++#ifdef HAVE_SETPROCTITLE
++char	proctitle[BUFSIZ];	/* initial part of title */
++#endif /* HAVE_SETPROCTITLE */
++
++#define LOGCMD(cmd, file) \
++	if (logging > 1) \
++	    syslog(LOG_INFO,"%s %s%s", cmd, \
++		*(file) == '/' ? "" : curdir(), file);
++#define LOGCMD2(cmd, file1, file2) \
++	 if (logging > 1) \
++	    syslog(LOG_INFO,"%s %s%s %s%s", cmd, \
++		*(file1) == '/' ? "" : curdir(), file1, \
++		*(file2) == '/' ? "" : curdir(), file2);
++#define LOGBYTES(cmd, file, cnt) \
++	if (logging > 1) { \
++		if (cnt == (off_t)-1) \
++		    syslog(LOG_INFO,"%s %s%s", cmd, \
++			*(file) == '/' ? "" : curdir(), file); \
++		else \
++		    syslog(LOG_INFO, "%s %s%s = %ld bytes", \
++			cmd, (*(file) == '/') ? "" : curdir(), file, (long)cnt); \
++	}
++
++static void	 ack (char *);
++static void	 myoob (int);
++static int	 checkuser (char *, char *);
++static int	 checkaccess (char *);
++static FILE	*dataconn (const char *, off_t, const char *);
++static void	 dolog (struct sockaddr *sa, int len);
++static void	 end_login (void);
++static FILE	*getdatasock (const char *);
++static char	*gunique (char *);
++static RETSIGTYPE	 lostconn (int);
++static int	 receive_data (FILE *, FILE *);
++static void	 send_data (FILE *, FILE *);
++static struct passwd * sgetpwnam (char *);
++
++static char *
++curdir(void)
++{
++	static char path[MaxPathLen+1];	/* path + '/' + '\0' */
++
++	if (getcwd(path, sizeof(path)-1) == NULL)
++		return ("");
++	if (path[1] != '\0')		/* special case for root dir. */
++		strlcat(path, "/", sizeof(path));
++	/* For guest account, skip / since it's chrooted */
++	return (guest ? path+1 : path);
++}
++
++#ifndef LINE_MAX
++#define LINE_MAX 1024
++#endif
++
++static int
++parse_auth_level(char *str)
++{
++    char *p;
++    int ret = 0;
++    char *foo = NULL;
++
++    for(p = strtok_r(str, ",", &foo);
++	p;
++	p = strtok_r(NULL, ",", &foo)) {
++	if(strcmp(p, "user") == 0)
++	    ;
++#ifdef OTP
++	else if(strcmp(p, "otp") == 0)
++	    ret |= AUTH_PLAIN|AUTH_OTP;
++#endif
++	else if(strcmp(p, "ftp") == 0 ||
++		strcmp(p, "safe") == 0)
++	    ret |= AUTH_FTP;
++	else if(strcmp(p, "plain") == 0)
++	    ret |= AUTH_PLAIN;
++	else if(strcmp(p, "none") == 0)
++	    ret |= AUTH_PLAIN|AUTH_FTP;
++	else
++	    warnx("bad value for -a: `%s'", p);
++    }
++    return ret;	    
++}
++
++/*
++ * Print usage and die.
++ */
++
++static int interactive_flag;
++static char *guest_umask_string;
++static char *port_string;
++static char *umask_string;
++static char *auth_string;
++
++int use_builtin_ls = -1;
++
++static int help_flag;
++static int version_flag;
++
++static const char *good_chars = "+-=_,.";
++
++struct getargs args[] = {
++    { NULL, 'a', arg_string, &auth_string, "required authentication" },
++    { NULL, 'i', arg_flag, &interactive_flag, "don't assume stdin is a socket" },
++    { NULL, 'p', arg_string, &port_string, "what port to listen to" },
++    { NULL, 'g', arg_string, &guest_umask_string, "umask for guest logins" },
++    { NULL, 'l', arg_counter, &logging, "log more stuff", "" },
++    { NULL, 't', arg_integer, &ftpd_timeout, "initial timeout" },
++    { NULL, 'T', arg_integer, &maxtimeout, "max timeout" },
++    { NULL, 'u', arg_string, &umask_string, "umask for user logins" },
++    { NULL, 'U', arg_negative_flag, &restricted_data_ports, "don't use high data ports" },
++    { NULL, 'd', arg_flag, &debug, "enable debugging" },
++    { NULL, 'v', arg_flag, &debug, "enable debugging" },
++    { "builtin-ls", 'B', arg_flag, &use_builtin_ls, "use built-in ls to list files" },
++    { "good-chars", 0, arg_string, &good_chars, "allowed anonymous upload filename chars" },
++    { "version", 0, arg_flag, &version_flag },
++    { "help", 'h', arg_flag, &help_flag }
++};
++
++static int num_args = sizeof(args) / sizeof(args[0]);
++
++static void
++usage (int code)
++{
++    arg_printusage(args, num_args, NULL, "");
++    exit (code);
++}
++
++/* output contents of a file */
++static int
++show_file(const char *file, int code)
++{
++    FILE *f;
++    char buf[128];
++
++    f = fopen(file, "r");
++    if(f == NULL)
++	return -1;
++    while(fgets(buf, sizeof(buf), f)){
++	buf[strcspn(buf, "\r\n")] = '\0';
++	lreply(code, "%s", buf);
++    }
++    fclose(f);
++    return 0;
++}
++
++int
++main(int argc, char **argv)
++{
++    socklen_t his_addr_len, ctrl_addr_len;
++    int on = 1;
++    int port;
++    struct servent *sp;
++
++    int optind = 0;
++
++    setprogname (argv[0]);
++
++    /* detach from any tickets and tokens */
++    {
++#ifdef KRB4
++	char tkfile[1024];
++	snprintf(tkfile, sizeof(tkfile),
++		 "/tmp/ftp_%u", (unsigned)getpid());
++	krb_set_tkt_string(tkfile);
++#endif
++#if defined(KRB4) && defined(KRB5)
++	if(k_hasafs())
++	    k_setpag();
++#endif
++    }
++
++    if(getarg(args, num_args, argc, argv, &optind))
++	usage(1);
++
++    if(help_flag)
++	usage(0);
++	
++    if(version_flag) {
++	print_version(NULL);
++	exit(0);
++    }
++
++    if(auth_string)
++	auth_level = parse_auth_level(auth_string);
++    {
++	char *p;
++	long val = 0;
++	    
++	if(guest_umask_string) {
++	    val = strtol(guest_umask_string, &p, 8);
++	    if (*p != '\0' || val < 0)
++		warnx("bad value for -g");
++	    else
++		guest_umask = val;
++	}
++	if(umask_string) {
++	    val = strtol(umask_string, &p, 8);
++	    if (*p != '\0' || val < 0)
++		warnx("bad value for -u");
++	    else
++		defumask = val;
++	}
++    }
++    sp = getservbyname("ftp", "tcp");
++    if(sp)
++	port = sp->s_port;
++    else
++	port = htons(21);
++    if(port_string) {
++	sp = getservbyname(port_string, "tcp");
++	if(sp)
++	    port = sp->s_port;
++	else
++	    if(isdigit(port_string[0]))
++		port = htons(atoi(port_string));
++	    else
++		warnx("bad value for -p");
++    }
++		    
++    if (maxtimeout < ftpd_timeout)
++	maxtimeout = ftpd_timeout;
++
++#if 0
++    if (ftpd_timeout > maxtimeout)
++	ftpd_timeout = maxtimeout;
++#endif
++
++    if(interactive_flag)
++	mini_inetd (port);
++
++    /*
++     * LOG_NDELAY sets up the logging connection immediately,
++     * necessary for anonymous ftp's that chroot and can't do it later.
++     */
++    openlog("ftpd", LOG_PID | LOG_NDELAY, LOG_FTP);
++    his_addr_len = sizeof(his_addr_ss);
++    if (getpeername(STDIN_FILENO, his_addr, &his_addr_len) < 0) {
++	syslog(LOG_ERR, "getpeername (%s): %m",argv[0]);
++	exit(1);
++    }
++    ctrl_addr_len = sizeof(ctrl_addr_ss);
++    if (getsockname(STDIN_FILENO, ctrl_addr, &ctrl_addr_len) < 0) {
++	syslog(LOG_ERR, "getsockname (%s): %m",argv[0]);
++	exit(1);
++    }
++#if defined(IP_TOS) && defined(HAVE_SETSOCKOPT)
++    {
++	int tos = IPTOS_LOWDELAY;
++
++	if (setsockopt(STDIN_FILENO, IPPROTO_IP, IP_TOS,
++		       (void *)&tos, sizeof(int)) < 0)
++	    syslog(LOG_WARNING, "setsockopt (IP_TOS): %m");
++    }
++#endif
++    data_source->sa_family = ctrl_addr->sa_family;
++    socket_set_port (data_source,
++		     htons(ntohs(socket_get_port(ctrl_addr)) - 1));
++
++    /* set this here so it can be put in wtmp */
++    snprintf(ttyline, sizeof(ttyline), "ftp%u", (unsigned)getpid());
++
++
++    /*	freopen(_PATH_DEVNULL, "w", stderr); */
++    signal(SIGPIPE, lostconn);
++    signal(SIGCHLD, SIG_IGN);
++#ifdef SIGURG
++    if (signal(SIGURG, myoob) == SIG_ERR)
++	syslog(LOG_ERR, "signal: %m");
++#endif
++
++    /* Try to handle urgent data inline */
++#if defined(SO_OOBINLINE) && defined(HAVE_SETSOCKOPT)
++    if (setsockopt(0, SOL_SOCKET, SO_OOBINLINE, (void *)&on,
++		   sizeof(on)) < 0)
++	syslog(LOG_ERR, "setsockopt: %m");
++#endif
++
++#ifdef	F_SETOWN
++    if (fcntl(fileno(stdin), F_SETOWN, getpid()) == -1)
++	syslog(LOG_ERR, "fcntl F_SETOWN: %m");
++#endif
++    dolog(his_addr, his_addr_len);
++    /*
++     * Set up default state
++     */
++    data = -1;
++    type = TYPE_A;
++    form = FORM_N;
++    stru = STRU_F;
++    mode = MODE_S;
++    tmpline[0] = '\0';
++
++    /* If logins are disabled, print out the message. */
++    if(show_file(_PATH_NOLOGIN, 530) == 0) {
++	reply(530, "System not available.");
++	exit(0);
++    }
++    show_file(_PATH_FTPWELCOME, 220);
++    /* reply(220,) must follow */
++    gethostname(hostname, sizeof(hostname));
++	
++    reply(220, "%s FTP server (%s"
++#ifdef KRB5
++	  "+%s"
++#endif
++#ifdef KRB4
++	  "+%s"
++#endif
++	  ") ready.", hostname, version
++#ifdef KRB5
++	  ,heimdal_version
++#endif
++#ifdef KRB4
++	  ,krb4_version
++#endif
++	  );
++
++    setjmp(errcatch);
++    for (;;)
++	yyparse();
++    /* NOTREACHED */
++}
++
++static RETSIGTYPE
++lostconn(int signo)
++{
++
++	if (debug)
++		syslog(LOG_DEBUG, "lost connection");
++	dologout(-1);
++}
++
++/*
++ * Helper function for sgetpwnam().
++ */
++static char *
++sgetsave(char *s)
++{
++	char *new = strdup(s);
++
++	if (new == NULL) {
++		perror_reply(421, "Local resource failure: malloc");
++		dologout(1);
++		/* NOTREACHED */
++	}
++	return new;
++}
++
++/*
++ * Save the result of a getpwnam.  Used for USER command, since
++ * the data returned must not be clobbered by any other command
++ * (e.g., globbing).
++ */
++static struct passwd *
++sgetpwnam(char *name)
++{
++	static struct passwd save;
++	struct passwd *p;
++
++	if ((p = k_getpwnam(name)) == NULL)
++		return (p);
++	if (save.pw_name) {
++		free(save.pw_name);
++		free(save.pw_passwd);
++		free(save.pw_gecos);
++		free(save.pw_dir);
++		free(save.pw_shell);
++	}
++	save = *p;
++	save.pw_name = sgetsave(p->pw_name);
++	save.pw_passwd = sgetsave(p->pw_passwd);
++	save.pw_gecos = sgetsave(p->pw_gecos);
++	save.pw_dir = sgetsave(p->pw_dir);
++	save.pw_shell = sgetsave(p->pw_shell);
++	return (&save);
++}
++
++static int login_attempts;	/* number of failed login attempts */
++static int askpasswd;		/* had user command, ask for passwd */
++static char curname[10];	/* current USER name */
++#ifdef OTP
++OtpContext otp_ctx;
++#endif
++
++/*
++ * USER command.
++ * Sets global passwd pointer pw if named account exists and is acceptable;
++ * sets askpasswd if a PASS command is expected.  If logged in previously,
++ * need to reset state.  If name is "ftp" or "anonymous", the name is not in
++ * _PATH_FTPUSERS, and ftp account exists, set guest and pw, then just return.
++ * If account doesn't exist, ask for passwd anyway.  Otherwise, check user
++ * requesting login privileges.  Disallow anyone who does not have a standard
++ * shell as returned by getusershell().  Disallow anyone mentioned in the file
++ * _PATH_FTPUSERS to allow people such as root and uucp to be avoided.
++ */
++void
++user(char *name)
++{
++	char *cp, *shell;
++
++	if(auth_level == 0 && !sec_complete){
++	    reply(530, "No login allowed without authorization.");
++	    return;
++	}
++
++	if (logged_in) {
++		if (guest) {
++			reply(530, "Can't change user from guest login.");
++			return;
++		} else if (dochroot) {
++			reply(530, "Can't change user from chroot user.");
++			return;
++		}
++		end_login();
++	}
++
++	guest = 0;
++	if (strcmp(name, "ftp") == 0 || strcmp(name, "anonymous") == 0) {
++	    if ((auth_level & AUTH_FTP) == 0 ||
++		checkaccess("ftp") || 
++		checkaccess("anonymous"))
++		reply(530, "User %s access denied.", name);
++	    else if ((pw = sgetpwnam("ftp")) != NULL) {
++		guest = 1;
++		defumask = guest_umask;	/* paranoia for incoming */
++		askpasswd = 1;
++		reply(331, "Guest login ok, type your name as password.");
++	    } else
++		reply(530, "User %s unknown.", name);
++	    if (!askpasswd && logging) {
++		char data_addr[256];
++
++		if (inet_ntop (his_addr->sa_family,
++			       socket_get_address(his_addr),
++			       data_addr, sizeof(data_addr)) == NULL)
++			strlcpy (data_addr, "unknown address",
++					 sizeof(data_addr));
++
++		syslog(LOG_NOTICE,
++		       "ANONYMOUS FTP LOGIN REFUSED FROM %s(%s)",
++		       remotehost, data_addr);
++	    }
++	    return;
++	}
++	if((auth_level & AUTH_PLAIN) == 0 && !sec_complete){
++	    reply(530, "Only authorized and anonymous login allowed.");
++	    return;
++	}
++	if ((pw = sgetpwnam(name))) {
++		if ((shell = pw->pw_shell) == NULL || *shell == 0)
++			shell = _PATH_BSHELL;
++		while ((cp = getusershell()) != NULL)
++			if (strcmp(cp, shell) == 0)
++				break;
++		endusershell();
++
++		if (cp == NULL || checkaccess(name)) {
++			reply(530, "User %s access denied.", name);
++			if (logging) {
++				char data_addr[256];
++
++				if (inet_ntop (his_addr->sa_family,
++					       socket_get_address(his_addr),
++					       data_addr,
++					       sizeof(data_addr)) == NULL)
++					strlcpy (data_addr,
++							 "unknown address",
++							 sizeof(data_addr));
++
++				syslog(LOG_NOTICE,
++				       "FTP LOGIN REFUSED FROM %s(%s), %s",
++				       remotehost,
++				       data_addr,
++				       name);
++			}
++			pw = (struct passwd *) NULL;
++			return;
++		}
++	}
++	if (logging)
++	    strlcpy(curname, name, sizeof(curname));
++	if(sec_complete) {
++	    if(sec_userok(name) == 0)
++		do_login(232, name);
++	    else
++		reply(530, "User %s access denied.", name);
++	} else {
++		char ss[256];
++
++#ifdef OTP
++		if (otp_challenge(&otp_ctx, name, ss, sizeof(ss)) == 0) {
++			reply(331, "Password %s for %s required.",
++			      ss, name);
++			askpasswd = 1;
++		} else
++#endif
++		if ((auth_level & AUTH_OTP) == 0) {
++		    reply(331, "Password required for %s.", name);
++		    askpasswd = 1;
++		} else {
++		    char *s;
++		    
++#ifdef OTP
++		    if ((s = otp_error (&otp_ctx)) != NULL)
++			lreply(530, "OTP: %s", s);
++#endif
++		    reply(530,
++			  "Only authorized, anonymous"
++#ifdef OTP
++			  " and OTP "
++#endif
++			  "login allowed.");
++		}
++
++	}
++	/*
++	 * Delay before reading passwd after first failed
++	 * attempt to slow down passwd-guessing programs.
++	 */
++	if (login_attempts)
++		sleep(login_attempts);
++}
++
++/*
++ * Check if a user is in the file "fname"
++ */
++static int
++checkuser(char *fname, char *name)
++{
++	FILE *fd;
++	int found = 0;
++	char *p, line[BUFSIZ];
++
++	if ((fd = fopen(fname, "r")) != NULL) {
++		while (fgets(line, sizeof(line), fd) != NULL)
++			if ((p = strchr(line, '\n')) != NULL) {
++				*p = '\0';
++				if (line[0] == '#')
++					continue;
++				if (strcmp(line, name) == 0) {
++					found = 1;
++					break;
++				}
++			}
++		fclose(fd);
++	}
++	return (found);
++}
++
++
++/*
++ * Determine whether a user has access, based on information in 
++ * _PATH_FTPUSERS. The users are listed one per line, with `allow'
++ * or `deny' after the username. If anything other than `allow', or
++ * just nothing, is given after the username, `deny' is assumed.
++ *
++ * If the user is not found in the file, but the pseudo-user `*' is,
++ * the permission is taken from that line.
++ *
++ * This preserves the old semantics where if a user was listed in the
++ * file he was denied, otherwise he was allowed.
++ *
++ * Return 1 if the user is denied, or 0 if he is allowed.  */
++
++static int
++match(const char *pattern, const char *string)
++{
++    return fnmatch(pattern, string, FNM_NOESCAPE);
++}
++
++static int
++checkaccess(char *name)
++{
++#define ALLOWED		0
++#define	NOT_ALLOWED	1
++    FILE *fd;
++    int allowed = ALLOWED;
++    char *user, *perm, line[BUFSIZ];
++    char *foo;
++    
++    fd = fopen(_PATH_FTPUSERS, "r");
++    
++    if(fd == NULL)
++	return allowed;
++
++    while (fgets(line, sizeof(line), fd) != NULL)  {
++	foo = NULL;
++	user = strtok_r(line, " \t\n", &foo);
++	if (user == NULL || user[0] == '#')
++	    continue;
++	perm = strtok_r(NULL, " \t\n", &foo);
++	if (match(user, name) == 0){
++	    if(perm && strcmp(perm, "allow") == 0)
++		allowed = ALLOWED;
++	    else
++		allowed = NOT_ALLOWED;
++	    break;
++	}
++    }
++    fclose(fd);
++    return allowed;
++}
++#undef	ALLOWED
++#undef	NOT_ALLOWED
++
++
++int do_login(int code, char *passwd)
++{
++    login_attempts = 0;		/* this time successful */
++    if (setegid((gid_t)pw->pw_gid) < 0) {
++	reply(550, "Can't set gid.");
++	return -1;
++    }
++    initgroups(pw->pw_name, pw->pw_gid);
++
++    /* open wtmp before chroot */
++    ftpd_logwtmp(ttyline, pw->pw_name, remotehost);
++    logged_in = 1;
++
++    dochroot = checkuser(_PATH_FTPCHROOT, pw->pw_name);
++    if (guest) {
++	/*
++	 * We MUST do a chdir() after the chroot. Otherwise
++	 * the old current directory will be accessible as "."
++	 * outside the new root!
++	 */
++	if (chroot(pw->pw_dir) < 0 || chdir("/") < 0) {
++	    reply(550, "Can't set guest privileges.");
++	    return -1;
++	}
++    } else if (dochroot) {
++	if (chroot(pw->pw_dir) < 0 || chdir("/") < 0) {
++	    reply(550, "Can't change root.");
++	    return -1;
++	}
++    } else if (chdir(pw->pw_dir) < 0) {
++	if (chdir("/") < 0) {
++	    reply(530, "User %s: can't change directory to %s.",
++		  pw->pw_name, pw->pw_dir);
++	    return -1;
++	} else
++	    lreply(code, "No directory! Logging in with home=/");
++    }
++    if (seteuid((uid_t)pw->pw_uid) < 0) {
++	reply(550, "Can't set uid.");
++	return -1;
++    }
++
++    if(use_builtin_ls == -1) {
++	struct stat st;
++	/* if /bin/ls exist and is a regular file, use it, otherwise
++           use built-in ls */
++	if(stat("/bin/ls", &st) == 0 &&
++	   S_ISREG(st.st_mode))
++	    use_builtin_ls = 0;
++	else
++	    use_builtin_ls = 1;
++    }
++
++    /*
++     * Display a login message, if it exists.
++     * N.B. reply(code,) must follow the message.
++     */
++    show_file(_PATH_FTPLOGINMESG, code);
++    if(show_file(_PATH_ISSUE_NET, code) != 0)
++	show_file(_PATH_ISSUE, code);
++    if (guest) {
++	reply(code, "Guest login ok, access restrictions apply.");
++#ifdef HAVE_SETPROCTITLE
++	snprintf (proctitle, sizeof(proctitle),
++		  "%s: anonymous/%s",
++		  remotehost,
++		  passwd);
++	setproctitle("%s", proctitle);
++#endif /* HAVE_SETPROCTITLE */
++	if (logging) {
++	    char data_addr[256];
++
++	    if (inet_ntop (his_addr->sa_family,
++			   socket_get_address(his_addr),
++			   data_addr, sizeof(data_addr)) == NULL)
++		strlcpy (data_addr, "unknown address",
++				 sizeof(data_addr));
++
++	    syslog(LOG_INFO, "ANONYMOUS FTP LOGIN FROM %s(%s), %s",
++		   remotehost, 
++		   data_addr,
++		   passwd);
++	}
++    } else {
++	reply(code, "User %s logged in.", pw->pw_name);
++#ifdef HAVE_SETPROCTITLE
++	snprintf(proctitle, sizeof(proctitle), "%s: %s", remotehost, pw->pw_name);
++	setproctitle("%s", proctitle);
++#endif /* HAVE_SETPROCTITLE */
++	if (logging) {
++	    char data_addr[256];
++
++	    if (inet_ntop (his_addr->sa_family,
++			   socket_get_address(his_addr),
++			   data_addr, sizeof(data_addr)) == NULL)
++		strlcpy (data_addr, "unknown address",
++				 sizeof(data_addr));
++
++	    syslog(LOG_INFO, "FTP LOGIN FROM %s(%s) as %s",
++		   remotehost,
++		   data_addr,
++		   pw->pw_name);
++	}
++    }
++    umask(defumask);
++    return 0;
++}
++
++/*
++ * Terminate login as previous user, if any, resetting state;
++ * used when USER command is given or login fails.
++ */
++static void
++end_login(void)
++{
++
++	seteuid((uid_t)0);
++	if (logged_in)
++		ftpd_logwtmp(ttyline, "", "");
++	pw = NULL;
++	logged_in = 0;
++	guest = 0;
++	dochroot = 0;
++}
++
++#ifdef KRB5
++static int
++krb5_verify(struct passwd *pwd, char *passwd)
++{
++   krb5_context context;  
++   krb5_ccache  id;
++   krb5_principal princ;
++   krb5_error_code ret;
++  
++   ret = krb5_init_context(&context);
++   if(ret)
++        return ret;
++
++  ret = krb5_parse_name(context, pwd->pw_name, &princ);
++  if(ret){
++        krb5_free_context(context);
++        return ret;
++  }
++  ret = krb5_cc_gen_new(context, &krb5_mcc_ops, &id);
++  if(ret){
++        krb5_free_principal(context, princ);
++        krb5_free_context(context);
++        return ret;
++  }
++  ret = krb5_verify_user(context,
++                         princ,
++                         id,
++                         passwd,
++                         1,
++                         NULL);
++  krb5_free_principal(context, princ);
++#ifdef KRB4
++  if (k_hasafs()) {
++      k_setpag();
++      krb5_afslog_uid_home(context, id,NULL, NULL,pwd->pw_uid, pwd->pw_dir);
++  }
++#endif /* KRB4 */
++  krb5_cc_destroy(context, id);
++  krb5_free_context (context);
++  if(ret) 
++      return ret;
++  return 0;
++}
++#endif /* KRB5 */
++
++void
++pass(char *passwd)
++{
++	int rval;
++
++	/* some clients insists on sending a password */
++	if (logged_in && askpasswd == 0){
++	    reply(230, "Password not necessary");
++	    return;
++	}
++
++	if (logged_in || askpasswd == 0) {
++		reply(503, "Login with USER first.");
++		return;
++	}
++	askpasswd = 0;
++	rval = 1;
++	if (!guest) {		/* "ftp" is only account allowed no password */
++		if (pw == NULL)
++			rval = 1;	/* failure below */
++#ifdef OTP
++		else if (otp_verify_user (&otp_ctx, passwd) == 0) {
++		    rval = 0;
++		}
++#endif
++		else if((auth_level & AUTH_OTP) == 0) {
++#ifdef KRB5
++		    rval = krb5_verify(pw, passwd);
++#endif
++#ifdef KRB4
++		    if (rval) {
++			char realm[REALM_SZ];
++			if((rval = krb_get_lrealm(realm, 1)) == KSUCCESS)
++			    rval = krb_verify_user(pw->pw_name,
++						   "", realm, 
++						   passwd, 
++						   KRB_VERIFY_SECURE, NULL);
++			if (rval == KSUCCESS ) {
++			    chown (tkt_string(), pw->pw_uid, pw->pw_gid);
++			    if(k_hasafs())
++				krb_afslog(0, 0);
++			}
++		    }
++#endif
++		    if (rval)
++			rval = unix_verify_user(pw->pw_name, passwd);
++		} else {
++		    char *s;
++		    
++#ifdef OTP
++		    if ((s = otp_error(&otp_ctx)) != NULL)
++			lreply(530, "OTP: %s", s);
++#endif
++		}
++		memset (passwd, 0, strlen(passwd));
++
++		/*
++		 * If rval == 1, the user failed the authentication
++		 * check above.  If rval == 0, either Kerberos or
++		 * local authentication succeeded.
++		 */
++		if (rval) {
++			char data_addr[256];
++
++			if (inet_ntop (his_addr->sa_family,
++				       socket_get_address(his_addr),
++				       data_addr, sizeof(data_addr)) == NULL)
++				strlcpy (data_addr, "unknown address",
++						 sizeof(data_addr));
++
++			reply(530, "Login incorrect.");
++			if (logging)
++				syslog(LOG_NOTICE,
++				    "FTP LOGIN FAILED FROM %s(%s), %s",
++				       remotehost,
++				       data_addr,
++				       curname);
++			pw = NULL;
++			if (login_attempts++ >= 5) {
++				syslog(LOG_NOTICE,
++				       "repeated login failures from %s(%s)",
++				       remotehost,
++				       data_addr);
++				exit(0);
++			}
++			return;
++		}
++	}
++	if(!do_login(230, passwd))
++	  return;
++	
++	/* Forget all about it... */
++	end_login();
++}
++
++void
++retrieve(const char *cmd, char *name)
++{
++	FILE *fin = NULL, *dout;
++	struct stat st;
++	int (*closefunc) (FILE *);
++	char line[BUFSIZ];
++
++
++	if (cmd == 0) {
++		fin = fopen(name, "r");
++		closefunc = fclose;
++		st.st_size = 0;
++		if(fin == NULL){
++		    int save_errno = errno;
++		    struct cmds {
++			const char *ext;
++			const char *cmd;
++		        const char *rev_cmd;
++		    } cmds[] = {
++			{".tar", "/bin/gtar cPf - %s", NULL},
++			{".tar.gz", "/bin/gtar zcPf - %s", NULL},
++			{".tar.Z", "/bin/gtar ZcPf - %s", NULL},
++			{".gz", "/bin/gzip -c -- %s", "/bin/gzip -c -d -- %s"},
++			{".Z", "/bin/compress -c -- %s", "/bin/uncompress -c -- %s"},
++			{NULL, NULL}
++		    };
++		    struct cmds *p;
++		    for(p = cmds; p->ext; p++){
++			char *tail = name + strlen(name) - strlen(p->ext);
++			char c = *tail;
++			
++			if(strcmp(tail, p->ext) == 0 &&
++			   (*tail  = 0) == 0 &&
++			   access(name, R_OK) == 0){
++			    snprintf (line, sizeof(line), p->cmd, name);
++			    *tail  = c;
++			    break;
++			}
++			*tail = c;
++			if (p->rev_cmd != NULL) {
++			    char *ext;
++
++			    asprintf(&ext, "%s%s", name, p->ext);
++			    if (ext != NULL) { 
++  			        if (access(ext, R_OK) == 0) {
++				    snprintf (line, sizeof(line),
++					      p->rev_cmd, ext);
++				    free(ext);
++				    break;
++				}
++			        free(ext);
++			    }
++			}
++			
++		    }
++		    if(p->ext){
++			fin = ftpd_popen(line, "r", 0, 0);
++			closefunc = ftpd_pclose;
++			st.st_size = -1;
++			cmd = line;
++		    } else
++			errno = save_errno;
++		}
++	} else {
++		snprintf(line, sizeof(line), cmd, name);
++		name = line;
++		fin = ftpd_popen(line, "r", 1, 0);
++		closefunc = ftpd_pclose;
++		st.st_size = -1;
++	}
++	if (fin == NULL) {
++		if (errno != 0) {
++			perror_reply(550, name);
++			if (cmd == 0) {
++				LOGCMD("get", name);
++			}
++		}
++		return;
++	}
++	byte_count = -1;
++	if (cmd == 0){
++	    if(fstat(fileno(fin), &st) < 0 || !S_ISREG(st.st_mode)) {
++		reply(550, "%s: not a plain file.", name);
++		goto done;
++	    }
++	}
++	if (restart_point) {
++		if (type == TYPE_A) {
++			off_t i, n;
++			int c;
++
++			n = restart_point;
++			i = 0;
++			while (i++ < n) {
++				if ((c=getc(fin)) == EOF) {
++					perror_reply(550, name);
++					goto done;
++				}
++				if (c == '\n')
++					i++;
++			}
++		} else if (lseek(fileno(fin), restart_point, SEEK_SET) < 0) {
++			perror_reply(550, name);
++			goto done;
++		}
++	}
++	dout = dataconn(name, st.st_size, "w");
++	if (dout == NULL)
++		goto done;
++	set_buffer_size(fileno(dout), 0);
++	send_data(fin, dout);
++	fclose(dout);
++	data = -1;
++	pdata = -1;
++done:
++	if (cmd == 0)
++		LOGBYTES("get", name, byte_count);
++	(*closefunc)(fin);
++}
++
++/* filename sanity check */
++
++int 
++filename_check(char *filename)
++{
++    char *p;
++
++    p = strrchr(filename, '/');
++    if(p)
++	filename = p + 1;
++
++    p = filename;
++
++    if(isalnum(*p)){
++	p++;
++	while(*p && (isalnum(*p) || strchr(good_chars, *p)))
++	    p++;
++	if(*p == '\0')
++	    return 0;
++    }
++    lreply(553, "\"%s\" is not an acceptable filename.", filename);
++    lreply(553, "The filename must start with an alphanumeric "
++	   "character and must only");
++    reply(553, "consist of alphanumeric characters or any of the following: %s", 
++	  good_chars);
++    return 1;
++}
++
++void
++do_store(char *name, char *mode, int unique)
++{
++	FILE *fout, *din;
++	struct stat st;
++	int (*closefunc) (FILE *);
++
++	if(guest && filename_check(name))
++	    return;
++	if (unique && stat(name, &st) == 0 &&
++	    (name = gunique(name)) == NULL) {
++		LOGCMD(*mode == 'w' ? "put" : "append", name);
++		return;
++	}
++
++	if (restart_point)
++		mode = "r+";
++	fout = fopen(name, mode);
++	closefunc = fclose;
++	if (fout == NULL) {
++		perror_reply(553, name);
++		LOGCMD(*mode == 'w' ? "put" : "append", name);
++		return;
++	}
++	byte_count = -1;
++	if (restart_point) {
++		if (type == TYPE_A) {
++			off_t i, n;
++			int c;
++
++			n = restart_point;
++			i = 0;
++			while (i++ < n) {
++				if ((c=getc(fout)) == EOF) {
++					perror_reply(550, name);
++					goto done;
++				}
++				if (c == '\n')
++					i++;
++			}
++			/*
++			 * We must do this seek to "current" position
++			 * because we are changing from reading to
++			 * writing.
++			 */
++			if (fseek(fout, 0L, SEEK_CUR) < 0) {
++				perror_reply(550, name);
++				goto done;
++			}
++		} else if (lseek(fileno(fout), restart_point, SEEK_SET) < 0) {
++			perror_reply(550, name);
++			goto done;
++		}
++	}
++	din = dataconn(name, (off_t)-1, "r");
++	if (din == NULL)
++		goto done;
++	set_buffer_size(fileno(din), 1);
++	if (receive_data(din, fout) == 0) {
++	    if((*closefunc)(fout) < 0)
++		perror_reply(552, name);
++	    else {
++		if (unique)
++			reply(226, "Transfer complete (unique file name:%s).",
++			    name);
++		else
++			reply(226, "Transfer complete.");
++	    }
++	} else
++	    (*closefunc)(fout);
++	fclose(din);
++	data = -1;
++	pdata = -1;
++done:
++	LOGBYTES(*mode == 'w' ? "put" : "append", name, byte_count);
++}
++
++static FILE *
++getdatasock(const char *mode)
++{
++	int s, t, tries;
++
++	if (data >= 0)
++		return (fdopen(data, mode));
++	seteuid(0);
++	s = socket(ctrl_addr->sa_family, SOCK_STREAM, 0);
++	if (s < 0)
++		goto bad;
++	socket_set_reuseaddr (s, 1);
++	/* anchor socket to avoid multi-homing problems */
++	socket_set_address_and_port (data_source,
++				     socket_get_address (ctrl_addr),
++				     socket_get_port (data_source));
++
++	for (tries = 1; ; tries++) {
++		if (bind(s, data_source,
++			 socket_sockaddr_size (data_source)) >= 0)
++			break;
++		if (errno != EADDRINUSE || tries > 10)
++			goto bad;
++		sleep(tries);
++	}
++	seteuid(pw->pw_uid);
++#ifdef IPTOS_THROUGHPUT
++	socket_set_tos (s, IPTOS_THROUGHPUT);
++#endif
++	return (fdopen(s, mode));
++bad:
++	/* Return the real value of errno (close may change it) */
++	t = errno;
++	seteuid((uid_t)pw->pw_uid);
++	close(s);
++	errno = t;
++	return (NULL);
++}
++
++static int
++accept_with_timeout(int socket, 
++		    struct sockaddr *address,
++		    size_t *address_len,
++		    struct timeval *timeout)
++{
++    int ret;
++    fd_set rfd;
++    FD_ZERO(&rfd);
++    FD_SET(socket, &rfd);
++    ret = select(socket + 1, &rfd, NULL, NULL, timeout);
++    if(ret < 0)
++	return ret;
++    if(ret == 0) {
++	errno = ETIMEDOUT;
++	return -1;
++    }
++    return accept(socket, address, address_len);
++}
++
++static FILE *
++dataconn(const char *name, off_t size, const char *mode)
++{
++	char sizebuf[32];
++	FILE *file;
++	int retry = 0;
++
++	file_size = size;
++	byte_count = 0;
++	if (size >= 0)
++	    snprintf(sizebuf, sizeof(sizebuf), " (%ld bytes)", (long)size);
++	else
++	    *sizebuf = '\0';
++	if (pdata >= 0) {
++		struct sockaddr_storage from_ss;
++		struct sockaddr *from = (struct sockaddr *)&from_ss;
++		struct timeval timeout;
++		int s;
++		socklen_t fromlen = sizeof(from_ss);
++
++		timeout.tv_sec = 15;
++		timeout.tv_usec = 0;
++		s = accept_with_timeout(pdata, from, &fromlen, &timeout);
++		if (s < 0) {
++			reply(425, "Can't open data connection.");
++			close(pdata);
++			pdata = -1;
++			return (NULL);
++		}
++		close(pdata);
++		pdata = s;
++#if defined(IP_TOS) && defined(HAVE_SETSOCKOPT)
++		{
++		    int tos = IPTOS_THROUGHPUT;
++		    
++		    setsockopt(s, IPPROTO_IP, IP_TOS, (void *)&tos,
++			       sizeof(tos));
++		}
++#endif
++		reply(150, "Opening %s mode data connection for '%s'%s.",
++		     type == TYPE_A ? "ASCII" : "BINARY", name, sizebuf);
++		return (fdopen(pdata, mode));
++	}
++	if (data >= 0) {
++		reply(125, "Using existing data connection for '%s'%s.",
++		    name, sizebuf);
++		usedefault = 1;
++		return (fdopen(data, mode));
++	}
++	if (usedefault)
++		data_dest = his_addr;
++	usedefault = 1;
++	file = getdatasock(mode);
++	if (file == NULL) {
++		char data_addr[256];
++
++		if (inet_ntop (data_source->sa_family,
++			       socket_get_address(data_source),
++			       data_addr, sizeof(data_addr)) == NULL)
++			strlcpy (data_addr, "unknown address",
++					 sizeof(data_addr));
++
++		reply(425, "Can't create data socket (%s,%d): %s.",
++		      data_addr,
++		      socket_get_port (data_source),
++		      strerror(errno));
++		return (NULL);
++	}
++	data = fileno(file);
++	while (connect(data, data_dest,
++		       socket_sockaddr_size(data_dest)) < 0) {
++		if (errno == EADDRINUSE && retry < swaitmax) {
++			sleep(swaitint);
++			retry += swaitint;
++			continue;
++		}
++		perror_reply(425, "Can't build data connection");
++		fclose(file);
++		data = -1;
++		return (NULL);
++	}
++	reply(150, "Opening %s mode data connection for '%s'%s.",
++	     type == TYPE_A ? "ASCII" : "BINARY", name, sizebuf);
++	return (file);
++}
++
++/*
++ * Tranfer the contents of "instr" to "outstr" peer using the appropriate
++ * encapsulation of the data subject * to Mode, Structure, and Type.
++ *
++ * NB: Form isn't handled.
++ */
++static void
++send_data(FILE *instr, FILE *outstr)
++{
++	int c, cnt, filefd, netfd;
++	static char *buf;
++	static size_t bufsize;
++
++	transflag++;
++	if (setjmp(urgcatch)) {
++		transflag = 0;
++		return;
++	}
++	switch (type) {
++
++	case TYPE_A:
++	    while ((c = getc(instr)) != EOF) {
++		byte_count++;
++		if(c == '\n')
++		    sec_putc('\r', outstr);
++		sec_putc(c, outstr);
++	    }
++	    sec_fflush(outstr);
++	    transflag = 0;
++	    if (ferror(instr))
++		goto file_err;
++	    if (ferror(outstr))
++		goto data_err;
++	    reply(226, "Transfer complete.");
++	    return;
++		
++	case TYPE_I:
++	case TYPE_L:
++#if defined(HAVE_MMAP) && !defined(NO_MMAP)
++#ifndef MAP_FAILED
++#define MAP_FAILED (-1)
++#endif
++	    {
++		struct stat st;
++		char *chunk;
++		int in = fileno(instr);
++		if(fstat(in, &st) == 0 && S_ISREG(st.st_mode) 
++		   && st.st_size > 0) {
++		    /*
++		     * mmap zero bytes has potential of loosing, don't do it.
++		     */
++		    chunk = mmap(0, st.st_size, PROT_READ,
++				 MAP_SHARED, in, 0);
++		    if((void *)chunk != (void *)MAP_FAILED) {
++			cnt = st.st_size - restart_point;
++			sec_write(fileno(outstr), chunk + restart_point, cnt);
++			if (munmap(chunk, st.st_size) < 0)
++			    warn ("munmap");
++			sec_fflush(outstr);
++			byte_count = cnt;
++			transflag = 0;
++		    }
++		}
++	    }
++#endif
++	if(transflag) {
++	    struct stat st;
++
++	    netfd = fileno(outstr);
++	    filefd = fileno(instr);
++	    buf = alloc_buffer (buf, &bufsize,
++				fstat(filefd, &st) >= 0 ? &st : NULL);
++	    if (buf == NULL) {
++		transflag = 0;
++		perror_reply(451, "Local resource failure: malloc");
++		return;
++	    }
++	    while ((cnt = read(filefd, buf, bufsize)) > 0 &&
++		   sec_write(netfd, buf, cnt) == cnt)
++		byte_count += cnt;
++	    sec_fflush(outstr); /* to end an encrypted stream */
++	    transflag = 0;
++	    if (cnt != 0) {
++		if (cnt < 0)
++		    goto file_err;
++		goto data_err;
++	    }
++	}
++	reply(226, "Transfer complete.");
++	return;
++	default:
++	    transflag = 0;
++	    reply(550, "Unimplemented TYPE %d in send_data", type);
++	    return;
++	}
++
++data_err:
++	transflag = 0;
++	perror_reply(426, "Data connection");
++	return;
++
++file_err:
++	transflag = 0;
++	perror_reply(551, "Error on input file");
++}
++
++/*
++ * Transfer data from peer to "outstr" using the appropriate encapulation of
++ * the data subject to Mode, Structure, and Type.
++ *
++ * N.B.: Form isn't handled.
++ */
++static int
++receive_data(FILE *instr, FILE *outstr)
++{
++    int cnt, bare_lfs = 0;
++    static char *buf;
++    static size_t bufsize;
++    struct stat st;
++
++    transflag++;
++    if (setjmp(urgcatch)) {
++	transflag = 0;
++	return (-1);
++    }
++
++    buf = alloc_buffer (buf, &bufsize,
++			fstat(fileno(outstr), &st) >= 0 ? &st : NULL);
++    if (buf == NULL) {
++	transflag = 0;
++	perror_reply(451, "Local resource failure: malloc");
++	return -1;
++    }
++    
++    switch (type) {
++
++    case TYPE_I:
++    case TYPE_L:
++	while ((cnt = sec_read(fileno(instr), buf, bufsize)) > 0) {
++	    if (write(fileno(outstr), buf, cnt) != cnt)
++		goto file_err;
++	    byte_count += cnt;
++	}
++	if (cnt < 0)
++	    goto data_err;
++	transflag = 0;
++	return (0);
++
++    case TYPE_E:
++	reply(553, "TYPE E not implemented.");
++	transflag = 0;
++	return (-1);
++
++    case TYPE_A:
++    {
++	char *p, *q;
++	int cr_flag = 0;
++	while ((cnt = sec_read(fileno(instr),
++				buf + cr_flag, 
++				bufsize - cr_flag)) > 0){
++	    byte_count += cnt;
++	    cnt += cr_flag;
++	    cr_flag = 0;
++	    for(p = buf, q = buf; p < buf + cnt;) {
++		if(*p == '\n')
++		    bare_lfs++;
++		if(*p == '\r') {
++		    if(p == buf + cnt - 1){
++			cr_flag = 1;
++			p++;
++			continue;
++		    }else if(p[1] == '\n'){
++			*q++ = '\n';
++			p += 2;
++			continue;
++		    }
++		}
++		*q++ = *p++;
++	    }
++	    fwrite(buf, q - buf, 1, outstr);
++	    if(cr_flag)
++		buf[0] = '\r';
++	}
++	if(cr_flag)
++	    putc('\r', outstr);
++	fflush(outstr);
++	if (ferror(instr))
++	    goto data_err;
++	if (ferror(outstr))
++	    goto file_err;
++	transflag = 0;
++	if (bare_lfs) {
++	    lreply(226, "WARNING! %d bare linefeeds received in ASCII mode\r\n"
++		   "    File may not have transferred correctly.\r\n",
++		   bare_lfs);
++	}
++	return (0);
++    }
++    default:
++	reply(550, "Unimplemented TYPE %d in receive_data", type);
++	transflag = 0;
++	return (-1);
++    }
++	
++data_err:
++    transflag = 0;
++    perror_reply(426, "Data Connection");
++    return (-1);
++	
++file_err:
++    transflag = 0;
++    perror_reply(452, "Error writing file");
++    return (-1);
++}
++
++void
++statfilecmd(char *filename)
++{
++	FILE *fin;
++	int c;
++	char line[LINE_MAX];
++
++	snprintf(line, sizeof(line), "/bin/ls -la -- %s", filename);
++	fin = ftpd_popen(line, "r", 1, 0);
++	lreply(211, "status of %s:", filename);
++	while ((c = getc(fin)) != EOF) {
++		if (c == '\n') {
++			if (ferror(stdout)){
++				perror_reply(421, "control connection");
++				ftpd_pclose(fin);
++				dologout(1);
++				/* NOTREACHED */
++			}
++			if (ferror(fin)) {
++				perror_reply(551, filename);
++				ftpd_pclose(fin);
++				return;
++			}
++			putc('\r', stdout);
++		}
++		putc(c, stdout);
++	}
++	ftpd_pclose(fin);
++	reply(211, "End of Status");
++}
++
++void
++statcmd(void)
++{
++#if 0
++	struct sockaddr_in *sin;
++	u_char *a, *p;
++
++	lreply(211, "%s FTP server (%s) status:", hostname, version);
++	printf("     %s\r\n", version);
++	printf("     Connected to %s", remotehost);
++	if (!isdigit(remotehost[0]))
++		printf(" (%s)", inet_ntoa(his_addr.sin_addr));
++	printf("\r\n");
++	if (logged_in) {
++		if (guest)
++			printf("     Logged in anonymously\r\n");
++		else
++			printf("     Logged in as %s\r\n", pw->pw_name);
++	} else if (askpasswd)
++		printf("     Waiting for password\r\n");
++	else
++		printf("     Waiting for user name\r\n");
++	printf("     TYPE: %s", typenames[type]);
++	if (type == TYPE_A || type == TYPE_E)
++		printf(", FORM: %s", formnames[form]);
++	if (type == TYPE_L)
++#if NBBY == 8
++		printf(" %d", NBBY);
++#else
++		printf(" %d", bytesize);	/* need definition! */
++#endif
++	printf("; STRUcture: %s; transfer MODE: %s\r\n",
++	    strunames[stru], modenames[mode]);
++	if (data != -1)
++		printf("     Data connection open\r\n");
++	else if (pdata != -1) {
++		printf("     in Passive mode");
++		sin = &pasv_addr;
++		goto printaddr;
++	} else if (usedefault == 0) {
++		printf("     PORT");
++		sin = &data_dest;
++printaddr:
++		a = (u_char *) &sin->sin_addr;
++		p = (u_char *) &sin->sin_port;
++#define UC(b) (((int) b) & 0xff)
++		printf(" (%d,%d,%d,%d,%d,%d)\r\n", UC(a[0]),
++			UC(a[1]), UC(a[2]), UC(a[3]), UC(p[0]), UC(p[1]));
++#undef UC
++	} else
++		printf("     No data connection\r\n");
++#endif
++	reply(211, "End of status");
++}
++
++void
++fatal(char *s)
++{
++
++	reply(451, "Error in server: %s\n", s);
++	reply(221, "Closing connection due to server error.");
++	dologout(0);
++	/* NOTREACHED */
++}
++
++static void
++int_reply(int, char *, const char *, va_list)
++#ifdef __GNUC__
++__attribute__ ((format (printf, 3, 0)))
++#endif
++;
++
++static void
++int_reply(int n, char *c, const char *fmt, va_list ap)
++{
++    char buf[10240];
++    char *p;
++    p=buf;
++    if(n){
++	snprintf(p, sizeof(buf), "%d%s", n, c);
++	p+=strlen(p);
++    }
++    vsnprintf(p, sizeof(buf) - strlen(p), fmt, ap);
++    p+=strlen(p);
++    snprintf(p, sizeof(buf) - strlen(p), "\r\n");
++    p+=strlen(p);
++    sec_fprintf(stdout, "%s", buf);
++    fflush(stdout);
++    if (debug)
++	syslog(LOG_DEBUG, "<--- %s- ", buf);
++}
++
++void
++reply(int n, const char *fmt, ...)
++{
++  va_list ap;
++  va_start(ap, fmt);
++  int_reply(n, " ", fmt, ap);
++  delete_ftp_command();
++  va_end(ap);
++}
++
++void
++lreply(int n, const char *fmt, ...)
++{
++  va_list ap;
++  va_start(ap, fmt);
++  int_reply(n, "-", fmt, ap);
++  va_end(ap);
++}
++
++void
++nreply(const char *fmt, ...)
++{
++  va_list ap;
++  va_start(ap, fmt);
++  int_reply(0, NULL, fmt, ap);
++  va_end(ap);
++}
++
++static void
++ack(char *s)
++{
++
++	reply(250, "%s command successful.", s);
++}
++
++void
++nack(char *s)
++{
++
++	reply(502, "%s command not implemented.", s);
++}
++
++/* ARGSUSED */
++void
++yyerror(char *s)
++{
++	char *cp;
++
++	if ((cp = strchr(cbuf,'\n')))
++		*cp = '\0';
++	reply(500, "'%s': command not understood.", cbuf);
++}
++
++void
++do_delete(char *name)
++{
++	struct stat st;
++
++	LOGCMD("delete", name);
++	if (stat(name, &st) < 0) {
++		perror_reply(550, name);
++		return;
++	}
++	if ((st.st_mode&S_IFMT) == S_IFDIR) {
++		if (rmdir(name) < 0) {
++			perror_reply(550, name);
++			return;
++		}
++		goto done;
++	}
++	if (unlink(name) < 0) {
++		perror_reply(550, name);
++		return;
++	}
++done:
++	ack("DELE");
++}
++
++void
++cwd(char *path)
++{
++
++	if (chdir(path) < 0)
++		perror_reply(550, path);
++	else
++		ack("CWD");
++}
++
++void
++makedir(char *name)
++{
++
++	LOGCMD("mkdir", name);
++	if(guest && filename_check(name))
++	    return;
++	if (mkdir(name, 0777) < 0)
++		perror_reply(550, name);
++	else{
++	    if(guest)
++		chmod(name, 0700); /* guest has umask 777 */
++	    reply(257, "MKD command successful.");
++	}
++}
++
++void
++removedir(char *name)
++{
++
++	LOGCMD("rmdir", name);
++	if (rmdir(name) < 0)
++		perror_reply(550, name);
++	else
++		ack("RMD");
++}
++
++void
++pwd(void)
++{
++    char path[MaxPathLen];
++    char *ret;
++
++    /* SunOS has a broken getcwd that does popen(pwd) (!!!), this
++     * failes miserably when running chroot 
++     */
++    ret = getcwd(path, sizeof(path));
++    if (ret == NULL)
++	reply(550, "%s.", strerror(errno));
++    else
++	reply(257, "\"%s\" is current directory.", path);
++}
++
++char *
++renamefrom(char *name)
++{
++	struct stat st;
++
++	if (stat(name, &st) < 0) {
++		perror_reply(550, name);
++		return NULL;
++	}
++	reply(350, "File exists, ready for destination name");
++	return (name);
++}
++
++void
++renamecmd(char *from, char *to)
++{
++
++	LOGCMD2("rename", from, to);
++	if(guest && filename_check(to))
++	    return;
++	if (rename(from, to) < 0)
++		perror_reply(550, "rename");
++	else
++		ack("RNTO");
++}
++
++static void
++dolog(struct sockaddr *sa, int len)
++{
++	getnameinfo_verified (sa, len, remotehost, sizeof(remotehost),
++			      NULL, 0, 0);
++#ifdef HAVE_SETPROCTITLE
++	snprintf(proctitle, sizeof(proctitle), "%s: connected", remotehost);
++	setproctitle("%s", proctitle);
++#endif /* HAVE_SETPROCTITLE */
++
++	if (logging) {
++		char data_addr[256];
++
++		if (inet_ntop (his_addr->sa_family,
++			       socket_get_address(his_addr),
++			       data_addr, sizeof(data_addr)) == NULL)
++			strlcpy (data_addr, "unknown address",
++					 sizeof(data_addr));
++
++
++		syslog(LOG_INFO, "connection from %s(%s)",
++		       remotehost,
++		       data_addr);
++	}
++}
++
++/*
++ * Record logout in wtmp file
++ * and exit with supplied status.
++ */
++void
++dologout(int status)
++{
++    transflag = 0;
++    if (logged_in) {
++	seteuid((uid_t)0);
++	ftpd_logwtmp(ttyline, "", "");
++#ifdef KRB4
++	cond_kdestroy();
++#endif
++    }
++    /* beware of flushing buffers after a SIGPIPE */
++#ifdef XXX
++    exit(status);
++#else
++    _exit(status);
++#endif	
++}
++
++void abor(void)
++{
++}
++
++static void
++myoob(int signo)
++{
++#if 0
++	char *cp;
++#endif
++
++	/* only process if transfer occurring */
++	if (!transflag)
++		return;
++
++	/* This is all XXX */
++	oobflag = 1;
++	/* if the command resulted in a new command, 
++	   parse that as well */
++	do{
++	    yyparse();
++	} while(ftp_command);
++	oobflag = 0;
++
++#if 0 
++	cp = tmpline;
++	if (ftpd_getline(cp, 7) == NULL) {
++		reply(221, "You could at least say goodbye.");
++		dologout(0);
++	}
++	upper(cp);
++	if (strcmp(cp, "ABOR\r\n") == 0) {
++		tmpline[0] = '\0';
++		reply(426, "Transfer aborted. Data connection closed.");
++		reply(226, "Abort successful");
++		longjmp(urgcatch, 1);
++	}
++	if (strcmp(cp, "STAT\r\n") == 0) {
++		if (file_size != (off_t) -1)
++			reply(213, "Status: %ld of %ld bytes transferred",
++			      (long)byte_count,
++			      (long)file_size);
++		else
++			reply(213, "Status: %ld bytes transferred"
++			      (long)byte_count);
++	}
++#endif
++}
++
++/*
++ * Note: a response of 425 is not mentioned as a possible response to
++ *	the PASV command in RFC959. However, it has been blessed as
++ *	a legitimate response by Jon Postel in a telephone conversation
++ *	with Rick Adams on 25 Jan 89.
++ */
++void
++pasv(void)
++{
++	socklen_t len;
++	char *p, *a;
++	struct sockaddr_in *sin;
++
++	if (ctrl_addr->sa_family != AF_INET) {
++		reply(425,
++		      "You cannot do PASV with something that's not IPv4");
++		return;
++	}
++
++	if(pdata != -1)
++	    close(pdata);
++
++	pdata = socket(ctrl_addr->sa_family, SOCK_STREAM, 0);
++	if (pdata < 0) {
++		perror_reply(425, "Can't open passive connection");
++		return;
++	}
++	pasv_addr->sa_family = ctrl_addr->sa_family;
++	socket_set_address_and_port (pasv_addr,
++				     socket_get_address (ctrl_addr),
++				     0);
++	socket_set_portrange(pdata, restricted_data_ports, 
++	    pasv_addr->sa_family); 
++	seteuid(0);
++	if (bind(pdata, pasv_addr, socket_sockaddr_size (pasv_addr)) < 0) {
++		seteuid(pw->pw_uid);
++		goto pasv_error;
++	}
++	seteuid(pw->pw_uid);
++	len = sizeof(pasv_addr_ss);
++	if (getsockname(pdata, pasv_addr, &len) < 0)
++		goto pasv_error;
++	if (listen(pdata, 1) < 0)
++		goto pasv_error;
++	sin = (struct sockaddr_in *)pasv_addr;
++	a = (char *) &sin->sin_addr;
++	p = (char *) &sin->sin_port;
++
++#define UC(b) (((int) b) & 0xff)
++
++	reply(227, "Entering Passive Mode (%d,%d,%d,%d,%d,%d)", UC(a[0]),
++		UC(a[1]), UC(a[2]), UC(a[3]), UC(p[0]), UC(p[1]));
++	return;
++
++pasv_error:
++	close(pdata);
++	pdata = -1;
++	perror_reply(425, "Can't open passive connection");
++	return;
++}
++
++void
++epsv(char *proto)
++{
++	socklen_t len;
++
++	pdata = socket(ctrl_addr->sa_family, SOCK_STREAM, 0);
++	if (pdata < 0) {
++		perror_reply(425, "Can't open passive connection");
++		return;
++	}
++	pasv_addr->sa_family = ctrl_addr->sa_family;
++	socket_set_address_and_port (pasv_addr,
++				     socket_get_address (ctrl_addr),
++				     0);
++	socket_set_portrange(pdata, restricted_data_ports, 
++	    pasv_addr->sa_family); 
++	seteuid(0);
++	if (bind(pdata, pasv_addr, socket_sockaddr_size (pasv_addr)) < 0) {
++		seteuid(pw->pw_uid);
++		goto pasv_error;
++	}
++	seteuid(pw->pw_uid);
++	len = sizeof(pasv_addr_ss);
++	if (getsockname(pdata, pasv_addr, &len) < 0)
++		goto pasv_error;
++	if (listen(pdata, 1) < 0)
++		goto pasv_error;
++
++	reply(229, "Entering Extended Passive Mode (|||%d|)",
++	      ntohs(socket_get_port (pasv_addr)));
++	return;
++
++pasv_error:
++	close(pdata);
++	pdata = -1;
++	perror_reply(425, "Can't open passive connection");
++	return;
++}
++
++void
++eprt(char *str)
++{
++	char *end;
++	char sep;
++	int af;
++	int ret;
++	int port;
++
++	usedefault = 0;
++	if (pdata >= 0) {
++	    close(pdata);
++	    pdata = -1;
++	}
++
++	sep = *str++;
++	if (sep == '\0') {
++		reply(500, "Bad syntax in EPRT");
++		return;
++	}
++	af = strtol (str, &end, 0);
++	if (af == 0 || *end != sep) {
++		reply(500, "Bad syntax in EPRT");
++		return;
++	}
++	str = end + 1;
++	switch (af) {
++#ifdef HAVE_IPV6
++	case 2 :
++	    data_dest->sa_family = AF_INET6;
++	    break;
++#endif		
++	case 1 :
++	    data_dest->sa_family = AF_INET;
++		break;
++	default :
++		reply(522, "Network protocol %d not supported, use (1"
++#ifdef HAVE_IPV6
++		      ",2"
++#endif
++		      ")", af);
++		return;
++	}
++	end = strchr (str, sep);
++	if (end == NULL) {
++		reply(500, "Bad syntax in EPRT");
++		return;
++	}
++	*end = '\0';
++	ret = inet_pton (data_dest->sa_family, str,
++			 socket_get_address (data_dest));
++
++	if (ret != 1) {
++		reply(500, "Bad address syntax in EPRT");
++		return;
++	}
++	str = end + 1;
++	port = strtol (str, &end, 0);
++	if (port == 0 || *end != sep) {
++		reply(500, "Bad port syntax in EPRT");
++		return;
++	}
++	socket_set_port (data_dest, htons(port));
++	reply(200, "EPRT command successful.");
++}
++
++/*
++ * Generate unique name for file with basename "local".
++ * The file named "local" is already known to exist.
++ * Generates failure reply on error.
++ */
++static char *
++gunique(char *local)
++{
++	static char new[MaxPathLen];
++	struct stat st;
++	int count;
++	char *cp;
++
++	cp = strrchr(local, '/');
++	if (cp)
++		*cp = '\0';
++	if (stat(cp ? local : ".", &st) < 0) {
++		perror_reply(553, cp ? local : ".");
++		return NULL;
++	}
++	if (cp)
++		*cp = '/';
++	for (count = 1; count < 100; count++) {
++		snprintf (new, sizeof(new), "%s.%d", local, count);
++		if (stat(new, &st) < 0)
++			return (new);
++	}
++	reply(452, "Unique file name cannot be created.");
++	return (NULL);
++}
++
++/*
++ * Format and send reply containing system error number.
++ */
++void
++perror_reply(int code, const char *string)
++{
++	reply(code, "%s: %s.", string, strerror(errno));
++}
++
++static char *onefile[] = {
++	"",
++	0
++};
++
++void
++list_file(char *file)
++{
++    if(use_builtin_ls) {
++	FILE *dout;
++	dout = dataconn(file, -1, "w");
++	if (dout == NULL)
++	    return;
++	set_buffer_size(fileno(dout), 0);
++	if(builtin_ls(dout, file) == 0)
++	    reply(226, "Transfer complete.");
++	else
++	    reply(451, "Requested action aborted. Local error in processing.");
++	fclose(dout);
++	data = -1;
++	pdata = -1;
++    } else {
++#ifdef HAVE_LS_A
++	const char *cmd = "/bin/ls -lA %s";
++#else
++	const char *cmd = "/bin/ls -la %s";
++#endif
++	retrieve(cmd, file);
++    }
++}
++
++void
++send_file_list(char *whichf)
++{
++  struct stat st;
++  DIR *dirp = NULL;
++  struct dirent *dir;
++  FILE *dout = NULL;
++  char **dirlist, *dirname;
++  int simple = 0;
++  int freeglob = 0;
++  glob_t gl;
++  char buf[MaxPathLen];
++
++  if (strpbrk(whichf, "~{[*?") != NULL) {
++    int flags = GLOB_BRACE|GLOB_NOCHECK|GLOB_QUOTE|GLOB_TILDE|
++#ifdef GLOB_MAXPATH
++	GLOB_MAXPATH
++#else
++	GLOB_LIMIT
++#endif
++	;
++
++    memset(&gl, 0, sizeof(gl));
++    freeglob = 1;
++    if (glob(whichf, flags, 0, &gl)) {
++      reply(550, "not found");
++      goto out;
++    } else if (gl.gl_pathc == 0) {
++      errno = ENOENT;
++      perror_reply(550, whichf);
++      goto out;
++    }
++    dirlist = gl.gl_pathv;
++  } else {
++    onefile[0] = whichf;
++    dirlist = onefile;
++    simple = 1;
++  }
++
++  if (setjmp(urgcatch)) {
++    transflag = 0;
++    goto out;
++  }
++  while ((dirname = *dirlist++)) {
++    if (stat(dirname, &st) < 0) {
++      /*
++       * If user typed "ls -l", etc, and the client
++       * used NLST, do what the user meant.
++       */
++      if (dirname[0] == '-' && *dirlist == NULL &&
++	  transflag == 0) {
++	  list_file(dirname);
++	  goto out;
++      }
++      perror_reply(550, whichf);
++      if (dout != NULL) {
++	fclose(dout);
++	transflag = 0;
++	data = -1;
++	pdata = -1;
++      }
++      goto out;
++    }
++
++    if (S_ISREG(st.st_mode)) {
++      if (dout == NULL) {
++	dout = dataconn("file list", (off_t)-1, "w");
++	if (dout == NULL)
++	  goto out;
++	transflag++;
++      }
++      snprintf(buf, sizeof(buf), "%s%s\n", dirname,
++	      type == TYPE_A ? "\r" : "");
++      sec_write(fileno(dout), buf, strlen(buf));
++      byte_count += strlen(dirname) + 1;
++      continue;
++    } else if (!S_ISDIR(st.st_mode))
++      continue;
++
++    if ((dirp = opendir(dirname)) == NULL)
++      continue;
++
++    while ((dir = readdir(dirp)) != NULL) {
++      char nbuf[MaxPathLen];
++
++      if (!strcmp(dir->d_name, "."))
++	continue;
++      if (!strcmp(dir->d_name, ".."))
++	continue;
++
++      snprintf(nbuf, sizeof(nbuf), "%s/%s", dirname, dir->d_name);
++
++      /*
++       * We have to do a stat to insure it's
++       * not a directory or special file.
++       */
++      if (simple || (stat(nbuf, &st) == 0 &&
++		     S_ISREG(st.st_mode))) {
++	if (dout == NULL) {
++	  dout = dataconn("file list", (off_t)-1, "w");
++	  if (dout == NULL)
++	    goto out;
++	  transflag++;
++	}
++	if(strncmp(nbuf, "./", 2) == 0)
++	  snprintf(buf, sizeof(buf), "%s%s\n", nbuf +2,
++		   type == TYPE_A ? "\r" : "");
++	else
++	  snprintf(buf, sizeof(buf), "%s%s\n", nbuf,
++		   type == TYPE_A ? "\r" : "");
++	sec_write(fileno(dout), buf, strlen(buf));
++	byte_count += strlen(nbuf) + 1;
++      }
++    }
++    closedir(dirp);
++  }
++  if (dout == NULL)
++    reply(550, "No files found.");
++  else if (ferror(dout) != 0)
++    perror_reply(550, "Data connection");
++  else
++    reply(226, "Transfer complete.");
++
++  transflag = 0;
++  if (dout != NULL){
++    sec_write(fileno(dout), buf, 0); /* XXX flush */
++	    
++    fclose(dout);
++  }
++  data = -1;
++  pdata = -1;
++out:
++  if (freeglob) {
++    freeglob = 0;
++    globfree(&gl);
++  }
++}
++
++
++int
++find(char *pattern)
++{
++    char line[1024];
++    FILE *f;
++
++    snprintf(line, sizeof(line),
++	     "/bin/locate -d %s -- %s",
++	     ftp_rooted("/etc/locatedb"),
++	     pattern);
++    f = ftpd_popen(line, "r", 1, 1);
++    if(f == NULL){
++	perror_reply(550, "/bin/locate");
++	return 1;
++    }
++    lreply(200, "Output from find.");
++    while(fgets(line, sizeof(line), f)){
++	if(line[strlen(line)-1] == '\n')
++	    line[strlen(line)-1] = 0;
++	nreply("%s", line);
++    }
++    reply(200, "Done");
++    ftpd_pclose(f);
++    return 0;
++}
++
+diff -ruN heimdal-0.6-old/appl/ftp/ftpd/ftpd_locl.h heimdal-0.6/appl/ftp/ftpd/ftpd_locl.h
+--- heimdal-0.6-old/appl/ftp/ftpd/ftpd_locl.h	Wed Sep 20 00:16:44 2000
++++ heimdal-0.6/appl/ftp/ftpd/ftpd_locl.h	Sun Oct  6 14:57:46 2002
+@@ -106,7 +106,11 @@
+ #ifdef HAVE_FCNTL_H
+ #include <fcntl.h>
+ #endif
++#ifdef HAVE_GLOB
+ #include <glob.h>
++#else
++#include <roken-glob.h>
++#endif 
+ #include <limits.h>
+ #ifdef HAVE_PWD_H
+ #include <pwd.h>
+diff -ruN heimdal-0.6-old/appl/ftp/ftpd/popen.c heimdal-0.6/appl/ftp/ftpd/popen.c
+--- heimdal-0.6-old/appl/ftp/ftpd/popen.c	Tue Apr  2 21:57:39 2002
++++ heimdal-0.6/appl/ftp/ftpd/popen.c	Sun Oct  6 14:57:46 2002
+@@ -55,7 +55,11 @@
+ #include <sys/wait.h>
+ 
+ #include <errno.h>
++#ifdef HAVE_GLOB
+ #include <glob.h>
++#else
++#include <roken-glob.h>
++#endif
+ #include <signal.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+@@ -149,7 +153,11 @@
+ 
+ 		memset(&gl, 0, sizeof(gl));
+ 		if (no_glob || 
++#ifdef HAVE_GLOB
+ 		    glob(argv[argc], flags, NULL, &gl) || 
++#else
++		    roken_glob(argv[argc], flags, NULL, &gl) ||
++#endif
+ 		    gl.gl_pathc == 0)
+ 			gargv[gargc++] = strdup(argv[argc]);
+ 		else
+@@ -157,7 +165,11 @@
+ 			     *pop && gargc < MAXGLOBS - 1;
+ 			     pop++)
+ 				gargv[gargc++] = strdup(*pop);
++#ifdef HAVE_GLOB
+ 		globfree(&gl);
++#else
++		roken_globfree(&gl);
++#endif
+ 	}
+ 	gargv[gargc] = NULL;
+ 
+diff -ruN heimdal-0.6-old/appl/ftp/ftpd/popen.c.orig heimdal-0.6/appl/ftp/ftpd/popen.c.orig
+--- heimdal-0.6-old/appl/ftp/ftpd/popen.c.orig	Thu Jan  1 10:00:00 1970
++++ heimdal-0.6/appl/ftp/ftpd/popen.c.orig	Sun Oct  6 14:57:46 2002
+@@ -0,0 +1,240 @@
++/*
++ * Copyright (c) 1988, 1993, 1994
++ *	The Regents of the University of California.  All rights reserved.
++ *
++ * This code is derived from software written by Ken Arnold and
++ * published in UNIX Review, Vol. 6, No. 8.
++ *
++ * Redistribution and use in source and binary forms, with or without
++ * modification, are permitted provided that the following conditions
++ * are met:
++ * 1. Redistributions of source code must retain the above copyright
++ *    notice, this list of conditions and the following disclaimer.
++ * 2. Redistributions in binary form must reproduce the above copyright
++ *    notice, this list of conditions and the following disclaimer in the
++ *    documentation and/or other materials provided with the distribution.
++ * 3. All advertising materials mentioning features or use of this software
++ *    must display the following acknowledgement:
++ *	This product includes software developed by the University of
++ *	California, Berkeley and its contributors.
++ * 4. Neither the name of the University nor the names of its contributors
++ *    may be used to endorse or promote products derived from this software
++ *    without specific prior written permission.
++ *
++ * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
++ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
++ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
++ * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
++ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
++ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
++ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
++ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
++ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
++ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
++ * SUCH DAMAGE.
++ *
++ */
++
++#ifdef HAVE_CONFIG_H
++#include <config.h>
++RCSID("$Id: popen.c,v 1.26 2002/04/02 11:57:39 joda Exp $");
++#endif
++
++#include <sys/types.h>
++#ifdef TIME_WITH_SYS_TIME
++#include <sys/time.h>
++#include <time.h>
++#elif defined(HAVE_SYS_TIME_H)
++#include <sys/time.h>
++#else
++#include <time.h>
++#endif
++#ifdef HAVE_SYS_RESOURCE_H
++#include <sys/resource.h>
++#endif
++#include <sys/wait.h>
++
++#include <errno.h>
++#include <glob.h>
++#include <signal.h>
++#include <stdio.h>
++#include <stdlib.h>
++#include <string.h>
++#include <unistd.h>
++#include <roken.h>
++#define GLOB_QUOTE      0x0400
++#define GLOB_LIMIT      0x1000
++#include "extern.h"
++
++
++/* 
++ * Special version of popen which avoids call to shell.  This ensures
++ * no one may create a pipe to a hidden program as a side effect of a
++ * list or dir command.
++ */
++static int *pids;
++static int fds;
++
++extern int dochroot;
++
++/* return path prepended with ~ftp if that file exists, otherwise
++ * return path unchanged
++ */
++
++const char *
++ftp_rooted(const char *path)
++{
++    static char home[MaxPathLen] = "";
++    static char newpath[MaxPathLen];
++    struct passwd *pwd;
++
++    if(!home[0])
++	if((pwd = k_getpwnam("ftp")))
++	    strlcpy(home, pwd->pw_dir, sizeof(home));
++    snprintf(newpath, sizeof(newpath), "%s/%s", home, path);
++    if(access(newpath, X_OK))
++	strlcpy(newpath, path, sizeof(newpath));
++    return newpath;
++}
++
++
++#define MAXARGS	100
++#define MAXGLOBS 1000
++
++FILE *
++ftpd_popen(char *program, char *type, int do_stderr, int no_glob)
++{
++	char *cp;
++	FILE *iop;
++	int argc, gargc, pdes[2], pid;
++	char **pop, *argv[MAXARGS], *gargv[MAXGLOBS];
++	char *foo;
++
++	if (strcmp(type, "r") && strcmp(type, "w"))
++		return (NULL);
++
++	if (!pids) {
++
++	    /* This function is ugly and should be rewritten, in
++	     * modern unices there is no such thing as a maximum
++	     * filedescriptor.
++	     */
++
++	    fds = getdtablesize();
++	    pids = (int*)calloc(fds, sizeof(int));
++	    if(!pids)
++		return NULL;
++	}
++	if (pipe(pdes) < 0)
++		return (NULL);
++
++	/* break up string into pieces */
++	foo = NULL;
++	for (argc = 0, cp = program; argc < MAXARGS - 1; cp = NULL) {
++		if (!(argv[argc++] = strtok_r(cp, " \t\n", &foo)))
++			break;
++	}
++	argv[MAXARGS - 1] = NULL;
++
++	gargv[0] = (char*)ftp_rooted(argv[0]);
++	/* glob each piece */
++	for (gargc = argc = 1; argv[argc] && gargc < MAXGLOBS - 1; argc++) {
++		glob_t gl;
++		int flags = GLOB_BRACE|GLOB_NOCHECK|GLOB_QUOTE|GLOB_TILDE
++		    |
++#ifdef GLOB_MAXPATH
++	GLOB_MAXPATH
++#else
++	GLOB_LIMIT
++#endif
++		    ;
++
++		memset(&gl, 0, sizeof(gl));
++		if (no_glob || 
++		    glob(argv[argc], flags, NULL, &gl) || 
++		    gl.gl_pathc == 0)
++			gargv[gargc++] = strdup(argv[argc]);
++		else
++			for (pop = gl.gl_pathv;
++			     *pop && gargc < MAXGLOBS - 1;
++			     pop++)
++				gargv[gargc++] = strdup(*pop);
++		globfree(&gl);
++	}
++	gargv[gargc] = NULL;
++
++	iop = NULL;
++	switch(pid = fork()) {
++	case -1:			/* error */
++		close(pdes[0]);
++		close(pdes[1]);
++		goto pfree;
++		/* NOTREACHED */
++	case 0:				/* child */
++		if (*type == 'r') {
++			if (pdes[1] != STDOUT_FILENO) {
++				dup2(pdes[1], STDOUT_FILENO);
++				close(pdes[1]);
++			}
++			if(do_stderr)
++			    dup2(STDOUT_FILENO, STDERR_FILENO);
++			close(pdes[0]);
++		} else {
++			if (pdes[0] != STDIN_FILENO) {
++				dup2(pdes[0], STDIN_FILENO);
++				close(pdes[0]);
++			}
++			close(pdes[1]);
++		}
++		execv(gargv[0], gargv);
++		gargv[0] = argv[0];
++		execv(gargv[0], gargv);
++		_exit(1);
++	}
++	/* parent; assume fdopen can't fail...  */
++	if (*type == 'r') {
++		iop = fdopen(pdes[0], type);
++		close(pdes[1]);
++	} else {
++		iop = fdopen(pdes[1], type);
++		close(pdes[0]);
++	}
++	pids[fileno(iop)] = pid;
++	
++pfree:	
++	for (argc = 1; gargv[argc] != NULL; argc++)
++	    free(gargv[argc]);
++
++
++	return (iop);
++}
++
++int
++ftpd_pclose(FILE *iop)
++{
++	int fdes, status;
++	pid_t pid;
++	sigset_t sigset, osigset;
++
++	/*
++	 * pclose returns -1 if stream is not associated with a
++	 * `popened' command, or, if already `pclosed'.
++	 */
++	if (pids == 0 || pids[fdes = fileno(iop)] == 0)
++		return (-1);
++	fclose(iop);
++	sigemptyset(&sigset);
++	sigaddset(&sigset, SIGINT);
++	sigaddset(&sigset, SIGQUIT);
++	sigaddset(&sigset, SIGHUP);
++	sigprocmask(SIG_BLOCK, &sigset, &osigset);
++	while ((pid = waitpid(pids[fdes], &status, 0)) < 0 && errno == EINTR)
++		continue;
++	sigprocmask(SIG_SETMASK, &osigset, NULL);
++	pids[fdes] = 0;
++	if (pid < 0)
++		return (pid);
++	if (WIFEXITED(status))
++		return (WEXITSTATUS(status));
++	return (1);
++}
+diff -ruN heimdal-0.6-old/lib/roken/Makefile.am heimdal-0.6/lib/roken/Makefile.am
+--- heimdal-0.6-old/lib/roken/Makefile.am	Tue Sep 10 05:17:01 2002
++++ heimdal-0.6/lib/roken/Makefile.am	Sun Oct  6 14:58:25 2002
+@@ -183,7 +183,7 @@
+ if have_glob_h
+ glob_h =
+ else
+-glob_h = glob.h
++glob_h = roken-glob.h
+ endif
+ 
+ if have_ifaddrs_h
+@@ -220,6 +220,8 @@
+ SUFFIXES += .hin
+ .hin.h:
+ 	cp $< $@
++roken-glob.h:
++	cp glob.hin roken-glob.h
+ 
+ roken.h: make-roken$(EXEEXT)
+ 	@./make-roken$(EXEEXT) > tmp.h ;\
+diff -ruN heimdal-0.6-old/lib/roken/glob.c heimdal-0.6/lib/roken/glob.c
+--- heimdal-0.6-old/lib/roken/glob.c	Wed Aug 22 01:32:44 2001
++++ heimdal-0.6/lib/roken/glob.c	Sun Oct  6 14:57:46 2002
+@@ -171,7 +171,7 @@
+ #endif
+ 
+ int
+-glob(const char *pattern, 
++roken_glob(const char *pattern, 
+      int flags, 
+      int (*errfunc)(const char *, int), 
+      glob_t *pglob)
+@@ -746,7 +746,7 @@
+ 
+ /* Free allocated data belonging to a glob_t structure. */
+ void
+-globfree(glob_t *pglob)
++roken_globfree(glob_t *pglob)
+ {
+ 	int i;
+ 	char **pp;
+diff -ruN heimdal-0.6-old/lib/roken/glob.hin heimdal-0.6/lib/roken/glob.hin
+--- heimdal-0.6-old/lib/roken/glob.hin	Mon Mar 26 09:43:19 2001
++++ heimdal-0.6/lib/roken/glob.hin	Sun Oct  6 14:57:46 2002
+@@ -36,8 +36,8 @@
+  *	@(#)glob.h	8.1 (Berkeley) 6/2/93
+  */
+ 
+-#ifndef _GLOB_H_
+-#define	_GLOB_H_
++#ifndef _ROKEN_GLOB_H_
++#define	_ROKEN_GLOB_H_
+ 
+ struct stat;
+ typedef struct {
+@@ -79,7 +79,7 @@
+ #define	GLOB_NOSPACE	(-1)	/* Malloc call failed. */
+ #define	GLOB_ABEND	(-2)	/* Unignored error. */
+ 
+-int	glob (const char *, int, int (*)(const char *, int), glob_t *);
+-void	globfree (glob_t *);
++int	roken_glob (const char *, int, int (*)(const char *, int), glob_t *);
++void	roken_globfree (glob_t *);
+ 
+-#endif /* !_GLOB_H_ */
++#endif /* !_ROKEN_GLOB_H_ */
--- heimdal-0.6.3.orig/debian/patches-0.6/021_debian
+++ heimdal-0.6.3/debian/patches-0.6/021_debian
@@ -0,0 +1,50 @@
+Index: heimdal-0.6/appl/telnet/telnetd/telnetd.h
+===================================================================
+RCS file: /homes/bam/cvsroot/debian/heimdal/appl/telnet/telnetd/telnetd.h,v
+retrieving revision 1.1.1.2
+retrieving revision 1.2
+diff -c -r1.1.1.2 -r1.2
+*** heimdal-0.6/appl/telnet/telnetd/telnetd.h 1999/07/24 08:24:26 1.1.1.2
+--- appl/telnet/telnetd/telnetd.h	2000/01/06 09:22:48	1.2
+***************
+*** 193,199 ****
+  #endif
+  
+  #undef _PATH_LOGIN
+! #define _PATH_LOGIN	BINDIR "/login"
+  
+  /* fallbacks */
+  
+--- 193,199 ----
+  #endif
+  
+  #undef _PATH_LOGIN
+! #define _PATH_LOGIN	"/bin/login"
+  
+  /* fallbacks */
+  
+Index: heimdal-0.6/lib/hdb/hdb.h
+===================================================================
+RCS file: /homes/bam/cvsroot/debian/heimdal/lib/hdb/hdb.h,v
+retrieving revision 1.1.1.4
+retrieving revision 1.3
+diff -c -r1.1.1.4 -r1.3
+*** heimdal-0.6/lib/hdb/hdb.h 2000/07/31 03:16:43 1.1.1.4
+--- heimdal-0.6/lib/hdb/hdb.h	2000/07/31 03:22:57	1.3
+***************
+*** 78,84 ****
+      krb5_error_code (*destroy)(krb5_context, struct HDB*);
+  }HDB;
+  
+! #define HDB_DB_DIR "/var/heimdal"
+  #define HDB_DEFAULT_DB HDB_DB_DIR "/heimdal"
+  #define HDB_DB_FORMAT_ENTRY "hdb/db-format"
+  
+--- 78,84 ----
+      krb5_error_code (*destroy)(krb5_context, struct HDB*);
+  }HDB;
+  
+! #define HDB_DB_DIR "/var/lib/heimdal-kdc"
+  #define HDB_DEFAULT_DB HDB_DB_DIR "/heimdal"
+  #define HDB_DB_FORMAT_ENTRY "hdb/db-format"
+  
--- heimdal-0.6.3.orig/debian/patches-0.6/023_db4
+++ heimdal-0.6.3/debian/patches-0.6/023_db4
@@ -0,0 +1,79 @@
+diff -ruN heimdal-0.6-old/cf/db.m4 heimdal-0.6/cf/db.m4
+--- heimdal-0.6-old/cf/db.m4	2002-09-11 00:29:47.000000000 +1000
++++ heimdal-0.6/cf/db.m4	2003-12-13 14:19:52.000000000 +1100
+@@ -40,7 +40,18 @@
+     else
+       DBLIB=""
+     fi
+-    AC_DEFINE(HAVE_DB3, 1, [define if you have a berkeley db3/4 library])
++    AC_TRY_COMPILE([#if defined(HAVE_DB4_DB_H)
++    #include <db.h>
++    #elif defined(HAVE_DB3_DB_H)
++    #include <db3/db.h>
++    #else
++    #include <db.h>
++    #endif], [
++    return (DB_VERSION_MAJOR == 4);
++    ],
++    AC_DEFINE(HAVE_DB4, 1, [define if you have a berkeley db4 library]),
++    AC_DEFINE(HAVE_DB3, 1, [define if you have a berkeley db3 library])
++    )
+   else
+ 
+ dnl dbopen is used by db1/db2
+@@ -188,6 +199,7 @@
+ 
+ AM_CONDITIONAL(HAVE_DB1, test "$db_type" = db1)dnl
+ AM_CONDITIONAL(HAVE_DB3, test "$db_type" = db3)dnl
++AM_CONDITIONAL(HAVE_DB4, test "$db_type" = db4)dnl
+ AM_CONDITIONAL(HAVE_NDBM, test "$db_type" = ndbm)dnl
+ 
+ ## it's probably not correct to include LDFLAGS here, but we might
+diff -ruN heimdal-0.6-old/include/config.h.in heimdal-0.6/include/config.h.in
+--- heimdal-0.6-old/include/config.h.in	2003-05-13 01:28:41.000000000 +1000
++++ heimdal-0.6/include/config.h.in	2003-12-13 14:21:39.000000000 +1100
+@@ -126,9 +126,12 @@
+ /* define if you have a berkeley db1/2 library */
+ #undef HAVE_DB1
+ 
+-/* define if you have a berkeley db3/4 library */
++/* define if you have a berkeley db3 library */
+ #undef HAVE_DB3
+ 
++/* define if you have a berkeley db4 library */
++#undef HAVE_DB4
++
+ /* Define to 1 if you have the <db3/db.h> header file. */
+ #undef HAVE_DB3_DB_H
+ 
+diff -ruN heimdal-0.6-old/lib/hdb/db3.c heimdal-0.6/lib/hdb/db3.c
+--- heimdal-0.6-old/lib/hdb/db3.c	2001-08-09 18:41:48.000000000 +1000
++++ heimdal-0.6/lib/hdb/db3.c	2003-12-13 14:27:01.000000000 +1100
+@@ -35,7 +35,7 @@
+ 
+ RCSID("$Id: db3.c,v 1.8 2001/08/09 08:41:48 assar Exp $");
+ 
+-#if HAVE_DB3
++#if defined(HAVE_DB3) || defined(HAVE_DB4)
+ 
+ #include <db.h>
+ 
+@@ -262,10 +262,18 @@
+     }
+     db_create(&d, NULL, 0);
+     db->db = d;
++#ifdef HAVE_DB4
++    if ((ret = d->open(db->db, NULL, fn, NULL, DB_BTREE, myflags, mode))) {
++#else
+     if ((ret = d->open(db->db, fn, NULL, DB_BTREE, myflags, mode))) {
++#endif
+       if(ret == ENOENT)
+ 	/* try to open without .db extension */
++#ifdef HAVE_DB4
++	if (d->open(db->db, NULL, db->name, NULL, DB_BTREE, myflags, mode)) {
++#else
+ 	if (d->open(db->db, db->name, NULL, DB_BTREE, myflags, mode)) {
++#endif
+ 	  free(fn);
+ 	  krb5_set_error_string(context, "opening %s: %s",
+ 				db->name, strerror(ret));
--- heimdal-0.6.3.orig/debian/patches-0.6/030_autotools
+++ heimdal-0.6.3/debian/patches-0.6/030_autotools
@@ -0,0 +1,130053 @@
+diff -ruN heimdal-0.6-old/aclocal.m4 heimdal-0.6/aclocal.m4
+--- heimdal-0.6-old/aclocal.m4	2003-05-12 17:26:43.000000000 +0200
++++ heimdal-0.6/aclocal.m4	2003-09-15 17:08:22.000000000 +0200
+@@ -1,4 +1,4 @@
+-# aclocal.m4t generated automatically by aclocal 1.6.1 -*- Autoconf -*-
++# aclocal.m4t generated automatically by aclocal 1.6.3 -*- Autoconf -*-
+ 
+ # Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002
+ # Free Software Foundation, Inc.
+@@ -36,6 +36,87 @@
+ #define MaxPathLen (1024+4)
+ 
+ ])])
++# Add --enable-maintainer-mode option to configure.
++# From Jim Meyering
++
++# Copyright 1996, 1998, 2000, 2001 Free Software Foundation, Inc.
++
++# 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, 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., 59 Temple Place - Suite 330, Boston, MA
++# 02111-1307, USA.
++
++# serial 1
++
++AC_DEFUN([AM_MAINTAINER_MODE],
++[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
++  dnl maintainer-mode is disabled by default
++  AC_ARG_ENABLE(maintainer-mode,
++[  --enable-maintainer-mode enable make rules and dependencies not useful
++                          (and sometimes confusing) to the casual installer],
++      USE_MAINTAINER_MODE=$enableval,
++      USE_MAINTAINER_MODE=no)
++  AC_MSG_RESULT([$USE_MAINTAINER_MODE])
++  AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
++  MAINT=$MAINTAINER_MODE_TRUE
++  AC_SUBST(MAINT)dnl
++]
++)
++
++# AM_CONDITIONAL                                              -*- Autoconf -*-
++
++# Copyright 1997, 2000, 2001 Free Software Foundation, Inc.
++
++# 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, 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., 59 Temple Place - Suite 330, Boston, MA
++# 02111-1307, USA.
++
++# serial 5
++
++AC_PREREQ(2.52)
++
++# AM_CONDITIONAL(NAME, SHELL-CONDITION)
++# -------------------------------------
++# Define a conditional.
++AC_DEFUN([AM_CONDITIONAL],
++[ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
++        [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
++AC_SUBST([$1_TRUE])
++AC_SUBST([$1_FALSE])
++if $2; then
++  $1_TRUE=
++  $1_FALSE='#'
++else
++  $1_TRUE='#'
++  $1_FALSE=
++fi
++AC_CONFIG_COMMANDS_PRE(
++[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
++  AC_MSG_ERROR([conditional \"$1\" was never defined.
++Usually this means the macro was only invoked conditionally.])
++fi])])
++
+ # Like AC_CONFIG_HEADER, but automatically create stamp file. -*- Autoconf -*-
+ 
+ # Copyright 1996, 1997, 2000, 2001 Free Software Foundation, Inc.
+@@ -241,7 +322,7 @@
+ # Call AM_AUTOMAKE_VERSION so it can be traced.
+ # This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
+ AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
+-	 [AM_AUTOMAKE_VERSION([1.6.1])])
++	 [AM_AUTOMAKE_VERSION([1.6.3])])
+ 
+ # Helper functions for option handling.                    -*- Autoconf -*-
+ 
+@@ -573,7 +654,7 @@
+ 
+ ifelse([$1], CC,   [depcc="$CC"   am_compiler_list=],
+        [$1], CXX,  [depcc="$CXX"  am_compiler_list=],
+-       [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc']
++       [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
+        [$1], GCJ,  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
+                    [depcc="$$1"   am_compiler_list=])
+ 
+@@ -698,7 +779,13 @@
+ [for mf in $CONFIG_FILES; do
+   # Strip MF so we end up with the name of the file.
+   mf=`echo "$mf" | sed -e 's/:.*$//'`
+-  if (sed 1q $mf | fgrep 'generated by automake') > /dev/null 2>&1; then
++  # Check whether this is an Automake generated Makefile or not.
++  # We used to match only the files named `Makefile.in', but
++  # some people rename them; so instead we look at the file content.
++  # Grep'ing the first line is not enough: some people post-process
++  # each Makefile.in and add a new line on top of each file to say so.
++  # So let's grep whole file.
++  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
+     dirpart=`AS_DIRNAME("$mf")`
+   else
+     continue
+@@ -809,87 +896,6 @@
+ rm -f confinc confmf
+ ])
+ 
+-# AM_CONDITIONAL                                              -*- Autoconf -*-
+-
+-# Copyright 1997, 2000, 2001 Free Software Foundation, Inc.
+-
+-# 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, 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., 59 Temple Place - Suite 330, Boston, MA
+-# 02111-1307, USA.
+-
+-# serial 5
+-
+-AC_PREREQ(2.52)
+-
+-# AM_CONDITIONAL(NAME, SHELL-CONDITION)
+-# -------------------------------------
+-# Define a conditional.
+-AC_DEFUN([AM_CONDITIONAL],
+-[ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
+-        [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
+-AC_SUBST([$1_TRUE])
+-AC_SUBST([$1_FALSE])
+-if $2; then
+-  $1_TRUE=
+-  $1_FALSE='#'
+-else
+-  $1_TRUE='#'
+-  $1_FALSE=
+-fi
+-AC_CONFIG_COMMANDS_PRE(
+-[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
+-  AC_MSG_ERROR([conditional \"$1\" was never defined.
+-Usually this means the macro was only invoked conditionally.])
+-fi])])
+-
+-# Add --enable-maintainer-mode option to configure.
+-# From Jim Meyering
+-
+-# Copyright 1996, 1998, 2000, 2001 Free Software Foundation, Inc.
+-
+-# 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, 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., 59 Temple Place - Suite 330, Boston, MA
+-# 02111-1307, USA.
+-
+-# serial 1
+-
+-AC_DEFUN([AM_MAINTAINER_MODE],
+-[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
+-  dnl maintainer-mode is disabled by default
+-  AC_ARG_ENABLE(maintainer-mode,
+-[  --enable-maintainer-mode enable make rules and dependencies not useful
+-                          (and sometimes confusing) to the casual installer],
+-      USE_MAINTAINER_MODE=$enableval,
+-      USE_MAINTAINER_MODE=no)
+-  AC_MSG_RESULT([$USE_MAINTAINER_MODE])
+-  AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
+-  MAINT=$MAINTAINER_MODE_TRUE
+-  AC_SUBST(MAINT)dnl
+-]
+-)
+-
+ 
+ # Copyright 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
+ 
+@@ -1072,12 +1078,64 @@
+ ])
+ 
+ 
+-# libtool.m4 - Configure libtool for the host system. -*-Shell-script-*-
++# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
++
++# serial 47 AC_PROG_LIBTOOL
++# Debian $Rev: 74 $
++
+ 
+-# serial 46 AC_PROG_LIBTOOL
++# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
++# -----------------------------------------------------------
++# If this macro is not defined by Autoconf, define it here.
++m4_ifdef([AC_PROVIDE_IFELSE],
++         [],
++         [m4_define([AC_PROVIDE_IFELSE],
++	         [m4_ifdef([AC_PROVIDE_$1],
++		           [$2], [$3])])])
+ 
++
++# AC_PROG_LIBTOOL
++# ---------------
+ AC_DEFUN([AC_PROG_LIBTOOL],
++[AC_REQUIRE([_AC_PROG_LIBTOOL])dnl
++dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX
++dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX.
++  AC_PROVIDE_IFELSE([AC_PROG_CXX],
++    [AC_LIBTOOL_CXX],
++    [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX
++  ])])
++dnl And a similar setup for Fortran 77 support
++  AC_PROVIDE_IFELSE([AC_PROG_F77],
++    [AC_LIBTOOL_F77],
++    [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77
++])])
++
++dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly.
++dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run
++dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both.
++  AC_PROVIDE_IFELSE([AC_PROG_GCJ],
++    [AC_LIBTOOL_GCJ],
++    [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
++      [AC_LIBTOOL_GCJ],
++      [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],
++	[AC_LIBTOOL_GCJ],
++      [ifdef([AC_PROG_GCJ],
++	     [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])
++       ifdef([A][M_PROG_GCJ],
++	     [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])])
++       ifdef([LT_AC_PROG_GCJ],
++	     [define([LT_AC_PROG_GCJ],
++		defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])])
++])])# AC_PROG_LIBTOOL
++
++
++# _AC_PROG_LIBTOOL
++# ----------------
++AC_DEFUN([_AC_PROG_LIBTOOL],
+ [AC_REQUIRE([AC_LIBTOOL_SETUP])dnl
++AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl
++AC_BEFORE([$0],[AC_LIBTOOL_F77])dnl
++AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl
+ 
+ # This can be used to rebuild libtool when needed
+ LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
+@@ -1088,10 +1146,13 @@
+ 
+ # Prevent multiple expansion
+ define([AC_PROG_LIBTOOL], [])
+-])
++])# _AC_PROG_LIBTOOL
++
+ 
++# AC_LIBTOOL_SETUP
++# ----------------
+ AC_DEFUN([AC_LIBTOOL_SETUP],
+-[AC_PREREQ(2.13)dnl
++[AC_PREREQ(2.50)dnl
+ AC_REQUIRE([AC_ENABLE_SHARED])dnl
+ AC_REQUIRE([AC_ENABLE_STATIC])dnl
+ AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl
+@@ -1101,340 +1162,184 @@
+ AC_REQUIRE([AC_PROG_LD])dnl
+ AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl
+ AC_REQUIRE([AC_PROG_NM])dnl
++
+ AC_REQUIRE([AC_PROG_LN_S])dnl
+ AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl
++# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
+ AC_REQUIRE([AC_OBJEXT])dnl
+ AC_REQUIRE([AC_EXEEXT])dnl
+ dnl
+ 
++AC_LIBTOOL_SYS_MAX_CMD_LEN
++AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
++AC_LIBTOOL_OBJDIR
++
++AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
+ _LT_AC_PROG_ECHO_BACKSLASH
+-# Only perform the check for file, if the check method requires it
+-case $deplibs_check_method in
+-file_magic*)
+-  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
+-    AC_PATH_MAGIC
++
++case $host_os in
++aix3*)
++  # AIX sometimes has problems with the GCC collect2 program.  For some
++  # reason, if we set the COLLECT_NAMES environment variable, the problems
++  # vanish in a puff of smoke.
++  if test "X${COLLECT_NAMES+set}" != Xset; then
++    COLLECT_NAMES=
++    export COLLECT_NAMES
+   fi
+   ;;
+ esac
+ 
+-AC_CHECK_TOOL(RANLIB, ranlib, :)
+-AC_CHECK_TOOL(STRIP, strip, :)
++# Sed substitution that helps us do robust quoting.  It backslashifies
++# metacharacters that are still active within double-quoted strings.
++Xsed='sed -e s/^X//'
++[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g']
+ 
+-ifdef([AC_PROVIDE_AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no)
+-ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL],
+-enable_win32_dll=yes, enable_win32_dll=no)
++# Same as above, but do not quote variable references.
++[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g']
+ 
+-AC_ARG_ENABLE(libtool-lock,
+-  [  --disable-libtool-lock  avoid locking (might break parallel builds)])
+-test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
++# Sed substitution to delay expansion of an escaped shell variable in a
++# double_quote_subst'ed string.
++delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
+ 
+-# Some flags need to be propagated to the compiler or linker for good
+-# libtool support.
+-case $host in
+-*-*-irix6*)
+-  # Find out which ABI we are using.
+-  echo '[#]line __oline__ "configure"' > conftest.$ac_ext
+-  if AC_TRY_EVAL(ac_compile); then
+-    case `/usr/bin/file conftest.$ac_objext` in
+-    *32-bit*)
+-      LD="${LD-ld} -32"
+-      ;;
+-    *N32*)
+-      LD="${LD-ld} -n32"
+-      ;;
+-    *64-bit*)
+-      LD="${LD-ld} -64"
+-      ;;
+-    esac
+-  fi
+-  rm -rf conftest*
+-  ;;
++# Sed substitution to avoid accidental globbing in evaled expressions
++no_glob_subst='s/\*/\\\*/g'
+ 
+-*-*-sco3.2v5*)
+-  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
+-  SAVE_CFLAGS="$CFLAGS"
+-  CFLAGS="$CFLAGS -belf"
+-  AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
+-    [AC_LANG_SAVE
+-     AC_LANG_C
+-     AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
+-     AC_LANG_RESTORE])
+-  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
+-    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
+-    CFLAGS="$SAVE_CFLAGS"
+-  fi
+-  ;;
++# Constants:
++rm="rm -f"
+ 
+-ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL],
+-[*-*-cygwin* | *-*-mingw* | *-*-pw32*)
+-  AC_CHECK_TOOL(DLLTOOL, dlltool, false)
+-  AC_CHECK_TOOL(AS, as, false)
+-  AC_CHECK_TOOL(OBJDUMP, objdump, false)
++# Global variables:
++default_ofile=libtool
++can_build_shared=yes
+ 
+-  # recent cygwin and mingw systems supply a stub DllMain which the user
+-  # can override, but on older systems we have to supply one
+-  AC_CACHE_CHECK([if libtool should supply DllMain function], lt_cv_need_dllmain,
+-    [AC_TRY_LINK([],
+-      [extern int __attribute__((__stdcall__)) DllMain(void*, int, void*);
+-      DllMain (0, 0, 0);],
+-      [lt_cv_need_dllmain=no],[lt_cv_need_dllmain=yes])])
+-
+-  case $host/$CC in
+-  *-*-cygwin*/gcc*-mno-cygwin*|*-*-mingw*)
+-    # old mingw systems require "-dll" to link a DLL, while more recent ones
+-    # require "-mdll"
+-    SAVE_CFLAGS="$CFLAGS"
+-    CFLAGS="$CFLAGS -mdll"
+-    AC_CACHE_CHECK([how to link DLLs], lt_cv_cc_dll_switch,
+-      [AC_TRY_LINK([], [], [lt_cv_cc_dll_switch=-mdll],[lt_cv_cc_dll_switch=-dll])])
+-    CFLAGS="$SAVE_CFLAGS" ;;
+-  *-*-cygwin* | *-*-pw32*)
+-    # cygwin systems need to pass --dll to the linker, and not link
+-    # crt.o which will require a WinMain@16 definition.
+-    lt_cv_cc_dll_switch="-Wl,--dll -nostartfiles" ;;
+-  esac
+-  ;;
+-  ])
+-esac
++# All known linkers require a `.a' archive for static linking (except M$VC,
++# which needs '.lib').
++libext=a
++ltmain="$ac_aux_dir/ltmain.sh"
++ofile="$default_ofile"
++with_gnu_ld="$lt_cv_prog_gnu_ld"
+ 
+-_LT_AC_LTCONFIG_HACK
++AC_CHECK_TOOL(AR, ar, false)
++AC_CHECK_TOOL(RANLIB, ranlib, :)
++AC_CHECK_TOOL(STRIP, strip, :)
+ 
+-])
++old_CC="$CC"
++old_CFLAGS="$CFLAGS"
+ 
+-# AC_LIBTOOL_HEADER_ASSERT
+-# ------------------------
+-AC_DEFUN([AC_LIBTOOL_HEADER_ASSERT],
+-[AC_CACHE_CHECK([whether $CC supports assert without backlinking],
+-    [lt_cv_func_assert_works],
+-    [case $host in
+-    *-*-solaris*)
+-      if test "$GCC" = yes && test "$with_gnu_ld" != yes; then
+-        case `$CC --version 2>/dev/null` in
+-        [[12]].*) lt_cv_func_assert_works=no ;;
+-        *)        lt_cv_func_assert_works=yes ;;
+-        esac
+-      fi
+-      ;;
+-    esac])
+-
+-if test "x$lt_cv_func_assert_works" = xyes; then
+-  AC_CHECK_HEADERS(assert.h)
+-fi
+-])# AC_LIBTOOL_HEADER_ASSERT
+-
+-# _LT_AC_CHECK_DLFCN
+-# --------------------
+-AC_DEFUN([_LT_AC_CHECK_DLFCN],
+-[AC_CHECK_HEADERS(dlfcn.h)
+-])# _LT_AC_CHECK_DLFCN
+-
+-# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
+-# ---------------------------------
+-AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE],
+-[AC_REQUIRE([AC_CANONICAL_HOST])
+-AC_REQUIRE([AC_PROG_NM])
+-AC_REQUIRE([AC_OBJEXT])
+-# Check for command to grab the raw symbol name followed by C symbol from nm.
+-AC_MSG_CHECKING([command to parse $NM output])
+-AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe], [dnl
+-
+-# These are sane defaults that work on at least a few old systems.
+-# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
+-
+-# Character class describing NM global symbol codes.
+-symcode='[[BCDEGRST]]'
+-
+-# Regexp to match symbols that can be accessed directly from C.
+-sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
+-
+-# Transform the above into a raw symbol and a C symbol.
+-symxfrm='\1 \2\3 \3'
++# Set sane defaults for various variables
++test -z "$AR" && AR=ar
++test -z "$AR_FLAGS" && AR_FLAGS=cru
++test -z "$AS" && AS=as
++test -z "$CC" && CC=cc
++test -z "$LTCC" && LTCC=$CC
++test -z "$DLLTOOL" && DLLTOOL=dlltool
++test -z "$LD" && LD=ld
++test -z "$LN_S" && LN_S="ln -s"
++test -z "$MAGIC_CMD" && MAGIC_CMD=file
++test -z "$NM" && NM=nm
++test -z "$SED" && SED=sed
++test -z "$OBJDUMP" && OBJDUMP=objdump
++test -z "$RANLIB" && RANLIB=:
++test -z "$STRIP" && STRIP=:
++test -z "$ac_objext" && ac_objext=o
+ 
+-# Transform an extracted symbol line into a proper C declaration
+-lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'"
++# Determine commands to create old-style static archives.
++old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
++old_postinstall_cmds='chmod 644 $oldlib'
++old_postuninstall_cmds=
+ 
+-# Transform an extracted symbol line into symbol name and symbol address
+-lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([[^ ]]*\) \([[^ ]]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
++if test -n "$RANLIB"; then
++  case $host_os in
++  openbsd*)
++    old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
++    ;;
++  *)
++    old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
++    ;;
++  esac
++  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
++fi
+ 
+-# Define system-specific variables.
+-case $host_os in
+-aix*)
+-  symcode='[[BCDT]]'
+-  ;;
+-cygwin* | mingw* | pw32*)
+-  symcode='[[ABCDGISTW]]'
+-  ;;
+-hpux*) # Its linker distinguishes data from code symbols
+-  lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
+-  lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
+-  ;;
+-irix*)
+-  symcode='[[BCDEGRST]]'
+-  ;;
+-solaris* | sysv5*)
+-  symcode='[[BDT]]'
+-  ;;
+-sysv4)
+-  symcode='[[DFNSTU]]'
++# Only perform the check for file, if the check method requires it
++case $deplibs_check_method in
++file_magic*)
++  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
++    AC_PATH_MAGIC
++  fi
+   ;;
+ esac
+ 
+-# Handle CRLF in mingw tool chain
+-opt_cr=
+-case $host_os in
+-mingw*)
+-  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
+-  ;;
+-esac
++AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no)
++AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
++enable_win32_dll=yes, enable_win32_dll=no)
+ 
+-# If we're using GNU nm, then use its standard symbol codes.
+-if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then
+-  symcode='[[ABCDGISTW]]'
+-fi
++AC_ARG_ENABLE([libtool-lock],
++    [AC_HELP_STRING([--disable-libtool-lock],
++	[avoid locking (might break parallel builds)])])
++test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
+ 
+-# Try without a prefix undercore, then with it.
+-for ac_symprfx in "" "_"; do
++AC_ARG_WITH([pic],
++    [AC_HELP_STRING([--with-pic],
++	[try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
++    [pic_mode="$withval"],
++    [pic_mode=default])
++test -z "$pic_mode" && pic_mode=default
+ 
+-  # Write the raw and C identifiers.
+-lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ 	]]\($symcode$symcode*\)[[ 	]][[ 	]]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
++# Use C for the default configuration in the libtool script
++tagname=
++AC_LIBTOOL_LANG_C_CONFIG
++_LT_AC_TAGCONFIG
++])# AC_LIBTOOL_SETUP
+ 
+-  # Check to see that the pipe works correctly.
+-  pipe_works=no
+-  rm -f conftest*
+-  cat > conftest.$ac_ext <<EOF
+-#ifdef __cplusplus
+-extern "C" {
+-#endif
+-char nm_test_var;
+-void nm_test_func(){}
+-#ifdef __cplusplus
+-}
+-#endif
+-int main(){nm_test_var='a';nm_test_func();return(0);}
+-EOF
+ 
+-  if AC_TRY_EVAL(ac_compile); then
+-    # Now try to grab the symbols.
+-    nlist=conftest.nm
+-    if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
+-      # Try sorting and uniquifying the output.
+-      if sort "$nlist" | uniq > "$nlist"T; then
+-	mv -f "$nlist"T "$nlist"
+-      else
+-	rm -f "$nlist"T
+-      fi
++# _LT_AC_SYS_COMPILER
++# -------------------
++AC_DEFUN([_LT_AC_SYS_COMPILER],
++[AC_REQUIRE([AC_PROG_CC])dnl
+ 
+-      # Make sure that we snagged all the symbols we need.
+-      if egrep ' nm_test_var$' "$nlist" >/dev/null; then
+-	if egrep ' nm_test_func$' "$nlist" >/dev/null; then
+-	  cat <<EOF > conftest.$ac_ext
+-#ifdef __cplusplus
+-extern "C" {
+-#endif
++# If no C compiler was specified, use CC.
++LTCC=${LTCC-"$CC"}
+ 
+-EOF
+-	  # Now generate the symbol file.
+-	  eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext'
++# Allow CC to be a program name with arguments.
++compiler=$CC
++])# _LT_AC_SYS_COMPILER
+ 
+-	  cat <<EOF >> conftest.$ac_ext
+-#if defined (__STDC__) && __STDC__
+-# define lt_ptr void *
+-#else
+-# define lt_ptr char *
+-# define const
+-#endif
+ 
+-/* The mapping between symbol names and symbols. */
+-const struct {
+-  const char *name;
+-  lt_ptr address;
+-}
+-lt_preloaded_symbols[[]] =
+-{
+-EOF
+-	  sed "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.$ac_ext
+-	  cat <<\EOF >> conftest.$ac_ext
+-  {0, (lt_ptr) 0}
+-};
++# _LT_AC_SYS_LIBPATH_AIX
++# ----------------------
++# Links a minimal program and checks the executable
++# for the system default hardcoded library path. In most cases,
++# this is /usr/lib:/lib, but when the MPI compilers are used
++# the location of the communication and MPI libs are included too.
++# If we don't find anything, use the default library path according
++# to the aix ld manual.
++AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX],
++[AC_LINK_IFELSE(AC_LANG_PROGRAM,[
++aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
++}'`
++# Check for a 64-bit object if we didn't find anything.
++if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
++}'`; fi],[])
++if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
++])# _LT_AC_SYS_LIBPATH_AIX
+ 
+-#ifdef __cplusplus
+-}
+-#endif
+-EOF
+-	  # Now try linking the two files.
+-	  mv conftest.$ac_objext conftstm.$ac_objext
+-	  save_LIBS="$LIBS"
+-	  save_CFLAGS="$CFLAGS"
+-	  LIBS="conftstm.$ac_objext"
+-	  CFLAGS="$CFLAGS$no_builtin_flag"
+-	  if AC_TRY_EVAL(ac_link) && test -s conftest; then
+-	    pipe_works=yes
+-	  fi
+-	  LIBS="$save_LIBS"
+-	  CFLAGS="$save_CFLAGS"
+-	else
+-	  echo "cannot find nm_test_func in $nlist" >&AC_FD_CC
+-	fi
+-      else
+-	echo "cannot find nm_test_var in $nlist" >&AC_FD_CC
+-      fi
+-    else
+-      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AC_FD_CC
+-    fi
+-  else
+-    echo "$progname: failed program was:" >&AC_FD_CC
+-    cat conftest.$ac_ext >&5
+-  fi
+-  rm -f conftest* conftst*
+ 
+-  # Do not use the global_symbol_pipe unless it works.
+-  if test "$pipe_works" = yes; then
+-    break
+-  else
+-    lt_cv_sys_global_symbol_pipe=
+-  fi
+-done
+-])
+-global_symbol_pipe="$lt_cv_sys_global_symbol_pipe"
+-if test -z "$lt_cv_sys_global_symbol_pipe"; then
+-  global_symbol_to_cdecl=
+-  global_symbol_to_c_name_address=
+-else
+-  global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl"
+-  global_symbol_to_c_name_address="$lt_cv_global_symbol_to_c_name_address"
+-fi
+-if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address";
+-then
+-  AC_MSG_RESULT(failed)
+-else
+-  AC_MSG_RESULT(ok)
+-fi
+-]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
++# _LT_AC_SHELL_INIT(ARG)
++# ----------------------
++AC_DEFUN([_LT_AC_SHELL_INIT],
++[ifdef([AC_DIVERSION_NOTICE],
++	     [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
++	 [AC_DIVERT_PUSH(NOTICE)])
++$1
++AC_DIVERT_POP
++])# _LT_AC_SHELL_INIT
+ 
+-# _LT_AC_LIBTOOL_SYS_PATH_SEPARATOR
+-# ---------------------------------
+-AC_DEFUN([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR],
+-[# Find the correct PATH separator.  Usually this is `:', but
+-# DJGPP uses `;' like DOS.
+-if test "X${PATH_SEPARATOR+set}" != Xset; then
+-  UNAME=${UNAME-`uname 2>/dev/null`}
+-  case X$UNAME in
+-    *-DOS) lt_cv_sys_path_separator=';' ;;
+-    *)     lt_cv_sys_path_separator=':' ;;
+-  esac
+-  PATH_SEPARATOR=$lt_cv_sys_path_separator
+-fi
+-])# _LT_AC_LIBTOOL_SYS_PATH_SEPARATOR
+ 
+ # _LT_AC_PROG_ECHO_BACKSLASH
+ # --------------------------
+ # Add some code to the start of the generated configure script which
+ # will find an echo command which doesn't interpret backslashes.
+ AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH],
+-[ifdef([AC_DIVERSION_NOTICE], [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
+-			      [AC_DIVERT_PUSH(NOTICE)])
+-_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR
+-
++[_LT_AC_SHELL_INIT([
+ # Check that we are running under the correct shell.
+ SHELL=${CONFIG_SHELL-/bin/sh}
+ 
+@@ -1452,7 +1357,7 @@
+ elif test "X[$]1" = X--fallback-echo; then
+   # Avoid inline document here, it may be left over
+   :
+-elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
++elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
+   # Yippee, $echo works!
+   :
+ else
+@@ -1464,7 +1369,7 @@
+   # used as fallback echo
+   shift
+   cat <<EOF
+-$*
++[$]*
+ EOF
+   exit 0
+ fi
+@@ -1498,8 +1403,9 @@
+   #
+   # So, first we look for a working echo in the user's PATH.
+ 
+-  IFS="${IFS= 	}"; save_ifs="$IFS"; IFS=$PATH_SEPARATOR
++  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
+   for dir in $PATH /usr/ucb; do
++    IFS="$lt_save_ifs"
+     if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
+        test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
+        echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
+@@ -1508,7 +1414,7 @@
+       break
+     fi
+   done
+-  IFS="$save_ifs"
++  IFS="$lt_save_ifs"
+ 
+   if test "X$echo" = Xecho; then
+     # We didn't find a better echo, so look for alternatives.
+@@ -1581,38 +1487,319 @@
+ fi
+ 
+ AC_SUBST(ECHO)
+-AC_DIVERT_POP
+-])# _LT_AC_PROG_ECHO_BACKSLASH
+-
+-# _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
+-#                           ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
+-# ------------------------------------------------------------------
+-AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF],
+-[if test "$cross_compiling" = yes; then :
+-  [$4]
+-else
+-  AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
+-  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
+-  lt_status=$lt_dlunknown
+-  cat > conftest.$ac_ext <<EOF
+-[#line __oline__ "configure"
+-#include "confdefs.h"
++])])# _LT_AC_PROG_ECHO_BACKSLASH
+ 
+-#if HAVE_DLFCN_H
+-#include <dlfcn.h>
+-#endif
+ 
+-#include <stdio.h>
++# _LT_AC_LOCK
++# -----------
++AC_DEFUN([_LT_AC_LOCK],
++[AC_ARG_ENABLE([libtool-lock],
++    [AC_HELP_STRING([--disable-libtool-lock],
++	[avoid locking (might break parallel builds)])])
++test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
+ 
+-#ifdef RTLD_GLOBAL
+-#  define LT_DLGLOBAL		RTLD_GLOBAL
+-#else
+-#  ifdef DL_GLOBAL
+-#    define LT_DLGLOBAL		DL_GLOBAL
+-#  else
+-#    define LT_DLGLOBAL		0
+-#  endif
+-#endif
++# Some flags need to be propagated to the compiler or linker for good
++# libtool support.
++case $host in
++ia64-*-hpux*)
++  # Find out which ABI we are using.
++  echo 'int i;' > conftest.$ac_ext
++  if AC_TRY_EVAL(ac_compile); then
++    case `/usr/bin/file conftest.$ac_objext` in
++    *ELF-32*)
++      HPUX_IA64_MODE="32"
++      ;;
++    *ELF-64*)
++      HPUX_IA64_MODE="64"
++      ;;
++    esac
++  fi
++  rm -rf conftest*
++  ;;
++*-*-irix6*)
++  # Find out which ABI we are using.
++  echo '[#]line __oline__ "configure"' > conftest.$ac_ext
++  if AC_TRY_EVAL(ac_compile); then
++   if test "$lt_cv_prog_gnu_ld" = yes; then
++    case `/usr/bin/file conftest.$ac_objext` in
++    *32-bit*)
++      LD="${LD-ld} -melf32bsmip"
++      ;;
++    *N32*)
++      LD="${LD-ld} -melf32bmipn32"
++      ;;
++    *64-bit*)
++      LD="${LD-ld} -melf64bmip"
++      ;;
++    esac
++   else
++    case `/usr/bin/file conftest.$ac_objext` in
++    *32-bit*)
++      LD="${LD-ld} -32"
++      ;;
++    *N32*)
++      LD="${LD-ld} -n32"
++      ;;
++    *64-bit*)
++      LD="${LD-ld} -64"
++      ;;
++    esac
++   fi
++  fi
++  rm -rf conftest*
++  ;;
++
++x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
++  # Find out which ABI we are using.
++  echo 'int i;' > conftest.$ac_ext
++  if AC_TRY_EVAL(ac_compile); then
++    case "`/usr/bin/file conftest.o`" in
++    *32-bit*)
++      case $host in
++        x86_64-*linux*)
++          LD="${LD-ld} -m elf_i386"
++          ;;
++        ppc64-*linux*|powerpc64-*linux*)
++          LD="${LD-ld} -m elf32ppclinux"
++          ;;
++        s390x-*linux*)
++          LD="${LD-ld} -m elf_s390"
++          ;;
++        sparc64-*linux*)
++          LD="${LD-ld} -m elf32_sparc"
++          ;;
++      esac
++      ;;
++    *64-bit*)
++      case $host in
++        x86_64-*linux*)
++          LD="${LD-ld} -m elf_x86_64"
++          ;;
++        ppc*-*linux*|powerpc*-*linux*)
++          LD="${LD-ld} -m elf64ppc"
++          ;;
++        s390*-*linux*)
++          LD="${LD-ld} -m elf64_s390"
++          ;;
++        sparc*-*linux*)
++          LD="${LD-ld} -m elf64_sparc"
++          ;;
++      esac
++      ;;
++    esac
++  fi
++  rm -rf conftest*
++  ;;
++
++*-*-sco3.2v5*)
++  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
++  SAVE_CFLAGS="$CFLAGS"
++  CFLAGS="$CFLAGS -belf"
++  AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
++    [AC_LANG_PUSH(C)
++     AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
++     AC_LANG_POP])
++  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
++    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
++    CFLAGS="$SAVE_CFLAGS"
++  fi
++  ;;
++AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
++[*-*-cygwin* | *-*-mingw* | *-*-pw32*)
++  AC_CHECK_TOOL(DLLTOOL, dlltool, false)
++  AC_CHECK_TOOL(AS, as, false)
++  AC_CHECK_TOOL(OBJDUMP, objdump, false)
++  ;;
++  ])
++esac
++
++need_locks="$enable_libtool_lock"
++
++])# _LT_AC_LOCK
++
++
++# AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
++#		[OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
++# ----------------------------------------------------------------
++# Check whether the given compiler option works
++AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION],
++[AC_REQUIRE([LT_AC_PROG_SED])
++AC_CACHE_CHECK([$1], [$2],
++  [$2=no
++  ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
++   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
++   lt_compiler_flag="$3"
++   # Insert the option either (1) after the last *FLAGS variable, or
++   # (2) before a word containing "conftest.", or (3) at the end.
++   # Note that $ac_compile itself does not contain backslashes and begins
++   # with a dollar sign (not a hyphen), so the echo should work correctly.
++   # The option is referenced via a variable to avoid confusing sed.
++   lt_compile=`echo "$ac_compile" | $SED \
++   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
++   -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
++   -e 's:$: $lt_compiler_flag:'`
++   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
++   (eval "$lt_compile" 2>conftest.err)
++   ac_status=$?
++   cat conftest.err >&AS_MESSAGE_LOG_FD
++   echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
++   if (exit $ac_status) && test -s "$ac_outfile"; then
++     # The compiler can only warn and ignore the option if not recognized
++     # So say no if there are warnings
++     if test ! -s conftest.err; then
++       $2=yes
++     fi
++   fi
++   $rm conftest*
++])
++
++if test x"[$]$2" = xyes; then
++    ifelse([$5], , :, [$5])
++else
++    ifelse([$6], , :, [$6])
++fi
++])# AC_LIBTOOL_COMPILER_OPTION
++
++
++# AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
++#                          [ACTION-SUCCESS], [ACTION-FAILURE])
++# ------------------------------------------------------------
++# Check whether the given compiler option works
++AC_DEFUN([AC_LIBTOOL_LINKER_OPTION],
++[AC_CACHE_CHECK([$1], [$2],
++  [$2=no
++   save_LDFLAGS="$LDFLAGS"
++   LDFLAGS="$LDFLAGS $3"
++   printf "$lt_simple_link_test_code" > conftest.$ac_ext
++   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
++     # The compiler can only warn and ignore the option if not recognized
++     # So say no if there are warnings
++     if test -s conftest.err; then
++       # Append any errors to the config.log.
++       cat conftest.err 1>&AS_MESSAGE_LOG_FD
++     else
++       $2=yes
++     fi
++   fi
++   $rm conftest*
++   LDFLAGS="$save_LDFLAGS"
++])
++
++if test x"[$]$2" = xyes; then
++    ifelse([$4], , :, [$4])
++else
++    ifelse([$5], , :, [$5])
++fi
++])# AC_LIBTOOL_LINKER_OPTION
++
++
++# AC_LIBTOOL_SYS_MAX_CMD_LEN
++# --------------------------
++AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN],
++[# find the maximum length of command line arguments
++AC_MSG_CHECKING([the maximum length of command line arguments])
++AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
++  i=0
++  testring="ABCD"
++
++  case $build_os in
++  msdosdjgpp*)
++    # On DJGPP, this test can blow up pretty badly due to problems in libc
++    # (any single argument exceeding 2000 bytes causes a buffer overrun
++    # during glob expansion).  Even if it were fixed, the result of this
++    # check would be larger than it should be.
++    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
++    ;;
++
++  gnu*)
++    # Under GNU Hurd, this test is not required because there is
++    # no limit to the length of command line arguments.
++    # Libtool will interpret -1 as no limit whatsoever
++    lt_cv_sys_max_cmd_len=-1;
++    ;;
++
++  cygwin* | mingw*)
++    # On Win9x/ME, this test blows up -- it succeeds, but takes
++    # about 5 minutes as the teststring grows exponentially.
++    # Worse, since 9x/ME are not pre-emptively multitasking,
++    # you end up with a "frozen" computer, even though with patience
++    # the test eventually succeeds (with a max line length of 256k).
++    # Instead, let's just punt: use the minimum linelength reported by
++    # all of the supported platforms: 8192 (on NT/2K/XP).
++    lt_cv_sys_max_cmd_len=8192;
++    ;;
++
++  amigaos*)
++    # On AmigaOS with pdksh, this test takes hours, literally.
++    # So we just punt and use a minimum line length of 8192.
++    lt_cv_sys_max_cmd_len=8192;
++    ;;
++
++ *)
++    # If test is not a shell built-in, we'll probably end up computing a
++    # maximum length that is only half of the actual maximum length, but
++    # we can't tell.
++    while (test "X"`$CONFIG_SHELL [$]0 --fallback-echo "X$testring" 2>/dev/null` \
++	       = "XX$testring") >/dev/null 2>&1 &&
++	    new_result=`expr "X$testring" : ".*" 2>&1` &&
++	    lt_cv_sys_max_cmd_len=$new_result &&
++	    test $i != 17 # 1/2 MB should be enough
++    do
++      i=`expr $i + 1`
++      testring=$testring$testring
++    done
++    testring=
++    # Add a significant safety factor because C++ compilers can tack on massive
++    # amounts of additional arguments before passing them to the linker.
++    # It appears as though 1/2 is a usable value.
++    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
++    ;;
++  esac
++])
++if test -n $lt_cv_sys_max_cmd_len ; then
++  AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
++else
++  AC_MSG_RESULT(none)
++fi
++])# AC_LIBTOOL_SYS_MAX_CMD_LEN
++
++
++# _LT_AC_CHECK_DLFCN
++# --------------------
++AC_DEFUN([_LT_AC_CHECK_DLFCN],
++[AC_CHECK_HEADERS(dlfcn.h)dnl
++])# _LT_AC_CHECK_DLFCN
++
++
++# _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
++#                           ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
++# ------------------------------------------------------------------
++AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF],
++[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
++if test "$cross_compiling" = yes; then :
++  [$4]
++else
++  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
++  lt_status=$lt_dlunknown
++  cat > conftest.$ac_ext <<EOF
++[#line __oline__ "configure"
++#include "confdefs.h"
++
++#if HAVE_DLFCN_H
++#include <dlfcn.h>
++#endif
++
++#include <stdio.h>
++
++#ifdef RTLD_GLOBAL
++#  define LT_DLGLOBAL		RTLD_GLOBAL
++#else
++#  ifdef DL_GLOBAL
++#    define LT_DLGLOBAL		DL_GLOBAL
++#  else
++#    define LT_DLGLOBAL		0
++#  endif
++#endif
+ 
+ /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
+    find out it does not work in some platform. */
+@@ -1672,10 +1859,12 @@
+ rm -fr conftest*
+ ])# _LT_AC_TRY_DLOPEN_SELF
+ 
++
+ # AC_LIBTOOL_DLOPEN_SELF
+ # -------------------
+ AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF],
+-[if test "x$enable_dlopen" != xyes; then
++[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
++if test "x$enable_dlopen" != xyes; then
+   enable_dlopen=unknown
+   enable_dlopen_self=unknown
+   enable_dlopen_self_static=unknown
+@@ -1690,24 +1879,39 @@
+     lt_cv_dlopen_self=yes
+     ;;
+ 
+-  cygwin* | mingw* | pw32*)
++  mingw* | pw32*)
+     lt_cv_dlopen="LoadLibrary"
+     lt_cv_dlopen_libs=
+    ;;
+ 
++  cygwin*)
++    lt_cv_dlopen="dlopen"
++    lt_cv_dlopen_libs=
++   ;;
++
++  darwin*)
++  # if libdl is installed we need to link against it
++    AC_CHECK_LIB([dl], [dlopen],
++		[lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
++    lt_cv_dlopen="dyld"
++    lt_cv_dlopen_libs=
++    lt_cv_dlopen_self=yes
++    ])
++   ;;
++    
+   *)
+     AC_CHECK_FUNC([shl_load],
+-          [lt_cv_dlopen="shl_load"],
++	  [lt_cv_dlopen="shl_load"],
+       [AC_CHECK_LIB([dld], [shl_load],
+-            [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"],
++	    [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"],
+ 	[AC_CHECK_FUNC([dlopen],
+ 	      [lt_cv_dlopen="dlopen"],
+ 	  [AC_CHECK_LIB([dl], [dlopen],
+-	        [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
++		[lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
+ 	    [AC_CHECK_LIB([svld], [dlopen],
+-	          [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
++		  [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
+ 	      [AC_CHECK_LIB([dld], [dld_link],
+-	            [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
++		    [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
+ 	      ])
+ 	    ])
+ 	  ])
+@@ -1725,7 +1929,6 @@
+   case $lt_cv_dlopen in
+   dlopen)
+     save_CPPFLAGS="$CPPFLAGS"
+-    AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
+     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
+ 
+     save_LDFLAGS="$LDFLAGS"
+@@ -1769,710 +1972,1843 @@
+ fi
+ ])# AC_LIBTOOL_DLOPEN_SELF
+ 
+-AC_DEFUN([_LT_AC_LTCONFIG_HACK],
+-[AC_REQUIRE([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])dnl
+-# Sed substitution that helps us do robust quoting.  It backslashifies
+-# metacharacters that are still active within double-quoted strings.
+-Xsed='sed -e s/^X//'
+-sed_quote_subst='s/\([[\\"\\`$\\\\]]\)/\\\1/g'
+-
+-# Same as above, but do not quote variable references.
+-double_quote_subst='s/\([[\\"\\`\\\\]]\)/\\\1/g'
+-
+-# Sed substitution to delay expansion of an escaped shell variable in a
+-# double_quote_subst'ed string.
+-delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
+ 
+-# Constants:
+-rm="rm -f"
++# AC_LIBTOOL_PROG_CC_C_O([TAGNAME])
++# ---------------------------------
++# Check to see if options -c and -o are simultaneously supported by compiler
++AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O],
++[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
++AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
++  [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
++  [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
++   $rm -r conftest 2>/dev/null
++   mkdir conftest
++   cd conftest
++   mkdir out
++   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
++
++   # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
++   # that will create temporary files in the current directory regardless of
++   # the output directory.  Thus, making CWD read-only will cause this test
++   # to fail, enabling locking or at least warning the user not to do parallel
++   # builds.
++   chmod -w .
++
++   lt_compiler_flag="-o out/conftest2.$ac_objext"
++   # Insert the option either (1) after the last *FLAGS variable, or
++   # (2) before a word containing "conftest.", or (3) at the end.
++   # Note that $ac_compile itself does not contain backslashes and begins
++   # with a dollar sign (not a hyphen), so the echo should work correctly.
++   lt_compile=`echo "$ac_compile" | $SED \
++   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
++   -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
++   -e 's:$: $lt_compiler_flag:'`
++   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
++   (eval "$lt_compile" 2>out/conftest.err)
++   ac_status=$?
++   cat out/conftest.err >&AS_MESSAGE_LOG_FD
++   echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
++   if (exit $ac_status) && test -s out/conftest2.$ac_objext
++   then
++     # The compiler can only warn and ignore the option if not recognized
++     # So say no if there are warnings
++     if test ! -s out/conftest.err; then
++       _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
++     fi
++   fi
++   chmod u+w .
++   $rm conftest*
++   # SGI C++ compiler will create directory out/ii_files/ for
++   # template instantiation
++   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
++   $rm out/* && rmdir out
++   cd ..
++   rmdir conftest
++   $rm conftest*
++])
++])# AC_LIBTOOL_PROG_CC_C_O
+ 
+-# Global variables:
+-default_ofile=libtool
+-can_build_shared=yes
+ 
+-# All known linkers require a `.a' archive for static linking (except M$VC,
+-# which needs '.lib').
+-libext=a
+-ltmain="$ac_aux_dir/ltmain.sh"
+-ofile="$default_ofile"
+-with_gnu_ld="$lt_cv_prog_gnu_ld"
+-need_locks="$enable_libtool_lock"
++# AC_LIBTOOL_SYS_HARD_LINK_LOCKS([TAGNAME])
++# -----------------------------------------
++# Check to see if we can do hard links to lock some files if needed
++AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS],
++[AC_REQUIRE([_LT_AC_LOCK])dnl
+ 
+-old_CC="$CC"
+-old_CFLAGS="$CFLAGS"
++hard_links="nottested"
++if test "$_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
++  # do not overwrite the value of need_locks provided by the user
++  AC_MSG_CHECKING([if we can lock with hard links])
++  hard_links=yes
++  $rm conftest*
++  ln conftest.a conftest.b 2>/dev/null && hard_links=no
++  touch conftest.a
++  ln conftest.a conftest.b 2>&5 || hard_links=no
++  ln conftest.a conftest.b 2>/dev/null && hard_links=no
++  AC_MSG_RESULT([$hard_links])
++  if test "$hard_links" = no; then
++    AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe])
++    need_locks=warn
++  fi
++else
++  need_locks=no
++fi
++])# AC_LIBTOOL_SYS_HARD_LINK_LOCKS
+ 
+-# Set sane defaults for various variables
+-test -z "$AR" && AR=ar
+-test -z "$AR_FLAGS" && AR_FLAGS=cru
+-test -z "$AS" && AS=as
+-test -z "$CC" && CC=cc
+-test -z "$DLLTOOL" && DLLTOOL=dlltool
+-test -z "$LD" && LD=ld
+-test -z "$LN_S" && LN_S="ln -s"
+-test -z "$MAGIC_CMD" && MAGIC_CMD=file
+-test -z "$NM" && NM=nm
+-test -z "$OBJDUMP" && OBJDUMP=objdump
+-test -z "$RANLIB" && RANLIB=:
+-test -z "$STRIP" && STRIP=:
+-test -z "$ac_objext" && ac_objext=o
+ 
+-if test x"$host" != x"$build"; then
+-  ac_tool_prefix=${host_alias}-
++# AC_LIBTOOL_OBJDIR
++# -----------------
++AC_DEFUN([AC_LIBTOOL_OBJDIR],
++[AC_CACHE_CHECK([for objdir], [lt_cv_objdir],
++[rm -f .libs 2>/dev/null
++mkdir .libs 2>/dev/null
++if test -d .libs; then
++  lt_cv_objdir=.libs
+ else
+-  ac_tool_prefix=
++  # MS-DOS does not allow filenames that begin with a dot.
++  lt_cv_objdir=_libs
+ fi
++rmdir .libs 2>/dev/null])
++objdir=$lt_cv_objdir
++])# AC_LIBTOOL_OBJDIR
+ 
+-# Transform linux* to *-*-linux-gnu*, to support old configure scripts.
+-case $host_os in
+-linux-gnu*) ;;
+-linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
+-esac
+ 
+-case $host_os in
+-aix3*)
+-  # AIX sometimes has problems with the GCC collect2 program.  For some
+-  # reason, if we set the COLLECT_NAMES environment variable, the problems
+-  # vanish in a puff of smoke.
+-  if test "X${COLLECT_NAMES+set}" != Xset; then
+-    COLLECT_NAMES=
+-    export COLLECT_NAMES
++# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([TAGNAME])
++# ----------------------------------------------
++# Check hardcoding attributes.
++AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH],
++[AC_MSG_CHECKING([how to hardcode library paths into programs])
++_LT_AC_TAGVAR(hardcode_action, $1)=
++if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \
++   test -n "$_LT_AC_TAGVAR(runpath_var $1)" || \
++   test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)"="Xyes" ; then
++
++  # We can hardcode non-existant directories.
++  if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no &&
++     # If the only mechanism to avoid hardcoding is shlibpath_var, we
++     # have to relink, otherwise we might link with an installed library
++     # when we should be linking with a yet-to-be-installed one
++     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
++     test "$_LT_AC_TAGVAR(hardcode_minus_L, $1)" != no; then
++    # Linking always hardcodes the temporary library directory.
++    _LT_AC_TAGVAR(hardcode_action, $1)=relink
++  else
++    # We can link without hardcoding, and we can hardcode nonexisting dirs.
++    _LT_AC_TAGVAR(hardcode_action, $1)=immediate
+   fi
+-  ;;
+-esac
++else
++  # We cannot hardcode anything, or else we can only hardcode existing
++  # directories.
++  _LT_AC_TAGVAR(hardcode_action, $1)=unsupported
++fi
++AC_MSG_RESULT([$_LT_AC_TAGVAR(hardcode_action, $1)])
+ 
+-# Determine commands to create old-style static archives.
+-old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
+-old_postinstall_cmds='chmod 644 $oldlib'
+-old_postuninstall_cmds=
++if test "$_LT_AC_TAGVAR(hardcode_action, $1)" = relink; then
++  # Fast installation is not supported
++  enable_fast_install=no
++elif test "$shlibpath_overrides_runpath" = yes ||
++     test "$enable_shared" = no; then
++  # Fast installation is not necessary
++  enable_fast_install=needless
++fi
++])# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH
+ 
+-if test -n "$RANLIB"; then
++
++# AC_LIBTOOL_SYS_LIB_STRIP
++# ------------------------
++AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP],
++[striplib=
++old_striplib=
++AC_MSG_CHECKING([whether stripping libraries is possible])
++if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
++  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
++  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
++  AC_MSG_RESULT([yes])
++else
++# FIXME - insert some real tests, host_os isn't really good enough
+   case $host_os in
+-  openbsd*)
+-    old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
+-    ;;
+-  *)
+-    old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
++   darwin*)
++       if test -n "$STRIP" ; then
++         striplib="$STRIP -x"
++         AC_MSG_RESULT([yes])
++       else
++  AC_MSG_RESULT([no])
++fi
++       ;;
++   *)
++  AC_MSG_RESULT([no])
+     ;;
+-  esac
+-  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
++  esac  
+ fi
++])# AC_LIBTOOL_SYS_LIB_STRIP
+ 
+-# Allow CC to be a program name with arguments.
+-set dummy $CC
+-compiler="[$]2"
+ 
+-AC_MSG_CHECKING([for objdir])
+-rm -f .libs 2>/dev/null
+-mkdir .libs 2>/dev/null
+-if test -d .libs; then
+-  objdir=.libs
++# AC_LIBTOOL_SYS_DYNAMIC_LINKER
++# -----------------------------
++# PORTME Fill in your ld.so characteristics
++AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER],
++[AC_MSG_CHECKING([dynamic linker characteristics])
++library_names_spec=
++libname_spec='lib$name'
++soname_spec=
++shrext=".so"
++postinstall_cmds=
++postuninstall_cmds=
++finish_cmds=
++finish_eval=
++shlibpath_var=
++shlibpath_overrides_runpath=unknown
++version_type=none
++dynamic_linker="$host_os ld.so"
++sys_lib_dlsearch_path_spec="/lib /usr/lib"
++if test "$GCC" = yes; then
++  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
++  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
++    # if the path contains ";" then we assume it to be the separator
++    # otherwise default to the standard path separator (i.e. ":") - it is
++    # assumed that no part of a normal pathname contains ";" but that should
++    # okay in the real world where ";" in dirpaths is itself problematic.
++    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
++  else
++    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
++  fi
+ else
+-  # MS-DOS does not allow filenames that begin with a dot.
+-  objdir=_libs
++  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
+ fi
+-rmdir .libs 2>/dev/null
+-AC_MSG_RESULT($objdir)
++need_lib_prefix=unknown
++hardcode_into_libs=no
+ 
++# when you set need_version to no, make sure it does not cause -set_version
++# flags to be left without arguments
++need_version=unknown
+ 
+-AC_ARG_WITH(pic,
+-[  --with-pic              try to use only PIC/non-PIC objects [default=use both]],
+-pic_mode="$withval", pic_mode=default)
+-test -z "$pic_mode" && pic_mode=default
++case $host_os in
++aix3*)
++  version_type=linux
++  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
++  shlibpath_var=LIBPATH
+ 
+-# We assume here that the value for lt_cv_prog_cc_pic will not be cached
+-# in isolation, and that seeing it set (from the cache) indicates that
+-# the associated values are set (in the cache) correctly too.
+-AC_MSG_CHECKING([for $compiler option to produce PIC])
+-AC_CACHE_VAL(lt_cv_prog_cc_pic,
+-[ lt_cv_prog_cc_pic=
+-  lt_cv_prog_cc_shlib=
+-  lt_cv_prog_cc_wl=
+-  lt_cv_prog_cc_static=
+-  lt_cv_prog_cc_no_builtin=
+-  lt_cv_prog_cc_can_build_shared=$can_build_shared
++  # AIX 3 has no versioning support, so we append a major version to the name.
++  soname_spec='${libname}${release}${shared_ext}$major'
++  ;;
+ 
+-  if test "$GCC" = yes; then
+-    lt_cv_prog_cc_wl='-Wl,'
+-    lt_cv_prog_cc_static='-static'
+-
+-    case $host_os in
+-    aix*)
+-      # Below there is a dirty hack to force normal static linking with -ldl
+-      # The problem is because libdl dynamically linked with both libc and
+-      # libC (AIX C++ library), which obviously doesn't included in libraries
+-      # list by gcc. This cause undefined symbols with -static flags.
+-      # This hack allows C programs to be linked with "-static -ldl", but
+-      # not sure about C++ programs.
+-      lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC"
+-      ;;
+-    amigaos*)
+-      # FIXME: we need at least 68020 code to build shared libraries, but
+-      # adding the `-m68020' flag to GCC prevents building anything better,
+-      # like `-m68040'.
+-      lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4'
+-      ;;
+-    beos* | irix5* | irix6* | osf3* | osf4* | osf5*)
+-      # PIC is the default for these OSes.
+-      ;;
+-    darwin* | rhapsody*)
+-      # PIC is the default on this platform
+-      # Common symbols not allowed in MH_DYLIB files
+-      lt_cv_prog_cc_pic='-fno-common'
+-      ;;
+-    cygwin* | mingw* | pw32* | os2*)
+-      # This hack is so that the source file can tell whether it is being
+-      # built for inclusion in a dll (and should export symbols for example).
+-      lt_cv_prog_cc_pic='-DDLL_EXPORT'
+-      ;;
+-    sysv4*MP*)
+-      if test -d /usr/nec; then
+-	 lt_cv_prog_cc_pic=-Kconform_pic
+-      fi
+-      ;;
+-    *)
+-      lt_cv_prog_cc_pic='-fPIC'
+-      ;;
+-    esac
++aix4* | aix5*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  hardcode_into_libs=yes
++  if test "$host_cpu" = ia64; then
++    # AIX 5 supports IA64
++    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
++    shlibpath_var=LD_LIBRARY_PATH
+   else
+-    # PORTME Check for PIC flags for the system compiler.
++    # With GCC up to 2.95.x, collect2 would create an import file
++    # for dependence libraries.  The import file would start with
++    # the line `#! .'.  This would cause the generated library to
++    # depend on `.', always an invalid library.  This was fixed in
++    # development snapshots of GCC prior to 3.0.
+     case $host_os in
+-    aix3* | aix4* | aix5*)
+-      lt_cv_prog_cc_wl='-Wl,'
+-      # All AIX code is PIC.
+-      if test "$host_cpu" = ia64; then
+-	# AIX 5 now supports IA64 processor
+-	lt_cv_prog_cc_static='-Bstatic'
++      aix4 | aix4.[[01]] | aix4.[[01]].*)
++      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
++	   echo ' yes '
++	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
++	:
+       else
+-	lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp'
++	can_build_shared=no
+       fi
+       ;;
++    esac
++    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
++    # soname into executable. Probably we can add versioning support to
++    # collect2, so additional links can be useful in future.
++    if test "$aix_use_runtimelinking" = yes; then
++      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
++      # instead of lib<name>.a to let people know that these are not
++      # typical AIX shared libraries.
++      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++    else
++      # We preserve .a as extension for shared libraries through AIX4.2
++      # and later when we are not doing run time linking.
++      library_names_spec='${libname}${release}.a $libname.a'
++      soname_spec='${libname}${release}${shared_ext}$major'
++    fi
++    shlibpath_var=LIBPATH
++  fi
++  ;;
+ 
+-    hpux9* | hpux10* | hpux11*)
+-      # Is there a better lt_cv_prog_cc_static that works with the bundled CC?
+-      lt_cv_prog_cc_wl='-Wl,'
+-      lt_cv_prog_cc_static="${lt_cv_prog_cc_wl}-a ${lt_cv_prog_cc_wl}archive"
+-      lt_cv_prog_cc_pic='+Z'
+-      ;;
+-
+-    irix5* | irix6*)
+-      lt_cv_prog_cc_wl='-Wl,'
+-      lt_cv_prog_cc_static='-non_shared'
+-      # PIC (with -KPIC) is the default.
+-      ;;
+-
+-    cygwin* | mingw* | pw32* | os2*)
+-      # This hack is so that the source file can tell whether it is being
+-      # built for inclusion in a dll (and should export symbols for example).
+-      lt_cv_prog_cc_pic='-DDLL_EXPORT'
+-      ;;
++amigaos*)
++  library_names_spec='$libname.ixlibrary $libname.a'
++  # Create ${libname}_ixlibrary.a entries in /sys/libs.
++  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
++  ;;
+ 
+-    newsos6)
+-      lt_cv_prog_cc_pic='-KPIC'
+-      lt_cv_prog_cc_static='-Bstatic'
+-      ;;
++beos*)
++  library_names_spec='${libname}${shared_ext}'
++  dynamic_linker="$host_os ld.so"
++  shlibpath_var=LIBRARY_PATH
++  ;;
+ 
+-    osf3* | osf4* | osf5*)
+-      # All OSF/1 code is PIC.
+-      lt_cv_prog_cc_wl='-Wl,'
+-      lt_cv_prog_cc_static='-non_shared'
+-      ;;
++bsdi4*)
++  version_type=linux
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
++  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
++  # the default ld.so.conf also contains /usr/contrib/lib and
++  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
++  # libtool to hard-code these into programs
++  ;;
+ 
+-    sco3.2v5*)
+-      lt_cv_prog_cc_pic='-Kpic'
+-      lt_cv_prog_cc_static='-dn'
+-      lt_cv_prog_cc_shlib='-belf'
+-      ;;
++cygwin* | mingw* | pw32*)
++  version_type=windows
++  shrext=".dll"
++  need_version=no
++  need_lib_prefix=no
+ 
+-    solaris*)
+-      lt_cv_prog_cc_pic='-KPIC'
+-      lt_cv_prog_cc_static='-Bstatic'
+-      lt_cv_prog_cc_wl='-Wl,'
+-      ;;
++  case $GCC,$host_os in
++  yes,cygwin* | yes,mingw* | yes,pw32*)
++    library_names_spec='$libname.dll.a'
++    # DLL is installed to $(libdir)/../bin by postinstall_cmds
++    postinstall_cmds='base_file=`basename \${file}`~
++      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
++      dldir=$destdir/`dirname \$dlpath`~
++      test -d \$dldir || mkdir -p \$dldir~
++      $install_prog $dir/$dlname \$dldir/$dlname'
++    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
++      dlpath=$dir/\$dldll~
++       $rm \$dlpath'
++    shlibpath_overrides_runpath=yes
+ 
+-    sunos4*)
+-      lt_cv_prog_cc_pic='-PIC'
+-      lt_cv_prog_cc_static='-Bstatic'
+-      lt_cv_prog_cc_wl='-Qoption ld '
++    case $host_os in
++    cygwin*)
++      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
++      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
++      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
+       ;;
+-
+-    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
+-      lt_cv_prog_cc_pic='-KPIC'
+-      lt_cv_prog_cc_static='-Bstatic'
+-      if test "x$host_vendor" = xsni; then
+-	lt_cv_prog_cc_wl='-LD'
++    mingw*)
++      # MinGW DLLs use traditional 'lib' prefix
++      soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
++      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
++      if echo "$sys_lib_search_path_spec" | [grep ';[c-zC-Z]:/' >/dev/null]; then
++        # It is most probably a Windows format PATH printed by
++        # mingw gcc, but we are running on Cygwin. Gcc prints its search
++        # path with ; separators, and with drive letters. We can handle the
++        # drive letters (cygwin fileutils understands them), so leave them,
++        # especially as we might pass files found there to a mingw objdump,
++        # which wouldn't understand a cygwinified path. Ahh.
++        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
+       else
+-	lt_cv_prog_cc_wl='-Wl,'
+-      fi
+-      ;;
+-
+-    uts4*)
+-      lt_cv_prog_cc_pic='-pic'
+-      lt_cv_prog_cc_static='-Bstatic'
+-      ;;
+-
+-    sysv4*MP*)
+-      if test -d /usr/nec ;then
+-	lt_cv_prog_cc_pic='-Kconform_pic'
+-	lt_cv_prog_cc_static='-Bstatic'
++        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
+       fi
+       ;;
+-
+-    *)
+-      lt_cv_prog_cc_can_build_shared=no
++    pw32*)
++      # pw32 DLLs use 'pw' prefix rather than 'lib'
++      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
+       ;;
+     esac
+-  fi
+-])
+-if test -z "$lt_cv_prog_cc_pic"; then
+-  AC_MSG_RESULT([none])
+-else
+-  AC_MSG_RESULT([$lt_cv_prog_cc_pic])
+-
+-  # Check to make sure the pic_flag actually works.
+-  AC_MSG_CHECKING([if $compiler PIC flag $lt_cv_prog_cc_pic works])
+-  AC_CACHE_VAL(lt_cv_prog_cc_pic_works, [dnl
+-    save_CFLAGS="$CFLAGS"
+-    CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"
+-    AC_TRY_COMPILE([], [], [dnl
+-      case $host_os in
+-      hpux9* | hpux10* | hpux11*)
+-	# On HP-UX, both CC and GCC only warn that PIC is supported... then
+-	# they create non-PIC objects.  So, if there were any warnings, we
+-	# assume that PIC is not supported.
+-	if test -s conftest.err; then
+-	  lt_cv_prog_cc_pic_works=no
+-	else
+-	  lt_cv_prog_cc_pic_works=yes
+-	fi
+-	;;
+-      *)
+-	lt_cv_prog_cc_pic_works=yes
+-	;;
+-      esac
+-    ], [dnl
+-      lt_cv_prog_cc_pic_works=no
+-    ])
+-    CFLAGS="$save_CFLAGS"
+-  ])
+-
+-  if test "X$lt_cv_prog_cc_pic_works" = Xno; then
+-    lt_cv_prog_cc_pic=
+-    lt_cv_prog_cc_can_build_shared=no
+-  else
+-    lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic"
+-  fi
+-
+-  AC_MSG_RESULT([$lt_cv_prog_cc_pic_works])
+-fi
+-
+-# Check for any special shared library compilation flags.
+-if test -n "$lt_cv_prog_cc_shlib"; then
+-  AC_MSG_WARN([\`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries])
+-  if echo "$old_CC $old_CFLAGS " | egrep -e "[[ 	]]$lt_cv_prog_cc_shlib[[ 	]]" >/dev/null; then :
+-  else
+-   AC_MSG_WARN([add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure])
+-    lt_cv_prog_cc_can_build_shared=no
+-  fi
+-fi
+-
+-AC_MSG_CHECKING([if $compiler static flag $lt_cv_prog_cc_static works])
+-AC_CACHE_VAL([lt_cv_prog_cc_static_works], [dnl
+-  lt_cv_prog_cc_static_works=no
+-  save_LDFLAGS="$LDFLAGS"
+-  LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"
+-  AC_TRY_LINK([], [], [lt_cv_prog_cc_static_works=yes])
+-  LDFLAGS="$save_LDFLAGS"
+-])
+-
+-# Belt *and* braces to stop my trousers falling down:
+-test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static=
+-AC_MSG_RESULT([$lt_cv_prog_cc_static_works])
+-
+-pic_flag="$lt_cv_prog_cc_pic"
+-special_shlib_compile_flags="$lt_cv_prog_cc_shlib"
+-wl="$lt_cv_prog_cc_wl"
+-link_static_flag="$lt_cv_prog_cc_static"
+-no_builtin_flag="$lt_cv_prog_cc_no_builtin"
+-can_build_shared="$lt_cv_prog_cc_can_build_shared"
+-
+-
+-# Check to see if options -o and -c are simultaneously supported by compiler
+-AC_MSG_CHECKING([if $compiler supports -c -o file.$ac_objext])
+-AC_CACHE_VAL([lt_cv_compiler_c_o], [
+-$rm -r conftest 2>/dev/null
+-mkdir conftest
+-cd conftest
+-echo "int some_variable = 0;" > conftest.$ac_ext
+-mkdir out
+-# According to Tom Tromey, Ian Lance Taylor reported there are C compilers
+-# that will create temporary files in the current directory regardless of
+-# the output directory.  Thus, making CWD read-only will cause this test
+-# to fail, enabling locking or at least warning the user not to do parallel
+-# builds.
+-chmod -w .
+-save_CFLAGS="$CFLAGS"
+-CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
+-compiler_c_o=no
+-if { (eval echo configure:__oline__: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
+-  # The compiler can only warn and ignore the option if not recognized
+-  # So say no if there are warnings
+-  if test -s out/conftest.err; then
+-    lt_cv_compiler_c_o=no
+-  else
+-    lt_cv_compiler_c_o=yes
+-  fi
+-else
+-  # Append any errors to the config.log.
+-  cat out/conftest.err 1>&AC_FD_CC
+-  lt_cv_compiler_c_o=no
+-fi
+-CFLAGS="$save_CFLAGS"
+-chmod u+w .
+-$rm conftest* out/*
+-rmdir out
+-cd ..
+-rmdir conftest
+-$rm -r conftest 2>/dev/null
+-])
+-compiler_c_o=$lt_cv_compiler_c_o
+-AC_MSG_RESULT([$compiler_c_o])
+-
+-if test x"$compiler_c_o" = x"yes"; then
+-  # Check to see if we can write to a .lo
+-  AC_MSG_CHECKING([if $compiler supports -c -o file.lo])
+-  AC_CACHE_VAL([lt_cv_compiler_o_lo], [
+-  lt_cv_compiler_o_lo=no
+-  save_CFLAGS="$CFLAGS"
+-  CFLAGS="$CFLAGS -c -o conftest.lo"
+-  save_objext="$ac_objext"
+-  ac_objext=lo
+-  AC_TRY_COMPILE([], [int some_variable = 0;], [dnl
+-    # The compiler can only warn and ignore the option if not recognized
+-    # So say no if there are warnings
+-    if test -s conftest.err; then
+-      lt_cv_compiler_o_lo=no
+-    else
+-      lt_cv_compiler_o_lo=yes
+-    fi
+-  ])
+-  ac_objext="$save_objext"
+-  CFLAGS="$save_CFLAGS"
+-  ])
+-  compiler_o_lo=$lt_cv_compiler_o_lo
+-  AC_MSG_RESULT([$compiler_o_lo])
+-else
+-  compiler_o_lo=no
+-fi
+-
+-# Check to see if we can do hard links to lock some files if needed
+-hard_links="nottested"
+-if test "$compiler_c_o" = no && test "$need_locks" != no; then
+-  # do not overwrite the value of need_locks provided by the user
+-  AC_MSG_CHECKING([if we can lock with hard links])
+-  hard_links=yes
+-  $rm conftest*
+-  ln conftest.a conftest.b 2>/dev/null && hard_links=no
+-  touch conftest.a
+-  ln conftest.a conftest.b 2>&5 || hard_links=no
+-  ln conftest.a conftest.b 2>/dev/null && hard_links=no
+-  AC_MSG_RESULT([$hard_links])
+-  if test "$hard_links" = no; then
+-    AC_MSG_WARN([\`$CC' does not support \`-c -o', so \`make -j' may be unsafe])
+-    need_locks=warn
+-  fi
+-else
+-  need_locks=no
+-fi
++    ;;
+ 
+-if test "$GCC" = yes; then
+-  # Check to see if options -fno-rtti -fno-exceptions are supported by compiler
+-  AC_MSG_CHECKING([if $compiler supports -fno-rtti -fno-exceptions])
+-  echo "int some_variable = 0;" > conftest.$ac_ext
+-  save_CFLAGS="$CFLAGS"
+-  CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"
+-  compiler_rtti_exceptions=no
+-  AC_TRY_COMPILE([], [int some_variable = 0;], [dnl
+-    # The compiler can only warn and ignore the option if not recognized
+-    # So say no if there are warnings
+-    if test -s conftest.err; then
+-      compiler_rtti_exceptions=no
+-    else
+-      compiler_rtti_exceptions=yes
+-    fi
+-  ])
+-  CFLAGS="$save_CFLAGS"
+-  AC_MSG_RESULT([$compiler_rtti_exceptions])
++  *)
++    library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
++    ;;
++  esac
++  dynamic_linker='Win32 ld.exe'
++  # FIXME: first we should search . and the directory the executable is in
++  shlibpath_var=PATH
++  ;;
+ 
+-  if test "$compiler_rtti_exceptions" = "yes"; then
+-    no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions'
++darwin* | rhapsody*)
++  dynamic_linker="$host_os dyld"
++  version_type=darwin
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
++  soname_spec='${libname}${release}${major}$shared_ext'
++  shlibpath_overrides_runpath=yes
++  shlibpath_var=DYLD_LIBRARY_PATH
++  shrext='$(test .$module = .yes && echo .so || echo .dylib)'
++  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
++  if test "$GCC" = yes; then
++    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
+   else
+-    no_builtin_flag=' -fno-builtin'
++    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
+   fi
+-fi
+-
+-# See if the linker supports building shared libraries.
+-AC_MSG_CHECKING([whether the linker ($LD) supports shared libraries])
+-
+-allow_undefined_flag=
+-no_undefined_flag=
+-need_lib_prefix=unknown
+-need_version=unknown
+-# when you set need_version to no, make sure it does not cause -set_version
+-# flags to be left without arguments
+-archive_cmds=
+-archive_expsym_cmds=
+-old_archive_from_new_cmds=
+-old_archive_from_expsyms_cmds=
+-export_dynamic_flag_spec=
+-whole_archive_flag_spec=
+-thread_safe_flag_spec=
+-hardcode_into_libs=no
+-hardcode_libdir_flag_spec=
+-hardcode_libdir_separator=
+-hardcode_direct=no
+-hardcode_minus_L=no
+-hardcode_shlibpath_var=unsupported
+-runpath_var=
+-link_all_deplibs=unknown
+-always_export_symbols=no
+-export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols'
+-# include_expsyms should be a list of space-separated symbols to be *always*
+-# included in the symbol list
+-include_expsyms=
+-# exclude_expsyms can be an egrep regular expression of symbols to exclude
+-# it will be wrapped by ` (' and `)$', so one must not match beginning or
+-# end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
+-# as well as any symbol that contains `d'.
+-exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
+-# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
+-# platforms (ab)use it in PIC code, but their linkers get confused if
+-# the symbol is explicitly referenced.  Since portable code cannot
+-# rely on this symbol name, it's probably fine to never include it in
+-# preloaded symbol tables.
+-extract_expsyms_cmds=
++  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
++  ;;
+ 
+-case $host_os in
+-cygwin* | mingw* | pw32*)
+-  # FIXME: the MSVC++ port hasn't been tested in a loooong time
+-  # When not using gcc, we currently assume that we are using
+-  # Microsoft Visual C++.
+-  if test "$GCC" != yes; then
+-    with_gnu_ld=no
+-  fi
++dgux*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
+   ;;
+-openbsd*)
+-  with_gnu_ld=no
++
++freebsd1*)
++  dynamic_linker=no
+   ;;
+-esac
+ 
+-ld_shlibs=yes
+-if test "$with_gnu_ld" = yes; then
+-  # If archive_cmds runs LD, not CC, wlarc should be empty
+-  wlarc='${wl}'
++kfreebsd*-gnu)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=no
++  hardcode_into_libs=yes
++  dynamic_linker='GNU ld.so'
++  ;;
+ 
+-  # See if GNU ld supports shared libraries.
++freebsd*)
++  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
++  version_type=freebsd-$objformat
++  case $version_type in
++    freebsd-elf*)
++      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
++      need_version=no
++      need_lib_prefix=no
++      ;;
++    freebsd-*)
++      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
++      need_version=yes
++      ;;
++  esac
++  shlibpath_var=LD_LIBRARY_PATH
+   case $host_os in
+-  aix3* | aix4* | aix5*)
+-    # On AIX, the GNU linker is very broken
+-    # Note:Check GNU linker on AIX 5-IA64 when/if it becomes available.
+-    ld_shlibs=no
+-    cat <<EOF 1>&2
+-
+-*** Warning: the GNU linker, at least up to release 2.9.1, is reported
+-*** to be unable to reliably create shared libraries on AIX.
+-*** Therefore, libtool is disabling shared libraries support.  If you
+-*** really care for shared libraries, you may want to modify your PATH
+-*** so that a non-GNU linker is found, and then restart.
+-
+-EOF
++  freebsd2*)
++    shlibpath_overrides_runpath=yes
+     ;;
+-
+-  amigaos*)
+-    archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
+-    hardcode_libdir_flag_spec='-L$libdir'
+-    hardcode_minus_L=yes
+-
+-    # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
+-    # that the semantics of dynamic libraries on AmigaOS, at least up
+-    # to version 4, is to share data among multiple programs linked
+-    # with the same dynamic library.  Since this doesn't match the
+-    # behavior of shared libraries on other platforms, we can use
+-    # them.
+-    ld_shlibs=no
++  freebsd3.[01]* | freebsdelf3.[01]*)
++    shlibpath_overrides_runpath=yes
++    hardcode_into_libs=yes
+     ;;
+-
+-  beos*)
+-    if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
+-      allow_undefined_flag=unsupported
+-      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
+-      # support --undefined.  This deserves some investigation.  FIXME
+-      archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++  *) # from 3.2 on
++    shlibpath_overrides_runpath=no
++    hardcode_into_libs=yes
++    ;;
++  esac
++  ;;
++
++gnu*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  hardcode_into_libs=yes
++  ;;
++
++hpux9* | hpux10* | hpux11*)
++  # Give a soname corresponding to the major version so that dld.sl refuses to
++  # link against other versions.
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=no
++  case "$host_cpu" in
++  ia64*)
++    shrext='.so'
++    hardcode_into_libs=yes
++    dynamic_linker="$host_os dld.so"
++    shlibpath_var=LD_LIBRARY_PATH
++    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
++    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++    soname_spec='${libname}${release}${shared_ext}$major'
++    if test "X$HPUX_IA64_MODE" = X32; then
++      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
+     else
+-      ld_shlibs=no
++      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
+     fi
++    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
++    ;;
++   hppa*64*)
++     shrext='.sl'
++     hardcode_into_libs=yes
++     dynamic_linker="$host_os dld.sl"
++     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
++     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
++     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++     soname_spec='${libname}${release}${shared_ext}$major'
++     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
++     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
++     ;;
++   *)
++    shrext='.sl'
++    dynamic_linker="$host_os dld.sl"
++    shlibpath_var=SHLIB_PATH
++    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
++    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++    soname_spec='${libname}${release}${shared_ext}$major'
++    ;;
++  esac
++  # HP-UX runs *really* slowly unless shared libraries are mode 555.
++  postinstall_cmds='chmod 555 $lib'
++  ;;
++
++irix5* | irix6* | nonstopux*)
++  case $host_os in
++    nonstopux*) version_type=nonstopux ;;
++    *)
++	if test "$lt_cv_prog_gnu_ld" = yes; then
++		version_type=linux
++	else
++		version_type=irix
++	fi ;;
++  esac
++  need_lib_prefix=no
++  need_version=no
++  soname_spec='${libname}${release}${shared_ext}$major'
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
++  case $host_os in
++  irix5* | nonstopux*)
++    libsuff= shlibsuff=
++    ;;
++  *)
++    case $LD in # libtool.m4 will add one of these switches to LD
++    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
++      libsuff= shlibsuff= libmagic=32-bit;;
++    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
++      libsuff=32 shlibsuff=N32 libmagic=N32;;
++    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
++      libsuff=64 shlibsuff=64 libmagic=64-bit;;
++    *) libsuff= shlibsuff= libmagic=never-match;;
++    esac
+     ;;
++  esac
++  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
++  shlibpath_overrides_runpath=no
++  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
++  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
++  hardcode_into_libs=yes
++  ;;
++
++# No shared lib support for Linux oldld, aout, or coff.
++linux*oldld* | linux*aout* | linux*coff*)
++  dynamic_linker=no
++  ;;
++
++# This must be Linux ELF.
++linux*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=no
++  # This implies no fast_install, which is unacceptable.
++  # Some rework will be needed to allow for fast_install
++  # before this can be enabled.
++  hardcode_into_libs=yes
++
++  # We used to test for /lib/ld.so.1 and disable shared libraries on
++  # powerpc, because MkLinux only supported shared libraries with the
++  # GNU dynamic linker.  Since this was broken with cross compilers,
++  # most powerpc-linux boxes support dynamic linking these days and
++  # people can always --disable-shared, the test was removed, and we
++  # assume the GNU/Linux dynamic linker is in use.
++  dynamic_linker='GNU/Linux ld.so'
++  ;;
++
++netbsd*)
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=no
++  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
++    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
++    dynamic_linker='NetBSD (a.out) ld.so'
++  else
++    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
++    soname_spec='${libname}${release}${shared_ext}$major'
++    dynamic_linker='NetBSD ld.elf_so'
++  fi
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  hardcode_into_libs=yes
++  ;;
++
++newsos6)
++  version_type=linux
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  ;;
++
++nto-qnx*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  ;;
++
++openbsd*)
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
++    case $host_os in
++      openbsd2.[[89]] | openbsd2.[[89]].*)
++	shlibpath_overrides_runpath=no
++	;;
++      *)
++	shlibpath_overrides_runpath=yes
++	;;
++      esac
++  else
++    shlibpath_overrides_runpath=yes
++  fi
++  ;;
++
++os2*)
++  libname_spec='$name'
++  shrext=".dll"
++  need_lib_prefix=no
++  library_names_spec='$libname${shared_ext} $libname.a'
++  dynamic_linker='OS/2 ld.exe'
++  shlibpath_var=LIBPATH
++  ;;
++
++osf3* | osf4* | osf5*)
++  version_type=osf
++  need_lib_prefix=no
++  need_version=no
++  soname_spec='${libname}${release}${shared_ext}$major'
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  shlibpath_var=LD_LIBRARY_PATH
++  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
++  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
++  ;;
++
++sco3.2v5*)
++  version_type=osf
++  soname_spec='${libname}${release}${shared_ext}$major'
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++solaris*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  hardcode_into_libs=yes
++  # ldd complains unless libraries are executable
++  postinstall_cmds='chmod +x $lib'
++  ;;
++
++sunos4*)
++  version_type=sunos
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
++  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  if test "$with_gnu_ld" = yes; then
++    need_lib_prefix=no
++  fi
++  need_version=yes
++  ;;
++
++sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
++  version_type=linux
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  case $host_vendor in
++    sni)
++      shlibpath_overrides_runpath=no
++      need_lib_prefix=no
++      export_dynamic_flag_spec='${wl}-Blargedynsym'
++      runpath_var=LD_RUN_PATH
++      ;;
++    siemens)
++      need_lib_prefix=no
++      ;;
++    motorola)
++      need_lib_prefix=no
++      need_version=no
++      shlibpath_overrides_runpath=no
++      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
++      ;;
++  esac
++  ;;
++
++sysv4*MP*)
++  if test -d /usr/nec ;then
++    version_type=linux
++    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
++    soname_spec='$libname${shared_ext}.$major'
++    shlibpath_var=LD_LIBRARY_PATH
++  fi
++  ;;
++
++uts4*)
++  version_type=linux
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++*)
++  dynamic_linker=no
++  ;;
++esac
++AC_MSG_RESULT([$dynamic_linker])
++test "$dynamic_linker" = no && can_build_shared=no
++])# AC_LIBTOOL_SYS_DYNAMIC_LINKER
++
++
++# _LT_AC_TAGCONFIG
++# ----------------
++AC_DEFUN([_LT_AC_TAGCONFIG],
++[AC_ARG_WITH([tags],
++    [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@],
++        [include additional configurations @<:@automatic@:>@])],
++    [tagnames="$withval"])
++
++if test -f "$ltmain" && test -n "$tagnames"; then
++  if test ! -f "${ofile}"; then
++    AC_MSG_WARN([output file `$ofile' does not exist])
++  fi
++
++  if test -z "$LTCC"; then
++    eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
++    if test -z "$LTCC"; then
++      AC_MSG_WARN([output file `$ofile' does not look like a libtool script])
++    else
++      AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile'])
++    fi
++  fi
++
++  # Extract list of available tagged configurations in $ofile.
++  # Note that this assumes the entire list is on one line.
++  available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
++
++  lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
++  for tagname in $tagnames; do
++    IFS="$lt_save_ifs"
++    # Check whether tagname contains only valid characters
++    case `$echo "X$tagname" | $Xsed -e 's:[[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]]::g'` in
++    "") ;;
++    *)  AC_MSG_ERROR([invalid tag name: $tagname])
++	;;
++    esac
++
++    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
++    then
++      AC_MSG_ERROR([tag name \"$tagname\" already exists])
++    fi
++
++    # Update the list of available tags.
++    if test -n "$tagname"; then
++      echo appending configuration tag \"$tagname\" to $ofile
++
++      case $tagname in
++      CXX)
++	if test -n "$CXX" && test "X$CXX" != "Xno"; then
++	  AC_LIBTOOL_LANG_CXX_CONFIG
++	else
++	  tagname=""
++	fi
++	;;
++
++      F77)
++	if test -n "$F77" && test "X$F77" != "Xno"; then
++	  AC_LIBTOOL_LANG_F77_CONFIG
++	else
++	  tagname=""
++	fi
++	;;
++
++      GCJ)
++	if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
++	  AC_LIBTOOL_LANG_GCJ_CONFIG
++	else
++	  tagname=""
++	fi
++	;;
++
++      RC)
++	AC_LIBTOOL_LANG_RC_CONFIG
++	;;
++
++      *)
++	AC_MSG_ERROR([Unsupported tag name: $tagname])
++	;;
++      esac
++
++      # Append the new tag name to the list of available tags.
++      if test -n "$tagname" ; then
++      available_tags="$available_tags $tagname"
++    fi
++    fi
++  done
++  IFS="$lt_save_ifs"
++
++  # Now substitute the updated list of available tags.
++  if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
++    mv "${ofile}T" "$ofile"
++    chmod +x "$ofile"
++  else
++    rm -f "${ofile}T"
++    AC_MSG_ERROR([unable to update list of available tagged configurations.])
++  fi
++fi
++])# _LT_AC_TAGCONFIG
++
++
++# AC_LIBTOOL_DLOPEN
++# -----------------
++# enable checks for dlopen support
++AC_DEFUN([AC_LIBTOOL_DLOPEN],
++ [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])
++])# AC_LIBTOOL_DLOPEN
++
++
++# AC_LIBTOOL_WIN32_DLL
++# --------------------
++# declare package support for building win32 dll's
++AC_DEFUN([AC_LIBTOOL_WIN32_DLL],
++[AC_BEFORE([$0], [AC_LIBTOOL_SETUP])
++])# AC_LIBTOOL_WIN32_DLL
++
++
++# AC_ENABLE_SHARED([DEFAULT])
++# ---------------------------
++# implement the --enable-shared flag
++# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
++AC_DEFUN([AC_ENABLE_SHARED],
++[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl
++AC_ARG_ENABLE([shared],
++    [AC_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
++	[build shared libraries @<:@default=]AC_ENABLE_SHARED_DEFAULT[@:>@])],
++    [p=${PACKAGE-default}
++    case $enableval in
++    yes) enable_shared=yes ;;
++    no) enable_shared=no ;;
++    *)
++      enable_shared=no
++      # Look at the argument we got.  We use all the common list separators.
++      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
++      for pkg in $enableval; do
++	IFS="$lt_save_ifs"
++	if test "X$pkg" = "X$p"; then
++	  enable_shared=yes
++	fi
++      done
++      IFS="$lt_save_ifs"
++      ;;
++    esac],
++    [enable_shared=]AC_ENABLE_SHARED_DEFAULT)
++])# AC_ENABLE_SHARED
++
++
++# AC_DISABLE_SHARED
++# -----------------
++#- set the default shared flag to --disable-shared
++AC_DEFUN([AC_DISABLE_SHARED],
++[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
++AC_ENABLE_SHARED(no)
++])# AC_DISABLE_SHARED
++
++
++# AC_ENABLE_STATIC([DEFAULT])
++# ---------------------------
++# implement the --enable-static flag
++# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
++AC_DEFUN([AC_ENABLE_STATIC],
++[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl
++AC_ARG_ENABLE([static],
++    [AC_HELP_STRING([--enable-static@<:@=PKGS@:>@],
++	[build static libraries @<:@default=]AC_ENABLE_STATIC_DEFAULT[@:>@])],
++    [p=${PACKAGE-default}
++    case $enableval in
++    yes) enable_static=yes ;;
++    no) enable_static=no ;;
++    *)
++     enable_static=no
++      # Look at the argument we got.  We use all the common list separators.
++      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
++      for pkg in $enableval; do
++	IFS="$lt_save_ifs"
++	if test "X$pkg" = "X$p"; then
++	  enable_static=yes
++	fi
++      done
++      IFS="$lt_save_ifs"
++      ;;
++    esac],
++    [enable_static=]AC_ENABLE_STATIC_DEFAULT)
++])# AC_ENABLE_STATIC
++
++
++# AC_DISABLE_STATIC
++# -----------------
++# set the default static flag to --disable-static
++AC_DEFUN([AC_DISABLE_STATIC],
++[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
++AC_ENABLE_STATIC(no)
++])# AC_DISABLE_STATIC
++
++
++# AC_ENABLE_FAST_INSTALL([DEFAULT])
++# ---------------------------------
++# implement the --enable-fast-install flag
++# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
++AC_DEFUN([AC_ENABLE_FAST_INSTALL],
++[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl
++AC_ARG_ENABLE([fast-install],
++    [AC_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
++    [optimize for fast installation @<:@default=]AC_ENABLE_FAST_INSTALL_DEFAULT[@:>@])],
++    [p=${PACKAGE-default}
++    case $enableval in
++    yes) enable_fast_install=yes ;;
++    no) enable_fast_install=no ;;
++    *)
++      enable_fast_install=no
++      # Look at the argument we got.  We use all the common list separators.
++      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
++      for pkg in $enableval; do
++	IFS="$lt_save_ifs"
++	if test "X$pkg" = "X$p"; then
++	  enable_fast_install=yes
++	fi
++      done
++      IFS="$lt_save_ifs"
++      ;;
++    esac],
++    [enable_fast_install=]AC_ENABLE_FAST_INSTALL_DEFAULT)
++])# AC_ENABLE_FAST_INSTALL
++
++
++# AC_DISABLE_FAST_INSTALL
++# -----------------------
++# set the default to --disable-fast-install
++AC_DEFUN([AC_DISABLE_FAST_INSTALL],
++[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
++AC_ENABLE_FAST_INSTALL(no)
++])# AC_DISABLE_FAST_INSTALL
++
++
++# AC_LIBTOOL_PICMODE([MODE])
++# --------------------------
++# implement the --with-pic flag
++# MODE is either `yes' or `no'.  If omitted, it defaults to `both'.
++AC_DEFUN([AC_LIBTOOL_PICMODE],
++[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
++pic_mode=ifelse($#,1,$1,default)
++])# AC_LIBTOOL_PICMODE
++
++
++# AC_PROG_EGREP
++# -------------
++# This is predefined starting with Autoconf 2.54, so this conditional
++# definition can be removed once we require Autoconf 2.54 or later.
++m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP],
++[AC_CACHE_CHECK([for egrep], [ac_cv_prog_egrep],
++   [if echo a | (grep -E '(a|b)') >/dev/null 2>&1
++    then ac_cv_prog_egrep='grep -E'
++    else ac_cv_prog_egrep='egrep'
++    fi])
++ EGREP=$ac_cv_prog_egrep
++ AC_SUBST([EGREP])
++])])
++
++
++# AC_PATH_TOOL_PREFIX
++# -------------------
++# find a file program which can recognise shared library
++AC_DEFUN([AC_PATH_TOOL_PREFIX],
++[AC_REQUIRE([AC_PROG_EGREP])dnl
++AC_MSG_CHECKING([for $1])
++AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
++[case $MAGIC_CMD in
++[[\\/*] |  ?:[\\/]*])
++  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
++  ;;
++*)
++  lt_save_MAGIC_CMD="$MAGIC_CMD"
++  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
++dnl $ac_dummy forces splitting on constant user-supplied paths.
++dnl POSIX.2 word splitting is done only on the output of word expansions,
++dnl not every word.  This closes a longstanding sh security hole.
++  ac_dummy="ifelse([$2], , $PATH, [$2])"
++  for ac_dir in $ac_dummy; do
++    IFS="$lt_save_ifs"
++    test -z "$ac_dir" && ac_dir=.
++    if test -f $ac_dir/$1; then
++      lt_cv_path_MAGIC_CMD="$ac_dir/$1"
++      if test -n "$file_magic_test_file"; then
++	case $deplibs_check_method in
++	"file_magic "*)
++	  file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
++	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
++	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
++	    $EGREP "$file_magic_regex" > /dev/null; then
++	    :
++	  else
++	    cat <<EOF 1>&2
++
++*** Warning: the command libtool uses to detect shared libraries,
++*** $file_magic_cmd, produces output that libtool cannot recognize.
++*** The result is that libtool may fail to recognize shared libraries
++*** as such.  This will affect the creation of libtool libraries that
++*** depend on shared libraries, but programs linked with such libtool
++*** libraries will work regardless of this problem.  Nevertheless, you
++*** may want to report the problem to your system manager and/or to
++*** bug-libtool@gnu.org
++
++EOF
++	  fi ;;
++	esac
++      fi
++      break
++    fi
++  done
++  IFS="$lt_save_ifs"
++  MAGIC_CMD="$lt_save_MAGIC_CMD"
++  ;;
++esac])
++MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
++if test -n "$MAGIC_CMD"; then
++  AC_MSG_RESULT($MAGIC_CMD)
++else
++  AC_MSG_RESULT(no)
++fi
++])# AC_PATH_TOOL_PREFIX
++
++
++# AC_PATH_MAGIC
++# -------------
++# find a file program which can recognise a shared library
++AC_DEFUN([AC_PATH_MAGIC],
++[AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
++if test -z "$lt_cv_path_MAGIC_CMD"; then
++  if test -n "$ac_tool_prefix"; then
++    AC_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)
++  else
++    MAGIC_CMD=:
++  fi
++fi
++])# AC_PATH_MAGIC
++
++
++# AC_PROG_LD
++# ----------
++# find the pathname to the GNU or non-GNU linker
++AC_DEFUN([AC_PROG_LD],
++[AC_ARG_WITH([gnu-ld],
++    [AC_HELP_STRING([--with-gnu-ld],
++	[assume the C compiler uses GNU ld @<:@default=no@:>@])],
++    [test "$withval" = no || with_gnu_ld=yes],
++    [with_gnu_ld=no])
++AC_REQUIRE([LT_AC_PROG_SED])dnl
++AC_REQUIRE([AC_PROG_CC])dnl
++AC_REQUIRE([AC_CANONICAL_HOST])dnl
++AC_REQUIRE([AC_CANONICAL_BUILD])dnl
++ac_prog=ld
++if test "$GCC" = yes; then
++  # Check if gcc -print-prog-name=ld gives a path.
++  AC_MSG_CHECKING([for ld used by $CC])
++  case $host in
++  *-*-mingw*)
++    # gcc leaves a trailing carriage return which upsets mingw
++    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
++  *)
++    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
++  esac
++  case $ac_prog in
++    # Accept absolute paths.
++    [[\\/]]* | ?:[[\\/]]*)
++      re_direlt='/[[^/]][[^/]]*/\.\./'
++      # Canonicalize the pathname of ld
++      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
++      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
++	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
++      done
++      test -z "$LD" && LD="$ac_prog"
++      ;;
++  "")
++    # If it fails, then pretend we aren't using GCC.
++    ac_prog=ld
++    ;;
++  *)
++    # If it is relative, then search for the first ld in PATH.
++    with_gnu_ld=unknown
++    ;;
++  esac
++elif test "$with_gnu_ld" = yes; then
++  AC_MSG_CHECKING([for GNU ld])
++else
++  AC_MSG_CHECKING([for non-GNU ld])
++fi
++AC_CACHE_VAL(lt_cv_path_LD,
++[if test -z "$LD"; then
++  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
++  for ac_dir in $PATH; do
++    IFS="$lt_save_ifs"
++    test -z "$ac_dir" && ac_dir=.
++    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
++      lt_cv_path_LD="$ac_dir/$ac_prog"
++      # Check to see if the program is GNU ld.  I'd rather use --version,
++      # but apparently some GNU ld's only accept -v.
++      # Break only if it was the GNU/non-GNU ld that we prefer.
++      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
++      *GNU* | *'with BFD'*)
++	test "$with_gnu_ld" != no && break
++	;;
++      *)
++	test "$with_gnu_ld" != yes && break
++	;;
++      esac
++    fi
++  done
++  IFS="$lt_save_ifs"
++else
++  lt_cv_path_LD="$LD" # Let the user override the test with a path.
++fi])
++LD="$lt_cv_path_LD"
++if test -n "$LD"; then
++  AC_MSG_RESULT($LD)
++else
++  AC_MSG_RESULT(no)
++fi
++test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
++AC_PROG_LD_GNU
++])# AC_PROG_LD
++
++
++# AC_PROG_LD_GNU
++# --------------
++AC_DEFUN([AC_PROG_LD_GNU],
++[AC_REQUIRE([AC_PROG_EGREP])dnl
++AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
++[# I'd rather use --version here, but apparently some GNU ld's only accept -v.
++case `$LD -v 2>&1 </dev/null` in
++*GNU* | *'with BFD'*)
++  lt_cv_prog_gnu_ld=yes
++  ;;
++*)
++  lt_cv_prog_gnu_ld=no
++  ;;
++esac])
++with_gnu_ld=$lt_cv_prog_gnu_ld
++])# AC_PROG_LD_GNU
++
++
++# AC_PROG_LD_RELOAD_FLAG
++# ----------------------
++# find reload flag for linker
++#   -- PORTME Some linkers may need a different reload flag.
++AC_DEFUN([AC_PROG_LD_RELOAD_FLAG],
++[AC_CACHE_CHECK([for $LD option to reload object files],
++  lt_cv_ld_reload_flag,
++  [lt_cv_ld_reload_flag='-r'])
++reload_flag=$lt_cv_ld_reload_flag
++case $reload_flag in
++"" | " "*) ;;
++*) reload_flag=" $reload_flag" ;;
++esac
++reload_cmds='$LD$reload_flag -o $output$reload_objs'
++])# AC_PROG_LD_RELOAD_FLAG
++
++
++# AC_DEPLIBS_CHECK_METHOD
++# -----------------------
++# how to check for library dependencies
++#  -- PORTME fill in with the dynamic library characteristics
++AC_DEFUN([AC_DEPLIBS_CHECK_METHOD],
++[AC_CACHE_CHECK([how to recognise dependent libraries],
++lt_cv_deplibs_check_method,
++[lt_cv_file_magic_cmd='$MAGIC_CMD'
++lt_cv_file_magic_test_file=
++lt_cv_deplibs_check_method='unknown'
++# Need to set the preceding variable on all platforms that support
++# interlibrary dependencies.
++# 'none' -- dependencies not supported.
++# `unknown' -- same as none, but documents that we really don't know.
++# 'pass_all' -- all dependencies passed with no checks.
++# 'test_compile' -- check by making test program.
++# 'file_magic [[regex]]' -- check by looking for files in library path
++# which responds to the $file_magic_cmd with a given extended regex.
++# If you have `file' or equivalent on your system and you're not sure
++# whether `pass_all' will *always* work, you probably want this one.
++
++case $host_os in
++aix4* | aix5*)
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++
++beos*)
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++
++bsdi4*)
++  lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
++  lt_cv_file_magic_cmd='/usr/bin/file -L'
++  lt_cv_file_magic_test_file=/shlib/libc.so
++  ;;
++
++cygwin* | mingw* | pw32*)
++  # win32_libid is a shell function defined in ltmain.sh
++  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
++  lt_cv_file_magic_cmd='win32_libid'
++  ;;
++
++darwin* | rhapsody*)
++  # this will be overwritten by pass_all, but leave it in just in case
++  lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
++  lt_cv_file_magic_cmd='/usr/bin/file -L'
++  case "$host_os" in
++  rhapsody* | darwin1.[[012]])
++    lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System`
++    ;;
++  *) # Darwin 1.3 on
++    lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
++    ;;
++  esac
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++
++freebsd* | kfreebsd*-gnu)
++  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
++    case $host_cpu in
++    i*86 )
++      # Not sure whether the presence of OpenBSD here was a mistake.
++      # Let's accept both of them until this is cleared up.
++      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[[3-9]]86 (compact )?demand paged shared library'
++      lt_cv_file_magic_cmd=/usr/bin/file
++      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
++      ;;
++    esac
++  else
++    lt_cv_deplibs_check_method=pass_all
++  fi
++  ;;
++
++gnu*)
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++
++hpux10.20* | hpux11*)
++  lt_cv_file_magic_cmd=/usr/bin/file
++  case "$host_cpu" in
++  ia64*)
++    lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
++    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
++    ;;
++  hppa*64*)
++    [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]']
++    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
++    ;;
++  *)
++    lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
++    lt_cv_file_magic_test_file=/usr/lib/libc.sl
++    ;;
++  esac
++  ;;
++
++irix5* | irix6* | nonstopux*)
++  case $host_os in
++  irix5* | nonstopux*)
++    # this will be overridden with pass_all, but let us keep it just in case
++    lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
++    ;;
++  *)
++    case $LD in
++    *-32|*"-32 ") libmagic=32-bit;;
++    *-n32|*"-n32 ") libmagic=N32;;
++    *-64|*"-64 ") libmagic=64-bit;;
++    *) libmagic=never-match;;
++    esac
++    # this will be overridden with pass_all, but let us keep it just in case
++    lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[[1234]] dynamic lib MIPS - version 1"
++    ;;
++  esac
++  lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++
++# This must be Linux ELF.
++linux*)
++  # linux always uses pass_all now, this code is the old way (tm)
++  case $host_cpu in
++  alpha* | hppa* | i*86 | ia64* | m68* | mips* | powerpc* | sparc* | s390* | sh*)
++    lt_cv_deplibs_check_method=pass_all ;;
++  *)
++    # glibc up to 2.1.1 does not perform some relocations on ARM
++    lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;;
++  esac
++  lt_cv_deplibs_check_method=pass_all
++  lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
++  ;;
++
++netbsd*)
++  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
++    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
++  else
++    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
++  fi
++  ;;
++
++newos6*)
++  lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
++  lt_cv_file_magic_cmd=/usr/bin/file
++  lt_cv_file_magic_test_file=/usr/lib/libnls.so
++  ;;
++
++nto-qnx*)
++  lt_cv_deplibs_check_method=unknown
++  ;;
++
++openbsd*)
++  lt_cv_file_magic_cmd=/usr/bin/file
++  lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
++  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
++    lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB shared object'
++  else
++    lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
++  fi
++  ;;
++
++osf3* | osf4* | osf5*)
++  # this will be overridden with pass_all, but let us keep it just in case
++  lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
++  lt_cv_file_magic_test_file=/shlib/libc.so
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++
++sco3.2v5*)
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++
++solaris*)
++  lt_cv_deplibs_check_method=pass_all
++  lt_cv_file_magic_test_file=/lib/libc.so
++  ;;
++
++sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
++  case $host_vendor in
++  motorola)
++    lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]'
++    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
++    ;;
++  ncr)
++    lt_cv_deplibs_check_method=pass_all
++    ;;
++  sequent)
++    lt_cv_file_magic_cmd='/bin/file'
++    lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
++    ;;
++  sni)
++    lt_cv_file_magic_cmd='/bin/file'
++    lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
++    lt_cv_file_magic_test_file=/lib/libc.so
++    ;;
++  siemens)
++    lt_cv_deplibs_check_method=pass_all
++    ;;
++  esac
++  ;;
++
++sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7* | sysv4*uw2*)
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++esac
++])
++file_magic_cmd=$lt_cv_file_magic_cmd
++deplibs_check_method=$lt_cv_deplibs_check_method
++test -z "$deplibs_check_method" && deplibs_check_method=unknown
++])# AC_DEPLIBS_CHECK_METHOD
++
++
++# AC_PROG_NM
++# ----------
++# find the pathname to a BSD-compatible name lister
++AC_DEFUN([AC_PROG_NM],
++[AC_CACHE_CHECK([for BSD-compatible nm], lt_cv_path_NM,
++[if test -n "$NM"; then
++  # Let the user override the test.
++  lt_cv_path_NM="$NM"
++else
++  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
++  for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
++    IFS="$lt_save_ifs"
++    test -z "$ac_dir" && ac_dir=.
++    tmp_nm="$ac_dir/${ac_tool_prefix}nm"
++    if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
++      # Check to see if the nm accepts a BSD-compat flag.
++      # Adding the `sed 1q' prevents false positives on HP-UX, which says:
++      #   nm: unknown option "B" ignored
++      # Tru64's nm complains that /dev/null is an invalid object file
++      case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
++      */dev/null* | *'Invalid file or object type'*)
++	lt_cv_path_NM="$tmp_nm -B"
++	break
++        ;;
++      *)
++	case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
++	*/dev/null*)
++	  lt_cv_path_NM="$tmp_nm -p"
++	  break
++	  ;;
++	*)
++	  lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
++	  continue # so that we can try to find one that supports BSD flags
++	  ;;
++	esac
++      esac
++    fi
++  done
++  IFS="$lt_save_ifs"
++  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
++fi])
++NM="$lt_cv_path_NM"
++])# AC_PROG_NM
+ 
+-  cygwin* | mingw* | pw32*)
+-    # hardcode_libdir_flag_spec is actually meaningless, as there is
+-    # no search path for DLLs.
+-    hardcode_libdir_flag_spec='-L$libdir'
+-    allow_undefined_flag=unsupported
+-    always_export_symbols=yes
+-
+-    extract_expsyms_cmds='test -f $output_objdir/impgen.c || \
+-      sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~
+-      test -f $output_objdir/impgen.exe || (cd $output_objdir && \
+-      if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \
+-      else $CC -o impgen impgen.c ; fi)~
+-      $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def'
+-
+-    old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib'
+-
+-    # cygwin and mingw dlls have different entry points and sets of symbols
+-    # to exclude.
+-    # FIXME: what about values for MSVC?
+-    dll_entry=__cygwin_dll_entry@12
+-    dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~
+-    case $host_os in
+-    mingw*)
+-      # mingw values
+-      dll_entry=_DllMainCRTStartup@12
+-      dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~
+-      ;;
+-    esac
+ 
+-    # mingw and cygwin differ, and it's simplest to just exclude the union
+-    # of the two symbol sets.
+-    dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12
+-
+-    # recent cygwin and mingw systems supply a stub DllMain which the user
+-    # can override, but on older systems we have to supply one (in ltdll.c)
+-    if test "x$lt_cv_need_dllmain" = "xyes"; then
+-      ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext "
+-      ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < $''0 > $output_objdir/$soname-ltdll.c~
+-	test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~'
+-    else
+-      ltdll_obj=
+-      ltdll_cmds=
+-    fi
++# AC_CHECK_LIBM
++# -------------
++# check for math library
++AC_DEFUN([AC_CHECK_LIBM],
++[AC_REQUIRE([AC_CANONICAL_HOST])dnl
++LIBM=
++case $host in
++*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
++  # These system don't have libm, or don't need it
++  ;;
++*-ncr-sysv4.3*)
++  AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
++  AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
++  ;;
++*)
++  AC_CHECK_LIB(m, cos, LIBM="-lm")
++  ;;
++esac
++])# AC_CHECK_LIBM
+ 
+-    # Extract the symbol export list from an `--export-all' def file,
+-    # then regenerate the def file from the symbol export list, so that
+-    # the compiled dll only exports the symbol export list.
+-    # Be careful not to strip the DATA tag left be newer dlltools.
+-    export_symbols_cmds="$ltdll_cmds"'
+-      $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~
+-      sed -e "1,/EXPORTS/d" -e "s/ @ [[0-9]]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols'
+-
+-    # If the export-symbols file already is a .def file (1st line
+-    # is EXPORTS), use it as is.
+-    # If DATA tags from a recent dlltool are present, honour them!
+-    archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then
+-	cp $export_symbols $output_objdir/$soname-def;
+-      else
+-	echo EXPORTS > $output_objdir/$soname-def;
+-	_lt_hint=1;
+-	cat $export_symbols | while read symbol; do
+-	 set dummy \$symbol;
+-	 case \[$]# in
+-	   2) echo "   \[$]2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
+-	   *) echo "     \[$]2 @ \$_lt_hint \[$]3 ; " >> $output_objdir/$soname-def;;
+-	 esac;
+-	 _lt_hint=`expr 1 + \$_lt_hint`;
+-	done;
+-      fi~
+-      '"$ltdll_cmds"'
+-      $CC -Wl,--base-file,$output_objdir/$soname-base '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
+-      $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp~
+-      $CC -Wl,--base-file,$output_objdir/$soname-base $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
+-      $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp --output-lib $output_objdir/$libname.dll.a~
+-      $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags'
+-    ;;
+ 
+-  netbsd*)
+-    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
+-      archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
+-      wlarc=
+-    else
+-      archive_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+-      archive_expsym_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+-    fi
+-    ;;
++# AC_LIBLTDL_CONVENIENCE([DIRECTORY])
++# -----------------------------------
++# sets LIBLTDL to the link flags for the libltdl convenience library and
++# LTDLINCL to the include flags for the libltdl header and adds
++# --enable-ltdl-convenience to the configure arguments.  Note that LIBLTDL
++# and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called.  If
++# DIRECTORY is not provided, it is assumed to be `libltdl'.  LIBLTDL will
++# be prefixed with '${top_builddir}/' and LTDLINCL will be prefixed with
++# '${top_srcdir}/' (note the single quotes!).  If your package is not
++# flat and you're not using automake, define top_builddir and
++# top_srcdir appropriately in the Makefiles.
++AC_DEFUN([AC_LIBLTDL_CONVENIENCE],
++[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
++  case $enable_ltdl_convenience in
++  no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;;
++  "") enable_ltdl_convenience=yes
++      ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
++  esac
++  LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la
++  LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
++  # For backwards non-gettext consistent compatibility...
++  INCLTDL="$LTDLINCL"
++])# AC_LIBLTDL_CONVENIENCE
++
++
++# AC_LIBLTDL_INSTALLABLE([DIRECTORY])
++# -----------------------------------
++# sets LIBLTDL to the link flags for the libltdl installable library and
++# LTDLINCL to the include flags for the libltdl header and adds
++# --enable-ltdl-install to the configure arguments.  Note that LIBLTDL
++# and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called.  If
++# DIRECTORY is not provided and an installed libltdl is not found, it is
++# assumed to be `libltdl'.  LIBLTDL will be prefixed with '${top_builddir}/'
++# and LTDLINCL will be prefixed with '${top_srcdir}/' (note the single
++# quotes!).  If your package is not flat and you're not using automake,
++# define top_builddir and top_srcdir appropriately in the Makefiles.
++# In the future, this macro may have to be called after AC_PROG_LIBTOOL.
++AC_DEFUN([AC_LIBLTDL_INSTALLABLE],
++[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
++  AC_CHECK_LIB(ltdl, lt_dlinit,
++  [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no],
++  [if test x"$enable_ltdl_install" = xno; then
++     AC_MSG_WARN([libltdl not installed, but installation disabled])
++   else
++     enable_ltdl_install=yes
++   fi
++  ])
++  if test x"$enable_ltdl_install" = x"yes"; then
++    ac_configure_args="$ac_configure_args --enable-ltdl-install"
++    LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la
++    LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
++  else
++    ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
++    LIBLTDL="-lltdl"
++    LTDLINCL=
++  fi
++  # For backwards non-gettext consistent compatibility...
++  INCLTDL="$LTDLINCL"
++])# AC_LIBLTDL_INSTALLABLE
+ 
+-  solaris* | sysv5*)
+-    if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then
+-      ld_shlibs=no
+-      cat <<EOF 1>&2
+ 
+-*** Warning: The releases 2.8.* of the GNU linker cannot reliably
+-*** create shared libraries on Solaris systems.  Therefore, libtool
+-*** is disabling shared libraries support.  We urge you to upgrade GNU
+-*** binutils to release 2.9.1 or newer.  Another option is to modify
+-*** your PATH or compiler configuration so that the native linker is
+-*** used, and then restart.
++# AC_LIBTOOL_CXX
++# --------------
++# enable support for C++ libraries
++AC_DEFUN([AC_LIBTOOL_CXX],
++[AC_REQUIRE([_LT_AC_LANG_CXX])
++])# AC_LIBTOOL_CXX
+ 
+-EOF
+-    elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
+-      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+-      archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+-    else
+-      ld_shlibs=no
+-    fi
+-    ;;
+ 
+-  sunos4*)
+-    archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
+-    wlarc=
+-    hardcode_direct=yes
+-    hardcode_shlibpath_var=no
+-    ;;
++# _LT_AC_LANG_CXX
++# ---------------
++AC_DEFUN([_LT_AC_LANG_CXX],
++[AC_REQUIRE([AC_PROG_CXX])
++AC_REQUIRE([AC_PROG_CXXCPP])
++_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}CXX])
++])# _LT_AC_LANG_CXX
++
++
++# AC_LIBTOOL_F77
++# --------------
++# enable support for Fortran 77 libraries
++AC_DEFUN([AC_LIBTOOL_F77],
++[AC_REQUIRE([_LT_AC_LANG_F77])
++])# AC_LIBTOOL_F77
+ 
+-  *)
+-    if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
+-      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+-      archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+-    else
+-      ld_shlibs=no
+-    fi
++
++# _LT_AC_LANG_F77
++# ---------------
++AC_DEFUN([_LT_AC_LANG_F77],
++[AC_REQUIRE([AC_PROG_F77])
++_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}F77])
++])# _LT_AC_LANG_F77
++
++
++# AC_LIBTOOL_GCJ
++# --------------
++# enable support for GCJ libraries
++AC_DEFUN([AC_LIBTOOL_GCJ],
++[AC_REQUIRE([_LT_AC_LANG_GCJ])
++])# AC_LIBTOOL_GCJ
++
++
++# _LT_AC_LANG_GCJ
++# ---------------
++AC_DEFUN([_LT_AC_LANG_GCJ],
++[AC_PROVIDE_IFELSE([AC_PROG_GCJ],[],
++  [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],[],
++    [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],[],
++      [ifdef([AC_PROG_GCJ],[AC_REQUIRE([AC_PROG_GCJ])],
++	 [ifdef([A][M_PROG_GCJ],[AC_REQUIRE([A][M_PROG_GCJ])],
++	   [AC_REQUIRE([A][C_PROG_GCJ_OR_A][M_PROG_GCJ])])])])])])
++_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}GCJ])
++])# _LT_AC_LANG_GCJ
++
++
++# AC_LIBTOOL_RC
++# --------------
++# enable support for Windows resource files
++AC_DEFUN([AC_LIBTOOL_RC],
++[AC_REQUIRE([LT_AC_PROG_RC])
++_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}RC])
++])# AC_LIBTOOL_RC
++
++
++# AC_LIBTOOL_LANG_C_CONFIG
++# ------------------------
++# Ensure that the configuration vars for the C compiler are
++# suitably defined.  Those variables are subsequently used by
++# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
++AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG], [_LT_AC_LANG_C_CONFIG])
++AC_DEFUN([_LT_AC_LANG_C_CONFIG],
++[lt_save_CC="$CC"
++AC_LANG_PUSH(C)
++
++# Source file extension for C test sources.
++ac_ext=c
++
++# Object file extension for compiled C test sources.
++objext=o
++_LT_AC_TAGVAR(objext, $1)=$objext
++
++# Code to be used in simple compile tests
++lt_simple_compile_test_code="int some_variable = 0;\n"
++
++# Code to be used in simple link tests
++lt_simple_link_test_code='int main(){return(0);}\n'
++
++_LT_AC_SYS_COMPILER
++
++#
++# Check for any special shared library compilation flags.
++#
++_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)=
++if test "$GCC" = no; then
++  case $host_os in
++  sco3.2v5*)
++    _LT_AC_TAGVAR(lt_prog_cc_shlib, $1)='-belf'
+     ;;
+   esac
++fi
++if test -n "$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)"; then
++  AC_MSG_WARN([`$CC' requires `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to build shared libraries])
++  if echo "$old_CC $old_CFLAGS " | grep "[[ 	]]$]_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)[[[ 	]]" >/dev/null; then :
++  else
++    AC_MSG_WARN([add `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to the CC or CFLAGS env variable and reconfigure])
++    _LT_AC_TAGVAR(lt_cv_prog_cc_can_build_shared, $1)=no
++  fi
++fi
+ 
+-  if test "$ld_shlibs" = yes; then
+-    runpath_var=LD_RUN_PATH
+-    hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
+-    export_dynamic_flag_spec='${wl}--export-dynamic'
+-    case $host_os in
+-    cygwin* | mingw* | pw32*)
+-      # dlltool doesn't understand --whole-archive et. al.
+-      whole_archive_flag_spec=
++
++#
++# Check to make sure the static flag actually works.
++#
++AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $_LT_AC_TAGVAR(lt_prog_compiler_static, $1) works],
++  _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1),
++  $_LT_AC_TAGVAR(lt_prog_compiler_static, $1),
++  [],
++  [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=])
++
++
++AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
++AC_LIBTOOL_PROG_COMPILER_PIC($1)
++AC_LIBTOOL_PROG_CC_C_O($1)
++AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
++AC_LIBTOOL_PROG_LD_SHLIBS($1)
++AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
++AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
++AC_LIBTOOL_SYS_LIB_STRIP
++AC_LIBTOOL_DLOPEN_SELF($1)
++
++# Report which librarie types wil actually be built
++AC_MSG_CHECKING([if libtool supports shared libraries])
++AC_MSG_RESULT([$can_build_shared])
++
++AC_MSG_CHECKING([whether to build shared libraries])
++test "$can_build_shared" = "no" && enable_shared=no
++
++# On AIX, shared libraries and static libraries use the same namespace, and
++# are all built from PIC.
++case "$host_os" in
++aix3*)
++  test "$enable_shared" = yes && enable_static=no
++  if test -n "$RANLIB"; then
++    archive_cmds="$archive_cmds~\$RANLIB \$lib"
++    postinstall_cmds='$RANLIB $lib'
++  fi
++  ;;
++
++aix4*)
++  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
++    test "$enable_shared" = yes && enable_static=no
++  fi
++  ;;
++  darwin* | rhapsody*)
++  if test "$GCC" = yes; then
++    _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
++    case "$host_os" in
++    rhapsody* | darwin1.[[012]])
++      _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'
+       ;;
+-    *)
+-      # ancient GNU ld didn't support --whole-archive et. al.
+-      if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then
+-	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
++    *) # Darwin 1.3 on
++      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
++      	_LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
+       else
+-	whole_archive_flag_spec=
++        case ${MACOSX_DEPLOYMENT_TARGET} in
++          10.[[012]])
++            _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
++            ;;
++          10.*)
++            _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'
++            ;;            
++        esac
+       fi
+       ;;
+     esac
++    output_verbose_link_cmd='echo'
++    _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
++    _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
++    # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
++    _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag  -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++    _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++    _LT_AC_TAGVAR(hardcode_direct, $1)=no
++    _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
++    _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
++    _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
++    _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
++  else
++    _LT_AC_TAGVAR(ld_shlibs, $1)=no
++  fi  
++    ;;  
++esac
++AC_MSG_RESULT([$enable_shared])
++
++AC_MSG_CHECKING([whether to build static libraries])
++# Make sure either enable_shared or enable_static is yes.
++test "$enable_shared" = yes || enable_static=yes
++AC_MSG_RESULT([$enable_static])
++
++AC_LIBTOOL_CONFIG($1)
++
++AC_LANG_POP
++CC="$lt_save_CC"
++])# AC_LIBTOOL_LANG_C_CONFIG
++
++
++# AC_LIBTOOL_LANG_CXX_CONFIG
++# --------------------------
++# Ensure that the configuration vars for the C compiler are
++# suitably defined.  Those variables are subsequently used by
++# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
++AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG], [_LT_AC_LANG_CXX_CONFIG(CXX)])
++AC_DEFUN([_LT_AC_LANG_CXX_CONFIG],
++[AC_LANG_PUSH(C++)
++AC_REQUIRE([AC_PROG_CXX])
++AC_REQUIRE([AC_PROG_CXXCPP])
++
++_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
++_LT_AC_TAGVAR(allow_undefined_flag, $1)=
++_LT_AC_TAGVAR(always_export_symbols, $1)=no
++_LT_AC_TAGVAR(archive_expsym_cmds, $1)=
++_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
++_LT_AC_TAGVAR(hardcode_direct, $1)=no
++_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
++_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
++_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
++_LT_AC_TAGVAR(hardcode_minus_L, $1)=no
++_LT_AC_TAGVAR(hardcode_automatic, $1)=no
++_LT_AC_TAGVAR(module_cmds, $1)=
++_LT_AC_TAGVAR(module_expsym_cmds, $1)=
++_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
++_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
++_LT_AC_TAGVAR(no_undefined_flag, $1)=
++_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
++_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
++
++# Dependencies to place before and after the object being linked:
++_LT_AC_TAGVAR(predep_objects, $1)=
++_LT_AC_TAGVAR(postdep_objects, $1)=
++_LT_AC_TAGVAR(predeps, $1)=
++_LT_AC_TAGVAR(postdeps, $1)=
++_LT_AC_TAGVAR(compiler_lib_search_path, $1)=
++
++# Source file extension for C++ test sources.
++ac_ext=cc
++
++# Object file extension for compiled C++ test sources.
++objext=o
++_LT_AC_TAGVAR(objext, $1)=$objext
++
++# Code to be used in simple compile tests
++lt_simple_compile_test_code="int some_variable = 0;\n"
++
++# Code to be used in simple link tests
++lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
++
++# ltmain only uses $CC for tagged configurations so make sure $CC is set.
++_LT_AC_SYS_COMPILER
++
++# Allow CC to be a program name with arguments.
++lt_save_CC=$CC
++lt_save_LD=$LD
++lt_save_GCC=$GCC
++GCC=$GXX
++lt_save_with_gnu_ld=$with_gnu_ld
++lt_save_path_LD=$lt_cv_path_LD
++if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
++  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
++else
++  unset lt_cv_prog_gnu_ld
++fi
++if test -n "${lt_cv_path_LDCXX+set}"; then
++  lt_cv_path_LD=$lt_cv_path_LDCXX
++else
++  unset lt_cv_path_LD
++fi
++test -z "${LDCXX+set}" || LD=$LDCXX
++CC=${CXX-"c++"}
++compiler=$CC
++_LT_AC_TAGVAR(compiler, $1)=$CC
++cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
++
++# We don't want -fno-exception wen compiling C++ code, so set the
++# no_builtin_flag separately
++if test "$GXX" = yes; then
++  _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
++else
++  _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
++fi
++
++if test "$GXX" = yes; then
++  # Set up default GNU C++ configuration
++
++  AC_PROG_LD
++
++  # Check if GNU C++ uses GNU ld as the underlying linker, since the
++  # archiving commands below assume that GNU ld is being used.
++  if test "$with_gnu_ld" = yes; then
++    _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
++    _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++
++    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
++    _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
++
++    # If archive_cmds runs LD, not CC, wlarc should be empty
++    # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
++    #     investigate it a little bit more. (MM)
++    wlarc='${wl}'
++
++    # ancient GNU ld didn't support --whole-archive et. al.
++    if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
++	grep 'no-whole-archive' > /dev/null; then
++      _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
++    else
++      _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
++    fi
++  else
++    with_gnu_ld=no
++    wlarc=
++
++    # A generic and very simple default shared library creation
++    # command for GNU C++ for the case where it uses the native
++    # linker, instead of GNU ld.  If possible, this setting should
++    # overridden to take advantage of the native linker features on
++    # the platform it is being used on.
++    _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
+   fi
++
++  # Commands to make compiler produce verbose output that lists
++  # what "hidden" libraries, object files and flags are used when
++  # linking a shared library.
++  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
++
+ else
+-  # PORTME fill in a description of your system's linker (not GNU ld)
+-  case $host_os in
++  GXX=no
++  with_gnu_ld=no
++  wlarc=
++fi
++
++# PORTME: fill in a description of your system's C++ link characteristics
++AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
++_LT_AC_TAGVAR(ld_shlibs, $1)=yes
++case $host_os in
+   aix3*)
+-    allow_undefined_flag=unsupported
+-    always_export_symbols=yes
+-    archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
+-    # Note: this linker hardcodes the directories in LIBPATH if there
+-    # are no directories specified by -L.
+-    hardcode_minus_L=yes
+-    if test "$GCC" = yes && test -z "$link_static_flag"; then
+-      # Neither direct hardcoding nor static linking is supported with a
+-      # broken collect2.
+-      hardcode_direct=unsupported
+-    fi
++    # FIXME: insert proper C++ library support
++    _LT_AC_TAGVAR(ld_shlibs, $1)=no
+     ;;
+-
+   aix4* | aix5*)
+     if test "$host_cpu" = ia64; then
+       # On IA64, the linker does run time linking by default, so we don't
+@@ -2488,10 +3824,12 @@
+       # need to do runtime linking.
+       case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
+ 	for ld_flag in $LDFLAGS; do
+-	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
++	  case $ld_flag in
++	  *-brtl*)
+ 	    aix_use_runtimelinking=yes
+ 	    break
+-	  fi
++	    ;;
++	  esac
+ 	done
+       esac
+ 
+@@ -2505,831 +3843,909 @@
+     # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
+     # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
+ 
+-    hardcode_direct=yes
+-    archive_cmds=''
+-    hardcode_libdir_separator=':'
+-    if test "$GCC" = yes; then
+-      case $host_os in aix4.[[012]]|aix4.[[012]].*)
++    _LT_AC_TAGVAR(archive_cmds, $1)=''
++    _LT_AC_TAGVAR(hardcode_direct, $1)=yes
++    _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
++    _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
++
++    if test "$GXX" = yes; then
++      case $host_os in aix4.[012]|aix4.[012].*)
++      # We only want to do this on AIX 4.2 and lower, the check
++      # below for broken collect2 doesn't work under 4.3+
+ 	collect2name=`${CC} -print-prog-name=collect2`
+ 	if test -f "$collect2name" && \
+-	  strings "$collect2name" | grep resolve_lib_name >/dev/null
++	   strings "$collect2name" | grep resolve_lib_name >/dev/null
+ 	then
+ 	  # We have reworked collect2
+-	  hardcode_direct=yes
++	  _LT_AC_TAGVAR(hardcode_direct, $1)=yes
+ 	else
+ 	  # We have old collect2
+-	  hardcode_direct=unsupported
++	  _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
+ 	  # It fails to find uninstalled libraries when the uninstalled
+ 	  # path is not listed in the libpath.  Setting hardcode_minus_L
+ 	  # to unsupported forces relinking
+-	  hardcode_minus_L=yes
+-	  hardcode_libdir_flag_spec='-L$libdir'
+-	  hardcode_libdir_separator=
++	  _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
++	  _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
++	  _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
+ 	fi
+       esac
+-
+       shared_flag='-shared'
+     else
+       # not using gcc
+       if test "$host_cpu" = ia64; then
+-	shared_flag='${wl}-G'
++	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
++	# chokes on -Wl,-G. The following line is correct:
++	shared_flag='-G'
+       else
+ 	if test "$aix_use_runtimelinking" = yes; then
+ 	  shared_flag='${wl}-G'
+ 	else
+-	  shared_flag='${wl}-bM:SRE'
+-	fi
+-      fi
+-    fi
+-
+-    # It seems that -bexpall can do strange things, so it is better to
+-    # generate a list of symbols to export.
+-    always_export_symbols=yes
+-    if test "$aix_use_runtimelinking" = yes; then
+-      # Warning - without using the other runtime loading flags (-brtl),
+-      # -berok will link without error, but may produce a broken library.
+-      allow_undefined_flag='-berok'
+-      hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib'
+-      archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
+-    else
+-      if test "$host_cpu" = ia64; then
+-	hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
+-	allow_undefined_flag="-z nodefs"
+-	archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
+-      else
+-	hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib'
+-	# Warning - without using the other run time loading flags,
+-	# -berok will link without error, but may produce a broken library.
+-	allow_undefined_flag='${wl}-berok'
+-	# This is a bit strange, but is similar to how AIX traditionally builds
+-	# it's shared libraries.
+-	archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $objdir/$libname$release.a $objdir/$soname'
+-      fi
+-    fi
+-    ;;
+-
+-  amigaos*)
+-    archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
+-    hardcode_libdir_flag_spec='-L$libdir'
+-    hardcode_minus_L=yes
+-    # see comment about different semantics on the GNU ld section
+-    ld_shlibs=no
+-    ;;
+-
+-  cygwin* | mingw* | pw32*)
+-    # When not using gcc, we currently assume that we are using
+-    # Microsoft Visual C++.
+-    # hardcode_libdir_flag_spec is actually meaningless, as there is
+-    # no search path for DLLs.
+-    hardcode_libdir_flag_spec=' '
+-    allow_undefined_flag=unsupported
+-    # Tell ltmain to make .lib files, not .a files.
+-    libext=lib
+-    # FIXME: Setting linknames here is a bad hack.
+-    archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames='
+-    # The linker will automatically build a .lib file if we build a DLL.
+-    old_archive_from_new_cmds='true'
+-    # FIXME: Should let the user specify the lib program.
+-    old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
+-    fix_srcfile_path='`cygpath -w "$srcfile"`'
+-    ;;
+-
+-  darwin* | rhapsody*)
+-    case "$host_os" in
+-    rhapsody* | darwin1.[[012]])
+-      allow_undefined_flag='-undefined suppress'
+-      ;;
+-    *) # Darwin 1.3 on
+-      allow_undefined_flag='-flat_namespace -undefined suppress'
+-      ;;
+-    esac
+-    # FIXME: Relying on posixy $() will cause problems for
+-    #        cross-compilation, but unfortunately the echo tests do not
+-    #        yet detect zsh echo's removal of \ escapes.
+-    archive_cmds='$nonopt $(test "x$module" = xyes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linker_flags -install_name $rpath/$soname $verstring'
+-    # We need to add '_' to the symbols in $export_symbols first
+-    #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
+-    hardcode_direct=yes
+-    hardcode_shlibpath_var=no
+-    whole_archive_flag_spec='-all_load $convenience'
+-    ;;
+-
+-  freebsd1*)
+-    ld_shlibs=no
+-    ;;
+-
+-  # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
+-  # support.  Future versions do this automatically, but an explicit c++rt0.o
+-  # does not break anything, and helps significantly (at the cost of a little
+-  # extra space).
+-  freebsd2.2*)
+-    archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
+-    hardcode_libdir_flag_spec='-R$libdir'
+-    hardcode_direct=yes
+-    hardcode_shlibpath_var=no
+-    ;;
+-
+-  # Unfortunately, older versions of FreeBSD 2 do not have this feature.
+-  freebsd2*)
+-    archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
+-    hardcode_direct=yes
+-    hardcode_minus_L=yes
+-    hardcode_shlibpath_var=no
+-    ;;
+-
+-  # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
+-  freebsd*)
+-    archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
+-    hardcode_libdir_flag_spec='-R$libdir'
+-    hardcode_direct=yes
+-    hardcode_shlibpath_var=no
+-    ;;
+-
+-  hpux9* | hpux10* | hpux11*)
+-    case $host_os in
+-    hpux9*) archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ;;
+-    *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;;
+-    esac
+-    hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
+-    hardcode_libdir_separator=:
+-    hardcode_direct=yes
+-    hardcode_minus_L=yes # Not in the search PATH, but as the default
+-			 # location of the library.
+-    export_dynamic_flag_spec='${wl}-E'
+-    ;;
+-
+-  irix5* | irix6*)
+-    if test "$GCC" = yes; then
+-      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+-    else
+-      archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
+-    fi
+-    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
+-    hardcode_libdir_separator=:
+-    link_all_deplibs=yes
+-    ;;
+-
+-  netbsd*)
+-    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
+-      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
+-    else
+-      archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
+-    fi
+-    hardcode_libdir_flag_spec='-R$libdir'
+-    hardcode_direct=yes
+-    hardcode_shlibpath_var=no
+-    ;;
+-
+-  newsos6)
+-    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+-    hardcode_direct=yes
+-    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
+-    hardcode_libdir_separator=:
+-    hardcode_shlibpath_var=no
+-    ;;
+-
+-  openbsd*)
+-    hardcode_direct=yes
+-    hardcode_shlibpath_var=no
+-    if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
+-      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
+-      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
+-      export_dynamic_flag_spec='${wl}-E'
+-    else
+-      case "$host_os" in
+-      openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
+-	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
+-	hardcode_libdir_flag_spec='-R$libdir'
+-        ;;
+-      *)
+-        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
+-        hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
+-        ;;
+-      esac
+-    fi
+-    ;;
+-
+-  os2*)
+-    hardcode_libdir_flag_spec='-L$libdir'
+-    hardcode_minus_L=yes
+-    allow_undefined_flag=unsupported
+-    archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
+-    old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
+-    ;;
+-
+-  osf3*)
+-    if test "$GCC" = yes; then
+-      allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
+-      archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+-    else
+-      allow_undefined_flag=' -expect_unresolved \*'
+-      archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
++	  shared_flag='${wl}-bM:SRE'
++	fi
++      fi
+     fi
+-    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
+-    hardcode_libdir_separator=:
+-    ;;
+ 
+-  osf4* | osf5*)	# as osf3* with the addition of -msym flag
+-    if test "$GCC" = yes; then
+-      allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
+-      archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+-      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
+-    else
+-      allow_undefined_flag=' -expect_unresolved \*'
+-      archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
+-      archive_expsym_cmds='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
+-      $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
++    # It seems that -bexpall does not export symbols beginning with
++    # underscore (_), so it is better to generate a list of symbols to export.
++    _LT_AC_TAGVAR(always_export_symbols, $1)=yes
++    if test "$aix_use_runtimelinking" = yes; then
++      # Warning - without using the other runtime loading flags (-brtl),
++      # -berok will link without error, but may produce a broken library.
++      _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
++      # Determine the default libpath from the value encoded in an empty executable.
++      _LT_AC_SYS_LIBPATH_AIX
++      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
+ 
+-      #Both c and cxx compiler support -rpath directly
+-      hardcode_libdir_flag_spec='-rpath $libdir'
++      _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
++     else
++      if test "$host_cpu" = ia64; then
++	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
++	_LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
++	_LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
++      else
++	# Determine the default libpath from the value encoded in an empty executable.
++	_LT_AC_SYS_LIBPATH_AIX
++	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
++	# Warning - without using the other run time loading flags,
++	# -berok will link without error, but may produce a broken library.
++	_LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
++	_LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
++	# -bexpall does not export symbols beginning with underscore (_)
++	_LT_AC_TAGVAR(always_export_symbols, $1)=yes
++	# Exported symbols can be pulled into shared objects from archives
++	_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' '
++	_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
++	# This is similar to how AIX traditionally builds it's shared libraries.
++	_LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
++      fi
+     fi
+-    hardcode_libdir_separator=:
+-    ;;
+-
+-  sco3.2v5*)
+-    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+-    hardcode_shlibpath_var=no
+-    runpath_var=LD_RUN_PATH
+-    hardcode_runpath_var=yes
+-    export_dynamic_flag_spec='${wl}-Bexport'
+     ;;
+-
+-  solaris*)
+-    # gcc --version < 3.0 without binutils cannot create self contained
+-    # shared libraries reliably, requiring libgcc.a to resolve some of
+-    # the object symbols generated in some cases.  Libraries that use
+-    # assert need libgcc.a to resolve __eprintf, for example.  Linking
+-    # a copy of libgcc.a into every shared library to guarantee resolving
+-    # such symbols causes other problems:  According to Tim Van Holder
+-    # <tim.van.holder@pandora.be>, C++ libraries end up with a separate
+-    # (to the application) exception stack for one thing.
+-    no_undefined_flag=' -z defs'
+-    if test "$GCC" = yes; then
+-      case `$CC --version 2>/dev/null` in
+-      [[12]].*)
+-	cat <<EOF 1>&2
+-
+-*** Warning: Releases of GCC earlier than version 3.0 cannot reliably
+-*** create self contained shared libraries on Solaris systems, without
+-*** introducing a dependency on libgcc.a.  Therefore, libtool is disabling
+-*** -no-undefined support, which will at least allow you to build shared
+-*** libraries.  However, you may find that when you link such libraries
+-*** into an application without using GCC, you have to manually add
+-*** \`gcc --print-libgcc-file-name\` to the link command.  We urge you to
+-*** upgrade to a newer version of GCC.  Another option is to rebuild your
+-*** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer.
+-
+-EOF
+-        no_undefined_flag=
++  chorus*)
++    case $cc_basename in
++      *)
++	# FIXME: insert proper C++ library support
++	_LT_AC_TAGVAR(ld_shlibs, $1)=no
+ 	;;
+-      esac
+-    fi
+-    # $CC -shared without GNU ld will not create a library from C++
+-    # object files and a static libstdc++, better avoid it by now
+-    archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
+-    archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
+-		$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
+-    hardcode_libdir_flag_spec='-R$libdir'
+-    hardcode_shlibpath_var=no
+-    case $host_os in
+-    solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
+-    *) # Supported since Solaris 2.6 (maybe 2.5.1?)
+-      whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
+     esac
+-    link_all_deplibs=yes
+     ;;
+ 
+-  sunos4*)
+-    if test "x$host_vendor" = xsequent; then
+-      # Use $CC to link under sequent, because it throws in some extra .o
+-      # files that make .init and .fini sections work.
+-      archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
++  cygwin* | mingw* | pw32*)
++    # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
++    # as there is no search path for DLLs.
++    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
++    _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
++    _LT_AC_TAGVAR(always_export_symbols, $1)=no
++    _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
++
++    if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
++      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
++      # If the export-symbols file already is a .def file (1st line
++      # is EXPORTS), use it as is; otherwise, prepend...
++      _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
++	cp $export_symbols $output_objdir/$soname.def;
++      else
++	echo EXPORTS > $output_objdir/$soname.def;
++	cat $export_symbols >> $output_objdir/$soname.def;
++      fi~
++      $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
+     else
+-      archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
++      _LT_AC_TAGVAR(ld_shlibs, $1)=no
+     fi
+-    hardcode_libdir_flag_spec='-L$libdir'
+-    hardcode_direct=yes
+-    hardcode_minus_L=yes
+-    hardcode_shlibpath_var=no
+-    ;;
++  ;;
+ 
+-  sysv4)
+-    if test "x$host_vendor" = xsno; then
+-      archive_cmds='$LD -G -Bsymbolic -h $soname -o $lib $libobjs $deplibs $linker_flags'
+-      hardcode_direct=yes # is this really true???
++  darwin* | rhapsody*)
++  if test "$GXX" = yes; then
++    _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
++    case "$host_os" in
++    rhapsody* | darwin1.[[012]])
++      _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'
++      ;;
++    *) # Darwin 1.3 on
++      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
++      	_LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
++      else
++        case ${MACOSX_DEPLOYMENT_TARGET} in
++          10.[[012]])
++            _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
++            ;;
++          10.*)
++            _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'
++            ;;            
++        esac
++      fi
++      ;;
++    esac
++    lt_int_apple_cc_single_mod=no
++    output_verbose_link_cmd='echo'
++    if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
++      lt_int_apple_cc_single_mod=yes
++    fi
++    if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
++      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
+     else
+-      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+-      hardcode_direct=no #Motorola manual says yes, but my tests say they lie
++      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
+     fi
+-    runpath_var='LD_RUN_PATH'
+-    hardcode_shlibpath_var=no
+-    ;;
++    _LT_AC_TAGVAR(module_cmds, $1)='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
+ 
+-  sysv4.3*)
+-    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+-    hardcode_shlibpath_var=no
+-    export_dynamic_flag_spec='-Bexport'
+-    ;;
+-
+-  sysv5*)
+-    no_undefined_flag=' -z text'
+-    # $CC -shared without GNU ld will not create a library from C++
+-    # object files and a static libstdc++, better avoid it by now
+-    archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
+-    archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
+-		$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
+-    hardcode_libdir_flag_spec=
+-    hardcode_shlibpath_var=no
+-    runpath_var='LD_RUN_PATH'
+-    ;;
+-
+-  uts4*)
+-    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+-    hardcode_libdir_flag_spec='-L$libdir'
+-    hardcode_shlibpath_var=no
++    # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
++    if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
++      _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++    else
++      _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++    fi
++    _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++    _LT_AC_TAGVAR(hardcode_direct, $1)=no
++    _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
++    _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
++    _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
++    _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
++  else
++    _LT_AC_TAGVAR(ld_shlibs, $1)=no
++  fi
+     ;;
+ 
+   dgux*)
+-    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+-    hardcode_libdir_flag_spec='-L$libdir'
+-    hardcode_shlibpath_var=no
+-    ;;
+-
+-  sysv4*MP*)
+-    if test -d /usr/nec; then
+-      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+-      hardcode_shlibpath_var=no
+-      runpath_var=LD_RUN_PATH
+-      hardcode_runpath_var=yes
+-      ld_shlibs=yes
+-    fi
++    case $cc_basename in
++      ec++)
++	# FIXME: insert proper C++ library support
++	_LT_AC_TAGVAR(ld_shlibs, $1)=no
++	;;
++      ghcx)
++	# Green Hills C++ Compiler
++	# FIXME: insert proper C++ library support
++	_LT_AC_TAGVAR(ld_shlibs, $1)=no
++	;;
++      *)
++	# FIXME: insert proper C++ library support
++	_LT_AC_TAGVAR(ld_shlibs, $1)=no
++	;;
++    esac
+     ;;
+-
+-  sysv4.2uw2*)
+-    archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
+-    hardcode_direct=yes
+-    hardcode_minus_L=no
+-    hardcode_shlibpath_var=no
+-    hardcode_runpath_var=yes
+-    runpath_var=LD_RUN_PATH
++  freebsd[12]*)
++    # C++ shared libraries reported to be fairly broken before switch to ELF
++    _LT_AC_TAGVAR(ld_shlibs, $1)=no
++    ;;
++  freebsd-elf*)
++    _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
++    ;;
++  freebsd* | kfreebsd*-gnu)
++    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
++    # conventions
++    _LT_AC_TAGVAR(ld_shlibs, $1)=yes
++    ;;
++  gnu*)
++    ;;
++  hpux9*)
++    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
++    _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
++    _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
++    _LT_AC_TAGVAR(hardcode_direct, $1)=yes
++    _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
++				# but as the default
++				# location of the library.
++
++    case $cc_basename in
++    CC)
++      # FIXME: insert proper C++ library support
++      _LT_AC_TAGVAR(ld_shlibs, $1)=no
++      ;;
++    aCC)
++      _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
++      # Commands to make compiler produce verbose output that lists
++      # what "hidden" libraries, object files and flags are used when
++      # linking a shared library.
++      #
++      # There doesn't appear to be a way to prevent this compiler from
++      # explicitly linking system object files so we need to strip them
++      # from the output so that they don't get included in the library
++      # dependencies.
++      output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | egrep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
++      ;;
++    *)
++      if test "$GXX" = yes; then
++        _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
++      else
++        # FIXME: insert proper C++ library support
++        _LT_AC_TAGVAR(ld_shlibs, $1)=no
++      fi
++      ;;
++    esac
+     ;;
+-
+-  sysv5uw7* | unixware7*)
+-    no_undefined_flag='${wl}-z ${wl}text'
+-    if test "$GCC" = yes; then
+-      archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
+-    else
+-      archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++  hpux10*|hpux11*)
++    if test $with_gnu_ld = no; then
++      case "$host_cpu" in
++      hppa*64*)
++	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
++	_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
++	_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
++        ;;
++      ia64*)
++	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
++        ;;
++      *)
++	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
++	_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
++	_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
++        ;;
++      esac
+     fi
+-    runpath_var='LD_RUN_PATH'
+-    hardcode_shlibpath_var=no
+-    ;;
+-
+-  *)
+-    ld_shlibs=no
+-    ;;
+-  esac
+-fi
+-AC_MSG_RESULT([$ld_shlibs])
+-test "$ld_shlibs" = no && can_build_shared=no
+-
+-# Check hardcoding attributes.
+-AC_MSG_CHECKING([how to hardcode library paths into programs])
+-hardcode_action=
+-if test -n "$hardcode_libdir_flag_spec" || \
+-   test -n "$runpath_var"; then
+-
+-  # We can hardcode non-existant directories.
+-  if test "$hardcode_direct" != no &&
+-     # If the only mechanism to avoid hardcoding is shlibpath_var, we
+-     # have to relink, otherwise we might link with an installed library
+-     # when we should be linking with a yet-to-be-installed one
+-     ## test "$hardcode_shlibpath_var" != no &&
+-     test "$hardcode_minus_L" != no; then
+-    # Linking always hardcodes the temporary library directory.
+-    hardcode_action=relink
+-  else
+-    # We can link without hardcoding, and we can hardcode nonexisting dirs.
+-    hardcode_action=immediate
+-  fi
+-else
+-  # We cannot hardcode anything, or else we can only hardcode existing
+-  # directories.
+-  hardcode_action=unsupported
+-fi
+-AC_MSG_RESULT([$hardcode_action])
+-
+-striplib=
+-old_striplib=
+-AC_MSG_CHECKING([whether stripping libraries is possible])
+-if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
+-  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
+-  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
+-  AC_MSG_RESULT([yes])
+-else
+-  AC_MSG_RESULT([no])
+-fi
+-
+-reload_cmds='$LD$reload_flag -o $output$reload_objs'
+-test -z "$deplibs_check_method" && deplibs_check_method=unknown
+-
+-# PORTME Fill in your ld.so characteristics
+-AC_MSG_CHECKING([dynamic linker characteristics])
+-library_names_spec=
+-libname_spec='lib$name'
+-soname_spec=
+-postinstall_cmds=
+-postuninstall_cmds=
+-finish_cmds=
+-finish_eval=
+-shlibpath_var=
+-shlibpath_overrides_runpath=unknown
+-version_type=none
+-dynamic_linker="$host_os ld.so"
+-sys_lib_dlsearch_path_spec="/lib /usr/lib"
+-sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
+-
+-case $host_os in
+-aix3*)
+-  version_type=linux
+-  library_names_spec='${libname}${release}.so$versuffix $libname.a'
+-  shlibpath_var=LIBPATH
+-
+-  # AIX has no versioning support, so we append a major version to the name.
+-  soname_spec='${libname}${release}.so$major'
+-  ;;
++    case "$host_cpu" in
++    hppa*64*)
++      _LT_AC_TAGVAR(hardcode_direct, $1)=no
++      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
++      ;;
++    ia64*)
++      _LT_AC_TAGVAR(hardcode_direct, $1)=no
++      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
++      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
++					      # but as the default
++					      # location of the library.
++      ;;
++    *)
++      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
++      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
++					      # but as the default
++					      # location of the library.
++      ;;
++    esac
+ 
+-aix4* | aix5*)
+-  version_type=linux
+-  if test "$host_cpu" = ia64; then
+-    # AIX 5 supports IA64
+-    library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so'
+-    shlibpath_var=LD_LIBRARY_PATH
+-  else
+-    # With GCC up to 2.95.x, collect2 would create an import file
+-    # for dependence libraries.  The import file would start with
+-    # the line `#! .'.  This would cause the generated library to
+-    # depend on `.', always an invalid library.  This was fixed in
+-    # development snapshots of GCC prior to 3.0.
+-    case $host_os in
+-      aix4 | aix4.[[01]] | aix4.[[01]].*)
+-	if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
+-	     echo ' yes '
+-	     echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
+-	  :
++    case $cc_basename in
++      CC)
++	# FIXME: insert proper C++ library support
++	_LT_AC_TAGVAR(ld_shlibs, $1)=no
++	;;
++      aCC)
++	case "$host_cpu" in
++	hppa*64*|ia64*)
++	  _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
++	  ;;
++	*)
++	  _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
++	  ;;
++	esac
++	# Commands to make compiler produce verbose output that lists
++	# what "hidden" libraries, object files and flags are used when
++	# linking a shared library.
++	#
++	# There doesn't appear to be a way to prevent this compiler from
++	# explicitly linking system object files so we need to strip them
++	# from the output so that they don't get included in the library
++	# dependencies.
++	output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
++	;;
++      *)
++	if test "$GXX" = yes; then
++	  if test $with_gnu_ld = no; then
++	    case "$host_cpu" in
++	    ia64*|hppa*64*)
++	      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
++	      ;;
++	    *)
++	      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
++	      ;;
++	    esac
++	  fi
+ 	else
+-	  can_build_shared=no
++	  # FIXME: insert proper C++ library support
++	  _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ 	fi
+ 	;;
+     esac
+-    # AIX (on Power*) has no versioning support, so currently we can
+-    # not hardcode correct soname into executable. Probably we can
+-    # add versioning support to collect2, so additional links can
+-    # be useful in future.
+-    if test "$aix_use_runtimelinking" = yes; then
+-      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
+-      # instead of lib<name>.a to let people know that these are not
+-      # typical AIX shared libraries.
+-      library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
+-    else
+-      # We preserve .a as extension for shared libraries through AIX4.2
+-      # and later when we are not doing run time linking.
+-      library_names_spec='${libname}${release}.a $libname.a'
+-      soname_spec='${libname}${release}.so$major'
+-    fi
+-    shlibpath_var=LIBPATH
+-  fi
+-  ;;
+-
+-amigaos*)
+-  library_names_spec='$libname.ixlibrary $libname.a'
+-  # Create ${libname}_ixlibrary.a entries in /sys/libs.
+-  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done'
+-  ;;
+-
+-beos*)
+-  library_names_spec='${libname}.so'
+-  dynamic_linker="$host_os ld.so"
+-  shlibpath_var=LIBRARY_PATH
+-  ;;
+-
+-bsdi4*)
+-  version_type=linux
+-  need_version=no
+-  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
+-  soname_spec='${libname}${release}.so$major'
+-  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
+-  shlibpath_var=LD_LIBRARY_PATH
+-  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
+-  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
+-  export_dynamic_flag_spec=-rdynamic
+-  # the default ld.so.conf also contains /usr/contrib/lib and
+-  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
+-  # libtool to hard-code these into programs
+-  ;;
+-
+-cygwin* | mingw* | pw32*)
+-  version_type=windows
+-  need_version=no
+-  need_lib_prefix=no
+-  case $GCC,$host_os in
+-  yes,cygwin*)
+-    library_names_spec='$libname.dll.a'
+-    soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll'
+-    postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~
+-      dldir=$destdir/`dirname \$dlpath`~
+-      test -d \$dldir || mkdir -p \$dldir~
+-      $install_prog .libs/$dlname \$dldir/$dlname'
+-    postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~
+-      dlpath=$dir/\$dldll~
+-       $rm \$dlpath'
+-    ;;
+-  yes,mingw*)
+-    library_names_spec='${libname}`echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll'
+-    sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g"`
+     ;;
+-  yes,pw32*)
+-    library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
++  irix5* | irix6*)
++    case $cc_basename in
++      CC)
++	# SGI C++
++	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
++
++	# Archives containing C++ object files must be created using
++	# "CC -ar", where "CC" is the IRIX C++ compiler.  This is
++	# necessary to make sure instantiated templates are included
++	# in the archive.
++	_LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
++	;;
++      *)
++	if test "$GXX" = yes; then
++	  if test "$with_gnu_ld" = no; then
++	    _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
++	  else
++	    _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
++	  fi
++	fi
++	_LT_AC_TAGVAR(link_all_deplibs, $1)=yes
++	;;
++    esac
++    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
++    _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
+     ;;
+-  *)
+-    library_names_spec='${libname}`echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll $libname.lib'
++  linux*)
++    case $cc_basename in
++      KCC)
++	# Kuck and Associates, Inc. (KAI) C++ Compiler
++
++	# KCC will only create a shared library if the output file
++	# ends with ".so" (or ".sl" for HP-UX), so rename the library
++	# to its proper name (with version) after linking.
++	_LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
++	_LT_AC_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
++	# Commands to make compiler produce verbose output that lists
++	# what "hidden" libraries, object files and flags are used when
++	# linking a shared library.
++	#
++	# There doesn't appear to be a way to prevent this compiler from
++	# explicitly linking system object files so we need to strip them
++	# from the output so that they don't get included in the library
++	# dependencies.
++	output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
++
++	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath,$libdir'
++	_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
++
++	# Archives containing C++ object files must be created using
++	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
++	_LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
++	;;
++      icpc)
++	# Intel C++
++	with_gnu_ld=yes
++	_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
++	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
++	_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
++	_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
++	_LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
++	;;
++      cxx)
++	# Compaq C++
++	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
++	_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
++
++	runpath_var=LD_RUN_PATH
++	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
++	_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
++
++	# Commands to make compiler produce verbose output that lists
++	# what "hidden" libraries, object files and flags are used when
++	# linking a shared library.
++	#
++	# There doesn't appear to be a way to prevent this compiler from
++	# explicitly linking system object files so we need to strip them
++	# from the output so that they don't get included in the library
++	# dependencies.
++	output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
++	;;
++    esac
+     ;;
+-  esac
+-  dynamic_linker='Win32 ld.exe'
+-  # FIXME: first we should search . and the directory the executable is in
+-  shlibpath_var=PATH
+-  ;;
+-
+-darwin* | rhapsody*)
+-  dynamic_linker="$host_os dyld"
+-  version_type=darwin
+-  need_lib_prefix=no
+-  need_version=no
+-  # FIXME: Relying on posixy $() will cause problems for
+-  #        cross-compilation, but unfortunately the echo tests do not
+-  #        yet detect zsh echo's removal of \ escapes.
+-  library_names_spec='${libname}${release}${versuffix}.$(test .$module = .yes && echo so || echo dylib) ${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib) ${libname}.$(test .$module = .yes && echo so || echo dylib)'
+-  soname_spec='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)'
+-  shlibpath_overrides_runpath=yes
+-  shlibpath_var=DYLD_LIBRARY_PATH
+-  ;;
+-
+-freebsd1*)
+-  dynamic_linker=no
+-  ;;
+-
+-freebsd*)
+-  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
+-  version_type=freebsd-$objformat
+-  case $version_type in
+-    freebsd-elf*)
+-      library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
+-      need_version=no
+-      need_lib_prefix=no
+-      ;;
+-    freebsd-*)
+-      library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix'
+-      need_version=yes
+-      ;;
+-  esac
+-  shlibpath_var=LD_LIBRARY_PATH
+-  case $host_os in
+-  freebsd2*)
+-    shlibpath_overrides_runpath=yes
++  lynxos*)
++    # FIXME: insert proper C++ library support
++    _LT_AC_TAGVAR(ld_shlibs, $1)=no
++    ;;
++  m88k*)
++    # FIXME: insert proper C++ library support
++    _LT_AC_TAGVAR(ld_shlibs, $1)=no
++    ;;
++  mvs*)
++    case $cc_basename in
++      cxx)
++	# FIXME: insert proper C++ library support
++	_LT_AC_TAGVAR(ld_shlibs, $1)=no
++	;;
++      *)
++	# FIXME: insert proper C++ library support
++	_LT_AC_TAGVAR(ld_shlibs, $1)=no
++	;;
++    esac
+     ;;
+-  *)
+-    shlibpath_overrides_runpath=no
+-    hardcode_into_libs=yes
++  netbsd*)
++    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
++      wlarc=
++      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
++      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
++      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
++    fi
++    # Workaround some broken pre-1.5 toolchains
++    output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
+     ;;
+-  esac
+-  ;;
++  osf3*)
++    case $cc_basename in
++      KCC)
++	# Kuck and Associates, Inc. (KAI) C++ Compiler
++
++	# KCC will only create a shared library if the output file
++	# ends with ".so" (or ".sl" for HP-UX), so rename the library
++	# to its proper name (with version) after linking.
++	_LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
++
++	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
++	_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
++
++	# Archives containing C++ object files must be created using
++	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
++	_LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
+ 
+-gnu*)
+-  version_type=linux
+-  need_lib_prefix=no
+-  need_version=no
+-  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so'
+-  soname_spec='${libname}${release}.so$major'
+-  shlibpath_var=LD_LIBRARY_PATH
+-  hardcode_into_libs=yes
+-  ;;
++	;;
++      RCC)
++	# Rational C++ 2.4.1
++	# FIXME: insert proper C++ library support
++	_LT_AC_TAGVAR(ld_shlibs, $1)=no
++	;;
++      cxx)
++	_LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
++	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
++
++	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
++	_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
++
++	# Commands to make compiler produce verbose output that lists
++	# what "hidden" libraries, object files and flags are used when
++	# linking a shared library.
++	#
++	# There doesn't appear to be a way to prevent this compiler from
++	# explicitly linking system object files so we need to strip them
++	# from the output so that they don't get included in the library
++	# dependencies.
++	output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
++	;;
++      *)
++	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
++	  _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
++	  _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
++
++	  _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
++	  _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
++
++	  # Commands to make compiler produce verbose output that lists
++	  # what "hidden" libraries, object files and flags are used when
++	  # linking a shared library.
++	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
+ 
+-hpux9* | hpux10* | hpux11*)
+-  # Give a soname corresponding to the major version so that dld.sl refuses to
+-  # link against other versions.
+-  dynamic_linker="$host_os dld.sl"
+-  version_type=sunos
+-  need_lib_prefix=no
+-  need_version=no
+-  shlibpath_var=SHLIB_PATH
+-  shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
+-  library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl'
+-  soname_spec='${libname}${release}.sl$major'
+-  # HP-UX runs *really* slowly unless shared libraries are mode 555.
+-  postinstall_cmds='chmod 555 $lib'
+-  ;;
++	else
++	  # FIXME: insert proper C++ library support
++	  _LT_AC_TAGVAR(ld_shlibs, $1)=no
++	fi
++	;;
++    esac
++    ;;
++  osf4* | osf5*)
++    case $cc_basename in
++      KCC)
++	# Kuck and Associates, Inc. (KAI) C++ Compiler
++
++	# KCC will only create a shared library if the output file
++	# ends with ".so" (or ".sl" for HP-UX), so rename the library
++	# to its proper name (with version) after linking.
++	_LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
++
++	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
++	_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
++
++	# Archives containing C++ object files must be created using
++	# the KAI C++ compiler.
++	_LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs'
++	;;
++      RCC)
++	# Rational C++ 2.4.1
++	# FIXME: insert proper C++ library support
++	_LT_AC_TAGVAR(ld_shlibs, $1)=no
++	;;
++      cxx)
++	_LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
++	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
++	_LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
++	  echo "-hidden">> $lib.exp~
++	  $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp  `test -n "$verstring" && echo -set_version	$verstring` -update_registry $objdir/so_locations -o $lib~
++	  $rm $lib.exp'
++
++	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
++	_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
++
++	# Commands to make compiler produce verbose output that lists
++	# what "hidden" libraries, object files and flags are used when
++	# linking a shared library.
++	#
++	# There doesn't appear to be a way to prevent this compiler from
++	# explicitly linking system object files so we need to strip them
++	# from the output so that they don't get included in the library
++	# dependencies.
++	output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
++	;;
++      *)
++	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
++	  _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
++	 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
++
++	  _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
++	  _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
++
++	  # Commands to make compiler produce verbose output that lists
++	  # what "hidden" libraries, object files and flags are used when
++	  # linking a shared library.
++	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
+ 
+-irix5* | irix6*)
+-  version_type=irix
+-  need_lib_prefix=no
+-  need_version=no
+-  soname_spec='${libname}${release}.so$major'
+-  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so'
+-  case $host_os in
+-  irix5*)
+-    libsuff= shlibsuff=
++	else
++	  # FIXME: insert proper C++ library support
++	  _LT_AC_TAGVAR(ld_shlibs, $1)=no
++	fi
++	;;
++    esac
+     ;;
+-  *)
+-    case $LD in # libtool.m4 will add one of these switches to LD
+-    *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;;
+-    *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;;
+-    *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;;
+-    *) libsuff= shlibsuff= libmagic=never-match;;
++  psos*)
++    # FIXME: insert proper C++ library support
++    _LT_AC_TAGVAR(ld_shlibs, $1)=no
++    ;;
++  sco*)
++    _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
++    case $cc_basename in
++      CC)
++	# FIXME: insert proper C++ library support
++	_LT_AC_TAGVAR(ld_shlibs, $1)=no
++	;;
++      *)
++	# FIXME: insert proper C++ library support
++	_LT_AC_TAGVAR(ld_shlibs, $1)=no
++	;;
+     esac
+     ;;
+-  esac
+-  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
+-  shlibpath_overrides_runpath=no
+-  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
+-  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
+-  ;;
++  sunos4*)
++    case $cc_basename in
++      CC)
++	# Sun C++ 4.x
++	# FIXME: insert proper C++ library support
++	_LT_AC_TAGVAR(ld_shlibs, $1)=no
++	;;
++      lcc)
++	# Lucid
++	# FIXME: insert proper C++ library support
++	_LT_AC_TAGVAR(ld_shlibs, $1)=no
++	;;
++      *)
++	# FIXME: insert proper C++ library support
++	_LT_AC_TAGVAR(ld_shlibs, $1)=no
++	;;
++    esac
++    ;;
++  solaris*)
++    case $cc_basename in
++      CC)
++	# Sun C++ 4.2, 5.x and Centerline C++
++	_LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs'
++	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
++	_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++	$CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
++
++	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
++	_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
++	case $host_os in
++	  solaris2.[0-5] | solaris2.[0-5].*) ;;
++	  *)
++	    # The C++ compiler is used as linker so we must use $wl
++	    # flag to pass the commands to the underlying system
++	    # linker.
++	    # Supported since Solaris 2.6 (maybe 2.5.1?)
++	    _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
++	    ;;
++	esac
++	_LT_AC_TAGVAR(link_all_deplibs, $1)=yes
+ 
+-# No shared lib support for Linux oldld, aout, or coff.
+-linux-gnuoldld* | linux-gnuaout* | linux-gnucoff*)
+-  dynamic_linker=no
+-  ;;
++	# Commands to make compiler produce verbose output that lists
++	# what "hidden" libraries, object files and flags are used when
++	# linking a shared library.
++	#
++	# There doesn't appear to be a way to prevent this compiler from
++	# explicitly linking system object files so we need to strip them
++	# from the output so that they don't get included in the library
++	# dependencies.
++	output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[[LR]]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
++
++	# Archives containing C++ object files must be created using
++	# "CC -xar", where "CC" is the Sun C++ compiler.  This is
++	# necessary to make sure instantiated templates are included
++	# in the archive.
++	_LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
++	;;
++      gcx)
++	# Green Hills C++ Compiler
++	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
+ 
+-# This must be Linux ELF.
+-linux-gnu*)
+-  version_type=linux
+-  need_lib_prefix=no
+-  need_version=no
+-  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
+-  soname_spec='${libname}${release}.so$major'
+-  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
+-  shlibpath_var=LD_LIBRARY_PATH
+-  shlibpath_overrides_runpath=no
+-  # This implies no fast_install, which is unacceptable.
+-  # Some rework will be needed to allow for fast_install
+-  # before this can be enabled.
+-  hardcode_into_libs=yes
++	# The C++ compiler must be used to create the archive.
++	_LT_AC_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
++	;;
++      *)
++	# GNU C++ compiler with Solaris linker
++	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
++	  _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
++	  if $CC --version | grep -v '^2\.7' > /dev/null; then
++	    _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
++	    _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++		$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
++
++	    # Commands to make compiler produce verbose output that lists
++	    # what "hidden" libraries, object files and flags are used when
++	    # linking a shared library.
++	    output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
++	  else
++	    # g++ 2.7 appears to require `-G' NOT `-shared' on this
++	    # platform.
++	    _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
++	    _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++		$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
++
++	    # Commands to make compiler produce verbose output that lists
++	    # what "hidden" libraries, object files and flags are used when
++	    # linking a shared library.
++	    output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
++	  fi
+ 
+-  # We used to test for /lib/ld.so.1 and disable shared libraries on
+-  # powerpc, because MkLinux only supported shared libraries with the
+-  # GNU dynamic linker.  Since this was broken with cross compilers,
+-  # most powerpc-linux boxes support dynamic linking these days and
+-  # people can always --disable-shared, the test was removed, and we
+-  # assume the GNU/Linux dynamic linker is in use.
+-  dynamic_linker='GNU/Linux ld.so'
+-  ;;
++	  _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
++	fi
++	;;
++    esac
++    ;;
++  sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*)
++    _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
++    ;;
++  tandem*)
++    case $cc_basename in
++      NCC)
++	# NonStop-UX NCC 3.20
++	# FIXME: insert proper C++ library support
++	_LT_AC_TAGVAR(ld_shlibs, $1)=no
++	;;
++      *)
++	# FIXME: insert proper C++ library support
++	_LT_AC_TAGVAR(ld_shlibs, $1)=no
++	;;
++    esac
++    ;;
++  vxworks*)
++    # FIXME: insert proper C++ library support
++    _LT_AC_TAGVAR(ld_shlibs, $1)=no
++    ;;
++  *)
++    # FIXME: insert proper C++ library support
++    _LT_AC_TAGVAR(ld_shlibs, $1)=no
++    ;;
++esac
++AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
++test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
+ 
+-netbsd*)
+-  version_type=sunos
+-  need_lib_prefix=no
+-  need_version=no
+-  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
+-    library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
+-    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
+-    dynamic_linker='NetBSD (a.out) ld.so'
+-  else
+-    library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so'
+-    soname_spec='${libname}${release}.so$major'
+-    dynamic_linker='NetBSD ld.elf_so'
+-  fi
+-  shlibpath_var=LD_LIBRARY_PATH
+-  shlibpath_overrides_runpath=yes
+-  hardcode_into_libs=yes
+-  ;;
++_LT_AC_TAGVAR(GCC, $1)="$GXX"
++_LT_AC_TAGVAR(LD, $1)="$LD"
+ 
+-newsos6)
+-  version_type=linux
+-  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
+-  shlibpath_var=LD_LIBRARY_PATH
+-  shlibpath_overrides_runpath=yes
+-  ;;
++AC_LIBTOOL_POSTDEP_PREDEP($1)
++AC_LIBTOOL_PROG_COMPILER_PIC($1)
++AC_LIBTOOL_PROG_CC_C_O($1)
++AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
++AC_LIBTOOL_PROG_LD_SHLIBS($1)
++AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
++AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
++AC_LIBTOOL_SYS_LIB_STRIP
++AC_LIBTOOL_DLOPEN_SELF($1)
++
++AC_LIBTOOL_CONFIG($1)
++
++AC_LANG_POP
++CC=$lt_save_CC
++LDCXX=$LD
++LD=$lt_save_LD
++GCC=$lt_save_GCC
++with_gnu_ldcxx=$with_gnu_ld
++with_gnu_ld=$lt_save_with_gnu_ld
++lt_cv_path_LDCXX=$lt_cv_path_LD
++lt_cv_path_LD=$lt_save_path_LD
++lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
++lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
++])# AC_LIBTOOL_LANG_CXX_CONFIG
+ 
+-openbsd*)
+-  version_type=sunos
+-  need_lib_prefix=no
+-  need_version=no
+-  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
+-    case "$host_os" in
+-    openbsd2.[[89]] | openbsd2.[[89]].*)
+-      shlibpath_overrides_runpath=no
+-      ;;
+-    *)
+-      shlibpath_overrides_runpath=yes
+-      ;;
+-    esac
+-  else
+-    shlibpath_overrides_runpath=yes
+-  fi
+-  library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
+-  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
+-  shlibpath_var=LD_LIBRARY_PATH
+-  ;;
++# AC_LIBTOOL_POSTDEP_PREDEP([TAGNAME])
++# ------------------------
++# Figure out "hidden" library dependencies from verbose
++# compiler output when linking a shared library.
++# Parse the compiler output and extract the necessary
++# objects, libraries and library flags.
++AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],[
++dnl we can't use the lt_simple_compile_test_code here,
++dnl because it contains code intended for an executable,
++dnl not a library.  It's possible we should let each
++dnl tag define a new lt_????_link_test_code variable,
++dnl but it's only used here...
++ifelse([$1],[],[cat > conftest.$ac_ext <<EOF
++int a;
++void foo (void) { a = 0; }
++EOF
++],[$1],[CXX],[cat > conftest.$ac_ext <<EOF
++class Foo
++{
++public:
++  Foo (void) { a = 0; }
++private:
++  int a;
++};
++EOF
++],[$1],[F77],[cat > conftest.$ac_ext <<EOF
++      subroutine foo
++      implicit none
++      integer*4 a
++      a=0
++      return
++      end
++EOF
++],[$1],[GCJ],[cat > conftest.$ac_ext <<EOF
++public class foo {
++  private int a;
++  public void bar (void) {
++    a = 0;
++  }
++};
++EOF
++])
++dnl Parse the compiler output and extract the necessary
++dnl objects, libraries and library flags.
++if AC_TRY_EVAL(ac_compile); then
++  # Parse the compiler output and extract the necessary
++  # objects, libraries and library flags.
++
++  # Sentinel used to keep track of whether or not we are before
++  # the conftest object file.
++  pre_test_object_deps_done=no
++
++  # The `*' in the case matches for architectures that use `case' in
++  # $output_verbose_cmd can trigger glob expansion during the loop
++  # eval without this substitution.
++  output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
++
++  for p in `eval $output_verbose_link_cmd`; do
++    case $p in
++
++    -L* | -R* | -l*)
++       # Some compilers place space between "-{L,R}" and the path.
++       # Remove the space.
++       if test $p = "-L" \
++	  || test $p = "-R"; then
++	 prev=$p
++	 continue
++       else
++	 prev=
++       fi
++
++       if test "$pre_test_object_deps_done" = no; then
++	 case $p in
++	 -L* | -R*)
++	   # Internal compiler library paths should come after those
++	   # provided the user.  The postdeps already come after the
++	   # user supplied libs so there is no need to process them.
++	   if test -z "$_LT_AC_TAGVAR(compiler_lib_search_path, $1)"; then
++	     _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}"
++	   else
++	     _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${_LT_AC_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}"
++	   fi
++	   ;;
++	 # The "-l" case would never come before the object being
++	 # linked, so don't bother handling this case.
++	 esac
++       else
++	 if test -z "$_LT_AC_TAGVAR(postdeps, $1)"; then
++	   _LT_AC_TAGVAR(postdeps, $1)="${prev}${p}"
++	 else
++	   _LT_AC_TAGVAR(postdeps, $1)="${_LT_AC_TAGVAR(postdeps, $1)} ${prev}${p}"
++	 fi
++       fi
++       ;;
++
++    *.$objext)
++       # This assumes that the test object file only shows up
++       # once in the compiler output.
++       if test "$p" = "conftest.$objext"; then
++	 pre_test_object_deps_done=yes
++	 continue
++       fi
++
++       if test "$pre_test_object_deps_done" = no; then
++	 if test -z "$_LT_AC_TAGVAR(predep_objects, $1)"; then
++	   _LT_AC_TAGVAR(predep_objects, $1)="$p"
++	 else
++	   _LT_AC_TAGVAR(predep_objects, $1)="$_LT_AC_TAGVAR(predep_objects, $1) $p"
++	 fi
++       else
++	 if test -z "$_LT_AC_TAGVAR(postdep_objects, $1)"; then
++	   _LT_AC_TAGVAR(postdep_objects, $1)="$p"
++	 else
++	   _LT_AC_TAGVAR(postdep_objects, $1)="$_LT_AC_TAGVAR(postdep_objects, $1) $p"
++	 fi
++       fi
++       ;;
+ 
+-os2*)
+-  libname_spec='$name'
+-  need_lib_prefix=no
+-  library_names_spec='$libname.dll $libname.a'
+-  dynamic_linker='OS/2 ld.exe'
+-  shlibpath_var=LIBPATH
+-  ;;
++    *) ;; # Ignore the rest.
+ 
+-osf3* | osf4* | osf5*)
+-  version_type=osf
+-  need_version=no
+-  soname_spec='${libname}${release}.so'
+-  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
+-  shlibpath_var=LD_LIBRARY_PATH
+-  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
+-  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
+-  ;;
++    esac
++  done
+ 
+-sco3.2v5*)
+-  version_type=osf
+-  soname_spec='${libname}${release}.so$major'
+-  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
+-  shlibpath_var=LD_LIBRARY_PATH
+-  ;;
++  # Clean up.
++  rm -f a.out a.exe
++else
++  echo "libtool.m4: error: problem compiling $1 test program"
++fi
+ 
+-solaris*)
+-  version_type=linux
+-  need_lib_prefix=no
+-  need_version=no
+-  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
+-  soname_spec='${libname}${release}.so$major'
+-  shlibpath_var=LD_LIBRARY_PATH
+-  shlibpath_overrides_runpath=yes
+-  hardcode_into_libs=yes
+-  # ldd complains unless libraries are executable
+-  postinstall_cmds='chmod +x $lib'
+-  ;;
++$rm -f confest.$objext
+ 
+-sunos4*)
+-  version_type=sunos
+-  library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
+-  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
+-  shlibpath_var=LD_LIBRARY_PATH
+-  shlibpath_overrides_runpath=yes
+-  if test "$with_gnu_ld" = yes; then
+-    need_lib_prefix=no
+-  fi
+-  need_version=yes
+-  ;;
++case " $_LT_AC_TAGVAR(postdeps, $1) " in
++*" -lc "*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;;
++esac
++])# AC_LIBTOOL_POSTDEP_PREDEP
+ 
+-sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
+-  version_type=linux
+-  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
+-  soname_spec='${libname}${release}.so$major'
+-  shlibpath_var=LD_LIBRARY_PATH
+-  case $host_vendor in
+-    sni)
+-      shlibpath_overrides_runpath=no
+-      ;;
+-    motorola)
+-      need_lib_prefix=no
+-      need_version=no
+-      shlibpath_overrides_runpath=no
+-      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
+-      ;;
+-  esac
+-  ;;
++# AC_LIBTOOL_LANG_F77_CONFIG
++# ------------------------
++# Ensure that the configuration vars for the C compiler are
++# suitably defined.  Those variables are subsequently used by
++# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
++AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG], [_LT_AC_LANG_F77_CONFIG(F77)])
++AC_DEFUN([_LT_AC_LANG_F77_CONFIG],
++[AC_REQUIRE([AC_PROG_F77])
++AC_LANG_PUSH(Fortran 77)
++
++_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
++_LT_AC_TAGVAR(allow_undefined_flag, $1)=
++_LT_AC_TAGVAR(always_export_symbols, $1)=no
++_LT_AC_TAGVAR(archive_expsym_cmds, $1)=
++_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
++_LT_AC_TAGVAR(hardcode_direct, $1)=no
++_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
++_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
++_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
++_LT_AC_TAGVAR(hardcode_minus_L, $1)=no
++_LT_AC_TAGVAR(hardcode_automatic, $1)=no
++_LT_AC_TAGVAR(module_cmds, $1)=
++_LT_AC_TAGVAR(module_expsym_cmds, $1)=
++_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
++_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
++_LT_AC_TAGVAR(no_undefined_flag, $1)=
++_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
++_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
++
++# Source file extension for f77 test sources.
++ac_ext=f
++
++# Object file extension for compiled f77 test sources.
++objext=o
++_LT_AC_TAGVAR(objext, $1)=$objext
+ 
+-uts4*)
+-  version_type=linux
+-  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
+-  soname_spec='${libname}${release}.so$major'
+-  shlibpath_var=LD_LIBRARY_PATH
+-  ;;
++# Code to be used in simple compile tests
++lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
+ 
+-dgux*)
+-  version_type=linux
+-  need_lib_prefix=no
+-  need_version=no
+-  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
+-  soname_spec='${libname}${release}.so$major'
+-  shlibpath_var=LD_LIBRARY_PATH
+-  ;;
++# Code to be used in simple link tests
++lt_simple_link_test_code="      program t\n      end\n"
+ 
+-sysv4*MP*)
+-  if test -d /usr/nec ;then
+-    version_type=linux
+-    library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so'
+-    soname_spec='$libname.so.$major'
+-    shlibpath_var=LD_LIBRARY_PATH
+-  fi
+-  ;;
++# ltmain only uses $CC for tagged configurations so make sure $CC is set.
++_LT_AC_SYS_COMPILER
+ 
+-*)
+-  dynamic_linker=no
+-  ;;
+-esac
+-AC_MSG_RESULT([$dynamic_linker])
+-test "$dynamic_linker" = no && can_build_shared=no
++# Allow CC to be a program name with arguments.
++lt_save_CC="$CC"
++CC=${F77-"f77"}
++compiler=$CC
++_LT_AC_TAGVAR(compiler, $1)=$CC
++cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
+ 
+-# Report the final consequences.
+ AC_MSG_CHECKING([if libtool supports shared libraries])
+ AC_MSG_RESULT([$can_build_shared])
+ 
+@@ -3346,125 +4762,206 @@
+     postinstall_cmds='$RANLIB $lib'
+   fi
+   ;;
++aix4*)
++  test "$enable_shared" = yes && enable_static=no
++  ;;
++esac
++AC_MSG_RESULT([$enable_shared])
++
++AC_MSG_CHECKING([whether to build static libraries])
++# Make sure either enable_shared or enable_static is yes.
++test "$enable_shared" = yes || enable_static=yes
++AC_MSG_RESULT([$enable_static])
++
++test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
++
++_LT_AC_TAGVAR(GCC, $1)="$G77"
++_LT_AC_TAGVAR(LD, $1)="$LD"
++
++AC_LIBTOOL_PROG_COMPILER_PIC($1)
++AC_LIBTOOL_PROG_CC_C_O($1)
++AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
++AC_LIBTOOL_PROG_LD_SHLIBS($1)
++AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
++AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
++AC_LIBTOOL_SYS_LIB_STRIP
++
++
++AC_LIBTOOL_CONFIG($1)
++
++AC_LANG_POP
++CC="$lt_save_CC"
++])# AC_LIBTOOL_LANG_F77_CONFIG
++
++
++# AC_LIBTOOL_LANG_GCJ_CONFIG
++# --------------------------
++# Ensure that the configuration vars for the C compiler are
++# suitably defined.  Those variables are subsequently used by
++# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
++AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG], [_LT_AC_LANG_GCJ_CONFIG(GCJ)])
++AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG],
++[AC_LANG_SAVE
++
++# Source file extension for Java test sources.
++ac_ext=java
++
++# Object file extension for compiled Java test sources.
++objext=o
++_LT_AC_TAGVAR(objext, $1)=$objext
++
++# Code to be used in simple compile tests
++lt_simple_compile_test_code="class foo {}\n"
++
++# Code to be used in simple link tests
++lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
++
++# ltmain only uses $CC for tagged configurations so make sure $CC is set.
++_LT_AC_SYS_COMPILER
++
++# Allow CC to be a program name with arguments.
++lt_save_CC="$CC"
++CC=${GCJ-"gcj"}
++compiler=$CC
++_LT_AC_TAGVAR(compiler, $1)=$CC
++
++# GCJ did not exist at the time GCC didn't implicitly link libc in.
++_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
++
++AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
++AC_LIBTOOL_PROG_COMPILER_PIC($1)
++AC_LIBTOOL_PROG_CC_C_O($1)
++AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
++AC_LIBTOOL_PROG_LD_SHLIBS($1)
++AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
++AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
++AC_LIBTOOL_SYS_LIB_STRIP
++AC_LIBTOOL_DLOPEN_SELF($1)
++
++AC_LIBTOOL_CONFIG($1)
++
++AC_LANG_RESTORE
++CC="$lt_save_CC"
++])# AC_LIBTOOL_LANG_GCJ_CONFIG
++
++
++# AC_LIBTOOL_LANG_RC_CONFIG
++# --------------------------
++# Ensure that the configuration vars for the Windows resource compiler are
++# suitably defined.  Those variables are subsequently used by
++# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
++AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG], [_LT_AC_LANG_RC_CONFIG(RC)])
++AC_DEFUN([_LT_AC_LANG_RC_CONFIG],
++[AC_LANG_SAVE
++
++# Source file extension for RC test sources.
++ac_ext=rc
++
++# Object file extension for compiled RC test sources.
++objext=o
++_LT_AC_TAGVAR(objext, $1)=$objext
+ 
+-aix4*)
+-  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
+-    test "$enable_shared" = yes && enable_static=no
+-  fi
+-  ;;
+-esac
+-AC_MSG_RESULT([$enable_shared])
++# Code to be used in simple compile tests
++lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
+ 
+-AC_MSG_CHECKING([whether to build static libraries])
+-# Make sure either enable_shared or enable_static is yes.
+-test "$enable_shared" = yes || enable_static=yes
+-AC_MSG_RESULT([$enable_static])
++# Code to be used in simple link tests
++lt_simple_link_test_code="$lt_simple_compile_test_code"
+ 
+-if test "$hardcode_action" = relink; then
+-  # Fast installation is not supported
+-  enable_fast_install=no
+-elif test "$shlibpath_overrides_runpath" = yes ||
+-     test "$enable_shared" = no; then
+-  # Fast installation is not necessary
+-  enable_fast_install=needless
+-fi
++# ltmain only uses $CC for tagged configurations so make sure $CC is set.
++_LT_AC_SYS_COMPILER
+ 
+-variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
+-if test "$GCC" = yes; then
+-  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
+-fi
++# Allow CC to be a program name with arguments.
++lt_save_CC="$CC"
++CC=${RC-"windres"}
++compiler=$CC
++_LT_AC_TAGVAR(compiler, $1)=$CC
++_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
+ 
+-AC_LIBTOOL_DLOPEN_SELF
++AC_LIBTOOL_CONFIG($1)
+ 
+-if test "$enable_shared" = yes && test "$GCC" = yes; then
+-  case $archive_cmds in
+-  *'~'*)
+-    # FIXME: we may have to deal with multi-command sequences.
+-    ;;
+-  '$CC '*)
+-    # Test whether the compiler implicitly links with -lc since on some
+-    # systems, -lgcc has to come before -lc. If gcc already passes -lc
+-    # to ld, don't add -lc before -lgcc.
+-    AC_MSG_CHECKING([whether -lc should be explicitly linked in])
+-    AC_CACHE_VAL([lt_cv_archive_cmds_need_lc],
+-    [$rm conftest*
+-    echo 'static int dummy;' > conftest.$ac_ext
+-
+-    if AC_TRY_EVAL(ac_compile); then
+-      soname=conftest
+-      lib=conftest
+-      libobjs=conftest.$ac_objext
+-      deplibs=
+-      wl=$lt_cv_prog_cc_wl
+-      compiler_flags=-v
+-      linker_flags=-v
+-      verstring=
+-      output_objdir=.
+-      libname=conftest
+-      save_allow_undefined_flag=$allow_undefined_flag
+-      allow_undefined_flag=
+-      if AC_TRY_EVAL(archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1)
+-      then
+-	lt_cv_archive_cmds_need_lc=no
+-      else
+-	lt_cv_archive_cmds_need_lc=yes
+-      fi
+-      allow_undefined_flag=$save_allow_undefined_flag
+-    else
+-      cat conftest.err 1>&5
+-    fi])
+-    AC_MSG_RESULT([$lt_cv_archive_cmds_need_lc])
+-    ;;
+-  esac
+-fi
+-need_lc=${lt_cv_archive_cmds_need_lc-yes}
++AC_LANG_RESTORE
++CC="$lt_save_CC"
++])# AC_LIBTOOL_LANG_RC_CONFIG
+ 
+-# The second clause should only fire when bootstrapping the
++
++# AC_LIBTOOL_CONFIG([TAGNAME])
++# ----------------------------
++# If TAGNAME is not passed, then create an initial libtool script
++# with a default configuration from the untagged config vars.  Otherwise
++# add code to config.status for appending the configuration named by
++# TAGNAME from the matching tagged config vars.
++AC_DEFUN([AC_LIBTOOL_CONFIG],
++[# The else clause should only fire when bootstrapping the
+ # libtool distribution, otherwise you forgot to ship ltmain.sh
+ # with your package, and you will get complaints that there are
+ # no rules to generate ltmain.sh.
+ if test -f "$ltmain"; then
+-  :
+-else
+-  # If there is no Makefile yet, we rely on a make rule to execute
+-  # `config.status --recheck' to rerun these tests and create the
+-  # libtool script then.
+-  test -f Makefile && make "$ltmain"
+-fi
+-
+-if test -f "$ltmain"; then
+-  trap "$rm \"${ofile}T\"; exit 1" 1 2 15
+-  $rm -f "${ofile}T"
+-
+-  echo creating $ofile
+-
++  # See if we are running on zsh, and set the options which allow our commands through
++  # without removal of \ escapes.
++  if test -n "${ZSH_VERSION+set}" ; then
++    setopt NO_GLOB_SUBST
++  fi  
+   # Now quote all the things that may contain metacharacters while being
+   # careful not to overquote the AC_SUBSTed values.  We take copies of the
+   # variables and quote the copies for generation of the libtool script.
+-  for var in echo old_CC old_CFLAGS \
+-    AR AR_FLAGS CC LD LN_S NM SHELL \
+-    reload_flag reload_cmds wl \
+-    pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \
+-    thread_safe_flag_spec whole_archive_flag_spec libname_spec \
+-    library_names_spec soname_spec \
+-    RANLIB old_archive_cmds old_archive_from_new_cmds old_postinstall_cmds \
+-    old_postuninstall_cmds archive_cmds archive_expsym_cmds postinstall_cmds \
+-    postuninstall_cmds extract_expsyms_cmds old_archive_from_expsyms_cmds \
+-    old_striplib striplib file_magic_cmd export_symbols_cmds \
+-    deplibs_check_method allow_undefined_flag no_undefined_flag \
+-    finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \
+-    global_symbol_to_c_name_address \
+-    hardcode_libdir_flag_spec hardcode_libdir_separator  \
++  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
++    SED SHELL STRIP \
++    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
++    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
++    deplibs_check_method reload_flag reload_cmds need_locks \
++    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
++    lt_cv_sys_global_symbol_to_c_name_address \
+     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
+-    compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do
++    old_postinstall_cmds old_postuninstall_cmds \
++    _LT_AC_TAGVAR(compiler, $1) \
++    _LT_AC_TAGVAR(CC, $1) \
++    _LT_AC_TAGVAR(LD, $1) \
++    _LT_AC_TAGVAR(lt_prog_compiler_wl, $1) \
++    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1) \
++    _LT_AC_TAGVAR(lt_prog_compiler_static, $1) \
++    _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) \
++    _LT_AC_TAGVAR(export_dynamic_flag_spec, $1) \
++    _LT_AC_TAGVAR(thread_safe_flag_spec, $1) \
++    _LT_AC_TAGVAR(whole_archive_flag_spec, $1) \
++    _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1) \
++    _LT_AC_TAGVAR(old_archive_cmds, $1) \
++    _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) \
++    _LT_AC_TAGVAR(predep_objects, $1) \
++    _LT_AC_TAGVAR(postdep_objects, $1) \
++    _LT_AC_TAGVAR(predeps, $1) \
++    _LT_AC_TAGVAR(postdeps, $1) \
++    _LT_AC_TAGVAR(compiler_lib_search_path, $1) \
++    _LT_AC_TAGVAR(archive_cmds, $1) \
++    _LT_AC_TAGVAR(archive_expsym_cmds, $1) \
++    _LT_AC_TAGVAR(postinstall_cmds, $1) \
++    _LT_AC_TAGVAR(postuninstall_cmds, $1) \
++    _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) \
++    _LT_AC_TAGVAR(allow_undefined_flag, $1) \
++    _LT_AC_TAGVAR(no_undefined_flag, $1) \
++    _LT_AC_TAGVAR(export_symbols_cmds, $1) \
++    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) \
++    _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1) \
++    _LT_AC_TAGVAR(hardcode_libdir_separator, $1) \
++    _LT_AC_TAGVAR(hardcode_automatic, $1) \
++    _LT_AC_TAGVAR(module_cmds, $1) \
++    _LT_AC_TAGVAR(module_expsym_cmds, $1) \
++    _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) \
++    _LT_AC_TAGVAR(exclude_expsyms, $1) \
++    _LT_AC_TAGVAR(include_expsyms, $1); do
+ 
+     case $var in
+-    reload_cmds | old_archive_cmds | old_archive_from_new_cmds | \
+-    old_postinstall_cmds | old_postuninstall_cmds | \
+-    export_symbols_cmds | archive_cmds | archive_expsym_cmds | \
+-    extract_expsyms_cmds | old_archive_from_expsyms_cmds | \
++    _LT_AC_TAGVAR(old_archive_cmds, $1) | \
++    _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) | \
++    _LT_AC_TAGVAR(archive_cmds, $1) | \
++    _LT_AC_TAGVAR(archive_expsym_cmds, $1) | \
++    _LT_AC_TAGVAR(module_cmds, $1) | \
++    _LT_AC_TAGVAR(module_expsym_cmds, $1) | \   
++    _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) | \
++    _LT_AC_TAGVAR(export_symbols_cmds, $1) | \
++    extract_expsyms_cmds | reload_cmds | finish_cmds | \
+     postinstall_cmds | postuninstall_cmds | \
+-    finish_cmds | sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
++    old_postinstall_cmds | old_postuninstall_cmds | \
++    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
+       # Double-quote double-evaled strings.
+       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
+       ;;
+@@ -3474,14 +4971,31 @@
+     esac
+   done
+ 
+-  cat <<__EOF__ > "${ofile}T"
+-#! $SHELL
++  case $lt_echo in
++  *'\[$]0 --fallback-echo"')
++    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\[$]0 --fallback-echo"[$]/[$]0 --fallback-echo"/'`
++    ;;
++  esac
+ 
+-# `$echo "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
++ifelse([$1], [],
++  [cfgfile="${ofile}T"
++  trap "$rm \"$cfgfile\"; exit 1" 1 2 15
++  $rm -f "$cfgfile"
++  AC_MSG_NOTICE([creating $ofile])],
++  [cfgfile="$ofile"])
++
++  cat <<__EOF__ >> "$cfgfile"
++ifelse([$1], [],
++[#! $SHELL
++
++# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
+ # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
+ # NOTE: Changes made to this file will be lost: look at ltmain.sh.
+ #
+-# Copyright (C) 1996-2000 Free Software Foundation, Inc.
++# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
++# Free Software Foundation, Inc.
++#
++# This file is part of GNU Libtool:
+ # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
+ #
+ # This program is free software; you can redistribute it and/or modify
+@@ -3503,14 +5017,21 @@
+ # configuration script generated by Autoconf, you may include it under
+ # the same distribution terms that you use for the rest of that program.
+ 
++# A sed program that does not truncate output.
++SED=$lt_SED
++
+ # Sed that helps us avoid accidentally triggering echo(1) options like -n.
+-Xsed="sed -e s/^X//"
++Xsed="$SED -e s/^X//"
+ 
+ # The HP-UX ksh and POSIX shell print the target directory to stdout
+ # if CDPATH is set.
+ if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
+ 
+-# ### BEGIN LIBTOOL CONFIG
++# The names of the tagged configurations supported by this script.
++available_tags=
++
++# ### BEGIN LIBTOOL CONFIG],
++[# ### BEGIN LIBTOOL TAG CONFIG: $tagname])
+ 
+ # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
+ 
+@@ -3524,7 +5045,10 @@
+ build_old_libs=$enable_static
+ 
+ # Whether or not to add -lc for building shared libraries.
+-build_libtool_need_lc=$need_lc
++build_libtool_need_lc=$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)
++
++# Whether or not to disallow shared libs when runtime libs are static
++allow_libtool_libs_with_static_runtimes=$_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)
+ 
+ # Whether or not to optimize for fast installation.
+ fast_install=$enable_fast_install
+@@ -3540,14 +5064,20 @@
+ AR=$lt_AR
+ AR_FLAGS=$lt_AR_FLAGS
+ 
+-# The default C compiler.
+-CC=$lt_CC
++# A C compiler.
++LTCC=$lt_LTCC
++
++# A language-specific compiler.
++CC=$lt_[]_LT_AC_TAGVAR(compiler, $1)
+ 
+ # Is the compiler the GNU C compiler?
+-with_gcc=$GCC
++with_gcc=$_LT_AC_TAGVAR(GCC, $1)
++
++# An ERE matcher.
++EGREP=$lt_EGREP
+ 
+ # The linker used to build libraries.
+-LD=$lt_LD
++LD=$lt_[]_LT_AC_TAGVAR(LD, $1)
+ 
+ # Whether we need hard or soft links.
+ LN_S=$lt_LN_S
+@@ -3556,7 +5086,7 @@
+ NM=$lt_NM
+ 
+ # A symbol stripping program
+-STRIP=$STRIP
++STRIP=$lt_STRIP
+ 
+ # Used to examine libraries when file_magic_cmd begins "file"
+ MAGIC_CMD=$MAGIC_CMD
+@@ -3578,7 +5108,7 @@
+ reload_cmds=$lt_reload_cmds
+ 
+ # How to pass a linker flag through the compiler.
+-wl=$lt_wl
++wl=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
+ 
+ # Object file suffix (normally "o").
+ objext="$ac_objext"
+@@ -3586,18 +5116,21 @@
+ # Old archive suffix (normally "a").
+ libext="$libext"
+ 
++# Shared library suffix (normally ".so").
++shrext='$shrext'
++
+ # Executable file suffix (normally "").
+ exeext="$exeext"
+ 
+ # Additional compiler flags for building library objects.
+-pic_flag=$lt_pic_flag
++pic_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)
+ pic_mode=$pic_mode
+ 
+-# Does compiler simultaneously support -c and -o options?
+-compiler_c_o=$lt_compiler_c_o
++# What is the maximum length of a command?
++max_cmd_len=$lt_cv_sys_max_cmd_len
+ 
+-# Can we write directly to a .lo ?
+-compiler_o_lo=$lt_compiler_o_lo
++# Does compiler simultaneously support -c and -o options?
++compiler_c_o=$lt_[]_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)
+ 
+ # Must we lock files when doing compilation ?
+ need_locks=$lt_need_locks
+@@ -3618,19 +5151,19 @@
+ dlopen_self_static=$enable_dlopen_self_static
+ 
+ # Compiler flag to prevent dynamic linking.
+-link_static_flag=$lt_link_static_flag
++link_static_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_static, $1)
+ 
+ # Compiler flag to turn off builtin functions.
+-no_builtin_flag=$lt_no_builtin_flag
++no_builtin_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)
+ 
+ # Compiler flag to allow reflexive dlopens.
+-export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
++export_dynamic_flag_spec=$lt_[]_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)
+ 
+ # Compiler flag to generate shared objects directly from archives.
+-whole_archive_flag_spec=$lt_whole_archive_flag_spec
++whole_archive_flag_spec=$lt_[]_LT_AC_TAGVAR(whole_archive_flag_spec, $1)
+ 
+ # Compiler flag to generate thread-safe objects.
+-thread_safe_flag_spec=$lt_thread_safe_flag_spec
++thread_safe_flag_spec=$lt_[]_LT_AC_TAGVAR(thread_safe_flag_spec, $1)
+ 
+ # Library versioning type.
+ version_type=$version_type
+@@ -3642,915 +5175,1742 @@
+ # The last name is the one that the linker finds with -lNAME.
+ library_names_spec=$lt_library_names_spec
+ 
+-# The coded name of the library, if different from the real name.
+-soname_spec=$lt_soname_spec
++# The coded name of the library, if different from the real name.
++soname_spec=$lt_soname_spec
++
++# Commands used to build and install an old-style archive.
++RANLIB=$lt_RANLIB
++old_archive_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_cmds, $1)
++old_postinstall_cmds=$lt_old_postinstall_cmds
++old_postuninstall_cmds=$lt_old_postuninstall_cmds
++
++# Create an old-style archive from a shared archive.
++old_archive_from_new_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_new_cmds, $1)
++
++# Create a temporary old-style archive to link instead of a shared archive.
++old_archive_from_expsyms_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)
++
++# Commands used to build and install a shared archive.
++archive_cmds=$lt_[]_LT_AC_TAGVAR(archive_cmds, $1)
++archive_expsym_cmds=$lt_[]_LT_AC_TAGVAR(archive_expsym_cmds, $1)
++postinstall_cmds=$lt_postinstall_cmds
++postuninstall_cmds=$lt_postuninstall_cmds
++
++# Commands used to build a loadable module (assumed same as above if empty)
++module_cmds=$lt_[]_LT_AC_TAGVAR(module_cmds, $1)
++module_expsym_cmds=$lt_[]_LT_AC_TAGVAR(module_expsym_cmds, $1)
++
++# Commands to strip libraries.
++old_striplib=$lt_old_striplib
++striplib=$lt_striplib
++
++# Dependencies to place before the objects being linked to create a
++# shared library.
++predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1)
++
++# Dependencies to place after the objects being linked to create a
++# shared library.
++postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1)
++
++# Dependencies to place before the objects being linked to create a
++# shared library.
++predeps=$lt_[]_LT_AC_TAGVAR(predeps, $1)
++
++# Dependencies to place after the objects being linked to create a
++# shared library.
++postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1)
++
++# The library search path used internally by the compiler when linking
++# a shared library.
++compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1)
++
++# Method to check whether dependent libraries are shared objects.
++deplibs_check_method=$lt_deplibs_check_method
++
++# Command to use when deplibs_check_method == file_magic.
++file_magic_cmd=$lt_file_magic_cmd
++
++# Flag that allows shared libraries with undefined symbols to be built.
++allow_undefined_flag=$lt_[]_LT_AC_TAGVAR(allow_undefined_flag, $1)
++
++# Flag that forces no undefined symbols.
++no_undefined_flag=$lt_[]_LT_AC_TAGVAR(no_undefined_flag, $1)
++
++# Commands used to finish a libtool library installation in a directory.
++finish_cmds=$lt_finish_cmds
++
++# Same as above, but a single script fragment to be evaled but not shown.
++finish_eval=$lt_finish_eval
++
++# Take the output of nm and produce a listing of raw symbols and C names.
++global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
++
++# Transform the output of nm in a proper C declaration
++global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
++
++# Transform the output of nm in a C name address pair
++global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
++
++# This is the shared library runtime path variable.
++runpath_var=$runpath_var
++
++# This is the shared library path variable.
++shlibpath_var=$shlibpath_var
++
++# Is shlibpath searched before the hard-coded library search path?
++shlibpath_overrides_runpath=$shlibpath_overrides_runpath
++
++# How to hardcode a shared library path into an executable.
++hardcode_action=$_LT_AC_TAGVAR(hardcode_action, $1)
++
++# Whether we should hardcode library paths into libraries.
++hardcode_into_libs=$hardcode_into_libs
++
++# Flag to hardcode \$libdir into a binary during linking.
++# This must work even if \$libdir does not exist.
++hardcode_libdir_flag_spec=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)
++
++# If ld is used when linking, flag to hardcode \$libdir into
++# a binary during linking. This must work even if \$libdir does
++# not exist.
++hardcode_libdir_flag_spec_ld=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)
++
++# Whether we need a single -rpath flag with a separated argument.
++hardcode_libdir_separator=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_separator, $1)
++
++# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
++# resulting binary.
++hardcode_direct=$_LT_AC_TAGVAR(hardcode_direct, $1)
++
++# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
++# resulting binary.
++hardcode_minus_L=$_LT_AC_TAGVAR(hardcode_minus_L, $1)
++
++# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
++# the resulting binary.
++hardcode_shlibpath_var=$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)
++
++# Set to yes if building a shared library automatically hardcodes DIR into the library
++# and all subsequent libraries and executables linked against it.
++hardcode_automatic=$_LT_AC_TAGVAR(hardcode_automatic, $1)
++
++# Variables whose values should be saved in libtool wrapper scripts and
++# restored at relink time.
++variables_saved_for_relink="$variables_saved_for_relink"
++
++# Whether libtool must link a program against all its dependency libraries.
++link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1)
++
++# Compile-time system search path for libraries
++sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
++
++# Run-time system search path for libraries
++sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
++
++# Fix the shell variable \$srcfile for the compiler.
++fix_srcfile_path="$_LT_AC_TAGVAR(fix_srcfile_path, $1)"
++
++# Set to yes if exported symbols are required.
++always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1)
++
++# The commands to list exported symbols.
++export_symbols_cmds=$lt_[]_LT_AC_TAGVAR(export_symbols_cmds, $1)
++
++# The commands to extract the exported symbol list from a shared archive.
++extract_expsyms_cmds=$lt_extract_expsyms_cmds
++
++# Symbols that should not be listed in the preloaded symbols.
++exclude_expsyms=$lt_[]_LT_AC_TAGVAR(exclude_expsyms, $1)
++
++# Symbols that must always be exported.
++include_expsyms=$lt_[]_LT_AC_TAGVAR(include_expsyms, $1)
++
++ifelse([$1],[],
++[# ### END LIBTOOL CONFIG],
++[# ### END LIBTOOL TAG CONFIG: $tagname])
++
++__EOF__
++
++ifelse([$1],[], [
++  case $host_os in
++  aix3*)
++    cat <<\EOF >> "$cfgfile"
++
++# AIX sometimes has problems with the GCC collect2 program.  For some
++# reason, if we set the COLLECT_NAMES environment variable, the problems
++# vanish in a puff of smoke.
++if test "X${COLLECT_NAMES+set}" != Xset; then
++  COLLECT_NAMES=
++  export COLLECT_NAMES
++fi
++EOF
++    ;;
++  esac
++
++  # We use sed instead of cat because bash on DJGPP gets confused if
++  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
++  # text mode, it properly converts lines to CR/LF.  This bash problem
++  # is reportedly fixed, but why not run on old versions too?
++  sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
++
++  mv -f "$cfgfile" "$ofile" || \
++    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
++  chmod +x "$ofile"
++])
++else
++  # If there is no Makefile yet, we rely on a make rule to execute
++  # `config.status --recheck' to rerun these tests and create the
++  # libtool script then.
++  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
++  if test -f "$ltmain_in"; then
++    test -f Makefile && make "$ltmain"
++  fi
++fi
++])# AC_LIBTOOL_CONFIG
++
++
++# AC_LIBTOOL_PROG_COMPILER_NO_RTTI([TAGNAME])
++# -------------------------------------------
++AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI],
++[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
++
++_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
++
++if test "$GCC" = yes; then
++  _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
++
++  AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
++    lt_cv_prog_compiler_rtti_exceptions,
++    [-fno-rtti -fno-exceptions], [],
++    [_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
++fi
++])# AC_LIBTOOL_PROG_COMPILER_NO_RTTI
++
++
++# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
++# ---------------------------------
++AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE],
++[AC_REQUIRE([AC_CANONICAL_HOST])
++AC_REQUIRE([AC_PROG_NM])
++AC_REQUIRE([AC_OBJEXT])
++# Check for command to grab the raw symbol name followed by C symbol from nm.
++AC_MSG_CHECKING([command to parse $NM output from $compiler object])
++AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe],
++[
++# These are sane defaults that work on at least a few old systems.
++# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
++
++# Character class describing NM global symbol codes.
++symcode='[[BCDEGRST]]'
++
++# Regexp to match symbols that can be accessed directly from C.
++sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
++
++# Transform the above into a raw symbol and a C symbol.
++symxfrm='\1 \2\3 \3'
++
++# Transform an extracted symbol line into a proper C declaration
++lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
++
++# Transform an extracted symbol line into symbol name and symbol address
++lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([[^ ]]*\) \([[^ ]]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
++
++# Define system-specific variables.
++case $host_os in
++aix*)
++  symcode='[[BCDT]]'
++  ;;
++cygwin* | mingw* | pw32*)
++  symcode='[[ABCDGISTW]]'
++  ;;
++hpux*) # Its linker distinguishes data from code symbols
++  if test "$host_cpu" = ia64; then
++    symcode='[[ABCDEGRST]]'
++  fi
++  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
++  lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
++  ;;
++irix* | nonstopux*)
++  symcode='[[BCDEGRST]]'
++  ;;
++osf*)
++  symcode='[[BCDEGQRST]]'
++  ;;
++solaris* | sysv5*)
++  symcode='[[BDRT]]'
++  ;;
++sysv4)
++  symcode='[[DFNSTU]]'
++  ;;
++esac
++
++# Handle CRLF in mingw tool chain
++opt_cr=
++case $build_os in
++mingw*)
++  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
++  ;;
++esac
++
++# If we're using GNU nm, then use its standard symbol codes.
++case `$NM -V 2>&1` in
++*GNU* | *'with BFD'*)
++  symcode='[[ABCDGIRSTW]]' ;;
++esac
++
++# Try without a prefix undercore, then with it.
++for ac_symprfx in "" "_"; do
++
++  # Write the raw and C identifiers.
++  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ 	]]\($symcode$symcode*\)[[ 	]][[ 	]]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
++
++  # Check to see that the pipe works correctly.
++  pipe_works=no
+ 
+-# Commands used to build and install an old-style archive.
+-RANLIB=$lt_RANLIB
+-old_archive_cmds=$lt_old_archive_cmds
+-old_postinstall_cmds=$lt_old_postinstall_cmds
+-old_postuninstall_cmds=$lt_old_postuninstall_cmds
++  rm -f conftest*
++  cat > conftest.$ac_ext <<EOF
++#ifdef __cplusplus
++extern "C" {
++#endif
++char nm_test_var;
++void nm_test_func(){}
++#ifdef __cplusplus
++}
++#endif
++int main(){nm_test_var='a';nm_test_func();return(0);}
++EOF
+ 
+-# Create an old-style archive from a shared archive.
+-old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
++  if AC_TRY_EVAL(ac_compile); then
++    # Now try to grab the symbols.
++    nlist=conftest.nm
++    if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
++      # Try sorting and uniquifying the output.
++      if sort "$nlist" | uniq > "$nlist"T; then
++	mv -f "$nlist"T "$nlist"
++      else
++	rm -f "$nlist"T
++      fi
+ 
+-# Create a temporary old-style archive to link instead of a shared archive.
+-old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
++      # Make sure that we snagged all the symbols we need.
++      if grep ' nm_test_var$' "$nlist" >/dev/null; then
++	if grep ' nm_test_func$' "$nlist" >/dev/null; then
++	  cat <<EOF > conftest.$ac_ext
++#ifdef __cplusplus
++extern "C" {
++#endif
+ 
+-# Commands used to build and install a shared archive.
+-archive_cmds=$lt_archive_cmds
+-archive_expsym_cmds=$lt_archive_expsym_cmds
+-postinstall_cmds=$lt_postinstall_cmds
+-postuninstall_cmds=$lt_postuninstall_cmds
++EOF
++	  # Now generate the symbol file.
++	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
+ 
+-# Commands to strip libraries.
+-old_striplib=$lt_old_striplib
+-striplib=$lt_striplib
++	  cat <<EOF >> conftest.$ac_ext
++#if defined (__STDC__) && __STDC__
++# define lt_ptr_t void *
++#else
++# define lt_ptr_t char *
++# define const
++#endif
+ 
+-# Method to check whether dependent libraries are shared objects.
+-deplibs_check_method=$lt_deplibs_check_method
++/* The mapping between symbol names and symbols. */
++const struct {
++  const char *name;
++  lt_ptr_t address;
++}
++lt_preloaded_symbols[[]] =
++{
++EOF
++	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
++	  cat <<\EOF >> conftest.$ac_ext
++  {0, (lt_ptr_t) 0}
++};
+ 
+-# Command to use when deplibs_check_method == file_magic.
+-file_magic_cmd=$lt_file_magic_cmd
++#ifdef __cplusplus
++}
++#endif
++EOF
++	  # Now try linking the two files.
++	  mv conftest.$ac_objext conftstm.$ac_objext
++	  lt_save_LIBS="$LIBS"
++	  lt_save_CFLAGS="$CFLAGS"
++	  LIBS="conftstm.$ac_objext"
++	  CFLAGS="$CFLAGS$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
++	  if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then
++	    pipe_works=yes
++	  fi
++	  LIBS="$lt_save_LIBS"
++	  CFLAGS="$lt_save_CFLAGS"
++	else
++	  echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
++	fi
++      else
++	echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD
++      fi
++    else
++      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
++    fi
++  else
++    echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
++    cat conftest.$ac_ext >&5
++  fi
++  rm -f conftest* conftst*
+ 
+-# Flag that allows shared libraries with undefined symbols to be built.
+-allow_undefined_flag=$lt_allow_undefined_flag
++  # Do not use the global_symbol_pipe unless it works.
++  if test "$pipe_works" = yes; then
++    break
++  else
++    lt_cv_sys_global_symbol_pipe=
++  fi
++done
++])
++if test -z "$lt_cv_sys_global_symbol_pipe"; then
++  lt_cv_sys_global_symbol_to_cdecl=
++fi
++if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
++  AC_MSG_RESULT(failed)
++else
++  AC_MSG_RESULT(ok)
++fi
++]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
+ 
+-# Flag that forces no undefined symbols.
+-no_undefined_flag=$lt_no_undefined_flag
+ 
+-# Commands used to finish a libtool library installation in a directory.
+-finish_cmds=$lt_finish_cmds
++# AC_LIBTOOL_PROG_COMPILER_PIC([TAGNAME])
++# ---------------------------------------
++AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC],
++[_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)=
++_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
++_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=
+ 
+-# Same as above, but a single script fragment to be evaled but not shown.
+-finish_eval=$lt_finish_eval
++AC_MSG_CHECKING([for $compiler option to produce PIC])
++ ifelse([$1],[CXX],[
++  # C++ specific cases for pic, static, wl, etc.
++  if test "$GXX" = yes; then
++    _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
++    _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
+ 
+-# Take the output of nm and produce a listing of raw symbols and C names.
+-global_symbol_pipe=$lt_global_symbol_pipe
++    case $host_os in
++    aix*)
++      # All AIX code is PIC.
++      if test "$host_cpu" = ia64; then
++	# AIX 5 now supports IA64 processor
++	_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
++      fi
++      ;;
++    amigaos*)
++      # FIXME: we need at least 68020 code to build shared libraries, but
++      # adding the `-m68020' flag to GCC prevents building anything better,
++      # like `-m68040'.
++      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
++      ;;
++    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
++      # PIC is the default for these OSes.
++      ;;
++    mingw* | os2* | pw32*)
++      # This hack is so that the source file can tell whether it is being
++      # built for inclusion in a dll (and should export symbols for example).
++      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
++      ;;
++    darwin* | rhapsody*)
++      # PIC is the default on this platform
++      # Common symbols not allowed in MH_DYLIB files
++      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
++      ;;
++    *djgpp*)
++      # DJGPP does not support shared libraries at all
++      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
++      ;;
++    sysv4*MP*)
++      if test -d /usr/nec; then
++	_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
++      fi
++      ;;
++    hpux*)
++      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
++      # not for PA HP-UX.
++      case "$host_cpu" in
++      hppa*64*|ia64*)
++	;;
++      *)
++	_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
++	;;
++      esac
++      ;;
++    *)
++      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
++      ;;
++    esac
++  else
++    case $host_os in
++      aix4* | aix5*)
++	# All AIX code is PIC.
++	if test "$host_cpu" = ia64; then
++	  # AIX 5 now supports IA64 processor
++	  _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
++	else
++	  _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
++	fi
++	;;
++      chorus*)
++	case $cc_basename in
++	cxch68)
++	  # Green Hills C++ Compiler
++	  # _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
++	  ;;
++	esac
++	;;
++      dgux*)
++	case $cc_basename in
++	  ec++)
++	    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
++	    ;;
++	  ghcx)
++	    # Green Hills C++ Compiler
++	    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
++	    ;;
++	  *)
++	    ;;
++	esac
++	;;
++      freebsd* | kfreebsd*-gnu)
++	# FreeBSD uses GNU C++
++	;;
++      hpux9* | hpux10* | hpux11*)
++	case $cc_basename in
++	  CC)
++	    _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
++	    _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
++	    if test "$host_cpu" != ia64; then
++	      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
++	    fi
++	    ;;
++	  aCC)
++	    _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
++	    _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
++	    case "$host_cpu" in
++	    hppa*64*|ia64*)
++	      # +Z the default
++	      ;;
++	    *)
++	      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
++	      ;;
++	    esac
++	    ;;
++	  *)
++	    ;;
++	esac
++	;;
++      irix5* | irix6* | nonstopux*)
++	case $cc_basename in
++	  CC)
++	    _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
++	    _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
++	    # CC pic flag -KPIC is the default.
++	    ;;
++	  *)
++	    ;;
++	esac
++	;;
++      linux*)
++	case $cc_basename in
++	  KCC)
++	    # KAI C++ Compiler
++	    _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
++	    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
++	    ;;
++	  icpc)
++	    # Intel C++
++	    _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
++	    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
++	    _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
++	    ;; 
++	  cxx)
++	    # Compaq C++
++	    # Make sure the PIC flag is empty.  It appears that all Alpha
++	    # Linux and Compaq Tru64 Unix objects are PIC.
++	    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
++	    _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
++	    ;;
++	  *)
++	    ;;
++	esac
++	;;
++      lynxos*)
++	;;
++      m88k*)
++	;;
++      mvs*)
++	case $cc_basename in
++	  cxx)
++	    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
++	    ;;
++	  *)
++	    ;;
++	esac
++	;;
++      netbsd*)
++	;;
++      osf3* | osf4* | osf5*)
++	case $cc_basename in
++	  KCC)
++	    _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
++	    ;;
++	  RCC)
++	    # Rational C++ 2.4.1
++	    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
++	    ;;
++	  cxx)
++	    # Digital/Compaq C++
++	    _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
++	    # Make sure the PIC flag is empty.  It appears that all Alpha
++	    # Linux and Compaq Tru64 Unix objects are PIC.
++	    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
++	    _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
++	    ;;
++	  *)
++	    ;;
++	esac
++	;;
++      psos*)
++	;;
++      sco*)
++	case $cc_basename in
++	  CC)
++	    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
++	    ;;
++	  *)
++	    ;;
++	esac
++	;;
++      solaris*)
++	case $cc_basename in
++	  CC)
++	    # Sun C++ 4.2, 5.x and Centerline C++
++	    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
++	    _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
++	    _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
++	    ;;
++	  gcx)
++	    # Green Hills C++ Compiler
++	    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
++	    ;;
++	  *)
++	    ;;
++	esac
++	;;
++      sunos4*)
++	case $cc_basename in
++	  CC)
++	    # Sun C++ 4.x
++	    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
++	    _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
++	    ;;
++	  lcc)
++	    # Lucid
++	    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
++	    ;;
++	  *)
++	    ;;
++	esac
++	;;
++      tandem*)
++	case $cc_basename in
++	  NCC)
++	    # NonStop-UX NCC 3.20
++	    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
++	    ;;
++	  *)
++	    ;;
++	esac
++	;;
++      unixware*)
++	;;
++      vxworks*)
++	;;
++      *)
++	_LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
++	;;
++    esac
++  fi
++],
++[
++  if test "$GCC" = yes; then
++    _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
++    _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
+ 
+-# Transform the output of nm in a proper C declaration
+-global_symbol_to_cdecl=$lt_global_symbol_to_cdecl
++    case $host_os in
++      aix*)
++      # All AIX code is PIC.
++      if test "$host_cpu" = ia64; then
++	# AIX 5 now supports IA64 processor
++	_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
++      fi
++      ;;
+ 
+-# Transform the output of nm in a C name address pair
+-global_symbol_to_c_name_address=$lt_global_symbol_to_c_name_address
++    amigaos*)
++      # FIXME: we need at least 68020 code to build shared libraries, but
++      # adding the `-m68020' flag to GCC prevents building anything better,
++      # like `-m68040'.
++      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
++      ;;
+ 
+-# This is the shared library runtime path variable.
+-runpath_var=$runpath_var
++    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
++      # PIC is the default for these OSes.
++      ;;
+ 
+-# This is the shared library path variable.
+-shlibpath_var=$shlibpath_var
++    mingw* | pw32* | os2*)
++      # This hack is so that the source file can tell whether it is being
++      # built for inclusion in a dll (and should export symbols for example).
++      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
++      ;;
+ 
+-# Is shlibpath searched before the hard-coded library search path?
+-shlibpath_overrides_runpath=$shlibpath_overrides_runpath
++    darwin* | rhapsody*)
++      # PIC is the default on this platform
++      # Common symbols not allowed in MH_DYLIB files
++      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
++      ;;
+ 
+-# How to hardcode a shared library path into an executable.
+-hardcode_action=$hardcode_action
++    msdosdjgpp*)
++      # Just because we use GCC doesn't mean we suddenly get shared libraries
++      # on systems that don't support them.
++      _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
++      enable_shared=no
++      ;;
+ 
+-# Whether we should hardcode library paths into libraries.
+-hardcode_into_libs=$hardcode_into_libs
++    sysv4*MP*)
++      if test -d /usr/nec; then
++	_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
++      fi
++      ;;
+ 
+-# Flag to hardcode \$libdir into a binary during linking.
+-# This must work even if \$libdir does not exist.
+-hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
++    hpux*)
++      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
++      # not for PA HP-UX.
++      case "$host_cpu" in
++      hppa*64*|ia64*)
++	# +Z the default
++	;;
++      *)
++	_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
++	;;
++      esac
++      ;;
+ 
+-# Whether we need a single -rpath flag with a separated argument.
+-hardcode_libdir_separator=$lt_hardcode_libdir_separator
++    *)
++      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
++      ;;
++    esac
++  else
++    # PORTME Check for flag to pass linker flags through the system compiler.
++    case $host_os in
++    aix*)
++      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
++      if test "$host_cpu" = ia64; then
++	# AIX 5 now supports IA64 processor
++	_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
++      else
++	_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
++      fi
++      ;;
+ 
+-# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
+-# resulting binary.
+-hardcode_direct=$hardcode_direct
++    mingw* | pw32* | os2*)
++      # This hack is so that the source file can tell whether it is being
++      # built for inclusion in a dll (and should export symbols for example).
++      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
++      ;;
+ 
+-# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
+-# resulting binary.
+-hardcode_minus_L=$hardcode_minus_L
++    hpux9* | hpux10* | hpux11*)
++      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
++      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
++      # not for PA HP-UX.
++      case "$host_cpu" in
++      hppa*64*|ia64*)
++	# +Z the default
++	;;
++      *)
++	_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
++	;;
++      esac
++      # Is there a better lt_prog_compiler_static that works with the bundled CC?
++      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
++      ;;
+ 
+-# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
+-# the resulting binary.
+-hardcode_shlibpath_var=$hardcode_shlibpath_var
++    irix5* | irix6* | nonstopux*)
++      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
++      # PIC (with -KPIC) is the default.
++      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
++      ;;
+ 
+-# Variables whose values should be saved in libtool wrapper scripts and
+-# restored at relink time.
+-variables_saved_for_relink="$variables_saved_for_relink"
++    newsos6)
++      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
++      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
++      ;;
+ 
+-# Whether libtool must link a program against all its dependency libraries.
+-link_all_deplibs=$link_all_deplibs
++    linux*)
++      case $CC in
++      icc* | ecc*)
++	_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
++	_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
++	_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
++        ;;
++      ccc*)
++        _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
++        # All Alpha code is PIC.
++        _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
++        ;;
++      esac
++      ;;
+ 
+-# Compile-time system search path for libraries
+-sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
++    osf3* | osf4* | osf5*)
++      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
++      # All OSF/1 code is PIC.
++      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
++      ;;
+ 
+-# Run-time system search path for libraries
+-sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
++    sco3.2v5*)
++      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kpic'
++      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-dn'
++      ;;
+ 
+-# Fix the shell variable \$srcfile for the compiler.
+-fix_srcfile_path="$fix_srcfile_path"
++    solaris*)
++      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
++      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
++      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
++      ;;
+ 
+-# Set to yes if exported symbols are required.
+-always_export_symbols=$always_export_symbols
++    sunos4*)
++      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
++      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
++      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
++      ;;
+ 
+-# The commands to list exported symbols.
+-export_symbols_cmds=$lt_export_symbols_cmds
++    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
++      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
++      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
++      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
++      ;;
+ 
+-# The commands to extract the exported symbol list from a shared archive.
+-extract_expsyms_cmds=$lt_extract_expsyms_cmds
++    sysv4*MP*)
++      if test -d /usr/nec ;then
++	_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
++	_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
++      fi
++      ;;
+ 
+-# Symbols that should not be listed in the preloaded symbols.
+-exclude_expsyms=$lt_exclude_expsyms
++    uts4*)
++      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
++      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
++      ;;
+ 
+-# Symbols that must always be exported.
+-include_expsyms=$lt_include_expsyms
++    *)
++      _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
++      ;;
++    esac
++  fi
++])
++AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)])
+ 
+-# ### END LIBTOOL CONFIG
++#
++# Check to make sure the PIC flag actually works.
++#
++if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then
++  AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works],
++    _LT_AC_TAGVAR(lt_prog_compiler_pic_works, $1),
++    [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [],
++    [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in
++     "" | " "*) ;;
++     *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)" ;;
++     esac],
++    [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
++     _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
++fi
++case "$host_os" in
++  # For platforms which do not support PIC, -DPIC is meaningless:
++  *djgpp*)
++    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
++    ;;
++  *)
++    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])"
++    ;;
++esac
++])
+ 
+-__EOF__
+ 
++# AC_LIBTOOL_PROG_LD_SHLIBS([TAGNAME])
++# ------------------------------------
++# See if the linker supports building shared libraries.
++AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS],
++[AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
++ifelse([$1],[CXX],[
++  _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
+   case $host_os in
+-  aix3*)
+-    cat <<\EOF >> "${ofile}T"
+-
+-# AIX sometimes has problems with the GCC collect2 program.  For some
+-# reason, if we set the COLLECT_NAMES environment variable, the problems
+-# vanish in a puff of smoke.
+-if test "X${COLLECT_NAMES+set}" != Xset; then
+-  COLLECT_NAMES=
+-  export COLLECT_NAMES
+-fi
+-EOF
++  aix4* | aix5*)
++    # If we're using GNU nm, then we don't want the "-C" option.
++    # -C means demangle to AIX nm, but means don't demangle with GNU nm
++    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
++      _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
++    else
++      _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
++    fi
+     ;;
++  pw32*)
++    _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
++  ;;
++  cygwin* | mingw*)
++    _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols'
++  ;;
++  *)
++    _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
++  ;;
+   esac
++],[
++  runpath_var=
++  _LT_AC_TAGVAR(allow_undefined_flag, $1)=
++  _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
++  _LT_AC_TAGVAR(archive_cmds, $1)=
++  _LT_AC_TAGVAR(archive_expsym_cmds, $1)=
++  _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)=
++  _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)=
++  _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
++  _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
++  _LT_AC_TAGVAR(thread_safe_flag_spec, $1)=
++  _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
++  _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
++  _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
++  _LT_AC_TAGVAR(hardcode_direct, $1)=no
++  _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
++  _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
++  _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
++  _LT_AC_TAGVAR(hardcode_automatic, $1)=no
++  _LT_AC_TAGVAR(module_cmds, $1)=
++  _LT_AC_TAGVAR(module_expsym_cmds, $1)=  
++  _LT_AC_TAGVAR(always_export_symbols, $1)=no
++  _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
++  # include_expsyms should be a list of space-separated symbols to be *always*
++  # included in the symbol list
++  _LT_AC_TAGVAR(include_expsyms, $1)=
++  # exclude_expsyms can be an extended regexp of symbols to exclude
++  # it will be wrapped by ` (' and `)$', so one must not match beginning or
++  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
++  # as well as any symbol that contains `d'.
++  _LT_AC_TAGVAR(exclude_expsyms, $1)="_GLOBAL_OFFSET_TABLE_"
++  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
++  # platforms (ab)use it in PIC code, but their linkers get confused if
++  # the symbol is explicitly referenced.  Since portable code cannot
++  # rely on this symbol name, it's probably fine to never include it in
++  # preloaded symbol tables.
++  extract_expsyms_cmds=
+ 
+   case $host_os in
+-  cygwin* | mingw* | pw32* | os2*)
+-    cat <<'EOF' >> "${ofile}T"
+-      # This is a source program that is used to create dlls on Windows
+-      # Don't remove nor modify the starting and closing comments
+-# /* ltdll.c starts here */
+-# #define WIN32_LEAN_AND_MEAN
+-# #include <windows.h>
+-# #undef WIN32_LEAN_AND_MEAN
+-# #include <stdio.h>
+-#
+-# #ifndef __CYGWIN__
+-# #  ifdef __CYGWIN32__
+-# #    define __CYGWIN__ __CYGWIN32__
+-# #  endif
+-# #endif
+-#
+-# #ifdef __cplusplus
+-# extern "C" {
+-# #endif
+-# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
+-# #ifdef __cplusplus
+-# }
+-# #endif
+-#
+-# #ifdef __CYGWIN__
+-# #include <cygwin/cygwin_dll.h>
+-# DECLARE_CYGWIN_DLL( DllMain );
+-# #endif
+-# HINSTANCE __hDllInstance_base;
+-#
+-# BOOL APIENTRY
+-# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
+-# {
+-#   __hDllInstance_base = hInst;
+-#   return TRUE;
+-# }
+-# /* ltdll.c ends here */
+-	# This is a source program that is used to create import libraries
+-	# on Windows for dlls which lack them. Don't remove nor modify the
+-	# starting and closing comments
+-# /* impgen.c starts here */
+-# /*   Copyright (C) 1999-2000 Free Software Foundation, Inc.
+-#
+-#  This file is part of GNU libtool.
+-#
+-#  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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+-#  */
+-#
+-# #include <stdio.h>		/* for printf() */
+-# #include <unistd.h>		/* for open(), lseek(), read() */
+-# #include <fcntl.h>		/* for O_RDONLY, O_BINARY */
+-# #include <string.h>		/* for strdup() */
+-#
+-# /* O_BINARY isn't required (or even defined sometimes) under Unix */
+-# #ifndef O_BINARY
+-# #define O_BINARY 0
+-# #endif
+-#
+-# static unsigned int
+-# pe_get16 (fd, offset)
+-#      int fd;
+-#      int offset;
+-# {
+-#   unsigned char b[2];
+-#   lseek (fd, offset, SEEK_SET);
+-#   read (fd, b, 2);
+-#   return b[0] + (b[1]<<8);
+-# }
+-#
+-# static unsigned int
+-# pe_get32 (fd, offset)
+-#     int fd;
+-#     int offset;
+-# {
+-#   unsigned char b[4];
+-#   lseek (fd, offset, SEEK_SET);
+-#   read (fd, b, 4);
+-#   return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
+-# }
+-#
+-# static unsigned int
+-# pe_as32 (ptr)
+-#      void *ptr;
+-# {
+-#   unsigned char *b = ptr;
+-#   return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
+-# }
+-#
+-# int
+-# main (argc, argv)
+-#     int argc;
+-#     char *argv[];
+-# {
+-#     int dll;
+-#     unsigned long pe_header_offset, opthdr_ofs, num_entries, i;
+-#     unsigned long export_rva, export_size, nsections, secptr, expptr;
+-#     unsigned long name_rvas, nexp;
+-#     unsigned char *expdata, *erva;
+-#     char *filename, *dll_name;
+-#
+-#     filename = argv[1];
+-#
+-#     dll = open(filename, O_RDONLY|O_BINARY);
+-#     if (dll < 1)
+-# 	return 1;
+-#
+-#     dll_name = filename;
+-#
+-#     for (i=0; filename[i]; i++)
+-# 	if (filename[i] == '/' || filename[i] == '\\'  || filename[i] == ':')
+-# 	    dll_name = filename + i +1;
+-#
+-#     pe_header_offset = pe_get32 (dll, 0x3c);
+-#     opthdr_ofs = pe_header_offset + 4 + 20;
+-#     num_entries = pe_get32 (dll, opthdr_ofs + 92);
+-#
+-#     if (num_entries < 1) /* no exports */
+-# 	return 1;
+-#
+-#     export_rva = pe_get32 (dll, opthdr_ofs + 96);
+-#     export_size = pe_get32 (dll, opthdr_ofs + 100);
+-#     nsections = pe_get16 (dll, pe_header_offset + 4 +2);
+-#     secptr = (pe_header_offset + 4 + 20 +
+-# 	      pe_get16 (dll, pe_header_offset + 4 + 16));
+-#
+-#     expptr = 0;
+-#     for (i = 0; i < nsections; i++)
+-#     {
+-# 	char sname[8];
+-# 	unsigned long secptr1 = secptr + 40 * i;
+-# 	unsigned long vaddr = pe_get32 (dll, secptr1 + 12);
+-# 	unsigned long vsize = pe_get32 (dll, secptr1 + 16);
+-# 	unsigned long fptr = pe_get32 (dll, secptr1 + 20);
+-# 	lseek(dll, secptr1, SEEK_SET);
+-# 	read(dll, sname, 8);
+-# 	if (vaddr <= export_rva && vaddr+vsize > export_rva)
+-# 	{
+-# 	    expptr = fptr + (export_rva - vaddr);
+-# 	    if (export_rva + export_size > vaddr + vsize)
+-# 		export_size = vsize - (export_rva - vaddr);
+-# 	    break;
+-# 	}
+-#     }
+-#
+-#     expdata = (unsigned char*)malloc(export_size);
+-#     lseek (dll, expptr, SEEK_SET);
+-#     read (dll, expdata, export_size);
+-#     erva = expdata - export_rva;
+-#
+-#     nexp = pe_as32 (expdata+24);
+-#     name_rvas = pe_as32 (expdata+32);
+-#
+-#     printf ("EXPORTS\n");
+-#     for (i = 0; i<nexp; i++)
+-#     {
+-# 	unsigned long name_rva = pe_as32 (erva+name_rvas+i*4);
+-# 	printf ("\t%s @ %ld ;\n", erva+name_rva, 1+ i);
+-#     }
+-#
+-#     return 0;
+-# }
+-# /* impgen.c ends here */
+-
+-EOF
++  cygwin* | mingw* | pw32*)
++    # FIXME: the MSVC++ port hasn't been tested in a loooong time
++    # When not using gcc, we currently assume that we are using
++    # Microsoft Visual C++.
++    if test "$GCC" != yes; then
++      with_gnu_ld=no
++    fi
++    ;;
++  openbsd*)
++    with_gnu_ld=no
+     ;;
+   esac
+ 
+-  # We use sed instead of cat because bash on DJGPP gets confused if
+-  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
+-  # text mode, it properly converts lines to CR/LF.  This bash problem
+-  # is reportedly fixed, but why not run on old versions too?
+-  sed '$q' "$ltmain" >> "${ofile}T" || (rm -f "${ofile}T"; exit 1)
++  _LT_AC_TAGVAR(ld_shlibs, $1)=yes
++  if test "$with_gnu_ld" = yes; then
++    # If archive_cmds runs LD, not CC, wlarc should be empty
++    wlarc='${wl}'
+ 
+-  mv -f "${ofile}T" "$ofile" || \
+-    (rm -f "$ofile" && cp "${ofile}T" "$ofile" && rm -f "${ofile}T")
+-  chmod +x "$ofile"
+-fi
++    # See if GNU ld supports shared libraries.
++    case $host_os in
++    aix3* | aix4* | aix5*)
++      # On AIX/PPC, the GNU linker is very broken
++      if test "$host_cpu" != ia64; then
++	_LT_AC_TAGVAR(ld_shlibs, $1)=no
++	cat <<EOF 1>&2
+ 
+-])# _LT_AC_LTCONFIG_HACK
++*** Warning: the GNU linker, at least up to release 2.9.1, is reported
++*** to be unable to reliably create shared libraries on AIX.
++*** Therefore, libtool is disabling shared libraries support.  If you
++*** really care for shared libraries, you may want to modify your PATH
++*** so that a non-GNU linker is found, and then restart.
+ 
+-# AC_LIBTOOL_DLOPEN - enable checks for dlopen support
+-AC_DEFUN([AC_LIBTOOL_DLOPEN], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])])
++EOF
++      fi
++      ;;
+ 
+-# AC_LIBTOOL_WIN32_DLL - declare package support for building win32 dll's
+-AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_BEFORE([$0], [AC_LIBTOOL_SETUP])])
++    amigaos*)
++      _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
++      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
++      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
++
++      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
++      # that the semantics of dynamic libraries on AmigaOS, at least up
++      # to version 4, is to share data among multiple programs linked
++      # with the same dynamic library.  Since this doesn't match the
++      # behavior of shared libraries on other platforms, we can't use
++      # them.
++      _LT_AC_TAGVAR(ld_shlibs, $1)=no
++      ;;
+ 
+-# AC_ENABLE_SHARED - implement the --enable-shared flag
+-# Usage: AC_ENABLE_SHARED[(DEFAULT)]
+-#   Where DEFAULT is either `yes' or `no'.  If omitted, it defaults to
+-#   `yes'.
+-AC_DEFUN([AC_ENABLE_SHARED],
+-[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl
+-AC_ARG_ENABLE(shared,
+-changequote(<<, >>)dnl
+-<<  --enable-shared[=PKGS]  build shared libraries [default=>>AC_ENABLE_SHARED_DEFAULT],
+-changequote([, ])dnl
+-[p=${PACKAGE-default}
+-case $enableval in
+-yes) enable_shared=yes ;;
+-no) enable_shared=no ;;
+-*)
+-  enable_shared=no
+-  # Look at the argument we got.  We use all the common list separators.
+-  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
+-  for pkg in $enableval; do
+-    if test "X$pkg" = "X$p"; then
+-      enable_shared=yes
+-    fi
+-  done
+-  IFS="$ac_save_ifs"
+-  ;;
+-esac],
+-enable_shared=AC_ENABLE_SHARED_DEFAULT)dnl
+-])
++    beos*)
++      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
++	_LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
++	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
++	# support --undefined.  This deserves some investigation.  FIXME
++	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++      else
++	_LT_AC_TAGVAR(ld_shlibs, $1)=no
++      fi
++      ;;
+ 
+-# AC_DISABLE_SHARED - set the default shared flag to --disable-shared
+-AC_DEFUN([AC_DISABLE_SHARED],
+-[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
+-AC_ENABLE_SHARED(no)])
++    cygwin* | mingw* | pw32*)
++      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
++      # as there is no search path for DLLs.
++      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
++      _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
++      _LT_AC_TAGVAR(always_export_symbols, $1)=no
++      _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
++      _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols'
++
++      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
++        _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
++	# If the export-symbols file already is a .def file (1st line
++	# is EXPORTS), use it as is; otherwise, prepend...
++	_LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
++	  cp $export_symbols $output_objdir/$soname.def;
++	else
++	  echo EXPORTS > $output_objdir/$soname.def;
++	  cat $export_symbols >> $output_objdir/$soname.def;
++	fi~
++	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
++      else
++	ld_shlibs=no
++      fi
++      ;;
+ 
+-# AC_ENABLE_STATIC - implement the --enable-static flag
+-# Usage: AC_ENABLE_STATIC[(DEFAULT)]
+-#   Where DEFAULT is either `yes' or `no'.  If omitted, it defaults to
+-#   `yes'.
+-AC_DEFUN([AC_ENABLE_STATIC],
+-[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl
+-AC_ARG_ENABLE(static,
+-changequote(<<, >>)dnl
+-<<  --enable-static[=PKGS]  build static libraries [default=>>AC_ENABLE_STATIC_DEFAULT],
+-changequote([, ])dnl
+-[p=${PACKAGE-default}
+-case $enableval in
+-yes) enable_static=yes ;;
+-no) enable_static=no ;;
+-*)
+-  enable_static=no
+-  # Look at the argument we got.  We use all the common list separators.
+-  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
+-  for pkg in $enableval; do
+-    if test "X$pkg" = "X$p"; then
+-      enable_static=yes
+-    fi
+-  done
+-  IFS="$ac_save_ifs"
+-  ;;
+-esac],
+-enable_static=AC_ENABLE_STATIC_DEFAULT)dnl
+-])
++    netbsd*)
++      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++	_LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
++	wlarc=
++      else
++	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++	_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++      fi
++      ;;
+ 
+-# AC_DISABLE_STATIC - set the default static flag to --disable-static
+-AC_DEFUN([AC_DISABLE_STATIC],
+-[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
+-AC_ENABLE_STATIC(no)])
++    solaris* | sysv5*)
++      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
++	_LT_AC_TAGVAR(ld_shlibs, $1)=no
++	cat <<EOF 1>&2
+ 
++*** Warning: The releases 2.8.* of the GNU linker cannot reliably
++*** create shared libraries on Solaris systems.  Therefore, libtool
++*** is disabling shared libraries support.  We urge you to upgrade GNU
++*** binutils to release 2.9.1 or newer.  Another option is to modify
++*** your PATH or compiler configuration so that the native linker is
++*** used, and then restart.
+ 
+-# AC_ENABLE_FAST_INSTALL - implement the --enable-fast-install flag
+-# Usage: AC_ENABLE_FAST_INSTALL[(DEFAULT)]
+-#   Where DEFAULT is either `yes' or `no'.  If omitted, it defaults to
+-#   `yes'.
+-AC_DEFUN([AC_ENABLE_FAST_INSTALL],
+-[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl
+-AC_ARG_ENABLE(fast-install,
+-changequote(<<, >>)dnl
+-<<  --enable-fast-install[=PKGS]  optimize for fast installation [default=>>AC_ENABLE_FAST_INSTALL_DEFAULT],
+-changequote([, ])dnl
+-[p=${PACKAGE-default}
+-case $enableval in
+-yes) enable_fast_install=yes ;;
+-no) enable_fast_install=no ;;
+-*)
+-  enable_fast_install=no
+-  # Look at the argument we got.  We use all the common list separators.
+-  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
+-  for pkg in $enableval; do
+-    if test "X$pkg" = "X$p"; then
+-      enable_fast_install=yes
+-    fi
+-  done
+-  IFS="$ac_save_ifs"
+-  ;;
+-esac],
+-enable_fast_install=AC_ENABLE_FAST_INSTALL_DEFAULT)dnl
+-])
++EOF
++      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
++	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++	_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++      else
++	_LT_AC_TAGVAR(ld_shlibs, $1)=no
++      fi
++      ;;
+ 
+-# AC_DISABLE_FAST_INSTALL - set the default to --disable-fast-install
+-AC_DEFUN([AC_DISABLE_FAST_INSTALL],
+-[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
+-AC_ENABLE_FAST_INSTALL(no)])
++    sunos4*)
++      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++      wlarc=
++      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
++      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
++      ;;
+ 
+-# AC_LIBTOOL_PICMODE - implement the --with-pic flag
+-# Usage: AC_LIBTOOL_PICMODE[(MODE)]
+-#   Where MODE is either `yes' or `no'.  If omitted, it defaults to
+-#   `both'.
+-AC_DEFUN([AC_LIBTOOL_PICMODE],
+-[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
+-pic_mode=ifelse($#,1,$1,default)])
++  linux*)
++    if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
++        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++	_LT_AC_TAGVAR(archive_cmds, $1)="$tmp_archive_cmds"
++      supports_anon_versioning=no
++      case `$LD -v 2>/dev/null` in
++        *\ [01].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
++        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
++        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
++        *\ 2.11.*) ;; # other 2.11 versions
++        *) supports_anon_versioning=yes ;;
++      esac
++      if test $supports_anon_versioning = yes; then
++        _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~
++cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
++$echo "local: *; };" >> $output_objdir/$libname.ver~
++        $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
++      else
++        _LT_AC_TAGVAR(archive_expsym_cmds, $1)="$tmp_archive_cmds"
++      fi
++    else
++      _LT_AC_TAGVAR(ld_shlibs, $1)=no
++    fi
++    ;;
+ 
++    *)
++      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
++	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++	_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++      else
++	_LT_AC_TAGVAR(ld_shlibs, $1)=no
++      fi
++      ;;
++    esac
+ 
+-# AC_PATH_TOOL_PREFIX - find a file program which can recognise shared library
+-AC_DEFUN([AC_PATH_TOOL_PREFIX],
+-[AC_MSG_CHECKING([for $1])
+-AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
+-[case $MAGIC_CMD in
+-  /*)
+-  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
+-  ;;
+-  ?:/*)
+-  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
+-  ;;
+-  *)
+-  ac_save_MAGIC_CMD="$MAGIC_CMD"
+-  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
+-dnl $ac_dummy forces splitting on constant user-supplied paths.
+-dnl POSIX.2 word splitting is done only on the output of word expansions,
+-dnl not every word.  This closes a longstanding sh security hole.
+-  ac_dummy="ifelse([$2], , $PATH, [$2])"
+-  for ac_dir in $ac_dummy; do
+-    test -z "$ac_dir" && ac_dir=.
+-    if test -f $ac_dir/$1; then
+-      lt_cv_path_MAGIC_CMD="$ac_dir/$1"
+-      if test -n "$file_magic_test_file"; then
+-	case $deplibs_check_method in
+-	"file_magic "*)
+-	  file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
+-	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
+-	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
+-	    egrep "$file_magic_regex" > /dev/null; then
+-	    :
+-	  else
+-	    cat <<EOF 1>&2
++    if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = yes; then
++      runpath_var=LD_RUN_PATH
++      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
++      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
++      # ancient GNU ld didn't support --whole-archive et. al.
++      if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
++ 	_LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
++      else
++  	_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
++      fi
++    fi
++  else
++    # PORTME fill in a description of your system's linker (not GNU ld)
++    case $host_os in
++    aix3*)
++      _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
++      _LT_AC_TAGVAR(always_export_symbols, $1)=yes
++      _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
++      # Note: this linker hardcodes the directories in LIBPATH if there
++      # are no directories specified by -L.
++      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
++      if test "$GCC" = yes && test -z "$link_static_flag"; then
++	# Neither direct hardcoding nor static linking is supported with a
++	# broken collect2.
++	_LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
++      fi
++      ;;
+ 
+-*** Warning: the command libtool uses to detect shared libraries,
+-*** $file_magic_cmd, produces output that libtool cannot recognize.
+-*** The result is that libtool may fail to recognize shared libraries
+-*** as such.  This will affect the creation of libtool libraries that
+-*** depend on shared libraries, but programs linked with such libtool
+-*** libraries will work regardless of this problem.  Nevertheless, you
+-*** may want to report the problem to your system manager and/or to
+-*** bug-libtool@gnu.org
++    aix4* | aix5*)
++      if test "$host_cpu" = ia64; then
++	# On IA64, the linker does run time linking by default, so we don't
++	# have to do anything special.
++	aix_use_runtimelinking=no
++	exp_sym_flag='-Bexport'
++	no_entry_flag=""
++      else
++	# If we're using GNU nm, then we don't want the "-C" option.
++	# -C means demangle to AIX nm, but means don't demangle with GNU nm
++	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
++	  _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
++	else
++	  _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
++	fi
++	aix_use_runtimelinking=no
+ 
+-EOF
+-	  fi ;;
++	# Test if we are trying to use run time linking or normal
++	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
++	# need to do runtime linking.
++	case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
++	  for ld_flag in $LDFLAGS; do
++  	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
++  	    aix_use_runtimelinking=yes
++  	    break
++  	  fi
++	  done
+ 	esac
++
++	exp_sym_flag='-bexport'
++	no_entry_flag='-bnoentry'
+       fi
+-      break
+-    fi
+-  done
+-  IFS="$ac_save_ifs"
+-  MAGIC_CMD="$ac_save_MAGIC_CMD"
+-  ;;
+-esac])
+-MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
+-if test -n "$MAGIC_CMD"; then
+-  AC_MSG_RESULT($MAGIC_CMD)
+-else
+-  AC_MSG_RESULT(no)
+-fi
+-])
+ 
++      # When large executables or shared objects are built, AIX ld can
++      # have problems creating the table of contents.  If linking a library
++      # or program results in "error TOC overflow" add -mminimal-toc to
++      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
++      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
++
++      _LT_AC_TAGVAR(archive_cmds, $1)=''
++      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
++      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
++      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
++
++      if test "$GCC" = yes; then
++	case $host_os in aix4.[012]|aix4.[012].*)
++	# We only want to do this on AIX 4.2 and lower, the check
++	# below for broken collect2 doesn't work under 4.3+
++	  collect2name=`${CC} -print-prog-name=collect2`
++	  if test -f "$collect2name" && \
++  	   strings "$collect2name" | grep resolve_lib_name >/dev/null
++	  then
++  	  # We have reworked collect2
++  	  _LT_AC_TAGVAR(hardcode_direct, $1)=yes
++	  else
++  	  # We have old collect2
++  	  _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
++  	  # It fails to find uninstalled libraries when the uninstalled
++  	  # path is not listed in the libpath.  Setting hardcode_minus_L
++  	  # to unsupported forces relinking
++  	  _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
++  	  _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
++  	  _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
++	  fi
++	esac
++	shared_flag='-shared'
++      else
++	# not using gcc
++	if test "$host_cpu" = ia64; then
++  	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
++  	# chokes on -Wl,-G. The following line is correct:
++	  shared_flag='-G'
++	else
++  	if test "$aix_use_runtimelinking" = yes; then
++	    shared_flag='${wl}-G'
++	  else
++	    shared_flag='${wl}-bM:SRE'
++  	fi
++	fi
++      fi
+ 
+-# AC_PATH_MAGIC - find a file program which can recognise a shared library
+-AC_DEFUN([AC_PATH_MAGIC],
+-[AC_REQUIRE([AC_CHECK_TOOL_PREFIX])dnl
+-AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin:$PATH)
+-if test -z "$lt_cv_path_MAGIC_CMD"; then
+-  if test -n "$ac_tool_prefix"; then
+-    AC_PATH_TOOL_PREFIX(file, /usr/bin:$PATH)
+-  else
+-    MAGIC_CMD=:
+-  fi
+-fi
+-])
++      # It seems that -bexpall does not export symbols beginning with
++      # underscore (_), so it is better to generate a list of symbols to export.
++      _LT_AC_TAGVAR(always_export_symbols, $1)=yes
++      if test "$aix_use_runtimelinking" = yes; then
++	# Warning - without using the other runtime loading flags (-brtl),
++	# -berok will link without error, but may produce a broken library.
++	_LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
++       # Determine the default libpath from the value encoded in an empty executable.
++       _LT_AC_SYS_LIBPATH_AIX
++       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
++	_LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
++       else
++	if test "$host_cpu" = ia64; then
++	  _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
++	  _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
++	  _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
++	else
++	 # Determine the default libpath from the value encoded in an empty executable.
++	 _LT_AC_SYS_LIBPATH_AIX
++	 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
++	  # Warning - without using the other run time loading flags,
++	  # -berok will link without error, but may produce a broken library.
++	  _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
++	  _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
++	  # -bexpall does not export symbols beginning with underscore (_)
++	  _LT_AC_TAGVAR(always_export_symbols, $1)=yes
++	  # Exported symbols can be pulled into shared objects from archives
++	  _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' '
++	  _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
++	  # This is similar to how AIX traditionally builds it's shared libraries.
++	  _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
++	fi
++      fi
++      ;;
+ 
++    amigaos*)
++      _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
++      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
++      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
++      # see comment about different semantics on the GNU ld section
++      _LT_AC_TAGVAR(ld_shlibs, $1)=no
++      ;;
+ 
+-# AC_PROG_LD - find the path to the GNU or non-GNU linker
+-AC_DEFUN([AC_PROG_LD],
+-[AC_ARG_WITH(gnu-ld,
+-[  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]],
+-test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no)
+-AC_REQUIRE([AC_PROG_CC])dnl
+-AC_REQUIRE([AC_CANONICAL_HOST])dnl
+-AC_REQUIRE([AC_CANONICAL_BUILD])dnl
+-AC_REQUIRE([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR])dnl
+-ac_prog=ld
+-if test "$GCC" = yes; then
+-  # Check if gcc -print-prog-name=ld gives a path.
+-  AC_MSG_CHECKING([for ld used by GCC])
+-  case $host in
+-  *-*-mingw*)
+-    # gcc leaves a trailing carriage return which upsets mingw
+-    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
+-  *)
+-    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
+-  esac
+-  case $ac_prog in
+-    # Accept absolute paths.
+-    [[\\/]]* | [[A-Za-z]]:[[\\/]]*)
+-      re_direlt='/[[^/]][[^/]]*/\.\./'
+-      # Canonicalize the path of ld
+-      ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
+-      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
+-	ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
+-      done
+-      test -z "$LD" && LD="$ac_prog"
++    bsdi4*)
++      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
+       ;;
+-  "")
+-    # If it fails, then pretend we aren't using GCC.
+-    ac_prog=ld
+-    ;;
+-  *)
+-    # If it is relative, then search for the first ld in PATH.
+-    with_gnu_ld=unknown
+-    ;;
+-  esac
+-elif test "$with_gnu_ld" = yes; then
+-  AC_MSG_CHECKING([for GNU ld])
+-else
+-  AC_MSG_CHECKING([for non-GNU ld])
+-fi
+-AC_CACHE_VAL(lt_cv_path_LD,
+-[if test -z "$LD"; then
+-  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
+-  for ac_dir in $PATH; do
+-    test -z "$ac_dir" && ac_dir=.
+-    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
+-      lt_cv_path_LD="$ac_dir/$ac_prog"
+-      # Check to see if the program is GNU ld.  I'd rather use --version,
+-      # but apparently some GNU ld's only accept -v.
+-      # Break only if it was the GNU/non-GNU ld that we prefer.
+-      if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
+-	test "$with_gnu_ld" != no && break
++
++    cygwin* | mingw* | pw32*)
++      # When not using gcc, we currently assume that we are using
++      # Microsoft Visual C++.
++      # hardcode_libdir_flag_spec is actually meaningless, as there is
++      # no search path for DLLs.
++      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
++      _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
++      # Tell ltmain to make .lib files, not .a files.
++      libext=lib
++      # Tell ltmain to make .dll files, not .so files.
++      shrext=".dll"
++      # FIXME: Setting linknames here is a bad hack.
++      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
++      # The linker will automatically build a .lib file if we build a DLL.
++      _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true'
++      # FIXME: Should let the user specify the lib program.
++      _LT_AC_TAGVAR(old_archive_cmds, $1)='lib /OUT:$oldlib$oldobjs$old_deplibs'
++      fix_srcfile_path='`cygpath -w "$srcfile"`'
++      _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
++      ;;
++
++    darwin* | rhapsody*)
++    if test "$GXX" = yes ; then
++      _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
++      case "$host_os" in
++      rhapsody* | darwin1.[[012]])
++	_LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'
++	;;
++      *) # Darwin 1.3 on
++      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
++      	_LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
+       else
+-	test "$with_gnu_ld" != yes && break
++        case ${MACOSX_DEPLOYMENT_TARGET} in
++          10.[[012]])
++            _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
++            ;;
++          10.*)
++            _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'
++            ;;            
++        esac
+       fi
+-    fi
+-  done
+-  IFS="$ac_save_ifs"
+-else
+-  lt_cv_path_LD="$LD" # Let the user override the test with a path.
+-fi])
+-LD="$lt_cv_path_LD"
+-if test -n "$LD"; then
+-  AC_MSG_RESULT($LD)
+-else
+-  AC_MSG_RESULT(no)
+-fi
+-test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
+-AC_PROG_LD_GNU
+-])
++	;;
++      esac
++    	lt_int_apple_cc_single_mod=no
++    	output_verbose_link_cmd='echo'
++    	if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
++    	  lt_int_apple_cc_single_mod=yes
++    	fi
++    	if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
++    	  _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
++    	else
++        _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
++      fi
++      _LT_AC_TAGVAR(module_cmds, $1)='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
++      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
++        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
++          _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++        else
++          _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++        fi
++          _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++      _LT_AC_TAGVAR(hardcode_direct, $1)=no
++      _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
++      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
++      _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
++      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
++    else  
++      _LT_AC_TAGVAR(ld_shlibs, $1)=no
++    fi  
++      ;;
+ 
+-# AC_PROG_LD_GNU -
+-AC_DEFUN([AC_PROG_LD_GNU],
+-[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
+-[# I'd rather use --version here, but apparently some GNU ld's only accept -v.
+-if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
+-  lt_cv_prog_gnu_ld=yes
+-else
+-  lt_cv_prog_gnu_ld=no
+-fi])
+-with_gnu_ld=$lt_cv_prog_gnu_ld
+-])
++    dgux*)
++      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
++      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
++      ;;
+ 
+-# AC_PROG_LD_RELOAD_FLAG - find reload flag for linker
+-#   -- PORTME Some linkers may need a different reload flag.
+-AC_DEFUN([AC_PROG_LD_RELOAD_FLAG],
+-[AC_CACHE_CHECK([for $LD option to reload object files], lt_cv_ld_reload_flag,
+-[lt_cv_ld_reload_flag='-r'])
+-reload_flag=$lt_cv_ld_reload_flag
+-test -n "$reload_flag" && reload_flag=" $reload_flag"
+-])
++    freebsd1*)
++      _LT_AC_TAGVAR(ld_shlibs, $1)=no
++      ;;
+ 
+-# AC_DEPLIBS_CHECK_METHOD - how to check for library dependencies
+-#  -- PORTME fill in with the dynamic library characteristics
+-AC_DEFUN([AC_DEPLIBS_CHECK_METHOD],
+-[AC_CACHE_CHECK([how to recognise dependant libraries],
+-lt_cv_deplibs_check_method,
+-[lt_cv_file_magic_cmd='$MAGIC_CMD'
+-lt_cv_file_magic_test_file=
+-lt_cv_deplibs_check_method='unknown'
+-# Need to set the preceding variable on all platforms that support
+-# interlibrary dependencies.
+-# 'none' -- dependencies not supported.
+-# `unknown' -- same as none, but documents that we really don't know.
+-# 'pass_all' -- all dependencies passed with no checks.
+-# 'test_compile' -- check by making test program.
+-# 'file_magic [[regex]]' -- check by looking for files in library path
+-# which responds to the $file_magic_cmd with a given egrep regex.
+-# If you have `file' or equivalent on your system and you're not sure
+-# whether `pass_all' will *always* work, you probably want this one.
++    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
++    # support.  Future versions do this automatically, but an explicit c++rt0.o
++    # does not break anything, and helps significantly (at the cost of a little
++    # extra space).
++    freebsd2.2*)
++      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
++      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
++      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
++      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
++      ;;
+ 
+-case $host_os in
+-aix4* | aix5*)
+-  lt_cv_deplibs_check_method=pass_all
+-  ;;
++    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
++    freebsd2*)
++      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
++      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
++      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
++      ;;
+ 
+-beos*)
+-  lt_cv_deplibs_check_method=pass_all
+-  ;;
++    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
++    freebsd* | kfreebsd*-gnu)
++      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
++      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
++      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
++      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
++      ;;
+ 
+-bsdi4*)
+-  lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
+-  lt_cv_file_magic_cmd='/usr/bin/file -L'
+-  lt_cv_file_magic_test_file=/shlib/libc.so
+-  ;;
++    hpux9*)
++      if test "$GCC" = yes; then
++	_LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
++      else
++	_LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
++      fi
++      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
++      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
++      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
++
++      # hardcode_minus_L: Not really in the search PATH,
++      # but as the default location of the library.
++      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
++      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
++      ;;
+ 
+-cygwin* | mingw* | pw32*)
+-  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
+-  lt_cv_file_magic_cmd='$OBJDUMP -f'
+-  ;;
++    hpux10* | hpux11*)
++      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
++	case "$host_cpu" in
++	hppa*64*|ia64*)
++	  _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++	  ;;
++	*)
++	  _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
++	  ;;
++	esac
++      else
++	case "$host_cpu" in
++	hppa*64*|ia64*)
++	  _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
++	  ;;
++	*)
++	  _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
++	  ;;
++	esac
++      fi
++      if test "$with_gnu_ld" = no; then
++	case "$host_cpu" in
++	hppa*64*)
++	  _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
++	  _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
++	  _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
++	  _LT_AC_TAGVAR(hardcode_direct, $1)=no
++	  _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
++	  ;;
++	ia64*)
++	  _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
++	  _LT_AC_TAGVAR(hardcode_direct, $1)=no
++	  _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
++
++	  # hardcode_minus_L: Not really in the search PATH,
++	  # but as the default location of the library.
++	  _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
++	  ;;
++	*)
++	  _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
++	  _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
++	  _LT_AC_TAGVAR(hardcode_direct, $1)=yes
++	  _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
++
++	  # hardcode_minus_L: Not really in the search PATH,
++	  # but as the default location of the library.
++	  _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
++	  ;;
++	esac
++      fi
++      ;;
+ 
+-darwin* | rhapsody*)
+-  lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
+-  lt_cv_file_magic_cmd='/usr/bin/file -L'
+-  case "$host_os" in
+-  rhapsody* | darwin1.[[012]])
+-    lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1`
+-    ;;
+-  *) # Darwin 1.3 on
+-    lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
+-    ;;
+-  esac
+-  ;;
++    irix5* | irix6* | nonstopux*)
++      if test "$GCC" = yes; then
++	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++      else
++	_LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
++	_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
++      fi
++      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
++      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
++      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
++      ;;
+ 
+-freebsd*)
+-  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
+-    case $host_cpu in
+-    i*86 )
+-      # Not sure whether the presence of OpenBSD here was a mistake.
+-      # Let's accept both of them until this is cleared up.
+-      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[[3-9]]86 (compact )?demand paged shared library'
+-      lt_cv_file_magic_cmd=/usr/bin/file
+-      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
++    netbsd*)
++      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++	_LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
++      else
++	_LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
++      fi
++      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
++      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
++      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+       ;;
+-    esac
+-  else
+-    lt_cv_deplibs_check_method=pass_all
+-  fi
+-  ;;
+ 
+-gnu*)
+-  lt_cv_deplibs_check_method=pass_all
+-  ;;
++    newsos6)
++      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
++      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
++      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
++      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
++      ;;
+ 
+-hpux10.20*|hpux11*)
+-  lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
+-  lt_cv_file_magic_cmd=/usr/bin/file
+-  lt_cv_file_magic_test_file=/usr/lib/libc.sl
+-  ;;
++    openbsd*)
++      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
++      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
++      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
++	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
++	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
++	_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
++      else
++       case $host_os in
++	 openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
++	   _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++	   _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
++	   ;;
++	 *)
++	   _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
++	   _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
++	   ;;
++       esac
++      fi
++      ;;
+ 
+-irix5* | irix6*)
+-  case $host_os in
+-  irix5*)
+-    # this will be overridden with pass_all, but let us keep it just in case
+-    lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
+-    ;;
+-  *)
+-    case $LD in
+-    *-32|*"-32 ") libmagic=32-bit;;
+-    *-n32|*"-n32 ") libmagic=N32;;
+-    *-64|*"-64 ") libmagic=64-bit;;
+-    *) libmagic=never-match;;
+-    esac
+-    # this will be overridden with pass_all, but let us keep it just in case
+-    lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[[1234]] dynamic lib MIPS - version 1"
+-    ;;
+-  esac
+-  lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
+-  lt_cv_deplibs_check_method=pass_all
+-  ;;
++    os2*)
++      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
++      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
++      _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
++      _LT_AC_TAGVAR(archive_cmds, $1)='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
++      _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
++      ;;
+ 
+-# This must be Linux ELF.
+-linux-gnu*)
+-  case $host_cpu in
+-  alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
+-    lt_cv_deplibs_check_method=pass_all ;;
+-  *)
+-    # glibc up to 2.1.1 does not perform some relocations on ARM
+-    lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;;
+-  esac
+-  lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
+-  ;;
++    osf3*)
++      if test "$GCC" = yes; then
++	_LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
++	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++      else
++	_LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
++	_LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
++      fi
++      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
++      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
++      ;;
+ 
+-netbsd*)
+-  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
+-    lt_cv_deplibs_check_method='match_pattern /lib[[^/\.]]+\.so\.[[0-9]]+\.[[0-9]]+$'
+-  else
+-    lt_cv_deplibs_check_method='match_pattern /lib[[^/\.]]+\.so$'
+-  fi
+-  ;;
++    osf4* | osf5*)	# as osf3* with the addition of -msym flag
++      if test "$GCC" = yes; then
++	_LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
++	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
++      else
++	_LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
++	_LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
++	_LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
++	$LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
+ 
+-newos6*)
+-  lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
+-  lt_cv_file_magic_cmd=/usr/bin/file
+-  lt_cv_file_magic_test_file=/usr/lib/libnls.so
+-  ;;
++	# Both c and cxx compiler support -rpath directly
++	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
++      fi
++      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
++      ;;
+ 
+-openbsd*)
+-  lt_cv_file_magic_cmd=/usr/bin/file
+-  lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
+-  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
+-    lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB shared object'
+-  else
+-    lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
+-  fi
+-  ;;
++    sco3.2v5*)
++      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
++      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
++      runpath_var=LD_RUN_PATH
++      hardcode_runpath_var=yes
++      ;;
+ 
+-osf3* | osf4* | osf5*)
+-  # this will be overridden with pass_all, but let us keep it just in case
+-  lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
+-  lt_cv_file_magic_test_file=/shlib/libc.so
+-  lt_cv_deplibs_check_method=pass_all
+-  ;;
++    solaris*)
++      _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
++      if test "$GCC" = yes; then
++	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++	_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
++      else
++	_LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
++	_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++  	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
++      fi
++      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
++      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
++      case $host_os in
++      solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
++      *) # Supported since Solaris 2.6 (maybe 2.5.1?)
++	_LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;;
++      esac
++      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
++      ;;
+ 
+-sco3.2v5*)
+-  lt_cv_deplibs_check_method=pass_all
+-  ;;
++    sunos4*)
++      if test "x$host_vendor" = xsequent; then
++	# Use $CC to link under sequent, because it throws in some extra .o
++	# files that make .init and .fini sections work.
++	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
++      else
++	_LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
++      fi
++      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
++      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
++      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
++      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
++      ;;
+ 
+-solaris*)
+-  lt_cv_deplibs_check_method=pass_all
+-  lt_cv_file_magic_test_file=/lib/libc.so
+-  ;;
++    sysv4)
++      case $host_vendor in
++	sni)
++	  _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++	  _LT_AC_TAGVAR(hardcode_direct, $1)=yes # is this really true???
++	;;
++	siemens)
++	  ## LD is ld it makes a PLAMLIB
++	  ## CC just makes a GrossModule.
++	  _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
++	  _LT_AC_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
++	  _LT_AC_TAGVAR(hardcode_direct, $1)=no
++        ;;
++	motorola)
++	  _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++	  _LT_AC_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie
++	;;
++      esac
++      runpath_var='LD_RUN_PATH'
++      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
++      ;;
+ 
+-sysv5uw[[78]]* | sysv4*uw2*)
+-  lt_cv_deplibs_check_method=pass_all
+-  ;;
++    sysv4.3*)
++      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
++      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
++      ;;
+ 
+-sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
+-  case $host_vendor in
+-  motorola)
+-    lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]'
+-    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
+-    ;;
+-  ncr)
+-    lt_cv_deplibs_check_method=pass_all
+-    ;;
+-  sequent)
+-    lt_cv_file_magic_cmd='/bin/file'
+-    lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
+-    ;;
+-  sni)
+-    lt_cv_file_magic_cmd='/bin/file'
+-    lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
+-    lt_cv_file_magic_test_file=/lib/libc.so
+-    ;;
+-  esac
+-  ;;
+-esac
+-])
+-file_magic_cmd=$lt_cv_file_magic_cmd
+-deplibs_check_method=$lt_cv_deplibs_check_method
+-])
++    sysv4*MP*)
++      if test -d /usr/nec; then
++	_LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++	_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
++	runpath_var=LD_RUN_PATH
++	hardcode_runpath_var=yes
++	_LT_AC_TAGVAR(ld_shlibs, $1)=yes
++      fi
++      ;;
+ 
++    sysv4.2uw2*)
++      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
++      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
++      _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
++      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
++      hardcode_runpath_var=yes
++      runpath_var=LD_RUN_PATH
++      ;;
+ 
+-# AC_PROG_NM - find the path to a BSD-compatible name lister
+-AC_DEFUN([AC_PROG_NM],
+-[AC_REQUIRE([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR])dnl
+-AC_MSG_CHECKING([for BSD-compatible nm])
+-AC_CACHE_VAL(lt_cv_path_NM,
+-[if test -n "$NM"; then
+-  # Let the user override the test.
+-  lt_cv_path_NM="$NM"
+-else
+-  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
+-  for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
+-    test -z "$ac_dir" && ac_dir=.
+-    tmp_nm=$ac_dir/${ac_tool_prefix}nm
+-    if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
+-      # Check to see if the nm accepts a BSD-compat flag.
+-      # Adding the `sed 1q' prevents false positives on HP-UX, which says:
+-      #   nm: unknown option "B" ignored
+-      # Tru64's nm complains that /dev/null is an invalid object file
+-      if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
+-	lt_cv_path_NM="$tmp_nm -B"
+-	break
+-      elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
+-	lt_cv_path_NM="$tmp_nm -p"
+-	break
++   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[[78]]* | unixware7*)
++      _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z ${wl}text'
++      if test "$GCC" = yes; then
++	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
+       else
+-	lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
+-	continue # so that we can try to find one that supports BSD flags
++	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
+       fi
+-    fi
+-  done
+-  IFS="$ac_save_ifs"
+-  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
+-fi])
+-NM="$lt_cv_path_NM"
+-AC_MSG_RESULT([$NM])
++      runpath_var='LD_RUN_PATH'
++      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
++      ;;
++
++    sysv5*)
++      _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
++      # $CC -shared without GNU ld will not create a library from C++
++      # object files and a static libstdc++, better avoid it by now
++      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++  		$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
++      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
++      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
++      runpath_var='LD_RUN_PATH'
++      ;;
++
++    uts4*)
++      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
++      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
++      ;;
++
++    *)
++      _LT_AC_TAGVAR(ld_shlibs, $1)=no
++      ;;
++    esac
++  fi
+ ])
++AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
++test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
+ 
+-# AC_CHECK_LIBM - check for math library
+-AC_DEFUN([AC_CHECK_LIBM],
+-[AC_REQUIRE([AC_CANONICAL_HOST])dnl
+-LIBM=
+-case $host in
+-*-*-beos* | *-*-cygwin* | *-*-pw32*)
+-  # These system don't have libm
+-  ;;
+-*-ncr-sysv4.3*)
+-  AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
+-  AC_CHECK_LIB(m, main, LIBM="$LIBM -lm")
+-  ;;
+-*)
+-  AC_CHECK_LIB(m, main, LIBM="-lm")
++variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
++if test "$GCC" = yes; then
++  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
++fi
++
++#
++# Do we need to explicitly link libc?
++#
++case "x$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)" in
++x|xyes)
++  # Assume -lc should be added
++  _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
++
++  if test "$enable_shared" = yes && test "$GCC" = yes; then
++    case $_LT_AC_TAGVAR(archive_cmds, $1) in
++    *'~'*)
++      # FIXME: we may have to deal with multi-command sequences.
++      ;;
++    '$CC '*)
++      # Test whether the compiler implicitly links with -lc since on some
++      # systems, -lgcc has to come before -lc. If gcc already passes -lc
++      # to ld, don't add -lc before -lgcc.
++      AC_MSG_CHECKING([whether -lc should be explicitly linked in])
++      $rm conftest*
++      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
++  
++      if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
++        soname=conftest
++        lib=conftest
++        libobjs=conftest.$ac_objext
++        deplibs=
++        wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
++        compiler_flags=-v
++        linker_flags=-v
++        verstring=
++        output_objdir=.
++        libname=conftest
++        lt_save_allow_undefined_flag=$_LT_AC_TAGVAR(allow_undefined_flag, $1)
++        _LT_AC_TAGVAR(allow_undefined_flag, $1)=
++        if AC_TRY_EVAL(_LT_AC_TAGVAR(archive_cmds, $1) 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1)
++        then
++	  _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
++        else
++	  _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
++        fi
++        _LT_AC_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
++      else
++        cat conftest.err 1>&5
++      fi
++      $rm conftest*
++      AC_MSG_RESULT([$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)])
++      ;;
++    esac
++  fi
+   ;;
+ esac
+-])
++])# AC_LIBTOOL_PROG_LD_SHLIBS
+ 
+-# AC_LIBLTDL_CONVENIENCE[(dir)] - sets LIBLTDL to the link flags for
+-# the libltdl convenience library and INCLTDL to the include flags for
+-# the libltdl header and adds --enable-ltdl-convenience to the
+-# configure arguments.  Note that LIBLTDL and INCLTDL are not
+-# AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called.  If DIR is not
+-# provided, it is assumed to be `libltdl'.  LIBLTDL will be prefixed
+-# with '${top_builddir}/' and INCLTDL will be prefixed with
+-# '${top_srcdir}/' (note the single quotes!).  If your package is not
+-# flat and you're not using automake, define top_builddir and
+-# top_srcdir appropriately in the Makefiles.
+-AC_DEFUN([AC_LIBLTDL_CONVENIENCE],
+-[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
+-  case $enable_ltdl_convenience in
+-  no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;;
+-  "") enable_ltdl_convenience=yes
+-      ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
+-  esac
+-  LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la
+-  INCLTDL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
+-])
+ 
+-# AC_LIBLTDL_INSTALLABLE[(dir)] - sets LIBLTDL to the link flags for
+-# the libltdl installable library and INCLTDL to the include flags for
+-# the libltdl header and adds --enable-ltdl-install to the configure
+-# arguments.  Note that LIBLTDL and INCLTDL are not AC_SUBSTed, nor is
+-# AC_CONFIG_SUBDIRS called.  If DIR is not provided and an installed
+-# libltdl is not found, it is assumed to be `libltdl'.  LIBLTDL will
+-# be prefixed with '${top_builddir}/' and INCLTDL will be prefixed
+-# with '${top_srcdir}/' (note the single quotes!).  If your package is
+-# not flat and you're not using automake, define top_builddir and
+-# top_srcdir appropriately in the Makefiles.
+-# In the future, this macro may have to be called after AC_PROG_LIBTOOL.
+-AC_DEFUN([AC_LIBLTDL_INSTALLABLE],
+-[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
+-  AC_CHECK_LIB(ltdl, main,
+-  [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no],
+-  [if test x"$enable_ltdl_install" = xno; then
+-     AC_MSG_WARN([libltdl not installed, but installation disabled])
+-   else
+-     enable_ltdl_install=yes
+-   fi
+-  ])
+-  if test x"$enable_ltdl_install" = x"yes"; then
+-    ac_configure_args="$ac_configure_args --enable-ltdl-install"
+-    LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la
+-    INCLTDL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
+-  else
+-    ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
+-    LIBLTDL="-lltdl"
+-    INCLTDL=
+-  fi
+-])
++# _LT_AC_FILE_LTDLL_C
++# -------------------
++# Be careful that the start marker always follows a newline.
++AC_DEFUN([_LT_AC_FILE_LTDLL_C], [
++# /* ltdll.c starts here */
++# #define WIN32_LEAN_AND_MEAN
++# #include <windows.h>
++# #undef WIN32_LEAN_AND_MEAN
++# #include <stdio.h>
++#
++# #ifndef __CYGWIN__
++# #  ifdef __CYGWIN32__
++# #    define __CYGWIN__ __CYGWIN32__
++# #  endif
++# #endif
++#
++# #ifdef __cplusplus
++# extern "C" {
++# #endif
++# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
++# #ifdef __cplusplus
++# }
++# #endif
++#
++# #ifdef __CYGWIN__
++# #include <cygwin/cygwin_dll.h>
++# DECLARE_CYGWIN_DLL( DllMain );
++# #endif
++# HINSTANCE __hDllInstance_base;
++#
++# BOOL APIENTRY
++# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
++# {
++#   __hDllInstance_base = hInst;
++#   return TRUE;
++# }
++# /* ltdll.c ends here */
++])# _LT_AC_FILE_LTDLL_C
++
++
++# _LT_AC_TAGVAR(VARNAME, [TAGNAME])
++# ---------------------------------
++AC_DEFUN([_LT_AC_TAGVAR], [ifelse([$2], [], [$1], [$1_$2])])
++
+ 
+ # old names
+ AC_DEFUN([AM_PROG_LIBTOOL],   [AC_PROG_LIBTOOL])
+@@ -4564,6 +6924,77 @@
+ # This is just to silence aclocal about the macro not being used
+ ifelse([AC_DISABLE_FAST_INSTALL])
+ 
++AC_DEFUN([LT_AC_PROG_GCJ],
++[AC_CHECK_TOOL(GCJ, gcj, no)
++  test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
++  AC_SUBST(GCJFLAGS)
++])
++
++AC_DEFUN([LT_AC_PROG_RC],
++[AC_CHECK_TOOL(RC, windres, no)
++])
++
++# NOTE: This macro has been submitted for inclusion into   #
++#  GNU Autoconf as AC_PROG_SED.  When it is available in   #
++#  a released version of Autoconf we should remove this    #
++#  macro and use it instead.                               #
++# LT_AC_PROG_SED
++# --------------
++# Check for a fully-functional sed program, that truncates
++# as few characters as possible.  Prefer GNU sed if found.
++AC_DEFUN([LT_AC_PROG_SED],
++[AC_MSG_CHECKING([for a sed that does not truncate output])
++AC_CACHE_VAL(lt_cv_path_SED,
++[# Loop through the user's path and test for sed and gsed.
++# Then use that list of sed's as ones to test for truncation.
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for lt_ac_prog in sed gsed; do
++    for ac_exec_ext in '' $ac_executable_extensions; do
++      if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
++        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
++      fi
++    done
++  done
++done
++lt_ac_max=0
++lt_ac_count=0
++# Add /usr/xpg4/bin/sed as it is typically found on Solaris
++# along with /bin/sed that truncates output.
++for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
++  test ! -f $lt_ac_sed && break
++  cat /dev/null > conftest.in
++  lt_ac_count=0
++  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
++  # Check for GNU sed and select it if it is found.
++  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
++    lt_cv_path_SED=$lt_ac_sed
++    break
++  fi
++  while true; do
++    cat conftest.in conftest.in >conftest.tmp
++    mv conftest.tmp conftest.in
++    cp conftest.in conftest.nl
++    echo >>conftest.nl
++    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
++    cmp -s conftest.out conftest.nl || break
++    # 10000 chars as input seems more than enough
++    test $lt_ac_count -gt 10 && break
++    lt_ac_count=`expr $lt_ac_count + 1`
++    if test $lt_ac_count -gt $lt_ac_max; then
++      lt_ac_max=$lt_ac_count
++      lt_cv_path_SED=$lt_ac_sed
++    fi
++  done
++done
++SED=$lt_cv_path_SED
++])
++AC_MSG_RESULT([$SED])
++])
++
+ dnl $Id: wflags.m4,v 1.3 1999/03/11 12:11:41 joda Exp $
+ dnl
+ dnl set WFLAGS
+@@ -4625,7 +7056,7 @@
+ 
+ header_dirs=
+ lib_dirs=
+-for i in $d; do
++for i in $d /usr; do
+ 	if test "$with_$1_include" = ""; then
+ 		if test -d "$i/include/$1"; then
+ 			header_dirs="$header_dirs $i/include/$1"
+@@ -4688,6 +7119,7 @@
+ 			AC_TRY_LINK([$2],,lres=$i;break)
+ 		done
+ 		if test "$ires" -a "$lres" -a "$with_$1" != "no"; then
++			DIR_$1=
+ 			INCLUDE_$1="-I$ires"
+ 			LIB_$1="-L$lres $3 $4"
+ 			found=yes
+@@ -4703,11 +7135,13 @@
+ 	with_$1=yes
+ else
+ 	with_$1=no
++	DIR_$1=
+ 	INCLUDE_$1=
+ 	LIB_$1=
+ 	AC_MSG_RESULT(no)
+ fi
+ 
++AC_SUBST(DIR_$1)
+ AC_SUBST(INCLUDE_$1)
+ AC_SUBST(LIB_$1)
+ ])
+@@ -5227,6 +7661,72 @@
+ AC_SUBST(LIB_NDBM)dnl
+ ])
+ 
++dnl $Id: roken.m4,v 1.3 2002/04/30 16:46:33 joda Exp $
++dnl
++dnl try to look for an installed roken library with sufficient stuff
++dnl
++dnl set LIB_roken to the what we should link with
++dnl set DIR_roken to if the directory should be built
++dnl set CPPFLAGS_roken to stuff to add to CPPFLAGS
++
++dnl AC_ROKEN(version,directory-to-try,roken-dir,fallback-library,fallback-cppflags)
++AC_DEFUN(AC_ROKEN, [
++
++AC_ARG_WITH(roken,
++	AC_HELP_STRING([--with-roken=dir],[use the roken library in dir]),
++[if test "$withval" = "no"; then
++  AC_MSG_ERROR(roken is required)
++fi])
++
++save_CPPFLAGS="${CPPFLAGS}"
++
++case $with_roken in
++yes|"")
++  dirs="$2" ;;
++*)
++  dirs="$with_roken" ;;
++esac
++
++roken_installed=no
++
++for i in $dirs; do
++
++AC_MSG_CHECKING(for roken in $i)
++
++CPPFLAGS="-I$i/include ${CPPFLAGS}"
++
++AC_TRY_CPP(
++[#include <roken.h>
++//#if ROKEN_VERSION < $1
++//#error old roken version, should be $1
++//fail
++//#endif
++],[roken_installed=yes; break])
++
++AC_MSG_RESULT($roken_installed)
++
++done
++
++CPPFLAGS="$save_CPPFLAGS"
++
++if test "$roken_installed" != "yes"; then
++  DIR_roken="roken"
++  LIB_roken='$4'
++  CPPFLAGS_roken='$5'
++dnl  AC_CONFIG_SUBDIRS(lib/roken)
++else
++  LIB_roken="$i/lib/libroken.la"
++  CPPFLAGS_roken="-I$i/include"
++fi
++
++AC_FIND_FUNC_NO_LIBS(crypt, crypt)dnl
++LIB_roken="${LIB_roken} \$(LIB_crypt) \$(LIB_dbopen)"
++
++AC_SUBST(LIB_roken)dnl
++AC_SUBST(DIR_roken)dnl
++AC_SUBST(CPPFLAGS_roken)dnl
++])
++
+ dnl $Id: roken-frag.m4,v 1.45 2002/12/18 17:34:25 joda Exp $
+ dnl
+ dnl some code to get roken working
+@@ -5237,9 +7737,9 @@
+ 
+ AC_REQUIRE([rk_CONFIG_HEADER])
+ 
+-DIR_roken=roken
+-LIB_roken='$(top_builddir)/$1/libroken.la'
+-INCLUDES_roken='-I$(top_builddir)/$1 -I$(top_srcdir)/$1'
++dnl DIR_roken=roken
++dnl LIB_roken='$(top_builddir)/$1/libroken.la'
++dnl INCLUDES_roken='-I$(top_builddir)/$1 -I$(top_srcdir)/$1'
+ 
+ dnl Checks for programs
+ AC_REQUIRE([AC_PROG_CC])
+@@ -5872,11 +8372,11 @@
+ dnl moved to AC_OUTPUT in configure.in
+ dnl AC_CONFIG_FILES($1/Makefile)
+ 
+-LIB_roken="${LIB_roken} \$(LIB_crypt) \$(LIB_dbopen)"
++dnl LIB_roken="${LIB_roken} \$(LIB_crypt) \$(LIB_dbopen)"
+ 
+-AC_SUBST(DIR_roken)dnl
+-AC_SUBST(LIB_roken)dnl
+-AC_SUBST(INCLUDES_roken)dnl
++dnl AC_SUBST(DIR_roken)dnl
++dnl AC_SUBST(LIB_roken)dnl
++dnl AC_SUBST(INCLUDES_roken)dnl
+ ])
+ 
+ dnl $Id: have-type.m4,v 1.6 2000/07/15 18:10:00 joda Exp $
+@@ -6544,8 +9044,6 @@
+ fi
+ if test "$enable_otp" = yes; then
+ 	AC_DEFINE(OTP, 1, [Define if you want OTP support in applications.])
+-	LIB_otp='$(top_builddir)/lib/otp/libotp.la'
+-	AC_SUBST(LIB_otp)
+ fi
+ AC_MSG_CHECKING([whether to enable OTP library])
+ AC_MSG_RESULT($enable_otp)
+@@ -7012,8 +9510,10 @@
+ 	:
+ elif test "$ac_cv_func_el_init" = yes; then
+ 	ac_foo=yes
++	DIR_readline="editline"
+ 	LIB_readline="\$(top_builddir)/lib/editline/libel_compat.la \$(LIB_el_init) \$(LIB_tgetent)"
+ else
++	DIR_readline="editline"
+ 	LIB_readline="\$(top_builddir)/lib/editline/libeditline.la \$(LIB_tgetent)"
+ fi
+ AM_CONDITIONAL(el_compat, test "$ac_foo" = yes)
+diff -ruN heimdal-0.6-old/admin/Makefile.in heimdal-0.6/admin/Makefile.in
+--- heimdal-0.6-old/admin/Makefile.in	2003-05-12 17:27:34.000000000 +0200
++++ heimdal-0.6/admin/Makefile.in	2003-09-15 17:09:43.000000000 +0200
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -72,6 +73,7 @@
+ PATH_SEPARATOR = @PATH_SEPARATOR@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+ AMTAR = @AMTAR@
++AR = @AR@
+ AS = @AS@
+ AWK = @AWK@
+ CANONICAL_HOST = @CANONICAL_HOST@
+@@ -80,16 +82,23 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
++CXX = @CXX@
++CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
++EGREP = @EGREP@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++F77 = @F77@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,7 +118,6 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+@@ -121,6 +129,7 @@
+ OBJDUMP = @OBJDUMP@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
++RC = @RC@
+ STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+@@ -191,6 +200,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -223,9 +241,8 @@
+ 	$(top_builddir)/lib/krb5/libkrb5.la \
+ 	$(LIB_des) \
+ 	$(top_builddir)/lib/asn1/libasn1.la \
+-	$(top_builddir)/lib/sl/libsl.la \
+-	$(LIB_readline) \
+-	$(LIB_roken)
++	$(LIB_sl) \
++	-ledit
+ 
+ subdir = admin
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+@@ -241,8 +258,7 @@
+ ktutil_LDADD = $(LDADD)
+ ktutil_DEPENDENCIES = $(top_builddir)/lib/kadm5/libkadm5clnt.la \
+ 	$(top_builddir)/lib/krb5/libkrb5.la \
+-	$(top_builddir)/lib/asn1/libasn1.la \
+-	$(top_builddir)/lib/sl/libsl.la
++	$(top_builddir)/lib/asn1/libasn1.la
+ ktutil_LDFLAGS =
+ 
+ DEFS = @DEFS@
+@@ -283,8 +299,7 @@
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+-	    p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
+-	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(sbinPROGRAMS_INSTALL) $$p $(DESTDIR)$(sbindir)/$$f"; \
+ 	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(sbinPROGRAMS_INSTALL) $$p $(DESTDIR)$(sbindir)/$$f; \
+ 	  else :; fi; \
+@@ -293,14 +308,17 @@
+ uninstall-sbinPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(sbin_PROGRAMS)'; for p in $$list; do \
+-	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  f=`echo "$$f" | sed -e 's,^.*/,,'`; \
++	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(sbindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(sbindir)/$$f; \
+ 	done
+ 
+ clean-sbinPROGRAMS:
+-	-test -z "$(sbin_PROGRAMS)" || rm -f $(sbin_PROGRAMS)
++	@list='$(sbin_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ ktutil$(EXEEXT): $(ktutil_OBJECTS) $(ktutil_DEPENDENCIES) 
+ 	@rm -f ktutil$(EXEEXT)
+ 	$(LINK) $(ktutil_LDFLAGS) $(ktutil_OBJECTS) $(ktutil_LDADD) $(LIBS)
+@@ -345,6 +363,10 @@
+ 	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
+ 	  else file=$$i; fi; \
+ 	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
++	  case "$$ext" in \
++	    8*) ;; \
++	    *) ext='8' ;; \
++	  esac; \
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+@@ -410,7 +432,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -460,7 +482,7 @@
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+@@ -652,6 +674,7 @@
+ 	$(COMPILE_ET) $<
+ .et.c:
+ 	$(COMPILE_ET) $<
++	$(LIB_roken)
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.6-old/appl/afsutil/Makefile.in heimdal-0.6/appl/afsutil/Makefile.in
+--- heimdal-0.6-old/appl/afsutil/Makefile.in	2003-05-12 17:27:35.000000000 +0200
++++ heimdal-0.6/appl/afsutil/Makefile.in	2003-09-15 17:09:44.000000000 +0200
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -72,6 +73,7 @@
+ PATH_SEPARATOR = @PATH_SEPARATOR@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+ AMTAR = @AMTAR@
++AR = @AR@
+ AS = @AS@
+ AWK = @AWK@
+ CANONICAL_HOST = @CANONICAL_HOST@
+@@ -80,16 +82,23 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
++CXX = @CXX@
++CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
++EGREP = @EGREP@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++F77 = @F77@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,7 +118,6 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+@@ -121,6 +129,7 @@
+ OBJDUMP = @OBJDUMP@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
++RC = @RC@
+ STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+@@ -191,6 +200,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -277,8 +295,7 @@
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+-	    p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
+-	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
+ 	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+@@ -287,14 +304,17 @@
+ uninstall-binPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  f=`echo "$$f" | sed -e 's,^.*/,,'`; \
++	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+ clean-binPROGRAMS:
+-	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
++	@list='$(bin_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ afslog$(EXEEXT): $(afslog_OBJECTS) $(afslog_DEPENDENCIES) 
+ 	@rm -f afslog$(EXEEXT)
+ 	$(LINK) $(afslog_LDFLAGS) $(afslog_OBJECTS) $(afslog_LDADD) $(LIBS)
+@@ -342,6 +362,10 @@
+ 	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
+ 	  else file=$$i; fi; \
+ 	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
++	  case "$$ext" in \
++	    1*) ;; \
++	    *) ext='1' ;; \
++	  esac; \
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+@@ -407,7 +431,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -457,7 +481,7 @@
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.6-old/appl/dceutils/Makefile.in heimdal-0.6/appl/dceutils/Makefile.in
+--- heimdal-0.6-old/appl/dceutils/Makefile.in	2003-05-12 17:27:35.000000000 +0200
++++ heimdal-0.6/appl/dceutils/Makefile.in	2003-09-15 17:09:44.000000000 +0200
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -72,6 +73,7 @@
+ PATH_SEPARATOR = @PATH_SEPARATOR@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+ AMTAR = @AMTAR@
++AR = @AR@
+ AS = @AS@
+ AWK = @AWK@
+ CANONICAL_HOST = @CANONICAL_HOST@
+@@ -80,16 +82,23 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
++CXX = @CXX@
++CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
++EGREP = @EGREP@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++F77 = @F77@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,7 +118,6 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+@@ -121,6 +129,7 @@
+ OBJDUMP = @OBJDUMP@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
++RC = @RC@
+ STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+@@ -191,6 +200,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -274,8 +292,7 @@
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+-	    p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
+-	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f"; \
+ 	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f; \
+ 	  else :; fi; \
+@@ -284,14 +301,17 @@
+ uninstall-libexecPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+-	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  f=`echo "$$f" | sed -e 's,^.*/,,'`; \
++	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(libexecdir)/$$f; \
+ 	done
+ 
+ clean-libexecPROGRAMS:
+-	-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
++	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ dpagaix-dpagaix.$(OBJEXT): dpagaix.c
+ k5dcecon$(EXEEXT): $(k5dcecon_OBJECTS) $(k5dcecon_DEPENDENCIES) 
+ 	@rm -f k5dcecon$(EXEEXT)
+@@ -372,7 +392,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -422,7 +442,7 @@
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.6-old/appl/ftp/common/Makefile.in heimdal-0.6/appl/ftp/common/Makefile.in
+--- heimdal-0.6-old/appl/ftp/common/Makefile.in	2003-05-12 17:27:36.000000000 +0200
++++ heimdal-0.6/appl/ftp/common/Makefile.in	2003-09-15 17:09:45.000000000 +0200
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -72,6 +73,7 @@
+ PATH_SEPARATOR = @PATH_SEPARATOR@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+ AMTAR = @AMTAR@
++AR = @AR@
+ AS = @AS@
+ AWK = @AWK@
+ CANONICAL_HOST = @CANONICAL_HOST@
+@@ -80,16 +82,23 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
++CXX = @CXX@
++CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
++EGREP = @EGREP@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++F77 = @F77@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,7 +118,6 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+@@ -121,6 +129,7 @@
+ OBJDUMP = @OBJDUMP@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
++RC = @RC@
+ STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+@@ -191,6 +200,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -249,8 +267,6 @@
+ Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
+ 	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+ 
+-AR = ar
+-
+ clean-noinstLIBRARIES:
+ 	-test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
+ libcommon.a: $(libcommon_a_OBJECTS) $(libcommon_a_DEPENDENCIES) 
+@@ -324,7 +340,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -373,7 +389,7 @@
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.6-old/appl/ftp/ftp/Makefile.in heimdal-0.6/appl/ftp/ftp/Makefile.in
+--- heimdal-0.6-old/appl/ftp/ftp/Makefile.in	2003-05-12 17:27:36.000000000 +0200
++++ heimdal-0.6/appl/ftp/ftp/Makefile.in	2003-09-15 17:09:45.000000000 +0200
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -72,6 +73,7 @@
+ PATH_SEPARATOR = @PATH_SEPARATOR@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+ AMTAR = @AMTAR@
++AR = @AR@
+ AS = @AS@
+ AWK = @AWK@
+ CANONICAL_HOST = @CANONICAL_HOST@
+@@ -80,16 +82,23 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
++CXX = @CXX@
++CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
++EGREP = @EGREP@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++F77 = @F77@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,7 +118,6 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+@@ -121,6 +129,7 @@
+ OBJDUMP = @OBJDUMP@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
++RC = @RC@
+ STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+@@ -143,7 +152,7 @@
+ 
+ SUFFIXES = .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8
+ 
+-INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) -I$(srcdir)/../common $(INCLUDE_readline) $(INCLUDE_krb4) $(INCLUDE_des)
++INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) -I$(srcdir)/../common -I/usr/include/editline $(INCLUDE_krb4) $(INCLUDE_des)
+ 
+ @do_roken_rename_TRUE@ROKEN_RENAME = -DROKEN_RENAME
+ 
+@@ -191,6 +200,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -238,7 +256,7 @@
+ 	$(LIB_krb4) \
+ 	$(LIB_des) \
+ 	$(LIB_roken) \
+-	$(LIB_readline)
++	-ledit
+ 
+ subdir = appl/ftp/ftp
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+@@ -300,8 +318,7 @@
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+-	    p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
+-	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
+ 	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+@@ -310,14 +327,17 @@
+ uninstall-binPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  f=`echo "$$f" | sed -e 's,^.*/,,'`; \
++	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+ clean-binPROGRAMS:
+-	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
++	@list='$(bin_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ ftp$(EXEEXT): $(ftp_OBJECTS) $(ftp_DEPENDENCIES) 
+ 	@rm -f ftp$(EXEEXT)
+ 	$(LINK) $(ftp_LDFLAGS) $(ftp_OBJECTS) $(ftp_LDADD) $(LIBS)
+@@ -362,6 +382,10 @@
+ 	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
+ 	  else file=$$i; fi; \
+ 	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
++	  case "$$ext" in \
++	    1*) ;; \
++	    *) ext='1' ;; \
++	  esac; \
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+@@ -427,7 +451,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -477,7 +501,7 @@
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.6-old/appl/ftp/ftpd/Makefile.in heimdal-0.6/appl/ftp/ftpd/Makefile.in
+--- heimdal-0.6-old/appl/ftp/ftpd/Makefile.in	2003-05-12 17:27:36.000000000 +0200
++++ heimdal-0.6/appl/ftp/ftpd/Makefile.in	2003-09-15 17:09:45.000000000 +0200
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -72,6 +73,7 @@
+ PATH_SEPARATOR = @PATH_SEPARATOR@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+ AMTAR = @AMTAR@
++AR = @AR@
+ AS = @AS@
+ AWK = @AWK@
+ CANONICAL_HOST = @CANONICAL_HOST@
+@@ -80,16 +82,23 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
++CXX = @CXX@
++CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
++EGREP = @EGREP@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++F77 = @F77@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,7 +118,6 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+@@ -121,6 +129,7 @@
+ OBJDUMP = @OBJDUMP@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
++RC = @RC@
+ STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+@@ -191,6 +200,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -301,8 +319,7 @@
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+-	    p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
+-	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f"; \
+ 	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f; \
+ 	  else :; fi; \
+@@ -311,14 +328,17 @@
+ uninstall-libexecPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+-	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  f=`echo "$$f" | sed -e 's,^.*/,,'`; \
++	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(libexecdir)/$$f; \
+ 	done
+ 
+ clean-libexecPROGRAMS:
+-	-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
++	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ ftpd$(EXEEXT): $(ftpd_OBJECTS) $(ftpd_DEPENDENCIES) 
+ 	@rm -f ftpd$(EXEEXT)
+ 	$(LINK) $(ftpd_LDFLAGS) $(ftpd_OBJECTS) $(ftpd_LDADD) $(LIBS)
+@@ -383,6 +403,10 @@
+ 	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
+ 	  else file=$$i; fi; \
+ 	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
++	  case "$$ext" in \
++	    5*) ;; \
++	    *) ext='5' ;; \
++	  esac; \
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+@@ -422,6 +446,10 @@
+ 	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
+ 	  else file=$$i; fi; \
+ 	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
++	  case "$$ext" in \
++	    8*) ;; \
++	    *) ext='8' ;; \
++	  esac; \
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+@@ -487,7 +515,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -538,11 +566,12 @@
+ 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+ 	@echo "it deletes files that may require special tools to rebuild."
++	-test -z "ftpcmd.c" || rm -f ftpcmd.c
+ clean: clean-am
+ 
+ clean-am: clean-generic clean-libexecPROGRAMS clean-libtool \
+diff -ruN heimdal-0.6-old/appl/ftp/Makefile.in heimdal-0.6/appl/ftp/Makefile.in
+--- heimdal-0.6-old/appl/ftp/Makefile.in	2003-05-12 17:27:35.000000000 +0200
++++ heimdal-0.6/appl/ftp/Makefile.in	2003-09-15 17:09:44.000000000 +0200
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -72,6 +73,7 @@
+ PATH_SEPARATOR = @PATH_SEPARATOR@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+ AMTAR = @AMTAR@
++AR = @AR@
+ AS = @AS@
+ AWK = @AWK@
+ CANONICAL_HOST = @CANONICAL_HOST@
+@@ -80,16 +82,23 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
++CXX = @CXX@
++CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
++EGREP = @EGREP@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++F77 = @F77@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,7 +118,6 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+@@ -121,6 +129,7 @@
+ OBJDUMP = @OBJDUMP@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
++RC = @RC@
+ STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+@@ -191,6 +200,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -346,7 +364,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -408,7 +426,7 @@
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.6-old/appl/kf/Makefile.in heimdal-0.6/appl/kf/Makefile.in
+--- heimdal-0.6-old/appl/kf/Makefile.in	2003-05-12 17:27:37.000000000 +0200
++++ heimdal-0.6/appl/kf/Makefile.in	2003-09-15 17:09:46.000000000 +0200
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -72,6 +73,7 @@
+ PATH_SEPARATOR = @PATH_SEPARATOR@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+ AMTAR = @AMTAR@
++AR = @AR@
+ AS = @AS@
+ AWK = @AWK@
+ CANONICAL_HOST = @CANONICAL_HOST@
+@@ -80,16 +82,23 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
++CXX = @CXX@
++CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
++EGREP = @EGREP@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++F77 = @F77@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,7 +118,6 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+@@ -121,6 +129,7 @@
+ OBJDUMP = @OBJDUMP@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
++RC = @RC@
+ STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+@@ -191,6 +200,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -276,8 +294,7 @@
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+-	    p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
+-	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
+ 	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+@@ -286,14 +303,17 @@
+ uninstall-binPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  f=`echo "$$f" | sed -e 's,^.*/,,'`; \
++	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+ clean-binPROGRAMS:
+-	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
++	@list='$(bin_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ install-libexecPROGRAMS: $(libexec_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+@@ -303,8 +323,7 @@
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+-	    p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
+-	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f"; \
+ 	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f; \
+ 	  else :; fi; \
+@@ -313,14 +332,17 @@
+ uninstall-libexecPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+-	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  f=`echo "$$f" | sed -e 's,^.*/,,'`; \
++	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(libexecdir)/$$f; \
+ 	done
+ 
+ clean-libexecPROGRAMS:
+-	-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
++	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ kf$(EXEEXT): $(kf_OBJECTS) $(kf_DEPENDENCIES) 
+ 	@rm -f kf$(EXEEXT)
+ 	$(LINK) $(kf_LDFLAGS) $(kf_OBJECTS) $(kf_LDADD) $(LIBS)
+@@ -368,6 +390,10 @@
+ 	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
+ 	  else file=$$i; fi; \
+ 	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
++	  case "$$ext" in \
++	    1*) ;; \
++	    *) ext='1' ;; \
++	  esac; \
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+@@ -407,6 +433,10 @@
+ 	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
+ 	  else file=$$i; fi; \
+ 	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
++	  case "$$ext" in \
++	    8*) ;; \
++	    *) ext='8' ;; \
++	  esac; \
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+@@ -472,7 +502,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -522,7 +552,7 @@
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.6-old/appl/kx/Makefile.in heimdal-0.6/appl/kx/Makefile.in
+--- heimdal-0.6-old/appl/kx/Makefile.in	2003-05-12 17:27:37.000000000 +0200
++++ heimdal-0.6/appl/kx/Makefile.in	2003-09-15 17:09:46.000000000 +0200
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -72,6 +73,7 @@
+ PATH_SEPARATOR = @PATH_SEPARATOR@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+ AMTAR = @AMTAR@
++AR = @AR@
+ AS = @AS@
+ AWK = @AWK@
+ CANONICAL_HOST = @CANONICAL_HOST@
+@@ -80,16 +82,23 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
++CXX = @CXX@
++CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
++EGREP = @EGREP@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++F77 = @F77@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,7 +118,6 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+@@ -121,6 +129,7 @@
+ OBJDUMP = @OBJDUMP@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
++RC = @RC@
+ STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+@@ -192,6 +201,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -260,9 +278,9 @@
+ @HAVE_X_FALSE@libexec_PROGRAMS =
+ PROGRAMS = $(bin_PROGRAMS) $(libexec_PROGRAMS)
+ 
+-@NEED_WRITEAUTH_TRUE@am__objects_3 = writeauth.$(OBJEXT)
++@NEED_WRITEAUTH_TRUE@am__objects_1 = writeauth.$(OBJEXT)
+ am_kx_OBJECTS = kx.$(OBJEXT) common.$(OBJEXT) context.$(OBJEXT) \
+-	krb4.$(OBJEXT) krb5.$(OBJEXT) $(am__objects_3)
++	krb4.$(OBJEXT) krb5.$(OBJEXT) $(am__objects_1)
+ kx_OBJECTS = $(am_kx_OBJECTS)
+ kx_LDADD = $(LDADD)
+ @KRB5_TRUE@kx_DEPENDENCIES = $(top_builddir)/lib/kafs/libkafs.la \
+@@ -271,7 +289,7 @@
+ @KRB5_FALSE@kx_DEPENDENCIES = $(top_builddir)/lib/kafs/libkafs.la
+ kx_LDFLAGS =
+ am_kxd_OBJECTS = kxd.$(OBJEXT) common.$(OBJEXT) context.$(OBJEXT) \
+-	krb4.$(OBJEXT) krb5.$(OBJEXT) $(am__objects_3)
++	krb4.$(OBJEXT) krb5.$(OBJEXT) $(am__objects_1)
+ kxd_OBJECTS = $(am_kxd_OBJECTS)
+ kxd_LDADD = $(LDADD)
+ @KRB5_TRUE@kxd_DEPENDENCIES = $(top_builddir)/lib/kafs/libkafs.la \
+@@ -321,8 +339,7 @@
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+-	    p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
+-	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
+ 	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+@@ -331,14 +348,17 @@
+ uninstall-binPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  f=`echo "$$f" | sed -e 's,^.*/,,'`; \
++	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+ clean-binPROGRAMS:
+-	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
++	@list='$(bin_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ install-libexecPROGRAMS: $(libexec_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+@@ -348,8 +368,7 @@
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+-	    p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
+-	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f"; \
+ 	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f; \
+ 	  else :; fi; \
+@@ -358,38 +377,40 @@
+ uninstall-libexecPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+-	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  f=`echo "$$f" | sed -e 's,^.*/,,'`; \
++	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(libexecdir)/$$f; \
+ 	done
+ 
+ clean-libexecPROGRAMS:
+-	-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
++	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ kx$(EXEEXT): $(kx_OBJECTS) $(kx_DEPENDENCIES) 
+ 	@rm -f kx$(EXEEXT)
+ 	$(LINK) $(kx_LDFLAGS) $(kx_OBJECTS) $(kx_LDADD) $(LIBS)
+ kxd$(EXEEXT): $(kxd_OBJECTS) $(kxd_DEPENDENCIES) 
+ 	@rm -f kxd$(EXEEXT)
+ 	$(LINK) $(kxd_LDFLAGS) $(kxd_OBJECTS) $(kxd_LDADD) $(LIBS)
++binSCRIPT_INSTALL = $(INSTALL_SCRIPT)
+ install-binSCRIPTS: $(bin_SCRIPTS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(bindir)
+ 	@list='$(bin_SCRIPTS)'; for p in $$list; do \
+-	  f="`echo $$p|sed '$(transform)'`"; \
+-	  if test -f $$p; then \
+-	    echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/$$f"; \
+-	    $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/$$f; \
+-	  elif test -f $(srcdir)/$$p; then \
+-	    echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/$$f"; \
+-	    $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/$$f; \
++	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
++	  if test -f $$d$$p; then \
++	    f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
++	    echo " $(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f"; \
++	    $(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-binSCRIPTS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_SCRIPTS)'; for p in $$list; do \
+-	  f="`echo $$p|sed '$(transform)'`"; \
++	  f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+@@ -434,6 +455,10 @@
+ 	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
+ 	  else file=$$i; fi; \
+ 	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
++	  case "$$ext" in \
++	    1*) ;; \
++	    *) ext='1' ;; \
++	  esac; \
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+@@ -473,6 +498,10 @@
+ 	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
+ 	  else file=$$i; fi; \
+ 	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
++	  case "$$ext" in \
++	    8*) ;; \
++	    *) ext='8' ;; \
++	  esac; \
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+@@ -538,7 +567,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -589,7 +618,7 @@
+ 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.6-old/appl/login/Makefile.in heimdal-0.6/appl/login/Makefile.in
+--- heimdal-0.6-old/appl/login/Makefile.in	2003-05-12 17:27:38.000000000 +0200
++++ heimdal-0.6/appl/login/Makefile.in	2003-09-15 17:09:47.000000000 +0200
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -72,6 +73,7 @@
+ PATH_SEPARATOR = @PATH_SEPARATOR@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+ AMTAR = @AMTAR@
++AR = @AR@
+ AS = @AS@
+ AWK = @AWK@
+ CANONICAL_HOST = @CANONICAL_HOST@
+@@ -80,16 +82,23 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
++CXX = @CXX@
++CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
++EGREP = @EGREP@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++F77 = @F77@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,7 +118,6 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+@@ -121,6 +129,7 @@
+ OBJDUMP = @OBJDUMP@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
++RC = @RC@
+ STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+@@ -191,6 +200,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -288,8 +306,7 @@
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+-	    p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
+-	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
+ 	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+@@ -298,14 +315,17 @@
+ uninstall-binPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  f=`echo "$$f" | sed -e 's,^.*/,,'`; \
++	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+ clean-binPROGRAMS:
+-	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
++	@list='$(bin_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ login$(EXEEXT): $(login_OBJECTS) $(login_DEPENDENCIES) 
+ 	@rm -f login$(EXEEXT)
+ 	$(LINK) $(login_LDFLAGS) $(login_OBJECTS) $(login_LDADD) $(LIBS)
+@@ -350,6 +370,10 @@
+ 	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
+ 	  else file=$$i; fi; \
+ 	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
++	  case "$$ext" in \
++	    1*) ;; \
++	    *) ext='1' ;; \
++	  esac; \
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+@@ -389,6 +413,10 @@
+ 	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
+ 	  else file=$$i; fi; \
+ 	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
++	  case "$$ext" in \
++	    5*) ;; \
++	    *) ext='5' ;; \
++	  esac; \
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+@@ -454,7 +482,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -504,7 +532,7 @@
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.6-old/appl/Makefile.in heimdal-0.6/appl/Makefile.in
+--- heimdal-0.6-old/appl/Makefile.in	2003-05-12 17:27:34.000000000 +0200
++++ heimdal-0.6/appl/Makefile.in	2003-09-15 17:09:44.000000000 +0200
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -72,6 +73,7 @@
+ PATH_SEPARATOR = @PATH_SEPARATOR@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+ AMTAR = @AMTAR@
++AR = @AR@
+ AS = @AS@
+ AWK = @AWK@
+ CANONICAL_HOST = @CANONICAL_HOST@
+@@ -80,16 +82,23 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
++CXX = @CXX@
++CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
++EGREP = @EGREP@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++F77 = @F77@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,7 +118,6 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+@@ -121,6 +129,7 @@
+ OBJDUMP = @OBJDUMP@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
++RC = @RC@
+ STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+@@ -191,6 +200,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -365,7 +383,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -427,7 +445,7 @@
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.6-old/appl/otp/Makefile.in heimdal-0.6/appl/otp/Makefile.in
+--- heimdal-0.6-old/appl/otp/Makefile.in	2003-05-12 17:27:38.000000000 +0200
++++ heimdal-0.6/appl/otp/Makefile.in	2003-09-15 17:09:47.000000000 +0200
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -72,6 +73,7 @@
+ PATH_SEPARATOR = @PATH_SEPARATOR@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+ AMTAR = @AMTAR@
++AR = @AR@
+ AS = @AS@
+ AWK = @AWK@
+ CANONICAL_HOST = @CANONICAL_HOST@
+@@ -80,16 +82,23 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
++CXX = @CXX@
++CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
++EGREP = @EGREP@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++F77 = @F77@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,7 +118,6 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+@@ -121,6 +129,7 @@
+ OBJDUMP = @OBJDUMP@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
++RC = @RC@
+ STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+@@ -191,6 +200,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -210,7 +228,7 @@
+ man_MANS = otp.1  otpprint.1
+ 
+ LDADD = \
+-	$(top_builddir)/lib/otp/libotp.la
++	$(LIB_otp)
+ 
+ subdir = appl/otp
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+@@ -222,12 +240,12 @@
+ am_otp_OBJECTS = otp.$(OBJEXT)
+ otp_OBJECTS = $(am_otp_OBJECTS)
+ otp_LDADD = $(LDADD)
+-otp_DEPENDENCIES = $(top_builddir)/lib/otp/libotp.la
++otp_DEPENDENCIES =
+ otp_LDFLAGS =
+ am_otpprint_OBJECTS = otpprint.$(OBJEXT)
+ otpprint_OBJECTS = $(am_otpprint_OBJECTS)
+ otpprint_LDADD = $(LDADD)
+-otpprint_DEPENDENCIES = $(top_builddir)/lib/otp/libotp.la
++otpprint_DEPENDENCIES =
+ otpprint_LDFLAGS =
+ 
+ DEFS = @DEFS@
+@@ -268,8 +286,7 @@
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+-	    p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
+-	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
+ 	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+@@ -278,14 +295,17 @@
+ uninstall-binPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  f=`echo "$$f" | sed -e 's,^.*/,,'`; \
++	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+ clean-binPROGRAMS:
+-	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
++	@list='$(bin_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ otp$(EXEEXT): $(otp_OBJECTS) $(otp_DEPENDENCIES) 
+ 	@rm -f otp$(EXEEXT)
+ 	$(LINK) $(otp_LDFLAGS) $(otp_OBJECTS) $(otp_LDADD) $(LIBS)
+@@ -333,6 +353,10 @@
+ 	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
+ 	  else file=$$i; fi; \
+ 	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
++	  case "$$ext" in \
++	    1*) ;; \
++	    *) ext='1' ;; \
++	  esac; \
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+@@ -398,7 +422,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -448,7 +472,7 @@
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.6-old/appl/popper/Makefile.in heimdal-0.6/appl/popper/Makefile.in
+--- heimdal-0.6-old/appl/popper/Makefile.in	2003-05-12 17:27:38.000000000 +0200
++++ heimdal-0.6/appl/popper/Makefile.in	2003-09-15 17:09:47.000000000 +0200
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -72,6 +73,7 @@
+ PATH_SEPARATOR = @PATH_SEPARATOR@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+ AMTAR = @AMTAR@
++AR = @AR@
+ AS = @AS@
+ AWK = @AWK@
+ CANONICAL_HOST = @CANONICAL_HOST@
+@@ -80,16 +82,23 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
++CXX = @CXX@
++CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
++EGREP = @EGREP@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++F77 = @F77@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,7 +118,6 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+@@ -121,6 +129,7 @@
+ OBJDUMP = @OBJDUMP@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
++RC = @RC@
+ STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+@@ -191,6 +200,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -298,8 +316,7 @@
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+-	    p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
+-	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f"; \
+ 	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f; \
+ 	  else :; fi; \
+@@ -308,17 +325,24 @@
+ uninstall-libexecPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+-	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  f=`echo "$$f" | sed -e 's,^.*/,,'`; \
++	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(libexecdir)/$$f; \
+ 	done
+ 
+ clean-libexecPROGRAMS:
+-	-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
++	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ 
+ clean-noinstPROGRAMS:
+-	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
++	@list='$(noinst_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ pop_debug$(EXEEXT): $(pop_debug_OBJECTS) $(pop_debug_DEPENDENCIES) 
+ 	@rm -f pop_debug$(EXEEXT)
+ 	$(LINK) $(pop_debug_LDFLAGS) $(pop_debug_OBJECTS) $(pop_debug_LDADD) $(LIBS)
+@@ -366,6 +390,10 @@
+ 	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
+ 	  else file=$$i; fi; \
+ 	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
++	  case "$$ext" in \
++	    8*) ;; \
++	    *) ext='8' ;; \
++	  esac; \
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+@@ -431,7 +459,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -481,7 +509,7 @@
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.6-old/appl/push/Makefile.in heimdal-0.6/appl/push/Makefile.in
+--- heimdal-0.6-old/appl/push/Makefile.in	2003-05-12 17:27:39.000000000 +0200
++++ heimdal-0.6/appl/push/Makefile.in	2003-09-15 17:09:47.000000000 +0200
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -72,6 +73,7 @@
+ PATH_SEPARATOR = @PATH_SEPARATOR@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+ AMTAR = @AMTAR@
++AR = @AR@
+ AS = @AS@
+ AWK = @AWK@
+ CANONICAL_HOST = @CANONICAL_HOST@
+@@ -80,16 +82,23 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
++CXX = @CXX@
++CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
++EGREP = @EGREP@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++F77 = @F77@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,7 +118,6 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+@@ -121,6 +129,7 @@
+ OBJDUMP = @OBJDUMP@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
++RC = @RC@
+ STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+@@ -191,6 +200,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -275,8 +293,7 @@
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+-	    p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
+-	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f"; \
+ 	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f; \
+ 	  else :; fi; \
+@@ -285,35 +302,37 @@
+ uninstall-libexecPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+-	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  f=`echo "$$f" | sed -e 's,^.*/,,'`; \
++	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(libexecdir)/$$f; \
+ 	done
+ 
+ clean-libexecPROGRAMS:
+-	-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
++	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ push$(EXEEXT): $(push_OBJECTS) $(push_DEPENDENCIES) 
+ 	@rm -f push$(EXEEXT)
+ 	$(LINK) $(push_LDFLAGS) $(push_OBJECTS) $(push_LDADD) $(LIBS)
++binSCRIPT_INSTALL = $(INSTALL_SCRIPT)
+ install-binSCRIPTS: $(bin_SCRIPTS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(bindir)
+ 	@list='$(bin_SCRIPTS)'; for p in $$list; do \
+-	  f="`echo $$p|sed '$(transform)'`"; \
+-	  if test -f $$p; then \
+-	    echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/$$f"; \
+-	    $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/$$f; \
+-	  elif test -f $(srcdir)/$$p; then \
+-	    echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/$$f"; \
+-	    $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/$$f; \
++	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
++	  if test -f $$d$$p; then \
++	    f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
++	    echo " $(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f"; \
++	    $(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-binSCRIPTS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_SCRIPTS)'; for p in $$list; do \
+-	  f="`echo $$p|sed '$(transform)'`"; \
++	  f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+@@ -358,6 +377,10 @@
+ 	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
+ 	  else file=$$i; fi; \
+ 	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
++	  case "$$ext" in \
++	    1*) ;; \
++	    *) ext='1' ;; \
++	  esac; \
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+@@ -397,6 +420,10 @@
+ 	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
+ 	  else file=$$i; fi; \
+ 	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
++	  case "$$ext" in \
++	    8*) ;; \
++	    *) ext='8' ;; \
++	  esac; \
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+@@ -462,7 +489,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -513,7 +540,7 @@
+ 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.6-old/appl/rcp/Makefile.in heimdal-0.6/appl/rcp/Makefile.in
+--- heimdal-0.6-old/appl/rcp/Makefile.in	2003-05-12 17:27:39.000000000 +0200
++++ heimdal-0.6/appl/rcp/Makefile.in	2003-09-15 17:09:48.000000000 +0200
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -72,6 +73,7 @@
+ PATH_SEPARATOR = @PATH_SEPARATOR@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+ AMTAR = @AMTAR@
++AR = @AR@
+ AS = @AS@
+ AWK = @AWK@
+ CANONICAL_HOST = @CANONICAL_HOST@
+@@ -80,16 +82,23 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
++CXX = @CXX@
++CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
++EGREP = @EGREP@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++F77 = @F77@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,7 +118,6 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+@@ -121,6 +129,7 @@
+ OBJDUMP = @OBJDUMP@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
++RC = @RC@
+ STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+@@ -191,6 +200,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -257,8 +275,7 @@
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+-	    p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
+-	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
+ 	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+@@ -267,14 +284,17 @@
+ uninstall-binPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  f=`echo "$$f" | sed -e 's,^.*/,,'`; \
++	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+ clean-binPROGRAMS:
+-	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
++	@list='$(bin_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ rcp$(EXEEXT): $(rcp_OBJECTS) $(rcp_DEPENDENCIES) 
+ 	@rm -f rcp$(EXEEXT)
+ 	$(LINK) $(rcp_LDFLAGS) $(rcp_OBJECTS) $(rcp_LDADD) $(LIBS)
+@@ -345,7 +365,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -395,7 +415,7 @@
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.6-old/appl/rsh/Makefile.in heimdal-0.6/appl/rsh/Makefile.in
+--- heimdal-0.6-old/appl/rsh/Makefile.in	2003-05-12 17:27:39.000000000 +0200
++++ heimdal-0.6/appl/rsh/Makefile.in	2003-09-15 17:09:48.000000000 +0200
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -72,6 +73,7 @@
+ PATH_SEPARATOR = @PATH_SEPARATOR@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+ AMTAR = @AMTAR@
++AR = @AR@
+ AS = @AS@
+ AWK = @AWK@
+ CANONICAL_HOST = @CANONICAL_HOST@
+@@ -80,16 +82,23 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
++CXX = @CXX@
++CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
++EGREP = @EGREP@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++F77 = @F77@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,7 +118,6 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+@@ -121,6 +129,7 @@
+ OBJDUMP = @OBJDUMP@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
++RC = @RC@
+ STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+@@ -191,6 +200,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -302,8 +320,7 @@
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+-	    p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
+-	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
+ 	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+@@ -312,14 +329,17 @@
+ uninstall-binPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  f=`echo "$$f" | sed -e 's,^.*/,,'`; \
++	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+ clean-binPROGRAMS:
+-	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
++	@list='$(bin_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ install-libexecPROGRAMS: $(libexec_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+@@ -329,8 +349,7 @@
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+-	    p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
+-	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f"; \
+ 	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f; \
+ 	  else :; fi; \
+@@ -339,14 +358,17 @@
+ uninstall-libexecPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+-	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  f=`echo "$$f" | sed -e 's,^.*/,,'`; \
++	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(libexecdir)/$$f; \
+ 	done
+ 
+ clean-libexecPROGRAMS:
+-	-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
++	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ rsh$(EXEEXT): $(rsh_OBJECTS) $(rsh_DEPENDENCIES) 
+ 	@rm -f rsh$(EXEEXT)
+ 	$(LINK) $(rsh_LDFLAGS) $(rsh_OBJECTS) $(rsh_LDADD) $(LIBS)
+@@ -394,6 +416,10 @@
+ 	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
+ 	  else file=$$i; fi; \
+ 	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
++	  case "$$ext" in \
++	    1*) ;; \
++	    *) ext='1' ;; \
++	  esac; \
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+@@ -433,6 +459,10 @@
+ 	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
+ 	  else file=$$i; fi; \
+ 	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
++	  case "$$ext" in \
++	    8*) ;; \
++	    *) ext='8' ;; \
++	  esac; \
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+@@ -498,7 +528,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -548,7 +578,7 @@
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.6-old/appl/su/Makefile.in heimdal-0.6/appl/su/Makefile.in
+--- heimdal-0.6-old/appl/su/Makefile.in	2003-05-12 17:27:40.000000000 +0200
++++ heimdal-0.6/appl/su/Makefile.in	2003-09-15 17:09:48.000000000 +0200
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -72,6 +73,7 @@
+ PATH_SEPARATOR = @PATH_SEPARATOR@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+ AMTAR = @AMTAR@
++AR = @AR@
+ AS = @AS@
+ AWK = @AWK@
+ CANONICAL_HOST = @CANONICAL_HOST@
+@@ -80,16 +82,23 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
++CXX = @CXX@
++CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
++EGREP = @EGREP@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++F77 = @F77@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,7 +118,6 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+@@ -121,6 +129,7 @@
+ OBJDUMP = @OBJDUMP@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
++RC = @RC@
+ STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+@@ -191,6 +200,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -265,8 +283,7 @@
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+-	    p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
+-	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
+ 	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+@@ -275,14 +292,17 @@
+ uninstall-binPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  f=`echo "$$f" | sed -e 's,^.*/,,'`; \
++	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+ clean-binPROGRAMS:
+-	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
++	@list='$(bin_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ su$(EXEEXT): $(su_OBJECTS) $(su_DEPENDENCIES) 
+ 	@rm -f su$(EXEEXT)
+ 	$(LINK) $(su_LDFLAGS) $(su_OBJECTS) $(su_LDADD) $(LIBS)
+@@ -353,7 +373,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -403,7 +423,7 @@
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.6-old/appl/telnet/libtelnet/Makefile.in heimdal-0.6/appl/telnet/libtelnet/Makefile.in
+--- heimdal-0.6-old/appl/telnet/libtelnet/Makefile.in	2003-05-12 17:27:40.000000000 +0200
++++ heimdal-0.6/appl/telnet/libtelnet/Makefile.in	2003-09-15 17:09:49.000000000 +0200
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -72,6 +73,7 @@
+ PATH_SEPARATOR = @PATH_SEPARATOR@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+ AMTAR = @AMTAR@
++AR = @AR@
+ AS = @AS@
+ AWK = @AWK@
+ CANONICAL_HOST = @CANONICAL_HOST@
+@@ -80,16 +82,23 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
++CXX = @CXX@
++CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
++EGREP = @EGREP@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++F77 = @F77@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,7 +118,6 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+@@ -121,6 +129,7 @@
+ OBJDUMP = @OBJDUMP@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
++RC = @RC@
+ STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+@@ -191,6 +200,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -263,8 +281,6 @@
+ Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
+ 	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+ 
+-AR = ar
+-
+ clean-noinstLIBRARIES:
+ 	-test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
+ libtelnet.a: $(libtelnet_a_OBJECTS) $(libtelnet_a_DEPENDENCIES) 
+@@ -338,7 +354,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -387,7 +403,7 @@
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.6-old/appl/telnet/Makefile.in heimdal-0.6/appl/telnet/Makefile.in
+--- heimdal-0.6-old/appl/telnet/Makefile.in	2003-05-12 17:27:40.000000000 +0200
++++ heimdal-0.6/appl/telnet/Makefile.in	2003-09-15 17:09:49.000000000 +0200
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -72,6 +73,7 @@
+ PATH_SEPARATOR = @PATH_SEPARATOR@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+ AMTAR = @AMTAR@
++AR = @AR@
+ AS = @AS@
+ AWK = @AWK@
+ CANONICAL_HOST = @CANONICAL_HOST@
+@@ -80,16 +82,23 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
++CXX = @CXX@
++CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
++EGREP = @EGREP@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++F77 = @F77@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,7 +118,6 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+@@ -121,6 +129,7 @@
+ OBJDUMP = @OBJDUMP@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
++RC = @RC@
+ STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+@@ -191,6 +200,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -348,7 +366,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -410,7 +428,7 @@
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.6-old/appl/telnet/telnet/Makefile.in heimdal-0.6/appl/telnet/telnet/Makefile.in
+--- heimdal-0.6-old/appl/telnet/telnet/Makefile.in	2003-05-12 17:27:41.000000000 +0200
++++ heimdal-0.6/appl/telnet/telnet/Makefile.in	2003-09-15 17:09:49.000000000 +0200
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -72,6 +73,7 @@
+ PATH_SEPARATOR = @PATH_SEPARATOR@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+ AMTAR = @AMTAR@
++AR = @AR@
+ AS = @AS@
+ AWK = @AWK@
+ CANONICAL_HOST = @CANONICAL_HOST@
+@@ -80,16 +82,23 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
++CXX = @CXX@
++CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
++EGREP = @EGREP@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++F77 = @F77@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,7 +118,6 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+@@ -121,6 +129,7 @@
+ OBJDUMP = @OBJDUMP@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
++RC = @RC@
+ STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+@@ -191,6 +200,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -283,8 +301,7 @@
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+-	    p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
+-	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
+ 	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+@@ -293,14 +310,17 @@
+ uninstall-binPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  f=`echo "$$f" | sed -e 's,^.*/,,'`; \
++	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+ clean-binPROGRAMS:
+-	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
++	@list='$(bin_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ telnet$(EXEEXT): $(telnet_OBJECTS) $(telnet_DEPENDENCIES) 
+ 	@rm -f telnet$(EXEEXT)
+ 	$(LINK) $(telnet_LDFLAGS) $(telnet_OBJECTS) $(telnet_LDADD) $(LIBS)
+@@ -345,6 +365,10 @@
+ 	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
+ 	  else file=$$i; fi; \
+ 	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
++	  case "$$ext" in \
++	    1*) ;; \
++	    *) ext='1' ;; \
++	  esac; \
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+@@ -410,7 +434,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -460,7 +484,7 @@
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.6-old/appl/telnet/telnetd/Makefile.in heimdal-0.6/appl/telnet/telnetd/Makefile.in
+--- heimdal-0.6-old/appl/telnet/telnetd/Makefile.in	2003-05-12 17:27:41.000000000 +0200
++++ heimdal-0.6/appl/telnet/telnetd/Makefile.in	2003-09-15 17:09:50.000000000 +0200
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -72,6 +73,7 @@
+ PATH_SEPARATOR = @PATH_SEPARATOR@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+ AMTAR = @AMTAR@
++AR = @AR@
+ AS = @AS@
+ AWK = @AWK@
+ CANONICAL_HOST = @CANONICAL_HOST@
+@@ -80,16 +82,23 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
++CXX = @CXX@
++CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
++EGREP = @EGREP@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++F77 = @F77@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,7 +118,6 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+@@ -121,6 +129,7 @@
+ OBJDUMP = @OBJDUMP@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
++RC = @RC@
+ STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+@@ -191,6 +200,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -286,8 +304,7 @@
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+-	    p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
+-	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f"; \
+ 	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f; \
+ 	  else :; fi; \
+@@ -296,14 +313,17 @@
+ uninstall-libexecPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+-	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  f=`echo "$$f" | sed -e 's,^.*/,,'`; \
++	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(libexecdir)/$$f; \
+ 	done
+ 
+ clean-libexecPROGRAMS:
+-	-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
++	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ telnetd$(EXEEXT): $(telnetd_OBJECTS) $(telnetd_DEPENDENCIES) 
+ 	@rm -f telnetd$(EXEEXT)
+ 	$(LINK) $(telnetd_LDFLAGS) $(telnetd_OBJECTS) $(telnetd_LDADD) $(LIBS)
+@@ -348,6 +368,10 @@
+ 	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
+ 	  else file=$$i; fi; \
+ 	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
++	  case "$$ext" in \
++	    8*) ;; \
++	    *) ext='8' ;; \
++	  esac; \
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+@@ -413,7 +437,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -463,7 +487,7 @@
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.6-old/appl/test/Makefile.in heimdal-0.6/appl/test/Makefile.in
+--- heimdal-0.6-old/appl/test/Makefile.in	2003-05-12 17:27:41.000000000 +0200
++++ heimdal-0.6/appl/test/Makefile.in	2003-09-15 17:09:50.000000000 +0200
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -72,6 +73,7 @@
+ PATH_SEPARATOR = @PATH_SEPARATOR@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+ AMTAR = @AMTAR@
++AR = @AR@
+ AS = @AS@
+ AWK = @AWK@
+ CANONICAL_HOST = @CANONICAL_HOST@
+@@ -80,16 +82,23 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
++CXX = @CXX@
++CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
++EGREP = @EGREP@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++F77 = @F77@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,7 +118,6 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+@@ -121,6 +129,7 @@
+ OBJDUMP = @OBJDUMP@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
++RC = @RC@
+ STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+@@ -191,6 +200,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -335,7 +353,11 @@
+ 	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+ 
+ clean-noinstPROGRAMS:
+-	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
++	@list='$(noinst_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ gssapi_client$(EXEEXT): $(gssapi_client_OBJECTS) $(gssapi_client_DEPENDENCIES) 
+ 	@rm -f gssapi_client$(EXEEXT)
+ 	$(LINK) $(gssapi_client_LDFLAGS) $(gssapi_client_OBJECTS) $(gssapi_client_LDADD) $(LIBS)
+@@ -427,7 +449,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -476,7 +498,7 @@
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.6-old/appl/xnlock/Makefile.in heimdal-0.6/appl/xnlock/Makefile.in
+--- heimdal-0.6-old/appl/xnlock/Makefile.in	2003-05-12 17:27:42.000000000 +0200
++++ heimdal-0.6/appl/xnlock/Makefile.in	2003-09-15 17:09:50.000000000 +0200
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -72,6 +73,7 @@
+ PATH_SEPARATOR = @PATH_SEPARATOR@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+ AMTAR = @AMTAR@
++AR = @AR@
+ AS = @AS@
+ AWK = @AWK@
+ CANONICAL_HOST = @CANONICAL_HOST@
+@@ -80,16 +82,23 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
++CXX = @CXX@
++CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
++EGREP = @EGREP@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++F77 = @F77@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,7 +118,6 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+@@ -121,6 +129,7 @@
+ OBJDUMP = @OBJDUMP@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
++RC = @RC@
+ STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+@@ -192,6 +201,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -277,8 +295,7 @@
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+-	    p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
+-	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
+ 	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+@@ -287,14 +304,17 @@
+ uninstall-binPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  f=`echo "$$f" | sed -e 's,^.*/,,'`; \
++	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+ clean-binPROGRAMS:
+-	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
++	@list='$(bin_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ xnlock$(EXEEXT): $(xnlock_OBJECTS) $(xnlock_DEPENDENCIES) 
+ 	@rm -f xnlock$(EXEEXT)
+ 	$(LINK) $(xnlock_LDFLAGS) $(xnlock_OBJECTS) $(xnlock_LDADD) $(LIBS)
+@@ -339,6 +359,10 @@
+ 	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
+ 	  else file=$$i; fi; \
+ 	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
++	  case "$$ext" in \
++	    1*) ;; \
++	    *) ext='1' ;; \
++	  esac; \
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+@@ -404,7 +428,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -454,7 +478,7 @@
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.6-old/autom4te.cache/output.0 heimdal-0.6/autom4te.cache/output.0
+--- heimdal-0.6-old/autom4te.cache/output.0	1970-01-01 01:00:00.000000000 +0100
++++ heimdal-0.6/autom4te.cache/output.0	2003-09-15 17:09:03.000000000 +0200
+@@ -0,0 +1,50994 @@
++@%:@! /bin/sh
++@%:@ From configure.in Revision: 1.331.2.2 .
++@%:@ Guess values for system-dependent variables and create Makefiles.
++@%:@ Generated by GNU Autoconf 2.57 for Heimdal 0.6.
++@%:@
++@%:@ Report bugs to <heimdal-bugs@pdc.kth.se>.
++@%:@ 
++@%:@ Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
++@%:@ Free Software Foundation, Inc.
++@%:@ This configure script is free software; the Free Software Foundation
++@%:@ gives unlimited permission to copy, distribute and modify it.
++## --------------------- ##
++## M4sh Initialization.  ##
++## --------------------- ##
++
++# Be Bourne compatible
++if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
++  emulate sh
++  NULLCMD=:
++  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
++  # is contrary to our usage.  Disable this feature.
++  alias -g '${1+"$@"}'='"$@"'
++elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
++  set -o posix
++fi
++
++# Support unset when possible.
++if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
++  as_unset=unset
++else
++  as_unset=false
++fi
++
++
++# Work around bugs in pre-3.0 UWIN ksh.
++$as_unset ENV MAIL MAILPATH
++PS1='$ '
++PS2='> '
++PS4='+ '
++
++# NLS nuisances.
++for as_var in \
++  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
++  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
++  LC_TELEPHONE LC_TIME
++do
++  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
++    eval $as_var=C; export $as_var
++  else
++    $as_unset $as_var
++  fi
++done
++
++# Required to use basename.
++if expr a : '\(a\)' >/dev/null 2>&1; then
++  as_expr=expr
++else
++  as_expr=false
++fi
++
++if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
++  as_basename=basename
++else
++  as_basename=false
++fi
++
++
++# Name of the executable.
++as_me=`$as_basename "$0" ||
++$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
++	 X"$0" : 'X\(//\)$' \| \
++	 X"$0" : 'X\(/\)$' \| \
++	 .     : '\(.\)' 2>/dev/null ||
++echo X/"$0" |
++    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
++  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
++  	  /^X\/\(\/\).*/{ s//\1/; q; }
++  	  s/.*/./; q'`
++
++
++# PATH needs CR, and LINENO needs CR and PATH.
++# Avoid depending upon Character Ranges.
++as_cr_letters='abcdefghijklmnopqrstuvwxyz'
++as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
++as_cr_Letters=$as_cr_letters$as_cr_LETTERS
++as_cr_digits='0123456789'
++as_cr_alnum=$as_cr_Letters$as_cr_digits
++
++# The user is always right.
++if test "${PATH_SEPARATOR+set}" != set; then
++  echo "#! /bin/sh" >conf$$.sh
++  echo  "exit 0"   >>conf$$.sh
++  chmod +x conf$$.sh
++  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
++    PATH_SEPARATOR=';'
++  else
++    PATH_SEPARATOR=:
++  fi
++  rm -f conf$$.sh
++fi
++
++
++  as_lineno_1=$LINENO
++  as_lineno_2=$LINENO
++  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
++  test "x$as_lineno_1" != "x$as_lineno_2" &&
++  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
++  # Find who we are.  Look in the path if we contain no path at all
++  # relative or not.
++  case $0 in
++    *[\\/]* ) as_myself=$0 ;;
++    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
++done
++
++       ;;
++  esac
++  # We did not find ourselves, most probably we were run as `sh COMMAND'
++  # in which case we are not to be found in the path.
++  if test "x$as_myself" = x; then
++    as_myself=$0
++  fi
++  if test ! -f "$as_myself"; then
++    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
++   { (exit 1); exit 1; }; }
++  fi
++  case $CONFIG_SHELL in
++  '')
++    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for as_base in sh bash ksh sh5; do
++	 case $as_dir in
++	 /*)
++	   if ("$as_dir/$as_base" -c '
++  as_lineno_1=$LINENO
++  as_lineno_2=$LINENO
++  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
++  test "x$as_lineno_1" != "x$as_lineno_2" &&
++  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
++	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
++	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
++	     CONFIG_SHELL=$as_dir/$as_base
++	     export CONFIG_SHELL
++	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
++	   fi;;
++	 esac
++       done
++done
++;;
++  esac
++
++  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
++  # uniformly replaced by the line number.  The first 'sed' inserts a
++  # line-number line before each line; the second 'sed' does the real
++  # work.  The second script uses 'N' to pair each line-number line
++  # with the numbered line, and appends trailing '-' during
++  # substitution so that $LINENO is not a special case at line end.
++  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
++  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
++  sed '=' <$as_myself |
++    sed '
++      N
++      s,$,-,
++      : loop
++      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
++      t loop
++      s,-$,,
++      s,^['$as_cr_digits']*\n,,
++    ' >$as_me.lineno &&
++  chmod +x $as_me.lineno ||
++    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
++   { (exit 1); exit 1; }; }
++
++  # Don't try to exec as it changes $[0], causing all sort of problems
++  # (the dirname of $[0] is not the place where we might find the
++  # original and so on.  Autoconf is especially sensible to this).
++  . ./$as_me.lineno
++  # Exit status is that of the last command.
++  exit
++}
++
++
++case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
++  *c*,-n*) ECHO_N= ECHO_C='
++' ECHO_T='	' ;;
++  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
++  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
++esac
++
++if expr a : '\(a\)' >/dev/null 2>&1; then
++  as_expr=expr
++else
++  as_expr=false
++fi
++
++rm -f conf$$ conf$$.exe conf$$.file
++echo >conf$$.file
++if ln -s conf$$.file conf$$ 2>/dev/null; then
++  # We could just check for DJGPP; but this test a) works b) is more generic
++  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
++  if test -f conf$$.exe; then
++    # Don't use ln at all; we don't have any links
++    as_ln_s='cp -p'
++  else
++    as_ln_s='ln -s'
++  fi
++elif ln conf$$.file conf$$ 2>/dev/null; then
++  as_ln_s=ln
++else
++  as_ln_s='cp -p'
++fi
++rm -f conf$$ conf$$.exe conf$$.file
++
++if mkdir -p . 2>/dev/null; then
++  as_mkdir_p=:
++else
++  as_mkdir_p=false
++fi
++
++as_executable_p="test -f"
++
++# Sed expression to map a string onto a valid CPP name.
++as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
++
++# Sed expression to map a string onto a valid variable name.
++as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
++
++
++# IFS
++# We need space, tab and new line, in precisely that order.
++as_nl='
++'
++IFS=" 	$as_nl"
++
++# CDPATH.
++$as_unset CDPATH
++
++
++
++# Check that we are running under the correct shell.
++SHELL=${CONFIG_SHELL-/bin/sh}
++
++case X$ECHO in
++X*--fallback-echo)
++  # Remove one level of quotation (which was required for Make).
++  ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
++  ;;
++esac
++
++echo=${ECHO-echo}
++if test "X$1" = X--no-reexec; then
++  # Discard the --no-reexec flag, and continue.
++  shift
++elif test "X$1" = X--fallback-echo; then
++  # Avoid inline document here, it may be left over
++  :
++elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
++  # Yippee, $echo works!
++  :
++else
++  # Restart under the correct shell.
++  exec $SHELL "$0" --no-reexec ${1+"$@"}
++fi
++
++if test "X$1" = X--fallback-echo; then
++  # used as fallback echo
++  shift
++  cat <<EOF
++$*
++EOF
++  exit 0
++fi
++
++# The HP-UX ksh and POSIX shell print the target directory to stdout
++# if CDPATH is set.
++if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
++
++if test -z "$ECHO"; then
++if test "X${echo_test_string+set}" != Xset; then
++# find a string as large as possible, as long as the shell can cope with it
++  for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
++    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
++    if (echo_test_string="`eval $cmd`") 2>/dev/null &&
++       echo_test_string="`eval $cmd`" &&
++       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
++    then
++      break
++    fi
++  done
++fi
++
++if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
++   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
++   test "X$echo_testing_string" = "X$echo_test_string"; then
++  :
++else
++  # The Solaris, AIX, and Digital Unix default echo programs unquote
++  # backslashes.  This makes it impossible to quote backslashes using
++  #   echo "$something" | sed 's/\\/\\\\/g'
++  #
++  # So, first we look for a working echo in the user's PATH.
++
++  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
++  for dir in $PATH /usr/ucb; do
++    IFS="$lt_save_ifs"
++    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
++       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
++       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
++       test "X$echo_testing_string" = "X$echo_test_string"; then
++      echo="$dir/echo"
++      break
++    fi
++  done
++  IFS="$lt_save_ifs"
++
++  if test "X$echo" = Xecho; then
++    # We didn't find a better echo, so look for alternatives.
++    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
++       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
++       test "X$echo_testing_string" = "X$echo_test_string"; then
++      # This shell has a builtin print -r that does the trick.
++      echo='print -r'
++    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
++	 test "X$CONFIG_SHELL" != X/bin/ksh; then
++      # If we have ksh, try running configure again with it.
++      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
++      export ORIGINAL_CONFIG_SHELL
++      CONFIG_SHELL=/bin/ksh
++      export CONFIG_SHELL
++      exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
++    else
++      # Try using printf.
++      echo='printf %s\n'
++      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
++	 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
++	 test "X$echo_testing_string" = "X$echo_test_string"; then
++	# Cool, printf works
++	:
++      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
++	   test "X$echo_testing_string" = 'X\t' &&
++	   echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
++	   test "X$echo_testing_string" = "X$echo_test_string"; then
++	CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
++	export CONFIG_SHELL
++	SHELL="$CONFIG_SHELL"
++	export SHELL
++	echo="$CONFIG_SHELL $0 --fallback-echo"
++      elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
++	   test "X$echo_testing_string" = 'X\t' &&
++	   echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
++	   test "X$echo_testing_string" = "X$echo_test_string"; then
++	echo="$CONFIG_SHELL $0 --fallback-echo"
++      else
++	# maybe with a smaller string...
++	prev=:
++
++	for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
++	  if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
++	  then
++	    break
++	  fi
++	  prev="$cmd"
++	done
++
++	if test "$prev" != 'sed 50q "$0"'; then
++	  echo_test_string=`eval $prev`
++	  export echo_test_string
++	  exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
++	else
++	  # Oops.  We lost completely, so just stick with echo.
++	  echo=echo
++	fi
++      fi
++    fi
++  fi
++fi
++fi
++
++# Copy echo and quote the copy suitably for passing to libtool from
++# the Makefile, instead of quoting the original, which is used later.
++ECHO=$echo
++if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
++   ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
++fi
++
++
++
++
++tagnames=${tagnames+${tagnames},}CXX
++
++tagnames=${tagnames+${tagnames},}F77
++
++# Name of the host.
++# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
++# so uname gets run too.
++ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
++
++exec 6>&1
++
++#
++# Initializations.
++#
++ac_default_prefix=/usr/local
++ac_config_libobj_dir=.
++cross_compiling=no
++subdirs=
++MFLAGS=
++MAKEFLAGS=
++SHELL=${CONFIG_SHELL-/bin/sh}
++
++# Maximum number of lines to put in a shell here document.
++# This variable seems obsolete.  It should probably be removed, and
++# only ac_max_sed_lines should be used.
++: ${ac_max_here_lines=38}
++
++# Identity of this package.
++PACKAGE_NAME='Heimdal'
++PACKAGE_TARNAME='heimdal'
++PACKAGE_VERSION='0.6'
++PACKAGE_STRING='Heimdal 0.6'
++PACKAGE_BUGREPORT='heimdal-bugs@pdc.kth.se'
++
++ac_unique_file="kuser/kinit.c"
++ac_default_prefix=/usr/heimdal
++# Factoring default headers for most tests.
++ac_includes_default="\
++#include <stdio.h>
++#if HAVE_SYS_TYPES_H
++# include <sys/types.h>
++#endif
++#if HAVE_SYS_STAT_H
++# include <sys/stat.h>
++#endif
++#if STDC_HEADERS
++# include <stdlib.h>
++# include <stddef.h>
++#else
++# if HAVE_STDLIB_H
++#  include <stdlib.h>
++# endif
++#endif
++#if HAVE_STRING_H
++# if !STDC_HEADERS && HAVE_MEMORY_H
++#  include <memory.h>
++# endif
++# include <string.h>
++#endif
++#if HAVE_STRINGS_H
++# include <strings.h>
++#endif
++#if HAVE_INTTYPES_H
++# include <inttypes.h>
++#else
++# if HAVE_STDINT_H
++#  include <stdint.h>
++# endif
++#endif
++#if HAVE_UNISTD_H
++# include <unistd.h>
++#endif"
++
++ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE build build_cpu build_vendor build_os host host_cpu host_vendor host_os CANONICAL_HOST YACC LEX LEXLIB LEX_OUTPUT_ROOT LN_S EGREP ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CXX CXXFLAGS ac_ct_CXX CXXDEPMODE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL WFLAGS WFLAGS_NOUNUSED WFLAGS_NOIMPLICITINT DIR_openldap INCLUDE_openldap LIB_openldap DIR_krb4 INCLUDE_krb4 LIB_krb4 EXTRA_LIB45 LIB_krb_enable_debug LIB_krb_disable_debug LIB_krb_get_our_ip_for_realm LIB_krb_kdctimeofday LIB_krb_get_kdc_time_diff KRB4_TRUE KRB4_FALSE KRB5_TRUE KRB5_FALSE do_roken_rename_TRUE do_roken_rename_FALSE LIB_kdb HAVE_OPENSSL_TRUE HAVE_OPENSSL_FALSE DIR_des INCLUDE_des LIB_des LIB_des_a LIB_des_so LIB_des_appl DCE_TRUE DCE_FALSE dpagaix_cflags dpagaix_ldadd dpagaix_ldflags LIB_db_create LIB_dbopen LIB_dbm_firstkey HAVE_DB1_TRUE HAVE_DB1_FALSE HAVE_DB3_TRUE HAVE_DB3_FALSE HAVE_NDBM_TRUE HAVE_NDBM_FALSE DBLIB LIB_NDBM LIB_crypt LIB_roken DIR_roken CPPFLAGS_roken VOID_RETSIGTYPE have_err_h_TRUE have_err_h_FALSE have_fnmatch_h_TRUE have_fnmatch_h_FALSE have_ifaddrs_h_TRUE have_ifaddrs_h_FALSE have_vis_h_TRUE have_vis_h_FALSE LIB_socket LIB_gethostbyname LIB_syslog LIB_gethostbyname2 LIB_res_search LIB_res_nsearch LIB_dn_expand LIB@&t@OBJS have_glob_h_TRUE have_glob_h_FALSE LIB_getsockopt LIB_setsockopt LIB_hstrerror LIB_bswap16 LIB_bswap32 LIB_pidfile LIB_getaddrinfo LIB_getnameinfo LIB_freeaddrinfo LIB_gai_strerror OTP_TRUE OTP_FALSE LIB_security NROFF GROFF CATMAN CATMAN_TRUE CATMAN_FALSE CATMANEXT DIR_readline INCLUDE_readline LIB_readline DIR_hesiod INCLUDE_hesiod LIB_hesiod DIR_sl INCLUDE_sl LIB_sl DIR_ss INCLUDE_ss LIB_ss DIR_otp INCLUDE_otp LIB_otp AIX_TRUE AIX_FALSE AIX4_TRUE AIX4_FALSE LIB_dlopen HAVE_DLOPEN_TRUE HAVE_DLOPEN_FALSE LIB_loadquery AIX_DYNAMIC_AFS_TRUE AIX_DYNAMIC_AFS_FALSE AIX_EXTRA_KAFS IRIX_TRUE IRIX_FALSE X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS HAVE_X_TRUE HAVE_X_FALSE LIB_XauWriteAuth LIB_XauReadAuth LIB_XauFileName NEED_WRITEAUTH_TRUE NEED_WRITEAUTH_FALSE LIB_logwtmp LIB_logout LIB_openpty LIB_tgetent LIB_getpwnam_r LIB_el_init el_compat_TRUE el_compat_FALSE COMPILE_ET DIR_com_err LIB_com_err LIB_com_err_a LIB_com_err_so LIB_AUTH_SUBDIRS LTLIBOBJS'
++ac_subst_files=''
++
++# Initialize some variables set by options.
++ac_init_help=
++ac_init_version=false
++# The variables have the same names as the options, with
++# dashes changed to underlines.
++cache_file=/dev/null
++exec_prefix=NONE
++no_create=
++no_recursion=
++prefix=NONE
++program_prefix=NONE
++program_suffix=NONE
++program_transform_name=s,x,x,
++silent=
++site=
++srcdir=
++verbose=
++x_includes=NONE
++x_libraries=NONE
++
++# Installation directory options.
++# These are left unexpanded so users can "make install exec_prefix=/foo"
++# and all the variables that are supposed to be based on exec_prefix
++# by default will actually change.
++# Use braces instead of parens because sh, perl, etc. also accept them.
++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'
++
++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
++
++  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
++
++  # 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_alias ;;
++  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
++    build_alias=$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 ;;
++
++  --config-cache | -C)
++    cache_file=config.cache ;;
++
++  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
++    ac_prev=datadir ;;
++  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
++  | --da=*)
++    datadir=$ac_optarg ;;
++
++  -disable-* | --disable-*)
++    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
++    # Reject names that are not valid shell variable names.
++    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
++      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
++   { (exit 1); exit 1; }; }
++    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
++    eval "enable_$ac_feature=no" ;;
++
++  -enable-* | --enable-*)
++    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
++    # Reject names that are not valid shell variable names.
++    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
++      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
++   { (exit 1); exit 1; }; }
++    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
++    case $ac_option in
++      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
++      *) 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 | -h)
++    ac_init_help=long ;;
++  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
++    ac_init_help=recursive ;;
++  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
++    ac_init_help=short ;;
++
++  -host | --host | --hos | --ho)
++    ac_prev=host_alias ;;
++  -host=* | --host=* | --hos=* | --ho=*)
++    host_alias=$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 | -n)
++    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_alias ;;
++  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
++    target_alias=$ac_optarg ;;
++
++  -v | -verbose | --verbose | --verbos | --verbo | --verb)
++    verbose=yes ;;
++
++  -version | --version | --versio | --versi | --vers | -V)
++    ac_init_version=: ;;
++
++  -with-* | --with-*)
++    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
++    # Reject names that are not valid shell variable names.
++    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
++      { echo "$as_me: error: invalid package name: $ac_package" >&2
++   { (exit 1); exit 1; }; }
++    ac_package=`echo $ac_package| sed 's/-/_/g'`
++    case $ac_option in
++      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
++      *) ac_optarg=yes ;;
++    esac
++    eval "with_$ac_package='$ac_optarg'" ;;
++
++  -without-* | --without-*)
++    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
++    # Reject names that are not valid shell variable names.
++    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
++      { echo "$as_me: error: invalid package name: $ac_package" >&2
++   { (exit 1); exit 1; }; }
++    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 "$as_me: error: unrecognized option: $ac_option
++Try \`$0 --help' for more information." >&2
++   { (exit 1); exit 1; }; }
++    ;;
++
++  *=*)
++    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
++    # Reject names that are not valid shell variable names.
++    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
++      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
++   { (exit 1); exit 1; }; }
++    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
++    eval "$ac_envvar='$ac_optarg'"
++    export $ac_envvar ;;
++
++  *)
++    # FIXME: should be removed in autoconf 3.0.
++    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
++    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
++      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
++    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
++    ;;
++
++  esac
++done
++
++if test -n "$ac_prev"; then
++  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
++  { echo "$as_me: error: missing argument to $ac_option" >&2
++   { (exit 1); exit 1; }; }
++fi
++
++# Be sure to have absolute paths.
++for ac_var in exec_prefix prefix
++do
++  eval ac_val=$`echo $ac_var`
++  case $ac_val in
++    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
++    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
++   { (exit 1); exit 1; }; };;
++  esac
++done
++
++# Be sure to have absolute paths.
++for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
++              localstatedir libdir includedir oldincludedir infodir mandir
++do
++  eval ac_val=$`echo $ac_var`
++  case $ac_val in
++    [\\/$]* | ?:[\\/]* ) ;;
++    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
++   { (exit 1); exit 1; }; };;
++  esac
++done
++
++# There might be people who depend on the old broken behavior: `$host'
++# used to hold the argument of --host etc.
++# FIXME: To remove some day.
++build=$build_alias
++host=$host_alias
++target=$target_alias
++
++# FIXME: To remove some day.
++if test "x$host_alias" != x; then
++  if test "x$build_alias" = x; then
++    cross_compiling=maybe
++    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
++    If a cross compiler is detected then cross compile mode will be used." >&2
++  elif test "x$build_alias" != "x$host_alias"; then
++    cross_compiling=yes
++  fi
++fi
++
++ac_tool_prefix=
++test -n "$host_alias" && ac_tool_prefix=$host_alias-
++
++test "$silent" = yes && exec 6>/dev/null
++
++
++# 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_confdir=`(dirname "$0") 2>/dev/null ||
++$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++         X"$0" : 'X\(//\)[^/]' \| \
++         X"$0" : 'X\(//\)$' \| \
++         X"$0" : 'X\(/\)' \| \
++         .     : '\(.\)' 2>/dev/null ||
++echo X"$0" |
++    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
++  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
++  	  /^X\(\/\/\)$/{ s//\1/; q; }
++  	  /^X\(\/\).*/{ s//\1/; q; }
++  	  s/.*/./; q'`
++  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 "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
++   { (exit 1); exit 1; }; }
++  else
++    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
++   { (exit 1); exit 1; }; }
++  fi
++fi
++(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
++  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
++   { (exit 1); exit 1; }; }
++srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
++ac_env_build_alias_set=${build_alias+set}
++ac_env_build_alias_value=$build_alias
++ac_cv_env_build_alias_set=${build_alias+set}
++ac_cv_env_build_alias_value=$build_alias
++ac_env_host_alias_set=${host_alias+set}
++ac_env_host_alias_value=$host_alias
++ac_cv_env_host_alias_set=${host_alias+set}
++ac_cv_env_host_alias_value=$host_alias
++ac_env_target_alias_set=${target_alias+set}
++ac_env_target_alias_value=$target_alias
++ac_cv_env_target_alias_set=${target_alias+set}
++ac_cv_env_target_alias_value=$target_alias
++ac_env_CC_set=${CC+set}
++ac_env_CC_value=$CC
++ac_cv_env_CC_set=${CC+set}
++ac_cv_env_CC_value=$CC
++ac_env_CFLAGS_set=${CFLAGS+set}
++ac_env_CFLAGS_value=$CFLAGS
++ac_cv_env_CFLAGS_set=${CFLAGS+set}
++ac_cv_env_CFLAGS_value=$CFLAGS
++ac_env_LDFLAGS_set=${LDFLAGS+set}
++ac_env_LDFLAGS_value=$LDFLAGS
++ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
++ac_cv_env_LDFLAGS_value=$LDFLAGS
++ac_env_CPPFLAGS_set=${CPPFLAGS+set}
++ac_env_CPPFLAGS_value=$CPPFLAGS
++ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
++ac_cv_env_CPPFLAGS_value=$CPPFLAGS
++ac_env_CPP_set=${CPP+set}
++ac_env_CPP_value=$CPP
++ac_cv_env_CPP_set=${CPP+set}
++ac_cv_env_CPP_value=$CPP
++ac_env_CXX_set=${CXX+set}
++ac_env_CXX_value=$CXX
++ac_cv_env_CXX_set=${CXX+set}
++ac_cv_env_CXX_value=$CXX
++ac_env_CXXFLAGS_set=${CXXFLAGS+set}
++ac_env_CXXFLAGS_value=$CXXFLAGS
++ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
++ac_cv_env_CXXFLAGS_value=$CXXFLAGS
++ac_env_CXXCPP_set=${CXXCPP+set}
++ac_env_CXXCPP_value=$CXXCPP
++ac_cv_env_CXXCPP_set=${CXXCPP+set}
++ac_cv_env_CXXCPP_value=$CXXCPP
++ac_env_F77_set=${F77+set}
++ac_env_F77_value=$F77
++ac_cv_env_F77_set=${F77+set}
++ac_cv_env_F77_value=$F77
++ac_env_FFLAGS_set=${FFLAGS+set}
++ac_env_FFLAGS_value=$FFLAGS
++ac_cv_env_FFLAGS_set=${FFLAGS+set}
++ac_cv_env_FFLAGS_value=$FFLAGS
++
++#
++# Report the --help message.
++#
++if test "$ac_init_help" = "long"; then
++  # 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 <<_ACEOF
++\`configure' configures Heimdal 0.6 to adapt to many kinds of systems.
++
++Usage: $0 [OPTION]... [VAR=VALUE]...
++
++To assign environment variables (e.g., CC, CFLAGS...), specify them as
++VAR=VALUE.  See below for descriptions of some of the useful variables.
++
++Defaults for the options are specified in brackets.
++
++Configuration:
++  -h, --help              display this help and exit
++      --help=short        display options specific to this package
++      --help=recursive    display the short help of all the included packages
++  -V, --version           display version information and exit
++  -q, --quiet, --silent   do not print \`checking...' messages
++      --cache-file=FILE   cache test results in FILE [disabled]
++  -C, --config-cache      alias for \`--cache-file=config.cache'
++  -n, --no-create         do not create output files
++      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
++
++_ACEOF
++
++  cat <<_ACEOF
++Installation directories:
++  --prefix=PREFIX         install architecture-independent files in PREFIX
++                          [$ac_default_prefix]
++  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
++                          [PREFIX]
++
++By default, \`make install' will install all the files in
++\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
++an installation prefix other than \`$ac_default_prefix' using \`--prefix',
++for instance \`--prefix=\$HOME'.
++
++For better control, use the options below.
++
++Fine tuning of the installation directories:
++  --bindir=DIR           user executables [EPREFIX/bin]
++  --sbindir=DIR          system admin executables [EPREFIX/sbin]
++  --libexecdir=DIR       program executables [EPREFIX/libexec]
++  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
++  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
++  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
++  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
++  --libdir=DIR           object code libraries [EPREFIX/lib]
++  --includedir=DIR       C header files [PREFIX/include]
++  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
++  --infodir=DIR          info documentation [PREFIX/info]
++  --mandir=DIR           man documentation [PREFIX/man]
++_ACEOF
++
++  cat <<\_ACEOF
++
++Program names:
++  --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
++
++X features:
++  --x-includes=DIR    X include files are in DIR
++  --x-libraries=DIR   X library files are in DIR
++
++System types:
++  --build=BUILD     configure for building on BUILD [guessed]
++  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
++_ACEOF
++fi
++
++if test -n "$ac_init_help"; then
++  case $ac_init_help in
++     short | recursive ) echo "Configuration of Heimdal 0.6:";;
++   esac
++  cat <<\_ACEOF
++
++Optional Features:
++  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
++  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
++  --enable-maintainer-mode enable make rules and dependencies not useful
++                          (and sometimes confusing) to the casual installer
++  --disable-dependency-tracking Speeds up one-time builds
++  --enable-dependency-tracking  Do not reject slow dependency extractors
++  --disable-largefile     omit support for large files
++  --enable-shared@<:@=PKGS@:>@ 
++                          build shared libraries @<:@default=no@:>@
++  --enable-static@<:@=PKGS@:>@ 
++                          build static libraries @<:@default=yes@:>@
++  --enable-fast-install@<:@=PKGS@:>@ 
++                          optimize for fast installation @<:@default=yes@:>@
++  --disable-libtool-lock  avoid locking (might break parallel builds)
++  --enable-dce            if you want support for DCE/DFS PAG's
++  --disable-berkeley-db   if you don't want berkeley db
++  --disable-otp           if you don't want OTP support
++  --enable-osfc2          enable some OSF C2 support
++  --disable-mmap          disable use of mmap
++  --enable-bigendian      the target is big endian
++  --enable-littleendian   the target is little endian
++  --disable-dynamic-afs   do not use loaded AFS library with AIX
++  --enable-netinfo        enable netinfo for configuration lookup
++
++Optional Packages:
++  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
++  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
++  --with-mips-abi=abi     ABI to use for IRIX (32, n32, or 64)
++  --with-gnu-ld           assume the C compiler uses GNU ld @<:@default=no@:>@
++  --with-pic              try to use only PIC/non-PIC objects @<:@default=use
++                          both@:>@
++  --with-tags@<:@=TAGS@:>@ 
++                          include additional configurations @<:@automatic@:>@
++  --with-openldap=dir     use openldap in dir
++  --with-openldap-lib=dir use openldap libraries in dir
++  --with-openldap-include=dir 
++                          use openldap headers in dir
++  --with-openldap-config=path 
++                          config program for openldap
++  --with-krb4=dir         use krb4 in dir
++  --with-krb4-lib=dir     use krb4 libraries in dir
++  --with-krb4-include=dir use krb4 headers in dir
++  --with-krb4-config=path config program for krb4
++  --with-openssl=dir      use openssl in dir
++  --with-openssl-lib=dir  use openssl libraries in dir
++  --with-openssl-include=dir 
++                          use openssl headers in dir
++  --with-roken=dir        use the roken library in dir
++  --without-ipv6          do not enable IPv6 support
++  --with-readline=dir     use readline in dir
++  --with-readline-lib=dir use readline libraries in dir
++  --with-readline-include=dir 
++                          use readline headers in dir
++  --with-readline-config=path 
++                          config program for readline
++  --with-hesiod=dir       use hesiod in dir
++  --with-hesiod-lib=dir   use hesiod libraries in dir
++  --with-hesiod-include=dir 
++                          use hesiod headers in dir
++  --with-hesiod-config=path 
++                          config program for hesiod
++  --with-sl=dir           use sl in dir
++  --with-sl-lib=dir       use sl libraries in dir
++  --with-sl-include=dir   use sl headers in dir
++  --with-sl-config=path   config program for sl
++  --with-ss=dir           use ss in dir
++  --with-ss-lib=dir       use ss libraries in dir
++  --with-ss-include=dir   use ss headers in dir
++  --with-ss-config=path   config program for ss
++  --with-otp=dir          use otp in dir
++  --with-otp-lib=dir      use otp libraries in dir
++  --with-otp-include=dir  use otp headers in dir
++  --with-otp-config=path  config program for otp
++  --with-x                use the X Window System
++
++Some influential environment variables:
++  CC          C compiler command
++  CFLAGS      C compiler flags
++  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
++              nonstandard directory <lib dir>
++  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
++              headers in a nonstandard directory <include dir>
++  CPP         C preprocessor
++  CXX         C++ compiler command
++  CXXFLAGS    C++ compiler flags
++  CXXCPP      C++ preprocessor
++  F77         Fortran 77 compiler command
++  FFLAGS      Fortran 77 compiler flags
++
++Use these variables to override the choices made by `configure' or to help
++it to find libraries and programs with nonstandard names/locations.
++
++Report bugs to <heimdal-bugs@pdc.kth.se>.
++_ACEOF
++fi
++
++if test "$ac_init_help" = "recursive"; then
++  # If there are subdirs, report their specific --help.
++  ac_popdir=`pwd`
++  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
++    test -d $ac_dir || continue
++    ac_builddir=.
++
++if test "$ac_dir" != .; then
++  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
++  # A "../" for each directory in $ac_dir_suffix.
++  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
++else
++  ac_dir_suffix= ac_top_builddir=
++fi
++
++case $srcdir in
++  .)  # No --srcdir option.  We are building in place.
++    ac_srcdir=.
++    if test -z "$ac_top_builddir"; then
++       ac_top_srcdir=.
++    else
++       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
++    fi ;;
++  [\\/]* | ?:[\\/]* )  # Absolute path.
++    ac_srcdir=$srcdir$ac_dir_suffix;
++    ac_top_srcdir=$srcdir ;;
++  *) # Relative path.
++    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
++    ac_top_srcdir=$ac_top_builddir$srcdir ;;
++esac
++# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
++# absolute.
++ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
++ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
++ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
++ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
++
++    cd $ac_dir
++    # Check for guested configure; otherwise get Cygnus style configure.
++    if test -f $ac_srcdir/configure.gnu; then
++      echo
++      $SHELL $ac_srcdir/configure.gnu  --help=recursive
++    elif test -f $ac_srcdir/configure; then
++      echo
++      $SHELL $ac_srcdir/configure  --help=recursive
++    elif test -f $ac_srcdir/configure.ac ||
++           test -f $ac_srcdir/configure.in; then
++      echo
++      $ac_configure --help
++    else
++      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
++    fi
++    cd "$ac_popdir"
++  done
++fi
++
++test -n "$ac_init_help" && exit 0
++if $ac_init_version; then
++  cat <<\_ACEOF
++Heimdal configure 0.6
++generated by GNU Autoconf 2.57
++
++Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
++Free Software Foundation, Inc.
++This configure script is free software; the Free Software Foundation
++gives unlimited permission to copy, distribute and modify it.
++_ACEOF
++  exit 0
++fi
++exec 5>config.log
++cat >&5 <<_ACEOF
++This file contains any messages produced by compilers while
++running configure, to aid debugging if configure makes a mistake.
++
++It was created by Heimdal $as_me 0.6, which was
++generated by GNU Autoconf 2.57.  Invocation command line was
++
++  $ $0 $@
++
++_ACEOF
++{
++cat <<_ASUNAME
++@%:@@%:@ --------- @%:@@%:@
++@%:@@%:@ Platform. @%:@@%:@
++@%:@@%:@ --------- @%:@@%:@
++
++hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
++uname -m = `(uname -m) 2>/dev/null || echo unknown`
++uname -r = `(uname -r) 2>/dev/null || echo unknown`
++uname -s = `(uname -s) 2>/dev/null || echo unknown`
++uname -v = `(uname -v) 2>/dev/null || echo unknown`
++
++/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
++/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
++
++/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
++/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
++/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
++hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
++/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
++/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
++/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
++
++_ASUNAME
++
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  echo "PATH: $as_dir"
++done
++
++} >&5
++
++cat >&5 <<_ACEOF
++
++
++@%:@@%:@ ----------- @%:@@%:@
++@%:@@%:@ Core tests. @%:@@%:@
++@%:@@%:@ ----------- @%:@@%:@
++
++_ACEOF
++
++
++# Keep a trace of the command line.
++# Strip out --no-create and --no-recursion so they do not pile up.
++# Strip out --silent because we don't want to record it for future runs.
++# Also quote any args containing shell meta-characters.
++# Make two passes to allow for proper duplicate-argument suppression.
++ac_configure_args=
++ac_configure_args0=
++ac_configure_args1=
++ac_sep=
++ac_must_keep_next=false
++for ac_pass in 1 2
++do
++  for ac_arg
++  do
++    case $ac_arg in
++    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
++    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
++    | -silent | --silent | --silen | --sile | --sil)
++      continue ;;
++    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
++      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
++    esac
++    case $ac_pass in
++    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
++    2)
++      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
++      if test $ac_must_keep_next = true; then
++        ac_must_keep_next=false # Got value, back to normal.
++      else
++        case $ac_arg in
++          *=* | --config-cache | -C | -disable-* | --disable-* \
++          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
++          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
++          | -with-* | --with-* | -without-* | --without-* | --x)
++            case "$ac_configure_args0 " in
++              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
++            esac
++            ;;
++          -* ) ac_must_keep_next=true ;;
++        esac
++      fi
++      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
++      # Get rid of the leading space.
++      ac_sep=" "
++      ;;
++    esac
++  done
++done
++$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
++$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
++
++# When interrupted or exit'd, cleanup temporary files, and complete
++# config.log.  We remove comments because anyway the quotes in there
++# would cause problems or look ugly.
++# WARNING: Be sure not to use single quotes in there, as some shells,
++# such as our DU 5.0 friend, will then `close' the trap.
++trap 'exit_status=$?
++  # Save into config.log some information that might help in debugging.
++  {
++    echo
++
++    cat <<\_ASBOX
++@%:@@%:@ ---------------- @%:@@%:@
++@%:@@%:@ Cache variables. @%:@@%:@
++@%:@@%:@ ---------------- @%:@@%:@
++_ASBOX
++    echo
++    # The following way of writing the cache mishandles newlines in values,
++{
++  (set) 2>&1 |
++    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
++    *ac_space=\ *)
++      sed -n \
++        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
++    	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
++      ;;
++    *)
++      sed -n \
++        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
++      ;;
++    esac;
++}
++    echo
++
++    cat <<\_ASBOX
++@%:@@%:@ ----------------- @%:@@%:@
++@%:@@%:@ Output variables. @%:@@%:@
++@%:@@%:@ ----------------- @%:@@%:@
++_ASBOX
++    echo
++    for ac_var in $ac_subst_vars
++    do
++      eval ac_val=$`echo $ac_var`
++      echo "$ac_var='"'"'$ac_val'"'"'"
++    done | sort
++    echo
++
++    if test -n "$ac_subst_files"; then
++      cat <<\_ASBOX
++@%:@@%:@ ------------- @%:@@%:@
++@%:@@%:@ Output files. @%:@@%:@
++@%:@@%:@ ------------- @%:@@%:@
++_ASBOX
++      echo
++      for ac_var in $ac_subst_files
++      do
++	eval ac_val=$`echo $ac_var`
++        echo "$ac_var='"'"'$ac_val'"'"'"
++      done | sort
++      echo
++    fi
++
++    if test -s confdefs.h; then
++      cat <<\_ASBOX
++@%:@@%:@ ----------- @%:@@%:@
++@%:@@%:@ confdefs.h. @%:@@%:@
++@%:@@%:@ ----------- @%:@@%:@
++_ASBOX
++      echo
++      sed "/^$/d" confdefs.h | sort
++      echo
++    fi
++    test "$ac_signal" != 0 &&
++      echo "$as_me: caught signal $ac_signal"
++    echo "$as_me: exit $exit_status"
++  } >&5
++  rm -f core *.core &&
++  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
++    exit $exit_status
++     ' 0
++for ac_signal in 1 2 13 15; do
++  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
++done
++ac_signal=0
++
++# 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
++
++# Predefined preprocessor variables.
++
++cat >>confdefs.h <<_ACEOF
++@%:@define PACKAGE_NAME "$PACKAGE_NAME"
++_ACEOF
++
++
++cat >>confdefs.h <<_ACEOF
++@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
++_ACEOF
++
++
++cat >>confdefs.h <<_ACEOF
++@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
++_ACEOF
++
++
++cat >>confdefs.h <<_ACEOF
++@%:@define PACKAGE_STRING "$PACKAGE_STRING"
++_ACEOF
++
++
++cat >>confdefs.h <<_ACEOF
++@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
++_ACEOF
++
++
++# Let the site file select an alternate cache file if it wants to.
++# 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 "$as_me:$LINENO: loading site script $ac_site_file" >&5
++echo "$as_me: loading site script $ac_site_file" >&6;}
++    sed 's/^/| /' "$ac_site_file" >&5
++    . "$ac_site_file"
++  fi
++done
++
++if test -r "$cache_file"; then
++  # Some versions of bash will fail to source /dev/null (special
++  # files actually), so we avoid doing that.
++  if test -f "$cache_file"; then
++    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
++echo "$as_me: loading cache $cache_file" >&6;}
++    case $cache_file in
++      [\\/]* | ?:[\\/]* ) . $cache_file;;
++      *)                      . ./$cache_file;;
++    esac
++  fi
++else
++  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
++echo "$as_me: creating cache $cache_file" >&6;}
++  >$cache_file
++fi
++
++# Check that the precious variables saved in the cache have kept the same
++# value.
++ac_cache_corrupted=false
++for ac_var in `(set) 2>&1 |
++               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
++  eval ac_old_set=\$ac_cv_env_${ac_var}_set
++  eval ac_new_set=\$ac_env_${ac_var}_set
++  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
++  eval ac_new_val="\$ac_env_${ac_var}_value"
++  case $ac_old_set,$ac_new_set in
++    set,)
++      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
++echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
++      ac_cache_corrupted=: ;;
++    ,set)
++      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
++echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
++      ac_cache_corrupted=: ;;
++    ,);;
++    *)
++      if test "x$ac_old_val" != "x$ac_new_val"; then
++        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
++echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
++        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
++echo "$as_me:   former value:  $ac_old_val" >&2;}
++        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
++echo "$as_me:   current value: $ac_new_val" >&2;}
++        ac_cache_corrupted=:
++      fi;;
++  esac
++  # Pass precious variables to config.status.
++  if test "$ac_new_set" = set; then
++    case $ac_new_val in
++    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
++      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
++    *) ac_arg=$ac_var=$ac_new_val ;;
++    esac
++    case " $ac_configure_args " in
++      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
++      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
++    esac
++  fi
++done
++if $ac_cache_corrupted; then
++  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
++echo "$as_me: error: changes in the environment can compromise the build" >&2;}
++  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
++echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
++   { (exit 1); exit 1; }; }
++fi
++
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
++echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
++    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
++if test "${enable_maintainer_mode+set}" = set; then
++  enableval="$enable_maintainer_mode"
++  USE_MAINTAINER_MODE=$enableval
++else
++  USE_MAINTAINER_MODE=no
++fi; 
++  echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
++echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
++  
++
++if test $USE_MAINTAINER_MODE = yes; then
++  MAINTAINER_MODE_TRUE=
++  MAINTAINER_MODE_FALSE='#'
++else
++  MAINTAINER_MODE_TRUE='#'
++  MAINTAINER_MODE_FALSE=
++fi
++
++  MAINT=$MAINTAINER_MODE_TRUE
++  
++
++
++# Add the stamp file to the list of files AC keeps track of,
++# along with our hook.
++          ac_config_headers="$ac_config_headers include/config.h"
++
++
++
++
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++if test -n "$ac_tool_prefix"; then
++  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
++set dummy ${ac_tool_prefix}gcc; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_CC+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$CC"; then
++  ac_cv_prog_CC="$CC" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_CC="${ac_tool_prefix}gcc"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++CC=$ac_cv_prog_CC
++if test -n "$CC"; then
++  echo "$as_me:$LINENO: result: $CC" >&5
++echo "${ECHO_T}$CC" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++fi
++if test -z "$ac_cv_prog_CC"; then
++  ac_ct_CC=$CC
++  # Extract the first word of "gcc", so it can be a program name with args.
++set dummy gcc; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$ac_ct_CC"; then
++  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_ac_ct_CC="gcc"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++ac_ct_CC=$ac_cv_prog_ac_ct_CC
++if test -n "$ac_ct_CC"; then
++  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
++echo "${ECHO_T}$ac_ct_CC" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  CC=$ac_ct_CC
++else
++  CC="$ac_cv_prog_CC"
++fi
++
++if test -z "$CC"; then
++  if test -n "$ac_tool_prefix"; then
++  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
++set dummy ${ac_tool_prefix}cc; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_CC+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$CC"; then
++  ac_cv_prog_CC="$CC" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_CC="${ac_tool_prefix}cc"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++CC=$ac_cv_prog_CC
++if test -n "$CC"; then
++  echo "$as_me:$LINENO: result: $CC" >&5
++echo "${ECHO_T}$CC" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++fi
++if test -z "$ac_cv_prog_CC"; then
++  ac_ct_CC=$CC
++  # Extract the first word of "cc", so it can be a program name with args.
++set dummy cc; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$ac_ct_CC"; then
++  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_ac_ct_CC="cc"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++ac_ct_CC=$ac_cv_prog_ac_ct_CC
++if test -n "$ac_ct_CC"; then
++  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
++echo "${ECHO_T}$ac_ct_CC" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  CC=$ac_ct_CC
++else
++  CC="$ac_cv_prog_CC"
++fi
++
++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 "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_CC+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$CC"; then
++  ac_cv_prog_CC="$CC" # Let the user override the test.
++else
++  ac_prog_rejected=no
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
++       ac_prog_rejected=yes
++       continue
++     fi
++    ac_cv_prog_CC="cc"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++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 $@%:@ != 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
++    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
++  fi
++fi
++fi
++fi
++CC=$ac_cv_prog_CC
++if test -n "$CC"; then
++  echo "$as_me:$LINENO: result: $CC" >&5
++echo "${ECHO_T}$CC" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++fi
++if test -z "$CC"; then
++  if test -n "$ac_tool_prefix"; then
++  for ac_prog in cl
++  do
++    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
++set dummy $ac_tool_prefix$ac_prog; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_CC+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$CC"; then
++  ac_cv_prog_CC="$CC" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++CC=$ac_cv_prog_CC
++if test -n "$CC"; then
++  echo "$as_me:$LINENO: result: $CC" >&5
++echo "${ECHO_T}$CC" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++    test -n "$CC" && break
++  done
++fi
++if test -z "$CC"; then
++  ac_ct_CC=$CC
++  for ac_prog in cl
++do
++  # Extract the first word of "$ac_prog", so it can be a program name with args.
++set dummy $ac_prog; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$ac_ct_CC"; then
++  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_ac_ct_CC="$ac_prog"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++ac_ct_CC=$ac_cv_prog_ac_ct_CC
++if test -n "$ac_ct_CC"; then
++  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
++echo "${ECHO_T}$ac_ct_CC" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  test -n "$ac_ct_CC" && break
++done
++
++  CC=$ac_ct_CC
++fi
++
++fi
++
++
++test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
++See \`config.log' for more details." >&5
++echo "$as_me: error: no acceptable C compiler found in \$PATH
++See \`config.log' for more details." >&2;}
++   { (exit 1); exit 1; }; }
++
++# Provide some information about the compiler.
++echo "$as_me:$LINENO:" \
++     "checking for C compiler version" >&5
++ac_compiler=`set X $ac_compile; echo $2`
++{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
++  (eval $ac_compiler --version </dev/null >&5) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }
++{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
++  (eval $ac_compiler -v </dev/null >&5) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }
++{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
++  (eval $ac_compiler -V </dev/null >&5) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }
++
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++ac_clean_files_save=$ac_clean_files
++ac_clean_files="$ac_clean_files a.out a.exe b.out"
++# Try to create an executable without -o first, disregard a.out.
++# It will help us diagnose broken compilers, and finding out an intuition
++# of exeext.
++echo "$as_me:$LINENO: checking for C compiler default output" >&5
++echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
++ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
++if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
++  (eval $ac_link_default) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; then
++  # Find the output, starting from the most likely.  This scheme is
++# not robust to junk in `.', hence go to wildcards (a.*) only as a last
++# resort.
++
++# Be careful to initialize this variable, since it used to be cached.
++# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
++ac_cv_exeext=
++# b.out is created by i960 compilers.
++for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
++do
++  test -f "$ac_file" || continue
++  case $ac_file in
++    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
++        ;;
++    conftest.$ac_ext )
++        # This is the source file.
++        ;;
++    [ab].out )
++        # We found the default executable, but exeext='' is most
++        # certainly right.
++        break;;
++    *.* )
++        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
++        # FIXME: I believe we export ac_cv_exeext for Libtool,
++        # but it would be cool to find out if it's true.  Does anybody
++        # maintain Libtool? --akim.
++        export ac_cv_exeext
++        break;;
++    * )
++        break;;
++  esac
++done
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
++See \`config.log' for more details." >&5
++echo "$as_me: error: C compiler cannot create executables
++See \`config.log' for more details." >&2;}
++   { (exit 77); exit 77; }; }
++fi
++
++ac_exeext=$ac_cv_exeext
++echo "$as_me:$LINENO: result: $ac_file" >&5
++echo "${ECHO_T}$ac_file" >&6
++
++# Check the compiler produces executables we can run.  If not, either
++# the compiler is broken, or we cross compile.
++echo "$as_me:$LINENO: checking whether the C compiler works" >&5
++echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
++# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
++# If not cross compiling, check that we can run a simple program.
++if test "$cross_compiling" != yes; then
++  if { ac_try='./$ac_file'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++    cross_compiling=no
++  else
++    if test "$cross_compiling" = maybe; then
++	cross_compiling=yes
++    else
++	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
++If you meant to cross compile, use \`--host'.
++See \`config.log' for more details." >&5
++echo "$as_me: error: cannot run C compiled programs.
++If you meant to cross compile, use \`--host'.
++See \`config.log' for more details." >&2;}
++   { (exit 1); exit 1; }; }
++    fi
++  fi
++fi
++echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++
++rm -f a.out a.exe conftest$ac_cv_exeext b.out
++ac_clean_files=$ac_clean_files_save
++# Check the compiler produces executables we can run.  If not, either
++# the compiler is broken, or we cross compile.
++echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
++echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
++echo "$as_me:$LINENO: result: $cross_compiling" >&5
++echo "${ECHO_T}$cross_compiling" >&6
++
++echo "$as_me:$LINENO: checking for suffix of executables" >&5
++echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; then
++  # If both `conftest.exe' and `conftest' are `present' (well, observable)
++# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
++# work properly (i.e., refer to `conftest.exe'), while it won't with
++# `rm'.
++for ac_file in conftest.exe conftest conftest.*; do
++  test -f "$ac_file" || continue
++  case $ac_file in
++    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
++    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
++          export ac_cv_exeext
++          break;;
++    * ) break;;
++  esac
++done
++else
++  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
++See \`config.log' for more details." >&5
++echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
++See \`config.log' for more details." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++
++rm -f conftest$ac_cv_exeext
++echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
++echo "${ECHO_T}$ac_cv_exeext" >&6
++
++rm -f conftest.$ac_ext
++EXEEXT=$ac_cv_exeext
++ac_exeext=$EXEEXT
++echo "$as_me:$LINENO: checking for suffix of object files" >&5
++echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
++if test "${ac_cv_objext+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.o conftest.obj
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; then
++  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
++  case $ac_file in
++    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
++    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
++       break;;
++  esac
++done
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
++See \`config.log' for more details." >&5
++echo "$as_me: error: cannot compute suffix of object files: cannot compile
++See \`config.log' for more details." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++
++rm -f conftest.$ac_cv_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
++echo "${ECHO_T}$ac_cv_objext" >&6
++OBJEXT=$ac_cv_objext
++ac_objext=$OBJEXT
++echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
++echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
++if test "${ac_cv_c_compiler_gnu+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++#ifndef __GNUC__
++       choke me
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_compiler_gnu=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_compiler_gnu=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++ac_cv_c_compiler_gnu=$ac_compiler_gnu
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
++echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
++GCC=`test $ac_compiler_gnu = yes && echo yes`
++ac_test_CFLAGS=${CFLAGS+set}
++ac_save_CFLAGS=$CFLAGS
++CFLAGS="-g"
++echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
++echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
++if test "${ac_cv_prog_cc_g+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_prog_cc_g=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_prog_cc_g=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
++echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
++if test "$ac_test_CFLAGS" = set; then
++  CFLAGS=$ac_save_CFLAGS
++elif test $ac_cv_prog_cc_g = yes; then
++  if test "$GCC" = yes; then
++    CFLAGS="-g -O2"
++  else
++    CFLAGS="-g"
++  fi
++else
++  if test "$GCC" = yes; then
++    CFLAGS="-O2"
++  else
++    CFLAGS=
++  fi
++fi
++echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
++echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
++if test "${ac_cv_prog_cc_stdc+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_cv_prog_cc_stdc=no
++ac_save_CC=$CC
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdarg.h>
++#include <stdio.h>
++#include <sys/types.h>
++#include <sys/stat.h>
++/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
++struct buf { int x; };
++FILE * (*rcsopen) (struct buf *, struct stat *, int);
++static char *e (p, i)
++     char **p;
++     int i;
++{
++  return p[i];
++}
++static char *f (char * (*g) (char **, int), char **p, ...)
++{
++  char *s;
++  va_list v;
++  va_start (v,p);
++  s = g (p, va_arg (v,int));
++  va_end (v);
++  return s;
++}
++int test (int i, double x);
++struct s1 {int (*f) (int a);};
++struct s2 {int (*f) (double a);};
++int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
++int argc;
++char **argv;
++int
++main ()
++{
++return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
++  ;
++  return 0;
++}
++_ACEOF
++# Don't try gcc -ansi; that turns off useful extensions and
++# breaks some systems' header files.
++# AIX			-qlanglvl=ansi
++# Ultrix and OSF/1	-std1
++# HP-UX 10.20 and later	-Ae
++# HP-UX older versions	-Aa -D_HPUX_SOURCE
++# SVR4			-Xc -D__EXTENSIONS__
++for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
++do
++  CC="$ac_save_CC $ac_arg"
++  rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_prog_cc_stdc=$ac_arg
++break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext 
++done
++rm -f conftest.$ac_ext conftest.$ac_objext
++CC=$ac_save_CC
++
++fi
++
++case "x$ac_cv_prog_cc_stdc" in
++  x|xno)
++    echo "$as_me:$LINENO: result: none needed" >&5
++echo "${ECHO_T}none needed" >&6 ;;
++  *)
++    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
++echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
++    CC="$CC $ac_cv_prog_cc_stdc" ;;
++esac
++
++# Some people use a C++ compiler to compile C.  Since we use `exit',
++# in C++ we need to declare it.  In case someone uses the same compiler
++# for both compiling C and C++ we need to have the C++ compiler decide
++# the declaration of exit, since it's the most demanding environment.
++cat >conftest.$ac_ext <<_ACEOF
++@%:@ifndef __cplusplus
++  choke me
++@%:@endif
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  for ac_declaration in \
++   '' \
++   'extern "C" void std::exit (int) throw (); using std::exit;' \
++   'extern "C" void std::exit (int); using std::exit;' \
++   'extern "C" void exit (int) throw ();' \
++   'extern "C" void exit (int);' \
++   'void exit (int);'
++do
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_declaration
++@%:@include <stdlib.h>
++int
++main ()
++{
++exit (42);
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  :
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++continue
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_declaration
++int
++main ()
++{
++exit (42);
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++done
++rm -f conftest*
++if test -n "$ac_declaration"; then
++  echo '#ifdef __cplusplus' >>confdefs.h
++  echo $ac_declaration      >>confdefs.h
++  echo '#endif'             >>confdefs.h
++fi
++
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
++echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
++# On Suns, sometimes $CPP names a directory.
++if test -n "$CPP" && test -d "$CPP"; then
++  CPP=
++fi
++if test -z "$CPP"; then
++  if test "${ac_cv_prog_CPP+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++      # Double quotes because CPP needs to be expanded
++    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
++    do
++      ac_preproc_ok=false
++for ac_c_preproc_warn_flag in '' yes
++do
++  # Use a header file that comes with gcc, so configuring glibc
++  # with a fresh cross-compiler works.
++  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++  # <limits.h> exists even on freestanding compilers.
++  # On the NeXT, cc -E runs the code through the compiler's parser,
++  # not just through cpp. "Syntax error" is here to catch this case.
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@ifdef __STDC__
++@%:@ include <limits.h>
++@%:@else
++@%:@ include <assert.h>
++@%:@endif
++                     Syntax error
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  :
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++  # Broken: fails on valid input.
++continue
++fi
++rm -f conftest.err conftest.$ac_ext
++
++  # OK, works on sane cases.  Now check whether non-existent headers
++  # can be detected and how.
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@include <ac_nonexistent.h>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  # Broken: success on invalid input.
++continue
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++  # Passes both tests.
++ac_preproc_ok=:
++break
++fi
++rm -f conftest.err conftest.$ac_ext
++
++done
++# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
++rm -f conftest.err conftest.$ac_ext
++if $ac_preproc_ok; then
++  break
++fi
++
++    done
++    ac_cv_prog_CPP=$CPP
++  
++fi
++  CPP=$ac_cv_prog_CPP
++else
++  ac_cv_prog_CPP=$CPP
++fi
++echo "$as_me:$LINENO: result: $CPP" >&5
++echo "${ECHO_T}$CPP" >&6
++ac_preproc_ok=false
++for ac_c_preproc_warn_flag in '' yes
++do
++  # Use a header file that comes with gcc, so configuring glibc
++  # with a fresh cross-compiler works.
++  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++  # <limits.h> exists even on freestanding compilers.
++  # On the NeXT, cc -E runs the code through the compiler's parser,
++  # not just through cpp. "Syntax error" is here to catch this case.
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@ifdef __STDC__
++@%:@ include <limits.h>
++@%:@else
++@%:@ include <assert.h>
++@%:@endif
++                     Syntax error
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  :
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++  # Broken: fails on valid input.
++continue
++fi
++rm -f conftest.err conftest.$ac_ext
++
++  # OK, works on sane cases.  Now check whether non-existent headers
++  # can be detected and how.
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@include <ac_nonexistent.h>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  # Broken: success on invalid input.
++continue
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++  # Passes both tests.
++ac_preproc_ok=:
++break
++fi
++rm -f conftest.err conftest.$ac_ext
++
++done
++# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
++rm -f conftest.err conftest.$ac_ext
++if $ac_preproc_ok; then
++  :
++else
++  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
++See \`config.log' for more details." >&5
++echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
++See \`config.log' for more details." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++
++
++am__api_version="1.6"
++ac_aux_dir=
++for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
++  if test -f $ac_dir/install-sh; then
++    ac_aux_dir=$ac_dir
++    ac_install_sh="$ac_aux_dir/install-sh -c"
++    break
++  elif test -f $ac_dir/install.sh; then
++    ac_aux_dir=$ac_dir
++    ac_install_sh="$ac_aux_dir/install.sh -c"
++    break
++  elif test -f $ac_dir/shtool; then
++    ac_aux_dir=$ac_dir
++    ac_install_sh="$ac_aux_dir/shtool install -c"
++    break
++  fi
++done
++if test -z "$ac_aux_dir"; then
++  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
++echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++ac_config_guess="$SHELL $ac_aux_dir/config.guess"
++ac_config_sub="$SHELL $ac_aux_dir/config.sub"
++ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
++
++# Find a good install program.  We prefer a C program (faster),
++# so one script is as good as another.  But avoid the broken or
++# incompatible versions:
++# SysV /etc/install, /usr/sbin/install
++# SunOS /usr/etc/install
++# IRIX /sbin/install
++# AIX /bin/install
++# AmigaOS /C/install, which installs bootblocks on floppy discs
++# 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 "$as_me:$LINENO: checking for a BSD-compatible install" >&5
++echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
++if test -z "$INSTALL"; then
++if test "${ac_cv_path_install+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  # Account for people who put trailing slashes in PATH elements.
++case $as_dir/ in
++  ./ | .// | /cC/* | \
++  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
++  /usr/ucb/* ) ;;
++  *)
++    # OSF1 and SCO ODT 3.0 have their own names for install.
++    # Don't use installbsd from OSF since it installs stuff as root
++    # by default.
++    for ac_prog in ginstall scoinst install; do
++      for ac_exec_ext in '' $ac_executable_extensions; do
++        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
++          if test $ac_prog = install &&
++            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
++            # AIX install.  It has an incompatible calling convention.
++            :
++          elif test $ac_prog = install &&
++            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
++            # program-specific install script used by HP pwplus--don't use.
++            :
++          else
++            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
++            break 3
++          fi
++        fi
++      done
++    done
++    ;;
++esac
++done
++
++
++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 "$as_me:$LINENO: result: $INSTALL" >&5
++echo "${ECHO_T}$INSTALL" >&6
++
++# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
++# It thinks the first close brace ends the variable substitution.
++test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
++
++test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
++
++test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
++
++echo "$as_me:$LINENO: checking whether build environment is sane" >&5
++echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
++# Just in case
++sleep 1
++echo timestamp > conftest.file
++# Do `set' in a subshell so we don't clobber the current shell's
++# arguments.  Must try -L first in case configure is actually a
++# symlink; some systems play weird games with the mod time of symlinks
++# (eg FreeBSD returns the mod time of the symlink's containing
++# directory).
++if (
++   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
++   if test "$*" = "X"; then
++      # -L didn't work.
++      set X `ls -t $srcdir/configure conftest.file`
++   fi
++   rm -f conftest.file
++   if test "$*" != "X $srcdir/configure conftest.file" \
++      && test "$*" != "X conftest.file $srcdir/configure"; then
++
++      # If neither matched, then we have a broken ls.  This can happen
++      # if, for instance, CONFIG_SHELL is bash and it inherits a
++      # broken ls alias from the environment.  This has actually
++      # happened.  Such a system could not be considered "sane".
++      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
++alias in your environment" >&5
++echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
++alias in your environment" >&2;}
++   { (exit 1); exit 1; }; }
++   fi
++
++   test "$2" = conftest.file
++   )
++then
++   # Ok.
++   :
++else
++   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
++Check your system clock" >&5
++echo "$as_me: error: newly created file is older than distributed files!
++Check your system clock" >&2;}
++   { (exit 1); exit 1; }; }
++fi
++echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++test "$program_prefix" != NONE &&
++  program_transform_name="s,^,$program_prefix,;$program_transform_name"
++# Use a double $ so make ignores it.
++test "$program_suffix" != NONE &&
++  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
++# Double any \ or $.  echo might interpret backslashes.
++# By default was `s,x,x', remove it if useless.
++cat <<\_ACEOF >conftest.sed
++s/[\\$]/&&/g;s/;s,x,x,$//
++_ACEOF
++program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
++rm conftest.sed
++
++
++# expand $ac_aux_dir to an absolute path
++am_aux_dir=`cd $ac_aux_dir && pwd`
++
++test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
++# Use eval to expand $SHELL
++if eval "$MISSING --run true"; then
++  am_missing_run="$MISSING --run "
++else
++  am_missing_run=
++  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
++echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
++fi
++
++for ac_prog in gawk mawk nawk awk
++do
++  # Extract the first word of "$ac_prog", so it can be a program name with args.
++set dummy $ac_prog; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_AWK+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$AWK"; then
++  ac_cv_prog_AWK="$AWK" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_AWK="$ac_prog"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++AWK=$ac_cv_prog_AWK
++if test -n "$AWK"; then
++  echo "$as_me:$LINENO: result: $AWK" >&5
++echo "${ECHO_T}$AWK" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  test -n "$AWK" && break
++done
++
++echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
++echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
++set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
++if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.make <<\_ACEOF
++all:
++	@echo 'ac_maketemp="$(MAKE)"'
++_ACEOF
++# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
++eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
++if test -n "$ac_maketemp"; then
++  eval ac_cv_prog_make_${ac_make}_set=yes
++else
++  eval ac_cv_prog_make_${ac_make}_set=no
++fi
++rm -f conftest.make
++fi
++if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
++  echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++  SET_MAKE=
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++  SET_MAKE="MAKE=${MAKE-make}"
++fi
++
++rm -f .deps 2>/dev/null
++mkdir .deps 2>/dev/null
++if test -d .deps; then
++  DEPDIR=.deps
++else
++  # MS-DOS does not allow filenames that begin with a dot.
++  DEPDIR=_deps
++fi
++rmdir .deps 2>/dev/null
++
++
++          ac_config_commands="$ac_config_commands depfiles"
++
++
++am_make=${MAKE-make}
++cat > confinc << 'END'
++doit:
++	@echo done
++END
++# If we don't find an include directive, just comment out the code.
++echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
++echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
++am__include="#"
++am__quote=
++_am_result=none
++# First try GNU make style include.
++echo "include confinc" > confmf
++# We grep out `Entering directory' and `Leaving directory'
++# messages which can occur if `w' ends up in MAKEFLAGS.
++# In particular we don't look at `^make:' because GNU make might
++# be invoked under some other name (usually "gmake"), in which
++# case it prints its new name instead of `make'.
++if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
++   am__include=include
++   am__quote=
++   _am_result=GNU
++fi
++# Now try BSD make style include.
++if test "$am__include" = "#"; then
++   echo '.include "confinc"' > confmf
++   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
++      am__include=.include
++      am__quote="\""
++      _am_result=BSD
++   fi
++fi
++
++
++echo "$as_me:$LINENO: result: $_am_result" >&5
++echo "${ECHO_T}$_am_result" >&6
++rm -f confinc confmf
++
++# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
++if test "${enable_dependency_tracking+set}" = set; then
++  enableval="$enable_dependency_tracking"
++  
++fi; 
++if test "x$enable_dependency_tracking" != xno; then
++  am_depcomp="$ac_aux_dir/depcomp"
++  AMDEPBACKSLASH='\'
++fi
++
++
++if test "x$enable_dependency_tracking" != xno; then
++  AMDEP_TRUE=
++  AMDEP_FALSE='#'
++else
++  AMDEP_TRUE='#'
++  AMDEP_FALSE=
++fi
++
++
++
++ # test to see if srcdir already configured
++if test "`cd $srcdir && pwd`" != "`pwd`" &&
++   test -f $srcdir/config.status; then
++  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
++echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
++   { (exit 1); exit 1; }; }
++fi
++
++# Define the identity of the package.
++ PACKAGE=heimdal
++ VERSION=0.6
++
++
++cat >>confdefs.h <<_ACEOF
++@%:@define PACKAGE "$PACKAGE"
++_ACEOF
++
++ 
++cat >>confdefs.h <<_ACEOF
++@%:@define VERSION "$VERSION"
++_ACEOF
++
++# Some tools Automake needs.
++
++ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
++
++
++AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
++
++
++AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
++
++
++AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
++
++
++MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
++
++
++AMTAR=${AMTAR-"${am_missing_run}tar"}
++
++install_sh=${install_sh-"$am_aux_dir/install-sh"}
++
++# Installed binaries are usually stripped using `strip' when the user
++# run `make install-strip'.  However `strip' might not be the right
++# tool to use in cross-compilation environments, therefore Automake
++# will honor the `STRIP' environment variable to overrule this program.
++if test "$cross_compiling" != no; then
++  if test -n "$ac_tool_prefix"; then
++  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
++set dummy ${ac_tool_prefix}strip; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_STRIP+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$STRIP"; then
++  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++STRIP=$ac_cv_prog_STRIP
++if test -n "$STRIP"; then
++  echo "$as_me:$LINENO: result: $STRIP" >&5
++echo "${ECHO_T}$STRIP" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++fi
++if test -z "$ac_cv_prog_STRIP"; then
++  ac_ct_STRIP=$STRIP
++  # Extract the first word of "strip", so it can be a program name with args.
++set dummy strip; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$ac_ct_STRIP"; then
++  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_ac_ct_STRIP="strip"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
++fi
++fi
++ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
++if test -n "$ac_ct_STRIP"; then
++  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
++echo "${ECHO_T}$ac_ct_STRIP" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  STRIP=$ac_ct_STRIP
++else
++  STRIP="$ac_cv_prog_STRIP"
++fi
++
++fi
++INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
++
++# We need awk for the "check" target.  The system "awk" is bad on
++# some platforms.
++
++
++depcc="$CC"   am_compiler_list=
++
++echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
++echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
++if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
++  # We make a subdir and do the tests there.  Otherwise we can end up
++  # making bogus files that we don't know about and never remove.  For
++  # instance it was reported that on HP-UX the gcc test will end up
++  # making a dummy file named `D' -- because `-MD' means `put the output
++  # in D'.
++  mkdir conftest.dir
++  # Copy depcomp to subdir because otherwise we won't find it if we're
++  # using a relative directory.
++  cp "$am_depcomp" conftest.dir
++  cd conftest.dir
++
++  am_cv_CC_dependencies_compiler_type=none
++  if test "$am_compiler_list" = ""; then
++     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
++  fi
++  for depmode in $am_compiler_list; do
++    # We need to recreate these files for each test, as the compiler may
++    # overwrite some of them when testing with obscure command lines.
++    # This happens at least with the AIX C compiler.
++    echo '#include "conftest.h"' > conftest.c
++    echo 'int i;' > conftest.h
++    echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
++
++    case $depmode in
++    nosideeffect)
++      # after this tag, mechanisms are not by side-effect, so they'll
++      # only be used when explicitly requested
++      if test "x$enable_dependency_tracking" = xyes; then
++	continue
++      else
++	break
++      fi
++      ;;
++    none) break ;;
++    esac
++    # We check with `-c' and `-o' for the sake of the "dashmstdout"
++    # mode.  It turns out that the SunPro C++ compiler does not properly
++    # handle `-M -o', and we need to detect this.
++    if depmode=$depmode \
++       source=conftest.c object=conftest.o \
++       depfile=conftest.Po tmpdepfile=conftest.TPo \
++       $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
++       grep conftest.h conftest.Po > /dev/null 2>&1 &&
++       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
++      am_cv_CC_dependencies_compiler_type=$depmode
++      break
++    fi
++  done
++
++  cd ..
++  rm -rf conftest.dir
++else
++  am_cv_CC_dependencies_compiler_type=none
++fi
++
++fi
++echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
++echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
++CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
++
++
++
++echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
++echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
++    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
++if test "${enable_maintainer_mode+set}" = set; then
++  enableval="$enable_maintainer_mode"
++  USE_MAINTAINER_MODE=$enableval
++else
++  USE_MAINTAINER_MODE=no
++fi; 
++  echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
++echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
++  
++
++if test $USE_MAINTAINER_MODE = yes; then
++  MAINTAINER_MODE_TRUE=
++  MAINTAINER_MODE_FALSE='#'
++else
++  MAINTAINER_MODE_TRUE='#'
++  MAINTAINER_MODE_FALSE=
++fi
++
++  MAINT=$MAINTAINER_MODE_TRUE
++  
++
++
++
++
++test "$sysconfdir" = '${prefix}/etc' && sysconfdir='/etc'
++test "$localstatedir" = '${prefix}/var' && localstatedir='/var/heimdal'
++
++# Make sure we can run config.sub.
++$ac_config_sub sun4 >/dev/null 2>&1 ||
++  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
++echo "$as_me: error: cannot run $ac_config_sub" >&2;}
++   { (exit 1); exit 1; }; }
++
++echo "$as_me:$LINENO: checking build system type" >&5
++echo $ECHO_N "checking build system type... $ECHO_C" >&6
++if test "${ac_cv_build+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_cv_build_alias=$build_alias
++test -z "$ac_cv_build_alias" &&
++  ac_cv_build_alias=`$ac_config_guess`
++test -z "$ac_cv_build_alias" &&
++  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
++echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
++   { (exit 1); exit 1; }; }
++ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
++  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
++echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
++   { (exit 1); exit 1; }; }
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_build" >&5
++echo "${ECHO_T}$ac_cv_build" >&6
++build=$ac_cv_build
++build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
++build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
++build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
++
++
++echo "$as_me:$LINENO: checking host system type" >&5
++echo $ECHO_N "checking host system type... $ECHO_C" >&6
++if test "${ac_cv_host+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_cv_host_alias=$host_alias
++test -z "$ac_cv_host_alias" &&
++  ac_cv_host_alias=$ac_cv_build_alias
++ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
++  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
++echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
++   { (exit 1); exit 1; }; }
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_host" >&5
++echo "${ECHO_T}$ac_cv_host" >&6
++host=$ac_cv_host
++host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
++host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
++host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
++
++
++CANONICAL_HOST=$host
++
++
++
++# Check whether --enable-largefile or --disable-largefile was given.
++if test "${enable_largefile+set}" = set; then
++  enableval="$enable_largefile"
++  
++fi; 
++if test "$enable_largefile" != no; then
++
++  echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
++echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
++if test "${ac_cv_sys_largefile_CC+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_cv_sys_largefile_CC=no
++     if test "$GCC" != yes; then
++       ac_save_CC=$CC
++       while :; do
++     	 # IRIX 6.2 and later do not support large files by default,
++     	 # so use the C compiler's -n32 option if that helps.
++         cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@include <sys/types.h>
++ /* Check that off_t can represent 2**63 - 1 correctly.
++    We can't simply define LARGE_OFF_T to be 9223372036854775807,
++    since some C++ compilers masquerading as C compilers
++    incorrectly reject 9223372036854775807.  */
++@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
++  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
++		       && LARGE_OFF_T % 2147483647 == 1)
++		      ? 1 : -1];
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++     	 rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext 
++     	 CC="$CC -n32"
++     	 rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_sys_largefile_CC=' -n32'; break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext 
++         break
++       done
++       CC=$ac_save_CC
++       rm -f conftest.$ac_ext
++    fi
++fi
++echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
++echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
++  if test "$ac_cv_sys_largefile_CC" != no; then
++    CC=$CC$ac_cv_sys_largefile_CC
++  fi
++
++  echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
++echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
++if test "${ac_cv_sys_file_offset_bits+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  while :; do
++  ac_cv_sys_file_offset_bits=no
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@include <sys/types.h>
++ /* Check that off_t can represent 2**63 - 1 correctly.
++    We can't simply define LARGE_OFF_T to be 9223372036854775807,
++    since some C++ compilers masquerading as C compilers
++    incorrectly reject 9223372036854775807.  */
++@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
++  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
++		       && LARGE_OFF_T % 2147483647 == 1)
++		      ? 1 : -1];
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@define _FILE_OFFSET_BITS 64
++@%:@include <sys/types.h>
++ /* Check that off_t can represent 2**63 - 1 correctly.
++    We can't simply define LARGE_OFF_T to be 9223372036854775807,
++    since some C++ compilers masquerading as C compilers
++    incorrectly reject 9223372036854775807.  */
++@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
++  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
++		       && LARGE_OFF_T % 2147483647 == 1)
++		      ? 1 : -1];
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_sys_file_offset_bits=64; break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++  break
++done
++fi
++echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
++echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
++if test "$ac_cv_sys_file_offset_bits" != no; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
++_ACEOF
++
++fi
++rm -f conftest*
++  echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
++echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
++if test "${ac_cv_sys_large_files+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  while :; do
++  ac_cv_sys_large_files=no
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@include <sys/types.h>
++ /* Check that off_t can represent 2**63 - 1 correctly.
++    We can't simply define LARGE_OFF_T to be 9223372036854775807,
++    since some C++ compilers masquerading as C compilers
++    incorrectly reject 9223372036854775807.  */
++@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
++  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
++		       && LARGE_OFF_T % 2147483647 == 1)
++		      ? 1 : -1];
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@define _LARGE_FILES 1
++@%:@include <sys/types.h>
++ /* Check that off_t can represent 2**63 - 1 correctly.
++    We can't simply define LARGE_OFF_T to be 9223372036854775807,
++    since some C++ compilers masquerading as C compilers
++    incorrectly reject 9223372036854775807.  */
++@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
++  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
++		       && LARGE_OFF_T % 2147483647 == 1)
++		      ? 1 : -1];
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_sys_large_files=1; break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++  break
++done
++fi
++echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
++echo "${ECHO_T}$ac_cv_sys_large_files" >&6
++if test "$ac_cv_sys_large_files" != no; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define _LARGE_FILES $ac_cv_sys_large_files
++_ACEOF
++
++fi
++rm -f conftest*
++fi
++
++if test "$enable_largefile" != no -a "$ac_cv_sys_large_files" != no; then
++	CPPFLAGS="$CPPFLAGS -D_LARGE_FILES=$ac_cv_sys_large_files"
++fi
++
++
++cat >>confdefs.h <<\_ACEOF
++@%:@define _GNU_SOURCE 1
++_ACEOF
++
++
++
++
++
++for ac_prog in 'bison -y' byacc
++do
++  # Extract the first word of "$ac_prog", so it can be a program name with args.
++set dummy $ac_prog; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_YACC+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$YACC"; then
++  ac_cv_prog_YACC="$YACC" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_YACC="$ac_prog"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++YACC=$ac_cv_prog_YACC
++if test -n "$YACC"; then
++  echo "$as_me:$LINENO: result: $YACC" >&5
++echo "${ECHO_T}$YACC" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  test -n "$YACC" && break
++done
++test -n "$YACC" || YACC="yacc"
++
++for ac_prog in flex lex
++do
++  # Extract the first word of "$ac_prog", so it can be a program name with args.
++set dummy $ac_prog; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_LEX+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$LEX"; then
++  ac_cv_prog_LEX="$LEX" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_LEX="$ac_prog"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++LEX=$ac_cv_prog_LEX
++if test -n "$LEX"; then
++  echo "$as_me:$LINENO: result: $LEX" >&5
++echo "${ECHO_T}$LEX" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  test -n "$LEX" && break
++done
++test -n "$LEX" || LEX=":"
++
++if test -z "$LEXLIB"
++then
++  echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
++echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
++if test "${ac_cv_lib_fl_yywrap+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-lfl  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char yywrap ();
++int
++main ()
++{
++yywrap ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_fl_yywrap=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_fl_yywrap=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
++echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
++if test $ac_cv_lib_fl_yywrap = yes; then
++  LEXLIB="-lfl"
++else
++  echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
++echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
++if test "${ac_cv_lib_l_yywrap+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ll  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char yywrap ();
++int
++main ()
++{
++yywrap ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_l_yywrap=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_l_yywrap=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
++echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
++if test $ac_cv_lib_l_yywrap = yes; then
++  LEXLIB="-ll"
++fi
++
++fi
++
++fi
++
++if test "x$LEX" != "x:"; then
++  echo "$as_me:$LINENO: checking lex output file root" >&5
++echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
++if test "${ac_cv_prog_lex_root+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  # The minimal lex program is just a single line: %%.  But some broken lexes
++# (Solaris, I think it was) want two %% lines, so accommodate them.
++cat >conftest.l <<_ACEOF
++%%
++%%
++_ACEOF
++{ (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
++  (eval $LEX conftest.l) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }
++if test -f lex.yy.c; then
++  ac_cv_prog_lex_root=lex.yy
++elif test -f lexyy.c; then
++  ac_cv_prog_lex_root=lexyy
++else
++  { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
++echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
++   { (exit 1); exit 1; }; }
++fi
++fi
++echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
++echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
++rm -f conftest.l
++LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
++
++echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
++echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
++if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  # POSIX says lex can declare yytext either as a pointer or an array; the
++# default is implementation-dependent. Figure out which it is, since
++# not all implementations provide the %pointer and %array declarations.
++ac_cv_prog_lex_yytext_pointer=no
++echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
++ac_save_LIBS=$LIBS
++LIBS="$LIBS $LEXLIB"
++cat >conftest.$ac_ext <<_ACEOF
++`cat $LEX_OUTPUT_ROOT.c`
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_prog_lex_yytext_pointer=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_save_LIBS
++rm -f "${LEX_OUTPUT_ROOT}.c"
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
++echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
++if test $ac_cv_prog_lex_yytext_pointer = yes; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define YYTEXT_POINTER 1
++_ACEOF
++
++fi
++
++fi
++if test "$LEX" = :; then
++  LEX=${am_missing_run}flex
++fi
++for ac_prog in gawk mawk nawk awk
++do
++  # Extract the first word of "$ac_prog", so it can be a program name with args.
++set dummy $ac_prog; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_AWK+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$AWK"; then
++  ac_cv_prog_AWK="$AWK" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_AWK="$ac_prog"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++AWK=$ac_cv_prog_AWK
++if test -n "$AWK"; then
++  echo "$as_me:$LINENO: result: $AWK" >&5
++echo "${ECHO_T}$AWK" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  test -n "$AWK" && break
++done
++
++echo "$as_me:$LINENO: checking for ln -s or something else" >&5
++echo $ECHO_N "checking for ln -s or something else... $ECHO_C" >&6
++if test "${ac_cv_prog_LN_S+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  rm -f conftestdata
++if ln -s X conftestdata 2>/dev/null
++then
++  rm -f conftestdata
++  ac_cv_prog_LN_S="ln -s"
++else
++  touch conftestdata1
++  if ln conftestdata1 conftestdata2; then
++    rm -f conftestdata*
++    ac_cv_prog_LN_S=ln
++  else
++    ac_cv_prog_LN_S=cp
++  fi
++fi
++fi
++LN_S="$ac_cv_prog_LN_S"
++echo "$as_me:$LINENO: result: $ac_cv_prog_LN_S" >&5
++echo "${ECHO_T}$ac_cv_prog_LN_S" >&6
++
++
++
++
++# Check whether --with-mips_abi or --without-mips_abi was given.
++if test "${with_mips_abi+set}" = set; then
++  withval="$with_mips_abi"
++  
++fi; 
++
++case "$host_os" in
++irix*)
++with_mips_abi="${with_mips_abi:-yes}"
++if test -n "$GCC"; then
++
++# GCC < 2.8 only supports the O32 ABI. GCC >= 2.8 has a flag to select
++# which ABI to use, but only supports (as of 2.8.1) the N32 and 64 ABIs.
++#
++# Default to N32, but if GCC doesn't grok -mabi=n32, we assume an old
++# GCC and revert back to O32. The same goes if O32 is asked for - old
++# GCCs doesn't like the -mabi option, and new GCCs can't output O32.
++#
++# Don't you just love *all* the different SGI ABIs?
++
++case "${with_mips_abi}" in 
++        32|o32) abi='-mabi=32';  abilibdirext=''     ;;
++       n32|yes) abi='-mabi=n32'; abilibdirext='32'  ;;
++        64) abi='-mabi=64';  abilibdirext='64'   ;;
++	no) abi=''; abilibdirext='';;
++         *) { { echo "$as_me:$LINENO: error: \"Invalid ABI specified\"" >&5
++echo "$as_me: error: \"Invalid ABI specified\"" >&2;}
++   { (exit 1); exit 1; }; } ;;
++esac
++if test -n "$abi" ; then
++ac_foo=krb_cv_gcc_`echo $abi | tr =- __`
++echo "$as_me:$LINENO: checking if $CC supports the $abi option" >&5
++echo $ECHO_N "checking if $CC supports the $abi option... $ECHO_C" >&6
++if eval "test \"\${$ac_foo+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++save_CFLAGS="$CFLAGS"
++CFLAGS="$CFLAGS $abi"
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++int x;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval $ac_foo=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval $ac_foo=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++CFLAGS="$save_CFLAGS"
++
++fi
++
++ac_res=`eval echo \\\$$ac_foo`
++echo "$as_me:$LINENO: result: $ac_res" >&5
++echo "${ECHO_T}$ac_res" >&6
++if test $ac_res = no; then
++# Try to figure out why that failed...
++case $abi in
++	-mabi=32) 
++	save_CFLAGS="$CFLAGS"
++	CFLAGS="$CFLAGS -mabi=n32"
++	cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++int x;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_res=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_res=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++	CLAGS="$save_CFLAGS"
++	if test $ac_res = yes; then
++		# New GCC
++		{ { echo "$as_me:$LINENO: error: $CC does not support the $with_mips_abi ABI" >&5
++echo "$as_me: error: $CC does not support the $with_mips_abi ABI" >&2;}
++   { (exit 1); exit 1; }; }
++	fi
++	# Old GCC
++	abi=''
++	abilibdirext=''
++	;;
++	-mabi=n32|-mabi=64)
++		if test $with_mips_abi = yes; then
++			# Old GCC, default to O32
++			abi=''
++			abilibdirext=''
++		else
++			# Some broken GCC
++			{ { echo "$as_me:$LINENO: error: $CC does not support the $with_mips_abi ABI" >&5
++echo "$as_me: error: $CC does not support the $with_mips_abi ABI" >&2;}
++   { (exit 1); exit 1; }; }
++		fi
++	;;
++esac
++fi #if test $ac_res = no; then
++fi #if test -n "$abi" ; then
++else
++case "${with_mips_abi}" in
++        32|o32) abi='-32'; abilibdirext=''     ;;
++       n32|yes) abi='-n32'; abilibdirext='32'  ;;
++        64) abi='-64'; abilibdirext='64'   ;;
++	no) abi=''; abilibdirext='';;
++         *) { { echo "$as_me:$LINENO: error: \"Invalid ABI specified\"" >&5
++echo "$as_me: error: \"Invalid ABI specified\"" >&2;}
++   { (exit 1); exit 1; }; } ;;
++esac
++fi #if test -n "$GCC"; then
++;;
++esac
++
++CC="$CC $abi"
++libdir="$libdir$abilibdirext"
++
++
++echo "$as_me:$LINENO: checking for __attribute__" >&5
++echo $ECHO_N "checking for __attribute__... $ECHO_C" >&6
++if test "${ac_cv___attribute__+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#include <stdlib.h>
++
++int
++main ()
++{
++
++static void foo(void) __attribute__ ((noreturn));
++
++static void
++foo(void)
++{
++  exit(1);
++}
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv___attribute__=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv___attribute__=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++
++if test "$ac_cv___attribute__" = "yes"; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE___ATTRIBUTE__ 1
++_ACEOF
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv___attribute__" >&5
++echo "${ECHO_T}$ac_cv___attribute__" >&6
++
++
++# Check whether --enable-shared or --disable-shared was given.
++if test "${enable_shared+set}" = set; then
++  enableval="$enable_shared"
++  p=${PACKAGE-default}
++    case $enableval in
++    yes) enable_shared=yes ;;
++    no) enable_shared=no ;;
++    *)
++      enable_shared=no
++      # Look at the argument we got.  We use all the common list separators.
++      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
++      for pkg in $enableval; do
++	IFS="$lt_save_ifs"
++	if test "X$pkg" = "X$p"; then
++	  enable_shared=yes
++	fi
++      done
++      IFS="$lt_save_ifs"
++      ;;
++    esac
++else
++  enable_shared=no
++fi; 
++
++# Check whether --enable-static or --disable-static was given.
++if test "${enable_static+set}" = set; then
++  enableval="$enable_static"
++  p=${PACKAGE-default}
++    case $enableval in
++    yes) enable_static=yes ;;
++    no) enable_static=no ;;
++    *)
++     enable_static=no
++      # Look at the argument we got.  We use all the common list separators.
++      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
++      for pkg in $enableval; do
++	IFS="$lt_save_ifs"
++	if test "X$pkg" = "X$p"; then
++	  enable_static=yes
++	fi
++      done
++      IFS="$lt_save_ifs"
++      ;;
++    esac
++else
++  enable_static=yes
++fi; 
++
++# Check whether --enable-fast-install or --disable-fast-install was given.
++if test "${enable_fast_install+set}" = set; then
++  enableval="$enable_fast_install"
++  p=${PACKAGE-default}
++    case $enableval in
++    yes) enable_fast_install=yes ;;
++    no) enable_fast_install=no ;;
++    *)
++      enable_fast_install=no
++      # Look at the argument we got.  We use all the common list separators.
++      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
++      for pkg in $enableval; do
++	IFS="$lt_save_ifs"
++	if test "X$pkg" = "X$p"; then
++	  enable_fast_install=yes
++	fi
++      done
++      IFS="$lt_save_ifs"
++      ;;
++    esac
++else
++  enable_fast_install=yes
++fi; 
++
++echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
++echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
++if test "${lt_cv_path_SED+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  # Loop through the user's path and test for sed and gsed.
++# Then use that list of sed's as ones to test for truncation.
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for lt_ac_prog in sed gsed; do
++    for ac_exec_ext in '' $ac_executable_extensions; do
++      if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
++        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
++      fi
++    done
++  done
++done
++lt_ac_max=0
++lt_ac_count=0
++# Add /usr/xpg4/bin/sed as it is typically found on Solaris
++# along with /bin/sed that truncates output.
++for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
++  test ! -f $lt_ac_sed && break
++  cat /dev/null > conftest.in
++  lt_ac_count=0
++  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
++  # Check for GNU sed and select it if it is found.
++  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
++    lt_cv_path_SED=$lt_ac_sed
++    break
++  fi
++  while true; do
++    cat conftest.in conftest.in >conftest.tmp
++    mv conftest.tmp conftest.in
++    cp conftest.in conftest.nl
++    echo >>conftest.nl
++    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
++    cmp -s conftest.out conftest.nl || break
++    # 10000 chars as input seems more than enough
++    test $lt_ac_count -gt 10 && break
++    lt_ac_count=`expr $lt_ac_count + 1`
++    if test $lt_ac_count -gt $lt_ac_max; then
++      lt_ac_max=$lt_ac_count
++      lt_cv_path_SED=$lt_ac_sed
++    fi
++  done
++done
++SED=$lt_cv_path_SED
++
++fi
++
++echo "$as_me:$LINENO: result: $SED" >&5
++echo "${ECHO_T}$SED" >&6
++
++echo "$as_me:$LINENO: checking for egrep" >&5
++echo $ECHO_N "checking for egrep... $ECHO_C" >&6
++if test "${ac_cv_prog_egrep+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
++    then ac_cv_prog_egrep='grep -E'
++    else ac_cv_prog_egrep='egrep'
++    fi
++fi
++echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
++echo "${ECHO_T}$ac_cv_prog_egrep" >&6
++ EGREP=$ac_cv_prog_egrep
++ 
++
++
++# Check whether --with-gnu-ld or --without-gnu-ld was given.
++if test "${with_gnu_ld+set}" = set; then
++  withval="$with_gnu_ld"
++  test "$withval" = no || with_gnu_ld=yes
++else
++  with_gnu_ld=no
++fi; 
++ac_prog=ld
++if test "$GCC" = yes; then
++  # Check if gcc -print-prog-name=ld gives a path.
++  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
++echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
++  case $host in
++  *-*-mingw*)
++    # gcc leaves a trailing carriage return which upsets mingw
++    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
++  *)
++    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
++  esac
++  case $ac_prog in
++    # Accept absolute paths.
++    [\\/]* | ?:[\\/]*)
++      re_direlt='/[^/][^/]*/\.\./'
++      # Canonicalize the pathname of ld
++      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
++      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
++	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
++      done
++      test -z "$LD" && LD="$ac_prog"
++      ;;
++  "")
++    # If it fails, then pretend we aren't using GCC.
++    ac_prog=ld
++    ;;
++  *)
++    # If it is relative, then search for the first ld in PATH.
++    with_gnu_ld=unknown
++    ;;
++  esac
++elif test "$with_gnu_ld" = yes; then
++  echo "$as_me:$LINENO: checking for GNU ld" >&5
++echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
++else
++  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
++echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
++fi
++if test "${lt_cv_path_LD+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -z "$LD"; then
++  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
++  for ac_dir in $PATH; do
++    IFS="$lt_save_ifs"
++    test -z "$ac_dir" && ac_dir=.
++    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
++      lt_cv_path_LD="$ac_dir/$ac_prog"
++      # Check to see if the program is GNU ld.  I'd rather use --version,
++      # but apparently some GNU ld's only accept -v.
++      # Break only if it was the GNU/non-GNU ld that we prefer.
++      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
++      *GNU* | *'with BFD'*)
++	test "$with_gnu_ld" != no && break
++	;;
++      *)
++	test "$with_gnu_ld" != yes && break
++	;;
++      esac
++    fi
++  done
++  IFS="$lt_save_ifs"
++else
++  lt_cv_path_LD="$LD" # Let the user override the test with a path.
++fi
++fi
++
++LD="$lt_cv_path_LD"
++if test -n "$LD"; then
++  echo "$as_me:$LINENO: result: $LD" >&5
++echo "${ECHO_T}$LD" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
++echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
++   { (exit 1); exit 1; }; }
++echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
++echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
++if test "${lt_cv_prog_gnu_ld+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
++case `$LD -v 2>&1 </dev/null` in
++*GNU* | *'with BFD'*)
++  lt_cv_prog_gnu_ld=yes
++  ;;
++*)
++  lt_cv_prog_gnu_ld=no
++  ;;
++esac
++fi
++echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
++echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
++with_gnu_ld=$lt_cv_prog_gnu_ld
++
++
++echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
++echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
++if test "${lt_cv_ld_reload_flag+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  lt_cv_ld_reload_flag='-r'
++fi
++echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
++echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
++reload_flag=$lt_cv_ld_reload_flag
++case $reload_flag in
++"" | " "*) ;;
++*) reload_flag=" $reload_flag" ;;
++esac
++reload_cmds='$LD$reload_flag -o $output$reload_objs'
++
++echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
++echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
++if test "${lt_cv_path_NM+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$NM"; then
++  # Let the user override the test.
++  lt_cv_path_NM="$NM"
++else
++  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
++  for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
++    IFS="$lt_save_ifs"
++    test -z "$ac_dir" && ac_dir=.
++    tmp_nm="$ac_dir/${ac_tool_prefix}nm"
++    if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
++      # Check to see if the nm accepts a BSD-compat flag.
++      # Adding the `sed 1q' prevents false positives on HP-UX, which says:
++      #   nm: unknown option "B" ignored
++      # Tru64's nm complains that /dev/null is an invalid object file
++      case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
++      */dev/null* | *'Invalid file or object type'*)
++	lt_cv_path_NM="$tmp_nm -B"
++	break
++        ;;
++      *)
++	case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
++	*/dev/null*)
++	  lt_cv_path_NM="$tmp_nm -p"
++	  break
++	  ;;
++	*)
++	  lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
++	  continue # so that we can try to find one that supports BSD flags
++	  ;;
++	esac
++      esac
++    fi
++  done
++  IFS="$lt_save_ifs"
++  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
++fi
++fi
++echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
++echo "${ECHO_T}$lt_cv_path_NM" >&6
++NM="$lt_cv_path_NM"
++
++echo "$as_me:$LINENO: checking whether ln -s works" >&5
++echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
++LN_S=$as_ln_s
++if test "$LN_S" = "ln -s"; then
++  echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++else
++  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
++echo "${ECHO_T}no, using $LN_S" >&6
++fi
++
++echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
++echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
++if test "${lt_cv_deplibs_check_method+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  lt_cv_file_magic_cmd='$MAGIC_CMD'
++lt_cv_file_magic_test_file=
++lt_cv_deplibs_check_method='unknown'
++# Need to set the preceding variable on all platforms that support
++# interlibrary dependencies.
++# 'none' -- dependencies not supported.
++# `unknown' -- same as none, but documents that we really don't know.
++# 'pass_all' -- all dependencies passed with no checks.
++# 'test_compile' -- check by making test program.
++# 'file_magic [[regex]]' -- check by looking for files in library path
++# which responds to the $file_magic_cmd with a given extended regex.
++# If you have `file' or equivalent on your system and you're not sure
++# whether `pass_all' will *always* work, you probably want this one.
++
++case $host_os in
++aix4* | aix5*)
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++
++beos*)
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++
++bsdi4*)
++  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
++  lt_cv_file_magic_cmd='/usr/bin/file -L'
++  lt_cv_file_magic_test_file=/shlib/libc.so
++  ;;
++
++cygwin* | mingw* | pw32*)
++  # win32_libid is a shell function defined in ltmain.sh
++  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
++  lt_cv_file_magic_cmd='win32_libid'
++  ;;
++
++darwin* | rhapsody*)
++  # this will be overwritten by pass_all, but leave it in just in case
++  lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
++  lt_cv_file_magic_cmd='/usr/bin/file -L'
++  case "$host_os" in
++  rhapsody* | darwin1.[012])
++    lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System`
++    ;;
++  *) # Darwin 1.3 on
++    lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
++    ;;
++  esac
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++
++freebsd* | kfreebsd*-gnu)
++  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
++    case $host_cpu in
++    i*86 )
++      # Not sure whether the presence of OpenBSD here was a mistake.
++      # Let's accept both of them until this is cleared up.
++      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
++      lt_cv_file_magic_cmd=/usr/bin/file
++      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
++      ;;
++    esac
++  else
++    lt_cv_deplibs_check_method=pass_all
++  fi
++  ;;
++
++gnu*)
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++
++hpux10.20* | hpux11*)
++  lt_cv_file_magic_cmd=/usr/bin/file
++  case "$host_cpu" in
++  ia64*)
++    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
++    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
++    ;;
++  hppa*64*)
++    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
++    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
++    ;;
++  *)
++    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
++    lt_cv_file_magic_test_file=/usr/lib/libc.sl
++    ;;
++  esac
++  ;;
++
++irix5* | irix6* | nonstopux*)
++  case $host_os in
++  irix5* | nonstopux*)
++    # this will be overridden with pass_all, but let us keep it just in case
++    lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
++    ;;
++  *)
++    case $LD in
++    *-32|*"-32 ") libmagic=32-bit;;
++    *-n32|*"-n32 ") libmagic=N32;;
++    *-64|*"-64 ") libmagic=64-bit;;
++    *) libmagic=never-match;;
++    esac
++    # this will be overridden with pass_all, but let us keep it just in case
++    lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
++    ;;
++  esac
++  lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++
++# This must be Linux ELF.
++linux*)
++  # linux always uses pass_all now, this code is the old way (tm)
++  case $host_cpu in
++  alpha* | hppa* | i*86 | ia64* | m68* | mips* | powerpc* | sparc* | s390* | sh*)
++    lt_cv_deplibs_check_method=pass_all ;;
++  *)
++    # glibc up to 2.1.1 does not perform some relocations on ARM
++    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
++  esac
++  lt_cv_deplibs_check_method=pass_all
++  lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
++  ;;
++
++netbsd*)
++  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
++    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
++  else
++    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
++  fi
++  ;;
++
++newos6*)
++  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
++  lt_cv_file_magic_cmd=/usr/bin/file
++  lt_cv_file_magic_test_file=/usr/lib/libnls.so
++  ;;
++
++nto-qnx*)
++  lt_cv_deplibs_check_method=unknown
++  ;;
++
++openbsd*)
++  lt_cv_file_magic_cmd=/usr/bin/file
++  lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
++  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
++    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
++  else
++    lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
++  fi
++  ;;
++
++osf3* | osf4* | osf5*)
++  # this will be overridden with pass_all, but let us keep it just in case
++  lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
++  lt_cv_file_magic_test_file=/shlib/libc.so
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++
++sco3.2v5*)
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++
++solaris*)
++  lt_cv_deplibs_check_method=pass_all
++  lt_cv_file_magic_test_file=/lib/libc.so
++  ;;
++
++sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
++  case $host_vendor in
++  motorola)
++    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
++    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
++    ;;
++  ncr)
++    lt_cv_deplibs_check_method=pass_all
++    ;;
++  sequent)
++    lt_cv_file_magic_cmd='/bin/file'
++    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
++    ;;
++  sni)
++    lt_cv_file_magic_cmd='/bin/file'
++    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
++    lt_cv_file_magic_test_file=/lib/libc.so
++    ;;
++  siemens)
++    lt_cv_deplibs_check_method=pass_all
++    ;;
++  esac
++  ;;
++
++sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++esac
++
++fi
++echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
++echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
++file_magic_cmd=$lt_cv_file_magic_cmd
++deplibs_check_method=$lt_cv_deplibs_check_method
++test -z "$deplibs_check_method" && deplibs_check_method=unknown
++
++
++# If no C compiler was specified, use CC.
++LTCC=${LTCC-"$CC"}
++
++# Allow CC to be a program name with arguments.
++compiler=$CC
++
++# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
++if test "${enable_libtool_lock+set}" = set; then
++  enableval="$enable_libtool_lock"
++  
++fi; 
++test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
++
++# Some flags need to be propagated to the compiler or linker for good
++# libtool support.
++case $host in
++ia64-*-hpux*)
++  # Find out which ABI we are using.
++  echo 'int i;' > conftest.$ac_ext
++  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; then
++    case `/usr/bin/file conftest.$ac_objext` in
++    *ELF-32*)
++      HPUX_IA64_MODE="32"
++      ;;
++    *ELF-64*)
++      HPUX_IA64_MODE="64"
++      ;;
++    esac
++  fi
++  rm -rf conftest*
++  ;;
++*-*-irix6*)
++  # Find out which ABI we are using.
++  echo '#line __oline__ "configure"' > conftest.$ac_ext
++  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; then
++   if test "$lt_cv_prog_gnu_ld" = yes; then
++    case `/usr/bin/file conftest.$ac_objext` in
++    *32-bit*)
++      LD="${LD-ld} -melf32bsmip"
++      ;;
++    *N32*)
++      LD="${LD-ld} -melf32bmipn32"
++      ;;
++    *64-bit*)
++      LD="${LD-ld} -melf64bmip"
++      ;;
++    esac
++   else
++    case `/usr/bin/file conftest.$ac_objext` in
++    *32-bit*)
++      LD="${LD-ld} -32"
++      ;;
++    *N32*)
++      LD="${LD-ld} -n32"
++      ;;
++    *64-bit*)
++      LD="${LD-ld} -64"
++      ;;
++    esac
++   fi
++  fi
++  rm -rf conftest*
++  ;;
++
++x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
++  # Find out which ABI we are using.
++  echo 'int i;' > conftest.$ac_ext
++  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; then
++    case "`/usr/bin/file conftest.o`" in
++    *32-bit*)
++      case $host in
++        x86_64-*linux*)
++          LD="${LD-ld} -m elf_i386"
++          ;;
++        ppc64-*linux*|powerpc64-*linux*)
++          LD="${LD-ld} -m elf32ppclinux"
++          ;;
++        s390x-*linux*)
++          LD="${LD-ld} -m elf_s390"
++          ;;
++        sparc64-*linux*)
++          LD="${LD-ld} -m elf32_sparc"
++          ;;
++      esac
++      ;;
++    *64-bit*)
++      case $host in
++        x86_64-*linux*)
++          LD="${LD-ld} -m elf_x86_64"
++          ;;
++        ppc*-*linux*|powerpc*-*linux*)
++          LD="${LD-ld} -m elf64ppc"
++          ;;
++        s390*-*linux*)
++          LD="${LD-ld} -m elf64_s390"
++          ;;
++        sparc*-*linux*)
++          LD="${LD-ld} -m elf64_sparc"
++          ;;
++      esac
++      ;;
++    esac
++  fi
++  rm -rf conftest*
++  ;;
++
++*-*-sco3.2v5*)
++  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
++  SAVE_CFLAGS="$CFLAGS"
++  CFLAGS="$CFLAGS -belf"
++  echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
++echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
++if test "${lt_cv_cc_needs_belf+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++     cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  lt_cv_cc_needs_belf=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++lt_cv_cc_needs_belf=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++     ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++fi
++echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
++echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
++  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
++    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
++    CFLAGS="$SAVE_CFLAGS"
++  fi
++  ;;
++
++esac
++
++need_locks="$enable_libtool_lock"
++
++
++
++echo "$as_me:$LINENO: checking for ANSI C header files" >&5
++echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
++if test "${ac_cv_header_stdc+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdlib.h>
++#include <stdarg.h>
++#include <string.h>
++#include <float.h>
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_header_stdc=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_header_stdc=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++
++if test $ac_cv_header_stdc = yes; then
++  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <string.h>
++
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  $EGREP "memchr" >/dev/null 2>&1; then
++  :
++else
++  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 <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdlib.h>
++
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  $EGREP "free" >/dev/null 2>&1; then
++  :
++else
++  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 <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <ctype.h>
++#if ((' ' & 0x0FF) == 0x020)
++# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
++# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
++#else
++# define ISLOWER(c) \
++                   (('a' <= (c) && (c) <= 'i') \
++                     || ('j' <= (c) && (c) <= 'r') \
++                     || ('s' <= (c) && (c) <= 'z'))
++# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
++#endif
++
++#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);
++}
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  :
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++( exit $ac_status )
++ac_cv_header_stdc=no
++fi
++rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++fi
++fi
++echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
++echo "${ECHO_T}$ac_cv_header_stdc" >&6
++if test $ac_cv_header_stdc = yes; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define STDC_HEADERS 1
++_ACEOF
++
++fi
++
++# On IRIX 5.3, sys/types and inttypes.h are conflicting.
++
++
++
++
++
++
++
++
++
++for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
++                  inttypes.h stdint.h unistd.h
++do
++as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++
++@%:@include <$ac_header>
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_Header=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_Header=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++if test `eval echo '${'$as_ac_Header'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++
++done
++
++
++
++for ac_header in dlfcn.h
++do
++as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++else
++  # Is the header compilable?
++echo "$as_me:$LINENO: checking $ac_header usability" >&5
++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++@%:@include <$ac_header>
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_header_compiler=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_header_compiler=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
++echo "${ECHO_T}$ac_header_compiler" >&6
++
++# Is the header present?
++echo "$as_me:$LINENO: checking $ac_header presence" >&5
++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@include <$ac_header>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  ac_header_preproc=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++  ac_header_preproc=no
++fi
++rm -f conftest.err conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
++echo "${ECHO_T}$ac_header_preproc" >&6
++
++# So?  What about this header?
++case $ac_header_compiler:$ac_header_preproc in
++  yes:no )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
++echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
++    (
++      cat <<\_ASBOX
++@%:@@%:@ ------------------------------------ @%:@@%:@
++@%:@@%:@ Report this to bug-autoconf@gnu.org. @%:@@%:@
++@%:@@%:@ ------------------------------------ @%:@@%:@
++_ASBOX
++    ) |
++      sed "s/^/$as_me: WARNING:     /" >&2
++    ;;
++  no:yes )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
++echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
++echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
++    (
++      cat <<\_ASBOX
++@%:@@%:@ ------------------------------------ @%:@@%:@
++@%:@@%:@ Report this to bug-autoconf@gnu.org. @%:@@%:@
++@%:@@%:@ ------------------------------------ @%:@@%:@
++_ASBOX
++    ) |
++      sed "s/^/$as_me: WARNING:     /" >&2
++    ;;
++esac
++echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  eval "$as_ac_Header=$ac_header_preproc"
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++
++fi
++if test `eval echo '${'$as_ac_Header'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++
++done
++
++ac_ext=cc
++ac_cpp='$CXXCPP $CPPFLAGS'
++ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
++if test -n "$ac_tool_prefix"; then
++  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
++  do
++    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
++set dummy $ac_tool_prefix$ac_prog; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_CXX+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$CXX"; then
++  ac_cv_prog_CXX="$CXX" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++CXX=$ac_cv_prog_CXX
++if test -n "$CXX"; then
++  echo "$as_me:$LINENO: result: $CXX" >&5
++echo "${ECHO_T}$CXX" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++    test -n "$CXX" && break
++  done
++fi
++if test -z "$CXX"; then
++  ac_ct_CXX=$CXX
++  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
++do
++  # Extract the first word of "$ac_prog", so it can be a program name with args.
++set dummy $ac_prog; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$ac_ct_CXX"; then
++  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_ac_ct_CXX="$ac_prog"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
++if test -n "$ac_ct_CXX"; then
++  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
++echo "${ECHO_T}$ac_ct_CXX" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  test -n "$ac_ct_CXX" && break
++done
++test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
++
++  CXX=$ac_ct_CXX
++fi
++
++
++# Provide some information about the compiler.
++echo "$as_me:$LINENO:" \
++     "checking for C++ compiler version" >&5
++ac_compiler=`set X $ac_compile; echo $2`
++{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
++  (eval $ac_compiler --version </dev/null >&5) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }
++{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
++  (eval $ac_compiler -v </dev/null >&5) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }
++{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
++  (eval $ac_compiler -V </dev/null >&5) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }
++
++echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
++echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
++if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++#ifndef __GNUC__
++       choke me
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_compiler_gnu=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_compiler_gnu=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
++echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
++GXX=`test $ac_compiler_gnu = yes && echo yes`
++ac_test_CXXFLAGS=${CXXFLAGS+set}
++ac_save_CXXFLAGS=$CXXFLAGS
++CXXFLAGS="-g"
++echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
++echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
++if test "${ac_cv_prog_cxx_g+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_prog_cxx_g=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_prog_cxx_g=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
++echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
++if test "$ac_test_CXXFLAGS" = set; then
++  CXXFLAGS=$ac_save_CXXFLAGS
++elif test $ac_cv_prog_cxx_g = yes; then
++  if test "$GXX" = yes; then
++    CXXFLAGS="-g -O2"
++  else
++    CXXFLAGS="-g"
++  fi
++else
++  if test "$GXX" = yes; then
++    CXXFLAGS="-O2"
++  else
++    CXXFLAGS=
++  fi
++fi
++for ac_declaration in \
++   '' \
++   'extern "C" void std::exit (int) throw (); using std::exit;' \
++   'extern "C" void std::exit (int); using std::exit;' \
++   'extern "C" void exit (int) throw ();' \
++   'extern "C" void exit (int);' \
++   'void exit (int);'
++do
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_declaration
++@%:@include <stdlib.h>
++int
++main ()
++{
++exit (42);
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  :
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++continue
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_declaration
++int
++main ()
++{
++exit (42);
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++done
++rm -f conftest*
++if test -n "$ac_declaration"; then
++  echo '#ifdef __cplusplus' >>confdefs.h
++  echo $ac_declaration      >>confdefs.h
++  echo '#endif'             >>confdefs.h
++fi
++
++ac_ext=cc
++ac_cpp='$CXXCPP $CPPFLAGS'
++ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
++
++depcc="$CXX"  am_compiler_list=
++
++echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
++echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
++if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
++  # We make a subdir and do the tests there.  Otherwise we can end up
++  # making bogus files that we don't know about and never remove.  For
++  # instance it was reported that on HP-UX the gcc test will end up
++  # making a dummy file named `D' -- because `-MD' means `put the output
++  # in D'.
++  mkdir conftest.dir
++  # Copy depcomp to subdir because otherwise we won't find it if we're
++  # using a relative directory.
++  cp "$am_depcomp" conftest.dir
++  cd conftest.dir
++
++  am_cv_CXX_dependencies_compiler_type=none
++  if test "$am_compiler_list" = ""; then
++     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
++  fi
++  for depmode in $am_compiler_list; do
++    # We need to recreate these files for each test, as the compiler may
++    # overwrite some of them when testing with obscure command lines.
++    # This happens at least with the AIX C compiler.
++    echo '#include "conftest.h"' > conftest.c
++    echo 'int i;' > conftest.h
++    echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
++
++    case $depmode in
++    nosideeffect)
++      # after this tag, mechanisms are not by side-effect, so they'll
++      # only be used when explicitly requested
++      if test "x$enable_dependency_tracking" = xyes; then
++	continue
++      else
++	break
++      fi
++      ;;
++    none) break ;;
++    esac
++    # We check with `-c' and `-o' for the sake of the "dashmstdout"
++    # mode.  It turns out that the SunPro C++ compiler does not properly
++    # handle `-M -o', and we need to detect this.
++    if depmode=$depmode \
++       source=conftest.c object=conftest.o \
++       depfile=conftest.Po tmpdepfile=conftest.TPo \
++       $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
++       grep conftest.h conftest.Po > /dev/null 2>&1 &&
++       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
++      am_cv_CXX_dependencies_compiler_type=$depmode
++      break
++    fi
++  done
++
++  cd ..
++  rm -rf conftest.dir
++else
++  am_cv_CXX_dependencies_compiler_type=none
++fi
++
++fi
++echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
++echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
++CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
++
++
++ac_ext=cc
++ac_cpp='$CXXCPP $CPPFLAGS'
++ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
++echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
++echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
++if test -z "$CXXCPP"; then
++  if test "${ac_cv_prog_CXXCPP+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++      # Double quotes because CXXCPP needs to be expanded
++    for CXXCPP in "$CXX -E" "/lib/cpp"
++    do
++      ac_preproc_ok=false
++for ac_cxx_preproc_warn_flag in '' yes
++do
++  # Use a header file that comes with gcc, so configuring glibc
++  # with a fresh cross-compiler works.
++  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++  # <limits.h> exists even on freestanding compilers.
++  # On the NeXT, cc -E runs the code through the compiler's parser,
++  # not just through cpp. "Syntax error" is here to catch this case.
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@ifdef __STDC__
++@%:@ include <limits.h>
++@%:@else
++@%:@ include <assert.h>
++@%:@endif
++                     Syntax error
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_cxx_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  :
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++  # Broken: fails on valid input.
++continue
++fi
++rm -f conftest.err conftest.$ac_ext
++
++  # OK, works on sane cases.  Now check whether non-existent headers
++  # can be detected and how.
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@include <ac_nonexistent.h>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_cxx_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  # Broken: success on invalid input.
++continue
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++  # Passes both tests.
++ac_preproc_ok=:
++break
++fi
++rm -f conftest.err conftest.$ac_ext
++
++done
++# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
++rm -f conftest.err conftest.$ac_ext
++if $ac_preproc_ok; then
++  break
++fi
++
++    done
++    ac_cv_prog_CXXCPP=$CXXCPP
++  
++fi
++  CXXCPP=$ac_cv_prog_CXXCPP
++else
++  ac_cv_prog_CXXCPP=$CXXCPP
++fi
++echo "$as_me:$LINENO: result: $CXXCPP" >&5
++echo "${ECHO_T}$CXXCPP" >&6
++ac_preproc_ok=false
++for ac_cxx_preproc_warn_flag in '' yes
++do
++  # Use a header file that comes with gcc, so configuring glibc
++  # with a fresh cross-compiler works.
++  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++  # <limits.h> exists even on freestanding compilers.
++  # On the NeXT, cc -E runs the code through the compiler's parser,
++  # not just through cpp. "Syntax error" is here to catch this case.
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@ifdef __STDC__
++@%:@ include <limits.h>
++@%:@else
++@%:@ include <assert.h>
++@%:@endif
++                     Syntax error
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_cxx_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  :
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++  # Broken: fails on valid input.
++continue
++fi
++rm -f conftest.err conftest.$ac_ext
++
++  # OK, works on sane cases.  Now check whether non-existent headers
++  # can be detected and how.
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@include <ac_nonexistent.h>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_cxx_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  # Broken: success on invalid input.
++continue
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++  # Passes both tests.
++ac_preproc_ok=:
++break
++fi
++rm -f conftest.err conftest.$ac_ext
++
++done
++# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
++rm -f conftest.err conftest.$ac_ext
++if $ac_preproc_ok; then
++  :
++else
++  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
++See \`config.log' for more details." >&5
++echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
++See \`config.log' for more details." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++
++ac_ext=cc
++ac_cpp='$CXXCPP $CPPFLAGS'
++ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
++
++
++ac_ext=f
++ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
++ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_f77_compiler_gnu
++if test -n "$ac_tool_prefix"; then
++  for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
++  do
++    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
++set dummy $ac_tool_prefix$ac_prog; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_F77+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$F77"; then
++  ac_cv_prog_F77="$F77" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++F77=$ac_cv_prog_F77
++if test -n "$F77"; then
++  echo "$as_me:$LINENO: result: $F77" >&5
++echo "${ECHO_T}$F77" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++    test -n "$F77" && break
++  done
++fi
++if test -z "$F77"; then
++  ac_ct_F77=$F77
++  for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
++do
++  # Extract the first word of "$ac_prog", so it can be a program name with args.
++set dummy $ac_prog; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$ac_ct_F77"; then
++  ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_ac_ct_F77="$ac_prog"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++ac_ct_F77=$ac_cv_prog_ac_ct_F77
++if test -n "$ac_ct_F77"; then
++  echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
++echo "${ECHO_T}$ac_ct_F77" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  test -n "$ac_ct_F77" && break
++done
++
++  F77=$ac_ct_F77
++fi
++
++
++# Provide some information about the compiler.
++echo "$as_me:__oline__:" \
++     "checking for Fortran 77 compiler version" >&5
++ac_compiler=`set X $ac_compile; echo $2`
++{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
++  (eval $ac_compiler --version </dev/null >&5) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }
++{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
++  (eval $ac_compiler -v </dev/null >&5) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }
++{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
++  (eval $ac_compiler -V </dev/null >&5) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }
++
++# If we don't use `.F' as extension, the preprocessor is not run on the
++# input file.
++ac_save_ext=$ac_ext
++ac_ext=F
++echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
++echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
++if test "${ac_cv_f77_compiler_gnu+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++      program main
++#ifndef __GNUC__
++       choke me
++#endif
++
++      end
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_compiler_gnu=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_compiler_gnu=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++ac_cv_f77_compiler_gnu=$ac_compiler_gnu
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
++echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
++ac_ext=$ac_save_ext
++G77=`test $ac_compiler_gnu = yes && echo yes`
++ac_test_FFLAGS=${FFLAGS+set}
++ac_save_FFLAGS=$FFLAGS
++FFLAGS=
++echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
++echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
++if test "${ac_cv_prog_f77_g+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  FFLAGS=-g
++cat >conftest.$ac_ext <<_ACEOF
++      program main
++
++      end
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_prog_f77_g=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_prog_f77_g=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
++echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
++if test "$ac_test_FFLAGS" = set; then
++  FFLAGS=$ac_save_FFLAGS
++elif test $ac_cv_prog_f77_g = yes; then
++  if test "$G77" = yes; then
++    FFLAGS="-g -O2"
++  else
++    FFLAGS="-g"
++  fi
++else
++  if test "$G77" = yes; then
++    FFLAGS="-O2"
++  else
++    FFLAGS=
++  fi
++fi
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++
++
++# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
++
++# find the maximum length of command line arguments
++echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
++echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
++if test "${lt_cv_sys_max_cmd_len+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++    i=0
++  testring="ABCD"
++
++  case $build_os in
++  msdosdjgpp*)
++    # On DJGPP, this test can blow up pretty badly due to problems in libc
++    # (any single argument exceeding 2000 bytes causes a buffer overrun
++    # during glob expansion).  Even if it were fixed, the result of this
++    # check would be larger than it should be.
++    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
++    ;;
++
++  gnu*)
++    # Under GNU Hurd, this test is not required because there is
++    # no limit to the length of command line arguments.
++    # Libtool will interpret -1 as no limit whatsoever
++    lt_cv_sys_max_cmd_len=-1;
++    ;;
++
++  cygwin* | mingw*)
++    # On Win9x/ME, this test blows up -- it succeeds, but takes
++    # about 5 minutes as the teststring grows exponentially.
++    # Worse, since 9x/ME are not pre-emptively multitasking,
++    # you end up with a "frozen" computer, even though with patience
++    # the test eventually succeeds (with a max line length of 256k).
++    # Instead, let's just punt: use the minimum linelength reported by
++    # all of the supported platforms: 8192 (on NT/2K/XP).
++    lt_cv_sys_max_cmd_len=8192;
++    ;;
++
++  amigaos*)
++    # On AmigaOS with pdksh, this test takes hours, literally.
++    # So we just punt and use a minimum line length of 8192.
++    lt_cv_sys_max_cmd_len=8192;
++    ;;
++
++ *)
++    # If test is not a shell built-in, we'll probably end up computing a
++    # maximum length that is only half of the actual maximum length, but
++    # we can't tell.
++    while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \
++	       = "XX$testring") >/dev/null 2>&1 &&
++	    new_result=`expr "X$testring" : ".*" 2>&1` &&
++	    lt_cv_sys_max_cmd_len=$new_result &&
++	    test $i != 17 # 1/2 MB should be enough
++    do
++      i=`expr $i + 1`
++      testring=$testring$testring
++    done
++    testring=
++    # Add a significant safety factor because C++ compilers can tack on massive
++    # amounts of additional arguments before passing them to the linker.
++    # It appears as though 1/2 is a usable value.
++    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
++    ;;
++  esac
++
++fi
++
++if test -n $lt_cv_sys_max_cmd_len ; then
++  echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
++echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
++else
++  echo "$as_me:$LINENO: result: none" >&5
++echo "${ECHO_T}none" >&6
++fi
++
++
++
++
++# Check for command to grab the raw symbol name followed by C symbol from nm.
++echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
++echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
++if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++# These are sane defaults that work on at least a few old systems.
++# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
++
++# Character class describing NM global symbol codes.
++symcode='[BCDEGRST]'
++
++# Regexp to match symbols that can be accessed directly from C.
++sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
++
++# Transform the above into a raw symbol and a C symbol.
++symxfrm='\1 \2\3 \3'
++
++# Transform an extracted symbol line into a proper C declaration
++lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
++
++# Transform an extracted symbol line into symbol name and symbol address
++lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
++
++# Define system-specific variables.
++case $host_os in
++aix*)
++  symcode='[BCDT]'
++  ;;
++cygwin* | mingw* | pw32*)
++  symcode='[ABCDGISTW]'
++  ;;
++hpux*) # Its linker distinguishes data from code symbols
++  if test "$host_cpu" = ia64; then
++    symcode='[ABCDEGRST]'
++  fi
++  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
++  lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
++  ;;
++irix* | nonstopux*)
++  symcode='[BCDEGRST]'
++  ;;
++osf*)
++  symcode='[BCDEGQRST]'
++  ;;
++solaris* | sysv5*)
++  symcode='[BDRT]'
++  ;;
++sysv4)
++  symcode='[DFNSTU]'
++  ;;
++esac
++
++# Handle CRLF in mingw tool chain
++opt_cr=
++case $build_os in
++mingw*)
++  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
++  ;;
++esac
++
++# If we're using GNU nm, then use its standard symbol codes.
++case `$NM -V 2>&1` in
++*GNU* | *'with BFD'*)
++  symcode='[ABCDGIRSTW]' ;;
++esac
++
++# Try without a prefix undercore, then with it.
++for ac_symprfx in "" "_"; do
++
++  # Write the raw and C identifiers.
++  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
++
++  # Check to see that the pipe works correctly.
++  pipe_works=no
++
++  rm -f conftest*
++  cat > conftest.$ac_ext <<EOF
++#ifdef __cplusplus
++extern "C" {
++#endif
++char nm_test_var;
++void nm_test_func(){}
++#ifdef __cplusplus
++}
++#endif
++int main(){nm_test_var='a';nm_test_func();return(0);}
++EOF
++
++  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; then
++    # Now try to grab the symbols.
++    nlist=conftest.nm
++    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
++  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && test -s "$nlist"; then
++      # Try sorting and uniquifying the output.
++      if sort "$nlist" | uniq > "$nlist"T; then
++	mv -f "$nlist"T "$nlist"
++      else
++	rm -f "$nlist"T
++      fi
++
++      # Make sure that we snagged all the symbols we need.
++      if grep ' nm_test_var$' "$nlist" >/dev/null; then
++	if grep ' nm_test_func$' "$nlist" >/dev/null; then
++	  cat <<EOF > conftest.$ac_ext
++#ifdef __cplusplus
++extern "C" {
++#endif
++
++EOF
++	  # Now generate the symbol file.
++	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
++
++	  cat <<EOF >> conftest.$ac_ext
++#if defined (__STDC__) && __STDC__
++# define lt_ptr_t void *
++#else
++# define lt_ptr_t char *
++# define const
++#endif
++
++/* The mapping between symbol names and symbols. */
++const struct {
++  const char *name;
++  lt_ptr_t address;
++}
++lt_preloaded_symbols[] =
++{
++EOF
++	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
++	  cat <<\EOF >> conftest.$ac_ext
++  {0, (lt_ptr_t) 0}
++};
++
++#ifdef __cplusplus
++}
++#endif
++EOF
++	  # Now try linking the two files.
++	  mv conftest.$ac_objext conftstm.$ac_objext
++	  lt_save_LIBS="$LIBS"
++	  lt_save_CFLAGS="$CFLAGS"
++	  LIBS="conftstm.$ac_objext"
++	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
++	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && test -s conftest${ac_exeext}; then
++	    pipe_works=yes
++	  fi
++	  LIBS="$lt_save_LIBS"
++	  CFLAGS="$lt_save_CFLAGS"
++	else
++	  echo "cannot find nm_test_func in $nlist" >&5
++	fi
++      else
++	echo "cannot find nm_test_var in $nlist" >&5
++      fi
++    else
++      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
++    fi
++  else
++    echo "$progname: failed program was:" >&5
++    cat conftest.$ac_ext >&5
++  fi
++  rm -f conftest* conftst*
++
++  # Do not use the global_symbol_pipe unless it works.
++  if test "$pipe_works" = yes; then
++    break
++  else
++    lt_cv_sys_global_symbol_pipe=
++  fi
++done
++
++fi
++
++if test -z "$lt_cv_sys_global_symbol_pipe"; then
++  lt_cv_sys_global_symbol_to_cdecl=
++fi
++if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
++  echo "$as_me:$LINENO: result: failed" >&5
++echo "${ECHO_T}failed" >&6
++else
++  echo "$as_me:$LINENO: result: ok" >&5
++echo "${ECHO_T}ok" >&6
++fi
++
++echo "$as_me:$LINENO: checking for objdir" >&5
++echo $ECHO_N "checking for objdir... $ECHO_C" >&6
++if test "${lt_cv_objdir+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  rm -f .libs 2>/dev/null
++mkdir .libs 2>/dev/null
++if test -d .libs; then
++  lt_cv_objdir=.libs
++else
++  # MS-DOS does not allow filenames that begin with a dot.
++  lt_cv_objdir=_libs
++fi
++rmdir .libs 2>/dev/null
++fi
++echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
++echo "${ECHO_T}$lt_cv_objdir" >&6
++objdir=$lt_cv_objdir
++
++
++
++
++
++case $host_os in
++aix3*)
++  # AIX sometimes has problems with the GCC collect2 program.  For some
++  # reason, if we set the COLLECT_NAMES environment variable, the problems
++  # vanish in a puff of smoke.
++  if test "X${COLLECT_NAMES+set}" != Xset; then
++    COLLECT_NAMES=
++    export COLLECT_NAMES
++  fi
++  ;;
++esac
++
++# Sed substitution that helps us do robust quoting.  It backslashifies
++# metacharacters that are still active within double-quoted strings.
++Xsed='sed -e s/^X//'
++sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
++
++# Same as above, but do not quote variable references.
++double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
++
++# Sed substitution to delay expansion of an escaped shell variable in a
++# double_quote_subst'ed string.
++delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
++
++# Sed substitution to avoid accidental globbing in evaled expressions
++no_glob_subst='s/\*/\\\*/g'
++
++# Constants:
++rm="rm -f"
++
++# Global variables:
++default_ofile=libtool
++can_build_shared=yes
++
++# All known linkers require a `.a' archive for static linking (except M$VC,
++# which needs '.lib').
++libext=a
++ltmain="$ac_aux_dir/ltmain.sh"
++ofile="$default_ofile"
++with_gnu_ld="$lt_cv_prog_gnu_ld"
++
++if test -n "$ac_tool_prefix"; then
++  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
++set dummy ${ac_tool_prefix}ar; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_AR+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$AR"; then
++  ac_cv_prog_AR="$AR" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_AR="${ac_tool_prefix}ar"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++AR=$ac_cv_prog_AR
++if test -n "$AR"; then
++  echo "$as_me:$LINENO: result: $AR" >&5
++echo "${ECHO_T}$AR" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++fi
++if test -z "$ac_cv_prog_AR"; then
++  ac_ct_AR=$AR
++  # Extract the first word of "ar", so it can be a program name with args.
++set dummy ar; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$ac_ct_AR"; then
++  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_ac_ct_AR="ar"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++  test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
++fi
++fi
++ac_ct_AR=$ac_cv_prog_ac_ct_AR
++if test -n "$ac_ct_AR"; then
++  echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
++echo "${ECHO_T}$ac_ct_AR" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  AR=$ac_ct_AR
++else
++  AR="$ac_cv_prog_AR"
++fi
++
++if test -n "$ac_tool_prefix"; then
++  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
++set dummy ${ac_tool_prefix}ranlib; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_RANLIB+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$RANLIB"; then
++  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++RANLIB=$ac_cv_prog_RANLIB
++if test -n "$RANLIB"; then
++  echo "$as_me:$LINENO: result: $RANLIB" >&5
++echo "${ECHO_T}$RANLIB" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++fi
++if test -z "$ac_cv_prog_RANLIB"; then
++  ac_ct_RANLIB=$RANLIB
++  # Extract the first word of "ranlib", so it can be a program name with args.
++set dummy ranlib; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$ac_ct_RANLIB"; then
++  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_ac_ct_RANLIB="ranlib"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
++fi
++fi
++ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
++if test -n "$ac_ct_RANLIB"; then
++  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
++echo "${ECHO_T}$ac_ct_RANLIB" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  RANLIB=$ac_ct_RANLIB
++else
++  RANLIB="$ac_cv_prog_RANLIB"
++fi
++
++if test -n "$ac_tool_prefix"; then
++  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
++set dummy ${ac_tool_prefix}strip; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_STRIP+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$STRIP"; then
++  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++STRIP=$ac_cv_prog_STRIP
++if test -n "$STRIP"; then
++  echo "$as_me:$LINENO: result: $STRIP" >&5
++echo "${ECHO_T}$STRIP" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++fi
++if test -z "$ac_cv_prog_STRIP"; then
++  ac_ct_STRIP=$STRIP
++  # Extract the first word of "strip", so it can be a program name with args.
++set dummy strip; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$ac_ct_STRIP"; then
++  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_ac_ct_STRIP="strip"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
++fi
++fi
++ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
++if test -n "$ac_ct_STRIP"; then
++  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
++echo "${ECHO_T}$ac_ct_STRIP" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  STRIP=$ac_ct_STRIP
++else
++  STRIP="$ac_cv_prog_STRIP"
++fi
++
++
++old_CC="$CC"
++old_CFLAGS="$CFLAGS"
++
++# Set sane defaults for various variables
++test -z "$AR" && AR=ar
++test -z "$AR_FLAGS" && AR_FLAGS=cru
++test -z "$AS" && AS=as
++test -z "$CC" && CC=cc
++test -z "$LTCC" && LTCC=$CC
++test -z "$DLLTOOL" && DLLTOOL=dlltool
++test -z "$LD" && LD=ld
++test -z "$LN_S" && LN_S="ln -s"
++test -z "$MAGIC_CMD" && MAGIC_CMD=file
++test -z "$NM" && NM=nm
++test -z "$SED" && SED=sed
++test -z "$OBJDUMP" && OBJDUMP=objdump
++test -z "$RANLIB" && RANLIB=:
++test -z "$STRIP" && STRIP=:
++test -z "$ac_objext" && ac_objext=o
++
++# Determine commands to create old-style static archives.
++old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
++old_postinstall_cmds='chmod 644 $oldlib'
++old_postuninstall_cmds=
++
++if test -n "$RANLIB"; then
++  case $host_os in
++  openbsd*)
++    old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
++    ;;
++  *)
++    old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
++    ;;
++  esac
++  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
++fi
++
++# Only perform the check for file, if the check method requires it
++case $deplibs_check_method in
++file_magic*)
++  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
++    echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
++echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
++if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  case $MAGIC_CMD in
++[\\/*] |  ?:[\\/]*)
++  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
++  ;;
++*)
++  lt_save_MAGIC_CMD="$MAGIC_CMD"
++  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
++  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
++  for ac_dir in $ac_dummy; do
++    IFS="$lt_save_ifs"
++    test -z "$ac_dir" && ac_dir=.
++    if test -f $ac_dir/${ac_tool_prefix}file; then
++      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
++      if test -n "$file_magic_test_file"; then
++	case $deplibs_check_method in
++	"file_magic "*)
++	  file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
++	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
++	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
++	    $EGREP "$file_magic_regex" > /dev/null; then
++	    :
++	  else
++	    cat <<EOF 1>&2
++
++*** Warning: the command libtool uses to detect shared libraries,
++*** $file_magic_cmd, produces output that libtool cannot recognize.
++*** The result is that libtool may fail to recognize shared libraries
++*** as such.  This will affect the creation of libtool libraries that
++*** depend on shared libraries, but programs linked with such libtool
++*** libraries will work regardless of this problem.  Nevertheless, you
++*** may want to report the problem to your system manager and/or to
++*** bug-libtool@gnu.org
++
++EOF
++	  fi ;;
++	esac
++      fi
++      break
++    fi
++  done
++  IFS="$lt_save_ifs"
++  MAGIC_CMD="$lt_save_MAGIC_CMD"
++  ;;
++esac
++fi
++
++MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
++if test -n "$MAGIC_CMD"; then
++  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
++echo "${ECHO_T}$MAGIC_CMD" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++if test -z "$lt_cv_path_MAGIC_CMD"; then
++  if test -n "$ac_tool_prefix"; then
++    echo "$as_me:$LINENO: checking for file" >&5
++echo $ECHO_N "checking for file... $ECHO_C" >&6
++if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  case $MAGIC_CMD in
++[\\/*] |  ?:[\\/]*)
++  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
++  ;;
++*)
++  lt_save_MAGIC_CMD="$MAGIC_CMD"
++  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
++  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
++  for ac_dir in $ac_dummy; do
++    IFS="$lt_save_ifs"
++    test -z "$ac_dir" && ac_dir=.
++    if test -f $ac_dir/file; then
++      lt_cv_path_MAGIC_CMD="$ac_dir/file"
++      if test -n "$file_magic_test_file"; then
++	case $deplibs_check_method in
++	"file_magic "*)
++	  file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
++	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
++	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
++	    $EGREP "$file_magic_regex" > /dev/null; then
++	    :
++	  else
++	    cat <<EOF 1>&2
++
++*** Warning: the command libtool uses to detect shared libraries,
++*** $file_magic_cmd, produces output that libtool cannot recognize.
++*** The result is that libtool may fail to recognize shared libraries
++*** as such.  This will affect the creation of libtool libraries that
++*** depend on shared libraries, but programs linked with such libtool
++*** libraries will work regardless of this problem.  Nevertheless, you
++*** may want to report the problem to your system manager and/or to
++*** bug-libtool@gnu.org
++
++EOF
++	  fi ;;
++	esac
++      fi
++      break
++    fi
++  done
++  IFS="$lt_save_ifs"
++  MAGIC_CMD="$lt_save_MAGIC_CMD"
++  ;;
++esac
++fi
++
++MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
++if test -n "$MAGIC_CMD"; then
++  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
++echo "${ECHO_T}$MAGIC_CMD" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  else
++    MAGIC_CMD=:
++  fi
++fi
++
++  fi
++  ;;
++esac
++
++enable_dlopen=no
++enable_win32_dll=no
++
++# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
++if test "${enable_libtool_lock+set}" = set; then
++  enableval="$enable_libtool_lock"
++  
++fi; 
++test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
++
++
++# Check whether --with-pic or --without-pic was given.
++if test "${with_pic+set}" = set; then
++  withval="$with_pic"
++  pic_mode="$withval"
++else
++  pic_mode=default
++fi; 
++test -z "$pic_mode" && pic_mode=default
++
++# Use C for the default configuration in the libtool script
++tagname=
++lt_save_CC="$CC"
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++
++# Source file extension for C test sources.
++ac_ext=c
++
++# Object file extension for compiled C test sources.
++objext=o
++objext=$objext
++
++# Code to be used in simple compile tests
++lt_simple_compile_test_code="int some_variable = 0;\n"
++
++# Code to be used in simple link tests
++lt_simple_link_test_code='int main(){return(0);}\n'
++
++
++# If no C compiler was specified, use CC.
++LTCC=${LTCC-"$CC"}
++
++# Allow CC to be a program name with arguments.
++compiler=$CC
++
++
++#
++# Check for any special shared library compilation flags.
++#
++lt_prog_cc_shlib=
++if test "$GCC" = no; then
++  case $host_os in
++  sco3.2v5*)
++    lt_prog_cc_shlib='-belf'
++    ;;
++  esac
++fi
++if test -n "$lt_prog_cc_shlib"; then
++  { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
++echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
++  if echo "$old_CC $old_CFLAGS " | grep "[ 	]$lt_prog_cc_shlib[ 	]" >/dev/null; then :
++  else
++    { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
++echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
++    lt_cv_prog_cc_can_build_shared=no
++  fi
++fi
++
++
++#
++# Check to make sure the static flag actually works.
++#
++echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
++echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
++if test "${lt_prog_compiler_static_works+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  lt_prog_compiler_static_works=no
++   save_LDFLAGS="$LDFLAGS"
++   LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
++   printf "$lt_simple_link_test_code" > conftest.$ac_ext
++   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
++     # The compiler can only warn and ignore the option if not recognized
++     # So say no if there are warnings
++     if test -s conftest.err; then
++       # Append any errors to the config.log.
++       cat conftest.err 1>&5
++     else
++       lt_prog_compiler_static_works=yes
++     fi
++   fi
++   $rm conftest*
++   LDFLAGS="$save_LDFLAGS"
++
++fi
++echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
++echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
++
++if test x"$lt_prog_compiler_static_works" = xyes; then
++    :
++else
++    lt_prog_compiler_static=
++fi
++
++
++
++
++lt_prog_compiler_no_builtin_flag=
++
++if test "$GCC" = yes; then
++  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
++
++  
++echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
++echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
++if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  lt_cv_prog_compiler_rtti_exceptions=no
++  ac_outfile=conftest.$ac_objext
++   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
++   lt_compiler_flag="-fno-rtti -fno-exceptions"
++   # Insert the option either (1) after the last *FLAGS variable, or
++   # (2) before a word containing "conftest.", or (3) at the end.
++   # Note that $ac_compile itself does not contain backslashes and begins
++   # with a dollar sign (not a hyphen), so the echo should work correctly.
++   # The option is referenced via a variable to avoid confusing sed.
++   lt_compile=`echo "$ac_compile" | $SED \
++   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
++   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
++   -e 's:$: $lt_compiler_flag:'`
++   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
++   (eval "$lt_compile" 2>conftest.err)
++   ac_status=$?
++   cat conftest.err >&5
++   echo "$as_me:__oline__: \$? = $ac_status" >&5
++   if (exit $ac_status) && test -s "$ac_outfile"; then
++     # The compiler can only warn and ignore the option if not recognized
++     # So say no if there are warnings
++     if test ! -s conftest.err; then
++       lt_cv_prog_compiler_rtti_exceptions=yes
++     fi
++   fi
++   $rm conftest*
++
++fi
++echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
++echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
++
++if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
++    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
++else
++    :
++fi
++
++fi
++
++lt_prog_compiler_wl=
++lt_prog_compiler_pic=
++lt_prog_compiler_static=
++
++echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
++echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
++ 
++  if test "$GCC" = yes; then
++    lt_prog_compiler_wl='-Wl,'
++    lt_prog_compiler_static='-static'
++
++    case $host_os in
++      aix*)
++      # All AIX code is PIC.
++      if test "$host_cpu" = ia64; then
++	# AIX 5 now supports IA64 processor
++	lt_prog_compiler_static='-Bstatic'
++      fi
++      ;;
++
++    amigaos*)
++      # FIXME: we need at least 68020 code to build shared libraries, but
++      # adding the `-m68020' flag to GCC prevents building anything better,
++      # like `-m68040'.
++      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
++      ;;
++
++    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
++      # PIC is the default for these OSes.
++      ;;
++
++    mingw* | pw32* | os2*)
++      # This hack is so that the source file can tell whether it is being
++      # built for inclusion in a dll (and should export symbols for example).
++      lt_prog_compiler_pic='-DDLL_EXPORT'
++      ;;
++
++    darwin* | rhapsody*)
++      # PIC is the default on this platform
++      # Common symbols not allowed in MH_DYLIB files
++      lt_prog_compiler_pic='-fno-common'
++      ;;
++
++    msdosdjgpp*)
++      # Just because we use GCC doesn't mean we suddenly get shared libraries
++      # on systems that don't support them.
++      lt_prog_compiler_can_build_shared=no
++      enable_shared=no
++      ;;
++
++    sysv4*MP*)
++      if test -d /usr/nec; then
++	lt_prog_compiler_pic=-Kconform_pic
++      fi
++      ;;
++
++    hpux*)
++      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
++      # not for PA HP-UX.
++      case "$host_cpu" in
++      hppa*64*|ia64*)
++	# +Z the default
++	;;
++      *)
++	lt_prog_compiler_pic='-fPIC'
++	;;
++      esac
++      ;;
++
++    *)
++      lt_prog_compiler_pic='-fPIC'
++      ;;
++    esac
++  else
++    # PORTME Check for flag to pass linker flags through the system compiler.
++    case $host_os in
++    aix*)
++      lt_prog_compiler_wl='-Wl,'
++      if test "$host_cpu" = ia64; then
++	# AIX 5 now supports IA64 processor
++	lt_prog_compiler_static='-Bstatic'
++      else
++	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
++      fi
++      ;;
++
++    mingw* | pw32* | os2*)
++      # This hack is so that the source file can tell whether it is being
++      # built for inclusion in a dll (and should export symbols for example).
++      lt_prog_compiler_pic='-DDLL_EXPORT'
++      ;;
++
++    hpux9* | hpux10* | hpux11*)
++      lt_prog_compiler_wl='-Wl,'
++      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
++      # not for PA HP-UX.
++      case "$host_cpu" in
++      hppa*64*|ia64*)
++	# +Z the default
++	;;
++      *)
++	lt_prog_compiler_pic='+Z'
++	;;
++      esac
++      # Is there a better lt_prog_compiler_static that works with the bundled CC?
++      lt_prog_compiler_static='${wl}-a ${wl}archive'
++      ;;
++
++    irix5* | irix6* | nonstopux*)
++      lt_prog_compiler_wl='-Wl,'
++      # PIC (with -KPIC) is the default.
++      lt_prog_compiler_static='-non_shared'
++      ;;
++
++    newsos6)
++      lt_prog_compiler_pic='-KPIC'
++      lt_prog_compiler_static='-Bstatic'
++      ;;
++
++    linux*)
++      case $CC in
++      icc* | ecc*)
++	lt_prog_compiler_wl='-Wl,'
++	lt_prog_compiler_pic='-KPIC'
++	lt_prog_compiler_static='-static'
++        ;;
++      ccc*)
++        lt_prog_compiler_wl='-Wl,'
++        # All Alpha code is PIC.
++        lt_prog_compiler_static='-non_shared'
++        ;;
++      esac
++      ;;
++
++    osf3* | osf4* | osf5*)
++      lt_prog_compiler_wl='-Wl,'
++      # All OSF/1 code is PIC.
++      lt_prog_compiler_static='-non_shared'
++      ;;
++
++    sco3.2v5*)
++      lt_prog_compiler_pic='-Kpic'
++      lt_prog_compiler_static='-dn'
++      ;;
++
++    solaris*)
++      lt_prog_compiler_wl='-Wl,'
++      lt_prog_compiler_pic='-KPIC'
++      lt_prog_compiler_static='-Bstatic'
++      ;;
++
++    sunos4*)
++      lt_prog_compiler_wl='-Qoption ld '
++      lt_prog_compiler_pic='-PIC'
++      lt_prog_compiler_static='-Bstatic'
++      ;;
++
++    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
++      lt_prog_compiler_wl='-Wl,'
++      lt_prog_compiler_pic='-KPIC'
++      lt_prog_compiler_static='-Bstatic'
++      ;;
++
++    sysv4*MP*)
++      if test -d /usr/nec ;then
++	lt_prog_compiler_pic='-Kconform_pic'
++	lt_prog_compiler_static='-Bstatic'
++      fi
++      ;;
++
++    uts4*)
++      lt_prog_compiler_pic='-pic'
++      lt_prog_compiler_static='-Bstatic'
++      ;;
++
++    *)
++      lt_prog_compiler_can_build_shared=no
++      ;;
++    esac
++  fi
++
++echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
++echo "${ECHO_T}$lt_prog_compiler_pic" >&6
++
++#
++# Check to make sure the PIC flag actually works.
++#
++if test -n "$lt_prog_compiler_pic"; then
++  
++echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
++echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
++if test "${lt_prog_compiler_pic_works+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  lt_prog_compiler_pic_works=no
++  ac_outfile=conftest.$ac_objext
++   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
++   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
++   # Insert the option either (1) after the last *FLAGS variable, or
++   # (2) before a word containing "conftest.", or (3) at the end.
++   # Note that $ac_compile itself does not contain backslashes and begins
++   # with a dollar sign (not a hyphen), so the echo should work correctly.
++   # The option is referenced via a variable to avoid confusing sed.
++   lt_compile=`echo "$ac_compile" | $SED \
++   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
++   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
++   -e 's:$: $lt_compiler_flag:'`
++   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
++   (eval "$lt_compile" 2>conftest.err)
++   ac_status=$?
++   cat conftest.err >&5
++   echo "$as_me:__oline__: \$? = $ac_status" >&5
++   if (exit $ac_status) && test -s "$ac_outfile"; then
++     # The compiler can only warn and ignore the option if not recognized
++     # So say no if there are warnings
++     if test ! -s conftest.err; then
++       lt_prog_compiler_pic_works=yes
++     fi
++   fi
++   $rm conftest*
++
++fi
++echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
++echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
++
++if test x"$lt_prog_compiler_pic_works" = xyes; then
++    case $lt_prog_compiler_pic in
++     "" | " "*) ;;
++     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
++     esac
++else
++    lt_prog_compiler_pic=
++     lt_prog_compiler_can_build_shared=no
++fi
++
++fi
++case "$host_os" in
++  # For platforms which do not support PIC, -DPIC is meaningless:
++  *djgpp*)
++    lt_prog_compiler_pic=
++    ;;
++  *)
++    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
++    ;;
++esac
++
++echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
++echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
++if test "${lt_cv_prog_compiler_c_o+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  lt_cv_prog_compiler_c_o=no
++   $rm -r conftest 2>/dev/null
++   mkdir conftest
++   cd conftest
++   mkdir out
++   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
++
++   # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
++   # that will create temporary files in the current directory regardless of
++   # the output directory.  Thus, making CWD read-only will cause this test
++   # to fail, enabling locking or at least warning the user not to do parallel
++   # builds.
++   chmod -w .
++
++   lt_compiler_flag="-o out/conftest2.$ac_objext"
++   # Insert the option either (1) after the last *FLAGS variable, or
++   # (2) before a word containing "conftest.", or (3) at the end.
++   # Note that $ac_compile itself does not contain backslashes and begins
++   # with a dollar sign (not a hyphen), so the echo should work correctly.
++   lt_compile=`echo "$ac_compile" | $SED \
++   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
++   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
++   -e 's:$: $lt_compiler_flag:'`
++   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
++   (eval "$lt_compile" 2>out/conftest.err)
++   ac_status=$?
++   cat out/conftest.err >&5
++   echo "$as_me:__oline__: \$? = $ac_status" >&5
++   if (exit $ac_status) && test -s out/conftest2.$ac_objext
++   then
++     # The compiler can only warn and ignore the option if not recognized
++     # So say no if there are warnings
++     if test ! -s out/conftest.err; then
++       lt_cv_prog_compiler_c_o=yes
++     fi
++   fi
++   chmod u+w .
++   $rm conftest*
++   # SGI C++ compiler will create directory out/ii_files/ for
++   # template instantiation
++   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
++   $rm out/* && rmdir out
++   cd ..
++   rmdir conftest
++   $rm conftest*
++
++fi
++echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
++echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
++
++
++hard_links="nottested"
++if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
++  # do not overwrite the value of need_locks provided by the user
++  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
++echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
++  hard_links=yes
++  $rm conftest*
++  ln conftest.a conftest.b 2>/dev/null && hard_links=no
++  touch conftest.a
++  ln conftest.a conftest.b 2>&5 || hard_links=no
++  ln conftest.a conftest.b 2>/dev/null && hard_links=no
++  echo "$as_me:$LINENO: result: $hard_links" >&5
++echo "${ECHO_T}$hard_links" >&6
++  if test "$hard_links" = no; then
++    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
++echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
++    need_locks=warn
++  fi
++else
++  need_locks=no
++fi
++
++echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
++echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
++
++  runpath_var=
++  allow_undefined_flag=
++  enable_shared_with_static_runtimes=no
++  archive_cmds=
++  archive_expsym_cmds=
++  old_archive_From_new_cmds=
++  old_archive_from_expsyms_cmds=
++  export_dynamic_flag_spec=
++  whole_archive_flag_spec=
++  thread_safe_flag_spec=
++  hardcode_libdir_flag_spec=
++  hardcode_libdir_flag_spec_ld=
++  hardcode_libdir_separator=
++  hardcode_direct=no
++  hardcode_minus_L=no
++  hardcode_shlibpath_var=unsupported
++  link_all_deplibs=unknown
++  hardcode_automatic=no
++  module_cmds=
++  module_expsym_cmds=  
++  always_export_symbols=no
++  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
++  # include_expsyms should be a list of space-separated symbols to be *always*
++  # included in the symbol list
++  include_expsyms=
++  # exclude_expsyms can be an extended regexp of symbols to exclude
++  # it will be wrapped by ` (' and `)$', so one must not match beginning or
++  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
++  # as well as any symbol that contains `d'.
++  exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
++  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
++  # platforms (ab)use it in PIC code, but their linkers get confused if
++  # the symbol is explicitly referenced.  Since portable code cannot
++  # rely on this symbol name, it's probably fine to never include it in
++  # preloaded symbol tables.
++  extract_expsyms_cmds=
++
++  case $host_os in
++  cygwin* | mingw* | pw32*)
++    # FIXME: the MSVC++ port hasn't been tested in a loooong time
++    # When not using gcc, we currently assume that we are using
++    # Microsoft Visual C++.
++    if test "$GCC" != yes; then
++      with_gnu_ld=no
++    fi
++    ;;
++  openbsd*)
++    with_gnu_ld=no
++    ;;
++  esac
++
++  ld_shlibs=yes
++  if test "$with_gnu_ld" = yes; then
++    # If archive_cmds runs LD, not CC, wlarc should be empty
++    wlarc='${wl}'
++
++    # See if GNU ld supports shared libraries.
++    case $host_os in
++    aix3* | aix4* | aix5*)
++      # On AIX/PPC, the GNU linker is very broken
++      if test "$host_cpu" != ia64; then
++	ld_shlibs=no
++	cat <<EOF 1>&2
++
++*** Warning: the GNU linker, at least up to release 2.9.1, is reported
++*** to be unable to reliably create shared libraries on AIX.
++*** Therefore, libtool is disabling shared libraries support.  If you
++*** really care for shared libraries, you may want to modify your PATH
++*** so that a non-GNU linker is found, and then restart.
++
++EOF
++      fi
++      ;;
++
++    amigaos*)
++      archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
++      hardcode_libdir_flag_spec='-L$libdir'
++      hardcode_minus_L=yes
++
++      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
++      # that the semantics of dynamic libraries on AmigaOS, at least up
++      # to version 4, is to share data among multiple programs linked
++      # with the same dynamic library.  Since this doesn't match the
++      # behavior of shared libraries on other platforms, we can't use
++      # them.
++      ld_shlibs=no
++      ;;
++
++    beos*)
++      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
++	allow_undefined_flag=unsupported
++	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
++	# support --undefined.  This deserves some investigation.  FIXME
++	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++      else
++	ld_shlibs=no
++      fi
++      ;;
++
++    cygwin* | mingw* | pw32*)
++      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
++      # as there is no search path for DLLs.
++      hardcode_libdir_flag_spec='-L$libdir'
++      allow_undefined_flag=unsupported
++      always_export_symbols=no
++      enable_shared_with_static_runtimes=yes
++      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
++
++      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
++        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
++	# If the export-symbols file already is a .def file (1st line
++	# is EXPORTS), use it as is; otherwise, prepend...
++	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
++	  cp $export_symbols $output_objdir/$soname.def;
++	else
++	  echo EXPORTS > $output_objdir/$soname.def;
++	  cat $export_symbols >> $output_objdir/$soname.def;
++	fi~
++	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
++      else
++	ld_shlibs=no
++      fi
++      ;;
++
++    netbsd*)
++      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
++	wlarc=
++      else
++	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++      fi
++      ;;
++
++    solaris* | sysv5*)
++      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
++	ld_shlibs=no
++	cat <<EOF 1>&2
++
++*** Warning: The releases 2.8.* of the GNU linker cannot reliably
++*** create shared libraries on Solaris systems.  Therefore, libtool
++*** is disabling shared libraries support.  We urge you to upgrade GNU
++*** binutils to release 2.9.1 or newer.  Another option is to modify
++*** your PATH or compiler configuration so that the native linker is
++*** used, and then restart.
++
++EOF
++      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
++	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++      else
++	ld_shlibs=no
++      fi
++      ;;
++
++    sunos4*)
++      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++      wlarc=
++      hardcode_direct=yes
++      hardcode_shlibpath_var=no
++      ;;
++
++  linux*)
++    if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
++        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++	archive_cmds="$tmp_archive_cmds"
++      supports_anon_versioning=no
++      case `$LD -v 2>/dev/null` in
++        *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
++        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
++        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
++        *\ 2.11.*) ;; # other 2.11 versions
++        *) supports_anon_versioning=yes ;;
++      esac
++      if test $supports_anon_versioning = yes; then
++        archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
++cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
++$echo "local: *; };" >> $output_objdir/$libname.ver~
++        $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
++      else
++        archive_expsym_cmds="$tmp_archive_cmds"
++      fi
++    else
++      ld_shlibs=no
++    fi
++    ;;
++
++    *)
++      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
++	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++      else
++	ld_shlibs=no
++      fi
++      ;;
++    esac
++
++    if test "$ld_shlibs" = yes; then
++      runpath_var=LD_RUN_PATH
++      hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
++      export_dynamic_flag_spec='${wl}--export-dynamic'
++      # ancient GNU ld didn't support --whole-archive et. al.
++      if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
++ 	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
++      else
++  	whole_archive_flag_spec=
++      fi
++    fi
++  else
++    # PORTME fill in a description of your system's linker (not GNU ld)
++    case $host_os in
++    aix3*)
++      allow_undefined_flag=unsupported
++      always_export_symbols=yes
++      archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
++      # Note: this linker hardcodes the directories in LIBPATH if there
++      # are no directories specified by -L.
++      hardcode_minus_L=yes
++      if test "$GCC" = yes && test -z "$link_static_flag"; then
++	# Neither direct hardcoding nor static linking is supported with a
++	# broken collect2.
++	hardcode_direct=unsupported
++      fi
++      ;;
++
++    aix4* | aix5*)
++      if test "$host_cpu" = ia64; then
++	# On IA64, the linker does run time linking by default, so we don't
++	# have to do anything special.
++	aix_use_runtimelinking=no
++	exp_sym_flag='-Bexport'
++	no_entry_flag=""
++      else
++	# If we're using GNU nm, then we don't want the "-C" option.
++	# -C means demangle to AIX nm, but means don't demangle with GNU nm
++	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
++	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
++	else
++	  export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
++	fi
++	aix_use_runtimelinking=no
++
++	# Test if we are trying to use run time linking or normal
++	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
++	# need to do runtime linking.
++	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
++	  for ld_flag in $LDFLAGS; do
++  	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
++  	    aix_use_runtimelinking=yes
++  	    break
++  	  fi
++	  done
++	esac
++
++	exp_sym_flag='-bexport'
++	no_entry_flag='-bnoentry'
++      fi
++
++      # When large executables or shared objects are built, AIX ld can
++      # have problems creating the table of contents.  If linking a library
++      # or program results in "error TOC overflow" add -mminimal-toc to
++      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
++      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
++
++      archive_cmds=''
++      hardcode_direct=yes
++      hardcode_libdir_separator=':'
++      link_all_deplibs=yes
++
++      if test "$GCC" = yes; then
++	case $host_os in aix4.012|aix4.012.*)
++	# We only want to do this on AIX 4.2 and lower, the check
++	# below for broken collect2 doesn't work under 4.3+
++	  collect2name=`${CC} -print-prog-name=collect2`
++	  if test -f "$collect2name" && \
++  	   strings "$collect2name" | grep resolve_lib_name >/dev/null
++	  then
++  	  # We have reworked collect2
++  	  hardcode_direct=yes
++	  else
++  	  # We have old collect2
++  	  hardcode_direct=unsupported
++  	  # It fails to find uninstalled libraries when the uninstalled
++  	  # path is not listed in the libpath.  Setting hardcode_minus_L
++  	  # to unsupported forces relinking
++  	  hardcode_minus_L=yes
++  	  hardcode_libdir_flag_spec='-L$libdir'
++  	  hardcode_libdir_separator=
++	  fi
++	esac
++	shared_flag='-shared'
++      else
++	# not using gcc
++	if test "$host_cpu" = ia64; then
++  	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
++  	# chokes on -Wl,-G. The following line is correct:
++	  shared_flag='-G'
++	else
++  	if test "$aix_use_runtimelinking" = yes; then
++	    shared_flag='${wl}-G'
++	  else
++	    shared_flag='${wl}-bM:SRE'
++  	fi
++	fi
++      fi
++
++      # It seems that -bexpall does not export symbols beginning with
++      # underscore (_), so it is better to generate a list of symbols to export.
++      always_export_symbols=yes
++      if test "$aix_use_runtimelinking" = yes; then
++	# Warning - without using the other runtime loading flags (-brtl),
++	# -berok will link without error, but may produce a broken library.
++	allow_undefined_flag='-berok'
++       # Determine the default libpath from the value encoded in an empty executable.
++       cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  
++aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
++}'`
++# Check for a 64-bit object if we didn't find anything.
++if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
++}'`; fi
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
++
++       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
++	archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
++       else
++	if test "$host_cpu" = ia64; then
++	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
++	  allow_undefined_flag="-z nodefs"
++	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
++	else
++	 # Determine the default libpath from the value encoded in an empty executable.
++	 cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  
++aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
++}'`
++# Check for a 64-bit object if we didn't find anything.
++if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
++}'`; fi
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
++
++	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
++	  # Warning - without using the other run time loading flags,
++	  # -berok will link without error, but may produce a broken library.
++	  no_undefined_flag=' ${wl}-bernotok'
++	  allow_undefined_flag=' ${wl}-berok'
++	  # -bexpall does not export symbols beginning with underscore (_)
++	  always_export_symbols=yes
++	  # Exported symbols can be pulled into shared objects from archives
++	  whole_archive_flag_spec=' '
++	  archive_cmds_need_lc=yes
++	  # This is similar to how AIX traditionally builds it's shared libraries.
++	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
++	fi
++      fi
++      ;;
++
++    amigaos*)
++      archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
++      hardcode_libdir_flag_spec='-L$libdir'
++      hardcode_minus_L=yes
++      # see comment about different semantics on the GNU ld section
++      ld_shlibs=no
++      ;;
++
++    bsdi4*)
++      export_dynamic_flag_spec=-rdynamic
++      ;;
++
++    cygwin* | mingw* | pw32*)
++      # When not using gcc, we currently assume that we are using
++      # Microsoft Visual C++.
++      # hardcode_libdir_flag_spec is actually meaningless, as there is
++      # no search path for DLLs.
++      hardcode_libdir_flag_spec=' '
++      allow_undefined_flag=unsupported
++      # Tell ltmain to make .lib files, not .a files.
++      libext=lib
++      # Tell ltmain to make .dll files, not .so files.
++      shrext=".dll"
++      # FIXME: Setting linknames here is a bad hack.
++      archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
++      # The linker will automatically build a .lib file if we build a DLL.
++      old_archive_From_new_cmds='true'
++      # FIXME: Should let the user specify the lib program.
++      old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
++      fix_srcfile_path='`cygpath -w "$srcfile"`'
++      enable_shared_with_static_runtimes=yes
++      ;;
++
++    darwin* | rhapsody*)
++    if test "$GXX" = yes ; then
++      archive_cmds_need_lc=no
++      case "$host_os" in
++      rhapsody* | darwin1.[012])
++	allow_undefined_flag='-undefined suppress'
++	;;
++      *) # Darwin 1.3 on
++      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
++      	allow_undefined_flag='-flat_namespace -undefined suppress'
++      else
++        case ${MACOSX_DEPLOYMENT_TARGET} in
++          10.[012])
++            allow_undefined_flag='-flat_namespace -undefined suppress'
++            ;;
++          10.*)
++            allow_undefined_flag='-undefined dynamic_lookup'
++            ;;            
++        esac
++      fi
++	;;
++      esac
++    	lt_int_apple_cc_single_mod=no
++    	output_verbose_link_cmd='echo'
++    	if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
++    	  lt_int_apple_cc_single_mod=yes
++    	fi
++    	if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
++    	  archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
++    	else
++        archive_cmds='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
++      fi
++      module_cmds='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
++      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
++        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
++          archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++        else
++          archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++        fi
++          module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++      hardcode_direct=no
++      hardcode_automatic=yes
++      hardcode_shlibpath_var=unsupported
++      whole_archive_flag_spec='-all_load $convenience'
++      link_all_deplibs=yes
++    else  
++      ld_shlibs=no
++    fi  
++      ;;
++
++    dgux*)
++      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_libdir_flag_spec='-L$libdir'
++      hardcode_shlibpath_var=no
++      ;;
++
++    freebsd1*)
++      ld_shlibs=no
++      ;;
++
++    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
++    # support.  Future versions do this automatically, but an explicit c++rt0.o
++    # does not break anything, and helps significantly (at the cost of a little
++    # extra space).
++    freebsd2.2*)
++      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
++      hardcode_libdir_flag_spec='-R$libdir'
++      hardcode_direct=yes
++      hardcode_shlibpath_var=no
++      ;;
++
++    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
++    freebsd2*)
++      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_direct=yes
++      hardcode_minus_L=yes
++      hardcode_shlibpath_var=no
++      ;;
++
++    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
++    freebsd* | kfreebsd*-gnu)
++      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
++      hardcode_libdir_flag_spec='-R$libdir'
++      hardcode_direct=yes
++      hardcode_shlibpath_var=no
++      ;;
++
++    hpux9*)
++      if test "$GCC" = yes; then
++	archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
++      else
++	archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
++      fi
++      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
++      hardcode_libdir_separator=:
++      hardcode_direct=yes
++
++      # hardcode_minus_L: Not really in the search PATH,
++      # but as the default location of the library.
++      hardcode_minus_L=yes
++      export_dynamic_flag_spec='${wl}-E'
++      ;;
++
++    hpux10* | hpux11*)
++      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
++	case "$host_cpu" in
++	hppa*64*|ia64*)
++	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++	  ;;
++	*)
++	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
++	  ;;
++	esac
++      else
++	case "$host_cpu" in
++	hppa*64*|ia64*)
++	  archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
++	  ;;
++	*)
++	  archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
++	  ;;
++	esac
++      fi
++      if test "$with_gnu_ld" = no; then
++	case "$host_cpu" in
++	hppa*64*)
++	  hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
++	  hardcode_libdir_flag_spec_ld='+b $libdir'
++	  hardcode_libdir_separator=:
++	  hardcode_direct=no
++	  hardcode_shlibpath_var=no
++	  ;;
++	ia64*)
++	  hardcode_libdir_flag_spec='-L$libdir'
++	  hardcode_direct=no
++	  hardcode_shlibpath_var=no
++
++	  # hardcode_minus_L: Not really in the search PATH,
++	  # but as the default location of the library.
++	  hardcode_minus_L=yes
++	  ;;
++	*)
++	  hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
++	  hardcode_libdir_separator=:
++	  hardcode_direct=yes
++	  export_dynamic_flag_spec='${wl}-E'
++
++	  # hardcode_minus_L: Not really in the search PATH,
++	  # but as the default location of the library.
++	  hardcode_minus_L=yes
++	  ;;
++	esac
++      fi
++      ;;
++
++    irix5* | irix6* | nonstopux*)
++      if test "$GCC" = yes; then
++	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++      else
++	archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
++	hardcode_libdir_flag_spec_ld='-rpath $libdir'
++      fi
++      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
++      hardcode_libdir_separator=:
++      link_all_deplibs=yes
++      ;;
++
++    netbsd*)
++      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
++      else
++	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
++      fi
++      hardcode_libdir_flag_spec='-R$libdir'
++      hardcode_direct=yes
++      hardcode_shlibpath_var=no
++      ;;
++
++    newsos6)
++      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_direct=yes
++      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
++      hardcode_libdir_separator=:
++      hardcode_shlibpath_var=no
++      ;;
++
++    openbsd*)
++      hardcode_direct=yes
++      hardcode_shlibpath_var=no
++      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
++	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
++	hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
++	export_dynamic_flag_spec='${wl}-E'
++      else
++       case $host_os in
++	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
++	   archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++	   hardcode_libdir_flag_spec='-R$libdir'
++	   ;;
++	 *)
++	   archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
++	   hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
++	   ;;
++       esac
++      fi
++      ;;
++
++    os2*)
++      hardcode_libdir_flag_spec='-L$libdir'
++      hardcode_minus_L=yes
++      allow_undefined_flag=unsupported
++      archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
++      old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
++      ;;
++
++    osf3*)
++      if test "$GCC" = yes; then
++	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
++	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++      else
++	allow_undefined_flag=' -expect_unresolved \*'
++	archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
++      fi
++      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
++      hardcode_libdir_separator=:
++      ;;
++
++    osf4* | osf5*)	# as osf3* with the addition of -msym flag
++      if test "$GCC" = yes; then
++	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
++	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
++      else
++	allow_undefined_flag=' -expect_unresolved \*'
++	archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
++	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
++	$LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
++
++	# Both c and cxx compiler support -rpath directly
++	hardcode_libdir_flag_spec='-rpath $libdir'
++      fi
++      hardcode_libdir_separator=:
++      ;;
++
++    sco3.2v5*)
++      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_shlibpath_var=no
++      export_dynamic_flag_spec='${wl}-Bexport'
++      runpath_var=LD_RUN_PATH
++      hardcode_runpath_var=yes
++      ;;
++
++    solaris*)
++      no_undefined_flag=' -z text'
++      if test "$GCC" = yes; then
++	archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
++      else
++	archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
++	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++  	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
++      fi
++      hardcode_libdir_flag_spec='-R$libdir'
++      hardcode_shlibpath_var=no
++      case $host_os in
++      solaris2.[0-5] | solaris2.[0-5].*) ;;
++      *) # Supported since Solaris 2.6 (maybe 2.5.1?)
++	whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
++      esac
++      link_all_deplibs=yes
++      ;;
++
++    sunos4*)
++      if test "x$host_vendor" = xsequent; then
++	# Use $CC to link under sequent, because it throws in some extra .o
++	# files that make .init and .fini sections work.
++	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
++      else
++	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
++      fi
++      hardcode_libdir_flag_spec='-L$libdir'
++      hardcode_direct=yes
++      hardcode_minus_L=yes
++      hardcode_shlibpath_var=no
++      ;;
++
++    sysv4)
++      case $host_vendor in
++	sni)
++	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++	  hardcode_direct=yes # is this really true???
++	;;
++	siemens)
++	  ## LD is ld it makes a PLAMLIB
++	  ## CC just makes a GrossModule.
++	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
++	  reload_cmds='$CC -r -o $output$reload_objs'
++	  hardcode_direct=no
++        ;;
++	motorola)
++	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
++	;;
++      esac
++      runpath_var='LD_RUN_PATH'
++      hardcode_shlibpath_var=no
++      ;;
++
++    sysv4.3*)
++      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_shlibpath_var=no
++      export_dynamic_flag_spec='-Bexport'
++      ;;
++
++    sysv4*MP*)
++      if test -d /usr/nec; then
++	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++	hardcode_shlibpath_var=no
++	runpath_var=LD_RUN_PATH
++	hardcode_runpath_var=yes
++	ld_shlibs=yes
++      fi
++      ;;
++
++    sysv4.2uw2*)
++      archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_direct=yes
++      hardcode_minus_L=no
++      hardcode_shlibpath_var=no
++      hardcode_runpath_var=yes
++      runpath_var=LD_RUN_PATH
++      ;;
++
++   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
++      no_undefined_flag='${wl}-z ${wl}text'
++      if test "$GCC" = yes; then
++	archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++      else
++	archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++      fi
++      runpath_var='LD_RUN_PATH'
++      hardcode_shlibpath_var=no
++      ;;
++
++    sysv5*)
++      no_undefined_flag=' -z text'
++      # $CC -shared without GNU ld will not create a library from C++
++      # object files and a static libstdc++, better avoid it by now
++      archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++  		$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
++      hardcode_libdir_flag_spec=
++      hardcode_shlibpath_var=no
++      runpath_var='LD_RUN_PATH'
++      ;;
++
++    uts4*)
++      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_libdir_flag_spec='-L$libdir'
++      hardcode_shlibpath_var=no
++      ;;
++
++    *)
++      ld_shlibs=no
++      ;;
++    esac
++  fi
++
++echo "$as_me:$LINENO: result: $ld_shlibs" >&5
++echo "${ECHO_T}$ld_shlibs" >&6
++test "$ld_shlibs" = no && can_build_shared=no
++
++variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
++if test "$GCC" = yes; then
++  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
++fi
++
++#
++# Do we need to explicitly link libc?
++#
++case "x$archive_cmds_need_lc" in
++x|xyes)
++  # Assume -lc should be added
++  archive_cmds_need_lc=yes
++
++  if test "$enable_shared" = yes && test "$GCC" = yes; then
++    case $archive_cmds in
++    *'~'*)
++      # FIXME: we may have to deal with multi-command sequences.
++      ;;
++    '$CC '*)
++      # Test whether the compiler implicitly links with -lc since on some
++      # systems, -lgcc has to come before -lc. If gcc already passes -lc
++      # to ld, don't add -lc before -lgcc.
++      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
++echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
++      $rm conftest*
++      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
++  
++      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } 2>conftest.err; then
++        soname=conftest
++        lib=conftest
++        libobjs=conftest.$ac_objext
++        deplibs=
++        wl=$lt_prog_compiler_wl
++        compiler_flags=-v
++        linker_flags=-v
++        verstring=
++        output_objdir=.
++        libname=conftest
++        lt_save_allow_undefined_flag=$allow_undefined_flag
++        allow_undefined_flag=
++        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
++  (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }
++        then
++	  archive_cmds_need_lc=no
++        else
++	  archive_cmds_need_lc=yes
++        fi
++        allow_undefined_flag=$lt_save_allow_undefined_flag
++      else
++        cat conftest.err 1>&5
++      fi
++      $rm conftest*
++      echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
++echo "${ECHO_T}$archive_cmds_need_lc" >&6
++      ;;
++    esac
++  fi
++  ;;
++esac
++
++echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
++echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
++library_names_spec=
++libname_spec='lib$name'
++soname_spec=
++shrext=".so"
++postinstall_cmds=
++postuninstall_cmds=
++finish_cmds=
++finish_eval=
++shlibpath_var=
++shlibpath_overrides_runpath=unknown
++version_type=none
++dynamic_linker="$host_os ld.so"
++sys_lib_dlsearch_path_spec="/lib /usr/lib"
++if test "$GCC" = yes; then
++  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
++  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
++    # if the path contains ";" then we assume it to be the separator
++    # otherwise default to the standard path separator (i.e. ":") - it is
++    # assumed that no part of a normal pathname contains ";" but that should
++    # okay in the real world where ";" in dirpaths is itself problematic.
++    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
++  else
++    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
++  fi
++else
++  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
++fi
++need_lib_prefix=unknown
++hardcode_into_libs=no
++
++# when you set need_version to no, make sure it does not cause -set_version
++# flags to be left without arguments
++need_version=unknown
++
++case $host_os in
++aix3*)
++  version_type=linux
++  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
++  shlibpath_var=LIBPATH
++
++  # AIX 3 has no versioning support, so we append a major version to the name.
++  soname_spec='${libname}${release}${shared_ext}$major'
++  ;;
++
++aix4* | aix5*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  hardcode_into_libs=yes
++  if test "$host_cpu" = ia64; then
++    # AIX 5 supports IA64
++    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
++    shlibpath_var=LD_LIBRARY_PATH
++  else
++    # With GCC up to 2.95.x, collect2 would create an import file
++    # for dependence libraries.  The import file would start with
++    # the line `#! .'.  This would cause the generated library to
++    # depend on `.', always an invalid library.  This was fixed in
++    # development snapshots of GCC prior to 3.0.
++    case $host_os in
++      aix4 | aix4.[01] | aix4.[01].*)
++      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
++	   echo ' yes '
++	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
++	:
++      else
++	can_build_shared=no
++      fi
++      ;;
++    esac
++    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
++    # soname into executable. Probably we can add versioning support to
++    # collect2, so additional links can be useful in future.
++    if test "$aix_use_runtimelinking" = yes; then
++      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
++      # instead of lib<name>.a to let people know that these are not
++      # typical AIX shared libraries.
++      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++    else
++      # We preserve .a as extension for shared libraries through AIX4.2
++      # and later when we are not doing run time linking.
++      library_names_spec='${libname}${release}.a $libname.a'
++      soname_spec='${libname}${release}${shared_ext}$major'
++    fi
++    shlibpath_var=LIBPATH
++  fi
++  ;;
++
++amigaos*)
++  library_names_spec='$libname.ixlibrary $libname.a'
++  # Create ${libname}_ixlibrary.a entries in /sys/libs.
++  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
++  ;;
++
++beos*)
++  library_names_spec='${libname}${shared_ext}'
++  dynamic_linker="$host_os ld.so"
++  shlibpath_var=LIBRARY_PATH
++  ;;
++
++bsdi4*)
++  version_type=linux
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
++  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
++  # the default ld.so.conf also contains /usr/contrib/lib and
++  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
++  # libtool to hard-code these into programs
++  ;;
++
++cygwin* | mingw* | pw32*)
++  version_type=windows
++  shrext=".dll"
++  need_version=no
++  need_lib_prefix=no
++
++  case $GCC,$host_os in
++  yes,cygwin* | yes,mingw* | yes,pw32*)
++    library_names_spec='$libname.dll.a'
++    # DLL is installed to $(libdir)/../bin by postinstall_cmds
++    postinstall_cmds='base_file=`basename \${file}`~
++      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
++      dldir=$destdir/`dirname \$dlpath`~
++      test -d \$dldir || mkdir -p \$dldir~
++      $install_prog $dir/$dlname \$dldir/$dlname'
++    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
++      dlpath=$dir/\$dldll~
++       $rm \$dlpath'
++    shlibpath_overrides_runpath=yes
++
++    case $host_os in
++    cygwin*)
++      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
++      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
++      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
++      ;;
++    mingw*)
++      # MinGW DLLs use traditional 'lib' prefix
++      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
++      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
++      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
++        # It is most probably a Windows format PATH printed by
++        # mingw gcc, but we are running on Cygwin. Gcc prints its search
++        # path with ; separators, and with drive letters. We can handle the
++        # drive letters (cygwin fileutils understands them), so leave them,
++        # especially as we might pass files found there to a mingw objdump,
++        # which wouldn't understand a cygwinified path. Ahh.
++        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
++      else
++        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
++      fi
++      ;;
++    pw32*)
++      # pw32 DLLs use 'pw' prefix rather than 'lib'
++      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
++      ;;
++    esac
++    ;;
++
++  *)
++    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
++    ;;
++  esac
++  dynamic_linker='Win32 ld.exe'
++  # FIXME: first we should search . and the directory the executable is in
++  shlibpath_var=PATH
++  ;;
++
++darwin* | rhapsody*)
++  dynamic_linker="$host_os dyld"
++  version_type=darwin
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
++  soname_spec='${libname}${release}${major}$shared_ext'
++  shlibpath_overrides_runpath=yes
++  shlibpath_var=DYLD_LIBRARY_PATH
++  shrext='$(test .$module = .yes && echo .so || echo .dylib)'
++  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
++  if test "$GCC" = yes; then
++    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
++  else
++    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
++  fi
++  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
++  ;;
++
++dgux*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++freebsd1*)
++  dynamic_linker=no
++  ;;
++
++kfreebsd*-gnu)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=no
++  hardcode_into_libs=yes
++  dynamic_linker='GNU ld.so'
++  ;;
++
++freebsd*)
++  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
++  version_type=freebsd-$objformat
++  case $version_type in
++    freebsd-elf*)
++      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
++      need_version=no
++      need_lib_prefix=no
++      ;;
++    freebsd-*)
++      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
++      need_version=yes
++      ;;
++  esac
++  shlibpath_var=LD_LIBRARY_PATH
++  case $host_os in
++  freebsd2*)
++    shlibpath_overrides_runpath=yes
++    ;;
++  freebsd3.01* | freebsdelf3.01*)
++    shlibpath_overrides_runpath=yes
++    hardcode_into_libs=yes
++    ;;
++  *) # from 3.2 on
++    shlibpath_overrides_runpath=no
++    hardcode_into_libs=yes
++    ;;
++  esac
++  ;;
++
++gnu*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  hardcode_into_libs=yes
++  ;;
++
++hpux9* | hpux10* | hpux11*)
++  # Give a soname corresponding to the major version so that dld.sl refuses to
++  # link against other versions.
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=no
++  case "$host_cpu" in
++  ia64*)
++    shrext='.so'
++    hardcode_into_libs=yes
++    dynamic_linker="$host_os dld.so"
++    shlibpath_var=LD_LIBRARY_PATH
++    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
++    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++    soname_spec='${libname}${release}${shared_ext}$major'
++    if test "X$HPUX_IA64_MODE" = X32; then
++      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
++    else
++      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
++    fi
++    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
++    ;;
++   hppa*64*)
++     shrext='.sl'
++     hardcode_into_libs=yes
++     dynamic_linker="$host_os dld.sl"
++     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
++     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
++     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++     soname_spec='${libname}${release}${shared_ext}$major'
++     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
++     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
++     ;;
++   *)
++    shrext='.sl'
++    dynamic_linker="$host_os dld.sl"
++    shlibpath_var=SHLIB_PATH
++    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
++    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++    soname_spec='${libname}${release}${shared_ext}$major'
++    ;;
++  esac
++  # HP-UX runs *really* slowly unless shared libraries are mode 555.
++  postinstall_cmds='chmod 555 $lib'
++  ;;
++
++irix5* | irix6* | nonstopux*)
++  case $host_os in
++    nonstopux*) version_type=nonstopux ;;
++    *)
++	if test "$lt_cv_prog_gnu_ld" = yes; then
++		version_type=linux
++	else
++		version_type=irix
++	fi ;;
++  esac
++  need_lib_prefix=no
++  need_version=no
++  soname_spec='${libname}${release}${shared_ext}$major'
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
++  case $host_os in
++  irix5* | nonstopux*)
++    libsuff= shlibsuff=
++    ;;
++  *)
++    case $LD in # libtool.m4 will add one of these switches to LD
++    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
++      libsuff= shlibsuff= libmagic=32-bit;;
++    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
++      libsuff=32 shlibsuff=N32 libmagic=N32;;
++    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
++      libsuff=64 shlibsuff=64 libmagic=64-bit;;
++    *) libsuff= shlibsuff= libmagic=never-match;;
++    esac
++    ;;
++  esac
++  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
++  shlibpath_overrides_runpath=no
++  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
++  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
++  hardcode_into_libs=yes
++  ;;
++
++# No shared lib support for Linux oldld, aout, or coff.
++linux*oldld* | linux*aout* | linux*coff*)
++  dynamic_linker=no
++  ;;
++
++# This must be Linux ELF.
++linux*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=no
++  # This implies no fast_install, which is unacceptable.
++  # Some rework will be needed to allow for fast_install
++  # before this can be enabled.
++  hardcode_into_libs=yes
++
++  # We used to test for /lib/ld.so.1 and disable shared libraries on
++  # powerpc, because MkLinux only supported shared libraries with the
++  # GNU dynamic linker.  Since this was broken with cross compilers,
++  # most powerpc-linux boxes support dynamic linking these days and
++  # people can always --disable-shared, the test was removed, and we
++  # assume the GNU/Linux dynamic linker is in use.
++  dynamic_linker='GNU/Linux ld.so'
++  ;;
++
++netbsd*)
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=no
++  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
++    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
++    dynamic_linker='NetBSD (a.out) ld.so'
++  else
++    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
++    soname_spec='${libname}${release}${shared_ext}$major'
++    dynamic_linker='NetBSD ld.elf_so'
++  fi
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  hardcode_into_libs=yes
++  ;;
++
++newsos6)
++  version_type=linux
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  ;;
++
++nto-qnx*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  ;;
++
++openbsd*)
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
++    case $host_os in
++      openbsd2.[89] | openbsd2.[89].*)
++	shlibpath_overrides_runpath=no
++	;;
++      *)
++	shlibpath_overrides_runpath=yes
++	;;
++      esac
++  else
++    shlibpath_overrides_runpath=yes
++  fi
++  ;;
++
++os2*)
++  libname_spec='$name'
++  shrext=".dll"
++  need_lib_prefix=no
++  library_names_spec='$libname${shared_ext} $libname.a'
++  dynamic_linker='OS/2 ld.exe'
++  shlibpath_var=LIBPATH
++  ;;
++
++osf3* | osf4* | osf5*)
++  version_type=osf
++  need_lib_prefix=no
++  need_version=no
++  soname_spec='${libname}${release}${shared_ext}$major'
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  shlibpath_var=LD_LIBRARY_PATH
++  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
++  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
++  ;;
++
++sco3.2v5*)
++  version_type=osf
++  soname_spec='${libname}${release}${shared_ext}$major'
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++solaris*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  hardcode_into_libs=yes
++  # ldd complains unless libraries are executable
++  postinstall_cmds='chmod +x $lib'
++  ;;
++
++sunos4*)
++  version_type=sunos
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
++  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  if test "$with_gnu_ld" = yes; then
++    need_lib_prefix=no
++  fi
++  need_version=yes
++  ;;
++
++sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
++  version_type=linux
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  case $host_vendor in
++    sni)
++      shlibpath_overrides_runpath=no
++      need_lib_prefix=no
++      export_dynamic_flag_spec='${wl}-Blargedynsym'
++      runpath_var=LD_RUN_PATH
++      ;;
++    siemens)
++      need_lib_prefix=no
++      ;;
++    motorola)
++      need_lib_prefix=no
++      need_version=no
++      shlibpath_overrides_runpath=no
++      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
++      ;;
++  esac
++  ;;
++
++sysv4*MP*)
++  if test -d /usr/nec ;then
++    version_type=linux
++    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
++    soname_spec='$libname${shared_ext}.$major'
++    shlibpath_var=LD_LIBRARY_PATH
++  fi
++  ;;
++
++uts4*)
++  version_type=linux
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++*)
++  dynamic_linker=no
++  ;;
++esac
++echo "$as_me:$LINENO: result: $dynamic_linker" >&5
++echo "${ECHO_T}$dynamic_linker" >&6
++test "$dynamic_linker" = no && can_build_shared=no
++
++echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
++echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
++hardcode_action=
++if test -n "$hardcode_libdir_flag_spec" || \
++   test -n "$runpath_var " || \
++   test "X$hardcode_automatic"="Xyes" ; then
++
++  # We can hardcode non-existant directories.
++  if test "$hardcode_direct" != no &&
++     # If the only mechanism to avoid hardcoding is shlibpath_var, we
++     # have to relink, otherwise we might link with an installed library
++     # when we should be linking with a yet-to-be-installed one
++     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
++     test "$hardcode_minus_L" != no; then
++    # Linking always hardcodes the temporary library directory.
++    hardcode_action=relink
++  else
++    # We can link without hardcoding, and we can hardcode nonexisting dirs.
++    hardcode_action=immediate
++  fi
++else
++  # We cannot hardcode anything, or else we can only hardcode existing
++  # directories.
++  hardcode_action=unsupported
++fi
++echo "$as_me:$LINENO: result: $hardcode_action" >&5
++echo "${ECHO_T}$hardcode_action" >&6
++
++if test "$hardcode_action" = relink; then
++  # Fast installation is not supported
++  enable_fast_install=no
++elif test "$shlibpath_overrides_runpath" = yes ||
++     test "$enable_shared" = no; then
++  # Fast installation is not necessary
++  enable_fast_install=needless
++fi
++
++striplib=
++old_striplib=
++echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
++echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
++if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
++  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
++  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
++  echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++else
++# FIXME - insert some real tests, host_os isn't really good enough
++  case $host_os in
++   darwin*)
++       if test -n "$STRIP" ; then
++         striplib="$STRIP -x"
++         echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++       else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++       ;;
++   *)
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++    ;;
++  esac  
++fi
++
++if test "x$enable_dlopen" != xyes; then
++  enable_dlopen=unknown
++  enable_dlopen_self=unknown
++  enable_dlopen_self_static=unknown
++else
++  lt_cv_dlopen=no
++  lt_cv_dlopen_libs=
++
++  case $host_os in
++  beos*)
++    lt_cv_dlopen="load_add_on"
++    lt_cv_dlopen_libs=
++    lt_cv_dlopen_self=yes
++    ;;
++
++  mingw* | pw32*)
++    lt_cv_dlopen="LoadLibrary"
++    lt_cv_dlopen_libs=
++   ;;
++
++  cygwin*)
++    lt_cv_dlopen="dlopen"
++    lt_cv_dlopen_libs=
++   ;;
++
++  darwin*)
++  # if libdl is installed we need to link against it
++    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
++echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
++if test "${ac_cv_lib_dl_dlopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ldl  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dlopen ();
++int
++main ()
++{
++dlopen ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_dl_dlopen=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_dl_dlopen=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
++echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
++if test $ac_cv_lib_dl_dlopen = yes; then
++  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
++else
++  
++    lt_cv_dlopen="dyld"
++    lt_cv_dlopen_libs=
++    lt_cv_dlopen_self=yes
++    
++fi
++
++   ;;
++    
++  *)
++    echo "$as_me:$LINENO: checking for shl_load" >&5
++echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
++if test "${ac_cv_func_shl_load+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char shl_load (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char shl_load ();
++/* 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_shl_load) || defined (__stub___shl_load)
++choke me
++#else
++char (*f) () = shl_load;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != shl_load;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_shl_load=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_shl_load=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
++echo "${ECHO_T}$ac_cv_func_shl_load" >&6
++if test $ac_cv_func_shl_load = yes; then
++  lt_cv_dlopen="shl_load"
++else
++  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
++echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
++if test "${ac_cv_lib_dld_shl_load+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ldld  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char shl_load ();
++int
++main ()
++{
++shl_load ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_dld_shl_load=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_dld_shl_load=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
++echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
++if test $ac_cv_lib_dld_shl_load = yes; then
++  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
++else
++  echo "$as_me:$LINENO: checking for dlopen" >&5
++echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
++if test "${ac_cv_func_dlopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char dlopen (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dlopen ();
++/* 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_dlopen) || defined (__stub___dlopen)
++choke me
++#else
++char (*f) () = dlopen;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != dlopen;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_dlopen=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_dlopen=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
++echo "${ECHO_T}$ac_cv_func_dlopen" >&6
++if test $ac_cv_func_dlopen = yes; then
++  lt_cv_dlopen="dlopen"
++else
++  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
++echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
++if test "${ac_cv_lib_dl_dlopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ldl  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dlopen ();
++int
++main ()
++{
++dlopen ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_dl_dlopen=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_dl_dlopen=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
++echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
++if test $ac_cv_lib_dl_dlopen = yes; then
++  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
++else
++  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
++echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
++if test "${ac_cv_lib_svld_dlopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-lsvld  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dlopen ();
++int
++main ()
++{
++dlopen ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_svld_dlopen=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_svld_dlopen=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
++echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
++if test $ac_cv_lib_svld_dlopen = yes; then
++  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
++else
++  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
++echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
++if test "${ac_cv_lib_dld_dld_link+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ldld  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dld_link ();
++int
++main ()
++{
++dld_link ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_dld_dld_link=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_dld_dld_link=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
++echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
++if test $ac_cv_lib_dld_dld_link = yes; then
++  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
++fi
++
++	      
++fi
++
++	    
++fi
++
++	  
++fi
++
++	
++fi
++
++      
++fi
++
++    ;;
++  esac
++
++  if test "x$lt_cv_dlopen" != xno; then
++    enable_dlopen=yes
++  else
++    enable_dlopen=no
++  fi
++
++  case $lt_cv_dlopen in
++  dlopen)
++    save_CPPFLAGS="$CPPFLAGS"
++    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
++
++    save_LDFLAGS="$LDFLAGS"
++    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
++
++    save_LIBS="$LIBS"
++    LIBS="$lt_cv_dlopen_libs $LIBS"
++
++    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
++echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
++if test "${lt_cv_dlopen_self+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  	  if test "$cross_compiling" = yes; then :
++  lt_cv_dlopen_self=cross
++else
++  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
++  lt_status=$lt_dlunknown
++  cat > conftest.$ac_ext <<EOF
++#line __oline__ "configure"
++#include "confdefs.h"
++
++#if HAVE_DLFCN_H
++#include <dlfcn.h>
++#endif
++
++#include <stdio.h>
++
++#ifdef RTLD_GLOBAL
++#  define LT_DLGLOBAL		RTLD_GLOBAL
++#else
++#  ifdef DL_GLOBAL
++#    define LT_DLGLOBAL		DL_GLOBAL
++#  else
++#    define LT_DLGLOBAL		0
++#  endif
++#endif
++
++/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
++   find out it does not work in some platform. */
++#ifndef LT_DLLAZY_OR_NOW
++#  ifdef RTLD_LAZY
++#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
++#  else
++#    ifdef DL_LAZY
++#      define LT_DLLAZY_OR_NOW		DL_LAZY
++#    else
++#      ifdef RTLD_NOW
++#        define LT_DLLAZY_OR_NOW	RTLD_NOW
++#      else
++#        ifdef DL_NOW
++#          define LT_DLLAZY_OR_NOW	DL_NOW
++#        else
++#          define LT_DLLAZY_OR_NOW	0
++#        endif
++#      endif
++#    endif
++#  endif
++#endif
++
++#ifdef __cplusplus
++extern "C" void exit (int);
++#endif
++
++void fnord() { int i=42;}
++int main ()
++{
++  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
++  int status = $lt_dlunknown;
++
++  if (self)
++    {
++      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
++      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
++      /* dlclose (self); */
++    }
++
++    exit (status);
++}
++EOF
++  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
++    (./conftest; exit; ) 2>/dev/null
++    lt_status=$?
++    case x$lt_status in
++      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
++      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
++      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
++    esac
++  else :
++    # compilation failed
++    lt_cv_dlopen_self=no
++  fi
++fi
++rm -fr conftest*
++
++    
++fi
++echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
++echo "${ECHO_T}$lt_cv_dlopen_self" >&6
++
++    if test "x$lt_cv_dlopen_self" = xyes; then
++      LDFLAGS="$LDFLAGS $link_static_flag"
++      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
++echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
++if test "${lt_cv_dlopen_self_static+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  	  if test "$cross_compiling" = yes; then :
++  lt_cv_dlopen_self_static=cross
++else
++  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
++  lt_status=$lt_dlunknown
++  cat > conftest.$ac_ext <<EOF
++#line __oline__ "configure"
++#include "confdefs.h"
++
++#if HAVE_DLFCN_H
++#include <dlfcn.h>
++#endif
++
++#include <stdio.h>
++
++#ifdef RTLD_GLOBAL
++#  define LT_DLGLOBAL		RTLD_GLOBAL
++#else
++#  ifdef DL_GLOBAL
++#    define LT_DLGLOBAL		DL_GLOBAL
++#  else
++#    define LT_DLGLOBAL		0
++#  endif
++#endif
++
++/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
++   find out it does not work in some platform. */
++#ifndef LT_DLLAZY_OR_NOW
++#  ifdef RTLD_LAZY
++#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
++#  else
++#    ifdef DL_LAZY
++#      define LT_DLLAZY_OR_NOW		DL_LAZY
++#    else
++#      ifdef RTLD_NOW
++#        define LT_DLLAZY_OR_NOW	RTLD_NOW
++#      else
++#        ifdef DL_NOW
++#          define LT_DLLAZY_OR_NOW	DL_NOW
++#        else
++#          define LT_DLLAZY_OR_NOW	0
++#        endif
++#      endif
++#    endif
++#  endif
++#endif
++
++#ifdef __cplusplus
++extern "C" void exit (int);
++#endif
++
++void fnord() { int i=42;}
++int main ()
++{
++  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
++  int status = $lt_dlunknown;
++
++  if (self)
++    {
++      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
++      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
++      /* dlclose (self); */
++    }
++
++    exit (status);
++}
++EOF
++  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
++    (./conftest; exit; ) 2>/dev/null
++    lt_status=$?
++    case x$lt_status in
++      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
++      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
++      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
++    esac
++  else :
++    # compilation failed
++    lt_cv_dlopen_self_static=no
++  fi
++fi
++rm -fr conftest*
++
++      
++fi
++echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
++echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
++    fi
++
++    CPPFLAGS="$save_CPPFLAGS"
++    LDFLAGS="$save_LDFLAGS"
++    LIBS="$save_LIBS"
++    ;;
++  esac
++
++  case $lt_cv_dlopen_self in
++  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
++  *) enable_dlopen_self=unknown ;;
++  esac
++
++  case $lt_cv_dlopen_self_static in
++  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
++  *) enable_dlopen_self_static=unknown ;;
++  esac
++fi
++
++
++# Report which librarie types wil actually be built
++echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
++echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
++echo "$as_me:$LINENO: result: $can_build_shared" >&5
++echo "${ECHO_T}$can_build_shared" >&6
++
++echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
++echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
++test "$can_build_shared" = "no" && enable_shared=no
++
++# On AIX, shared libraries and static libraries use the same namespace, and
++# are all built from PIC.
++case "$host_os" in
++aix3*)
++  test "$enable_shared" = yes && enable_static=no
++  if test -n "$RANLIB"; then
++    archive_cmds="$archive_cmds~\$RANLIB \$lib"
++    postinstall_cmds='$RANLIB $lib'
++  fi
++  ;;
++
++aix4*)
++  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
++    test "$enable_shared" = yes && enable_static=no
++  fi
++  ;;
++  darwin* | rhapsody*)
++  if test "$GCC" = yes; then
++    archive_cmds_need_lc=no
++    case "$host_os" in
++    rhapsody* | darwin1.[012])
++      allow_undefined_flag='-undefined suppress'
++      ;;
++    *) # Darwin 1.3 on
++      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
++      	allow_undefined_flag='-flat_namespace -undefined suppress'
++      else
++        case ${MACOSX_DEPLOYMENT_TARGET} in
++          10.[012])
++            allow_undefined_flag='-flat_namespace -undefined suppress'
++            ;;
++          10.*)
++            allow_undefined_flag='-undefined dynamic_lookup'
++            ;;            
++        esac
++      fi
++      ;;
++    esac
++    output_verbose_link_cmd='echo'
++    archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
++    module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
++    # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
++    archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag  -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++    module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++    hardcode_direct=no
++    hardcode_automatic=yes
++    hardcode_shlibpath_var=unsupported
++    whole_archive_flag_spec='-all_load $convenience'
++    link_all_deplibs=yes
++  else
++    ld_shlibs=no
++  fi  
++    ;;  
++esac
++echo "$as_me:$LINENO: result: $enable_shared" >&5
++echo "${ECHO_T}$enable_shared" >&6
++
++echo "$as_me:$LINENO: checking whether to build static libraries" >&5
++echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
++# Make sure either enable_shared or enable_static is yes.
++test "$enable_shared" = yes || enable_static=yes
++echo "$as_me:$LINENO: result: $enable_static" >&5
++echo "${ECHO_T}$enable_static" >&6
++
++# The else clause should only fire when bootstrapping the
++# libtool distribution, otherwise you forgot to ship ltmain.sh
++# with your package, and you will get complaints that there are
++# no rules to generate ltmain.sh.
++if test -f "$ltmain"; then
++  # See if we are running on zsh, and set the options which allow our commands through
++  # without removal of \ escapes.
++  if test -n "${ZSH_VERSION+set}" ; then
++    setopt NO_GLOB_SUBST
++  fi  
++  # Now quote all the things that may contain metacharacters while being
++  # careful not to overquote the AC_SUBSTed values.  We take copies of the
++  # variables and quote the copies for generation of the libtool script.
++  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
++    SED SHELL STRIP \
++    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
++    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
++    deplibs_check_method reload_flag reload_cmds need_locks \
++    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
++    lt_cv_sys_global_symbol_to_c_name_address \
++    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
++    old_postinstall_cmds old_postuninstall_cmds \
++    compiler \
++    CC \
++    LD \
++    lt_prog_compiler_wl \
++    lt_prog_compiler_pic \
++    lt_prog_compiler_static \
++    lt_prog_compiler_no_builtin_flag \
++    export_dynamic_flag_spec \
++    thread_safe_flag_spec \
++    whole_archive_flag_spec \
++    enable_shared_with_static_runtimes \
++    old_archive_cmds \
++    old_archive_from_new_cmds \
++    predep_objects \
++    postdep_objects \
++    predeps \
++    postdeps \
++    compiler_lib_search_path \
++    archive_cmds \
++    archive_expsym_cmds \
++    postinstall_cmds \
++    postuninstall_cmds \
++    old_archive_from_expsyms_cmds \
++    allow_undefined_flag \
++    no_undefined_flag \
++    export_symbols_cmds \
++    hardcode_libdir_flag_spec \
++    hardcode_libdir_flag_spec_ld \
++    hardcode_libdir_separator \
++    hardcode_automatic \
++    module_cmds \
++    module_expsym_cmds \
++    lt_cv_prog_compiler_c_o \
++    exclude_expsyms \
++    include_expsyms; do
++
++    case $var in
++    old_archive_cmds | \
++    old_archive_from_new_cmds | \
++    archive_cmds | \
++    archive_expsym_cmds | \
++    module_cmds | \
++    module_expsym_cmds | \   
++    old_archive_from_expsyms_cmds | \
++    export_symbols_cmds | \
++    extract_expsyms_cmds | reload_cmds | finish_cmds | \
++    postinstall_cmds | postuninstall_cmds | \
++    old_postinstall_cmds | old_postuninstall_cmds | \
++    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
++      # Double-quote double-evaled strings.
++      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
++      ;;
++    *)
++      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
++      ;;
++    esac
++  done
++
++  case $lt_echo in
++  *'\$0 --fallback-echo"')
++    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
++    ;;
++  esac
++
++cfgfile="${ofile}T"
++  trap "$rm \"$cfgfile\"; exit 1" 1 2 15
++  $rm -f "$cfgfile"
++  { echo "$as_me:$LINENO: creating $ofile" >&5
++echo "$as_me: creating $ofile" >&6;}
++
++  cat <<__EOF__ >> "$cfgfile"
++#! $SHELL
++
++# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
++# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
++# NOTE: Changes made to this file will be lost: look at ltmain.sh.
++#
++# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
++# Free Software Foundation, Inc.
++#
++# This file is part of GNU Libtool:
++# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
++#
++# 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
++#
++# As a special exception to the GNU General Public License, if you
++# distribute this file as part of a program that contains a
++# configuration script generated by Autoconf, you may include it under
++# the same distribution terms that you use for the rest of that program.
++
++# A sed program that does not truncate output.
++SED=$lt_SED
++
++# Sed that helps us avoid accidentally triggering echo(1) options like -n.
++Xsed="$SED -e s/^X//"
++
++# The HP-UX ksh and POSIX shell print the target directory to stdout
++# if CDPATH is set.
++if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
++
++# The names of the tagged configurations supported by this script.
++available_tags=
++
++# ### BEGIN LIBTOOL CONFIG
++
++# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
++
++# Shell to use when invoking shell scripts.
++SHELL=$lt_SHELL
++
++# Whether or not to build shared libraries.
++build_libtool_libs=$enable_shared
++
++# Whether or not to build static libraries.
++build_old_libs=$enable_static
++
++# Whether or not to add -lc for building shared libraries.
++build_libtool_need_lc=$archive_cmds_need_lc
++
++# Whether or not to disallow shared libs when runtime libs are static
++allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
++
++# Whether or not to optimize for fast installation.
++fast_install=$enable_fast_install
++
++# The host system.
++host_alias=$host_alias
++host=$host
++
++# An echo program that does not interpret backslashes.
++echo=$lt_echo
++
++# The archiver.
++AR=$lt_AR
++AR_FLAGS=$lt_AR_FLAGS
++
++# A C compiler.
++LTCC=$lt_LTCC
++
++# A language-specific compiler.
++CC=$lt_compiler
++
++# Is the compiler the GNU C compiler?
++with_gcc=$GCC
++
++# An ERE matcher.
++EGREP=$lt_EGREP
++
++# The linker used to build libraries.
++LD=$lt_LD
++
++# Whether we need hard or soft links.
++LN_S=$lt_LN_S
++
++# A BSD-compatible nm program.
++NM=$lt_NM
++
++# A symbol stripping program
++STRIP=$lt_STRIP
++
++# Used to examine libraries when file_magic_cmd begins "file"
++MAGIC_CMD=$MAGIC_CMD
++
++# Used on cygwin: DLL creation program.
++DLLTOOL="$DLLTOOL"
++
++# Used on cygwin: object dumper.
++OBJDUMP="$OBJDUMP"
++
++# Used on cygwin: assembler.
++AS="$AS"
++
++# The name of the directory that contains temporary libtool files.
++objdir=$objdir
++
++# How to create reloadable object files.
++reload_flag=$lt_reload_flag
++reload_cmds=$lt_reload_cmds
++
++# How to pass a linker flag through the compiler.
++wl=$lt_lt_prog_compiler_wl
++
++# Object file suffix (normally "o").
++objext="$ac_objext"
++
++# Old archive suffix (normally "a").
++libext="$libext"
++
++# Shared library suffix (normally ".so").
++shrext='$shrext'
++
++# Executable file suffix (normally "").
++exeext="$exeext"
++
++# Additional compiler flags for building library objects.
++pic_flag=$lt_lt_prog_compiler_pic
++pic_mode=$pic_mode
++
++# What is the maximum length of a command?
++max_cmd_len=$lt_cv_sys_max_cmd_len
++
++# Does compiler simultaneously support -c and -o options?
++compiler_c_o=$lt_lt_cv_prog_compiler_c_o
++
++# Must we lock files when doing compilation ?
++need_locks=$lt_need_locks
++
++# Do we need the lib prefix for modules?
++need_lib_prefix=$need_lib_prefix
++
++# Do we need a version for libraries?
++need_version=$need_version
++
++# Whether dlopen is supported.
++dlopen_support=$enable_dlopen
++
++# Whether dlopen of programs is supported.
++dlopen_self=$enable_dlopen_self
++
++# Whether dlopen of statically linked programs is supported.
++dlopen_self_static=$enable_dlopen_self_static
++
++# Compiler flag to prevent dynamic linking.
++link_static_flag=$lt_lt_prog_compiler_static
++
++# Compiler flag to turn off builtin functions.
++no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
++
++# Compiler flag to allow reflexive dlopens.
++export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
++
++# Compiler flag to generate shared objects directly from archives.
++whole_archive_flag_spec=$lt_whole_archive_flag_spec
++
++# Compiler flag to generate thread-safe objects.
++thread_safe_flag_spec=$lt_thread_safe_flag_spec
++
++# Library versioning type.
++version_type=$version_type
++
++# Format of library name prefix.
++libname_spec=$lt_libname_spec
++
++# List of archive names.  First name is the real one, the rest are links.
++# The last name is the one that the linker finds with -lNAME.
++library_names_spec=$lt_library_names_spec
++
++# The coded name of the library, if different from the real name.
++soname_spec=$lt_soname_spec
++
++# Commands used to build and install an old-style archive.
++RANLIB=$lt_RANLIB
++old_archive_cmds=$lt_old_archive_cmds
++old_postinstall_cmds=$lt_old_postinstall_cmds
++old_postuninstall_cmds=$lt_old_postuninstall_cmds
++
++# Create an old-style archive from a shared archive.
++old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
++
++# Create a temporary old-style archive to link instead of a shared archive.
++old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
++
++# Commands used to build and install a shared archive.
++archive_cmds=$lt_archive_cmds
++archive_expsym_cmds=$lt_archive_expsym_cmds
++postinstall_cmds=$lt_postinstall_cmds
++postuninstall_cmds=$lt_postuninstall_cmds
++
++# Commands used to build a loadable module (assumed same as above if empty)
++module_cmds=$lt_module_cmds
++module_expsym_cmds=$lt_module_expsym_cmds
++
++# Commands to strip libraries.
++old_striplib=$lt_old_striplib
++striplib=$lt_striplib
++
++# Dependencies to place before the objects being linked to create a
++# shared library.
++predep_objects=$lt_predep_objects
++
++# Dependencies to place after the objects being linked to create a
++# shared library.
++postdep_objects=$lt_postdep_objects
++
++# Dependencies to place before the objects being linked to create a
++# shared library.
++predeps=$lt_predeps
++
++# Dependencies to place after the objects being linked to create a
++# shared library.
++postdeps=$lt_postdeps
++
++# The library search path used internally by the compiler when linking
++# a shared library.
++compiler_lib_search_path=$lt_compiler_lib_search_path
++
++# Method to check whether dependent libraries are shared objects.
++deplibs_check_method=$lt_deplibs_check_method
++
++# Command to use when deplibs_check_method == file_magic.
++file_magic_cmd=$lt_file_magic_cmd
++
++# Flag that allows shared libraries with undefined symbols to be built.
++allow_undefined_flag=$lt_allow_undefined_flag
++
++# Flag that forces no undefined symbols.
++no_undefined_flag=$lt_no_undefined_flag
++
++# Commands used to finish a libtool library installation in a directory.
++finish_cmds=$lt_finish_cmds
++
++# Same as above, but a single script fragment to be evaled but not shown.
++finish_eval=$lt_finish_eval
++
++# Take the output of nm and produce a listing of raw symbols and C names.
++global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
++
++# Transform the output of nm in a proper C declaration
++global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
++
++# Transform the output of nm in a C name address pair
++global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
++
++# This is the shared library runtime path variable.
++runpath_var=$runpath_var
++
++# This is the shared library path variable.
++shlibpath_var=$shlibpath_var
++
++# Is shlibpath searched before the hard-coded library search path?
++shlibpath_overrides_runpath=$shlibpath_overrides_runpath
++
++# How to hardcode a shared library path into an executable.
++hardcode_action=$hardcode_action
++
++# Whether we should hardcode library paths into libraries.
++hardcode_into_libs=$hardcode_into_libs
++
++# Flag to hardcode \$libdir into a binary during linking.
++# This must work even if \$libdir does not exist.
++hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
++
++# If ld is used when linking, flag to hardcode \$libdir into
++# a binary during linking. This must work even if \$libdir does
++# not exist.
++hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
++
++# Whether we need a single -rpath flag with a separated argument.
++hardcode_libdir_separator=$lt_hardcode_libdir_separator
++
++# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
++# resulting binary.
++hardcode_direct=$hardcode_direct
++
++# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
++# resulting binary.
++hardcode_minus_L=$hardcode_minus_L
++
++# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
++# the resulting binary.
++hardcode_shlibpath_var=$hardcode_shlibpath_var
++
++# Set to yes if building a shared library automatically hardcodes DIR into the library
++# and all subsequent libraries and executables linked against it.
++hardcode_automatic=$hardcode_automatic
++
++# Variables whose values should be saved in libtool wrapper scripts and
++# restored at relink time.
++variables_saved_for_relink="$variables_saved_for_relink"
++
++# Whether libtool must link a program against all its dependency libraries.
++link_all_deplibs=$link_all_deplibs
++
++# Compile-time system search path for libraries
++sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
++
++# Run-time system search path for libraries
++sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
++
++# Fix the shell variable \$srcfile for the compiler.
++fix_srcfile_path="$fix_srcfile_path"
++
++# Set to yes if exported symbols are required.
++always_export_symbols=$always_export_symbols
++
++# The commands to list exported symbols.
++export_symbols_cmds=$lt_export_symbols_cmds
++
++# The commands to extract the exported symbol list from a shared archive.
++extract_expsyms_cmds=$lt_extract_expsyms_cmds
++
++# Symbols that should not be listed in the preloaded symbols.
++exclude_expsyms=$lt_exclude_expsyms
++
++# Symbols that must always be exported.
++include_expsyms=$lt_include_expsyms
++
++# ### END LIBTOOL CONFIG
++
++__EOF__
++
++
++  case $host_os in
++  aix3*)
++    cat <<\EOF >> "$cfgfile"
++
++# AIX sometimes has problems with the GCC collect2 program.  For some
++# reason, if we set the COLLECT_NAMES environment variable, the problems
++# vanish in a puff of smoke.
++if test "X${COLLECT_NAMES+set}" != Xset; then
++  COLLECT_NAMES=
++  export COLLECT_NAMES
++fi
++EOF
++    ;;
++  esac
++
++  # We use sed instead of cat because bash on DJGPP gets confused if
++  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
++  # text mode, it properly converts lines to CR/LF.  This bash problem
++  # is reportedly fixed, but why not run on old versions too?
++  sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
++
++  mv -f "$cfgfile" "$ofile" || \
++    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
++  chmod +x "$ofile"
++
++else
++  # If there is no Makefile yet, we rely on a make rule to execute
++  # `config.status --recheck' to rerun these tests and create the
++  # libtool script then.
++  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
++  if test -f "$ltmain_in"; then
++    test -f Makefile && make "$ltmain"
++  fi
++fi
++
++
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++CC="$lt_save_CC"
++
++
++# Check whether --with-tags or --without-tags was given.
++if test "${with_tags+set}" = set; then
++  withval="$with_tags"
++  tagnames="$withval"
++fi; 
++
++if test -f "$ltmain" && test -n "$tagnames"; then
++  if test ! -f "${ofile}"; then
++    { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
++echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
++  fi
++
++  if test -z "$LTCC"; then
++    eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
++    if test -z "$LTCC"; then
++      { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
++echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
++    else
++      { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
++echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
++    fi
++  fi
++
++  # Extract list of available tagged configurations in $ofile.
++  # Note that this assumes the entire list is on one line.
++  available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
++
++  lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
++  for tagname in $tagnames; do
++    IFS="$lt_save_ifs"
++    # Check whether tagname contains only valid characters
++    case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
++    "") ;;
++    *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
++echo "$as_me: error: invalid tag name: $tagname" >&2;}
++   { (exit 1); exit 1; }; }
++	;;
++    esac
++
++    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
++    then
++      { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
++echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
++   { (exit 1); exit 1; }; }
++    fi
++
++    # Update the list of available tags.
++    if test -n "$tagname"; then
++      echo appending configuration tag \"$tagname\" to $ofile
++
++      case $tagname in
++      CXX)
++	if test -n "$CXX" && test "X$CXX" != "Xno"; then
++	  ac_ext=cc
++ac_cpp='$CXXCPP $CPPFLAGS'
++ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
++
++
++
++
++archive_cmds_need_lc_CXX=no
++allow_undefined_flag_CXX=
++always_export_symbols_CXX=no
++archive_expsym_cmds_CXX=
++export_dynamic_flag_spec_CXX=
++hardcode_direct_CXX=no
++hardcode_libdir_flag_spec_CXX=
++hardcode_libdir_flag_spec_ld_CXX=
++hardcode_libdir_separator_CXX=
++hardcode_minus_L_CXX=no
++hardcode_automatic_CXX=no
++module_cmds_CXX=
++module_expsym_cmds_CXX=
++link_all_deplibs_CXX=unknown
++old_archive_cmds_CXX=$old_archive_cmds
++no_undefined_flag_CXX=
++whole_archive_flag_spec_CXX=
++enable_shared_with_static_runtimes_CXX=no
++
++# Dependencies to place before and after the object being linked:
++predep_objects_CXX=
++postdep_objects_CXX=
++predeps_CXX=
++postdeps_CXX=
++compiler_lib_search_path_CXX=
++
++# Source file extension for C++ test sources.
++ac_ext=cc
++
++# Object file extension for compiled C++ test sources.
++objext=o
++objext_CXX=$objext
++
++# Code to be used in simple compile tests
++lt_simple_compile_test_code="int some_variable = 0;\n"
++
++# Code to be used in simple link tests
++lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
++
++# ltmain only uses $CC for tagged configurations so make sure $CC is set.
++
++# If no C compiler was specified, use CC.
++LTCC=${LTCC-"$CC"}
++
++# Allow CC to be a program name with arguments.
++compiler=$CC
++
++
++# Allow CC to be a program name with arguments.
++lt_save_CC=$CC
++lt_save_LD=$LD
++lt_save_GCC=$GCC
++GCC=$GXX
++lt_save_with_gnu_ld=$with_gnu_ld
++lt_save_path_LD=$lt_cv_path_LD
++if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
++  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
++else
++  unset lt_cv_prog_gnu_ld
++fi
++if test -n "${lt_cv_path_LDCXX+set}"; then
++  lt_cv_path_LD=$lt_cv_path_LDCXX
++else
++  unset lt_cv_path_LD
++fi
++test -z "${LDCXX+set}" || LD=$LDCXX
++CC=${CXX-"c++"}
++compiler=$CC
++compiler_CXX=$CC
++cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
++
++# We don't want -fno-exception wen compiling C++ code, so set the
++# no_builtin_flag separately
++if test "$GXX" = yes; then
++  lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
++else
++  lt_prog_compiler_no_builtin_flag_CXX=
++fi
++
++if test "$GXX" = yes; then
++  # Set up default GNU C++ configuration
++
++  
++# Check whether --with-gnu-ld or --without-gnu-ld was given.
++if test "${with_gnu_ld+set}" = set; then
++  withval="$with_gnu_ld"
++  test "$withval" = no || with_gnu_ld=yes
++else
++  with_gnu_ld=no
++fi; 
++ac_prog=ld
++if test "$GCC" = yes; then
++  # Check if gcc -print-prog-name=ld gives a path.
++  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
++echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
++  case $host in
++  *-*-mingw*)
++    # gcc leaves a trailing carriage return which upsets mingw
++    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
++  *)
++    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
++  esac
++  case $ac_prog in
++    # Accept absolute paths.
++    [\\/]* | ?:[\\/]*)
++      re_direlt='/[^/][^/]*/\.\./'
++      # Canonicalize the pathname of ld
++      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
++      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
++	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
++      done
++      test -z "$LD" && LD="$ac_prog"
++      ;;
++  "")
++    # If it fails, then pretend we aren't using GCC.
++    ac_prog=ld
++    ;;
++  *)
++    # If it is relative, then search for the first ld in PATH.
++    with_gnu_ld=unknown
++    ;;
++  esac
++elif test "$with_gnu_ld" = yes; then
++  echo "$as_me:$LINENO: checking for GNU ld" >&5
++echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
++else
++  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
++echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
++fi
++if test "${lt_cv_path_LD+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -z "$LD"; then
++  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
++  for ac_dir in $PATH; do
++    IFS="$lt_save_ifs"
++    test -z "$ac_dir" && ac_dir=.
++    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
++      lt_cv_path_LD="$ac_dir/$ac_prog"
++      # Check to see if the program is GNU ld.  I'd rather use --version,
++      # but apparently some GNU ld's only accept -v.
++      # Break only if it was the GNU/non-GNU ld that we prefer.
++      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
++      *GNU* | *'with BFD'*)
++	test "$with_gnu_ld" != no && break
++	;;
++      *)
++	test "$with_gnu_ld" != yes && break
++	;;
++      esac
++    fi
++  done
++  IFS="$lt_save_ifs"
++else
++  lt_cv_path_LD="$LD" # Let the user override the test with a path.
++fi
++fi
++
++LD="$lt_cv_path_LD"
++if test -n "$LD"; then
++  echo "$as_me:$LINENO: result: $LD" >&5
++echo "${ECHO_T}$LD" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
++echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
++   { (exit 1); exit 1; }; }
++echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
++echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
++if test "${lt_cv_prog_gnu_ld+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
++case `$LD -v 2>&1 </dev/null` in
++*GNU* | *'with BFD'*)
++  lt_cv_prog_gnu_ld=yes
++  ;;
++*)
++  lt_cv_prog_gnu_ld=no
++  ;;
++esac
++fi
++echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
++echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
++with_gnu_ld=$lt_cv_prog_gnu_ld
++
++
++
++  # Check if GNU C++ uses GNU ld as the underlying linker, since the
++  # archiving commands below assume that GNU ld is being used.
++  if test "$with_gnu_ld" = yes; then
++    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
++    archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++
++    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
++    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
++
++    # If archive_cmds runs LD, not CC, wlarc should be empty
++    # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
++    #     investigate it a little bit more. (MM)
++    wlarc='${wl}'
++
++    # ancient GNU ld didn't support --whole-archive et. al.
++    if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
++	grep 'no-whole-archive' > /dev/null; then
++      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
++    else
++      whole_archive_flag_spec_CXX=
++    fi
++  else
++    with_gnu_ld=no
++    wlarc=
++
++    # A generic and very simple default shared library creation
++    # command for GNU C++ for the case where it uses the native
++    # linker, instead of GNU ld.  If possible, this setting should
++    # overridden to take advantage of the native linker features on
++    # the platform it is being used on.
++    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
++  fi
++
++  # Commands to make compiler produce verbose output that lists
++  # what "hidden" libraries, object files and flags are used when
++  # linking a shared library.
++  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
++
++else
++  GXX=no
++  with_gnu_ld=no
++  wlarc=
++fi
++
++# PORTME: fill in a description of your system's C++ link characteristics
++echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
++echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
++ld_shlibs_CXX=yes
++case $host_os in
++  aix3*)
++    # FIXME: insert proper C++ library support
++    ld_shlibs_CXX=no
++    ;;
++  aix4* | aix5*)
++    if test "$host_cpu" = ia64; then
++      # On IA64, the linker does run time linking by default, so we don't
++      # have to do anything special.
++      aix_use_runtimelinking=no
++      exp_sym_flag='-Bexport'
++      no_entry_flag=""
++    else
++      aix_use_runtimelinking=no
++
++      # Test if we are trying to use run time linking or normal
++      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
++      # need to do runtime linking.
++      case $host_os in aix4.[23]|aix4.[23].*|aix5*)
++	for ld_flag in $LDFLAGS; do
++	  case $ld_flag in
++	  *-brtl*)
++	    aix_use_runtimelinking=yes
++	    break
++	    ;;
++	  esac
++	done
++      esac
++
++      exp_sym_flag='-bexport'
++      no_entry_flag='-bnoentry'
++    fi
++
++    # When large executables or shared objects are built, AIX ld can
++    # have problems creating the table of contents.  If linking a library
++    # or program results in "error TOC overflow" add -mminimal-toc to
++    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
++    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
++
++    archive_cmds_CXX=''
++    hardcode_direct_CXX=yes
++    hardcode_libdir_separator_CXX=':'
++    link_all_deplibs_CXX=yes
++
++    if test "$GXX" = yes; then
++      case $host_os in aix4.012|aix4.012.*)
++      # We only want to do this on AIX 4.2 and lower, the check
++      # below for broken collect2 doesn't work under 4.3+
++	collect2name=`${CC} -print-prog-name=collect2`
++	if test -f "$collect2name" && \
++	   strings "$collect2name" | grep resolve_lib_name >/dev/null
++	then
++	  # We have reworked collect2
++	  hardcode_direct_CXX=yes
++	else
++	  # We have old collect2
++	  hardcode_direct_CXX=unsupported
++	  # It fails to find uninstalled libraries when the uninstalled
++	  # path is not listed in the libpath.  Setting hardcode_minus_L
++	  # to unsupported forces relinking
++	  hardcode_minus_L_CXX=yes
++	  hardcode_libdir_flag_spec_CXX='-L$libdir'
++	  hardcode_libdir_separator_CXX=
++	fi
++      esac
++      shared_flag='-shared'
++    else
++      # not using gcc
++      if test "$host_cpu" = ia64; then
++	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
++	# chokes on -Wl,-G. The following line is correct:
++	shared_flag='-G'
++      else
++	if test "$aix_use_runtimelinking" = yes; then
++	  shared_flag='${wl}-G'
++	else
++	  shared_flag='${wl}-bM:SRE'
++	fi
++      fi
++    fi
++
++    # It seems that -bexpall does not export symbols beginning with
++    # underscore (_), so it is better to generate a list of symbols to export.
++    always_export_symbols_CXX=yes
++    if test "$aix_use_runtimelinking" = yes; then
++      # Warning - without using the other runtime loading flags (-brtl),
++      # -berok will link without error, but may produce a broken library.
++      allow_undefined_flag_CXX='-berok'
++      # Determine the default libpath from the value encoded in an empty executable.
++      cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  
++aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
++}'`
++# Check for a 64-bit object if we didn't find anything.
++if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
++}'`; fi
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
++
++      hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
++
++      archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
++     else
++      if test "$host_cpu" = ia64; then
++	hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
++	allow_undefined_flag_CXX="-z nodefs"
++	archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
++      else
++	# Determine the default libpath from the value encoded in an empty executable.
++	cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  
++aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
++}'`
++# Check for a 64-bit object if we didn't find anything.
++if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
++}'`; fi
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
++
++	hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
++	# Warning - without using the other run time loading flags,
++	# -berok will link without error, but may produce a broken library.
++	no_undefined_flag_CXX=' ${wl}-bernotok'
++	allow_undefined_flag_CXX=' ${wl}-berok'
++	# -bexpall does not export symbols beginning with underscore (_)
++	always_export_symbols_CXX=yes
++	# Exported symbols can be pulled into shared objects from archives
++	whole_archive_flag_spec_CXX=' '
++	archive_cmds_need_lc_CXX=yes
++	# This is similar to how AIX traditionally builds it's shared libraries.
++	archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
++      fi
++    fi
++    ;;
++  chorus*)
++    case $cc_basename in
++      *)
++	# FIXME: insert proper C++ library support
++	ld_shlibs_CXX=no
++	;;
++    esac
++    ;;
++
++  cygwin* | mingw* | pw32*)
++    # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
++    # as there is no search path for DLLs.
++    hardcode_libdir_flag_spec_CXX='-L$libdir'
++    allow_undefined_flag_CXX=unsupported
++    always_export_symbols_CXX=no
++    enable_shared_with_static_runtimes_CXX=yes
++
++    if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
++      archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
++      # If the export-symbols file already is a .def file (1st line
++      # is EXPORTS), use it as is; otherwise, prepend...
++      archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
++	cp $export_symbols $output_objdir/$soname.def;
++      else
++	echo EXPORTS > $output_objdir/$soname.def;
++	cat $export_symbols >> $output_objdir/$soname.def;
++      fi~
++      $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
++    else
++      ld_shlibs_CXX=no
++    fi
++  ;;
++
++  darwin* | rhapsody*)
++  if test "$GXX" = yes; then
++    archive_cmds_need_lc_CXX=no
++    case "$host_os" in
++    rhapsody* | darwin1.[012])
++      allow_undefined_flag_CXX='-undefined suppress'
++      ;;
++    *) # Darwin 1.3 on
++      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
++      	allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
++      else
++        case ${MACOSX_DEPLOYMENT_TARGET} in
++          10.[012])
++            allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
++            ;;
++          10.*)
++            allow_undefined_flag_CXX='-undefined dynamic_lookup'
++            ;;            
++        esac
++      fi
++      ;;
++    esac
++    lt_int_apple_cc_single_mod=no
++    output_verbose_link_cmd='echo'
++    if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
++      lt_int_apple_cc_single_mod=yes
++    fi
++    if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
++      archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
++    else
++      archive_cmds_CXX='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
++    fi
++    module_cmds_CXX='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
++
++    # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
++    if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
++      archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++    else
++      archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++    fi
++    module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++    hardcode_direct_CXX=no
++    hardcode_automatic_CXX=yes
++    hardcode_shlibpath_var_CXX=unsupported
++    whole_archive_flag_spec_CXX='-all_load $convenience'
++    link_all_deplibs_CXX=yes
++  else
++    ld_shlibs_CXX=no
++  fi
++    ;;
++
++  dgux*)
++    case $cc_basename in
++      ec++)
++	# FIXME: insert proper C++ library support
++	ld_shlibs_CXX=no
++	;;
++      ghcx)
++	# Green Hills C++ Compiler
++	# FIXME: insert proper C++ library support
++	ld_shlibs_CXX=no
++	;;
++      *)
++	# FIXME: insert proper C++ library support
++	ld_shlibs_CXX=no
++	;;
++    esac
++    ;;
++  freebsd12*)
++    # C++ shared libraries reported to be fairly broken before switch to ELF
++    ld_shlibs_CXX=no
++    ;;
++  freebsd-elf*)
++    archive_cmds_need_lc_CXX=no
++    ;;
++  freebsd* | kfreebsd*-gnu)
++    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
++    # conventions
++    ld_shlibs_CXX=yes
++    ;;
++  gnu*)
++    ;;
++  hpux9*)
++    hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
++    hardcode_libdir_separator_CXX=:
++    export_dynamic_flag_spec_CXX='${wl}-E'
++    hardcode_direct_CXX=yes
++    hardcode_minus_L_CXX=yes # Not in the search PATH,
++				# but as the default
++				# location of the library.
++
++    case $cc_basename in
++    CC)
++      # FIXME: insert proper C++ library support
++      ld_shlibs_CXX=no
++      ;;
++    aCC)
++      archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
++      # Commands to make compiler produce verbose output that lists
++      # what "hidden" libraries, object files and flags are used when
++      # linking a shared library.
++      #
++      # There doesn't appear to be a way to prevent this compiler from
++      # explicitly linking system object files so we need to strip them
++      # from the output so that they don't get included in the library
++      # dependencies.
++      output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | egrep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
++      ;;
++    *)
++      if test "$GXX" = yes; then
++        archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
++      else
++        # FIXME: insert proper C++ library support
++        ld_shlibs_CXX=no
++      fi
++      ;;
++    esac
++    ;;
++  hpux10*|hpux11*)
++    if test $with_gnu_ld = no; then
++      case "$host_cpu" in
++      hppa*64*)
++	hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
++	hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
++	hardcode_libdir_separator_CXX=:
++        ;;
++      ia64*)
++	hardcode_libdir_flag_spec_CXX='-L$libdir'
++        ;;
++      *)
++	hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
++	hardcode_libdir_separator_CXX=:
++	export_dynamic_flag_spec_CXX='${wl}-E'
++        ;;
++      esac
++    fi
++    case "$host_cpu" in
++    hppa*64*)
++      hardcode_direct_CXX=no
++      hardcode_shlibpath_var_CXX=no
++      ;;
++    ia64*)
++      hardcode_direct_CXX=no
++      hardcode_shlibpath_var_CXX=no
++      hardcode_minus_L_CXX=yes # Not in the search PATH,
++					      # but as the default
++					      # location of the library.
++      ;;
++    *)
++      hardcode_direct_CXX=yes
++      hardcode_minus_L_CXX=yes # Not in the search PATH,
++					      # but as the default
++					      # location of the library.
++      ;;
++    esac
++
++    case $cc_basename in
++      CC)
++	# FIXME: insert proper C++ library support
++	ld_shlibs_CXX=no
++	;;
++      aCC)
++	case "$host_cpu" in
++	hppa*64*|ia64*)
++	  archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
++	  ;;
++	*)
++	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
++	  ;;
++	esac
++	# Commands to make compiler produce verbose output that lists
++	# what "hidden" libraries, object files and flags are used when
++	# linking a shared library.
++	#
++	# There doesn't appear to be a way to prevent this compiler from
++	# explicitly linking system object files so we need to strip them
++	# from the output so that they don't get included in the library
++	# dependencies.
++	output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
++	;;
++      *)
++	if test "$GXX" = yes; then
++	  if test $with_gnu_ld = no; then
++	    case "$host_cpu" in
++	    ia64*|hppa*64*)
++	      archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
++	      ;;
++	    *)
++	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
++	      ;;
++	    esac
++	  fi
++	else
++	  # FIXME: insert proper C++ library support
++	  ld_shlibs_CXX=no
++	fi
++	;;
++    esac
++    ;;
++  irix5* | irix6*)
++    case $cc_basename in
++      CC)
++	# SGI C++
++	archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
++
++	# Archives containing C++ object files must be created using
++	# "CC -ar", where "CC" is the IRIX C++ compiler.  This is
++	# necessary to make sure instantiated templates are included
++	# in the archive.
++	old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
++	;;
++      *)
++	if test "$GXX" = yes; then
++	  if test "$with_gnu_ld" = no; then
++	    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
++	  else
++	    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
++	  fi
++	fi
++	link_all_deplibs_CXX=yes
++	;;
++    esac
++    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
++    hardcode_libdir_separator_CXX=:
++    ;;
++  linux*)
++    case $cc_basename in
++      KCC)
++	# Kuck and Associates, Inc. (KAI) C++ Compiler
++
++	# KCC will only create a shared library if the output file
++	# ends with ".so" (or ".sl" for HP-UX), so rename the library
++	# to its proper name (with version) after linking.
++	archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
++	archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
++	# Commands to make compiler produce verbose output that lists
++	# what "hidden" libraries, object files and flags are used when
++	# linking a shared library.
++	#
++	# There doesn't appear to be a way to prevent this compiler from
++	# explicitly linking system object files so we need to strip them
++	# from the output so that they don't get included in the library
++	# dependencies.
++	output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
++
++	hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
++	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
++
++	# Archives containing C++ object files must be created using
++	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
++	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
++	;;
++      icpc)
++	# Intel C++
++	with_gnu_ld=yes
++	archive_cmds_need_lc_CXX=no
++	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
++	archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
++	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
++	whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
++	;;
++      cxx)
++	# Compaq C++
++	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
++	archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
++
++	runpath_var=LD_RUN_PATH
++	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
++	hardcode_libdir_separator_CXX=:
++
++	# Commands to make compiler produce verbose output that lists
++	# what "hidden" libraries, object files and flags are used when
++	# linking a shared library.
++	#
++	# There doesn't appear to be a way to prevent this compiler from
++	# explicitly linking system object files so we need to strip them
++	# from the output so that they don't get included in the library
++	# dependencies.
++	output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
++	;;
++    esac
++    ;;
++  lynxos*)
++    # FIXME: insert proper C++ library support
++    ld_shlibs_CXX=no
++    ;;
++  m88k*)
++    # FIXME: insert proper C++ library support
++    ld_shlibs_CXX=no
++    ;;
++  mvs*)
++    case $cc_basename in
++      cxx)
++	# FIXME: insert proper C++ library support
++	ld_shlibs_CXX=no
++	;;
++      *)
++	# FIXME: insert proper C++ library support
++	ld_shlibs_CXX=no
++	;;
++    esac
++    ;;
++  netbsd*)
++    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
++      wlarc=
++      hardcode_libdir_flag_spec_CXX='-R$libdir'
++      hardcode_direct_CXX=yes
++      hardcode_shlibpath_var_CXX=no
++    fi
++    # Workaround some broken pre-1.5 toolchains
++    output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
++    ;;
++  osf3*)
++    case $cc_basename in
++      KCC)
++	# Kuck and Associates, Inc. (KAI) C++ Compiler
++
++	# KCC will only create a shared library if the output file
++	# ends with ".so" (or ".sl" for HP-UX), so rename the library
++	# to its proper name (with version) after linking.
++	archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
++
++	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
++	hardcode_libdir_separator_CXX=:
++
++	# Archives containing C++ object files must be created using
++	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
++	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
++
++	;;
++      RCC)
++	# Rational C++ 2.4.1
++	# FIXME: insert proper C++ library support
++	ld_shlibs_CXX=no
++	;;
++      cxx)
++	allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
++	archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
++
++	hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
++	hardcode_libdir_separator_CXX=:
++
++	# Commands to make compiler produce verbose output that lists
++	# what "hidden" libraries, object files and flags are used when
++	# linking a shared library.
++	#
++	# There doesn't appear to be a way to prevent this compiler from
++	# explicitly linking system object files so we need to strip them
++	# from the output so that they don't get included in the library
++	# dependencies.
++	output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
++	;;
++      *)
++	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
++	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
++	  archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
++
++	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
++	  hardcode_libdir_separator_CXX=:
++
++	  # Commands to make compiler produce verbose output that lists
++	  # what "hidden" libraries, object files and flags are used when
++	  # linking a shared library.
++	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
++
++	else
++	  # FIXME: insert proper C++ library support
++	  ld_shlibs_CXX=no
++	fi
++	;;
++    esac
++    ;;
++  osf4* | osf5*)
++    case $cc_basename in
++      KCC)
++	# Kuck and Associates, Inc. (KAI) C++ Compiler
++
++	# KCC will only create a shared library if the output file
++	# ends with ".so" (or ".sl" for HP-UX), so rename the library
++	# to its proper name (with version) after linking.
++	archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
++
++	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
++	hardcode_libdir_separator_CXX=:
++
++	# Archives containing C++ object files must be created using
++	# the KAI C++ compiler.
++	old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
++	;;
++      RCC)
++	# Rational C++ 2.4.1
++	# FIXME: insert proper C++ library support
++	ld_shlibs_CXX=no
++	;;
++      cxx)
++	allow_undefined_flag_CXX=' -expect_unresolved \*'
++	archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
++	archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
++	  echo "-hidden">> $lib.exp~
++	  $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp  `test -n "$verstring" && echo -set_version	$verstring` -update_registry $objdir/so_locations -o $lib~
++	  $rm $lib.exp'
++
++	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
++	hardcode_libdir_separator_CXX=:
++
++	# Commands to make compiler produce verbose output that lists
++	# what "hidden" libraries, object files and flags are used when
++	# linking a shared library.
++	#
++	# There doesn't appear to be a way to prevent this compiler from
++	# explicitly linking system object files so we need to strip them
++	# from the output so that they don't get included in the library
++	# dependencies.
++	output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
++	;;
++      *)
++	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
++	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
++	 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
++
++	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
++	  hardcode_libdir_separator_CXX=:
++
++	  # Commands to make compiler produce verbose output that lists
++	  # what "hidden" libraries, object files and flags are used when
++	  # linking a shared library.
++	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
++
++	else
++	  # FIXME: insert proper C++ library support
++	  ld_shlibs_CXX=no
++	fi
++	;;
++    esac
++    ;;
++  psos*)
++    # FIXME: insert proper C++ library support
++    ld_shlibs_CXX=no
++    ;;
++  sco*)
++    archive_cmds_need_lc_CXX=no
++    case $cc_basename in
++      CC)
++	# FIXME: insert proper C++ library support
++	ld_shlibs_CXX=no
++	;;
++      *)
++	# FIXME: insert proper C++ library support
++	ld_shlibs_CXX=no
++	;;
++    esac
++    ;;
++  sunos4*)
++    case $cc_basename in
++      CC)
++	# Sun C++ 4.x
++	# FIXME: insert proper C++ library support
++	ld_shlibs_CXX=no
++	;;
++      lcc)
++	# Lucid
++	# FIXME: insert proper C++ library support
++	ld_shlibs_CXX=no
++	;;
++      *)
++	# FIXME: insert proper C++ library support
++	ld_shlibs_CXX=no
++	;;
++    esac
++    ;;
++  solaris*)
++    case $cc_basename in
++      CC)
++	# Sun C++ 4.2, 5.x and Centerline C++
++	no_undefined_flag_CXX=' -zdefs'
++	archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
++	archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++	$CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
++
++	hardcode_libdir_flag_spec_CXX='-R$libdir'
++	hardcode_shlibpath_var_CXX=no
++	case $host_os in
++	  solaris2.0-5 | solaris2.0-5.*) ;;
++	  *)
++	    # The C++ compiler is used as linker so we must use $wl
++	    # flag to pass the commands to the underlying system
++	    # linker.
++	    # Supported since Solaris 2.6 (maybe 2.5.1?)
++	    whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
++	    ;;
++	esac
++	link_all_deplibs_CXX=yes
++
++	# Commands to make compiler produce verbose output that lists
++	# what "hidden" libraries, object files and flags are used when
++	# linking a shared library.
++	#
++	# There doesn't appear to be a way to prevent this compiler from
++	# explicitly linking system object files so we need to strip them
++	# from the output so that they don't get included in the library
++	# dependencies.
++	output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[LR]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
++
++	# Archives containing C++ object files must be created using
++	# "CC -xar", where "CC" is the Sun C++ compiler.  This is
++	# necessary to make sure instantiated templates are included
++	# in the archive.
++	old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
++	;;
++      gcx)
++	# Green Hills C++ Compiler
++	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
++
++	# The C++ compiler must be used to create the archive.
++	old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
++	;;
++      *)
++	# GNU C++ compiler with Solaris linker
++	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
++	  no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
++	  if $CC --version | grep -v '^2\.7' > /dev/null; then
++	    archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
++	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++		$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
++
++	    # Commands to make compiler produce verbose output that lists
++	    # what "hidden" libraries, object files and flags are used when
++	    # linking a shared library.
++	    output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
++	  else
++	    # g++ 2.7 appears to require `-G' NOT `-shared' on this
++	    # platform.
++	    archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
++	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++		$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
++
++	    # Commands to make compiler produce verbose output that lists
++	    # what "hidden" libraries, object files and flags are used when
++	    # linking a shared library.
++	    output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
++	  fi
++
++	  hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
++	fi
++	;;
++    esac
++    ;;
++  sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
++    archive_cmds_need_lc_CXX=no
++    ;;
++  tandem*)
++    case $cc_basename in
++      NCC)
++	# NonStop-UX NCC 3.20
++	# FIXME: insert proper C++ library support
++	ld_shlibs_CXX=no
++	;;
++      *)
++	# FIXME: insert proper C++ library support
++	ld_shlibs_CXX=no
++	;;
++    esac
++    ;;
++  vxworks*)
++    # FIXME: insert proper C++ library support
++    ld_shlibs_CXX=no
++    ;;
++  *)
++    # FIXME: insert proper C++ library support
++    ld_shlibs_CXX=no
++    ;;
++esac
++echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
++echo "${ECHO_T}$ld_shlibs_CXX" >&6
++test "$ld_shlibs_CXX" = no && can_build_shared=no
++
++GCC_CXX="$GXX"
++LD_CXX="$LD"
++
++
++cat > conftest.$ac_ext <<EOF
++class Foo
++{
++public:
++  Foo (void) { a = 0; }
++private:
++  int a;
++};
++EOF
++
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; then
++  # Parse the compiler output and extract the necessary
++  # objects, libraries and library flags.
++
++  # Sentinel used to keep track of whether or not we are before
++  # the conftest object file.
++  pre_test_object_deps_done=no
++
++  # The `*' in the case matches for architectures that use `case' in
++  # $output_verbose_cmd can trigger glob expansion during the loop
++  # eval without this substitution.
++  output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
++
++  for p in `eval $output_verbose_link_cmd`; do
++    case $p in
++
++    -L* | -R* | -l*)
++       # Some compilers place space between "-{L,R}" and the path.
++       # Remove the space.
++       if test $p = "-L" \
++	  || test $p = "-R"; then
++	 prev=$p
++	 continue
++       else
++	 prev=
++       fi
++
++       if test "$pre_test_object_deps_done" = no; then
++	 case $p in
++	 -L* | -R*)
++	   # Internal compiler library paths should come after those
++	   # provided the user.  The postdeps already come after the
++	   # user supplied libs so there is no need to process them.
++	   if test -z "$compiler_lib_search_path_CXX"; then
++	     compiler_lib_search_path_CXX="${prev}${p}"
++	   else
++	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
++	   fi
++	   ;;
++	 # The "-l" case would never come before the object being
++	 # linked, so don't bother handling this case.
++	 esac
++       else
++	 if test -z "$postdeps_CXX"; then
++	   postdeps_CXX="${prev}${p}"
++	 else
++	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
++	 fi
++       fi
++       ;;
++
++    *.$objext)
++       # This assumes that the test object file only shows up
++       # once in the compiler output.
++       if test "$p" = "conftest.$objext"; then
++	 pre_test_object_deps_done=yes
++	 continue
++       fi
++
++       if test "$pre_test_object_deps_done" = no; then
++	 if test -z "$predep_objects_CXX"; then
++	   predep_objects_CXX="$p"
++	 else
++	   predep_objects_CXX="$predep_objects_CXX $p"
++	 fi
++       else
++	 if test -z "$postdep_objects_CXX"; then
++	   postdep_objects_CXX="$p"
++	 else
++	   postdep_objects_CXX="$postdep_objects_CXX $p"
++	 fi
++       fi
++       ;;
++
++    *) ;; # Ignore the rest.
++
++    esac
++  done
++
++  # Clean up.
++  rm -f a.out a.exe
++else
++  echo "libtool.m4: error: problem compiling CXX test program"
++fi
++
++$rm -f confest.$objext
++
++case " $postdeps_CXX " in
++*" -lc "*) archive_cmds_need_lc_CXX=no ;;
++esac
++
++lt_prog_compiler_wl_CXX=
++lt_prog_compiler_pic_CXX=
++lt_prog_compiler_static_CXX=
++
++echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
++echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
++ 
++  # C++ specific cases for pic, static, wl, etc.
++  if test "$GXX" = yes; then
++    lt_prog_compiler_wl_CXX='-Wl,'
++    lt_prog_compiler_static_CXX='-static'
++
++    case $host_os in
++    aix*)
++      # All AIX code is PIC.
++      if test "$host_cpu" = ia64; then
++	# AIX 5 now supports IA64 processor
++	lt_prog_compiler_static_CXX='-Bstatic'
++      fi
++      ;;
++    amigaos*)
++      # FIXME: we need at least 68020 code to build shared libraries, but
++      # adding the `-m68020' flag to GCC prevents building anything better,
++      # like `-m68040'.
++      lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
++      ;;
++    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
++      # PIC is the default for these OSes.
++      ;;
++    mingw* | os2* | pw32*)
++      # This hack is so that the source file can tell whether it is being
++      # built for inclusion in a dll (and should export symbols for example).
++      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
++      ;;
++    darwin* | rhapsody*)
++      # PIC is the default on this platform
++      # Common symbols not allowed in MH_DYLIB files
++      lt_prog_compiler_pic_CXX='-fno-common'
++      ;;
++    *djgpp*)
++      # DJGPP does not support shared libraries at all
++      lt_prog_compiler_pic_CXX=
++      ;;
++    sysv4*MP*)
++      if test -d /usr/nec; then
++	lt_prog_compiler_pic_CXX=-Kconform_pic
++      fi
++      ;;
++    hpux*)
++      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
++      # not for PA HP-UX.
++      case "$host_cpu" in
++      hppa*64*|ia64*)
++	;;
++      *)
++	lt_prog_compiler_pic_CXX='-fPIC'
++	;;
++      esac
++      ;;
++    *)
++      lt_prog_compiler_pic_CXX='-fPIC'
++      ;;
++    esac
++  else
++    case $host_os in
++      aix4* | aix5*)
++	# All AIX code is PIC.
++	if test "$host_cpu" = ia64; then
++	  # AIX 5 now supports IA64 processor
++	  lt_prog_compiler_static_CXX='-Bstatic'
++	else
++	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
++	fi
++	;;
++      chorus*)
++	case $cc_basename in
++	cxch68)
++	  # Green Hills C++ Compiler
++	  # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
++	  ;;
++	esac
++	;;
++      dgux*)
++	case $cc_basename in
++	  ec++)
++	    lt_prog_compiler_pic_CXX='-KPIC'
++	    ;;
++	  ghcx)
++	    # Green Hills C++ Compiler
++	    lt_prog_compiler_pic_CXX='-pic'
++	    ;;
++	  *)
++	    ;;
++	esac
++	;;
++      freebsd* | kfreebsd*-gnu)
++	# FreeBSD uses GNU C++
++	;;
++      hpux9* | hpux10* | hpux11*)
++	case $cc_basename in
++	  CC)
++	    lt_prog_compiler_wl_CXX='-Wl,'
++	    lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
++	    if test "$host_cpu" != ia64; then
++	      lt_prog_compiler_pic_CXX='+Z'
++	    fi
++	    ;;
++	  aCC)
++	    lt_prog_compiler_wl_CXX='-Wl,'
++	    lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
++	    case "$host_cpu" in
++	    hppa*64*|ia64*)
++	      # +Z the default
++	      ;;
++	    *)
++	      lt_prog_compiler_pic_CXX='+Z'
++	      ;;
++	    esac
++	    ;;
++	  *)
++	    ;;
++	esac
++	;;
++      irix5* | irix6* | nonstopux*)
++	case $cc_basename in
++	  CC)
++	    lt_prog_compiler_wl_CXX='-Wl,'
++	    lt_prog_compiler_static_CXX='-non_shared'
++	    # CC pic flag -KPIC is the default.
++	    ;;
++	  *)
++	    ;;
++	esac
++	;;
++      linux*)
++	case $cc_basename in
++	  KCC)
++	    # KAI C++ Compiler
++	    lt_prog_compiler_wl_CXX='--backend -Wl,'
++	    lt_prog_compiler_pic_CXX='-fPIC'
++	    ;;
++	  icpc)
++	    # Intel C++
++	    lt_prog_compiler_wl_CXX='-Wl,'
++	    lt_prog_compiler_pic_CXX='-KPIC'
++	    lt_prog_compiler_static_CXX='-static'
++	    ;; 
++	  cxx)
++	    # Compaq C++
++	    # Make sure the PIC flag is empty.  It appears that all Alpha
++	    # Linux and Compaq Tru64 Unix objects are PIC.
++	    lt_prog_compiler_pic_CXX=
++	    lt_prog_compiler_static_CXX='-non_shared'
++	    ;;
++	  *)
++	    ;;
++	esac
++	;;
++      lynxos*)
++	;;
++      m88k*)
++	;;
++      mvs*)
++	case $cc_basename in
++	  cxx)
++	    lt_prog_compiler_pic_CXX='-W c,exportall'
++	    ;;
++	  *)
++	    ;;
++	esac
++	;;
++      netbsd*)
++	;;
++      osf3* | osf4* | osf5*)
++	case $cc_basename in
++	  KCC)
++	    lt_prog_compiler_wl_CXX='--backend -Wl,'
++	    ;;
++	  RCC)
++	    # Rational C++ 2.4.1
++	    lt_prog_compiler_pic_CXX='-pic'
++	    ;;
++	  cxx)
++	    # Digital/Compaq C++
++	    lt_prog_compiler_wl_CXX='-Wl,'
++	    # Make sure the PIC flag is empty.  It appears that all Alpha
++	    # Linux and Compaq Tru64 Unix objects are PIC.
++	    lt_prog_compiler_pic_CXX=
++	    lt_prog_compiler_static_CXX='-non_shared'
++	    ;;
++	  *)
++	    ;;
++	esac
++	;;
++      psos*)
++	;;
++      sco*)
++	case $cc_basename in
++	  CC)
++	    lt_prog_compiler_pic_CXX='-fPIC'
++	    ;;
++	  *)
++	    ;;
++	esac
++	;;
++      solaris*)
++	case $cc_basename in
++	  CC)
++	    # Sun C++ 4.2, 5.x and Centerline C++
++	    lt_prog_compiler_pic_CXX='-KPIC'
++	    lt_prog_compiler_static_CXX='-Bstatic'
++	    lt_prog_compiler_wl_CXX='-Qoption ld '
++	    ;;
++	  gcx)
++	    # Green Hills C++ Compiler
++	    lt_prog_compiler_pic_CXX='-PIC'
++	    ;;
++	  *)
++	    ;;
++	esac
++	;;
++      sunos4*)
++	case $cc_basename in
++	  CC)
++	    # Sun C++ 4.x
++	    lt_prog_compiler_pic_CXX='-pic'
++	    lt_prog_compiler_static_CXX='-Bstatic'
++	    ;;
++	  lcc)
++	    # Lucid
++	    lt_prog_compiler_pic_CXX='-pic'
++	    ;;
++	  *)
++	    ;;
++	esac
++	;;
++      tandem*)
++	case $cc_basename in
++	  NCC)
++	    # NonStop-UX NCC 3.20
++	    lt_prog_compiler_pic_CXX='-KPIC'
++	    ;;
++	  *)
++	    ;;
++	esac
++	;;
++      unixware*)
++	;;
++      vxworks*)
++	;;
++      *)
++	lt_prog_compiler_can_build_shared_CXX=no
++	;;
++    esac
++  fi
++
++echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
++echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
++
++#
++# Check to make sure the PIC flag actually works.
++#
++if test -n "$lt_prog_compiler_pic_CXX"; then
++  
++echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
++echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
++if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  lt_prog_compiler_pic_works_CXX=no
++  ac_outfile=conftest.$ac_objext
++   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
++   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
++   # Insert the option either (1) after the last *FLAGS variable, or
++   # (2) before a word containing "conftest.", or (3) at the end.
++   # Note that $ac_compile itself does not contain backslashes and begins
++   # with a dollar sign (not a hyphen), so the echo should work correctly.
++   # The option is referenced via a variable to avoid confusing sed.
++   lt_compile=`echo "$ac_compile" | $SED \
++   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
++   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
++   -e 's:$: $lt_compiler_flag:'`
++   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
++   (eval "$lt_compile" 2>conftest.err)
++   ac_status=$?
++   cat conftest.err >&5
++   echo "$as_me:__oline__: \$? = $ac_status" >&5
++   if (exit $ac_status) && test -s "$ac_outfile"; then
++     # The compiler can only warn and ignore the option if not recognized
++     # So say no if there are warnings
++     if test ! -s conftest.err; then
++       lt_prog_compiler_pic_works_CXX=yes
++     fi
++   fi
++   $rm conftest*
++
++fi
++echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
++echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
++
++if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
++    case $lt_prog_compiler_pic_CXX in
++     "" | " "*) ;;
++     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
++     esac
++else
++    lt_prog_compiler_pic_CXX=
++     lt_prog_compiler_can_build_shared_CXX=no
++fi
++
++fi
++case "$host_os" in
++  # For platforms which do not support PIC, -DPIC is meaningless:
++  *djgpp*)
++    lt_prog_compiler_pic_CXX=
++    ;;
++  *)
++    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
++    ;;
++esac
++
++echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
++echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
++if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  lt_cv_prog_compiler_c_o_CXX=no
++   $rm -r conftest 2>/dev/null
++   mkdir conftest
++   cd conftest
++   mkdir out
++   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
++
++   # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
++   # that will create temporary files in the current directory regardless of
++   # the output directory.  Thus, making CWD read-only will cause this test
++   # to fail, enabling locking or at least warning the user not to do parallel
++   # builds.
++   chmod -w .
++
++   lt_compiler_flag="-o out/conftest2.$ac_objext"
++   # Insert the option either (1) after the last *FLAGS variable, or
++   # (2) before a word containing "conftest.", or (3) at the end.
++   # Note that $ac_compile itself does not contain backslashes and begins
++   # with a dollar sign (not a hyphen), so the echo should work correctly.
++   lt_compile=`echo "$ac_compile" | $SED \
++   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
++   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
++   -e 's:$: $lt_compiler_flag:'`
++   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
++   (eval "$lt_compile" 2>out/conftest.err)
++   ac_status=$?
++   cat out/conftest.err >&5
++   echo "$as_me:__oline__: \$? = $ac_status" >&5
++   if (exit $ac_status) && test -s out/conftest2.$ac_objext
++   then
++     # The compiler can only warn and ignore the option if not recognized
++     # So say no if there are warnings
++     if test ! -s out/conftest.err; then
++       lt_cv_prog_compiler_c_o_CXX=yes
++     fi
++   fi
++   chmod u+w .
++   $rm conftest*
++   # SGI C++ compiler will create directory out/ii_files/ for
++   # template instantiation
++   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
++   $rm out/* && rmdir out
++   cd ..
++   rmdir conftest
++   $rm conftest*
++
++fi
++echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
++echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
++
++
++hard_links="nottested"
++if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
++  # do not overwrite the value of need_locks provided by the user
++  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
++echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
++  hard_links=yes
++  $rm conftest*
++  ln conftest.a conftest.b 2>/dev/null && hard_links=no
++  touch conftest.a
++  ln conftest.a conftest.b 2>&5 || hard_links=no
++  ln conftest.a conftest.b 2>/dev/null && hard_links=no
++  echo "$as_me:$LINENO: result: $hard_links" >&5
++echo "${ECHO_T}$hard_links" >&6
++  if test "$hard_links" = no; then
++    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
++echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
++    need_locks=warn
++  fi
++else
++  need_locks=no
++fi
++
++echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
++echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
++
++  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
++  case $host_os in
++  aix4* | aix5*)
++    # If we're using GNU nm, then we don't want the "-C" option.
++    # -C means demangle to AIX nm, but means don't demangle with GNU nm
++    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
++      export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
++    else
++      export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
++    fi
++    ;;
++  pw32*)
++    export_symbols_cmds_CXX="$ltdll_cmds"
++  ;;
++  cygwin* | mingw*)
++    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
++  ;;
++  *)
++    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
++  ;;
++  esac
++
++echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
++echo "${ECHO_T}$ld_shlibs_CXX" >&6
++test "$ld_shlibs_CXX" = no && can_build_shared=no
++
++variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
++if test "$GCC" = yes; then
++  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
++fi
++
++#
++# Do we need to explicitly link libc?
++#
++case "x$archive_cmds_need_lc_CXX" in
++x|xyes)
++  # Assume -lc should be added
++  archive_cmds_need_lc_CXX=yes
++
++  if test "$enable_shared" = yes && test "$GCC" = yes; then
++    case $archive_cmds_CXX in
++    *'~'*)
++      # FIXME: we may have to deal with multi-command sequences.
++      ;;
++    '$CC '*)
++      # Test whether the compiler implicitly links with -lc since on some
++      # systems, -lgcc has to come before -lc. If gcc already passes -lc
++      # to ld, don't add -lc before -lgcc.
++      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
++echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
++      $rm conftest*
++      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
++  
++      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } 2>conftest.err; then
++        soname=conftest
++        lib=conftest
++        libobjs=conftest.$ac_objext
++        deplibs=
++        wl=$lt_prog_compiler_wl_CXX
++        compiler_flags=-v
++        linker_flags=-v
++        verstring=
++        output_objdir=.
++        libname=conftest
++        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
++        allow_undefined_flag_CXX=
++        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
++  (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }
++        then
++	  archive_cmds_need_lc_CXX=no
++        else
++	  archive_cmds_need_lc_CXX=yes
++        fi
++        allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
++      else
++        cat conftest.err 1>&5
++      fi
++      $rm conftest*
++      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
++echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
++      ;;
++    esac
++  fi
++  ;;
++esac
++
++echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
++echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
++library_names_spec=
++libname_spec='lib$name'
++soname_spec=
++shrext=".so"
++postinstall_cmds=
++postuninstall_cmds=
++finish_cmds=
++finish_eval=
++shlibpath_var=
++shlibpath_overrides_runpath=unknown
++version_type=none
++dynamic_linker="$host_os ld.so"
++sys_lib_dlsearch_path_spec="/lib /usr/lib"
++if test "$GCC" = yes; then
++  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
++  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
++    # if the path contains ";" then we assume it to be the separator
++    # otherwise default to the standard path separator (i.e. ":") - it is
++    # assumed that no part of a normal pathname contains ";" but that should
++    # okay in the real world where ";" in dirpaths is itself problematic.
++    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
++  else
++    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
++  fi
++else
++  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
++fi
++need_lib_prefix=unknown
++hardcode_into_libs=no
++
++# when you set need_version to no, make sure it does not cause -set_version
++# flags to be left without arguments
++need_version=unknown
++
++case $host_os in
++aix3*)
++  version_type=linux
++  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
++  shlibpath_var=LIBPATH
++
++  # AIX 3 has no versioning support, so we append a major version to the name.
++  soname_spec='${libname}${release}${shared_ext}$major'
++  ;;
++
++aix4* | aix5*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  hardcode_into_libs=yes
++  if test "$host_cpu" = ia64; then
++    # AIX 5 supports IA64
++    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
++    shlibpath_var=LD_LIBRARY_PATH
++  else
++    # With GCC up to 2.95.x, collect2 would create an import file
++    # for dependence libraries.  The import file would start with
++    # the line `#! .'.  This would cause the generated library to
++    # depend on `.', always an invalid library.  This was fixed in
++    # development snapshots of GCC prior to 3.0.
++    case $host_os in
++      aix4 | aix4.[01] | aix4.[01].*)
++      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
++	   echo ' yes '
++	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
++	:
++      else
++	can_build_shared=no
++      fi
++      ;;
++    esac
++    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
++    # soname into executable. Probably we can add versioning support to
++    # collect2, so additional links can be useful in future.
++    if test "$aix_use_runtimelinking" = yes; then
++      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
++      # instead of lib<name>.a to let people know that these are not
++      # typical AIX shared libraries.
++      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++    else
++      # We preserve .a as extension for shared libraries through AIX4.2
++      # and later when we are not doing run time linking.
++      library_names_spec='${libname}${release}.a $libname.a'
++      soname_spec='${libname}${release}${shared_ext}$major'
++    fi
++    shlibpath_var=LIBPATH
++  fi
++  ;;
++
++amigaos*)
++  library_names_spec='$libname.ixlibrary $libname.a'
++  # Create ${libname}_ixlibrary.a entries in /sys/libs.
++  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
++  ;;
++
++beos*)
++  library_names_spec='${libname}${shared_ext}'
++  dynamic_linker="$host_os ld.so"
++  shlibpath_var=LIBRARY_PATH
++  ;;
++
++bsdi4*)
++  version_type=linux
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
++  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
++  # the default ld.so.conf also contains /usr/contrib/lib and
++  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
++  # libtool to hard-code these into programs
++  ;;
++
++cygwin* | mingw* | pw32*)
++  version_type=windows
++  shrext=".dll"
++  need_version=no
++  need_lib_prefix=no
++
++  case $GCC,$host_os in
++  yes,cygwin* | yes,mingw* | yes,pw32*)
++    library_names_spec='$libname.dll.a'
++    # DLL is installed to $(libdir)/../bin by postinstall_cmds
++    postinstall_cmds='base_file=`basename \${file}`~
++      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
++      dldir=$destdir/`dirname \$dlpath`~
++      test -d \$dldir || mkdir -p \$dldir~
++      $install_prog $dir/$dlname \$dldir/$dlname'
++    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
++      dlpath=$dir/\$dldll~
++       $rm \$dlpath'
++    shlibpath_overrides_runpath=yes
++
++    case $host_os in
++    cygwin*)
++      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
++      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
++      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
++      ;;
++    mingw*)
++      # MinGW DLLs use traditional 'lib' prefix
++      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
++      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
++      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
++        # It is most probably a Windows format PATH printed by
++        # mingw gcc, but we are running on Cygwin. Gcc prints its search
++        # path with ; separators, and with drive letters. We can handle the
++        # drive letters (cygwin fileutils understands them), so leave them,
++        # especially as we might pass files found there to a mingw objdump,
++        # which wouldn't understand a cygwinified path. Ahh.
++        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
++      else
++        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
++      fi
++      ;;
++    pw32*)
++      # pw32 DLLs use 'pw' prefix rather than 'lib'
++      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
++      ;;
++    esac
++    ;;
++
++  *)
++    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
++    ;;
++  esac
++  dynamic_linker='Win32 ld.exe'
++  # FIXME: first we should search . and the directory the executable is in
++  shlibpath_var=PATH
++  ;;
++
++darwin* | rhapsody*)
++  dynamic_linker="$host_os dyld"
++  version_type=darwin
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
++  soname_spec='${libname}${release}${major}$shared_ext'
++  shlibpath_overrides_runpath=yes
++  shlibpath_var=DYLD_LIBRARY_PATH
++  shrext='$(test .$module = .yes && echo .so || echo .dylib)'
++  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
++  if test "$GCC" = yes; then
++    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
++  else
++    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
++  fi
++  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
++  ;;
++
++dgux*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++freebsd1*)
++  dynamic_linker=no
++  ;;
++
++kfreebsd*-gnu)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=no
++  hardcode_into_libs=yes
++  dynamic_linker='GNU ld.so'
++  ;;
++
++freebsd*)
++  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
++  version_type=freebsd-$objformat
++  case $version_type in
++    freebsd-elf*)
++      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
++      need_version=no
++      need_lib_prefix=no
++      ;;
++    freebsd-*)
++      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
++      need_version=yes
++      ;;
++  esac
++  shlibpath_var=LD_LIBRARY_PATH
++  case $host_os in
++  freebsd2*)
++    shlibpath_overrides_runpath=yes
++    ;;
++  freebsd3.01* | freebsdelf3.01*)
++    shlibpath_overrides_runpath=yes
++    hardcode_into_libs=yes
++    ;;
++  *) # from 3.2 on
++    shlibpath_overrides_runpath=no
++    hardcode_into_libs=yes
++    ;;
++  esac
++  ;;
++
++gnu*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  hardcode_into_libs=yes
++  ;;
++
++hpux9* | hpux10* | hpux11*)
++  # Give a soname corresponding to the major version so that dld.sl refuses to
++  # link against other versions.
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=no
++  case "$host_cpu" in
++  ia64*)
++    shrext='.so'
++    hardcode_into_libs=yes
++    dynamic_linker="$host_os dld.so"
++    shlibpath_var=LD_LIBRARY_PATH
++    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
++    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++    soname_spec='${libname}${release}${shared_ext}$major'
++    if test "X$HPUX_IA64_MODE" = X32; then
++      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
++    else
++      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
++    fi
++    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
++    ;;
++   hppa*64*)
++     shrext='.sl'
++     hardcode_into_libs=yes
++     dynamic_linker="$host_os dld.sl"
++     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
++     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
++     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++     soname_spec='${libname}${release}${shared_ext}$major'
++     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
++     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
++     ;;
++   *)
++    shrext='.sl'
++    dynamic_linker="$host_os dld.sl"
++    shlibpath_var=SHLIB_PATH
++    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
++    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++    soname_spec='${libname}${release}${shared_ext}$major'
++    ;;
++  esac
++  # HP-UX runs *really* slowly unless shared libraries are mode 555.
++  postinstall_cmds='chmod 555 $lib'
++  ;;
++
++irix5* | irix6* | nonstopux*)
++  case $host_os in
++    nonstopux*) version_type=nonstopux ;;
++    *)
++	if test "$lt_cv_prog_gnu_ld" = yes; then
++		version_type=linux
++	else
++		version_type=irix
++	fi ;;
++  esac
++  need_lib_prefix=no
++  need_version=no
++  soname_spec='${libname}${release}${shared_ext}$major'
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
++  case $host_os in
++  irix5* | nonstopux*)
++    libsuff= shlibsuff=
++    ;;
++  *)
++    case $LD in # libtool.m4 will add one of these switches to LD
++    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
++      libsuff= shlibsuff= libmagic=32-bit;;
++    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
++      libsuff=32 shlibsuff=N32 libmagic=N32;;
++    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
++      libsuff=64 shlibsuff=64 libmagic=64-bit;;
++    *) libsuff= shlibsuff= libmagic=never-match;;
++    esac
++    ;;
++  esac
++  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
++  shlibpath_overrides_runpath=no
++  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
++  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
++  hardcode_into_libs=yes
++  ;;
++
++# No shared lib support for Linux oldld, aout, or coff.
++linux*oldld* | linux*aout* | linux*coff*)
++  dynamic_linker=no
++  ;;
++
++# This must be Linux ELF.
++linux*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=no
++  # This implies no fast_install, which is unacceptable.
++  # Some rework will be needed to allow for fast_install
++  # before this can be enabled.
++  hardcode_into_libs=yes
++
++  # We used to test for /lib/ld.so.1 and disable shared libraries on
++  # powerpc, because MkLinux only supported shared libraries with the
++  # GNU dynamic linker.  Since this was broken with cross compilers,
++  # most powerpc-linux boxes support dynamic linking these days and
++  # people can always --disable-shared, the test was removed, and we
++  # assume the GNU/Linux dynamic linker is in use.
++  dynamic_linker='GNU/Linux ld.so'
++  ;;
++
++netbsd*)
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=no
++  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
++    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
++    dynamic_linker='NetBSD (a.out) ld.so'
++  else
++    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
++    soname_spec='${libname}${release}${shared_ext}$major'
++    dynamic_linker='NetBSD ld.elf_so'
++  fi
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  hardcode_into_libs=yes
++  ;;
++
++newsos6)
++  version_type=linux
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  ;;
++
++nto-qnx*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  ;;
++
++openbsd*)
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
++    case $host_os in
++      openbsd2.[89] | openbsd2.[89].*)
++	shlibpath_overrides_runpath=no
++	;;
++      *)
++	shlibpath_overrides_runpath=yes
++	;;
++      esac
++  else
++    shlibpath_overrides_runpath=yes
++  fi
++  ;;
++
++os2*)
++  libname_spec='$name'
++  shrext=".dll"
++  need_lib_prefix=no
++  library_names_spec='$libname${shared_ext} $libname.a'
++  dynamic_linker='OS/2 ld.exe'
++  shlibpath_var=LIBPATH
++  ;;
++
++osf3* | osf4* | osf5*)
++  version_type=osf
++  need_lib_prefix=no
++  need_version=no
++  soname_spec='${libname}${release}${shared_ext}$major'
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  shlibpath_var=LD_LIBRARY_PATH
++  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
++  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
++  ;;
++
++sco3.2v5*)
++  version_type=osf
++  soname_spec='${libname}${release}${shared_ext}$major'
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++solaris*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  hardcode_into_libs=yes
++  # ldd complains unless libraries are executable
++  postinstall_cmds='chmod +x $lib'
++  ;;
++
++sunos4*)
++  version_type=sunos
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
++  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  if test "$with_gnu_ld" = yes; then
++    need_lib_prefix=no
++  fi
++  need_version=yes
++  ;;
++
++sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
++  version_type=linux
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  case $host_vendor in
++    sni)
++      shlibpath_overrides_runpath=no
++      need_lib_prefix=no
++      export_dynamic_flag_spec='${wl}-Blargedynsym'
++      runpath_var=LD_RUN_PATH
++      ;;
++    siemens)
++      need_lib_prefix=no
++      ;;
++    motorola)
++      need_lib_prefix=no
++      need_version=no
++      shlibpath_overrides_runpath=no
++      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
++      ;;
++  esac
++  ;;
++
++sysv4*MP*)
++  if test -d /usr/nec ;then
++    version_type=linux
++    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
++    soname_spec='$libname${shared_ext}.$major'
++    shlibpath_var=LD_LIBRARY_PATH
++  fi
++  ;;
++
++uts4*)
++  version_type=linux
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++*)
++  dynamic_linker=no
++  ;;
++esac
++echo "$as_me:$LINENO: result: $dynamic_linker" >&5
++echo "${ECHO_T}$dynamic_linker" >&6
++test "$dynamic_linker" = no && can_build_shared=no
++
++echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
++echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
++hardcode_action_CXX=
++if test -n "$hardcode_libdir_flag_spec_CXX" || \
++   test -n "$runpath_var CXX" || \
++   test "X$hardcode_automatic_CXX"="Xyes" ; then
++
++  # We can hardcode non-existant directories.
++  if test "$hardcode_direct_CXX" != no &&
++     # If the only mechanism to avoid hardcoding is shlibpath_var, we
++     # have to relink, otherwise we might link with an installed library
++     # when we should be linking with a yet-to-be-installed one
++     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
++     test "$hardcode_minus_L_CXX" != no; then
++    # Linking always hardcodes the temporary library directory.
++    hardcode_action_CXX=relink
++  else
++    # We can link without hardcoding, and we can hardcode nonexisting dirs.
++    hardcode_action_CXX=immediate
++  fi
++else
++  # We cannot hardcode anything, or else we can only hardcode existing
++  # directories.
++  hardcode_action_CXX=unsupported
++fi
++echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
++echo "${ECHO_T}$hardcode_action_CXX" >&6
++
++if test "$hardcode_action_CXX" = relink; then
++  # Fast installation is not supported
++  enable_fast_install=no
++elif test "$shlibpath_overrides_runpath" = yes ||
++     test "$enable_shared" = no; then
++  # Fast installation is not necessary
++  enable_fast_install=needless
++fi
++
++striplib=
++old_striplib=
++echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
++echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
++if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
++  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
++  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
++  echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++else
++# FIXME - insert some real tests, host_os isn't really good enough
++  case $host_os in
++   darwin*)
++       if test -n "$STRIP" ; then
++         striplib="$STRIP -x"
++         echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++       else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++       ;;
++   *)
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++    ;;
++  esac  
++fi
++
++if test "x$enable_dlopen" != xyes; then
++  enable_dlopen=unknown
++  enable_dlopen_self=unknown
++  enable_dlopen_self_static=unknown
++else
++  lt_cv_dlopen=no
++  lt_cv_dlopen_libs=
++
++  case $host_os in
++  beos*)
++    lt_cv_dlopen="load_add_on"
++    lt_cv_dlopen_libs=
++    lt_cv_dlopen_self=yes
++    ;;
++
++  mingw* | pw32*)
++    lt_cv_dlopen="LoadLibrary"
++    lt_cv_dlopen_libs=
++   ;;
++
++  cygwin*)
++    lt_cv_dlopen="dlopen"
++    lt_cv_dlopen_libs=
++   ;;
++
++  darwin*)
++  # if libdl is installed we need to link against it
++    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
++echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
++if test "${ac_cv_lib_dl_dlopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ldl  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dlopen ();
++int
++main ()
++{
++dlopen ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_dl_dlopen=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_dl_dlopen=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
++echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
++if test $ac_cv_lib_dl_dlopen = yes; then
++  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
++else
++  
++    lt_cv_dlopen="dyld"
++    lt_cv_dlopen_libs=
++    lt_cv_dlopen_self=yes
++    
++fi
++
++   ;;
++    
++  *)
++    echo "$as_me:$LINENO: checking for shl_load" >&5
++echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
++if test "${ac_cv_func_shl_load+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char shl_load (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char shl_load ();
++/* 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_shl_load) || defined (__stub___shl_load)
++choke me
++#else
++char (*f) () = shl_load;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != shl_load;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_shl_load=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_shl_load=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
++echo "${ECHO_T}$ac_cv_func_shl_load" >&6
++if test $ac_cv_func_shl_load = yes; then
++  lt_cv_dlopen="shl_load"
++else
++  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
++echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
++if test "${ac_cv_lib_dld_shl_load+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ldld  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char shl_load ();
++int
++main ()
++{
++shl_load ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_dld_shl_load=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_dld_shl_load=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
++echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
++if test $ac_cv_lib_dld_shl_load = yes; then
++  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
++else
++  echo "$as_me:$LINENO: checking for dlopen" >&5
++echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
++if test "${ac_cv_func_dlopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char dlopen (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dlopen ();
++/* 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_dlopen) || defined (__stub___dlopen)
++choke me
++#else
++char (*f) () = dlopen;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != dlopen;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_dlopen=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_dlopen=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
++echo "${ECHO_T}$ac_cv_func_dlopen" >&6
++if test $ac_cv_func_dlopen = yes; then
++  lt_cv_dlopen="dlopen"
++else
++  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
++echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
++if test "${ac_cv_lib_dl_dlopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ldl  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dlopen ();
++int
++main ()
++{
++dlopen ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_dl_dlopen=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_dl_dlopen=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
++echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
++if test $ac_cv_lib_dl_dlopen = yes; then
++  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
++else
++  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
++echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
++if test "${ac_cv_lib_svld_dlopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-lsvld  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dlopen ();
++int
++main ()
++{
++dlopen ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_svld_dlopen=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_svld_dlopen=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
++echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
++if test $ac_cv_lib_svld_dlopen = yes; then
++  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
++else
++  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
++echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
++if test "${ac_cv_lib_dld_dld_link+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ldld  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dld_link ();
++int
++main ()
++{
++dld_link ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_dld_dld_link=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_dld_dld_link=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
++echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
++if test $ac_cv_lib_dld_dld_link = yes; then
++  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
++fi
++
++	      
++fi
++
++	    
++fi
++
++	  
++fi
++
++	
++fi
++
++      
++fi
++
++    ;;
++  esac
++
++  if test "x$lt_cv_dlopen" != xno; then
++    enable_dlopen=yes
++  else
++    enable_dlopen=no
++  fi
++
++  case $lt_cv_dlopen in
++  dlopen)
++    save_CPPFLAGS="$CPPFLAGS"
++    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
++
++    save_LDFLAGS="$LDFLAGS"
++    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
++
++    save_LIBS="$LIBS"
++    LIBS="$lt_cv_dlopen_libs $LIBS"
++
++    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
++echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
++if test "${lt_cv_dlopen_self+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  	  if test "$cross_compiling" = yes; then :
++  lt_cv_dlopen_self=cross
++else
++  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
++  lt_status=$lt_dlunknown
++  cat > conftest.$ac_ext <<EOF
++#line __oline__ "configure"
++#include "confdefs.h"
++
++#if HAVE_DLFCN_H
++#include <dlfcn.h>
++#endif
++
++#include <stdio.h>
++
++#ifdef RTLD_GLOBAL
++#  define LT_DLGLOBAL		RTLD_GLOBAL
++#else
++#  ifdef DL_GLOBAL
++#    define LT_DLGLOBAL		DL_GLOBAL
++#  else
++#    define LT_DLGLOBAL		0
++#  endif
++#endif
++
++/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
++   find out it does not work in some platform. */
++#ifndef LT_DLLAZY_OR_NOW
++#  ifdef RTLD_LAZY
++#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
++#  else
++#    ifdef DL_LAZY
++#      define LT_DLLAZY_OR_NOW		DL_LAZY
++#    else
++#      ifdef RTLD_NOW
++#        define LT_DLLAZY_OR_NOW	RTLD_NOW
++#      else
++#        ifdef DL_NOW
++#          define LT_DLLAZY_OR_NOW	DL_NOW
++#        else
++#          define LT_DLLAZY_OR_NOW	0
++#        endif
++#      endif
++#    endif
++#  endif
++#endif
++
++#ifdef __cplusplus
++extern "C" void exit (int);
++#endif
++
++void fnord() { int i=42;}
++int main ()
++{
++  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
++  int status = $lt_dlunknown;
++
++  if (self)
++    {
++      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
++      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
++      /* dlclose (self); */
++    }
++
++    exit (status);
++}
++EOF
++  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
++    (./conftest; exit; ) 2>/dev/null
++    lt_status=$?
++    case x$lt_status in
++      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
++      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
++      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
++    esac
++  else :
++    # compilation failed
++    lt_cv_dlopen_self=no
++  fi
++fi
++rm -fr conftest*
++
++    
++fi
++echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
++echo "${ECHO_T}$lt_cv_dlopen_self" >&6
++
++    if test "x$lt_cv_dlopen_self" = xyes; then
++      LDFLAGS="$LDFLAGS $link_static_flag"
++      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
++echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
++if test "${lt_cv_dlopen_self_static+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  	  if test "$cross_compiling" = yes; then :
++  lt_cv_dlopen_self_static=cross
++else
++  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
++  lt_status=$lt_dlunknown
++  cat > conftest.$ac_ext <<EOF
++#line __oline__ "configure"
++#include "confdefs.h"
++
++#if HAVE_DLFCN_H
++#include <dlfcn.h>
++#endif
++
++#include <stdio.h>
++
++#ifdef RTLD_GLOBAL
++#  define LT_DLGLOBAL		RTLD_GLOBAL
++#else
++#  ifdef DL_GLOBAL
++#    define LT_DLGLOBAL		DL_GLOBAL
++#  else
++#    define LT_DLGLOBAL		0
++#  endif
++#endif
++
++/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
++   find out it does not work in some platform. */
++#ifndef LT_DLLAZY_OR_NOW
++#  ifdef RTLD_LAZY
++#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
++#  else
++#    ifdef DL_LAZY
++#      define LT_DLLAZY_OR_NOW		DL_LAZY
++#    else
++#      ifdef RTLD_NOW
++#        define LT_DLLAZY_OR_NOW	RTLD_NOW
++#      else
++#        ifdef DL_NOW
++#          define LT_DLLAZY_OR_NOW	DL_NOW
++#        else
++#          define LT_DLLAZY_OR_NOW	0
++#        endif
++#      endif
++#    endif
++#  endif
++#endif
++
++#ifdef __cplusplus
++extern "C" void exit (int);
++#endif
++
++void fnord() { int i=42;}
++int main ()
++{
++  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
++  int status = $lt_dlunknown;
++
++  if (self)
++    {
++      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
++      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
++      /* dlclose (self); */
++    }
++
++    exit (status);
++}
++EOF
++  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
++    (./conftest; exit; ) 2>/dev/null
++    lt_status=$?
++    case x$lt_status in
++      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
++      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
++      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
++    esac
++  else :
++    # compilation failed
++    lt_cv_dlopen_self_static=no
++  fi
++fi
++rm -fr conftest*
++
++      
++fi
++echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
++echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
++    fi
++
++    CPPFLAGS="$save_CPPFLAGS"
++    LDFLAGS="$save_LDFLAGS"
++    LIBS="$save_LIBS"
++    ;;
++  esac
++
++  case $lt_cv_dlopen_self in
++  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
++  *) enable_dlopen_self=unknown ;;
++  esac
++
++  case $lt_cv_dlopen_self_static in
++  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
++  *) enable_dlopen_self_static=unknown ;;
++  esac
++fi
++
++
++# The else clause should only fire when bootstrapping the
++# libtool distribution, otherwise you forgot to ship ltmain.sh
++# with your package, and you will get complaints that there are
++# no rules to generate ltmain.sh.
++if test -f "$ltmain"; then
++  # See if we are running on zsh, and set the options which allow our commands through
++  # without removal of \ escapes.
++  if test -n "${ZSH_VERSION+set}" ; then
++    setopt NO_GLOB_SUBST
++  fi  
++  # Now quote all the things that may contain metacharacters while being
++  # careful not to overquote the AC_SUBSTed values.  We take copies of the
++  # variables and quote the copies for generation of the libtool script.
++  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
++    SED SHELL STRIP \
++    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
++    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
++    deplibs_check_method reload_flag reload_cmds need_locks \
++    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
++    lt_cv_sys_global_symbol_to_c_name_address \
++    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
++    old_postinstall_cmds old_postuninstall_cmds \
++    compiler_CXX \
++    CC_CXX \
++    LD_CXX \
++    lt_prog_compiler_wl_CXX \
++    lt_prog_compiler_pic_CXX \
++    lt_prog_compiler_static_CXX \
++    lt_prog_compiler_no_builtin_flag_CXX \
++    export_dynamic_flag_spec_CXX \
++    thread_safe_flag_spec_CXX \
++    whole_archive_flag_spec_CXX \
++    enable_shared_with_static_runtimes_CXX \
++    old_archive_cmds_CXX \
++    old_archive_from_new_cmds_CXX \
++    predep_objects_CXX \
++    postdep_objects_CXX \
++    predeps_CXX \
++    postdeps_CXX \
++    compiler_lib_search_path_CXX \
++    archive_cmds_CXX \
++    archive_expsym_cmds_CXX \
++    postinstall_cmds_CXX \
++    postuninstall_cmds_CXX \
++    old_archive_from_expsyms_cmds_CXX \
++    allow_undefined_flag_CXX \
++    no_undefined_flag_CXX \
++    export_symbols_cmds_CXX \
++    hardcode_libdir_flag_spec_CXX \
++    hardcode_libdir_flag_spec_ld_CXX \
++    hardcode_libdir_separator_CXX \
++    hardcode_automatic_CXX \
++    module_cmds_CXX \
++    module_expsym_cmds_CXX \
++    lt_cv_prog_compiler_c_o_CXX \
++    exclude_expsyms_CXX \
++    include_expsyms_CXX; do
++
++    case $var in
++    old_archive_cmds_CXX | \
++    old_archive_from_new_cmds_CXX | \
++    archive_cmds_CXX | \
++    archive_expsym_cmds_CXX | \
++    module_cmds_CXX | \
++    module_expsym_cmds_CXX | \   
++    old_archive_from_expsyms_cmds_CXX | \
++    export_symbols_cmds_CXX | \
++    extract_expsyms_cmds | reload_cmds | finish_cmds | \
++    postinstall_cmds | postuninstall_cmds | \
++    old_postinstall_cmds | old_postuninstall_cmds | \
++    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
++      # Double-quote double-evaled strings.
++      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
++      ;;
++    *)
++      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
++      ;;
++    esac
++  done
++
++  case $lt_echo in
++  *'\$0 --fallback-echo"')
++    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
++    ;;
++  esac
++
++cfgfile="$ofile"
++
++  cat <<__EOF__ >> "$cfgfile"
++# ### BEGIN LIBTOOL TAG CONFIG: $tagname
++
++# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
++
++# Shell to use when invoking shell scripts.
++SHELL=$lt_SHELL
++
++# Whether or not to build shared libraries.
++build_libtool_libs=$enable_shared
++
++# Whether or not to build static libraries.
++build_old_libs=$enable_static
++
++# Whether or not to add -lc for building shared libraries.
++build_libtool_need_lc=$archive_cmds_need_lc_CXX
++
++# Whether or not to disallow shared libs when runtime libs are static
++allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
++
++# Whether or not to optimize for fast installation.
++fast_install=$enable_fast_install
++
++# The host system.
++host_alias=$host_alias
++host=$host
++
++# An echo program that does not interpret backslashes.
++echo=$lt_echo
++
++# The archiver.
++AR=$lt_AR
++AR_FLAGS=$lt_AR_FLAGS
++
++# A C compiler.
++LTCC=$lt_LTCC
++
++# A language-specific compiler.
++CC=$lt_compiler_CXX
++
++# Is the compiler the GNU C compiler?
++with_gcc=$GCC_CXX
++
++# An ERE matcher.
++EGREP=$lt_EGREP
++
++# The linker used to build libraries.
++LD=$lt_LD_CXX
++
++# Whether we need hard or soft links.
++LN_S=$lt_LN_S
++
++# A BSD-compatible nm program.
++NM=$lt_NM
++
++# A symbol stripping program
++STRIP=$lt_STRIP
++
++# Used to examine libraries when file_magic_cmd begins "file"
++MAGIC_CMD=$MAGIC_CMD
++
++# Used on cygwin: DLL creation program.
++DLLTOOL="$DLLTOOL"
++
++# Used on cygwin: object dumper.
++OBJDUMP="$OBJDUMP"
++
++# Used on cygwin: assembler.
++AS="$AS"
++
++# The name of the directory that contains temporary libtool files.
++objdir=$objdir
++
++# How to create reloadable object files.
++reload_flag=$lt_reload_flag
++reload_cmds=$lt_reload_cmds
++
++# How to pass a linker flag through the compiler.
++wl=$lt_lt_prog_compiler_wl_CXX
++
++# Object file suffix (normally "o").
++objext="$ac_objext"
++
++# Old archive suffix (normally "a").
++libext="$libext"
++
++# Shared library suffix (normally ".so").
++shrext='$shrext'
++
++# Executable file suffix (normally "").
++exeext="$exeext"
++
++# Additional compiler flags for building library objects.
++pic_flag=$lt_lt_prog_compiler_pic_CXX
++pic_mode=$pic_mode
++
++# What is the maximum length of a command?
++max_cmd_len=$lt_cv_sys_max_cmd_len
++
++# Does compiler simultaneously support -c and -o options?
++compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
++
++# Must we lock files when doing compilation ?
++need_locks=$lt_need_locks
++
++# Do we need the lib prefix for modules?
++need_lib_prefix=$need_lib_prefix
++
++# Do we need a version for libraries?
++need_version=$need_version
++
++# Whether dlopen is supported.
++dlopen_support=$enable_dlopen
++
++# Whether dlopen of programs is supported.
++dlopen_self=$enable_dlopen_self
++
++# Whether dlopen of statically linked programs is supported.
++dlopen_self_static=$enable_dlopen_self_static
++
++# Compiler flag to prevent dynamic linking.
++link_static_flag=$lt_lt_prog_compiler_static_CXX
++
++# Compiler flag to turn off builtin functions.
++no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
++
++# Compiler flag to allow reflexive dlopens.
++export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
++
++# Compiler flag to generate shared objects directly from archives.
++whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
++
++# Compiler flag to generate thread-safe objects.
++thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
++
++# Library versioning type.
++version_type=$version_type
++
++# Format of library name prefix.
++libname_spec=$lt_libname_spec
++
++# List of archive names.  First name is the real one, the rest are links.
++# The last name is the one that the linker finds with -lNAME.
++library_names_spec=$lt_library_names_spec
++
++# The coded name of the library, if different from the real name.
++soname_spec=$lt_soname_spec
++
++# Commands used to build and install an old-style archive.
++RANLIB=$lt_RANLIB
++old_archive_cmds=$lt_old_archive_cmds_CXX
++old_postinstall_cmds=$lt_old_postinstall_cmds
++old_postuninstall_cmds=$lt_old_postuninstall_cmds
++
++# Create an old-style archive from a shared archive.
++old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
++
++# Create a temporary old-style archive to link instead of a shared archive.
++old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
++
++# Commands used to build and install a shared archive.
++archive_cmds=$lt_archive_cmds_CXX
++archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
++postinstall_cmds=$lt_postinstall_cmds
++postuninstall_cmds=$lt_postuninstall_cmds
++
++# Commands used to build a loadable module (assumed same as above if empty)
++module_cmds=$lt_module_cmds_CXX
++module_expsym_cmds=$lt_module_expsym_cmds_CXX
++
++# Commands to strip libraries.
++old_striplib=$lt_old_striplib
++striplib=$lt_striplib
++
++# Dependencies to place before the objects being linked to create a
++# shared library.
++predep_objects=$lt_predep_objects_CXX
++
++# Dependencies to place after the objects being linked to create a
++# shared library.
++postdep_objects=$lt_postdep_objects_CXX
++
++# Dependencies to place before the objects being linked to create a
++# shared library.
++predeps=$lt_predeps_CXX
++
++# Dependencies to place after the objects being linked to create a
++# shared library.
++postdeps=$lt_postdeps_CXX
++
++# The library search path used internally by the compiler when linking
++# a shared library.
++compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
++
++# Method to check whether dependent libraries are shared objects.
++deplibs_check_method=$lt_deplibs_check_method
++
++# Command to use when deplibs_check_method == file_magic.
++file_magic_cmd=$lt_file_magic_cmd
++
++# Flag that allows shared libraries with undefined symbols to be built.
++allow_undefined_flag=$lt_allow_undefined_flag_CXX
++
++# Flag that forces no undefined symbols.
++no_undefined_flag=$lt_no_undefined_flag_CXX
++
++# Commands used to finish a libtool library installation in a directory.
++finish_cmds=$lt_finish_cmds
++
++# Same as above, but a single script fragment to be evaled but not shown.
++finish_eval=$lt_finish_eval
++
++# Take the output of nm and produce a listing of raw symbols and C names.
++global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
++
++# Transform the output of nm in a proper C declaration
++global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
++
++# Transform the output of nm in a C name address pair
++global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
++
++# This is the shared library runtime path variable.
++runpath_var=$runpath_var
++
++# This is the shared library path variable.
++shlibpath_var=$shlibpath_var
++
++# Is shlibpath searched before the hard-coded library search path?
++shlibpath_overrides_runpath=$shlibpath_overrides_runpath
++
++# How to hardcode a shared library path into an executable.
++hardcode_action=$hardcode_action_CXX
++
++# Whether we should hardcode library paths into libraries.
++hardcode_into_libs=$hardcode_into_libs
++
++# Flag to hardcode \$libdir into a binary during linking.
++# This must work even if \$libdir does not exist.
++hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
++
++# If ld is used when linking, flag to hardcode \$libdir into
++# a binary during linking. This must work even if \$libdir does
++# not exist.
++hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
++
++# Whether we need a single -rpath flag with a separated argument.
++hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
++
++# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
++# resulting binary.
++hardcode_direct=$hardcode_direct_CXX
++
++# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
++# resulting binary.
++hardcode_minus_L=$hardcode_minus_L_CXX
++
++# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
++# the resulting binary.
++hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
++
++# Set to yes if building a shared library automatically hardcodes DIR into the library
++# and all subsequent libraries and executables linked against it.
++hardcode_automatic=$hardcode_automatic_CXX
++
++# Variables whose values should be saved in libtool wrapper scripts and
++# restored at relink time.
++variables_saved_for_relink="$variables_saved_for_relink"
++
++# Whether libtool must link a program against all its dependency libraries.
++link_all_deplibs=$link_all_deplibs_CXX
++
++# Compile-time system search path for libraries
++sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
++
++# Run-time system search path for libraries
++sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
++
++# Fix the shell variable \$srcfile for the compiler.
++fix_srcfile_path="$fix_srcfile_path_CXX"
++
++# Set to yes if exported symbols are required.
++always_export_symbols=$always_export_symbols_CXX
++
++# The commands to list exported symbols.
++export_symbols_cmds=$lt_export_symbols_cmds_CXX
++
++# The commands to extract the exported symbol list from a shared archive.
++extract_expsyms_cmds=$lt_extract_expsyms_cmds
++
++# Symbols that should not be listed in the preloaded symbols.
++exclude_expsyms=$lt_exclude_expsyms_CXX
++
++# Symbols that must always be exported.
++include_expsyms=$lt_include_expsyms_CXX
++
++# ### END LIBTOOL TAG CONFIG: $tagname
++
++__EOF__
++
++
++else
++  # If there is no Makefile yet, we rely on a make rule to execute
++  # `config.status --recheck' to rerun these tests and create the
++  # libtool script then.
++  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
++  if test -f "$ltmain_in"; then
++    test -f Makefile && make "$ltmain"
++  fi
++fi
++
++
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++CC=$lt_save_CC
++LDCXX=$LD
++LD=$lt_save_LD
++GCC=$lt_save_GCC
++with_gnu_ldcxx=$with_gnu_ld
++with_gnu_ld=$lt_save_with_gnu_ld
++lt_cv_path_LDCXX=$lt_cv_path_LD
++lt_cv_path_LD=$lt_save_path_LD
++lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
++lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
++
++	else
++	  tagname=""
++	fi
++	;;
++
++      F77)
++	if test -n "$F77" && test "X$F77" != "Xno"; then
++	  
++ac_ext=f
++ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
++ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_f77_compiler_gnu
++
++
++archive_cmds_need_lc_F77=no
++allow_undefined_flag_F77=
++always_export_symbols_F77=no
++archive_expsym_cmds_F77=
++export_dynamic_flag_spec_F77=
++hardcode_direct_F77=no
++hardcode_libdir_flag_spec_F77=
++hardcode_libdir_flag_spec_ld_F77=
++hardcode_libdir_separator_F77=
++hardcode_minus_L_F77=no
++hardcode_automatic_F77=no
++module_cmds_F77=
++module_expsym_cmds_F77=
++link_all_deplibs_F77=unknown
++old_archive_cmds_F77=$old_archive_cmds
++no_undefined_flag_F77=
++whole_archive_flag_spec_F77=
++enable_shared_with_static_runtimes_F77=no
++
++# Source file extension for f77 test sources.
++ac_ext=f
++
++# Object file extension for compiled f77 test sources.
++objext=o
++objext_F77=$objext
++
++# Code to be used in simple compile tests
++lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
++
++# Code to be used in simple link tests
++lt_simple_link_test_code="      program t\n      end\n"
++
++# ltmain only uses $CC for tagged configurations so make sure $CC is set.
++
++# If no C compiler was specified, use CC.
++LTCC=${LTCC-"$CC"}
++
++# Allow CC to be a program name with arguments.
++compiler=$CC
++
++
++# Allow CC to be a program name with arguments.
++lt_save_CC="$CC"
++CC=${F77-"f77"}
++compiler=$CC
++compiler_F77=$CC
++cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
++
++echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
++echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
++echo "$as_me:$LINENO: result: $can_build_shared" >&5
++echo "${ECHO_T}$can_build_shared" >&6
++
++echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
++echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
++test "$can_build_shared" = "no" && enable_shared=no
++
++# On AIX, shared libraries and static libraries use the same namespace, and
++# are all built from PIC.
++case "$host_os" in
++aix3*)
++  test "$enable_shared" = yes && enable_static=no
++  if test -n "$RANLIB"; then
++    archive_cmds="$archive_cmds~\$RANLIB \$lib"
++    postinstall_cmds='$RANLIB $lib'
++  fi
++  ;;
++aix4*)
++  test "$enable_shared" = yes && enable_static=no
++  ;;
++esac
++echo "$as_me:$LINENO: result: $enable_shared" >&5
++echo "${ECHO_T}$enable_shared" >&6
++
++echo "$as_me:$LINENO: checking whether to build static libraries" >&5
++echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
++# Make sure either enable_shared or enable_static is yes.
++test "$enable_shared" = yes || enable_static=yes
++echo "$as_me:$LINENO: result: $enable_static" >&5
++echo "${ECHO_T}$enable_static" >&6
++
++test "$ld_shlibs_F77" = no && can_build_shared=no
++
++GCC_F77="$G77"
++LD_F77="$LD"
++
++lt_prog_compiler_wl_F77=
++lt_prog_compiler_pic_F77=
++lt_prog_compiler_static_F77=
++
++echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
++echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
++ 
++  if test "$GCC" = yes; then
++    lt_prog_compiler_wl_F77='-Wl,'
++    lt_prog_compiler_static_F77='-static'
++
++    case $host_os in
++      aix*)
++      # All AIX code is PIC.
++      if test "$host_cpu" = ia64; then
++	# AIX 5 now supports IA64 processor
++	lt_prog_compiler_static_F77='-Bstatic'
++      fi
++      ;;
++
++    amigaos*)
++      # FIXME: we need at least 68020 code to build shared libraries, but
++      # adding the `-m68020' flag to GCC prevents building anything better,
++      # like `-m68040'.
++      lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
++      ;;
++
++    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
++      # PIC is the default for these OSes.
++      ;;
++
++    mingw* | pw32* | os2*)
++      # This hack is so that the source file can tell whether it is being
++      # built for inclusion in a dll (and should export symbols for example).
++      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
++      ;;
++
++    darwin* | rhapsody*)
++      # PIC is the default on this platform
++      # Common symbols not allowed in MH_DYLIB files
++      lt_prog_compiler_pic_F77='-fno-common'
++      ;;
++
++    msdosdjgpp*)
++      # Just because we use GCC doesn't mean we suddenly get shared libraries
++      # on systems that don't support them.
++      lt_prog_compiler_can_build_shared_F77=no
++      enable_shared=no
++      ;;
++
++    sysv4*MP*)
++      if test -d /usr/nec; then
++	lt_prog_compiler_pic_F77=-Kconform_pic
++      fi
++      ;;
++
++    hpux*)
++      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
++      # not for PA HP-UX.
++      case "$host_cpu" in
++      hppa*64*|ia64*)
++	# +Z the default
++	;;
++      *)
++	lt_prog_compiler_pic_F77='-fPIC'
++	;;
++      esac
++      ;;
++
++    *)
++      lt_prog_compiler_pic_F77='-fPIC'
++      ;;
++    esac
++  else
++    # PORTME Check for flag to pass linker flags through the system compiler.
++    case $host_os in
++    aix*)
++      lt_prog_compiler_wl_F77='-Wl,'
++      if test "$host_cpu" = ia64; then
++	# AIX 5 now supports IA64 processor
++	lt_prog_compiler_static_F77='-Bstatic'
++      else
++	lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
++      fi
++      ;;
++
++    mingw* | pw32* | os2*)
++      # This hack is so that the source file can tell whether it is being
++      # built for inclusion in a dll (and should export symbols for example).
++      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
++      ;;
++
++    hpux9* | hpux10* | hpux11*)
++      lt_prog_compiler_wl_F77='-Wl,'
++      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
++      # not for PA HP-UX.
++      case "$host_cpu" in
++      hppa*64*|ia64*)
++	# +Z the default
++	;;
++      *)
++	lt_prog_compiler_pic_F77='+Z'
++	;;
++      esac
++      # Is there a better lt_prog_compiler_static that works with the bundled CC?
++      lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
++      ;;
++
++    irix5* | irix6* | nonstopux*)
++      lt_prog_compiler_wl_F77='-Wl,'
++      # PIC (with -KPIC) is the default.
++      lt_prog_compiler_static_F77='-non_shared'
++      ;;
++
++    newsos6)
++      lt_prog_compiler_pic_F77='-KPIC'
++      lt_prog_compiler_static_F77='-Bstatic'
++      ;;
++
++    linux*)
++      case $CC in
++      icc* | ecc*)
++	lt_prog_compiler_wl_F77='-Wl,'
++	lt_prog_compiler_pic_F77='-KPIC'
++	lt_prog_compiler_static_F77='-static'
++        ;;
++      ccc*)
++        lt_prog_compiler_wl_F77='-Wl,'
++        # All Alpha code is PIC.
++        lt_prog_compiler_static_F77='-non_shared'
++        ;;
++      esac
++      ;;
++
++    osf3* | osf4* | osf5*)
++      lt_prog_compiler_wl_F77='-Wl,'
++      # All OSF/1 code is PIC.
++      lt_prog_compiler_static_F77='-non_shared'
++      ;;
++
++    sco3.2v5*)
++      lt_prog_compiler_pic_F77='-Kpic'
++      lt_prog_compiler_static_F77='-dn'
++      ;;
++
++    solaris*)
++      lt_prog_compiler_wl_F77='-Wl,'
++      lt_prog_compiler_pic_F77='-KPIC'
++      lt_prog_compiler_static_F77='-Bstatic'
++      ;;
++
++    sunos4*)
++      lt_prog_compiler_wl_F77='-Qoption ld '
++      lt_prog_compiler_pic_F77='-PIC'
++      lt_prog_compiler_static_F77='-Bstatic'
++      ;;
++
++    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
++      lt_prog_compiler_wl_F77='-Wl,'
++      lt_prog_compiler_pic_F77='-KPIC'
++      lt_prog_compiler_static_F77='-Bstatic'
++      ;;
++
++    sysv4*MP*)
++      if test -d /usr/nec ;then
++	lt_prog_compiler_pic_F77='-Kconform_pic'
++	lt_prog_compiler_static_F77='-Bstatic'
++      fi
++      ;;
++
++    uts4*)
++      lt_prog_compiler_pic_F77='-pic'
++      lt_prog_compiler_static_F77='-Bstatic'
++      ;;
++
++    *)
++      lt_prog_compiler_can_build_shared_F77=no
++      ;;
++    esac
++  fi
++
++echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
++echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
++
++#
++# Check to make sure the PIC flag actually works.
++#
++if test -n "$lt_prog_compiler_pic_F77"; then
++  
++echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
++echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
++if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  lt_prog_compiler_pic_works_F77=no
++  ac_outfile=conftest.$ac_objext
++   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
++   lt_compiler_flag="$lt_prog_compiler_pic_F77"
++   # Insert the option either (1) after the last *FLAGS variable, or
++   # (2) before a word containing "conftest.", or (3) at the end.
++   # Note that $ac_compile itself does not contain backslashes and begins
++   # with a dollar sign (not a hyphen), so the echo should work correctly.
++   # The option is referenced via a variable to avoid confusing sed.
++   lt_compile=`echo "$ac_compile" | $SED \
++   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
++   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
++   -e 's:$: $lt_compiler_flag:'`
++   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
++   (eval "$lt_compile" 2>conftest.err)
++   ac_status=$?
++   cat conftest.err >&5
++   echo "$as_me:__oline__: \$? = $ac_status" >&5
++   if (exit $ac_status) && test -s "$ac_outfile"; then
++     # The compiler can only warn and ignore the option if not recognized
++     # So say no if there are warnings
++     if test ! -s conftest.err; then
++       lt_prog_compiler_pic_works_F77=yes
++     fi
++   fi
++   $rm conftest*
++
++fi
++echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
++echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
++
++if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
++    case $lt_prog_compiler_pic_F77 in
++     "" | " "*) ;;
++     *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
++     esac
++else
++    lt_prog_compiler_pic_F77=
++     lt_prog_compiler_can_build_shared_F77=no
++fi
++
++fi
++case "$host_os" in
++  # For platforms which do not support PIC, -DPIC is meaningless:
++  *djgpp*)
++    lt_prog_compiler_pic_F77=
++    ;;
++  *)
++    lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
++    ;;
++esac
++
++echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
++echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
++if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  lt_cv_prog_compiler_c_o_F77=no
++   $rm -r conftest 2>/dev/null
++   mkdir conftest
++   cd conftest
++   mkdir out
++   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
++
++   # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
++   # that will create temporary files in the current directory regardless of
++   # the output directory.  Thus, making CWD read-only will cause this test
++   # to fail, enabling locking or at least warning the user not to do parallel
++   # builds.
++   chmod -w .
++
++   lt_compiler_flag="-o out/conftest2.$ac_objext"
++   # Insert the option either (1) after the last *FLAGS variable, or
++   # (2) before a word containing "conftest.", or (3) at the end.
++   # Note that $ac_compile itself does not contain backslashes and begins
++   # with a dollar sign (not a hyphen), so the echo should work correctly.
++   lt_compile=`echo "$ac_compile" | $SED \
++   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
++   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
++   -e 's:$: $lt_compiler_flag:'`
++   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
++   (eval "$lt_compile" 2>out/conftest.err)
++   ac_status=$?
++   cat out/conftest.err >&5
++   echo "$as_me:__oline__: \$? = $ac_status" >&5
++   if (exit $ac_status) && test -s out/conftest2.$ac_objext
++   then
++     # The compiler can only warn and ignore the option if not recognized
++     # So say no if there are warnings
++     if test ! -s out/conftest.err; then
++       lt_cv_prog_compiler_c_o_F77=yes
++     fi
++   fi
++   chmod u+w .
++   $rm conftest*
++   # SGI C++ compiler will create directory out/ii_files/ for
++   # template instantiation
++   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
++   $rm out/* && rmdir out
++   cd ..
++   rmdir conftest
++   $rm conftest*
++
++fi
++echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
++echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
++
++
++hard_links="nottested"
++if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
++  # do not overwrite the value of need_locks provided by the user
++  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
++echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
++  hard_links=yes
++  $rm conftest*
++  ln conftest.a conftest.b 2>/dev/null && hard_links=no
++  touch conftest.a
++  ln conftest.a conftest.b 2>&5 || hard_links=no
++  ln conftest.a conftest.b 2>/dev/null && hard_links=no
++  echo "$as_me:$LINENO: result: $hard_links" >&5
++echo "${ECHO_T}$hard_links" >&6
++  if test "$hard_links" = no; then
++    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
++echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
++    need_locks=warn
++  fi
++else
++  need_locks=no
++fi
++
++echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
++echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
++
++  runpath_var=
++  allow_undefined_flag_F77=
++  enable_shared_with_static_runtimes_F77=no
++  archive_cmds_F77=
++  archive_expsym_cmds_F77=
++  old_archive_From_new_cmds_F77=
++  old_archive_from_expsyms_cmds_F77=
++  export_dynamic_flag_spec_F77=
++  whole_archive_flag_spec_F77=
++  thread_safe_flag_spec_F77=
++  hardcode_libdir_flag_spec_F77=
++  hardcode_libdir_flag_spec_ld_F77=
++  hardcode_libdir_separator_F77=
++  hardcode_direct_F77=no
++  hardcode_minus_L_F77=no
++  hardcode_shlibpath_var_F77=unsupported
++  link_all_deplibs_F77=unknown
++  hardcode_automatic_F77=no
++  module_cmds_F77=
++  module_expsym_cmds_F77=  
++  always_export_symbols_F77=no
++  export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
++  # include_expsyms should be a list of space-separated symbols to be *always*
++  # included in the symbol list
++  include_expsyms_F77=
++  # exclude_expsyms can be an extended regexp of symbols to exclude
++  # it will be wrapped by ` (' and `)$', so one must not match beginning or
++  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
++  # as well as any symbol that contains `d'.
++  exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
++  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
++  # platforms (ab)use it in PIC code, but their linkers get confused if
++  # the symbol is explicitly referenced.  Since portable code cannot
++  # rely on this symbol name, it's probably fine to never include it in
++  # preloaded symbol tables.
++  extract_expsyms_cmds=
++
++  case $host_os in
++  cygwin* | mingw* | pw32*)
++    # FIXME: the MSVC++ port hasn't been tested in a loooong time
++    # When not using gcc, we currently assume that we are using
++    # Microsoft Visual C++.
++    if test "$GCC" != yes; then
++      with_gnu_ld=no
++    fi
++    ;;
++  openbsd*)
++    with_gnu_ld=no
++    ;;
++  esac
++
++  ld_shlibs_F77=yes
++  if test "$with_gnu_ld" = yes; then
++    # If archive_cmds runs LD, not CC, wlarc should be empty
++    wlarc='${wl}'
++
++    # See if GNU ld supports shared libraries.
++    case $host_os in
++    aix3* | aix4* | aix5*)
++      # On AIX/PPC, the GNU linker is very broken
++      if test "$host_cpu" != ia64; then
++	ld_shlibs_F77=no
++	cat <<EOF 1>&2
++
++*** Warning: the GNU linker, at least up to release 2.9.1, is reported
++*** to be unable to reliably create shared libraries on AIX.
++*** Therefore, libtool is disabling shared libraries support.  If you
++*** really care for shared libraries, you may want to modify your PATH
++*** so that a non-GNU linker is found, and then restart.
++
++EOF
++      fi
++      ;;
++
++    amigaos*)
++      archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
++      hardcode_libdir_flag_spec_F77='-L$libdir'
++      hardcode_minus_L_F77=yes
++
++      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
++      # that the semantics of dynamic libraries on AmigaOS, at least up
++      # to version 4, is to share data among multiple programs linked
++      # with the same dynamic library.  Since this doesn't match the
++      # behavior of shared libraries on other platforms, we can't use
++      # them.
++      ld_shlibs_F77=no
++      ;;
++
++    beos*)
++      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
++	allow_undefined_flag_F77=unsupported
++	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
++	# support --undefined.  This deserves some investigation.  FIXME
++	archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++      else
++	ld_shlibs_F77=no
++      fi
++      ;;
++
++    cygwin* | mingw* | pw32*)
++      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
++      # as there is no search path for DLLs.
++      hardcode_libdir_flag_spec_F77='-L$libdir'
++      allow_undefined_flag_F77=unsupported
++      always_export_symbols_F77=no
++      enable_shared_with_static_runtimes_F77=yes
++      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
++
++      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
++        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
++	# If the export-symbols file already is a .def file (1st line
++	# is EXPORTS), use it as is; otherwise, prepend...
++	archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
++	  cp $export_symbols $output_objdir/$soname.def;
++	else
++	  echo EXPORTS > $output_objdir/$soname.def;
++	  cat $export_symbols >> $output_objdir/$soname.def;
++	fi~
++	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
++      else
++	ld_shlibs=no
++      fi
++      ;;
++
++    netbsd*)
++      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++	archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
++	wlarc=
++      else
++	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++      fi
++      ;;
++
++    solaris* | sysv5*)
++      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
++	ld_shlibs_F77=no
++	cat <<EOF 1>&2
++
++*** Warning: The releases 2.8.* of the GNU linker cannot reliably
++*** create shared libraries on Solaris systems.  Therefore, libtool
++*** is disabling shared libraries support.  We urge you to upgrade GNU
++*** binutils to release 2.9.1 or newer.  Another option is to modify
++*** your PATH or compiler configuration so that the native linker is
++*** used, and then restart.
++
++EOF
++      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
++	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++      else
++	ld_shlibs_F77=no
++      fi
++      ;;
++
++    sunos4*)
++      archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++      wlarc=
++      hardcode_direct_F77=yes
++      hardcode_shlibpath_var_F77=no
++      ;;
++
++  linux*)
++    if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
++        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++	archive_cmds_F77="$tmp_archive_cmds"
++      supports_anon_versioning=no
++      case `$LD -v 2>/dev/null` in
++        *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
++        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
++        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
++        *\ 2.11.*) ;; # other 2.11 versions
++        *) supports_anon_versioning=yes ;;
++      esac
++      if test $supports_anon_versioning = yes; then
++        archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
++cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
++$echo "local: *; };" >> $output_objdir/$libname.ver~
++        $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
++      else
++        archive_expsym_cmds_F77="$tmp_archive_cmds"
++      fi
++    else
++      ld_shlibs_F77=no
++    fi
++    ;;
++
++    *)
++      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
++	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++      else
++	ld_shlibs_F77=no
++      fi
++      ;;
++    esac
++
++    if test "$ld_shlibs_F77" = yes; then
++      runpath_var=LD_RUN_PATH
++      hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
++      export_dynamic_flag_spec_F77='${wl}--export-dynamic'
++      # ancient GNU ld didn't support --whole-archive et. al.
++      if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
++ 	whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
++      else
++  	whole_archive_flag_spec_F77=
++      fi
++    fi
++  else
++    # PORTME fill in a description of your system's linker (not GNU ld)
++    case $host_os in
++    aix3*)
++      allow_undefined_flag_F77=unsupported
++      always_export_symbols_F77=yes
++      archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
++      # Note: this linker hardcodes the directories in LIBPATH if there
++      # are no directories specified by -L.
++      hardcode_minus_L_F77=yes
++      if test "$GCC" = yes && test -z "$link_static_flag"; then
++	# Neither direct hardcoding nor static linking is supported with a
++	# broken collect2.
++	hardcode_direct_F77=unsupported
++      fi
++      ;;
++
++    aix4* | aix5*)
++      if test "$host_cpu" = ia64; then
++	# On IA64, the linker does run time linking by default, so we don't
++	# have to do anything special.
++	aix_use_runtimelinking=no
++	exp_sym_flag='-Bexport'
++	no_entry_flag=""
++      else
++	# If we're using GNU nm, then we don't want the "-C" option.
++	# -C means demangle to AIX nm, but means don't demangle with GNU nm
++	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
++	  export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
++	else
++	  export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
++	fi
++	aix_use_runtimelinking=no
++
++	# Test if we are trying to use run time linking or normal
++	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
++	# need to do runtime linking.
++	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
++	  for ld_flag in $LDFLAGS; do
++  	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
++  	    aix_use_runtimelinking=yes
++  	    break
++  	  fi
++	  done
++	esac
++
++	exp_sym_flag='-bexport'
++	no_entry_flag='-bnoentry'
++      fi
++
++      # When large executables or shared objects are built, AIX ld can
++      # have problems creating the table of contents.  If linking a library
++      # or program results in "error TOC overflow" add -mminimal-toc to
++      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
++      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
++
++      archive_cmds_F77=''
++      hardcode_direct_F77=yes
++      hardcode_libdir_separator_F77=':'
++      link_all_deplibs_F77=yes
++
++      if test "$GCC" = yes; then
++	case $host_os in aix4.012|aix4.012.*)
++	# We only want to do this on AIX 4.2 and lower, the check
++	# below for broken collect2 doesn't work under 4.3+
++	  collect2name=`${CC} -print-prog-name=collect2`
++	  if test -f "$collect2name" && \
++  	   strings "$collect2name" | grep resolve_lib_name >/dev/null
++	  then
++  	  # We have reworked collect2
++  	  hardcode_direct_F77=yes
++	  else
++  	  # We have old collect2
++  	  hardcode_direct_F77=unsupported
++  	  # It fails to find uninstalled libraries when the uninstalled
++  	  # path is not listed in the libpath.  Setting hardcode_minus_L
++  	  # to unsupported forces relinking
++  	  hardcode_minus_L_F77=yes
++  	  hardcode_libdir_flag_spec_F77='-L$libdir'
++  	  hardcode_libdir_separator_F77=
++	  fi
++	esac
++	shared_flag='-shared'
++      else
++	# not using gcc
++	if test "$host_cpu" = ia64; then
++  	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
++  	# chokes on -Wl,-G. The following line is correct:
++	  shared_flag='-G'
++	else
++  	if test "$aix_use_runtimelinking" = yes; then
++	    shared_flag='${wl}-G'
++	  else
++	    shared_flag='${wl}-bM:SRE'
++  	fi
++	fi
++      fi
++
++      # It seems that -bexpall does not export symbols beginning with
++      # underscore (_), so it is better to generate a list of symbols to export.
++      always_export_symbols_F77=yes
++      if test "$aix_use_runtimelinking" = yes; then
++	# Warning - without using the other runtime loading flags (-brtl),
++	# -berok will link without error, but may produce a broken library.
++	allow_undefined_flag_F77='-berok'
++       # Determine the default libpath from the value encoded in an empty executable.
++       cat >conftest.$ac_ext <<_ACEOF
++      program main
++
++      end
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  
++aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
++}'`
++# Check for a 64-bit object if we didn't find anything.
++if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
++}'`; fi
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
++
++       hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
++	archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
++       else
++	if test "$host_cpu" = ia64; then
++	  hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
++	  allow_undefined_flag_F77="-z nodefs"
++	  archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
++	else
++	 # Determine the default libpath from the value encoded in an empty executable.
++	 cat >conftest.$ac_ext <<_ACEOF
++      program main
++
++      end
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  
++aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
++}'`
++# Check for a 64-bit object if we didn't find anything.
++if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
++}'`; fi
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
++
++	 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
++	  # Warning - without using the other run time loading flags,
++	  # -berok will link without error, but may produce a broken library.
++	  no_undefined_flag_F77=' ${wl}-bernotok'
++	  allow_undefined_flag_F77=' ${wl}-berok'
++	  # -bexpall does not export symbols beginning with underscore (_)
++	  always_export_symbols_F77=yes
++	  # Exported symbols can be pulled into shared objects from archives
++	  whole_archive_flag_spec_F77=' '
++	  archive_cmds_need_lc_F77=yes
++	  # This is similar to how AIX traditionally builds it's shared libraries.
++	  archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
++	fi
++      fi
++      ;;
++
++    amigaos*)
++      archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
++      hardcode_libdir_flag_spec_F77='-L$libdir'
++      hardcode_minus_L_F77=yes
++      # see comment about different semantics on the GNU ld section
++      ld_shlibs_F77=no
++      ;;
++
++    bsdi4*)
++      export_dynamic_flag_spec_F77=-rdynamic
++      ;;
++
++    cygwin* | mingw* | pw32*)
++      # When not using gcc, we currently assume that we are using
++      # Microsoft Visual C++.
++      # hardcode_libdir_flag_spec is actually meaningless, as there is
++      # no search path for DLLs.
++      hardcode_libdir_flag_spec_F77=' '
++      allow_undefined_flag_F77=unsupported
++      # Tell ltmain to make .lib files, not .a files.
++      libext=lib
++      # Tell ltmain to make .dll files, not .so files.
++      shrext=".dll"
++      # FIXME: Setting linknames here is a bad hack.
++      archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
++      # The linker will automatically build a .lib file if we build a DLL.
++      old_archive_From_new_cmds_F77='true'
++      # FIXME: Should let the user specify the lib program.
++      old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
++      fix_srcfile_path='`cygpath -w "$srcfile"`'
++      enable_shared_with_static_runtimes_F77=yes
++      ;;
++
++    darwin* | rhapsody*)
++    if test "$GXX" = yes ; then
++      archive_cmds_need_lc_F77=no
++      case "$host_os" in
++      rhapsody* | darwin1.[012])
++	allow_undefined_flag_F77='-undefined suppress'
++	;;
++      *) # Darwin 1.3 on
++      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
++      	allow_undefined_flag_F77='-flat_namespace -undefined suppress'
++      else
++        case ${MACOSX_DEPLOYMENT_TARGET} in
++          10.[012])
++            allow_undefined_flag_F77='-flat_namespace -undefined suppress'
++            ;;
++          10.*)
++            allow_undefined_flag_F77='-undefined dynamic_lookup'
++            ;;            
++        esac
++      fi
++	;;
++      esac
++    	lt_int_apple_cc_single_mod=no
++    	output_verbose_link_cmd='echo'
++    	if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
++    	  lt_int_apple_cc_single_mod=yes
++    	fi
++    	if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
++    	  archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
++    	else
++        archive_cmds_F77='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
++      fi
++      module_cmds_F77='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
++      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
++        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
++          archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++        else
++          archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++        fi
++          module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++      hardcode_direct_F77=no
++      hardcode_automatic_F77=yes
++      hardcode_shlibpath_var_F77=unsupported
++      whole_archive_flag_spec_F77='-all_load $convenience'
++      link_all_deplibs_F77=yes
++    else  
++      ld_shlibs_F77=no
++    fi  
++      ;;
++
++    dgux*)
++      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_libdir_flag_spec_F77='-L$libdir'
++      hardcode_shlibpath_var_F77=no
++      ;;
++
++    freebsd1*)
++      ld_shlibs_F77=no
++      ;;
++
++    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
++    # support.  Future versions do this automatically, but an explicit c++rt0.o
++    # does not break anything, and helps significantly (at the cost of a little
++    # extra space).
++    freebsd2.2*)
++      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
++      hardcode_libdir_flag_spec_F77='-R$libdir'
++      hardcode_direct_F77=yes
++      hardcode_shlibpath_var_F77=no
++      ;;
++
++    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
++    freebsd2*)
++      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_direct_F77=yes
++      hardcode_minus_L_F77=yes
++      hardcode_shlibpath_var_F77=no
++      ;;
++
++    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
++    freebsd* | kfreebsd*-gnu)
++      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
++      hardcode_libdir_flag_spec_F77='-R$libdir'
++      hardcode_direct_F77=yes
++      hardcode_shlibpath_var_F77=no
++      ;;
++
++    hpux9*)
++      if test "$GCC" = yes; then
++	archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
++      else
++	archive_cmds_F77='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
++      fi
++      hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
++      hardcode_libdir_separator_F77=:
++      hardcode_direct_F77=yes
++
++      # hardcode_minus_L: Not really in the search PATH,
++      # but as the default location of the library.
++      hardcode_minus_L_F77=yes
++      export_dynamic_flag_spec_F77='${wl}-E'
++      ;;
++
++    hpux10* | hpux11*)
++      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
++	case "$host_cpu" in
++	hppa*64*|ia64*)
++	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++	  ;;
++	*)
++	  archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
++	  ;;
++	esac
++      else
++	case "$host_cpu" in
++	hppa*64*|ia64*)
++	  archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
++	  ;;
++	*)
++	  archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
++	  ;;
++	esac
++      fi
++      if test "$with_gnu_ld" = no; then
++	case "$host_cpu" in
++	hppa*64*)
++	  hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
++	  hardcode_libdir_flag_spec_ld_F77='+b $libdir'
++	  hardcode_libdir_separator_F77=:
++	  hardcode_direct_F77=no
++	  hardcode_shlibpath_var_F77=no
++	  ;;
++	ia64*)
++	  hardcode_libdir_flag_spec_F77='-L$libdir'
++	  hardcode_direct_F77=no
++	  hardcode_shlibpath_var_F77=no
++
++	  # hardcode_minus_L: Not really in the search PATH,
++	  # but as the default location of the library.
++	  hardcode_minus_L_F77=yes
++	  ;;
++	*)
++	  hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
++	  hardcode_libdir_separator_F77=:
++	  hardcode_direct_F77=yes
++	  export_dynamic_flag_spec_F77='${wl}-E'
++
++	  # hardcode_minus_L: Not really in the search PATH,
++	  # but as the default location of the library.
++	  hardcode_minus_L_F77=yes
++	  ;;
++	esac
++      fi
++      ;;
++
++    irix5* | irix6* | nonstopux*)
++      if test "$GCC" = yes; then
++	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++      else
++	archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
++	hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
++      fi
++      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
++      hardcode_libdir_separator_F77=:
++      link_all_deplibs_F77=yes
++      ;;
++
++    netbsd*)
++      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++	archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
++      else
++	archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
++      fi
++      hardcode_libdir_flag_spec_F77='-R$libdir'
++      hardcode_direct_F77=yes
++      hardcode_shlibpath_var_F77=no
++      ;;
++
++    newsos6)
++      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_direct_F77=yes
++      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
++      hardcode_libdir_separator_F77=:
++      hardcode_shlibpath_var_F77=no
++      ;;
++
++    openbsd*)
++      hardcode_direct_F77=yes
++      hardcode_shlibpath_var_F77=no
++      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
++	archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
++	hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
++	export_dynamic_flag_spec_F77='${wl}-E'
++      else
++       case $host_os in
++	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
++	   archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++	   hardcode_libdir_flag_spec_F77='-R$libdir'
++	   ;;
++	 *)
++	   archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
++	   hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
++	   ;;
++       esac
++      fi
++      ;;
++
++    os2*)
++      hardcode_libdir_flag_spec_F77='-L$libdir'
++      hardcode_minus_L_F77=yes
++      allow_undefined_flag_F77=unsupported
++      archive_cmds_F77='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
++      old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
++      ;;
++
++    osf3*)
++      if test "$GCC" = yes; then
++	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
++	archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++      else
++	allow_undefined_flag_F77=' -expect_unresolved \*'
++	archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
++      fi
++      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
++      hardcode_libdir_separator_F77=:
++      ;;
++
++    osf4* | osf5*)	# as osf3* with the addition of -msym flag
++      if test "$GCC" = yes; then
++	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
++	archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++	hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
++      else
++	allow_undefined_flag_F77=' -expect_unresolved \*'
++	archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
++	archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
++	$LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
++
++	# Both c and cxx compiler support -rpath directly
++	hardcode_libdir_flag_spec_F77='-rpath $libdir'
++      fi
++      hardcode_libdir_separator_F77=:
++      ;;
++
++    sco3.2v5*)
++      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_shlibpath_var_F77=no
++      export_dynamic_flag_spec_F77='${wl}-Bexport'
++      runpath_var=LD_RUN_PATH
++      hardcode_runpath_var=yes
++      ;;
++
++    solaris*)
++      no_undefined_flag_F77=' -z text'
++      if test "$GCC" = yes; then
++	archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
++      else
++	archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
++	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++  	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
++      fi
++      hardcode_libdir_flag_spec_F77='-R$libdir'
++      hardcode_shlibpath_var_F77=no
++      case $host_os in
++      solaris2.[0-5] | solaris2.[0-5].*) ;;
++      *) # Supported since Solaris 2.6 (maybe 2.5.1?)
++	whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
++      esac
++      link_all_deplibs_F77=yes
++      ;;
++
++    sunos4*)
++      if test "x$host_vendor" = xsequent; then
++	# Use $CC to link under sequent, because it throws in some extra .o
++	# files that make .init and .fini sections work.
++	archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
++      else
++	archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
++      fi
++      hardcode_libdir_flag_spec_F77='-L$libdir'
++      hardcode_direct_F77=yes
++      hardcode_minus_L_F77=yes
++      hardcode_shlibpath_var_F77=no
++      ;;
++
++    sysv4)
++      case $host_vendor in
++	sni)
++	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++	  hardcode_direct_F77=yes # is this really true???
++	;;
++	siemens)
++	  ## LD is ld it makes a PLAMLIB
++	  ## CC just makes a GrossModule.
++	  archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
++	  reload_cmds_F77='$CC -r -o $output$reload_objs'
++	  hardcode_direct_F77=no
++        ;;
++	motorola)
++	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++	  hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
++	;;
++      esac
++      runpath_var='LD_RUN_PATH'
++      hardcode_shlibpath_var_F77=no
++      ;;
++
++    sysv4.3*)
++      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_shlibpath_var_F77=no
++      export_dynamic_flag_spec_F77='-Bexport'
++      ;;
++
++    sysv4*MP*)
++      if test -d /usr/nec; then
++	archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++	hardcode_shlibpath_var_F77=no
++	runpath_var=LD_RUN_PATH
++	hardcode_runpath_var=yes
++	ld_shlibs_F77=yes
++      fi
++      ;;
++
++    sysv4.2uw2*)
++      archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_direct_F77=yes
++      hardcode_minus_L_F77=no
++      hardcode_shlibpath_var_F77=no
++      hardcode_runpath_var=yes
++      runpath_var=LD_RUN_PATH
++      ;;
++
++   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
++      no_undefined_flag_F77='${wl}-z ${wl}text'
++      if test "$GCC" = yes; then
++	archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++      else
++	archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++      fi
++      runpath_var='LD_RUN_PATH'
++      hardcode_shlibpath_var_F77=no
++      ;;
++
++    sysv5*)
++      no_undefined_flag_F77=' -z text'
++      # $CC -shared without GNU ld will not create a library from C++
++      # object files and a static libstdc++, better avoid it by now
++      archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++  		$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
++      hardcode_libdir_flag_spec_F77=
++      hardcode_shlibpath_var_F77=no
++      runpath_var='LD_RUN_PATH'
++      ;;
++
++    uts4*)
++      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_libdir_flag_spec_F77='-L$libdir'
++      hardcode_shlibpath_var_F77=no
++      ;;
++
++    *)
++      ld_shlibs_F77=no
++      ;;
++    esac
++  fi
++
++echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
++echo "${ECHO_T}$ld_shlibs_F77" >&6
++test "$ld_shlibs_F77" = no && can_build_shared=no
++
++variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
++if test "$GCC" = yes; then
++  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
++fi
++
++#
++# Do we need to explicitly link libc?
++#
++case "x$archive_cmds_need_lc_F77" in
++x|xyes)
++  # Assume -lc should be added
++  archive_cmds_need_lc_F77=yes
++
++  if test "$enable_shared" = yes && test "$GCC" = yes; then
++    case $archive_cmds_F77 in
++    *'~'*)
++      # FIXME: we may have to deal with multi-command sequences.
++      ;;
++    '$CC '*)
++      # Test whether the compiler implicitly links with -lc since on some
++      # systems, -lgcc has to come before -lc. If gcc already passes -lc
++      # to ld, don't add -lc before -lgcc.
++      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
++echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
++      $rm conftest*
++      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
++  
++      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } 2>conftest.err; then
++        soname=conftest
++        lib=conftest
++        libobjs=conftest.$ac_objext
++        deplibs=
++        wl=$lt_prog_compiler_wl_F77
++        compiler_flags=-v
++        linker_flags=-v
++        verstring=
++        output_objdir=.
++        libname=conftest
++        lt_save_allow_undefined_flag=$allow_undefined_flag_F77
++        allow_undefined_flag_F77=
++        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
++  (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }
++        then
++	  archive_cmds_need_lc_F77=no
++        else
++	  archive_cmds_need_lc_F77=yes
++        fi
++        allow_undefined_flag_F77=$lt_save_allow_undefined_flag
++      else
++        cat conftest.err 1>&5
++      fi
++      $rm conftest*
++      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
++echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
++      ;;
++    esac
++  fi
++  ;;
++esac
++
++echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
++echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
++library_names_spec=
++libname_spec='lib$name'
++soname_spec=
++shrext=".so"
++postinstall_cmds=
++postuninstall_cmds=
++finish_cmds=
++finish_eval=
++shlibpath_var=
++shlibpath_overrides_runpath=unknown
++version_type=none
++dynamic_linker="$host_os ld.so"
++sys_lib_dlsearch_path_spec="/lib /usr/lib"
++if test "$GCC" = yes; then
++  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
++  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
++    # if the path contains ";" then we assume it to be the separator
++    # otherwise default to the standard path separator (i.e. ":") - it is
++    # assumed that no part of a normal pathname contains ";" but that should
++    # okay in the real world where ";" in dirpaths is itself problematic.
++    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
++  else
++    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
++  fi
++else
++  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
++fi
++need_lib_prefix=unknown
++hardcode_into_libs=no
++
++# when you set need_version to no, make sure it does not cause -set_version
++# flags to be left without arguments
++need_version=unknown
++
++case $host_os in
++aix3*)
++  version_type=linux
++  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
++  shlibpath_var=LIBPATH
++
++  # AIX 3 has no versioning support, so we append a major version to the name.
++  soname_spec='${libname}${release}${shared_ext}$major'
++  ;;
++
++aix4* | aix5*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  hardcode_into_libs=yes
++  if test "$host_cpu" = ia64; then
++    # AIX 5 supports IA64
++    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
++    shlibpath_var=LD_LIBRARY_PATH
++  else
++    # With GCC up to 2.95.x, collect2 would create an import file
++    # for dependence libraries.  The import file would start with
++    # the line `#! .'.  This would cause the generated library to
++    # depend on `.', always an invalid library.  This was fixed in
++    # development snapshots of GCC prior to 3.0.
++    case $host_os in
++      aix4 | aix4.[01] | aix4.[01].*)
++      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
++	   echo ' yes '
++	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
++	:
++      else
++	can_build_shared=no
++      fi
++      ;;
++    esac
++    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
++    # soname into executable. Probably we can add versioning support to
++    # collect2, so additional links can be useful in future.
++    if test "$aix_use_runtimelinking" = yes; then
++      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
++      # instead of lib<name>.a to let people know that these are not
++      # typical AIX shared libraries.
++      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++    else
++      # We preserve .a as extension for shared libraries through AIX4.2
++      # and later when we are not doing run time linking.
++      library_names_spec='${libname}${release}.a $libname.a'
++      soname_spec='${libname}${release}${shared_ext}$major'
++    fi
++    shlibpath_var=LIBPATH
++  fi
++  ;;
++
++amigaos*)
++  library_names_spec='$libname.ixlibrary $libname.a'
++  # Create ${libname}_ixlibrary.a entries in /sys/libs.
++  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
++  ;;
++
++beos*)
++  library_names_spec='${libname}${shared_ext}'
++  dynamic_linker="$host_os ld.so"
++  shlibpath_var=LIBRARY_PATH
++  ;;
++
++bsdi4*)
++  version_type=linux
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
++  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
++  # the default ld.so.conf also contains /usr/contrib/lib and
++  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
++  # libtool to hard-code these into programs
++  ;;
++
++cygwin* | mingw* | pw32*)
++  version_type=windows
++  shrext=".dll"
++  need_version=no
++  need_lib_prefix=no
++
++  case $GCC,$host_os in
++  yes,cygwin* | yes,mingw* | yes,pw32*)
++    library_names_spec='$libname.dll.a'
++    # DLL is installed to $(libdir)/../bin by postinstall_cmds
++    postinstall_cmds='base_file=`basename \${file}`~
++      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
++      dldir=$destdir/`dirname \$dlpath`~
++      test -d \$dldir || mkdir -p \$dldir~
++      $install_prog $dir/$dlname \$dldir/$dlname'
++    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
++      dlpath=$dir/\$dldll~
++       $rm \$dlpath'
++    shlibpath_overrides_runpath=yes
++
++    case $host_os in
++    cygwin*)
++      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
++      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
++      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
++      ;;
++    mingw*)
++      # MinGW DLLs use traditional 'lib' prefix
++      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
++      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
++      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
++        # It is most probably a Windows format PATH printed by
++        # mingw gcc, but we are running on Cygwin. Gcc prints its search
++        # path with ; separators, and with drive letters. We can handle the
++        # drive letters (cygwin fileutils understands them), so leave them,
++        # especially as we might pass files found there to a mingw objdump,
++        # which wouldn't understand a cygwinified path. Ahh.
++        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
++      else
++        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
++      fi
++      ;;
++    pw32*)
++      # pw32 DLLs use 'pw' prefix rather than 'lib'
++      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
++      ;;
++    esac
++    ;;
++
++  *)
++    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
++    ;;
++  esac
++  dynamic_linker='Win32 ld.exe'
++  # FIXME: first we should search . and the directory the executable is in
++  shlibpath_var=PATH
++  ;;
++
++darwin* | rhapsody*)
++  dynamic_linker="$host_os dyld"
++  version_type=darwin
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
++  soname_spec='${libname}${release}${major}$shared_ext'
++  shlibpath_overrides_runpath=yes
++  shlibpath_var=DYLD_LIBRARY_PATH
++  shrext='$(test .$module = .yes && echo .so || echo .dylib)'
++  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
++  if test "$GCC" = yes; then
++    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
++  else
++    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
++  fi
++  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
++  ;;
++
++dgux*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++freebsd1*)
++  dynamic_linker=no
++  ;;
++
++kfreebsd*-gnu)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=no
++  hardcode_into_libs=yes
++  dynamic_linker='GNU ld.so'
++  ;;
++
++freebsd*)
++  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
++  version_type=freebsd-$objformat
++  case $version_type in
++    freebsd-elf*)
++      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
++      need_version=no
++      need_lib_prefix=no
++      ;;
++    freebsd-*)
++      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
++      need_version=yes
++      ;;
++  esac
++  shlibpath_var=LD_LIBRARY_PATH
++  case $host_os in
++  freebsd2*)
++    shlibpath_overrides_runpath=yes
++    ;;
++  freebsd3.01* | freebsdelf3.01*)
++    shlibpath_overrides_runpath=yes
++    hardcode_into_libs=yes
++    ;;
++  *) # from 3.2 on
++    shlibpath_overrides_runpath=no
++    hardcode_into_libs=yes
++    ;;
++  esac
++  ;;
++
++gnu*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  hardcode_into_libs=yes
++  ;;
++
++hpux9* | hpux10* | hpux11*)
++  # Give a soname corresponding to the major version so that dld.sl refuses to
++  # link against other versions.
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=no
++  case "$host_cpu" in
++  ia64*)
++    shrext='.so'
++    hardcode_into_libs=yes
++    dynamic_linker="$host_os dld.so"
++    shlibpath_var=LD_LIBRARY_PATH
++    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
++    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++    soname_spec='${libname}${release}${shared_ext}$major'
++    if test "X$HPUX_IA64_MODE" = X32; then
++      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
++    else
++      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
++    fi
++    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
++    ;;
++   hppa*64*)
++     shrext='.sl'
++     hardcode_into_libs=yes
++     dynamic_linker="$host_os dld.sl"
++     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
++     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
++     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++     soname_spec='${libname}${release}${shared_ext}$major'
++     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
++     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
++     ;;
++   *)
++    shrext='.sl'
++    dynamic_linker="$host_os dld.sl"
++    shlibpath_var=SHLIB_PATH
++    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
++    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++    soname_spec='${libname}${release}${shared_ext}$major'
++    ;;
++  esac
++  # HP-UX runs *really* slowly unless shared libraries are mode 555.
++  postinstall_cmds='chmod 555 $lib'
++  ;;
++
++irix5* | irix6* | nonstopux*)
++  case $host_os in
++    nonstopux*) version_type=nonstopux ;;
++    *)
++	if test "$lt_cv_prog_gnu_ld" = yes; then
++		version_type=linux
++	else
++		version_type=irix
++	fi ;;
++  esac
++  need_lib_prefix=no
++  need_version=no
++  soname_spec='${libname}${release}${shared_ext}$major'
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
++  case $host_os in
++  irix5* | nonstopux*)
++    libsuff= shlibsuff=
++    ;;
++  *)
++    case $LD in # libtool.m4 will add one of these switches to LD
++    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
++      libsuff= shlibsuff= libmagic=32-bit;;
++    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
++      libsuff=32 shlibsuff=N32 libmagic=N32;;
++    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
++      libsuff=64 shlibsuff=64 libmagic=64-bit;;
++    *) libsuff= shlibsuff= libmagic=never-match;;
++    esac
++    ;;
++  esac
++  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
++  shlibpath_overrides_runpath=no
++  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
++  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
++  hardcode_into_libs=yes
++  ;;
++
++# No shared lib support for Linux oldld, aout, or coff.
++linux*oldld* | linux*aout* | linux*coff*)
++  dynamic_linker=no
++  ;;
++
++# This must be Linux ELF.
++linux*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=no
++  # This implies no fast_install, which is unacceptable.
++  # Some rework will be needed to allow for fast_install
++  # before this can be enabled.
++  hardcode_into_libs=yes
++
++  # We used to test for /lib/ld.so.1 and disable shared libraries on
++  # powerpc, because MkLinux only supported shared libraries with the
++  # GNU dynamic linker.  Since this was broken with cross compilers,
++  # most powerpc-linux boxes support dynamic linking these days and
++  # people can always --disable-shared, the test was removed, and we
++  # assume the GNU/Linux dynamic linker is in use.
++  dynamic_linker='GNU/Linux ld.so'
++  ;;
++
++netbsd*)
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=no
++  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
++    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
++    dynamic_linker='NetBSD (a.out) ld.so'
++  else
++    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
++    soname_spec='${libname}${release}${shared_ext}$major'
++    dynamic_linker='NetBSD ld.elf_so'
++  fi
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  hardcode_into_libs=yes
++  ;;
++
++newsos6)
++  version_type=linux
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  ;;
++
++nto-qnx*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  ;;
++
++openbsd*)
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
++    case $host_os in
++      openbsd2.[89] | openbsd2.[89].*)
++	shlibpath_overrides_runpath=no
++	;;
++      *)
++	shlibpath_overrides_runpath=yes
++	;;
++      esac
++  else
++    shlibpath_overrides_runpath=yes
++  fi
++  ;;
++
++os2*)
++  libname_spec='$name'
++  shrext=".dll"
++  need_lib_prefix=no
++  library_names_spec='$libname${shared_ext} $libname.a'
++  dynamic_linker='OS/2 ld.exe'
++  shlibpath_var=LIBPATH
++  ;;
++
++osf3* | osf4* | osf5*)
++  version_type=osf
++  need_lib_prefix=no
++  need_version=no
++  soname_spec='${libname}${release}${shared_ext}$major'
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  shlibpath_var=LD_LIBRARY_PATH
++  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
++  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
++  ;;
++
++sco3.2v5*)
++  version_type=osf
++  soname_spec='${libname}${release}${shared_ext}$major'
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++solaris*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  hardcode_into_libs=yes
++  # ldd complains unless libraries are executable
++  postinstall_cmds='chmod +x $lib'
++  ;;
++
++sunos4*)
++  version_type=sunos
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
++  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  if test "$with_gnu_ld" = yes; then
++    need_lib_prefix=no
++  fi
++  need_version=yes
++  ;;
++
++sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
++  version_type=linux
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  case $host_vendor in
++    sni)
++      shlibpath_overrides_runpath=no
++      need_lib_prefix=no
++      export_dynamic_flag_spec='${wl}-Blargedynsym'
++      runpath_var=LD_RUN_PATH
++      ;;
++    siemens)
++      need_lib_prefix=no
++      ;;
++    motorola)
++      need_lib_prefix=no
++      need_version=no
++      shlibpath_overrides_runpath=no
++      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
++      ;;
++  esac
++  ;;
++
++sysv4*MP*)
++  if test -d /usr/nec ;then
++    version_type=linux
++    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
++    soname_spec='$libname${shared_ext}.$major'
++    shlibpath_var=LD_LIBRARY_PATH
++  fi
++  ;;
++
++uts4*)
++  version_type=linux
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++*)
++  dynamic_linker=no
++  ;;
++esac
++echo "$as_me:$LINENO: result: $dynamic_linker" >&5
++echo "${ECHO_T}$dynamic_linker" >&6
++test "$dynamic_linker" = no && can_build_shared=no
++
++echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
++echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
++hardcode_action_F77=
++if test -n "$hardcode_libdir_flag_spec_F77" || \
++   test -n "$runpath_var F77" || \
++   test "X$hardcode_automatic_F77"="Xyes" ; then
++
++  # We can hardcode non-existant directories.
++  if test "$hardcode_direct_F77" != no &&
++     # If the only mechanism to avoid hardcoding is shlibpath_var, we
++     # have to relink, otherwise we might link with an installed library
++     # when we should be linking with a yet-to-be-installed one
++     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
++     test "$hardcode_minus_L_F77" != no; then
++    # Linking always hardcodes the temporary library directory.
++    hardcode_action_F77=relink
++  else
++    # We can link without hardcoding, and we can hardcode nonexisting dirs.
++    hardcode_action_F77=immediate
++  fi
++else
++  # We cannot hardcode anything, or else we can only hardcode existing
++  # directories.
++  hardcode_action_F77=unsupported
++fi
++echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
++echo "${ECHO_T}$hardcode_action_F77" >&6
++
++if test "$hardcode_action_F77" = relink; then
++  # Fast installation is not supported
++  enable_fast_install=no
++elif test "$shlibpath_overrides_runpath" = yes ||
++     test "$enable_shared" = no; then
++  # Fast installation is not necessary
++  enable_fast_install=needless
++fi
++
++striplib=
++old_striplib=
++echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
++echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
++if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
++  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
++  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
++  echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++else
++# FIXME - insert some real tests, host_os isn't really good enough
++  case $host_os in
++   darwin*)
++       if test -n "$STRIP" ; then
++         striplib="$STRIP -x"
++         echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++       else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++       ;;
++   *)
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++    ;;
++  esac  
++fi
++
++
++
++# The else clause should only fire when bootstrapping the
++# libtool distribution, otherwise you forgot to ship ltmain.sh
++# with your package, and you will get complaints that there are
++# no rules to generate ltmain.sh.
++if test -f "$ltmain"; then
++  # See if we are running on zsh, and set the options which allow our commands through
++  # without removal of \ escapes.
++  if test -n "${ZSH_VERSION+set}" ; then
++    setopt NO_GLOB_SUBST
++  fi  
++  # Now quote all the things that may contain metacharacters while being
++  # careful not to overquote the AC_SUBSTed values.  We take copies of the
++  # variables and quote the copies for generation of the libtool script.
++  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
++    SED SHELL STRIP \
++    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
++    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
++    deplibs_check_method reload_flag reload_cmds need_locks \
++    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
++    lt_cv_sys_global_symbol_to_c_name_address \
++    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
++    old_postinstall_cmds old_postuninstall_cmds \
++    compiler_F77 \
++    CC_F77 \
++    LD_F77 \
++    lt_prog_compiler_wl_F77 \
++    lt_prog_compiler_pic_F77 \
++    lt_prog_compiler_static_F77 \
++    lt_prog_compiler_no_builtin_flag_F77 \
++    export_dynamic_flag_spec_F77 \
++    thread_safe_flag_spec_F77 \
++    whole_archive_flag_spec_F77 \
++    enable_shared_with_static_runtimes_F77 \
++    old_archive_cmds_F77 \
++    old_archive_from_new_cmds_F77 \
++    predep_objects_F77 \
++    postdep_objects_F77 \
++    predeps_F77 \
++    postdeps_F77 \
++    compiler_lib_search_path_F77 \
++    archive_cmds_F77 \
++    archive_expsym_cmds_F77 \
++    postinstall_cmds_F77 \
++    postuninstall_cmds_F77 \
++    old_archive_from_expsyms_cmds_F77 \
++    allow_undefined_flag_F77 \
++    no_undefined_flag_F77 \
++    export_symbols_cmds_F77 \
++    hardcode_libdir_flag_spec_F77 \
++    hardcode_libdir_flag_spec_ld_F77 \
++    hardcode_libdir_separator_F77 \
++    hardcode_automatic_F77 \
++    module_cmds_F77 \
++    module_expsym_cmds_F77 \
++    lt_cv_prog_compiler_c_o_F77 \
++    exclude_expsyms_F77 \
++    include_expsyms_F77; do
++
++    case $var in
++    old_archive_cmds_F77 | \
++    old_archive_from_new_cmds_F77 | \
++    archive_cmds_F77 | \
++    archive_expsym_cmds_F77 | \
++    module_cmds_F77 | \
++    module_expsym_cmds_F77 | \   
++    old_archive_from_expsyms_cmds_F77 | \
++    export_symbols_cmds_F77 | \
++    extract_expsyms_cmds | reload_cmds | finish_cmds | \
++    postinstall_cmds | postuninstall_cmds | \
++    old_postinstall_cmds | old_postuninstall_cmds | \
++    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
++      # Double-quote double-evaled strings.
++      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
++      ;;
++    *)
++      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
++      ;;
++    esac
++  done
++
++  case $lt_echo in
++  *'\$0 --fallback-echo"')
++    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
++    ;;
++  esac
++
++cfgfile="$ofile"
++
++  cat <<__EOF__ >> "$cfgfile"
++# ### BEGIN LIBTOOL TAG CONFIG: $tagname
++
++# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
++
++# Shell to use when invoking shell scripts.
++SHELL=$lt_SHELL
++
++# Whether or not to build shared libraries.
++build_libtool_libs=$enable_shared
++
++# Whether or not to build static libraries.
++build_old_libs=$enable_static
++
++# Whether or not to add -lc for building shared libraries.
++build_libtool_need_lc=$archive_cmds_need_lc_F77
++
++# Whether or not to disallow shared libs when runtime libs are static
++allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
++
++# Whether or not to optimize for fast installation.
++fast_install=$enable_fast_install
++
++# The host system.
++host_alias=$host_alias
++host=$host
++
++# An echo program that does not interpret backslashes.
++echo=$lt_echo
++
++# The archiver.
++AR=$lt_AR
++AR_FLAGS=$lt_AR_FLAGS
++
++# A C compiler.
++LTCC=$lt_LTCC
++
++# A language-specific compiler.
++CC=$lt_compiler_F77
++
++# Is the compiler the GNU C compiler?
++with_gcc=$GCC_F77
++
++# An ERE matcher.
++EGREP=$lt_EGREP
++
++# The linker used to build libraries.
++LD=$lt_LD_F77
++
++# Whether we need hard or soft links.
++LN_S=$lt_LN_S
++
++# A BSD-compatible nm program.
++NM=$lt_NM
++
++# A symbol stripping program
++STRIP=$lt_STRIP
++
++# Used to examine libraries when file_magic_cmd begins "file"
++MAGIC_CMD=$MAGIC_CMD
++
++# Used on cygwin: DLL creation program.
++DLLTOOL="$DLLTOOL"
++
++# Used on cygwin: object dumper.
++OBJDUMP="$OBJDUMP"
++
++# Used on cygwin: assembler.
++AS="$AS"
++
++# The name of the directory that contains temporary libtool files.
++objdir=$objdir
++
++# How to create reloadable object files.
++reload_flag=$lt_reload_flag
++reload_cmds=$lt_reload_cmds
++
++# How to pass a linker flag through the compiler.
++wl=$lt_lt_prog_compiler_wl_F77
++
++# Object file suffix (normally "o").
++objext="$ac_objext"
++
++# Old archive suffix (normally "a").
++libext="$libext"
++
++# Shared library suffix (normally ".so").
++shrext='$shrext'
++
++# Executable file suffix (normally "").
++exeext="$exeext"
++
++# Additional compiler flags for building library objects.
++pic_flag=$lt_lt_prog_compiler_pic_F77
++pic_mode=$pic_mode
++
++# What is the maximum length of a command?
++max_cmd_len=$lt_cv_sys_max_cmd_len
++
++# Does compiler simultaneously support -c and -o options?
++compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
++
++# Must we lock files when doing compilation ?
++need_locks=$lt_need_locks
++
++# Do we need the lib prefix for modules?
++need_lib_prefix=$need_lib_prefix
++
++# Do we need a version for libraries?
++need_version=$need_version
++
++# Whether dlopen is supported.
++dlopen_support=$enable_dlopen
++
++# Whether dlopen of programs is supported.
++dlopen_self=$enable_dlopen_self
++
++# Whether dlopen of statically linked programs is supported.
++dlopen_self_static=$enable_dlopen_self_static
++
++# Compiler flag to prevent dynamic linking.
++link_static_flag=$lt_lt_prog_compiler_static_F77
++
++# Compiler flag to turn off builtin functions.
++no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
++
++# Compiler flag to allow reflexive dlopens.
++export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
++
++# Compiler flag to generate shared objects directly from archives.
++whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
++
++# Compiler flag to generate thread-safe objects.
++thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
++
++# Library versioning type.
++version_type=$version_type
++
++# Format of library name prefix.
++libname_spec=$lt_libname_spec
++
++# List of archive names.  First name is the real one, the rest are links.
++# The last name is the one that the linker finds with -lNAME.
++library_names_spec=$lt_library_names_spec
++
++# The coded name of the library, if different from the real name.
++soname_spec=$lt_soname_spec
++
++# Commands used to build and install an old-style archive.
++RANLIB=$lt_RANLIB
++old_archive_cmds=$lt_old_archive_cmds_F77
++old_postinstall_cmds=$lt_old_postinstall_cmds
++old_postuninstall_cmds=$lt_old_postuninstall_cmds
++
++# Create an old-style archive from a shared archive.
++old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
++
++# Create a temporary old-style archive to link instead of a shared archive.
++old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
++
++# Commands used to build and install a shared archive.
++archive_cmds=$lt_archive_cmds_F77
++archive_expsym_cmds=$lt_archive_expsym_cmds_F77
++postinstall_cmds=$lt_postinstall_cmds
++postuninstall_cmds=$lt_postuninstall_cmds
++
++# Commands used to build a loadable module (assumed same as above if empty)
++module_cmds=$lt_module_cmds_F77
++module_expsym_cmds=$lt_module_expsym_cmds_F77
++
++# Commands to strip libraries.
++old_striplib=$lt_old_striplib
++striplib=$lt_striplib
++
++# Dependencies to place before the objects being linked to create a
++# shared library.
++predep_objects=$lt_predep_objects_F77
++
++# Dependencies to place after the objects being linked to create a
++# shared library.
++postdep_objects=$lt_postdep_objects_F77
++
++# Dependencies to place before the objects being linked to create a
++# shared library.
++predeps=$lt_predeps_F77
++
++# Dependencies to place after the objects being linked to create a
++# shared library.
++postdeps=$lt_postdeps_F77
++
++# The library search path used internally by the compiler when linking
++# a shared library.
++compiler_lib_search_path=$lt_compiler_lib_search_path_F77
++
++# Method to check whether dependent libraries are shared objects.
++deplibs_check_method=$lt_deplibs_check_method
++
++# Command to use when deplibs_check_method == file_magic.
++file_magic_cmd=$lt_file_magic_cmd
++
++# Flag that allows shared libraries with undefined symbols to be built.
++allow_undefined_flag=$lt_allow_undefined_flag_F77
++
++# Flag that forces no undefined symbols.
++no_undefined_flag=$lt_no_undefined_flag_F77
++
++# Commands used to finish a libtool library installation in a directory.
++finish_cmds=$lt_finish_cmds
++
++# Same as above, but a single script fragment to be evaled but not shown.
++finish_eval=$lt_finish_eval
++
++# Take the output of nm and produce a listing of raw symbols and C names.
++global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
++
++# Transform the output of nm in a proper C declaration
++global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
++
++# Transform the output of nm in a C name address pair
++global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
++
++# This is the shared library runtime path variable.
++runpath_var=$runpath_var
++
++# This is the shared library path variable.
++shlibpath_var=$shlibpath_var
++
++# Is shlibpath searched before the hard-coded library search path?
++shlibpath_overrides_runpath=$shlibpath_overrides_runpath
++
++# How to hardcode a shared library path into an executable.
++hardcode_action=$hardcode_action_F77
++
++# Whether we should hardcode library paths into libraries.
++hardcode_into_libs=$hardcode_into_libs
++
++# Flag to hardcode \$libdir into a binary during linking.
++# This must work even if \$libdir does not exist.
++hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
++
++# If ld is used when linking, flag to hardcode \$libdir into
++# a binary during linking. This must work even if \$libdir does
++# not exist.
++hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
++
++# Whether we need a single -rpath flag with a separated argument.
++hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
++
++# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
++# resulting binary.
++hardcode_direct=$hardcode_direct_F77
++
++# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
++# resulting binary.
++hardcode_minus_L=$hardcode_minus_L_F77
++
++# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
++# the resulting binary.
++hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
++
++# Set to yes if building a shared library automatically hardcodes DIR into the library
++# and all subsequent libraries and executables linked against it.
++hardcode_automatic=$hardcode_automatic_F77
++
++# Variables whose values should be saved in libtool wrapper scripts and
++# restored at relink time.
++variables_saved_for_relink="$variables_saved_for_relink"
++
++# Whether libtool must link a program against all its dependency libraries.
++link_all_deplibs=$link_all_deplibs_F77
++
++# Compile-time system search path for libraries
++sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
++
++# Run-time system search path for libraries
++sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
++
++# Fix the shell variable \$srcfile for the compiler.
++fix_srcfile_path="$fix_srcfile_path_F77"
++
++# Set to yes if exported symbols are required.
++always_export_symbols=$always_export_symbols_F77
++
++# The commands to list exported symbols.
++export_symbols_cmds=$lt_export_symbols_cmds_F77
++
++# The commands to extract the exported symbol list from a shared archive.
++extract_expsyms_cmds=$lt_extract_expsyms_cmds
++
++# Symbols that should not be listed in the preloaded symbols.
++exclude_expsyms=$lt_exclude_expsyms_F77
++
++# Symbols that must always be exported.
++include_expsyms=$lt_include_expsyms_F77
++
++# ### END LIBTOOL TAG CONFIG: $tagname
++
++__EOF__
++
++
++else
++  # If there is no Makefile yet, we rely on a make rule to execute
++  # `config.status --recheck' to rerun these tests and create the
++  # libtool script then.
++  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
++  if test -f "$ltmain_in"; then
++    test -f Makefile && make "$ltmain"
++  fi
++fi
++
++
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++CC="$lt_save_CC"
++
++	else
++	  tagname=""
++	fi
++	;;
++
++      GCJ)
++	if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
++	  
++
++
++# Source file extension for Java test sources.
++ac_ext=java
++
++# Object file extension for compiled Java test sources.
++objext=o
++objext_GCJ=$objext
++
++# Code to be used in simple compile tests
++lt_simple_compile_test_code="class foo {}\n"
++
++# Code to be used in simple link tests
++lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n'
++
++# ltmain only uses $CC for tagged configurations so make sure $CC is set.
++
++# If no C compiler was specified, use CC.
++LTCC=${LTCC-"$CC"}
++
++# Allow CC to be a program name with arguments.
++compiler=$CC
++
++
++# Allow CC to be a program name with arguments.
++lt_save_CC="$CC"
++CC=${GCJ-"gcj"}
++compiler=$CC
++compiler_GCJ=$CC
++
++# GCJ did not exist at the time GCC didn't implicitly link libc in.
++archive_cmds_need_lc_GCJ=no
++
++
++lt_prog_compiler_no_builtin_flag_GCJ=
++
++if test "$GCC" = yes; then
++  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
++
++  
++echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
++echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
++if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  lt_cv_prog_compiler_rtti_exceptions=no
++  ac_outfile=conftest.$ac_objext
++   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
++   lt_compiler_flag="-fno-rtti -fno-exceptions"
++   # Insert the option either (1) after the last *FLAGS variable, or
++   # (2) before a word containing "conftest.", or (3) at the end.
++   # Note that $ac_compile itself does not contain backslashes and begins
++   # with a dollar sign (not a hyphen), so the echo should work correctly.
++   # The option is referenced via a variable to avoid confusing sed.
++   lt_compile=`echo "$ac_compile" | $SED \
++   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
++   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
++   -e 's:$: $lt_compiler_flag:'`
++   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
++   (eval "$lt_compile" 2>conftest.err)
++   ac_status=$?
++   cat conftest.err >&5
++   echo "$as_me:__oline__: \$? = $ac_status" >&5
++   if (exit $ac_status) && test -s "$ac_outfile"; then
++     # The compiler can only warn and ignore the option if not recognized
++     # So say no if there are warnings
++     if test ! -s conftest.err; then
++       lt_cv_prog_compiler_rtti_exceptions=yes
++     fi
++   fi
++   $rm conftest*
++
++fi
++echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
++echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
++
++if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
++    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
++else
++    :
++fi
++
++fi
++
++lt_prog_compiler_wl_GCJ=
++lt_prog_compiler_pic_GCJ=
++lt_prog_compiler_static_GCJ=
++
++echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
++echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
++ 
++  if test "$GCC" = yes; then
++    lt_prog_compiler_wl_GCJ='-Wl,'
++    lt_prog_compiler_static_GCJ='-static'
++
++    case $host_os in
++      aix*)
++      # All AIX code is PIC.
++      if test "$host_cpu" = ia64; then
++	# AIX 5 now supports IA64 processor
++	lt_prog_compiler_static_GCJ='-Bstatic'
++      fi
++      ;;
++
++    amigaos*)
++      # FIXME: we need at least 68020 code to build shared libraries, but
++      # adding the `-m68020' flag to GCC prevents building anything better,
++      # like `-m68040'.
++      lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
++      ;;
++
++    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
++      # PIC is the default for these OSes.
++      ;;
++
++    mingw* | pw32* | os2*)
++      # This hack is so that the source file can tell whether it is being
++      # built for inclusion in a dll (and should export symbols for example).
++      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
++      ;;
++
++    darwin* | rhapsody*)
++      # PIC is the default on this platform
++      # Common symbols not allowed in MH_DYLIB files
++      lt_prog_compiler_pic_GCJ='-fno-common'
++      ;;
++
++    msdosdjgpp*)
++      # Just because we use GCC doesn't mean we suddenly get shared libraries
++      # on systems that don't support them.
++      lt_prog_compiler_can_build_shared_GCJ=no
++      enable_shared=no
++      ;;
++
++    sysv4*MP*)
++      if test -d /usr/nec; then
++	lt_prog_compiler_pic_GCJ=-Kconform_pic
++      fi
++      ;;
++
++    hpux*)
++      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
++      # not for PA HP-UX.
++      case "$host_cpu" in
++      hppa*64*|ia64*)
++	# +Z the default
++	;;
++      *)
++	lt_prog_compiler_pic_GCJ='-fPIC'
++	;;
++      esac
++      ;;
++
++    *)
++      lt_prog_compiler_pic_GCJ='-fPIC'
++      ;;
++    esac
++  else
++    # PORTME Check for flag to pass linker flags through the system compiler.
++    case $host_os in
++    aix*)
++      lt_prog_compiler_wl_GCJ='-Wl,'
++      if test "$host_cpu" = ia64; then
++	# AIX 5 now supports IA64 processor
++	lt_prog_compiler_static_GCJ='-Bstatic'
++      else
++	lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
++      fi
++      ;;
++
++    mingw* | pw32* | os2*)
++      # This hack is so that the source file can tell whether it is being
++      # built for inclusion in a dll (and should export symbols for example).
++      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
++      ;;
++
++    hpux9* | hpux10* | hpux11*)
++      lt_prog_compiler_wl_GCJ='-Wl,'
++      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
++      # not for PA HP-UX.
++      case "$host_cpu" in
++      hppa*64*|ia64*)
++	# +Z the default
++	;;
++      *)
++	lt_prog_compiler_pic_GCJ='+Z'
++	;;
++      esac
++      # Is there a better lt_prog_compiler_static that works with the bundled CC?
++      lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
++      ;;
++
++    irix5* | irix6* | nonstopux*)
++      lt_prog_compiler_wl_GCJ='-Wl,'
++      # PIC (with -KPIC) is the default.
++      lt_prog_compiler_static_GCJ='-non_shared'
++      ;;
++
++    newsos6)
++      lt_prog_compiler_pic_GCJ='-KPIC'
++      lt_prog_compiler_static_GCJ='-Bstatic'
++      ;;
++
++    linux*)
++      case $CC in
++      icc* | ecc*)
++	lt_prog_compiler_wl_GCJ='-Wl,'
++	lt_prog_compiler_pic_GCJ='-KPIC'
++	lt_prog_compiler_static_GCJ='-static'
++        ;;
++      ccc*)
++        lt_prog_compiler_wl_GCJ='-Wl,'
++        # All Alpha code is PIC.
++        lt_prog_compiler_static_GCJ='-non_shared'
++        ;;
++      esac
++      ;;
++
++    osf3* | osf4* | osf5*)
++      lt_prog_compiler_wl_GCJ='-Wl,'
++      # All OSF/1 code is PIC.
++      lt_prog_compiler_static_GCJ='-non_shared'
++      ;;
++
++    sco3.2v5*)
++      lt_prog_compiler_pic_GCJ='-Kpic'
++      lt_prog_compiler_static_GCJ='-dn'
++      ;;
++
++    solaris*)
++      lt_prog_compiler_wl_GCJ='-Wl,'
++      lt_prog_compiler_pic_GCJ='-KPIC'
++      lt_prog_compiler_static_GCJ='-Bstatic'
++      ;;
++
++    sunos4*)
++      lt_prog_compiler_wl_GCJ='-Qoption ld '
++      lt_prog_compiler_pic_GCJ='-PIC'
++      lt_prog_compiler_static_GCJ='-Bstatic'
++      ;;
++
++    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
++      lt_prog_compiler_wl_GCJ='-Wl,'
++      lt_prog_compiler_pic_GCJ='-KPIC'
++      lt_prog_compiler_static_GCJ='-Bstatic'
++      ;;
++
++    sysv4*MP*)
++      if test -d /usr/nec ;then
++	lt_prog_compiler_pic_GCJ='-Kconform_pic'
++	lt_prog_compiler_static_GCJ='-Bstatic'
++      fi
++      ;;
++
++    uts4*)
++      lt_prog_compiler_pic_GCJ='-pic'
++      lt_prog_compiler_static_GCJ='-Bstatic'
++      ;;
++
++    *)
++      lt_prog_compiler_can_build_shared_GCJ=no
++      ;;
++    esac
++  fi
++
++echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
++echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
++
++#
++# Check to make sure the PIC flag actually works.
++#
++if test -n "$lt_prog_compiler_pic_GCJ"; then
++  
++echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
++echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
++if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  lt_prog_compiler_pic_works_GCJ=no
++  ac_outfile=conftest.$ac_objext
++   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
++   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
++   # Insert the option either (1) after the last *FLAGS variable, or
++   # (2) before a word containing "conftest.", or (3) at the end.
++   # Note that $ac_compile itself does not contain backslashes and begins
++   # with a dollar sign (not a hyphen), so the echo should work correctly.
++   # The option is referenced via a variable to avoid confusing sed.
++   lt_compile=`echo "$ac_compile" | $SED \
++   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
++   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
++   -e 's:$: $lt_compiler_flag:'`
++   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
++   (eval "$lt_compile" 2>conftest.err)
++   ac_status=$?
++   cat conftest.err >&5
++   echo "$as_me:__oline__: \$? = $ac_status" >&5
++   if (exit $ac_status) && test -s "$ac_outfile"; then
++     # The compiler can only warn and ignore the option if not recognized
++     # So say no if there are warnings
++     if test ! -s conftest.err; then
++       lt_prog_compiler_pic_works_GCJ=yes
++     fi
++   fi
++   $rm conftest*
++
++fi
++echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
++echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
++
++if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
++    case $lt_prog_compiler_pic_GCJ in
++     "" | " "*) ;;
++     *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
++     esac
++else
++    lt_prog_compiler_pic_GCJ=
++     lt_prog_compiler_can_build_shared_GCJ=no
++fi
++
++fi
++case "$host_os" in
++  # For platforms which do not support PIC, -DPIC is meaningless:
++  *djgpp*)
++    lt_prog_compiler_pic_GCJ=
++    ;;
++  *)
++    lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
++    ;;
++esac
++
++echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
++echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
++if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  lt_cv_prog_compiler_c_o_GCJ=no
++   $rm -r conftest 2>/dev/null
++   mkdir conftest
++   cd conftest
++   mkdir out
++   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
++
++   # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
++   # that will create temporary files in the current directory regardless of
++   # the output directory.  Thus, making CWD read-only will cause this test
++   # to fail, enabling locking or at least warning the user not to do parallel
++   # builds.
++   chmod -w .
++
++   lt_compiler_flag="-o out/conftest2.$ac_objext"
++   # Insert the option either (1) after the last *FLAGS variable, or
++   # (2) before a word containing "conftest.", or (3) at the end.
++   # Note that $ac_compile itself does not contain backslashes and begins
++   # with a dollar sign (not a hyphen), so the echo should work correctly.
++   lt_compile=`echo "$ac_compile" | $SED \
++   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
++   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
++   -e 's:$: $lt_compiler_flag:'`
++   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
++   (eval "$lt_compile" 2>out/conftest.err)
++   ac_status=$?
++   cat out/conftest.err >&5
++   echo "$as_me:__oline__: \$? = $ac_status" >&5
++   if (exit $ac_status) && test -s out/conftest2.$ac_objext
++   then
++     # The compiler can only warn and ignore the option if not recognized
++     # So say no if there are warnings
++     if test ! -s out/conftest.err; then
++       lt_cv_prog_compiler_c_o_GCJ=yes
++     fi
++   fi
++   chmod u+w .
++   $rm conftest*
++   # SGI C++ compiler will create directory out/ii_files/ for
++   # template instantiation
++   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
++   $rm out/* && rmdir out
++   cd ..
++   rmdir conftest
++   $rm conftest*
++
++fi
++echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
++echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
++
++
++hard_links="nottested"
++if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
++  # do not overwrite the value of need_locks provided by the user
++  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
++echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
++  hard_links=yes
++  $rm conftest*
++  ln conftest.a conftest.b 2>/dev/null && hard_links=no
++  touch conftest.a
++  ln conftest.a conftest.b 2>&5 || hard_links=no
++  ln conftest.a conftest.b 2>/dev/null && hard_links=no
++  echo "$as_me:$LINENO: result: $hard_links" >&5
++echo "${ECHO_T}$hard_links" >&6
++  if test "$hard_links" = no; then
++    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
++echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
++    need_locks=warn
++  fi
++else
++  need_locks=no
++fi
++
++echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
++echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
++
++  runpath_var=
++  allow_undefined_flag_GCJ=
++  enable_shared_with_static_runtimes_GCJ=no
++  archive_cmds_GCJ=
++  archive_expsym_cmds_GCJ=
++  old_archive_From_new_cmds_GCJ=
++  old_archive_from_expsyms_cmds_GCJ=
++  export_dynamic_flag_spec_GCJ=
++  whole_archive_flag_spec_GCJ=
++  thread_safe_flag_spec_GCJ=
++  hardcode_libdir_flag_spec_GCJ=
++  hardcode_libdir_flag_spec_ld_GCJ=
++  hardcode_libdir_separator_GCJ=
++  hardcode_direct_GCJ=no
++  hardcode_minus_L_GCJ=no
++  hardcode_shlibpath_var_GCJ=unsupported
++  link_all_deplibs_GCJ=unknown
++  hardcode_automatic_GCJ=no
++  module_cmds_GCJ=
++  module_expsym_cmds_GCJ=  
++  always_export_symbols_GCJ=no
++  export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
++  # include_expsyms should be a list of space-separated symbols to be *always*
++  # included in the symbol list
++  include_expsyms_GCJ=
++  # exclude_expsyms can be an extended regexp of symbols to exclude
++  # it will be wrapped by ` (' and `)$', so one must not match beginning or
++  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
++  # as well as any symbol that contains `d'.
++  exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
++  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
++  # platforms (ab)use it in PIC code, but their linkers get confused if
++  # the symbol is explicitly referenced.  Since portable code cannot
++  # rely on this symbol name, it's probably fine to never include it in
++  # preloaded symbol tables.
++  extract_expsyms_cmds=
++
++  case $host_os in
++  cygwin* | mingw* | pw32*)
++    # FIXME: the MSVC++ port hasn't been tested in a loooong time
++    # When not using gcc, we currently assume that we are using
++    # Microsoft Visual C++.
++    if test "$GCC" != yes; then
++      with_gnu_ld=no
++    fi
++    ;;
++  openbsd*)
++    with_gnu_ld=no
++    ;;
++  esac
++
++  ld_shlibs_GCJ=yes
++  if test "$with_gnu_ld" = yes; then
++    # If archive_cmds runs LD, not CC, wlarc should be empty
++    wlarc='${wl}'
++
++    # See if GNU ld supports shared libraries.
++    case $host_os in
++    aix3* | aix4* | aix5*)
++      # On AIX/PPC, the GNU linker is very broken
++      if test "$host_cpu" != ia64; then
++	ld_shlibs_GCJ=no
++	cat <<EOF 1>&2
++
++*** Warning: the GNU linker, at least up to release 2.9.1, is reported
++*** to be unable to reliably create shared libraries on AIX.
++*** Therefore, libtool is disabling shared libraries support.  If you
++*** really care for shared libraries, you may want to modify your PATH
++*** so that a non-GNU linker is found, and then restart.
++
++EOF
++      fi
++      ;;
++
++    amigaos*)
++      archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
++      hardcode_libdir_flag_spec_GCJ='-L$libdir'
++      hardcode_minus_L_GCJ=yes
++
++      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
++      # that the semantics of dynamic libraries on AmigaOS, at least up
++      # to version 4, is to share data among multiple programs linked
++      # with the same dynamic library.  Since this doesn't match the
++      # behavior of shared libraries on other platforms, we can't use
++      # them.
++      ld_shlibs_GCJ=no
++      ;;
++
++    beos*)
++      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
++	allow_undefined_flag_GCJ=unsupported
++	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
++	# support --undefined.  This deserves some investigation.  FIXME
++	archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++      else
++	ld_shlibs_GCJ=no
++      fi
++      ;;
++
++    cygwin* | mingw* | pw32*)
++      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
++      # as there is no search path for DLLs.
++      hardcode_libdir_flag_spec_GCJ='-L$libdir'
++      allow_undefined_flag_GCJ=unsupported
++      always_export_symbols_GCJ=no
++      enable_shared_with_static_runtimes_GCJ=yes
++      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
++
++      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
++        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
++	# If the export-symbols file already is a .def file (1st line
++	# is EXPORTS), use it as is; otherwise, prepend...
++	archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
++	  cp $export_symbols $output_objdir/$soname.def;
++	else
++	  echo EXPORTS > $output_objdir/$soname.def;
++	  cat $export_symbols >> $output_objdir/$soname.def;
++	fi~
++	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
++      else
++	ld_shlibs=no
++      fi
++      ;;
++
++    netbsd*)
++      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++	archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
++	wlarc=
++      else
++	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++      fi
++      ;;
++
++    solaris* | sysv5*)
++      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
++	ld_shlibs_GCJ=no
++	cat <<EOF 1>&2
++
++*** Warning: The releases 2.8.* of the GNU linker cannot reliably
++*** create shared libraries on Solaris systems.  Therefore, libtool
++*** is disabling shared libraries support.  We urge you to upgrade GNU
++*** binutils to release 2.9.1 or newer.  Another option is to modify
++*** your PATH or compiler configuration so that the native linker is
++*** used, and then restart.
++
++EOF
++      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
++	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++      else
++	ld_shlibs_GCJ=no
++      fi
++      ;;
++
++    sunos4*)
++      archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++      wlarc=
++      hardcode_direct_GCJ=yes
++      hardcode_shlibpath_var_GCJ=no
++      ;;
++
++  linux*)
++    if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
++        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++	archive_cmds_GCJ="$tmp_archive_cmds"
++      supports_anon_versioning=no
++      case `$LD -v 2>/dev/null` in
++        *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
++        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
++        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
++        *\ 2.11.*) ;; # other 2.11 versions
++        *) supports_anon_versioning=yes ;;
++      esac
++      if test $supports_anon_versioning = yes; then
++        archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
++cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
++$echo "local: *; };" >> $output_objdir/$libname.ver~
++        $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
++      else
++        archive_expsym_cmds_GCJ="$tmp_archive_cmds"
++      fi
++    else
++      ld_shlibs_GCJ=no
++    fi
++    ;;
++
++    *)
++      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
++	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++      else
++	ld_shlibs_GCJ=no
++      fi
++      ;;
++    esac
++
++    if test "$ld_shlibs_GCJ" = yes; then
++      runpath_var=LD_RUN_PATH
++      hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
++      export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
++      # ancient GNU ld didn't support --whole-archive et. al.
++      if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
++ 	whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
++      else
++  	whole_archive_flag_spec_GCJ=
++      fi
++    fi
++  else
++    # PORTME fill in a description of your system's linker (not GNU ld)
++    case $host_os in
++    aix3*)
++      allow_undefined_flag_GCJ=unsupported
++      always_export_symbols_GCJ=yes
++      archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
++      # Note: this linker hardcodes the directories in LIBPATH if there
++      # are no directories specified by -L.
++      hardcode_minus_L_GCJ=yes
++      if test "$GCC" = yes && test -z "$link_static_flag"; then
++	# Neither direct hardcoding nor static linking is supported with a
++	# broken collect2.
++	hardcode_direct_GCJ=unsupported
++      fi
++      ;;
++
++    aix4* | aix5*)
++      if test "$host_cpu" = ia64; then
++	# On IA64, the linker does run time linking by default, so we don't
++	# have to do anything special.
++	aix_use_runtimelinking=no
++	exp_sym_flag='-Bexport'
++	no_entry_flag=""
++      else
++	# If we're using GNU nm, then we don't want the "-C" option.
++	# -C means demangle to AIX nm, but means don't demangle with GNU nm
++	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
++	  export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
++	else
++	  export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
++	fi
++	aix_use_runtimelinking=no
++
++	# Test if we are trying to use run time linking or normal
++	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
++	# need to do runtime linking.
++	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
++	  for ld_flag in $LDFLAGS; do
++  	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
++  	    aix_use_runtimelinking=yes
++  	    break
++  	  fi
++	  done
++	esac
++
++	exp_sym_flag='-bexport'
++	no_entry_flag='-bnoentry'
++      fi
++
++      # When large executables or shared objects are built, AIX ld can
++      # have problems creating the table of contents.  If linking a library
++      # or program results in "error TOC overflow" add -mminimal-toc to
++      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
++      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
++
++      archive_cmds_GCJ=''
++      hardcode_direct_GCJ=yes
++      hardcode_libdir_separator_GCJ=':'
++      link_all_deplibs_GCJ=yes
++
++      if test "$GCC" = yes; then
++	case $host_os in aix4.012|aix4.012.*)
++	# We only want to do this on AIX 4.2 and lower, the check
++	# below for broken collect2 doesn't work under 4.3+
++	  collect2name=`${CC} -print-prog-name=collect2`
++	  if test -f "$collect2name" && \
++  	   strings "$collect2name" | grep resolve_lib_name >/dev/null
++	  then
++  	  # We have reworked collect2
++  	  hardcode_direct_GCJ=yes
++	  else
++  	  # We have old collect2
++  	  hardcode_direct_GCJ=unsupported
++  	  # It fails to find uninstalled libraries when the uninstalled
++  	  # path is not listed in the libpath.  Setting hardcode_minus_L
++  	  # to unsupported forces relinking
++  	  hardcode_minus_L_GCJ=yes
++  	  hardcode_libdir_flag_spec_GCJ='-L$libdir'
++  	  hardcode_libdir_separator_GCJ=
++	  fi
++	esac
++	shared_flag='-shared'
++      else
++	# not using gcc
++	if test "$host_cpu" = ia64; then
++  	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
++  	# chokes on -Wl,-G. The following line is correct:
++	  shared_flag='-G'
++	else
++  	if test "$aix_use_runtimelinking" = yes; then
++	    shared_flag='${wl}-G'
++	  else
++	    shared_flag='${wl}-bM:SRE'
++  	fi
++	fi
++      fi
++
++      # It seems that -bexpall does not export symbols beginning with
++      # underscore (_), so it is better to generate a list of symbols to export.
++      always_export_symbols_GCJ=yes
++      if test "$aix_use_runtimelinking" = yes; then
++	# Warning - without using the other runtime loading flags (-brtl),
++	# -berok will link without error, but may produce a broken library.
++	allow_undefined_flag_GCJ='-berok'
++       # Determine the default libpath from the value encoded in an empty executable.
++       cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  
++aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
++}'`
++# Check for a 64-bit object if we didn't find anything.
++if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
++}'`; fi
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
++
++       hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
++	archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
++       else
++	if test "$host_cpu" = ia64; then
++	  hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
++	  allow_undefined_flag_GCJ="-z nodefs"
++	  archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
++	else
++	 # Determine the default libpath from the value encoded in an empty executable.
++	 cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  
++aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
++}'`
++# Check for a 64-bit object if we didn't find anything.
++if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
++}'`; fi
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
++
++	 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
++	  # Warning - without using the other run time loading flags,
++	  # -berok will link without error, but may produce a broken library.
++	  no_undefined_flag_GCJ=' ${wl}-bernotok'
++	  allow_undefined_flag_GCJ=' ${wl}-berok'
++	  # -bexpall does not export symbols beginning with underscore (_)
++	  always_export_symbols_GCJ=yes
++	  # Exported symbols can be pulled into shared objects from archives
++	  whole_archive_flag_spec_GCJ=' '
++	  archive_cmds_need_lc_GCJ=yes
++	  # This is similar to how AIX traditionally builds it's shared libraries.
++	  archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
++	fi
++      fi
++      ;;
++
++    amigaos*)
++      archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
++      hardcode_libdir_flag_spec_GCJ='-L$libdir'
++      hardcode_minus_L_GCJ=yes
++      # see comment about different semantics on the GNU ld section
++      ld_shlibs_GCJ=no
++      ;;
++
++    bsdi4*)
++      export_dynamic_flag_spec_GCJ=-rdynamic
++      ;;
++
++    cygwin* | mingw* | pw32*)
++      # When not using gcc, we currently assume that we are using
++      # Microsoft Visual C++.
++      # hardcode_libdir_flag_spec is actually meaningless, as there is
++      # no search path for DLLs.
++      hardcode_libdir_flag_spec_GCJ=' '
++      allow_undefined_flag_GCJ=unsupported
++      # Tell ltmain to make .lib files, not .a files.
++      libext=lib
++      # Tell ltmain to make .dll files, not .so files.
++      shrext=".dll"
++      # FIXME: Setting linknames here is a bad hack.
++      archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
++      # The linker will automatically build a .lib file if we build a DLL.
++      old_archive_From_new_cmds_GCJ='true'
++      # FIXME: Should let the user specify the lib program.
++      old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
++      fix_srcfile_path='`cygpath -w "$srcfile"`'
++      enable_shared_with_static_runtimes_GCJ=yes
++      ;;
++
++    darwin* | rhapsody*)
++    if test "$GXX" = yes ; then
++      archive_cmds_need_lc_GCJ=no
++      case "$host_os" in
++      rhapsody* | darwin1.[012])
++	allow_undefined_flag_GCJ='-undefined suppress'
++	;;
++      *) # Darwin 1.3 on
++      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
++      	allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
++      else
++        case ${MACOSX_DEPLOYMENT_TARGET} in
++          10.[012])
++            allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
++            ;;
++          10.*)
++            allow_undefined_flag_GCJ='-undefined dynamic_lookup'
++            ;;            
++        esac
++      fi
++	;;
++      esac
++    	lt_int_apple_cc_single_mod=no
++    	output_verbose_link_cmd='echo'
++    	if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
++    	  lt_int_apple_cc_single_mod=yes
++    	fi
++    	if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
++    	  archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
++    	else
++        archive_cmds_GCJ='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
++      fi
++      module_cmds_GCJ='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
++      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
++        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
++          archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++        else
++          archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++        fi
++          module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++      hardcode_direct_GCJ=no
++      hardcode_automatic_GCJ=yes
++      hardcode_shlibpath_var_GCJ=unsupported
++      whole_archive_flag_spec_GCJ='-all_load $convenience'
++      link_all_deplibs_GCJ=yes
++    else  
++      ld_shlibs_GCJ=no
++    fi  
++      ;;
++
++    dgux*)
++      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_libdir_flag_spec_GCJ='-L$libdir'
++      hardcode_shlibpath_var_GCJ=no
++      ;;
++
++    freebsd1*)
++      ld_shlibs_GCJ=no
++      ;;
++
++    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
++    # support.  Future versions do this automatically, but an explicit c++rt0.o
++    # does not break anything, and helps significantly (at the cost of a little
++    # extra space).
++    freebsd2.2*)
++      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
++      hardcode_libdir_flag_spec_GCJ='-R$libdir'
++      hardcode_direct_GCJ=yes
++      hardcode_shlibpath_var_GCJ=no
++      ;;
++
++    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
++    freebsd2*)
++      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_direct_GCJ=yes
++      hardcode_minus_L_GCJ=yes
++      hardcode_shlibpath_var_GCJ=no
++      ;;
++
++    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
++    freebsd* | kfreebsd*-gnu)
++      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
++      hardcode_libdir_flag_spec_GCJ='-R$libdir'
++      hardcode_direct_GCJ=yes
++      hardcode_shlibpath_var_GCJ=no
++      ;;
++
++    hpux9*)
++      if test "$GCC" = yes; then
++	archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
++      else
++	archive_cmds_GCJ='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
++      fi
++      hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
++      hardcode_libdir_separator_GCJ=:
++      hardcode_direct_GCJ=yes
++
++      # hardcode_minus_L: Not really in the search PATH,
++      # but as the default location of the library.
++      hardcode_minus_L_GCJ=yes
++      export_dynamic_flag_spec_GCJ='${wl}-E'
++      ;;
++
++    hpux10* | hpux11*)
++      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
++	case "$host_cpu" in
++	hppa*64*|ia64*)
++	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++	  ;;
++	*)
++	  archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
++	  ;;
++	esac
++      else
++	case "$host_cpu" in
++	hppa*64*|ia64*)
++	  archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
++	  ;;
++	*)
++	  archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
++	  ;;
++	esac
++      fi
++      if test "$with_gnu_ld" = no; then
++	case "$host_cpu" in
++	hppa*64*)
++	  hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
++	  hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
++	  hardcode_libdir_separator_GCJ=:
++	  hardcode_direct_GCJ=no
++	  hardcode_shlibpath_var_GCJ=no
++	  ;;
++	ia64*)
++	  hardcode_libdir_flag_spec_GCJ='-L$libdir'
++	  hardcode_direct_GCJ=no
++	  hardcode_shlibpath_var_GCJ=no
++
++	  # hardcode_minus_L: Not really in the search PATH,
++	  # but as the default location of the library.
++	  hardcode_minus_L_GCJ=yes
++	  ;;
++	*)
++	  hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
++	  hardcode_libdir_separator_GCJ=:
++	  hardcode_direct_GCJ=yes
++	  export_dynamic_flag_spec_GCJ='${wl}-E'
++
++	  # hardcode_minus_L: Not really in the search PATH,
++	  # but as the default location of the library.
++	  hardcode_minus_L_GCJ=yes
++	  ;;
++	esac
++      fi
++      ;;
++
++    irix5* | irix6* | nonstopux*)
++      if test "$GCC" = yes; then
++	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++      else
++	archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
++	hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
++      fi
++      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
++      hardcode_libdir_separator_GCJ=:
++      link_all_deplibs_GCJ=yes
++      ;;
++
++    netbsd*)
++      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++	archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
++      else
++	archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
++      fi
++      hardcode_libdir_flag_spec_GCJ='-R$libdir'
++      hardcode_direct_GCJ=yes
++      hardcode_shlibpath_var_GCJ=no
++      ;;
++
++    newsos6)
++      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_direct_GCJ=yes
++      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
++      hardcode_libdir_separator_GCJ=:
++      hardcode_shlibpath_var_GCJ=no
++      ;;
++
++    openbsd*)
++      hardcode_direct_GCJ=yes
++      hardcode_shlibpath_var_GCJ=no
++      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
++	archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
++	hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
++	export_dynamic_flag_spec_GCJ='${wl}-E'
++      else
++       case $host_os in
++	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
++	   archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++	   hardcode_libdir_flag_spec_GCJ='-R$libdir'
++	   ;;
++	 *)
++	   archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
++	   hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
++	   ;;
++       esac
++      fi
++      ;;
++
++    os2*)
++      hardcode_libdir_flag_spec_GCJ='-L$libdir'
++      hardcode_minus_L_GCJ=yes
++      allow_undefined_flag_GCJ=unsupported
++      archive_cmds_GCJ='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
++      old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
++      ;;
++
++    osf3*)
++      if test "$GCC" = yes; then
++	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
++	archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++      else
++	allow_undefined_flag_GCJ=' -expect_unresolved \*'
++	archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
++      fi
++      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
++      hardcode_libdir_separator_GCJ=:
++      ;;
++
++    osf4* | osf5*)	# as osf3* with the addition of -msym flag
++      if test "$GCC" = yes; then
++	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
++	archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++	hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
++      else
++	allow_undefined_flag_GCJ=' -expect_unresolved \*'
++	archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
++	archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
++	$LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
++
++	# Both c and cxx compiler support -rpath directly
++	hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
++      fi
++      hardcode_libdir_separator_GCJ=:
++      ;;
++
++    sco3.2v5*)
++      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_shlibpath_var_GCJ=no
++      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
++      runpath_var=LD_RUN_PATH
++      hardcode_runpath_var=yes
++      ;;
++
++    solaris*)
++      no_undefined_flag_GCJ=' -z text'
++      if test "$GCC" = yes; then
++	archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
++      else
++	archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
++	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++  	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
++      fi
++      hardcode_libdir_flag_spec_GCJ='-R$libdir'
++      hardcode_shlibpath_var_GCJ=no
++      case $host_os in
++      solaris2.[0-5] | solaris2.[0-5].*) ;;
++      *) # Supported since Solaris 2.6 (maybe 2.5.1?)
++	whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
++      esac
++      link_all_deplibs_GCJ=yes
++      ;;
++
++    sunos4*)
++      if test "x$host_vendor" = xsequent; then
++	# Use $CC to link under sequent, because it throws in some extra .o
++	# files that make .init and .fini sections work.
++	archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
++      else
++	archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
++      fi
++      hardcode_libdir_flag_spec_GCJ='-L$libdir'
++      hardcode_direct_GCJ=yes
++      hardcode_minus_L_GCJ=yes
++      hardcode_shlibpath_var_GCJ=no
++      ;;
++
++    sysv4)
++      case $host_vendor in
++	sni)
++	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++	  hardcode_direct_GCJ=yes # is this really true???
++	;;
++	siemens)
++	  ## LD is ld it makes a PLAMLIB
++	  ## CC just makes a GrossModule.
++	  archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
++	  reload_cmds_GCJ='$CC -r -o $output$reload_objs'
++	  hardcode_direct_GCJ=no
++        ;;
++	motorola)
++	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++	  hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
++	;;
++      esac
++      runpath_var='LD_RUN_PATH'
++      hardcode_shlibpath_var_GCJ=no
++      ;;
++
++    sysv4.3*)
++      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_shlibpath_var_GCJ=no
++      export_dynamic_flag_spec_GCJ='-Bexport'
++      ;;
++
++    sysv4*MP*)
++      if test -d /usr/nec; then
++	archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++	hardcode_shlibpath_var_GCJ=no
++	runpath_var=LD_RUN_PATH
++	hardcode_runpath_var=yes
++	ld_shlibs_GCJ=yes
++      fi
++      ;;
++
++    sysv4.2uw2*)
++      archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_direct_GCJ=yes
++      hardcode_minus_L_GCJ=no
++      hardcode_shlibpath_var_GCJ=no
++      hardcode_runpath_var=yes
++      runpath_var=LD_RUN_PATH
++      ;;
++
++   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
++      no_undefined_flag_GCJ='${wl}-z ${wl}text'
++      if test "$GCC" = yes; then
++	archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++      else
++	archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++      fi
++      runpath_var='LD_RUN_PATH'
++      hardcode_shlibpath_var_GCJ=no
++      ;;
++
++    sysv5*)
++      no_undefined_flag_GCJ=' -z text'
++      # $CC -shared without GNU ld will not create a library from C++
++      # object files and a static libstdc++, better avoid it by now
++      archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++  		$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
++      hardcode_libdir_flag_spec_GCJ=
++      hardcode_shlibpath_var_GCJ=no
++      runpath_var='LD_RUN_PATH'
++      ;;
++
++    uts4*)
++      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_libdir_flag_spec_GCJ='-L$libdir'
++      hardcode_shlibpath_var_GCJ=no
++      ;;
++
++    *)
++      ld_shlibs_GCJ=no
++      ;;
++    esac
++  fi
++
++echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
++echo "${ECHO_T}$ld_shlibs_GCJ" >&6
++test "$ld_shlibs_GCJ" = no && can_build_shared=no
++
++variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
++if test "$GCC" = yes; then
++  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
++fi
++
++#
++# Do we need to explicitly link libc?
++#
++case "x$archive_cmds_need_lc_GCJ" in
++x|xyes)
++  # Assume -lc should be added
++  archive_cmds_need_lc_GCJ=yes
++
++  if test "$enable_shared" = yes && test "$GCC" = yes; then
++    case $archive_cmds_GCJ in
++    *'~'*)
++      # FIXME: we may have to deal with multi-command sequences.
++      ;;
++    '$CC '*)
++      # Test whether the compiler implicitly links with -lc since on some
++      # systems, -lgcc has to come before -lc. If gcc already passes -lc
++      # to ld, don't add -lc before -lgcc.
++      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
++echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
++      $rm conftest*
++      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
++  
++      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } 2>conftest.err; then
++        soname=conftest
++        lib=conftest
++        libobjs=conftest.$ac_objext
++        deplibs=
++        wl=$lt_prog_compiler_wl_GCJ
++        compiler_flags=-v
++        linker_flags=-v
++        verstring=
++        output_objdir=.
++        libname=conftest
++        lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
++        allow_undefined_flag_GCJ=
++        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
++  (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }
++        then
++	  archive_cmds_need_lc_GCJ=no
++        else
++	  archive_cmds_need_lc_GCJ=yes
++        fi
++        allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
++      else
++        cat conftest.err 1>&5
++      fi
++      $rm conftest*
++      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
++echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
++      ;;
++    esac
++  fi
++  ;;
++esac
++
++echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
++echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
++library_names_spec=
++libname_spec='lib$name'
++soname_spec=
++shrext=".so"
++postinstall_cmds=
++postuninstall_cmds=
++finish_cmds=
++finish_eval=
++shlibpath_var=
++shlibpath_overrides_runpath=unknown
++version_type=none
++dynamic_linker="$host_os ld.so"
++sys_lib_dlsearch_path_spec="/lib /usr/lib"
++if test "$GCC" = yes; then
++  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
++  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
++    # if the path contains ";" then we assume it to be the separator
++    # otherwise default to the standard path separator (i.e. ":") - it is
++    # assumed that no part of a normal pathname contains ";" but that should
++    # okay in the real world where ";" in dirpaths is itself problematic.
++    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
++  else
++    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
++  fi
++else
++  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
++fi
++need_lib_prefix=unknown
++hardcode_into_libs=no
++
++# when you set need_version to no, make sure it does not cause -set_version
++# flags to be left without arguments
++need_version=unknown
++
++case $host_os in
++aix3*)
++  version_type=linux
++  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
++  shlibpath_var=LIBPATH
++
++  # AIX 3 has no versioning support, so we append a major version to the name.
++  soname_spec='${libname}${release}${shared_ext}$major'
++  ;;
++
++aix4* | aix5*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  hardcode_into_libs=yes
++  if test "$host_cpu" = ia64; then
++    # AIX 5 supports IA64
++    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
++    shlibpath_var=LD_LIBRARY_PATH
++  else
++    # With GCC up to 2.95.x, collect2 would create an import file
++    # for dependence libraries.  The import file would start with
++    # the line `#! .'.  This would cause the generated library to
++    # depend on `.', always an invalid library.  This was fixed in
++    # development snapshots of GCC prior to 3.0.
++    case $host_os in
++      aix4 | aix4.[01] | aix4.[01].*)
++      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
++	   echo ' yes '
++	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
++	:
++      else
++	can_build_shared=no
++      fi
++      ;;
++    esac
++    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
++    # soname into executable. Probably we can add versioning support to
++    # collect2, so additional links can be useful in future.
++    if test "$aix_use_runtimelinking" = yes; then
++      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
++      # instead of lib<name>.a to let people know that these are not
++      # typical AIX shared libraries.
++      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++    else
++      # We preserve .a as extension for shared libraries through AIX4.2
++      # and later when we are not doing run time linking.
++      library_names_spec='${libname}${release}.a $libname.a'
++      soname_spec='${libname}${release}${shared_ext}$major'
++    fi
++    shlibpath_var=LIBPATH
++  fi
++  ;;
++
++amigaos*)
++  library_names_spec='$libname.ixlibrary $libname.a'
++  # Create ${libname}_ixlibrary.a entries in /sys/libs.
++  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
++  ;;
++
++beos*)
++  library_names_spec='${libname}${shared_ext}'
++  dynamic_linker="$host_os ld.so"
++  shlibpath_var=LIBRARY_PATH
++  ;;
++
++bsdi4*)
++  version_type=linux
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
++  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
++  # the default ld.so.conf also contains /usr/contrib/lib and
++  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
++  # libtool to hard-code these into programs
++  ;;
++
++cygwin* | mingw* | pw32*)
++  version_type=windows
++  shrext=".dll"
++  need_version=no
++  need_lib_prefix=no
++
++  case $GCC,$host_os in
++  yes,cygwin* | yes,mingw* | yes,pw32*)
++    library_names_spec='$libname.dll.a'
++    # DLL is installed to $(libdir)/../bin by postinstall_cmds
++    postinstall_cmds='base_file=`basename \${file}`~
++      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
++      dldir=$destdir/`dirname \$dlpath`~
++      test -d \$dldir || mkdir -p \$dldir~
++      $install_prog $dir/$dlname \$dldir/$dlname'
++    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
++      dlpath=$dir/\$dldll~
++       $rm \$dlpath'
++    shlibpath_overrides_runpath=yes
++
++    case $host_os in
++    cygwin*)
++      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
++      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
++      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
++      ;;
++    mingw*)
++      # MinGW DLLs use traditional 'lib' prefix
++      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
++      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
++      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
++        # It is most probably a Windows format PATH printed by
++        # mingw gcc, but we are running on Cygwin. Gcc prints its search
++        # path with ; separators, and with drive letters. We can handle the
++        # drive letters (cygwin fileutils understands them), so leave them,
++        # especially as we might pass files found there to a mingw objdump,
++        # which wouldn't understand a cygwinified path. Ahh.
++        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
++      else
++        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
++      fi
++      ;;
++    pw32*)
++      # pw32 DLLs use 'pw' prefix rather than 'lib'
++      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
++      ;;
++    esac
++    ;;
++
++  *)
++    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
++    ;;
++  esac
++  dynamic_linker='Win32 ld.exe'
++  # FIXME: first we should search . and the directory the executable is in
++  shlibpath_var=PATH
++  ;;
++
++darwin* | rhapsody*)
++  dynamic_linker="$host_os dyld"
++  version_type=darwin
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
++  soname_spec='${libname}${release}${major}$shared_ext'
++  shlibpath_overrides_runpath=yes
++  shlibpath_var=DYLD_LIBRARY_PATH
++  shrext='$(test .$module = .yes && echo .so || echo .dylib)'
++  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
++  if test "$GCC" = yes; then
++    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
++  else
++    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
++  fi
++  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
++  ;;
++
++dgux*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++freebsd1*)
++  dynamic_linker=no
++  ;;
++
++kfreebsd*-gnu)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=no
++  hardcode_into_libs=yes
++  dynamic_linker='GNU ld.so'
++  ;;
++
++freebsd*)
++  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
++  version_type=freebsd-$objformat
++  case $version_type in
++    freebsd-elf*)
++      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
++      need_version=no
++      need_lib_prefix=no
++      ;;
++    freebsd-*)
++      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
++      need_version=yes
++      ;;
++  esac
++  shlibpath_var=LD_LIBRARY_PATH
++  case $host_os in
++  freebsd2*)
++    shlibpath_overrides_runpath=yes
++    ;;
++  freebsd3.01* | freebsdelf3.01*)
++    shlibpath_overrides_runpath=yes
++    hardcode_into_libs=yes
++    ;;
++  *) # from 3.2 on
++    shlibpath_overrides_runpath=no
++    hardcode_into_libs=yes
++    ;;
++  esac
++  ;;
++
++gnu*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  hardcode_into_libs=yes
++  ;;
++
++hpux9* | hpux10* | hpux11*)
++  # Give a soname corresponding to the major version so that dld.sl refuses to
++  # link against other versions.
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=no
++  case "$host_cpu" in
++  ia64*)
++    shrext='.so'
++    hardcode_into_libs=yes
++    dynamic_linker="$host_os dld.so"
++    shlibpath_var=LD_LIBRARY_PATH
++    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
++    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++    soname_spec='${libname}${release}${shared_ext}$major'
++    if test "X$HPUX_IA64_MODE" = X32; then
++      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
++    else
++      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
++    fi
++    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
++    ;;
++   hppa*64*)
++     shrext='.sl'
++     hardcode_into_libs=yes
++     dynamic_linker="$host_os dld.sl"
++     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
++     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
++     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++     soname_spec='${libname}${release}${shared_ext}$major'
++     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
++     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
++     ;;
++   *)
++    shrext='.sl'
++    dynamic_linker="$host_os dld.sl"
++    shlibpath_var=SHLIB_PATH
++    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
++    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++    soname_spec='${libname}${release}${shared_ext}$major'
++    ;;
++  esac
++  # HP-UX runs *really* slowly unless shared libraries are mode 555.
++  postinstall_cmds='chmod 555 $lib'
++  ;;
++
++irix5* | irix6* | nonstopux*)
++  case $host_os in
++    nonstopux*) version_type=nonstopux ;;
++    *)
++	if test "$lt_cv_prog_gnu_ld" = yes; then
++		version_type=linux
++	else
++		version_type=irix
++	fi ;;
++  esac
++  need_lib_prefix=no
++  need_version=no
++  soname_spec='${libname}${release}${shared_ext}$major'
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
++  case $host_os in
++  irix5* | nonstopux*)
++    libsuff= shlibsuff=
++    ;;
++  *)
++    case $LD in # libtool.m4 will add one of these switches to LD
++    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
++      libsuff= shlibsuff= libmagic=32-bit;;
++    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
++      libsuff=32 shlibsuff=N32 libmagic=N32;;
++    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
++      libsuff=64 shlibsuff=64 libmagic=64-bit;;
++    *) libsuff= shlibsuff= libmagic=never-match;;
++    esac
++    ;;
++  esac
++  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
++  shlibpath_overrides_runpath=no
++  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
++  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
++  hardcode_into_libs=yes
++  ;;
++
++# No shared lib support for Linux oldld, aout, or coff.
++linux*oldld* | linux*aout* | linux*coff*)
++  dynamic_linker=no
++  ;;
++
++# This must be Linux ELF.
++linux*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=no
++  # This implies no fast_install, which is unacceptable.
++  # Some rework will be needed to allow for fast_install
++  # before this can be enabled.
++  hardcode_into_libs=yes
++
++  # We used to test for /lib/ld.so.1 and disable shared libraries on
++  # powerpc, because MkLinux only supported shared libraries with the
++  # GNU dynamic linker.  Since this was broken with cross compilers,
++  # most powerpc-linux boxes support dynamic linking these days and
++  # people can always --disable-shared, the test was removed, and we
++  # assume the GNU/Linux dynamic linker is in use.
++  dynamic_linker='GNU/Linux ld.so'
++  ;;
++
++netbsd*)
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=no
++  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
++    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
++    dynamic_linker='NetBSD (a.out) ld.so'
++  else
++    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
++    soname_spec='${libname}${release}${shared_ext}$major'
++    dynamic_linker='NetBSD ld.elf_so'
++  fi
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  hardcode_into_libs=yes
++  ;;
++
++newsos6)
++  version_type=linux
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  ;;
++
++nto-qnx*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  ;;
++
++openbsd*)
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
++    case $host_os in
++      openbsd2.[89] | openbsd2.[89].*)
++	shlibpath_overrides_runpath=no
++	;;
++      *)
++	shlibpath_overrides_runpath=yes
++	;;
++      esac
++  else
++    shlibpath_overrides_runpath=yes
++  fi
++  ;;
++
++os2*)
++  libname_spec='$name'
++  shrext=".dll"
++  need_lib_prefix=no
++  library_names_spec='$libname${shared_ext} $libname.a'
++  dynamic_linker='OS/2 ld.exe'
++  shlibpath_var=LIBPATH
++  ;;
++
++osf3* | osf4* | osf5*)
++  version_type=osf
++  need_lib_prefix=no
++  need_version=no
++  soname_spec='${libname}${release}${shared_ext}$major'
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  shlibpath_var=LD_LIBRARY_PATH
++  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
++  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
++  ;;
++
++sco3.2v5*)
++  version_type=osf
++  soname_spec='${libname}${release}${shared_ext}$major'
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++solaris*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  hardcode_into_libs=yes
++  # ldd complains unless libraries are executable
++  postinstall_cmds='chmod +x $lib'
++  ;;
++
++sunos4*)
++  version_type=sunos
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
++  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  if test "$with_gnu_ld" = yes; then
++    need_lib_prefix=no
++  fi
++  need_version=yes
++  ;;
++
++sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
++  version_type=linux
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  case $host_vendor in
++    sni)
++      shlibpath_overrides_runpath=no
++      need_lib_prefix=no
++      export_dynamic_flag_spec='${wl}-Blargedynsym'
++      runpath_var=LD_RUN_PATH
++      ;;
++    siemens)
++      need_lib_prefix=no
++      ;;
++    motorola)
++      need_lib_prefix=no
++      need_version=no
++      shlibpath_overrides_runpath=no
++      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
++      ;;
++  esac
++  ;;
++
++sysv4*MP*)
++  if test -d /usr/nec ;then
++    version_type=linux
++    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
++    soname_spec='$libname${shared_ext}.$major'
++    shlibpath_var=LD_LIBRARY_PATH
++  fi
++  ;;
++
++uts4*)
++  version_type=linux
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++*)
++  dynamic_linker=no
++  ;;
++esac
++echo "$as_me:$LINENO: result: $dynamic_linker" >&5
++echo "${ECHO_T}$dynamic_linker" >&6
++test "$dynamic_linker" = no && can_build_shared=no
++
++echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
++echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
++hardcode_action_GCJ=
++if test -n "$hardcode_libdir_flag_spec_GCJ" || \
++   test -n "$runpath_var GCJ" || \
++   test "X$hardcode_automatic_GCJ"="Xyes" ; then
++
++  # We can hardcode non-existant directories.
++  if test "$hardcode_direct_GCJ" != no &&
++     # If the only mechanism to avoid hardcoding is shlibpath_var, we
++     # have to relink, otherwise we might link with an installed library
++     # when we should be linking with a yet-to-be-installed one
++     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
++     test "$hardcode_minus_L_GCJ" != no; then
++    # Linking always hardcodes the temporary library directory.
++    hardcode_action_GCJ=relink
++  else
++    # We can link without hardcoding, and we can hardcode nonexisting dirs.
++    hardcode_action_GCJ=immediate
++  fi
++else
++  # We cannot hardcode anything, or else we can only hardcode existing
++  # directories.
++  hardcode_action_GCJ=unsupported
++fi
++echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
++echo "${ECHO_T}$hardcode_action_GCJ" >&6
++
++if test "$hardcode_action_GCJ" = relink; then
++  # Fast installation is not supported
++  enable_fast_install=no
++elif test "$shlibpath_overrides_runpath" = yes ||
++     test "$enable_shared" = no; then
++  # Fast installation is not necessary
++  enable_fast_install=needless
++fi
++
++striplib=
++old_striplib=
++echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
++echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
++if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
++  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
++  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
++  echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++else
++# FIXME - insert some real tests, host_os isn't really good enough
++  case $host_os in
++   darwin*)
++       if test -n "$STRIP" ; then
++         striplib="$STRIP -x"
++         echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++       else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++       ;;
++   *)
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++    ;;
++  esac  
++fi
++
++if test "x$enable_dlopen" != xyes; then
++  enable_dlopen=unknown
++  enable_dlopen_self=unknown
++  enable_dlopen_self_static=unknown
++else
++  lt_cv_dlopen=no
++  lt_cv_dlopen_libs=
++
++  case $host_os in
++  beos*)
++    lt_cv_dlopen="load_add_on"
++    lt_cv_dlopen_libs=
++    lt_cv_dlopen_self=yes
++    ;;
++
++  mingw* | pw32*)
++    lt_cv_dlopen="LoadLibrary"
++    lt_cv_dlopen_libs=
++   ;;
++
++  cygwin*)
++    lt_cv_dlopen="dlopen"
++    lt_cv_dlopen_libs=
++   ;;
++
++  darwin*)
++  # if libdl is installed we need to link against it
++    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
++echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
++if test "${ac_cv_lib_dl_dlopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ldl  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dlopen ();
++int
++main ()
++{
++dlopen ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_dl_dlopen=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_dl_dlopen=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
++echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
++if test $ac_cv_lib_dl_dlopen = yes; then
++  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
++else
++  
++    lt_cv_dlopen="dyld"
++    lt_cv_dlopen_libs=
++    lt_cv_dlopen_self=yes
++    
++fi
++
++   ;;
++    
++  *)
++    echo "$as_me:$LINENO: checking for shl_load" >&5
++echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
++if test "${ac_cv_func_shl_load+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char shl_load (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char shl_load ();
++/* 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_shl_load) || defined (__stub___shl_load)
++choke me
++#else
++char (*f) () = shl_load;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != shl_load;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_shl_load=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_shl_load=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
++echo "${ECHO_T}$ac_cv_func_shl_load" >&6
++if test $ac_cv_func_shl_load = yes; then
++  lt_cv_dlopen="shl_load"
++else
++  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
++echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
++if test "${ac_cv_lib_dld_shl_load+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ldld  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char shl_load ();
++int
++main ()
++{
++shl_load ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_dld_shl_load=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_dld_shl_load=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
++echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
++if test $ac_cv_lib_dld_shl_load = yes; then
++  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
++else
++  echo "$as_me:$LINENO: checking for dlopen" >&5
++echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
++if test "${ac_cv_func_dlopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char dlopen (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dlopen ();
++/* 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_dlopen) || defined (__stub___dlopen)
++choke me
++#else
++char (*f) () = dlopen;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != dlopen;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_dlopen=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_dlopen=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
++echo "${ECHO_T}$ac_cv_func_dlopen" >&6
++if test $ac_cv_func_dlopen = yes; then
++  lt_cv_dlopen="dlopen"
++else
++  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
++echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
++if test "${ac_cv_lib_dl_dlopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ldl  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dlopen ();
++int
++main ()
++{
++dlopen ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_dl_dlopen=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_dl_dlopen=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
++echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
++if test $ac_cv_lib_dl_dlopen = yes; then
++  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
++else
++  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
++echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
++if test "${ac_cv_lib_svld_dlopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-lsvld  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dlopen ();
++int
++main ()
++{
++dlopen ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_svld_dlopen=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_svld_dlopen=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
++echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
++if test $ac_cv_lib_svld_dlopen = yes; then
++  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
++else
++  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
++echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
++if test "${ac_cv_lib_dld_dld_link+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ldld  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dld_link ();
++int
++main ()
++{
++dld_link ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_dld_dld_link=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_dld_dld_link=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
++echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
++if test $ac_cv_lib_dld_dld_link = yes; then
++  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
++fi
++
++	      
++fi
++
++	    
++fi
++
++	  
++fi
++
++	
++fi
++
++      
++fi
++
++    ;;
++  esac
++
++  if test "x$lt_cv_dlopen" != xno; then
++    enable_dlopen=yes
++  else
++    enable_dlopen=no
++  fi
++
++  case $lt_cv_dlopen in
++  dlopen)
++    save_CPPFLAGS="$CPPFLAGS"
++    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
++
++    save_LDFLAGS="$LDFLAGS"
++    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
++
++    save_LIBS="$LIBS"
++    LIBS="$lt_cv_dlopen_libs $LIBS"
++
++    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
++echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
++if test "${lt_cv_dlopen_self+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  	  if test "$cross_compiling" = yes; then :
++  lt_cv_dlopen_self=cross
++else
++  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
++  lt_status=$lt_dlunknown
++  cat > conftest.$ac_ext <<EOF
++#line __oline__ "configure"
++#include "confdefs.h"
++
++#if HAVE_DLFCN_H
++#include <dlfcn.h>
++#endif
++
++#include <stdio.h>
++
++#ifdef RTLD_GLOBAL
++#  define LT_DLGLOBAL		RTLD_GLOBAL
++#else
++#  ifdef DL_GLOBAL
++#    define LT_DLGLOBAL		DL_GLOBAL
++#  else
++#    define LT_DLGLOBAL		0
++#  endif
++#endif
++
++/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
++   find out it does not work in some platform. */
++#ifndef LT_DLLAZY_OR_NOW
++#  ifdef RTLD_LAZY
++#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
++#  else
++#    ifdef DL_LAZY
++#      define LT_DLLAZY_OR_NOW		DL_LAZY
++#    else
++#      ifdef RTLD_NOW
++#        define LT_DLLAZY_OR_NOW	RTLD_NOW
++#      else
++#        ifdef DL_NOW
++#          define LT_DLLAZY_OR_NOW	DL_NOW
++#        else
++#          define LT_DLLAZY_OR_NOW	0
++#        endif
++#      endif
++#    endif
++#  endif
++#endif
++
++#ifdef __cplusplus
++extern "C" void exit (int);
++#endif
++
++void fnord() { int i=42;}
++int main ()
++{
++  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
++  int status = $lt_dlunknown;
++
++  if (self)
++    {
++      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
++      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
++      /* dlclose (self); */
++    }
++
++    exit (status);
++}
++EOF
++  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
++    (./conftest; exit; ) 2>/dev/null
++    lt_status=$?
++    case x$lt_status in
++      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
++      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
++      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
++    esac
++  else :
++    # compilation failed
++    lt_cv_dlopen_self=no
++  fi
++fi
++rm -fr conftest*
++
++    
++fi
++echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
++echo "${ECHO_T}$lt_cv_dlopen_self" >&6
++
++    if test "x$lt_cv_dlopen_self" = xyes; then
++      LDFLAGS="$LDFLAGS $link_static_flag"
++      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
++echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
++if test "${lt_cv_dlopen_self_static+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  	  if test "$cross_compiling" = yes; then :
++  lt_cv_dlopen_self_static=cross
++else
++  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
++  lt_status=$lt_dlunknown
++  cat > conftest.$ac_ext <<EOF
++#line __oline__ "configure"
++#include "confdefs.h"
++
++#if HAVE_DLFCN_H
++#include <dlfcn.h>
++#endif
++
++#include <stdio.h>
++
++#ifdef RTLD_GLOBAL
++#  define LT_DLGLOBAL		RTLD_GLOBAL
++#else
++#  ifdef DL_GLOBAL
++#    define LT_DLGLOBAL		DL_GLOBAL
++#  else
++#    define LT_DLGLOBAL		0
++#  endif
++#endif
++
++/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
++   find out it does not work in some platform. */
++#ifndef LT_DLLAZY_OR_NOW
++#  ifdef RTLD_LAZY
++#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
++#  else
++#    ifdef DL_LAZY
++#      define LT_DLLAZY_OR_NOW		DL_LAZY
++#    else
++#      ifdef RTLD_NOW
++#        define LT_DLLAZY_OR_NOW	RTLD_NOW
++#      else
++#        ifdef DL_NOW
++#          define LT_DLLAZY_OR_NOW	DL_NOW
++#        else
++#          define LT_DLLAZY_OR_NOW	0
++#        endif
++#      endif
++#    endif
++#  endif
++#endif
++
++#ifdef __cplusplus
++extern "C" void exit (int);
++#endif
++
++void fnord() { int i=42;}
++int main ()
++{
++  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
++  int status = $lt_dlunknown;
++
++  if (self)
++    {
++      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
++      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
++      /* dlclose (self); */
++    }
++
++    exit (status);
++}
++EOF
++  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
++    (./conftest; exit; ) 2>/dev/null
++    lt_status=$?
++    case x$lt_status in
++      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
++      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
++      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
++    esac
++  else :
++    # compilation failed
++    lt_cv_dlopen_self_static=no
++  fi
++fi
++rm -fr conftest*
++
++      
++fi
++echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
++echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
++    fi
++
++    CPPFLAGS="$save_CPPFLAGS"
++    LDFLAGS="$save_LDFLAGS"
++    LIBS="$save_LIBS"
++    ;;
++  esac
++
++  case $lt_cv_dlopen_self in
++  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
++  *) enable_dlopen_self=unknown ;;
++  esac
++
++  case $lt_cv_dlopen_self_static in
++  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
++  *) enable_dlopen_self_static=unknown ;;
++  esac
++fi
++
++
++# The else clause should only fire when bootstrapping the
++# libtool distribution, otherwise you forgot to ship ltmain.sh
++# with your package, and you will get complaints that there are
++# no rules to generate ltmain.sh.
++if test -f "$ltmain"; then
++  # See if we are running on zsh, and set the options which allow our commands through
++  # without removal of \ escapes.
++  if test -n "${ZSH_VERSION+set}" ; then
++    setopt NO_GLOB_SUBST
++  fi  
++  # Now quote all the things that may contain metacharacters while being
++  # careful not to overquote the AC_SUBSTed values.  We take copies of the
++  # variables and quote the copies for generation of the libtool script.
++  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
++    SED SHELL STRIP \
++    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
++    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
++    deplibs_check_method reload_flag reload_cmds need_locks \
++    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
++    lt_cv_sys_global_symbol_to_c_name_address \
++    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
++    old_postinstall_cmds old_postuninstall_cmds \
++    compiler_GCJ \
++    CC_GCJ \
++    LD_GCJ \
++    lt_prog_compiler_wl_GCJ \
++    lt_prog_compiler_pic_GCJ \
++    lt_prog_compiler_static_GCJ \
++    lt_prog_compiler_no_builtin_flag_GCJ \
++    export_dynamic_flag_spec_GCJ \
++    thread_safe_flag_spec_GCJ \
++    whole_archive_flag_spec_GCJ \
++    enable_shared_with_static_runtimes_GCJ \
++    old_archive_cmds_GCJ \
++    old_archive_from_new_cmds_GCJ \
++    predep_objects_GCJ \
++    postdep_objects_GCJ \
++    predeps_GCJ \
++    postdeps_GCJ \
++    compiler_lib_search_path_GCJ \
++    archive_cmds_GCJ \
++    archive_expsym_cmds_GCJ \
++    postinstall_cmds_GCJ \
++    postuninstall_cmds_GCJ \
++    old_archive_from_expsyms_cmds_GCJ \
++    allow_undefined_flag_GCJ \
++    no_undefined_flag_GCJ \
++    export_symbols_cmds_GCJ \
++    hardcode_libdir_flag_spec_GCJ \
++    hardcode_libdir_flag_spec_ld_GCJ \
++    hardcode_libdir_separator_GCJ \
++    hardcode_automatic_GCJ \
++    module_cmds_GCJ \
++    module_expsym_cmds_GCJ \
++    lt_cv_prog_compiler_c_o_GCJ \
++    exclude_expsyms_GCJ \
++    include_expsyms_GCJ; do
++
++    case $var in
++    old_archive_cmds_GCJ | \
++    old_archive_from_new_cmds_GCJ | \
++    archive_cmds_GCJ | \
++    archive_expsym_cmds_GCJ | \
++    module_cmds_GCJ | \
++    module_expsym_cmds_GCJ | \   
++    old_archive_from_expsyms_cmds_GCJ | \
++    export_symbols_cmds_GCJ | \
++    extract_expsyms_cmds | reload_cmds | finish_cmds | \
++    postinstall_cmds | postuninstall_cmds | \
++    old_postinstall_cmds | old_postuninstall_cmds | \
++    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
++      # Double-quote double-evaled strings.
++      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
++      ;;
++    *)
++      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
++      ;;
++    esac
++  done
++
++  case $lt_echo in
++  *'\$0 --fallback-echo"')
++    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
++    ;;
++  esac
++
++cfgfile="$ofile"
++
++  cat <<__EOF__ >> "$cfgfile"
++# ### BEGIN LIBTOOL TAG CONFIG: $tagname
++
++# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
++
++# Shell to use when invoking shell scripts.
++SHELL=$lt_SHELL
++
++# Whether or not to build shared libraries.
++build_libtool_libs=$enable_shared
++
++# Whether or not to build static libraries.
++build_old_libs=$enable_static
++
++# Whether or not to add -lc for building shared libraries.
++build_libtool_need_lc=$archive_cmds_need_lc_GCJ
++
++# Whether or not to disallow shared libs when runtime libs are static
++allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
++
++# Whether or not to optimize for fast installation.
++fast_install=$enable_fast_install
++
++# The host system.
++host_alias=$host_alias
++host=$host
++
++# An echo program that does not interpret backslashes.
++echo=$lt_echo
++
++# The archiver.
++AR=$lt_AR
++AR_FLAGS=$lt_AR_FLAGS
++
++# A C compiler.
++LTCC=$lt_LTCC
++
++# A language-specific compiler.
++CC=$lt_compiler_GCJ
++
++# Is the compiler the GNU C compiler?
++with_gcc=$GCC_GCJ
++
++# An ERE matcher.
++EGREP=$lt_EGREP
++
++# The linker used to build libraries.
++LD=$lt_LD_GCJ
++
++# Whether we need hard or soft links.
++LN_S=$lt_LN_S
++
++# A BSD-compatible nm program.
++NM=$lt_NM
++
++# A symbol stripping program
++STRIP=$lt_STRIP
++
++# Used to examine libraries when file_magic_cmd begins "file"
++MAGIC_CMD=$MAGIC_CMD
++
++# Used on cygwin: DLL creation program.
++DLLTOOL="$DLLTOOL"
++
++# Used on cygwin: object dumper.
++OBJDUMP="$OBJDUMP"
++
++# Used on cygwin: assembler.
++AS="$AS"
++
++# The name of the directory that contains temporary libtool files.
++objdir=$objdir
++
++# How to create reloadable object files.
++reload_flag=$lt_reload_flag
++reload_cmds=$lt_reload_cmds
++
++# How to pass a linker flag through the compiler.
++wl=$lt_lt_prog_compiler_wl_GCJ
++
++# Object file suffix (normally "o").
++objext="$ac_objext"
++
++# Old archive suffix (normally "a").
++libext="$libext"
++
++# Shared library suffix (normally ".so").
++shrext='$shrext'
++
++# Executable file suffix (normally "").
++exeext="$exeext"
++
++# Additional compiler flags for building library objects.
++pic_flag=$lt_lt_prog_compiler_pic_GCJ
++pic_mode=$pic_mode
++
++# What is the maximum length of a command?
++max_cmd_len=$lt_cv_sys_max_cmd_len
++
++# Does compiler simultaneously support -c and -o options?
++compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
++
++# Must we lock files when doing compilation ?
++need_locks=$lt_need_locks
++
++# Do we need the lib prefix for modules?
++need_lib_prefix=$need_lib_prefix
++
++# Do we need a version for libraries?
++need_version=$need_version
++
++# Whether dlopen is supported.
++dlopen_support=$enable_dlopen
++
++# Whether dlopen of programs is supported.
++dlopen_self=$enable_dlopen_self
++
++# Whether dlopen of statically linked programs is supported.
++dlopen_self_static=$enable_dlopen_self_static
++
++# Compiler flag to prevent dynamic linking.
++link_static_flag=$lt_lt_prog_compiler_static_GCJ
++
++# Compiler flag to turn off builtin functions.
++no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
++
++# Compiler flag to allow reflexive dlopens.
++export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
++
++# Compiler flag to generate shared objects directly from archives.
++whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
++
++# Compiler flag to generate thread-safe objects.
++thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
++
++# Library versioning type.
++version_type=$version_type
++
++# Format of library name prefix.
++libname_spec=$lt_libname_spec
++
++# List of archive names.  First name is the real one, the rest are links.
++# The last name is the one that the linker finds with -lNAME.
++library_names_spec=$lt_library_names_spec
++
++# The coded name of the library, if different from the real name.
++soname_spec=$lt_soname_spec
++
++# Commands used to build and install an old-style archive.
++RANLIB=$lt_RANLIB
++old_archive_cmds=$lt_old_archive_cmds_GCJ
++old_postinstall_cmds=$lt_old_postinstall_cmds
++old_postuninstall_cmds=$lt_old_postuninstall_cmds
++
++# Create an old-style archive from a shared archive.
++old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
++
++# Create a temporary old-style archive to link instead of a shared archive.
++old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
++
++# Commands used to build and install a shared archive.
++archive_cmds=$lt_archive_cmds_GCJ
++archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
++postinstall_cmds=$lt_postinstall_cmds
++postuninstall_cmds=$lt_postuninstall_cmds
++
++# Commands used to build a loadable module (assumed same as above if empty)
++module_cmds=$lt_module_cmds_GCJ
++module_expsym_cmds=$lt_module_expsym_cmds_GCJ
++
++# Commands to strip libraries.
++old_striplib=$lt_old_striplib
++striplib=$lt_striplib
++
++# Dependencies to place before the objects being linked to create a
++# shared library.
++predep_objects=$lt_predep_objects_GCJ
++
++# Dependencies to place after the objects being linked to create a
++# shared library.
++postdep_objects=$lt_postdep_objects_GCJ
++
++# Dependencies to place before the objects being linked to create a
++# shared library.
++predeps=$lt_predeps_GCJ
++
++# Dependencies to place after the objects being linked to create a
++# shared library.
++postdeps=$lt_postdeps_GCJ
++
++# The library search path used internally by the compiler when linking
++# a shared library.
++compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
++
++# Method to check whether dependent libraries are shared objects.
++deplibs_check_method=$lt_deplibs_check_method
++
++# Command to use when deplibs_check_method == file_magic.
++file_magic_cmd=$lt_file_magic_cmd
++
++# Flag that allows shared libraries with undefined symbols to be built.
++allow_undefined_flag=$lt_allow_undefined_flag_GCJ
++
++# Flag that forces no undefined symbols.
++no_undefined_flag=$lt_no_undefined_flag_GCJ
++
++# Commands used to finish a libtool library installation in a directory.
++finish_cmds=$lt_finish_cmds
++
++# Same as above, but a single script fragment to be evaled but not shown.
++finish_eval=$lt_finish_eval
++
++# Take the output of nm and produce a listing of raw symbols and C names.
++global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
++
++# Transform the output of nm in a proper C declaration
++global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
++
++# Transform the output of nm in a C name address pair
++global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
++
++# This is the shared library runtime path variable.
++runpath_var=$runpath_var
++
++# This is the shared library path variable.
++shlibpath_var=$shlibpath_var
++
++# Is shlibpath searched before the hard-coded library search path?
++shlibpath_overrides_runpath=$shlibpath_overrides_runpath
++
++# How to hardcode a shared library path into an executable.
++hardcode_action=$hardcode_action_GCJ
++
++# Whether we should hardcode library paths into libraries.
++hardcode_into_libs=$hardcode_into_libs
++
++# Flag to hardcode \$libdir into a binary during linking.
++# This must work even if \$libdir does not exist.
++hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
++
++# If ld is used when linking, flag to hardcode \$libdir into
++# a binary during linking. This must work even if \$libdir does
++# not exist.
++hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
++
++# Whether we need a single -rpath flag with a separated argument.
++hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
++
++# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
++# resulting binary.
++hardcode_direct=$hardcode_direct_GCJ
++
++# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
++# resulting binary.
++hardcode_minus_L=$hardcode_minus_L_GCJ
++
++# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
++# the resulting binary.
++hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
++
++# Set to yes if building a shared library automatically hardcodes DIR into the library
++# and all subsequent libraries and executables linked against it.
++hardcode_automatic=$hardcode_automatic_GCJ
++
++# Variables whose values should be saved in libtool wrapper scripts and
++# restored at relink time.
++variables_saved_for_relink="$variables_saved_for_relink"
++
++# Whether libtool must link a program against all its dependency libraries.
++link_all_deplibs=$link_all_deplibs_GCJ
++
++# Compile-time system search path for libraries
++sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
++
++# Run-time system search path for libraries
++sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
++
++# Fix the shell variable \$srcfile for the compiler.
++fix_srcfile_path="$fix_srcfile_path_GCJ"
++
++# Set to yes if exported symbols are required.
++always_export_symbols=$always_export_symbols_GCJ
++
++# The commands to list exported symbols.
++export_symbols_cmds=$lt_export_symbols_cmds_GCJ
++
++# The commands to extract the exported symbol list from a shared archive.
++extract_expsyms_cmds=$lt_extract_expsyms_cmds
++
++# Symbols that should not be listed in the preloaded symbols.
++exclude_expsyms=$lt_exclude_expsyms_GCJ
++
++# Symbols that must always be exported.
++include_expsyms=$lt_include_expsyms_GCJ
++
++# ### END LIBTOOL TAG CONFIG: $tagname
++
++__EOF__
++
++
++else
++  # If there is no Makefile yet, we rely on a make rule to execute
++  # `config.status --recheck' to rerun these tests and create the
++  # libtool script then.
++  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
++  if test -f "$ltmain_in"; then
++    test -f Makefile && make "$ltmain"
++  fi
++fi
++
++
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++CC="$lt_save_CC"
++
++	else
++	  tagname=""
++	fi
++	;;
++
++      RC)
++	
++
++
++# Source file extension for RC test sources.
++ac_ext=rc
++
++# Object file extension for compiled RC test sources.
++objext=o
++objext_RC=$objext
++
++# Code to be used in simple compile tests
++lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
++
++# Code to be used in simple link tests
++lt_simple_link_test_code="$lt_simple_compile_test_code"
++
++# ltmain only uses $CC for tagged configurations so make sure $CC is set.
++
++# If no C compiler was specified, use CC.
++LTCC=${LTCC-"$CC"}
++
++# Allow CC to be a program name with arguments.
++compiler=$CC
++
++
++# Allow CC to be a program name with arguments.
++lt_save_CC="$CC"
++CC=${RC-"windres"}
++compiler=$CC
++compiler_RC=$CC
++lt_cv_prog_compiler_c_o_RC=yes
++
++# The else clause should only fire when bootstrapping the
++# libtool distribution, otherwise you forgot to ship ltmain.sh
++# with your package, and you will get complaints that there are
++# no rules to generate ltmain.sh.
++if test -f "$ltmain"; then
++  # See if we are running on zsh, and set the options which allow our commands through
++  # without removal of \ escapes.
++  if test -n "${ZSH_VERSION+set}" ; then
++    setopt NO_GLOB_SUBST
++  fi  
++  # Now quote all the things that may contain metacharacters while being
++  # careful not to overquote the AC_SUBSTed values.  We take copies of the
++  # variables and quote the copies for generation of the libtool script.
++  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
++    SED SHELL STRIP \
++    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
++    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
++    deplibs_check_method reload_flag reload_cmds need_locks \
++    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
++    lt_cv_sys_global_symbol_to_c_name_address \
++    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
++    old_postinstall_cmds old_postuninstall_cmds \
++    compiler_RC \
++    CC_RC \
++    LD_RC \
++    lt_prog_compiler_wl_RC \
++    lt_prog_compiler_pic_RC \
++    lt_prog_compiler_static_RC \
++    lt_prog_compiler_no_builtin_flag_RC \
++    export_dynamic_flag_spec_RC \
++    thread_safe_flag_spec_RC \
++    whole_archive_flag_spec_RC \
++    enable_shared_with_static_runtimes_RC \
++    old_archive_cmds_RC \
++    old_archive_from_new_cmds_RC \
++    predep_objects_RC \
++    postdep_objects_RC \
++    predeps_RC \
++    postdeps_RC \
++    compiler_lib_search_path_RC \
++    archive_cmds_RC \
++    archive_expsym_cmds_RC \
++    postinstall_cmds_RC \
++    postuninstall_cmds_RC \
++    old_archive_from_expsyms_cmds_RC \
++    allow_undefined_flag_RC \
++    no_undefined_flag_RC \
++    export_symbols_cmds_RC \
++    hardcode_libdir_flag_spec_RC \
++    hardcode_libdir_flag_spec_ld_RC \
++    hardcode_libdir_separator_RC \
++    hardcode_automatic_RC \
++    module_cmds_RC \
++    module_expsym_cmds_RC \
++    lt_cv_prog_compiler_c_o_RC \
++    exclude_expsyms_RC \
++    include_expsyms_RC; do
++
++    case $var in
++    old_archive_cmds_RC | \
++    old_archive_from_new_cmds_RC | \
++    archive_cmds_RC | \
++    archive_expsym_cmds_RC | \
++    module_cmds_RC | \
++    module_expsym_cmds_RC | \   
++    old_archive_from_expsyms_cmds_RC | \
++    export_symbols_cmds_RC | \
++    extract_expsyms_cmds | reload_cmds | finish_cmds | \
++    postinstall_cmds | postuninstall_cmds | \
++    old_postinstall_cmds | old_postuninstall_cmds | \
++    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
++      # Double-quote double-evaled strings.
++      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
++      ;;
++    *)
++      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
++      ;;
++    esac
++  done
++
++  case $lt_echo in
++  *'\$0 --fallback-echo"')
++    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
++    ;;
++  esac
++
++cfgfile="$ofile"
++
++  cat <<__EOF__ >> "$cfgfile"
++# ### BEGIN LIBTOOL TAG CONFIG: $tagname
++
++# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
++
++# Shell to use when invoking shell scripts.
++SHELL=$lt_SHELL
++
++# Whether or not to build shared libraries.
++build_libtool_libs=$enable_shared
++
++# Whether or not to build static libraries.
++build_old_libs=$enable_static
++
++# Whether or not to add -lc for building shared libraries.
++build_libtool_need_lc=$archive_cmds_need_lc_RC
++
++# Whether or not to disallow shared libs when runtime libs are static
++allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
++
++# Whether or not to optimize for fast installation.
++fast_install=$enable_fast_install
++
++# The host system.
++host_alias=$host_alias
++host=$host
++
++# An echo program that does not interpret backslashes.
++echo=$lt_echo
++
++# The archiver.
++AR=$lt_AR
++AR_FLAGS=$lt_AR_FLAGS
++
++# A C compiler.
++LTCC=$lt_LTCC
++
++# A language-specific compiler.
++CC=$lt_compiler_RC
++
++# Is the compiler the GNU C compiler?
++with_gcc=$GCC_RC
++
++# An ERE matcher.
++EGREP=$lt_EGREP
++
++# The linker used to build libraries.
++LD=$lt_LD_RC
++
++# Whether we need hard or soft links.
++LN_S=$lt_LN_S
++
++# A BSD-compatible nm program.
++NM=$lt_NM
++
++# A symbol stripping program
++STRIP=$lt_STRIP
++
++# Used to examine libraries when file_magic_cmd begins "file"
++MAGIC_CMD=$MAGIC_CMD
++
++# Used on cygwin: DLL creation program.
++DLLTOOL="$DLLTOOL"
++
++# Used on cygwin: object dumper.
++OBJDUMP="$OBJDUMP"
++
++# Used on cygwin: assembler.
++AS="$AS"
++
++# The name of the directory that contains temporary libtool files.
++objdir=$objdir
++
++# How to create reloadable object files.
++reload_flag=$lt_reload_flag
++reload_cmds=$lt_reload_cmds
++
++# How to pass a linker flag through the compiler.
++wl=$lt_lt_prog_compiler_wl_RC
++
++# Object file suffix (normally "o").
++objext="$ac_objext"
++
++# Old archive suffix (normally "a").
++libext="$libext"
++
++# Shared library suffix (normally ".so").
++shrext='$shrext'
++
++# Executable file suffix (normally "").
++exeext="$exeext"
++
++# Additional compiler flags for building library objects.
++pic_flag=$lt_lt_prog_compiler_pic_RC
++pic_mode=$pic_mode
++
++# What is the maximum length of a command?
++max_cmd_len=$lt_cv_sys_max_cmd_len
++
++# Does compiler simultaneously support -c and -o options?
++compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
++
++# Must we lock files when doing compilation ?
++need_locks=$lt_need_locks
++
++# Do we need the lib prefix for modules?
++need_lib_prefix=$need_lib_prefix
++
++# Do we need a version for libraries?
++need_version=$need_version
++
++# Whether dlopen is supported.
++dlopen_support=$enable_dlopen
++
++# Whether dlopen of programs is supported.
++dlopen_self=$enable_dlopen_self
++
++# Whether dlopen of statically linked programs is supported.
++dlopen_self_static=$enable_dlopen_self_static
++
++# Compiler flag to prevent dynamic linking.
++link_static_flag=$lt_lt_prog_compiler_static_RC
++
++# Compiler flag to turn off builtin functions.
++no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
++
++# Compiler flag to allow reflexive dlopens.
++export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
++
++# Compiler flag to generate shared objects directly from archives.
++whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
++
++# Compiler flag to generate thread-safe objects.
++thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
++
++# Library versioning type.
++version_type=$version_type
++
++# Format of library name prefix.
++libname_spec=$lt_libname_spec
++
++# List of archive names.  First name is the real one, the rest are links.
++# The last name is the one that the linker finds with -lNAME.
++library_names_spec=$lt_library_names_spec
++
++# The coded name of the library, if different from the real name.
++soname_spec=$lt_soname_spec
++
++# Commands used to build and install an old-style archive.
++RANLIB=$lt_RANLIB
++old_archive_cmds=$lt_old_archive_cmds_RC
++old_postinstall_cmds=$lt_old_postinstall_cmds
++old_postuninstall_cmds=$lt_old_postuninstall_cmds
++
++# Create an old-style archive from a shared archive.
++old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
++
++# Create a temporary old-style archive to link instead of a shared archive.
++old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
++
++# Commands used to build and install a shared archive.
++archive_cmds=$lt_archive_cmds_RC
++archive_expsym_cmds=$lt_archive_expsym_cmds_RC
++postinstall_cmds=$lt_postinstall_cmds
++postuninstall_cmds=$lt_postuninstall_cmds
++
++# Commands used to build a loadable module (assumed same as above if empty)
++module_cmds=$lt_module_cmds_RC
++module_expsym_cmds=$lt_module_expsym_cmds_RC
++
++# Commands to strip libraries.
++old_striplib=$lt_old_striplib
++striplib=$lt_striplib
++
++# Dependencies to place before the objects being linked to create a
++# shared library.
++predep_objects=$lt_predep_objects_RC
++
++# Dependencies to place after the objects being linked to create a
++# shared library.
++postdep_objects=$lt_postdep_objects_RC
++
++# Dependencies to place before the objects being linked to create a
++# shared library.
++predeps=$lt_predeps_RC
++
++# Dependencies to place after the objects being linked to create a
++# shared library.
++postdeps=$lt_postdeps_RC
++
++# The library search path used internally by the compiler when linking
++# a shared library.
++compiler_lib_search_path=$lt_compiler_lib_search_path_RC
++
++# Method to check whether dependent libraries are shared objects.
++deplibs_check_method=$lt_deplibs_check_method
++
++# Command to use when deplibs_check_method == file_magic.
++file_magic_cmd=$lt_file_magic_cmd
++
++# Flag that allows shared libraries with undefined symbols to be built.
++allow_undefined_flag=$lt_allow_undefined_flag_RC
++
++# Flag that forces no undefined symbols.
++no_undefined_flag=$lt_no_undefined_flag_RC
++
++# Commands used to finish a libtool library installation in a directory.
++finish_cmds=$lt_finish_cmds
++
++# Same as above, but a single script fragment to be evaled but not shown.
++finish_eval=$lt_finish_eval
++
++# Take the output of nm and produce a listing of raw symbols and C names.
++global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
++
++# Transform the output of nm in a proper C declaration
++global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
++
++# Transform the output of nm in a C name address pair
++global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
++
++# This is the shared library runtime path variable.
++runpath_var=$runpath_var
++
++# This is the shared library path variable.
++shlibpath_var=$shlibpath_var
++
++# Is shlibpath searched before the hard-coded library search path?
++shlibpath_overrides_runpath=$shlibpath_overrides_runpath
++
++# How to hardcode a shared library path into an executable.
++hardcode_action=$hardcode_action_RC
++
++# Whether we should hardcode library paths into libraries.
++hardcode_into_libs=$hardcode_into_libs
++
++# Flag to hardcode \$libdir into a binary during linking.
++# This must work even if \$libdir does not exist.
++hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
++
++# If ld is used when linking, flag to hardcode \$libdir into
++# a binary during linking. This must work even if \$libdir does
++# not exist.
++hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
++
++# Whether we need a single -rpath flag with a separated argument.
++hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
++
++# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
++# resulting binary.
++hardcode_direct=$hardcode_direct_RC
++
++# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
++# resulting binary.
++hardcode_minus_L=$hardcode_minus_L_RC
++
++# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
++# the resulting binary.
++hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
++
++# Set to yes if building a shared library automatically hardcodes DIR into the library
++# and all subsequent libraries and executables linked against it.
++hardcode_automatic=$hardcode_automatic_RC
++
++# Variables whose values should be saved in libtool wrapper scripts and
++# restored at relink time.
++variables_saved_for_relink="$variables_saved_for_relink"
++
++# Whether libtool must link a program against all its dependency libraries.
++link_all_deplibs=$link_all_deplibs_RC
++
++# Compile-time system search path for libraries
++sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
++
++# Run-time system search path for libraries
++sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
++
++# Fix the shell variable \$srcfile for the compiler.
++fix_srcfile_path="$fix_srcfile_path_RC"
++
++# Set to yes if exported symbols are required.
++always_export_symbols=$always_export_symbols_RC
++
++# The commands to list exported symbols.
++export_symbols_cmds=$lt_export_symbols_cmds_RC
++
++# The commands to extract the exported symbol list from a shared archive.
++extract_expsyms_cmds=$lt_extract_expsyms_cmds
++
++# Symbols that should not be listed in the preloaded symbols.
++exclude_expsyms=$lt_exclude_expsyms_RC
++
++# Symbols that must always be exported.
++include_expsyms=$lt_include_expsyms_RC
++
++# ### END LIBTOOL TAG CONFIG: $tagname
++
++__EOF__
++
++
++else
++  # If there is no Makefile yet, we rely on a make rule to execute
++  # `config.status --recheck' to rerun these tests and create the
++  # libtool script then.
++  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
++  if test -f "$ltmain_in"; then
++    test -f Makefile && make "$ltmain"
++  fi
++fi
++
++
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++CC="$lt_save_CC"
++
++	;;
++
++      *)
++	{ { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
++echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
++   { (exit 1); exit 1; }; }
++	;;
++      esac
++
++      # Append the new tag name to the list of available tags.
++      if test -n "$tagname" ; then
++      available_tags="$available_tags $tagname"
++    fi
++    fi
++  done
++  IFS="$lt_save_ifs"
++
++  # Now substitute the updated list of available tags.
++  if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
++    mv "${ofile}T" "$ofile"
++    chmod +x "$ofile"
++  else
++    rm -f "${ofile}T"
++    { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
++echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
++   { (exit 1); exit 1; }; }
++  fi
++fi
++
++
++
++# This can be used to rebuild libtool when needed
++LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
++
++# Always use our own libtool.
++LIBTOOL='$(SHELL) $(top_builddir)/libtool'
++
++# Prevent multiple expansion
++
++
++
++
++
++
++
++
++
++
++
++  
++
++  
++
++
++  
++       
++       
++
++
++
++WFLAGS_NOUNUSED=""
++WFLAGS_NOIMPLICITINT=""
++if test -z "$WFLAGS" -a "$GCC" = "yes"; then
++  # -Wno-implicit-int for broken X11 headers
++  # leave these out for now:
++  #   -Wcast-align doesn't work well on alpha osf/1
++  #   -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast
++  #   -Wmissing-declarations -Wnested-externs
++  WFLAGS="-Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs"
++  WFLAGS_NOUNUSED="-Wno-unused"
++  WFLAGS_NOIMPLICITINT="-Wno-implicit-int"
++fi
++
++
++
++
++# Check whether --with-openldap or --without-openldap was given.
++if test "${with_openldap+set}" = set; then
++  withval="$with_openldap"
++  
++fi; 
++
++# Check whether --with-openldap-lib or --without-openldap-lib was given.
++if test "${with_openldap_lib+set}" = set; then
++  withval="$with_openldap_lib"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-openldap-lib" >&5
++echo "$as_me: error: No argument for --with-openldap-lib" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_openldap" = "X"; then
++  with_openldap=yes
++fi
++fi; 
++
++# Check whether --with-openldap-include or --without-openldap-include was given.
++if test "${with_openldap_include+set}" = set; then
++  withval="$with_openldap_include"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-openldap-include" >&5
++echo "$as_me: error: No argument for --with-openldap-include" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_openldap" = "X"; then
++  with_openldap=yes
++fi
++fi; 
++
++# Check whether --with-openldap-config or --without-openldap-config was given.
++if test "${with_openldap_config+set}" = set; then
++  withval="$with_openldap_config"
++  
++fi; 
++
++
++
++echo "$as_me:$LINENO: checking for openldap" >&5
++echo $ECHO_N "checking for openldap... $ECHO_C" >&6
++
++case "$with_openldap" in
++yes|"") d='' ;;
++no)	d= ;;
++*)	d="$with_openldap" ;;
++esac
++
++header_dirs=
++lib_dirs=
++for i in $d /usr; do
++	if test "$with_openldap_include" = ""; then
++		if test -d "$i/include/openldap"; then
++			header_dirs="$header_dirs $i/include/openldap"
++		fi
++		if test -d "$i/include"; then
++			header_dirs="$header_dirs $i/include"
++		fi
++	fi
++	if test "$with_openldap_lib" = ""; then
++		if test -d "$i/lib$abilibdirext"; then
++			lib_dirs="$lib_dirs $i/lib$abilibdirext"
++		fi
++	fi
++done
++
++if test "$with_openldap_include"; then
++	header_dirs="$with_openldap_include $header_dirs"
++fi
++if test "$with_openldap_lib"; then
++	lib_dirs="$with_openldap_lib $lib_dirs"
++fi
++
++if test "$with_openldap_config" = ""; then
++	with_openldap_config=''
++fi
++
++openldap_cflags=
++openldap_libs=
++
++case "$with_openldap_config" in
++yes|no|"")
++	;;
++*)
++	openldap_cflags="`$with_openldap_config --cflags 2>&1`"
++	openldap_libs="`$with_openldap_config --libs 2>&1`"
++	;;
++esac
++
++found=no
++if test "$with_openldap" != no; then
++	save_CFLAGS="$CFLAGS"
++	save_LIBS="$LIBS"
++	if test "$openldap_cflags" -a "$openldap_libs"; then
++		CFLAGS="$openldap_cflags $save_CFLAGS"
++		LIBS="$openldap_libs $save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <lber.h>
++#include <ldap.h>
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  
++			INCLUDE_openldap="$openldap_cflags"
++			LIB_openldap="$openldap_libs"
++			echo "$as_me:$LINENO: result: from $with_openldap_config" >&5
++echo "${ECHO_T}from $with_openldap_config" >&6
++			found=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	fi
++	if test "$found" = no; then
++		ires= lres=
++		for i in $header_dirs; do
++			CFLAGS="-I$i $save_CFLAGS"
++			cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <lber.h>
++#include <ldap.h>
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ires=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++		done
++		for i in $lib_dirs; do
++			LIBS="-L$i -lldap -llber  $save_LIBS"
++			cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <lber.h>
++#include <ldap.h>
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  lres=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++		done
++		if test "$ires" -a "$lres" -a "$with_openldap" != "no"; then
++			DIR_openldap=
++			INCLUDE_openldap="-I$ires"
++			LIB_openldap="-L$lres -lldap -llber "
++			found=yes
++			echo "$as_me:$LINENO: result: headers $ires, libraries $lres" >&5
++echo "${ECHO_T}headers $ires, libraries $lres" >&6
++		fi
++	fi
++	CFLAGS="$save_CFLAGS"
++	LIBS="$save_LIBS"
++fi
++
++if test "$found" = yes; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define OPENLDAP 1
++_ACEOF
++
++	with_openldap=yes
++else
++	with_openldap=no
++	DIR_openldap=
++	INCLUDE_openldap=
++	LIB_openldap=
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++
++
++
++
++
++
++
++# Check whether --with-krb4 or --without-krb4 was given.
++if test "${with_krb4+set}" = set; then
++  withval="$with_krb4"
++  
++fi; 
++
++# Check whether --with-krb4-lib or --without-krb4-lib was given.
++if test "${with_krb4_lib+set}" = set; then
++  withval="$with_krb4_lib"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-krb4-lib" >&5
++echo "$as_me: error: No argument for --with-krb4-lib" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_krb4" = "X"; then
++  with_krb4=yes
++fi
++fi; 
++
++# Check whether --with-krb4-include or --without-krb4-include was given.
++if test "${with_krb4_include+set}" = set; then
++  withval="$with_krb4_include"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-krb4-include" >&5
++echo "$as_me: error: No argument for --with-krb4-include" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_krb4" = "X"; then
++  with_krb4=yes
++fi
++fi; 
++
++# Check whether --with-krb4-config or --without-krb4-config was given.
++if test "${with_krb4_config+set}" = set; then
++  withval="$with_krb4_config"
++  
++fi; 
++
++
++
++echo "$as_me:$LINENO: checking for krb4" >&5
++echo $ECHO_N "checking for krb4... $ECHO_C" >&6
++
++case "$with_krb4" in
++yes|"") d='/usr/athena' ;;
++no)	d= ;;
++*)	d="$with_krb4" ;;
++esac
++
++header_dirs=
++lib_dirs=
++for i in $d /usr; do
++	if test "$with_krb4_include" = ""; then
++		if test -d "$i/include/krb4"; then
++			header_dirs="$header_dirs $i/include/krb4"
++		fi
++		if test -d "$i/include"; then
++			header_dirs="$header_dirs $i/include"
++		fi
++	fi
++	if test "$with_krb4_lib" = ""; then
++		if test -d "$i/lib$abilibdirext"; then
++			lib_dirs="$lib_dirs $i/lib$abilibdirext"
++		fi
++	fi
++done
++
++if test "$with_krb4_include"; then
++	header_dirs="$with_krb4_include $header_dirs"
++fi
++if test "$with_krb4_lib"; then
++	lib_dirs="$with_krb4_lib $lib_dirs"
++fi
++
++if test "$with_krb4_config" = ""; then
++	with_krb4_config='krb4-config'
++fi
++
++krb4_cflags=
++krb4_libs=
++
++case "$with_krb4_config" in
++yes|no|"")
++	;;
++*)
++	krb4_cflags="`$with_krb4_config --cflags 2>&1`"
++	krb4_libs="`$with_krb4_config --libs 2>&1`"
++	;;
++esac
++
++found=no
++if test "$with_krb4" != no; then
++	save_CFLAGS="$CFLAGS"
++	save_LIBS="$LIBS"
++	if test "$krb4_cflags" -a "$krb4_libs"; then
++		CFLAGS="$krb4_cflags $save_CFLAGS"
++		LIBS="$krb4_libs $save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <krb.h>
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  
++			INCLUDE_krb4="$krb4_cflags"
++			LIB_krb4="$krb4_libs"
++			echo "$as_me:$LINENO: result: from $with_krb4_config" >&5
++echo "${ECHO_T}from $with_krb4_config" >&6
++			found=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	fi
++	if test "$found" = no; then
++		ires= lres=
++		for i in $header_dirs; do
++			CFLAGS="-I$i $save_CFLAGS"
++			cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <krb.h>
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ires=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++		done
++		for i in $lib_dirs; do
++			LIBS="-L$i -lkrb -ldes $save_LIBS"
++			cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <krb.h>
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  lres=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++		done
++		if test "$ires" -a "$lres" -a "$with_krb4" != "no"; then
++			DIR_krb4=
++			INCLUDE_krb4="-I$ires"
++			LIB_krb4="-L$lres -lkrb -ldes"
++			found=yes
++			echo "$as_me:$LINENO: result: headers $ires, libraries $lres" >&5
++echo "${ECHO_T}headers $ires, libraries $lres" >&6
++		fi
++	fi
++	CFLAGS="$save_CFLAGS"
++	LIBS="$save_LIBS"
++fi
++
++if test "$found" = yes; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define KRB4 1
++_ACEOF
++
++	with_krb4=yes
++else
++	with_krb4=no
++	DIR_krb4=
++	INCLUDE_krb4=
++	LIB_krb4=
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++
++
++
++
++
++LIB_kdb=
++if test "$with_krb4" != "no"; then
++	save_CFLAGS="$CFLAGS"
++	CFLAGS="$CFLAGS $INCLUDE_krb4"
++	save_LIBS="$LIBS"
++	LIBS="$LIB_krb4 $LIBS"
++	EXTRA_LIB45=lib45.a
++	
++	echo "$as_me:$LINENO: checking for four valued krb_put_int" >&5
++echo $ECHO_N "checking for four valued krb_put_int... $ECHO_C" >&6
++if test "${ac_cv_func_krb_put_int_four+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <krb.h>
++int
++main ()
++{
++
++		char tmp[4];
++		krb_put_int(17, tmp, 4, sizeof(tmp));
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_krb_put_int_four=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_krb_put_int_four=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++	
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_krb_put_int_four" >&5
++echo "${ECHO_T}$ac_cv_func_krb_put_int_four" >&6
++	if test "$ac_cv_func_krb_put_int_four" = yes; then
++		
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_FOUR_VALUED_KRB_PUT_INT 1
++_ACEOF
++
++	fi
++	
++
++	echo "$as_me:$LINENO: checking for KRB_VERIFY_SECURE" >&5
++echo $ECHO_N "checking for KRB_VERIFY_SECURE... $ECHO_C" >&6
++if test "${ac_cv_func_krb_verify_secure+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <krb.h>
++int
++main ()
++{
++
++		int x = KRB_VERIFY_SECURE
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_krb_verify_secure=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_krb_verify_secure=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++	
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_krb_verify_secure" >&5
++echo "${ECHO_T}$ac_cv_func_krb_verify_secure" >&6
++	if test "$ac_cv_func_krb_verify_secure" != yes; then
++		
++cat >>confdefs.h <<\_ACEOF
++@%:@define KRB_VERIFY_SECURE 1
++_ACEOF
++
++		
++cat >>confdefs.h <<\_ACEOF
++@%:@define KRB_VERIFY_SECURE_FAIL 2
++_ACEOF
++
++	fi
++	echo "$as_me:$LINENO: checking for KRB_VERIFY_NOT_SECURE" >&5
++echo $ECHO_N "checking for KRB_VERIFY_NOT_SECURE... $ECHO_C" >&6
++if test "${ac_cv_func_krb_verify_not_secure+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <krb.h>
++int
++main ()
++{
++
++		int x = KRB_VERIFY_NOT_SECURE
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_krb_verify_not_secure=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_krb_verify_not_secure=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++	
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_krb_verify_not_secure" >&5
++echo "${ECHO_T}$ac_cv_func_krb_verify_not_secure" >&6
++	if test "$ac_cv_func_krb_verify_not_secure" != yes; then
++		
++cat >>confdefs.h <<\_ACEOF
++@%:@define KRB_VERIFY_NOT_SECURE 0
++_ACEOF
++
++	fi
++	
++
++
++
++echo "$as_me:$LINENO: checking for krb_enable_debug" >&5
++echo $ECHO_N "checking for krb_enable_debug... $ECHO_C" >&6
++if test "${ac_cv_funclib_krb_enable_debug+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_krb_enable_debug\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++krb_enable_debug()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_krb_enable_debug=$ac_lib; else ac_cv_funclib_krb_enable_debug=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_krb_enable_debug=\${ac_cv_funclib_krb_enable_debug-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_krb_enable_debug"
++
++if false; then
++	
++for ac_func in krb_enable_debug
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# krb_enable_debug
++eval "ac_tr_func=HAVE_`echo krb_enable_debug | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_krb_enable_debug=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_krb_enable_debug=yes"
++	eval "LIB_krb_enable_debug="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_krb_enable_debug=no"
++	eval "LIB_krb_enable_debug="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_krb_enable_debug=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_krb_enable_debug"; then
++	LIBS="$LIB_krb_enable_debug $LIBS"
++fi
++
++	
++
++
++
++echo "$as_me:$LINENO: checking for krb_disable_debug" >&5
++echo $ECHO_N "checking for krb_disable_debug... $ECHO_C" >&6
++if test "${ac_cv_funclib_krb_disable_debug+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_krb_disable_debug\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++krb_disable_debug()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_krb_disable_debug=$ac_lib; else ac_cv_funclib_krb_disable_debug=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_krb_disable_debug=\${ac_cv_funclib_krb_disable_debug-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_krb_disable_debug"
++
++if false; then
++	
++for ac_func in krb_disable_debug
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# krb_disable_debug
++eval "ac_tr_func=HAVE_`echo krb_disable_debug | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_krb_disable_debug=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_krb_disable_debug=yes"
++	eval "LIB_krb_disable_debug="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_krb_disable_debug=no"
++	eval "LIB_krb_disable_debug="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_krb_disable_debug=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_krb_disable_debug"; then
++	LIBS="$LIB_krb_disable_debug $LIBS"
++fi
++
++	
++
++
++
++echo "$as_me:$LINENO: checking for krb_get_our_ip_for_realm" >&5
++echo $ECHO_N "checking for krb_get_our_ip_for_realm... $ECHO_C" >&6
++if test "${ac_cv_funclib_krb_get_our_ip_for_realm+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_krb_get_our_ip_for_realm\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++krb_get_our_ip_for_realm()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_krb_get_our_ip_for_realm=$ac_lib; else ac_cv_funclib_krb_get_our_ip_for_realm=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_krb_get_our_ip_for_realm=\${ac_cv_funclib_krb_get_our_ip_for_realm-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_krb_get_our_ip_for_realm"
++
++if false; then
++	
++for ac_func in krb_get_our_ip_for_realm
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# krb_get_our_ip_for_realm
++eval "ac_tr_func=HAVE_`echo krb_get_our_ip_for_realm | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_krb_get_our_ip_for_realm=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_krb_get_our_ip_for_realm=yes"
++	eval "LIB_krb_get_our_ip_for_realm="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_krb_get_our_ip_for_realm=no"
++	eval "LIB_krb_get_our_ip_for_realm="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_krb_get_our_ip_for_realm=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_krb_get_our_ip_for_realm"; then
++	LIBS="$LIB_krb_get_our_ip_for_realm $LIBS"
++fi
++
++	
++
++
++
++echo "$as_me:$LINENO: checking for krb_kdctimeofday" >&5
++echo $ECHO_N "checking for krb_kdctimeofday... $ECHO_C" >&6
++if test "${ac_cv_funclib_krb_kdctimeofday+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_krb_kdctimeofday\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++krb_kdctimeofday()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_krb_kdctimeofday=$ac_lib; else ac_cv_funclib_krb_kdctimeofday=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_krb_kdctimeofday=\${ac_cv_funclib_krb_kdctimeofday-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_krb_kdctimeofday"
++
++if false; then
++	
++for ac_func in krb_kdctimeofday
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# krb_kdctimeofday
++eval "ac_tr_func=HAVE_`echo krb_kdctimeofday | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_krb_kdctimeofday=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_krb_kdctimeofday=yes"
++	eval "LIB_krb_kdctimeofday="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_krb_kdctimeofday=no"
++	eval "LIB_krb_kdctimeofday="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_krb_kdctimeofday=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_krb_kdctimeofday"; then
++	LIBS="$LIB_krb_kdctimeofday $LIBS"
++fi
++
++	
++
++	
++
++
++
++echo "$as_me:$LINENO: checking for krb_get_kdc_time_diff" >&5
++echo $ECHO_N "checking for krb_get_kdc_time_diff... $ECHO_C" >&6
++if test "${ac_cv_funclib_krb_get_kdc_time_diff+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_krb_get_kdc_time_diff\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++krb_get_kdc_time_diff()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_krb_get_kdc_time_diff=$ac_lib; else ac_cv_funclib_krb_get_kdc_time_diff=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_krb_get_kdc_time_diff=\${ac_cv_funclib_krb_get_kdc_time_diff-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_krb_get_kdc_time_diff"
++
++if false; then
++	
++for ac_func in krb_get_kdc_time_diff
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# krb_get_kdc_time_diff
++eval "ac_tr_func=HAVE_`echo krb_get_kdc_time_diff | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_krb_get_kdc_time_diff=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_krb_get_kdc_time_diff=yes"
++	eval "LIB_krb_get_kdc_time_diff="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_krb_get_kdc_time_diff=no"
++	eval "LIB_krb_get_kdc_time_diff="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_krb_get_kdc_time_diff=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_krb_get_kdc_time_diff"; then
++	LIBS="$LIB_krb_get_kdc_time_diff $LIBS"
++fi
++
++	
++
++	echo "$as_me:$LINENO: checking for KRB_SENDAUTH_VERS" >&5
++echo $ECHO_N "checking for KRB_SENDAUTH_VERS... $ECHO_C" >&6
++if test "${ac_cv_func_krb_sendauth_vers+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <krb.h>
++			#include <prot.h>
++int
++main ()
++{
++
++		char *x = KRB_SENDAUTH_VERS
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_krb_sendauth_vers=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_krb_sendauth_vers=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++	
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_krb_sendauth_vers" >&5
++echo "${ECHO_T}$ac_cv_func_krb_sendauth_vers" >&6
++	if test "$ac_cv_func_krb_sendauth_vers" != yes; then
++		
++cat >>confdefs.h <<\_ACEOF
++@%:@define KRB_SENDAUTH_VERS "AUTHV0.1"
++_ACEOF
++
++	fi
++	echo "$as_me:$LINENO: checking for krb_mk_req with const arguments" >&5
++echo $ECHO_N "checking for krb_mk_req with const arguments... $ECHO_C" >&6
++if test "${ac_cv_func_krb_mk_req_const+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <krb.h>
++		int krb_mk_req(KTEXT a, const char *s, const char *i,
++			       const char *r, int32_t checksum)
++		{ return 17; }
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_krb_mk_req_const=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_krb_mk_req_const=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++	
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_krb_mk_req_const" >&5
++echo "${ECHO_T}$ac_cv_func_krb_mk_req_const" >&6
++	if test "$ac_cv_func_krb_mk_req_const" = "yes"; then
++		
++cat >>confdefs.h <<\_ACEOF
++@%:@define KRB_MK_REQ_CONST 1
++_ACEOF
++
++	fi
++
++	LIBS="$save_LIBS"
++	CFLAGS="$save_CFLAGS"
++	LIB_kdb="-lkdb -lkrb"
++fi
++
++
++if test "$with_krb4" != "no"; then
++  KRB4_TRUE=
++  KRB4_FALSE='#'
++else
++  KRB4_TRUE='#'
++  KRB4_FALSE=
++fi
++
++
++
++if true; then
++  KRB5_TRUE=
++  KRB5_FALSE='#'
++else
++  KRB5_TRUE='#'
++  KRB5_FALSE=
++fi
++
++
++
++if true; then
++  do_roken_rename_TRUE=
++  do_roken_rename_FALSE='#'
++else
++  do_roken_rename_TRUE='#'
++  do_roken_rename_FALSE=
++fi
++
++
++
++cat >>confdefs.h <<\_ACEOF
++@%:@define KRB5 1
++_ACEOF
++
++
++crypto_lib=unknown
++
++
++# Check whether --with-openssl or --without-openssl was given.
++if test "${with_openssl+set}" = set; then
++  withval="$with_openssl"
++  
++fi; 
++
++
++# Check whether --with-openssl-lib or --without-openssl-lib was given.
++if test "${with_openssl_lib+set}" = set; then
++  withval="$with_openssl_lib"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-openssl-lib" >&5
++echo "$as_me: error: No argument for --with-openssl-lib" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_openssl" = "X"; then
++  with_openssl=yes
++fi
++fi; 
++
++
++# Check whether --with-openssl-include or --without-openssl-include was given.
++if test "${with_openssl_include+set}" = set; then
++  withval="$with_openssl_include"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-openssl-include" >&5
++echo "$as_me: error: No argument for --with-openssl-include" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_openssl" = "X"; then
++  with_openssl=yes
++fi
++fi; 
++
++case "$with_openssl" in
++yes)	;;
++no)	;;
++"")	;;
++*)	if test "$with_openssl_include" = ""; then
++		with_openssl_include="$with_openssl/include"
++	fi
++	if test "$with_openssl_lib" = ""; then
++		with_openssl_lib="$with_openssl/lib$abilibdirext"
++	fi
++	;;
++esac
++
++
++DIR_des=
++
++echo "$as_me:$LINENO: checking for crypto library" >&5
++echo $ECHO_N "checking for crypto library... $ECHO_C" >&6
++
++openssl=no
++old_hash=no
++
++if test "$crypto_lib" = "unknown" -a "$with_krb4" != "no"; then
++	save_CPPFLAGS="$CPPFLAGS"
++	save_LIBS="$LIBS"
++
++	cdirs= clibs=
++	for i in $LIB_krb4; do
++		case "$i" in
++		-L*) cdirs="$cdirs $i";;
++		-l*) clibs="$clibs $i";;
++		esac
++	done
++
++	ires=
++	for i in $INCLUDE_krb4; do
++		CFLAGS="-DHAVE_OPENSSL $i $save_CFLAGS"
++		for j in $cdirs; do
++			for k in $clibs; do
++				LIBS="$j $k $save_LIBS"
++				cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++		#undef KRB5 /* makes md4.h et al unhappy */
++		#ifdef HAVE_OPENSSL
++		#include <openssl/md4.h>
++		#include <openssl/md5.h>
++		#include <openssl/sha.h>
++		#define OPENSSL_DES_LIBDES_COMPATIBILITY
++		#include <openssl/des.h>
++		#include <openssl/rc4.h>
++		#include <openssl/rand.h>
++		#else
++		#include <md4.h>
++		#include <md5.h>
++		#include <sha.h>
++		#include <des.h>
++		#include <rc4.h>
++		#endif
++		#ifdef OLD_HASH_NAMES
++		typedef struct md4 MD4_CTX;
++		#define MD4_Init(C) md4_init((C))
++		#define MD4_Update(C, D, L) md4_update((C), (D), (L))
++		#define MD4_Final(D, C) md4_finito((C), (D))
++		typedef struct md5 MD5_CTX;
++		#define MD5_Init(C) md5_init((C))
++		#define MD5_Update(C, D, L) md5_update((C), (D), (L))
++		#define MD5_Final(D, C) md5_finito((C), (D))
++		typedef struct sha SHA_CTX;
++		#define SHA1_Init(C) sha_init((C))
++		#define SHA1_Update(C, D, L) sha_update((C), (D), (L))
++		#define SHA1_Final(D, C) sha_finito((C), (D))
++		#endif
++		
++int
++main ()
++{
++
++		void *schedule = 0;
++		MD4_CTX md4;
++		MD5_CTX md5;
++		SHA_CTX sha1;
++
++		MD4_Init(&md4);
++		MD5_Init(&md5);
++		SHA1_Init(&sha1);
++		#ifdef HAVE_OPENSSL
++		RAND_status();
++		#endif
++
++		des_cbc_encrypt(0, 0, 0, schedule, 0, 0);
++		RC4(0, 0, 0, 0);
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  openssl=yes ires="$i" lres="$j $k"; break 3
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++			done
++		done
++		CFLAGS="$i $save_CFLAGS"
++		for j in $cdirs; do
++			for k in $clibs; do
++				LIBS="$j $k $save_LIBS"
++				cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++		#undef KRB5 /* makes md4.h et al unhappy */
++		#ifdef HAVE_OPENSSL
++		#include <openssl/md4.h>
++		#include <openssl/md5.h>
++		#include <openssl/sha.h>
++		#define OPENSSL_DES_LIBDES_COMPATIBILITY
++		#include <openssl/des.h>
++		#include <openssl/rc4.h>
++		#include <openssl/rand.h>
++		#else
++		#include <md4.h>
++		#include <md5.h>
++		#include <sha.h>
++		#include <des.h>
++		#include <rc4.h>
++		#endif
++		#ifdef OLD_HASH_NAMES
++		typedef struct md4 MD4_CTX;
++		#define MD4_Init(C) md4_init((C))
++		#define MD4_Update(C, D, L) md4_update((C), (D), (L))
++		#define MD4_Final(D, C) md4_finito((C), (D))
++		typedef struct md5 MD5_CTX;
++		#define MD5_Init(C) md5_init((C))
++		#define MD5_Update(C, D, L) md5_update((C), (D), (L))
++		#define MD5_Final(D, C) md5_finito((C), (D))
++		typedef struct sha SHA_CTX;
++		#define SHA1_Init(C) sha_init((C))
++		#define SHA1_Update(C, D, L) sha_update((C), (D), (L))
++		#define SHA1_Final(D, C) sha_finito((C), (D))
++		#endif
++		
++int
++main ()
++{
++
++		void *schedule = 0;
++		MD4_CTX md4;
++		MD5_CTX md5;
++		SHA_CTX sha1;
++
++		MD4_Init(&md4);
++		MD5_Init(&md5);
++		SHA1_Init(&sha1);
++		#ifdef HAVE_OPENSSL
++		RAND_status();
++		#endif
++
++		des_cbc_encrypt(0, 0, 0, schedule, 0, 0);
++		RC4(0, 0, 0, 0);
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  openssl=no ires="$i" lres="$j $k"; break 3
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++			done
++		done
++		CFLAGS="-DHAVE_OLD_HASH_NAMES $i $save_CFLAGS"
++		for j in $cdirs; do
++			for k in $clibs; do
++				LIBS="$j $k $save_LIBS"
++				cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++		#undef KRB5 /* makes md4.h et al unhappy */
++		#ifdef HAVE_OPENSSL
++		#include <openssl/md4.h>
++		#include <openssl/md5.h>
++		#include <openssl/sha.h>
++		#define OPENSSL_DES_LIBDES_COMPATIBILITY
++		#include <openssl/des.h>
++		#include <openssl/rc4.h>
++		#include <openssl/rand.h>
++		#else
++		#include <md4.h>
++		#include <md5.h>
++		#include <sha.h>
++		#include <des.h>
++		#include <rc4.h>
++		#endif
++		#ifdef OLD_HASH_NAMES
++		typedef struct md4 MD4_CTX;
++		#define MD4_Init(C) md4_init((C))
++		#define MD4_Update(C, D, L) md4_update((C), (D), (L))
++		#define MD4_Final(D, C) md4_finito((C), (D))
++		typedef struct md5 MD5_CTX;
++		#define MD5_Init(C) md5_init((C))
++		#define MD5_Update(C, D, L) md5_update((C), (D), (L))
++		#define MD5_Final(D, C) md5_finito((C), (D))
++		typedef struct sha SHA_CTX;
++		#define SHA1_Init(C) sha_init((C))
++		#define SHA1_Update(C, D, L) sha_update((C), (D), (L))
++		#define SHA1_Final(D, C) sha_finito((C), (D))
++		#endif
++		
++int
++main ()
++{
++
++		void *schedule = 0;
++		MD4_CTX md4;
++		MD5_CTX md5;
++		SHA_CTX sha1;
++
++		MD4_Init(&md4);
++		MD5_Init(&md5);
++		SHA1_Init(&sha1);
++		#ifdef HAVE_OPENSSL
++		RAND_status();
++		#endif
++
++		des_cbc_encrypt(0, 0, 0, schedule, 0, 0);
++		RC4(0, 0, 0, 0);
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  openssl=no ires="$i" lres="$j $k"; break 3
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++			done
++		done
++	done
++		
++	CFLAGS="$save_CFLAGS"
++	LIBS="$save_LIBS"
++	if test "$ires" -a "$lres"; then
++		INCLUDE_des="$ires"
++		LIB_des="$lres"
++		crypto_lib=krb4
++		echo "$as_me:$LINENO: result: same as krb4" >&5
++echo "${ECHO_T}same as krb4" >&6
++		LIB_des_a='$(LIB_des)'
++		LIB_des_so='$(LIB_des)'
++		LIB_des_appl='$(LIB_des)'
++	fi
++fi
++
++if test "$crypto_lib" = "unknown" -a "$with_openssl" != "no"; then
++	save_CFLAGS="$CFLAGS"
++	save_LIBS="$LIBS"
++	INCLUDE_des=
++	LIB_des=
++	if test "$with_openssl_include" != ""; then
++		INCLUDE_des="-I${with_openssl_include}"
++	fi
++	if test "$with_openssl_lib" != ""; then
++		LIB_des="-L${with_openssl_lib}"
++	fi
++	CFLAGS="-DHAVE_OPENSSL ${INCLUDE_des} ${CFLAGS}"
++	saved_LIB_des="$LIB_des"
++	for lres in "" "-lnsl -lsocket"; do
++		LIB_des="${saved_LIB_des} -lcrypto $lres"
++		LIB_des_a="$LIB_des"
++		LIB_des_so="$LIB_des"
++		LIB_des_appl="$LIB_des"
++		LIBS="${LIBS} ${LIB_des}"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++		#undef KRB5 /* makes md4.h et al unhappy */
++		#ifdef HAVE_OPENSSL
++		#include <openssl/md4.h>
++		#include <openssl/md5.h>
++		#include <openssl/sha.h>
++		#define OPENSSL_DES_LIBDES_COMPATIBILITY
++		#include <openssl/des.h>
++		#include <openssl/rc4.h>
++		#include <openssl/rand.h>
++		#else
++		#include <md4.h>
++		#include <md5.h>
++		#include <sha.h>
++		#include <des.h>
++		#include <rc4.h>
++		#endif
++		#ifdef OLD_HASH_NAMES
++		typedef struct md4 MD4_CTX;
++		#define MD4_Init(C) md4_init((C))
++		#define MD4_Update(C, D, L) md4_update((C), (D), (L))
++		#define MD4_Final(D, C) md4_finito((C), (D))
++		typedef struct md5 MD5_CTX;
++		#define MD5_Init(C) md5_init((C))
++		#define MD5_Update(C, D, L) md5_update((C), (D), (L))
++		#define MD5_Final(D, C) md5_finito((C), (D))
++		typedef struct sha SHA_CTX;
++		#define SHA1_Init(C) sha_init((C))
++		#define SHA1_Update(C, D, L) sha_update((C), (D), (L))
++		#define SHA1_Final(D, C) sha_finito((C), (D))
++		#endif
++		
++int
++main ()
++{
++
++		void *schedule = 0;
++		MD4_CTX md4;
++		MD5_CTX md5;
++		SHA_CTX sha1;
++
++		MD4_Init(&md4);
++		MD5_Init(&md5);
++		SHA1_Init(&sha1);
++		#ifdef HAVE_OPENSSL
++		RAND_status();
++		#endif
++
++		des_cbc_encrypt(0, 0, 0, schedule, 0, 0);
++		RC4(0, 0, 0, 0);
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  
++			crypto_lib=libcrypto openssl=yes
++			echo "$as_me:$LINENO: result: libcrypto" >&5
++echo "${ECHO_T}libcrypto" >&6
++		
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++		if test "$crypto_lib" = libcrypto ; then
++			break;
++		fi
++	done
++	CFLAGS="$save_CFLAGS"
++	LIBS="$save_LIBS"
++fi
++
++if test "$crypto_lib" = "unknown"; then
++
++  DIR_des='des'
++  LIB_des='$(top_builddir)/lib/des/libdes.la'
++  LIB_des_a='$(top_builddir)/lib/des/.libs/libdes.a'
++  LIB_des_so='$(top_builddir)/lib/des/.libs/libdes.so'
++  LIB_des_appl="-ldes"
++
++  echo "$as_me:$LINENO: result: included libdes" >&5
++echo "${ECHO_T}included libdes" >&6
++
++fi
++
++if test "$with_krb4" != no -a "$crypto_lib" != krb4; then
++	{ { echo "$as_me:$LINENO: error: the crypto library used by krb4 lacks features
++required by Kerberos 5; to continue, you need to install a newer 
++Kerberos 4 or configure --without-krb4" >&5
++echo "$as_me: error: the crypto library used by krb4 lacks features
++required by Kerberos 5; to continue, you need to install a newer 
++Kerberos 4 or configure --without-krb4" >&2;}
++   { (exit 1); exit 1; }; }
++fi
++
++if test "$openssl" = "yes"; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_OPENSSL 1
++_ACEOF
++
++fi
++if test "$old_hash" = yes; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_OLD_HASH_NAMES 1
++_ACEOF
++
++fi
++
++
++if test "$openssl" = yes; then
++  HAVE_OPENSSL_TRUE=
++  HAVE_OPENSSL_FALSE='#'
++else
++  HAVE_OPENSSL_TRUE='#'
++  HAVE_OPENSSL_FALSE=
++fi
++
++
++
++
++
++
++
++
++
++# Check whether --enable-dce or --disable-dce was given.
++if test "${enable_dce+set}" = set; then
++  enableval="$enable_dce"
++  
++fi; 
++if test "$enable_dce" = yes; then
++    
++cat >>confdefs.h <<\_ACEOF
++@%:@define DCE 1
++_ACEOF
++
++fi
++
++
++if test "$enable_dce" = yes; then
++  DCE_TRUE=
++  DCE_FALSE='#'
++else
++  DCE_TRUE='#'
++  DCE_FALSE=
++fi
++
++
++## XXX quite horrible:
++if test -f /etc/ibmcxx.cfg; then
++	dpagaix_ldadd=`sed -n '/^xlc_r4/,/^$/p' /etc/ibmcxx.cfg | sed -n -e '/libraries/{;s/^[^=]*=\(.*\)/\1/;s/,/ /gp;}'`
++	dpagaix_cflags=`sed -n '/^xlc_r4/,/^$/p' /etc/ibmcxx.cfg | sed -n -e '/options/{;s/^[^=]*=\(.*\)/\1/;s/-q^,*//;s/,/ /gp;}'`
++	dpagaix_ldflags=
++else
++	dpagaix_cflags="-D_THREAD_SAFE -D_AIX_PTHREADS_D7 -D_AIX32_THREADS=1 -D_AES_SOURCE -D_AIX41 -I/usr/include/dce"
++	dpagaix_ldadd="-L/usr/lib/threads -ldcelibc_r -ldcepthreads -lpthreads_compat lpthreads -lc_r"
++	dpagaix_ldflags="-Wl,-bI:dfspag.exp"
++fi
++
++
++
++
++
++# Check whether --enable-berkeley-db or --disable-berkeley-db was given.
++if test "${enable_berkeley_db+set}" = set; then
++  enableval="$enable_berkeley_db"
++  
++
++fi; 
++
++have_ndbm=no
++db_type=unknown
++
++if test "$enable_berkeley_db" != no; then
++
++  
++
++
++
++for ac_header in 				\
++	db4/db.h				\
++	db3/db.h				\
++	db.h					\
++	db_185.h				\
++  
++do
++as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++else
++  # Is the header compilable?
++echo "$as_me:$LINENO: checking $ac_header usability" >&5
++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++@%:@include <$ac_header>
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_header_compiler=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_header_compiler=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
++echo "${ECHO_T}$ac_header_compiler" >&6
++
++# Is the header present?
++echo "$as_me:$LINENO: checking $ac_header presence" >&5
++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@include <$ac_header>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  ac_header_preproc=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++  ac_header_preproc=no
++fi
++rm -f conftest.err conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
++echo "${ECHO_T}$ac_header_preproc" >&6
++
++# So?  What about this header?
++case $ac_header_compiler:$ac_header_preproc in
++  yes:no )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
++echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
++    (
++      cat <<\_ASBOX
++@%:@@%:@ ------------------------------------ @%:@@%:@
++@%:@@%:@ Report this to bug-autoconf@gnu.org. @%:@@%:@
++@%:@@%:@ ------------------------------------ @%:@@%:@
++_ASBOX
++    ) |
++      sed "s/^/$as_me: WARNING:     /" >&2
++    ;;
++  no:yes )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
++echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
++echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
++    (
++      cat <<\_ASBOX
++@%:@@%:@ ------------------------------------ @%:@@%:@
++@%:@@%:@ Report this to bug-autoconf@gnu.org. @%:@@%:@
++@%:@@%:@ ------------------------------------ @%:@@%:@
++_ASBOX
++    ) |
++      sed "s/^/$as_me: WARNING:     /" >&2
++    ;;
++esac
++echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  eval "$as_ac_Header=$ac_header_preproc"
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++
++fi
++if test `eval echo '${'$as_ac_Header'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++
++done
++
++
++
++  
++
++
++echo "$as_me:$LINENO: checking for db_create" >&5
++echo $ECHO_N "checking for db_create... $ECHO_C" >&6
++if test "${ac_cv_funclib_db_create+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_db_create\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" db4 db3 db; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++  #include <stdio.h>
++  #ifdef HAVE_DB4_DB_H
++  #include <db4/db.h>
++  #elif defined(HAVE_DB3_DB_H)
++  #include <db3/db.h>
++  #else
++  #include <db.h>
++  #endif
++  
++int
++main ()
++{
++db_create(NULL, NULL, 0)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_db_create=$ac_lib; else ac_cv_funclib_db_create=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_db_create=\${ac_cv_funclib_db_create-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_db_create"
++
++if false; then
++	
++for ac_func in db_create
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# db_create
++eval "ac_tr_func=HAVE_`echo db_create | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_db_create=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_db_create=yes"
++	eval "LIB_db_create="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_db_create=no"
++	eval "LIB_db_create="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_db_create=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++
++  if test "$ac_cv_func_db_create" = "yes"; then
++    db_type=db3
++    if test "$ac_cv_funclib_db_create" != "yes"; then
++      DBLIB="$ac_cv_funclib_db_create"
++    else
++      DBLIB=""
++    fi
++    
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_DB3 1
++_ACEOF
++
++  else
++
++
++    
++
++
++echo "$as_me:$LINENO: checking for dbopen" >&5
++echo $ECHO_N "checking for dbopen... $ECHO_C" >&6
++if test "${ac_cv_funclib_dbopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_dbopen\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" db2 db; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++    #include <stdio.h>
++    #if defined(HAVE_DB2_DB_H)
++    #include <db2/db.h>
++    #elif defined(HAVE_DB_185_H)
++    #include <db_185.h>
++    #elif defined(HAVE_DB_H)
++    #include <db.h>
++    #else
++    #error no db.h
++    #endif
++    
++int
++main ()
++{
++dbopen(NULL, 0, 0, 0, NULL)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_dbopen=$ac_lib; else ac_cv_funclib_dbopen=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_dbopen=\${ac_cv_funclib_dbopen-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_dbopen"
++
++if false; then
++	
++for ac_func in dbopen
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# dbopen
++eval "ac_tr_func=HAVE_`echo dbopen | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_dbopen=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_dbopen=yes"
++	eval "LIB_dbopen="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_dbopen=no"
++	eval "LIB_dbopen="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_dbopen=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++
++    if test "$ac_cv_func_dbopen" = "yes"; then
++      db_type=db1
++      if test "$ac_cv_funclib_dbopen" != "yes"; then
++        DBLIB="$ac_cv_funclib_dbopen"
++      else
++        DBLIB=""
++      fi
++      
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_DB1 1
++_ACEOF
++
++    fi
++  fi
++
++
++  if test "$ac_cv_func_dbm_firstkey" != yes; then
++    
++
++echo "$as_me:$LINENO: checking for dbm_firstkey" >&5
++echo $ECHO_N "checking for dbm_firstkey... $ECHO_C" >&6
++if test "${ac_cv_funclib_dbm_firstkey+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_dbm_firstkey\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in $ac_cv_funclib_dbopen $ac_cv_funclib_db_create; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++    #include <stdio.h>
++    #define DB_DBM_HSEARCH 1
++    #include <db.h>
++    DBM *dbm;
++    
++int
++main ()
++{
++dbm_firstkey(NULL)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_dbm_firstkey=$ac_lib; else ac_cv_funclib_dbm_firstkey=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_dbm_firstkey=\${ac_cv_funclib_dbm_firstkey-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_dbm_firstkey"
++
++if false; then
++	
++for ac_func in dbm_firstkey
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# dbm_firstkey
++eval "ac_tr_func=HAVE_`echo dbm_firstkey | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_dbm_firstkey=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_dbm_firstkey=yes"
++	eval "LIB_dbm_firstkey="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_dbm_firstkey=no"
++	eval "LIB_dbm_firstkey="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_dbm_firstkey=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++  
++    if test "$ac_cv_func_dbm_firstkey" = "yes"; then
++      if test "$ac_cv_funclib_dbm_firstkey" != "yes"; then
++        LIB_NDBM="$ac_cv_funclib_dbm_firstkey"
++      else
++        LIB_NDBM=""
++      fi
++      
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_DB_NDBM 1
++_ACEOF
++
++      
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_NEW_DB 1
++_ACEOF
++
++    else
++      $as_unset ac_cv_func_dbm_firstkey
++      $as_unset ac_cv_funclib_dbm_firstkey
++    fi
++  fi
++
++fi # berkeley db
++
++if test "$db_type" = "unknown" -o "$ac_cv_func_dbm_firstkey" = ""; then
++
++  
++
++for ac_header in 				\
++	dbm.h					\
++	ndbm.h					\
++  
++do
++as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++else
++  # Is the header compilable?
++echo "$as_me:$LINENO: checking $ac_header usability" >&5
++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++@%:@include <$ac_header>
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_header_compiler=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_header_compiler=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
++echo "${ECHO_T}$ac_header_compiler" >&6
++
++# Is the header present?
++echo "$as_me:$LINENO: checking $ac_header presence" >&5
++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@include <$ac_header>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  ac_header_preproc=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++  ac_header_preproc=no
++fi
++rm -f conftest.err conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
++echo "${ECHO_T}$ac_header_preproc" >&6
++
++# So?  What about this header?
++case $ac_header_compiler:$ac_header_preproc in
++  yes:no )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
++echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
++    (
++      cat <<\_ASBOX
++@%:@@%:@ ------------------------------------ @%:@@%:@
++@%:@@%:@ Report this to bug-autoconf@gnu.org. @%:@@%:@
++@%:@@%:@ ------------------------------------ @%:@@%:@
++_ASBOX
++    ) |
++      sed "s/^/$as_me: WARNING:     /" >&2
++    ;;
++  no:yes )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
++echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
++echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
++    (
++      cat <<\_ASBOX
++@%:@@%:@ ------------------------------------ @%:@@%:@
++@%:@@%:@ Report this to bug-autoconf@gnu.org. @%:@@%:@
++@%:@@%:@ ------------------------------------ @%:@@%:@
++_ASBOX
++    ) |
++      sed "s/^/$as_me: WARNING:     /" >&2
++    ;;
++esac
++echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  eval "$as_ac_Header=$ac_header_preproc"
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++
++fi
++if test `eval echo '${'$as_ac_Header'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++
++done
++
++
++  
++
++
++echo "$as_me:$LINENO: checking for dbm_firstkey" >&5
++echo $ECHO_N "checking for dbm_firstkey... $ECHO_C" >&6
++if test "${ac_cv_funclib_dbm_firstkey+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_dbm_firstkey\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ndbm; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++  #include <stdio.h>
++  #if defined(HAVE_NDBM_H)
++  #include <ndbm.h>
++  #elif defined(HAVE_DBM_H)
++  #include <dbm.h>
++  #endif
++  DBM *dbm;
++  
++int
++main ()
++{
++dbm_firstkey(NULL)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_dbm_firstkey=$ac_lib; else ac_cv_funclib_dbm_firstkey=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_dbm_firstkey=\${ac_cv_funclib_dbm_firstkey-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_dbm_firstkey"
++
++if false; then
++	
++for ac_func in dbm_firstkey
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# dbm_firstkey
++eval "ac_tr_func=HAVE_`echo dbm_firstkey | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_dbm_firstkey=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_dbm_firstkey=yes"
++	eval "LIB_dbm_firstkey="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_dbm_firstkey=no"
++	eval "LIB_dbm_firstkey="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_dbm_firstkey=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++
++  if test "$ac_cv_func_dbm_firstkey" = "yes"; then
++    if test "$ac_cv_funclib_dbm_firstkey" != "yes"; then
++      LIB_NDBM="$ac_cv_funclib_dbm_firstkey"
++    else
++      LIB_NDBM=""
++    fi
++    
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_NDBM 1
++_ACEOF
++    have_ndbm=yes
++    if test "$db_type" = "unknown"; then
++      db_type=ndbm
++      DBLIB="$LIB_NDBM"
++    fi
++  else
++
++    $as_unset ac_cv_func_dbm_firstkey
++    $as_unset ac_cv_funclib_dbm_firstkey
++
++    
++for ac_header in 				\
++	  gdbm/ndbm.h				\
++    
++do
++as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++else
++  # Is the header compilable?
++echo "$as_me:$LINENO: checking $ac_header usability" >&5
++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++@%:@include <$ac_header>
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_header_compiler=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_header_compiler=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
++echo "${ECHO_T}$ac_header_compiler" >&6
++
++# Is the header present?
++echo "$as_me:$LINENO: checking $ac_header presence" >&5
++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@include <$ac_header>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  ac_header_preproc=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++  ac_header_preproc=no
++fi
++rm -f conftest.err conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
++echo "${ECHO_T}$ac_header_preproc" >&6
++
++# So?  What about this header?
++case $ac_header_compiler:$ac_header_preproc in
++  yes:no )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
++echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
++    (
++      cat <<\_ASBOX
++@%:@@%:@ ------------------------------------ @%:@@%:@
++@%:@@%:@ Report this to bug-autoconf@gnu.org. @%:@@%:@
++@%:@@%:@ ------------------------------------ @%:@@%:@
++_ASBOX
++    ) |
++      sed "s/^/$as_me: WARNING:     /" >&2
++    ;;
++  no:yes )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
++echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
++echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
++    (
++      cat <<\_ASBOX
++@%:@@%:@ ------------------------------------ @%:@@%:@
++@%:@@%:@ Report this to bug-autoconf@gnu.org. @%:@@%:@
++@%:@@%:@ ------------------------------------ @%:@@%:@
++_ASBOX
++    ) |
++      sed "s/^/$as_me: WARNING:     /" >&2
++    ;;
++esac
++echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  eval "$as_ac_Header=$ac_header_preproc"
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++
++fi
++if test `eval echo '${'$as_ac_Header'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++
++done
++
++
++    
++
++
++echo "$as_me:$LINENO: checking for dbm_firstkey" >&5
++echo $ECHO_N "checking for dbm_firstkey... $ECHO_C" >&6
++if test "${ac_cv_funclib_dbm_firstkey+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_dbm_firstkey\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" gdbm; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++    #include <stdio.h>
++    #include <gdbm/ndbm.h>
++    DBM *dbm;
++    
++int
++main ()
++{
++dbm_firstkey(NULL)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_dbm_firstkey=$ac_lib; else ac_cv_funclib_dbm_firstkey=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_dbm_firstkey=\${ac_cv_funclib_dbm_firstkey-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_dbm_firstkey"
++
++if false; then
++	
++for ac_func in dbm_firstkey
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# dbm_firstkey
++eval "ac_tr_func=HAVE_`echo dbm_firstkey | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_dbm_firstkey=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_dbm_firstkey=yes"
++	eval "LIB_dbm_firstkey="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_dbm_firstkey=no"
++	eval "LIB_dbm_firstkey="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_dbm_firstkey=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++
++    if test "$ac_cv_func_dbm_firstkey" = "yes"; then
++      if test "$ac_cv_funclib_dbm_firstkey" != "yes"; then
++	LIB_NDBM="$ac_cv_funclib_dbm_firstkey"
++      else
++	LIB_NDBM=""
++      fi
++      
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_NDBM 1
++_ACEOF
++      have_ndbm=yes
++      if test "$db_type" = "unknown"; then
++	db_type=ndbm
++	DBLIB="$LIB_NDBM"
++      fi
++    fi
++  fi
++
++fi # unknown
++
++if test "$have_ndbm" = "yes"; then
++  echo "$as_me:$LINENO: checking if ndbm is implemented with db" >&5
++echo $ECHO_N "checking if ndbm is implemented with db... $ECHO_C" >&6
++  if test "$cross_compiling" = yes; then
++  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
++See \`config.log' for more details." >&5
++echo "$as_me: error: cannot run test program while cross compiling
++See \`config.log' for more details." >&2;}
++   { (exit 1); exit 1; }; }
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#include <unistd.h>
++#include <fcntl.h>
++#if defined(HAVE_GDBM_NDBM_H)
++#include <gdbm/ndbm.h>
++#elif defined(HAVE_NDBM_H)
++#include <ndbm.h>
++#elif defined(HAVE_DBM_H)
++#include <dbm.h>
++#endif
++int main()
++{
++  DBM *d;
++
++  d = dbm_open("conftest", O_RDWR | O_CREAT, 0666);
++  if (d == NULL)
++    return 1;
++  dbm_close(d);
++  return 0;
++}
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  
++    if test -f conftest.db; then
++      echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++      
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_NEW_DB 1
++_ACEOF
++
++    else
++      echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++    fi
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++( exit $ac_status )
++echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++fi
++
++
++
++if test "$db_type" = db1; then
++  HAVE_DB1_TRUE=
++  HAVE_DB1_FALSE='#'
++else
++  HAVE_DB1_TRUE='#'
++  HAVE_DB1_FALSE=
++fi
++
++
++if test "$db_type" = db3; then
++  HAVE_DB3_TRUE=
++  HAVE_DB3_FALSE='#'
++else
++  HAVE_DB3_TRUE='#'
++  HAVE_DB3_FALSE=
++fi
++
++
++if test "$db_type" = ndbm; then
++  HAVE_NDBM_TRUE=
++  HAVE_NDBM_FALSE='#'
++else
++  HAVE_NDBM_TRUE='#'
++  HAVE_NDBM_FALSE=
++fi
++
++z=""
++for i in $LDFLAGS; do
++	case "$i" in
++	-L*) z="$z $i";;
++	esac
++done
++DBLIB="$z $DBLIB"
++
++
++
++
++
++# Check whether --with-roken or --without-roken was given.
++if test "${with_roken+set}" = set; then
++  withval="$with_roken"
++  if test "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: roken is required" >&5
++echo "$as_me: error: roken is required" >&2;}
++   { (exit 1); exit 1; }; }
++fi
++fi; 
++
++save_CPPFLAGS="${CPPFLAGS}"
++
++case $with_roken in
++yes|"")
++  dirs="/usr/heimdal /usr/athena" ;;
++*)
++  dirs="$with_roken" ;;
++esac
++
++roken_installed=no
++
++for i in $dirs; do
++
++echo "$as_me:$LINENO: checking for roken in $i" >&5
++echo $ECHO_N "checking for roken in $i... $ECHO_C" >&6
++
++CPPFLAGS="-I$i/include ${CPPFLAGS}"
++
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <roken.h>
++//#if ROKEN_VERSION < 10
++//#error old roken version, should be 10
++//fail
++//#endif
++
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  roken_installed=yes; break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++  
++fi
++rm -f conftest.err conftest.$ac_ext
++
++echo "$as_me:$LINENO: result: $roken_installed" >&5
++echo "${ECHO_T}$roken_installed" >&6
++
++done
++
++CPPFLAGS="$save_CPPFLAGS"
++
++if test "$roken_installed" != "yes"; then
++  DIR_roken="roken"
++  LIB_roken='$(top_builddir)/lib/roken/libroken.la'
++  CPPFLAGS_roken='-I$(top_builddir)/lib/roken -I$(top_srcdir)/lib/roken'
++else
++  LIB_roken="$i/lib/libroken.la"
++  CPPFLAGS_roken="-I$i/include"
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking for crypt" >&5
++echo $ECHO_N "checking for crypt... $ECHO_C" >&6
++if test "${ac_cv_funclib_crypt+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_crypt\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" crypt; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++crypt()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_crypt=$ac_lib; else ac_cv_funclib_crypt=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_crypt=\${ac_cv_funclib_crypt-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_crypt"
++
++if false; then
++	
++for ac_func in crypt
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# crypt
++eval "ac_tr_func=HAVE_`echo crypt | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_crypt=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_crypt=yes"
++	eval "LIB_crypt="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_crypt=no"
++	eval "LIB_crypt="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_crypt=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++LIB_roken="${LIB_roken} \$(LIB_crypt) \$(LIB_dbopen)"
++
++
++#if ! test "$roken_installed" = yes; then
++	
++
++echo "$as_me:$LINENO: checking for inline" >&5
++echo $ECHO_N "checking for inline... $ECHO_C" >&6
++if test "${ac_cv_c_inline+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_cv_c_inline=no
++for ac_kw in inline __inline__ __inline; do
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifndef __cplusplus
++typedef int foo_t;
++static $ac_kw foo_t static_foo () {return 0; }
++$ac_kw foo_t foo () {return 0; }
++#endif
++
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_c_inline=$ac_kw; break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++done
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
++echo "${ECHO_T}$ac_cv_c_inline" >&6
++case $ac_cv_c_inline in
++  inline | yes) ;;
++  no) 
++cat >>confdefs.h <<\_ACEOF
++@%:@define inline 
++_ACEOF
++ ;;
++  *)  cat >>confdefs.h <<_ACEOF
++@%:@define inline $ac_cv_c_inline
++_ACEOF
++ ;;
++esac
++
++echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
++echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
++if test "${ac_cv_c_const+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++/* FIXME: Include the comments suggested by Paul. */
++#ifndef __cplusplus
++  /* Ultrix mips cc rejects this.  */
++  typedef int charset[2];
++  const charset x;
++  /* SunOS 4.1.1 cc rejects this.  */
++  char const *const *ccp;
++  char **p;
++  /* NEC SVR4.0.2 mips cc rejects this.  */
++  struct point {int x, y;};
++  static struct point const zero = {0,0};
++  /* AIX XL C 1.02.0.0 rejects this.
++     It does not let you subtract one const X* pointer from another in
++     an arm of an if-expression whose if-part is not a constant
++     expression */
++  const char *g = "string";
++  ccp = &g + (g ? g-g : 0);
++  /* HPUX 7.0 cc rejects these. */
++  ++ccp;
++  p = (char**) ccp;
++  ccp = (char const *const *) p;
++  { /* SCO 3.2v4 cc rejects this.  */
++    char *t;
++    char const *s = 0 ? (char *) 0 : (char const *) 0;
++
++    *t++ = 0;
++  }
++  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
++    int x[] = {25, 17};
++    const int *foo = &x[0];
++    ++foo;
++  }
++  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
++    typedef const int *iptr;
++    iptr p = 0;
++    ++p;
++  }
++  { /* AIX XL C 1.02.0.0 rejects this saying
++       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
++    struct s { int j; const int *ap[3]; };
++    struct s *b; b->j = 5;
++  }
++  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
++    const int foo = 10;
++  }
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_c_const=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_c_const=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
++echo "${ECHO_T}$ac_cv_c_const" >&6
++if test $ac_cv_c_const = no; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define const 
++_ACEOF
++
++fi
++
++echo "$as_me:$LINENO: checking for size_t" >&5
++echo $ECHO_N "checking for size_t... $ECHO_C" >&6
++if test "${ac_cv_type_size_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++int
++main ()
++{
++if ((size_t *) 0)
++  return 0;
++if (sizeof (size_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_size_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_size_t=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
++echo "${ECHO_T}$ac_cv_type_size_t" >&6
++if test $ac_cv_type_size_t = yes; then
++  :
++else
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define size_t unsigned
++_ACEOF
++
++fi
++
++echo "$as_me:$LINENO: checking for pid_t" >&5
++echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
++if test "${ac_cv_type_pid_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++int
++main ()
++{
++if ((pid_t *) 0)
++  return 0;
++if (sizeof (pid_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_pid_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_pid_t=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
++echo "${ECHO_T}$ac_cv_type_pid_t" >&6
++if test $ac_cv_type_pid_t = yes; then
++  :
++else
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define pid_t int
++_ACEOF
++
++fi
++
++echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
++echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
++if test "${ac_cv_type_uid_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <sys/types.h>
++
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  $EGREP "uid_t" >/dev/null 2>&1; then
++  ac_cv_type_uid_t=yes
++else
++  ac_cv_type_uid_t=no
++fi
++rm -f conftest*
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
++echo "${ECHO_T}$ac_cv_type_uid_t" >&6
++if test $ac_cv_type_uid_t = no; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define uid_t int
++_ACEOF
++
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define gid_t int
++_ACEOF
++
++fi
++
++
++echo "$as_me:$LINENO: checking return type of signal handlers" >&5
++echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
++if test "${ac_cv_type_signal+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end 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;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_signal=void
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_signal=int
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
++echo "${ECHO_T}$ac_cv_type_signal" >&6
++
++cat >>confdefs.h <<_ACEOF
++@%:@define RETSIGTYPE $ac_cv_type_signal
++_ACEOF
++
++
++if test "$ac_cv_type_signal" = "void" ; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define VOID_RETSIGTYPE 1
++_ACEOF
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
++echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
++if test "${ac_cv_header_time+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <sys/types.h>
++#include <sys/time.h>
++#include <time.h>
++
++int
++main ()
++{
++if ((struct tm *) 0)
++return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_header_time=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_header_time=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
++echo "${ECHO_T}$ac_cv_header_time" >&6
++if test $ac_cv_header_time = yes; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define TIME_WITH_SYS_TIME 1
++_ACEOF
++
++fi
++
++
++
++for ac_header in standards.h
++do
++as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++else
++  # Is the header compilable?
++echo "$as_me:$LINENO: checking $ac_header usability" >&5
++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++@%:@include <$ac_header>
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_header_compiler=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_header_compiler=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
++echo "${ECHO_T}$ac_header_compiler" >&6
++
++# Is the header present?
++echo "$as_me:$LINENO: checking $ac_header presence" >&5
++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@include <$ac_header>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  ac_header_preproc=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++  ac_header_preproc=no
++fi
++rm -f conftest.err conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
++echo "${ECHO_T}$ac_header_preproc" >&6
++
++# So?  What about this header?
++case $ac_header_compiler:$ac_header_preproc in
++  yes:no )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
++echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
++    (
++      cat <<\_ASBOX
++@%:@@%:@ ------------------------------------ @%:@@%:@
++@%:@@%:@ Report this to bug-autoconf@gnu.org. @%:@@%:@
++@%:@@%:@ ------------------------------------ @%:@@%:@
++_ASBOX
++    ) |
++      sed "s/^/$as_me: WARNING:     /" >&2
++    ;;
++  no:yes )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
++echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
++echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
++    (
++      cat <<\_ASBOX
++@%:@@%:@ ------------------------------------ @%:@@%:@
++@%:@@%:@ Report this to bug-autoconf@gnu.org. @%:@@%:@
++@%:@@%:@ ------------------------------------ @%:@@%:@
++_ASBOX
++    ) |
++      sed "s/^/$as_me: WARNING:     /" >&2
++    ;;
++esac
++echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  eval "$as_ac_Header=$ac_header_preproc"
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++
++fi
++if test `eval echo '${'$as_ac_Header'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++
++done
++
++for i in netinet/ip.h netinet/tcp.h; do
++
++cv=`echo "$i" | sed 'y%./+-%__p_%'`
++
++echo "$as_me:$LINENO: checking for $i" >&5
++echo $ECHO_N "checking for $i... $ECHO_C" >&6
++if eval "test \"\${ac_cv_header_$cv+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++\
++#ifdef HAVE_STANDARDS_H
++#include <standards.h>
++#endif
++#include <$i>
++
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  eval "ac_cv_header_$cv=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++  eval "ac_cv_header_$cv=no"
++fi
++rm -f conftest.err conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'ac_cv_header_$cv'}'`" >&5
++echo "${ECHO_T}`eval echo '${'ac_cv_header_$cv'}'`" >&6
++ac_res=`eval echo \\$ac_cv_header_$cv`
++if test "$ac_res" = yes; then
++	ac_tr_hdr=HAVE_`echo $i | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_hdr 1
++_ACEOF
++
++fi
++done
++if false;then
++	
++
++for ac_header in netinet/ip.h netinet/tcp.h
++do
++as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++else
++  # Is the header compilable?
++echo "$as_me:$LINENO: checking $ac_header usability" >&5
++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++@%:@include <$ac_header>
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_header_compiler=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_header_compiler=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
++echo "${ECHO_T}$ac_header_compiler" >&6
++
++# Is the header present?
++echo "$as_me:$LINENO: checking $ac_header presence" >&5
++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@include <$ac_header>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  ac_header_preproc=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++  ac_header_preproc=no
++fi
++rm -f conftest.err conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
++echo "${ECHO_T}$ac_header_preproc" >&6
++
++# So?  What about this header?
++case $ac_header_compiler:$ac_header_preproc in
++  yes:no )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
++echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
++    (
++      cat <<\_ASBOX
++@%:@@%:@ ------------------------------------ @%:@@%:@
++@%:@@%:@ Report this to bug-autoconf@gnu.org. @%:@@%:@
++@%:@@%:@ ------------------------------------ @%:@@%:@
++_ASBOX
++    ) |
++      sed "s/^/$as_me: WARNING:     /" >&2
++    ;;
++  no:yes )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
++echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
++echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
++    (
++      cat <<\_ASBOX
++@%:@@%:@ ------------------------------------ @%:@@%:@
++@%:@@%:@ Report this to bug-autoconf@gnu.org. @%:@@%:@
++@%:@@%:@ ------------------------------------ @%:@@%:@
++_ASBOX
++    ) |
++      sed "s/^/$as_me: WARNING:     /" >&2
++    ;;
++esac
++echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  eval "$as_ac_Header=$ac_header_preproc"
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++
++fi
++if test `eval echo '${'$as_ac_Header'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++
++done
++
++fi
++
++
++
++
++for ac_func in getlogin setlogin
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++if test "$ac_cv_func_getlogin" = yes; then
++echo "$as_me:$LINENO: checking if getlogin is posix" >&5
++echo $ECHO_N "checking if getlogin is posix... $ECHO_C" >&6
++if test "${ac_cv_func_getlogin_posix+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if test "$ac_cv_func_getlogin" = yes -a "$ac_cv_func_setlogin" = yes; then
++	ac_cv_func_getlogin_posix=no
++else
++	ac_cv_func_getlogin_posix=yes
++fi
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getlogin_posix" >&5
++echo "${ECHO_T}$ac_cv_func_getlogin_posix" >&6
++if test "$ac_cv_func_getlogin_posix" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define POSIX_GETLOGIN 1
++_ACEOF
++
++fi
++fi
++
++
++
++for ac_header in stdlib.h unistd.h
++do
++as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++else
++  # Is the header compilable?
++echo "$as_me:$LINENO: checking $ac_header usability" >&5
++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++@%:@include <$ac_header>
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_header_compiler=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_header_compiler=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
++echo "${ECHO_T}$ac_header_compiler" >&6
++
++# Is the header present?
++echo "$as_me:$LINENO: checking $ac_header presence" >&5
++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@include <$ac_header>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  ac_header_preproc=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++  ac_header_preproc=no
++fi
++rm -f conftest.err conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
++echo "${ECHO_T}$ac_header_preproc" >&6
++
++# So?  What about this header?
++case $ac_header_compiler:$ac_header_preproc in
++  yes:no )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
++echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
++    (
++      cat <<\_ASBOX
++@%:@@%:@ ------------------------------------ @%:@@%:@
++@%:@@%:@ Report this to bug-autoconf@gnu.org. @%:@@%:@
++@%:@@%:@ ------------------------------------ @%:@@%:@
++_ASBOX
++    ) |
++      sed "s/^/$as_me: WARNING:     /" >&2
++    ;;
++  no:yes )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
++echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
++echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
++    (
++      cat <<\_ASBOX
++@%:@@%:@ ------------------------------------ @%:@@%:@
++@%:@@%:@ Report this to bug-autoconf@gnu.org. @%:@@%:@
++@%:@@%:@ ------------------------------------ @%:@@%:@
++_ASBOX
++    ) |
++      sed "s/^/$as_me: WARNING:     /" >&2
++    ;;
++esac
++echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  eval "$as_ac_Header=$ac_header_preproc"
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++
++fi
++if test `eval echo '${'$as_ac_Header'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++
++done
++
++
++for ac_func in getpagesize
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++echo "$as_me:$LINENO: checking for working mmap" >&5
++echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
++if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test "$cross_compiling" = yes; then
++  ac_cv_func_mmap_fixed_mapped=no
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++/* malloc might have been renamed as rpl_malloc. */
++#undef malloc
++
++/* Thanks to Mike Haertel and Jim Avera for this test.
++   Here is a matrix of mmap possibilities:
++	mmap private not fixed
++	mmap private fixed at somewhere currently unmapped
++	mmap private fixed at somewhere already mapped
++	mmap shared not fixed
++	mmap shared fixed at somewhere currently unmapped
++	mmap shared fixed at somewhere already mapped
++   For private mappings, we should verify that changes cannot be read()
++   back from the file, nor mmap's back from the file at a different
++   address.  (There have been systems where private was not correctly
++   implemented like the infamous i386 svr4.0, and systems where the
++   VM page cache was not coherent with the file system buffer cache
++   like early versions of FreeBSD and possibly contemporary NetBSD.)
++   For shared mappings, we should conversely verify that changes get
++   propagated back to all the places they're supposed to be.
++
++   Grep wants private fixed already mapped.
++   The main things grep needs to know about mmap are:
++   * does it exist and is it safe to write into the mmap'd area
++   * how to use it (BSD variants)  */
++
++#include <fcntl.h>
++#include <sys/mman.h>
++
++#if !STDC_HEADERS && !HAVE_STDLIB_H
++char *malloc ();
++#endif
++
++/* This mess was copied from the GNU getpagesize.h.  */
++#if !HAVE_GETPAGESIZE
++/* Assume that all systems that can run configure have sys/param.h.  */
++# if !HAVE_SYS_PARAM_H
++#  define HAVE_SYS_PARAM_H 1
++# endif
++
++# ifdef _SC_PAGESIZE
++#  define getpagesize() sysconf(_SC_PAGESIZE)
++# else /* no _SC_PAGESIZE */
++#  if HAVE_SYS_PARAM_H
++#   include <sys/param.h>
++#   ifdef EXEC_PAGESIZE
++#    define getpagesize() EXEC_PAGESIZE
++#   else /* no EXEC_PAGESIZE */
++#    ifdef NBPG
++#     define getpagesize() NBPG * CLSIZE
++#     ifndef CLSIZE
++#      define CLSIZE 1
++#     endif /* no CLSIZE */
++#    else /* no NBPG */
++#     ifdef NBPC
++#      define getpagesize() NBPC
++#     else /* no NBPC */
++#      ifdef PAGESIZE
++#       define getpagesize() PAGESIZE
++#      endif /* PAGESIZE */
++#     endif /* no NBPC */
++#    endif /* no NBPG */
++#   endif /* no EXEC_PAGESIZE */
++#  else /* no HAVE_SYS_PARAM_H */
++#   define getpagesize() 8192	/* punt totally */
++#  endif /* no HAVE_SYS_PARAM_H */
++# endif /* no _SC_PAGESIZE */
++
++#endif /* no HAVE_GETPAGESIZE */
++
++int
++main ()
++{
++  char *data, *data2, *data3;
++  int i, pagesize;
++  int fd;
++
++  pagesize = getpagesize ();
++
++  /* First, make a file with some known garbage in it. */
++  data = (char *) malloc (pagesize);
++  if (!data)
++    exit (1);
++  for (i = 0; i < pagesize; ++i)
++    *(data + i) = rand ();
++  umask (0);
++  fd = creat ("conftest.mmap", 0600);
++  if (fd < 0)
++    exit (1);
++  if (write (fd, data, pagesize) != pagesize)
++    exit (1);
++  close (fd);
++
++  /* Next, try to mmap the file at a fixed address which already has
++     something else allocated at it.  If we can, also make sure that
++     we see the same garbage.  */
++  fd = open ("conftest.mmap", O_RDWR);
++  if (fd < 0)
++    exit (1);
++  data2 = (char *) malloc (2 * pagesize);
++  if (!data2)
++    exit (1);
++  data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
++  if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
++                     MAP_PRIVATE | MAP_FIXED, fd, 0L))
++    exit (1);
++  for (i = 0; i < pagesize; ++i)
++    if (*(data + i) != *(data2 + i))
++      exit (1);
++
++  /* Finally, make sure that changes to the mapped area do not
++     percolate back to the file as seen by read().  (This is a bug on
++     some variants of i386 svr4.0.)  */
++  for (i = 0; i < pagesize; ++i)
++    *(data2 + i) = *(data2 + i) + 1;
++  data3 = (char *) malloc (pagesize);
++  if (!data3)
++    exit (1);
++  if (read (fd, data3, pagesize) != pagesize)
++    exit (1);
++  for (i = 0; i < pagesize; ++i)
++    if (*(data + i) != *(data3 + i))
++      exit (1);
++  close (fd);
++  exit (0);
++}
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_mmap_fixed_mapped=yes
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++( exit $ac_status )
++ac_cv_func_mmap_fixed_mapped=no
++fi
++rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
++echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
++if test $ac_cv_func_mmap_fixed_mapped = yes; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_MMAP 1
++_ACEOF
++
++fi
++rm -f conftest.mmap
++
++
++echo "$as_me:$LINENO: checking if realloc if broken" >&5
++echo $ECHO_N "checking if realloc if broken... $ECHO_C" >&6
++if test "${ac_cv_func_realloc_broken+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++ac_cv_func_realloc_broken=no
++if test "$cross_compiling" = yes; then
++  :
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#include <stddef.h>
++#include <stdlib.h>
++
++int main()
++{
++	return realloc(NULL, 17) == NULL;
++}
++
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  :
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++( exit $ac_status )
++ac_cv_func_realloc_broken=yes
++fi
++rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_realloc_broken" >&5
++echo "${ECHO_T}$ac_cv_func_realloc_broken" >&6
++if test "$ac_cv_func_realloc_broken" = yes ; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define BROKEN_REALLOC 1
++_ACEOF
++
++fi
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++WFLAGS_NOUNUSED=""
++WFLAGS_NOIMPLICITINT=""
++if test -z "$WFLAGS" -a "$GCC" = "yes"; then
++  # -Wno-implicit-int for broken X11 headers
++  # leave these out for now:
++  #   -Wcast-align doesn't work well on alpha osf/1
++  #   -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast
++  #   -Wmissing-declarations -Wnested-externs
++  WFLAGS="-Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs"
++  WFLAGS_NOUNUSED="-Wno-unused"
++  WFLAGS_NOIMPLICITINT="-Wno-implicit-int"
++fi
++
++
++
++
++
++
++
++
++cv=`echo "ssize_t" | sed 'y%./+- %__p__%'`
++echo "$as_me:$LINENO: checking for ssize_t" >&5
++echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
++if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <sys/types.h>
++#if STDC_HEADERS
++#include <stdlib.h>
++#include <stddef.h>
++#endif
++#include <unistd.h>
++int
++main ()
++{
++ssize_t foo;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_type_$cv=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_type_$cv=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++ac_foo=`eval echo \\$ac_cv_type_$cv`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++  ac_tr_hdr=HAVE_`echo ssize_t | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
++if false; then
++	echo "$as_me:$LINENO: checking for ssize_t" >&5
++echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
++if test "${ac_cv_type_ssize_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++int
++main ()
++{
++if ((ssize_t *) 0)
++  return 0;
++if (sizeof (ssize_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_ssize_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_ssize_t=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
++echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
++if test $ac_cv_type_ssize_t = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_SSIZE_T 1
++_ACEOF
++
++
++fi
++
++fi
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_hdr 1
++_ACEOF
++
++fi
++
++
++
++
++
++cv=`echo "long long" | sed 'y%./+- %__p__%'`
++echo "$as_me:$LINENO: checking for long long" >&5
++echo $ECHO_N "checking for long long... $ECHO_C" >&6
++if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <sys/types.h>
++#if STDC_HEADERS
++#include <stdlib.h>
++#include <stddef.h>
++#endif
++
++int
++main ()
++{
++long long foo;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_type_$cv=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_type_$cv=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++ac_foo=`eval echo \\$ac_cv_type_$cv`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++  ac_tr_hdr=HAVE_`echo long long | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
++if false; then
++	echo "$as_me:$LINENO: checking for long long" >&5
++echo $ECHO_N "checking for long long... $ECHO_C" >&6
++if test "${ac_cv_type_long_long+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++int
++main ()
++{
++if ((long long *) 0)
++  return 0;
++if (sizeof (long long))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_long_long=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_long_long=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
++echo "${ECHO_T}$ac_cv_type_long_long" >&6
++if test $ac_cv_type_long_long = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_LONG_LONG 1
++_ACEOF
++
++
++fi
++
++fi
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_hdr 1
++_ACEOF
++
++fi
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++for ac_header in \
++	arpa/inet.h				\
++	arpa/nameser.h				\
++	config.h				\
++	crypt.h					\
++	dirent.h				\
++	errno.h					\
++	err.h					\
++	fcntl.h					\
++	grp.h					\
++	ifaddrs.h				\
++	net/if.h				\
++	netdb.h					\
++	netinet/in.h				\
++	netinet/in6.h				\
++	netinet/in_systm.h			\
++	netinet6/in6.h				\
++	netinet6/in6_var.h			\
++	paths.h					\
++	pwd.h					\
++	resolv.h				\
++	rpcsvc/ypclnt.h				\
++	shadow.h				\
++	sys/bswap.h				\
++	sys/ioctl.h				\
++	sys/mman.h				\
++	sys/param.h				\
++	sys/proc.h				\
++	sys/resource.h				\
++	sys/socket.h				\
++	sys/sockio.h				\
++	sys/stat.h				\
++	sys/sysctl.h				\
++	sys/time.h				\
++	sys/tty.h				\
++	sys/types.h				\
++	sys/uio.h				\
++	sys/utsname.h				\
++	sys/wait.h				\
++	syslog.h				\
++	termios.h				\
++	unistd.h				\
++	userconf.h				\
++	usersec.h				\
++	util.h					\
++	vis.h					\
++
++do
++as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++else
++  # Is the header compilable?
++echo "$as_me:$LINENO: checking $ac_header usability" >&5
++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++@%:@include <$ac_header>
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_header_compiler=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_header_compiler=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
++echo "${ECHO_T}$ac_header_compiler" >&6
++
++# Is the header present?
++echo "$as_me:$LINENO: checking $ac_header presence" >&5
++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@include <$ac_header>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  ac_header_preproc=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++  ac_header_preproc=no
++fi
++rm -f conftest.err conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
++echo "${ECHO_T}$ac_header_preproc" >&6
++
++# So?  What about this header?
++case $ac_header_compiler:$ac_header_preproc in
++  yes:no )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
++echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
++    (
++      cat <<\_ASBOX
++@%:@@%:@ ------------------------------------ @%:@@%:@
++@%:@@%:@ Report this to bug-autoconf@gnu.org. @%:@@%:@
++@%:@@%:@ ------------------------------------ @%:@@%:@
++_ASBOX
++    ) |
++      sed "s/^/$as_me: WARNING:     /" >&2
++    ;;
++  no:yes )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
++echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
++echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
++    (
++      cat <<\_ASBOX
++@%:@@%:@ ------------------------------------ @%:@@%:@
++@%:@@%:@ Report this to bug-autoconf@gnu.org. @%:@@%:@
++@%:@@%:@ ------------------------------------ @%:@@%:@
++_ASBOX
++    ) |
++      sed "s/^/$as_me: WARNING:     /" >&2
++    ;;
++esac
++echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  eval "$as_ac_Header=$ac_header_preproc"
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++
++fi
++if test `eval echo '${'$as_ac_Header'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++
++done
++
++	
++
++
++
++
++if test "$ac_cv_header_err_h" = yes; then
++  have_err_h_TRUE=
++  have_err_h_FALSE='#'
++else
++  have_err_h_TRUE='#'
++  have_err_h_FALSE=
++fi
++
++
++
++if test "$ac_cv_header_fnmatch_h" = yes; then
++  have_fnmatch_h_TRUE=
++  have_fnmatch_h_FALSE='#'
++else
++  have_fnmatch_h_TRUE='#'
++  have_fnmatch_h_FALSE=
++fi
++
++
++
++if test "$ac_cv_header_ifaddrs_h" = yes; then
++  have_ifaddrs_h_TRUE=
++  have_ifaddrs_h_FALSE='#'
++else
++  have_ifaddrs_h_TRUE='#'
++  have_ifaddrs_h_FALSE=
++fi
++
++
++
++if test "$ac_cv_header_vis_h" = yes; then
++  have_vis_h_TRUE=
++  have_vis_h_FALSE='#'
++else
++  have_vis_h_TRUE='#'
++  have_vis_h_FALSE=
++fi
++
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for socket" >&5
++echo $ECHO_N "checking for socket... $ECHO_C" >&6
++if test "${ac_cv_funclib_socket+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_socket\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" socket; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++socket()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_socket=$ac_lib; else ac_cv_funclib_socket=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_socket=\${ac_cv_funclib_socket-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_socket"
++
++if false; then
++	
++for ac_func in socket
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# socket
++eval "ac_tr_func=HAVE_`echo socket | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_socket=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_socket=yes"
++	eval "LIB_socket="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_socket=no"
++	eval "LIB_socket="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_socket=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_socket"; then
++	LIBS="$LIB_socket $LIBS"
++fi
++
++
++
++
++
++echo "$as_me:$LINENO: checking for gethostbyname" >&5
++echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
++if test "${ac_cv_funclib_gethostbyname+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_gethostbyname\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" nsl; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++gethostbyname()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_gethostbyname=$ac_lib; else ac_cv_funclib_gethostbyname=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_gethostbyname=\${ac_cv_funclib_gethostbyname-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_gethostbyname"
++
++if false; then
++	
++for ac_func in gethostbyname
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# gethostbyname
++eval "ac_tr_func=HAVE_`echo gethostbyname | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_gethostbyname=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_gethostbyname=yes"
++	eval "LIB_gethostbyname="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_gethostbyname=no"
++	eval "LIB_gethostbyname="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_gethostbyname=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_gethostbyname"; then
++	LIBS="$LIB_gethostbyname $LIBS"
++fi
++
++
++
++
++
++echo "$as_me:$LINENO: checking for syslog" >&5
++echo $ECHO_N "checking for syslog... $ECHO_C" >&6
++if test "${ac_cv_funclib_syslog+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_syslog\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" syslog; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++syslog()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_syslog=$ac_lib; else ac_cv_funclib_syslog=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_syslog=\${ac_cv_funclib_syslog-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_syslog"
++
++if false; then
++	
++for ac_func in syslog
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# syslog
++eval "ac_tr_func=HAVE_`echo syslog | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_syslog=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_syslog=yes"
++	eval "LIB_syslog="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_syslog=no"
++	eval "LIB_syslog="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_syslog=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_syslog"; then
++	LIBS="$LIB_syslog $LIBS"
++fi
++
++
++
++
++# Check whether --with-ipv6 or --without-ipv6 was given.
++if test "${with_ipv6+set}" = set; then
++  withval="$with_ipv6"
++  
++if test "$withval" = "no"; then
++	ac_cv_lib_ipv6=no
++fi
++fi; 
++save_CFLAGS="${CFLAGS}"
++echo "$as_me:$LINENO: checking for IPv6 stack type" >&5
++echo $ECHO_N "checking for IPv6 stack type... $ECHO_C" >&6
++if test "${v6type+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  v6type=unknown
++v6lib=none
++
++for i in v6d toshiba kame inria zeta linux; do
++	case $i in
++	v6d)
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#include </usr/local/v6/include/sys/types.h>
++#ifdef __V6D__
++yes
++#endif
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  $EGREP "yes" >/dev/null 2>&1; then
++  v6type=$i; v6lib=v6;
++			v6libdir=/usr/local/v6/lib;
++			CFLAGS="-I/usr/local/v6/include $CFLAGS"
++fi
++rm -f conftest*
++
++		;;
++	toshiba)
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#include <sys/param.h>
++#ifdef _TOSHIBA_INET6
++yes
++#endif
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  $EGREP "yes" >/dev/null 2>&1; then
++  v6type=$i; v6lib=inet6;
++			v6libdir=/usr/local/v6/lib;
++			CFLAGS="-DINET6 $CFLAGS"
++fi
++rm -f conftest*
++
++		;;
++	kame)
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#include <netinet/in.h>
++#ifdef __KAME__
++yes
++#endif
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  $EGREP "yes" >/dev/null 2>&1; then
++  v6type=$i; v6lib=inet6;
++			v6libdir=/usr/local/v6/lib;
++			CFLAGS="-DINET6 $CFLAGS"
++fi
++rm -f conftest*
++
++		;;
++	inria)
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#include <netinet/in.h>
++#ifdef IPV6_INRIA_VERSION
++yes
++#endif
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  $EGREP "yes" >/dev/null 2>&1; then
++  v6type=$i; CFLAGS="-DINET6 $CFLAGS"
++fi
++rm -f conftest*
++
++		;;
++	zeta)
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#include <sys/param.h>
++#ifdef _ZETA_MINAMI_INET6
++yes
++#endif
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  $EGREP "yes" >/dev/null 2>&1; then
++  v6type=$i; v6lib=inet6;
++			v6libdir=/usr/local/v6/lib;
++			CFLAGS="-DINET6 $CFLAGS"
++fi
++rm -f conftest*
++
++		;;
++	linux)
++		if test -d /usr/inet6; then
++			v6type=$i
++			v6lib=inet6
++			v6libdir=/usr/inet6
++			CFLAGS="-DINET6 $CFLAGS"
++		fi
++		;;
++	esac
++	if test "$v6type" != "unknown"; then
++		break
++	fi
++done
++
++if test "$v6lib" != "none"; then
++	for dir in $v6libdir /usr/local/v6/lib /usr/local/lib; do
++		if test -d $dir -a -f $dir/lib$v6lib.a; then
++			LIBS="-L$dir -l$v6lib $LIBS"
++			break
++		fi
++	done
++fi
++
++fi
++echo "$as_me:$LINENO: result: $v6type" >&5
++echo "${ECHO_T}$v6type" >&6
++
++echo "$as_me:$LINENO: checking for IPv6" >&5
++echo $ECHO_N "checking for IPv6... $ECHO_C" >&6
++if test "${ac_cv_lib_ipv6+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_NETINET_IN6_H
++#include <netinet/in6.h>
++#endif
++
++int
++main ()
++{
++
++ struct sockaddr_in6 sin6;
++ int s;
++
++ s = socket(AF_INET6, SOCK_DGRAM, 0);
++
++ sin6.sin6_family = AF_INET6;
++ sin6.sin6_port = htons(17);
++ sin6.sin6_addr = in6addr_any;
++ bind(s, (struct sockaddr *)&sin6, sizeof(sin6));
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_ipv6=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_ipv6=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_ipv6" >&5
++echo "${ECHO_T}$ac_cv_lib_ipv6" >&6
++if test "$ac_cv_lib_ipv6" = yes; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_IPV6 1
++_ACEOF
++
++else
++  CFLAGS="${save_CFLAGS}"
++fi
++
++if test "$ac_cv_lib_ipv6" = yes; then
++	echo "$as_me:$LINENO: checking for in6addr_loopback" >&5
++echo $ECHO_N "checking for in6addr_loopback... $ECHO_C" >&6
++if test "${ac_cv_var_in6addr_loopback+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++	cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_NETINET_IN6_H
++#include <netinet/in6.h>
++#endif
++int
++main ()
++{
++
++struct sockaddr_in6 sin6;
++sin6.sin6_addr = in6addr_loopback;
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_var_in6addr_loopback=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_var_in6addr_loopback=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_var_in6addr_loopback" >&5
++echo "${ECHO_T}$ac_cv_var_in6addr_loopback" >&6
++	if test "$ac_cv_var_in6addr_loopback" = yes; then
++		
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_IN6ADDR_LOOPBACK 1
++_ACEOF
++
++	fi
++fi
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for gethostbyname2" >&5
++echo $ECHO_N "checking for gethostbyname2... $ECHO_C" >&6
++if test "${ac_cv_funclib_gethostbyname2+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_gethostbyname2\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" inet6 ip6; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++gethostbyname2()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_gethostbyname2=$ac_lib; else ac_cv_funclib_gethostbyname2=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_gethostbyname2=\${ac_cv_funclib_gethostbyname2-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_gethostbyname2"
++
++if false; then
++	
++for ac_func in gethostbyname2
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# gethostbyname2
++eval "ac_tr_func=HAVE_`echo gethostbyname2 | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_gethostbyname2=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_gethostbyname2=yes"
++	eval "LIB_gethostbyname2="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_gethostbyname2=no"
++	eval "LIB_gethostbyname2="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_gethostbyname2=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_gethostbyname2"; then
++	LIBS="$LIB_gethostbyname2 $LIBS"
++fi
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for res_search" >&5
++echo $ECHO_N "checking for res_search... $ECHO_C" >&6
++if test "${ac_cv_funclib_res_search+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_res_search\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" resolv; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#include <stdio.h>
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_NAMESER_H
++#include <arpa/nameser.h>
++#endif
++#ifdef HAVE_RESOLV_H
++#include <resolv.h>
++#endif
++
++int
++main ()
++{
++res_search(0,0,0,0,0)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_res_search=$ac_lib; else ac_cv_funclib_res_search=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_res_search=\${ac_cv_funclib_res_search-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_res_search"
++
++if false; then
++	
++for ac_func in res_search
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# res_search
++eval "ac_tr_func=HAVE_`echo res_search | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_res_search=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_res_search=yes"
++	eval "LIB_res_search="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_res_search=no"
++	eval "LIB_res_search="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_res_search=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_res_search"; then
++	LIBS="$LIB_res_search $LIBS"
++fi
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for res_nsearch" >&5
++echo $ECHO_N "checking for res_nsearch... $ECHO_C" >&6
++if test "${ac_cv_funclib_res_nsearch+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_res_nsearch\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" resolv; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#include <stdio.h>
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_NAMESER_H
++#include <arpa/nameser.h>
++#endif
++#ifdef HAVE_RESOLV_H
++#include <resolv.h>
++#endif
++
++int
++main ()
++{
++res_nsearch(0,0,0,0,0,0)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_res_nsearch=$ac_lib; else ac_cv_funclib_res_nsearch=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_res_nsearch=\${ac_cv_funclib_res_nsearch-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_res_nsearch"
++
++if false; then
++	
++for ac_func in res_nsearch
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# res_nsearch
++eval "ac_tr_func=HAVE_`echo res_nsearch | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_res_nsearch=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_res_nsearch=yes"
++	eval "LIB_res_nsearch="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_res_nsearch=no"
++	eval "LIB_res_nsearch="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_res_nsearch=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_res_nsearch"; then
++	LIBS="$LIB_res_nsearch $LIBS"
++fi
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for dn_expand" >&5
++echo $ECHO_N "checking for dn_expand... $ECHO_C" >&6
++if test "${ac_cv_funclib_dn_expand+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_dn_expand\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" resolv; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#include <stdio.h>
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_NAMESER_H
++#include <arpa/nameser.h>
++#endif
++#ifdef HAVE_RESOLV_H
++#include <resolv.h>
++#endif
++
++int
++main ()
++{
++dn_expand(0,0,0,0,0)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_dn_expand=$ac_lib; else ac_cv_funclib_dn_expand=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_dn_expand=\${ac_cv_funclib_dn_expand-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_dn_expand"
++
++if false; then
++	
++for ac_func in dn_expand
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# dn_expand
++eval "ac_tr_func=HAVE_`echo dn_expand | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_dn_expand=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_dn_expand=yes"
++	eval "LIB_dn_expand="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_dn_expand=no"
++	eval "LIB_dn_expand="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_dn_expand=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_dn_expand"; then
++	LIBS="$LIB_dn_expand $LIBS"
++fi
++
++
++
++echo "$as_me:$LINENO: checking for _res" >&5
++echo $ECHO_N "checking for _res... $ECHO_C" >&6
++if test "${ac_cv_var__res+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++
++	cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdio.h>
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_NAMESER_H
++#include <arpa/nameser.h>
++#endif
++#ifdef HAVE_RESOLV_H
++#include <resolv.h>
++#endif
++	void * foo() { return &_res; }
++int
++main ()
++{
++foo()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_var__res=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_var__res=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++if test "$ac_cv_var__res" != yes ; then
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++extern int _res;
++int foo() { return _res; }
++int
++main ()
++{
++foo()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_var__res=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_var__res=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++
++fi
++
++ac_foo=`eval echo \\$ac_cv_var__res`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE__RES 1
++_ACEOF
++
++	
++echo "$as_me:$LINENO: checking if _res is properly declared" >&5
++echo $ECHO_N "checking if _res is properly declared... $ECHO_C" >&6
++if test "${ac_cv_var__res_declaration+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdio.h>
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_NAMESER_H
++#include <arpa/nameser.h>
++#endif
++#ifdef HAVE_RESOLV_H
++#include <resolv.h>
++#endif
++extern struct { int foo; } _res;
++int
++main ()
++{
++_res.foo = 1;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_var__res_declaration=no"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_var__res_declaration=yes"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var__res_declaration" >&5
++echo "${ECHO_T}$ac_cv_var__res_declaration" >&6
++if eval "test \"\$ac_cv_var__res_declaration\" = yes"; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE__RES_DECLARATION 1
++_ACEOF
++
++fi
++
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking for working snprintf" >&5
++echo $ECHO_N "checking for working snprintf... $ECHO_C" >&6
++if test "${ac_cv_func_snprintf_working+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_cv_func_snprintf_working=yes
++if test "$cross_compiling" = yes; then
++  :
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#include <stdio.h>
++#include <string.h>
++int main()
++{
++	char foo[3];
++	snprintf(foo, 2, "12");
++	return strcmp(foo, "1");
++}
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  :
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++( exit $ac_status )
++ac_cv_func_snprintf_working=no
++fi
++rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_snprintf_working" >&5
++echo "${ECHO_T}$ac_cv_func_snprintf_working" >&6
++
++if test "$ac_cv_func_snprintf_working" = yes; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_SNPRINTF 1
++_ACEOF
++
++fi
++if test "$ac_cv_func_snprintf_working" = yes; then
++
++if test "$ac_cv_func_snprintf+set" != set -o "$ac_cv_func_snprintf" = yes; then
++echo "$as_me:$LINENO: checking if snprintf needs a prototype" >&5
++echo $ECHO_N "checking if snprintf needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_snprintf_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdio.h>
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int snprintf (struct foo*);
++snprintf(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_snprintf_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_snprintf_noproto=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_snprintf_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_snprintf_noproto" >&6
++if test "$ac_cv_func_snprintf_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_SNPRINTF_PROTO 1
++_ACEOF
++
++fi
++fi
++
++fi
++
++
++echo "$as_me:$LINENO: checking for working vsnprintf" >&5
++echo $ECHO_N "checking for working vsnprintf... $ECHO_C" >&6
++if test "${ac_cv_func_vsnprintf_working+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_cv_func_vsnprintf_working=yes
++if test "$cross_compiling" = yes; then
++  :
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#include <stdio.h>
++#include <string.h>
++#include <stdarg.h>
++
++int foo(int num, ...)
++{
++	char bar[3];
++	va_list arg;
++	va_start(arg, num);
++	vsnprintf(bar, 2, "%s", arg);
++	va_end(arg);
++	return strcmp(bar, "1");
++}
++
++
++int main()
++{
++	return foo(0, "12");
++}
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  :
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++( exit $ac_status )
++ac_cv_func_vsnprintf_working=no
++fi
++rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_vsnprintf_working" >&5
++echo "${ECHO_T}$ac_cv_func_vsnprintf_working" >&6
++
++if test "$ac_cv_func_vsnprintf_working" = yes; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_VSNPRINTF 1
++_ACEOF
++
++fi
++if test "$ac_cv_func_vsnprintf_working" = yes; then
++
++if test "$ac_cv_func_vsnprintf+set" != set -o "$ac_cv_func_vsnprintf" = yes; then
++echo "$as_me:$LINENO: checking if vsnprintf needs a prototype" >&5
++echo $ECHO_N "checking if vsnprintf needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_vsnprintf_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdio.h>
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int vsnprintf (struct foo*);
++vsnprintf(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_vsnprintf_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_vsnprintf_noproto=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_vsnprintf_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_vsnprintf_noproto" >&6
++if test "$ac_cv_func_vsnprintf_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_VSNPRINTF_PROTO 1
++_ACEOF
++
++fi
++fi
++
++fi
++
++
++
++echo "$as_me:$LINENO: checking for working glob" >&5
++echo $ECHO_N "checking for working glob... $ECHO_C" >&6
++if test "${ac_cv_func_glob_working+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_cv_func_glob_working=yes
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#include <stdio.h>
++#include <glob.h>
++int
++main ()
++{
++
++glob(NULL, GLOB_BRACE|GLOB_NOCHECK|GLOB_QUOTE|GLOB_TILDE|
++#ifdef GLOB_MAXPATH
++GLOB_MAXPATH
++#else
++GLOB_LIMIT
++#endif
++,
++NULL, NULL);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  :
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_glob_working=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_glob_working" >&5
++echo "${ECHO_T}$ac_cv_func_glob_working" >&6
++
++if test "$ac_cv_func_glob_working" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_GLOB 1
++_ACEOF
++
++fi
++if test "$ac_cv_func_glob_working" = yes; then
++
++if test "$ac_cv_func_glob+set" != set -o "$ac_cv_func_glob" = yes; then
++echo "$as_me:$LINENO: checking if glob needs a prototype" >&5
++echo $ECHO_N "checking if glob needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_glob_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdio.h>
++#include <glob.h>
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int glob (struct foo*);
++glob(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_glob_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_glob_noproto=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_glob_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_glob_noproto" >&6
++if test "$ac_cv_func_glob_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_GLOB_PROTO 1
++_ACEOF
++
++fi
++fi
++
++fi
++
++if test "$ac_cv_func_glob_working" != yes; then
++	LIB@&t@OBJS="$LIB@&t@OBJS glob.$ac_objext"
++fi
++
++
++if test "$ac_cv_func_glob_working" = yes; then
++  have_glob_h_TRUE=
++  have_glob_h_FALSE='#'
++else
++  have_glob_h_TRUE='#'
++  have_glob_h_FALSE=
++fi
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++for ac_func in 				\
++	asnprintf				\
++	asprintf				\
++	atexit					\
++	cgetent					\
++	getconfattr				\
++	getprogname				\
++	getrlimit				\
++	getspnam				\
++	initstate				\
++	issetugid				\
++	on_exit					\
++	random					\
++	setprogname				\
++	setstate				\
++	strsvis					\
++	strunvis				\
++	strvis					\
++	strvisx					\
++	svis					\
++	sysconf					\
++	sysctl					\
++	uname					\
++	unvis					\
++	vasnprintf				\
++	vasprintf				\
++	vis					\
++
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++
++if test "$ac_cv_func_cgetent" = no; then
++	LIB@&t@OBJS="$LIB@&t@OBJS getcap.$ac_objext"
++fi
++
++
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for getsockopt" >&5
++echo $ECHO_N "checking for getsockopt... $ECHO_C" >&6
++if test "${ac_cv_funclib_getsockopt+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_getsockopt\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++int
++main ()
++{
++getsockopt(0,0,0,0,0)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_getsockopt=$ac_lib; else ac_cv_funclib_getsockopt=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_getsockopt=\${ac_cv_funclib_getsockopt-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_getsockopt"
++
++if false; then
++	
++for ac_func in getsockopt
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# getsockopt
++eval "ac_tr_func=HAVE_`echo getsockopt | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_getsockopt=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_getsockopt=yes"
++	eval "LIB_getsockopt="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_getsockopt=no"
++	eval "LIB_getsockopt="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_getsockopt=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++
++
++
++echo "$as_me:$LINENO: checking for setsockopt" >&5
++echo $ECHO_N "checking for setsockopt... $ECHO_C" >&6
++if test "${ac_cv_funclib_setsockopt+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_setsockopt\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++int
++main ()
++{
++setsockopt(0,0,0,0,0)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_setsockopt=$ac_lib; else ac_cv_funclib_setsockopt=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_setsockopt=\${ac_cv_funclib_setsockopt-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_setsockopt"
++
++if false; then
++	
++for ac_func in setsockopt
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# setsockopt
++eval "ac_tr_func=HAVE_`echo setsockopt | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_setsockopt=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_setsockopt=yes"
++	eval "LIB_setsockopt="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_setsockopt=no"
++	eval "LIB_setsockopt="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_setsockopt=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for hstrerror" >&5
++echo $ECHO_N "checking for hstrerror... $ECHO_C" >&6
++if test "${ac_cv_funclib_hstrerror+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_hstrerror\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" resolv; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif
++int
++main ()
++{
++hstrerror(17)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_hstrerror=$ac_lib; else ac_cv_funclib_hstrerror=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_hstrerror=\${ac_cv_funclib_hstrerror-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_hstrerror"
++
++if false; then
++	
++for ac_func in hstrerror
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# hstrerror
++eval "ac_tr_func=HAVE_`echo hstrerror | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_hstrerror=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_hstrerror=yes"
++	eval "LIB_hstrerror="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_hstrerror=no"
++	eval "LIB_hstrerror="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_hstrerror=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_hstrerror"; then
++	LIBS="$LIB_hstrerror $LIBS"
++fi
++
++if eval "test \"$ac_cv_func_hstrerror\" != yes"; then 
++	LIB@&t@OBJS="$LIB@&t@OBJS hstrerror.$ac_objext"
++fi
++
++
++if test "$ac_cv_func_hstrerror+set" != set -o "$ac_cv_func_hstrerror" = yes; then
++echo "$as_me:$LINENO: checking if hstrerror needs a prototype" >&5
++echo $ECHO_N "checking if hstrerror needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_hstrerror_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int hstrerror (struct foo*);
++hstrerror(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_hstrerror_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_hstrerror_noproto=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_hstrerror_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_hstrerror_noproto" >&6
++if test "$ac_cv_func_hstrerror_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_HSTRERROR_PROTO 1
++_ACEOF
++
++fi
++fi
++
++
++
++if test "$ac_cv_func_asprintf+set" != set -o "$ac_cv_func_asprintf" = yes; then
++echo "$as_me:$LINENO: checking if asprintf needs a prototype" >&5
++echo $ECHO_N "checking if asprintf needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_asprintf_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++	#include <stdio.h>
++	#include <string.h>
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int asprintf (struct foo*);
++asprintf(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_asprintf_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_asprintf_noproto=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_asprintf_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_asprintf_noproto" >&6
++if test "$ac_cv_func_asprintf_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_ASPRINTF_PROTO 1
++_ACEOF
++
++fi
++fi
++
++if test "$ac_cv_func_vasprintf+set" != set -o "$ac_cv_func_vasprintf" = yes; then
++echo "$as_me:$LINENO: checking if vasprintf needs a prototype" >&5
++echo $ECHO_N "checking if vasprintf needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_vasprintf_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++	#include <stdio.h>
++	#include <string.h>
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int vasprintf (struct foo*);
++vasprintf(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_vasprintf_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_vasprintf_noproto=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_vasprintf_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_vasprintf_noproto" >&6
++if test "$ac_cv_func_vasprintf_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_VASPRINTF_PROTO 1
++_ACEOF
++
++fi
++fi
++
++if test "$ac_cv_func_asnprintf+set" != set -o "$ac_cv_func_asnprintf" = yes; then
++echo "$as_me:$LINENO: checking if asnprintf needs a prototype" >&5
++echo $ECHO_N "checking if asnprintf needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_asnprintf_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++	#include <stdio.h>
++	#include <string.h>
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int asnprintf (struct foo*);
++asnprintf(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_asnprintf_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_asnprintf_noproto=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_asnprintf_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_asnprintf_noproto" >&6
++if test "$ac_cv_func_asnprintf_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_ASNPRINTF_PROTO 1
++_ACEOF
++
++fi
++fi
++
++if test "$ac_cv_func_vasnprintf+set" != set -o "$ac_cv_func_vasnprintf" = yes; then
++echo "$as_me:$LINENO: checking if vasnprintf needs a prototype" >&5
++echo $ECHO_N "checking if vasnprintf needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_vasnprintf_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++	#include <stdio.h>
++	#include <string.h>
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int vasnprintf (struct foo*);
++vasnprintf(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_vasnprintf_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_vasnprintf_noproto=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_vasnprintf_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_vasnprintf_noproto" >&6
++if test "$ac_cv_func_vasnprintf_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_VASNPRINTF_PROTO 1
++_ACEOF
++
++fi
++fi
++
++
++
++
++
++echo "$as_me:$LINENO: checking for bswap16" >&5
++echo $ECHO_N "checking for bswap16... $ECHO_C" >&6
++if test "${ac_cv_funclib_bswap16+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_bswap16\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_SYS_BSWAP_H
++#include <sys/bswap.h>
++#endif
++int
++main ()
++{
++bswap16(0)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_bswap16=$ac_lib; else ac_cv_funclib_bswap16=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_bswap16=\${ac_cv_funclib_bswap16-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_bswap16"
++
++if false; then
++	
++for ac_func in bswap16
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# bswap16
++eval "ac_tr_func=HAVE_`echo bswap16 | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_bswap16=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_bswap16=yes"
++	eval "LIB_bswap16="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_bswap16=no"
++	eval "LIB_bswap16="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_bswap16=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for bswap32" >&5
++echo $ECHO_N "checking for bswap32... $ECHO_C" >&6
++if test "${ac_cv_funclib_bswap32+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_bswap32\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_SYS_BSWAP_H
++#include <sys/bswap.h>
++#endif
++int
++main ()
++{
++bswap32(0)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_bswap32=$ac_lib; else ac_cv_funclib_bswap32=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_bswap32=\${ac_cv_funclib_bswap32-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_bswap32"
++
++if false; then
++	
++for ac_func in bswap32
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# bswap32
++eval "ac_tr_func=HAVE_`echo bswap32 | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_bswap32=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_bswap32=yes"
++	eval "LIB_bswap32="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_bswap32=no"
++	eval "LIB_bswap32="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_bswap32=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for pidfile" >&5
++echo $ECHO_N "checking for pidfile... $ECHO_C" >&6
++if test "${ac_cv_funclib_pidfile+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_pidfile\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" util; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_UTIL_H
++#include <util.h>
++#endif
++int
++main ()
++{
++pidfile(0)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_pidfile=$ac_lib; else ac_cv_funclib_pidfile=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_pidfile=\${ac_cv_funclib_pidfile-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_pidfile"
++
++if false; then
++	
++for ac_func in pidfile
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# pidfile
++eval "ac_tr_func=HAVE_`echo pidfile | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_pidfile=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_pidfile=yes"
++	eval "LIB_pidfile="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_pidfile=no"
++	eval "LIB_pidfile="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_pidfile=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for getaddrinfo" >&5
++echo $ECHO_N "checking for getaddrinfo... $ECHO_C" >&6
++if test "${ac_cv_funclib_getaddrinfo+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_getaddrinfo\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif
++int
++main ()
++{
++getaddrinfo(0,0,0,0)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_getaddrinfo=$ac_lib; else ac_cv_funclib_getaddrinfo=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_getaddrinfo=\${ac_cv_funclib_getaddrinfo-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_getaddrinfo"
++
++if false; then
++	
++for ac_func in getaddrinfo
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# getaddrinfo
++eval "ac_tr_func=HAVE_`echo getaddrinfo | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_getaddrinfo=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_getaddrinfo=yes"
++	eval "LIB_getaddrinfo="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_getaddrinfo=no"
++	eval "LIB_getaddrinfo="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_getaddrinfo=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_getaddrinfo"; then
++	LIBS="$LIB_getaddrinfo $LIBS"
++fi
++
++if eval "test \"$ac_cv_func_getaddrinfo\" != yes"; then 
++	LIB@&t@OBJS="$LIB@&t@OBJS getaddrinfo.$ac_objext"
++fi
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for getnameinfo" >&5
++echo $ECHO_N "checking for getnameinfo... $ECHO_C" >&6
++if test "${ac_cv_funclib_getnameinfo+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_getnameinfo\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif
++int
++main ()
++{
++getnameinfo(0,0,0,0,0,0,0)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_getnameinfo=$ac_lib; else ac_cv_funclib_getnameinfo=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_getnameinfo=\${ac_cv_funclib_getnameinfo-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_getnameinfo"
++
++if false; then
++	
++for ac_func in getnameinfo
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# getnameinfo
++eval "ac_tr_func=HAVE_`echo getnameinfo | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_getnameinfo=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_getnameinfo=yes"
++	eval "LIB_getnameinfo="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_getnameinfo=no"
++	eval "LIB_getnameinfo="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_getnameinfo=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_getnameinfo"; then
++	LIBS="$LIB_getnameinfo $LIBS"
++fi
++
++if eval "test \"$ac_cv_func_getnameinfo\" != yes"; then 
++	LIB@&t@OBJS="$LIB@&t@OBJS getnameinfo.$ac_objext"
++fi
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for freeaddrinfo" >&5
++echo $ECHO_N "checking for freeaddrinfo... $ECHO_C" >&6
++if test "${ac_cv_funclib_freeaddrinfo+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_freeaddrinfo\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif
++int
++main ()
++{
++freeaddrinfo(0)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_freeaddrinfo=$ac_lib; else ac_cv_funclib_freeaddrinfo=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_freeaddrinfo=\${ac_cv_funclib_freeaddrinfo-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_freeaddrinfo"
++
++if false; then
++	
++for ac_func in freeaddrinfo
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# freeaddrinfo
++eval "ac_tr_func=HAVE_`echo freeaddrinfo | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_freeaddrinfo=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_freeaddrinfo=yes"
++	eval "LIB_freeaddrinfo="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_freeaddrinfo=no"
++	eval "LIB_freeaddrinfo="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_freeaddrinfo=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_freeaddrinfo"; then
++	LIBS="$LIB_freeaddrinfo $LIBS"
++fi
++
++if eval "test \"$ac_cv_func_freeaddrinfo\" != yes"; then 
++	LIB@&t@OBJS="$LIB@&t@OBJS freeaddrinfo.$ac_objext"
++fi
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for gai_strerror" >&5
++echo $ECHO_N "checking for gai_strerror... $ECHO_C" >&6
++if test "${ac_cv_funclib_gai_strerror+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_gai_strerror\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif
++int
++main ()
++{
++gai_strerror(0)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_gai_strerror=$ac_lib; else ac_cv_funclib_gai_strerror=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_gai_strerror=\${ac_cv_funclib_gai_strerror-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_gai_strerror"
++
++if false; then
++	
++for ac_func in gai_strerror
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# gai_strerror
++eval "ac_tr_func=HAVE_`echo gai_strerror | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_gai_strerror=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_gai_strerror=yes"
++	eval "LIB_gai_strerror="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_gai_strerror=no"
++	eval "LIB_gai_strerror="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_gai_strerror=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_gai_strerror"; then
++	LIBS="$LIB_gai_strerror $LIBS"
++fi
++
++if eval "test \"$ac_cv_func_gai_strerror\" != yes"; then 
++	LIB@&t@OBJS="$LIB@&t@OBJS gai_strerror.$ac_objext"
++fi
++
++
++echo "$as_me:$LINENO: checking for chown" >&5
++echo $ECHO_N "checking for chown... $ECHO_C" >&6
++if test "${ac_cv_func_chown+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char chown (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char chown ();
++/* 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_chown) || defined (__stub___chown)
++choke me
++#else
++char (*f) () = chown;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != chown;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_chown=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_chown=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_chown" >&5
++echo "${ECHO_T}$ac_cv_func_chown" >&6
++if test $ac_cv_func_chown = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_CHOWN 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS chown.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for copyhostent" >&5
++echo $ECHO_N "checking for copyhostent... $ECHO_C" >&6
++if test "${ac_cv_func_copyhostent+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char copyhostent (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char copyhostent ();
++/* 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_copyhostent) || defined (__stub___copyhostent)
++choke me
++#else
++char (*f) () = copyhostent;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != copyhostent;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_copyhostent=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_copyhostent=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_copyhostent" >&5
++echo "${ECHO_T}$ac_cv_func_copyhostent" >&6
++if test $ac_cv_func_copyhostent = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_COPYHOSTENT 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS copyhostent.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for daemon" >&5
++echo $ECHO_N "checking for daemon... $ECHO_C" >&6
++if test "${ac_cv_func_daemon+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char daemon (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char daemon ();
++/* 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_daemon) || defined (__stub___daemon)
++choke me
++#else
++char (*f) () = daemon;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != daemon;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_daemon=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_daemon=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_daemon" >&5
++echo "${ECHO_T}$ac_cv_func_daemon" >&6
++if test $ac_cv_func_daemon = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_DAEMON 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS daemon.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for ecalloc" >&5
++echo $ECHO_N "checking for ecalloc... $ECHO_C" >&6
++if test "${ac_cv_func_ecalloc+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char ecalloc (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char ecalloc ();
++/* 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_ecalloc) || defined (__stub___ecalloc)
++choke me
++#else
++char (*f) () = ecalloc;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != ecalloc;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_ecalloc=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_ecalloc=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_ecalloc" >&5
++echo "${ECHO_T}$ac_cv_func_ecalloc" >&6
++if test $ac_cv_func_ecalloc = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_ECALLOC 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS ecalloc.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for emalloc" >&5
++echo $ECHO_N "checking for emalloc... $ECHO_C" >&6
++if test "${ac_cv_func_emalloc+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char emalloc (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char emalloc ();
++/* 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_emalloc) || defined (__stub___emalloc)
++choke me
++#else
++char (*f) () = emalloc;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != emalloc;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_emalloc=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_emalloc=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_emalloc" >&5
++echo "${ECHO_T}$ac_cv_func_emalloc" >&6
++if test $ac_cv_func_emalloc = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_EMALLOC 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS emalloc.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for erealloc" >&5
++echo $ECHO_N "checking for erealloc... $ECHO_C" >&6
++if test "${ac_cv_func_erealloc+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char erealloc (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char erealloc ();
++/* 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_erealloc) || defined (__stub___erealloc)
++choke me
++#else
++char (*f) () = erealloc;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != erealloc;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_erealloc=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_erealloc=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_erealloc" >&5
++echo "${ECHO_T}$ac_cv_func_erealloc" >&6
++if test $ac_cv_func_erealloc = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_EREALLOC 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS erealloc.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for estrdup" >&5
++echo $ECHO_N "checking for estrdup... $ECHO_C" >&6
++if test "${ac_cv_func_estrdup+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char estrdup (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char estrdup ();
++/* 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_estrdup) || defined (__stub___estrdup)
++choke me
++#else
++char (*f) () = estrdup;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != estrdup;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_estrdup=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_estrdup=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_estrdup" >&5
++echo "${ECHO_T}$ac_cv_func_estrdup" >&6
++if test $ac_cv_func_estrdup = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_ESTRDUP 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS estrdup.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for err" >&5
++echo $ECHO_N "checking for err... $ECHO_C" >&6
++if test "${ac_cv_func_err+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char err (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char err ();
++/* 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_err) || defined (__stub___err)
++choke me
++#else
++char (*f) () = err;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != err;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_err=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_err=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_err" >&5
++echo "${ECHO_T}$ac_cv_func_err" >&6
++if test $ac_cv_func_err = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_ERR 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS err.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for errx" >&5
++echo $ECHO_N "checking for errx... $ECHO_C" >&6
++if test "${ac_cv_func_errx+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char errx (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char errx ();
++/* 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_errx) || defined (__stub___errx)
++choke me
++#else
++char (*f) () = errx;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != errx;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_errx=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_errx=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_errx" >&5
++echo "${ECHO_T}$ac_cv_func_errx" >&6
++if test $ac_cv_func_errx = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_ERRX 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS errx.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for fchown" >&5
++echo $ECHO_N "checking for fchown... $ECHO_C" >&6
++if test "${ac_cv_func_fchown+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char fchown (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char fchown ();
++/* 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_fchown) || defined (__stub___fchown)
++choke me
++#else
++char (*f) () = fchown;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != fchown;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_fchown=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_fchown=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_fchown" >&5
++echo "${ECHO_T}$ac_cv_func_fchown" >&6
++if test $ac_cv_func_fchown = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_FCHOWN 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS fchown.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for flock" >&5
++echo $ECHO_N "checking for flock... $ECHO_C" >&6
++if test "${ac_cv_func_flock+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char flock (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char flock ();
++/* 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_flock) || defined (__stub___flock)
++choke me
++#else
++char (*f) () = flock;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != flock;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_flock=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_flock=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_flock" >&5
++echo "${ECHO_T}$ac_cv_func_flock" >&6
++if test $ac_cv_func_flock = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_FLOCK 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS flock.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for fnmatch" >&5
++echo $ECHO_N "checking for fnmatch... $ECHO_C" >&6
++if test "${ac_cv_func_fnmatch+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char fnmatch (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char fnmatch ();
++/* 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_fnmatch) || defined (__stub___fnmatch)
++choke me
++#else
++char (*f) () = fnmatch;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != fnmatch;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_fnmatch=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_fnmatch=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_fnmatch" >&5
++echo "${ECHO_T}$ac_cv_func_fnmatch" >&6
++if test $ac_cv_func_fnmatch = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_FNMATCH 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS fnmatch.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for freehostent" >&5
++echo $ECHO_N "checking for freehostent... $ECHO_C" >&6
++if test "${ac_cv_func_freehostent+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char freehostent (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char freehostent ();
++/* 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_freehostent) || defined (__stub___freehostent)
++choke me
++#else
++char (*f) () = freehostent;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != freehostent;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_freehostent=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_freehostent=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_freehostent" >&5
++echo "${ECHO_T}$ac_cv_func_freehostent" >&6
++if test $ac_cv_func_freehostent = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_FREEHOSTENT 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS freehostent.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for getcwd" >&5
++echo $ECHO_N "checking for getcwd... $ECHO_C" >&6
++if test "${ac_cv_func_getcwd+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char getcwd (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char getcwd ();
++/* 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_getcwd) || defined (__stub___getcwd)
++choke me
++#else
++char (*f) () = getcwd;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != getcwd;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_getcwd=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_getcwd=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getcwd" >&5
++echo "${ECHO_T}$ac_cv_func_getcwd" >&6
++if test $ac_cv_func_getcwd = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_GETCWD 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS getcwd.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for getdtablesize" >&5
++echo $ECHO_N "checking for getdtablesize... $ECHO_C" >&6
++if test "${ac_cv_func_getdtablesize+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char getdtablesize (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char getdtablesize ();
++/* 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_getdtablesize) || defined (__stub___getdtablesize)
++choke me
++#else
++char (*f) () = getdtablesize;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != getdtablesize;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_getdtablesize=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_getdtablesize=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getdtablesize" >&5
++echo "${ECHO_T}$ac_cv_func_getdtablesize" >&6
++if test $ac_cv_func_getdtablesize = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_GETDTABLESIZE 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS getdtablesize.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for getegid" >&5
++echo $ECHO_N "checking for getegid... $ECHO_C" >&6
++if test "${ac_cv_func_getegid+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char getegid (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char getegid ();
++/* 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_getegid) || defined (__stub___getegid)
++choke me
++#else
++char (*f) () = getegid;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != getegid;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_getegid=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_getegid=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getegid" >&5
++echo "${ECHO_T}$ac_cv_func_getegid" >&6
++if test $ac_cv_func_getegid = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_GETEGID 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS getegid.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for geteuid" >&5
++echo $ECHO_N "checking for geteuid... $ECHO_C" >&6
++if test "${ac_cv_func_geteuid+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char geteuid (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char geteuid ();
++/* 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_geteuid) || defined (__stub___geteuid)
++choke me
++#else
++char (*f) () = geteuid;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != geteuid;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_geteuid=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_geteuid=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_geteuid" >&5
++echo "${ECHO_T}$ac_cv_func_geteuid" >&6
++if test $ac_cv_func_geteuid = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_GETEUID 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS geteuid.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for getgid" >&5
++echo $ECHO_N "checking for getgid... $ECHO_C" >&6
++if test "${ac_cv_func_getgid+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char getgid (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char getgid ();
++/* 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_getgid) || defined (__stub___getgid)
++choke me
++#else
++char (*f) () = getgid;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != getgid;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_getgid=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_getgid=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getgid" >&5
++echo "${ECHO_T}$ac_cv_func_getgid" >&6
++if test $ac_cv_func_getgid = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_GETGID 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS getgid.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for gethostname" >&5
++echo $ECHO_N "checking for gethostname... $ECHO_C" >&6
++if test "${ac_cv_func_gethostname+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char gethostname (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char gethostname ();
++/* 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_gethostname) || defined (__stub___gethostname)
++choke me
++#else
++char (*f) () = gethostname;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != gethostname;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_gethostname=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_gethostname=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_gethostname" >&5
++echo "${ECHO_T}$ac_cv_func_gethostname" >&6
++if test $ac_cv_func_gethostname = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_GETHOSTNAME 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS gethostname.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for getifaddrs" >&5
++echo $ECHO_N "checking for getifaddrs... $ECHO_C" >&6
++if test "${ac_cv_func_getifaddrs+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char getifaddrs (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char getifaddrs ();
++/* 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_getifaddrs) || defined (__stub___getifaddrs)
++choke me
++#else
++char (*f) () = getifaddrs;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != getifaddrs;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_getifaddrs=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_getifaddrs=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getifaddrs" >&5
++echo "${ECHO_T}$ac_cv_func_getifaddrs" >&6
++if test $ac_cv_func_getifaddrs = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_GETIFADDRS 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS getifaddrs.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for getipnodebyaddr" >&5
++echo $ECHO_N "checking for getipnodebyaddr... $ECHO_C" >&6
++if test "${ac_cv_func_getipnodebyaddr+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char getipnodebyaddr (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char getipnodebyaddr ();
++/* 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_getipnodebyaddr) || defined (__stub___getipnodebyaddr)
++choke me
++#else
++char (*f) () = getipnodebyaddr;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != getipnodebyaddr;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_getipnodebyaddr=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_getipnodebyaddr=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getipnodebyaddr" >&5
++echo "${ECHO_T}$ac_cv_func_getipnodebyaddr" >&6
++if test $ac_cv_func_getipnodebyaddr = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_GETIPNODEBYADDR 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS getipnodebyaddr.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for getipnodebyname" >&5
++echo $ECHO_N "checking for getipnodebyname... $ECHO_C" >&6
++if test "${ac_cv_func_getipnodebyname+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char getipnodebyname (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char getipnodebyname ();
++/* 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_getipnodebyname) || defined (__stub___getipnodebyname)
++choke me
++#else
++char (*f) () = getipnodebyname;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != getipnodebyname;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_getipnodebyname=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_getipnodebyname=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getipnodebyname" >&5
++echo "${ECHO_T}$ac_cv_func_getipnodebyname" >&6
++if test $ac_cv_func_getipnodebyname = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_GETIPNODEBYNAME 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS getipnodebyname.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for getopt" >&5
++echo $ECHO_N "checking for getopt... $ECHO_C" >&6
++if test "${ac_cv_func_getopt+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char getopt (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char getopt ();
++/* 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_getopt) || defined (__stub___getopt)
++choke me
++#else
++char (*f) () = getopt;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != getopt;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_getopt=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_getopt=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getopt" >&5
++echo "${ECHO_T}$ac_cv_func_getopt" >&6
++if test $ac_cv_func_getopt = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_GETOPT 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS getopt.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for gettimeofday" >&5
++echo $ECHO_N "checking for gettimeofday... $ECHO_C" >&6
++if test "${ac_cv_func_gettimeofday+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char gettimeofday (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char gettimeofday ();
++/* 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
++char (*f) () = gettimeofday;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != gettimeofday;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_gettimeofday=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_gettimeofday=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_gettimeofday" >&5
++echo "${ECHO_T}$ac_cv_func_gettimeofday" >&6
++if test $ac_cv_func_gettimeofday = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_GETTIMEOFDAY 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS gettimeofday.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for getuid" >&5
++echo $ECHO_N "checking for getuid... $ECHO_C" >&6
++if test "${ac_cv_func_getuid+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char getuid (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char getuid ();
++/* 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_getuid) || defined (__stub___getuid)
++choke me
++#else
++char (*f) () = getuid;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != getuid;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_getuid=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_getuid=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getuid" >&5
++echo "${ECHO_T}$ac_cv_func_getuid" >&6
++if test $ac_cv_func_getuid = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_GETUID 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS getuid.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for getusershell" >&5
++echo $ECHO_N "checking for getusershell... $ECHO_C" >&6
++if test "${ac_cv_func_getusershell+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char getusershell (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char getusershell ();
++/* 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_getusershell) || defined (__stub___getusershell)
++choke me
++#else
++char (*f) () = getusershell;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != getusershell;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_getusershell=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_getusershell=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getusershell" >&5
++echo "${ECHO_T}$ac_cv_func_getusershell" >&6
++if test $ac_cv_func_getusershell = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_GETUSERSHELL 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS getusershell.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for initgroups" >&5
++echo $ECHO_N "checking for initgroups... $ECHO_C" >&6
++if test "${ac_cv_func_initgroups+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char initgroups (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char initgroups ();
++/* 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_initgroups) || defined (__stub___initgroups)
++choke me
++#else
++char (*f) () = initgroups;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != initgroups;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_initgroups=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_initgroups=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_initgroups" >&5
++echo "${ECHO_T}$ac_cv_func_initgroups" >&6
++if test $ac_cv_func_initgroups = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_INITGROUPS 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS initgroups.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for innetgr" >&5
++echo $ECHO_N "checking for innetgr... $ECHO_C" >&6
++if test "${ac_cv_func_innetgr+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char innetgr (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char innetgr ();
++/* 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_innetgr) || defined (__stub___innetgr)
++choke me
++#else
++char (*f) () = innetgr;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != innetgr;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_innetgr=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_innetgr=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_innetgr" >&5
++echo "${ECHO_T}$ac_cv_func_innetgr" >&6
++if test $ac_cv_func_innetgr = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_INNETGR 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS innetgr.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for iruserok" >&5
++echo $ECHO_N "checking for iruserok... $ECHO_C" >&6
++if test "${ac_cv_func_iruserok+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char iruserok (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char iruserok ();
++/* 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_iruserok) || defined (__stub___iruserok)
++choke me
++#else
++char (*f) () = iruserok;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != iruserok;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_iruserok=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_iruserok=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_iruserok" >&5
++echo "${ECHO_T}$ac_cv_func_iruserok" >&6
++if test $ac_cv_func_iruserok = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_IRUSEROK 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS iruserok.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for localtime_r" >&5
++echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
++if test "${ac_cv_func_localtime_r+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char localtime_r (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char localtime_r ();
++/* 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_localtime_r) || defined (__stub___localtime_r)
++choke me
++#else
++char (*f) () = localtime_r;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != localtime_r;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_localtime_r=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_localtime_r=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
++echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
++if test $ac_cv_func_localtime_r = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_LOCALTIME_R 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS localtime_r.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for lstat" >&5
++echo $ECHO_N "checking for lstat... $ECHO_C" >&6
++if test "${ac_cv_func_lstat+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char lstat (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char lstat ();
++/* 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_lstat) || defined (__stub___lstat)
++choke me
++#else
++char (*f) () = lstat;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != lstat;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_lstat=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_lstat=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_lstat" >&5
++echo "${ECHO_T}$ac_cv_func_lstat" >&6
++if test $ac_cv_func_lstat = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_LSTAT 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS lstat.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for memmove" >&5
++echo $ECHO_N "checking for memmove... $ECHO_C" >&6
++if test "${ac_cv_func_memmove+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char memmove (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char memmove ();
++/* 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_memmove) || defined (__stub___memmove)
++choke me
++#else
++char (*f) () = memmove;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != memmove;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_memmove=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_memmove=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_memmove" >&5
++echo "${ECHO_T}$ac_cv_func_memmove" >&6
++if test $ac_cv_func_memmove = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_MEMMOVE 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS memmove.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for mkstemp" >&5
++echo $ECHO_N "checking for mkstemp... $ECHO_C" >&6
++if test "${ac_cv_func_mkstemp+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char mkstemp (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char mkstemp ();
++/* 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_mkstemp) || defined (__stub___mkstemp)
++choke me
++#else
++char (*f) () = mkstemp;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != mkstemp;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_mkstemp=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_mkstemp=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_mkstemp" >&5
++echo "${ECHO_T}$ac_cv_func_mkstemp" >&6
++if test $ac_cv_func_mkstemp = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_MKSTEMP 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS mkstemp.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for putenv" >&5
++echo $ECHO_N "checking for putenv... $ECHO_C" >&6
++if test "${ac_cv_func_putenv+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char putenv (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char putenv ();
++/* 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_putenv) || defined (__stub___putenv)
++choke me
++#else
++char (*f) () = putenv;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != putenv;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_putenv=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_putenv=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_putenv" >&5
++echo "${ECHO_T}$ac_cv_func_putenv" >&6
++if test $ac_cv_func_putenv = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_PUTENV 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS putenv.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for rcmd" >&5
++echo $ECHO_N "checking for rcmd... $ECHO_C" >&6
++if test "${ac_cv_func_rcmd+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char rcmd (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char rcmd ();
++/* 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_rcmd) || defined (__stub___rcmd)
++choke me
++#else
++char (*f) () = rcmd;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != rcmd;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_rcmd=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_rcmd=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_rcmd" >&5
++echo "${ECHO_T}$ac_cv_func_rcmd" >&6
++if test $ac_cv_func_rcmd = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_RCMD 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS rcmd.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for readv" >&5
++echo $ECHO_N "checking for readv... $ECHO_C" >&6
++if test "${ac_cv_func_readv+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char readv (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char readv ();
++/* 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_readv) || defined (__stub___readv)
++choke me
++#else
++char (*f) () = readv;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != readv;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_readv=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_readv=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_readv" >&5
++echo "${ECHO_T}$ac_cv_func_readv" >&6
++if test $ac_cv_func_readv = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_READV 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS readv.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for recvmsg" >&5
++echo $ECHO_N "checking for recvmsg... $ECHO_C" >&6
++if test "${ac_cv_func_recvmsg+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char recvmsg (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char recvmsg ();
++/* 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_recvmsg) || defined (__stub___recvmsg)
++choke me
++#else
++char (*f) () = recvmsg;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != recvmsg;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_recvmsg=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_recvmsg=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_recvmsg" >&5
++echo "${ECHO_T}$ac_cv_func_recvmsg" >&6
++if test $ac_cv_func_recvmsg = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_RECVMSG 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS recvmsg.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for sendmsg" >&5
++echo $ECHO_N "checking for sendmsg... $ECHO_C" >&6
++if test "${ac_cv_func_sendmsg+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char sendmsg (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char sendmsg ();
++/* 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_sendmsg) || defined (__stub___sendmsg)
++choke me
++#else
++char (*f) () = sendmsg;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != sendmsg;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_sendmsg=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_sendmsg=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_sendmsg" >&5
++echo "${ECHO_T}$ac_cv_func_sendmsg" >&6
++if test $ac_cv_func_sendmsg = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_SENDMSG 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS sendmsg.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for setegid" >&5
++echo $ECHO_N "checking for setegid... $ECHO_C" >&6
++if test "${ac_cv_func_setegid+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char setegid (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char setegid ();
++/* 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_setegid) || defined (__stub___setegid)
++choke me
++#else
++char (*f) () = setegid;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != setegid;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_setegid=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_setegid=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_setegid" >&5
++echo "${ECHO_T}$ac_cv_func_setegid" >&6
++if test $ac_cv_func_setegid = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_SETEGID 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS setegid.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for setenv" >&5
++echo $ECHO_N "checking for setenv... $ECHO_C" >&6
++if test "${ac_cv_func_setenv+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char setenv (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char setenv ();
++/* 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
++char (*f) () = setenv;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != setenv;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_setenv=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_setenv=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_setenv" >&5
++echo "${ECHO_T}$ac_cv_func_setenv" >&6
++if test $ac_cv_func_setenv = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_SETENV 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS setenv.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for seteuid" >&5
++echo $ECHO_N "checking for seteuid... $ECHO_C" >&6
++if test "${ac_cv_func_seteuid+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char seteuid (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char seteuid ();
++/* 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_seteuid) || defined (__stub___seteuid)
++choke me
++#else
++char (*f) () = seteuid;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != seteuid;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_seteuid=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_seteuid=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_seteuid" >&5
++echo "${ECHO_T}$ac_cv_func_seteuid" >&6
++if test $ac_cv_func_seteuid = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_SETEUID 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS seteuid.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for strcasecmp" >&5
++echo $ECHO_N "checking for strcasecmp... $ECHO_C" >&6
++if test "${ac_cv_func_strcasecmp+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char strcasecmp (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char strcasecmp ();
++/* 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_strcasecmp) || defined (__stub___strcasecmp)
++choke me
++#else
++char (*f) () = strcasecmp;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != strcasecmp;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_strcasecmp=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_strcasecmp=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strcasecmp" >&5
++echo "${ECHO_T}$ac_cv_func_strcasecmp" >&6
++if test $ac_cv_func_strcasecmp = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRCASECMP 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS strcasecmp.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for strdup" >&5
++echo $ECHO_N "checking for strdup... $ECHO_C" >&6
++if test "${ac_cv_func_strdup+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char strdup (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char strdup ();
++/* 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_strdup) || defined (__stub___strdup)
++choke me
++#else
++char (*f) () = strdup;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != strdup;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_strdup=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_strdup=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strdup" >&5
++echo "${ECHO_T}$ac_cv_func_strdup" >&6
++if test $ac_cv_func_strdup = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRDUP 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS strdup.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for strerror" >&5
++echo $ECHO_N "checking for strerror... $ECHO_C" >&6
++if test "${ac_cv_func_strerror+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char strerror (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char strerror ();
++/* 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
++char (*f) () = strerror;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != strerror;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_strerror=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_strerror=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strerror" >&5
++echo "${ECHO_T}$ac_cv_func_strerror" >&6
++if test $ac_cv_func_strerror = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRERROR 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS strerror.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for strftime" >&5
++echo $ECHO_N "checking for strftime... $ECHO_C" >&6
++if test "${ac_cv_func_strftime+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char strftime (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char strftime ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_strftime) || defined (__stub___strftime)
++choke me
++#else
++char (*f) () = strftime;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != strftime;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_strftime=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_strftime=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strftime" >&5
++echo "${ECHO_T}$ac_cv_func_strftime" >&6
++if test $ac_cv_func_strftime = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRFTIME 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS strftime.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for strlcat" >&5
++echo $ECHO_N "checking for strlcat... $ECHO_C" >&6
++if test "${ac_cv_func_strlcat+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char strlcat (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char strlcat ();
++/* 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_strlcat) || defined (__stub___strlcat)
++choke me
++#else
++char (*f) () = strlcat;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != strlcat;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_strlcat=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_strlcat=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strlcat" >&5
++echo "${ECHO_T}$ac_cv_func_strlcat" >&6
++if test $ac_cv_func_strlcat = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRLCAT 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS strlcat.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for strlcpy" >&5
++echo $ECHO_N "checking for strlcpy... $ECHO_C" >&6
++if test "${ac_cv_func_strlcpy+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char strlcpy (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char strlcpy ();
++/* 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_strlcpy) || defined (__stub___strlcpy)
++choke me
++#else
++char (*f) () = strlcpy;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != strlcpy;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_strlcpy=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_strlcpy=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strlcpy" >&5
++echo "${ECHO_T}$ac_cv_func_strlcpy" >&6
++if test $ac_cv_func_strlcpy = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRLCPY 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS strlcpy.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for strlwr" >&5
++echo $ECHO_N "checking for strlwr... $ECHO_C" >&6
++if test "${ac_cv_func_strlwr+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char strlwr (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char strlwr ();
++/* 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_strlwr) || defined (__stub___strlwr)
++choke me
++#else
++char (*f) () = strlwr;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != strlwr;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_strlwr=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_strlwr=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strlwr" >&5
++echo "${ECHO_T}$ac_cv_func_strlwr" >&6
++if test $ac_cv_func_strlwr = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRLWR 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS strlwr.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for strncasecmp" >&5
++echo $ECHO_N "checking for strncasecmp... $ECHO_C" >&6
++if test "${ac_cv_func_strncasecmp+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char strncasecmp (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char strncasecmp ();
++/* 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_strncasecmp) || defined (__stub___strncasecmp)
++choke me
++#else
++char (*f) () = strncasecmp;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != strncasecmp;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_strncasecmp=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_strncasecmp=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strncasecmp" >&5
++echo "${ECHO_T}$ac_cv_func_strncasecmp" >&6
++if test $ac_cv_func_strncasecmp = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRNCASECMP 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS strncasecmp.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for strndup" >&5
++echo $ECHO_N "checking for strndup... $ECHO_C" >&6
++if test "${ac_cv_func_strndup+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char strndup (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char strndup ();
++/* 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_strndup) || defined (__stub___strndup)
++choke me
++#else
++char (*f) () = strndup;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != strndup;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_strndup=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_strndup=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strndup" >&5
++echo "${ECHO_T}$ac_cv_func_strndup" >&6
++if test $ac_cv_func_strndup = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRNDUP 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS strndup.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for strnlen" >&5
++echo $ECHO_N "checking for strnlen... $ECHO_C" >&6
++if test "${ac_cv_func_strnlen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char strnlen (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char strnlen ();
++/* 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_strnlen) || defined (__stub___strnlen)
++choke me
++#else
++char (*f) () = strnlen;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != strnlen;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_strnlen=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_strnlen=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strnlen" >&5
++echo "${ECHO_T}$ac_cv_func_strnlen" >&6
++if test $ac_cv_func_strnlen = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRNLEN 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS strnlen.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for strptime" >&5
++echo $ECHO_N "checking for strptime... $ECHO_C" >&6
++if test "${ac_cv_func_strptime+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char strptime (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char strptime ();
++/* 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_strptime) || defined (__stub___strptime)
++choke me
++#else
++char (*f) () = strptime;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != strptime;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_strptime=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_strptime=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
++echo "${ECHO_T}$ac_cv_func_strptime" >&6
++if test $ac_cv_func_strptime = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRPTIME 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS strptime.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for strsep" >&5
++echo $ECHO_N "checking for strsep... $ECHO_C" >&6
++if test "${ac_cv_func_strsep+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char strsep (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char strsep ();
++/* 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_strsep) || defined (__stub___strsep)
++choke me
++#else
++char (*f) () = strsep;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != strsep;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_strsep=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_strsep=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strsep" >&5
++echo "${ECHO_T}$ac_cv_func_strsep" >&6
++if test $ac_cv_func_strsep = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRSEP 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS strsep.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for strsep_copy" >&5
++echo $ECHO_N "checking for strsep_copy... $ECHO_C" >&6
++if test "${ac_cv_func_strsep_copy+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char strsep_copy (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char strsep_copy ();
++/* 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_strsep_copy) || defined (__stub___strsep_copy)
++choke me
++#else
++char (*f) () = strsep_copy;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != strsep_copy;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_strsep_copy=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_strsep_copy=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strsep_copy" >&5
++echo "${ECHO_T}$ac_cv_func_strsep_copy" >&6
++if test $ac_cv_func_strsep_copy = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRSEP_COPY 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS strsep_copy.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for strtok_r" >&5
++echo $ECHO_N "checking for strtok_r... $ECHO_C" >&6
++if test "${ac_cv_func_strtok_r+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char strtok_r (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char strtok_r ();
++/* 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_strtok_r) || defined (__stub___strtok_r)
++choke me
++#else
++char (*f) () = strtok_r;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != strtok_r;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_strtok_r=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_strtok_r=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strtok_r" >&5
++echo "${ECHO_T}$ac_cv_func_strtok_r" >&6
++if test $ac_cv_func_strtok_r = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRTOK_R 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS strtok_r.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for strupr" >&5
++echo $ECHO_N "checking for strupr... $ECHO_C" >&6
++if test "${ac_cv_func_strupr+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char strupr (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char strupr ();
++/* 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_strupr) || defined (__stub___strupr)
++choke me
++#else
++char (*f) () = strupr;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != strupr;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_strupr=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_strupr=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strupr" >&5
++echo "${ECHO_T}$ac_cv_func_strupr" >&6
++if test $ac_cv_func_strupr = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRUPR 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS strupr.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for swab" >&5
++echo $ECHO_N "checking for swab... $ECHO_C" >&6
++if test "${ac_cv_func_swab+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char swab (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char swab ();
++/* 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_swab) || defined (__stub___swab)
++choke me
++#else
++char (*f) () = swab;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != swab;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_swab=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_swab=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_swab" >&5
++echo "${ECHO_T}$ac_cv_func_swab" >&6
++if test $ac_cv_func_swab = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_SWAB 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS swab.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for unsetenv" >&5
++echo $ECHO_N "checking for unsetenv... $ECHO_C" >&6
++if test "${ac_cv_func_unsetenv+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char unsetenv (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char unsetenv ();
++/* 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_unsetenv) || defined (__stub___unsetenv)
++choke me
++#else
++char (*f) () = unsetenv;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != unsetenv;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_unsetenv=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_unsetenv=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_unsetenv" >&5
++echo "${ECHO_T}$ac_cv_func_unsetenv" >&6
++if test $ac_cv_func_unsetenv = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_UNSETENV 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS unsetenv.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for verr" >&5
++echo $ECHO_N "checking for verr... $ECHO_C" >&6
++if test "${ac_cv_func_verr+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char verr (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char verr ();
++/* 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_verr) || defined (__stub___verr)
++choke me
++#else
++char (*f) () = verr;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != verr;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_verr=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_verr=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_verr" >&5
++echo "${ECHO_T}$ac_cv_func_verr" >&6
++if test $ac_cv_func_verr = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_VERR 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS verr.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for verrx" >&5
++echo $ECHO_N "checking for verrx... $ECHO_C" >&6
++if test "${ac_cv_func_verrx+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char verrx (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char verrx ();
++/* 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_verrx) || defined (__stub___verrx)
++choke me
++#else
++char (*f) () = verrx;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != verrx;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_verrx=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_verrx=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_verrx" >&5
++echo "${ECHO_T}$ac_cv_func_verrx" >&6
++if test $ac_cv_func_verrx = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_VERRX 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS verrx.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for vsyslog" >&5
++echo $ECHO_N "checking for vsyslog... $ECHO_C" >&6
++if test "${ac_cv_func_vsyslog+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char vsyslog (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char vsyslog ();
++/* 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_vsyslog) || defined (__stub___vsyslog)
++choke me
++#else
++char (*f) () = vsyslog;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != vsyslog;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_vsyslog=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_vsyslog=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_vsyslog" >&5
++echo "${ECHO_T}$ac_cv_func_vsyslog" >&6
++if test $ac_cv_func_vsyslog = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_VSYSLOG 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS vsyslog.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for vwarn" >&5
++echo $ECHO_N "checking for vwarn... $ECHO_C" >&6
++if test "${ac_cv_func_vwarn+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char vwarn (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char vwarn ();
++/* 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_vwarn) || defined (__stub___vwarn)
++choke me
++#else
++char (*f) () = vwarn;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != vwarn;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_vwarn=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_vwarn=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_vwarn" >&5
++echo "${ECHO_T}$ac_cv_func_vwarn" >&6
++if test $ac_cv_func_vwarn = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_VWARN 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS vwarn.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for vwarnx" >&5
++echo $ECHO_N "checking for vwarnx... $ECHO_C" >&6
++if test "${ac_cv_func_vwarnx+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char vwarnx (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char vwarnx ();
++/* 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_vwarnx) || defined (__stub___vwarnx)
++choke me
++#else
++char (*f) () = vwarnx;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != vwarnx;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_vwarnx=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_vwarnx=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_vwarnx" >&5
++echo "${ECHO_T}$ac_cv_func_vwarnx" >&6
++if test $ac_cv_func_vwarnx = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_VWARNX 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS vwarnx.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for warn" >&5
++echo $ECHO_N "checking for warn... $ECHO_C" >&6
++if test "${ac_cv_func_warn+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char warn (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char warn ();
++/* 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_warn) || defined (__stub___warn)
++choke me
++#else
++char (*f) () = warn;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != warn;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_warn=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_warn=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_warn" >&5
++echo "${ECHO_T}$ac_cv_func_warn" >&6
++if test $ac_cv_func_warn = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_WARN 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS warn.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for warnx" >&5
++echo $ECHO_N "checking for warnx... $ECHO_C" >&6
++if test "${ac_cv_func_warnx+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char warnx (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char warnx ();
++/* 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_warnx) || defined (__stub___warnx)
++choke me
++#else
++char (*f) () = warnx;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != warnx;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_warnx=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_warnx=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_warnx" >&5
++echo "${ECHO_T}$ac_cv_func_warnx" >&6
++if test $ac_cv_func_warnx = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_WARNX 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS warnx.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for writev" >&5
++echo $ECHO_N "checking for writev... $ECHO_C" >&6
++if test "${ac_cv_func_writev+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char writev (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char writev ();
++/* 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_writev) || defined (__stub___writev)
++choke me
++#else
++char (*f) () = writev;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != writev;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_writev=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_writev=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_writev" >&5
++echo "${ECHO_T}$ac_cv_func_writev" >&6
++if test $ac_cv_func_writev = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_WRITEV 1
++_ACEOF
++
++else
++  LIB@&t@OBJS="$LIB@&t@OBJS writev.$ac_objext"
++fi
++
++
++
++if test "$ac_cv_func_strndup+set" != set -o "$ac_cv_func_strndup" = yes; then
++echo "$as_me:$LINENO: checking if strndup needs a prototype" >&5
++echo $ECHO_N "checking if strndup needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_strndup_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <string.h>
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int strndup (struct foo*);
++strndup(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_strndup_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_strndup_noproto=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strndup_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_strndup_noproto" >&6
++if test "$ac_cv_func_strndup_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_STRNDUP_PROTO 1
++_ACEOF
++
++fi
++fi
++
++if test "$ac_cv_func_strsep+set" != set -o "$ac_cv_func_strsep" = yes; then
++echo "$as_me:$LINENO: checking if strsep needs a prototype" >&5
++echo $ECHO_N "checking if strsep needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_strsep_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <string.h>
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int strsep (struct foo*);
++strsep(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_strsep_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_strsep_noproto=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strsep_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_strsep_noproto" >&6
++if test "$ac_cv_func_strsep_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_STRSEP_PROTO 1
++_ACEOF
++
++fi
++fi
++
++if test "$ac_cv_func_strtok_r+set" != set -o "$ac_cv_func_strtok_r" = yes; then
++echo "$as_me:$LINENO: checking if strtok_r needs a prototype" >&5
++echo $ECHO_N "checking if strtok_r needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_strtok_r_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <string.h>
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int strtok_r (struct foo*);
++strtok_r(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_strtok_r_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_strtok_r_noproto=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strtok_r_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_strtok_r_noproto" >&6
++if test "$ac_cv_func_strtok_r_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_STRTOK_R_PROTO 1
++_ACEOF
++
++fi
++fi
++
++
++
++if test "$ac_cv_func_strsvis+set" != set -o "$ac_cv_func_strsvis" = yes; then
++echo "$as_me:$LINENO: checking if strsvis needs a prototype" >&5
++echo $ECHO_N "checking if strsvis needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_strsvis_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_VIS_H
++#include <vis.h>
++#endif
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int strsvis (struct foo*);
++strsvis(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_strsvis_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_strsvis_noproto=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strsvis_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_strsvis_noproto" >&6
++if test "$ac_cv_func_strsvis_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_STRSVIS_PROTO 1
++_ACEOF
++
++fi
++fi
++
++if test "$ac_cv_func_strunvis+set" != set -o "$ac_cv_func_strunvis" = yes; then
++echo "$as_me:$LINENO: checking if strunvis needs a prototype" >&5
++echo $ECHO_N "checking if strunvis needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_strunvis_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_VIS_H
++#include <vis.h>
++#endif
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int strunvis (struct foo*);
++strunvis(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_strunvis_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_strunvis_noproto=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strunvis_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_strunvis_noproto" >&6
++if test "$ac_cv_func_strunvis_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_STRUNVIS_PROTO 1
++_ACEOF
++
++fi
++fi
++
++if test "$ac_cv_func_strvis+set" != set -o "$ac_cv_func_strvis" = yes; then
++echo "$as_me:$LINENO: checking if strvis needs a prototype" >&5
++echo $ECHO_N "checking if strvis needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_strvis_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_VIS_H
++#include <vis.h>
++#endif
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int strvis (struct foo*);
++strvis(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_strvis_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_strvis_noproto=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strvis_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_strvis_noproto" >&6
++if test "$ac_cv_func_strvis_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_STRVIS_PROTO 1
++_ACEOF
++
++fi
++fi
++
++if test "$ac_cv_func_strvisx+set" != set -o "$ac_cv_func_strvisx" = yes; then
++echo "$as_me:$LINENO: checking if strvisx needs a prototype" >&5
++echo $ECHO_N "checking if strvisx needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_strvisx_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_VIS_H
++#include <vis.h>
++#endif
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int strvisx (struct foo*);
++strvisx(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_strvisx_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_strvisx_noproto=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strvisx_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_strvisx_noproto" >&6
++if test "$ac_cv_func_strvisx_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_STRVISX_PROTO 1
++_ACEOF
++
++fi
++fi
++
++if test "$ac_cv_func_svis+set" != set -o "$ac_cv_func_svis" = yes; then
++echo "$as_me:$LINENO: checking if svis needs a prototype" >&5
++echo $ECHO_N "checking if svis needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_svis_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_VIS_H
++#include <vis.h>
++#endif
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int svis (struct foo*);
++svis(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_svis_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_svis_noproto=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_svis_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_svis_noproto" >&6
++if test "$ac_cv_func_svis_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_SVIS_PROTO 1
++_ACEOF
++
++fi
++fi
++
++if test "$ac_cv_func_unvis+set" != set -o "$ac_cv_func_unvis" = yes; then
++echo "$as_me:$LINENO: checking if unvis needs a prototype" >&5
++echo $ECHO_N "checking if unvis needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_unvis_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_VIS_H
++#include <vis.h>
++#endif
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int unvis (struct foo*);
++unvis(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_unvis_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_unvis_noproto=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_unvis_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_unvis_noproto" >&6
++if test "$ac_cv_func_unvis_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_UNVIS_PROTO 1
++_ACEOF
++
++fi
++fi
++
++if test "$ac_cv_func_vis+set" != set -o "$ac_cv_func_vis" = yes; then
++echo "$as_me:$LINENO: checking if vis needs a prototype" >&5
++echo $ECHO_N "checking if vis needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_vis_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_VIS_H
++#include <vis.h>
++#endif
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int vis (struct foo*);
++vis(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_vis_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_vis_noproto=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_vis_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_vis_noproto" >&6
++if test "$ac_cv_func_vis_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_VIS_PROTO 1
++_ACEOF
++
++fi
++fi
++
++
++echo "$as_me:$LINENO: checking for inet_aton" >&5
++echo $ECHO_N "checking for inet_aton... $ECHO_C" >&6
++if test "${ac_cv_func_inet_aton+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_INET_H
++#include <arpa/inet.h>
++#endif
++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_inet_aton) || defined (__stub___inet_aton)
++choke me
++#else
++inet_aton(0,0)
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_inet_aton=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_inet_aton=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++
++if eval "test \"\${ac_cv_func_inet_aton}\" = yes"; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_INET_ATON 1
++_ACEOF
++
++  echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++  LIB@&t@OBJS="$LIB@&t@OBJS inet_aton.$ac_objext"
++fi
++
++echo "$as_me:$LINENO: checking for inet_ntop" >&5
++echo $ECHO_N "checking for inet_ntop... $ECHO_C" >&6
++if test "${ac_cv_func_inet_ntop+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_INET_H
++#include <arpa/inet.h>
++#endif
++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_inet_ntop) || defined (__stub___inet_ntop)
++choke me
++#else
++inet_ntop(0, 0, 0, 0)
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_inet_ntop=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_inet_ntop=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++
++if eval "test \"\${ac_cv_func_inet_ntop}\" = yes"; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_INET_NTOP 1
++_ACEOF
++
++  echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++  LIB@&t@OBJS="$LIB@&t@OBJS inet_ntop.$ac_objext"
++fi
++
++echo "$as_me:$LINENO: checking for inet_pton" >&5
++echo $ECHO_N "checking for inet_pton... $ECHO_C" >&6
++if test "${ac_cv_func_inet_pton+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_INET_H
++#include <arpa/inet.h>
++#endif
++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_inet_pton) || defined (__stub___inet_pton)
++choke me
++#else
++inet_pton(0,0,0)
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_inet_pton=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_inet_pton=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++
++if eval "test \"\${ac_cv_func_inet_pton}\" = yes"; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_INET_PTON 1
++_ACEOF
++
++  echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++  LIB@&t@OBJS="$LIB@&t@OBJS inet_pton.$ac_objext"
++fi
++
++
++
++echo "$as_me:$LINENO: checking for sa_len in struct sockaddr" >&5
++echo $ECHO_N "checking for sa_len in struct sockaddr... $ECHO_C" >&6
++if test "${ac_cv_type_struct_sockaddr_sa_len+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <sys/types.h>
++#include <sys/socket.h>
++int
++main ()
++{
++struct sockaddr x; x.sa_len;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_sockaddr_sa_len=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_struct_sockaddr_sa_len=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_sockaddr_sa_len" >&5
++echo "${ECHO_T}$ac_cv_type_struct_sockaddr_sa_len" >&6
++if test "$ac_cv_type_struct_sockaddr_sa_len" = yes; then
++	
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_STRUCT_SOCKADDR_SA_LEN 1
++_ACEOF
++
++	
++fi
++
++
++
++if test "$ac_cv_func_getnameinfo" = "yes"; then
++  
++echo "$as_me:$LINENO: checking if getnameinfo is broken" >&5
++echo $ECHO_N "checking if getnameinfo is broken... $ECHO_C" >&6
++if test "${ac_cv_func_getnameinfo_broken+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test "$cross_compiling" = yes; then
++  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
++See \`config.log' for more details." >&5
++echo "$as_me: error: cannot run test program while cross compiling
++See \`config.log' for more details." >&2;}
++   { (exit 1); exit 1; }; }
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdio.h>
++#include <sys/types.h>
++#include <sys/socket.h>
++#include <netinet/in.h>
++#include <netdb.h>
++
++int
++main(int argc, char **argv)
++{
++  struct sockaddr_in sin;
++  char host[256];
++  memset(&sin, 0, sizeof(sin));
++#ifdef HAVE_STRUCT_SOCKADDR_SA_LEN
++  sin.sin_len = sizeof(sin);
++#endif
++  sin.sin_family = AF_INET;
++  sin.sin_addr.s_addr = 0xffffffff;
++  sin.sin_port = 0;
++  return getnameinfo((struct sockaddr*)&sin, sizeof(sin), host, sizeof(host),
++	      NULL, 0, 0);
++}
++
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_getnameinfo_broken=no
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++( exit $ac_status )
++ac_cv_func_getnameinfo_broken=yes
++fi
++rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getnameinfo_broken" >&5
++echo "${ECHO_T}$ac_cv_func_getnameinfo_broken" >&6
++  if test "$ac_cv_func_getnameinfo_broken" = yes; then
++	LIB@&t@OBJS="$LIB@&t@OBJS getnameinfo.$ac_objext"
++  fi
++fi
++
++if test "$ac_cv_func_getaddrinfo" = "yes"; then
++  
++echo "$as_me:$LINENO: checking if getaddrinfo handles numeric services" >&5
++echo $ECHO_N "checking if getaddrinfo handles numeric services... $ECHO_C" >&6
++if test "${ac_cv_func_getaddrinfo_numserv+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test "$cross_compiling" = yes; then
++  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
++See \`config.log' for more details." >&5
++echo "$as_me: error: cannot run test program while cross compiling
++See \`config.log' for more details." >&2;}
++   { (exit 1); exit 1; }; }
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdio.h>
++#include <sys/types.h>
++#include <sys/socket.h>
++#include <netdb.h>
++
++int
++main(int argc, char **argv)
++{
++	struct addrinfo hints, *ai;
++	memset(&hints, 0, sizeof(hints));
++	hints.ai_flags = AI_PASSIVE;
++	hints.ai_socktype = SOCK_STREAM;
++	hints.ai_family = PF_UNSPEC;
++	if(getaddrinfo(NULL, "17", &hints, &ai) != 0)
++		return 1;
++	return 0;
++}
++
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_getaddrinfo_numserv=yes
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++( exit $ac_status )
++ac_cv_func_getaddrinfo_numserv=no
++fi
++rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getaddrinfo_numserv" >&5
++echo "${ECHO_T}$ac_cv_func_getaddrinfo_numserv" >&6
++  if test "$ac_cv_func_getaddrinfo_numserv" = no; then
++	LIB@&t@OBJS="$LIB@&t@OBJS getaddrinfo.$ac_objext"
++	LIB@&t@OBJS="$LIB@&t@OBJS freeaddrinfo.$ac_objext"
++  fi
++fi
++
++
++if test "$ac_cv_func_setenv+set" != set -o "$ac_cv_func_setenv" = yes; then
++echo "$as_me:$LINENO: checking if setenv needs a prototype" >&5
++echo $ECHO_N "checking if setenv needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_setenv_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdlib.h>
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int setenv (struct foo*);
++setenv(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_setenv_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_setenv_noproto=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_setenv_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_setenv_noproto" >&6
++if test "$ac_cv_func_setenv_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_SETENV_PROTO 1
++_ACEOF
++
++fi
++fi
++
++
++if test "$ac_cv_func_unsetenv+set" != set -o "$ac_cv_func_unsetenv" = yes; then
++echo "$as_me:$LINENO: checking if unsetenv needs a prototype" >&5
++echo $ECHO_N "checking if unsetenv needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_unsetenv_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdlib.h>
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int unsetenv (struct foo*);
++unsetenv(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_unsetenv_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_unsetenv_noproto=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_unsetenv_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_unsetenv_noproto" >&6
++if test "$ac_cv_func_unsetenv_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_UNSETENV_PROTO 1
++_ACEOF
++
++fi
++fi
++
++
++if test "$ac_cv_func_gethostname+set" != set -o "$ac_cv_func_gethostname" = yes; then
++echo "$as_me:$LINENO: checking if gethostname needs a prototype" >&5
++echo $ECHO_N "checking if gethostname needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_gethostname_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <unistd.h>
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int gethostname (struct foo*);
++gethostname(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_gethostname_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_gethostname_noproto=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_gethostname_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_gethostname_noproto" >&6
++if test "$ac_cv_func_gethostname_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_GETHOSTNAME_PROTO 1
++_ACEOF
++
++fi
++fi
++
++
++if test "$ac_cv_func_mkstemp+set" != set -o "$ac_cv_func_mkstemp" = yes; then
++echo "$as_me:$LINENO: checking if mkstemp needs a prototype" >&5
++echo $ECHO_N "checking if mkstemp needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_mkstemp_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <unistd.h>
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int mkstemp (struct foo*);
++mkstemp(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_mkstemp_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_mkstemp_noproto=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_mkstemp_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_mkstemp_noproto" >&6
++if test "$ac_cv_func_mkstemp_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_MKSTEMP_PROTO 1
++_ACEOF
++
++fi
++fi
++
++
++if test "$ac_cv_func_getusershell+set" != set -o "$ac_cv_func_getusershell" = yes; then
++echo "$as_me:$LINENO: checking if getusershell needs a prototype" >&5
++echo $ECHO_N "checking if getusershell needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_getusershell_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <unistd.h>
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int getusershell (struct foo*);
++getusershell(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_getusershell_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_getusershell_noproto=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getusershell_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_getusershell_noproto" >&6
++if test "$ac_cv_func_getusershell_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_GETUSERSHELL_PROTO 1
++_ACEOF
++
++fi
++fi
++
++
++
++if test "$ac_cv_func_inet_aton+set" != set -o "$ac_cv_func_inet_aton" = yes; then
++echo "$as_me:$LINENO: checking if inet_aton needs a prototype" >&5
++echo $ECHO_N "checking if inet_aton needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_inet_aton_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_INET_H
++#include <arpa/inet.h>
++#endif
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int inet_aton (struct foo*);
++inet_aton(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_inet_aton_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_inet_aton_noproto=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_inet_aton_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_inet_aton_noproto" >&6
++if test "$ac_cv_func_inet_aton_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_INET_ATON_PROTO 1
++_ACEOF
++
++fi
++fi
++
++
++
++
++
++echo "$as_me:$LINENO: checking for crypt" >&5
++echo $ECHO_N "checking for crypt... $ECHO_C" >&6
++if test "${ac_cv_funclib_crypt+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_crypt\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" crypt; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++crypt()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_crypt=$ac_lib; else ac_cv_funclib_crypt=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_crypt=\${ac_cv_funclib_crypt-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_crypt"
++
++if false; then
++	
++for ac_func in crypt
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# crypt
++eval "ac_tr_func=HAVE_`echo crypt | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_crypt=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_crypt=yes"
++	eval "LIB_crypt="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_crypt=no"
++	eval "LIB_crypt="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_crypt=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking if gethostbyname is compatible with system prototype" >&5
++echo $ECHO_N "checking if gethostbyname is compatible with system prototype... $ECHO_C" >&6
++if test "${ac_cv_func_gethostbyname_proto_compat+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_INET_H
++#include <arpa/inet.h>
++#endif
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif
++
++int
++main ()
++{
++struct hostent *gethostbyname(const char *);
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_gethostbyname_proto_compat=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_gethostbyname_proto_compat=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname_proto_compat" >&5
++echo "${ECHO_T}$ac_cv_func_gethostbyname_proto_compat" >&6
++
++if test "$ac_cv_func_gethostbyname_proto_compat" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define GETHOSTBYNAME_PROTO_COMPATIBLE 1
++_ACEOF
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking if gethostbyaddr is compatible with system prototype" >&5
++echo $ECHO_N "checking if gethostbyaddr is compatible with system prototype... $ECHO_C" >&6
++if test "${ac_cv_func_gethostbyaddr_proto_compat+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_INET_H
++#include <arpa/inet.h>
++#endif
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif
++
++int
++main ()
++{
++struct hostent *gethostbyaddr(const void *, size_t, int);
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_gethostbyaddr_proto_compat=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_gethostbyaddr_proto_compat=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyaddr_proto_compat" >&5
++echo "${ECHO_T}$ac_cv_func_gethostbyaddr_proto_compat" >&6
++
++if test "$ac_cv_func_gethostbyaddr_proto_compat" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define GETHOSTBYADDR_PROTO_COMPATIBLE 1
++_ACEOF
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking if getservbyname is compatible with system prototype" >&5
++echo $ECHO_N "checking if getservbyname is compatible with system prototype... $ECHO_C" >&6
++if test "${ac_cv_func_getservbyname_proto_compat+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_INET_H
++#include <arpa/inet.h>
++#endif
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif
++
++int
++main ()
++{
++struct servent *getservbyname(const char *, const char *);
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_getservbyname_proto_compat=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_getservbyname_proto_compat=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getservbyname_proto_compat" >&5
++echo "${ECHO_T}$ac_cv_func_getservbyname_proto_compat" >&6
++
++if test "$ac_cv_func_getservbyname_proto_compat" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define GETSERVBYNAME_PROTO_COMPATIBLE 1
++_ACEOF
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking if getsockname is compatible with system prototype" >&5
++echo $ECHO_N "checking if getsockname is compatible with system prototype... $ECHO_C" >&6
++if test "${ac_cv_func_getsockname_proto_compat+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++
++int
++main ()
++{
++int getsockname(int, struct sockaddr*, socklen_t*);
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_getsockname_proto_compat=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_getsockname_proto_compat=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getsockname_proto_compat" >&5
++echo "${ECHO_T}$ac_cv_func_getsockname_proto_compat" >&6
++
++if test "$ac_cv_func_getsockname_proto_compat" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define GETSOCKNAME_PROTO_COMPATIBLE 1
++_ACEOF
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking if openlog is compatible with system prototype" >&5
++echo $ECHO_N "checking if openlog is compatible with system prototype... $ECHO_C" >&6
++if test "${ac_cv_func_openlog_proto_compat+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#ifdef HAVE_SYSLOG_H
++#include <syslog.h>
++#endif
++
++int
++main ()
++{
++void openlog(const char *, int, int);
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_openlog_proto_compat=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_openlog_proto_compat=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_openlog_proto_compat" >&5
++echo "${ECHO_T}$ac_cv_func_openlog_proto_compat" >&6
++
++if test "$ac_cv_func_openlog_proto_compat" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define OPENLOG_PROTO_COMPATIBLE 1
++_ACEOF
++
++fi
++
++
++
++
++if test "$ac_cv_func_crypt+set" != set -o "$ac_cv_func_crypt" = yes; then
++echo "$as_me:$LINENO: checking if crypt needs a prototype" >&5
++echo $ECHO_N "checking if crypt needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_crypt_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#ifdef HAVE_CRYPT_H
++#include <crypt.h>
++#endif
++#ifdef HAVE_UNISTD_H
++#include <unistd.h>
++#endif
++
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int crypt (struct foo*);
++crypt(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_crypt_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_crypt_noproto=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_crypt_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_crypt_noproto" >&6
++if test "$ac_cv_func_crypt_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_CRYPT_PROTO 1
++_ACEOF
++
++fi
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking for h_errno" >&5
++echo $ECHO_N "checking for h_errno... $ECHO_C" >&6
++if test "${ac_cv_var_h_errno+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++
++	cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif
++	void * foo() { return &h_errno; }
++int
++main ()
++{
++foo()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_var_h_errno=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_var_h_errno=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++if test "$ac_cv_var_h_errno" != yes ; then
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++extern int h_errno;
++int foo() { return h_errno; }
++int
++main ()
++{
++foo()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_var_h_errno=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_var_h_errno=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++
++fi
++
++ac_foo=`eval echo \\$ac_cv_var_h_errno`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_H_ERRNO 1
++_ACEOF
++
++	
++echo "$as_me:$LINENO: checking if h_errno is properly declared" >&5
++echo $ECHO_N "checking if h_errno is properly declared... $ECHO_C" >&6
++if test "${ac_cv_var_h_errno_declaration+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif
++extern struct { int foo; } h_errno;
++int
++main ()
++{
++h_errno.foo = 1;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_var_h_errno_declaration=no"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_var_h_errno_declaration=yes"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var_h_errno_declaration" >&5
++echo "${ECHO_T}$ac_cv_var_h_errno_declaration" >&6
++if eval "test \"\$ac_cv_var_h_errno_declaration\" = yes"; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_H_ERRNO_DECLARATION 1
++_ACEOF
++
++fi
++
++
++fi
++
++
++
++echo "$as_me:$LINENO: checking for h_errlist" >&5
++echo $ECHO_N "checking for h_errlist... $ECHO_C" >&6
++if test "${ac_cv_var_h_errlist+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++
++	cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif
++	void * foo() { return &h_errlist; }
++int
++main ()
++{
++foo()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_var_h_errlist=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_var_h_errlist=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++if test "$ac_cv_var_h_errlist" != yes ; then
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++extern int h_errlist;
++int foo() { return h_errlist; }
++int
++main ()
++{
++foo()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_var_h_errlist=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_var_h_errlist=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++
++fi
++
++ac_foo=`eval echo \\$ac_cv_var_h_errlist`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_H_ERRLIST 1
++_ACEOF
++
++	
++echo "$as_me:$LINENO: checking if h_errlist is properly declared" >&5
++echo $ECHO_N "checking if h_errlist is properly declared... $ECHO_C" >&6
++if test "${ac_cv_var_h_errlist_declaration+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif
++extern struct { int foo; } h_errlist;
++int
++main ()
++{
++h_errlist.foo = 1;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_var_h_errlist_declaration=no"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_var_h_errlist_declaration=yes"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var_h_errlist_declaration" >&5
++echo "${ECHO_T}$ac_cv_var_h_errlist_declaration" >&6
++if eval "test \"\$ac_cv_var_h_errlist_declaration\" = yes"; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_H_ERRLIST_DECLARATION 1
++_ACEOF
++
++fi
++
++
++fi
++
++
++
++echo "$as_me:$LINENO: checking for h_nerr" >&5
++echo $ECHO_N "checking for h_nerr... $ECHO_C" >&6
++if test "${ac_cv_var_h_nerr+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++
++	cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif
++	void * foo() { return &h_nerr; }
++int
++main ()
++{
++foo()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_var_h_nerr=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_var_h_nerr=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++if test "$ac_cv_var_h_nerr" != yes ; then
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++extern int h_nerr;
++int foo() { return h_nerr; }
++int
++main ()
++{
++foo()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_var_h_nerr=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_var_h_nerr=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++
++fi
++
++ac_foo=`eval echo \\$ac_cv_var_h_nerr`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_H_NERR 1
++_ACEOF
++
++	
++echo "$as_me:$LINENO: checking if h_nerr is properly declared" >&5
++echo $ECHO_N "checking if h_nerr is properly declared... $ECHO_C" >&6
++if test "${ac_cv_var_h_nerr_declaration+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif
++extern struct { int foo; } h_nerr;
++int
++main ()
++{
++h_nerr.foo = 1;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_var_h_nerr_declaration=no"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_var_h_nerr_declaration=yes"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var_h_nerr_declaration" >&5
++echo "${ECHO_T}$ac_cv_var_h_nerr_declaration" >&6
++if eval "test \"\$ac_cv_var_h_nerr_declaration\" = yes"; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_H_NERR_DECLARATION 1
++_ACEOF
++
++fi
++
++
++fi
++
++
++
++echo "$as_me:$LINENO: checking for __progname" >&5
++echo $ECHO_N "checking for __progname... $ECHO_C" >&6
++if test "${ac_cv_var___progname+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++
++	cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_ERR_H
++#include <err.h>
++#endif
++	void * foo() { return &__progname; }
++int
++main ()
++{
++foo()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_var___progname=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_var___progname=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++if test "$ac_cv_var___progname" != yes ; then
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++extern int __progname;
++int foo() { return __progname; }
++int
++main ()
++{
++foo()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_var___progname=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_var___progname=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++
++fi
++
++ac_foo=`eval echo \\$ac_cv_var___progname`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE___PROGNAME 1
++_ACEOF
++
++	
++echo "$as_me:$LINENO: checking if __progname is properly declared" >&5
++echo $ECHO_N "checking if __progname is properly declared... $ECHO_C" >&6
++if test "${ac_cv_var___progname_declaration+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_ERR_H
++#include <err.h>
++#endif
++extern struct { int foo; } __progname;
++int
++main ()
++{
++__progname.foo = 1;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_var___progname_declaration=no"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_var___progname_declaration=yes"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var___progname_declaration" >&5
++echo "${ECHO_T}$ac_cv_var___progname_declaration" >&6
++if eval "test \"\$ac_cv_var___progname_declaration\" = yes"; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE___PROGNAME_DECLARATION 1
++_ACEOF
++
++fi
++
++
++fi
++
++
++
++echo "$as_me:$LINENO: checking if optarg is properly declared" >&5
++echo $ECHO_N "checking if optarg is properly declared... $ECHO_C" >&6
++if test "${ac_cv_var_optarg_declaration+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdlib.h>
++#ifdef HAVE_UNISTD_H
++#include <unistd.h>
++#endif
++extern struct { int foo; } optarg;
++int
++main ()
++{
++optarg.foo = 1;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_var_optarg_declaration=no"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_var_optarg_declaration=yes"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var_optarg_declaration" >&5
++echo "${ECHO_T}$ac_cv_var_optarg_declaration" >&6
++if eval "test \"\$ac_cv_var_optarg_declaration\" = yes"; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_OPTARG_DECLARATION 1
++_ACEOF
++
++fi
++
++
++
++echo "$as_me:$LINENO: checking if optind is properly declared" >&5
++echo $ECHO_N "checking if optind is properly declared... $ECHO_C" >&6
++if test "${ac_cv_var_optind_declaration+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdlib.h>
++#ifdef HAVE_UNISTD_H
++#include <unistd.h>
++#endif
++extern struct { int foo; } optind;
++int
++main ()
++{
++optind.foo = 1;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_var_optind_declaration=no"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_var_optind_declaration=yes"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var_optind_declaration" >&5
++echo "${ECHO_T}$ac_cv_var_optind_declaration" >&6
++if eval "test \"\$ac_cv_var_optind_declaration\" = yes"; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_OPTIND_DECLARATION 1
++_ACEOF
++
++fi
++
++
++
++echo "$as_me:$LINENO: checking if opterr is properly declared" >&5
++echo $ECHO_N "checking if opterr is properly declared... $ECHO_C" >&6
++if test "${ac_cv_var_opterr_declaration+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdlib.h>
++#ifdef HAVE_UNISTD_H
++#include <unistd.h>
++#endif
++extern struct { int foo; } opterr;
++int
++main ()
++{
++opterr.foo = 1;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_var_opterr_declaration=no"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_var_opterr_declaration=yes"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var_opterr_declaration" >&5
++echo "${ECHO_T}$ac_cv_var_opterr_declaration" >&6
++if eval "test \"\$ac_cv_var_opterr_declaration\" = yes"; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_OPTERR_DECLARATION 1
++_ACEOF
++
++fi
++
++
++
++echo "$as_me:$LINENO: checking if optopt is properly declared" >&5
++echo $ECHO_N "checking if optopt is properly declared... $ECHO_C" >&6
++if test "${ac_cv_var_optopt_declaration+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdlib.h>
++#ifdef HAVE_UNISTD_H
++#include <unistd.h>
++#endif
++extern struct { int foo; } optopt;
++int
++main ()
++{
++optopt.foo = 1;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_var_optopt_declaration=no"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_var_optopt_declaration=yes"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var_optopt_declaration" >&5
++echo "${ECHO_T}$ac_cv_var_optopt_declaration" >&6
++if eval "test \"\$ac_cv_var_optopt_declaration\" = yes"; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_OPTOPT_DECLARATION 1
++_ACEOF
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking if environ is properly declared" >&5
++echo $ECHO_N "checking if environ is properly declared... $ECHO_C" >&6
++if test "${ac_cv_var_environ_declaration+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdlib.h>
++extern struct { int foo; } environ;
++int
++main ()
++{
++environ.foo = 1;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_var_environ_declaration=no"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_var_environ_declaration=yes"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var_environ_declaration" >&5
++echo "${ECHO_T}$ac_cv_var_environ_declaration" >&6
++if eval "test \"\$ac_cv_var_environ_declaration\" = yes"; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_ENVIRON_DECLARATION 1
++_ACEOF
++
++fi
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
++echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
++if test "${ac_cv_type_struct_tm_tm_gmtoff+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <time.h>
++int
++main ()
++{
++struct tm x; x.tm_gmtoff;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_tm_tm_gmtoff=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_struct_tm_tm_gmtoff=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_tm_tm_gmtoff" >&5
++echo "${ECHO_T}$ac_cv_type_struct_tm_tm_gmtoff" >&6
++if test "$ac_cv_type_struct_tm_tm_gmtoff" = yes; then
++	
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_STRUCT_TM_TM_GMTOFF 1
++_ACEOF
++
++	
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking for tm_zone in struct tm" >&5
++echo $ECHO_N "checking for tm_zone in struct tm... $ECHO_C" >&6
++if test "${ac_cv_type_struct_tm_tm_zone+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <time.h>
++int
++main ()
++{
++struct tm x; x.tm_zone;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_tm_tm_zone=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_struct_tm_tm_zone=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_tm_tm_zone" >&5
++echo "${ECHO_T}$ac_cv_type_struct_tm_tm_zone" >&6
++if test "$ac_cv_type_struct_tm_tm_zone" = yes; then
++	
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_STRUCT_TM_TM_ZONE 1
++_ACEOF
++
++	
++fi
++
++
++
++
++
++echo "$as_me:$LINENO: checking for timezone" >&5
++echo $ECHO_N "checking for timezone... $ECHO_C" >&6
++if test "${ac_cv_var_timezone+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++
++	cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <time.h>
++	void * foo() { return &timezone; }
++int
++main ()
++{
++foo()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_var_timezone=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_var_timezone=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++if test "$ac_cv_var_timezone" != yes ; then
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++extern int timezone;
++int foo() { return timezone; }
++int
++main ()
++{
++foo()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_var_timezone=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_var_timezone=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++
++fi
++
++ac_foo=`eval echo \\$ac_cv_var_timezone`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_TIMEZONE 1
++_ACEOF
++
++	
++echo "$as_me:$LINENO: checking if timezone is properly declared" >&5
++echo $ECHO_N "checking if timezone is properly declared... $ECHO_C" >&6
++if test "${ac_cv_var_timezone_declaration+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <time.h>
++extern struct { int foo; } timezone;
++int
++main ()
++{
++timezone.foo = 1;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_var_timezone_declaration=no"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_var_timezone_declaration=yes"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var_timezone_declaration" >&5
++echo "${ECHO_T}$ac_cv_var_timezone_declaration" >&6
++if eval "test \"\$ac_cv_var_timezone_declaration\" = yes"; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_TIMEZONE_DECLARATION 1
++_ACEOF
++
++fi
++
++
++fi
++
++
++echo "$as_me:$LINENO: checking for altzone" >&5
++echo $ECHO_N "checking for altzone... $ECHO_C" >&6
++if test "${ac_cv_var_altzone+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++
++	cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <time.h>
++	void * foo() { return &altzone; }
++int
++main ()
++{
++foo()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_var_altzone=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_var_altzone=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++if test "$ac_cv_var_altzone" != yes ; then
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++extern int altzone;
++int foo() { return altzone; }
++int
++main ()
++{
++foo()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_var_altzone=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_var_altzone=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++
++fi
++
++ac_foo=`eval echo \\$ac_cv_var_altzone`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_ALTZONE 1
++_ACEOF
++
++	
++echo "$as_me:$LINENO: checking if altzone is properly declared" >&5
++echo $ECHO_N "checking if altzone is properly declared... $ECHO_C" >&6
++if test "${ac_cv_var_altzone_declaration+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <time.h>
++extern struct { int foo; } altzone;
++int
++main ()
++{
++altzone.foo = 1;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_var_altzone_declaration=no"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_var_altzone_declaration=yes"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var_altzone_declaration" >&5
++echo "${ECHO_T}$ac_cv_var_altzone_declaration" >&6
++if eval "test \"\$ac_cv_var_altzone_declaration\" = yes"; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_ALTZONE_DECLARATION 1
++_ACEOF
++
++fi
++
++
++fi
++
++
++
++
++cv=`echo "sa_family_t" | sed 'y%./+- %__p__%'`
++echo "$as_me:$LINENO: checking for sa_family_t" >&5
++echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6
++if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <sys/types.h>
++#if STDC_HEADERS
++#include <stdlib.h>
++#include <stddef.h>
++#endif
++#include <sys/socket.h>
++int
++main ()
++{
++sa_family_t foo;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_type_$cv=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_type_$cv=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++ac_foo=`eval echo \\$ac_cv_type_$cv`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++  ac_tr_hdr=HAVE_`echo sa_family_t | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
++if false; then
++	echo "$as_me:$LINENO: checking for sa_family_t" >&5
++echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6
++if test "${ac_cv_type_sa_family_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++int
++main ()
++{
++if ((sa_family_t *) 0)
++  return 0;
++if (sizeof (sa_family_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_sa_family_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_sa_family_t=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_sa_family_t" >&5
++echo "${ECHO_T}$ac_cv_type_sa_family_t" >&6
++if test $ac_cv_type_sa_family_t = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_SA_FAMILY_T 1
++_ACEOF
++
++
++fi
++
++fi
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_hdr 1
++_ACEOF
++
++fi
++
++
++
++cv=`echo "socklen_t" | sed 'y%./+- %__p__%'`
++echo "$as_me:$LINENO: checking for socklen_t" >&5
++echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
++if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <sys/types.h>
++#if STDC_HEADERS
++#include <stdlib.h>
++#include <stddef.h>
++#endif
++#include <sys/socket.h>
++int
++main ()
++{
++socklen_t foo;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_type_$cv=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_type_$cv=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++ac_foo=`eval echo \\$ac_cv_type_$cv`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++  ac_tr_hdr=HAVE_`echo socklen_t | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
++if false; then
++	echo "$as_me:$LINENO: checking for socklen_t" >&5
++echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
++if test "${ac_cv_type_socklen_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++int
++main ()
++{
++if ((socklen_t *) 0)
++  return 0;
++if (sizeof (socklen_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_socklen_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_socklen_t=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
++echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
++if test $ac_cv_type_socklen_t = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_SOCKLEN_T 1
++_ACEOF
++
++
++fi
++
++fi
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_hdr 1
++_ACEOF
++
++fi
++
++
++
++cv=`echo "struct sockaddr" | sed 'y%./+- %__p__%'`
++echo "$as_me:$LINENO: checking for struct sockaddr" >&5
++echo $ECHO_N "checking for struct sockaddr... $ECHO_C" >&6
++if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <sys/types.h>
++#if STDC_HEADERS
++#include <stdlib.h>
++#include <stddef.h>
++#endif
++#include <sys/socket.h>
++int
++main ()
++{
++struct sockaddr foo;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_type_$cv=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_type_$cv=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++ac_foo=`eval echo \\$ac_cv_type_$cv`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++  ac_tr_hdr=HAVE_`echo struct sockaddr | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
++if false; then
++	echo "$as_me:$LINENO: checking for struct sockaddr" >&5
++echo $ECHO_N "checking for struct sockaddr... $ECHO_C" >&6
++if test "${ac_cv_type_struct_sockaddr+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++int
++main ()
++{
++if ((struct sockaddr *) 0)
++  return 0;
++if (sizeof (struct sockaddr))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_sockaddr=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_struct_sockaddr=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_sockaddr" >&5
++echo "${ECHO_T}$ac_cv_type_struct_sockaddr" >&6
++if test $ac_cv_type_struct_sockaddr = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRUCT_SOCKADDR 1
++_ACEOF
++
++
++fi
++
++fi
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_hdr 1
++_ACEOF
++
++fi
++
++
++
++cv=`echo "struct sockaddr_storage" | sed 'y%./+- %__p__%'`
++echo "$as_me:$LINENO: checking for struct sockaddr_storage" >&5
++echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6
++if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <sys/types.h>
++#if STDC_HEADERS
++#include <stdlib.h>
++#include <stddef.h>
++#endif
++#include <sys/socket.h>
++int
++main ()
++{
++struct sockaddr_storage foo;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_type_$cv=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_type_$cv=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++ac_foo=`eval echo \\$ac_cv_type_$cv`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++  ac_tr_hdr=HAVE_`echo struct sockaddr_storage | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
++if false; then
++	echo "$as_me:$LINENO: checking for struct sockaddr_storage" >&5
++echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6
++if test "${ac_cv_type_struct_sockaddr_storage+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++int
++main ()
++{
++if ((struct sockaddr_storage *) 0)
++  return 0;
++if (sizeof (struct sockaddr_storage))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_sockaddr_storage=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_struct_sockaddr_storage=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_sockaddr_storage" >&5
++echo "${ECHO_T}$ac_cv_type_struct_sockaddr_storage" >&6
++if test $ac_cv_type_struct_sockaddr_storage = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRUCT_SOCKADDR_STORAGE 1
++_ACEOF
++
++
++fi
++
++fi
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_hdr 1
++_ACEOF
++
++fi
++
++
++
++cv=`echo "struct addrinfo" | sed 'y%./+- %__p__%'`
++echo "$as_me:$LINENO: checking for struct addrinfo" >&5
++echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6
++if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <sys/types.h>
++#if STDC_HEADERS
++#include <stdlib.h>
++#include <stddef.h>
++#endif
++#include <netdb.h>
++int
++main ()
++{
++struct addrinfo foo;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_type_$cv=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_type_$cv=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++ac_foo=`eval echo \\$ac_cv_type_$cv`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++  ac_tr_hdr=HAVE_`echo struct addrinfo | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
++if false; then
++	echo "$as_me:$LINENO: checking for struct addrinfo" >&5
++echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6
++if test "${ac_cv_type_struct_addrinfo+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++int
++main ()
++{
++if ((struct addrinfo *) 0)
++  return 0;
++if (sizeof (struct addrinfo))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_addrinfo=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_struct_addrinfo=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_addrinfo" >&5
++echo "${ECHO_T}$ac_cv_type_struct_addrinfo" >&6
++if test $ac_cv_type_struct_addrinfo = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRUCT_ADDRINFO 1
++_ACEOF
++
++
++fi
++
++fi
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_hdr 1
++_ACEOF
++
++fi
++
++
++
++cv=`echo "struct ifaddrs" | sed 'y%./+- %__p__%'`
++echo "$as_me:$LINENO: checking for struct ifaddrs" >&5
++echo $ECHO_N "checking for struct ifaddrs... $ECHO_C" >&6
++if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <sys/types.h>
++#if STDC_HEADERS
++#include <stdlib.h>
++#include <stddef.h>
++#endif
++#include <ifaddrs.h>
++int
++main ()
++{
++struct ifaddrs foo;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_type_$cv=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_type_$cv=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++ac_foo=`eval echo \\$ac_cv_type_$cv`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++  ac_tr_hdr=HAVE_`echo struct ifaddrs | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
++if false; then
++	echo "$as_me:$LINENO: checking for struct ifaddrs" >&5
++echo $ECHO_N "checking for struct ifaddrs... $ECHO_C" >&6
++if test "${ac_cv_type_struct_ifaddrs+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++int
++main ()
++{
++if ((struct ifaddrs *) 0)
++  return 0;
++if (sizeof (struct ifaddrs))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_ifaddrs=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_struct_ifaddrs=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_ifaddrs" >&5
++echo "${ECHO_T}$ac_cv_type_struct_ifaddrs" >&6
++if test $ac_cv_type_struct_ifaddrs = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRUCT_IFADDRS 1
++_ACEOF
++
++
++fi
++
++fi
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_hdr 1
++_ACEOF
++
++fi
++
++
++
++cv=`echo "struct iovec" | sed 'y%./+- %__p__%'`
++echo "$as_me:$LINENO: checking for struct iovec" >&5
++echo $ECHO_N "checking for struct iovec... $ECHO_C" >&6
++if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <sys/types.h>
++#if STDC_HEADERS
++#include <stdlib.h>
++#include <stddef.h>
++#endif
++
++#include <sys/types.h>
++#include <sys/uio.h>
++
++int
++main ()
++{
++struct iovec foo;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_type_$cv=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_type_$cv=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++ac_foo=`eval echo \\$ac_cv_type_$cv`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++  ac_tr_hdr=HAVE_`echo struct iovec | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
++if false; then
++	echo "$as_me:$LINENO: checking for struct iovec" >&5
++echo $ECHO_N "checking for struct iovec... $ECHO_C" >&6
++if test "${ac_cv_type_struct_iovec+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++int
++main ()
++{
++if ((struct iovec *) 0)
++  return 0;
++if (sizeof (struct iovec))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_iovec=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_struct_iovec=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_iovec" >&5
++echo "${ECHO_T}$ac_cv_type_struct_iovec" >&6
++if test $ac_cv_type_struct_iovec = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRUCT_IOVEC 1
++_ACEOF
++
++
++fi
++
++fi
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_hdr 1
++_ACEOF
++
++fi
++
++
++
++cv=`echo "struct msghdr" | sed 'y%./+- %__p__%'`
++echo "$as_me:$LINENO: checking for struct msghdr" >&5
++echo $ECHO_N "checking for struct msghdr... $ECHO_C" >&6
++if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <sys/types.h>
++#if STDC_HEADERS
++#include <stdlib.h>
++#include <stddef.h>
++#endif
++
++#include <sys/types.h>
++#include <sys/socket.h>
++
++int
++main ()
++{
++struct msghdr foo;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_type_$cv=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_type_$cv=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++ac_foo=`eval echo \\$ac_cv_type_$cv`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++  ac_tr_hdr=HAVE_`echo struct msghdr | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
++if false; then
++	echo "$as_me:$LINENO: checking for struct msghdr" >&5
++echo $ECHO_N "checking for struct msghdr... $ECHO_C" >&6
++if test "${ac_cv_type_struct_msghdr+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++int
++main ()
++{
++if ((struct msghdr *) 0)
++  return 0;
++if (sizeof (struct msghdr))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_msghdr=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_struct_msghdr=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_msghdr" >&5
++echo "${ECHO_T}$ac_cv_type_struct_msghdr" >&6
++if test $ac_cv_type_struct_msghdr = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRUCT_MSGHDR 1
++_ACEOF
++
++
++fi
++
++fi
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_hdr 1
++_ACEOF
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking for struct winsize" >&5
++echo $ECHO_N "checking for struct winsize... $ECHO_C" >&6
++if test "${ac_cv_struct_winsize+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++ac_cv_struct_winsize=no
++for i in sys/termios.h sys/ioctl.h; do
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <$i>
++
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  $EGREP "struct[ 	]*winsize" >/dev/null 2>&1; then
++  ac_cv_struct_winsize=yes; break
++fi
++rm -f conftest*
++done
++
++fi
++
++if test "$ac_cv_struct_winsize" = "yes"; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_STRUCT_WINSIZE 1
++_ACEOF
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_struct_winsize" >&5
++echo "${ECHO_T}$ac_cv_struct_winsize" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <termios.h>
++
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  $EGREP "ws_xpixel" >/dev/null 2>&1; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_WS_XPIXEL 1
++_ACEOF
++
++fi
++rm -f conftest*
++
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <termios.h>
++
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  $EGREP "ws_ypixel" >/dev/null 2>&1; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_WS_YPIXEL 1
++_ACEOF
++
++fi
++rm -f conftest*
++
++
++
++
++
++echo "$as_me:$LINENO: checking for struct spwd" >&5
++echo $ECHO_N "checking for struct spwd... $ECHO_C" >&6
++if test "${ac_cv_struct_spwd+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <pwd.h>
++#ifdef HAVE_SHADOW_H
++#include <shadow.h>
++#endif
++int
++main ()
++{
++struct spwd foo;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_struct_spwd=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_struct_spwd=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++
++fi
++
++echo "$as_me:$LINENO: result: $ac_cv_struct_spwd" >&5
++echo "${ECHO_T}$ac_cv_struct_spwd" >&6
++
++if test "$ac_cv_struct_spwd" = "yes"; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_STRUCT_SPWD 1
++_ACEOF
++
++fi
++
++
++
++
++
++#fi
++LIB_roken="\$(top_builddir)/lib/vers/libvers.la $LIB_roken"
++
++
++# Check whether --enable-otp or --disable-otp was given.
++if test "${enable_otp+set}" = set; then
++  enableval="$enable_otp"
++  
++fi; 
++if test "$enable_otp" = yes -a "$db_type" = unknown; then
++	{ { echo "$as_me:$LINENO: error: OTP requires a NDBM/DB compatible library" >&5
++echo "$as_me: error: OTP requires a NDBM/DB compatible library" >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test "$enable_otp" != no; then
++	if test "$db_type" != unknown; then
++		enable_otp=yes
++	else
++		enable_otp=no
++	fi
++fi
++if test "$enable_otp" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define OTP 1
++_ACEOF
++
++fi
++echo "$as_me:$LINENO: checking whether to enable OTP library" >&5
++echo $ECHO_N "checking whether to enable OTP library... $ECHO_C" >&6
++echo "$as_me:$LINENO: result: $enable_otp" >&5
++echo "${ECHO_T}$enable_otp" >&6
++
++
++if test "$enable_otp" = yes; then
++  OTP_TRUE=
++  OTP_FALSE='#'
++else
++  OTP_TRUE='#'
++  OTP_FALSE=
++fi
++
++
++
++# Check whether --enable-osfc2 or --disable-osfc2 was given.
++if test "${enable_osfc2+set}" = set; then
++  enableval="$enable_osfc2"
++  
++fi; 
++LIB_security=
++if test "$enable_osfc2" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_OSFC2 1
++_ACEOF
++
++	LIB_security=-lsecurity
++fi
++
++
++
++# Check whether --enable-mmap or --disable-mmap was given.
++if test "${enable_mmap+set}" = set; then
++  enableval="$enable_mmap"
++  
++fi; 
++if test "$enable_mmap" = "no"; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NO_MMAP 1
++_ACEOF
++
++fi
++
++# Extract the first word of "nroff", so it can be a program name with args.
++set dummy nroff; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_path_NROFF+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  case $NROFF in
++  [\\/]* | ?:[\\/]*)
++  ac_cv_path_NROFF="$NROFF" # Let the user override the test with a path.
++  ;;
++  *)
++  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_path_NROFF="$as_dir/$ac_word$ac_exec_ext"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++  ;;
++esac
++fi
++NROFF=$ac_cv_path_NROFF
++
++if test -n "$NROFF"; then
++  echo "$as_me:$LINENO: result: $NROFF" >&5
++echo "${ECHO_T}$NROFF" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++# Extract the first word of "groff", so it can be a program name with args.
++set dummy groff; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_path_GROFF+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  case $GROFF in
++  [\\/]* | ?:[\\/]*)
++  ac_cv_path_GROFF="$GROFF" # Let the user override the test with a path.
++  ;;
++  *)
++  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_path_GROFF="$as_dir/$ac_word$ac_exec_ext"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++  ;;
++esac
++fi
++GROFF=$ac_cv_path_GROFF
++
++if test -n "$GROFF"; then
++  echo "$as_me:$LINENO: result: $GROFF" >&5
++echo "${ECHO_T}$GROFF" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++echo "$as_me:$LINENO: checking how to format man pages" >&5
++echo $ECHO_N "checking how to format man pages... $ECHO_C" >&6
++if test "${ac_cv_sys_man_format+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat > conftest.1 << END
++.Dd January 1, 1970
++.Dt CONFTEST 1
++.Sh NAME
++.Nm conftest
++.Nd
++foobar
++END
++
++if test "$NROFF" ; then
++	for i in "-mdoc" "-mandoc"; do
++		if "$NROFF" $i conftest.1 2> /dev/null | \
++			grep Jan > /dev/null 2>&1 ; then
++			ac_cv_sys_man_format="$NROFF $i"
++			break
++		fi
++	done
++fi
++if test "$ac_cv_sys_man_format" = "" -a "$GROFF" ; then
++	for i in "-mdoc" "-mandoc"; do
++		if "$GROFF" -Tascii $i conftest.1 2> /dev/null | \
++			grep Jan > /dev/null 2>&1 ; then
++			ac_cv_sys_man_format="$GROFF -Tascii $i"
++			break
++		fi
++	done
++fi
++if test "$ac_cv_sys_man_format"; then
++	ac_cv_sys_man_format="$ac_cv_sys_man_format \$< > \$@"
++fi
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_sys_man_format" >&5
++echo "${ECHO_T}$ac_cv_sys_man_format" >&6
++if test "$ac_cv_sys_man_format"; then
++	CATMAN="$ac_cv_sys_man_format"
++	
++fi
++
++
++if test "$CATMAN"; then
++  CATMAN_TRUE=
++  CATMAN_FALSE='#'
++else
++  CATMAN_TRUE='#'
++  CATMAN_FALSE=
++fi
++
++echo "$as_me:$LINENO: checking extension of pre-formatted manual pages" >&5
++echo $ECHO_N "checking extension of pre-formatted manual pages... $ECHO_C" >&6
++if test "${ac_cv_sys_catman_ext+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if grep _suffix /etc/man.conf > /dev/null 2>&1; then
++	ac_cv_sys_catman_ext=0
++else
++	ac_cv_sys_catman_ext=number
++fi
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_sys_catman_ext" >&5
++echo "${ECHO_T}$ac_cv_sys_catman_ext" >&6
++if test "$ac_cv_sys_catman_ext" = number; then
++	CATMANEXT='$$section'
++else
++	CATMANEXT=0
++fi
++
++
++
++
++
++# Check whether --with-readline or --without-readline was given.
++if test "${with_readline+set}" = set; then
++  withval="$with_readline"
++  
++fi; 
++
++# Check whether --with-readline-lib or --without-readline-lib was given.
++if test "${with_readline_lib+set}" = set; then
++  withval="$with_readline_lib"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-readline-lib" >&5
++echo "$as_me: error: No argument for --with-readline-lib" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_readline" = "X"; then
++  with_readline=yes
++fi
++fi; 
++
++# Check whether --with-readline-include or --without-readline-include was given.
++if test "${with_readline_include+set}" = set; then
++  withval="$with_readline_include"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-readline-include" >&5
++echo "$as_me: error: No argument for --with-readline-include" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_readline" = "X"; then
++  with_readline=yes
++fi
++fi; 
++
++# Check whether --with-readline-config or --without-readline-config was given.
++if test "${with_readline_config+set}" = set; then
++  withval="$with_readline_config"
++  
++fi; 
++
++
++
++echo "$as_me:$LINENO: checking for readline" >&5
++echo $ECHO_N "checking for readline... $ECHO_C" >&6
++
++case "$with_readline" in
++yes|"") d='' ;;
++no)	d= ;;
++*)	d="$with_readline" ;;
++esac
++
++header_dirs=
++lib_dirs=
++for i in $d /usr; do
++	if test "$with_readline_include" = ""; then
++		if test -d "$i/include/readline"; then
++			header_dirs="$header_dirs $i/include/readline"
++		fi
++		if test -d "$i/include"; then
++			header_dirs="$header_dirs $i/include"
++		fi
++	fi
++	if test "$with_readline_lib" = ""; then
++		if test -d "$i/lib$abilibdirext"; then
++			lib_dirs="$lib_dirs $i/lib$abilibdirext"
++		fi
++	fi
++done
++
++if test "$with_readline_include"; then
++	header_dirs="$with_readline_include $header_dirs"
++fi
++if test "$with_readline_lib"; then
++	lib_dirs="$with_readline_lib $lib_dirs"
++fi
++
++if test "$with_readline_config" = ""; then
++	with_readline_config=''
++fi
++
++readline_cflags=
++readline_libs=
++
++case "$with_readline_config" in
++yes|no|"")
++	;;
++*)
++	readline_cflags="`$with_readline_config --cflags 2>&1`"
++	readline_libs="`$with_readline_config --libs 2>&1`"
++	;;
++esac
++
++found=no
++if test "$with_readline" != no; then
++	save_CFLAGS="$CFLAGS"
++	save_LIBS="$LIBS"
++	if test "$readline_cflags" -a "$readline_libs"; then
++		CFLAGS="$readline_cflags $save_CFLAGS"
++		LIBS="$readline_libs $save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdio.h>
++ #include <readline.h>
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  
++			INCLUDE_readline="$readline_cflags"
++			LIB_readline="$readline_libs"
++			echo "$as_me:$LINENO: result: from $with_readline_config" >&5
++echo "${ECHO_T}from $with_readline_config" >&6
++			found=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	fi
++	if test "$found" = no; then
++		ires= lres=
++		for i in $header_dirs; do
++			CFLAGS="-I$i $save_CFLAGS"
++			cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdio.h>
++ #include <readline.h>
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ires=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++		done
++		for i in $lib_dirs; do
++			LIBS="-L$i -lreadline  $save_LIBS"
++			cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdio.h>
++ #include <readline.h>
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  lres=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++		done
++		if test "$ires" -a "$lres" -a "$with_readline" != "no"; then
++			DIR_readline=
++			INCLUDE_readline="-I$ires"
++			LIB_readline="-L$lres -lreadline "
++			found=yes
++			echo "$as_me:$LINENO: result: headers $ires, libraries $lres" >&5
++echo "${ECHO_T}headers $ires, libraries $lres" >&6
++		fi
++	fi
++	CFLAGS="$save_CFLAGS"
++	LIBS="$save_LIBS"
++fi
++
++if test "$found" = yes; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define READLINE 1
++_ACEOF
++
++	with_readline=yes
++else
++	with_readline=no
++	DIR_readline=
++	INCLUDE_readline=
++	LIB_readline=
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++
++
++
++
++
++
++
++# Check whether --with-hesiod or --without-hesiod was given.
++if test "${with_hesiod+set}" = set; then
++  withval="$with_hesiod"
++  
++fi; 
++
++# Check whether --with-hesiod-lib or --without-hesiod-lib was given.
++if test "${with_hesiod_lib+set}" = set; then
++  withval="$with_hesiod_lib"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-hesiod-lib" >&5
++echo "$as_me: error: No argument for --with-hesiod-lib" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_hesiod" = "X"; then
++  with_hesiod=yes
++fi
++fi; 
++
++# Check whether --with-hesiod-include or --without-hesiod-include was given.
++if test "${with_hesiod_include+set}" = set; then
++  withval="$with_hesiod_include"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-hesiod-include" >&5
++echo "$as_me: error: No argument for --with-hesiod-include" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_hesiod" = "X"; then
++  with_hesiod=yes
++fi
++fi; 
++
++# Check whether --with-hesiod-config or --without-hesiod-config was given.
++if test "${with_hesiod_config+set}" = set; then
++  withval="$with_hesiod_config"
++  
++fi; 
++
++
++
++echo "$as_me:$LINENO: checking for hesiod" >&5
++echo $ECHO_N "checking for hesiod... $ECHO_C" >&6
++
++case "$with_hesiod" in
++yes|"") d='' ;;
++no)	d= ;;
++*)	d="$with_hesiod" ;;
++esac
++
++header_dirs=
++lib_dirs=
++for i in $d /usr; do
++	if test "$with_hesiod_include" = ""; then
++		if test -d "$i/include/hesiod"; then
++			header_dirs="$header_dirs $i/include/hesiod"
++		fi
++		if test -d "$i/include"; then
++			header_dirs="$header_dirs $i/include"
++		fi
++	fi
++	if test "$with_hesiod_lib" = ""; then
++		if test -d "$i/lib$abilibdirext"; then
++			lib_dirs="$lib_dirs $i/lib$abilibdirext"
++		fi
++	fi
++done
++
++if test "$with_hesiod_include"; then
++	header_dirs="$with_hesiod_include $header_dirs"
++fi
++if test "$with_hesiod_lib"; then
++	lib_dirs="$with_hesiod_lib $lib_dirs"
++fi
++
++if test "$with_hesiod_config" = ""; then
++	with_hesiod_config=''
++fi
++
++hesiod_cflags=
++hesiod_libs=
++
++case "$with_hesiod_config" in
++yes|no|"")
++	;;
++*)
++	hesiod_cflags="`$with_hesiod_config --cflags 2>&1`"
++	hesiod_libs="`$with_hesiod_config --libs 2>&1`"
++	;;
++esac
++
++found=no
++if test "$with_hesiod" != no; then
++	save_CFLAGS="$CFLAGS"
++	save_LIBS="$LIBS"
++	if test "$hesiod_cflags" -a "$hesiod_libs"; then
++		CFLAGS="$hesiod_cflags $save_CFLAGS"
++		LIBS="$hesiod_libs $save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <hesiod.h>
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  
++			INCLUDE_hesiod="$hesiod_cflags"
++			LIB_hesiod="$hesiod_libs"
++			echo "$as_me:$LINENO: result: from $with_hesiod_config" >&5
++echo "${ECHO_T}from $with_hesiod_config" >&6
++			found=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	fi
++	if test "$found" = no; then
++		ires= lres=
++		for i in $header_dirs; do
++			CFLAGS="-I$i $save_CFLAGS"
++			cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <hesiod.h>
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ires=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++		done
++		for i in $lib_dirs; do
++			LIBS="-L$i -lhesiod  $save_LIBS"
++			cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <hesiod.h>
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  lres=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++		done
++		if test "$ires" -a "$lres" -a "$with_hesiod" != "no"; then
++			DIR_hesiod=
++			INCLUDE_hesiod="-I$ires"
++			LIB_hesiod="-L$lres -lhesiod "
++			found=yes
++			echo "$as_me:$LINENO: result: headers $ires, libraries $lres" >&5
++echo "${ECHO_T}headers $ires, libraries $lres" >&6
++		fi
++	fi
++	CFLAGS="$save_CFLAGS"
++	LIBS="$save_LIBS"
++fi
++
++if test "$found" = yes; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define HESIOD 1
++_ACEOF
++
++	with_hesiod=yes
++else
++	with_hesiod=no
++	DIR_hesiod=
++	INCLUDE_hesiod=
++	LIB_hesiod=
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++
++
++
++
++
++
++
++# Check whether --with-sl or --without-sl was given.
++if test "${with_sl+set}" = set; then
++  withval="$with_sl"
++  
++fi; 
++
++# Check whether --with-sl-lib or --without-sl-lib was given.
++if test "${with_sl_lib+set}" = set; then
++  withval="$with_sl_lib"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-sl-lib" >&5
++echo "$as_me: error: No argument for --with-sl-lib" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_sl" = "X"; then
++  with_sl=yes
++fi
++fi; 
++
++# Check whether --with-sl-include or --without-sl-include was given.
++if test "${with_sl_include+set}" = set; then
++  withval="$with_sl_include"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-sl-include" >&5
++echo "$as_me: error: No argument for --with-sl-include" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_sl" = "X"; then
++  with_sl=yes
++fi
++fi; 
++
++# Check whether --with-sl-config or --without-sl-config was given.
++if test "${with_sl_config+set}" = set; then
++  withval="$with_sl_config"
++  
++fi; 
++
++
++
++echo "$as_me:$LINENO: checking for sl" >&5
++echo $ECHO_N "checking for sl... $ECHO_C" >&6
++
++case "$with_sl" in
++yes|"") d='' ;;
++no)	d= ;;
++*)	d="$with_sl" ;;
++esac
++
++header_dirs=
++lib_dirs=
++for i in $d /usr; do
++	if test "$with_sl_include" = ""; then
++		if test -d "$i/include/sl"; then
++			header_dirs="$header_dirs $i/include/sl"
++		fi
++		if test -d "$i/include"; then
++			header_dirs="$header_dirs $i/include"
++		fi
++	fi
++	if test "$with_sl_lib" = ""; then
++		if test -d "$i/lib$abilibdirext"; then
++			lib_dirs="$lib_dirs $i/lib$abilibdirext"
++		fi
++	fi
++done
++
++if test "$with_sl_include"; then
++	header_dirs="$with_sl_include $header_dirs"
++fi
++if test "$with_sl_lib"; then
++	lib_dirs="$with_sl_lib $lib_dirs"
++fi
++
++if test "$with_sl_config" = ""; then
++	with_sl_config=''
++fi
++
++sl_cflags=
++sl_libs=
++
++case "$with_sl_config" in
++yes|no|"")
++	;;
++*)
++	sl_cflags="`$with_sl_config --cflags 2>&1`"
++	sl_libs="`$with_sl_config --libs 2>&1`"
++	;;
++esac
++
++found=no
++if test "$with_sl" != no; then
++	save_CFLAGS="$CFLAGS"
++	save_LIBS="$LIBS"
++	if test "$sl_cflags" -a "$sl_libs"; then
++		CFLAGS="$sl_cflags $save_CFLAGS"
++		LIBS="$sl_libs $save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  
++			INCLUDE_sl="$sl_cflags"
++			LIB_sl="$sl_libs"
++			echo "$as_me:$LINENO: result: from $with_sl_config" >&5
++echo "${ECHO_T}from $with_sl_config" >&6
++			found=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	fi
++	if test "$found" = no; then
++		ires= lres=
++		for i in $header_dirs; do
++			CFLAGS="-I$i $save_CFLAGS"
++			cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ires=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++		done
++		for i in $lib_dirs; do
++			LIBS="-L$i -lsl  $save_LIBS"
++			cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  lres=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++		done
++		if test "$ires" -a "$lres" -a "$with_sl" != "no"; then
++			DIR_sl=
++			INCLUDE_sl="-I$ires"
++			LIB_sl="-L$lres -lsl "
++			found=yes
++			echo "$as_me:$LINENO: result: headers $ires, libraries $lres" >&5
++echo "${ECHO_T}headers $ires, libraries $lres" >&6
++		fi
++	fi
++	CFLAGS="$save_CFLAGS"
++	LIBS="$save_LIBS"
++fi
++
++if test "$found" = yes; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define SL 1
++_ACEOF
++
++	with_sl=yes
++else
++	with_sl=no
++	DIR_sl=
++	INCLUDE_sl=
++	LIB_sl=
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++
++
++
++
++if ! test "$with_sl" = yes; then
++	DIR_sl="sl"
++	LIB_sl='$(top_builddir)/lib/sl/libsl.la'
++fi
++
++
++# Check whether --with-ss or --without-ss was given.
++if test "${with_ss+set}" = set; then
++  withval="$with_ss"
++  
++fi; 
++
++# Check whether --with-ss-lib or --without-ss-lib was given.
++if test "${with_ss_lib+set}" = set; then
++  withval="$with_ss_lib"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-ss-lib" >&5
++echo "$as_me: error: No argument for --with-ss-lib" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_ss" = "X"; then
++  with_ss=yes
++fi
++fi; 
++
++# Check whether --with-ss-include or --without-ss-include was given.
++if test "${with_ss_include+set}" = set; then
++  withval="$with_ss_include"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-ss-include" >&5
++echo "$as_me: error: No argument for --with-ss-include" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_ss" = "X"; then
++  with_ss=yes
++fi
++fi; 
++
++# Check whether --with-ss-config or --without-ss-config was given.
++if test "${with_ss_config+set}" = set; then
++  withval="$with_ss_config"
++  
++fi; 
++
++
++
++echo "$as_me:$LINENO: checking for ss" >&5
++echo $ECHO_N "checking for ss... $ECHO_C" >&6
++
++case "$with_ss" in
++yes|"") d='' ;;
++no)	d= ;;
++*)	d="$with_ss" ;;
++esac
++
++header_dirs=
++lib_dirs=
++for i in $d /usr; do
++	if test "$with_ss_include" = ""; then
++		if test -d "$i/include/ss"; then
++			header_dirs="$header_dirs $i/include/ss"
++		fi
++		if test -d "$i/include"; then
++			header_dirs="$header_dirs $i/include"
++		fi
++	fi
++	if test "$with_ss_lib" = ""; then
++		if test -d "$i/lib$abilibdirext"; then
++			lib_dirs="$lib_dirs $i/lib$abilibdirext"
++		fi
++	fi
++done
++
++if test "$with_ss_include"; then
++	header_dirs="$with_ss_include $header_dirs"
++fi
++if test "$with_ss_lib"; then
++	lib_dirs="$with_ss_lib $lib_dirs"
++fi
++
++if test "$with_ss_config" = ""; then
++	with_ss_config=''
++fi
++
++ss_cflags=
++ss_libs=
++
++case "$with_ss_config" in
++yes|no|"")
++	;;
++*)
++	ss_cflags="`$with_ss_config --cflags 2>&1`"
++	ss_libs="`$with_ss_config --libs 2>&1`"
++	;;
++esac
++
++found=no
++if test "$with_ss" != no; then
++	save_CFLAGS="$CFLAGS"
++	save_LIBS="$LIBS"
++	if test "$ss_cflags" -a "$ss_libs"; then
++		CFLAGS="$ss_cflags $save_CFLAGS"
++		LIBS="$ss_libs $save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  
++			INCLUDE_ss="$ss_cflags"
++			LIB_ss="$ss_libs"
++			echo "$as_me:$LINENO: result: from $with_ss_config" >&5
++echo "${ECHO_T}from $with_ss_config" >&6
++			found=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	fi
++	if test "$found" = no; then
++		ires= lres=
++		for i in $header_dirs; do
++			CFLAGS="-I$i $save_CFLAGS"
++			cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ires=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++		done
++		for i in $lib_dirs; do
++			LIBS="-L$i -lss  $save_LIBS"
++			cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  lres=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++		done
++		if test "$ires" -a "$lres" -a "$with_ss" != "no"; then
++			DIR_ss=
++			INCLUDE_ss="-I$ires"
++			LIB_ss="-L$lres -lss "
++			found=yes
++			echo "$as_me:$LINENO: result: headers $ires, libraries $lres" >&5
++echo "${ECHO_T}headers $ires, libraries $lres" >&6
++		fi
++	fi
++	CFLAGS="$save_CFLAGS"
++	LIBS="$save_LIBS"
++fi
++
++if test "$found" = yes; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define SS 1
++_ACEOF
++
++	with_ss=yes
++else
++	with_ss=no
++	DIR_ss=
++	INCLUDE_ss=
++	LIB_ss=
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++
++
++
++
++if ! test "$with_sl" = yes; then
++	DIR_sl="sl"
++	LIB_sl='$(top_builddir)/lib/sl/libsl.la'
++	DIR_ss=""
++	LIB_ss='$(top_builddir)/lib/sl/libss.la'
++fi
++if test "$enable_otp" = "yes"; then
++  
++
++# Check whether --with-otp or --without-otp was given.
++if test "${with_otp+set}" = set; then
++  withval="$with_otp"
++  
++fi; 
++
++# Check whether --with-otp-lib or --without-otp-lib was given.
++if test "${with_otp_lib+set}" = set; then
++  withval="$with_otp_lib"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-otp-lib" >&5
++echo "$as_me: error: No argument for --with-otp-lib" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_otp" = "X"; then
++  with_otp=yes
++fi
++fi; 
++
++# Check whether --with-otp-include or --without-otp-include was given.
++if test "${with_otp_include+set}" = set; then
++  withval="$with_otp_include"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-otp-include" >&5
++echo "$as_me: error: No argument for --with-otp-include" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_otp" = "X"; then
++  with_otp=yes
++fi
++fi; 
++
++# Check whether --with-otp-config or --without-otp-config was given.
++if test "${with_otp_config+set}" = set; then
++  withval="$with_otp_config"
++  
++fi; 
++
++
++
++echo "$as_me:$LINENO: checking for otp" >&5
++echo $ECHO_N "checking for otp... $ECHO_C" >&6
++
++case "$with_otp" in
++yes|"") d='' ;;
++no)	d= ;;
++*)	d="$with_otp" ;;
++esac
++
++header_dirs=
++lib_dirs=
++for i in $d /usr; do
++	if test "$with_otp_include" = ""; then
++		if test -d "$i/include/otp"; then
++			header_dirs="$header_dirs $i/include/otp"
++		fi
++		if test -d "$i/include"; then
++			header_dirs="$header_dirs $i/include"
++		fi
++	fi
++	if test "$with_otp_lib" = ""; then
++		if test -d "$i/lib$abilibdirext"; then
++			lib_dirs="$lib_dirs $i/lib$abilibdirext"
++		fi
++	fi
++done
++
++if test "$with_otp_include"; then
++	header_dirs="$with_otp_include $header_dirs"
++fi
++if test "$with_otp_lib"; then
++	lib_dirs="$with_otp_lib $lib_dirs"
++fi
++
++if test "$with_otp_config" = ""; then
++	with_otp_config=''
++fi
++
++otp_cflags=
++otp_libs=
++
++case "$with_otp_config" in
++yes|no|"")
++	;;
++*)
++	otp_cflags="`$with_otp_config --cflags 2>&1`"
++	otp_libs="`$with_otp_config --libs 2>&1`"
++	;;
++esac
++
++found=no
++if test "$with_otp" != no; then
++	save_CFLAGS="$CFLAGS"
++	save_LIBS="$LIBS"
++	if test "$otp_cflags" -a "$otp_libs"; then
++		CFLAGS="$otp_cflags $save_CFLAGS"
++		LIBS="$otp_libs $save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  
++			INCLUDE_otp="$otp_cflags"
++			LIB_otp="$otp_libs"
++			echo "$as_me:$LINENO: result: from $with_otp_config" >&5
++echo "${ECHO_T}from $with_otp_config" >&6
++			found=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	fi
++	if test "$found" = no; then
++		ires= lres=
++		for i in $header_dirs; do
++			CFLAGS="-I$i $save_CFLAGS"
++			cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ires=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++		done
++		for i in $lib_dirs; do
++			LIBS="-L$i -lotp  $save_LIBS"
++			cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  lres=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++		done
++		if test "$ires" -a "$lres" -a "$with_otp" != "no"; then
++			DIR_otp=
++			INCLUDE_otp="-I$ires"
++			LIB_otp="-L$lres -lotp "
++			found=yes
++			echo "$as_me:$LINENO: result: headers $ires, libraries $lres" >&5
++echo "${ECHO_T}headers $ires, libraries $lres" >&6
++		fi
++	fi
++	CFLAGS="$save_CFLAGS"
++	LIBS="$save_LIBS"
++fi
++
++if test "$found" = yes; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define OTP 1
++_ACEOF
++
++	with_otp=yes
++else
++	with_otp=no
++	DIR_otp=
++	INCLUDE_otp=
++	LIB_otp=
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++
++
++
++
++  if ! test "$with_otp" = yes; then
++	DIR_otp="otp"
++ 	LIB_otp='$(top_builddir)/lib/otp/libotp.la'
++  fi
++fi
++
++
++# Check whether --enable-bigendian or --disable-bigendian was given.
++if test "${enable_bigendian+set}" = set; then
++  enableval="$enable_bigendian"
++  krb_cv_c_bigendian=yes
++fi; 
++# Check whether --enable-littleendian or --disable-littleendian was given.
++if test "${enable_littleendian+set}" = set; then
++  enableval="$enable_littleendian"
++  krb_cv_c_bigendian=no
++fi; 
++echo "$as_me:$LINENO: checking whether byte order is known at compile time" >&5
++echo $ECHO_N "checking whether byte order is known at compile time... $ECHO_C" >&6
++if test "${krb_cv_c_bigendian_compile+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#include <sys/types.h>
++#include <sys/param.h>
++int
++main ()
++{
++
++#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
++ bogus endian macros
++#endif
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  krb_cv_c_bigendian_compile=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++krb_cv_c_bigendian_compile=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $krb_cv_c_bigendian_compile" >&5
++echo "${ECHO_T}$krb_cv_c_bigendian_compile" >&6
++echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
++echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
++if test "${krb_cv_c_bigendian+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++  if test "$krb_cv_c_bigendian_compile" = "yes"; then
++    cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#include <sys/types.h>
++#include <sys/param.h>
++int
++main ()
++{
++
++#if BYTE_ORDER != BIG_ENDIAN
++  not big endian
++#endif
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  krb_cv_c_bigendian=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++krb_cv_c_bigendian=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++  else
++    if test "$cross_compiling" = yes; then
++  { { echo "$as_me:$LINENO: error: specify either --enable-bigendian or --enable-littleendian" >&5
++echo "$as_me: error: specify either --enable-bigendian or --enable-littleendian" >&2;}
++   { (exit 1); exit 1; }; }
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++main () {
++      /* Are we little or big endian?  From Harbison&Steele.  */
++      union
++      {
++	long l;
++	char c[sizeof (long)];
++    } u;
++    u.l = 1;
++    exit (u.c[sizeof (long) - 1] == 1);
++  }
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  krb_cv_c_bigendian=no
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++( exit $ac_status )
++krb_cv_c_bigendian=yes
++fi
++rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++  fi
++
++fi
++echo "$as_me:$LINENO: result: $krb_cv_c_bigendian" >&5
++echo "${ECHO_T}$krb_cv_c_bigendian" >&6
++if test "$krb_cv_c_bigendian" = "yes"; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define WORDS_BIGENDIAN 1
++_ACEOF
++fi
++if test "$krb_cv_c_bigendian_compile" = "yes"; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define ENDIANESS_IN_SYS_PARAM_H 1
++_ACEOF
++fi
++
++
++
++echo "$as_me:$LINENO: checking for inline" >&5
++echo $ECHO_N "checking for inline... $ECHO_C" >&6
++if test "${ac_cv_c_inline+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_cv_c_inline=no
++for ac_kw in inline __inline__ __inline; do
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifndef __cplusplus
++typedef int foo_t;
++static $ac_kw foo_t static_foo () {return 0; }
++$ac_kw foo_t foo () {return 0; }
++#endif
++
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_c_inline=$ac_kw; break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++done
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
++echo "${ECHO_T}$ac_cv_c_inline" >&6
++case $ac_cv_c_inline in
++  inline | yes) ;;
++  no) 
++cat >>confdefs.h <<\_ACEOF
++@%:@define inline 
++_ACEOF
++ ;;
++  *)  cat >>confdefs.h <<_ACEOF
++@%:@define inline $ac_cv_c_inline
++_ACEOF
++ ;;
++esac
++
++
++
++	
++
++
++echo "$as_me:$LINENO: checking for dlopen" >&5
++echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
++if test "${ac_cv_funclib_dlopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_dlopen\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" dl; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++dlopen()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_dlopen=$ac_lib; else ac_cv_funclib_dlopen=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_dlopen=\${ac_cv_funclib_dlopen-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_dlopen"
++
++if false; then
++	
++for ac_func in dlopen
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# dlopen
++eval "ac_tr_func=HAVE_`echo dlopen | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_dlopen=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_dlopen=yes"
++	eval "LIB_dlopen="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_dlopen=no"
++	eval "LIB_dlopen="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_dlopen=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++	
++
++if test "$ac_cv_funclib_dlopen" != no; then
++  HAVE_DLOPEN_TRUE=
++  HAVE_DLOPEN_FALSE='#'
++else
++  HAVE_DLOPEN_TRUE='#'
++  HAVE_DLOPEN_FALSE=
++fi
++
++
++
++
++aix=no
++case "$host" in 
++*-*-aix3*)
++	aix=3
++	;;
++*-*-aix4*|*-*-aix5*)
++	aix=4
++	;;
++esac
++
++
++
++if test "$aix" != no; then
++  AIX_TRUE=
++  AIX_FALSE='#'
++else
++  AIX_TRUE='#'
++  AIX_FALSE=
++fi
++
++
++if test "$aix" = 4; then
++  AIX4_TRUE=
++  AIX4_FALSE='#'
++else
++  AIX4_TRUE='#'
++  AIX4_FALSE=
++fi
++
++
++
++# Check whether --enable-dynamic-afs or --disable-dynamic-afs was given.
++if test "${enable_dynamic_afs+set}" = set; then
++  enableval="$enable_dynamic_afs"
++  
++fi; 
++
++if test "$aix" != no; then
++	if test "$enable_dynamic_afs" != no; then
++		
++		if test "$ac_cv_func_dlopen" = no; then
++			
++
++
++echo "$as_me:$LINENO: checking for loadquery" >&5
++echo $ECHO_N "checking for loadquery... $ECHO_C" >&6
++if test "${ac_cv_funclib_loadquery+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_loadquery\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ld; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++loadquery()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_loadquery=$ac_lib; else ac_cv_funclib_loadquery=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_loadquery=\${ac_cv_funclib_loadquery-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_loadquery"
++
++if false; then
++	
++for ac_func in loadquery
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# loadquery
++eval "ac_tr_func=HAVE_`echo loadquery | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_loadquery=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_loadquery=yes"
++	eval "LIB_loadquery="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_loadquery=no"
++	eval "LIB_loadquery="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_loadquery=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++		fi
++		if test "$ac_cv_func_dlopen" != no; then
++			AIX_EXTRA_KAFS='$(LIB_dlopen)'
++		elif test "$ac_cv_func_loadquery" != no; then
++			AIX_EXTRA_KAFS='$(LIB_loadquery)'
++		else
++			{ echo "$as_me:$LINENO: not using dynloaded AFS library" >&5
++echo "$as_me: not using dynloaded AFS library" >&6;}
++			AIX_EXTRA_KAFS=
++			enable_dynamic_afs=no
++		fi
++	else
++		AIX_EXTRA_KAFS=
++	fi
++fi
++
++
++
++if test "$enable_dynamic_afs" != no; then
++  AIX_DYNAMIC_AFS_TRUE=
++  AIX_DYNAMIC_AFS_FALSE='#'
++else
++  AIX_DYNAMIC_AFS_TRUE='#'
++  AIX_DYNAMIC_AFS_FALSE=
++fi
++
++
++
++
++
++
++irix=no
++case "$host" in
++*-*-irix4*) 
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define IRIX4 1
++_ACEOF
++
++	irix=yes
++	;;
++*-*-irix*) 
++	irix=yes
++	;;
++esac
++
++
++if test "$irix" != no; then
++  IRIX_TRUE=
++  IRIX_FALSE='#'
++else
++  IRIX_TRUE='#'
++  IRIX_FALSE=
++fi
++
++
++
++
++
++sunos=no
++case "$host" in 
++*-*-sunos4*)
++	sunos=40
++	;;
++*-*-solaris2.7)
++	sunos=57
++	;;
++*-*-solaris2.[89])
++	sunos=58
++	;;
++*-*-solaris2*)
++	sunos=50
++	;;
++esac
++if test "$sunos" != no; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define SunOS $sunos
++_ACEOF
++
++fi
++
++
++echo "$as_me:$LINENO: checking for X" >&5
++echo $ECHO_N "checking for X... $ECHO_C" >&6
++
++
++# Check whether --with-x or --without-x was given.
++if test "${with_x+set}" = set; then
++  withval="$with_x"
++  
++fi; 
++# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
++if test "x$with_x" = xno; then
++  # The user explicitly disabled X.
++  have_x=disabled
++else
++  if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
++    # Both variables are already set.
++    have_x=yes
++  else
++    if test "${ac_cv_have_x+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  # One or both of the vars are not set, and there is no cached value.
++ac_x_includes=no ac_x_libraries=no
++rm -fr conftest.dir
++if mkdir conftest.dir; then
++  cd conftest.dir
++  # Make sure to not put "make" in the Imakefile rules, since we grep it out.
++  cat >Imakefile <<'_ACEOF'
++acfindx:
++	@echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
++_ACEOF
++  if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
++    # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
++    eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
++    # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
++    for ac_extension in a so sl; do
++      if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
++         test -f $ac_im_libdir/libX11.$ac_extension; then
++        ac_im_usrlibdir=$ac_im_libdir; break
++      fi
++    done
++    # Screen out bogus values from the imake configuration.  They are
++    # bogus both because they are the default anyway, and because
++    # using them would break gcc on systems where it needs fixed includes.
++    case $ac_im_incroot in
++	/usr/include) ;;
++	*) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
++    esac
++    case $ac_im_usrlibdir in
++	/usr/lib | /lib) ;;
++	*) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
++    esac
++  fi
++  cd ..
++  rm -fr conftest.dir
++fi
++
++# Standard set of common directories for X headers.
++# Check X11 before X11Rn because it is often a symlink to the current release.
++ac_x_header_dirs='
++/usr/X11/include
++/usr/X11R6/include
++/usr/X11R5/include
++/usr/X11R4/include
++
++/usr/include/X11
++/usr/include/X11R6
++/usr/include/X11R5
++/usr/include/X11R4
++
++/usr/local/X11/include
++/usr/local/X11R6/include
++/usr/local/X11R5/include
++/usr/local/X11R4/include
++
++/usr/local/include/X11
++/usr/local/include/X11R6
++/usr/local/include/X11R5
++/usr/local/include/X11R4
++
++/usr/X386/include
++/usr/x386/include
++/usr/XFree86/include/X11
++
++/usr/include
++/usr/local/include
++/usr/unsupported/include
++/usr/athena/include
++/usr/local/x11r5/include
++/usr/lpp/Xamples/include
++
++/usr/openwin/include
++/usr/openwin/share/include'
++
++if test "$ac_x_includes" = no; then
++  # Guess where to find include files, by looking for Intrinsic.h.
++  # First, try using that file with no special directory specified.
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@include <X11/Intrinsic.h>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  # We can compile using X headers with no special include directory.
++ac_x_includes=
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++  for ac_dir in $ac_x_header_dirs; do
++  if test -r "$ac_dir/X11/Intrinsic.h"; then
++    ac_x_includes=$ac_dir
++    break
++  fi
++done
++fi
++rm -f conftest.err conftest.$ac_ext
++fi # $ac_x_includes = no
++
++if test "$ac_x_libraries" = no; then
++  # Check for the libraries.
++  # See if we find them without any special options.
++  # Don't add to $LIBS permanently.
++  ac_save_LIBS=$LIBS
++  LIBS="-lXt $LIBS"
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@include <X11/Intrinsic.h>
++int
++main ()
++{
++XtMalloc (0)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  LIBS=$ac_save_LIBS
++# We can link X programs with no special library path.
++ac_x_libraries=
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++LIBS=$ac_save_LIBS
++for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
++do
++  # Don't even attempt the hair of trying to link an X program!
++  for ac_extension in a so sl; do
++    if test -r $ac_dir/libXt.$ac_extension; then
++      ac_x_libraries=$ac_dir
++      break 2
++    fi
++  done
++done
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi # $ac_x_libraries = no
++
++if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
++  # Didn't find X anywhere.  Cache the known absence of X.
++  ac_cv_have_x="have_x=no"
++else
++  # Record where we found X for the cache.
++  ac_cv_have_x="have_x=yes \
++	        ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
++fi
++fi
++
++  fi
++  eval "$ac_cv_have_x"
++fi # $with_x != no
++
++if test "$have_x" != yes; then
++  echo "$as_me:$LINENO: result: $have_x" >&5
++echo "${ECHO_T}$have_x" >&6
++  no_x=yes
++else
++  # If each of the values was on the command line, it overrides each guess.
++  test "x$x_includes" = xNONE && x_includes=$ac_x_includes
++  test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
++  # Update the cache value to reflect the command line values.
++  ac_cv_have_x="have_x=yes \
++		ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
++  echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
++echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
++fi
++
++
++if test "$no_x" = yes; then
++  # Not all programs may use this symbol, but it does not hurt to define it.
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define X_DISPLAY_MISSING 1
++_ACEOF
++
++  X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
++else
++  if test -n "$x_includes"; then
++    X_CFLAGS="$X_CFLAGS -I$x_includes"
++  fi
++
++  # It would also be nice to do this for all -L options, not just this one.
++  if test -n "$x_libraries"; then
++    X_LIBS="$X_LIBS -L$x_libraries"
++    # For Solaris; some versions of Sun CC require a space after -R and
++    # others require no space.  Words are not sufficient . . . .
++    case `(uname -sr) 2>/dev/null` in
++    "SunOS 5"*)
++      echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
++echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
++      ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
++      cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_R_nospace=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_R_nospace=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++      if test $ac_R_nospace = yes; then
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	X_LIBS="$X_LIBS -R$x_libraries"
++      else
++	LIBS="$ac_xsave_LIBS -R $x_libraries"
++	cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_R_space=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_R_space=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	if test $ac_R_space = yes; then
++	  echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	  X_LIBS="$X_LIBS -R $x_libraries"
++	else
++	  echo "$as_me:$LINENO: result: neither works" >&5
++echo "${ECHO_T}neither works" >&6
++	fi
++      fi
++      LIBS=$ac_xsave_LIBS
++    esac
++  fi
++
++  # Check for system-dependent libraries X programs must link with.
++  # Do this before checking for the system-independent R6 libraries
++  # (-lICE), since we may need -lsocket or whatever for X linking.
++
++  if test "$ISC" = yes; then
++    X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
++  else
++    # Martyn Johnson says this is needed for Ultrix, if the X
++    # libraries were built with DECnet support.  And Karl Berry says
++    # the Alpha needs dnet_stub (dnet does not exist).
++    ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
++    cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char XOpenDisplay ();
++int
++main ()
++{
++XOpenDisplay ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  :
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
++echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
++if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ldnet  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dnet_ntoa ();
++int
++main ()
++{
++dnet_ntoa ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_dnet_dnet_ntoa=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_dnet_dnet_ntoa=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
++echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
++if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
++  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
++fi
++
++    if test $ac_cv_lib_dnet_dnet_ntoa = no; then
++      echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
++echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
++if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ldnet_stub  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dnet_ntoa ();
++int
++main ()
++{
++dnet_ntoa ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_dnet_stub_dnet_ntoa=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_dnet_stub_dnet_ntoa=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
++echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
++if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
++  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
++fi
++
++    fi
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++    LIBS="$ac_xsave_LIBS"
++
++    # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
++    # to get the SysV transport functions.
++    # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
++    # needs -lnsl.
++    # The nsl library prevents programs from opening the X display
++    # on Irix 5.2, according to T.E. Dickey.
++    # The functions gethostbyname, getservbyname, and inet_addr are
++    # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
++    echo "$as_me:$LINENO: checking for gethostbyname" >&5
++echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
++if test "${ac_cv_func_gethostbyname+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char gethostbyname (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char gethostbyname ();
++/* 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_gethostbyname) || defined (__stub___gethostbyname)
++choke me
++#else
++char (*f) () = gethostbyname;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != gethostbyname;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_gethostbyname=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_gethostbyname=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
++echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
++
++    if test $ac_cv_func_gethostbyname = no; then
++      echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
++echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
++if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-lnsl  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* 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;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_nsl_gethostbyname=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_nsl_gethostbyname=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
++echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
++if test $ac_cv_lib_nsl_gethostbyname = yes; then
++  X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
++fi
++
++      if test $ac_cv_lib_nsl_gethostbyname = no; then
++        echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
++echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
++if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-lbsd  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* 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;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_bsd_gethostbyname=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_bsd_gethostbyname=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
++echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
++if test $ac_cv_lib_bsd_gethostbyname = yes; then
++  X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
++fi
++
++      fi
++    fi
++
++    # lieder@skyler.mavd.honeywell.com says without -lsocket,
++    # socket/setsockopt and other routines are undefined under SCO ODT
++    # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
++    # on later versions), says Simon Leinen: it contains gethostby*
++    # variants that don't use the name server (or something).  -lsocket
++    # must be given before -lnsl if both are needed.  We assume that
++    # if connect needs -lnsl, so does gethostbyname.
++    echo "$as_me:$LINENO: checking for connect" >&5
++echo $ECHO_N "checking for connect... $ECHO_C" >&6
++if test "${ac_cv_func_connect+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char connect (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char connect ();
++/* 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_connect) || defined (__stub___connect)
++choke me
++#else
++char (*f) () = connect;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != connect;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_connect=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_connect=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
++echo "${ECHO_T}$ac_cv_func_connect" >&6
++
++    if test $ac_cv_func_connect = no; then
++      echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
++echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
++if test "${ac_cv_lib_socket_connect+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char connect ();
++int
++main ()
++{
++connect ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_socket_connect=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_socket_connect=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
++echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
++if test $ac_cv_lib_socket_connect = yes; then
++  X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
++fi
++
++    fi
++
++    # Guillermo Gomez says -lposix is necessary on A/UX.
++    echo "$as_me:$LINENO: checking for remove" >&5
++echo $ECHO_N "checking for remove... $ECHO_C" >&6
++if test "${ac_cv_func_remove+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char remove (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char remove ();
++/* 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_remove) || defined (__stub___remove)
++choke me
++#else
++char (*f) () = remove;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != remove;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_remove=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_remove=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
++echo "${ECHO_T}$ac_cv_func_remove" >&6
++
++    if test $ac_cv_func_remove = no; then
++      echo "$as_me:$LINENO: checking for remove in -lposix" >&5
++echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
++if test "${ac_cv_lib_posix_remove+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-lposix  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char remove ();
++int
++main ()
++{
++remove ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_posix_remove=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_posix_remove=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
++echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
++if test $ac_cv_lib_posix_remove = yes; then
++  X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
++fi
++
++    fi
++
++    # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
++    echo "$as_me:$LINENO: checking for shmat" >&5
++echo $ECHO_N "checking for shmat... $ECHO_C" >&6
++if test "${ac_cv_func_shmat+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char shmat (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char shmat ();
++/* 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_shmat) || defined (__stub___shmat)
++choke me
++#else
++char (*f) () = shmat;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != shmat;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_shmat=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_shmat=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
++echo "${ECHO_T}$ac_cv_func_shmat" >&6
++
++    if test $ac_cv_func_shmat = no; then
++      echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
++echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
++if test "${ac_cv_lib_ipc_shmat+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-lipc  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char shmat ();
++int
++main ()
++{
++shmat ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_ipc_shmat=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_ipc_shmat=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
++echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
++if test $ac_cv_lib_ipc_shmat = yes; then
++  X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
++fi
++
++    fi
++  fi
++
++  # Check for libraries that X11R6 Xt/Xaw programs need.
++  ac_save_LDFLAGS=$LDFLAGS
++  test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
++  # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
++  # check for ICE first), but we must link in the order -lSM -lICE or
++  # we get undefined symbols.  So assume we have SM if we have ICE.
++  # These have to be linked with before -lX11, unlike the other
++  # libraries we check for below, so use a different variable.
++  # John Interrante, Karl Berry
++  echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
++echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
++if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-lICE $X_EXTRA_LIBS $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char IceConnectionNumber ();
++int
++main ()
++{
++IceConnectionNumber ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_ICE_IceConnectionNumber=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_ICE_IceConnectionNumber=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
++echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
++if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
++  X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
++fi
++
++  LDFLAGS=$ac_save_LDFLAGS
++
++fi
++
++
++# try to figure out if we need any additional ld flags, like -R
++# and yes, the autoconf X test is utterly broken
++if test "$no_x" != yes; then
++	echo "$as_me:$LINENO: checking for special X linker flags" >&5
++echo $ECHO_N "checking for special X linker flags... $ECHO_C" >&6
++if test "${krb_cv_sys_x_libs_rpath+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++	ac_save_libs="$LIBS"
++	ac_save_cflags="$CFLAGS"
++	CFLAGS="$CFLAGS $X_CFLAGS"
++	krb_cv_sys_x_libs_rpath=""
++	krb_cv_sys_x_libs=""
++	for rflag in "" "-R" "-R " "-rpath "; do
++		if test "$rflag" = ""; then
++			foo="$X_LIBS"
++		else
++			foo=""
++			for flag in $X_LIBS; do
++			case $flag in
++			-L*)
++				foo="$foo $flag `echo $flag | sed \"s/-L/$rflag/\"`"
++				;;
++			*)
++				foo="$foo $flag"
++				;;
++			esac
++			done
++		fi
++		LIBS="$ac_save_libs $foo $X_PRE_LIBS -lX11 $X_EXTRA_LIBS"
++		if test "$cross_compiling" = yes; then
++  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
++See \`config.log' for more details." >&5
++echo "$as_me: error: cannot run test program while cross compiling
++See \`config.log' for more details." >&2;}
++   { (exit 1); exit 1; }; }
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++		#include <X11/Xlib.h>
++		foo()
++		{
++		XOpenDisplay(NULL);
++		}
++		main()
++		{
++		return 0;
++		}
++		
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  krb_cv_sys_x_libs_rpath="$rflag"; krb_cv_sys_x_libs="$foo"; break
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++( exit $ac_status )
++:
++fi
++rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++	done
++	LIBS="$ac_save_libs"
++	CFLAGS="$ac_save_cflags"
++	
++fi
++echo "$as_me:$LINENO: result: $krb_cv_sys_x_libs_rpath" >&5
++echo "${ECHO_T}$krb_cv_sys_x_libs_rpath" >&6
++	X_LIBS="$krb_cv_sys_x_libs"
++fi
++
++
++
++
++if test "$no_x" != yes; then
++  HAVE_X_TRUE=
++  HAVE_X_FALSE='#'
++else
++  HAVE_X_TRUE='#'
++  HAVE_X_FALSE=
++fi
++
++
++
++save_CFLAGS="$CFLAGS"
++CFLAGS="$X_CFLAGS $CFLAGS"
++save_LIBS="$LIBS"
++LIBS="$X_PRE_LIBS $X_EXTRA_LIBS $LIBS"
++save_LDFLAGS="$LDFLAGS"
++LDFLAGS="$LDFLAGS $X_LIBS"
++
++
++
++
++
++echo "$as_me:$LINENO: checking for XauWriteAuth" >&5
++echo $ECHO_N "checking for XauWriteAuth... $ECHO_C" >&6
++if test "${ac_cv_funclib_XauWriteAuth+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_XauWriteAuth\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" X11 Xau; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++XauWriteAuth()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_XauWriteAuth=$ac_lib; else ac_cv_funclib_XauWriteAuth=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_XauWriteAuth=\${ac_cv_funclib_XauWriteAuth-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_XauWriteAuth"
++
++if false; then
++	
++for ac_func in XauWriteAuth
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# XauWriteAuth
++eval "ac_tr_func=HAVE_`echo XauWriteAuth | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_XauWriteAuth=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_XauWriteAuth=yes"
++	eval "LIB_XauWriteAuth="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_XauWriteAuth=no"
++	eval "LIB_XauWriteAuth="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_XauWriteAuth=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++ac_xxx="$LIBS"
++LIBS="$LIB_XauWriteAuth $LIBS"
++
++
++
++echo "$as_me:$LINENO: checking for XauReadAuth" >&5
++echo $ECHO_N "checking for XauReadAuth... $ECHO_C" >&6
++if test "${ac_cv_funclib_XauReadAuth+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_XauReadAuth\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" X11 Xau; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++XauReadAuth()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_XauReadAuth=$ac_lib; else ac_cv_funclib_XauReadAuth=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_XauReadAuth=\${ac_cv_funclib_XauReadAuth-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_XauReadAuth"
++
++if false; then
++	
++for ac_func in XauReadAuth
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# XauReadAuth
++eval "ac_tr_func=HAVE_`echo XauReadAuth | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_XauReadAuth=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_XauReadAuth=yes"
++	eval "LIB_XauReadAuth="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_XauReadAuth=no"
++	eval "LIB_XauReadAuth="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_XauReadAuth=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++LIBS="$LIB_XauReadAauth $LIBS"
++
++
++
++echo "$as_me:$LINENO: checking for XauFileName" >&5
++echo $ECHO_N "checking for XauFileName... $ECHO_C" >&6
++if test "${ac_cv_funclib_XauFileName+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_XauFileName\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" X11 Xau; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++XauFileName()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_XauFileName=$ac_lib; else ac_cv_funclib_XauFileName=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_XauFileName=\${ac_cv_funclib_XauFileName-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_XauFileName"
++
++if false; then
++	
++for ac_func in XauFileName
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# XauFileName
++eval "ac_tr_func=HAVE_`echo XauFileName | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_XauFileName=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_XauFileName=yes"
++	eval "LIB_XauFileName="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_XauFileName=no"
++	eval "LIB_XauFileName="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_XauFileName=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++LIBS="$ac_xxx"
++
++case "$ac_cv_funclib_XauWriteAuth" in
++yes)	;;
++no)	;;
++*)	if test "$ac_cv_funclib_XauReadAuth" = yes; then
++		if test "$ac_cv_funclib_XauFileName" = yes; then
++			LIB_XauReadAuth="$LIB_XauWriteAuth"
++		else
++			LIB_XauReadAuth="$LIB_XauWriteAuth $LIB_XauFileName"
++		fi
++	else
++		if test "$ac_cv_funclib_XauFileName" = yes; then
++			LIB_XauReadAuth="$LIB_XauReadAuth $LIB_XauWriteAuth"
++		else
++			LIB_XauReadAuth="$LIB_XauReadAuth $LIB_XauWriteAuth $LIB_XauFileName"
++		fi
++	fi
++	;;
++esac
++
++if test "$AUTOMAKE" != ""; then
++	
++
++if test "$ac_cv_func_XauWriteAuth" != "yes"; then
++  NEED_WRITEAUTH_TRUE=
++  NEED_WRITEAUTH_FALSE='#'
++else
++  NEED_WRITEAUTH_TRUE='#'
++  NEED_WRITEAUTH_FALSE=
++fi
++
++else
++	
++	
++	if test "$ac_cv_func_XauWriteAuth" != "yes"; then
++		NEED_WRITEAUTH_TRUE=
++		NEED_WRITEAUTH_FALSE='#'
++	else
++		NEED_WRITEAUTH_TRUE='#'
++		NEED_WRITEAUTH_FALSE=
++	fi
++fi
++CFLAGS=$save_CFLAGS
++LIBS=$save_LIBS
++LDFLAGS=$save_LDFLAGS
++
++
++
++echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
++echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
++if test "${ac_cv_c_const+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++/* FIXME: Include the comments suggested by Paul. */
++#ifndef __cplusplus
++  /* Ultrix mips cc rejects this.  */
++  typedef int charset[2];
++  const charset x;
++  /* SunOS 4.1.1 cc rejects this.  */
++  char const *const *ccp;
++  char **p;
++  /* NEC SVR4.0.2 mips cc rejects this.  */
++  struct point {int x, y;};
++  static struct point const zero = {0,0};
++  /* AIX XL C 1.02.0.0 rejects this.
++     It does not let you subtract one const X* pointer from another in
++     an arm of an if-expression whose if-part is not a constant
++     expression */
++  const char *g = "string";
++  ccp = &g + (g ? g-g : 0);
++  /* HPUX 7.0 cc rejects these. */
++  ++ccp;
++  p = (char**) ccp;
++  ccp = (char const *const *) p;
++  { /* SCO 3.2v4 cc rejects this.  */
++    char *t;
++    char const *s = 0 ? (char *) 0 : (char const *) 0;
++
++    *t++ = 0;
++  }
++  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
++    int x[] = {25, 17};
++    const int *foo = &x[0];
++    ++foo;
++  }
++  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
++    typedef const int *iptr;
++    iptr p = 0;
++    ++p;
++  }
++  { /* AIX XL C 1.02.0.0 rejects this saying
++       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
++    struct s { int j; const int *ap[3]; };
++    struct s *b; b->j = 5;
++  }
++  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
++    const int foo = 10;
++  }
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_c_const=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_c_const=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
++echo "${ECHO_T}$ac_cv_c_const" >&6
++if test $ac_cv_c_const = no; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define const 
++_ACEOF
++
++fi
++
++echo "$as_me:$LINENO: checking for off_t" >&5
++echo $ECHO_N "checking for off_t... $ECHO_C" >&6
++if test "${ac_cv_type_off_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++int
++main ()
++{
++if ((off_t *) 0)
++  return 0;
++if (sizeof (off_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_off_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_off_t=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
++echo "${ECHO_T}$ac_cv_type_off_t" >&6
++if test $ac_cv_type_off_t = yes; then
++  :
++else
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define off_t long
++_ACEOF
++
++fi
++
++echo "$as_me:$LINENO: checking for mode_t" >&5
++echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
++if test "${ac_cv_type_mode_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <sys/types.h>
++#if STDC_HEADERS
++#include <stdlib.h>
++#include <stddef.h>
++#endif
++
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  $EGREP "mode_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
++  ac_cv_type_mode_t=yes
++else
++  ac_cv_type_mode_t=no
++fi
++rm -f conftest*
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
++echo "${ECHO_T}$ac_cv_type_mode_t" >&6
++if test $ac_cv_type_mode_t = no; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define mode_t unsigned short
++_ACEOF
++
++fi
++
++echo "$as_me:$LINENO: checking for sig_atomic_t" >&5
++echo $ECHO_N "checking for sig_atomic_t... $ECHO_C" >&6
++if test "${ac_cv_type_sig_atomic_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <sys/types.h>
++#if STDC_HEADERS
++#include <stdlib.h>
++#include <stddef.h>
++#endif
++#include <signal.h>
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  $EGREP "sig_atomic_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
++  ac_cv_type_sig_atomic_t=yes
++else
++  ac_cv_type_sig_atomic_t=no
++fi
++rm -f conftest*
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_sig_atomic_t" >&5
++echo "${ECHO_T}$ac_cv_type_sig_atomic_t" >&6
++if test $ac_cv_type_sig_atomic_t = no; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define sig_atomic_t int
++_ACEOF
++
++fi
++
++
++
++cv=`echo "long long" | sed 'y%./+- %__p__%'`
++echo "$as_me:$LINENO: checking for long long" >&5
++echo $ECHO_N "checking for long long... $ECHO_C" >&6
++if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <sys/types.h>
++#if STDC_HEADERS
++#include <stdlib.h>
++#include <stddef.h>
++#endif
++
++int
++main ()
++{
++long long foo;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_type_$cv=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_type_$cv=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++ac_foo=`eval echo \\$ac_cv_type_$cv`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++  ac_tr_hdr=HAVE_`echo long long | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
++if false; then
++	echo "$as_me:$LINENO: checking for long long" >&5
++echo $ECHO_N "checking for long long... $ECHO_C" >&6
++if test "${ac_cv_type_long_long+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++int
++main ()
++{
++if ((long long *) 0)
++  return 0;
++if (sizeof (long long))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_long_long=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_long_long=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
++echo "${ECHO_T}$ac_cv_type_long_long" >&6
++if test $ac_cv_type_long_long = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_LONG_LONG 1
++_ACEOF
++
++
++fi
++
++fi
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_hdr 1
++_ACEOF
++
++fi
++
++echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
++echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
++if test "${ac_cv_header_time+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <sys/types.h>
++#include <sys/time.h>
++#include <time.h>
++
++int
++main ()
++{
++if ((struct tm *) 0)
++return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_header_time=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_header_time=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
++echo "${ECHO_T}$ac_cv_header_time" >&6
++if test $ac_cv_header_time = yes; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define TIME_WITH_SYS_TIME 1
++_ACEOF
++
++fi
++
++echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
++echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
++if test "${ac_cv_struct_tm+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <sys/types.h>
++#include <time.h>
++
++int
++main ()
++{
++struct tm *tp; tp->tm_sec;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_struct_tm=time.h
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_struct_tm=sys/time.h
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
++echo "${ECHO_T}$ac_cv_struct_tm" >&6
++if test $ac_cv_struct_tm = sys/time.h; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define TM_IN_SYS_TIME 1
++_ACEOF
++
++fi
++
++
++echo "$as_me:$LINENO: checking for ANSI C header files" >&5
++echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
++if test "${ac_cv_header_stdc+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdlib.h>
++#include <stdarg.h>
++#include <string.h>
++#include <float.h>
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_header_stdc=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_header_stdc=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++
++if test $ac_cv_header_stdc = yes; then
++  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <string.h>
++
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  $EGREP "memchr" >/dev/null 2>&1; then
++  :
++else
++  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 <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdlib.h>
++
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  $EGREP "free" >/dev/null 2>&1; then
++  :
++else
++  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 <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <ctype.h>
++#if ((' ' & 0x0FF) == 0x020)
++# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
++# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
++#else
++# define ISLOWER(c) \
++                   (('a' <= (c) && (c) <= 'i') \
++                     || ('j' <= (c) && (c) <= 'r') \
++                     || ('s' <= (c) && (c) <= 'z'))
++# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
++#endif
++
++#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);
++}
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  :
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++( exit $ac_status )
++ac_cv_header_stdc=no
++fi
++rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++fi
++fi
++echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
++echo "${ECHO_T}$ac_cv_header_stdc" >&6
++if test $ac_cv_header_stdc = yes; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define STDC_HEADERS 1
++_ACEOF
++
++fi
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++for ac_header in \
++	arpa/ftp.h				\
++	arpa/telnet.h				\
++	bind/bitypes.h				\
++	bsdsetjmp.h				\
++	curses.h				\
++	dlfcn.h					\
++	fnmatch.h				\
++	inttypes.h				\
++	io.h					\
++	libutil.h				\
++	limits.h				\
++	maillock.h				\
++	netgroup.h				\
++	netinet/in6_machtypes.h			\
++	netinfo/ni.h				\
++	pthread.h				\
++	pty.h					\
++	sac.h					\
++	security/pam_modules.h			\
++	sgtty.h					\
++	siad.h					\
++	signal.h				\
++	stropts.h				\
++	sys/bitypes.h				\
++	sys/category.h				\
++	sys/file.h				\
++	sys/filio.h				\
++	sys/ioccom.h				\
++	sys/mman.h				\
++	sys/pty.h				\
++	sys/ptyio.h				\
++	sys/ptyvar.h				\
++	sys/select.h				\
++	sys/str_tty.h				\
++	sys/stream.h				\
++	sys/stropts.h				\
++	sys/strtty.h				\
++	sys/syscall.h				\
++	sys/termio.h				\
++	sys/timeb.h				\
++	sys/times.h				\
++	sys/un.h				\
++	term.h					\
++	termcap.h				\
++	termio.h				\
++	time.h					\
++	tmpdir.h				\
++	udb.h					\
++	utmp.h					\
++	utmpx.h					\
++
++do
++as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++else
++  # Is the header compilable?
++echo "$as_me:$LINENO: checking $ac_header usability" >&5
++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++@%:@include <$ac_header>
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_header_compiler=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_header_compiler=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
++echo "${ECHO_T}$ac_header_compiler" >&6
++
++# Is the header present?
++echo "$as_me:$LINENO: checking $ac_header presence" >&5
++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@include <$ac_header>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  ac_header_preproc=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++  ac_header_preproc=no
++fi
++rm -f conftest.err conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
++echo "${ECHO_T}$ac_header_preproc" >&6
++
++# So?  What about this header?
++case $ac_header_compiler:$ac_header_preproc in
++  yes:no )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
++echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
++    (
++      cat <<\_ASBOX
++@%:@@%:@ ------------------------------------ @%:@@%:@
++@%:@@%:@ Report this to bug-autoconf@gnu.org. @%:@@%:@
++@%:@@%:@ ------------------------------------ @%:@@%:@
++_ASBOX
++    ) |
++      sed "s/^/$as_me: WARNING:     /" >&2
++    ;;
++  no:yes )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
++echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
++echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
++    (
++      cat <<\_ASBOX
++@%:@@%:@ ------------------------------------ @%:@@%:@
++@%:@@%:@ Report this to bug-autoconf@gnu.org. @%:@@%:@
++@%:@@%:@ ------------------------------------ @%:@@%:@
++_ASBOX
++    ) |
++      sed "s/^/$as_me: WARNING:     /" >&2
++    ;;
++esac
++echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  eval "$as_ac_Header=$ac_header_preproc"
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++
++fi
++if test `eval echo '${'$as_ac_Header'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++
++done
++
++
++# Check whether --enable-netinfo or --disable-netinfo was given.
++if test "${enable_netinfo+set}" = set; then
++  enableval="$enable_netinfo"
++  
++fi; 
++
++if test "$ac_cv_header_netinfo_ni_h" = yes -a "$enable_netinfo" = yes; then
++       
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_NETINFO 1
++_ACEOF
++
++fi
++
++
++
++
++
++echo "$as_me:$LINENO: checking for logwtmp" >&5
++echo $ECHO_N "checking for logwtmp... $ECHO_C" >&6
++if test "${ac_cv_funclib_logwtmp+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_logwtmp\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" util; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++logwtmp()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_logwtmp=$ac_lib; else ac_cv_funclib_logwtmp=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_logwtmp=\${ac_cv_funclib_logwtmp-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_logwtmp"
++
++if false; then
++	
++for ac_func in logwtmp
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# logwtmp
++eval "ac_tr_func=HAVE_`echo logwtmp | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_logwtmp=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_logwtmp=yes"
++	eval "LIB_logwtmp="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_logwtmp=no"
++	eval "LIB_logwtmp="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_logwtmp=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++
++
++
++echo "$as_me:$LINENO: checking for logout" >&5
++echo $ECHO_N "checking for logout... $ECHO_C" >&6
++if test "${ac_cv_funclib_logout+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_logout\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" util; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++logout()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_logout=$ac_lib; else ac_cv_funclib_logout=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_logout=\${ac_cv_funclib_logout-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_logout"
++
++if false; then
++	
++for ac_func in logout
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# logout
++eval "ac_tr_func=HAVE_`echo logout | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_logout=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_logout=yes"
++	eval "LIB_logout="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_logout=no"
++	eval "LIB_logout="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_logout=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++
++
++
++echo "$as_me:$LINENO: checking for openpty" >&5
++echo $ECHO_N "checking for openpty... $ECHO_C" >&6
++if test "${ac_cv_funclib_openpty+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_openpty\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" util; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++openpty()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_openpty=$ac_lib; else ac_cv_funclib_openpty=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_openpty=\${ac_cv_funclib_openpty-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_openpty"
++
++if false; then
++	
++for ac_func in openpty
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# openpty
++eval "ac_tr_func=HAVE_`echo openpty | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_openpty=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_openpty=yes"
++	eval "LIB_openpty="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_openpty=no"
++	eval "LIB_openpty="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_openpty=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++
++
++
++echo "$as_me:$LINENO: checking for tgetent" >&5
++echo $ECHO_N "checking for tgetent... $ECHO_C" >&6
++if test "${ac_cv_funclib_tgetent+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_tgetent\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" termcap ncurses curses; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++tgetent()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_tgetent=$ac_lib; else ac_cv_funclib_tgetent=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_tgetent=\${ac_cv_funclib_tgetent-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_tgetent"
++
++if false; then
++	
++for ac_func in tgetent
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# tgetent
++eval "ac_tr_func=HAVE_`echo tgetent | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_tgetent=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_tgetent=yes"
++	eval "LIB_tgetent="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_tgetent=no"
++	eval "LIB_tgetent="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_tgetent=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++for ac_func in 				\
++	_getpty					\
++	_scrsize				\
++	fcntl					\
++	grantpt					\
++	mktime					\
++	ptsname					\
++	rand					\
++	revoke					\
++	select					\
++	setitimer				\
++	setpcred				\
++	setpgid					\
++	setproctitle				\
++	setregid				\
++	setresgid				\
++	setresuid				\
++	setreuid				\
++	setsid					\
++	setutent				\
++	sigaction				\
++	strstr					\
++	timegm					\
++	ttyname					\
++	ttyslot					\
++	umask					\
++	unlockpt				\
++	vhangup					\
++	yp_get_default_domain			\
++
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++
++
++
++for ac_header in stdlib.h unistd.h
++do
++as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++else
++  # Is the header compilable?
++echo "$as_me:$LINENO: checking $ac_header usability" >&5
++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++@%:@include <$ac_header>
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_header_compiler=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_header_compiler=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
++echo "${ECHO_T}$ac_header_compiler" >&6
++
++# Is the header present?
++echo "$as_me:$LINENO: checking $ac_header presence" >&5
++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@include <$ac_header>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  ac_header_preproc=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++  ac_header_preproc=no
++fi
++rm -f conftest.err conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
++echo "${ECHO_T}$ac_header_preproc" >&6
++
++# So?  What about this header?
++case $ac_header_compiler:$ac_header_preproc in
++  yes:no )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
++echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
++    (
++      cat <<\_ASBOX
++@%:@@%:@ ------------------------------------ @%:@@%:@
++@%:@@%:@ Report this to bug-autoconf@gnu.org. @%:@@%:@
++@%:@@%:@ ------------------------------------ @%:@@%:@
++_ASBOX
++    ) |
++      sed "s/^/$as_me: WARNING:     /" >&2
++    ;;
++  no:yes )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
++echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
++echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
++    (
++      cat <<\_ASBOX
++@%:@@%:@ ------------------------------------ @%:@@%:@
++@%:@@%:@ Report this to bug-autoconf@gnu.org. @%:@@%:@
++@%:@@%:@ ------------------------------------ @%:@@%:@
++_ASBOX
++    ) |
++      sed "s/^/$as_me: WARNING:     /" >&2
++    ;;
++esac
++echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  eval "$as_ac_Header=$ac_header_preproc"
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++
++fi
++if test `eval echo '${'$as_ac_Header'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++
++done
++
++
++for ac_func in getpagesize
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++echo "$as_me:$LINENO: checking for working mmap" >&5
++echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
++if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test "$cross_compiling" = yes; then
++  ac_cv_func_mmap_fixed_mapped=no
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++/* malloc might have been renamed as rpl_malloc. */
++#undef malloc
++
++/* Thanks to Mike Haertel and Jim Avera for this test.
++   Here is a matrix of mmap possibilities:
++	mmap private not fixed
++	mmap private fixed at somewhere currently unmapped
++	mmap private fixed at somewhere already mapped
++	mmap shared not fixed
++	mmap shared fixed at somewhere currently unmapped
++	mmap shared fixed at somewhere already mapped
++   For private mappings, we should verify that changes cannot be read()
++   back from the file, nor mmap's back from the file at a different
++   address.  (There have been systems where private was not correctly
++   implemented like the infamous i386 svr4.0, and systems where the
++   VM page cache was not coherent with the file system buffer cache
++   like early versions of FreeBSD and possibly contemporary NetBSD.)
++   For shared mappings, we should conversely verify that changes get
++   propagated back to all the places they're supposed to be.
++
++   Grep wants private fixed already mapped.
++   The main things grep needs to know about mmap are:
++   * does it exist and is it safe to write into the mmap'd area
++   * how to use it (BSD variants)  */
++
++#include <fcntl.h>
++#include <sys/mman.h>
++
++#if !STDC_HEADERS && !HAVE_STDLIB_H
++char *malloc ();
++#endif
++
++/* This mess was copied from the GNU getpagesize.h.  */
++#if !HAVE_GETPAGESIZE
++/* Assume that all systems that can run configure have sys/param.h.  */
++# if !HAVE_SYS_PARAM_H
++#  define HAVE_SYS_PARAM_H 1
++# endif
++
++# ifdef _SC_PAGESIZE
++#  define getpagesize() sysconf(_SC_PAGESIZE)
++# else /* no _SC_PAGESIZE */
++#  if HAVE_SYS_PARAM_H
++#   include <sys/param.h>
++#   ifdef EXEC_PAGESIZE
++#    define getpagesize() EXEC_PAGESIZE
++#   else /* no EXEC_PAGESIZE */
++#    ifdef NBPG
++#     define getpagesize() NBPG * CLSIZE
++#     ifndef CLSIZE
++#      define CLSIZE 1
++#     endif /* no CLSIZE */
++#    else /* no NBPG */
++#     ifdef NBPC
++#      define getpagesize() NBPC
++#     else /* no NBPC */
++#      ifdef PAGESIZE
++#       define getpagesize() PAGESIZE
++#      endif /* PAGESIZE */
++#     endif /* no NBPC */
++#    endif /* no NBPG */
++#   endif /* no EXEC_PAGESIZE */
++#  else /* no HAVE_SYS_PARAM_H */
++#   define getpagesize() 8192	/* punt totally */
++#  endif /* no HAVE_SYS_PARAM_H */
++# endif /* no _SC_PAGESIZE */
++
++#endif /* no HAVE_GETPAGESIZE */
++
++int
++main ()
++{
++  char *data, *data2, *data3;
++  int i, pagesize;
++  int fd;
++
++  pagesize = getpagesize ();
++
++  /* First, make a file with some known garbage in it. */
++  data = (char *) malloc (pagesize);
++  if (!data)
++    exit (1);
++  for (i = 0; i < pagesize; ++i)
++    *(data + i) = rand ();
++  umask (0);
++  fd = creat ("conftest.mmap", 0600);
++  if (fd < 0)
++    exit (1);
++  if (write (fd, data, pagesize) != pagesize)
++    exit (1);
++  close (fd);
++
++  /* Next, try to mmap the file at a fixed address which already has
++     something else allocated at it.  If we can, also make sure that
++     we see the same garbage.  */
++  fd = open ("conftest.mmap", O_RDWR);
++  if (fd < 0)
++    exit (1);
++  data2 = (char *) malloc (2 * pagesize);
++  if (!data2)
++    exit (1);
++  data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
++  if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
++                     MAP_PRIVATE | MAP_FIXED, fd, 0L))
++    exit (1);
++  for (i = 0; i < pagesize; ++i)
++    if (*(data + i) != *(data2 + i))
++      exit (1);
++
++  /* Finally, make sure that changes to the mapped area do not
++     percolate back to the file as seen by read().  (This is a bug on
++     some variants of i386 svr4.0.)  */
++  for (i = 0; i < pagesize; ++i)
++    *(data2 + i) = *(data2 + i) + 1;
++  data3 = (char *) malloc (pagesize);
++  if (!data3)
++    exit (1);
++  if (read (fd, data3, pagesize) != pagesize)
++    exit (1);
++  for (i = 0; i < pagesize; ++i)
++    if (*(data + i) != *(data3 + i))
++      exit (1);
++  close (fd);
++  exit (0);
++}
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_mmap_fixed_mapped=yes
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++( exit $ac_status )
++ac_cv_func_mmap_fixed_mapped=no
++fi
++rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
++echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
++if test $ac_cv_func_mmap_fixed_mapped = yes; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_MMAP 1
++_ACEOF
++
++fi
++rm -f conftest.mmap
++
++
++
++
++
++
++for ac_header in capability.h sys/capability.h
++do
++as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++else
++  # Is the header compilable?
++echo "$as_me:$LINENO: checking $ac_header usability" >&5
++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++@%:@include <$ac_header>
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_header_compiler=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_header_compiler=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
++echo "${ECHO_T}$ac_header_compiler" >&6
++
++# Is the header present?
++echo "$as_me:$LINENO: checking $ac_header presence" >&5
++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@include <$ac_header>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  ac_header_preproc=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++  ac_header_preproc=no
++fi
++rm -f conftest.err conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
++echo "${ECHO_T}$ac_header_preproc" >&6
++
++# So?  What about this header?
++case $ac_header_compiler:$ac_header_preproc in
++  yes:no )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
++echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
++    (
++      cat <<\_ASBOX
++@%:@@%:@ ------------------------------------ @%:@@%:@
++@%:@@%:@ Report this to bug-autoconf@gnu.org. @%:@@%:@
++@%:@@%:@ ------------------------------------ @%:@@%:@
++_ASBOX
++    ) |
++      sed "s/^/$as_me: WARNING:     /" >&2
++    ;;
++  no:yes )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
++echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
++echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
++    (
++      cat <<\_ASBOX
++@%:@@%:@ ------------------------------------ @%:@@%:@
++@%:@@%:@ Report this to bug-autoconf@gnu.org. @%:@@%:@
++@%:@@%:@ ------------------------------------ @%:@@%:@
++_ASBOX
++    ) |
++      sed "s/^/$as_me: WARNING:     /" >&2
++    ;;
++esac
++echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  eval "$as_ac_Header=$ac_header_preproc"
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++
++fi
++if test `eval echo '${'$as_ac_Header'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++
++done
++
++
++
++
++for ac_func in sgi_getcapabilitybyname cap_set_proc
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for getpwnam_r" >&5
++echo $ECHO_N "checking for getpwnam_r... $ECHO_C" >&6
++if test "${ac_cv_funclib_getpwnam_r+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_getpwnam_r\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" c_r; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++getpwnam_r()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_getpwnam_r=$ac_lib; else ac_cv_funclib_getpwnam_r=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_getpwnam_r=\${ac_cv_funclib_getpwnam_r-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_getpwnam_r"
++
++if false; then
++	
++for ac_func in getpwnam_r
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# getpwnam_r
++eval "ac_tr_func=HAVE_`echo getpwnam_r | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_getpwnam_r=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_getpwnam_r=yes"
++	eval "LIB_getpwnam_r="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_getpwnam_r=no"
++	eval "LIB_getpwnam_r="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_getpwnam_r=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test "$ac_cv_func_getpwnam_r" = yes; then
++	echo "$as_me:$LINENO: checking if getpwnam_r is posix" >&5
++echo $ECHO_N "checking if getpwnam_r is posix... $ECHO_C" >&6
++if test "${ac_cv_func_getpwnam_r_posix+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_libs="$LIBS"
++	LIBS="$LIBS $LIB_getpwnam_r"
++	if test "$cross_compiling" = yes; then
++  :
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#include <pwd.h>
++int main()
++{
++	struct passwd pw, *pwd;
++	return getpwnam_r("", &pw, NULL, 0, &pwd) < 0;
++}
++
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_getpwnam_r_posix=yes
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++( exit $ac_status )
++ac_cv_func_getpwnam_r_posix=no
++fi
++rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++LIBS="$ac_libs"
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getpwnam_r_posix" >&5
++echo "${ECHO_T}$ac_cv_func_getpwnam_r_posix" >&6
++if test "$ac_cv_func_getpwnam_r_posix" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define POSIX_GETPWNAM_R 1
++_ACEOF
++
++fi
++fi
++
++
++
++
++for ac_func in getudbnam setlim
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for ut_addr in struct utmp" >&5
++echo $ECHO_N "checking for ut_addr in struct utmp... $ECHO_C" >&6
++if test "${ac_cv_type_struct_utmp_ut_addr+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <utmp.h>
++int
++main ()
++{
++struct utmp x; x.ut_addr;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_utmp_ut_addr=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_struct_utmp_ut_addr=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_utmp_ut_addr" >&5
++echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_addr" >&6
++if test "$ac_cv_type_struct_utmp_ut_addr" = yes; then
++	
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_STRUCT_UTMP_UT_ADDR 1
++_ACEOF
++
++	
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking for ut_host in struct utmp" >&5
++echo $ECHO_N "checking for ut_host in struct utmp... $ECHO_C" >&6
++if test "${ac_cv_type_struct_utmp_ut_host+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <utmp.h>
++int
++main ()
++{
++struct utmp x; x.ut_host;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_utmp_ut_host=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_struct_utmp_ut_host=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_utmp_ut_host" >&5
++echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_host" >&6
++if test "$ac_cv_type_struct_utmp_ut_host" = yes; then
++	
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_STRUCT_UTMP_UT_HOST 1
++_ACEOF
++
++	
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking for ut_id in struct utmp" >&5
++echo $ECHO_N "checking for ut_id in struct utmp... $ECHO_C" >&6
++if test "${ac_cv_type_struct_utmp_ut_id+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <utmp.h>
++int
++main ()
++{
++struct utmp x; x.ut_id;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_utmp_ut_id=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_struct_utmp_ut_id=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_utmp_ut_id" >&5
++echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_id" >&6
++if test "$ac_cv_type_struct_utmp_ut_id" = yes; then
++	
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_STRUCT_UTMP_UT_ID 1
++_ACEOF
++
++	
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking for ut_pid in struct utmp" >&5
++echo $ECHO_N "checking for ut_pid in struct utmp... $ECHO_C" >&6
++if test "${ac_cv_type_struct_utmp_ut_pid+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <utmp.h>
++int
++main ()
++{
++struct utmp x; x.ut_pid;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_utmp_ut_pid=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_struct_utmp_ut_pid=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_utmp_ut_pid" >&5
++echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_pid" >&6
++if test "$ac_cv_type_struct_utmp_ut_pid" = yes; then
++	
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_STRUCT_UTMP_UT_PID 1
++_ACEOF
++
++	
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking for ut_type in struct utmp" >&5
++echo $ECHO_N "checking for ut_type in struct utmp... $ECHO_C" >&6
++if test "${ac_cv_type_struct_utmp_ut_type+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <utmp.h>
++int
++main ()
++{
++struct utmp x; x.ut_type;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_utmp_ut_type=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_struct_utmp_ut_type=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_utmp_ut_type" >&5
++echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_type" >&6
++if test "$ac_cv_type_struct_utmp_ut_type" = yes; then
++	
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_STRUCT_UTMP_UT_TYPE 1
++_ACEOF
++
++	
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking for ut_user in struct utmp" >&5
++echo $ECHO_N "checking for ut_user in struct utmp... $ECHO_C" >&6
++if test "${ac_cv_type_struct_utmp_ut_user+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <utmp.h>
++int
++main ()
++{
++struct utmp x; x.ut_user;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_utmp_ut_user=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_struct_utmp_ut_user=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_utmp_ut_user" >&5
++echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_user" >&6
++if test "$ac_cv_type_struct_utmp_ut_user" = yes; then
++	
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_STRUCT_UTMP_UT_USER 1
++_ACEOF
++
++	
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking for ut_exit in struct utmpx" >&5
++echo $ECHO_N "checking for ut_exit in struct utmpx... $ECHO_C" >&6
++if test "${ac_cv_type_struct_utmpx_ut_exit+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <utmpx.h>
++int
++main ()
++{
++struct utmpx x; x.ut_exit;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_utmpx_ut_exit=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_struct_utmpx_ut_exit=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_utmpx_ut_exit" >&5
++echo "${ECHO_T}$ac_cv_type_struct_utmpx_ut_exit" >&6
++if test "$ac_cv_type_struct_utmpx_ut_exit" = yes; then
++	
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_STRUCT_UTMPX_UT_EXIT 1
++_ACEOF
++
++	
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking for ut_syslen in struct utmpx" >&5
++echo $ECHO_N "checking for ut_syslen in struct utmpx... $ECHO_C" >&6
++if test "${ac_cv_type_struct_utmpx_ut_syslen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <utmpx.h>
++int
++main ()
++{
++struct utmpx x; x.ut_syslen;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_utmpx_ut_syslen=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_struct_utmpx_ut_syslen=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_utmpx_ut_syslen" >&5
++echo "${ECHO_T}$ac_cv_type_struct_utmpx_ut_syslen" >&6
++if test "$ac_cv_type_struct_utmpx_ut_syslen" = yes; then
++	
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_STRUCT_UTMPX_UT_SYSLEN 1
++_ACEOF
++
++	
++fi
++
++
++
++echo "$as_me:$LINENO: checking for int8_t" >&5
++echo $ECHO_N "checking for int8_t... $ECHO_C" >&6
++if test "${ac_cv_type_int8_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#ifdef HAVE_INTTYPES_H
++#include <inttypes.h>
++#endif
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_BITYPES_H
++#include <sys/bitypes.h>
++#endif
++#ifdef HAVE_BIND_BITYPES_H
++#include <bind/bitypes.h>
++#endif
++#ifdef HAVE_NETINET_IN6_MACHTYPES_H
++#include <netinet/in6_machtypes.h>
++#endif
++
++
++int
++main ()
++{
++if ((int8_t *) 0)
++  return 0;
++if (sizeof (int8_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_int8_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_int8_t=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_int8_t" >&5
++echo "${ECHO_T}$ac_cv_type_int8_t" >&6
++if test $ac_cv_type_int8_t = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_INT8_T 1
++_ACEOF
++
++
++fi
++echo "$as_me:$LINENO: checking for int16_t" >&5
++echo $ECHO_N "checking for int16_t... $ECHO_C" >&6
++if test "${ac_cv_type_int16_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#ifdef HAVE_INTTYPES_H
++#include <inttypes.h>
++#endif
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_BITYPES_H
++#include <sys/bitypes.h>
++#endif
++#ifdef HAVE_BIND_BITYPES_H
++#include <bind/bitypes.h>
++#endif
++#ifdef HAVE_NETINET_IN6_MACHTYPES_H
++#include <netinet/in6_machtypes.h>
++#endif
++
++
++int
++main ()
++{
++if ((int16_t *) 0)
++  return 0;
++if (sizeof (int16_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_int16_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_int16_t=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_int16_t" >&5
++echo "${ECHO_T}$ac_cv_type_int16_t" >&6
++if test $ac_cv_type_int16_t = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_INT16_T 1
++_ACEOF
++
++
++fi
++echo "$as_me:$LINENO: checking for int32_t" >&5
++echo $ECHO_N "checking for int32_t... $ECHO_C" >&6
++if test "${ac_cv_type_int32_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#ifdef HAVE_INTTYPES_H
++#include <inttypes.h>
++#endif
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_BITYPES_H
++#include <sys/bitypes.h>
++#endif
++#ifdef HAVE_BIND_BITYPES_H
++#include <bind/bitypes.h>
++#endif
++#ifdef HAVE_NETINET_IN6_MACHTYPES_H
++#include <netinet/in6_machtypes.h>
++#endif
++
++
++int
++main ()
++{
++if ((int32_t *) 0)
++  return 0;
++if (sizeof (int32_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_int32_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_int32_t=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_int32_t" >&5
++echo "${ECHO_T}$ac_cv_type_int32_t" >&6
++if test $ac_cv_type_int32_t = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_INT32_T 1
++_ACEOF
++
++
++fi
++echo "$as_me:$LINENO: checking for int64_t" >&5
++echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
++if test "${ac_cv_type_int64_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#ifdef HAVE_INTTYPES_H
++#include <inttypes.h>
++#endif
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_BITYPES_H
++#include <sys/bitypes.h>
++#endif
++#ifdef HAVE_BIND_BITYPES_H
++#include <bind/bitypes.h>
++#endif
++#ifdef HAVE_NETINET_IN6_MACHTYPES_H
++#include <netinet/in6_machtypes.h>
++#endif
++
++
++int
++main ()
++{
++if ((int64_t *) 0)
++  return 0;
++if (sizeof (int64_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_int64_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_int64_t=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
++echo "${ECHO_T}$ac_cv_type_int64_t" >&6
++if test $ac_cv_type_int64_t = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_INT64_T 1
++_ACEOF
++
++
++fi
++echo "$as_me:$LINENO: checking for u_int8_t" >&5
++echo $ECHO_N "checking for u_int8_t... $ECHO_C" >&6
++if test "${ac_cv_type_u_int8_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#ifdef HAVE_INTTYPES_H
++#include <inttypes.h>
++#endif
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_BITYPES_H
++#include <sys/bitypes.h>
++#endif
++#ifdef HAVE_BIND_BITYPES_H
++#include <bind/bitypes.h>
++#endif
++#ifdef HAVE_NETINET_IN6_MACHTYPES_H
++#include <netinet/in6_machtypes.h>
++#endif
++
++
++int
++main ()
++{
++if ((u_int8_t *) 0)
++  return 0;
++if (sizeof (u_int8_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_u_int8_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_u_int8_t=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_u_int8_t" >&5
++echo "${ECHO_T}$ac_cv_type_u_int8_t" >&6
++if test $ac_cv_type_u_int8_t = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_U_INT8_T 1
++_ACEOF
++
++
++fi
++echo "$as_me:$LINENO: checking for u_int16_t" >&5
++echo $ECHO_N "checking for u_int16_t... $ECHO_C" >&6
++if test "${ac_cv_type_u_int16_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#ifdef HAVE_INTTYPES_H
++#include <inttypes.h>
++#endif
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_BITYPES_H
++#include <sys/bitypes.h>
++#endif
++#ifdef HAVE_BIND_BITYPES_H
++#include <bind/bitypes.h>
++#endif
++#ifdef HAVE_NETINET_IN6_MACHTYPES_H
++#include <netinet/in6_machtypes.h>
++#endif
++
++
++int
++main ()
++{
++if ((u_int16_t *) 0)
++  return 0;
++if (sizeof (u_int16_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_u_int16_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_u_int16_t=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_u_int16_t" >&5
++echo "${ECHO_T}$ac_cv_type_u_int16_t" >&6
++if test $ac_cv_type_u_int16_t = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_U_INT16_T 1
++_ACEOF
++
++
++fi
++echo "$as_me:$LINENO: checking for u_int32_t" >&5
++echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
++if test "${ac_cv_type_u_int32_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#ifdef HAVE_INTTYPES_H
++#include <inttypes.h>
++#endif
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_BITYPES_H
++#include <sys/bitypes.h>
++#endif
++#ifdef HAVE_BIND_BITYPES_H
++#include <bind/bitypes.h>
++#endif
++#ifdef HAVE_NETINET_IN6_MACHTYPES_H
++#include <netinet/in6_machtypes.h>
++#endif
++
++
++int
++main ()
++{
++if ((u_int32_t *) 0)
++  return 0;
++if (sizeof (u_int32_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_u_int32_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_u_int32_t=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
++echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
++if test $ac_cv_type_u_int32_t = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_U_INT32_T 1
++_ACEOF
++
++
++fi
++echo "$as_me:$LINENO: checking for u_int64_t" >&5
++echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
++if test "${ac_cv_type_u_int64_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#ifdef HAVE_INTTYPES_H
++#include <inttypes.h>
++#endif
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_BITYPES_H
++#include <sys/bitypes.h>
++#endif
++#ifdef HAVE_BIND_BITYPES_H
++#include <bind/bitypes.h>
++#endif
++#ifdef HAVE_NETINET_IN6_MACHTYPES_H
++#include <netinet/in6_machtypes.h>
++#endif
++
++
++int
++main ()
++{
++if ((u_int64_t *) 0)
++  return 0;
++if (sizeof (u_int64_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_u_int64_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_u_int64_t=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
++echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
++if test $ac_cv_type_u_int64_t = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_U_INT64_T 1
++_ACEOF
++
++
++fi
++echo "$as_me:$LINENO: checking for uint8_t" >&5
++echo $ECHO_N "checking for uint8_t... $ECHO_C" >&6
++if test "${ac_cv_type_uint8_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#ifdef HAVE_INTTYPES_H
++#include <inttypes.h>
++#endif
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_BITYPES_H
++#include <sys/bitypes.h>
++#endif
++#ifdef HAVE_BIND_BITYPES_H
++#include <bind/bitypes.h>
++#endif
++#ifdef HAVE_NETINET_IN6_MACHTYPES_H
++#include <netinet/in6_machtypes.h>
++#endif
++
++
++int
++main ()
++{
++if ((uint8_t *) 0)
++  return 0;
++if (sizeof (uint8_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_uint8_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_uint8_t=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_uint8_t" >&5
++echo "${ECHO_T}$ac_cv_type_uint8_t" >&6
++if test $ac_cv_type_uint8_t = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_UINT8_T 1
++_ACEOF
++
++
++fi
++echo "$as_me:$LINENO: checking for uint16_t" >&5
++echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6
++if test "${ac_cv_type_uint16_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#ifdef HAVE_INTTYPES_H
++#include <inttypes.h>
++#endif
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_BITYPES_H
++#include <sys/bitypes.h>
++#endif
++#ifdef HAVE_BIND_BITYPES_H
++#include <bind/bitypes.h>
++#endif
++#ifdef HAVE_NETINET_IN6_MACHTYPES_H
++#include <netinet/in6_machtypes.h>
++#endif
++
++
++int
++main ()
++{
++if ((uint16_t *) 0)
++  return 0;
++if (sizeof (uint16_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_uint16_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_uint16_t=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_uint16_t" >&5
++echo "${ECHO_T}$ac_cv_type_uint16_t" >&6
++if test $ac_cv_type_uint16_t = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_UINT16_T 1
++_ACEOF
++
++
++fi
++echo "$as_me:$LINENO: checking for uint32_t" >&5
++echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
++if test "${ac_cv_type_uint32_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#ifdef HAVE_INTTYPES_H
++#include <inttypes.h>
++#endif
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_BITYPES_H
++#include <sys/bitypes.h>
++#endif
++#ifdef HAVE_BIND_BITYPES_H
++#include <bind/bitypes.h>
++#endif
++#ifdef HAVE_NETINET_IN6_MACHTYPES_H
++#include <netinet/in6_machtypes.h>
++#endif
++
++
++int
++main ()
++{
++if ((uint32_t *) 0)
++  return 0;
++if (sizeof (uint32_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_uint32_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_uint32_t=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
++echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
++if test $ac_cv_type_uint32_t = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_UINT32_T 1
++_ACEOF
++
++
++fi
++echo "$as_me:$LINENO: checking for uint64_t" >&5
++echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
++if test "${ac_cv_type_uint64_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#ifdef HAVE_INTTYPES_H
++#include <inttypes.h>
++#endif
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_BITYPES_H
++#include <sys/bitypes.h>
++#endif
++#ifdef HAVE_BIND_BITYPES_H
++#include <bind/bitypes.h>
++#endif
++#ifdef HAVE_NETINET_IN6_MACHTYPES_H
++#include <netinet/in6_machtypes.h>
++#endif
++
++
++int
++main ()
++{
++if ((uint64_t *) 0)
++  return 0;
++if (sizeof (uint64_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_uint64_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_uint64_t=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
++echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
++if test $ac_cv_type_uint64_t = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_UINT64_T 1
++_ACEOF
++
++
++fi
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for el_init" >&5
++echo $ECHO_N "checking for el_init... $ECHO_C" >&6
++if test "${ac_cv_funclib_el_init+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_el_init\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" edit; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib $LIB_tgetent $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++el_init()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_el_init=$ac_lib; else ac_cv_funclib_el_init=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_el_init=\${ac_cv_funclib_el_init-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_el_init"
++
++if false; then
++	
++for ac_func in el_init
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# el_init
++eval "ac_tr_func=HAVE_`echo el_init | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_el_init=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_el_init=yes"
++	eval "LIB_el_init="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_el_init=no"
++	eval "LIB_el_init="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_el_init=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test "$ac_cv_func_el_init" = yes ; then
++	echo "$as_me:$LINENO: checking for four argument el_init" >&5
++echo $ECHO_N "checking for four argument el_init... $ECHO_C" >&6
++if test "${ac_cv_func_el_init_four+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdio.h>
++			#include <histedit.h>
++int
++main ()
++{
++el_init("", NULL, NULL, NULL);
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_el_init_four=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_el_init_four=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_el_init_four" >&5
++echo "${ECHO_T}$ac_cv_func_el_init_four" >&6
++	if test "$ac_cv_func_el_init_four" = yes; then
++		
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_FOUR_VALUED_EL_INIT 1
++_ACEOF
++
++	fi
++fi
++
++
++ac_foo=no
++if test "$with_readline" = yes; then
++	:
++elif test "$ac_cv_func_readline" = yes; then
++	:
++elif test "$ac_cv_func_el_init" = yes; then
++	ac_foo=yes
++	DIR_readline="editline"
++	LIB_readline="\$(top_builddir)/lib/editline/libel_compat.la \$(LIB_el_init) \$(LIB_tgetent)"
++else
++	DIR_readline="editline"
++	LIB_readline="\$(top_builddir)/lib/editline/libeditline.la \$(LIB_tgetent)"
++fi
++
++
++if test "$ac_foo" = yes; then
++  el_compat_TRUE=
++  el_compat_FALSE='#'
++else
++  el_compat_TRUE='#'
++  el_compat_FALSE=
++fi
++
++
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_READLINE 1
++_ACEOF
++
++
++
++
++
++cat >>confdefs.h <<\_ACEOF
++@%:@define AUTHENTICATION 1
++_ACEOF
++
++cat >>confdefs.h <<\_ACEOF
++@%:@define ENCRYPTION 1
++_ACEOF
++
++cat >>confdefs.h <<\_ACEOF
++@%:@define DES_ENCRYPTION 1
++_ACEOF
++
++cat >>confdefs.h <<\_ACEOF
++@%:@define DIAGNOSTICS 1
++_ACEOF
++
++cat >>confdefs.h <<\_ACEOF
++@%:@define OLD_ENVIRON 1
++_ACEOF
++if false; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define ENV_HACK 1
++_ACEOF
++
++fi
++
++# Simple test for streamspty, based on the existance of getmsg(), alas
++# this breaks on SunOS4 which have streams but BSD-like ptys
++#
++# And also something wierd has happend with dec-osf1, fallback to bsd-ptys
++
++case "$host" in
++*-*-aix3*|*-*-sunos4*|*-*-osf*|*-*-hpux1[01]*)
++	;;
++*)
++	echo "$as_me:$LINENO: checking for getmsg" >&5
++echo $ECHO_N "checking for getmsg... $ECHO_C" >&6
++if test "${ac_cv_func_getmsg+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char getmsg (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char getmsg ();
++/* 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_getmsg) || defined (__stub___getmsg)
++choke me
++#else
++char (*f) () = getmsg;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != getmsg;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_getmsg=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_getmsg=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getmsg" >&5
++echo "${ECHO_T}$ac_cv_func_getmsg" >&6
++
++	if test "$ac_cv_func_getmsg" = "yes"; then
++		echo "$as_me:$LINENO: checking if getmsg works" >&5
++echo $ECHO_N "checking if getmsg works... $ECHO_C" >&6
++if test "${ac_cv_func_getmsg_works+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test "$cross_compiling" = yes; then
++  ac_cv_func_getmsg_works=no
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++			#include <stdio.h>
++			#include <errno.h>
++
++			int main()
++			{
++			  int ret;
++			  ret = getmsg(open("/dev/null", 0), NULL, NULL, NULL);
++			  if(ret < 0 && errno == ENOSYS)
++			    return 1;
++			  return 0;
++			}
++			
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_getmsg_works=yes
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++( exit $ac_status )
++ac_cv_func_getmsg_works=no
++fi
++rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getmsg_works" >&5
++echo "${ECHO_T}$ac_cv_func_getmsg_works" >&6
++		if test "$ac_cv_func_getmsg_works" = "yes"; then
++			
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_GETMSG 1
++_ACEOF
++
++			
++cat >>confdefs.h <<\_ACEOF
++@%:@define STREAMSPTY 1
++_ACEOF
++
++		fi
++	fi
++	;;
++esac
++
++
++
++
++
++
++
++# Extract the first word of "compile_et", so it can be a program name with args.
++set dummy compile_et; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_COMPILE_ET+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$COMPILE_ET"; then
++  ac_cv_prog_COMPILE_ET="$COMPILE_ET" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_COMPILE_ET="compile_et"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++COMPILE_ET=$ac_cv_prog_COMPILE_ET
++if test -n "$COMPILE_ET"; then
++  echo "$as_me:$LINENO: result: $COMPILE_ET" >&5
++echo "${ECHO_T}$COMPILE_ET" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++
++krb_cv_compile_et="no"
++krb_cv_com_err_need_r=""
++if test "${COMPILE_ET}" = "compile_et"; then
++
++echo "$as_me:$LINENO: checking whether compile_et has the features we need" >&5
++echo $ECHO_N "checking whether compile_et has the features we need... $ECHO_C" >&6
++cat > conftest_et.et <<'EOF'
++error_table conf
++prefix CONFTEST
++index 1
++error_code CODE1, "CODE1"
++index 128
++error_code CODE2, "CODE2"
++end
++EOF
++if ${COMPILE_ET} conftest_et.et >/dev/null 2>&1; then
++    save_CPPFLAGS="${save_CPPFLAGS}"
++  if test -d "/usr/include/et"; then
++    CPPFLAGS="-I/usr/include/et ${CPPFLAGS}"
++  fi
++    if test "$cross_compiling" = yes; then
++  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
++See \`config.log' for more details." >&5
++echo "$as_me: error: cannot run test program while cross compiling
++See \`config.log' for more details." >&2;}
++   { (exit 1); exit 1; }; }
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#include <com_err.h>
++#include <string.h>
++#include "conftest_et.h"
++int main(){return (CONFTEST_CODE2 - CONFTEST_CODE1) != 127;}
++  
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  krb_cv_compile_et="yes"
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++( exit $ac_status )
++CPPFLAGS="${save_CPPFLAGS}"
++fi
++rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++fi
++echo "$as_me:$LINENO: result: ${krb_cv_compile_et}" >&5
++echo "${ECHO_T}${krb_cv_compile_et}" >&6
++if test "${krb_cv_compile_et}" = "yes"; then
++  echo "$as_me:$LINENO: checking for if com_err needs to have a initialize_error_table_r" >&5
++echo $ECHO_N "checking for if com_err needs to have a initialize_error_table_r... $ECHO_C" >&6
++  save2_CPPFLAGS="$CPPFLAGS"
++  CPPFLAGS="$CPPFLAGS"
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include "conftest_et.c"
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  $EGREP "initialize_error_table_r" >/dev/null 2>&1; then
++  krb_cv_com_err_need_r="initialize_error_table_r(0,0,0,0);"
++      CPPFLAGS="$save2_CPPFLAGS"
++else
++  CPPFLAGS="${save_CPPFLAGS}"
++fi
++rm -f conftest*
++
++  if test X"$krb_cv_com_err_need_r" = X ; then
++    echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++  else
++    echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++  fi
++fi
++rm -fr conftest*
++fi
++
++if test "${krb_cv_compile_et}" = "yes"; then
++    krb_cv_save_LIBS="${LIBS}"
++  LIBS="${LIBS} -lcom_err"
++  echo "$as_me:$LINENO: checking for com_err" >&5
++echo $ECHO_N "checking for com_err... $ECHO_C" >&6
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <com_err.h>
++int
++main ()
++{
++
++    const char *p;
++    p = error_message(0);
++    $krb_cv_com_err_need_r
++  
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  krb_cv_com_err="yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++krb_cv_com_err="no"; CPPFLAGS="${save_CPPFLAGS}"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++  echo "$as_me:$LINENO: result: ${krb_cv_com_err}" >&5
++echo "${ECHO_T}${krb_cv_com_err}" >&6
++  LIBS="${krb_cv_save_LIBS}"
++else
++    krb_cv_com_err="no"
++fi
++
++if test "${krb_cv_com_err}" = "yes"; then
++    DIR_com_err=""
++    LIB_com_err="-lcom_err"
++    LIB_com_err_a=""
++    LIB_com_err_so=""
++    { echo "$as_me:$LINENO: Using the already-installed com_err" >&5
++echo "$as_me: Using the already-installed com_err" >&6;}
++else
++    COMPILE_ET="\$(top_builddir)/lib/com_err/compile_et"
++    DIR_com_err="com_err"
++    LIB_com_err="\$(top_builddir)/lib/com_err/libcom_err.la"
++    LIB_com_err_a="\$(top_builddir)/lib/com_err/.libs/libcom_err.a"
++    LIB_com_err_so="\$(top_builddir)/lib/com_err/.libs/libcom_err.so"
++    { echo "$as_me:$LINENO: Using our own com_err" >&5
++echo "$as_me: Using our own com_err" >&6;}
++fi
++
++
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking which authentication modules should be built" >&5
++echo $ECHO_N "checking which authentication modules should be built... $ECHO_C" >&6
++
++z='sia afskauthlib'
++LIB_AUTH_SUBDIRS=
++for i in $z; do
++case $i in
++sia)
++if test "$ac_cv_header_siad_h" = yes; then
++	LIB_AUTH_SUBDIRS="$LIB_AUTH_SUBDIRS sia"
++fi
++;;
++pam)
++case "${host}" in
++*-*-freebsd*)	ac_cv_want_pam_krb4=no ;;
++*)		ac_cv_want_pam_krb4=yes ;;
++esac
++
++if test "$ac_cv_want_pam_krb4" = yes -a \
++    "$ac_cv_header_security_pam_modules_h" = yes -a \
++    "$enable_shared" = yes; then
++	LIB_AUTH_SUBDIRS="$LIB_AUTH_SUBDIRS pam"
++fi
++;;
++afskauthlib)
++case "${host}" in
++*-*-irix[56]*) LIB_AUTH_SUBDIRS="$LIB_AUTH_SUBDIRS afskauthlib" ;;
++esac
++;;
++esac
++done
++if test "$LIB_AUTH_SUBDIRS"; then
++	echo "$as_me:$LINENO: result: $LIB_AUTH_SUBDIRS" >&5
++echo "${ECHO_T}$LIB_AUTH_SUBDIRS" >&6
++else
++	echo "$as_me:$LINENO: result: none" >&5
++echo "${ECHO_T}none" >&6
++fi
++
++
++
++
++# This is done by AC_OUTPUT but we need the result here.
++test "x$prefix" = xNONE && prefix=$ac_default_prefix
++test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
++
++
++	x="${bindir}"
++	eval y="$x"
++	while test "x$y" != "x$x"; do
++		x="$y"
++		eval y="$x"
++	done
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define BINDIR "$x"
++_ACEOF
++
++	x="${libdir}"
++	eval y="$x"
++	while test "x$y" != "x$x"; do
++		x="$y"
++		eval y="$x"
++	done
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define LIBDIR "$x"
++_ACEOF
++
++	x="${libexecdir}"
++	eval y="$x"
++	while test "x$y" != "x$x"; do
++		x="$y"
++		eval y="$x"
++	done
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define LIBEXECDIR "$x"
++_ACEOF
++
++	x="${localstatedir}"
++	eval y="$x"
++	while test "x$y" != "x$x"; do
++		x="$y"
++		eval y="$x"
++	done
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define LOCALSTATEDIR "$x"
++_ACEOF
++
++	x="${sbindir}"
++	eval y="$x"
++	while test "x$y" != "x$x"; do
++		x="$y"
++		eval y="$x"
++	done
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define SBINDIR "$x"
++_ACEOF
++
++	x="${sysconfdir}"
++	eval y="$x"
++	while test "x$y" != "x$x"; do
++		x="$y"
++		eval y="$x"
++	done
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define SYSCONFDIR "$x"
++_ACEOF
++
++
++
++LTLIBOBJS=`echo "$LIB@&t@OBJS" |
++	sed 's,\.[^.]* ,.lo ,g;s,\.[^.]*$,.lo,'`
++
++
++
++
++
++                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        ac_config_files="$ac_config_files Makefile include/Makefile include/kadm5/Makefile lib/Makefile lib/45/Makefile lib/auth/Makefile lib/auth/afskauthlib/Makefile lib/auth/pam/Makefile lib/auth/sia/Makefile lib/asn1/Makefile lib/com_err/Makefile lib/des/Makefile lib/editline/Makefile lib/gssapi/Makefile lib/hdb/Makefile lib/kadm5/Makefile lib/kafs/Makefile lib/kdfs/Makefile lib/krb5/Makefile lib/otp/Makefile lib/roken/Makefile lib/sl/Makefile lib/vers/Makefile kuser/Makefile kpasswd/Makefile kadmin/Makefile admin/Makefile kdc/Makefile appl/Makefile appl/afsutil/Makefile appl/ftp/Makefile appl/ftp/common/Makefile appl/ftp/ftp/Makefile appl/ftp/ftpd/Makefile appl/kx/Makefile appl/login/Makefile appl/otp/Makefile appl/popper/Makefile appl/push/Makefile appl/rsh/Makefile appl/rcp/Makefile appl/su/Makefile appl/xnlock/Makefile appl/telnet/Makefile appl/telnet/libtelnet/Makefile appl/telnet/telnet/Makefile appl/telnet/telnetd/Makefile appl/test/Makefile appl/kf/Makefile appl/dceutils/Makefile doc/Makefile tools/Makefile"
++
++
++cat >confcache <<\_ACEOF
++# 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, see configure's option --config-cache.
++# It is not useful on other systems.  If it contains results you don't
++# want to keep, you may remove or edit it.
++#
++# config.status only pays attention to the cache file if you give it
++# the --recheck option to rerun configure.
++#
++# `ac_cv_env_foo' variables (set or unset) will be overridden when
++# loading this file, other *unset* `ac_cv_foo' will be assigned the
++# following values.
++
++_ACEOF
++
++# The following way of writing the cache mishandles newlines in values,
++# but we know of no workaround that is simple, portable, and efficient.
++# So, don't put newlines in cache variables' values.
++# Ultrix sh set writes to stderr and can't be redirected directly,
++# and sets the high bit in the cache file unless we assign to the vars.
++{
++  (set) 2>&1 |
++    case `(ac_space=' '; set | grep ac_space) 2>&1` in
++    *ac_space=\ *)
++      # `set' does not quote correctly, so add quotes (double-quote
++      # substitution turns \\\\ into \\, and sed turns \\ into \).
++      sed -n \
++        "s/'/'\\\\''/g;
++    	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
++      ;;
++    *)
++      # `set' quotes correctly as required by POSIX, so do not add quotes.
++      sed -n \
++        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
++      ;;
++    esac;
++} |
++  sed '
++     t clear
++     : clear
++     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
++     t end
++     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
++     : end' >>confcache
++if diff $cache_file confcache >/dev/null 2>&1; then :; else
++  if test -w $cache_file; then
++    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
++    cat confcache >$cache_file
++  else
++    echo "not updating unwritable cache $cache_file"
++  fi
++fi
++rm -f confcache
++
++test "x$prefix" = xNONE && prefix=$ac_default_prefix
++# Let make expand exec_prefix.
++test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
++
++# VPATH may cause trouble with some makes, so we remove $(srcdir),
++# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
++# trailing colons and then remove the whole line if VPATH becomes empty
++# (actually we leave an empty line to preserve line numbers).
++if test "x$srcdir" = x.; then
++  ac_vpsub='/^[ 	]*VPATH[ 	]*=/{
++s/:*\$(srcdir):*/:/;
++s/:*\${srcdir}:*/:/;
++s/:*@srcdir@:*/:/;
++s/^\([^=]*=[ 	]*\):*/\1/;
++s/:*$//;
++s/^[^=]*=[ 	]*$//;
++}'
++fi
++
++DEFS=-DHAVE_CONFIG_H
++
++ac_libobjs=
++ac_ltlibobjs=
++for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
++  # 1. Remove the extension, and $U if already installed.
++  ac_i=`echo "$ac_i" |
++         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
++  # 2. Add them.
++  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
++  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
++done
++LIB@&t@OBJS=$ac_libobjs
++
++LTLIBOBJS=$ac_ltlibobjs
++
++
++if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"AMDEP\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${KRB4_TRUE}" && test -z "${KRB4_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"KRB4\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"KRB4\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${KRB5_TRUE}" && test -z "${KRB5_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"KRB5\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"KRB5\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${do_roken_rename_TRUE}" && test -z "${do_roken_rename_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"do_roken_rename\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"do_roken_rename\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${HAVE_OPENSSL_TRUE}" && test -z "${HAVE_OPENSSL_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"HAVE_OPENSSL\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"HAVE_OPENSSL\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${DCE_TRUE}" && test -z "${DCE_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"DCE\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"DCE\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${HAVE_DB1_TRUE}" && test -z "${HAVE_DB1_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"HAVE_DB1\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"HAVE_DB1\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${HAVE_DB3_TRUE}" && test -z "${HAVE_DB3_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"HAVE_DB3\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"HAVE_DB3\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${HAVE_NDBM_TRUE}" && test -z "${HAVE_NDBM_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"HAVE_NDBM\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"HAVE_NDBM\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${have_err_h_TRUE}" && test -z "${have_err_h_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"have_err_h\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"have_err_h\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${have_fnmatch_h_TRUE}" && test -z "${have_fnmatch_h_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"have_fnmatch_h\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"have_fnmatch_h\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${have_ifaddrs_h_TRUE}" && test -z "${have_ifaddrs_h_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"have_ifaddrs_h\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"have_ifaddrs_h\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${have_vis_h_TRUE}" && test -z "${have_vis_h_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"have_vis_h\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"have_vis_h\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${have_glob_h_TRUE}" && test -z "${have_glob_h_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"have_glob_h\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"have_glob_h\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${OTP_TRUE}" && test -z "${OTP_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"OTP\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"OTP\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${CATMAN_TRUE}" && test -z "${CATMAN_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"CATMAN\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"CATMAN\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${AIX_TRUE}" && test -z "${AIX_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"AIX\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"AIX\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${AIX4_TRUE}" && test -z "${AIX4_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"AIX4\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"AIX4\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${HAVE_DLOPEN_TRUE}" && test -z "${HAVE_DLOPEN_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"HAVE_DLOPEN\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"HAVE_DLOPEN\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${AIX_DYNAMIC_AFS_TRUE}" && test -z "${AIX_DYNAMIC_AFS_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"AIX_DYNAMIC_AFS\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"AIX_DYNAMIC_AFS\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${IRIX_TRUE}" && test -z "${IRIX_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"IRIX\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"IRIX\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${HAVE_X_TRUE}" && test -z "${HAVE_X_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"HAVE_X\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"HAVE_X\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${NEED_WRITEAUTH_TRUE}" && test -z "${NEED_WRITEAUTH_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"NEED_WRITEAUTH\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"NEED_WRITEAUTH\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${el_compat_TRUE}" && test -z "${el_compat_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"el_compat\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"el_compat\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++
++: ${CONFIG_STATUS=./config.status}
++ac_clean_files_save=$ac_clean_files
++ac_clean_files="$ac_clean_files $CONFIG_STATUS"
++{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
++echo "$as_me: creating $CONFIG_STATUS" >&6;}
++cat >$CONFIG_STATUS <<_ACEOF
++#! $SHELL
++# Generated by $as_me.
++# Run this file to recreate the current configuration.
++# Compiler output produced by configure, useful for debugging
++# configure, is in config.log if it exists.
++
++debug=false
++ac_cs_recheck=false
++ac_cs_silent=false
++SHELL=\${CONFIG_SHELL-$SHELL}
++_ACEOF
++
++cat >>$CONFIG_STATUS <<\_ACEOF
++## --------------------- ##
++## M4sh Initialization.  ##
++## --------------------- ##
++
++# Be Bourne compatible
++if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
++  emulate sh
++  NULLCMD=:
++  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
++  # is contrary to our usage.  Disable this feature.
++  alias -g '${1+"$@"}'='"$@"'
++elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
++  set -o posix
++fi
++
++# Support unset when possible.
++if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
++  as_unset=unset
++else
++  as_unset=false
++fi
++
++
++# Work around bugs in pre-3.0 UWIN ksh.
++$as_unset ENV MAIL MAILPATH
++PS1='$ '
++PS2='> '
++PS4='+ '
++
++# NLS nuisances.
++for as_var in \
++  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
++  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
++  LC_TELEPHONE LC_TIME
++do
++  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
++    eval $as_var=C; export $as_var
++  else
++    $as_unset $as_var
++  fi
++done
++
++# Required to use basename.
++if expr a : '\(a\)' >/dev/null 2>&1; then
++  as_expr=expr
++else
++  as_expr=false
++fi
++
++if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
++  as_basename=basename
++else
++  as_basename=false
++fi
++
++
++# Name of the executable.
++as_me=`$as_basename "$0" ||
++$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
++	 X"$0" : 'X\(//\)$' \| \
++	 X"$0" : 'X\(/\)$' \| \
++	 .     : '\(.\)' 2>/dev/null ||
++echo X/"$0" |
++    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
++  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
++  	  /^X\/\(\/\).*/{ s//\1/; q; }
++  	  s/.*/./; q'`
++
++
++# PATH needs CR, and LINENO needs CR and PATH.
++# Avoid depending upon Character Ranges.
++as_cr_letters='abcdefghijklmnopqrstuvwxyz'
++as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
++as_cr_Letters=$as_cr_letters$as_cr_LETTERS
++as_cr_digits='0123456789'
++as_cr_alnum=$as_cr_Letters$as_cr_digits
++
++# The user is always right.
++if test "${PATH_SEPARATOR+set}" != set; then
++  echo "#! /bin/sh" >conf$$.sh
++  echo  "exit 0"   >>conf$$.sh
++  chmod +x conf$$.sh
++  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
++    PATH_SEPARATOR=';'
++  else
++    PATH_SEPARATOR=:
++  fi
++  rm -f conf$$.sh
++fi
++
++
++  as_lineno_1=$LINENO
++  as_lineno_2=$LINENO
++  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
++  test "x$as_lineno_1" != "x$as_lineno_2" &&
++  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
++  # Find who we are.  Look in the path if we contain no path at all
++  # relative or not.
++  case $0 in
++    *[\\/]* ) as_myself=$0 ;;
++    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
++done
++
++       ;;
++  esac
++  # We did not find ourselves, most probably we were run as `sh COMMAND'
++  # in which case we are not to be found in the path.
++  if test "x$as_myself" = x; then
++    as_myself=$0
++  fi
++  if test ! -f "$as_myself"; then
++    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
++echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
++   { (exit 1); exit 1; }; }
++  fi
++  case $CONFIG_SHELL in
++  '')
++    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for as_base in sh bash ksh sh5; do
++	 case $as_dir in
++	 /*)
++	   if ("$as_dir/$as_base" -c '
++  as_lineno_1=$LINENO
++  as_lineno_2=$LINENO
++  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
++  test "x$as_lineno_1" != "x$as_lineno_2" &&
++  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
++	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
++	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
++	     CONFIG_SHELL=$as_dir/$as_base
++	     export CONFIG_SHELL
++	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
++	   fi;;
++	 esac
++       done
++done
++;;
++  esac
++
++  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
++  # uniformly replaced by the line number.  The first 'sed' inserts a
++  # line-number line before each line; the second 'sed' does the real
++  # work.  The second script uses 'N' to pair each line-number line
++  # with the numbered line, and appends trailing '-' during
++  # substitution so that $LINENO is not a special case at line end.
++  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
++  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
++  sed '=' <$as_myself |
++    sed '
++      N
++      s,$,-,
++      : loop
++      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
++      t loop
++      s,-$,,
++      s,^['$as_cr_digits']*\n,,
++    ' >$as_me.lineno &&
++  chmod +x $as_me.lineno ||
++    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
++echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
++   { (exit 1); exit 1; }; }
++
++  # Don't try to exec as it changes $[0], causing all sort of problems
++  # (the dirname of $[0] is not the place where we might find the
++  # original and so on.  Autoconf is especially sensible to this).
++  . ./$as_me.lineno
++  # Exit status is that of the last command.
++  exit
++}
++
++
++case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
++  *c*,-n*) ECHO_N= ECHO_C='
++' ECHO_T='	' ;;
++  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
++  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
++esac
++
++if expr a : '\(a\)' >/dev/null 2>&1; then
++  as_expr=expr
++else
++  as_expr=false
++fi
++
++rm -f conf$$ conf$$.exe conf$$.file
++echo >conf$$.file
++if ln -s conf$$.file conf$$ 2>/dev/null; then
++  # We could just check for DJGPP; but this test a) works b) is more generic
++  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
++  if test -f conf$$.exe; then
++    # Don't use ln at all; we don't have any links
++    as_ln_s='cp -p'
++  else
++    as_ln_s='ln -s'
++  fi
++elif ln conf$$.file conf$$ 2>/dev/null; then
++  as_ln_s=ln
++else
++  as_ln_s='cp -p'
++fi
++rm -f conf$$ conf$$.exe conf$$.file
++
++if mkdir -p . 2>/dev/null; then
++  as_mkdir_p=:
++else
++  as_mkdir_p=false
++fi
++
++as_executable_p="test -f"
++
++# Sed expression to map a string onto a valid CPP name.
++as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
++
++# Sed expression to map a string onto a valid variable name.
++as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
++
++
++# IFS
++# We need space, tab and new line, in precisely that order.
++as_nl='
++'
++IFS=" 	$as_nl"
++
++# CDPATH.
++$as_unset CDPATH
++
++exec 6>&1
++
++# Open the log real soon, to keep \$[0] and so on meaningful, and to
++# report actual input values of CONFIG_FILES etc. instead of their
++# values after options handling.  Logging --version etc. is OK.
++exec 5>>config.log
++{
++  echo
++  sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
++@%:@@%:@ Running $as_me. @%:@@%:@
++_ASBOX
++} >&5
++cat >&5 <<_CSEOF
++
++This file was extended by Heimdal $as_me 0.6, which was
++generated by GNU Autoconf 2.57.  Invocation command line was
++
++  CONFIG_FILES    = $CONFIG_FILES
++  CONFIG_HEADERS  = $CONFIG_HEADERS
++  CONFIG_LINKS    = $CONFIG_LINKS
++  CONFIG_COMMANDS = $CONFIG_COMMANDS
++  $ $0 $@
++
++_CSEOF
++echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
++echo >&5
++_ACEOF
++
++# Files that config.status was made for.
++if test -n "$ac_config_files"; then
++  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
++fi
++
++if test -n "$ac_config_headers"; then
++  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
++fi
++
++if test -n "$ac_config_links"; then
++  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
++fi
++
++if test -n "$ac_config_commands"; then
++  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
++fi
++
++cat >>$CONFIG_STATUS <<\_ACEOF
++
++ac_cs_usage="\
++\`$as_me' instantiates files from templates according to the
++current configuration.
++
++Usage: $0 [OPTIONS] [FILE]...
++
++  -h, --help       print this help, then exit
++  -V, --version    print version number, then exit
++  -q, --quiet      do not print progress messages
++  -d, --debug      don't remove temporary files
++      --recheck    update $as_me by reconfiguring in the same conditions
++  --file=FILE[:TEMPLATE]
++                   instantiate the configuration file FILE
++  --header=FILE[:TEMPLATE]
++                   instantiate the configuration header FILE
++
++Configuration files:
++$config_files
++
++Configuration headers:
++$config_headers
++
++Configuration commands:
++$config_commands
++
++Report bugs to <bug-autoconf@gnu.org>."
++_ACEOF
++
++cat >>$CONFIG_STATUS <<_ACEOF
++ac_cs_version="\\
++Heimdal config.status 0.6
++configured by $0, generated by GNU Autoconf 2.57,
++  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
++
++Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
++Free Software Foundation, Inc.
++This config.status script is free software; the Free Software Foundation
++gives unlimited permission to copy, distribute and modify it."
++srcdir=$srcdir
++INSTALL="$INSTALL"
++_ACEOF
++
++cat >>$CONFIG_STATUS <<\_ACEOF
++# If no file are specified by the user, then we need to provide default
++# value.  By we need to know if files were specified by the user.
++ac_need_defaults=:
++while test $# != 0
++do
++  case $1 in
++  --*=*)
++    ac_option=`expr "x$1" : 'x\([^=]*\)='`
++    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
++    ac_shift=:
++    ;;
++  -*)
++    ac_option=$1
++    ac_optarg=$2
++    ac_shift=shift
++    ;;
++  *) # This is not an option, so the user has probably given explicit
++     # arguments.
++     ac_option=$1
++     ac_need_defaults=false;;
++  esac
++
++  case $ac_option in
++  # Handling of the options.
++_ACEOF
++cat >>$CONFIG_STATUS <<\_ACEOF
++  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
++    ac_cs_recheck=: ;;
++  --version | --vers* | -V )
++    echo "$ac_cs_version"; exit 0 ;;
++  --he | --h)
++    # Conflict between --help and --header
++    { { echo "$as_me:$LINENO: error: ambiguous option: $1
++Try \`$0 --help' for more information." >&5
++echo "$as_me: error: ambiguous option: $1
++Try \`$0 --help' for more information." >&2;}
++   { (exit 1); exit 1; }; };;
++  --help | --hel | -h )
++    echo "$ac_cs_usage"; exit 0 ;;
++  --debug | --d* | -d )
++    debug=: ;;
++  --file | --fil | --fi | --f )
++    $ac_shift
++    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
++    ac_need_defaults=false;;
++  --header | --heade | --head | --hea )
++    $ac_shift
++    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
++    ac_need_defaults=false;;
++  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
++  | -silent | --silent | --silen | --sile | --sil | --si | --s)
++    ac_cs_silent=: ;;
++
++  # This is an error.
++  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
++Try \`$0 --help' for more information." >&5
++echo "$as_me: error: unrecognized option: $1
++Try \`$0 --help' for more information." >&2;}
++   { (exit 1); exit 1; }; } ;;
++
++  *) ac_config_targets="$ac_config_targets $1" ;;
++
++  esac
++  shift
++done
++
++ac_configure_extra_args=
++
++if $ac_cs_silent; then
++  exec 6>/dev/null
++  ac_configure_extra_args="$ac_configure_extra_args --silent"
++fi
++
++_ACEOF
++cat >>$CONFIG_STATUS <<_ACEOF
++if \$ac_cs_recheck; then
++  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
++  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
++fi
++
++_ACEOF
++
++cat >>$CONFIG_STATUS <<_ACEOF
++#
++# INIT-COMMANDS section.
++#
++
++AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
++
++_ACEOF
++
++
++
++cat >>$CONFIG_STATUS <<\_ACEOF
++for ac_config_target in $ac_config_targets
++do
++  case "$ac_config_target" in
++  # Handling of arguments.
++  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
++  "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
++  "include/kadm5/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/kadm5/Makefile" ;;
++  "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
++  "lib/45/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/45/Makefile" ;;
++  "lib/auth/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/auth/Makefile" ;;
++  "lib/auth/afskauthlib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/auth/afskauthlib/Makefile" ;;
++  "lib/auth/pam/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/auth/pam/Makefile" ;;
++  "lib/auth/sia/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/auth/sia/Makefile" ;;
++  "lib/asn1/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/asn1/Makefile" ;;
++  "lib/com_err/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/com_err/Makefile" ;;
++  "lib/des/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/des/Makefile" ;;
++  "lib/editline/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/editline/Makefile" ;;
++  "lib/gssapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/gssapi/Makefile" ;;
++  "lib/hdb/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/hdb/Makefile" ;;
++  "lib/kadm5/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/kadm5/Makefile" ;;
++  "lib/kafs/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/kafs/Makefile" ;;
++  "lib/kdfs/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/kdfs/Makefile" ;;
++  "lib/krb5/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/krb5/Makefile" ;;
++  "lib/otp/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/otp/Makefile" ;;
++  "lib/roken/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/roken/Makefile" ;;
++  "lib/sl/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/sl/Makefile" ;;
++  "lib/vers/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/vers/Makefile" ;;
++  "kuser/Makefile" ) CONFIG_FILES="$CONFIG_FILES kuser/Makefile" ;;
++  "kpasswd/Makefile" ) CONFIG_FILES="$CONFIG_FILES kpasswd/Makefile" ;;
++  "kadmin/Makefile" ) CONFIG_FILES="$CONFIG_FILES kadmin/Makefile" ;;
++  "admin/Makefile" ) CONFIG_FILES="$CONFIG_FILES admin/Makefile" ;;
++  "kdc/Makefile" ) CONFIG_FILES="$CONFIG_FILES kdc/Makefile" ;;
++  "appl/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/Makefile" ;;
++  "appl/afsutil/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/afsutil/Makefile" ;;
++  "appl/ftp/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/ftp/Makefile" ;;
++  "appl/ftp/common/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/ftp/common/Makefile" ;;
++  "appl/ftp/ftp/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/ftp/ftp/Makefile" ;;
++  "appl/ftp/ftpd/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/ftp/ftpd/Makefile" ;;
++  "appl/kx/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/kx/Makefile" ;;
++  "appl/login/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/login/Makefile" ;;
++  "appl/otp/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/otp/Makefile" ;;
++  "appl/popper/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/popper/Makefile" ;;
++  "appl/push/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/push/Makefile" ;;
++  "appl/rsh/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/rsh/Makefile" ;;
++  "appl/rcp/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/rcp/Makefile" ;;
++  "appl/su/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/su/Makefile" ;;
++  "appl/xnlock/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/xnlock/Makefile" ;;
++  "appl/telnet/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/telnet/Makefile" ;;
++  "appl/telnet/libtelnet/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/telnet/libtelnet/Makefile" ;;
++  "appl/telnet/telnet/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/telnet/telnet/Makefile" ;;
++  "appl/telnet/telnetd/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/telnet/telnetd/Makefile" ;;
++  "appl/test/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/test/Makefile" ;;
++  "appl/kf/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/kf/Makefile" ;;
++  "appl/dceutils/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/dceutils/Makefile" ;;
++  "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
++  "tools/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
++  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
++  "include/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
++  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
++echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
++   { (exit 1); exit 1; }; };;
++  esac
++done
++
++# If the user did not use the arguments to specify the items to instantiate,
++# then the envvar interface is used.  Set only those that are not.
++# We use the long form for the default assignment because of an extremely
++# bizarre bug on SunOS 4.1.3.
++if $ac_need_defaults; then
++  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
++  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
++  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
++fi
++
++# Have a temporary directory for convenience.  Make it in the build tree
++# simply because there is no reason to put it here, and in addition,
++# creating and moving files from /tmp can sometimes cause problems.
++# Create a temporary directory, and hook for its removal unless debugging.
++$debug ||
++{
++  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
++  trap '{ (exit 1); exit 1; }' 1 2 13 15
++}
++
++# Create a (secure) tmp directory for tmp files.
++
++{
++  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
++  test -n "$tmp" && test -d "$tmp"
++}  ||
++{
++  tmp=./confstat$$-$RANDOM
++  (umask 077 && mkdir $tmp)
++} ||
++{
++   echo "$me: cannot create a temporary directory in ." >&2
++   { (exit 1); exit 1; }
++}
++
++_ACEOF
++
++cat >>$CONFIG_STATUS <<_ACEOF
++
++#
++# CONFIG_FILES section.
++#
++
++# No need to generate the scripts if there are no CONFIG_FILES.
++# This happens for instance when ./config.status config.h
++if test -n "\$CONFIG_FILES"; then
++  # Protect against being on the right side of a sed subst in config.status.
++  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
++   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
++s,@SHELL@,$SHELL,;t t
++s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
++s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
++s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
++s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
++s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
++s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
++s,@exec_prefix@,$exec_prefix,;t t
++s,@prefix@,$prefix,;t t
++s,@program_transform_name@,$program_transform_name,;t t
++s,@bindir@,$bindir,;t t
++s,@sbindir@,$sbindir,;t t
++s,@libexecdir@,$libexecdir,;t t
++s,@datadir@,$datadir,;t t
++s,@sysconfdir@,$sysconfdir,;t t
++s,@sharedstatedir@,$sharedstatedir,;t t
++s,@localstatedir@,$localstatedir,;t t
++s,@libdir@,$libdir,;t t
++s,@includedir@,$includedir,;t t
++s,@oldincludedir@,$oldincludedir,;t t
++s,@infodir@,$infodir,;t t
++s,@mandir@,$mandir,;t t
++s,@build_alias@,$build_alias,;t t
++s,@host_alias@,$host_alias,;t t
++s,@target_alias@,$target_alias,;t t
++s,@DEFS@,$DEFS,;t t
++s,@ECHO_C@,$ECHO_C,;t t
++s,@ECHO_N@,$ECHO_N,;t t
++s,@ECHO_T@,$ECHO_T,;t t
++s,@LIBS@,$LIBS,;t t
++s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
++s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
++s,@MAINT@,$MAINT,;t t
++s,@CC@,$CC,;t t
++s,@CFLAGS@,$CFLAGS,;t t
++s,@LDFLAGS@,$LDFLAGS,;t t
++s,@CPPFLAGS@,$CPPFLAGS,;t t
++s,@ac_ct_CC@,$ac_ct_CC,;t t
++s,@EXEEXT@,$EXEEXT,;t t
++s,@OBJEXT@,$OBJEXT,;t t
++s,@CPP@,$CPP,;t t
++s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
++s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
++s,@INSTALL_DATA@,$INSTALL_DATA,;t t
++s,@PACKAGE@,$PACKAGE,;t t
++s,@VERSION@,$VERSION,;t t
++s,@ACLOCAL@,$ACLOCAL,;t t
++s,@AUTOCONF@,$AUTOCONF,;t t
++s,@AUTOMAKE@,$AUTOMAKE,;t t
++s,@AUTOHEADER@,$AUTOHEADER,;t t
++s,@MAKEINFO@,$MAKEINFO,;t t
++s,@AMTAR@,$AMTAR,;t t
++s,@install_sh@,$install_sh,;t t
++s,@STRIP@,$STRIP,;t t
++s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
++s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
++s,@AWK@,$AWK,;t t
++s,@SET_MAKE@,$SET_MAKE,;t t
++s,@DEPDIR@,$DEPDIR,;t t
++s,@am__include@,$am__include,;t t
++s,@am__quote@,$am__quote,;t t
++s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
++s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
++s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
++s,@CCDEPMODE@,$CCDEPMODE,;t t
++s,@build@,$build,;t t
++s,@build_cpu@,$build_cpu,;t t
++s,@build_vendor@,$build_vendor,;t t
++s,@build_os@,$build_os,;t t
++s,@host@,$host,;t t
++s,@host_cpu@,$host_cpu,;t t
++s,@host_vendor@,$host_vendor,;t t
++s,@host_os@,$host_os,;t t
++s,@CANONICAL_HOST@,$CANONICAL_HOST,;t t
++s,@YACC@,$YACC,;t t
++s,@LEX@,$LEX,;t t
++s,@LEXLIB@,$LEXLIB,;t t
++s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
++s,@LN_S@,$LN_S,;t t
++s,@EGREP@,$EGREP,;t t
++s,@ECHO@,$ECHO,;t t
++s,@AR@,$AR,;t t
++s,@ac_ct_AR@,$ac_ct_AR,;t t
++s,@RANLIB@,$RANLIB,;t t
++s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
++s,@CXX@,$CXX,;t t
++s,@CXXFLAGS@,$CXXFLAGS,;t t
++s,@ac_ct_CXX@,$ac_ct_CXX,;t t
++s,@CXXDEPMODE@,$CXXDEPMODE,;t t
++s,@CXXCPP@,$CXXCPP,;t t
++s,@F77@,$F77,;t t
++s,@FFLAGS@,$FFLAGS,;t t
++s,@ac_ct_F77@,$ac_ct_F77,;t t
++s,@LIBTOOL@,$LIBTOOL,;t t
++s,@WFLAGS@,$WFLAGS,;t t
++s,@WFLAGS_NOUNUSED@,$WFLAGS_NOUNUSED,;t t
++s,@WFLAGS_NOIMPLICITINT@,$WFLAGS_NOIMPLICITINT,;t t
++s,@DIR_openldap@,$DIR_openldap,;t t
++s,@INCLUDE_openldap@,$INCLUDE_openldap,;t t
++s,@LIB_openldap@,$LIB_openldap,;t t
++s,@DIR_krb4@,$DIR_krb4,;t t
++s,@INCLUDE_krb4@,$INCLUDE_krb4,;t t
++s,@LIB_krb4@,$LIB_krb4,;t t
++s,@EXTRA_LIB45@,$EXTRA_LIB45,;t t
++s,@LIB_krb_enable_debug@,$LIB_krb_enable_debug,;t t
++s,@LIB_krb_disable_debug@,$LIB_krb_disable_debug,;t t
++s,@LIB_krb_get_our_ip_for_realm@,$LIB_krb_get_our_ip_for_realm,;t t
++s,@LIB_krb_kdctimeofday@,$LIB_krb_kdctimeofday,;t t
++s,@LIB_krb_get_kdc_time_diff@,$LIB_krb_get_kdc_time_diff,;t t
++s,@KRB4_TRUE@,$KRB4_TRUE,;t t
++s,@KRB4_FALSE@,$KRB4_FALSE,;t t
++s,@KRB5_TRUE@,$KRB5_TRUE,;t t
++s,@KRB5_FALSE@,$KRB5_FALSE,;t t
++s,@do_roken_rename_TRUE@,$do_roken_rename_TRUE,;t t
++s,@do_roken_rename_FALSE@,$do_roken_rename_FALSE,;t t
++s,@LIB_kdb@,$LIB_kdb,;t t
++s,@HAVE_OPENSSL_TRUE@,$HAVE_OPENSSL_TRUE,;t t
++s,@HAVE_OPENSSL_FALSE@,$HAVE_OPENSSL_FALSE,;t t
++s,@DIR_des@,$DIR_des,;t t
++s,@INCLUDE_des@,$INCLUDE_des,;t t
++s,@LIB_des@,$LIB_des,;t t
++s,@LIB_des_a@,$LIB_des_a,;t t
++s,@LIB_des_so@,$LIB_des_so,;t t
++s,@LIB_des_appl@,$LIB_des_appl,;t t
++s,@DCE_TRUE@,$DCE_TRUE,;t t
++s,@DCE_FALSE@,$DCE_FALSE,;t t
++s,@dpagaix_cflags@,$dpagaix_cflags,;t t
++s,@dpagaix_ldadd@,$dpagaix_ldadd,;t t
++s,@dpagaix_ldflags@,$dpagaix_ldflags,;t t
++s,@LIB_db_create@,$LIB_db_create,;t t
++s,@LIB_dbopen@,$LIB_dbopen,;t t
++s,@LIB_dbm_firstkey@,$LIB_dbm_firstkey,;t t
++s,@HAVE_DB1_TRUE@,$HAVE_DB1_TRUE,;t t
++s,@HAVE_DB1_FALSE@,$HAVE_DB1_FALSE,;t t
++s,@HAVE_DB3_TRUE@,$HAVE_DB3_TRUE,;t t
++s,@HAVE_DB3_FALSE@,$HAVE_DB3_FALSE,;t t
++s,@HAVE_NDBM_TRUE@,$HAVE_NDBM_TRUE,;t t
++s,@HAVE_NDBM_FALSE@,$HAVE_NDBM_FALSE,;t t
++s,@DBLIB@,$DBLIB,;t t
++s,@LIB_NDBM@,$LIB_NDBM,;t t
++s,@LIB_crypt@,$LIB_crypt,;t t
++s,@LIB_roken@,$LIB_roken,;t t
++s,@DIR_roken@,$DIR_roken,;t t
++s,@CPPFLAGS_roken@,$CPPFLAGS_roken,;t t
++s,@VOID_RETSIGTYPE@,$VOID_RETSIGTYPE,;t t
++s,@have_err_h_TRUE@,$have_err_h_TRUE,;t t
++s,@have_err_h_FALSE@,$have_err_h_FALSE,;t t
++s,@have_fnmatch_h_TRUE@,$have_fnmatch_h_TRUE,;t t
++s,@have_fnmatch_h_FALSE@,$have_fnmatch_h_FALSE,;t t
++s,@have_ifaddrs_h_TRUE@,$have_ifaddrs_h_TRUE,;t t
++s,@have_ifaddrs_h_FALSE@,$have_ifaddrs_h_FALSE,;t t
++s,@have_vis_h_TRUE@,$have_vis_h_TRUE,;t t
++s,@have_vis_h_FALSE@,$have_vis_h_FALSE,;t t
++s,@LIB_socket@,$LIB_socket,;t t
++s,@LIB_gethostbyname@,$LIB_gethostbyname,;t t
++s,@LIB_syslog@,$LIB_syslog,;t t
++s,@LIB_gethostbyname2@,$LIB_gethostbyname2,;t t
++s,@LIB_res_search@,$LIB_res_search,;t t
++s,@LIB_res_nsearch@,$LIB_res_nsearch,;t t
++s,@LIB_dn_expand@,$LIB_dn_expand,;t t
++s,@LIB@&t@OBJS@,$LIB@&t@OBJS,;t t
++s,@have_glob_h_TRUE@,$have_glob_h_TRUE,;t t
++s,@have_glob_h_FALSE@,$have_glob_h_FALSE,;t t
++s,@LIB_getsockopt@,$LIB_getsockopt,;t t
++s,@LIB_setsockopt@,$LIB_setsockopt,;t t
++s,@LIB_hstrerror@,$LIB_hstrerror,;t t
++s,@LIB_bswap16@,$LIB_bswap16,;t t
++s,@LIB_bswap32@,$LIB_bswap32,;t t
++s,@LIB_pidfile@,$LIB_pidfile,;t t
++s,@LIB_getaddrinfo@,$LIB_getaddrinfo,;t t
++s,@LIB_getnameinfo@,$LIB_getnameinfo,;t t
++s,@LIB_freeaddrinfo@,$LIB_freeaddrinfo,;t t
++s,@LIB_gai_strerror@,$LIB_gai_strerror,;t t
++s,@OTP_TRUE@,$OTP_TRUE,;t t
++s,@OTP_FALSE@,$OTP_FALSE,;t t
++s,@LIB_security@,$LIB_security,;t t
++s,@NROFF@,$NROFF,;t t
++s,@GROFF@,$GROFF,;t t
++s,@CATMAN@,$CATMAN,;t t
++s,@CATMAN_TRUE@,$CATMAN_TRUE,;t t
++s,@CATMAN_FALSE@,$CATMAN_FALSE,;t t
++s,@CATMANEXT@,$CATMANEXT,;t t
++s,@DIR_readline@,$DIR_readline,;t t
++s,@INCLUDE_readline@,$INCLUDE_readline,;t t
++s,@LIB_readline@,$LIB_readline,;t t
++s,@DIR_hesiod@,$DIR_hesiod,;t t
++s,@INCLUDE_hesiod@,$INCLUDE_hesiod,;t t
++s,@LIB_hesiod@,$LIB_hesiod,;t t
++s,@DIR_sl@,$DIR_sl,;t t
++s,@INCLUDE_sl@,$INCLUDE_sl,;t t
++s,@LIB_sl@,$LIB_sl,;t t
++s,@DIR_ss@,$DIR_ss,;t t
++s,@INCLUDE_ss@,$INCLUDE_ss,;t t
++s,@LIB_ss@,$LIB_ss,;t t
++s,@DIR_otp@,$DIR_otp,;t t
++s,@INCLUDE_otp@,$INCLUDE_otp,;t t
++s,@LIB_otp@,$LIB_otp,;t t
++s,@AIX_TRUE@,$AIX_TRUE,;t t
++s,@AIX_FALSE@,$AIX_FALSE,;t t
++s,@AIX4_TRUE@,$AIX4_TRUE,;t t
++s,@AIX4_FALSE@,$AIX4_FALSE,;t t
++s,@LIB_dlopen@,$LIB_dlopen,;t t
++s,@HAVE_DLOPEN_TRUE@,$HAVE_DLOPEN_TRUE,;t t
++s,@HAVE_DLOPEN_FALSE@,$HAVE_DLOPEN_FALSE,;t t
++s,@LIB_loadquery@,$LIB_loadquery,;t t
++s,@AIX_DYNAMIC_AFS_TRUE@,$AIX_DYNAMIC_AFS_TRUE,;t t
++s,@AIX_DYNAMIC_AFS_FALSE@,$AIX_DYNAMIC_AFS_FALSE,;t t
++s,@AIX_EXTRA_KAFS@,$AIX_EXTRA_KAFS,;t t
++s,@IRIX_TRUE@,$IRIX_TRUE,;t t
++s,@IRIX_FALSE@,$IRIX_FALSE,;t t
++s,@X_CFLAGS@,$X_CFLAGS,;t t
++s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
++s,@X_LIBS@,$X_LIBS,;t t
++s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
++s,@HAVE_X_TRUE@,$HAVE_X_TRUE,;t t
++s,@HAVE_X_FALSE@,$HAVE_X_FALSE,;t t
++s,@LIB_XauWriteAuth@,$LIB_XauWriteAuth,;t t
++s,@LIB_XauReadAuth@,$LIB_XauReadAuth,;t t
++s,@LIB_XauFileName@,$LIB_XauFileName,;t t
++s,@NEED_WRITEAUTH_TRUE@,$NEED_WRITEAUTH_TRUE,;t t
++s,@NEED_WRITEAUTH_FALSE@,$NEED_WRITEAUTH_FALSE,;t t
++s,@LIB_logwtmp@,$LIB_logwtmp,;t t
++s,@LIB_logout@,$LIB_logout,;t t
++s,@LIB_openpty@,$LIB_openpty,;t t
++s,@LIB_tgetent@,$LIB_tgetent,;t t
++s,@LIB_getpwnam_r@,$LIB_getpwnam_r,;t t
++s,@LIB_el_init@,$LIB_el_init,;t t
++s,@el_compat_TRUE@,$el_compat_TRUE,;t t
++s,@el_compat_FALSE@,$el_compat_FALSE,;t t
++s,@COMPILE_ET@,$COMPILE_ET,;t t
++s,@DIR_com_err@,$DIR_com_err,;t t
++s,@LIB_com_err@,$LIB_com_err,;t t
++s,@LIB_com_err_a@,$LIB_com_err_a,;t t
++s,@LIB_com_err_so@,$LIB_com_err_so,;t t
++s,@LIB_AUTH_SUBDIRS@,$LIB_AUTH_SUBDIRS,;t t
++s,@LTLIBOBJS@,$LTLIBOBJS,;t t
++CEOF
++
++_ACEOF
++
++  cat >>$CONFIG_STATUS <<\_ACEOF
++  # 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_lines=48
++  ac_sed_frag=1 # Number of current file.
++  ac_beg=1 # First line for current file.
++  ac_end=$ac_max_sed_lines # 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" $tmp/subs.sed >$tmp/subs.frag
++    else
++      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
++    fi
++    if test ! -s $tmp/subs.frag; then
++      ac_more_lines=false
++    else
++      # The purpose of the label and of the branching condition is to
++      # speed up the sed processing (if there are no `@' at all, there
++      # is no need to browse any of the substitutions).
++      # These are the two extra sed commands mentioned above.
++      (echo ':t
++  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
++      if test -z "$ac_sed_cmds"; then
++  	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
++      else
++  	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
++      fi
++      ac_sed_frag=`expr $ac_sed_frag + 1`
++      ac_beg=$ac_end
++      ac_end=`expr $ac_end + $ac_max_sed_lines`
++    fi
++  done
++  if test -z "$ac_sed_cmds"; then
++    ac_sed_cmds=cat
++  fi
++fi # test -n "$CONFIG_FILES"
++
++_ACEOF
++cat >>$CONFIG_STATUS <<\_ACEOF
++for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
++  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
++  case $ac_file in
++  - | *:- | *:-:* ) # input from stdin
++        cat >$tmp/stdin
++        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
++        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
++  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
++        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
++  * )   ac_file_in=$ac_file.in ;;
++  esac
++
++  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
++  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
++$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++         X"$ac_file" : 'X\(//\)[^/]' \| \
++         X"$ac_file" : 'X\(//\)$' \| \
++         X"$ac_file" : 'X\(/\)' \| \
++         .     : '\(.\)' 2>/dev/null ||
++echo X"$ac_file" |
++    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
++  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
++  	  /^X\(\/\/\)$/{ s//\1/; q; }
++  	  /^X\(\/\).*/{ s//\1/; q; }
++  	  s/.*/./; q'`
++  { if $as_mkdir_p; then
++    mkdir -p "$ac_dir"
++  else
++    as_dir="$ac_dir"
++    as_dirs=
++    while test ! -d "$as_dir"; do
++      as_dirs="$as_dir $as_dirs"
++      as_dir=`(dirname "$as_dir") 2>/dev/null ||
++$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++         X"$as_dir" : 'X\(//\)[^/]' \| \
++         X"$as_dir" : 'X\(//\)$' \| \
++         X"$as_dir" : 'X\(/\)' \| \
++         .     : '\(.\)' 2>/dev/null ||
++echo X"$as_dir" |
++    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
++  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
++  	  /^X\(\/\/\)$/{ s//\1/; q; }
++  	  /^X\(\/\).*/{ s//\1/; q; }
++  	  s/.*/./; q'`
++    done
++    test ! -n "$as_dirs" || mkdir $as_dirs
++  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
++echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
++   { (exit 1); exit 1; }; }; }
++
++  ac_builddir=.
++
++if test "$ac_dir" != .; then
++  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
++  # A "../" for each directory in $ac_dir_suffix.
++  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
++else
++  ac_dir_suffix= ac_top_builddir=
++fi
++
++case $srcdir in
++  .)  # No --srcdir option.  We are building in place.
++    ac_srcdir=.
++    if test -z "$ac_top_builddir"; then
++       ac_top_srcdir=.
++    else
++       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
++    fi ;;
++  [\\/]* | ?:[\\/]* )  # Absolute path.
++    ac_srcdir=$srcdir$ac_dir_suffix;
++    ac_top_srcdir=$srcdir ;;
++  *) # Relative path.
++    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
++    ac_top_srcdir=$ac_top_builddir$srcdir ;;
++esac
++# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
++# absolute.
++ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
++ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
++ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
++ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
++
++
++  case $INSTALL in
++  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
++  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
++  esac
++
++  if test x"$ac_file" != x-; then
++    { echo "$as_me:$LINENO: creating $ac_file" >&5
++echo "$as_me: creating $ac_file" >&6;}
++    rm -f "$ac_file"
++  fi
++  # Let's still pretend it is `configure' which instantiates (i.e., don't
++  # use $as_me), people would be surprised to read:
++  #    /* config.h.  Generated by config.status.  */
++  if test x"$ac_file" = x-; then
++    configure_input=
++  else
++    configure_input="$ac_file.  "
++  fi
++  configure_input=$configure_input"Generated from `echo $ac_file_in |
++                                     sed 's,.*/,,'` by configure."
++
++  # First look for the input files in the build tree, otherwise in the
++  # src tree.
++  ac_file_inputs=`IFS=:
++    for f in $ac_file_in; do
++      case $f in
++      -) echo $tmp/stdin ;;
++      [\\/$]*)
++         # Absolute (can't be DOS-style, as IFS=:)
++         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
++echo "$as_me: error: cannot find input file: $f" >&2;}
++   { (exit 1); exit 1; }; }
++         echo $f;;
++      *) # Relative
++         if test -f "$f"; then
++           # Build tree
++           echo $f
++         elif test -f "$srcdir/$f"; then
++           # Source tree
++           echo $srcdir/$f
++         else
++           # /dev/null tree
++           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
++echo "$as_me: error: cannot find input file: $f" >&2;}
++   { (exit 1); exit 1; }; }
++         fi;;
++      esac
++    done` || { (exit 1); exit 1; }
++_ACEOF
++cat >>$CONFIG_STATUS <<_ACEOF
++  sed "$ac_vpsub
++$extrasub
++_ACEOF
++cat >>$CONFIG_STATUS <<\_ACEOF
++:t
++/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
++s,@configure_input@,$configure_input,;t t
++s,@srcdir@,$ac_srcdir,;t t
++s,@abs_srcdir@,$ac_abs_srcdir,;t t
++s,@top_srcdir@,$ac_top_srcdir,;t t
++s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
++s,@builddir@,$ac_builddir,;t t
++s,@abs_builddir@,$ac_abs_builddir,;t t
++s,@top_builddir@,$ac_top_builddir,;t t
++s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
++s,@INSTALL@,$ac_INSTALL,;t t
++" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
++  rm -f $tmp/stdin
++  if test x"$ac_file" != x-; then
++    mv $tmp/out $ac_file
++  else
++    cat $tmp/out
++    rm -f $tmp/out
++  fi
++
++done
++_ACEOF
++cat >>$CONFIG_STATUS <<\_ACEOF
++
++#
++# CONFIG_HEADER section.
++#
++
++# 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=' '
++ac_dD=',;t'
++# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
++ac_uA='s,^\([ 	]*\)#\([ 	]*\)undef\([ 	][ 	]*\)'
++ac_uB='$,\1#\2define\3'
++ac_uC=' '
++ac_uD=',;t'
++
++for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
++  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
++  case $ac_file in
++  - | *:- | *:-:* ) # input from stdin
++        cat >$tmp/stdin
++        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
++        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
++  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
++        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
++  * )   ac_file_in=$ac_file.in ;;
++  esac
++
++  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
++echo "$as_me: creating $ac_file" >&6;}
++
++  # First look for the input files in the build tree, otherwise in the
++  # src tree.
++  ac_file_inputs=`IFS=:
++    for f in $ac_file_in; do
++      case $f in
++      -) echo $tmp/stdin ;;
++      [\\/$]*)
++         # Absolute (can't be DOS-style, as IFS=:)
++         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
++echo "$as_me: error: cannot find input file: $f" >&2;}
++   { (exit 1); exit 1; }; }
++         echo $f;;
++      *) # Relative
++         if test -f "$f"; then
++           # Build tree
++           echo $f
++         elif test -f "$srcdir/$f"; then
++           # Source tree
++           echo $srcdir/$f
++         else
++           # /dev/null tree
++           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
++echo "$as_me: error: cannot find input file: $f" >&2;}
++   { (exit 1); exit 1; }; }
++         fi;;
++      esac
++    done` || { (exit 1); exit 1; }
++  # Remove the trailing spaces.
++  sed 's/[ 	]*$//' $ac_file_inputs >$tmp/in
++
++_ACEOF
++
++# Transform confdefs.h into two sed scripts, `conftest.defines' and
++# `conftest.undefs', that substitutes the proper values into
++# config.h.in to produce config.h.  The first handles `#define'
++# templates, and the second `#undef' templates.
++# 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.defines conftest.undefs
++# Using a here document instead of a string reduces the quoting nightmare.
++# Putting comments in sed scripts is not portable.
++#
++# `end' is used to avoid that the second main sed command (meant for
++# 0-ary CPP macros) applies to n-ary macro definitions.
++# See the Autoconf documentation for `clear'.
++cat >confdef2sed.sed <<\_ACEOF
++s/[\\&,]/\\&/g
++s,[\\$`],\\&,g
++t clear
++: clear
++s,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	(][^ 	(]*\)\(([^)]*)\)[ 	]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
++t end
++s,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	][^ 	]*\)[ 	]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
++: end
++_ACEOF
++# If some macros were called several times there might be several times
++# the same #defines, which is useless.  Nevertheless, we may not want to
++# sort them, since we want the *last* AC-DEFINE to be honored.
++uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
++sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
++rm -f confdef2sed.sed
++
++# 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.undefs <<\_ACEOF
++s,^[ 	]*#[ 	]*undef[ 	][ 	]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
++_ACEOF
++
++# Break up conftest.defines because some shells have a limit on the size
++# of here documents, and old seds have small limits too (100 cmds).
++echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
++echo '  if grep "^[ 	]*#[ 	]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
++echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
++echo '  :' >>$CONFIG_STATUS
++rm -f conftest.tail
++while grep . conftest.defines >/dev/null
++do
++  # Write a limited-size here document to $tmp/defines.sed.
++  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
++  # Speed up: don't consider the non `#define' lines.
++  echo '/^[ 	]*#[ 	]*define/!b' >>$CONFIG_STATUS
++  # Work around the forget-to-reset-the-flag bug.
++  echo 't clr' >>$CONFIG_STATUS
++  echo ': clr' >>$CONFIG_STATUS
++  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
++  echo 'CEOF
++  sed -f $tmp/defines.sed $tmp/in >$tmp/out
++  rm -f $tmp/in
++  mv $tmp/out $tmp/in
++' >>$CONFIG_STATUS
++  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
++  rm -f conftest.defines
++  mv conftest.tail conftest.defines
++done
++rm -f conftest.defines
++echo '  fi # grep' >>$CONFIG_STATUS
++echo >>$CONFIG_STATUS
++
++# Break up conftest.undefs because some shells have a limit on the size
++# of here documents, and old seds have small limits too (100 cmds).
++echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
++rm -f conftest.tail
++while grep . conftest.undefs >/dev/null
++do
++  # Write a limited-size here document to $tmp/undefs.sed.
++  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
++  # Speed up: don't consider the non `#undef'
++  echo '/^[ 	]*#[ 	]*undef/!b' >>$CONFIG_STATUS
++  # Work around the forget-to-reset-the-flag bug.
++  echo 't clr' >>$CONFIG_STATUS
++  echo ': clr' >>$CONFIG_STATUS
++  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
++  echo 'CEOF
++  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
++  rm -f $tmp/in
++  mv $tmp/out $tmp/in
++' >>$CONFIG_STATUS
++  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
++  rm -f conftest.undefs
++  mv conftest.tail conftest.undefs
++done
++rm -f conftest.undefs
++
++cat >>$CONFIG_STATUS <<\_ACEOF
++  # Let's still pretend it is `configure' which instantiates (i.e., don't
++  # use $as_me), people would be surprised to read:
++  #    /* config.h.  Generated by config.status.  */
++  if test x"$ac_file" = x-; then
++    echo "/* Generated by configure.  */" >$tmp/config.h
++  else
++    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
++  fi
++  cat $tmp/in >>$tmp/config.h
++  rm -f $tmp/in
++  if test x"$ac_file" != x-; then
++    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
++      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
++echo "$as_me: $ac_file is unchanged" >&6;}
++    else
++      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
++$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++         X"$ac_file" : 'X\(//\)[^/]' \| \
++         X"$ac_file" : 'X\(//\)$' \| \
++         X"$ac_file" : 'X\(/\)' \| \
++         .     : '\(.\)' 2>/dev/null ||
++echo X"$ac_file" |
++    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
++  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
++  	  /^X\(\/\/\)$/{ s//\1/; q; }
++  	  /^X\(\/\).*/{ s//\1/; q; }
++  	  s/.*/./; q'`
++      { if $as_mkdir_p; then
++    mkdir -p "$ac_dir"
++  else
++    as_dir="$ac_dir"
++    as_dirs=
++    while test ! -d "$as_dir"; do
++      as_dirs="$as_dir $as_dirs"
++      as_dir=`(dirname "$as_dir") 2>/dev/null ||
++$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++         X"$as_dir" : 'X\(//\)[^/]' \| \
++         X"$as_dir" : 'X\(//\)$' \| \
++         X"$as_dir" : 'X\(/\)' \| \
++         .     : '\(.\)' 2>/dev/null ||
++echo X"$as_dir" |
++    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
++  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
++  	  /^X\(\/\/\)$/{ s//\1/; q; }
++  	  /^X\(\/\).*/{ s//\1/; q; }
++  	  s/.*/./; q'`
++    done
++    test ! -n "$as_dirs" || mkdir $as_dirs
++  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
++echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
++   { (exit 1); exit 1; }; }; }
++
++      rm -f $ac_file
++      mv $tmp/config.h $ac_file
++    fi
++  else
++    cat $tmp/config.h
++    rm -f $tmp/config.h
++  fi
++  # Run the commands associated with the file.
++  case $ac_file in
++    include/config.h ) # update the timestamp
++echo 'timestamp for include/config.h' >"include/stamp-h1"
++ ;;
++  esac
++done
++_ACEOF
++cat >>$CONFIG_STATUS <<\_ACEOF
++
++#
++# CONFIG_COMMANDS section.
++#
++for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
++  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
++  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
++  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
++$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++         X"$ac_dest" : 'X\(//\)[^/]' \| \
++         X"$ac_dest" : 'X\(//\)$' \| \
++         X"$ac_dest" : 'X\(/\)' \| \
++         .     : '\(.\)' 2>/dev/null ||
++echo X"$ac_dest" |
++    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
++  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
++  	  /^X\(\/\/\)$/{ s//\1/; q; }
++  	  /^X\(\/\).*/{ s//\1/; q; }
++  	  s/.*/./; q'`
++  ac_builddir=.
++
++if test "$ac_dir" != .; then
++  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
++  # A "../" for each directory in $ac_dir_suffix.
++  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
++else
++  ac_dir_suffix= ac_top_builddir=
++fi
++
++case $srcdir in
++  .)  # No --srcdir option.  We are building in place.
++    ac_srcdir=.
++    if test -z "$ac_top_builddir"; then
++       ac_top_srcdir=.
++    else
++       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
++    fi ;;
++  [\\/]* | ?:[\\/]* )  # Absolute path.
++    ac_srcdir=$srcdir$ac_dir_suffix;
++    ac_top_srcdir=$srcdir ;;
++  *) # Relative path.
++    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
++    ac_top_srcdir=$ac_top_builddir$srcdir ;;
++esac
++# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
++# absolute.
++ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
++ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
++ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
++ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
++
++
++  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
++echo "$as_me: executing $ac_dest commands" >&6;}
++  case $ac_dest in
++    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
++  # Strip MF so we end up with the name of the file.
++  mf=`echo "$mf" | sed -e 's/:.*$//'`
++  # Check whether this is an Automake generated Makefile or not.
++  # We used to match only the files named `Makefile.in', but
++  # some people rename them; so instead we look at the file content.
++  # Grep'ing the first line is not enough: some people post-process
++  # each Makefile.in and add a new line on top of each file to say so.
++  # So let's grep whole file.
++  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
++    dirpart=`(dirname "$mf") 2>/dev/null ||
++$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++         X"$mf" : 'X\(//\)[^/]' \| \
++         X"$mf" : 'X\(//\)$' \| \
++         X"$mf" : 'X\(/\)' \| \
++         .     : '\(.\)' 2>/dev/null ||
++echo X"$mf" |
++    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
++  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
++  	  /^X\(\/\/\)$/{ s//\1/; q; }
++  	  /^X\(\/\).*/{ s//\1/; q; }
++  	  s/.*/./; q'`
++  else
++    continue
++  fi
++  grep '^DEP_FILES *= *[^ @%:@]' < "$mf" > /dev/null || continue
++  # Extract the definition of DEP_FILES from the Makefile without
++  # running `make'.
++  DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
++  test -z "$DEPDIR" && continue
++  # When using ansi2knr, U may be empty or an underscore; expand it
++  U=`sed -n -e '/^U = / s///p' < "$mf"`
++  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
++  # We invoke sed twice because it is the simplest approach to
++  # changing $(DEPDIR) to its actual value in the expansion.
++  for file in `sed -n -e '
++    /^DEP_FILES = .*\\\\$/ {
++      s/^DEP_FILES = //
++      :loop
++	s/\\\\$//
++	p
++	n
++	/\\\\$/ b loop
++      p
++    }
++    /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
++       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
++    # Make sure the directory exists.
++    test -f "$dirpart/$file" && continue
++    fdir=`(dirname "$file") 2>/dev/null ||
++$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++         X"$file" : 'X\(//\)[^/]' \| \
++         X"$file" : 'X\(//\)$' \| \
++         X"$file" : 'X\(/\)' \| \
++         .     : '\(.\)' 2>/dev/null ||
++echo X"$file" |
++    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
++  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
++  	  /^X\(\/\/\)$/{ s//\1/; q; }
++  	  /^X\(\/\).*/{ s//\1/; q; }
++  	  s/.*/./; q'`
++    { if $as_mkdir_p; then
++    mkdir -p $dirpart/$fdir
++  else
++    as_dir=$dirpart/$fdir
++    as_dirs=
++    while test ! -d "$as_dir"; do
++      as_dirs="$as_dir $as_dirs"
++      as_dir=`(dirname "$as_dir") 2>/dev/null ||
++$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++         X"$as_dir" : 'X\(//\)[^/]' \| \
++         X"$as_dir" : 'X\(//\)$' \| \
++         X"$as_dir" : 'X\(/\)' \| \
++         .     : '\(.\)' 2>/dev/null ||
++echo X"$as_dir" |
++    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
++  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
++  	  /^X\(\/\/\)$/{ s//\1/; q; }
++  	  /^X\(\/\).*/{ s//\1/; q; }
++  	  s/.*/./; q'`
++    done
++    test ! -n "$as_dirs" || mkdir $as_dirs
++  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
++echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
++   { (exit 1); exit 1; }; }; }
++
++    # echo "creating $dirpart/$file"
++    echo '# dummy' > "$dirpart/$file"
++  done
++done
++ ;;
++  esac
++done
++_ACEOF
++
++cat >>$CONFIG_STATUS <<\_ACEOF
++
++{ (exit 0); exit 0; }
++_ACEOF
++chmod +x $CONFIG_STATUS
++ac_clean_files=$ac_clean_files_save
++
++
++# configure is writing to config.log, and then calls config.status.
++# config.status does its own redirection, appending to config.log.
++# Unfortunately, on DOS this fails, as config.log is still kept open
++# by configure, so config.status won't be able to write to it; its
++# output is simply discarded.  So we exec the FD to /dev/null,
++# effectively closing config.log, so it can be properly (re)opened and
++# appended to by config.status.  When coming back to configure, we
++# need to make the FD available again.
++if test "$no_create" != yes; then
++  ac_cs_success=:
++  ac_config_status_args=
++  test "$silent" = yes &&
++    ac_config_status_args="$ac_config_status_args --quiet"
++  exec 5>/dev/null
++  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
++  exec 5>>config.log
++  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
++  # would make configure fail if this is the last instruction.
++  $ac_cs_success || { (exit 1); exit 1; }
++fi
++
++
++
++cat > include/newversion.h.in <<EOF
++const char *heimdal_long_version = "@(#)\$Version: $PACKAGE_STRING by @USER@ on @HOST@ ($host) @DATE@ \$";
++const char *heimdal_version = "Heimdal 0.6";
++EOF
++
++if test -f include/version.h && cmp -s include/newversion.h.in include/version.h.in; then
++	echo "include/version.h is unchanged"
++	rm -f include/newversion.h.in
++else
++ 	echo "creating include/version.h"
++ 	User=${USER-${LOGNAME}}
++ 	Host=`(hostname || uname -n || echo unknown) 2>/dev/null | sed 1q`
++ 	Date=`date`
++	mv -f include/newversion.h.in include/version.h.in
++	sed -e "s/@USER@/$User/" -e "s/@HOST@/$Host/" -e "s/@DATE@/$Date/" include/version.h.in > include/version.h
++fi
+diff -ruN heimdal-0.6-old/autom4te.cache/requests heimdal-0.6/autom4te.cache/requests
+--- heimdal-0.6-old/autom4te.cache/requests	1970-01-01 01:00:00.000000000 +0100
++++ heimdal-0.6/autom4te.cache/requests	2003-09-15 17:09:09.000000000 +0200
+@@ -0,0 +1,111 @@
++# This file was created by autom4te.
++# It contains the lists of macros which have been traced.
++# It can be safely removed.
++
++@request = (
++             bless( [
++                      '0',
++                      1,
++                      [
++                        '/usr/share/autoconf'
++                      ],
++                      [
++                        '/usr/share/autoconf/autoconf/autoconf.m4f',
++                        'aclocal.m4',
++                        'configure.in'
++                      ],
++                      {
++                        'm4_pattern_forbid' => 1,
++                        'AC_TYPE_OFF_T' => 1,
++                        'AC_C_VOLATILE' => 1,
++                        'AC_FUNC_CLOSEDIR_VOID' => 1,
++                        'AC_REPLACE_FNMATCH' => 1,
++                        'AC_PROG_LIBTOOL' => 1,
++                        'AC_FUNC_STAT' => 1,
++                        'AC_HEADER_TIME' => 1,
++                        'AC_FUNC_WAIT3' => 1,
++                        'AM_AUTOMAKE_VERSION' => 1,
++                        'AC_STRUCT_TM' => 1,
++                        'AC_FUNC_LSTAT' => 1,
++                        'AC_TYPE_MODE_T' => 1,
++                        'AC_FUNC_GETMNTENT' => 1,
++                        'AC_FUNC_STRTOD' => 1,
++                        'AC_CHECK_HEADERS' => 1,
++                        'AC_FUNC_STRNLEN' => 1,
++                        'AC_PROG_CXX' => 1,
++                        'AC_PATH_X' => 1,
++                        'AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK' => 1,
++                        'AC_PROG_AWK' => 1,
++                        'AC_HEADER_STDC' => 1,
++                        'AC_HEADER_MAJOR' => 1,
++                        'AC_FUNC_ERROR_AT_LINE' => 1,
++                        'AC_PROG_GCC_TRADITIONAL' => 1,
++                        'AC_LIBSOURCE' => 1,
++                        'AC_FUNC_MBRTOWC' => 1,
++                        'AC_STRUCT_ST_BLOCKS' => 1,
++                        'AC_TYPE_SIGNAL' => 1,
++                        'AC_TYPE_UID_T' => 1,
++                        'AC_CONFIG_AUX_DIR' => 1,
++                        'AC_PROG_MAKE_SET' => 1,
++                        'm4_pattern_allow' => 1,
++                        'AC_DEFINE_TRACE_LITERAL' => 1,
++                        'AC_FUNC_STRERROR_R' => 1,
++                        'AC_PROG_CC' => 1,
++                        'AC_DECL_SYS_SIGLIST' => 1,
++                        'AC_FUNC_FORK' => 1,
++                        'AC_FUNC_VPRINTF' => 1,
++                        'AC_FUNC_STRCOLL' => 1,
++                        'AC_PROG_YACC' => 1,
++                        'AC_STRUCT_TIMEZONE' => 1,
++                        'AC_INIT' => 1,
++                        'AC_FUNC_CHOWN' => 1,
++                        'AC_SUBST' => 1,
++                        'AC_FUNC_ALLOCA' => 1,
++                        'AC_CANONICAL_HOST' => 1,
++                        'AC_FUNC_GETPGRP' => 1,
++                        'AC_PROG_RANLIB' => 1,
++                        'AM_INIT_AUTOMAKE' => 1,
++                        'AC_FUNC_SETPGRP' => 1,
++                        'AC_CONFIG_SUBDIRS' => 1,
++                        'AC_FUNC_MMAP' => 1,
++                        'AC_FUNC_REALLOC' => 1,
++                        'AC_TYPE_SIZE_T' => 1,
++                        'AC_CHECK_TYPES' => 1,
++                        'AC_CHECK_MEMBERS' => 1,
++                        'AM_MAINTAINER_MODE' => 1,
++                        'AC_FUNC_UTIME_NULL' => 1,
++                        'AC_FUNC_SELECT_ARGTYPES' => 1,
++                        'AC_FUNC_STRFTIME' => 1,
++                        'AC_HEADER_STAT' => 1,
++                        'AC_C_INLINE' => 1,
++                        'AC_PROG_CPP' => 1,
++                        'AC_TYPE_PID_T' => 1,
++                        'AC_C_CONST' => 1,
++                        'AC_PROG_LEX' => 1,
++                        'AC_CONFIG_FILES' => 1,
++                        'include' => 1,
++                        'AC_FUNC_SETVBUF_REVERSED' => 1,
++                        'AC_PROG_INSTALL' => 1,
++                        'AM_GNU_GETTEXT' => 1,
++                        'AC_CHECK_LIB' => 1,
++                        'AC_FUNC_OBSTACK' => 1,
++                        'AC_FUNC_MALLOC' => 1,
++                        'AC_FUNC_GETGROUPS' => 1,
++                        'AC_FUNC_GETLOADAVG' => 1,
++                        'AH_OUTPUT' => 1,
++                        'AC_FUNC_FSEEKO' => 1,
++                        'AM_PROG_CC_C_O' => 1,
++                        'AM_CONDITIONAL' => 1,
++                        'AC_CANONICAL_SYSTEM' => 1,
++                        'AC_FUNC_MKTIME' => 1,
++                        'AC_CONFIG_HEADERS' => 1,
++                        'AC_HEADER_SYS_WAIT' => 1,
++                        'AC_FUNC_MEMCMP' => 1,
++                        'AC_PROG_LN_S' => 1,
++                        'm4_include' => 1,
++                        'AC_HEADER_DIRENT' => 1,
++                        'AC_CHECK_FUNCS' => 1
++                      }
++                    ], 'Request' )
++           );
++
+diff -ruN heimdal-0.6-old/autom4te.cache/traces.0 heimdal-0.6/autom4te.cache/traces.0
+--- heimdal-0.6-old/autom4te.cache/traces.0	1970-01-01 01:00:00.000000000 +0100
++++ heimdal-0.6/autom4te.cache/traces.0	2003-09-15 17:09:03.000000000 +0200
+@@ -0,0 +1,2161 @@
++m4trace:aclocal.m4:234: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
++m4trace:configure.in:5: -1- AC_INIT([Heimdal], [0.6], [heimdal-bugs@pdc.kth.se])
++m4trace:configure.in:5: -1- m4_pattern_forbid([^_?A[CHUM]_])
++m4trace:configure.in:5: -1- m4_pattern_forbid([_AC_])
++m4trace:configure.in:5: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
++m4trace:configure.in:5: -1- m4_pattern_allow([^AS_FLAGS$])
++m4trace:configure.in:5: -1- m4_pattern_forbid([^_?m4_])
++m4trace:configure.in:5: -1- m4_pattern_forbid([^dnl$])
++m4trace:configure.in:5: -1- m4_pattern_forbid([^_?AS_])
++m4trace:configure.in:5: -1- AC_SUBST([SHELL], [${CONFIG_SHELL-/bin/sh}])
++m4trace:configure.in:5: -1- AC_SUBST([PATH_SEPARATOR])
++m4trace:configure.in:5: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME],      ['AC_PACKAGE_NAME'])])
++m4trace:configure.in:5: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME],   ['AC_PACKAGE_TARNAME'])])
++m4trace:configure.in:5: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION],   ['AC_PACKAGE_VERSION'])])
++m4trace:configure.in:5: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING],    ['AC_PACKAGE_STRING'])])
++m4trace:configure.in:5: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])])
++m4trace:configure.in:5: -1- AC_SUBST([exec_prefix], [NONE])
++m4trace:configure.in:5: -1- AC_SUBST([prefix], [NONE])
++m4trace:configure.in:5: -1- AC_SUBST([program_transform_name], [s,x,x,])
++m4trace:configure.in:5: -1- AC_SUBST([bindir], ['${exec_prefix}/bin'])
++m4trace:configure.in:5: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin'])
++m4trace:configure.in:5: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec'])
++m4trace:configure.in:5: -1- AC_SUBST([datadir], ['${prefix}/share'])
++m4trace:configure.in:5: -1- AC_SUBST([sysconfdir], ['${prefix}/etc'])
++m4trace:configure.in:5: -1- AC_SUBST([sharedstatedir], ['${prefix}/com'])
++m4trace:configure.in:5: -1- AC_SUBST([localstatedir], ['${prefix}/var'])
++m4trace:configure.in:5: -1- AC_SUBST([libdir], ['${exec_prefix}/lib'])
++m4trace:configure.in:5: -1- AC_SUBST([includedir], ['${prefix}/include'])
++m4trace:configure.in:5: -1- AC_SUBST([oldincludedir], ['/usr/include'])
++m4trace:configure.in:5: -1- AC_SUBST([infodir], ['${prefix}/info'])
++m4trace:configure.in:5: -1- AC_SUBST([mandir], ['${prefix}/man'])
++m4trace:configure.in:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME])
++m4trace:configure.in:5: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */
++#undef PACKAGE_NAME])
++m4trace:configure.in:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME])
++m4trace:configure.in:5: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */
++#undef PACKAGE_TARNAME])
++m4trace:configure.in:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION])
++m4trace:configure.in:5: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */
++#undef PACKAGE_VERSION])
++m4trace:configure.in:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING])
++m4trace:configure.in:5: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */
++#undef PACKAGE_STRING])
++m4trace:configure.in:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT])
++m4trace:configure.in:5: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */
++#undef PACKAGE_BUGREPORT])
++m4trace:configure.in:5: -1- AC_SUBST([build_alias])
++m4trace:configure.in:5: -1- AC_SUBST([host_alias])
++m4trace:configure.in:5: -1- AC_SUBST([target_alias])
++m4trace:configure.in:5: -1- AC_SUBST([DEFS])
++m4trace:configure.in:5: -1- AC_SUBST([ECHO_C])
++m4trace:configure.in:5: -1- AC_SUBST([ECHO_N])
++m4trace:configure.in:5: -1- AC_SUBST([ECHO_T])
++m4trace:configure.in:5: -1- AC_SUBST([LIBS])
++m4trace:configure.in:6: -1- AM_MAINTAINER_MODE
++m4trace:configure.in:6: -1- AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
++m4trace:configure.in:6: -1- AC_SUBST([MAINTAINER_MODE_TRUE])
++m4trace:configure.in:6: -1- AC_SUBST([MAINTAINER_MODE_FALSE])
++m4trace:configure.in:6: -1- AC_SUBST([MAINT])
++m4trace:configure.in:8: -1- AC_CONFIG_HEADERS([include/config.h], [# update the timestamp
++echo 'timestamp for include/config.h' >"_AM_STAMP([include/config.h])"
++], [])
++m4trace:configure.in:11: -1- AC_PROG_CC
++m4trace:configure.in:11: -1- AC_SUBST([CC])
++m4trace:configure.in:11: -1- AC_SUBST([CFLAGS])
++m4trace:configure.in:11: -1- AC_SUBST([LDFLAGS])
++m4trace:configure.in:11: -1- AC_SUBST([CPPFLAGS])
++m4trace:configure.in:11: -1- AC_SUBST([CC])
++m4trace:configure.in:11: -1- AC_SUBST([ac_ct_CC])
++m4trace:configure.in:11: -1- AC_SUBST([CC])
++m4trace:configure.in:11: -1- AC_SUBST([ac_ct_CC])
++m4trace:configure.in:11: -1- AC_SUBST([CC])
++m4trace:configure.in:11: -1- AC_SUBST([CC])
++m4trace:configure.in:11: -1- AC_SUBST([ac_ct_CC])
++m4trace:configure.in:11: -1- AC_SUBST([EXEEXT], [$ac_cv_exeext])
++m4trace:configure.in:11: -1- AC_SUBST([OBJEXT], [$ac_cv_objext])
++m4trace:configure.in:12: -1- AC_PROG_CPP
++m4trace:configure.in:12: -1- AC_SUBST([CPP])
++m4trace:configure.in:12: -1- AC_SUBST([CPPFLAGS])
++m4trace:configure.in:12: -1- AC_SUBST([CPP])
++m4trace:configure.in:15: -1- AM_INIT_AUTOMAKE
++m4trace:configure.in:15: -1- AM_AUTOMAKE_VERSION([1.6.3])
++m4trace:configure.in:15: -1- AC_PROG_INSTALL
++m4trace:configure.in:15: -1- AC_SUBST([INSTALL_PROGRAM])
++m4trace:configure.in:15: -1- AC_SUBST([INSTALL_SCRIPT])
++m4trace:configure.in:15: -1- AC_SUBST([INSTALL_DATA])
++m4trace:configure.in:15: -1- AC_SUBST([PACKAGE], [AC_PACKAGE_TARNAME])
++m4trace:configure.in:15: -1- AC_SUBST([VERSION], [AC_PACKAGE_VERSION])
++m4trace:configure.in:15: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE])
++m4trace:configure.in:15: -1- AH_OUTPUT([PACKAGE], [/* Name of package */
++#undef PACKAGE])
++m4trace:configure.in:15: -1- AC_DEFINE_TRACE_LITERAL([VERSION])
++m4trace:configure.in:15: -1- AH_OUTPUT([VERSION], [/* Version number of package */
++#undef VERSION])
++m4trace:configure.in:15: -1- AC_SUBST([ACLOCAL])
++m4trace:configure.in:15: -1- AC_SUBST([AUTOCONF])
++m4trace:configure.in:15: -1- AC_SUBST([AUTOMAKE])
++m4trace:configure.in:15: -1- AC_SUBST([AUTOHEADER])
++m4trace:configure.in:15: -1- AC_SUBST([MAKEINFO])
++m4trace:configure.in:15: -1- AC_SUBST([AMTAR])
++m4trace:configure.in:15: -1- AC_SUBST([install_sh])
++m4trace:configure.in:15: -1- AC_SUBST([STRIP])
++m4trace:configure.in:15: -1- AC_SUBST([ac_ct_STRIP])
++m4trace:configure.in:15: -1- AC_SUBST([INSTALL_STRIP_PROGRAM])
++m4trace:configure.in:15: -1- AC_PROG_AWK
++m4trace:configure.in:15: -1- AC_SUBST([AWK])
++m4trace:configure.in:15: -1- AC_PROG_MAKE_SET
++m4trace:configure.in:15: -1- AC_SUBST([SET_MAKE])
++m4trace:configure.in:15: -1- AC_SUBST([DEPDIR])
++m4trace:configure.in:15: -1- AC_SUBST([am__include])
++m4trace:configure.in:15: -1- AC_SUBST([am__quote])
++m4trace:configure.in:15: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
++m4trace:configure.in:15: -1- AC_SUBST([AMDEP_TRUE])
++m4trace:configure.in:15: -1- AC_SUBST([AMDEP_FALSE])
++m4trace:configure.in:15: -1- AC_SUBST([AMDEPBACKSLASH])
++m4trace:configure.in:15: -1- AC_SUBST([CCDEPMODE], [depmode=$am_cv_CC_dependencies_compiler_type])
++m4trace:configure.in:16: -1- AM_MAINTAINER_MODE
++m4trace:configure.in:16: -1- AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
++m4trace:configure.in:16: -1- AC_SUBST([MAINTAINER_MODE_TRUE])
++m4trace:configure.in:16: -1- AC_SUBST([MAINTAINER_MODE_FALSE])
++m4trace:configure.in:16: -1- AC_SUBST([MAINT])
++m4trace:configure.in:23: -1- AC_CANONICAL_HOST
++m4trace:configure.in:23: -1- AC_SUBST([build], [$ac_cv_build])
++m4trace:configure.in:23: -1- AC_SUBST([build_cpu], [`echo $ac_cv_build | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\1/'`])
++m4trace:configure.in:23: -1- AC_SUBST([build_vendor], [`echo $ac_cv_build | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\2/'`])
++m4trace:configure.in:23: -1- AC_SUBST([build_os], [`echo $ac_cv_build | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\3/'`])
++m4trace:configure.in:23: -1- AC_SUBST([host], [$ac_cv_host])
++m4trace:configure.in:23: -1- AC_SUBST([host_cpu], [`echo $ac_cv_host | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\1/'`])
++m4trace:configure.in:23: -1- AC_SUBST([host_vendor], [`echo $ac_cv_host | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\2/'`])
++m4trace:configure.in:23: -1- AC_SUBST([host_os], [`echo $ac_cv_host | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\3/'`])
++m4trace:configure.in:25: -1- AC_SUBST([CANONICAL_HOST])
++m4trace:configure.in:27: -1- AC_DEFINE_TRACE_LITERAL([_FILE_OFFSET_BITS])
++m4trace:configure.in:27: -1- AH_OUTPUT([_FILE_OFFSET_BITS], [/* Number of bits in a file offset, on hosts where this is settable. */
++#undef _FILE_OFFSET_BITS])
++m4trace:configure.in:27: -1- AC_DEFINE_TRACE_LITERAL([_LARGE_FILES])
++m4trace:configure.in:27: -1- AH_OUTPUT([_LARGE_FILES], [/* Define for large files, on AIX-style hosts. */
++#undef _LARGE_FILES])
++m4trace:configure.in:38: -1- AC_DEFINE_TRACE_LITERAL([_GNU_SOURCE])
++m4trace:configure.in:38: -1- AH_OUTPUT([_GNU_SOURCE], [/* Define to enable extensions on glibc-based systems such as Linux. */
++#undef _GNU_SOURCE])
++m4trace:configure.in:44: -1- AC_PROG_YACC
++m4trace:configure.in:44: -1- AC_SUBST([YACC])
++m4trace:configure.in:45: -1- AC_PROG_LEX
++m4trace:configure.in:45: -1- AC_SUBST([LEX])
++m4trace:configure.in:45: -1- AC_CHECK_LIB([fl], [yywrap], [LEXLIB="-lfl"], [AC_CHECK_LIB(l, yywrap, LEXLIB="-ll")])
++m4trace:configure.in:45: -1- AC_CHECK_LIB([l], [yywrap], [LEXLIB="-ll"])
++m4trace:configure.in:45: -1- AC_SUBST([LEXLIB])
++m4trace:configure.in:45: -1- AC_SUBST([LEX_OUTPUT_ROOT], [$ac_cv_prog_lex_root])
++m4trace:configure.in:45: -1- AC_DEFINE_TRACE_LITERAL([YYTEXT_POINTER])
++m4trace:configure.in:45: -1- AH_OUTPUT([YYTEXT_POINTER], [/* Define to 1 if `lex\' declares `yytext\' as a `char *\' by default, not a
++   `char[]\'. */
++#undef YYTEXT_POINTER])
++m4trace:configure.in:47: -1- AC_PROG_AWK
++m4trace:configure.in:47: -1- AC_SUBST([AWK])
++m4trace:configure.in:48: -1- AC_SUBST([LN_S])
++m4trace:configure.in:54: -1- AC_DEFINE_TRACE_LITERAL([HAVE___ATTRIBUTE__])
++m4trace:configure.in:54: -1- AH_OUTPUT([HAVE___ATTRIBUTE__], [/* define if your compiler has __attribute__ */
++#undef HAVE___ATTRIBUTE__])
++m4trace:configure.in:57: -1- AC_PROG_LIBTOOL
++m4trace:configure.in:57: -1- AC_SUBST([EGREP])
++m4trace:configure.in:57: -1- AC_PROG_LN_S
++m4trace:configure.in:57: -1- AC_SUBST([LN_S], [$as_ln_s])
++m4trace:configure.in:57: -1- AC_SUBST([ECHO])
++m4trace:configure.in:57: -1- AC_SUBST([AR])
++m4trace:configure.in:57: -1- AC_SUBST([ac_ct_AR])
++m4trace:configure.in:57: -1- AC_SUBST([RANLIB])
++m4trace:configure.in:57: -1- AC_SUBST([ac_ct_RANLIB])
++m4trace:configure.in:57: -1- AC_SUBST([STRIP])
++m4trace:configure.in:57: -1- AC_SUBST([ac_ct_STRIP])
++m4trace:configure.in:57: -1- AC_CHECK_HEADERS([dlfcn.h])
++m4trace:configure.in:57: -1- AH_OUTPUT([HAVE_DLFCN_H], [/* Define to 1 if you have the <dlfcn.h> header file. */
++#undef HAVE_DLFCN_H])
++m4trace:configure.in:57: -1- AC_HEADER_STDC
++m4trace:configure.in:57: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS])
++m4trace:configure.in:57: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */
++#undef STDC_HEADERS])
++m4trace:configure.in:57: -1- AC_CHECK_HEADERS([sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
++                  inttypes.h stdint.h unistd.h], [], [], [$ac_includes_default])
++m4trace:configure.in:57: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the <sys/types.h> header file. */
++#undef HAVE_SYS_TYPES_H])
++m4trace:configure.in:57: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the <sys/stat.h> header file. */
++#undef HAVE_SYS_STAT_H])
++m4trace:configure.in:57: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
++#undef HAVE_STDLIB_H])
++m4trace:configure.in:57: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */
++#undef HAVE_STRING_H])
++m4trace:configure.in:57: -1- AH_OUTPUT([HAVE_MEMORY_H], [/* Define to 1 if you have the <memory.h> header file. */
++#undef HAVE_MEMORY_H])
++m4trace:configure.in:57: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the <strings.h> header file. */
++#undef HAVE_STRINGS_H])
++m4trace:configure.in:57: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */
++#undef HAVE_INTTYPES_H])
++m4trace:configure.in:57: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */
++#undef HAVE_STDINT_H])
++m4trace:configure.in:57: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
++#undef HAVE_UNISTD_H])
++m4trace:configure.in:57: -1- AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], [
++    lt_cv_dlopen="dyld"
++    lt_cv_dlopen_libs=
++    lt_cv_dlopen_self=yes
++    ])
++m4trace:configure.in:57: -1- AC_CHECK_LIB([dld], [shl_load], [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"], [AC_CHECK_FUNC([dlopen],
++	      [lt_cv_dlopen="dlopen"],
++	  [AC_CHECK_LIB([dl], [dlopen],
++		[lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
++	    [AC_CHECK_LIB([svld], [dlopen],
++		  [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
++	      [AC_CHECK_LIB([dld], [dld_link],
++		    [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
++	      ])
++	    ])
++	  ])
++	])
++m4trace:configure.in:57: -1- AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], [AC_CHECK_LIB([svld], [dlopen],
++		  [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
++	      [AC_CHECK_LIB([dld], [dld_link],
++		    [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
++	      ])
++	    ])
++m4trace:configure.in:57: -1- AC_CHECK_LIB([svld], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], [AC_CHECK_LIB([dld], [dld_link],
++		    [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
++	      ])
++m4trace:configure.in:57: -1- AC_CHECK_LIB([dld], [dld_link], [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
++m4trace:configure.in:57: -1- AC_PROG_CXX
++m4trace:configure.in:57: -1- AC_SUBST([CXX])
++m4trace:configure.in:57: -1- AC_SUBST([CXXFLAGS])
++m4trace:configure.in:57: -1- AC_SUBST([LDFLAGS])
++m4trace:configure.in:57: -1- AC_SUBST([CPPFLAGS])
++m4trace:configure.in:57: -1- AC_SUBST([CXX])
++m4trace:configure.in:57: -1- AC_SUBST([ac_ct_CXX])
++m4trace:configure.in:57: -1- AC_SUBST([CXXDEPMODE], [depmode=$am_cv_CXX_dependencies_compiler_type])
++m4trace:configure.in:57: -1- AC_SUBST([CXXCPP])
++m4trace:configure.in:57: -1- AC_SUBST([CPPFLAGS])
++m4trace:configure.in:57: -1- AC_SUBST([CXXCPP])
++m4trace:configure.in:57: -1- AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], [
++    lt_cv_dlopen="dyld"
++    lt_cv_dlopen_libs=
++    lt_cv_dlopen_self=yes
++    ])
++m4trace:configure.in:57: -1- AC_CHECK_LIB([dld], [shl_load], [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"], [AC_CHECK_FUNC([dlopen],
++	      [lt_cv_dlopen="dlopen"],
++	  [AC_CHECK_LIB([dl], [dlopen],
++		[lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
++	    [AC_CHECK_LIB([svld], [dlopen],
++		  [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
++	      [AC_CHECK_LIB([dld], [dld_link],
++		    [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
++	      ])
++	    ])
++	  ])
++	])
++m4trace:configure.in:57: -1- AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], [AC_CHECK_LIB([svld], [dlopen],
++		  [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
++	      [AC_CHECK_LIB([dld], [dld_link],
++		    [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
++	      ])
++	    ])
++m4trace:configure.in:57: -1- AC_CHECK_LIB([svld], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], [AC_CHECK_LIB([dld], [dld_link],
++		    [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
++	      ])
++m4trace:configure.in:57: -1- AC_CHECK_LIB([dld], [dld_link], [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
++m4trace:configure.in:57: -1- AC_SUBST([F77])
++m4trace:configure.in:57: -1- AC_SUBST([FFLAGS])
++m4trace:configure.in:57: -1- AC_SUBST([LDFLAGS])
++m4trace:configure.in:57: -1- AC_SUBST([F77])
++m4trace:configure.in:57: -1- AC_SUBST([ac_ct_F77])
++m4trace:configure.in:57: -1- AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], [
++    lt_cv_dlopen="dyld"
++    lt_cv_dlopen_libs=
++    lt_cv_dlopen_self=yes
++    ])
++m4trace:configure.in:57: -1- AC_CHECK_LIB([dld], [shl_load], [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"], [AC_CHECK_FUNC([dlopen],
++	      [lt_cv_dlopen="dlopen"],
++	  [AC_CHECK_LIB([dl], [dlopen],
++		[lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
++	    [AC_CHECK_LIB([svld], [dlopen],
++		  [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
++	      [AC_CHECK_LIB([dld], [dld_link],
++		    [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
++	      ])
++	    ])
++	  ])
++	])
++m4trace:configure.in:57: -1- AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], [AC_CHECK_LIB([svld], [dlopen],
++		  [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
++	      [AC_CHECK_LIB([dld], [dld_link],
++		    [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
++	      ])
++	    ])
++m4trace:configure.in:57: -1- AC_CHECK_LIB([svld], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], [AC_CHECK_LIB([dld], [dld_link],
++		    [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
++	      ])
++m4trace:configure.in:57: -1- AC_CHECK_LIB([dld], [dld_link], [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
++m4trace:configure.in:57: -1- AC_SUBST([LIBTOOL])
++m4trace:configure.in:59: -1- AC_SUBST([WFLAGS])
++m4trace:configure.in:59: -1- AC_SUBST([WFLAGS_NOUNUSED])
++m4trace:configure.in:59: -1- AC_SUBST([WFLAGS_NOIMPLICITINT])
++m4trace:configure.in:64: -1- AC_DEFINE_TRACE_LITERAL([OPENLDAP])
++m4trace:configure.in:64: -1- AH_OUTPUT([OPENLDAP], [/* Define if you have the openldap package. */
++#undef OPENLDAP])
++m4trace:configure.in:64: -1- AC_SUBST([DIR_openldap])
++m4trace:configure.in:64: -1- AC_SUBST([INCLUDE_openldap])
++m4trace:configure.in:64: -1- AC_SUBST([LIB_openldap])
++m4trace:configure.in:66: -1- AC_DEFINE_TRACE_LITERAL([KRB4])
++m4trace:configure.in:66: -1- AH_OUTPUT([KRB4], [/* Define if you have the krb4 package. */
++#undef KRB4])
++m4trace:configure.in:66: -1- AC_SUBST([DIR_krb4])
++m4trace:configure.in:66: -1- AC_SUBST([INCLUDE_krb4])
++m4trace:configure.in:66: -1- AC_SUBST([LIB_krb4])
++m4trace:configure.in:75: -1- AC_SUBST([EXTRA_LIB45])
++m4trace:configure.in:85: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FOUR_VALUED_KRB_PUT_INT])
++m4trace:configure.in:85: -1- AH_OUTPUT([HAVE_FOUR_VALUED_KRB_PUT_INT], [/* define if krb_put_int takes four arguments. */
++#undef HAVE_FOUR_VALUED_KRB_PUT_INT])
++m4trace:configure.in:92: -1- AH_OUTPUT([zzzz1], [#if defined(HAVE_FOUR_VALUED_KRB_PUT_INT) || !defined(KRB4)
++#define KRB_PUT_INT(F, T, L, S) krb_put_int((F), (T), (L), (S))
++#else
++#define KRB_PUT_INT(F, T, L, S) krb_put_int((F), (T), (S))
++#endif
++])
++m4trace:configure.in:101: -1- AC_DEFINE_TRACE_LITERAL([KRB_VERIFY_SECURE])
++m4trace:configure.in:101: -1- AH_OUTPUT([KRB_VERIFY_SECURE], [/* Define to one if your krb.h doesn\'t */
++#undef KRB_VERIFY_SECURE])
++m4trace:configure.in:103: -1- AC_DEFINE_TRACE_LITERAL([KRB_VERIFY_SECURE_FAIL])
++m4trace:configure.in:103: -1- AH_OUTPUT([KRB_VERIFY_SECURE_FAIL], [/* Define to two if your krb.h doesn\'t */
++#undef KRB_VERIFY_SECURE_FAIL])
++m4trace:configure.in:114: -1- AC_DEFINE_TRACE_LITERAL([KRB_VERIFY_NOT_SECURE])
++m4trace:configure.in:114: -1- AH_OUTPUT([KRB_VERIFY_NOT_SECURE], [/* Define to zero if your krb.h doesn\'t */
++#undef KRB_VERIFY_NOT_SECURE])
++m4trace:configure.in:116: -1- AC_CHECK_FUNCS([krb_enable_debug])
++m4trace:configure.in:116: -1- AH_OUTPUT([HAVE_KRB_ENABLE_DEBUG], [/* Define to 1 if you have the `krb_enable_debug\' function. */
++#undef HAVE_KRB_ENABLE_DEBUG])
++m4trace:configure.in:116: -1- AC_SUBST([LIB_krb_enable_debug])
++m4trace:configure.in:117: -1- AC_CHECK_FUNCS([krb_disable_debug])
++m4trace:configure.in:117: -1- AH_OUTPUT([HAVE_KRB_DISABLE_DEBUG], [/* Define to 1 if you have the `krb_disable_debug\' function. */
++#undef HAVE_KRB_DISABLE_DEBUG])
++m4trace:configure.in:117: -1- AC_SUBST([LIB_krb_disable_debug])
++m4trace:configure.in:118: -1- AC_CHECK_FUNCS([krb_get_our_ip_for_realm])
++m4trace:configure.in:118: -1- AH_OUTPUT([HAVE_KRB_GET_OUR_IP_FOR_REALM], [/* Define to 1 if you have the `krb_get_our_ip_for_realm\' function. */
++#undef HAVE_KRB_GET_OUR_IP_FOR_REALM])
++m4trace:configure.in:118: -1- AC_SUBST([LIB_krb_get_our_ip_for_realm])
++m4trace:configure.in:119: -1- AC_CHECK_FUNCS([krb_kdctimeofday])
++m4trace:configure.in:119: -1- AH_OUTPUT([HAVE_KRB_KDCTIMEOFDAY], [/* Define to 1 if you have the `krb_kdctimeofday\' function. */
++#undef HAVE_KRB_KDCTIMEOFDAY])
++m4trace:configure.in:119: -1- AC_SUBST([LIB_krb_kdctimeofday])
++m4trace:configure.in:123: -1- AH_OUTPUT([zzzz2], [#ifndef HAVE_KRB_KDCTIMEOFDAY
++#define krb_kdctimeofday(X) gettimeofday((X), NULL)
++#endif])
++m4trace:configure.in:124: -1- AC_CHECK_FUNCS([krb_get_kdc_time_diff])
++m4trace:configure.in:124: -1- AH_OUTPUT([HAVE_KRB_GET_KDC_TIME_DIFF], [/* Define to 1 if you have the `krb_get_kdc_time_diff\' function. */
++#undef HAVE_KRB_GET_KDC_TIME_DIFF])
++m4trace:configure.in:124: -1- AC_SUBST([LIB_krb_get_kdc_time_diff])
++m4trace:configure.in:128: -1- AH_OUTPUT([zzzz3], [#ifndef HAVE_KRB_GET_KDC_TIME_DIFF
++#define krb_get_kdc_time_diff() (0)
++#endif])
++m4trace:configure.in:139: -1- AC_DEFINE_TRACE_LITERAL([KRB_SENDAUTH_VERS])
++m4trace:configure.in:139: -1- AH_OUTPUT([KRB_SENDAUTH_VERS], [/* This is the krb4 sendauth version. */
++#undef KRB_SENDAUTH_VERS])
++m4trace:configure.in:152: -1- AC_DEFINE_TRACE_LITERAL([KRB_MK_REQ_CONST])
++m4trace:configure.in:152: -1- AH_OUTPUT([KRB_MK_REQ_CONST], [/* Define if krb_mk_req takes const char * */
++#undef KRB_MK_REQ_CONST])
++m4trace:configure.in:159: -1- AM_CONDITIONAL([KRB4], [test "$with_krb4" != "no"])
++m4trace:configure.in:159: -1- AC_SUBST([KRB4_TRUE])
++m4trace:configure.in:159: -1- AC_SUBST([KRB4_FALSE])
++m4trace:configure.in:160: -1- AM_CONDITIONAL([KRB5], [true])
++m4trace:configure.in:160: -1- AC_SUBST([KRB5_TRUE])
++m4trace:configure.in:160: -1- AC_SUBST([KRB5_FALSE])
++m4trace:configure.in:161: -1- AM_CONDITIONAL([do_roken_rename], [true])
++m4trace:configure.in:161: -1- AC_SUBST([do_roken_rename_TRUE])
++m4trace:configure.in:161: -1- AC_SUBST([do_roken_rename_FALSE])
++m4trace:configure.in:163: -1- AC_DEFINE_TRACE_LITERAL([KRB5])
++m4trace:configure.in:163: -1- AH_OUTPUT([KRB5], [/* Enable Kerberos 5 support in applications. */
++#undef KRB5])
++m4trace:configure.in:164: -1- AC_SUBST([LIB_kdb])
++m4trace:configure.in:166: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OPENSSL])
++m4trace:configure.in:166: -1- AH_OUTPUT([HAVE_OPENSSL], [/* define to use openssl\'s libcrypto */
++#undef HAVE_OPENSSL])
++m4trace:configure.in:166: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OLD_HASH_NAMES])
++m4trace:configure.in:166: -1- AH_OUTPUT([HAVE_OLD_HASH_NAMES], [/* define if you have hash functions like md4_finito() */
++#undef HAVE_OLD_HASH_NAMES])
++m4trace:configure.in:166: -1- AM_CONDITIONAL([HAVE_OPENSSL], [test "$openssl" = yes])
++m4trace:configure.in:166: -1- AC_SUBST([HAVE_OPENSSL_TRUE])
++m4trace:configure.in:166: -1- AC_SUBST([HAVE_OPENSSL_FALSE])
++m4trace:configure.in:166: -1- AC_SUBST([DIR_des])
++m4trace:configure.in:166: -1- AC_SUBST([INCLUDE_des])
++m4trace:configure.in:166: -1- AC_SUBST([LIB_des])
++m4trace:configure.in:166: -1- AC_SUBST([LIB_des_a])
++m4trace:configure.in:166: -1- AC_SUBST([LIB_des_so])
++m4trace:configure.in:166: -1- AC_SUBST([LIB_des_appl])
++m4trace:configure.in:171: -1- AC_DEFINE_TRACE_LITERAL([DCE])
++m4trace:configure.in:171: -1- AH_OUTPUT([DCE], [/* Define if you want support for DCE/DFS PAG\'s. */
++#undef DCE])
++m4trace:configure.in:173: -1- AM_CONDITIONAL([DCE], [test "$enable_dce" = yes])
++m4trace:configure.in:173: -1- AC_SUBST([DCE_TRUE])
++m4trace:configure.in:173: -1- AC_SUBST([DCE_FALSE])
++m4trace:configure.in:185: -1- AC_SUBST([dpagaix_cflags])
++m4trace:configure.in:186: -1- AC_SUBST([dpagaix_ldadd])
++m4trace:configure.in:187: -1- AC_SUBST([dpagaix_ldflags])
++m4trace:configure.in:189: -1- AC_CHECK_HEADERS([				\
++	db4/db.h				\
++	db3/db.h				\
++	db.h					\
++	db_185.h				\
++  ])
++m4trace:configure.in:189: -1- AH_OUTPUT([HAVE_DB4_DB_H], [/* Define to 1 if you have the <db4/db.h> header file. */
++#undef HAVE_DB4_DB_H])
++m4trace:configure.in:189: -1- AH_OUTPUT([HAVE_DB3_DB_H], [/* Define to 1 if you have the <db3/db.h> header file. */
++#undef HAVE_DB3_DB_H])
++m4trace:configure.in:189: -1- AH_OUTPUT([HAVE_DB_H], [/* Define to 1 if you have the <db.h> header file. */
++#undef HAVE_DB_H])
++m4trace:configure.in:189: -1- AH_OUTPUT([HAVE_DB_185_H], [/* Define to 1 if you have the <db_185.h> header file. */
++#undef HAVE_DB_185_H])
++m4trace:configure.in:189: -1- AC_CHECK_FUNCS([db_create])
++m4trace:configure.in:189: -1- AH_OUTPUT([HAVE_DB_CREATE], [/* Define to 1 if you have the `db_create\' function. */
++#undef HAVE_DB_CREATE])
++m4trace:configure.in:189: -1- AC_SUBST([LIB_db_create])
++m4trace:configure.in:189: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DB3])
++m4trace:configure.in:189: -1- AH_OUTPUT([HAVE_DB3], [/* define if you have a berkeley db3/4 library */
++#undef HAVE_DB3])
++m4trace:configure.in:189: -1- AC_CHECK_FUNCS([dbopen])
++m4trace:configure.in:189: -1- AH_OUTPUT([HAVE_DBOPEN], [/* Define to 1 if you have the `dbopen\' function. */
++#undef HAVE_DBOPEN])
++m4trace:configure.in:189: -1- AC_SUBST([LIB_dbopen])
++m4trace:configure.in:189: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DB1])
++m4trace:configure.in:189: -1- AH_OUTPUT([HAVE_DB1], [/* define if you have a berkeley db1/2 library */
++#undef HAVE_DB1])
++m4trace:configure.in:189: -1- AC_CHECK_FUNCS([dbm_firstkey])
++m4trace:configure.in:189: -1- AH_OUTPUT([HAVE_DBM_FIRSTKEY], [/* Define to 1 if you have the `dbm_firstkey\' function. */
++#undef HAVE_DBM_FIRSTKEY])
++m4trace:configure.in:189: -1- AC_SUBST([LIB_dbm_firstkey])
++m4trace:configure.in:189: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DB_NDBM])
++m4trace:configure.in:189: -1- AH_OUTPUT([HAVE_DB_NDBM], [/* define if you have ndbm compat in db */
++#undef HAVE_DB_NDBM])
++m4trace:configure.in:189: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NEW_DB])
++m4trace:configure.in:189: -1- AH_OUTPUT([HAVE_NEW_DB], [/* Define if NDBM really is DB (creates files *.db) */
++#undef HAVE_NEW_DB])
++m4trace:configure.in:189: -1- AC_CHECK_HEADERS([				\
++	dbm.h					\
++	ndbm.h					\
++  ])
++m4trace:configure.in:189: -1- AH_OUTPUT([HAVE_DBM_H], [/* Define to 1 if you have the <dbm.h> header file. */
++#undef HAVE_DBM_H])
++m4trace:configure.in:189: -1- AH_OUTPUT([HAVE_NDBM_H], [/* Define to 1 if you have the <ndbm.h> header file. */
++#undef HAVE_NDBM_H])
++m4trace:configure.in:189: -1- AC_CHECK_FUNCS([dbm_firstkey])
++m4trace:configure.in:189: -1- AH_OUTPUT([HAVE_DBM_FIRSTKEY], [/* Define to 1 if you have the `dbm_firstkey\' function. */
++#undef HAVE_DBM_FIRSTKEY])
++m4trace:configure.in:189: -1- AC_SUBST([LIB_dbm_firstkey])
++m4trace:configure.in:189: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NDBM])
++m4trace:configure.in:189: -1- AH_OUTPUT([HAVE_NDBM], [/* define if you have a ndbm library */
++#undef HAVE_NDBM])
++m4trace:configure.in:189: -1- AC_CHECK_HEADERS([				\
++	  gdbm/ndbm.h				\
++    ])
++m4trace:configure.in:189: -1- AH_OUTPUT([HAVE_GDBM_NDBM_H], [/* Define to 1 if you have the <gdbm/ndbm.h> header file. */
++#undef HAVE_GDBM_NDBM_H])
++m4trace:configure.in:189: -1- AC_CHECK_FUNCS([dbm_firstkey])
++m4trace:configure.in:189: -1- AH_OUTPUT([HAVE_DBM_FIRSTKEY], [/* Define to 1 if you have the `dbm_firstkey\' function. */
++#undef HAVE_DBM_FIRSTKEY])
++m4trace:configure.in:189: -1- AC_SUBST([LIB_dbm_firstkey])
++m4trace:configure.in:189: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NDBM])
++m4trace:configure.in:189: -1- AH_OUTPUT([HAVE_NDBM], [/* define if you have a ndbm library */
++#undef HAVE_NDBM])
++m4trace:configure.in:189: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NEW_DB])
++m4trace:configure.in:189: -1- AH_OUTPUT([HAVE_NEW_DB], [/* Define if NDBM really is DB (creates files *.db) */
++#undef HAVE_NEW_DB])
++m4trace:configure.in:189: -1- AM_CONDITIONAL([HAVE_DB1], [test "$db_type" = db1])
++m4trace:configure.in:189: -1- AC_SUBST([HAVE_DB1_TRUE])
++m4trace:configure.in:189: -1- AC_SUBST([HAVE_DB1_FALSE])
++m4trace:configure.in:189: -1- AM_CONDITIONAL([HAVE_DB3], [test "$db_type" = db3])
++m4trace:configure.in:189: -1- AC_SUBST([HAVE_DB3_TRUE])
++m4trace:configure.in:189: -1- AC_SUBST([HAVE_DB3_FALSE])
++m4trace:configure.in:189: -1- AM_CONDITIONAL([HAVE_NDBM], [test "$db_type" = ndbm])
++m4trace:configure.in:189: -1- AC_SUBST([HAVE_NDBM_TRUE])
++m4trace:configure.in:189: -1- AC_SUBST([HAVE_NDBM_FALSE])
++m4trace:configure.in:189: -1- AC_SUBST([DBLIB])
++m4trace:configure.in:189: -1- AC_SUBST([LIB_NDBM])
++m4trace:configure.in:191: -1- AC_CHECK_FUNCS([crypt])
++m4trace:configure.in:191: -1- AH_OUTPUT([HAVE_CRYPT], [/* Define to 1 if you have the `crypt\' function. */
++#undef HAVE_CRYPT])
++m4trace:configure.in:191: -1- AC_SUBST([LIB_crypt])
++m4trace:configure.in:191: -1- AC_SUBST([LIB_roken])
++m4trace:configure.in:191: -1- AC_SUBST([DIR_roken])
++m4trace:configure.in:191: -1- AC_SUBST([CPPFLAGS_roken])
++m4trace:configure.in:193: -1- AH_OUTPUT([00004], [#ifndef RCSID
++#define RCSID(msg) \\
++static /**/const char *const rcsid[] = { (const char *)rcsid, "@(#)" msg }
++#endif
++
++/* Maximum values on all known systems */
++#define MaxHostNameLen (64+4)
++#define MaxPathLen (1024+4)
++
++])
++m4trace:configure.in:193: -1- AC_C_INLINE
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([inline])
++m4trace:configure.in:193: -1- AH_OUTPUT([inline], [/* Define as `__inline\' if that\'s what the C compiler calls it, or to nothing
++   if it is not supported. */
++#undef inline])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([inline])
++m4trace:configure.in:193: -1- AC_C_CONST
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([const])
++m4trace:configure.in:193: -1- AH_OUTPUT([const], [/* Define to empty if `const\' does not conform to ANSI C. */
++#undef const])
++m4trace:configure.in:193: -1- AC_SUBST([WFLAGS])
++m4trace:configure.in:193: -1- AC_SUBST([WFLAGS_NOUNUSED])
++m4trace:configure.in:193: -1- AC_SUBST([WFLAGS_NOIMPLICITINT])
++m4trace:configure.in:193: -1- AC_TYPE_SIZE_T
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([size_t])
++m4trace:configure.in:193: -1- AH_OUTPUT([size_t], [/* Define to `unsigned\' if <sys/types.h> does not define. */
++#undef size_t])
++m4trace:configure.in:193: -1- AC_CHECK_TYPES([ssize_t])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SSIZE_T])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SSIZE_T], [/* Define to 1 if the system has the type `ssize_t\'. */
++#undef HAVE_SSIZE_T])
++m4trace:configure.in:193: -1- AC_TYPE_PID_T
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([pid_t])
++m4trace:configure.in:193: -1- AH_OUTPUT([pid_t], [/* Define to `int\' if <sys/types.h> does not define. */
++#undef pid_t])
++m4trace:configure.in:193: -1- AC_TYPE_UID_T
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([uid_t])
++m4trace:configure.in:193: -1- AH_OUTPUT([uid_t], [/* Define to `int\' if <sys/types.h> doesn\'t define. */
++#undef uid_t])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([gid_t])
++m4trace:configure.in:193: -1- AH_OUTPUT([gid_t], [/* Define to `int\' if <sys/types.h> doesn\'t define. */
++#undef gid_t])
++m4trace:configure.in:193: -1- AC_CHECK_TYPES([long long])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LONG_LONG])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_LONG_LONG], [/* Define to 1 if the system has the type `long long\'. */
++#undef HAVE_LONG_LONG])
++m4trace:configure.in:193: -1- AC_TYPE_SIGNAL
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([RETSIGTYPE])
++m4trace:configure.in:193: -1- AH_OUTPUT([RETSIGTYPE], [/* Define as the return type of signal handlers (`int\' or `void\'). */
++#undef RETSIGTYPE])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([VOID_RETSIGTYPE])
++m4trace:configure.in:193: -1- AH_OUTPUT([VOID_RETSIGTYPE], [/* Define if signal handlers return void. */
++#undef VOID_RETSIGTYPE])
++m4trace:configure.in:193: -1- AC_SUBST([VOID_RETSIGTYPE])
++m4trace:configure.in:193: -1- AH_OUTPUT([zzzz5], [#ifdef VOID_RETSIGTYPE
++#define SIGRETURN(x) return
++#else
++#define SIGRETURN(x) return (RETSIGTYPE)(x)
++#endif])
++m4trace:configure.in:193: -1- AC_HEADER_TIME
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([TIME_WITH_SYS_TIME])
++m4trace:configure.in:193: -1- AH_OUTPUT([TIME_WITH_SYS_TIME], [/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
++#undef TIME_WITH_SYS_TIME])
++m4trace:configure.in:193: -1- AC_CHECK_HEADERS([\
++	arpa/inet.h				\
++	arpa/nameser.h				\
++	config.h				\
++	crypt.h					\
++	dirent.h				\
++	errno.h					\
++	err.h					\
++	fcntl.h					\
++	grp.h					\
++	ifaddrs.h				\
++	net/if.h				\
++	netdb.h					\
++	netinet/in.h				\
++	netinet/in6.h				\
++	netinet/in_systm.h			\
++	netinet6/in6.h				\
++	netinet6/in6_var.h			\
++	paths.h					\
++	pwd.h					\
++	resolv.h				\
++	rpcsvc/ypclnt.h				\
++	shadow.h				\
++	sys/bswap.h				\
++	sys/ioctl.h				\
++	sys/mman.h				\
++	sys/param.h				\
++	sys/proc.h				\
++	sys/resource.h				\
++	sys/socket.h				\
++	sys/sockio.h				\
++	sys/stat.h				\
++	sys/sysctl.h				\
++	sys/time.h				\
++	sys/tty.h				\
++	sys/types.h				\
++	sys/uio.h				\
++	sys/utsname.h				\
++	sys/wait.h				\
++	syslog.h				\
++	termios.h				\
++	unistd.h				\
++	userconf.h				\
++	usersec.h				\
++	util.h					\
++	vis.h					\
++])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_ARPA_INET_H], [/* Define to 1 if you have the <arpa/inet.h> header file. */
++#undef HAVE_ARPA_INET_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_ARPA_NAMESER_H], [/* Define to 1 if you have the <arpa/nameser.h> header file. */
++#undef HAVE_ARPA_NAMESER_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_CONFIG_H], [/* Define to 1 if you have the <config.h> header file. */
++#undef HAVE_CONFIG_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_CRYPT_H], [/* Define to 1 if you have the <crypt.h> header file. */
++#undef HAVE_CRYPT_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_DIRENT_H], [/* Define to 1 if you have the <dirent.h> header file. */
++#undef HAVE_DIRENT_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_ERRNO_H], [/* Define to 1 if you have the <errno.h> header file. */
++#undef HAVE_ERRNO_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_ERR_H], [/* Define to 1 if you have the <err.h> header file. */
++#undef HAVE_ERR_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_FCNTL_H], [/* Define to 1 if you have the <fcntl.h> header file. */
++#undef HAVE_FCNTL_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GRP_H], [/* Define to 1 if you have the <grp.h> header file. */
++#undef HAVE_GRP_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_IFADDRS_H], [/* Define to 1 if you have the <ifaddrs.h> header file. */
++#undef HAVE_IFADDRS_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_NET_IF_H], [/* Define to 1 if you have the <net/if.h> header file. */
++#undef HAVE_NET_IF_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_NETDB_H], [/* Define to 1 if you have the <netdb.h> header file. */
++#undef HAVE_NETDB_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_NETINET_IN_H], [/* Define to 1 if you have the <netinet/in.h> header file. */
++#undef HAVE_NETINET_IN_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_NETINET_IN6_H], [/* Define to 1 if you have the <netinet/in6.h> header file. */
++#undef HAVE_NETINET_IN6_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_NETINET_IN_SYSTM_H], [/* Define to 1 if you have the <netinet/in_systm.h> header file. */
++#undef HAVE_NETINET_IN_SYSTM_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_NETINET6_IN6_H], [/* Define to 1 if you have the <netinet6/in6.h> header file. */
++#undef HAVE_NETINET6_IN6_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_NETINET6_IN6_VAR_H], [/* Define to 1 if you have the <netinet6/in6_var.h> header file. */
++#undef HAVE_NETINET6_IN6_VAR_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_PATHS_H], [/* Define to 1 if you have the <paths.h> header file. */
++#undef HAVE_PATHS_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_PWD_H], [/* Define to 1 if you have the <pwd.h> header file. */
++#undef HAVE_PWD_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_RESOLV_H], [/* Define to 1 if you have the <resolv.h> header file. */
++#undef HAVE_RESOLV_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_RPCSVC_YPCLNT_H], [/* Define to 1 if you have the <rpcsvc/ypclnt.h> header file. */
++#undef HAVE_RPCSVC_YPCLNT_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SHADOW_H], [/* Define to 1 if you have the <shadow.h> header file. */
++#undef HAVE_SHADOW_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SYS_BSWAP_H], [/* Define to 1 if you have the <sys/bswap.h> header file. */
++#undef HAVE_SYS_BSWAP_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SYS_IOCTL_H], [/* Define to 1 if you have the <sys/ioctl.h> header file. */
++#undef HAVE_SYS_IOCTL_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SYS_MMAN_H], [/* Define to 1 if you have the <sys/mman.h> header file. */
++#undef HAVE_SYS_MMAN_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SYS_PARAM_H], [/* Define to 1 if you have the <sys/param.h> header file. */
++#undef HAVE_SYS_PARAM_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SYS_PROC_H], [/* Define to 1 if you have the <sys/proc.h> header file. */
++#undef HAVE_SYS_PROC_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SYS_RESOURCE_H], [/* Define to 1 if you have the <sys/resource.h> header file. */
++#undef HAVE_SYS_RESOURCE_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SYS_SOCKET_H], [/* Define to 1 if you have the <sys/socket.h> header file. */
++#undef HAVE_SYS_SOCKET_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SYS_SOCKIO_H], [/* Define to 1 if you have the <sys/sockio.h> header file. */
++#undef HAVE_SYS_SOCKIO_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the <sys/stat.h> header file. */
++#undef HAVE_SYS_STAT_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SYS_SYSCTL_H], [/* Define to 1 if you have the <sys/sysctl.h> header file. */
++#undef HAVE_SYS_SYSCTL_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SYS_TIME_H], [/* Define to 1 if you have the <sys/time.h> header file. */
++#undef HAVE_SYS_TIME_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SYS_TTY_H], [/* Define to 1 if you have the <sys/tty.h> header file. */
++#undef HAVE_SYS_TTY_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the <sys/types.h> header file. */
++#undef HAVE_SYS_TYPES_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SYS_UIO_H], [/* Define to 1 if you have the <sys/uio.h> header file. */
++#undef HAVE_SYS_UIO_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SYS_UTSNAME_H], [/* Define to 1 if you have the <sys/utsname.h> header file. */
++#undef HAVE_SYS_UTSNAME_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SYS_WAIT_H], [/* Define to 1 if you have the <sys/wait.h> header file. */
++#undef HAVE_SYS_WAIT_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SYSLOG_H], [/* Define to 1 if you have the <syslog.h> header file. */
++#undef HAVE_SYSLOG_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_TERMIOS_H], [/* Define to 1 if you have the <termios.h> header file. */
++#undef HAVE_TERMIOS_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
++#undef HAVE_UNISTD_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_USERCONF_H], [/* Define to 1 if you have the <userconf.h> header file. */
++#undef HAVE_USERCONF_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_USERSEC_H], [/* Define to 1 if you have the <usersec.h> header file. */
++#undef HAVE_USERSEC_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_UTIL_H], [/* Define to 1 if you have the <util.h> header file. */
++#undef HAVE_UTIL_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_VIS_H], [/* Define to 1 if you have the <vis.h> header file. */
++#undef HAVE_VIS_H])
++m4trace:configure.in:193: -1- AC_CHECK_HEADERS([standards.h])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STANDARDS_H], [/* Define to 1 if you have the <standards.h> header file. */
++#undef HAVE_STANDARDS_H])
++m4trace:configure.in:193: -1- AC_CHECK_HEADERS([netinet/ip.h netinet/tcp.h])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_NETINET_IP_H], [/* Define to 1 if you have the <netinet/ip.h> header file. */
++#undef HAVE_NETINET_IP_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_NETINET_TCP_H], [/* Define to 1 if you have the <netinet/tcp.h> header file. */
++#undef HAVE_NETINET_TCP_H])
++m4trace:configure.in:193: -1- AM_CONDITIONAL([have_err_h], [test "$ac_cv_header_err_h" = yes])
++m4trace:configure.in:193: -1- AC_SUBST([have_err_h_TRUE])
++m4trace:configure.in:193: -1- AC_SUBST([have_err_h_FALSE])
++m4trace:configure.in:193: -1- AM_CONDITIONAL([have_fnmatch_h], [test "$ac_cv_header_fnmatch_h" = yes])
++m4trace:configure.in:193: -1- AC_SUBST([have_fnmatch_h_TRUE])
++m4trace:configure.in:193: -1- AC_SUBST([have_fnmatch_h_FALSE])
++m4trace:configure.in:193: -1- AM_CONDITIONAL([have_ifaddrs_h], [test "$ac_cv_header_ifaddrs_h" = yes])
++m4trace:configure.in:193: -1- AC_SUBST([have_ifaddrs_h_TRUE])
++m4trace:configure.in:193: -1- AC_SUBST([have_ifaddrs_h_FALSE])
++m4trace:configure.in:193: -1- AM_CONDITIONAL([have_vis_h], [test "$ac_cv_header_vis_h" = yes])
++m4trace:configure.in:193: -1- AC_SUBST([have_vis_h_TRUE])
++m4trace:configure.in:193: -1- AC_SUBST([have_vis_h_FALSE])
++m4trace:configure.in:193: -1- AC_CHECK_FUNCS([socket])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SOCKET], [/* Define to 1 if you have the `socket\' function. */
++#undef HAVE_SOCKET])
++m4trace:configure.in:193: -1- AC_SUBST([LIB_socket])
++m4trace:configure.in:193: -1- AC_CHECK_FUNCS([gethostbyname])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GETHOSTBYNAME], [/* Define to 1 if you have the `gethostbyname\' function. */
++#undef HAVE_GETHOSTBYNAME])
++m4trace:configure.in:193: -1- AC_SUBST([LIB_gethostbyname])
++m4trace:configure.in:193: -1- AC_CHECK_FUNCS([syslog])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SYSLOG], [/* Define to 1 if you have the `syslog\' function. */
++#undef HAVE_SYSLOG])
++m4trace:configure.in:193: -1- AC_SUBST([LIB_syslog])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_IPV6])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_IPV6], [/* Define if you have IPv6. */
++#undef HAVE_IPV6])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_IN6ADDR_LOOPBACK])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_IN6ADDR_LOOPBACK], [/* Define if you have the in6addr_loopback variable */
++#undef HAVE_IN6ADDR_LOOPBACK])
++m4trace:configure.in:193: -1- AC_CHECK_FUNCS([gethostbyname2])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GETHOSTBYNAME2], [/* Define to 1 if you have the `gethostbyname2\' function. */
++#undef HAVE_GETHOSTBYNAME2])
++m4trace:configure.in:193: -1- AC_SUBST([LIB_gethostbyname2])
++m4trace:configure.in:193: -1- AC_CHECK_FUNCS([res_search])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_RES_SEARCH], [/* Define to 1 if you have the `res_search\' function. */
++#undef HAVE_RES_SEARCH])
++m4trace:configure.in:193: -1- AC_SUBST([LIB_res_search])
++m4trace:configure.in:193: -1- AC_CHECK_FUNCS([res_nsearch])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_RES_NSEARCH], [/* Define to 1 if you have the `res_nsearch\' function. */
++#undef HAVE_RES_NSEARCH])
++m4trace:configure.in:193: -1- AC_SUBST([LIB_res_nsearch])
++m4trace:configure.in:193: -1- AC_CHECK_FUNCS([dn_expand])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_DN_EXPAND], [/* Define to 1 if you have the `dn_expand\' function. */
++#undef HAVE_DN_EXPAND])
++m4trace:configure.in:193: -1- AC_SUBST([LIB_dn_expand])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE__RES])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE__RES], [/* Define if you have the `_res\' variable. */
++#undef HAVE__RES])
++m4trace:configure.in:193: -2- AC_DEFINE_TRACE_LITERAL([HAVE__RES_DECLARATION])
++m4trace:configure.in:193: -2- AH_OUTPUT([HAVE__RES_DECLARATION], [/* define if your system declares _res */
++#undef HAVE__RES_DECLARATION])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SNPRINTF])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SNPRINTF], [/* define if you have a working snprintf */
++#undef HAVE_SNPRINTF])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([NEED_SNPRINTF_PROTO])
++m4trace:configure.in:193: -1- AH_OUTPUT([NEED_SNPRINTF_PROTO], [/* define if the system is missing a prototype for snprintf() */
++#undef NEED_SNPRINTF_PROTO])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_VSNPRINTF])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_VSNPRINTF], [/* define if you have a working vsnprintf */
++#undef HAVE_VSNPRINTF])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([NEED_VSNPRINTF_PROTO])
++m4trace:configure.in:193: -1- AH_OUTPUT([NEED_VSNPRINTF_PROTO], [/* define if the system is missing a prototype for vsnprintf() */
++#undef NEED_VSNPRINTF_PROTO])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GLOB])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GLOB], [/* define if you have a glob() that groks GLOB_BRACE, GLOB_NOCHECK,
++   GLOB_QUOTE, GLOB_TILDE, and GLOB_LIMIT */
++#undef HAVE_GLOB])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([NEED_GLOB_PROTO])
++m4trace:configure.in:193: -1- AH_OUTPUT([NEED_GLOB_PROTO], [/* define if the system is missing a prototype for glob() */
++#undef NEED_GLOB_PROTO])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([glob.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AM_CONDITIONAL([have_glob_h], [test "$ac_cv_func_glob_working" = yes])
++m4trace:configure.in:193: -1- AC_SUBST([have_glob_h_TRUE])
++m4trace:configure.in:193: -1- AC_SUBST([have_glob_h_FALSE])
++m4trace:configure.in:193: -1- AC_CHECK_FUNCS([				\
++	asnprintf				\
++	asprintf				\
++	atexit					\
++	cgetent					\
++	getconfattr				\
++	getprogname				\
++	getrlimit				\
++	getspnam				\
++	initstate				\
++	issetugid				\
++	on_exit					\
++	random					\
++	setprogname				\
++	setstate				\
++	strsvis					\
++	strunvis				\
++	strvis					\
++	strvisx					\
++	svis					\
++	sysconf					\
++	sysctl					\
++	uname					\
++	unvis					\
++	vasnprintf				\
++	vasprintf				\
++	vis					\
++])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_ASNPRINTF], [/* Define to 1 if you have the `asnprintf\' function. */
++#undef HAVE_ASNPRINTF])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_ASPRINTF], [/* Define to 1 if you have the `asprintf\' function. */
++#undef HAVE_ASPRINTF])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_ATEXIT], [/* Define to 1 if you have the `atexit\' function. */
++#undef HAVE_ATEXIT])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_CGETENT], [/* Define to 1 if you have the `cgetent\' function. */
++#undef HAVE_CGETENT])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GETCONFATTR], [/* Define to 1 if you have the `getconfattr\' function. */
++#undef HAVE_GETCONFATTR])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GETPROGNAME], [/* Define to 1 if you have the `getprogname\' function. */
++#undef HAVE_GETPROGNAME])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GETRLIMIT], [/* Define to 1 if you have the `getrlimit\' function. */
++#undef HAVE_GETRLIMIT])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GETSPNAM], [/* Define to 1 if you have the `getspnam\' function. */
++#undef HAVE_GETSPNAM])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_INITSTATE], [/* Define to 1 if you have the `initstate\' function. */
++#undef HAVE_INITSTATE])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_ISSETUGID], [/* Define to 1 if you have the `issetugid\' function. */
++#undef HAVE_ISSETUGID])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_ON_EXIT], [/* Define to 1 if you have the `on_exit\' function. */
++#undef HAVE_ON_EXIT])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_RANDOM], [/* Define to 1 if you have the `random\' function. */
++#undef HAVE_RANDOM])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SETPROGNAME], [/* Define to 1 if you have the `setprogname\' function. */
++#undef HAVE_SETPROGNAME])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SETSTATE], [/* Define to 1 if you have the `setstate\' function. */
++#undef HAVE_SETSTATE])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRSVIS], [/* Define to 1 if you have the `strsvis\' function. */
++#undef HAVE_STRSVIS])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRUNVIS], [/* Define to 1 if you have the `strunvis\' function. */
++#undef HAVE_STRUNVIS])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRVIS], [/* Define to 1 if you have the `strvis\' function. */
++#undef HAVE_STRVIS])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRVISX], [/* Define to 1 if you have the `strvisx\' function. */
++#undef HAVE_STRVISX])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SVIS], [/* Define to 1 if you have the `svis\' function. */
++#undef HAVE_SVIS])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SYSCONF], [/* Define to 1 if you have the `sysconf\' function. */
++#undef HAVE_SYSCONF])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SYSCTL], [/* Define to 1 if you have the `sysctl\' function. */
++#undef HAVE_SYSCTL])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_UNAME], [/* Define to 1 if you have the `uname\' function. */
++#undef HAVE_UNAME])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_UNVIS], [/* Define to 1 if you have the `unvis\' function. */
++#undef HAVE_UNVIS])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_VASNPRINTF], [/* Define to 1 if you have the `vasnprintf\' function. */
++#undef HAVE_VASNPRINTF])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_VASPRINTF], [/* Define to 1 if you have the `vasprintf\' function. */
++#undef HAVE_VASPRINTF])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_VIS], [/* Define to 1 if you have the `vis\' function. */
++#undef HAVE_VIS])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([getcap.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_CHECK_FUNCS([getlogin setlogin])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GETLOGIN], [/* Define to 1 if you have the `getlogin\' function. */
++#undef HAVE_GETLOGIN])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SETLOGIN], [/* Define to 1 if you have the `setlogin\' function. */
++#undef HAVE_SETLOGIN])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([POSIX_GETLOGIN])
++m4trace:configure.in:193: -1- AH_OUTPUT([POSIX_GETLOGIN], [/* Define if getlogin has POSIX flavour (and not BSD). */
++#undef POSIX_GETLOGIN])
++m4trace:configure.in:193: -1- AC_FUNC_MMAP
++m4trace:configure.in:193: -1- AC_CHECK_HEADERS([stdlib.h unistd.h])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
++#undef HAVE_STDLIB_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
++#undef HAVE_UNISTD_H])
++m4trace:configure.in:193: -1- AC_CHECK_FUNCS([getpagesize])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GETPAGESIZE], [/* Define to 1 if you have the `getpagesize\' function. */
++#undef HAVE_GETPAGESIZE])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MMAP])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_MMAP], [/* Define to 1 if you have a working `mmap\' system call. */
++#undef HAVE_MMAP])
++m4trace:configure.in:193: -1- AC_CHECK_FUNCS([getsockopt])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GETSOCKOPT], [/* Define to 1 if you have the `getsockopt\' function. */
++#undef HAVE_GETSOCKOPT])
++m4trace:configure.in:193: -1- AC_SUBST([LIB_getsockopt])
++m4trace:configure.in:193: -1- AC_CHECK_FUNCS([setsockopt])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SETSOCKOPT], [/* Define to 1 if you have the `setsockopt\' function. */
++#undef HAVE_SETSOCKOPT])
++m4trace:configure.in:193: -1- AC_SUBST([LIB_setsockopt])
++m4trace:configure.in:193: -1- AC_CHECK_FUNCS([hstrerror])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_HSTRERROR], [/* Define to 1 if you have the `hstrerror\' function. */
++#undef HAVE_HSTRERROR])
++m4trace:configure.in:193: -1- AC_SUBST([LIB_hstrerror])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([hstrerror.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([NEED_HSTRERROR_PROTO])
++m4trace:configure.in:193: -1- AH_OUTPUT([NEED_HSTRERROR_PROTO], [/* define if the system is missing a prototype for hstrerror() */
++#undef NEED_HSTRERROR_PROTO])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([NEED_ASPRINTF_PROTO])
++m4trace:configure.in:193: -1- AH_OUTPUT([NEED_ASPRINTF_PROTO], [/* define if the system is missing a prototype for asprintf() */
++#undef NEED_ASPRINTF_PROTO])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([NEED_VASPRINTF_PROTO])
++m4trace:configure.in:193: -1- AH_OUTPUT([NEED_VASPRINTF_PROTO], [/* define if the system is missing a prototype for vasprintf() */
++#undef NEED_VASPRINTF_PROTO])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([NEED_ASNPRINTF_PROTO])
++m4trace:configure.in:193: -1- AH_OUTPUT([NEED_ASNPRINTF_PROTO], [/* define if the system is missing a prototype for asnprintf() */
++#undef NEED_ASNPRINTF_PROTO])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([NEED_VASNPRINTF_PROTO])
++m4trace:configure.in:193: -1- AH_OUTPUT([NEED_VASNPRINTF_PROTO], [/* define if the system is missing a prototype for vasnprintf() */
++#undef NEED_VASNPRINTF_PROTO])
++m4trace:configure.in:193: -1- AC_CHECK_FUNCS([bswap16])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_BSWAP16], [/* Define to 1 if you have the `bswap16\' function. */
++#undef HAVE_BSWAP16])
++m4trace:configure.in:193: -1- AC_SUBST([LIB_bswap16])
++m4trace:configure.in:193: -1- AC_CHECK_FUNCS([bswap32])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_BSWAP32], [/* Define to 1 if you have the `bswap32\' function. */
++#undef HAVE_BSWAP32])
++m4trace:configure.in:193: -1- AC_SUBST([LIB_bswap32])
++m4trace:configure.in:193: -1- AC_CHECK_FUNCS([pidfile])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_PIDFILE], [/* Define to 1 if you have the `pidfile\' function. */
++#undef HAVE_PIDFILE])
++m4trace:configure.in:193: -1- AC_SUBST([LIB_pidfile])
++m4trace:configure.in:193: -1- AC_CHECK_FUNCS([getaddrinfo])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GETADDRINFO], [/* Define to 1 if you have the `getaddrinfo\' function. */
++#undef HAVE_GETADDRINFO])
++m4trace:configure.in:193: -1- AC_SUBST([LIB_getaddrinfo])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([getaddrinfo.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_CHECK_FUNCS([getnameinfo])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GETNAMEINFO], [/* Define to 1 if you have the `getnameinfo\' function. */
++#undef HAVE_GETNAMEINFO])
++m4trace:configure.in:193: -1- AC_SUBST([LIB_getnameinfo])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([getnameinfo.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_CHECK_FUNCS([freeaddrinfo])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_FREEADDRINFO], [/* Define to 1 if you have the `freeaddrinfo\' function. */
++#undef HAVE_FREEADDRINFO])
++m4trace:configure.in:193: -1- AC_SUBST([LIB_freeaddrinfo])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([freeaddrinfo.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_CHECK_FUNCS([gai_strerror])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GAI_STRERROR], [/* Define to 1 if you have the `gai_strerror\' function. */
++#undef HAVE_GAI_STRERROR])
++m4trace:configure.in:193: -1- AC_SUBST([LIB_gai_strerror])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([gai_strerror.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_CHOWN])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_CHOWN], [/* Define if you have the function `chown\'. */
++#undef HAVE_CHOWN])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([chown.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_COPYHOSTENT])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_COPYHOSTENT], [/* Define if you have the function `copyhostent\'. */
++#undef HAVE_COPYHOSTENT])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([copyhostent.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DAEMON])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_DAEMON], [/* Define if you have the function `daemon\'. */
++#undef HAVE_DAEMON])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([daemon.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ECALLOC])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_ECALLOC], [/* Define if you have the function `ecalloc\'. */
++#undef HAVE_ECALLOC])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([ecalloc.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_EMALLOC])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_EMALLOC], [/* Define if you have the function `emalloc\'. */
++#undef HAVE_EMALLOC])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([emalloc.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_EREALLOC])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_EREALLOC], [/* Define if you have the function `erealloc\'. */
++#undef HAVE_EREALLOC])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([erealloc.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ESTRDUP])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_ESTRDUP], [/* Define if you have the function `estrdup\'. */
++#undef HAVE_ESTRDUP])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([estrdup.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ERR])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_ERR], [/* Define if you have the function `err\'. */
++#undef HAVE_ERR])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([err.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ERRX])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_ERRX], [/* Define if you have the function `errx\'. */
++#undef HAVE_ERRX])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([errx.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FCHOWN])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_FCHOWN], [/* Define if you have the function `fchown\'. */
++#undef HAVE_FCHOWN])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([fchown.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FLOCK])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_FLOCK], [/* Define if you have the function `flock\'. */
++#undef HAVE_FLOCK])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([flock.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FNMATCH])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_FNMATCH], [/* Define if you have the function `fnmatch\'. */
++#undef HAVE_FNMATCH])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([fnmatch.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FREEHOSTENT])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_FREEHOSTENT], [/* Define if you have the function `freehostent\'. */
++#undef HAVE_FREEHOSTENT])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([freehostent.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETCWD])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GETCWD], [/* Define if you have the function `getcwd\'. */
++#undef HAVE_GETCWD])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([getcwd.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETDTABLESIZE])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GETDTABLESIZE], [/* Define if you have the function `getdtablesize\'. */
++#undef HAVE_GETDTABLESIZE])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([getdtablesize.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETEGID])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GETEGID], [/* Define if you have the function `getegid\'. */
++#undef HAVE_GETEGID])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([getegid.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETEUID])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GETEUID], [/* Define if you have the function `geteuid\'. */
++#undef HAVE_GETEUID])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([geteuid.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETGID])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GETGID], [/* Define if you have the function `getgid\'. */
++#undef HAVE_GETGID])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([getgid.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETHOSTNAME])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GETHOSTNAME], [/* Define if you have the function `gethostname\'. */
++#undef HAVE_GETHOSTNAME])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([gethostname.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETIFADDRS])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GETIFADDRS], [/* Define if you have the function `getifaddrs\'. */
++#undef HAVE_GETIFADDRS])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([getifaddrs.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETIPNODEBYADDR])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GETIPNODEBYADDR], [/* Define if you have the function `getipnodebyaddr\'. */
++#undef HAVE_GETIPNODEBYADDR])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([getipnodebyaddr.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETIPNODEBYNAME])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GETIPNODEBYNAME], [/* Define if you have the function `getipnodebyname\'. */
++#undef HAVE_GETIPNODEBYNAME])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([getipnodebyname.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETOPT])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GETOPT], [/* Define if you have the function `getopt\'. */
++#undef HAVE_GETOPT])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([getopt.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETTIMEOFDAY])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GETTIMEOFDAY], [/* Define if you have the function `gettimeofday\'. */
++#undef HAVE_GETTIMEOFDAY])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([gettimeofday.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETUID])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GETUID], [/* Define if you have the function `getuid\'. */
++#undef HAVE_GETUID])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([getuid.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETUSERSHELL])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GETUSERSHELL], [/* Define if you have the function `getusershell\'. */
++#undef HAVE_GETUSERSHELL])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([getusershell.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INITGROUPS])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_INITGROUPS], [/* Define if you have the function `initgroups\'. */
++#undef HAVE_INITGROUPS])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([initgroups.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INNETGR])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_INNETGR], [/* Define if you have the function `innetgr\'. */
++#undef HAVE_INNETGR])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([innetgr.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_IRUSEROK])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_IRUSEROK], [/* Define if you have the function `iruserok\'. */
++#undef HAVE_IRUSEROK])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([iruserok.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LOCALTIME_R])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_LOCALTIME_R], [/* Define if you have the function `localtime_r\'. */
++#undef HAVE_LOCALTIME_R])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([localtime_r.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LSTAT])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_LSTAT], [/* Define if you have the function `lstat\'. */
++#undef HAVE_LSTAT])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([lstat.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MEMMOVE])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_MEMMOVE], [/* Define if you have the function `memmove\'. */
++#undef HAVE_MEMMOVE])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([memmove.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MKSTEMP])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_MKSTEMP], [/* Define if you have the function `mkstemp\'. */
++#undef HAVE_MKSTEMP])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([mkstemp.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PUTENV])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_PUTENV], [/* Define if you have the function `putenv\'. */
++#undef HAVE_PUTENV])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([putenv.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_RCMD])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_RCMD], [/* Define if you have the function `rcmd\'. */
++#undef HAVE_RCMD])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([rcmd.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_READV])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_READV], [/* Define if you have the function `readv\'. */
++#undef HAVE_READV])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([readv.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_RECVMSG])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_RECVMSG], [/* Define if you have the function `recvmsg\'. */
++#undef HAVE_RECVMSG])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([recvmsg.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SENDMSG])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SENDMSG], [/* Define if you have the function `sendmsg\'. */
++#undef HAVE_SENDMSG])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([sendmsg.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SETEGID])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SETEGID], [/* Define if you have the function `setegid\'. */
++#undef HAVE_SETEGID])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([setegid.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SETENV])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SETENV], [/* Define if you have the function `setenv\'. */
++#undef HAVE_SETENV])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([setenv.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SETEUID])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SETEUID], [/* Define if you have the function `seteuid\'. */
++#undef HAVE_SETEUID])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([seteuid.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRCASECMP])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRCASECMP], [/* Define if you have the function `strcasecmp\'. */
++#undef HAVE_STRCASECMP])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([strcasecmp.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRDUP])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRDUP], [/* Define if you have the function `strdup\'. */
++#undef HAVE_STRDUP])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([strdup.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRERROR])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRERROR], [/* Define if you have the function `strerror\'. */
++#undef HAVE_STRERROR])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([strerror.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRFTIME])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRFTIME], [/* Define if you have the function `strftime\'. */
++#undef HAVE_STRFTIME])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([strftime.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRLCAT])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRLCAT], [/* Define if you have the function `strlcat\'. */
++#undef HAVE_STRLCAT])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([strlcat.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRLCPY])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRLCPY], [/* Define if you have the function `strlcpy\'. */
++#undef HAVE_STRLCPY])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([strlcpy.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRLWR])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRLWR], [/* Define if you have the function `strlwr\'. */
++#undef HAVE_STRLWR])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([strlwr.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRNCASECMP])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRNCASECMP], [/* Define if you have the function `strncasecmp\'. */
++#undef HAVE_STRNCASECMP])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([strncasecmp.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRNDUP])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRNDUP], [/* Define if you have the function `strndup\'. */
++#undef HAVE_STRNDUP])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([strndup.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRNLEN])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRNLEN], [/* Define if you have the function `strnlen\'. */
++#undef HAVE_STRNLEN])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([strnlen.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRPTIME])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRPTIME], [/* Define if you have the function `strptime\'. */
++#undef HAVE_STRPTIME])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([strptime.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRSEP])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRSEP], [/* Define if you have the function `strsep\'. */
++#undef HAVE_STRSEP])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([strsep.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRSEP_COPY])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRSEP_COPY], [/* Define if you have the function `strsep_copy\'. */
++#undef HAVE_STRSEP_COPY])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([strsep_copy.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRTOK_R])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRTOK_R], [/* Define if you have the function `strtok_r\'. */
++#undef HAVE_STRTOK_R])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([strtok_r.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUPR])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRUPR], [/* Define if you have the function `strupr\'. */
++#undef HAVE_STRUPR])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([strupr.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SWAB])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SWAB], [/* Define if you have the function `swab\'. */
++#undef HAVE_SWAB])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([swab.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_UNSETENV])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_UNSETENV], [/* Define if you have the function `unsetenv\'. */
++#undef HAVE_UNSETENV])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([unsetenv.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_VERR])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_VERR], [/* Define if you have the function `verr\'. */
++#undef HAVE_VERR])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([verr.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_VERRX])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_VERRX], [/* Define if you have the function `verrx\'. */
++#undef HAVE_VERRX])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([verrx.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_VSYSLOG])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_VSYSLOG], [/* Define if you have the function `vsyslog\'. */
++#undef HAVE_VSYSLOG])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([vsyslog.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_VWARN])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_VWARN], [/* Define if you have the function `vwarn\'. */
++#undef HAVE_VWARN])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([vwarn.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_VWARNX])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_VWARNX], [/* Define if you have the function `vwarnx\'. */
++#undef HAVE_VWARNX])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([vwarnx.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WARN])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_WARN], [/* Define if you have the function `warn\'. */
++#undef HAVE_WARN])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([warn.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WARNX])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_WARNX], [/* Define if you have the function `warnx\'. */
++#undef HAVE_WARNX])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([warnx.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WRITEV])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_WRITEV], [/* Define if you have the function `writev\'. */
++#undef HAVE_WRITEV])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([writev.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([NEED_STRNDUP_PROTO])
++m4trace:configure.in:193: -1- AH_OUTPUT([NEED_STRNDUP_PROTO], [/* define if the system is missing a prototype for strndup() */
++#undef NEED_STRNDUP_PROTO])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([NEED_STRSEP_PROTO])
++m4trace:configure.in:193: -1- AH_OUTPUT([NEED_STRSEP_PROTO], [/* define if the system is missing a prototype for strsep() */
++#undef NEED_STRSEP_PROTO])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([NEED_STRTOK_R_PROTO])
++m4trace:configure.in:193: -1- AH_OUTPUT([NEED_STRTOK_R_PROTO], [/* define if the system is missing a prototype for strtok_r() */
++#undef NEED_STRTOK_R_PROTO])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([NEED_STRSVIS_PROTO])
++m4trace:configure.in:193: -1- AH_OUTPUT([NEED_STRSVIS_PROTO], [/* define if the system is missing a prototype for strsvis() */
++#undef NEED_STRSVIS_PROTO])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([NEED_STRUNVIS_PROTO])
++m4trace:configure.in:193: -1- AH_OUTPUT([NEED_STRUNVIS_PROTO], [/* define if the system is missing a prototype for strunvis() */
++#undef NEED_STRUNVIS_PROTO])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([NEED_STRVIS_PROTO])
++m4trace:configure.in:193: -1- AH_OUTPUT([NEED_STRVIS_PROTO], [/* define if the system is missing a prototype for strvis() */
++#undef NEED_STRVIS_PROTO])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([NEED_STRVISX_PROTO])
++m4trace:configure.in:193: -1- AH_OUTPUT([NEED_STRVISX_PROTO], [/* define if the system is missing a prototype for strvisx() */
++#undef NEED_STRVISX_PROTO])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([NEED_SVIS_PROTO])
++m4trace:configure.in:193: -1- AH_OUTPUT([NEED_SVIS_PROTO], [/* define if the system is missing a prototype for svis() */
++#undef NEED_SVIS_PROTO])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([NEED_UNVIS_PROTO])
++m4trace:configure.in:193: -1- AH_OUTPUT([NEED_UNVIS_PROTO], [/* define if the system is missing a prototype for unvis() */
++#undef NEED_UNVIS_PROTO])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([NEED_VIS_PROTO])
++m4trace:configure.in:193: -1- AH_OUTPUT([NEED_VIS_PROTO], [/* define if the system is missing a prototype for vis() */
++#undef NEED_VIS_PROTO])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INET_ATON])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_INET_ATON], [/* define */
++#undef HAVE_INET_ATON])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([inet_aton.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INET_NTOP])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_INET_NTOP], [/* define */
++#undef HAVE_INET_NTOP])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([inet_ntop.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INET_PTON])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_INET_PTON], [/* define */
++#undef HAVE_INET_PTON])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([inet_pton.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_SOCKADDR_SA_LEN])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRUCT_SOCKADDR_SA_LEN], [/* Define if struct sockaddr has field sa_len. */
++#undef HAVE_STRUCT_SOCKADDR_SA_LEN])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([getnameinfo.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([getaddrinfo.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([freeaddrinfo.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([NEED_SETENV_PROTO])
++m4trace:configure.in:193: -1- AH_OUTPUT([NEED_SETENV_PROTO], [/* define if the system is missing a prototype for setenv() */
++#undef NEED_SETENV_PROTO])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([NEED_UNSETENV_PROTO])
++m4trace:configure.in:193: -1- AH_OUTPUT([NEED_UNSETENV_PROTO], [/* define if the system is missing a prototype for unsetenv() */
++#undef NEED_UNSETENV_PROTO])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([NEED_GETHOSTNAME_PROTO])
++m4trace:configure.in:193: -1- AH_OUTPUT([NEED_GETHOSTNAME_PROTO], [/* define if the system is missing a prototype for gethostname() */
++#undef NEED_GETHOSTNAME_PROTO])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([NEED_MKSTEMP_PROTO])
++m4trace:configure.in:193: -1- AH_OUTPUT([NEED_MKSTEMP_PROTO], [/* define if the system is missing a prototype for mkstemp() */
++#undef NEED_MKSTEMP_PROTO])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([NEED_GETUSERSHELL_PROTO])
++m4trace:configure.in:193: -1- AH_OUTPUT([NEED_GETUSERSHELL_PROTO], [/* define if the system is missing a prototype for getusershell() */
++#undef NEED_GETUSERSHELL_PROTO])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([NEED_INET_ATON_PROTO])
++m4trace:configure.in:193: -1- AH_OUTPUT([NEED_INET_ATON_PROTO], [/* define if the system is missing a prototype for inet_aton() */
++#undef NEED_INET_ATON_PROTO])
++m4trace:configure.in:193: -1- AC_CHECK_FUNCS([crypt])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_CRYPT], [/* Define to 1 if you have the `crypt\' function. */
++#undef HAVE_CRYPT])
++m4trace:configure.in:193: -1- AC_SUBST([LIB_crypt])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([BROKEN_REALLOC])
++m4trace:configure.in:193: -1- AH_OUTPUT([BROKEN_REALLOC], [/* Define if realloc(NULL) doesn\'t work. */
++#undef BROKEN_REALLOC])
++m4trace:configure.in:193: -1- AH_OUTPUT([zzzz6], [#ifdef BROKEN_REALLOC
++#define realloc(X, Y) isoc_realloc((X), (Y))
++#define isoc_realloc(X, Y) ((X) ? realloc((X), (Y)) : malloc(Y))
++#endif])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([GETHOSTBYNAME_PROTO_COMPATIBLE])
++m4trace:configure.in:193: -1- AH_OUTPUT([GETHOSTBYNAME_PROTO_COMPATIBLE], [/* define if prototype of gethostbyname is compatible with struct hostent
++   *gethostbyname(const char *) */
++#undef GETHOSTBYNAME_PROTO_COMPATIBLE])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([GETHOSTBYADDR_PROTO_COMPATIBLE])
++m4trace:configure.in:193: -1- AH_OUTPUT([GETHOSTBYADDR_PROTO_COMPATIBLE], [/* define if prototype of gethostbyaddr is compatible with struct hostent
++   *gethostbyaddr(const void *, size_t, int) */
++#undef GETHOSTBYADDR_PROTO_COMPATIBLE])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([GETSERVBYNAME_PROTO_COMPATIBLE])
++m4trace:configure.in:193: -1- AH_OUTPUT([GETSERVBYNAME_PROTO_COMPATIBLE], [/* define if prototype of getservbyname is compatible with struct servent
++   *getservbyname(const char *, const char *) */
++#undef GETSERVBYNAME_PROTO_COMPATIBLE])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([GETSOCKNAME_PROTO_COMPATIBLE])
++m4trace:configure.in:193: -1- AH_OUTPUT([GETSOCKNAME_PROTO_COMPATIBLE], [/* define if prototype of getsockname is compatible with int getsockname(int,
++   struct sockaddr*, socklen_t*) */
++#undef GETSOCKNAME_PROTO_COMPATIBLE])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([OPENLOG_PROTO_COMPATIBLE])
++m4trace:configure.in:193: -1- AH_OUTPUT([OPENLOG_PROTO_COMPATIBLE], [/* define if prototype of openlog is compatible with void openlog(const char
++   *, int, int) */
++#undef OPENLOG_PROTO_COMPATIBLE])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([NEED_CRYPT_PROTO])
++m4trace:configure.in:193: -1- AH_OUTPUT([NEED_CRYPT_PROTO], [/* define if the system is missing a prototype for crypt() */
++#undef NEED_CRYPT_PROTO])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_H_ERRNO])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_H_ERRNO], [/* Define if you have the `h_errno\' variable. */
++#undef HAVE_H_ERRNO])
++m4trace:configure.in:193: -2- AC_DEFINE_TRACE_LITERAL([HAVE_H_ERRNO_DECLARATION])
++m4trace:configure.in:193: -2- AH_OUTPUT([HAVE_H_ERRNO_DECLARATION], [/* define if your system declares h_errno */
++#undef HAVE_H_ERRNO_DECLARATION])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_H_ERRLIST])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_H_ERRLIST], [/* Define if you have the `h_errlist\' variable. */
++#undef HAVE_H_ERRLIST])
++m4trace:configure.in:193: -2- AC_DEFINE_TRACE_LITERAL([HAVE_H_ERRLIST_DECLARATION])
++m4trace:configure.in:193: -2- AH_OUTPUT([HAVE_H_ERRLIST_DECLARATION], [/* define if your system declares h_errlist */
++#undef HAVE_H_ERRLIST_DECLARATION])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_H_NERR])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_H_NERR], [/* Define if you have the `h_nerr\' variable. */
++#undef HAVE_H_NERR])
++m4trace:configure.in:193: -2- AC_DEFINE_TRACE_LITERAL([HAVE_H_NERR_DECLARATION])
++m4trace:configure.in:193: -2- AH_OUTPUT([HAVE_H_NERR_DECLARATION], [/* define if your system declares h_nerr */
++#undef HAVE_H_NERR_DECLARATION])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE___PROGNAME])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE___PROGNAME], [/* Define if you have the `__progname\' variable. */
++#undef HAVE___PROGNAME])
++m4trace:configure.in:193: -2- AC_DEFINE_TRACE_LITERAL([HAVE___PROGNAME_DECLARATION])
++m4trace:configure.in:193: -2- AH_OUTPUT([HAVE___PROGNAME_DECLARATION], [/* define if your system declares __progname */
++#undef HAVE___PROGNAME_DECLARATION])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OPTARG_DECLARATION])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_OPTARG_DECLARATION], [/* define if your system declares optarg */
++#undef HAVE_OPTARG_DECLARATION])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OPTIND_DECLARATION])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_OPTIND_DECLARATION], [/* define if your system declares optind */
++#undef HAVE_OPTIND_DECLARATION])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OPTERR_DECLARATION])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_OPTERR_DECLARATION], [/* define if your system declares opterr */
++#undef HAVE_OPTERR_DECLARATION])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OPTOPT_DECLARATION])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_OPTOPT_DECLARATION], [/* define if your system declares optopt */
++#undef HAVE_OPTOPT_DECLARATION])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ENVIRON_DECLARATION])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_ENVIRON_DECLARATION], [/* define if your system declares environ */
++#undef HAVE_ENVIRON_DECLARATION])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_TM_TM_GMTOFF])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRUCT_TM_TM_GMTOFF], [/* Define if struct tm has field tm_gmtoff. */
++#undef HAVE_STRUCT_TM_TM_GMTOFF])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_TM_TM_ZONE])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRUCT_TM_TM_ZONE], [/* Define if struct tm has field tm_zone. */
++#undef HAVE_STRUCT_TM_TM_ZONE])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_TIMEZONE])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_TIMEZONE], [/* Define if you have the `timezone\' variable. */
++#undef HAVE_TIMEZONE])
++m4trace:configure.in:193: -2- AC_DEFINE_TRACE_LITERAL([HAVE_TIMEZONE_DECLARATION])
++m4trace:configure.in:193: -2- AH_OUTPUT([HAVE_TIMEZONE_DECLARATION], [/* define if your system declares timezone */
++#undef HAVE_TIMEZONE_DECLARATION])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ALTZONE])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_ALTZONE], [/* Define if you have the `altzone\' variable. */
++#undef HAVE_ALTZONE])
++m4trace:configure.in:193: -2- AC_DEFINE_TRACE_LITERAL([HAVE_ALTZONE_DECLARATION])
++m4trace:configure.in:193: -2- AH_OUTPUT([HAVE_ALTZONE_DECLARATION], [/* define if your system declares altzone */
++#undef HAVE_ALTZONE_DECLARATION])
++m4trace:configure.in:193: -1- AC_CHECK_TYPES([sa_family_t])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SA_FAMILY_T])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SA_FAMILY_T], [/* Define to 1 if the system has the type `sa_family_t\'. */
++#undef HAVE_SA_FAMILY_T])
++m4trace:configure.in:193: -1- AC_CHECK_TYPES([socklen_t])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SOCKLEN_T])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SOCKLEN_T], [/* Define to 1 if the system has the type `socklen_t\'. */
++#undef HAVE_SOCKLEN_T])
++m4trace:configure.in:193: -1- AC_CHECK_TYPES([struct sockaddr])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_SOCKADDR])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRUCT_SOCKADDR], [/* Define to 1 if the system has the type `struct sockaddr\'. */
++#undef HAVE_STRUCT_SOCKADDR])
++m4trace:configure.in:193: -1- AC_CHECK_TYPES([struct sockaddr_storage])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_SOCKADDR_STORAGE])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRUCT_SOCKADDR_STORAGE], [/* Define to 1 if the system has the type `struct sockaddr_storage\'. */
++#undef HAVE_STRUCT_SOCKADDR_STORAGE])
++m4trace:configure.in:193: -1- AC_CHECK_TYPES([struct addrinfo])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_ADDRINFO])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRUCT_ADDRINFO], [/* Define to 1 if the system has the type `struct addrinfo\'. */
++#undef HAVE_STRUCT_ADDRINFO])
++m4trace:configure.in:193: -1- AC_CHECK_TYPES([struct ifaddrs])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_IFADDRS])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRUCT_IFADDRS], [/* Define to 1 if the system has the type `struct ifaddrs\'. */
++#undef HAVE_STRUCT_IFADDRS])
++m4trace:configure.in:193: -1- AC_CHECK_TYPES([struct iovec])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_IOVEC])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRUCT_IOVEC], [/* Define to 1 if the system has the type `struct iovec\'. */
++#undef HAVE_STRUCT_IOVEC])
++m4trace:configure.in:193: -1- AC_CHECK_TYPES([struct msghdr])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_MSGHDR])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRUCT_MSGHDR], [/* Define to 1 if the system has the type `struct msghdr\'. */
++#undef HAVE_STRUCT_MSGHDR])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_WINSIZE])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRUCT_WINSIZE], [/* define if struct winsize is declared in sys/termios.h */
++#undef HAVE_STRUCT_WINSIZE])
++m4trace:configure.in:193: -2- AC_DEFINE_TRACE_LITERAL([HAVE_WS_XPIXEL])
++m4trace:configure.in:193: -2- AH_OUTPUT([HAVE_WS_XPIXEL], [/* define if struct winsize has ws_xpixel */
++#undef HAVE_WS_XPIXEL])
++m4trace:configure.in:193: -2- AC_DEFINE_TRACE_LITERAL([HAVE_WS_YPIXEL])
++m4trace:configure.in:193: -2- AH_OUTPUT([HAVE_WS_YPIXEL], [/* define if struct winsize has ws_ypixel */
++#undef HAVE_WS_YPIXEL])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_SPWD])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRUCT_SPWD], [/* define if you have struct spwd */
++#undef HAVE_STRUCT_SPWD])
++m4trace:configure.in:197: -1- AC_DEFINE_TRACE_LITERAL([OTP])
++m4trace:configure.in:197: -1- AH_OUTPUT([OTP], [/* Define if you want OTP support in applications. */
++#undef OTP])
++m4trace:configure.in:197: -1- AM_CONDITIONAL([OTP], [test "$enable_otp" = yes])
++m4trace:configure.in:197: -1- AC_SUBST([OTP_TRUE])
++m4trace:configure.in:197: -1- AC_SUBST([OTP_FALSE])
++m4trace:configure.in:199: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OSFC2])
++m4trace:configure.in:199: -1- AH_OUTPUT([HAVE_OSFC2], [/* Define to enable basic OSF C2 support. */
++#undef HAVE_OSFC2])
++m4trace:configure.in:199: -1- AC_SUBST([LIB_security])
++m4trace:configure.in:204: -1- AC_DEFINE_TRACE_LITERAL([NO_MMAP])
++m4trace:configure.in:204: -1- AH_OUTPUT([NO_MMAP], [/* Define if you don\'t want to use mmap. */
++#undef NO_MMAP])
++m4trace:configure.in:207: -1- AC_SUBST([NROFF], [$ac_cv_path_NROFF])
++m4trace:configure.in:207: -1- AC_SUBST([GROFF], [$ac_cv_path_GROFF])
++m4trace:configure.in:207: -1- AC_SUBST([CATMAN])
++m4trace:configure.in:207: -1- AM_CONDITIONAL([CATMAN], [test "$CATMAN"])
++m4trace:configure.in:207: -1- AC_SUBST([CATMAN_TRUE])
++m4trace:configure.in:207: -1- AC_SUBST([CATMAN_FALSE])
++m4trace:configure.in:207: -1- AC_SUBST([CATMANEXT])
++m4trace:configure.in:211: -1- AC_DEFINE_TRACE_LITERAL([READLINE])
++m4trace:configure.in:211: -1- AH_OUTPUT([READLINE], [/* Define if you have the readline package. */
++#undef READLINE])
++m4trace:configure.in:211: -1- AC_SUBST([DIR_readline])
++m4trace:configure.in:211: -1- AC_SUBST([INCLUDE_readline])
++m4trace:configure.in:211: -1- AC_SUBST([LIB_readline])
++m4trace:configure.in:213: -1- AC_DEFINE_TRACE_LITERAL([HESIOD])
++m4trace:configure.in:213: -1- AH_OUTPUT([HESIOD], [/* Define if you have the hesiod package. */
++#undef HESIOD])
++m4trace:configure.in:213: -1- AC_SUBST([DIR_hesiod])
++m4trace:configure.in:213: -1- AC_SUBST([INCLUDE_hesiod])
++m4trace:configure.in:213: -1- AC_SUBST([LIB_hesiod])
++m4trace:configure.in:215: -1- AC_DEFINE_TRACE_LITERAL([SL])
++m4trace:configure.in:215: -1- AH_OUTPUT([SL], [/* Define if you have the sl package. */
++#undef SL])
++m4trace:configure.in:215: -1- AC_SUBST([DIR_sl])
++m4trace:configure.in:215: -1- AC_SUBST([INCLUDE_sl])
++m4trace:configure.in:215: -1- AC_SUBST([LIB_sl])
++m4trace:configure.in:220: -1- AC_DEFINE_TRACE_LITERAL([SS])
++m4trace:configure.in:220: -1- AH_OUTPUT([SS], [/* Define if you have the ss package. */
++#undef SS])
++m4trace:configure.in:220: -1- AC_SUBST([DIR_ss])
++m4trace:configure.in:220: -1- AC_SUBST([INCLUDE_ss])
++m4trace:configure.in:220: -1- AC_SUBST([LIB_ss])
++m4trace:configure.in:228: -1- AC_DEFINE_TRACE_LITERAL([OTP])
++m4trace:configure.in:228: -1- AH_OUTPUT([OTP], [/* Define if you have the otp package. */
++#undef OTP])
++m4trace:configure.in:228: -1- AC_SUBST([DIR_otp])
++m4trace:configure.in:228: -1- AC_SUBST([INCLUDE_otp])
++m4trace:configure.in:228: -1- AC_SUBST([LIB_otp])
++m4trace:configure.in:235: -1- AC_DEFINE_TRACE_LITERAL([WORDS_BIGENDIAN])
++m4trace:configure.in:235: -1- AH_OUTPUT([WORDS_BIGENDIAN], [/* define if target is big endian */
++#undef WORDS_BIGENDIAN])
++m4trace:configure.in:235: -1- AC_DEFINE_TRACE_LITERAL([ENDIANESS_IN_SYS_PARAM_H])
++m4trace:configure.in:235: -1- AH_OUTPUT([ENDIANESS_IN_SYS_PARAM_H], [/* define if sys/param.h defines the endiness */
++#undef ENDIANESS_IN_SYS_PARAM_H])
++m4trace:configure.in:235: -1- AH_OUTPUT([zzzz7], [
++#if ENDIANESS_IN_SYS_PARAM_H
++#  include <sys/types.h>
++#  include <sys/param.h>
++#  if BYTE_ORDER == BIG_ENDIAN
++#  define WORDS_BIGENDIAN 1
++#  endif
++#endif
++])
++m4trace:configure.in:236: -1- AC_C_INLINE
++m4trace:configure.in:236: -1- AC_DEFINE_TRACE_LITERAL([inline])
++m4trace:configure.in:236: -1- AH_OUTPUT([inline], [/* Define as `__inline\' if that\'s what the C compiler calls it, or to nothing
++   if it is not supported. */
++#undef inline])
++m4trace:configure.in:236: -1- AC_DEFINE_TRACE_LITERAL([inline])
++m4trace:configure.in:238: -1- AM_CONDITIONAL([AIX], [test "$aix" != no])
++m4trace:configure.in:238: -1- AC_SUBST([AIX_TRUE])
++m4trace:configure.in:238: -1- AC_SUBST([AIX_FALSE])
++m4trace:configure.in:238: -1- AM_CONDITIONAL([AIX4], [test "$aix" = 4])
++m4trace:configure.in:238: -1- AC_SUBST([AIX4_TRUE])
++m4trace:configure.in:238: -1- AC_SUBST([AIX4_FALSE])
++m4trace:configure.in:238: -1- AC_CHECK_FUNCS([dlopen])
++m4trace:configure.in:238: -1- AH_OUTPUT([HAVE_DLOPEN], [/* Define to 1 if you have the `dlopen\' function. */
++#undef HAVE_DLOPEN])
++m4trace:configure.in:238: -1- AC_SUBST([LIB_dlopen])
++m4trace:configure.in:238: -1- AM_CONDITIONAL([HAVE_DLOPEN], [test "$ac_cv_funclib_dlopen" != no])
++m4trace:configure.in:238: -1- AC_SUBST([HAVE_DLOPEN_TRUE])
++m4trace:configure.in:238: -1- AC_SUBST([HAVE_DLOPEN_FALSE])
++m4trace:configure.in:238: -1- AC_CHECK_FUNCS([loadquery])
++m4trace:configure.in:238: -1- AH_OUTPUT([HAVE_LOADQUERY], [/* Define to 1 if you have the `loadquery\' function. */
++#undef HAVE_LOADQUERY])
++m4trace:configure.in:238: -1- AC_SUBST([LIB_loadquery])
++m4trace:configure.in:238: -1- AM_CONDITIONAL([AIX_DYNAMIC_AFS], [test "$enable_dynamic_afs" != no])
++m4trace:configure.in:238: -1- AC_SUBST([AIX_DYNAMIC_AFS_TRUE])
++m4trace:configure.in:238: -1- AC_SUBST([AIX_DYNAMIC_AFS_FALSE])
++m4trace:configure.in:238: -1- AC_SUBST([AIX_EXTRA_KAFS])
++m4trace:configure.in:238: -1- AH_OUTPUT([zzzz8], [#if _AIX
++#define _ALL_SOURCE
++/* XXX this is gross, but kills about a gazillion warnings */
++struct ether_addr;
++struct sockaddr;
++struct sockaddr_dl;
++struct sockaddr_in;
++#endif])
++m4trace:configure.in:239: -1- AC_DEFINE_TRACE_LITERAL([IRIX4])
++m4trace:configure.in:239: -1- AH_OUTPUT([IRIX4], [/* Define if you are running IRIX 4. */
++#undef IRIX4])
++m4trace:configure.in:239: -1- AM_CONDITIONAL([IRIX], [test "$irix" != no])
++m4trace:configure.in:239: -1- AC_SUBST([IRIX_TRUE])
++m4trace:configure.in:239: -1- AC_SUBST([IRIX_FALSE])
++m4trace:configure.in:239: -1- AH_OUTPUT([zzzz9], [
++/* IRIX 4 braindamage */
++#if IRIX == 4 && !defined(__STDC__)
++#define __STDC__ 0
++#endif
++])
++m4trace:configure.in:240: -1- AC_DEFINE_TRACE_LITERAL([SunOS])
++m4trace:configure.in:240: -1- AH_OUTPUT([SunOS], [/* Define to what version of SunOS you are running. */
++#undef SunOS])
++m4trace:configure.in:242: -1- AC_PATH_X
++m4trace:configure.in:242: -1- AC_DEFINE_TRACE_LITERAL([X_DISPLAY_MISSING])
++m4trace:configure.in:242: -1- AH_OUTPUT([X_DISPLAY_MISSING], [/* Define to 1 if the X Window System is missing or not being used. */
++#undef X_DISPLAY_MISSING])
++m4trace:configure.in:242: -1- AC_CHECK_LIB([dnet], [dnet_ntoa], [X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"])
++m4trace:configure.in:242: -1- AC_CHECK_LIB([dnet_stub], [dnet_ntoa], [X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"])
++m4trace:configure.in:242: -1- AC_CHECK_LIB([nsl], [gethostbyname], [X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"])
++m4trace:configure.in:242: -1- AC_CHECK_LIB([bsd], [gethostbyname], [X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"])
++m4trace:configure.in:242: -1- AC_CHECK_LIB([socket], [connect], [X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"], [], [$X_EXTRA_LIBS])
++m4trace:configure.in:242: -1- AC_CHECK_LIB([posix], [remove], [X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"])
++m4trace:configure.in:242: -1- AC_CHECK_LIB([ipc], [shmat], [X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"])
++m4trace:configure.in:242: -1- AC_CHECK_LIB([ICE], [IceConnectionNumber], [X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"], [], [$X_EXTRA_LIBS])
++m4trace:configure.in:242: -1- AC_SUBST([X_CFLAGS])
++m4trace:configure.in:242: -1- AC_SUBST([X_PRE_LIBS])
++m4trace:configure.in:242: -1- AC_SUBST([X_LIBS])
++m4trace:configure.in:242: -1- AC_SUBST([X_EXTRA_LIBS])
++m4trace:configure.in:244: -1- AM_CONDITIONAL([HAVE_X], [test "$no_x" != yes])
++m4trace:configure.in:244: -1- AC_SUBST([HAVE_X_TRUE])
++m4trace:configure.in:244: -1- AC_SUBST([HAVE_X_FALSE])
++m4trace:configure.in:246: -1- AC_CHECK_FUNCS([XauWriteAuth])
++m4trace:configure.in:246: -1- AH_OUTPUT([HAVE_XAUWRITEAUTH], [/* Define to 1 if you have the `XauWriteAuth\' function. */
++#undef HAVE_XAUWRITEAUTH])
++m4trace:configure.in:246: -1- AC_SUBST([LIB_XauWriteAuth])
++m4trace:configure.in:246: -1- AC_CHECK_FUNCS([XauReadAuth])
++m4trace:configure.in:246: -1- AH_OUTPUT([HAVE_XAUREADAUTH], [/* Define to 1 if you have the `XauReadAuth\' function. */
++#undef HAVE_XAUREADAUTH])
++m4trace:configure.in:246: -1- AC_SUBST([LIB_XauReadAuth])
++m4trace:configure.in:246: -1- AC_CHECK_FUNCS([XauFileName])
++m4trace:configure.in:246: -1- AH_OUTPUT([HAVE_XAUFILENAME], [/* Define to 1 if you have the `XauFileName\' function. */
++#undef HAVE_XAUFILENAME])
++m4trace:configure.in:246: -1- AC_SUBST([LIB_XauFileName])
++m4trace:configure.in:246: -1- AM_CONDITIONAL([NEED_WRITEAUTH], [test "$ac_cv_func_XauWriteAuth" != "yes"])
++m4trace:configure.in:246: -1- AC_SUBST([NEED_WRITEAUTH_TRUE])
++m4trace:configure.in:246: -1- AC_SUBST([NEED_WRITEAUTH_FALSE])
++m4trace:configure.in:246: -1- AC_SUBST([NEED_WRITEAUTH_TRUE])
++m4trace:configure.in:246: -1- AC_SUBST([NEED_WRITEAUTH_FALSE])
++m4trace:configure.in:251: -1- AC_C_CONST
++m4trace:configure.in:251: -1- AC_DEFINE_TRACE_LITERAL([const])
++m4trace:configure.in:251: -1- AH_OUTPUT([const], [/* Define to empty if `const\' does not conform to ANSI C. */
++#undef const])
++m4trace:configure.in:252: -1- AC_TYPE_OFF_T
++m4trace:configure.in:252: -1- AC_DEFINE_TRACE_LITERAL([off_t])
++m4trace:configure.in:252: -1- AH_OUTPUT([off_t], [/* Define to `long\' if <sys/types.h> does not define. */
++#undef off_t])
++m4trace:configure.in:253: -1- AC_DEFINE_TRACE_LITERAL([mode_t])
++m4trace:configure.in:253: -1- AH_OUTPUT([mode_t], [/* Define this to what the type mode_t should be. */
++#undef mode_t])
++m4trace:configure.in:254: -1- AC_DEFINE_TRACE_LITERAL([sig_atomic_t])
++m4trace:configure.in:254: -1- AH_OUTPUT([sig_atomic_t], [/* Define this to what the type sig_atomic_t should be. */
++#undef sig_atomic_t])
++m4trace:configure.in:255: -1- AC_CHECK_TYPES([long long])
++m4trace:configure.in:255: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LONG_LONG])
++m4trace:configure.in:255: -1- AH_OUTPUT([HAVE_LONG_LONG], [/* Define to 1 if the system has the type `long long\'. */
++#undef HAVE_LONG_LONG])
++m4trace:configure.in:256: -1- AC_HEADER_TIME
++m4trace:configure.in:256: -1- AC_DEFINE_TRACE_LITERAL([TIME_WITH_SYS_TIME])
++m4trace:configure.in:256: -1- AH_OUTPUT([TIME_WITH_SYS_TIME], [/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
++#undef TIME_WITH_SYS_TIME])
++m4trace:configure.in:257: -1- AC_STRUCT_TM
++m4trace:configure.in:257: -1- AC_DEFINE_TRACE_LITERAL([TM_IN_SYS_TIME])
++m4trace:configure.in:257: -1- AH_OUTPUT([TM_IN_SYS_TIME], [/* Define to 1 if your <sys/time.h> declares `struct tm\'. */
++#undef TM_IN_SYS_TIME])
++m4trace:configure.in:260: -1- AC_HEADER_STDC
++m4trace:configure.in:260: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS])
++m4trace:configure.in:260: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */
++#undef STDC_HEADERS])
++m4trace:configure.in:313: -1- AC_CHECK_HEADERS([\
++	arpa/ftp.h				\
++	arpa/telnet.h				\
++	bind/bitypes.h				\
++	bsdsetjmp.h				\
++	curses.h				\
++	dlfcn.h					\
++	fnmatch.h				\
++	inttypes.h				\
++	io.h					\
++	libutil.h				\
++	limits.h				\
++	maillock.h				\
++	netgroup.h				\
++	netinet/in6_machtypes.h			\
++	netinfo/ni.h				\
++	pthread.h				\
++	pty.h					\
++	sac.h					\
++	security/pam_modules.h			\
++	sgtty.h					\
++	siad.h					\
++	signal.h				\
++	stropts.h				\
++	sys/bitypes.h				\
++	sys/category.h				\
++	sys/file.h				\
++	sys/filio.h				\
++	sys/ioccom.h				\
++	sys/mman.h				\
++	sys/pty.h				\
++	sys/ptyio.h				\
++	sys/ptyvar.h				\
++	sys/select.h				\
++	sys/str_tty.h				\
++	sys/stream.h				\
++	sys/stropts.h				\
++	sys/strtty.h				\
++	sys/syscall.h				\
++	sys/termio.h				\
++	sys/timeb.h				\
++	sys/times.h				\
++	sys/un.h				\
++	term.h					\
++	termcap.h				\
++	termio.h				\
++	time.h					\
++	tmpdir.h				\
++	udb.h					\
++	utmp.h					\
++	utmpx.h					\
++])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_ARPA_FTP_H], [/* Define to 1 if you have the <arpa/ftp.h> header file. */
++#undef HAVE_ARPA_FTP_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_ARPA_TELNET_H], [/* Define to 1 if you have the <arpa/telnet.h> header file. */
++#undef HAVE_ARPA_TELNET_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_BIND_BITYPES_H], [/* Define to 1 if you have the <bind/bitypes.h> header file. */
++#undef HAVE_BIND_BITYPES_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_BSDSETJMP_H], [/* Define to 1 if you have the <bsdsetjmp.h> header file. */
++#undef HAVE_BSDSETJMP_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_CURSES_H], [/* Define to 1 if you have the <curses.h> header file. */
++#undef HAVE_CURSES_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_DLFCN_H], [/* Define to 1 if you have the <dlfcn.h> header file. */
++#undef HAVE_DLFCN_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_FNMATCH_H], [/* Define to 1 if you have the <fnmatch.h> header file. */
++#undef HAVE_FNMATCH_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */
++#undef HAVE_INTTYPES_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_IO_H], [/* Define to 1 if you have the <io.h> header file. */
++#undef HAVE_IO_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_LIBUTIL_H], [/* Define to 1 if you have the <libutil.h> header file. */
++#undef HAVE_LIBUTIL_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_LIMITS_H], [/* Define to 1 if you have the <limits.h> header file. */
++#undef HAVE_LIMITS_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_MAILLOCK_H], [/* Define to 1 if you have the <maillock.h> header file. */
++#undef HAVE_MAILLOCK_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_NETGROUP_H], [/* Define to 1 if you have the <netgroup.h> header file. */
++#undef HAVE_NETGROUP_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_NETINET_IN6_MACHTYPES_H], [/* Define to 1 if you have the <netinet/in6_machtypes.h> header file. */
++#undef HAVE_NETINET_IN6_MACHTYPES_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_NETINFO_NI_H], [/* Define to 1 if you have the <netinfo/ni.h> header file. */
++#undef HAVE_NETINFO_NI_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_PTHREAD_H], [/* Define to 1 if you have the <pthread.h> header file. */
++#undef HAVE_PTHREAD_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_PTY_H], [/* Define to 1 if you have the <pty.h> header file. */
++#undef HAVE_PTY_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_SAC_H], [/* Define to 1 if you have the <sac.h> header file. */
++#undef HAVE_SAC_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_SECURITY_PAM_MODULES_H], [/* Define to 1 if you have the <security/pam_modules.h> header file. */
++#undef HAVE_SECURITY_PAM_MODULES_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_SGTTY_H], [/* Define to 1 if you have the <sgtty.h> header file. */
++#undef HAVE_SGTTY_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_SIAD_H], [/* Define to 1 if you have the <siad.h> header file. */
++#undef HAVE_SIAD_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_SIGNAL_H], [/* Define to 1 if you have the <signal.h> header file. */
++#undef HAVE_SIGNAL_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_STROPTS_H], [/* Define to 1 if you have the <stropts.h> header file. */
++#undef HAVE_STROPTS_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_SYS_BITYPES_H], [/* Define to 1 if you have the <sys/bitypes.h> header file. */
++#undef HAVE_SYS_BITYPES_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_SYS_CATEGORY_H], [/* Define to 1 if you have the <sys/category.h> header file. */
++#undef HAVE_SYS_CATEGORY_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_SYS_FILE_H], [/* Define to 1 if you have the <sys/file.h> header file. */
++#undef HAVE_SYS_FILE_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_SYS_FILIO_H], [/* Define to 1 if you have the <sys/filio.h> header file. */
++#undef HAVE_SYS_FILIO_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_SYS_IOCCOM_H], [/* Define to 1 if you have the <sys/ioccom.h> header file. */
++#undef HAVE_SYS_IOCCOM_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_SYS_MMAN_H], [/* Define to 1 if you have the <sys/mman.h> header file. */
++#undef HAVE_SYS_MMAN_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_SYS_PTY_H], [/* Define to 1 if you have the <sys/pty.h> header file. */
++#undef HAVE_SYS_PTY_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_SYS_PTYIO_H], [/* Define to 1 if you have the <sys/ptyio.h> header file. */
++#undef HAVE_SYS_PTYIO_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_SYS_PTYVAR_H], [/* Define to 1 if you have the <sys/ptyvar.h> header file. */
++#undef HAVE_SYS_PTYVAR_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_SYS_SELECT_H], [/* Define to 1 if you have the <sys/select.h> header file. */
++#undef HAVE_SYS_SELECT_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_SYS_STR_TTY_H], [/* Define to 1 if you have the <sys/str_tty.h> header file. */
++#undef HAVE_SYS_STR_TTY_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_SYS_STREAM_H], [/* Define to 1 if you have the <sys/stream.h> header file. */
++#undef HAVE_SYS_STREAM_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_SYS_STROPTS_H], [/* Define to 1 if you have the <sys/stropts.h> header file. */
++#undef HAVE_SYS_STROPTS_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_SYS_STRTTY_H], [/* Define to 1 if you have the <sys/strtty.h> header file. */
++#undef HAVE_SYS_STRTTY_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_SYS_SYSCALL_H], [/* Define to 1 if you have the <sys/syscall.h> header file. */
++#undef HAVE_SYS_SYSCALL_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_SYS_TERMIO_H], [/* Define to 1 if you have the <sys/termio.h> header file. */
++#undef HAVE_SYS_TERMIO_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_SYS_TIMEB_H], [/* Define to 1 if you have the <sys/timeb.h> header file. */
++#undef HAVE_SYS_TIMEB_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_SYS_TIMES_H], [/* Define to 1 if you have the <sys/times.h> header file. */
++#undef HAVE_SYS_TIMES_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_SYS_UN_H], [/* Define to 1 if you have the <sys/un.h> header file. */
++#undef HAVE_SYS_UN_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_TERM_H], [/* Define to 1 if you have the <term.h> header file. */
++#undef HAVE_TERM_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_TERMCAP_H], [/* Define to 1 if you have the <termcap.h> header file. */
++#undef HAVE_TERMCAP_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_TERMIO_H], [/* Define to 1 if you have the <termio.h> header file. */
++#undef HAVE_TERMIO_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_TIME_H], [/* Define to 1 if you have the <time.h> header file. */
++#undef HAVE_TIME_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_TMPDIR_H], [/* Define to 1 if you have the <tmpdir.h> header file. */
++#undef HAVE_TMPDIR_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_UDB_H], [/* Define to 1 if you have the <udb.h> header file. */
++#undef HAVE_UDB_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_UTMP_H], [/* Define to 1 if you have the <utmp.h> header file. */
++#undef HAVE_UTMP_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_UTMPX_H], [/* Define to 1 if you have the <utmpx.h> header file. */
++#undef HAVE_UTMPX_H])
++m4trace:configure.in:320: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NETINFO])
++m4trace:configure.in:320: -1- AH_OUTPUT([HAVE_NETINFO], [/* Define if you want to use Netinfo instead of krb5.conf. */
++#undef HAVE_NETINFO])
++m4trace:configure.in:325: -1- AC_CHECK_FUNCS([logwtmp])
++m4trace:configure.in:325: -1- AH_OUTPUT([HAVE_LOGWTMP], [/* Define to 1 if you have the `logwtmp\' function. */
++#undef HAVE_LOGWTMP])
++m4trace:configure.in:325: -1- AC_SUBST([LIB_logwtmp])
++m4trace:configure.in:326: -1- AC_CHECK_FUNCS([logout])
++m4trace:configure.in:326: -1- AH_OUTPUT([HAVE_LOGOUT], [/* Define to 1 if you have the `logout\' function. */
++#undef HAVE_LOGOUT])
++m4trace:configure.in:326: -1- AC_SUBST([LIB_logout])
++m4trace:configure.in:327: -1- AC_CHECK_FUNCS([openpty])
++m4trace:configure.in:327: -1- AH_OUTPUT([HAVE_OPENPTY], [/* Define to 1 if you have the `openpty\' function. */
++#undef HAVE_OPENPTY])
++m4trace:configure.in:327: -1- AC_SUBST([LIB_openpty])
++m4trace:configure.in:328: -1- AC_CHECK_FUNCS([tgetent])
++m4trace:configure.in:328: -1- AH_OUTPUT([HAVE_TGETENT], [/* Define to 1 if you have the `tgetent\' function. */
++#undef HAVE_TGETENT])
++m4trace:configure.in:328: -1- AC_SUBST([LIB_tgetent])
++m4trace:configure.in:361: -1- AC_CHECK_FUNCS([				\
++	_getpty					\
++	_scrsize				\
++	fcntl					\
++	grantpt					\
++	mktime					\
++	ptsname					\
++	rand					\
++	revoke					\
++	select					\
++	setitimer				\
++	setpcred				\
++	setpgid					\
++	setproctitle				\
++	setregid				\
++	setresgid				\
++	setresuid				\
++	setreuid				\
++	setsid					\
++	setutent				\
++	sigaction				\
++	strstr					\
++	timegm					\
++	ttyname					\
++	ttyslot					\
++	umask					\
++	unlockpt				\
++	vhangup					\
++	yp_get_default_domain			\
++])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE__GETPTY], [/* Define to 1 if you have the `_getpty\' function. */
++#undef HAVE__GETPTY])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE__SCRSIZE], [/* Define to 1 if you have the `_scrsize\' function. */
++#undef HAVE__SCRSIZE])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_FCNTL], [/* Define to 1 if you have the `fcntl\' function. */
++#undef HAVE_FCNTL])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_GRANTPT], [/* Define to 1 if you have the `grantpt\' function. */
++#undef HAVE_GRANTPT])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_MKTIME], [/* Define to 1 if you have the `mktime\' function. */
++#undef HAVE_MKTIME])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_PTSNAME], [/* Define to 1 if you have the `ptsname\' function. */
++#undef HAVE_PTSNAME])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_RAND], [/* Define to 1 if you have the `rand\' function. */
++#undef HAVE_RAND])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_REVOKE], [/* Define to 1 if you have the `revoke\' function. */
++#undef HAVE_REVOKE])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_SELECT], [/* Define to 1 if you have the `select\' function. */
++#undef HAVE_SELECT])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_SETITIMER], [/* Define to 1 if you have the `setitimer\' function. */
++#undef HAVE_SETITIMER])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_SETPCRED], [/* Define to 1 if you have the `setpcred\' function. */
++#undef HAVE_SETPCRED])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_SETPGID], [/* Define to 1 if you have the `setpgid\' function. */
++#undef HAVE_SETPGID])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_SETPROCTITLE], [/* Define to 1 if you have the `setproctitle\' function. */
++#undef HAVE_SETPROCTITLE])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_SETREGID], [/* Define to 1 if you have the `setregid\' function. */
++#undef HAVE_SETREGID])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_SETRESGID], [/* Define to 1 if you have the `setresgid\' function. */
++#undef HAVE_SETRESGID])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_SETRESUID], [/* Define to 1 if you have the `setresuid\' function. */
++#undef HAVE_SETRESUID])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_SETREUID], [/* Define to 1 if you have the `setreuid\' function. */
++#undef HAVE_SETREUID])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_SETSID], [/* Define to 1 if you have the `setsid\' function. */
++#undef HAVE_SETSID])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_SETUTENT], [/* Define to 1 if you have the `setutent\' function. */
++#undef HAVE_SETUTENT])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_SIGACTION], [/* Define to 1 if you have the `sigaction\' function. */
++#undef HAVE_SIGACTION])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_STRSTR], [/* Define to 1 if you have the `strstr\' function. */
++#undef HAVE_STRSTR])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_TIMEGM], [/* Define to 1 if you have the `timegm\' function. */
++#undef HAVE_TIMEGM])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_TTYNAME], [/* Define to 1 if you have the `ttyname\' function. */
++#undef HAVE_TTYNAME])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_TTYSLOT], [/* Define to 1 if you have the `ttyslot\' function. */
++#undef HAVE_TTYSLOT])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_UMASK], [/* Define to 1 if you have the `umask\' function. */
++#undef HAVE_UMASK])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_UNLOCKPT], [/* Define to 1 if you have the `unlockpt\' function. */
++#undef HAVE_UNLOCKPT])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_VHANGUP], [/* Define to 1 if you have the `vhangup\' function. */
++#undef HAVE_VHANGUP])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_YP_GET_DEFAULT_DOMAIN], [/* Define to 1 if you have the `yp_get_default_domain\' function. */
++#undef HAVE_YP_GET_DEFAULT_DOMAIN])
++m4trace:configure.in:363: -1- AC_FUNC_MMAP
++m4trace:configure.in:363: -1- AC_CHECK_HEADERS([stdlib.h unistd.h])
++m4trace:configure.in:363: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
++#undef HAVE_STDLIB_H])
++m4trace:configure.in:363: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
++#undef HAVE_UNISTD_H])
++m4trace:configure.in:363: -1- AC_CHECK_FUNCS([getpagesize])
++m4trace:configure.in:363: -1- AH_OUTPUT([HAVE_GETPAGESIZE], [/* Define to 1 if you have the `getpagesize\' function. */
++#undef HAVE_GETPAGESIZE])
++m4trace:configure.in:363: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MMAP])
++m4trace:configure.in:363: -1- AH_OUTPUT([HAVE_MMAP], [/* Define to 1 if you have a working `mmap\' system call. */
++#undef HAVE_MMAP])
++m4trace:configure.in:365: -1- AC_CHECK_HEADERS([capability.h sys/capability.h])
++m4trace:configure.in:365: -1- AH_OUTPUT([HAVE_CAPABILITY_H], [/* Define to 1 if you have the <capability.h> header file. */
++#undef HAVE_CAPABILITY_H])
++m4trace:configure.in:365: -1- AH_OUTPUT([HAVE_SYS_CAPABILITY_H], [/* Define to 1 if you have the <sys/capability.h> header file. */
++#undef HAVE_SYS_CAPABILITY_H])
++m4trace:configure.in:365: -1- AC_CHECK_FUNCS([sgi_getcapabilitybyname cap_set_proc])
++m4trace:configure.in:365: -1- AH_OUTPUT([HAVE_SGI_GETCAPABILITYBYNAME], [/* Define to 1 if you have the `sgi_getcapabilitybyname\' function. */
++#undef HAVE_SGI_GETCAPABILITYBYNAME])
++m4trace:configure.in:365: -1- AH_OUTPUT([HAVE_CAP_SET_PROC], [/* Define to 1 if you have the `cap_set_proc\' function. */
++#undef HAVE_CAP_SET_PROC])
++m4trace:configure.in:367: -1- AC_CHECK_FUNCS([getpwnam_r])
++m4trace:configure.in:367: -1- AH_OUTPUT([HAVE_GETPWNAM_R], [/* Define to 1 if you have the `getpwnam_r\' function. */
++#undef HAVE_GETPWNAM_R])
++m4trace:configure.in:367: -1- AC_SUBST([LIB_getpwnam_r])
++m4trace:configure.in:367: -1- AC_DEFINE_TRACE_LITERAL([POSIX_GETPWNAM_R])
++m4trace:configure.in:367: -1- AH_OUTPUT([POSIX_GETPWNAM_R], [/* Define if getpwnam_r has POSIX flavour. */
++#undef POSIX_GETPWNAM_R])
++m4trace:configure.in:370: -1- AC_CHECK_FUNCS([getudbnam setlim])
++m4trace:configure.in:370: -1- AH_OUTPUT([HAVE_GETUDBNAM], [/* Define to 1 if you have the `getudbnam\' function. */
++#undef HAVE_GETUDBNAM])
++m4trace:configure.in:370: -1- AH_OUTPUT([HAVE_SETLIM], [/* Define to 1 if you have the `setlim\' function. */
++#undef HAVE_SETLIM])
++m4trace:configure.in:378: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_UTMP_UT_ADDR])
++m4trace:configure.in:378: -1- AH_OUTPUT([HAVE_STRUCT_UTMP_UT_ADDR], [/* Define if struct utmp has field ut_addr. */
++#undef HAVE_STRUCT_UTMP_UT_ADDR])
++m4trace:configure.in:379: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_UTMP_UT_HOST])
++m4trace:configure.in:379: -1- AH_OUTPUT([HAVE_STRUCT_UTMP_UT_HOST], [/* Define if struct utmp has field ut_host. */
++#undef HAVE_STRUCT_UTMP_UT_HOST])
++m4trace:configure.in:380: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_UTMP_UT_ID])
++m4trace:configure.in:380: -1- AH_OUTPUT([HAVE_STRUCT_UTMP_UT_ID], [/* Define if struct utmp has field ut_id. */
++#undef HAVE_STRUCT_UTMP_UT_ID])
++m4trace:configure.in:381: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_UTMP_UT_PID])
++m4trace:configure.in:381: -1- AH_OUTPUT([HAVE_STRUCT_UTMP_UT_PID], [/* Define if struct utmp has field ut_pid. */
++#undef HAVE_STRUCT_UTMP_UT_PID])
++m4trace:configure.in:382: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_UTMP_UT_TYPE])
++m4trace:configure.in:382: -1- AH_OUTPUT([HAVE_STRUCT_UTMP_UT_TYPE], [/* Define if struct utmp has field ut_type. */
++#undef HAVE_STRUCT_UTMP_UT_TYPE])
++m4trace:configure.in:383: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_UTMP_UT_USER])
++m4trace:configure.in:383: -1- AH_OUTPUT([HAVE_STRUCT_UTMP_UT_USER], [/* Define if struct utmp has field ut_user. */
++#undef HAVE_STRUCT_UTMP_UT_USER])
++m4trace:configure.in:384: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_UTMPX_UT_EXIT])
++m4trace:configure.in:384: -1- AH_OUTPUT([HAVE_STRUCT_UTMPX_UT_EXIT], [/* Define if struct utmpx has field ut_exit. */
++#undef HAVE_STRUCT_UTMPX_UT_EXIT])
++m4trace:configure.in:385: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_UTMPX_UT_SYSLEN])
++m4trace:configure.in:385: -1- AH_OUTPUT([HAVE_STRUCT_UTMPX_UT_SYSLEN], [/* Define if struct utmpx has field ut_syslen. */
++#undef HAVE_STRUCT_UTMPX_UT_SYSLEN])
++m4trace:configure.in:405: -1- AC_CHECK_TYPES([int8_t, int16_t, int32_t, int64_t, 
++	u_int8_t, u_int16_t, u_int32_t, u_int64_t,
++	uint8_t, uint16_t, uint32_t, uint64_t], [], [], [
++#ifdef HAVE_INTTYPES_H
++#include <inttypes.h>
++#endif
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_BITYPES_H
++#include <sys/bitypes.h>
++#endif
++#ifdef HAVE_BIND_BITYPES_H
++#include <bind/bitypes.h>
++#endif
++#ifdef HAVE_NETINET_IN6_MACHTYPES_H
++#include <netinet/in6_machtypes.h>
++#endif
++])
++m4trace:configure.in:405: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INT8_T])
++m4trace:configure.in:405: -1- AH_OUTPUT([HAVE_INT8_T], [/* Define to 1 if the system has the type `int8_t\'. */
++#undef HAVE_INT8_T])
++m4trace:configure.in:405: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INT16_T])
++m4trace:configure.in:405: -1- AH_OUTPUT([HAVE_INT16_T], [/* Define to 1 if the system has the type `int16_t\'. */
++#undef HAVE_INT16_T])
++m4trace:configure.in:405: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INT32_T])
++m4trace:configure.in:405: -1- AH_OUTPUT([HAVE_INT32_T], [/* Define to 1 if the system has the type `int32_t\'. */
++#undef HAVE_INT32_T])
++m4trace:configure.in:405: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INT64_T])
++m4trace:configure.in:405: -1- AH_OUTPUT([HAVE_INT64_T], [/* Define to 1 if the system has the type `int64_t\'. */
++#undef HAVE_INT64_T])
++m4trace:configure.in:405: -1- AC_DEFINE_TRACE_LITERAL([HAVE_U_INT8_T])
++m4trace:configure.in:405: -1- AH_OUTPUT([HAVE_U_INT8_T], [/* Define to 1 if the system has the type `u_int8_t\'. */
++#undef HAVE_U_INT8_T])
++m4trace:configure.in:405: -1- AC_DEFINE_TRACE_LITERAL([HAVE_U_INT16_T])
++m4trace:configure.in:405: -1- AH_OUTPUT([HAVE_U_INT16_T], [/* Define to 1 if the system has the type `u_int16_t\'. */
++#undef HAVE_U_INT16_T])
++m4trace:configure.in:405: -1- AC_DEFINE_TRACE_LITERAL([HAVE_U_INT32_T])
++m4trace:configure.in:405: -1- AH_OUTPUT([HAVE_U_INT32_T], [/* Define to 1 if the system has the type `u_int32_t\'. */
++#undef HAVE_U_INT32_T])
++m4trace:configure.in:405: -1- AC_DEFINE_TRACE_LITERAL([HAVE_U_INT64_T])
++m4trace:configure.in:405: -1- AH_OUTPUT([HAVE_U_INT64_T], [/* Define to 1 if the system has the type `u_int64_t\'. */
++#undef HAVE_U_INT64_T])
++m4trace:configure.in:405: -1- AC_DEFINE_TRACE_LITERAL([HAVE_UINT8_T])
++m4trace:configure.in:405: -1- AH_OUTPUT([HAVE_UINT8_T], [/* Define to 1 if the system has the type `uint8_t\'. */
++#undef HAVE_UINT8_T])
++m4trace:configure.in:405: -1- AC_DEFINE_TRACE_LITERAL([HAVE_UINT16_T])
++m4trace:configure.in:405: -1- AH_OUTPUT([HAVE_UINT16_T], [/* Define to 1 if the system has the type `uint16_t\'. */
++#undef HAVE_UINT16_T])
++m4trace:configure.in:405: -1- AC_DEFINE_TRACE_LITERAL([HAVE_UINT32_T])
++m4trace:configure.in:405: -1- AH_OUTPUT([HAVE_UINT32_T], [/* Define to 1 if the system has the type `uint32_t\'. */
++#undef HAVE_UINT32_T])
++m4trace:configure.in:405: -1- AC_DEFINE_TRACE_LITERAL([HAVE_UINT64_T])
++m4trace:configure.in:405: -1- AH_OUTPUT([HAVE_UINT64_T], [/* Define to 1 if the system has the type `uint64_t\'. */
++#undef HAVE_UINT64_T])
++m4trace:configure.in:407: -1- AC_CHECK_FUNCS([el_init])
++m4trace:configure.in:407: -1- AH_OUTPUT([HAVE_EL_INIT], [/* Define to 1 if you have the `el_init\' function. */
++#undef HAVE_EL_INIT])
++m4trace:configure.in:407: -1- AC_SUBST([LIB_el_init])
++m4trace:configure.in:407: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FOUR_VALUED_EL_INIT])
++m4trace:configure.in:407: -1- AH_OUTPUT([HAVE_FOUR_VALUED_EL_INIT], [/* Define if el_init takes four arguments. */
++#undef HAVE_FOUR_VALUED_EL_INIT])
++m4trace:configure.in:407: -1- AM_CONDITIONAL([el_compat], [test "$ac_foo" = yes])
++m4trace:configure.in:407: -1- AC_SUBST([el_compat_TRUE])
++m4trace:configure.in:407: -1- AC_SUBST([el_compat_FALSE])
++m4trace:configure.in:407: -1- AC_DEFINE_TRACE_LITERAL([HAVE_READLINE])
++m4trace:configure.in:407: -1- AH_OUTPUT([HAVE_READLINE], [/* Define if you have a readline compatible library. */
++#undef HAVE_READLINE])
++m4trace:configure.in:409: -1- AC_DEFINE_TRACE_LITERAL([AUTHENTICATION])
++m4trace:configure.in:409: -1- AH_OUTPUT([AUTHENTICATION], [/* Define if you want authentication support in telnet. */
++#undef AUTHENTICATION])
++m4trace:configure.in:409: -1- AC_DEFINE_TRACE_LITERAL([ENCRYPTION])
++m4trace:configure.in:409: -1- AH_OUTPUT([ENCRYPTION], [/* Define if you want encryption support in telnet. */
++#undef ENCRYPTION])
++m4trace:configure.in:409: -1- AC_DEFINE_TRACE_LITERAL([DES_ENCRYPTION])
++m4trace:configure.in:409: -1- AH_OUTPUT([DES_ENCRYPTION], [/* Define if you want to use DES encryption in telnet. */
++#undef DES_ENCRYPTION])
++m4trace:configure.in:409: -1- AC_DEFINE_TRACE_LITERAL([DIAGNOSTICS])
++m4trace:configure.in:409: -1- AH_OUTPUT([DIAGNOSTICS], [/* Define this to enable diagnostics in telnet. */
++#undef DIAGNOSTICS])
++m4trace:configure.in:409: -1- AC_DEFINE_TRACE_LITERAL([OLD_ENVIRON])
++m4trace:configure.in:409: -1- AH_OUTPUT([OLD_ENVIRON], [/* Define this to enable old environment option in telnet. */
++#undef OLD_ENVIRON])
++m4trace:configure.in:409: -1- AC_DEFINE_TRACE_LITERAL([ENV_HACK])
++m4trace:configure.in:409: -1- AH_OUTPUT([ENV_HACK], [/* Define this if you want support for broken ENV_{VAR,VAL} telnets. */
++#undef ENV_HACK])
++m4trace:configure.in:409: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETMSG])
++m4trace:configure.in:409: -1- AH_OUTPUT([HAVE_GETMSG], [/* Define if you have a working getmsg. */
++#undef HAVE_GETMSG])
++m4trace:configure.in:409: -1- AC_DEFINE_TRACE_LITERAL([STREAMSPTY])
++m4trace:configure.in:409: -1- AH_OUTPUT([STREAMSPTY], [/* Define if you have streams ptys. */
++#undef STREAMSPTY])
++m4trace:configure.in:409: -1- AH_OUTPUT([zzzz10], [
++#if defined(ENCRYPTION) && !defined(AUTHENTICATION)
++#define AUTHENTICATION 1
++#endif
++
++/* Set this to the default system lead string for telnetd 
++ * can contain %-escapes: %s=sysname, %m=machine, %r=os-release
++ * %v=os-version, %t=tty, %h=hostname, %d=date and time
++ */
++#undef USE_IM
++
++/* Used with login -p */
++#undef LOGIN_ARGS
++
++/* set this to a sensible login */
++#ifndef LOGIN_PATH
++#define LOGIN_PATH BINDIR "/login"
++#endif
++])
++m4trace:configure.in:412: -1- AC_SUBST([COMPILE_ET])
++m4trace:configure.in:412: -1- AC_SUBST([DIR_com_err])
++m4trace:configure.in:412: -1- AC_SUBST([LIB_com_err])
++m4trace:configure.in:412: -1- AC_SUBST([LIB_com_err_a])
++m4trace:configure.in:412: -1- AC_SUBST([LIB_com_err_so])
++m4trace:configure.in:414: -1- AC_SUBST([LIB_AUTH_SUBDIRS])
++m4trace:configure.in:416: -1- AC_DEFINE_TRACE_LITERAL([BINDIR])
++m4trace:configure.in:416: -1- AH_OUTPUT([BINDIR], [/* path to bin */
++#undef BINDIR])
++m4trace:configure.in:416: -1- AC_DEFINE_TRACE_LITERAL([LIBDIR])
++m4trace:configure.in:416: -1- AH_OUTPUT([LIBDIR], [/* path to lib */
++#undef LIBDIR])
++m4trace:configure.in:416: -1- AC_DEFINE_TRACE_LITERAL([LIBEXECDIR])
++m4trace:configure.in:416: -1- AH_OUTPUT([LIBEXECDIR], [/* path to libexec */
++#undef LIBEXECDIR])
++m4trace:configure.in:416: -1- AC_DEFINE_TRACE_LITERAL([LOCALSTATEDIR])
++m4trace:configure.in:416: -1- AH_OUTPUT([LOCALSTATEDIR], [/* path to localstate */
++#undef LOCALSTATEDIR])
++m4trace:configure.in:416: -1- AC_DEFINE_TRACE_LITERAL([SBINDIR])
++m4trace:configure.in:416: -1- AH_OUTPUT([SBINDIR], [/* path to sbin */
++#undef SBINDIR])
++m4trace:configure.in:416: -1- AC_DEFINE_TRACE_LITERAL([SYSCONFDIR])
++m4trace:configure.in:416: -1- AH_OUTPUT([SYSCONFDIR], [/* path to sysconf */
++#undef SYSCONFDIR])
++m4trace:configure.in:420: -1- AC_SUBST([LTLIBOBJS])
++m4trace:configure.in:424: -1- AH_OUTPUT([zzzz11], [#ifdef ROKEN_RENAME
++#include "roken_rename.h"
++#endif])
++m4trace:configure.in:478: -1- AC_CONFIG_FILES([Makefile 		\
++	include/Makefile		\
++	include/kadm5/Makefile		\
++	lib/Makefile			\
++	lib/45/Makefile			\
++	lib/auth/Makefile		\
++	lib/auth/afskauthlib/Makefile	\
++	lib/auth/pam/Makefile		\
++	lib/auth/sia/Makefile		\
++	lib/asn1/Makefile		\
++	lib/com_err/Makefile		\
++	lib/des/Makefile		\
++	lib/editline/Makefile		\
++	lib/gssapi/Makefile		\
++	lib/hdb/Makefile		\
++	lib/kadm5/Makefile		\
++	lib/kafs/Makefile		\
++	lib/kdfs/Makefile		\
++	lib/krb5/Makefile		\
++	lib/otp/Makefile		\
++	lib/roken/Makefile		\
++	lib/sl/Makefile			\
++	lib/vers/Makefile		\
++	kuser/Makefile			\
++	kpasswd/Makefile		\
++	kadmin/Makefile			\
++	admin/Makefile			\
++	kdc/Makefile			\
++	appl/Makefile			\
++	appl/afsutil/Makefile		\
++	appl/ftp/Makefile		\
++	appl/ftp/common/Makefile	\
++	appl/ftp/ftp/Makefile		\
++	appl/ftp/ftpd/Makefile		\
++	appl/kx/Makefile		\
++	appl/login/Makefile		\
++	appl/otp/Makefile		\
++	appl/popper/Makefile		\
++	appl/push/Makefile		\
++	appl/rsh/Makefile		\
++	appl/rcp/Makefile		\
++	appl/su/Makefile		\
++	appl/xnlock/Makefile		\
++	appl/telnet/Makefile		\
++	appl/telnet/libtelnet/Makefile	\
++	appl/telnet/telnet/Makefile	\
++	appl/telnet/telnetd/Makefile	\
++	appl/test/Makefile		\
++	appl/kf/Makefile		\
++	appl/dceutils/Makefile		\
++	doc/Makefile			\
++	tools/Makefile			\
++])
++m4trace:configure.in:480: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs])
++m4trace:configure.in:480: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])
+diff -ruN heimdal-0.6-old/config.guess heimdal-0.6/config.guess
+--- heimdal-0.6-old/config.guess	2003-05-12 17:27:34.000000000 +0200
++++ heimdal-0.6/config.guess	2003-09-15 17:09:37.000000000 +0200
+@@ -1,9 +1,9 @@
+ #! /bin/sh
+ # Attempt to guess a canonical system name.
+ #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
+-#   2000, 2001, 2002 Free Software Foundation, Inc.
++#   2000, 2001, 2002, 2003 Free Software Foundation, Inc.
+ 
+-timestamp='2002-03-20'
++timestamp='2003-07-02'
+ 
+ # This file is free software; you can redistribute it and/or modify it
+ # under the terms of the GNU General Public License as published by
+@@ -88,30 +88,42 @@
+   exit 1
+ fi
+ 
++trap 'exit 1' 1 2 15
+ 
+-dummy=dummy-$$
+-trap 'rm -f $dummy.c $dummy.o $dummy.rel $dummy; exit 1' 1 2 15
++# CC_FOR_BUILD -- compiler used by this script. Note that the use of a
++# compiler to aid in system detection is discouraged as it requires
++# temporary files to be created and, as you can see below, it is a
++# headache to deal with in a portable fashion.
+ 
+-# CC_FOR_BUILD -- compiler used by this script.
+ # Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
+ # use `HOST_CC' if defined, but it is deprecated.
+ 
+-set_cc_for_build='case $CC_FOR_BUILD,$HOST_CC,$CC in
+- ,,)    echo "int dummy(){}" > $dummy.c ;
++# Portable tmp directory creation inspired by the Autoconf team.
++
++set_cc_for_build='
++trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
++trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
++: ${TMPDIR=/tmp} ;
++ { tmp=`(umask 077 && mktemp -d -q "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
++ { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
++ { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
++ { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
++dummy=$tmp/dummy ;
++tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
++case $CC_FOR_BUILD,$HOST_CC,$CC in
++ ,,)    echo "int x;" > $dummy.c ;
+ 	for c in cc gcc c89 c99 ; do
+-	  ($c $dummy.c -c -o $dummy.o) >/dev/null 2>&1 ;
+-	  if test $? = 0 ; then
++	  if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then
+ 	     CC_FOR_BUILD="$c"; break ;
+ 	  fi ;
+ 	done ;
+-	rm -f $dummy.c $dummy.o $dummy.rel ;
+ 	if test x"$CC_FOR_BUILD" = x ; then
+ 	  CC_FOR_BUILD=no_compiler_found ;
+ 	fi
+ 	;;
+  ,,*)   CC_FOR_BUILD=$CC ;;
+  ,*,*)  CC_FOR_BUILD=$HOST_CC ;;
+-esac'
++esac ;'
+ 
+ # This is needed to find uname on a Pyramid OSx when run in the BSD universe.
+ # (ghazi@noc.rutgers.edu 1994-08-24)
+@@ -142,6 +154,7 @@
+ 	UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \
+ 	    /usr/sbin/$sysctl 2>/dev/null || echo unknown)`
+ 	case "${UNAME_MACHINE_ARCH}" in
++	    armeb) machine=armeb-unknown ;;
+ 	    arm*) machine=arm-unknown ;;
+ 	    sh3el) machine=shl-unknown ;;
+ 	    sh3eb) machine=sh-unknown ;;
+@@ -167,7 +180,18 @@
+ 		;;
+ 	esac
+ 	# The OS release
+-	release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
++	# Debian GNU/NetBSD machines have a different userland, and
++	# thus, need a distinct triplet. However, they do not need
++	# kernel version information, so it can be replaced with a
++	# suitable tag, in the style of linux-gnu.
++	case "${UNAME_VERSION}" in
++	    Debian*)
++		release='-gnu'
++		;;
++	    *)
++		release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
++		;;
++	esac
+ 	# Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
+ 	# contains redundant information, the shorter form:
+ 	# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
+@@ -216,65 +240,52 @@
+ 	if test $UNAME_RELEASE = "V4.0"; then
+ 		UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
+ 	fi
++	# According to Compaq, /usr/sbin/psrinfo has been available on
++	# OSF/1 and Tru64 systems produced since 1995.  I hope that
++	# covers most systems running today.  This code pipes the CPU
++	# types through head -n 1, so we only detect the type of CPU 0.
++	ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^  The alpha \(.*\) processor.*$/\1/p' | head -n 1`
++	case "$ALPHA_CPU_TYPE" in
++	    "EV4 (21064)")
++		UNAME_MACHINE="alpha" ;;
++	    "EV4.5 (21064)")
++		UNAME_MACHINE="alpha" ;;
++	    "LCA4 (21066/21068)")
++		UNAME_MACHINE="alpha" ;;
++	    "EV5 (21164)")
++		UNAME_MACHINE="alphaev5" ;;
++	    "EV5.6 (21164A)")
++		UNAME_MACHINE="alphaev56" ;;
++	    "EV5.6 (21164PC)")
++		UNAME_MACHINE="alphapca56" ;;
++	    "EV5.7 (21164PC)")
++		UNAME_MACHINE="alphapca57" ;;
++	    "EV6 (21264)")
++		UNAME_MACHINE="alphaev6" ;;
++	    "EV6.7 (21264A)")
++		UNAME_MACHINE="alphaev67" ;;
++	    "EV6.8CB (21264C)")
++		UNAME_MACHINE="alphaev68" ;;
++	    "EV6.8AL (21264B)")
++		UNAME_MACHINE="alphaev68" ;;
++	    "EV6.8CX (21264D)")
++		UNAME_MACHINE="alphaev68" ;;
++	    "EV6.9A (21264/EV69A)")
++		UNAME_MACHINE="alphaev69" ;;
++	    "EV7 (21364)")
++		UNAME_MACHINE="alphaev7" ;;
++	    "EV7.9 (21364A)")
++		UNAME_MACHINE="alphaev79" ;;
++	esac
+ 	# A Vn.n version is a released version.
+ 	# A Tn.n version is a released field test version.
+ 	# A Xn.n version is an unreleased experimental baselevel.
+ 	# 1.2 uses "1.2" for uname -r.
+-	cat <<EOF >$dummy.s
+-	.data
+-\$Lformat:
+-	.byte 37,100,45,37,120,10,0	# "%d-%x\n"
+-
+-	.text
+-	.globl main
+-	.align 4
+-	.ent main
+-main:
+-	.frame \$30,16,\$26,0
+-	ldgp \$29,0(\$27)
+-	.prologue 1
+-	.long 0x47e03d80 # implver \$0
+-	lda \$2,-1
+-	.long 0x47e20c21 # amask \$2,\$1
+-	lda \$16,\$Lformat
+-	mov \$0,\$17
+-	not \$1,\$18
+-	jsr \$26,printf
+-	ldgp \$29,0(\$26)
+-	mov 0,\$16
+-	jsr \$26,exit
+-	.end main
+-EOF
+-	eval $set_cc_for_build
+-	$CC_FOR_BUILD $dummy.s -o $dummy 2>/dev/null
+-	if test "$?" = 0 ; then
+-		case `./$dummy` in
+-			0-0)
+-				UNAME_MACHINE="alpha"
+-				;;
+-			1-0)
+-				UNAME_MACHINE="alphaev5"
+-				;;
+-			1-1)
+-				UNAME_MACHINE="alphaev56"
+-				;;
+-			1-101)
+-				UNAME_MACHINE="alphapca56"
+-				;;
+-			2-303)
+-				UNAME_MACHINE="alphaev6"
+-				;;
+-			2-307)
+-				UNAME_MACHINE="alphaev67"
+-				;;
+-			2-1307)
+-				UNAME_MACHINE="alphaev68"
+-				;;
+-		esac
+-	fi
+-	rm -f $dummy.s $dummy
+ 	echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
+ 	exit 0 ;;
++    Alpha*:OpenVMS:*:*)
++	echo alpha-hp-vms
++	exit 0 ;;
+     Alpha\ *:Windows_NT*:*)
+ 	# How do we know it's Interix rather than the generic POSIX subsystem?
+ 	# Should we change UNAME_MACHINE based on the output of uname instead
+@@ -313,6 +324,13 @@
+     NILE*:*:*:dcosx)
+ 	echo pyramid-pyramid-svr4
+ 	exit 0 ;;
++    DRS?6000:unix:4.0:6*)
++	echo sparc-icl-nx6
++	exit 0 ;;
++    DRS?6000:UNIX_SV:4.2*:7*)
++	case `/usr/bin/uname -p` in
++	    sparc) echo sparc-icl-nx7 && exit 0 ;;
++	esac ;;
+     sun4H:SunOS:5.*:*)
+ 	echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
+ 	exit 0 ;;
+@@ -419,15 +437,20 @@
+ 	  exit (-1);
+ 	}
+ EOF
+-	$CC_FOR_BUILD $dummy.c -o $dummy \
+-	  && ./$dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \
+-	  && rm -f $dummy.c $dummy && exit 0
+-	rm -f $dummy.c $dummy
++	$CC_FOR_BUILD -o $dummy $dummy.c \
++	  && $dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \
++	  && exit 0
+ 	echo mips-mips-riscos${UNAME_RELEASE}
+ 	exit 0 ;;
+     Motorola:PowerMAX_OS:*:*)
+ 	echo powerpc-motorola-powermax
+ 	exit 0 ;;
++    Motorola:*:4.3:PL8-*)
++	echo powerpc-harris-powermax
++	exit 0 ;;
++    Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*)
++	echo powerpc-harris-powermax
++	exit 0 ;;
+     Night_Hawk:Power_UNIX:*:*)
+ 	echo powerpc-harris-powerunix
+ 	exit 0 ;;
+@@ -500,8 +523,7 @@
+ 			exit(0);
+ 			}
+ EOF
+-		$CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm -f $dummy.c $dummy && exit 0
+-		rm -f $dummy.c $dummy
++		$CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0
+ 		echo rs6000-ibm-aix3.2.5
+ 	elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
+ 		echo rs6000-ibm-aix3.2.4
+@@ -599,11 +621,21 @@
+                   exit (0);
+               }
+ EOF
+-		    (CCOPTS= $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null) && HP_ARCH=`./$dummy`
+-		    if test -z "$HP_ARCH"; then HP_ARCH=hppa; fi
+-		    rm -f $dummy.c $dummy
++		    (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
++		    test -z "$HP_ARCH" && HP_ARCH=hppa
+ 		fi ;;
+ 	esac
++	if [ ${HP_ARCH} = "hppa2.0w" ]
++	then
++	    # avoid double evaluation of $set_cc_for_build
++	    test -n "$CC_FOR_BUILD" || eval $set_cc_for_build
++	    if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E -) | grep __LP64__ >/dev/null
++	    then
++		HP_ARCH="hppa2.0w"
++	    else
++		HP_ARCH="hppa64"
++	    fi
++	fi
+ 	echo ${HP_ARCH}-hp-hpux${HPUX_REV}
+ 	exit 0 ;;
+     ia64:HP-UX:*:*)
+@@ -637,8 +669,7 @@
+ 	  exit (0);
+ 	}
+ EOF
+-	$CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm -f $dummy.c $dummy && exit 0
+-	rm -f $dummy.c $dummy
++	$CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0
+ 	echo unknown-hitachi-hiuxwe2
+ 	exit 0 ;;
+     9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
+@@ -696,15 +727,15 @@
+     CRAY*TS:*:*:*)
+ 	echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
+ 	exit 0 ;;
+-    CRAY*T3D:*:*:*)
+-	echo alpha-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
+-	exit 0 ;;
+     CRAY*T3E:*:*:*)
+ 	echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
+ 	exit 0 ;;
+     CRAY*SV1:*:*:*)
+ 	echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
+ 	exit 0 ;;
++    *:UNICOS/mp:*:*)
++	echo nv1-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' 
++	exit 0 ;;
+     F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
+ 	FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
+         FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
+@@ -720,8 +751,22 @@
+     *:BSD/OS:*:*)
+ 	echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
+ 	exit 0 ;;
+-    *:FreeBSD:*:*)
+-	echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
++    *:FreeBSD:*:*|*:GNU/FreeBSD:*:*)
++	# Determine whether the default compiler uses glibc.
++	eval $set_cc_for_build
++	sed 's/^	//' << EOF >$dummy.c
++	#include <features.h>
++	#if __GLIBC__ >= 2
++	LIBC=gnu
++	#else
++	LIBC=
++	#endif
++EOF
++	eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
++	# GNU/FreeBSD systems have a "k" prefix to indicate we are using
++	# FreeBSD's kernel, but not the complete OS.
++	case ${LIBC} in gnu) kernel_only='k' ;; esac
++	echo ${UNAME_MACHINE}-unknown-${kernel_only}freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`${LIBC:+-$LIBC}
+ 	exit 0 ;;
+     i*:CYGWIN*:*)
+ 	echo ${UNAME_MACHINE}-pc-cygwin
+@@ -732,14 +777,17 @@
+     i*:PW*:*)
+ 	echo ${UNAME_MACHINE}-pc-pw32
+ 	exit 0 ;;
+-    x86:Interix*:3*)
+-	echo i386-pc-interix3
++    x86:Interix*:[34]*)
++	echo i586-pc-interix${UNAME_RELEASE}|sed -e 's/\..*//'
++	exit 0 ;;
++    [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
++	echo i${UNAME_MACHINE}-pc-mks
+ 	exit 0 ;;
+     i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
+ 	# How do we know it's Interix rather than the generic POSIX subsystem?
+ 	# It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
+ 	# UNAME_MACHINE based on the output of uname instead of i386?
+-	echo i386-pc-interix
++	echo i586-pc-interix
+ 	exit 0 ;;
+     i*:UWIN*:*)
+ 	echo ${UNAME_MACHINE}-pc-uwin
+@@ -759,6 +807,9 @@
+     arm*:Linux:*:*)
+ 	echo ${UNAME_MACHINE}-unknown-linux-gnu
+ 	exit 0 ;;
++    cris:Linux:*:*)
++	echo cris-axis-linux-gnu
++	exit 0 ;;
+     ia64:Linux:*:*)
+ 	echo ${UNAME_MACHINE}-unknown-linux-gnu
+ 	exit 0 ;;
+@@ -782,8 +833,26 @@
+ 	#endif
+ EOF
+ 	eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
+-	rm -f $dummy.c
+-	test x"${CPU}" != x && echo "${CPU}-pc-linux-gnu" && exit 0
++	test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0
++	;;
++    mips64:Linux:*:*)
++	eval $set_cc_for_build
++	sed 's/^	//' << EOF >$dummy.c
++	#undef CPU
++	#undef mips64
++	#undef mips64el
++	#if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
++	CPU=mips64el
++	#else
++	#if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
++	CPU=mips64
++	#else
++	CPU=
++	#endif
++	#endif
++EOF
++	eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
++	test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0
+ 	;;
+     ppc:Linux:*:*)
+ 	echo powerpc-unknown-linux-gnu
+@@ -819,6 +888,9 @@
+     s390:Linux:*:* | s390x:Linux:*:*)
+ 	echo ${UNAME_MACHINE}-ibm-linux
+ 	exit 0 ;;
++    sh64*:Linux:*:*)
++    	echo ${UNAME_MACHINE}-unknown-linux-gnu
++	exit 0 ;;
+     sh*:Linux:*:*)
+ 	echo ${UNAME_MACHINE}-unknown-linux-gnu
+ 	exit 0 ;;
+@@ -845,7 +917,7 @@
+ 		;;
+ 	  a.out-i386-linux)
+ 		echo "${UNAME_MACHINE}-pc-linux-gnuaout"
+-		exit 0 ;;		
++		exit 0 ;;
+ 	  coff-i386)
+ 		echo "${UNAME_MACHINE}-pc-linux-gnucoff"
+ 		exit 0 ;;
+@@ -878,7 +950,6 @@
+ 	#endif
+ EOF
+ 	eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
+-	rm -f $dummy.c
+ 	test x"${LIBC}" != x && echo "${UNAME_MACHINE}-pc-linux-${LIBC}" && exit 0
+ 	test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0
+ 	;;
+@@ -896,6 +967,23 @@
+         # Use sysv4.2uw... so that sysv4* matches it.
+ 	echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
+ 	exit 0 ;;
++    i*86:OS/2:*:*)
++	# If we were able to find `uname', then EMX Unix compatibility
++	# is probably installed.
++	echo ${UNAME_MACHINE}-pc-os2-emx
++	exit 0 ;;
++    i*86:XTS-300:*:STOP)
++	echo ${UNAME_MACHINE}-unknown-stop
++	exit 0 ;;
++    i*86:atheos:*:*)
++	echo ${UNAME_MACHINE}-unknown-atheos
++	exit 0 ;;
++    i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
++	echo i386-unknown-lynxos${UNAME_RELEASE}
++	exit 0 ;;
++    i*86:*DOS:*:*)
++	echo ${UNAME_MACHINE}-pc-msdosdjgpp
++	exit 0 ;;
+     i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
+ 	UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
+ 	if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
+@@ -917,22 +1005,19 @@
+ 		UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
+ 		echo ${UNAME_MACHINE}-pc-isc$UNAME_REL
+ 	elif /bin/uname -X 2>/dev/null >/dev/null ; then
+-		UNAME_REL=`(/bin/uname -X|egrep Release|sed -e 's/.*= //')`
+-		(/bin/uname -X|egrep i80486 >/dev/null) && UNAME_MACHINE=i486
+-		(/bin/uname -X|egrep '^Machine.*Pentium' >/dev/null) \
++		UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')`
++		(/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486
++		(/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \
+ 			&& UNAME_MACHINE=i586
+-		(/bin/uname -X|egrep '^Machine.*Pent ?II' >/dev/null) \
++		(/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \
+ 			&& UNAME_MACHINE=i686
+-		(/bin/uname -X|egrep '^Machine.*Pentium Pro' >/dev/null) \
++		(/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \
+ 			&& UNAME_MACHINE=i686
+ 		echo ${UNAME_MACHINE}-pc-sco$UNAME_REL
+ 	else
+ 		echo ${UNAME_MACHINE}-pc-sysv32
+ 	fi
+ 	exit 0 ;;
+-    i*86:*DOS:*:*)
+-	echo ${UNAME_MACHINE}-pc-msdosdjgpp
+-	exit 0 ;;
+     pc:*:*:*)
+ 	# Left here for compatibility:
+         # uname -m prints for DJGPP always 'pc', but it prints nothing about
+@@ -956,9 +1041,15 @@
+ 	# "miniframe"
+ 	echo m68010-convergent-sysv
+ 	exit 0 ;;
++    mc68k:UNIX:SYSTEM5:3.51m)
++	echo m68k-convergent-sysv
++	exit 0 ;;
++    M680?0:D-NIX:5.3:*)
++	echo m68k-diab-dnix
++	exit 0 ;;
+     M68*:*:R3V[567]*:*)
+ 	test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
+-    3[34]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0)
++    3[34]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0)
+ 	OS_REL=''
+ 	test -r /etc/.relid \
+ 	&& OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
+@@ -975,9 +1066,6 @@
+     mc68030:UNIX_System_V:4.*:*)
+ 	echo m68k-atari-sysv4
+ 	exit 0 ;;
+-    i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
+-	echo i386-unknown-lynxos${UNAME_RELEASE}
+-	exit 0 ;;
+     TSUNAMI:LynxOS:2.*:*)
+ 	echo sparc-unknown-lynxos${UNAME_RELEASE}
+ 	exit 0 ;;
+@@ -1049,6 +1137,9 @@
+     SX-5:SUPER-UX:*:*)
+ 	echo sx5-nec-superux${UNAME_RELEASE}
+ 	exit 0 ;;
++    SX-6:SUPER-UX:*:*)
++	echo sx6-nec-superux${UNAME_RELEASE}
++	exit 0 ;;
+     Power*:Rhapsody:*:*)
+ 	echo powerpc-apple-rhapsody${UNAME_RELEASE}
+ 	exit 0 ;;
+@@ -1056,7 +1147,11 @@
+ 	echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
+ 	exit 0 ;;
+     *:Darwin:*:*)
+-	echo `uname -p`-apple-darwin${UNAME_RELEASE}
++	case `uname -p` in
++	    *86) UNAME_PROCESSOR=i686 ;;
++	    powerpc) UNAME_PROCESSOR=powerpc ;;
++	esac
++	echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
+ 	exit 0 ;;
+     *:procnto*:*:* | *:QNX:[0123456789]*:*)
+ 	UNAME_PROCESSOR=`uname -p`
+@@ -1069,7 +1164,7 @@
+     *:QNX:*:4*)
+ 	echo i386-pc-qnx
+ 	exit 0 ;;
+-    NSR-[GKLNPTVW]:NONSTOP_KERNEL:*:*)
++    NSR-[DGKLNPTVW]:NONSTOP_KERNEL:*:*)
+ 	echo nsr-tandem-nsk${UNAME_RELEASE}
+ 	exit 0 ;;
+     *:NonStop-UX:*:*)
+@@ -1092,11 +1187,6 @@
+ 	fi
+ 	echo ${UNAME_MACHINE}-unknown-plan9
+ 	exit 0 ;;
+-    i*86:OS/2:*:*)
+-	# If we were able to find `uname', then EMX Unix compatibility
+-	# is probably installed.
+-	echo ${UNAME_MACHINE}-pc-os2-emx
+-	exit 0 ;;
+     *:TOPS-10:*:*)
+ 	echo pdp10-unknown-tops10
+ 	exit 0 ;;
+@@ -1115,11 +1205,8 @@
+     *:ITS:*:*)
+ 	echo pdp10-unknown-its
+ 	exit 0 ;;
+-    i*86:XTS-300:*:STOP)
+-	echo ${UNAME_MACHINE}-unknown-stop
+-	exit 0 ;;
+-    i*86:atheos:*:*)
+-	echo ${UNAME_MACHINE}-unknown-atheos
++    SEI:*:*:SEIUX)
++        echo mips-sei-seiux${UNAME_RELEASE}
+ 	exit 0 ;;
+ esac
+ 
+@@ -1241,8 +1328,7 @@
+ }
+ EOF
+ 
+-$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy && rm -f $dummy.c $dummy && exit 0
+-rm -f $dummy.c $dummy
++$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && $dummy && exit 0
+ 
+ # Apollos put the system type in the environment.
+ 
+diff -ruN heimdal-0.6-old/config.sub heimdal-0.6/config.sub
+--- heimdal-0.6-old/config.sub	2003-05-12 17:27:34.000000000 +0200
++++ heimdal-0.6/config.sub	2003-09-15 17:09:37.000000000 +0200
+@@ -1,9 +1,9 @@
+ #! /bin/sh
+ # Configuration validation subroutine script.
+ #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
+-#   2000, 2001, 2002 Free Software Foundation, Inc.
++#   2000, 2001, 2002, 2003 Free Software Foundation, Inc.
+ 
+-timestamp='2002-03-07'
++timestamp='2003-07-17'
+ 
+ # This file is (in principle) common to ALL GNU software.
+ # The presence of a machine in this file suggests that SOME GNU software
+@@ -118,7 +118,7 @@
+ # Here we must recognize all the valid KERNEL-OS combinations.
+ maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
+ case $maybe_os in
+-  nto-qnx* | linux-gnu* | storm-chaos* | os2-emx* | windows32-* | rtmk-nova*)
++  nto-qnx* | linux-gnu* | kfreebsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
+     os=-$maybe_os
+     basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
+     ;;
+@@ -228,28 +228,41 @@
+ 	| a29k \
+ 	| alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
+ 	| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
++	| am33_2.0 \
+ 	| arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
+ 	| c4x | clipper \
+-	| d10v | d30v | dsp16xx \
+-	| fr30 \
++	| d10v | d30v | dlx | dsp16xx \
++	| fr30 | frv \
+ 	| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
+ 	| i370 | i860 | i960 | ia64 \
++	| ip2k | iq2000 \
+ 	| m32r | m68000 | m68k | m88k | mcore \
+-	| mips | mips16 | mips64 | mips64el | mips64orion | mips64orionel \
+-	| mips64vr4100 | mips64vr4100el | mips64vr4300 \
+-	| mips64vr4300el | mips64vr5000 | mips64vr5000el \
+-	| mipsbe | mipseb | mipsel | mipsle | mipstx39 | mipstx39el \
+-	| mipsisa32 | mipsisa64 \
++	| mips | mipsbe | mipseb | mipsel | mipsle \
++	| mips16 \
++	| mips64 | mips64el \
++	| mips64vr | mips64vrel \
++	| mips64orion | mips64orionel \
++	| mips64vr4100 | mips64vr4100el \
++	| mips64vr4300 | mips64vr4300el \
++	| mips64vr5000 | mips64vr5000el \
++	| mipsisa32 | mipsisa32el \
++	| mipsisa32r2 | mipsisa32r2el \
++	| mipsisa64 | mipsisa64el \
++	| mipsisa64sb1 | mipsisa64sb1el \
++	| mipsisa64sr71k | mipsisa64sr71kel \
++	| mipstx39 | mipstx39el \
+ 	| mn10200 | mn10300 \
++	| msp430 \
+ 	| ns16k | ns32k \
+ 	| openrisc | or32 \
+ 	| pdp10 | pdp11 | pj | pjl \
+ 	| powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
+ 	| pyramid \
+-	| sh | sh[34] | sh[34]eb | shbe | shle | sh64 \
++	| sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
++	| sh64 | sh64le \
+ 	| sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \
+ 	| strongarm \
+-	| tahoe | thumb | tic80 | tron \
++	| tahoe | thumb | tic4x | tic80 | tron \
+ 	| v850 | v850e \
+ 	| we32k \
+ 	| x86 | xscale | xstormy16 | xtensa \
+@@ -281,34 +294,49 @@
+ 	| alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
+ 	| alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
+ 	| alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
+-	| arm-*  | armbe-* | armle-* | armv*-* \
++	| arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
+ 	| avr-* \
+ 	| bs2000-* \
+-	| c[123]* | c30-* | [cjt]90-* | c54x-* \
++	| c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
+ 	| clipper-* | cydra-* \
+-	| d10v-* | d30v-* \
++	| d10v-* | d30v-* | dlx-* \
+ 	| elxsi-* \
+-	| f30[01]-* | f700-* | fr30-* | fx80-* \
++	| f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
+ 	| h8300-* | h8500-* \
+ 	| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
+ 	| i*86-* | i860-* | i960-* | ia64-* \
++	| ip2k-* | iq2000-* \
+ 	| m32r-* \
+ 	| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
+ 	| m88110-* | m88k-* | mcore-* \
+-	| mips-* | mips16-* | mips64-* | mips64el-* | mips64orion-* \
+-	| mips64orionel-* | mips64vr4100-* | mips64vr4100el-* \
+-	| mips64vr4300-* | mips64vr4300el-* | mipsbe-* | mipseb-* \
+-	| mipsle-* | mipsel-* | mipstx39-* | mipstx39el-* \
+-	| none-* | np1-* | ns16k-* | ns32k-* \
++	| mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
++	| mips16-* \
++	| mips64-* | mips64el-* \
++	| mips64vr-* | mips64vrel-* \
++	| mips64orion-* | mips64orionel-* \
++	| mips64vr4100-* | mips64vr4100el-* \
++	| mips64vr4300-* | mips64vr4300el-* \
++	| mips64vr5000-* | mips64vr5000el-* \
++	| mipsisa32-* | mipsisa32el-* \
++	| mipsisa32r2-* | mipsisa32r2el-* \
++	| mipsisa64-* | mipsisa64el-* \
++	| mipsisa64sb1-* | mipsisa64sb1el-* \
++	| mipsisa64sr71k-* | mipsisa64sr71kel-* \
++	| mipstx39-* | mipstx39el-* \
++	| msp430-* \
++	| none-* | np1-* | nv1-* | ns16k-* | ns32k-* \
+ 	| orion-* \
+ 	| pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
+ 	| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
+ 	| pyramid-* \
+ 	| romp-* | rs6000-* \
+-	| sh-* | sh[34]-* | sh[34]eb-* | shbe-* | shle-* | sh64-* \
++	| sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \
++	| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
+ 	| sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
+ 	| sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
+-	| tahoe-* | thumb-* | tic30-* | tic54x-* | tic80-* | tron-* \
++	| tahoe-* | thumb-* \
++	| tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
++	| tron-* \
+ 	| v850-* | v850e-* | vax-* \
+ 	| we32k-* \
+ 	| x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \
+@@ -346,6 +374,9 @@
+ 		basic_machine=a29k-none
+ 		os=-bsd
+ 		;;
++	amd64)
++		basic_machine=x86_64-pc
++		;;
+ 	amdahl)
+ 		basic_machine=580-amdahl
+ 		os=-sysv
+@@ -695,6 +726,10 @@
+ 	np1)
+ 		basic_machine=np1-gould
+ 		;;
++	nv1)
++		basic_machine=nv1-cray
++		os=-unicosmp
++		;;
+ 	nsr-tandem)
+ 		basic_machine=nsr-tandem
+ 		;;
+@@ -728,49 +763,55 @@
+ 	pbb)
+ 		basic_machine=m68k-tti
+ 		;;
+-        pc532 | pc532-*)
++	pc532 | pc532-*)
+ 		basic_machine=ns32k-pc532
+ 		;;
+ 	pentium | p5 | k5 | k6 | nexgen | viac3)
+ 		basic_machine=i586-pc
+ 		;;
+-	pentiumpro | p6 | 6x86 | athlon)
++	pentiumpro | p6 | 6x86 | athlon | athlon_*)
+ 		basic_machine=i686-pc
+ 		;;
+-	pentiumii | pentium2)
++	pentiumii | pentium2 | pentiumiii | pentium3)
+ 		basic_machine=i686-pc
+ 		;;
++	pentium4)
++		basic_machine=i786-pc
++		;;
+ 	pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
+ 		basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
+ 		;;
+ 	pentiumpro-* | p6-* | 6x86-* | athlon-*)
+ 		basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
+ 		;;
+-	pentiumii-* | pentium2-*)
++	pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
+ 		basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
+ 		;;
++	pentium4-*)
++		basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
++		;;
+ 	pn)
+ 		basic_machine=pn-gould
+ 		;;
+ 	power)	basic_machine=power-ibm
+ 		;;
+ 	ppc)	basic_machine=powerpc-unknown
+-	        ;;
++		;;
+ 	ppc-*)	basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
+ 		;;
+ 	ppcle | powerpclittle | ppc-le | powerpc-little)
+ 		basic_machine=powerpcle-unknown
+-	        ;;
++		;;
+ 	ppcle-* | powerpclittle-*)
+ 		basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
+ 		;;
+ 	ppc64)	basic_machine=powerpc64-unknown
+-	        ;;
++		;;
+ 	ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
+ 		;;
+ 	ppc64le | powerpc64little | ppc64-le | powerpc64-little)
+ 		basic_machine=powerpc64le-unknown
+-	        ;;
++		;;
+ 	ppc64le-* | powerpc64little-*)
+ 		basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
+ 		;;
+@@ -801,6 +842,16 @@
+ 		basic_machine=a29k-amd
+ 		os=-udi
+ 		;;
++	sb1)
++		basic_machine=mipsisa64sb1-unknown
++		;;
++	sb1el)
++		basic_machine=mipsisa64sb1el-unknown
++		;;
++	sei)
++		basic_machine=mips-sei
++		os=-seiux
++		;;
+ 	sequent)
+ 		basic_machine=i386-sequent
+ 		;;
+@@ -808,6 +859,9 @@
+ 		basic_machine=sh-hitachi
+ 		os=-hms
+ 		;;
++	sh64)
++		basic_machine=sh64-unknown
++		;;
+ 	sparclite-wrs | simso-wrs)
+ 		basic_machine=sparclite-wrs
+ 		os=-vxworks
+@@ -866,7 +920,7 @@
+ 	sun386 | sun386i | roadrunner)
+ 		basic_machine=i386-sun
+ 		;;
+-        sv1)
++	sv1)
+ 		basic_machine=sv1-cray
+ 		os=-unicos
+ 		;;
+@@ -874,10 +928,6 @@
+ 		basic_machine=i386-sequent
+ 		os=-dynix
+ 		;;
+-	t3d)
+-		basic_machine=alpha-cray
+-		os=-unicos
+-		;;
+ 	t3e)
+ 		basic_machine=alphaev5-cray
+ 		os=-unicos
+@@ -890,6 +940,14 @@
+ 		basic_machine=tic54x-unknown
+ 		os=-coff
+ 		;;
++	tic55x | c55x*)
++		basic_machine=tic55x-unknown
++		os=-coff
++		;;
++	tic6x | c6x*)
++		basic_machine=tic6x-unknown
++		os=-coff
++		;;
+ 	tx39)
+ 		basic_machine=mipstx39-unknown
+ 		;;
+@@ -924,8 +982,8 @@
+ 		os=-vms
+ 		;;
+ 	vpp*|vx|vx-*)
+-               basic_machine=f301-fujitsu
+-               ;;
++		basic_machine=f301-fujitsu
++		;;
+ 	vxworks960)
+ 		basic_machine=i960-wrs
+ 		os=-vxworks
+@@ -946,11 +1004,7 @@
+ 		basic_machine=hppa1.1-winbond
+ 		os=-proelf
+ 		;;
+-	windows32)
+-		basic_machine=i386-pc
+-		os=-windows32-msvcrt
+-		;;
+-        xps | xps100)
++	xps | xps100)
+ 		basic_machine=xps100-honeywell
+ 		;;
+ 	ymp)
+@@ -996,7 +1050,7 @@
+ 	we32k)
+ 		basic_machine=we32k-att
+ 		;;
+-	sh3 | sh4 | sh3eb | sh4eb)
++	sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele)
+ 		basic_machine=sh-unknown
+ 		;;
+ 	sh64)
+@@ -1005,7 +1059,7 @@
+ 	sparc | sparcv9 | sparcv9b)
+ 		basic_machine=sparc-sun
+ 		;;
+-        cydra)
++	cydra)
+ 		basic_machine=cydra-cydrome
+ 		;;
+ 	orion)
+@@ -1020,10 +1074,6 @@
+ 	pmac | pmac-mpw)
+ 		basic_machine=powerpc-apple
+ 		;;
+-	c4x*)
+-		basic_machine=c4x-none
+-		os=-coff
+-		;;
+ 	*-unknown)
+ 		# Make sure to match an already-canonicalized machine name.
+ 		;;
+@@ -1079,18 +1129,19 @@
+ 	      | -aos* \
+ 	      | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
+ 	      | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
+-	      | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \
++	      | -hiux* | -386bsd* | -netbsd* | -openbsd* | -kfreebsd* | -freebsd* | -riscix* \
+ 	      | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
+ 	      | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
+ 	      | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
+ 	      | -chorusos* | -chorusrdb* \
+ 	      | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
+ 	      | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
+-	      | -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \
++	      | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
+ 	      | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
+ 	      | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
+ 	      | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
+-	      | -morphos* | -superux* | -rtmk* | -rtmk-nova*)
++	      | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
++	      | -powermax* | -dnix* | -nx6 | -nx7 | -sei*)
+ 	# Remember, each alternative MUST END IN *, to match a version number.
+ 		;;
+ 	-qnx*)
+@@ -1102,8 +1153,10 @@
+ 			;;
+ 		esac
+ 		;;
++	-nto-qnx*)
++		;;
+ 	-nto*)
+-		os=-nto-qnx
++		os=`echo $os | sed -e 's|nto|nto-qnx|'`
+ 		;;
+ 	-sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
+ 	      | -windows* | -osx | -abug | -netware* | -os9* | -beos* \
+@@ -1155,7 +1208,7 @@
+ 		os=-rtmk-nova
+ 		;;
+ 	-ns2 )
+-	        os=-nextstep2
++		os=-nextstep2
+ 		;;
+ 	-nsk*)
+ 		os=-nsk
+@@ -1194,8 +1247,14 @@
+ 	-xenix)
+ 		os=-xenix
+ 		;;
+-        -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
+-	        os=-mint
++	-*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
++		os=-mint
++		;;
++	-aros*)
++		os=-aros
++		;;
++	-kaos*)
++		os=-kaos
+ 		;;
+ 	-none)
+ 		;;
+@@ -1228,11 +1287,14 @@
+ 	arm*-semi)
+ 		os=-aout
+ 		;;
++    c4x-* | tic4x-*)
++        os=-coff
++        ;;
+ 	# This must come before the *-dec entry.
+ 	pdp10-*)
+ 		os=-tops20
+ 		;;
+-        pdp11-*)
++	pdp11-*)
+ 		os=-none
+ 		;;
+ 	*-dec | vax-*)
+@@ -1325,19 +1387,19 @@
+ 	*-next)
+ 		os=-nextstep3
+ 		;;
+-        *-gould)
++	*-gould)
+ 		os=-sysv
+ 		;;
+-        *-highlevel)
++	*-highlevel)
+ 		os=-bsd
+ 		;;
+ 	*-encore)
+ 		os=-bsd
+ 		;;
+-        *-sgi)
++	*-sgi)
+ 		os=-irix
+ 		;;
+-        *-siemens)
++	*-siemens)
+ 		os=-sysv4
+ 		;;
+ 	*-masscomp)
+@@ -1409,7 +1471,7 @@
+ 			-ptx*)
+ 				vendor=sequent
+ 				;;
+-			-vxsim* | -vxworks*)
++			-vxsim* | -vxworks* | -windiss*)
+ 				vendor=wrs
+ 				;;
+ 			-aux*)
+diff -ruN heimdal-0.6-old/configure heimdal-0.6/configure
+--- heimdal-0.6-old/configure	2003-05-12 17:28:20.000000000 +0200
++++ heimdal-0.6/configure	2003-09-15 17:09:07.000000000 +0200
+@@ -1,7 +1,7 @@
+ #! /bin/sh
+ # From configure.in Revision: 1.331.2.2 .
+ # Guess values for system-dependent variables and create Makefiles.
+-# Generated by GNU Autoconf 2.53 for Heimdal 0.6.
++# Generated by GNU Autoconf 2.57 for Heimdal 0.6.
+ #
+ # Report bugs to <heimdal-bugs@pdc.kth.se>.
+ #
+@@ -9,173 +9,6 @@
+ # Free Software Foundation, Inc.
+ # This configure script is free software; the Free Software Foundation
+ # gives unlimited permission to copy, distribute and modify it.
+-
+-# Find the correct PATH separator.  Usually this is `:', but
+-# DJGPP uses `;' like DOS.
+-if test "X${PATH_SEPARATOR+set}" != Xset; then
+-  UNAME=${UNAME-`uname 2>/dev/null`}
+-  case X$UNAME in
+-    *-DOS) lt_cv_sys_path_separator=';' ;;
+-    *)     lt_cv_sys_path_separator=':' ;;
+-  esac
+-  PATH_SEPARATOR=$lt_cv_sys_path_separator
+-fi
+-
+-
+-# Check that we are running under the correct shell.
+-SHELL=${CONFIG_SHELL-/bin/sh}
+-
+-case X$ECHO in
+-X*--fallback-echo)
+-  # Remove one level of quotation (which was required for Make).
+-  ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
+-  ;;
+-esac
+-
+-echo=${ECHO-echo}
+-if test "X$1" = X--no-reexec; then
+-  # Discard the --no-reexec flag, and continue.
+-  shift
+-elif test "X$1" = X--fallback-echo; then
+-  # Avoid inline document here, it may be left over
+-  :
+-elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
+-  # Yippee, $echo works!
+-  :
+-else
+-  # Restart under the correct shell.
+-  exec $SHELL "$0" --no-reexec ${1+"$@"}
+-fi
+-
+-if test "X$1" = X--fallback-echo; then
+-  # used as fallback echo
+-  shift
+-  cat <<EOF
+-
+-EOF
+-  exit 0
+-fi
+-
+-# The HP-UX ksh and POSIX shell print the target directory to stdout
+-# if CDPATH is set.
+-if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
+-
+-if test -z "$ECHO"; then
+-if test "X${echo_test_string+set}" != Xset; then
+-# find a string as large as possible, as long as the shell can cope with it
+-  for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
+-    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
+-    if (echo_test_string="`eval $cmd`") 2>/dev/null &&
+-       echo_test_string="`eval $cmd`" &&
+-       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
+-    then
+-      break
+-    fi
+-  done
+-fi
+-
+-if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
+-   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
+-   test "X$echo_testing_string" = "X$echo_test_string"; then
+-  :
+-else
+-  # The Solaris, AIX, and Digital Unix default echo programs unquote
+-  # backslashes.  This makes it impossible to quote backslashes using
+-  #   echo "$something" | sed 's/\\/\\\\/g'
+-  #
+-  # So, first we look for a working echo in the user's PATH.
+-
+-  IFS="${IFS= 	}"; save_ifs="$IFS"; IFS=$PATH_SEPARATOR
+-  for dir in $PATH /usr/ucb; do
+-    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
+-       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
+-       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
+-       test "X$echo_testing_string" = "X$echo_test_string"; then
+-      echo="$dir/echo"
+-      break
+-    fi
+-  done
+-  IFS="$save_ifs"
+-
+-  if test "X$echo" = Xecho; then
+-    # We didn't find a better echo, so look for alternatives.
+-    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
+-       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
+-       test "X$echo_testing_string" = "X$echo_test_string"; then
+-      # This shell has a builtin print -r that does the trick.
+-      echo='print -r'
+-    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
+-	 test "X$CONFIG_SHELL" != X/bin/ksh; then
+-      # If we have ksh, try running configure again with it.
+-      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
+-      export ORIGINAL_CONFIG_SHELL
+-      CONFIG_SHELL=/bin/ksh
+-      export CONFIG_SHELL
+-      exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
+-    else
+-      # Try using printf.
+-      echo='printf %s\n'
+-      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
+-	 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
+-	 test "X$echo_testing_string" = "X$echo_test_string"; then
+-	# Cool, printf works
+-	:
+-      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
+-	   test "X$echo_testing_string" = 'X\t' &&
+-	   echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
+-	   test "X$echo_testing_string" = "X$echo_test_string"; then
+-	CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
+-	export CONFIG_SHELL
+-	SHELL="$CONFIG_SHELL"
+-	export SHELL
+-	echo="$CONFIG_SHELL $0 --fallback-echo"
+-      elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
+-	   test "X$echo_testing_string" = 'X\t' &&
+-	   echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
+-	   test "X$echo_testing_string" = "X$echo_test_string"; then
+-	echo="$CONFIG_SHELL $0 --fallback-echo"
+-      else
+-	# maybe with a smaller string...
+-	prev=:
+-
+-	for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
+-	  if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
+-	  then
+-	    break
+-	  fi
+-	  prev="$cmd"
+-	done
+-
+-	if test "$prev" != 'sed 50q "$0"'; then
+-	  echo_test_string=`eval $prev`
+-	  export echo_test_string
+-	  exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
+-	else
+-	  # Oops.  We lost completely, so just stick with echo.
+-	  echo=echo
+-	fi
+-      fi
+-    fi
+-  fi
+-fi
+-fi
+-
+-# Copy echo and quote the copy suitably for passing to libtool from
+-# the Makefile, instead of quoting the original, which is used later.
+-ECHO=$echo
+-if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
+-   ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
+-fi
+-
+-
+-
+-if expr a : '\(a\)' >/dev/null 2>&1; then
+-  as_expr=expr
+-else
+-  as_expr=false
+-fi
+-
+-
+ ## --------------------- ##
+ ## M4sh Initialization.  ##
+ ## --------------------- ##
+@@ -184,11 +17,13 @@
+ if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
+   emulate sh
+   NULLCMD=:
++  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
++  # is contrary to our usage.  Disable this feature.
++  alias -g '${1+"$@"}'='"$@"'
+ elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
+   set -o posix
+ fi
+ 
+-# NLS nuisances.
+ # Support unset when possible.
+ if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
+   as_unset=unset
+@@ -196,34 +31,42 @@
+   as_unset=false
+ fi
+ 
+-(set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
+-    { $as_unset LANG || test "${LANG+set}" != set; } ||
+-      { LANG=C; export LANG; }
+-(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
+-    { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
+-      { LC_ALL=C; export LC_ALL; }
+-(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
+-    { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
+-      { LC_TIME=C; export LC_TIME; }
+-(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
+-    { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
+-      { LC_CTYPE=C; export LC_CTYPE; }
+-(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
+-    { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
+-      { LANGUAGE=C; export LANGUAGE; }
+-(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
+-    { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
+-      { LC_COLLATE=C; export LC_COLLATE; }
+-(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
+-    { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
+-      { LC_NUMERIC=C; export LC_NUMERIC; }
+-(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
+-    { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
+-      { LC_MESSAGES=C; export LC_MESSAGES; }
++
++# Work around bugs in pre-3.0 UWIN ksh.
++$as_unset ENV MAIL MAILPATH
++PS1='$ '
++PS2='> '
++PS4='+ '
++
++# NLS nuisances.
++for as_var in \
++  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
++  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
++  LC_TELEPHONE LC_TIME
++do
++  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
++    eval $as_var=C; export $as_var
++  else
++    $as_unset $as_var
++  fi
++done
++
++# Required to use basename.
++if expr a : '\(a\)' >/dev/null 2>&1; then
++  as_expr=expr
++else
++  as_expr=false
++fi
++
++if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
++  as_basename=basename
++else
++  as_basename=false
++fi
+ 
+ 
+ # Name of the executable.
+-as_me=`(basename "$0") 2>/dev/null ||
++as_me=`$as_basename "$0" ||
+ $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
+ 	 X"$0" : 'X\(//\)$' \| \
+ 	 X"$0" : 'X\(/\)$' \| \
+@@ -234,6 +77,7 @@
+   	  /^X\/\(\/\).*/{ s//\1/; q; }
+   	  s/.*/./; q'`
+ 
++
+ # PATH needs CR, and LINENO needs CR and PATH.
+ # Avoid depending upon Character Ranges.
+ as_cr_letters='abcdefghijklmnopqrstuvwxyz'
+@@ -244,15 +88,15 @@
+ 
+ # The user is always right.
+ if test "${PATH_SEPARATOR+set}" != set; then
+-  echo "#! /bin/sh" >conftest.sh
+-  echo  "exit 0"   >>conftest.sh
+-  chmod +x conftest.sh
+-  if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
++  echo "#! /bin/sh" >conf$$.sh
++  echo  "exit 0"   >>conf$$.sh
++  chmod +x conf$$.sh
++  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
+     PATH_SEPARATOR=';'
+   else
+     PATH_SEPARATOR=:
+   fi
+-  rm -f conftest.sh
++  rm -f conf$$.sh
+ fi
+ 
+ 
+@@ -300,6 +144,8 @@
+   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
+   test "x$as_lineno_1" != "x$as_lineno_2" &&
+   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
++	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
++	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
+ 	     CONFIG_SHELL=$as_dir/$as_base
+ 	     export CONFIG_SHELL
+ 	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
+@@ -372,6 +218,12 @@
+ fi
+ rm -f conf$$ conf$$.exe conf$$.file
+ 
++if mkdir -p . 2>/dev/null; then
++  as_mkdir_p=:
++else
++  as_mkdir_p=false
++fi
++
+ as_executable_p="test -f"
+ 
+ # Sed expression to map a string onto a valid CPP name.
+@@ -388,9 +240,163 @@
+ IFS=" 	$as_nl"
+ 
+ # CDPATH.
+-$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
++$as_unset CDPATH
++
++
++
++# Check that we are running under the correct shell.
++SHELL=${CONFIG_SHELL-/bin/sh}
++
++case X$ECHO in
++X*--fallback-echo)
++  # Remove one level of quotation (which was required for Make).
++  ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
++  ;;
++esac
++
++echo=${ECHO-echo}
++if test "X$1" = X--no-reexec; then
++  # Discard the --no-reexec flag, and continue.
++  shift
++elif test "X$1" = X--fallback-echo; then
++  # Avoid inline document here, it may be left over
++  :
++elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
++  # Yippee, $echo works!
++  :
++else
++  # Restart under the correct shell.
++  exec $SHELL "$0" --no-reexec ${1+"$@"}
++fi
++
++if test "X$1" = X--fallback-echo; then
++  # used as fallback echo
++  shift
++  cat <<EOF
++$*
++EOF
++  exit 0
++fi
++
++# The HP-UX ksh and POSIX shell print the target directory to stdout
++# if CDPATH is set.
++if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
++
++if test -z "$ECHO"; then
++if test "X${echo_test_string+set}" != Xset; then
++# find a string as large as possible, as long as the shell can cope with it
++  for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
++    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
++    if (echo_test_string="`eval $cmd`") 2>/dev/null &&
++       echo_test_string="`eval $cmd`" &&
++       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
++    then
++      break
++    fi
++  done
++fi
++
++if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
++   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
++   test "X$echo_testing_string" = "X$echo_test_string"; then
++  :
++else
++  # The Solaris, AIX, and Digital Unix default echo programs unquote
++  # backslashes.  This makes it impossible to quote backslashes using
++  #   echo "$something" | sed 's/\\/\\\\/g'
++  #
++  # So, first we look for a working echo in the user's PATH.
++
++  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
++  for dir in $PATH /usr/ucb; do
++    IFS="$lt_save_ifs"
++    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
++       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
++       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
++       test "X$echo_testing_string" = "X$echo_test_string"; then
++      echo="$dir/echo"
++      break
++    fi
++  done
++  IFS="$lt_save_ifs"
++
++  if test "X$echo" = Xecho; then
++    # We didn't find a better echo, so look for alternatives.
++    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
++       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
++       test "X$echo_testing_string" = "X$echo_test_string"; then
++      # This shell has a builtin print -r that does the trick.
++      echo='print -r'
++    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
++	 test "X$CONFIG_SHELL" != X/bin/ksh; then
++      # If we have ksh, try running configure again with it.
++      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
++      export ORIGINAL_CONFIG_SHELL
++      CONFIG_SHELL=/bin/ksh
++      export CONFIG_SHELL
++      exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
++    else
++      # Try using printf.
++      echo='printf %s\n'
++      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
++	 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
++	 test "X$echo_testing_string" = "X$echo_test_string"; then
++	# Cool, printf works
++	:
++      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
++	   test "X$echo_testing_string" = 'X\t' &&
++	   echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
++	   test "X$echo_testing_string" = "X$echo_test_string"; then
++	CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
++	export CONFIG_SHELL
++	SHELL="$CONFIG_SHELL"
++	export SHELL
++	echo="$CONFIG_SHELL $0 --fallback-echo"
++      elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
++	   test "X$echo_testing_string" = 'X\t' &&
++	   echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
++	   test "X$echo_testing_string" = "X$echo_test_string"; then
++	echo="$CONFIG_SHELL $0 --fallback-echo"
++      else
++	# maybe with a smaller string...
++	prev=:
++
++	for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
++	  if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
++	  then
++	    break
++	  fi
++	  prev="$cmd"
++	done
++
++	if test "$prev" != 'sed 50q "$0"'; then
++	  echo_test_string=`eval $prev`
++	  export echo_test_string
++	  exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
++	else
++	  # Oops.  We lost completely, so just stick with echo.
++	  echo=echo
++	fi
++      fi
++    fi
++  fi
++fi
++fi
++
++# Copy echo and quote the copy suitably for passing to libtool from
++# the Makefile, instead of quoting the original, which is used later.
++ECHO=$echo
++if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
++   ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
++fi
+ 
+ 
++
++
++tagnames=${tagnames+${tagnames},}CXX
++
++tagnames=${tagnames+${tagnames},}F77
++
+ # Name of the host.
+ # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
+ # so uname gets run too.
+@@ -402,6 +408,7 @@
+ # Initializations.
+ #
+ ac_default_prefix=/usr/local
++ac_config_libobj_dir=.
+ cross_compiling=no
+ subdirs=
+ MFLAGS=
+@@ -459,6 +466,8 @@
+ # include <unistd.h>
+ #endif"
+ 
++ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE build build_cpu build_vendor build_os host host_cpu host_vendor host_os CANONICAL_HOST YACC LEX LEXLIB LEX_OUTPUT_ROOT LN_S EGREP ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CXX CXXFLAGS ac_ct_CXX CXXDEPMODE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL WFLAGS WFLAGS_NOUNUSED WFLAGS_NOIMPLICITINT DIR_openldap INCLUDE_openldap LIB_openldap DIR_krb4 INCLUDE_krb4 LIB_krb4 EXTRA_LIB45 LIB_krb_enable_debug LIB_krb_disable_debug LIB_krb_get_our_ip_for_realm LIB_krb_kdctimeofday LIB_krb_get_kdc_time_diff KRB4_TRUE KRB4_FALSE KRB5_TRUE KRB5_FALSE do_roken_rename_TRUE do_roken_rename_FALSE LIB_kdb HAVE_OPENSSL_TRUE HAVE_OPENSSL_FALSE DIR_des INCLUDE_des LIB_des LIB_des_a LIB_des_so LIB_des_appl DCE_TRUE DCE_FALSE dpagaix_cflags dpagaix_ldadd dpagaix_ldflags LIB_db_create LIB_dbopen LIB_dbm_firstkey HAVE_DB1_TRUE HAVE_DB1_FALSE HAVE_DB3_TRUE HAVE_DB3_FALSE HAVE_NDBM_TRUE HAVE_NDBM_FALSE DBLIB LIB_NDBM LIB_crypt LIB_roken DIR_roken CPPFLAGS_roken VOID_RETSIGTYPE have_err_h_TRUE have_err_h_FALSE have_fnmatch_h_TRUE have_fnmatch_h_FALSE have_ifaddrs_h_TRUE have_ifaddrs_h_FALSE have_vis_h_TRUE have_vis_h_FALSE LIB_socket LIB_gethostbyname LIB_syslog LIB_gethostbyname2 LIB_res_search LIB_res_nsearch LIB_dn_expand LIBOBJS have_glob_h_TRUE have_glob_h_FALSE LIB_getsockopt LIB_setsockopt LIB_hstrerror LIB_bswap16 LIB_bswap32 LIB_pidfile LIB_getaddrinfo LIB_getnameinfo LIB_freeaddrinfo LIB_gai_strerror OTP_TRUE OTP_FALSE LIB_security NROFF GROFF CATMAN CATMAN_TRUE CATMAN_FALSE CATMANEXT DIR_readline INCLUDE_readline LIB_readline DIR_hesiod INCLUDE_hesiod LIB_hesiod DIR_sl INCLUDE_sl LIB_sl DIR_ss INCLUDE_ss LIB_ss DIR_otp INCLUDE_otp LIB_otp AIX_TRUE AIX_FALSE AIX4_TRUE AIX4_FALSE LIB_dlopen HAVE_DLOPEN_TRUE HAVE_DLOPEN_FALSE LIB_loadquery AIX_DYNAMIC_AFS_TRUE AIX_DYNAMIC_AFS_FALSE AIX_EXTRA_KAFS IRIX_TRUE IRIX_FALSE X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS HAVE_X_TRUE HAVE_X_FALSE LIB_XauWriteAuth LIB_XauReadAuth LIB_XauFileName NEED_WRITEAUTH_TRUE NEED_WRITEAUTH_FALSE LIB_logwtmp LIB_logout LIB_openpty LIB_tgetent LIB_getpwnam_r LIB_el_init el_compat_TRUE el_compat_FALSE COMPILE_ET DIR_com_err LIB_com_err LIB_com_err_a LIB_com_err_so LIB_AUTH_SUBDIRS LTLIBOBJS'
++ac_subst_files=''
+ 
+ # Initialize some variables set by options.
+ ac_init_help=
+@@ -882,6 +891,9 @@
+    { (exit 1); exit 1; }; }
+   fi
+ fi
++(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
++  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
++   { (exit 1); exit 1; }; }
+ srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
+ ac_env_build_alias_set=${build_alias+set}
+ ac_env_build_alias_value=$build_alias
+@@ -915,6 +927,26 @@
+ ac_env_CPP_value=$CPP
+ ac_cv_env_CPP_set=${CPP+set}
+ ac_cv_env_CPP_value=$CPP
++ac_env_CXX_set=${CXX+set}
++ac_env_CXX_value=$CXX
++ac_cv_env_CXX_set=${CXX+set}
++ac_cv_env_CXX_value=$CXX
++ac_env_CXXFLAGS_set=${CXXFLAGS+set}
++ac_env_CXXFLAGS_value=$CXXFLAGS
++ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
++ac_cv_env_CXXFLAGS_value=$CXXFLAGS
++ac_env_CXXCPP_set=${CXXCPP+set}
++ac_env_CXXCPP_value=$CXXCPP
++ac_cv_env_CXXCPP_set=${CXXCPP+set}
++ac_cv_env_CXXCPP_value=$CXXCPP
++ac_env_F77_set=${F77+set}
++ac_env_F77_value=$F77
++ac_cv_env_F77_set=${F77+set}
++ac_cv_env_F77_value=$F77
++ac_env_FFLAGS_set=${FFLAGS+set}
++ac_env_FFLAGS_value=$FFLAGS
++ac_cv_env_FFLAGS_set=${FFLAGS+set}
++ac_cv_env_FFLAGS_value=$FFLAGS
+ 
+ #
+ # Report the --help message.
+@@ -1000,14 +1032,17 @@
+ Optional Features:
+   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
+   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
+-  --disable-dependency-tracking Speeds up one-time builds
+-  --enable-dependency-tracking  Do not reject slow dependency extractors
+   --enable-maintainer-mode enable make rules and dependencies not useful
+                           (and sometimes confusing) to the casual installer
++  --disable-dependency-tracking Speeds up one-time builds
++  --enable-dependency-tracking  Do not reject slow dependency extractors
+   --disable-largefile     omit support for large files
+-  --enable-shared=PKGS  build shared libraries default=no
+-  --enable-static=PKGS  build static libraries default=yes
+-  --enable-fast-install=PKGS  optimize for fast installation default=yes
++  --enable-shared[=PKGS]
++                          build shared libraries [default=no]
++  --enable-static[=PKGS]
++                          build static libraries [default=yes]
++  --enable-fast-install[=PKGS]
++                          optimize for fast installation [default=yes]
+   --disable-libtool-lock  avoid locking (might break parallel builds)
+   --enable-dce            if you want support for DCE/DFS PAG's
+   --disable-berkeley-db   if you don't want berkeley db
+@@ -1023,8 +1058,11 @@
+   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
+   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
+   --with-mips-abi=abi     ABI to use for IRIX (32, n32, or 64)
+-  --with-gnu-ld           assume the C compiler uses GNU ld default=no
+-  --with-pic              try to use only PIC/non-PIC objects default=use both
++  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
++  --with-pic              try to use only PIC/non-PIC objects [default=use
++                          both]
++  --with-tags[=TAGS]
++                          include additional configurations [automatic]
+   --with-openldap=dir     use openldap in dir
+   --with-openldap-lib=dir use openldap libraries in dir
+   --with-openldap-include=dir
+@@ -1039,6 +1077,7 @@
+   --with-openssl-lib=dir  use openssl libraries in dir
+   --with-openssl-include=dir
+                           use openssl headers in dir
++  --with-roken=dir        use the roken library in dir
+   --without-ipv6          do not enable IPv6 support
+   --with-readline=dir     use readline in dir
+   --with-readline-lib=dir use readline libraries in dir
+@@ -1052,6 +1091,18 @@
+                           use hesiod headers in dir
+   --with-hesiod-config=path
+                           config program for hesiod
++  --with-sl=dir           use sl in dir
++  --with-sl-lib=dir       use sl libraries in dir
++  --with-sl-include=dir   use sl headers in dir
++  --with-sl-config=path   config program for sl
++  --with-ss=dir           use ss in dir
++  --with-ss-lib=dir       use ss libraries in dir
++  --with-ss-include=dir   use ss headers in dir
++  --with-ss-config=path   config program for ss
++  --with-otp=dir          use otp in dir
++  --with-otp-lib=dir      use otp libraries in dir
++  --with-otp-include=dir  use otp headers in dir
++  --with-otp-config=path  config program for otp
+   --with-x                use the X Window System
+ 
+ Some influential environment variables:
+@@ -1062,6 +1113,11 @@
+   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
+               headers in a nonstandard directory <include dir>
+   CPP         C preprocessor
++  CXX         C++ compiler command
++  CXXFLAGS    C++ compiler flags
++  CXXCPP      C++ preprocessor
++  F77         Fortran 77 compiler command
++  FFLAGS      Fortran 77 compiler flags
+ 
+ Use these variables to override the choices made by `configure' or to help
+ it to find libraries and programs with nonstandard names/locations.
+@@ -1103,7 +1159,7 @@
+ # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
+ # absolute.
+ ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
+-ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
++ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
+ ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
+ ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
+ 
+@@ -1122,7 +1178,7 @@
+     else
+       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
+     fi
+-    cd $ac_popdir
++    cd "$ac_popdir"
+   done
+ fi
+ 
+@@ -1130,7 +1186,7 @@
+ if $ac_init_version; then
+   cat <<\_ACEOF
+ Heimdal configure 0.6
+-generated by GNU Autoconf 2.53
++generated by GNU Autoconf 2.57
+ 
+ Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
+ Free Software Foundation, Inc.
+@@ -1145,7 +1201,7 @@
+ running configure, to aid debugging if configure makes a mistake.
+ 
+ It was created by Heimdal $as_me 0.6, which was
+-generated by GNU Autoconf 2.53.  Invocation command line was
++generated by GNU Autoconf 2.57.  Invocation command line was
+ 
+   $ $0 $@
+ 
+@@ -1197,27 +1253,54 @@
+ 
+ # Keep a trace of the command line.
+ # Strip out --no-create and --no-recursion so they do not pile up.
++# Strip out --silent because we don't want to record it for future runs.
+ # Also quote any args containing shell meta-characters.
++# Make two passes to allow for proper duplicate-argument suppression.
+ ac_configure_args=
++ac_configure_args0=
++ac_configure_args1=
+ ac_sep=
+-for ac_arg
++ac_must_keep_next=false
++for ac_pass in 1 2
+ do
+-  case $ac_arg in
+-  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
+-  | --no-cr | --no-c | -n ) continue ;;
+-  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
+-  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
+-    continue ;;
+-  *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
+-    ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
+-  esac
+-  case " $ac_configure_args " in
+-    *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
+-    *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
+-       ac_sep=" " ;;
+-  esac
+-  # Get rid of the leading space.
++  for ac_arg
++  do
++    case $ac_arg in
++    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
++    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
++    | -silent | --silent | --silen | --sile | --sil)
++      continue ;;
++    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
++      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
++    esac
++    case $ac_pass in
++    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
++    2)
++      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
++      if test $ac_must_keep_next = true; then
++        ac_must_keep_next=false # Got value, back to normal.
++      else
++        case $ac_arg in
++          *=* | --config-cache | -C | -disable-* | --disable-* \
++          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
++          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
++          | -with-* | --with-* | -without-* | --without-* | --x)
++            case "$ac_configure_args0 " in
++              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
++            esac
++            ;;
++          -* ) ac_must_keep_next=true ;;
++        esac
++      fi
++      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
++      # Get rid of the leading space.
++      ac_sep=" "
++      ;;
++    esac
++  done
+ done
++$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
++$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
+ 
+ # When interrupted or exit'd, cleanup temporary files, and complete
+ # config.log.  We remove comments because anyway the quotes in there
+@@ -1228,6 +1311,7 @@
+   # Save into config.log some information that might help in debugging.
+   {
+     echo
++
+     cat <<\_ASBOX
+ ## ---------------- ##
+ ## Cache variables. ##
+@@ -1250,6 +1334,35 @@
+     esac;
+ }
+     echo
++
++    cat <<\_ASBOX
++## ----------------- ##
++## Output variables. ##
++## ----------------- ##
++_ASBOX
++    echo
++    for ac_var in $ac_subst_vars
++    do
++      eval ac_val=$`echo $ac_var`
++      echo "$ac_var='"'"'$ac_val'"'"'"
++    done | sort
++    echo
++
++    if test -n "$ac_subst_files"; then
++      cat <<\_ASBOX
++## ------------- ##
++## Output files. ##
++## ------------- ##
++_ASBOX
++      echo
++      for ac_var in $ac_subst_files
++      do
++	eval ac_val=$`echo $ac_var`
++        echo "$ac_var='"'"'$ac_val'"'"'"
++      done | sort
++      echo
++    fi
++
+     if test -s confdefs.h; then
+       cat <<\_ASBOX
+ ## ----------- ##
+@@ -1257,14 +1370,14 @@
+ ## ----------- ##
+ _ASBOX
+       echo
+-      sed "/^$/d" confdefs.h
++      sed "/^$/d" confdefs.h | sort
+       echo
+     fi
+     test "$ac_signal" != 0 &&
+       echo "$as_me: caught signal $ac_signal"
+     echo "$as_me: exit $exit_status"
+   } >&5
+-  rm -f core core.* *.core &&
++  rm -f core *.core &&
+   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
+     exit $exit_status
+      ' 0
+@@ -1423,9 +1536,34 @@
+ 
+ 
+ 
++echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
++echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
++    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
++if test "${enable_maintainer_mode+set}" = set; then
++  enableval="$enable_maintainer_mode"
++  USE_MAINTAINER_MODE=$enableval
++else
++  USE_MAINTAINER_MODE=no
++fi;
++  echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
++echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
++
++
++if test $USE_MAINTAINER_MODE = yes; then
++  MAINTAINER_MODE_TRUE=
++  MAINTAINER_MODE_FALSE='#'
++else
++  MAINTAINER_MODE_TRUE='#'
++  MAINTAINER_MODE_FALSE=
++fi
++
++  MAINT=$MAINTAINER_MODE_TRUE
++
++
++
+ # Add the stamp file to the list of files AC keeps track of,
+ # along with our hook.
+-ac_config_headers="$ac_config_headers include/config.h"
++          ac_config_headers="$ac_config_headers include/config.h"
+ 
+ 
+ 
+@@ -1634,9 +1772,7 @@
+     # 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 "$as_dir/$ac_word" ${1+"$@"}
+-    shift
+-    ac_cv_prog_CC="$@"
++    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
+   fi
+ fi
+ fi
+@@ -1741,8 +1877,10 @@
+ fi
+ 
+ 
+-test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
+-echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
++test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
++See \`config.log' for more details." >&5
++echo "$as_me: error: no acceptable C compiler found in \$PATH
++See \`config.log' for more details." >&2;}
+    { (exit 1); exit 1; }; }
+ 
+ # Provide some information about the compiler.
+@@ -1767,14 +1905,12 @@
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ 
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+@@ -1784,7 +1920,7 @@
+ }
+ _ACEOF
+ ac_clean_files_save=$ac_clean_files
+-ac_clean_files="$ac_clean_files a.out a.exe"
++ac_clean_files="$ac_clean_files a.out a.exe b.out"
+ # Try to create an executable without -o first, disregard a.out.
+ # It will help us diagnose broken compilers, and finding out an intuition
+ # of exeext.
+@@ -1803,26 +1939,39 @@
+ # Be careful to initialize this variable, since it used to be cached.
+ # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
+ ac_cv_exeext=
+-for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
+-                ls a.out conftest 2>/dev/null;
+-                ls a.* conftest.* 2>/dev/null`; do
++# b.out is created by i960 compilers.
++for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
++do
++  test -f "$ac_file" || continue
+   case $ac_file in
+-    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;;
+-    a.out ) # We found the default executable, but exeext='' is most
+-            # certainly right.
+-            break;;
+-    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
+-          # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
+-          export ac_cv_exeext
+-          break;;
+-    * ) break;;
++    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
++        ;;
++    conftest.$ac_ext )
++        # This is the source file.
++        ;;
++    [ab].out )
++        # We found the default executable, but exeext='' is most
++        # certainly right.
++        break;;
++    *.* )
++        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
++        # FIXME: I believe we export ac_cv_exeext for Libtool,
++        # but it would be cool to find out if it's true.  Does anybody
++        # maintain Libtool? --akim.
++        export ac_cv_exeext
++        break;;
++    * )
++        break;;
+   esac
+ done
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-{ { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
+-echo "$as_me: error: C compiler cannot create executables" >&2;}
++sed 's/^/| /' conftest.$ac_ext >&5
++
++{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
++See \`config.log' for more details." >&5
++echo "$as_me: error: C compiler cannot create executables
++See \`config.log' for more details." >&2;}
+    { (exit 77); exit 77; }; }
+ fi
+ 
+@@ -1849,9 +1998,11 @@
+ 	cross_compiling=yes
+     else
+ 	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
+-If you meant to cross compile, use \`--host'." >&5
++If you meant to cross compile, use \`--host'.
++See \`config.log' for more details." >&5
+ echo "$as_me: error: cannot run C compiled programs.
+-If you meant to cross compile, use \`--host'." >&2;}
++If you meant to cross compile, use \`--host'.
++See \`config.log' for more details." >&2;}
+    { (exit 1); exit 1; }; }
+     fi
+   fi
+@@ -1859,7 +2010,7 @@
+ echo "$as_me:$LINENO: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 
+-rm -f a.out a.exe conftest$ac_cv_exeext
++rm -f a.out a.exe conftest$ac_cv_exeext b.out
+ ac_clean_files=$ac_clean_files_save
+ # Check the compiler produces executables we can run.  If not, either
+ # the compiler is broken, or we cross compile.
+@@ -1879,9 +2030,10 @@
+ # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
+ # work properly (i.e., refer to `conftest.exe'), while it won't with
+ # `rm'.
+-for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
++for ac_file in conftest.exe conftest conftest.*; do
++  test -f "$ac_file" || continue
+   case $ac_file in
+-    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
++    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
+     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
+           export ac_cv_exeext
+           break;;
+@@ -1889,8 +2041,10 @@
+   esac
+ done
+ else
+-  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
+-echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
++  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
++See \`config.log' for more details." >&5
++echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
++See \`config.log' for more details." >&2;}
+    { (exit 1); exit 1; }; }
+ fi
+ 
+@@ -1908,14 +2062,12 @@
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ 
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+@@ -1932,16 +2084,19 @@
+   (exit $ac_status); }; then
+   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
+   case $ac_file in
+-    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
++    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
+     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
+        break;;
+   esac
+ done
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
+-echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
++sed 's/^/| /' conftest.$ac_ext >&5
++
++{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
++See \`config.log' for more details." >&5
++echo "$as_me: error: cannot compute suffix of object files: cannot compile
++See \`config.log' for more details." >&2;}
+    { (exit 1); exit 1; }; }
+ fi
+ 
+@@ -1958,14 +2113,12 @@
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ 
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+@@ -1992,7 +2145,8 @@
+   ac_compiler_gnu=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ ac_compiler_gnu=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+@@ -2012,14 +2166,12 @@
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ 
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+@@ -2043,7 +2195,8 @@
+   ac_cv_prog_cc_g=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ ac_cv_prog_cc_g=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+@@ -2065,6 +2218,102 @@
+     CFLAGS=
+   fi
+ fi
++echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
++echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
++if test "${ac_cv_prog_cc_stdc+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_cv_prog_cc_stdc=no
++ac_save_CC=$CC
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdarg.h>
++#include <stdio.h>
++#include <sys/types.h>
++#include <sys/stat.h>
++/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
++struct buf { int x; };
++FILE * (*rcsopen) (struct buf *, struct stat *, int);
++static char *e (p, i)
++     char **p;
++     int i;
++{
++  return p[i];
++}
++static char *f (char * (*g) (char **, int), char **p, ...)
++{
++  char *s;
++  va_list v;
++  va_start (v,p);
++  s = g (p, va_arg (v,int));
++  va_end (v);
++  return s;
++}
++int test (int i, double x);
++struct s1 {int (*f) (int a);};
++struct s2 {int (*f) (double a);};
++int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
++int argc;
++char **argv;
++int
++main ()
++{
++return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
++  ;
++  return 0;
++}
++_ACEOF
++# Don't try gcc -ansi; that turns off useful extensions and
++# breaks some systems' header files.
++# AIX			-qlanglvl=ansi
++# Ultrix and OSF/1	-std1
++# HP-UX 10.20 and later	-Ae
++# HP-UX older versions	-Aa -D_HPUX_SOURCE
++# SVR4			-Xc -D__EXTENSIONS__
++for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
++do
++  CC="$ac_save_CC $ac_arg"
++  rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_prog_cc_stdc=$ac_arg
++break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext
++done
++rm -f conftest.$ac_ext conftest.$ac_objext
++CC=$ac_save_CC
++
++fi
++
++case "x$ac_cv_prog_cc_stdc" in
++  x|xno)
++    echo "$as_me:$LINENO: result: none needed" >&5
++echo "${ECHO_T}none needed" >&6 ;;
++  *)
++    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
++echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
++    CC="$CC $ac_cv_prog_cc_stdc" ;;
++esac
++
+ # Some people use a C++ compiler to compile C.  Since we use `exit',
+ # in C++ we need to declare it.  In case someone uses the same compiler
+ # for both compiling C and C++ we need to have the C++ compiler decide
+@@ -2087,8 +2336,7 @@
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+   for ac_declaration in \
+-   ''\
+-   '#include <stdlib.h>' \
++   '' \
+    'extern "C" void std::exit (int) throw (); using std::exit;' \
+    'extern "C" void std::exit (int); using std::exit;' \
+    'extern "C" void exit (int) throw ();' \
+@@ -2097,15 +2345,13 @@
+ do
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-#include <stdlib.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ $ac_declaration
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
++#include <stdlib.h>
+ int
+ main ()
+ {
+@@ -2129,20 +2375,19 @@
+   :
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ continue
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ $ac_declaration
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+@@ -2166,7 +2411,8 @@
+   break
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ done
+@@ -2179,7 +2425,8 @@
+ 
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ ac_ext=c
+@@ -2211,18 +2458,28 @@
+ do
+   # Use a header file that comes with gcc, so configuring glibc
+   # with a fresh cross-compiler works.
++  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++  # <limits.h> exists even on freestanding compilers.
+   # On the NeXT, cc -E runs the code through the compiler's parser,
+   # not just through cpp. "Syntax error" is here to catch this case.
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+                      Syntax error
+ _ACEOF
+ if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
+   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+   ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
++  grep -v '^ *+' conftest.er1 >conftest.err
+   rm -f conftest.er1
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+@@ -2239,7 +2496,8 @@
+   :
+ else
+   echo "$as_me: failed program was:" >&5
+-  cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+   # Broken: fails on valid input.
+ continue
+ fi
+@@ -2249,13 +2507,17 @@
+   # can be detected and how.
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ #include <ac_nonexistent.h>
+ _ACEOF
+ if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
+   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+   ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
++  grep -v '^ *+' conftest.er1 >conftest.err
+   rm -f conftest.er1
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+@@ -2273,7 +2535,8 @@
+ continue
+ else
+   echo "$as_me: failed program was:" >&5
+-  cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+   # Passes both tests.
+ ac_preproc_ok=:
+ break
+@@ -2302,18 +2565,28 @@
+ do
+   # Use a header file that comes with gcc, so configuring glibc
+   # with a fresh cross-compiler works.
++  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++  # <limits.h> exists even on freestanding compilers.
+   # On the NeXT, cc -E runs the code through the compiler's parser,
+   # not just through cpp. "Syntax error" is here to catch this case.
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+                      Syntax error
+ _ACEOF
+ if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
+   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+   ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
++  grep -v '^ *+' conftest.er1 >conftest.err
+   rm -f conftest.er1
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+@@ -2330,7 +2603,8 @@
+   :
+ else
+   echo "$as_me: failed program was:" >&5
+-  cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+   # Broken: fails on valid input.
+ continue
+ fi
+@@ -2340,13 +2614,17 @@
+   # can be detected and how.
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ #include <ac_nonexistent.h>
+ _ACEOF
+ if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
+   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+   ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
++  grep -v '^ *+' conftest.er1 >conftest.err
+   rm -f conftest.er1
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+@@ -2364,7 +2642,8 @@
+ continue
+ else
+   echo "$as_me: failed program was:" >&5
+-  cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+   # Passes both tests.
+ ac_preproc_ok=:
+ break
+@@ -2377,8 +2656,10 @@
+ if $ac_preproc_ok; then
+   :
+ else
+-  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
+-echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
++  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
++See \`config.log' for more details." >&5
++echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
++See \`config.log' for more details." >&2;}
+    { (exit 1); exit 1; }; }
+ fi
+ 
+@@ -2389,103 +2670,6 @@
+ ac_compiler_gnu=$ac_cv_c_compiler_gnu
+ 
+ 
+-echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
+-echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
+-if test "${ac_cv_prog_cc_stdc+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  ac_cv_prog_cc_stdc=no
+-ac_save_CC=$CC
+-cat >conftest.$ac_ext <<_ACEOF
+-#line $LINENO "configure"
+-#include "confdefs.h"
+-#include <stdarg.h>
+-#include <stdio.h>
+-#include <sys/types.h>
+-#include <sys/stat.h>
+-/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
+-struct buf { int x; };
+-FILE * (*rcsopen) (struct buf *, struct stat *, int);
+-static char *e (p, i)
+-     char **p;
+-     int i;
+-{
+-  return p[i];
+-}
+-static char *f (char * (*g) (char **, int), char **p, ...)
+-{
+-  char *s;
+-  va_list v;
+-  va_start (v,p);
+-  s = g (p, va_arg (v,int));
+-  va_end (v);
+-  return s;
+-}
+-int test (int i, double x);
+-struct s1 {int (*f) (int a);};
+-struct s2 {int (*f) (double a);};
+-int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
+-int argc;
+-char **argv;
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
+-return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-# Don't try gcc -ansi; that turns off useful extensions and
+-# breaks some systems' header files.
+-# AIX			-qlanglvl=ansi
+-# Ultrix and OSF/1	-std1
+-# HP-UX 10.20 and later	-Ae
+-# HP-UX older versions	-Aa -D_HPUX_SOURCE
+-# SVR4			-Xc -D__EXTENSIONS__
+-for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
+-do
+-  CC="$ac_save_CC $ac_arg"
+-  rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
+-  ac_cv_prog_cc_stdc=$ac_arg
+-break
+-else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-fi
+-rm -f conftest.$ac_objext
+-done
+-rm -f conftest.$ac_ext conftest.$ac_objext
+-CC=$ac_save_CC
+-
+-fi
+-
+-case "x$ac_cv_prog_cc_stdc" in
+-  x|xno)
+-    echo "$as_me:$LINENO: result: none needed" >&5
+-echo "${ECHO_T}none needed" >&6 ;;
+-  *)
+-    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
+-echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
+-    CC="$CC $ac_cv_prog_cc_stdc" ;;
+-esac
+-
+ 
+ am__api_version="1.6"
+ ac_aux_dir=
+@@ -2702,15 +2886,15 @@
+   test -n "$AWK" && break
+ done
+ 
+-echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
+-echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
++echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
++echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
+ set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
+ if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.make <<\_ACEOF
+ all:
+-	@echo 'ac_maketemp="${MAKE}"'
++	@echo 'ac_maketemp="$(MAKE)"'
+ _ACEOF
+ # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
+ eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
+@@ -2742,7 +2926,7 @@
+ rmdir .deps 2>/dev/null
+ 
+ 
+-ac_config_commands="$ac_config_commands depfiles"
++          ac_config_commands="$ac_config_commands depfiles"
+ 
+ 
+ am_make=${MAKE-make}
+@@ -3096,6 +3280,7 @@
+ CANONICAL_HOST=$host
+ 
+ 
++
+ # Check whether --enable-largefile or --disable-largefile was given.
+ if test "${enable_largefile+set}" = set; then
+   enableval="$enable_largefile"
+@@ -3116,7 +3301,11 @@
+      	 # so use the C compiler's -n32 option if that helps.
+          cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ #include <sys/types.h>
+  /* Check that off_t can represent 2**63 - 1 correctly.
+     We can't simply define LARGE_OFF_T to be 9223372036854775807,
+@@ -3126,12 +3315,6 @@
+   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
+ 		       && LARGE_OFF_T % 2147483647 == 1)
+ 		      ? 1 : -1];
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+@@ -3155,7 +3338,8 @@
+   break
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ fi
+ rm -f conftest.$ac_objext
+      	 CC="$CC -n32"
+@@ -3174,7 +3358,8 @@
+   ac_cv_sys_largefile_CC=' -n32'; break
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ fi
+ rm -f conftest.$ac_objext
+          break
+@@ -3198,7 +3383,11 @@
+   ac_cv_sys_file_offset_bits=no
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ #include <sys/types.h>
+  /* Check that off_t can represent 2**63 - 1 correctly.
+     We can't simply define LARGE_OFF_T to be 9223372036854775807,
+@@ -3208,12 +3397,6 @@
+   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
+ 		       && LARGE_OFF_T % 2147483647 == 1)
+ 		      ? 1 : -1];
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+@@ -3237,12 +3420,17 @@
+   break
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ #define _FILE_OFFSET_BITS 64
+ #include <sys/types.h>
+  /* Check that off_t can represent 2**63 - 1 correctly.
+@@ -3253,12 +3441,6 @@
+   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
+ 		       && LARGE_OFF_T % 2147483647 == 1)
+ 		      ? 1 : -1];
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+@@ -3282,7 +3464,8 @@
+   ac_cv_sys_file_offset_bits=64; break
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+   break
+@@ -3307,7 +3490,11 @@
+   ac_cv_sys_large_files=no
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ #include <sys/types.h>
+  /* Check that off_t can represent 2**63 - 1 correctly.
+     We can't simply define LARGE_OFF_T to be 9223372036854775807,
+@@ -3317,12 +3504,6 @@
+   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
+ 		       && LARGE_OFF_T % 2147483647 == 1)
+ 		      ? 1 : -1];
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+@@ -3346,12 +3527,17 @@
+   break
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ #define _LARGE_FILES 1
+ #include <sys/types.h>
+  /* Check that off_t can represent 2**63 - 1 correctly.
+@@ -3362,12 +3548,6 @@
+   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
+ 		       && LARGE_OFF_T % 2147483647 == 1)
+ 		      ? 1 : -1];
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+@@ -3391,7 +3571,8 @@
+   ac_cv_sys_large_files=1; break
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+   break
+@@ -3515,7 +3696,11 @@
+ LIBS="-lfl  $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+@@ -3524,12 +3709,6 @@
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+ char yywrap ();
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+@@ -3553,7 +3732,8 @@
+   ac_cv_lib_fl_yywrap=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ ac_cv_lib_fl_yywrap=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+@@ -3573,7 +3753,11 @@
+ LIBS="-ll  $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+@@ -3582,12 +3766,6 @@
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+ char yywrap ();
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+@@ -3611,7 +3789,8 @@
+   ac_cv_lib_l_yywrap=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ ac_cv_lib_l_yywrap=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+@@ -3689,7 +3868,8 @@
+   ac_cv_prog_lex_yytext_pointer=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_save_LIBS
+@@ -3818,14 +3998,12 @@
+ CFLAGS="$CFLAGS $abi"
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ 
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+@@ -3849,7 +4027,8 @@
+   eval $ac_foo=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ eval $ac_foo=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+@@ -3868,14 +4047,12 @@
+ 	CFLAGS="$CFLAGS -mabi=n32"
+ 	cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ 
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+@@ -3899,7 +4076,8 @@
+   ac_res=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ ac_res=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+@@ -3955,16 +4133,14 @@
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ 
+ #include <stdlib.h>
+ 
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+@@ -3996,7 +4172,8 @@
+   ac_cv___attribute__=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ ac_cv___attribute__=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+@@ -4017,78 +4194,145 @@
+ if test "${enable_shared+set}" = set; then
+   enableval="$enable_shared"
+   p=${PACKAGE-default}
+-case $enableval in
+-yes) enable_shared=yes ;;
+-no) enable_shared=no ;;
+-*)
+-  enable_shared=no
+-  # Look at the argument we got.  We use all the common list separators.
+-  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
+-  for pkg in $enableval; do
+-    if test "X$pkg" = "X$p"; then
+-      enable_shared=yes
+-    fi
+-  done
+-  IFS="$ac_save_ifs"
+-  ;;
+-esac
++    case $enableval in
++    yes) enable_shared=yes ;;
++    no) enable_shared=no ;;
++    *)
++      enable_shared=no
++      # Look at the argument we got.  We use all the common list separators.
++      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
++      for pkg in $enableval; do
++	IFS="$lt_save_ifs"
++	if test "X$pkg" = "X$p"; then
++	  enable_shared=yes
++	fi
++      done
++      IFS="$lt_save_ifs"
++      ;;
++    esac
+ else
+   enable_shared=no
+ fi;
++
+ # Check whether --enable-static or --disable-static was given.
+ if test "${enable_static+set}" = set; then
+   enableval="$enable_static"
+   p=${PACKAGE-default}
+-case $enableval in
+-yes) enable_static=yes ;;
+-no) enable_static=no ;;
+-*)
+-  enable_static=no
+-  # Look at the argument we got.  We use all the common list separators.
+-  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
+-  for pkg in $enableval; do
+-    if test "X$pkg" = "X$p"; then
+-      enable_static=yes
+-    fi
+-  done
+-  IFS="$ac_save_ifs"
+-  ;;
+-esac
++    case $enableval in
++    yes) enable_static=yes ;;
++    no) enable_static=no ;;
++    *)
++     enable_static=no
++      # Look at the argument we got.  We use all the common list separators.
++      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
++      for pkg in $enableval; do
++	IFS="$lt_save_ifs"
++	if test "X$pkg" = "X$p"; then
++	  enable_static=yes
++	fi
++      done
++      IFS="$lt_save_ifs"
++      ;;
++    esac
+ else
+   enable_static=yes
+ fi;
++
+ # Check whether --enable-fast-install or --disable-fast-install was given.
+ if test "${enable_fast_install+set}" = set; then
+   enableval="$enable_fast_install"
+   p=${PACKAGE-default}
+-case $enableval in
+-yes) enable_fast_install=yes ;;
+-no) enable_fast_install=no ;;
+-*)
+-  enable_fast_install=no
+-  # Look at the argument we got.  We use all the common list separators.
+-  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
+-  for pkg in $enableval; do
+-    if test "X$pkg" = "X$p"; then
+-      enable_fast_install=yes
+-    fi
+-  done
+-  IFS="$ac_save_ifs"
+-  ;;
+-esac
++    case $enableval in
++    yes) enable_fast_install=yes ;;
++    no) enable_fast_install=no ;;
++    *)
++      enable_fast_install=no
++      # Look at the argument we got.  We use all the common list separators.
++      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
++      for pkg in $enableval; do
++	IFS="$lt_save_ifs"
++	if test "X$pkg" = "X$p"; then
++	  enable_fast_install=yes
++	fi
++      done
++      IFS="$lt_save_ifs"
++      ;;
++    esac
+ else
+   enable_fast_install=yes
+ fi;
+-# Find the correct PATH separator.  Usually this is `:', but
+-# DJGPP uses `;' like DOS.
+-if test "X${PATH_SEPARATOR+set}" != Xset; then
+-  UNAME=${UNAME-`uname 2>/dev/null`}
+-  case X$UNAME in
+-    *-DOS) lt_cv_sys_path_separator=';' ;;
+-    *)     lt_cv_sys_path_separator=':' ;;
+-  esac
+-  PATH_SEPARATOR=$lt_cv_sys_path_separator
++
++echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
++echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
++if test "${lt_cv_path_SED+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  # Loop through the user's path and test for sed and gsed.
++# Then use that list of sed's as ones to test for truncation.
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for lt_ac_prog in sed gsed; do
++    for ac_exec_ext in '' $ac_executable_extensions; do
++      if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
++        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
++      fi
++    done
++  done
++done
++lt_ac_max=0
++lt_ac_count=0
++# Add /usr/xpg4/bin/sed as it is typically found on Solaris
++# along with /bin/sed that truncates output.
++for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
++  test ! -f $lt_ac_sed && break
++  cat /dev/null > conftest.in
++  lt_ac_count=0
++  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
++  # Check for GNU sed and select it if it is found.
++  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
++    lt_cv_path_SED=$lt_ac_sed
++    break
++  fi
++  while true; do
++    cat conftest.in conftest.in >conftest.tmp
++    mv conftest.tmp conftest.in
++    cp conftest.in conftest.nl
++    echo >>conftest.nl
++    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
++    cmp -s conftest.out conftest.nl || break
++    # 10000 chars as input seems more than enough
++    test $lt_ac_count -gt 10 && break
++    lt_ac_count=`expr $lt_ac_count + 1`
++    if test $lt_ac_count -gt $lt_ac_max; then
++      lt_ac_max=$lt_ac_count
++      lt_cv_path_SED=$lt_ac_sed
++    fi
++  done
++done
++SED=$lt_cv_path_SED
++
++fi
++
++echo "$as_me:$LINENO: result: $SED" >&5
++echo "${ECHO_T}$SED" >&6
++
++echo "$as_me:$LINENO: checking for egrep" >&5
++echo $ECHO_N "checking for egrep... $ECHO_C" >&6
++if test "${ac_cv_prog_egrep+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
++    then ac_cv_prog_egrep='grep -E'
++    else ac_cv_prog_egrep='egrep'
++    fi
+ fi
++echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
++echo "${ECHO_T}$ac_cv_prog_egrep" >&6
++ EGREP=$ac_cv_prog_egrep
++
+ 
+ 
+ # Check whether --with-gnu-ld or --without-gnu-ld was given.
+@@ -4101,8 +4345,8 @@
+ ac_prog=ld
+ if test "$GCC" = yes; then
+   # Check if gcc -print-prog-name=ld gives a path.
+-  echo "$as_me:$LINENO: checking for ld used by GCC" >&5
+-echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
++  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
++echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
+   case $host in
+   *-*-mingw*)
+     # gcc leaves a trailing carriage return which upsets mingw
+@@ -4112,12 +4356,12 @@
+   esac
+   case $ac_prog in
+     # Accept absolute paths.
+-    [\\/]* | [A-Za-z]:[\\/]*)
++    [\\/]* | ?:[\\/]*)
+       re_direlt='/[^/][^/]*/\.\./'
+-      # Canonicalize the path of ld
+-      ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
++      # Canonicalize the pathname of ld
++      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
+       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
+-	ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
++	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
+       done
+       test -z "$LD" && LD="$ac_prog"
+       ;;
+@@ -4141,22 +4385,26 @@
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   if test -z "$LD"; then
+-  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
++  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
+   for ac_dir in $PATH; do
++    IFS="$lt_save_ifs"
+     test -z "$ac_dir" && ac_dir=.
+     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
+       lt_cv_path_LD="$ac_dir/$ac_prog"
+       # Check to see if the program is GNU ld.  I'd rather use --version,
+       # but apparently some GNU ld's only accept -v.
+       # Break only if it was the GNU/non-GNU ld that we prefer.
+-      if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
++      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
++      *GNU* | *'with BFD'*)
+ 	test "$with_gnu_ld" != no && break
+-      else
++	;;
++      *)
+ 	test "$with_gnu_ld" != yes && break
+-      fi
++	;;
++      esac
+     fi
+   done
+-  IFS="$ac_save_ifs"
++  IFS="$lt_save_ifs"
+ else
+   lt_cv_path_LD="$LD" # Let the user override the test with a path.
+ fi
+@@ -4179,11 +4427,14 @@
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
+-if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
++case `$LD -v 2>&1 </dev/null` in
++*GNU* | *'with BFD'*)
+   lt_cv_prog_gnu_ld=yes
+-else
++  ;;
++*)
+   lt_cv_prog_gnu_ld=no
+-fi
++  ;;
++esac
+ fi
+ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
+ echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
+@@ -4200,7 +4451,11 @@
+ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
+ echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
+ reload_flag=$lt_cv_ld_reload_flag
+-test -n "$reload_flag" && reload_flag=" $reload_flag"
++case $reload_flag in
++"" | " "*) ;;
++*) reload_flag=" $reload_flag" ;;
++esac
++reload_cmds='$LD$reload_flag -o $output$reload_objs'
+ 
+ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
+ echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
+@@ -4211,35 +4466,42 @@
+   # Let the user override the test.
+   lt_cv_path_NM="$NM"
+ else
+-  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
++  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
+   for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
++    IFS="$lt_save_ifs"
+     test -z "$ac_dir" && ac_dir=.
+-    tmp_nm=$ac_dir/${ac_tool_prefix}nm
+-    if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
++    tmp_nm="$ac_dir/${ac_tool_prefix}nm"
++    if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
+       # Check to see if the nm accepts a BSD-compat flag.
+       # Adding the `sed 1q' prevents false positives on HP-UX, which says:
+       #   nm: unknown option "B" ignored
+       # Tru64's nm complains that /dev/null is an invalid object file
+-      if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
++      case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
++      */dev/null* | *'Invalid file or object type'*)
+ 	lt_cv_path_NM="$tmp_nm -B"
+ 	break
+-      elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
+-	lt_cv_path_NM="$tmp_nm -p"
+-	break
+-      else
+-	lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
+-	continue # so that we can try to find one that supports BSD flags
+-      fi
++        ;;
++      *)
++	case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
++	*/dev/null*)
++	  lt_cv_path_NM="$tmp_nm -p"
++	  break
++	  ;;
++	*)
++	  lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
++	  continue # so that we can try to find one that supports BSD flags
++	  ;;
++	esac
++      esac
+     fi
+   done
+-  IFS="$ac_save_ifs"
++  IFS="$lt_save_ifs"
+   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
+ fi
+ fi
+-
++echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
++echo "${ECHO_T}$lt_cv_path_NM" >&6
+ NM="$lt_cv_path_NM"
+-echo "$as_me:$LINENO: result: $NM" >&5
+-echo "${ECHO_T}$NM" >&6
+ 
+ echo "$as_me:$LINENO: checking whether ln -s works" >&5
+ echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
+@@ -4252,8 +4514,8 @@
+ echo "${ECHO_T}no, using $LN_S" >&6
+ fi
+ 
+-echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
+-echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
++echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
++echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
+ if test "${lt_cv_deplibs_check_method+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+@@ -4267,7 +4529,7 @@
+ # 'pass_all' -- all dependencies passed with no checks.
+ # 'test_compile' -- check by making test program.
+ # 'file_magic [[regex]]' -- check by looking for files in library path
+-# which responds to the $file_magic_cmd with a given egrep regex.
++# which responds to the $file_magic_cmd with a given extended regex.
+ # If you have `file' or equivalent on your system and you're not sure
+ # whether `pass_all' will *always* work, you probably want this one.
+ 
+@@ -4287,24 +4549,27 @@
+   ;;
+ 
+ cygwin* | mingw* | pw32*)
+-  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
+-  lt_cv_file_magic_cmd='$OBJDUMP -f'
++  # win32_libid is a shell function defined in ltmain.sh
++  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
++  lt_cv_file_magic_cmd='win32_libid'
+   ;;
+ 
+ darwin* | rhapsody*)
++  # this will be overwritten by pass_all, but leave it in just in case
+   lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
+   lt_cv_file_magic_cmd='/usr/bin/file -L'
+   case "$host_os" in
+   rhapsody* | darwin1.[012])
+-    lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1`
++    lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System`
+     ;;
+   *) # Darwin 1.3 on
+     lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
+     ;;
+   esac
++  lt_cv_deplibs_check_method=pass_all
+   ;;
+ 
+-freebsd*)
++freebsd* | kfreebsd*-gnu)
+   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
+     case $host_cpu in
+     i*86 )
+@@ -4324,15 +4589,27 @@
+   lt_cv_deplibs_check_method=pass_all
+   ;;
+ 
+-hpux10.20*|hpux11*)
+-  lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
++hpux10.20* | hpux11*)
+   lt_cv_file_magic_cmd=/usr/bin/file
+-  lt_cv_file_magic_test_file=/usr/lib/libc.sl
++  case "$host_cpu" in
++  ia64*)
++    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
++    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
++    ;;
++  hppa*64*)
++    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
++    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
++    ;;
++  *)
++    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
++    lt_cv_file_magic_test_file=/usr/lib/libc.sl
++    ;;
++  esac
+   ;;
+ 
+-irix5* | irix6*)
++irix5* | irix6* | nonstopux*)
+   case $host_os in
+-  irix5*)
++  irix5* | nonstopux*)
+     # this will be overridden with pass_all, but let us keep it just in case
+     lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
+     ;;
+@@ -4352,22 +4629,24 @@
+   ;;
+ 
+ # This must be Linux ELF.
+-linux-gnu*)
++linux*)
++  # linux always uses pass_all now, this code is the old way (tm)
+   case $host_cpu in
+-  alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
++  alpha* | hppa* | i*86 | ia64* | m68* | mips* | powerpc* | sparc* | s390* | sh*)
+     lt_cv_deplibs_check_method=pass_all ;;
+   *)
+     # glibc up to 2.1.1 does not perform some relocations on ARM
+     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
+   esac
++  lt_cv_deplibs_check_method=pass_all
+   lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
+   ;;
+ 
+ netbsd*)
+   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
+-    lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
++    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
+   else
+-    lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
++    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
+   fi
+   ;;
+ 
+@@ -4377,6 +4656,10 @@
+   lt_cv_file_magic_test_file=/usr/lib/libnls.so
+   ;;
+ 
++nto-qnx*)
++  lt_cv_deplibs_check_method=unknown
++  ;;
++
+ openbsd*)
+   lt_cv_file_magic_cmd=/usr/bin/file
+   lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
+@@ -4403,10 +4686,6 @@
+   lt_cv_file_magic_test_file=/lib/libc.so
+   ;;
+ 
+-sysv5uw[78]* | sysv4*uw2*)
+-  lt_cv_deplibs_check_method=pass_all
+-  ;;
+-
+ sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
+   case $host_vendor in
+   motorola)
+@@ -4425,8 +4704,15 @@
+     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
+     lt_cv_file_magic_test_file=/lib/libc.so
+     ;;
++  siemens)
++    lt_cv_deplibs_check_method=pass_all
++    ;;
+   esac
+   ;;
++
++sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
++  lt_cv_deplibs_check_method=pass_all
++  ;;
+ esac
+ 
+ fi
+@@ -4434,256 +4720,259 @@
+ echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
+ file_magic_cmd=$lt_cv_file_magic_cmd
+ deplibs_check_method=$lt_cv_deplibs_check_method
++test -z "$deplibs_check_method" && deplibs_check_method=unknown
+ 
+ 
++# If no C compiler was specified, use CC.
++LTCC=${LTCC-"$CC"}
+ 
++# Allow CC to be a program name with arguments.
++compiler=$CC
+ 
++# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
++if test "${enable_libtool_lock+set}" = set; then
++  enableval="$enable_libtool_lock"
+ 
+-# Check for command to grab the raw symbol name followed by C symbol from nm.
+-echo "$as_me:$LINENO: checking command to parse $NM output" >&5
+-echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6
+-if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-
+-# These are sane defaults that work on at least a few old systems.
+-# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
+-
+-# Character class describing NM global symbol codes.
+-symcode='[BCDEGRST]'
+-
+-# Regexp to match symbols that can be accessed directly from C.
+-sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
+-
+-# Transform the above into a raw symbol and a C symbol.
+-symxfrm='\1 \2\3 \3'
+-
+-# Transform an extracted symbol line into a proper C declaration
+-lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'"
+-
+-# Transform an extracted symbol line into symbol name and symbol address
+-lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
++fi;
++test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
+ 
+-# Define system-specific variables.
+-case $host_os in
+-aix*)
+-  symcode='[BCDT]'
+-  ;;
+-cygwin* | mingw* | pw32*)
+-  symcode='[ABCDGISTW]'
+-  ;;
+-hpux*) # Its linker distinguishes data from code symbols
+-  lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
+-  lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
+-  ;;
+-irix*)
+-  symcode='[BCDEGRST]'
+-  ;;
+-solaris* | sysv5*)
+-  symcode='[BDT]'
++# Some flags need to be propagated to the compiler or linker for good
++# libtool support.
++case $host in
++ia64-*-hpux*)
++  # Find out which ABI we are using.
++  echo 'int i;' > conftest.$ac_ext
++  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; then
++    case `/usr/bin/file conftest.$ac_objext` in
++    *ELF-32*)
++      HPUX_IA64_MODE="32"
++      ;;
++    *ELF-64*)
++      HPUX_IA64_MODE="64"
++      ;;
++    esac
++  fi
++  rm -rf conftest*
+   ;;
+-sysv4)
+-  symcode='[DFNSTU]'
++*-*-irix6*)
++  # Find out which ABI we are using.
++  echo '#line 4763 "configure"' > conftest.$ac_ext
++  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; then
++   if test "$lt_cv_prog_gnu_ld" = yes; then
++    case `/usr/bin/file conftest.$ac_objext` in
++    *32-bit*)
++      LD="${LD-ld} -melf32bsmip"
++      ;;
++    *N32*)
++      LD="${LD-ld} -melf32bmipn32"
++      ;;
++    *64-bit*)
++      LD="${LD-ld} -melf64bmip"
++      ;;
++    esac
++   else
++    case `/usr/bin/file conftest.$ac_objext` in
++    *32-bit*)
++      LD="${LD-ld} -32"
++      ;;
++    *N32*)
++      LD="${LD-ld} -n32"
++      ;;
++    *64-bit*)
++      LD="${LD-ld} -64"
++      ;;
++    esac
++   fi
++  fi
++  rm -rf conftest*
+   ;;
+-esac
+ 
+-# Handle CRLF in mingw tool chain
+-opt_cr=
+-case $host_os in
+-mingw*)
+-  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
++x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
++  # Find out which ABI we are using.
++  echo 'int i;' > conftest.$ac_ext
++  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; then
++    case "`/usr/bin/file conftest.o`" in
++    *32-bit*)
++      case $host in
++        x86_64-*linux*)
++          LD="${LD-ld} -m elf_i386"
++          ;;
++        ppc64-*linux*|powerpc64-*linux*)
++          LD="${LD-ld} -m elf32ppclinux"
++          ;;
++        s390x-*linux*)
++          LD="${LD-ld} -m elf_s390"
++          ;;
++        sparc64-*linux*)
++          LD="${LD-ld} -m elf32_sparc"
++          ;;
++      esac
++      ;;
++    *64-bit*)
++      case $host in
++        x86_64-*linux*)
++          LD="${LD-ld} -m elf_x86_64"
++          ;;
++        ppc*-*linux*|powerpc*-*linux*)
++          LD="${LD-ld} -m elf64ppc"
++          ;;
++        s390*-*linux*)
++          LD="${LD-ld} -m elf64_s390"
++          ;;
++        sparc*-*linux*)
++          LD="${LD-ld} -m elf64_sparc"
++          ;;
++      esac
++      ;;
++    esac
++  fi
++  rm -rf conftest*
+   ;;
+-esac
+ 
+-# If we're using GNU nm, then use its standard symbol codes.
+-if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then
+-  symcode='[ABCDGISTW]'
+-fi
++*-*-sco3.2v5*)
++  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
++  SAVE_CFLAGS="$CFLAGS"
++  CFLAGS="$CFLAGS -belf"
++  echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
++echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
++if test "${lt_cv_cc_needs_belf+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
+ 
+-# Try without a prefix undercore, then with it.
+-for ac_symprfx in "" "_"; do
++     cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ 
+-  # Write the raw and C identifiers.
+-lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
++int
++main ()
++{
+ 
+-  # Check to see that the pipe works correctly.
+-  pipe_works=no
+-  rm -f conftest*
+-  cat > conftest.$ac_ext <<EOF
+-#ifdef __cplusplus
+-extern "C" {
+-#endif
+-char nm_test_var;
+-void nm_test_func(){}
+-#ifdef __cplusplus
++  ;
++  return 0;
+ }
+-#endif
+-int main(){nm_test_var='a';nm_test_func();return(0);}
+-EOF
+-
+-  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-    # Now try to grab the symbols.
+-    nlist=conftest.nm
+-    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
+-  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); } && test -s "$nlist"; then
+-      # Try sorting and uniquifying the output.
+-      if sort "$nlist" | uniq > "$nlist"T; then
+-	mv -f "$nlist"T "$nlist"
+-      else
+-	rm -f "$nlist"T
+-      fi
++  (exit $ac_status); }; }; then
++  lt_cv_cc_needs_belf=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
+ 
+-      # Make sure that we snagged all the symbols we need.
+-      if egrep ' nm_test_var$' "$nlist" >/dev/null; then
+-	if egrep ' nm_test_func$' "$nlist" >/dev/null; then
+-	  cat <<EOF > conftest.$ac_ext
+-#ifdef __cplusplus
+-extern "C" {
+-#endif
++lt_cv_cc_needs_belf=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++     ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
+ 
+-EOF
+-	  # Now generate the symbol file.
+-	  eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext'
++fi
++echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
++echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
++  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
++    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
++    CFLAGS="$SAVE_CFLAGS"
++  fi
++  ;;
+ 
+-	  cat <<EOF >> conftest.$ac_ext
+-#if defined (__STDC__) && __STDC__
+-# define lt_ptr void *
+-#else
+-# define lt_ptr char *
+-# define const
+-#endif
++esac
+ 
+-/* The mapping between symbol names and symbols. */
+-const struct {
+-  const char *name;
+-  lt_ptr address;
+-}
+-lt_preloaded_symbols[] =
++need_locks="$enable_libtool_lock"
++
++
++
++echo "$as_me:$LINENO: checking for ANSI C header files" >&5
++echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
++if test "${ac_cv_header_stdc+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdlib.h>
++#include <stdarg.h>
++#include <string.h>
++#include <float.h>
++
++int
++main ()
+ {
+-EOF
+-	  sed "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.$ac_ext
+-	  cat <<\EOF >> conftest.$ac_ext
+-  {0, (lt_ptr) 0}
+-};
+ 
+-#ifdef __cplusplus
++  ;
++  return 0;
+ }
+-#endif
+-EOF
+-	  # Now try linking the two files.
+-	  mv conftest.$ac_objext conftstm.$ac_objext
+-	  save_LIBS="$LIBS"
+-	  save_CFLAGS="$CFLAGS"
+-	  LIBS="conftstm.$ac_objext"
+-	  CFLAGS="$CFLAGS$no_builtin_flag"
+-	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); } && test -s conftest; then
+-	    pipe_works=yes
+-	  fi
+-	  LIBS="$save_LIBS"
+-	  CFLAGS="$save_CFLAGS"
+-	else
+-	  echo "cannot find nm_test_func in $nlist" >&5
+-	fi
+-      else
+-	echo "cannot find nm_test_var in $nlist" >&5
+-      fi
+-    else
+-      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
+-    fi
+-  else
+-    echo "$progname: failed program was:" >&5
+-    cat conftest.$ac_ext >&5
+-  fi
+-  rm -f conftest* conftst*
+-
+-  # Do not use the global_symbol_pipe unless it works.
+-  if test "$pipe_works" = yes; then
+-    break
+-  else
+-    lt_cv_sys_global_symbol_pipe=
+-  fi
+-done
+-
+-fi
+-
+-global_symbol_pipe="$lt_cv_sys_global_symbol_pipe"
+-if test -z "$lt_cv_sys_global_symbol_pipe"; then
+-  global_symbol_to_cdecl=
+-  global_symbol_to_c_name_address=
+-else
+-  global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl"
+-  global_symbol_to_c_name_address="$lt_cv_global_symbol_to_c_name_address"
+-fi
+-if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address";
+-then
+-  echo "$as_me:$LINENO: result: failed" >&5
+-echo "${ECHO_T}failed" >&6
+-else
+-  echo "$as_me:$LINENO: result: ok" >&5
+-echo "${ECHO_T}ok" >&6
+-fi
+-
+-
+-echo "$as_me:$LINENO: checking for ANSI C header files" >&5
+-echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
+-if test "${ac_cv_header_stdc+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  cat >conftest.$ac_ext <<_ACEOF
+-#line $LINENO "configure"
+-#include "confdefs.h"
+-#include <stdlib.h>
+-#include <stdarg.h>
+-#include <string.h>
+-#include <float.h>
+-
+-_ACEOF
+-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
+-  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
+   ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
+-  rm -f conftest.er1
+-  cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); } >/dev/null; then
+-  if test -s conftest.err; then
+-    ac_cpp_err=$ac_c_preproc_warn_flag
+-  else
+-    ac_cpp_err=
+-  fi
+-else
+-  ac_cpp_err=yes
+-fi
+-if test -z "$ac_cpp_err"; then
++  (exit $ac_status); }; }; then
+   ac_cv_header_stdc=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-  cat conftest.$ac_ext >&5
+-  ac_cv_header_stdc=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_header_stdc=no
+ fi
+-rm -f conftest.err conftest.$ac_ext
++rm -f conftest.$ac_objext conftest.$ac_ext
+ 
+ if test $ac_cv_header_stdc = yes; then
+   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ #include <string.h>
+ 
+ _ACEOF
+ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+-  egrep "memchr" >/dev/null 2>&1; then
++  $EGREP "memchr" >/dev/null 2>&1; then
+   :
+ else
+   ac_cv_header_stdc=no
+@@ -4696,12 +4985,16 @@
+   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ #include <stdlib.h>
+ 
+ _ACEOF
+ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+-  egrep "free" >/dev/null 2>&1; then
++  $EGREP "free" >/dev/null 2>&1; then
+   :
+ else
+   ac_cv_header_stdc=no
+@@ -4717,13 +5010,18 @@
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ #include <ctype.h>
+ #if ((' ' & 0x0FF) == 0x020)
+ # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
+ # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
+ #else
+-# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
++# define ISLOWER(c) \
++                   (('a' <= (c) && (c) <= 'i') \
+                      || ('j' <= (c) && (c) <= 'r') \
+                      || ('s' <= (c) && (c) <= 'z'))
+ # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
+@@ -4756,11 +5054,12 @@
+ else
+   echo "$as_me: program exited with status $ac_status" >&5
+ echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ ( exit $ac_status )
+ ac_cv_header_stdc=no
+ fi
+-rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
+ fi
+ fi
+ fi
+@@ -4795,7 +5094,11 @@
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ $ac_includes_default
+ 
+ #include <$ac_header>
+@@ -4815,7 +5118,8 @@
+   eval "$as_ac_Header=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ eval "$as_ac_Header=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+@@ -4850,7 +5154,11 @@
+ echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ $ac_includes_default
+ #include <$ac_header>
+ _ACEOF
+@@ -4869,7 +5177,8 @@
+   ac_header_compiler=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ ac_header_compiler=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+@@ -4881,13 +5190,17 @@
+ echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ #include <$ac_header>
+ _ACEOF
+ if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
+   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+   ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
++  grep -v '^ *+' conftest.er1 >conftest.err
+   rm -f conftest.er1
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+@@ -4904,7 +5217,8 @@
+   ac_header_preproc=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-  cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+   ac_header_preproc=no
+ fi
+ rm -f conftest.err conftest.$ac_ext
+@@ -4917,14 +5231,32 @@
+     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
+ echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
+     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
+-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
++    (
++      cat <<\_ASBOX
++## ------------------------------------ ##
++## Report this to bug-autoconf@gnu.org. ##
++## ------------------------------------ ##
++_ASBOX
++    ) |
++      sed "s/^/$as_me: WARNING:     /" >&2
++    ;;
+   no:yes )
+     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
+ echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
+     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
+ echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
+     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
+-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
++    (
++      cat <<\_ASBOX
++## ------------------------------------ ##
++## Report this to bug-autoconf@gnu.org. ##
++## ------------------------------------ ##
++_ASBOX
++    ) |
++      sed "s/^/$as_me: WARNING:     /" >&2
++    ;;
+ esac
+ echo "$as_me:$LINENO: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+@@ -4946,159 +5278,23 @@
+ 
+ done
+ 
+-
+-
+-
+-
+-# Only perform the check for file, if the check method requires it
+-case $deplibs_check_method in
+-file_magic*)
+-  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
+-    echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
+-echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
+-if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  case $MAGIC_CMD in
+-  /*)
+-  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
+-  ;;
+-  ?:/*)
+-  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
+-  ;;
+-  *)
+-  ac_save_MAGIC_CMD="$MAGIC_CMD"
+-  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
+-  ac_dummy="/usr/bin:$PATH"
+-  for ac_dir in $ac_dummy; do
+-    test -z "$ac_dir" && ac_dir=.
+-    if test -f $ac_dir/${ac_tool_prefix}file; then
+-      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
+-      if test -n "$file_magic_test_file"; then
+-	case $deplibs_check_method in
+-	"file_magic "*)
+-	  file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
+-	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
+-	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
+-	    egrep "$file_magic_regex" > /dev/null; then
+-	    :
+-	  else
+-	    cat <<EOF 1>&2
+-
+-*** Warning: the command libtool uses to detect shared libraries,
+-*** $file_magic_cmd, produces output that libtool cannot recognize.
+-*** The result is that libtool may fail to recognize shared libraries
+-*** as such.  This will affect the creation of libtool libraries that
+-*** depend on shared libraries, but programs linked with such libtool
+-*** libraries will work regardless of this problem.  Nevertheless, you
+-*** may want to report the problem to your system manager and/or to
+-*** bug-libtool@gnu.org
+-
+-EOF
+-	  fi ;;
+-	esac
+-      fi
+-      break
+-    fi
+-  done
+-  IFS="$ac_save_ifs"
+-  MAGIC_CMD="$ac_save_MAGIC_CMD"
+-  ;;
+-esac
+-fi
+-
+-MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
+-if test -n "$MAGIC_CMD"; then
+-  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
+-echo "${ECHO_T}$MAGIC_CMD" >&6
+-else
+-  echo "$as_me:$LINENO: result: no" >&5
+-echo "${ECHO_T}no" >&6
+-fi
+-
+-if test -z "$lt_cv_path_MAGIC_CMD"; then
+-  if test -n "$ac_tool_prefix"; then
+-    echo "$as_me:$LINENO: checking for file" >&5
+-echo $ECHO_N "checking for file... $ECHO_C" >&6
+-if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  case $MAGIC_CMD in
+-  /*)
+-  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
+-  ;;
+-  ?:/*)
+-  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
+-  ;;
+-  *)
+-  ac_save_MAGIC_CMD="$MAGIC_CMD"
+-  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
+-  ac_dummy="/usr/bin:$PATH"
+-  for ac_dir in $ac_dummy; do
+-    test -z "$ac_dir" && ac_dir=.
+-    if test -f $ac_dir/file; then
+-      lt_cv_path_MAGIC_CMD="$ac_dir/file"
+-      if test -n "$file_magic_test_file"; then
+-	case $deplibs_check_method in
+-	"file_magic "*)
+-	  file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
+-	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
+-	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
+-	    egrep "$file_magic_regex" > /dev/null; then
+-	    :
+-	  else
+-	    cat <<EOF 1>&2
+-
+-*** Warning: the command libtool uses to detect shared libraries,
+-*** $file_magic_cmd, produces output that libtool cannot recognize.
+-*** The result is that libtool may fail to recognize shared libraries
+-*** as such.  This will affect the creation of libtool libraries that
+-*** depend on shared libraries, but programs linked with such libtool
+-*** libraries will work regardless of this problem.  Nevertheless, you
+-*** may want to report the problem to your system manager and/or to
+-*** bug-libtool@gnu.org
+-
+-EOF
+-	  fi ;;
+-	esac
+-      fi
+-      break
+-    fi
+-  done
+-  IFS="$ac_save_ifs"
+-  MAGIC_CMD="$ac_save_MAGIC_CMD"
+-  ;;
+-esac
+-fi
+-
+-MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
+-if test -n "$MAGIC_CMD"; then
+-  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
+-echo "${ECHO_T}$MAGIC_CMD" >&6
+-else
+-  echo "$as_me:$LINENO: result: no" >&5
+-echo "${ECHO_T}no" >&6
+-fi
+-
+-  else
+-    MAGIC_CMD=:
+-  fi
+-fi
+-
+-  fi
+-  ;;
+-esac
+-
++ac_ext=cc
++ac_cpp='$CXXCPP $CPPFLAGS'
++ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+ if test -n "$ac_tool_prefix"; then
+-  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
+-set dummy ${ac_tool_prefix}ranlib; ac_word=$2
++  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
++  do
++    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
++set dummy $ac_tool_prefix$ac_prog; ac_word=$2
+ echo "$as_me:$LINENO: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+-if test "${ac_cv_prog_RANLIB+set}" = set; then
++if test "${ac_cv_prog_CXX+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  if test -n "$RANLIB"; then
+-  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
++  if test -n "$CXX"; then
++  ac_cv_prog_CXX="$CXX" # Let the user override the test.
+ else
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+ for as_dir in $PATH
+@@ -5107,7 +5303,7 @@
+   test -z "$as_dir" && as_dir=.
+   for ac_exec_ext in '' $ac_executable_extensions; do
+   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+-    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
++    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
+     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+     break 2
+   fi
+@@ -5116,27 +5312,31 @@
+ 
+ fi
+ fi
+-RANLIB=$ac_cv_prog_RANLIB
+-if test -n "$RANLIB"; then
+-  echo "$as_me:$LINENO: result: $RANLIB" >&5
+-echo "${ECHO_T}$RANLIB" >&6
++CXX=$ac_cv_prog_CXX
++if test -n "$CXX"; then
++  echo "$as_me:$LINENO: result: $CXX" >&5
++echo "${ECHO_T}$CXX" >&6
+ else
+   echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
++    test -n "$CXX" && break
++  done
+ fi
+-if test -z "$ac_cv_prog_RANLIB"; then
+-  ac_ct_RANLIB=$RANLIB
+-  # Extract the first word of "ranlib", so it can be a program name with args.
+-set dummy ranlib; ac_word=$2
++if test -z "$CXX"; then
++  ac_ct_CXX=$CXX
++  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
++do
++  # Extract the first word of "$ac_prog", so it can be a program name with args.
++set dummy $ac_prog; ac_word=$2
+ echo "$as_me:$LINENO: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+-if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
++if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  if test -n "$ac_ct_RANLIB"; then
+-  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
++  if test -n "$ac_ct_CXX"; then
++  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
+ else
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+ for as_dir in $PATH
+@@ -5145,515 +5345,685 @@
+   test -z "$as_dir" && as_dir=.
+   for ac_exec_ext in '' $ac_executable_extensions; do
+   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+-    ac_cv_prog_ac_ct_RANLIB="ranlib"
++    ac_cv_prog_ac_ct_CXX="$ac_prog"
+     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+     break 2
+   fi
+ done
+ done
+ 
+-  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
+ fi
+ fi
+-ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
+-if test -n "$ac_ct_RANLIB"; then
+-  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
+-echo "${ECHO_T}$ac_ct_RANLIB" >&6
++ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
++if test -n "$ac_ct_CXX"; then
++  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
++echo "${ECHO_T}$ac_ct_CXX" >&6
+ else
+   echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+-  RANLIB=$ac_ct_RANLIB
+-else
+-  RANLIB="$ac_cv_prog_RANLIB"
++  test -n "$ac_ct_CXX" && break
++done
++test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
++
++  CXX=$ac_ct_CXX
+ fi
+ 
+-if test -n "$ac_tool_prefix"; then
+-  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
+-set dummy ${ac_tool_prefix}strip; ac_word=$2
+-echo "$as_me:$LINENO: checking for $ac_word" >&5
+-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+-if test "${ac_cv_prog_STRIP+set}" = set; then
++
++# Provide some information about the compiler.
++echo "$as_me:$LINENO:" \
++     "checking for C++ compiler version" >&5
++ac_compiler=`set X $ac_compile; echo $2`
++{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
++  (eval $ac_compiler --version </dev/null >&5) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }
++{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
++  (eval $ac_compiler -v </dev/null >&5) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }
++{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
++  (eval $ac_compiler -V </dev/null >&5) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }
++
++echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
++echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
++if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  if test -n "$STRIP"; then
+-  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
+-else
+-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+-for as_dir in $PATH
+-do
+-  IFS=$as_save_IFS
+-  test -z "$as_dir" && as_dir=.
+-  for ac_exec_ext in '' $ac_executable_extensions; do
+-  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+-    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
+-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+-    break 2
+-  fi
+-done
+-done
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ 
+-fi
+-fi
+-STRIP=$ac_cv_prog_STRIP
+-if test -n "$STRIP"; then
+-  echo "$as_me:$LINENO: result: $STRIP" >&5
+-echo "${ECHO_T}$STRIP" >&6
++int
++main ()
++{
++#ifndef __GNUC__
++       choke me
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_compiler_gnu=yes
+ else
+-  echo "$as_me:$LINENO: result: no" >&5
+-echo "${ECHO_T}no" >&6
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_compiler_gnu=no
+ fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
+ 
+ fi
+-if test -z "$ac_cv_prog_STRIP"; then
+-  ac_ct_STRIP=$STRIP
+-  # Extract the first word of "strip", so it can be a program name with args.
+-set dummy strip; ac_word=$2
+-echo "$as_me:$LINENO: checking for $ac_word" >&5
+-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+-if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
++echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
++echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
++GXX=`test $ac_compiler_gnu = yes && echo yes`
++ac_test_CXXFLAGS=${CXXFLAGS+set}
++ac_save_CXXFLAGS=$CXXFLAGS
++CXXFLAGS="-g"
++echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
++echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
++if test "${ac_cv_prog_cxx_g+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  if test -n "$ac_ct_STRIP"; then
+-  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_prog_cxx_g=yes
+ else
+-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+-for as_dir in $PATH
+-do
+-  IFS=$as_save_IFS
+-  test -z "$as_dir" && as_dir=.
+-  for ac_exec_ext in '' $ac_executable_extensions; do
+-  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+-    ac_cv_prog_ac_ct_STRIP="strip"
+-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+-    break 2
+-  fi
+-done
+-done
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
+ 
+-  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
++ac_cv_prog_cxx_g=no
+ fi
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
+-if test -n "$ac_ct_STRIP"; then
+-  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
+-echo "${ECHO_T}$ac_ct_STRIP" >&6
+-else
+-  echo "$as_me:$LINENO: result: no" >&5
+-echo "${ECHO_T}no" >&6
+-fi
+-
+-  STRIP=$ac_ct_STRIP
++echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
++echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
++if test "$ac_test_CXXFLAGS" = set; then
++  CXXFLAGS=$ac_save_CXXFLAGS
++elif test $ac_cv_prog_cxx_g = yes; then
++  if test "$GXX" = yes; then
++    CXXFLAGS="-g -O2"
++  else
++    CXXFLAGS="-g"
++  fi
+ else
+-  STRIP="$ac_cv_prog_STRIP"
++  if test "$GXX" = yes; then
++    CXXFLAGS="-O2"
++  else
++    CXXFLAGS=
++  fi
+ fi
+-
+-
+-enable_dlopen=no
+-enable_win32_dll=no
+-
+-# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
+-if test "${enable_libtool_lock+set}" = set; then
+-  enableval="$enable_libtool_lock"
+-
+-fi;
+-test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
+-
+-# Some flags need to be propagated to the compiler or linker for good
+-# libtool support.
+-case $host in
+-*-*-irix6*)
+-  # Find out which ABI we are using.
+-  echo '#line 5268 "configure"' > conftest.$ac_ext
+-  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++for ac_declaration in \
++   '' \
++   'extern "C" void std::exit (int) throw (); using std::exit;' \
++   'extern "C" void std::exit (int); using std::exit;' \
++   'extern "C" void exit (int) throw ();' \
++   'extern "C" void exit (int);' \
++   'void exit (int);'
++do
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_declaration
++#include <stdlib.h>
++int
++main ()
++{
++exit (42);
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-    case `/usr/bin/file conftest.$ac_objext` in
+-    *32-bit*)
+-      LD="${LD-ld} -32"
+-      ;;
+-    *N32*)
+-      LD="${LD-ld} -n32"
+-      ;;
+-    *64-bit*)
+-      LD="${LD-ld} -64"
+-      ;;
+-    esac
+-  fi
+-  rm -rf conftest*
+-  ;;
+-
+-*-*-sco3.2v5*)
+-  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
+-  SAVE_CFLAGS="$CFLAGS"
+-  CFLAGS="$CFLAGS -belf"
+-  echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
+-echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
+-if test "${lt_cv_cc_needs_belf+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  :
+ else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
+ 
+-
+-     ac_ext=c
+-ac_cpp='$CPP $CPPFLAGS'
+-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+-ac_compiler_gnu=$ac_cv_c_compiler_gnu
+-
+-     cat >conftest.$ac_ext <<_ACEOF
++continue
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++  cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_declaration
+ int
+ main ()
+ {
+-
++exit (42);
+   ;
+   return 0;
+ }
+ _ACEOF
+-rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
++         { ac_try='test -s conftest.$ac_objext'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  lt_cv_cc_needs_belf=yes
++  break
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-lt_cv_cc_needs_belf=no
+-fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+-     ac_ext=c
+-ac_cpp='$CPP $CPPFLAGS'
+-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+-ac_compiler_gnu=$ac_cv_c_compiler_gnu
++sed 's/^/| /' conftest.$ac_ext >&5
+ 
+ fi
+-echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
+-echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
+-  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
+-    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
+-    CFLAGS="$SAVE_CFLAGS"
+-  fi
+-  ;;
+-
+-
+-esac
++rm -f conftest.$ac_objext conftest.$ac_ext
++done
++rm -f conftest*
++if test -n "$ac_declaration"; then
++  echo '#ifdef __cplusplus' >>confdefs.h
++  echo $ac_declaration      >>confdefs.h
++  echo '#endif'             >>confdefs.h
++fi
+ 
+-# Sed substitution that helps us do robust quoting.  It backslashifies
+-# metacharacters that are still active within double-quoted strings.
+-Xsed='sed -e s/^X//'
+-sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
++ac_ext=cc
++ac_cpp='$CXXCPP $CPPFLAGS'
++ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+ 
+-# Same as above, but do not quote variable references.
+-double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
++depcc="$CXX"  am_compiler_list=
+ 
+-# Sed substitution to delay expansion of an escaped shell variable in a
+-# double_quote_subst'ed string.
+-delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
++echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
++echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
++if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
++  # We make a subdir and do the tests there.  Otherwise we can end up
++  # making bogus files that we don't know about and never remove.  For
++  # instance it was reported that on HP-UX the gcc test will end up
++  # making a dummy file named `D' -- because `-MD' means `put the output
++  # in D'.
++  mkdir conftest.dir
++  # Copy depcomp to subdir because otherwise we won't find it if we're
++  # using a relative directory.
++  cp "$am_depcomp" conftest.dir
++  cd conftest.dir
+ 
+-# Constants:
+-rm="rm -f"
++  am_cv_CXX_dependencies_compiler_type=none
++  if test "$am_compiler_list" = ""; then
++     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
++  fi
++  for depmode in $am_compiler_list; do
++    # We need to recreate these files for each test, as the compiler may
++    # overwrite some of them when testing with obscure command lines.
++    # This happens at least with the AIX C compiler.
++    echo '#include "conftest.h"' > conftest.c
++    echo 'int i;' > conftest.h
++    echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
+ 
+-# Global variables:
+-default_ofile=libtool
+-can_build_shared=yes
++    case $depmode in
++    nosideeffect)
++      # after this tag, mechanisms are not by side-effect, so they'll
++      # only be used when explicitly requested
++      if test "x$enable_dependency_tracking" = xyes; then
++	continue
++      else
++	break
++      fi
++      ;;
++    none) break ;;
++    esac
++    # We check with `-c' and `-o' for the sake of the "dashmstdout"
++    # mode.  It turns out that the SunPro C++ compiler does not properly
++    # handle `-M -o', and we need to detect this.
++    if depmode=$depmode \
++       source=conftest.c object=conftest.o \
++       depfile=conftest.Po tmpdepfile=conftest.TPo \
++       $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
++       grep conftest.h conftest.Po > /dev/null 2>&1 &&
++       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
++      am_cv_CXX_dependencies_compiler_type=$depmode
++      break
++    fi
++  done
+ 
+-# All known linkers require a `.a' archive for static linking (except M$VC,
+-# which needs '.lib').
+-libext=a
+-ltmain="$ac_aux_dir/ltmain.sh"
+-ofile="$default_ofile"
+-with_gnu_ld="$lt_cv_prog_gnu_ld"
+-need_locks="$enable_libtool_lock"
++  cd ..
++  rm -rf conftest.dir
++else
++  am_cv_CXX_dependencies_compiler_type=none
++fi
+ 
+-old_CC="$CC"
+-old_CFLAGS="$CFLAGS"
++fi
++echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
++echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
++CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
+ 
+-# Set sane defaults for various variables
+-test -z "$AR" && AR=ar
+-test -z "$AR_FLAGS" && AR_FLAGS=cru
+-test -z "$AS" && AS=as
+-test -z "$CC" && CC=cc
+-test -z "$DLLTOOL" && DLLTOOL=dlltool
+-test -z "$LD" && LD=ld
+-test -z "$LN_S" && LN_S="ln -s"
+-test -z "$MAGIC_CMD" && MAGIC_CMD=file
+-test -z "$NM" && NM=nm
+-test -z "$OBJDUMP" && OBJDUMP=objdump
+-test -z "$RANLIB" && RANLIB=:
+-test -z "$STRIP" && STRIP=:
+-test -z "$ac_objext" && ac_objext=o
+ 
+-if test x"$host" != x"$build"; then
+-  ac_tool_prefix=${host_alias}-
++ac_ext=cc
++ac_cpp='$CXXCPP $CPPFLAGS'
++ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
++echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
++echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
++if test -z "$CXXCPP"; then
++  if test "${ac_cv_prog_CXXCPP+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++      # Double quotes because CXXCPP needs to be expanded
++    for CXXCPP in "$CXX -E" "/lib/cpp"
++    do
++      ac_preproc_ok=false
++for ac_cxx_preproc_warn_flag in '' yes
++do
++  # Use a header file that comes with gcc, so configuring glibc
++  # with a fresh cross-compiler works.
++  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++  # <limits.h> exists even on freestanding compilers.
++  # On the NeXT, cc -E runs the code through the compiler's parser,
++  # not just through cpp. "Syntax error" is here to catch this case.
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++                     Syntax error
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_cxx_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
+ else
+-  ac_tool_prefix=
++  ac_cpp_err=yes
+ fi
++if test -z "$ac_cpp_err"; then
++  :
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
+ 
+-# Transform linux* to *-*-linux-gnu*, to support old configure scripts.
+-case $host_os in
+-linux-gnu*) ;;
+-linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
+-esac
++  # Broken: fails on valid input.
++continue
++fi
++rm -f conftest.err conftest.$ac_ext
+ 
+-case $host_os in
+-aix3*)
+-  # AIX sometimes has problems with the GCC collect2 program.  For some
+-  # reason, if we set the COLLECT_NAMES environment variable, the problems
+-  # vanish in a puff of smoke.
+-  if test "X${COLLECT_NAMES+set}" != Xset; then
+-    COLLECT_NAMES=
+-    export COLLECT_NAMES
++  # OK, works on sane cases.  Now check whether non-existent headers
++  # can be detected and how.
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <ac_nonexistent.h>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_cxx_preproc_warn_flag
++  else
++    ac_cpp_err=
+   fi
+-  ;;
+-esac
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  # Broken: success on invalid input.
++continue
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
+ 
+-# Determine commands to create old-style static archives.
+-old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
+-old_postinstall_cmds='chmod 644 $oldlib'
+-old_postuninstall_cmds=
++  # Passes both tests.
++ac_preproc_ok=:
++break
++fi
++rm -f conftest.err conftest.$ac_ext
+ 
+-if test -n "$RANLIB"; then
+-  case $host_os in
+-  openbsd*)
+-    old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
+-    ;;
+-  *)
+-    old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
+-    ;;
+-  esac
+-  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
++done
++# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
++rm -f conftest.err conftest.$ac_ext
++if $ac_preproc_ok; then
++  break
+ fi
+ 
+-# Allow CC to be a program name with arguments.
+-set dummy $CC
+-compiler="$2"
++    done
++    ac_cv_prog_CXXCPP=$CXXCPP
+ 
+-echo "$as_me:$LINENO: checking for objdir" >&5
+-echo $ECHO_N "checking for objdir... $ECHO_C" >&6
+-rm -f .libs 2>/dev/null
+-mkdir .libs 2>/dev/null
+-if test -d .libs; then
+-  objdir=.libs
++fi
++  CXXCPP=$ac_cv_prog_CXXCPP
+ else
+-  # MS-DOS does not allow filenames that begin with a dot.
+-  objdir=_libs
++  ac_cv_prog_CXXCPP=$CXXCPP
+ fi
+-rmdir .libs 2>/dev/null
+-echo "$as_me:$LINENO: result: $objdir" >&5
+-echo "${ECHO_T}$objdir" >&6
+-
+-
+-
+-# Check whether --with-pic or --without-pic was given.
+-if test "${with_pic+set}" = set; then
+-  withval="$with_pic"
+-  pic_mode="$withval"
++echo "$as_me:$LINENO: result: $CXXCPP" >&5
++echo "${ECHO_T}$CXXCPP" >&6
++ac_preproc_ok=false
++for ac_cxx_preproc_warn_flag in '' yes
++do
++  # Use a header file that comes with gcc, so configuring glibc
++  # with a fresh cross-compiler works.
++  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++  # <limits.h> exists even on freestanding compilers.
++  # On the NeXT, cc -E runs the code through the compiler's parser,
++  # not just through cpp. "Syntax error" is here to catch this case.
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++                     Syntax error
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_cxx_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
+ else
+-  pic_mode=default
+-fi;
+-test -z "$pic_mode" && pic_mode=default
+-
+-# We assume here that the value for lt_cv_prog_cc_pic will not be cached
+-# in isolation, and that seeing it set (from the cache) indicates that
+-# the associated values are set (in the cache) correctly too.
+-echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
+-echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
+-if test "${lt_cv_prog_cc_pic+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  :
+ else
+-   lt_cv_prog_cc_pic=
+-  lt_cv_prog_cc_shlib=
+-  lt_cv_prog_cc_wl=
+-  lt_cv_prog_cc_static=
+-  lt_cv_prog_cc_no_builtin=
+-  lt_cv_prog_cc_can_build_shared=$can_build_shared
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
+ 
+-  if test "$GCC" = yes; then
+-    lt_cv_prog_cc_wl='-Wl,'
+-    lt_cv_prog_cc_static='-static'
++  # Broken: fails on valid input.
++continue
++fi
++rm -f conftest.err conftest.$ac_ext
+ 
+-    case $host_os in
+-    aix*)
+-      # Below there is a dirty hack to force normal static linking with -ldl
+-      # The problem is because libdl dynamically linked with both libc and
+-      # libC (AIX C++ library), which obviously doesn't included in libraries
+-      # list by gcc. This cause undefined symbols with -static flags.
+-      # This hack allows C programs to be linked with "-static -ldl", but
+-      # not sure about C++ programs.
+-      lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC"
+-      ;;
+-    amigaos*)
+-      # FIXME: we need at least 68020 code to build shared libraries, but
+-      # adding the `-m68020' flag to GCC prevents building anything better,
+-      # like `-m68040'.
+-      lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4'
+-      ;;
+-    beos* | irix5* | irix6* | osf3* | osf4* | osf5*)
+-      # PIC is the default for these OSes.
+-      ;;
+-    darwin* | rhapsody*)
+-      # PIC is the default on this platform
+-      # Common symbols not allowed in MH_DYLIB files
+-      lt_cv_prog_cc_pic='-fno-common'
+-      ;;
+-    cygwin* | mingw* | pw32* | os2*)
+-      # This hack is so that the source file can tell whether it is being
+-      # built for inclusion in a dll (and should export symbols for example).
+-      lt_cv_prog_cc_pic='-DDLL_EXPORT'
+-      ;;
+-    sysv4*MP*)
+-      if test -d /usr/nec; then
+-	 lt_cv_prog_cc_pic=-Kconform_pic
+-      fi
+-      ;;
+-    *)
+-      lt_cv_prog_cc_pic='-fPIC'
+-      ;;
+-    esac
++  # OK, works on sane cases.  Now check whether non-existent headers
++  # can be detected and how.
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <ac_nonexistent.h>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_cxx_preproc_warn_flag
+   else
+-    # PORTME Check for PIC flags for the system compiler.
+-    case $host_os in
+-    aix3* | aix4* | aix5*)
+-      lt_cv_prog_cc_wl='-Wl,'
+-      # All AIX code is PIC.
+-      if test "$host_cpu" = ia64; then
+-	# AIX 5 now supports IA64 processor
+-	lt_cv_prog_cc_static='-Bstatic'
+-      else
+-	lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp'
+-      fi
+-      ;;
+-
+-    hpux9* | hpux10* | hpux11*)
+-      # Is there a better lt_cv_prog_cc_static that works with the bundled CC?
+-      lt_cv_prog_cc_wl='-Wl,'
+-      lt_cv_prog_cc_static="${lt_cv_prog_cc_wl}-a ${lt_cv_prog_cc_wl}archive"
+-      lt_cv_prog_cc_pic='+Z'
+-      ;;
+-
+-    irix5* | irix6*)
+-      lt_cv_prog_cc_wl='-Wl,'
+-      lt_cv_prog_cc_static='-non_shared'
+-      # PIC (with -KPIC) is the default.
+-      ;;
+-
+-    cygwin* | mingw* | pw32* | os2*)
+-      # This hack is so that the source file can tell whether it is being
+-      # built for inclusion in a dll (and should export symbols for example).
+-      lt_cv_prog_cc_pic='-DDLL_EXPORT'
+-      ;;
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  # Broken: success on invalid input.
++continue
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
+ 
+-    newsos6)
+-      lt_cv_prog_cc_pic='-KPIC'
+-      lt_cv_prog_cc_static='-Bstatic'
+-      ;;
++  # Passes both tests.
++ac_preproc_ok=:
++break
++fi
++rm -f conftest.err conftest.$ac_ext
+ 
+-    osf3* | osf4* | osf5*)
+-      # All OSF/1 code is PIC.
+-      lt_cv_prog_cc_wl='-Wl,'
+-      lt_cv_prog_cc_static='-non_shared'
+-      ;;
++done
++# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
++rm -f conftest.err conftest.$ac_ext
++if $ac_preproc_ok; then
++  :
++else
++  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
++See \`config.log' for more details." >&5
++echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
++See \`config.log' for more details." >&2;}
++   { (exit 1); exit 1; }; }
++fi
+ 
+-    sco3.2v5*)
+-      lt_cv_prog_cc_pic='-Kpic'
+-      lt_cv_prog_cc_static='-dn'
+-      lt_cv_prog_cc_shlib='-belf'
+-      ;;
++ac_ext=cc
++ac_cpp='$CXXCPP $CPPFLAGS'
++ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+ 
+-    solaris*)
+-      lt_cv_prog_cc_pic='-KPIC'
+-      lt_cv_prog_cc_static='-Bstatic'
+-      lt_cv_prog_cc_wl='-Wl,'
+-      ;;
+ 
+-    sunos4*)
+-      lt_cv_prog_cc_pic='-PIC'
+-      lt_cv_prog_cc_static='-Bstatic'
+-      lt_cv_prog_cc_wl='-Qoption ld '
+-      ;;
++ac_ext=f
++ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
++ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_f77_compiler_gnu
++if test -n "$ac_tool_prefix"; then
++  for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
++  do
++    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
++set dummy $ac_tool_prefix$ac_prog; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_F77+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$F77"; then
++  ac_cv_prog_F77="$F77" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
+ 
+-    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
+-      lt_cv_prog_cc_pic='-KPIC'
+-      lt_cv_prog_cc_static='-Bstatic'
+-      if test "x$host_vendor" = xsni; then
+-	lt_cv_prog_cc_wl='-LD'
+-      else
+-	lt_cv_prog_cc_wl='-Wl,'
+-      fi
+-      ;;
++fi
++fi
++F77=$ac_cv_prog_F77
++if test -n "$F77"; then
++  echo "$as_me:$LINENO: result: $F77" >&5
++echo "${ECHO_T}$F77" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
+ 
+-    uts4*)
+-      lt_cv_prog_cc_pic='-pic'
+-      lt_cv_prog_cc_static='-Bstatic'
+-      ;;
++    test -n "$F77" && break
++  done
++fi
++if test -z "$F77"; then
++  ac_ct_F77=$F77
++  for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
++do
++  # Extract the first word of "$ac_prog", so it can be a program name with args.
++set dummy $ac_prog; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$ac_ct_F77"; then
++  ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_ac_ct_F77="$ac_prog"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
+ 
+-    sysv4*MP*)
+-      if test -d /usr/nec ;then
+-	lt_cv_prog_cc_pic='-Kconform_pic'
+-	lt_cv_prog_cc_static='-Bstatic'
+-      fi
+-      ;;
++fi
++fi
++ac_ct_F77=$ac_cv_prog_ac_ct_F77
++if test -n "$ac_ct_F77"; then
++  echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
++echo "${ECHO_T}$ac_ct_F77" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
+ 
+-    *)
+-      lt_cv_prog_cc_can_build_shared=no
+-      ;;
+-    esac
+-  fi
++  test -n "$ac_ct_F77" && break
++done
+ 
++  F77=$ac_ct_F77
+ fi
+ 
+-if test -z "$lt_cv_prog_cc_pic"; then
+-  echo "$as_me:$LINENO: result: none" >&5
+-echo "${ECHO_T}none" >&6
+-else
+-  echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic" >&5
+-echo "${ECHO_T}$lt_cv_prog_cc_pic" >&6
+ 
+-  # Check to make sure the pic_flag actually works.
+-  echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5
+-echo $ECHO_N "checking if $compiler PIC flag $lt_cv_prog_cc_pic works... $ECHO_C" >&6
+-  if test "${lt_cv_prog_cc_pic_works+set}" = set; then
++# Provide some information about the compiler.
++echo "$as_me:5992:" \
++     "checking for Fortran 77 compiler version" >&5
++ac_compiler=`set X $ac_compile; echo $2`
++{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
++  (eval $ac_compiler --version </dev/null >&5) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }
++{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
++  (eval $ac_compiler -v </dev/null >&5) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }
++{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
++  (eval $ac_compiler -V </dev/null >&5) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }
++
++# If we don't use `.F' as extension, the preprocessor is not run on the
++# input file.
++ac_save_ext=$ac_ext
++ac_ext=F
++echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
++echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
++if test "${ac_cv_f77_compiler_gnu+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-      save_CFLAGS="$CFLAGS"
+-    CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"
+-    cat >conftest.$ac_ext <<_ACEOF
+-#line $LINENO "configure"
+-#include "confdefs.h"
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
++  cat >conftest.$ac_ext <<_ACEOF
++      program main
++#ifndef __GNUC__
++       choke me
+ #endif
+-int
+-main ()
+-{
+ 
+-  ;
+-  return 0;
+-}
++      end
+ _ACEOF
+ rm -f conftest.$ac_objext
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+@@ -5667,1740 +6037,13495 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-        case $host_os in
+-      hpux9* | hpux10* | hpux11*)
+-	# On HP-UX, both CC and GCC only warn that PIC is supported... then
+-	# they create non-PIC objects.  So, if there were any warnings, we
+-	# assume that PIC is not supported.
+-	if test -s conftest.err; then
+-	  lt_cv_prog_cc_pic_works=no
+-	else
+-	  lt_cv_prog_cc_pic_works=yes
+-	fi
+-	;;
+-      *)
+-	lt_cv_prog_cc_pic_works=yes
+-	;;
+-      esac
+-
++  ac_compiler_gnu=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-      lt_cv_prog_cc_pic_works=no
++sed 's/^/| /' conftest.$ac_ext >&5
+ 
++ac_compiler_gnu=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+-    CFLAGS="$save_CFLAGS"
+-
+-fi
+-
+-
+-  if test "X$lt_cv_prog_cc_pic_works" = Xno; then
+-    lt_cv_prog_cc_pic=
+-    lt_cv_prog_cc_can_build_shared=no
+-  else
+-    lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic"
+-  fi
+-
+-  echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic_works" >&5
+-echo "${ECHO_T}$lt_cv_prog_cc_pic_works" >&6
+-fi
++ac_cv_f77_compiler_gnu=$ac_compiler_gnu
+ 
+-# Check for any special shared library compilation flags.
+-if test -n "$lt_cv_prog_cc_shlib"; then
+-  { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&5
+-echo "$as_me: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&2;}
+-  if echo "$old_CC $old_CFLAGS " | egrep -e "[ 	]$lt_cv_prog_cc_shlib[ 	]" >/dev/null; then :
+-  else
+-   { echo "$as_me:$LINENO: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
+-echo "$as_me: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
+-    lt_cv_prog_cc_can_build_shared=no
+-  fi
+ fi
+-
+-echo "$as_me:$LINENO: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5
+-echo $ECHO_N "checking if $compiler static flag $lt_cv_prog_cc_static works... $ECHO_C" >&6
+-if test "${lt_cv_prog_cc_static_works+set}" = set; then
++echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
++echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
++ac_ext=$ac_save_ext
++G77=`test $ac_compiler_gnu = yes && echo yes`
++ac_test_FFLAGS=${FFLAGS+set}
++ac_save_FFLAGS=$FFLAGS
++FFLAGS=
++echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
++echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
++if test "${ac_cv_prog_f77_g+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-    lt_cv_prog_cc_static_works=no
+-  save_LDFLAGS="$LDFLAGS"
+-  LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"
+-  cat >conftest.$ac_ext <<_ACEOF
+-#line $LINENO "configure"
+-#include "confdefs.h"
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
++  FFLAGS=-g
++cat >conftest.$ac_ext <<_ACEOF
++      program main
+ 
+-  ;
+-  return 0;
+-}
++      end
+ _ACEOF
+-rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
++         { ac_try='test -s conftest.$ac_objext'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  lt_cv_prog_cc_static_works=yes
++  ac_cv_prog_f77_g=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+-  LDFLAGS="$save_LDFLAGS"
++sed 's/^/| /' conftest.$ac_ext >&5
+ 
++ac_cv_prog_f77_g=no
+ fi
++rm -f conftest.$ac_objext conftest.$ac_ext
+ 
+-
+-# Belt *and* braces to stop my trousers falling down:
+-test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static=
+-echo "$as_me:$LINENO: result: $lt_cv_prog_cc_static_works" >&5
+-echo "${ECHO_T}$lt_cv_prog_cc_static_works" >&6
+-
+-pic_flag="$lt_cv_prog_cc_pic"
+-special_shlib_compile_flags="$lt_cv_prog_cc_shlib"
+-wl="$lt_cv_prog_cc_wl"
+-link_static_flag="$lt_cv_prog_cc_static"
+-no_builtin_flag="$lt_cv_prog_cc_no_builtin"
+-can_build_shared="$lt_cv_prog_cc_can_build_shared"
+-
+-
+-# Check to see if options -o and -c are simultaneously supported by compiler
+-echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
+-echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
+-if test "${lt_cv_compiler_c_o+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-
+-$rm -r conftest 2>/dev/null
+-mkdir conftest
+-cd conftest
+-echo "int some_variable = 0;" > conftest.$ac_ext
+-mkdir out
+-# According to Tom Tromey, Ian Lance Taylor reported there are C compilers
+-# that will create temporary files in the current directory regardless of
+-# the output directory.  Thus, making CWD read-only will cause this test
+-# to fail, enabling locking or at least warning the user not to do parallel
+-# builds.
+-chmod -w .
+-save_CFLAGS="$CFLAGS"
+-CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
+-compiler_c_o=no
+-if { (eval echo configure:5804: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
+-  # The compiler can only warn and ignore the option if not recognized
+-  # So say no if there are warnings
+-  if test -s out/conftest.err; then
+-    lt_cv_compiler_c_o=no
+-  else
+-    lt_cv_compiler_c_o=yes
++fi
++echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
++echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
++if test "$ac_test_FFLAGS" = set; then
++  FFLAGS=$ac_save_FFLAGS
++elif test $ac_cv_prog_f77_g = yes; then
++  if test "$G77" = yes; then
++    FFLAGS="-g -O2"
++  else
++    FFLAGS="-g"
+   fi
+ else
+-  # Append any errors to the config.log.
+-  cat out/conftest.err 1>&5
+-  lt_cv_compiler_c_o=no
++  if test "$G77" = yes; then
++    FFLAGS="-O2"
++  else
++    FFLAGS=
++  fi
+ fi
+-CFLAGS="$save_CFLAGS"
+-chmod u+w .
+-$rm conftest* out/*
+-rmdir out
+-cd ..
+-rmdir conftest
+-$rm -r conftest 2>/dev/null
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
+ 
+-fi
+ 
+-compiler_c_o=$lt_cv_compiler_c_o
+-echo "$as_me:$LINENO: result: $compiler_c_o" >&5
+-echo "${ECHO_T}$compiler_c_o" >&6
+ 
+-if test x"$compiler_c_o" = x"yes"; then
+-  # Check to see if we can write to a .lo
+-  echo "$as_me:$LINENO: checking if $compiler supports -c -o file.lo" >&5
+-echo $ECHO_N "checking if $compiler supports -c -o file.lo... $ECHO_C" >&6
+-  if test "${lt_cv_compiler_o_lo+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
++# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
+ 
+-  lt_cv_compiler_o_lo=no
+-  save_CFLAGS="$CFLAGS"
+-  CFLAGS="$CFLAGS -c -o conftest.lo"
+-  save_objext="$ac_objext"
+-  ac_objext=lo
+-  cat >conftest.$ac_ext <<_ACEOF
+-#line $LINENO "configure"
+-#include "confdefs.h"
++# find the maximum length of command line arguments
++echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
++echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
++if test "${lt_cv_sys_max_cmd_len+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++    i=0
++  testring="ABCD"
++
++  case $build_os in
++  msdosdjgpp*)
++    # On DJGPP, this test can blow up pretty badly due to problems in libc
++    # (any single argument exceeding 2000 bytes causes a buffer overrun
++    # during glob expansion).  Even if it were fixed, the result of this
++    # check would be larger than it should be.
++    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
++    ;;
+ 
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
+-int some_variable = 0;
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
+-      # The compiler can only warn and ignore the option if not recognized
+-    # So say no if there are warnings
+-    if test -s conftest.err; then
+-      lt_cv_compiler_o_lo=no
+-    else
+-      lt_cv_compiler_o_lo=yes
+-    fi
++  gnu*)
++    # Under GNU Hurd, this test is not required because there is
++    # no limit to the length of command line arguments.
++    # Libtool will interpret -1 as no limit whatsoever
++    lt_cv_sys_max_cmd_len=-1;
++    ;;
+ 
+-else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
+-  ac_objext="$save_objext"
+-  CFLAGS="$save_CFLAGS"
++  cygwin* | mingw*)
++    # On Win9x/ME, this test blows up -- it succeeds, but takes
++    # about 5 minutes as the teststring grows exponentially.
++    # Worse, since 9x/ME are not pre-emptively multitasking,
++    # you end up with a "frozen" computer, even though with patience
++    # the test eventually succeeds (with a max line length of 256k).
++    # Instead, let's just punt: use the minimum linelength reported by
++    # all of the supported platforms: 8192 (on NT/2K/XP).
++    lt_cv_sys_max_cmd_len=8192;
++    ;;
+ 
+-fi
++  amigaos*)
++    # On AmigaOS with pdksh, this test takes hours, literally.
++    # So we just punt and use a minimum line length of 8192.
++    lt_cv_sys_max_cmd_len=8192;
++    ;;
++
++ *)
++    # If test is not a shell built-in, we'll probably end up computing a
++    # maximum length that is only half of the actual maximum length, but
++    # we can't tell.
++    while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \
++	       = "XX$testring") >/dev/null 2>&1 &&
++	    new_result=`expr "X$testring" : ".*" 2>&1` &&
++	    lt_cv_sys_max_cmd_len=$new_result &&
++	    test $i != 17 # 1/2 MB should be enough
++    do
++      i=`expr $i + 1`
++      testring=$testring$testring
++    done
++    testring=
++    # Add a significant safety factor because C++ compilers can tack on massive
++    # amounts of additional arguments before passing them to the linker.
++    # It appears as though 1/2 is a usable value.
++    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
++    ;;
++  esac
+ 
+-  compiler_o_lo=$lt_cv_compiler_o_lo
+-  echo "$as_me:$LINENO: result: $compiler_o_lo" >&5
+-echo "${ECHO_T}$compiler_o_lo" >&6
+-else
+-  compiler_o_lo=no
+ fi
+ 
+-# Check to see if we can do hard links to lock some files if needed
+-hard_links="nottested"
+-if test "$compiler_c_o" = no && test "$need_locks" != no; then
+-  # do not overwrite the value of need_locks provided by the user
+-  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
+-echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
+-  hard_links=yes
+-  $rm conftest*
+-  ln conftest.a conftest.b 2>/dev/null && hard_links=no
+-  touch conftest.a
+-  ln conftest.a conftest.b 2>&5 || hard_links=no
+-  ln conftest.a conftest.b 2>/dev/null && hard_links=no
+-  echo "$as_me:$LINENO: result: $hard_links" >&5
+-echo "${ECHO_T}$hard_links" >&6
+-  if test "$hard_links" = no; then
+-    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
+-echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
+-    need_locks=warn
+-  fi
++if test -n $lt_cv_sys_max_cmd_len ; then
++  echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
++echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
+ else
+-  need_locks=no
++  echo "$as_me:$LINENO: result: none" >&5
++echo "${ECHO_T}none" >&6
+ fi
+ 
+-if test "$GCC" = yes; then
+-  # Check to see if options -fno-rtti -fno-exceptions are supported by compiler
+-  echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
+-echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
+-  echo "int some_variable = 0;" > conftest.$ac_ext
+-  save_CFLAGS="$CFLAGS"
+-  CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"
+-  compiler_rtti_exceptions=no
+-  cat >conftest.$ac_ext <<_ACEOF
+-#line $LINENO "configure"
+-#include "confdefs.h"
+ 
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
+-int some_variable = 0;
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
+-      # The compiler can only warn and ignore the option if not recognized
+-    # So say no if there are warnings
+-    if test -s conftest.err; then
+-      compiler_rtti_exceptions=no
+-    else
+-      compiler_rtti_exceptions=yes
+-    fi
+ 
++
++# Check for command to grab the raw symbol name followed by C symbol from nm.
++echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
++echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
++if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
+-  CFLAGS="$save_CFLAGS"
+-  echo "$as_me:$LINENO: result: $compiler_rtti_exceptions" >&5
+-echo "${ECHO_T}$compiler_rtti_exceptions" >&6
+ 
+-  if test "$compiler_rtti_exceptions" = "yes"; then
+-    no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions'
+-  else
+-    no_builtin_flag=' -fno-builtin'
+-  fi
+-fi
++# These are sane defaults that work on at least a few old systems.
++# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
++
++# Character class describing NM global symbol codes.
++symcode='[BCDEGRST]'
+ 
+-# See if the linker supports building shared libraries.
+-echo "$as_me:$LINENO: checking whether the linker ($LD) supports shared libraries" >&5
+-echo $ECHO_N "checking whether the linker ($LD) supports shared libraries... $ECHO_C" >&6
++# Regexp to match symbols that can be accessed directly from C.
++sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
+ 
+-allow_undefined_flag=
+-no_undefined_flag=
+-need_lib_prefix=unknown
+-need_version=unknown
+-# when you set need_version to no, make sure it does not cause -set_version
+-# flags to be left without arguments
+-archive_cmds=
+-archive_expsym_cmds=
+-old_archive_from_new_cmds=
+-old_archive_from_expsyms_cmds=
+-export_dynamic_flag_spec=
+-whole_archive_flag_spec=
+-thread_safe_flag_spec=
+-hardcode_into_libs=no
+-hardcode_libdir_flag_spec=
+-hardcode_libdir_separator=
+-hardcode_direct=no
+-hardcode_minus_L=no
+-hardcode_shlibpath_var=unsupported
+-runpath_var=
+-link_all_deplibs=unknown
+-always_export_symbols=no
+-export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols'
+-# include_expsyms should be a list of space-separated symbols to be *always*
+-# included in the symbol list
+-include_expsyms=
+-# exclude_expsyms can be an egrep regular expression of symbols to exclude
+-# it will be wrapped by ` (' and `)$', so one must not match beginning or
+-# end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
+-# as well as any symbol that contains `d'.
+-exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
+-# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
+-# platforms (ab)use it in PIC code, but their linkers get confused if
+-# the symbol is explicitly referenced.  Since portable code cannot
+-# rely on this symbol name, it's probably fine to never include it in
+-# preloaded symbol tables.
+-extract_expsyms_cmds=
++# Transform the above into a raw symbol and a C symbol.
++symxfrm='\1 \2\3 \3'
++
++# Transform an extracted symbol line into a proper C declaration
++lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
+ 
++# Transform an extracted symbol line into symbol name and symbol address
++lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
++
++# Define system-specific variables.
+ case $host_os in
++aix*)
++  symcode='[BCDT]'
++  ;;
+ cygwin* | mingw* | pw32*)
+-  # FIXME: the MSVC++ port hasn't been tested in a loooong time
+-  # When not using gcc, we currently assume that we are using
+-  # Microsoft Visual C++.
+-  if test "$GCC" != yes; then
+-    with_gnu_ld=no
++  symcode='[ABCDGISTW]'
++  ;;
++hpux*) # Its linker distinguishes data from code symbols
++  if test "$host_cpu" = ia64; then
++    symcode='[ABCDEGRST]'
+   fi
++  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
++  lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
+   ;;
+-openbsd*)
+-  with_gnu_ld=no
++irix* | nonstopux*)
++  symcode='[BCDEGRST]'
++  ;;
++osf*)
++  symcode='[BCDEGQRST]'
++  ;;
++solaris* | sysv5*)
++  symcode='[BDRT]'
++  ;;
++sysv4)
++  symcode='[DFNSTU]'
+   ;;
+ esac
+ 
+-ld_shlibs=yes
+-if test "$with_gnu_ld" = yes; then
+-  # If archive_cmds runs LD, not CC, wlarc should be empty
+-  wlarc='${wl}'
+-
+-  # See if GNU ld supports shared libraries.
+-  case $host_os in
+-  aix3* | aix4* | aix5*)
+-    # On AIX, the GNU linker is very broken
+-    # Note:Check GNU linker on AIX 5-IA64 when/if it becomes available.
+-    ld_shlibs=no
+-    cat <<EOF 1>&2
+-
+-*** Warning: the GNU linker, at least up to release 2.9.1, is reported
+-*** to be unable to reliably create shared libraries on AIX.
+-*** Therefore, libtool is disabling shared libraries support.  If you
+-*** really care for shared libraries, you may want to modify your PATH
+-*** so that a non-GNU linker is found, and then restart.
+-
+-EOF
+-    ;;
+-
+-  amigaos*)
+-    archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
+-    hardcode_libdir_flag_spec='-L$libdir'
+-    hardcode_minus_L=yes
+-
+-    # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
+-    # that the semantics of dynamic libraries on AmigaOS, at least up
+-    # to version 4, is to share data among multiple programs linked
+-    # with the same dynamic library.  Since this doesn't match the
+-    # behavior of shared libraries on other platforms, we can use
+-    # them.
+-    ld_shlibs=no
+-    ;;
+-
+-  beos*)
+-    if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
+-      allow_undefined_flag=unsupported
+-      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
+-      # support --undefined.  This deserves some investigation.  FIXME
+-      archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+-    else
+-      ld_shlibs=no
+-    fi
+-    ;;
+-
+-  cygwin* | mingw* | pw32*)
+-    # hardcode_libdir_flag_spec is actually meaningless, as there is
+-    # no search path for DLLs.
+-    hardcode_libdir_flag_spec='-L$libdir'
+-    allow_undefined_flag=unsupported
+-    always_export_symbols=yes
+-
+-    extract_expsyms_cmds='test -f $output_objdir/impgen.c || \
+-      sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~
+-      test -f $output_objdir/impgen.exe || (cd $output_objdir && \
+-      if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \
+-      else $CC -o impgen impgen.c ; fi)~
+-      $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def'
+-
+-    old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib'
+-
+-    # cygwin and mingw dlls have different entry points and sets of symbols
+-    # to exclude.
+-    # FIXME: what about values for MSVC?
+-    dll_entry=__cygwin_dll_entry@12
+-    dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~
+-    case $host_os in
+-    mingw*)
+-      # mingw values
+-      dll_entry=_DllMainCRTStartup@12
+-      dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~
+-      ;;
+-    esac
+-
+-    # mingw and cygwin differ, and it's simplest to just exclude the union
+-    # of the two symbol sets.
+-    dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12
+-
+-    # recent cygwin and mingw systems supply a stub DllMain which the user
+-    # can override, but on older systems we have to supply one (in ltdll.c)
+-    if test "x$lt_cv_need_dllmain" = "xyes"; then
+-      ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext "
+-      ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < $''0 > $output_objdir/$soname-ltdll.c~
+-	test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~'
+-    else
+-      ltdll_obj=
+-      ltdll_cmds=
+-    fi
++# Handle CRLF in mingw tool chain
++opt_cr=
++case $build_os in
++mingw*)
++  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
++  ;;
++esac
+ 
+-    # Extract the symbol export list from an `--export-all' def file,
+-    # then regenerate the def file from the symbol export list, so that
+-    # the compiled dll only exports the symbol export list.
+-    # Be careful not to strip the DATA tag left be newer dlltools.
+-    export_symbols_cmds="$ltdll_cmds"'
+-      $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~
+-      sed -e "1,/EXPORTS/d" -e "s/ @ [0-9]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols'
+-
+-    # If the export-symbols file already is a .def file (1st line
+-    # is EXPORTS), use it as is.
+-    # If DATA tags from a recent dlltool are present, honour them!
+-    archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then
+-	cp $export_symbols $output_objdir/$soname-def;
+-      else
+-	echo EXPORTS > $output_objdir/$soname-def;
+-	_lt_hint=1;
+-	cat $export_symbols | while read symbol; do
+-	 set dummy \$symbol;
+-	 case \$# in
+-	   2) echo "   \$2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
+-	   *) echo "     \$2 @ \$_lt_hint \$3 ; " >> $output_objdir/$soname-def;;
+-	 esac;
+-	 _lt_hint=`expr 1 + \$_lt_hint`;
+-	done;
+-      fi~
+-      '"$ltdll_cmds"'
+-      $CC -Wl,--base-file,$output_objdir/$soname-base '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
+-      $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp~
+-      $CC -Wl,--base-file,$output_objdir/$soname-base $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
+-      $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp --output-lib $output_objdir/$libname.dll.a~
+-      $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags'
+-    ;;
++# If we're using GNU nm, then use its standard symbol codes.
++case `$NM -V 2>&1` in
++*GNU* | *'with BFD'*)
++  symcode='[ABCDGIRSTW]' ;;
++esac
+ 
+-  netbsd*)
+-    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
+-      archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
+-      wlarc=
+-    else
+-      archive_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+-      archive_expsym_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+-    fi
+-    ;;
++# Try without a prefix undercore, then with it.
++for ac_symprfx in "" "_"; do
+ 
+-  solaris* | sysv5*)
+-    if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then
+-      ld_shlibs=no
+-      cat <<EOF 1>&2
++  # Write the raw and C identifiers.
++  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
+ 
+-*** Warning: The releases 2.8.* of the GNU linker cannot reliably
+-*** create shared libraries on Solaris systems.  Therefore, libtool
+-*** is disabling shared libraries support.  We urge you to upgrade GNU
+-*** binutils to release 2.9.1 or newer.  Another option is to modify
+-*** your PATH or compiler configuration so that the native linker is
+-*** used, and then restart.
++  # Check to see that the pipe works correctly.
++  pipe_works=no
+ 
++  rm -f conftest*
++  cat > conftest.$ac_ext <<EOF
++#ifdef __cplusplus
++extern "C" {
++#endif
++char nm_test_var;
++void nm_test_func(){}
++#ifdef __cplusplus
++}
++#endif
++int main(){nm_test_var='a';nm_test_func();return(0);}
+ EOF
+-    elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
+-      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+-      archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+-    else
+-      ld_shlibs=no
+-    fi
+-    ;;
+-
+-  sunos4*)
+-    archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
+-    wlarc=
+-    hardcode_direct=yes
+-    hardcode_shlibpath_var=no
+-    ;;
+-
+-  *)
+-    if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
+-      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+-      archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+-    else
+-      ld_shlibs=no
+-    fi
+-    ;;
+-  esac
+ 
+-  if test "$ld_shlibs" = yes; then
+-    runpath_var=LD_RUN_PATH
+-    hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
+-    export_dynamic_flag_spec='${wl}--export-dynamic'
+-    case $host_os in
+-    cygwin* | mingw* | pw32*)
+-      # dlltool doesn't understand --whole-archive et. al.
+-      whole_archive_flag_spec=
+-      ;;
+-    *)
+-      # ancient GNU ld didn't support --whole-archive et. al.
+-      if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then
+-	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
++  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; then
++    # Now try to grab the symbols.
++    nlist=conftest.nm
++    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
++  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && test -s "$nlist"; then
++      # Try sorting and uniquifying the output.
++      if sort "$nlist" | uniq > "$nlist"T; then
++	mv -f "$nlist"T "$nlist"
+       else
+-	whole_archive_flag_spec=
++	rm -f "$nlist"T
+       fi
+-      ;;
+-    esac
+-  fi
+-else
+-  # PORTME fill in a description of your system's linker (not GNU ld)
+-  case $host_os in
+-  aix3*)
+-    allow_undefined_flag=unsupported
+-    always_export_symbols=yes
+-    archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
+-    # Note: this linker hardcodes the directories in LIBPATH if there
+-    # are no directories specified by -L.
+-    hardcode_minus_L=yes
+-    if test "$GCC" = yes && test -z "$link_static_flag"; then
+-      # Neither direct hardcoding nor static linking is supported with a
+-      # broken collect2.
+-      hardcode_direct=unsupported
+-    fi
+-    ;;
+ 
+-  aix4* | aix5*)
+-    if test "$host_cpu" = ia64; then
+-      # On IA64, the linker does run time linking by default, so we don't
+-      # have to do anything special.
+-      aix_use_runtimelinking=no
+-      exp_sym_flag='-Bexport'
+-      no_entry_flag=""
+-    else
+-      aix_use_runtimelinking=no
++      # Make sure that we snagged all the symbols we need.
++      if grep ' nm_test_var$' "$nlist" >/dev/null; then
++	if grep ' nm_test_func$' "$nlist" >/dev/null; then
++	  cat <<EOF > conftest.$ac_ext
++#ifdef __cplusplus
++extern "C" {
++#endif
+ 
+-      # Test if we are trying to use run time linking or normal
+-      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
+-      # need to do runtime linking.
+-      case $host_os in aix4.[23]|aix4.[23].*|aix5*)
+-	for ld_flag in $LDFLAGS; do
+-	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
+-	    aix_use_runtimelinking=yes
+-	    break
+-	  fi
+-	done
+-      esac
++EOF
++	  # Now generate the symbol file.
++	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
+ 
+-      exp_sym_flag='-bexport'
+-      no_entry_flag='-bnoentry'
+-    fi
++	  cat <<EOF >> conftest.$ac_ext
++#if defined (__STDC__) && __STDC__
++# define lt_ptr_t void *
++#else
++# define lt_ptr_t char *
++# define const
++#endif
+ 
+-    # When large executables or shared objects are built, AIX ld can
+-    # have problems creating the table of contents.  If linking a library
+-    # or program results in "error TOC overflow" add -mminimal-toc to
+-    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
+-    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
++/* The mapping between symbol names and symbols. */
++const struct {
++  const char *name;
++  lt_ptr_t address;
++}
++lt_preloaded_symbols[] =
++{
++EOF
++	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
++	  cat <<\EOF >> conftest.$ac_ext
++  {0, (lt_ptr_t) 0}
++};
+ 
+-    hardcode_direct=yes
+-    archive_cmds=''
+-    hardcode_libdir_separator=':'
+-    if test "$GCC" = yes; then
+-      case $host_os in aix4.[012]|aix4.[012].*)
+-	collect2name=`${CC} -print-prog-name=collect2`
+-	if test -f "$collect2name" && \
+-	  strings "$collect2name" | grep resolve_lib_name >/dev/null
+-	then
+-	  # We have reworked collect2
+-	  hardcode_direct=yes
++#ifdef __cplusplus
++}
++#endif
++EOF
++	  # Now try linking the two files.
++	  mv conftest.$ac_objext conftstm.$ac_objext
++	  lt_save_LIBS="$LIBS"
++	  lt_save_CFLAGS="$CFLAGS"
++	  LIBS="conftstm.$ac_objext"
++	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
++	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && test -s conftest${ac_exeext}; then
++	    pipe_works=yes
++	  fi
++	  LIBS="$lt_save_LIBS"
++	  CFLAGS="$lt_save_CFLAGS"
+ 	else
+-	  # We have old collect2
+-	  hardcode_direct=unsupported
+-	  # It fails to find uninstalled libraries when the uninstalled
+-	  # path is not listed in the libpath.  Setting hardcode_minus_L
+-	  # to unsupported forces relinking
+-	  hardcode_minus_L=yes
+-	  hardcode_libdir_flag_spec='-L$libdir'
+-	  hardcode_libdir_separator=
++	  echo "cannot find nm_test_func in $nlist" >&5
+ 	fi
+-      esac
+-
+-      shared_flag='-shared'
+-    else
+-      # not using gcc
+-      if test "$host_cpu" = ia64; then
+-	shared_flag='${wl}-G'
+       else
+-	if test "$aix_use_runtimelinking" = yes; then
+-	  shared_flag='${wl}-G'
+-	else
+-	  shared_flag='${wl}-bM:SRE'
+-	fi
++	echo "cannot find nm_test_var in $nlist" >&5
+       fi
+-    fi
+-
+-    # It seems that -bexpall can do strange things, so it is better to
+-    # generate a list of symbols to export.
+-    always_export_symbols=yes
+-    if test "$aix_use_runtimelinking" = yes; then
+-      # Warning - without using the other runtime loading flags (-brtl),
+-      # -berok will link without error, but may produce a broken library.
+-      allow_undefined_flag='-berok'
+-      hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib'
+-      archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
+     else
+-      if test "$host_cpu" = ia64; then
+-	hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
+-	allow_undefined_flag="-z nodefs"
+-	archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
+-      else
+-	hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib'
+-	# Warning - without using the other run time loading flags,
+-	# -berok will link without error, but may produce a broken library.
+-	allow_undefined_flag='${wl}-berok'
+-	# This is a bit strange, but is similar to how AIX traditionally builds
+-	# it's shared libraries.
+-	archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $objdir/$libname$release.a $objdir/$soname'
+-      fi
++      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
+     fi
+-    ;;
+-
+-  amigaos*)
+-    archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
+-    hardcode_libdir_flag_spec='-L$libdir'
+-    hardcode_minus_L=yes
+-    # see comment about different semantics on the GNU ld section
+-    ld_shlibs=no
+-    ;;
+-
+-  cygwin* | mingw* | pw32*)
+-    # When not using gcc, we currently assume that we are using
+-    # Microsoft Visual C++.
+-    # hardcode_libdir_flag_spec is actually meaningless, as there is
+-    # no search path for DLLs.
+-    hardcode_libdir_flag_spec=' '
+-    allow_undefined_flag=unsupported
+-    # Tell ltmain to make .lib files, not .a files.
+-    libext=lib
+-    # FIXME: Setting linknames here is a bad hack.
+-    archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames='
+-    # The linker will automatically build a .lib file if we build a DLL.
+-    old_archive_from_new_cmds='true'
+-    # FIXME: Should let the user specify the lib program.
+-    old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
+-    fix_srcfile_path='`cygpath -w "$srcfile"`'
+-    ;;
++  else
++    echo "$progname: failed program was:" >&5
++    cat conftest.$ac_ext >&5
++  fi
++  rm -f conftest* conftst*
+ 
+-  darwin* | rhapsody*)
+-    case "$host_os" in
+-    rhapsody* | darwin1.[012])
+-      allow_undefined_flag='-undefined suppress'
+-      ;;
+-    *) # Darwin 1.3 on
+-      allow_undefined_flag='-flat_namespace -undefined suppress'
+-      ;;
+-    esac
+-    # FIXME: Relying on posixy $() will cause problems for
+-    #        cross-compilation, but unfortunately the echo tests do not
+-    #        yet detect zsh echo's removal of \ escapes.
+-    archive_cmds='$nonopt $(test "x$module" = xyes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linker_flags -install_name $rpath/$soname $verstring'
+-    # We need to add '_' to the symbols in $export_symbols first
+-    #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
+-    hardcode_direct=yes
+-    hardcode_shlibpath_var=no
+-    whole_archive_flag_spec='-all_load $convenience'
+-    ;;
++  # Do not use the global_symbol_pipe unless it works.
++  if test "$pipe_works" = yes; then
++    break
++  else
++    lt_cv_sys_global_symbol_pipe=
++  fi
++done
+ 
+-  freebsd1*)
+-    ld_shlibs=no
+-    ;;
++fi
+ 
+-  # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
+-  # support.  Future versions do this automatically, but an explicit c++rt0.o
+-  # does not break anything, and helps significantly (at the cost of a little
+-  # extra space).
+-  freebsd2.2*)
+-    archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
+-    hardcode_libdir_flag_spec='-R$libdir'
+-    hardcode_direct=yes
+-    hardcode_shlibpath_var=no
+-    ;;
++if test -z "$lt_cv_sys_global_symbol_pipe"; then
++  lt_cv_sys_global_symbol_to_cdecl=
++fi
++if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
++  echo "$as_me:$LINENO: result: failed" >&5
++echo "${ECHO_T}failed" >&6
++else
++  echo "$as_me:$LINENO: result: ok" >&5
++echo "${ECHO_T}ok" >&6
++fi
+ 
+-  # Unfortunately, older versions of FreeBSD 2 do not have this feature.
+-  freebsd2*)
+-    archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
+-    hardcode_direct=yes
+-    hardcode_minus_L=yes
+-    hardcode_shlibpath_var=no
+-    ;;
++echo "$as_me:$LINENO: checking for objdir" >&5
++echo $ECHO_N "checking for objdir... $ECHO_C" >&6
++if test "${lt_cv_objdir+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  rm -f .libs 2>/dev/null
++mkdir .libs 2>/dev/null
++if test -d .libs; then
++  lt_cv_objdir=.libs
++else
++  # MS-DOS does not allow filenames that begin with a dot.
++  lt_cv_objdir=_libs
++fi
++rmdir .libs 2>/dev/null
++fi
++echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
++echo "${ECHO_T}$lt_cv_objdir" >&6
++objdir=$lt_cv_objdir
+ 
+-  # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
+-  freebsd*)
+-    archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
+-    hardcode_libdir_flag_spec='-R$libdir'
+-    hardcode_direct=yes
+-    hardcode_shlibpath_var=no
+-    ;;
+ 
+-  hpux9* | hpux10* | hpux11*)
+-    case $host_os in
+-    hpux9*) archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ;;
+-    *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;;
+-    esac
+-    hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
+-    hardcode_libdir_separator=:
+-    hardcode_direct=yes
+-    hardcode_minus_L=yes # Not in the search PATH, but as the default
+-			 # location of the library.
+-    export_dynamic_flag_spec='${wl}-E'
+-    ;;
+ 
+-  irix5* | irix6*)
+-    if test "$GCC" = yes; then
+-      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+-    else
+-      archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
+-    fi
+-    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
+-    hardcode_libdir_separator=:
+-    link_all_deplibs=yes
+-    ;;
+ 
+-  netbsd*)
+-    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
+-      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
+-    else
+-      archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
+-    fi
+-    hardcode_libdir_flag_spec='-R$libdir'
+-    hardcode_direct=yes
+-    hardcode_shlibpath_var=no
+-    ;;
+ 
+-  newsos6)
+-    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+-    hardcode_direct=yes
+-    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
+-    hardcode_libdir_separator=:
+-    hardcode_shlibpath_var=no
+-    ;;
++case $host_os in
++aix3*)
++  # AIX sometimes has problems with the GCC collect2 program.  For some
++  # reason, if we set the COLLECT_NAMES environment variable, the problems
++  # vanish in a puff of smoke.
++  if test "X${COLLECT_NAMES+set}" != Xset; then
++    COLLECT_NAMES=
++    export COLLECT_NAMES
++  fi
++  ;;
++esac
+ 
+-  openbsd*)
+-    hardcode_direct=yes
+-    hardcode_shlibpath_var=no
+-    if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
+-      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
+-      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
+-      export_dynamic_flag_spec='${wl}-E'
+-    else
+-      case "$host_os" in
+-      openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
+-	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
+-	hardcode_libdir_flag_spec='-R$libdir'
+-        ;;
+-      *)
+-        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
+-        hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
+-        ;;
+-      esac
+-    fi
+-    ;;
++# Sed substitution that helps us do robust quoting.  It backslashifies
++# metacharacters that are still active within double-quoted strings.
++Xsed='sed -e s/^X//'
++sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
+ 
+-  os2*)
+-    hardcode_libdir_flag_spec='-L$libdir'
+-    hardcode_minus_L=yes
+-    allow_undefined_flag=unsupported
+-    archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
+-    old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
+-    ;;
++# Same as above, but do not quote variable references.
++double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
+ 
+-  osf3*)
+-    if test "$GCC" = yes; then
+-      allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
+-      archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+-    else
+-      allow_undefined_flag=' -expect_unresolved \*'
+-      archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
+-    fi
+-    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
+-    hardcode_libdir_separator=:
+-    ;;
++# Sed substitution to delay expansion of an escaped shell variable in a
++# double_quote_subst'ed string.
++delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
+ 
+-  osf4* | osf5*)	# as osf3* with the addition of -msym flag
+-    if test "$GCC" = yes; then
+-      allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
+-      archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+-      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
+-    else
+-      allow_undefined_flag=' -expect_unresolved \*'
+-      archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
+-      archive_expsym_cmds='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
+-      $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
++# Sed substitution to avoid accidental globbing in evaled expressions
++no_glob_subst='s/\*/\\\*/g'
+ 
+-      #Both c and cxx compiler support -rpath directly
+-      hardcode_libdir_flag_spec='-rpath $libdir'
+-    fi
+-    hardcode_libdir_separator=:
+-    ;;
++# Constants:
++rm="rm -f"
+ 
+-  sco3.2v5*)
+-    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+-    hardcode_shlibpath_var=no
+-    runpath_var=LD_RUN_PATH
+-    hardcode_runpath_var=yes
+-    export_dynamic_flag_spec='${wl}-Bexport'
+-    ;;
++# Global variables:
++default_ofile=libtool
++can_build_shared=yes
+ 
+-  solaris*)
+-    # gcc --version < 3.0 without binutils cannot create self contained
+-    # shared libraries reliably, requiring libgcc.a to resolve some of
+-    # the object symbols generated in some cases.  Libraries that use
+-    # assert need libgcc.a to resolve __eprintf, for example.  Linking
+-    # a copy of libgcc.a into every shared library to guarantee resolving
+-    # such symbols causes other problems:  According to Tim Van Holder
+-    # <tim.van.holder@pandora.be>, C++ libraries end up with a separate
+-    # (to the application) exception stack for one thing.
+-    no_undefined_flag=' -z defs'
+-    if test "$GCC" = yes; then
+-      case `$CC --version 2>/dev/null` in
+-      [12].*)
+-	cat <<EOF 1>&2
++# All known linkers require a `.a' archive for static linking (except M$VC,
++# which needs '.lib').
++libext=a
++ltmain="$ac_aux_dir/ltmain.sh"
++ofile="$default_ofile"
++with_gnu_ld="$lt_cv_prog_gnu_ld"
+ 
+-*** Warning: Releases of GCC earlier than version 3.0 cannot reliably
+-*** create self contained shared libraries on Solaris systems, without
+-*** introducing a dependency on libgcc.a.  Therefore, libtool is disabling
+-*** -no-undefined support, which will at least allow you to build shared
+-*** libraries.  However, you may find that when you link such libraries
+-*** into an application without using GCC, you have to manually add
+-*** \`gcc --print-libgcc-file-name\` to the link command.  We urge you to
+-*** upgrade to a newer version of GCC.  Another option is to rebuild your
+-*** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer.
++if test -n "$ac_tool_prefix"; then
++  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
++set dummy ${ac_tool_prefix}ar; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_AR+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$AR"; then
++  ac_cv_prog_AR="$AR" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_AR="${ac_tool_prefix}ar"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
+ 
+-EOF
+-        no_undefined_flag=
+-	;;
+-      esac
+-    fi
+-    # $CC -shared without GNU ld will not create a library from C++
+-    # object files and a static libstdc++, better avoid it by now
+-    archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
+-    archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
+-		$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
+-    hardcode_libdir_flag_spec='-R$libdir'
+-    hardcode_shlibpath_var=no
+-    case $host_os in
+-    solaris2.[0-5] | solaris2.[0-5].*) ;;
+-    *) # Supported since Solaris 2.6 (maybe 2.5.1?)
+-      whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
+-    esac
+-    link_all_deplibs=yes
+-    ;;
++fi
++fi
++AR=$ac_cv_prog_AR
++if test -n "$AR"; then
++  echo "$as_me:$LINENO: result: $AR" >&5
++echo "${ECHO_T}$AR" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
+ 
+-  sunos4*)
+-    if test "x$host_vendor" = xsequent; then
+-      # Use $CC to link under sequent, because it throws in some extra .o
+-      # files that make .init and .fini sections work.
+-      archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
+-    else
+-      archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
+-    fi
+-    hardcode_libdir_flag_spec='-L$libdir'
+-    hardcode_direct=yes
+-    hardcode_minus_L=yes
+-    hardcode_shlibpath_var=no
+-    ;;
++fi
++if test -z "$ac_cv_prog_AR"; then
++  ac_ct_AR=$AR
++  # Extract the first word of "ar", so it can be a program name with args.
++set dummy ar; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$ac_ct_AR"; then
++  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_ac_ct_AR="ar"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
+ 
+-  sysv4)
+-    if test "x$host_vendor" = xsno; then
+-      archive_cmds='$LD -G -Bsymbolic -h $soname -o $lib $libobjs $deplibs $linker_flags'
+-      hardcode_direct=yes # is this really true???
+-    else
+-      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+-      hardcode_direct=no #Motorola manual says yes, but my tests say they lie
+-    fi
+-    runpath_var='LD_RUN_PATH'
+-    hardcode_shlibpath_var=no
+-    ;;
++  test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
++fi
++fi
++ac_ct_AR=$ac_cv_prog_ac_ct_AR
++if test -n "$ac_ct_AR"; then
++  echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
++echo "${ECHO_T}$ac_ct_AR" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
+ 
+-  sysv4.3*)
+-    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+-    hardcode_shlibpath_var=no
+-    export_dynamic_flag_spec='-Bexport'
+-    ;;
+-
+-  sysv5*)
+-    no_undefined_flag=' -z text'
+-    # $CC -shared without GNU ld will not create a library from C++
+-    # object files and a static libstdc++, better avoid it by now
+-    archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
+-    archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
+-		$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
+-    hardcode_libdir_flag_spec=
+-    hardcode_shlibpath_var=no
+-    runpath_var='LD_RUN_PATH'
+-    ;;
+-
+-  uts4*)
+-    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+-    hardcode_libdir_flag_spec='-L$libdir'
+-    hardcode_shlibpath_var=no
+-    ;;
++  AR=$ac_ct_AR
++else
++  AR="$ac_cv_prog_AR"
++fi
+ 
+-  dgux*)
+-    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+-    hardcode_libdir_flag_spec='-L$libdir'
+-    hardcode_shlibpath_var=no
+-    ;;
++if test -n "$ac_tool_prefix"; then
++  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
++set dummy ${ac_tool_prefix}ranlib; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_RANLIB+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$RANLIB"; then
++  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
+ 
+-  sysv4*MP*)
+-    if test -d /usr/nec; then
+-      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+-      hardcode_shlibpath_var=no
+-      runpath_var=LD_RUN_PATH
+-      hardcode_runpath_var=yes
+-      ld_shlibs=yes
+-    fi
+-    ;;
++fi
++fi
++RANLIB=$ac_cv_prog_RANLIB
++if test -n "$RANLIB"; then
++  echo "$as_me:$LINENO: result: $RANLIB" >&5
++echo "${ECHO_T}$RANLIB" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
+ 
+-  sysv4.2uw2*)
+-    archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
+-    hardcode_direct=yes
+-    hardcode_minus_L=no
+-    hardcode_shlibpath_var=no
+-    hardcode_runpath_var=yes
+-    runpath_var=LD_RUN_PATH
+-    ;;
++fi
++if test -z "$ac_cv_prog_RANLIB"; then
++  ac_ct_RANLIB=$RANLIB
++  # Extract the first word of "ranlib", so it can be a program name with args.
++set dummy ranlib; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$ac_ct_RANLIB"; then
++  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_ac_ct_RANLIB="ranlib"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
+ 
+-  sysv5uw7* | unixware7*)
+-    no_undefined_flag='${wl}-z ${wl}text'
+-    if test "$GCC" = yes; then
+-      archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
+-    else
+-      archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
+-    fi
+-    runpath_var='LD_RUN_PATH'
+-    hardcode_shlibpath_var=no
+-    ;;
++  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
++fi
++fi
++ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
++if test -n "$ac_ct_RANLIB"; then
++  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
++echo "${ECHO_T}$ac_ct_RANLIB" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  RANLIB=$ac_ct_RANLIB
++else
++  RANLIB="$ac_cv_prog_RANLIB"
++fi
++
++if test -n "$ac_tool_prefix"; then
++  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
++set dummy ${ac_tool_prefix}strip; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_STRIP+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$STRIP"; then
++  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++STRIP=$ac_cv_prog_STRIP
++if test -n "$STRIP"; then
++  echo "$as_me:$LINENO: result: $STRIP" >&5
++echo "${ECHO_T}$STRIP" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++fi
++if test -z "$ac_cv_prog_STRIP"; then
++  ac_ct_STRIP=$STRIP
++  # Extract the first word of "strip", so it can be a program name with args.
++set dummy strip; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$ac_ct_STRIP"; then
++  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_ac_ct_STRIP="strip"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
++fi
++fi
++ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
++if test -n "$ac_ct_STRIP"; then
++  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
++echo "${ECHO_T}$ac_ct_STRIP" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  STRIP=$ac_ct_STRIP
++else
++  STRIP="$ac_cv_prog_STRIP"
++fi
++
++
++old_CC="$CC"
++old_CFLAGS="$CFLAGS"
++
++# Set sane defaults for various variables
++test -z "$AR" && AR=ar
++test -z "$AR_FLAGS" && AR_FLAGS=cru
++test -z "$AS" && AS=as
++test -z "$CC" && CC=cc
++test -z "$LTCC" && LTCC=$CC
++test -z "$DLLTOOL" && DLLTOOL=dlltool
++test -z "$LD" && LD=ld
++test -z "$LN_S" && LN_S="ln -s"
++test -z "$MAGIC_CMD" && MAGIC_CMD=file
++test -z "$NM" && NM=nm
++test -z "$SED" && SED=sed
++test -z "$OBJDUMP" && OBJDUMP=objdump
++test -z "$RANLIB" && RANLIB=:
++test -z "$STRIP" && STRIP=:
++test -z "$ac_objext" && ac_objext=o
++
++# Determine commands to create old-style static archives.
++old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
++old_postinstall_cmds='chmod 644 $oldlib'
++old_postuninstall_cmds=
+ 
++if test -n "$RANLIB"; then
++  case $host_os in
++  openbsd*)
++    old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
++    ;;
+   *)
+-    ld_shlibs=no
++    old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
+     ;;
+   esac
++  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
+ fi
+-echo "$as_me:$LINENO: result: $ld_shlibs" >&5
+-echo "${ECHO_T}$ld_shlibs" >&6
+-test "$ld_shlibs" = no && can_build_shared=no
+-
+-# Check hardcoding attributes.
+-echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
+-echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
+-hardcode_action=
+-if test -n "$hardcode_libdir_flag_spec" || \
+-   test -n "$runpath_var"; then
+ 
+-  # We can hardcode non-existant directories.
+-  if test "$hardcode_direct" != no &&
+-     # If the only mechanism to avoid hardcoding is shlibpath_var, we
+-     # have to relink, otherwise we might link with an installed library
+-     # when we should be linking with a yet-to-be-installed one
+-     ## test "$hardcode_shlibpath_var" != no &&
+-     test "$hardcode_minus_L" != no; then
+-    # Linking always hardcodes the temporary library directory.
+-    hardcode_action=relink
+-  else
+-    # We can link without hardcoding, and we can hardcode nonexisting dirs.
+-    hardcode_action=immediate
+-  fi
++# Only perform the check for file, if the check method requires it
++case $deplibs_check_method in
++file_magic*)
++  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
++    echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
++echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
++if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  # We cannot hardcode anything, or else we can only hardcode existing
+-  # directories.
+-  hardcode_action=unsupported
++  case $MAGIC_CMD in
++[\\/*] |  ?:[\\/]*)
++  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
++  ;;
++*)
++  lt_save_MAGIC_CMD="$MAGIC_CMD"
++  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
++  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
++  for ac_dir in $ac_dummy; do
++    IFS="$lt_save_ifs"
++    test -z "$ac_dir" && ac_dir=.
++    if test -f $ac_dir/${ac_tool_prefix}file; then
++      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
++      if test -n "$file_magic_test_file"; then
++	case $deplibs_check_method in
++	"file_magic "*)
++	  file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
++	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
++	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
++	    $EGREP "$file_magic_regex" > /dev/null; then
++	    :
++	  else
++	    cat <<EOF 1>&2
++
++*** Warning: the command libtool uses to detect shared libraries,
++*** $file_magic_cmd, produces output that libtool cannot recognize.
++*** The result is that libtool may fail to recognize shared libraries
++*** as such.  This will affect the creation of libtool libraries that
++*** depend on shared libraries, but programs linked with such libtool
++*** libraries will work regardless of this problem.  Nevertheless, you
++*** may want to report the problem to your system manager and/or to
++*** bug-libtool@gnu.org
++
++EOF
++	  fi ;;
++	esac
++      fi
++      break
++    fi
++  done
++  IFS="$lt_save_ifs"
++  MAGIC_CMD="$lt_save_MAGIC_CMD"
++  ;;
++esac
+ fi
+-echo "$as_me:$LINENO: result: $hardcode_action" >&5
+-echo "${ECHO_T}$hardcode_action" >&6
+ 
+-striplib=
+-old_striplib=
+-echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
+-echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
+-if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
+-  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
+-  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
+-  echo "$as_me:$LINENO: result: yes" >&5
+-echo "${ECHO_T}yes" >&6
++MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
++if test -n "$MAGIC_CMD"; then
++  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
++echo "${ECHO_T}$MAGIC_CMD" >&6
+ else
+   echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+ 
+-reload_cmds='$LD$reload_flag -o $output$reload_objs'
+-test -z "$deplibs_check_method" && deplibs_check_method=unknown
++if test -z "$lt_cv_path_MAGIC_CMD"; then
++  if test -n "$ac_tool_prefix"; then
++    echo "$as_me:$LINENO: checking for file" >&5
++echo $ECHO_N "checking for file... $ECHO_C" >&6
++if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  case $MAGIC_CMD in
++[\\/*] |  ?:[\\/]*)
++  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
++  ;;
++*)
++  lt_save_MAGIC_CMD="$MAGIC_CMD"
++  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
++  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
++  for ac_dir in $ac_dummy; do
++    IFS="$lt_save_ifs"
++    test -z "$ac_dir" && ac_dir=.
++    if test -f $ac_dir/file; then
++      lt_cv_path_MAGIC_CMD="$ac_dir/file"
++      if test -n "$file_magic_test_file"; then
++	case $deplibs_check_method in
++	"file_magic "*)
++	  file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
++	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
++	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
++	    $EGREP "$file_magic_regex" > /dev/null; then
++	    :
++	  else
++	    cat <<EOF 1>&2
+ 
+-# PORTME Fill in your ld.so characteristics
+-echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
+-echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
+-library_names_spec=
+-libname_spec='lib$name'
+-soname_spec=
+-postinstall_cmds=
+-postuninstall_cmds=
+-finish_cmds=
+-finish_eval=
+-shlibpath_var=
+-shlibpath_overrides_runpath=unknown
+-version_type=none
+-dynamic_linker="$host_os ld.so"
+-sys_lib_dlsearch_path_spec="/lib /usr/lib"
+-sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
++*** Warning: the command libtool uses to detect shared libraries,
++*** $file_magic_cmd, produces output that libtool cannot recognize.
++*** The result is that libtool may fail to recognize shared libraries
++*** as such.  This will affect the creation of libtool libraries that
++*** depend on shared libraries, but programs linked with such libtool
++*** libraries will work regardless of this problem.  Nevertheless, you
++*** may want to report the problem to your system manager and/or to
++*** bug-libtool@gnu.org
+ 
+-case $host_os in
+-aix3*)
+-  version_type=linux
+-  library_names_spec='${libname}${release}.so$versuffix $libname.a'
+-  shlibpath_var=LIBPATH
++EOF
++	  fi ;;
++	esac
++      fi
++      break
++    fi
++  done
++  IFS="$lt_save_ifs"
++  MAGIC_CMD="$lt_save_MAGIC_CMD"
++  ;;
++esac
++fi
++
++MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
++if test -n "$MAGIC_CMD"; then
++  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
++echo "${ECHO_T}$MAGIC_CMD" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  else
++    MAGIC_CMD=:
++  fi
++fi
+ 
+-  # AIX has no versioning support, so we append a major version to the name.
+-  soname_spec='${libname}${release}.so$major'
++  fi
+   ;;
++esac
+ 
+-aix4* | aix5*)
+-  version_type=linux
+-  if test "$host_cpu" = ia64; then
+-    # AIX 5 supports IA64
+-    library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so'
+-    shlibpath_var=LD_LIBRARY_PATH
++enable_dlopen=no
++enable_win32_dll=no
++
++# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
++if test "${enable_libtool_lock+set}" = set; then
++  enableval="$enable_libtool_lock"
++
++fi;
++test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
++
++
++# Check whether --with-pic or --without-pic was given.
++if test "${with_pic+set}" = set; then
++  withval="$with_pic"
++  pic_mode="$withval"
++else
++  pic_mode=default
++fi;
++test -z "$pic_mode" && pic_mode=default
++
++# Use C for the default configuration in the libtool script
++tagname=
++lt_save_CC="$CC"
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++
++# Source file extension for C test sources.
++ac_ext=c
++
++# Object file extension for compiled C test sources.
++objext=o
++objext=$objext
++
++# Code to be used in simple compile tests
++lt_simple_compile_test_code="int some_variable = 0;\n"
++
++# Code to be used in simple link tests
++lt_simple_link_test_code='int main(){return(0);}\n'
++
++
++# If no C compiler was specified, use CC.
++LTCC=${LTCC-"$CC"}
++
++# Allow CC to be a program name with arguments.
++compiler=$CC
++
++
++#
++# Check for any special shared library compilation flags.
++#
++lt_prog_cc_shlib=
++if test "$GCC" = no; then
++  case $host_os in
++  sco3.2v5*)
++    lt_prog_cc_shlib='-belf'
++    ;;
++  esac
++fi
++if test -n "$lt_prog_cc_shlib"; then
++  { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
++echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
++  if echo "$old_CC $old_CFLAGS " | grep "[ 	]$lt_prog_cc_shlib[ 	]" >/dev/null; then :
+   else
+-    # With GCC up to 2.95.x, collect2 would create an import file
+-    # for dependence libraries.  The import file would start with
+-    # the line `#! .'.  This would cause the generated library to
+-    # depend on `.', always an invalid library.  This was fixed in
+-    # development snapshots of GCC prior to 3.0.
++    { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
++echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
++    lt_cv_prog_cc_can_build_shared=no
++  fi
++fi
++
++
++#
++# Check to make sure the static flag actually works.
++#
++echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
++echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
++if test "${lt_prog_compiler_static_works+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  lt_prog_compiler_static_works=no
++   save_LDFLAGS="$LDFLAGS"
++   LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
++   printf "$lt_simple_link_test_code" > conftest.$ac_ext
++   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
++     # The compiler can only warn and ignore the option if not recognized
++     # So say no if there are warnings
++     if test -s conftest.err; then
++       # Append any errors to the config.log.
++       cat conftest.err 1>&5
++     else
++       lt_prog_compiler_static_works=yes
++     fi
++   fi
++   $rm conftest*
++   LDFLAGS="$save_LDFLAGS"
++
++fi
++echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
++echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
++
++if test x"$lt_prog_compiler_static_works" = xyes; then
++    :
++else
++    lt_prog_compiler_static=
++fi
++
++
++
++
++lt_prog_compiler_no_builtin_flag=
++
++if test "$GCC" = yes; then
++  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
++
++
++echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
++echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
++if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  lt_cv_prog_compiler_rtti_exceptions=no
++  ac_outfile=conftest.$ac_objext
++   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
++   lt_compiler_flag="-fno-rtti -fno-exceptions"
++   # Insert the option either (1) after the last *FLAGS variable, or
++   # (2) before a word containing "conftest.", or (3) at the end.
++   # Note that $ac_compile itself does not contain backslashes and begins
++   # with a dollar sign (not a hyphen), so the echo should work correctly.
++   # The option is referenced via a variable to avoid confusing sed.
++   lt_compile=`echo "$ac_compile" | $SED \
++   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
++   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
++   -e 's:$: $lt_compiler_flag:'`
++   (eval echo "\"\$as_me:7004: $lt_compile\"" >&5)
++   (eval "$lt_compile" 2>conftest.err)
++   ac_status=$?
++   cat conftest.err >&5
++   echo "$as_me:7008: \$? = $ac_status" >&5
++   if (exit $ac_status) && test -s "$ac_outfile"; then
++     # The compiler can only warn and ignore the option if not recognized
++     # So say no if there are warnings
++     if test ! -s conftest.err; then
++       lt_cv_prog_compiler_rtti_exceptions=yes
++     fi
++   fi
++   $rm conftest*
++
++fi
++echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
++echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
++
++if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
++    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
++else
++    :
++fi
++
++fi
++
++lt_prog_compiler_wl=
++lt_prog_compiler_pic=
++lt_prog_compiler_static=
++
++echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
++echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
++
++  if test "$GCC" = yes; then
++    lt_prog_compiler_wl='-Wl,'
++    lt_prog_compiler_static='-static'
++
+     case $host_os in
+-      aix4 | aix4.[01] | aix4.[01].*)
+-	if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
+-	     echo ' yes '
+-	     echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
+-	  :
+-	else
+-	  can_build_shared=no
+-	fi
+-	;;
+-    esac
+-    # AIX (on Power*) has no versioning support, so currently we can
+-    # not hardcode correct soname into executable. Probably we can
+-    # add versioning support to collect2, so additional links can
+-    # be useful in future.
+-    if test "$aix_use_runtimelinking" = yes; then
+-      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
+-      # instead of lib<name>.a to let people know that these are not
+-      # typical AIX shared libraries.
+-      library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
+-    else
+-      # We preserve .a as extension for shared libraries through AIX4.2
+-      # and later when we are not doing run time linking.
+-      library_names_spec='${libname}${release}.a $libname.a'
+-      soname_spec='${libname}${release}.so$major'
++      aix*)
++      # All AIX code is PIC.
++      if test "$host_cpu" = ia64; then
++	# AIX 5 now supports IA64 processor
++	lt_prog_compiler_static='-Bstatic'
++      fi
++      ;;
++
++    amigaos*)
++      # FIXME: we need at least 68020 code to build shared libraries, but
++      # adding the `-m68020' flag to GCC prevents building anything better,
++      # like `-m68040'.
++      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
++      ;;
++
++    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
++      # PIC is the default for these OSes.
++      ;;
++
++    mingw* | pw32* | os2*)
++      # This hack is so that the source file can tell whether it is being
++      # built for inclusion in a dll (and should export symbols for example).
++      lt_prog_compiler_pic='-DDLL_EXPORT'
++      ;;
++
++    darwin* | rhapsody*)
++      # PIC is the default on this platform
++      # Common symbols not allowed in MH_DYLIB files
++      lt_prog_compiler_pic='-fno-common'
++      ;;
++
++    msdosdjgpp*)
++      # Just because we use GCC doesn't mean we suddenly get shared libraries
++      # on systems that don't support them.
++      lt_prog_compiler_can_build_shared=no
++      enable_shared=no
++      ;;
++
++    sysv4*MP*)
++      if test -d /usr/nec; then
++	lt_prog_compiler_pic=-Kconform_pic
++      fi
++      ;;
++
++    hpux*)
++      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
++      # not for PA HP-UX.
++      case "$host_cpu" in
++      hppa*64*|ia64*)
++	# +Z the default
++	;;
++      *)
++	lt_prog_compiler_pic='-fPIC'
++	;;
++      esac
++      ;;
++
++    *)
++      lt_prog_compiler_pic='-fPIC'
++      ;;
++    esac
++  else
++    # PORTME Check for flag to pass linker flags through the system compiler.
++    case $host_os in
++    aix*)
++      lt_prog_compiler_wl='-Wl,'
++      if test "$host_cpu" = ia64; then
++	# AIX 5 now supports IA64 processor
++	lt_prog_compiler_static='-Bstatic'
++      else
++	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
++      fi
++      ;;
++
++    mingw* | pw32* | os2*)
++      # This hack is so that the source file can tell whether it is being
++      # built for inclusion in a dll (and should export symbols for example).
++      lt_prog_compiler_pic='-DDLL_EXPORT'
++      ;;
++
++    hpux9* | hpux10* | hpux11*)
++      lt_prog_compiler_wl='-Wl,'
++      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
++      # not for PA HP-UX.
++      case "$host_cpu" in
++      hppa*64*|ia64*)
++	# +Z the default
++	;;
++      *)
++	lt_prog_compiler_pic='+Z'
++	;;
++      esac
++      # Is there a better lt_prog_compiler_static that works with the bundled CC?
++      lt_prog_compiler_static='${wl}-a ${wl}archive'
++      ;;
++
++    irix5* | irix6* | nonstopux*)
++      lt_prog_compiler_wl='-Wl,'
++      # PIC (with -KPIC) is the default.
++      lt_prog_compiler_static='-non_shared'
++      ;;
++
++    newsos6)
++      lt_prog_compiler_pic='-KPIC'
++      lt_prog_compiler_static='-Bstatic'
++      ;;
++
++    linux*)
++      case $CC in
++      icc* | ecc*)
++	lt_prog_compiler_wl='-Wl,'
++	lt_prog_compiler_pic='-KPIC'
++	lt_prog_compiler_static='-static'
++        ;;
++      ccc*)
++        lt_prog_compiler_wl='-Wl,'
++        # All Alpha code is PIC.
++        lt_prog_compiler_static='-non_shared'
++        ;;
++      esac
++      ;;
++
++    osf3* | osf4* | osf5*)
++      lt_prog_compiler_wl='-Wl,'
++      # All OSF/1 code is PIC.
++      lt_prog_compiler_static='-non_shared'
++      ;;
++
++    sco3.2v5*)
++      lt_prog_compiler_pic='-Kpic'
++      lt_prog_compiler_static='-dn'
++      ;;
++
++    solaris*)
++      lt_prog_compiler_wl='-Wl,'
++      lt_prog_compiler_pic='-KPIC'
++      lt_prog_compiler_static='-Bstatic'
++      ;;
++
++    sunos4*)
++      lt_prog_compiler_wl='-Qoption ld '
++      lt_prog_compiler_pic='-PIC'
++      lt_prog_compiler_static='-Bstatic'
++      ;;
++
++    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
++      lt_prog_compiler_wl='-Wl,'
++      lt_prog_compiler_pic='-KPIC'
++      lt_prog_compiler_static='-Bstatic'
++      ;;
++
++    sysv4*MP*)
++      if test -d /usr/nec ;then
++	lt_prog_compiler_pic='-Kconform_pic'
++	lt_prog_compiler_static='-Bstatic'
++      fi
++      ;;
++
++    uts4*)
++      lt_prog_compiler_pic='-pic'
++      lt_prog_compiler_static='-Bstatic'
++      ;;
++
++    *)
++      lt_prog_compiler_can_build_shared=no
++      ;;
++    esac
++  fi
++
++echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
++echo "${ECHO_T}$lt_prog_compiler_pic" >&6
++
++#
++# Check to make sure the PIC flag actually works.
++#
++if test -n "$lt_prog_compiler_pic"; then
++
++echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
++echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
++if test "${lt_prog_compiler_pic_works+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  lt_prog_compiler_pic_works=no
++  ac_outfile=conftest.$ac_objext
++   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
++   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
++   # Insert the option either (1) after the last *FLAGS variable, or
++   # (2) before a word containing "conftest.", or (3) at the end.
++   # Note that $ac_compile itself does not contain backslashes and begins
++   # with a dollar sign (not a hyphen), so the echo should work correctly.
++   # The option is referenced via a variable to avoid confusing sed.
++   lt_compile=`echo "$ac_compile" | $SED \
++   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
++   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
++   -e 's:$: $lt_compiler_flag:'`
++   (eval echo "\"\$as_me:7237: $lt_compile\"" >&5)
++   (eval "$lt_compile" 2>conftest.err)
++   ac_status=$?
++   cat conftest.err >&5
++   echo "$as_me:7241: \$? = $ac_status" >&5
++   if (exit $ac_status) && test -s "$ac_outfile"; then
++     # The compiler can only warn and ignore the option if not recognized
++     # So say no if there are warnings
++     if test ! -s conftest.err; then
++       lt_prog_compiler_pic_works=yes
++     fi
++   fi
++   $rm conftest*
++
++fi
++echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
++echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
++
++if test x"$lt_prog_compiler_pic_works" = xyes; then
++    case $lt_prog_compiler_pic in
++     "" | " "*) ;;
++     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
++     esac
++else
++    lt_prog_compiler_pic=
++     lt_prog_compiler_can_build_shared=no
++fi
++
++fi
++case "$host_os" in
++  # For platforms which do not support PIC, -DPIC is meaningless:
++  *djgpp*)
++    lt_prog_compiler_pic=
++    ;;
++  *)
++    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
++    ;;
++esac
++
++echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
++echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
++if test "${lt_cv_prog_compiler_c_o+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  lt_cv_prog_compiler_c_o=no
++   $rm -r conftest 2>/dev/null
++   mkdir conftest
++   cd conftest
++   mkdir out
++   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
++
++   # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
++   # that will create temporary files in the current directory regardless of
++   # the output directory.  Thus, making CWD read-only will cause this test
++   # to fail, enabling locking or at least warning the user not to do parallel
++   # builds.
++   chmod -w .
++
++   lt_compiler_flag="-o out/conftest2.$ac_objext"
++   # Insert the option either (1) after the last *FLAGS variable, or
++   # (2) before a word containing "conftest.", or (3) at the end.
++   # Note that $ac_compile itself does not contain backslashes and begins
++   # with a dollar sign (not a hyphen), so the echo should work correctly.
++   lt_compile=`echo "$ac_compile" | $SED \
++   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
++   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
++   -e 's:$: $lt_compiler_flag:'`
++   (eval echo "\"\$as_me:7304: $lt_compile\"" >&5)
++   (eval "$lt_compile" 2>out/conftest.err)
++   ac_status=$?
++   cat out/conftest.err >&5
++   echo "$as_me:7308: \$? = $ac_status" >&5
++   if (exit $ac_status) && test -s out/conftest2.$ac_objext
++   then
++     # The compiler can only warn and ignore the option if not recognized
++     # So say no if there are warnings
++     if test ! -s out/conftest.err; then
++       lt_cv_prog_compiler_c_o=yes
++     fi
++   fi
++   chmod u+w .
++   $rm conftest*
++   # SGI C++ compiler will create directory out/ii_files/ for
++   # template instantiation
++   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
++   $rm out/* && rmdir out
++   cd ..
++   rmdir conftest
++   $rm conftest*
++
++fi
++echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
++echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
++
++
++hard_links="nottested"
++if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
++  # do not overwrite the value of need_locks provided by the user
++  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
++echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
++  hard_links=yes
++  $rm conftest*
++  ln conftest.a conftest.b 2>/dev/null && hard_links=no
++  touch conftest.a
++  ln conftest.a conftest.b 2>&5 || hard_links=no
++  ln conftest.a conftest.b 2>/dev/null && hard_links=no
++  echo "$as_me:$LINENO: result: $hard_links" >&5
++echo "${ECHO_T}$hard_links" >&6
++  if test "$hard_links" = no; then
++    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
++echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
++    need_locks=warn
++  fi
++else
++  need_locks=no
++fi
++
++echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
++echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
++
++  runpath_var=
++  allow_undefined_flag=
++  enable_shared_with_static_runtimes=no
++  archive_cmds=
++  archive_expsym_cmds=
++  old_archive_From_new_cmds=
++  old_archive_from_expsyms_cmds=
++  export_dynamic_flag_spec=
++  whole_archive_flag_spec=
++  thread_safe_flag_spec=
++  hardcode_libdir_flag_spec=
++  hardcode_libdir_flag_spec_ld=
++  hardcode_libdir_separator=
++  hardcode_direct=no
++  hardcode_minus_L=no
++  hardcode_shlibpath_var=unsupported
++  link_all_deplibs=unknown
++  hardcode_automatic=no
++  module_cmds=
++  module_expsym_cmds=
++  always_export_symbols=no
++  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
++  # include_expsyms should be a list of space-separated symbols to be *always*
++  # included in the symbol list
++  include_expsyms=
++  # exclude_expsyms can be an extended regexp of symbols to exclude
++  # it will be wrapped by ` (' and `)$', so one must not match beginning or
++  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
++  # as well as any symbol that contains `d'.
++  exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
++  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
++  # platforms (ab)use it in PIC code, but their linkers get confused if
++  # the symbol is explicitly referenced.  Since portable code cannot
++  # rely on this symbol name, it's probably fine to never include it in
++  # preloaded symbol tables.
++  extract_expsyms_cmds=
++
++  case $host_os in
++  cygwin* | mingw* | pw32*)
++    # FIXME: the MSVC++ port hasn't been tested in a loooong time
++    # When not using gcc, we currently assume that we are using
++    # Microsoft Visual C++.
++    if test "$GCC" != yes; then
++      with_gnu_ld=no
+     fi
+-    shlibpath_var=LIBPATH
++    ;;
++  openbsd*)
++    with_gnu_ld=no
++    ;;
++  esac
++
++  ld_shlibs=yes
++  if test "$with_gnu_ld" = yes; then
++    # If archive_cmds runs LD, not CC, wlarc should be empty
++    wlarc='${wl}'
++
++    # See if GNU ld supports shared libraries.
++    case $host_os in
++    aix3* | aix4* | aix5*)
++      # On AIX/PPC, the GNU linker is very broken
++      if test "$host_cpu" != ia64; then
++	ld_shlibs=no
++	cat <<EOF 1>&2
++
++*** Warning: the GNU linker, at least up to release 2.9.1, is reported
++*** to be unable to reliably create shared libraries on AIX.
++*** Therefore, libtool is disabling shared libraries support.  If you
++*** really care for shared libraries, you may want to modify your PATH
++*** so that a non-GNU linker is found, and then restart.
++
++EOF
++      fi
++      ;;
++
++    amigaos*)
++      archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
++      hardcode_libdir_flag_spec='-L$libdir'
++      hardcode_minus_L=yes
++
++      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
++      # that the semantics of dynamic libraries on AmigaOS, at least up
++      # to version 4, is to share data among multiple programs linked
++      # with the same dynamic library.  Since this doesn't match the
++      # behavior of shared libraries on other platforms, we can't use
++      # them.
++      ld_shlibs=no
++      ;;
++
++    beos*)
++      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
++	allow_undefined_flag=unsupported
++	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
++	# support --undefined.  This deserves some investigation.  FIXME
++	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++      else
++	ld_shlibs=no
++      fi
++      ;;
++
++    cygwin* | mingw* | pw32*)
++      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
++      # as there is no search path for DLLs.
++      hardcode_libdir_flag_spec='-L$libdir'
++      allow_undefined_flag=unsupported
++      always_export_symbols=no
++      enable_shared_with_static_runtimes=yes
++      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
++
++      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
++        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
++	# If the export-symbols file already is a .def file (1st line
++	# is EXPORTS), use it as is; otherwise, prepend...
++	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
++	  cp $export_symbols $output_objdir/$soname.def;
++	else
++	  echo EXPORTS > $output_objdir/$soname.def;
++	  cat $export_symbols >> $output_objdir/$soname.def;
++	fi~
++	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
++      else
++	ld_shlibs=no
++      fi
++      ;;
++
++    netbsd*)
++      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
++	wlarc=
++      else
++	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++      fi
++      ;;
++
++    solaris* | sysv5*)
++      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
++	ld_shlibs=no
++	cat <<EOF 1>&2
++
++*** Warning: The releases 2.8.* of the GNU linker cannot reliably
++*** create shared libraries on Solaris systems.  Therefore, libtool
++*** is disabling shared libraries support.  We urge you to upgrade GNU
++*** binutils to release 2.9.1 or newer.  Another option is to modify
++*** your PATH or compiler configuration so that the native linker is
++*** used, and then restart.
++
++EOF
++      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
++	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++      else
++	ld_shlibs=no
++      fi
++      ;;
++
++    sunos4*)
++      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++      wlarc=
++      hardcode_direct=yes
++      hardcode_shlibpath_var=no
++      ;;
++
++  linux*)
++    if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
++        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++	archive_cmds="$tmp_archive_cmds"
++      supports_anon_versioning=no
++      case `$LD -v 2>/dev/null` in
++        *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
++        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
++        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
++        *\ 2.11.*) ;; # other 2.11 versions
++        *) supports_anon_versioning=yes ;;
++      esac
++      if test $supports_anon_versioning = yes; then
++        archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
++cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
++$echo "local: *; };" >> $output_objdir/$libname.ver~
++        $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
++      else
++        archive_expsym_cmds="$tmp_archive_cmds"
++      fi
++    else
++      ld_shlibs=no
++    fi
++    ;;
++
++    *)
++      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
++	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++      else
++	ld_shlibs=no
++      fi
++      ;;
++    esac
++
++    if test "$ld_shlibs" = yes; then
++      runpath_var=LD_RUN_PATH
++      hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
++      export_dynamic_flag_spec='${wl}--export-dynamic'
++      # ancient GNU ld didn't support --whole-archive et. al.
++      if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
++ 	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
++      else
++  	whole_archive_flag_spec=
++      fi
++    fi
++  else
++    # PORTME fill in a description of your system's linker (not GNU ld)
++    case $host_os in
++    aix3*)
++      allow_undefined_flag=unsupported
++      always_export_symbols=yes
++      archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
++      # Note: this linker hardcodes the directories in LIBPATH if there
++      # are no directories specified by -L.
++      hardcode_minus_L=yes
++      if test "$GCC" = yes && test -z "$link_static_flag"; then
++	# Neither direct hardcoding nor static linking is supported with a
++	# broken collect2.
++	hardcode_direct=unsupported
++      fi
++      ;;
++
++    aix4* | aix5*)
++      if test "$host_cpu" = ia64; then
++	# On IA64, the linker does run time linking by default, so we don't
++	# have to do anything special.
++	aix_use_runtimelinking=no
++	exp_sym_flag='-Bexport'
++	no_entry_flag=""
++      else
++	# If we're using GNU nm, then we don't want the "-C" option.
++	# -C means demangle to AIX nm, but means don't demangle with GNU nm
++	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
++	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
++	else
++	  export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
++	fi
++	aix_use_runtimelinking=no
++
++	# Test if we are trying to use run time linking or normal
++	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
++	# need to do runtime linking.
++	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
++	  for ld_flag in $LDFLAGS; do
++  	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
++  	    aix_use_runtimelinking=yes
++  	    break
++  	  fi
++	  done
++	esac
++
++	exp_sym_flag='-bexport'
++	no_entry_flag='-bnoentry'
++      fi
++
++      # When large executables or shared objects are built, AIX ld can
++      # have problems creating the table of contents.  If linking a library
++      # or program results in "error TOC overflow" add -mminimal-toc to
++      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
++      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
++
++      archive_cmds=''
++      hardcode_direct=yes
++      hardcode_libdir_separator=':'
++      link_all_deplibs=yes
++
++      if test "$GCC" = yes; then
++	case $host_os in aix4.012|aix4.012.*)
++	# We only want to do this on AIX 4.2 and lower, the check
++	# below for broken collect2 doesn't work under 4.3+
++	  collect2name=`${CC} -print-prog-name=collect2`
++	  if test -f "$collect2name" && \
++  	   strings "$collect2name" | grep resolve_lib_name >/dev/null
++	  then
++  	  # We have reworked collect2
++  	  hardcode_direct=yes
++	  else
++  	  # We have old collect2
++  	  hardcode_direct=unsupported
++  	  # It fails to find uninstalled libraries when the uninstalled
++  	  # path is not listed in the libpath.  Setting hardcode_minus_L
++  	  # to unsupported forces relinking
++  	  hardcode_minus_L=yes
++  	  hardcode_libdir_flag_spec='-L$libdir'
++  	  hardcode_libdir_separator=
++	  fi
++	esac
++	shared_flag='-shared'
++      else
++	# not using gcc
++	if test "$host_cpu" = ia64; then
++  	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
++  	# chokes on -Wl,-G. The following line is correct:
++	  shared_flag='-G'
++	else
++  	if test "$aix_use_runtimelinking" = yes; then
++	    shared_flag='${wl}-G'
++	  else
++	    shared_flag='${wl}-bM:SRE'
++  	fi
++	fi
++      fi
++
++      # It seems that -bexpall does not export symbols beginning with
++      # underscore (_), so it is better to generate a list of symbols to export.
++      always_export_symbols=yes
++      if test "$aix_use_runtimelinking" = yes; then
++	# Warning - without using the other runtime loading flags (-brtl),
++	# -berok will link without error, but may produce a broken library.
++	allow_undefined_flag='-berok'
++       # Determine the default libpath from the value encoded in an empty executable.
++       cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++
++aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
++}'`
++# Check for a 64-bit object if we didn't find anything.
++if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
++}'`; fi
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
++
++       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
++	archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
++       else
++	if test "$host_cpu" = ia64; then
++	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
++	  allow_undefined_flag="-z nodefs"
++	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
++	else
++	 # Determine the default libpath from the value encoded in an empty executable.
++	 cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++
++aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
++}'`
++# Check for a 64-bit object if we didn't find anything.
++if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
++}'`; fi
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
++
++	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
++	  # Warning - without using the other run time loading flags,
++	  # -berok will link without error, but may produce a broken library.
++	  no_undefined_flag=' ${wl}-bernotok'
++	  allow_undefined_flag=' ${wl}-berok'
++	  # -bexpall does not export symbols beginning with underscore (_)
++	  always_export_symbols=yes
++	  # Exported symbols can be pulled into shared objects from archives
++	  whole_archive_flag_spec=' '
++	  archive_cmds_need_lc=yes
++	  # This is similar to how AIX traditionally builds it's shared libraries.
++	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
++	fi
++      fi
++      ;;
++
++    amigaos*)
++      archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
++      hardcode_libdir_flag_spec='-L$libdir'
++      hardcode_minus_L=yes
++      # see comment about different semantics on the GNU ld section
++      ld_shlibs=no
++      ;;
++
++    bsdi4*)
++      export_dynamic_flag_spec=-rdynamic
++      ;;
++
++    cygwin* | mingw* | pw32*)
++      # When not using gcc, we currently assume that we are using
++      # Microsoft Visual C++.
++      # hardcode_libdir_flag_spec is actually meaningless, as there is
++      # no search path for DLLs.
++      hardcode_libdir_flag_spec=' '
++      allow_undefined_flag=unsupported
++      # Tell ltmain to make .lib files, not .a files.
++      libext=lib
++      # Tell ltmain to make .dll files, not .so files.
++      shrext=".dll"
++      # FIXME: Setting linknames here is a bad hack.
++      archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
++      # The linker will automatically build a .lib file if we build a DLL.
++      old_archive_From_new_cmds='true'
++      # FIXME: Should let the user specify the lib program.
++      old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
++      fix_srcfile_path='`cygpath -w "$srcfile"`'
++      enable_shared_with_static_runtimes=yes
++      ;;
++
++    darwin* | rhapsody*)
++    if test "$GXX" = yes ; then
++      archive_cmds_need_lc=no
++      case "$host_os" in
++      rhapsody* | darwin1.[012])
++	allow_undefined_flag='-undefined suppress'
++	;;
++      *) # Darwin 1.3 on
++      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
++      	allow_undefined_flag='-flat_namespace -undefined suppress'
++      else
++        case ${MACOSX_DEPLOYMENT_TARGET} in
++          10.[012])
++            allow_undefined_flag='-flat_namespace -undefined suppress'
++            ;;
++          10.*)
++            allow_undefined_flag='-undefined dynamic_lookup'
++            ;;
++        esac
++      fi
++	;;
++      esac
++    	lt_int_apple_cc_single_mod=no
++    	output_verbose_link_cmd='echo'
++    	if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
++    	  lt_int_apple_cc_single_mod=yes
++    	fi
++    	if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
++    	  archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
++    	else
++        archive_cmds='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
++      fi
++      module_cmds='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
++      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
++        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
++          archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++        else
++          archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++        fi
++          module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++      hardcode_direct=no
++      hardcode_automatic=yes
++      hardcode_shlibpath_var=unsupported
++      whole_archive_flag_spec='-all_load $convenience'
++      link_all_deplibs=yes
++    else
++      ld_shlibs=no
++    fi
++      ;;
++
++    dgux*)
++      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_libdir_flag_spec='-L$libdir'
++      hardcode_shlibpath_var=no
++      ;;
++
++    freebsd1*)
++      ld_shlibs=no
++      ;;
++
++    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
++    # support.  Future versions do this automatically, but an explicit c++rt0.o
++    # does not break anything, and helps significantly (at the cost of a little
++    # extra space).
++    freebsd2.2*)
++      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
++      hardcode_libdir_flag_spec='-R$libdir'
++      hardcode_direct=yes
++      hardcode_shlibpath_var=no
++      ;;
++
++    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
++    freebsd2*)
++      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_direct=yes
++      hardcode_minus_L=yes
++      hardcode_shlibpath_var=no
++      ;;
++
++    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
++    freebsd* | kfreebsd*-gnu)
++      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
++      hardcode_libdir_flag_spec='-R$libdir'
++      hardcode_direct=yes
++      hardcode_shlibpath_var=no
++      ;;
++
++    hpux9*)
++      if test "$GCC" = yes; then
++	archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
++      else
++	archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
++      fi
++      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
++      hardcode_libdir_separator=:
++      hardcode_direct=yes
++
++      # hardcode_minus_L: Not really in the search PATH,
++      # but as the default location of the library.
++      hardcode_minus_L=yes
++      export_dynamic_flag_spec='${wl}-E'
++      ;;
++
++    hpux10* | hpux11*)
++      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
++	case "$host_cpu" in
++	hppa*64*|ia64*)
++	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++	  ;;
++	*)
++	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
++	  ;;
++	esac
++      else
++	case "$host_cpu" in
++	hppa*64*|ia64*)
++	  archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
++	  ;;
++	*)
++	  archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
++	  ;;
++	esac
++      fi
++      if test "$with_gnu_ld" = no; then
++	case "$host_cpu" in
++	hppa*64*)
++	  hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
++	  hardcode_libdir_flag_spec_ld='+b $libdir'
++	  hardcode_libdir_separator=:
++	  hardcode_direct=no
++	  hardcode_shlibpath_var=no
++	  ;;
++	ia64*)
++	  hardcode_libdir_flag_spec='-L$libdir'
++	  hardcode_direct=no
++	  hardcode_shlibpath_var=no
++
++	  # hardcode_minus_L: Not really in the search PATH,
++	  # but as the default location of the library.
++	  hardcode_minus_L=yes
++	  ;;
++	*)
++	  hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
++	  hardcode_libdir_separator=:
++	  hardcode_direct=yes
++	  export_dynamic_flag_spec='${wl}-E'
++
++	  # hardcode_minus_L: Not really in the search PATH,
++	  # but as the default location of the library.
++	  hardcode_minus_L=yes
++	  ;;
++	esac
++      fi
++      ;;
++
++    irix5* | irix6* | nonstopux*)
++      if test "$GCC" = yes; then
++	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++      else
++	archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
++	hardcode_libdir_flag_spec_ld='-rpath $libdir'
++      fi
++      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
++      hardcode_libdir_separator=:
++      link_all_deplibs=yes
++      ;;
++
++    netbsd*)
++      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
++      else
++	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
++      fi
++      hardcode_libdir_flag_spec='-R$libdir'
++      hardcode_direct=yes
++      hardcode_shlibpath_var=no
++      ;;
++
++    newsos6)
++      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_direct=yes
++      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
++      hardcode_libdir_separator=:
++      hardcode_shlibpath_var=no
++      ;;
++
++    openbsd*)
++      hardcode_direct=yes
++      hardcode_shlibpath_var=no
++      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
++	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
++	hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
++	export_dynamic_flag_spec='${wl}-E'
++      else
++       case $host_os in
++	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
++	   archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++	   hardcode_libdir_flag_spec='-R$libdir'
++	   ;;
++	 *)
++	   archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
++	   hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
++	   ;;
++       esac
++      fi
++      ;;
++
++    os2*)
++      hardcode_libdir_flag_spec='-L$libdir'
++      hardcode_minus_L=yes
++      allow_undefined_flag=unsupported
++      archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
++      old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
++      ;;
++
++    osf3*)
++      if test "$GCC" = yes; then
++	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
++	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++      else
++	allow_undefined_flag=' -expect_unresolved \*'
++	archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
++      fi
++      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
++      hardcode_libdir_separator=:
++      ;;
++
++    osf4* | osf5*)	# as osf3* with the addition of -msym flag
++      if test "$GCC" = yes; then
++	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
++	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
++      else
++	allow_undefined_flag=' -expect_unresolved \*'
++	archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
++	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
++	$LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
++
++	# Both c and cxx compiler support -rpath directly
++	hardcode_libdir_flag_spec='-rpath $libdir'
++      fi
++      hardcode_libdir_separator=:
++      ;;
++
++    sco3.2v5*)
++      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_shlibpath_var=no
++      export_dynamic_flag_spec='${wl}-Bexport'
++      runpath_var=LD_RUN_PATH
++      hardcode_runpath_var=yes
++      ;;
++
++    solaris*)
++      no_undefined_flag=' -z text'
++      if test "$GCC" = yes; then
++	archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
++      else
++	archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
++	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++  	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
++      fi
++      hardcode_libdir_flag_spec='-R$libdir'
++      hardcode_shlibpath_var=no
++      case $host_os in
++      solaris2.[0-5] | solaris2.[0-5].*) ;;
++      *) # Supported since Solaris 2.6 (maybe 2.5.1?)
++	whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
++      esac
++      link_all_deplibs=yes
++      ;;
++
++    sunos4*)
++      if test "x$host_vendor" = xsequent; then
++	# Use $CC to link under sequent, because it throws in some extra .o
++	# files that make .init and .fini sections work.
++	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
++      else
++	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
++      fi
++      hardcode_libdir_flag_spec='-L$libdir'
++      hardcode_direct=yes
++      hardcode_minus_L=yes
++      hardcode_shlibpath_var=no
++      ;;
++
++    sysv4)
++      case $host_vendor in
++	sni)
++	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++	  hardcode_direct=yes # is this really true???
++	;;
++	siemens)
++	  ## LD is ld it makes a PLAMLIB
++	  ## CC just makes a GrossModule.
++	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
++	  reload_cmds='$CC -r -o $output$reload_objs'
++	  hardcode_direct=no
++        ;;
++	motorola)
++	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
++	;;
++      esac
++      runpath_var='LD_RUN_PATH'
++      hardcode_shlibpath_var=no
++      ;;
++
++    sysv4.3*)
++      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_shlibpath_var=no
++      export_dynamic_flag_spec='-Bexport'
++      ;;
++
++    sysv4*MP*)
++      if test -d /usr/nec; then
++	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++	hardcode_shlibpath_var=no
++	runpath_var=LD_RUN_PATH
++	hardcode_runpath_var=yes
++	ld_shlibs=yes
++      fi
++      ;;
++
++    sysv4.2uw2*)
++      archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_direct=yes
++      hardcode_minus_L=no
++      hardcode_shlibpath_var=no
++      hardcode_runpath_var=yes
++      runpath_var=LD_RUN_PATH
++      ;;
++
++   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
++      no_undefined_flag='${wl}-z ${wl}text'
++      if test "$GCC" = yes; then
++	archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++      else
++	archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++      fi
++      runpath_var='LD_RUN_PATH'
++      hardcode_shlibpath_var=no
++      ;;
++
++    sysv5*)
++      no_undefined_flag=' -z text'
++      # $CC -shared without GNU ld will not create a library from C++
++      # object files and a static libstdc++, better avoid it by now
++      archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++  		$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
++      hardcode_libdir_flag_spec=
++      hardcode_shlibpath_var=no
++      runpath_var='LD_RUN_PATH'
++      ;;
++
++    uts4*)
++      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_libdir_flag_spec='-L$libdir'
++      hardcode_shlibpath_var=no
++      ;;
++
++    *)
++      ld_shlibs=no
++      ;;
++    esac
++  fi
++
++echo "$as_me:$LINENO: result: $ld_shlibs" >&5
++echo "${ECHO_T}$ld_shlibs" >&6
++test "$ld_shlibs" = no && can_build_shared=no
++
++variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
++if test "$GCC" = yes; then
++  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
++fi
++
++#
++# Do we need to explicitly link libc?
++#
++case "x$archive_cmds_need_lc" in
++x|xyes)
++  # Assume -lc should be added
++  archive_cmds_need_lc=yes
++
++  if test "$enable_shared" = yes && test "$GCC" = yes; then
++    case $archive_cmds in
++    *'~'*)
++      # FIXME: we may have to deal with multi-command sequences.
++      ;;
++    '$CC '*)
++      # Test whether the compiler implicitly links with -lc since on some
++      # systems, -lgcc has to come before -lc. If gcc already passes -lc
++      # to ld, don't add -lc before -lgcc.
++      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
++echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
++      $rm conftest*
++      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
++
++      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } 2>conftest.err; then
++        soname=conftest
++        lib=conftest
++        libobjs=conftest.$ac_objext
++        deplibs=
++        wl=$lt_prog_compiler_wl
++        compiler_flags=-v
++        linker_flags=-v
++        verstring=
++        output_objdir=.
++        libname=conftest
++        lt_save_allow_undefined_flag=$allow_undefined_flag
++        allow_undefined_flag=
++        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
++  (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }
++        then
++	  archive_cmds_need_lc=no
++        else
++	  archive_cmds_need_lc=yes
++        fi
++        allow_undefined_flag=$lt_save_allow_undefined_flag
++      else
++        cat conftest.err 1>&5
++      fi
++      $rm conftest*
++      echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
++echo "${ECHO_T}$archive_cmds_need_lc" >&6
++      ;;
++    esac
++  fi
++  ;;
++esac
++
++echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
++echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
++library_names_spec=
++libname_spec='lib$name'
++soname_spec=
++shrext=".so"
++postinstall_cmds=
++postuninstall_cmds=
++finish_cmds=
++finish_eval=
++shlibpath_var=
++shlibpath_overrides_runpath=unknown
++version_type=none
++dynamic_linker="$host_os ld.so"
++sys_lib_dlsearch_path_spec="/lib /usr/lib"
++if test "$GCC" = yes; then
++  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
++  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
++    # if the path contains ";" then we assume it to be the separator
++    # otherwise default to the standard path separator (i.e. ":") - it is
++    # assumed that no part of a normal pathname contains ";" but that should
++    # okay in the real world where ";" in dirpaths is itself problematic.
++    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
++  else
++    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
++  fi
++else
++  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
++fi
++need_lib_prefix=unknown
++hardcode_into_libs=no
++
++# when you set need_version to no, make sure it does not cause -set_version
++# flags to be left without arguments
++need_version=unknown
++
++case $host_os in
++aix3*)
++  version_type=linux
++  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
++  shlibpath_var=LIBPATH
++
++  # AIX 3 has no versioning support, so we append a major version to the name.
++  soname_spec='${libname}${release}${shared_ext}$major'
++  ;;
++
++aix4* | aix5*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  hardcode_into_libs=yes
++  if test "$host_cpu" = ia64; then
++    # AIX 5 supports IA64
++    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
++    shlibpath_var=LD_LIBRARY_PATH
++  else
++    # With GCC up to 2.95.x, collect2 would create an import file
++    # for dependence libraries.  The import file would start with
++    # the line `#! .'.  This would cause the generated library to
++    # depend on `.', always an invalid library.  This was fixed in
++    # development snapshots of GCC prior to 3.0.
++    case $host_os in
++      aix4 | aix4.[01] | aix4.[01].*)
++      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
++	   echo ' yes '
++	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
++	:
++      else
++	can_build_shared=no
++      fi
++      ;;
++    esac
++    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
++    # soname into executable. Probably we can add versioning support to
++    # collect2, so additional links can be useful in future.
++    if test "$aix_use_runtimelinking" = yes; then
++      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
++      # instead of lib<name>.a to let people know that these are not
++      # typical AIX shared libraries.
++      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++    else
++      # We preserve .a as extension for shared libraries through AIX4.2
++      # and later when we are not doing run time linking.
++      library_names_spec='${libname}${release}.a $libname.a'
++      soname_spec='${libname}${release}${shared_ext}$major'
++    fi
++    shlibpath_var=LIBPATH
++  fi
++  ;;
++
++amigaos*)
++  library_names_spec='$libname.ixlibrary $libname.a'
++  # Create ${libname}_ixlibrary.a entries in /sys/libs.
++  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
++  ;;
++
++beos*)
++  library_names_spec='${libname}${shared_ext}'
++  dynamic_linker="$host_os ld.so"
++  shlibpath_var=LIBRARY_PATH
++  ;;
++
++bsdi4*)
++  version_type=linux
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
++  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
++  # the default ld.so.conf also contains /usr/contrib/lib and
++  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
++  # libtool to hard-code these into programs
++  ;;
++
++cygwin* | mingw* | pw32*)
++  version_type=windows
++  shrext=".dll"
++  need_version=no
++  need_lib_prefix=no
++
++  case $GCC,$host_os in
++  yes,cygwin* | yes,mingw* | yes,pw32*)
++    library_names_spec='$libname.dll.a'
++    # DLL is installed to $(libdir)/../bin by postinstall_cmds
++    postinstall_cmds='base_file=`basename \${file}`~
++      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
++      dldir=$destdir/`dirname \$dlpath`~
++      test -d \$dldir || mkdir -p \$dldir~
++      $install_prog $dir/$dlname \$dldir/$dlname'
++    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
++      dlpath=$dir/\$dldll~
++       $rm \$dlpath'
++    shlibpath_overrides_runpath=yes
++
++    case $host_os in
++    cygwin*)
++      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
++      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
++      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
++      ;;
++    mingw*)
++      # MinGW DLLs use traditional 'lib' prefix
++      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
++      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
++      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
++        # It is most probably a Windows format PATH printed by
++        # mingw gcc, but we are running on Cygwin. Gcc prints its search
++        # path with ; separators, and with drive letters. We can handle the
++        # drive letters (cygwin fileutils understands them), so leave them,
++        # especially as we might pass files found there to a mingw objdump,
++        # which wouldn't understand a cygwinified path. Ahh.
++        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
++      else
++        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
++      fi
++      ;;
++    pw32*)
++      # pw32 DLLs use 'pw' prefix rather than 'lib'
++      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
++      ;;
++    esac
++    ;;
++
++  *)
++    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
++    ;;
++  esac
++  dynamic_linker='Win32 ld.exe'
++  # FIXME: first we should search . and the directory the executable is in
++  shlibpath_var=PATH
++  ;;
++
++darwin* | rhapsody*)
++  dynamic_linker="$host_os dyld"
++  version_type=darwin
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
++  soname_spec='${libname}${release}${major}$shared_ext'
++  shlibpath_overrides_runpath=yes
++  shlibpath_var=DYLD_LIBRARY_PATH
++  shrext='$(test .$module = .yes && echo .so || echo .dylib)'
++  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
++  if test "$GCC" = yes; then
++    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
++  else
++    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
++  fi
++  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
++  ;;
++
++dgux*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++freebsd1*)
++  dynamic_linker=no
++  ;;
++
++kfreebsd*-gnu)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=no
++  hardcode_into_libs=yes
++  dynamic_linker='GNU ld.so'
++  ;;
++
++freebsd*)
++  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
++  version_type=freebsd-$objformat
++  case $version_type in
++    freebsd-elf*)
++      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
++      need_version=no
++      need_lib_prefix=no
++      ;;
++    freebsd-*)
++      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
++      need_version=yes
++      ;;
++  esac
++  shlibpath_var=LD_LIBRARY_PATH
++  case $host_os in
++  freebsd2*)
++    shlibpath_overrides_runpath=yes
++    ;;
++  freebsd3.01* | freebsdelf3.01*)
++    shlibpath_overrides_runpath=yes
++    hardcode_into_libs=yes
++    ;;
++  *) # from 3.2 on
++    shlibpath_overrides_runpath=no
++    hardcode_into_libs=yes
++    ;;
++  esac
++  ;;
++
++gnu*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  hardcode_into_libs=yes
++  ;;
++
++hpux9* | hpux10* | hpux11*)
++  # Give a soname corresponding to the major version so that dld.sl refuses to
++  # link against other versions.
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=no
++  case "$host_cpu" in
++  ia64*)
++    shrext='.so'
++    hardcode_into_libs=yes
++    dynamic_linker="$host_os dld.so"
++    shlibpath_var=LD_LIBRARY_PATH
++    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
++    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++    soname_spec='${libname}${release}${shared_ext}$major'
++    if test "X$HPUX_IA64_MODE" = X32; then
++      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
++    else
++      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
++    fi
++    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
++    ;;
++   hppa*64*)
++     shrext='.sl'
++     hardcode_into_libs=yes
++     dynamic_linker="$host_os dld.sl"
++     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
++     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
++     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++     soname_spec='${libname}${release}${shared_ext}$major'
++     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
++     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
++     ;;
++   *)
++    shrext='.sl'
++    dynamic_linker="$host_os dld.sl"
++    shlibpath_var=SHLIB_PATH
++    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
++    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++    soname_spec='${libname}${release}${shared_ext}$major'
++    ;;
++  esac
++  # HP-UX runs *really* slowly unless shared libraries are mode 555.
++  postinstall_cmds='chmod 555 $lib'
++  ;;
++
++irix5* | irix6* | nonstopux*)
++  case $host_os in
++    nonstopux*) version_type=nonstopux ;;
++    *)
++	if test "$lt_cv_prog_gnu_ld" = yes; then
++		version_type=linux
++	else
++		version_type=irix
++	fi ;;
++  esac
++  need_lib_prefix=no
++  need_version=no
++  soname_spec='${libname}${release}${shared_ext}$major'
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
++  case $host_os in
++  irix5* | nonstopux*)
++    libsuff= shlibsuff=
++    ;;
++  *)
++    case $LD in # libtool.m4 will add one of these switches to LD
++    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
++      libsuff= shlibsuff= libmagic=32-bit;;
++    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
++      libsuff=32 shlibsuff=N32 libmagic=N32;;
++    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
++      libsuff=64 shlibsuff=64 libmagic=64-bit;;
++    *) libsuff= shlibsuff= libmagic=never-match;;
++    esac
++    ;;
++  esac
++  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
++  shlibpath_overrides_runpath=no
++  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
++  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
++  hardcode_into_libs=yes
++  ;;
++
++# No shared lib support for Linux oldld, aout, or coff.
++linux*oldld* | linux*aout* | linux*coff*)
++  dynamic_linker=no
++  ;;
++
++# This must be Linux ELF.
++linux*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=no
++  # This implies no fast_install, which is unacceptable.
++  # Some rework will be needed to allow for fast_install
++  # before this can be enabled.
++  hardcode_into_libs=yes
++
++  # We used to test for /lib/ld.so.1 and disable shared libraries on
++  # powerpc, because MkLinux only supported shared libraries with the
++  # GNU dynamic linker.  Since this was broken with cross compilers,
++  # most powerpc-linux boxes support dynamic linking these days and
++  # people can always --disable-shared, the test was removed, and we
++  # assume the GNU/Linux dynamic linker is in use.
++  dynamic_linker='GNU/Linux ld.so'
++  ;;
++
++netbsd*)
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=no
++  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
++    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
++    dynamic_linker='NetBSD (a.out) ld.so'
++  else
++    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
++    soname_spec='${libname}${release}${shared_ext}$major'
++    dynamic_linker='NetBSD ld.elf_so'
++  fi
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  hardcode_into_libs=yes
++  ;;
++
++newsos6)
++  version_type=linux
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  ;;
++
++nto-qnx*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  ;;
++
++openbsd*)
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
++    case $host_os in
++      openbsd2.[89] | openbsd2.[89].*)
++	shlibpath_overrides_runpath=no
++	;;
++      *)
++	shlibpath_overrides_runpath=yes
++	;;
++      esac
++  else
++    shlibpath_overrides_runpath=yes
++  fi
++  ;;
++
++os2*)
++  libname_spec='$name'
++  shrext=".dll"
++  need_lib_prefix=no
++  library_names_spec='$libname${shared_ext} $libname.a'
++  dynamic_linker='OS/2 ld.exe'
++  shlibpath_var=LIBPATH
++  ;;
++
++osf3* | osf4* | osf5*)
++  version_type=osf
++  need_lib_prefix=no
++  need_version=no
++  soname_spec='${libname}${release}${shared_ext}$major'
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  shlibpath_var=LD_LIBRARY_PATH
++  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
++  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
++  ;;
++
++sco3.2v5*)
++  version_type=osf
++  soname_spec='${libname}${release}${shared_ext}$major'
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++solaris*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  hardcode_into_libs=yes
++  # ldd complains unless libraries are executable
++  postinstall_cmds='chmod +x $lib'
++  ;;
++
++sunos4*)
++  version_type=sunos
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
++  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  if test "$with_gnu_ld" = yes; then
++    need_lib_prefix=no
++  fi
++  need_version=yes
++  ;;
++
++sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
++  version_type=linux
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  case $host_vendor in
++    sni)
++      shlibpath_overrides_runpath=no
++      need_lib_prefix=no
++      export_dynamic_flag_spec='${wl}-Blargedynsym'
++      runpath_var=LD_RUN_PATH
++      ;;
++    siemens)
++      need_lib_prefix=no
++      ;;
++    motorola)
++      need_lib_prefix=no
++      need_version=no
++      shlibpath_overrides_runpath=no
++      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
++      ;;
++  esac
++  ;;
++
++sysv4*MP*)
++  if test -d /usr/nec ;then
++    version_type=linux
++    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
++    soname_spec='$libname${shared_ext}.$major'
++    shlibpath_var=LD_LIBRARY_PATH
++  fi
++  ;;
++
++uts4*)
++  version_type=linux
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++*)
++  dynamic_linker=no
++  ;;
++esac
++echo "$as_me:$LINENO: result: $dynamic_linker" >&5
++echo "${ECHO_T}$dynamic_linker" >&6
++test "$dynamic_linker" = no && can_build_shared=no
++
++echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
++echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
++hardcode_action=
++if test -n "$hardcode_libdir_flag_spec" || \
++   test -n "$runpath_var " || \
++   test "X$hardcode_automatic"="Xyes" ; then
++
++  # We can hardcode non-existant directories.
++  if test "$hardcode_direct" != no &&
++     # If the only mechanism to avoid hardcoding is shlibpath_var, we
++     # have to relink, otherwise we might link with an installed library
++     # when we should be linking with a yet-to-be-installed one
++     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
++     test "$hardcode_minus_L" != no; then
++    # Linking always hardcodes the temporary library directory.
++    hardcode_action=relink
++  else
++    # We can link without hardcoding, and we can hardcode nonexisting dirs.
++    hardcode_action=immediate
++  fi
++else
++  # We cannot hardcode anything, or else we can only hardcode existing
++  # directories.
++  hardcode_action=unsupported
++fi
++echo "$as_me:$LINENO: result: $hardcode_action" >&5
++echo "${ECHO_T}$hardcode_action" >&6
++
++if test "$hardcode_action" = relink; then
++  # Fast installation is not supported
++  enable_fast_install=no
++elif test "$shlibpath_overrides_runpath" = yes ||
++     test "$enable_shared" = no; then
++  # Fast installation is not necessary
++  enable_fast_install=needless
++fi
++
++striplib=
++old_striplib=
++echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
++echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
++if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
++  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
++  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
++  echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++else
++# FIXME - insert some real tests, host_os isn't really good enough
++  case $host_os in
++   darwin*)
++       if test -n "$STRIP" ; then
++         striplib="$STRIP -x"
++         echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++       else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++       ;;
++   *)
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++    ;;
++  esac
++fi
++
++if test "x$enable_dlopen" != xyes; then
++  enable_dlopen=unknown
++  enable_dlopen_self=unknown
++  enable_dlopen_self_static=unknown
++else
++  lt_cv_dlopen=no
++  lt_cv_dlopen_libs=
++
++  case $host_os in
++  beos*)
++    lt_cv_dlopen="load_add_on"
++    lt_cv_dlopen_libs=
++    lt_cv_dlopen_self=yes
++    ;;
++
++  mingw* | pw32*)
++    lt_cv_dlopen="LoadLibrary"
++    lt_cv_dlopen_libs=
++   ;;
++
++  cygwin*)
++    lt_cv_dlopen="dlopen"
++    lt_cv_dlopen_libs=
++   ;;
++
++  darwin*)
++  # if libdl is installed we need to link against it
++    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
++echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
++if test "${ac_cv_lib_dl_dlopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ldl  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dlopen ();
++int
++main ()
++{
++dlopen ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_dl_dlopen=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_dl_dlopen=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
++echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
++if test $ac_cv_lib_dl_dlopen = yes; then
++  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
++else
++
++    lt_cv_dlopen="dyld"
++    lt_cv_dlopen_libs=
++    lt_cv_dlopen_self=yes
++
++fi
++
++   ;;
++
++  *)
++    echo "$as_me:$LINENO: checking for shl_load" >&5
++echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
++if test "${ac_cv_func_shl_load+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char shl_load (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char shl_load ();
++/* 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_shl_load) || defined (__stub___shl_load)
++choke me
++#else
++char (*f) () = shl_load;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != shl_load;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_shl_load=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_shl_load=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
++echo "${ECHO_T}$ac_cv_func_shl_load" >&6
++if test $ac_cv_func_shl_load = yes; then
++  lt_cv_dlopen="shl_load"
++else
++  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
++echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
++if test "${ac_cv_lib_dld_shl_load+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ldld  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char shl_load ();
++int
++main ()
++{
++shl_load ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_dld_shl_load=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_dld_shl_load=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
++echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
++if test $ac_cv_lib_dld_shl_load = yes; then
++  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
++else
++  echo "$as_me:$LINENO: checking for dlopen" >&5
++echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
++if test "${ac_cv_func_dlopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char dlopen (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dlopen ();
++/* 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_dlopen) || defined (__stub___dlopen)
++choke me
++#else
++char (*f) () = dlopen;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != dlopen;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_dlopen=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_dlopen=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
++echo "${ECHO_T}$ac_cv_func_dlopen" >&6
++if test $ac_cv_func_dlopen = yes; then
++  lt_cv_dlopen="dlopen"
++else
++  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
++echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
++if test "${ac_cv_lib_dl_dlopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ldl  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dlopen ();
++int
++main ()
++{
++dlopen ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_dl_dlopen=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_dl_dlopen=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
++echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
++if test $ac_cv_lib_dl_dlopen = yes; then
++  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
++else
++  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
++echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
++if test "${ac_cv_lib_svld_dlopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-lsvld  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dlopen ();
++int
++main ()
++{
++dlopen ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_svld_dlopen=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_svld_dlopen=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
++echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
++if test $ac_cv_lib_svld_dlopen = yes; then
++  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
++else
++  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
++echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
++if test "${ac_cv_lib_dld_dld_link+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ldld  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dld_link ();
++int
++main ()
++{
++dld_link ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_dld_dld_link=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_dld_dld_link=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
++echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
++if test $ac_cv_lib_dld_dld_link = yes; then
++  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
++fi
++
++
++fi
++
++
++fi
++
++
++fi
++
++
++fi
++
++
++fi
++
++    ;;
++  esac
++
++  if test "x$lt_cv_dlopen" != xno; then
++    enable_dlopen=yes
++  else
++    enable_dlopen=no
++  fi
++
++  case $lt_cv_dlopen in
++  dlopen)
++    save_CPPFLAGS="$CPPFLAGS"
++    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
++
++    save_LDFLAGS="$LDFLAGS"
++    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
++
++    save_LIBS="$LIBS"
++    LIBS="$lt_cv_dlopen_libs $LIBS"
++
++    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
++echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
++if test "${lt_cv_dlopen_self+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  	  if test "$cross_compiling" = yes; then :
++  lt_cv_dlopen_self=cross
++else
++  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
++  lt_status=$lt_dlunknown
++  cat > conftest.$ac_ext <<EOF
++#line 9364 "configure"
++#include "confdefs.h"
++
++#if HAVE_DLFCN_H
++#include <dlfcn.h>
++#endif
++
++#include <stdio.h>
++
++#ifdef RTLD_GLOBAL
++#  define LT_DLGLOBAL		RTLD_GLOBAL
++#else
++#  ifdef DL_GLOBAL
++#    define LT_DLGLOBAL		DL_GLOBAL
++#  else
++#    define LT_DLGLOBAL		0
++#  endif
++#endif
++
++/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
++   find out it does not work in some platform. */
++#ifndef LT_DLLAZY_OR_NOW
++#  ifdef RTLD_LAZY
++#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
++#  else
++#    ifdef DL_LAZY
++#      define LT_DLLAZY_OR_NOW		DL_LAZY
++#    else
++#      ifdef RTLD_NOW
++#        define LT_DLLAZY_OR_NOW	RTLD_NOW
++#      else
++#        ifdef DL_NOW
++#          define LT_DLLAZY_OR_NOW	DL_NOW
++#        else
++#          define LT_DLLAZY_OR_NOW	0
++#        endif
++#      endif
++#    endif
++#  endif
++#endif
++
++#ifdef __cplusplus
++extern "C" void exit (int);
++#endif
++
++void fnord() { int i=42;}
++int main ()
++{
++  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
++  int status = $lt_dlunknown;
++
++  if (self)
++    {
++      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
++      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
++      /* dlclose (self); */
++    }
++
++    exit (status);
++}
++EOF
++  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
++    (./conftest; exit; ) 2>/dev/null
++    lt_status=$?
++    case x$lt_status in
++      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
++      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
++      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
++    esac
++  else :
++    # compilation failed
++    lt_cv_dlopen_self=no
++  fi
++fi
++rm -fr conftest*
++
++
++fi
++echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
++echo "${ECHO_T}$lt_cv_dlopen_self" >&6
++
++    if test "x$lt_cv_dlopen_self" = xyes; then
++      LDFLAGS="$LDFLAGS $link_static_flag"
++      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
++echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
++if test "${lt_cv_dlopen_self_static+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  	  if test "$cross_compiling" = yes; then :
++  lt_cv_dlopen_self_static=cross
++else
++  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
++  lt_status=$lt_dlunknown
++  cat > conftest.$ac_ext <<EOF
++#line 9462 "configure"
++#include "confdefs.h"
++
++#if HAVE_DLFCN_H
++#include <dlfcn.h>
++#endif
++
++#include <stdio.h>
++
++#ifdef RTLD_GLOBAL
++#  define LT_DLGLOBAL		RTLD_GLOBAL
++#else
++#  ifdef DL_GLOBAL
++#    define LT_DLGLOBAL		DL_GLOBAL
++#  else
++#    define LT_DLGLOBAL		0
++#  endif
++#endif
++
++/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
++   find out it does not work in some platform. */
++#ifndef LT_DLLAZY_OR_NOW
++#  ifdef RTLD_LAZY
++#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
++#  else
++#    ifdef DL_LAZY
++#      define LT_DLLAZY_OR_NOW		DL_LAZY
++#    else
++#      ifdef RTLD_NOW
++#        define LT_DLLAZY_OR_NOW	RTLD_NOW
++#      else
++#        ifdef DL_NOW
++#          define LT_DLLAZY_OR_NOW	DL_NOW
++#        else
++#          define LT_DLLAZY_OR_NOW	0
++#        endif
++#      endif
++#    endif
++#  endif
++#endif
++
++#ifdef __cplusplus
++extern "C" void exit (int);
++#endif
++
++void fnord() { int i=42;}
++int main ()
++{
++  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
++  int status = $lt_dlunknown;
++
++  if (self)
++    {
++      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
++      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
++      /* dlclose (self); */
++    }
++
++    exit (status);
++}
++EOF
++  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
++    (./conftest; exit; ) 2>/dev/null
++    lt_status=$?
++    case x$lt_status in
++      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
++      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
++      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
++    esac
++  else :
++    # compilation failed
++    lt_cv_dlopen_self_static=no
++  fi
++fi
++rm -fr conftest*
++
++
++fi
++echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
++echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
++    fi
++
++    CPPFLAGS="$save_CPPFLAGS"
++    LDFLAGS="$save_LDFLAGS"
++    LIBS="$save_LIBS"
++    ;;
++  esac
++
++  case $lt_cv_dlopen_self in
++  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
++  *) enable_dlopen_self=unknown ;;
++  esac
++
++  case $lt_cv_dlopen_self_static in
++  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
++  *) enable_dlopen_self_static=unknown ;;
++  esac
++fi
++
++
++# Report which librarie types wil actually be built
++echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
++echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
++echo "$as_me:$LINENO: result: $can_build_shared" >&5
++echo "${ECHO_T}$can_build_shared" >&6
++
++echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
++echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
++test "$can_build_shared" = "no" && enable_shared=no
++
++# On AIX, shared libraries and static libraries use the same namespace, and
++# are all built from PIC.
++case "$host_os" in
++aix3*)
++  test "$enable_shared" = yes && enable_static=no
++  if test -n "$RANLIB"; then
++    archive_cmds="$archive_cmds~\$RANLIB \$lib"
++    postinstall_cmds='$RANLIB $lib'
++  fi
++  ;;
++
++aix4*)
++  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
++    test "$enable_shared" = yes && enable_static=no
++  fi
++  ;;
++  darwin* | rhapsody*)
++  if test "$GCC" = yes; then
++    archive_cmds_need_lc=no
++    case "$host_os" in
++    rhapsody* | darwin1.[012])
++      allow_undefined_flag='-undefined suppress'
++      ;;
++    *) # Darwin 1.3 on
++      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
++      	allow_undefined_flag='-flat_namespace -undefined suppress'
++      else
++        case ${MACOSX_DEPLOYMENT_TARGET} in
++          10.[012])
++            allow_undefined_flag='-flat_namespace -undefined suppress'
++            ;;
++          10.*)
++            allow_undefined_flag='-undefined dynamic_lookup'
++            ;;
++        esac
++      fi
++      ;;
++    esac
++    output_verbose_link_cmd='echo'
++    archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
++    module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
++    # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
++    archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag  -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++    module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++    hardcode_direct=no
++    hardcode_automatic=yes
++    hardcode_shlibpath_var=unsupported
++    whole_archive_flag_spec='-all_load $convenience'
++    link_all_deplibs=yes
++  else
++    ld_shlibs=no
++  fi
++    ;;
++esac
++echo "$as_me:$LINENO: result: $enable_shared" >&5
++echo "${ECHO_T}$enable_shared" >&6
++
++echo "$as_me:$LINENO: checking whether to build static libraries" >&5
++echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
++# Make sure either enable_shared or enable_static is yes.
++test "$enable_shared" = yes || enable_static=yes
++echo "$as_me:$LINENO: result: $enable_static" >&5
++echo "${ECHO_T}$enable_static" >&6
++
++# The else clause should only fire when bootstrapping the
++# libtool distribution, otherwise you forgot to ship ltmain.sh
++# with your package, and you will get complaints that there are
++# no rules to generate ltmain.sh.
++if test -f "$ltmain"; then
++  # See if we are running on zsh, and set the options which allow our commands through
++  # without removal of \ escapes.
++  if test -n "${ZSH_VERSION+set}" ; then
++    setopt NO_GLOB_SUBST
++  fi
++  # Now quote all the things that may contain metacharacters while being
++  # careful not to overquote the AC_SUBSTed values.  We take copies of the
++  # variables and quote the copies for generation of the libtool script.
++  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
++    SED SHELL STRIP \
++    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
++    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
++    deplibs_check_method reload_flag reload_cmds need_locks \
++    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
++    lt_cv_sys_global_symbol_to_c_name_address \
++    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
++    old_postinstall_cmds old_postuninstall_cmds \
++    compiler \
++    CC \
++    LD \
++    lt_prog_compiler_wl \
++    lt_prog_compiler_pic \
++    lt_prog_compiler_static \
++    lt_prog_compiler_no_builtin_flag \
++    export_dynamic_flag_spec \
++    thread_safe_flag_spec \
++    whole_archive_flag_spec \
++    enable_shared_with_static_runtimes \
++    old_archive_cmds \
++    old_archive_from_new_cmds \
++    predep_objects \
++    postdep_objects \
++    predeps \
++    postdeps \
++    compiler_lib_search_path \
++    archive_cmds \
++    archive_expsym_cmds \
++    postinstall_cmds \
++    postuninstall_cmds \
++    old_archive_from_expsyms_cmds \
++    allow_undefined_flag \
++    no_undefined_flag \
++    export_symbols_cmds \
++    hardcode_libdir_flag_spec \
++    hardcode_libdir_flag_spec_ld \
++    hardcode_libdir_separator \
++    hardcode_automatic \
++    module_cmds \
++    module_expsym_cmds \
++    lt_cv_prog_compiler_c_o \
++    exclude_expsyms \
++    include_expsyms; do
++
++    case $var in
++    old_archive_cmds | \
++    old_archive_from_new_cmds | \
++    archive_cmds | \
++    archive_expsym_cmds | \
++    module_cmds | \
++    module_expsym_cmds | \
++    old_archive_from_expsyms_cmds | \
++    export_symbols_cmds | \
++    extract_expsyms_cmds | reload_cmds | finish_cmds | \
++    postinstall_cmds | postuninstall_cmds | \
++    old_postinstall_cmds | old_postuninstall_cmds | \
++    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
++      # Double-quote double-evaled strings.
++      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
++      ;;
++    *)
++      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
++      ;;
++    esac
++  done
++
++  case $lt_echo in
++  *'\$0 --fallback-echo"')
++    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
++    ;;
++  esac
++
++cfgfile="${ofile}T"
++  trap "$rm \"$cfgfile\"; exit 1" 1 2 15
++  $rm -f "$cfgfile"
++  { echo "$as_me:$LINENO: creating $ofile" >&5
++echo "$as_me: creating $ofile" >&6;}
++
++  cat <<__EOF__ >> "$cfgfile"
++#! $SHELL
++
++# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
++# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
++# NOTE: Changes made to this file will be lost: look at ltmain.sh.
++#
++# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
++# Free Software Foundation, Inc.
++#
++# This file is part of GNU Libtool:
++# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
++#
++# 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
++#
++# As a special exception to the GNU General Public License, if you
++# distribute this file as part of a program that contains a
++# configuration script generated by Autoconf, you may include it under
++# the same distribution terms that you use for the rest of that program.
++
++# A sed program that does not truncate output.
++SED=$lt_SED
++
++# Sed that helps us avoid accidentally triggering echo(1) options like -n.
++Xsed="$SED -e s/^X//"
++
++# The HP-UX ksh and POSIX shell print the target directory to stdout
++# if CDPATH is set.
++if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
++
++# The names of the tagged configurations supported by this script.
++available_tags=
++
++# ### BEGIN LIBTOOL CONFIG
++
++# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
++
++# Shell to use when invoking shell scripts.
++SHELL=$lt_SHELL
++
++# Whether or not to build shared libraries.
++build_libtool_libs=$enable_shared
++
++# Whether or not to build static libraries.
++build_old_libs=$enable_static
++
++# Whether or not to add -lc for building shared libraries.
++build_libtool_need_lc=$archive_cmds_need_lc
++
++# Whether or not to disallow shared libs when runtime libs are static
++allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
++
++# Whether or not to optimize for fast installation.
++fast_install=$enable_fast_install
++
++# The host system.
++host_alias=$host_alias
++host=$host
++
++# An echo program that does not interpret backslashes.
++echo=$lt_echo
++
++# The archiver.
++AR=$lt_AR
++AR_FLAGS=$lt_AR_FLAGS
++
++# A C compiler.
++LTCC=$lt_LTCC
++
++# A language-specific compiler.
++CC=$lt_compiler
++
++# Is the compiler the GNU C compiler?
++with_gcc=$GCC
++
++# An ERE matcher.
++EGREP=$lt_EGREP
++
++# The linker used to build libraries.
++LD=$lt_LD
++
++# Whether we need hard or soft links.
++LN_S=$lt_LN_S
++
++# A BSD-compatible nm program.
++NM=$lt_NM
++
++# A symbol stripping program
++STRIP=$lt_STRIP
++
++# Used to examine libraries when file_magic_cmd begins "file"
++MAGIC_CMD=$MAGIC_CMD
++
++# Used on cygwin: DLL creation program.
++DLLTOOL="$DLLTOOL"
++
++# Used on cygwin: object dumper.
++OBJDUMP="$OBJDUMP"
++
++# Used on cygwin: assembler.
++AS="$AS"
++
++# The name of the directory that contains temporary libtool files.
++objdir=$objdir
++
++# How to create reloadable object files.
++reload_flag=$lt_reload_flag
++reload_cmds=$lt_reload_cmds
++
++# How to pass a linker flag through the compiler.
++wl=$lt_lt_prog_compiler_wl
++
++# Object file suffix (normally "o").
++objext="$ac_objext"
++
++# Old archive suffix (normally "a").
++libext="$libext"
++
++# Shared library suffix (normally ".so").
++shrext='$shrext'
++
++# Executable file suffix (normally "").
++exeext="$exeext"
++
++# Additional compiler flags for building library objects.
++pic_flag=$lt_lt_prog_compiler_pic
++pic_mode=$pic_mode
++
++# What is the maximum length of a command?
++max_cmd_len=$lt_cv_sys_max_cmd_len
++
++# Does compiler simultaneously support -c and -o options?
++compiler_c_o=$lt_lt_cv_prog_compiler_c_o
++
++# Must we lock files when doing compilation ?
++need_locks=$lt_need_locks
++
++# Do we need the lib prefix for modules?
++need_lib_prefix=$need_lib_prefix
++
++# Do we need a version for libraries?
++need_version=$need_version
++
++# Whether dlopen is supported.
++dlopen_support=$enable_dlopen
++
++# Whether dlopen of programs is supported.
++dlopen_self=$enable_dlopen_self
++
++# Whether dlopen of statically linked programs is supported.
++dlopen_self_static=$enable_dlopen_self_static
++
++# Compiler flag to prevent dynamic linking.
++link_static_flag=$lt_lt_prog_compiler_static
++
++# Compiler flag to turn off builtin functions.
++no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
++
++# Compiler flag to allow reflexive dlopens.
++export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
++
++# Compiler flag to generate shared objects directly from archives.
++whole_archive_flag_spec=$lt_whole_archive_flag_spec
++
++# Compiler flag to generate thread-safe objects.
++thread_safe_flag_spec=$lt_thread_safe_flag_spec
++
++# Library versioning type.
++version_type=$version_type
++
++# Format of library name prefix.
++libname_spec=$lt_libname_spec
++
++# List of archive names.  First name is the real one, the rest are links.
++# The last name is the one that the linker finds with -lNAME.
++library_names_spec=$lt_library_names_spec
++
++# The coded name of the library, if different from the real name.
++soname_spec=$lt_soname_spec
++
++# Commands used to build and install an old-style archive.
++RANLIB=$lt_RANLIB
++old_archive_cmds=$lt_old_archive_cmds
++old_postinstall_cmds=$lt_old_postinstall_cmds
++old_postuninstall_cmds=$lt_old_postuninstall_cmds
++
++# Create an old-style archive from a shared archive.
++old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
++
++# Create a temporary old-style archive to link instead of a shared archive.
++old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
++
++# Commands used to build and install a shared archive.
++archive_cmds=$lt_archive_cmds
++archive_expsym_cmds=$lt_archive_expsym_cmds
++postinstall_cmds=$lt_postinstall_cmds
++postuninstall_cmds=$lt_postuninstall_cmds
++
++# Commands used to build a loadable module (assumed same as above if empty)
++module_cmds=$lt_module_cmds
++module_expsym_cmds=$lt_module_expsym_cmds
++
++# Commands to strip libraries.
++old_striplib=$lt_old_striplib
++striplib=$lt_striplib
++
++# Dependencies to place before the objects being linked to create a
++# shared library.
++predep_objects=$lt_predep_objects
++
++# Dependencies to place after the objects being linked to create a
++# shared library.
++postdep_objects=$lt_postdep_objects
++
++# Dependencies to place before the objects being linked to create a
++# shared library.
++predeps=$lt_predeps
++
++# Dependencies to place after the objects being linked to create a
++# shared library.
++postdeps=$lt_postdeps
++
++# The library search path used internally by the compiler when linking
++# a shared library.
++compiler_lib_search_path=$lt_compiler_lib_search_path
++
++# Method to check whether dependent libraries are shared objects.
++deplibs_check_method=$lt_deplibs_check_method
++
++# Command to use when deplibs_check_method == file_magic.
++file_magic_cmd=$lt_file_magic_cmd
++
++# Flag that allows shared libraries with undefined symbols to be built.
++allow_undefined_flag=$lt_allow_undefined_flag
++
++# Flag that forces no undefined symbols.
++no_undefined_flag=$lt_no_undefined_flag
++
++# Commands used to finish a libtool library installation in a directory.
++finish_cmds=$lt_finish_cmds
++
++# Same as above, but a single script fragment to be evaled but not shown.
++finish_eval=$lt_finish_eval
++
++# Take the output of nm and produce a listing of raw symbols and C names.
++global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
++
++# Transform the output of nm in a proper C declaration
++global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
++
++# Transform the output of nm in a C name address pair
++global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
++
++# This is the shared library runtime path variable.
++runpath_var=$runpath_var
++
++# This is the shared library path variable.
++shlibpath_var=$shlibpath_var
++
++# Is shlibpath searched before the hard-coded library search path?
++shlibpath_overrides_runpath=$shlibpath_overrides_runpath
++
++# How to hardcode a shared library path into an executable.
++hardcode_action=$hardcode_action
++
++# Whether we should hardcode library paths into libraries.
++hardcode_into_libs=$hardcode_into_libs
++
++# Flag to hardcode \$libdir into a binary during linking.
++# This must work even if \$libdir does not exist.
++hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
++
++# If ld is used when linking, flag to hardcode \$libdir into
++# a binary during linking. This must work even if \$libdir does
++# not exist.
++hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
++
++# Whether we need a single -rpath flag with a separated argument.
++hardcode_libdir_separator=$lt_hardcode_libdir_separator
++
++# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
++# resulting binary.
++hardcode_direct=$hardcode_direct
++
++# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
++# resulting binary.
++hardcode_minus_L=$hardcode_minus_L
++
++# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
++# the resulting binary.
++hardcode_shlibpath_var=$hardcode_shlibpath_var
++
++# Set to yes if building a shared library automatically hardcodes DIR into the library
++# and all subsequent libraries and executables linked against it.
++hardcode_automatic=$hardcode_automatic
++
++# Variables whose values should be saved in libtool wrapper scripts and
++# restored at relink time.
++variables_saved_for_relink="$variables_saved_for_relink"
++
++# Whether libtool must link a program against all its dependency libraries.
++link_all_deplibs=$link_all_deplibs
++
++# Compile-time system search path for libraries
++sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
++
++# Run-time system search path for libraries
++sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
++
++# Fix the shell variable \$srcfile for the compiler.
++fix_srcfile_path="$fix_srcfile_path"
++
++# Set to yes if exported symbols are required.
++always_export_symbols=$always_export_symbols
++
++# The commands to list exported symbols.
++export_symbols_cmds=$lt_export_symbols_cmds
++
++# The commands to extract the exported symbol list from a shared archive.
++extract_expsyms_cmds=$lt_extract_expsyms_cmds
++
++# Symbols that should not be listed in the preloaded symbols.
++exclude_expsyms=$lt_exclude_expsyms
++
++# Symbols that must always be exported.
++include_expsyms=$lt_include_expsyms
++
++# ### END LIBTOOL CONFIG
++
++__EOF__
++
++
++  case $host_os in
++  aix3*)
++    cat <<\EOF >> "$cfgfile"
++
++# AIX sometimes has problems with the GCC collect2 program.  For some
++# reason, if we set the COLLECT_NAMES environment variable, the problems
++# vanish in a puff of smoke.
++if test "X${COLLECT_NAMES+set}" != Xset; then
++  COLLECT_NAMES=
++  export COLLECT_NAMES
++fi
++EOF
++    ;;
++  esac
++
++  # We use sed instead of cat because bash on DJGPP gets confused if
++  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
++  # text mode, it properly converts lines to CR/LF.  This bash problem
++  # is reportedly fixed, but why not run on old versions too?
++  sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
++
++  mv -f "$cfgfile" "$ofile" || \
++    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
++  chmod +x "$ofile"
++
++else
++  # If there is no Makefile yet, we rely on a make rule to execute
++  # `config.status --recheck' to rerun these tests and create the
++  # libtool script then.
++  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
++  if test -f "$ltmain_in"; then
++    test -f Makefile && make "$ltmain"
++  fi
++fi
++
++
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++CC="$lt_save_CC"
++
++
++# Check whether --with-tags or --without-tags was given.
++if test "${with_tags+set}" = set; then
++  withval="$with_tags"
++  tagnames="$withval"
++fi;
++
++if test -f "$ltmain" && test -n "$tagnames"; then
++  if test ! -f "${ofile}"; then
++    { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
++echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
++  fi
++
++  if test -z "$LTCC"; then
++    eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
++    if test -z "$LTCC"; then
++      { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
++echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
++    else
++      { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
++echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
++    fi
++  fi
++
++  # Extract list of available tagged configurations in $ofile.
++  # Note that this assumes the entire list is on one line.
++  available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
++
++  lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
++  for tagname in $tagnames; do
++    IFS="$lt_save_ifs"
++    # Check whether tagname contains only valid characters
++    case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
++    "") ;;
++    *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
++echo "$as_me: error: invalid tag name: $tagname" >&2;}
++   { (exit 1); exit 1; }; }
++	;;
++    esac
++
++    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
++    then
++      { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
++echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
++   { (exit 1); exit 1; }; }
++    fi
++
++    # Update the list of available tags.
++    if test -n "$tagname"; then
++      echo appending configuration tag \"$tagname\" to $ofile
++
++      case $tagname in
++      CXX)
++	if test -n "$CXX" && test "X$CXX" != "Xno"; then
++	  ac_ext=cc
++ac_cpp='$CXXCPP $CPPFLAGS'
++ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
++
++
++
++
++archive_cmds_need_lc_CXX=no
++allow_undefined_flag_CXX=
++always_export_symbols_CXX=no
++archive_expsym_cmds_CXX=
++export_dynamic_flag_spec_CXX=
++hardcode_direct_CXX=no
++hardcode_libdir_flag_spec_CXX=
++hardcode_libdir_flag_spec_ld_CXX=
++hardcode_libdir_separator_CXX=
++hardcode_minus_L_CXX=no
++hardcode_automatic_CXX=no
++module_cmds_CXX=
++module_expsym_cmds_CXX=
++link_all_deplibs_CXX=unknown
++old_archive_cmds_CXX=$old_archive_cmds
++no_undefined_flag_CXX=
++whole_archive_flag_spec_CXX=
++enable_shared_with_static_runtimes_CXX=no
++
++# Dependencies to place before and after the object being linked:
++predep_objects_CXX=
++postdep_objects_CXX=
++predeps_CXX=
++postdeps_CXX=
++compiler_lib_search_path_CXX=
++
++# Source file extension for C++ test sources.
++ac_ext=cc
++
++# Object file extension for compiled C++ test sources.
++objext=o
++objext_CXX=$objext
++
++# Code to be used in simple compile tests
++lt_simple_compile_test_code="int some_variable = 0;\n"
++
++# Code to be used in simple link tests
++lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
++
++# ltmain only uses $CC for tagged configurations so make sure $CC is set.
++
++# If no C compiler was specified, use CC.
++LTCC=${LTCC-"$CC"}
++
++# Allow CC to be a program name with arguments.
++compiler=$CC
++
++
++# Allow CC to be a program name with arguments.
++lt_save_CC=$CC
++lt_save_LD=$LD
++lt_save_GCC=$GCC
++GCC=$GXX
++lt_save_with_gnu_ld=$with_gnu_ld
++lt_save_path_LD=$lt_cv_path_LD
++if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
++  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
++else
++  unset lt_cv_prog_gnu_ld
++fi
++if test -n "${lt_cv_path_LDCXX+set}"; then
++  lt_cv_path_LD=$lt_cv_path_LDCXX
++else
++  unset lt_cv_path_LD
++fi
++test -z "${LDCXX+set}" || LD=$LDCXX
++CC=${CXX-"c++"}
++compiler=$CC
++compiler_CXX=$CC
++cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
++
++# We don't want -fno-exception wen compiling C++ code, so set the
++# no_builtin_flag separately
++if test "$GXX" = yes; then
++  lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
++else
++  lt_prog_compiler_no_builtin_flag_CXX=
++fi
++
++if test "$GXX" = yes; then
++  # Set up default GNU C++ configuration
++
++
++# Check whether --with-gnu-ld or --without-gnu-ld was given.
++if test "${with_gnu_ld+set}" = set; then
++  withval="$with_gnu_ld"
++  test "$withval" = no || with_gnu_ld=yes
++else
++  with_gnu_ld=no
++fi;
++ac_prog=ld
++if test "$GCC" = yes; then
++  # Check if gcc -print-prog-name=ld gives a path.
++  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
++echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
++  case $host in
++  *-*-mingw*)
++    # gcc leaves a trailing carriage return which upsets mingw
++    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
++  *)
++    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
++  esac
++  case $ac_prog in
++    # Accept absolute paths.
++    [\\/]* | ?:[\\/]*)
++      re_direlt='/[^/][^/]*/\.\./'
++      # Canonicalize the pathname of ld
++      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
++      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
++	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
++      done
++      test -z "$LD" && LD="$ac_prog"
++      ;;
++  "")
++    # If it fails, then pretend we aren't using GCC.
++    ac_prog=ld
++    ;;
++  *)
++    # If it is relative, then search for the first ld in PATH.
++    with_gnu_ld=unknown
++    ;;
++  esac
++elif test "$with_gnu_ld" = yes; then
++  echo "$as_me:$LINENO: checking for GNU ld" >&5
++echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
++else
++  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
++echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
++fi
++if test "${lt_cv_path_LD+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -z "$LD"; then
++  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
++  for ac_dir in $PATH; do
++    IFS="$lt_save_ifs"
++    test -z "$ac_dir" && ac_dir=.
++    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
++      lt_cv_path_LD="$ac_dir/$ac_prog"
++      # Check to see if the program is GNU ld.  I'd rather use --version,
++      # but apparently some GNU ld's only accept -v.
++      # Break only if it was the GNU/non-GNU ld that we prefer.
++      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
++      *GNU* | *'with BFD'*)
++	test "$with_gnu_ld" != no && break
++	;;
++      *)
++	test "$with_gnu_ld" != yes && break
++	;;
++      esac
++    fi
++  done
++  IFS="$lt_save_ifs"
++else
++  lt_cv_path_LD="$LD" # Let the user override the test with a path.
++fi
++fi
++
++LD="$lt_cv_path_LD"
++if test -n "$LD"; then
++  echo "$as_me:$LINENO: result: $LD" >&5
++echo "${ECHO_T}$LD" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
++echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
++   { (exit 1); exit 1; }; }
++echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
++echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
++if test "${lt_cv_prog_gnu_ld+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
++case `$LD -v 2>&1 </dev/null` in
++*GNU* | *'with BFD'*)
++  lt_cv_prog_gnu_ld=yes
++  ;;
++*)
++  lt_cv_prog_gnu_ld=no
++  ;;
++esac
++fi
++echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
++echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
++with_gnu_ld=$lt_cv_prog_gnu_ld
++
++
++
++  # Check if GNU C++ uses GNU ld as the underlying linker, since the
++  # archiving commands below assume that GNU ld is being used.
++  if test "$with_gnu_ld" = yes; then
++    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
++    archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++
++    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
++    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
++
++    # If archive_cmds runs LD, not CC, wlarc should be empty
++    # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
++    #     investigate it a little bit more. (MM)
++    wlarc='${wl}'
++
++    # ancient GNU ld didn't support --whole-archive et. al.
++    if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
++	grep 'no-whole-archive' > /dev/null; then
++      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
++    else
++      whole_archive_flag_spec_CXX=
++    fi
++  else
++    with_gnu_ld=no
++    wlarc=
++
++    # A generic and very simple default shared library creation
++    # command for GNU C++ for the case where it uses the native
++    # linker, instead of GNU ld.  If possible, this setting should
++    # overridden to take advantage of the native linker features on
++    # the platform it is being used on.
++    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
++  fi
++
++  # Commands to make compiler produce verbose output that lists
++  # what "hidden" libraries, object files and flags are used when
++  # linking a shared library.
++  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
++
++else
++  GXX=no
++  with_gnu_ld=no
++  wlarc=
++fi
++
++# PORTME: fill in a description of your system's C++ link characteristics
++echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
++echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
++ld_shlibs_CXX=yes
++case $host_os in
++  aix3*)
++    # FIXME: insert proper C++ library support
++    ld_shlibs_CXX=no
++    ;;
++  aix4* | aix5*)
++    if test "$host_cpu" = ia64; then
++      # On IA64, the linker does run time linking by default, so we don't
++      # have to do anything special.
++      aix_use_runtimelinking=no
++      exp_sym_flag='-Bexport'
++      no_entry_flag=""
++    else
++      aix_use_runtimelinking=no
++
++      # Test if we are trying to use run time linking or normal
++      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
++      # need to do runtime linking.
++      case $host_os in aix4.[23]|aix4.[23].*|aix5*)
++	for ld_flag in $LDFLAGS; do
++	  case $ld_flag in
++	  *-brtl*)
++	    aix_use_runtimelinking=yes
++	    break
++	    ;;
++	  esac
++	done
++      esac
++
++      exp_sym_flag='-bexport'
++      no_entry_flag='-bnoentry'
++    fi
++
++    # When large executables or shared objects are built, AIX ld can
++    # have problems creating the table of contents.  If linking a library
++    # or program results in "error TOC overflow" add -mminimal-toc to
++    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
++    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
++
++    archive_cmds_CXX=''
++    hardcode_direct_CXX=yes
++    hardcode_libdir_separator_CXX=':'
++    link_all_deplibs_CXX=yes
++
++    if test "$GXX" = yes; then
++      case $host_os in aix4.012|aix4.012.*)
++      # We only want to do this on AIX 4.2 and lower, the check
++      # below for broken collect2 doesn't work under 4.3+
++	collect2name=`${CC} -print-prog-name=collect2`
++	if test -f "$collect2name" && \
++	   strings "$collect2name" | grep resolve_lib_name >/dev/null
++	then
++	  # We have reworked collect2
++	  hardcode_direct_CXX=yes
++	else
++	  # We have old collect2
++	  hardcode_direct_CXX=unsupported
++	  # It fails to find uninstalled libraries when the uninstalled
++	  # path is not listed in the libpath.  Setting hardcode_minus_L
++	  # to unsupported forces relinking
++	  hardcode_minus_L_CXX=yes
++	  hardcode_libdir_flag_spec_CXX='-L$libdir'
++	  hardcode_libdir_separator_CXX=
++	fi
++      esac
++      shared_flag='-shared'
++    else
++      # not using gcc
++      if test "$host_cpu" = ia64; then
++	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
++	# chokes on -Wl,-G. The following line is correct:
++	shared_flag='-G'
++      else
++	if test "$aix_use_runtimelinking" = yes; then
++	  shared_flag='${wl}-G'
++	else
++	  shared_flag='${wl}-bM:SRE'
++	fi
++      fi
++    fi
++
++    # It seems that -bexpall does not export symbols beginning with
++    # underscore (_), so it is better to generate a list of symbols to export.
++    always_export_symbols_CXX=yes
++    if test "$aix_use_runtimelinking" = yes; then
++      # Warning - without using the other runtime loading flags (-brtl),
++      # -berok will link without error, but may produce a broken library.
++      allow_undefined_flag_CXX='-berok'
++      # Determine the default libpath from the value encoded in an empty executable.
++      cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++
++aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
++}'`
++# Check for a 64-bit object if we didn't find anything.
++if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
++}'`; fi
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
++
++      hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
++
++      archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
++     else
++      if test "$host_cpu" = ia64; then
++	hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
++	allow_undefined_flag_CXX="-z nodefs"
++	archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
++      else
++	# Determine the default libpath from the value encoded in an empty executable.
++	cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++
++aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
++}'`
++# Check for a 64-bit object if we didn't find anything.
++if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
++}'`; fi
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
++
++	hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
++	# Warning - without using the other run time loading flags,
++	# -berok will link without error, but may produce a broken library.
++	no_undefined_flag_CXX=' ${wl}-bernotok'
++	allow_undefined_flag_CXX=' ${wl}-berok'
++	# -bexpall does not export symbols beginning with underscore (_)
++	always_export_symbols_CXX=yes
++	# Exported symbols can be pulled into shared objects from archives
++	whole_archive_flag_spec_CXX=' '
++	archive_cmds_need_lc_CXX=yes
++	# This is similar to how AIX traditionally builds it's shared libraries.
++	archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
++      fi
++    fi
++    ;;
++  chorus*)
++    case $cc_basename in
++      *)
++	# FIXME: insert proper C++ library support
++	ld_shlibs_CXX=no
++	;;
++    esac
++    ;;
++
++  cygwin* | mingw* | pw32*)
++    # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
++    # as there is no search path for DLLs.
++    hardcode_libdir_flag_spec_CXX='-L$libdir'
++    allow_undefined_flag_CXX=unsupported
++    always_export_symbols_CXX=no
++    enable_shared_with_static_runtimes_CXX=yes
++
++    if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
++      archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
++      # If the export-symbols file already is a .def file (1st line
++      # is EXPORTS), use it as is; otherwise, prepend...
++      archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
++	cp $export_symbols $output_objdir/$soname.def;
++      else
++	echo EXPORTS > $output_objdir/$soname.def;
++	cat $export_symbols >> $output_objdir/$soname.def;
++      fi~
++      $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
++    else
++      ld_shlibs_CXX=no
++    fi
++  ;;
++
++  darwin* | rhapsody*)
++  if test "$GXX" = yes; then
++    archive_cmds_need_lc_CXX=no
++    case "$host_os" in
++    rhapsody* | darwin1.[012])
++      allow_undefined_flag_CXX='-undefined suppress'
++      ;;
++    *) # Darwin 1.3 on
++      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
++      	allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
++      else
++        case ${MACOSX_DEPLOYMENT_TARGET} in
++          10.[012])
++            allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
++            ;;
++          10.*)
++            allow_undefined_flag_CXX='-undefined dynamic_lookup'
++            ;;
++        esac
++      fi
++      ;;
++    esac
++    lt_int_apple_cc_single_mod=no
++    output_verbose_link_cmd='echo'
++    if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
++      lt_int_apple_cc_single_mod=yes
++    fi
++    if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
++      archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
++    else
++      archive_cmds_CXX='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
++    fi
++    module_cmds_CXX='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
++
++    # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
++    if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
++      archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++    else
++      archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++    fi
++    module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++    hardcode_direct_CXX=no
++    hardcode_automatic_CXX=yes
++    hardcode_shlibpath_var_CXX=unsupported
++    whole_archive_flag_spec_CXX='-all_load $convenience'
++    link_all_deplibs_CXX=yes
++  else
++    ld_shlibs_CXX=no
++  fi
++    ;;
++
++  dgux*)
++    case $cc_basename in
++      ec++)
++	# FIXME: insert proper C++ library support
++	ld_shlibs_CXX=no
++	;;
++      ghcx)
++	# Green Hills C++ Compiler
++	# FIXME: insert proper C++ library support
++	ld_shlibs_CXX=no
++	;;
++      *)
++	# FIXME: insert proper C++ library support
++	ld_shlibs_CXX=no
++	;;
++    esac
++    ;;
++  freebsd12*)
++    # C++ shared libraries reported to be fairly broken before switch to ELF
++    ld_shlibs_CXX=no
++    ;;
++  freebsd-elf*)
++    archive_cmds_need_lc_CXX=no
++    ;;
++  freebsd* | kfreebsd*-gnu)
++    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
++    # conventions
++    ld_shlibs_CXX=yes
++    ;;
++  gnu*)
++    ;;
++  hpux9*)
++    hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
++    hardcode_libdir_separator_CXX=:
++    export_dynamic_flag_spec_CXX='${wl}-E'
++    hardcode_direct_CXX=yes
++    hardcode_minus_L_CXX=yes # Not in the search PATH,
++				# but as the default
++				# location of the library.
++
++    case $cc_basename in
++    CC)
++      # FIXME: insert proper C++ library support
++      ld_shlibs_CXX=no
++      ;;
++    aCC)
++      archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
++      # Commands to make compiler produce verbose output that lists
++      # what "hidden" libraries, object files and flags are used when
++      # linking a shared library.
++      #
++      # There doesn't appear to be a way to prevent this compiler from
++      # explicitly linking system object files so we need to strip them
++      # from the output so that they don't get included in the library
++      # dependencies.
++      output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | egrep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
++      ;;
++    *)
++      if test "$GXX" = yes; then
++        archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
++      else
++        # FIXME: insert proper C++ library support
++        ld_shlibs_CXX=no
++      fi
++      ;;
++    esac
++    ;;
++  hpux10*|hpux11*)
++    if test $with_gnu_ld = no; then
++      case "$host_cpu" in
++      hppa*64*)
++	hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
++	hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
++	hardcode_libdir_separator_CXX=:
++        ;;
++      ia64*)
++	hardcode_libdir_flag_spec_CXX='-L$libdir'
++        ;;
++      *)
++	hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
++	hardcode_libdir_separator_CXX=:
++	export_dynamic_flag_spec_CXX='${wl}-E'
++        ;;
++      esac
++    fi
++    case "$host_cpu" in
++    hppa*64*)
++      hardcode_direct_CXX=no
++      hardcode_shlibpath_var_CXX=no
++      ;;
++    ia64*)
++      hardcode_direct_CXX=no
++      hardcode_shlibpath_var_CXX=no
++      hardcode_minus_L_CXX=yes # Not in the search PATH,
++					      # but as the default
++					      # location of the library.
++      ;;
++    *)
++      hardcode_direct_CXX=yes
++      hardcode_minus_L_CXX=yes # Not in the search PATH,
++					      # but as the default
++					      # location of the library.
++      ;;
++    esac
++
++    case $cc_basename in
++      CC)
++	# FIXME: insert proper C++ library support
++	ld_shlibs_CXX=no
++	;;
++      aCC)
++	case "$host_cpu" in
++	hppa*64*|ia64*)
++	  archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
++	  ;;
++	*)
++	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
++	  ;;
++	esac
++	# Commands to make compiler produce verbose output that lists
++	# what "hidden" libraries, object files and flags are used when
++	# linking a shared library.
++	#
++	# There doesn't appear to be a way to prevent this compiler from
++	# explicitly linking system object files so we need to strip them
++	# from the output so that they don't get included in the library
++	# dependencies.
++	output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
++	;;
++      *)
++	if test "$GXX" = yes; then
++	  if test $with_gnu_ld = no; then
++	    case "$host_cpu" in
++	    ia64*|hppa*64*)
++	      archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
++	      ;;
++	    *)
++	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
++	      ;;
++	    esac
++	  fi
++	else
++	  # FIXME: insert proper C++ library support
++	  ld_shlibs_CXX=no
++	fi
++	;;
++    esac
++    ;;
++  irix5* | irix6*)
++    case $cc_basename in
++      CC)
++	# SGI C++
++	archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
++
++	# Archives containing C++ object files must be created using
++	# "CC -ar", where "CC" is the IRIX C++ compiler.  This is
++	# necessary to make sure instantiated templates are included
++	# in the archive.
++	old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
++	;;
++      *)
++	if test "$GXX" = yes; then
++	  if test "$with_gnu_ld" = no; then
++	    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
++	  else
++	    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
++	  fi
++	fi
++	link_all_deplibs_CXX=yes
++	;;
++    esac
++    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
++    hardcode_libdir_separator_CXX=:
++    ;;
++  linux*)
++    case $cc_basename in
++      KCC)
++	# Kuck and Associates, Inc. (KAI) C++ Compiler
++
++	# KCC will only create a shared library if the output file
++	# ends with ".so" (or ".sl" for HP-UX), so rename the library
++	# to its proper name (with version) after linking.
++	archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
++	archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
++	# Commands to make compiler produce verbose output that lists
++	# what "hidden" libraries, object files and flags are used when
++	# linking a shared library.
++	#
++	# There doesn't appear to be a way to prevent this compiler from
++	# explicitly linking system object files so we need to strip them
++	# from the output so that they don't get included in the library
++	# dependencies.
++	output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
++
++	hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
++	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
++
++	# Archives containing C++ object files must be created using
++	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
++	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
++	;;
++      icpc)
++	# Intel C++
++	with_gnu_ld=yes
++	archive_cmds_need_lc_CXX=no
++	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
++	archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
++	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
++	whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
++	;;
++      cxx)
++	# Compaq C++
++	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
++	archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
++
++	runpath_var=LD_RUN_PATH
++	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
++	hardcode_libdir_separator_CXX=:
++
++	# Commands to make compiler produce verbose output that lists
++	# what "hidden" libraries, object files and flags are used when
++	# linking a shared library.
++	#
++	# There doesn't appear to be a way to prevent this compiler from
++	# explicitly linking system object files so we need to strip them
++	# from the output so that they don't get included in the library
++	# dependencies.
++	output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
++	;;
++    esac
++    ;;
++  lynxos*)
++    # FIXME: insert proper C++ library support
++    ld_shlibs_CXX=no
++    ;;
++  m88k*)
++    # FIXME: insert proper C++ library support
++    ld_shlibs_CXX=no
++    ;;
++  mvs*)
++    case $cc_basename in
++      cxx)
++	# FIXME: insert proper C++ library support
++	ld_shlibs_CXX=no
++	;;
++      *)
++	# FIXME: insert proper C++ library support
++	ld_shlibs_CXX=no
++	;;
++    esac
++    ;;
++  netbsd*)
++    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
++      wlarc=
++      hardcode_libdir_flag_spec_CXX='-R$libdir'
++      hardcode_direct_CXX=yes
++      hardcode_shlibpath_var_CXX=no
++    fi
++    # Workaround some broken pre-1.5 toolchains
++    output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
++    ;;
++  osf3*)
++    case $cc_basename in
++      KCC)
++	# Kuck and Associates, Inc. (KAI) C++ Compiler
++
++	# KCC will only create a shared library if the output file
++	# ends with ".so" (or ".sl" for HP-UX), so rename the library
++	# to its proper name (with version) after linking.
++	archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
++
++	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
++	hardcode_libdir_separator_CXX=:
++
++	# Archives containing C++ object files must be created using
++	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
++	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
++
++	;;
++      RCC)
++	# Rational C++ 2.4.1
++	# FIXME: insert proper C++ library support
++	ld_shlibs_CXX=no
++	;;
++      cxx)
++	allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
++	archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
++
++	hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
++	hardcode_libdir_separator_CXX=:
++
++	# Commands to make compiler produce verbose output that lists
++	# what "hidden" libraries, object files and flags are used when
++	# linking a shared library.
++	#
++	# There doesn't appear to be a way to prevent this compiler from
++	# explicitly linking system object files so we need to strip them
++	# from the output so that they don't get included in the library
++	# dependencies.
++	output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
++	;;
++      *)
++	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
++	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
++	  archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
++
++	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
++	  hardcode_libdir_separator_CXX=:
++
++	  # Commands to make compiler produce verbose output that lists
++	  # what "hidden" libraries, object files and flags are used when
++	  # linking a shared library.
++	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
++
++	else
++	  # FIXME: insert proper C++ library support
++	  ld_shlibs_CXX=no
++	fi
++	;;
++    esac
++    ;;
++  osf4* | osf5*)
++    case $cc_basename in
++      KCC)
++	# Kuck and Associates, Inc. (KAI) C++ Compiler
++
++	# KCC will only create a shared library if the output file
++	# ends with ".so" (or ".sl" for HP-UX), so rename the library
++	# to its proper name (with version) after linking.
++	archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
++
++	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
++	hardcode_libdir_separator_CXX=:
++
++	# Archives containing C++ object files must be created using
++	# the KAI C++ compiler.
++	old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
++	;;
++      RCC)
++	# Rational C++ 2.4.1
++	# FIXME: insert proper C++ library support
++	ld_shlibs_CXX=no
++	;;
++      cxx)
++	allow_undefined_flag_CXX=' -expect_unresolved \*'
++	archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
++	archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
++	  echo "-hidden">> $lib.exp~
++	  $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp  `test -n "$verstring" && echo -set_version	$verstring` -update_registry $objdir/so_locations -o $lib~
++	  $rm $lib.exp'
++
++	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
++	hardcode_libdir_separator_CXX=:
++
++	# Commands to make compiler produce verbose output that lists
++	# what "hidden" libraries, object files and flags are used when
++	# linking a shared library.
++	#
++	# There doesn't appear to be a way to prevent this compiler from
++	# explicitly linking system object files so we need to strip them
++	# from the output so that they don't get included in the library
++	# dependencies.
++	output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
++	;;
++      *)
++	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
++	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
++	 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
++
++	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
++	  hardcode_libdir_separator_CXX=:
++
++	  # Commands to make compiler produce verbose output that lists
++	  # what "hidden" libraries, object files and flags are used when
++	  # linking a shared library.
++	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
++
++	else
++	  # FIXME: insert proper C++ library support
++	  ld_shlibs_CXX=no
++	fi
++	;;
++    esac
++    ;;
++  psos*)
++    # FIXME: insert proper C++ library support
++    ld_shlibs_CXX=no
++    ;;
++  sco*)
++    archive_cmds_need_lc_CXX=no
++    case $cc_basename in
++      CC)
++	# FIXME: insert proper C++ library support
++	ld_shlibs_CXX=no
++	;;
++      *)
++	# FIXME: insert proper C++ library support
++	ld_shlibs_CXX=no
++	;;
++    esac
++    ;;
++  sunos4*)
++    case $cc_basename in
++      CC)
++	# Sun C++ 4.x
++	# FIXME: insert proper C++ library support
++	ld_shlibs_CXX=no
++	;;
++      lcc)
++	# Lucid
++	# FIXME: insert proper C++ library support
++	ld_shlibs_CXX=no
++	;;
++      *)
++	# FIXME: insert proper C++ library support
++	ld_shlibs_CXX=no
++	;;
++    esac
++    ;;
++  solaris*)
++    case $cc_basename in
++      CC)
++	# Sun C++ 4.2, 5.x and Centerline C++
++	no_undefined_flag_CXX=' -zdefs'
++	archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
++	archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++	$CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
++
++	hardcode_libdir_flag_spec_CXX='-R$libdir'
++	hardcode_shlibpath_var_CXX=no
++	case $host_os in
++	  solaris2.0-5 | solaris2.0-5.*) ;;
++	  *)
++	    # The C++ compiler is used as linker so we must use $wl
++	    # flag to pass the commands to the underlying system
++	    # linker.
++	    # Supported since Solaris 2.6 (maybe 2.5.1?)
++	    whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
++	    ;;
++	esac
++	link_all_deplibs_CXX=yes
++
++	# Commands to make compiler produce verbose output that lists
++	# what "hidden" libraries, object files and flags are used when
++	# linking a shared library.
++	#
++	# There doesn't appear to be a way to prevent this compiler from
++	# explicitly linking system object files so we need to strip them
++	# from the output so that they don't get included in the library
++	# dependencies.
++	output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[LR]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
++
++	# Archives containing C++ object files must be created using
++	# "CC -xar", where "CC" is the Sun C++ compiler.  This is
++	# necessary to make sure instantiated templates are included
++	# in the archive.
++	old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
++	;;
++      gcx)
++	# Green Hills C++ Compiler
++	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
++
++	# The C++ compiler must be used to create the archive.
++	old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
++	;;
++      *)
++	# GNU C++ compiler with Solaris linker
++	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
++	  no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
++	  if $CC --version | grep -v '^2\.7' > /dev/null; then
++	    archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
++	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++		$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
++
++	    # Commands to make compiler produce verbose output that lists
++	    # what "hidden" libraries, object files and flags are used when
++	    # linking a shared library.
++	    output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
++	  else
++	    # g++ 2.7 appears to require `-G' NOT `-shared' on this
++	    # platform.
++	    archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
++	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++		$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
++
++	    # Commands to make compiler produce verbose output that lists
++	    # what "hidden" libraries, object files and flags are used when
++	    # linking a shared library.
++	    output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
++	  fi
++
++	  hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
++	fi
++	;;
++    esac
++    ;;
++  sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
++    archive_cmds_need_lc_CXX=no
++    ;;
++  tandem*)
++    case $cc_basename in
++      NCC)
++	# NonStop-UX NCC 3.20
++	# FIXME: insert proper C++ library support
++	ld_shlibs_CXX=no
++	;;
++      *)
++	# FIXME: insert proper C++ library support
++	ld_shlibs_CXX=no
++	;;
++    esac
++    ;;
++  vxworks*)
++    # FIXME: insert proper C++ library support
++    ld_shlibs_CXX=no
++    ;;
++  *)
++    # FIXME: insert proper C++ library support
++    ld_shlibs_CXX=no
++    ;;
++esac
++echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
++echo "${ECHO_T}$ld_shlibs_CXX" >&6
++test "$ld_shlibs_CXX" = no && can_build_shared=no
++
++GCC_CXX="$GXX"
++LD_CXX="$LD"
++
++
++cat > conftest.$ac_ext <<EOF
++class Foo
++{
++public:
++  Foo (void) { a = 0; }
++private:
++  int a;
++};
++EOF
++
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; then
++  # Parse the compiler output and extract the necessary
++  # objects, libraries and library flags.
++
++  # Sentinel used to keep track of whether or not we are before
++  # the conftest object file.
++  pre_test_object_deps_done=no
++
++  # The `*' in the case matches for architectures that use `case' in
++  # $output_verbose_cmd can trigger glob expansion during the loop
++  # eval without this substitution.
++  output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
++
++  for p in `eval $output_verbose_link_cmd`; do
++    case $p in
++
++    -L* | -R* | -l*)
++       # Some compilers place space between "-{L,R}" and the path.
++       # Remove the space.
++       if test $p = "-L" \
++	  || test $p = "-R"; then
++	 prev=$p
++	 continue
++       else
++	 prev=
++       fi
++
++       if test "$pre_test_object_deps_done" = no; then
++	 case $p in
++	 -L* | -R*)
++	   # Internal compiler library paths should come after those
++	   # provided the user.  The postdeps already come after the
++	   # user supplied libs so there is no need to process them.
++	   if test -z "$compiler_lib_search_path_CXX"; then
++	     compiler_lib_search_path_CXX="${prev}${p}"
++	   else
++	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
++	   fi
++	   ;;
++	 # The "-l" case would never come before the object being
++	 # linked, so don't bother handling this case.
++	 esac
++       else
++	 if test -z "$postdeps_CXX"; then
++	   postdeps_CXX="${prev}${p}"
++	 else
++	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
++	 fi
++       fi
++       ;;
++
++    *.$objext)
++       # This assumes that the test object file only shows up
++       # once in the compiler output.
++       if test "$p" = "conftest.$objext"; then
++	 pre_test_object_deps_done=yes
++	 continue
++       fi
++
++       if test "$pre_test_object_deps_done" = no; then
++	 if test -z "$predep_objects_CXX"; then
++	   predep_objects_CXX="$p"
++	 else
++	   predep_objects_CXX="$predep_objects_CXX $p"
++	 fi
++       else
++	 if test -z "$postdep_objects_CXX"; then
++	   postdep_objects_CXX="$p"
++	 else
++	   postdep_objects_CXX="$postdep_objects_CXX $p"
++	 fi
++       fi
++       ;;
++
++    *) ;; # Ignore the rest.
++
++    esac
++  done
++
++  # Clean up.
++  rm -f a.out a.exe
++else
++  echo "libtool.m4: error: problem compiling CXX test program"
++fi
++
++$rm -f confest.$objext
++
++case " $postdeps_CXX " in
++*" -lc "*) archive_cmds_need_lc_CXX=no ;;
++esac
++
++lt_prog_compiler_wl_CXX=
++lt_prog_compiler_pic_CXX=
++lt_prog_compiler_static_CXX=
++
++echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
++echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
++
++  # C++ specific cases for pic, static, wl, etc.
++  if test "$GXX" = yes; then
++    lt_prog_compiler_wl_CXX='-Wl,'
++    lt_prog_compiler_static_CXX='-static'
++
++    case $host_os in
++    aix*)
++      # All AIX code is PIC.
++      if test "$host_cpu" = ia64; then
++	# AIX 5 now supports IA64 processor
++	lt_prog_compiler_static_CXX='-Bstatic'
++      fi
++      ;;
++    amigaos*)
++      # FIXME: we need at least 68020 code to build shared libraries, but
++      # adding the `-m68020' flag to GCC prevents building anything better,
++      # like `-m68040'.
++      lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
++      ;;
++    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
++      # PIC is the default for these OSes.
++      ;;
++    mingw* | os2* | pw32*)
++      # This hack is so that the source file can tell whether it is being
++      # built for inclusion in a dll (and should export symbols for example).
++      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
++      ;;
++    darwin* | rhapsody*)
++      # PIC is the default on this platform
++      # Common symbols not allowed in MH_DYLIB files
++      lt_prog_compiler_pic_CXX='-fno-common'
++      ;;
++    *djgpp*)
++      # DJGPP does not support shared libraries at all
++      lt_prog_compiler_pic_CXX=
++      ;;
++    sysv4*MP*)
++      if test -d /usr/nec; then
++	lt_prog_compiler_pic_CXX=-Kconform_pic
++      fi
++      ;;
++    hpux*)
++      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
++      # not for PA HP-UX.
++      case "$host_cpu" in
++      hppa*64*|ia64*)
++	;;
++      *)
++	lt_prog_compiler_pic_CXX='-fPIC'
++	;;
++      esac
++      ;;
++    *)
++      lt_prog_compiler_pic_CXX='-fPIC'
++      ;;
++    esac
++  else
++    case $host_os in
++      aix4* | aix5*)
++	# All AIX code is PIC.
++	if test "$host_cpu" = ia64; then
++	  # AIX 5 now supports IA64 processor
++	  lt_prog_compiler_static_CXX='-Bstatic'
++	else
++	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
++	fi
++	;;
++      chorus*)
++	case $cc_basename in
++	cxch68)
++	  # Green Hills C++ Compiler
++	  # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
++	  ;;
++	esac
++	;;
++      dgux*)
++	case $cc_basename in
++	  ec++)
++	    lt_prog_compiler_pic_CXX='-KPIC'
++	    ;;
++	  ghcx)
++	    # Green Hills C++ Compiler
++	    lt_prog_compiler_pic_CXX='-pic'
++	    ;;
++	  *)
++	    ;;
++	esac
++	;;
++      freebsd* | kfreebsd*-gnu)
++	# FreeBSD uses GNU C++
++	;;
++      hpux9* | hpux10* | hpux11*)
++	case $cc_basename in
++	  CC)
++	    lt_prog_compiler_wl_CXX='-Wl,'
++	    lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
++	    if test "$host_cpu" != ia64; then
++	      lt_prog_compiler_pic_CXX='+Z'
++	    fi
++	    ;;
++	  aCC)
++	    lt_prog_compiler_wl_CXX='-Wl,'
++	    lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
++	    case "$host_cpu" in
++	    hppa*64*|ia64*)
++	      # +Z the default
++	      ;;
++	    *)
++	      lt_prog_compiler_pic_CXX='+Z'
++	      ;;
++	    esac
++	    ;;
++	  *)
++	    ;;
++	esac
++	;;
++      irix5* | irix6* | nonstopux*)
++	case $cc_basename in
++	  CC)
++	    lt_prog_compiler_wl_CXX='-Wl,'
++	    lt_prog_compiler_static_CXX='-non_shared'
++	    # CC pic flag -KPIC is the default.
++	    ;;
++	  *)
++	    ;;
++	esac
++	;;
++      linux*)
++	case $cc_basename in
++	  KCC)
++	    # KAI C++ Compiler
++	    lt_prog_compiler_wl_CXX='--backend -Wl,'
++	    lt_prog_compiler_pic_CXX='-fPIC'
++	    ;;
++	  icpc)
++	    # Intel C++
++	    lt_prog_compiler_wl_CXX='-Wl,'
++	    lt_prog_compiler_pic_CXX='-KPIC'
++	    lt_prog_compiler_static_CXX='-static'
++	    ;;
++	  cxx)
++	    # Compaq C++
++	    # Make sure the PIC flag is empty.  It appears that all Alpha
++	    # Linux and Compaq Tru64 Unix objects are PIC.
++	    lt_prog_compiler_pic_CXX=
++	    lt_prog_compiler_static_CXX='-non_shared'
++	    ;;
++	  *)
++	    ;;
++	esac
++	;;
++      lynxos*)
++	;;
++      m88k*)
++	;;
++      mvs*)
++	case $cc_basename in
++	  cxx)
++	    lt_prog_compiler_pic_CXX='-W c,exportall'
++	    ;;
++	  *)
++	    ;;
++	esac
++	;;
++      netbsd*)
++	;;
++      osf3* | osf4* | osf5*)
++	case $cc_basename in
++	  KCC)
++	    lt_prog_compiler_wl_CXX='--backend -Wl,'
++	    ;;
++	  RCC)
++	    # Rational C++ 2.4.1
++	    lt_prog_compiler_pic_CXX='-pic'
++	    ;;
++	  cxx)
++	    # Digital/Compaq C++
++	    lt_prog_compiler_wl_CXX='-Wl,'
++	    # Make sure the PIC flag is empty.  It appears that all Alpha
++	    # Linux and Compaq Tru64 Unix objects are PIC.
++	    lt_prog_compiler_pic_CXX=
++	    lt_prog_compiler_static_CXX='-non_shared'
++	    ;;
++	  *)
++	    ;;
++	esac
++	;;
++      psos*)
++	;;
++      sco*)
++	case $cc_basename in
++	  CC)
++	    lt_prog_compiler_pic_CXX='-fPIC'
++	    ;;
++	  *)
++	    ;;
++	esac
++	;;
++      solaris*)
++	case $cc_basename in
++	  CC)
++	    # Sun C++ 4.2, 5.x and Centerline C++
++	    lt_prog_compiler_pic_CXX='-KPIC'
++	    lt_prog_compiler_static_CXX='-Bstatic'
++	    lt_prog_compiler_wl_CXX='-Qoption ld '
++	    ;;
++	  gcx)
++	    # Green Hills C++ Compiler
++	    lt_prog_compiler_pic_CXX='-PIC'
++	    ;;
++	  *)
++	    ;;
++	esac
++	;;
++      sunos4*)
++	case $cc_basename in
++	  CC)
++	    # Sun C++ 4.x
++	    lt_prog_compiler_pic_CXX='-pic'
++	    lt_prog_compiler_static_CXX='-Bstatic'
++	    ;;
++	  lcc)
++	    # Lucid
++	    lt_prog_compiler_pic_CXX='-pic'
++	    ;;
++	  *)
++	    ;;
++	esac
++	;;
++      tandem*)
++	case $cc_basename in
++	  NCC)
++	    # NonStop-UX NCC 3.20
++	    lt_prog_compiler_pic_CXX='-KPIC'
++	    ;;
++	  *)
++	    ;;
++	esac
++	;;
++      unixware*)
++	;;
++      vxworks*)
++	;;
++      *)
++	lt_prog_compiler_can_build_shared_CXX=no
++	;;
++    esac
++  fi
++
++echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
++echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
++
++#
++# Check to make sure the PIC flag actually works.
++#
++if test -n "$lt_prog_compiler_pic_CXX"; then
++
++echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
++echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
++if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  lt_prog_compiler_pic_works_CXX=no
++  ac_outfile=conftest.$ac_objext
++   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
++   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
++   # Insert the option either (1) after the last *FLAGS variable, or
++   # (2) before a word containing "conftest.", or (3) at the end.
++   # Note that $ac_compile itself does not contain backslashes and begins
++   # with a dollar sign (not a hyphen), so the echo should work correctly.
++   # The option is referenced via a variable to avoid confusing sed.
++   lt_compile=`echo "$ac_compile" | $SED \
++   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
++   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
++   -e 's:$: $lt_compiler_flag:'`
++   (eval echo "\"\$as_me:11621: $lt_compile\"" >&5)
++   (eval "$lt_compile" 2>conftest.err)
++   ac_status=$?
++   cat conftest.err >&5
++   echo "$as_me:11625: \$? = $ac_status" >&5
++   if (exit $ac_status) && test -s "$ac_outfile"; then
++     # The compiler can only warn and ignore the option if not recognized
++     # So say no if there are warnings
++     if test ! -s conftest.err; then
++       lt_prog_compiler_pic_works_CXX=yes
++     fi
++   fi
++   $rm conftest*
++
++fi
++echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
++echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
++
++if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
++    case $lt_prog_compiler_pic_CXX in
++     "" | " "*) ;;
++     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
++     esac
++else
++    lt_prog_compiler_pic_CXX=
++     lt_prog_compiler_can_build_shared_CXX=no
++fi
++
++fi
++case "$host_os" in
++  # For platforms which do not support PIC, -DPIC is meaningless:
++  *djgpp*)
++    lt_prog_compiler_pic_CXX=
++    ;;
++  *)
++    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
++    ;;
++esac
++
++echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
++echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
++if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  lt_cv_prog_compiler_c_o_CXX=no
++   $rm -r conftest 2>/dev/null
++   mkdir conftest
++   cd conftest
++   mkdir out
++   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
++
++   # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
++   # that will create temporary files in the current directory regardless of
++   # the output directory.  Thus, making CWD read-only will cause this test
++   # to fail, enabling locking or at least warning the user not to do parallel
++   # builds.
++   chmod -w .
++
++   lt_compiler_flag="-o out/conftest2.$ac_objext"
++   # Insert the option either (1) after the last *FLAGS variable, or
++   # (2) before a word containing "conftest.", or (3) at the end.
++   # Note that $ac_compile itself does not contain backslashes and begins
++   # with a dollar sign (not a hyphen), so the echo should work correctly.
++   lt_compile=`echo "$ac_compile" | $SED \
++   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
++   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
++   -e 's:$: $lt_compiler_flag:'`
++   (eval echo "\"\$as_me:11688: $lt_compile\"" >&5)
++   (eval "$lt_compile" 2>out/conftest.err)
++   ac_status=$?
++   cat out/conftest.err >&5
++   echo "$as_me:11692: \$? = $ac_status" >&5
++   if (exit $ac_status) && test -s out/conftest2.$ac_objext
++   then
++     # The compiler can only warn and ignore the option if not recognized
++     # So say no if there are warnings
++     if test ! -s out/conftest.err; then
++       lt_cv_prog_compiler_c_o_CXX=yes
++     fi
++   fi
++   chmod u+w .
++   $rm conftest*
++   # SGI C++ compiler will create directory out/ii_files/ for
++   # template instantiation
++   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
++   $rm out/* && rmdir out
++   cd ..
++   rmdir conftest
++   $rm conftest*
++
++fi
++echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
++echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
++
++
++hard_links="nottested"
++if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
++  # do not overwrite the value of need_locks provided by the user
++  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
++echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
++  hard_links=yes
++  $rm conftest*
++  ln conftest.a conftest.b 2>/dev/null && hard_links=no
++  touch conftest.a
++  ln conftest.a conftest.b 2>&5 || hard_links=no
++  ln conftest.a conftest.b 2>/dev/null && hard_links=no
++  echo "$as_me:$LINENO: result: $hard_links" >&5
++echo "${ECHO_T}$hard_links" >&6
++  if test "$hard_links" = no; then
++    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
++echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
++    need_locks=warn
++  fi
++else
++  need_locks=no
++fi
++
++echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
++echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
++
++  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
++  case $host_os in
++  aix4* | aix5*)
++    # If we're using GNU nm, then we don't want the "-C" option.
++    # -C means demangle to AIX nm, but means don't demangle with GNU nm
++    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
++      export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
++    else
++      export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
++    fi
++    ;;
++  pw32*)
++    export_symbols_cmds_CXX="$ltdll_cmds"
++  ;;
++  cygwin* | mingw*)
++    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
++  ;;
++  *)
++    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
++  ;;
++  esac
++
++echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
++echo "${ECHO_T}$ld_shlibs_CXX" >&6
++test "$ld_shlibs_CXX" = no && can_build_shared=no
++
++variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
++if test "$GCC" = yes; then
++  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
++fi
++
++#
++# Do we need to explicitly link libc?
++#
++case "x$archive_cmds_need_lc_CXX" in
++x|xyes)
++  # Assume -lc should be added
++  archive_cmds_need_lc_CXX=yes
++
++  if test "$enable_shared" = yes && test "$GCC" = yes; then
++    case $archive_cmds_CXX in
++    *'~'*)
++      # FIXME: we may have to deal with multi-command sequences.
++      ;;
++    '$CC '*)
++      # Test whether the compiler implicitly links with -lc since on some
++      # systems, -lgcc has to come before -lc. If gcc already passes -lc
++      # to ld, don't add -lc before -lgcc.
++      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
++echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
++      $rm conftest*
++      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
++
++      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } 2>conftest.err; then
++        soname=conftest
++        lib=conftest
++        libobjs=conftest.$ac_objext
++        deplibs=
++        wl=$lt_prog_compiler_wl_CXX
++        compiler_flags=-v
++        linker_flags=-v
++        verstring=
++        output_objdir=.
++        libname=conftest
++        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
++        allow_undefined_flag_CXX=
++        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
++  (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }
++        then
++	  archive_cmds_need_lc_CXX=no
++        else
++	  archive_cmds_need_lc_CXX=yes
++        fi
++        allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
++      else
++        cat conftest.err 1>&5
++      fi
++      $rm conftest*
++      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
++echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
++      ;;
++    esac
++  fi
++  ;;
++esac
++
++echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
++echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
++library_names_spec=
++libname_spec='lib$name'
++soname_spec=
++shrext=".so"
++postinstall_cmds=
++postuninstall_cmds=
++finish_cmds=
++finish_eval=
++shlibpath_var=
++shlibpath_overrides_runpath=unknown
++version_type=none
++dynamic_linker="$host_os ld.so"
++sys_lib_dlsearch_path_spec="/lib /usr/lib"
++if test "$GCC" = yes; then
++  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
++  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
++    # if the path contains ";" then we assume it to be the separator
++    # otherwise default to the standard path separator (i.e. ":") - it is
++    # assumed that no part of a normal pathname contains ";" but that should
++    # okay in the real world where ";" in dirpaths is itself problematic.
++    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
++  else
++    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
++  fi
++else
++  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
++fi
++need_lib_prefix=unknown
++hardcode_into_libs=no
++
++# when you set need_version to no, make sure it does not cause -set_version
++# flags to be left without arguments
++need_version=unknown
++
++case $host_os in
++aix3*)
++  version_type=linux
++  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
++  shlibpath_var=LIBPATH
++
++  # AIX 3 has no versioning support, so we append a major version to the name.
++  soname_spec='${libname}${release}${shared_ext}$major'
++  ;;
++
++aix4* | aix5*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  hardcode_into_libs=yes
++  if test "$host_cpu" = ia64; then
++    # AIX 5 supports IA64
++    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
++    shlibpath_var=LD_LIBRARY_PATH
++  else
++    # With GCC up to 2.95.x, collect2 would create an import file
++    # for dependence libraries.  The import file would start with
++    # the line `#! .'.  This would cause the generated library to
++    # depend on `.', always an invalid library.  This was fixed in
++    # development snapshots of GCC prior to 3.0.
++    case $host_os in
++      aix4 | aix4.[01] | aix4.[01].*)
++      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
++	   echo ' yes '
++	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
++	:
++      else
++	can_build_shared=no
++      fi
++      ;;
++    esac
++    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
++    # soname into executable. Probably we can add versioning support to
++    # collect2, so additional links can be useful in future.
++    if test "$aix_use_runtimelinking" = yes; then
++      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
++      # instead of lib<name>.a to let people know that these are not
++      # typical AIX shared libraries.
++      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++    else
++      # We preserve .a as extension for shared libraries through AIX4.2
++      # and later when we are not doing run time linking.
++      library_names_spec='${libname}${release}.a $libname.a'
++      soname_spec='${libname}${release}${shared_ext}$major'
++    fi
++    shlibpath_var=LIBPATH
++  fi
++  ;;
++
++amigaos*)
++  library_names_spec='$libname.ixlibrary $libname.a'
++  # Create ${libname}_ixlibrary.a entries in /sys/libs.
++  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
++  ;;
++
++beos*)
++  library_names_spec='${libname}${shared_ext}'
++  dynamic_linker="$host_os ld.so"
++  shlibpath_var=LIBRARY_PATH
++  ;;
++
++bsdi4*)
++  version_type=linux
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
++  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
++  # the default ld.so.conf also contains /usr/contrib/lib and
++  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
++  # libtool to hard-code these into programs
++  ;;
++
++cygwin* | mingw* | pw32*)
++  version_type=windows
++  shrext=".dll"
++  need_version=no
++  need_lib_prefix=no
++
++  case $GCC,$host_os in
++  yes,cygwin* | yes,mingw* | yes,pw32*)
++    library_names_spec='$libname.dll.a'
++    # DLL is installed to $(libdir)/../bin by postinstall_cmds
++    postinstall_cmds='base_file=`basename \${file}`~
++      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
++      dldir=$destdir/`dirname \$dlpath`~
++      test -d \$dldir || mkdir -p \$dldir~
++      $install_prog $dir/$dlname \$dldir/$dlname'
++    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
++      dlpath=$dir/\$dldll~
++       $rm \$dlpath'
++    shlibpath_overrides_runpath=yes
++
++    case $host_os in
++    cygwin*)
++      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
++      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
++      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
++      ;;
++    mingw*)
++      # MinGW DLLs use traditional 'lib' prefix
++      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
++      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
++      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
++        # It is most probably a Windows format PATH printed by
++        # mingw gcc, but we are running on Cygwin. Gcc prints its search
++        # path with ; separators, and with drive letters. We can handle the
++        # drive letters (cygwin fileutils understands them), so leave them,
++        # especially as we might pass files found there to a mingw objdump,
++        # which wouldn't understand a cygwinified path. Ahh.
++        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
++      else
++        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
++      fi
++      ;;
++    pw32*)
++      # pw32 DLLs use 'pw' prefix rather than 'lib'
++      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
++      ;;
++    esac
++    ;;
++
++  *)
++    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
++    ;;
++  esac
++  dynamic_linker='Win32 ld.exe'
++  # FIXME: first we should search . and the directory the executable is in
++  shlibpath_var=PATH
++  ;;
++
++darwin* | rhapsody*)
++  dynamic_linker="$host_os dyld"
++  version_type=darwin
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
++  soname_spec='${libname}${release}${major}$shared_ext'
++  shlibpath_overrides_runpath=yes
++  shlibpath_var=DYLD_LIBRARY_PATH
++  shrext='$(test .$module = .yes && echo .so || echo .dylib)'
++  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
++  if test "$GCC" = yes; then
++    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
++  else
++    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
++  fi
++  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
++  ;;
++
++dgux*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++freebsd1*)
++  dynamic_linker=no
++  ;;
++
++kfreebsd*-gnu)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=no
++  hardcode_into_libs=yes
++  dynamic_linker='GNU ld.so'
++  ;;
++
++freebsd*)
++  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
++  version_type=freebsd-$objformat
++  case $version_type in
++    freebsd-elf*)
++      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
++      need_version=no
++      need_lib_prefix=no
++      ;;
++    freebsd-*)
++      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
++      need_version=yes
++      ;;
++  esac
++  shlibpath_var=LD_LIBRARY_PATH
++  case $host_os in
++  freebsd2*)
++    shlibpath_overrides_runpath=yes
++    ;;
++  freebsd3.01* | freebsdelf3.01*)
++    shlibpath_overrides_runpath=yes
++    hardcode_into_libs=yes
++    ;;
++  *) # from 3.2 on
++    shlibpath_overrides_runpath=no
++    hardcode_into_libs=yes
++    ;;
++  esac
++  ;;
++
++gnu*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  hardcode_into_libs=yes
++  ;;
++
++hpux9* | hpux10* | hpux11*)
++  # Give a soname corresponding to the major version so that dld.sl refuses to
++  # link against other versions.
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=no
++  case "$host_cpu" in
++  ia64*)
++    shrext='.so'
++    hardcode_into_libs=yes
++    dynamic_linker="$host_os dld.so"
++    shlibpath_var=LD_LIBRARY_PATH
++    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
++    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++    soname_spec='${libname}${release}${shared_ext}$major'
++    if test "X$HPUX_IA64_MODE" = X32; then
++      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
++    else
++      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
++    fi
++    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
++    ;;
++   hppa*64*)
++     shrext='.sl'
++     hardcode_into_libs=yes
++     dynamic_linker="$host_os dld.sl"
++     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
++     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
++     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++     soname_spec='${libname}${release}${shared_ext}$major'
++     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
++     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
++     ;;
++   *)
++    shrext='.sl'
++    dynamic_linker="$host_os dld.sl"
++    shlibpath_var=SHLIB_PATH
++    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
++    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++    soname_spec='${libname}${release}${shared_ext}$major'
++    ;;
++  esac
++  # HP-UX runs *really* slowly unless shared libraries are mode 555.
++  postinstall_cmds='chmod 555 $lib'
++  ;;
++
++irix5* | irix6* | nonstopux*)
++  case $host_os in
++    nonstopux*) version_type=nonstopux ;;
++    *)
++	if test "$lt_cv_prog_gnu_ld" = yes; then
++		version_type=linux
++	else
++		version_type=irix
++	fi ;;
++  esac
++  need_lib_prefix=no
++  need_version=no
++  soname_spec='${libname}${release}${shared_ext}$major'
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
++  case $host_os in
++  irix5* | nonstopux*)
++    libsuff= shlibsuff=
++    ;;
++  *)
++    case $LD in # libtool.m4 will add one of these switches to LD
++    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
++      libsuff= shlibsuff= libmagic=32-bit;;
++    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
++      libsuff=32 shlibsuff=N32 libmagic=N32;;
++    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
++      libsuff=64 shlibsuff=64 libmagic=64-bit;;
++    *) libsuff= shlibsuff= libmagic=never-match;;
++    esac
++    ;;
++  esac
++  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
++  shlibpath_overrides_runpath=no
++  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
++  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
++  hardcode_into_libs=yes
++  ;;
++
++# No shared lib support for Linux oldld, aout, or coff.
++linux*oldld* | linux*aout* | linux*coff*)
++  dynamic_linker=no
++  ;;
++
++# This must be Linux ELF.
++linux*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=no
++  # This implies no fast_install, which is unacceptable.
++  # Some rework will be needed to allow for fast_install
++  # before this can be enabled.
++  hardcode_into_libs=yes
++
++  # We used to test for /lib/ld.so.1 and disable shared libraries on
++  # powerpc, because MkLinux only supported shared libraries with the
++  # GNU dynamic linker.  Since this was broken with cross compilers,
++  # most powerpc-linux boxes support dynamic linking these days and
++  # people can always --disable-shared, the test was removed, and we
++  # assume the GNU/Linux dynamic linker is in use.
++  dynamic_linker='GNU/Linux ld.so'
++  ;;
++
++netbsd*)
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=no
++  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
++    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
++    dynamic_linker='NetBSD (a.out) ld.so'
++  else
++    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
++    soname_spec='${libname}${release}${shared_ext}$major'
++    dynamic_linker='NetBSD ld.elf_so'
++  fi
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  hardcode_into_libs=yes
++  ;;
++
++newsos6)
++  version_type=linux
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  ;;
++
++nto-qnx*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  ;;
++
++openbsd*)
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
++    case $host_os in
++      openbsd2.[89] | openbsd2.[89].*)
++	shlibpath_overrides_runpath=no
++	;;
++      *)
++	shlibpath_overrides_runpath=yes
++	;;
++      esac
++  else
++    shlibpath_overrides_runpath=yes
++  fi
++  ;;
++
++os2*)
++  libname_spec='$name'
++  shrext=".dll"
++  need_lib_prefix=no
++  library_names_spec='$libname${shared_ext} $libname.a'
++  dynamic_linker='OS/2 ld.exe'
++  shlibpath_var=LIBPATH
++  ;;
++
++osf3* | osf4* | osf5*)
++  version_type=osf
++  need_lib_prefix=no
++  need_version=no
++  soname_spec='${libname}${release}${shared_ext}$major'
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  shlibpath_var=LD_LIBRARY_PATH
++  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
++  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
++  ;;
++
++sco3.2v5*)
++  version_type=osf
++  soname_spec='${libname}${release}${shared_ext}$major'
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++solaris*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  hardcode_into_libs=yes
++  # ldd complains unless libraries are executable
++  postinstall_cmds='chmod +x $lib'
++  ;;
++
++sunos4*)
++  version_type=sunos
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
++  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  if test "$with_gnu_ld" = yes; then
++    need_lib_prefix=no
++  fi
++  need_version=yes
++  ;;
++
++sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
++  version_type=linux
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  case $host_vendor in
++    sni)
++      shlibpath_overrides_runpath=no
++      need_lib_prefix=no
++      export_dynamic_flag_spec='${wl}-Blargedynsym'
++      runpath_var=LD_RUN_PATH
++      ;;
++    siemens)
++      need_lib_prefix=no
++      ;;
++    motorola)
++      need_lib_prefix=no
++      need_version=no
++      shlibpath_overrides_runpath=no
++      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
++      ;;
++  esac
++  ;;
++
++sysv4*MP*)
++  if test -d /usr/nec ;then
++    version_type=linux
++    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
++    soname_spec='$libname${shared_ext}.$major'
++    shlibpath_var=LD_LIBRARY_PATH
++  fi
++  ;;
++
++uts4*)
++  version_type=linux
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++*)
++  dynamic_linker=no
++  ;;
++esac
++echo "$as_me:$LINENO: result: $dynamic_linker" >&5
++echo "${ECHO_T}$dynamic_linker" >&6
++test "$dynamic_linker" = no && can_build_shared=no
++
++echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
++echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
++hardcode_action_CXX=
++if test -n "$hardcode_libdir_flag_spec_CXX" || \
++   test -n "$runpath_var CXX" || \
++   test "X$hardcode_automatic_CXX"="Xyes" ; then
++
++  # We can hardcode non-existant directories.
++  if test "$hardcode_direct_CXX" != no &&
++     # If the only mechanism to avoid hardcoding is shlibpath_var, we
++     # have to relink, otherwise we might link with an installed library
++     # when we should be linking with a yet-to-be-installed one
++     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
++     test "$hardcode_minus_L_CXX" != no; then
++    # Linking always hardcodes the temporary library directory.
++    hardcode_action_CXX=relink
++  else
++    # We can link without hardcoding, and we can hardcode nonexisting dirs.
++    hardcode_action_CXX=immediate
++  fi
++else
++  # We cannot hardcode anything, or else we can only hardcode existing
++  # directories.
++  hardcode_action_CXX=unsupported
++fi
++echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
++echo "${ECHO_T}$hardcode_action_CXX" >&6
++
++if test "$hardcode_action_CXX" = relink; then
++  # Fast installation is not supported
++  enable_fast_install=no
++elif test "$shlibpath_overrides_runpath" = yes ||
++     test "$enable_shared" = no; then
++  # Fast installation is not necessary
++  enable_fast_install=needless
++fi
++
++striplib=
++old_striplib=
++echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
++echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
++if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
++  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
++  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
++  echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++else
++# FIXME - insert some real tests, host_os isn't really good enough
++  case $host_os in
++   darwin*)
++       if test -n "$STRIP" ; then
++         striplib="$STRIP -x"
++         echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++       else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++       ;;
++   *)
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++    ;;
++  esac
++fi
++
++if test "x$enable_dlopen" != xyes; then
++  enable_dlopen=unknown
++  enable_dlopen_self=unknown
++  enable_dlopen_self_static=unknown
++else
++  lt_cv_dlopen=no
++  lt_cv_dlopen_libs=
++
++  case $host_os in
++  beos*)
++    lt_cv_dlopen="load_add_on"
++    lt_cv_dlopen_libs=
++    lt_cv_dlopen_self=yes
++    ;;
++
++  mingw* | pw32*)
++    lt_cv_dlopen="LoadLibrary"
++    lt_cv_dlopen_libs=
++   ;;
++
++  cygwin*)
++    lt_cv_dlopen="dlopen"
++    lt_cv_dlopen_libs=
++   ;;
++
++  darwin*)
++  # if libdl is installed we need to link against it
++    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
++echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
++if test "${ac_cv_lib_dl_dlopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ldl  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dlopen ();
++int
++main ()
++{
++dlopen ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_dl_dlopen=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_dl_dlopen=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
++echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
++if test $ac_cv_lib_dl_dlopen = yes; then
++  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
++else
++
++    lt_cv_dlopen="dyld"
++    lt_cv_dlopen_libs=
++    lt_cv_dlopen_self=yes
++
++fi
++
++   ;;
++
++  *)
++    echo "$as_me:$LINENO: checking for shl_load" >&5
++echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
++if test "${ac_cv_func_shl_load+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char shl_load (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char shl_load ();
++/* 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_shl_load) || defined (__stub___shl_load)
++choke me
++#else
++char (*f) () = shl_load;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != shl_load;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_shl_load=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_shl_load=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
++echo "${ECHO_T}$ac_cv_func_shl_load" >&6
++if test $ac_cv_func_shl_load = yes; then
++  lt_cv_dlopen="shl_load"
++else
++  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
++echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
++if test "${ac_cv_lib_dld_shl_load+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ldld  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char shl_load ();
++int
++main ()
++{
++shl_load ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_dld_shl_load=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_dld_shl_load=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
++echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
++if test $ac_cv_lib_dld_shl_load = yes; then
++  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
++else
++  echo "$as_me:$LINENO: checking for dlopen" >&5
++echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
++if test "${ac_cv_func_dlopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char dlopen (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dlopen ();
++/* 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_dlopen) || defined (__stub___dlopen)
++choke me
++#else
++char (*f) () = dlopen;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != dlopen;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_dlopen=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_dlopen=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
++echo "${ECHO_T}$ac_cv_func_dlopen" >&6
++if test $ac_cv_func_dlopen = yes; then
++  lt_cv_dlopen="dlopen"
++else
++  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
++echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
++if test "${ac_cv_lib_dl_dlopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ldl  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dlopen ();
++int
++main ()
++{
++dlopen ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_dl_dlopen=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_dl_dlopen=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
++echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
++if test $ac_cv_lib_dl_dlopen = yes; then
++  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
++else
++  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
++echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
++if test "${ac_cv_lib_svld_dlopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-lsvld  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dlopen ();
++int
++main ()
++{
++dlopen ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_svld_dlopen=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_svld_dlopen=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
++echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
++if test $ac_cv_lib_svld_dlopen = yes; then
++  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
++else
++  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
++echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
++if test "${ac_cv_lib_dld_dld_link+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ldld  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dld_link ();
++int
++main ()
++{
++dld_link ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_dld_dld_link=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_dld_dld_link=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
++echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
++if test $ac_cv_lib_dld_dld_link = yes; then
++  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
++fi
++
++
++fi
++
++
++fi
++
++
++fi
++
++
++fi
++
++
++fi
++
++    ;;
++  esac
++
++  if test "x$lt_cv_dlopen" != xno; then
++    enable_dlopen=yes
++  else
++    enable_dlopen=no
++  fi
++
++  case $lt_cv_dlopen in
++  dlopen)
++    save_CPPFLAGS="$CPPFLAGS"
++    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
++
++    save_LDFLAGS="$LDFLAGS"
++    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
++
++    save_LIBS="$LIBS"
++    LIBS="$lt_cv_dlopen_libs $LIBS"
++
++    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
++echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
++if test "${lt_cv_dlopen_self+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  	  if test "$cross_compiling" = yes; then :
++  lt_cv_dlopen_self=cross
++else
++  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
++  lt_status=$lt_dlunknown
++  cat > conftest.$ac_ext <<EOF
++#line 12945 "configure"
++#include "confdefs.h"
++
++#if HAVE_DLFCN_H
++#include <dlfcn.h>
++#endif
++
++#include <stdio.h>
++
++#ifdef RTLD_GLOBAL
++#  define LT_DLGLOBAL		RTLD_GLOBAL
++#else
++#  ifdef DL_GLOBAL
++#    define LT_DLGLOBAL		DL_GLOBAL
++#  else
++#    define LT_DLGLOBAL		0
++#  endif
++#endif
++
++/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
++   find out it does not work in some platform. */
++#ifndef LT_DLLAZY_OR_NOW
++#  ifdef RTLD_LAZY
++#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
++#  else
++#    ifdef DL_LAZY
++#      define LT_DLLAZY_OR_NOW		DL_LAZY
++#    else
++#      ifdef RTLD_NOW
++#        define LT_DLLAZY_OR_NOW	RTLD_NOW
++#      else
++#        ifdef DL_NOW
++#          define LT_DLLAZY_OR_NOW	DL_NOW
++#        else
++#          define LT_DLLAZY_OR_NOW	0
++#        endif
++#      endif
++#    endif
++#  endif
++#endif
++
++#ifdef __cplusplus
++extern "C" void exit (int);
++#endif
++
++void fnord() { int i=42;}
++int main ()
++{
++  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
++  int status = $lt_dlunknown;
++
++  if (self)
++    {
++      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
++      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
++      /* dlclose (self); */
++    }
++
++    exit (status);
++}
++EOF
++  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
++    (./conftest; exit; ) 2>/dev/null
++    lt_status=$?
++    case x$lt_status in
++      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
++      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
++      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
++    esac
++  else :
++    # compilation failed
++    lt_cv_dlopen_self=no
++  fi
++fi
++rm -fr conftest*
++
++
++fi
++echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
++echo "${ECHO_T}$lt_cv_dlopen_self" >&6
++
++    if test "x$lt_cv_dlopen_self" = xyes; then
++      LDFLAGS="$LDFLAGS $link_static_flag"
++      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
++echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
++if test "${lt_cv_dlopen_self_static+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  	  if test "$cross_compiling" = yes; then :
++  lt_cv_dlopen_self_static=cross
++else
++  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
++  lt_status=$lt_dlunknown
++  cat > conftest.$ac_ext <<EOF
++#line 13043 "configure"
++#include "confdefs.h"
++
++#if HAVE_DLFCN_H
++#include <dlfcn.h>
++#endif
++
++#include <stdio.h>
++
++#ifdef RTLD_GLOBAL
++#  define LT_DLGLOBAL		RTLD_GLOBAL
++#else
++#  ifdef DL_GLOBAL
++#    define LT_DLGLOBAL		DL_GLOBAL
++#  else
++#    define LT_DLGLOBAL		0
++#  endif
++#endif
++
++/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
++   find out it does not work in some platform. */
++#ifndef LT_DLLAZY_OR_NOW
++#  ifdef RTLD_LAZY
++#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
++#  else
++#    ifdef DL_LAZY
++#      define LT_DLLAZY_OR_NOW		DL_LAZY
++#    else
++#      ifdef RTLD_NOW
++#        define LT_DLLAZY_OR_NOW	RTLD_NOW
++#      else
++#        ifdef DL_NOW
++#          define LT_DLLAZY_OR_NOW	DL_NOW
++#        else
++#          define LT_DLLAZY_OR_NOW	0
++#        endif
++#      endif
++#    endif
++#  endif
++#endif
++
++#ifdef __cplusplus
++extern "C" void exit (int);
++#endif
++
++void fnord() { int i=42;}
++int main ()
++{
++  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
++  int status = $lt_dlunknown;
++
++  if (self)
++    {
++      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
++      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
++      /* dlclose (self); */
++    }
++
++    exit (status);
++}
++EOF
++  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
++    (./conftest; exit; ) 2>/dev/null
++    lt_status=$?
++    case x$lt_status in
++      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
++      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
++      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
++    esac
++  else :
++    # compilation failed
++    lt_cv_dlopen_self_static=no
++  fi
++fi
++rm -fr conftest*
++
++
++fi
++echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
++echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
++    fi
++
++    CPPFLAGS="$save_CPPFLAGS"
++    LDFLAGS="$save_LDFLAGS"
++    LIBS="$save_LIBS"
++    ;;
++  esac
++
++  case $lt_cv_dlopen_self in
++  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
++  *) enable_dlopen_self=unknown ;;
++  esac
++
++  case $lt_cv_dlopen_self_static in
++  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
++  *) enable_dlopen_self_static=unknown ;;
++  esac
++fi
++
++
++# The else clause should only fire when bootstrapping the
++# libtool distribution, otherwise you forgot to ship ltmain.sh
++# with your package, and you will get complaints that there are
++# no rules to generate ltmain.sh.
++if test -f "$ltmain"; then
++  # See if we are running on zsh, and set the options which allow our commands through
++  # without removal of \ escapes.
++  if test -n "${ZSH_VERSION+set}" ; then
++    setopt NO_GLOB_SUBST
++  fi
++  # Now quote all the things that may contain metacharacters while being
++  # careful not to overquote the AC_SUBSTed values.  We take copies of the
++  # variables and quote the copies for generation of the libtool script.
++  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
++    SED SHELL STRIP \
++    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
++    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
++    deplibs_check_method reload_flag reload_cmds need_locks \
++    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
++    lt_cv_sys_global_symbol_to_c_name_address \
++    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
++    old_postinstall_cmds old_postuninstall_cmds \
++    compiler_CXX \
++    CC_CXX \
++    LD_CXX \
++    lt_prog_compiler_wl_CXX \
++    lt_prog_compiler_pic_CXX \
++    lt_prog_compiler_static_CXX \
++    lt_prog_compiler_no_builtin_flag_CXX \
++    export_dynamic_flag_spec_CXX \
++    thread_safe_flag_spec_CXX \
++    whole_archive_flag_spec_CXX \
++    enable_shared_with_static_runtimes_CXX \
++    old_archive_cmds_CXX \
++    old_archive_from_new_cmds_CXX \
++    predep_objects_CXX \
++    postdep_objects_CXX \
++    predeps_CXX \
++    postdeps_CXX \
++    compiler_lib_search_path_CXX \
++    archive_cmds_CXX \
++    archive_expsym_cmds_CXX \
++    postinstall_cmds_CXX \
++    postuninstall_cmds_CXX \
++    old_archive_from_expsyms_cmds_CXX \
++    allow_undefined_flag_CXX \
++    no_undefined_flag_CXX \
++    export_symbols_cmds_CXX \
++    hardcode_libdir_flag_spec_CXX \
++    hardcode_libdir_flag_spec_ld_CXX \
++    hardcode_libdir_separator_CXX \
++    hardcode_automatic_CXX \
++    module_cmds_CXX \
++    module_expsym_cmds_CXX \
++    lt_cv_prog_compiler_c_o_CXX \
++    exclude_expsyms_CXX \
++    include_expsyms_CXX; do
++
++    case $var in
++    old_archive_cmds_CXX | \
++    old_archive_from_new_cmds_CXX | \
++    archive_cmds_CXX | \
++    archive_expsym_cmds_CXX | \
++    module_cmds_CXX | \
++    module_expsym_cmds_CXX | \
++    old_archive_from_expsyms_cmds_CXX | \
++    export_symbols_cmds_CXX | \
++    extract_expsyms_cmds | reload_cmds | finish_cmds | \
++    postinstall_cmds | postuninstall_cmds | \
++    old_postinstall_cmds | old_postuninstall_cmds | \
++    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
++      # Double-quote double-evaled strings.
++      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
++      ;;
++    *)
++      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
++      ;;
++    esac
++  done
++
++  case $lt_echo in
++  *'\$0 --fallback-echo"')
++    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
++    ;;
++  esac
++
++cfgfile="$ofile"
++
++  cat <<__EOF__ >> "$cfgfile"
++# ### BEGIN LIBTOOL TAG CONFIG: $tagname
++
++# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
++
++# Shell to use when invoking shell scripts.
++SHELL=$lt_SHELL
++
++# Whether or not to build shared libraries.
++build_libtool_libs=$enable_shared
++
++# Whether or not to build static libraries.
++build_old_libs=$enable_static
++
++# Whether or not to add -lc for building shared libraries.
++build_libtool_need_lc=$archive_cmds_need_lc_CXX
++
++# Whether or not to disallow shared libs when runtime libs are static
++allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
++
++# Whether or not to optimize for fast installation.
++fast_install=$enable_fast_install
++
++# The host system.
++host_alias=$host_alias
++host=$host
++
++# An echo program that does not interpret backslashes.
++echo=$lt_echo
++
++# The archiver.
++AR=$lt_AR
++AR_FLAGS=$lt_AR_FLAGS
++
++# A C compiler.
++LTCC=$lt_LTCC
++
++# A language-specific compiler.
++CC=$lt_compiler_CXX
++
++# Is the compiler the GNU C compiler?
++with_gcc=$GCC_CXX
++
++# An ERE matcher.
++EGREP=$lt_EGREP
++
++# The linker used to build libraries.
++LD=$lt_LD_CXX
++
++# Whether we need hard or soft links.
++LN_S=$lt_LN_S
++
++# A BSD-compatible nm program.
++NM=$lt_NM
++
++# A symbol stripping program
++STRIP=$lt_STRIP
++
++# Used to examine libraries when file_magic_cmd begins "file"
++MAGIC_CMD=$MAGIC_CMD
++
++# Used on cygwin: DLL creation program.
++DLLTOOL="$DLLTOOL"
++
++# Used on cygwin: object dumper.
++OBJDUMP="$OBJDUMP"
++
++# Used on cygwin: assembler.
++AS="$AS"
++
++# The name of the directory that contains temporary libtool files.
++objdir=$objdir
++
++# How to create reloadable object files.
++reload_flag=$lt_reload_flag
++reload_cmds=$lt_reload_cmds
++
++# How to pass a linker flag through the compiler.
++wl=$lt_lt_prog_compiler_wl_CXX
++
++# Object file suffix (normally "o").
++objext="$ac_objext"
++
++# Old archive suffix (normally "a").
++libext="$libext"
++
++# Shared library suffix (normally ".so").
++shrext='$shrext'
++
++# Executable file suffix (normally "").
++exeext="$exeext"
++
++# Additional compiler flags for building library objects.
++pic_flag=$lt_lt_prog_compiler_pic_CXX
++pic_mode=$pic_mode
++
++# What is the maximum length of a command?
++max_cmd_len=$lt_cv_sys_max_cmd_len
++
++# Does compiler simultaneously support -c and -o options?
++compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
++
++# Must we lock files when doing compilation ?
++need_locks=$lt_need_locks
++
++# Do we need the lib prefix for modules?
++need_lib_prefix=$need_lib_prefix
++
++# Do we need a version for libraries?
++need_version=$need_version
++
++# Whether dlopen is supported.
++dlopen_support=$enable_dlopen
++
++# Whether dlopen of programs is supported.
++dlopen_self=$enable_dlopen_self
++
++# Whether dlopen of statically linked programs is supported.
++dlopen_self_static=$enable_dlopen_self_static
++
++# Compiler flag to prevent dynamic linking.
++link_static_flag=$lt_lt_prog_compiler_static_CXX
++
++# Compiler flag to turn off builtin functions.
++no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
++
++# Compiler flag to allow reflexive dlopens.
++export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
++
++# Compiler flag to generate shared objects directly from archives.
++whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
++
++# Compiler flag to generate thread-safe objects.
++thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
++
++# Library versioning type.
++version_type=$version_type
++
++# Format of library name prefix.
++libname_spec=$lt_libname_spec
++
++# List of archive names.  First name is the real one, the rest are links.
++# The last name is the one that the linker finds with -lNAME.
++library_names_spec=$lt_library_names_spec
++
++# The coded name of the library, if different from the real name.
++soname_spec=$lt_soname_spec
++
++# Commands used to build and install an old-style archive.
++RANLIB=$lt_RANLIB
++old_archive_cmds=$lt_old_archive_cmds_CXX
++old_postinstall_cmds=$lt_old_postinstall_cmds
++old_postuninstall_cmds=$lt_old_postuninstall_cmds
++
++# Create an old-style archive from a shared archive.
++old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
++
++# Create a temporary old-style archive to link instead of a shared archive.
++old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
++
++# Commands used to build and install a shared archive.
++archive_cmds=$lt_archive_cmds_CXX
++archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
++postinstall_cmds=$lt_postinstall_cmds
++postuninstall_cmds=$lt_postuninstall_cmds
++
++# Commands used to build a loadable module (assumed same as above if empty)
++module_cmds=$lt_module_cmds_CXX
++module_expsym_cmds=$lt_module_expsym_cmds_CXX
++
++# Commands to strip libraries.
++old_striplib=$lt_old_striplib
++striplib=$lt_striplib
++
++# Dependencies to place before the objects being linked to create a
++# shared library.
++predep_objects=$lt_predep_objects_CXX
++
++# Dependencies to place after the objects being linked to create a
++# shared library.
++postdep_objects=$lt_postdep_objects_CXX
++
++# Dependencies to place before the objects being linked to create a
++# shared library.
++predeps=$lt_predeps_CXX
++
++# Dependencies to place after the objects being linked to create a
++# shared library.
++postdeps=$lt_postdeps_CXX
++
++# The library search path used internally by the compiler when linking
++# a shared library.
++compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
++
++# Method to check whether dependent libraries are shared objects.
++deplibs_check_method=$lt_deplibs_check_method
++
++# Command to use when deplibs_check_method == file_magic.
++file_magic_cmd=$lt_file_magic_cmd
++
++# Flag that allows shared libraries with undefined symbols to be built.
++allow_undefined_flag=$lt_allow_undefined_flag_CXX
++
++# Flag that forces no undefined symbols.
++no_undefined_flag=$lt_no_undefined_flag_CXX
++
++# Commands used to finish a libtool library installation in a directory.
++finish_cmds=$lt_finish_cmds
++
++# Same as above, but a single script fragment to be evaled but not shown.
++finish_eval=$lt_finish_eval
++
++# Take the output of nm and produce a listing of raw symbols and C names.
++global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
++
++# Transform the output of nm in a proper C declaration
++global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
++
++# Transform the output of nm in a C name address pair
++global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
++
++# This is the shared library runtime path variable.
++runpath_var=$runpath_var
++
++# This is the shared library path variable.
++shlibpath_var=$shlibpath_var
++
++# Is shlibpath searched before the hard-coded library search path?
++shlibpath_overrides_runpath=$shlibpath_overrides_runpath
++
++# How to hardcode a shared library path into an executable.
++hardcode_action=$hardcode_action_CXX
++
++# Whether we should hardcode library paths into libraries.
++hardcode_into_libs=$hardcode_into_libs
++
++# Flag to hardcode \$libdir into a binary during linking.
++# This must work even if \$libdir does not exist.
++hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
++
++# If ld is used when linking, flag to hardcode \$libdir into
++# a binary during linking. This must work even if \$libdir does
++# not exist.
++hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
++
++# Whether we need a single -rpath flag with a separated argument.
++hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
++
++# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
++# resulting binary.
++hardcode_direct=$hardcode_direct_CXX
++
++# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
++# resulting binary.
++hardcode_minus_L=$hardcode_minus_L_CXX
++
++# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
++# the resulting binary.
++hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
++
++# Set to yes if building a shared library automatically hardcodes DIR into the library
++# and all subsequent libraries and executables linked against it.
++hardcode_automatic=$hardcode_automatic_CXX
++
++# Variables whose values should be saved in libtool wrapper scripts and
++# restored at relink time.
++variables_saved_for_relink="$variables_saved_for_relink"
++
++# Whether libtool must link a program against all its dependency libraries.
++link_all_deplibs=$link_all_deplibs_CXX
++
++# Compile-time system search path for libraries
++sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
++
++# Run-time system search path for libraries
++sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
++
++# Fix the shell variable \$srcfile for the compiler.
++fix_srcfile_path="$fix_srcfile_path_CXX"
++
++# Set to yes if exported symbols are required.
++always_export_symbols=$always_export_symbols_CXX
++
++# The commands to list exported symbols.
++export_symbols_cmds=$lt_export_symbols_cmds_CXX
++
++# The commands to extract the exported symbol list from a shared archive.
++extract_expsyms_cmds=$lt_extract_expsyms_cmds
++
++# Symbols that should not be listed in the preloaded symbols.
++exclude_expsyms=$lt_exclude_expsyms_CXX
++
++# Symbols that must always be exported.
++include_expsyms=$lt_include_expsyms_CXX
++
++# ### END LIBTOOL TAG CONFIG: $tagname
++
++__EOF__
++
++
++else
++  # If there is no Makefile yet, we rely on a make rule to execute
++  # `config.status --recheck' to rerun these tests and create the
++  # libtool script then.
++  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
++  if test -f "$ltmain_in"; then
++    test -f Makefile && make "$ltmain"
++  fi
++fi
++
++
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++CC=$lt_save_CC
++LDCXX=$LD
++LD=$lt_save_LD
++GCC=$lt_save_GCC
++with_gnu_ldcxx=$with_gnu_ld
++with_gnu_ld=$lt_save_with_gnu_ld
++lt_cv_path_LDCXX=$lt_cv_path_LD
++lt_cv_path_LD=$lt_save_path_LD
++lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
++lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
++
++	else
++	  tagname=""
++	fi
++	;;
++
++      F77)
++	if test -n "$F77" && test "X$F77" != "Xno"; then
++
++ac_ext=f
++ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
++ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_f77_compiler_gnu
++
++
++archive_cmds_need_lc_F77=no
++allow_undefined_flag_F77=
++always_export_symbols_F77=no
++archive_expsym_cmds_F77=
++export_dynamic_flag_spec_F77=
++hardcode_direct_F77=no
++hardcode_libdir_flag_spec_F77=
++hardcode_libdir_flag_spec_ld_F77=
++hardcode_libdir_separator_F77=
++hardcode_minus_L_F77=no
++hardcode_automatic_F77=no
++module_cmds_F77=
++module_expsym_cmds_F77=
++link_all_deplibs_F77=unknown
++old_archive_cmds_F77=$old_archive_cmds
++no_undefined_flag_F77=
++whole_archive_flag_spec_F77=
++enable_shared_with_static_runtimes_F77=no
++
++# Source file extension for f77 test sources.
++ac_ext=f
++
++# Object file extension for compiled f77 test sources.
++objext=o
++objext_F77=$objext
++
++# Code to be used in simple compile tests
++lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
++
++# Code to be used in simple link tests
++lt_simple_link_test_code="      program t\n      end\n"
++
++# ltmain only uses $CC for tagged configurations so make sure $CC is set.
++
++# If no C compiler was specified, use CC.
++LTCC=${LTCC-"$CC"}
++
++# Allow CC to be a program name with arguments.
++compiler=$CC
++
++
++# Allow CC to be a program name with arguments.
++lt_save_CC="$CC"
++CC=${F77-"f77"}
++compiler=$CC
++compiler_F77=$CC
++cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
++
++echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
++echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
++echo "$as_me:$LINENO: result: $can_build_shared" >&5
++echo "${ECHO_T}$can_build_shared" >&6
++
++echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
++echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
++test "$can_build_shared" = "no" && enable_shared=no
++
++# On AIX, shared libraries and static libraries use the same namespace, and
++# are all built from PIC.
++case "$host_os" in
++aix3*)
++  test "$enable_shared" = yes && enable_static=no
++  if test -n "$RANLIB"; then
++    archive_cmds="$archive_cmds~\$RANLIB \$lib"
++    postinstall_cmds='$RANLIB $lib'
++  fi
++  ;;
++aix4*)
++  test "$enable_shared" = yes && enable_static=no
++  ;;
++esac
++echo "$as_me:$LINENO: result: $enable_shared" >&5
++echo "${ECHO_T}$enable_shared" >&6
++
++echo "$as_me:$LINENO: checking whether to build static libraries" >&5
++echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
++# Make sure either enable_shared or enable_static is yes.
++test "$enable_shared" = yes || enable_static=yes
++echo "$as_me:$LINENO: result: $enable_static" >&5
++echo "${ECHO_T}$enable_static" >&6
++
++test "$ld_shlibs_F77" = no && can_build_shared=no
++
++GCC_F77="$G77"
++LD_F77="$LD"
++
++lt_prog_compiler_wl_F77=
++lt_prog_compiler_pic_F77=
++lt_prog_compiler_static_F77=
++
++echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
++echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
++
++  if test "$GCC" = yes; then
++    lt_prog_compiler_wl_F77='-Wl,'
++    lt_prog_compiler_static_F77='-static'
++
++    case $host_os in
++      aix*)
++      # All AIX code is PIC.
++      if test "$host_cpu" = ia64; then
++	# AIX 5 now supports IA64 processor
++	lt_prog_compiler_static_F77='-Bstatic'
++      fi
++      ;;
++
++    amigaos*)
++      # FIXME: we need at least 68020 code to build shared libraries, but
++      # adding the `-m68020' flag to GCC prevents building anything better,
++      # like `-m68040'.
++      lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
++      ;;
++
++    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
++      # PIC is the default for these OSes.
++      ;;
++
++    mingw* | pw32* | os2*)
++      # This hack is so that the source file can tell whether it is being
++      # built for inclusion in a dll (and should export symbols for example).
++      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
++      ;;
++
++    darwin* | rhapsody*)
++      # PIC is the default on this platform
++      # Common symbols not allowed in MH_DYLIB files
++      lt_prog_compiler_pic_F77='-fno-common'
++      ;;
++
++    msdosdjgpp*)
++      # Just because we use GCC doesn't mean we suddenly get shared libraries
++      # on systems that don't support them.
++      lt_prog_compiler_can_build_shared_F77=no
++      enable_shared=no
++      ;;
++
++    sysv4*MP*)
++      if test -d /usr/nec; then
++	lt_prog_compiler_pic_F77=-Kconform_pic
++      fi
++      ;;
++
++    hpux*)
++      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
++      # not for PA HP-UX.
++      case "$host_cpu" in
++      hppa*64*|ia64*)
++	# +Z the default
++	;;
++      *)
++	lt_prog_compiler_pic_F77='-fPIC'
++	;;
++      esac
++      ;;
++
++    *)
++      lt_prog_compiler_pic_F77='-fPIC'
++      ;;
++    esac
++  else
++    # PORTME Check for flag to pass linker flags through the system compiler.
++    case $host_os in
++    aix*)
++      lt_prog_compiler_wl_F77='-Wl,'
++      if test "$host_cpu" = ia64; then
++	# AIX 5 now supports IA64 processor
++	lt_prog_compiler_static_F77='-Bstatic'
++      else
++	lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
++      fi
++      ;;
++
++    mingw* | pw32* | os2*)
++      # This hack is so that the source file can tell whether it is being
++      # built for inclusion in a dll (and should export symbols for example).
++      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
++      ;;
++
++    hpux9* | hpux10* | hpux11*)
++      lt_prog_compiler_wl_F77='-Wl,'
++      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
++      # not for PA HP-UX.
++      case "$host_cpu" in
++      hppa*64*|ia64*)
++	# +Z the default
++	;;
++      *)
++	lt_prog_compiler_pic_F77='+Z'
++	;;
++      esac
++      # Is there a better lt_prog_compiler_static that works with the bundled CC?
++      lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
++      ;;
++
++    irix5* | irix6* | nonstopux*)
++      lt_prog_compiler_wl_F77='-Wl,'
++      # PIC (with -KPIC) is the default.
++      lt_prog_compiler_static_F77='-non_shared'
++      ;;
++
++    newsos6)
++      lt_prog_compiler_pic_F77='-KPIC'
++      lt_prog_compiler_static_F77='-Bstatic'
++      ;;
++
++    linux*)
++      case $CC in
++      icc* | ecc*)
++	lt_prog_compiler_wl_F77='-Wl,'
++	lt_prog_compiler_pic_F77='-KPIC'
++	lt_prog_compiler_static_F77='-static'
++        ;;
++      ccc*)
++        lt_prog_compiler_wl_F77='-Wl,'
++        # All Alpha code is PIC.
++        lt_prog_compiler_static_F77='-non_shared'
++        ;;
++      esac
++      ;;
++
++    osf3* | osf4* | osf5*)
++      lt_prog_compiler_wl_F77='-Wl,'
++      # All OSF/1 code is PIC.
++      lt_prog_compiler_static_F77='-non_shared'
++      ;;
++
++    sco3.2v5*)
++      lt_prog_compiler_pic_F77='-Kpic'
++      lt_prog_compiler_static_F77='-dn'
++      ;;
++
++    solaris*)
++      lt_prog_compiler_wl_F77='-Wl,'
++      lt_prog_compiler_pic_F77='-KPIC'
++      lt_prog_compiler_static_F77='-Bstatic'
++      ;;
++
++    sunos4*)
++      lt_prog_compiler_wl_F77='-Qoption ld '
++      lt_prog_compiler_pic_F77='-PIC'
++      lt_prog_compiler_static_F77='-Bstatic'
++      ;;
++
++    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
++      lt_prog_compiler_wl_F77='-Wl,'
++      lt_prog_compiler_pic_F77='-KPIC'
++      lt_prog_compiler_static_F77='-Bstatic'
++      ;;
++
++    sysv4*MP*)
++      if test -d /usr/nec ;then
++	lt_prog_compiler_pic_F77='-Kconform_pic'
++	lt_prog_compiler_static_F77='-Bstatic'
++      fi
++      ;;
++
++    uts4*)
++      lt_prog_compiler_pic_F77='-pic'
++      lt_prog_compiler_static_F77='-Bstatic'
++      ;;
++
++    *)
++      lt_prog_compiler_can_build_shared_F77=no
++      ;;
++    esac
++  fi
++
++echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
++echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
++
++#
++# Check to make sure the PIC flag actually works.
++#
++if test -n "$lt_prog_compiler_pic_F77"; then
++
++echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
++echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
++if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  lt_prog_compiler_pic_works_F77=no
++  ac_outfile=conftest.$ac_objext
++   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
++   lt_compiler_flag="$lt_prog_compiler_pic_F77"
++   # Insert the option either (1) after the last *FLAGS variable, or
++   # (2) before a word containing "conftest.", or (3) at the end.
++   # Note that $ac_compile itself does not contain backslashes and begins
++   # with a dollar sign (not a hyphen), so the echo should work correctly.
++   # The option is referenced via a variable to avoid confusing sed.
++   lt_compile=`echo "$ac_compile" | $SED \
++   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
++   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
++   -e 's:$: $lt_compiler_flag:'`
++   (eval echo "\"\$as_me:13870: $lt_compile\"" >&5)
++   (eval "$lt_compile" 2>conftest.err)
++   ac_status=$?
++   cat conftest.err >&5
++   echo "$as_me:13874: \$? = $ac_status" >&5
++   if (exit $ac_status) && test -s "$ac_outfile"; then
++     # The compiler can only warn and ignore the option if not recognized
++     # So say no if there are warnings
++     if test ! -s conftest.err; then
++       lt_prog_compiler_pic_works_F77=yes
++     fi
++   fi
++   $rm conftest*
++
++fi
++echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
++echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
++
++if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
++    case $lt_prog_compiler_pic_F77 in
++     "" | " "*) ;;
++     *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
++     esac
++else
++    lt_prog_compiler_pic_F77=
++     lt_prog_compiler_can_build_shared_F77=no
++fi
++
++fi
++case "$host_os" in
++  # For platforms which do not support PIC, -DPIC is meaningless:
++  *djgpp*)
++    lt_prog_compiler_pic_F77=
++    ;;
++  *)
++    lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
++    ;;
++esac
++
++echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
++echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
++if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  lt_cv_prog_compiler_c_o_F77=no
++   $rm -r conftest 2>/dev/null
++   mkdir conftest
++   cd conftest
++   mkdir out
++   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
++
++   # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
++   # that will create temporary files in the current directory regardless of
++   # the output directory.  Thus, making CWD read-only will cause this test
++   # to fail, enabling locking or at least warning the user not to do parallel
++   # builds.
++   chmod -w .
++
++   lt_compiler_flag="-o out/conftest2.$ac_objext"
++   # Insert the option either (1) after the last *FLAGS variable, or
++   # (2) before a word containing "conftest.", or (3) at the end.
++   # Note that $ac_compile itself does not contain backslashes and begins
++   # with a dollar sign (not a hyphen), so the echo should work correctly.
++   lt_compile=`echo "$ac_compile" | $SED \
++   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
++   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
++   -e 's:$: $lt_compiler_flag:'`
++   (eval echo "\"\$as_me:13937: $lt_compile\"" >&5)
++   (eval "$lt_compile" 2>out/conftest.err)
++   ac_status=$?
++   cat out/conftest.err >&5
++   echo "$as_me:13941: \$? = $ac_status" >&5
++   if (exit $ac_status) && test -s out/conftest2.$ac_objext
++   then
++     # The compiler can only warn and ignore the option if not recognized
++     # So say no if there are warnings
++     if test ! -s out/conftest.err; then
++       lt_cv_prog_compiler_c_o_F77=yes
++     fi
++   fi
++   chmod u+w .
++   $rm conftest*
++   # SGI C++ compiler will create directory out/ii_files/ for
++   # template instantiation
++   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
++   $rm out/* && rmdir out
++   cd ..
++   rmdir conftest
++   $rm conftest*
++
++fi
++echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
++echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
++
++
++hard_links="nottested"
++if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
++  # do not overwrite the value of need_locks provided by the user
++  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
++echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
++  hard_links=yes
++  $rm conftest*
++  ln conftest.a conftest.b 2>/dev/null && hard_links=no
++  touch conftest.a
++  ln conftest.a conftest.b 2>&5 || hard_links=no
++  ln conftest.a conftest.b 2>/dev/null && hard_links=no
++  echo "$as_me:$LINENO: result: $hard_links" >&5
++echo "${ECHO_T}$hard_links" >&6
++  if test "$hard_links" = no; then
++    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
++echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
++    need_locks=warn
++  fi
++else
++  need_locks=no
++fi
++
++echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
++echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
++
++  runpath_var=
++  allow_undefined_flag_F77=
++  enable_shared_with_static_runtimes_F77=no
++  archive_cmds_F77=
++  archive_expsym_cmds_F77=
++  old_archive_From_new_cmds_F77=
++  old_archive_from_expsyms_cmds_F77=
++  export_dynamic_flag_spec_F77=
++  whole_archive_flag_spec_F77=
++  thread_safe_flag_spec_F77=
++  hardcode_libdir_flag_spec_F77=
++  hardcode_libdir_flag_spec_ld_F77=
++  hardcode_libdir_separator_F77=
++  hardcode_direct_F77=no
++  hardcode_minus_L_F77=no
++  hardcode_shlibpath_var_F77=unsupported
++  link_all_deplibs_F77=unknown
++  hardcode_automatic_F77=no
++  module_cmds_F77=
++  module_expsym_cmds_F77=
++  always_export_symbols_F77=no
++  export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
++  # include_expsyms should be a list of space-separated symbols to be *always*
++  # included in the symbol list
++  include_expsyms_F77=
++  # exclude_expsyms can be an extended regexp of symbols to exclude
++  # it will be wrapped by ` (' and `)$', so one must not match beginning or
++  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
++  # as well as any symbol that contains `d'.
++  exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
++  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
++  # platforms (ab)use it in PIC code, but their linkers get confused if
++  # the symbol is explicitly referenced.  Since portable code cannot
++  # rely on this symbol name, it's probably fine to never include it in
++  # preloaded symbol tables.
++  extract_expsyms_cmds=
++
++  case $host_os in
++  cygwin* | mingw* | pw32*)
++    # FIXME: the MSVC++ port hasn't been tested in a loooong time
++    # When not using gcc, we currently assume that we are using
++    # Microsoft Visual C++.
++    if test "$GCC" != yes; then
++      with_gnu_ld=no
++    fi
++    ;;
++  openbsd*)
++    with_gnu_ld=no
++    ;;
++  esac
++
++  ld_shlibs_F77=yes
++  if test "$with_gnu_ld" = yes; then
++    # If archive_cmds runs LD, not CC, wlarc should be empty
++    wlarc='${wl}'
++
++    # See if GNU ld supports shared libraries.
++    case $host_os in
++    aix3* | aix4* | aix5*)
++      # On AIX/PPC, the GNU linker is very broken
++      if test "$host_cpu" != ia64; then
++	ld_shlibs_F77=no
++	cat <<EOF 1>&2
++
++*** Warning: the GNU linker, at least up to release 2.9.1, is reported
++*** to be unable to reliably create shared libraries on AIX.
++*** Therefore, libtool is disabling shared libraries support.  If you
++*** really care for shared libraries, you may want to modify your PATH
++*** so that a non-GNU linker is found, and then restart.
++
++EOF
++      fi
++      ;;
++
++    amigaos*)
++      archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
++      hardcode_libdir_flag_spec_F77='-L$libdir'
++      hardcode_minus_L_F77=yes
++
++      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
++      # that the semantics of dynamic libraries on AmigaOS, at least up
++      # to version 4, is to share data among multiple programs linked
++      # with the same dynamic library.  Since this doesn't match the
++      # behavior of shared libraries on other platforms, we can't use
++      # them.
++      ld_shlibs_F77=no
++      ;;
++
++    beos*)
++      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
++	allow_undefined_flag_F77=unsupported
++	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
++	# support --undefined.  This deserves some investigation.  FIXME
++	archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++      else
++	ld_shlibs_F77=no
++      fi
++      ;;
++
++    cygwin* | mingw* | pw32*)
++      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
++      # as there is no search path for DLLs.
++      hardcode_libdir_flag_spec_F77='-L$libdir'
++      allow_undefined_flag_F77=unsupported
++      always_export_symbols_F77=no
++      enable_shared_with_static_runtimes_F77=yes
++      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
++
++      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
++        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
++	# If the export-symbols file already is a .def file (1st line
++	# is EXPORTS), use it as is; otherwise, prepend...
++	archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
++	  cp $export_symbols $output_objdir/$soname.def;
++	else
++	  echo EXPORTS > $output_objdir/$soname.def;
++	  cat $export_symbols >> $output_objdir/$soname.def;
++	fi~
++	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
++      else
++	ld_shlibs=no
++      fi
++      ;;
++
++    netbsd*)
++      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++	archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
++	wlarc=
++      else
++	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++      fi
++      ;;
++
++    solaris* | sysv5*)
++      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
++	ld_shlibs_F77=no
++	cat <<EOF 1>&2
++
++*** Warning: The releases 2.8.* of the GNU linker cannot reliably
++*** create shared libraries on Solaris systems.  Therefore, libtool
++*** is disabling shared libraries support.  We urge you to upgrade GNU
++*** binutils to release 2.9.1 or newer.  Another option is to modify
++*** your PATH or compiler configuration so that the native linker is
++*** used, and then restart.
++
++EOF
++      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
++	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++      else
++	ld_shlibs_F77=no
++      fi
++      ;;
++
++    sunos4*)
++      archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++      wlarc=
++      hardcode_direct_F77=yes
++      hardcode_shlibpath_var_F77=no
++      ;;
++
++  linux*)
++    if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
++        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++	archive_cmds_F77="$tmp_archive_cmds"
++      supports_anon_versioning=no
++      case `$LD -v 2>/dev/null` in
++        *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
++        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
++        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
++        *\ 2.11.*) ;; # other 2.11 versions
++        *) supports_anon_versioning=yes ;;
++      esac
++      if test $supports_anon_versioning = yes; then
++        archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
++cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
++$echo "local: *; };" >> $output_objdir/$libname.ver~
++        $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
++      else
++        archive_expsym_cmds_F77="$tmp_archive_cmds"
++      fi
++    else
++      ld_shlibs_F77=no
++    fi
++    ;;
++
++    *)
++      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
++	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++      else
++	ld_shlibs_F77=no
++      fi
++      ;;
++    esac
++
++    if test "$ld_shlibs_F77" = yes; then
++      runpath_var=LD_RUN_PATH
++      hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
++      export_dynamic_flag_spec_F77='${wl}--export-dynamic'
++      # ancient GNU ld didn't support --whole-archive et. al.
++      if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
++ 	whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
++      else
++  	whole_archive_flag_spec_F77=
++      fi
++    fi
++  else
++    # PORTME fill in a description of your system's linker (not GNU ld)
++    case $host_os in
++    aix3*)
++      allow_undefined_flag_F77=unsupported
++      always_export_symbols_F77=yes
++      archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
++      # Note: this linker hardcodes the directories in LIBPATH if there
++      # are no directories specified by -L.
++      hardcode_minus_L_F77=yes
++      if test "$GCC" = yes && test -z "$link_static_flag"; then
++	# Neither direct hardcoding nor static linking is supported with a
++	# broken collect2.
++	hardcode_direct_F77=unsupported
++      fi
++      ;;
++
++    aix4* | aix5*)
++      if test "$host_cpu" = ia64; then
++	# On IA64, the linker does run time linking by default, so we don't
++	# have to do anything special.
++	aix_use_runtimelinking=no
++	exp_sym_flag='-Bexport'
++	no_entry_flag=""
++      else
++	# If we're using GNU nm, then we don't want the "-C" option.
++	# -C means demangle to AIX nm, but means don't demangle with GNU nm
++	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
++	  export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
++	else
++	  export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
++	fi
++	aix_use_runtimelinking=no
++
++	# Test if we are trying to use run time linking or normal
++	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
++	# need to do runtime linking.
++	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
++	  for ld_flag in $LDFLAGS; do
++  	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
++  	    aix_use_runtimelinking=yes
++  	    break
++  	  fi
++	  done
++	esac
++
++	exp_sym_flag='-bexport'
++	no_entry_flag='-bnoentry'
++      fi
++
++      # When large executables or shared objects are built, AIX ld can
++      # have problems creating the table of contents.  If linking a library
++      # or program results in "error TOC overflow" add -mminimal-toc to
++      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
++      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
++
++      archive_cmds_F77=''
++      hardcode_direct_F77=yes
++      hardcode_libdir_separator_F77=':'
++      link_all_deplibs_F77=yes
++
++      if test "$GCC" = yes; then
++	case $host_os in aix4.012|aix4.012.*)
++	# We only want to do this on AIX 4.2 and lower, the check
++	# below for broken collect2 doesn't work under 4.3+
++	  collect2name=`${CC} -print-prog-name=collect2`
++	  if test -f "$collect2name" && \
++  	   strings "$collect2name" | grep resolve_lib_name >/dev/null
++	  then
++  	  # We have reworked collect2
++  	  hardcode_direct_F77=yes
++	  else
++  	  # We have old collect2
++  	  hardcode_direct_F77=unsupported
++  	  # It fails to find uninstalled libraries when the uninstalled
++  	  # path is not listed in the libpath.  Setting hardcode_minus_L
++  	  # to unsupported forces relinking
++  	  hardcode_minus_L_F77=yes
++  	  hardcode_libdir_flag_spec_F77='-L$libdir'
++  	  hardcode_libdir_separator_F77=
++	  fi
++	esac
++	shared_flag='-shared'
++      else
++	# not using gcc
++	if test "$host_cpu" = ia64; then
++  	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
++  	# chokes on -Wl,-G. The following line is correct:
++	  shared_flag='-G'
++	else
++  	if test "$aix_use_runtimelinking" = yes; then
++	    shared_flag='${wl}-G'
++	  else
++	    shared_flag='${wl}-bM:SRE'
++  	fi
++	fi
++      fi
++
++      # It seems that -bexpall does not export symbols beginning with
++      # underscore (_), so it is better to generate a list of symbols to export.
++      always_export_symbols_F77=yes
++      if test "$aix_use_runtimelinking" = yes; then
++	# Warning - without using the other runtime loading flags (-brtl),
++	# -berok will link without error, but may produce a broken library.
++	allow_undefined_flag_F77='-berok'
++       # Determine the default libpath from the value encoded in an empty executable.
++       cat >conftest.$ac_ext <<_ACEOF
++      program main
++
++      end
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++
++aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
++}'`
++# Check for a 64-bit object if we didn't find anything.
++if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
++}'`; fi
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
++
++       hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
++	archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
++       else
++	if test "$host_cpu" = ia64; then
++	  hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
++	  allow_undefined_flag_F77="-z nodefs"
++	  archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
++	else
++	 # Determine the default libpath from the value encoded in an empty executable.
++	 cat >conftest.$ac_ext <<_ACEOF
++      program main
++
++      end
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++
++aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
++}'`
++# Check for a 64-bit object if we didn't find anything.
++if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
++}'`; fi
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
++
++	 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
++	  # Warning - without using the other run time loading flags,
++	  # -berok will link without error, but may produce a broken library.
++	  no_undefined_flag_F77=' ${wl}-bernotok'
++	  allow_undefined_flag_F77=' ${wl}-berok'
++	  # -bexpall does not export symbols beginning with underscore (_)
++	  always_export_symbols_F77=yes
++	  # Exported symbols can be pulled into shared objects from archives
++	  whole_archive_flag_spec_F77=' '
++	  archive_cmds_need_lc_F77=yes
++	  # This is similar to how AIX traditionally builds it's shared libraries.
++	  archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
++	fi
++      fi
++      ;;
++
++    amigaos*)
++      archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
++      hardcode_libdir_flag_spec_F77='-L$libdir'
++      hardcode_minus_L_F77=yes
++      # see comment about different semantics on the GNU ld section
++      ld_shlibs_F77=no
++      ;;
++
++    bsdi4*)
++      export_dynamic_flag_spec_F77=-rdynamic
++      ;;
++
++    cygwin* | mingw* | pw32*)
++      # When not using gcc, we currently assume that we are using
++      # Microsoft Visual C++.
++      # hardcode_libdir_flag_spec is actually meaningless, as there is
++      # no search path for DLLs.
++      hardcode_libdir_flag_spec_F77=' '
++      allow_undefined_flag_F77=unsupported
++      # Tell ltmain to make .lib files, not .a files.
++      libext=lib
++      # Tell ltmain to make .dll files, not .so files.
++      shrext=".dll"
++      # FIXME: Setting linknames here is a bad hack.
++      archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
++      # The linker will automatically build a .lib file if we build a DLL.
++      old_archive_From_new_cmds_F77='true'
++      # FIXME: Should let the user specify the lib program.
++      old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
++      fix_srcfile_path='`cygpath -w "$srcfile"`'
++      enable_shared_with_static_runtimes_F77=yes
++      ;;
++
++    darwin* | rhapsody*)
++    if test "$GXX" = yes ; then
++      archive_cmds_need_lc_F77=no
++      case "$host_os" in
++      rhapsody* | darwin1.[012])
++	allow_undefined_flag_F77='-undefined suppress'
++	;;
++      *) # Darwin 1.3 on
++      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
++      	allow_undefined_flag_F77='-flat_namespace -undefined suppress'
++      else
++        case ${MACOSX_DEPLOYMENT_TARGET} in
++          10.[012])
++            allow_undefined_flag_F77='-flat_namespace -undefined suppress'
++            ;;
++          10.*)
++            allow_undefined_flag_F77='-undefined dynamic_lookup'
++            ;;
++        esac
++      fi
++	;;
++      esac
++    	lt_int_apple_cc_single_mod=no
++    	output_verbose_link_cmd='echo'
++    	if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
++    	  lt_int_apple_cc_single_mod=yes
++    	fi
++    	if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
++    	  archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
++    	else
++        archive_cmds_F77='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
++      fi
++      module_cmds_F77='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
++      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
++        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
++          archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++        else
++          archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++        fi
++          module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++      hardcode_direct_F77=no
++      hardcode_automatic_F77=yes
++      hardcode_shlibpath_var_F77=unsupported
++      whole_archive_flag_spec_F77='-all_load $convenience'
++      link_all_deplibs_F77=yes
++    else
++      ld_shlibs_F77=no
++    fi
++      ;;
++
++    dgux*)
++      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_libdir_flag_spec_F77='-L$libdir'
++      hardcode_shlibpath_var_F77=no
++      ;;
++
++    freebsd1*)
++      ld_shlibs_F77=no
++      ;;
++
++    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
++    # support.  Future versions do this automatically, but an explicit c++rt0.o
++    # does not break anything, and helps significantly (at the cost of a little
++    # extra space).
++    freebsd2.2*)
++      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
++      hardcode_libdir_flag_spec_F77='-R$libdir'
++      hardcode_direct_F77=yes
++      hardcode_shlibpath_var_F77=no
++      ;;
++
++    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
++    freebsd2*)
++      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_direct_F77=yes
++      hardcode_minus_L_F77=yes
++      hardcode_shlibpath_var_F77=no
++      ;;
++
++    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
++    freebsd* | kfreebsd*-gnu)
++      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
++      hardcode_libdir_flag_spec_F77='-R$libdir'
++      hardcode_direct_F77=yes
++      hardcode_shlibpath_var_F77=no
++      ;;
++
++    hpux9*)
++      if test "$GCC" = yes; then
++	archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
++      else
++	archive_cmds_F77='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
++      fi
++      hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
++      hardcode_libdir_separator_F77=:
++      hardcode_direct_F77=yes
++
++      # hardcode_minus_L: Not really in the search PATH,
++      # but as the default location of the library.
++      hardcode_minus_L_F77=yes
++      export_dynamic_flag_spec_F77='${wl}-E'
++      ;;
++
++    hpux10* | hpux11*)
++      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
++	case "$host_cpu" in
++	hppa*64*|ia64*)
++	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++	  ;;
++	*)
++	  archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
++	  ;;
++	esac
++      else
++	case "$host_cpu" in
++	hppa*64*|ia64*)
++	  archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
++	  ;;
++	*)
++	  archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
++	  ;;
++	esac
++      fi
++      if test "$with_gnu_ld" = no; then
++	case "$host_cpu" in
++	hppa*64*)
++	  hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
++	  hardcode_libdir_flag_spec_ld_F77='+b $libdir'
++	  hardcode_libdir_separator_F77=:
++	  hardcode_direct_F77=no
++	  hardcode_shlibpath_var_F77=no
++	  ;;
++	ia64*)
++	  hardcode_libdir_flag_spec_F77='-L$libdir'
++	  hardcode_direct_F77=no
++	  hardcode_shlibpath_var_F77=no
++
++	  # hardcode_minus_L: Not really in the search PATH,
++	  # but as the default location of the library.
++	  hardcode_minus_L_F77=yes
++	  ;;
++	*)
++	  hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
++	  hardcode_libdir_separator_F77=:
++	  hardcode_direct_F77=yes
++	  export_dynamic_flag_spec_F77='${wl}-E'
++
++	  # hardcode_minus_L: Not really in the search PATH,
++	  # but as the default location of the library.
++	  hardcode_minus_L_F77=yes
++	  ;;
++	esac
++      fi
++      ;;
++
++    irix5* | irix6* | nonstopux*)
++      if test "$GCC" = yes; then
++	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++      else
++	archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
++	hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
++      fi
++      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
++      hardcode_libdir_separator_F77=:
++      link_all_deplibs_F77=yes
++      ;;
++
++    netbsd*)
++      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++	archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
++      else
++	archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
++      fi
++      hardcode_libdir_flag_spec_F77='-R$libdir'
++      hardcode_direct_F77=yes
++      hardcode_shlibpath_var_F77=no
++      ;;
++
++    newsos6)
++      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_direct_F77=yes
++      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
++      hardcode_libdir_separator_F77=:
++      hardcode_shlibpath_var_F77=no
++      ;;
++
++    openbsd*)
++      hardcode_direct_F77=yes
++      hardcode_shlibpath_var_F77=no
++      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
++	archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
++	hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
++	export_dynamic_flag_spec_F77='${wl}-E'
++      else
++       case $host_os in
++	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
++	   archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++	   hardcode_libdir_flag_spec_F77='-R$libdir'
++	   ;;
++	 *)
++	   archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
++	   hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
++	   ;;
++       esac
++      fi
++      ;;
++
++    os2*)
++      hardcode_libdir_flag_spec_F77='-L$libdir'
++      hardcode_minus_L_F77=yes
++      allow_undefined_flag_F77=unsupported
++      archive_cmds_F77='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
++      old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
++      ;;
++
++    osf3*)
++      if test "$GCC" = yes; then
++	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
++	archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++      else
++	allow_undefined_flag_F77=' -expect_unresolved \*'
++	archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
++      fi
++      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
++      hardcode_libdir_separator_F77=:
++      ;;
++
++    osf4* | osf5*)	# as osf3* with the addition of -msym flag
++      if test "$GCC" = yes; then
++	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
++	archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++	hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
++      else
++	allow_undefined_flag_F77=' -expect_unresolved \*'
++	archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
++	archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
++	$LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
++
++	# Both c and cxx compiler support -rpath directly
++	hardcode_libdir_flag_spec_F77='-rpath $libdir'
++      fi
++      hardcode_libdir_separator_F77=:
++      ;;
++
++    sco3.2v5*)
++      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_shlibpath_var_F77=no
++      export_dynamic_flag_spec_F77='${wl}-Bexport'
++      runpath_var=LD_RUN_PATH
++      hardcode_runpath_var=yes
++      ;;
++
++    solaris*)
++      no_undefined_flag_F77=' -z text'
++      if test "$GCC" = yes; then
++	archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
++      else
++	archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
++	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++  	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
++      fi
++      hardcode_libdir_flag_spec_F77='-R$libdir'
++      hardcode_shlibpath_var_F77=no
++      case $host_os in
++      solaris2.[0-5] | solaris2.[0-5].*) ;;
++      *) # Supported since Solaris 2.6 (maybe 2.5.1?)
++	whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
++      esac
++      link_all_deplibs_F77=yes
++      ;;
++
++    sunos4*)
++      if test "x$host_vendor" = xsequent; then
++	# Use $CC to link under sequent, because it throws in some extra .o
++	# files that make .init and .fini sections work.
++	archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
++      else
++	archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
++      fi
++      hardcode_libdir_flag_spec_F77='-L$libdir'
++      hardcode_direct_F77=yes
++      hardcode_minus_L_F77=yes
++      hardcode_shlibpath_var_F77=no
++      ;;
++
++    sysv4)
++      case $host_vendor in
++	sni)
++	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++	  hardcode_direct_F77=yes # is this really true???
++	;;
++	siemens)
++	  ## LD is ld it makes a PLAMLIB
++	  ## CC just makes a GrossModule.
++	  archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
++	  reload_cmds_F77='$CC -r -o $output$reload_objs'
++	  hardcode_direct_F77=no
++        ;;
++	motorola)
++	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++	  hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
++	;;
++      esac
++      runpath_var='LD_RUN_PATH'
++      hardcode_shlibpath_var_F77=no
++      ;;
++
++    sysv4.3*)
++      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_shlibpath_var_F77=no
++      export_dynamic_flag_spec_F77='-Bexport'
++      ;;
++
++    sysv4*MP*)
++      if test -d /usr/nec; then
++	archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++	hardcode_shlibpath_var_F77=no
++	runpath_var=LD_RUN_PATH
++	hardcode_runpath_var=yes
++	ld_shlibs_F77=yes
++      fi
++      ;;
++
++    sysv4.2uw2*)
++      archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_direct_F77=yes
++      hardcode_minus_L_F77=no
++      hardcode_shlibpath_var_F77=no
++      hardcode_runpath_var=yes
++      runpath_var=LD_RUN_PATH
++      ;;
++
++   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
++      no_undefined_flag_F77='${wl}-z ${wl}text'
++      if test "$GCC" = yes; then
++	archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++      else
++	archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++      fi
++      runpath_var='LD_RUN_PATH'
++      hardcode_shlibpath_var_F77=no
++      ;;
++
++    sysv5*)
++      no_undefined_flag_F77=' -z text'
++      # $CC -shared without GNU ld will not create a library from C++
++      # object files and a static libstdc++, better avoid it by now
++      archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++  		$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
++      hardcode_libdir_flag_spec_F77=
++      hardcode_shlibpath_var_F77=no
++      runpath_var='LD_RUN_PATH'
++      ;;
++
++    uts4*)
++      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_libdir_flag_spec_F77='-L$libdir'
++      hardcode_shlibpath_var_F77=no
++      ;;
++
++    *)
++      ld_shlibs_F77=no
++      ;;
++    esac
++  fi
++
++echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
++echo "${ECHO_T}$ld_shlibs_F77" >&6
++test "$ld_shlibs_F77" = no && can_build_shared=no
++
++variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
++if test "$GCC" = yes; then
++  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
++fi
++
++#
++# Do we need to explicitly link libc?
++#
++case "x$archive_cmds_need_lc_F77" in
++x|xyes)
++  # Assume -lc should be added
++  archive_cmds_need_lc_F77=yes
++
++  if test "$enable_shared" = yes && test "$GCC" = yes; then
++    case $archive_cmds_F77 in
++    *'~'*)
++      # FIXME: we may have to deal with multi-command sequences.
++      ;;
++    '$CC '*)
++      # Test whether the compiler implicitly links with -lc since on some
++      # systems, -lgcc has to come before -lc. If gcc already passes -lc
++      # to ld, don't add -lc before -lgcc.
++      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
++echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
++      $rm conftest*
++      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
++
++      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } 2>conftest.err; then
++        soname=conftest
++        lib=conftest
++        libobjs=conftest.$ac_objext
++        deplibs=
++        wl=$lt_prog_compiler_wl_F77
++        compiler_flags=-v
++        linker_flags=-v
++        verstring=
++        output_objdir=.
++        libname=conftest
++        lt_save_allow_undefined_flag=$allow_undefined_flag_F77
++        allow_undefined_flag_F77=
++        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
++  (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }
++        then
++	  archive_cmds_need_lc_F77=no
++        else
++	  archive_cmds_need_lc_F77=yes
++        fi
++        allow_undefined_flag_F77=$lt_save_allow_undefined_flag
++      else
++        cat conftest.err 1>&5
++      fi
++      $rm conftest*
++      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
++echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
++      ;;
++    esac
++  fi
++  ;;
++esac
++
++echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
++echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
++library_names_spec=
++libname_spec='lib$name'
++soname_spec=
++shrext=".so"
++postinstall_cmds=
++postuninstall_cmds=
++finish_cmds=
++finish_eval=
++shlibpath_var=
++shlibpath_overrides_runpath=unknown
++version_type=none
++dynamic_linker="$host_os ld.so"
++sys_lib_dlsearch_path_spec="/lib /usr/lib"
++if test "$GCC" = yes; then
++  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
++  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
++    # if the path contains ";" then we assume it to be the separator
++    # otherwise default to the standard path separator (i.e. ":") - it is
++    # assumed that no part of a normal pathname contains ";" but that should
++    # okay in the real world where ";" in dirpaths is itself problematic.
++    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
++  else
++    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
++  fi
++else
++  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
++fi
++need_lib_prefix=unknown
++hardcode_into_libs=no
++
++# when you set need_version to no, make sure it does not cause -set_version
++# flags to be left without arguments
++need_version=unknown
++
++case $host_os in
++aix3*)
++  version_type=linux
++  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
++  shlibpath_var=LIBPATH
++
++  # AIX 3 has no versioning support, so we append a major version to the name.
++  soname_spec='${libname}${release}${shared_ext}$major'
++  ;;
++
++aix4* | aix5*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  hardcode_into_libs=yes
++  if test "$host_cpu" = ia64; then
++    # AIX 5 supports IA64
++    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
++    shlibpath_var=LD_LIBRARY_PATH
++  else
++    # With GCC up to 2.95.x, collect2 would create an import file
++    # for dependence libraries.  The import file would start with
++    # the line `#! .'.  This would cause the generated library to
++    # depend on `.', always an invalid library.  This was fixed in
++    # development snapshots of GCC prior to 3.0.
++    case $host_os in
++      aix4 | aix4.[01] | aix4.[01].*)
++      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
++	   echo ' yes '
++	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
++	:
++      else
++	can_build_shared=no
++      fi
++      ;;
++    esac
++    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
++    # soname into executable. Probably we can add versioning support to
++    # collect2, so additional links can be useful in future.
++    if test "$aix_use_runtimelinking" = yes; then
++      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
++      # instead of lib<name>.a to let people know that these are not
++      # typical AIX shared libraries.
++      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++    else
++      # We preserve .a as extension for shared libraries through AIX4.2
++      # and later when we are not doing run time linking.
++      library_names_spec='${libname}${release}.a $libname.a'
++      soname_spec='${libname}${release}${shared_ext}$major'
++    fi
++    shlibpath_var=LIBPATH
++  fi
++  ;;
++
++amigaos*)
++  library_names_spec='$libname.ixlibrary $libname.a'
++  # Create ${libname}_ixlibrary.a entries in /sys/libs.
++  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
++  ;;
++
++beos*)
++  library_names_spec='${libname}${shared_ext}'
++  dynamic_linker="$host_os ld.so"
++  shlibpath_var=LIBRARY_PATH
++  ;;
++
++bsdi4*)
++  version_type=linux
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
++  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
++  # the default ld.so.conf also contains /usr/contrib/lib and
++  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
++  # libtool to hard-code these into programs
++  ;;
++
++cygwin* | mingw* | pw32*)
++  version_type=windows
++  shrext=".dll"
++  need_version=no
++  need_lib_prefix=no
++
++  case $GCC,$host_os in
++  yes,cygwin* | yes,mingw* | yes,pw32*)
++    library_names_spec='$libname.dll.a'
++    # DLL is installed to $(libdir)/../bin by postinstall_cmds
++    postinstall_cmds='base_file=`basename \${file}`~
++      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
++      dldir=$destdir/`dirname \$dlpath`~
++      test -d \$dldir || mkdir -p \$dldir~
++      $install_prog $dir/$dlname \$dldir/$dlname'
++    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
++      dlpath=$dir/\$dldll~
++       $rm \$dlpath'
++    shlibpath_overrides_runpath=yes
++
++    case $host_os in
++    cygwin*)
++      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
++      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
++      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
++      ;;
++    mingw*)
++      # MinGW DLLs use traditional 'lib' prefix
++      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
++      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
++      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
++        # It is most probably a Windows format PATH printed by
++        # mingw gcc, but we are running on Cygwin. Gcc prints its search
++        # path with ; separators, and with drive letters. We can handle the
++        # drive letters (cygwin fileutils understands them), so leave them,
++        # especially as we might pass files found there to a mingw objdump,
++        # which wouldn't understand a cygwinified path. Ahh.
++        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
++      else
++        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
++      fi
++      ;;
++    pw32*)
++      # pw32 DLLs use 'pw' prefix rather than 'lib'
++      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
++      ;;
++    esac
++    ;;
++
++  *)
++    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
++    ;;
++  esac
++  dynamic_linker='Win32 ld.exe'
++  # FIXME: first we should search . and the directory the executable is in
++  shlibpath_var=PATH
++  ;;
++
++darwin* | rhapsody*)
++  dynamic_linker="$host_os dyld"
++  version_type=darwin
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
++  soname_spec='${libname}${release}${major}$shared_ext'
++  shlibpath_overrides_runpath=yes
++  shlibpath_var=DYLD_LIBRARY_PATH
++  shrext='$(test .$module = .yes && echo .so || echo .dylib)'
++  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
++  if test "$GCC" = yes; then
++    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
++  else
++    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
++  fi
++  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
++  ;;
++
++dgux*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++freebsd1*)
++  dynamic_linker=no
++  ;;
++
++kfreebsd*-gnu)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=no
++  hardcode_into_libs=yes
++  dynamic_linker='GNU ld.so'
++  ;;
++
++freebsd*)
++  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
++  version_type=freebsd-$objformat
++  case $version_type in
++    freebsd-elf*)
++      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
++      need_version=no
++      need_lib_prefix=no
++      ;;
++    freebsd-*)
++      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
++      need_version=yes
++      ;;
++  esac
++  shlibpath_var=LD_LIBRARY_PATH
++  case $host_os in
++  freebsd2*)
++    shlibpath_overrides_runpath=yes
++    ;;
++  freebsd3.01* | freebsdelf3.01*)
++    shlibpath_overrides_runpath=yes
++    hardcode_into_libs=yes
++    ;;
++  *) # from 3.2 on
++    shlibpath_overrides_runpath=no
++    hardcode_into_libs=yes
++    ;;
++  esac
++  ;;
++
++gnu*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  hardcode_into_libs=yes
++  ;;
++
++hpux9* | hpux10* | hpux11*)
++  # Give a soname corresponding to the major version so that dld.sl refuses to
++  # link against other versions.
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=no
++  case "$host_cpu" in
++  ia64*)
++    shrext='.so'
++    hardcode_into_libs=yes
++    dynamic_linker="$host_os dld.so"
++    shlibpath_var=LD_LIBRARY_PATH
++    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
++    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++    soname_spec='${libname}${release}${shared_ext}$major'
++    if test "X$HPUX_IA64_MODE" = X32; then
++      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
++    else
++      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
++    fi
++    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
++    ;;
++   hppa*64*)
++     shrext='.sl'
++     hardcode_into_libs=yes
++     dynamic_linker="$host_os dld.sl"
++     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
++     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
++     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++     soname_spec='${libname}${release}${shared_ext}$major'
++     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
++     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
++     ;;
++   *)
++    shrext='.sl'
++    dynamic_linker="$host_os dld.sl"
++    shlibpath_var=SHLIB_PATH
++    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
++    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++    soname_spec='${libname}${release}${shared_ext}$major'
++    ;;
++  esac
++  # HP-UX runs *really* slowly unless shared libraries are mode 555.
++  postinstall_cmds='chmod 555 $lib'
++  ;;
++
++irix5* | irix6* | nonstopux*)
++  case $host_os in
++    nonstopux*) version_type=nonstopux ;;
++    *)
++	if test "$lt_cv_prog_gnu_ld" = yes; then
++		version_type=linux
++	else
++		version_type=irix
++	fi ;;
++  esac
++  need_lib_prefix=no
++  need_version=no
++  soname_spec='${libname}${release}${shared_ext}$major'
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
++  case $host_os in
++  irix5* | nonstopux*)
++    libsuff= shlibsuff=
++    ;;
++  *)
++    case $LD in # libtool.m4 will add one of these switches to LD
++    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
++      libsuff= shlibsuff= libmagic=32-bit;;
++    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
++      libsuff=32 shlibsuff=N32 libmagic=N32;;
++    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
++      libsuff=64 shlibsuff=64 libmagic=64-bit;;
++    *) libsuff= shlibsuff= libmagic=never-match;;
++    esac
++    ;;
++  esac
++  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
++  shlibpath_overrides_runpath=no
++  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
++  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
++  hardcode_into_libs=yes
++  ;;
++
++# No shared lib support for Linux oldld, aout, or coff.
++linux*oldld* | linux*aout* | linux*coff*)
++  dynamic_linker=no
++  ;;
++
++# This must be Linux ELF.
++linux*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=no
++  # This implies no fast_install, which is unacceptable.
++  # Some rework will be needed to allow for fast_install
++  # before this can be enabled.
++  hardcode_into_libs=yes
++
++  # We used to test for /lib/ld.so.1 and disable shared libraries on
++  # powerpc, because MkLinux only supported shared libraries with the
++  # GNU dynamic linker.  Since this was broken with cross compilers,
++  # most powerpc-linux boxes support dynamic linking these days and
++  # people can always --disable-shared, the test was removed, and we
++  # assume the GNU/Linux dynamic linker is in use.
++  dynamic_linker='GNU/Linux ld.so'
++  ;;
++
++netbsd*)
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=no
++  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
++    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
++    dynamic_linker='NetBSD (a.out) ld.so'
++  else
++    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
++    soname_spec='${libname}${release}${shared_ext}$major'
++    dynamic_linker='NetBSD ld.elf_so'
++  fi
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  hardcode_into_libs=yes
++  ;;
++
++newsos6)
++  version_type=linux
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  ;;
++
++nto-qnx*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  ;;
++
++openbsd*)
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
++    case $host_os in
++      openbsd2.[89] | openbsd2.[89].*)
++	shlibpath_overrides_runpath=no
++	;;
++      *)
++	shlibpath_overrides_runpath=yes
++	;;
++      esac
++  else
++    shlibpath_overrides_runpath=yes
++  fi
++  ;;
++
++os2*)
++  libname_spec='$name'
++  shrext=".dll"
++  need_lib_prefix=no
++  library_names_spec='$libname${shared_ext} $libname.a'
++  dynamic_linker='OS/2 ld.exe'
++  shlibpath_var=LIBPATH
++  ;;
++
++osf3* | osf4* | osf5*)
++  version_type=osf
++  need_lib_prefix=no
++  need_version=no
++  soname_spec='${libname}${release}${shared_ext}$major'
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  shlibpath_var=LD_LIBRARY_PATH
++  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
++  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
++  ;;
++
++sco3.2v5*)
++  version_type=osf
++  soname_spec='${libname}${release}${shared_ext}$major'
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++solaris*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  hardcode_into_libs=yes
++  # ldd complains unless libraries are executable
++  postinstall_cmds='chmod +x $lib'
++  ;;
++
++sunos4*)
++  version_type=sunos
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
++  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  if test "$with_gnu_ld" = yes; then
++    need_lib_prefix=no
++  fi
++  need_version=yes
++  ;;
++
++sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
++  version_type=linux
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  case $host_vendor in
++    sni)
++      shlibpath_overrides_runpath=no
++      need_lib_prefix=no
++      export_dynamic_flag_spec='${wl}-Blargedynsym'
++      runpath_var=LD_RUN_PATH
++      ;;
++    siemens)
++      need_lib_prefix=no
++      ;;
++    motorola)
++      need_lib_prefix=no
++      need_version=no
++      shlibpath_overrides_runpath=no
++      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
++      ;;
++  esac
++  ;;
++
++sysv4*MP*)
++  if test -d /usr/nec ;then
++    version_type=linux
++    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
++    soname_spec='$libname${shared_ext}.$major'
++    shlibpath_var=LD_LIBRARY_PATH
++  fi
++  ;;
++
++uts4*)
++  version_type=linux
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++*)
++  dynamic_linker=no
++  ;;
++esac
++echo "$as_me:$LINENO: result: $dynamic_linker" >&5
++echo "${ECHO_T}$dynamic_linker" >&6
++test "$dynamic_linker" = no && can_build_shared=no
++
++echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
++echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
++hardcode_action_F77=
++if test -n "$hardcode_libdir_flag_spec_F77" || \
++   test -n "$runpath_var F77" || \
++   test "X$hardcode_automatic_F77"="Xyes" ; then
++
++  # We can hardcode non-existant directories.
++  if test "$hardcode_direct_F77" != no &&
++     # If the only mechanism to avoid hardcoding is shlibpath_var, we
++     # have to relink, otherwise we might link with an installed library
++     # when we should be linking with a yet-to-be-installed one
++     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
++     test "$hardcode_minus_L_F77" != no; then
++    # Linking always hardcodes the temporary library directory.
++    hardcode_action_F77=relink
++  else
++    # We can link without hardcoding, and we can hardcode nonexisting dirs.
++    hardcode_action_F77=immediate
++  fi
++else
++  # We cannot hardcode anything, or else we can only hardcode existing
++  # directories.
++  hardcode_action_F77=unsupported
++fi
++echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
++echo "${ECHO_T}$hardcode_action_F77" >&6
++
++if test "$hardcode_action_F77" = relink; then
++  # Fast installation is not supported
++  enable_fast_install=no
++elif test "$shlibpath_overrides_runpath" = yes ||
++     test "$enable_shared" = no; then
++  # Fast installation is not necessary
++  enable_fast_install=needless
++fi
++
++striplib=
++old_striplib=
++echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
++echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
++if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
++  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
++  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
++  echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++else
++# FIXME - insert some real tests, host_os isn't really good enough
++  case $host_os in
++   darwin*)
++       if test -n "$STRIP" ; then
++         striplib="$STRIP -x"
++         echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++       else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++       ;;
++   *)
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++    ;;
++  esac
++fi
++
++
++
++# The else clause should only fire when bootstrapping the
++# libtool distribution, otherwise you forgot to ship ltmain.sh
++# with your package, and you will get complaints that there are
++# no rules to generate ltmain.sh.
++if test -f "$ltmain"; then
++  # See if we are running on zsh, and set the options which allow our commands through
++  # without removal of \ escapes.
++  if test -n "${ZSH_VERSION+set}" ; then
++    setopt NO_GLOB_SUBST
++  fi
++  # Now quote all the things that may contain metacharacters while being
++  # careful not to overquote the AC_SUBSTed values.  We take copies of the
++  # variables and quote the copies for generation of the libtool script.
++  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
++    SED SHELL STRIP \
++    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
++    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
++    deplibs_check_method reload_flag reload_cmds need_locks \
++    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
++    lt_cv_sys_global_symbol_to_c_name_address \
++    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
++    old_postinstall_cmds old_postuninstall_cmds \
++    compiler_F77 \
++    CC_F77 \
++    LD_F77 \
++    lt_prog_compiler_wl_F77 \
++    lt_prog_compiler_pic_F77 \
++    lt_prog_compiler_static_F77 \
++    lt_prog_compiler_no_builtin_flag_F77 \
++    export_dynamic_flag_spec_F77 \
++    thread_safe_flag_spec_F77 \
++    whole_archive_flag_spec_F77 \
++    enable_shared_with_static_runtimes_F77 \
++    old_archive_cmds_F77 \
++    old_archive_from_new_cmds_F77 \
++    predep_objects_F77 \
++    postdep_objects_F77 \
++    predeps_F77 \
++    postdeps_F77 \
++    compiler_lib_search_path_F77 \
++    archive_cmds_F77 \
++    archive_expsym_cmds_F77 \
++    postinstall_cmds_F77 \
++    postuninstall_cmds_F77 \
++    old_archive_from_expsyms_cmds_F77 \
++    allow_undefined_flag_F77 \
++    no_undefined_flag_F77 \
++    export_symbols_cmds_F77 \
++    hardcode_libdir_flag_spec_F77 \
++    hardcode_libdir_flag_spec_ld_F77 \
++    hardcode_libdir_separator_F77 \
++    hardcode_automatic_F77 \
++    module_cmds_F77 \
++    module_expsym_cmds_F77 \
++    lt_cv_prog_compiler_c_o_F77 \
++    exclude_expsyms_F77 \
++    include_expsyms_F77; do
++
++    case $var in
++    old_archive_cmds_F77 | \
++    old_archive_from_new_cmds_F77 | \
++    archive_cmds_F77 | \
++    archive_expsym_cmds_F77 | \
++    module_cmds_F77 | \
++    module_expsym_cmds_F77 | \
++    old_archive_from_expsyms_cmds_F77 | \
++    export_symbols_cmds_F77 | \
++    extract_expsyms_cmds | reload_cmds | finish_cmds | \
++    postinstall_cmds | postuninstall_cmds | \
++    old_postinstall_cmds | old_postuninstall_cmds | \
++    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
++      # Double-quote double-evaled strings.
++      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
++      ;;
++    *)
++      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
++      ;;
++    esac
++  done
++
++  case $lt_echo in
++  *'\$0 --fallback-echo"')
++    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
++    ;;
++  esac
++
++cfgfile="$ofile"
++
++  cat <<__EOF__ >> "$cfgfile"
++# ### BEGIN LIBTOOL TAG CONFIG: $tagname
++
++# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
++
++# Shell to use when invoking shell scripts.
++SHELL=$lt_SHELL
++
++# Whether or not to build shared libraries.
++build_libtool_libs=$enable_shared
++
++# Whether or not to build static libraries.
++build_old_libs=$enable_static
++
++# Whether or not to add -lc for building shared libraries.
++build_libtool_need_lc=$archive_cmds_need_lc_F77
++
++# Whether or not to disallow shared libs when runtime libs are static
++allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
++
++# Whether or not to optimize for fast installation.
++fast_install=$enable_fast_install
++
++# The host system.
++host_alias=$host_alias
++host=$host
++
++# An echo program that does not interpret backslashes.
++echo=$lt_echo
++
++# The archiver.
++AR=$lt_AR
++AR_FLAGS=$lt_AR_FLAGS
++
++# A C compiler.
++LTCC=$lt_LTCC
++
++# A language-specific compiler.
++CC=$lt_compiler_F77
++
++# Is the compiler the GNU C compiler?
++with_gcc=$GCC_F77
++
++# An ERE matcher.
++EGREP=$lt_EGREP
++
++# The linker used to build libraries.
++LD=$lt_LD_F77
++
++# Whether we need hard or soft links.
++LN_S=$lt_LN_S
++
++# A BSD-compatible nm program.
++NM=$lt_NM
++
++# A symbol stripping program
++STRIP=$lt_STRIP
++
++# Used to examine libraries when file_magic_cmd begins "file"
++MAGIC_CMD=$MAGIC_CMD
++
++# Used on cygwin: DLL creation program.
++DLLTOOL="$DLLTOOL"
++
++# Used on cygwin: object dumper.
++OBJDUMP="$OBJDUMP"
++
++# Used on cygwin: assembler.
++AS="$AS"
++
++# The name of the directory that contains temporary libtool files.
++objdir=$objdir
++
++# How to create reloadable object files.
++reload_flag=$lt_reload_flag
++reload_cmds=$lt_reload_cmds
++
++# How to pass a linker flag through the compiler.
++wl=$lt_lt_prog_compiler_wl_F77
++
++# Object file suffix (normally "o").
++objext="$ac_objext"
++
++# Old archive suffix (normally "a").
++libext="$libext"
++
++# Shared library suffix (normally ".so").
++shrext='$shrext'
++
++# Executable file suffix (normally "").
++exeext="$exeext"
++
++# Additional compiler flags for building library objects.
++pic_flag=$lt_lt_prog_compiler_pic_F77
++pic_mode=$pic_mode
++
++# What is the maximum length of a command?
++max_cmd_len=$lt_cv_sys_max_cmd_len
++
++# Does compiler simultaneously support -c and -o options?
++compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
++
++# Must we lock files when doing compilation ?
++need_locks=$lt_need_locks
++
++# Do we need the lib prefix for modules?
++need_lib_prefix=$need_lib_prefix
++
++# Do we need a version for libraries?
++need_version=$need_version
++
++# Whether dlopen is supported.
++dlopen_support=$enable_dlopen
++
++# Whether dlopen of programs is supported.
++dlopen_self=$enable_dlopen_self
++
++# Whether dlopen of statically linked programs is supported.
++dlopen_self_static=$enable_dlopen_self_static
++
++# Compiler flag to prevent dynamic linking.
++link_static_flag=$lt_lt_prog_compiler_static_F77
++
++# Compiler flag to turn off builtin functions.
++no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
++
++# Compiler flag to allow reflexive dlopens.
++export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
++
++# Compiler flag to generate shared objects directly from archives.
++whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
++
++# Compiler flag to generate thread-safe objects.
++thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
++
++# Library versioning type.
++version_type=$version_type
++
++# Format of library name prefix.
++libname_spec=$lt_libname_spec
++
++# List of archive names.  First name is the real one, the rest are links.
++# The last name is the one that the linker finds with -lNAME.
++library_names_spec=$lt_library_names_spec
++
++# The coded name of the library, if different from the real name.
++soname_spec=$lt_soname_spec
++
++# Commands used to build and install an old-style archive.
++RANLIB=$lt_RANLIB
++old_archive_cmds=$lt_old_archive_cmds_F77
++old_postinstall_cmds=$lt_old_postinstall_cmds
++old_postuninstall_cmds=$lt_old_postuninstall_cmds
++
++# Create an old-style archive from a shared archive.
++old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
++
++# Create a temporary old-style archive to link instead of a shared archive.
++old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
++
++# Commands used to build and install a shared archive.
++archive_cmds=$lt_archive_cmds_F77
++archive_expsym_cmds=$lt_archive_expsym_cmds_F77
++postinstall_cmds=$lt_postinstall_cmds
++postuninstall_cmds=$lt_postuninstall_cmds
++
++# Commands used to build a loadable module (assumed same as above if empty)
++module_cmds=$lt_module_cmds_F77
++module_expsym_cmds=$lt_module_expsym_cmds_F77
++
++# Commands to strip libraries.
++old_striplib=$lt_old_striplib
++striplib=$lt_striplib
++
++# Dependencies to place before the objects being linked to create a
++# shared library.
++predep_objects=$lt_predep_objects_F77
++
++# Dependencies to place after the objects being linked to create a
++# shared library.
++postdep_objects=$lt_postdep_objects_F77
++
++# Dependencies to place before the objects being linked to create a
++# shared library.
++predeps=$lt_predeps_F77
++
++# Dependencies to place after the objects being linked to create a
++# shared library.
++postdeps=$lt_postdeps_F77
++
++# The library search path used internally by the compiler when linking
++# a shared library.
++compiler_lib_search_path=$lt_compiler_lib_search_path_F77
++
++# Method to check whether dependent libraries are shared objects.
++deplibs_check_method=$lt_deplibs_check_method
++
++# Command to use when deplibs_check_method == file_magic.
++file_magic_cmd=$lt_file_magic_cmd
++
++# Flag that allows shared libraries with undefined symbols to be built.
++allow_undefined_flag=$lt_allow_undefined_flag_F77
++
++# Flag that forces no undefined symbols.
++no_undefined_flag=$lt_no_undefined_flag_F77
++
++# Commands used to finish a libtool library installation in a directory.
++finish_cmds=$lt_finish_cmds
++
++# Same as above, but a single script fragment to be evaled but not shown.
++finish_eval=$lt_finish_eval
++
++# Take the output of nm and produce a listing of raw symbols and C names.
++global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
++
++# Transform the output of nm in a proper C declaration
++global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
++
++# Transform the output of nm in a C name address pair
++global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
++
++# This is the shared library runtime path variable.
++runpath_var=$runpath_var
++
++# This is the shared library path variable.
++shlibpath_var=$shlibpath_var
++
++# Is shlibpath searched before the hard-coded library search path?
++shlibpath_overrides_runpath=$shlibpath_overrides_runpath
++
++# How to hardcode a shared library path into an executable.
++hardcode_action=$hardcode_action_F77
++
++# Whether we should hardcode library paths into libraries.
++hardcode_into_libs=$hardcode_into_libs
++
++# Flag to hardcode \$libdir into a binary during linking.
++# This must work even if \$libdir does not exist.
++hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
++
++# If ld is used when linking, flag to hardcode \$libdir into
++# a binary during linking. This must work even if \$libdir does
++# not exist.
++hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
++
++# Whether we need a single -rpath flag with a separated argument.
++hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
++
++# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
++# resulting binary.
++hardcode_direct=$hardcode_direct_F77
++
++# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
++# resulting binary.
++hardcode_minus_L=$hardcode_minus_L_F77
++
++# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
++# the resulting binary.
++hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
++
++# Set to yes if building a shared library automatically hardcodes DIR into the library
++# and all subsequent libraries and executables linked against it.
++hardcode_automatic=$hardcode_automatic_F77
++
++# Variables whose values should be saved in libtool wrapper scripts and
++# restored at relink time.
++variables_saved_for_relink="$variables_saved_for_relink"
++
++# Whether libtool must link a program against all its dependency libraries.
++link_all_deplibs=$link_all_deplibs_F77
++
++# Compile-time system search path for libraries
++sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
++
++# Run-time system search path for libraries
++sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
++
++# Fix the shell variable \$srcfile for the compiler.
++fix_srcfile_path="$fix_srcfile_path_F77"
++
++# Set to yes if exported symbols are required.
++always_export_symbols=$always_export_symbols_F77
++
++# The commands to list exported symbols.
++export_symbols_cmds=$lt_export_symbols_cmds_F77
++
++# The commands to extract the exported symbol list from a shared archive.
++extract_expsyms_cmds=$lt_extract_expsyms_cmds
++
++# Symbols that should not be listed in the preloaded symbols.
++exclude_expsyms=$lt_exclude_expsyms_F77
++
++# Symbols that must always be exported.
++include_expsyms=$lt_include_expsyms_F77
++
++# ### END LIBTOOL TAG CONFIG: $tagname
++
++__EOF__
++
++
++else
++  # If there is no Makefile yet, we rely on a make rule to execute
++  # `config.status --recheck' to rerun these tests and create the
++  # libtool script then.
++  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
++  if test -f "$ltmain_in"; then
++    test -f Makefile && make "$ltmain"
++  fi
++fi
++
++
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++CC="$lt_save_CC"
++
++	else
++	  tagname=""
++	fi
++	;;
++
++      GCJ)
++	if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
++
++
++
++# Source file extension for Java test sources.
++ac_ext=java
++
++# Object file extension for compiled Java test sources.
++objext=o
++objext_GCJ=$objext
++
++# Code to be used in simple compile tests
++lt_simple_compile_test_code="class foo {}\n"
++
++# Code to be used in simple link tests
++lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n'
++
++# ltmain only uses $CC for tagged configurations so make sure $CC is set.
++
++# If no C compiler was specified, use CC.
++LTCC=${LTCC-"$CC"}
++
++# Allow CC to be a program name with arguments.
++compiler=$CC
++
++
++# Allow CC to be a program name with arguments.
++lt_save_CC="$CC"
++CC=${GCJ-"gcj"}
++compiler=$CC
++compiler_GCJ=$CC
++
++# GCJ did not exist at the time GCC didn't implicitly link libc in.
++archive_cmds_need_lc_GCJ=no
++
++
++lt_prog_compiler_no_builtin_flag_GCJ=
++
++if test "$GCC" = yes; then
++  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
++
++
++echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
++echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
++if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  lt_cv_prog_compiler_rtti_exceptions=no
++  ac_outfile=conftest.$ac_objext
++   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
++   lt_compiler_flag="-fno-rtti -fno-exceptions"
++   # Insert the option either (1) after the last *FLAGS variable, or
++   # (2) before a word containing "conftest.", or (3) at the end.
++   # Note that $ac_compile itself does not contain backslashes and begins
++   # with a dollar sign (not a hyphen), so the echo should work correctly.
++   # The option is referenced via a variable to avoid confusing sed.
++   lt_compile=`echo "$ac_compile" | $SED \
++   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
++   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
++   -e 's:$: $lt_compiler_flag:'`
++   (eval echo "\"\$as_me:15931: $lt_compile\"" >&5)
++   (eval "$lt_compile" 2>conftest.err)
++   ac_status=$?
++   cat conftest.err >&5
++   echo "$as_me:15935: \$? = $ac_status" >&5
++   if (exit $ac_status) && test -s "$ac_outfile"; then
++     # The compiler can only warn and ignore the option if not recognized
++     # So say no if there are warnings
++     if test ! -s conftest.err; then
++       lt_cv_prog_compiler_rtti_exceptions=yes
++     fi
++   fi
++   $rm conftest*
++
++fi
++echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
++echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
++
++if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
++    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
++else
++    :
++fi
++
++fi
++
++lt_prog_compiler_wl_GCJ=
++lt_prog_compiler_pic_GCJ=
++lt_prog_compiler_static_GCJ=
++
++echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
++echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
++
++  if test "$GCC" = yes; then
++    lt_prog_compiler_wl_GCJ='-Wl,'
++    lt_prog_compiler_static_GCJ='-static'
++
++    case $host_os in
++      aix*)
++      # All AIX code is PIC.
++      if test "$host_cpu" = ia64; then
++	# AIX 5 now supports IA64 processor
++	lt_prog_compiler_static_GCJ='-Bstatic'
++      fi
++      ;;
++
++    amigaos*)
++      # FIXME: we need at least 68020 code to build shared libraries, but
++      # adding the `-m68020' flag to GCC prevents building anything better,
++      # like `-m68040'.
++      lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
++      ;;
++
++    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
++      # PIC is the default for these OSes.
++      ;;
++
++    mingw* | pw32* | os2*)
++      # This hack is so that the source file can tell whether it is being
++      # built for inclusion in a dll (and should export symbols for example).
++      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
++      ;;
++
++    darwin* | rhapsody*)
++      # PIC is the default on this platform
++      # Common symbols not allowed in MH_DYLIB files
++      lt_prog_compiler_pic_GCJ='-fno-common'
++      ;;
++
++    msdosdjgpp*)
++      # Just because we use GCC doesn't mean we suddenly get shared libraries
++      # on systems that don't support them.
++      lt_prog_compiler_can_build_shared_GCJ=no
++      enable_shared=no
++      ;;
++
++    sysv4*MP*)
++      if test -d /usr/nec; then
++	lt_prog_compiler_pic_GCJ=-Kconform_pic
++      fi
++      ;;
++
++    hpux*)
++      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
++      # not for PA HP-UX.
++      case "$host_cpu" in
++      hppa*64*|ia64*)
++	# +Z the default
++	;;
++      *)
++	lt_prog_compiler_pic_GCJ='-fPIC'
++	;;
++      esac
++      ;;
++
++    *)
++      lt_prog_compiler_pic_GCJ='-fPIC'
++      ;;
++    esac
++  else
++    # PORTME Check for flag to pass linker flags through the system compiler.
++    case $host_os in
++    aix*)
++      lt_prog_compiler_wl_GCJ='-Wl,'
++      if test "$host_cpu" = ia64; then
++	# AIX 5 now supports IA64 processor
++	lt_prog_compiler_static_GCJ='-Bstatic'
++      else
++	lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
++      fi
++      ;;
++
++    mingw* | pw32* | os2*)
++      # This hack is so that the source file can tell whether it is being
++      # built for inclusion in a dll (and should export symbols for example).
++      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
++      ;;
++
++    hpux9* | hpux10* | hpux11*)
++      lt_prog_compiler_wl_GCJ='-Wl,'
++      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
++      # not for PA HP-UX.
++      case "$host_cpu" in
++      hppa*64*|ia64*)
++	# +Z the default
++	;;
++      *)
++	lt_prog_compiler_pic_GCJ='+Z'
++	;;
++      esac
++      # Is there a better lt_prog_compiler_static that works with the bundled CC?
++      lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
++      ;;
++
++    irix5* | irix6* | nonstopux*)
++      lt_prog_compiler_wl_GCJ='-Wl,'
++      # PIC (with -KPIC) is the default.
++      lt_prog_compiler_static_GCJ='-non_shared'
++      ;;
++
++    newsos6)
++      lt_prog_compiler_pic_GCJ='-KPIC'
++      lt_prog_compiler_static_GCJ='-Bstatic'
++      ;;
++
++    linux*)
++      case $CC in
++      icc* | ecc*)
++	lt_prog_compiler_wl_GCJ='-Wl,'
++	lt_prog_compiler_pic_GCJ='-KPIC'
++	lt_prog_compiler_static_GCJ='-static'
++        ;;
++      ccc*)
++        lt_prog_compiler_wl_GCJ='-Wl,'
++        # All Alpha code is PIC.
++        lt_prog_compiler_static_GCJ='-non_shared'
++        ;;
++      esac
++      ;;
++
++    osf3* | osf4* | osf5*)
++      lt_prog_compiler_wl_GCJ='-Wl,'
++      # All OSF/1 code is PIC.
++      lt_prog_compiler_static_GCJ='-non_shared'
++      ;;
++
++    sco3.2v5*)
++      lt_prog_compiler_pic_GCJ='-Kpic'
++      lt_prog_compiler_static_GCJ='-dn'
++      ;;
++
++    solaris*)
++      lt_prog_compiler_wl_GCJ='-Wl,'
++      lt_prog_compiler_pic_GCJ='-KPIC'
++      lt_prog_compiler_static_GCJ='-Bstatic'
++      ;;
++
++    sunos4*)
++      lt_prog_compiler_wl_GCJ='-Qoption ld '
++      lt_prog_compiler_pic_GCJ='-PIC'
++      lt_prog_compiler_static_GCJ='-Bstatic'
++      ;;
++
++    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
++      lt_prog_compiler_wl_GCJ='-Wl,'
++      lt_prog_compiler_pic_GCJ='-KPIC'
++      lt_prog_compiler_static_GCJ='-Bstatic'
++      ;;
++
++    sysv4*MP*)
++      if test -d /usr/nec ;then
++	lt_prog_compiler_pic_GCJ='-Kconform_pic'
++	lt_prog_compiler_static_GCJ='-Bstatic'
++      fi
++      ;;
++
++    uts4*)
++      lt_prog_compiler_pic_GCJ='-pic'
++      lt_prog_compiler_static_GCJ='-Bstatic'
++      ;;
++
++    *)
++      lt_prog_compiler_can_build_shared_GCJ=no
++      ;;
++    esac
++  fi
++
++echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
++echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
++
++#
++# Check to make sure the PIC flag actually works.
++#
++if test -n "$lt_prog_compiler_pic_GCJ"; then
++
++echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
++echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
++if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  lt_prog_compiler_pic_works_GCJ=no
++  ac_outfile=conftest.$ac_objext
++   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
++   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
++   # Insert the option either (1) after the last *FLAGS variable, or
++   # (2) before a word containing "conftest.", or (3) at the end.
++   # Note that $ac_compile itself does not contain backslashes and begins
++   # with a dollar sign (not a hyphen), so the echo should work correctly.
++   # The option is referenced via a variable to avoid confusing sed.
++   lt_compile=`echo "$ac_compile" | $SED \
++   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
++   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
++   -e 's:$: $lt_compiler_flag:'`
++   (eval echo "\"\$as_me:16164: $lt_compile\"" >&5)
++   (eval "$lt_compile" 2>conftest.err)
++   ac_status=$?
++   cat conftest.err >&5
++   echo "$as_me:16168: \$? = $ac_status" >&5
++   if (exit $ac_status) && test -s "$ac_outfile"; then
++     # The compiler can only warn and ignore the option if not recognized
++     # So say no if there are warnings
++     if test ! -s conftest.err; then
++       lt_prog_compiler_pic_works_GCJ=yes
++     fi
++   fi
++   $rm conftest*
++
++fi
++echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
++echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
++
++if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
++    case $lt_prog_compiler_pic_GCJ in
++     "" | " "*) ;;
++     *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
++     esac
++else
++    lt_prog_compiler_pic_GCJ=
++     lt_prog_compiler_can_build_shared_GCJ=no
++fi
++
++fi
++case "$host_os" in
++  # For platforms which do not support PIC, -DPIC is meaningless:
++  *djgpp*)
++    lt_prog_compiler_pic_GCJ=
++    ;;
++  *)
++    lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
++    ;;
++esac
++
++echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
++echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
++if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  lt_cv_prog_compiler_c_o_GCJ=no
++   $rm -r conftest 2>/dev/null
++   mkdir conftest
++   cd conftest
++   mkdir out
++   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
++
++   # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
++   # that will create temporary files in the current directory regardless of
++   # the output directory.  Thus, making CWD read-only will cause this test
++   # to fail, enabling locking or at least warning the user not to do parallel
++   # builds.
++   chmod -w .
++
++   lt_compiler_flag="-o out/conftest2.$ac_objext"
++   # Insert the option either (1) after the last *FLAGS variable, or
++   # (2) before a word containing "conftest.", or (3) at the end.
++   # Note that $ac_compile itself does not contain backslashes and begins
++   # with a dollar sign (not a hyphen), so the echo should work correctly.
++   lt_compile=`echo "$ac_compile" | $SED \
++   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
++   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
++   -e 's:$: $lt_compiler_flag:'`
++   (eval echo "\"\$as_me:16231: $lt_compile\"" >&5)
++   (eval "$lt_compile" 2>out/conftest.err)
++   ac_status=$?
++   cat out/conftest.err >&5
++   echo "$as_me:16235: \$? = $ac_status" >&5
++   if (exit $ac_status) && test -s out/conftest2.$ac_objext
++   then
++     # The compiler can only warn and ignore the option if not recognized
++     # So say no if there are warnings
++     if test ! -s out/conftest.err; then
++       lt_cv_prog_compiler_c_o_GCJ=yes
++     fi
++   fi
++   chmod u+w .
++   $rm conftest*
++   # SGI C++ compiler will create directory out/ii_files/ for
++   # template instantiation
++   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
++   $rm out/* && rmdir out
++   cd ..
++   rmdir conftest
++   $rm conftest*
++
++fi
++echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
++echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
++
++
++hard_links="nottested"
++if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
++  # do not overwrite the value of need_locks provided by the user
++  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
++echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
++  hard_links=yes
++  $rm conftest*
++  ln conftest.a conftest.b 2>/dev/null && hard_links=no
++  touch conftest.a
++  ln conftest.a conftest.b 2>&5 || hard_links=no
++  ln conftest.a conftest.b 2>/dev/null && hard_links=no
++  echo "$as_me:$LINENO: result: $hard_links" >&5
++echo "${ECHO_T}$hard_links" >&6
++  if test "$hard_links" = no; then
++    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
++echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
++    need_locks=warn
++  fi
++else
++  need_locks=no
++fi
++
++echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
++echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
++
++  runpath_var=
++  allow_undefined_flag_GCJ=
++  enable_shared_with_static_runtimes_GCJ=no
++  archive_cmds_GCJ=
++  archive_expsym_cmds_GCJ=
++  old_archive_From_new_cmds_GCJ=
++  old_archive_from_expsyms_cmds_GCJ=
++  export_dynamic_flag_spec_GCJ=
++  whole_archive_flag_spec_GCJ=
++  thread_safe_flag_spec_GCJ=
++  hardcode_libdir_flag_spec_GCJ=
++  hardcode_libdir_flag_spec_ld_GCJ=
++  hardcode_libdir_separator_GCJ=
++  hardcode_direct_GCJ=no
++  hardcode_minus_L_GCJ=no
++  hardcode_shlibpath_var_GCJ=unsupported
++  link_all_deplibs_GCJ=unknown
++  hardcode_automatic_GCJ=no
++  module_cmds_GCJ=
++  module_expsym_cmds_GCJ=
++  always_export_symbols_GCJ=no
++  export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
++  # include_expsyms should be a list of space-separated symbols to be *always*
++  # included in the symbol list
++  include_expsyms_GCJ=
++  # exclude_expsyms can be an extended regexp of symbols to exclude
++  # it will be wrapped by ` (' and `)$', so one must not match beginning or
++  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
++  # as well as any symbol that contains `d'.
++  exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
++  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
++  # platforms (ab)use it in PIC code, but their linkers get confused if
++  # the symbol is explicitly referenced.  Since portable code cannot
++  # rely on this symbol name, it's probably fine to never include it in
++  # preloaded symbol tables.
++  extract_expsyms_cmds=
++
++  case $host_os in
++  cygwin* | mingw* | pw32*)
++    # FIXME: the MSVC++ port hasn't been tested in a loooong time
++    # When not using gcc, we currently assume that we are using
++    # Microsoft Visual C++.
++    if test "$GCC" != yes; then
++      with_gnu_ld=no
++    fi
++    ;;
++  openbsd*)
++    with_gnu_ld=no
++    ;;
++  esac
++
++  ld_shlibs_GCJ=yes
++  if test "$with_gnu_ld" = yes; then
++    # If archive_cmds runs LD, not CC, wlarc should be empty
++    wlarc='${wl}'
++
++    # See if GNU ld supports shared libraries.
++    case $host_os in
++    aix3* | aix4* | aix5*)
++      # On AIX/PPC, the GNU linker is very broken
++      if test "$host_cpu" != ia64; then
++	ld_shlibs_GCJ=no
++	cat <<EOF 1>&2
++
++*** Warning: the GNU linker, at least up to release 2.9.1, is reported
++*** to be unable to reliably create shared libraries on AIX.
++*** Therefore, libtool is disabling shared libraries support.  If you
++*** really care for shared libraries, you may want to modify your PATH
++*** so that a non-GNU linker is found, and then restart.
++
++EOF
++      fi
++      ;;
++
++    amigaos*)
++      archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
++      hardcode_libdir_flag_spec_GCJ='-L$libdir'
++      hardcode_minus_L_GCJ=yes
++
++      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
++      # that the semantics of dynamic libraries on AmigaOS, at least up
++      # to version 4, is to share data among multiple programs linked
++      # with the same dynamic library.  Since this doesn't match the
++      # behavior of shared libraries on other platforms, we can't use
++      # them.
++      ld_shlibs_GCJ=no
++      ;;
++
++    beos*)
++      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
++	allow_undefined_flag_GCJ=unsupported
++	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
++	# support --undefined.  This deserves some investigation.  FIXME
++	archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++      else
++	ld_shlibs_GCJ=no
++      fi
++      ;;
++
++    cygwin* | mingw* | pw32*)
++      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
++      # as there is no search path for DLLs.
++      hardcode_libdir_flag_spec_GCJ='-L$libdir'
++      allow_undefined_flag_GCJ=unsupported
++      always_export_symbols_GCJ=no
++      enable_shared_with_static_runtimes_GCJ=yes
++      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
++
++      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
++        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
++	# If the export-symbols file already is a .def file (1st line
++	# is EXPORTS), use it as is; otherwise, prepend...
++	archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
++	  cp $export_symbols $output_objdir/$soname.def;
++	else
++	  echo EXPORTS > $output_objdir/$soname.def;
++	  cat $export_symbols >> $output_objdir/$soname.def;
++	fi~
++	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
++      else
++	ld_shlibs=no
++      fi
++      ;;
++
++    netbsd*)
++      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++	archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
++	wlarc=
++      else
++	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++      fi
++      ;;
++
++    solaris* | sysv5*)
++      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
++	ld_shlibs_GCJ=no
++	cat <<EOF 1>&2
++
++*** Warning: The releases 2.8.* of the GNU linker cannot reliably
++*** create shared libraries on Solaris systems.  Therefore, libtool
++*** is disabling shared libraries support.  We urge you to upgrade GNU
++*** binutils to release 2.9.1 or newer.  Another option is to modify
++*** your PATH or compiler configuration so that the native linker is
++*** used, and then restart.
++
++EOF
++      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
++	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++      else
++	ld_shlibs_GCJ=no
++      fi
++      ;;
++
++    sunos4*)
++      archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++      wlarc=
++      hardcode_direct_GCJ=yes
++      hardcode_shlibpath_var_GCJ=no
++      ;;
++
++  linux*)
++    if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
++        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++	archive_cmds_GCJ="$tmp_archive_cmds"
++      supports_anon_versioning=no
++      case `$LD -v 2>/dev/null` in
++        *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
++        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
++        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
++        *\ 2.11.*) ;; # other 2.11 versions
++        *) supports_anon_versioning=yes ;;
++      esac
++      if test $supports_anon_versioning = yes; then
++        archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
++cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
++$echo "local: *; };" >> $output_objdir/$libname.ver~
++        $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
++      else
++        archive_expsym_cmds_GCJ="$tmp_archive_cmds"
++      fi
++    else
++      ld_shlibs_GCJ=no
++    fi
++    ;;
++
++    *)
++      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
++	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++      else
++	ld_shlibs_GCJ=no
++      fi
++      ;;
++    esac
++
++    if test "$ld_shlibs_GCJ" = yes; then
++      runpath_var=LD_RUN_PATH
++      hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
++      export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
++      # ancient GNU ld didn't support --whole-archive et. al.
++      if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
++ 	whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
++      else
++  	whole_archive_flag_spec_GCJ=
++      fi
++    fi
++  else
++    # PORTME fill in a description of your system's linker (not GNU ld)
++    case $host_os in
++    aix3*)
++      allow_undefined_flag_GCJ=unsupported
++      always_export_symbols_GCJ=yes
++      archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
++      # Note: this linker hardcodes the directories in LIBPATH if there
++      # are no directories specified by -L.
++      hardcode_minus_L_GCJ=yes
++      if test "$GCC" = yes && test -z "$link_static_flag"; then
++	# Neither direct hardcoding nor static linking is supported with a
++	# broken collect2.
++	hardcode_direct_GCJ=unsupported
++      fi
++      ;;
++
++    aix4* | aix5*)
++      if test "$host_cpu" = ia64; then
++	# On IA64, the linker does run time linking by default, so we don't
++	# have to do anything special.
++	aix_use_runtimelinking=no
++	exp_sym_flag='-Bexport'
++	no_entry_flag=""
++      else
++	# If we're using GNU nm, then we don't want the "-C" option.
++	# -C means demangle to AIX nm, but means don't demangle with GNU nm
++	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
++	  export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
++	else
++	  export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
++	fi
++	aix_use_runtimelinking=no
++
++	# Test if we are trying to use run time linking or normal
++	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
++	# need to do runtime linking.
++	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
++	  for ld_flag in $LDFLAGS; do
++  	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
++  	    aix_use_runtimelinking=yes
++  	    break
++  	  fi
++	  done
++	esac
++
++	exp_sym_flag='-bexport'
++	no_entry_flag='-bnoentry'
++      fi
++
++      # When large executables or shared objects are built, AIX ld can
++      # have problems creating the table of contents.  If linking a library
++      # or program results in "error TOC overflow" add -mminimal-toc to
++      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
++      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
++
++      archive_cmds_GCJ=''
++      hardcode_direct_GCJ=yes
++      hardcode_libdir_separator_GCJ=':'
++      link_all_deplibs_GCJ=yes
++
++      if test "$GCC" = yes; then
++	case $host_os in aix4.012|aix4.012.*)
++	# We only want to do this on AIX 4.2 and lower, the check
++	# below for broken collect2 doesn't work under 4.3+
++	  collect2name=`${CC} -print-prog-name=collect2`
++	  if test -f "$collect2name" && \
++  	   strings "$collect2name" | grep resolve_lib_name >/dev/null
++	  then
++  	  # We have reworked collect2
++  	  hardcode_direct_GCJ=yes
++	  else
++  	  # We have old collect2
++  	  hardcode_direct_GCJ=unsupported
++  	  # It fails to find uninstalled libraries when the uninstalled
++  	  # path is not listed in the libpath.  Setting hardcode_minus_L
++  	  # to unsupported forces relinking
++  	  hardcode_minus_L_GCJ=yes
++  	  hardcode_libdir_flag_spec_GCJ='-L$libdir'
++  	  hardcode_libdir_separator_GCJ=
++	  fi
++	esac
++	shared_flag='-shared'
++      else
++	# not using gcc
++	if test "$host_cpu" = ia64; then
++  	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
++  	# chokes on -Wl,-G. The following line is correct:
++	  shared_flag='-G'
++	else
++  	if test "$aix_use_runtimelinking" = yes; then
++	    shared_flag='${wl}-G'
++	  else
++	    shared_flag='${wl}-bM:SRE'
++  	fi
++	fi
++      fi
++
++      # It seems that -bexpall does not export symbols beginning with
++      # underscore (_), so it is better to generate a list of symbols to export.
++      always_export_symbols_GCJ=yes
++      if test "$aix_use_runtimelinking" = yes; then
++	# Warning - without using the other runtime loading flags (-brtl),
++	# -berok will link without error, but may produce a broken library.
++	allow_undefined_flag_GCJ='-berok'
++       # Determine the default libpath from the value encoded in an empty executable.
++       cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++
++aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
++}'`
++# Check for a 64-bit object if we didn't find anything.
++if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
++}'`; fi
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
++
++       hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
++	archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
++       else
++	if test "$host_cpu" = ia64; then
++	  hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
++	  allow_undefined_flag_GCJ="-z nodefs"
++	  archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
++	else
++	 # Determine the default libpath from the value encoded in an empty executable.
++	 cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++
++aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
++}'`
++# Check for a 64-bit object if we didn't find anything.
++if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
++}'`; fi
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
++
++	 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
++	  # Warning - without using the other run time loading flags,
++	  # -berok will link without error, but may produce a broken library.
++	  no_undefined_flag_GCJ=' ${wl}-bernotok'
++	  allow_undefined_flag_GCJ=' ${wl}-berok'
++	  # -bexpall does not export symbols beginning with underscore (_)
++	  always_export_symbols_GCJ=yes
++	  # Exported symbols can be pulled into shared objects from archives
++	  whole_archive_flag_spec_GCJ=' '
++	  archive_cmds_need_lc_GCJ=yes
++	  # This is similar to how AIX traditionally builds it's shared libraries.
++	  archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
++	fi
++      fi
++      ;;
++
++    amigaos*)
++      archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
++      hardcode_libdir_flag_spec_GCJ='-L$libdir'
++      hardcode_minus_L_GCJ=yes
++      # see comment about different semantics on the GNU ld section
++      ld_shlibs_GCJ=no
++      ;;
++
++    bsdi4*)
++      export_dynamic_flag_spec_GCJ=-rdynamic
++      ;;
++
++    cygwin* | mingw* | pw32*)
++      # When not using gcc, we currently assume that we are using
++      # Microsoft Visual C++.
++      # hardcode_libdir_flag_spec is actually meaningless, as there is
++      # no search path for DLLs.
++      hardcode_libdir_flag_spec_GCJ=' '
++      allow_undefined_flag_GCJ=unsupported
++      # Tell ltmain to make .lib files, not .a files.
++      libext=lib
++      # Tell ltmain to make .dll files, not .so files.
++      shrext=".dll"
++      # FIXME: Setting linknames here is a bad hack.
++      archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
++      # The linker will automatically build a .lib file if we build a DLL.
++      old_archive_From_new_cmds_GCJ='true'
++      # FIXME: Should let the user specify the lib program.
++      old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
++      fix_srcfile_path='`cygpath -w "$srcfile"`'
++      enable_shared_with_static_runtimes_GCJ=yes
++      ;;
++
++    darwin* | rhapsody*)
++    if test "$GXX" = yes ; then
++      archive_cmds_need_lc_GCJ=no
++      case "$host_os" in
++      rhapsody* | darwin1.[012])
++	allow_undefined_flag_GCJ='-undefined suppress'
++	;;
++      *) # Darwin 1.3 on
++      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
++      	allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
++      else
++        case ${MACOSX_DEPLOYMENT_TARGET} in
++          10.[012])
++            allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
++            ;;
++          10.*)
++            allow_undefined_flag_GCJ='-undefined dynamic_lookup'
++            ;;
++        esac
++      fi
++	;;
++      esac
++    	lt_int_apple_cc_single_mod=no
++    	output_verbose_link_cmd='echo'
++    	if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
++    	  lt_int_apple_cc_single_mod=yes
++    	fi
++    	if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
++    	  archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
++    	else
++        archive_cmds_GCJ='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
++      fi
++      module_cmds_GCJ='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
++      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
++        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
++          archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++        else
++          archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++        fi
++          module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++      hardcode_direct_GCJ=no
++      hardcode_automatic_GCJ=yes
++      hardcode_shlibpath_var_GCJ=unsupported
++      whole_archive_flag_spec_GCJ='-all_load $convenience'
++      link_all_deplibs_GCJ=yes
++    else
++      ld_shlibs_GCJ=no
++    fi
++      ;;
++
++    dgux*)
++      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_libdir_flag_spec_GCJ='-L$libdir'
++      hardcode_shlibpath_var_GCJ=no
++      ;;
++
++    freebsd1*)
++      ld_shlibs_GCJ=no
++      ;;
++
++    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
++    # support.  Future versions do this automatically, but an explicit c++rt0.o
++    # does not break anything, and helps significantly (at the cost of a little
++    # extra space).
++    freebsd2.2*)
++      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
++      hardcode_libdir_flag_spec_GCJ='-R$libdir'
++      hardcode_direct_GCJ=yes
++      hardcode_shlibpath_var_GCJ=no
++      ;;
++
++    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
++    freebsd2*)
++      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_direct_GCJ=yes
++      hardcode_minus_L_GCJ=yes
++      hardcode_shlibpath_var_GCJ=no
++      ;;
++
++    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
++    freebsd* | kfreebsd*-gnu)
++      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
++      hardcode_libdir_flag_spec_GCJ='-R$libdir'
++      hardcode_direct_GCJ=yes
++      hardcode_shlibpath_var_GCJ=no
++      ;;
++
++    hpux9*)
++      if test "$GCC" = yes; then
++	archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
++      else
++	archive_cmds_GCJ='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
++      fi
++      hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
++      hardcode_libdir_separator_GCJ=:
++      hardcode_direct_GCJ=yes
++
++      # hardcode_minus_L: Not really in the search PATH,
++      # but as the default location of the library.
++      hardcode_minus_L_GCJ=yes
++      export_dynamic_flag_spec_GCJ='${wl}-E'
++      ;;
++
++    hpux10* | hpux11*)
++      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
++	case "$host_cpu" in
++	hppa*64*|ia64*)
++	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++	  ;;
++	*)
++	  archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
++	  ;;
++	esac
++      else
++	case "$host_cpu" in
++	hppa*64*|ia64*)
++	  archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
++	  ;;
++	*)
++	  archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
++	  ;;
++	esac
++      fi
++      if test "$with_gnu_ld" = no; then
++	case "$host_cpu" in
++	hppa*64*)
++	  hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
++	  hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
++	  hardcode_libdir_separator_GCJ=:
++	  hardcode_direct_GCJ=no
++	  hardcode_shlibpath_var_GCJ=no
++	  ;;
++	ia64*)
++	  hardcode_libdir_flag_spec_GCJ='-L$libdir'
++	  hardcode_direct_GCJ=no
++	  hardcode_shlibpath_var_GCJ=no
++
++	  # hardcode_minus_L: Not really in the search PATH,
++	  # but as the default location of the library.
++	  hardcode_minus_L_GCJ=yes
++	  ;;
++	*)
++	  hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
++	  hardcode_libdir_separator_GCJ=:
++	  hardcode_direct_GCJ=yes
++	  export_dynamic_flag_spec_GCJ='${wl}-E'
++
++	  # hardcode_minus_L: Not really in the search PATH,
++	  # but as the default location of the library.
++	  hardcode_minus_L_GCJ=yes
++	  ;;
++	esac
++      fi
++      ;;
++
++    irix5* | irix6* | nonstopux*)
++      if test "$GCC" = yes; then
++	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++      else
++	archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
++	hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
++      fi
++      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
++      hardcode_libdir_separator_GCJ=:
++      link_all_deplibs_GCJ=yes
++      ;;
++
++    netbsd*)
++      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++	archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
++      else
++	archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
++      fi
++      hardcode_libdir_flag_spec_GCJ='-R$libdir'
++      hardcode_direct_GCJ=yes
++      hardcode_shlibpath_var_GCJ=no
++      ;;
++
++    newsos6)
++      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_direct_GCJ=yes
++      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
++      hardcode_libdir_separator_GCJ=:
++      hardcode_shlibpath_var_GCJ=no
++      ;;
++
++    openbsd*)
++      hardcode_direct_GCJ=yes
++      hardcode_shlibpath_var_GCJ=no
++      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
++	archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
++	hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
++	export_dynamic_flag_spec_GCJ='${wl}-E'
++      else
++       case $host_os in
++	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
++	   archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++	   hardcode_libdir_flag_spec_GCJ='-R$libdir'
++	   ;;
++	 *)
++	   archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
++	   hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
++	   ;;
++       esac
++      fi
++      ;;
++
++    os2*)
++      hardcode_libdir_flag_spec_GCJ='-L$libdir'
++      hardcode_minus_L_GCJ=yes
++      allow_undefined_flag_GCJ=unsupported
++      archive_cmds_GCJ='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
++      old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
++      ;;
++
++    osf3*)
++      if test "$GCC" = yes; then
++	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
++	archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++      else
++	allow_undefined_flag_GCJ=' -expect_unresolved \*'
++	archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
++      fi
++      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
++      hardcode_libdir_separator_GCJ=:
++      ;;
++
++    osf4* | osf5*)	# as osf3* with the addition of -msym flag
++      if test "$GCC" = yes; then
++	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
++	archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++	hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
++      else
++	allow_undefined_flag_GCJ=' -expect_unresolved \*'
++	archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
++	archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
++	$LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
++
++	# Both c and cxx compiler support -rpath directly
++	hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
++      fi
++      hardcode_libdir_separator_GCJ=:
++      ;;
++
++    sco3.2v5*)
++      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_shlibpath_var_GCJ=no
++      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
++      runpath_var=LD_RUN_PATH
++      hardcode_runpath_var=yes
++      ;;
++
++    solaris*)
++      no_undefined_flag_GCJ=' -z text'
++      if test "$GCC" = yes; then
++	archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
++      else
++	archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
++	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++  	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
++      fi
++      hardcode_libdir_flag_spec_GCJ='-R$libdir'
++      hardcode_shlibpath_var_GCJ=no
++      case $host_os in
++      solaris2.[0-5] | solaris2.[0-5].*) ;;
++      *) # Supported since Solaris 2.6 (maybe 2.5.1?)
++	whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
++      esac
++      link_all_deplibs_GCJ=yes
++      ;;
++
++    sunos4*)
++      if test "x$host_vendor" = xsequent; then
++	# Use $CC to link under sequent, because it throws in some extra .o
++	# files that make .init and .fini sections work.
++	archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
++      else
++	archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
++      fi
++      hardcode_libdir_flag_spec_GCJ='-L$libdir'
++      hardcode_direct_GCJ=yes
++      hardcode_minus_L_GCJ=yes
++      hardcode_shlibpath_var_GCJ=no
++      ;;
++
++    sysv4)
++      case $host_vendor in
++	sni)
++	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++	  hardcode_direct_GCJ=yes # is this really true???
++	;;
++	siemens)
++	  ## LD is ld it makes a PLAMLIB
++	  ## CC just makes a GrossModule.
++	  archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
++	  reload_cmds_GCJ='$CC -r -o $output$reload_objs'
++	  hardcode_direct_GCJ=no
++        ;;
++	motorola)
++	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++	  hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
++	;;
++      esac
++      runpath_var='LD_RUN_PATH'
++      hardcode_shlibpath_var_GCJ=no
++      ;;
++
++    sysv4.3*)
++      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_shlibpath_var_GCJ=no
++      export_dynamic_flag_spec_GCJ='-Bexport'
++      ;;
++
++    sysv4*MP*)
++      if test -d /usr/nec; then
++	archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++	hardcode_shlibpath_var_GCJ=no
++	runpath_var=LD_RUN_PATH
++	hardcode_runpath_var=yes
++	ld_shlibs_GCJ=yes
++      fi
++      ;;
++
++    sysv4.2uw2*)
++      archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_direct_GCJ=yes
++      hardcode_minus_L_GCJ=no
++      hardcode_shlibpath_var_GCJ=no
++      hardcode_runpath_var=yes
++      runpath_var=LD_RUN_PATH
++      ;;
++
++   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
++      no_undefined_flag_GCJ='${wl}-z ${wl}text'
++      if test "$GCC" = yes; then
++	archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++      else
++	archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++      fi
++      runpath_var='LD_RUN_PATH'
++      hardcode_shlibpath_var_GCJ=no
++      ;;
++
++    sysv5*)
++      no_undefined_flag_GCJ=' -z text'
++      # $CC -shared without GNU ld will not create a library from C++
++      # object files and a static libstdc++, better avoid it by now
++      archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++  		$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
++      hardcode_libdir_flag_spec_GCJ=
++      hardcode_shlibpath_var_GCJ=no
++      runpath_var='LD_RUN_PATH'
++      ;;
++
++    uts4*)
++      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_libdir_flag_spec_GCJ='-L$libdir'
++      hardcode_shlibpath_var_GCJ=no
++      ;;
++
++    *)
++      ld_shlibs_GCJ=no
++      ;;
++    esac
++  fi
++
++echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
++echo "${ECHO_T}$ld_shlibs_GCJ" >&6
++test "$ld_shlibs_GCJ" = no && can_build_shared=no
++
++variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
++if test "$GCC" = yes; then
++  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
++fi
++
++#
++# Do we need to explicitly link libc?
++#
++case "x$archive_cmds_need_lc_GCJ" in
++x|xyes)
++  # Assume -lc should be added
++  archive_cmds_need_lc_GCJ=yes
++
++  if test "$enable_shared" = yes && test "$GCC" = yes; then
++    case $archive_cmds_GCJ in
++    *'~'*)
++      # FIXME: we may have to deal with multi-command sequences.
++      ;;
++    '$CC '*)
++      # Test whether the compiler implicitly links with -lc since on some
++      # systems, -lgcc has to come before -lc. If gcc already passes -lc
++      # to ld, don't add -lc before -lgcc.
++      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
++echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
++      $rm conftest*
++      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
++
++      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } 2>conftest.err; then
++        soname=conftest
++        lib=conftest
++        libobjs=conftest.$ac_objext
++        deplibs=
++        wl=$lt_prog_compiler_wl_GCJ
++        compiler_flags=-v
++        linker_flags=-v
++        verstring=
++        output_objdir=.
++        libname=conftest
++        lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
++        allow_undefined_flag_GCJ=
++        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
++  (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }
++        then
++	  archive_cmds_need_lc_GCJ=no
++        else
++	  archive_cmds_need_lc_GCJ=yes
++        fi
++        allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
++      else
++        cat conftest.err 1>&5
++      fi
++      $rm conftest*
++      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
++echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
++      ;;
++    esac
++  fi
++  ;;
++esac
++
++echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
++echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
++library_names_spec=
++libname_spec='lib$name'
++soname_spec=
++shrext=".so"
++postinstall_cmds=
++postuninstall_cmds=
++finish_cmds=
++finish_eval=
++shlibpath_var=
++shlibpath_overrides_runpath=unknown
++version_type=none
++dynamic_linker="$host_os ld.so"
++sys_lib_dlsearch_path_spec="/lib /usr/lib"
++if test "$GCC" = yes; then
++  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
++  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
++    # if the path contains ";" then we assume it to be the separator
++    # otherwise default to the standard path separator (i.e. ":") - it is
++    # assumed that no part of a normal pathname contains ";" but that should
++    # okay in the real world where ";" in dirpaths is itself problematic.
++    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
++  else
++    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
++  fi
++else
++  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
++fi
++need_lib_prefix=unknown
++hardcode_into_libs=no
++
++# when you set need_version to no, make sure it does not cause -set_version
++# flags to be left without arguments
++need_version=unknown
++
++case $host_os in
++aix3*)
++  version_type=linux
++  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
++  shlibpath_var=LIBPATH
++
++  # AIX 3 has no versioning support, so we append a major version to the name.
++  soname_spec='${libname}${release}${shared_ext}$major'
++  ;;
++
++aix4* | aix5*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  hardcode_into_libs=yes
++  if test "$host_cpu" = ia64; then
++    # AIX 5 supports IA64
++    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
++    shlibpath_var=LD_LIBRARY_PATH
++  else
++    # With GCC up to 2.95.x, collect2 would create an import file
++    # for dependence libraries.  The import file would start with
++    # the line `#! .'.  This would cause the generated library to
++    # depend on `.', always an invalid library.  This was fixed in
++    # development snapshots of GCC prior to 3.0.
++    case $host_os in
++      aix4 | aix4.[01] | aix4.[01].*)
++      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
++	   echo ' yes '
++	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
++	:
++      else
++	can_build_shared=no
++      fi
++      ;;
++    esac
++    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
++    # soname into executable. Probably we can add versioning support to
++    # collect2, so additional links can be useful in future.
++    if test "$aix_use_runtimelinking" = yes; then
++      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
++      # instead of lib<name>.a to let people know that these are not
++      # typical AIX shared libraries.
++      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++    else
++      # We preserve .a as extension for shared libraries through AIX4.2
++      # and later when we are not doing run time linking.
++      library_names_spec='${libname}${release}.a $libname.a'
++      soname_spec='${libname}${release}${shared_ext}$major'
++    fi
++    shlibpath_var=LIBPATH
++  fi
++  ;;
++
++amigaos*)
++  library_names_spec='$libname.ixlibrary $libname.a'
++  # Create ${libname}_ixlibrary.a entries in /sys/libs.
++  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
++  ;;
++
++beos*)
++  library_names_spec='${libname}${shared_ext}'
++  dynamic_linker="$host_os ld.so"
++  shlibpath_var=LIBRARY_PATH
++  ;;
++
++bsdi4*)
++  version_type=linux
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
++  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
++  # the default ld.so.conf also contains /usr/contrib/lib and
++  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
++  # libtool to hard-code these into programs
++  ;;
++
++cygwin* | mingw* | pw32*)
++  version_type=windows
++  shrext=".dll"
++  need_version=no
++  need_lib_prefix=no
++
++  case $GCC,$host_os in
++  yes,cygwin* | yes,mingw* | yes,pw32*)
++    library_names_spec='$libname.dll.a'
++    # DLL is installed to $(libdir)/../bin by postinstall_cmds
++    postinstall_cmds='base_file=`basename \${file}`~
++      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
++      dldir=$destdir/`dirname \$dlpath`~
++      test -d \$dldir || mkdir -p \$dldir~
++      $install_prog $dir/$dlname \$dldir/$dlname'
++    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
++      dlpath=$dir/\$dldll~
++       $rm \$dlpath'
++    shlibpath_overrides_runpath=yes
++
++    case $host_os in
++    cygwin*)
++      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
++      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
++      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
++      ;;
++    mingw*)
++      # MinGW DLLs use traditional 'lib' prefix
++      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
++      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
++      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
++        # It is most probably a Windows format PATH printed by
++        # mingw gcc, but we are running on Cygwin. Gcc prints its search
++        # path with ; separators, and with drive letters. We can handle the
++        # drive letters (cygwin fileutils understands them), so leave them,
++        # especially as we might pass files found there to a mingw objdump,
++        # which wouldn't understand a cygwinified path. Ahh.
++        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
++      else
++        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
++      fi
++      ;;
++    pw32*)
++      # pw32 DLLs use 'pw' prefix rather than 'lib'
++      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
++      ;;
++    esac
++    ;;
++
++  *)
++    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
++    ;;
++  esac
++  dynamic_linker='Win32 ld.exe'
++  # FIXME: first we should search . and the directory the executable is in
++  shlibpath_var=PATH
++  ;;
++
++darwin* | rhapsody*)
++  dynamic_linker="$host_os dyld"
++  version_type=darwin
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
++  soname_spec='${libname}${release}${major}$shared_ext'
++  shlibpath_overrides_runpath=yes
++  shlibpath_var=DYLD_LIBRARY_PATH
++  shrext='$(test .$module = .yes && echo .so || echo .dylib)'
++  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
++  if test "$GCC" = yes; then
++    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
++  else
++    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
++  fi
++  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
++  ;;
++
++dgux*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++freebsd1*)
++  dynamic_linker=no
++  ;;
++
++kfreebsd*-gnu)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=no
++  hardcode_into_libs=yes
++  dynamic_linker='GNU ld.so'
++  ;;
++
++freebsd*)
++  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
++  version_type=freebsd-$objformat
++  case $version_type in
++    freebsd-elf*)
++      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
++      need_version=no
++      need_lib_prefix=no
++      ;;
++    freebsd-*)
++      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
++      need_version=yes
++      ;;
++  esac
++  shlibpath_var=LD_LIBRARY_PATH
++  case $host_os in
++  freebsd2*)
++    shlibpath_overrides_runpath=yes
++    ;;
++  freebsd3.01* | freebsdelf3.01*)
++    shlibpath_overrides_runpath=yes
++    hardcode_into_libs=yes
++    ;;
++  *) # from 3.2 on
++    shlibpath_overrides_runpath=no
++    hardcode_into_libs=yes
++    ;;
++  esac
++  ;;
++
++gnu*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  hardcode_into_libs=yes
++  ;;
++
++hpux9* | hpux10* | hpux11*)
++  # Give a soname corresponding to the major version so that dld.sl refuses to
++  # link against other versions.
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=no
++  case "$host_cpu" in
++  ia64*)
++    shrext='.so'
++    hardcode_into_libs=yes
++    dynamic_linker="$host_os dld.so"
++    shlibpath_var=LD_LIBRARY_PATH
++    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
++    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++    soname_spec='${libname}${release}${shared_ext}$major'
++    if test "X$HPUX_IA64_MODE" = X32; then
++      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
++    else
++      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
++    fi
++    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
++    ;;
++   hppa*64*)
++     shrext='.sl'
++     hardcode_into_libs=yes
++     dynamic_linker="$host_os dld.sl"
++     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
++     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
++     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++     soname_spec='${libname}${release}${shared_ext}$major'
++     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
++     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
++     ;;
++   *)
++    shrext='.sl'
++    dynamic_linker="$host_os dld.sl"
++    shlibpath_var=SHLIB_PATH
++    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
++    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++    soname_spec='${libname}${release}${shared_ext}$major'
++    ;;
++  esac
++  # HP-UX runs *really* slowly unless shared libraries are mode 555.
++  postinstall_cmds='chmod 555 $lib'
++  ;;
++
++irix5* | irix6* | nonstopux*)
++  case $host_os in
++    nonstopux*) version_type=nonstopux ;;
++    *)
++	if test "$lt_cv_prog_gnu_ld" = yes; then
++		version_type=linux
++	else
++		version_type=irix
++	fi ;;
++  esac
++  need_lib_prefix=no
++  need_version=no
++  soname_spec='${libname}${release}${shared_ext}$major'
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
++  case $host_os in
++  irix5* | nonstopux*)
++    libsuff= shlibsuff=
++    ;;
++  *)
++    case $LD in # libtool.m4 will add one of these switches to LD
++    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
++      libsuff= shlibsuff= libmagic=32-bit;;
++    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
++      libsuff=32 shlibsuff=N32 libmagic=N32;;
++    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
++      libsuff=64 shlibsuff=64 libmagic=64-bit;;
++    *) libsuff= shlibsuff= libmagic=never-match;;
++    esac
++    ;;
++  esac
++  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
++  shlibpath_overrides_runpath=no
++  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
++  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
++  hardcode_into_libs=yes
++  ;;
++
++# No shared lib support for Linux oldld, aout, or coff.
++linux*oldld* | linux*aout* | linux*coff*)
++  dynamic_linker=no
++  ;;
++
++# This must be Linux ELF.
++linux*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=no
++  # This implies no fast_install, which is unacceptable.
++  # Some rework will be needed to allow for fast_install
++  # before this can be enabled.
++  hardcode_into_libs=yes
++
++  # We used to test for /lib/ld.so.1 and disable shared libraries on
++  # powerpc, because MkLinux only supported shared libraries with the
++  # GNU dynamic linker.  Since this was broken with cross compilers,
++  # most powerpc-linux boxes support dynamic linking these days and
++  # people can always --disable-shared, the test was removed, and we
++  # assume the GNU/Linux dynamic linker is in use.
++  dynamic_linker='GNU/Linux ld.so'
++  ;;
++
++netbsd*)
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=no
++  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
++    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
++    dynamic_linker='NetBSD (a.out) ld.so'
++  else
++    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
++    soname_spec='${libname}${release}${shared_ext}$major'
++    dynamic_linker='NetBSD ld.elf_so'
++  fi
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  hardcode_into_libs=yes
++  ;;
++
++newsos6)
++  version_type=linux
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  ;;
++
++nto-qnx*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  ;;
++
++openbsd*)
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
++    case $host_os in
++      openbsd2.[89] | openbsd2.[89].*)
++	shlibpath_overrides_runpath=no
++	;;
++      *)
++	shlibpath_overrides_runpath=yes
++	;;
++      esac
++  else
++    shlibpath_overrides_runpath=yes
++  fi
++  ;;
++
++os2*)
++  libname_spec='$name'
++  shrext=".dll"
++  need_lib_prefix=no
++  library_names_spec='$libname${shared_ext} $libname.a'
++  dynamic_linker='OS/2 ld.exe'
++  shlibpath_var=LIBPATH
++  ;;
++
++osf3* | osf4* | osf5*)
++  version_type=osf
++  need_lib_prefix=no
++  need_version=no
++  soname_spec='${libname}${release}${shared_ext}$major'
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  shlibpath_var=LD_LIBRARY_PATH
++  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
++  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
++  ;;
++
++sco3.2v5*)
++  version_type=osf
++  soname_spec='${libname}${release}${shared_ext}$major'
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++solaris*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  hardcode_into_libs=yes
++  # ldd complains unless libraries are executable
++  postinstall_cmds='chmod +x $lib'
++  ;;
++
++sunos4*)
++  version_type=sunos
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
++  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  if test "$with_gnu_ld" = yes; then
++    need_lib_prefix=no
++  fi
++  need_version=yes
++  ;;
++
++sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
++  version_type=linux
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  case $host_vendor in
++    sni)
++      shlibpath_overrides_runpath=no
++      need_lib_prefix=no
++      export_dynamic_flag_spec='${wl}-Blargedynsym'
++      runpath_var=LD_RUN_PATH
++      ;;
++    siemens)
++      need_lib_prefix=no
++      ;;
++    motorola)
++      need_lib_prefix=no
++      need_version=no
++      shlibpath_overrides_runpath=no
++      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
++      ;;
++  esac
++  ;;
++
++sysv4*MP*)
++  if test -d /usr/nec ;then
++    version_type=linux
++    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
++    soname_spec='$libname${shared_ext}.$major'
++    shlibpath_var=LD_LIBRARY_PATH
++  fi
++  ;;
++
++uts4*)
++  version_type=linux
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++*)
++  dynamic_linker=no
++  ;;
++esac
++echo "$as_me:$LINENO: result: $dynamic_linker" >&5
++echo "${ECHO_T}$dynamic_linker" >&6
++test "$dynamic_linker" = no && can_build_shared=no
++
++echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
++echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
++hardcode_action_GCJ=
++if test -n "$hardcode_libdir_flag_spec_GCJ" || \
++   test -n "$runpath_var GCJ" || \
++   test "X$hardcode_automatic_GCJ"="Xyes" ; then
++
++  # We can hardcode non-existant directories.
++  if test "$hardcode_direct_GCJ" != no &&
++     # If the only mechanism to avoid hardcoding is shlibpath_var, we
++     # have to relink, otherwise we might link with an installed library
++     # when we should be linking with a yet-to-be-installed one
++     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
++     test "$hardcode_minus_L_GCJ" != no; then
++    # Linking always hardcodes the temporary library directory.
++    hardcode_action_GCJ=relink
++  else
++    # We can link without hardcoding, and we can hardcode nonexisting dirs.
++    hardcode_action_GCJ=immediate
++  fi
++else
++  # We cannot hardcode anything, or else we can only hardcode existing
++  # directories.
++  hardcode_action_GCJ=unsupported
++fi
++echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
++echo "${ECHO_T}$hardcode_action_GCJ" >&6
++
++if test "$hardcode_action_GCJ" = relink; then
++  # Fast installation is not supported
++  enable_fast_install=no
++elif test "$shlibpath_overrides_runpath" = yes ||
++     test "$enable_shared" = no; then
++  # Fast installation is not necessary
++  enable_fast_install=needless
++fi
++
++striplib=
++old_striplib=
++echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
++echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
++if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
++  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
++  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
++  echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++else
++# FIXME - insert some real tests, host_os isn't really good enough
++  case $host_os in
++   darwin*)
++       if test -n "$STRIP" ; then
++         striplib="$STRIP -x"
++         echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++       else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++       ;;
++   *)
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++    ;;
++  esac
++fi
++
++if test "x$enable_dlopen" != xyes; then
++  enable_dlopen=unknown
++  enable_dlopen_self=unknown
++  enable_dlopen_self_static=unknown
++else
++  lt_cv_dlopen=no
++  lt_cv_dlopen_libs=
++
++  case $host_os in
++  beos*)
++    lt_cv_dlopen="load_add_on"
++    lt_cv_dlopen_libs=
++    lt_cv_dlopen_self=yes
++    ;;
++
++  mingw* | pw32*)
++    lt_cv_dlopen="LoadLibrary"
++    lt_cv_dlopen_libs=
++   ;;
++
++  cygwin*)
++    lt_cv_dlopen="dlopen"
++    lt_cv_dlopen_libs=
++   ;;
++
++  darwin*)
++  # if libdl is installed we need to link against it
++    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
++echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
++if test "${ac_cv_lib_dl_dlopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ldl  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dlopen ();
++int
++main ()
++{
++dlopen ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_dl_dlopen=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_dl_dlopen=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
++echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
++if test $ac_cv_lib_dl_dlopen = yes; then
++  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
++else
++
++    lt_cv_dlopen="dyld"
++    lt_cv_dlopen_libs=
++    lt_cv_dlopen_self=yes
++
++fi
++
++   ;;
++
++  *)
++    echo "$as_me:$LINENO: checking for shl_load" >&5
++echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
++if test "${ac_cv_func_shl_load+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char shl_load (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char shl_load ();
++/* 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_shl_load) || defined (__stub___shl_load)
++choke me
++#else
++char (*f) () = shl_load;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != shl_load;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_shl_load=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_shl_load=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
++echo "${ECHO_T}$ac_cv_func_shl_load" >&6
++if test $ac_cv_func_shl_load = yes; then
++  lt_cv_dlopen="shl_load"
++else
++  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
++echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
++if test "${ac_cv_lib_dld_shl_load+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ldld  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char shl_load ();
++int
++main ()
++{
++shl_load ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_dld_shl_load=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_dld_shl_load=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
++echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
++if test $ac_cv_lib_dld_shl_load = yes; then
++  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
++else
++  echo "$as_me:$LINENO: checking for dlopen" >&5
++echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
++if test "${ac_cv_func_dlopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char dlopen (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dlopen ();
++/* 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_dlopen) || defined (__stub___dlopen)
++choke me
++#else
++char (*f) () = dlopen;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != dlopen;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_dlopen=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_dlopen=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
++echo "${ECHO_T}$ac_cv_func_dlopen" >&6
++if test $ac_cv_func_dlopen = yes; then
++  lt_cv_dlopen="dlopen"
++else
++  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
++echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
++if test "${ac_cv_lib_dl_dlopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ldl  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dlopen ();
++int
++main ()
++{
++dlopen ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_dl_dlopen=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_dl_dlopen=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
++echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
++if test $ac_cv_lib_dl_dlopen = yes; then
++  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
++else
++  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
++echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
++if test "${ac_cv_lib_svld_dlopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-lsvld  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dlopen ();
++int
++main ()
++{
++dlopen ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_svld_dlopen=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_svld_dlopen=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
++echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
++if test $ac_cv_lib_svld_dlopen = yes; then
++  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
++else
++  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
++echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
++if test "${ac_cv_lib_dld_dld_link+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ldld  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dld_link ();
++int
++main ()
++{
++dld_link ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_dld_dld_link=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_dld_dld_link=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
++echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
++if test $ac_cv_lib_dld_dld_link = yes; then
++  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
++fi
++
++
++fi
++
++
++fi
++
++
++fi
++
++
++fi
++
++
++fi
++
++    ;;
++  esac
++
++  if test "x$lt_cv_dlopen" != xno; then
++    enable_dlopen=yes
++  else
++    enable_dlopen=no
++  fi
++
++  case $lt_cv_dlopen in
++  dlopen)
++    save_CPPFLAGS="$CPPFLAGS"
++    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
++
++    save_LDFLAGS="$LDFLAGS"
++    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
++
++    save_LIBS="$LIBS"
++    LIBS="$lt_cv_dlopen_libs $LIBS"
++
++    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
++echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
++if test "${lt_cv_dlopen_self+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  	  if test "$cross_compiling" = yes; then :
++  lt_cv_dlopen_self=cross
++else
++  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
++  lt_status=$lt_dlunknown
++  cat > conftest.$ac_ext <<EOF
++#line 18291 "configure"
++#include "confdefs.h"
++
++#if HAVE_DLFCN_H
++#include <dlfcn.h>
++#endif
++
++#include <stdio.h>
++
++#ifdef RTLD_GLOBAL
++#  define LT_DLGLOBAL		RTLD_GLOBAL
++#else
++#  ifdef DL_GLOBAL
++#    define LT_DLGLOBAL		DL_GLOBAL
++#  else
++#    define LT_DLGLOBAL		0
++#  endif
++#endif
++
++/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
++   find out it does not work in some platform. */
++#ifndef LT_DLLAZY_OR_NOW
++#  ifdef RTLD_LAZY
++#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
++#  else
++#    ifdef DL_LAZY
++#      define LT_DLLAZY_OR_NOW		DL_LAZY
++#    else
++#      ifdef RTLD_NOW
++#        define LT_DLLAZY_OR_NOW	RTLD_NOW
++#      else
++#        ifdef DL_NOW
++#          define LT_DLLAZY_OR_NOW	DL_NOW
++#        else
++#          define LT_DLLAZY_OR_NOW	0
++#        endif
++#      endif
++#    endif
++#  endif
++#endif
++
++#ifdef __cplusplus
++extern "C" void exit (int);
++#endif
++
++void fnord() { int i=42;}
++int main ()
++{
++  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
++  int status = $lt_dlunknown;
++
++  if (self)
++    {
++      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
++      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
++      /* dlclose (self); */
++    }
++
++    exit (status);
++}
++EOF
++  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
++    (./conftest; exit; ) 2>/dev/null
++    lt_status=$?
++    case x$lt_status in
++      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
++      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
++      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
++    esac
++  else :
++    # compilation failed
++    lt_cv_dlopen_self=no
++  fi
++fi
++rm -fr conftest*
++
++
++fi
++echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
++echo "${ECHO_T}$lt_cv_dlopen_self" >&6
++
++    if test "x$lt_cv_dlopen_self" = xyes; then
++      LDFLAGS="$LDFLAGS $link_static_flag"
++      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
++echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
++if test "${lt_cv_dlopen_self_static+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  	  if test "$cross_compiling" = yes; then :
++  lt_cv_dlopen_self_static=cross
++else
++  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
++  lt_status=$lt_dlunknown
++  cat > conftest.$ac_ext <<EOF
++#line 18389 "configure"
++#include "confdefs.h"
++
++#if HAVE_DLFCN_H
++#include <dlfcn.h>
++#endif
++
++#include <stdio.h>
++
++#ifdef RTLD_GLOBAL
++#  define LT_DLGLOBAL		RTLD_GLOBAL
++#else
++#  ifdef DL_GLOBAL
++#    define LT_DLGLOBAL		DL_GLOBAL
++#  else
++#    define LT_DLGLOBAL		0
++#  endif
++#endif
++
++/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
++   find out it does not work in some platform. */
++#ifndef LT_DLLAZY_OR_NOW
++#  ifdef RTLD_LAZY
++#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
++#  else
++#    ifdef DL_LAZY
++#      define LT_DLLAZY_OR_NOW		DL_LAZY
++#    else
++#      ifdef RTLD_NOW
++#        define LT_DLLAZY_OR_NOW	RTLD_NOW
++#      else
++#        ifdef DL_NOW
++#          define LT_DLLAZY_OR_NOW	DL_NOW
++#        else
++#          define LT_DLLAZY_OR_NOW	0
++#        endif
++#      endif
++#    endif
++#  endif
++#endif
++
++#ifdef __cplusplus
++extern "C" void exit (int);
++#endif
++
++void fnord() { int i=42;}
++int main ()
++{
++  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
++  int status = $lt_dlunknown;
++
++  if (self)
++    {
++      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
++      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
++      /* dlclose (self); */
++    }
++
++    exit (status);
++}
++EOF
++  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
++    (./conftest; exit; ) 2>/dev/null
++    lt_status=$?
++    case x$lt_status in
++      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
++      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
++      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
++    esac
++  else :
++    # compilation failed
++    lt_cv_dlopen_self_static=no
++  fi
++fi
++rm -fr conftest*
++
++
++fi
++echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
++echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
++    fi
++
++    CPPFLAGS="$save_CPPFLAGS"
++    LDFLAGS="$save_LDFLAGS"
++    LIBS="$save_LIBS"
++    ;;
++  esac
++
++  case $lt_cv_dlopen_self in
++  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
++  *) enable_dlopen_self=unknown ;;
++  esac
++
++  case $lt_cv_dlopen_self_static in
++  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
++  *) enable_dlopen_self_static=unknown ;;
++  esac
++fi
++
++
++# The else clause should only fire when bootstrapping the
++# libtool distribution, otherwise you forgot to ship ltmain.sh
++# with your package, and you will get complaints that there are
++# no rules to generate ltmain.sh.
++if test -f "$ltmain"; then
++  # See if we are running on zsh, and set the options which allow our commands through
++  # without removal of \ escapes.
++  if test -n "${ZSH_VERSION+set}" ; then
++    setopt NO_GLOB_SUBST
++  fi
++  # Now quote all the things that may contain metacharacters while being
++  # careful not to overquote the AC_SUBSTed values.  We take copies of the
++  # variables and quote the copies for generation of the libtool script.
++  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
++    SED SHELL STRIP \
++    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
++    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
++    deplibs_check_method reload_flag reload_cmds need_locks \
++    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
++    lt_cv_sys_global_symbol_to_c_name_address \
++    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
++    old_postinstall_cmds old_postuninstall_cmds \
++    compiler_GCJ \
++    CC_GCJ \
++    LD_GCJ \
++    lt_prog_compiler_wl_GCJ \
++    lt_prog_compiler_pic_GCJ \
++    lt_prog_compiler_static_GCJ \
++    lt_prog_compiler_no_builtin_flag_GCJ \
++    export_dynamic_flag_spec_GCJ \
++    thread_safe_flag_spec_GCJ \
++    whole_archive_flag_spec_GCJ \
++    enable_shared_with_static_runtimes_GCJ \
++    old_archive_cmds_GCJ \
++    old_archive_from_new_cmds_GCJ \
++    predep_objects_GCJ \
++    postdep_objects_GCJ \
++    predeps_GCJ \
++    postdeps_GCJ \
++    compiler_lib_search_path_GCJ \
++    archive_cmds_GCJ \
++    archive_expsym_cmds_GCJ \
++    postinstall_cmds_GCJ \
++    postuninstall_cmds_GCJ \
++    old_archive_from_expsyms_cmds_GCJ \
++    allow_undefined_flag_GCJ \
++    no_undefined_flag_GCJ \
++    export_symbols_cmds_GCJ \
++    hardcode_libdir_flag_spec_GCJ \
++    hardcode_libdir_flag_spec_ld_GCJ \
++    hardcode_libdir_separator_GCJ \
++    hardcode_automatic_GCJ \
++    module_cmds_GCJ \
++    module_expsym_cmds_GCJ \
++    lt_cv_prog_compiler_c_o_GCJ \
++    exclude_expsyms_GCJ \
++    include_expsyms_GCJ; do
++
++    case $var in
++    old_archive_cmds_GCJ | \
++    old_archive_from_new_cmds_GCJ | \
++    archive_cmds_GCJ | \
++    archive_expsym_cmds_GCJ | \
++    module_cmds_GCJ | \
++    module_expsym_cmds_GCJ | \
++    old_archive_from_expsyms_cmds_GCJ | \
++    export_symbols_cmds_GCJ | \
++    extract_expsyms_cmds | reload_cmds | finish_cmds | \
++    postinstall_cmds | postuninstall_cmds | \
++    old_postinstall_cmds | old_postuninstall_cmds | \
++    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
++      # Double-quote double-evaled strings.
++      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
++      ;;
++    *)
++      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
++      ;;
++    esac
++  done
++
++  case $lt_echo in
++  *'\$0 --fallback-echo"')
++    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
++    ;;
++  esac
++
++cfgfile="$ofile"
++
++  cat <<__EOF__ >> "$cfgfile"
++# ### BEGIN LIBTOOL TAG CONFIG: $tagname
++
++# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
++
++# Shell to use when invoking shell scripts.
++SHELL=$lt_SHELL
++
++# Whether or not to build shared libraries.
++build_libtool_libs=$enable_shared
++
++# Whether or not to build static libraries.
++build_old_libs=$enable_static
++
++# Whether or not to add -lc for building shared libraries.
++build_libtool_need_lc=$archive_cmds_need_lc_GCJ
++
++# Whether or not to disallow shared libs when runtime libs are static
++allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
++
++# Whether or not to optimize for fast installation.
++fast_install=$enable_fast_install
++
++# The host system.
++host_alias=$host_alias
++host=$host
++
++# An echo program that does not interpret backslashes.
++echo=$lt_echo
++
++# The archiver.
++AR=$lt_AR
++AR_FLAGS=$lt_AR_FLAGS
++
++# A C compiler.
++LTCC=$lt_LTCC
++
++# A language-specific compiler.
++CC=$lt_compiler_GCJ
++
++# Is the compiler the GNU C compiler?
++with_gcc=$GCC_GCJ
++
++# An ERE matcher.
++EGREP=$lt_EGREP
++
++# The linker used to build libraries.
++LD=$lt_LD_GCJ
++
++# Whether we need hard or soft links.
++LN_S=$lt_LN_S
++
++# A BSD-compatible nm program.
++NM=$lt_NM
++
++# A symbol stripping program
++STRIP=$lt_STRIP
++
++# Used to examine libraries when file_magic_cmd begins "file"
++MAGIC_CMD=$MAGIC_CMD
++
++# Used on cygwin: DLL creation program.
++DLLTOOL="$DLLTOOL"
++
++# Used on cygwin: object dumper.
++OBJDUMP="$OBJDUMP"
++
++# Used on cygwin: assembler.
++AS="$AS"
++
++# The name of the directory that contains temporary libtool files.
++objdir=$objdir
++
++# How to create reloadable object files.
++reload_flag=$lt_reload_flag
++reload_cmds=$lt_reload_cmds
++
++# How to pass a linker flag through the compiler.
++wl=$lt_lt_prog_compiler_wl_GCJ
++
++# Object file suffix (normally "o").
++objext="$ac_objext"
++
++# Old archive suffix (normally "a").
++libext="$libext"
++
++# Shared library suffix (normally ".so").
++shrext='$shrext'
++
++# Executable file suffix (normally "").
++exeext="$exeext"
++
++# Additional compiler flags for building library objects.
++pic_flag=$lt_lt_prog_compiler_pic_GCJ
++pic_mode=$pic_mode
++
++# What is the maximum length of a command?
++max_cmd_len=$lt_cv_sys_max_cmd_len
++
++# Does compiler simultaneously support -c and -o options?
++compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
++
++# Must we lock files when doing compilation ?
++need_locks=$lt_need_locks
++
++# Do we need the lib prefix for modules?
++need_lib_prefix=$need_lib_prefix
++
++# Do we need a version for libraries?
++need_version=$need_version
++
++# Whether dlopen is supported.
++dlopen_support=$enable_dlopen
++
++# Whether dlopen of programs is supported.
++dlopen_self=$enable_dlopen_self
++
++# Whether dlopen of statically linked programs is supported.
++dlopen_self_static=$enable_dlopen_self_static
++
++# Compiler flag to prevent dynamic linking.
++link_static_flag=$lt_lt_prog_compiler_static_GCJ
++
++# Compiler flag to turn off builtin functions.
++no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
++
++# Compiler flag to allow reflexive dlopens.
++export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
++
++# Compiler flag to generate shared objects directly from archives.
++whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
++
++# Compiler flag to generate thread-safe objects.
++thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
++
++# Library versioning type.
++version_type=$version_type
++
++# Format of library name prefix.
++libname_spec=$lt_libname_spec
++
++# List of archive names.  First name is the real one, the rest are links.
++# The last name is the one that the linker finds with -lNAME.
++library_names_spec=$lt_library_names_spec
++
++# The coded name of the library, if different from the real name.
++soname_spec=$lt_soname_spec
++
++# Commands used to build and install an old-style archive.
++RANLIB=$lt_RANLIB
++old_archive_cmds=$lt_old_archive_cmds_GCJ
++old_postinstall_cmds=$lt_old_postinstall_cmds
++old_postuninstall_cmds=$lt_old_postuninstall_cmds
++
++# Create an old-style archive from a shared archive.
++old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
++
++# Create a temporary old-style archive to link instead of a shared archive.
++old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
++
++# Commands used to build and install a shared archive.
++archive_cmds=$lt_archive_cmds_GCJ
++archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
++postinstall_cmds=$lt_postinstall_cmds
++postuninstall_cmds=$lt_postuninstall_cmds
++
++# Commands used to build a loadable module (assumed same as above if empty)
++module_cmds=$lt_module_cmds_GCJ
++module_expsym_cmds=$lt_module_expsym_cmds_GCJ
++
++# Commands to strip libraries.
++old_striplib=$lt_old_striplib
++striplib=$lt_striplib
++
++# Dependencies to place before the objects being linked to create a
++# shared library.
++predep_objects=$lt_predep_objects_GCJ
++
++# Dependencies to place after the objects being linked to create a
++# shared library.
++postdep_objects=$lt_postdep_objects_GCJ
++
++# Dependencies to place before the objects being linked to create a
++# shared library.
++predeps=$lt_predeps_GCJ
++
++# Dependencies to place after the objects being linked to create a
++# shared library.
++postdeps=$lt_postdeps_GCJ
++
++# The library search path used internally by the compiler when linking
++# a shared library.
++compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
++
++# Method to check whether dependent libraries are shared objects.
++deplibs_check_method=$lt_deplibs_check_method
++
++# Command to use when deplibs_check_method == file_magic.
++file_magic_cmd=$lt_file_magic_cmd
++
++# Flag that allows shared libraries with undefined symbols to be built.
++allow_undefined_flag=$lt_allow_undefined_flag_GCJ
++
++# Flag that forces no undefined symbols.
++no_undefined_flag=$lt_no_undefined_flag_GCJ
++
++# Commands used to finish a libtool library installation in a directory.
++finish_cmds=$lt_finish_cmds
++
++# Same as above, but a single script fragment to be evaled but not shown.
++finish_eval=$lt_finish_eval
++
++# Take the output of nm and produce a listing of raw symbols and C names.
++global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
++
++# Transform the output of nm in a proper C declaration
++global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
++
++# Transform the output of nm in a C name address pair
++global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
++
++# This is the shared library runtime path variable.
++runpath_var=$runpath_var
++
++# This is the shared library path variable.
++shlibpath_var=$shlibpath_var
++
++# Is shlibpath searched before the hard-coded library search path?
++shlibpath_overrides_runpath=$shlibpath_overrides_runpath
++
++# How to hardcode a shared library path into an executable.
++hardcode_action=$hardcode_action_GCJ
++
++# Whether we should hardcode library paths into libraries.
++hardcode_into_libs=$hardcode_into_libs
++
++# Flag to hardcode \$libdir into a binary during linking.
++# This must work even if \$libdir does not exist.
++hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
++
++# If ld is used when linking, flag to hardcode \$libdir into
++# a binary during linking. This must work even if \$libdir does
++# not exist.
++hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
++
++# Whether we need a single -rpath flag with a separated argument.
++hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
++
++# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
++# resulting binary.
++hardcode_direct=$hardcode_direct_GCJ
++
++# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
++# resulting binary.
++hardcode_minus_L=$hardcode_minus_L_GCJ
++
++# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
++# the resulting binary.
++hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
++
++# Set to yes if building a shared library automatically hardcodes DIR into the library
++# and all subsequent libraries and executables linked against it.
++hardcode_automatic=$hardcode_automatic_GCJ
++
++# Variables whose values should be saved in libtool wrapper scripts and
++# restored at relink time.
++variables_saved_for_relink="$variables_saved_for_relink"
++
++# Whether libtool must link a program against all its dependency libraries.
++link_all_deplibs=$link_all_deplibs_GCJ
++
++# Compile-time system search path for libraries
++sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
++
++# Run-time system search path for libraries
++sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
++
++# Fix the shell variable \$srcfile for the compiler.
++fix_srcfile_path="$fix_srcfile_path_GCJ"
++
++# Set to yes if exported symbols are required.
++always_export_symbols=$always_export_symbols_GCJ
++
++# The commands to list exported symbols.
++export_symbols_cmds=$lt_export_symbols_cmds_GCJ
++
++# The commands to extract the exported symbol list from a shared archive.
++extract_expsyms_cmds=$lt_extract_expsyms_cmds
++
++# Symbols that should not be listed in the preloaded symbols.
++exclude_expsyms=$lt_exclude_expsyms_GCJ
++
++# Symbols that must always be exported.
++include_expsyms=$lt_include_expsyms_GCJ
++
++# ### END LIBTOOL TAG CONFIG: $tagname
++
++__EOF__
++
++
++else
++  # If there is no Makefile yet, we rely on a make rule to execute
++  # `config.status --recheck' to rerun these tests and create the
++  # libtool script then.
++  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
++  if test -f "$ltmain_in"; then
++    test -f Makefile && make "$ltmain"
++  fi
++fi
++
++
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++CC="$lt_save_CC"
++
++	else
++	  tagname=""
++	fi
++	;;
++
++      RC)
++
++
++
++# Source file extension for RC test sources.
++ac_ext=rc
++
++# Object file extension for compiled RC test sources.
++objext=o
++objext_RC=$objext
++
++# Code to be used in simple compile tests
++lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
++
++# Code to be used in simple link tests
++lt_simple_link_test_code="$lt_simple_compile_test_code"
++
++# ltmain only uses $CC for tagged configurations so make sure $CC is set.
++
++# If no C compiler was specified, use CC.
++LTCC=${LTCC-"$CC"}
++
++# Allow CC to be a program name with arguments.
++compiler=$CC
++
++
++# Allow CC to be a program name with arguments.
++lt_save_CC="$CC"
++CC=${RC-"windres"}
++compiler=$CC
++compiler_RC=$CC
++lt_cv_prog_compiler_c_o_RC=yes
++
++# The else clause should only fire when bootstrapping the
++# libtool distribution, otherwise you forgot to ship ltmain.sh
++# with your package, and you will get complaints that there are
++# no rules to generate ltmain.sh.
++if test -f "$ltmain"; then
++  # See if we are running on zsh, and set the options which allow our commands through
++  # without removal of \ escapes.
++  if test -n "${ZSH_VERSION+set}" ; then
++    setopt NO_GLOB_SUBST
++  fi
++  # Now quote all the things that may contain metacharacters while being
++  # careful not to overquote the AC_SUBSTed values.  We take copies of the
++  # variables and quote the copies for generation of the libtool script.
++  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
++    SED SHELL STRIP \
++    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
++    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
++    deplibs_check_method reload_flag reload_cmds need_locks \
++    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
++    lt_cv_sys_global_symbol_to_c_name_address \
++    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
++    old_postinstall_cmds old_postuninstall_cmds \
++    compiler_RC \
++    CC_RC \
++    LD_RC \
++    lt_prog_compiler_wl_RC \
++    lt_prog_compiler_pic_RC \
++    lt_prog_compiler_static_RC \
++    lt_prog_compiler_no_builtin_flag_RC \
++    export_dynamic_flag_spec_RC \
++    thread_safe_flag_spec_RC \
++    whole_archive_flag_spec_RC \
++    enable_shared_with_static_runtimes_RC \
++    old_archive_cmds_RC \
++    old_archive_from_new_cmds_RC \
++    predep_objects_RC \
++    postdep_objects_RC \
++    predeps_RC \
++    postdeps_RC \
++    compiler_lib_search_path_RC \
++    archive_cmds_RC \
++    archive_expsym_cmds_RC \
++    postinstall_cmds_RC \
++    postuninstall_cmds_RC \
++    old_archive_from_expsyms_cmds_RC \
++    allow_undefined_flag_RC \
++    no_undefined_flag_RC \
++    export_symbols_cmds_RC \
++    hardcode_libdir_flag_spec_RC \
++    hardcode_libdir_flag_spec_ld_RC \
++    hardcode_libdir_separator_RC \
++    hardcode_automatic_RC \
++    module_cmds_RC \
++    module_expsym_cmds_RC \
++    lt_cv_prog_compiler_c_o_RC \
++    exclude_expsyms_RC \
++    include_expsyms_RC; do
++
++    case $var in
++    old_archive_cmds_RC | \
++    old_archive_from_new_cmds_RC | \
++    archive_cmds_RC | \
++    archive_expsym_cmds_RC | \
++    module_cmds_RC | \
++    module_expsym_cmds_RC | \
++    old_archive_from_expsyms_cmds_RC | \
++    export_symbols_cmds_RC | \
++    extract_expsyms_cmds | reload_cmds | finish_cmds | \
++    postinstall_cmds | postuninstall_cmds | \
++    old_postinstall_cmds | old_postuninstall_cmds | \
++    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
++      # Double-quote double-evaled strings.
++      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
++      ;;
++    *)
++      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
++      ;;
++    esac
++  done
++
++  case $lt_echo in
++  *'\$0 --fallback-echo"')
++    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
++    ;;
++  esac
++
++cfgfile="$ofile"
++
++  cat <<__EOF__ >> "$cfgfile"
++# ### BEGIN LIBTOOL TAG CONFIG: $tagname
++
++# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
++
++# Shell to use when invoking shell scripts.
++SHELL=$lt_SHELL
++
++# Whether or not to build shared libraries.
++build_libtool_libs=$enable_shared
++
++# Whether or not to build static libraries.
++build_old_libs=$enable_static
++
++# Whether or not to add -lc for building shared libraries.
++build_libtool_need_lc=$archive_cmds_need_lc_RC
++
++# Whether or not to disallow shared libs when runtime libs are static
++allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
++
++# Whether or not to optimize for fast installation.
++fast_install=$enable_fast_install
++
++# The host system.
++host_alias=$host_alias
++host=$host
++
++# An echo program that does not interpret backslashes.
++echo=$lt_echo
++
++# The archiver.
++AR=$lt_AR
++AR_FLAGS=$lt_AR_FLAGS
++
++# A C compiler.
++LTCC=$lt_LTCC
++
++# A language-specific compiler.
++CC=$lt_compiler_RC
++
++# Is the compiler the GNU C compiler?
++with_gcc=$GCC_RC
++
++# An ERE matcher.
++EGREP=$lt_EGREP
++
++# The linker used to build libraries.
++LD=$lt_LD_RC
++
++# Whether we need hard or soft links.
++LN_S=$lt_LN_S
++
++# A BSD-compatible nm program.
++NM=$lt_NM
++
++# A symbol stripping program
++STRIP=$lt_STRIP
++
++# Used to examine libraries when file_magic_cmd begins "file"
++MAGIC_CMD=$MAGIC_CMD
++
++# Used on cygwin: DLL creation program.
++DLLTOOL="$DLLTOOL"
++
++# Used on cygwin: object dumper.
++OBJDUMP="$OBJDUMP"
++
++# Used on cygwin: assembler.
++AS="$AS"
++
++# The name of the directory that contains temporary libtool files.
++objdir=$objdir
++
++# How to create reloadable object files.
++reload_flag=$lt_reload_flag
++reload_cmds=$lt_reload_cmds
++
++# How to pass a linker flag through the compiler.
++wl=$lt_lt_prog_compiler_wl_RC
++
++# Object file suffix (normally "o").
++objext="$ac_objext"
++
++# Old archive suffix (normally "a").
++libext="$libext"
++
++# Shared library suffix (normally ".so").
++shrext='$shrext'
++
++# Executable file suffix (normally "").
++exeext="$exeext"
++
++# Additional compiler flags for building library objects.
++pic_flag=$lt_lt_prog_compiler_pic_RC
++pic_mode=$pic_mode
++
++# What is the maximum length of a command?
++max_cmd_len=$lt_cv_sys_max_cmd_len
++
++# Does compiler simultaneously support -c and -o options?
++compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
++
++# Must we lock files when doing compilation ?
++need_locks=$lt_need_locks
++
++# Do we need the lib prefix for modules?
++need_lib_prefix=$need_lib_prefix
++
++# Do we need a version for libraries?
++need_version=$need_version
++
++# Whether dlopen is supported.
++dlopen_support=$enable_dlopen
++
++# Whether dlopen of programs is supported.
++dlopen_self=$enable_dlopen_self
++
++# Whether dlopen of statically linked programs is supported.
++dlopen_self_static=$enable_dlopen_self_static
++
++# Compiler flag to prevent dynamic linking.
++link_static_flag=$lt_lt_prog_compiler_static_RC
++
++# Compiler flag to turn off builtin functions.
++no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
++
++# Compiler flag to allow reflexive dlopens.
++export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
++
++# Compiler flag to generate shared objects directly from archives.
++whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
++
++# Compiler flag to generate thread-safe objects.
++thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
++
++# Library versioning type.
++version_type=$version_type
++
++# Format of library name prefix.
++libname_spec=$lt_libname_spec
++
++# List of archive names.  First name is the real one, the rest are links.
++# The last name is the one that the linker finds with -lNAME.
++library_names_spec=$lt_library_names_spec
++
++# The coded name of the library, if different from the real name.
++soname_spec=$lt_soname_spec
++
++# Commands used to build and install an old-style archive.
++RANLIB=$lt_RANLIB
++old_archive_cmds=$lt_old_archive_cmds_RC
++old_postinstall_cmds=$lt_old_postinstall_cmds
++old_postuninstall_cmds=$lt_old_postuninstall_cmds
++
++# Create an old-style archive from a shared archive.
++old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
++
++# Create a temporary old-style archive to link instead of a shared archive.
++old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
++
++# Commands used to build and install a shared archive.
++archive_cmds=$lt_archive_cmds_RC
++archive_expsym_cmds=$lt_archive_expsym_cmds_RC
++postinstall_cmds=$lt_postinstall_cmds
++postuninstall_cmds=$lt_postuninstall_cmds
++
++# Commands used to build a loadable module (assumed same as above if empty)
++module_cmds=$lt_module_cmds_RC
++module_expsym_cmds=$lt_module_expsym_cmds_RC
++
++# Commands to strip libraries.
++old_striplib=$lt_old_striplib
++striplib=$lt_striplib
++
++# Dependencies to place before the objects being linked to create a
++# shared library.
++predep_objects=$lt_predep_objects_RC
++
++# Dependencies to place after the objects being linked to create a
++# shared library.
++postdep_objects=$lt_postdep_objects_RC
++
++# Dependencies to place before the objects being linked to create a
++# shared library.
++predeps=$lt_predeps_RC
++
++# Dependencies to place after the objects being linked to create a
++# shared library.
++postdeps=$lt_postdeps_RC
++
++# The library search path used internally by the compiler when linking
++# a shared library.
++compiler_lib_search_path=$lt_compiler_lib_search_path_RC
++
++# Method to check whether dependent libraries are shared objects.
++deplibs_check_method=$lt_deplibs_check_method
++
++# Command to use when deplibs_check_method == file_magic.
++file_magic_cmd=$lt_file_magic_cmd
++
++# Flag that allows shared libraries with undefined symbols to be built.
++allow_undefined_flag=$lt_allow_undefined_flag_RC
++
++# Flag that forces no undefined symbols.
++no_undefined_flag=$lt_no_undefined_flag_RC
++
++# Commands used to finish a libtool library installation in a directory.
++finish_cmds=$lt_finish_cmds
++
++# Same as above, but a single script fragment to be evaled but not shown.
++finish_eval=$lt_finish_eval
++
++# Take the output of nm and produce a listing of raw symbols and C names.
++global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
++
++# Transform the output of nm in a proper C declaration
++global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
++
++# Transform the output of nm in a C name address pair
++global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
++
++# This is the shared library runtime path variable.
++runpath_var=$runpath_var
++
++# This is the shared library path variable.
++shlibpath_var=$shlibpath_var
++
++# Is shlibpath searched before the hard-coded library search path?
++shlibpath_overrides_runpath=$shlibpath_overrides_runpath
++
++# How to hardcode a shared library path into an executable.
++hardcode_action=$hardcode_action_RC
++
++# Whether we should hardcode library paths into libraries.
++hardcode_into_libs=$hardcode_into_libs
++
++# Flag to hardcode \$libdir into a binary during linking.
++# This must work even if \$libdir does not exist.
++hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
++
++# If ld is used when linking, flag to hardcode \$libdir into
++# a binary during linking. This must work even if \$libdir does
++# not exist.
++hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
++
++# Whether we need a single -rpath flag with a separated argument.
++hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
++
++# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
++# resulting binary.
++hardcode_direct=$hardcode_direct_RC
++
++# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
++# resulting binary.
++hardcode_minus_L=$hardcode_minus_L_RC
++
++# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
++# the resulting binary.
++hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
++
++# Set to yes if building a shared library automatically hardcodes DIR into the library
++# and all subsequent libraries and executables linked against it.
++hardcode_automatic=$hardcode_automatic_RC
++
++# Variables whose values should be saved in libtool wrapper scripts and
++# restored at relink time.
++variables_saved_for_relink="$variables_saved_for_relink"
++
++# Whether libtool must link a program against all its dependency libraries.
++link_all_deplibs=$link_all_deplibs_RC
++
++# Compile-time system search path for libraries
++sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
++
++# Run-time system search path for libraries
++sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
++
++# Fix the shell variable \$srcfile for the compiler.
++fix_srcfile_path="$fix_srcfile_path_RC"
++
++# Set to yes if exported symbols are required.
++always_export_symbols=$always_export_symbols_RC
++
++# The commands to list exported symbols.
++export_symbols_cmds=$lt_export_symbols_cmds_RC
++
++# The commands to extract the exported symbol list from a shared archive.
++extract_expsyms_cmds=$lt_extract_expsyms_cmds
++
++# Symbols that should not be listed in the preloaded symbols.
++exclude_expsyms=$lt_exclude_expsyms_RC
++
++# Symbols that must always be exported.
++include_expsyms=$lt_include_expsyms_RC
++
++# ### END LIBTOOL TAG CONFIG: $tagname
++
++__EOF__
++
++
++else
++  # If there is no Makefile yet, we rely on a make rule to execute
++  # `config.status --recheck' to rerun these tests and create the
++  # libtool script then.
++  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
++  if test -f "$ltmain_in"; then
++    test -f Makefile && make "$ltmain"
+   fi
+-  ;;
++fi
+ 
+-amigaos*)
+-  library_names_spec='$libname.ixlibrary $libname.a'
+-  # Create ${libname}_ixlibrary.a entries in /sys/libs.
+-  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done'
+-  ;;
+ 
+-beos*)
+-  library_names_spec='${libname}.so'
+-  dynamic_linker="$host_os ld.so"
+-  shlibpath_var=LIBRARY_PATH
+-  ;;
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
+ 
+-bsdi4*)
+-  version_type=linux
+-  need_version=no
+-  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
+-  soname_spec='${libname}${release}.so$major'
+-  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
+-  shlibpath_var=LD_LIBRARY_PATH
+-  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
+-  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
+-  export_dynamic_flag_spec=-rdynamic
+-  # the default ld.so.conf also contains /usr/contrib/lib and
+-  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
+-  # libtool to hard-code these into programs
+-  ;;
++CC="$lt_save_CC"
+ 
+-cygwin* | mingw* | pw32*)
+-  version_type=windows
+-  need_version=no
+-  need_lib_prefix=no
+-  case $GCC,$host_os in
+-  yes,cygwin*)
+-    library_names_spec='$libname.dll.a'
+-    soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
+-    postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~
+-      dldir=$destdir/`dirname \$dlpath`~
+-      test -d \$dldir || mkdir -p \$dldir~
+-      $install_prog .libs/$dlname \$dldir/$dlname'
+-    postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~
+-      dlpath=$dir/\$dldll~
+-       $rm \$dlpath'
+-    ;;
+-  yes,mingw*)
+-    library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
+-    sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g"`
+-    ;;
+-  yes,pw32*)
+-    library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}.dll'
+-    ;;
+-  *)
+-    library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll $libname.lib'
+-    ;;
+-  esac
+-  dynamic_linker='Win32 ld.exe'
+-  # FIXME: first we should search . and the directory the executable is in
+-  shlibpath_var=PATH
+-  ;;
++	;;
+ 
+-darwin* | rhapsody*)
+-  dynamic_linker="$host_os dyld"
+-  version_type=darwin
+-  need_lib_prefix=no
+-  need_version=no
+-  # FIXME: Relying on posixy $() will cause problems for
+-  #        cross-compilation, but unfortunately the echo tests do not
+-  #        yet detect zsh echo's removal of \ escapes.
+-  library_names_spec='${libname}${release}${versuffix}.$(test .$module = .yes && echo so || echo dylib) ${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib) ${libname}.$(test .$module = .yes && echo so || echo dylib)'
+-  soname_spec='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)'
+-  shlibpath_overrides_runpath=yes
+-  shlibpath_var=DYLD_LIBRARY_PATH
+-  ;;
++      *)
++	{ { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
++echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
++   { (exit 1); exit 1; }; }
++	;;
++      esac
+ 
+-freebsd1*)
+-  dynamic_linker=no
+-  ;;
++      # Append the new tag name to the list of available tags.
++      if test -n "$tagname" ; then
++      available_tags="$available_tags $tagname"
++    fi
++    fi
++  done
++  IFS="$lt_save_ifs"
+ 
+-freebsd*)
+-  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
+-  version_type=freebsd-$objformat
+-  case $version_type in
+-    freebsd-elf*)
+-      library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
+-      need_version=no
+-      need_lib_prefix=no
+-      ;;
+-    freebsd-*)
+-      library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix'
+-      need_version=yes
+-      ;;
+-  esac
+-  shlibpath_var=LD_LIBRARY_PATH
+-  case $host_os in
+-  freebsd2*)
+-    shlibpath_overrides_runpath=yes
+-    ;;
+-  *)
+-    shlibpath_overrides_runpath=no
+-    hardcode_into_libs=yes
+-    ;;
+-  esac
+-  ;;
++  # Now substitute the updated list of available tags.
++  if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
++    mv "${ofile}T" "$ofile"
++    chmod +x "$ofile"
++  else
++    rm -f "${ofile}T"
++    { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
++echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
++   { (exit 1); exit 1; }; }
++  fi
++fi
+ 
+-gnu*)
+-  version_type=linux
+-  need_lib_prefix=no
+-  need_version=no
+-  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so'
+-  soname_spec='${libname}${release}.so$major'
+-  shlibpath_var=LD_LIBRARY_PATH
+-  hardcode_into_libs=yes
+-  ;;
+ 
+-hpux9* | hpux10* | hpux11*)
+-  # Give a soname corresponding to the major version so that dld.sl refuses to
+-  # link against other versions.
+-  dynamic_linker="$host_os dld.sl"
+-  version_type=sunos
+-  need_lib_prefix=no
+-  need_version=no
+-  shlibpath_var=SHLIB_PATH
+-  shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
+-  library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl'
+-  soname_spec='${libname}${release}.sl$major'
+-  # HP-UX runs *really* slowly unless shared libraries are mode 555.
+-  postinstall_cmds='chmod 555 $lib'
+-  ;;
+ 
+-irix5* | irix6*)
+-  version_type=irix
+-  need_lib_prefix=no
+-  need_version=no
+-  soname_spec='${libname}${release}.so$major'
+-  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so'
+-  case $host_os in
+-  irix5*)
+-    libsuff= shlibsuff=
+-    ;;
+-  *)
+-    case $LD in # libtool.m4 will add one of these switches to LD
+-    *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;;
+-    *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;;
+-    *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;;
+-    *) libsuff= shlibsuff= libmagic=never-match;;
+-    esac
+-    ;;
+-  esac
+-  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
+-  shlibpath_overrides_runpath=no
+-  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
+-  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
+-  ;;
++# This can be used to rebuild libtool when needed
++LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
+ 
+-# No shared lib support for Linux oldld, aout, or coff.
+-linux-gnuoldld* | linux-gnuaout* | linux-gnucoff*)
+-  dynamic_linker=no
+-  ;;
++# Always use our own libtool.
++LIBTOOL='$(SHELL) $(top_builddir)/libtool'
+ 
+-# This must be Linux ELF.
+-linux-gnu*)
+-  version_type=linux
+-  need_lib_prefix=no
+-  need_version=no
+-  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
+-  soname_spec='${libname}${release}.so$major'
+-  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
+-  shlibpath_var=LD_LIBRARY_PATH
+-  shlibpath_overrides_runpath=no
+-  # This implies no fast_install, which is unacceptable.
+-  # Some rework will be needed to allow for fast_install
+-  # before this can be enabled.
+-  hardcode_into_libs=yes
++# Prevent multiple expansion
+ 
+-  # We used to test for /lib/ld.so.1 and disable shared libraries on
+-  # powerpc, because MkLinux only supported shared libraries with the
+-  # GNU dynamic linker.  Since this was broken with cross compilers,
+-  # most powerpc-linux boxes support dynamic linking these days and
+-  # people can always --disable-shared, the test was removed, and we
+-  # assume the GNU/Linux dynamic linker is in use.
+-  dynamic_linker='GNU/Linux ld.so'
+-  ;;
+ 
+-netbsd*)
+-  version_type=sunos
+-  need_lib_prefix=no
+-  need_version=no
+-  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
+-    library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
+-    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
+-    dynamic_linker='NetBSD (a.out) ld.so'
+-  else
+-    library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so'
+-    soname_spec='${libname}${release}.so$major'
+-    dynamic_linker='NetBSD ld.elf_so'
+-  fi
+-  shlibpath_var=LD_LIBRARY_PATH
+-  shlibpath_overrides_runpath=yes
+-  hardcode_into_libs=yes
+-  ;;
+ 
+-newsos6)
+-  version_type=linux
+-  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
+-  shlibpath_var=LD_LIBRARY_PATH
+-  shlibpath_overrides_runpath=yes
+-  ;;
+ 
+-openbsd*)
+-  version_type=sunos
+-  need_lib_prefix=no
+-  need_version=no
+-  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
+-    case "$host_os" in
+-    openbsd2.[89] | openbsd2.[89].*)
+-      shlibpath_overrides_runpath=no
+-      ;;
+-    *)
+-      shlibpath_overrides_runpath=yes
+-      ;;
+-    esac
+-  else
+-    shlibpath_overrides_runpath=yes
+-  fi
+-  library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
+-  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
+-  shlibpath_var=LD_LIBRARY_PATH
+-  ;;
+ 
+-os2*)
+-  libname_spec='$name'
+-  need_lib_prefix=no
+-  library_names_spec='$libname.dll $libname.a'
+-  dynamic_linker='OS/2 ld.exe'
+-  shlibpath_var=LIBPATH
+-  ;;
+ 
+-osf3* | osf4* | osf5*)
+-  version_type=osf
+-  need_version=no
+-  soname_spec='${libname}${release}.so'
+-  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
+-  shlibpath_var=LD_LIBRARY_PATH
+-  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
+-  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
+-  ;;
+ 
+-sco3.2v5*)
+-  version_type=osf
+-  soname_spec='${libname}${release}.so$major'
+-  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
+-  shlibpath_var=LD_LIBRARY_PATH
+-  ;;
+ 
+-solaris*)
+-  version_type=linux
+-  need_lib_prefix=no
+-  need_version=no
+-  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
+-  soname_spec='${libname}${release}.so$major'
+-  shlibpath_var=LD_LIBRARY_PATH
+-  shlibpath_overrides_runpath=yes
+-  hardcode_into_libs=yes
+-  # ldd complains unless libraries are executable
+-  postinstall_cmds='chmod +x $lib'
+-  ;;
+ 
+-sunos4*)
+-  version_type=sunos
+-  library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
+-  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
+-  shlibpath_var=LD_LIBRARY_PATH
+-  shlibpath_overrides_runpath=yes
+-  if test "$with_gnu_ld" = yes; then
+-    need_lib_prefix=no
+-  fi
+-  need_version=yes
+-  ;;
+ 
+-sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
+-  version_type=linux
+-  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
+-  soname_spec='${libname}${release}.so$major'
+-  shlibpath_var=LD_LIBRARY_PATH
+-  case $host_vendor in
+-    sni)
+-      shlibpath_overrides_runpath=no
+-      ;;
+-    motorola)
+-      need_lib_prefix=no
+-      need_version=no
+-      shlibpath_overrides_runpath=no
+-      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
+-      ;;
+-  esac
+-  ;;
+ 
+-uts4*)
+-  version_type=linux
+-  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
+-  soname_spec='${libname}${release}.so$major'
+-  shlibpath_var=LD_LIBRARY_PATH
+-  ;;
+ 
+-dgux*)
+-  version_type=linux
+-  need_lib_prefix=no
+-  need_version=no
+-  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
+-  soname_spec='${libname}${release}.so$major'
+-  shlibpath_var=LD_LIBRARY_PATH
+-  ;;
+ 
+-sysv4*MP*)
+-  if test -d /usr/nec ;then
+-    version_type=linux
+-    library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so'
+-    soname_spec='$libname.so.$major'
+-    shlibpath_var=LD_LIBRARY_PATH
+-  fi
+-  ;;
+ 
+-*)
+-  dynamic_linker=no
+-  ;;
+-esac
+-echo "$as_me:$LINENO: result: $dynamic_linker" >&5
+-echo "${ECHO_T}$dynamic_linker" >&6
+-test "$dynamic_linker" = no && can_build_shared=no
+ 
+-# Report the final consequences.
+-echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
+-echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
+-echo "$as_me:$LINENO: result: $can_build_shared" >&5
+-echo "${ECHO_T}$can_build_shared" >&6
+ 
+-echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
+-echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
+-test "$can_build_shared" = "no" && enable_shared=no
+ 
+-# On AIX, shared libraries and static libraries use the same namespace, and
+-# are all built from PIC.
+-case "$host_os" in
+-aix3*)
+-  test "$enable_shared" = yes && enable_static=no
+-  if test -n "$RANLIB"; then
+-    archive_cmds="$archive_cmds~\$RANLIB \$lib"
+-    postinstall_cmds='$RANLIB $lib'
+-  fi
+-  ;;
+ 
+-aix4*)
+-  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
+-    test "$enable_shared" = yes && enable_static=no
+-  fi
+-  ;;
+-esac
+-echo "$as_me:$LINENO: result: $enable_shared" >&5
+-echo "${ECHO_T}$enable_shared" >&6
+ 
+-echo "$as_me:$LINENO: checking whether to build static libraries" >&5
+-echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
+-# Make sure either enable_shared or enable_static is yes.
+-test "$enable_shared" = yes || enable_static=yes
+-echo "$as_me:$LINENO: result: $enable_static" >&5
+-echo "${ECHO_T}$enable_static" >&6
+ 
+-if test "$hardcode_action" = relink; then
+-  # Fast installation is not supported
+-  enable_fast_install=no
+-elif test "$shlibpath_overrides_runpath" = yes ||
+-     test "$enable_shared" = no; then
+-  # Fast installation is not necessary
+-  enable_fast_install=needless
+-fi
+ 
+-variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
+-if test "$GCC" = yes; then
+-  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
++
++WFLAGS_NOUNUSED=""
++WFLAGS_NOIMPLICITINT=""
++if test -z "$WFLAGS" -a "$GCC" = "yes"; then
++  # -Wno-implicit-int for broken X11 headers
++  # leave these out for now:
++  #   -Wcast-align doesn't work well on alpha osf/1
++  #   -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast
++  #   -Wmissing-declarations -Wnested-externs
++  WFLAGS="-Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs"
++  WFLAGS_NOUNUSED="-Wno-unused"
++  WFLAGS_NOIMPLICITINT="-Wno-implicit-int"
+ fi
+ 
+-if test "x$enable_dlopen" != xyes; then
+-  enable_dlopen=unknown
+-  enable_dlopen_self=unknown
+-  enable_dlopen_self_static=unknown
+-else
+-  lt_cv_dlopen=no
+-  lt_cv_dlopen_libs=
+ 
+-  case $host_os in
+-  beos*)
+-    lt_cv_dlopen="load_add_on"
+-    lt_cv_dlopen_libs=
+-    lt_cv_dlopen_self=yes
+-    ;;
+ 
+-  cygwin* | mingw* | pw32*)
+-    lt_cv_dlopen="LoadLibrary"
+-    lt_cv_dlopen_libs=
+-   ;;
+ 
+-  *)
+-    echo "$as_me:$LINENO: checking for shl_load" >&5
+-echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
+-if test "${ac_cv_func_shl_load+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  cat >conftest.$ac_ext <<_ACEOF
+-#line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char shl_load (); below.  */
+-#include <assert.h>
+-/* Override any gcc2 internal prototype to avoid an error.  */
+-#ifdef __cplusplus
+-extern "C"
+-#endif
+-/* We use char because int might match the return type of a gcc2
+-   builtin and then its argument prototype would still apply.  */
+-char shl_load ();
+-char (*f) ();
++# Check whether --with-openldap or --without-openldap was given.
++if test "${with_openldap+set}" = set; then
++  withval="$with_openldap"
+ 
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-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_shl_load) || defined (__stub___shl_load)
+-choke me
+-#else
+-f = shl_load;
+-#endif
++fi;
+ 
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
+-  ac_cv_func_shl_load=yes
+-else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_shl_load=no
+-fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++# Check whether --with-openldap-lib or --without-openldap-lib was given.
++if test "${with_openldap_lib+set}" = set; then
++  withval="$with_openldap_lib"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-openldap-lib" >&5
++echo "$as_me: error: No argument for --with-openldap-lib" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_openldap" = "X"; then
++  with_openldap=yes
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
+-echo "${ECHO_T}$ac_cv_func_shl_load" >&6
+-if test $ac_cv_func_shl_load = yes; then
+-  lt_cv_dlopen="shl_load"
+-else
+-  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
+-echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
+-if test "${ac_cv_lib_dld_shl_load+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  ac_check_lib_save_LIBS=$LIBS
+-LIBS="-ldld  $LIBS"
+-cat >conftest.$ac_ext <<_ACEOF
+-#line $LINENO "configure"
+-#include "confdefs.h"
++fi;
+ 
+-/* Override any gcc2 internal prototype to avoid an error.  */
+-#ifdef __cplusplus
+-extern "C"
+-#endif
+-/* We use char because int might match the return type of a gcc2
+-   builtin and then its argument prototype would still apply.  */
+-char shl_load ();
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
+-shl_load ();
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
+-  ac_cv_lib_dld_shl_load=yes
+-else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_lib_dld_shl_load=no
+-fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+-LIBS=$ac_check_lib_save_LIBS
++# Check whether --with-openldap-include or --without-openldap-include was given.
++if test "${with_openldap_include+set}" = set; then
++  withval="$with_openldap_include"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-openldap-include" >&5
++echo "$as_me: error: No argument for --with-openldap-include" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_openldap" = "X"; then
++  with_openldap=yes
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
+-echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
+-if test $ac_cv_lib_dld_shl_load = yes; then
+-  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
+-else
+-  echo "$as_me:$LINENO: checking for dlopen" >&5
+-echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
+-if test "${ac_cv_func_dlopen+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  cat >conftest.$ac_ext <<_ACEOF
+-#line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char dlopen (); below.  */
+-#include <assert.h>
+-/* Override any gcc2 internal prototype to avoid an error.  */
+-#ifdef __cplusplus
+-extern "C"
+-#endif
+-/* We use char because int might match the return type of a gcc2
+-   builtin and then its argument prototype would still apply.  */
+-char dlopen ();
+-char (*f) ();
++fi;
+ 
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-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_dlopen) || defined (__stub___dlopen)
+-choke me
+-#else
+-f = dlopen;
+-#endif
++# Check whether --with-openldap-config or --without-openldap-config was given.
++if test "${with_openldap_config+set}" = set; then
++  withval="$with_openldap_config"
++
++fi;
++
++
++
++echo "$as_me:$LINENO: checking for openldap" >&5
++echo $ECHO_N "checking for openldap... $ECHO_C" >&6
++
++case "$with_openldap" in
++yes|"") d='' ;;
++no)	d= ;;
++*)	d="$with_openldap" ;;
++esac
++
++header_dirs=
++lib_dirs=
++for i in $d /usr; do
++	if test "$with_openldap_include" = ""; then
++		if test -d "$i/include/openldap"; then
++			header_dirs="$header_dirs $i/include/openldap"
++		fi
++		if test -d "$i/include"; then
++			header_dirs="$header_dirs $i/include"
++		fi
++	fi
++	if test "$with_openldap_lib" = ""; then
++		if test -d "$i/lib$abilibdirext"; then
++			lib_dirs="$lib_dirs $i/lib$abilibdirext"
++		fi
++	fi
++done
+ 
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
+-  ac_cv_func_dlopen=yes
+-else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_dlopen=no
++if test "$with_openldap_include"; then
++	header_dirs="$with_openldap_include $header_dirs"
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++if test "$with_openldap_lib"; then
++	lib_dirs="$with_openldap_lib $lib_dirs"
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
+-echo "${ECHO_T}$ac_cv_func_dlopen" >&6
+-if test $ac_cv_func_dlopen = yes; then
+-  lt_cv_dlopen="dlopen"
+-else
+-  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
+-echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
+-if test "${ac_cv_lib_dl_dlopen+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  ac_check_lib_save_LIBS=$LIBS
+-LIBS="-ldl  $LIBS"
+-cat >conftest.$ac_ext <<_ACEOF
+-#line $LINENO "configure"
+-#include "confdefs.h"
+ 
+-/* Override any gcc2 internal prototype to avoid an error.  */
+-#ifdef __cplusplus
+-extern "C"
+-#endif
+-/* We use char because int might match the return type of a gcc2
+-   builtin and then its argument prototype would still apply.  */
+-char dlopen ();
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
++if test "$with_openldap_config" = ""; then
++	with_openldap_config=''
++fi
++
++openldap_cflags=
++openldap_libs=
++
++case "$with_openldap_config" in
++yes|no|"")
++	;;
++*)
++	openldap_cflags="`$with_openldap_config --cflags 2>&1`"
++	openldap_libs="`$with_openldap_config --libs 2>&1`"
++	;;
++esac
++
++found=no
++if test "$with_openldap" != no; then
++	save_CFLAGS="$CFLAGS"
++	save_LIBS="$LIBS"
++	if test "$openldap_cflags" -a "$openldap_libs"; then
++		CFLAGS="$openldap_cflags $save_CFLAGS"
++		LIBS="$openldap_libs $save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <lber.h>
++#include <ldap.h>
+ int
+ main ()
+ {
+-dlopen ();
++
+   ;
+   return 0;
+ }
+@@ -7417,106 +19542,75 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_lib_dl_dlopen=yes
++
++			INCLUDE_openldap="$openldap_cflags"
++			LIB_openldap="$openldap_libs"
++			echo "$as_me:$LINENO: result: from $with_openldap_config" >&5
++echo "${ECHO_T}from $with_openldap_config" >&6
++			found=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_lib_dl_dlopen=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+-LIBS=$ac_check_lib_save_LIBS
+-fi
+-echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
+-echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
+-if test $ac_cv_lib_dl_dlopen = yes; then
+-  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
+-else
+-  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
+-echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
+-if test "${ac_cv_lib_svld_dlopen+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  ac_check_lib_save_LIBS=$LIBS
+-LIBS="-lsvld  $LIBS"
+-cat >conftest.$ac_ext <<_ACEOF
++	fi
++	if test "$found" = no; then
++		ires= lres=
++		for i in $header_dirs; do
++			CFLAGS="-I$i $save_CFLAGS"
++			cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-
+-/* Override any gcc2 internal prototype to avoid an error.  */
+-#ifdef __cplusplus
+-extern "C"
+-#endif
+-/* We use char because int might match the return type of a gcc2
+-   builtin and then its argument prototype would still apply.  */
+-char dlopen ();
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <lber.h>
++#include <ldap.h>
+ int
+ main ()
+ {
+-dlopen ();
++
+   ;
+   return 0;
+ }
+ _ACEOF
+-rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
++         { ac_try='test -s conftest.$ac_objext'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_lib_svld_dlopen=yes
++  ires=$i;break
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_lib_svld_dlopen=no
+-fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+-LIBS=$ac_check_lib_save_LIBS
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
+-echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
+-if test $ac_cv_lib_svld_dlopen = yes; then
+-  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
+-else
+-  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
+-echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
+-if test "${ac_cv_lib_dld_dld_link+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  ac_check_lib_save_LIBS=$LIBS
+-LIBS="-ldld  $LIBS"
+-cat >conftest.$ac_ext <<_ACEOF
++rm -f conftest.$ac_objext conftest.$ac_ext
++		done
++		for i in $lib_dirs; do
++			LIBS="-L$i -lldap -llber  $save_LIBS"
++			cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-
+-/* Override any gcc2 internal prototype to avoid an error.  */
+-#ifdef __cplusplus
+-extern "C"
+-#endif
+-/* We use char because int might match the return type of a gcc2
+-   builtin and then its argument prototype would still apply.  */
+-char dld_link ();
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <lber.h>
++#include <ldap.h>
+ int
+ main ()
+ {
+-dld_link ();
++
+   ;
+   return 0;
+ }
+@@ -7533,1017 +19627,979 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_lib_dld_dld_link=yes
++  lres=$i;break
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_lib_dld_dld_link=no
+-fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+-LIBS=$ac_check_lib_save_LIBS
+-fi
+-echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
+-echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
+-if test $ac_cv_lib_dld_dld_link = yes; then
+-  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
+-fi
+-
+-
+-fi
+-
+-
+-fi
+-
+-
+-fi
+-
+-
+-fi
+-
+-
+-fi
+-
+-    ;;
+-  esac
+-
+-  if test "x$lt_cv_dlopen" != xno; then
+-    enable_dlopen=yes
+-  else
+-    enable_dlopen=no
+-  fi
+-
+-  case $lt_cv_dlopen in
+-  dlopen)
+-    save_CPPFLAGS="$CPPFLAGS"
+-        test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
+-
+-    save_LDFLAGS="$LDFLAGS"
+-    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
+-
+-    save_LIBS="$LIBS"
+-    LIBS="$lt_cv_dlopen_libs $LIBS"
+-
+-    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
+-echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
+-if test "${lt_cv_dlopen_self+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  	  if test "$cross_compiling" = yes; then :
+-  lt_cv_dlopen_self=cross
+-else
+-    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
+-  lt_status=$lt_dlunknown
+-  cat > conftest.$ac_ext <<EOF
+-#line 7597 "configure"
+-#include "confdefs.h"
+-
+-#if HAVE_DLFCN_H
+-#include <dlfcn.h>
+-#endif
+-
+-#include <stdio.h>
+-
+-#ifdef RTLD_GLOBAL
+-#  define LT_DLGLOBAL		RTLD_GLOBAL
+-#else
+-#  ifdef DL_GLOBAL
+-#    define LT_DLGLOBAL		DL_GLOBAL
+-#  else
+-#    define LT_DLGLOBAL		0
+-#  endif
+-#endif
+-
+-/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
+-   find out it does not work in some platform. */
+-#ifndef LT_DLLAZY_OR_NOW
+-#  ifdef RTLD_LAZY
+-#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
+-#  else
+-#    ifdef DL_LAZY
+-#      define LT_DLLAZY_OR_NOW		DL_LAZY
+-#    else
+-#      ifdef RTLD_NOW
+-#        define LT_DLLAZY_OR_NOW	RTLD_NOW
+-#      else
+-#        ifdef DL_NOW
+-#          define LT_DLLAZY_OR_NOW	DL_NOW
+-#        else
+-#          define LT_DLLAZY_OR_NOW	0
+-#        endif
+-#      endif
+-#    endif
+-#  endif
+-#endif
+-
+-#ifdef __cplusplus
+-extern "C" void exit (int);
+-#endif
+-
+-void fnord() { int i=42;}
+-int main ()
+-{
+-  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
+-  int status = $lt_dlunknown;
+-
+-  if (self)
+-    {
+-      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
+-      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
+-      /* dlclose (self); */
+-    }
+-
+-    exit (status);
+-}
+-EOF
+-  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
+-    (./conftest; exit; ) 2>/dev/null
+-    lt_status=$?
+-    case x$lt_status in
+-      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
+-      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
+-      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
+-    esac
+-  else :
+-    # compilation failed
+-    lt_cv_dlopen_self=no
+-  fi
+-fi
+-rm -fr conftest*
+-
+-
+-fi
+-echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
+-echo "${ECHO_T}$lt_cv_dlopen_self" >&6
+-
+-    if test "x$lt_cv_dlopen_self" = xyes; then
+-      LDFLAGS="$LDFLAGS $link_static_flag"
+-      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
+-echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
+-if test "${lt_cv_dlopen_self_static+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  	  if test "$cross_compiling" = yes; then :
+-  lt_cv_dlopen_self_static=cross
+-else
+-    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
+-  lt_status=$lt_dlunknown
+-  cat > conftest.$ac_ext <<EOF
+-#line 7695 "configure"
+-#include "confdefs.h"
+-
+-#if HAVE_DLFCN_H
+-#include <dlfcn.h>
+-#endif
+-
+-#include <stdio.h>
+-
+-#ifdef RTLD_GLOBAL
+-#  define LT_DLGLOBAL		RTLD_GLOBAL
+-#else
+-#  ifdef DL_GLOBAL
+-#    define LT_DLGLOBAL		DL_GLOBAL
+-#  else
+-#    define LT_DLGLOBAL		0
+-#  endif
+-#endif
+-
+-/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
+-   find out it does not work in some platform. */
+-#ifndef LT_DLLAZY_OR_NOW
+-#  ifdef RTLD_LAZY
+-#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
+-#  else
+-#    ifdef DL_LAZY
+-#      define LT_DLLAZY_OR_NOW		DL_LAZY
+-#    else
+-#      ifdef RTLD_NOW
+-#        define LT_DLLAZY_OR_NOW	RTLD_NOW
+-#      else
+-#        ifdef DL_NOW
+-#          define LT_DLLAZY_OR_NOW	DL_NOW
+-#        else
+-#          define LT_DLLAZY_OR_NOW	0
+-#        endif
+-#      endif
+-#    endif
+-#  endif
+-#endif
+-
+-#ifdef __cplusplus
+-extern "C" void exit (int);
+-#endif
+-
+-void fnord() { int i=42;}
+-int main ()
+-{
+-  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
+-  int status = $lt_dlunknown;
+-
+-  if (self)
+-    {
+-      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
+-      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
+-      /* dlclose (self); */
+-    }
+-
+-    exit (status);
+-}
+-EOF
+-  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
+-    (./conftest; exit; ) 2>/dev/null
+-    lt_status=$?
+-    case x$lt_status in
+-      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
+-      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
+-      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
+-    esac
+-  else :
+-    # compilation failed
+-    lt_cv_dlopen_self_static=no
+-  fi
+-fi
+-rm -fr conftest*
+-
++sed 's/^/| /' conftest.$ac_ext >&5
+ 
+ fi
+-echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
+-echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
+-    fi
+-
+-    CPPFLAGS="$save_CPPFLAGS"
+-    LDFLAGS="$save_LDFLAGS"
+-    LIBS="$save_LIBS"
+-    ;;
+-  esac
+-
+-  case $lt_cv_dlopen_self in
+-  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
+-  *) enable_dlopen_self=unknown ;;
+-  esac
+-
+-  case $lt_cv_dlopen_self_static in
+-  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
+-  *) enable_dlopen_self_static=unknown ;;
+-  esac
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++		done
++		if test "$ires" -a "$lres" -a "$with_openldap" != "no"; then
++			DIR_openldap=
++			INCLUDE_openldap="-I$ires"
++			LIB_openldap="-L$lres -lldap -llber "
++			found=yes
++			echo "$as_me:$LINENO: result: headers $ires, libraries $lres" >&5
++echo "${ECHO_T}headers $ires, libraries $lres" >&6
++		fi
++	fi
++	CFLAGS="$save_CFLAGS"
++	LIBS="$save_LIBS"
+ fi
+ 
++if test "$found" = yes; then
+ 
+-if test "$enable_shared" = yes && test "$GCC" = yes; then
+-  case $archive_cmds in
+-  *'~'*)
+-    # FIXME: we may have to deal with multi-command sequences.
+-    ;;
+-  '$CC '*)
+-    # Test whether the compiler implicitly links with -lc since on some
+-    # systems, -lgcc has to come before -lc. If gcc already passes -lc
+-    # to ld, don't add -lc before -lgcc.
+-    echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
+-echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
+-    if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  $rm conftest*
+-    echo 'static int dummy;' > conftest.$ac_ext
+-
+-    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); }; then
+-      soname=conftest
+-      lib=conftest
+-      libobjs=conftest.$ac_objext
+-      deplibs=
+-      wl=$lt_cv_prog_cc_wl
+-      compiler_flags=-v
+-      linker_flags=-v
+-      verstring=
+-      output_objdir=.
+-      libname=conftest
+-      save_allow_undefined_flag=$allow_undefined_flag
+-      allow_undefined_flag=
+-      if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
+-  (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
+-  ac_status=$?
+-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); }
+-      then
+-	lt_cv_archive_cmds_need_lc=no
+-      else
+-	lt_cv_archive_cmds_need_lc=yes
+-      fi
+-      allow_undefined_flag=$save_allow_undefined_flag
+-    else
+-      cat conftest.err 1>&5
+-    fi
+-fi
+-
+-    echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
+-echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
+-    ;;
+-  esac
+-fi
+-need_lc=${lt_cv_archive_cmds_need_lc-yes}
++cat >>confdefs.h <<_ACEOF
++#define OPENLDAP 1
++_ACEOF
+ 
+-# The second clause should only fire when bootstrapping the
+-# libtool distribution, otherwise you forgot to ship ltmain.sh
+-# with your package, and you will get complaints that there are
+-# no rules to generate ltmain.sh.
+-if test -f "$ltmain"; then
+-  :
++	with_openldap=yes
+ else
+-  # If there is no Makefile yet, we rely on a make rule to execute
+-  # `config.status --recheck' to rerun these tests and create the
+-  # libtool script then.
+-  test -f Makefile && make "$ltmain"
++	with_openldap=no
++	DIR_openldap=
++	INCLUDE_openldap=
++	LIB_openldap=
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
+ fi
+ 
+-if test -f "$ltmain"; then
+-  trap "$rm \"${ofile}T\"; exit 1" 1 2 15
+-  $rm -f "${ofile}T"
+-
+-  echo creating $ofile
+-
+-  # Now quote all the things that may contain metacharacters while being
+-  # careful not to overquote the AC_SUBSTed values.  We take copies of the
+-  # variables and quote the copies for generation of the libtool script.
+-  for var in echo old_CC old_CFLAGS \
+-    AR AR_FLAGS CC LD LN_S NM SHELL \
+-    reload_flag reload_cmds wl \
+-    pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \
+-    thread_safe_flag_spec whole_archive_flag_spec libname_spec \
+-    library_names_spec soname_spec \
+-    RANLIB old_archive_cmds old_archive_from_new_cmds old_postinstall_cmds \
+-    old_postuninstall_cmds archive_cmds archive_expsym_cmds postinstall_cmds \
+-    postuninstall_cmds extract_expsyms_cmds old_archive_from_expsyms_cmds \
+-    old_striplib striplib file_magic_cmd export_symbols_cmds \
+-    deplibs_check_method allow_undefined_flag no_undefined_flag \
+-    finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \
+-    global_symbol_to_c_name_address \
+-    hardcode_libdir_flag_spec hardcode_libdir_separator  \
+-    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
+-    compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do
+-
+-    case $var in
+-    reload_cmds | old_archive_cmds | old_archive_from_new_cmds | \
+-    old_postinstall_cmds | old_postuninstall_cmds | \
+-    export_symbols_cmds | archive_cmds | archive_expsym_cmds | \
+-    extract_expsyms_cmds | old_archive_from_expsyms_cmds | \
+-    postinstall_cmds | postuninstall_cmds | \
+-    finish_cmds | sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
+-      # Double-quote double-evaled strings.
+-      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
+-      ;;
+-    *)
+-      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
+-      ;;
+-    esac
+-  done
+-
+-  cat <<__EOF__ > "${ofile}T"
+-#! $SHELL
+ 
+-# `$echo "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
+-# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
+-# NOTE: Changes made to this file will be lost: look at ltmain.sh.
+-#
+-# Copyright (C) 1996-2000 Free Software Foundation, Inc.
+-# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
+-#
+-# 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+-#
+-# As a special exception to the GNU General Public License, if you
+-# distribute this file as part of a program that contains a
+-# configuration script generated by Autoconf, you may include it under
+-# the same distribution terms that you use for the rest of that program.
+ 
+-# Sed that helps us avoid accidentally triggering echo(1) options like -n.
+-Xsed="sed -e s/^X//"
+ 
+-# The HP-UX ksh and POSIX shell print the target directory to stdout
+-# if CDPATH is set.
+-if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
+ 
+-# ### BEGIN LIBTOOL CONFIG
+ 
+-# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
+ 
+-# Shell to use when invoking shell scripts.
+-SHELL=$lt_SHELL
+ 
+-# Whether or not to build shared libraries.
+-build_libtool_libs=$enable_shared
++# Check whether --with-krb4 or --without-krb4 was given.
++if test "${with_krb4+set}" = set; then
++  withval="$with_krb4"
+ 
+-# Whether or not to build static libraries.
+-build_old_libs=$enable_static
++fi;
+ 
+-# Whether or not to add -lc for building shared libraries.
+-build_libtool_need_lc=$need_lc
++# Check whether --with-krb4-lib or --without-krb4-lib was given.
++if test "${with_krb4_lib+set}" = set; then
++  withval="$with_krb4_lib"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-krb4-lib" >&5
++echo "$as_me: error: No argument for --with-krb4-lib" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_krb4" = "X"; then
++  with_krb4=yes
++fi
++fi;
+ 
+-# Whether or not to optimize for fast installation.
+-fast_install=$enable_fast_install
++# Check whether --with-krb4-include or --without-krb4-include was given.
++if test "${with_krb4_include+set}" = set; then
++  withval="$with_krb4_include"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-krb4-include" >&5
++echo "$as_me: error: No argument for --with-krb4-include" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_krb4" = "X"; then
++  with_krb4=yes
++fi
++fi;
+ 
+-# The host system.
+-host_alias=$host_alias
+-host=$host
++# Check whether --with-krb4-config or --without-krb4-config was given.
++if test "${with_krb4_config+set}" = set; then
++  withval="$with_krb4_config"
+ 
+-# An echo program that does not interpret backslashes.
+-echo=$lt_echo
++fi;
+ 
+-# The archiver.
+-AR=$lt_AR
+-AR_FLAGS=$lt_AR_FLAGS
+ 
+-# The default C compiler.
+-CC=$lt_CC
+ 
+-# Is the compiler the GNU C compiler?
+-with_gcc=$GCC
++echo "$as_me:$LINENO: checking for krb4" >&5
++echo $ECHO_N "checking for krb4... $ECHO_C" >&6
+ 
+-# The linker used to build libraries.
+-LD=$lt_LD
++case "$with_krb4" in
++yes|"") d='/usr/athena' ;;
++no)	d= ;;
++*)	d="$with_krb4" ;;
++esac
+ 
+-# Whether we need hard or soft links.
+-LN_S=$lt_LN_S
++header_dirs=
++lib_dirs=
++for i in $d /usr; do
++	if test "$with_krb4_include" = ""; then
++		if test -d "$i/include/krb4"; then
++			header_dirs="$header_dirs $i/include/krb4"
++		fi
++		if test -d "$i/include"; then
++			header_dirs="$header_dirs $i/include"
++		fi
++	fi
++	if test "$with_krb4_lib" = ""; then
++		if test -d "$i/lib$abilibdirext"; then
++			lib_dirs="$lib_dirs $i/lib$abilibdirext"
++		fi
++	fi
++done
+ 
+-# A BSD-compatible nm program.
+-NM=$lt_NM
++if test "$with_krb4_include"; then
++	header_dirs="$with_krb4_include $header_dirs"
++fi
++if test "$with_krb4_lib"; then
++	lib_dirs="$with_krb4_lib $lib_dirs"
++fi
+ 
+-# A symbol stripping program
+-STRIP=$STRIP
++if test "$with_krb4_config" = ""; then
++	with_krb4_config='krb4-config'
++fi
+ 
+-# Used to examine libraries when file_magic_cmd begins "file"
+-MAGIC_CMD=$MAGIC_CMD
++krb4_cflags=
++krb4_libs=
+ 
+-# Used on cygwin: DLL creation program.
+-DLLTOOL="$DLLTOOL"
++case "$with_krb4_config" in
++yes|no|"")
++	;;
++*)
++	krb4_cflags="`$with_krb4_config --cflags 2>&1`"
++	krb4_libs="`$with_krb4_config --libs 2>&1`"
++	;;
++esac
+ 
+-# Used on cygwin: object dumper.
+-OBJDUMP="$OBJDUMP"
++found=no
++if test "$with_krb4" != no; then
++	save_CFLAGS="$CFLAGS"
++	save_LIBS="$LIBS"
++	if test "$krb4_cflags" -a "$krb4_libs"; then
++		CFLAGS="$krb4_cflags $save_CFLAGS"
++		LIBS="$krb4_libs $save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <krb.h>
++int
++main ()
++{
+ 
+-# Used on cygwin: assembler.
+-AS="$AS"
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
+ 
+-# The name of the directory that contains temporary libtool files.
+-objdir=$objdir
++			INCLUDE_krb4="$krb4_cflags"
++			LIB_krb4="$krb4_libs"
++			echo "$as_me:$LINENO: result: from $with_krb4_config" >&5
++echo "${ECHO_T}from $with_krb4_config" >&6
++			found=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
+ 
+-# How to create reloadable object files.
+-reload_flag=$lt_reload_flag
+-reload_cmds=$lt_reload_cmds
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	fi
++	if test "$found" = no; then
++		ires= lres=
++		for i in $header_dirs; do
++			CFLAGS="-I$i $save_CFLAGS"
++			cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <krb.h>
++int
++main ()
++{
+ 
+-# How to pass a linker flag through the compiler.
+-wl=$lt_wl
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ires=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
+ 
+-# Object file suffix (normally "o").
+-objext="$ac_objext"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++		done
++		for i in $lib_dirs; do
++			LIBS="-L$i -lkrb -ldes $save_LIBS"
++			cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <krb.h>
++int
++main ()
++{
+ 
+-# Old archive suffix (normally "a").
+-libext="$libext"
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  lres=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
+ 
+-# Executable file suffix (normally "").
+-exeext="$exeext"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++		done
++		if test "$ires" -a "$lres" -a "$with_krb4" != "no"; then
++			DIR_krb4=
++			INCLUDE_krb4="-I$ires"
++			LIB_krb4="-L$lres -lkrb -ldes"
++			found=yes
++			echo "$as_me:$LINENO: result: headers $ires, libraries $lres" >&5
++echo "${ECHO_T}headers $ires, libraries $lres" >&6
++		fi
++	fi
++	CFLAGS="$save_CFLAGS"
++	LIBS="$save_LIBS"
++fi
+ 
+-# Additional compiler flags for building library objects.
+-pic_flag=$lt_pic_flag
+-pic_mode=$pic_mode
++if test "$found" = yes; then
+ 
+-# Does compiler simultaneously support -c and -o options?
+-compiler_c_o=$lt_compiler_c_o
++cat >>confdefs.h <<_ACEOF
++#define KRB4 1
++_ACEOF
+ 
+-# Can we write directly to a .lo ?
+-compiler_o_lo=$lt_compiler_o_lo
++	with_krb4=yes
++else
++	with_krb4=no
++	DIR_krb4=
++	INCLUDE_krb4=
++	LIB_krb4=
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
+ 
+-# Must we lock files when doing compilation ?
+-need_locks=$lt_need_locks
+ 
+-# Do we need the lib prefix for modules?
+-need_lib_prefix=$need_lib_prefix
+ 
+-# Do we need a version for libraries?
+-need_version=$need_version
+ 
+-# Whether dlopen is supported.
+-dlopen_support=$enable_dlopen
+ 
+-# Whether dlopen of programs is supported.
+-dlopen_self=$enable_dlopen_self
+ 
+-# Whether dlopen of statically linked programs is supported.
+-dlopen_self_static=$enable_dlopen_self_static
++LIB_kdb=
++if test "$with_krb4" != "no"; then
++	save_CFLAGS="$CFLAGS"
++	CFLAGS="$CFLAGS $INCLUDE_krb4"
++	save_LIBS="$LIBS"
++	LIBS="$LIB_krb4 $LIBS"
++	EXTRA_LIB45=lib45.a
+ 
+-# Compiler flag to prevent dynamic linking.
+-link_static_flag=$lt_link_static_flag
++	echo "$as_me:$LINENO: checking for four valued krb_put_int" >&5
++echo $ECHO_N "checking for four valued krb_put_int... $ECHO_C" >&6
++if test "${ac_cv_func_krb_put_int_four+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <krb.h>
++int
++main ()
++{
+ 
+-# Compiler flag to turn off builtin functions.
+-no_builtin_flag=$lt_no_builtin_flag
++		char tmp[4];
++		krb_put_int(17, tmp, 4, sizeof(tmp));
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_krb_put_int_four=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
+ 
+-# Compiler flag to allow reflexive dlopens.
+-export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
++ac_cv_func_krb_put_int_four=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
+ 
+-# Compiler flag to generate shared objects directly from archives.
+-whole_archive_flag_spec=$lt_whole_archive_flag_spec
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_krb_put_int_four" >&5
++echo "${ECHO_T}$ac_cv_func_krb_put_int_four" >&6
++	if test "$ac_cv_func_krb_put_int_four" = yes; then
+ 
+-# Compiler flag to generate thread-safe objects.
+-thread_safe_flag_spec=$lt_thread_safe_flag_spec
++cat >>confdefs.h <<\_ACEOF
++#define HAVE_FOUR_VALUED_KRB_PUT_INT 1
++_ACEOF
+ 
+-# Library versioning type.
+-version_type=$version_type
++	fi
+ 
+-# Format of library name prefix.
+-libname_spec=$lt_libname_spec
+ 
+-# List of archive names.  First name is the real one, the rest are links.
+-# The last name is the one that the linker finds with -lNAME.
+-library_names_spec=$lt_library_names_spec
++	echo "$as_me:$LINENO: checking for KRB_VERIFY_SECURE" >&5
++echo $ECHO_N "checking for KRB_VERIFY_SECURE... $ECHO_C" >&6
++if test "${ac_cv_func_krb_verify_secure+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <krb.h>
++int
++main ()
++{
+ 
+-# The coded name of the library, if different from the real name.
+-soname_spec=$lt_soname_spec
++		int x = KRB_VERIFY_SECURE
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_krb_verify_secure=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
+ 
+-# Commands used to build and install an old-style archive.
+-RANLIB=$lt_RANLIB
+-old_archive_cmds=$lt_old_archive_cmds
+-old_postinstall_cmds=$lt_old_postinstall_cmds
+-old_postuninstall_cmds=$lt_old_postuninstall_cmds
++ac_cv_func_krb_verify_secure=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
+ 
+-# Create an old-style archive from a shared archive.
+-old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_krb_verify_secure" >&5
++echo "${ECHO_T}$ac_cv_func_krb_verify_secure" >&6
++	if test "$ac_cv_func_krb_verify_secure" != yes; then
+ 
+-# Create a temporary old-style archive to link instead of a shared archive.
+-old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
++cat >>confdefs.h <<\_ACEOF
++#define KRB_VERIFY_SECURE 1
++_ACEOF
+ 
+-# Commands used to build and install a shared archive.
+-archive_cmds=$lt_archive_cmds
+-archive_expsym_cmds=$lt_archive_expsym_cmds
+-postinstall_cmds=$lt_postinstall_cmds
+-postuninstall_cmds=$lt_postuninstall_cmds
+ 
+-# Commands to strip libraries.
+-old_striplib=$lt_old_striplib
+-striplib=$lt_striplib
++cat >>confdefs.h <<\_ACEOF
++#define KRB_VERIFY_SECURE_FAIL 2
++_ACEOF
+ 
+-# Method to check whether dependent libraries are shared objects.
+-deplibs_check_method=$lt_deplibs_check_method
++	fi
++	echo "$as_me:$LINENO: checking for KRB_VERIFY_NOT_SECURE" >&5
++echo $ECHO_N "checking for KRB_VERIFY_NOT_SECURE... $ECHO_C" >&6
++if test "${ac_cv_func_krb_verify_not_secure+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <krb.h>
++int
++main ()
++{
+ 
+-# Command to use when deplibs_check_method == file_magic.
+-file_magic_cmd=$lt_file_magic_cmd
++		int x = KRB_VERIFY_NOT_SECURE
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_krb_verify_not_secure=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
+ 
+-# Flag that allows shared libraries with undefined symbols to be built.
+-allow_undefined_flag=$lt_allow_undefined_flag
++ac_cv_func_krb_verify_not_secure=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
+ 
+-# Flag that forces no undefined symbols.
+-no_undefined_flag=$lt_no_undefined_flag
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_krb_verify_not_secure" >&5
++echo "${ECHO_T}$ac_cv_func_krb_verify_not_secure" >&6
++	if test "$ac_cv_func_krb_verify_not_secure" != yes; then
+ 
+-# Commands used to finish a libtool library installation in a directory.
+-finish_cmds=$lt_finish_cmds
++cat >>confdefs.h <<\_ACEOF
++#define KRB_VERIFY_NOT_SECURE 0
++_ACEOF
+ 
+-# Same as above, but a single script fragment to be evaled but not shown.
+-finish_eval=$lt_finish_eval
++	fi
+ 
+-# Take the output of nm and produce a listing of raw symbols and C names.
+-global_symbol_pipe=$lt_global_symbol_pipe
+ 
+-# Transform the output of nm in a proper C declaration
+-global_symbol_to_cdecl=$lt_global_symbol_to_cdecl
+ 
+-# Transform the output of nm in a C name address pair
+-global_symbol_to_c_name_address=$lt_global_symbol_to_c_name_address
+ 
+-# This is the shared library runtime path variable.
+-runpath_var=$runpath_var
++echo "$as_me:$LINENO: checking for krb_enable_debug" >&5
++echo $ECHO_N "checking for krb_enable_debug... $ECHO_C" >&6
++if test "${ac_cv_funclib_krb_enable_debug+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++
++if eval "test \"\$ac_cv_func_krb_enable_debug\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++krb_enable_debug()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_krb_enable_debug=$ac_lib; else ac_cv_funclib_krb_enable_debug=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_krb_enable_debug=\${ac_cv_funclib_krb_enable_debug-no}"
++	LIBS="$ac_save_LIBS"
++fi
+ 
+-# This is the shared library path variable.
+-shlibpath_var=$shlibpath_var
++fi
+ 
+-# Is shlibpath searched before the hard-coded library search path?
+-shlibpath_overrides_runpath=$shlibpath_overrides_runpath
+ 
+-# How to hardcode a shared library path into an executable.
+-hardcode_action=$hardcode_action
++eval "ac_res=\$ac_cv_funclib_krb_enable_debug"
+ 
+-# Whether we should hardcode library paths into libraries.
+-hardcode_into_libs=$hardcode_into_libs
++if false; then
+ 
+-# Flag to hardcode \$libdir into a binary during linking.
+-# This must work even if \$libdir does not exist.
+-hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
++for ac_func in krb_enable_debug
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
+ 
+-# Whether we need a single -rpath flag with a separated argument.
+-hardcode_libdir_separator=$lt_hardcode_libdir_separator
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
+ 
+-# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
+-# resulting binary.
+-hardcode_direct=$hardcode_direct
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
+ 
+-# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
+-# resulting binary.
+-hardcode_minus_L=$hardcode_minus_L
++fi
++done
+ 
+-# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
+-# the resulting binary.
+-hardcode_shlibpath_var=$hardcode_shlibpath_var
++fi
++# krb_enable_debug
++eval "ac_tr_func=HAVE_`echo krb_enable_debug | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_krb_enable_debug=$ac_res"
+ 
+-# Variables whose values should be saved in libtool wrapper scripts and
+-# restored at relink time.
+-variables_saved_for_relink="$variables_saved_for_relink"
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_krb_enable_debug=yes"
++	eval "LIB_krb_enable_debug="
++	cat >>confdefs.h <<_ACEOF
++#define $ac_tr_func 1
++_ACEOF
+ 
+-# Whether libtool must link a program against all its dependency libraries.
+-link_all_deplibs=$link_all_deplibs
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_krb_enable_debug=no"
++	eval "LIB_krb_enable_debug="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_krb_enable_debug=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++#define $ac_tr_func 1
++_ACEOF
+ 
+-# Compile-time system search path for libraries
+-sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
++	cat >>confdefs.h <<_ACEOF
++#define $ac_tr_lib 1
++_ACEOF
+ 
+-# Run-time system search path for libraries
+-sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
+ 
+-# Fix the shell variable \$srcfile for the compiler.
+-fix_srcfile_path="$fix_srcfile_path"
+ 
+-# Set to yes if exported symbols are required.
+-always_export_symbols=$always_export_symbols
++if test -n "$LIB_krb_enable_debug"; then
++	LIBS="$LIB_krb_enable_debug $LIBS"
++fi
+ 
+-# The commands to list exported symbols.
+-export_symbols_cmds=$lt_export_symbols_cmds
+ 
+-# The commands to extract the exported symbol list from a shared archive.
+-extract_expsyms_cmds=$lt_extract_expsyms_cmds
+ 
+-# Symbols that should not be listed in the preloaded symbols.
+-exclude_expsyms=$lt_exclude_expsyms
+ 
+-# Symbols that must always be exported.
+-include_expsyms=$lt_include_expsyms
+ 
+-# ### END LIBTOOL CONFIG
++echo "$as_me:$LINENO: checking for krb_disable_debug" >&5
++echo $ECHO_N "checking for krb_disable_debug... $ECHO_C" >&6
++if test "${ac_cv_funclib_krb_disable_debug+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
+ 
+-__EOF__
++if eval "test \"\$ac_cv_func_krb_disable_debug\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ 
+-  case $host_os in
+-  aix3*)
+-    cat <<\EOF >> "${ofile}T"
++int
++main ()
++{
++krb_disable_debug()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_krb_disable_debug=$ac_lib; else ac_cv_funclib_krb_disable_debug=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
+ 
+-# AIX sometimes has problems with the GCC collect2 program.  For some
+-# reason, if we set the COLLECT_NAMES environment variable, the problems
+-# vanish in a puff of smoke.
+-if test "X${COLLECT_NAMES+set}" != Xset; then
+-  COLLECT_NAMES=
+-  export COLLECT_NAMES
+ fi
+-EOF
+-    ;;
+-  esac
+-
+-  case $host_os in
+-  cygwin* | mingw* | pw32* | os2*)
+-    cat <<'EOF' >> "${ofile}T"
+-      # This is a source program that is used to create dlls on Windows
+-      # Don't remove nor modify the starting and closing comments
+-# /* ltdll.c starts here */
+-# #define WIN32_LEAN_AND_MEAN
+-# #include <windows.h>
+-# #undef WIN32_LEAN_AND_MEAN
+-# #include <stdio.h>
+-#
+-# #ifndef __CYGWIN__
+-# #  ifdef __CYGWIN32__
+-# #    define __CYGWIN__ __CYGWIN32__
+-# #  endif
+-# #endif
+-#
+-# #ifdef __cplusplus
+-# extern "C" {
+-# #endif
+-# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
+-# #ifdef __cplusplus
+-# }
+-# #endif
+-#
+-# #ifdef __CYGWIN__
+-# #include <cygwin/cygwin_dll.h>
+-# DECLARE_CYGWIN_DLL( DllMain );
+-# #endif
+-# HINSTANCE __hDllInstance_base;
+-#
+-# BOOL APIENTRY
+-# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
+-# {
+-#   __hDllInstance_base = hInst;
+-#   return TRUE;
+-# }
+-# /* ltdll.c ends here */
+-	# This is a source program that is used to create import libraries
+-	# on Windows for dlls which lack them. Don't remove nor modify the
+-	# starting and closing comments
+-# /* impgen.c starts here */
+-# /*   Copyright (C) 1999-2000 Free Software Foundation, Inc.
+-#
+-#  This file is part of GNU libtool.
+-#
+-#  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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+-#  */
+-#
+-# #include <stdio.h>		/* for printf() */
+-# #include <unistd.h>		/* for open(), lseek(), read() */
+-# #include <fcntl.h>		/* for O_RDONLY, O_BINARY */
+-# #include <string.h>		/* for strdup() */
+-#
+-# /* O_BINARY isn't required (or even defined sometimes) under Unix */
+-# #ifndef O_BINARY
+-# #define O_BINARY 0
+-# #endif
+-#
+-# static unsigned int
+-# pe_get16 (fd, offset)
+-#      int fd;
+-#      int offset;
+-# {
+-#   unsigned char b[2];
+-#   lseek (fd, offset, SEEK_SET);
+-#   read (fd, b, 2);
+-#   return b[0] + (b[1]<<8);
+-# }
+-#
+-# static unsigned int
+-# pe_get32 (fd, offset)
+-#     int fd;
+-#     int offset;
+-# {
+-#   unsigned char b[4];
+-#   lseek (fd, offset, SEEK_SET);
+-#   read (fd, b, 4);
+-#   return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
+-# }
+-#
+-# static unsigned int
+-# pe_as32 (ptr)
+-#      void *ptr;
+-# {
+-#   unsigned char *b = ptr;
+-#   return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
+-# }
+-#
+-# int
+-# main (argc, argv)
+-#     int argc;
+-#     char *argv[];
+-# {
+-#     int dll;
+-#     unsigned long pe_header_offset, opthdr_ofs, num_entries, i;
+-#     unsigned long export_rva, export_size, nsections, secptr, expptr;
+-#     unsigned long name_rvas, nexp;
+-#     unsigned char *expdata, *erva;
+-#     char *filename, *dll_name;
+-#
+-#     filename = argv[1];
+-#
+-#     dll = open(filename, O_RDONLY|O_BINARY);
+-#     if (dll < 1)
+-# 	return 1;
+-#
+-#     dll_name = filename;
+-#
+-#     for (i=0; filename[i]; i++)
+-# 	if (filename[i] == '/' || filename[i] == '\\'  || filename[i] == ':')
+-# 	    dll_name = filename + i +1;
+-#
+-#     pe_header_offset = pe_get32 (dll, 0x3c);
+-#     opthdr_ofs = pe_header_offset + 4 + 20;
+-#     num_entries = pe_get32 (dll, opthdr_ofs + 92);
+-#
+-#     if (num_entries < 1) /* no exports */
+-# 	return 1;
+-#
+-#     export_rva = pe_get32 (dll, opthdr_ofs + 96);
+-#     export_size = pe_get32 (dll, opthdr_ofs + 100);
+-#     nsections = pe_get16 (dll, pe_header_offset + 4 +2);
+-#     secptr = (pe_header_offset + 4 + 20 +
+-# 	      pe_get16 (dll, pe_header_offset + 4 + 16));
+-#
+-#     expptr = 0;
+-#     for (i = 0; i < nsections; i++)
+-#     {
+-# 	char sname[8];
+-# 	unsigned long secptr1 = secptr + 40 * i;
+-# 	unsigned long vaddr = pe_get32 (dll, secptr1 + 12);
+-# 	unsigned long vsize = pe_get32 (dll, secptr1 + 16);
+-# 	unsigned long fptr = pe_get32 (dll, secptr1 + 20);
+-# 	lseek(dll, secptr1, SEEK_SET);
+-# 	read(dll, sname, 8);
+-# 	if (vaddr <= export_rva && vaddr+vsize > export_rva)
+-# 	{
+-# 	    expptr = fptr + (export_rva - vaddr);
+-# 	    if (export_rva + export_size > vaddr + vsize)
+-# 		export_size = vsize - (export_rva - vaddr);
+-# 	    break;
+-# 	}
+-#     }
+-#
+-#     expdata = (unsigned char*)malloc(export_size);
+-#     lseek (dll, expptr, SEEK_SET);
+-#     read (dll, expdata, export_size);
+-#     erva = expdata - export_rva;
+-#
+-#     nexp = pe_as32 (expdata+24);
+-#     name_rvas = pe_as32 (expdata+32);
+-#
+-#     printf ("EXPORTS\n");
+-#     for (i = 0; i<nexp; i++)
+-#     {
+-# 	unsigned long name_rva = pe_as32 (erva+name_rvas+i*4);
+-# 	printf ("\t%s @ %ld ;\n", erva+name_rva, 1+ i);
+-#     }
+-#
+-#     return 0;
+-# }
+-# /* impgen.c ends here */
+-
+-EOF
+-    ;;
+-  esac
+-
+-  # We use sed instead of cat because bash on DJGPP gets confused if
+-  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
+-  # text mode, it properly converts lines to CR/LF.  This bash problem
+-  # is reportedly fixed, but why not run on old versions too?
+-  sed '$q' "$ltmain" >> "${ofile}T" || (rm -f "${ofile}T"; exit 1)
+-
+-  mv -f "${ofile}T" "$ofile" || \
+-    (rm -f "$ofile" && cp "${ofile}T" "$ofile" && rm -f "${ofile}T")
+-  chmod +x "$ofile"
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_krb_disable_debug=\${ac_cv_funclib_krb_disable_debug-no}"
++	LIBS="$ac_save_LIBS"
+ fi
+ 
++fi
+ 
+ 
++eval "ac_res=\$ac_cv_funclib_krb_disable_debug"
+ 
++if false; then
+ 
+-# This can be used to rebuild libtool when needed
+-LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
+-
+-# Always use our own libtool.
+-LIBTOOL='$(SHELL) $(top_builddir)/libtool'
+-
+-# Prevent multiple expansion
+-
++for ac_func in krb_disable_debug
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
+ 
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
+ 
++eval "$as_ac_var=no"
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
+ 
+-WFLAGS_NOUNUSED=""
+-WFLAGS_NOIMPLICITINT=""
+-if test -z "$WFLAGS" -a "$GCC" = "yes"; then
+-  # -Wno-implicit-int for broken X11 headers
+-  # leave these out for now:
+-  #   -Wcast-align doesn't work well on alpha osf/1
+-  #   -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast
+-  #   -Wmissing-declarations -Wnested-externs
+-  WFLAGS="-Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs"
+-  WFLAGS_NOUNUSED="-Wno-unused"
+-  WFLAGS_NOIMPLICITINT="-Wno-implicit-int"
+ fi
++done
+ 
++fi
++# krb_disable_debug
++eval "ac_tr_func=HAVE_`echo krb_disable_debug | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_krb_disable_debug=$ac_res"
+ 
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_krb_disable_debug=yes"
++	eval "LIB_krb_disable_debug="
++	cat >>confdefs.h <<_ACEOF
++#define $ac_tr_func 1
++_ACEOF
+ 
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_krb_disable_debug=no"
++	eval "LIB_krb_disable_debug="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_krb_disable_debug=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++#define $ac_tr_func 1
++_ACEOF
+ 
+-# Check whether --with-openldap or --without-openldap was given.
+-if test "${with_openldap+set}" = set; then
+-  withval="$with_openldap"
++	cat >>confdefs.h <<_ACEOF
++#define $ac_tr_lib 1
++_ACEOF
+ 
+-fi;
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
+ 
+-# Check whether --with-openldap-lib or --without-openldap-lib was given.
+-if test "${with_openldap_lib+set}" = set; then
+-  withval="$with_openldap_lib"
+-  if test "$withval" = "yes" -o "$withval" = "no"; then
+-  { { echo "$as_me:$LINENO: error: No argument for --with-openldap-lib" >&5
+-echo "$as_me: error: No argument for --with-openldap-lib" >&2;}
+-   { (exit 1); exit 1; }; }
+-elif test "X$with_openldap" = "X"; then
+-  with_openldap=yes
+-fi
+-fi;
+ 
+-# Check whether --with-openldap-include or --without-openldap-include was given.
+-if test "${with_openldap_include+set}" = set; then
+-  withval="$with_openldap_include"
+-  if test "$withval" = "yes" -o "$withval" = "no"; then
+-  { { echo "$as_me:$LINENO: error: No argument for --with-openldap-include" >&5
+-echo "$as_me: error: No argument for --with-openldap-include" >&2;}
+-   { (exit 1); exit 1; }; }
+-elif test "X$with_openldap" = "X"; then
+-  with_openldap=yes
++if test -n "$LIB_krb_disable_debug"; then
++	LIBS="$LIB_krb_disable_debug $LIBS"
+ fi
+-fi;
+ 
+-# Check whether --with-openldap-config or --without-openldap-config was given.
+-if test "${with_openldap_config+set}" = set; then
+-  withval="$with_openldap_config"
+ 
+-fi;
+ 
+ 
+ 
+-echo "$as_me:$LINENO: checking for openldap" >&5
+-echo $ECHO_N "checking for openldap... $ECHO_C" >&6
++echo "$as_me:$LINENO: checking for krb_get_our_ip_for_realm" >&5
++echo $ECHO_N "checking for krb_get_our_ip_for_realm... $ECHO_C" >&6
++if test "${ac_cv_funclib_krb_get_our_ip_for_realm+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
+ 
+-case "$with_openldap" in
+-yes|"") d='' ;;
+-no)	d= ;;
+-*)	d="$with_openldap" ;;
+-esac
++if eval "test \"\$ac_cv_func_krb_get_our_ip_for_realm\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ 
+-header_dirs=
+-lib_dirs=
+-for i in $d; do
+-	if test "$with_openldap_include" = ""; then
+-		if test -d "$i/include/openldap"; then
+-			header_dirs="$header_dirs $i/include/openldap"
+-		fi
+-		if test -d "$i/include"; then
+-			header_dirs="$header_dirs $i/include"
+-		fi
+-	fi
+-	if test "$with_openldap_lib" = ""; then
+-		if test -d "$i/lib$abilibdirext"; then
+-			lib_dirs="$lib_dirs $i/lib$abilibdirext"
+-		fi
+-	fi
+-done
++int
++main ()
++{
++krb_get_our_ip_for_realm()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_krb_get_our_ip_for_realm=$ac_lib; else ac_cv_funclib_krb_get_our_ip_for_realm=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
+ 
+-if test "$with_openldap_include"; then
+-	header_dirs="$with_openldap_include $header_dirs"
+ fi
+-if test "$with_openldap_lib"; then
+-	lib_dirs="$with_openldap_lib $lib_dirs"
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_krb_get_our_ip_for_realm=\${ac_cv_funclib_krb_get_our_ip_for_realm-no}"
++	LIBS="$ac_save_LIBS"
+ fi
+ 
+-if test "$with_openldap_config" = ""; then
+-	with_openldap_config=''
+ fi
+-
+-openldap_cflags=
+-openldap_libs=
+-
+-case "$with_openldap_config" in
+-yes|no|"")
+-	;;
+-*)
+-	openldap_cflags="`$with_openldap_config --cflags 2>&1`"
+-	openldap_libs="`$with_openldap_config --libs 2>&1`"
+-	;;
+-esac
+-
+-found=no
+-if test "$with_openldap" != no; then
+-	save_CFLAGS="$CFLAGS"
+-	save_LIBS="$LIBS"
+-	if test "$openldap_cflags" -a "$openldap_libs"; then
+-		CFLAGS="$openldap_cflags $save_CFLAGS"
+-		LIBS="$openldap_libs $save_LIBS"
+-		cat >conftest.$ac_ext <<_ACEOF
++
++
++eval "ac_res=\$ac_cv_funclib_krb_get_our_ip_for_realm"
++
++if false; then
++
++for ac_func in krb_get_our_ip_for_realm
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-#include <lber.h>
+-#include <ldap.h>
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
+ #endif
++#ifdef __cplusplus
++}
++#endif
++
+ int
+ main ()
+ {
+-
++return f != $ac_func;
+   ;
+   return 0;
+ }
+@@ -8560,77 +20616,185 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-
+-			INCLUDE_openldap="$openldap_cflags"
+-			LIB_openldap="$openldap_libs"
+-			echo "$as_me:$LINENO: result: from $with_openldap_config" >&5
+-echo "${ECHO_T}from $with_openldap_config" >&6
+-			found=yes
++  eval "$as_ac_var=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+-	fi
+-	if test "$found" = no; then
+-		ires= lres=
+-		for i in $header_dirs; do
+-			CFLAGS="-I$i $save_CFLAGS"
+-			cat >conftest.$ac_ext <<_ACEOF
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++
++fi
++done
++
++fi
++# krb_get_our_ip_for_realm
++eval "ac_tr_func=HAVE_`echo krb_get_our_ip_for_realm | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_krb_get_our_ip_for_realm=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_krb_get_our_ip_for_realm=yes"
++	eval "LIB_krb_get_our_ip_for_realm="
++	cat >>confdefs.h <<_ACEOF
++#define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_krb_get_our_ip_for_realm=no"
++	eval "LIB_krb_get_our_ip_for_realm="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_krb_get_our_ip_for_realm=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++#define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++#define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_krb_get_our_ip_for_realm"; then
++	LIBS="$LIB_krb_get_our_ip_for_realm $LIBS"
++fi
++
++
++
++
++
++echo "$as_me:$LINENO: checking for krb_kdctimeofday" >&5
++echo $ECHO_N "checking for krb_kdctimeofday... $ECHO_C" >&6
++if test "${ac_cv_funclib_krb_kdctimeofday+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++
++if eval "test \"\$ac_cv_func_krb_kdctimeofday\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-#include <lber.h>
+-#include <ldap.h>
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
+ int
+ main ()
+ {
+-
++krb_kdctimeofday()
+   ;
+   return 0;
+ }
+ _ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
++         { ac_try='test -s conftest$ac_exeext'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ires=$i;break
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_krb_kdctimeofday=$ac_lib; else ac_cv_funclib_krb_kdctimeofday=yes; fi";break
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
+-		done
+-		for i in $lib_dirs; do
+-			LIBS="-L$i -lldap -llber  $save_LIBS"
+-			cat >conftest.$ac_ext <<_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_krb_kdctimeofday=\${ac_cv_funclib_krb_kdctimeofday-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_krb_kdctimeofday"
++
++if false; then
++
++for ac_func in krb_kdctimeofday
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-#include <lber.h>
+-#include <ldap.h>
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
+ #endif
++
+ int
+ main ()
+ {
+-
++return f != $ac_func;
+   ;
+   return 0;
+ }
+@@ -8647,155 +20811,187 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  lres=$i;break
++  eval "$as_ac_var=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+-		done
+-		if test "$ires" -a "$lres" -a "$with_openldap" != "no"; then
+-			INCLUDE_openldap="-I$ires"
+-			LIB_openldap="-L$lres -lldap -llber "
+-			found=yes
+-			echo "$as_me:$LINENO: result: headers $ires, libraries $lres" >&5
+-echo "${ECHO_T}headers $ires, libraries $lres" >&6
+-		fi
+-	fi
+-	CFLAGS="$save_CFLAGS"
+-	LIBS="$save_LIBS"
+ fi
+-
+-if test "$found" = yes; then
+-
+-cat >>confdefs.h <<_ACEOF
+-#define OPENLDAP 1
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+ _ACEOF
+ 
+-	with_openldap=yes
+-else
+-	with_openldap=no
+-	INCLUDE_openldap=
+-	LIB_openldap=
+-	echo "$as_me:$LINENO: result: no" >&5
+-echo "${ECHO_T}no" >&6
+ fi
++done
+ 
++fi
++# krb_kdctimeofday
++eval "ac_tr_func=HAVE_`echo krb_kdctimeofday | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_krb_kdctimeofday=$ac_res"
+ 
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_krb_kdctimeofday=yes"
++	eval "LIB_krb_kdctimeofday="
++	cat >>confdefs.h <<_ACEOF
++#define $ac_tr_func 1
++_ACEOF
+ 
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_krb_kdctimeofday=no"
++	eval "LIB_krb_kdctimeofday="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_krb_kdctimeofday=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++#define $ac_tr_func 1
++_ACEOF
+ 
++	cat >>confdefs.h <<_ACEOF
++#define $ac_tr_lib 1
++_ACEOF
+ 
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
+ 
+ 
+-# Check whether --with-krb4 or --without-krb4 was given.
+-if test "${with_krb4+set}" = set; then
+-  withval="$with_krb4"
+-
+-fi;
+-
+-# Check whether --with-krb4-lib or --without-krb4-lib was given.
+-if test "${with_krb4_lib+set}" = set; then
+-  withval="$with_krb4_lib"
+-  if test "$withval" = "yes" -o "$withval" = "no"; then
+-  { { echo "$as_me:$LINENO: error: No argument for --with-krb4-lib" >&5
+-echo "$as_me: error: No argument for --with-krb4-lib" >&2;}
+-   { (exit 1); exit 1; }; }
+-elif test "X$with_krb4" = "X"; then
+-  with_krb4=yes
++if test -n "$LIB_krb_kdctimeofday"; then
++	LIBS="$LIB_krb_kdctimeofday $LIBS"
+ fi
+-fi;
+ 
+-# Check whether --with-krb4-include or --without-krb4-include was given.
+-if test "${with_krb4_include+set}" = set; then
+-  withval="$with_krb4_include"
+-  if test "$withval" = "yes" -o "$withval" = "no"; then
+-  { { echo "$as_me:$LINENO: error: No argument for --with-krb4-include" >&5
+-echo "$as_me: error: No argument for --with-krb4-include" >&2;}
+-   { (exit 1); exit 1; }; }
+-elif test "X$with_krb4" = "X"; then
+-  with_krb4=yes
+-fi
+-fi;
+ 
+-# Check whether --with-krb4-config or --without-krb4-config was given.
+-if test "${with_krb4_config+set}" = set; then
+-  withval="$with_krb4_config"
+ 
+-fi;
+ 
+ 
+ 
+-echo "$as_me:$LINENO: checking for krb4" >&5
+-echo $ECHO_N "checking for krb4... $ECHO_C" >&6
+ 
+-case "$with_krb4" in
+-yes|"") d='/usr/athena' ;;
+-no)	d= ;;
+-*)	d="$with_krb4" ;;
+-esac
++echo "$as_me:$LINENO: checking for krb_get_kdc_time_diff" >&5
++echo $ECHO_N "checking for krb_get_kdc_time_diff... $ECHO_C" >&6
++if test "${ac_cv_funclib_krb_get_kdc_time_diff+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
+ 
+-header_dirs=
+-lib_dirs=
+-for i in $d; do
+-	if test "$with_krb4_include" = ""; then
+-		if test -d "$i/include/krb4"; then
+-			header_dirs="$header_dirs $i/include/krb4"
+-		fi
+-		if test -d "$i/include"; then
+-			header_dirs="$header_dirs $i/include"
+-		fi
+-	fi
+-	if test "$with_krb4_lib" = ""; then
+-		if test -d "$i/lib$abilibdirext"; then
+-			lib_dirs="$lib_dirs $i/lib$abilibdirext"
+-		fi
+-	fi
+-done
++if eval "test \"\$ac_cv_func_krb_get_kdc_time_diff\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++krb_get_kdc_time_diff()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_krb_get_kdc_time_diff=$ac_lib; else ac_cv_funclib_krb_get_kdc_time_diff=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
+ 
+-if test "$with_krb4_include"; then
+-	header_dirs="$with_krb4_include $header_dirs"
+ fi
+-if test "$with_krb4_lib"; then
+-	lib_dirs="$with_krb4_lib $lib_dirs"
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_krb_get_kdc_time_diff=\${ac_cv_funclib_krb_get_kdc_time_diff-no}"
++	LIBS="$ac_save_LIBS"
+ fi
+ 
+-if test "$with_krb4_config" = ""; then
+-	with_krb4_config='krb4-config'
+ fi
+ 
+-krb4_cflags=
+-krb4_libs=
+ 
+-case "$with_krb4_config" in
+-yes|no|"")
+-	;;
+-*)
+-	krb4_cflags="`$with_krb4_config --cflags 2>&1`"
+-	krb4_libs="`$with_krb4_config --libs 2>&1`"
+-	;;
+-esac
++eval "ac_res=\$ac_cv_funclib_krb_get_kdc_time_diff"
+ 
+-found=no
+-if test "$with_krb4" != no; then
+-	save_CFLAGS="$CFLAGS"
+-	save_LIBS="$LIBS"
+-	if test "$krb4_cflags" -a "$krb4_libs"; then
+-		CFLAGS="$krb4_cflags $save_CFLAGS"
+-		LIBS="$krb4_libs $save_LIBS"
+-		cat >conftest.$ac_ext <<_ACEOF
++if false; then
++
++for ac_func in krb_get_kdc_time_diff
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-#include <krb.h>
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
+ #endif
++#ifdef __cplusplus
++}
++#endif
++
+ int
+ main ()
+ {
+-
++return f != $ac_func;
+   ;
+   return 0;
+ }
+@@ -8812,36 +21008,90 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-
+-			INCLUDE_krb4="$krb4_cflags"
+-			LIB_krb4="$krb4_libs"
+-			echo "$as_me:$LINENO: result: from $with_krb4_config" >&5
+-echo "${ECHO_T}from $with_krb4_config" >&6
+-			found=yes
++  eval "$as_ac_var=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+-	fi
+-	if test "$found" = no; then
+-		ires= lres=
+-		for i in $header_dirs; do
+-			CFLAGS="-I$i $save_CFLAGS"
+-			cat >conftest.$ac_ext <<_ACEOF
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++
++fi
++done
++
++fi
++# krb_get_kdc_time_diff
++eval "ac_tr_func=HAVE_`echo krb_get_kdc_time_diff | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_krb_get_kdc_time_diff=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_krb_get_kdc_time_diff=yes"
++	eval "LIB_krb_get_kdc_time_diff="
++	cat >>confdefs.h <<_ACEOF
++#define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_krb_get_kdc_time_diff=no"
++	eval "LIB_krb_get_kdc_time_diff="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_krb_get_kdc_time_diff=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++#define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++#define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_krb_get_kdc_time_diff"; then
++	LIBS="$LIB_krb_get_kdc_time_diff $LIBS"
++fi
++
++
++
++	echo "$as_me:$LINENO: checking for KRB_SENDAUTH_VERS" >&5
++echo $ECHO_N "checking for KRB_SENDAUTH_VERS... $ECHO_C" >&6
++if test "${ac_cv_func_krb_sendauth_vers+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ #include <krb.h>
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
++			#include <prot.h>
+ int
+ main ()
+ {
+ 
++		char *x = KRB_SENDAUTH_VERS
+   ;
+   return 0;
+ }
+@@ -8858,25 +21108,41 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ires=$i;break
++  ac_cv_func_krb_sendauth_vers=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_krb_sendauth_vers=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+-		done
+-		for i in $lib_dirs; do
+-			LIBS="-L$i -lkrb -ldes $save_LIBS"
+-			cat >conftest.$ac_ext <<_ACEOF
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_krb_sendauth_vers" >&5
++echo "${ECHO_T}$ac_cv_func_krb_sendauth_vers" >&6
++	if test "$ac_cv_func_krb_sendauth_vers" != yes; then
++
++cat >>confdefs.h <<\_ACEOF
++#define KRB_SENDAUTH_VERS "AUTHV0.1"
++_ACEOF
++
++	fi
++	echo "$as_me:$LINENO: checking for krb_mk_req with const arguments" >&5
++echo $ECHO_N "checking for krb_mk_req with const arguments... $ECHO_C" >&6
++if test "${ac_cv_func_krb_mk_req_const+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ #include <krb.h>
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
++		int krb_mk_req(KTEXT a, const char *s, const char *i,
++			       const char *r, int32_t checksum)
++		{ return 17; }
+ int
+ main ()
+ {
+@@ -8885,269 +21151,500 @@
+   return 0;
+ }
+ _ACEOF
+-rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
++         { ac_try='test -s conftest.$ac_objext'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  lres=$i;break
++  ac_cv_func_krb_mk_req_const=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_krb_mk_req_const=no
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+-		done
+-		if test "$ires" -a "$lres" -a "$with_krb4" != "no"; then
+-			INCLUDE_krb4="-I$ires"
+-			LIB_krb4="-L$lres -lkrb -ldes"
+-			found=yes
+-			echo "$as_me:$LINENO: result: headers $ires, libraries $lres" >&5
+-echo "${ECHO_T}headers $ires, libraries $lres" >&6
+-		fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_krb_mk_req_const" >&5
++echo "${ECHO_T}$ac_cv_func_krb_mk_req_const" >&6
++	if test "$ac_cv_func_krb_mk_req_const" = "yes"; then
++
++cat >>confdefs.h <<\_ACEOF
++#define KRB_MK_REQ_CONST 1
++_ACEOF
++
+ 	fi
+-	CFLAGS="$save_CFLAGS"
++
+ 	LIBS="$save_LIBS"
++	CFLAGS="$save_CFLAGS"
++	LIB_kdb="-lkdb -lkrb"
+ fi
+ 
+-if test "$found" = yes; then
+ 
+-cat >>confdefs.h <<_ACEOF
+-#define KRB4 1
+-_ACEOF
++if test "$with_krb4" != "no"; then
++  KRB4_TRUE=
++  KRB4_FALSE='#'
++else
++  KRB4_TRUE='#'
++  KRB4_FALSE=
++fi
+ 
+-	with_krb4=yes
++
++
++if true; then
++  KRB5_TRUE=
++  KRB5_FALSE='#'
+ else
+-	with_krb4=no
+-	INCLUDE_krb4=
+-	LIB_krb4=
+-	echo "$as_me:$LINENO: result: no" >&5
+-echo "${ECHO_T}no" >&6
++  KRB5_TRUE='#'
++  KRB5_FALSE=
+ fi
+ 
+ 
+ 
++if true; then
++  do_roken_rename_TRUE=
++  do_roken_rename_FALSE='#'
++else
++  do_roken_rename_TRUE='#'
++  do_roken_rename_FALSE=
++fi
+ 
+ 
+-LIB_kdb=
+-if test "$with_krb4" != "no"; then
+-	save_CFLAGS="$CFLAGS"
+-	CFLAGS="$CFLAGS $INCLUDE_krb4"
++
++cat >>confdefs.h <<\_ACEOF
++#define KRB5 1
++_ACEOF
++
++
++crypto_lib=unknown
++
++
++# Check whether --with-openssl or --without-openssl was given.
++if test "${with_openssl+set}" = set; then
++  withval="$with_openssl"
++
++fi;
++
++
++# Check whether --with-openssl-lib or --without-openssl-lib was given.
++if test "${with_openssl_lib+set}" = set; then
++  withval="$with_openssl_lib"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-openssl-lib" >&5
++echo "$as_me: error: No argument for --with-openssl-lib" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_openssl" = "X"; then
++  with_openssl=yes
++fi
++fi;
++
++
++# Check whether --with-openssl-include or --without-openssl-include was given.
++if test "${with_openssl_include+set}" = set; then
++  withval="$with_openssl_include"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-openssl-include" >&5
++echo "$as_me: error: No argument for --with-openssl-include" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_openssl" = "X"; then
++  with_openssl=yes
++fi
++fi;
++
++case "$with_openssl" in
++yes)	;;
++no)	;;
++"")	;;
++*)	if test "$with_openssl_include" = ""; then
++		with_openssl_include="$with_openssl/include"
++	fi
++	if test "$with_openssl_lib" = ""; then
++		with_openssl_lib="$with_openssl/lib$abilibdirext"
++	fi
++	;;
++esac
++
++
++DIR_des=
++
++echo "$as_me:$LINENO: checking for crypto library" >&5
++echo $ECHO_N "checking for crypto library... $ECHO_C" >&6
++
++openssl=no
++old_hash=no
++
++if test "$crypto_lib" = "unknown" -a "$with_krb4" != "no"; then
++	save_CPPFLAGS="$CPPFLAGS"
+ 	save_LIBS="$LIBS"
+-	LIBS="$LIB_krb4 $LIBS"
+-	EXTRA_LIB45=lib45.a
+ 
+-	echo "$as_me:$LINENO: checking for four valued krb_put_int" >&5
+-echo $ECHO_N "checking for four valued krb_put_int... $ECHO_C" >&6
+-if test "${ac_cv_func_krb_put_int_four+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  cat >conftest.$ac_ext <<_ACEOF
++	cdirs= clibs=
++	for i in $LIB_krb4; do
++		case "$i" in
++		-L*) cdirs="$cdirs $i";;
++		-l*) clibs="$clibs $i";;
++		esac
++	done
++
++	ires=
++	for i in $INCLUDE_krb4; do
++		CFLAGS="-DHAVE_OPENSSL $i $save_CFLAGS"
++		for j in $cdirs; do
++			for k in $clibs; do
++				LIBS="$j $k $save_LIBS"
++				cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-#include <krb.h>
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++		#undef KRB5 /* makes md4.h et al unhappy */
++		#ifdef HAVE_OPENSSL
++		#include <openssl/md4.h>
++		#include <openssl/md5.h>
++		#include <openssl/sha.h>
++		#define OPENSSL_DES_LIBDES_COMPATIBILITY
++		#include <openssl/des.h>
++		#include <openssl/rc4.h>
++		#include <openssl/rand.h>
++		#else
++		#include <md4.h>
++		#include <md5.h>
++		#include <sha.h>
++		#include <des.h>
++		#include <rc4.h>
++		#endif
++		#ifdef OLD_HASH_NAMES
++		typedef struct md4 MD4_CTX;
++		#define MD4_Init(C) md4_init((C))
++		#define MD4_Update(C, D, L) md4_update((C), (D), (L))
++		#define MD4_Final(D, C) md4_finito((C), (D))
++		typedef struct md5 MD5_CTX;
++		#define MD5_Init(C) md5_init((C))
++		#define MD5_Update(C, D, L) md5_update((C), (D), (L))
++		#define MD5_Final(D, C) md5_finito((C), (D))
++		typedef struct sha SHA_CTX;
++		#define SHA1_Init(C) sha_init((C))
++		#define SHA1_Update(C, D, L) sha_update((C), (D), (L))
++		#define SHA1_Final(D, C) sha_finito((C), (D))
++		#endif
++
+ int
+ main ()
+ {
+ 
+-		char tmp[4];
+-		krb_put_int(17, tmp, 4, sizeof(tmp));
++		void *schedule = 0;
++		MD4_CTX md4;
++		MD5_CTX md5;
++		SHA_CTX sha1;
++
++		MD4_Init(&md4);
++		MD5_Init(&md5);
++		SHA1_Init(&sha1);
++		#ifdef HAVE_OPENSSL
++		RAND_status();
++		#endif
++
++		des_cbc_encrypt(0, 0, 0, schedule, 0, 0);
++		RC4(0, 0, 0, 0);
+   ;
+   return 0;
+ }
+ _ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
++         { ac_try='test -s conftest$ac_exeext'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_func_krb_put_int_four=yes
++  openssl=yes ires="$i" lres="$j $k"; break 3
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_krb_put_int_four=no
+-fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
++sed 's/^/| /' conftest.$ac_ext >&5
+ 
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_krb_put_int_four" >&5
+-echo "${ECHO_T}$ac_cv_func_krb_put_int_four" >&6
+-	if test "$ac_cv_func_krb_put_int_four" = yes; then
+-
+-cat >>confdefs.h <<\_ACEOF
+-#define HAVE_FOUR_VALUED_KRB_PUT_INT 1
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++			done
++		done
++		CFLAGS="$i $save_CFLAGS"
++		for j in $cdirs; do
++			for k in $clibs; do
++				LIBS="$j $k $save_LIBS"
++				cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
+ _ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ 
+-	fi
+-
++		#undef KRB5 /* makes md4.h et al unhappy */
++		#ifdef HAVE_OPENSSL
++		#include <openssl/md4.h>
++		#include <openssl/md5.h>
++		#include <openssl/sha.h>
++		#define OPENSSL_DES_LIBDES_COMPATIBILITY
++		#include <openssl/des.h>
++		#include <openssl/rc4.h>
++		#include <openssl/rand.h>
++		#else
++		#include <md4.h>
++		#include <md5.h>
++		#include <sha.h>
++		#include <des.h>
++		#include <rc4.h>
++		#endif
++		#ifdef OLD_HASH_NAMES
++		typedef struct md4 MD4_CTX;
++		#define MD4_Init(C) md4_init((C))
++		#define MD4_Update(C, D, L) md4_update((C), (D), (L))
++		#define MD4_Final(D, C) md4_finito((C), (D))
++		typedef struct md5 MD5_CTX;
++		#define MD5_Init(C) md5_init((C))
++		#define MD5_Update(C, D, L) md5_update((C), (D), (L))
++		#define MD5_Final(D, C) md5_finito((C), (D))
++		typedef struct sha SHA_CTX;
++		#define SHA1_Init(C) sha_init((C))
++		#define SHA1_Update(C, D, L) sha_update((C), (D), (L))
++		#define SHA1_Final(D, C) sha_finito((C), (D))
++		#endif
+ 
+-	echo "$as_me:$LINENO: checking for KRB_VERIFY_SECURE" >&5
+-echo $ECHO_N "checking for KRB_VERIFY_SECURE... $ECHO_C" >&6
+-if test "${ac_cv_func_krb_verify_secure+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  cat >conftest.$ac_ext <<_ACEOF
+-#line $LINENO "configure"
+-#include "confdefs.h"
+-#include <krb.h>
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+ 
+-		int x = KRB_VERIFY_SECURE
++		void *schedule = 0;
++		MD4_CTX md4;
++		MD5_CTX md5;
++		SHA_CTX sha1;
++
++		MD4_Init(&md4);
++		MD5_Init(&md5);
++		SHA1_Init(&sha1);
++		#ifdef HAVE_OPENSSL
++		RAND_status();
++		#endif
++
++		des_cbc_encrypt(0, 0, 0, schedule, 0, 0);
++		RC4(0, 0, 0, 0);
+   ;
+   return 0;
+ }
+ _ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
++         { ac_try='test -s conftest$ac_exeext'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_func_krb_verify_secure=yes
++  openssl=no ires="$i" lres="$j $k"; break 3
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_krb_verify_secure=no
+-fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
++sed 's/^/| /' conftest.$ac_ext >&5
+ 
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_krb_verify_secure" >&5
+-echo "${ECHO_T}$ac_cv_func_krb_verify_secure" >&6
+-	if test "$ac_cv_func_krb_verify_secure" != yes; then
+-
+-cat >>confdefs.h <<\_ACEOF
+-#define KRB_VERIFY_SECURE 1
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++			done
++		done
++		CFLAGS="-DHAVE_OLD_HASH_NAMES $i $save_CFLAGS"
++		for j in $cdirs; do
++			for k in $clibs; do
++				LIBS="$j $k $save_LIBS"
++				cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
+ _ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ 
++		#undef KRB5 /* makes md4.h et al unhappy */
++		#ifdef HAVE_OPENSSL
++		#include <openssl/md4.h>
++		#include <openssl/md5.h>
++		#include <openssl/sha.h>
++		#define OPENSSL_DES_LIBDES_COMPATIBILITY
++		#include <openssl/des.h>
++		#include <openssl/rc4.h>
++		#include <openssl/rand.h>
++		#else
++		#include <md4.h>
++		#include <md5.h>
++		#include <sha.h>
++		#include <des.h>
++		#include <rc4.h>
++		#endif
++		#ifdef OLD_HASH_NAMES
++		typedef struct md4 MD4_CTX;
++		#define MD4_Init(C) md4_init((C))
++		#define MD4_Update(C, D, L) md4_update((C), (D), (L))
++		#define MD4_Final(D, C) md4_finito((C), (D))
++		typedef struct md5 MD5_CTX;
++		#define MD5_Init(C) md5_init((C))
++		#define MD5_Update(C, D, L) md5_update((C), (D), (L))
++		#define MD5_Final(D, C) md5_finito((C), (D))
++		typedef struct sha SHA_CTX;
++		#define SHA1_Init(C) sha_init((C))
++		#define SHA1_Update(C, D, L) sha_update((C), (D), (L))
++		#define SHA1_Final(D, C) sha_finito((C), (D))
++		#endif
+ 
+-cat >>confdefs.h <<\_ACEOF
+-#define KRB_VERIFY_SECURE_FAIL 2
+-_ACEOF
+-
+-	fi
+-	echo "$as_me:$LINENO: checking for KRB_VERIFY_NOT_SECURE" >&5
+-echo $ECHO_N "checking for KRB_VERIFY_NOT_SECURE... $ECHO_C" >&6
+-if test "${ac_cv_func_krb_verify_not_secure+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  cat >conftest.$ac_ext <<_ACEOF
+-#line $LINENO "configure"
+-#include "confdefs.h"
+-#include <krb.h>
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+ 
+-		int x = KRB_VERIFY_NOT_SECURE
++		void *schedule = 0;
++		MD4_CTX md4;
++		MD5_CTX md5;
++		SHA_CTX sha1;
++
++		MD4_Init(&md4);
++		MD5_Init(&md5);
++		SHA1_Init(&sha1);
++		#ifdef HAVE_OPENSSL
++		RAND_status();
++		#endif
++
++		des_cbc_encrypt(0, 0, 0, schedule, 0, 0);
++		RC4(0, 0, 0, 0);
+   ;
+   return 0;
+ }
+ _ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
++         { ac_try='test -s conftest$ac_exeext'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_func_krb_verify_not_secure=yes
++  openssl=no ires="$i" lres="$j $k"; break 3
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_krb_verify_not_secure=no
+-fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
++sed 's/^/| /' conftest.$ac_ext >&5
+ 
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_krb_verify_not_secure" >&5
+-echo "${ECHO_T}$ac_cv_func_krb_verify_not_secure" >&6
+-	if test "$ac_cv_func_krb_verify_not_secure" != yes; then
+-
+-cat >>confdefs.h <<\_ACEOF
+-#define KRB_VERIFY_NOT_SECURE 0
+-_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++			done
++		done
++	done
+ 
++	CFLAGS="$save_CFLAGS"
++	LIBS="$save_LIBS"
++	if test "$ires" -a "$lres"; then
++		INCLUDE_des="$ires"
++		LIB_des="$lres"
++		crypto_lib=krb4
++		echo "$as_me:$LINENO: result: same as krb4" >&5
++echo "${ECHO_T}same as krb4" >&6
++		LIB_des_a='$(LIB_des)'
++		LIB_des_so='$(LIB_des)'
++		LIB_des_appl='$(LIB_des)'
+ 	fi
++fi
+ 
+-
+-
+-
+-echo "$as_me:$LINENO: checking for krb_enable_debug" >&5
+-echo $ECHO_N "checking for krb_enable_debug... $ECHO_C" >&6
+-if test "${ac_cv_funclib_krb_enable_debug+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-
+-if eval "test \"\$ac_cv_func_krb_enable_debug\" != yes" ; then
+-	ac_save_LIBS="$LIBS"
+-	for ac_lib in "" ; do
+-		case "$ac_lib" in
+-		"") ;;
+-		yes) ac_lib="" ;;
+-		no) continue ;;
+-		-l*) ;;
+-		*) ac_lib="-l$ac_lib" ;;
+-		esac
+-		LIBS=" $ac_lib  $ac_save_LIBS"
++if test "$crypto_lib" = "unknown" -a "$with_openssl" != "no"; then
++	save_CFLAGS="$CFLAGS"
++	save_LIBS="$LIBS"
++	INCLUDE_des=
++	LIB_des=
++	if test "$with_openssl_include" != ""; then
++		INCLUDE_des="-I${with_openssl_include}"
++	fi
++	if test "$with_openssl_lib" != ""; then
++		LIB_des="-L${with_openssl_lib}"
++	fi
++	CFLAGS="-DHAVE_OPENSSL ${INCLUDE_des} ${CFLAGS}"
++	saved_LIB_des="$LIB_des"
++	for lres in "" "-lnsl -lsocket"; do
++		LIB_des="${saved_LIB_des} -lcrypto $lres"
++		LIB_des_a="$LIB_des"
++		LIB_des_so="$LIB_des"
++		LIB_des_appl="$LIB_des"
++		LIBS="${LIBS} ${LIB_des}"
+ 		cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++		#undef KRB5 /* makes md4.h et al unhappy */
++		#ifdef HAVE_OPENSSL
++		#include <openssl/md4.h>
++		#include <openssl/md5.h>
++		#include <openssl/sha.h>
++		#define OPENSSL_DES_LIBDES_COMPATIBILITY
++		#include <openssl/des.h>
++		#include <openssl/rc4.h>
++		#include <openssl/rand.h>
++		#else
++		#include <md4.h>
++		#include <md5.h>
++		#include <sha.h>
++		#include <des.h>
++		#include <rc4.h>
++		#endif
++		#ifdef OLD_HASH_NAMES
++		typedef struct md4 MD4_CTX;
++		#define MD4_Init(C) md4_init((C))
++		#define MD4_Update(C, D, L) md4_update((C), (D), (L))
++		#define MD4_Final(D, C) md4_finito((C), (D))
++		typedef struct md5 MD5_CTX;
++		#define MD5_Init(C) md5_init((C))
++		#define MD5_Update(C, D, L) md5_update((C), (D), (L))
++		#define MD5_Final(D, C) md5_finito((C), (D))
++		typedef struct sha SHA_CTX;
++		#define SHA1_Init(C) sha_init((C))
++		#define SHA1_Update(C, D, L) sha_update((C), (D), (L))
++		#define SHA1_Final(D, C) sha_finito((C), (D))
++		#endif
+ 
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+-krb_enable_debug()
++
++		void *schedule = 0;
++		MD4_CTX md4;
++		MD5_CTX md5;
++		SHA_CTX sha1;
++
++		MD4_Init(&md4);
++		MD5_Init(&md5);
++		SHA1_Init(&sha1);
++		#ifdef HAVE_OPENSSL
++		RAND_status();
++		#endif
++
++		des_cbc_encrypt(0, 0, 0, schedule, 0, 0);
++		RC4(0, 0, 0, 0);
+   ;
+   return 0;
+ }
+@@ -9164,344 +21661,294 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "if test -n \"$ac_lib\";then ac_cv_funclib_krb_enable_debug=$ac_lib; else ac_cv_funclib_krb_enable_debug=yes; fi";break
++
++			crypto_lib=libcrypto openssl=yes
++			echo "$as_me:$LINENO: result: libcrypto" >&5
++echo "${ECHO_T}libcrypto" >&6
++
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++		if test "$crypto_lib" = libcrypto ; then
++			break;
++		fi
+ 	done
+-	eval "ac_cv_funclib_krb_enable_debug=\${ac_cv_funclib_krb_enable_debug-no}"
+-	LIBS="$ac_save_LIBS"
++	CFLAGS="$save_CFLAGS"
++	LIBS="$save_LIBS"
+ fi
+ 
+-fi
++if test "$crypto_lib" = "unknown"; then
+ 
++  DIR_des='des'
++  LIB_des='$(top_builddir)/lib/des/libdes.la'
++  LIB_des_a='$(top_builddir)/lib/des/.libs/libdes.a'
++  LIB_des_so='$(top_builddir)/lib/des/.libs/libdes.so'
++  LIB_des_appl="-ldes"
+ 
+-eval "ac_res=\$ac_cv_funclib_krb_enable_debug"
++  echo "$as_me:$LINENO: result: included libdes" >&5
++echo "${ECHO_T}included libdes" >&6
+ 
+-if false; then
++fi
+ 
+-for ac_func in krb_enable_debug
+-do
+-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:$LINENO: checking for $ac_func" >&5
+-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+-if eval "test \"\${$as_ac_var+set}\" = set"; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  cat >conftest.$ac_ext <<_ACEOF
+-#line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char $ac_func (); below.  */
+-#include <assert.h>
+-/* Override any gcc2 internal prototype to avoid an error.  */
+-#ifdef __cplusplus
+-extern "C"
+-#endif
+-/* We use char because int might match the return type of a gcc2
+-   builtin and then its argument prototype would still apply.  */
+-char $ac_func ();
+-char (*f) ();
++if test "$with_krb4" != no -a "$crypto_lib" != krb4; then
++	{ { echo "$as_me:$LINENO: error: the crypto library used by krb4 lacks features
++required by Kerberos 5; to continue, you need to install a newer
++Kerberos 4 or configure --without-krb4" >&5
++echo "$as_me: error: the crypto library used by krb4 lacks features
++required by Kerberos 5; to continue, you need to install a newer
++Kerberos 4 or configure --without-krb4" >&2;}
++   { (exit 1); exit 1; }; }
++fi
+ 
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
+-/* The GNU C library defines this for functions which it implements
+-    to always fail with ENOSYS.  Some functions are actually named
+-    something starting with __ and the normal name is an alias.  */
+-#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
+-choke me
+-#else
+-f = $ac_func;
+-#endif
++if test "$openssl" = "yes"; then
+ 
+-  ;
+-  return 0;
+-}
++cat >>confdefs.h <<\_ACEOF
++#define HAVE_OPENSSL 1
+ _ACEOF
+-rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
+-  eval "$as_ac_var=yes"
+-else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$as_ac_var=no"
+-fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++
+ fi
+-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
+-echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+-if test `eval echo '${'$as_ac_var'}'` = yes; then
+-  cat >>confdefs.h <<_ACEOF
+-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++if test "$old_hash" = yes; then
++
++cat >>confdefs.h <<\_ACEOF
++#define HAVE_OLD_HASH_NAMES 1
+ _ACEOF
+ 
+ fi
+-done
+ 
++
++if test "$openssl" = yes; then
++  HAVE_OPENSSL_TRUE=
++  HAVE_OPENSSL_FALSE='#'
++else
++  HAVE_OPENSSL_TRUE='#'
++  HAVE_OPENSSL_FALSE=
+ fi
+-# krb_enable_debug
+-eval "ac_tr_func=HAVE_`echo krb_enable_debug | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
+-eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
+-eval "LIB_krb_enable_debug=$ac_res"
+ 
+-case "$ac_res" in
+-	yes)
+-	eval "ac_cv_func_krb_enable_debug=yes"
+-	eval "LIB_krb_enable_debug="
+-	cat >>confdefs.h <<_ACEOF
+-#define $ac_tr_func 1
+-_ACEOF
+ 
+-	echo "$as_me:$LINENO: result: yes" >&5
+-echo "${ECHO_T}yes" >&6
+-	;;
+-	no)
+-	eval "ac_cv_func_krb_enable_debug=no"
+-	eval "LIB_krb_enable_debug="
+-	echo "$as_me:$LINENO: result: no" >&5
+-echo "${ECHO_T}no" >&6
+-	;;
+-	*)
+-	eval "ac_cv_func_krb_enable_debug=yes"
+-	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
+-	cat >>confdefs.h <<_ACEOF
+-#define $ac_tr_func 1
+-_ACEOF
+ 
+-	cat >>confdefs.h <<_ACEOF
+-#define $ac_tr_lib 1
+-_ACEOF
+ 
+-	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
+-echo "${ECHO_T}yes, in $ac_res" >&6
+-	;;
+-esac
+ 
+ 
+-if test -n "$LIB_krb_enable_debug"; then
+-	LIBS="$LIB_krb_enable_debug $LIBS"
+-fi
+ 
+ 
+ 
++# Check whether --enable-dce or --disable-dce was given.
++if test "${enable_dce+set}" = set; then
++  enableval="$enable_dce"
+ 
++fi;
++if test "$enable_dce" = yes; then
+ 
+-echo "$as_me:$LINENO: checking for krb_disable_debug" >&5
+-echo $ECHO_N "checking for krb_disable_debug... $ECHO_C" >&6
+-if test "${ac_cv_funclib_krb_disable_debug+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
++cat >>confdefs.h <<\_ACEOF
++#define DCE 1
++_ACEOF
+ 
+-if eval "test \"\$ac_cv_func_krb_disable_debug\" != yes" ; then
+-	ac_save_LIBS="$LIBS"
+-	for ac_lib in "" ; do
+-		case "$ac_lib" in
+-		"") ;;
+-		yes) ac_lib="" ;;
+-		no) continue ;;
+-		-l*) ;;
+-		*) ac_lib="-l$ac_lib" ;;
+-		esac
+-		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<_ACEOF
+-#line $LINENO "configure"
+-#include "confdefs.h"
++fi
+ 
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
+-krb_disable_debug()
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
+-  eval "if test -n \"$ac_lib\";then ac_cv_funclib_krb_disable_debug=$ac_lib; else ac_cv_funclib_krb_disable_debug=yes; fi";break
++
++if test "$enable_dce" = yes; then
++  DCE_TRUE=
++  DCE_FALSE='#'
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+-	done
+-	eval "ac_cv_funclib_krb_disable_debug=\${ac_cv_funclib_krb_disable_debug-no}"
+-	LIBS="$ac_save_LIBS"
++  DCE_TRUE='#'
++  DCE_FALSE=
+ fi
+ 
++
++## XXX quite horrible:
++if test -f /etc/ibmcxx.cfg; then
++	dpagaix_ldadd=`sed -n '/^xlc_r4/,/^$/p' /etc/ibmcxx.cfg | sed -n -e '/libraries/{;s/^[^=]*=\(.*\)/\1/;s/,/ /gp;}'`
++	dpagaix_cflags=`sed -n '/^xlc_r4/,/^$/p' /etc/ibmcxx.cfg | sed -n -e '/options/{;s/^[^=]*=\(.*\)/\1/;s/-q^,*//;s/,/ /gp;}'`
++	dpagaix_ldflags=
++else
++	dpagaix_cflags="-D_THREAD_SAFE -D_AIX_PTHREADS_D7 -D_AIX32_THREADS=1 -D_AES_SOURCE -D_AIX41 -I/usr/include/dce"
++	dpagaix_ldadd="-L/usr/lib/threads -ldcelibc_r -ldcepthreads -lpthreads_compat lpthreads -lc_r"
++	dpagaix_ldflags="-Wl,-bI:dfspag.exp"
+ fi
+ 
+ 
+-eval "ac_res=\$ac_cv_funclib_krb_disable_debug"
+ 
+-if false; then
+ 
+-for ac_func in krb_disable_debug
++
++# Check whether --enable-berkeley-db or --disable-berkeley-db was given.
++if test "${enable_berkeley_db+set}" = set; then
++  enableval="$enable_berkeley_db"
++
++
++fi;
++
++have_ndbm=no
++db_type=unknown
++
++if test "$enable_berkeley_db" != no; then
++
++
++
++
++
++for ac_header in 				\
++	db4/db.h				\
++	db3/db.h				\
++	db.h					\
++	db_185.h				\
++
+ do
+-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:$LINENO: checking for $ac_func" >&5
+-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+-if eval "test \"\${$as_ac_var+set}\" = set"; then
++as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
+ else
+-  cat >conftest.$ac_ext <<_ACEOF
++  # Is the header compilable?
++echo "$as_me:$LINENO: checking $ac_header usability" >&5
++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char $ac_func (); below.  */
+-#include <assert.h>
+-/* Override any gcc2 internal prototype to avoid an error.  */
+-#ifdef __cplusplus
+-extern "C"
+-#endif
+-/* We use char because int might match the return type of a gcc2
+-   builtin and then its argument prototype would still apply.  */
+-char $ac_func ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
+-/* The GNU C library defines this for functions which it implements
+-    to always fail with ENOSYS.  Some functions are actually named
+-    something starting with __ and the normal name is an alias.  */
+-#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
+-choke me
+-#else
+-f = $ac_func;
+-#endif
+-
+-  ;
+-  return 0;
+-}
++/* confdefs.h.  */
+ _ACEOF
+-rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++#include <$ac_header>
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
++         { ac_try='test -s conftest.$ac_objext'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "$as_ac_var=yes"
++  ac_header_compiler=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$as_ac_var=no"
+-fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+-fi
+-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
+-echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+-if test `eval echo '${'$as_ac_var'}'` = yes; then
+-  cat >>confdefs.h <<_ACEOF
+-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+-_ACEOF
+-
+-fi
+-done
++sed 's/^/| /' conftest.$ac_ext >&5
+ 
++ac_header_compiler=no
+ fi
+-# krb_disable_debug
+-eval "ac_tr_func=HAVE_`echo krb_disable_debug | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
+-eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
+-eval "LIB_krb_disable_debug=$ac_res"
++rm -f conftest.$ac_objext conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
++echo "${ECHO_T}$ac_header_compiler" >&6
+ 
+-case "$ac_res" in
+-	yes)
+-	eval "ac_cv_func_krb_disable_debug=yes"
+-	eval "LIB_krb_disable_debug="
+-	cat >>confdefs.h <<_ACEOF
+-#define $ac_tr_func 1
++# Is the header present?
++echo "$as_me:$LINENO: checking $ac_header presence" >&5
++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
+ _ACEOF
+-
+-	echo "$as_me:$LINENO: result: yes" >&5
+-echo "${ECHO_T}yes" >&6
+-	;;
+-	no)
+-	eval "ac_cv_func_krb_disable_debug=no"
+-	eval "LIB_krb_disable_debug="
+-	echo "$as_me:$LINENO: result: no" >&5
+-echo "${ECHO_T}no" >&6
+-	;;
+-	*)
+-	eval "ac_cv_func_krb_disable_debug=yes"
+-	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
+-	cat >>confdefs.h <<_ACEOF
+-#define $ac_tr_func 1
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <$ac_header>
+ _ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  ac_header_preproc=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
+ 
+-	cat >>confdefs.h <<_ACEOF
+-#define $ac_tr_lib 1
+-_ACEOF
++  ac_header_preproc=no
++fi
++rm -f conftest.err conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
++echo "${ECHO_T}$ac_header_preproc" >&6
+ 
+-	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
+-echo "${ECHO_T}yes, in $ac_res" >&6
+-	;;
++# So?  What about this header?
++case $ac_header_compiler:$ac_header_preproc in
++  yes:no )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
++echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
++    (
++      cat <<\_ASBOX
++## ------------------------------------ ##
++## Report this to bug-autoconf@gnu.org. ##
++## ------------------------------------ ##
++_ASBOX
++    ) |
++      sed "s/^/$as_me: WARNING:     /" >&2
++    ;;
++  no:yes )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
++echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
++echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
++    (
++      cat <<\_ASBOX
++## ------------------------------------ ##
++## Report this to bug-autoconf@gnu.org. ##
++## ------------------------------------ ##
++_ASBOX
++    ) |
++      sed "s/^/$as_me: WARNING:     /" >&2
++    ;;
+ esac
++echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  eval "$as_ac_Header=$ac_header_preproc"
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
+ 
++fi
++if test `eval echo '${'$as_ac_Header'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
++_ACEOF
+ 
+-if test -n "$LIB_krb_disable_debug"; then
+-	LIBS="$LIB_krb_disable_debug $LIBS"
+ fi
+ 
++done
+ 
+ 
+ 
+ 
+-echo "$as_me:$LINENO: checking for krb_get_our_ip_for_realm" >&5
+-echo $ECHO_N "checking for krb_get_our_ip_for_realm... $ECHO_C" >&6
+-if test "${ac_cv_funclib_krb_get_our_ip_for_realm+set}" = set; then
++
++
++echo "$as_me:$LINENO: checking for db_create" >&5
++echo $ECHO_N "checking for db_create... $ECHO_C" >&6
++if test "${ac_cv_funclib_db_create+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-if eval "test \"\$ac_cv_func_krb_get_our_ip_for_realm\" != yes" ; then
++if eval "test \"\$ac_cv_func_db_create\" != yes" ; then
+ 	ac_save_LIBS="$LIBS"
+-	for ac_lib in "" ; do
++	for ac_lib in "" db4 db3 db; do
+ 		case "$ac_lib" in
+ 		"") ;;
+ 		yes) ac_lib="" ;;
+@@ -9512,18 +21959,25 @@
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++  #include <stdio.h>
++  #ifdef HAVE_DB4_DB_H
++  #include <db4/db.h>
++  #elif defined(HAVE_DB3_DB_H)
++  #include <db3/db.h>
++  #else
++  #include <db.h>
++  #endif
+ 
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+-krb_get_our_ip_for_realm()
++db_create(NULL, NULL, 0)
+   ;
+   return 0;
+ }
+@@ -9540,25 +21994,26 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "if test -n \"$ac_lib\";then ac_cv_funclib_krb_get_our_ip_for_realm=$ac_lib; else ac_cv_funclib_krb_get_our_ip_for_realm=yes; fi";break
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_db_create=$ac_lib; else ac_cv_funclib_db_create=yes; fi";break
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ 	done
+-	eval "ac_cv_funclib_krb_get_our_ip_for_realm=\${ac_cv_funclib_krb_get_our_ip_for_realm-no}"
++	eval "ac_cv_funclib_db_create=\${ac_cv_funclib_db_create-no}"
+ 	LIBS="$ac_save_LIBS"
+ fi
+ 
+ fi
+ 
+ 
+-eval "ac_res=\$ac_cv_funclib_krb_get_our_ip_for_realm"
++eval "ac_res=\$ac_cv_funclib_db_create"
+ 
+ if false; then
+ 
+-for ac_func in krb_get_our_ip_for_realm
++for ac_func in db_create
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ echo "$as_me:$LINENO: checking for $ac_func" >&5
+@@ -9568,37 +22023,44 @@
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char $ac_func (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+ char $ac_func ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
+ /* The GNU C library defines this for functions which it implements
+     to always fail with ENOSYS.  Some functions are actually named
+     something starting with __ and the normal name is an alias.  */
+ #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
+ choke me
+ #else
+-f = $ac_func;
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != $ac_func;
+   ;
+   return 0;
+ }
+@@ -9618,7 +22080,8 @@
+   eval "$as_ac_var=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ eval "$as_ac_var=no"
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+@@ -9634,15 +22097,15 @@
+ done
+ 
+ fi
+-# krb_get_our_ip_for_realm
+-eval "ac_tr_func=HAVE_`echo krb_get_our_ip_for_realm | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++# db_create
++eval "ac_tr_func=HAVE_`echo db_create | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
+ eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
+-eval "LIB_krb_get_our_ip_for_realm=$ac_res"
++eval "LIB_db_create=$ac_res"
+ 
+ case "$ac_res" in
+ 	yes)
+-	eval "ac_cv_func_krb_get_our_ip_for_realm=yes"
+-	eval "LIB_krb_get_our_ip_for_realm="
++	eval "ac_cv_func_db_create=yes"
++	eval "LIB_db_create="
+ 	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+ _ACEOF
+@@ -9651,13 +22114,13 @@
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+-	eval "ac_cv_func_krb_get_our_ip_for_realm=no"
+-	eval "LIB_krb_get_our_ip_for_realm="
++	eval "ac_cv_func_db_create=no"
++	eval "LIB_db_create="
+ 	echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+-	eval "ac_cv_func_krb_get_our_ip_for_realm=yes"
++	eval "ac_cv_func_db_create=yes"
+ 	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
+ 	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+@@ -9673,23 +22136,34 @@
+ esac
+ 
+ 
+-if test -n "$LIB_krb_get_our_ip_for_realm"; then
+-	LIBS="$LIB_krb_get_our_ip_for_realm $LIBS"
+-fi
+ 
++  if test "$ac_cv_func_db_create" = "yes"; then
++    db_type=db3
++    if test "$ac_cv_funclib_db_create" != "yes"; then
++      DBLIB="$ac_cv_funclib_db_create"
++    else
++      DBLIB=""
++    fi
++
++cat >>confdefs.h <<\_ACEOF
++#define HAVE_DB3 1
++_ACEOF
++
++  else
+ 
+ 
+ 
+ 
+-echo "$as_me:$LINENO: checking for krb_kdctimeofday" >&5
+-echo $ECHO_N "checking for krb_kdctimeofday... $ECHO_C" >&6
+-if test "${ac_cv_funclib_krb_kdctimeofday+set}" = set; then
++
++echo "$as_me:$LINENO: checking for dbopen" >&5
++echo $ECHO_N "checking for dbopen... $ECHO_C" >&6
++if test "${ac_cv_funclib_dbopen+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-if eval "test \"\$ac_cv_func_krb_kdctimeofday\" != yes" ; then
++if eval "test \"\$ac_cv_func_dbopen\" != yes" ; then
+ 	ac_save_LIBS="$LIBS"
+-	for ac_lib in "" ; do
++	for ac_lib in "" db2 db; do
+ 		case "$ac_lib" in
+ 		"") ;;
+ 		yes) ac_lib="" ;;
+@@ -9700,18 +22174,27 @@
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++    #include <stdio.h>
++    #if defined(HAVE_DB2_DB_H)
++    #include <db2/db.h>
++    #elif defined(HAVE_DB_185_H)
++    #include <db_185.h>
++    #elif defined(HAVE_DB_H)
++    #include <db.h>
++    #else
++    #error no db.h
++    #endif
+ 
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+-krb_kdctimeofday()
++dbopen(NULL, 0, 0, 0, NULL)
+   ;
+   return 0;
+ }
+@@ -9728,25 +22211,26 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "if test -n \"$ac_lib\";then ac_cv_funclib_krb_kdctimeofday=$ac_lib; else ac_cv_funclib_krb_kdctimeofday=yes; fi";break
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_dbopen=$ac_lib; else ac_cv_funclib_dbopen=yes; fi";break
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ 	done
+-	eval "ac_cv_funclib_krb_kdctimeofday=\${ac_cv_funclib_krb_kdctimeofday-no}"
++	eval "ac_cv_funclib_dbopen=\${ac_cv_funclib_dbopen-no}"
+ 	LIBS="$ac_save_LIBS"
+ fi
+ 
+ fi
+ 
+ 
+-eval "ac_res=\$ac_cv_funclib_krb_kdctimeofday"
++eval "ac_res=\$ac_cv_funclib_dbopen"
+ 
+ if false; then
+ 
+-for ac_func in krb_kdctimeofday
++for ac_func in dbopen
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ echo "$as_me:$LINENO: checking for $ac_func" >&5
+@@ -9756,37 +22240,44 @@
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char $ac_func (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+ char $ac_func ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
+ /* The GNU C library defines this for functions which it implements
+     to always fail with ENOSYS.  Some functions are actually named
+     something starting with __ and the normal name is an alias.  */
+ #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
+ choke me
+ #else
+-f = $ac_func;
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != $ac_func;
+   ;
+   return 0;
+ }
+@@ -9806,7 +22297,8 @@
+   eval "$as_ac_var=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ eval "$as_ac_var=no"
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+@@ -9822,15 +22314,15 @@
+ done
+ 
+ fi
+-# krb_kdctimeofday
+-eval "ac_tr_func=HAVE_`echo krb_kdctimeofday | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++# dbopen
++eval "ac_tr_func=HAVE_`echo dbopen | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
+ eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
+-eval "LIB_krb_kdctimeofday=$ac_res"
++eval "LIB_dbopen=$ac_res"
+ 
+ case "$ac_res" in
+ 	yes)
+-	eval "ac_cv_func_krb_kdctimeofday=yes"
+-	eval "LIB_krb_kdctimeofday="
++	eval "ac_cv_func_dbopen=yes"
++	eval "LIB_dbopen="
+ 	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+ _ACEOF
+@@ -9839,13 +22331,13 @@
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+-	eval "ac_cv_func_krb_kdctimeofday=no"
+-	eval "LIB_krb_kdctimeofday="
++	eval "ac_cv_func_dbopen=no"
++	eval "LIB_dbopen="
+ 	echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+-	eval "ac_cv_func_krb_kdctimeofday=yes"
++	eval "ac_cv_func_dbopen=yes"
+ 	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
+ 	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+@@ -9861,25 +22353,35 @@
+ esac
+ 
+ 
+-if test -n "$LIB_krb_kdctimeofday"; then
+-	LIBS="$LIB_krb_kdctimeofday $LIBS"
+-fi
+ 
++    if test "$ac_cv_func_dbopen" = "yes"; then
++      db_type=db1
++      if test "$ac_cv_funclib_dbopen" != "yes"; then
++        DBLIB="$ac_cv_funclib_dbopen"
++      else
++        DBLIB=""
++      fi
+ 
++cat >>confdefs.h <<\_ACEOF
++#define HAVE_DB1 1
++_ACEOF
+ 
++    fi
++  fi
+ 
+ 
++  if test "$ac_cv_func_dbm_firstkey" != yes; then
+ 
+ 
+-echo "$as_me:$LINENO: checking for krb_get_kdc_time_diff" >&5
+-echo $ECHO_N "checking for krb_get_kdc_time_diff... $ECHO_C" >&6
+-if test "${ac_cv_funclib_krb_get_kdc_time_diff+set}" = set; then
++echo "$as_me:$LINENO: checking for dbm_firstkey" >&5
++echo $ECHO_N "checking for dbm_firstkey... $ECHO_C" >&6
++if test "${ac_cv_funclib_dbm_firstkey+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-if eval "test \"\$ac_cv_func_krb_get_kdc_time_diff\" != yes" ; then
++if eval "test \"\$ac_cv_func_dbm_firstkey\" != yes" ; then
+ 	ac_save_LIBS="$LIBS"
+-	for ac_lib in "" ; do
++	for ac_lib in $ac_cv_funclib_dbopen $ac_cv_funclib_db_create; do
+ 		case "$ac_lib" in
+ 		"") ;;
+ 		yes) ac_lib="" ;;
+@@ -9890,18 +22392,21 @@
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++    #include <stdio.h>
++    #define DB_DBM_HSEARCH 1
++    #include <db.h>
++    DBM *dbm;
+ 
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+-krb_get_kdc_time_diff()
++dbm_firstkey(NULL)
+   ;
+   return 0;
+ }
+@@ -9918,25 +22423,26 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "if test -n \"$ac_lib\";then ac_cv_funclib_krb_get_kdc_time_diff=$ac_lib; else ac_cv_funclib_krb_get_kdc_time_diff=yes; fi";break
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_dbm_firstkey=$ac_lib; else ac_cv_funclib_dbm_firstkey=yes; fi";break
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ 	done
+-	eval "ac_cv_funclib_krb_get_kdc_time_diff=\${ac_cv_funclib_krb_get_kdc_time_diff-no}"
++	eval "ac_cv_funclib_dbm_firstkey=\${ac_cv_funclib_dbm_firstkey-no}"
+ 	LIBS="$ac_save_LIBS"
+ fi
+ 
+ fi
+ 
+ 
+-eval "ac_res=\$ac_cv_funclib_krb_get_kdc_time_diff"
++eval "ac_res=\$ac_cv_funclib_dbm_firstkey"
+ 
+ if false; then
+ 
+-for ac_func in krb_get_kdc_time_diff
++for ac_func in dbm_firstkey
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ echo "$as_me:$LINENO: checking for $ac_func" >&5
+@@ -9946,37 +22452,44 @@
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char $ac_func (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+ char $ac_func ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
+ /* The GNU C library defines this for functions which it implements
+     to always fail with ENOSYS.  Some functions are actually named
+     something starting with __ and the normal name is an alias.  */
+ #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
+ choke me
+ #else
+-f = $ac_func;
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != $ac_func;
+   ;
+   return 0;
+ }
+@@ -9996,7 +22509,8 @@
+   eval "$as_ac_var=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ eval "$as_ac_var=no"
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+@@ -10012,15 +22526,15 @@
+ done
+ 
+ fi
+-# krb_get_kdc_time_diff
+-eval "ac_tr_func=HAVE_`echo krb_get_kdc_time_diff | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++# dbm_firstkey
++eval "ac_tr_func=HAVE_`echo dbm_firstkey | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
+ eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
+-eval "LIB_krb_get_kdc_time_diff=$ac_res"
++eval "LIB_dbm_firstkey=$ac_res"
+ 
+ case "$ac_res" in
+ 	yes)
+-	eval "ac_cv_func_krb_get_kdc_time_diff=yes"
+-	eval "LIB_krb_get_kdc_time_diff="
++	eval "ac_cv_func_dbm_firstkey=yes"
++	eval "LIB_dbm_firstkey="
+ 	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+ _ACEOF
+@@ -10029,13 +22543,13 @@
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+-	eval "ac_cv_func_krb_get_kdc_time_diff=no"
+-	eval "LIB_krb_get_kdc_time_diff="
++	eval "ac_cv_func_dbm_firstkey=no"
++	eval "LIB_dbm_firstkey="
+ 	echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+-	eval "ac_cv_func_krb_get_kdc_time_diff=yes"
++	eval "ac_cv_func_dbm_firstkey=yes"
+ 	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
+ 	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+@@ -10051,92 +22565,62 @@
+ esac
+ 
+ 
+-if test -n "$LIB_krb_get_kdc_time_diff"; then
+-	LIBS="$LIB_krb_get_kdc_time_diff $LIBS"
+-fi
+-
+-
+ 
+-	echo "$as_me:$LINENO: checking for KRB_SENDAUTH_VERS" >&5
+-echo $ECHO_N "checking for KRB_SENDAUTH_VERS... $ECHO_C" >&6
+-if test "${ac_cv_func_krb_sendauth_vers+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  cat >conftest.$ac_ext <<_ACEOF
+-#line $LINENO "configure"
+-#include "confdefs.h"
+-#include <krb.h>
+-			#include <prot.h>
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
++    if test "$ac_cv_func_dbm_firstkey" = "yes"; then
++      if test "$ac_cv_funclib_dbm_firstkey" != "yes"; then
++        LIB_NDBM="$ac_cv_funclib_dbm_firstkey"
++      else
++        LIB_NDBM=""
++      fi
+ 
+-		char *x = KRB_SENDAUTH_VERS
+-  ;
+-  return 0;
+-}
++cat >>confdefs.h <<\_ACEOF
++#define HAVE_DB_NDBM 1
+ _ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
+-  ac_cv_func_krb_sendauth_vers=yes
+-else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_krb_sendauth_vers=no
+-fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
+ 
+-fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_krb_sendauth_vers" >&5
+-echo "${ECHO_T}$ac_cv_func_krb_sendauth_vers" >&6
+-	if test "$ac_cv_func_krb_sendauth_vers" != yes; then
+ 
+ cat >>confdefs.h <<\_ACEOF
+-#define KRB_SENDAUTH_VERS "AUTHV0.1"
++#define HAVE_NEW_DB 1
+ _ACEOF
+ 
+-	fi
+-	echo "$as_me:$LINENO: checking for krb_mk_req with const arguments" >&5
+-echo $ECHO_N "checking for krb_mk_req with const arguments... $ECHO_C" >&6
+-if test "${ac_cv_func_krb_mk_req_const+set}" = set; then
++    else
++      $as_unset ac_cv_func_dbm_firstkey
++      $as_unset ac_cv_funclib_dbm_firstkey
++    fi
++  fi
++
++fi # berkeley db
++
++if test "$db_type" = "unknown" -o "$ac_cv_func_dbm_firstkey" = ""; then
++
++
++
++for ac_header in 				\
++	dbm.h					\
++	ndbm.h					\
++
++do
++as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
+ else
+-  cat >conftest.$ac_ext <<_ACEOF
++  # Is the header compilable?
++echo "$as_me:$LINENO: checking $ac_header usability" >&5
++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-#include <krb.h>
+-		int krb_mk_req(KTEXT a, const char *s, const char *i,
+-			       const char *r, int32_t checksum)
+-		{ return 17; }
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
+-
+-  ;
+-  return 0;
+-}
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++#include <$ac_header>
+ _ACEOF
+ rm -f conftest.$ac_objext
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+@@ -10150,200 +22634,151 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_func_krb_mk_req_const=yes
++  ac_header_compiler=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_krb_mk_req_const=no
+-fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
++sed 's/^/| /' conftest.$ac_ext >&5
+ 
++ac_header_compiler=no
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_krb_mk_req_const" >&5
+-echo "${ECHO_T}$ac_cv_func_krb_mk_req_const" >&6
+-	if test "$ac_cv_func_krb_mk_req_const" = "yes"; then
++rm -f conftest.$ac_objext conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
++echo "${ECHO_T}$ac_header_compiler" >&6
+ 
+-cat >>confdefs.h <<\_ACEOF
+-#define KRB_MK_REQ_CONST 1
++# Is the header present?
++echo "$as_me:$LINENO: checking $ac_header presence" >&5
++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
+ _ACEOF
+-
+-	fi
+-
+-	LIBS="$save_LIBS"
+-	CFLAGS="$save_CFLAGS"
+-	LIB_kdb="-lkdb -lkrb"
+-fi
+-
+-
+-if test "$with_krb4" != "no"; then
+-  KRB4_TRUE=
+-  KRB4_FALSE='#'
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <$ac_header>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
+ else
+-  KRB4_TRUE='#'
+-  KRB4_FALSE=
++  ac_cpp_err=yes
+ fi
+-
+-
+-
+-if true; then
+-  KRB5_TRUE=
+-  KRB5_FALSE='#'
++if test -z "$ac_cpp_err"; then
++  ac_header_preproc=yes
+ else
+-  KRB5_TRUE='#'
+-  KRB5_FALSE=
+-fi
+-
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
+ 
++  ac_header_preproc=no
++fi
++rm -f conftest.err conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
++echo "${ECHO_T}$ac_header_preproc" >&6
+ 
+-if true; then
+-  do_roken_rename_TRUE=
+-  do_roken_rename_FALSE='#'
++# So?  What about this header?
++case $ac_header_compiler:$ac_header_preproc in
++  yes:no )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
++echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
++    (
++      cat <<\_ASBOX
++## ------------------------------------ ##
++## Report this to bug-autoconf@gnu.org. ##
++## ------------------------------------ ##
++_ASBOX
++    ) |
++      sed "s/^/$as_me: WARNING:     /" >&2
++    ;;
++  no:yes )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
++echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
++echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
++    (
++      cat <<\_ASBOX
++## ------------------------------------ ##
++## Report this to bug-autoconf@gnu.org. ##
++## ------------------------------------ ##
++_ASBOX
++    ) |
++      sed "s/^/$as_me: WARNING:     /" >&2
++    ;;
++esac
++echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  do_roken_rename_TRUE='#'
+-  do_roken_rename_FALSE=
++  eval "$as_ac_Header=$ac_header_preproc"
+ fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
+ 
+-
+-
+-cat >>confdefs.h <<\_ACEOF
+-#define KRB5 1
+-_ACEOF
+-
+-
+-crypto_lib=unknown
+-
+-
+-# Check whether --with-openssl or --without-openssl was given.
+-if test "${with_openssl+set}" = set; then
+-  withval="$with_openssl"
+-
+-fi;
+-
+-
+-# Check whether --with-openssl-lib or --without-openssl-lib was given.
+-if test "${with_openssl_lib+set}" = set; then
+-  withval="$with_openssl_lib"
+-  if test "$withval" = "yes" -o "$withval" = "no"; then
+-  { { echo "$as_me:$LINENO: error: No argument for --with-openssl-lib" >&5
+-echo "$as_me: error: No argument for --with-openssl-lib" >&2;}
+-   { (exit 1); exit 1; }; }
+-elif test "X$with_openssl" = "X"; then
+-  with_openssl=yes
+ fi
+-fi;
+-
++if test `eval echo '${'$as_ac_Header'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
++_ACEOF
+ 
+-# Check whether --with-openssl-include or --without-openssl-include was given.
+-if test "${with_openssl_include+set}" = set; then
+-  withval="$with_openssl_include"
+-  if test "$withval" = "yes" -o "$withval" = "no"; then
+-  { { echo "$as_me:$LINENO: error: No argument for --with-openssl-include" >&5
+-echo "$as_me: error: No argument for --with-openssl-include" >&2;}
+-   { (exit 1); exit 1; }; }
+-elif test "X$with_openssl" = "X"; then
+-  with_openssl=yes
+ fi
+-fi;
+ 
+-case "$with_openssl" in
+-yes)	;;
+-no)	;;
+-"")	;;
+-*)	if test "$with_openssl_include" = ""; then
+-		with_openssl_include="$with_openssl/include"
+-	fi
+-	if test "$with_openssl_lib" = ""; then
+-		with_openssl_lib="$with_openssl/lib$abilibdirext"
+-	fi
+-	;;
+-esac
++done
+ 
+ 
+-DIR_des=
+ 
+-echo "$as_me:$LINENO: checking for crypto library" >&5
+-echo $ECHO_N "checking for crypto library... $ECHO_C" >&6
+ 
+-openssl=no
+-old_hash=no
+ 
+-if test "$crypto_lib" = "unknown" -a "$with_krb4" != "no"; then
+-	save_CPPFLAGS="$CPPFLAGS"
+-	save_LIBS="$LIBS"
++echo "$as_me:$LINENO: checking for dbm_firstkey" >&5
++echo $ECHO_N "checking for dbm_firstkey... $ECHO_C" >&6
++if test "${ac_cv_funclib_dbm_firstkey+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
+ 
+-	cdirs= clibs=
+-	for i in $LIB_krb4; do
+-		case "$i" in
+-		-L*) cdirs="$cdirs $i";;
+-		-l*) clibs="$clibs $i";;
++if eval "test \"\$ac_cv_func_dbm_firstkey\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ndbm; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
+ 		esac
+-	done
+-
+-	ires=
+-	for i in $INCLUDE_krb4; do
+-		CFLAGS="-DHAVE_OPENSSL $i $save_CFLAGS"
+-		for j in $cdirs; do
+-			for k in $clibs; do
+-				LIBS="$j $k $save_LIBS"
+-				cat >conftest.$ac_ext <<_ACEOF
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-
+-		#undef KRB5 /* makes md4.h et al unhappy */
+-		#ifdef HAVE_OPENSSL
+-		#include <openssl/md4.h>
+-		#include <openssl/md5.h>
+-		#include <openssl/sha.h>
+-		#define OPENSSL_DES_LIBDES_COMPATIBILITY
+-		#include <openssl/des.h>
+-		#include <openssl/rc4.h>
+-		#include <openssl/rand.h>
+-		#else
+-		#include <md4.h>
+-		#include <md5.h>
+-		#include <sha.h>
+-		#include <des.h>
+-		#include <rc4.h>
+-		#endif
+-		#ifdef OLD_HASH_NAMES
+-		typedef struct md4 MD4_CTX;
+-		#define MD4_Init(C) md4_init((C))
+-		#define MD4_Update(C, D, L) md4_update((C), (D), (L))
+-		#define MD4_Final(D, C) md4_finito((C), (D))
+-		typedef struct md5 MD5_CTX;
+-		#define MD5_Init(C) md5_init((C))
+-		#define MD5_Update(C, D, L) md5_update((C), (D), (L))
+-		#define MD5_Final(D, C) md5_finito((C), (D))
+-		typedef struct sha SHA_CTX;
+-		#define SHA1_Init(C) sha_init((C))
+-		#define SHA1_Update(C, D, L) sha_update((C), (D), (L))
+-		#define SHA1_Final(D, C) sha_finito((C), (D))
+-		#endif
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++  #include <stdio.h>
++  #if defined(HAVE_NDBM_H)
++  #include <ndbm.h>
++  #elif defined(HAVE_DBM_H)
++  #include <dbm.h>
++  #endif
++  DBM *dbm;
+ 
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+-
+-		void *schedule = 0;
+-		MD4_CTX md4;
+-		MD5_CTX md5;
+-		SHA_CTX sha1;
+-
+-		MD4_Init(&md4);
+-		MD5_Init(&md5);
+-		SHA1_Init(&sha1);
+-		#ifdef HAVE_OPENSSL
+-		RAND_status();
+-		#endif
+-
+-		des_cbc_encrypt(0, 0, 0, schedule, 0, 0);
+-		RC4(0, 0, 0, 0);
++dbm_firstkey(NULL)
+   ;
+   return 0;
+ }
+@@ -10360,77 +22795,73 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  openssl=yes ires="$i" lres="$j $k"; break 3
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_dbm_firstkey=$ac_lib; else ac_cv_funclib_dbm_firstkey=yes; fi";break
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+-			done
+-		done
+-		CFLAGS="$i $save_CFLAGS"
+-		for j in $cdirs; do
+-			for k in $clibs; do
+-				LIBS="$j $k $save_LIBS"
+-				cat >conftest.$ac_ext <<_ACEOF
+-#line $LINENO "configure"
+-#include "confdefs.h"
++	done
++	eval "ac_cv_funclib_dbm_firstkey=\${ac_cv_funclib_dbm_firstkey-no}"
++	LIBS="$ac_save_LIBS"
++fi
+ 
+-		#undef KRB5 /* makes md4.h et al unhappy */
+-		#ifdef HAVE_OPENSSL
+-		#include <openssl/md4.h>
+-		#include <openssl/md5.h>
+-		#include <openssl/sha.h>
+-		#define OPENSSL_DES_LIBDES_COMPATIBILITY
+-		#include <openssl/des.h>
+-		#include <openssl/rc4.h>
+-		#include <openssl/rand.h>
+-		#else
+-		#include <md4.h>
+-		#include <md5.h>
+-		#include <sha.h>
+-		#include <des.h>
+-		#include <rc4.h>
+-		#endif
+-		#ifdef OLD_HASH_NAMES
+-		typedef struct md4 MD4_CTX;
+-		#define MD4_Init(C) md4_init((C))
+-		#define MD4_Update(C, D, L) md4_update((C), (D), (L))
+-		#define MD4_Final(D, C) md4_finito((C), (D))
+-		typedef struct md5 MD5_CTX;
+-		#define MD5_Init(C) md5_init((C))
+-		#define MD5_Update(C, D, L) md5_update((C), (D), (L))
+-		#define MD5_Final(D, C) md5_finito((C), (D))
+-		typedef struct sha SHA_CTX;
+-		#define SHA1_Init(C) sha_init((C))
+-		#define SHA1_Update(C, D, L) sha_update((C), (D), (L))
+-		#define SHA1_Final(D, C) sha_finito((C), (D))
+-		#endif
++fi
+ 
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
++
++eval "ac_res=\$ac_cv_funclib_dbm_firstkey"
++
++if false; then
++
++for ac_func in dbm_firstkey
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
+ #endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
+ int
+ main ()
+ {
+-
+-		void *schedule = 0;
+-		MD4_CTX md4;
+-		MD5_CTX md5;
+-		SHA_CTX sha1;
+-
+-		MD4_Init(&md4);
+-		MD5_Init(&md5);
+-		SHA1_Init(&sha1);
+-		#ifdef HAVE_OPENSSL
+-		RAND_status();
+-		#endif
+-
+-		des_cbc_encrypt(0, 0, 0, schedule, 0, 0);
+-		RC4(0, 0, 0, 0);
++return f != $ac_func;
+   ;
+   return 0;
+ }
+@@ -10447,77 +22878,267 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  openssl=no ires="$i" lres="$j $k"; break 3
++  eval "$as_ac_var=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+-			done
+-		done
+-		CFLAGS="-DHAVE_OLD_HASH_NAMES $i $save_CFLAGS"
+-		for j in $cdirs; do
+-			for k in $clibs; do
+-				LIBS="$j $k $save_LIBS"
+-				cat >conftest.$ac_ext <<_ACEOF
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++
++fi
++done
++
++fi
++# dbm_firstkey
++eval "ac_tr_func=HAVE_`echo dbm_firstkey | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_dbm_firstkey=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_dbm_firstkey=yes"
++	eval "LIB_dbm_firstkey="
++	cat >>confdefs.h <<_ACEOF
++#define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_dbm_firstkey=no"
++	eval "LIB_dbm_firstkey="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_dbm_firstkey=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++#define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++#define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++
++  if test "$ac_cv_func_dbm_firstkey" = "yes"; then
++    if test "$ac_cv_funclib_dbm_firstkey" != "yes"; then
++      LIB_NDBM="$ac_cv_funclib_dbm_firstkey"
++    else
++      LIB_NDBM=""
++    fi
++
++cat >>confdefs.h <<\_ACEOF
++#define HAVE_NDBM 1
++_ACEOF
++    have_ndbm=yes
++    if test "$db_type" = "unknown"; then
++      db_type=ndbm
++      DBLIB="$LIB_NDBM"
++    fi
++  else
++
++    $as_unset ac_cv_func_dbm_firstkey
++    $as_unset ac_cv_funclib_dbm_firstkey
++
++
++for ac_header in 				\
++	  gdbm/ndbm.h				\
++
++do
++as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++else
++  # Is the header compilable?
++echo "$as_me:$LINENO: checking $ac_header usability" >&5
++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++#include <$ac_header>
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_header_compiler=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
+ 
+-		#undef KRB5 /* makes md4.h et al unhappy */
+-		#ifdef HAVE_OPENSSL
+-		#include <openssl/md4.h>
+-		#include <openssl/md5.h>
+-		#include <openssl/sha.h>
+-		#define OPENSSL_DES_LIBDES_COMPATIBILITY
+-		#include <openssl/des.h>
+-		#include <openssl/rc4.h>
+-		#include <openssl/rand.h>
+-		#else
+-		#include <md4.h>
+-		#include <md5.h>
+-		#include <sha.h>
+-		#include <des.h>
+-		#include <rc4.h>
+-		#endif
+-		#ifdef OLD_HASH_NAMES
+-		typedef struct md4 MD4_CTX;
+-		#define MD4_Init(C) md4_init((C))
+-		#define MD4_Update(C, D, L) md4_update((C), (D), (L))
+-		#define MD4_Final(D, C) md4_finito((C), (D))
+-		typedef struct md5 MD5_CTX;
+-		#define MD5_Init(C) md5_init((C))
+-		#define MD5_Update(C, D, L) md5_update((C), (D), (L))
+-		#define MD5_Final(D, C) md5_finito((C), (D))
+-		typedef struct sha SHA_CTX;
+-		#define SHA1_Init(C) sha_init((C))
+-		#define SHA1_Update(C, D, L) sha_update((C), (D), (L))
+-		#define SHA1_Final(D, C) sha_finito((C), (D))
+-		#endif
++ac_header_compiler=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
++echo "${ECHO_T}$ac_header_compiler" >&6
+ 
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
++# Is the header present?
++echo "$as_me:$LINENO: checking $ac_header presence" >&5
++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <$ac_header>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  ac_header_preproc=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
+ 
+-		void *schedule = 0;
+-		MD4_CTX md4;
+-		MD5_CTX md5;
+-		SHA_CTX sha1;
++  ac_header_preproc=no
++fi
++rm -f conftest.err conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
++echo "${ECHO_T}$ac_header_preproc" >&6
+ 
+-		MD4_Init(&md4);
+-		MD5_Init(&md5);
+-		SHA1_Init(&sha1);
+-		#ifdef HAVE_OPENSSL
+-		RAND_status();
+-		#endif
++# So?  What about this header?
++case $ac_header_compiler:$ac_header_preproc in
++  yes:no )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
++echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
++    (
++      cat <<\_ASBOX
++## ------------------------------------ ##
++## Report this to bug-autoconf@gnu.org. ##
++## ------------------------------------ ##
++_ASBOX
++    ) |
++      sed "s/^/$as_me: WARNING:     /" >&2
++    ;;
++  no:yes )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
++echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
++echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
++    (
++      cat <<\_ASBOX
++## ------------------------------------ ##
++## Report this to bug-autoconf@gnu.org. ##
++## ------------------------------------ ##
++_ASBOX
++    ) |
++      sed "s/^/$as_me: WARNING:     /" >&2
++    ;;
++esac
++echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  eval "$as_ac_Header=$ac_header_preproc"
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
+ 
+-		des_cbc_encrypt(0, 0, 0, schedule, 0, 0);
+-		RC4(0, 0, 0, 0);
++fi
++if test `eval echo '${'$as_ac_Header'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
++_ACEOF
++
++fi
++
++done
++
++
++
++
++
++echo "$as_me:$LINENO: checking for dbm_firstkey" >&5
++echo $ECHO_N "checking for dbm_firstkey... $ECHO_C" >&6
++if test "${ac_cv_funclib_dbm_firstkey+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++
++if eval "test \"\$ac_cv_func_dbm_firstkey\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" gdbm; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++    #include <stdio.h>
++    #include <gdbm/ndbm.h>
++    DBM *dbm;
++
++int
++main ()
++{
++dbm_firstkey(NULL)
+   ;
+   return 0;
+ }
+@@ -10534,108 +23155,73 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  openssl=no ires="$i" lres="$j $k"; break 3
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_dbm_firstkey=$ac_lib; else ac_cv_funclib_dbm_firstkey=yes; fi";break
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+-			done
+-		done
+ 	done
++	eval "ac_cv_funclib_dbm_firstkey=\${ac_cv_funclib_dbm_firstkey-no}"
++	LIBS="$ac_save_LIBS"
++fi
+ 
+-	CFLAGS="$save_CFLAGS"
+-	LIBS="$save_LIBS"
+-	if test "$ires" -a "$lres"; then
+-		INCLUDE_des="$ires"
+-		LIB_des="$lres"
+-		crypto_lib=krb4
+-		echo "$as_me:$LINENO: result: same as krb4" >&5
+-echo "${ECHO_T}same as krb4" >&6
+-		LIB_des_a='$(LIB_des)'
+-		LIB_des_so='$(LIB_des)'
+-		LIB_des_appl='$(LIB_des)'
+-	fi
+ fi
+ 
+-if test "$crypto_lib" = "unknown" -a "$with_openssl" != "no"; then
+-	save_CFLAGS="$CFLAGS"
+-	save_LIBS="$LIBS"
+-	INCLUDE_des=
+-	LIB_des=
+-	if test "$with_openssl_include" != ""; then
+-		INCLUDE_des="-I${with_openssl_include}"
+-	fi
+-	if test "$with_openssl_lib" != ""; then
+-		LIB_des="-L${with_openssl_lib}"
+-	fi
+-	CFLAGS="-DHAVE_OPENSSL ${INCLUDE_des} ${CFLAGS}"
+-	saved_LIB_des="$LIB_des"
+-	for lres in "" "-lnsl -lsocket"; do
+-		LIB_des="${saved_LIB_des} -lcrypto $lres"
+-		LIB_des_a="$LIB_des"
+-		LIB_des_so="$LIB_des"
+-		LIB_des_appl="$LIB_des"
+-		LIBS="${LIBS} ${LIB_des}"
+-		cat >conftest.$ac_ext <<_ACEOF
+-#line $LINENO "configure"
+-#include "confdefs.h"
+ 
+-		#undef KRB5 /* makes md4.h et al unhappy */
+-		#ifdef HAVE_OPENSSL
+-		#include <openssl/md4.h>
+-		#include <openssl/md5.h>
+-		#include <openssl/sha.h>
+-		#define OPENSSL_DES_LIBDES_COMPATIBILITY
+-		#include <openssl/des.h>
+-		#include <openssl/rc4.h>
+-		#include <openssl/rand.h>
+-		#else
+-		#include <md4.h>
+-		#include <md5.h>
+-		#include <sha.h>
+-		#include <des.h>
+-		#include <rc4.h>
+-		#endif
+-		#ifdef OLD_HASH_NAMES
+-		typedef struct md4 MD4_CTX;
+-		#define MD4_Init(C) md4_init((C))
+-		#define MD4_Update(C, D, L) md4_update((C), (D), (L))
+-		#define MD4_Final(D, C) md4_finito((C), (D))
+-		typedef struct md5 MD5_CTX;
+-		#define MD5_Init(C) md5_init((C))
+-		#define MD5_Update(C, D, L) md5_update((C), (D), (L))
+-		#define MD5_Final(D, C) md5_finito((C), (D))
+-		typedef struct sha SHA_CTX;
+-		#define SHA1_Init(C) sha_init((C))
+-		#define SHA1_Update(C, D, L) sha_update((C), (D), (L))
+-		#define SHA1_Final(D, C) sha_finito((C), (D))
+-		#endif
++eval "ac_res=\$ac_cv_funclib_dbm_firstkey"
+ 
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
++if false; then
++
++for ac_func in dbm_firstkey
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
+ #endif
+-int
+-main ()
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
+ {
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
+ 
+-		void *schedule = 0;
+-		MD4_CTX md4;
+-		MD5_CTX md5;
+-		SHA_CTX sha1;
+-
+-		MD4_Init(&md4);
+-		MD5_Init(&md5);
+-		SHA1_Init(&sha1);
+-		#ifdef HAVE_OPENSSL
+-		RAND_status();
+-		#endif
+-
+-		des_cbc_encrypt(0, 0, 0, schedule, 0, 0);
+-		RC4(0, 0, 0, 0);
++int
++main ()
++{
++return f != $ac_func;
+   ;
+   return 0;
+ }
+@@ -10652,193 +23238,247 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-
+-			crypto_lib=libcrypto openssl=yes
+-			echo "$as_me:$LINENO: result: libcrypto" >&5
+-echo "${ECHO_T}libcrypto" >&6
+-
++  eval "$as_ac_var=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+-		if test "$crypto_lib" = libcrypto ; then
+-			break;
+-		fi
+-	done
+-	CFLAGS="$save_CFLAGS"
+-	LIBS="$save_LIBS"
+ fi
+-
+-if test "$crypto_lib" = "unknown"; then
+-
+-  DIR_des='des'
+-  LIB_des='$(top_builddir)/lib/des/libdes.la'
+-  LIB_des_a='$(top_builddir)/lib/des/.libs/libdes.a'
+-  LIB_des_so='$(top_builddir)/lib/des/.libs/libdes.so'
+-  LIB_des_appl="-ldes"
+-
+-  echo "$as_me:$LINENO: result: included libdes" >&5
+-echo "${ECHO_T}included libdes" >&6
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
+ 
+ fi
++done
+ 
+-if test "$with_krb4" != no -a "$crypto_lib" != krb4; then
+-	{ { echo "$as_me:$LINENO: error: the crypto library used by krb4 lacks features
+-required by Kerberos 5; to continue, you need to install a newer
+-Kerberos 4 or configure --without-krb4" >&5
+-echo "$as_me: error: the crypto library used by krb4 lacks features
+-required by Kerberos 5; to continue, you need to install a newer
+-Kerberos 4 or configure --without-krb4" >&2;}
+-   { (exit 1); exit 1; }; }
+ fi
++# dbm_firstkey
++eval "ac_tr_func=HAVE_`echo dbm_firstkey | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_dbm_firstkey=$ac_res"
+ 
+-if test "$openssl" = "yes"; then
+-
+-cat >>confdefs.h <<\_ACEOF
+-#define HAVE_OPENSSL 1
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_dbm_firstkey=yes"
++	eval "LIB_dbm_firstkey="
++	cat >>confdefs.h <<_ACEOF
++#define $ac_tr_func 1
+ _ACEOF
+ 
+-fi
+-if test "$old_hash" = yes; then
+-
+-cat >>confdefs.h <<\_ACEOF
+-#define HAVE_OLD_HASH_NAMES 1
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_dbm_firstkey=no"
++	eval "LIB_dbm_firstkey="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_dbm_firstkey=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++#define $ac_tr_func 1
+ _ACEOF
+ 
+-fi
+-
+-
+-if test "$openssl" = yes; then
+-  HAVE_OPENSSL_TRUE=
+-  HAVE_OPENSSL_FALSE='#'
+-else
+-  HAVE_OPENSSL_TRUE='#'
+-  HAVE_OPENSSL_FALSE=
+-fi
++	cat >>confdefs.h <<_ACEOF
++#define $ac_tr_lib 1
++_ACEOF
+ 
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
+ 
+ 
+ 
++    if test "$ac_cv_func_dbm_firstkey" = "yes"; then
++      if test "$ac_cv_funclib_dbm_firstkey" != "yes"; then
++	LIB_NDBM="$ac_cv_funclib_dbm_firstkey"
++      else
++	LIB_NDBM=""
++      fi
+ 
++cat >>confdefs.h <<\_ACEOF
++#define HAVE_NDBM 1
++_ACEOF
++      have_ndbm=yes
++      if test "$db_type" = "unknown"; then
++	db_type=ndbm
++	DBLIB="$LIB_NDBM"
++      fi
++    fi
++  fi
+ 
++fi # unknown
+ 
++if test "$have_ndbm" = "yes"; then
++  echo "$as_me:$LINENO: checking if ndbm is implemented with db" >&5
++echo $ECHO_N "checking if ndbm is implemented with db... $ECHO_C" >&6
++  if test "$cross_compiling" = yes; then
++  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
++See \`config.log' for more details." >&5
++echo "$as_me: error: cannot run test program while cross compiling
++See \`config.log' for more details." >&2;}
++   { (exit 1); exit 1; }; }
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ 
++#include <unistd.h>
++#include <fcntl.h>
++#if defined(HAVE_GDBM_NDBM_H)
++#include <gdbm/ndbm.h>
++#elif defined(HAVE_NDBM_H)
++#include <ndbm.h>
++#elif defined(HAVE_DBM_H)
++#include <dbm.h>
++#endif
++int main()
++{
++  DBM *d;
+ 
+-# Check whether --enable-dce or --disable-dce was given.
+-if test "${enable_dce+set}" = set; then
+-  enableval="$enable_dce"
++  d = dbm_open("conftest", O_RDWR | O_CREAT, 0666);
++  if (d == NULL)
++    return 1;
++  dbm_close(d);
++  return 0;
++}
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
+ 
+-fi;
+-if test "$enable_dce" = yes; then
++    if test -f conftest.db; then
++      echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
+ 
+ cat >>confdefs.h <<\_ACEOF
+-#define DCE 1
++#define HAVE_NEW_DB 1
+ _ACEOF
+ 
++    else
++      echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++    fi
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++( exit $ac_status )
++echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
+ fi
+ 
+ 
+-if test "$enable_dce" = yes; then
+-  DCE_TRUE=
+-  DCE_FALSE='#'
++
++if test "$db_type" = db1; then
++  HAVE_DB1_TRUE=
++  HAVE_DB1_FALSE='#'
+ else
+-  DCE_TRUE='#'
+-  DCE_FALSE=
++  HAVE_DB1_TRUE='#'
++  HAVE_DB1_FALSE=
+ fi
+ 
+ 
+-## XXX quite horrible:
+-if test -f /etc/ibmcxx.cfg; then
+-	dpagaix_ldadd=`sed -n '/^xlc_r4/,/^$/p' /etc/ibmcxx.cfg | sed -n -e '/libraries/{;s/^[^=]*=\(.*\)/\1/;s/,/ /gp;}'`
+-	dpagaix_cflags=`sed -n '/^xlc_r4/,/^$/p' /etc/ibmcxx.cfg | sed -n -e '/options/{;s/^[^=]*=\(.*\)/\1/;s/-q^,*//;s/,/ /gp;}'`
+-	dpagaix_ldflags=
++if test "$db_type" = db3; then
++  HAVE_DB3_TRUE=
++  HAVE_DB3_FALSE='#'
+ else
+-	dpagaix_cflags="-D_THREAD_SAFE -D_AIX_PTHREADS_D7 -D_AIX32_THREADS=1 -D_AES_SOURCE -D_AIX41 -I/usr/include/dce"
+-	dpagaix_ldadd="-L/usr/lib/threads -ldcelibc_r -ldcepthreads -lpthreads_compat lpthreads -lc_r"
+-	dpagaix_ldflags="-Wl,-bI:dfspag.exp"
++  HAVE_DB3_TRUE='#'
++  HAVE_DB3_FALSE=
+ fi
+ 
+ 
++if test "$db_type" = ndbm; then
++  HAVE_NDBM_TRUE=
++  HAVE_NDBM_FALSE='#'
++else
++  HAVE_NDBM_TRUE='#'
++  HAVE_NDBM_FALSE=
++fi
+ 
++z=""
++for i in $LDFLAGS; do
++	case "$i" in
++	-L*) z="$z $i";;
++	esac
++done
++DBLIB="$z $DBLIB"
+ 
+ 
+-# Check whether --enable-berkeley-db or --disable-berkeley-db was given.
+-if test "${enable_berkeley_db+set}" = set; then
+-  enableval="$enable_berkeley_db"
+ 
+ 
+-fi;
+ 
+-have_ndbm=no
+-db_type=unknown
++# Check whether --with-roken or --without-roken was given.
++if test "${with_roken+set}" = set; then
++  withval="$with_roken"
++  if test "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: roken is required" >&5
++echo "$as_me: error: roken is required" >&2;}
++   { (exit 1); exit 1; }; }
++fi
++fi;
+ 
+-if test "$enable_berkeley_db" != no; then
++save_CPPFLAGS="${CPPFLAGS}"
+ 
++case $with_roken in
++yes|"")
++  dirs="/usr/heimdal /usr/athena" ;;
++*)
++  dirs="$with_roken" ;;
++esac
+ 
++roken_installed=no
+ 
++for i in $dirs; do
+ 
++echo "$as_me:$LINENO: checking for roken in $i" >&5
++echo $ECHO_N "checking for roken in $i... $ECHO_C" >&6
+ 
+-for ac_header in 				\
+-	db4/db.h				\
+-	db3/db.h				\
+-	db.h					\
+-	db_185.h				\
++CPPFLAGS="-I$i/include ${CPPFLAGS}"
+ 
+-do
+-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+-if eval "test \"\${$as_ac_Header+set}\" = set"; then
+-  echo "$as_me:$LINENO: checking for $ac_header" >&5
+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+-if eval "test \"\${$as_ac_Header+set}\" = set"; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-fi
+-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
+-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
+-else
+-  # Is the header compilable?
+-echo "$as_me:$LINENO: checking $ac_header usability" >&5
+-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-$ac_includes_default
+-#include <$ac_header>
++/* confdefs.h.  */
+ _ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
+-  ac_header_compiler=yes
+-else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_header_compiler=no
+-fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
+-echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
+-echo "${ECHO_T}$ac_header_compiler" >&6
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <roken.h>
++//#if ROKEN_VERSION < 10
++//#error old roken version, should be 10
++//fail
++//#endif
+ 
+-# Is the header present?
+-echo "$as_me:$LINENO: checking $ac_header presence" >&5
+-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
+-cat >conftest.$ac_ext <<_ACEOF
+-#line $LINENO "configure"
+-#include "confdefs.h"
+-#include <$ac_header>
+ _ACEOF
+ if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
+   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+   ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
++  grep -v '^ *+' conftest.er1 >conftest.err
+   rm -f conftest.er1
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+@@ -10852,65 +23492,43 @@
+   ac_cpp_err=yes
+ fi
+ if test -z "$ac_cpp_err"; then
+-  ac_header_preproc=yes
++  roken_installed=yes; break
+ else
+   echo "$as_me: failed program was:" >&5
+-  cat conftest.$ac_ext >&5
+-  ac_header_preproc=no
+-fi
+-rm -f conftest.err conftest.$ac_ext
+-echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+-echo "${ECHO_T}$ac_header_preproc" >&6
++sed 's/^/| /' conftest.$ac_ext >&5
+ 
+-# So?  What about this header?
+-case $ac_header_compiler:$ac_header_preproc in
+-  yes:no )
+-    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
+-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
+-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
+-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
+-  no:yes )
+-    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
+-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
+-    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
+-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
+-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
+-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
+-esac
+-echo "$as_me:$LINENO: checking for $ac_header" >&5
+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+-if eval "test \"\${$as_ac_Header+set}\" = set"; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  eval "$as_ac_Header=$ac_header_preproc"
+-fi
+-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
+-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
+ 
+ fi
+-if test `eval echo '${'$as_ac_Header'}'` = yes; then
+-  cat >>confdefs.h <<_ACEOF
+-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
+-_ACEOF
++rm -f conftest.err conftest.$ac_ext
+ 
+-fi
++echo "$as_me:$LINENO: result: $roken_installed" >&5
++echo "${ECHO_T}$roken_installed" >&6
+ 
+ done
+ 
++CPPFLAGS="$save_CPPFLAGS"
+ 
++if test "$roken_installed" != "yes"; then
++  DIR_roken="roken"
++  LIB_roken='$(top_builddir)/lib/roken/libroken.la'
++  CPPFLAGS_roken='-I$(top_builddir)/lib/roken -I$(top_srcdir)/lib/roken'
++else
++  LIB_roken="$i/lib/libroken.la"
++  CPPFLAGS_roken="-I$i/include"
++fi
+ 
+ 
+ 
+ 
+-echo "$as_me:$LINENO: checking for db_create" >&5
+-echo $ECHO_N "checking for db_create... $ECHO_C" >&6
+-if test "${ac_cv_funclib_db_create+set}" = set; then
++echo "$as_me:$LINENO: checking for crypt" >&5
++echo $ECHO_N "checking for crypt... $ECHO_C" >&6
++if test "${ac_cv_funclib_crypt+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-if eval "test \"\$ac_cv_func_db_create\" != yes" ; then
++if eval "test \"\$ac_cv_func_crypt\" != yes" ; then
+ 	ac_save_LIBS="$LIBS"
+-	for ac_lib in "" db4 db3 db; do
++	for ac_lib in "" crypt; do
+ 		case "$ac_lib" in
+ 		"") ;;
+ 		yes) ac_lib="" ;;
+@@ -10921,27 +23539,16 @@
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-
+-  #include <stdio.h>
+-  #ifdef HAVE_DB4_DB_H
+-  #include <db4/db.h>
+-  #elif defined(HAVE_DB3_DB_H)
+-  #include <db3/db.h>
+-  #else
+-  #include <db.h>
+-  #endif
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ 
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+-db_create(NULL, NULL, 0)
++crypt()
+   ;
+   return 0;
+ }
+@@ -10958,25 +23565,26 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "if test -n \"$ac_lib\";then ac_cv_funclib_db_create=$ac_lib; else ac_cv_funclib_db_create=yes; fi";break
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_crypt=$ac_lib; else ac_cv_funclib_crypt=yes; fi";break
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ 	done
+-	eval "ac_cv_funclib_db_create=\${ac_cv_funclib_db_create-no}"
++	eval "ac_cv_funclib_crypt=\${ac_cv_funclib_crypt-no}"
+ 	LIBS="$ac_save_LIBS"
+ fi
+ 
+ fi
+ 
+ 
+-eval "ac_res=\$ac_cv_funclib_db_create"
++eval "ac_res=\$ac_cv_funclib_crypt"
+ 
+ if false; then
+ 
+-for ac_func in db_create
++for ac_func in crypt
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ echo "$as_me:$LINENO: checking for $ac_func" >&5
+@@ -10986,37 +23594,44 @@
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char $ac_func (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+ char $ac_func ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
+ /* The GNU C library defines this for functions which it implements
+     to always fail with ENOSYS.  Some functions are actually named
+     something starting with __ and the normal name is an alias.  */
+ #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
+ choke me
+ #else
+-f = $ac_func;
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != $ac_func;
+   ;
+   return 0;
+ }
+@@ -11036,7 +23651,8 @@
+   eval "$as_ac_var=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ eval "$as_ac_var=no"
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+@@ -11052,15 +23668,15 @@
+ done
+ 
+ fi
+-# db_create
+-eval "ac_tr_func=HAVE_`echo db_create | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++# crypt
++eval "ac_tr_func=HAVE_`echo crypt | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
+ eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
+-eval "LIB_db_create=$ac_res"
++eval "LIB_crypt=$ac_res"
+ 
+ case "$ac_res" in
+ 	yes)
+-	eval "ac_cv_func_db_create=yes"
+-	eval "LIB_db_create="
++	eval "ac_cv_func_crypt=yes"
++	eval "LIB_crypt="
+ 	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+ _ACEOF
+@@ -11069,13 +23685,13 @@
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+-	eval "ac_cv_func_db_create=no"
+-	eval "LIB_db_create="
++	eval "ac_cv_func_crypt=no"
++	eval "LIB_crypt="
+ 	echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+-	eval "ac_cv_func_db_create=yes"
++	eval "ac_cv_func_crypt=yes"
+ 	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
+ 	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+@@ -11090,455 +23706,656 @@
+ 	;;
+ esac
+ 
++LIB_roken="${LIB_roken} \$(LIB_crypt) \$(LIB_dbopen)"
++
++
++#if ! test "$roken_installed" = yes; then
++
++
++echo "$as_me:$LINENO: checking for inline" >&5
++echo $ECHO_N "checking for inline... $ECHO_C" >&6
++if test "${ac_cv_c_inline+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_cv_c_inline=no
++for ac_kw in inline __inline__ __inline; do
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifndef __cplusplus
++typedef int foo_t;
++static $ac_kw foo_t static_foo () {return 0; }
++$ac_kw foo_t foo () {return 0; }
++#endif
++
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_c_inline=$ac_kw; break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++done
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
++echo "${ECHO_T}$ac_cv_c_inline" >&6
++case $ac_cv_c_inline in
++  inline | yes) ;;
++  no)
++cat >>confdefs.h <<\_ACEOF
++#define inline
++_ACEOF
++ ;;
++  *)  cat >>confdefs.h <<_ACEOF
++#define inline $ac_cv_c_inline
++_ACEOF
++ ;;
++esac
++
++echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
++echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
++if test "${ac_cv_c_const+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++/* FIXME: Include the comments suggested by Paul. */
++#ifndef __cplusplus
++  /* Ultrix mips cc rejects this.  */
++  typedef int charset[2];
++  const charset x;
++  /* SunOS 4.1.1 cc rejects this.  */
++  char const *const *ccp;
++  char **p;
++  /* NEC SVR4.0.2 mips cc rejects this.  */
++  struct point {int x, y;};
++  static struct point const zero = {0,0};
++  /* AIX XL C 1.02.0.0 rejects this.
++     It does not let you subtract one const X* pointer from another in
++     an arm of an if-expression whose if-part is not a constant
++     expression */
++  const char *g = "string";
++  ccp = &g + (g ? g-g : 0);
++  /* HPUX 7.0 cc rejects these. */
++  ++ccp;
++  p = (char**) ccp;
++  ccp = (char const *const *) p;
++  { /* SCO 3.2v4 cc rejects this.  */
++    char *t;
++    char const *s = 0 ? (char *) 0 : (char const *) 0;
++
++    *t++ = 0;
++  }
++  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
++    int x[] = {25, 17};
++    const int *foo = &x[0];
++    ++foo;
++  }
++  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
++    typedef const int *iptr;
++    iptr p = 0;
++    ++p;
++  }
++  { /* AIX XL C 1.02.0.0 rejects this saying
++       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
++    struct s { int j; const int *ap[3]; };
++    struct s *b; b->j = 5;
++  }
++  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
++    const int foo = 10;
++  }
++#endif
+ 
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_c_const=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
+ 
+-  if test "$ac_cv_func_db_create" = "yes"; then
+-    db_type=db3
+-    if test "$ac_cv_funclib_db_create" != "yes"; then
+-      DBLIB="$ac_cv_funclib_db_create"
+-    else
+-      DBLIB=""
+-    fi
++ac_cv_c_const=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
++echo "${ECHO_T}$ac_cv_c_const" >&6
++if test $ac_cv_c_const = no; then
+ 
+ cat >>confdefs.h <<\_ACEOF
+-#define HAVE_DB3 1
++#define const
+ _ACEOF
+ 
+-  else
+-
+-
+-
+-
++fi
+ 
+-echo "$as_me:$LINENO: checking for dbopen" >&5
+-echo $ECHO_N "checking for dbopen... $ECHO_C" >&6
+-if test "${ac_cv_funclib_dbopen+set}" = set; then
++echo "$as_me:$LINENO: checking for size_t" >&5
++echo $ECHO_N "checking for size_t... $ECHO_C" >&6
++if test "${ac_cv_type_size_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-
+-if eval "test \"\$ac_cv_func_dbopen\" != yes" ; then
+-	ac_save_LIBS="$LIBS"
+-	for ac_lib in "" db2 db; do
+-		case "$ac_lib" in
+-		"") ;;
+-		yes) ac_lib="" ;;
+-		no) continue ;;
+-		-l*) ;;
+-		*) ac_lib="-l$ac_lib" ;;
+-		esac
+-		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<_ACEOF
++  cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-
+-    #include <stdio.h>
+-    #if defined(HAVE_DB2_DB_H)
+-    #include <db2/db.h>
+-    #elif defined(HAVE_DB_185_H)
+-    #include <db_185.h>
+-    #elif defined(HAVE_DB_H)
+-    #include <db.h>
+-    #else
+-    #error no db.h
+-    #endif
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
+ int
+ main ()
+ {
+-dbopen(NULL, 0, 0, 0, NULL)
++if ((size_t *) 0)
++  return 0;
++if (sizeof (size_t))
++  return 0;
+   ;
+   return 0;
+ }
+ _ACEOF
+-rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
++         { ac_try='test -s conftest.$ac_objext'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "if test -n \"$ac_lib\";then ac_cv_funclib_dbopen=$ac_lib; else ac_cv_funclib_dbopen=yes; fi";break
++  ac_cv_type_size_t=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+-	done
+-	eval "ac_cv_funclib_dbopen=\${ac_cv_funclib_dbopen-no}"
+-	LIBS="$ac_save_LIBS"
+-fi
++sed 's/^/| /' conftest.$ac_ext >&5
+ 
++ac_cv_type_size_t=no
+ fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
++echo "${ECHO_T}$ac_cv_type_size_t" >&6
++if test $ac_cv_type_size_t = yes; then
++  :
++else
+ 
++cat >>confdefs.h <<_ACEOF
++#define size_t unsigned
++_ACEOF
+ 
+-eval "ac_res=\$ac_cv_funclib_dbopen"
+-
+-if false; then
++fi
+ 
+-for ac_func in dbopen
+-do
+-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:$LINENO: checking for $ac_func" >&5
+-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+-if eval "test \"\${$as_ac_var+set}\" = set"; then
++echo "$as_me:$LINENO: checking for pid_t" >&5
++echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
++if test "${ac_cv_type_pid_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char $ac_func (); below.  */
+-#include <assert.h>
+-/* Override any gcc2 internal prototype to avoid an error.  */
+-#ifdef __cplusplus
+-extern "C"
+-#endif
+-/* We use char because int might match the return type of a gcc2
+-   builtin and then its argument prototype would still apply.  */
+-char $ac_func ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
+ int
+ main ()
+ {
+-/* The GNU C library defines this for functions which it implements
+-    to always fail with ENOSYS.  Some functions are actually named
+-    something starting with __ and the normal name is an alias.  */
+-#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
+-choke me
+-#else
+-f = $ac_func;
+-#endif
+-
++if ((pid_t *) 0)
++  return 0;
++if (sizeof (pid_t))
++  return 0;
+   ;
+   return 0;
+ }
+ _ACEOF
+-rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
++         { ac_try='test -s conftest.$ac_objext'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "$as_ac_var=yes"
++  ac_cv_type_pid_t=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$as_ac_var=no"
+-fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+-fi
+-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
+-echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+-if test `eval echo '${'$as_ac_var'}'` = yes; then
+-  cat >>confdefs.h <<_ACEOF
+-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+-_ACEOF
++sed 's/^/| /' conftest.$ac_ext >&5
+ 
++ac_cv_type_pid_t=no
+ fi
+-done
+-
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-# dbopen
+-eval "ac_tr_func=HAVE_`echo dbopen | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
+-eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
+-eval "LIB_dbopen=$ac_res"
++echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
++echo "${ECHO_T}$ac_cv_type_pid_t" >&6
++if test $ac_cv_type_pid_t = yes; then
++  :
++else
+ 
+-case "$ac_res" in
+-	yes)
+-	eval "ac_cv_func_dbopen=yes"
+-	eval "LIB_dbopen="
+-	cat >>confdefs.h <<_ACEOF
+-#define $ac_tr_func 1
++cat >>confdefs.h <<_ACEOF
++#define pid_t int
+ _ACEOF
+ 
+-	echo "$as_me:$LINENO: result: yes" >&5
+-echo "${ECHO_T}yes" >&6
+-	;;
+-	no)
+-	eval "ac_cv_func_dbopen=no"
+-	eval "LIB_dbopen="
+-	echo "$as_me:$LINENO: result: no" >&5
+-echo "${ECHO_T}no" >&6
+-	;;
+-	*)
+-	eval "ac_cv_func_dbopen=yes"
+-	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
+-	cat >>confdefs.h <<_ACEOF
+-#define $ac_tr_func 1
+-_ACEOF
++fi
+ 
+-	cat >>confdefs.h <<_ACEOF
+-#define $ac_tr_lib 1
++echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
++echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
++if test "${ac_cv_type_uid_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
+ _ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <sys/types.h>
+ 
+-	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
+-echo "${ECHO_T}yes, in $ac_res" >&6
+-	;;
+-esac
+-
+-
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  $EGREP "uid_t" >/dev/null 2>&1; then
++  ac_cv_type_uid_t=yes
++else
++  ac_cv_type_uid_t=no
++fi
++rm -f conftest*
+ 
+-    if test "$ac_cv_func_dbopen" = "yes"; then
+-      db_type=db1
+-      if test "$ac_cv_funclib_dbopen" != "yes"; then
+-        DBLIB="$ac_cv_funclib_dbopen"
+-      else
+-        DBLIB=""
+-      fi
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
++echo "${ECHO_T}$ac_cv_type_uid_t" >&6
++if test $ac_cv_type_uid_t = no; then
+ 
+ cat >>confdefs.h <<\_ACEOF
+-#define HAVE_DB1 1
++#define uid_t int
+ _ACEOF
+ 
+-    fi
+-  fi
+ 
++cat >>confdefs.h <<\_ACEOF
++#define gid_t int
++_ACEOF
+ 
+-  if test "$ac_cv_func_dbm_firstkey" != yes; then
++fi
+ 
+ 
+-echo "$as_me:$LINENO: checking for dbm_firstkey" >&5
+-echo $ECHO_N "checking for dbm_firstkey... $ECHO_C" >&6
+-if test "${ac_cv_funclib_dbm_firstkey+set}" = set; then
++echo "$as_me:$LINENO: checking return type of signal handlers" >&5
++echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
++if test "${ac_cv_type_signal+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-
+-if eval "test \"\$ac_cv_func_dbm_firstkey\" != yes" ; then
+-	ac_save_LIBS="$LIBS"
+-	for ac_lib in $ac_cv_funclib_dbopen $ac_cv_funclib_db_create; do
+-		case "$ac_lib" in
+-		"") ;;
+-		yes) ac_lib="" ;;
+-		no) continue ;;
+-		-l*) ;;
+-		*) ac_lib="-l$ac_lib" ;;
+-		esac
+-		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<_ACEOF
++  cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-
+-    #include <stdio.h>
+-    #define DB_DBM_HSEARCH 1
+-    #include <db.h>
+-    DBM *dbm;
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end 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 ()
+ {
+-dbm_firstkey(NULL)
++int i;
+   ;
+   return 0;
+ }
+ _ACEOF
+-rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
++         { ac_try='test -s conftest.$ac_objext'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "if test -n \"$ac_lib\";then ac_cv_funclib_dbm_firstkey=$ac_lib; else ac_cv_funclib_dbm_firstkey=yes; fi";break
++  ac_cv_type_signal=void
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_signal=int
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+-	done
+-	eval "ac_cv_funclib_dbm_firstkey=\${ac_cv_funclib_dbm_firstkey-no}"
+-	LIBS="$ac_save_LIBS"
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
++echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
++echo "${ECHO_T}$ac_cv_type_signal" >&6
++
++cat >>confdefs.h <<_ACEOF
++#define RETSIGTYPE $ac_cv_type_signal
++_ACEOF
++
++
++if test "$ac_cv_type_signal" = "void" ; then
++
++cat >>confdefs.h <<\_ACEOF
++#define VOID_RETSIGTYPE 1
++_ACEOF
+ 
+ fi
+ 
+ 
+-eval "ac_res=\$ac_cv_funclib_dbm_firstkey"
+ 
+-if false; then
+ 
+-for ac_func in dbm_firstkey
+-do
+-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:$LINENO: checking for $ac_func" >&5
+-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+-if eval "test \"\${$as_ac_var+set}\" = set"; then
++echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
++echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
++if test "${ac_cv_header_time+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char $ac_func (); below.  */
+-#include <assert.h>
+-/* Override any gcc2 internal prototype to avoid an error.  */
+-#ifdef __cplusplus
+-extern "C"
+-#endif
+-/* We use char because int might match the return type of a gcc2
+-   builtin and then its argument prototype would still apply.  */
+-char $ac_func ();
+-char (*f) ();
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <sys/types.h>
++#include <sys/time.h>
++#include <time.h>
+ 
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+-/* The GNU C library defines this for functions which it implements
+-    to always fail with ENOSYS.  Some functions are actually named
+-    something starting with __ and the normal name is an alias.  */
+-#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
+-choke me
+-#else
+-f = $ac_func;
+-#endif
+-
++if ((struct tm *) 0)
++return 0;
+   ;
+   return 0;
+ }
+ _ACEOF
+-rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
++         { ac_try='test -s conftest.$ac_objext'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "$as_ac_var=yes"
++  ac_cv_header_time=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$as_ac_var=no"
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_header_time=no
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
+-echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+-if test `eval echo '${'$as_ac_var'}'` = yes; then
+-  cat >>confdefs.h <<_ACEOF
+-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
++echo "${ECHO_T}$ac_cv_header_time" >&6
++if test $ac_cv_header_time = yes; then
++
++cat >>confdefs.h <<\_ACEOF
++#define TIME_WITH_SYS_TIME 1
+ _ACEOF
+ 
+ fi
+-done
+ 
+-fi
+-# dbm_firstkey
+-eval "ac_tr_func=HAVE_`echo dbm_firstkey | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
+-eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
+-eval "LIB_dbm_firstkey=$ac_res"
+ 
+-case "$ac_res" in
+-	yes)
+-	eval "ac_cv_func_dbm_firstkey=yes"
+-	eval "LIB_dbm_firstkey="
+-	cat >>confdefs.h <<_ACEOF
+-#define $ac_tr_func 1
+-_ACEOF
+ 
+-	echo "$as_me:$LINENO: result: yes" >&5
+-echo "${ECHO_T}yes" >&6
+-	;;
+-	no)
+-	eval "ac_cv_func_dbm_firstkey=no"
+-	eval "LIB_dbm_firstkey="
+-	echo "$as_me:$LINENO: result: no" >&5
+-echo "${ECHO_T}no" >&6
+-	;;
+-	*)
+-	eval "ac_cv_func_dbm_firstkey=yes"
+-	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
+-	cat >>confdefs.h <<_ACEOF
+-#define $ac_tr_func 1
++for ac_header in standards.h
++do
++as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++else
++  # Is the header compilable?
++echo "$as_me:$LINENO: checking $ac_header usability" >&5
++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
+ _ACEOF
+-
+-	cat >>confdefs.h <<_ACEOF
+-#define $ac_tr_lib 1
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++#include <$ac_header>
+ _ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_header_compiler=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
+ 
+-	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
+-echo "${ECHO_T}yes, in $ac_res" >&6
+-	;;
+-esac
++ac_header_compiler=no
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
++echo "${ECHO_T}$ac_header_compiler" >&6
+ 
++# Is the header present?
++echo "$as_me:$LINENO: checking $ac_header presence" >&5
++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <$ac_header>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  ac_header_preproc=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
+ 
++  ac_header_preproc=no
++fi
++rm -f conftest.err conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
++echo "${ECHO_T}$ac_header_preproc" >&6
+ 
+-    if test "$ac_cv_func_dbm_firstkey" = "yes"; then
+-      if test "$ac_cv_funclib_dbm_firstkey" != "yes"; then
+-        LIB_NDBM="$ac_cv_funclib_dbm_firstkey"
+-      else
+-        LIB_NDBM=""
+-      fi
++# So?  What about this header?
++case $ac_header_compiler:$ac_header_preproc in
++  yes:no )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
++echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
++    (
++      cat <<\_ASBOX
++## ------------------------------------ ##
++## Report this to bug-autoconf@gnu.org. ##
++## ------------------------------------ ##
++_ASBOX
++    ) |
++      sed "s/^/$as_me: WARNING:     /" >&2
++    ;;
++  no:yes )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
++echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
++echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
++    (
++      cat <<\_ASBOX
++## ------------------------------------ ##
++## Report this to bug-autoconf@gnu.org. ##
++## ------------------------------------ ##
++_ASBOX
++    ) |
++      sed "s/^/$as_me: WARNING:     /" >&2
++    ;;
++esac
++echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  eval "$as_ac_Header=$ac_header_preproc"
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
+ 
+-cat >>confdefs.h <<\_ACEOF
+-#define HAVE_DB_NDBM 1
++fi
++if test `eval echo '${'$as_ac_Header'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
+ _ACEOF
+ 
++fi
+ 
+-cat >>confdefs.h <<\_ACEOF
+-#define HAVE_NEW_DB 1
+-_ACEOF
++done
+ 
+-    else
+-      $as_unset ac_cv_func_dbm_firstkey
+-      $as_unset ac_cv_funclib_dbm_firstkey
+-    fi
+-  fi
++for i in netinet/ip.h netinet/tcp.h; do
+ 
+-fi # berkeley db
++cv=`echo "$i" | sed 'y%./+-%__p_%'`
+ 
+-if test "$db_type" = "unknown" -o "$ac_cv_func_dbm_firstkey" = ""; then
++echo "$as_me:$LINENO: checking for $i" >&5
++echo $ECHO_N "checking for $i... $ECHO_C" >&6
++if eval "test \"\${ac_cv_header_$cv+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++\
++#ifdef HAVE_STANDARDS_H
++#include <standards.h>
++#endif
++#include <$i>
+ 
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  eval "ac_cv_header_$cv=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
+ 
++  eval "ac_cv_header_$cv=no"
++fi
++rm -f conftest.err conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'ac_cv_header_$cv'}'`" >&5
++echo "${ECHO_T}`eval echo '${'ac_cv_header_$cv'}'`" >&6
++ac_res=`eval echo \\$ac_cv_header_$cv`
++if test "$ac_res" = yes; then
++	ac_tr_hdr=HAVE_`echo $i | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
++	cat >>confdefs.h <<_ACEOF
++#define $ac_tr_hdr 1
++_ACEOF
+ 
+-for ac_header in 				\
+-	dbm.h					\
+-	ndbm.h					\
++fi
++done
++if false;then
+ 
++
++for ac_header in netinet/ip.h netinet/tcp.h
+ do
+ as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+ if eval "test \"\${$as_ac_Header+set}\" = set"; then
+@@ -11555,7 +24372,11 @@
+ echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ $ac_includes_default
+ #include <$ac_header>
+ _ACEOF
+@@ -11574,7 +24395,8 @@
+   ac_header_compiler=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ ac_header_compiler=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+@@ -11586,13 +24408,17 @@
+ echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ #include <$ac_header>
+ _ACEOF
+ if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
+   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+   ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
++  grep -v '^ *+' conftest.er1 >conftest.err
+   rm -f conftest.er1
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+@@ -11609,7 +24435,8 @@
+   ac_header_preproc=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-  cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+   ac_header_preproc=no
+ fi
+ rm -f conftest.err conftest.$ac_ext
+@@ -11622,14 +24449,32 @@
+     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
+ echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
+     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
+-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
++    (
++      cat <<\_ASBOX
++## ------------------------------------ ##
++## Report this to bug-autoconf@gnu.org. ##
++## ------------------------------------ ##
++_ASBOX
++    ) |
++      sed "s/^/$as_me: WARNING:     /" >&2
++    ;;
+   no:yes )
+     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
+ echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
+     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
+ echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
+     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
+-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
++    (
++      cat <<\_ASBOX
++## ------------------------------------ ##
++## Report this to bug-autoconf@gnu.org. ##
++## ------------------------------------ ##
++_ASBOX
++    ) |
++      sed "s/^/$as_me: WARNING:     /" >&2
++    ;;
+ esac
+ echo "$as_me:$LINENO: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+@@ -11651,84 +24496,12 @@
+ 
+ done
+ 
+-
+-
+-
+-
+-echo "$as_me:$LINENO: checking for dbm_firstkey" >&5
+-echo $ECHO_N "checking for dbm_firstkey... $ECHO_C" >&6
+-if test "${ac_cv_funclib_dbm_firstkey+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-
+-if eval "test \"\$ac_cv_func_dbm_firstkey\" != yes" ; then
+-	ac_save_LIBS="$LIBS"
+-	for ac_lib in "" ndbm; do
+-		case "$ac_lib" in
+-		"") ;;
+-		yes) ac_lib="" ;;
+-		no) continue ;;
+-		-l*) ;;
+-		*) ac_lib="-l$ac_lib" ;;
+-		esac
+-		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<_ACEOF
+-#line $LINENO "configure"
+-#include "confdefs.h"
+-
+-  #include <stdio.h>
+-  #if defined(HAVE_NDBM_H)
+-  #include <ndbm.h>
+-  #elif defined(HAVE_DBM_H)
+-  #include <dbm.h>
+-  #endif
+-  DBM *dbm;
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
+-dbm_firstkey(NULL)
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
+-  eval "if test -n \"$ac_lib\";then ac_cv_funclib_dbm_firstkey=$ac_lib; else ac_cv_funclib_dbm_firstkey=yes; fi";break
+-else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+-	done
+-	eval "ac_cv_funclib_dbm_firstkey=\${ac_cv_funclib_dbm_firstkey-no}"
+-	LIBS="$ac_save_LIBS"
+-fi
+-
+ fi
+ 
+ 
+-eval "ac_res=\$ac_cv_funclib_dbm_firstkey"
+ 
+-if false; then
+ 
+-for ac_func in dbm_firstkey
++for ac_func in getlogin setlogin
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ echo "$as_me:$LINENO: checking for $ac_func" >&5
+@@ -11738,37 +24511,44 @@
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char $ac_func (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+ char $ac_func ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
+ /* The GNU C library defines this for functions which it implements
+     to always fail with ENOSYS.  Some functions are actually named
+     something starting with __ and the normal name is an alias.  */
+ #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
+ choke me
+ #else
+-f = $ac_func;
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != $ac_func;
+   ;
+   return 0;
+ }
+@@ -11788,7 +24568,8 @@
+   eval "$as_ac_var=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ eval "$as_ac_var=no"
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+@@ -11803,71 +24584,34 @@
+ fi
+ done
+ 
+-fi
+-# dbm_firstkey
+-eval "ac_tr_func=HAVE_`echo dbm_firstkey | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
+-eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
+-eval "LIB_dbm_firstkey=$ac_res"
+-
+-case "$ac_res" in
+-	yes)
+-	eval "ac_cv_func_dbm_firstkey=yes"
+-	eval "LIB_dbm_firstkey="
+-	cat >>confdefs.h <<_ACEOF
+-#define $ac_tr_func 1
+-_ACEOF
+-
+-	echo "$as_me:$LINENO: result: yes" >&5
+-echo "${ECHO_T}yes" >&6
+-	;;
+-	no)
+-	eval "ac_cv_func_dbm_firstkey=no"
+-	eval "LIB_dbm_firstkey="
+-	echo "$as_me:$LINENO: result: no" >&5
+-echo "${ECHO_T}no" >&6
+-	;;
+-	*)
+-	eval "ac_cv_func_dbm_firstkey=yes"
+-	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
+-	cat >>confdefs.h <<_ACEOF
+-#define $ac_tr_func 1
+-_ACEOF
+-
+-	cat >>confdefs.h <<_ACEOF
+-#define $ac_tr_lib 1
+-_ACEOF
+-
+-	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
+-echo "${ECHO_T}yes, in $ac_res" >&6
+-	;;
+-esac
+-
++if test "$ac_cv_func_getlogin" = yes; then
++echo "$as_me:$LINENO: checking if getlogin is posix" >&5
++echo $ECHO_N "checking if getlogin is posix... $ECHO_C" >&6
++if test "${ac_cv_func_getlogin_posix+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
+ 
++if test "$ac_cv_func_getlogin" = yes -a "$ac_cv_func_setlogin" = yes; then
++	ac_cv_func_getlogin_posix=no
++else
++	ac_cv_func_getlogin_posix=yes
++fi
+ 
+-  if test "$ac_cv_func_dbm_firstkey" = "yes"; then
+-    if test "$ac_cv_funclib_dbm_firstkey" != "yes"; then
+-      LIB_NDBM="$ac_cv_funclib_dbm_firstkey"
+-    else
+-      LIB_NDBM=""
+-    fi
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getlogin_posix" >&5
++echo "${ECHO_T}$ac_cv_func_getlogin_posix" >&6
++if test "$ac_cv_func_getlogin_posix" = yes; then
+ 
+ cat >>confdefs.h <<\_ACEOF
+-#define HAVE_NDBM 1
++#define POSIX_GETLOGIN 1
+ _ACEOF
+-    have_ndbm=yes
+-    if test "$db_type" = "unknown"; then
+-      db_type=ndbm
+-      DBLIB="$LIB_NDBM"
+-    fi
+-  else
+ 
+-    $as_unset ac_cv_func_dbm_firstkey
+-    $as_unset ac_cv_funclib_dbm_firstkey
++fi
++fi
+ 
+ 
+-for ac_header in 				\
+-	  gdbm/ndbm.h				\
+ 
++for ac_header in stdlib.h unistd.h
+ do
+ as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+ if eval "test \"\${$as_ac_Header+set}\" = set"; then
+@@ -11884,7 +24628,11 @@
+ echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ $ac_includes_default
+ #include <$ac_header>
+ _ACEOF
+@@ -11903,7 +24651,8 @@
+   ac_header_compiler=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ ac_header_compiler=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+@@ -11915,13 +24664,17 @@
+ echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ #include <$ac_header>
+ _ACEOF
+ if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
+   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+   ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
++  grep -v '^ *+' conftest.er1 >conftest.err
+   rm -f conftest.er1
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+@@ -11938,7 +24691,8 @@
+   ac_header_preproc=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-  cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+   ac_header_preproc=no
+ fi
+ rm -f conftest.err conftest.$ac_ext
+@@ -11951,14 +24705,32 @@
+     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
+ echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
+     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
+-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
++    (
++      cat <<\_ASBOX
++## ------------------------------------ ##
++## Report this to bug-autoconf@gnu.org. ##
++## ------------------------------------ ##
++_ASBOX
++    ) |
++      sed "s/^/$as_me: WARNING:     /" >&2
++    ;;
+   no:yes )
+     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
+ echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
+     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
+ echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
+     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
+-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
++    (
++      cat <<\_ASBOX
++## ------------------------------------ ##
++## Report this to bug-autoconf@gnu.org. ##
++## ------------------------------------ ##
++_ASBOX
++    ) |
++      sed "s/^/$as_me: WARNING:     /" >&2
++    ;;
+ esac
+ echo "$as_me:$LINENO: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+@@ -11981,79 +24753,7 @@
+ done
+ 
+ 
+-
+-
+-
+-echo "$as_me:$LINENO: checking for dbm_firstkey" >&5
+-echo $ECHO_N "checking for dbm_firstkey... $ECHO_C" >&6
+-if test "${ac_cv_funclib_dbm_firstkey+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-
+-if eval "test \"\$ac_cv_func_dbm_firstkey\" != yes" ; then
+-	ac_save_LIBS="$LIBS"
+-	for ac_lib in "" gdbm; do
+-		case "$ac_lib" in
+-		"") ;;
+-		yes) ac_lib="" ;;
+-		no) continue ;;
+-		-l*) ;;
+-		*) ac_lib="-l$ac_lib" ;;
+-		esac
+-		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<_ACEOF
+-#line $LINENO "configure"
+-#include "confdefs.h"
+-
+-    #include <stdio.h>
+-    #include <gdbm/ndbm.h>
+-    DBM *dbm;
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
+-dbm_firstkey(NULL)
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
+-  eval "if test -n \"$ac_lib\";then ac_cv_funclib_dbm_firstkey=$ac_lib; else ac_cv_funclib_dbm_firstkey=yes; fi";break
+-else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+-	done
+-	eval "ac_cv_funclib_dbm_firstkey=\${ac_cv_funclib_dbm_firstkey-no}"
+-	LIBS="$ac_save_LIBS"
+-fi
+-
+-fi
+-
+-
+-eval "ac_res=\$ac_cv_funclib_dbm_firstkey"
+-
+-if false; then
+-
+-for ac_func in dbm_firstkey
++for ac_func in getpagesize
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ echo "$as_me:$LINENO: checking for $ac_func" >&5
+@@ -12063,37 +24763,44 @@
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char $ac_func (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+ char $ac_func ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
+ /* The GNU C library defines this for functions which it implements
+     to always fail with ENOSYS.  Some functions are actually named
+     something starting with __ and the normal name is an alias.  */
+ #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
+ choke me
+ #else
+-f = $ac_func;
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != $ac_func;
+   ;
+   return 0;
+ }
+@@ -12113,7 +24820,8 @@
+   eval "$as_ac_var=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ eval "$as_ac_var=no"
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+@@ -12128,98 +24836,209 @@
+ fi
+ done
+ 
+-fi
+-# dbm_firstkey
+-eval "ac_tr_func=HAVE_`echo dbm_firstkey | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
+-eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
+-eval "LIB_dbm_firstkey=$ac_res"
+-
+-case "$ac_res" in
+-	yes)
+-	eval "ac_cv_func_dbm_firstkey=yes"
+-	eval "LIB_dbm_firstkey="
+-	cat >>confdefs.h <<_ACEOF
+-#define $ac_tr_func 1
++echo "$as_me:$LINENO: checking for working mmap" >&5
++echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
++if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test "$cross_compiling" = yes; then
++  ac_cv_func_mmap_fixed_mapped=no
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
+ _ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++/* malloc might have been renamed as rpl_malloc. */
++#undef malloc
+ 
+-	echo "$as_me:$LINENO: result: yes" >&5
+-echo "${ECHO_T}yes" >&6
+-	;;
+-	no)
+-	eval "ac_cv_func_dbm_firstkey=no"
+-	eval "LIB_dbm_firstkey="
+-	echo "$as_me:$LINENO: result: no" >&5
+-echo "${ECHO_T}no" >&6
+-	;;
+-	*)
+-	eval "ac_cv_func_dbm_firstkey=yes"
+-	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
+-	cat >>confdefs.h <<_ACEOF
+-#define $ac_tr_func 1
+-_ACEOF
++/* Thanks to Mike Haertel and Jim Avera for this test.
++   Here is a matrix of mmap possibilities:
++	mmap private not fixed
++	mmap private fixed at somewhere currently unmapped
++	mmap private fixed at somewhere already mapped
++	mmap shared not fixed
++	mmap shared fixed at somewhere currently unmapped
++	mmap shared fixed at somewhere already mapped
++   For private mappings, we should verify that changes cannot be read()
++   back from the file, nor mmap's back from the file at a different
++   address.  (There have been systems where private was not correctly
++   implemented like the infamous i386 svr4.0, and systems where the
++   VM page cache was not coherent with the file system buffer cache
++   like early versions of FreeBSD and possibly contemporary NetBSD.)
++   For shared mappings, we should conversely verify that changes get
++   propagated back to all the places they're supposed to be.
+ 
+-	cat >>confdefs.h <<_ACEOF
+-#define $ac_tr_lib 1
+-_ACEOF
++   Grep wants private fixed already mapped.
++   The main things grep needs to know about mmap are:
++   * does it exist and is it safe to write into the mmap'd area
++   * how to use it (BSD variants)  */
+ 
+-	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
+-echo "${ECHO_T}yes, in $ac_res" >&6
+-	;;
+-esac
++#include <fcntl.h>
++#include <sys/mman.h>
++
++#if !STDC_HEADERS && !HAVE_STDLIB_H
++char *malloc ();
++#endif
++
++/* This mess was copied from the GNU getpagesize.h.  */
++#if !HAVE_GETPAGESIZE
++/* Assume that all systems that can run configure have sys/param.h.  */
++# if !HAVE_SYS_PARAM_H
++#  define HAVE_SYS_PARAM_H 1
++# endif
++
++# ifdef _SC_PAGESIZE
++#  define getpagesize() sysconf(_SC_PAGESIZE)
++# else /* no _SC_PAGESIZE */
++#  if HAVE_SYS_PARAM_H
++#   include <sys/param.h>
++#   ifdef EXEC_PAGESIZE
++#    define getpagesize() EXEC_PAGESIZE
++#   else /* no EXEC_PAGESIZE */
++#    ifdef NBPG
++#     define getpagesize() NBPG * CLSIZE
++#     ifndef CLSIZE
++#      define CLSIZE 1
++#     endif /* no CLSIZE */
++#    else /* no NBPG */
++#     ifdef NBPC
++#      define getpagesize() NBPC
++#     else /* no NBPC */
++#      ifdef PAGESIZE
++#       define getpagesize() PAGESIZE
++#      endif /* PAGESIZE */
++#     endif /* no NBPC */
++#    endif /* no NBPG */
++#   endif /* no EXEC_PAGESIZE */
++#  else /* no HAVE_SYS_PARAM_H */
++#   define getpagesize() 8192	/* punt totally */
++#  endif /* no HAVE_SYS_PARAM_H */
++# endif /* no _SC_PAGESIZE */
++
++#endif /* no HAVE_GETPAGESIZE */
++
++int
++main ()
++{
++  char *data, *data2, *data3;
++  int i, pagesize;
++  int fd;
++
++  pagesize = getpagesize ();
+ 
++  /* First, make a file with some known garbage in it. */
++  data = (char *) malloc (pagesize);
++  if (!data)
++    exit (1);
++  for (i = 0; i < pagesize; ++i)
++    *(data + i) = rand ();
++  umask (0);
++  fd = creat ("conftest.mmap", 0600);
++  if (fd < 0)
++    exit (1);
++  if (write (fd, data, pagesize) != pagesize)
++    exit (1);
++  close (fd);
++
++  /* Next, try to mmap the file at a fixed address which already has
++     something else allocated at it.  If we can, also make sure that
++     we see the same garbage.  */
++  fd = open ("conftest.mmap", O_RDWR);
++  if (fd < 0)
++    exit (1);
++  data2 = (char *) malloc (2 * pagesize);
++  if (!data2)
++    exit (1);
++  data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
++  if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
++                     MAP_PRIVATE | MAP_FIXED, fd, 0L))
++    exit (1);
++  for (i = 0; i < pagesize; ++i)
++    if (*(data + i) != *(data2 + i))
++      exit (1);
+ 
++  /* Finally, make sure that changes to the mapped area do not
++     percolate back to the file as seen by read().  (This is a bug on
++     some variants of i386 svr4.0.)  */
++  for (i = 0; i < pagesize; ++i)
++    *(data2 + i) = *(data2 + i) + 1;
++  data3 = (char *) malloc (pagesize);
++  if (!data3)
++    exit (1);
++  if (read (fd, data3, pagesize) != pagesize)
++    exit (1);
++  for (i = 0; i < pagesize; ++i)
++    if (*(data + i) != *(data3 + i))
++      exit (1);
++  close (fd);
++  exit (0);
++}
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_mmap_fixed_mapped=yes
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
+ 
+-    if test "$ac_cv_func_dbm_firstkey" = "yes"; then
+-      if test "$ac_cv_funclib_dbm_firstkey" != "yes"; then
+-	LIB_NDBM="$ac_cv_funclib_dbm_firstkey"
+-      else
+-	LIB_NDBM=""
+-      fi
++( exit $ac_status )
++ac_cv_func_mmap_fixed_mapped=no
++fi
++rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
++echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
++if test $ac_cv_func_mmap_fixed_mapped = yes; then
+ 
+ cat >>confdefs.h <<\_ACEOF
+-#define HAVE_NDBM 1
++#define HAVE_MMAP 1
+ _ACEOF
+-      have_ndbm=yes
+-      if test "$db_type" = "unknown"; then
+-	db_type=ndbm
+-	DBLIB="$LIB_NDBM"
+-      fi
+-    fi
+-  fi
+ 
+-fi # unknown
++fi
++rm -f conftest.mmap
+ 
+-if test "$have_ndbm" = "yes"; then
+-  echo "$as_me:$LINENO: checking if ndbm is implemented with db" >&5
+-echo $ECHO_N "checking if ndbm is implemented with db... $ECHO_C" >&6
+-  if test "$cross_compiling" = yes; then
+-  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
+-echo "$as_me: error: cannot run test program while cross compiling" >&2;}
+-   { (exit 1); exit 1; }; }
++
++echo "$as_me:$LINENO: checking if realloc if broken" >&5
++echo $ECHO_N "checking if realloc if broken... $ECHO_C" >&6
++if test "${ac_cv_func_realloc_broken+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++
++ac_cv_func_realloc_broken=no
++if test "$cross_compiling" = yes; then
++  :
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#include <stddef.h>
++#include <stdlib.h>
+ 
+-#include <unistd.h>
+-#include <fcntl.h>
+-#if defined(HAVE_GDBM_NDBM_H)
+-#include <gdbm/ndbm.h>
+-#elif defined(HAVE_NDBM_H)
+-#include <ndbm.h>
+-#elif defined(HAVE_DBM_H)
+-#include <dbm.h>
+-#endif
+ int main()
+ {
+-  DBM *d;
+-
+-  d = dbm_open("conftest", O_RDWR | O_CREAT, 0666);
+-  if (d == NULL)
+-    return 1;
+-  dbm_close(d);
+-  return 0;
++	return realloc(NULL, 17) == NULL;
+ }
++
+ _ACEOF
+ rm -f conftest$ac_exeext
+ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+@@ -12232,244 +25051,92 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-
+-    if test -f conftest.db; then
+-      echo "$as_me:$LINENO: result: yes" >&5
+-echo "${ECHO_T}yes" >&6
+-
+-cat >>confdefs.h <<\_ACEOF
+-#define HAVE_NEW_DB 1
+-_ACEOF
+-
+-    else
+-      echo "$as_me:$LINENO: result: no" >&5
+-echo "${ECHO_T}no" >&6
+-    fi
++  :
+ else
+   echo "$as_me: program exited with status $ac_status" >&5
+ echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ ( exit $ac_status )
+-echo "$as_me:$LINENO: result: no" >&5
+-echo "${ECHO_T}no" >&6
+-fi
+-rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++ac_cv_func_realloc_broken=yes
+ fi
++rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
+ fi
+ 
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_realloc_broken" >&5
++echo "${ECHO_T}$ac_cv_func_realloc_broken" >&6
++if test "$ac_cv_func_realloc_broken" = yes ; then
+ 
++cat >>confdefs.h <<\_ACEOF
++#define BROKEN_REALLOC 1
++_ACEOF
+ 
+-if test "$db_type" = db1; then
+-  HAVE_DB1_TRUE=
+-  HAVE_DB1_FALSE='#'
+-else
+-  HAVE_DB1_TRUE='#'
+-  HAVE_DB1_FALSE=
+ fi
+ 
+ 
+-if test "$db_type" = db3; then
+-  HAVE_DB3_TRUE=
+-  HAVE_DB3_FALSE='#'
+-else
+-  HAVE_DB3_TRUE='#'
+-  HAVE_DB3_FALSE=
+-fi
+ 
+ 
+-if test "$db_type" = ndbm; then
+-  HAVE_NDBM_TRUE=
+-  HAVE_NDBM_FALSE='#'
+-else
+-  HAVE_NDBM_TRUE='#'
+-  HAVE_NDBM_FALSE=
+-fi
+ 
+-z=""
+-for i in $LDFLAGS; do
+-	case "$i" in
+-	-L*) z="$z $i";;
+-	esac
+-done
+-DBLIB="$z $DBLIB"
+ 
+ 
+ 
+ 
+ 
+-echo "$as_me:$LINENO: checking for inline" >&5
+-echo $ECHO_N "checking for inline... $ECHO_C" >&6
+-if test "${ac_cv_c_inline+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  ac_cv_c_inline=no
+-for ac_kw in inline __inline__ __inline; do
+-  cat >conftest.$ac_ext <<_ACEOF
+-#line $LINENO "configure"
+-#include "confdefs.h"
+-#ifndef __cplusplus
+-static $ac_kw int static_foo () {return 0; }
+-$ac_kw int foo () {return 0; }
+-#endif
+ 
+-_ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
+-  ac_cv_c_inline=$ac_kw; break
+-else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
+-done
+ 
+-fi
+-echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
+-echo "${ECHO_T}$ac_cv_c_inline" >&6
+-case $ac_cv_c_inline in
+-  inline | yes) ;;
+-  no)
+-cat >>confdefs.h <<\_ACEOF
+-#define inline
+-_ACEOF
+- ;;
+-  *)  cat >>confdefs.h <<_ACEOF
+-#define inline $ac_cv_c_inline
+-_ACEOF
+- ;;
+-esac
+ 
+-echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
+-echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
+-if test "${ac_cv_c_const+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  cat >conftest.$ac_ext <<_ACEOF
+-#line $LINENO "configure"
+-#include "confdefs.h"
+ 
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
+-/* FIXME: Include the comments suggested by Paul. */
+-#ifndef __cplusplus
+-  /* Ultrix mips cc rejects this.  */
+-  typedef int charset[2];
+-  const charset x;
+-  /* SunOS 4.1.1 cc rejects this.  */
+-  char const *const *ccp;
+-  char **p;
+-  /* NEC SVR4.0.2 mips cc rejects this.  */
+-  struct point {int x, y;};
+-  static struct point const zero = {0,0};
+-  /* AIX XL C 1.02.0.0 rejects this.
+-     It does not let you subtract one const X* pointer from another in
+-     an arm of an if-expression whose if-part is not a constant
+-     expression */
+-  const char *g = "string";
+-  ccp = &g + (g ? g-g : 0);
+-  /* HPUX 7.0 cc rejects these. */
+-  ++ccp;
+-  p = (char**) ccp;
+-  ccp = (char const *const *) p;
+-  { /* SCO 3.2v4 cc rejects this.  */
+-    char *t;
+-    char const *s = 0 ? (char *) 0 : (char const *) 0;
+ 
+-    *t++ = 0;
+-  }
+-  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
+-    int x[] = {25, 17};
+-    const int *foo = &x[0];
+-    ++foo;
+-  }
+-  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
+-    typedef const int *iptr;
+-    iptr p = 0;
+-    ++p;
+-  }
+-  { /* AIX XL C 1.02.0.0 rejects this saying
+-       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
+-    struct s { int j; const int *ap[3]; };
+-    struct s *b; b->j = 5;
+-  }
+-  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
+-    const int foo = 10;
+-  }
+-#endif
+ 
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
+-  ac_cv_c_const=yes
+-else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_c_const=no
+-fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
+-fi
+-echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
+-echo "${ECHO_T}$ac_cv_c_const" >&6
+-if test $ac_cv_c_const = no; then
+ 
+-cat >>confdefs.h <<\_ACEOF
+-#define const
+-_ACEOF
+ 
++
++
++
++WFLAGS_NOUNUSED=""
++WFLAGS_NOIMPLICITINT=""
++if test -z "$WFLAGS" -a "$GCC" = "yes"; then
++  # -Wno-implicit-int for broken X11 headers
++  # leave these out for now:
++  #   -Wcast-align doesn't work well on alpha osf/1
++  #   -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast
++  #   -Wmissing-declarations -Wnested-externs
++  WFLAGS="-Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs"
++  WFLAGS_NOUNUSED="-Wno-unused"
++  WFLAGS_NOIMPLICITINT="-Wno-implicit-int"
+ fi
+ 
+-echo "$as_me:$LINENO: checking for size_t" >&5
+-echo $ECHO_N "checking for size_t... $ECHO_C" >&6
+-if test "${ac_cv_type_size_t+set}" = set; then
++
++
++
++
++
++
++
++cv=`echo "ssize_t" | sed 'y%./+- %__p__%'`
++echo "$as_me:$LINENO: checking for ssize_t" >&5
++echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
++if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-$ac_includes_default
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <sys/types.h>
++#if STDC_HEADERS
++#include <stdlib.h>
++#include <stddef.h>
+ #endif
++#include <unistd.h>
+ int
+ main ()
+ {
+-if ((size_t *) 0)
+-  return 0;
+-if (sizeof (size_t))
+-  return 0;
++ssize_t foo;
+   ;
+   return 0;
+ }
+@@ -12486,47 +25153,40 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_type_size_t=yes
++  eval "ac_cv_type_$cv=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_size_t=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_type_$cv=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
+-echo "${ECHO_T}$ac_cv_type_size_t" >&6
+-if test $ac_cv_type_size_t = yes; then
+-  :
+-else
+-
+-cat >>confdefs.h <<_ACEOF
+-#define size_t unsigned
+-_ACEOF
+-
+-fi
+-
+-echo "$as_me:$LINENO: checking for pid_t" >&5
+-echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
+-if test "${ac_cv_type_pid_t+set}" = set; then
++ac_foo=`eval echo \\$ac_cv_type_$cv`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++  ac_tr_hdr=HAVE_`echo ssize_t | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
++if false; then
++	echo "$as_me:$LINENO: checking for ssize_t" >&5
++echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
++if test "${ac_cv_type_ssize_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ $ac_includes_default
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+-if ((pid_t *) 0)
++if ((ssize_t *) 0)
+   return 0;
+-if (sizeof (pid_t))
++if (sizeof (ssize_t))
+   return 0;
+   ;
+   return 0;
+@@ -12544,91 +25204,61 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_type_pid_t=yes
++  ac_cv_type_ssize_t=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_pid_t=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_ssize_t=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
+-echo "${ECHO_T}$ac_cv_type_pid_t" >&6
+-if test $ac_cv_type_pid_t = yes; then
+-  :
+-else
++echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
++echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
++if test $ac_cv_type_ssize_t = yes; then
+ 
+ cat >>confdefs.h <<_ACEOF
+-#define pid_t int
++#define HAVE_SSIZE_T 1
+ _ACEOF
+ 
+-fi
+-
+-echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
+-echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
+-if test "${ac_cv_type_uid_t+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  cat >conftest.$ac_ext <<_ACEOF
+-#line $LINENO "configure"
+-#include "confdefs.h"
+-#include <sys/types.h>
+ 
+-_ACEOF
+-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+-  egrep "uid_t" >/dev/null 2>&1; then
+-  ac_cv_type_uid_t=yes
+-else
+-  ac_cv_type_uid_t=no
+ fi
+-rm -f conftest*
+ 
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
+-echo "${ECHO_T}$ac_cv_type_uid_t" >&6
+-if test $ac_cv_type_uid_t = no; then
+ 
+-cat >>confdefs.h <<\_ACEOF
+-#define uid_t int
++cat >>confdefs.h <<_ACEOF
++#define $ac_tr_hdr 1
+ _ACEOF
+ 
++fi
+ 
+-cat >>confdefs.h <<\_ACEOF
+-#define gid_t int
+-_ACEOF
+ 
+-fi
+ 
+ 
+-echo "$as_me:$LINENO: checking return type of signal handlers" >&5
+-echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
+-if test "${ac_cv_type_signal+set}" = set; then
++
++cv=`echo "long long" | sed 'y%./+- %__p__%'`
++echo "$as_me:$LINENO: checking for long long" >&5
++echo $ECHO_N "checking for long long... $ECHO_C" >&6
++if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end 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 ()) ();
++#if STDC_HEADERS
++#include <stdlib.h>
++#include <stddef.h>
+ #endif
+ 
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+-int i;
++long long foo;
+   ;
+   return 0;
+ }
+@@ -12645,56 +25275,41 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_type_signal=void
++  eval "ac_cv_type_$cv=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_signal=int
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_type_$cv=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
+-echo "${ECHO_T}$ac_cv_type_signal" >&6
+-
+-cat >>confdefs.h <<_ACEOF
+-#define RETSIGTYPE $ac_cv_type_signal
+-_ACEOF
+-
+-
+-if test "$ac_cv_type_signal" = "void" ; then
+-
+-cat >>confdefs.h <<\_ACEOF
+-#define VOID_RETSIGTYPE 1
+-_ACEOF
+-
+-fi
+-
+-
+-
+-
+-echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
+-echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
+-if test "${ac_cv_header_time+set}" = set; then
++ac_foo=`eval echo \\$ac_cv_type_$cv`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++  ac_tr_hdr=HAVE_`echo long long | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
++if false; then
++	echo "$as_me:$LINENO: checking for long long" >&5
++echo $ECHO_N "checking for long long... $ECHO_C" >&6
++if test "${ac_cv_type_long_long+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-#include <sys/types.h>
+-#include <sys/time.h>
+-#include <time.h>
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
+ int
+ main ()
+ {
+-if ((struct tm *) 0)
+-return 0;
++if ((long long *) 0)
++  return 0;
++if (sizeof (long long))
++  return 0;
+   ;
+   return 0;
+ }
+@@ -12711,27 +25326,132 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_header_time=yes
++  ac_cv_type_long_long=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_header_time=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_long_long=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
+-echo "${ECHO_T}$ac_cv_header_time" >&6
+-if test $ac_cv_header_time = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
++echo "${ECHO_T}$ac_cv_type_long_long" >&6
++if test $ac_cv_type_long_long = yes; then
++
++cat >>confdefs.h <<_ACEOF
++#define HAVE_LONG_LONG 1
++_ACEOF
++
++
++fi
++
++fi
++
++cat >>confdefs.h <<_ACEOF
++#define $ac_tr_hdr 1
++_ACEOF
++
++fi
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
+ 
+-cat >>confdefs.h <<\_ACEOF
+-#define TIME_WITH_SYS_TIME 1
+-_ACEOF
+ 
+-fi
+ 
+ 
+ 
+-for ac_header in standards.h
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++for ac_header in \
++	arpa/inet.h				\
++	arpa/nameser.h				\
++	config.h				\
++	crypt.h					\
++	dirent.h				\
++	errno.h					\
++	err.h					\
++	fcntl.h					\
++	grp.h					\
++	ifaddrs.h				\
++	net/if.h				\
++	netdb.h					\
++	netinet/in.h				\
++	netinet/in6.h				\
++	netinet/in_systm.h			\
++	netinet6/in6.h				\
++	netinet6/in6_var.h			\
++	paths.h					\
++	pwd.h					\
++	resolv.h				\
++	rpcsvc/ypclnt.h				\
++	shadow.h				\
++	sys/bswap.h				\
++	sys/ioctl.h				\
++	sys/mman.h				\
++	sys/param.h				\
++	sys/proc.h				\
++	sys/resource.h				\
++	sys/socket.h				\
++	sys/sockio.h				\
++	sys/stat.h				\
++	sys/sysctl.h				\
++	sys/time.h				\
++	sys/tty.h				\
++	sys/types.h				\
++	sys/uio.h				\
++	sys/utsname.h				\
++	sys/wait.h				\
++	syslog.h				\
++	termios.h				\
++	unistd.h				\
++	userconf.h				\
++	usersec.h				\
++	util.h					\
++	vis.h					\
++
+ do
+ as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+ if eval "test \"\${$as_ac_Header+set}\" = set"; then
+@@ -12748,7 +25468,11 @@
+ echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ $ac_includes_default
+ #include <$ac_header>
+ _ACEOF
+@@ -12767,7 +25491,8 @@
+   ac_header_compiler=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ ac_header_compiler=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+@@ -12779,13 +25504,17 @@
+ echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ #include <$ac_header>
+ _ACEOF
+ if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
+   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+   ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
++  grep -v '^ *+' conftest.er1 >conftest.err
+   rm -f conftest.er1
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+@@ -12802,7 +25531,8 @@
+   ac_header_preproc=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-  cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+   ac_header_preproc=no
+ fi
+ rm -f conftest.err conftest.$ac_ext
+@@ -12815,14 +25545,32 @@
+     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
+ echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
+     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
+-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
++    (
++      cat <<\_ASBOX
++## ------------------------------------ ##
++## Report this to bug-autoconf@gnu.org. ##
++## ------------------------------------ ##
++_ASBOX
++    ) |
++      sed "s/^/$as_me: WARNING:     /" >&2
++    ;;
+   no:yes )
+     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
+ echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
+     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
+ echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
+     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
+-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
++    (
++      cat <<\_ASBOX
++## ------------------------------------ ##
++## Report this to bug-autoconf@gnu.org. ##
++## ------------------------------------ ##
++_ASBOX
++    ) |
++      sed "s/^/$as_me: WARNING:     /" >&2
++    ;;
+ esac
+ echo "$as_me:$LINENO: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+@@ -12844,183 +25592,120 @@
+ 
+ done
+ 
+-for i in netinet/ip.h netinet/tcp.h; do
+ 
+-cv=`echo "$i" | sed 'y%./+-%__p_%'`
+ 
+-echo "$as_me:$LINENO: checking for $i" >&5
+-echo $ECHO_N "checking for $i... $ECHO_C" >&6
+-if eval "test \"\${ac_cv_header_$cv+set}\" = set"; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  cat >conftest.$ac_ext <<_ACEOF
+-#line $LINENO "configure"
+-#include "confdefs.h"
+-\
+-#ifdef HAVE_STANDARDS_H
+-#include <standards.h>
+-#endif
+-#include <$i>
+ 
+-_ACEOF
+-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
+-  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+-  ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
+-  rm -f conftest.er1
+-  cat conftest.err >&5
+-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); } >/dev/null; then
+-  if test -s conftest.err; then
+-    ac_cpp_err=$ac_c_preproc_warn_flag
+-  else
+-    ac_cpp_err=
+-  fi
++
++
++if test "$ac_cv_header_err_h" = yes; then
++  have_err_h_TRUE=
++  have_err_h_FALSE='#'
+ else
+-  ac_cpp_err=yes
++  have_err_h_TRUE='#'
++  have_err_h_FALSE=
+ fi
+-if test -z "$ac_cpp_err"; then
+-  eval "ac_cv_header_$cv=yes"
++
++
++
++if test "$ac_cv_header_fnmatch_h" = yes; then
++  have_fnmatch_h_TRUE=
++  have_fnmatch_h_FALSE='#'
+ else
+-  echo "$as_me: failed program was:" >&5
+-  cat conftest.$ac_ext >&5
+-  eval "ac_cv_header_$cv=no"
++  have_fnmatch_h_TRUE='#'
++  have_fnmatch_h_FALSE=
+ fi
+-rm -f conftest.err conftest.$ac_ext
++
++
++
++if test "$ac_cv_header_ifaddrs_h" = yes; then
++  have_ifaddrs_h_TRUE=
++  have_ifaddrs_h_FALSE='#'
++else
++  have_ifaddrs_h_TRUE='#'
++  have_ifaddrs_h_FALSE=
+ fi
+-echo "$as_me:$LINENO: result: `eval echo '${'ac_cv_header_$cv'}'`" >&5
+-echo "${ECHO_T}`eval echo '${'ac_cv_header_$cv'}'`" >&6
+-ac_res=`eval echo \\$ac_cv_header_$cv`
+-if test "$ac_res" = yes; then
+-	ac_tr_hdr=HAVE_`echo $i | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
+-	cat >>confdefs.h <<_ACEOF
+-#define $ac_tr_hdr 1
+-_ACEOF
+ 
++
++
++if test "$ac_cv_header_vis_h" = yes; then
++  have_vis_h_TRUE=
++  have_vis_h_FALSE='#'
++else
++  have_vis_h_TRUE='#'
++  have_vis_h_FALSE=
+ fi
+-done
+-if false;then
+ 
+ 
+-for ac_header in netinet/ip.h netinet/tcp.h
+-do
+-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+-if eval "test \"\${$as_ac_Header+set}\" = set"; then
+-  echo "$as_me:$LINENO: checking for $ac_header" >&5
+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+-if eval "test \"\${$as_ac_Header+set}\" = set"; then
++
++
++
++
++
++echo "$as_me:$LINENO: checking for socket" >&5
++echo $ECHO_N "checking for socket... $ECHO_C" >&6
++if test "${ac_cv_funclib_socket+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+-fi
+-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
+-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
+ else
+-  # Is the header compilable?
+-echo "$as_me:$LINENO: checking $ac_header usability" >&5
+-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
+-cat >conftest.$ac_ext <<_ACEOF
++
++if eval "test \"\$ac_cv_func_socket\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" socket; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-$ac_includes_default
+-#include <$ac_header>
++/* confdefs.h.  */
+ _ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++socket()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
++         { ac_try='test -s conftest$ac_exeext'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_header_compiler=yes
+-else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_header_compiler=no
+-fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
+-echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
+-echo "${ECHO_T}$ac_header_compiler" >&6
+-
+-# Is the header present?
+-echo "$as_me:$LINENO: checking $ac_header presence" >&5
+-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
+-cat >conftest.$ac_ext <<_ACEOF
+-#line $LINENO "configure"
+-#include "confdefs.h"
+-#include <$ac_header>
+-_ACEOF
+-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
+-  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+-  ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
+-  rm -f conftest.er1
+-  cat conftest.err >&5
+-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); } >/dev/null; then
+-  if test -s conftest.err; then
+-    ac_cpp_err=$ac_c_preproc_warn_flag
+-  else
+-    ac_cpp_err=
+-  fi
+-else
+-  ac_cpp_err=yes
+-fi
+-if test -z "$ac_cpp_err"; then
+-  ac_header_preproc=yes
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_socket=$ac_lib; else ac_cv_funclib_socket=yes; fi";break
+ else
+   echo "$as_me: failed program was:" >&5
+-  cat conftest.$ac_ext >&5
+-  ac_header_preproc=no
+-fi
+-rm -f conftest.err conftest.$ac_ext
+-echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+-echo "${ECHO_T}$ac_header_preproc" >&6
+-
+-# So?  What about this header?
+-case $ac_header_compiler:$ac_header_preproc in
+-  yes:no )
+-    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
+-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
+-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
+-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
+-  no:yes )
+-    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
+-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
+-    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
+-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
+-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
+-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
+-esac
+-echo "$as_me:$LINENO: checking for $ac_header" >&5
+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+-if eval "test \"\${$as_ac_Header+set}\" = set"; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  eval "$as_ac_Header=$ac_header_preproc"
+-fi
+-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
+-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++sed 's/^/| /' conftest.$ac_ext >&5
+ 
+ fi
+-if test `eval echo '${'$as_ac_Header'}'` = yes; then
+-  cat >>confdefs.h <<_ACEOF
+-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
+-_ACEOF
+-
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_socket=\${ac_cv_funclib_socket-no}"
++	LIBS="$ac_save_LIBS"
+ fi
+ 
+-done
+-
+ fi
+ 
+ 
++eval "ac_res=\$ac_cv_funclib_socket"
+ 
++if false; then
+ 
+-for ac_func in getlogin setlogin
++for ac_func in socket
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ echo "$as_me:$LINENO: checking for $ac_func" >&5
+@@ -13030,37 +25715,44 @@
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char $ac_func (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+ char $ac_func ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
+ /* The GNU C library defines this for functions which it implements
+     to always fail with ENOSYS.  Some functions are actually named
+     something starting with __ and the normal name is an alias.  */
+ #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
+ choke me
+ #else
+-f = $ac_func;
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != $ac_func;
+   ;
+   return 0;
+ }
+@@ -13080,7 +25772,8 @@
+   eval "$as_ac_var=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ eval "$as_ac_var=no"
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+@@ -13095,148 +25788,119 @@
+ fi
+ done
+ 
+-if test "$ac_cv_func_getlogin" = yes; then
+-echo "$as_me:$LINENO: checking if getlogin is posix" >&5
+-echo $ECHO_N "checking if getlogin is posix... $ECHO_C" >&6
+-if test "${ac_cv_func_getlogin_posix+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-
+-if test "$ac_cv_func_getlogin" = yes -a "$ac_cv_func_setlogin" = yes; then
+-	ac_cv_func_getlogin_posix=no
+-else
+-	ac_cv_func_getlogin_posix=yes
+ fi
++# socket
++eval "ac_tr_func=HAVE_`echo socket | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_socket=$ac_res"
+ 
+-fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_getlogin_posix" >&5
+-echo "${ECHO_T}$ac_cv_func_getlogin_posix" >&6
+-if test "$ac_cv_func_getlogin_posix" = yes; then
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_socket=yes"
++	eval "LIB_socket="
++	cat >>confdefs.h <<_ACEOF
++#define $ac_tr_func 1
++_ACEOF
+ 
+-cat >>confdefs.h <<\_ACEOF
+-#define POSIX_GETLOGIN 1
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_socket=no"
++	eval "LIB_socket="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_socket=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++#define $ac_tr_func 1
+ _ACEOF
+ 
+-fi
++	cat >>confdefs.h <<_ACEOF
++#define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_socket"; then
++	LIBS="$LIB_socket $LIBS"
+ fi
+ 
+ 
+ 
+-for ac_header in stdlib.h unistd.h
+-do
+-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+-if eval "test \"\${$as_ac_Header+set}\" = set"; then
+-  echo "$as_me:$LINENO: checking for $ac_header" >&5
+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+-if eval "test \"\${$as_ac_Header+set}\" = set"; then
++
++
++echo "$as_me:$LINENO: checking for gethostbyname" >&5
++echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
++if test "${ac_cv_funclib_gethostbyname+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+-fi
+-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
+-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
+ else
+-  # Is the header compilable?
+-echo "$as_me:$LINENO: checking $ac_header usability" >&5
+-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
+-cat >conftest.$ac_ext <<_ACEOF
++
++if eval "test \"\$ac_cv_func_gethostbyname\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" nsl; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-$ac_includes_default
+-#include <$ac_header>
++/* confdefs.h.  */
+ _ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++gethostbyname()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
++         { ac_try='test -s conftest$ac_exeext'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_header_compiler=yes
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_gethostbyname=$ac_lib; else ac_cv_funclib_gethostbyname=yes; fi";break
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_header_compiler=no
+-fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
+-echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
+-echo "${ECHO_T}$ac_header_compiler" >&6
++sed 's/^/| /' conftest.$ac_ext >&5
+ 
+-# Is the header present?
+-echo "$as_me:$LINENO: checking $ac_header presence" >&5
+-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
+-cat >conftest.$ac_ext <<_ACEOF
+-#line $LINENO "configure"
+-#include "confdefs.h"
+-#include <$ac_header>
+-_ACEOF
+-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
+-  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+-  ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
+-  rm -f conftest.er1
+-  cat conftest.err >&5
+-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); } >/dev/null; then
+-  if test -s conftest.err; then
+-    ac_cpp_err=$ac_c_preproc_warn_flag
+-  else
+-    ac_cpp_err=
+-  fi
+-else
+-  ac_cpp_err=yes
+-fi
+-if test -z "$ac_cpp_err"; then
+-  ac_header_preproc=yes
+-else
+-  echo "$as_me: failed program was:" >&5
+-  cat conftest.$ac_ext >&5
+-  ac_header_preproc=no
+ fi
+-rm -f conftest.err conftest.$ac_ext
+-echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+-echo "${ECHO_T}$ac_header_preproc" >&6
+-
+-# So?  What about this header?
+-case $ac_header_compiler:$ac_header_preproc in
+-  yes:no )
+-    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
+-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
+-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
+-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
+-  no:yes )
+-    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
+-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
+-    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
+-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
+-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
+-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
+-esac
+-echo "$as_me:$LINENO: checking for $ac_header" >&5
+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+-if eval "test \"\${$as_ac_Header+set}\" = set"; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  eval "$as_ac_Header=$ac_header_preproc"
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_gethostbyname=\${ac_cv_funclib_gethostbyname-no}"
++	LIBS="$ac_save_LIBS"
+ fi
+-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
+-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
+ 
+ fi
+-if test `eval echo '${'$as_ac_Header'}'` = yes; then
+-  cat >>confdefs.h <<_ACEOF
+-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
+-_ACEOF
+ 
+-fi
+ 
+-done
++eval "ac_res=\$ac_cv_funclib_gethostbyname"
+ 
++if false; then
+ 
+-for ac_func in getpagesize
++for ac_func in gethostbyname
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ echo "$as_me:$LINENO: checking for $ac_func" >&5
+@@ -13246,37 +25910,44 @@
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char $ac_func (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+ char $ac_func ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
+ /* The GNU C library defines this for functions which it implements
+     to always fail with ENOSYS.  Some functions are actually named
+     something starting with __ and the normal name is an alias.  */
+ #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
+ choke me
+ #else
+-f = $ac_func;
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != $ac_func;
+   ;
+   return 0;
+ }
+@@ -13296,7 +25967,8 @@
+   eval "$as_ac_var=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ eval "$as_ac_var=no"
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+@@ -13311,772 +25983,749 @@
+ fi
+ done
+ 
+-echo "$as_me:$LINENO: checking for working mmap" >&5
+-echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
+-if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  if test "$cross_compiling" = yes; then
+-  ac_cv_func_mmap_fixed_mapped=no
+-else
+-  cat >conftest.$ac_ext <<_ACEOF
+-#line $LINENO "configure"
+-#include "confdefs.h"
+-$ac_includes_default
+-/* malloc might have been renamed as rpl_malloc. */
+-#undef malloc
++fi
++# gethostbyname
++eval "ac_tr_func=HAVE_`echo gethostbyname | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_gethostbyname=$ac_res"
+ 
+-/* Thanks to Mike Haertel and Jim Avera for this test.
+-   Here is a matrix of mmap possibilities:
+-	mmap private not fixed
+-	mmap private fixed at somewhere currently unmapped
+-	mmap private fixed at somewhere already mapped
+-	mmap shared not fixed
+-	mmap shared fixed at somewhere currently unmapped
+-	mmap shared fixed at somewhere already mapped
+-   For private mappings, we should verify that changes cannot be read()
+-   back from the file, nor mmap's back from the file at a different
+-   address.  (There have been systems where private was not correctly
+-   implemented like the infamous i386 svr4.0, and systems where the
+-   VM page cache was not coherent with the file system buffer cache
+-   like early versions of FreeBSD and possibly contemporary NetBSD.)
+-   For shared mappings, we should conversely verify that changes get
+-   propagated back to all the places they're supposed to be.
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_gethostbyname=yes"
++	eval "LIB_gethostbyname="
++	cat >>confdefs.h <<_ACEOF
++#define $ac_tr_func 1
++_ACEOF
+ 
+-   Grep wants private fixed already mapped.
+-   The main things grep needs to know about mmap are:
+-   * does it exist and is it safe to write into the mmap'd area
+-   * how to use it (BSD variants)  */
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_gethostbyname=no"
++	eval "LIB_gethostbyname="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_gethostbyname=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++#define $ac_tr_func 1
++_ACEOF
+ 
+-#include <fcntl.h>
+-#include <sys/mman.h>
++	cat >>confdefs.h <<_ACEOF
++#define $ac_tr_lib 1
++_ACEOF
+ 
+-#if !STDC_HEADERS && !HAVE_STDLIB_H
+-char *malloc ();
+-#endif
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
+ 
+-/* This mess was copied from the GNU getpagesize.h.  */
+-#if !HAVE_GETPAGESIZE
+-/* Assume that all systems that can run configure have sys/param.h.  */
+-# if !HAVE_SYS_PARAM_H
+-#  define HAVE_SYS_PARAM_H 1
+-# endif
+ 
+-# ifdef _SC_PAGESIZE
+-#  define getpagesize() sysconf(_SC_PAGESIZE)
+-# else /* no _SC_PAGESIZE */
+-#  if HAVE_SYS_PARAM_H
+-#   include <sys/param.h>
+-#   ifdef EXEC_PAGESIZE
+-#    define getpagesize() EXEC_PAGESIZE
+-#   else /* no EXEC_PAGESIZE */
+-#    ifdef NBPG
+-#     define getpagesize() NBPG * CLSIZE
+-#     ifndef CLSIZE
+-#      define CLSIZE 1
+-#     endif /* no CLSIZE */
+-#    else /* no NBPG */
+-#     ifdef NBPC
+-#      define getpagesize() NBPC
+-#     else /* no NBPC */
+-#      ifdef PAGESIZE
+-#       define getpagesize() PAGESIZE
+-#      endif /* PAGESIZE */
+-#     endif /* no NBPC */
+-#    endif /* no NBPG */
+-#   endif /* no EXEC_PAGESIZE */
+-#  else /* no HAVE_SYS_PARAM_H */
+-#   define getpagesize() 8192	/* punt totally */
+-#  endif /* no HAVE_SYS_PARAM_H */
+-# endif /* no _SC_PAGESIZE */
++if test -n "$LIB_gethostbyname"; then
++	LIBS="$LIB_gethostbyname $LIBS"
++fi
+ 
+-#endif /* no HAVE_GETPAGESIZE */
+ 
+-int
+-main ()
+-{
+-  char *data, *data2, *data3;
+-  int i, pagesize;
+-  int fd;
+ 
+-  pagesize = getpagesize ();
+ 
+-  /* First, make a file with some known garbage in it. */
+-  data = (char *) malloc (pagesize);
+-  if (!data)
+-    exit (1);
+-  for (i = 0; i < pagesize; ++i)
+-    *(data + i) = rand ();
+-  umask (0);
+-  fd = creat ("conftest.mmap", 0600);
+-  if (fd < 0)
+-    exit (1);
+-  if (write (fd, data, pagesize) != pagesize)
+-    exit (1);
+-  close (fd);
+ 
+-  /* Next, try to mmap the file at a fixed address which already has
+-     something else allocated at it.  If we can, also make sure that
+-     we see the same garbage.  */
+-  fd = open ("conftest.mmap", O_RDWR);
+-  if (fd < 0)
+-    exit (1);
+-  data2 = (char *) malloc (2 * pagesize);
+-  if (!data2)
+-    exit (1);
+-  data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
+-  if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
+-                     MAP_PRIVATE | MAP_FIXED, fd, 0L))
+-    exit (1);
+-  for (i = 0; i < pagesize; ++i)
+-    if (*(data + i) != *(data2 + i))
+-      exit (1);
++echo "$as_me:$LINENO: checking for syslog" >&5
++echo $ECHO_N "checking for syslog... $ECHO_C" >&6
++if test "${ac_cv_funclib_syslog+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
+ 
+-  /* Finally, make sure that changes to the mapped area do not
+-     percolate back to the file as seen by read().  (This is a bug on
+-     some variants of i386 svr4.0.)  */
+-  for (i = 0; i < pagesize; ++i)
+-    *(data2 + i) = *(data2 + i) + 1;
+-  data3 = (char *) malloc (pagesize);
+-  if (!data3)
+-    exit (1);
+-  if (read (fd, data3, pagesize) != pagesize)
+-    exit (1);
+-  for (i = 0; i < pagesize; ++i)
+-    if (*(data + i) != *(data3 + i))
+-      exit (1);
+-  close (fd);
+-  exit (0);
++if eval "test \"\$ac_cv_func_syslog\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" syslog; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++syslog()
++  ;
++  return 0;
+ }
+ _ACEOF
+-rm -f conftest$ac_exeext
++rm -f conftest.$ac_objext conftest$ac_exeext
+ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_func_mmap_fixed_mapped=yes
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_syslog=$ac_lib; else ac_cv_funclib_syslog=yes; fi";break
+ else
+-  echo "$as_me: program exited with status $ac_status" >&5
+-echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-( exit $ac_status )
+-ac_cv_func_mmap_fixed_mapped=no
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ fi
+-rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_syslog=\${ac_cv_funclib_syslog-no}"
++	LIBS="$ac_save_LIBS"
+ fi
++
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
+-echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
+-if test $ac_cv_func_mmap_fixed_mapped = yes; then
+ 
+-cat >>confdefs.h <<\_ACEOF
+-#define HAVE_MMAP 1
+-_ACEOF
+ 
+-fi
+-rm -f conftest.mmap
++eval "ac_res=\$ac_cv_funclib_syslog"
+ 
++if false; then
+ 
+-echo "$as_me:$LINENO: checking if realloc if broken" >&5
+-echo $ECHO_N "checking if realloc if broken... $ECHO_C" >&6
+-if test "${ac_cv_func_realloc_broken+set}" = set; then
++for ac_func in syslog
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-
+-ac_cv_func_realloc_broken=no
+-if test "$cross_compiling" = yes; then
+-  :
+-else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-
+-#include <stddef.h>
+-#include <stdlib.h>
+-
+-int main()
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
+ {
+-	return realloc(NULL, 17) == NULL;
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
+ }
++#endif
+ 
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
+ _ACEOF
+-rm -f conftest$ac_exeext
++rm -f conftest.$ac_objext conftest$ac_exeext
+ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+   (eval $ac_link) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  :
++  eval "$as_ac_var=yes"
+ else
+-  echo "$as_me: program exited with status $ac_status" >&5
+-echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-( exit $ac_status )
+-ac_cv_func_realloc_broken=yes
+-fi
+-rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
+-fi
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
+ 
++eval "$as_ac_var=no"
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_realloc_broken" >&5
+-echo "${ECHO_T}$ac_cv_func_realloc_broken" >&6
+-if test "$ac_cv_func_realloc_broken" = yes ; then
+-
+-cat >>confdefs.h <<\_ACEOF
+-#define BROKEN_REALLOC 1
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+ _ACEOF
+ 
+ fi
++done
+ 
++fi
++# syslog
++eval "ac_tr_func=HAVE_`echo syslog | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_syslog=$ac_res"
+ 
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_syslog=yes"
++	eval "LIB_syslog="
++	cat >>confdefs.h <<_ACEOF
++#define $ac_tr_func 1
++_ACEOF
+ 
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_syslog=no"
++	eval "LIB_syslog="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_syslog=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++#define $ac_tr_func 1
++_ACEOF
+ 
++	cat >>confdefs.h <<_ACEOF
++#define $ac_tr_lib 1
++_ACEOF
+ 
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
+ 
+ 
+-DIR_roken=roken
+-LIB_roken='$(top_builddir)/lib/roken/libroken.la'
+-INCLUDES_roken='-I$(top_builddir)/lib/roken -I$(top_srcdir)/lib/roken'
+-
+-
+-
+-
+-
+-
+-
++if test -n "$LIB_syslog"; then
++	LIBS="$LIB_syslog $LIBS"
++fi
+ 
+ 
+ 
+ 
++# Check whether --with-ipv6 or --without-ipv6 was given.
++if test "${with_ipv6+set}" = set; then
++  withval="$with_ipv6"
+ 
++if test "$withval" = "no"; then
++	ac_cv_lib_ipv6=no
++fi
++fi;
++save_CFLAGS="${CFLAGS}"
++echo "$as_me:$LINENO: checking for IPv6 stack type" >&5
++echo $ECHO_N "checking for IPv6 stack type... $ECHO_C" >&6
++if test "${v6type+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  v6type=unknown
++v6lib=none
+ 
++for i in v6d toshiba kame inria zeta linux; do
++	case $i in
++	v6d)
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ 
+-WFLAGS_NOUNUSED=""
+-WFLAGS_NOIMPLICITINT=""
+-if test -z "$WFLAGS" -a "$GCC" = "yes"; then
+-  # -Wno-implicit-int for broken X11 headers
+-  # leave these out for now:
+-  #   -Wcast-align doesn't work well on alpha osf/1
+-  #   -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast
+-  #   -Wmissing-declarations -Wnested-externs
+-  WFLAGS="-Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs"
+-  WFLAGS_NOUNUSED="-Wno-unused"
+-  WFLAGS_NOIMPLICITINT="-Wno-implicit-int"
++#include </usr/local/v6/include/sys/types.h>
++#ifdef __V6D__
++yes
++#endif
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  $EGREP "yes" >/dev/null 2>&1; then
++  v6type=$i; v6lib=v6;
++			v6libdir=/usr/local/v6/lib;
++			CFLAGS="-I/usr/local/v6/include $CFLAGS"
+ fi
++rm -f conftest*
+ 
++		;;
++	toshiba)
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ 
++#include <sys/param.h>
++#ifdef _TOSHIBA_INET6
++yes
++#endif
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  $EGREP "yes" >/dev/null 2>&1; then
++  v6type=$i; v6lib=inet6;
++			v6libdir=/usr/local/v6/lib;
++			CFLAGS="-DINET6 $CFLAGS"
++fi
++rm -f conftest*
+ 
++		;;
++	kame)
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ 
++#include <netinet/in.h>
++#ifdef __KAME__
++yes
++#endif
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  $EGREP "yes" >/dev/null 2>&1; then
++  v6type=$i; v6lib=inet6;
++			v6libdir=/usr/local/v6/lib;
++			CFLAGS="-DINET6 $CFLAGS"
++fi
++rm -f conftest*
+ 
++		;;
++	inria)
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ 
++#include <netinet/in.h>
++#ifdef IPV6_INRIA_VERSION
++yes
++#endif
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  $EGREP "yes" >/dev/null 2>&1; then
++  v6type=$i; CFLAGS="-DINET6 $CFLAGS"
++fi
++rm -f conftest*
+ 
+-
+-cv=`echo "ssize_t" | sed 'y%./+- %__p__%'`
+-echo "$as_me:$LINENO: checking for ssize_t" >&5
+-echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
+-if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  cat >conftest.$ac_ext <<_ACEOF
++		;;
++	zeta)
++		cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-#include <sys/types.h>
+-#if STDC_HEADERS
+-#include <stdlib.h>
+-#include <stddef.h>
+-#endif
+-#include <unistd.h>
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#include <sys/param.h>
++#ifdef _ZETA_MINAMI_INET6
++yes
+ #endif
+-int
+-main ()
+-{
+-ssize_t foo;
+-  ;
+-  return 0;
+-}
+ _ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
+-  eval "ac_cv_type_$cv=yes"
+-else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_type_$cv=no"
+-fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  $EGREP "yes" >/dev/null 2>&1; then
++  v6type=$i; v6lib=inet6;
++			v6libdir=/usr/local/v6/lib;
++			CFLAGS="-DINET6 $CFLAGS"
+ fi
+-ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:$LINENO: result: $ac_foo" >&5
+-echo "${ECHO_T}$ac_foo" >&6
+-if test "$ac_foo" = yes; then
+-  ac_tr_hdr=HAVE_`echo ssize_t | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+-if false; then
+-	echo "$as_me:$LINENO: checking for ssize_t" >&5
+-echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
+-if test "${ac_cv_type_ssize_t+set}" = set; then
++rm -f conftest*
++
++		;;
++	linux)
++		if test -d /usr/inet6; then
++			v6type=$i
++			v6lib=inet6
++			v6libdir=/usr/inet6
++			CFLAGS="-DINET6 $CFLAGS"
++		fi
++		;;
++	esac
++	if test "$v6type" != "unknown"; then
++		break
++	fi
++done
++
++if test "$v6lib" != "none"; then
++	for dir in $v6libdir /usr/local/v6/lib /usr/local/lib; do
++		if test -d $dir -a -f $dir/lib$v6lib.a; then
++			LIBS="-L$dir -l$v6lib $LIBS"
++			break
++		fi
++	done
++fi
++
++fi
++echo "$as_me:$LINENO: result: $v6type" >&5
++echo "${ECHO_T}$v6type" >&6
++
++echo "$as_me:$LINENO: checking for IPv6" >&5
++echo $ECHO_N "checking for IPv6... $ECHO_C" >&6
++if test "${ac_cv_lib_ipv6+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<_ACEOF
++
++cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-$ac_includes_default
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_NETINET_IN6_H
++#include <netinet/in6.h>
+ #endif
++
+ int
+ main ()
+ {
+-if ((ssize_t *) 0)
+-  return 0;
+-if (sizeof (ssize_t))
+-  return 0;
++
++ struct sockaddr_in6 sin6;
++ int s;
++
++ s = socket(AF_INET6, SOCK_DGRAM, 0);
++
++ sin6.sin6_family = AF_INET6;
++ sin6.sin6_port = htons(17);
++ sin6.sin6_addr = in6addr_any;
++ bind(s, (struct sockaddr *)&sin6, sizeof(sin6));
++
+   ;
+   return 0;
+ }
+ _ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
++         { ac_try='test -s conftest$ac_exeext'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_type_ssize_t=yes
++  ac_cv_lib_ipv6=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_ssize_t=no
+-fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
+-fi
+-echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
+-echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
+-if test $ac_cv_type_ssize_t = yes; then
+-
+-cat >>confdefs.h <<_ACEOF
+-#define HAVE_SSIZE_T 1
+-_ACEOF
+-
++sed 's/^/| /' conftest.$ac_ext >&5
+ 
++ac_cv_lib_ipv6=no
+ fi
+-
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_ipv6" >&5
++echo "${ECHO_T}$ac_cv_lib_ipv6" >&6
++if test "$ac_cv_lib_ipv6" = yes; then
+ 
+-cat >>confdefs.h <<_ACEOF
+-#define $ac_tr_hdr 1
++cat >>confdefs.h <<\_ACEOF
++#define HAVE_IPV6 1
+ _ACEOF
+ 
++else
++  CFLAGS="${save_CFLAGS}"
+ fi
+ 
+-
+-
+-
+-
+-cv=`echo "long long" | sed 'y%./+- %__p__%'`
+-echo "$as_me:$LINENO: checking for long long" >&5
+-echo $ECHO_N "checking for long long... $ECHO_C" >&6
+-if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
++if test "$ac_cv_lib_ipv6" = yes; then
++	echo "$as_me:$LINENO: checking for in6addr_loopback" >&5
++echo $ECHO_N "checking for in6addr_loopback... $ECHO_C" >&6
++if test "${ac_cv_var_in6addr_loopback+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<_ACEOF
++
++	cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#ifdef HAVE_SYS_TYPES_H
+ #include <sys/types.h>
+-#if STDC_HEADERS
+-#include <stdlib.h>
+-#include <stddef.h>
+ #endif
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_NETINET_IN6_H
++#include <netinet/in6.h>
+ #endif
+ int
+ main ()
+ {
+-long long foo;
++
++struct sockaddr_in6 sin6;
++sin6.sin6_addr = in6addr_loopback;
++
+   ;
+   return 0;
+ }
+ _ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
++         { ac_try='test -s conftest$ac_exeext'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "ac_cv_type_$cv=yes"
++  ac_cv_var_in6addr_loopback=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_type_$cv=no"
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_var_in6addr_loopback=no
+ fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:$LINENO: result: $ac_foo" >&5
+-echo "${ECHO_T}$ac_foo" >&6
+-if test "$ac_foo" = yes; then
+-  ac_tr_hdr=HAVE_`echo long long | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+-if false; then
+-	echo "$as_me:$LINENO: checking for long long" >&5
+-echo $ECHO_N "checking for long long... $ECHO_C" >&6
+-if test "${ac_cv_type_long_long+set}" = set; then
++echo "$as_me:$LINENO: result: $ac_cv_var_in6addr_loopback" >&5
++echo "${ECHO_T}$ac_cv_var_in6addr_loopback" >&6
++	if test "$ac_cv_var_in6addr_loopback" = yes; then
++
++cat >>confdefs.h <<\_ACEOF
++#define HAVE_IN6ADDR_LOOPBACK 1
++_ACEOF
++
++	fi
++fi
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for gethostbyname2" >&5
++echo $ECHO_N "checking for gethostbyname2... $ECHO_C" >&6
++if test "${ac_cv_funclib_gethostbyname2+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<_ACEOF
++
++if eval "test \"\$ac_cv_func_gethostbyname2\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" inet6 ip6; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-$ac_includes_default
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
+ int
+ main ()
+ {
+-if ((long long *) 0)
+-  return 0;
+-if (sizeof (long long))
+-  return 0;
++gethostbyname2()
+   ;
+   return 0;
+ }
+ _ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
++         { ac_try='test -s conftest$ac_exeext'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_type_long_long=yes
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_gethostbyname2=$ac_lib; else ac_cv_funclib_gethostbyname2=yes; fi";break
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_long_long=no
+-fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
+-fi
+-echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
+-echo "${ECHO_T}$ac_cv_type_long_long" >&6
+-if test $ac_cv_type_long_long = yes; then
+-
+-cat >>confdefs.h <<_ACEOF
+-#define HAVE_LONG_LONG 1
+-_ACEOF
+-
++sed 's/^/| /' conftest.$ac_ext >&5
+ 
+ fi
+-
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_gethostbyname2=\${ac_cv_funclib_gethostbyname2-no}"
++	LIBS="$ac_save_LIBS"
+ fi
+ 
+-cat >>confdefs.h <<_ACEOF
+-#define $ac_tr_hdr 1
+-_ACEOF
+-
+ fi
+ 
+ 
++eval "ac_res=\$ac_cv_funclib_gethostbyname2"
+ 
++if false; then
+ 
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-for ac_header in \
+-	arpa/inet.h				\
+-	arpa/nameser.h				\
+-	config.h				\
+-	crypt.h					\
+-	dirent.h				\
+-	errno.h					\
+-	err.h					\
+-	fcntl.h					\
+-	grp.h					\
+-	ifaddrs.h				\
+-	net/if.h				\
+-	netdb.h					\
+-	netinet/in.h				\
+-	netinet/in6.h				\
+-	netinet/in_systm.h			\
+-	netinet6/in6.h				\
+-	netinet6/in6_var.h			\
+-	paths.h					\
+-	pwd.h					\
+-	resolv.h				\
+-	rpcsvc/ypclnt.h				\
+-	shadow.h				\
+-	sys/bswap.h				\
+-	sys/ioctl.h				\
+-	sys/mman.h				\
+-	sys/param.h				\
+-	sys/proc.h				\
+-	sys/resource.h				\
+-	sys/socket.h				\
+-	sys/sockio.h				\
+-	sys/stat.h				\
+-	sys/sysctl.h				\
+-	sys/time.h				\
+-	sys/tty.h				\
+-	sys/types.h				\
+-	sys/uio.h				\
+-	sys/utsname.h				\
+-	sys/wait.h				\
+-	syslog.h				\
+-	termios.h				\
+-	unistd.h				\
+-	userconf.h				\
+-	usersec.h				\
+-	util.h					\
+-	vis.h					\
+-
++for ac_func in gethostbyname2
+ do
+-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+-if eval "test \"\${$as_ac_Header+set}\" = set"; then
+-  echo "$as_me:$LINENO: checking for $ac_header" >&5
+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+-if eval "test \"\${$as_ac_Header+set}\" = set"; then
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+-fi
+-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
+-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
+ else
+-  # Is the header compilable?
+-echo "$as_me:$LINENO: checking $ac_header usability" >&5
+-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
+-cat >conftest.$ac_ext <<_ACEOF
++  cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-$ac_includes_default
+-#include <$ac_header>
++/* confdefs.h.  */
+ _ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
++         { ac_try='test -s conftest$ac_exeext'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_header_compiler=yes
+-else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_header_compiler=no
+-fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
+-echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
+-echo "${ECHO_T}$ac_header_compiler" >&6
+-
+-# Is the header present?
+-echo "$as_me:$LINENO: checking $ac_header presence" >&5
+-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
+-cat >conftest.$ac_ext <<_ACEOF
+-#line $LINENO "configure"
+-#include "confdefs.h"
+-#include <$ac_header>
+-_ACEOF
+-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
+-  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+-  ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
+-  rm -f conftest.er1
+-  cat conftest.err >&5
+-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); } >/dev/null; then
+-  if test -s conftest.err; then
+-    ac_cpp_err=$ac_c_preproc_warn_flag
+-  else
+-    ac_cpp_err=
+-  fi
+-else
+-  ac_cpp_err=yes
+-fi
+-if test -z "$ac_cpp_err"; then
+-  ac_header_preproc=yes
++  eval "$as_ac_var=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-  cat conftest.$ac_ext >&5
+-  ac_header_preproc=no
+-fi
+-rm -f conftest.err conftest.$ac_ext
+-echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+-echo "${ECHO_T}$ac_header_preproc" >&6
++sed 's/^/| /' conftest.$ac_ext >&5
+ 
+-# So?  What about this header?
+-case $ac_header_compiler:$ac_header_preproc in
+-  yes:no )
+-    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
+-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
+-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
+-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
+-  no:yes )
+-    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
+-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
+-    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
+-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
+-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
+-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
+-esac
+-echo "$as_me:$LINENO: checking for $ac_header" >&5
+-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+-if eval "test \"\${$as_ac_Header+set}\" = set"; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  eval "$as_ac_Header=$ac_header_preproc"
++eval "$as_ac_var=no"
+ fi
+-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
+-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
+-
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-if test `eval echo '${'$as_ac_Header'}'` = yes; then
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
+   cat >>confdefs.h <<_ACEOF
+-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
++#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+ _ACEOF
+ 
+ fi
+-
+ done
+ 
+-
+-
+-
+-
+-
+-if test "$ac_cv_header_err_h" = yes; then
+-  have_err_h_TRUE=
+-  have_err_h_FALSE='#'
+-else
+-  have_err_h_TRUE='#'
+-  have_err_h_FALSE=
+-fi
+-
+-
+-
+-if test "$ac_cv_header_fnmatch_h" = yes; then
+-  have_fnmatch_h_TRUE=
+-  have_fnmatch_h_FALSE='#'
+-else
+-  have_fnmatch_h_TRUE='#'
+-  have_fnmatch_h_FALSE=
+ fi
++# gethostbyname2
++eval "ac_tr_func=HAVE_`echo gethostbyname2 | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_gethostbyname2=$ac_res"
+ 
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_gethostbyname2=yes"
++	eval "LIB_gethostbyname2="
++	cat >>confdefs.h <<_ACEOF
++#define $ac_tr_func 1
++_ACEOF
+ 
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_gethostbyname2=no"
++	eval "LIB_gethostbyname2="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_gethostbyname2=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++#define $ac_tr_func 1
++_ACEOF
+ 
+-if test "$ac_cv_header_ifaddrs_h" = yes; then
+-  have_ifaddrs_h_TRUE=
+-  have_ifaddrs_h_FALSE='#'
+-else
+-  have_ifaddrs_h_TRUE='#'
+-  have_ifaddrs_h_FALSE=
+-fi
++	cat >>confdefs.h <<_ACEOF
++#define $ac_tr_lib 1
++_ACEOF
+ 
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
+ 
+ 
+-if test "$ac_cv_header_vis_h" = yes; then
+-  have_vis_h_TRUE=
+-  have_vis_h_FALSE='#'
+-else
+-  have_vis_h_TRUE='#'
+-  have_vis_h_FALSE=
++if test -n "$LIB_gethostbyname2"; then
++	LIBS="$LIB_gethostbyname2 $LIBS"
+ fi
+ 
+ 
+@@ -14084,16 +26733,15 @@
+ 
+ 
+ 
+-
+-echo "$as_me:$LINENO: checking for socket" >&5
+-echo $ECHO_N "checking for socket... $ECHO_C" >&6
+-if test "${ac_cv_funclib_socket+set}" = set; then
++echo "$as_me:$LINENO: checking for res_search" >&5
++echo $ECHO_N "checking for res_search... $ECHO_C" >&6
++if test "${ac_cv_funclib_res_search+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-if eval "test \"\$ac_cv_func_socket\" != yes" ; then
++if eval "test \"\$ac_cv_func_res_search\" != yes" ; then
+ 	ac_save_LIBS="$LIBS"
+-	for ac_lib in "" socket; do
++	for ac_lib in "" resolv; do
+ 		case "$ac_lib" in
+ 		"") ;;
+ 		yes) ac_lib="" ;;
+@@ -14104,18 +26752,30 @@
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ 
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
++#include <stdio.h>
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
+ #endif
++#ifdef HAVE_ARPA_NAMESER_H
++#include <arpa/nameser.h>
++#endif
++#ifdef HAVE_RESOLV_H
++#include <resolv.h>
++#endif
++
+ int
+ main ()
+ {
+-socket()
++res_search(0,0,0,0,0)
+   ;
+   return 0;
+ }
+@@ -14132,25 +26792,26 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "if test -n \"$ac_lib\";then ac_cv_funclib_socket=$ac_lib; else ac_cv_funclib_socket=yes; fi";break
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_res_search=$ac_lib; else ac_cv_funclib_res_search=yes; fi";break
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ 	done
+-	eval "ac_cv_funclib_socket=\${ac_cv_funclib_socket-no}"
++	eval "ac_cv_funclib_res_search=\${ac_cv_funclib_res_search-no}"
+ 	LIBS="$ac_save_LIBS"
+ fi
+ 
+ fi
+ 
+ 
+-eval "ac_res=\$ac_cv_funclib_socket"
++eval "ac_res=\$ac_cv_funclib_res_search"
+ 
+ if false; then
+ 
+-for ac_func in socket
++for ac_func in res_search
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ echo "$as_me:$LINENO: checking for $ac_func" >&5
+@@ -14160,37 +26821,44 @@
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char $ac_func (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+ char $ac_func ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
+ /* The GNU C library defines this for functions which it implements
+     to always fail with ENOSYS.  Some functions are actually named
+     something starting with __ and the normal name is an alias.  */
+ #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
+ choke me
+ #else
+-f = $ac_func;
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != $ac_func;
+   ;
+   return 0;
+ }
+@@ -14210,7 +26878,8 @@
+   eval "$as_ac_var=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ eval "$as_ac_var=no"
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+@@ -14226,15 +26895,15 @@
+ done
+ 
+ fi
+-# socket
+-eval "ac_tr_func=HAVE_`echo socket | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++# res_search
++eval "ac_tr_func=HAVE_`echo res_search | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
+ eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
+-eval "LIB_socket=$ac_res"
++eval "LIB_res_search=$ac_res"
+ 
+ case "$ac_res" in
+ 	yes)
+-	eval "ac_cv_func_socket=yes"
+-	eval "LIB_socket="
++	eval "ac_cv_func_res_search=yes"
++	eval "LIB_res_search="
+ 	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+ _ACEOF
+@@ -14243,13 +26912,13 @@
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+-	eval "ac_cv_func_socket=no"
+-	eval "LIB_socket="
++	eval "ac_cv_func_res_search=no"
++	eval "LIB_res_search="
+ 	echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+-	eval "ac_cv_func_socket=yes"
++	eval "ac_cv_func_res_search=yes"
+ 	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
+ 	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+@@ -14265,23 +26934,24 @@
+ esac
+ 
+ 
+-if test -n "$LIB_socket"; then
+-	LIBS="$LIB_socket $LIBS"
++if test -n "$LIB_res_search"; then
++	LIBS="$LIB_res_search $LIBS"
+ fi
+ 
+ 
+ 
+ 
+ 
+-echo "$as_me:$LINENO: checking for gethostbyname" >&5
+-echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
+-if test "${ac_cv_funclib_gethostbyname+set}" = set; then
++
++echo "$as_me:$LINENO: checking for res_nsearch" >&5
++echo $ECHO_N "checking for res_nsearch... $ECHO_C" >&6
++if test "${ac_cv_funclib_res_nsearch+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-if eval "test \"\$ac_cv_func_gethostbyname\" != yes" ; then
++if eval "test \"\$ac_cv_func_res_nsearch\" != yes" ; then
+ 	ac_save_LIBS="$LIBS"
+-	for ac_lib in "" nsl; do
++	for ac_lib in "" resolv; do
+ 		case "$ac_lib" in
+ 		"") ;;
+ 		yes) ac_lib="" ;;
+@@ -14292,18 +26962,30 @@
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ 
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
++#include <stdio.h>
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_NAMESER_H
++#include <arpa/nameser.h>
+ #endif
++#ifdef HAVE_RESOLV_H
++#include <resolv.h>
++#endif
++
+ int
+ main ()
+ {
+-gethostbyname()
++res_nsearch(0,0,0,0,0,0)
+   ;
+   return 0;
+ }
+@@ -14320,25 +27002,26 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "if test -n \"$ac_lib\";then ac_cv_funclib_gethostbyname=$ac_lib; else ac_cv_funclib_gethostbyname=yes; fi";break
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_res_nsearch=$ac_lib; else ac_cv_funclib_res_nsearch=yes; fi";break
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ 	done
+-	eval "ac_cv_funclib_gethostbyname=\${ac_cv_funclib_gethostbyname-no}"
++	eval "ac_cv_funclib_res_nsearch=\${ac_cv_funclib_res_nsearch-no}"
+ 	LIBS="$ac_save_LIBS"
+ fi
+ 
+ fi
+ 
+ 
+-eval "ac_res=\$ac_cv_funclib_gethostbyname"
++eval "ac_res=\$ac_cv_funclib_res_nsearch"
+ 
+ if false; then
+ 
+-for ac_func in gethostbyname
++for ac_func in res_nsearch
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ echo "$as_me:$LINENO: checking for $ac_func" >&5
+@@ -14348,37 +27031,44 @@
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char $ac_func (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+ char $ac_func ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
+ /* The GNU C library defines this for functions which it implements
+     to always fail with ENOSYS.  Some functions are actually named
+     something starting with __ and the normal name is an alias.  */
+ #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
+ choke me
+ #else
+-f = $ac_func;
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != $ac_func;
+   ;
+   return 0;
+ }
+@@ -14398,7 +27088,8 @@
+   eval "$as_ac_var=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ eval "$as_ac_var=no"
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+@@ -14414,15 +27105,15 @@
+ done
+ 
+ fi
+-# gethostbyname
+-eval "ac_tr_func=HAVE_`echo gethostbyname | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++# res_nsearch
++eval "ac_tr_func=HAVE_`echo res_nsearch | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
+ eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
+-eval "LIB_gethostbyname=$ac_res"
++eval "LIB_res_nsearch=$ac_res"
+ 
+ case "$ac_res" in
+ 	yes)
+-	eval "ac_cv_func_gethostbyname=yes"
+-	eval "LIB_gethostbyname="
++	eval "ac_cv_func_res_nsearch=yes"
++	eval "LIB_res_nsearch="
+ 	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+ _ACEOF
+@@ -14431,13 +27122,13 @@
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+-	eval "ac_cv_func_gethostbyname=no"
+-	eval "LIB_gethostbyname="
++	eval "ac_cv_func_res_nsearch=no"
++	eval "LIB_res_nsearch="
+ 	echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+-	eval "ac_cv_func_gethostbyname=yes"
++	eval "ac_cv_func_res_nsearch=yes"
+ 	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
+ 	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+@@ -14453,23 +27144,24 @@
+ esac
+ 
+ 
+-if test -n "$LIB_gethostbyname"; then
+-	LIBS="$LIB_gethostbyname $LIBS"
++if test -n "$LIB_res_nsearch"; then
++	LIBS="$LIB_res_nsearch $LIBS"
+ fi
+ 
+ 
+ 
+ 
+ 
+-echo "$as_me:$LINENO: checking for syslog" >&5
+-echo $ECHO_N "checking for syslog... $ECHO_C" >&6
+-if test "${ac_cv_funclib_syslog+set}" = set; then
++
++echo "$as_me:$LINENO: checking for dn_expand" >&5
++echo $ECHO_N "checking for dn_expand... $ECHO_C" >&6
++if test "${ac_cv_funclib_dn_expand+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-if eval "test \"\$ac_cv_func_syslog\" != yes" ; then
++if eval "test \"\$ac_cv_func_dn_expand\" != yes" ; then
+ 	ac_save_LIBS="$LIBS"
+-	for ac_lib in "" syslog; do
++	for ac_lib in "" resolv; do
+ 		case "$ac_lib" in
+ 		"") ;;
+ 		yes) ac_lib="" ;;
+@@ -14480,18 +27172,30 @@
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ 
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
++#include <stdio.h>
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_NAMESER_H
++#include <arpa/nameser.h>
++#endif
++#ifdef HAVE_RESOLV_H
++#include <resolv.h>
+ #endif
++
+ int
+ main ()
+ {
+-syslog()
++dn_expand(0,0,0,0,0)
+   ;
+   return 0;
+ }
+@@ -14508,25 +27212,26 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "if test -n \"$ac_lib\";then ac_cv_funclib_syslog=$ac_lib; else ac_cv_funclib_syslog=yes; fi";break
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_dn_expand=$ac_lib; else ac_cv_funclib_dn_expand=yes; fi";break
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ 	done
+-	eval "ac_cv_funclib_syslog=\${ac_cv_funclib_syslog-no}"
++	eval "ac_cv_funclib_dn_expand=\${ac_cv_funclib_dn_expand-no}"
+ 	LIBS="$ac_save_LIBS"
+ fi
+ 
+ fi
+ 
+ 
+-eval "ac_res=\$ac_cv_funclib_syslog"
++eval "ac_res=\$ac_cv_funclib_dn_expand"
+ 
+ if false; then
+ 
+-for ac_func in syslog
++for ac_func in dn_expand
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ echo "$as_me:$LINENO: checking for $ac_func" >&5
+@@ -14536,37 +27241,44 @@
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char $ac_func (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+ char $ac_func ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
+ /* The GNU C library defines this for functions which it implements
+     to always fail with ENOSYS.  Some functions are actually named
+     something starting with __ and the normal name is an alias.  */
+ #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
+ choke me
+ #else
+-f = $ac_func;
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != $ac_func;
+   ;
+   return 0;
+ }
+@@ -14586,7 +27298,8 @@
+   eval "$as_ac_var=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ eval "$as_ac_var=no"
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+@@ -14602,15 +27315,15 @@
+ done
+ 
+ fi
+-# syslog
+-eval "ac_tr_func=HAVE_`echo syslog | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++# dn_expand
++eval "ac_tr_func=HAVE_`echo dn_expand | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
+ eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
+-eval "LIB_syslog=$ac_res"
++eval "LIB_dn_expand=$ac_res"
+ 
+ case "$ac_res" in
+ 	yes)
+-	eval "ac_cv_func_syslog=yes"
+-	eval "LIB_syslog="
++	eval "ac_cv_func_dn_expand=yes"
++	eval "LIB_dn_expand="
+ 	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+ _ACEOF
+@@ -14619,13 +27332,13 @@
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+-	eval "ac_cv_func_syslog=no"
+-	eval "LIB_syslog="
++	eval "ac_cv_func_dn_expand=no"
++	eval "LIB_dn_expand="
+ 	echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+-	eval "ac_cv_func_syslog=yes"
++	eval "ac_cv_func_dn_expand=yes"
+ 	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
+ 	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+@@ -14641,266 +27354,479 @@
+ esac
+ 
+ 
+-if test -n "$LIB_syslog"; then
+-	LIBS="$LIB_syslog $LIBS"
++if test -n "$LIB_dn_expand"; then
++	LIBS="$LIB_dn_expand $LIBS"
+ fi
+ 
+ 
+ 
++echo "$as_me:$LINENO: checking for _res" >&5
++echo $ECHO_N "checking for _res... $ECHO_C" >&6
++if test "${ac_cv_var__res+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
+ 
+-# Check whether --with-ipv6 or --without-ipv6 was given.
+-if test "${with_ipv6+set}" = set; then
+-  withval="$with_ipv6"
+ 
+-if test "$withval" = "no"; then
+-	ac_cv_lib_ipv6=no
++	cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdio.h>
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_NAMESER_H
++#include <arpa/nameser.h>
++#endif
++#ifdef HAVE_RESOLV_H
++#include <resolv.h>
++#endif
++	void * foo() { return &_res; }
++int
++main ()
++{
++foo()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_var__res=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_var__res=no
+ fi
+-fi;
+-save_CFLAGS="${CFLAGS}"
+-echo "$as_me:$LINENO: checking for IPv6 stack type" >&5
+-echo $ECHO_N "checking for IPv6 stack type... $ECHO_C" >&6
+-if test "${v6type+set}" = set; then
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++if test "$ac_cv_var__res" != yes ; then
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++extern int _res;
++int foo() { return _res; }
++int
++main ()
++{
++foo()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_var__res=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_var__res=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++fi
++
++fi
++
++ac_foo=`eval echo \\$ac_cv_var__res`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++
++cat >>confdefs.h <<_ACEOF
++#define HAVE__RES 1
++_ACEOF
++
++
++echo "$as_me:$LINENO: checking if _res is properly declared" >&5
++echo $ECHO_N "checking if _res is properly declared... $ECHO_C" >&6
++if test "${ac_cv_var__res_declaration+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  v6type=unknown
+-v6lib=none
+ 
+-for i in v6d toshiba kame inria zeta linux; do
+-	case $i in
+-	v6d)
+-		cat >conftest.$ac_ext <<_ACEOF
++cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-
+-#include </usr/local/v6/include/sys/types.h>
+-#ifdef __V6D__
+-yes
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdio.h>
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_NAMESER_H
++#include <arpa/nameser.h>
++#endif
++#ifdef HAVE_RESOLV_H
++#include <resolv.h>
+ #endif
++extern struct { int foo; } _res;
++int
++main ()
++{
++_res.foo = 1;
++  ;
++  return 0;
++}
+ _ACEOF
+-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+-  egrep "yes" >/dev/null 2>&1; then
+-  v6type=$i; v6lib=v6;
+-			v6libdir=/usr/local/v6/lib;
+-			CFLAGS="-I/usr/local/v6/include $CFLAGS"
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_var__res_declaration=no"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_var__res_declaration=yes"
+ fi
+-rm -f conftest*
++rm -f conftest.$ac_objext conftest.$ac_ext
+ 
+-		;;
+-	toshiba)
+-		cat >conftest.$ac_ext <<_ACEOF
++fi
++
++
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var__res_declaration" >&5
++echo "${ECHO_T}$ac_cv_var__res_declaration" >&6
++if eval "test \"\$ac_cv_var__res_declaration\" = yes"; then
++
++cat >>confdefs.h <<\_ACEOF
++#define HAVE__RES_DECLARATION 1
++_ACEOF
++
++fi
++
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking for working snprintf" >&5
++echo $ECHO_N "checking for working snprintf... $ECHO_C" >&6
++if test "${ac_cv_func_snprintf_working+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_cv_func_snprintf_working=yes
++if test "$cross_compiling" = yes; then
++  :
++else
++  cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ 
+-#include <sys/param.h>
+-#ifdef _TOSHIBA_INET6
+-yes
+-#endif
++#include <stdio.h>
++#include <string.h>
++int main()
++{
++	char foo[3];
++	snprintf(foo, 2, "12");
++	return strcmp(foo, "1");
++}
+ _ACEOF
+-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+-  egrep "yes" >/dev/null 2>&1; then
+-  v6type=$i; v6lib=inet6;
+-			v6libdir=/usr/local/v6/lib;
+-			CFLAGS="-DINET6 $CFLAGS"
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  :
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++( exit $ac_status )
++ac_cv_func_snprintf_working=no
+ fi
+-rm -f conftest*
++rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_snprintf_working" >&5
++echo "${ECHO_T}$ac_cv_func_snprintf_working" >&6
++
++if test "$ac_cv_func_snprintf_working" = yes; then
++
++cat >>confdefs.h <<_ACEOF
++#define HAVE_SNPRINTF 1
++_ACEOF
++
++fi
++if test "$ac_cv_func_snprintf_working" = yes; then
++
++if test "$ac_cv_func_snprintf+set" != set -o "$ac_cv_func_snprintf" = yes; then
++echo "$as_me:$LINENO: checking if snprintf needs a prototype" >&5
++echo $ECHO_N "checking if snprintf needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_snprintf_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdio.h>
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int snprintf (struct foo*);
++snprintf(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_snprintf_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
+ 
+-		;;
+-	kame)
+-		cat >conftest.$ac_ext <<_ACEOF
+-#line $LINENO "configure"
+-#include "confdefs.h"
++eval "ac_cv_func_snprintf_noproto=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_snprintf_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_snprintf_noproto" >&6
++if test "$ac_cv_func_snprintf_noproto" = yes; then
+ 
+-#include <netinet/in.h>
+-#ifdef __KAME__
+-yes
+-#endif
++cat >>confdefs.h <<\_ACEOF
++#define NEED_SNPRINTF_PROTO 1
+ _ACEOF
+-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+-  egrep "yes" >/dev/null 2>&1; then
+-  v6type=$i; v6lib=inet6;
+-			v6libdir=/usr/local/v6/lib;
+-			CFLAGS="-DINET6 $CFLAGS"
+-fi
+-rm -f conftest*
+ 
+-		;;
+-	inria)
+-		cat >conftest.$ac_ext <<_ACEOF
+-#line $LINENO "configure"
+-#include "confdefs.h"
++fi
++fi
+ 
+-#include <netinet/in.h>
+-#ifdef IPV6_INRIA_VERSION
+-yes
+-#endif
+-_ACEOF
+-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+-  egrep "yes" >/dev/null 2>&1; then
+-  v6type=$i; CFLAGS="-DINET6 $CFLAGS"
+ fi
+-rm -f conftest*
+ 
+-		;;
+-	zeta)
+-		cat >conftest.$ac_ext <<_ACEOF
++
++echo "$as_me:$LINENO: checking for working vsnprintf" >&5
++echo $ECHO_N "checking for working vsnprintf... $ECHO_C" >&6
++if test "${ac_cv_func_vsnprintf_working+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_cv_func_vsnprintf_working=yes
++if test "$cross_compiling" = yes; then
++  :
++else
++  cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ 
+-#include <sys/param.h>
+-#ifdef _ZETA_MINAMI_INET6
+-yes
+-#endif
++#include <stdio.h>
++#include <string.h>
++#include <stdarg.h>
++
++int foo(int num, ...)
++{
++	char bar[3];
++	va_list arg;
++	va_start(arg, num);
++	vsnprintf(bar, 2, "%s", arg);
++	va_end(arg);
++	return strcmp(bar, "1");
++}
++
++
++int main()
++{
++	return foo(0, "12");
++}
+ _ACEOF
+-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+-  egrep "yes" >/dev/null 2>&1; then
+-  v6type=$i; v6lib=inet6;
+-			v6libdir=/usr/local/v6/lib;
+-			CFLAGS="-DINET6 $CFLAGS"
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  :
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++( exit $ac_status )
++ac_cv_func_vsnprintf_working=no
+ fi
+-rm -f conftest*
++rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_vsnprintf_working" >&5
++echo "${ECHO_T}$ac_cv_func_vsnprintf_working" >&6
+ 
+-		;;
+-	linux)
+-		if test -d /usr/inet6; then
+-			v6type=$i
+-			v6lib=inet6
+-			v6libdir=/usr/inet6
+-			CFLAGS="-DINET6 $CFLAGS"
+-		fi
+-		;;
+-	esac
+-	if test "$v6type" != "unknown"; then
+-		break
+-	fi
+-done
++if test "$ac_cv_func_vsnprintf_working" = yes; then
+ 
+-if test "$v6lib" != "none"; then
+-	for dir in $v6libdir /usr/local/v6/lib /usr/local/lib; do
+-		if test -d $dir -a -f $dir/lib$v6lib.a; then
+-			LIBS="-L$dir -l$v6lib $LIBS"
+-			break
+-		fi
+-	done
+-fi
++cat >>confdefs.h <<_ACEOF
++#define HAVE_VSNPRINTF 1
++_ACEOF
+ 
+ fi
+-echo "$as_me:$LINENO: result: $v6type" >&5
+-echo "${ECHO_T}$v6type" >&6
++if test "$ac_cv_func_vsnprintf_working" = yes; then
+ 
+-echo "$as_me:$LINENO: checking for IPv6" >&5
+-echo $ECHO_N "checking for IPv6... $ECHO_C" >&6
+-if test "${ac_cv_lib_ipv6+set}" = set; then
++if test "$ac_cv_func_vsnprintf+set" != set -o "$ac_cv_func_vsnprintf" = yes; then
++echo "$as_me:$LINENO: checking if vsnprintf needs a prototype" >&5
++echo $ECHO_N "checking if vsnprintf needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_vsnprintf_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-
+-cat >conftest.$ac_ext <<_ACEOF
++  cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-
+-#ifdef HAVE_SYS_TYPES_H
+-#include <sys/types.h>
+-#endif
+-#ifdef HAVE_SYS_SOCKET_H
+-#include <sys/socket.h>
+-#endif
+-#ifdef HAVE_NETINET_IN_H
+-#include <netinet/in.h>
+-#endif
+-#ifdef HAVE_NETINET_IN6_H
+-#include <netinet/in6.h>
+-#endif
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdio.h>
+ int
+ main ()
+ {
+-
+- struct sockaddr_in6 sin6;
+- int s;
+-
+- s = socket(AF_INET6, SOCK_DGRAM, 0);
+-
+- sin6.sin6_family = AF_INET6;
+- sin6.sin6_port = htons(17);
+- sin6.sin6_addr = in6addr_any;
+- bind(s, (struct sockaddr *)&sin6, sizeof(sin6));
++struct foo { int foo; } xx;
++extern int vsnprintf (struct foo*);
++vsnprintf(&xx);
+ 
+   ;
+   return 0;
+ }
+ _ACEOF
+-rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
++         { ac_try='test -s conftest.$ac_objext'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_lib_ipv6=yes
++  eval "ac_cv_func_vsnprintf_noproto=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_lib_ipv6=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_vsnprintf_noproto=no"
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_lib_ipv6" >&5
+-echo "${ECHO_T}$ac_cv_lib_ipv6" >&6
+-if test "$ac_cv_lib_ipv6" = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_vsnprintf_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_vsnprintf_noproto" >&6
++if test "$ac_cv_func_vsnprintf_noproto" = yes; then
+ 
+ cat >>confdefs.h <<\_ACEOF
+-#define HAVE_IPV6 1
++#define NEED_VSNPRINTF_PROTO 1
+ _ACEOF
+ 
+-else
+-  CFLAGS="${save_CFLAGS}"
++fi
+ fi
+ 
+-if test "$ac_cv_lib_ipv6" = yes; then
+-	echo "$as_me:$LINENO: checking for in6addr_loopback" >&5
+-echo $ECHO_N "checking for in6addr_loopback... $ECHO_C" >&6
+-if test "${ac_cv_var_in6addr_loopback+set}" = set; then
++fi
++
++
++
++echo "$as_me:$LINENO: checking for working glob" >&5
++echo $ECHO_N "checking for working glob... $ECHO_C" >&6
++if test "${ac_cv_func_glob_working+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-
+-	cat >conftest.$ac_ext <<_ACEOF
++  ac_cv_func_glob_working=yes
++cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ 
+-#ifdef HAVE_SYS_TYPES_H
+-#include <sys/types.h>
+-#endif
+-#ifdef HAVE_SYS_SOCKET_H
+-#include <sys/socket.h>
+-#endif
+-#ifdef HAVE_NETINET_IN_H
+-#include <netinet/in.h>
+-#endif
+-#ifdef HAVE_NETINET_IN6_H
+-#include <netinet/in6.h>
+-#endif
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
++#include <stdio.h>
++#include <glob.h>
+ int
+ main ()
+ {
+ 
+-struct sockaddr_in6 sin6;
+-sin6.sin6_addr = in6addr_loopback;
++glob(NULL, GLOB_BRACE|GLOB_NOCHECK|GLOB_QUOTE|GLOB_TILDE|
++#ifdef GLOB_MAXPATH
++GLOB_MAXPATH
++#else
++GLOB_LIMIT
++#endif
++,
++NULL, NULL);
+ 
+   ;
+   return 0;
+@@ -14918,96 +27844,156 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_var_in6addr_loopback=yes
++  :
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_var_in6addr_loopback=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_glob_working=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_var_in6addr_loopback" >&5
+-echo "${ECHO_T}$ac_cv_var_in6addr_loopback" >&6
+-	if test "$ac_cv_var_in6addr_loopback" = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_glob_working" >&5
++echo "${ECHO_T}$ac_cv_func_glob_working" >&6
++
++if test "$ac_cv_func_glob_working" = yes; then
+ 
+ cat >>confdefs.h <<\_ACEOF
+-#define HAVE_IN6ADDR_LOOPBACK 1
++#define HAVE_GLOB 1
+ _ACEOF
+ 
+-	fi
+ fi
++if test "$ac_cv_func_glob_working" = yes; then
+ 
+-
+-
+-
+-
+-
+-echo "$as_me:$LINENO: checking for gethostbyname2" >&5
+-echo $ECHO_N "checking for gethostbyname2... $ECHO_C" >&6
+-if test "${ac_cv_funclib_gethostbyname2+set}" = set; then
++if test "$ac_cv_func_glob+set" != set -o "$ac_cv_func_glob" = yes; then
++echo "$as_me:$LINENO: checking if glob needs a prototype" >&5
++echo $ECHO_N "checking if glob needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_glob_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-
+-if eval "test \"\$ac_cv_func_gethostbyname2\" != yes" ; then
+-	ac_save_LIBS="$LIBS"
+-	for ac_lib in "" inet6 ip6; do
+-		case "$ac_lib" in
+-		"") ;;
+-		yes) ac_lib="" ;;
+-		no) continue ;;
+-		-l*) ;;
+-		*) ac_lib="-l$ac_lib" ;;
+-		esac
+-		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<_ACEOF
++  cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdio.h>
++#include <glob.h>
+ int
+ main ()
+ {
+-gethostbyname2()
++struct foo { int foo; } xx;
++extern int glob (struct foo*);
++glob(&xx);
++
+   ;
+   return 0;
+ }
+ _ACEOF
+-rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
++         { ac_try='test -s conftest.$ac_objext'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "if test -n \"$ac_lib\";then ac_cv_funclib_gethostbyname2=$ac_lib; else ac_cv_funclib_gethostbyname2=yes; fi";break
++  eval "ac_cv_func_glob_noproto=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_glob_noproto=no"
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_glob_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_glob_noproto" >&6
++if test "$ac_cv_func_glob_noproto" = yes; then
++
++cat >>confdefs.h <<\_ACEOF
++#define NEED_GLOB_PROTO 1
++_ACEOF
++
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+-	done
+-	eval "ac_cv_funclib_gethostbyname2=\${ac_cv_funclib_gethostbyname2-no}"
+-	LIBS="$ac_save_LIBS"
+ fi
+ 
+ fi
+ 
++if test "$ac_cv_func_glob_working" != yes; then
++	LIBOBJS="$LIBOBJS glob.$ac_objext"
++fi
+ 
+-eval "ac_res=\$ac_cv_funclib_gethostbyname2"
+ 
+-if false; then
++if test "$ac_cv_func_glob_working" = yes; then
++  have_glob_h_TRUE=
++  have_glob_h_FALSE='#'
++else
++  have_glob_h_TRUE='#'
++  have_glob_h_FALSE=
++fi
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++for ac_func in 				\
++	asnprintf				\
++	asprintf				\
++	atexit					\
++	cgetent					\
++	getconfattr				\
++	getprogname				\
++	getrlimit				\
++	getspnam				\
++	initstate				\
++	issetugid				\
++	on_exit					\
++	random					\
++	setprogname				\
++	setstate				\
++	strsvis					\
++	strunvis				\
++	strvis					\
++	strvisx					\
++	svis					\
++	sysconf					\
++	sysctl					\
++	uname					\
++	unvis					\
++	vasnprintf				\
++	vasprintf				\
++	vis					\
+ 
+-for ac_func in gethostbyname2
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ echo "$as_me:$LINENO: checking for $ac_func" >&5
+@@ -15017,37 +28003,44 @@
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char $ac_func (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+ char $ac_func ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
+ /* The GNU C library defines this for functions which it implements
+     to always fail with ENOSYS.  Some functions are actually named
+     something starting with __ and the normal name is an alias.  */
+ #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
+ choke me
+ #else
+-f = $ac_func;
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != $ac_func;
+   ;
+   return 0;
+ }
+@@ -15067,7 +28060,8 @@
+   eval "$as_ac_var=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ eval "$as_ac_var=no"
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+@@ -15082,64 +28076,27 @@
+ fi
+ done
+ 
+-fi
+-# gethostbyname2
+-eval "ac_tr_func=HAVE_`echo gethostbyname2 | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
+-eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
+-eval "LIB_gethostbyname2=$ac_res"
+-
+-case "$ac_res" in
+-	yes)
+-	eval "ac_cv_func_gethostbyname2=yes"
+-	eval "LIB_gethostbyname2="
+-	cat >>confdefs.h <<_ACEOF
+-#define $ac_tr_func 1
+-_ACEOF
+-
+-	echo "$as_me:$LINENO: result: yes" >&5
+-echo "${ECHO_T}yes" >&6
+-	;;
+-	no)
+-	eval "ac_cv_func_gethostbyname2=no"
+-	eval "LIB_gethostbyname2="
+-	echo "$as_me:$LINENO: result: no" >&5
+-echo "${ECHO_T}no" >&6
+-	;;
+-	*)
+-	eval "ac_cv_func_gethostbyname2=yes"
+-	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
+-	cat >>confdefs.h <<_ACEOF
+-#define $ac_tr_func 1
+-_ACEOF
+-
+-	cat >>confdefs.h <<_ACEOF
+-#define $ac_tr_lib 1
+-_ACEOF
+ 
+-	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
+-echo "${ECHO_T}yes, in $ac_res" >&6
+-	;;
+-esac
++if test "$ac_cv_func_cgetent" = no; then
++	LIBOBJS="$LIBOBJS getcap.$ac_objext"
++fi
+ 
+ 
+-if test -n "$LIB_gethostbyname2"; then
+-	LIBS="$LIB_gethostbyname2 $LIBS"
+-fi
+ 
+ 
+ 
+ 
+ 
+ 
+-echo "$as_me:$LINENO: checking for res_search" >&5
+-echo $ECHO_N "checking for res_search... $ECHO_C" >&6
+-if test "${ac_cv_funclib_res_search+set}" = set; then
++echo "$as_me:$LINENO: checking for getsockopt" >&5
++echo $ECHO_N "checking for getsockopt... $ECHO_C" >&6
++if test "${ac_cv_funclib_getsockopt+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-if eval "test \"\$ac_cv_func_res_search\" != yes" ; then
++if eval "test \"\$ac_cv_func_getsockopt\" != yes" ; then
+ 	ac_save_LIBS="$LIBS"
+-	for ac_lib in "" resolv; do
++	for ac_lib in "" ; do
+ 		case "$ac_lib" in
+ 		"") ;;
+ 		yes) ac_lib="" ;;
+@@ -15150,32 +28107,21 @@
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-
+-#include <stdio.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ #ifdef HAVE_SYS_TYPES_H
+ #include <sys/types.h>
+ #endif
+-#ifdef HAVE_NETINET_IN_H
+-#include <netinet/in.h>
+-#endif
+-#ifdef HAVE_ARPA_NAMESER_H
+-#include <arpa/nameser.h>
+-#endif
+-#ifdef HAVE_RESOLV_H
+-#include <resolv.h>
+-#endif
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
+ #endif
+ int
+ main ()
+ {
+-res_search(0,0,0,0,0)
++getsockopt(0,0,0,0,0)
+   ;
+   return 0;
+ }
+@@ -15192,25 +28138,26 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "if test -n \"$ac_lib\";then ac_cv_funclib_res_search=$ac_lib; else ac_cv_funclib_res_search=yes; fi";break
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_getsockopt=$ac_lib; else ac_cv_funclib_getsockopt=yes; fi";break
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ 	done
+-	eval "ac_cv_funclib_res_search=\${ac_cv_funclib_res_search-no}"
++	eval "ac_cv_funclib_getsockopt=\${ac_cv_funclib_getsockopt-no}"
+ 	LIBS="$ac_save_LIBS"
+ fi
+ 
+ fi
+ 
+ 
+-eval "ac_res=\$ac_cv_funclib_res_search"
++eval "ac_res=\$ac_cv_funclib_getsockopt"
+ 
+ if false; then
+ 
+-for ac_func in res_search
++for ac_func in getsockopt
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ echo "$as_me:$LINENO: checking for $ac_func" >&5
+@@ -15220,37 +28167,44 @@
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char $ac_func (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+ char $ac_func ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
+ /* The GNU C library defines this for functions which it implements
+     to always fail with ENOSYS.  Some functions are actually named
+     something starting with __ and the normal name is an alias.  */
+ #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
+ choke me
+ #else
+-f = $ac_func;
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != $ac_func;
+   ;
+   return 0;
+ }
+@@ -15270,7 +28224,8 @@
+   eval "$as_ac_var=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ eval "$as_ac_var=no"
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+@@ -15286,15 +28241,15 @@
+ done
+ 
+ fi
+-# res_search
+-eval "ac_tr_func=HAVE_`echo res_search | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++# getsockopt
++eval "ac_tr_func=HAVE_`echo getsockopt | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
+ eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
+-eval "LIB_res_search=$ac_res"
++eval "LIB_getsockopt=$ac_res"
+ 
+ case "$ac_res" in
+ 	yes)
+-	eval "ac_cv_func_res_search=yes"
+-	eval "LIB_res_search="
++	eval "ac_cv_func_getsockopt=yes"
++	eval "LIB_getsockopt="
+ 	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+ _ACEOF
+@@ -15303,13 +28258,13 @@
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+-	eval "ac_cv_func_res_search=no"
+-	eval "LIB_res_search="
++	eval "ac_cv_func_getsockopt=no"
++	eval "LIB_getsockopt="
+ 	echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+-	eval "ac_cv_func_res_search=yes"
++	eval "ac_cv_func_getsockopt=yes"
+ 	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
+ 	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+@@ -15325,24 +28280,18 @@
+ esac
+ 
+ 
+-if test -n "$LIB_res_search"; then
+-	LIBS="$LIB_res_search $LIBS"
+-fi
+-
+-
+-
+ 
+ 
+ 
+-echo "$as_me:$LINENO: checking for res_nsearch" >&5
+-echo $ECHO_N "checking for res_nsearch... $ECHO_C" >&6
+-if test "${ac_cv_funclib_res_nsearch+set}" = set; then
++echo "$as_me:$LINENO: checking for setsockopt" >&5
++echo $ECHO_N "checking for setsockopt... $ECHO_C" >&6
++if test "${ac_cv_funclib_setsockopt+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-if eval "test \"\$ac_cv_func_res_nsearch\" != yes" ; then
++if eval "test \"\$ac_cv_func_setsockopt\" != yes" ; then
+ 	ac_save_LIBS="$LIBS"
+-	for ac_lib in "" resolv; do
++	for ac_lib in "" ; do
+ 		case "$ac_lib" in
+ 		"") ;;
+ 		yes) ac_lib="" ;;
+@@ -15353,32 +28302,21 @@
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-
+-#include <stdio.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ #ifdef HAVE_SYS_TYPES_H
+ #include <sys/types.h>
+ #endif
+-#ifdef HAVE_NETINET_IN_H
+-#include <netinet/in.h>
+-#endif
+-#ifdef HAVE_ARPA_NAMESER_H
+-#include <arpa/nameser.h>
+-#endif
+-#ifdef HAVE_RESOLV_H
+-#include <resolv.h>
+-#endif
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
+ #endif
+ int
+ main ()
+ {
+-res_nsearch(0,0,0,0,0,0)
++setsockopt(0,0,0,0,0)
+   ;
+   return 0;
+ }
+@@ -15395,25 +28333,26 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "if test -n \"$ac_lib\";then ac_cv_funclib_res_nsearch=$ac_lib; else ac_cv_funclib_res_nsearch=yes; fi";break
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_setsockopt=$ac_lib; else ac_cv_funclib_setsockopt=yes; fi";break
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ 	done
+-	eval "ac_cv_funclib_res_nsearch=\${ac_cv_funclib_res_nsearch-no}"
++	eval "ac_cv_funclib_setsockopt=\${ac_cv_funclib_setsockopt-no}"
+ 	LIBS="$ac_save_LIBS"
+ fi
+ 
+ fi
+ 
+ 
+-eval "ac_res=\$ac_cv_funclib_res_nsearch"
++eval "ac_res=\$ac_cv_funclib_setsockopt"
+ 
+ if false; then
+ 
+-for ac_func in res_nsearch
++for ac_func in setsockopt
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ echo "$as_me:$LINENO: checking for $ac_func" >&5
+@@ -15423,37 +28362,44 @@
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char $ac_func (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+ char $ac_func ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
+ /* The GNU C library defines this for functions which it implements
+     to always fail with ENOSYS.  Some functions are actually named
+     something starting with __ and the normal name is an alias.  */
+ #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
+ choke me
+ #else
+-f = $ac_func;
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != $ac_func;
+   ;
+   return 0;
+ }
+@@ -15473,7 +28419,8 @@
+   eval "$as_ac_var=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ eval "$as_ac_var=no"
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+@@ -15489,15 +28436,15 @@
+ done
+ 
+ fi
+-# res_nsearch
+-eval "ac_tr_func=HAVE_`echo res_nsearch | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++# setsockopt
++eval "ac_tr_func=HAVE_`echo setsockopt | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
+ eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
+-eval "LIB_res_nsearch=$ac_res"
++eval "LIB_setsockopt=$ac_res"
+ 
+ case "$ac_res" in
+ 	yes)
+-	eval "ac_cv_func_res_nsearch=yes"
+-	eval "LIB_res_nsearch="
++	eval "ac_cv_func_setsockopt=yes"
++	eval "LIB_setsockopt="
+ 	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+ _ACEOF
+@@ -15506,13 +28453,13 @@
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+-	eval "ac_cv_func_res_nsearch=no"
+-	eval "LIB_res_nsearch="
++	eval "ac_cv_func_setsockopt=no"
++	eval "LIB_setsockopt="
+ 	echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+-	eval "ac_cv_func_res_nsearch=yes"
++	eval "ac_cv_func_setsockopt=yes"
+ 	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
+ 	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+@@ -15528,22 +28475,18 @@
+ esac
+ 
+ 
+-if test -n "$LIB_res_nsearch"; then
+-	LIBS="$LIB_res_nsearch $LIBS"
+-fi
+-
+ 
+ 
+ 
+ 
+ 
+-echo "$as_me:$LINENO: checking for dn_expand" >&5
+-echo $ECHO_N "checking for dn_expand... $ECHO_C" >&6
+-if test "${ac_cv_funclib_dn_expand+set}" = set; then
++echo "$as_me:$LINENO: checking for hstrerror" >&5
++echo $ECHO_N "checking for hstrerror... $ECHO_C" >&6
++if test "${ac_cv_funclib_hstrerror+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-if eval "test \"\$ac_cv_func_dn_expand\" != yes" ; then
++if eval "test \"\$ac_cv_func_hstrerror\" != yes" ; then
+ 	ac_save_LIBS="$LIBS"
+ 	for ac_lib in "" resolv; do
+ 		case "$ac_lib" in
+@@ -15556,32 +28499,18 @@
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-
+-#include <stdio.h>
+-#ifdef HAVE_SYS_TYPES_H
+-#include <sys/types.h>
+-#endif
+-#ifdef HAVE_NETINET_IN_H
+-#include <netinet/in.h>
+-#endif
+-#ifdef HAVE_ARPA_NAMESER_H
+-#include <arpa/nameser.h>
+-#endif
+-#ifdef HAVE_RESOLV_H
+-#include <resolv.h>
+-#endif
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
+ #endif
+ int
+ main ()
+ {
+-dn_expand(0,0,0,0,0)
++hstrerror(17)
+   ;
+   return 0;
+ }
+@@ -15598,25 +28527,26 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "if test -n \"$ac_lib\";then ac_cv_funclib_dn_expand=$ac_lib; else ac_cv_funclib_dn_expand=yes; fi";break
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_hstrerror=$ac_lib; else ac_cv_funclib_hstrerror=yes; fi";break
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ 	done
+-	eval "ac_cv_funclib_dn_expand=\${ac_cv_funclib_dn_expand-no}"
++	eval "ac_cv_funclib_hstrerror=\${ac_cv_funclib_hstrerror-no}"
+ 	LIBS="$ac_save_LIBS"
+ fi
+ 
+ fi
+ 
+ 
+-eval "ac_res=\$ac_cv_funclib_dn_expand"
++eval "ac_res=\$ac_cv_funclib_hstrerror"
+ 
+ if false; then
+ 
+-for ac_func in dn_expand
++for ac_func in hstrerror
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ echo "$as_me:$LINENO: checking for $ac_func" >&5
+@@ -15626,37 +28556,44 @@
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char $ac_func (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+ char $ac_func ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
+ /* The GNU C library defines this for functions which it implements
+     to always fail with ENOSYS.  Some functions are actually named
+     something starting with __ and the normal name is an alias.  */
+ #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
+ choke me
+ #else
+-f = $ac_func;
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != $ac_func;
+   ;
+   return 0;
+ }
+@@ -15676,7 +28613,8 @@
+   eval "$as_ac_var=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ eval "$as_ac_var=no"
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+@@ -15692,15 +28630,15 @@
+ done
+ 
+ fi
+-# dn_expand
+-eval "ac_tr_func=HAVE_`echo dn_expand | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++# hstrerror
++eval "ac_tr_func=HAVE_`echo hstrerror | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
+ eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
+-eval "LIB_dn_expand=$ac_res"
++eval "LIB_hstrerror=$ac_res"
+ 
+ case "$ac_res" in
+ 	yes)
+-	eval "ac_cv_func_dn_expand=yes"
+-	eval "LIB_dn_expand="
++	eval "ac_cv_func_hstrerror=yes"
++	eval "LIB_hstrerror="
+ 	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+ _ACEOF
+@@ -15709,13 +28647,13 @@
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+-	eval "ac_cv_func_dn_expand=no"
+-	eval "LIB_dn_expand="
++	eval "ac_cv_func_hstrerror=no"
++	eval "LIB_hstrerror="
+ 	echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+-	eval "ac_cv_func_dn_expand=yes"
++	eval "ac_cv_func_hstrerror=yes"
+ 	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
+ 	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+@@ -15731,155 +28669,100 @@
+ esac
+ 
+ 
+-if test -n "$LIB_dn_expand"; then
+-	LIBS="$LIB_dn_expand $LIBS"
++if test -n "$LIB_hstrerror"; then
++	LIBS="$LIB_hstrerror $LIBS"
+ fi
+ 
++if eval "test \"$ac_cv_func_hstrerror\" != yes"; then
++	LIBOBJS="$LIBOBJS hstrerror.$ac_objext"
++fi
+ 
+ 
+-echo "$as_me:$LINENO: checking for _res" >&5
+-echo $ECHO_N "checking for _res... $ECHO_C" >&6
+-if test "${ac_cv_var__res+set}" = set; then
++if test "$ac_cv_func_hstrerror+set" != set -o "$ac_cv_func_hstrerror" = yes; then
++echo "$as_me:$LINENO: checking if hstrerror needs a prototype" >&5
++echo $ECHO_N "checking if hstrerror needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_hstrerror_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-
+-
+-	cat >conftest.$ac_ext <<_ACEOF
++  cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-#include <stdio.h>
+-#ifdef HAVE_SYS_TYPES_H
+-#include <sys/types.h>
+-#endif
+-#ifdef HAVE_NETINET_IN_H
+-#include <netinet/in.h>
+-#endif
+-#ifdef HAVE_ARPA_NAMESER_H
+-#include <arpa/nameser.h>
+-#endif
+-#ifdef HAVE_RESOLV_H
+-#include <resolv.h>
+-#endif
+-	void * foo() { return &_res; }
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
+-foo()
+-  ;
+-  return 0;
+-}
++/* confdefs.h.  */
+ _ACEOF
+-rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
+-  ac_cv_var__res=yes
+-else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_var__res=no
+-fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+-if test "$ac_cv_var__res" != yes ; then
+-cat >conftest.$ac_ext <<_ACEOF
+-#line $LINENO "configure"
+-#include "confdefs.h"
+-extern int _res;
+-int foo() { return _res; }
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
+ #endif
+ int
+ main ()
+ {
+-foo()
++struct foo { int foo; } xx;
++extern int hstrerror (struct foo*);
++hstrerror(&xx);
++
+   ;
+   return 0;
+ }
+ _ACEOF
+-rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
++         { ac_try='test -s conftest.$ac_objext'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_var__res=yes
++  eval "ac_cv_func_hstrerror_noproto=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_var__res=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_hstrerror_noproto=no"
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
++echo "$as_me:$LINENO: result: $ac_cv_func_hstrerror_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_hstrerror_noproto" >&6
++if test "$ac_cv_func_hstrerror_noproto" = yes; then
+ 
+-fi
++cat >>confdefs.h <<\_ACEOF
++#define NEED_HSTRERROR_PROTO 1
++_ACEOF
+ 
+-ac_foo=`eval echo \\$ac_cv_var__res`
+-echo "$as_me:$LINENO: result: $ac_foo" >&5
+-echo "${ECHO_T}$ac_foo" >&6
+-if test "$ac_foo" = yes; then
++fi
++fi
+ 
+-cat >>confdefs.h <<_ACEOF
+-#define HAVE__RES 1
+-_ACEOF
+ 
+ 
+-echo "$as_me:$LINENO: checking if _res is properly declared" >&5
+-echo $ECHO_N "checking if _res is properly declared... $ECHO_C" >&6
+-if test "${ac_cv_var__res_declaration+set}" = set; then
++if test "$ac_cv_func_asprintf+set" != set -o "$ac_cv_func_asprintf" = yes; then
++echo "$as_me:$LINENO: checking if asprintf needs a prototype" >&5
++echo $ECHO_N "checking if asprintf needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_asprintf_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-
+-cat >conftest.$ac_ext <<_ACEOF
++  cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-#include <stdio.h>
+-#ifdef HAVE_SYS_TYPES_H
+-#include <sys/types.h>
+-#endif
+-#ifdef HAVE_NETINET_IN_H
+-#include <netinet/in.h>
+-#endif
+-#ifdef HAVE_ARPA_NAMESER_H
+-#include <arpa/nameser.h>
+-#endif
+-#ifdef HAVE_RESOLV_H
+-#include <resolv.h>
+-#endif
+-extern struct { int foo; } _res;
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++	#include <stdio.h>
++	#include <string.h>
+ int
+ main ()
+ {
+-_res.foo = 1;
++struct foo { int foo; } xx;
++extern int asprintf (struct foo*);
++asprintf(&xx);
++
+   ;
+   return 0;
+ }
+@@ -15896,113 +28779,48 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "ac_cv_var__res_declaration=no"
++  eval "ac_cv_func_asprintf_noproto=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_var__res_declaration=yes"
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_asprintf_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+-
+ fi
+-
+-
+-
+-
+-echo "$as_me:$LINENO: result: $ac_cv_var__res_declaration" >&5
+-echo "${ECHO_T}$ac_cv_var__res_declaration" >&6
+-if eval "test \"\$ac_cv_var__res_declaration\" = yes"; then
++echo "$as_me:$LINENO: result: $ac_cv_func_asprintf_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_asprintf_noproto" >&6
++if test "$ac_cv_func_asprintf_noproto" = yes; then
+ 
+ cat >>confdefs.h <<\_ACEOF
+-#define HAVE__RES_DECLARATION 1
++#define NEED_ASPRINTF_PROTO 1
+ _ACEOF
+ 
+ fi
+-
+-
+ fi
+ 
+-
+-
+-
+-echo "$as_me:$LINENO: checking for working snprintf" >&5
+-echo $ECHO_N "checking for working snprintf... $ECHO_C" >&6
+-if test "${ac_cv_func_snprintf_working+set}" = set; then
++if test "$ac_cv_func_vasprintf+set" != set -o "$ac_cv_func_vasprintf" = yes; then
++echo "$as_me:$LINENO: checking if vasprintf needs a prototype" >&5
++echo $ECHO_N "checking if vasprintf needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_vasprintf_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  ac_cv_func_snprintf_working=yes
+-if test "$cross_compiling" = yes; then
+-  :
+-else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-
+-#include <stdio.h>
+-#include <string.h>
+-int main()
+-{
+-	char foo[3];
+-	snprintf(foo, 2, "12");
+-	return strcmp(foo, "1");
+-}
+-_ACEOF
+-rm -f conftest$ac_exeext
+-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
+-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
+-  :
+-else
+-  echo "$as_me: program exited with status $ac_status" >&5
+-echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-( exit $ac_status )
+-ac_cv_func_snprintf_working=no
+-fi
+-rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
+-fi
+-fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_snprintf_working" >&5
+-echo "${ECHO_T}$ac_cv_func_snprintf_working" >&6
+-
+-if test "$ac_cv_func_snprintf_working" = yes; then
+-
+-cat >>confdefs.h <<_ACEOF
+-#define HAVE_SNPRINTF 1
++/* confdefs.h.  */
+ _ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ 
+-fi
+-if test "$ac_cv_func_snprintf_working" = yes; then
+-
+-if test "$ac_cv_func_snprintf+set" != set -o "$ac_cv_func_snprintf" = yes; then
+-echo "$as_me:$LINENO: checking if snprintf needs a prototype" >&5
+-echo $ECHO_N "checking if snprintf needs a prototype... $ECHO_C" >&6
+-if test "${ac_cv_func_snprintf_noproto+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  cat >conftest.$ac_ext <<_ACEOF
+-#line $LINENO "configure"
+-#include "confdefs.h"
+-#include <stdio.h>
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
++	#include <stdio.h>
++	#include <string.h>
+ int
+ main ()
+ {
+ struct foo { int foo; } xx;
+-extern int snprintf (struct foo*);
+-snprintf(&xx);
++extern int vasprintf (struct foo*);
++vasprintf(&xx);
+ 
+   ;
+   return 0;
+@@ -16020,117 +28838,107 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "ac_cv_func_snprintf_noproto=yes"
++  eval "ac_cv_func_vasprintf_noproto=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_snprintf_noproto=no"
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_vasprintf_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_snprintf_noproto" >&5
+-echo "${ECHO_T}$ac_cv_func_snprintf_noproto" >&6
+-if test "$ac_cv_func_snprintf_noproto" = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_vasprintf_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_vasprintf_noproto" >&6
++if test "$ac_cv_func_vasprintf_noproto" = yes; then
+ 
+ cat >>confdefs.h <<\_ACEOF
+-#define NEED_SNPRINTF_PROTO 1
++#define NEED_VASPRINTF_PROTO 1
+ _ACEOF
+ 
+ fi
+ fi
+ 
+-fi
+-
+-
+-echo "$as_me:$LINENO: checking for working vsnprintf" >&5
+-echo $ECHO_N "checking for working vsnprintf... $ECHO_C" >&6
+-if test "${ac_cv_func_vsnprintf_working+set}" = set; then
++if test "$ac_cv_func_asnprintf+set" != set -o "$ac_cv_func_asnprintf" = yes; then
++echo "$as_me:$LINENO: checking if asnprintf needs a prototype" >&5
++echo $ECHO_N "checking if asnprintf needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_asnprintf_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  ac_cv_func_vsnprintf_working=yes
+-if test "$cross_compiling" = yes; then
+-  :
+-else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-
+-#include <stdio.h>
+-#include <string.h>
+-#include <stdarg.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ 
+-int foo(int num, ...)
++	#include <stdio.h>
++	#include <string.h>
++int
++main ()
+ {
+-	char bar[3];
+-	va_list arg;
+-	va_start(arg, num);
+-	vsnprintf(bar, 2, "%s", arg);
+-	va_end(arg);
+-	return strcmp(bar, "1");
+-}
+-
++struct foo { int foo; } xx;
++extern int asnprintf (struct foo*);
++asnprintf(&xx);
+ 
+-int main()
+-{
+-	return foo(0, "12");
++  ;
++  return 0;
+ }
+ _ACEOF
+-rm -f conftest$ac_exeext
+-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  :
++  eval "ac_cv_func_asnprintf_noproto=yes"
+ else
+-  echo "$as_me: program exited with status $ac_status" >&5
+-echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-( exit $ac_status )
+-ac_cv_func_vsnprintf_working=no
+-fi
+-rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_asnprintf_noproto=no"
+ fi
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_vsnprintf_working" >&5
+-echo "${ECHO_T}$ac_cv_func_vsnprintf_working" >&6
+-
+-if test "$ac_cv_func_vsnprintf_working" = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_asnprintf_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_asnprintf_noproto" >&6
++if test "$ac_cv_func_asnprintf_noproto" = yes; then
+ 
+-cat >>confdefs.h <<_ACEOF
+-#define HAVE_VSNPRINTF 1
++cat >>confdefs.h <<\_ACEOF
++#define NEED_ASNPRINTF_PROTO 1
+ _ACEOF
+ 
+ fi
+-if test "$ac_cv_func_vsnprintf_working" = yes; then
++fi
+ 
+-if test "$ac_cv_func_vsnprintf+set" != set -o "$ac_cv_func_vsnprintf" = yes; then
+-echo "$as_me:$LINENO: checking if vsnprintf needs a prototype" >&5
+-echo $ECHO_N "checking if vsnprintf needs a prototype... $ECHO_C" >&6
+-if test "${ac_cv_func_vsnprintf_noproto+set}" = set; then
++if test "$ac_cv_func_vasnprintf+set" != set -o "$ac_cv_func_vasnprintf" = yes; then
++echo "$as_me:$LINENO: checking if vasnprintf needs a prototype" >&5
++echo $ECHO_N "checking if vasnprintf needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_vasnprintf_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  cat >conftest.$ac_ext <<_ACEOF
+-#line $LINENO "configure"
+-#include "confdefs.h"
+-#include <stdio.h>
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
++else
++  cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++	#include <stdio.h>
++	#include <string.h>
+ int
+ main ()
+ {
+ struct foo { int foo; } xx;
+-extern int vsnprintf (struct foo*);
+-vsnprintf(&xx);
++extern int vasnprintf (struct foo*);
++vasnprintf(&xx);
+ 
+   ;
+   return 0;
+@@ -16148,60 +28956,61 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "ac_cv_func_vsnprintf_noproto=yes"
++  eval "ac_cv_func_vasnprintf_noproto=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_vsnprintf_noproto=no"
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_vasnprintf_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_vsnprintf_noproto" >&5
+-echo "${ECHO_T}$ac_cv_func_vsnprintf_noproto" >&6
+-if test "$ac_cv_func_vsnprintf_noproto" = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_vasnprintf_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_vasnprintf_noproto" >&6
++if test "$ac_cv_func_vasnprintf_noproto" = yes; then
+ 
+ cat >>confdefs.h <<\_ACEOF
+-#define NEED_VSNPRINTF_PROTO 1
++#define NEED_VASNPRINTF_PROTO 1
+ _ACEOF
+ 
+ fi
+ fi
+ 
+-fi
+ 
+ 
+ 
+-echo "$as_me:$LINENO: checking for working glob" >&5
+-echo $ECHO_N "checking for working glob... $ECHO_C" >&6
+-if test "${ac_cv_func_glob_working+set}" = set; then
++
++echo "$as_me:$LINENO: checking for bswap16" >&5
++echo $ECHO_N "checking for bswap16... $ECHO_C" >&6
++if test "${ac_cv_funclib_bswap16+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  ac_cv_func_glob_working=yes
+-cat >conftest.$ac_ext <<_ACEOF
+-#line $LINENO "configure"
+-#include "confdefs.h"
+ 
+-#include <stdio.h>
+-#include <glob.h>
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
++if eval "test \"\$ac_cv_func_bswap16\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_SYS_BSWAP_H
++#include <sys/bswap.h>
+ #endif
+ int
+ main ()
+ {
+-
+-glob(NULL, GLOB_BRACE|GLOB_NOCHECK|GLOB_QUOTE|GLOB_TILDE|
+-#ifdef GLOB_MAXPATH
+-GLOB_MAXPATH
+-#else
+-GLOB_LIMIT
+-#endif
+-,
+-NULL, NULL);
+-
++bswap16(0)
+   ;
+   return 0;
+ }
+@@ -16218,156 +29027,219 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  :
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_bswap16=$ac_lib; else ac_cv_funclib_bswap16=yes; fi";break
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_glob_working=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_bswap16=\${ac_cv_funclib_bswap16-no}"
++	LIBS="$ac_save_LIBS"
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_glob_working" >&5
+-echo "${ECHO_T}$ac_cv_func_glob_working" >&6
+ 
+-if test "$ac_cv_func_glob_working" = yes; then
++fi
+ 
+-cat >>confdefs.h <<\_ACEOF
+-#define HAVE_GLOB 1
+-_ACEOF
+ 
+-fi
+-if test "$ac_cv_func_glob_working" = yes; then
++eval "ac_res=\$ac_cv_funclib_bswap16"
+ 
+-if test "$ac_cv_func_glob+set" != set -o "$ac_cv_func_glob" = yes; then
+-echo "$as_me:$LINENO: checking if glob needs a prototype" >&5
+-echo $ECHO_N "checking if glob needs a prototype... $ECHO_C" >&6
+-if test "${ac_cv_func_glob_noproto+set}" = set; then
++if false; then
++
++for ac_func in bswap16
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-#include <stdio.h>
+-#include <glob.h>
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
+ #endif
++#ifdef __cplusplus
++}
++#endif
++
+ int
+ main ()
+ {
+-struct foo { int foo; } xx;
+-extern int glob (struct foo*);
+-glob(&xx);
+-
++return f != $ac_func;
+   ;
+   return 0;
+ }
+ _ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
++         { ac_try='test -s conftest$ac_exeext'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "ac_cv_func_glob_noproto=yes"
++  eval "$as_ac_var=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_glob_noproto=no"
+-fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
+-fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_glob_noproto" >&5
+-echo "${ECHO_T}$ac_cv_func_glob_noproto" >&6
+-if test "$ac_cv_func_glob_noproto" = yes; then
+-
+-cat >>confdefs.h <<\_ACEOF
+-#define NEED_GLOB_PROTO 1
+-_ACEOF
++sed 's/^/| /' conftest.$ac_ext >&5
+ 
++eval "$as_ac_var=no"
+ fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
+ 
+ fi
++done
+ 
+-if test "$ac_cv_func_glob_working" != yes; then
+-	LIBOBJS="$LIBOBJS glob.$ac_objext"
+-fi
+-
+-
+-if test "$ac_cv_func_glob_working" = yes; then
+-  have_glob_h_TRUE=
+-  have_glob_h_FALSE='#'
+-else
+-  have_glob_h_TRUE='#'
+-  have_glob_h_FALSE=
+ fi
++# bswap16
++eval "ac_tr_func=HAVE_`echo bswap16 | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_bswap16=$ac_res"
+ 
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_bswap16=yes"
++	eval "LIB_bswap16="
++	cat >>confdefs.h <<_ACEOF
++#define $ac_tr_func 1
++_ACEOF
+ 
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_bswap16=no"
++	eval "LIB_bswap16="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_bswap16=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++#define $ac_tr_func 1
++_ACEOF
+ 
++	cat >>confdefs.h <<_ACEOF
++#define $ac_tr_lib 1
++_ACEOF
+ 
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
+ 
+ 
+ 
+ 
+ 
+ 
++echo "$as_me:$LINENO: checking for bswap32" >&5
++echo $ECHO_N "checking for bswap32... $ECHO_C" >&6
++if test "${ac_cv_funclib_bswap32+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
+ 
++if eval "test \"\$ac_cv_func_bswap32\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_SYS_BSWAP_H
++#include <sys/bswap.h>
++#endif
++int
++main ()
++{
++bswap32(0)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_bswap32=$ac_lib; else ac_cv_funclib_bswap32=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
+ 
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_bswap32=\${ac_cv_funclib_bswap32-no}"
++	LIBS="$ac_save_LIBS"
++fi
+ 
++fi
+ 
+ 
++eval "ac_res=\$ac_cv_funclib_bswap32"
+ 
++if false; then
+ 
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-for ac_func in 				\
+-	asnprintf				\
+-	asprintf				\
+-	atexit					\
+-	cgetent					\
+-	getconfattr				\
+-	getprogname				\
+-	getrlimit				\
+-	getspnam				\
+-	initstate				\
+-	issetugid				\
+-	on_exit					\
+-	random					\
+-	setprogname				\
+-	setstate				\
+-	strsvis					\
+-	strunvis				\
+-	strvis					\
+-	strvisx					\
+-	svis					\
+-	sysconf					\
+-	sysctl					\
+-	uname					\
+-	unvis					\
+-	vasnprintf				\
+-	vasprintf				\
+-	vis					\
+-
++for ac_func in bswap32
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ echo "$as_me:$LINENO: checking for $ac_func" >&5
+@@ -16377,37 +29249,44 @@
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char $ac_func (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+ char $ac_func ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
+ /* The GNU C library defines this for functions which it implements
+     to always fail with ENOSYS.  Some functions are actually named
+     something starting with __ and the normal name is an alias.  */
+ #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
+ choke me
+ #else
+-f = $ac_func;
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != $ac_func;
+   ;
+   return 0;
+ }
+@@ -16427,7 +29306,8 @@
+   eval "$as_ac_var=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ eval "$as_ac_var=no"
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+@@ -16442,27 +29322,59 @@
+ fi
+ done
+ 
+-
+-if test "$ac_cv_func_cgetent" = no; then
+-	LIBOBJS="$LIBOBJS getcap.$ac_objext"
+ fi
++# bswap32
++eval "ac_tr_func=HAVE_`echo bswap32 | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_bswap32=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_bswap32=yes"
++	eval "LIB_bswap32="
++	cat >>confdefs.h <<_ACEOF
++#define $ac_tr_func 1
++_ACEOF
+ 
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_bswap32=no"
++	eval "LIB_bswap32="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_bswap32=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++#define $ac_tr_func 1
++_ACEOF
+ 
++	cat >>confdefs.h <<_ACEOF
++#define $ac_tr_lib 1
++_ACEOF
+ 
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
+ 
+ 
+ 
+ 
+ 
+-echo "$as_me:$LINENO: checking for getsockopt" >&5
+-echo $ECHO_N "checking for getsockopt... $ECHO_C" >&6
+-if test "${ac_cv_funclib_getsockopt+set}" = set; then
++
++echo "$as_me:$LINENO: checking for pidfile" >&5
++echo $ECHO_N "checking for pidfile... $ECHO_C" >&6
++if test "${ac_cv_funclib_pidfile+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-if eval "test \"\$ac_cv_func_getsockopt\" != yes" ; then
++if eval "test \"\$ac_cv_func_pidfile\" != yes" ; then
+ 	ac_save_LIBS="$LIBS"
+-	for ac_lib in "" ; do
++	for ac_lib in "" util; do
+ 		case "$ac_lib" in
+ 		"") ;;
+ 		yes) ac_lib="" ;;
+@@ -16473,23 +29385,18 @@
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-#ifdef HAVE_SYS_TYPES_H
+-#include <sys/types.h>
+-#endif
+-#ifdef HAVE_SYS_SOCKET_H
+-#include <sys/socket.h>
+-#endif
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_UTIL_H
++#include <util.h>
+ #endif
+ int
+ main ()
+ {
+-getsockopt(0,0,0,0,0)
++pidfile(0)
+   ;
+   return 0;
+ }
+@@ -16506,25 +29413,26 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "if test -n \"$ac_lib\";then ac_cv_funclib_getsockopt=$ac_lib; else ac_cv_funclib_getsockopt=yes; fi";break
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_pidfile=$ac_lib; else ac_cv_funclib_pidfile=yes; fi";break
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ 	done
+-	eval "ac_cv_funclib_getsockopt=\${ac_cv_funclib_getsockopt-no}"
++	eval "ac_cv_funclib_pidfile=\${ac_cv_funclib_pidfile-no}"
+ 	LIBS="$ac_save_LIBS"
+ fi
+ 
+ fi
+ 
+ 
+-eval "ac_res=\$ac_cv_funclib_getsockopt"
++eval "ac_res=\$ac_cv_funclib_pidfile"
+ 
+ if false; then
+ 
+-for ac_func in getsockopt
++for ac_func in pidfile
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ echo "$as_me:$LINENO: checking for $ac_func" >&5
+@@ -16534,37 +29442,44 @@
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char $ac_func (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+ char $ac_func ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
+ /* The GNU C library defines this for functions which it implements
+     to always fail with ENOSYS.  Some functions are actually named
+     something starting with __ and the normal name is an alias.  */
+ #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
+ choke me
+ #else
+-f = $ac_func;
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != $ac_func;
+   ;
+   return 0;
+ }
+@@ -16584,7 +29499,8 @@
+   eval "$as_ac_var=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ eval "$as_ac_var=no"
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+@@ -16600,15 +29516,15 @@
+ done
+ 
+ fi
+-# getsockopt
+-eval "ac_tr_func=HAVE_`echo getsockopt | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++# pidfile
++eval "ac_tr_func=HAVE_`echo pidfile | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
+ eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
+-eval "LIB_getsockopt=$ac_res"
++eval "LIB_pidfile=$ac_res"
+ 
+ case "$ac_res" in
+ 	yes)
+-	eval "ac_cv_func_getsockopt=yes"
+-	eval "LIB_getsockopt="
++	eval "ac_cv_func_pidfile=yes"
++	eval "LIB_pidfile="
+ 	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+ _ACEOF
+@@ -16617,13 +29533,13 @@
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+-	eval "ac_cv_func_getsockopt=no"
+-	eval "LIB_getsockopt="
++	eval "ac_cv_func_pidfile=no"
++	eval "LIB_pidfile="
+ 	echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+-	eval "ac_cv_func_getsockopt=yes"
++	eval "ac_cv_func_pidfile=yes"
+ 	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
+ 	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+@@ -16642,13 +29558,15 @@
+ 
+ 
+ 
+-echo "$as_me:$LINENO: checking for setsockopt" >&5
+-echo $ECHO_N "checking for setsockopt... $ECHO_C" >&6
+-if test "${ac_cv_funclib_setsockopt+set}" = set; then
++
++
++echo "$as_me:$LINENO: checking for getaddrinfo" >&5
++echo $ECHO_N "checking for getaddrinfo... $ECHO_C" >&6
++if test "${ac_cv_funclib_getaddrinfo+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-if eval "test \"\$ac_cv_func_setsockopt\" != yes" ; then
++if eval "test \"\$ac_cv_func_getaddrinfo\" != yes" ; then
+ 	ac_save_LIBS="$LIBS"
+ 	for ac_lib in "" ; do
+ 		case "$ac_lib" in
+@@ -16661,23 +29579,18 @@
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-#ifdef HAVE_SYS_TYPES_H
+-#include <sys/types.h>
+-#endif
+-#ifdef HAVE_SYS_SOCKET_H
+-#include <sys/socket.h>
+-#endif
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
+ #endif
+ int
+ main ()
+ {
+-setsockopt(0,0,0,0,0)
++getaddrinfo(0,0,0,0)
+   ;
+   return 0;
+ }
+@@ -16694,25 +29607,26 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "if test -n \"$ac_lib\";then ac_cv_funclib_setsockopt=$ac_lib; else ac_cv_funclib_setsockopt=yes; fi";break
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_getaddrinfo=$ac_lib; else ac_cv_funclib_getaddrinfo=yes; fi";break
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ 	done
+-	eval "ac_cv_funclib_setsockopt=\${ac_cv_funclib_setsockopt-no}"
++	eval "ac_cv_funclib_getaddrinfo=\${ac_cv_funclib_getaddrinfo-no}"
+ 	LIBS="$ac_save_LIBS"
+ fi
+ 
+ fi
+ 
+ 
+-eval "ac_res=\$ac_cv_funclib_setsockopt"
++eval "ac_res=\$ac_cv_funclib_getaddrinfo"
+ 
+ if false; then
+ 
+-for ac_func in setsockopt
++for ac_func in getaddrinfo
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ echo "$as_me:$LINENO: checking for $ac_func" >&5
+@@ -16722,37 +29636,44 @@
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char $ac_func (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+ char $ac_func ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
+ /* The GNU C library defines this for functions which it implements
+     to always fail with ENOSYS.  Some functions are actually named
+     something starting with __ and the normal name is an alias.  */
+ #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
+ choke me
+ #else
+-f = $ac_func;
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != $ac_func;
+   ;
+   return 0;
+ }
+@@ -16772,7 +29693,8 @@
+   eval "$as_ac_var=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ eval "$as_ac_var=no"
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+@@ -16788,15 +29710,15 @@
+ done
+ 
+ fi
+-# setsockopt
+-eval "ac_tr_func=HAVE_`echo setsockopt | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++# getaddrinfo
++eval "ac_tr_func=HAVE_`echo getaddrinfo | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
+ eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
+-eval "LIB_setsockopt=$ac_res"
++eval "LIB_getaddrinfo=$ac_res"
+ 
+ case "$ac_res" in
+ 	yes)
+-	eval "ac_cv_func_setsockopt=yes"
+-	eval "LIB_setsockopt="
++	eval "ac_cv_func_getaddrinfo=yes"
++	eval "LIB_getaddrinfo="
+ 	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+ _ACEOF
+@@ -16805,13 +29727,13 @@
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+-	eval "ac_cv_func_setsockopt=no"
+-	eval "LIB_setsockopt="
++	eval "ac_cv_func_getaddrinfo=no"
++	eval "LIB_getaddrinfo="
+ 	echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+-	eval "ac_cv_func_setsockopt=yes"
++	eval "ac_cv_func_getaddrinfo=yes"
+ 	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
+ 	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+@@ -16827,20 +29749,28 @@
+ esac
+ 
+ 
++if test -n "$LIB_getaddrinfo"; then
++	LIBS="$LIB_getaddrinfo $LIBS"
++fi
++
++if eval "test \"$ac_cv_func_getaddrinfo\" != yes"; then
++	LIBOBJS="$LIBOBJS getaddrinfo.$ac_objext"
++fi
++
+ 
+ 
+ 
+ 
+ 
+-echo "$as_me:$LINENO: checking for hstrerror" >&5
+-echo $ECHO_N "checking for hstrerror... $ECHO_C" >&6
+-if test "${ac_cv_funclib_hstrerror+set}" = set; then
++echo "$as_me:$LINENO: checking for getnameinfo" >&5
++echo $ECHO_N "checking for getnameinfo... $ECHO_C" >&6
++if test "${ac_cv_funclib_getnameinfo+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-if eval "test \"\$ac_cv_func_hstrerror\" != yes" ; then
++if eval "test \"\$ac_cv_func_getnameinfo\" != yes" ; then
+ 	ac_save_LIBS="$LIBS"
+-	for ac_lib in "" resolv; do
++	for ac_lib in "" ; do
+ 		case "$ac_lib" in
+ 		"") ;;
+ 		yes) ac_lib="" ;;
+@@ -16851,20 +29781,18 @@
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ #ifdef HAVE_NETDB_H
+ #include <netdb.h>
+ #endif
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+-hstrerror(17)
++getnameinfo(0,0,0,0,0,0,0)
+   ;
+   return 0;
+ }
+@@ -16881,25 +29809,26 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "if test -n \"$ac_lib\";then ac_cv_funclib_hstrerror=$ac_lib; else ac_cv_funclib_hstrerror=yes; fi";break
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_getnameinfo=$ac_lib; else ac_cv_funclib_getnameinfo=yes; fi";break
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ 	done
+-	eval "ac_cv_funclib_hstrerror=\${ac_cv_funclib_hstrerror-no}"
++	eval "ac_cv_funclib_getnameinfo=\${ac_cv_funclib_getnameinfo-no}"
+ 	LIBS="$ac_save_LIBS"
+ fi
+ 
+ fi
+ 
+ 
+-eval "ac_res=\$ac_cv_funclib_hstrerror"
++eval "ac_res=\$ac_cv_funclib_getnameinfo"
+ 
+ if false; then
+ 
+-for ac_func in hstrerror
++for ac_func in getnameinfo
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ echo "$as_me:$LINENO: checking for $ac_func" >&5
+@@ -16909,37 +29838,44 @@
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char $ac_func (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+ char $ac_func ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
+ /* The GNU C library defines this for functions which it implements
+     to always fail with ENOSYS.  Some functions are actually named
+     something starting with __ and the normal name is an alias.  */
+ #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
+ choke me
+ #else
+-f = $ac_func;
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != $ac_func;
+   ;
+   return 0;
+ }
+@@ -16959,7 +29895,8 @@
+   eval "$as_ac_var=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ eval "$as_ac_var=no"
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+@@ -16975,15 +29912,15 @@
+ done
+ 
+ fi
+-# hstrerror
+-eval "ac_tr_func=HAVE_`echo hstrerror | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++# getnameinfo
++eval "ac_tr_func=HAVE_`echo getnameinfo | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
+ eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
+-eval "LIB_hstrerror=$ac_res"
++eval "LIB_getnameinfo=$ac_res"
+ 
+ case "$ac_res" in
+ 	yes)
+-	eval "ac_cv_func_hstrerror=yes"
+-	eval "LIB_hstrerror="
++	eval "ac_cv_func_getnameinfo=yes"
++	eval "LIB_getnameinfo="
+ 	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+ _ACEOF
+@@ -16992,13 +29929,13 @@
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+-	eval "ac_cv_func_hstrerror=no"
+-	eval "LIB_hstrerror="
++	eval "ac_cv_func_getnameinfo=no"
++	eval "LIB_getnameinfo="
+ 	echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+-	eval "ac_cv_func_hstrerror=yes"
++	eval "ac_cv_func_getnameinfo=yes"
+ 	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
+ 	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+@@ -17014,329 +29951,228 @@
+ esac
+ 
+ 
+-if test -n "$LIB_hstrerror"; then
+-	LIBS="$LIB_hstrerror $LIBS"
++if test -n "$LIB_getnameinfo"; then
++	LIBS="$LIB_getnameinfo $LIBS"
+ fi
+ 
+-if eval "test \"$ac_cv_func_hstrerror\" != yes"; then
+-	LIBOBJS="$LIBOBJS hstrerror.$ac_objext"
++if eval "test \"$ac_cv_func_getnameinfo\" != yes"; then
++	LIBOBJS="$LIBOBJS getnameinfo.$ac_objext"
+ fi
+ 
+ 
+-if test "$ac_cv_func_hstrerror+set" != set -o "$ac_cv_func_hstrerror" = yes; then
+-echo "$as_me:$LINENO: checking if hstrerror needs a prototype" >&5
+-echo $ECHO_N "checking if hstrerror needs a prototype... $ECHO_C" >&6
+-if test "${ac_cv_func_hstrerror_noproto+set}" = set; then
++
++
++
++
++echo "$as_me:$LINENO: checking for freeaddrinfo" >&5
++echo $ECHO_N "checking for freeaddrinfo... $ECHO_C" >&6
++if test "${ac_cv_funclib_freeaddrinfo+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<_ACEOF
+-#line $LINENO "configure"
+-#include "confdefs.h"
+ 
++if eval "test \"\$ac_cv_func_freeaddrinfo\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ #ifdef HAVE_NETDB_H
+ #include <netdb.h>
+ #endif
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+-struct foo { int foo; } xx;
+-extern int hstrerror (struct foo*);
+-hstrerror(&xx);
+-
++freeaddrinfo(0)
+   ;
+   return 0;
+ }
+ _ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
++         { ac_try='test -s conftest$ac_exeext'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "ac_cv_func_hstrerror_noproto=yes"
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_freeaddrinfo=$ac_lib; else ac_cv_funclib_freeaddrinfo=yes; fi";break
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_hstrerror_noproto=no"
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_freeaddrinfo=\${ac_cv_funclib_freeaddrinfo-no}"
++	LIBS="$ac_save_LIBS"
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_hstrerror_noproto" >&5
+-echo "${ECHO_T}$ac_cv_func_hstrerror_noproto" >&6
+-if test "$ac_cv_func_hstrerror_noproto" = yes; then
+-
+-cat >>confdefs.h <<\_ACEOF
+-#define NEED_HSTRERROR_PROTO 1
+-_ACEOF
+ 
+ fi
+-fi
+ 
+ 
++eval "ac_res=\$ac_cv_funclib_freeaddrinfo"
+ 
+-if test "$ac_cv_func_asprintf+set" != set -o "$ac_cv_func_asprintf" = yes; then
+-echo "$as_me:$LINENO: checking if asprintf needs a prototype" >&5
+-echo $ECHO_N "checking if asprintf needs a prototype... $ECHO_C" >&6
+-if test "${ac_cv_func_asprintf_noproto+set}" = set; then
++if false; then
++
++for ac_func in freeaddrinfo
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-
+-	#include <stdio.h>
+-	#include <string.h>
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
+ #endif
+-int
+-main ()
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
+ {
+-struct foo { int foo; } xx;
+-extern int asprintf (struct foo*);
+-asprintf(&xx);
+-
+-  ;
+-  return 0;
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
+ }
+-_ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
+-  eval "ac_cv_func_asprintf_noproto=yes"
+-else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_asprintf_noproto=no"
+-fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
+-fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_asprintf_noproto" >&5
+-echo "${ECHO_T}$ac_cv_func_asprintf_noproto" >&6
+-if test "$ac_cv_func_asprintf_noproto" = yes; then
+-
+-cat >>confdefs.h <<\_ACEOF
+-#define NEED_ASPRINTF_PROTO 1
+-_ACEOF
+-
+-fi
+-fi
+-
+-if test "$ac_cv_func_vasprintf+set" != set -o "$ac_cv_func_vasprintf" = yes; then
+-echo "$as_me:$LINENO: checking if vasprintf needs a prototype" >&5
+-echo $ECHO_N "checking if vasprintf needs a prototype... $ECHO_C" >&6
+-if test "${ac_cv_func_vasprintf_noproto+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  cat >conftest.$ac_ext <<_ACEOF
+-#line $LINENO "configure"
+-#include "confdefs.h"
+-
+-	#include <stdio.h>
+-	#include <string.h>
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+ #endif
++
+ int
+ main ()
+ {
+-struct foo { int foo; } xx;
+-extern int vasprintf (struct foo*);
+-vasprintf(&xx);
+-
++return f != $ac_func;
+   ;
+   return 0;
+ }
+ _ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
++         { ac_try='test -s conftest$ac_exeext'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "ac_cv_func_vasprintf_noproto=yes"
++  eval "$as_ac_var=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_vasprintf_noproto=no"
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
+ fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_vasprintf_noproto" >&5
+-echo "${ECHO_T}$ac_cv_func_vasprintf_noproto" >&6
+-if test "$ac_cv_func_vasprintf_noproto" = yes; then
+-
+-cat >>confdefs.h <<\_ACEOF
+-#define NEED_VASPRINTF_PROTO 1
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+ _ACEOF
+ 
+ fi
+-fi
+-
+-if test "$ac_cv_func_asnprintf+set" != set -o "$ac_cv_func_asnprintf" = yes; then
+-echo "$as_me:$LINENO: checking if asnprintf needs a prototype" >&5
+-echo $ECHO_N "checking if asnprintf needs a prototype... $ECHO_C" >&6
+-if test "${ac_cv_func_asnprintf_noproto+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  cat >conftest.$ac_ext <<_ACEOF
+-#line $LINENO "configure"
+-#include "confdefs.h"
++done
+ 
+-	#include <stdio.h>
+-	#include <string.h>
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
+-struct foo { int foo; } xx;
+-extern int asnprintf (struct foo*);
+-asnprintf(&xx);
++fi
++# freeaddrinfo
++eval "ac_tr_func=HAVE_`echo freeaddrinfo | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_freeaddrinfo=$ac_res"
+ 
+-  ;
+-  return 0;
+-}
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_freeaddrinfo=yes"
++	eval "LIB_freeaddrinfo="
++	cat >>confdefs.h <<_ACEOF
++#define $ac_tr_func 1
+ _ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
+-  eval "ac_cv_func_asnprintf_noproto=yes"
+-else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_asnprintf_noproto=no"
+-fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
+-fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_asnprintf_noproto" >&5
+-echo "${ECHO_T}$ac_cv_func_asnprintf_noproto" >&6
+-if test "$ac_cv_func_asnprintf_noproto" = yes; then
+ 
+-cat >>confdefs.h <<\_ACEOF
+-#define NEED_ASNPRINTF_PROTO 1
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_freeaddrinfo=no"
++	eval "LIB_freeaddrinfo="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_freeaddrinfo=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++#define $ac_tr_func 1
+ _ACEOF
+ 
+-fi
+-fi
++	cat >>confdefs.h <<_ACEOF
++#define $ac_tr_lib 1
++_ACEOF
+ 
+-if test "$ac_cv_func_vasnprintf+set" != set -o "$ac_cv_func_vasnprintf" = yes; then
+-echo "$as_me:$LINENO: checking if vasnprintf needs a prototype" >&5
+-echo $ECHO_N "checking if vasnprintf needs a prototype... $ECHO_C" >&6
+-if test "${ac_cv_func_vasnprintf_noproto+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  cat >conftest.$ac_ext <<_ACEOF
+-#line $LINENO "configure"
+-#include "confdefs.h"
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
+ 
+-	#include <stdio.h>
+-	#include <string.h>
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
+-struct foo { int foo; } xx;
+-extern int vasnprintf (struct foo*);
+-vasnprintf(&xx);
+ 
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
+-  eval "ac_cv_func_vasnprintf_noproto=yes"
+-else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_vasnprintf_noproto=no"
+-fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
++if test -n "$LIB_freeaddrinfo"; then
++	LIBS="$LIB_freeaddrinfo $LIBS"
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_vasnprintf_noproto" >&5
+-echo "${ECHO_T}$ac_cv_func_vasnprintf_noproto" >&6
+-if test "$ac_cv_func_vasnprintf_noproto" = yes; then
+-
+-cat >>confdefs.h <<\_ACEOF
+-#define NEED_VASNPRINTF_PROTO 1
+-_ACEOF
+ 
+-fi
++if eval "test \"$ac_cv_func_freeaddrinfo\" != yes"; then
++	LIBOBJS="$LIBOBJS freeaddrinfo.$ac_objext"
+ fi
+ 
+ 
+ 
+ 
+ 
+-echo "$as_me:$LINENO: checking for bswap16" >&5
+-echo $ECHO_N "checking for bswap16... $ECHO_C" >&6
+-if test "${ac_cv_funclib_bswap16+set}" = set; then
++
++echo "$as_me:$LINENO: checking for gai_strerror" >&5
++echo $ECHO_N "checking for gai_strerror... $ECHO_C" >&6
++if test "${ac_cv_funclib_gai_strerror+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-if eval "test \"\$ac_cv_func_bswap16\" != yes" ; then
++if eval "test \"\$ac_cv_func_gai_strerror\" != yes" ; then
+ 	ac_save_LIBS="$LIBS"
+ 	for ac_lib in "" ; do
+ 		case "$ac_lib" in
+@@ -17349,20 +30185,18 @@
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-#ifdef HAVE_SYS_BSWAP_H
+-#include <sys/bswap.h>
+-#endif
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
+ #endif
+ int
+ main ()
+ {
+-bswap16(0)
++gai_strerror(0)
+   ;
+   return 0;
+ }
+@@ -17379,25 +30213,26 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "if test -n \"$ac_lib\";then ac_cv_funclib_bswap16=$ac_lib; else ac_cv_funclib_bswap16=yes; fi";break
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_gai_strerror=$ac_lib; else ac_cv_funclib_gai_strerror=yes; fi";break
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ 	done
+-	eval "ac_cv_funclib_bswap16=\${ac_cv_funclib_bswap16-no}"
++	eval "ac_cv_funclib_gai_strerror=\${ac_cv_funclib_gai_strerror-no}"
+ 	LIBS="$ac_save_LIBS"
+ fi
+ 
+ fi
+ 
+ 
+-eval "ac_res=\$ac_cv_funclib_bswap16"
++eval "ac_res=\$ac_cv_funclib_gai_strerror"
+ 
+ if false; then
+ 
+-for ac_func in bswap16
++for ac_func in gai_strerror
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ echo "$as_me:$LINENO: checking for $ac_func" >&5
+@@ -17407,37 +30242,44 @@
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char $ac_func (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+ char $ac_func ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
+ /* The GNU C library defines this for functions which it implements
+     to always fail with ENOSYS.  Some functions are actually named
+     something starting with __ and the normal name is an alias.  */
+ #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
+ choke me
+ #else
+-f = $ac_func;
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != $ac_func;
+   ;
+   return 0;
+ }
+@@ -17457,7 +30299,8 @@
+   eval "$as_ac_var=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ eval "$as_ac_var=no"
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+@@ -17473,15 +30316,15 @@
+ done
+ 
+ fi
+-# bswap16
+-eval "ac_tr_func=HAVE_`echo bswap16 | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++# gai_strerror
++eval "ac_tr_func=HAVE_`echo gai_strerror | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
+ eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
+-eval "LIB_bswap16=$ac_res"
++eval "LIB_gai_strerror=$ac_res"
+ 
+ case "$ac_res" in
+ 	yes)
+-	eval "ac_cv_func_bswap16=yes"
+-	eval "LIB_bswap16="
++	eval "ac_cv_func_gai_strerror=yes"
++	eval "LIB_gai_strerror="
+ 	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+ _ACEOF
+@@ -17490,13 +30333,13 @@
+ echo "${ECHO_T}yes" >&6
+ 	;;
+ 	no)
+-	eval "ac_cv_func_bswap16=no"
+-	eval "LIB_bswap16="
++	eval "ac_cv_func_gai_strerror=no"
++	eval "LIB_gai_strerror="
+ 	echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ 	;;
+ 	*)
+-	eval "ac_cv_func_bswap16=yes"
++	eval "ac_cv_func_gai_strerror=yes"
+ 	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
+ 	cat >>confdefs.h <<_ACEOF
+ #define $ac_tr_func 1
+@@ -17512,43 +30355,60 @@
+ esac
+ 
+ 
++if test -n "$LIB_gai_strerror"; then
++	LIBS="$LIB_gai_strerror $LIBS"
++fi
+ 
++if eval "test \"$ac_cv_func_gai_strerror\" != yes"; then
++	LIBOBJS="$LIBOBJS gai_strerror.$ac_objext"
++fi
+ 
+ 
+-
+-echo "$as_me:$LINENO: checking for bswap32" >&5
+-echo $ECHO_N "checking for bswap32... $ECHO_C" >&6
+-if test "${ac_cv_funclib_bswap32+set}" = set; then
++echo "$as_me:$LINENO: checking for chown" >&5
++echo $ECHO_N "checking for chown... $ECHO_C" >&6
++if test "${ac_cv_func_chown+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-
+-if eval "test \"\$ac_cv_func_bswap32\" != yes" ; then
+-	ac_save_LIBS="$LIBS"
+-	for ac_lib in "" ; do
+-		case "$ac_lib" in
+-		"") ;;
+-		yes) ac_lib="" ;;
+-		no) continue ;;
+-		-l*) ;;
+-		*) ac_lib="-l$ac_lib" ;;
+-		esac
+-		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<_ACEOF
++  cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-#ifdef HAVE_SYS_BSWAP_H
+-#include <sys/bswap.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char chown (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
+ #endif
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char chown ();
++/* 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_chown) || defined (__stub___chown)
++choke me
++#else
++char (*f) () = chown;
+ #endif
++#ifdef __cplusplus
++}
++#endif
++
+ int
+ main ()
+ {
+-bswap32(0)
++return f != chown;
+   ;
+   return 0;
+ }
+@@ -17565,65 +30425,71 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "if test -n \"$ac_lib\";then ac_cv_funclib_bswap32=$ac_lib; else ac_cv_funclib_bswap32=yes; fi";break
++  ac_cv_func_chown=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_chown=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+-	done
+-	eval "ac_cv_funclib_bswap32=\${ac_cv_funclib_bswap32-no}"
+-	LIBS="$ac_save_LIBS"
+ fi
++echo "$as_me:$LINENO: result: $ac_cv_func_chown" >&5
++echo "${ECHO_T}$ac_cv_func_chown" >&6
++if test $ac_cv_func_chown = yes; then
+ 
+-fi
+-
+-
+-eval "ac_res=\$ac_cv_funclib_bswap32"
+-
+-if false; then
++cat >>confdefs.h <<_ACEOF
++#define HAVE_CHOWN 1
++_ACEOF
+ 
+-for ac_func in bswap32
+-do
+-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:$LINENO: checking for $ac_func" >&5
+-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+-if eval "test \"\${$as_ac_var+set}\" = set"; then
++else
++  LIBOBJS="$LIBOBJS chown.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for copyhostent" >&5
++echo $ECHO_N "checking for copyhostent... $ECHO_C" >&6
++if test "${ac_cv_func_copyhostent+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char $ac_func (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char copyhostent (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+-char $ac_func ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
++char copyhostent ();
+ /* The GNU C library defines this for functions which it implements
+     to always fail with ENOSYS.  Some functions are actually named
+     something starting with __ and the normal name is an alias.  */
+-#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++#if defined (__stub_copyhostent) || defined (__stub___copyhostent)
+ choke me
+ #else
+-f = $ac_func;
++char (*f) () = copyhostent;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != copyhostent;
+   ;
+   return 0;
+ }
+@@ -17640,101 +30506,71 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "$as_ac_var=yes"
++  ac_cv_func_copyhostent=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$as_ac_var=no"
+-fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+-fi
+-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
+-echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+-if test `eval echo '${'$as_ac_var'}'` = yes; then
+-  cat >>confdefs.h <<_ACEOF
+-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+-_ACEOF
++sed 's/^/| /' conftest.$ac_ext >&5
+ 
++ac_cv_func_copyhostent=no
+ fi
+-done
+-
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-# bswap32
+-eval "ac_tr_func=HAVE_`echo bswap32 | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
+-eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
+-eval "LIB_bswap32=$ac_res"
+-
+-case "$ac_res" in
+-	yes)
+-	eval "ac_cv_func_bswap32=yes"
+-	eval "LIB_bswap32="
+-	cat >>confdefs.h <<_ACEOF
+-#define $ac_tr_func 1
+-_ACEOF
+-
+-	echo "$as_me:$LINENO: result: yes" >&5
+-echo "${ECHO_T}yes" >&6
+-	;;
+-	no)
+-	eval "ac_cv_func_bswap32=no"
+-	eval "LIB_bswap32="
+-	echo "$as_me:$LINENO: result: no" >&5
+-echo "${ECHO_T}no" >&6
+-	;;
+-	*)
+-	eval "ac_cv_func_bswap32=yes"
+-	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
+-	cat >>confdefs.h <<_ACEOF
+-#define $ac_tr_func 1
+-_ACEOF
++echo "$as_me:$LINENO: result: $ac_cv_func_copyhostent" >&5
++echo "${ECHO_T}$ac_cv_func_copyhostent" >&6
++if test $ac_cv_func_copyhostent = yes; then
+ 
+-	cat >>confdefs.h <<_ACEOF
+-#define $ac_tr_lib 1
++cat >>confdefs.h <<_ACEOF
++#define HAVE_COPYHOSTENT 1
+ _ACEOF
+ 
+-	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
+-echo "${ECHO_T}yes, in $ac_res" >&6
+-	;;
+-esac
+-
+-
+-
+-
+-
+-
+-echo "$as_me:$LINENO: checking for pidfile" >&5
+-echo $ECHO_N "checking for pidfile... $ECHO_C" >&6
+-if test "${ac_cv_funclib_pidfile+set}" = set; then
++else
++  LIBOBJS="$LIBOBJS copyhostent.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for daemon" >&5
++echo $ECHO_N "checking for daemon... $ECHO_C" >&6
++if test "${ac_cv_func_daemon+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-
+-if eval "test \"\$ac_cv_func_pidfile\" != yes" ; then
+-	ac_save_LIBS="$LIBS"
+-	for ac_lib in "" util; do
+-		case "$ac_lib" in
+-		"") ;;
+-		yes) ac_lib="" ;;
+-		no) continue ;;
+-		-l*) ;;
+-		*) ac_lib="-l$ac_lib" ;;
+-		esac
+-		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<_ACEOF
++  cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-#ifdef HAVE_UTIL_H
+-#include <util.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char daemon (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
+ #endif
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
+ #endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char daemon ();
++/* 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_daemon) || defined (__stub___daemon)
++choke me
++#else
++char (*f) () = daemon;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
+ int
+ main ()
+ {
+-pidfile(0)
++return f != daemon;
+   ;
+   return 0;
+ }
+@@ -17751,65 +30587,71 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "if test -n \"$ac_lib\";then ac_cv_funclib_pidfile=$ac_lib; else ac_cv_funclib_pidfile=yes; fi";break
++  ac_cv_func_daemon=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_daemon=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+-	done
+-	eval "ac_cv_funclib_pidfile=\${ac_cv_funclib_pidfile-no}"
+-	LIBS="$ac_save_LIBS"
+-fi
+-
+ fi
++echo "$as_me:$LINENO: result: $ac_cv_func_daemon" >&5
++echo "${ECHO_T}$ac_cv_func_daemon" >&6
++if test $ac_cv_func_daemon = yes; then
+ 
++cat >>confdefs.h <<_ACEOF
++#define HAVE_DAEMON 1
++_ACEOF
+ 
+-eval "ac_res=\$ac_cv_funclib_pidfile"
+-
+-if false; then
+-
+-for ac_func in pidfile
+-do
+-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:$LINENO: checking for $ac_func" >&5
+-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+-if eval "test \"\${$as_ac_var+set}\" = set"; then
++else
++  LIBOBJS="$LIBOBJS daemon.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for ecalloc" >&5
++echo $ECHO_N "checking for ecalloc... $ECHO_C" >&6
++if test "${ac_cv_func_ecalloc+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char $ac_func (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char ecalloc (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+-char $ac_func ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
++char ecalloc ();
+ /* The GNU C library defines this for functions which it implements
+     to always fail with ENOSYS.  Some functions are actually named
+     something starting with __ and the normal name is an alias.  */
+-#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++#if defined (__stub_ecalloc) || defined (__stub___ecalloc)
+ choke me
+ #else
+-f = $ac_func;
++char (*f) () = ecalloc;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != ecalloc;
+   ;
+   return 0;
+ }
+@@ -17826,102 +30668,71 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "$as_ac_var=yes"
++  ac_cv_func_ecalloc=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$as_ac_var=no"
+-fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+-fi
+-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
+-echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+-if test `eval echo '${'$as_ac_var'}'` = yes; then
+-  cat >>confdefs.h <<_ACEOF
+-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+-_ACEOF
++sed 's/^/| /' conftest.$ac_ext >&5
+ 
++ac_cv_func_ecalloc=no
+ fi
+-done
+-
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-# pidfile
+-eval "ac_tr_func=HAVE_`echo pidfile | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
+-eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
+-eval "LIB_pidfile=$ac_res"
+-
+-case "$ac_res" in
+-	yes)
+-	eval "ac_cv_func_pidfile=yes"
+-	eval "LIB_pidfile="
+-	cat >>confdefs.h <<_ACEOF
+-#define $ac_tr_func 1
+-_ACEOF
+-
+-	echo "$as_me:$LINENO: result: yes" >&5
+-echo "${ECHO_T}yes" >&6
+-	;;
+-	no)
+-	eval "ac_cv_func_pidfile=no"
+-	eval "LIB_pidfile="
+-	echo "$as_me:$LINENO: result: no" >&5
+-echo "${ECHO_T}no" >&6
+-	;;
+-	*)
+-	eval "ac_cv_func_pidfile=yes"
+-	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
+-	cat >>confdefs.h <<_ACEOF
+-#define $ac_tr_func 1
+-_ACEOF
++echo "$as_me:$LINENO: result: $ac_cv_func_ecalloc" >&5
++echo "${ECHO_T}$ac_cv_func_ecalloc" >&6
++if test $ac_cv_func_ecalloc = yes; then
+ 
+-	cat >>confdefs.h <<_ACEOF
+-#define $ac_tr_lib 1
++cat >>confdefs.h <<_ACEOF
++#define HAVE_ECALLOC 1
+ _ACEOF
+ 
+-	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
+-echo "${ECHO_T}yes, in $ac_res" >&6
+-	;;
+-esac
+-
+-
+-
+-
+-
+-
+-
+-echo "$as_me:$LINENO: checking for getaddrinfo" >&5
+-echo $ECHO_N "checking for getaddrinfo... $ECHO_C" >&6
+-if test "${ac_cv_funclib_getaddrinfo+set}" = set; then
++else
++  LIBOBJS="$LIBOBJS ecalloc.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for emalloc" >&5
++echo $ECHO_N "checking for emalloc... $ECHO_C" >&6
++if test "${ac_cv_func_emalloc+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-
+-if eval "test \"\$ac_cv_func_getaddrinfo\" != yes" ; then
+-	ac_save_LIBS="$LIBS"
+-	for ac_lib in "" ; do
+-		case "$ac_lib" in
+-		"") ;;
+-		yes) ac_lib="" ;;
+-		no) continue ;;
+-		-l*) ;;
+-		*) ac_lib="-l$ac_lib" ;;
+-		esac
+-		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<_ACEOF
++  cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-#ifdef HAVE_NETDB_H
+-#include <netdb.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char emalloc (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
+ #endif
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char emalloc ();
++/* 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_emalloc) || defined (__stub___emalloc)
++choke me
++#else
++char (*f) () = emalloc;
++#endif
++#ifdef __cplusplus
++}
+ #endif
++
+ int
+ main ()
+ {
+-getaddrinfo(0,0,0,0)
++return f != emalloc;
+   ;
+   return 0;
+ }
+@@ -17938,65 +30749,71 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "if test -n \"$ac_lib\";then ac_cv_funclib_getaddrinfo=$ac_lib; else ac_cv_funclib_getaddrinfo=yes; fi";break
++  ac_cv_func_emalloc=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_emalloc=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+-	done
+-	eval "ac_cv_funclib_getaddrinfo=\${ac_cv_funclib_getaddrinfo-no}"
+-	LIBS="$ac_save_LIBS"
+-fi
+-
+ fi
++echo "$as_me:$LINENO: result: $ac_cv_func_emalloc" >&5
++echo "${ECHO_T}$ac_cv_func_emalloc" >&6
++if test $ac_cv_func_emalloc = yes; then
+ 
++cat >>confdefs.h <<_ACEOF
++#define HAVE_EMALLOC 1
++_ACEOF
+ 
+-eval "ac_res=\$ac_cv_funclib_getaddrinfo"
+-
+-if false; then
+-
+-for ac_func in getaddrinfo
+-do
+-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:$LINENO: checking for $ac_func" >&5
+-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+-if eval "test \"\${$as_ac_var+set}\" = set"; then
++else
++  LIBOBJS="$LIBOBJS emalloc.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for erealloc" >&5
++echo $ECHO_N "checking for erealloc... $ECHO_C" >&6
++if test "${ac_cv_func_erealloc+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char $ac_func (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char erealloc (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+-char $ac_func ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
++char erealloc ();
+ /* The GNU C library defines this for functions which it implements
+     to always fail with ENOSYS.  Some functions are actually named
+     something starting with __ and the normal name is an alias.  */
+-#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++#if defined (__stub_erealloc) || defined (__stub___erealloc)
+ choke me
+ #else
+-f = $ac_func;
++char (*f) () = erealloc;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != erealloc;
+   ;
+   return 0;
+ }
+@@ -18013,110 +30830,71 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "$as_ac_var=yes"
++  ac_cv_func_erealloc=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$as_ac_var=no"
+-fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+-fi
+-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
+-echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+-if test `eval echo '${'$as_ac_var'}'` = yes; then
+-  cat >>confdefs.h <<_ACEOF
+-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+-_ACEOF
++sed 's/^/| /' conftest.$ac_ext >&5
+ 
++ac_cv_func_erealloc=no
+ fi
+-done
+-
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-# getaddrinfo
+-eval "ac_tr_func=HAVE_`echo getaddrinfo | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
+-eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
+-eval "LIB_getaddrinfo=$ac_res"
+-
+-case "$ac_res" in
+-	yes)
+-	eval "ac_cv_func_getaddrinfo=yes"
+-	eval "LIB_getaddrinfo="
+-	cat >>confdefs.h <<_ACEOF
+-#define $ac_tr_func 1
+-_ACEOF
+-
+-	echo "$as_me:$LINENO: result: yes" >&5
+-echo "${ECHO_T}yes" >&6
+-	;;
+-	no)
+-	eval "ac_cv_func_getaddrinfo=no"
+-	eval "LIB_getaddrinfo="
+-	echo "$as_me:$LINENO: result: no" >&5
+-echo "${ECHO_T}no" >&6
+-	;;
+-	*)
+-	eval "ac_cv_func_getaddrinfo=yes"
+-	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
+-	cat >>confdefs.h <<_ACEOF
+-#define $ac_tr_func 1
+-_ACEOF
++echo "$as_me:$LINENO: result: $ac_cv_func_erealloc" >&5
++echo "${ECHO_T}$ac_cv_func_erealloc" >&6
++if test $ac_cv_func_erealloc = yes; then
+ 
+-	cat >>confdefs.h <<_ACEOF
+-#define $ac_tr_lib 1
++cat >>confdefs.h <<_ACEOF
++#define HAVE_EREALLOC 1
+ _ACEOF
+ 
+-	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
+-echo "${ECHO_T}yes, in $ac_res" >&6
+-	;;
+-esac
+-
+-
+-if test -n "$LIB_getaddrinfo"; then
+-	LIBS="$LIB_getaddrinfo $LIBS"
+-fi
+-
+-if eval "test \"$ac_cv_func_getaddrinfo\" != yes"; then
+-	LIBOBJS="$LIBOBJS getaddrinfo.$ac_objext"
++else
++  LIBOBJS="$LIBOBJS erealloc.$ac_objext"
+ fi
+-
+-
+-
+-
+-
+-
+-echo "$as_me:$LINENO: checking for getnameinfo" >&5
+-echo $ECHO_N "checking for getnameinfo... $ECHO_C" >&6
+-if test "${ac_cv_funclib_getnameinfo+set}" = set; then
++echo "$as_me:$LINENO: checking for estrdup" >&5
++echo $ECHO_N "checking for estrdup... $ECHO_C" >&6
++if test "${ac_cv_func_estrdup+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-
+-if eval "test \"\$ac_cv_func_getnameinfo\" != yes" ; then
+-	ac_save_LIBS="$LIBS"
+-	for ac_lib in "" ; do
+-		case "$ac_lib" in
+-		"") ;;
+-		yes) ac_lib="" ;;
+-		no) continue ;;
+-		-l*) ;;
+-		*) ac_lib="-l$ac_lib" ;;
+-		esac
+-		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<_ACEOF
++  cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-#ifdef HAVE_NETDB_H
+-#include <netdb.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char estrdup (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
+ #endif
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char estrdup ();
++/* 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_estrdup) || defined (__stub___estrdup)
++choke me
++#else
++char (*f) () = estrdup;
++#endif
++#ifdef __cplusplus
++}
+ #endif
++
+ int
+ main ()
+ {
+-getnameinfo(0,0,0,0,0,0,0)
++return f != estrdup;
+   ;
+   return 0;
+ }
+@@ -18133,65 +30911,71 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "if test -n \"$ac_lib\";then ac_cv_funclib_getnameinfo=$ac_lib; else ac_cv_funclib_getnameinfo=yes; fi";break
++  ac_cv_func_estrdup=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_estrdup=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+-	done
+-	eval "ac_cv_funclib_getnameinfo=\${ac_cv_funclib_getnameinfo-no}"
+-	LIBS="$ac_save_LIBS"
+-fi
+-
+ fi
++echo "$as_me:$LINENO: result: $ac_cv_func_estrdup" >&5
++echo "${ECHO_T}$ac_cv_func_estrdup" >&6
++if test $ac_cv_func_estrdup = yes; then
+ 
++cat >>confdefs.h <<_ACEOF
++#define HAVE_ESTRDUP 1
++_ACEOF
+ 
+-eval "ac_res=\$ac_cv_funclib_getnameinfo"
+-
+-if false; then
+-
+-for ac_func in getnameinfo
+-do
+-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:$LINENO: checking for $ac_func" >&5
+-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+-if eval "test \"\${$as_ac_var+set}\" = set"; then
++else
++  LIBOBJS="$LIBOBJS estrdup.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for err" >&5
++echo $ECHO_N "checking for err... $ECHO_C" >&6
++if test "${ac_cv_func_err+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char $ac_func (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char err (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+-char $ac_func ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
++char err ();
+ /* The GNU C library defines this for functions which it implements
+     to always fail with ENOSYS.  Some functions are actually named
+     something starting with __ and the normal name is an alias.  */
+-#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++#if defined (__stub_err) || defined (__stub___err)
+ choke me
+ #else
+-f = $ac_func;
++char (*f) () = err;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != err;
+   ;
+   return 0;
+ }
+@@ -18208,110 +30992,71 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "$as_ac_var=yes"
++  ac_cv_func_err=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$as_ac_var=no"
+-fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+-fi
+-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
+-echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+-if test `eval echo '${'$as_ac_var'}'` = yes; then
+-  cat >>confdefs.h <<_ACEOF
+-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+-_ACEOF
++sed 's/^/| /' conftest.$ac_ext >&5
+ 
++ac_cv_func_err=no
+ fi
+-done
+-
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-# getnameinfo
+-eval "ac_tr_func=HAVE_`echo getnameinfo | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
+-eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
+-eval "LIB_getnameinfo=$ac_res"
+-
+-case "$ac_res" in
+-	yes)
+-	eval "ac_cv_func_getnameinfo=yes"
+-	eval "LIB_getnameinfo="
+-	cat >>confdefs.h <<_ACEOF
+-#define $ac_tr_func 1
+-_ACEOF
+-
+-	echo "$as_me:$LINENO: result: yes" >&5
+-echo "${ECHO_T}yes" >&6
+-	;;
+-	no)
+-	eval "ac_cv_func_getnameinfo=no"
+-	eval "LIB_getnameinfo="
+-	echo "$as_me:$LINENO: result: no" >&5
+-echo "${ECHO_T}no" >&6
+-	;;
+-	*)
+-	eval "ac_cv_func_getnameinfo=yes"
+-	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
+-	cat >>confdefs.h <<_ACEOF
+-#define $ac_tr_func 1
+-_ACEOF
++echo "$as_me:$LINENO: result: $ac_cv_func_err" >&5
++echo "${ECHO_T}$ac_cv_func_err" >&6
++if test $ac_cv_func_err = yes; then
+ 
+-	cat >>confdefs.h <<_ACEOF
+-#define $ac_tr_lib 1
++cat >>confdefs.h <<_ACEOF
++#define HAVE_ERR 1
+ _ACEOF
+ 
+-	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
+-echo "${ECHO_T}yes, in $ac_res" >&6
+-	;;
+-esac
+-
+-
+-if test -n "$LIB_getnameinfo"; then
+-	LIBS="$LIB_getnameinfo $LIBS"
+-fi
+-
+-if eval "test \"$ac_cv_func_getnameinfo\" != yes"; then
+-	LIBOBJS="$LIBOBJS getnameinfo.$ac_objext"
++else
++  LIBOBJS="$LIBOBJS err.$ac_objext"
+ fi
+-
+-
+-
+-
+-
+-
+-echo "$as_me:$LINENO: checking for freeaddrinfo" >&5
+-echo $ECHO_N "checking for freeaddrinfo... $ECHO_C" >&6
+-if test "${ac_cv_funclib_freeaddrinfo+set}" = set; then
++echo "$as_me:$LINENO: checking for errx" >&5
++echo $ECHO_N "checking for errx... $ECHO_C" >&6
++if test "${ac_cv_func_errx+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-
+-if eval "test \"\$ac_cv_func_freeaddrinfo\" != yes" ; then
+-	ac_save_LIBS="$LIBS"
+-	for ac_lib in "" ; do
+-		case "$ac_lib" in
+-		"") ;;
+-		yes) ac_lib="" ;;
+-		no) continue ;;
+-		-l*) ;;
+-		*) ac_lib="-l$ac_lib" ;;
+-		esac
+-		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<_ACEOF
++  cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-#ifdef HAVE_NETDB_H
+-#include <netdb.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char errx (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
+ #endif
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char errx ();
++/* 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_errx) || defined (__stub___errx)
++choke me
++#else
++char (*f) () = errx;
++#endif
++#ifdef __cplusplus
++}
+ #endif
++
+ int
+ main ()
+ {
+-freeaddrinfo(0)
++return f != errx;
+   ;
+   return 0;
+ }
+@@ -18328,65 +31073,71 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "if test -n \"$ac_lib\";then ac_cv_funclib_freeaddrinfo=$ac_lib; else ac_cv_funclib_freeaddrinfo=yes; fi";break
++  ac_cv_func_errx=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_errx=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+-	done
+-	eval "ac_cv_funclib_freeaddrinfo=\${ac_cv_funclib_freeaddrinfo-no}"
+-	LIBS="$ac_save_LIBS"
+-fi
+-
+ fi
++echo "$as_me:$LINENO: result: $ac_cv_func_errx" >&5
++echo "${ECHO_T}$ac_cv_func_errx" >&6
++if test $ac_cv_func_errx = yes; then
+ 
++cat >>confdefs.h <<_ACEOF
++#define HAVE_ERRX 1
++_ACEOF
+ 
+-eval "ac_res=\$ac_cv_funclib_freeaddrinfo"
+-
+-if false; then
+-
+-for ac_func in freeaddrinfo
+-do
+-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:$LINENO: checking for $ac_func" >&5
+-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+-if eval "test \"\${$as_ac_var+set}\" = set"; then
++else
++  LIBOBJS="$LIBOBJS errx.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for fchown" >&5
++echo $ECHO_N "checking for fchown... $ECHO_C" >&6
++if test "${ac_cv_func_fchown+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char $ac_func (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char fchown (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+-char $ac_func ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
++char fchown ();
+ /* The GNU C library defines this for functions which it implements
+     to always fail with ENOSYS.  Some functions are actually named
+     something starting with __ and the normal name is an alias.  */
+-#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++#if defined (__stub_fchown) || defined (__stub___fchown)
+ choke me
+ #else
+-f = $ac_func;
++char (*f) () = fchown;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != fchown;
+   ;
+   return 0;
+ }
+@@ -18403,110 +31154,71 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "$as_ac_var=yes"
++  ac_cv_func_fchown=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$as_ac_var=no"
+-fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+-fi
+-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
+-echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+-if test `eval echo '${'$as_ac_var'}'` = yes; then
+-  cat >>confdefs.h <<_ACEOF
+-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+-_ACEOF
++sed 's/^/| /' conftest.$ac_ext >&5
+ 
++ac_cv_func_fchown=no
+ fi
+-done
+-
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-# freeaddrinfo
+-eval "ac_tr_func=HAVE_`echo freeaddrinfo | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
+-eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
+-eval "LIB_freeaddrinfo=$ac_res"
+-
+-case "$ac_res" in
+-	yes)
+-	eval "ac_cv_func_freeaddrinfo=yes"
+-	eval "LIB_freeaddrinfo="
+-	cat >>confdefs.h <<_ACEOF
+-#define $ac_tr_func 1
+-_ACEOF
+-
+-	echo "$as_me:$LINENO: result: yes" >&5
+-echo "${ECHO_T}yes" >&6
+-	;;
+-	no)
+-	eval "ac_cv_func_freeaddrinfo=no"
+-	eval "LIB_freeaddrinfo="
+-	echo "$as_me:$LINENO: result: no" >&5
+-echo "${ECHO_T}no" >&6
+-	;;
+-	*)
+-	eval "ac_cv_func_freeaddrinfo=yes"
+-	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
+-	cat >>confdefs.h <<_ACEOF
+-#define $ac_tr_func 1
+-_ACEOF
++echo "$as_me:$LINENO: result: $ac_cv_func_fchown" >&5
++echo "${ECHO_T}$ac_cv_func_fchown" >&6
++if test $ac_cv_func_fchown = yes; then
+ 
+-	cat >>confdefs.h <<_ACEOF
+-#define $ac_tr_lib 1
++cat >>confdefs.h <<_ACEOF
++#define HAVE_FCHOWN 1
+ _ACEOF
+ 
+-	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
+-echo "${ECHO_T}yes, in $ac_res" >&6
+-	;;
+-esac
+-
+-
+-if test -n "$LIB_freeaddrinfo"; then
+-	LIBS="$LIB_freeaddrinfo $LIBS"
+-fi
+-
+-if eval "test \"$ac_cv_func_freeaddrinfo\" != yes"; then
+-	LIBOBJS="$LIBOBJS freeaddrinfo.$ac_objext"
++else
++  LIBOBJS="$LIBOBJS fchown.$ac_objext"
+ fi
+-
+-
+-
+-
+-
+-
+-echo "$as_me:$LINENO: checking for gai_strerror" >&5
+-echo $ECHO_N "checking for gai_strerror... $ECHO_C" >&6
+-if test "${ac_cv_funclib_gai_strerror+set}" = set; then
++echo "$as_me:$LINENO: checking for flock" >&5
++echo $ECHO_N "checking for flock... $ECHO_C" >&6
++if test "${ac_cv_func_flock+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-
+-if eval "test \"\$ac_cv_func_gai_strerror\" != yes" ; then
+-	ac_save_LIBS="$LIBS"
+-	for ac_lib in "" ; do
+-		case "$ac_lib" in
+-		"") ;;
+-		yes) ac_lib="" ;;
+-		no) continue ;;
+-		-l*) ;;
+-		*) ac_lib="-l$ac_lib" ;;
+-		esac
+-		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<_ACEOF
++  cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-#ifdef HAVE_NETDB_H
+-#include <netdb.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char flock (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
+ #endif
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char flock ();
++/* 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_flock) || defined (__stub___flock)
++choke me
++#else
++char (*f) () = flock;
+ #endif
++#ifdef __cplusplus
++}
++#endif
++
+ int
+ main ()
+ {
+-gai_strerror(0)
++return f != flock;
+   ;
+   return 0;
+ }
+@@ -18523,65 +31235,71 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "if test -n \"$ac_lib\";then ac_cv_funclib_gai_strerror=$ac_lib; else ac_cv_funclib_gai_strerror=yes; fi";break
++  ac_cv_func_flock=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_flock=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+-	done
+-	eval "ac_cv_funclib_gai_strerror=\${ac_cv_funclib_gai_strerror-no}"
+-	LIBS="$ac_save_LIBS"
+ fi
++echo "$as_me:$LINENO: result: $ac_cv_func_flock" >&5
++echo "${ECHO_T}$ac_cv_func_flock" >&6
++if test $ac_cv_func_flock = yes; then
+ 
+-fi
+-
+-
+-eval "ac_res=\$ac_cv_funclib_gai_strerror"
+-
+-if false; then
++cat >>confdefs.h <<_ACEOF
++#define HAVE_FLOCK 1
++_ACEOF
+ 
+-for ac_func in gai_strerror
+-do
+-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:$LINENO: checking for $ac_func" >&5
+-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+-if eval "test \"\${$as_ac_var+set}\" = set"; then
++else
++  LIBOBJS="$LIBOBJS flock.$ac_objext"
++fi
++echo "$as_me:$LINENO: checking for fnmatch" >&5
++echo $ECHO_N "checking for fnmatch... $ECHO_C" >&6
++if test "${ac_cv_func_fnmatch+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char $ac_func (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char fnmatch (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+-char $ac_func ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
++char fnmatch ();
+ /* The GNU C library defines this for functions which it implements
+     to always fail with ENOSYS.  Some functions are actually named
+     something starting with __ and the normal name is an alias.  */
+-#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++#if defined (__stub_fnmatch) || defined (__stub___fnmatch)
+ choke me
+ #else
+-f = $ac_func;
++char (*f) () = fnmatch;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != fnmatch;
+   ;
+   return 0;
+ }
+@@ -18598,111 +31316,71 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "$as_ac_var=yes"
++  ac_cv_func_fnmatch=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$as_ac_var=no"
+-fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+-fi
+-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
+-echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+-if test `eval echo '${'$as_ac_var'}'` = yes; then
+-  cat >>confdefs.h <<_ACEOF
+-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+-_ACEOF
++sed 's/^/| /' conftest.$ac_ext >&5
+ 
++ac_cv_func_fnmatch=no
+ fi
+-done
+-
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-# gai_strerror
+-eval "ac_tr_func=HAVE_`echo gai_strerror | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
+-eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
+-eval "LIB_gai_strerror=$ac_res"
+-
+-case "$ac_res" in
+-	yes)
+-	eval "ac_cv_func_gai_strerror=yes"
+-	eval "LIB_gai_strerror="
+-	cat >>confdefs.h <<_ACEOF
+-#define $ac_tr_func 1
+-_ACEOF
+-
+-	echo "$as_me:$LINENO: result: yes" >&5
+-echo "${ECHO_T}yes" >&6
+-	;;
+-	no)
+-	eval "ac_cv_func_gai_strerror=no"
+-	eval "LIB_gai_strerror="
+-	echo "$as_me:$LINENO: result: no" >&5
+-echo "${ECHO_T}no" >&6
+-	;;
+-	*)
+-	eval "ac_cv_func_gai_strerror=yes"
+-	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
+-	cat >>confdefs.h <<_ACEOF
+-#define $ac_tr_func 1
+-_ACEOF
++echo "$as_me:$LINENO: result: $ac_cv_func_fnmatch" >&5
++echo "${ECHO_T}$ac_cv_func_fnmatch" >&6
++if test $ac_cv_func_fnmatch = yes; then
+ 
+-	cat >>confdefs.h <<_ACEOF
+-#define $ac_tr_lib 1
++cat >>confdefs.h <<_ACEOF
++#define HAVE_FNMATCH 1
+ _ACEOF
+ 
+-	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
+-echo "${ECHO_T}yes, in $ac_res" >&6
+-	;;
+-esac
+-
+-
+-if test -n "$LIB_gai_strerror"; then
+-	LIBS="$LIB_gai_strerror $LIBS"
+-fi
+-
+-if eval "test \"$ac_cv_func_gai_strerror\" != yes"; then
+-	LIBOBJS="$LIBOBJS gai_strerror.$ac_objext"
++else
++  LIBOBJS="$LIBOBJS fnmatch.$ac_objext"
+ fi
+-
+-
+-echo "$as_me:$LINENO: checking for chown" >&5
+-echo $ECHO_N "checking for chown... $ECHO_C" >&6
+-if test "${ac_cv_func_chown+set}" = set; then
++echo "$as_me:$LINENO: checking for freehostent" >&5
++echo $ECHO_N "checking for freehostent... $ECHO_C" >&6
++if test "${ac_cv_func_freehostent+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char chown (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char freehostent (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+-char chown ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
++char freehostent ();
+ /* 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_chown) || defined (__stub___chown)
++#if defined (__stub_freehostent) || defined (__stub___freehostent)
+ choke me
+ #else
+-f = chown;
++char (*f) () = freehostent;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != freehostent;
+   ;
+   return 0;
+ }
+@@ -18719,63 +31397,71 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_func_chown=yes
++  ac_cv_func_freehostent=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_chown=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_freehostent=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_chown" >&5
+-echo "${ECHO_T}$ac_cv_func_chown" >&6
+-if test $ac_cv_func_chown = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_freehostent" >&5
++echo "${ECHO_T}$ac_cv_func_freehostent" >&6
++if test $ac_cv_func_freehostent = yes; then
+ 
+ cat >>confdefs.h <<_ACEOF
+-#define HAVE_CHOWN 1
++#define HAVE_FREEHOSTENT 1
+ _ACEOF
+ 
+ else
+-  LIBOBJS="$LIBOBJS chown.$ac_objext"
++  LIBOBJS="$LIBOBJS freehostent.$ac_objext"
+ fi
+-echo "$as_me:$LINENO: checking for copyhostent" >&5
+-echo $ECHO_N "checking for copyhostent... $ECHO_C" >&6
+-if test "${ac_cv_func_copyhostent+set}" = set; then
++echo "$as_me:$LINENO: checking for getcwd" >&5
++echo $ECHO_N "checking for getcwd... $ECHO_C" >&6
++if test "${ac_cv_func_getcwd+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char copyhostent (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char getcwd (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+-char copyhostent ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
++char getcwd ();
+ /* 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_copyhostent) || defined (__stub___copyhostent)
++#if defined (__stub_getcwd) || defined (__stub___getcwd)
+ choke me
+ #else
+-f = copyhostent;
++char (*f) () = getcwd;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != getcwd;
+   ;
+   return 0;
+ }
+@@ -18792,63 +31478,71 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_func_copyhostent=yes
++  ac_cv_func_getcwd=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_copyhostent=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_getcwd=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_copyhostent" >&5
+-echo "${ECHO_T}$ac_cv_func_copyhostent" >&6
+-if test $ac_cv_func_copyhostent = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_getcwd" >&5
++echo "${ECHO_T}$ac_cv_func_getcwd" >&6
++if test $ac_cv_func_getcwd = yes; then
+ 
+ cat >>confdefs.h <<_ACEOF
+-#define HAVE_COPYHOSTENT 1
++#define HAVE_GETCWD 1
+ _ACEOF
+ 
+ else
+-  LIBOBJS="$LIBOBJS copyhostent.$ac_objext"
++  LIBOBJS="$LIBOBJS getcwd.$ac_objext"
+ fi
+-echo "$as_me:$LINENO: checking for daemon" >&5
+-echo $ECHO_N "checking for daemon... $ECHO_C" >&6
+-if test "${ac_cv_func_daemon+set}" = set; then
++echo "$as_me:$LINENO: checking for getdtablesize" >&5
++echo $ECHO_N "checking for getdtablesize... $ECHO_C" >&6
++if test "${ac_cv_func_getdtablesize+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char daemon (); below.  */
+-#include <assert.h>
+-/* Override any gcc2 internal prototype to avoid an error.  */
+-#ifdef __cplusplus
+-extern "C"
+-#endif
+-/* We use char because int might match the return type of a gcc2
+-   builtin and then its argument prototype would still apply.  */
+-char daemon ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char getdtablesize (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
+ #endif
+-int
+-main ()
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
+ {
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char getdtablesize ();
+ /* 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_daemon) || defined (__stub___daemon)
++#if defined (__stub_getdtablesize) || defined (__stub___getdtablesize)
+ choke me
+ #else
+-f = daemon;
++char (*f) () = getdtablesize;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != getdtablesize;
+   ;
+   return 0;
+ }
+@@ -18865,63 +31559,71 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_func_daemon=yes
++  ac_cv_func_getdtablesize=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_daemon=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_getdtablesize=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_daemon" >&5
+-echo "${ECHO_T}$ac_cv_func_daemon" >&6
+-if test $ac_cv_func_daemon = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_getdtablesize" >&5
++echo "${ECHO_T}$ac_cv_func_getdtablesize" >&6
++if test $ac_cv_func_getdtablesize = yes; then
+ 
+ cat >>confdefs.h <<_ACEOF
+-#define HAVE_DAEMON 1
++#define HAVE_GETDTABLESIZE 1
+ _ACEOF
+ 
+ else
+-  LIBOBJS="$LIBOBJS daemon.$ac_objext"
++  LIBOBJS="$LIBOBJS getdtablesize.$ac_objext"
+ fi
+-echo "$as_me:$LINENO: checking for ecalloc" >&5
+-echo $ECHO_N "checking for ecalloc... $ECHO_C" >&6
+-if test "${ac_cv_func_ecalloc+set}" = set; then
++echo "$as_me:$LINENO: checking for getegid" >&5
++echo $ECHO_N "checking for getegid... $ECHO_C" >&6
++if test "${ac_cv_func_getegid+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char ecalloc (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char getegid (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+-char ecalloc ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
++char getegid ();
+ /* 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_ecalloc) || defined (__stub___ecalloc)
++#if defined (__stub_getegid) || defined (__stub___getegid)
+ choke me
+ #else
+-f = ecalloc;
++char (*f) () = getegid;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != getegid;
+   ;
+   return 0;
+ }
+@@ -18938,63 +31640,71 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_func_ecalloc=yes
++  ac_cv_func_getegid=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_ecalloc=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_getegid=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_ecalloc" >&5
+-echo "${ECHO_T}$ac_cv_func_ecalloc" >&6
+-if test $ac_cv_func_ecalloc = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_getegid" >&5
++echo "${ECHO_T}$ac_cv_func_getegid" >&6
++if test $ac_cv_func_getegid = yes; then
+ 
+ cat >>confdefs.h <<_ACEOF
+-#define HAVE_ECALLOC 1
++#define HAVE_GETEGID 1
+ _ACEOF
+ 
+ else
+-  LIBOBJS="$LIBOBJS ecalloc.$ac_objext"
++  LIBOBJS="$LIBOBJS getegid.$ac_objext"
+ fi
+-echo "$as_me:$LINENO: checking for emalloc" >&5
+-echo $ECHO_N "checking for emalloc... $ECHO_C" >&6
+-if test "${ac_cv_func_emalloc+set}" = set; then
++echo "$as_me:$LINENO: checking for geteuid" >&5
++echo $ECHO_N "checking for geteuid... $ECHO_C" >&6
++if test "${ac_cv_func_geteuid+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char emalloc (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char geteuid (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+-char emalloc ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
++char geteuid ();
+ /* 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_emalloc) || defined (__stub___emalloc)
++#if defined (__stub_geteuid) || defined (__stub___geteuid)
+ choke me
+ #else
+-f = emalloc;
++char (*f) () = geteuid;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != geteuid;
+   ;
+   return 0;
+ }
+@@ -19011,63 +31721,71 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_func_emalloc=yes
++  ac_cv_func_geteuid=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_emalloc=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_geteuid=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_emalloc" >&5
+-echo "${ECHO_T}$ac_cv_func_emalloc" >&6
+-if test $ac_cv_func_emalloc = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_geteuid" >&5
++echo "${ECHO_T}$ac_cv_func_geteuid" >&6
++if test $ac_cv_func_geteuid = yes; then
+ 
+ cat >>confdefs.h <<_ACEOF
+-#define HAVE_EMALLOC 1
++#define HAVE_GETEUID 1
+ _ACEOF
+ 
+ else
+-  LIBOBJS="$LIBOBJS emalloc.$ac_objext"
++  LIBOBJS="$LIBOBJS geteuid.$ac_objext"
+ fi
+-echo "$as_me:$LINENO: checking for erealloc" >&5
+-echo $ECHO_N "checking for erealloc... $ECHO_C" >&6
+-if test "${ac_cv_func_erealloc+set}" = set; then
++echo "$as_me:$LINENO: checking for getgid" >&5
++echo $ECHO_N "checking for getgid... $ECHO_C" >&6
++if test "${ac_cv_func_getgid+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char erealloc (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char getgid (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+-char erealloc ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
++char getgid ();
+ /* 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_erealloc) || defined (__stub___erealloc)
++#if defined (__stub_getgid) || defined (__stub___getgid)
+ choke me
+ #else
+-f = erealloc;
++char (*f) () = getgid;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != getgid;
+   ;
+   return 0;
+ }
+@@ -19084,63 +31802,71 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_func_erealloc=yes
++  ac_cv_func_getgid=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_erealloc=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_getgid=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_erealloc" >&5
+-echo "${ECHO_T}$ac_cv_func_erealloc" >&6
+-if test $ac_cv_func_erealloc = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_getgid" >&5
++echo "${ECHO_T}$ac_cv_func_getgid" >&6
++if test $ac_cv_func_getgid = yes; then
+ 
+ cat >>confdefs.h <<_ACEOF
+-#define HAVE_EREALLOC 1
++#define HAVE_GETGID 1
+ _ACEOF
+ 
+ else
+-  LIBOBJS="$LIBOBJS erealloc.$ac_objext"
++  LIBOBJS="$LIBOBJS getgid.$ac_objext"
+ fi
+-echo "$as_me:$LINENO: checking for estrdup" >&5
+-echo $ECHO_N "checking for estrdup... $ECHO_C" >&6
+-if test "${ac_cv_func_estrdup+set}" = set; then
++echo "$as_me:$LINENO: checking for gethostname" >&5
++echo $ECHO_N "checking for gethostname... $ECHO_C" >&6
++if test "${ac_cv_func_gethostname+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char estrdup (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char gethostname (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+-char estrdup ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
++char gethostname ();
+ /* 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_estrdup) || defined (__stub___estrdup)
++#if defined (__stub_gethostname) || defined (__stub___gethostname)
+ choke me
+ #else
+-f = estrdup;
++char (*f) () = gethostname;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != gethostname;
+   ;
+   return 0;
+ }
+@@ -19157,63 +31883,71 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_func_estrdup=yes
++  ac_cv_func_gethostname=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_estrdup=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_gethostname=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_estrdup" >&5
+-echo "${ECHO_T}$ac_cv_func_estrdup" >&6
+-if test $ac_cv_func_estrdup = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_gethostname" >&5
++echo "${ECHO_T}$ac_cv_func_gethostname" >&6
++if test $ac_cv_func_gethostname = yes; then
+ 
+ cat >>confdefs.h <<_ACEOF
+-#define HAVE_ESTRDUP 1
++#define HAVE_GETHOSTNAME 1
+ _ACEOF
+ 
+ else
+-  LIBOBJS="$LIBOBJS estrdup.$ac_objext"
++  LIBOBJS="$LIBOBJS gethostname.$ac_objext"
+ fi
+-echo "$as_me:$LINENO: checking for err" >&5
+-echo $ECHO_N "checking for err... $ECHO_C" >&6
+-if test "${ac_cv_func_err+set}" = set; then
++echo "$as_me:$LINENO: checking for getifaddrs" >&5
++echo $ECHO_N "checking for getifaddrs... $ECHO_C" >&6
++if test "${ac_cv_func_getifaddrs+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char err (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char getifaddrs (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+-char err ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
++char getifaddrs ();
+ /* 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_err) || defined (__stub___err)
++#if defined (__stub_getifaddrs) || defined (__stub___getifaddrs)
+ choke me
+ #else
+-f = err;
++char (*f) () = getifaddrs;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != getifaddrs;
+   ;
+   return 0;
+ }
+@@ -19230,63 +31964,71 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_func_err=yes
++  ac_cv_func_getifaddrs=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_err=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_getifaddrs=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_err" >&5
+-echo "${ECHO_T}$ac_cv_func_err" >&6
+-if test $ac_cv_func_err = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_getifaddrs" >&5
++echo "${ECHO_T}$ac_cv_func_getifaddrs" >&6
++if test $ac_cv_func_getifaddrs = yes; then
+ 
+ cat >>confdefs.h <<_ACEOF
+-#define HAVE_ERR 1
++#define HAVE_GETIFADDRS 1
+ _ACEOF
+ 
+ else
+-  LIBOBJS="$LIBOBJS err.$ac_objext"
++  LIBOBJS="$LIBOBJS getifaddrs.$ac_objext"
+ fi
+-echo "$as_me:$LINENO: checking for errx" >&5
+-echo $ECHO_N "checking for errx... $ECHO_C" >&6
+-if test "${ac_cv_func_errx+set}" = set; then
++echo "$as_me:$LINENO: checking for getipnodebyaddr" >&5
++echo $ECHO_N "checking for getipnodebyaddr... $ECHO_C" >&6
++if test "${ac_cv_func_getipnodebyaddr+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char errx (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char getipnodebyaddr (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+-char errx ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
++char getipnodebyaddr ();
+ /* 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_errx) || defined (__stub___errx)
++#if defined (__stub_getipnodebyaddr) || defined (__stub___getipnodebyaddr)
+ choke me
+ #else
+-f = errx;
++char (*f) () = getipnodebyaddr;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != getipnodebyaddr;
+   ;
+   return 0;
+ }
+@@ -19303,63 +32045,71 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_func_errx=yes
++  ac_cv_func_getipnodebyaddr=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_errx=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_getipnodebyaddr=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_errx" >&5
+-echo "${ECHO_T}$ac_cv_func_errx" >&6
+-if test $ac_cv_func_errx = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_getipnodebyaddr" >&5
++echo "${ECHO_T}$ac_cv_func_getipnodebyaddr" >&6
++if test $ac_cv_func_getipnodebyaddr = yes; then
+ 
+ cat >>confdefs.h <<_ACEOF
+-#define HAVE_ERRX 1
++#define HAVE_GETIPNODEBYADDR 1
+ _ACEOF
+ 
+ else
+-  LIBOBJS="$LIBOBJS errx.$ac_objext"
++  LIBOBJS="$LIBOBJS getipnodebyaddr.$ac_objext"
+ fi
+-echo "$as_me:$LINENO: checking for fchown" >&5
+-echo $ECHO_N "checking for fchown... $ECHO_C" >&6
+-if test "${ac_cv_func_fchown+set}" = set; then
++echo "$as_me:$LINENO: checking for getipnodebyname" >&5
++echo $ECHO_N "checking for getipnodebyname... $ECHO_C" >&6
++if test "${ac_cv_func_getipnodebyname+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char fchown (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char getipnodebyname (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+-char fchown ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
++char getipnodebyname ();
+ /* 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_fchown) || defined (__stub___fchown)
++#if defined (__stub_getipnodebyname) || defined (__stub___getipnodebyname)
+ choke me
+ #else
+-f = fchown;
++char (*f) () = getipnodebyname;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != getipnodebyname;
+   ;
+   return 0;
+ }
+@@ -19376,63 +32126,71 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_func_fchown=yes
++  ac_cv_func_getipnodebyname=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_fchown=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_getipnodebyname=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_fchown" >&5
+-echo "${ECHO_T}$ac_cv_func_fchown" >&6
+-if test $ac_cv_func_fchown = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_getipnodebyname" >&5
++echo "${ECHO_T}$ac_cv_func_getipnodebyname" >&6
++if test $ac_cv_func_getipnodebyname = yes; then
+ 
+ cat >>confdefs.h <<_ACEOF
+-#define HAVE_FCHOWN 1
++#define HAVE_GETIPNODEBYNAME 1
+ _ACEOF
+ 
+ else
+-  LIBOBJS="$LIBOBJS fchown.$ac_objext"
++  LIBOBJS="$LIBOBJS getipnodebyname.$ac_objext"
+ fi
+-echo "$as_me:$LINENO: checking for flock" >&5
+-echo $ECHO_N "checking for flock... $ECHO_C" >&6
+-if test "${ac_cv_func_flock+set}" = set; then
++echo "$as_me:$LINENO: checking for getopt" >&5
++echo $ECHO_N "checking for getopt... $ECHO_C" >&6
++if test "${ac_cv_func_getopt+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char flock (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char getopt (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+-char flock ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
++char getopt ();
+ /* 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_flock) || defined (__stub___flock)
++#if defined (__stub_getopt) || defined (__stub___getopt)
+ choke me
+ #else
+-f = flock;
++char (*f) () = getopt;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != getopt;
+   ;
+   return 0;
+ }
+@@ -19449,63 +32207,71 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_func_flock=yes
++  ac_cv_func_getopt=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_flock=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_getopt=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_flock" >&5
+-echo "${ECHO_T}$ac_cv_func_flock" >&6
+-if test $ac_cv_func_flock = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_getopt" >&5
++echo "${ECHO_T}$ac_cv_func_getopt" >&6
++if test $ac_cv_func_getopt = yes; then
+ 
+ cat >>confdefs.h <<_ACEOF
+-#define HAVE_FLOCK 1
++#define HAVE_GETOPT 1
+ _ACEOF
+ 
+ else
+-  LIBOBJS="$LIBOBJS flock.$ac_objext"
++  LIBOBJS="$LIBOBJS getopt.$ac_objext"
+ fi
+-echo "$as_me:$LINENO: checking for fnmatch" >&5
+-echo $ECHO_N "checking for fnmatch... $ECHO_C" >&6
+-if test "${ac_cv_func_fnmatch+set}" = set; then
++echo "$as_me:$LINENO: checking for gettimeofday" >&5
++echo $ECHO_N "checking for gettimeofday... $ECHO_C" >&6
++if test "${ac_cv_func_gettimeofday+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char fnmatch (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char gettimeofday (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+-char fnmatch ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
++char gettimeofday ();
+ /* 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_fnmatch) || defined (__stub___fnmatch)
++#if defined (__stub_gettimeofday) || defined (__stub___gettimeofday)
+ choke me
+ #else
+-f = fnmatch;
++char (*f) () = gettimeofday;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != gettimeofday;
+   ;
+   return 0;
+ }
+@@ -19522,63 +32288,71 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_func_fnmatch=yes
++  ac_cv_func_gettimeofday=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_fnmatch=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_gettimeofday=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_fnmatch" >&5
+-echo "${ECHO_T}$ac_cv_func_fnmatch" >&6
+-if test $ac_cv_func_fnmatch = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_gettimeofday" >&5
++echo "${ECHO_T}$ac_cv_func_gettimeofday" >&6
++if test $ac_cv_func_gettimeofday = yes; then
+ 
+ cat >>confdefs.h <<_ACEOF
+-#define HAVE_FNMATCH 1
++#define HAVE_GETTIMEOFDAY 1
+ _ACEOF
+ 
+ else
+-  LIBOBJS="$LIBOBJS fnmatch.$ac_objext"
++  LIBOBJS="$LIBOBJS gettimeofday.$ac_objext"
+ fi
+-echo "$as_me:$LINENO: checking for freehostent" >&5
+-echo $ECHO_N "checking for freehostent... $ECHO_C" >&6
+-if test "${ac_cv_func_freehostent+set}" = set; then
++echo "$as_me:$LINENO: checking for getuid" >&5
++echo $ECHO_N "checking for getuid... $ECHO_C" >&6
++if test "${ac_cv_func_getuid+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char freehostent (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char getuid (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+-char freehostent ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
++char getuid ();
+ /* 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_freehostent) || defined (__stub___freehostent)
++#if defined (__stub_getuid) || defined (__stub___getuid)
+ choke me
+ #else
+-f = freehostent;
++char (*f) () = getuid;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != getuid;
+   ;
+   return 0;
+ }
+@@ -19595,63 +32369,71 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_func_freehostent=yes
++  ac_cv_func_getuid=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_freehostent=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_getuid=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_freehostent" >&5
+-echo "${ECHO_T}$ac_cv_func_freehostent" >&6
+-if test $ac_cv_func_freehostent = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_getuid" >&5
++echo "${ECHO_T}$ac_cv_func_getuid" >&6
++if test $ac_cv_func_getuid = yes; then
+ 
+ cat >>confdefs.h <<_ACEOF
+-#define HAVE_FREEHOSTENT 1
++#define HAVE_GETUID 1
+ _ACEOF
+ 
+ else
+-  LIBOBJS="$LIBOBJS freehostent.$ac_objext"
++  LIBOBJS="$LIBOBJS getuid.$ac_objext"
+ fi
+-echo "$as_me:$LINENO: checking for getcwd" >&5
+-echo $ECHO_N "checking for getcwd... $ECHO_C" >&6
+-if test "${ac_cv_func_getcwd+set}" = set; then
++echo "$as_me:$LINENO: checking for getusershell" >&5
++echo $ECHO_N "checking for getusershell... $ECHO_C" >&6
++if test "${ac_cv_func_getusershell+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char getcwd (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char getusershell (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+-char getcwd ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
++char getusershell ();
+ /* 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_getcwd) || defined (__stub___getcwd)
++#if defined (__stub_getusershell) || defined (__stub___getusershell)
+ choke me
+ #else
+-f = getcwd;
++char (*f) () = getusershell;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != getusershell;
+   ;
+   return 0;
+ }
+@@ -19668,63 +32450,71 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_func_getcwd=yes
++  ac_cv_func_getusershell=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_getcwd=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_getusershell=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_getcwd" >&5
+-echo "${ECHO_T}$ac_cv_func_getcwd" >&6
+-if test $ac_cv_func_getcwd = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_getusershell" >&5
++echo "${ECHO_T}$ac_cv_func_getusershell" >&6
++if test $ac_cv_func_getusershell = yes; then
+ 
+ cat >>confdefs.h <<_ACEOF
+-#define HAVE_GETCWD 1
++#define HAVE_GETUSERSHELL 1
+ _ACEOF
+ 
+ else
+-  LIBOBJS="$LIBOBJS getcwd.$ac_objext"
++  LIBOBJS="$LIBOBJS getusershell.$ac_objext"
+ fi
+-echo "$as_me:$LINENO: checking for getdtablesize" >&5
+-echo $ECHO_N "checking for getdtablesize... $ECHO_C" >&6
+-if test "${ac_cv_func_getdtablesize+set}" = set; then
++echo "$as_me:$LINENO: checking for initgroups" >&5
++echo $ECHO_N "checking for initgroups... $ECHO_C" >&6
++if test "${ac_cv_func_initgroups+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+-#line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char getdtablesize (); below.  */
+-#include <assert.h>
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char initgroups (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+-char getdtablesize ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
++char initgroups ();
+ /* 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_getdtablesize) || defined (__stub___getdtablesize)
++#if defined (__stub_initgroups) || defined (__stub___initgroups)
+ choke me
+ #else
+-f = getdtablesize;
++char (*f) () = initgroups;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != initgroups;
+   ;
+   return 0;
+ }
+@@ -19741,63 +32531,71 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_func_getdtablesize=yes
++  ac_cv_func_initgroups=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_getdtablesize=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_initgroups=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_getdtablesize" >&5
+-echo "${ECHO_T}$ac_cv_func_getdtablesize" >&6
+-if test $ac_cv_func_getdtablesize = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_initgroups" >&5
++echo "${ECHO_T}$ac_cv_func_initgroups" >&6
++if test $ac_cv_func_initgroups = yes; then
+ 
+ cat >>confdefs.h <<_ACEOF
+-#define HAVE_GETDTABLESIZE 1
++#define HAVE_INITGROUPS 1
+ _ACEOF
+ 
+ else
+-  LIBOBJS="$LIBOBJS getdtablesize.$ac_objext"
++  LIBOBJS="$LIBOBJS initgroups.$ac_objext"
+ fi
+-echo "$as_me:$LINENO: checking for getegid" >&5
+-echo $ECHO_N "checking for getegid... $ECHO_C" >&6
+-if test "${ac_cv_func_getegid+set}" = set; then
++echo "$as_me:$LINENO: checking for innetgr" >&5
++echo $ECHO_N "checking for innetgr... $ECHO_C" >&6
++if test "${ac_cv_func_innetgr+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char getegid (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char innetgr (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+-char getegid ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
++char innetgr ();
+ /* 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_getegid) || defined (__stub___getegid)
++#if defined (__stub_innetgr) || defined (__stub___innetgr)
+ choke me
+ #else
+-f = getegid;
++char (*f) () = innetgr;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != innetgr;
+   ;
+   return 0;
+ }
+@@ -19814,63 +32612,71 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_func_getegid=yes
++  ac_cv_func_innetgr=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_getegid=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_innetgr=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_getegid" >&5
+-echo "${ECHO_T}$ac_cv_func_getegid" >&6
+-if test $ac_cv_func_getegid = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_innetgr" >&5
++echo "${ECHO_T}$ac_cv_func_innetgr" >&6
++if test $ac_cv_func_innetgr = yes; then
+ 
+ cat >>confdefs.h <<_ACEOF
+-#define HAVE_GETEGID 1
++#define HAVE_INNETGR 1
+ _ACEOF
+ 
+ else
+-  LIBOBJS="$LIBOBJS getegid.$ac_objext"
++  LIBOBJS="$LIBOBJS innetgr.$ac_objext"
+ fi
+-echo "$as_me:$LINENO: checking for geteuid" >&5
+-echo $ECHO_N "checking for geteuid... $ECHO_C" >&6
+-if test "${ac_cv_func_geteuid+set}" = set; then
++echo "$as_me:$LINENO: checking for iruserok" >&5
++echo $ECHO_N "checking for iruserok... $ECHO_C" >&6
++if test "${ac_cv_func_iruserok+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char geteuid (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char iruserok (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+-char geteuid ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
++char iruserok ();
+ /* 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_geteuid) || defined (__stub___geteuid)
++#if defined (__stub_iruserok) || defined (__stub___iruserok)
+ choke me
+ #else
+-f = geteuid;
++char (*f) () = iruserok;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != iruserok;
+   ;
+   return 0;
+ }
+@@ -19887,63 +32693,71 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_func_geteuid=yes
++  ac_cv_func_iruserok=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_geteuid=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_iruserok=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_geteuid" >&5
+-echo "${ECHO_T}$ac_cv_func_geteuid" >&6
+-if test $ac_cv_func_geteuid = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_iruserok" >&5
++echo "${ECHO_T}$ac_cv_func_iruserok" >&6
++if test $ac_cv_func_iruserok = yes; then
+ 
+ cat >>confdefs.h <<_ACEOF
+-#define HAVE_GETEUID 1
++#define HAVE_IRUSEROK 1
+ _ACEOF
+ 
+ else
+-  LIBOBJS="$LIBOBJS geteuid.$ac_objext"
++  LIBOBJS="$LIBOBJS iruserok.$ac_objext"
+ fi
+-echo "$as_me:$LINENO: checking for getgid" >&5
+-echo $ECHO_N "checking for getgid... $ECHO_C" >&6
+-if test "${ac_cv_func_getgid+set}" = set; then
++echo "$as_me:$LINENO: checking for localtime_r" >&5
++echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
++if test "${ac_cv_func_localtime_r+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char getgid (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char localtime_r (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+-char getgid ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
++char localtime_r ();
+ /* 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_getgid) || defined (__stub___getgid)
++#if defined (__stub_localtime_r) || defined (__stub___localtime_r)
+ choke me
+ #else
+-f = getgid;
++char (*f) () = localtime_r;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != localtime_r;
+   ;
+   return 0;
+ }
+@@ -19960,63 +32774,71 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_func_getgid=yes
++  ac_cv_func_localtime_r=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_getgid=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_localtime_r=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_getgid" >&5
+-echo "${ECHO_T}$ac_cv_func_getgid" >&6
+-if test $ac_cv_func_getgid = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
++echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
++if test $ac_cv_func_localtime_r = yes; then
+ 
+ cat >>confdefs.h <<_ACEOF
+-#define HAVE_GETGID 1
++#define HAVE_LOCALTIME_R 1
+ _ACEOF
+ 
+ else
+-  LIBOBJS="$LIBOBJS getgid.$ac_objext"
++  LIBOBJS="$LIBOBJS localtime_r.$ac_objext"
+ fi
+-echo "$as_me:$LINENO: checking for gethostname" >&5
+-echo $ECHO_N "checking for gethostname... $ECHO_C" >&6
+-if test "${ac_cv_func_gethostname+set}" = set; then
++echo "$as_me:$LINENO: checking for lstat" >&5
++echo $ECHO_N "checking for lstat... $ECHO_C" >&6
++if test "${ac_cv_func_lstat+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char gethostname (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char lstat (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+-char gethostname ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
++char lstat ();
+ /* 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_gethostname) || defined (__stub___gethostname)
++#if defined (__stub_lstat) || defined (__stub___lstat)
+ choke me
+ #else
+-f = gethostname;
++char (*f) () = lstat;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != lstat;
+   ;
+   return 0;
+ }
+@@ -20033,63 +32855,71 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_func_gethostname=yes
++  ac_cv_func_lstat=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_gethostname=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_lstat=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_gethostname" >&5
+-echo "${ECHO_T}$ac_cv_func_gethostname" >&6
+-if test $ac_cv_func_gethostname = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_lstat" >&5
++echo "${ECHO_T}$ac_cv_func_lstat" >&6
++if test $ac_cv_func_lstat = yes; then
+ 
+ cat >>confdefs.h <<_ACEOF
+-#define HAVE_GETHOSTNAME 1
++#define HAVE_LSTAT 1
+ _ACEOF
+ 
+ else
+-  LIBOBJS="$LIBOBJS gethostname.$ac_objext"
++  LIBOBJS="$LIBOBJS lstat.$ac_objext"
+ fi
+-echo "$as_me:$LINENO: checking for getifaddrs" >&5
+-echo $ECHO_N "checking for getifaddrs... $ECHO_C" >&6
+-if test "${ac_cv_func_getifaddrs+set}" = set; then
++echo "$as_me:$LINENO: checking for memmove" >&5
++echo $ECHO_N "checking for memmove... $ECHO_C" >&6
++if test "${ac_cv_func_memmove+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char getifaddrs (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char memmove (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+-char getifaddrs ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
++char memmove ();
+ /* 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_getifaddrs) || defined (__stub___getifaddrs)
++#if defined (__stub_memmove) || defined (__stub___memmove)
+ choke me
+ #else
+-f = getifaddrs;
++char (*f) () = memmove;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != memmove;
+   ;
+   return 0;
+ }
+@@ -20106,63 +32936,71 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_func_getifaddrs=yes
++  ac_cv_func_memmove=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_getifaddrs=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_memmove=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_getifaddrs" >&5
+-echo "${ECHO_T}$ac_cv_func_getifaddrs" >&6
+-if test $ac_cv_func_getifaddrs = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_memmove" >&5
++echo "${ECHO_T}$ac_cv_func_memmove" >&6
++if test $ac_cv_func_memmove = yes; then
+ 
+ cat >>confdefs.h <<_ACEOF
+-#define HAVE_GETIFADDRS 1
++#define HAVE_MEMMOVE 1
+ _ACEOF
+ 
+ else
+-  LIBOBJS="$LIBOBJS getifaddrs.$ac_objext"
++  LIBOBJS="$LIBOBJS memmove.$ac_objext"
+ fi
+-echo "$as_me:$LINENO: checking for getipnodebyaddr" >&5
+-echo $ECHO_N "checking for getipnodebyaddr... $ECHO_C" >&6
+-if test "${ac_cv_func_getipnodebyaddr+set}" = set; then
++echo "$as_me:$LINENO: checking for mkstemp" >&5
++echo $ECHO_N "checking for mkstemp... $ECHO_C" >&6
++if test "${ac_cv_func_mkstemp+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char getipnodebyaddr (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char mkstemp (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+-char getipnodebyaddr ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
++char mkstemp ();
+ /* 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_getipnodebyaddr) || defined (__stub___getipnodebyaddr)
++#if defined (__stub_mkstemp) || defined (__stub___mkstemp)
+ choke me
+ #else
+-f = getipnodebyaddr;
++char (*f) () = mkstemp;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != mkstemp;
+   ;
+   return 0;
+ }
+@@ -20179,63 +33017,71 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_func_getipnodebyaddr=yes
++  ac_cv_func_mkstemp=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_getipnodebyaddr=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_mkstemp=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_getipnodebyaddr" >&5
+-echo "${ECHO_T}$ac_cv_func_getipnodebyaddr" >&6
+-if test $ac_cv_func_getipnodebyaddr = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_mkstemp" >&5
++echo "${ECHO_T}$ac_cv_func_mkstemp" >&6
++if test $ac_cv_func_mkstemp = yes; then
+ 
+ cat >>confdefs.h <<_ACEOF
+-#define HAVE_GETIPNODEBYADDR 1
++#define HAVE_MKSTEMP 1
+ _ACEOF
+ 
+ else
+-  LIBOBJS="$LIBOBJS getipnodebyaddr.$ac_objext"
++  LIBOBJS="$LIBOBJS mkstemp.$ac_objext"
+ fi
+-echo "$as_me:$LINENO: checking for getipnodebyname" >&5
+-echo $ECHO_N "checking for getipnodebyname... $ECHO_C" >&6
+-if test "${ac_cv_func_getipnodebyname+set}" = set; then
++echo "$as_me:$LINENO: checking for putenv" >&5
++echo $ECHO_N "checking for putenv... $ECHO_C" >&6
++if test "${ac_cv_func_putenv+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char getipnodebyname (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char putenv (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+-char getipnodebyname ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
++char putenv ();
+ /* 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_getipnodebyname) || defined (__stub___getipnodebyname)
++#if defined (__stub_putenv) || defined (__stub___putenv)
+ choke me
+ #else
+-f = getipnodebyname;
++char (*f) () = putenv;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != putenv;
+   ;
+   return 0;
+ }
+@@ -20252,63 +33098,71 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_func_getipnodebyname=yes
++  ac_cv_func_putenv=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_getipnodebyname=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_putenv=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_getipnodebyname" >&5
+-echo "${ECHO_T}$ac_cv_func_getipnodebyname" >&6
+-if test $ac_cv_func_getipnodebyname = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_putenv" >&5
++echo "${ECHO_T}$ac_cv_func_putenv" >&6
++if test $ac_cv_func_putenv = yes; then
+ 
+ cat >>confdefs.h <<_ACEOF
+-#define HAVE_GETIPNODEBYNAME 1
++#define HAVE_PUTENV 1
+ _ACEOF
+ 
+ else
+-  LIBOBJS="$LIBOBJS getipnodebyname.$ac_objext"
++  LIBOBJS="$LIBOBJS putenv.$ac_objext"
+ fi
+-echo "$as_me:$LINENO: checking for getopt" >&5
+-echo $ECHO_N "checking for getopt... $ECHO_C" >&6
+-if test "${ac_cv_func_getopt+set}" = set; then
++echo "$as_me:$LINENO: checking for rcmd" >&5
++echo $ECHO_N "checking for rcmd... $ECHO_C" >&6
++if test "${ac_cv_func_rcmd+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char getopt (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char rcmd (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+-char getopt ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
++char rcmd ();
+ /* 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_getopt) || defined (__stub___getopt)
++#if defined (__stub_rcmd) || defined (__stub___rcmd)
+ choke me
+ #else
+-f = getopt;
++char (*f) () = rcmd;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != rcmd;
+   ;
+   return 0;
+ }
+@@ -20325,63 +33179,71 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_func_getopt=yes
++  ac_cv_func_rcmd=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_getopt=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_rcmd=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_getopt" >&5
+-echo "${ECHO_T}$ac_cv_func_getopt" >&6
+-if test $ac_cv_func_getopt = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_rcmd" >&5
++echo "${ECHO_T}$ac_cv_func_rcmd" >&6
++if test $ac_cv_func_rcmd = yes; then
+ 
+ cat >>confdefs.h <<_ACEOF
+-#define HAVE_GETOPT 1
++#define HAVE_RCMD 1
+ _ACEOF
+ 
+ else
+-  LIBOBJS="$LIBOBJS getopt.$ac_objext"
++  LIBOBJS="$LIBOBJS rcmd.$ac_objext"
+ fi
+-echo "$as_me:$LINENO: checking for gettimeofday" >&5
+-echo $ECHO_N "checking for gettimeofday... $ECHO_C" >&6
+-if test "${ac_cv_func_gettimeofday+set}" = set; then
++echo "$as_me:$LINENO: checking for readv" >&5
++echo $ECHO_N "checking for readv... $ECHO_C" >&6
++if test "${ac_cv_func_readv+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char gettimeofday (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char readv (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+-char gettimeofday ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
++char readv ();
+ /* 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)
++#if defined (__stub_readv) || defined (__stub___readv)
+ choke me
+ #else
+-f = gettimeofday;
++char (*f) () = readv;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != readv;
+   ;
+   return 0;
+ }
+@@ -20398,63 +33260,71 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_func_gettimeofday=yes
++  ac_cv_func_readv=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_gettimeofday=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_readv=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_gettimeofday" >&5
+-echo "${ECHO_T}$ac_cv_func_gettimeofday" >&6
+-if test $ac_cv_func_gettimeofday = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_readv" >&5
++echo "${ECHO_T}$ac_cv_func_readv" >&6
++if test $ac_cv_func_readv = yes; then
+ 
+ cat >>confdefs.h <<_ACEOF
+-#define HAVE_GETTIMEOFDAY 1
++#define HAVE_READV 1
+ _ACEOF
+ 
+ else
+-  LIBOBJS="$LIBOBJS gettimeofday.$ac_objext"
++  LIBOBJS="$LIBOBJS readv.$ac_objext"
+ fi
+-echo "$as_me:$LINENO: checking for getuid" >&5
+-echo $ECHO_N "checking for getuid... $ECHO_C" >&6
+-if test "${ac_cv_func_getuid+set}" = set; then
++echo "$as_me:$LINENO: checking for recvmsg" >&5
++echo $ECHO_N "checking for recvmsg... $ECHO_C" >&6
++if test "${ac_cv_func_recvmsg+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char getuid (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char recvmsg (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+-char getuid ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
++char recvmsg ();
+ /* 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_getuid) || defined (__stub___getuid)
++#if defined (__stub_recvmsg) || defined (__stub___recvmsg)
+ choke me
+ #else
+-f = getuid;
++char (*f) () = recvmsg;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != recvmsg;
+   ;
+   return 0;
+ }
+@@ -20471,63 +33341,71 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_func_getuid=yes
++  ac_cv_func_recvmsg=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_getuid=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_recvmsg=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_getuid" >&5
+-echo "${ECHO_T}$ac_cv_func_getuid" >&6
+-if test $ac_cv_func_getuid = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_recvmsg" >&5
++echo "${ECHO_T}$ac_cv_func_recvmsg" >&6
++if test $ac_cv_func_recvmsg = yes; then
+ 
+ cat >>confdefs.h <<_ACEOF
+-#define HAVE_GETUID 1
++#define HAVE_RECVMSG 1
+ _ACEOF
+ 
+ else
+-  LIBOBJS="$LIBOBJS getuid.$ac_objext"
++  LIBOBJS="$LIBOBJS recvmsg.$ac_objext"
+ fi
+-echo "$as_me:$LINENO: checking for getusershell" >&5
+-echo $ECHO_N "checking for getusershell... $ECHO_C" >&6
+-if test "${ac_cv_func_getusershell+set}" = set; then
++echo "$as_me:$LINENO: checking for sendmsg" >&5
++echo $ECHO_N "checking for sendmsg... $ECHO_C" >&6
++if test "${ac_cv_func_sendmsg+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char getusershell (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char sendmsg (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+-char getusershell ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
++char sendmsg ();
+ /* 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_getusershell) || defined (__stub___getusershell)
++#if defined (__stub_sendmsg) || defined (__stub___sendmsg)
+ choke me
+ #else
+-f = getusershell;
++char (*f) () = sendmsg;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != sendmsg;
+   ;
+   return 0;
+ }
+@@ -20544,63 +33422,71 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_func_getusershell=yes
++  ac_cv_func_sendmsg=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_getusershell=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_sendmsg=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_getusershell" >&5
+-echo "${ECHO_T}$ac_cv_func_getusershell" >&6
+-if test $ac_cv_func_getusershell = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_sendmsg" >&5
++echo "${ECHO_T}$ac_cv_func_sendmsg" >&6
++if test $ac_cv_func_sendmsg = yes; then
+ 
+ cat >>confdefs.h <<_ACEOF
+-#define HAVE_GETUSERSHELL 1
++#define HAVE_SENDMSG 1
+ _ACEOF
+ 
+ else
+-  LIBOBJS="$LIBOBJS getusershell.$ac_objext"
++  LIBOBJS="$LIBOBJS sendmsg.$ac_objext"
+ fi
+-echo "$as_me:$LINENO: checking for initgroups" >&5
+-echo $ECHO_N "checking for initgroups... $ECHO_C" >&6
+-if test "${ac_cv_func_initgroups+set}" = set; then
++echo "$as_me:$LINENO: checking for setegid" >&5
++echo $ECHO_N "checking for setegid... $ECHO_C" >&6
++if test "${ac_cv_func_setegid+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char initgroups (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char setegid (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+-char initgroups ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
++char setegid ();
+ /* 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_initgroups) || defined (__stub___initgroups)
++#if defined (__stub_setegid) || defined (__stub___setegid)
+ choke me
+ #else
+-f = initgroups;
++char (*f) () = setegid;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != setegid;
+   ;
+   return 0;
+ }
+@@ -20617,63 +33503,71 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_func_initgroups=yes
++  ac_cv_func_setegid=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_initgroups=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_setegid=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_initgroups" >&5
+-echo "${ECHO_T}$ac_cv_func_initgroups" >&6
+-if test $ac_cv_func_initgroups = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_setegid" >&5
++echo "${ECHO_T}$ac_cv_func_setegid" >&6
++if test $ac_cv_func_setegid = yes; then
+ 
+ cat >>confdefs.h <<_ACEOF
+-#define HAVE_INITGROUPS 1
++#define HAVE_SETEGID 1
+ _ACEOF
+ 
+ else
+-  LIBOBJS="$LIBOBJS initgroups.$ac_objext"
++  LIBOBJS="$LIBOBJS setegid.$ac_objext"
+ fi
+-echo "$as_me:$LINENO: checking for innetgr" >&5
+-echo $ECHO_N "checking for innetgr... $ECHO_C" >&6
+-if test "${ac_cv_func_innetgr+set}" = set; then
++echo "$as_me:$LINENO: checking for setenv" >&5
++echo $ECHO_N "checking for setenv... $ECHO_C" >&6
++if test "${ac_cv_func_setenv+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char innetgr (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char setenv (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+-char innetgr ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
++char setenv ();
+ /* 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_innetgr) || defined (__stub___innetgr)
++#if defined (__stub_setenv) || defined (__stub___setenv)
+ choke me
+ #else
+-f = innetgr;
++char (*f) () = setenv;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != setenv;
+   ;
+   return 0;
+ }
+@@ -20690,63 +33584,71 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_func_innetgr=yes
++  ac_cv_func_setenv=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_innetgr=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_setenv=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_innetgr" >&5
+-echo "${ECHO_T}$ac_cv_func_innetgr" >&6
+-if test $ac_cv_func_innetgr = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_setenv" >&5
++echo "${ECHO_T}$ac_cv_func_setenv" >&6
++if test $ac_cv_func_setenv = yes; then
+ 
+ cat >>confdefs.h <<_ACEOF
+-#define HAVE_INNETGR 1
++#define HAVE_SETENV 1
+ _ACEOF
+ 
+ else
+-  LIBOBJS="$LIBOBJS innetgr.$ac_objext"
++  LIBOBJS="$LIBOBJS setenv.$ac_objext"
+ fi
+-echo "$as_me:$LINENO: checking for iruserok" >&5
+-echo $ECHO_N "checking for iruserok... $ECHO_C" >&6
+-if test "${ac_cv_func_iruserok+set}" = set; then
++echo "$as_me:$LINENO: checking for seteuid" >&5
++echo $ECHO_N "checking for seteuid... $ECHO_C" >&6
++if test "${ac_cv_func_seteuid+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char iruserok (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char seteuid (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+-char iruserok ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
++char seteuid ();
+ /* 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_iruserok) || defined (__stub___iruserok)
++#if defined (__stub_seteuid) || defined (__stub___seteuid)
+ choke me
+ #else
+-f = iruserok;
++char (*f) () = seteuid;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != seteuid;
+   ;
+   return 0;
+ }
+@@ -20763,63 +33665,71 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_func_iruserok=yes
++  ac_cv_func_seteuid=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_iruserok=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_seteuid=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_iruserok" >&5
+-echo "${ECHO_T}$ac_cv_func_iruserok" >&6
+-if test $ac_cv_func_iruserok = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_seteuid" >&5
++echo "${ECHO_T}$ac_cv_func_seteuid" >&6
++if test $ac_cv_func_seteuid = yes; then
+ 
+ cat >>confdefs.h <<_ACEOF
+-#define HAVE_IRUSEROK 1
++#define HAVE_SETEUID 1
+ _ACEOF
+ 
+ else
+-  LIBOBJS="$LIBOBJS iruserok.$ac_objext"
++  LIBOBJS="$LIBOBJS seteuid.$ac_objext"
+ fi
+-echo "$as_me:$LINENO: checking for localtime_r" >&5
+-echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
+-if test "${ac_cv_func_localtime_r+set}" = set; then
++echo "$as_me:$LINENO: checking for strcasecmp" >&5
++echo $ECHO_N "checking for strcasecmp... $ECHO_C" >&6
++if test "${ac_cv_func_strcasecmp+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char localtime_r (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char strcasecmp (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+-char localtime_r ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
++char strcasecmp ();
+ /* 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_localtime_r) || defined (__stub___localtime_r)
++#if defined (__stub_strcasecmp) || defined (__stub___strcasecmp)
+ choke me
+ #else
+-f = localtime_r;
++char (*f) () = strcasecmp;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != strcasecmp;
+   ;
+   return 0;
+ }
+@@ -20836,63 +33746,71 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_func_localtime_r=yes
++  ac_cv_func_strcasecmp=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_localtime_r=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_strcasecmp=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
+-echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
+-if test $ac_cv_func_localtime_r = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_strcasecmp" >&5
++echo "${ECHO_T}$ac_cv_func_strcasecmp" >&6
++if test $ac_cv_func_strcasecmp = yes; then
+ 
+ cat >>confdefs.h <<_ACEOF
+-#define HAVE_LOCALTIME_R 1
++#define HAVE_STRCASECMP 1
+ _ACEOF
+ 
+ else
+-  LIBOBJS="$LIBOBJS localtime_r.$ac_objext"
++  LIBOBJS="$LIBOBJS strcasecmp.$ac_objext"
+ fi
+-echo "$as_me:$LINENO: checking for lstat" >&5
+-echo $ECHO_N "checking for lstat... $ECHO_C" >&6
+-if test "${ac_cv_func_lstat+set}" = set; then
++echo "$as_me:$LINENO: checking for strdup" >&5
++echo $ECHO_N "checking for strdup... $ECHO_C" >&6
++if test "${ac_cv_func_strdup+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char lstat (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char strdup (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+-char lstat ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
++char strdup ();
+ /* 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_lstat) || defined (__stub___lstat)
++#if defined (__stub_strdup) || defined (__stub___strdup)
+ choke me
+ #else
+-f = lstat;
++char (*f) () = strdup;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != strdup;
+   ;
+   return 0;
+ }
+@@ -20909,63 +33827,71 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_func_lstat=yes
++  ac_cv_func_strdup=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_lstat=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_strdup=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_lstat" >&5
+-echo "${ECHO_T}$ac_cv_func_lstat" >&6
+-if test $ac_cv_func_lstat = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_strdup" >&5
++echo "${ECHO_T}$ac_cv_func_strdup" >&6
++if test $ac_cv_func_strdup = yes; then
+ 
+ cat >>confdefs.h <<_ACEOF
+-#define HAVE_LSTAT 1
++#define HAVE_STRDUP 1
+ _ACEOF
+ 
+ else
+-  LIBOBJS="$LIBOBJS lstat.$ac_objext"
++  LIBOBJS="$LIBOBJS strdup.$ac_objext"
+ fi
+-echo "$as_me:$LINENO: checking for memmove" >&5
+-echo $ECHO_N "checking for memmove... $ECHO_C" >&6
+-if test "${ac_cv_func_memmove+set}" = set; then
++echo "$as_me:$LINENO: checking for strerror" >&5
++echo $ECHO_N "checking for strerror... $ECHO_C" >&6
++if test "${ac_cv_func_strerror+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char memmove (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char strerror (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+-char memmove ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
++char strerror ();
+ /* 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_memmove) || defined (__stub___memmove)
++#if defined (__stub_strerror) || defined (__stub___strerror)
+ choke me
+ #else
+-f = memmove;
++char (*f) () = strerror;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != strerror;
+   ;
+   return 0;
+ }
+@@ -20982,63 +33908,71 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_func_memmove=yes
++  ac_cv_func_strerror=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_memmove=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_strerror=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_memmove" >&5
+-echo "${ECHO_T}$ac_cv_func_memmove" >&6
+-if test $ac_cv_func_memmove = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_strerror" >&5
++echo "${ECHO_T}$ac_cv_func_strerror" >&6
++if test $ac_cv_func_strerror = yes; then
+ 
+ cat >>confdefs.h <<_ACEOF
+-#define HAVE_MEMMOVE 1
++#define HAVE_STRERROR 1
+ _ACEOF
+ 
+ else
+-  LIBOBJS="$LIBOBJS memmove.$ac_objext"
++  LIBOBJS="$LIBOBJS strerror.$ac_objext"
+ fi
+-echo "$as_me:$LINENO: checking for mkstemp" >&5
+-echo $ECHO_N "checking for mkstemp... $ECHO_C" >&6
+-if test "${ac_cv_func_mkstemp+set}" = set; then
++echo "$as_me:$LINENO: checking for strftime" >&5
++echo $ECHO_N "checking for strftime... $ECHO_C" >&6
++if test "${ac_cv_func_strftime+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char mkstemp (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char strftime (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+-char mkstemp ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
++char strftime ();
+ /* 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_mkstemp) || defined (__stub___mkstemp)
++#if defined (__stub_strftime) || defined (__stub___strftime)
+ choke me
+ #else
+-f = mkstemp;
++char (*f) () = strftime;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != strftime;
+   ;
+   return 0;
+ }
+@@ -21055,63 +33989,71 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_func_mkstemp=yes
++  ac_cv_func_strftime=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_mkstemp=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_strftime=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_mkstemp" >&5
+-echo "${ECHO_T}$ac_cv_func_mkstemp" >&6
+-if test $ac_cv_func_mkstemp = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_strftime" >&5
++echo "${ECHO_T}$ac_cv_func_strftime" >&6
++if test $ac_cv_func_strftime = yes; then
+ 
+ cat >>confdefs.h <<_ACEOF
+-#define HAVE_MKSTEMP 1
++#define HAVE_STRFTIME 1
+ _ACEOF
+ 
+ else
+-  LIBOBJS="$LIBOBJS mkstemp.$ac_objext"
++  LIBOBJS="$LIBOBJS strftime.$ac_objext"
+ fi
+-echo "$as_me:$LINENO: checking for putenv" >&5
+-echo $ECHO_N "checking for putenv... $ECHO_C" >&6
+-if test "${ac_cv_func_putenv+set}" = set; then
++echo "$as_me:$LINENO: checking for strlcat" >&5
++echo $ECHO_N "checking for strlcat... $ECHO_C" >&6
++if test "${ac_cv_func_strlcat+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char putenv (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char strlcat (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+-char putenv ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
++char strlcat ();
+ /* 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_putenv) || defined (__stub___putenv)
++#if defined (__stub_strlcat) || defined (__stub___strlcat)
+ choke me
+ #else
+-f = putenv;
++char (*f) () = strlcat;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != strlcat;
+   ;
+   return 0;
+ }
+@@ -21128,63 +34070,71 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_func_putenv=yes
++  ac_cv_func_strlcat=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_putenv=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_strlcat=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_putenv" >&5
+-echo "${ECHO_T}$ac_cv_func_putenv" >&6
+-if test $ac_cv_func_putenv = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_strlcat" >&5
++echo "${ECHO_T}$ac_cv_func_strlcat" >&6
++if test $ac_cv_func_strlcat = yes; then
+ 
+ cat >>confdefs.h <<_ACEOF
+-#define HAVE_PUTENV 1
++#define HAVE_STRLCAT 1
+ _ACEOF
+ 
+ else
+-  LIBOBJS="$LIBOBJS putenv.$ac_objext"
++  LIBOBJS="$LIBOBJS strlcat.$ac_objext"
+ fi
+-echo "$as_me:$LINENO: checking for rcmd" >&5
+-echo $ECHO_N "checking for rcmd... $ECHO_C" >&6
+-if test "${ac_cv_func_rcmd+set}" = set; then
++echo "$as_me:$LINENO: checking for strlcpy" >&5
++echo $ECHO_N "checking for strlcpy... $ECHO_C" >&6
++if test "${ac_cv_func_strlcpy+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char rcmd (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char strlcpy (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+-char rcmd ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
++char strlcpy ();
+ /* 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_rcmd) || defined (__stub___rcmd)
++#if defined (__stub_strlcpy) || defined (__stub___strlcpy)
+ choke me
+ #else
+-f = rcmd;
++char (*f) () = strlcpy;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != strlcpy;
+   ;
+   return 0;
+ }
+@@ -21201,63 +34151,71 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_func_rcmd=yes
++  ac_cv_func_strlcpy=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_rcmd=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_strlcpy=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_rcmd" >&5
+-echo "${ECHO_T}$ac_cv_func_rcmd" >&6
+-if test $ac_cv_func_rcmd = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_strlcpy" >&5
++echo "${ECHO_T}$ac_cv_func_strlcpy" >&6
++if test $ac_cv_func_strlcpy = yes; then
+ 
+ cat >>confdefs.h <<_ACEOF
+-#define HAVE_RCMD 1
++#define HAVE_STRLCPY 1
+ _ACEOF
+ 
+ else
+-  LIBOBJS="$LIBOBJS rcmd.$ac_objext"
++  LIBOBJS="$LIBOBJS strlcpy.$ac_objext"
+ fi
+-echo "$as_me:$LINENO: checking for readv" >&5
+-echo $ECHO_N "checking for readv... $ECHO_C" >&6
+-if test "${ac_cv_func_readv+set}" = set; then
++echo "$as_me:$LINENO: checking for strlwr" >&5
++echo $ECHO_N "checking for strlwr... $ECHO_C" >&6
++if test "${ac_cv_func_strlwr+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char readv (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char strlwr (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+-char readv ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
++char strlwr ();
+ /* 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_readv) || defined (__stub___readv)
++#if defined (__stub_strlwr) || defined (__stub___strlwr)
+ choke me
+ #else
+-f = readv;
++char (*f) () = strlwr;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != strlwr;
+   ;
+   return 0;
+ }
+@@ -21274,63 +34232,71 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_func_readv=yes
++  ac_cv_func_strlwr=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_readv=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_strlwr=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_readv" >&5
+-echo "${ECHO_T}$ac_cv_func_readv" >&6
+-if test $ac_cv_func_readv = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_strlwr" >&5
++echo "${ECHO_T}$ac_cv_func_strlwr" >&6
++if test $ac_cv_func_strlwr = yes; then
+ 
+ cat >>confdefs.h <<_ACEOF
+-#define HAVE_READV 1
++#define HAVE_STRLWR 1
+ _ACEOF
+ 
+ else
+-  LIBOBJS="$LIBOBJS readv.$ac_objext"
++  LIBOBJS="$LIBOBJS strlwr.$ac_objext"
+ fi
+-echo "$as_me:$LINENO: checking for recvmsg" >&5
+-echo $ECHO_N "checking for recvmsg... $ECHO_C" >&6
+-if test "${ac_cv_func_recvmsg+set}" = set; then
++echo "$as_me:$LINENO: checking for strncasecmp" >&5
++echo $ECHO_N "checking for strncasecmp... $ECHO_C" >&6
++if test "${ac_cv_func_strncasecmp+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char recvmsg (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char strncasecmp (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+-char recvmsg ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
++char strncasecmp ();
+ /* 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_recvmsg) || defined (__stub___recvmsg)
++#if defined (__stub_strncasecmp) || defined (__stub___strncasecmp)
+ choke me
+ #else
+-f = recvmsg;
++char (*f) () = strncasecmp;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != strncasecmp;
+   ;
+   return 0;
+ }
+@@ -21347,63 +34313,71 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_func_recvmsg=yes
++  ac_cv_func_strncasecmp=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_recvmsg=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_strncasecmp=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_recvmsg" >&5
+-echo "${ECHO_T}$ac_cv_func_recvmsg" >&6
+-if test $ac_cv_func_recvmsg = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_strncasecmp" >&5
++echo "${ECHO_T}$ac_cv_func_strncasecmp" >&6
++if test $ac_cv_func_strncasecmp = yes; then
+ 
+ cat >>confdefs.h <<_ACEOF
+-#define HAVE_RECVMSG 1
++#define HAVE_STRNCASECMP 1
+ _ACEOF
+ 
+ else
+-  LIBOBJS="$LIBOBJS recvmsg.$ac_objext"
++  LIBOBJS="$LIBOBJS strncasecmp.$ac_objext"
+ fi
+-echo "$as_me:$LINENO: checking for sendmsg" >&5
+-echo $ECHO_N "checking for sendmsg... $ECHO_C" >&6
+-if test "${ac_cv_func_sendmsg+set}" = set; then
++echo "$as_me:$LINENO: checking for strndup" >&5
++echo $ECHO_N "checking for strndup... $ECHO_C" >&6
++if test "${ac_cv_func_strndup+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char sendmsg (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char strndup (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+-char sendmsg ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
++char strndup ();
+ /* 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_sendmsg) || defined (__stub___sendmsg)
++#if defined (__stub_strndup) || defined (__stub___strndup)
+ choke me
+ #else
+-f = sendmsg;
++char (*f) () = strndup;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != strndup;
+   ;
+   return 0;
+ }
+@@ -21420,63 +34394,71 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_func_sendmsg=yes
++  ac_cv_func_strndup=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_sendmsg=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_strndup=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_sendmsg" >&5
+-echo "${ECHO_T}$ac_cv_func_sendmsg" >&6
+-if test $ac_cv_func_sendmsg = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_strndup" >&5
++echo "${ECHO_T}$ac_cv_func_strndup" >&6
++if test $ac_cv_func_strndup = yes; then
+ 
+ cat >>confdefs.h <<_ACEOF
+-#define HAVE_SENDMSG 1
++#define HAVE_STRNDUP 1
+ _ACEOF
+ 
+ else
+-  LIBOBJS="$LIBOBJS sendmsg.$ac_objext"
++  LIBOBJS="$LIBOBJS strndup.$ac_objext"
+ fi
+-echo "$as_me:$LINENO: checking for setegid" >&5
+-echo $ECHO_N "checking for setegid... $ECHO_C" >&6
+-if test "${ac_cv_func_setegid+set}" = set; then
++echo "$as_me:$LINENO: checking for strnlen" >&5
++echo $ECHO_N "checking for strnlen... $ECHO_C" >&6
++if test "${ac_cv_func_strnlen+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char setegid (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char strnlen (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+-char setegid ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
++char strnlen ();
+ /* 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_setegid) || defined (__stub___setegid)
++#if defined (__stub_strnlen) || defined (__stub___strnlen)
+ choke me
+ #else
+-f = setegid;
++char (*f) () = strnlen;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != strnlen;
+   ;
+   return 0;
+ }
+@@ -21493,63 +34475,71 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_func_setegid=yes
++  ac_cv_func_strnlen=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_setegid=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_strnlen=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_setegid" >&5
+-echo "${ECHO_T}$ac_cv_func_setegid" >&6
+-if test $ac_cv_func_setegid = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_strnlen" >&5
++echo "${ECHO_T}$ac_cv_func_strnlen" >&6
++if test $ac_cv_func_strnlen = yes; then
+ 
+ cat >>confdefs.h <<_ACEOF
+-#define HAVE_SETEGID 1
++#define HAVE_STRNLEN 1
+ _ACEOF
+ 
+ else
+-  LIBOBJS="$LIBOBJS setegid.$ac_objext"
++  LIBOBJS="$LIBOBJS strnlen.$ac_objext"
+ fi
+-echo "$as_me:$LINENO: checking for setenv" >&5
+-echo $ECHO_N "checking for setenv... $ECHO_C" >&6
+-if test "${ac_cv_func_setenv+set}" = set; then
++echo "$as_me:$LINENO: checking for strptime" >&5
++echo $ECHO_N "checking for strptime... $ECHO_C" >&6
++if test "${ac_cv_func_strptime+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char setenv (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char strptime (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+-char setenv ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
++char strptime ();
+ /* 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)
++#if defined (__stub_strptime) || defined (__stub___strptime)
+ choke me
+ #else
+-f = setenv;
++char (*f) () = strptime;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != strptime;
+   ;
+   return 0;
+ }
+@@ -21566,63 +34556,71 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_func_setenv=yes
++  ac_cv_func_strptime=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_setenv=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_strptime=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_setenv" >&5
+-echo "${ECHO_T}$ac_cv_func_setenv" >&6
+-if test $ac_cv_func_setenv = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
++echo "${ECHO_T}$ac_cv_func_strptime" >&6
++if test $ac_cv_func_strptime = yes; then
+ 
+ cat >>confdefs.h <<_ACEOF
+-#define HAVE_SETENV 1
++#define HAVE_STRPTIME 1
+ _ACEOF
+ 
+ else
+-  LIBOBJS="$LIBOBJS setenv.$ac_objext"
++  LIBOBJS="$LIBOBJS strptime.$ac_objext"
+ fi
+-echo "$as_me:$LINENO: checking for seteuid" >&5
+-echo $ECHO_N "checking for seteuid... $ECHO_C" >&6
+-if test "${ac_cv_func_seteuid+set}" = set; then
++echo "$as_me:$LINENO: checking for strsep" >&5
++echo $ECHO_N "checking for strsep... $ECHO_C" >&6
++if test "${ac_cv_func_strsep+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char seteuid (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char strsep (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+-char seteuid ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
++char strsep ();
+ /* 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_seteuid) || defined (__stub___seteuid)
++#if defined (__stub_strsep) || defined (__stub___strsep)
+ choke me
+ #else
+-f = seteuid;
++char (*f) () = strsep;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != strsep;
+   ;
+   return 0;
+ }
+@@ -21639,63 +34637,71 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_func_seteuid=yes
++  ac_cv_func_strsep=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_seteuid=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_strsep=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_seteuid" >&5
+-echo "${ECHO_T}$ac_cv_func_seteuid" >&6
+-if test $ac_cv_func_seteuid = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_strsep" >&5
++echo "${ECHO_T}$ac_cv_func_strsep" >&6
++if test $ac_cv_func_strsep = yes; then
+ 
+ cat >>confdefs.h <<_ACEOF
+-#define HAVE_SETEUID 1
++#define HAVE_STRSEP 1
+ _ACEOF
+ 
+ else
+-  LIBOBJS="$LIBOBJS seteuid.$ac_objext"
++  LIBOBJS="$LIBOBJS strsep.$ac_objext"
+ fi
+-echo "$as_me:$LINENO: checking for strcasecmp" >&5
+-echo $ECHO_N "checking for strcasecmp... $ECHO_C" >&6
+-if test "${ac_cv_func_strcasecmp+set}" = set; then
++echo "$as_me:$LINENO: checking for strsep_copy" >&5
++echo $ECHO_N "checking for strsep_copy... $ECHO_C" >&6
++if test "${ac_cv_func_strsep_copy+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char strcasecmp (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char strsep_copy (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+-char strcasecmp ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
++char strsep_copy ();
+ /* 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_strcasecmp) || defined (__stub___strcasecmp)
++#if defined (__stub_strsep_copy) || defined (__stub___strsep_copy)
+ choke me
+ #else
+-f = strcasecmp;
++char (*f) () = strsep_copy;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != strsep_copy;
+   ;
+   return 0;
+ }
+@@ -21712,63 +34718,71 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_func_strcasecmp=yes
++  ac_cv_func_strsep_copy=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_strcasecmp=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_strsep_copy=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_strcasecmp" >&5
+-echo "${ECHO_T}$ac_cv_func_strcasecmp" >&6
+-if test $ac_cv_func_strcasecmp = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_strsep_copy" >&5
++echo "${ECHO_T}$ac_cv_func_strsep_copy" >&6
++if test $ac_cv_func_strsep_copy = yes; then
+ 
+ cat >>confdefs.h <<_ACEOF
+-#define HAVE_STRCASECMP 1
++#define HAVE_STRSEP_COPY 1
+ _ACEOF
+ 
+ else
+-  LIBOBJS="$LIBOBJS strcasecmp.$ac_objext"
++  LIBOBJS="$LIBOBJS strsep_copy.$ac_objext"
+ fi
+-echo "$as_me:$LINENO: checking for strdup" >&5
+-echo $ECHO_N "checking for strdup... $ECHO_C" >&6
+-if test "${ac_cv_func_strdup+set}" = set; then
++echo "$as_me:$LINENO: checking for strtok_r" >&5
++echo $ECHO_N "checking for strtok_r... $ECHO_C" >&6
++if test "${ac_cv_func_strtok_r+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char strdup (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char strtok_r (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+-char strdup ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
++char strtok_r ();
+ /* 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_strdup) || defined (__stub___strdup)
++#if defined (__stub_strtok_r) || defined (__stub___strtok_r)
+ choke me
+ #else
+-f = strdup;
++char (*f) () = strtok_r;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != strtok_r;
+   ;
+   return 0;
+ }
+@@ -21785,63 +34799,71 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_func_strdup=yes
++  ac_cv_func_strtok_r=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_strdup=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_strtok_r=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_strdup" >&5
+-echo "${ECHO_T}$ac_cv_func_strdup" >&6
+-if test $ac_cv_func_strdup = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_strtok_r" >&5
++echo "${ECHO_T}$ac_cv_func_strtok_r" >&6
++if test $ac_cv_func_strtok_r = yes; then
+ 
+ cat >>confdefs.h <<_ACEOF
+-#define HAVE_STRDUP 1
++#define HAVE_STRTOK_R 1
+ _ACEOF
+ 
+ else
+-  LIBOBJS="$LIBOBJS strdup.$ac_objext"
++  LIBOBJS="$LIBOBJS strtok_r.$ac_objext"
+ fi
+-echo "$as_me:$LINENO: checking for strerror" >&5
+-echo $ECHO_N "checking for strerror... $ECHO_C" >&6
+-if test "${ac_cv_func_strerror+set}" = set; then
++echo "$as_me:$LINENO: checking for strupr" >&5
++echo $ECHO_N "checking for strupr... $ECHO_C" >&6
++if test "${ac_cv_func_strupr+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char strerror (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char strupr (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+-char strerror ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
++char strupr ();
+ /* 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)
++#if defined (__stub_strupr) || defined (__stub___strupr)
+ choke me
+ #else
+-f = strerror;
++char (*f) () = strupr;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != strupr;
+   ;
+   return 0;
+ }
+@@ -21858,63 +34880,71 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_func_strerror=yes
++  ac_cv_func_strupr=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_strerror=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_strupr=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_strerror" >&5
+-echo "${ECHO_T}$ac_cv_func_strerror" >&6
+-if test $ac_cv_func_strerror = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_strupr" >&5
++echo "${ECHO_T}$ac_cv_func_strupr" >&6
++if test $ac_cv_func_strupr = yes; then
+ 
+ cat >>confdefs.h <<_ACEOF
+-#define HAVE_STRERROR 1
++#define HAVE_STRUPR 1
+ _ACEOF
+ 
+ else
+-  LIBOBJS="$LIBOBJS strerror.$ac_objext"
++  LIBOBJS="$LIBOBJS strupr.$ac_objext"
+ fi
+-echo "$as_me:$LINENO: checking for strftime" >&5
+-echo $ECHO_N "checking for strftime... $ECHO_C" >&6
+-if test "${ac_cv_func_strftime+set}" = set; then
++echo "$as_me:$LINENO: checking for swab" >&5
++echo $ECHO_N "checking for swab... $ECHO_C" >&6
++if test "${ac_cv_func_swab+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char strftime (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char swab (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+-char strftime ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
++char swab ();
+ /* The GNU C library defines this for functions which it implements
+     to always fail with ENOSYS.  Some functions are actually named
+     something starting with __ and the normal name is an alias.  */
+-#if defined (__stub_strftime) || defined (__stub___strftime)
++#if defined (__stub_swab) || defined (__stub___swab)
+ choke me
+ #else
+-f = strftime;
++char (*f) () = swab;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != swab;
+   ;
+   return 0;
+ }
+@@ -21931,63 +34961,71 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_func_strftime=yes
++  ac_cv_func_swab=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_strftime=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_swab=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_strftime" >&5
+-echo "${ECHO_T}$ac_cv_func_strftime" >&6
+-if test $ac_cv_func_strftime = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_swab" >&5
++echo "${ECHO_T}$ac_cv_func_swab" >&6
++if test $ac_cv_func_swab = yes; then
+ 
+ cat >>confdefs.h <<_ACEOF
+-#define HAVE_STRFTIME 1
++#define HAVE_SWAB 1
+ _ACEOF
+ 
+ else
+-  LIBOBJS="$LIBOBJS strftime.$ac_objext"
++  LIBOBJS="$LIBOBJS swab.$ac_objext"
+ fi
+-echo "$as_me:$LINENO: checking for strlcat" >&5
+-echo $ECHO_N "checking for strlcat... $ECHO_C" >&6
+-if test "${ac_cv_func_strlcat+set}" = set; then
++echo "$as_me:$LINENO: checking for unsetenv" >&5
++echo $ECHO_N "checking for unsetenv... $ECHO_C" >&6
++if test "${ac_cv_func_unsetenv+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char strlcat (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char unsetenv (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+-char strlcat ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
++char unsetenv ();
+ /* 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_strlcat) || defined (__stub___strlcat)
++#if defined (__stub_unsetenv) || defined (__stub___unsetenv)
+ choke me
+ #else
+-f = strlcat;
++char (*f) () = unsetenv;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != unsetenv;
+   ;
+   return 0;
+ }
+@@ -22004,63 +35042,71 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_func_strlcat=yes
++  ac_cv_func_unsetenv=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_strlcat=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_unsetenv=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_strlcat" >&5
+-echo "${ECHO_T}$ac_cv_func_strlcat" >&6
+-if test $ac_cv_func_strlcat = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_unsetenv" >&5
++echo "${ECHO_T}$ac_cv_func_unsetenv" >&6
++if test $ac_cv_func_unsetenv = yes; then
+ 
+ cat >>confdefs.h <<_ACEOF
+-#define HAVE_STRLCAT 1
++#define HAVE_UNSETENV 1
+ _ACEOF
+ 
+ else
+-  LIBOBJS="$LIBOBJS strlcat.$ac_objext"
++  LIBOBJS="$LIBOBJS unsetenv.$ac_objext"
+ fi
+-echo "$as_me:$LINENO: checking for strlcpy" >&5
+-echo $ECHO_N "checking for strlcpy... $ECHO_C" >&6
+-if test "${ac_cv_func_strlcpy+set}" = set; then
++echo "$as_me:$LINENO: checking for verr" >&5
++echo $ECHO_N "checking for verr... $ECHO_C" >&6
++if test "${ac_cv_func_verr+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char strlcpy (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char verr (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+-char strlcpy ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
++char verr ();
+ /* 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_strlcpy) || defined (__stub___strlcpy)
++#if defined (__stub_verr) || defined (__stub___verr)
+ choke me
+ #else
+-f = strlcpy;
++char (*f) () = verr;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != verr;
+   ;
+   return 0;
+ }
+@@ -22077,63 +35123,71 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_func_strlcpy=yes
++  ac_cv_func_verr=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_strlcpy=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_verr=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_strlcpy" >&5
+-echo "${ECHO_T}$ac_cv_func_strlcpy" >&6
+-if test $ac_cv_func_strlcpy = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_verr" >&5
++echo "${ECHO_T}$ac_cv_func_verr" >&6
++if test $ac_cv_func_verr = yes; then
+ 
+ cat >>confdefs.h <<_ACEOF
+-#define HAVE_STRLCPY 1
++#define HAVE_VERR 1
+ _ACEOF
+ 
+ else
+-  LIBOBJS="$LIBOBJS strlcpy.$ac_objext"
++  LIBOBJS="$LIBOBJS verr.$ac_objext"
+ fi
+-echo "$as_me:$LINENO: checking for strlwr" >&5
+-echo $ECHO_N "checking for strlwr... $ECHO_C" >&6
+-if test "${ac_cv_func_strlwr+set}" = set; then
++echo "$as_me:$LINENO: checking for verrx" >&5
++echo $ECHO_N "checking for verrx... $ECHO_C" >&6
++if test "${ac_cv_func_verrx+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char strlwr (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char verrx (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+-char strlwr ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
++char verrx ();
+ /* 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_strlwr) || defined (__stub___strlwr)
++#if defined (__stub_verrx) || defined (__stub___verrx)
+ choke me
+ #else
+-f = strlwr;
++char (*f) () = verrx;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != verrx;
+   ;
+   return 0;
+ }
+@@ -22150,63 +35204,71 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_func_strlwr=yes
++  ac_cv_func_verrx=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_strlwr=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_verrx=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_strlwr" >&5
+-echo "${ECHO_T}$ac_cv_func_strlwr" >&6
+-if test $ac_cv_func_strlwr = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_verrx" >&5
++echo "${ECHO_T}$ac_cv_func_verrx" >&6
++if test $ac_cv_func_verrx = yes; then
+ 
+ cat >>confdefs.h <<_ACEOF
+-#define HAVE_STRLWR 1
++#define HAVE_VERRX 1
+ _ACEOF
+ 
+ else
+-  LIBOBJS="$LIBOBJS strlwr.$ac_objext"
++  LIBOBJS="$LIBOBJS verrx.$ac_objext"
+ fi
+-echo "$as_me:$LINENO: checking for strncasecmp" >&5
+-echo $ECHO_N "checking for strncasecmp... $ECHO_C" >&6
+-if test "${ac_cv_func_strncasecmp+set}" = set; then
++echo "$as_me:$LINENO: checking for vsyslog" >&5
++echo $ECHO_N "checking for vsyslog... $ECHO_C" >&6
++if test "${ac_cv_func_vsyslog+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char strncasecmp (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char vsyslog (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+-char strncasecmp ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
++char vsyslog ();
+ /* 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_strncasecmp) || defined (__stub___strncasecmp)
++#if defined (__stub_vsyslog) || defined (__stub___vsyslog)
+ choke me
+ #else
+-f = strncasecmp;
++char (*f) () = vsyslog;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != vsyslog;
+   ;
+   return 0;
+ }
+@@ -22223,63 +35285,71 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_func_strncasecmp=yes
++  ac_cv_func_vsyslog=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_strncasecmp=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_vsyslog=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_strncasecmp" >&5
+-echo "${ECHO_T}$ac_cv_func_strncasecmp" >&6
+-if test $ac_cv_func_strncasecmp = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_vsyslog" >&5
++echo "${ECHO_T}$ac_cv_func_vsyslog" >&6
++if test $ac_cv_func_vsyslog = yes; then
+ 
+ cat >>confdefs.h <<_ACEOF
+-#define HAVE_STRNCASECMP 1
++#define HAVE_VSYSLOG 1
+ _ACEOF
+ 
+ else
+-  LIBOBJS="$LIBOBJS strncasecmp.$ac_objext"
++  LIBOBJS="$LIBOBJS vsyslog.$ac_objext"
+ fi
+-echo "$as_me:$LINENO: checking for strndup" >&5
+-echo $ECHO_N "checking for strndup... $ECHO_C" >&6
+-if test "${ac_cv_func_strndup+set}" = set; then
++echo "$as_me:$LINENO: checking for vwarn" >&5
++echo $ECHO_N "checking for vwarn... $ECHO_C" >&6
++if test "${ac_cv_func_vwarn+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char strndup (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char vwarn (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+-char strndup ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
++char vwarn ();
+ /* 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_strndup) || defined (__stub___strndup)
++#if defined (__stub_vwarn) || defined (__stub___vwarn)
+ choke me
+ #else
+-f = strndup;
++char (*f) () = vwarn;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != vwarn;
+   ;
+   return 0;
+ }
+@@ -22296,63 +35366,71 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_func_strndup=yes
++  ac_cv_func_vwarn=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_strndup=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_vwarn=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_strndup" >&5
+-echo "${ECHO_T}$ac_cv_func_strndup" >&6
+-if test $ac_cv_func_strndup = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_vwarn" >&5
++echo "${ECHO_T}$ac_cv_func_vwarn" >&6
++if test $ac_cv_func_vwarn = yes; then
+ 
+ cat >>confdefs.h <<_ACEOF
+-#define HAVE_STRNDUP 1
++#define HAVE_VWARN 1
+ _ACEOF
+ 
+ else
+-  LIBOBJS="$LIBOBJS strndup.$ac_objext"
++  LIBOBJS="$LIBOBJS vwarn.$ac_objext"
+ fi
+-echo "$as_me:$LINENO: checking for strnlen" >&5
+-echo $ECHO_N "checking for strnlen... $ECHO_C" >&6
+-if test "${ac_cv_func_strnlen+set}" = set; then
++echo "$as_me:$LINENO: checking for vwarnx" >&5
++echo $ECHO_N "checking for vwarnx... $ECHO_C" >&6
++if test "${ac_cv_func_vwarnx+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char strnlen (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char vwarnx (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+-char strnlen ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
++char vwarnx ();
+ /* 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_strnlen) || defined (__stub___strnlen)
++#if defined (__stub_vwarnx) || defined (__stub___vwarnx)
+ choke me
+ #else
+-f = strnlen;
++char (*f) () = vwarnx;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != vwarnx;
+   ;
+   return 0;
+ }
+@@ -22369,63 +35447,71 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_func_strnlen=yes
++  ac_cv_func_vwarnx=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_strnlen=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_vwarnx=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_strnlen" >&5
+-echo "${ECHO_T}$ac_cv_func_strnlen" >&6
+-if test $ac_cv_func_strnlen = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_vwarnx" >&5
++echo "${ECHO_T}$ac_cv_func_vwarnx" >&6
++if test $ac_cv_func_vwarnx = yes; then
+ 
+ cat >>confdefs.h <<_ACEOF
+-#define HAVE_STRNLEN 1
++#define HAVE_VWARNX 1
+ _ACEOF
+ 
+ else
+-  LIBOBJS="$LIBOBJS strnlen.$ac_objext"
++  LIBOBJS="$LIBOBJS vwarnx.$ac_objext"
+ fi
+-echo "$as_me:$LINENO: checking for strptime" >&5
+-echo $ECHO_N "checking for strptime... $ECHO_C" >&6
+-if test "${ac_cv_func_strptime+set}" = set; then
++echo "$as_me:$LINENO: checking for warn" >&5
++echo $ECHO_N "checking for warn... $ECHO_C" >&6
++if test "${ac_cv_func_warn+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char strptime (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char warn (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+-char strptime ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
++char warn ();
+ /* 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_strptime) || defined (__stub___strptime)
++#if defined (__stub_warn) || defined (__stub___warn)
+ choke me
+ #else
+-f = strptime;
++char (*f) () = warn;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != warn;
+   ;
+   return 0;
+ }
+@@ -22442,63 +35528,71 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_func_strptime=yes
++  ac_cv_func_warn=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_strptime=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_warn=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
+-echo "${ECHO_T}$ac_cv_func_strptime" >&6
+-if test $ac_cv_func_strptime = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_warn" >&5
++echo "${ECHO_T}$ac_cv_func_warn" >&6
++if test $ac_cv_func_warn = yes; then
+ 
+ cat >>confdefs.h <<_ACEOF
+-#define HAVE_STRPTIME 1
++#define HAVE_WARN 1
+ _ACEOF
+ 
+ else
+-  LIBOBJS="$LIBOBJS strptime.$ac_objext"
++  LIBOBJS="$LIBOBJS warn.$ac_objext"
+ fi
+-echo "$as_me:$LINENO: checking for strsep" >&5
+-echo $ECHO_N "checking for strsep... $ECHO_C" >&6
+-if test "${ac_cv_func_strsep+set}" = set; then
++echo "$as_me:$LINENO: checking for warnx" >&5
++echo $ECHO_N "checking for warnx... $ECHO_C" >&6
++if test "${ac_cv_func_warnx+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char strsep (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char warnx (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+-char strsep ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
++char warnx ();
+ /* 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_strsep) || defined (__stub___strsep)
++#if defined (__stub_warnx) || defined (__stub___warnx)
+ choke me
+ #else
+-f = strsep;
++char (*f) () = warnx;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != warnx;
+   ;
+   return 0;
+ }
+@@ -22515,63 +35609,71 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_func_strsep=yes
++  ac_cv_func_warnx=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_strsep=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_warnx=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_strsep" >&5
+-echo "${ECHO_T}$ac_cv_func_strsep" >&6
+-if test $ac_cv_func_strsep = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_warnx" >&5
++echo "${ECHO_T}$ac_cv_func_warnx" >&6
++if test $ac_cv_func_warnx = yes; then
+ 
+ cat >>confdefs.h <<_ACEOF
+-#define HAVE_STRSEP 1
++#define HAVE_WARNX 1
+ _ACEOF
+ 
+ else
+-  LIBOBJS="$LIBOBJS strsep.$ac_objext"
++  LIBOBJS="$LIBOBJS warnx.$ac_objext"
+ fi
+-echo "$as_me:$LINENO: checking for strsep_copy" >&5
+-echo $ECHO_N "checking for strsep_copy... $ECHO_C" >&6
+-if test "${ac_cv_func_strsep_copy+set}" = set; then
++echo "$as_me:$LINENO: checking for writev" >&5
++echo $ECHO_N "checking for writev... $ECHO_C" >&6
++if test "${ac_cv_func_writev+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char strsep_copy (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char writev (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+-char strsep_copy ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
++char writev ();
+ /* 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_strsep_copy) || defined (__stub___strsep_copy)
++#if defined (__stub_writev) || defined (__stub___writev)
+ choke me
+ #else
+-f = strsep_copy;
++char (*f) () = writev;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != writev;
+   ;
+   return 0;
+ }
+@@ -22588,791 +35690,651 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_func_strsep_copy=yes
++  ac_cv_func_writev=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_strsep_copy=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_writev=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_strsep_copy" >&5
+-echo "${ECHO_T}$ac_cv_func_strsep_copy" >&6
+-if test $ac_cv_func_strsep_copy = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_writev" >&5
++echo "${ECHO_T}$ac_cv_func_writev" >&6
++if test $ac_cv_func_writev = yes; then
+ 
+ cat >>confdefs.h <<_ACEOF
+-#define HAVE_STRSEP_COPY 1
++#define HAVE_WRITEV 1
+ _ACEOF
+ 
+ else
+-  LIBOBJS="$LIBOBJS strsep_copy.$ac_objext"
++  LIBOBJS="$LIBOBJS writev.$ac_objext"
+ fi
+-echo "$as_me:$LINENO: checking for strtok_r" >&5
+-echo $ECHO_N "checking for strtok_r... $ECHO_C" >&6
+-if test "${ac_cv_func_strtok_r+set}" = set; then
++
++
++
++if test "$ac_cv_func_strndup+set" != set -o "$ac_cv_func_strndup" = yes; then
++echo "$as_me:$LINENO: checking if strndup needs a prototype" >&5
++echo $ECHO_N "checking if strndup needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_strndup_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char strtok_r (); below.  */
+-#include <assert.h>
+-/* Override any gcc2 internal prototype to avoid an error.  */
+-#ifdef __cplusplus
+-extern "C"
+-#endif
+-/* We use char because int might match the return type of a gcc2
+-   builtin and then its argument prototype would still apply.  */
+-char strtok_r ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <string.h>
+ 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_strtok_r) || defined (__stub___strtok_r)
+-choke me
+-#else
+-f = strtok_r;
+-#endif
++struct foo { int foo; } xx;
++extern int strndup (struct foo*);
++strndup(&xx);
+ 
+   ;
+   return 0;
+ }
+ _ACEOF
+-rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
++         { ac_try='test -s conftest.$ac_objext'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_func_strtok_r=yes
++  eval "ac_cv_func_strndup_noproto=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_strtok_r=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_strndup_noproto=no"
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_strtok_r" >&5
+-echo "${ECHO_T}$ac_cv_func_strtok_r" >&6
+-if test $ac_cv_func_strtok_r = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_strndup_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_strndup_noproto" >&6
++if test "$ac_cv_func_strndup_noproto" = yes; then
+ 
+-cat >>confdefs.h <<_ACEOF
+-#define HAVE_STRTOK_R 1
++cat >>confdefs.h <<\_ACEOF
++#define NEED_STRNDUP_PROTO 1
+ _ACEOF
+ 
+-else
+-  LIBOBJS="$LIBOBJS strtok_r.$ac_objext"
+ fi
+-echo "$as_me:$LINENO: checking for strupr" >&5
+-echo $ECHO_N "checking for strupr... $ECHO_C" >&6
+-if test "${ac_cv_func_strupr+set}" = set; then
++fi
++
++if test "$ac_cv_func_strsep+set" != set -o "$ac_cv_func_strsep" = yes; then
++echo "$as_me:$LINENO: checking if strsep needs a prototype" >&5
++echo $ECHO_N "checking if strsep needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_strsep_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char strupr (); below.  */
+-#include <assert.h>
+-/* Override any gcc2 internal prototype to avoid an error.  */
+-#ifdef __cplusplus
+-extern "C"
+-#endif
+-/* We use char because int might match the return type of a gcc2
+-   builtin and then its argument prototype would still apply.  */
+-char strupr ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <string.h>
+ 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_strupr) || defined (__stub___strupr)
+-choke me
+-#else
+-f = strupr;
+-#endif
++struct foo { int foo; } xx;
++extern int strsep (struct foo*);
++strsep(&xx);
+ 
+   ;
+   return 0;
+ }
+ _ACEOF
+-rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
++         { ac_try='test -s conftest.$ac_objext'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_func_strupr=yes
++  eval "ac_cv_func_strsep_noproto=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_strupr=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_strsep_noproto=no"
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_strupr" >&5
+-echo "${ECHO_T}$ac_cv_func_strupr" >&6
+-if test $ac_cv_func_strupr = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_strsep_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_strsep_noproto" >&6
++if test "$ac_cv_func_strsep_noproto" = yes; then
+ 
+-cat >>confdefs.h <<_ACEOF
+-#define HAVE_STRUPR 1
++cat >>confdefs.h <<\_ACEOF
++#define NEED_STRSEP_PROTO 1
+ _ACEOF
+ 
+-else
+-  LIBOBJS="$LIBOBJS strupr.$ac_objext"
+ fi
+-echo "$as_me:$LINENO: checking for swab" >&5
+-echo $ECHO_N "checking for swab... $ECHO_C" >&6
+-if test "${ac_cv_func_swab+set}" = set; then
++fi
++
++if test "$ac_cv_func_strtok_r+set" != set -o "$ac_cv_func_strtok_r" = yes; then
++echo "$as_me:$LINENO: checking if strtok_r needs a prototype" >&5
++echo $ECHO_N "checking if strtok_r needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_strtok_r_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char swab (); below.  */
+-#include <assert.h>
+-/* Override any gcc2 internal prototype to avoid an error.  */
+-#ifdef __cplusplus
+-extern "C"
+-#endif
+-/* We use char because int might match the return type of a gcc2
+-   builtin and then its argument prototype would still apply.  */
+-char swab ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <string.h>
+ 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_swab) || defined (__stub___swab)
+-choke me
+-#else
+-f = swab;
+-#endif
++struct foo { int foo; } xx;
++extern int strtok_r (struct foo*);
++strtok_r(&xx);
+ 
+   ;
+   return 0;
+ }
+ _ACEOF
+-rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
++         { ac_try='test -s conftest.$ac_objext'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_func_swab=yes
++  eval "ac_cv_func_strtok_r_noproto=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_swab=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_strtok_r_noproto=no"
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_swab" >&5
+-echo "${ECHO_T}$ac_cv_func_swab" >&6
+-if test $ac_cv_func_swab = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_strtok_r_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_strtok_r_noproto" >&6
++if test "$ac_cv_func_strtok_r_noproto" = yes; then
+ 
+-cat >>confdefs.h <<_ACEOF
+-#define HAVE_SWAB 1
++cat >>confdefs.h <<\_ACEOF
++#define NEED_STRTOK_R_PROTO 1
+ _ACEOF
+ 
+-else
+-  LIBOBJS="$LIBOBJS swab.$ac_objext"
+ fi
+-echo "$as_me:$LINENO: checking for unsetenv" >&5
+-echo $ECHO_N "checking for unsetenv... $ECHO_C" >&6
+-if test "${ac_cv_func_unsetenv+set}" = set; then
++fi
++
++
++
++if test "$ac_cv_func_strsvis+set" != set -o "$ac_cv_func_strsvis" = yes; then
++echo "$as_me:$LINENO: checking if strsvis needs a prototype" >&5
++echo $ECHO_N "checking if strsvis needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_strsvis_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char unsetenv (); below.  */
+-#include <assert.h>
+-/* Override any gcc2 internal prototype to avoid an error.  */
+-#ifdef __cplusplus
+-extern "C"
+-#endif
+-/* We use char because int might match the return type of a gcc2
+-   builtin and then its argument prototype would still apply.  */
+-char unsetenv ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_VIS_H
++#include <vis.h>
+ #endif
+ 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_unsetenv) || defined (__stub___unsetenv)
+-choke me
+-#else
+-f = unsetenv;
+-#endif
++struct foo { int foo; } xx;
++extern int strsvis (struct foo*);
++strsvis(&xx);
+ 
+   ;
+   return 0;
+ }
+ _ACEOF
+-rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
++         { ac_try='test -s conftest.$ac_objext'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_func_unsetenv=yes
++  eval "ac_cv_func_strsvis_noproto=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_unsetenv=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_strsvis_noproto=no"
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_unsetenv" >&5
+-echo "${ECHO_T}$ac_cv_func_unsetenv" >&6
+-if test $ac_cv_func_unsetenv = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_strsvis_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_strsvis_noproto" >&6
++if test "$ac_cv_func_strsvis_noproto" = yes; then
+ 
+-cat >>confdefs.h <<_ACEOF
+-#define HAVE_UNSETENV 1
++cat >>confdefs.h <<\_ACEOF
++#define NEED_STRSVIS_PROTO 1
+ _ACEOF
+ 
+-else
+-  LIBOBJS="$LIBOBJS unsetenv.$ac_objext"
+ fi
+-echo "$as_me:$LINENO: checking for verr" >&5
+-echo $ECHO_N "checking for verr... $ECHO_C" >&6
+-if test "${ac_cv_func_verr+set}" = set; then
++fi
++
++if test "$ac_cv_func_strunvis+set" != set -o "$ac_cv_func_strunvis" = yes; then
++echo "$as_me:$LINENO: checking if strunvis needs a prototype" >&5
++echo $ECHO_N "checking if strunvis needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_strunvis_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char verr (); below.  */
+-#include <assert.h>
+-/* Override any gcc2 internal prototype to avoid an error.  */
+-#ifdef __cplusplus
+-extern "C"
+-#endif
+-/* We use char because int might match the return type of a gcc2
+-   builtin and then its argument prototype would still apply.  */
+-char verr ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_VIS_H
++#include <vis.h>
+ #endif
+ 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_verr) || defined (__stub___verr)
+-choke me
+-#else
+-f = verr;
+-#endif
++struct foo { int foo; } xx;
++extern int strunvis (struct foo*);
++strunvis(&xx);
+ 
+   ;
+   return 0;
+ }
+ _ACEOF
+-rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
++         { ac_try='test -s conftest.$ac_objext'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_func_verr=yes
++  eval "ac_cv_func_strunvis_noproto=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_verr=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_strunvis_noproto=no"
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_verr" >&5
+-echo "${ECHO_T}$ac_cv_func_verr" >&6
+-if test $ac_cv_func_verr = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_strunvis_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_strunvis_noproto" >&6
++if test "$ac_cv_func_strunvis_noproto" = yes; then
+ 
+-cat >>confdefs.h <<_ACEOF
+-#define HAVE_VERR 1
++cat >>confdefs.h <<\_ACEOF
++#define NEED_STRUNVIS_PROTO 1
+ _ACEOF
+ 
+-else
+-  LIBOBJS="$LIBOBJS verr.$ac_objext"
+ fi
+-echo "$as_me:$LINENO: checking for verrx" >&5
+-echo $ECHO_N "checking for verrx... $ECHO_C" >&6
+-if test "${ac_cv_func_verrx+set}" = set; then
++fi
++
++if test "$ac_cv_func_strvis+set" != set -o "$ac_cv_func_strvis" = yes; then
++echo "$as_me:$LINENO: checking if strvis needs a prototype" >&5
++echo $ECHO_N "checking if strvis needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_strvis_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char verrx (); below.  */
+-#include <assert.h>
+-/* Override any gcc2 internal prototype to avoid an error.  */
+-#ifdef __cplusplus
+-extern "C"
+-#endif
+-/* We use char because int might match the return type of a gcc2
+-   builtin and then its argument prototype would still apply.  */
+-char verrx ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_VIS_H
++#include <vis.h>
+ #endif
+ 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_verrx) || defined (__stub___verrx)
+-choke me
+-#else
+-f = verrx;
+-#endif
++struct foo { int foo; } xx;
++extern int strvis (struct foo*);
++strvis(&xx);
+ 
+   ;
+   return 0;
+ }
+ _ACEOF
+-rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
++         { ac_try='test -s conftest.$ac_objext'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_func_verrx=yes
++  eval "ac_cv_func_strvis_noproto=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_verrx=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_strvis_noproto=no"
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_verrx" >&5
+-echo "${ECHO_T}$ac_cv_func_verrx" >&6
+-if test $ac_cv_func_verrx = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_strvis_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_strvis_noproto" >&6
++if test "$ac_cv_func_strvis_noproto" = yes; then
+ 
+-cat >>confdefs.h <<_ACEOF
+-#define HAVE_VERRX 1
++cat >>confdefs.h <<\_ACEOF
++#define NEED_STRVIS_PROTO 1
+ _ACEOF
+ 
+-else
+-  LIBOBJS="$LIBOBJS verrx.$ac_objext"
+ fi
+-echo "$as_me:$LINENO: checking for vsyslog" >&5
+-echo $ECHO_N "checking for vsyslog... $ECHO_C" >&6
+-if test "${ac_cv_func_vsyslog+set}" = set; then
++fi
++
++if test "$ac_cv_func_strvisx+set" != set -o "$ac_cv_func_strvisx" = yes; then
++echo "$as_me:$LINENO: checking if strvisx needs a prototype" >&5
++echo $ECHO_N "checking if strvisx needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_strvisx_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char vsyslog (); below.  */
+-#include <assert.h>
+-/* Override any gcc2 internal prototype to avoid an error.  */
+-#ifdef __cplusplus
+-extern "C"
+-#endif
+-/* We use char because int might match the return type of a gcc2
+-   builtin and then its argument prototype would still apply.  */
+-char vsyslog ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_VIS_H
++#include <vis.h>
+ #endif
+ 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_vsyslog) || defined (__stub___vsyslog)
+-choke me
+-#else
+-f = vsyslog;
+-#endif
++struct foo { int foo; } xx;
++extern int strvisx (struct foo*);
++strvisx(&xx);
+ 
+   ;
+   return 0;
+ }
+ _ACEOF
+-rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
++         { ac_try='test -s conftest.$ac_objext'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_func_vsyslog=yes
++  eval "ac_cv_func_strvisx_noproto=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_vsyslog=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_strvisx_noproto=no"
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_vsyslog" >&5
+-echo "${ECHO_T}$ac_cv_func_vsyslog" >&6
+-if test $ac_cv_func_vsyslog = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_strvisx_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_strvisx_noproto" >&6
++if test "$ac_cv_func_strvisx_noproto" = yes; then
+ 
+-cat >>confdefs.h <<_ACEOF
+-#define HAVE_VSYSLOG 1
++cat >>confdefs.h <<\_ACEOF
++#define NEED_STRVISX_PROTO 1
+ _ACEOF
+ 
+-else
+-  LIBOBJS="$LIBOBJS vsyslog.$ac_objext"
+ fi
+-echo "$as_me:$LINENO: checking for vwarn" >&5
+-echo $ECHO_N "checking for vwarn... $ECHO_C" >&6
+-if test "${ac_cv_func_vwarn+set}" = set; then
++fi
++
++if test "$ac_cv_func_svis+set" != set -o "$ac_cv_func_svis" = yes; then
++echo "$as_me:$LINENO: checking if svis needs a prototype" >&5
++echo $ECHO_N "checking if svis needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_svis_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char vwarn (); below.  */
+-#include <assert.h>
+-/* Override any gcc2 internal prototype to avoid an error.  */
+-#ifdef __cplusplus
+-extern "C"
+-#endif
+-/* We use char because int might match the return type of a gcc2
+-   builtin and then its argument prototype would still apply.  */
+-char vwarn ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_VIS_H
++#include <vis.h>
+ #endif
+ 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_vwarn) || defined (__stub___vwarn)
+-choke me
+-#else
+-f = vwarn;
+-#endif
++struct foo { int foo; } xx;
++extern int svis (struct foo*);
++svis(&xx);
+ 
+   ;
+   return 0;
+ }
+ _ACEOF
+-rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
++         { ac_try='test -s conftest.$ac_objext'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_func_vwarn=yes
++  eval "ac_cv_func_svis_noproto=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_vwarn=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_svis_noproto=no"
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_vwarn" >&5
+-echo "${ECHO_T}$ac_cv_func_vwarn" >&6
+-if test $ac_cv_func_vwarn = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_svis_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_svis_noproto" >&6
++if test "$ac_cv_func_svis_noproto" = yes; then
+ 
+-cat >>confdefs.h <<_ACEOF
+-#define HAVE_VWARN 1
++cat >>confdefs.h <<\_ACEOF
++#define NEED_SVIS_PROTO 1
+ _ACEOF
+ 
+-else
+-  LIBOBJS="$LIBOBJS vwarn.$ac_objext"
+ fi
+-echo "$as_me:$LINENO: checking for vwarnx" >&5
+-echo $ECHO_N "checking for vwarnx... $ECHO_C" >&6
+-if test "${ac_cv_func_vwarnx+set}" = set; then
++fi
++
++if test "$ac_cv_func_unvis+set" != set -o "$ac_cv_func_unvis" = yes; then
++echo "$as_me:$LINENO: checking if unvis needs a prototype" >&5
++echo $ECHO_N "checking if unvis needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_unvis_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char vwarnx (); below.  */
+-#include <assert.h>
+-/* Override any gcc2 internal prototype to avoid an error.  */
+-#ifdef __cplusplus
+-extern "C"
+-#endif
+-/* We use char because int might match the return type of a gcc2
+-   builtin and then its argument prototype would still apply.  */
+-char vwarnx ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_VIS_H
++#include <vis.h>
+ #endif
+ 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_vwarnx) || defined (__stub___vwarnx)
+-choke me
+-#else
+-f = vwarnx;
+-#endif
++struct foo { int foo; } xx;
++extern int unvis (struct foo*);
++unvis(&xx);
+ 
+   ;
+   return 0;
+ }
+ _ACEOF
+-rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
++         { ac_try='test -s conftest.$ac_objext'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_func_vwarnx=yes
++  eval "ac_cv_func_unvis_noproto=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_vwarnx=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_unvis_noproto=no"
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_vwarnx" >&5
+-echo "${ECHO_T}$ac_cv_func_vwarnx" >&6
+-if test $ac_cv_func_vwarnx = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_unvis_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_unvis_noproto" >&6
++if test "$ac_cv_func_unvis_noproto" = yes; then
+ 
+-cat >>confdefs.h <<_ACEOF
+-#define HAVE_VWARNX 1
++cat >>confdefs.h <<\_ACEOF
++#define NEED_UNVIS_PROTO 1
+ _ACEOF
+ 
+-else
+-  LIBOBJS="$LIBOBJS vwarnx.$ac_objext"
+ fi
+-echo "$as_me:$LINENO: checking for warn" >&5
+-echo $ECHO_N "checking for warn... $ECHO_C" >&6
+-if test "${ac_cv_func_warn+set}" = set; then
++fi
++
++if test "$ac_cv_func_vis+set" != set -o "$ac_cv_func_vis" = yes; then
++echo "$as_me:$LINENO: checking if vis needs a prototype" >&5
++echo $ECHO_N "checking if vis needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_vis_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char warn (); below.  */
+-#include <assert.h>
+-/* Override any gcc2 internal prototype to avoid an error.  */
+-#ifdef __cplusplus
+-extern "C"
+-#endif
+-/* We use char because int might match the return type of a gcc2
+-   builtin and then its argument prototype would still apply.  */
+-char warn ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_VIS_H
++#include <vis.h>
+ #endif
+ 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_warn) || defined (__stub___warn)
+-choke me
+-#else
+-f = warn;
+-#endif
++struct foo { int foo; } xx;
++extern int vis (struct foo*);
++vis(&xx);
+ 
+   ;
+   return 0;
+ }
+ _ACEOF
+-rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
++         { ac_try='test -s conftest.$ac_objext'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_func_warn=yes
++  eval "ac_cv_func_vis_noproto=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_warn=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_vis_noproto=no"
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_warn" >&5
+-echo "${ECHO_T}$ac_cv_func_warn" >&6
+-if test $ac_cv_func_warn = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_vis_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_vis_noproto" >&6
++if test "$ac_cv_func_vis_noproto" = yes; then
+ 
+-cat >>confdefs.h <<_ACEOF
+-#define HAVE_WARN 1
++cat >>confdefs.h <<\_ACEOF
++#define NEED_VIS_PROTO 1
+ _ACEOF
+ 
+-else
+-  LIBOBJS="$LIBOBJS warn.$ac_objext"
+ fi
+-echo "$as_me:$LINENO: checking for warnx" >&5
+-echo $ECHO_N "checking for warnx... $ECHO_C" >&6
+-if test "${ac_cv_func_warnx+set}" = set; then
++fi
++
++
++echo "$as_me:$LINENO: checking for inet_aton" >&5
++echo $ECHO_N "checking for inet_aton... $ECHO_C" >&6
++if test "${ac_cv_func_inet_aton+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char warnx (); below.  */
+-#include <assert.h>
+-/* Override any gcc2 internal prototype to avoid an error.  */
+-#ifdef __cplusplus
+-extern "C"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
+ #endif
+-/* We use char because int might match the return type of a gcc2
+-   builtin and then its argument prototype would still apply.  */
+-char warnx ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_INET_H
++#include <arpa/inet.h>
+ #endif
+ 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_warnx) || defined (__stub___warnx)
++#if defined (__stub_inet_aton) || defined (__stub___inet_aton)
+ choke me
+ #else
+-f = warnx;
++inet_aton(0,0)
+ #endif
+ 
+   ;
+@@ -23391,61 +36353,65 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_func_warnx=yes
++  eval "ac_cv_func_inet_aton=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_warnx=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_inet_aton=no"
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_warnx" >&5
+-echo "${ECHO_T}$ac_cv_func_warnx" >&6
+-if test $ac_cv_func_warnx = yes; then
++
++if eval "test \"\${ac_cv_func_inet_aton}\" = yes"; then
+ 
+ cat >>confdefs.h <<_ACEOF
+-#define HAVE_WARNX 1
++#define HAVE_INET_ATON 1
+ _ACEOF
+ 
++  echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
+ else
+-  LIBOBJS="$LIBOBJS warnx.$ac_objext"
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++  LIBOBJS="$LIBOBJS inet_aton.$ac_objext"
+ fi
+-echo "$as_me:$LINENO: checking for writev" >&5
+-echo $ECHO_N "checking for writev... $ECHO_C" >&6
+-if test "${ac_cv_func_writev+set}" = set; then
++
++echo "$as_me:$LINENO: checking for inet_ntop" >&5
++echo $ECHO_N "checking for inet_ntop... $ECHO_C" >&6
++if test "${ac_cv_func_inet_ntop+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char writev (); below.  */
+-#include <assert.h>
+-/* Override any gcc2 internal prototype to avoid an error.  */
+-#ifdef __cplusplus
+-extern "C"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
+ #endif
+-/* We use char because int might match the return type of a gcc2
+-   builtin and then its argument prototype would still apply.  */
+-char writev ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_INET_H
++#include <arpa/inet.h>
+ #endif
+ 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_writev) || defined (__stub___writev)
++#if defined (__stub_inet_ntop) || defined (__stub___inet_ntop)
+ choke me
+ #else
+-f = writev;
++inet_ntop(0, 0, 0, 0)
+ #endif
+ 
+   ;
+@@ -23464,109 +36430,128 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_func_writev=yes
++  eval "ac_cv_func_inet_ntop=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_func_writev=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_inet_ntop=no"
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_writev" >&5
+-echo "${ECHO_T}$ac_cv_func_writev" >&6
+-if test $ac_cv_func_writev = yes; then
++
++if eval "test \"\${ac_cv_func_inet_ntop}\" = yes"; then
+ 
+ cat >>confdefs.h <<_ACEOF
+-#define HAVE_WRITEV 1
++#define HAVE_INET_NTOP 1
+ _ACEOF
+ 
++  echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
+ else
+-  LIBOBJS="$LIBOBJS writev.$ac_objext"
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++  LIBOBJS="$LIBOBJS inet_ntop.$ac_objext"
+ fi
+ 
+-
+-
+-if test "$ac_cv_func_strndup+set" != set -o "$ac_cv_func_strndup" = yes; then
+-echo "$as_me:$LINENO: checking if strndup needs a prototype" >&5
+-echo $ECHO_N "checking if strndup needs a prototype... $ECHO_C" >&6
+-if test "${ac_cv_func_strndup_noproto+set}" = set; then
++echo "$as_me:$LINENO: checking for inet_pton" >&5
++echo $ECHO_N "checking for inet_pton... $ECHO_C" >&6
++if test "${ac_cv_func_inet_pton+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-#include <string.h>
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_INET_H
++#include <arpa/inet.h>
+ #endif
+ int
+ main ()
+ {
+-struct foo { int foo; } xx;
+-extern int strndup (struct foo*);
+-strndup(&xx);
++
++/* 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_inet_pton) || defined (__stub___inet_pton)
++choke me
++#else
++inet_pton(0,0,0)
++#endif
+ 
+   ;
+   return 0;
+ }
+ _ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
++         { ac_try='test -s conftest$ac_exeext'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "ac_cv_func_strndup_noproto=yes"
++  eval "ac_cv_func_inet_pton=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_strndup_noproto=no"
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_inet_pton=no"
+ fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_strndup_noproto" >&5
+-echo "${ECHO_T}$ac_cv_func_strndup_noproto" >&6
+-if test "$ac_cv_func_strndup_noproto" = yes; then
+ 
+-cat >>confdefs.h <<\_ACEOF
+-#define NEED_STRNDUP_PROTO 1
++if eval "test \"\${ac_cv_func_inet_pton}\" = yes"; then
++
++cat >>confdefs.h <<_ACEOF
++#define HAVE_INET_PTON 1
+ _ACEOF
+ 
+-fi
++  echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++  LIBOBJS="$LIBOBJS inet_pton.$ac_objext"
+ fi
+ 
+-if test "$ac_cv_func_strsep+set" != set -o "$ac_cv_func_strsep" = yes; then
+-echo "$as_me:$LINENO: checking if strsep needs a prototype" >&5
+-echo $ECHO_N "checking if strsep needs a prototype... $ECHO_C" >&6
+-if test "${ac_cv_func_strsep_noproto+set}" = set; then
++
++
++echo "$as_me:$LINENO: checking for sa_len in struct sockaddr" >&5
++echo $ECHO_N "checking for sa_len in struct sockaddr... $ECHO_C" >&6
++if test "${ac_cv_type_struct_sockaddr_sa_len+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<_ACEOF
++
++cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-#include <string.h>
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <sys/types.h>
++#include <sys/socket.h>
+ int
+ main ()
+ {
+-struct foo { int foo; } xx;
+-extern int strsep (struct foo*);
+-strsep(&xx);
+-
++struct sockaddr x; x.sa_len;
+   ;
+   return 0;
+ }
+@@ -23583,169 +36568,195 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "ac_cv_func_strsep_noproto=yes"
++  ac_cv_type_struct_sockaddr_sa_len=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_strsep_noproto=no"
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_struct_sockaddr_sa_len=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_strsep_noproto" >&5
+-echo "${ECHO_T}$ac_cv_func_strsep_noproto" >&6
+-if test "$ac_cv_func_strsep_noproto" = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_sockaddr_sa_len" >&5
++echo "${ECHO_T}$ac_cv_type_struct_sockaddr_sa_len" >&6
++if test "$ac_cv_type_struct_sockaddr_sa_len" = yes; then
++
+ 
+ cat >>confdefs.h <<\_ACEOF
+-#define NEED_STRSEP_PROTO 1
++#define HAVE_STRUCT_SOCKADDR_SA_LEN 1
+ _ACEOF
+ 
+-fi
++
+ fi
+ 
+-if test "$ac_cv_func_strtok_r+set" != set -o "$ac_cv_func_strtok_r" = yes; then
+-echo "$as_me:$LINENO: checking if strtok_r needs a prototype" >&5
+-echo $ECHO_N "checking if strtok_r needs a prototype... $ECHO_C" >&6
+-if test "${ac_cv_func_strtok_r_noproto+set}" = set; then
++
++
++if test "$ac_cv_func_getnameinfo" = "yes"; then
++
++echo "$as_me:$LINENO: checking if getnameinfo is broken" >&5
++echo $ECHO_N "checking if getnameinfo is broken... $ECHO_C" >&6
++if test "${ac_cv_func_getnameinfo_broken+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
++  if test "$cross_compiling" = yes; then
++  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
++See \`config.log' for more details." >&5
++echo "$as_me: error: cannot run test program while cross compiling
++See \`config.log' for more details." >&2;}
++   { (exit 1); exit 1; }; }
++else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-#include <string.h>
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdio.h>
++#include <sys/types.h>
++#include <sys/socket.h>
++#include <netinet/in.h>
++#include <netdb.h>
++
+ int
+-main ()
++main(int argc, char **argv)
+ {
+-struct foo { int foo; } xx;
+-extern int strtok_r (struct foo*);
+-strtok_r(&xx);
+-
+-  ;
+-  return 0;
++  struct sockaddr_in sin;
++  char host[256];
++  memset(&sin, 0, sizeof(sin));
++#ifdef HAVE_STRUCT_SOCKADDR_SA_LEN
++  sin.sin_len = sizeof(sin);
++#endif
++  sin.sin_family = AF_INET;
++  sin.sin_addr.s_addr = 0xffffffff;
++  sin.sin_port = 0;
++  return getnameinfo((struct sockaddr*)&sin, sizeof(sin), host, sizeof(host),
++	      NULL, 0, 0);
+ }
++
+ _ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "ac_cv_func_strtok_r_noproto=yes"
++  ac_cv_func_getnameinfo_broken=no
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_strtok_r_noproto=no"
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++( exit $ac_status )
++ac_cv_func_getnameinfo_broken=yes
+ fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
++rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_strtok_r_noproto" >&5
+-echo "${ECHO_T}$ac_cv_func_strtok_r_noproto" >&6
+-if test "$ac_cv_func_strtok_r_noproto" = yes; then
+-
+-cat >>confdefs.h <<\_ACEOF
+-#define NEED_STRTOK_R_PROTO 1
+-_ACEOF
+-
+ fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getnameinfo_broken" >&5
++echo "${ECHO_T}$ac_cv_func_getnameinfo_broken" >&6
++  if test "$ac_cv_func_getnameinfo_broken" = yes; then
++	LIBOBJS="$LIBOBJS getnameinfo.$ac_objext"
++  fi
+ fi
+ 
++if test "$ac_cv_func_getaddrinfo" = "yes"; then
+ 
+-
+-if test "$ac_cv_func_strsvis+set" != set -o "$ac_cv_func_strsvis" = yes; then
+-echo "$as_me:$LINENO: checking if strsvis needs a prototype" >&5
+-echo $ECHO_N "checking if strsvis needs a prototype... $ECHO_C" >&6
+-if test "${ac_cv_func_strsvis_noproto+set}" = set; then
++echo "$as_me:$LINENO: checking if getaddrinfo handles numeric services" >&5
++echo $ECHO_N "checking if getaddrinfo handles numeric services... $ECHO_C" >&6
++if test "${ac_cv_func_getaddrinfo_numserv+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
++  if test "$cross_compiling" = yes; then
++  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
++See \`config.log' for more details." >&5
++echo "$as_me: error: cannot run test program while cross compiling
++See \`config.log' for more details." >&2;}
++   { (exit 1); exit 1; }; }
++else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-#ifdef HAVE_VIS_H
+-#include <vis.h>
+-#endif
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdio.h>
++#include <sys/types.h>
++#include <sys/socket.h>
++#include <netdb.h>
++
+ int
+-main ()
++main(int argc, char **argv)
+ {
+-struct foo { int foo; } xx;
+-extern int strsvis (struct foo*);
+-strsvis(&xx);
+-
+-  ;
+-  return 0;
++	struct addrinfo hints, *ai;
++	memset(&hints, 0, sizeof(hints));
++	hints.ai_flags = AI_PASSIVE;
++	hints.ai_socktype = SOCK_STREAM;
++	hints.ai_family = PF_UNSPEC;
++	if(getaddrinfo(NULL, "17", &hints, &ai) != 0)
++		return 1;
++	return 0;
+ }
++
+ _ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "ac_cv_func_strsvis_noproto=yes"
++  ac_cv_func_getaddrinfo_numserv=yes
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_strsvis_noproto=no"
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++( exit $ac_status )
++ac_cv_func_getaddrinfo_numserv=no
+ fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
++rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_strsvis_noproto" >&5
+-echo "${ECHO_T}$ac_cv_func_strsvis_noproto" >&6
+-if test "$ac_cv_func_strsvis_noproto" = yes; then
+-
+-cat >>confdefs.h <<\_ACEOF
+-#define NEED_STRSVIS_PROTO 1
+-_ACEOF
+-
+ fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getaddrinfo_numserv" >&5
++echo "${ECHO_T}$ac_cv_func_getaddrinfo_numserv" >&6
++  if test "$ac_cv_func_getaddrinfo_numserv" = no; then
++	LIBOBJS="$LIBOBJS getaddrinfo.$ac_objext"
++	LIBOBJS="$LIBOBJS freeaddrinfo.$ac_objext"
++  fi
+ fi
+ 
+-if test "$ac_cv_func_strunvis+set" != set -o "$ac_cv_func_strunvis" = yes; then
+-echo "$as_me:$LINENO: checking if strunvis needs a prototype" >&5
+-echo $ECHO_N "checking if strunvis needs a prototype... $ECHO_C" >&6
+-if test "${ac_cv_func_strunvis_noproto+set}" = set; then
++
++if test "$ac_cv_func_setenv+set" != set -o "$ac_cv_func_setenv" = yes; then
++echo "$as_me:$LINENO: checking if setenv needs a prototype" >&5
++echo $ECHO_N "checking if setenv needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_setenv_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-#ifdef HAVE_VIS_H
+-#include <vis.h>
+-#endif
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdlib.h>
+ int
+ main ()
+ {
+ struct foo { int foo; } xx;
+-extern int strunvis (struct foo*);
+-strunvis(&xx);
++extern int setenv (struct foo*);
++setenv(&xx);
+ 
+   ;
+   return 0;
+@@ -23763,49 +36774,47 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "ac_cv_func_strunvis_noproto=yes"
++  eval "ac_cv_func_setenv_noproto=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_strunvis_noproto=no"
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_setenv_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_strunvis_noproto" >&5
+-echo "${ECHO_T}$ac_cv_func_strunvis_noproto" >&6
+-if test "$ac_cv_func_strunvis_noproto" = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_setenv_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_setenv_noproto" >&6
++if test "$ac_cv_func_setenv_noproto" = yes; then
+ 
+ cat >>confdefs.h <<\_ACEOF
+-#define NEED_STRUNVIS_PROTO 1
++#define NEED_SETENV_PROTO 1
+ _ACEOF
+ 
+ fi
+ fi
+ 
+-if test "$ac_cv_func_strvis+set" != set -o "$ac_cv_func_strvis" = yes; then
+-echo "$as_me:$LINENO: checking if strvis needs a prototype" >&5
+-echo $ECHO_N "checking if strvis needs a prototype... $ECHO_C" >&6
+-if test "${ac_cv_func_strvis_noproto+set}" = set; then
++
++if test "$ac_cv_func_unsetenv+set" != set -o "$ac_cv_func_unsetenv" = yes; then
++echo "$as_me:$LINENO: checking if unsetenv needs a prototype" >&5
++echo $ECHO_N "checking if unsetenv needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_unsetenv_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-#ifdef HAVE_VIS_H
+-#include <vis.h>
+-#endif
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdlib.h>
+ int
+ main ()
+ {
+ struct foo { int foo; } xx;
+-extern int strvis (struct foo*);
+-strvis(&xx);
++extern int unsetenv (struct foo*);
++unsetenv(&xx);
+ 
+   ;
+   return 0;
+@@ -23823,49 +36832,47 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "ac_cv_func_strvis_noproto=yes"
++  eval "ac_cv_func_unsetenv_noproto=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_strvis_noproto=no"
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_unsetenv_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_strvis_noproto" >&5
+-echo "${ECHO_T}$ac_cv_func_strvis_noproto" >&6
+-if test "$ac_cv_func_strvis_noproto" = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_unsetenv_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_unsetenv_noproto" >&6
++if test "$ac_cv_func_unsetenv_noproto" = yes; then
+ 
+ cat >>confdefs.h <<\_ACEOF
+-#define NEED_STRVIS_PROTO 1
++#define NEED_UNSETENV_PROTO 1
+ _ACEOF
+ 
+ fi
+ fi
+ 
+-if test "$ac_cv_func_strvisx+set" != set -o "$ac_cv_func_strvisx" = yes; then
+-echo "$as_me:$LINENO: checking if strvisx needs a prototype" >&5
+-echo $ECHO_N "checking if strvisx needs a prototype... $ECHO_C" >&6
+-if test "${ac_cv_func_strvisx_noproto+set}" = set; then
++
++if test "$ac_cv_func_gethostname+set" != set -o "$ac_cv_func_gethostname" = yes; then
++echo "$as_me:$LINENO: checking if gethostname needs a prototype" >&5
++echo $ECHO_N "checking if gethostname needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_gethostname_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-#ifdef HAVE_VIS_H
+-#include <vis.h>
+-#endif
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <unistd.h>
+ int
+ main ()
+ {
+ struct foo { int foo; } xx;
+-extern int strvisx (struct foo*);
+-strvisx(&xx);
++extern int gethostname (struct foo*);
++gethostname(&xx);
+ 
+   ;
+   return 0;
+@@ -23883,49 +36890,47 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "ac_cv_func_strvisx_noproto=yes"
++  eval "ac_cv_func_gethostname_noproto=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_strvisx_noproto=no"
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_gethostname_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_strvisx_noproto" >&5
+-echo "${ECHO_T}$ac_cv_func_strvisx_noproto" >&6
+-if test "$ac_cv_func_strvisx_noproto" = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_gethostname_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_gethostname_noproto" >&6
++if test "$ac_cv_func_gethostname_noproto" = yes; then
+ 
+ cat >>confdefs.h <<\_ACEOF
+-#define NEED_STRVISX_PROTO 1
++#define NEED_GETHOSTNAME_PROTO 1
+ _ACEOF
+ 
+ fi
+ fi
+ 
+-if test "$ac_cv_func_svis+set" != set -o "$ac_cv_func_svis" = yes; then
+-echo "$as_me:$LINENO: checking if svis needs a prototype" >&5
+-echo $ECHO_N "checking if svis needs a prototype... $ECHO_C" >&6
+-if test "${ac_cv_func_svis_noproto+set}" = set; then
++
++if test "$ac_cv_func_mkstemp+set" != set -o "$ac_cv_func_mkstemp" = yes; then
++echo "$as_me:$LINENO: checking if mkstemp needs a prototype" >&5
++echo $ECHO_N "checking if mkstemp needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_mkstemp_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-#ifdef HAVE_VIS_H
+-#include <vis.h>
+-#endif
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <unistd.h>
+ int
+ main ()
+ {
+ struct foo { int foo; } xx;
+-extern int svis (struct foo*);
+-svis(&xx);
++extern int mkstemp (struct foo*);
++mkstemp(&xx);
+ 
+   ;
+   return 0;
+@@ -23943,49 +36948,47 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "ac_cv_func_svis_noproto=yes"
++  eval "ac_cv_func_mkstemp_noproto=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_svis_noproto=no"
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_mkstemp_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_svis_noproto" >&5
+-echo "${ECHO_T}$ac_cv_func_svis_noproto" >&6
+-if test "$ac_cv_func_svis_noproto" = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_mkstemp_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_mkstemp_noproto" >&6
++if test "$ac_cv_func_mkstemp_noproto" = yes; then
+ 
+ cat >>confdefs.h <<\_ACEOF
+-#define NEED_SVIS_PROTO 1
++#define NEED_MKSTEMP_PROTO 1
+ _ACEOF
+ 
+ fi
+ fi
+ 
+-if test "$ac_cv_func_unvis+set" != set -o "$ac_cv_func_unvis" = yes; then
+-echo "$as_me:$LINENO: checking if unvis needs a prototype" >&5
+-echo $ECHO_N "checking if unvis needs a prototype... $ECHO_C" >&6
+-if test "${ac_cv_func_unvis_noproto+set}" = set; then
++
++if test "$ac_cv_func_getusershell+set" != set -o "$ac_cv_func_getusershell" = yes; then
++echo "$as_me:$LINENO: checking if getusershell needs a prototype" >&5
++echo $ECHO_N "checking if getusershell needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_getusershell_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-#ifdef HAVE_VIS_H
+-#include <vis.h>
+-#endif
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <unistd.h>
+ int
+ main ()
+ {
+ struct foo { int foo; } xx;
+-extern int unvis (struct foo*);
+-unvis(&xx);
++extern int getusershell (struct foo*);
++getusershell(&xx);
+ 
+   ;
+   return 0;
+@@ -24003,49 +37006,60 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "ac_cv_func_unvis_noproto=yes"
++  eval "ac_cv_func_getusershell_noproto=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_unvis_noproto=no"
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_getusershell_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_unvis_noproto" >&5
+-echo "${ECHO_T}$ac_cv_func_unvis_noproto" >&6
+-if test "$ac_cv_func_unvis_noproto" = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_getusershell_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_getusershell_noproto" >&6
++if test "$ac_cv_func_getusershell_noproto" = yes; then
+ 
+ cat >>confdefs.h <<\_ACEOF
+-#define NEED_UNVIS_PROTO 1
++#define NEED_GETUSERSHELL_PROTO 1
+ _ACEOF
+ 
+ fi
+ fi
+ 
+-if test "$ac_cv_func_vis+set" != set -o "$ac_cv_func_vis" = yes; then
+-echo "$as_me:$LINENO: checking if vis needs a prototype" >&5
+-echo $ECHO_N "checking if vis needs a prototype... $ECHO_C" >&6
+-if test "${ac_cv_func_vis_noproto+set}" = set; then
++
++
++if test "$ac_cv_func_inet_aton+set" != set -o "$ac_cv_func_inet_aton" = yes; then
++echo "$as_me:$LINENO: checking if inet_aton needs a prototype" >&5
++echo $ECHO_N "checking if inet_aton needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_inet_aton_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-#ifdef HAVE_VIS_H
+-#include <vis.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
+ #endif
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_INET_H
++#include <arpa/inet.h>
+ #endif
+ int
+ main ()
+ {
+ struct foo { int foo; } xx;
+-extern int vis (struct foo*);
+-vis(&xx);
++extern int inet_aton (struct foo*);
++inet_aton(&xx);
+ 
+   ;
+   return 0;
+@@ -24063,65 +37077,59 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "ac_cv_func_vis_noproto=yes"
++  eval "ac_cv_func_inet_aton_noproto=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_vis_noproto=no"
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_inet_aton_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_vis_noproto" >&5
+-echo "${ECHO_T}$ac_cv_func_vis_noproto" >&6
+-if test "$ac_cv_func_vis_noproto" = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_inet_aton_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_inet_aton_noproto" >&6
++if test "$ac_cv_func_inet_aton_noproto" = yes; then
+ 
+ cat >>confdefs.h <<\_ACEOF
+-#define NEED_VIS_PROTO 1
++#define NEED_INET_ATON_PROTO 1
+ _ACEOF
+ 
+ fi
+ fi
+ 
+ 
+-echo "$as_me:$LINENO: checking for inet_aton" >&5
+-echo $ECHO_N "checking for inet_aton... $ECHO_C" >&6
+-if test "${ac_cv_func_inet_aton+set}" = set; then
++
++
++
++echo "$as_me:$LINENO: checking for crypt" >&5
++echo $ECHO_N "checking for crypt... $ECHO_C" >&6
++if test "${ac_cv_funclib_crypt+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<_ACEOF
++
++if eval "test \"\$ac_cv_func_crypt\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" crypt; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-#ifdef HAVE_SYS_TYPES_H
+-#include <sys/types.h>
+-#endif
+-#ifdef HAVE_SYS_SOCKET_H
+-#include <sys/socket.h>
+-#endif
+-#ifdef HAVE_NETINET_IN_H
+-#include <netinet/in.h>
+-#endif
+-#ifdef HAVE_ARPA_INET_H
+-#include <arpa/inet.h>
+-#endif
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
+ 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_inet_aton) || defined (__stub___inet_aton)
+-choke me
+-#else
+-inet_aton(0,0)
+-#endif
+-
++crypt()
+   ;
+   return 0;
+ }
+@@ -24138,68 +37146,73 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "ac_cv_func_inet_aton=yes"
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_crypt=$ac_lib; else ac_cv_funclib_crypt=yes; fi";break
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_inet_aton=no"
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_crypt=\${ac_cv_funclib_crypt-no}"
++	LIBS="$ac_save_LIBS"
+ fi
+ 
+-if eval "test \"\${ac_cv_func_inet_aton}\" = yes"; then
++fi
+ 
+-cat >>confdefs.h <<_ACEOF
+-#define HAVE_INET_ATON 1
+-_ACEOF
+ 
+-  echo "$as_me:$LINENO: result: yes" >&5
+-echo "${ECHO_T}yes" >&6
+-else
+-  echo "$as_me:$LINENO: result: no" >&5
+-echo "${ECHO_T}no" >&6
+-  LIBOBJS="$LIBOBJS inet_aton.$ac_objext"
+-fi
++eval "ac_res=\$ac_cv_funclib_crypt"
+ 
+-echo "$as_me:$LINENO: checking for inet_ntop" >&5
+-echo $ECHO_N "checking for inet_ntop... $ECHO_C" >&6
+-if test "${ac_cv_func_inet_ntop+set}" = set; then
++if false; then
++
++for ac_func in crypt
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-#ifdef HAVE_SYS_TYPES_H
+-#include <sys/types.h>
+-#endif
+-#ifdef HAVE_SYS_SOCKET_H
+-#include <sys/socket.h>
+-#endif
+-#ifdef HAVE_NETINET_IN_H
+-#include <netinet/in.h>
+-#endif
+-#ifdef HAVE_ARPA_INET_H
+-#include <arpa/inet.h>
+-#endif
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
+ #endif
+-int
+-main ()
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
+ {
+-
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
+ /* 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_inet_ntop) || defined (__stub___inet_ntop)
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
+ choke me
+ #else
+-inet_ntop(0, 0, 0, 0)
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != $ac_func;
+   ;
+   return 0;
+ }
+@@ -24216,37 +37229,82 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "ac_cv_func_inet_ntop=yes"
++  eval "$as_ac_var=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_inet_ntop=no"
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
+ 
+-if eval "test \"\${ac_cv_func_inet_ntop}\" = yes"; then
++fi
++done
+ 
+-cat >>confdefs.h <<_ACEOF
+-#define HAVE_INET_NTOP 1
++fi
++# crypt
++eval "ac_tr_func=HAVE_`echo crypt | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_crypt=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_crypt=yes"
++	eval "LIB_crypt="
++	cat >>confdefs.h <<_ACEOF
++#define $ac_tr_func 1
+ _ACEOF
+ 
+-  echo "$as_me:$LINENO: result: yes" >&5
++	echo "$as_me:$LINENO: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+-else
+-  echo "$as_me:$LINENO: result: no" >&5
++	;;
++	no)
++	eval "ac_cv_func_crypt=no"
++	eval "LIB_crypt="
++	echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+-  LIBOBJS="$LIBOBJS inet_ntop.$ac_objext"
+-fi
++	;;
++	*)
++	eval "ac_cv_func_crypt=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++#define $ac_tr_func 1
++_ACEOF
+ 
+-echo "$as_me:$LINENO: checking for inet_pton" >&5
+-echo $ECHO_N "checking for inet_pton... $ECHO_C" >&6
+-if test "${ac_cv_func_inet_pton+set}" = set; then
++	cat >>confdefs.h <<_ACEOF
++#define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking if gethostbyname is compatible with system prototype" >&5
++echo $ECHO_N "checking if gethostbyname is compatible with system prototype... $ECHO_C" >&6
++if test "${ac_cv_func_gethostbyname_proto_compat+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
+ #ifdef HAVE_SYS_TYPES_H
+ #include <sys/types.h>
+ #endif
+@@ -24259,87 +37317,86 @@
+ #ifdef HAVE_ARPA_INET_H
+ #include <arpa/inet.h>
+ #endif
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
+ #endif
++
+ 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_inet_pton) || defined (__stub___inet_pton)
+-choke me
+-#else
+-inet_pton(0,0,0)
+-#endif
+-
++struct hostent *gethostbyname(const char *);
+   ;
+   return 0;
+ }
+ _ACEOF
+-rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
++         { ac_try='test -s conftest.$ac_objext'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "ac_cv_func_inet_pton=yes"
++  eval "ac_cv_func_gethostbyname_proto_compat=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_inet_pton=no"
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_gethostbyname_proto_compat=no"
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
++echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname_proto_compat" >&5
++echo "${ECHO_T}$ac_cv_func_gethostbyname_proto_compat" >&6
+ 
+-if eval "test \"\${ac_cv_func_inet_pton}\" = yes"; then
++if test "$ac_cv_func_gethostbyname_proto_compat" = yes; then
+ 
+-cat >>confdefs.h <<_ACEOF
+-#define HAVE_INET_PTON 1
++cat >>confdefs.h <<\_ACEOF
++#define GETHOSTBYNAME_PROTO_COMPATIBLE 1
+ _ACEOF
+ 
+-  echo "$as_me:$LINENO: result: yes" >&5
+-echo "${ECHO_T}yes" >&6
+-else
+-  echo "$as_me:$LINENO: result: no" >&5
+-echo "${ECHO_T}no" >&6
+-  LIBOBJS="$LIBOBJS inet_pton.$ac_objext"
+ fi
+ 
+ 
+ 
+-echo "$as_me:$LINENO: checking for sa_len in struct sockaddr" >&5
+-echo $ECHO_N "checking for sa_len in struct sockaddr... $ECHO_C" >&6
+-if test "${ac_cv_type_struct_sockaddr_sa_len+set}" = set; then
++
++echo "$as_me:$LINENO: checking if gethostbyaddr is compatible with system prototype" >&5
++echo $ECHO_N "checking if gethostbyaddr is compatible with system prototype... $ECHO_C" >&6
++if test "${ac_cv_func_gethostbyaddr_proto_compat+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-
+-cat >conftest.$ac_ext <<_ACEOF
++  cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#ifdef HAVE_SYS_TYPES_H
+ #include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
+ #include <sys/socket.h>
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+ #endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_INET_H
++#include <arpa/inet.h>
++#endif
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif
++
+ int
+ main ()
+ {
+-struct sockaddr x; x.sa_len;
++struct hostent *gethostbyaddr(const void *, size_t, int);
+   ;
+   return 0;
+ }
+@@ -24356,183 +37413,125 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_type_struct_sockaddr_sa_len=yes
++  eval "ac_cv_func_gethostbyaddr_proto_compat=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_struct_sockaddr_sa_len=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_gethostbyaddr_proto_compat=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_type_struct_sockaddr_sa_len" >&5
+-echo "${ECHO_T}$ac_cv_type_struct_sockaddr_sa_len" >&6
+-if test "$ac_cv_type_struct_sockaddr_sa_len" = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyaddr_proto_compat" >&5
++echo "${ECHO_T}$ac_cv_func_gethostbyaddr_proto_compat" >&6
+ 
++if test "$ac_cv_func_gethostbyaddr_proto_compat" = yes; then
+ 
+ cat >>confdefs.h <<\_ACEOF
+-#define HAVE_STRUCT_SOCKADDR_SA_LEN 1
++#define GETHOSTBYADDR_PROTO_COMPATIBLE 1
+ _ACEOF
+ 
+-
+ fi
+ 
+ 
+ 
+-if test "$ac_cv_func_getnameinfo" = "yes"; then
+ 
+-echo "$as_me:$LINENO: checking if getnameinfo is broken" >&5
+-echo $ECHO_N "checking if getnameinfo is broken... $ECHO_C" >&6
+-if test "${ac_cv_func_getnameinfo_broken+set}" = set; then
++echo "$as_me:$LINENO: checking if getservbyname is compatible with system prototype" >&5
++echo $ECHO_N "checking if getservbyname is compatible with system prototype... $ECHO_C" >&6
++if test "${ac_cv_func_getservbyname_proto_compat+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  if test "$cross_compiling" = yes; then
+-  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
+-echo "$as_me: error: cannot run test program while cross compiling" >&2;}
+-   { (exit 1); exit 1; }; }
+-else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-#include <stdio.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#ifdef HAVE_SYS_TYPES_H
+ #include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
+ #include <sys/socket.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
+ #include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_INET_H
++#include <arpa/inet.h>
++#endif
++#ifdef HAVE_NETDB_H
+ #include <netdb.h>
++#endif
+ 
+ int
+-main(int argc, char **argv)
++main ()
+ {
+-  struct sockaddr_in sin;
+-  char host[256];
+-  memset(&sin, 0, sizeof(sin));
+-#ifdef HAVE_STRUCT_SOCKADDR_SA_LEN
+-  sin.sin_len = sizeof(sin);
+-#endif
+-  sin.sin_family = AF_INET;
+-  sin.sin_addr.s_addr = 0xffffffff;
+-  sin.sin_port = 0;
+-  return getnameinfo((struct sockaddr*)&sin, sizeof(sin), host, sizeof(host),
+-	      NULL, 0, 0);
++struct servent *getservbyname(const char *, const char *);
++  ;
++  return 0;
+ }
+-
+ _ACEOF
+-rm -f conftest$ac_exeext
+-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_func_getnameinfo_broken=no
++  eval "ac_cv_func_getservbyname_proto_compat=yes"
+ else
+-  echo "$as_me: program exited with status $ac_status" >&5
+-echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-( exit $ac_status )
+-ac_cv_func_getnameinfo_broken=yes
+-fi
+-rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
+-fi
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_getservbyname_proto_compat=no"
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_getnameinfo_broken" >&5
+-echo "${ECHO_T}$ac_cv_func_getnameinfo_broken" >&6
+-  if test "$ac_cv_func_getnameinfo_broken" = yes; then
+-	LIBOBJS="$LIBOBJS getnameinfo.$ac_objext"
+-  fi
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getservbyname_proto_compat" >&5
++echo "${ECHO_T}$ac_cv_func_getservbyname_proto_compat" >&6
+ 
+-if test "$ac_cv_func_getaddrinfo" = "yes"; then
+-
+-echo "$as_me:$LINENO: checking if getaddrinfo handles numeric services" >&5
+-echo $ECHO_N "checking if getaddrinfo handles numeric services... $ECHO_C" >&6
+-if test "${ac_cv_func_getaddrinfo_numserv+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  if test "$cross_compiling" = yes; then
+-  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
+-echo "$as_me: error: cannot run test program while cross compiling" >&2;}
+-   { (exit 1); exit 1; }; }
+-else
+-  cat >conftest.$ac_ext <<_ACEOF
+-#line $LINENO "configure"
+-#include "confdefs.h"
+-#include <stdio.h>
+-#include <sys/types.h>
+-#include <sys/socket.h>
+-#include <netdb.h>
+-
+-int
+-main(int argc, char **argv)
+-{
+-	struct addrinfo hints, *ai;
+-	memset(&hints, 0, sizeof(hints));
+-	hints.ai_flags = AI_PASSIVE;
+-	hints.ai_socktype = SOCK_STREAM;
+-	hints.ai_family = PF_UNSPEC;
+-	if(getaddrinfo(NULL, "17", &hints, &ai) != 0)
+-		return 1;
+-	return 0;
+-}
++if test "$ac_cv_func_getservbyname_proto_compat" = yes; then
+ 
++cat >>confdefs.h <<\_ACEOF
++#define GETSERVBYNAME_PROTO_COMPATIBLE 1
+ _ACEOF
+-rm -f conftest$ac_exeext
+-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
+-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
+-  ac_cv_func_getaddrinfo_numserv=yes
+-else
+-  echo "$as_me: program exited with status $ac_status" >&5
+-echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-( exit $ac_status )
+-ac_cv_func_getaddrinfo_numserv=no
+-fi
+-rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
+-fi
+-fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_getaddrinfo_numserv" >&5
+-echo "${ECHO_T}$ac_cv_func_getaddrinfo_numserv" >&6
+-  if test "$ac_cv_func_getaddrinfo_numserv" = no; then
+-	LIBOBJS="$LIBOBJS getaddrinfo.$ac_objext"
+-	LIBOBJS="$LIBOBJS freeaddrinfo.$ac_objext"
+-  fi
++
+ fi
+ 
+ 
+-if test "$ac_cv_func_setenv+set" != set -o "$ac_cv_func_setenv" = yes; then
+-echo "$as_me:$LINENO: checking if setenv needs a prototype" >&5
+-echo $ECHO_N "checking if setenv needs a prototype... $ECHO_C" >&6
+-if test "${ac_cv_func_setenv_noproto+set}" = set; then
++
++
++echo "$as_me:$LINENO: checking if getsockname is compatible with system prototype" >&5
++echo $ECHO_N "checking if getsockname is compatible with system prototype... $ECHO_C" >&6
++if test "${ac_cv_func_getsockname_proto_compat+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-#include <stdlib.h>
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
+ #endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++
+ int
+ main ()
+ {
+-struct foo { int foo; } xx;
+-extern int setenv (struct foo*);
+-setenv(&xx);
+-
++int getsockname(int, struct sockaddr*, socklen_t*);
+   ;
+   return 0;
+ }
+@@ -24549,49 +37548,50 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "ac_cv_func_setenv_noproto=yes"
++  eval "ac_cv_func_getsockname_proto_compat=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_setenv_noproto=no"
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_getsockname_proto_compat=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_setenv_noproto" >&5
+-echo "${ECHO_T}$ac_cv_func_setenv_noproto" >&6
+-if test "$ac_cv_func_setenv_noproto" = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_getsockname_proto_compat" >&5
++echo "${ECHO_T}$ac_cv_func_getsockname_proto_compat" >&6
++
++if test "$ac_cv_func_getsockname_proto_compat" = yes; then
+ 
+ cat >>confdefs.h <<\_ACEOF
+-#define NEED_SETENV_PROTO 1
++#define GETSOCKNAME_PROTO_COMPATIBLE 1
+ _ACEOF
+ 
+ fi
+-fi
+ 
+ 
+-if test "$ac_cv_func_unsetenv+set" != set -o "$ac_cv_func_unsetenv" = yes; then
+-echo "$as_me:$LINENO: checking if unsetenv needs a prototype" >&5
+-echo $ECHO_N "checking if unsetenv needs a prototype... $ECHO_C" >&6
+-if test "${ac_cv_func_unsetenv_noproto+set}" = set; then
++
++
++echo "$as_me:$LINENO: checking if openlog is compatible with system prototype" >&5
++echo $ECHO_N "checking if openlog is compatible with system prototype... $ECHO_C" >&6
++if test "${ac_cv_func_openlog_proto_compat+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-#include <stdlib.h>
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#ifdef HAVE_SYSLOG_H
++#include <syslog.h>
+ #endif
++
+ int
+ main ()
+ {
+-struct foo { int foo; } xx;
+-extern int unsetenv (struct foo*);
+-unsetenv(&xx);
+-
++void openlog(const char *, int, int);
+   ;
+   return 0;
+ }
+@@ -24608,48 +37608,56 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "ac_cv_func_unsetenv_noproto=yes"
++  eval "ac_cv_func_openlog_proto_compat=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_unsetenv_noproto=no"
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_openlog_proto_compat=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_unsetenv_noproto" >&5
+-echo "${ECHO_T}$ac_cv_func_unsetenv_noproto" >&6
+-if test "$ac_cv_func_unsetenv_noproto" = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_openlog_proto_compat" >&5
++echo "${ECHO_T}$ac_cv_func_openlog_proto_compat" >&6
++
++if test "$ac_cv_func_openlog_proto_compat" = yes; then
+ 
+ cat >>confdefs.h <<\_ACEOF
+-#define NEED_UNSETENV_PROTO 1
++#define OPENLOG_PROTO_COMPATIBLE 1
+ _ACEOF
+ 
+ fi
+-fi
+ 
+ 
+-if test "$ac_cv_func_gethostname+set" != set -o "$ac_cv_func_gethostname" = yes; then
+-echo "$as_me:$LINENO: checking if gethostname needs a prototype" >&5
+-echo $ECHO_N "checking if gethostname needs a prototype... $ECHO_C" >&6
+-if test "${ac_cv_func_gethostname_noproto+set}" = set; then
++
++
++if test "$ac_cv_func_crypt+set" != set -o "$ac_cv_func_crypt" = yes; then
++echo "$as_me:$LINENO: checking if crypt needs a prototype" >&5
++echo $ECHO_N "checking if crypt needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_crypt_noproto+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#ifdef HAVE_CRYPT_H
++#include <crypt.h>
++#endif
++#ifdef HAVE_UNISTD_H
+ #include <unistd.h>
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+ #endif
++
+ int
+ main ()
+ {
+ struct foo { int foo; } xx;
+-extern int gethostname (struct foo*);
+-gethostname(&xx);
++extern int crypt (struct foo*);
++crypt(&xx);
+ 
+   ;
+   return 0;
+@@ -24667,180 +37675,154 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "ac_cv_func_gethostname_noproto=yes"
++  eval "ac_cv_func_crypt_noproto=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_gethostname_noproto=no"
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_crypt_noproto=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_gethostname_noproto" >&5
+-echo "${ECHO_T}$ac_cv_func_gethostname_noproto" >&6
+-if test "$ac_cv_func_gethostname_noproto" = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_func_crypt_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_crypt_noproto" >&6
++if test "$ac_cv_func_crypt_noproto" = yes; then
+ 
+ cat >>confdefs.h <<\_ACEOF
+-#define NEED_GETHOSTNAME_PROTO 1
++#define NEED_CRYPT_PROTO 1
+ _ACEOF
+ 
+ fi
+ fi
+ 
+ 
+-if test "$ac_cv_func_mkstemp+set" != set -o "$ac_cv_func_mkstemp" = yes; then
+-echo "$as_me:$LINENO: checking if mkstemp needs a prototype" >&5
+-echo $ECHO_N "checking if mkstemp needs a prototype... $ECHO_C" >&6
+-if test "${ac_cv_func_mkstemp_noproto+set}" = set; then
++
++
++echo "$as_me:$LINENO: checking for h_errno" >&5
++echo $ECHO_N "checking for h_errno... $ECHO_C" >&6
++if test "${ac_cv_var_h_errno+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<_ACEOF
++
++
++	cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-#include <unistd.h>
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
+ #endif
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif
++	void * foo() { return &h_errno; }
+ int
+ main ()
+ {
+-struct foo { int foo; } xx;
+-extern int mkstemp (struct foo*);
+-mkstemp(&xx);
+-
++foo()
+   ;
+   return 0;
+ }
+ _ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
++         { ac_try='test -s conftest$ac_exeext'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "ac_cv_func_mkstemp_noproto=yes"
++  ac_cv_var_h_errno=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_mkstemp_noproto=no"
+-fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
+-fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_mkstemp_noproto" >&5
+-echo "${ECHO_T}$ac_cv_func_mkstemp_noproto" >&6
+-if test "$ac_cv_func_mkstemp_noproto" = yes; then
+-
+-cat >>confdefs.h <<\_ACEOF
+-#define NEED_MKSTEMP_PROTO 1
+-_ACEOF
++sed 's/^/| /' conftest.$ac_ext >&5
+ 
++ac_cv_var_h_errno=no
+ fi
+-fi
+-
+-
+-if test "$ac_cv_func_getusershell+set" != set -o "$ac_cv_func_getusershell" = yes; then
+-echo "$as_me:$LINENO: checking if getusershell needs a prototype" >&5
+-echo $ECHO_N "checking if getusershell needs a prototype... $ECHO_C" >&6
+-if test "${ac_cv_func_getusershell_noproto+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  cat >conftest.$ac_ext <<_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++if test "$ac_cv_var_h_errno" != yes ; then
++cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-#include <unistd.h>
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++extern int h_errno;
++int foo() { return h_errno; }
+ int
+ main ()
+ {
+-struct foo { int foo; } xx;
+-extern int getusershell (struct foo*);
+-getusershell(&xx);
+-
++foo()
+   ;
+   return 0;
+ }
+ _ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
++         { ac_try='test -s conftest$ac_exeext'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "ac_cv_func_getusershell_noproto=yes"
++  ac_cv_var_h_errno=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_getusershell_noproto=no"
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_var_h_errno=no
+ fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_getusershell_noproto" >&5
+-echo "${ECHO_T}$ac_cv_func_getusershell_noproto" >&6
+-if test "$ac_cv_func_getusershell_noproto" = yes; then
+-
+-cat >>confdefs.h <<\_ACEOF
+-#define NEED_GETUSERSHELL_PROTO 1
+-_ACEOF
+ 
+ fi
+-fi
+ 
++ac_foo=`eval echo \\$ac_cv_var_h_errno`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++
++cat >>confdefs.h <<_ACEOF
++#define HAVE_H_ERRNO 1
++_ACEOF
+ 
+ 
+-if test "$ac_cv_func_inet_aton+set" != set -o "$ac_cv_func_inet_aton" = yes; then
+-echo "$as_me:$LINENO: checking if inet_aton needs a prototype" >&5
+-echo $ECHO_N "checking if inet_aton needs a prototype... $ECHO_C" >&6
+-if test "${ac_cv_func_inet_aton_noproto+set}" = set; then
++echo "$as_me:$LINENO: checking if h_errno is properly declared" >&5
++echo $ECHO_N "checking if h_errno is properly declared... $ECHO_C" >&6
++if test "${ac_cv_var_h_errno_declaration+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<_ACEOF
+-#line $LINENO "configure"
+-#include "confdefs.h"
+ 
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ #ifdef HAVE_SYS_TYPES_H
+ #include <sys/types.h>
+ #endif
+-#ifdef HAVE_SYS_SOCKET_H
+-#include <sys/socket.h>
+-#endif
+-#ifdef HAVE_NETINET_IN_H
+-#include <netinet/in.h>
+-#endif
+-#ifdef HAVE_ARPA_INET_H
+-#include <arpa/inet.h>
+-#endif
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
+ #endif
++extern struct { int foo; } h_errno;
+ int
+ main ()
+ {
+-struct foo { int foo; } xx;
+-extern int inet_aton (struct foo*);
+-inet_aton(&xx);
+-
++h_errno.foo = 1;
+   ;
+   return 0;
+ }
+@@ -24857,60 +37839,57 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "ac_cv_func_inet_aton_noproto=yes"
++  eval "ac_cv_var_h_errno_declaration=no"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_inet_aton_noproto=no"
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_var_h_errno_declaration=yes"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
++
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_inet_aton_noproto" >&5
+-echo "${ECHO_T}$ac_cv_func_inet_aton_noproto" >&6
+-if test "$ac_cv_func_inet_aton_noproto" = yes; then
++
++
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var_h_errno_declaration" >&5
++echo "${ECHO_T}$ac_cv_var_h_errno_declaration" >&6
++if eval "test \"\$ac_cv_var_h_errno_declaration\" = yes"; then
+ 
+ cat >>confdefs.h <<\_ACEOF
+-#define NEED_INET_ATON_PROTO 1
++#define HAVE_H_ERRNO_DECLARATION 1
+ _ACEOF
+ 
+ fi
+-fi
+ 
+ 
++fi
+ 
+ 
+ 
+-echo "$as_me:$LINENO: checking for crypt" >&5
+-echo $ECHO_N "checking for crypt... $ECHO_C" >&6
+-if test "${ac_cv_funclib_crypt+set}" = set; then
++echo "$as_me:$LINENO: checking for h_errlist" >&5
++echo $ECHO_N "checking for h_errlist... $ECHO_C" >&6
++if test "${ac_cv_var_h_errlist+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-if eval "test \"\$ac_cv_func_crypt\" != yes" ; then
+-	ac_save_LIBS="$LIBS"
+-	for ac_lib in "" crypt; do
+-		case "$ac_lib" in
+-		"") ;;
+-		yes) ac_lib="" ;;
+-		no) continue ;;
+-		-l*) ;;
+-		*) ac_lib="-l$ac_lib" ;;
+-		esac
+-		LIBS=" $ac_lib  $ac_save_LIBS"
+-		cat >conftest.$ac_ext <<_ACEOF
+-#line $LINENO "configure"
+-#include "confdefs.h"
+ 
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
++	cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
+ #endif
++	void * foo() { return &h_errlist; }
+ int
+ main ()
+ {
+-crypt()
++foo()
+   ;
+   return 0;
+ }
+@@ -24927,65 +37906,28 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "if test -n \"$ac_lib\";then ac_cv_funclib_crypt=$ac_lib; else ac_cv_funclib_crypt=yes; fi";break
++  ac_cv_var_h_errlist=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+-	done
+-	eval "ac_cv_funclib_crypt=\${ac_cv_funclib_crypt-no}"
+-	LIBS="$ac_save_LIBS"
+-fi
++sed 's/^/| /' conftest.$ac_ext >&5
+ 
++ac_cv_var_h_errlist=no
+ fi
+-
+-
+-eval "ac_res=\$ac_cv_funclib_crypt"
+-
+-if false; then
+-
+-for ac_func in crypt
+-do
+-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+-echo "$as_me:$LINENO: checking for $ac_func" >&5
+-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+-if eval "test \"\${$as_ac_var+set}\" = set"; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  cat >conftest.$ac_ext <<_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++if test "$ac_cv_var_h_errlist" != yes ; then
++cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char $ac_func (); below.  */
+-#include <assert.h>
+-/* Override any gcc2 internal prototype to avoid an error.  */
+-#ifdef __cplusplus
+-extern "C"
+-#endif
+-/* We use char because int might match the return type of a gcc2
+-   builtin and then its argument prototype would still apply.  */
+-char $ac_func ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++extern int h_errlist;
++int foo() { return h_errlist; }
+ int
+ main ()
+ {
+-/* The GNU C library defines this for functions which it implements
+-    to always fail with ENOSYS.  Some functions are actually named
+-    something starting with __ and the normal name is an alias.  */
+-#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
+-choke me
+-#else
+-f = $ac_func;
+-#endif
+-
++foo()
+   ;
+   return 0;
+ }
+@@ -25002,103 +37944,49 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "$as_ac_var=yes"
++  ac_cv_var_h_errlist=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "$as_ac_var=no"
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_var_h_errlist=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
+-echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+-if test `eval echo '${'$as_ac_var'}'` = yes; then
+-  cat >>confdefs.h <<_ACEOF
+-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+-_ACEOF
+-
+-fi
+-done
+ 
+ fi
+-# crypt
+-eval "ac_tr_func=HAVE_`echo crypt | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
+-eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
+-eval "LIB_crypt=$ac_res"
+-
+-case "$ac_res" in
+-	yes)
+-	eval "ac_cv_func_crypt=yes"
+-	eval "LIB_crypt="
+-	cat >>confdefs.h <<_ACEOF
+-#define $ac_tr_func 1
+-_ACEOF
+ 
+-	echo "$as_me:$LINENO: result: yes" >&5
+-echo "${ECHO_T}yes" >&6
+-	;;
+-	no)
+-	eval "ac_cv_func_crypt=no"
+-	eval "LIB_crypt="
+-	echo "$as_me:$LINENO: result: no" >&5
+-echo "${ECHO_T}no" >&6
+-	;;
+-	*)
+-	eval "ac_cv_func_crypt=yes"
+-	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
+-	cat >>confdefs.h <<_ACEOF
+-#define $ac_tr_func 1
+-_ACEOF
++ac_foo=`eval echo \\$ac_cv_var_h_errlist`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
+ 
+-	cat >>confdefs.h <<_ACEOF
+-#define $ac_tr_lib 1
++cat >>confdefs.h <<_ACEOF
++#define HAVE_H_ERRLIST 1
+ _ACEOF
+ 
+-	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
+-echo "${ECHO_T}yes, in $ac_res" >&6
+-	;;
+-esac
+-
+ 
+-
+-
+-
+-
+-echo "$as_me:$LINENO: checking if gethostbyname is compatible with system prototype" >&5
+-echo $ECHO_N "checking if gethostbyname is compatible with system prototype... $ECHO_C" >&6
+-if test "${ac_cv_func_gethostbyname_proto_compat+set}" = set; then
++echo "$as_me:$LINENO: checking if h_errlist is properly declared" >&5
++echo $ECHO_N "checking if h_errlist is properly declared... $ECHO_C" >&6
++if test "${ac_cv_var_h_errlist_declaration+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<_ACEOF
+-#line $LINENO "configure"
+-#include "confdefs.h"
+ 
+-#ifdef HAVE_SYS_TYPES_H
+-#include <sys/types.h>
+-#endif
+-#ifdef HAVE_SYS_SOCKET_H
+-#include <sys/socket.h>
+-#endif
+-#ifdef HAVE_NETINET_IN_H
+-#include <netinet/in.h>
+-#endif
+-#ifdef HAVE_ARPA_INET_H
+-#include <arpa/inet.h>
+-#endif
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ #ifdef HAVE_NETDB_H
+ #include <netdb.h>
+ #endif
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
++extern struct { int foo; } h_errlist;
+ int
+ main ()
+ {
+-struct hostent *gethostbyname(const char *);
++h_errlist.foo = 1;
+   ;
+   return 0;
+ }
+@@ -25115,200 +38003,154 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "ac_cv_func_gethostbyname_proto_compat=yes"
++  eval "ac_cv_var_h_errlist_declaration=no"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_gethostbyname_proto_compat=no"
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_var_h_errlist_declaration=yes"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
++
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname_proto_compat" >&5
+-echo "${ECHO_T}$ac_cv_func_gethostbyname_proto_compat" >&6
+ 
+-if test "$ac_cv_func_gethostbyname_proto_compat" = yes; then
++
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var_h_errlist_declaration" >&5
++echo "${ECHO_T}$ac_cv_var_h_errlist_declaration" >&6
++if eval "test \"\$ac_cv_var_h_errlist_declaration\" = yes"; then
+ 
+ cat >>confdefs.h <<\_ACEOF
+-#define GETHOSTBYNAME_PROTO_COMPATIBLE 1
++#define HAVE_H_ERRLIST_DECLARATION 1
+ _ACEOF
+ 
+ fi
+ 
+ 
++fi
++
+ 
+ 
+-echo "$as_me:$LINENO: checking if gethostbyaddr is compatible with system prototype" >&5
+-echo $ECHO_N "checking if gethostbyaddr is compatible with system prototype... $ECHO_C" >&6
+-if test "${ac_cv_func_gethostbyaddr_proto_compat+set}" = set; then
++echo "$as_me:$LINENO: checking for h_nerr" >&5
++echo $ECHO_N "checking for h_nerr... $ECHO_C" >&6
++if test "${ac_cv_var_h_nerr+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<_ACEOF
+-#line $LINENO "configure"
+-#include "confdefs.h"
+ 
+-#ifdef HAVE_SYS_TYPES_H
+-#include <sys/types.h>
+-#endif
+-#ifdef HAVE_SYS_SOCKET_H
+-#include <sys/socket.h>
+-#endif
+-#ifdef HAVE_NETINET_IN_H
+-#include <netinet/in.h>
+-#endif
+-#ifdef HAVE_ARPA_INET_H
+-#include <arpa/inet.h>
+-#endif
++
++	cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ #ifdef HAVE_NETDB_H
+ #include <netdb.h>
+ #endif
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
++	void * foo() { return &h_nerr; }
+ int
+ main ()
+ {
+-struct hostent *gethostbyaddr(const void *, size_t, int);
++foo()
+   ;
+   return 0;
+ }
+ _ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
++         { ac_try='test -s conftest$ac_exeext'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "ac_cv_func_gethostbyaddr_proto_compat=yes"
++  ac_cv_var_h_nerr=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_gethostbyaddr_proto_compat=no"
+-fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
+-fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyaddr_proto_compat" >&5
+-echo "${ECHO_T}$ac_cv_func_gethostbyaddr_proto_compat" >&6
+-
+-if test "$ac_cv_func_gethostbyaddr_proto_compat" = yes; then
+-
+-cat >>confdefs.h <<\_ACEOF
+-#define GETHOSTBYADDR_PROTO_COMPATIBLE 1
+-_ACEOF
++sed 's/^/| /' conftest.$ac_ext >&5
+ 
++ac_cv_var_h_nerr=no
+ fi
+-
+-
+-
+-
+-echo "$as_me:$LINENO: checking if getservbyname is compatible with system prototype" >&5
+-echo $ECHO_N "checking if getservbyname is compatible with system prototype... $ECHO_C" >&6
+-if test "${ac_cv_func_getservbyname_proto_compat+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  cat >conftest.$ac_ext <<_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++if test "$ac_cv_var_h_nerr" != yes ; then
++cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-
+-#ifdef HAVE_SYS_TYPES_H
+-#include <sys/types.h>
+-#endif
+-#ifdef HAVE_SYS_SOCKET_H
+-#include <sys/socket.h>
+-#endif
+-#ifdef HAVE_NETINET_IN_H
+-#include <netinet/in.h>
+-#endif
+-#ifdef HAVE_ARPA_INET_H
+-#include <arpa/inet.h>
+-#endif
+-#ifdef HAVE_NETDB_H
+-#include <netdb.h>
+-#endif
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++extern int h_nerr;
++int foo() { return h_nerr; }
+ int
+ main ()
+ {
+-struct servent *getservbyname(const char *, const char *);
++foo()
+   ;
+   return 0;
+ }
+ _ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
++         { ac_try='test -s conftest$ac_exeext'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "ac_cv_func_getservbyname_proto_compat=yes"
++  ac_cv_var_h_nerr=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_getservbyname_proto_compat=no"
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_var_h_nerr=no
+ fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_getservbyname_proto_compat" >&5
+-echo "${ECHO_T}$ac_cv_func_getservbyname_proto_compat" >&6
+-
+-if test "$ac_cv_func_getservbyname_proto_compat" = yes; then
+-
+-cat >>confdefs.h <<\_ACEOF
+-#define GETSERVBYNAME_PROTO_COMPATIBLE 1
+-_ACEOF
+ 
+ fi
+ 
++ac_foo=`eval echo \\$ac_cv_var_h_nerr`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
+ 
++cat >>confdefs.h <<_ACEOF
++#define HAVE_H_NERR 1
++_ACEOF
+ 
+ 
+-echo "$as_me:$LINENO: checking if getsockname is compatible with system prototype" >&5
+-echo $ECHO_N "checking if getsockname is compatible with system prototype... $ECHO_C" >&6
+-if test "${ac_cv_func_getsockname_proto_compat+set}" = set; then
++echo "$as_me:$LINENO: checking if h_nerr is properly declared" >&5
++echo $ECHO_N "checking if h_nerr is properly declared... $ECHO_C" >&6
++if test "${ac_cv_var_h_nerr_declaration+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<_ACEOF
+-#line $LINENO "configure"
+-#include "confdefs.h"
+ 
+-#ifdef HAVE_SYS_TYPES_H
+-#include <sys/types.h>
+-#endif
+-#ifdef HAVE_SYS_SOCKET_H
+-#include <sys/socket.h>
+-#endif
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
+ #endif
++extern struct { int foo; } h_nerr;
+ int
+ main ()
+ {
+-int getsockname(int, struct sockaddr*, socklen_t*);
++h_nerr.foo = 1;
+   ;
+   return 0;
+ }
+@@ -25325,286 +38167,285 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "ac_cv_func_getsockname_proto_compat=yes"
++  eval "ac_cv_var_h_nerr_declaration=no"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_getsockname_proto_compat=no"
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_var_h_nerr_declaration=yes"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
++
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_getsockname_proto_compat" >&5
+-echo "${ECHO_T}$ac_cv_func_getsockname_proto_compat" >&6
+ 
+-if test "$ac_cv_func_getsockname_proto_compat" = yes; then
++
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var_h_nerr_declaration" >&5
++echo "${ECHO_T}$ac_cv_var_h_nerr_declaration" >&6
++if eval "test \"\$ac_cv_var_h_nerr_declaration\" = yes"; then
+ 
+ cat >>confdefs.h <<\_ACEOF
+-#define GETSOCKNAME_PROTO_COMPATIBLE 1
++#define HAVE_H_NERR_DECLARATION 1
+ _ACEOF
+ 
+ fi
+ 
+ 
++fi
+ 
+ 
+-echo "$as_me:$LINENO: checking if openlog is compatible with system prototype" >&5
+-echo $ECHO_N "checking if openlog is compatible with system prototype... $ECHO_C" >&6
+-if test "${ac_cv_func_openlog_proto_compat+set}" = set; then
++
++echo "$as_me:$LINENO: checking for __progname" >&5
++echo $ECHO_N "checking for __progname... $ECHO_C" >&6
++if test "${ac_cv_var___progname+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<_ACEOF
+-#line $LINENO "configure"
+-#include "confdefs.h"
+ 
+-#ifdef HAVE_SYSLOG_H
+-#include <syslog.h>
+-#endif
+ 
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
++	cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_ERR_H
++#include <err.h>
+ #endif
++	void * foo() { return &__progname; }
+ int
+ main ()
+ {
+-void openlog(const char *, int, int);
++foo()
+   ;
+   return 0;
+ }
+ _ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
++         { ac_try='test -s conftest$ac_exeext'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "ac_cv_func_openlog_proto_compat=yes"
++  ac_cv_var___progname=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_openlog_proto_compat=no"
+-fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
+-fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_openlog_proto_compat" >&5
+-echo "${ECHO_T}$ac_cv_func_openlog_proto_compat" >&6
+-
+-if test "$ac_cv_func_openlog_proto_compat" = yes; then
+-
+-cat >>confdefs.h <<\_ACEOF
+-#define OPENLOG_PROTO_COMPATIBLE 1
+-_ACEOF
++sed 's/^/| /' conftest.$ac_ext >&5
+ 
++ac_cv_var___progname=no
+ fi
+-
+-
+-
+-
+-if test "$ac_cv_func_crypt+set" != set -o "$ac_cv_func_crypt" = yes; then
+-echo "$as_me:$LINENO: checking if crypt needs a prototype" >&5
+-echo $ECHO_N "checking if crypt needs a prototype... $ECHO_C" >&6
+-if test "${ac_cv_func_crypt_noproto+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  cat >conftest.$ac_ext <<_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++if test "$ac_cv_var___progname" != yes ; then
++cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-
+-#ifdef HAVE_CRYPT_H
+-#include <crypt.h>
+-#endif
+-#ifdef HAVE_UNISTD_H
+-#include <unistd.h>
+-#endif
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++extern int __progname;
++int foo() { return __progname; }
+ int
+ main ()
+ {
+-struct foo { int foo; } xx;
+-extern int crypt (struct foo*);
+-crypt(&xx);
+-
++foo()
+   ;
+   return 0;
+ }
+ _ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
++         { ac_try='test -s conftest$ac_exeext'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "ac_cv_func_crypt_noproto=yes"
++  ac_cv_var___progname=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_func_crypt_noproto=no"
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_var___progname=no
+ fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_func_crypt_noproto" >&5
+-echo "${ECHO_T}$ac_cv_func_crypt_noproto" >&6
+-if test "$ac_cv_func_crypt_noproto" = yes; then
+-
+-cat >>confdefs.h <<\_ACEOF
+-#define NEED_CRYPT_PROTO 1
+-_ACEOF
+ 
+ fi
+-fi
+ 
++ac_foo=`eval echo \\$ac_cv_var___progname`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
+ 
++cat >>confdefs.h <<_ACEOF
++#define HAVE___PROGNAME 1
++_ACEOF
+ 
+ 
+-echo "$as_me:$LINENO: checking for h_errno" >&5
+-echo $ECHO_N "checking for h_errno... $ECHO_C" >&6
+-if test "${ac_cv_var_h_errno+set}" = set; then
++echo "$as_me:$LINENO: checking if __progname is properly declared" >&5
++echo $ECHO_N "checking if __progname is properly declared... $ECHO_C" >&6
++if test "${ac_cv_var___progname_declaration+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-
+-	cat >conftest.$ac_ext <<_ACEOF
++cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-#ifdef HAVE_SYS_TYPES_H
+-#include <sys/types.h>
+-#endif
+-#ifdef HAVE_NETDB_H
+-#include <netdb.h>
+-#endif
+-	void * foo() { return &h_errno; }
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_ERR_H
++#include <err.h>
+ #endif
++extern struct { int foo; } __progname;
+ int
+ main ()
+ {
+-foo()
++__progname.foo = 1;
+   ;
+   return 0;
+ }
+ _ACEOF
+-rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
++         { ac_try='test -s conftest.$ac_objext'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_var_h_errno=yes
++  eval "ac_cv_var___progname_declaration=no"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_var_h_errno=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_var___progname_declaration=yes"
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+-if test "$ac_cv_var_h_errno" != yes ; then
++rm -f conftest.$ac_objext conftest.$ac_ext
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var___progname_declaration" >&5
++echo "${ECHO_T}$ac_cv_var___progname_declaration" >&6
++if eval "test \"\$ac_cv_var___progname_declaration\" = yes"; then
++
++cat >>confdefs.h <<\_ACEOF
++#define HAVE___PROGNAME_DECLARATION 1
++_ACEOF
++
++fi
++
++
++fi
++
++
++
++echo "$as_me:$LINENO: checking if optarg is properly declared" >&5
++echo $ECHO_N "checking if optarg is properly declared... $ECHO_C" >&6
++if test "${ac_cv_var_optarg_declaration+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-extern int h_errno;
+-int foo() { return h_errno; }
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdlib.h>
++#ifdef HAVE_UNISTD_H
++#include <unistd.h>
+ #endif
++extern struct { int foo; } optarg;
+ int
+ main ()
+ {
+-foo()
++optarg.foo = 1;
+   ;
+   return 0;
+ }
+ _ACEOF
+-rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
++         { ac_try='test -s conftest.$ac_objext'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_var_h_errno=yes
++  eval "ac_cv_var_optarg_declaration=no"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_var_h_errno=no
+-fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_var_optarg_declaration=yes"
+ fi
++rm -f conftest.$ac_objext conftest.$ac_ext
+ 
+ fi
+ 
+-ac_foo=`eval echo \\$ac_cv_var_h_errno`
+-echo "$as_me:$LINENO: result: $ac_foo" >&5
+-echo "${ECHO_T}$ac_foo" >&6
+-if test "$ac_foo" = yes; then
+ 
+-cat >>confdefs.h <<_ACEOF
+-#define HAVE_H_ERRNO 1
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var_optarg_declaration" >&5
++echo "${ECHO_T}$ac_cv_var_optarg_declaration" >&6
++if eval "test \"\$ac_cv_var_optarg_declaration\" = yes"; then
++
++cat >>confdefs.h <<\_ACEOF
++#define HAVE_OPTARG_DECLARATION 1
+ _ACEOF
+ 
++fi
+ 
+-echo "$as_me:$LINENO: checking if h_errno is properly declared" >&5
+-echo $ECHO_N "checking if h_errno is properly declared... $ECHO_C" >&6
+-if test "${ac_cv_var_h_errno_declaration+set}" = set; then
++
++
++echo "$as_me:$LINENO: checking if optind is properly declared" >&5
++echo $ECHO_N "checking if optind is properly declared... $ECHO_C" >&6
++if test "${ac_cv_var_optind_declaration+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-#ifdef HAVE_SYS_TYPES_H
+-#include <sys/types.h>
+-#endif
+-#ifdef HAVE_NETDB_H
+-#include <netdb.h>
+-#endif
+-extern struct { int foo; } h_errno;
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdlib.h>
++#ifdef HAVE_UNISTD_H
++#include <unistd.h>
+ #endif
++extern struct { int foo; } optind;
+ int
+ main ()
+ {
+-h_errno.foo = 1;
++optind.foo = 1;
+   ;
+   return 0;
+ }
+@@ -25621,11 +38462,12 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "ac_cv_var_h_errno_declaration=no"
++  eval "ac_cv_var_optind_declaration=no"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_var_h_errno_declaration=yes"
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_var_optind_declaration=yes"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ 
+@@ -25634,144 +38476,166 @@
+ 
+ 
+ 
+-echo "$as_me:$LINENO: result: $ac_cv_var_h_errno_declaration" >&5
+-echo "${ECHO_T}$ac_cv_var_h_errno_declaration" >&6
+-if eval "test \"\$ac_cv_var_h_errno_declaration\" = yes"; then
++echo "$as_me:$LINENO: result: $ac_cv_var_optind_declaration" >&5
++echo "${ECHO_T}$ac_cv_var_optind_declaration" >&6
++if eval "test \"\$ac_cv_var_optind_declaration\" = yes"; then
+ 
+ cat >>confdefs.h <<\_ACEOF
+-#define HAVE_H_ERRNO_DECLARATION 1
++#define HAVE_OPTIND_DECLARATION 1
+ _ACEOF
+ 
+ fi
+ 
+ 
+-fi
+-
+ 
+-
+-echo "$as_me:$LINENO: checking for h_errlist" >&5
+-echo $ECHO_N "checking for h_errlist... $ECHO_C" >&6
+-if test "${ac_cv_var_h_errlist+set}" = set; then
++echo "$as_me:$LINENO: checking if opterr is properly declared" >&5
++echo $ECHO_N "checking if opterr is properly declared... $ECHO_C" >&6
++if test "${ac_cv_var_opterr_declaration+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-
+-	cat >conftest.$ac_ext <<_ACEOF
++cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-#ifdef HAVE_NETDB_H
+-#include <netdb.h>
+-#endif
+-	void * foo() { return &h_errlist; }
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdlib.h>
++#ifdef HAVE_UNISTD_H
++#include <unistd.h>
+ #endif
++extern struct { int foo; } opterr;
+ int
+ main ()
+ {
+-foo()
++opterr.foo = 1;
+   ;
+   return 0;
+ }
+ _ACEOF
+-rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
++         { ac_try='test -s conftest.$ac_objext'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_var_h_errlist=yes
++  eval "ac_cv_var_opterr_declaration=no"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_var_h_errlist=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_var_opterr_declaration=yes"
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+-if test "$ac_cv_var_h_errlist" != yes ; then
++rm -f conftest.$ac_objext conftest.$ac_ext
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var_opterr_declaration" >&5
++echo "${ECHO_T}$ac_cv_var_opterr_declaration" >&6
++if eval "test \"\$ac_cv_var_opterr_declaration\" = yes"; then
++
++cat >>confdefs.h <<\_ACEOF
++#define HAVE_OPTERR_DECLARATION 1
++_ACEOF
++
++fi
++
++
++
++echo "$as_me:$LINENO: checking if optopt is properly declared" >&5
++echo $ECHO_N "checking if optopt is properly declared... $ECHO_C" >&6
++if test "${ac_cv_var_optopt_declaration+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-extern int h_errlist;
+-int foo() { return h_errlist; }
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdlib.h>
++#ifdef HAVE_UNISTD_H
++#include <unistd.h>
+ #endif
++extern struct { int foo; } optopt;
+ int
+ main ()
+ {
+-foo()
++optopt.foo = 1;
+   ;
+   return 0;
+ }
+ _ACEOF
+-rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
++         { ac_try='test -s conftest.$ac_objext'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_var_h_errlist=yes
++  eval "ac_cv_var_optopt_declaration=no"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_var_h_errlist=no
+-fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_var_optopt_declaration=yes"
+ fi
++rm -f conftest.$ac_objext conftest.$ac_ext
+ 
+ fi
+ 
+-ac_foo=`eval echo \\$ac_cv_var_h_errlist`
+-echo "$as_me:$LINENO: result: $ac_foo" >&5
+-echo "${ECHO_T}$ac_foo" >&6
+-if test "$ac_foo" = yes; then
+ 
+-cat >>confdefs.h <<_ACEOF
+-#define HAVE_H_ERRLIST 1
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var_optopt_declaration" >&5
++echo "${ECHO_T}$ac_cv_var_optopt_declaration" >&6
++if eval "test \"\$ac_cv_var_optopt_declaration\" = yes"; then
++
++cat >>confdefs.h <<\_ACEOF
++#define HAVE_OPTOPT_DECLARATION 1
+ _ACEOF
+ 
++fi
+ 
+-echo "$as_me:$LINENO: checking if h_errlist is properly declared" >&5
+-echo $ECHO_N "checking if h_errlist is properly declared... $ECHO_C" >&6
+-if test "${ac_cv_var_h_errlist_declaration+set}" = set; then
++
++
++
++echo "$as_me:$LINENO: checking if environ is properly declared" >&5
++echo $ECHO_N "checking if environ is properly declared... $ECHO_C" >&6
++if test "${ac_cv_var_environ_declaration+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-#ifdef HAVE_NETDB_H
+-#include <netdb.h>
+-#endif
+-extern struct { int foo; } h_errlist;
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdlib.h>
++extern struct { int foo; } environ;
+ int
+ main ()
+ {
+-h_errlist.foo = 1;
++environ.foo = 1;
+   ;
+   return 0;
+ }
+@@ -25788,11 +38652,12 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "ac_cv_var_h_errlist_declaration=no"
++  eval "ac_cv_var_environ_declaration=no"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_var_h_errlist_declaration=yes"
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_var_environ_declaration=yes"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ 
+@@ -25801,144 +38666,97 @@
+ 
+ 
+ 
+-echo "$as_me:$LINENO: result: $ac_cv_var_h_errlist_declaration" >&5
+-echo "${ECHO_T}$ac_cv_var_h_errlist_declaration" >&6
+-if eval "test \"\$ac_cv_var_h_errlist_declaration\" = yes"; then
++echo "$as_me:$LINENO: result: $ac_cv_var_environ_declaration" >&5
++echo "${ECHO_T}$ac_cv_var_environ_declaration" >&6
++if eval "test \"\$ac_cv_var_environ_declaration\" = yes"; then
+ 
+ cat >>confdefs.h <<\_ACEOF
+-#define HAVE_H_ERRLIST_DECLARATION 1
++#define HAVE_ENVIRON_DECLARATION 1
+ _ACEOF
+ 
+ fi
+ 
+ 
+-fi
+ 
+ 
+ 
+-echo "$as_me:$LINENO: checking for h_nerr" >&5
+-echo $ECHO_N "checking for h_nerr... $ECHO_C" >&6
+-if test "${ac_cv_var_h_nerr+set}" = set; then
++
++echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
++echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
++if test "${ac_cv_type_struct_tm_tm_gmtoff+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-
+-	cat >conftest.$ac_ext <<_ACEOF
+-#line $LINENO "configure"
+-#include "confdefs.h"
+-#ifdef HAVE_NETDB_H
+-#include <netdb.h>
+-#endif
+-	void * foo() { return &h_nerr; }
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
+-foo()
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
+-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
+-  ac_cv_var_h_nerr=yes
+-else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_var_h_nerr=no
+-fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+-if test "$ac_cv_var_h_nerr" != yes ; then
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-extern int h_nerr;
+-int foo() { return h_nerr; }
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <time.h>
+ int
+ main ()
+ {
+-foo()
++struct tm x; x.tm_gmtoff;
+   ;
+   return 0;
+ }
+ _ACEOF
+-rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
++         { ac_try='test -s conftest.$ac_objext'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_var_h_nerr=yes
++  ac_cv_type_struct_tm_tm_gmtoff=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_var_h_nerr=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_struct_tm_tm_gmtoff=no
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_tm_tm_gmtoff" >&5
++echo "${ECHO_T}$ac_cv_type_struct_tm_tm_gmtoff" >&6
++if test "$ac_cv_type_struct_tm_tm_gmtoff" = yes; then
++
++
++cat >>confdefs.h <<\_ACEOF
++#define HAVE_STRUCT_TM_TM_GMTOFF 1
++_ACEOF
++
+ 
+ fi
+ 
+-ac_foo=`eval echo \\$ac_cv_var_h_nerr`
+-echo "$as_me:$LINENO: result: $ac_foo" >&5
+-echo "${ECHO_T}$ac_foo" >&6
+-if test "$ac_foo" = yes; then
+ 
+-cat >>confdefs.h <<_ACEOF
+-#define HAVE_H_NERR 1
+-_ACEOF
+ 
+ 
+-echo "$as_me:$LINENO: checking if h_nerr is properly declared" >&5
+-echo $ECHO_N "checking if h_nerr is properly declared... $ECHO_C" >&6
+-if test "${ac_cv_var_h_nerr_declaration+set}" = set; then
++echo "$as_me:$LINENO: checking for tm_zone in struct tm" >&5
++echo $ECHO_N "checking for tm_zone in struct tm... $ECHO_C" >&6
++if test "${ac_cv_type_struct_tm_tm_zone+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-#ifdef HAVE_NETDB_H
+-#include <netdb.h>
+-#endif
+-extern struct { int foo; } h_nerr;
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <time.h>
+ int
+ main ()
+ {
+-h_nerr.foo = 1;
++struct tm x; x.tm_zone;
+   ;
+   return 0;
+ }
+@@ -25955,54 +38773,47 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "ac_cv_var_h_nerr_declaration=no"
++  ac_cv_type_struct_tm_tm_zone=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_var_h_nerr_declaration=yes"
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_struct_tm_tm_zone=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+-
+ fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_tm_tm_zone" >&5
++echo "${ECHO_T}$ac_cv_type_struct_tm_tm_zone" >&6
++if test "$ac_cv_type_struct_tm_tm_zone" = yes; then
+ 
+ 
+-
+-
+-echo "$as_me:$LINENO: result: $ac_cv_var_h_nerr_declaration" >&5
+-echo "${ECHO_T}$ac_cv_var_h_nerr_declaration" >&6
+-if eval "test \"\$ac_cv_var_h_nerr_declaration\" = yes"; then
+-
+ cat >>confdefs.h <<\_ACEOF
+-#define HAVE_H_NERR_DECLARATION 1
++#define HAVE_STRUCT_TM_TM_ZONE 1
+ _ACEOF
+ 
++
+ fi
+ 
+ 
+-fi
+ 
+ 
+ 
+-echo "$as_me:$LINENO: checking for __progname" >&5
+-echo $ECHO_N "checking for __progname... $ECHO_C" >&6
+-if test "${ac_cv_var___progname+set}" = set; then
++echo "$as_me:$LINENO: checking for timezone" >&5
++echo $ECHO_N "checking for timezone... $ECHO_C" >&6
++if test "${ac_cv_var_timezone+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ 
+ 	cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-#ifdef HAVE_ERR_H
+-#include <err.h>
+-#endif
+-	void * foo() { return &__progname; }
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <time.h>
++	void * foo() { return &timezone; }
+ int
+ main ()
+ {
+@@ -26023,25 +38834,24 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_var___progname=yes
++  ac_cv_var_timezone=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_var___progname=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_var_timezone=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+-if test "$ac_cv_var___progname" != yes ; then
++if test "$ac_cv_var_timezone" != yes ; then
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-extern int __progname;
+-int foo() { return __progname; }
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++extern int timezone;
++int foo() { return timezone; }
+ int
+ main ()
+ {
+@@ -26062,50 +38872,47 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_var___progname=yes
++  ac_cv_var_timezone=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_var___progname=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_var_timezone=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+ 
+ fi
+ 
+-ac_foo=`eval echo \\$ac_cv_var___progname`
++ac_foo=`eval echo \\$ac_cv_var_timezone`
+ echo "$as_me:$LINENO: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+ 
+ cat >>confdefs.h <<_ACEOF
+-#define HAVE___PROGNAME 1
++#define HAVE_TIMEZONE 1
+ _ACEOF
+ 
+ 
+-echo "$as_me:$LINENO: checking if __progname is properly declared" >&5
+-echo $ECHO_N "checking if __progname is properly declared... $ECHO_C" >&6
+-if test "${ac_cv_var___progname_declaration+set}" = set; then
++echo "$as_me:$LINENO: checking if timezone is properly declared" >&5
++echo $ECHO_N "checking if timezone is properly declared... $ECHO_C" >&6
++if test "${ac_cv_var_timezone_declaration+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-#ifdef HAVE_ERR_H
+-#include <err.h>
+-#endif
+-extern struct { int foo; } __progname;
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <time.h>
++extern struct { int foo; } timezone;
+ int
+ main ()
+ {
+-__progname.foo = 1;
++timezone.foo = 1;
+   ;
+   return 0;
+ }
+@@ -26122,11 +38929,12 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "ac_cv_var___progname_declaration=no"
++  eval "ac_cv_var_timezone_declaration=no"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_var___progname_declaration=yes"
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_var_timezone_declaration=yes"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ 
+@@ -26135,12 +38943,12 @@
+ 
+ 
+ 
+-echo "$as_me:$LINENO: result: $ac_cv_var___progname_declaration" >&5
+-echo "${ECHO_T}$ac_cv_var___progname_declaration" >&6
+-if eval "test \"\$ac_cv_var___progname_declaration\" = yes"; then
++echo "$as_me:$LINENO: result: $ac_cv_var_timezone_declaration" >&5
++echo "${ECHO_T}$ac_cv_var_timezone_declaration" >&6
++if eval "test \"\$ac_cv_var_timezone_declaration\" = yes"; then
+ 
+ cat >>confdefs.h <<\_ACEOF
+-#define HAVE___PROGNAME_DECLARATION 1
++#define HAVE_TIMEZONE_DECLARATION 1
+ _ACEOF
+ 
+ fi
+@@ -26149,161 +38957,121 @@
+ fi
+ 
+ 
+-
+-echo "$as_me:$LINENO: checking if optarg is properly declared" >&5
+-echo $ECHO_N "checking if optarg is properly declared... $ECHO_C" >&6
+-if test "${ac_cv_var_optarg_declaration+set}" = set; then
++echo "$as_me:$LINENO: checking for altzone" >&5
++echo $ECHO_N "checking for altzone... $ECHO_C" >&6
++if test "${ac_cv_var_altzone+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+-cat >conftest.$ac_ext <<_ACEOF
++
++	cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-#include <stdlib.h>
+-#ifdef HAVE_UNISTD_H
+-#include <unistd.h>
+-#endif
+-extern struct { int foo; } optarg;
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <time.h>
++	void * foo() { return &altzone; }
+ int
+ main ()
+ {
+-optarg.foo = 1;
++foo()
+   ;
+   return 0;
+ }
+ _ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
++         { ac_try='test -s conftest$ac_exeext'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "ac_cv_var_optarg_declaration=no"
++  ac_cv_var_altzone=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_var_optarg_declaration=yes"
+-fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
+-
+-fi
+-
+-
+-
+-
+-echo "$as_me:$LINENO: result: $ac_cv_var_optarg_declaration" >&5
+-echo "${ECHO_T}$ac_cv_var_optarg_declaration" >&6
+-if eval "test \"\$ac_cv_var_optarg_declaration\" = yes"; then
+-
+-cat >>confdefs.h <<\_ACEOF
+-#define HAVE_OPTARG_DECLARATION 1
+-_ACEOF
++sed 's/^/| /' conftest.$ac_ext >&5
+ 
++ac_cv_var_altzone=no
+ fi
+-
+-
+-
+-echo "$as_me:$LINENO: checking if optind is properly declared" >&5
+-echo $ECHO_N "checking if optind is properly declared... $ECHO_C" >&6
+-if test "${ac_cv_var_optind_declaration+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++if test "$ac_cv_var_altzone" != yes ; then
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-#include <stdlib.h>
+-#ifdef HAVE_UNISTD_H
+-#include <unistd.h>
+-#endif
+-extern struct { int foo; } optind;
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++extern int altzone;
++int foo() { return altzone; }
+ int
+ main ()
+ {
+-optind.foo = 1;
++foo()
+   ;
+   return 0;
+ }
+ _ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
++         { ac_try='test -s conftest$ac_exeext'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "ac_cv_var_optind_declaration=no"
++  ac_cv_var_altzone=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_var_optind_declaration=yes"
+-fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
++sed 's/^/| /' conftest.$ac_ext >&5
+ 
++ac_cv_var_altzone=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+-
+-
+-
+-
+-echo "$as_me:$LINENO: result: $ac_cv_var_optind_declaration" >&5
+-echo "${ECHO_T}$ac_cv_var_optind_declaration" >&6
+-if eval "test \"\$ac_cv_var_optind_declaration\" = yes"; then
+-
+-cat >>confdefs.h <<\_ACEOF
+-#define HAVE_OPTIND_DECLARATION 1
+-_ACEOF
+ 
+ fi
+ 
++ac_foo=`eval echo \\$ac_cv_var_altzone`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++
++cat >>confdefs.h <<_ACEOF
++#define HAVE_ALTZONE 1
++_ACEOF
+ 
+ 
+-echo "$as_me:$LINENO: checking if opterr is properly declared" >&5
+-echo $ECHO_N "checking if opterr is properly declared... $ECHO_C" >&6
+-if test "${ac_cv_var_opterr_declaration+set}" = set; then
++echo "$as_me:$LINENO: checking if altzone is properly declared" >&5
++echo $ECHO_N "checking if altzone is properly declared... $ECHO_C" >&6
++if test "${ac_cv_var_altzone_declaration+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-#include <stdlib.h>
+-#ifdef HAVE_UNISTD_H
+-#include <unistd.h>
+-#endif
+-extern struct { int foo; } opterr;
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <time.h>
++extern struct { int foo; } altzone;
+ int
+ main ()
+ {
+-opterr.foo = 1;
++altzone.foo = 1;
+   ;
+   return 0;
+ }
+@@ -26320,11 +39088,12 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "ac_cv_var_opterr_declaration=no"
++  eval "ac_cv_var_altzone_declaration=no"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_var_opterr_declaration=yes"
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_var_altzone_declaration=yes"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ 
+@@ -26333,42 +39102,45 @@
+ 
+ 
+ 
+-echo "$as_me:$LINENO: result: $ac_cv_var_opterr_declaration" >&5
+-echo "${ECHO_T}$ac_cv_var_opterr_declaration" >&6
+-if eval "test \"\$ac_cv_var_opterr_declaration\" = yes"; then
++echo "$as_me:$LINENO: result: $ac_cv_var_altzone_declaration" >&5
++echo "${ECHO_T}$ac_cv_var_altzone_declaration" >&6
++if eval "test \"\$ac_cv_var_altzone_declaration\" = yes"; then
+ 
+ cat >>confdefs.h <<\_ACEOF
+-#define HAVE_OPTERR_DECLARATION 1
++#define HAVE_ALTZONE_DECLARATION 1
+ _ACEOF
+ 
+ fi
+ 
+ 
++fi
+ 
+-echo "$as_me:$LINENO: checking if optopt is properly declared" >&5
+-echo $ECHO_N "checking if optopt is properly declared... $ECHO_C" >&6
+-if test "${ac_cv_var_optopt_declaration+set}" = set; then
++
++
++
++cv=`echo "sa_family_t" | sed 'y%./+- %__p__%'`
++echo "$as_me:$LINENO: checking for sa_family_t" >&5
++echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6
++if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-
+-cat >conftest.$ac_ext <<_ACEOF
++  cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <sys/types.h>
++#if STDC_HEADERS
+ #include <stdlib.h>
+-#ifdef HAVE_UNISTD_H
+-#include <unistd.h>
+-#endif
+-extern struct { int foo; } optopt;
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
++#include <stddef.h>
+ #endif
++#include <sys/socket.h>
+ int
+ main ()
+ {
+-optopt.foo = 1;
++sa_family_t foo;
+   ;
+   return 0;
+ }
+@@ -26385,53 +39157,41 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "ac_cv_var_optopt_declaration=no"
++  eval "ac_cv_type_$cv=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_var_optopt_declaration=yes"
+-fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
++sed 's/^/| /' conftest.$ac_ext >&5
+ 
++eval "ac_cv_type_$cv=no"
+ fi
+-
+-
+-
+-
+-echo "$as_me:$LINENO: result: $ac_cv_var_optopt_declaration" >&5
+-echo "${ECHO_T}$ac_cv_var_optopt_declaration" >&6
+-if eval "test \"\$ac_cv_var_optopt_declaration\" = yes"; then
+-
+-cat >>confdefs.h <<\_ACEOF
+-#define HAVE_OPTOPT_DECLARATION 1
+-_ACEOF
+-
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-
+-
+-
+-
+-echo "$as_me:$LINENO: checking if environ is properly declared" >&5
+-echo $ECHO_N "checking if environ is properly declared... $ECHO_C" >&6
+-if test "${ac_cv_var_environ_declaration+set}" = set; then
++ac_foo=`eval echo \\$ac_cv_type_$cv`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++  ac_tr_hdr=HAVE_`echo sa_family_t | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
++if false; then
++	echo "$as_me:$LINENO: checking for sa_family_t" >&5
++echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6
++if test "${ac_cv_type_sa_family_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-
+-cat >conftest.$ac_ext <<_ACEOF
++  cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-#include <stdlib.h>
+-extern struct { int foo; } environ;
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
+ int
+ main ()
+ {
+-environ.foo = 1;
++if ((sa_family_t *) 0)
++  return 0;
++if (sizeof (sa_family_t))
++  return 0;
+   ;
+   return 0;
+ }
+@@ -26448,54 +39208,59 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "ac_cv_var_environ_declaration=no"
++  ac_cv_type_sa_family_t=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_var_environ_declaration=yes"
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_sa_family_t=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+-
+ fi
++echo "$as_me:$LINENO: result: $ac_cv_type_sa_family_t" >&5
++echo "${ECHO_T}$ac_cv_type_sa_family_t" >&6
++if test $ac_cv_type_sa_family_t = yes; then
+ 
++cat >>confdefs.h <<_ACEOF
++#define HAVE_SA_FAMILY_T 1
++_ACEOF
+ 
+ 
++fi
+ 
+-echo "$as_me:$LINENO: result: $ac_cv_var_environ_declaration" >&5
+-echo "${ECHO_T}$ac_cv_var_environ_declaration" >&6
+-if eval "test \"\$ac_cv_var_environ_declaration\" = yes"; then
++fi
+ 
+-cat >>confdefs.h <<\_ACEOF
+-#define HAVE_ENVIRON_DECLARATION 1
++cat >>confdefs.h <<_ACEOF
++#define $ac_tr_hdr 1
+ _ACEOF
+ 
+ fi
+ 
+ 
+ 
+-
+-
+-
+-echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
+-echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
+-if test "${ac_cv_type_struct_tm_tm_gmtoff+set}" = set; then
++cv=`echo "socklen_t" | sed 'y%./+- %__p__%'`
++echo "$as_me:$LINENO: checking for socklen_t" >&5
++echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
++if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-
+-cat >conftest.$ac_ext <<_ACEOF
++  cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-#include <time.h>
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <sys/types.h>
++#if STDC_HEADERS
++#include <stdlib.h>
++#include <stddef.h>
+ #endif
++#include <sys/socket.h>
+ int
+ main ()
+ {
+-struct tm x; x.tm_gmtoff;
++socklen_t foo;
+   ;
+   return 0;
+ }
+@@ -26512,49 +39277,41 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_type_struct_tm_tm_gmtoff=yes
++  eval "ac_cv_type_$cv=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_struct_tm_tm_gmtoff=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_type_$cv=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_type_struct_tm_tm_gmtoff" >&5
+-echo "${ECHO_T}$ac_cv_type_struct_tm_tm_gmtoff" >&6
+-if test "$ac_cv_type_struct_tm_tm_gmtoff" = yes; then
+-
+-
+-cat >>confdefs.h <<\_ACEOF
+-#define HAVE_STRUCT_TM_TM_GMTOFF 1
+-_ACEOF
+-
+-
+-fi
+-
+-
+-
+-
+-echo "$as_me:$LINENO: checking for tm_zone in struct tm" >&5
+-echo $ECHO_N "checking for tm_zone in struct tm... $ECHO_C" >&6
+-if test "${ac_cv_type_struct_tm_tm_zone+set}" = set; then
++ac_foo=`eval echo \\$ac_cv_type_$cv`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++  ac_tr_hdr=HAVE_`echo socklen_t | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
++if false; then
++	echo "$as_me:$LINENO: checking for socklen_t" >&5
++echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
++if test "${ac_cv_type_socklen_t+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-
+-cat >conftest.$ac_ext <<_ACEOF
++  cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-#include <time.h>
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
+ int
+ main ()
+ {
+-struct tm x; x.tm_zone;
++if ((socklen_t *) 0)
++  return 0;
++if (sizeof (socklen_t))
++  return 0;
+   ;
+   return 0;
+ }
+@@ -26571,149 +39328,179 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_type_struct_tm_tm_zone=yes
++  ac_cv_type_socklen_t=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_struct_tm_tm_zone=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_socklen_t=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_type_struct_tm_tm_zone" >&5
+-echo "${ECHO_T}$ac_cv_type_struct_tm_tm_zone" >&6
+-if test "$ac_cv_type_struct_tm_tm_zone" = yes; then
+-
++echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
++echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
++if test $ac_cv_type_socklen_t = yes; then
+ 
+-cat >>confdefs.h <<\_ACEOF
+-#define HAVE_STRUCT_TM_TM_ZONE 1
++cat >>confdefs.h <<_ACEOF
++#define HAVE_SOCKLEN_T 1
+ _ACEOF
+ 
+ 
+ fi
+ 
++fi
+ 
++cat >>confdefs.h <<_ACEOF
++#define $ac_tr_hdr 1
++_ACEOF
+ 
++fi
+ 
+ 
+-echo "$as_me:$LINENO: checking for timezone" >&5
+-echo $ECHO_N "checking for timezone... $ECHO_C" >&6
+-if test "${ac_cv_var_timezone+set}" = set; then
++
++cv=`echo "struct sockaddr" | sed 'y%./+- %__p__%'`
++echo "$as_me:$LINENO: checking for struct sockaddr" >&5
++echo $ECHO_N "checking for struct sockaddr... $ECHO_C" >&6
++if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-
+-
+-	cat >conftest.$ac_ext <<_ACEOF
++  cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-#include <time.h>
+-	void * foo() { return &timezone; }
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <sys/types.h>
++#if STDC_HEADERS
++#include <stdlib.h>
++#include <stddef.h>
+ #endif
++#include <sys/socket.h>
+ int
+ main ()
+ {
+-foo()
++struct sockaddr foo;
+   ;
+   return 0;
+ }
+ _ACEOF
+-rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
++         { ac_try='test -s conftest.$ac_objext'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_var_timezone=yes
++  eval "ac_cv_type_$cv=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_var_timezone=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_type_$cv=no"
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+-if test "$ac_cv_var_timezone" != yes ; then
+-cat >conftest.$ac_ext <<_ACEOF
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++ac_foo=`eval echo \\$ac_cv_type_$cv`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++  ac_tr_hdr=HAVE_`echo struct sockaddr | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
++if false; then
++	echo "$as_me:$LINENO: checking for struct sockaddr" >&5
++echo $ECHO_N "checking for struct sockaddr... $ECHO_C" >&6
++if test "${ac_cv_type_struct_sockaddr+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-extern int timezone;
+-int foo() { return timezone; }
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
+ int
+ main ()
+ {
+-foo()
++if ((struct sockaddr *) 0)
++  return 0;
++if (sizeof (struct sockaddr))
++  return 0;
+   ;
+   return 0;
+ }
+ _ACEOF
+-rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
++         { ac_try='test -s conftest.$ac_objext'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_var_timezone=yes
++  ac_cv_type_struct_sockaddr=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_var_timezone=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_struct_sockaddr=no
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_sockaddr" >&5
++echo "${ECHO_T}$ac_cv_type_struct_sockaddr" >&6
++if test $ac_cv_type_struct_sockaddr = yes; then
++
++cat >>confdefs.h <<_ACEOF
++#define HAVE_STRUCT_SOCKADDR 1
++_ACEOF
++
+ 
+ fi
+ 
+-ac_foo=`eval echo \\$ac_cv_var_timezone`
+-echo "$as_me:$LINENO: result: $ac_foo" >&5
+-echo "${ECHO_T}$ac_foo" >&6
+-if test "$ac_foo" = yes; then
++fi
+ 
+ cat >>confdefs.h <<_ACEOF
+-#define HAVE_TIMEZONE 1
++#define $ac_tr_hdr 1
+ _ACEOF
+ 
++fi
++
+ 
+-echo "$as_me:$LINENO: checking if timezone is properly declared" >&5
+-echo $ECHO_N "checking if timezone is properly declared... $ECHO_C" >&6
+-if test "${ac_cv_var_timezone_declaration+set}" = set; then
++
++cv=`echo "struct sockaddr_storage" | sed 'y%./+- %__p__%'`
++echo "$as_me:$LINENO: checking for struct sockaddr_storage" >&5
++echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6
++if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-
+-cat >conftest.$ac_ext <<_ACEOF
++  cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-#include <time.h>
+-extern struct { int foo; } timezone;
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <sys/types.h>
++#if STDC_HEADERS
++#include <stdlib.h>
++#include <stddef.h>
+ #endif
++#include <sys/socket.h>
+ int
+ main ()
+ {
+-timezone.foo = 1;
++struct sockaddr_storage foo;
+   ;
+   return 0;
+ }
+@@ -26730,152 +39517,161 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "ac_cv_var_timezone_declaration=no"
++  eval "ac_cv_type_$cv=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_var_timezone_declaration=yes"
+-fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
+-
+-fi
+-
+-
+-
+-
+-echo "$as_me:$LINENO: result: $ac_cv_var_timezone_declaration" >&5
+-echo "${ECHO_T}$ac_cv_var_timezone_declaration" >&6
+-if eval "test \"\$ac_cv_var_timezone_declaration\" = yes"; then
+-
+-cat >>confdefs.h <<\_ACEOF
+-#define HAVE_TIMEZONE_DECLARATION 1
+-_ACEOF
++sed 's/^/| /' conftest.$ac_ext >&5
+ 
++eval "ac_cv_type_$cv=no"
+ fi
+-
+-
++rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-
+-
+-echo "$as_me:$LINENO: checking for altzone" >&5
+-echo $ECHO_N "checking for altzone... $ECHO_C" >&6
+-if test "${ac_cv_var_altzone+set}" = set; then
++ac_foo=`eval echo \\$ac_cv_type_$cv`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++  ac_tr_hdr=HAVE_`echo struct sockaddr_storage | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
++if false; then
++	echo "$as_me:$LINENO: checking for struct sockaddr_storage" >&5
++echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6
++if test "${ac_cv_type_struct_sockaddr_storage+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-
+-
+-	cat >conftest.$ac_ext <<_ACEOF
++  cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-#include <time.h>
+-	void * foo() { return &altzone; }
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
+ int
+ main ()
+ {
+-foo()
++if ((struct sockaddr_storage *) 0)
++  return 0;
++if (sizeof (struct sockaddr_storage))
++  return 0;
+   ;
+   return 0;
+ }
+ _ACEOF
+-rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
++         { ac_try='test -s conftest.$ac_objext'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_var_altzone=yes
++  ac_cv_type_struct_sockaddr_storage=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_var_altzone=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_struct_sockaddr_storage=no
+ fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+-if test "$ac_cv_var_altzone" != yes ; then
+-cat >conftest.$ac_ext <<_ACEOF
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_sockaddr_storage" >&5
++echo "${ECHO_T}$ac_cv_type_struct_sockaddr_storage" >&6
++if test $ac_cv_type_struct_sockaddr_storage = yes; then
++
++cat >>confdefs.h <<_ACEOF
++#define HAVE_STRUCT_SOCKADDR_STORAGE 1
++_ACEOF
++
++
++fi
++
++fi
++
++cat >>confdefs.h <<_ACEOF
++#define $ac_tr_hdr 1
++_ACEOF
++
++fi
++
++
++
++cv=`echo "struct addrinfo" | sed 'y%./+- %__p__%'`
++echo "$as_me:$LINENO: checking for struct addrinfo" >&5
++echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6
++if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-extern int altzone;
+-int foo() { return altzone; }
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <sys/types.h>
++#if STDC_HEADERS
++#include <stdlib.h>
++#include <stddef.h>
+ #endif
++#include <netdb.h>
+ int
+ main ()
+ {
+-foo()
++struct addrinfo foo;
+   ;
+   return 0;
+ }
+ _ACEOF
+-rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-         { ac_try='test -s conftest$ac_exeext'
++         { ac_try='test -s conftest.$ac_objext'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_var_altzone=yes
++  eval "ac_cv_type_$cv=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_var_altzone=no
+-fi
+-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+-fi
++sed 's/^/| /' conftest.$ac_ext >&5
+ 
++eval "ac_cv_type_$cv=no"
+ fi
+-
+-ac_foo=`eval echo \\$ac_cv_var_altzone`
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++ac_foo=`eval echo \\$ac_cv_type_$cv`
+ echo "$as_me:$LINENO: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+-
+-cat >>confdefs.h <<_ACEOF
+-#define HAVE_ALTZONE 1
+-_ACEOF
+-
+-
+-echo "$as_me:$LINENO: checking if altzone is properly declared" >&5
+-echo $ECHO_N "checking if altzone is properly declared... $ECHO_C" >&6
+-if test "${ac_cv_var_altzone_declaration+set}" = set; then
++  ac_tr_hdr=HAVE_`echo struct addrinfo | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
++if false; then
++	echo "$as_me:$LINENO: checking for struct addrinfo" >&5
++echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6
++if test "${ac_cv_type_struct_addrinfo+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-
+-cat >conftest.$ac_ext <<_ACEOF
++  cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-#include <time.h>
+-extern struct { int foo; } altzone;
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
+ int
+ main ()
+ {
+-altzone.foo = 1;
++if ((struct addrinfo *) 0)
++  return 0;
++if (sizeof (struct addrinfo))
++  return 0;
+   ;
+   return 0;
+ }
+@@ -26892,60 +39688,59 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "ac_cv_var_altzone_declaration=no"
++  ac_cv_type_struct_addrinfo=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_var_altzone_declaration=yes"
+-fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
++sed 's/^/| /' conftest.$ac_ext >&5
+ 
++ac_cv_type_struct_addrinfo=no
+ fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_addrinfo" >&5
++echo "${ECHO_T}$ac_cv_type_struct_addrinfo" >&6
++if test $ac_cv_type_struct_addrinfo = yes; then
+ 
++cat >>confdefs.h <<_ACEOF
++#define HAVE_STRUCT_ADDRINFO 1
++_ACEOF
+ 
+ 
+-
+-echo "$as_me:$LINENO: result: $ac_cv_var_altzone_declaration" >&5
+-echo "${ECHO_T}$ac_cv_var_altzone_declaration" >&6
+-if eval "test \"\$ac_cv_var_altzone_declaration\" = yes"; then
+-
+-cat >>confdefs.h <<\_ACEOF
+-#define HAVE_ALTZONE_DECLARATION 1
+-_ACEOF
++fi
+ 
+ fi
+ 
++cat >>confdefs.h <<_ACEOF
++#define $ac_tr_hdr 1
++_ACEOF
+ 
+ fi
+ 
+ 
+ 
+-
+-cv=`echo "sa_family_t" | sed 'y%./+- %__p__%'`
+-echo "$as_me:$LINENO: checking for sa_family_t" >&5
+-echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6
++cv=`echo "struct ifaddrs" | sed 'y%./+- %__p__%'`
++echo "$as_me:$LINENO: checking for struct ifaddrs" >&5
++echo $ECHO_N "checking for struct ifaddrs... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ #include <sys/types.h>
+ #if STDC_HEADERS
+ #include <stdlib.h>
+ #include <stddef.h>
+ #endif
+-#include <sys/socket.h>
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
++#include <ifaddrs.h>
+ int
+ main ()
+ {
+-sa_family_t foo;
++struct ifaddrs foo;
+   ;
+   return 0;
+ }
+@@ -26965,7 +39760,8 @@
+   eval "ac_cv_type_$cv=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ eval "ac_cv_type_$cv=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+@@ -26974,29 +39770,27 @@
+ echo "$as_me:$LINENO: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+-  ac_tr_hdr=HAVE_`echo sa_family_t | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
++  ac_tr_hdr=HAVE_`echo struct ifaddrs | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:$LINENO: checking for sa_family_t" >&5
+-echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6
+-if test "${ac_cv_type_sa_family_t+set}" = set; then
++	echo "$as_me:$LINENO: checking for struct ifaddrs" >&5
++echo $ECHO_N "checking for struct ifaddrs... $ECHO_C" >&6
++if test "${ac_cv_type_struct_ifaddrs+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ $ac_includes_default
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+-if ((sa_family_t *) 0)
++if ((struct ifaddrs *) 0)
+   return 0;
+-if (sizeof (sa_family_t))
++if (sizeof (struct ifaddrs))
+   return 0;
+   ;
+   return 0;
+@@ -27014,20 +39808,21 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_type_sa_family_t=yes
++  ac_cv_type_struct_ifaddrs=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_sa_family_t=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_struct_ifaddrs=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_type_sa_family_t" >&5
+-echo "${ECHO_T}$ac_cv_type_sa_family_t" >&6
+-if test $ac_cv_type_sa_family_t = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_ifaddrs" >&5
++echo "${ECHO_T}$ac_cv_type_struct_ifaddrs" >&6
++if test $ac_cv_type_struct_ifaddrs = yes; then
+ 
+ cat >>confdefs.h <<_ACEOF
+-#define HAVE_SA_FAMILY_T 1
++#define HAVE_STRUCT_IFADDRS 1
+ _ACEOF
+ 
+ 
+@@ -27043,31 +39838,32 @@
+ 
+ 
+ 
+-cv=`echo "socklen_t" | sed 'y%./+- %__p__%'`
+-echo "$as_me:$LINENO: checking for socklen_t" >&5
+-echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
++cv=`echo "struct iovec" | sed 'y%./+- %__p__%'`
++echo "$as_me:$LINENO: checking for struct iovec" >&5
++echo $ECHO_N "checking for struct iovec... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ #include <sys/types.h>
+ #if STDC_HEADERS
+ #include <stdlib.h>
+ #include <stddef.h>
+ #endif
+-#include <sys/socket.h>
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
++
++#include <sys/types.h>
++#include <sys/uio.h>
++
+ int
+ main ()
+ {
+-socklen_t foo;
++struct iovec foo;
+   ;
+   return 0;
+ }
+@@ -27087,7 +39883,8 @@
+   eval "ac_cv_type_$cv=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ eval "ac_cv_type_$cv=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+@@ -27096,29 +39893,27 @@
+ echo "$as_me:$LINENO: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+-  ac_tr_hdr=HAVE_`echo socklen_t | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
++  ac_tr_hdr=HAVE_`echo struct iovec | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:$LINENO: checking for socklen_t" >&5
+-echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
+-if test "${ac_cv_type_socklen_t+set}" = set; then
++	echo "$as_me:$LINENO: checking for struct iovec" >&5
++echo $ECHO_N "checking for struct iovec... $ECHO_C" >&6
++if test "${ac_cv_type_struct_iovec+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ $ac_includes_default
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+-if ((socklen_t *) 0)
++if ((struct iovec *) 0)
+   return 0;
+-if (sizeof (socklen_t))
++if (sizeof (struct iovec))
+   return 0;
+   ;
+   return 0;
+@@ -27136,20 +39931,21 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_type_socklen_t=yes
++  ac_cv_type_struct_iovec=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_socklen_t=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_struct_iovec=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
+-echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
+-if test $ac_cv_type_socklen_t = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_iovec" >&5
++echo "${ECHO_T}$ac_cv_type_struct_iovec" >&6
++if test $ac_cv_type_struct_iovec = yes; then
+ 
+ cat >>confdefs.h <<_ACEOF
+-#define HAVE_SOCKLEN_T 1
++#define HAVE_STRUCT_IOVEC 1
+ _ACEOF
+ 
+ 
+@@ -27165,31 +39961,32 @@
+ 
+ 
+ 
+-cv=`echo "struct sockaddr" | sed 'y%./+- %__p__%'`
+-echo "$as_me:$LINENO: checking for struct sockaddr" >&5
+-echo $ECHO_N "checking for struct sockaddr... $ECHO_C" >&6
++cv=`echo "struct msghdr" | sed 'y%./+- %__p__%'`
++echo "$as_me:$LINENO: checking for struct msghdr" >&5
++echo $ECHO_N "checking for struct msghdr... $ECHO_C" >&6
+ if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ #include <sys/types.h>
+ #if STDC_HEADERS
+ #include <stdlib.h>
+ #include <stddef.h>
+ #endif
++
++#include <sys/types.h>
+ #include <sys/socket.h>
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
++
+ int
+ main ()
+ {
+-struct sockaddr foo;
++struct msghdr foo;
+   ;
+   return 0;
+ }
+@@ -27209,7 +40006,8 @@
+   eval "ac_cv_type_$cv=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ eval "ac_cv_type_$cv=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+@@ -27218,29 +40016,27 @@
+ echo "$as_me:$LINENO: result: $ac_foo" >&5
+ echo "${ECHO_T}$ac_foo" >&6
+ if test "$ac_foo" = yes; then
+-  ac_tr_hdr=HAVE_`echo struct sockaddr | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
++  ac_tr_hdr=HAVE_`echo struct msghdr | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+ if false; then
+-	echo "$as_me:$LINENO: checking for struct sockaddr" >&5
+-echo $ECHO_N "checking for struct sockaddr... $ECHO_C" >&6
+-if test "${ac_cv_type_struct_sockaddr+set}" = set; then
++	echo "$as_me:$LINENO: checking for struct msghdr" >&5
++echo $ECHO_N "checking for struct msghdr... $ECHO_C" >&6
++if test "${ac_cv_type_struct_msghdr+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ $ac_includes_default
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+-if ((struct sockaddr *) 0)
++if ((struct msghdr *) 0)
+   return 0;
+-if (sizeof (struct sockaddr))
++if (sizeof (struct msghdr))
+   return 0;
+   ;
+   return 0;
+@@ -27258,20 +40054,21 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_type_struct_sockaddr=yes
++  ac_cv_type_struct_msghdr=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_struct_sockaddr=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_struct_msghdr=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_type_struct_sockaddr" >&5
+-echo "${ECHO_T}$ac_cv_type_struct_sockaddr" >&6
+-if test $ac_cv_type_struct_sockaddr = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_msghdr" >&5
++echo "${ECHO_T}$ac_cv_type_struct_msghdr" >&6
++if test $ac_cv_type_struct_msghdr = yes; then
+ 
+ cat >>confdefs.h <<_ACEOF
+-#define HAVE_STRUCT_SOCKADDR 1
++#define HAVE_STRUCT_MSGHDR 1
+ _ACEOF
+ 
+ 
+@@ -27287,31 +40084,108 @@
+ 
+ 
+ 
+-cv=`echo "struct sockaddr_storage" | sed 'y%./+- %__p__%'`
+-echo "$as_me:$LINENO: checking for struct sockaddr_storage" >&5
+-echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6
+-if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
++
++echo "$as_me:$LINENO: checking for struct winsize" >&5
++echo $ECHO_N "checking for struct winsize... $ECHO_C" >&6
++if test "${ac_cv_struct_winsize+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+-  cat >conftest.$ac_ext <<_ACEOF
++
++ac_cv_struct_winsize=no
++for i in sys/termios.h sys/ioctl.h; do
++cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-#include <sys/types.h>
+-#if STDC_HEADERS
+-#include <stdlib.h>
+-#include <stddef.h>
+-#endif
+-#include <sys/socket.h>
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <$i>
++
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  $EGREP "struct[ 	]*winsize" >/dev/null 2>&1; then
++  ac_cv_struct_winsize=yes; break
++fi
++rm -f conftest*
++done
++
++fi
++
++if test "$ac_cv_struct_winsize" = "yes"; then
++
++cat >>confdefs.h <<\_ACEOF
++#define HAVE_STRUCT_WINSIZE 1
++_ACEOF
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_struct_winsize" >&5
++echo "${ECHO_T}$ac_cv_struct_winsize" >&6
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <termios.h>
++
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  $EGREP "ws_xpixel" >/dev/null 2>&1; then
++
++cat >>confdefs.h <<\_ACEOF
++#define HAVE_WS_XPIXEL 1
++_ACEOF
++
++fi
++rm -f conftest*
++
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <termios.h>
++
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  $EGREP "ws_ypixel" >/dev/null 2>&1; then
++
++cat >>confdefs.h <<\_ACEOF
++#define HAVE_WS_YPIXEL 1
++_ACEOF
++
++fi
++rm -f conftest*
++
++
++
++
++
++echo "$as_me:$LINENO: checking for struct spwd" >&5
++echo $ECHO_N "checking for struct spwd... $ECHO_C" >&6
++if test "${ac_cv_struct_spwd+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <pwd.h>
++#ifdef HAVE_SHADOW_H
++#include <shadow.h>
+ #endif
+ int
+ main ()
+ {
+-struct sockaddr_storage foo;
++struct spwd foo;
+   ;
+   return 0;
+ }
+@@ -27328,234 +40202,415 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "ac_cv_type_$cv=yes"
++  ac_cv_struct_spwd=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_type_$cv=no"
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_struct_spwd=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
++
+ fi
+-ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:$LINENO: result: $ac_foo" >&5
+-echo "${ECHO_T}$ac_foo" >&6
+-if test "$ac_foo" = yes; then
+-  ac_tr_hdr=HAVE_`echo struct sockaddr_storage | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+-if false; then
+-	echo "$as_me:$LINENO: checking for struct sockaddr_storage" >&5
+-echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6
+-if test "${ac_cv_type_struct_sockaddr_storage+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
++
++echo "$as_me:$LINENO: result: $ac_cv_struct_spwd" >&5
++echo "${ECHO_T}$ac_cv_struct_spwd" >&6
++
++if test "$ac_cv_struct_spwd" = "yes"; then
++
++cat >>confdefs.h <<\_ACEOF
++#define HAVE_STRUCT_SPWD 1
++_ACEOF
++
++fi
++
++
++
++
++
++#fi
++LIB_roken="\$(top_builddir)/lib/vers/libvers.la $LIB_roken"
++
++
++# Check whether --enable-otp or --disable-otp was given.
++if test "${enable_otp+set}" = set; then
++  enableval="$enable_otp"
++
++fi;
++if test "$enable_otp" = yes -a "$db_type" = unknown; then
++	{ { echo "$as_me:$LINENO: error: OTP requires a NDBM/DB compatible library" >&5
++echo "$as_me: error: OTP requires a NDBM/DB compatible library" >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test "$enable_otp" != no; then
++	if test "$db_type" != unknown; then
++		enable_otp=yes
++	else
++		enable_otp=no
++	fi
++fi
++if test "$enable_otp" = yes; then
++
++cat >>confdefs.h <<\_ACEOF
++#define OTP 1
++_ACEOF
++
++fi
++echo "$as_me:$LINENO: checking whether to enable OTP library" >&5
++echo $ECHO_N "checking whether to enable OTP library... $ECHO_C" >&6
++echo "$as_me:$LINENO: result: $enable_otp" >&5
++echo "${ECHO_T}$enable_otp" >&6
++
++
++if test "$enable_otp" = yes; then
++  OTP_TRUE=
++  OTP_FALSE='#'
+ else
+-  cat >conftest.$ac_ext <<_ACEOF
+-#line $LINENO "configure"
+-#include "confdefs.h"
+-$ac_includes_default
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
+-if ((struct sockaddr_storage *) 0)
+-  return 0;
+-if (sizeof (struct sockaddr_storage))
+-  return 0;
+-  ;
+-  return 0;
+-}
++  OTP_TRUE='#'
++  OTP_FALSE=
++fi
++
++
++
++# Check whether --enable-osfc2 or --disable-osfc2 was given.
++if test "${enable_osfc2+set}" = set; then
++  enableval="$enable_osfc2"
++
++fi;
++LIB_security=
++if test "$enable_osfc2" = yes; then
++
++cat >>confdefs.h <<\_ACEOF
++#define HAVE_OSFC2 1
+ _ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
+-  ac_cv_type_struct_sockaddr_storage=yes
++
++	LIB_security=-lsecurity
++fi
++
++
++
++# Check whether --enable-mmap or --disable-mmap was given.
++if test "${enable_mmap+set}" = set; then
++  enableval="$enable_mmap"
++
++fi;
++if test "$enable_mmap" = "no"; then
++
++cat >>confdefs.h <<\_ACEOF
++#define NO_MMAP 1
++_ACEOF
++
++fi
++
++# Extract the first word of "nroff", so it can be a program name with args.
++set dummy nroff; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_path_NROFF+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  case $NROFF in
++  [\\/]* | ?:[\\/]*)
++  ac_cv_path_NROFF="$NROFF" # Let the user override the test with a path.
++  ;;
++  *)
++  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_path_NROFF="$as_dir/$ac_word$ac_exec_ext"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++  ;;
++esac
++fi
++NROFF=$ac_cv_path_NROFF
++
++if test -n "$NROFF"; then
++  echo "$as_me:$LINENO: result: $NROFF" >&5
++echo "${ECHO_T}$NROFF" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++# Extract the first word of "groff", so it can be a program name with args.
++set dummy groff; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_path_GROFF+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  case $GROFF in
++  [\\/]* | ?:[\\/]*)
++  ac_cv_path_GROFF="$GROFF" # Let the user override the test with a path.
++  ;;
++  *)
++  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_path_GROFF="$as_dir/$ac_word$ac_exec_ext"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++  ;;
++esac
++fi
++GROFF=$ac_cv_path_GROFF
++
++if test -n "$GROFF"; then
++  echo "$as_me:$LINENO: result: $GROFF" >&5
++echo "${ECHO_T}$GROFF" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++echo "$as_me:$LINENO: checking how to format man pages" >&5
++echo $ECHO_N "checking how to format man pages... $ECHO_C" >&6
++if test "${ac_cv_sys_man_format+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat > conftest.1 << END
++.Dd January 1, 1970
++.Dt CONFTEST 1
++.Sh NAME
++.Nm conftest
++.Nd
++foobar
++END
++
++if test "$NROFF" ; then
++	for i in "-mdoc" "-mandoc"; do
++		if "$NROFF" $i conftest.1 2> /dev/null | \
++			grep Jan > /dev/null 2>&1 ; then
++			ac_cv_sys_man_format="$NROFF $i"
++			break
++		fi
++	done
++fi
++if test "$ac_cv_sys_man_format" = "" -a "$GROFF" ; then
++	for i in "-mdoc" "-mandoc"; do
++		if "$GROFF" -Tascii $i conftest.1 2> /dev/null | \
++			grep Jan > /dev/null 2>&1 ; then
++			ac_cv_sys_man_format="$GROFF -Tascii $i"
++			break
++		fi
++	done
++fi
++if test "$ac_cv_sys_man_format"; then
++	ac_cv_sys_man_format="$ac_cv_sys_man_format \$< > \$@"
++fi
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_sys_man_format" >&5
++echo "${ECHO_T}$ac_cv_sys_man_format" >&6
++if test "$ac_cv_sys_man_format"; then
++	CATMAN="$ac_cv_sys_man_format"
++
++fi
++
++
++if test "$CATMAN"; then
++  CATMAN_TRUE=
++  CATMAN_FALSE='#'
++else
++  CATMAN_TRUE='#'
++  CATMAN_FALSE=
++fi
++
++echo "$as_me:$LINENO: checking extension of pre-formatted manual pages" >&5
++echo $ECHO_N "checking extension of pre-formatted manual pages... $ECHO_C" >&6
++if test "${ac_cv_sys_catman_ext+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if grep _suffix /etc/man.conf > /dev/null 2>&1; then
++	ac_cv_sys_catman_ext=0
+ else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_struct_sockaddr_storage=no
++	ac_cv_sys_catman_ext=number
+ fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_sys_catman_ext" >&5
++echo "${ECHO_T}$ac_cv_sys_catman_ext" >&6
++if test "$ac_cv_sys_catman_ext" = number; then
++	CATMANEXT='$$section'
++else
++	CATMANEXT=0
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_type_struct_sockaddr_storage" >&5
+-echo "${ECHO_T}$ac_cv_type_struct_sockaddr_storage" >&6
+-if test $ac_cv_type_struct_sockaddr_storage = yes; then
+ 
+-cat >>confdefs.h <<_ACEOF
+-#define HAVE_STRUCT_SOCKADDR_STORAGE 1
+-_ACEOF
+ 
+ 
++
++
++# Check whether --with-readline or --without-readline was given.
++if test "${with_readline+set}" = set; then
++  withval="$with_readline"
++
++fi;
++
++# Check whether --with-readline-lib or --without-readline-lib was given.
++if test "${with_readline_lib+set}" = set; then
++  withval="$with_readline_lib"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-readline-lib" >&5
++echo "$as_me: error: No argument for --with-readline-lib" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_readline" = "X"; then
++  with_readline=yes
+ fi
++fi;
+ 
++# Check whether --with-readline-include or --without-readline-include was given.
++if test "${with_readline_include+set}" = set; then
++  withval="$with_readline_include"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-readline-include" >&5
++echo "$as_me: error: No argument for --with-readline-include" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_readline" = "X"; then
++  with_readline=yes
+ fi
++fi;
+ 
+-cat >>confdefs.h <<_ACEOF
+-#define $ac_tr_hdr 1
+-_ACEOF
++# Check whether --with-readline-config or --without-readline-config was given.
++if test "${with_readline_config+set}" = set; then
++  withval="$with_readline_config"
+ 
+-fi
++fi;
+ 
+ 
+ 
+-cv=`echo "struct addrinfo" | sed 'y%./+- %__p__%'`
+-echo "$as_me:$LINENO: checking for struct addrinfo" >&5
+-echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6
+-if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  cat >conftest.$ac_ext <<_ACEOF
+-#line $LINENO "configure"
+-#include "confdefs.h"
+-#include <sys/types.h>
+-#if STDC_HEADERS
+-#include <stdlib.h>
+-#include <stddef.h>
+-#endif
+-#include <netdb.h>
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
+-struct addrinfo foo;
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
+-  eval "ac_cv_type_$cv=yes"
+-else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_type_$cv=no"
++echo "$as_me:$LINENO: checking for readline" >&5
++echo $ECHO_N "checking for readline... $ECHO_C" >&6
++
++case "$with_readline" in
++yes|"") d='' ;;
++no)	d= ;;
++*)	d="$with_readline" ;;
++esac
++
++header_dirs=
++lib_dirs=
++for i in $d /usr; do
++	if test "$with_readline_include" = ""; then
++		if test -d "$i/include/readline"; then
++			header_dirs="$header_dirs $i/include/readline"
++		fi
++		if test -d "$i/include"; then
++			header_dirs="$header_dirs $i/include"
++		fi
++	fi
++	if test "$with_readline_lib" = ""; then
++		if test -d "$i/lib$abilibdirext"; then
++			lib_dirs="$lib_dirs $i/lib$abilibdirext"
++		fi
++	fi
++done
++
++if test "$with_readline_include"; then
++	header_dirs="$with_readline_include $header_dirs"
+ fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
++if test "$with_readline_lib"; then
++	lib_dirs="$with_readline_lib $lib_dirs"
+ fi
+-ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:$LINENO: result: $ac_foo" >&5
+-echo "${ECHO_T}$ac_foo" >&6
+-if test "$ac_foo" = yes; then
+-  ac_tr_hdr=HAVE_`echo struct addrinfo | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+-if false; then
+-	echo "$as_me:$LINENO: checking for struct addrinfo" >&5
+-echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6
+-if test "${ac_cv_type_struct_addrinfo+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  cat >conftest.$ac_ext <<_ACEOF
++
++if test "$with_readline_config" = ""; then
++	with_readline_config=''
++fi
++
++readline_cflags=
++readline_libs=
++
++case "$with_readline_config" in
++yes|no|"")
++	;;
++*)
++	readline_cflags="`$with_readline_config --cflags 2>&1`"
++	readline_libs="`$with_readline_config --libs 2>&1`"
++	;;
++esac
++
++found=no
++if test "$with_readline" != no; then
++	save_CFLAGS="$CFLAGS"
++	save_LIBS="$LIBS"
++	if test "$readline_cflags" -a "$readline_libs"; then
++		CFLAGS="$readline_cflags $save_CFLAGS"
++		LIBS="$readline_libs $save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-$ac_includes_default
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdio.h>
++ #include <readline.h>
+ int
+ main ()
+ {
+-if ((struct addrinfo *) 0)
+-  return 0;
+-if (sizeof (struct addrinfo))
+-  return 0;
++
+   ;
+   return 0;
+ }
+ _ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
++         { ac_try='test -s conftest$ac_exeext'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_type_struct_addrinfo=yes
++
++			INCLUDE_readline="$readline_cflags"
++			LIB_readline="$readline_libs"
++			echo "$as_me:$LINENO: result: from $with_readline_config" >&5
++echo "${ECHO_T}from $with_readline_config" >&6
++			found=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_struct_addrinfo=no
+-fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
+-fi
+-echo "$as_me:$LINENO: result: $ac_cv_type_struct_addrinfo" >&5
+-echo "${ECHO_T}$ac_cv_type_struct_addrinfo" >&6
+-if test $ac_cv_type_struct_addrinfo = yes; then
+-
+-cat >>confdefs.h <<_ACEOF
+-#define HAVE_STRUCT_ADDRINFO 1
+-_ACEOF
+-
+-
+-fi
+-
+-fi
+-
+-cat >>confdefs.h <<_ACEOF
+-#define $ac_tr_hdr 1
+-_ACEOF
++sed 's/^/| /' conftest.$ac_ext >&5
+ 
+ fi
+-
+-
+-
+-cv=`echo "struct ifaddrs" | sed 'y%./+- %__p__%'`
+-echo "$as_me:$LINENO: checking for struct ifaddrs" >&5
+-echo $ECHO_N "checking for struct ifaddrs... $ECHO_C" >&6
+-if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  cat >conftest.$ac_ext <<_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	fi
++	if test "$found" = no; then
++		ires= lres=
++		for i in $header_dirs; do
++			CFLAGS="-I$i $save_CFLAGS"
++			cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-#include <sys/types.h>
+-#if STDC_HEADERS
+-#include <stdlib.h>
+-#include <stddef.h>
+-#endif
+-#include <ifaddrs.h>
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdio.h>
++ #include <readline.h>
+ int
+ main ()
+ {
+-struct ifaddrs foo;
++
+   ;
+   return 0;
+ }
+@@ -27572,240 +40627,241 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "ac_cv_type_$cv=yes"
++  ires=$i;break
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_type_$cv=no"
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+-fi
+-ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:$LINENO: result: $ac_foo" >&5
+-echo "${ECHO_T}$ac_foo" >&6
+-if test "$ac_foo" = yes; then
+-  ac_tr_hdr=HAVE_`echo struct ifaddrs | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+-if false; then
+-	echo "$as_me:$LINENO: checking for struct ifaddrs" >&5
+-echo $ECHO_N "checking for struct ifaddrs... $ECHO_C" >&6
+-if test "${ac_cv_type_struct_ifaddrs+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  cat >conftest.$ac_ext <<_ACEOF
++		done
++		for i in $lib_dirs; do
++			LIBS="-L$i -lreadline  $save_LIBS"
++			cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-$ac_includes_default
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdio.h>
++ #include <readline.h>
+ int
+ main ()
+ {
+-if ((struct ifaddrs *) 0)
+-  return 0;
+-if (sizeof (struct ifaddrs))
+-  return 0;
++
+   ;
+   return 0;
+ }
+ _ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
++         { ac_try='test -s conftest$ac_exeext'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_type_struct_ifaddrs=yes
++  lres=$i;break
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_struct_ifaddrs=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++		done
++		if test "$ires" -a "$lres" -a "$with_readline" != "no"; then
++			DIR_readline=
++			INCLUDE_readline="-I$ires"
++			LIB_readline="-L$lres -lreadline "
++			found=yes
++			echo "$as_me:$LINENO: result: headers $ires, libraries $lres" >&5
++echo "${ECHO_T}headers $ires, libraries $lres" >&6
++		fi
++	fi
++	CFLAGS="$save_CFLAGS"
++	LIBS="$save_LIBS"
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_type_struct_ifaddrs" >&5
+-echo "${ECHO_T}$ac_cv_type_struct_ifaddrs" >&6
+-if test $ac_cv_type_struct_ifaddrs = yes; then
++
++if test "$found" = yes; then
+ 
+ cat >>confdefs.h <<_ACEOF
+-#define HAVE_STRUCT_IFADDRS 1
++#define READLINE 1
+ _ACEOF
+ 
++	with_readline=yes
++else
++	with_readline=no
++	DIR_readline=
++	INCLUDE_readline=
++	LIB_readline=
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++
++
++
+ 
++
++
++
++# Check whether --with-hesiod or --without-hesiod was given.
++if test "${with_hesiod+set}" = set; then
++  withval="$with_hesiod"
++
++fi;
++
++# Check whether --with-hesiod-lib or --without-hesiod-lib was given.
++if test "${with_hesiod_lib+set}" = set; then
++  withval="$with_hesiod_lib"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-hesiod-lib" >&5
++echo "$as_me: error: No argument for --with-hesiod-lib" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_hesiod" = "X"; then
++  with_hesiod=yes
+ fi
++fi;
+ 
++# Check whether --with-hesiod-include or --without-hesiod-include was given.
++if test "${with_hesiod_include+set}" = set; then
++  withval="$with_hesiod_include"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-hesiod-include" >&5
++echo "$as_me: error: No argument for --with-hesiod-include" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_hesiod" = "X"; then
++  with_hesiod=yes
+ fi
++fi;
+ 
+-cat >>confdefs.h <<_ACEOF
+-#define $ac_tr_hdr 1
+-_ACEOF
++# Check whether --with-hesiod-config or --without-hesiod-config was given.
++if test "${with_hesiod_config+set}" = set; then
++  withval="$with_hesiod_config"
+ 
+-fi
++fi;
+ 
+ 
+ 
+-cv=`echo "struct iovec" | sed 'y%./+- %__p__%'`
+-echo "$as_me:$LINENO: checking for struct iovec" >&5
+-echo $ECHO_N "checking for struct iovec... $ECHO_C" >&6
+-if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  cat >conftest.$ac_ext <<_ACEOF
+-#line $LINENO "configure"
+-#include "confdefs.h"
+-#include <sys/types.h>
+-#if STDC_HEADERS
+-#include <stdlib.h>
+-#include <stddef.h>
+-#endif
++echo "$as_me:$LINENO: checking for hesiod" >&5
++echo $ECHO_N "checking for hesiod... $ECHO_C" >&6
+ 
+-#include <sys/types.h>
+-#include <sys/uio.h>
++case "$with_hesiod" in
++yes|"") d='' ;;
++no)	d= ;;
++*)	d="$with_hesiod" ;;
++esac
+ 
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
+-struct iovec foo;
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
+-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
+-  eval "ac_cv_type_$cv=yes"
+-else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_type_$cv=no"
++header_dirs=
++lib_dirs=
++for i in $d /usr; do
++	if test "$with_hesiod_include" = ""; then
++		if test -d "$i/include/hesiod"; then
++			header_dirs="$header_dirs $i/include/hesiod"
++		fi
++		if test -d "$i/include"; then
++			header_dirs="$header_dirs $i/include"
++		fi
++	fi
++	if test "$with_hesiod_lib" = ""; then
++		if test -d "$i/lib$abilibdirext"; then
++			lib_dirs="$lib_dirs $i/lib$abilibdirext"
++		fi
++	fi
++done
++
++if test "$with_hesiod_include"; then
++	header_dirs="$with_hesiod_include $header_dirs"
+ fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
++if test "$with_hesiod_lib"; then
++	lib_dirs="$with_hesiod_lib $lib_dirs"
+ fi
+-ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:$LINENO: result: $ac_foo" >&5
+-echo "${ECHO_T}$ac_foo" >&6
+-if test "$ac_foo" = yes; then
+-  ac_tr_hdr=HAVE_`echo struct iovec | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+-if false; then
+-	echo "$as_me:$LINENO: checking for struct iovec" >&5
+-echo $ECHO_N "checking for struct iovec... $ECHO_C" >&6
+-if test "${ac_cv_type_struct_iovec+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  cat >conftest.$ac_ext <<_ACEOF
++
++if test "$with_hesiod_config" = ""; then
++	with_hesiod_config=''
++fi
++
++hesiod_cflags=
++hesiod_libs=
++
++case "$with_hesiod_config" in
++yes|no|"")
++	;;
++*)
++	hesiod_cflags="`$with_hesiod_config --cflags 2>&1`"
++	hesiod_libs="`$with_hesiod_config --libs 2>&1`"
++	;;
++esac
++
++found=no
++if test "$with_hesiod" != no; then
++	save_CFLAGS="$CFLAGS"
++	save_LIBS="$LIBS"
++	if test "$hesiod_cflags" -a "$hesiod_libs"; then
++		CFLAGS="$hesiod_cflags $save_CFLAGS"
++		LIBS="$hesiod_libs $save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-$ac_includes_default
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <hesiod.h>
+ int
+ main ()
+ {
+-if ((struct iovec *) 0)
+-  return 0;
+-if (sizeof (struct iovec))
+-  return 0;
++
+   ;
+   return 0;
+ }
+ _ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
++         { ac_try='test -s conftest$ac_exeext'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
+-  ac_cv_type_struct_iovec=yes
+-else
+-  echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_struct_iovec=no
+-fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
+-fi
+-echo "$as_me:$LINENO: result: $ac_cv_type_struct_iovec" >&5
+-echo "${ECHO_T}$ac_cv_type_struct_iovec" >&6
+-if test $ac_cv_type_struct_iovec = yes; then
+-
+-cat >>confdefs.h <<_ACEOF
+-#define HAVE_STRUCT_IOVEC 1
+-_ACEOF
+-
+-
+-fi
+-
+-fi
+-
+-cat >>confdefs.h <<_ACEOF
+-#define $ac_tr_hdr 1
+-_ACEOF
+-
+-fi
+-
+-
++  (exit $ac_status); }; }; then
+ 
+-cv=`echo "struct msghdr" | sed 'y%./+- %__p__%'`
+-echo "$as_me:$LINENO: checking for struct msghdr" >&5
+-echo $ECHO_N "checking for struct msghdr... $ECHO_C" >&6
+-if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
++			INCLUDE_hesiod="$hesiod_cflags"
++			LIB_hesiod="$hesiod_libs"
++			echo "$as_me:$LINENO: result: from $with_hesiod_config" >&5
++echo "${ECHO_T}from $with_hesiod_config" >&6
++			found=yes
+ else
+-  cat >conftest.$ac_ext <<_ACEOF
+-#line $LINENO "configure"
+-#include "confdefs.h"
+-#include <sys/types.h>
+-#if STDC_HEADERS
+-#include <stdlib.h>
+-#include <stddef.h>
+-#endif
+-
+-#include <sys/types.h>
+-#include <sys/socket.h>
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
+ 
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	fi
++	if test "$found" = no; then
++		ires= lres=
++		for i in $header_dirs; do
++			CFLAGS="-I$i $save_CFLAGS"
++			cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <hesiod.h>
+ int
+ main ()
+ {
+-struct msghdr foo;
++
+   ;
+   return 0;
+ }
+@@ -27822,179 +40878,240 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  eval "ac_cv_type_$cv=yes"
++  ires=$i;break
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-eval "ac_cv_type_$cv=no"
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+-fi
+-ac_foo=`eval echo \\$ac_cv_type_$cv`
+-echo "$as_me:$LINENO: result: $ac_foo" >&5
+-echo "${ECHO_T}$ac_foo" >&6
+-if test "$ac_foo" = yes; then
+-  ac_tr_hdr=HAVE_`echo struct msghdr | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
+-if false; then
+-	echo "$as_me:$LINENO: checking for struct msghdr" >&5
+-echo $ECHO_N "checking for struct msghdr... $ECHO_C" >&6
+-if test "${ac_cv_type_struct_msghdr+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  cat >conftest.$ac_ext <<_ACEOF
++		done
++		for i in $lib_dirs; do
++			LIBS="-L$i -lhesiod  $save_LIBS"
++			cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-$ac_includes_default
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <hesiod.h>
+ int
+ main ()
+ {
+-if ((struct msghdr *) 0)
+-  return 0;
+-if (sizeof (struct msghdr))
+-  return 0;
++
+   ;
+   return 0;
+ }
+ _ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+-  (eval $ac_compile) 2>&5
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-         { ac_try='test -s conftest.$ac_objext'
++         { ac_try='test -s conftest$ac_exeext'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_type_struct_msghdr=yes
++  lres=$i;break
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_type_struct_msghdr=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++		done
++		if test "$ires" -a "$lres" -a "$with_hesiod" != "no"; then
++			DIR_hesiod=
++			INCLUDE_hesiod="-I$ires"
++			LIB_hesiod="-L$lres -lhesiod "
++			found=yes
++			echo "$as_me:$LINENO: result: headers $ires, libraries $lres" >&5
++echo "${ECHO_T}headers $ires, libraries $lres" >&6
++		fi
++	fi
++	CFLAGS="$save_CFLAGS"
++	LIBS="$save_LIBS"
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_type_struct_msghdr" >&5
+-echo "${ECHO_T}$ac_cv_type_struct_msghdr" >&6
+-if test $ac_cv_type_struct_msghdr = yes; then
++
++if test "$found" = yes; then
+ 
+ cat >>confdefs.h <<_ACEOF
+-#define HAVE_STRUCT_MSGHDR 1
++#define HESIOD 1
+ _ACEOF
+ 
+-
++	with_hesiod=yes
++else
++	with_hesiod=no
++	DIR_hesiod=
++	INCLUDE_hesiod=
++	LIB_hesiod=
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
+ fi
+ 
+-fi
+ 
+-cat >>confdefs.h <<_ACEOF
+-#define $ac_tr_hdr 1
+-_ACEOF
+ 
+-fi
+ 
+ 
+ 
+ 
+-echo "$as_me:$LINENO: checking for struct winsize" >&5
+-echo $ECHO_N "checking for struct winsize... $ECHO_C" >&6
+-if test "${ac_cv_struct_winsize+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+ 
+-ac_cv_struct_winsize=no
+-for i in sys/termios.h sys/ioctl.h; do
+-cat >conftest.$ac_ext <<_ACEOF
+-#line $LINENO "configure"
+-#include "confdefs.h"
+-#include <$i>
++# Check whether --with-sl or --without-sl was given.
++if test "${with_sl+set}" = set; then
++  withval="$with_sl"
+ 
+-_ACEOF
+-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+-  egrep "struct[ 	]*winsize" >/dev/null 2>&1; then
+-  ac_cv_struct_winsize=yes; break
+-fi
+-rm -f conftest*
+-done
++fi;
+ 
++# Check whether --with-sl-lib or --without-sl-lib was given.
++if test "${with_sl_lib+set}" = set; then
++  withval="$with_sl_lib"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-sl-lib" >&5
++echo "$as_me: error: No argument for --with-sl-lib" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_sl" = "X"; then
++  with_sl=yes
+ fi
++fi;
+ 
+-if test "$ac_cv_struct_winsize" = "yes"; then
++# Check whether --with-sl-include or --without-sl-include was given.
++if test "${with_sl_include+set}" = set; then
++  withval="$with_sl_include"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-sl-include" >&5
++echo "$as_me: error: No argument for --with-sl-include" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_sl" = "X"; then
++  with_sl=yes
++fi
++fi;
+ 
+-cat >>confdefs.h <<\_ACEOF
+-#define HAVE_STRUCT_WINSIZE 1
+-_ACEOF
++# Check whether --with-sl-config or --without-sl-config was given.
++if test "${with_sl_config+set}" = set; then
++  withval="$with_sl_config"
+ 
+-fi
+-echo "$as_me:$LINENO: result: $ac_cv_struct_winsize" >&5
+-echo "${ECHO_T}$ac_cv_struct_winsize" >&6
+-cat >conftest.$ac_ext <<_ACEOF
+-#line $LINENO "configure"
+-#include "confdefs.h"
+-#include <termios.h>
++fi;
+ 
+-_ACEOF
+-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+-  egrep "ws_xpixel" >/dev/null 2>&1; then
+ 
+-cat >>confdefs.h <<\_ACEOF
+-#define HAVE_WS_XPIXEL 1
+-_ACEOF
+ 
+-fi
+-rm -f conftest*
++echo "$as_me:$LINENO: checking for sl" >&5
++echo $ECHO_N "checking for sl... $ECHO_C" >&6
+ 
+-cat >conftest.$ac_ext <<_ACEOF
+-#line $LINENO "configure"
+-#include "confdefs.h"
+-#include <termios.h>
++case "$with_sl" in
++yes|"") d='' ;;
++no)	d= ;;
++*)	d="$with_sl" ;;
++esac
+ 
+-_ACEOF
+-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+-  egrep "ws_ypixel" >/dev/null 2>&1; then
++header_dirs=
++lib_dirs=
++for i in $d /usr; do
++	if test "$with_sl_include" = ""; then
++		if test -d "$i/include/sl"; then
++			header_dirs="$header_dirs $i/include/sl"
++		fi
++		if test -d "$i/include"; then
++			header_dirs="$header_dirs $i/include"
++		fi
++	fi
++	if test "$with_sl_lib" = ""; then
++		if test -d "$i/lib$abilibdirext"; then
++			lib_dirs="$lib_dirs $i/lib$abilibdirext"
++		fi
++	fi
++done
+ 
+-cat >>confdefs.h <<\_ACEOF
+-#define HAVE_WS_YPIXEL 1
+-_ACEOF
++if test "$with_sl_include"; then
++	header_dirs="$with_sl_include $header_dirs"
++fi
++if test "$with_sl_lib"; then
++	lib_dirs="$with_sl_lib $lib_dirs"
++fi
+ 
++if test "$with_sl_config" = ""; then
++	with_sl_config=''
+ fi
+-rm -f conftest*
+ 
++sl_cflags=
++sl_libs=
++
++case "$with_sl_config" in
++yes|no|"")
++	;;
++*)
++	sl_cflags="`$with_sl_config --cflags 2>&1`"
++	sl_libs="`$with_sl_config --libs 2>&1`"
++	;;
++esac
+ 
++found=no
++if test "$with_sl" != no; then
++	save_CFLAGS="$CFLAGS"
++	save_LIBS="$LIBS"
++	if test "$sl_cflags" -a "$sl_libs"; then
++		CFLAGS="$sl_cflags $save_CFLAGS"
++		LIBS="$sl_libs $save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ 
++int
++main ()
++{
+ 
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
+ 
+-echo "$as_me:$LINENO: checking for struct spwd" >&5
+-echo $ECHO_N "checking for struct spwd... $ECHO_C" >&6
+-if test "${ac_cv_struct_spwd+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
++			INCLUDE_sl="$sl_cflags"
++			LIB_sl="$sl_libs"
++			echo "$as_me:$LINENO: result: from $with_sl_config" >&5
++echo "${ECHO_T}from $with_sl_config" >&6
++			found=yes
+ else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
+ 
+-cat >conftest.$ac_ext <<_ACEOF
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++	fi
++	if test "$found" = no; then
++		ires= lres=
++		for i in $header_dirs; do
++			CFLAGS="-I$i $save_CFLAGS"
++			cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-#include <pwd.h>
+-#ifdef HAVE_SHADOW_H
+-#include <shadow.h>
+-#endif
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
+ int
+ main ()
+ {
+-struct spwd foo;
++
+   ;
+   return 0;
+ }
+@@ -28011,368 +41128,194 @@
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+-  ac_cv_struct_spwd=yes
++  ires=$i;break
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
+-ac_cv_struct_spwd=no
+-fi
+-rm -f conftest.$ac_objext conftest.$ac_ext
+-
+-fi
+-
+-echo "$as_me:$LINENO: result: $ac_cv_struct_spwd" >&5
+-echo "${ECHO_T}$ac_cv_struct_spwd" >&6
+-
+-if test "$ac_cv_struct_spwd" = "yes"; then
+-
+-cat >>confdefs.h <<\_ACEOF
+-#define HAVE_STRUCT_SPWD 1
+-_ACEOF
+-
+-fi
+-
+-
+-
+-LIB_roken="${LIB_roken} \$(LIB_crypt) \$(LIB_dbopen)"
+-
+-
+-LIB_roken="\$(top_builddir)/lib/vers/libvers.la $LIB_roken"
+-
+-
+-# Check whether --enable-otp or --disable-otp was given.
+-if test "${enable_otp+set}" = set; then
+-  enableval="$enable_otp"
+-
+-fi;
+-if test "$enable_otp" = yes -a "$db_type" = unknown; then
+-	{ { echo "$as_me:$LINENO: error: OTP requires a NDBM/DB compatible library" >&5
+-echo "$as_me: error: OTP requires a NDBM/DB compatible library" >&2;}
+-   { (exit 1); exit 1; }; }
+-fi
+-if test "$enable_otp" != no; then
+-	if test "$db_type" != unknown; then
+-		enable_otp=yes
+-	else
+-		enable_otp=no
+-	fi
+-fi
+-if test "$enable_otp" = yes; then
++sed 's/^/| /' conftest.$ac_ext >&5
+ 
+-cat >>confdefs.h <<\_ACEOF
+-#define OTP 1
+-_ACEOF
+-
+-	LIB_otp='$(top_builddir)/lib/otp/libotp.la'
+-
+-fi
+-echo "$as_me:$LINENO: checking whether to enable OTP library" >&5
+-echo $ECHO_N "checking whether to enable OTP library... $ECHO_C" >&6
+-echo "$as_me:$LINENO: result: $enable_otp" >&5
+-echo "${ECHO_T}$enable_otp" >&6
+-
+-
+-if test "$enable_otp" = yes; then
+-  OTP_TRUE=
+-  OTP_FALSE='#'
+-else
+-  OTP_TRUE='#'
+-  OTP_FALSE=
+ fi
+-
+-
+-
+-# Check whether --enable-osfc2 or --disable-osfc2 was given.
+-if test "${enable_osfc2+set}" = set; then
+-  enableval="$enable_osfc2"
+-
+-fi;
+-LIB_security=
+-if test "$enable_osfc2" = yes; then
+-
+-cat >>confdefs.h <<\_ACEOF
+-#define HAVE_OSFC2 1
++rm -f conftest.$ac_objext conftest.$ac_ext
++		done
++		for i in $lib_dirs; do
++			LIBS="-L$i -lsl  $save_LIBS"
++			cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
+ _ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ 
+-	LIB_security=-lsecurity
+-fi
+-
+-
+-
+-# Check whether --enable-mmap or --disable-mmap was given.
+-if test "${enable_mmap+set}" = set; then
+-  enableval="$enable_mmap"
+-
+-fi;
+-if test "$enable_mmap" = "no"; then
++int
++main ()
++{
+ 
+-cat >>confdefs.h <<\_ACEOF
+-#define NO_MMAP 1
++  ;
++  return 0;
++}
+ _ACEOF
+-
+-fi
+-
+-# Extract the first word of "nroff", so it can be a program name with args.
+-set dummy nroff; ac_word=$2
+-echo "$as_me:$LINENO: checking for $ac_word" >&5
+-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+-if test "${ac_cv_path_NROFF+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  case $NROFF in
+-  [\\/]* | ?:[\\/]*)
+-  ac_cv_path_NROFF="$NROFF" # Let the user override the test with a path.
+-  ;;
+-  *)
+-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+-for as_dir in $PATH
+-do
+-  IFS=$as_save_IFS
+-  test -z "$as_dir" && as_dir=.
+-  for ac_exec_ext in '' $ac_executable_extensions; do
+-  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+-    ac_cv_path_NROFF="$as_dir/$ac_word$ac_exec_ext"
+-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+-    break 2
+-  fi
+-done
+-done
+-
+-  ;;
+-esac
+-fi
+-NROFF=$ac_cv_path_NROFF
+-
+-if test -n "$NROFF"; then
+-  echo "$as_me:$LINENO: result: $NROFF" >&5
+-echo "${ECHO_T}$NROFF" >&6
+-else
+-  echo "$as_me:$LINENO: result: no" >&5
+-echo "${ECHO_T}no" >&6
+-fi
+-
+-# Extract the first word of "groff", so it can be a program name with args.
+-set dummy groff; ac_word=$2
+-echo "$as_me:$LINENO: checking for $ac_word" >&5
+-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+-if test "${ac_cv_path_GROFF+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  case $GROFF in
+-  [\\/]* | ?:[\\/]*)
+-  ac_cv_path_GROFF="$GROFF" # Let the user override the test with a path.
+-  ;;
+-  *)
+-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+-for as_dir in $PATH
+-do
+-  IFS=$as_save_IFS
+-  test -z "$as_dir" && as_dir=.
+-  for ac_exec_ext in '' $ac_executable_extensions; do
+-  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+-    ac_cv_path_GROFF="$as_dir/$ac_word$ac_exec_ext"
+-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+-    break 2
+-  fi
+-done
+-done
+-
+-  ;;
+-esac
+-fi
+-GROFF=$ac_cv_path_GROFF
+-
+-if test -n "$GROFF"; then
+-  echo "$as_me:$LINENO: result: $GROFF" >&5
+-echo "${ECHO_T}$GROFF" >&6
+-else
+-  echo "$as_me:$LINENO: result: no" >&5
+-echo "${ECHO_T}no" >&6
+-fi
+-
+-echo "$as_me:$LINENO: checking how to format man pages" >&5
+-echo $ECHO_N "checking how to format man pages... $ECHO_C" >&6
+-if test "${ac_cv_sys_man_format+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  lres=$i;break
+ else
+-  cat > conftest.1 << END
+-.Dd January 1, 1970
+-.Dt CONFTEST 1
+-.Sh NAME
+-.Nm conftest
+-.Nd
+-foobar
+-END
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
+ 
+-if test "$NROFF" ; then
+-	for i in "-mdoc" "-mandoc"; do
+-		if "$NROFF" $i conftest.1 2> /dev/null | \
+-			grep Jan > /dev/null 2>&1 ; then
+-			ac_cv_sys_man_format="$NROFF $i"
+-			break
+-		fi
+-	done
+ fi
+-if test "$ac_cv_sys_man_format" = "" -a "$GROFF" ; then
+-	for i in "-mdoc" "-mandoc"; do
+-		if "$GROFF" -Tascii $i conftest.1 2> /dev/null | \
+-			grep Jan > /dev/null 2>&1 ; then
+-			ac_cv_sys_man_format="$GROFF -Tascii $i"
+-			break
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++		done
++		if test "$ires" -a "$lres" -a "$with_sl" != "no"; then
++			DIR_sl=
++			INCLUDE_sl="-I$ires"
++			LIB_sl="-L$lres -lsl "
++			found=yes
++			echo "$as_me:$LINENO: result: headers $ires, libraries $lres" >&5
++echo "${ECHO_T}headers $ires, libraries $lres" >&6
+ 		fi
+-	done
+-fi
+-if test "$ac_cv_sys_man_format"; then
+-	ac_cv_sys_man_format="$ac_cv_sys_man_format \$< > \$@"
+-fi
+-
+-fi
+-echo "$as_me:$LINENO: result: $ac_cv_sys_man_format" >&5
+-echo "${ECHO_T}$ac_cv_sys_man_format" >&6
+-if test "$ac_cv_sys_man_format"; then
+-	CATMAN="$ac_cv_sys_man_format"
+-
++	fi
++	CFLAGS="$save_CFLAGS"
++	LIBS="$save_LIBS"
+ fi
+ 
++if test "$found" = yes; then
+ 
+-if test "$CATMAN"; then
+-  CATMAN_TRUE=
+-  CATMAN_FALSE='#'
+-else
+-  CATMAN_TRUE='#'
+-  CATMAN_FALSE=
+-fi
+-
+-echo "$as_me:$LINENO: checking extension of pre-formatted manual pages" >&5
+-echo $ECHO_N "checking extension of pre-formatted manual pages... $ECHO_C" >&6
+-if test "${ac_cv_sys_catman_ext+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  if grep _suffix /etc/man.conf > /dev/null 2>&1; then
+-	ac_cv_sys_catman_ext=0
+-else
+-	ac_cv_sys_catman_ext=number
+-fi
++cat >>confdefs.h <<_ACEOF
++#define SL 1
++_ACEOF
+ 
+-fi
+-echo "$as_me:$LINENO: result: $ac_cv_sys_catman_ext" >&5
+-echo "${ECHO_T}$ac_cv_sys_catman_ext" >&6
+-if test "$ac_cv_sys_catman_ext" = number; then
+-	CATMANEXT='$$section'
++	with_sl=yes
+ else
+-	CATMANEXT=0
++	with_sl=no
++	DIR_sl=
++	INCLUDE_sl=
++	LIB_sl=
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
+ fi
+ 
+ 
+ 
+ 
+ 
+-# Check whether --with-readline or --without-readline was given.
+-if test "${with_readline+set}" = set; then
+-  withval="$with_readline"
++if ! test "$with_sl" = yes; then
++	DIR_sl="sl"
++	LIB_sl='$(top_builddir)/lib/sl/libsl.la'
++fi
++
++
++# Check whether --with-ss or --without-ss was given.
++if test "${with_ss+set}" = set; then
++  withval="$with_ss"
+ 
+ fi;
+ 
+-# Check whether --with-readline-lib or --without-readline-lib was given.
+-if test "${with_readline_lib+set}" = set; then
+-  withval="$with_readline_lib"
++# Check whether --with-ss-lib or --without-ss-lib was given.
++if test "${with_ss_lib+set}" = set; then
++  withval="$with_ss_lib"
+   if test "$withval" = "yes" -o "$withval" = "no"; then
+-  { { echo "$as_me:$LINENO: error: No argument for --with-readline-lib" >&5
+-echo "$as_me: error: No argument for --with-readline-lib" >&2;}
++  { { echo "$as_me:$LINENO: error: No argument for --with-ss-lib" >&5
++echo "$as_me: error: No argument for --with-ss-lib" >&2;}
+    { (exit 1); exit 1; }; }
+-elif test "X$with_readline" = "X"; then
+-  with_readline=yes
++elif test "X$with_ss" = "X"; then
++  with_ss=yes
+ fi
+ fi;
+ 
+-# Check whether --with-readline-include or --without-readline-include was given.
+-if test "${with_readline_include+set}" = set; then
+-  withval="$with_readline_include"
++# Check whether --with-ss-include or --without-ss-include was given.
++if test "${with_ss_include+set}" = set; then
++  withval="$with_ss_include"
+   if test "$withval" = "yes" -o "$withval" = "no"; then
+-  { { echo "$as_me:$LINENO: error: No argument for --with-readline-include" >&5
+-echo "$as_me: error: No argument for --with-readline-include" >&2;}
++  { { echo "$as_me:$LINENO: error: No argument for --with-ss-include" >&5
++echo "$as_me: error: No argument for --with-ss-include" >&2;}
+    { (exit 1); exit 1; }; }
+-elif test "X$with_readline" = "X"; then
+-  with_readline=yes
++elif test "X$with_ss" = "X"; then
++  with_ss=yes
+ fi
+ fi;
+ 
+-# Check whether --with-readline-config or --without-readline-config was given.
+-if test "${with_readline_config+set}" = set; then
+-  withval="$with_readline_config"
++# Check whether --with-ss-config or --without-ss-config was given.
++if test "${with_ss_config+set}" = set; then
++  withval="$with_ss_config"
+ 
+ fi;
+ 
+ 
+ 
+-echo "$as_me:$LINENO: checking for readline" >&5
+-echo $ECHO_N "checking for readline... $ECHO_C" >&6
++echo "$as_me:$LINENO: checking for ss" >&5
++echo $ECHO_N "checking for ss... $ECHO_C" >&6
+ 
+-case "$with_readline" in
++case "$with_ss" in
+ yes|"") d='' ;;
+ no)	d= ;;
+-*)	d="$with_readline" ;;
++*)	d="$with_ss" ;;
+ esac
+ 
+ header_dirs=
+ lib_dirs=
+-for i in $d; do
+-	if test "$with_readline_include" = ""; then
+-		if test -d "$i/include/readline"; then
+-			header_dirs="$header_dirs $i/include/readline"
++for i in $d /usr; do
++	if test "$with_ss_include" = ""; then
++		if test -d "$i/include/ss"; then
++			header_dirs="$header_dirs $i/include/ss"
+ 		fi
+ 		if test -d "$i/include"; then
+ 			header_dirs="$header_dirs $i/include"
+ 		fi
+ 	fi
+-	if test "$with_readline_lib" = ""; then
++	if test "$with_ss_lib" = ""; then
+ 		if test -d "$i/lib$abilibdirext"; then
+ 			lib_dirs="$lib_dirs $i/lib$abilibdirext"
+ 		fi
+ 	fi
+ done
+ 
+-if test "$with_readline_include"; then
+-	header_dirs="$with_readline_include $header_dirs"
++if test "$with_ss_include"; then
++	header_dirs="$with_ss_include $header_dirs"
+ fi
+-if test "$with_readline_lib"; then
+-	lib_dirs="$with_readline_lib $lib_dirs"
++if test "$with_ss_lib"; then
++	lib_dirs="$with_ss_lib $lib_dirs"
+ fi
+ 
+-if test "$with_readline_config" = ""; then
+-	with_readline_config=''
++if test "$with_ss_config" = ""; then
++	with_ss_config=''
+ fi
+ 
+-readline_cflags=
+-readline_libs=
++ss_cflags=
++ss_libs=
+ 
+-case "$with_readline_config" in
++case "$with_ss_config" in
+ yes|no|"")
+ 	;;
+ *)
+-	readline_cflags="`$with_readline_config --cflags 2>&1`"
+-	readline_libs="`$with_readline_config --libs 2>&1`"
++	ss_cflags="`$with_ss_config --cflags 2>&1`"
++	ss_libs="`$with_ss_config --libs 2>&1`"
+ 	;;
+ esac
+ 
+ found=no
+-if test "$with_readline" != no; then
++if test "$with_ss" != no; then
+ 	save_CFLAGS="$CFLAGS"
+ 	save_LIBS="$LIBS"
+-	if test "$readline_cflags" -a "$readline_libs"; then
+-		CFLAGS="$readline_cflags $save_CFLAGS"
+-		LIBS="$readline_libs $save_LIBS"
++	if test "$ss_cflags" -a "$ss_libs"; then
++		CFLAGS="$ss_cflags $save_CFLAGS"
++		LIBS="$ss_libs $save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-#include <stdio.h>
+- #include <readline.h>
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
+ int
+ main ()
+ {
+@@ -28394,14 +41337,15 @@
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+ 
+-			INCLUDE_readline="$readline_cflags"
+-			LIB_readline="$readline_libs"
+-			echo "$as_me:$LINENO: result: from $with_readline_config" >&5
+-echo "${ECHO_T}from $with_readline_config" >&6
++			INCLUDE_ss="$ss_cflags"
++			LIB_ss="$ss_libs"
++			echo "$as_me:$LINENO: result: from $with_ss_config" >&5
++echo "${ECHO_T}from $with_ss_config" >&6
+ 			found=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ 	fi
+@@ -28411,15 +41355,12 @@
+ 			CFLAGS="-I$i $save_CFLAGS"
+ 			cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-#include <stdio.h>
+- #include <readline.h>
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
+ int
+ main ()
+ {
+@@ -28443,23 +41384,21 @@
+   ires=$i;break
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ 		done
+ 		for i in $lib_dirs; do
+-			LIBS="-L$i -lreadline  $save_LIBS"
++			LIBS="-L$i -lss  $save_LIBS"
+ 			cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-#include <stdio.h>
+- #include <readline.h>
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
+ int
+ main ()
+ {
+@@ -28483,13 +41422,15 @@
+   lres=$i;break
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ 		done
+-		if test "$ires" -a "$lres" -a "$with_readline" != "no"; then
+-			INCLUDE_readline="-I$ires"
+-			LIB_readline="-L$lres -lreadline "
++		if test "$ires" -a "$lres" -a "$with_ss" != "no"; then
++			DIR_ss=
++			INCLUDE_ss="-I$ires"
++			LIB_ss="-L$lres -lss "
+ 			found=yes
+ 			echo "$as_me:$LINENO: result: headers $ires, libraries $lres" >&5
+ echo "${ECHO_T}headers $ires, libraries $lres" >&6
+@@ -28502,14 +41443,15 @@
+ if test "$found" = yes; then
+ 
+ cat >>confdefs.h <<_ACEOF
+-#define READLINE 1
++#define SS 1
+ _ACEOF
+ 
+-	with_readline=yes
++	with_ss=yes
+ else
+-	with_readline=no
+-	INCLUDE_readline=
+-	LIB_readline=
++	with_ss=no
++	DIR_ss=
++	INCLUDE_ss=
++	LIB_ss=
+ 	echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+@@ -28518,113 +41460,118 @@
+ 
+ 
+ 
++if ! test "$with_sl" = yes; then
++	DIR_sl="sl"
++	LIB_sl='$(top_builddir)/lib/sl/libsl.la'
++	DIR_ss=""
++	LIB_ss='$(top_builddir)/lib/sl/libss.la'
++fi
++if test "$enable_otp" = "yes"; then
+ 
+ 
+-# Check whether --with-hesiod or --without-hesiod was given.
+-if test "${with_hesiod+set}" = set; then
+-  withval="$with_hesiod"
++# Check whether --with-otp or --without-otp was given.
++if test "${with_otp+set}" = set; then
++  withval="$with_otp"
+ 
+ fi;
+ 
+-# Check whether --with-hesiod-lib or --without-hesiod-lib was given.
+-if test "${with_hesiod_lib+set}" = set; then
+-  withval="$with_hesiod_lib"
++# Check whether --with-otp-lib or --without-otp-lib was given.
++if test "${with_otp_lib+set}" = set; then
++  withval="$with_otp_lib"
+   if test "$withval" = "yes" -o "$withval" = "no"; then
+-  { { echo "$as_me:$LINENO: error: No argument for --with-hesiod-lib" >&5
+-echo "$as_me: error: No argument for --with-hesiod-lib" >&2;}
++  { { echo "$as_me:$LINENO: error: No argument for --with-otp-lib" >&5
++echo "$as_me: error: No argument for --with-otp-lib" >&2;}
+    { (exit 1); exit 1; }; }
+-elif test "X$with_hesiod" = "X"; then
+-  with_hesiod=yes
++elif test "X$with_otp" = "X"; then
++  with_otp=yes
+ fi
+ fi;
+ 
+-# Check whether --with-hesiod-include or --without-hesiod-include was given.
+-if test "${with_hesiod_include+set}" = set; then
+-  withval="$with_hesiod_include"
++# Check whether --with-otp-include or --without-otp-include was given.
++if test "${with_otp_include+set}" = set; then
++  withval="$with_otp_include"
+   if test "$withval" = "yes" -o "$withval" = "no"; then
+-  { { echo "$as_me:$LINENO: error: No argument for --with-hesiod-include" >&5
+-echo "$as_me: error: No argument for --with-hesiod-include" >&2;}
++  { { echo "$as_me:$LINENO: error: No argument for --with-otp-include" >&5
++echo "$as_me: error: No argument for --with-otp-include" >&2;}
+    { (exit 1); exit 1; }; }
+-elif test "X$with_hesiod" = "X"; then
+-  with_hesiod=yes
++elif test "X$with_otp" = "X"; then
++  with_otp=yes
+ fi
+ fi;
+ 
+-# Check whether --with-hesiod-config or --without-hesiod-config was given.
+-if test "${with_hesiod_config+set}" = set; then
+-  withval="$with_hesiod_config"
++# Check whether --with-otp-config or --without-otp-config was given.
++if test "${with_otp_config+set}" = set; then
++  withval="$with_otp_config"
+ 
+ fi;
+ 
+ 
+ 
+-echo "$as_me:$LINENO: checking for hesiod" >&5
+-echo $ECHO_N "checking for hesiod... $ECHO_C" >&6
++echo "$as_me:$LINENO: checking for otp" >&5
++echo $ECHO_N "checking for otp... $ECHO_C" >&6
+ 
+-case "$with_hesiod" in
++case "$with_otp" in
+ yes|"") d='' ;;
+ no)	d= ;;
+-*)	d="$with_hesiod" ;;
++*)	d="$with_otp" ;;
+ esac
+ 
+ header_dirs=
+ lib_dirs=
+-for i in $d; do
+-	if test "$with_hesiod_include" = ""; then
+-		if test -d "$i/include/hesiod"; then
+-			header_dirs="$header_dirs $i/include/hesiod"
++for i in $d /usr; do
++	if test "$with_otp_include" = ""; then
++		if test -d "$i/include/otp"; then
++			header_dirs="$header_dirs $i/include/otp"
+ 		fi
+ 		if test -d "$i/include"; then
+ 			header_dirs="$header_dirs $i/include"
+ 		fi
+ 	fi
+-	if test "$with_hesiod_lib" = ""; then
++	if test "$with_otp_lib" = ""; then
+ 		if test -d "$i/lib$abilibdirext"; then
+ 			lib_dirs="$lib_dirs $i/lib$abilibdirext"
+ 		fi
+ 	fi
+ done
+ 
+-if test "$with_hesiod_include"; then
+-	header_dirs="$with_hesiod_include $header_dirs"
++if test "$with_otp_include"; then
++	header_dirs="$with_otp_include $header_dirs"
+ fi
+-if test "$with_hesiod_lib"; then
+-	lib_dirs="$with_hesiod_lib $lib_dirs"
++if test "$with_otp_lib"; then
++	lib_dirs="$with_otp_lib $lib_dirs"
+ fi
+ 
+-if test "$with_hesiod_config" = ""; then
+-	with_hesiod_config=''
++if test "$with_otp_config" = ""; then
++	with_otp_config=''
+ fi
+ 
+-hesiod_cflags=
+-hesiod_libs=
++otp_cflags=
++otp_libs=
+ 
+-case "$with_hesiod_config" in
++case "$with_otp_config" in
+ yes|no|"")
+ 	;;
+ *)
+-	hesiod_cflags="`$with_hesiod_config --cflags 2>&1`"
+-	hesiod_libs="`$with_hesiod_config --libs 2>&1`"
++	otp_cflags="`$with_otp_config --cflags 2>&1`"
++	otp_libs="`$with_otp_config --libs 2>&1`"
+ 	;;
+ esac
+ 
+ found=no
+-if test "$with_hesiod" != no; then
++if test "$with_otp" != no; then
+ 	save_CFLAGS="$CFLAGS"
+ 	save_LIBS="$LIBS"
+-	if test "$hesiod_cflags" -a "$hesiod_libs"; then
+-		CFLAGS="$hesiod_cflags $save_CFLAGS"
+-		LIBS="$hesiod_libs $save_LIBS"
++	if test "$otp_cflags" -a "$otp_libs"; then
++		CFLAGS="$otp_cflags $save_CFLAGS"
++		LIBS="$otp_libs $save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-#include <hesiod.h>
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
+ int
+ main ()
+ {
+@@ -28646,14 +41593,15 @@
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; }; then
+ 
+-			INCLUDE_hesiod="$hesiod_cflags"
+-			LIB_hesiod="$hesiod_libs"
+-			echo "$as_me:$LINENO: result: from $with_hesiod_config" >&5
+-echo "${ECHO_T}from $with_hesiod_config" >&6
++			INCLUDE_otp="$otp_cflags"
++			LIB_otp="$otp_libs"
++			echo "$as_me:$LINENO: result: from $with_otp_config" >&5
++echo "${ECHO_T}from $with_otp_config" >&6
+ 			found=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ 	fi
+@@ -28663,14 +41611,12 @@
+ 			CFLAGS="-I$i $save_CFLAGS"
+ 			cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-#include <hesiod.h>
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
+ int
+ main ()
+ {
+@@ -28694,22 +41640,21 @@
+   ires=$i;break
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ 		done
+ 		for i in $lib_dirs; do
+-			LIBS="-L$i -lhesiod  $save_LIBS"
++			LIBS="-L$i -lotp  $save_LIBS"
+ 			cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-#include <hesiod.h>
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
+ int
+ main ()
+ {
+@@ -28733,13 +41678,15 @@
+   lres=$i;break
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ 		done
+-		if test "$ires" -a "$lres" -a "$with_hesiod" != "no"; then
+-			INCLUDE_hesiod="-I$ires"
+-			LIB_hesiod="-L$lres -lhesiod "
++		if test "$ires" -a "$lres" -a "$with_otp" != "no"; then
++			DIR_otp=
++			INCLUDE_otp="-I$ires"
++			LIB_otp="-L$lres -lotp "
+ 			found=yes
+ 			echo "$as_me:$LINENO: result: headers $ires, libraries $lres" >&5
+ echo "${ECHO_T}headers $ires, libraries $lres" >&6
+@@ -28752,14 +41699,15 @@
+ if test "$found" = yes; then
+ 
+ cat >>confdefs.h <<_ACEOF
+-#define HESIOD 1
++#define OTP 1
+ _ACEOF
+ 
+-	with_hesiod=yes
++	with_otp=yes
+ else
+-	with_hesiod=no
+-	INCLUDE_hesiod=
+-	LIB_hesiod=
++	with_otp=no
++	DIR_otp=
++	INCLUDE_otp=
++	LIB_otp=
+ 	echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+@@ -28768,6 +41716,12 @@
+ 
+ 
+ 
++  if ! test "$with_otp" = yes; then
++	DIR_otp="otp"
++ 	LIB_otp='$(top_builddir)/lib/otp/libotp.la'
++  fi
++fi
++
+ 
+ # Check whether --enable-bigendian or --disable-bigendian was given.
+ if test "${enable_bigendian+set}" = set; then
+@@ -28786,16 +41740,14 @@
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ 
+ #include <sys/types.h>
+ #include <sys/param.h>
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+@@ -28822,7 +41774,8 @@
+   krb_cv_c_bigendian_compile=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ krb_cv_c_bigendian_compile=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+@@ -28838,16 +41791,14 @@
+   if test "$krb_cv_c_bigendian_compile" = "yes"; then
+     cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ 
+ #include <sys/types.h>
+ #include <sys/param.h>
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+@@ -28874,7 +41825,8 @@
+   krb_cv_c_bigendian=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ krb_cv_c_bigendian=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+@@ -28886,7 +41838,11 @@
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ main () {
+       /* Are we little or big endian?  From Harbison&Steele.  */
+       union
+@@ -28913,11 +41869,12 @@
+ else
+   echo "$as_me: program exited with status $ac_status" >&5
+ echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ ( exit $ac_status )
+ krb_cv_c_bigendian=yes
+ fi
+-rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
+ fi
+   fi
+ 
+@@ -28948,10 +41905,15 @@
+ for ac_kw in inline __inline__ __inline; do
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ #ifndef __cplusplus
+-static $ac_kw int static_foo () {return 0; }
+-$ac_kw int foo () {return 0; }
++typedef int foo_t;
++static $ac_kw foo_t static_foo () {return 0; }
++$ac_kw foo_t foo () {return 0; }
+ #endif
+ 
+ _ACEOF
+@@ -28970,7 +41932,8 @@
+   ac_cv_c_inline=$ac_kw; break
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ done
+@@ -29015,14 +41978,12 @@
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ 
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+@@ -29046,7 +42007,8 @@
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_dlopen=$ac_lib; else ac_cv_funclib_dlopen=yes; fi";break
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -29071,37 +42033,44 @@
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char $ac_func (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+ char $ac_func ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
+ /* The GNU C library defines this for functions which it implements
+     to always fail with ENOSYS.  Some functions are actually named
+     something starting with __ and the normal name is an alias.  */
+ #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
+ choke me
+ #else
+-f = $ac_func;
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != $ac_func;
+   ;
+   return 0;
+ }
+@@ -29121,7 +42090,8 @@
+   eval "$as_ac_var=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ eval "$as_ac_var=no"
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+@@ -29252,14 +42222,12 @@
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ 
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+@@ -29283,7 +42251,8 @@
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_loadquery=$ac_lib; else ac_cv_funclib_loadquery=yes; fi";break
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -29308,37 +42277,44 @@
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char $ac_func (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+ char $ac_func ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
+ /* The GNU C library defines this for functions which it implements
+     to always fail with ENOSYS.  Some functions are actually named
+     something starting with __ and the normal name is an alias.  */
+ #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
+ choke me
+ #else
+-f = $ac_func;
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != $ac_func;
+   ;
+   return 0;
+ }
+@@ -29358,7 +42334,8 @@
+   eval "$as_ac_var=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ eval "$as_ac_var=no"
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+@@ -29595,13 +42572,17 @@
+   # First, try using that file with no special directory specified.
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ #include <X11/Intrinsic.h>
+ _ACEOF
+ if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
+   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+   ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
++  grep -v '^ *+' conftest.er1 >conftest.err
+   rm -f conftest.er1
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+@@ -29619,7 +42600,8 @@
+ ac_x_includes=
+ else
+   echo "$as_me: failed program was:" >&5
+-  cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+   for ac_dir in $ac_x_header_dirs; do
+   if test -r "$ac_dir/X11/Intrinsic.h"; then
+     ac_x_includes=$ac_dir
+@@ -29638,14 +42620,12 @@
+   LIBS="-lXt $LIBS"
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ #include <X11/Intrinsic.h>
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+@@ -29671,7 +42651,8 @@
+ ac_x_libraries=
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ LIBS=$ac_save_LIBS
+ for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
+ do
+@@ -29742,14 +42723,12 @@
+       ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
+       cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ 
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+@@ -29773,7 +42752,8 @@
+   ac_R_nospace=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ ac_R_nospace=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+@@ -29785,14 +42765,12 @@
+ 	LIBS="$ac_xsave_LIBS -R $x_libraries"
+ 	cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ 
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+@@ -29816,7 +42794,8 @@
+   ac_R_space=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ ac_R_space=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+@@ -29846,7 +42825,11 @@
+     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
+     cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+@@ -29855,12 +42838,6 @@
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+ char XOpenDisplay ();
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+@@ -29884,7 +42861,8 @@
+   :
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
+ echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
+ if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
+@@ -29894,7 +42872,11 @@
+ LIBS="-ldnet  $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+@@ -29903,12 +42885,6 @@
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+ char dnet_ntoa ();
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+@@ -29932,7 +42908,8 @@
+   ac_cv_lib_dnet_dnet_ntoa=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ ac_cv_lib_dnet_dnet_ntoa=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+@@ -29954,7 +42931,11 @@
+ LIBS="-ldnet_stub  $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+@@ -29963,12 +42944,6 @@
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+ char dnet_ntoa ();
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+@@ -29992,7 +42967,8 @@
+   ac_cv_lib_dnet_stub_dnet_ntoa=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ ac_cv_lib_dnet_stub_dnet_ntoa=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+@@ -30024,37 +43000,44 @@
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char gethostbyname (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char gethostbyname (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+ char gethostbyname ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-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_gethostbyname) || defined (__stub___gethostbyname)
+ choke me
+ #else
+-f = gethostbyname;
++char (*f) () = gethostbyname;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != gethostbyname;
+   ;
+   return 0;
+ }
+@@ -30074,7 +43057,8 @@
+   ac_cv_func_gethostbyname=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ ac_cv_func_gethostbyname=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+@@ -30092,7 +43076,11 @@
+ LIBS="-lnsl  $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+@@ -30101,12 +43089,6 @@
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+ char gethostbyname ();
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+@@ -30130,7 +43112,8 @@
+   ac_cv_lib_nsl_gethostbyname=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ ac_cv_lib_nsl_gethostbyname=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+@@ -30152,7 +43135,11 @@
+ LIBS="-lbsd  $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+@@ -30161,12 +43148,6 @@
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+ char gethostbyname ();
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+@@ -30190,7 +43171,8 @@
+   ac_cv_lib_bsd_gethostbyname=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ ac_cv_lib_bsd_gethostbyname=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+@@ -30209,7 +43191,7 @@
+     # socket/setsockopt and other routines are undefined under SCO ODT
+     # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
+     # on later versions), says Simon Leinen: it contains gethostby*
+-    # variants that don't use the nameserver (or something).  -lsocket
++    # variants that don't use the name server (or something).  -lsocket
+     # must be given before -lnsl if both are needed.  We assume that
+     # if connect needs -lnsl, so does gethostbyname.
+     echo "$as_me:$LINENO: checking for connect" >&5
+@@ -30219,37 +43201,44 @@
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char connect (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char connect (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+ char connect ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-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_connect) || defined (__stub___connect)
+ choke me
+ #else
+-f = connect;
++char (*f) () = connect;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != connect;
+   ;
+   return 0;
+ }
+@@ -30269,7 +43258,8 @@
+   ac_cv_func_connect=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ ac_cv_func_connect=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+@@ -30287,7 +43277,11 @@
+ LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+@@ -30296,12 +43290,6 @@
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+ char connect ();
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+@@ -30325,7 +43313,8 @@
+   ac_cv_lib_socket_connect=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ ac_cv_lib_socket_connect=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+@@ -30347,37 +43336,44 @@
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char remove (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char remove (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+ char remove ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-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_remove) || defined (__stub___remove)
+ choke me
+ #else
+-f = remove;
++char (*f) () = remove;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != remove;
+   ;
+   return 0;
+ }
+@@ -30397,7 +43393,8 @@
+   ac_cv_func_remove=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ ac_cv_func_remove=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+@@ -30415,7 +43412,11 @@
+ LIBS="-lposix  $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+@@ -30424,12 +43425,6 @@
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+ char remove ();
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+@@ -30453,7 +43448,8 @@
+   ac_cv_lib_posix_remove=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ ac_cv_lib_posix_remove=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+@@ -30475,37 +43471,44 @@
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char shmat (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char shmat (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+ char shmat ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-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_shmat) || defined (__stub___shmat)
+ choke me
+ #else
+-f = shmat;
++char (*f) () = shmat;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != shmat;
+   ;
+   return 0;
+ }
+@@ -30525,7 +43528,8 @@
+   ac_cv_func_shmat=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ ac_cv_func_shmat=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+@@ -30543,7 +43547,11 @@
+ LIBS="-lipc  $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+@@ -30552,12 +43560,6 @@
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+ char shmat ();
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+@@ -30581,7 +43583,8 @@
+   ac_cv_lib_ipc_shmat=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ ac_cv_lib_ipc_shmat=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+@@ -30614,7 +43617,11 @@
+ LIBS="-lICE $X_EXTRA_LIBS $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ 
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+@@ -30623,12 +43630,6 @@
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+ char IceConnectionNumber ();
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+@@ -30652,7 +43653,8 @@
+   ac_cv_lib_ICE_IceConnectionNumber=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ ac_cv_lib_ICE_IceConnectionNumber=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+@@ -30701,13 +43703,19 @@
+ 		fi
+ 		LIBS="$ac_save_libs $foo $X_PRE_LIBS -lX11 $X_EXTRA_LIBS"
+ 		if test "$cross_compiling" = yes; then
+-  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
+-echo "$as_me: error: cannot run test program while cross compiling" >&2;}
++  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
++See \`config.log' for more details." >&5
++echo "$as_me: error: cannot run test program while cross compiling
++See \`config.log' for more details." >&2;}
+    { (exit 1); exit 1; }; }
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ 
+ 		#include <X11/Xlib.h>
+ 		foo()
+@@ -30735,11 +43743,12 @@
+ else
+   echo "$as_me: program exited with status $ac_status" >&5
+ echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ ( exit $ac_status )
+ :
+ fi
+-rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
+ fi
+ 	done
+ 	LIBS="$ac_save_libs"
+@@ -30794,14 +43803,12 @@
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ 
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+@@ -30825,7 +43832,8 @@
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_XauWriteAuth=$ac_lib; else ac_cv_funclib_XauWriteAuth=yes; fi";break
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -30850,37 +43858,44 @@
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char $ac_func (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+ char $ac_func ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
+ /* The GNU C library defines this for functions which it implements
+     to always fail with ENOSYS.  Some functions are actually named
+     something starting with __ and the normal name is an alias.  */
+ #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
+ choke me
+ #else
+-f = $ac_func;
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != $ac_func;
+   ;
+   return 0;
+ }
+@@ -30900,7 +43915,8 @@
+   eval "$as_ac_var=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ eval "$as_ac_var=no"
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+@@ -30979,14 +43995,12 @@
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ 
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+@@ -31010,7 +44024,8 @@
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_XauReadAuth=$ac_lib; else ac_cv_funclib_XauReadAuth=yes; fi";break
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -31035,37 +44050,44 @@
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char $ac_func (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+ char $ac_func ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
+ /* The GNU C library defines this for functions which it implements
+     to always fail with ENOSYS.  Some functions are actually named
+     something starting with __ and the normal name is an alias.  */
+ #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
+ choke me
+ #else
+-f = $ac_func;
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != $ac_func;
+   ;
+   return 0;
+ }
+@@ -31085,7 +44107,8 @@
+   eval "$as_ac_var=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ eval "$as_ac_var=no"
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+@@ -31163,14 +44186,12 @@
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ 
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+@@ -31194,7 +44215,8 @@
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_XauFileName=$ac_lib; else ac_cv_funclib_XauFileName=yes; fi";break
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -31219,37 +44241,44 @@
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char $ac_func (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+ char $ac_func ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
+ /* The GNU C library defines this for functions which it implements
+     to always fail with ENOSYS.  Some functions are actually named
+     something starting with __ and the normal name is an alias.  */
+ #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
+ choke me
+ #else
+-f = $ac_func;
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != $ac_func;
+   ;
+   return 0;
+ }
+@@ -31269,7 +44298,8 @@
+   eval "$as_ac_var=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ eval "$as_ac_var=no"
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+@@ -31380,14 +44410,12 @@
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ 
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+@@ -31457,7 +44485,8 @@
+   ac_cv_c_const=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ ac_cv_c_const=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+@@ -31479,14 +44508,12 @@
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ $ac_includes_default
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+@@ -31513,7 +44540,8 @@
+   ac_cv_type_off_t=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ ac_cv_type_off_t=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+@@ -31537,7 +44565,11 @@
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ #include <sys/types.h>
+ #if STDC_HEADERS
+ #include <stdlib.h>
+@@ -31546,7 +44578,7 @@
+ 
+ _ACEOF
+ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+-  egrep "mode_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
++  $EGREP "mode_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
+   ac_cv_type_mode_t=yes
+ else
+   ac_cv_type_mode_t=no
+@@ -31571,7 +44603,11 @@
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ #include <sys/types.h>
+ #if STDC_HEADERS
+ #include <stdlib.h>
+@@ -31580,7 +44616,7 @@
+ #include <signal.h>
+ _ACEOF
+ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+-  egrep "sig_atomic_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
++  $EGREP "sig_atomic_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
+   ac_cv_type_sig_atomic_t=yes
+ else
+   ac_cv_type_sig_atomic_t=no
+@@ -31608,19 +44644,17 @@
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ #include <sys/types.h>
+ #if STDC_HEADERS
+ #include <stdlib.h>
+ #include <stddef.h>
+ #endif
+ 
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+@@ -31644,7 +44678,8 @@
+   eval "ac_cv_type_$cv=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ eval "ac_cv_type_$cv=no"
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+@@ -31662,14 +44697,12 @@
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ $ac_includes_default
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+@@ -31696,7 +44729,8 @@
+   ac_cv_type_long_long=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ ac_cv_type_long_long=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+@@ -31727,17 +44761,15 @@
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ #include <sys/types.h>
+ #include <sys/time.h>
+ #include <time.h>
+ 
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+@@ -31762,7 +44794,8 @@
+   ac_cv_header_time=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ ac_cv_header_time=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+@@ -31784,16 +44817,14 @@
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ #include <sys/types.h>
+ #include <time.h>
+ 
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+@@ -31817,7 +44848,8 @@
+   ac_cv_struct_tm=time.h
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ ac_cv_struct_tm=sys/time.h
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+@@ -31840,48 +44872,59 @@
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ #include <stdlib.h>
+ #include <stdarg.h>
+ #include <string.h>
+ #include <float.h>
+ 
++int
++main ()
++{
++
++  ;
++  return 0;
++}
+ _ACEOF
+-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
+-  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
+   ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
+-  rm -f conftest.er1
+-  cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); } >/dev/null; then
+-  if test -s conftest.err; then
+-    ac_cpp_err=$ac_c_preproc_warn_flag
+-  else
+-    ac_cpp_err=
+-  fi
+-else
+-  ac_cpp_err=yes
+-fi
+-if test -z "$ac_cpp_err"; then
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
+   ac_cv_header_stdc=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-  cat conftest.$ac_ext >&5
+-  ac_cv_header_stdc=no
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_header_stdc=no
+ fi
+-rm -f conftest.err conftest.$ac_ext
++rm -f conftest.$ac_objext conftest.$ac_ext
+ 
+ if test $ac_cv_header_stdc = yes; then
+   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ #include <string.h>
+ 
+ _ACEOF
+ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+-  egrep "memchr" >/dev/null 2>&1; then
++  $EGREP "memchr" >/dev/null 2>&1; then
+   :
+ else
+   ac_cv_header_stdc=no
+@@ -31894,12 +44937,16 @@
+   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ #include <stdlib.h>
+ 
+ _ACEOF
+ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+-  egrep "free" >/dev/null 2>&1; then
++  $EGREP "free" >/dev/null 2>&1; then
+   :
+ else
+   ac_cv_header_stdc=no
+@@ -31915,13 +44962,18 @@
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ #include <ctype.h>
+ #if ((' ' & 0x0FF) == 0x020)
+ # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
+ # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
+ #else
+-# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
++# define ISLOWER(c) \
++                   (('a' <= (c) && (c) <= 'i') \
+                      || ('j' <= (c) && (c) <= 'r') \
+                      || ('s' <= (c) && (c) <= 'z'))
+ # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
+@@ -31954,11 +45006,12 @@
+ else
+   echo "$as_me: program exited with status $ac_status" >&5
+ echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ ( exit $ac_status )
+ ac_cv_header_stdc=no
+ fi
+-rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
+ fi
+ fi
+ fi
+@@ -32091,7 +45144,11 @@
+ echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ $ac_includes_default
+ #include <$ac_header>
+ _ACEOF
+@@ -32110,7 +45167,8 @@
+   ac_header_compiler=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ ac_header_compiler=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+@@ -32122,13 +45180,17 @@
+ echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ #include <$ac_header>
+ _ACEOF
+ if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
+   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+   ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
++  grep -v '^ *+' conftest.er1 >conftest.err
+   rm -f conftest.er1
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+@@ -32145,7 +45207,8 @@
+   ac_header_preproc=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-  cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+   ac_header_preproc=no
+ fi
+ rm -f conftest.err conftest.$ac_ext
+@@ -32158,14 +45221,32 @@
+     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
+ echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
+     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
+-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
++    (
++      cat <<\_ASBOX
++## ------------------------------------ ##
++## Report this to bug-autoconf@gnu.org. ##
++## ------------------------------------ ##
++_ASBOX
++    ) |
++      sed "s/^/$as_me: WARNING:     /" >&2
++    ;;
+   no:yes )
+     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
+ echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
+     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
+ echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
+     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
+-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
++    (
++      cat <<\_ASBOX
++## ------------------------------------ ##
++## Report this to bug-autoconf@gnu.org. ##
++## ------------------------------------ ##
++_ASBOX
++    ) |
++      sed "s/^/$as_me: WARNING:     /" >&2
++    ;;
+ esac
+ echo "$as_me:$LINENO: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+@@ -32225,14 +45306,12 @@
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ 
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+@@ -32256,7 +45335,8 @@
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_logwtmp=$ac_lib; else ac_cv_funclib_logwtmp=yes; fi";break
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -32281,37 +45361,44 @@
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char $ac_func (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+ char $ac_func ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
+ /* The GNU C library defines this for functions which it implements
+     to always fail with ENOSYS.  Some functions are actually named
+     something starting with __ and the normal name is an alias.  */
+ #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
+ choke me
+ #else
+-f = $ac_func;
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != $ac_func;
+   ;
+   return 0;
+ }
+@@ -32331,7 +45418,8 @@
+   eval "$as_ac_var=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ eval "$as_ac_var=no"
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+@@ -32408,14 +45496,12 @@
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ 
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+@@ -32439,7 +45525,8 @@
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_logout=$ac_lib; else ac_cv_funclib_logout=yes; fi";break
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -32464,37 +45551,44 @@
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char $ac_func (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+ char $ac_func ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
+ /* The GNU C library defines this for functions which it implements
+     to always fail with ENOSYS.  Some functions are actually named
+     something starting with __ and the normal name is an alias.  */
+ #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
+ choke me
+ #else
+-f = $ac_func;
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != $ac_func;
+   ;
+   return 0;
+ }
+@@ -32514,7 +45608,8 @@
+   eval "$as_ac_var=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ eval "$as_ac_var=no"
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+@@ -32591,14 +45686,12 @@
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ 
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+@@ -32622,7 +45715,8 @@
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_openpty=$ac_lib; else ac_cv_funclib_openpty=yes; fi";break
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -32647,37 +45741,44 @@
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char $ac_func (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+ char $ac_func ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
+ /* The GNU C library defines this for functions which it implements
+     to always fail with ENOSYS.  Some functions are actually named
+     something starting with __ and the normal name is an alias.  */
+ #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
+ choke me
+ #else
+-f = $ac_func;
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != $ac_func;
+   ;
+   return 0;
+ }
+@@ -32697,7 +45798,8 @@
+   eval "$as_ac_var=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ eval "$as_ac_var=no"
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+@@ -32774,14 +45876,12 @@
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ 
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+@@ -32805,7 +45905,8 @@
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_tgetent=$ac_lib; else ac_cv_funclib_tgetent=yes; fi";break
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -32830,37 +45931,44 @@
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char $ac_func (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+ char $ac_func ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
+ /* The GNU C library defines this for functions which it implements
+     to always fail with ENOSYS.  Some functions are actually named
+     something starting with __ and the normal name is an alias.  */
+ #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
+ choke me
+ #else
+-f = $ac_func;
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != $ac_func;
+   ;
+   return 0;
+ }
+@@ -32880,7 +45988,8 @@
+   eval "$as_ac_var=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ eval "$as_ac_var=no"
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+@@ -33004,37 +46113,44 @@
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char $ac_func (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+ char $ac_func ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
+ /* The GNU C library defines this for functions which it implements
+     to always fail with ENOSYS.  Some functions are actually named
+     something starting with __ and the normal name is an alias.  */
+ #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
+ choke me
+ #else
+-f = $ac_func;
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != $ac_func;
+   ;
+   return 0;
+ }
+@@ -33054,7 +46170,8 @@
+   eval "$as_ac_var=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ eval "$as_ac_var=no"
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+@@ -33089,7 +46206,11 @@
+ echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ $ac_includes_default
+ #include <$ac_header>
+ _ACEOF
+@@ -33108,7 +46229,8 @@
+   ac_header_compiler=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ ac_header_compiler=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+@@ -33120,13 +46242,17 @@
+ echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ #include <$ac_header>
+ _ACEOF
+ if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
+   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+   ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
++  grep -v '^ *+' conftest.er1 >conftest.err
+   rm -f conftest.er1
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+@@ -33143,7 +46269,8 @@
+   ac_header_preproc=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-  cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+   ac_header_preproc=no
+ fi
+ rm -f conftest.err conftest.$ac_ext
+@@ -33156,14 +46283,32 @@
+     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
+ echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
+     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
+-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
++    (
++      cat <<\_ASBOX
++## ------------------------------------ ##
++## Report this to bug-autoconf@gnu.org. ##
++## ------------------------------------ ##
++_ASBOX
++    ) |
++      sed "s/^/$as_me: WARNING:     /" >&2
++    ;;
+   no:yes )
+     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
+ echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
+     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
+ echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
+     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
+-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
++    (
++      cat <<\_ASBOX
++## ------------------------------------ ##
++## Report this to bug-autoconf@gnu.org. ##
++## ------------------------------------ ##
++_ASBOX
++    ) |
++      sed "s/^/$as_me: WARNING:     /" >&2
++    ;;
+ esac
+ echo "$as_me:$LINENO: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+@@ -33196,37 +46341,44 @@
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char $ac_func (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+ char $ac_func ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
+ /* The GNU C library defines this for functions which it implements
+     to always fail with ENOSYS.  Some functions are actually named
+     something starting with __ and the normal name is an alias.  */
+ #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
+ choke me
+ #else
+-f = $ac_func;
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != $ac_func;
+   ;
+   return 0;
+ }
+@@ -33246,7 +46398,8 @@
+   eval "$as_ac_var=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ eval "$as_ac_var=no"
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+@@ -33271,7 +46424,11 @@
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ $ac_includes_default
+ /* malloc might have been renamed as rpl_malloc. */
+ #undef malloc
+@@ -33414,11 +46571,12 @@
+ else
+   echo "$as_me: program exited with status $ac_status" >&5
+ echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ ( exit $ac_status )
+ ac_cv_func_mmap_fixed_mapped=no
+ fi
+-rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
+ fi
+ fi
+ echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
+@@ -33454,7 +46612,11 @@
+ echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ $ac_includes_default
+ #include <$ac_header>
+ _ACEOF
+@@ -33473,7 +46635,8 @@
+   ac_header_compiler=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ ac_header_compiler=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+@@ -33485,13 +46648,17 @@
+ echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ #include <$ac_header>
+ _ACEOF
+ if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
+   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+   ac_status=$?
+-  egrep -v '^ *\+' conftest.er1 >conftest.err
++  grep -v '^ *+' conftest.er1 >conftest.err
+   rm -f conftest.er1
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+@@ -33508,7 +46675,8 @@
+   ac_header_preproc=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-  cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+   ac_header_preproc=no
+ fi
+ rm -f conftest.err conftest.$ac_ext
+@@ -33521,14 +46689,32 @@
+     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
+ echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
+     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
+-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
++    (
++      cat <<\_ASBOX
++## ------------------------------------ ##
++## Report this to bug-autoconf@gnu.org. ##
++## ------------------------------------ ##
++_ASBOX
++    ) |
++      sed "s/^/$as_me: WARNING:     /" >&2
++    ;;
+   no:yes )
+     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
+ echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
+     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
+ echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
+     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
+-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
++    (
++      cat <<\_ASBOX
++## ------------------------------------ ##
++## Report this to bug-autoconf@gnu.org. ##
++## ------------------------------------ ##
++_ASBOX
++    ) |
++      sed "s/^/$as_me: WARNING:     /" >&2
++    ;;
+ esac
+ echo "$as_me:$LINENO: checking for $ac_header" >&5
+ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+@@ -33563,37 +46749,44 @@
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char $ac_func (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+ char $ac_func ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
+ /* The GNU C library defines this for functions which it implements
+     to always fail with ENOSYS.  Some functions are actually named
+     something starting with __ and the normal name is an alias.  */
+ #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
+ choke me
+ #else
+-f = $ac_func;
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != $ac_func;
+   ;
+   return 0;
+ }
+@@ -33613,7 +46806,8 @@
+   eval "$as_ac_var=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ eval "$as_ac_var=no"
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+@@ -33653,14 +46847,12 @@
+ 		LIBS=" $ac_lib  $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ 
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+@@ -33684,7 +46876,8 @@
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_getpwnam_r=$ac_lib; else ac_cv_funclib_getpwnam_r=yes; fi";break
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -33709,37 +46902,44 @@
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char $ac_func (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+ char $ac_func ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
+ /* The GNU C library defines this for functions which it implements
+     to always fail with ENOSYS.  Some functions are actually named
+     something starting with __ and the normal name is an alias.  */
+ #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
+ choke me
+ #else
+-f = $ac_func;
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != $ac_func;
+   ;
+   return 0;
+ }
+@@ -33759,7 +46959,8 @@
+   eval "$as_ac_var=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ eval "$as_ac_var=no"
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+@@ -33827,7 +47028,11 @@
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ 
+ #include <pwd.h>
+ int main()
+@@ -33852,11 +47057,12 @@
+ else
+   echo "$as_me: program exited with status $ac_status" >&5
+ echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ ( exit $ac_status )
+ ac_cv_func_getpwnam_r_posix=no
+ fi
+-rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
+ fi
+ LIBS="$ac_libs"
+ fi
+@@ -33884,37 +47090,44 @@
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char $ac_func (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+ char $ac_func ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
+ /* The GNU C library defines this for functions which it implements
+     to always fail with ENOSYS.  Some functions are actually named
+     something starting with __ and the normal name is an alias.  */
+ #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
+ choke me
+ #else
+-f = $ac_func;
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != $ac_func;
+   ;
+   return 0;
+ }
+@@ -33934,7 +47147,8 @@
+   eval "$as_ac_var=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ eval "$as_ac_var=no"
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+@@ -33962,14 +47176,12 @@
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ #include <utmp.h>
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+@@ -33993,7 +47205,8 @@
+   ac_cv_type_struct_utmp_ut_addr=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ ac_cv_type_struct_utmp_ut_addr=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+@@ -34021,14 +47234,12 @@
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ #include <utmp.h>
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+@@ -34052,7 +47263,8 @@
+   ac_cv_type_struct_utmp_ut_host=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ ac_cv_type_struct_utmp_ut_host=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+@@ -34080,14 +47292,12 @@
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ #include <utmp.h>
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+@@ -34111,7 +47321,8 @@
+   ac_cv_type_struct_utmp_ut_id=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ ac_cv_type_struct_utmp_ut_id=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+@@ -34139,14 +47350,12 @@
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ #include <utmp.h>
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+@@ -34170,7 +47379,8 @@
+   ac_cv_type_struct_utmp_ut_pid=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ ac_cv_type_struct_utmp_ut_pid=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+@@ -34198,14 +47408,12 @@
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ #include <utmp.h>
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+@@ -34229,7 +47437,8 @@
+   ac_cv_type_struct_utmp_ut_type=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ ac_cv_type_struct_utmp_ut_type=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+@@ -34257,14 +47466,12 @@
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ #include <utmp.h>
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+@@ -34288,7 +47495,8 @@
+   ac_cv_type_struct_utmp_ut_user=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ ac_cv_type_struct_utmp_ut_user=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+@@ -34316,14 +47524,12 @@
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ #include <utmpx.h>
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+@@ -34347,7 +47553,8 @@
+   ac_cv_type_struct_utmpx_ut_exit=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ ac_cv_type_struct_utmpx_ut_exit=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+@@ -34375,14 +47582,12 @@
+ 
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ #include <utmpx.h>
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+@@ -34406,7 +47611,8 @@
+   ac_cv_type_struct_utmpx_ut_syslen=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ ac_cv_type_struct_utmpx_ut_syslen=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+@@ -34432,7 +47638,11 @@
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ 
+ #ifdef HAVE_INTTYPES_H
+ #include <inttypes.h>
+@@ -34451,12 +47661,6 @@
+ #endif
+ 
+ 
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+@@ -34483,7 +47687,8 @@
+   ac_cv_type_int8_t=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ ac_cv_type_int8_t=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+@@ -34505,7 +47710,11 @@
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ 
+ #ifdef HAVE_INTTYPES_H
+ #include <inttypes.h>
+@@ -34524,12 +47733,6 @@
+ #endif
+ 
+ 
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+@@ -34556,7 +47759,8 @@
+   ac_cv_type_int16_t=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ ac_cv_type_int16_t=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+@@ -34578,7 +47782,11 @@
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ 
+ #ifdef HAVE_INTTYPES_H
+ #include <inttypes.h>
+@@ -34597,12 +47805,6 @@
+ #endif
+ 
+ 
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+@@ -34629,7 +47831,8 @@
+   ac_cv_type_int32_t=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ ac_cv_type_int32_t=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+@@ -34651,7 +47854,11 @@
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ 
+ #ifdef HAVE_INTTYPES_H
+ #include <inttypes.h>
+@@ -34670,12 +47877,6 @@
+ #endif
+ 
+ 
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+@@ -34702,7 +47903,8 @@
+   ac_cv_type_int64_t=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ ac_cv_type_int64_t=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+@@ -34724,7 +47926,11 @@
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ 
+ #ifdef HAVE_INTTYPES_H
+ #include <inttypes.h>
+@@ -34743,12 +47949,6 @@
+ #endif
+ 
+ 
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+@@ -34775,7 +47975,8 @@
+   ac_cv_type_u_int8_t=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ ac_cv_type_u_int8_t=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+@@ -34797,7 +47998,11 @@
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ 
+ #ifdef HAVE_INTTYPES_H
+ #include <inttypes.h>
+@@ -34816,12 +48021,6 @@
+ #endif
+ 
+ 
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+@@ -34848,7 +48047,8 @@
+   ac_cv_type_u_int16_t=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ ac_cv_type_u_int16_t=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+@@ -34870,7 +48070,11 @@
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ 
+ #ifdef HAVE_INTTYPES_H
+ #include <inttypes.h>
+@@ -34889,12 +48093,6 @@
+ #endif
+ 
+ 
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+@@ -34921,7 +48119,8 @@
+   ac_cv_type_u_int32_t=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ ac_cv_type_u_int32_t=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+@@ -34943,7 +48142,11 @@
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ 
+ #ifdef HAVE_INTTYPES_H
+ #include <inttypes.h>
+@@ -34962,12 +48165,6 @@
+ #endif
+ 
+ 
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+@@ -34994,7 +48191,8 @@
+   ac_cv_type_u_int64_t=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ ac_cv_type_u_int64_t=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+@@ -35016,7 +48214,11 @@
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ 
+ #ifdef HAVE_INTTYPES_H
+ #include <inttypes.h>
+@@ -35035,12 +48237,6 @@
+ #endif
+ 
+ 
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+@@ -35067,7 +48263,8 @@
+   ac_cv_type_uint8_t=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ ac_cv_type_uint8_t=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+@@ -35089,7 +48286,11 @@
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ 
+ #ifdef HAVE_INTTYPES_H
+ #include <inttypes.h>
+@@ -35108,12 +48309,6 @@
+ #endif
+ 
+ 
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+@@ -35140,7 +48335,8 @@
+   ac_cv_type_uint16_t=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ ac_cv_type_uint16_t=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+@@ -35162,7 +48358,11 @@
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ 
+ #ifdef HAVE_INTTYPES_H
+ #include <inttypes.h>
+@@ -35181,12 +48381,6 @@
+ #endif
+ 
+ 
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+@@ -35213,7 +48407,8 @@
+   ac_cv_type_uint32_t=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ ac_cv_type_uint32_t=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+@@ -35235,7 +48430,11 @@
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ 
+ #ifdef HAVE_INTTYPES_H
+ #include <inttypes.h>
+@@ -35254,12 +48453,6 @@
+ #endif
+ 
+ 
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+@@ -35286,7 +48479,8 @@
+   ac_cv_type_uint64_t=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ ac_cv_type_uint64_t=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+@@ -35326,14 +48520,12 @@
+ 		LIBS=" $ac_lib $LIB_tgetent $ac_save_LIBS"
+ 		cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ 
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+@@ -35357,7 +48549,8 @@
+   eval "if test -n \"$ac_lib\";then ac_cv_funclib_el_init=$ac_lib; else ac_cv_funclib_el_init=yes; fi";break
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ 	done
+@@ -35382,37 +48575,44 @@
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char $ac_func (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+ char $ac_func ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-int
+-main ()
+-{
+ /* The GNU C library defines this for functions which it implements
+     to always fail with ENOSYS.  Some functions are actually named
+     something starting with __ and the normal name is an alias.  */
+ #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
+ choke me
+ #else
+-f = $ac_func;
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != $ac_func;
+   ;
+   return 0;
+ }
+@@ -35432,7 +48632,8 @@
+   eval "$as_ac_var=yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ eval "$as_ac_var=no"
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+@@ -35496,15 +48697,13 @@
+ 
+ 		cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ #include <stdio.h>
+ 			#include <histedit.h>
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+@@ -35528,7 +48727,8 @@
+   ac_cv_func_el_init_four=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ ac_cv_func_el_init_four=no
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+@@ -35552,8 +48752,10 @@
+ 	:
+ elif test "$ac_cv_func_el_init" = yes; then
+ 	ac_foo=yes
++	DIR_readline="editline"
+ 	LIB_readline="\$(top_builddir)/lib/editline/libel_compat.la \$(LIB_el_init) \$(LIB_tgetent)"
+ else
++	DIR_readline="editline"
+ 	LIB_readline="\$(top_builddir)/lib/editline/libeditline.la \$(LIB_tgetent)"
+ fi
+ 
+@@ -35618,37 +48820,44 @@
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
+-/* System header to define __stub macros and hopefully few prototypes,
+-    which can conflict with char getmsg (); below.  */
+-#include <assert.h>
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char getmsg (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ #ifdef __cplusplus
+ extern "C"
++{
+ #endif
+ /* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+ char getmsg ();
+-char (*f) ();
+-
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+-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_getmsg) || defined (__stub___getmsg)
+ choke me
+ #else
+-f = getmsg;
++char (*f) () = getmsg;
++#endif
++#ifdef __cplusplus
++}
+ #endif
+ 
++int
++main ()
++{
++return f != getmsg;
+   ;
+   return 0;
+ }
+@@ -35668,7 +48877,8 @@
+   ac_cv_func_getmsg=yes
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ ac_cv_func_getmsg=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+@@ -35687,7 +48897,11 @@
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ 
+ 			#include <stdio.h>
+ 			#include <errno.h>
+@@ -35717,11 +48931,12 @@
+ else
+   echo "$as_me: program exited with status $ac_status" >&5
+ echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ ( exit $ac_status )
+ ac_cv_func_getmsg_works=no
+ fi
+-rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
+ fi
+ fi
+ echo "$as_me:$LINENO: result: $ac_cv_func_getmsg_works" >&5
+@@ -35805,13 +49020,19 @@
+     CPPFLAGS="-I/usr/include/et ${CPPFLAGS}"
+   fi
+     if test "$cross_compiling" = yes; then
+-  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
+-echo "$as_me: error: cannot run test program while cross compiling" >&2;}
++  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
++See \`config.log' for more details." >&5
++echo "$as_me: error: cannot run test program while cross compiling
++See \`config.log' for more details." >&2;}
+    { (exit 1); exit 1; }; }
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ 
+ #include <com_err.h>
+ #include <string.h>
+@@ -35834,11 +49055,12 @@
+ else
+   echo "$as_me: program exited with status $ac_status" >&5
+ echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ ( exit $ac_status )
+ CPPFLAGS="${save_CPPFLAGS}"
+ fi
+-rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
+ fi
+ fi
+ echo "$as_me:$LINENO: result: ${krb_cv_compile_et}" >&5
+@@ -35850,11 +49072,15 @@
+   CPPFLAGS="$CPPFLAGS"
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ #include "conftest_et.c"
+ _ACEOF
+ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+-  egrep "initialize_error_table_r" >/dev/null 2>&1; then
++  $EGREP "initialize_error_table_r" >/dev/null 2>&1; then
+   krb_cv_com_err_need_r="initialize_error_table_r(0,0,0,0);"
+       CPPFLAGS="$save2_CPPFLAGS"
+ else
+@@ -35880,14 +49106,12 @@
+ echo $ECHO_N "checking for com_err... $ECHO_C" >&6
+   cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+-#include "confdefs.h"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
+ #include <com_err.h>
+-#ifdef F77_DUMMY_MAIN
+-#  ifdef __cplusplus
+-     extern "C"
+-#  endif
+-   int F77_DUMMY_MAIN() { return 1; }
+-#endif
+ int
+ main ()
+ {
+@@ -35915,7 +49139,8 @@
+   krb_cv_com_err="yes"
+ else
+   echo "$as_me: failed program was:" >&5
+-cat conftest.$ac_ext >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
+ krb_cv_com_err="no"; CPPFLAGS="${save_CPPFLAGS}"
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+@@ -36072,7 +49297,7 @@
+ 
+ 
+ 
+-ac_config_files="$ac_config_files Makefile include/Makefile include/kadm5/Makefile lib/Makefile lib/45/Makefile lib/auth/Makefile lib/auth/afskauthlib/Makefile lib/auth/pam/Makefile lib/auth/sia/Makefile lib/asn1/Makefile lib/com_err/Makefile lib/des/Makefile lib/editline/Makefile lib/gssapi/Makefile lib/hdb/Makefile lib/kadm5/Makefile lib/kafs/Makefile lib/kdfs/Makefile lib/krb5/Makefile lib/otp/Makefile lib/roken/Makefile lib/sl/Makefile lib/vers/Makefile kuser/Makefile kpasswd/Makefile kadmin/Makefile admin/Makefile kdc/Makefile appl/Makefile appl/afsutil/Makefile appl/ftp/Makefile appl/ftp/common/Makefile appl/ftp/ftp/Makefile appl/ftp/ftpd/Makefile appl/kx/Makefile appl/login/Makefile appl/otp/Makefile appl/popper/Makefile appl/push/Makefile appl/rsh/Makefile appl/rcp/Makefile appl/su/Makefile appl/xnlock/Makefile appl/telnet/Makefile appl/telnet/libtelnet/Makefile appl/telnet/telnet/Makefile appl/telnet/telnetd/Makefile appl/test/Makefile appl/kf/Makefile appl/dceutils/Makefile doc/Makefile tools/Makefile"
++                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        ac_config_files="$ac_config_files Makefile include/Makefile include/kadm5/Makefile lib/Makefile lib/45/Makefile lib/auth/Makefile lib/auth/afskauthlib/Makefile lib/auth/pam/Makefile lib/auth/sia/Makefile lib/asn1/Makefile lib/com_err/Makefile lib/des/Makefile lib/editline/Makefile lib/gssapi/Makefile lib/hdb/Makefile lib/kadm5/Makefile lib/kafs/Makefile lib/kdfs/Makefile lib/krb5/Makefile lib/otp/Makefile lib/roken/Makefile lib/sl/Makefile lib/vers/Makefile kuser/Makefile kpasswd/Makefile kadmin/Makefile admin/Makefile kdc/Makefile appl/Makefile appl/afsutil/Makefile appl/ftp/Makefile appl/ftp/common/Makefile appl/ftp/ftp/Makefile appl/ftp/ftpd/Makefile appl/kx/Makefile appl/login/Makefile appl/otp/Makefile appl/popper/Makefile appl/push/Makefile appl/rsh/Makefile appl/rcp/Makefile appl/su/Makefile appl/xnlock/Makefile appl/telnet/Makefile appl/telnet/libtelnet/Makefile appl/telnet/telnet/Makefile appl/telnet/telnetd/Makefile appl/test/Makefile appl/kf/Makefile appl/dceutils/Makefile doc/Makefile tools/Makefile"
+ 
+ 
+ cat >confcache <<\_ACEOF
+@@ -36085,7 +49310,7 @@
+ # config.status only pays attention to the cache file if you give it
+ # the --recheck option to rerun configure.
+ #
+-# `ac_cv_env_foo' variables (set or unset) will be overriden when
++# `ac_cv_env_foo' variables (set or unset) will be overridden when
+ # loading this file, other *unset* `ac_cv_foo' will be assigned the
+ # following values.
+ 
+@@ -36120,7 +49345,7 @@
+      t end
+      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
+      : end' >>confcache
+-if cmp -s $cache_file confcache; then :; else
++if diff $cache_file confcache >/dev/null 2>&1; then :; else
+   if test -w $cache_file; then
+     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
+     cat confcache >$cache_file
+@@ -36151,6 +49376,28 @@
+ 
+ DEFS=-DHAVE_CONFIG_H
+ 
++ac_libobjs=
++ac_ltlibobjs=
++for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
++  # 1. Remove the extension, and $U if already installed.
++  ac_i=`echo "$ac_i" |
++         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
++  # 2. Add them.
++  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
++  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
++done
++LIBOBJS=$ac_libobjs
++
++LTLIBOBJS=$ac_ltlibobjs
++
++
++if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
+ if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
+   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
+ Usually this means the macro was only invoked conditionally." >&5
+@@ -36340,11 +49587,12 @@
+ # configure, is in config.log if it exists.
+ 
+ debug=false
++ac_cs_recheck=false
++ac_cs_silent=false
+ SHELL=\${CONFIG_SHELL-$SHELL}
+ _ACEOF
+ 
+ cat >>$CONFIG_STATUS <<\_ACEOF
+-
+ ## --------------------- ##
+ ## M4sh Initialization.  ##
+ ## --------------------- ##
+@@ -36353,11 +49601,13 @@
+ if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
+   emulate sh
+   NULLCMD=:
++  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
++  # is contrary to our usage.  Disable this feature.
++  alias -g '${1+"$@"}'='"$@"'
+ elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
+   set -o posix
+ fi
+ 
+-# NLS nuisances.
+ # Support unset when possible.
+ if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
+   as_unset=unset
+@@ -36365,34 +49615,42 @@
+   as_unset=false
+ fi
+ 
+-(set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
+-    { $as_unset LANG || test "${LANG+set}" != set; } ||
+-      { LANG=C; export LANG; }
+-(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
+-    { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
+-      { LC_ALL=C; export LC_ALL; }
+-(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
+-    { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
+-      { LC_TIME=C; export LC_TIME; }
+-(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
+-    { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
+-      { LC_CTYPE=C; export LC_CTYPE; }
+-(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
+-    { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
+-      { LANGUAGE=C; export LANGUAGE; }
+-(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
+-    { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
+-      { LC_COLLATE=C; export LC_COLLATE; }
+-(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
+-    { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
+-      { LC_NUMERIC=C; export LC_NUMERIC; }
+-(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
+-    { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
+-      { LC_MESSAGES=C; export LC_MESSAGES; }
++
++# Work around bugs in pre-3.0 UWIN ksh.
++$as_unset ENV MAIL MAILPATH
++PS1='$ '
++PS2='> '
++PS4='+ '
++
++# NLS nuisances.
++for as_var in \
++  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
++  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
++  LC_TELEPHONE LC_TIME
++do
++  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
++    eval $as_var=C; export $as_var
++  else
++    $as_unset $as_var
++  fi
++done
++
++# Required to use basename.
++if expr a : '\(a\)' >/dev/null 2>&1; then
++  as_expr=expr
++else
++  as_expr=false
++fi
++
++if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
++  as_basename=basename
++else
++  as_basename=false
++fi
+ 
+ 
+ # Name of the executable.
+-as_me=`(basename "$0") 2>/dev/null ||
++as_me=`$as_basename "$0" ||
+ $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
+ 	 X"$0" : 'X\(//\)$' \| \
+ 	 X"$0" : 'X\(/\)$' \| \
+@@ -36403,6 +49661,7 @@
+   	  /^X\/\(\/\).*/{ s//\1/; q; }
+   	  s/.*/./; q'`
+ 
++
+ # PATH needs CR, and LINENO needs CR and PATH.
+ # Avoid depending upon Character Ranges.
+ as_cr_letters='abcdefghijklmnopqrstuvwxyz'
+@@ -36413,15 +49672,15 @@
+ 
+ # The user is always right.
+ if test "${PATH_SEPARATOR+set}" != set; then
+-  echo "#! /bin/sh" >conftest.sh
+-  echo  "exit 0"   >>conftest.sh
+-  chmod +x conftest.sh
+-  if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
++  echo "#! /bin/sh" >conf$$.sh
++  echo  "exit 0"   >>conf$$.sh
++  chmod +x conf$$.sh
++  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
+     PATH_SEPARATOR=';'
+   else
+     PATH_SEPARATOR=:
+   fi
+-  rm -f conftest.sh
++  rm -f conf$$.sh
+ fi
+ 
+ 
+@@ -36470,6 +49729,8 @@
+   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
+   test "x$as_lineno_1" != "x$as_lineno_2" &&
+   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
++	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
++	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
+ 	     CONFIG_SHELL=$as_dir/$as_base
+ 	     export CONFIG_SHELL
+ 	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
+@@ -36543,6 +49804,12 @@
+ fi
+ rm -f conf$$ conf$$.exe conf$$.file
+ 
++if mkdir -p . 2>/dev/null; then
++  as_mkdir_p=:
++else
++  as_mkdir_p=false
++fi
++
+ as_executable_p="test -f"
+ 
+ # Sed expression to map a string onto a valid CPP name.
+@@ -36559,7 +49826,7 @@
+ IFS=" 	$as_nl"
+ 
+ # CDPATH.
+-$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
++$as_unset CDPATH
+ 
+ exec 6>&1
+ 
+@@ -36576,7 +49843,7 @@
+ cat >&5 <<_CSEOF
+ 
+ This file was extended by Heimdal $as_me 0.6, which was
+-generated by GNU Autoconf 2.53.  Invocation command line was
++generated by GNU Autoconf 2.57.  Invocation command line was
+ 
+   CONFIG_FILES    = $CONFIG_FILES
+   CONFIG_HEADERS  = $CONFIG_HEADERS
+@@ -36616,6 +49883,7 @@
+ 
+   -h, --help       print this help, then exit
+   -V, --version    print version number, then exit
++  -q, --quiet      do not print progress messages
+   -d, --debug      don't remove temporary files
+       --recheck    update $as_me by reconfiguring in the same conditions
+   --file=FILE[:TEMPLATE]
+@@ -36638,7 +49906,7 @@
+ cat >>$CONFIG_STATUS <<_ACEOF
+ ac_cs_version="\\
+ Heimdal config.status 0.6
+-configured by $0, generated by GNU Autoconf 2.53,
++configured by $0, generated by GNU Autoconf 2.57,
+   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
+ 
+ Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
+@@ -36659,25 +49927,25 @@
+   --*=*)
+     ac_option=`expr "x$1" : 'x\([^=]*\)='`
+     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
+-    shift
+-    set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
+-    shift
++    ac_shift=:
++    ;;
++  -*)
++    ac_option=$1
++    ac_optarg=$2
++    ac_shift=shift
+     ;;
+-  -*);;
+   *) # This is not an option, so the user has probably given explicit
+      # arguments.
++     ac_option=$1
+      ac_need_defaults=false;;
+   esac
+ 
+-  case $1 in
++  case $ac_option in
+   # Handling of the options.
+ _ACEOF
+-cat >>$CONFIG_STATUS <<_ACEOF
+-  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
+-    echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
+-    exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
+-_ACEOF
+ cat >>$CONFIG_STATUS <<\_ACEOF
++  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
++    ac_cs_recheck=: ;;
+   --version | --vers* | -V )
+     echo "$ac_cs_version"; exit 0 ;;
+   --he | --h)
+@@ -36692,13 +49960,16 @@
+   --debug | --d* | -d )
+     debug=: ;;
+   --file | --fil | --fi | --f )
+-    shift
+-    CONFIG_FILES="$CONFIG_FILES $1"
++    $ac_shift
++    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
+     ac_need_defaults=false;;
+   --header | --heade | --head | --hea )
+-    shift
+-    CONFIG_HEADERS="$CONFIG_HEADERS $1"
++    $ac_shift
++    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
+     ac_need_defaults=false;;
++  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
++  | -silent | --silent | --silen | --sile | --sil | --si | --s)
++    ac_cs_silent=: ;;
+ 
+   # This is an error.
+   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
+@@ -36713,6 +49984,20 @@
+   shift
+ done
+ 
++ac_configure_extra_args=
++
++if $ac_cs_silent; then
++  exec 6>/dev/null
++  ac_configure_extra_args="$ac_configure_extra_args --silent"
++fi
++
++_ACEOF
++cat >>$CONFIG_STATUS <<_ACEOF
++if \$ac_cs_recheck; then
++  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
++  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
++fi
++
+ _ACEOF
+ 
+ cat >>$CONFIG_STATUS <<_ACEOF
+@@ -36801,6 +50086,9 @@
+   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
+ fi
+ 
++# Have a temporary directory for convenience.  Make it in the build tree
++# simply because there is no reason to put it here, and in addition,
++# creating and moving files from /tmp can sometimes cause problems.
+ # Create a temporary directory, and hook for its removal unless debugging.
+ $debug ||
+ {
+@@ -36809,17 +50097,17 @@
+ }
+ 
+ # Create a (secure) tmp directory for tmp files.
+-: ${TMPDIR=/tmp}
++
+ {
+-  tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
++  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
+   test -n "$tmp" && test -d "$tmp"
+ }  ||
+ {
+-  tmp=$TMPDIR/cs$$-$RANDOM
++  tmp=./confstat$$-$RANDOM
+   (umask 077 && mkdir $tmp)
+ } ||
+ {
+-   echo "$me: cannot create a temporary directory in $TMPDIR" >&2
++   echo "$me: cannot create a temporary directory in ." >&2
+    { (exit 1); exit 1; }
+ }
+ 
+@@ -36867,6 +50155,9 @@
+ s,@ECHO_N@,$ECHO_N,;t t
+ s,@ECHO_T@,$ECHO_T,;t t
+ s,@LIBS@,$LIBS,;t t
++s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
++s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
++s,@MAINT@,$MAINT,;t t
+ s,@CC@,$CC,;t t
+ s,@CFLAGS@,$CFLAGS,;t t
+ s,@LDFLAGS@,$LDFLAGS,;t t
+@@ -36899,9 +50190,6 @@
+ s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
+ s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
+ s,@CCDEPMODE@,$CCDEPMODE,;t t
+-s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
+-s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
+-s,@MAINT@,$MAINT,;t t
+ s,@build@,$build,;t t
+ s,@build_cpu@,$build_cpu,;t t
+ s,@build_vendor@,$build_vendor,;t t
+@@ -36916,15 +50204,28 @@
+ s,@LEXLIB@,$LEXLIB,;t t
+ s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
+ s,@LN_S@,$LN_S,;t t
++s,@EGREP@,$EGREP,;t t
+ s,@ECHO@,$ECHO,;t t
++s,@AR@,$AR,;t t
++s,@ac_ct_AR@,$ac_ct_AR,;t t
+ s,@RANLIB@,$RANLIB,;t t
+ s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
++s,@CXX@,$CXX,;t t
++s,@CXXFLAGS@,$CXXFLAGS,;t t
++s,@ac_ct_CXX@,$ac_ct_CXX,;t t
++s,@CXXDEPMODE@,$CXXDEPMODE,;t t
++s,@CXXCPP@,$CXXCPP,;t t
++s,@F77@,$F77,;t t
++s,@FFLAGS@,$FFLAGS,;t t
++s,@ac_ct_F77@,$ac_ct_F77,;t t
+ s,@LIBTOOL@,$LIBTOOL,;t t
+ s,@WFLAGS@,$WFLAGS,;t t
+ s,@WFLAGS_NOUNUSED@,$WFLAGS_NOUNUSED,;t t
+ s,@WFLAGS_NOIMPLICITINT@,$WFLAGS_NOIMPLICITINT,;t t
++s,@DIR_openldap@,$DIR_openldap,;t t
+ s,@INCLUDE_openldap@,$INCLUDE_openldap,;t t
+ s,@LIB_openldap@,$LIB_openldap,;t t
++s,@DIR_krb4@,$DIR_krb4,;t t
+ s,@INCLUDE_krb4@,$INCLUDE_krb4,;t t
+ s,@LIB_krb4@,$LIB_krb4,;t t
+ s,@EXTRA_LIB45@,$EXTRA_LIB45,;t t
+@@ -36964,6 +50265,10 @@
+ s,@HAVE_NDBM_FALSE@,$HAVE_NDBM_FALSE,;t t
+ s,@DBLIB@,$DBLIB,;t t
+ s,@LIB_NDBM@,$LIB_NDBM,;t t
++s,@LIB_crypt@,$LIB_crypt,;t t
++s,@LIB_roken@,$LIB_roken,;t t
++s,@DIR_roken@,$DIR_roken,;t t
++s,@CPPFLAGS_roken@,$CPPFLAGS_roken,;t t
+ s,@VOID_RETSIGTYPE@,$VOID_RETSIGTYPE,;t t
+ s,@have_err_h_TRUE@,$have_err_h_TRUE,;t t
+ s,@have_err_h_FALSE@,$have_err_h_FALSE,;t t
+@@ -36993,11 +50298,6 @@
+ s,@LIB_getnameinfo@,$LIB_getnameinfo,;t t
+ s,@LIB_freeaddrinfo@,$LIB_freeaddrinfo,;t t
+ s,@LIB_gai_strerror@,$LIB_gai_strerror,;t t
+-s,@LIB_crypt@,$LIB_crypt,;t t
+-s,@DIR_roken@,$DIR_roken,;t t
+-s,@LIB_roken@,$LIB_roken,;t t
+-s,@INCLUDES_roken@,$INCLUDES_roken,;t t
+-s,@LIB_otp@,$LIB_otp,;t t
+ s,@OTP_TRUE@,$OTP_TRUE,;t t
+ s,@OTP_FALSE@,$OTP_FALSE,;t t
+ s,@LIB_security@,$LIB_security,;t t
+@@ -37007,10 +50307,21 @@
+ s,@CATMAN_TRUE@,$CATMAN_TRUE,;t t
+ s,@CATMAN_FALSE@,$CATMAN_FALSE,;t t
+ s,@CATMANEXT@,$CATMANEXT,;t t
++s,@DIR_readline@,$DIR_readline,;t t
+ s,@INCLUDE_readline@,$INCLUDE_readline,;t t
+ s,@LIB_readline@,$LIB_readline,;t t
++s,@DIR_hesiod@,$DIR_hesiod,;t t
+ s,@INCLUDE_hesiod@,$INCLUDE_hesiod,;t t
+ s,@LIB_hesiod@,$LIB_hesiod,;t t
++s,@DIR_sl@,$DIR_sl,;t t
++s,@INCLUDE_sl@,$INCLUDE_sl,;t t
++s,@LIB_sl@,$LIB_sl,;t t
++s,@DIR_ss@,$DIR_ss,;t t
++s,@INCLUDE_ss@,$INCLUDE_ss,;t t
++s,@LIB_ss@,$LIB_ss,;t t
++s,@DIR_otp@,$DIR_otp,;t t
++s,@INCLUDE_otp@,$INCLUDE_otp,;t t
++s,@LIB_otp@,$LIB_otp,;t t
+ s,@AIX_TRUE@,$AIX_TRUE,;t t
+ s,@AIX_FALSE@,$AIX_FALSE,;t t
+ s,@AIX4_TRUE@,$AIX4_TRUE,;t t
+@@ -37120,25 +50431,30 @@
+   	  /^X\(\/\/\)$/{ s//\1/; q; }
+   	  /^X\(\/\).*/{ s//\1/; q; }
+   	  s/.*/./; q'`
+-  { case "$ac_dir" in
+-  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
+-  *)                      as_incr_dir=.;;
+-esac
+-as_dummy="$ac_dir"
+-for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
+-  case $as_mkdir_dir in
+-    # Skip DOS drivespec
+-    ?:) as_incr_dir=$as_mkdir_dir ;;
+-    *)
+-      as_incr_dir=$as_incr_dir/$as_mkdir_dir
+-      test -d "$as_incr_dir" ||
+-        mkdir "$as_incr_dir" ||
+-	{ { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
+-echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
+-   { (exit 1); exit 1; }; }
+-    ;;
+-  esac
+-done; }
++  { if $as_mkdir_p; then
++    mkdir -p "$ac_dir"
++  else
++    as_dir="$ac_dir"
++    as_dirs=
++    while test ! -d "$as_dir"; do
++      as_dirs="$as_dir $as_dirs"
++      as_dir=`(dirname "$as_dir") 2>/dev/null ||
++$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++         X"$as_dir" : 'X\(//\)[^/]' \| \
++         X"$as_dir" : 'X\(//\)$' \| \
++         X"$as_dir" : 'X\(/\)' \| \
++         .     : '\(.\)' 2>/dev/null ||
++echo X"$as_dir" |
++    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
++  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
++  	  /^X\(\/\/\)$/{ s//\1/; q; }
++  	  /^X\(\/\).*/{ s//\1/; q; }
++  	  s/.*/./; q'`
++    done
++    test ! -n "$as_dirs" || mkdir $as_dirs
++  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
++echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
++   { (exit 1); exit 1; }; }; }
+ 
+   ac_builddir=.
+ 
+@@ -37168,7 +50484,7 @@
+ # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
+ # absolute.
+ ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
+-ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
++ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
+ ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
+ ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
+ 
+@@ -37358,7 +50674,7 @@
+ # Break up conftest.defines because some shells have a limit on the size
+ # of here documents, and old seds have small limits too (100 cmds).
+ echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
+-echo '  if egrep "^[ 	]*#[ 	]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
++echo '  if grep "^[ 	]*#[ 	]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
+ echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
+ echo '  :' >>$CONFIG_STATUS
+ rm -f conftest.tail
+@@ -37382,7 +50698,7 @@
+   mv conftest.tail conftest.defines
+ done
+ rm -f conftest.defines
+-echo '  fi # egrep' >>$CONFIG_STATUS
++echo '  fi # grep' >>$CONFIG_STATUS
+ echo >>$CONFIG_STATUS
+ 
+ # Break up conftest.undefs because some shells have a limit on the size
+@@ -37422,7 +50738,7 @@
+   cat $tmp/in >>$tmp/config.h
+   rm -f $tmp/in
+   if test x"$ac_file" != x-; then
+-    if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
++    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
+       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
+ echo "$as_me: $ac_file is unchanged" >&6;}
+     else
+@@ -37438,25 +50754,30 @@
+   	  /^X\(\/\/\)$/{ s//\1/; q; }
+   	  /^X\(\/\).*/{ s//\1/; q; }
+   	  s/.*/./; q'`
+-      { case "$ac_dir" in
+-  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
+-  *)                      as_incr_dir=.;;
+-esac
+-as_dummy="$ac_dir"
+-for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
+-  case $as_mkdir_dir in
+-    # Skip DOS drivespec
+-    ?:) as_incr_dir=$as_mkdir_dir ;;
+-    *)
+-      as_incr_dir=$as_incr_dir/$as_mkdir_dir
+-      test -d "$as_incr_dir" ||
+-        mkdir "$as_incr_dir" ||
+-	{ { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
+-echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
+-   { (exit 1); exit 1; }; }
+-    ;;
+-  esac
+-done; }
++      { if $as_mkdir_p; then
++    mkdir -p "$ac_dir"
++  else
++    as_dir="$ac_dir"
++    as_dirs=
++    while test ! -d "$as_dir"; do
++      as_dirs="$as_dir $as_dirs"
++      as_dir=`(dirname "$as_dir") 2>/dev/null ||
++$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++         X"$as_dir" : 'X\(//\)[^/]' \| \
++         X"$as_dir" : 'X\(//\)$' \| \
++         X"$as_dir" : 'X\(/\)' \| \
++         .     : '\(.\)' 2>/dev/null ||
++echo X"$as_dir" |
++    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
++  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
++  	  /^X\(\/\/\)$/{ s//\1/; q; }
++  	  /^X\(\/\).*/{ s//\1/; q; }
++  	  s/.*/./; q'`
++    done
++    test ! -n "$as_dirs" || mkdir $as_dirs
++  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
++echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
++   { (exit 1); exit 1; }; }; }
+ 
+       rm -f $ac_file
+       mv $tmp/config.h $ac_file
+@@ -37521,7 +50842,7 @@
+ # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
+ # absolute.
+ ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
+-ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
++ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
+ ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
+ ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
+ 
+@@ -37532,7 +50853,13 @@
+     depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
+   # Strip MF so we end up with the name of the file.
+   mf=`echo "$mf" | sed -e 's/:.*$//'`
+-  if (sed 1q $mf | fgrep 'generated by automake') > /dev/null 2>&1; then
++  # Check whether this is an Automake generated Makefile or not.
++  # We used to match only the files named `Makefile.in', but
++  # some people rename them; so instead we look at the file content.
++  # Grep'ing the first line is not enough: some people post-process
++  # each Makefile.in and add a new line on top of each file to say so.
++  # So let's grep whole file.
++  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
+     dirpart=`(dirname "$mf") 2>/dev/null ||
+ $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+          X"$mf" : 'X\(//\)[^/]' \| \
+@@ -37584,25 +50911,30 @@
+   	  /^X\(\/\/\)$/{ s//\1/; q; }
+   	  /^X\(\/\).*/{ s//\1/; q; }
+   	  s/.*/./; q'`
+-    { case $dirpart/$fdir in
+-  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
+-  *)                      as_incr_dir=.;;
+-esac
+-as_dummy=$dirpart/$fdir
+-for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
+-  case $as_mkdir_dir in
+-    # Skip DOS drivespec
+-    ?:) as_incr_dir=$as_mkdir_dir ;;
+-    *)
+-      as_incr_dir=$as_incr_dir/$as_mkdir_dir
+-      test -d "$as_incr_dir" ||
+-        mkdir "$as_incr_dir" ||
+-	{ { echo "$as_me:$LINENO: error: cannot create $dirpart/$fdir" >&5
+-echo "$as_me: error: cannot create $dirpart/$fdir" >&2;}
+-   { (exit 1); exit 1; }; }
+-    ;;
+-  esac
+-done; }
++    { if $as_mkdir_p; then
++    mkdir -p $dirpart/$fdir
++  else
++    as_dir=$dirpart/$fdir
++    as_dirs=
++    while test ! -d "$as_dir"; do
++      as_dirs="$as_dir $as_dirs"
++      as_dir=`(dirname "$as_dir") 2>/dev/null ||
++$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++         X"$as_dir" : 'X\(//\)[^/]' \| \
++         X"$as_dir" : 'X\(//\)$' \| \
++         X"$as_dir" : 'X\(/\)' \| \
++         .     : '\(.\)' 2>/dev/null ||
++echo X"$as_dir" |
++    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
++  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
++  	  /^X\(\/\/\)$/{ s//\1/; q; }
++  	  /^X\(\/\).*/{ s//\1/; q; }
++  	  s/.*/./; q'`
++    done
++    test ! -n "$as_dirs" || mkdir $as_dirs
++  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
++echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
++   { (exit 1); exit 1; }; }; }
+ 
+     # echo "creating $dirpart/$file"
+     echo '# dummy' > "$dirpart/$file"
+@@ -37631,8 +50963,11 @@
+ # need to make the FD available again.
+ if test "$no_create" != yes; then
+   ac_cs_success=:
++  ac_config_status_args=
++  test "$silent" = yes &&
++    ac_config_status_args="$ac_config_status_args --quiet"
+   exec 5>/dev/null
+-  $SHELL $CONFIG_STATUS || ac_cs_success=false
++  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
+   exec 5>>config.log
+   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
+   # would make configure fail if this is the last instruction.
+diff -ruN heimdal-0.6-old/doc/Makefile.in heimdal-0.6/doc/Makefile.in
+--- heimdal-0.6-old/doc/Makefile.in	2003-05-12 17:27:42.000000000 +0200
++++ heimdal-0.6/doc/Makefile.in	2003-09-15 17:09:50.000000000 +0200
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -72,6 +73,7 @@
+ PATH_SEPARATOR = @PATH_SEPARATOR@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+ AMTAR = @AMTAR@
++AR = @AR@
+ AS = @AS@
+ AWK = @AWK@
+ CANONICAL_HOST = @CANONICAL_HOST@
+@@ -80,16 +82,23 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
++CXX = @CXX@
++CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
++EGREP = @EGREP@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++F77 = @F77@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,7 +118,6 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+@@ -121,6 +129,7 @@
+ OBJDUMP = @OBJDUMP@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
++RC = @RC@
+ STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+@@ -191,6 +200,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -300,12 +318,12 @@
+ 
+ mostlyclean-aminfo:
+ 	-rm -f heimdal.aux heimdal.cp heimdal.cps heimdal.dvi heimdal.fn heimdal.ky \
+-	  heimdal.log heimdal.pg heimdal.ps heimdal.toc heimdal.tp \
+-	  heimdal.vr
++	  heimdal.log heimdal.pg heimdal.ps heimdal.tmp heimdal.toc \
++	  heimdal.tp heimdal.vr
+ 
+ maintainer-clean-aminfo:
+ 	cd $(srcdir) && \
+-	for i in $(INFO_DEPS); do \
++	list='$(INFO_DEPS)'; for i in $$list; do \
+ 	  rm -f $$i; \
+ 	  if test "`echo $$i-[0-9]*`" != "$$i-[0-9]*"; then \
+ 	    rm -f $$i-[0-9]*; \
+@@ -320,7 +338,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -370,7 +388,7 @@
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.6-old/include/config.h.in heimdal-0.6/include/config.h.in
+--- heimdal-0.6-old/include/config.h.in	2003-05-12 17:28:41.000000000 +0200
++++ heimdal-0.6/include/config.h.in	2003-09-15 17:09:09.000000000 +0200
+@@ -1241,7 +1241,7 @@
+    *, int, int) */
+ #undef OPENLOG_PROTO_COMPATIBLE
+ 
+-/* Define if you want OTP support in applications. */
++/* Define if you have the otp package. */
+ #undef OTP
+ 
+ /* Name of package */
+@@ -1277,6 +1277,12 @@
+ /* path to sbin */
+ #undef SBINDIR
+ 
++/* Define if you have the sl package. */
++#undef SL
++
++/* Define if you have the ss package. */
++#undef SS
++
+ /* Define to 1 if you have the ANSI C header files. */
+ #undef STDC_HEADERS
+ 
+diff -ruN heimdal-0.6-old/include/kadm5/Makefile.in heimdal-0.6/include/kadm5/Makefile.in
+--- heimdal-0.6-old/include/kadm5/Makefile.in	2003-05-12 17:27:43.000000000 +0200
++++ heimdal-0.6/include/kadm5/Makefile.in	2003-09-15 17:09:51.000000000 +0200
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -72,6 +73,7 @@
+ PATH_SEPARATOR = @PATH_SEPARATOR@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+ AMTAR = @AMTAR@
++AR = @AR@
+ AS = @AS@
+ AWK = @AWK@
+ CANONICAL_HOST = @CANONICAL_HOST@
+@@ -80,16 +82,23 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
++CXX = @CXX@
++CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
++EGREP = @EGREP@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++F77 = @F77@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,7 +118,6 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+@@ -121,6 +129,7 @@
+ OBJDUMP = @OBJDUMP@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
++RC = @RC@
+ STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+@@ -191,6 +200,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -247,7 +265,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -297,7 +315,7 @@
+ 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.6-old/include/Makefile.in heimdal-0.6/include/Makefile.in
+--- heimdal-0.6-old/include/Makefile.in	2003-05-12 17:27:42.000000000 +0200
++++ heimdal-0.6/include/Makefile.in	2003-09-15 17:09:51.000000000 +0200
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -72,6 +73,7 @@
+ PATH_SEPARATOR = @PATH_SEPARATOR@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+ AMTAR = @AMTAR@
++AR = @AR@
+ AS = @AS@
+ AWK = @AWK@
+ CANONICAL_HOST = @CANONICAL_HOST@
+@@ -80,16 +82,23 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
++CXX = @CXX@
++CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
++EGREP = @EGREP@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++F77 = @F77@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,7 +118,6 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+@@ -121,6 +129,7 @@
+ OBJDUMP = @OBJDUMP@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
++RC = @RC@
+ STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+@@ -191,6 +200,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -289,7 +307,7 @@
+ 	install-exec-recursive installdirs-recursive install-recursive \
+ 	uninstall-recursive check-recursive installcheck-recursive
+ DIST_COMMON = $(include_HEADERS) $(noinst_HEADERS) Makefile.am \
+-	Makefile.in
++	Makefile.in config.h.in
+ DIST_SUBDIRS = $(SUBDIRS)
+ SOURCES = bits.c make_crypto.c
+ 
+@@ -319,10 +337,14 @@
+ 	touch $(srcdir)/config.h.in
+ 
+ distclean-hdr:
+-	-rm -f config.h
++	-rm -f config.h stamp-h1
+ 
+ clean-noinstPROGRAMS:
+-	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
++	@list='$(noinst_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ bits$(EXEEXT): $(bits_OBJECTS) $(bits_DEPENDENCIES) 
+ 	@rm -f bits$(EXEEXT)
+ 	$(LINK) $(bits_LDFLAGS) $(bits_OBJECTS) $(bits_LDADD) $(LIBS)
+@@ -474,7 +496,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -538,7 +560,7 @@
+ 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.6-old/kadmin/Makefile.in heimdal-0.6/kadmin/Makefile.in
+--- heimdal-0.6-old/kadmin/Makefile.in	2003-05-12 17:27:43.000000000 +0200
++++ heimdal-0.6/kadmin/Makefile.in	2003-09-15 17:09:51.000000000 +0200
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -72,6 +73,7 @@
+ PATH_SEPARATOR = @PATH_SEPARATOR@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+ AMTAR = @AMTAR@
++AR = @AR@
+ AS = @AS@
+ AWK = @AWK@
+ CANONICAL_HOST = @CANONICAL_HOST@
+@@ -80,16 +82,23 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
++CXX = @CXX@
++CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
++EGREP = @EGREP@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++F77 = @F77@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,7 +118,6 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+@@ -121,6 +129,7 @@
+ OBJDUMP = @OBJDUMP@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
++RC = @RC@
+ STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+@@ -143,7 +152,7 @@
+ 
+ SUFFIXES = .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8
+ 
+-INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) $(INCLUDE_readline) $(INCLUDE_krb4) $(INCLUDE_des) -I$(srcdir)/../lib/krb5
++INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) -I/usr/include/editline $(INCLUDE_krb4) $(INCLUDE_des) -I$(srcdir)/../lib/krb5
+ 
+ @do_roken_rename_TRUE@ROKEN_RENAME = -DROKEN_RENAME
+ 
+@@ -191,6 +200,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -262,8 +280,8 @@
+ kadmin_LDADD = \
+ 	$(top_builddir)/lib/kadm5/libkadm5clnt.la \
+ 	$(top_builddir)/lib/kadm5/libkadm5srv.la \
+-	$(top_builddir)/lib/sl/libsl.la \
+-	$(LIB_readline) \
++	$(LIB_sl) \
++	-ledit \
+ 	$(LDADD_common) \
+ 	$(LIB_dlopen)
+ 
+@@ -300,13 +318,12 @@
+ kadmin_OBJECTS = $(am_kadmin_OBJECTS)
+ kadmin_DEPENDENCIES = $(top_builddir)/lib/kadm5/libkadm5clnt.la \
+ 	$(top_builddir)/lib/kadm5/libkadm5srv.la \
+-	$(top_builddir)/lib/sl/libsl.la \
+ 	$(top_builddir)/lib/hdb/libhdb.la \
+ 	$(top_builddir)/lib/krb5/libkrb5.la \
+ 	$(top_builddir)/lib/asn1/libasn1.la
+ kadmin_LDFLAGS =
+-@KRB4_TRUE@am__objects_4 = version4.$(OBJEXT)
+-am_kadmind_OBJECTS = kadmind.$(OBJEXT) server.$(OBJEXT) $(am__objects_4) \
++@KRB4_TRUE@am__objects_1 = version4.$(OBJEXT)
++am_kadmind_OBJECTS = kadmind.$(OBJEXT) server.$(OBJEXT) $(am__objects_1) \
+ 	kadm_conn.$(OBJEXT)
+ kadmind_OBJECTS = $(am_kadmind_OBJECTS)
+ @KRB4_TRUE@kadmind_DEPENDENCIES = \
+@@ -360,8 +377,7 @@
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+-	    p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
+-	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f"; \
+ 	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f; \
+ 	  else :; fi; \
+@@ -370,17 +386,24 @@
+ uninstall-libexecPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+-	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  f=`echo "$$f" | sed -e 's,^.*/,,'`; \
++	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(libexecdir)/$$f; \
+ 	done
+ 
+ clean-libexecPROGRAMS:
+-	-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
++	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ 
+ clean-noinstPROGRAMS:
+-	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
++	@list='$(noinst_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ sbinPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ install-sbinPROGRAMS: $(sbin_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+@@ -390,8 +413,7 @@
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+-	    p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
+-	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(sbinPROGRAMS_INSTALL) $$p $(DESTDIR)$(sbindir)/$$f"; \
+ 	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(sbinPROGRAMS_INSTALL) $$p $(DESTDIR)$(sbindir)/$$f; \
+ 	  else :; fi; \
+@@ -400,14 +422,17 @@
+ uninstall-sbinPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(sbin_PROGRAMS)'; for p in $$list; do \
+-	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  f=`echo "$$f" | sed -e 's,^.*/,,'`; \
++	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(sbindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(sbindir)/$$f; \
+ 	done
+ 
+ clean-sbinPROGRAMS:
+-	-test -z "$(sbin_PROGRAMS)" || rm -f $(sbin_PROGRAMS)
++	@list='$(sbin_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ add_random_users$(EXEEXT): $(add_random_users_OBJECTS) $(add_random_users_DEPENDENCIES) 
+ 	@rm -f add_random_users$(EXEEXT)
+ 	$(LINK) $(add_random_users_LDFLAGS) $(add_random_users_OBJECTS) $(add_random_users_LDADD) $(LIBS)
+@@ -458,6 +483,10 @@
+ 	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
+ 	  else file=$$i; fi; \
+ 	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
++	  case "$$ext" in \
++	    8*) ;; \
++	    *) ext='8' ;; \
++	  esac; \
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+@@ -523,7 +552,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -573,7 +602,7 @@
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.6-old/kdc/Makefile.in heimdal-0.6/kdc/Makefile.in
+--- heimdal-0.6-old/kdc/Makefile.in	2003-05-12 17:27:44.000000000 +0200
++++ heimdal-0.6/kdc/Makefile.in	2003-09-15 17:09:52.000000000 +0200
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -72,6 +73,7 @@
+ PATH_SEPARATOR = @PATH_SEPARATOR@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+ AMTAR = @AMTAR@
++AR = @AR@
+ AS = @AS@
+ AWK = @AWK@
+ CANONICAL_HOST = @CANONICAL_HOST@
+@@ -80,16 +82,23 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
++CXX = @CXX@
++CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
++EGREP = @EGREP@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++F77 = @F77@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,7 +118,6 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+@@ -121,6 +129,7 @@
+ OBJDUMP = @OBJDUMP@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
++RC = @RC@
+ STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+@@ -191,6 +200,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -351,8 +369,7 @@
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+-	    p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
+-	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
+ 	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+@@ -361,14 +378,17 @@
+ uninstall-binPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  f=`echo "$$f" | sed -e 's,^.*/,,'`; \
++	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+ clean-binPROGRAMS:
+-	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
++	@list='$(bin_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ install-libexecPROGRAMS: $(libexec_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+@@ -378,8 +398,7 @@
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+-	    p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
+-	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f"; \
+ 	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f; \
+ 	  else :; fi; \
+@@ -388,14 +407,17 @@
+ uninstall-libexecPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+-	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  f=`echo "$$f" | sed -e 's,^.*/,,'`; \
++	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(libexecdir)/$$f; \
+ 	done
+ 
+ clean-libexecPROGRAMS:
+-	-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
++	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ sbinPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ install-sbinPROGRAMS: $(sbin_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+@@ -405,8 +427,7 @@
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+-	    p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
+-	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(sbinPROGRAMS_INSTALL) $$p $(DESTDIR)$(sbindir)/$$f"; \
+ 	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(sbinPROGRAMS_INSTALL) $$p $(DESTDIR)$(sbindir)/$$f; \
+ 	  else :; fi; \
+@@ -415,14 +436,17 @@
+ uninstall-sbinPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(sbin_PROGRAMS)'; for p in $$list; do \
+-	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  f=`echo "$$f" | sed -e 's,^.*/,,'`; \
++	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(sbindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(sbindir)/$$f; \
+ 	done
+ 
+ clean-sbinPROGRAMS:
+-	-test -z "$(sbin_PROGRAMS)" || rm -f $(sbin_PROGRAMS)
++	@list='$(sbin_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ hprop$(EXEEXT): $(hprop_OBJECTS) $(hprop_DEPENDENCIES) 
+ 	@rm -f hprop$(EXEEXT)
+ 	$(LINK) $(hprop_LDFLAGS) $(hprop_OBJECTS) $(hprop_LDADD) $(LIBS)
+@@ -479,6 +503,10 @@
+ 	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
+ 	  else file=$$i; fi; \
+ 	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
++	  case "$$ext" in \
++	    8*) ;; \
++	    *) ext='8' ;; \
++	  esac; \
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+@@ -544,7 +572,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -594,7 +622,7 @@
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.6-old/kpasswd/Makefile.in heimdal-0.6/kpasswd/Makefile.in
+--- heimdal-0.6-old/kpasswd/Makefile.in	2003-05-12 17:27:44.000000000 +0200
++++ heimdal-0.6/kpasswd/Makefile.in	2003-09-15 17:09:52.000000000 +0200
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -72,6 +73,7 @@
+ PATH_SEPARATOR = @PATH_SEPARATOR@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+ AMTAR = @AMTAR@
++AR = @AR@
+ AS = @AS@
+ AWK = @AWK@
+ CANONICAL_HOST = @CANONICAL_HOST@
+@@ -80,16 +82,23 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
++CXX = @CXX@
++CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
++EGREP = @EGREP@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++F77 = @F77@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,7 +118,6 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+@@ -121,6 +129,7 @@
+ OBJDUMP = @OBJDUMP@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
++RC = @RC@
+ STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+@@ -191,6 +200,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -297,8 +315,7 @@
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+-	    p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
+-	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
+ 	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+@@ -307,14 +324,17 @@
+ uninstall-binPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  f=`echo "$$f" | sed -e 's,^.*/,,'`; \
++	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+ clean-binPROGRAMS:
+-	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
++	@list='$(bin_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ install-libexecPROGRAMS: $(libexec_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+@@ -324,8 +344,7 @@
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+-	    p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
+-	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f"; \
+ 	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f; \
+ 	  else :; fi; \
+@@ -334,17 +353,24 @@
+ uninstall-libexecPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+-	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  f=`echo "$$f" | sed -e 's,^.*/,,'`; \
++	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(libexecdir)/$$f; \
+ 	done
+ 
+ clean-libexecPROGRAMS:
+-	-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
++	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ 
+ clean-noinstPROGRAMS:
+-	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
++	@list='$(noinst_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ kpasswd$(EXEEXT): $(kpasswd_OBJECTS) $(kpasswd_DEPENDENCIES) 
+ 	@rm -f kpasswd$(EXEEXT)
+ 	$(LINK) $(kpasswd_LDFLAGS) $(kpasswd_OBJECTS) $(kpasswd_LDADD) $(LIBS)
+@@ -395,6 +421,10 @@
+ 	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
+ 	  else file=$$i; fi; \
+ 	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
++	  case "$$ext" in \
++	    1*) ;; \
++	    *) ext='1' ;; \
++	  esac; \
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+@@ -434,6 +464,10 @@
+ 	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
+ 	  else file=$$i; fi; \
+ 	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
++	  case "$$ext" in \
++	    8*) ;; \
++	    *) ext='8' ;; \
++	  esac; \
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+@@ -499,7 +533,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -549,7 +583,7 @@
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.6-old/kuser/Makefile.in heimdal-0.6/kuser/Makefile.in
+--- heimdal-0.6-old/kuser/Makefile.in	2003-05-12 17:27:44.000000000 +0200
++++ heimdal-0.6/kuser/Makefile.in	2003-09-15 17:09:53.000000000 +0200
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -72,6 +73,7 @@
+ PATH_SEPARATOR = @PATH_SEPARATOR@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+ AMTAR = @AMTAR@
++AR = @AR@
+ AS = @AS@
+ AWK = @AWK@
+ CANONICAL_HOST = @CANONICAL_HOST@
+@@ -80,16 +82,23 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
++CXX = @CXX@
++CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
++EGREP = @EGREP@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++F77 = @F77@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,7 +118,6 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+@@ -121,6 +129,7 @@
+ OBJDUMP = @OBJDUMP@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
++RC = @RC@
+ STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+@@ -191,6 +200,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -319,8 +337,7 @@
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+-	    p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
+-	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
+ 	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+@@ -329,17 +346,24 @@
+ uninstall-binPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  f=`echo "$$f" | sed -e 's,^.*/,,'`; \
++	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+ clean-binPROGRAMS:
+-	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
++	@list='$(bin_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ 
+ clean-noinstPROGRAMS:
+-	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
++	@list='$(noinst_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ generate-requests$(EXEEXT): $(generate_requests_OBJECTS) $(generate_requests_DEPENDENCIES) 
+ 	@rm -f generate-requests$(EXEEXT)
+ 	$(LINK) $(generate_requests_LDFLAGS) $(generate_requests_OBJECTS) $(generate_requests_LDADD) $(LIBS)
+@@ -402,6 +426,10 @@
+ 	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
+ 	  else file=$$i; fi; \
+ 	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
++	  case "$$ext" in \
++	    1*) ;; \
++	    *) ext='1' ;; \
++	  esac; \
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+@@ -467,7 +495,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -517,7 +545,7 @@
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.6-old/lib/45/Makefile.in heimdal-0.6/lib/45/Makefile.in
+--- heimdal-0.6-old/lib/45/Makefile.in	2003-05-12 17:27:45.000000000 +0200
++++ heimdal-0.6/lib/45/Makefile.in	2003-09-15 17:09:53.000000000 +0200
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -72,6 +73,7 @@
+ PATH_SEPARATOR = @PATH_SEPARATOR@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+ AMTAR = @AMTAR@
++AR = @AR@
+ AS = @AS@
+ AWK = @AWK@
+ CANONICAL_HOST = @CANONICAL_HOST@
+@@ -80,16 +82,23 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
++CXX = @CXX@
++CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
++EGREP = @EGREP@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++F77 = @F77@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,7 +118,6 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+@@ -121,6 +129,7 @@
+ OBJDUMP = @OBJDUMP@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
++RC = @RC@
+ STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+@@ -191,6 +200,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -246,8 +264,6 @@
+ 	  $(AUTOMAKE) --foreign  lib/45/Makefile
+ Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
+ 	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+-
+-AR = ar
+ libLIBRARIES_INSTALL = $(INSTALL_DATA)
+ install-libLIBRARIES: $(lib_LIBRARIES)
+ 	@$(NORMAL_INSTALL)
+@@ -349,7 +365,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -399,7 +415,7 @@
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.6-old/lib/asn1/Makefile.in heimdal-0.6/lib/asn1/Makefile.in
+--- heimdal-0.6-old/lib/asn1/Makefile.in	2003-05-12 17:27:46.000000000 +0200
++++ heimdal-0.6/lib/asn1/Makefile.in	2003-09-15 17:09:54.000000000 +0200
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -72,6 +73,7 @@
+ PATH_SEPARATOR = @PATH_SEPARATOR@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+ AMTAR = @AMTAR@
++AR = @AR@
+ AS = @AS@
+ AWK = @AWK@
+ CANONICAL_HOST = @CANONICAL_HOST@
+@@ -80,16 +82,23 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
++CXX = @CXX@
++CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
++EGREP = @EGREP@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++F77 = @F77@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,7 +118,6 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+@@ -121,6 +129,7 @@
+ OBJDUMP = @OBJDUMP@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
++RC = @RC@
+ STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+@@ -191,6 +200,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -327,7 +345,7 @@
+ LTLIBRARIES = $(lib_LTLIBRARIES)
+ 
+ libasn1_la_DEPENDENCIES =
+-am__objects_6 = asn1_APOptions.lo asn1_AP_REP.lo asn1_AP_REQ.lo \
++am__objects_1 = asn1_APOptions.lo asn1_AP_REP.lo asn1_AP_REQ.lo \
+ 	asn1_AS_REP.lo asn1_AS_REQ.lo asn1_Authenticator.lo \
+ 	asn1_AuthorizationData.lo asn1_CKSUMTYPE.lo asn1_Checksum.lo \
+ 	asn1_ENCTYPE.lo asn1_ETYPE_INFO.lo asn1_ETYPE_INFO_ENTRY.lo \
+@@ -345,9 +363,9 @@
+ 	asn1_PrincipalName.lo asn1_Realm.lo asn1_TGS_REP.lo \
+ 	asn1_TGS_REQ.lo asn1_Ticket.lo asn1_TicketFlags.lo \
+ 	asn1_TransitedEncoding.lo asn1_UNSIGNED.lo
+-am__objects_5 = $(am__objects_6) asn1_err.lo
++am__objects_2 = $(am__objects_1) asn1_err.lo
+ am_libasn1_la_OBJECTS = der_get.lo der_put.lo der_free.lo der_length.lo \
+-	der_copy.lo timegm.lo $(am__objects_5)
++	der_copy.lo timegm.lo $(am__objects_2)
+ libasn1_la_OBJECTS = $(am_libasn1_la_OBJECTS)
+ check_PROGRAMS = check-der$(EXEEXT) check-gen$(EXEEXT)
+ noinst_PROGRAMS = asn1_compile$(EXEEXT) asn1_print$(EXEEXT)
+@@ -432,15 +450,33 @@
+ 
+ clean-libLTLIBRARIES:
+ 	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
++	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
++	  dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
++	  test -z "$dir" && dir=.; \
++	  echo "rm -f \"$${dir}/so_locations\""; \
++	  rm -f "$${dir}/so_locations"; \
++	done
+ libasn1.la: $(libasn1_la_OBJECTS) $(libasn1_la_DEPENDENCIES) 
+ 	$(LINK) -rpath $(libdir) $(libasn1_la_LDFLAGS) $(libasn1_la_OBJECTS) $(libasn1_la_LIBADD) $(LIBS)
+ 
+ clean-checkPROGRAMS:
+-	-test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
++	@list='$(check_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ 
+ clean-noinstPROGRAMS:
+-	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
++	@list='$(noinst_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ parse.h: parse.c
++	@if test ! -f $@; then \
++	  rm -f parse.c; \
++	  $(MAKE) parse.c; \
++	else :; fi
+ asn1_compile$(EXEEXT): $(asn1_compile_OBJECTS) $(asn1_compile_DEPENDENCIES) 
+ 	@rm -f asn1_compile$(EXEEXT)
+ 	$(LINK) $(asn1_compile_LDFLAGS) $(asn1_compile_OBJECTS) $(asn1_compile_LDADD) $(LIBS)
+@@ -618,7 +654,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -670,12 +706,12 @@
+ 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+ 	@echo "it deletes files that may require special tools to rebuild."
+-	-test -z "parse.h$(BUILT_SOURCES)" || rm -f parse.h $(BUILT_SOURCES)
++	-test -z "lex.cparse.hparse.c$(BUILT_SOURCES)" || rm -f lex.c parse.h parse.c $(BUILT_SOURCES)
+ clean: clean-am
+ 
+ clean-am: clean-checkPROGRAMS clean-generic clean-libLTLIBRARIES \
+diff -ruN heimdal-0.6-old/lib/auth/afskauthlib/Makefile.in heimdal-0.6/lib/auth/afskauthlib/Makefile.in
+--- heimdal-0.6-old/lib/auth/afskauthlib/Makefile.in	2003-05-12 17:27:46.000000000 +0200
++++ heimdal-0.6/lib/auth/afskauthlib/Makefile.in	2003-09-15 17:09:54.000000000 +0200
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -72,6 +73,7 @@
+ PATH_SEPARATOR = @PATH_SEPARATOR@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+ AMTAR = @AMTAR@
++AR = @AR@
+ AS = @AS@
+ AWK = @AWK@
+ CANONICAL_HOST = @CANONICAL_HOST@
+@@ -80,16 +82,23 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
++CXX = @CXX@
++CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
++EGREP = @EGREP@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++F77 = @F77@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,7 +118,6 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+@@ -121,6 +129,7 @@
+ OBJDUMP = @OBJDUMP@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
++RC = @RC@
+ STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+@@ -191,6 +200,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -212,7 +230,7 @@
+ 
+ CLEANFILES = $(foo_DATA) $(OBJS) so_locations
+ 
+-@KRB4_TRUE@KAFS = $(top_builddir)/lib/kafs/libkafs.la
++@KRB4_TRUE@KAFS = $(LIB_kafs)
+ 
+ @KRB5_TRUE@L = \
+ @KRB5_TRUE@	$(KAFS)	\
+@@ -220,14 +238,14 @@
+ @KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la	\
+ @KRB5_TRUE@	$(LIB_krb4)				\
+ @KRB5_TRUE@	$(LIB_des)				\
+-@KRB5_TRUE@	$(top_builddir)/lib/roken/libroken.la	\
++@KRB5_TRUE@	$(LIB_roken)	\
+ @KRB5_TRUE@	-lc
+ 
+ @KRB5_FALSE@L = \
+ @KRB5_FALSE@	$(KAFS)	\
+ @KRB5_FALSE@	$(LIB_krb4)				\
+ @KRB5_FALSE@	$(LIB_des)				\
+-@KRB5_FALSE@	$(top_builddir)/lib/roken/libroken.la	\
++@KRB5_FALSE@	$(LIB_roken)	\
+ @KRB5_FALSE@	-lc
+ 
+ subdir = lib/auth/afskauthlib
+@@ -294,7 +312,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -345,7 +363,7 @@
+ 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.6-old/lib/auth/Makefile.in heimdal-0.6/lib/auth/Makefile.in
+--- heimdal-0.6-old/lib/auth/Makefile.in	2003-05-12 17:27:46.000000000 +0200
++++ heimdal-0.6/lib/auth/Makefile.in	2003-09-15 17:09:54.000000000 +0200
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -72,6 +73,7 @@
+ PATH_SEPARATOR = @PATH_SEPARATOR@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+ AMTAR = @AMTAR@
++AR = @AR@
+ AS = @AS@
+ AWK = @AWK@
+ CANONICAL_HOST = @CANONICAL_HOST@
+@@ -80,16 +82,23 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
++CXX = @CXX@
++CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
++EGREP = @EGREP@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++F77 = @F77@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,7 +118,6 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+@@ -121,6 +129,7 @@
+ OBJDUMP = @OBJDUMP@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
++RC = @RC@
+ STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+@@ -191,6 +200,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -346,7 +364,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -408,7 +426,7 @@
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.6-old/lib/auth/pam/Makefile.in heimdal-0.6/lib/auth/pam/Makefile.in
+--- heimdal-0.6-old/lib/auth/pam/Makefile.in	2003-05-12 17:27:46.000000000 +0200
++++ heimdal-0.6/lib/auth/pam/Makefile.in	2003-09-15 17:09:55.000000000 +0200
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -72,6 +73,7 @@
+ PATH_SEPARATOR = @PATH_SEPARATOR@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+ AMTAR = @AMTAR@
++AR = @AR@
+ AS = @AS@
+ AWK = @AWK@
+ CANONICAL_HOST = @CANONICAL_HOST@
+@@ -80,16 +82,23 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
++CXX = @CXX@
++CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
++EGREP = @EGREP@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++F77 = @F77@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,7 +118,6 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+@@ -121,6 +129,7 @@
+ OBJDUMP = @OBJDUMP@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
++RC = @RC@
+ STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+@@ -192,6 +201,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -301,7 +319,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -352,7 +370,7 @@
+ 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.6-old/lib/auth/sia/Makefile.in heimdal-0.6/lib/auth/sia/Makefile.in
+--- heimdal-0.6-old/lib/auth/sia/Makefile.in	2003-05-12 17:27:47.000000000 +0200
++++ heimdal-0.6/lib/auth/sia/Makefile.in	2003-09-15 17:09:55.000000000 +0200
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -72,6 +73,7 @@
+ PATH_SEPARATOR = @PATH_SEPARATOR@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+ AMTAR = @AMTAR@
++AR = @AR@
+ AS = @AS@
+ AWK = @AWK@
+ CANONICAL_HOST = @CANONICAL_HOST@
+@@ -80,16 +82,23 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
++CXX = @CXX@
++CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
++EGREP = @EGREP@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++F77 = @F77@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,7 +118,6 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+@@ -121,6 +129,7 @@
+ OBJDUMP = @OBJDUMP@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
++RC = @RC@
+ STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+@@ -192,6 +201,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -331,7 +349,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -382,7 +400,7 @@
+ 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.6-old/lib/com_err/Makefile.in heimdal-0.6/lib/com_err/Makefile.in
+--- heimdal-0.6-old/lib/com_err/Makefile.in	2003-05-12 17:27:47.000000000 +0200
++++ heimdal-0.6/lib/com_err/Makefile.in	2003-09-15 17:09:55.000000000 +0200
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -72,6 +73,7 @@
+ PATH_SEPARATOR = @PATH_SEPARATOR@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+ AMTAR = @AMTAR@
++AR = @AR@
+ AS = @AS@
+ AWK = @AWK@
+ CANONICAL_HOST = @CANONICAL_HOST@
+@@ -80,16 +82,23 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
++CXX = @CXX@
++CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
++EGREP = @EGREP@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++F77 = @F77@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,7 +118,6 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+@@ -121,6 +129,7 @@
+ OBJDUMP = @OBJDUMP@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
++RC = @RC@
+ STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+@@ -191,6 +200,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -296,6 +314,12 @@
+ 
+ clean-libLTLIBRARIES:
+ 	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
++	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
++	  dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
++	  test -z "$dir" && dir=.; \
++	  echo "rm -f \"$${dir}/so_locations\""; \
++	  rm -f "$${dir}/so_locations"; \
++	done
+ libcom_err.la: $(libcom_err_la_OBJECTS) $(libcom_err_la_DEPENDENCIES) 
+ 	$(LINK) -rpath $(libdir) $(libcom_err_la_LDFLAGS) $(libcom_err_la_OBJECTS) $(libcom_err_la_LIBADD) $(LIBS)
+ binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+@@ -307,8 +331,7 @@
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+-	    p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
+-	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
+ 	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+@@ -317,15 +340,22 @@
+ uninstall-binPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  f=`echo "$$f" | sed -e 's,^.*/,,'`; \
++	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+ clean-binPROGRAMS:
+-	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
++	@list='$(bin_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ parse.h: parse.c
++	@if test ! -f $@; then \
++	  rm -f parse.c; \
++	  $(MAKE) parse.c; \
++	else :; fi
+ compile_et$(EXEEXT): $(compile_et_OBJECTS) $(compile_et_DEPENDENCIES) 
+ 	@rm -f compile_et$(EXEEXT)
+ 	$(LINK) $(compile_et_LDFLAGS) $(compile_et_OBJECTS) $(compile_et_LDADD) $(LIBS)
+@@ -439,7 +469,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -492,12 +522,12 @@
+ 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+ 	@echo "it deletes files that may require special tools to rebuild."
+-	-test -z "parse.h" || rm -f parse.h
++	-test -z "parse.hparse.clex.c" || rm -f parse.h parse.c lex.c
+ clean: clean-am
+ 
+ clean-am: clean-binPROGRAMS clean-generic clean-libLTLIBRARIES \
+diff -ruN heimdal-0.6-old/lib/des/Makefile.in heimdal-0.6/lib/des/Makefile.in
+--- heimdal-0.6-old/lib/des/Makefile.in	2003-05-12 17:27:47.000000000 +0200
++++ heimdal-0.6/lib/des/Makefile.in	2003-09-15 17:09:56.000000000 +0200
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -72,6 +73,7 @@
+ PATH_SEPARATOR = @PATH_SEPARATOR@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+ AMTAR = @AMTAR@
++AR = @AR@
+ AS = @AS@
+ AWK = @AWK@
+ CANONICAL_HOST = @CANONICAL_HOST@
+@@ -80,16 +82,23 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
++CXX = @CXX@
++CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
++EGREP = @EGREP@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++F77 = @F77@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,7 +118,6 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+@@ -121,6 +129,7 @@
+ OBJDUMP = @OBJDUMP@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
++RC = @RC@
+ STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+@@ -191,6 +200,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -402,6 +420,12 @@
+ 
+ clean-libLTLIBRARIES:
+ 	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
++	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
++	  dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
++	  test -z "$dir" && dir=.; \
++	  echo "rm -f \"$${dir}/so_locations\""; \
++	  rm -f "$${dir}/so_locations"; \
++	done
+ libdes.la: $(libdes_la_OBJECTS) $(libdes_la_DEPENDENCIES) 
+ 	$(LINK) -rpath $(libdir) $(libdes_la_LDFLAGS) $(libdes_la_OBJECTS) $(libdes_la_LIBADD) $(LIBS)
+ binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+@@ -413,8 +437,7 @@
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+-	    p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
+-	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
+ 	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+@@ -423,17 +446,24 @@
+ uninstall-binPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  f=`echo "$$f" | sed -e 's,^.*/,,'`; \
++	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+ clean-binPROGRAMS:
+-	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
++	@list='$(bin_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ 
+ clean-checkPROGRAMS:
+-	-test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
++	@list='$(check_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ des$(EXEEXT): $(des_OBJECTS) $(des_DEPENDENCIES) 
+ 	@rm -f des$(EXEEXT)
+ 	$(LINK) $(des_LDFLAGS) $(des_OBJECTS) $(des_LDADD) $(LIBS)
+@@ -487,6 +517,10 @@
+ 	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
+ 	  else file=$$i; fi; \
+ 	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
++	  case "$$ext" in \
++	    1*) ;; \
++	    *) ext='1' ;; \
++	  esac; \
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+@@ -526,6 +560,10 @@
+ 	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
+ 	  else file=$$i; fi; \
+ 	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
++	  case "$$ext" in \
++	    3*) ;; \
++	    *) ext='3' ;; \
++	  esac; \
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+@@ -664,7 +702,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -717,7 +755,7 @@
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.6-old/lib/editline/Makefile.in heimdal-0.6/lib/editline/Makefile.in
+--- heimdal-0.6-old/lib/editline/Makefile.in	2003-05-12 17:27:48.000000000 +0200
++++ heimdal-0.6/lib/editline/Makefile.in	2003-09-15 17:09:56.000000000 +0200
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -72,6 +73,7 @@
+ PATH_SEPARATOR = @PATH_SEPARATOR@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+ AMTAR = @AMTAR@
++AR = @AR@
+ AS = @AS@
+ AWK = @AWK@
+ CANONICAL_HOST = @CANONICAL_HOST@
+@@ -80,16 +82,23 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
++CXX = @CXX@
++CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
++EGREP = @EGREP@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++F77 = @F77@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,7 +118,6 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+@@ -121,6 +129,7 @@
+ OBJDUMP = @OBJDUMP@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
++RC = @RC@
+ STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+@@ -191,6 +200,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -232,13 +250,13 @@
+ 	$(EXTRA_SOURCE)
+ 
+ 
+-libeditline_la_LDFLAGS = -static
++libeditline_la_LDFLAGS = -no-undefined
+ 
+ EXTRA_SOURCE = $(ES) 
+ 
+ libel_compat_la_SOURCES = edit_compat.c
+ 
+-libel_compat_la_LDFLAGS = -static
++libel_compat_la_LDFLAGS = -no-undefined
+ 
+ EXTRA_DIST = $(man_MANS)
+ subdir = lib/editline
+@@ -248,10 +266,10 @@
+ LTLIBRARIES = $(lib_LTLIBRARIES) $(noinst_LTLIBRARIES)
+ 
+ libeditline_la_LIBADD =
+-@do_roken_rename_TRUE@am__objects_8 = snprintf.lo strdup.lo
+-am__objects_7 = $(am__objects_8)
++@do_roken_rename_TRUE@am__objects_1 = snprintf.lo strdup.lo
++am__objects_2 = $(am__objects_1)
+ am_libeditline_la_OBJECTS = complete.lo editline.lo sysunix.lo \
+-	$(am__objects_7)
++	$(am__objects_2)
+ libeditline_la_OBJECTS = $(am_libeditline_la_OBJECTS)
+ libel_compat_la_LIBADD =
+ am_libel_compat_la_OBJECTS = edit_compat.lo
+@@ -319,16 +337,32 @@
+ 
+ clean-libLTLIBRARIES:
+ 	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
++	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
++	  dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
++	  test -z "$dir" && dir=.; \
++	  echo "rm -f \"$${dir}/so_locations\""; \
++	  rm -f "$${dir}/so_locations"; \
++	done
+ 
+ clean-noinstLTLIBRARIES:
+ 	-test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
++	@list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
++	  dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
++	  test -z "$dir" && dir=.; \
++	  echo "rm -f \"$${dir}/so_locations\""; \
++	  rm -f "$${dir}/so_locations"; \
++	done
+ libeditline.la: $(libeditline_la_OBJECTS) $(libeditline_la_DEPENDENCIES) 
+ 	$(LINK) -rpath $(libdir) $(libeditline_la_LDFLAGS) $(libeditline_la_OBJECTS) $(libeditline_la_LIBADD) $(LIBS)
+ libel_compat.la: $(libel_compat_la_OBJECTS) $(libel_compat_la_DEPENDENCIES) 
+ 	$(LINK)  $(libel_compat_la_LDFLAGS) $(libel_compat_la_OBJECTS) $(libel_compat_la_LIBADD) $(LIBS)
+ 
+ clean-noinstPROGRAMS:
+-	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
++	@list='$(noinst_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ testit$(EXEEXT): $(testit_OBJECTS) $(testit_DEPENDENCIES) 
+ 	@rm -f testit$(EXEEXT)
+ 	$(LINK) $(testit_LDFLAGS) $(testit_OBJECTS) $(testit_LDADD) $(LIBS)
+@@ -373,6 +407,10 @@
+ 	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
+ 	  else file=$$i; fi; \
+ 	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
++	  case "$$ext" in \
++	    3*) ;; \
++	    *) ext='3' ;; \
++	  esac; \
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+@@ -456,7 +494,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -506,7 +544,7 @@
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.6-old/lib/gssapi/Makefile.in heimdal-0.6/lib/gssapi/Makefile.in
+--- heimdal-0.6-old/lib/gssapi/Makefile.in	2003-05-12 17:27:48.000000000 +0200
++++ heimdal-0.6/lib/gssapi/Makefile.in	2003-09-15 17:09:57.000000000 +0200
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -72,6 +73,7 @@
+ PATH_SEPARATOR = @PATH_SEPARATOR@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+ AMTAR = @AMTAR@
++AR = @AR@
+ AS = @AS@
+ AWK = @AWK@
+ CANONICAL_HOST = @CANONICAL_HOST@
+@@ -80,16 +82,23 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
++CXX = @CXX@
++CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
++EGREP = @EGREP@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++F77 = @F77@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,7 +118,6 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+@@ -121,6 +129,7 @@
+ OBJDUMP = @OBJDUMP@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
++RC = @RC@
+ STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+@@ -191,6 +200,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -204,7 +222,7 @@
+ 
+ lib_LTLIBRARIES = libgssapi.la
+ libgssapi_la_LDFLAGS = -version-info 4:0:3
+-libgssapi_la_LIBADD = ../krb5/libkrb5.la $(LIB_des) ../asn1/libasn1.la ../roken/libroken.la
++libgssapi_la_LIBADD = ../krb5/libkrb5.la $(LIB_des) ../asn1/libasn1.la $(LIB_roken)
+ 
+ man_MANS = gssapi.3 gss_acquire_cred.3
+ 
+@@ -262,8 +280,7 @@
+ CONFIG_CLEAN_FILES =
+ LTLIBRARIES = $(lib_LTLIBRARIES)
+ 
+-libgssapi_la_DEPENDENCIES = ../krb5/libkrb5.la ../asn1/libasn1.la \
+-	../roken/libroken.la
++libgssapi_la_DEPENDENCIES = ../krb5/libkrb5.la ../asn1/libasn1.la
+ am_libgssapi_la_OBJECTS = 8003.lo accept_sec_context.lo acquire_cred.lo \
+ 	add_cred.lo add_oid_set_member.lo canonicalize_name.lo \
+ 	compare_name.lo compat.lo context_time.lo copy_ccache.lo \
+@@ -333,6 +350,12 @@
+ 
+ clean-libLTLIBRARIES:
+ 	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
++	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
++	  dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
++	  test -z "$dir" && dir=.; \
++	  echo "rm -f \"$${dir}/so_locations\""; \
++	  rm -f "$${dir}/so_locations"; \
++	done
+ libgssapi.la: $(libgssapi_la_OBJECTS) $(libgssapi_la_DEPENDENCIES) 
+ 	$(LINK) -rpath $(libdir) $(libgssapi_la_LDFLAGS) $(libgssapi_la_OBJECTS) $(libgssapi_la_LIBADD) $(LIBS)
+ 
+@@ -376,6 +399,10 @@
+ 	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
+ 	  else file=$$i; fi; \
+ 	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
++	  case "$$ext" in \
++	    3*) ;; \
++	    *) ext='3' ;; \
++	  esac; \
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+@@ -459,7 +486,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -509,7 +536,7 @@
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.6-old/lib/hdb/Makefile.in heimdal-0.6/lib/hdb/Makefile.in
+--- heimdal-0.6-old/lib/hdb/Makefile.in	2003-05-12 17:27:49.000000000 +0200
++++ heimdal-0.6/lib/hdb/Makefile.in	2003-09-15 17:09:57.000000000 +0200
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -72,6 +73,7 @@
+ PATH_SEPARATOR = @PATH_SEPARATOR@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+ AMTAR = @AMTAR@
++AR = @AR@
+ AS = @AS@
+ AWK = @AWK@
+ CANONICAL_HOST = @CANONICAL_HOST@
+@@ -80,16 +82,23 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
++CXX = @CXX@
++CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
++EGREP = @EGREP@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++F77 = @F77@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,7 +118,6 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+@@ -121,6 +129,7 @@
+ OBJDUMP = @OBJDUMP@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
++RC = @RC@
+ STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+@@ -191,6 +200,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -237,19 +255,18 @@
+ 
+ include_HEADERS = hdb.h hdb_err.h hdb_asn1.h hdb-protos.h hdb-private.h
+ 
+-libhdb_la_LIBADD = ../krb5/libkrb5.la ../asn1/libasn1.la ../roken/libroken.la $(LIB_openldap) $(DBLIB) $(LIB_NDBM)
++libhdb_la_LIBADD = ../krb5/libkrb5.la ../asn1/libasn1.la $(LIB_roken) $(LIB_openldap) $(DBLIB) $(LIB_NDBM)
+ subdir = lib/hdb
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+ CONFIG_HEADER = $(top_builddir)/include/config.h
+ CONFIG_CLEAN_FILES =
+ LTLIBRARIES = $(lib_LTLIBRARIES)
+ 
+-libhdb_la_DEPENDENCIES = ../krb5/libkrb5.la ../asn1/libasn1.la \
+-	../roken/libroken.la
+-am__objects_5 = asn1_Key.lo asn1_Event.lo asn1_HDBFlags.lo \
++libhdb_la_DEPENDENCIES = ../krb5/libkrb5.la ../asn1/libasn1.la
++am__objects_1 = asn1_Key.lo asn1_Event.lo asn1_HDBFlags.lo \
+ 	asn1_hdb_entry.lo asn1_Salt.lo hdb_err.lo asn1_GENERATION.lo
+ am_libhdb_la_OBJECTS = common.lo db.lo db3.lo hdb-ldap.lo hdb.lo \
+-	keytab.lo mkey.lo ndbm.lo print.lo $(am__objects_5)
++	keytab.lo mkey.lo ndbm.lo print.lo $(am__objects_1)
+ libhdb_la_OBJECTS = $(am_libhdb_la_OBJECTS)
+ noinst_PROGRAMS = convert_db$(EXEEXT)
+ PROGRAMS = $(noinst_PROGRAMS)
+@@ -314,11 +331,21 @@
+ 
+ clean-libLTLIBRARIES:
+ 	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
++	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
++	  dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
++	  test -z "$dir" && dir=.; \
++	  echo "rm -f \"$${dir}/so_locations\""; \
++	  rm -f "$${dir}/so_locations"; \
++	done
+ libhdb.la: $(libhdb_la_OBJECTS) $(libhdb_la_DEPENDENCIES) 
+ 	$(LINK) -rpath $(libdir) $(libhdb_la_LDFLAGS) $(libhdb_la_OBJECTS) $(libhdb_la_LIBADD) $(LIBS)
+ 
+ clean-noinstPROGRAMS:
+-	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
++	@list='$(noinst_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ convert_db$(EXEEXT): $(convert_db_OBJECTS) $(convert_db_DEPENDENCIES) 
+ 	@rm -f convert_db$(EXEEXT)
+ 	$(LINK) $(convert_db_LDFLAGS) $(convert_db_OBJECTS) $(convert_db_LDADD) $(LIBS)
+@@ -407,7 +434,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -458,7 +485,7 @@
+ 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.6-old/lib/kadm5/Makefile.in heimdal-0.6/lib/kadm5/Makefile.in
+--- heimdal-0.6-old/lib/kadm5/Makefile.in	2003-05-12 17:27:49.000000000 +0200
++++ heimdal-0.6/lib/kadm5/Makefile.in	2003-09-15 17:09:58.000000000 +0200
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -72,6 +73,7 @@
+ PATH_SEPARATOR = @PATH_SEPARATOR@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+ AMTAR = @AMTAR@
++AR = @AR@
+ AS = @AS@
+ AWK = @AWK@
+ CANONICAL_HOST = @CANONICAL_HOST@
+@@ -80,16 +82,23 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
++CXX = @CXX@
++CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
++EGREP = @EGREP@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++F77 = @F77@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,7 +118,6 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+@@ -121,6 +129,7 @@
+ OBJDUMP = @OBJDUMP@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
++RC = @RC@
+ STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+@@ -191,6 +200,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -207,8 +225,8 @@
+ libkadm5clnt_la_LDFLAGS = -version-info 6:4:2
+ sbin_PROGRAMS = dump_log replay_log truncate_log
+ 
+-libkadm5srv_la_LIBADD = ../krb5/libkrb5.la ../hdb/libhdb.la ../roken/libroken.la
+-libkadm5clnt_la_LIBADD = ../krb5/libkrb5.la ../hdb/libhdb.la ../roken/libroken.la
++libkadm5srv_la_LIBADD = ../krb5/libkrb5.la ../hdb/libhdb.la $(LIB_roken)
++libkadm5clnt_la_LIBADD = ../krb5/libkrb5.la ../hdb/libhdb.la $(LIB_roken)
+ 
+ libexec_PROGRAMS = ipropd-master ipropd-slave
+ 
+@@ -309,23 +327,21 @@
+ CONFIG_CLEAN_FILES =
+ LTLIBRARIES = $(lib_LTLIBRARIES)
+ 
+-libkadm5clnt_la_DEPENDENCIES = ../krb5/libkrb5.la ../hdb/libhdb.la \
+-	../roken/libroken.la
+-am__objects_9 = chpass_c.lo common_glue.lo create_c.lo delete_c.lo \
++libkadm5clnt_la_DEPENDENCIES = ../krb5/libkrb5.la ../hdb/libhdb.la
++am__objects_1 = chpass_c.lo common_glue.lo create_c.lo delete_c.lo \
+ 	destroy_c.lo flush_c.lo free.lo get_c.lo get_princs_c.lo \
+ 	init_c.lo kadm5_err.lo marshall.lo modify_c.lo privs_c.lo \
+ 	randkey_c.lo rename_c.lo send_recv.lo
+-am_libkadm5clnt_la_OBJECTS = $(am__objects_9) client_glue.lo
++am_libkadm5clnt_la_OBJECTS = $(am__objects_1) client_glue.lo
+ libkadm5clnt_la_OBJECTS = $(am_libkadm5clnt_la_OBJECTS)
+-libkadm5srv_la_DEPENDENCIES = ../krb5/libkrb5.la ../hdb/libhdb.la \
+-	../roken/libroken.la
+-am__objects_10 = acl.lo bump_pw_expire.lo chpass_s.lo common_glue.lo \
++libkadm5srv_la_DEPENDENCIES = ../krb5/libkrb5.la ../hdb/libhdb.la
++am__objects_2 = acl.lo bump_pw_expire.lo chpass_s.lo common_glue.lo \
+ 	context_s.lo create_s.lo delete_s.lo destroy_s.lo ent_setup.lo \
+ 	error.lo flush_s.lo free.lo get_princs_s.lo get_s.lo init_s.lo \
+ 	kadm5_err.lo keys.lo log.lo marshall.lo modify_s.lo privs_s.lo \
+ 	randkey_s.lo rename_s.lo set_keys.lo set_modifier.lo \
+ 	password_quality.lo
+-am_libkadm5srv_la_OBJECTS = $(am__objects_10) server_glue.lo
++am_libkadm5srv_la_OBJECTS = $(am__objects_2) server_glue.lo
+ libkadm5srv_la_OBJECTS = $(am_libkadm5srv_la_OBJECTS)
+ libexec_PROGRAMS = ipropd-master$(EXEEXT) ipropd-slave$(EXEEXT)
+ sbin_PROGRAMS = dump_log$(EXEEXT) replay_log$(EXEEXT) \
+@@ -427,6 +443,12 @@
+ 
+ clean-libLTLIBRARIES:
+ 	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
++	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
++	  dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
++	  test -z "$dir" && dir=.; \
++	  echo "rm -f \"$${dir}/so_locations\""; \
++	  rm -f "$${dir}/so_locations"; \
++	done
+ libkadm5clnt.la: $(libkadm5clnt_la_OBJECTS) $(libkadm5clnt_la_DEPENDENCIES) 
+ 	$(LINK) -rpath $(libdir) $(libkadm5clnt_la_LDFLAGS) $(libkadm5clnt_la_OBJECTS) $(libkadm5clnt_la_LIBADD) $(LIBS)
+ libkadm5srv.la: $(libkadm5srv_la_OBJECTS) $(libkadm5srv_la_DEPENDENCIES) 
+@@ -440,8 +462,7 @@
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+-	    p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
+-	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f"; \
+ 	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f; \
+ 	  else :; fi; \
+@@ -450,14 +471,17 @@
+ uninstall-libexecPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
+-	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  f=`echo "$$f" | sed -e 's,^.*/,,'`; \
++	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(libexecdir)/$$f; \
+ 	done
+ 
+ clean-libexecPROGRAMS:
+-	-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
++	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ sbinPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ install-sbinPROGRAMS: $(sbin_PROGRAMS)
+ 	@$(NORMAL_INSTALL)
+@@ -467,8 +491,7 @@
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+-	    p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
+-	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(sbinPROGRAMS_INSTALL) $$p $(DESTDIR)$(sbindir)/$$f"; \
+ 	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(sbinPROGRAMS_INSTALL) $$p $(DESTDIR)$(sbindir)/$$f; \
+ 	  else :; fi; \
+@@ -477,14 +500,17 @@
+ uninstall-sbinPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(sbin_PROGRAMS)'; for p in $$list; do \
+-	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  f=`echo "$$f" | sed -e 's,^.*/,,'`; \
++	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(sbindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(sbindir)/$$f; \
+ 	done
+ 
+ clean-sbinPROGRAMS:
+-	-test -z "$(sbin_PROGRAMS)" || rm -f $(sbin_PROGRAMS)
++	@list='$(sbin_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ dump_log$(EXEEXT): $(dump_log_OBJECTS) $(dump_log_DEPENDENCIES) 
+ 	@rm -f dump_log$(EXEEXT)
+ 	$(LINK) $(dump_log_LDFLAGS) $(dump_log_OBJECTS) $(dump_log_LDADD) $(LIBS)
+@@ -585,7 +611,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -636,7 +662,7 @@
+ 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.6-old/lib/kafs/Makefile.in heimdal-0.6/lib/kafs/Makefile.in
+--- heimdal-0.6-old/lib/kafs/Makefile.in	2003-05-12 17:27:50.000000000 +0200
++++ heimdal-0.6/lib/kafs/Makefile.in	2003-09-15 17:09:58.000000000 +0200
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -72,6 +73,7 @@
+ PATH_SEPARATOR = @PATH_SEPARATOR@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+ AMTAR = @AMTAR@
++AR = @AR@
+ AS = @AS@
+ AWK = @AWK@
+ CANONICAL_HOST = @CANONICAL_HOST@
+@@ -80,16 +82,23 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
++CXX = @CXX@
++CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
++EGREP = @EGREP@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++F77 = @F77@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,7 +118,6 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+@@ -121,6 +129,7 @@
+ OBJDUMP = @OBJDUMP@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
++RC = @RC@
+ STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+@@ -191,6 +200,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -227,7 +245,7 @@
+ @AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@AFS_EXTRA_DEFS = -DSTATIC_AFS
+ @AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@AFS_EXTRA_DEFS = 
+ 
+-libkafs_la_LIBADD = $(DEPLIB_krb5) ../roken/libroken.la $(DEPLIB_krb4)
++libkafs_la_LIBADD = $(DEPLIB_krb5) $(LIB_roken) $(DEPLIB_krb4)
+ 
+ lib_LTLIBRARIES = libkafs.la
+ libkafs_la_LDFLAGS = -version-info 4:0:4
+@@ -269,23 +287,21 @@
+ CONFIG_CLEAN_FILES =
+ LTLIBRARIES = $(lib_LTLIBRARIES)
+ 
+-@KRB4_FALSE@@KRB5_TRUE@libkafs_la_DEPENDENCIES = ../krb5/libkrb5.la \
+-@KRB4_FALSE@@KRB5_TRUE@	../roken/libroken.la
+-@KRB4_FALSE@@KRB5_FALSE@libkafs_la_DEPENDENCIES = ../roken/libroken.la
+-@KRB4_TRUE@@KRB5_TRUE@libkafs_la_DEPENDENCIES = ../krb5/libkrb5.la \
+-@KRB4_TRUE@@KRB5_TRUE@	../roken/libroken.la
+-@KRB4_TRUE@@KRB5_FALSE@libkafs_la_DEPENDENCIES = ../roken/libroken.la
+-@KRB4_TRUE@am__objects_11 = afskrb.lo
+-@KRB5_TRUE@am__objects_12 = afskrb5.lo
+-@AIX_FALSE@am__objects_13 =
+-@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@am__objects_13 = afslib.lo
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@am__objects_13 =
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@am__objects_13 = \
++@KRB4_FALSE@@KRB5_TRUE@libkafs_la_DEPENDENCIES = ../krb5/libkrb5.la
++@KRB4_FALSE@@KRB5_FALSE@libkafs_la_DEPENDENCIES =
++@KRB4_TRUE@@KRB5_TRUE@libkafs_la_DEPENDENCIES = ../krb5/libkrb5.la
++@KRB4_TRUE@@KRB5_FALSE@libkafs_la_DEPENDENCIES =
++@KRB4_TRUE@am__objects_1 = afskrb.lo
++@KRB5_TRUE@am__objects_2 = afskrb5.lo
++@AIX_FALSE@am__objects_3 =
++@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@am__objects_3 = afslib.lo
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@am__objects_3 =
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@am__objects_3 = \
+ @AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@	dlfcn.lo
+-@do_roken_rename_TRUE@am__objects_14 = resolve.lo strtok_r.lo strlcpy.lo \
++@do_roken_rename_TRUE@am__objects_4 = resolve.lo strtok_r.lo strlcpy.lo \
+ @do_roken_rename_TRUE@	strsep.lo
+-am_libkafs_la_OBJECTS = afssys.lo $(am__objects_11) $(am__objects_12) \
+-	common.lo $(am__objects_13) $(am__objects_14)
++am_libkafs_la_OBJECTS = afssys.lo $(am__objects_1) $(am__objects_2) \
++	common.lo $(am__objects_3) $(am__objects_4)
+ libkafs_la_OBJECTS = $(am_libkafs_la_OBJECTS)
+ 
+ DEFS = @DEFS@
+@@ -343,6 +359,12 @@
+ 
+ clean-libLTLIBRARIES:
+ 	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
++	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
++	  dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
++	  test -z "$dir" && dir=.; \
++	  echo "rm -f \"$${dir}/so_locations\""; \
++	  rm -f "$${dir}/so_locations"; \
++	done
+ libkafs.la: $(libkafs_la_OBJECTS) $(libkafs_la_DEPENDENCIES) 
+ 	$(LINK) -rpath $(libdir) $(libkafs_la_LDFLAGS) $(libkafs_la_OBJECTS) $(libkafs_la_LIBADD) $(LIBS)
+ 
+@@ -386,6 +408,10 @@
+ 	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
+ 	  else file=$$i; fi; \
+ 	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
++	  case "$$ext" in \
++	    3*) ;; \
++	    *) ext='3' ;; \
++	  esac; \
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+@@ -487,7 +513,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -538,7 +564,7 @@
+ 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.6-old/lib/kdfs/Makefile.in heimdal-0.6/lib/kdfs/Makefile.in
+--- heimdal-0.6-old/lib/kdfs/Makefile.in	2003-05-12 17:27:50.000000000 +0200
++++ heimdal-0.6/lib/kdfs/Makefile.in	2003-09-15 17:09:58.000000000 +0200
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -72,6 +73,7 @@
+ PATH_SEPARATOR = @PATH_SEPARATOR@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+ AMTAR = @AMTAR@
++AR = @AR@
+ AS = @AS@
+ AWK = @AWK@
+ CANONICAL_HOST = @CANONICAL_HOST@
+@@ -80,16 +82,23 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
++CXX = @CXX@
++CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
++EGREP = @EGREP@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++F77 = @F77@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,7 +118,6 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+@@ -121,6 +129,7 @@
+ OBJDUMP = @OBJDUMP@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
++RC = @RC@
+ STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+@@ -191,6 +200,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -269,6 +287,12 @@
+ 
+ clean-libLTLIBRARIES:
+ 	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
++	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
++	  dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
++	  test -z "$dir" && dir=.; \
++	  echo "rm -f \"$${dir}/so_locations\""; \
++	  rm -f "$${dir}/so_locations"; \
++	done
+ libkdfs.la: $(libkdfs_la_OBJECTS) $(libkdfs_la_DEPENDENCIES) 
+ 	$(LINK) -rpath $(libdir) $(libkdfs_la_LDFLAGS) $(libkdfs_la_OBJECTS) $(libkdfs_la_LIBADD) $(LIBS)
+ 
+@@ -338,7 +362,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -388,7 +412,7 @@
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.6-old/lib/krb5/Makefile.in heimdal-0.6/lib/krb5/Makefile.in
+--- heimdal-0.6-old/lib/krb5/Makefile.in	2003-05-12 17:27:51.000000000 +0200
++++ heimdal-0.6/lib/krb5/Makefile.in	2003-09-15 17:09:59.000000000 +0200
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -72,6 +73,7 @@
+ PATH_SEPARATOR = @PATH_SEPARATOR@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+ AMTAR = @AMTAR@
++AR = @AR@
+ AS = @AS@
+ AWK = @AWK@
+ CANONICAL_HOST = @CANONICAL_HOST@
+@@ -80,16 +82,23 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
++CXX = @CXX@
++CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
++EGREP = @EGREP@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++F77 = @F77@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,7 +118,6 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+@@ -121,6 +129,7 @@
+ OBJDUMP = @OBJDUMP@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
++RC = @RC@
+ STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+@@ -191,6 +200,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -226,7 +244,7 @@
+ 
+ 
+ libkrb5_la_LIBADD = \
+-	../com_err/error.lo ../com_err/com_err.lo \
++	$(LIB_com_err) \
+ 	$(LIB_des) \
+ 	$(top_builddir)/lib/asn1/libasn1.la \
+ 	$(LIB_roken)
+@@ -384,9 +402,8 @@
+ CONFIG_CLEAN_FILES =
+ LTLIBRARIES = $(lib_LTLIBRARIES)
+ 
+-libkrb5_la_DEPENDENCIES = ../com_err/error.lo ../com_err/com_err.lo \
+-	$(top_builddir)/lib/asn1/libasn1.la
+-am__objects_15 = krb5_err.lo heim_err.lo k524_err.lo
++libkrb5_la_DEPENDENCIES = $(top_builddir)/lib/asn1/libasn1.la
++am__objects_1 = krb5_err.lo heim_err.lo k524_err.lo
+ am_libkrb5_la_OBJECTS = acl.lo add_et_list.lo addr_families.lo \
+ 	aname_to_localname.lo appdefault.lo asn1_glue.lo \
+ 	auth_context.lo build_ap_req.lo build_auth.lo cache.lo \
+@@ -410,7 +427,7 @@
+ 	sendauth.lo set_default_realm.lo sock_principal.lo store.lo \
+ 	store_emem.lo store_fd.lo store_mem.lo ticket.lo time.lo \
+ 	transited.lo verify_init.lo verify_user.lo version.lo warn.lo \
+-	write_message.lo $(am__objects_15)
++	write_message.lo $(am__objects_1)
+ libkrb5_la_OBJECTS = $(am_libkrb5_la_OBJECTS)
+ bin_PROGRAMS = verify_krb5_conf$(EXEEXT)
+ check_PROGRAMS = aes-test$(EXEEXT) n-fold-test$(EXEEXT) \
+@@ -553,6 +570,12 @@
+ 
+ clean-libLTLIBRARIES:
+ 	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
++	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
++	  dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
++	  test -z "$dir" && dir=.; \
++	  echo "rm -f \"$${dir}/so_locations\""; \
++	  rm -f "$${dir}/so_locations"; \
++	done
+ libkrb5.la: $(libkrb5_la_OBJECTS) $(libkrb5_la_DEPENDENCIES) 
+ 	$(LINK) -rpath $(libdir) $(libkrb5_la_LDFLAGS) $(libkrb5_la_OBJECTS) $(libkrb5_la_LIBADD) $(LIBS)
+ binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+@@ -564,8 +587,7 @@
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+-	    p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
+-	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
+ 	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+@@ -574,20 +596,31 @@
+ uninstall-binPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  f=`echo "$$f" | sed -e 's,^.*/,,'`; \
++	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+ clean-binPROGRAMS:
+-	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
++	@list='$(bin_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ 
+ clean-checkPROGRAMS:
+-	-test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
++	@list='$(check_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ 
+ clean-noinstPROGRAMS:
+-	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
++	@list='$(noinst_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ aes-test$(EXEEXT): $(aes_test_OBJECTS) $(aes_test_DEPENDENCIES) 
+ 	@rm -f aes-test$(EXEEXT)
+ 	$(LINK) $(aes_test_LDFLAGS) $(aes_test_OBJECTS) $(aes_test_LDADD) $(LIBS)
+@@ -668,6 +701,10 @@
+ 	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
+ 	  else file=$$i; fi; \
+ 	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
++	  case "$$ext" in \
++	    3*) ;; \
++	    *) ext='3' ;; \
++	  esac; \
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+@@ -707,6 +744,10 @@
+ 	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
+ 	  else file=$$i; fi; \
+ 	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
++	  case "$$ext" in \
++	    5*) ;; \
++	    *) ext='5' ;; \
++	  esac; \
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+@@ -746,6 +787,10 @@
+ 	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
+ 	  else file=$$i; fi; \
+ 	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
++	  case "$$ext" in \
++	    8*) ;; \
++	    *) ext='8' ;; \
++	  esac; \
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+@@ -884,7 +929,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -938,7 +983,7 @@
+ 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.6-old/lib/Makefile.in heimdal-0.6/lib/Makefile.in
+--- heimdal-0.6-old/lib/Makefile.in	2003-05-12 17:27:45.000000000 +0200
++++ heimdal-0.6/lib/Makefile.in	2003-09-15 17:09:53.000000000 +0200
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -72,6 +73,7 @@
+ PATH_SEPARATOR = @PATH_SEPARATOR@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+ AMTAR = @AMTAR@
++AR = @AR@
+ AS = @AS@
+ AWK = @AWK@
+ CANONICAL_HOST = @CANONICAL_HOST@
+@@ -80,16 +82,23 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
++CXX = @CXX@
++CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
++EGREP = @EGREP@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++F77 = @F77@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,7 +118,6 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+@@ -121,6 +129,7 @@
+ OBJDUMP = @OBJDUMP@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
++RC = @RC@
+ STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+@@ -191,6 +200,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -203,11 +221,10 @@
+ @DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ @KRB4_TRUE@dir_45 = 45
+-@OTP_TRUE@dir_otp = otp
+ @DCE_TRUE@dir_dce = kdfs
+ 
+-SUBDIRS = @DIR_roken@ vers editline @DIR_com_err@ sl asn1 @DIR_des@ krb5 \
+-	kafs hdb kadm5 gssapi auth $(dir_45) $(dir_otp) $(dir_dce)
++SUBDIRS = @DIR_roken@ vers @DIR_com_err@ @DIR_sl@ asn1 @DIR_des@ krb5 \
++	kafs hdb kadm5 gssapi auth $(dir_45) @DIR_otp@ $(dir_dce)
+ 
+ subdir = lib
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+@@ -230,8 +247,8 @@
+ 	install-exec-recursive installdirs-recursive install-recursive \
+ 	uninstall-recursive check-recursive installcheck-recursive
+ DIST_COMMON = Makefile.am Makefile.in
+-DIST_SUBDIRS = @DIR_roken@ vers editline @DIR_com_err@ sl asn1 @DIR_des@ \
+-	krb5 kafs hdb kadm5 gssapi auth 45 otp kdfs
++DIST_SUBDIRS = @DIR_roken@ vers @DIR_com_err@ @DIR_sl@ asn1 @DIR_des@ \
++	krb5 kafs hdb kadm5 gssapi auth 45 @DIR_otp@ kdfs
+ all: all-recursive
+ 
+ .SUFFIXES:
+@@ -353,7 +370,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -415,7 +432,7 @@
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.6-old/lib/otp/Makefile.in heimdal-0.6/lib/otp/Makefile.in
+--- heimdal-0.6-old/lib/otp/Makefile.in	2003-05-12 17:27:51.000000000 +0200
++++ heimdal-0.6/lib/otp/Makefile.in	2003-09-15 17:09:59.000000000 +0200
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -72,6 +73,7 @@
+ PATH_SEPARATOR = @PATH_SEPARATOR@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+ AMTAR = @AMTAR@
++AR = @AR@
+ AS = @AS@
+ AWK = @AWK@
+ CANONICAL_HOST = @CANONICAL_HOST@
+@@ -80,16 +82,23 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
++CXX = @CXX@
++CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
++EGREP = @EGREP@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++F77 = @F77@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,7 +118,6 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+@@ -121,6 +129,7 @@
+ OBJDUMP = @OBJDUMP@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
++RC = @RC@
+ STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+@@ -191,6 +200,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -240,14 +258,14 @@
+ LTLIBRARIES = $(lib_LTLIBRARIES)
+ 
+ libotp_la_DEPENDENCIES =
+-@HAVE_DB3_TRUE@am__objects_16 = ndbm_wrap.lo
+-@HAVE_DB3_FALSE@am__objects_16 =
+-@do_roken_rename_TRUE@am__objects_14 = snprintf.lo strcasecmp.lo \
++@HAVE_DB3_TRUE@am__objects_1 = ndbm_wrap.lo
++@HAVE_DB3_FALSE@am__objects_1 =
++@do_roken_rename_TRUE@am__objects_2 = snprintf.lo strcasecmp.lo \
+ @do_roken_rename_TRUE@	strncasecmp.lo strlwr.lo strlcpy.lo \
+ @do_roken_rename_TRUE@	strlcat.lo
+ am_libotp_la_OBJECTS = otp.lo otp_challenge.lo otp_db.lo otp_md.lo \
+-	otp_parse.lo otp_print.lo otp_verify.lo $(am__objects_16) \
+-	$(am__objects_14)
++	otp_parse.lo otp_print.lo otp_verify.lo $(am__objects_1) \
++	$(am__objects_2)
+ libotp_la_OBJECTS = $(am_libotp_la_OBJECTS)
+ check_PROGRAMS = otptest$(EXEEXT)
+ noinst_PROGRAMS = otptest$(EXEEXT)
+@@ -310,14 +328,28 @@
+ 
+ clean-libLTLIBRARIES:
+ 	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
++	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
++	  dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
++	  test -z "$dir" && dir=.; \
++	  echo "rm -f \"$${dir}/so_locations\""; \
++	  rm -f "$${dir}/so_locations"; \
++	done
+ libotp.la: $(libotp_la_OBJECTS) $(libotp_la_DEPENDENCIES) 
+ 	$(LINK) -rpath $(libdir) $(libotp_la_LDFLAGS) $(libotp_la_OBJECTS) $(libotp_la_LIBADD) $(LIBS)
+ 
+ clean-checkPROGRAMS:
+-	-test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
++	@list='$(check_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ 
+ clean-noinstPROGRAMS:
+-	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
++	@list='$(noinst_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ otptest$(EXEEXT): $(otptest_OBJECTS) $(otptest_DEPENDENCIES) 
+ 	@rm -f otptest$(EXEEXT)
+ 	$(LINK) $(otptest_LDFLAGS) $(otptest_OBJECTS) $(otptest_LDADD) $(LIBS)
+@@ -406,7 +438,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -457,7 +489,7 @@
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.6-old/lib/roken/Makefile.in heimdal-0.6/lib/roken/Makefile.in
+--- heimdal-0.6-old/lib/roken/Makefile.in	2003-05-12 17:27:52.000000000 +0200
++++ heimdal-0.6/lib/roken/Makefile.in	2003-09-15 17:10:00.000000000 +0200
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -72,6 +73,7 @@
+ PATH_SEPARATOR = @PATH_SEPARATOR@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+ AMTAR = @AMTAR@
++AR = @AR@
+ AS = @AS@
+ AWK = @AWK@
+ CANONICAL_HOST = @CANONICAL_HOST@
+@@ -80,16 +82,23 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
++CXX = @CXX@
++CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
++EGREP = @EGREP@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++F77 = @F77@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,7 +118,6 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+@@ -121,6 +129,7 @@
+ OBJDUMP = @OBJDUMP@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
++RC = @RC@
+ STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+@@ -191,6 +200,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -376,7 +394,7 @@
+ @have_fnmatch_h_FALSE@fnmatch_h = fnmatch.h
+ 
+ @have_glob_h_TRUE@glob_h = 
+-@have_glob_h_FALSE@glob_h = glob.h
++@have_glob_h_FALSE@glob_h = roken-glob.h
+ 
+ @have_ifaddrs_h_TRUE@ifaddrs_h = 
+ @have_ifaddrs_h_FALSE@ifaddrs_h = ifaddrs.h
+@@ -525,9 +543,21 @@
+ 
+ clean-libLTLIBRARIES:
+ 	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
++	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
++	  dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
++	  test -z "$dir" && dir=.; \
++	  echo "rm -f \"$${dir}/so_locations\""; \
++	  rm -f "$${dir}/so_locations"; \
++	done
+ 
+ clean-noinstLTLIBRARIES:
+ 	-test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
++	@list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
++	  dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
++	  test -z "$dir" && dir=.; \
++	  echo "rm -f \"$${dir}/so_locations\""; \
++	  rm -f "$${dir}/so_locations"; \
++	done
+ libroken.la: $(libroken_la_OBJECTS) $(libroken_la_DEPENDENCIES) 
+ 	$(LINK) -rpath $(libdir) $(libroken_la_LDFLAGS) $(libroken_la_OBJECTS) $(libroken_la_LIBADD) $(LIBS)
+ libtest_la-strftime.lo: strftime.c
+@@ -537,10 +567,18 @@
+ 	$(LINK)  $(libtest_la_LDFLAGS) $(libtest_la_OBJECTS) $(libtest_la_LIBADD) $(LIBS)
+ 
+ clean-checkPROGRAMS:
+-	-test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
++	@list='$(check_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ 
+ clean-noinstPROGRAMS:
+-	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
++	@list='$(noinst_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ base64-test$(EXEEXT): $(base64_test_OBJECTS) $(base64_test_DEPENDENCIES) 
+ 	@rm -f base64-test$(EXEEXT)
+ 	$(LINK) $(base64_test_LDFLAGS) $(base64_test_OBJECTS) $(base64_test_LDADD) $(LIBS)
+@@ -660,6 +698,10 @@
+ 	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
+ 	  else file=$$i; fi; \
+ 	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
++	  case "$$ext" in \
++	    3*) ;; \
++	    *) ext='3' ;; \
++	  esac; \
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+@@ -816,7 +858,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -868,7 +910,7 @@
+ 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+@@ -1074,6 +1116,8 @@
+ $(LTLIBOBJS) $(libroken_la_OBJECTS): $(include_HEADERS) roken.h $(XHEADERS)
+ .hin.h:
+ 	cp $< $@
++roken-glob.h:
++	cp glob.hin roken-glob.h
+ 
+ roken.h: make-roken$(EXEEXT)
+ 	@./make-roken$(EXEEXT) > tmp.h ;\
+diff -ruN heimdal-0.6-old/lib/sl/Makefile.in heimdal-0.6/lib/sl/Makefile.in
+--- heimdal-0.6-old/lib/sl/Makefile.in	2003-05-12 17:27:53.000000000 +0200
++++ heimdal-0.6/lib/sl/Makefile.in	2003-09-15 17:10:01.000000000 +0200
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -72,6 +73,7 @@
+ PATH_SEPARATOR = @PATH_SEPARATOR@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+ AMTAR = @AMTAR@
++AR = @AR@
+ AS = @AS@
+ AWK = @AWK@
+ CANONICAL_HOST = @CANONICAL_HOST@
+@@ -80,16 +82,23 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
++CXX = @CXX@
++CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
++EGREP = @EGREP@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++F77 = @F77@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,7 +118,6 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+@@ -121,6 +129,7 @@
+ OBJDUMP = @OBJDUMP@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
++RC = @RC@
+ STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+@@ -191,6 +200,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -241,13 +259,13 @@
+ LTLIBRARIES = $(lib_LTLIBRARIES)
+ 
+ libsl_la_DEPENDENCIES =
+-@do_roken_rename_TRUE@am__objects_8 = strtok_r.lo snprintf.lo strdup.lo \
++@do_roken_rename_TRUE@am__objects_1 = strtok_r.lo snprintf.lo strdup.lo \
+ @do_roken_rename_TRUE@	strupr.lo getprogname.lo
+-am_libsl_la_OBJECTS = sl.lo $(am__objects_8)
++am_libsl_la_OBJECTS = sl.lo $(am__objects_1)
+ libsl_la_OBJECTS = $(am_libsl_la_OBJECTS)
+ libss_la_DEPENDENCIES =
+-am__objects_17 = sl.lo $(am__objects_8)
+-am_libss_la_OBJECTS = $(am__objects_17) ss.lo
++am__objects_2 = sl.lo $(am__objects_1)
++am_libss_la_OBJECTS = $(am__objects_2) ss.lo
+ libss_la_OBJECTS = $(am_libss_la_OBJECTS)
+ bin_PROGRAMS = mk_cmds$(EXEEXT)
+ PROGRAMS = $(bin_PROGRAMS)
+@@ -315,6 +333,12 @@
+ 
+ clean-libLTLIBRARIES:
+ 	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
++	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
++	  dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
++	  test -z "$dir" && dir=.; \
++	  echo "rm -f \"$${dir}/so_locations\""; \
++	  rm -f "$${dir}/so_locations"; \
++	done
+ libsl.la: $(libsl_la_OBJECTS) $(libsl_la_DEPENDENCIES) 
+ 	$(LINK) -rpath $(libdir) $(libsl_la_LDFLAGS) $(libsl_la_OBJECTS) $(libsl_la_LIBADD) $(LIBS)
+ libss.la: $(libss_la_OBJECTS) $(libss_la_DEPENDENCIES) 
+@@ -328,8 +352,7 @@
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+-	    p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
+-	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
++	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
+ 	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+@@ -338,15 +361,22 @@
+ uninstall-binPROGRAMS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+-	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+-	  f=`echo "$$f" | sed -e 's,^.*/,,'`; \
++	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+ 
+ clean-binPROGRAMS:
+-	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
++	@list='$(bin_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ parse.h: parse.c
++	@if test ! -f $@; then \
++	  rm -f parse.c; \
++	  $(MAKE) parse.c; \
++	else :; fi
+ mk_cmds$(EXEEXT): $(mk_cmds_OBJECTS) $(mk_cmds_DEPENDENCIES) 
+ 	@rm -f mk_cmds$(EXEEXT)
+ 	$(LINK) $(mk_cmds_LDFLAGS) $(mk_cmds_OBJECTS) $(mk_cmds_LDADD) $(LIBS)
+@@ -478,7 +508,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -531,12 +561,12 @@
+ 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+ 	@echo "it deletes files that may require special tools to rebuild."
+-	-test -z "parse.h" || rm -f parse.h
++	-test -z "parse.hparse.clex.c" || rm -f parse.h parse.c lex.c
+ clean: clean-am
+ 
+ clean-am: clean-binPROGRAMS clean-generic clean-libLTLIBRARIES \
+diff -ruN heimdal-0.6-old/lib/vers/Makefile.in heimdal-0.6/lib/vers/Makefile.in
+--- heimdal-0.6-old/lib/vers/Makefile.in	2003-05-12 17:27:53.000000000 +0200
++++ heimdal-0.6/lib/vers/Makefile.in	2003-09-15 17:10:01.000000000 +0200
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -72,6 +73,7 @@
+ PATH_SEPARATOR = @PATH_SEPARATOR@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+ AMTAR = @AMTAR@
++AR = @AR@
+ AS = @AS@
+ AWK = @AWK@
+ CANONICAL_HOST = @CANONICAL_HOST@
+@@ -80,16 +82,23 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
++CXX = @CXX@
++CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
++EGREP = @EGREP@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++F77 = @F77@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,7 +118,6 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+@@ -121,6 +129,7 @@
+ OBJDUMP = @OBJDUMP@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
++RC = @RC@
+ STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+@@ -191,6 +200,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -265,11 +283,21 @@
+ 
+ clean-noinstLTLIBRARIES:
+ 	-test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
++	@list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
++	  dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
++	  test -z "$dir" && dir=.; \
++	  echo "rm -f \"$${dir}/so_locations\""; \
++	  rm -f "$${dir}/so_locations"; \
++	done
+ libvers.la: $(libvers_la_OBJECTS) $(libvers_la_DEPENDENCIES) 
+ 	$(LINK)  $(libvers_la_LDFLAGS) $(libvers_la_OBJECTS) $(libvers_la_LIBADD) $(LIBS)
+ 
+ clean-noinstPROGRAMS:
+-	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
++	@list='$(noinst_PROGRAMS)'; for p in $$list; do \
++	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++	  echo " rm -f $$p $$f"; \
++	  rm -f $$p $$f ; \
++	done
+ make-print-version$(EXEEXT): $(make_print_version_OBJECTS) $(make_print_version_DEPENDENCIES) 
+ 	@rm -f make-print-version$(EXEEXT)
+ 	$(LINK) $(make_print_version_LDFLAGS) $(make_print_version_OBJECTS) $(make_print_version_LDADD) $(LIBS)
+@@ -340,7 +368,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -390,7 +418,7 @@
+ 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+diff -ruN heimdal-0.6-old/ltmain.sh heimdal-0.6/ltmain.sh
+--- heimdal-0.6-old/ltmain.sh	2003-05-12 17:27:06.000000000 +0200
++++ heimdal-0.6/ltmain.sh	2003-09-15 17:09:37.000000000 +0200
+@@ -1,7 +1,7 @@
+ # ltmain.sh - Provide generalized library-building support services.
+ # NOTE: Changing this file will not affect anything until you rerun configure.
+ #
+-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
++# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003
+ # Free Software Foundation, Inc.
+ # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
+ #
+@@ -49,14 +49,14 @@
+ fi
+ 
+ # The name of this program.
+-progname=`$echo "$0" | sed 's%^.*/%%'`
++progname=`$echo "$0" | ${SED} 's%^.*/%%'`
+ modename="$progname"
+ 
+ # Constants.
+ PROGRAM=ltmain.sh
+ PACKAGE=libtool
+-VERSION=1.4.2
+-TIMESTAMP=" (1.922.2.53 2001/09/11 03:18:52)"
++VERSION=1.5.0a
++TIMESTAMP=" (1.1220.2.25 2003/08/01 19:08:35) Debian$Rev: 49 $"
+ 
+ default_mode=
+ help="Try \`$progname --help' for more information."
+@@ -67,10 +67,19 @@
+ 
+ # Sed substitution that helps us do robust quoting.  It backslashifies
+ # metacharacters that are still active within double-quoted strings.
+-Xsed='sed -e 1s/^X//'
++Xsed="${SED}"' -e 1s/^X//'
+ sed_quote_subst='s/\([\\`\\"$\\\\]\)/\\\1/g'
+-SP2NL='tr \040 \012'
+-NL2SP='tr \015\012 \040\040'
++# test EBCDIC or ASCII
++case `echo A|tr A '\301'` in
++ A) # EBCDIC based system
++  SP2NL="tr '\100' '\n'"
++  NL2SP="tr '\r\n' '\100\100'"
++  ;;
++ *) # Assume ASCII based system
++  SP2NL="tr '\040' '\012'"
++  NL2SP="tr '\015\012' '\040\040'"
++  ;;
++esac
+ 
+ # NLS nuisances.
+ # Only set LANG and LC_ALL to C if already set.
+@@ -85,11 +94,12 @@
+ fi
+ 
+ # Make sure IFS has a sensible default
+-: ${IFS=" 	"}
++: ${IFS=" 	
++"}
+ 
+ if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then
+-  echo "$modename: not configured to build any kind of library" 1>&2
+-  echo "Fatal configuration error.  See the $PACKAGE docs for more information." 1>&2
++  $echo "$modename: not configured to build any kind of library" 1>&2
++  $echo "Fatal configuration error.  See the $PACKAGE docs for more information." 1>&2
+   exit 1
+ fi
+ 
+@@ -105,8 +115,51 @@
+ lo2o="s/\\.lo\$/.${objext}/"
+ o2lo="s/\\.${objext}\$/.lo/"
+ 
++#####################################
++# Shell function definitions:
++# This seems to be the best place for them
++
++# Need a lot of goo to handle *both* DLLs and import libs
++# Has to be a shell function in order to 'eat' the argument
++# that is supplied when $file_magic_command is called.
++win32_libid () {
++  win32_libid_type="unknown"
++  win32_fileres=`file -L $1 2>/dev/null`
++  case $win32_fileres in
++  *ar\ archive\ import\ library*) # definitely import
++    win32_libid_type="x86 archive import"
++    ;;
++  *ar\ archive*) # could be an import, or static
++    if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | \
++      grep -E 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then
++      win32_nmres=`eval $NM -f posix -A $1 | \
++	sed -n -e '1,100{/ I /{x;/import/!{s/^/import/;h;p;};x;};}'`
++      if test "X$win32_nmres" = "Ximport" ; then
++        win32_libid_type="x86 archive import"
++      else
++        win32_libid_type="x86 archive static"
++      fi
++    fi
++    ;;
++  *DLL*) 
++    win32_libid_type="x86 DLL"
++    ;;
++  *executable*) # but shell scripts are "executable" too...
++    case $win32_fileres in
++    *MS\ Windows\ PE\ Intel*)
++      win32_libid_type="x86 DLL"
++      ;;
++    esac
++    ;;
++  esac
++  $echo $win32_libid_type
++}
++
++# End of Shell function definitions
++#####################################
++
+ # Parse our command line options once, thoroughly.
+-while test $# -gt 0
++while test "$#" -gt 0
+ do
+   arg="$1"
+   shift
+@@ -122,6 +175,33 @@
+     execute_dlfiles)
+       execute_dlfiles="$execute_dlfiles $arg"
+       ;;
++    tag)
++      tagname="$arg"
++
++      # Check whether tagname contains only valid characters
++      case $tagname in
++      *[!-_A-Za-z0-9,/]*)
++	$echo "$progname: invalid tag name: $tagname" 1>&2
++	exit 1
++	;;
++      esac
++
++      case $tagname in
++      CC)
++	# Don't test for the "default" C tag, as we know, it's there, but
++	# not specially marked.
++	;;
++      *)
++	if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "$0" > /dev/null; then
++	  taglist="$taglist $tagname"
++	  # Evaluate the configuration.
++	  eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$tagname'$/,/^# ### END LIBTOOL TAG CONFIG: '$tagname'$/p' < $0`"
++	else
++	  $echo "$progname: ignoring unknown tag $tagname" 1>&2
++	fi
++	;;
++      esac
++      ;;
+     *)
+       eval "$prev=\$arg"
+       ;;
+@@ -139,17 +219,25 @@
+     ;;
+ 
+   --version)
+-    echo "$PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP"
++    $echo "$PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP"
++    $echo
++    $echo "Copyright (C) 2003  Free Software Foundation, Inc."
++    $echo "This is free software; see the source for copying conditions.  There is NO"
++    $echo "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
+     exit 0
+     ;;
+ 
+   --config)
+-    sed -e '1,/^# ### BEGIN LIBTOOL CONFIG/d' -e '/^# ### END LIBTOOL CONFIG/,$d' $0
++    ${SED} -e '1,/^# ### BEGIN LIBTOOL CONFIG/d' -e '/^# ### END LIBTOOL CONFIG/,$d' $0
++    # Now print the configurations for the tags.
++    for tagname in $taglist; do
++      ${SED} -n -e "/^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$/,/^# ### END LIBTOOL TAG CONFIG: $tagname$/p" < "$0"
++    done
+     exit 0
+     ;;
+ 
+   --debug)
+-    echo "$progname: enabling shell trace mode"
++    $echo "$progname: enabling shell trace mode"
+     set -x
+     ;;
+ 
+@@ -158,16 +246,16 @@
+     ;;
+ 
+   --features)
+-    echo "host: $host"
++    $echo "host: $host"
+     if test "$build_libtool_libs" = yes; then
+-      echo "enable shared libraries"
++      $echo "enable shared libraries"
+     else
+-      echo "disable shared libraries"
++      $echo "disable shared libraries"
+     fi
+     if test "$build_old_libs" = yes; then
+-      echo "enable static libraries"
++      $echo "enable static libraries"
+     else
+-      echo "disable static libraries"
++      $echo "disable static libraries"
+     fi
+     exit 0
+     ;;
+@@ -177,10 +265,19 @@
+   --mode) prevopt="--mode" prev=mode ;;
+   --mode=*) mode="$optarg" ;;
+ 
++  --preserve-dup-deps) duplicate_deps="yes" ;;
++
+   --quiet | --silent)
+     show=:
+     ;;
+ 
++  --tag) prevopt="--tag" prev=tag ;;
++  --tag=*)
++    set tag "$optarg" ${1+"$@"}
++    shift
++    prev=tag
++    ;;
++
+   -dlopen)
+     prevopt="-dlopen"
+     prev=execute_dlfiles
+@@ -214,8 +311,10 @@
+ 
+   # Infer the operation mode.
+   if test -z "$mode"; then
++    $echo "*** Warning: inferring the mode of operation is deprecated." 1>&2
++    $echo "*** Future versions of Libtool will require -mode=MODE be specified." 1>&2
+     case $nonopt in
+-    *cc | *++ | gcc* | *-gcc*)
++    *cc | cc* | *++ | gcc* | *-gcc* | g++* | xlc*)
+       mode=link
+       for arg
+       do
+@@ -270,158 +369,127 @@
+     modename="$modename: compile"
+     # Get the compilation command and the source file.
+     base_compile=
+-    prev=
+-    lastarg=
+-    srcfile="$nonopt"
++    srcfile="$nonopt"  #  always keep a non-empty value in "srcfile"
+     suppress_output=
++    arg_mode=normal
++    libobj=
+ 
+-    user_target=no
+     for arg
+     do
+-      case $prev in
+-      "") ;;
+-      xcompiler)
+-	# Aesthetically quote the previous argument.
+-	prev=
+-	lastarg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
+-
+-	case $arg in
+-	# Double-quote args containing other shell metacharacters.
+-	# Many Bourne shells cannot handle close brackets correctly
+-	# in scan sets, so we specify it separately.
+-	*[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \	]*|*]*|"")
+-	  arg="\"$arg\""
+-	  ;;
+-	esac
++      case "$arg_mode" in
++      arg  )
++	# do not "continue".  Instead, add this to base_compile
++	lastarg="$arg"
++	arg_mode=normal
++	;;
+ 
+-	# Add the previous argument to base_compile.
+-	if test -z "$base_compile"; then
+-	  base_compile="$lastarg"
+-	else
+-	  base_compile="$base_compile $lastarg"
+-	fi
++      target )
++	libobj="$arg"
++	arg_mode=normal
+ 	continue
+ 	;;
+-      esac
+ 
+-      # Accept any command-line options.
+-      case $arg in
+-      -o)
+-	if test "$user_target" != "no"; then
+-	  $echo "$modename: you cannot specify \`-o' more than once" 1>&2
+-	  exit 1
+-	fi
+-	user_target=next
+-	;;
++      normal )
++	# Accept any command-line options.
++	case $arg in
++	-o)
++	  if test -n "$libobj" ; then
++	    $echo "$modename: you cannot specify \`-o' more than once" 1>&2
++	    exit 1
++	  fi
++	  arg_mode=target
++	  continue
++	  ;;
+ 
+-      -static)
+-	build_old_libs=yes
+-	continue
+-	;;
++	-static)
++	  build_old_libs=yes
++	  continue
++	  ;;
+ 
+-      -prefer-pic)
+-	pic_mode=yes
+-	continue
+-	;;
++	-prefer-pic)
++	  pic_mode=yes
++	  continue
++	  ;;
+ 
+-      -prefer-non-pic)
+-	pic_mode=no
+-	continue
+-	;;
++	-prefer-non-pic)
++	  pic_mode=no
++	  continue
++	  ;;
+ 
+-      -Xcompiler)
+-	prev=xcompiler
+-	continue
+-	;;
++	-Xcompiler)
++	  arg_mode=arg  #  the next one goes into the "base_compile" arg list
++	  continue      #  The current "srcfile" will either be retained or
++	  ;;            #  replaced later.  I would guess that would be a bug.
++
++	-Wc,*)
++	  args=`$echo "X$arg" | $Xsed -e "s/^-Wc,//"`
++	  lastarg=
++	  save_ifs="$IFS"; IFS=','
++	  for arg in $args; do
++	    IFS="$save_ifs"
+ 
+-      -Wc,*)
+-	args=`$echo "X$arg" | $Xsed -e "s/^-Wc,//"`
+-	lastarg=
+-	save_ifs="$IFS"; IFS=','
+-	for arg in $args; do
++	    # Double-quote args containing other shell metacharacters.
++	    # Many Bourne shells cannot handle close brackets correctly
++	    # in scan sets, so we specify it separately.
++	    case $arg in
++	      *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \	]*|*]*|"")
++	      arg="\"$arg\""
++	      ;;
++	    esac
++	    lastarg="$lastarg $arg"
++	  done
+ 	  IFS="$save_ifs"
++	  lastarg=`$echo "X$lastarg" | $Xsed -e "s/^ //"`
+ 
+-	  # Double-quote args containing other shell metacharacters.
+-	  # Many Bourne shells cannot handle close brackets correctly
+-	  # in scan sets, so we specify it separately.
+-	  case $arg in
+-	    *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \	]*|*]*|"")
+-	    arg="\"$arg\""
+-	    ;;
+-	  esac
+-	  lastarg="$lastarg $arg"
+-	done
+-	IFS="$save_ifs"
+-	lastarg=`$echo "X$lastarg" | $Xsed -e "s/^ //"`
+-
+-	# Add the arguments to base_compile.
+-	if test -z "$base_compile"; then
+-	  base_compile="$lastarg"
+-	else
++	  # Add the arguments to base_compile.
+ 	  base_compile="$base_compile $lastarg"
+-	fi
+-	continue
+-	;;
+-      esac
++	  continue
++	  ;;
+ 
+-      case $user_target in
+-      next)
+-	# The next one is the -o target name
+-	user_target=yes
+-	continue
+-	;;
+-      yes)
+-	# We got the output file
+-	user_target=set
+-	libobj="$arg"
+-	continue
++	* )
++	  # Accept the current argument as the source file.
++	  # The previous "srcfile" becomes the current argument.
++	  #
++	  lastarg="$srcfile"
++	  srcfile="$arg"
++	  ;;
++	esac  #  case $arg
+ 	;;
+-      esac
+-
+-      # Accept the current argument as the source file.
+-      lastarg="$srcfile"
+-      srcfile="$arg"
++      esac    #  case $arg_mode
+ 
+       # Aesthetically quote the previous argument.
+-
+-      # Backslashify any backslashes, double quotes, and dollar signs.
+-      # These are the only characters that are still specially
+-      # interpreted inside of double-quoted scrings.
+       lastarg=`$echo "X$lastarg" | $Xsed -e "$sed_quote_subst"`
+ 
++      case $lastarg in
+       # Double-quote args containing other shell metacharacters.
+       # Many Bourne shells cannot handle close brackets correctly
+       # in scan sets, so we specify it separately.
+-      case $lastarg in
+       *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \	]*|*]*|"")
+ 	lastarg="\"$lastarg\""
+ 	;;
+       esac
+ 
+-      # Add the previous argument to base_compile.
+-      if test -z "$base_compile"; then
+-	base_compile="$lastarg"
+-      else
+-	base_compile="$base_compile $lastarg"
+-      fi
+-    done
++      base_compile="$base_compile $lastarg"
++    done # for arg
+ 
+-    case $user_target in
+-    set)
+-      ;;
+-    no)
+-      # Get the name of the library object.
+-      libobj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%'`
++    case $arg_mode in
++    arg)
++      $echo "$modename: you must specify an argument for -Xcompile"
++      exit 1
+       ;;
+-    *)
++    target)
+       $echo "$modename: you must specify a target with \`-o'" 1>&2
+       exit 1
+       ;;
++    *)
++      # Get the name of the library object.
++      [ -z "$libobj" ] && libobj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%'`
++      ;;
+     esac
+ 
+     # Recognize several different file suffixes.
+     # If the user specifies -o file.o, it is replaced with file.lo
+-    xform='[cCFSfmso]'
++    xform='[cCFSifmso]'
+     case $libobj in
+     *.ada) xform=ada ;;
+     *.adb) xform=adb ;;
+@@ -429,10 +497,13 @@
+     *.asm) xform=asm ;;
+     *.c++) xform=c++ ;;
+     *.cc) xform=cc ;;
++    *.ii) xform=ii ;;
++    *.class) xform=class ;;
+     *.cpp) xform=cpp ;;
+     *.cxx) xform=cxx ;;
+     *.f90) xform=f90 ;;
+     *.for) xform=for ;;
++    *.java) xform=java ;;
+     esac
+ 
+     libobj=`$echo "X$libobj" | $Xsed -e "s/\.$xform$/.lo/"`
+@@ -445,6 +516,56 @@
+       ;;
+     esac
+ 
++    # Infer tagged configuration to use if any are available and
++    # if one wasn't chosen via the "--tag" command line option.
++    # Only attempt this if the compiler in the base compile
++    # command doesn't match the default compiler.
++    if test -n "$available_tags" && test -z "$tagname"; then
++      case $base_compile in
++      # Blanks in the command may have been stripped by the calling shell,
++      # but not from the CC environment variable when configure was run.
++      " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "*) ;;
++      # Blanks at the start of $base_compile will cause this to fail
++      # if we don't check for them as well.
++      *)
++	for z in $available_tags; do
++	  if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$0" > /dev/null; then
++	    # Evaluate the configuration.
++	    eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $0`"
++	    case "$base_compile " in
++	    "$CC "* | " $CC "* | "`$echo $CC` "* | " `$echo $CC` "*)
++	      # The compiler in the base compile command matches
++	      # the one in the tagged configuration.
++	      # Assume this is the tagged configuration we want.
++	      tagname=$z
++	      break
++	      ;;
++	    esac
++	  fi
++	done
++	# If $tagname still isn't set, then no tagged configuration
++	# was found and let the user know that the "--tag" command
++	# line option must be used.
++	if test -z "$tagname"; then
++	  $echo "$modename: unable to infer tagged configuration"
++	  $echo "$modename: specify a tag with \`--tag'" 1>&2
++	  exit 1
++#        else
++#          $echo "$modename: using $tagname tagged configuration"
++	fi
++	;;
++      esac
++    fi
++
++    objname=`$echo "X$obj" | $Xsed -e 's%^.*/%%'`
++    xdir=`$echo "X$obj" | $Xsed -e 's%/[^/]*$%%'`
++    if test "X$xdir" = "X$obj"; then
++      xdir=
++    else
++      xdir=$xdir/
++    fi
++    lobj=${xdir}$objdir/$objname
++
+     if test -z "$base_compile"; then
+       $echo "$modename: you must specify a compilation command" 1>&2
+       $echo "$help" 1>&2
+@@ -453,9 +574,9 @@
+ 
+     # Delete any leftover library objects.
+     if test "$build_old_libs" = yes; then
+-      removelist="$obj $libobj"
++      removelist="$obj $lobj $libobj ${libobj}T"
+     else
+-      removelist="$libobj"
++      removelist="$lobj $libobj ${libobj}T"
+     fi
+ 
+     $run $rm $removelist
+@@ -467,7 +588,7 @@
+       pic_mode=default
+       ;;
+     esac
+-    if test $pic_mode = no && test "$deplibs_check_method" != pass_all; then
++    if test "$pic_mode" = no && test "$deplibs_check_method" != pass_all; then
+       # non-PIC code in shared libraries is not supported
+       pic_mode=default
+     fi
+@@ -480,6 +601,7 @@
+       removelist="$removelist $output_obj $lockfile"
+       trap "$run $rm $removelist; exit 1" 1 2 15
+     else
++      output_obj=
+       need_locks=no
+       lockfile=
+     fi
+@@ -493,7 +615,7 @@
+       done
+     elif test "$need_locks" = warn; then
+       if test -f "$lockfile"; then
+-	echo "\
++	$echo "\
+ *** ERROR, $lockfile exists and contains:
+ `cat $lockfile 2>/dev/null`
+ 
+@@ -507,56 +629,55 @@
+ 	$run $rm $removelist
+ 	exit 1
+       fi
+-      echo $srcfile > "$lockfile"
++      $echo $srcfile > "$lockfile"
+     fi
+ 
+     if test -n "$fix_srcfile_path"; then
+       eval srcfile=\"$fix_srcfile_path\"
+     fi
+ 
++    $run $rm "$libobj" "${libobj}T"
++
++    # Create a libtool object file (analogous to a ".la" file),
++    # but don't create it if we're doing a dry run.
++    test -z "$run" && cat > ${libobj}T <<EOF
++# $libobj - a libtool object file
++# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
++#
++# Please DO NOT delete this file!
++# It is necessary for linking the library.
++
++# Name of the PIC object.
++EOF
++
+     # Only build a PIC object if we are building libtool libraries.
+     if test "$build_libtool_libs" = yes; then
+       # Without this assignment, base_compile gets emptied.
+       fbsd_hideous_sh_bug=$base_compile
+ 
+       if test "$pic_mode" != no; then
+-	# All platforms use -DPIC, to notify preprocessed assembler code.
+-	command="$base_compile $srcfile $pic_flag -DPIC"
++	command="$base_compile $srcfile $pic_flag"
+       else
+ 	# Don't build PIC code
+ 	command="$base_compile $srcfile"
+       fi
+-      if test "$build_old_libs" = yes; then
+-	lo_libobj="$libobj"
+-	dir=`$echo "X$libobj" | $Xsed -e 's%/[^/]*$%%'`
+-	if test "X$dir" = "X$libobj"; then
+-	  dir="$objdir"
+-	else
+-	  dir="$dir/$objdir"
+-	fi
+-	libobj="$dir/"`$echo "X$libobj" | $Xsed -e 's%^.*/%%'`
+ 
+-	if test -d "$dir"; then
+-	  $show "$rm $libobj"
+-	  $run $rm $libobj
+-	else
+-	  $show "$mkdir $dir"
+-	  $run $mkdir $dir
+-	  status=$?
+-	  if test $status -ne 0 && test ! -d $dir; then
+-	    exit $status
+-	  fi
++      if test ! -d "${xdir}$objdir"; then
++	$show "$mkdir ${xdir}$objdir"
++	$run $mkdir ${xdir}$objdir
++	status=$?
++	if test "$status" -ne 0 && test ! -d "${xdir}$objdir"; then
++	  exit $status
+ 	fi
+       fi
+-      if test "$compiler_o_lo" = yes; then
+-	output_obj="$libobj"
+-	command="$command -o $output_obj"
+-      elif test "$compiler_c_o" = yes; then
+-	output_obj="$obj"
+-	command="$command -o $output_obj"
++
++      if test -z "$output_obj"; then
++	# Place PIC objects in $objdir
++	command="$command -o $lobj"
+       fi
+ 
+-      $run $rm "$output_obj"
++      $run $rm "$lobj" "$output_obj"
++
+       $show "$command"
+       if $run eval "$command"; then :
+       else
+@@ -565,8 +686,8 @@
+       fi
+ 
+       if test "$need_locks" = warn &&
+-	 test x"`cat $lockfile 2>/dev/null`" != x"$srcfile"; then
+-	echo "\
++	 test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then
++	$echo "\
+ *** ERROR, $lockfile contains:
+ `cat $lockfile 2>/dev/null`
+ 
+@@ -585,9 +706,9 @@
+       fi
+ 
+       # Just move the object if needed, then go on to compile the next one
+-      if test x"$output_obj" != x"$libobj"; then
+-	$show "$mv $output_obj $libobj"
+-	if $run $mv $output_obj $libobj; then :
++      if test -n "$output_obj" && test "X$output_obj" != "X$lobj"; then
++	$show "$mv $output_obj $lobj"
++	if $run $mv $output_obj $lobj; then :
+ 	else
+ 	  error=$?
+ 	  $run $rm $removelist
+@@ -595,48 +716,21 @@
+ 	fi
+       fi
+ 
+-      # If we have no pic_flag, then copy the object into place and finish.
+-      if (test -z "$pic_flag" || test "$pic_mode" != default) &&
+-	 test "$build_old_libs" = yes; then
+-	# Rename the .lo from within objdir to obj
+-	if test -f $obj; then
+-	  $show $rm $obj
+-	  $run $rm $obj
+-	fi
++      # Append the name of the PIC object to the libtool object file.
++      test -z "$run" && cat >> ${libobj}T <<EOF
++pic_object='$objdir/$objname'
+ 
+-	$show "$mv $libobj $obj"
+-	if $run $mv $libobj $obj; then :
+-	else
+-	  error=$?
+-	  $run $rm $removelist
+-	  exit $error
+-	fi
+-
+-	xdir=`$echo "X$obj" | $Xsed -e 's%/[^/]*$%%'`
+-	if test "X$xdir" = "X$obj"; then
+-	  xdir="."
+-	else
+-	  xdir="$xdir"
+-	fi
+-	baseobj=`$echo "X$obj" | $Xsed -e "s%.*/%%"`
+-	libobj=`$echo "X$baseobj" | $Xsed -e "$o2lo"`
+-	# Now arrange that obj and lo_libobj become the same file
+-	$show "(cd $xdir && $LN_S $baseobj $libobj)"
+-	if $run eval '(cd $xdir && $LN_S $baseobj $libobj)'; then
+-	  # Unlock the critical section if it was locked
+-	  if test "$need_locks" != no; then
+-	    $run $rm "$lockfile"
+-	  fi
+-	  exit 0
+-	else
+-	  error=$?
+-	  $run $rm $removelist
+-	  exit $error
+-	fi
+-      fi
++EOF
+ 
+       # Allow error messages only from the first compilation.
+       suppress_output=' >/dev/null 2>&1'
++    else
++      # No PIC object so indicate it doesn't exist in the libtool
++      # object file.
++      test -z "$run" && cat >> ${libobj}T <<EOF
++pic_object=none
++
++EOF
+     fi
+ 
+     # Only build a position-dependent object if we build old libraries.
+@@ -645,17 +739,15 @@
+ 	# Don't build PIC code
+ 	command="$base_compile $srcfile"
+       else
+-	# All platforms use -DPIC, to notify preprocessed assembler code.
+-	command="$base_compile $srcfile $pic_flag -DPIC"
++	command="$base_compile $srcfile $pic_flag"
+       fi
+       if test "$compiler_c_o" = yes; then
+ 	command="$command -o $obj"
+-	output_obj="$obj"
+       fi
+ 
+       # Suppress compiler output if we already did a PIC compilation.
+       command="$command$suppress_output"
+-      $run $rm "$output_obj"
++      $run $rm "$obj" "$output_obj"
+       $show "$command"
+       if $run eval "$command"; then :
+       else
+@@ -664,8 +756,8 @@
+       fi
+ 
+       if test "$need_locks" = warn &&
+-	 test x"`cat $lockfile 2>/dev/null`" != x"$srcfile"; then
+-	echo "\
++	 test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then
++	$echo "\
+ *** ERROR, $lockfile contains:
+ `cat $lockfile 2>/dev/null`
+ 
+@@ -684,7 +776,7 @@
+       fi
+ 
+       # Just move the object if needed
+-      if test x"$output_obj" != x"$obj"; then
++      if test -n "$output_obj" && test "X$output_obj" != "X$obj"; then
+ 	$show "$mv $output_obj $obj"
+ 	if $run $mv $output_obj $obj; then :
+ 	else
+@@ -694,23 +786,25 @@
+ 	fi
+       fi
+ 
+-      # Create an invalid libtool object if no PIC, so that we do not
+-      # accidentally link it into a program.
+-      if test "$build_libtool_libs" != yes; then
+-	$show "echo timestamp > $libobj"
+-	$run eval "echo timestamp > \$libobj" || exit $?
+-      else
+-	# Move the .lo from within objdir
+-	$show "$mv $libobj $lo_libobj"
+-	if $run $mv $libobj $lo_libobj; then :
+-	else
+-	  error=$?
+-	  $run $rm $removelist
+-	  exit $error
+-	fi
+-      fi
++      # Append the name of the non-PIC object the libtool object file.
++      # Only append if the libtool object file exists.
++      test -z "$run" && cat >> ${libobj}T <<EOF
++# Name of the non-PIC object.
++non_pic_object='$objname'
++
++EOF
++    else
++      # Append the name of the non-PIC object the libtool object file.
++      # Only append if the libtool object file exists.
++      test -z "$run" && cat >> ${libobj}T <<EOF
++# Name of the non-PIC object.
++non_pic_object=none
++
++EOF
+     fi
+ 
++    $run $mv "${libobj}T" "${libobj}"
++
+     # Unlock the critical section if it was locked
+     if test "$need_locks" != no; then
+       $run $rm "$lockfile"
+@@ -727,7 +821,7 @@
+       # It is impossible to link a dll without this setting, and
+       # we shouldn't force the makefile maintainer to figure out
+       # which system we are compiling for in order to pass an extra
+-      # flag for every libtool invokation.
++      # flag for every libtool invocation.
+       # allow_undefined=no
+ 
+       # FIXME: Unfortunately, there are problems with the above when trying
+@@ -742,6 +836,7 @@
+       ;;
+     esac
+     libtool_args="$nonopt"
++    base_compile="$nonopt"
+     compile_command="$nonopt"
+     finalize_command="$nonopt"
+ 
+@@ -757,6 +852,7 @@
+     linker_flags=
+     dllsearchpath=
+     lib_search_path=`pwd`
++    inst_prefix_dir=
+ 
+     avoid_version=no
+     dlfiles=
+@@ -771,6 +867,7 @@
+     module=no
+     no_install=no
+     objs=
++    non_pic_objects=
+     prefer_static_libs=no
+     preload=no
+     prev=
+@@ -782,6 +879,7 @@
+     temp_rpath=
+     thread_safe=no
+     vinfo=
++    vinfo_number=no
+ 
+     # We need to know -static, to get the right output filenames.
+     for arg
+@@ -812,8 +910,9 @@
+     test -n "$old_archive_from_new_cmds" && build_old_libs=yes
+ 
+     # Go through the arguments, transforming them on the way.
+-    while test $# -gt 0; do
++    while test "$#" -gt 0; do
+       arg="$1"
++      base_compile="$base_compile $arg"
+       shift
+       case $arg in
+       *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \	]*|*]*|"")
+@@ -887,11 +986,123 @@
+ 	  prev=
+ 	  continue
+ 	  ;;
++	inst_prefix)
++	  inst_prefix_dir="$arg"
++	  prev=
++	  continue
++	  ;;
+ 	release)
+ 	  release="-$arg"
+ 	  prev=
+ 	  continue
+ 	  ;;
++	objectlist)
++	  if test -f "$arg"; then
++	    save_arg=$arg
++	    moreargs=
++	    for fil in `cat $save_arg`
++	    do
++#	      moreargs="$moreargs $fil"
++	      arg=$fil
++	      # A libtool-controlled object.
++
++	      # Check to see that this really is a libtool object.
++	      if (${SED} -e '2q' $arg | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
++		pic_object=
++		non_pic_object=
++
++		# Read the .lo file
++		# If there is no directory component, then add one.
++		case $arg in
++		*/* | *\\*) . $arg ;;
++		*) . ./$arg ;;
++		esac
++
++		if test -z "$pic_object" || \
++		   test -z "$non_pic_object" ||
++		   test "$pic_object" = none && \
++		   test "$non_pic_object" = none; then
++		  $echo "$modename: cannot find name of object for \`$arg'" 1>&2
++		  exit 1
++		fi
++
++		# Extract subdirectory from the argument.
++		xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
++		if test "X$xdir" = "X$arg"; then
++		  xdir=
++		else
++		  xdir="$xdir/"
++		fi
++
++		if test "$pic_object" != none; then
++		  # Prepend the subdirectory the object is found in.
++		  pic_object="$xdir$pic_object"
++
++		  if test "$prev" = dlfiles; then
++		    if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
++		      dlfiles="$dlfiles $pic_object"
++		      prev=
++		      continue
++		    else
++		      # If libtool objects are unsupported, then we need to preload.
++		      prev=dlprefiles
++		    fi
++		  fi
++
++		  # CHECK ME:  I think I busted this.  -Ossama
++		  if test "$prev" = dlprefiles; then
++		    # Preload the old-style object.
++		    dlprefiles="$dlprefiles $pic_object"
++		    prev=
++		  fi
++
++		  # A PIC object.
++		  libobjs="$libobjs $pic_object"
++		  arg="$pic_object"
++		fi
++
++		# Non-PIC object.
++		if test "$non_pic_object" != none; then
++		  # Prepend the subdirectory the object is found in.
++		  non_pic_object="$xdir$non_pic_object"
++
++		  # A standard non-PIC object
++		  non_pic_objects="$non_pic_objects $non_pic_object"
++		  if test -z "$pic_object" || test "$pic_object" = none ; then
++		    arg="$non_pic_object"
++		  fi
++		fi
++	      else
++		# Only an error if not doing a dry-run.
++		if test -z "$run"; then
++		  $echo "$modename: \`$arg' is not a valid libtool object" 1>&2
++		  exit 1
++		else
++		  # Dry-run case.
++
++		  # Extract subdirectory from the argument.
++		  xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
++		  if test "X$xdir" = "X$arg"; then
++		    xdir=
++		  else
++		    xdir="$xdir/"
++		  fi
++
++		  pic_object=`$echo "X${xdir}${objdir}/${arg}" | $Xsed -e "$lo2o"`
++		  non_pic_object=`$echo "X${xdir}${arg}" | $Xsed -e "$lo2o"`
++		  libobjs="$libobjs $pic_object"
++		  non_pic_objects="$non_pic_objects $non_pic_object"
++		fi
++	      fi
++	    done
++	  else
++	    $echo "$modename: link input file \`$save_arg' does not exist"
++	    exit 1
++	  fi
++	  arg=$save_arg
++	  prev=
++	  continue
++	  ;;
+ 	rpath | xrpath)
+ 	  # We need an absolute path.
+ 	  case $arg in
+@@ -930,13 +1141,21 @@
+ 	  finalize_command="$finalize_command $wl$qarg"
+ 	  continue
+ 	  ;;
++	xcclinker)
++	  linker_flags="$linker_flags $qarg"
++	  compiler_flags="$compiler_flags $qarg"
++	  prev=
++	  compile_command="$compile_command $qarg"
++	  finalize_command="$finalize_command $qarg"
++	  continue
++	  ;;
+ 	*)
+ 	  eval "$prev=\"\$arg\""
+ 	  prev=
+ 	  continue
+ 	  ;;
+ 	esac
+-      fi # test -n $prev
++      fi # test -n "$prev"
+ 
+       prevarg="$arg"
+ 
+@@ -988,11 +1207,16 @@
+ 	continue
+ 	;;
+ 
++      -inst-prefix-dir)
++	prev=inst_prefix
++	continue
++	;;
++
+       # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:*
+       # so, if we see these flags be careful not to treat them like -L
+       -L[A-Z][A-Z]*:*)
+ 	case $with_gcc/$host in
+-	no/*-*-irix*)
++	no/*-*-irix* | /*-*-irix*)
+ 	  compile_command="$compile_command $arg"
+ 	  finalize_command="$finalize_command $arg"
+ 	  ;;
+@@ -1043,18 +1267,22 @@
+ 	    # These systems don't actually have a C library (as such)
+ 	    test "X$arg" = "X-lc" && continue
+ 	    ;;
+-	  *-*-openbsd*)
++	  *-*-openbsd* | *-*-freebsd*)
+ 	    # Do not include libc due to us having libc/libc_r.
+ 	    test "X$arg" = "X-lc" && continue
+ 	    ;;
+-	  esac
+-	 elif test "X$arg" = "X-lc_r"; then
+-	  case $host in
+-	  *-*-openbsd*)
+-	    # Do not include libc_r directly, use -pthread flag.
++	  *-*-rhapsody* | *-*-darwin1.[012])
++	    # Rhapsody C and math libraries are in the System framework
++	    deplibs="$deplibs -framework System"
+ 	    continue
+-	    ;;
+ 	  esac
++	elif test "X$arg" = "X-lc_r"; then
++	 case $host in
++	 *-*-openbsd* | *-*-freebsd*)
++	   # Do not include libc_r directly, use -pthread flag.
++	   continue
++	   ;;
++	 esac
+ 	fi
+ 	deplibs="$deplibs $arg"
+ 	continue
+@@ -1065,6 +1293,34 @@
+ 	continue
+ 	;;
+ 
++      # gcc -m* arguments should be passed to the linker via $compiler_flags
++      # in order to pass architecture information to the linker
++      # (e.g. 32 vs 64-bit).  This may also be accomplished via -Wl,-mfoo
++      # but this is not reliable with gcc because gcc may use -mfoo to
++      # select a different linker, different libraries, etc, while
++      # -Wl,-mfoo simply passes -mfoo to the linker.
++      -m*)
++	# Unknown arguments in both finalize_command and compile_command need
++	# to be aesthetically quoted because they are evaled later.
++	arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
++	case $arg in
++	*[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \	]*|*]*|"")
++	  arg="\"$arg\""
++	  ;;
++	esac
++        compile_command="$compile_command $arg"
++        finalize_command="$finalize_command $arg"
++        if test "$with_gcc" = "yes" ; then
++          compiler_flags="$compiler_flags $arg"
++        fi
++        continue
++        ;;
++
++      -shrext)
++	prev=shrext
++	continue
++	;;
++
+       -no-fast-install)
+ 	fast_install=no
+ 	continue
+@@ -1089,6 +1345,11 @@
+ 	continue
+ 	;;
+ 
++      -objectlist)
++	prev=objectlist
++	continue
++	;;
++
+       -o) prev=output ;;
+ 
+       -release)
+@@ -1141,6 +1402,11 @@
+ 	prev=vinfo
+ 	continue
+ 	;;
++      -version-number)
++	prev=vinfo
++	vinfo_number=yes
++	continue
++	;;
+ 
+       -Wc,*)
+ 	args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wc,//'`
+@@ -1189,6 +1455,11 @@
+ 	continue
+ 	;;
+ 
++      -XCClinker)
++	prev=xcclinker
++	continue
++	;;
++
+       # Some other compiler flag.
+       -* | +*)
+ 	# Unknown arguments in both finalize_command and compile_command need
+@@ -1201,29 +1472,101 @@
+ 	esac
+ 	;;
+ 
+-      *.lo | *.$objext)
+-	# A library or standard object.
+-	if test "$prev" = dlfiles; then
+-	  # This file was specified with -dlopen.
+-	  if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
+-	    dlfiles="$dlfiles $arg"
+-	    prev=
+-	    continue
+-	  else
+-	    # If libtool objects are unsupported, then we need to preload.
+-	    prev=dlprefiles
+-	  fi
+-	fi
++      *.$objext)
++	# A standard object.
++	objs="$objs $arg"
++	;;
+ 
+-	if test "$prev" = dlprefiles; then
+-	  # Preload the old-style object.
+-	  dlprefiles="$dlprefiles "`$echo "X$arg" | $Xsed -e "$lo2o"`
+-	  prev=
+-	else
++      *.lo)
++	# A libtool-controlled object.
++
++	# Check to see that this really is a libtool object.
++	if (${SED} -e '2q' $arg | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
++	  pic_object=
++	  non_pic_object=
++
++	  # Read the .lo file
++	  # If there is no directory component, then add one.
+ 	  case $arg in
+-	  *.lo) libobjs="$libobjs $arg" ;;
+-	  *) objs="$objs $arg" ;;
++	  */* | *\\*) . $arg ;;
++	  *) . ./$arg ;;
+ 	  esac
++
++	  if test -z "$pic_object" || \
++	     test -z "$non_pic_object" ||
++	     test "$pic_object" = none && \
++	     test "$non_pic_object" = none; then
++	    $echo "$modename: cannot find name of object for \`$arg'" 1>&2
++	    exit 1
++	  fi
++
++	  # Extract subdirectory from the argument.
++	  xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
++	  if test "X$xdir" = "X$arg"; then
++	    xdir=
++ 	  else
++	    xdir="$xdir/"
++	  fi
++
++	  if test "$pic_object" != none; then
++	    # Prepend the subdirectory the object is found in.
++	    pic_object="$xdir$pic_object"
++
++	    if test "$prev" = dlfiles; then
++	      if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
++		dlfiles="$dlfiles $pic_object"
++		prev=
++		continue
++	      else
++		# If libtool objects are unsupported, then we need to preload.
++		prev=dlprefiles
++	      fi
++	    fi
++
++	    # CHECK ME:  I think I busted this.  -Ossama
++	    if test "$prev" = dlprefiles; then
++	      # Preload the old-style object.
++	      dlprefiles="$dlprefiles $pic_object"
++	      prev=
++	    fi
++
++	    # A PIC object.
++	    libobjs="$libobjs $pic_object"
++	    arg="$pic_object"
++	  fi
++
++	  # Non-PIC object.
++	  if test "$non_pic_object" != none; then
++	    # Prepend the subdirectory the object is found in.
++	    non_pic_object="$xdir$non_pic_object"
++
++	    # A standard non-PIC object
++	    non_pic_objects="$non_pic_objects $non_pic_object"
++	    if test -z "$pic_object" || test "$pic_object" = none ; then
++	      arg="$non_pic_object"
++	    fi
++	  fi
++	else
++	  # Only an error if not doing a dry-run.
++	  if test -z "$run"; then
++	    $echo "$modename: \`$arg' is not a valid libtool object" 1>&2
++	    exit 1
++	  else
++	    # Dry-run case.
++
++	    # Extract subdirectory from the argument.
++	    xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
++	    if test "X$xdir" = "X$arg"; then
++	      xdir=
++	    else
++	      xdir="$xdir/"
++	    fi
++
++	    pic_object=`$echo "X${xdir}${objdir}/${arg}" | $Xsed -e "$lo2o"`
++	    non_pic_object=`$echo "X${xdir}${arg}" | $Xsed -e "$lo2o"`
++	    libobjs="$libobjs $pic_object"
++	    non_pic_objects="$non_pic_objects $non_pic_object"
++	  fi
+ 	fi
+ 	;;
+ 
+@@ -1277,12 +1620,54 @@
+       exit 1
+     fi
+ 
++    # Infer tagged configuration to use if any are available and
++    # if one wasn't chosen via the "--tag" command line option.
++    # Only attempt this if the compiler in the base link
++    # command doesn't match the default compiler.
++    if test -n "$available_tags" && test -z "$tagname"; then
++      case $base_compile in
++      # Blanks in the command may have been stripped by the calling shell,
++      # but not from the CC environment variable when configure was run.
++      "$CC "* | " $CC "* | "`$echo $CC` "* | " `$echo $CC` "*) ;;
++      # Blanks at the start of $base_compile will cause this to fail
++      # if we don't check for them as well.
++      *)
++	for z in $available_tags; do
++	  if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$0" > /dev/null; then
++	    # Evaluate the configuration.
++	    eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $0`"
++	    case $base_compile in
++	    "$CC "* | " $CC "* | "`$echo $CC` "* | " `$echo $CC` "*)
++	      # The compiler in $compile_command matches
++	      # the one in the tagged configuration.
++	      # Assume this is the tagged configuration we want.
++	      tagname=$z
++	      break
++	      ;;
++	    esac
++	  fi
++	done
++	# If $tagname still isn't set, then no tagged configuration
++	# was found and let the user know that the "--tag" command
++	# line option must be used.
++	if test -z "$tagname"; then
++	  $echo "$modename: unable to infer tagged configuration"
++	  $echo "$modename: specify a tag with \`--tag'" 1>&2
++	  exit 1
++#       else
++#         $echo "$modename: using $tagname tagged configuration"
++	fi
++	;;
++      esac
++    fi
++
+     if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then
+       eval arg=\"$export_dynamic_flag_spec\"
+       compile_command="$compile_command $arg"
+       finalize_command="$finalize_command $arg"
+     fi
+ 
++    oldlibs=
+     # calculate the name of the file, without its directory
+     outputname=`$echo "X$output" | $Xsed -e 's%^.*/%%'`
+     libobjs_save="$libobjs"
+@@ -1303,11 +1688,11 @@
+       output_objdir="$output_objdir/$objdir"
+     fi
+     # Create the object directory.
+-    if test ! -d $output_objdir; then
++    if test ! -d "$output_objdir"; then
+       $show "$mkdir $output_objdir"
+       $run $mkdir $output_objdir
+       status=$?
+-      if test $status -ne 0 && test ! -d $output_objdir; then
++      if test "$status" -ne 0 && test ! -d "$output_objdir"; then
+ 	exit $status
+       fi
+     fi
+@@ -1325,16 +1710,47 @@
+     *) linkmode=prog ;; # Anything else should be a program.
+     esac
+ 
++    case $host in
++    *cygwin* | *mingw* | *pw32*)
++      # don't eliminate duplcations in $postdeps and $predeps
++      duplicate_compiler_generated_deps=yes
++      ;;
++    *)
++      duplicate_compiler_generated_deps=$duplicate_deps
++      ;;
++    esac
+     specialdeplibs=
++
+     libs=
+     # Find all interdependent deplibs by searching for libraries
+     # that are linked more than once (e.g. -la -lb -la)
+     for deplib in $deplibs; do
+-      case "$libs " in
+-      *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
+-      esac
++      if test "X$duplicate_deps" = "Xyes" ; then
++	case "$libs " in
++	*" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
++	esac
++      fi
+       libs="$libs $deplib"
+     done
++
++    if test "$linkmode" = lib; then
++      libs="$predeps $libs $compiler_lib_search_path $postdeps"
++
++      # Compute libraries that are listed more than once in $predeps
++      # $postdeps and mark them as special (i.e., whose duplicates are
++      # not to be eliminated).
++      pre_post_deps=
++      if test "X$duplicate_compiler_generated_deps" = "Xyes" ; then
++	for pre_post_dep in $predeps $postdeps; do
++	  case "$pre_post_deps " in
++	  *" $pre_post_dep "*) specialdeplibs="$specialdeplibs $pre_post_deps" ;;
++	  esac
++	  pre_post_deps="$pre_post_deps $pre_post_dep"
++	done
++      fi
++      pre_post_deps=
++    fi
++
+     deplibs=
+     newdependency_libs=
+     newlib_search_path=
+@@ -1366,39 +1782,50 @@
+ 	;;
+     esac
+     for pass in $passes; do
+-      if test $linkmode = prog; then
+-	# Determine which files to process
++      if test "$linkmode,$pass" = "lib,link" ||
++	 test "$linkmode,$pass" = "prog,scan"; then
++	libs="$deplibs"
++	deplibs=
++      fi
++      if test "$linkmode" = prog; then
+ 	case $pass in
+-	dlopen)
+-	  libs="$dlfiles"
+-	  save_deplibs="$deplibs" # Collect dlpreopened libraries
+-	  deplibs=
+-	  ;;
++	dlopen) libs="$dlfiles" ;;
+ 	dlpreopen) libs="$dlprefiles" ;;
+ 	link) libs="$deplibs %DEPLIBS% $dependency_libs" ;;
+ 	esac
+       fi
++      if test "$pass" = dlopen; then
++	# Collect dlpreopened libraries
++	save_deplibs="$deplibs"
++	deplibs=
++      fi
+       for deplib in $libs; do
+ 	lib=
+ 	found=no
+ 	case $deplib in
+ 	-l*)
+-	  if test $linkmode = oldlib && test $linkmode = obj; then
+-	    $echo "$modename: warning: \`-l' is ignored for archives/objects: $deplib" 1>&2
++	  if test "$linkmode" != lib && test "$linkmode" != prog; then
++	    $echo "$modename: warning: \`-l' is ignored for archives/objects" 1>&2
+ 	    continue
+ 	  fi
+-	  if test $pass = conv; then
++	  if test "$pass" = conv; then
+ 	    deplibs="$deplib $deplibs"
+ 	    continue
+ 	  fi
+ 	  name=`$echo "X$deplib" | $Xsed -e 's/^-l//'`
+ 	  for searchdir in $newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path; do
+-	    # Search the libtool library
+-	    lib="$searchdir/lib${name}.la"
+-	    if test -f "$lib"; then
+-	      found=yes
+-	      break
+-	    fi
++	    for search_ext in .la $shrext .so .a; do
++	      # Search the libtool library
++	      lib="$searchdir/lib${name}${search_ext}"
++	      if test -f "$lib"; then
++		if test "$search_ext" = ".la"; then
++		  found=yes
++		else
++		  found=no
++		fi
++		break 2
++	      fi
++	    done
+ 	  done
+ 	  if test "$found" != yes; then
+ 	    # deplib doesn't seem to be a libtool library
+@@ -1407,25 +1834,61 @@
+ 	      finalize_deplibs="$deplib $finalize_deplibs"
+ 	    else
+ 	      deplibs="$deplib $deplibs"
+-	      test $linkmode = lib && newdependency_libs="$deplib $newdependency_libs"
++	      test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs"
+ 	    fi
+ 	    continue
++	  else # deplib is a libtool library
++	    # If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib,
++	    # We need to do some special things here, and not later.
++	    if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
++	      case " $predeps $postdeps " in
++	      *" $deplib "*)
++		if (${SED} -e '2q' $lib |
++                    grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
++		  library_names=
++		  old_library=
++		  case $lib in
++		  */* | *\\*) . $lib ;;
++		  *) . ./$lib ;;
++		  esac
++		  for l in $old_library $library_names; do
++		    ll="$l"
++		  done
++		  if test "X$ll" = "X$old_library" ; then # only static version available
++		    found=no
++		    ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'`
++		    test "X$ladir" = "X$lib" && ladir="."
++		    lib=$ladir/$old_library
++		    if test "$linkmode,$pass" = "prog,link"; then
++		      compile_deplibs="$deplib $compile_deplibs"
++		      finalize_deplibs="$deplib $finalize_deplibs"
++		    else
++		      deplibs="$deplib $deplibs"
++		      test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs"
++		    fi
++		    continue
++		  fi
++		fi
++	        ;;
++	      *) ;;
++	      esac
++	    fi
+ 	  fi
+ 	  ;; # -l
+ 	-L*)
+ 	  case $linkmode in
+ 	  lib)
+ 	    deplibs="$deplib $deplibs"
+-	    test $pass = conv && continue
++	    test "$pass" = conv && continue
+ 	    newdependency_libs="$deplib $newdependency_libs"
+ 	    newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`
+ 	    ;;
+ 	  prog)
+-	    if test $pass = conv; then
++	    if test "$pass" = conv; then
+ 	      deplibs="$deplib $deplibs"
+ 	      continue
+ 	    fi
+-	    if test $pass = scan; then
++	    if test "$pass" = scan; then
+ 	      deplibs="$deplib $deplibs"
+ 	      newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`
+ 	    else
+@@ -1434,13 +1897,13 @@
+ 	    fi
+ 	    ;;
+ 	  *)
+-	    $echo "$modename: warning: \`-L' is ignored for archives/objects: $deplib" 1>&2
++	    $echo "$modename: warning: \`-L' is ignored for archives/objects" 1>&2
+ 	    ;;
+ 	  esac # linkmode
+ 	  continue
+ 	  ;; # -L
+ 	-R*)
+-	  if test $pass = link; then
++	  if test "$pass" = link; then
+ 	    dir=`$echo "X$deplib" | $Xsed -e 's/^-R//'`
+ 	    # Make sure the xrpath contains only unique directories.
+ 	    case "$xrpath " in
+@@ -1453,28 +1916,30 @@
+ 	  ;;
+ 	*.la) lib="$deplib" ;;
+ 	*.$libext)
+-	  if test $pass = conv; then
++	  if test "$pass" = conv; then
+ 	    deplibs="$deplib $deplibs"
+ 	    continue
+ 	  fi
+ 	  case $linkmode in
+ 	  lib)
+ 	    if test "$deplibs_check_method" != pass_all; then
+-	      echo
+-	      echo "*** Warning: This library needs some functionality provided by $deplib."
+-	      echo "*** I have the capability to make that library automatically link in when"
+-	      echo "*** you link to this library.  But I can only do this if you have a"
+-	      echo "*** shared version of the library, which you do not appear to have."
++	      $echo
++	      $echo "*** Warning: Trying to link with static lib archive $deplib."
++	      $echo "*** I have the capability to make that library automatically link in when"
++	      $echo "*** you link to this library.  But I can only do this if you have a"
++	      $echo "*** shared version of the library, which you do not appear to have"
++	      $echo "*** because the file extensions .$libext of this argument makes me believe"
++	      $echo "*** that it is just a static archive that I should not used here."
+ 	    else
+-	      echo
+-	      echo "*** Warning: Linking the shared library $output against the"
+-	      echo "*** static library $deplib is not portable!"
++	      $echo
++	      $echo "*** Warning: Linking the shared library $output against the"
++	      $echo "*** static library $deplib is not portable!"
+ 	      deplibs="$deplib $deplibs"
+ 	    fi
+ 	    continue
+ 	    ;;
+ 	  prog)
+-	    if test $pass != link; then
++	    if test "$pass" != link; then
+ 	      deplibs="$deplib $deplibs"
+ 	    else
+ 	      compile_deplibs="$deplib $compile_deplibs"
+@@ -1485,14 +1950,18 @@
+ 	  esac # linkmode
+ 	  ;; # *.$libext
+ 	*.lo | *.$objext)
+-	  if test $pass = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
+-	    # If there is no dlopen support or we're linking statically,
+-	    # we need to preload.
+-	    newdlprefiles="$newdlprefiles $deplib"
+-	    compile_deplibs="$deplib $compile_deplibs"
+-	    finalize_deplibs="$deplib $finalize_deplibs"
+-	  else
+-	    newdlfiles="$newdlfiles $deplib"
++	  if test "$pass" = conv; then
++	    deplibs="$deplib $deplibs"
++	  elif test "$linkmode" = prog; then
++	    if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
++	      # If there is no dlopen support or we're linking statically,
++	      # we need to preload.
++	      newdlprefiles="$newdlprefiles $deplib"
++	      compile_deplibs="$deplib $compile_deplibs"
++	      finalize_deplibs="$deplib $finalize_deplibs"
++	    else
++	      newdlfiles="$newdlfiles $deplib"
++	    fi
+ 	  fi
+ 	  continue
+ 	  ;;
+@@ -1501,14 +1970,14 @@
+ 	  continue
+ 	  ;;
+ 	esac # case $deplib
+-	if test $found = yes || test -f "$lib"; then :
++	if test "$found" = yes || test -f "$lib"; then :
+ 	else
+ 	  $echo "$modename: cannot find the library \`$lib'" 1>&2
+ 	  exit 1
+ 	fi
+ 
+ 	# Check to see that this really is a libtool archive.
+-	if (sed -e '2q' $lib | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
++	if (${SED} -e '2q' $lib | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
+ 	else
+ 	  $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
+ 	  exit 1
+@@ -1524,8 +1993,9 @@
+ 	library_names=
+ 	old_library=
+ 	# If the library was installed with an old release of libtool,
+-	# it will not redefine variable installed.
++	# it will not redefine variables installed, or shouldnotlink
+ 	installed=yes
++	shouldnotlink=no
+ 
+ 	# Read the .la file
+ 	case $lib in
+@@ -1535,13 +2005,12 @@
+ 
+ 	if test "$linkmode,$pass" = "lib,link" ||
+ 	   test "$linkmode,$pass" = "prog,scan" ||
+-	   { test $linkmode = oldlib && test $linkmode = obj; }; then
+-	   # Add dl[pre]opened files of deplib
++	   { test "$linkmode" != prog && test "$linkmode" != lib; }; then
+ 	  test -n "$dlopen" && dlfiles="$dlfiles $dlopen"
+ 	  test -n "$dlpreopen" && dlprefiles="$dlprefiles $dlpreopen"
+ 	fi
+ 
+-	if test $pass = conv; then
++	if test "$pass" = conv; then
+ 	  # Only check for convenience libraries
+ 	  deplibs="$lib $deplibs"
+ 	  if test -z "$libdir"; then
+@@ -1555,18 +2024,21 @@
+ 	    tmp_libs=
+ 	    for deplib in $dependency_libs; do
+ 	      deplibs="$deplib $deplibs"
+-	      case "$tmp_libs " in
+-	      *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
+-	      esac
++              if test "X$duplicate_deps" = "Xyes" ; then
++	        case "$tmp_libs " in
++	        *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
++	        esac
++              fi
+ 	      tmp_libs="$tmp_libs $deplib"
+ 	    done
+-	  elif test $linkmode != prog && test $linkmode != lib; then
++	  elif test "$linkmode" != prog && test "$linkmode" != lib; then
+ 	    $echo "$modename: \`$lib' is not a convenience library" 1>&2
+ 	    exit 1
+ 	  fi
+ 	  continue
+ 	fi # $pass = conv
+ 
++    
+ 	# Get the name of the library we link against.
+ 	linklib=
+ 	for l in $old_library $library_names; do
+@@ -1578,15 +2050,17 @@
+ 	fi
+ 
+ 	# This library was specified with -dlopen.
+-	if test $pass = dlopen; then
++	if test "$pass" = dlopen; then
+ 	  if test -z "$libdir"; then
+ 	    $echo "$modename: cannot -dlopen a convenience library: \`$lib'" 1>&2
+ 	    exit 1
+ 	  fi
+ 	  if test -z "$dlname" || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
+ 	    # If there is no dlname, no dlopen support or we're linking
+-	    # statically, we need to preload.
+-	    dlprefiles="$dlprefiles $lib"
++	    # statically, we need to preload.  We also need to preload any
++	    # dependent libraries so libltdl's deplib preloader doesn't
++	    # bomb out in the load deplibs phase.
++	    dlprefiles="$dlprefiles $lib $dependency_libs"
+ 	  else
+ 	    newdlfiles="$newdlfiles $lib"
+ 	  fi
+@@ -1627,7 +2101,7 @@
+ 	name=`$echo "X$laname" | $Xsed -e 's/\.la$//' -e 's/^lib//'`
+ 
+ 	# This library was specified with -dlpreopen.
+-	if test $pass = dlpreopen; then
++	if test "$pass" = dlpreopen; then
+ 	  if test -z "$libdir"; then
+ 	    $echo "$modename: cannot -dlpreopen a convenience library: \`$lib'" 1>&2
+ 	    exit 1
+@@ -1646,18 +2120,19 @@
+ 
+ 	if test -z "$libdir"; then
+ 	  # Link the convenience library
+-	  if test $linkmode = lib; then
++	  if test "$linkmode" = lib; then
+ 	    deplibs="$dir/$old_library $deplibs"
+ 	  elif test "$linkmode,$pass" = "prog,link"; then
+ 	    compile_deplibs="$dir/$old_library $compile_deplibs"
+ 	    finalize_deplibs="$dir/$old_library $finalize_deplibs"
+ 	  else
+-	    deplibs="$lib $deplibs"
++	    deplibs="$lib $deplibs" # used for prog,scan pass
+ 	  fi
+ 	  continue
+ 	fi
+ 
+-	if test $linkmode = prog && test $pass != link; then
++    
++	if test "$linkmode" = prog && test "$pass" != link; then
+ 	  newlib_search_path="$newlib_search_path $ladir"
+ 	  deplibs="$lib $deplibs"
+ 
+@@ -1673,28 +2148,36 @@
+ 	    -L*) newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`;; ### testsuite: skip nested quoting test
+ 	    esac
+ 	    # Need to link against all dependency_libs?
+-	    if test $linkalldeplibs = yes; then
++	    if test "$linkalldeplibs" = yes; then
+ 	      deplibs="$deplib $deplibs"
+ 	    else
+ 	      # Need to hardcode shared library paths
+ 	      # or/and link against static libraries
+ 	      newdependency_libs="$deplib $newdependency_libs"
+ 	    fi
+-	    case "$tmp_libs " in
+-	    *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
+-	    esac
++	    if test "X$duplicate_deps" = "Xyes" ; then
++	      case "$tmp_libs " in
++	      *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
++	      esac
++	    fi
+ 	    tmp_libs="$tmp_libs $deplib"
+ 	  done # for deplib
+ 	  continue
+ 	fi # $linkmode = prog...
+ 
+-	link_static=no # Whether the deplib will be linked statically
+-	if test -n "$library_names" &&
+-	   { test "$prefer_static_libs" = no || test -z "$old_library"; }; then
+-	  # Link against this shared library
++	if test "$linkmode,$pass" = "prog,link"; then
++	  if test -n "$library_names" &&
++	     { test "$prefer_static_libs" = no || test -z "$old_library"; }; then
++	    # We need to hardcode the library path
++	    if test -n "$shlibpath_var"; then
++	      # Make sure the rpath contains only unique directories.
++	      case "$temp_rpath " in
++	      *" $dir "*) ;;
++	      *" $absdir "*) ;;
++	      *) temp_rpath="$temp_rpath $dir" ;;
++	      esac
++	    fi
+ 
+-	  if test "$linkmode,$pass" = "prog,link" ||
+-	   { test $linkmode = lib && test $hardcode_into_libs = yes; }; then
+ 	    # Hardcode the library path.
+ 	    # Skip directories that are in the system default run-time
+ 	    # search path.
+@@ -1716,17 +2199,6 @@
+ 	      esac
+ 	      ;;
+ 	    esac
+-	    if test $linkmode = prog; then
+-	      # We need to hardcode the library path
+-	      if test -n "$shlibpath_var"; then
+-		# Make sure the rpath contains only unique directories.
+-		case "$temp_rpath " in
+-		*" $dir "*) ;;
+-		*" $absdir "*) ;;
+-		*) temp_rpath="$temp_rpath $dir" ;;
+-		esac
+-	      fi
+-	    fi
+ 	  fi # $linkmode,$pass = prog,link...
+ 
+ 	  if test "$alldeplibs" = yes &&
+@@ -1736,11 +2208,51 @@
+ 	    # We only need to search for static libraries
+ 	    continue
+ 	  fi
++	fi
+ 
++	link_static=no # Whether the deplib will be linked statically
++	if test -n "$library_names" &&
++	   { test "$prefer_static_libs" = no || test -z "$old_library"; }; then
+ 	  if test "$installed" = no; then
+ 	    notinst_deplibs="$notinst_deplibs $lib"
+ 	    need_relink=yes
+ 	  fi
++	  # This is a shared library
++	
++      # Warn about portability, can't link against -module's on some systems (darwin)
++      if test "$shouldnotlink" = yes && test "$pass" = link ; then
++	    $echo
++	    if test "$linkmode" = prog; then
++	      $echo "*** Warning: Linking the executable $output against the loadable module"
++	    else
++	      $echo "*** Warning: Linking the shared library $output against the loadable module"
++	    fi
++	    $echo "*** $linklib is not portable!"    
++      fi	  
++	  if test "$linkmode" = lib &&
++	     test "$hardcode_into_libs" = yes; then
++	    # Hardcode the library path.
++	    # Skip directories that are in the system default run-time
++	    # search path.
++	    case " $sys_lib_dlsearch_path " in
++	    *" $absdir "*) ;;
++	    *)
++	      case "$compile_rpath " in
++	      *" $absdir "*) ;;
++	      *) compile_rpath="$compile_rpath $absdir"
++	      esac
++	      ;;
++	    esac
++	    case " $sys_lib_dlsearch_path " in
++	    *" $libdir "*) ;;
++	    *)
++	      case "$finalize_rpath " in
++	      *" $libdir "*) ;;
++	      *) finalize_rpath="$finalize_rpath $libdir"
++	      esac
++	      ;;
++	    esac
++	  fi
+ 
+ 	  if test -n "$old_archive_from_expsyms_cmds"; then
+ 	    # figure out the soname
+@@ -1754,7 +2266,7 @@
+ 	    elif test -n "$soname_spec"; then
+ 	      # bleh windows
+ 	      case $host in
+-	      *cygwin*)
++	      *cygwin* | mingw*)
+ 		major=`expr $current - $age`
+ 		versuffix="-$major"
+ 		;;
+@@ -1766,8 +2278,8 @@
+ 
+ 	    # Make a new name for the extract_expsyms_cmds to use
+ 	    soroot="$soname"
+-	    soname=`echo $soroot | sed -e 's/^.*\///'`
+-	    newlib="libimp-`echo $soname | sed 's/^lib//;s/\.dll$//'`.a"
++	    soname=`$echo $soroot | ${SED} -e 's/^.*\///'`
++	    newlib="libimp-`$echo $soname | ${SED} 's/^lib//;s/\.dll$//'`.a"
+ 
+ 	    # If the library has no export list, then create one now
+ 	    if test -f "$output_objdir/$soname-def"; then :
+@@ -1798,9 +2310,9 @@
+ 	    # make sure the library variables are pointing to the new library
+ 	    dir=$output_objdir
+ 	    linklib=$newlib
+-	  fi # test -n $old_archive_from_expsyms_cmds
++	  fi # test -n "$old_archive_from_expsyms_cmds"
+ 
+-	  if test $linkmode = prog || test "$mode" != relink; then
++	  if test "$linkmode" = prog || test "$mode" != relink; then
+ 	    add_shlibpath=
+ 	    add_dir=
+ 	    add=
+@@ -1809,6 +2321,22 @@
+ 	    immediate | unsupported)
+ 	      if test "$hardcode_direct" = no; then
+ 		add="$dir/$linklib"
++		case $host in
++		  *-*-sco3.2v5* ) add_dir="-L$dir" ;;
++		  *-*-darwin* )
++		    # if the lib is a module then we can not link against it, someone
++		    # is ignoring the new warnings I added
++		    if /usr/bin/file -L $add 2> /dev/null | grep "bundle" >/dev/null ; then
++		      $echo "** Warning, lib $linklib is a module, not a shared library"
++		      if test -z "$old_library" ; then
++		        $echo
++		        $echo "** And there doesn't seem to be a static archive available"
++		        $echo "** The link will probably fail, sorry"
++		      else
++		        add="$dir/$old_library"
++		      fi 
++		    fi
++		esac
+ 	      elif test "$hardcode_minus_L" = no; then
+ 		case $host in
+ 		*-*-sunos*) add_shlibpath="$dir" ;;
+@@ -1827,6 +2355,14 @@
+ 		add="$dir/$linklib"
+ 	      elif test "$hardcode_minus_L" = yes; then
+ 		add_dir="-L$dir"
++		# Try looking first in the location we're being installed to.
++		if test -n "$inst_prefix_dir"; then
++		  case "$libdir" in
++		    [\\/]*)
++		      add_dir="$add_dir -L$inst_prefix_dir$libdir"
++		      ;;
++		  esac
++		fi
+ 		add="-l$name"
+ 	      elif test "$hardcode_shlibpath_var" = yes; then
+ 		add_shlibpath="$dir"
+@@ -1849,7 +2385,7 @@
+ 	      *) compile_shlibpath="$compile_shlibpath$add_shlibpath:" ;;
+ 	      esac
+ 	    fi
+-	    if test $linkmode = prog; then
++	    if test "$linkmode" = prog; then
+ 	      test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs"
+ 	      test -n "$add" && compile_deplibs="$add $compile_deplibs"
+ 	    else
+@@ -1866,7 +2402,7 @@
+ 	    fi
+ 	  fi
+ 
+-	  if test $linkmode = prog || test "$mode" = relink; then
++	  if test "$linkmode" = prog || test "$mode" = relink; then
+ 	    add_shlibpath=
+ 	    add_dir=
+ 	    add=
+@@ -1882,13 +2418,27 @@
+ 	      *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
+ 	      esac
+ 	      add="-l$name"
++	    elif test "$hardcode_automatic" = yes; then
++	      if test -n "$inst_prefix_dir" && test -f "$inst_prefix_dir$libdir/$linklib" ; then
++	        add="$inst_prefix_dir$libdir/$linklib"
++	      else
++	        add="$libdir/$linklib"
++	      fi
+ 	    else
+ 	      # We cannot seem to hardcode it, guess we'll fake it.
+ 	      add_dir="-L$libdir"
++	      # Try looking first in the location we're being installed to.
++	      if test -n "$inst_prefix_dir"; then
++		case "$libdir" in
++		  [\\/]*)
++		    add_dir="$add_dir -L$inst_prefix_dir$libdir"
++		    ;;
++		esac
++	      fi
+ 	      add="-l$name"
+ 	    fi
+ 
+-	    if test $linkmode = prog; then
++	    if test "$linkmode" = prog; then
+ 	      test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs"
+ 	      test -n "$add" && finalize_deplibs="$add $finalize_deplibs"
+ 	    else
+@@ -1896,16 +2446,7 @@
+ 	      test -n "$add" && deplibs="$add $deplibs"
+ 	    fi
+ 	  fi
+-	elif test $linkmode = prog; then
+-	  if test "$alldeplibs" = yes &&
+-	     { test "$deplibs_check_method" = pass_all ||
+-	       { test "$build_libtool_libs" = yes &&
+-		 test -n "$library_names"; }; }; then
+-	    # We only need to search for static libraries
+-	    continue
+-	  fi
+-
+-	  # Try to link the static library
++	elif test "$linkmode" = prog; then
+ 	  # Here we assume that one of hardcode_direct or hardcode_minus_L
+ 	  # is not unsupported.  This is valid on all known static and
+ 	  # shared platforms.
+@@ -1925,20 +2466,21 @@
+ 
+ 	    # Just print a warning and add the library to dependency_libs so
+ 	    # that the program can be linked against the static library.
+-	    echo
+-	    echo "*** Warning: This library needs some functionality provided by $lib."
+-	    echo "*** I have the capability to make that library automatically link in when"
+-	    echo "*** you link to this library.  But I can only do this if you have a"
+-	    echo "*** shared version of the library, which you do not appear to have."
++	    $echo
++	    $echo "*** Warning: This system can not link to static lib archive $lib."
++	    $echo "*** I have the capability to make that library automatically link in when"
++	    $echo "*** you link to this library.  But I can only do this if you have a"
++	    $echo "*** shared version of the library, which you do not appear to have."
+ 	    if test "$module" = yes; then
+-	      echo "*** Therefore, libtool will create a static module, that should work "
+-	      echo "*** as long as the dlopening application is linked with the -dlopen flag."
++	      $echo "*** But as you try to build a module library, libtool will still create "
++	      $echo "*** a static module, that should work as long as the dlopening application"
++	      $echo "*** is linked with the -dlopen flag to resolve symbols at runtime."
+ 	      if test -z "$global_symbol_pipe"; then
+-		echo
+-		echo "*** However, this would only work if libtool was able to extract symbol"
+-		echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
+-		echo "*** not find such a program.  So, this module is probably useless."
+-		echo "*** \`nm' from GNU binutils and a full rebuild may help."
++		$echo
++		$echo "*** However, this would only work if libtool was able to extract symbol"
++		$echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
++		$echo "*** not find such a program.  So, this module is probably useless."
++		$echo "*** \`nm' from GNU binutils and a full rebuild may help."
+ 	      fi
+ 	      if test "$build_old_libs" = no; then
+ 		build_libtool_libs=module
+@@ -1955,10 +2497,10 @@
+ 	  fi
+ 	fi # link shared/static library?
+ 
+-	if test $linkmode = lib; then
++	if test "$linkmode" = lib; then
+ 	  if test -n "$dependency_libs" &&
+-	     { test $hardcode_into_libs != yes || test $build_old_libs = yes ||
+-	       test $link_static = yes; }; then
++	     { test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes ||
++	       test "$link_static" = yes; }; then
+ 	    # Extract -R from dependency_libs
+ 	    temp_deplibs=
+ 	    for libdir in $dependency_libs; do
+@@ -1981,13 +2523,15 @@
+ 	  tmp_libs=
+ 	  for deplib in $dependency_libs; do
+ 	    newdependency_libs="$deplib $newdependency_libs"
+-	    case "$tmp_libs " in
+-	    *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
+-	    esac
++	    if test "X$duplicate_deps" = "Xyes" ; then
++	      case "$tmp_libs " in
++	      *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
++	      esac
++	    fi
+ 	    tmp_libs="$tmp_libs $deplib"
+ 	  done
+ 
+-	  if test $link_all_deplibs != no; then
++	  if test "$link_all_deplibs" != no; then
+ 	    # Add the search paths of all dependency libraries
+ 	    for deplib in $dependency_libs; do
+ 	      case $deplib in
+@@ -2007,9 +2551,9 @@
+ 		  ;;
+ 		esac
+ 		if grep "^installed=no" $deplib > /dev/null; then
+-		  path="-L$absdir/$objdir"
++		  path="$absdir/$objdir"
+ 		else
+-		  eval libdir=`sed -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
++		  eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
+ 		  if test -z "$libdir"; then
+ 		    $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2
+ 		    exit 1
+@@ -2017,12 +2561,57 @@
+ 		  if test "$absdir" != "$libdir"; then
+ 		    $echo "$modename: warning: \`$deplib' seems to be moved" 1>&2
+ 		  fi
+-		  path="-L$absdir"
++		  path="$absdir"
+ 		fi
++		depdepl=
++		case $host in
++		*-*-darwin*)
++		  # we do not want to link against static libs, but need to link against shared
++		  eval deplibrary_names=`${SED} -n -e 's/^library_names=\(.*\)$/\1/p' $deplib`
++		  if test -n "$deplibrary_names" ; then
++		    for tmp in $deplibrary_names ; do
++		      depdepl=$tmp
++		    done
++		    if test -f "$path/$depdepl" ; then
++		      depdepl="$path/$depdepl"
++		   fi
++		    # do not add paths which are already there
++		    case " $newlib_search_path " in
++		    *" $path "*) ;;
++		    *) newlib_search_path="$newlib_search_path $path";;
++		    esac
++		    path=""
++		  fi
++		  ;;
++		*)
++		path="-L$path"
++		;;
++		esac 
++		
++		;;
++		  -l*)
++		case $host in
++		*-*-darwin*)
++		 # Again, we only want to link against shared libraries
++		 eval tmp_libs=`$echo "X$deplib" | $Xsed -e "s,^\-l,,"`
++		 for tmp in $newlib_search_path ; do
++		     if test -f "$tmp/lib$tmp_libs.dylib" ; then
++		       eval depdepl="$tmp/lib$tmp_libs.dylib"
++		       break
++		     fi  
++         done
++         path=""
++		  ;;
++		*) continue ;;
++		esac  		  
+ 		;;
+ 	      *) continue ;;
+ 	      esac
+ 	      case " $deplibs " in
++	      *" $depdepl "*) ;;
++	      *) deplibs="$deplibs $depdepl" ;;
++	      esac	      
++	      case " $deplibs " in
+ 	      *" $path "*) ;;
+ 	      *) deplibs="$deplibs $path" ;;
+ 	      esac
+@@ -2030,15 +2619,15 @@
+ 	  fi # link_all_deplibs != no
+ 	fi # linkmode = lib
+       done # for deplib in $libs
+-      if test $pass = dlpreopen; then
++      dependency_libs="$newdependency_libs"
++      if test "$pass" = dlpreopen; then
+ 	# Link the dlpreopened libraries before other libraries
+ 	for deplib in $save_deplibs; do
+ 	  deplibs="$deplib $deplibs"
+ 	done
+       fi
+-      if test $pass != dlopen; then
+-	test $pass != scan && dependency_libs="$newdependency_libs"
+-	if test $pass != conv; then
++      if test "$pass" != dlopen; then
++	if test "$pass" != conv; then
+ 	  # Make sure lib_search_path contains only unique directories.
+ 	  lib_search_path=
+ 	  for dir in $newlib_search_path; do
+@@ -2060,9 +2649,30 @@
+ 	  eval tmp_libs=\"\$$var\"
+ 	  new_libs=
+ 	  for deplib in $tmp_libs; do
++	    # FIXME: Pedantically, this is the right thing to do, so
++	    #        that some nasty dependency loop isn't accidentally
++	    #        broken:
++	    #new_libs="$deplib $new_libs"
++	    # Pragmatically, this seems to cause very few problems in
++	    # practice:
+ 	    case $deplib in
+ 	    -L*) new_libs="$deplib $new_libs" ;;
++	    -R*) ;;
+ 	    *)
++	      # And here is the reason: when a library appears more
++	      # than once as an explicit dependence of a library, or
++	      # is implicitly linked in more than once by the
++	      # compiler, it is considered special, and multiple
++	      # occurrences thereof are not removed.  Compare this
++	      # with having the same library being listed as a
++	      # dependency of multiple other libraries: in this case,
++	      # we know (pedantically, we assume) the library does not
++	      # need to be listed more than once, so we keep only the
++	      # last copy.  This is not always right, but it is rare
++	      # enough that we require users that really mean to play
++	      # such unportable linking tricks to link the library
++	      # using -Wl,-lname, so that libtool does not consider it
++	      # for duplicate removal.
+ 	      case " $specialdeplibs " in
+ 	      *" $deplib "*) new_libs="$deplib $new_libs" ;;
+ 	      *)
+@@ -2090,19 +2700,31 @@
+ 	  eval $var=\"$tmp_libs\"
+ 	done # for var
+       fi
+-      if test "$pass" = "conv" &&
+-       { test "$linkmode" = "lib" || test "$linkmode" = "prog"; }; then
+-	libs="$deplibs" # reset libs
+-	deplibs=
+-      fi
++      # Last step: remove runtime libs from dependency_libs (they stay in deplibs)
++      tmp_libs=
++      for i in $dependency_libs ; do
++	case " $predeps $postdeps $compiler_lib_search_path " in
++	*" $i "*)
++	  i=""
++	  ;;
++	esac
++	if test -n "$i" ; then
++	  tmp_libs="$tmp_libs $i"
++	fi
++      done
++      dependency_libs=$tmp_libs
+     done # for pass
+-    if test $linkmode = prog; then
++    if test "$linkmode" = prog; then
+       dlfiles="$newdlfiles"
+       dlprefiles="$newdlprefiles"
+     fi
+ 
+-    case $linkmode in
+-    oldlib)
++    case $linkmode in
++    oldlib)
++      if test -n "$deplibs"; then
++	$echo "$modename: warning: \`-l' and \`-L' are ignored for archives" 1>&2
++      fi
++
+       if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
+ 	$echo "$modename: warning: \`-dlopen' is ignored for archives" 1>&2
+       fi
+@@ -2116,7 +2738,7 @@
+       fi
+ 
+       if test -n "$vinfo"; then
+-	$echo "$modename: warning: \`-version-info' is ignored for archives" 1>&2
++	$echo "$modename: warning: \`-version-info/-version-number' is ignored for archives" 1>&2
+       fi
+ 
+       if test -n "$release"; then
+@@ -2138,6 +2760,7 @@
+       case $outputname in
+       lib*)
+ 	name=`$echo "X$outputname" | $Xsed -e 's/\.la$//' -e 's/^lib//'`
++	eval shared_ext=\"$shrext\"
+ 	eval libname=\"$libname_spec\"
+ 	;;
+       *)
+@@ -2149,6 +2772,7 @@
+ 	if test "$need_lib_prefix" != no; then
+ 	  # Add the "lib" prefix for modules if required
+ 	  name=`$echo "X$outputname" | $Xsed -e 's/\.la$//'`
++	  eval shared_ext=\"$shrext\"
+ 	  eval libname=\"$libname_spec\"
+ 	else
+ 	  libname=`$echo "X$outputname" | $Xsed -e 's/\.la$//'`
+@@ -2161,9 +2785,9 @@
+ 	  $echo "$modename: cannot build libtool library \`$output' from non-libtool objects on this host:$objs" 2>&1
+ 	  exit 1
+ 	else
+-	  echo
+-	  echo "*** Warning: Linking the shared library $output against the non-libtool"
+-	  echo "*** objects $objs is not portable!"
++	  $echo
++	  $echo "*** Warning: Linking the shared library $output against the non-libtool"
++	  $echo "*** objects $objs is not portable!"
+ 	  libobjs="$libobjs $objs"
+ 	fi
+       fi
+@@ -2173,7 +2797,7 @@
+       fi
+ 
+       set dummy $rpath
+-      if test $# -gt 2; then
++      if test "$#" -gt 2; then
+ 	$echo "$modename: warning: ignoring multiple \`-rpath's for a libtool library" 1>&2
+       fi
+       install_libdir="$2"
+@@ -2182,14 +2806,16 @@
+       if test -z "$rpath"; then
+ 	if test "$build_libtool_libs" = yes; then
+ 	  # Building a libtool convenience library.
+-	  libext=al
++	  # Some compilers have problems with a `.al' extension so
++	  # convenience libraries should have the same extension an
++	  # archive normally would.
+ 	  oldlibs="$output_objdir/$libname.$libext $oldlibs"
+ 	  build_libtool_libs=convenience
+ 	  build_old_libs=yes
+ 	fi
+ 
+ 	if test -n "$vinfo"; then
+-	  $echo "$modename: warning: \`-version-info' is ignored for convenience libraries" 1>&2
++	  $echo "$modename: warning: \`-version-info/-version-number' is ignored for convenience libraries" 1>&2
+ 	fi
+ 
+ 	if test -n "$release"; then
+@@ -2208,9 +2834,46 @@
+ 	  exit 1
+ 	fi
+ 
+-	current="$2"
+-	revision="$3"
+-	age="$4"
++	# convert absolute version numbers to libtool ages
++	# this retains compatibility with .la files and attempts
++	# to make the code below a bit more comprehensible
++	
++	case $vinfo_number in
++	yes)
++	  number_major="$2"
++	  number_minor="$3"
++	  number_revision="$4"
++	  #
++	  # There are really only two kinds -- those that
++	  # use the current revision as the major version
++	  # and those that subtract age and use age as
++	  # a minor version.  But, then there is irix
++	  # which has an extra 1 added just for fun
++	  #
++	  case $version_type in
++	  darwin|linux|osf|windows)
++	    current=`expr $number_major + $number_minor`
++	    age="$number_minor"
++	    revision="$number_revision"
++	    ;;
++	  freebsd-aout|freebsd-elf|sunos)
++	    current="$number_major"
++	    revision="$number_minor"
++	    age="0"
++	    ;;
++	  irix|nonstopux)
++	    current=`expr $number_major + $number_minor - 1`
++	    age="$number_minor"
++	    revision="$number_minor"
++	    ;;
++	  esac
++	  ;;
++	no)
++	  current="$2"
++	  revision="$3"
++	  age="$4"
++	  ;;
++	esac
+ 
+ 	# Check that each of the things are valid numbers.
+ 	case $current in
+@@ -2240,7 +2903,7 @@
+ 	  ;;
+ 	esac
+ 
+-	if test $age -gt $current; then
++	if test "$age" -gt "$current"; then
+ 	  $echo "$modename: AGE \`$age' is greater than the current interface number \`$current'" 1>&2
+ 	  $echo "$modename: \`$vinfo' is not valid version information" 1>&2
+ 	  exit 1
+@@ -2273,16 +2936,21 @@
+ 	  versuffix=".$current";
+ 	  ;;
+ 
+-	irix)
++	irix | nonstopux)
+ 	  major=`expr $current - $age + 1`
+-	  verstring="sgi$major.$revision"
++
++	  case $version_type in
++	    nonstopux) verstring_prefix=nonstopux ;;
++	    *)         verstring_prefix=sgi ;;
++	  esac
++	  verstring="$verstring_prefix$major.$revision"
+ 
+ 	  # Add in all the interfaces that we are compatible with.
+ 	  loop=$revision
+-	  while test $loop != 0; do
++	  while test "$loop" -ne 0; do
+ 	    iface=`expr $revision - $loop`
+ 	    loop=`expr $loop - 1`
+-	    verstring="sgi$major.$iface:$verstring"
++	    verstring="$verstring_prefix$major.$iface:$verstring"
+ 	  done
+ 
+ 	  # Before this point, $major must not contain `.'.
+@@ -2296,13 +2964,13 @@
+ 	  ;;
+ 
+ 	osf)
+-	  major=`expr $current - $age`
++	  major=.`expr $current - $age`
+ 	  versuffix=".$current.$age.$revision"
+ 	  verstring="$current.$age.$revision"
+ 
+ 	  # Add in all the interfaces that we are compatible with.
+ 	  loop=$age
+-	  while test $loop != 0; do
++	  while test "$loop" -ne 0; do
+ 	    iface=`expr $current - $loop`
+ 	    loop=`expr $loop - 1`
+ 	    verstring="$verstring:${iface}.0"
+@@ -2326,7 +2994,7 @@
+ 
+ 	*)
+ 	  $echo "$modename: unknown library version type \`$version_type'" 1>&2
+-	  echo "Fatal configuration error.  See the $PACKAGE docs for more information." 1>&2
++	  $echo "Fatal configuration error.  See the $PACKAGE docs for more information." 1>&2
+ 	  exit 1
+ 	  ;;
+ 	esac
+@@ -2334,12 +3002,11 @@
+ 	# Clear the version info if we defaulted, and they specified a release.
+ 	if test -z "$vinfo" && test -n "$release"; then
+ 	  major=
+-	  verstring="0.0"
+ 	  case $version_type in
+ 	  darwin)
+ 	    # we can't check for "0.0" in archive_cmds due to quoting
+ 	    # problems, so we reset it completely
+-	    verstring=""
++	    verstring=
+ 	    ;;
+ 	  *)
+ 	    verstring="0.0"
+@@ -2373,9 +3040,24 @@
+       fi
+ 
+       if test "$mode" != relink; then
+-	# Remove our outputs.
+-	$show "${rm}r $output_objdir/$outputname $output_objdir/$libname.* $output_objdir/${libname}${release}.*"
+-	$run ${rm}r $output_objdir/$outputname $output_objdir/$libname.* $output_objdir/${libname}${release}.*
++	# Remove our outputs, but don't remove object files since they
++	# may have been created when compiling PIC objects.
++	removelist=
++	tempremovelist=`$echo "$output_objdir/*"`
++	for p in $tempremovelist; do
++	  case $p in
++	    *.$objext)
++	       ;;
++	    $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*)
++	       removelist="$removelist $p"
++	       ;;
++	    *) ;;
++	  esac
++	done
++	if test -n "$removelist"; then
++	  $show "${rm}r $removelist"
++	  $run ${rm}r $removelist
++	fi
+       fi
+ 
+       # Now set the variables for building old libraries.
+@@ -2388,9 +3070,9 @@
+ 
+       # Eliminate all temporary directories.
+       for path in $notinst_path; do
+-	lib_search_path=`echo "$lib_search_path " | sed -e 's% $path % %g'`
+-	deplibs=`echo "$deplibs " | sed -e 's% -L$path % %g'`
+-	dependency_libs=`echo "$dependency_libs " | sed -e 's% -L$path % %g'`
++	lib_search_path=`$echo "$lib_search_path " | ${SED} -e 's% $path % %g'`
++	deplibs=`$echo "$deplibs " | ${SED} -e 's% -L$path % %g'`
++	dependency_libs=`$echo "$dependency_libs " | ${SED} -e 's% -L$path % %g'`
+       done
+ 
+       if test -n "$xrpath"; then
+@@ -2403,7 +3085,7 @@
+ 	  *) finalize_rpath="$finalize_rpath $libdir" ;;
+ 	  esac
+ 	done
+-	if test $hardcode_into_libs != yes || test $build_old_libs = yes; then
++	if test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then
+ 	  dependency_libs="$temp_xrpath $dependency_libs"
+ 	fi
+       fi
+@@ -2441,12 +3123,13 @@
+ 	  *-*-netbsd*)
+ 	    # Don't link with libc until the a.out ld.so is fixed.
+ 	    ;;
+-	  *-*-openbsd*)
++	  *-*-openbsd* | *-*-freebsd*)
+ 	    # Do not include libc due to us having libc/libc_r.
++	    test "X$arg" = "X-lc" && continue
+ 	    ;;
+-	  *)
++ 	  *)
+ 	    # Add libc to deplibs on all other systems if necessary.
+-	    if test $build_libtool_need_lc = "yes"; then
++	    if test "$build_libtool_need_lc" = "yes"; then
+ 	      deplibs="$deplibs -lc"
+ 	    fi
+ 	    ;;
+@@ -2473,7 +3156,7 @@
+ 	  # This might be a little naive.  We might want to check
+ 	  # whether the library exists or not.  But this is on
+ 	  # osf3 & osf4 and I'm not really sure... Just
+-	  # implementing what was already the behaviour.
++	  # implementing what was already the behavior.
+ 	  newdeplibs=$deplibs
+ 	  ;;
+ 	test_compile)
+@@ -2486,64 +3169,88 @@
+ 	  int main() { return 0; }
+ EOF
+ 	  $rm conftest
+-	  $CC -o conftest conftest.c $deplibs
+-	  if test $? -eq 0 ; then
++	  $LTCC -o conftest conftest.c $deplibs
++	  if test "$?" -eq 0 ; then
+ 	    ldd_output=`ldd conftest`
+ 	    for i in $deplibs; do
+ 	      name="`expr $i : '-l\(.*\)'`"
+ 	      # If $name is empty we are operating on a -L argument.
+-	      if test -n "$name" && test "$name" != "0"; then
+-		libname=`eval \\$echo \"$libname_spec\"`
+-		deplib_matches=`eval \\$echo \"$library_names_spec\"`
+-		set dummy $deplib_matches
+-		deplib_match=$2
+-		if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
+-		  newdeplibs="$newdeplibs $i"
+-		else
+-		  droppeddeps=yes
+-		  echo
+-		  echo "*** Warning: This library needs some functionality provided by $i."
+-		  echo "*** I have the capability to make that library automatically link in when"
+-		  echo "*** you link to this library.  But I can only do this if you have a"
+-		  echo "*** shared version of the library, which you do not appear to have."
++              if test "$name" != "" && test "$name" -ne "0"; then
++		if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
++		  case " $predeps $postdeps " in
++		  *" $i "*)
++		    newdeplibs="$newdeplibs $i"
++		    i=""
++		    ;;
++		  esac
++	        fi
++		if test -n "$i" ; then
++		  libname=`eval \\$echo \"$libname_spec\"`
++		  deplib_matches=`eval \\$echo \"$library_names_spec\"`
++		  set dummy $deplib_matches
++		  deplib_match=$2
++		  if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
++		    newdeplibs="$newdeplibs $i"
++		  else
++		    droppeddeps=yes
++		    $echo
++		    $echo "*** Warning: dynamic linker does not accept needed library $i."
++		    $echo "*** I have the capability to make that library automatically link in when"
++		    $echo "*** you link to this library.  But I can only do this if you have a"
++		    $echo "*** shared version of the library, which I believe you do not have"
++		    $echo "*** because a test_compile did reveal that the linker did not use it for"
++		    $echo "*** its dynamic dependency list that programs get resolved with at runtime."
++		  fi
+ 		fi
+ 	      else
+ 		newdeplibs="$newdeplibs $i"
+ 	      fi
+ 	    done
+ 	  else
+-	    # Error occured in the first compile.  Let's try to salvage the situation:
+-	    # Compile a seperate program for each library.
++	    # Error occurred in the first compile.  Let's try to salvage
++	    # the situation: Compile a separate program for each library.
+ 	    for i in $deplibs; do
+ 	      name="`expr $i : '-l\(.*\)'`"
+-	     # If $name is empty we are operating on a -L argument.
+-	      if test -n "$name" && test "$name" != "0"; then
++	      # If $name is empty we are operating on a -L argument.
++              if test "$name" != "" && test "$name" != "0"; then
+ 		$rm conftest
+-		$CC -o conftest conftest.c $i
++		$LTCC -o conftest conftest.c $i
+ 		# Did it work?
+-		if test $? -eq 0 ; then
++		if test "$?" -eq 0 ; then
+ 		  ldd_output=`ldd conftest`
+-		  libname=`eval \\$echo \"$libname_spec\"`
+-		  deplib_matches=`eval \\$echo \"$library_names_spec\"`
+-		  set dummy $deplib_matches
+-		  deplib_match=$2
+-		  if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
+-		    newdeplibs="$newdeplibs $i"
+-		  else
+-		    droppeddeps=yes
+-		    echo
+-		    echo "*** Warning: This library needs some functionality provided by $i."
+-		    echo "*** I have the capability to make that library automatically link in when"
+-		    echo "*** you link to this library.  But I can only do this if you have a"
+-		    echo "*** shared version of the library, which you do not appear to have."
++		  if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
++		    case " $predeps $postdeps " in
++		    *" $i "*)
++		      newdeplibs="$newdeplibs $i"
++		      i=""
++		      ;;
++		    esac
++		  fi
++		  if test -n "$i" ; then
++		    libname=`eval \\$echo \"$libname_spec\"`
++		    deplib_matches=`eval \\$echo \"$library_names_spec\"`
++		    set dummy $deplib_matches
++		    deplib_match=$2
++		    if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
++		      newdeplibs="$newdeplibs $i"
++		    else
++		      droppeddeps=yes
++		      $echo
++		      $echo "*** Warning: dynamic linker does not accept needed library $i."
++		      $echo "*** I have the capability to make that library automatically link in when"
++		      $echo "*** you link to this library.  But I can only do this if you have a"
++		      $echo "*** shared version of the library, which you do not appear to have"
++		      $echo "*** because a test_compile did reveal that the linker did not use this one"
++		      $echo "*** as a dynamic dependency that programs can get resolved with at runtime."
++		    fi
+ 		  fi
+ 		else
+ 		  droppeddeps=yes
+-		  echo
+-		  echo "*** Warning!  Library $i is needed by this library but I was not able to"
+-		  echo "***  make it link in!  You will probably need to install it or some"
+-		  echo "*** library that it depends on before this library will be fully"
+-		  echo "*** functional.  Installing it before continuing would be even better."
++		  $echo
++		  $echo "*** Warning!  Library $i is needed by this library but I was not able to"
++		  $echo "***  make it link in!  You will probably need to install it or some"
++		  $echo "*** library that it depends on before this library will be fully"
++		  $echo "*** functional.  Installing it before continuing would be even better."
+ 		fi
+ 	      else
+ 		newdeplibs="$newdeplibs $i"
+@@ -2557,11 +3264,20 @@
+ 	  for a_deplib in $deplibs; do
+ 	    name="`expr $a_deplib : '-l\(.*\)'`"
+ 	    # If $name is empty we are operating on a -L argument.
+-	    if test -n "$name" && test "$name" != "0"; then
+-	      libname=`eval \\$echo \"$libname_spec\"`
+-	      for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
+-		    potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
+-		    for potent_lib in $potential_libs; do
++            if test "$name" != "" && test  "$name" != "0"; then
++	      if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
++		case " $predeps $postdeps " in
++		*" $a_deplib "*)
++		  newdeplibs="$newdeplibs $a_deplib"
++		  a_deplib=""
++		  ;;
++		esac
++	      fi
++	      if test -n "$a_deplib" ; then
++		libname=`eval \\$echo \"$libname_spec\"`
++		for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
++		  potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
++		  for potent_lib in $potential_libs; do
+ 		      # Follow soft links.
+ 		      if ls -lLd "$potent_lib" 2>/dev/null \
+ 			 | grep " -> " >/dev/null; then
+@@ -2574,28 +3290,36 @@
+ 		      # but so what?
+ 		      potlib="$potent_lib"
+ 		      while test -h "$potlib" 2>/dev/null; do
+-			potliblink=`ls -ld $potlib | sed 's/.* -> //'`
++			potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'`
+ 			case $potliblink in
+ 			[\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";;
+ 			*) potlib=`$echo "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";;
+ 			esac
+ 		      done
+ 		      if eval $file_magic_cmd \"\$potlib\" 2>/dev/null \
+-			 | sed 10q \
+-			 | egrep "$file_magic_regex" > /dev/null; then
++			 | ${SED} 10q \
++			 | $EGREP "$file_magic_regex" > /dev/null; then
+ 			newdeplibs="$newdeplibs $a_deplib"
+ 			a_deplib=""
+ 			break 2
+ 		      fi
+-		    done
+-	      done
++		  done
++		done
++	      fi
+ 	      if test -n "$a_deplib" ; then
+ 		droppeddeps=yes
+-		echo
+-		echo "*** Warning: This library needs some functionality provided by $a_deplib."
+-		echo "*** I have the capability to make that library automatically link in when"
+-		echo "*** you link to this library.  But I can only do this if you have a"
+-		echo "*** shared version of the library, which you do not appear to have."
++		$echo
++		$echo "*** Warning: linker path does not have real file for library $a_deplib."
++		$echo "*** I have the capability to make that library automatically link in when"
++		$echo "*** you link to this library.  But I can only do this if you have a"
++		$echo "*** shared version of the library, which you do not appear to have"
++		$echo "*** because I did check the linker path looking for a file starting"
++		if test -z "$potlib" ; then
++		  $echo "*** with $libname but no candidates were found. (...for file magic test)"
++		else
++		  $echo "*** with $libname and none of the candidates passed a file format test"
++		  $echo "*** using a file magic. Last file checked: $potlib"
++		fi
+ 	      fi
+ 	    else
+ 	      # Add a -L argument.
+@@ -2610,26 +3334,44 @@
+ 	    name="`expr $a_deplib : '-l\(.*\)'`"
+ 	    # If $name is empty we are operating on a -L argument.
+ 	    if test -n "$name" && test "$name" != "0"; then
+-	      libname=`eval \\$echo \"$libname_spec\"`
+-	      for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
+-		potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
+-		for potent_lib in $potential_libs; do
+-		  if eval echo \"$potent_lib\" 2>/dev/null \
+-		      | sed 10q \
+-		      | egrep "$match_pattern_regex" > /dev/null; then
+-		    newdeplibs="$newdeplibs $a_deplib"
+-		    a_deplib=""
+-		    break 2
+-		  fi
++	      if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
++		case " $predeps $postdeps " in
++		*" $a_deplib "*)
++		  newdeplibs="$newdeplibs $a_deplib"
++		  a_deplib=""
++		  ;;
++		esac
++	      fi
++	      if test -n "$a_deplib" ; then
++		libname=`eval \\$echo \"$libname_spec\"`
++		for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
++		  potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
++		  for potent_lib in $potential_libs; do
++		    potlib="$potent_lib" # see symlink-check above in file_magic test
++		    if eval $echo \"$potent_lib\" 2>/dev/null \
++		        | ${SED} 10q \
++		        | $EGREP "$match_pattern_regex" > /dev/null; then
++		      newdeplibs="$newdeplibs $a_deplib"
++		      a_deplib=""
++		      break 2
++		    fi
++		  done
+ 		done
+-	      done
++	      fi
+ 	      if test -n "$a_deplib" ; then
+ 		droppeddeps=yes
+-		echo
+-		echo "*** Warning: This library needs some functionality provided by $a_deplib."
+-		echo "*** I have the capability to make that library automatically link in when"
+-		echo "*** you link to this library.  But I can only do this if you have a"
+-		echo "*** shared version of the library, which you do not appear to have."
++		$echo
++		$echo "*** Warning: linker path does not have real file for library $a_deplib."
++		$echo "*** I have the capability to make that library automatically link in when"
++		$echo "*** you link to this library.  But I can only do this if you have a"
++		$echo "*** shared version of the library, which you do not appear to have"
++		$echo "*** because I did check the linker path looking for a file starting"
++		if test -z "$potlib" ; then
++		  $echo "*** with $libname but no candidates were found. (...for regex pattern test)"
++		else
++		  $echo "*** with $libname and none of the candidates passed a file format test"
++		  $echo "*** using a regex pattern. Last file checked: $potlib"
++		fi
+ 	      fi
+ 	    else
+ 	      # Add a -L argument.
+@@ -2639,16 +3381,23 @@
+ 	  ;;
+ 	none | unknown | *)
+ 	  newdeplibs=""
+-	  if $echo "X $deplibs" | $Xsed -e 's/ -lc$//' \
+-	       -e 's/ -[LR][^ ]*//g' -e 's/[ 	]//g' |
+-	     grep . >/dev/null; then
+-	    echo
++	  tmp_deplibs=`$echo "X $deplibs" | $Xsed -e 's/ -lc$//' \
++	    -e 's/ -[LR][^ ]*//g'`
++	  if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
++	    for i in $predeps $postdeps ; do
++	      # can't use Xsed below, because $i might contain '/'
++	      tmp_deplibs=`$echo "X $tmp_deplibs" | ${SED} -e "1s,^X,," -e "s,$i,,"`
++	    done
++	  fi
++	  if $echo "X $tmp_deplibs" | $Xsed -e 's/[ 	]//g' \
++	    | grep . >/dev/null; then
++	    $echo
+ 	    if test "X$deplibs_check_method" = "Xnone"; then
+-	      echo "*** Warning: inter-library dependencies are not supported in this platform."
++	      $echo "*** Warning: inter-library dependencies are not supported in this platform."
+ 	    else
+-	      echo "*** Warning: inter-library dependencies are not known to be supported."
++	      $echo "*** Warning: inter-library dependencies are not known to be supported."
+ 	    fi
+-	    echo "*** All declared inter-library dependencies are being dropped."
++	    $echo "*** All declared inter-library dependencies are being dropped."
+ 	    droppeddeps=yes
+ 	  fi
+ 	  ;;
+@@ -2668,17 +3417,17 @@
+ 
+ 	if test "$droppeddeps" = yes; then
+ 	  if test "$module" = yes; then
+-	    echo
+-	    echo "*** Warning: libtool could not satisfy all declared inter-library"
+-	    echo "*** dependencies of module $libname.  Therefore, libtool will create"
+-	    echo "*** a static module, that should work as long as the dlopening"
+-	    echo "*** application is linked with the -dlopen flag."
++	    $echo
++	    $echo "*** Warning: libtool could not satisfy all declared inter-library"
++	    $echo "*** dependencies of module $libname.  Therefore, libtool will create"
++	    $echo "*** a static module, that should work as long as the dlopening"
++	    $echo "*** application is linked with the -dlopen flag."
+ 	    if test -z "$global_symbol_pipe"; then
+-	      echo
+-	      echo "*** However, this would only work if libtool was able to extract symbol"
+-	      echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
+-	      echo "*** not find such a program.  So, this module is probably useless."
+-	      echo "*** \`nm' from GNU binutils and a full rebuild may help."
++	      $echo
++	      $echo "*** However, this would only work if libtool was able to extract symbol"
++	      $echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
++	      $echo "*** not find such a program.  So, this module is probably useless."
++	      $echo "*** \`nm' from GNU binutils and a full rebuild may help."
+ 	    fi
+ 	    if test "$build_old_libs" = no; then
+ 	      oldlibs="$output_objdir/$libname.$libext"
+@@ -2688,16 +3437,16 @@
+ 	      build_libtool_libs=no
+ 	    fi
+ 	  else
+-	    echo "*** The inter-library dependencies that have been dropped here will be"
+-	    echo "*** automatically added whenever a program is linked with this library"
+-	    echo "*** or is declared to -dlopen it."
+-
+-	    if test $allow_undefined = no; then
+-	      echo
+-	      echo "*** Since this library must not contain undefined symbols,"
+-	      echo "*** because either the platform does not support them or"
+-	      echo "*** it was explicitly requested with -no-undefined,"
+-	      echo "*** libtool will only create a static version of it."
++	    $echo "*** The inter-library dependencies that have been dropped here will be"
++	    $echo "*** automatically added whenever a program is linked with this library"
++	    $echo "*** or is declared to -dlopen it."
++
++	    if test "$allow_undefined" = no; then
++	      $echo
++	      $echo "*** Since this library must not contain undefined symbols,"
++	      $echo "*** because either the platform does not support them or"
++	      $echo "*** it was explicitly requested with -no-undefined,"
++	      $echo "*** libtool will only create a static version of it."
+ 	      if test "$build_old_libs" = no; then
+ 		oldlibs="$output_objdir/$libname.$libext"
+ 		build_libtool_libs=module
+@@ -2719,7 +3468,7 @@
+ 
+       # Test again, we may have decided not to build it any more
+       if test "$build_libtool_libs" = yes; then
+-	if test $hardcode_into_libs = yes; then
++	if test "$hardcode_into_libs" = yes; then
+ 	  # Hardcode the library paths
+ 	  hardcode_libdirs=
+ 	  dep_rpath=
+@@ -2755,7 +3504,11 @@
+ 	  if test -n "$hardcode_libdir_separator" &&
+ 	     test -n "$hardcode_libdirs"; then
+ 	    libdir="$hardcode_libdirs"
+-	    eval dep_rpath=\"$hardcode_libdir_flag_spec\"
++	    if test -n "$hardcode_libdir_flag_spec_ld"; then
++	      eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\"
++	    else
++	      eval dep_rpath=\"$hardcode_libdir_flag_spec\"
++	    fi
+ 	  fi
+ 	  if test -n "$runpath_var" && test -n "$perm_rpath"; then
+ 	    # We should set the runpath_var.
+@@ -2775,6 +3528,7 @@
+ 	fi
+ 
+ 	# Get the real and link names of the library.
++	eval shared_ext=\"$shrext\"
+ 	eval library_names=\"$library_names_spec\"
+ 	set dummy $library_names
+ 	realname="$2"
+@@ -2785,7 +3539,9 @@
+ 	else
+ 	  soname="$realname"
+ 	fi
+-	test -z "$dlname" && dlname=$soname
++	if test -z "$dlname"; then
++	  dlname=$soname
++	fi
+ 
+ 	lib="$output_objdir/$realname"
+ 	for link
+@@ -2793,23 +3549,6 @@
+ 	  linknames="$linknames $link"
+ 	done
+ 
+-	# Ensure that we have .o objects for linkers which dislike .lo
+-	# (e.g. aix) in case we are running --disable-static
+-	for obj in $libobjs; do
+-	  xdir=`$echo "X$obj" | $Xsed -e 's%/[^/]*$%%'`
+-	  if test "X$xdir" = "X$obj"; then
+-	    xdir="."
+-	  else
+-	    xdir="$xdir"
+-	  fi
+-	  baseobj=`$echo "X$obj" | $Xsed -e 's%^.*/%%'`
+-	  oldobj=`$echo "X$baseobj" | $Xsed -e "$lo2o"`
+-	  if test ! -f $xdir/$oldobj; then
+-	    $show "(cd $xdir && ${LN_S} $baseobj $oldobj)"
+-	    $run eval '(cd $xdir && ${LN_S} $baseobj $oldobj)' || exit $?
+-	  fi
+-	done
+-
+ 	# Use standard objects if they are pic
+ 	test -z "$pic_flag" && libobjs=`$echo "X$libobjs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
+ 
+@@ -2823,13 +3562,21 @@
+ 	    save_ifs="$IFS"; IFS='~'
+ 	    for cmd in $cmds; do
+ 	      IFS="$save_ifs"
+-	      $show "$cmd"
+-	      $run eval "$cmd" || exit $?
++	      if len=`expr "X$cmd" : ".*"` &&
++	       test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
++	        $show "$cmd"
++	        $run eval "$cmd" || exit $?
++	        skipped_export=false
++	      else
++	        # The command line is too long to execute in one step.
++	        $show "using reloadable object file for export list..."
++	        skipped_export=:
++	      fi
+ 	    done
+ 	    IFS="$save_ifs"
+ 	    if test -n "$export_symbols_regex"; then
+-	      $show "egrep -e \"$export_symbols_regex\" \"$export_symbols\" > \"${export_symbols}T\""
+-	      $run eval 'egrep -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"'
++	      $show "$EGREP -e \"$export_symbols_regex\" \"$export_symbols\" > \"${export_symbols}T\""
++	      $run eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"'
+ 	      $show "$mv \"${export_symbols}T\" \"$export_symbols\""
+ 	      $run eval '$mv "${export_symbols}T" "$export_symbols"'
+ 	    fi
+@@ -2840,17 +3587,29 @@
+ 	  $run eval '$echo "X$include_expsyms" | $SP2NL >> "$export_symbols"'
+ 	fi
+ 
++	tmp_deplibs=
++	for test_deplib in $deplibs; do
++		case " $convenience " in
++		*" $test_deplib "*) ;;
++		*) 
++			tmp_deplibs="$tmp_deplibs $test_deplib"
++			;;
++		esac
++	done
++	deplibs="$tmp_deplibs" 
++
+ 	if test -n "$convenience"; then
+ 	  if test -n "$whole_archive_flag_spec"; then
++	    save_libobjs=$libobjs
+ 	    eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
+ 	  else
+ 	    gentop="$output_objdir/${outputname}x"
+ 	    $show "${rm}r $gentop"
+ 	    $run ${rm}r "$gentop"
+-	    $show "mkdir $gentop"
+-	    $run mkdir "$gentop"
++	    $show "$mkdir $gentop"
++	    $run $mkdir "$gentop"
+ 	    status=$?
+-	    if test $status -ne 0 && test ! -d "$gentop"; then
++	    if test "$status" -ne 0 && test ! -d "$gentop"; then
+ 	      exit $status
+ 	    fi
+ 	    generated="$generated $gentop"
+@@ -2866,16 +3625,42 @@
+ 
+ 	      $show "${rm}r $xdir"
+ 	      $run ${rm}r "$xdir"
+-	      $show "mkdir $xdir"
+-	      $run mkdir "$xdir"
++	      $show "$mkdir $xdir"
++	      $run $mkdir "$xdir"
+ 	      status=$?
+-	      if test $status -ne 0 && test ! -d "$xdir"; then
++	      if test "$status" -ne 0 && test ! -d "$xdir"; then
+ 		exit $status
+ 	      fi
++	      # We will extract separately just the conflicting names and we will no
++	      # longer touch any unique names. It is faster to leave these extract
++	      # automatically by $AR in one run.
+ 	      $show "(cd $xdir && $AR x $xabs)"
+ 	      $run eval "(cd \$xdir && $AR x \$xabs)" || exit $?
++	      if ($AR t "$xabs" | sort | sort -uc >/dev/null 2>&1); then
++		:
++	      else
++		$echo "$modename: warning: object name conflicts; renaming object files" 1>&2
++		$echo "$modename: warning: to ensure that they will not overwrite" 1>&2
++		$AR t "$xabs" | sort | uniq -cd | while read -r count name
++		do
++		  i=1
++		  while test "$i" -le "$count"
++		  do
++		   # Put our $i before any first dot (extension)
++		   # Never overwrite any file
++		   name_to="$name"
++		   while test "X$name_to" = "X$name" || test -f "$xdir/$name_to"
++		   do
++		     name_to=`$echo "X$name_to" | $Xsed -e "s/\([^.]*\)/\1-$i/"`
++		   done
++		   $show "(cd $xdir && $AR xN $i $xabs '$name' && $mv '$name' '$name_to')"
++		   $run eval "(cd \$xdir && $AR xN $i \$xabs '$name' && $mv '$name' '$name_to')" || exit $?
++		   i=`expr $i + 1`
++		  done
++		done
++	      fi
+ 
+-	      libobjs="$libobjs "`find $xdir -name \*.o -print -o -name \*.lo -print | $NL2SP`
++	      libobjs="$libobjs "`find $xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP`
+ 	    done
+ 	  fi
+ 	fi
+@@ -2891,10 +3676,130 @@
+ 	fi
+ 
+ 	# Do each of the archive commands.
++	if test "$module" = yes && test -n "$module_cmds" ; then
++	  if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
++	    eval cmds=\"$module_expsym_cmds\"
++	  else
++	    eval cmds=\"$module_cmds\"
++	  fi
++	else
+ 	if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
+ 	  eval cmds=\"$archive_expsym_cmds\"
+ 	else
+ 	  eval cmds=\"$archive_cmds\"
++	  fi
++	fi
++
++	if test "X$skipped_export" != "X:" && len=`expr "X$cmds" : ".*"` &&
++	   test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
++	  :
++	else
++	  # The command line is too long to link in one step, link piecewise.
++	  $echo "creating reloadable object files..."
++
++	  # Save the value of $output and $libobjs because we want to
++	  # use them later.  If we have whole_archive_flag_spec, we
++	  # want to use save_libobjs as it was before
++	  # whole_archive_flag_spec was expanded, because we can't
++	  # assume the linker understands whole_archive_flag_spec.
++	  # This may have to be revisited, in case too many
++	  # convenience libraries get linked in and end up exceeding
++	  # the spec.
++	  if test -z "$convenience" || test -z "$whole_archive_flag_spec"; then
++	    save_libobjs=$libobjs
++	  fi
++	  save_output=$output
++
++	  # Clear the reloadable object creation command queue and
++	  # initialize k to one.
++	  test_cmds=
++	  concat_cmds=
++	  objlist=
++	  delfiles=
++	  last_robj=
++	  k=1
++	  output=$output_objdir/$save_output-${k}.$objext
++	  # Loop over the list of objects to be linked.
++	  for obj in $save_libobjs
++	  do
++	    eval test_cmds=\"$reload_cmds $objlist $last_robj\"
++	    if test "X$objlist" = X ||
++	       { len=`expr "X$test_cmds" : ".*"` &&
++		 test "$len" -le "$max_cmd_len"; }; then
++	      objlist="$objlist $obj"
++	    else
++	      # The command $test_cmds is almost too long, add a
++	      # command to the queue.
++	      if test "$k" -eq 1 ; then
++		# The first file doesn't have a previous command to add.
++		eval concat_cmds=\"$reload_cmds $objlist $last_robj\"
++	      else
++		# All subsequent reloadable object files will link in
++		# the last one created.
++		eval concat_cmds=\"\$concat_cmds~$reload_cmds $objlist $last_robj\"
++	      fi
++	      last_robj=$output_objdir/$save_output-${k}.$objext
++	      k=`expr $k + 1`
++	      output=$output_objdir/$save_output-${k}.$objext
++	      objlist=$obj
++	      len=1
++	    fi
++	  done
++	  # Handle the remaining objects by creating one last
++	  # reloadable object file.  All subsequent reloadable object
++	  # files will link in the last one created.
++	  test -z "$concat_cmds" || concat_cmds=$concat_cmds~
++	  eval concat_cmds=\"\${concat_cmds}$reload_cmds $objlist $last_robj\"
++
++	  if ${skipped_export-false}; then
++	    $show "generating symbol list for \`$libname.la'"
++	    export_symbols="$output_objdir/$libname.exp"
++	    $run $rm $export_symbols
++	    libobjs=$output
++	    # Append the command to create the export file.
++	    eval concat_cmds=\"\$concat_cmds~$export_symbols_cmds\"
++          fi
++
++	  # Set up a command to remove the reloadale object files
++	  # after they are used.
++	  i=0
++	  while test "$i" -lt "$k"
++	  do
++	    i=`expr $i + 1`
++	    delfiles="$delfiles $output_objdir/$save_output-${i}.$objext"
++	  done
++
++	  $echo "creating a temporary reloadable object file: $output"
++
++	  # Loop through the commands generated above and execute them.
++	  save_ifs="$IFS"; IFS='~'
++	  for cmd in $concat_cmds; do
++	    IFS="$save_ifs"
++	    $show "$cmd"
++	    $run eval "$cmd" || exit $?
++	  done
++	  IFS="$save_ifs"
++
++	  libobjs=$output
++	  # Restore the value of output.
++	  output=$save_output
++
++	  if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then
++	    eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
++	  fi
++	  # Expand the library linking commands again to reset the
++	  # value of $libobjs for piecewise linking.
++
++	  # Do each of the archive commands.
++	  if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
++	    eval cmds=\"$archive_expsym_cmds\"
++	  else
++	    eval cmds=\"$archive_cmds\"
++	  fi
++
++	  # Append the command to remove the reloadable object files
++	  # to the just-reset $cmds.
++	  eval cmds=\"\$cmds~$rm $delfiles\"
+ 	fi
+ 	save_ifs="$IFS"; IFS='~'
+ 	for cmd in $cmds; do
+@@ -2986,10 +3891,10 @@
+ 	  gentop="$output_objdir/${obj}x"
+ 	  $show "${rm}r $gentop"
+ 	  $run ${rm}r "$gentop"
+-	  $show "mkdir $gentop"
+-	  $run mkdir "$gentop"
++	  $show "$mkdir $gentop"
++	  $run $mkdir "$gentop"
+ 	  status=$?
+-	  if test $status -ne 0 && test ! -d "$gentop"; then
++	  if test "$status" -ne 0 && test ! -d "$gentop"; then
+ 	    exit $status
+ 	  fi
+ 	  generated="$generated $gentop"
+@@ -3005,16 +3910,42 @@
+ 
+ 	    $show "${rm}r $xdir"
+ 	    $run ${rm}r "$xdir"
+-	    $show "mkdir $xdir"
+-	    $run mkdir "$xdir"
++	    $show "$mkdir $xdir"
++	    $run $mkdir "$xdir"
+ 	    status=$?
+-	    if test $status -ne 0 && test ! -d "$xdir"; then
++	    if test "$status" -ne 0 && test ! -d "$xdir"; then
+ 	      exit $status
+ 	    fi
++	    # We will extract separately just the conflicting names and we will no
++	    # longer touch any unique names. It is faster to leave these extract
++	    # automatically by $AR in one run.
+ 	    $show "(cd $xdir && $AR x $xabs)"
+ 	    $run eval "(cd \$xdir && $AR x \$xabs)" || exit $?
++	    if ($AR t "$xabs" | sort | sort -uc >/dev/null 2>&1); then
++	      :
++	    else
++	      $echo "$modename: warning: object name conflicts; renaming object files" 1>&2
++	      $echo "$modename: warning: to ensure that they will not overwrite" 1>&2
++	      $AR t "$xabs" | sort | uniq -cd | while read -r count name
++	      do
++		i=1
++		while test "$i" -le "$count"
++		do
++		 # Put our $i before any first dot (extension)
++		 # Never overwrite any file
++		 name_to="$name"
++		 while test "X$name_to" = "X$name" || test -f "$xdir/$name_to"
++		 do
++		   name_to=`$echo "X$name_to" | $Xsed -e "s/\([^.]*\)/\1-$i/"`
++		 done
++		 $show "(cd $xdir && $AR xN $i $xabs '$name' && $mv '$name' '$name_to')"
++		 $run eval "(cd \$xdir && $AR xN $i \$xabs '$name' && $mv '$name' '$name_to')" || exit $?
++		 i=`expr $i + 1`
++		done
++	      done
++	    fi
+ 
+-	    reload_conv_objs="$reload_objs "`find $xdir -name \*.o -print -o -name \*.lo -print | $NL2SP`
++	    reload_conv_objs="$reload_objs "`find $xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP`
+ 	  done
+ 	fi
+       fi
+@@ -3050,8 +3981,8 @@
+ 
+ 	# Create an invalid libtool object if no PIC, so that we don't
+ 	# accidentally link it into a program.
+-	$show "echo timestamp > $libobj"
+-	$run eval "echo timestamp > $libobj" || exit $?
++	# $show "echo timestamp > $libobj"
++	# $run eval "echo timestamp > $libobj" || exit $?
+ 	exit 0
+       fi
+ 
+@@ -3067,20 +3998,6 @@
+ 	  $run eval "$cmd" || exit $?
+ 	done
+ 	IFS="$save_ifs"
+-      else
+-	# Just create a symlink.
+-	$show $rm $libobj
+-	$run $rm $libobj
+-	xdir=`$echo "X$libobj" | $Xsed -e 's%/[^/]*$%%'`
+-	if test "X$xdir" = "X$libobj"; then
+-	  xdir="."
+-	else
+-	  xdir="$xdir"
+-	fi
+-	baseobj=`$echo "X$libobj" | $Xsed -e 's%^.*/%%'`
+-	oldobj=`$echo "X$baseobj" | $Xsed -e "$lo2o"`
+-	$show "(cd $xdir && $LN_S $oldobj $baseobj)"
+-	$run eval '(cd $xdir && $LN_S $oldobj $baseobj)' || exit $?
+       fi
+ 
+       if test -n "$gentop"; then
+@@ -3093,7 +4010,7 @@
+ 
+     prog)
+       case $host in
+-	*cygwin*) output=`echo $output | sed -e 's,.exe$,,;s,$,.exe,'` ;;
++	*cygwin*) output=`$echo $output | ${SED} -e 's,.exe$,,;s,$,.exe,'` ;;
+       esac
+       if test -n "$vinfo"; then
+ 	$echo "$modename: warning: \`-version-info' is ignored for programs" 1>&2
+@@ -3118,6 +4035,16 @@
+ 	;;
+       esac
+ 
++      case $host in
++      *darwin*)
++        # Don't allow lazy linking, it breaks C++ global constructors
++        if test "$tagname" = CXX ; then
++        compile_command="$compile_command ${wl}-bind_at_load"
++        finalize_command="$finalize_command ${wl}-bind_at_load"
++        fi
++        ;;
++      esac
++
+       compile_command="$compile_command $compile_deplibs"
+       finalize_command="$finalize_command $finalize_deplibs"
+ 
+@@ -3268,12 +4195,12 @@
+ 	    done
+ 
+ 	    if test -n "$exclude_expsyms"; then
+-	      $run eval 'egrep -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T'
++	      $run eval '$EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T'
+ 	      $run eval '$mv "$nlist"T "$nlist"'
+ 	    fi
+ 
+ 	    if test -n "$export_symbols_regex"; then
+-	      $run eval 'egrep -e "$export_symbols_regex" "$nlist" > "$nlist"T'
++	      $run eval '$EGREP -e "$export_symbols_regex" "$nlist" > "$nlist"T'
+ 	      $run eval '$mv "$nlist"T "$nlist"'
+ 	    fi
+ 
+@@ -3281,9 +4208,9 @@
+ 	    if test -z "$export_symbols"; then
+ 	      export_symbols="$output_objdir/$output.exp"
+ 	      $run $rm $export_symbols
+-	      $run eval "sed -n -e '/^: @PROGRAM@$/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
++	      $run eval "${SED} -n -e '/^: @PROGRAM@$/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
+ 	    else
+-	      $run eval "sed -e 's/\([][.*^$]\)/\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$output.exp"'
++	      $run eval "${SED} -e 's/\([][.*^$]\)/\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$output.exp"'
+ 	      $run eval 'grep -f "$output_objdir/$output.exp" < "$nlist" > "$nlist"T'
+ 	      $run eval 'mv "$nlist"T "$nlist"'
+ 	    fi
+@@ -3291,8 +4218,8 @@
+ 
+ 	  for arg in $dlprefiles; do
+ 	    $show "extracting global C symbols from \`$arg'"
+-	    name=`echo "$arg" | sed -e 's%^.*/%%'`
+-	    $run eval 'echo ": $name " >> "$nlist"'
++	    name=`$echo "$arg" | ${SED} -e 's%^.*/%%'`
++	    $run eval '$echo ": $name " >> "$nlist"'
+ 	    $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'"
+ 	  done
+ 
+@@ -3301,12 +4228,18 @@
+ 	    test -f "$nlist" || : > "$nlist"
+ 
+ 	    if test -n "$exclude_expsyms"; then
+-	      egrep -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T
++	      $EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T
+ 	      $mv "$nlist"T "$nlist"
+ 	    fi
+ 
+ 	    # Try sorting and uniquifying the output.
+-	    if grep -v "^: " < "$nlist" | sort +2 | uniq > "$nlist"S; then
++	    if grep -v "^: " < "$nlist" |
++		if sort -k 3 </dev/null >/dev/null 2>&1; then
++		  sort -k 3
++		else
++		  sort +2
++		fi |
++		uniq > "$nlist"S; then
+ 	      :
+ 	    else
+ 	      grep -v "^: " < "$nlist" > "$nlist"S
+@@ -3315,7 +4248,7 @@
+ 	    if test -f "$nlist"S; then
+ 	      eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$dlsyms"'
+ 	    else
+-	      echo '/* NONE */' >> "$output_objdir/$dlsyms"
++	      $echo '/* NONE */' >> "$output_objdir/$dlsyms"
+ 	    fi
+ 
+ 	    $echo >> "$output_objdir/$dlsyms" "\
+@@ -3367,18 +4300,18 @@
+ 	  *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*)
+ 	    case "$compile_command " in
+ 	    *" -static "*) ;;
+-	    *) pic_flag_for_symtable=" $pic_flag -DPIC -DFREEBSD_WORKAROUND";;
++	    *) pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND";;
+ 	    esac;;
+ 	  *-*-hpux*)
+ 	    case "$compile_command " in
+ 	    *" -static "*) ;;
+-	    *) pic_flag_for_symtable=" $pic_flag -DPIC";;
++	    *) pic_flag_for_symtable=" $pic_flag";;
+ 	    esac
+ 	  esac
+ 
+ 	  # Now compile the dynamic symbol file.
+-	  $show "(cd $output_objdir && $CC -c$no_builtin_flag$pic_flag_for_symtable \"$dlsyms\")"
+-	  $run eval '(cd $output_objdir && $CC -c$no_builtin_flag$pic_flag_for_symtable "$dlsyms")' || exit $?
++	  $show "(cd $output_objdir && $LTCC -c$no_builtin_flag$pic_flag_for_symtable \"$dlsyms\")"
++	  $run eval '(cd $output_objdir && $LTCC -c$no_builtin_flag$pic_flag_for_symtable "$dlsyms")' || exit $?
+ 
+ 	  # Clean up the generated files.
+ 	  $show "$rm $output_objdir/$dlsyms $nlist ${nlist}S ${nlist}T"
+@@ -3403,7 +4336,7 @@
+ 	finalize_command=`$echo "X$finalize_command" | $Xsed -e "s% @SYMFILE@%%"`
+       fi
+ 
+-      if test $need_relink = no || test "$build_libtool_libs" != yes; then
++      if test "$need_relink" = no || test "$build_libtool_libs" != yes; then
+ 	# Replace the output file specification.
+ 	compile_command=`$echo "X$compile_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
+ 	link_command="$compile_command$compile_rpath"
+@@ -3528,7 +4461,7 @@
+ 	    relink_command="$var=\"$var_value\"; export $var; $relink_command"
+ 	  fi
+ 	done
+-	relink_command="cd `pwd`; $relink_command"
++	relink_command="(cd `pwd`; $relink_command)"
+ 	relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"`
+       fi
+ 
+@@ -3548,13 +4481,228 @@
+ 	# win32 will think the script is a binary if it has
+ 	# a .exe suffix, so we strip it off here.
+ 	case $output in
+-	  *.exe) output=`echo $output|sed 's,.exe$,,'` ;;
++	  *.exe) output=`$echo $output|${SED} 's,.exe$,,'` ;;
+ 	esac
+ 	# test for cygwin because mv fails w/o .exe extensions
+ 	case $host in
+-	  *cygwin*) exeext=.exe ;;
++	  *cygwin*)
++	    exeext=.exe
++	    outputname=`$echo $outputname|${SED} 's,.exe$,,'` ;;
+ 	  *) exeext= ;;
+ 	esac
++	case $host in
++	  *cygwin* | *mingw* )
++	    cwrappersource=`$echo ${objdir}/lt-${output}.c`
++	    cwrapper=`$echo ${output}.exe`
++	    $rm $cwrappersource $cwrapper
++	    trap "$rm $cwrappersource $cwrapper; exit 1" 1 2 15
++
++	    cat > $cwrappersource <<EOF
++
++/* $cwrappersource - temporary wrapper executable for $objdir/$outputname
++   Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
++
++   The $output program cannot be directly executed until all the libtool
++   libraries that it depends on are installed.
++   
++   This wrapper executable should never be moved out of the build directory.
++   If it is, it will not operate correctly.
++
++   Currently, it simply execs the wrapper *script* "/bin/sh $output",
++   but could eventually absorb all of the scripts functionality and
++   exec $objdir/$outputname directly.
++*/
++EOF
++	    cat >> $cwrappersource<<"EOF"
++#include <stdio.h>
++#include <stdlib.h>
++#include <unistd.h>
++#include <malloc.h>
++#include <stdarg.h>
++#include <assert.h>
++
++#if defined(PATH_MAX)
++# define LT_PATHMAX PATH_MAX
++#elif defined(MAXPATHLEN)
++# define LT_PATHMAX MAXPATHLEN
++#else
++# define LT_PATHMAX 1024
++#endif
++
++#ifndef DIR_SEPARATOR
++#define DIR_SEPARATOR '/'
++#endif
++
++#if defined (_WIN32) || defined (__MSDOS__) || defined (__DJGPP__) || \
++  defined (__OS2__)
++#define HAVE_DOS_BASED_FILE_SYSTEM
++#ifndef DIR_SEPARATOR_2 
++#define DIR_SEPARATOR_2 '\\'
++#endif
++#endif
++
++#ifndef DIR_SEPARATOR_2
++# define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR)
++#else /* DIR_SEPARATOR_2 */
++# define IS_DIR_SEPARATOR(ch) \
++        (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2))
++#endif /* DIR_SEPARATOR_2 */
++
++#define XMALLOC(type, num)      ((type *) xmalloc ((num) * sizeof(type)))
++#define XFREE(stale) do { \
++  if (stale) { free ((void *) stale); stale = 0; } \
++} while (0)
++
++const char *program_name = NULL;
++
++void * xmalloc (size_t num);
++char * xstrdup (const char *string);
++char * basename (const char *name);
++char * fnqualify(const char *path);
++char * strendzap(char *str, const char *pat);
++void lt_fatal (const char *message, ...);
++
++int
++main (int argc, char *argv[])
++{
++  char **newargz;
++  int i;
++  
++  program_name = (char *) xstrdup ((char *) basename (argv[0]));
++  newargz = XMALLOC(char *, argc+2);
++EOF
++
++	    cat >> $cwrappersource <<EOF
++  newargz[0] = "$SHELL";
++EOF
++
++	    cat >> $cwrappersource <<"EOF"
++  newargz[1] = fnqualify(argv[0]);
++  /* we know the script has the same name, without the .exe */
++  /* so make sure newargz[1] doesn't end in .exe */
++  strendzap(newargz[1],".exe"); 
++  for (i = 1; i < argc; i++)
++    newargz[i+1] = xstrdup(argv[i]);
++  newargz[argc+1] = NULL;
++EOF
++
++	    cat >> $cwrappersource <<EOF
++  execv("$SHELL",newargz);
++EOF
++
++	    cat >> $cwrappersource <<"EOF"
++}
++
++void *
++xmalloc (size_t num)
++{
++  void * p = (void *) malloc (num);
++  if (!p)
++    lt_fatal ("Memory exhausted");
++
++  return p;
++}
++
++char * 
++xstrdup (const char *string)
++{
++  return string ? strcpy ((char *) xmalloc (strlen (string) + 1), string) : NULL
++;
++}
++
++char *
++basename (const char *name)
++{
++  const char *base;
++
++#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
++  /* Skip over the disk name in MSDOS pathnames. */
++  if (isalpha (name[0]) && name[1] == ':') 
++    name += 2;
++#endif
++
++  for (base = name; *name; name++)
++    if (IS_DIR_SEPARATOR (*name))
++      base = name + 1;
++  return (char *) base;
++}
++
++char * 
++fnqualify(const char *path)
++{
++  size_t size;
++  char *p;
++  char tmp[LT_PATHMAX + 1];
++
++  assert(path != NULL);
++
++  /* Is it qualified already? */
++#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
++  if (isalpha (path[0]) && path[1] == ':')
++    return xstrdup (path);
++#endif
++  if (IS_DIR_SEPARATOR (path[0]))
++    return xstrdup (path);
++
++  /* prepend the current directory */
++  /* doesn't handle '~' */
++  if (getcwd (tmp, LT_PATHMAX) == NULL)
++    lt_fatal ("getcwd failed");
++  size = strlen(tmp) + 1 + strlen(path) + 1; /* +2 for '/' and '\0' */
++  p = XMALLOC(char, size);
++  sprintf(p, "%s%c%s", tmp, DIR_SEPARATOR, path);
++  return p;
++}
++
++char *
++strendzap(char *str, const char *pat) 
++{
++  size_t len, patlen;
++
++  assert(str != NULL);
++  assert(pat != NULL);
++
++  len = strlen(str);
++  patlen = strlen(pat);
++
++  if (patlen <= len)
++  {
++    str += len - patlen;
++    if (strcmp(str, pat) == 0)
++      *str = '\0';
++  }
++  return str;
++}
++
++static void
++lt_error_core (int exit_status, const char * mode, 
++          const char * message, va_list ap)
++{
++  fprintf (stderr, "%s: %s: ", program_name, mode);
++  vfprintf (stderr, message, ap);
++  fprintf (stderr, ".\n");
++
++  if (exit_status >= 0)
++    exit (exit_status);
++}
++
++void
++lt_fatal (const char *message, ...)
++{
++  va_list ap;
++  va_start (ap, message);
++  lt_error_core (EXIT_FAILURE, "FATAL", message, ap);
++  va_end (ap);
++}
++EOF
++	  # we should really use a build-platform specific compiler
++	  # here, but OTOH, the wrappers (shell script and this C one)
++	  # are only useful if you want to execute the "real" binary.
++	  # Since the "real" binary is built for $host, then this
++	  # wrapper might as well be built for $host, too.
++	  $run $LTCC -s -o $cwrapper $cwrappersource
++	  ;;
++	esac
+ 	$rm $output
+ 	trap "$rm $output; exit 1" 1 2 15
+ 
+@@ -3572,7 +4720,7 @@
+ 
+ # Sed substitution that helps us do robust quoting.  It backslashifies
+ # metacharacters that are still active within double-quoted strings.
+-Xsed='sed -e 1s/^X//'
++Xsed='${SED} -e 1s/^X//'
+ sed_quote_subst='$sed_quote_subst'
+ 
+ # The HP-UX ksh and POSIX shell print the target directory to stdout
+@@ -3610,7 +4758,7 @@
+   test \"x\$thisdir\" = \"x\$file\" && thisdir=.
+ 
+   # Follow symbolic links until we get to the real thisdir.
+-  file=\`ls -ld \"\$file\" | sed -n 's/.*-> //p'\`
++  file=\`ls -ld \"\$file\" | ${SED} -n 's/.*-> //p'\`
+   while test -n \"\$file\"; do
+     destdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/[^/]*\$%%'\`
+ 
+@@ -3623,7 +4771,7 @@
+     fi
+ 
+     file=\`\$echo \"X\$file\" | \$Xsed -e 's%^.*/%%'\`
+-    file=\`ls -ld \"\$thisdir/\$file\" | sed -n 's/.*-> //p'\`
++    file=\`ls -ld \"\$thisdir/\$file\" | ${SED} -n 's/.*-> //p'\`
+   done
+ 
+   # Try to get the absolute directory name.
+@@ -3632,12 +4780,12 @@
+ "
+ 
+ 	if test "$fast_install" = yes; then
+-	  echo >> $output "\
++	  $echo >> $output "\
+   program=lt-'$outputname'$exeext
+   progdir=\"\$thisdir/$objdir\"
+ 
+   if test ! -f \"\$progdir/\$program\" || \\
+-     { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | sed 1q\`; \\
++     { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\
+        test \"X\$file\" != \"X\$progdir/\$program\"; }; then
+ 
+     file=\"\$\$-\$program\"
+@@ -3648,7 +4796,7 @@
+       $rm \"\$progdir/\$file\"
+     fi"
+ 
+-	  echo >> $output "\
++	  $echo >> $output "\
+ 
+     # relink executable if necessary
+     if test -n \"\$relink_command\"; then
+@@ -3666,13 +4814,13 @@
+     $rm \"\$progdir/\$file\"
+   fi"
+ 	else
+-	  echo >> $output "\
++	  $echo >> $output "\
+   program='$outputname'
+   progdir=\"\$thisdir/$objdir\"
+ "
+ 	fi
+ 
+-	echo >> $output "\
++	$echo >> $output "\
+ 
+   if test -f \"\$progdir/\$program\"; then"
+ 
+@@ -3703,14 +4851,6 @@
+       # Run the actual program with our arguments.
+ "
+ 	case $host in
+-	# win32 systems need to use the prog path for dll
+-	# lookup to work
+-	*-*-cygwin* | *-*-pw32*)
+-	  $echo >> $output "\
+-      exec \$progdir/\$program \${1+\"\$@\"}
+-"
+-	  ;;
+-
+ 	# Backslashes separate directories on plain windows
+ 	*-*-mingw | *-*-os2*)
+ 	  $echo >> $output "\
+@@ -3720,11 +4860,7 @@
+ 
+ 	*)
+ 	  $echo >> $output "\
+-      # Export the path to the program.
+-      PATH=\"\$progdir:\$PATH\"
+-      export PATH
+-
+-      exec \$program \${1+\"\$@\"}
++      exec \$progdir/\$program \${1+\"\$@\"}
+ "
+ 	  ;;
+ 	esac
+@@ -3736,7 +4872,7 @@
+     # The program doesn't exist.
+     \$echo \"\$0: error: \$progdir/\$program does not exist\" 1>&2
+     \$echo \"This script is just a wrapper for \$program.\" 1>&2
+-    echo \"See the $PACKAGE documentation for more information.\" 1>&2
++    $echo \"See the $PACKAGE documentation for more information.\" 1>&2
+     exit 1
+   fi
+ fi\
+@@ -3759,7 +4895,7 @@
+ 	  oldobjs="$libobjs_save"
+ 	  build_libtool_libs=no
+ 	else
+-	  oldobjs="$objs$old_deplibs "`$echo "X$libobjs_save" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e '/\.lib$/d' -e "$lo2o" | $NL2SP`
++	  oldobjs="$old_deplibs $non_pic_objects"
+ 	fi
+ 	addlibs="$old_convenience"
+       fi
+@@ -3768,10 +4904,10 @@
+ 	gentop="$output_objdir/${outputname}x"
+ 	$show "${rm}r $gentop"
+ 	$run ${rm}r "$gentop"
+-	$show "mkdir $gentop"
+-	$run mkdir "$gentop"
++	$show "$mkdir $gentop"
++	$run $mkdir "$gentop"
+ 	status=$?
+-	if test $status -ne 0 && test ! -d "$gentop"; then
++	if test "$status" -ne 0 && test ! -d "$gentop"; then
+ 	  exit $status
+ 	fi
+ 	generated="$generated $gentop"
+@@ -3788,14 +4924,40 @@
+ 
+ 	  $show "${rm}r $xdir"
+ 	  $run ${rm}r "$xdir"
+-	  $show "mkdir $xdir"
+-	  $run mkdir "$xdir"
++	  $show "$mkdir $xdir"
++	  $run $mkdir "$xdir"
+ 	  status=$?
+-	  if test $status -ne 0 && test ! -d "$xdir"; then
++	  if test "$status" -ne 0 && test ! -d "$xdir"; then
+ 	    exit $status
+ 	  fi
++	  # We will extract separately just the conflicting names and we will no
++	  # longer touch any unique names. It is faster to leave these extract
++	  # automatically by $AR in one run.
+ 	  $show "(cd $xdir && $AR x $xabs)"
+ 	  $run eval "(cd \$xdir && $AR x \$xabs)" || exit $?
++	  if ($AR t "$xabs" | sort | sort -uc >/dev/null 2>&1); then
++	    :
++	  else
++	    $echo "$modename: warning: object name conflicts; renaming object files" 1>&2
++	    $echo "$modename: warning: to ensure that they will not overwrite" 1>&2
++	    $AR t "$xabs" | sort | uniq -cd | while read -r count name
++	    do
++	      i=1
++	      while test "$i" -le "$count"
++	      do
++	       # Put our $i before any first dot (extension)
++	       # Never overwrite any file
++	       name_to="$name"
++	       while test "X$name_to" = "X$name" || test -f "$xdir/$name_to"
++	       do
++		 name_to=`$echo "X$name_to" | $Xsed -e "s/\([^.]*\)/\1-$i/"`
++	       done
++	       $show "(cd $xdir && $AR xN $i $xabs '$name' && $mv '$name' '$name_to')"
++	       $run eval "(cd \$xdir && $AR xN $i \$xabs '$name' && $mv '$name' '$name_to')" || exit $?
++	       i=`expr $i + 1`
++	      done
++	    done
++	  fi
+ 
+ 	  oldobjs="$oldobjs "`find $xdir -name \*.${objext} -print -o -name \*.lo -print | $NL2SP`
+ 	done
+@@ -3805,25 +4967,65 @@
+       if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then
+ 	eval cmds=\"$old_archive_from_new_cmds\"
+       else
+-	# Ensure that we have .o objects in place in case we decided
+-	# not to build a shared library, and have fallen back to building
+-	# static libs even though --disable-static was passed!
+-	for oldobj in $oldobjs; do
+-	  if test ! -f $oldobj; then
+-	    xdir=`$echo "X$oldobj" | $Xsed -e 's%/[^/]*$%%'`
+-	    if test "X$xdir" = "X$oldobj"; then
+-	      xdir="."
++	eval cmds=\"$old_archive_cmds\"
++
++	if len=`expr "X$cmds" : ".*"` &&
++	     test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
++	  :
++	else
++	  # the command line is too long to link in one step, link in parts
++	  $echo "using piecewise archive linking..."
++	  save_RANLIB=$RANLIB
++	  RANLIB=:
++	  objlist=
++	  concat_cmds=
++	  save_oldobjs=$oldobjs
++	  # GNU ar 2.10+ was changed to match POSIX; thus no paths are
++	  # encoded into archives.  This makes 'ar r' malfunction in
++	  # this piecewise linking case whenever conflicting object
++	  # names appear in distinct ar calls; check, warn and compensate.
++	    if (for obj in $save_oldobjs
++	    do
++	      $echo "X$obj" | $Xsed -e 's%^.*/%%'
++	    done | sort | sort -uc >/dev/null 2>&1); then
++	    :
++	  else
++	    $echo "$modename: warning: object name conflicts; overriding AR_FLAGS to 'cq'" 1>&2
++	    $echo "$modename: warning: to ensure that POSIX-compatible ar will work" 1>&2
++	    AR_FLAGS=cq
++	  fi
++	  # Is there a better way of finding the last object in the list?
++	  for obj in $save_oldobjs
++	  do
++	    last_oldobj=$obj
++	  done  
++	  for obj in $save_oldobjs
++	  do
++	    oldobjs="$objlist $obj"
++	    objlist="$objlist $obj"
++	    eval test_cmds=\"$old_archive_cmds\"
++	    if len=`expr "X$test_cmds" : ".*"` &&
++	       test "$len" -le "$max_cmd_len"; then
++	      :
+ 	    else
+-	      xdir="$xdir"
++	      # the above command should be used before it gets too long
++	      oldobjs=$objlist
++	      if test "$obj" = "$last_oldobj" ; then
++	        RANLIB=$save_RANLIB
++	      fi  
++	      test -z "$concat_cmds" || concat_cmds=$concat_cmds~
++	      eval concat_cmds=\"\${concat_cmds}$old_archive_cmds\"
++	      objlist=
+ 	    fi
+-	    baseobj=`$echo "X$oldobj" | $Xsed -e 's%^.*/%%'`
+-	    obj=`$echo "X$baseobj" | $Xsed -e "$o2lo"`
+-	    $show "(cd $xdir && ${LN_S} $obj $baseobj)"
+-	    $run eval '(cd $xdir && ${LN_S} $obj $baseobj)' || exit $?
++	  done
++	  RANLIB=$save_RANLIB
++	  oldobjs=$objlist
++	  if test "X$oldobjs" = "X" ; then
++	    eval cmds=\"\$concat_cmds\"
++	  else
++	    eval cmds=\"\$concat_cmds~$old_archive_cmds\"
+ 	  fi
+-	done
+-
+-	eval cmds=\"$old_archive_cmds\"
++	fi
+       fi
+       save_ifs="$IFS"; IFS='~'
+       for cmd in $cmds; do
+@@ -3858,9 +5060,11 @@
+ 	fi
+       done
+       # Quote the link command for shipping.
+-      relink_command="cd `pwd`; $SHELL $0 --mode=relink $libtool_args"
++      relink_command="(cd `pwd`; $SHELL $0 --mode=relink $libtool_args @inst_prefix_dir@)"
+       relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"`
+-
++      if test "$hardcode_automatic" = yes ; then
++        relink_command=
++      fi  
+       # Only create the output if not a dry run.
+       if test -z "$run"; then
+ 	for installed in no yes; do
+@@ -3875,7 +5079,7 @@
+ 	      case $deplib in
+ 	      *.la)
+ 		name=`$echo "X$deplib" | $Xsed -e 's%^.*/%%'`
+-		eval libdir=`sed -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
++		eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
+ 		if test -z "$libdir"; then
+ 		  $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2
+ 		  exit 1
+@@ -3889,7 +5093,7 @@
+ 	    newdlfiles=
+ 	    for lib in $dlfiles; do
+ 	      name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'`
+-	      eval libdir=`sed -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
++	      eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
+ 	      if test -z "$libdir"; then
+ 		$echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
+ 		exit 1
+@@ -3900,7 +5104,7 @@
+ 	    newdlprefiles=
+ 	    for lib in $dlprefiles; do
+ 	      name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'`
+-	      eval libdir=`sed -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
++	      eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
+ 	      if test -z "$libdir"; then
+ 		$echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
+ 		exit 1
+@@ -3908,12 +5112,31 @@
+ 	      newdlprefiles="$newdlprefiles $libdir/$name"
+ 	    done
+ 	    dlprefiles="$newdlprefiles"
++	  else
++	    newdlfiles=
++	    for lib in $dlfiles; do
++	      case $lib in 
++		[\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
++		*) abs=`pwd`"/$lib" ;;
++	      esac
++	      newdlfiles="$newdlfiles $abs"
++	    done
++	    dlfiles="$newdlfiles"
++	    newdlprefiles=
++	    for lib in $dlprefiles; do
++	      case $lib in 
++		[\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
++		*) abs=`pwd`"/$lib" ;;
++	      esac
++	      newdlprefiles="$newdlprefiles $abs"
++	    done
++	    dlprefiles="$newdlprefiles"
+ 	  fi
+ 	  $rm $output
+ 	  # place dlname in correct position for cygwin
+ 	  tdlname=$dlname
+ 	  case $host,$output,$installed,$module,$dlname in
+-	    *cygwin*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;;
++	    *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;;
+ 	  esac
+ 	  $echo > $output "\
+ # $outputname - a libtool library file
+@@ -3942,13 +5165,16 @@
+ # Is this an already installed library?
+ installed=$installed
+ 
++# Should we warn about portability when linking against -modules?
++shouldnotlink=$module
++
+ # Files to dlopen/dlpreopen
+ dlopen='$dlfiles'
+ dlpreopen='$dlprefiles'
+ 
+ # Directory that this library needs to be installed in:
+ libdir='$install_libdir'"
+-	  if test "$installed" = no && test $need_relink = yes; then
++	  if test "$installed" = no && test "$need_relink" = yes; then
+ 	    $echo >> $output "\
+ relink_command=\"$relink_command\""
+ 	  fi
+@@ -4084,7 +5310,7 @@
+ 
+       # Not a directory, so check to see that there is only one file specified.
+       set dummy $files
+-      if test $# -gt 2; then
++      if test "$#" -gt 2; then
+ 	$echo "$modename: \`$dest' is not a directory" 1>&2
+ 	$echo "$help" 1>&2
+ 	exit 1
+@@ -4124,7 +5350,7 @@
+ 
+       *.la)
+ 	# Check to see that this really is a libtool archive.
+-	if (sed -e '2q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
++	if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
+ 	else
+ 	  $echo "$modename: \`$file' is not a valid libtool archive" 1>&2
+ 	  $echo "$help" 1>&2
+@@ -4159,12 +5385,33 @@
+ 	dir="$dir$objdir"
+ 
+ 	if test -n "$relink_command"; then
++	  # Determine the prefix the user has applied to our future dir.
++	  inst_prefix_dir=`$echo "$destdir" | $SED "s%$libdir\$%%"`
++
++	  # Don't allow the user to place us outside of our expected
++	  # location b/c this prevents finding dependent libraries that
++	  # are installed to the same prefix.
++	  # At present, this check doesn't affect windows .dll's that
++	  # are installed into $libdir/../bin (currently, that works fine)
++	  # but it's something to keep an eye on.
++	  if test "$inst_prefix_dir" = "$destdir"; then
++	    $echo "$modename: error: cannot install \`$file' to a directory not ending in $libdir" 1>&2
++	    exit 1
++	  fi
++
++	  if test -n "$inst_prefix_dir"; then
++	    # Stick the inst_prefix_dir data into the link command.
++	    relink_command=`$echo "$relink_command" | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"`
++	  else
++	    relink_command=`$echo "$relink_command" | $SED "s%@inst_prefix_dir@%%"`
++	  fi
++
+ 	  $echo "$modename: warning: relinking \`$file'" 1>&2
+ 	  $show "$relink_command"
+ 	  if $run eval "$relink_command"; then :
+ 	  else
+ 	    $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2
+-	    continue
++	    exit 1
+ 	  fi
+ 	fi
+ 
+@@ -4186,7 +5433,7 @@
+ 	    $run eval "$striplib $destdir/$realname" || exit $?
+ 	  fi
+ 
+-	  if test $# -gt 0; then
++	  if test "$#" -gt 0; then
+ 	    # Delete the old symlinks, and create new ones.
+ 	    for linkname
+ 	    do
+@@ -4272,20 +5519,48 @@
+ 	  destfile="$destdir/$destfile"
+ 	fi
+ 
++	# If the file is missing, and there is a .exe on the end, strip it
++	# because it is most likely a libtool script we actually want to
++	# install
++	stripped_ext=""
++	case $file in
++	  *.exe)
++	    if test ! -f "$file"; then
++	      file=`$echo $file|${SED} 's,.exe$,,'`
++	      stripped_ext=".exe"
++	    fi
++	    ;;
++	esac
++
+ 	# Do a test to see if this is really a libtool program.
+-	if (sed -e '4q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
++	case $host in
++	*cygwin*|*mingw*)
++	    wrapper=`$echo $file | ${SED} -e 's,.exe$,,'`
++	    ;;
++	*)
++	    wrapper=$file
++	    ;;
++	esac
++	if (${SED} -e '4q' $wrapper | grep "^# Generated by .*$PACKAGE")>/dev/null 2>&1; then
+ 	  notinst_deplibs=
+ 	  relink_command=
+ 
++	  # To insure that "foo" is sourced, and not "foo.exe",
++	  # finese the cygwin/MSYS system by explicitly sourcing "foo."
++	  # which disallows the automatic-append-.exe behavior.
++	  case $build in
++	  *cygwin* | *mingw*) wrapperdot=${wrapper}. ;;
++	  *) wrapperdot=${wrapper} ;;
++	  esac
+ 	  # If there is no directory component, then add one.
+ 	  case $file in
+-	  */* | *\\*) . $file ;;
+-	  *) . ./$file ;;
++	  */* | *\\*) . ${wrapperdot} ;;
++	  *) . ./${wrapperdot} ;;
+ 	  esac
+ 
+ 	  # Check the variables that should have been set.
+ 	  if test -z "$notinst_deplibs"; then
+-	    $echo "$modename: invalid libtool wrapper script \`$file'" 1>&2
++	    $echo "$modename: invalid libtool wrapper script \`$wrapper'" 1>&2
+ 	    exit 1
+ 	  fi
+ 
+@@ -4308,10 +5583,17 @@
+ 	  done
+ 
+ 	  relink_command=
++	  # To insure that "foo" is sourced, and not "foo.exe",
++	  # finese the cygwin/MSYS system by explicitly sourcing "foo."
++	  # which disallows the automatic-append-.exe behavior.
++	  case $build in
++	  *cygwin* | *mingw*) wrapperdot=${wrapper}. ;;
++	  *) wrapperdot=${wrapper} ;;
++	  esac
+ 	  # If there is no directory component, then add one.
+ 	  case $file in
+-	  */* | *\\*) . $file ;;
+-	  *) . ./$file ;;
++	  */* | *\\*) . ${wrapperdot} ;;
++	  *) . ./${wrapperdot} ;;
+ 	  esac
+ 
+ 	  outputname=
+@@ -4325,7 +5607,7 @@
+ 		$echo "$modename: error: cannot create temporary directory \`$tmpdir'" 1>&2
+ 		continue
+ 	      fi
+-	      file=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
++	      file=`$echo "X$file$stripped_ext" | $Xsed -e 's%^.*/%%'`
+ 	      outputname="$tmpdir/$file"
+ 	      # Replace the output file specification.
+ 	      relink_command=`$echo "X$relink_command" | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g'`
+@@ -4343,14 +5625,14 @@
+ 	    fi
+ 	  else
+ 	    # Install the binary that we compiled earlier.
+-	    file=`$echo "X$file" | $Xsed -e "s%\([^/]*\)$%$objdir/\1%"`
++	    file=`$echo "X$file$stripped_ext" | $Xsed -e "s%\([^/]*\)$%$objdir/\1%"`
+ 	  fi
+ 	fi
+ 
+ 	# remove .exe since cygwin /usr/bin/install will append another
+ 	# one anyways
+ 	case $install_prog,$host in
+-	/usr/bin/install*,*cygwin*)
++	*/usr/bin/install*,*cygwin*)
+ 	  case $file:$destfile in
+ 	  *.exe:*.exe)
+ 	    # this is ok
+@@ -4359,7 +5641,7 @@
+ 	    destfile=$destfile.exe
+ 	    ;;
+ 	  *:*.exe)
+-	    destfile=`echo $destfile | sed -e 's,.exe$,,'`
++	    destfile=`$echo $destfile | ${SED} -e 's,.exe$,,'`
+ 	    ;;
+ 	  esac
+ 	  ;;
+@@ -4444,42 +5726,42 @@
+     fi
+ 
+     # Exit here if they wanted silent mode.
+-    test "$show" = ":" && exit 0
++    test "$show" = : && exit 0
+ 
+-    echo "----------------------------------------------------------------------"
+-    echo "Libraries have been installed in:"
++    $echo "----------------------------------------------------------------------"
++    $echo "Libraries have been installed in:"
+     for libdir in $libdirs; do
+-      echo "   $libdir"
++      $echo "   $libdir"
+     done
+-    echo
+-    echo "If you ever happen to want to link against installed libraries"
+-    echo "in a given directory, LIBDIR, you must either use libtool, and"
+-    echo "specify the full pathname of the library, or use the \`-LLIBDIR'"
+-    echo "flag during linking and do at least one of the following:"
++    $echo
++    $echo "If you ever happen to want to link against installed libraries"
++    $echo "in a given directory, LIBDIR, you must either use libtool, and"
++    $echo "specify the full pathname of the library, or use the \`-LLIBDIR'"
++    $echo "flag during linking and do at least one of the following:"
+     if test -n "$shlibpath_var"; then
+-      echo "   - add LIBDIR to the \`$shlibpath_var' environment variable"
+-      echo "     during execution"
++      $echo "   - add LIBDIR to the \`$shlibpath_var' environment variable"
++      $echo "     during execution"
+     fi
+     if test -n "$runpath_var"; then
+-      echo "   - add LIBDIR to the \`$runpath_var' environment variable"
+-      echo "     during linking"
++      $echo "   - add LIBDIR to the \`$runpath_var' environment variable"
++      $echo "     during linking"
+     fi
+     if test -n "$hardcode_libdir_flag_spec"; then
+       libdir=LIBDIR
+       eval flag=\"$hardcode_libdir_flag_spec\"
+ 
+-      echo "   - use the \`$flag' linker flag"
++      $echo "   - use the \`$flag' linker flag"
+     fi
+     if test -n "$admincmds"; then
+-      echo "   - have your system administrator run these commands:$admincmds"
++      $echo "   - have your system administrator run these commands:$admincmds"
+     fi
+     if test -f /etc/ld.so.conf; then
+-      echo "   - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
++      $echo "   - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
+     fi
+-    echo
+-    echo "See any operating system documentation about shared libraries for"
+-    echo "more information, such as the ld(1) and ld.so(8) manual pages."
+-    echo "----------------------------------------------------------------------"
++    $echo
++    $echo "See any operating system documentation about shared libraries for"
++    $echo "more information, such as the ld(1) and ld.so(8) manual pages."
++    $echo "----------------------------------------------------------------------"
+     exit 0
+     ;;
+ 
+@@ -4507,7 +5789,7 @@
+       case $file in
+       *.la)
+ 	# Check to see that this really is a libtool archive.
+-	if (sed -e '2q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
++	if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
+ 	else
+ 	  $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
+ 	  $echo "$help" 1>&2
+@@ -4578,7 +5860,7 @@
+       -*) ;;
+       *)
+ 	# Do a test to see if this is really a libtool program.
+-	if (sed -e '4q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
++	if (${SED} -e '4q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
+ 	  # If there is no directory component, then add one.
+ 	  case $file in
+ 	  */* | *\\*) . $file ;;
+@@ -4601,7 +5883,7 @@
+ 	eval "export $shlibpath_var"
+       fi
+ 
+-      # Restore saved enviroment variables
++      # Restore saved environment variables
+       if test "${save_LC_ALL+set}" = set; then
+ 	LC_ALL="$save_LC_ALL"; export LC_ALL
+       fi
+@@ -4610,7 +5892,7 @@
+       fi
+ 
+       # Now prepare to actually exec the command.
+-      exec_cmd='"$cmd"$args'
++      exec_cmd="\$cmd$args"
+     else
+       # Display what would be done.
+       if test -n "$shlibpath_var"; then
+@@ -4651,19 +5933,20 @@
+ 
+     rmdirs=
+ 
++    origobjdir="$objdir"
+     for file in $files; do
+       dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`
+       if test "X$dir" = "X$file"; then
+ 	dir=.
+-	objdir="$objdir"
++	objdir="$origobjdir"
+       else
+-	objdir="$dir/$objdir"
++	objdir="$dir/$origobjdir"
+       fi
+       name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
+-      test $mode = uninstall && objdir="$dir"
++      test "$mode" = uninstall && objdir="$dir"
+ 
+       # Remember objdir for removal later, being careful to avoid duplicates
+-      if test $mode = clean; then
++      if test "$mode" = clean; then
+ 	case " $rmdirs " in
+ 	  *" $objdir "*) ;;
+ 	  *) rmdirs="$rmdirs $objdir" ;;
+@@ -4687,7 +5970,7 @@
+       case $name in
+       *.la)
+ 	# Possibly a libtool archive, so verify it.
+-	if (sed -e '2q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
++	if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
+ 	  . $dir/$name
+ 
+ 	  # Delete the libtool libraries and symlinks.
+@@ -4695,9 +5978,9 @@
+ 	    rmfiles="$rmfiles $objdir/$n"
+ 	  done
+ 	  test -n "$old_library" && rmfiles="$rmfiles $objdir/$old_library"
+-	  test $mode = clean && rmfiles="$rmfiles $objdir/$name $objdir/${name}i"
++	  test "$mode" = clean && rmfiles="$rmfiles $objdir/$name $objdir/${name}i"
+ 
+-	  if test $mode = uninstall; then
++	  if test "$mode" = uninstall; then
+ 	    if test -n "$library_names"; then
+ 	      # Do each command in the postuninstall commands.
+ 	      eval cmds=\"$postuninstall_cmds\"
+@@ -4706,7 +5989,7 @@
+ 		IFS="$save_ifs"
+ 		$show "$cmd"
+ 		$run eval "$cmd"
+-		if test $? != 0 && test "$rmforce" != yes; then
++		if test "$?" -ne 0 && test "$rmforce" != yes; then
+ 		  exit_status=1
+ 		fi
+ 	      done
+@@ -4721,7 +6004,7 @@
+ 		IFS="$save_ifs"
+ 		$show "$cmd"
+ 		$run eval "$cmd"
+-		if test $? != 0 && test "$rmforce" != yes; then
++		if test "$?" -ne 0 && test "$rmforce" != yes; then
+ 		  exit_status=1
+ 		fi
+ 	      done
+@@ -4733,22 +6016,52 @@
+ 	;;
+ 
+       *.lo)
+-	if test "$build_old_libs" = yes; then
+-	  oldobj=`$echo "X$name" | $Xsed -e "$lo2o"`
+-	  rmfiles="$rmfiles $dir/$oldobj"
++	# Possibly a libtool object, so verify it.
++	if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
++
++	  # Read the .lo file
++	  . $dir/$name
++
++	  # Add PIC object to the list of files to remove.
++	  if test -n "$pic_object" \
++	     && test "$pic_object" != none; then
++	    rmfiles="$rmfiles $dir/$pic_object"
++	  fi
++
++	  # Add non-PIC object to the list of files to remove.
++	  if test -n "$non_pic_object" \
++	     && test "$non_pic_object" != none; then
++	    rmfiles="$rmfiles $dir/$non_pic_object"
++	  fi
+ 	fi
+ 	;;
+ 
+       *)
+-	# Do a test to see if this is a libtool program.
+-	if test $mode = clean &&
+-	   (sed -e '4q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
+-	  relink_command=
+-	  . $dir/$file
++	if test "$mode" = clean ; then
++	  noexename=$name
++	  case $file in
++	  *.exe) 
++	    file=`$echo $file|${SED} 's,.exe$,,'`
++	    noexename=`$echo $name|${SED} 's,.exe$,,'`
++	    # $file with .exe has already been added to rmfiles,
++	    # add $file without .exe
++	    rmfiles="$rmfiles $file"
++	    ;;
++	  esac
++	  # Do a test to see if this is a libtool program.
++	  if (${SED} -e '4q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
++	    relink_command=
++	    . $dir/$noexename
+ 
+-	  rmfiles="$rmfiles $objdir/$name $objdir/${name}S.${objext}"
+-	  if test "$fast_install" = yes && test -n "$relink_command"; then
+-	    rmfiles="$rmfiles $objdir/lt-$name"
++	    # note $name still contains .exe if it was in $file originally
++	    # as does the version of $file that was added into $rmfiles
++	    rmfiles="$rmfiles $objdir/$name $objdir/${name}S.${objext}"
++	    if test "$fast_install" = yes && test -n "$relink_command"; then
++	      rmfiles="$rmfiles $objdir/lt-$name"
++	    fi
++	    if test "X$noexename" != "X$name" ; then
++	      rmfiles="$rmfiles $objdir/lt-${noexename}.c"
++	    fi
+ 	  fi
+ 	fi
+ 	;;
+@@ -4756,6 +6069,7 @@
+       $show "$rm $rmfiles"
+       $run $rm $rmfiles || exit_status=1
+     done
++    objdir="$origobjdir"
+ 
+     # Try to remove the ${objdir}s in the directories where we deleted files
+     for dir in $rmdirs; do
+@@ -4803,6 +6117,7 @@
+     --mode=MODE       use operation mode MODE [default=inferred from MODE-ARGS]
+     --quiet           same as \`--silent'
+     --silent          don't print informational messages
++    --tag=TAG         use configuration variables from tag TAG
+     --version         print version information
+ 
+ MODE must be one of the following:
+@@ -4816,7 +6131,9 @@
+       uninstall       remove libraries from an installed directory
+ 
+ MODE-ARGS vary depending on the MODE.  Try \`$modename --help --mode=MODE' for
+-a more detailed description of MODE."
++a more detailed description of MODE.
++
++Report bugs to <bug-libtool@gnu.org>."
+   exit 0
+   ;;
+ 
+@@ -4928,6 +6245,7 @@
+   -no-install       link a not-installable executable
+   -no-undefined     declare that a library does not refer to external symbols
+   -o OUTPUT-FILE    create OUTPUT-FILE from the specified objects
++  -objectlist FILE  Use a list of object files found in FILE to specify objects
+   -release RELEASE  specify package release information
+   -rpath LIBDIR     the created library will eventually be installed in LIBDIR
+   -R[ ]LIBDIR       add LIBDIR to the runtime path of programs and libraries
+@@ -4973,11 +6291,31 @@
+   ;;
+ esac
+ 
+-echo
++$echo
+ $echo "Try \`$modename --help' for more information about other modes."
+ 
+ exit 0
+ 
++# The TAGs below are defined such that we never get into a situation
++# in which we disable both kinds of libraries.  Given conflicting
++# choices, we go for a static library, that is the most portable,
++# since we can't tell whether shared libraries were disabled because
++# the user asked for that or because the platform doesn't support
++# them.  This is particularly important on AIX, because we don't
++# support having both static and shared libraries enabled at the same
++# time on that platform, so we default to a shared-only configuration.
++# If a disable-shared tag is given, we'll fallback to a static-only
++# configuration.  But we'll never go from static-only to shared-only.
++
++# ### BEGIN LIBTOOL TAG CONFIG: disable-shared
++build_libtool_libs=no
++build_old_libs=yes
++# ### END LIBTOOL TAG CONFIG: disable-shared
++
++# ### BEGIN LIBTOOL TAG CONFIG: disable-static
++build_old_libs=`case $build_libtool_libs in yes) $echo no;; *) $echo yes;; esac`
++# ### END LIBTOOL TAG CONFIG: disable-static
++
+ # Local Variables:
+ # mode:shell-script
+ # sh-indentation:2
+diff -ruN heimdal-0.6-old/Makefile.in heimdal-0.6/Makefile.in
+--- heimdal-0.6-old/Makefile.in	2003-05-12 17:27:34.000000000 +0200
++++ heimdal-0.6/Makefile.in	2003-09-15 17:09:43.000000000 +0200
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -72,6 +73,7 @@
+ PATH_SEPARATOR = @PATH_SEPARATOR@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+ AMTAR = @AMTAR@
++AR = @AR@
+ AS = @AS@
+ AWK = @AWK@
+ CANONICAL_HOST = @CANONICAL_HOST@
+@@ -80,16 +82,23 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
++CXX = @CXX@
++CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
++EGREP = @EGREP@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++F77 = @F77@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,7 +118,6 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+@@ -121,6 +129,7 @@
+ OBJDUMP = @OBJDUMP@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
++RC = @RC@
+ STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+@@ -191,6 +200,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -237,6 +255,9 @@
+ 
+ .SUFFIXES:
+ .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c
++
++am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
++ configure.lineno
+ $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ 	cd $(top_srcdir) && \
+ 	  $(AUTOMAKE) --foreign  Makefile
+@@ -372,7 +393,7 @@
+ distdir: $(DISTFILES)
+ 	$(am__remove_distdir)
+ 	mkdir $(distdir)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -486,7 +507,7 @@
+ clean-generic:
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+@@ -496,7 +517,7 @@
+ clean-am: clean-generic clean-libtool mostlyclean-am
+ 
+ distclean: distclean-recursive
+-	-rm -f config.status config.cache config.log
++	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
+ distclean-am: clean-am distclean-generic distclean-libtool \
+ 	distclean-tags
+ 
+@@ -523,7 +544,8 @@
+ installcheck-am:
+ 
+ maintainer-clean: maintainer-clean-recursive
+-
++	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
++	-rm -rf autom4te.cache
+ maintainer-clean-am: distclean-am maintainer-clean-generic
+ 
+ mostlyclean: mostlyclean-recursive
+diff -ruN heimdal-0.6-old/tools/Makefile.in heimdal-0.6/tools/Makefile.in
+--- heimdal-0.6-old/tools/Makefile.in	2003-05-12 17:27:53.000000000 +0200
++++ heimdal-0.6/tools/Makefile.in	2003-09-15 17:10:01.000000000 +0200
+@@ -1,4 +1,4 @@
+-# Makefile.in generated by automake 1.6.1 from Makefile.am.
++# Makefile.in generated by automake 1.6.3 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+@@ -55,6 +55,7 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ install_sh_DATA = $(install_sh) -c -m 644
+ install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+ transform = @program_transform_name@
+@@ -72,6 +73,7 @@
+ PATH_SEPARATOR = @PATH_SEPARATOR@
+ AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
+ AMTAR = @AMTAR@
++AR = @AR@
+ AS = @AS@
+ AWK = @AWK@
+ CANONICAL_HOST = @CANONICAL_HOST@
+@@ -80,16 +82,23 @@
+ CC = @CC@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
++CPPFLAGS_roken = @CPPFLAGS_roken@
++CXX = @CXX@
++CXXCPP = @CXXCPP@
+ DBLIB = @DBLIB@
+ DEPDIR = @DEPDIR@
++DIR_ = @DIR_@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
+ DIR_roken = @DIR_roken@
+ DLLTOOL = @DLLTOOL@
+ ECHO = @ECHO@
++EGREP = @EGREP@
+ EXTRA_LIB45 = @EXTRA_LIB45@
++F77 = @F77@
++GCJ = @GCJ@
++GCJFLAGS = @GCJFLAGS@
+ GROFF = @GROFF@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_ = @INCLUDE_@
+ INCLUDE_des = @INCLUDE_des@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+@@ -109,7 +118,6 @@
+ LIB_des_appl = @LIB_des_appl@
+ LIB_des_so = @LIB_des_so@
+ LIB_kdb = @LIB_kdb@
+-LIB_otp = @LIB_otp@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LN_S = @LN_S@
+@@ -121,6 +129,7 @@
+ OBJDUMP = @OBJDUMP@
+ PACKAGE = @PACKAGE@
+ RANLIB = @RANLIB@
++RC = @RC@
+ STRIP = @STRIP@
+ VERSION = @VERSION@
+ VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
+@@ -191,6 +200,15 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -237,24 +255,23 @@
+ 	  $(AUTOMAKE) --foreign  tools/Makefile
+ Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
+ 	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
++binSCRIPT_INSTALL = $(INSTALL_SCRIPT)
+ install-binSCRIPTS: $(bin_SCRIPTS)
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(bindir)
+ 	@list='$(bin_SCRIPTS)'; for p in $$list; do \
+-	  f="`echo $$p|sed '$(transform)'`"; \
+-	  if test -f $$p; then \
+-	    echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/$$f"; \
+-	    $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/$$f; \
+-	  elif test -f $(srcdir)/$$p; then \
+-	    echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/$$f"; \
+-	    $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/$$f; \
++	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
++	  if test -f $$d$$p; then \
++	    f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
++	    echo " $(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f"; \
++	    $(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f; \
+ 	  else :; fi; \
+ 	done
+ 
+ uninstall-binSCRIPTS:
+ 	@$(NORMAL_UNINSTALL)
+ 	@list='$(bin_SCRIPTS)'; for p in $$list; do \
+-	  f="`echo $$p|sed '$(transform)'`"; \
++	  f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
+ 	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ 	  rm -f $(DESTDIR)$(bindir)/$$f; \
+ 	done
+@@ -284,6 +301,10 @@
+ 	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
+ 	  else file=$$i; fi; \
+ 	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
++	  case "$$ext" in \
++	    1*) ;; \
++	    *) ext='1' ;; \
++	  esac; \
+ 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+@@ -316,7 +337,7 @@
+ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+ 
+ distdir: $(DISTFILES)
+-	@for file in $(DISTFILES); do \
++	@list='$(DISTFILES)'; for file in $$list; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+@@ -367,7 +388,7 @@
+ 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+ 
+ distclean-generic:
+-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
++	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+ 
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
--- heimdal-0.6.3.orig/debian/patches-0.6/031_autotools
+++ heimdal-0.6.3/debian/patches-0.6/031_autotools
@@ -0,0 +1,9 @@
+--- heimdal-0.6/ltmain.sh.orig	Fri May 11 05:34:59 2001
++++ heimdal-0.6/ltmain.sh	Thu May 31 02:14:09 2001
+@@ -1862,6 +1862,7 @@
+ 	    else
+ 	      # We cannot seem to hardcode it, guess we'll fake it.
+ 	      add_dir="-L$libdir"
++	      test -d $ladir/.libs && add_dir="$add_dir -L$ladir/.libs"
+ 	      add="-l$name"
+ 	    fi
--- heimdal-0.6.3.orig/debian/patches-0.6/032_libtool_version_script
+++ heimdal-0.6.3/debian/patches-0.6/032_libtool_version_script
@@ -0,0 +1,463 @@
+diff -urN heimdal-0.6/aclocal.m4 heimdal-0.6.new/aclocal.m4
+--- heimdal-0.6/aclocal.m4	2003-10-12 10:43:58.000000000 -0500
++++ heimdal-0.6.new/aclocal.m4	2003-10-12 01:57:14.000000000 -0500
+@@ -2507,6 +2507,9 @@
+   # before this can be enabled.
+   hardcode_into_libs=yes
+ 
++  # argument to support GNU version scripts
++  version_script_arg='${wl}--version-script=\${libname}.ver'
++
+   # We used to test for /lib/ld.so.1 and disable shared libraries on
+   # powerpc, because MkLinux only supported shared libraries with the
+   # GNU dynamic linker.  Since this was broken with cross compilers,
+@@ -3760,8 +3763,8 @@
+   # Check if GNU C++ uses GNU ld as the underlying linker, since the
+   # archiving commands below assume that GNU ld is being used.
+   if test "$with_gnu_ld" = yes; then
+-    _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
+-    _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++    _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname $version_script_arg -o $lib'
++    _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols $version_script_arg -o $lib'
+ 
+     _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
+     _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
+@@ -4912,7 +4915,7 @@
+     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
+     lt_cv_sys_global_symbol_to_c_name_address \
+     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
+-    old_postinstall_cmds old_postuninstall_cmds \
++    old_postinstall_cmds old_postuninstall_cmds version_script_arg \
+     _LT_AC_TAGVAR(compiler, $1) \
+     _LT_AC_TAGVAR(CC, $1) \
+     _LT_AC_TAGVAR(LD, $1) \
+@@ -5113,6 +5116,9 @@
+ # Object file suffix (normally "o").
+ objext="$ac_objext"
+ 
++# Linker argument to specify a version script (if supported)
++version_script_arg="$version_script_arg"
++
+ # Old archive suffix (normally "a").
+ libext="$libext"
+ 
+@@ -6226,7 +6232,7 @@
+ 
+   linux*)
+     if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
+-        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname $version_script_arg -o $lib'
+ 	_LT_AC_TAGVAR(archive_cmds, $1)="$tmp_archive_cmds"
+       supports_anon_versioning=no
+       case `$LD -v 2>/dev/null` in
+diff -urN heimdal-0.6/configure heimdal-0.6.new/configure
+--- heimdal-0.6/configure	2003-10-12 10:44:00.000000000 -0500
++++ heimdal-0.6.new/configure	2003-10-12 01:58:24.000000000 -0500
+@@ -7518,7 +7518,7 @@
+ 
+   linux*)
+     if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
+-        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname $version_script_arg -o $lib'
+ 	archive_cmds="$tmp_archive_cmds"
+       supports_anon_versioning=no
+       case `$LD -v 2>/dev/null` in
+@@ -8611,6 +8611,9 @@
+   # before this can be enabled.
+   hardcode_into_libs=yes
+ 
++  # argument to support GNU version scripts
++  version_script_arg='${wl}--version-script=\${libname}.ver'
++
+   # We used to test for /lib/ld.so.1 and disable shared libraries on
+   # powerpc, because MkLinux only supported shared libraries with the
+   # GNU dynamic linker.  Since this was broken with cross compilers,
+@@ -9361,7 +9364,7 @@
+   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
+   lt_status=$lt_dlunknown
+   cat > conftest.$ac_ext <<EOF
+-#line 9364 "configure"
++#line 9367 "configure"
+ #include "confdefs.h"
+ 
+ #if HAVE_DLFCN_H
+@@ -9459,7 +9462,7 @@
+   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
+   lt_status=$lt_dlunknown
+   cat > conftest.$ac_ext <<EOF
+-#line 9462 "configure"
++#line 9465 "configure"
+ #include "confdefs.h"
+ 
+ #if HAVE_DLFCN_H
+@@ -9658,7 +9661,7 @@
+     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
+     lt_cv_sys_global_symbol_to_c_name_address \
+     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
+-    old_postinstall_cmds old_postuninstall_cmds \
++    old_postinstall_cmds old_postuninstall_cmds version_script_arg \
+     compiler \
+     CC \
+     LD \
+@@ -9856,6 +9859,9 @@
+ # Object file suffix (normally "o").
+ objext="$ac_objext"
+ 
++# Linker argument to specify a version script (if supported)
++version_script_arg="$version_script_arg"
++
+ # Old archive suffix (normally "a").
+ libext="$libext"
+ 
+@@ -10373,8 +10379,8 @@
+   # Check if GNU C++ uses GNU ld as the underlying linker, since the
+   # archiving commands below assume that GNU ld is being used.
+   if test "$with_gnu_ld" = yes; then
+-    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
+-    archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname $version_script_arg -o $lib'
++    archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols $version_script_arg -o $lib'
+ 
+     hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
+     export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
+@@ -11618,11 +11624,11 @@
+    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
+    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+    -e 's:$: $lt_compiler_flag:'`
+-   (eval echo "\"\$as_me:11621: $lt_compile\"" >&5)
++   (eval echo "\"\$as_me:11627: $lt_compile\"" >&5)
+    (eval "$lt_compile" 2>conftest.err)
+    ac_status=$?
+    cat conftest.err >&5
+-   echo "$as_me:11625: \$? = $ac_status" >&5
++   echo "$as_me:11631: \$? = $ac_status" >&5
+    if (exit $ac_status) && test -s "$ac_outfile"; then
+      # The compiler can only warn and ignore the option if not recognized
+      # So say no if there are warnings
+@@ -11685,11 +11691,11 @@
+    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
+    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+    -e 's:$: $lt_compiler_flag:'`
+-   (eval echo "\"\$as_me:11688: $lt_compile\"" >&5)
++   (eval echo "\"\$as_me:11694: $lt_compile\"" >&5)
+    (eval "$lt_compile" 2>out/conftest.err)
+    ac_status=$?
+    cat out/conftest.err >&5
+-   echo "$as_me:11692: \$? = $ac_status" >&5
++   echo "$as_me:11698: \$? = $ac_status" >&5
+    if (exit $ac_status) && test -s out/conftest2.$ac_objext
+    then
+      # The compiler can only warn and ignore the option if not recognized
+@@ -12192,6 +12198,9 @@
+   # before this can be enabled.
+   hardcode_into_libs=yes
+ 
++  # argument to support GNU version scripts
++  version_script_arg='${wl}--version-script=\${libname}.ver'
++
+   # We used to test for /lib/ld.so.1 and disable shared libraries on
+   # powerpc, because MkLinux only supported shared libraries with the
+   # GNU dynamic linker.  Since this was broken with cross compilers,
+@@ -12942,7 +12951,7 @@
+   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
+   lt_status=$lt_dlunknown
+   cat > conftest.$ac_ext <<EOF
+-#line 12945 "configure"
++#line 12954 "configure"
+ #include "confdefs.h"
+ 
+ #if HAVE_DLFCN_H
+@@ -13040,7 +13049,7 @@
+   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
+   lt_status=$lt_dlunknown
+   cat > conftest.$ac_ext <<EOF
+-#line 13043 "configure"
++#line 13052 "configure"
+ #include "confdefs.h"
+ 
+ #if HAVE_DLFCN_H
+@@ -13165,7 +13174,7 @@
+     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
+     lt_cv_sys_global_symbol_to_c_name_address \
+     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
+-    old_postinstall_cmds old_postuninstall_cmds \
++    old_postinstall_cmds old_postuninstall_cmds version_script_arg \
+     compiler_CXX \
+     CC_CXX \
+     LD_CXX \
+@@ -13315,6 +13324,9 @@
+ # Object file suffix (normally "o").
+ objext="$ac_objext"
+ 
++# Linker argument to specify a version script (if supported)
++version_script_arg="$version_script_arg"
++
+ # Old archive suffix (normally "a").
+ libext="$libext"
+ 
+@@ -13867,11 +13879,11 @@
+    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
+    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+    -e 's:$: $lt_compiler_flag:'`
+-   (eval echo "\"\$as_me:13870: $lt_compile\"" >&5)
++   (eval echo "\"\$as_me:13882: $lt_compile\"" >&5)
+    (eval "$lt_compile" 2>conftest.err)
+    ac_status=$?
+    cat conftest.err >&5
+-   echo "$as_me:13874: \$? = $ac_status" >&5
++   echo "$as_me:13886: \$? = $ac_status" >&5
+    if (exit $ac_status) && test -s "$ac_outfile"; then
+      # The compiler can only warn and ignore the option if not recognized
+      # So say no if there are warnings
+@@ -13934,11 +13946,11 @@
+    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
+    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+    -e 's:$: $lt_compiler_flag:'`
+-   (eval echo "\"\$as_me:13937: $lt_compile\"" >&5)
++   (eval echo "\"\$as_me:13949: $lt_compile\"" >&5)
+    (eval "$lt_compile" 2>out/conftest.err)
+    ac_status=$?
+    cat out/conftest.err >&5
+-   echo "$as_me:13941: \$? = $ac_status" >&5
++   echo "$as_me:13953: \$? = $ac_status" >&5
+    if (exit $ac_status) && test -s out/conftest2.$ac_objext
+    then
+      # The compiler can only warn and ignore the option if not recognized
+@@ -14151,7 +14163,7 @@
+ 
+   linux*)
+     if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
+-        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname $version_script_arg -o $lib'
+ 	archive_cmds_F77="$tmp_archive_cmds"
+       supports_anon_versioning=no
+       case `$LD -v 2>/dev/null` in
+@@ -15222,6 +15234,9 @@
+   # before this can be enabled.
+   hardcode_into_libs=yes
+ 
++  # argument to support GNU version scripts
++  version_script_arg='${wl}--version-script=\${libname}.ver'
++
+   # We used to test for /lib/ld.so.1 and disable shared libraries on
+   # powerpc, because MkLinux only supported shared libraries with the
+   # GNU dynamic linker.  Since this was broken with cross compilers,
+@@ -15476,7 +15491,7 @@
+     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
+     lt_cv_sys_global_symbol_to_c_name_address \
+     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
+-    old_postinstall_cmds old_postuninstall_cmds \
++    old_postinstall_cmds old_postuninstall_cmds version_script_arg \
+     compiler_F77 \
+     CC_F77 \
+     LD_F77 \
+@@ -15626,6 +15641,9 @@
+ # Object file suffix (normally "o").
+ objext="$ac_objext"
+ 
++# Linker argument to specify a version script (if supported)
++version_script_arg="$version_script_arg"
++
+ # Old archive suffix (normally "a").
+ libext="$libext"
+ 
+@@ -15928,11 +15946,11 @@
+    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
+    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+    -e 's:$: $lt_compiler_flag:'`
+-   (eval echo "\"\$as_me:15931: $lt_compile\"" >&5)
++   (eval echo "\"\$as_me:15949: $lt_compile\"" >&5)
+    (eval "$lt_compile" 2>conftest.err)
+    ac_status=$?
+    cat conftest.err >&5
+-   echo "$as_me:15935: \$? = $ac_status" >&5
++   echo "$as_me:15953: \$? = $ac_status" >&5
+    if (exit $ac_status) && test -s "$ac_outfile"; then
+      # The compiler can only warn and ignore the option if not recognized
+      # So say no if there are warnings
+@@ -16161,11 +16179,11 @@
+    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
+    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+    -e 's:$: $lt_compiler_flag:'`
+-   (eval echo "\"\$as_me:16164: $lt_compile\"" >&5)
++   (eval echo "\"\$as_me:16182: $lt_compile\"" >&5)
+    (eval "$lt_compile" 2>conftest.err)
+    ac_status=$?
+    cat conftest.err >&5
+-   echo "$as_me:16168: \$? = $ac_status" >&5
++   echo "$as_me:16186: \$? = $ac_status" >&5
+    if (exit $ac_status) && test -s "$ac_outfile"; then
+      # The compiler can only warn and ignore the option if not recognized
+      # So say no if there are warnings
+@@ -16228,11 +16246,11 @@
+    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
+    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+    -e 's:$: $lt_compiler_flag:'`
+-   (eval echo "\"\$as_me:16231: $lt_compile\"" >&5)
++   (eval echo "\"\$as_me:16249: $lt_compile\"" >&5)
+    (eval "$lt_compile" 2>out/conftest.err)
+    ac_status=$?
+    cat out/conftest.err >&5
+-   echo "$as_me:16235: \$? = $ac_status" >&5
++   echo "$as_me:16253: \$? = $ac_status" >&5
+    if (exit $ac_status) && test -s out/conftest2.$ac_objext
+    then
+      # The compiler can only warn and ignore the option if not recognized
+@@ -16445,7 +16463,7 @@
+ 
+   linux*)
+     if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
+-        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname $version_script_arg -o $lib'
+ 	archive_cmds_GCJ="$tmp_archive_cmds"
+       supports_anon_versioning=no
+       case `$LD -v 2>/dev/null` in
+@@ -17538,6 +17556,9 @@
+   # before this can be enabled.
+   hardcode_into_libs=yes
+ 
++  # argument to support GNU version scripts
++  version_script_arg='${wl}--version-script=\${libname}.ver'
++
+   # We used to test for /lib/ld.so.1 and disable shared libraries on
+   # powerpc, because MkLinux only supported shared libraries with the
+   # GNU dynamic linker.  Since this was broken with cross compilers,
+@@ -18288,7 +18309,7 @@
+   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
+   lt_status=$lt_dlunknown
+   cat > conftest.$ac_ext <<EOF
+-#line 18291 "configure"
++#line 18312 "configure"
+ #include "confdefs.h"
+ 
+ #if HAVE_DLFCN_H
+@@ -18386,7 +18407,7 @@
+   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
+   lt_status=$lt_dlunknown
+   cat > conftest.$ac_ext <<EOF
+-#line 18389 "configure"
++#line 18410 "configure"
+ #include "confdefs.h"
+ 
+ #if HAVE_DLFCN_H
+@@ -18511,7 +18532,7 @@
+     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
+     lt_cv_sys_global_symbol_to_c_name_address \
+     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
+-    old_postinstall_cmds old_postuninstall_cmds \
++    old_postinstall_cmds old_postuninstall_cmds version_script_arg \
+     compiler_GCJ \
+     CC_GCJ \
+     LD_GCJ \
+@@ -18661,6 +18682,9 @@
+ # Object file suffix (normally "o").
+ objext="$ac_objext"
+ 
++# Linker argument to specify a version script (if supported)
++version_script_arg="$version_script_arg"
++
+ # Old archive suffix (normally "a").
+ libext="$libext"
+ 
+@@ -18956,7 +18980,7 @@
+     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
+     lt_cv_sys_global_symbol_to_c_name_address \
+     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
+-    old_postinstall_cmds old_postuninstall_cmds \
++    old_postinstall_cmds old_postuninstall_cmds version_script_arg \
+     compiler_RC \
+     CC_RC \
+     LD_RC \
+@@ -19106,6 +19130,9 @@
+ # Object file suffix (normally "o").
+ objext="$ac_objext"
+ 
++# Linker argument to specify a version script (if supported)
++version_script_arg="$version_script_arg"
++
+ # Old archive suffix (normally "a").
+ libext="$libext"
+ 
+diff -urN heimdal-0.6/lib/krb5/Makefile.am heimdal-0.6.new/lib/krb5/Makefile.am
+--- heimdal-0.6/lib/krb5/Makefile.am	2003-10-12 10:43:57.000000000 -0500
++++ heimdal-0.6.new/lib/krb5/Makefile.am	2003-10-12 01:51:58.000000000 -0500
+@@ -132,7 +132,7 @@
+ 	write_message.c				\
+ 	$(ERR_FILES)
+ 
+-libkrb5_la_LDFLAGS = -version-info 19:0:2
++libkrb5_la_LDFLAGS = -version-info 19:0:2 -symbol-version KRB5_17_HEIMDAL
+ 
+ $(libkrb5_la_OBJECTS): $(srcdir)/krb5-protos.h $(srcdir)/krb5-private.h
+ 
+diff -urN heimdal-0.6/lib/krb5/Makefile.in heimdal-0.6.new/lib/krb5/Makefile.in
+--- heimdal-0.6/lib/krb5/Makefile.in	2003-10-12 10:44:00.000000000 -0500
++++ heimdal-0.6.new/lib/krb5/Makefile.in	2003-10-12 01:51:58.000000000 -0500
+@@ -352,7 +352,7 @@
+ 	$(ERR_FILES)
+ 
+ 
+-libkrb5_la_LDFLAGS = -version-info 19:0:2
++libkrb5_la_LDFLAGS = -version-info 19:0:2 -symbol-version KRB5_17_HEIMDAL
+ 
+ 
+ #libkrb5_la_LIBADD = ../com_err/error.lo ../com_err/com_err.lo
+diff -urN heimdal-0.6/ltmain.sh heimdal-0.6.new/ltmain.sh
+--- heimdal-0.6/ltmain.sh	2003-10-12 10:44:00.000000000 -0500
++++ heimdal-0.6.new/ltmain.sh	2003-10-12 01:51:58.000000000 -0500
+@@ -880,6 +880,7 @@
+     thread_safe=no
+     vinfo=
+     vinfo_number=no
++    symbolversion=
+ 
+     # We need to know -static, to get the right output filenames.
+     for arg
+@@ -1408,6 +1409,11 @@
+ 	continue
+ 	;;
+ 
++      -symbol-version)
++	prev=symbolversion
++	continue
++	;;
++	
+       -Wc,*)
+ 	args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wc,//'`
+ 	arg=
+@@ -3676,6 +3682,13 @@
+ 	  $run eval '(cd $output_objdir && $rm ${realname}U && $mv $realname ${realname}U)' || exit $?
+ 	fi
+ 
++	# Eval so we get the libname.
++	if test -n "$symbolversion"; then
++		eval version_script_arg=\"$version_script_arg\"
++	else
++		version_script_arg=
++	fi
++
+ 	# Do each of the archive commands.
+ 	if test "$module" = yes && test -n "$module_cmds" ; then
+ 	  if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
+@@ -3690,6 +3703,21 @@
+ 	  eval cmds=\"$archive_cmds\"
+ 	  fi
+ 	fi
++	if test -n "$symbolversion"; then
++	  cat > ${libname}.ver <<EOF
++HIDDEN {
++	local:
++		__*;
++		_rest*;
++		_save*;
++};
++
++$symbolversion {
++	global:
++		*;
++};
++EOF
++	fi
+ 
+ 	if test "X$skipped_export" != "X:" && len=`expr "X$cmds" : ".*"` &&
+ 	   test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
--- heimdal-0.6.3.orig/debian/patches-0.6/001_sasl_external
+++ heimdal-0.6.3/debian/patches-0.6/001_sasl_external
@@ -0,0 +1,48 @@
+--- heimdal-0.5.2/lib/hdb/hdb-ldap.c	2002-09-04 13:42:22.000000000 -0500
++++ heimdal-0.6/lib/hdb/hdb-ldap.c	2003-05-26 12:56:46.000000000 -0500
+@@ -32,7 +32,7 @@
+ 
+ #include "hdb_locl.h"
+ 
+-RCSID("$Id: hdb-ldap.c,v 1.10 2002/09/04 18:42:22 joda Exp $");
++RCSID("$Id: hdb-ldap.c,v 1.2 2003/01/21 18:58:28 albertop Exp $");
+ 
+ #ifdef OPENLDAP
+ 
+@@ -953,6 +953,12 @@
+ static krb5_error_code LDAP__connect(krb5_context context, HDB * db)
+ {
+     int rc, version = LDAP_VERSION3;
++    /* Empty credentials to do a SASL bind with LDAP */
++    /* Note that empty different to NULL credentials */
++    /* If you provide NULL credentials instead of empty */
++    /* credentials you will get a SASL bind in progress message! */
++
++    struct berval bv = {0, ""};
+ 
+     if (db->db != NULL) {
+ 	/* connection has been opened. ping server. */
+@@ -986,6 +992,14 @@
+ 	return HDB_ERR_BADVERSION;
+     }
+ 
++    rc = ldap_sasl_bind_s((LDAP *) db->db, NULL, "EXTERNAL", &bv, NULL, NULL, NULL );
++    if (rc != LDAP_SUCCESS) {
++	krb5_set_error_string(context, "ldap_sasl_bind_s: %s", ldap_err2string(rc));
++	ldap_unbind_ext((LDAP *) db->db, NULL, NULL);
++	db->db = NULL;
++	return HDB_ERR_BADVERSION;
++    }
++
+     return 0;
+ }
+ 
+@@ -1104,7 +1118,7 @@
+ 	    ret = asprintf(&dn, "cn=%s,%s", name, db->name);
+ 	} else {
+ 	    /* A bit bogus, but we don't have a search base */
+-	    ret = asprintf(&dn, "cn=%s", name, db->name);
++	    ret = asprintf(&dn, "cn=%s", name);
+ 	}
+ 	if (ret < 0) {
+ 	    krb5_set_error_string(context, "asprintf: out of memory");
--- heimdal-0.6.3.orig/debian/scripts/autotools
+++ heimdal-0.6.3/debian/scripts/autotools
@@ -0,0 +1,31 @@
+#!/bin/sh -e
+# script to automate building of 030_autotools patch file
+
+upstream_version=0.6.3
+
+rm -f debian/patches/030_autotools
+dbs-edit-patch 030_autotools
+
+#fakeroot debian/rules clean
+#debian/rules stampdir/patch
+#cd build-tree
+#cp -a heimdal-$upstream_version heimdal-$upstream_version-old
+
+TMP_DIR="${TMP:-/tmp}"
+cd $TMP_DIR/030_autotools/heimdal-$upstream_version
+
+autoreconf
+#aclocal -I cf
+libtoolize -c -f
+#autoconf
+#autoheader
+automake -a || true
+# configure fails to call libtool properly - manually hack it so it works
+# vim configure
+#rm configure.bak
+cd ..
+
+#diff -ruN heimdal-$upstream_version-old heimdal-$upstream_version > ../debian/patches/030_autotools
+#fakeroot debian/rules clean
+
+sh -x ./dbs-update-patch
--- heimdal-0.6.3.orig/debian/scripts/dbs-build.mk
+++ heimdal-0.6.3/debian/scripts/dbs-build.mk
@@ -0,0 +1,72 @@
+#!/usr/bin/make -f
+# Separate tarball/patch build system by Adam Heath <doogie@debian.org>
+# Modified by Ben Collins <bcollins@debian.org>
+
+SHELL		:= /bin/bash -e
+SOURCE_DIR	:= build-tree
+STAMP_DIR	:= stampdir
+PATCH_DIR	:= debian/patches
+
+patched		:= $(STAMP_DIR)/patch
+
+ifdef TAR_DIR
+  BUILD_TREE	:= $(SOURCE_DIR)/$(TAR_DIR)
+else
+  BUILD_TREE	:= $(SOURCE_DIR)
+endif
+
+setup:
+	dh_testdir
+	up-scripts
+	$(MAKE) -f debian/rules $(STAMP_DIR)/patch
+
+$(STAMP_DIR)/patch: $(STAMP_DIR)/created $(STAMP_DIR)/unpack
+	test -d $(STAMP_DIR)/patches || mkdir -p $(STAMP_DIR)/patches
+	@if [ -d "$(PATCH_DIR)" ]; then \
+	  mkdir -p $(STAMP_DIR)/log/patches; \
+	  for f in `(cd $(PATCH_DIR); find -type f ! -name 'chk-*') | sort | \
+	      sed s,'./',,g`; do \
+	    stampfile=$(STAMP_DIR)/patches/$$f; \
+	    log=$(STAMP_DIR)/log/patches/$$f; \
+	    if [ ! -e $$stampfile ]; then \
+	      echo -n "Applying patch $(PATCH_DIR)/$$f ... "; \
+	      if $(SHELL) debian/scripts/file2cat $(PATCH_DIR)/$$f | \
+		(cd $(BUILD_TREE);patch -p1 --no-backup-if-mismatch) > $$log; then \
+		echo successful.; \
+		touch $$stampfile; \
+	      else \
+		echo "failed! (check $$log for reason)"; \
+		exit 1; \
+	      fi; \
+	    else \
+	      echo Already applied $(PATCH_DIR)/$$f.; \
+	    fi; \
+	  done; \
+	fi
+	touch $@
+
+$(STAMP_DIR)/unpack: $(STAMP_DIR)/created
+	mkdir -p $(STAMP_DIR)/sources $(SOURCE_DIR) $(STAMP_DIR)/log/sources
+	@for f in `find . -type f -maxdepth 1 -name \*.tgz -o -name \*.tar.gz -o \
+		-name \*.tar.bz -o -name \*.tar.bz2 | sort | sed s,'./',,g`; do \
+	  stampfile=$(STAMP_DIR)/sources/`basename $$f`; \
+	  log=$(STAMP_DIR)/log/sources/`basename $$f`; \
+	  if [ ! -e $$stampfile ]; then \
+	    echo -n "Extracting source $$f ... "; \
+	    if $(SHELL) debian/scripts/file2cat $$f | \
+		(cd $(SOURCE_DIR); tar xv) > $$log; then \
+	      echo successful.; \
+	      touch $$stampfile; \
+	    else \
+	      echo failed!; \
+	      exit 1; \
+	    fi; \
+	  else \
+	    echo Already unpacked $$f.; \
+	  fi; \
+	done
+	touch $@
+
+$(STAMP_DIR)/created:
+	test -d $(STAMP_DIR) || mkdir $(STAMP_DIR)
+	touch $(STAMP_DIR)/created
--- heimdal-0.6.3.orig/debian/scripts/dh_split
+++ heimdal-0.6.3/debian/scripts/dh_split
@@ -0,0 +1,71 @@
+#!/usr/bin/perl -w
+
+$control = 'debian/control';
+$dir = 'debian';
+$needclean = 0;
+$needlist = 0;
+$needdeps = 0;
+
+if (@ARGV) {
+    $temp = shift;
+    if ($temp eq "clean") { $needclean = 1; }
+    elsif ($temp eq "makedeps") { $needlist = 1; }
+    elsif ($temp eq "gendeps") { $needdeps = 1; }
+}
+
+@packages = ();
+$first_package = "";
+
+open (CONTROL, "< $control");
+
+while (<CONTROL>) {
+    if (m/^Package:/) {
+	$package = (split)[1];
+	$first_package = $package if $first_package eq "";
+	if ( -f "${dir}/${package}.in" ) {
+	    push @packages, $package;
+	}
+    }
+}
+
+close CONTROL;
+
+while (@packages) {
+    $package = shift(@packages);
+    $inhead = 1;
+    $opened = 0;
+    if ($needdeps) {
+	print "${dir}/${package}.in ";
+	next;
+    }
+    open (IN, "< ${dir}/${package}.in");
+    while (<IN>) {
+	if (m/^\%(.*)\%$/) {
+	    if ($needclean) {
+		if ($package ne $first_package) {
+		    system("rm -f ${dir}/${package}.${1}");
+		} else {
+		    system("rm -f ${dir}/${1}");
+		}
+	    } elsif ($needlist) {
+		if ($package ne $first_package) {
+		    print "${dir}/${package}.${1} ";
+		} else {
+		    print "${dir}/${1} ";
+		}
+	    } else {
+		$inhead = 0;
+		if ($opened) { close OUT; } else { $opened = 1; }
+		if ($package ne $first_package) {
+		    open OUT, "> ${dir}/${package}.${1}";
+		} else {
+		    open OUT, "> ${dir}/${1}";
+		}
+	    }
+	} elsif (!$inhead) {
+	    print OUT $_;
+	}
+    }
+    close OUT;
+    close IN;
+}
--- heimdal-0.6.3.orig/debian/scripts/dpkg-arch.mk
+++ heimdal-0.6.3/debian/scripts/dpkg-arch.mk
@@ -0,0 +1,7 @@
+# see dpkg-architecture(8)
+DEB_BUILD_ARCH		:= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
+DEB_BUILD_GNU_CPU	:= $(shell dpkg-architecture -qDEB_BUILD_GNU_CPU)
+DEB_BUILD_GNU_SYSTEM	:= $(shell dpkg-architecture -qDEB_BUILD_GNU_SYSTEM)
+DEB_BUILD_GNU_TYPE	:= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+DEB_HOST_GNU_SYSTEM	:= $(shell dpkg-architecture -qDEB_HOST_GNU_SYSTEM)
+DEB_HOST_GNU_TYPE	:= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
--- heimdal-0.6.3.orig/debian/scripts/file2cat
+++ heimdal-0.6.3/debian/scripts/file2cat
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+if [ "$1" = "" ]; then
+	echo "Usage: file2cat <file>"
+	exit 1
+fi
+
+case "$1" in
+	*.gz|*.Z|*.tgz)	cmd=zcat;;
+	*.bz|*.bz2)	cmd=bzcat;;
+	*)		cmd=cat;;
+esac
+$cmd $1
--- heimdal-0.6.3.orig/debian/README.Debian
+++ heimdal-0.6.3/debian/README.Debian
@@ -0,0 +1,118 @@
+Note on ksu
+-----------
+This program is not installed setuid root be default. If you want to
+install it setuid root, then you can override the package permissions
+with:
+
+dpkg-statoverride --update --add root root 4755 /usr/bin/ksu
+
+Note on ipropd and/or hpropd
+----------------------------
+The following entries may be required in you /etc/services
+file (see bug #139845):
+
+krb_prop      754/tcp                         # Kerberos slave propagation
+iprop         2121/tcp                        # incremental propagation
+
+Note on kerberos.8 man page
+---------------------------
+This man page is not currently included due to conflict with kerberos4kth-kdc
+package. For more information on Kerberos, see:
+http://www.nrl.navy.mil/CCS/people/kenh/kerberos-faq.html
+
+Installing heimdal for Debian
+-----------------------------
+(Note: if you do not have a krb4 KDC, you may need to include
+"krb4_get_tickets = no" in the [libdefaults] section of
+kdc.conf; otherwise kinit will complain with an error).
+
+Things you will have to do manually (see info documentation for
+details):
+
+On KDC:
+1. Add adminstrator keys using kadmin.
+
+For example:
+# kadmin -l
+kadmin> add bam/admin
+Max ticket life [unlimited]:
+Max renewable life [unlimited]:
+Principal expiration time [never]:
+Password expiration time [never]:
+Attributes []:
+bam/admin@CHOCBIT.ORG.AU's Password:
+Verifying password - bam/admin@CHOCBIT.ORG.AU's Password:
+
+2. Add kadmin/admin key to KDC:
+
+For example:
+# kadmin -l
+kadmin> add -r kadmin/admin@CHOCBIT.ORG.AU
+Max ticket life [unlimited]:
+Max renewable life [unlimited]:
+Principal expiration time [never]:
+Password expiration time [never]:
+Attributes []:
+
+(note: this key doesn't need to be extracted).
+
+3. Enable remote admistration by creating /var/lib/heimdal-kdc/kadmind.acl
+
+For example:
+echo 'bam/admin@CHOCBIT.ORG.AU all' > /var/lib/heimdal-kdc/kadmind.acl
+
+4. Test.
+
+For example:
+# kadmin -p bam/admin
+bam/admin@CHOCBIT.ORG.AU's Password:
+kadmin> list *
+[should list all keys]
+
+5. Add user keys
+
+For example:
+# kadmin -p bam/admin
+bam/admin@CHOCBIT.ORG.AU's Password:
+kadmin> add bam
+
+
+On other computers:
+1. If you installed heimdal-clients-x or heimdal-servers-x,
+then you will need to add the following entry to /etc/services
+kx              2111/tcp                        # X over kerberos
+(check to make sure this doesn't already exist).
+2. edit /etc/krb5.conf
+3. setup secret keys each computer, using kadmin and/or ktutil.
+
+For example, on remote computer dewey.chocbit.org.au:
+bam/admin@CHOCBIT.ORG.AU's Password:
+kadmin> add -r host/dewey.chocbit.org.au
+[...]
+kadmin> ext host/dewey.chocbit.org.au
+kadmin> add -r ftp/dewey.chocbit.org.au
+[...]
+kadmin> ext ftp/dewey.chocbit.org.au
+
+The ext command extracts keys to /etc/krb5.keytab, where
+they can be inspected with the "ktutil list" command at the
+shell prompt.
+
+Tell me if any files conflict with any other package - do not
+try to force the package to install, otherwise things may break...
+In general, this package conflicts with kerberos4kth and
+probably MIT Kerberos (not packaged as of potato). Local
+installations under /usr/local should be OK.
+
+Changes from upstream source:
+1. popper checks for $HOME/Maildir, $HOME/Mailbox and /var/spool/mail/<user>
+in that order.
+2. /var/lib/heimdal-kdc used instead of /var/heimdal
+3. /usr/bin/login moved to /usr/lib/heimdal-servers
+4. /usr/lib/heimdal-servers used instead of /usr/libexec
+5. telnet and ftp have been renamed to ktelnet and kftp, and
+use the update-alternatives mechanism. In the future, this
+should allow heimdal-clients to exist at the same time
+as telnet-ssl.
+
+ -- Brian May <bam@debian.org>, Wed,  8 Dec 1999 11:54:13 +1100
--- heimdal-0.6.3.orig/debian/.cvsignore
+++ heimdal-0.6.3/debian/.cvsignore
@@ -0,0 +1,13 @@
+heimdal-clients
+heimdal-clients-x
+heimdal-servers
+heimdal-servers-x
+heimdal-lib
+heimdal-kdc
+heimdal-dev
+heimdal-docs
+*.debhelper
+*.substvars
+tmp
+files
+substvars
--- heimdal-0.6.3.orig/debian/changelog
+++ heimdal-0.6.3/debian/changelog
@@ -0,0 +1,937 @@
+heimdal (0.6.3-10sarge1) stable-security; urgency=high
+
+  * Non-maintainer upload by the Security Team
+  * Applied upstream patch to fix buffer overflow in telnetd
+    implementation [appl/telnet/telnetd/ext.h,
+    appl/telnet/telnetd/global.c, appl/telnet/telnetd/state.c,
+    appl/telnet/telnetd/telnetd.c, debian/patches/033_CAN-2005-2040]
+
+ -- Martin Schulze <joey@infodrom.org>  Wed,  6 Jul 2005 10:17:15 +0200
+
+heimdal (0.6.3-10) unstable; urgency=low
+
+  * LDAP support (closes: #95246).
+  * Fix buffer overflow security bug in telnet client, CAN-2005-0469,
+    closes: #305574.
+
+ -- Brian May <bam@debian.org>  Mon, 25 Apr 2005 14:48:03 +1000
+
+heimdal (0.6.3-9) unstable; urgency=low
+
+  * Add Japanese debconf translation (closes: #302485)
+  * Updated replaces for heimdal-clients (closes: #303751).
+  * Support update-alternatives with rcp man page (closes: #303753).
+
+ -- Brian May <bam@debian.org>  Sun, 10 Apr 2005 12:47:40 +1000
+
+heimdal (0.6.3-8) unstable; urgency=low
+
+  * Apply patch to build on amd64 (closes: #300811).
+  * Move verify_krb5_conf man page to heimdal-clients (closes: #299905).
+  * Include danish debconf translations (closes: #296987).
+  * Add missing (versioned) comerr-dev to build depends (closes: #293270).
+
+ -- Brian May <bam@debian.org>  Thu, 24 Mar 2005 10:34:46 +1100
+
+heimdal (0.6.3-7) unstable; urgency=low
+
+  * Remove setconfig from built package, the new kdc.conf config broke this
+    script, and the config it changed wasn't used by Heimdal anyway.
+    Closes: #289295.
+  * Add patch from upstream to stop KDC crashing with SIGPIPE error.
+    Closes: #284498.
+
+ -- Brian May <bam@debian.org>  Fri, 14 Jan 2005 15:59:20 +1100
+
+heimdal (0.6.3-6) unstable; urgency=low
+
+  * Make conflict between heimdal-kdc and krb5-admin-server explicit, see
+    #274763 for details.
+  * Supply better example kdc.conf (closes: #210575). I deliberately omitted
+    the database setting as upstream say it isn't currently usable and will
+    change soon. Improvements welcome.
+  * Fix hardcoded paths to work with openafs (closes: #286249).
+
+ -- Brian May <bam@debian.org>  Mon, 20 Dec 2004 10:39:43 +1100
+
+heimdal (0.6.3-5) unstable; urgency=low
+
+  * Add new German debconf translations (closes: #284375).
+  * Set Project-Id-Version, PO-Revision-Date, Last-Translator fields to
+    Swedish and Russian translations from information in BTS.
+  * Remove kerberos.8.gz man page. This hack is to remove the conflict with
+    kerberos4kth which also contains the same file. It doesn't appear worth
+    keeping. See bug #274763 for details on conflict.
+  * Add note concerning above item in README.Debian.
+  * Make conflict between heimdal-kdc and krb5-kdc explicit, see #274763
+    for details.
+
+ -- Brian May <bam@debian.org>  Sun, 12 Dec 2004 15:41:05 +1100
+
+heimdal (0.6.3-4) unstable; urgency=low
+
+  * Adding the attached Brazilian Portuguese templates (closes: #278730).
+  * Fix typo in prerm script (closes: #280354).
+
+ -- Brian May <bam@debian.org>  Tue,  9 Nov 2004 14:09:01 +1100
+
+heimdal (0.6.3-3) unstable; urgency=low
+
+  * Move kerberos.8.gz from heimdal-servers into heimdal-docs package.
+  * Move kadmind.8.gz from heimdal-servers into heimdal-kdc package.
+  * Conflict with pop3-server instead of qpopper (closes: #274774).
+
+ -- Brian May <bam@debian.org>  Mon, 18 Oct 2004 17:12:05 +1000
+
+heimdal (0.6.3-2) unstable; urgency=low
+
+  * Stop all daemons as long as PID file exists, regardless if deamon is
+    enabled or not (closes: #266575).
+  * Add Dutch po-debconf translations (closes: #263597).
+  * Add some cleanups recommended in #95246 to debian/rules.
+    * Remove debian/*.ex files.
+    * Remove debian/control.* files.
+    * Remove debian/ex.doc-base.package.
+    * Remove obsolete libtool hack.
+    * Remove calls to obsolete dh_suidregister program.
+
+ -- Brian May <bam@debian.org>  Sat, 25 Sep 2004 14:59:21 +1000
+
+heimdal (0.6.3-1) unstable; urgency=low
+
+  * New upstream version.
+
+ -- Brian May <bam@debian.org>  Tue, 14 Sep 2004 08:28:11 +1000
+
+heimdal (0.6.2-0.6.3rc3-1) unstable; urgency=low
+
+  * New upstream version.
+  * Fixes security bugs in FTP server.
+
+ -- Brian May <bam@debian.org>  Mon, 13 Sep 2004 16:00:23 +1000
+
+heimdal (0.6.2-6) unstable; urgency=low
+
+  * Update replaces header for heimdal-clients, to allow for push.8.gz
+    moving from heimdal-servers to heimdal-clients (closes: #264979).
+
+ -- Brian May <bam@debian.org>  Thu, 12 Aug 2004 09:02:48 +1000
+
+heimdal (0.6.2-5) unstable; urgency=low
+
+  * Cave in to pressure and remove libdb4.2-dev from depends in
+    heimdal-dev. See bug #253894 for reasons, both for and against.
+
+ -- Brian May <bam@debian.org>  Mon,  2 Aug 2004 17:46:29 +1000
+
+heimdal (0.6.2-4) unstable; urgency=low
+
+  * Add patch 000_afslog to make afslog work (closes: #261065).
+
+ -- Brian May <bam@debian.org>  Sat, 31 Jul 2004 14:56:32 +1000
+
+heimdal (0.6.2-3) unstable; urgency=low
+
+  * Use default realm configured by krb5-config for KDC (closes:
+    #251725).
+  * Move push.8 man page from heimdal-servers to heimdal-clients
+    (push binary is already in heimdal-clients).
+
+ -- Brian May <bam@debian.org>  Mon, 31 May 2004 08:30:54 +1000
+
+heimdal (0.6.2-2) unstable; urgency=low
+
+  * Make build depends on libssl-dev versioned (closes: #249595).
+  * libdb4.2 support (closes: #223055).
+
+ -- Brian May <bam@debian.org>  Sun, 23 May 2004 10:10:04 +1000
+
+heimdal (0.6.2-1) unstable; urgency=low
+
+  * New upstream version.
+    * Fixes possible buffer overflow bug in the krb4 code in kadmin
+      (CAN-2004-0472).
+    * Disables krb4 support by default in kadmin.
+    * Next upstream version will remove krb4 support in kadmin.
+
+ -- Brian May <bam@debian.org>  Tue, 11 May 2004 09:57:12 +1000
+
+heimdal (0.6.1-1) unstable; urgency=low
+
+  * New upstream version:
+    * Fix cross realm trust vulnerability (closes: #241524).
+
+  * The following patches removed as they appear to be in upstream:
+    * patches/001_sasl_external.
+    * patches/010_gcc33.
+    * patches/016_nessus_dos.
+    * patches/023_db4
+
+  * Simplify patches/032_libtool_version_script, remove hunks that only
+    change line numbers (these created rejects).
+
+ -- Brian May <bam@debian.org>  Sun,  4 Apr 2004 10:14:22 +1000
+
+heimdal (0.6-8) unstable; urgency=low
+
+  * Change /etc/defaults/heimdal-kdc to /etc/default/heimdal-kdc in
+    heimdal-kdc init.d script (closes: #236289).
+  * Add french debconf templates (closes: #236891).
+
+ -- Brian May <bam@debian.org>  Thu, 11 Mar 2004 13:07:59 +1100
+
+heimdal (0.6-7) unstable; urgency=low
+
+  * Use new gettext based debconf (closes: #235170).
+
+ -- Brian May <bam@debian.org>  Sat, 28 Feb 2004 13:15:41 +1100
+
+heimdal (0.6-6) unstable; urgency=low
+
+  * Move /etc/defaults/heimdal-kdc to /etc/default/heimdal-kdc (closes:
+    #233824)
+
+ -- Brian May <bam@debian.org>  Wed, 25 Feb 2004 11:09:29 +1100
+
+heimdal (0.6-5) unstable; urgency=low
+
+  * Add sample kadmind.acl on initial installation (closes: #215649)
+  * Split KDC init.d script into /etc/default/heimdal-kdc (closes: #213534).
+  * Add openldap patch from upstream 001_sasl_external (LDAP is not
+    enabled in build though).
+
+ -- Brian May <bam@debian.org>  Wed, 31 Dec 2003 12:41:38 +1100
+
+heimdal (0.6-4) unstable; urgency=low
+
+  * The "Lets fix all these bugs release" (and see what breaks!).
+  * Set standards version to 3.6.1.
+  * Upgrade to DH_COMPAT version 4.
+  * Fix minor errors reported by linda, including:
+    * Remove call to dh_suidregister.
+    * Add versioned dependancy on debhelper (closes: #216290).
+    * Add versioned depends on debconf,
+  * When START_KDC is set, the init.d script should stop kdc; when
+    START_KPASSWDD is set, the init.d script should stop kpasswdd; not the
+    other way around. Closes #214447.
+  * Fix info pages by installing all files, closes #214248.
+  * Add libtool patch to version symbols, thanks Steve Langasek
+    <vorlon@netexpress.net>. Closes: #205592.
+  * Attempt to link against libdb4.1 instead of libdb3 failed, as automake
+    wouldn't stop complaining about lib/roken/Makefile.am (not touched by
+    this patch). Added debian/patch/db4 all the same.
+
+ -- Brian May <bam@snoopy.apana.org.au>  Sat, 13 Dec 2003 11:17:42 +1100
+
+heimdal (0.6-3) unstable; urgency=low
+
+  * Remove heimdal-libs package, I am not sure why I kept it, it isn't really
+    required for upgrades. This solves the (non-)issue with the description
+    (closes: #209552).
+
+  * Fix nessus DOS attack (closes: #197161).
+
+  * Since 0.6-2.2 no longer links with libreadline (closes: #198511).
+
+ -- Brian May <bam@snoopy.apana.org.au>  Sun, 28 Sep 2003 11:06:57 +1000
+
+heimdal (0.6-2.3) unstable; urgency=low
+
+  * NMU with Blessings from Brian May <bam@debian.org>
+
+ -- Mikael Andersson <mikan@debian.org>  Tue, 16 Sep 2003 07:14:03 +0200
+
+heimdal (0.6-2.2) unstable; urgency=low
+
+  * Compile against libedit instead of libreadline4.
+    Added patch 015_editline
+    Recreated 030_autotools (Need $TMP to be set, and add libtoolize)
+    Changed builddependency from libreadline4-dev to libedit-dev
+    Change configure --with-readline in rules
+
+ -- Mikael Andersson <mikan@debian.org>  Mon, 15 Sep 2003 12:31:46 +0200
+
+heimdal (0.6-2.1) unstable; urgency=low
+
+  * Use com_err from comerr-dev.
+  
+  * Removed comerr-dev, ss-dev from Conflicts of heimdal-dev
+
+ -- Mikael Andersson <mikan@debian.org>  Mon, 15 Sep 2003 11:36:49 +0200
+
+heimdal (0.6-2) unstable; urgency=low
+
+  * Remove login man page, it conflicts with the login package.
+
+ -- Brian May <bam@debian.org>  Sat,  6 Sep 2003 12:40:01 +1000
+
+heimdal (0.6-1) unstable; urgency=low
+
+  * New upstream version.
+  * Built for woody.
+
+ -- Brian May <bam@debian.org>  Thu, 28 Aug 2003 15:50:17 +1000
+
+heimdal (0.5.2-5) unstable; urgency=low
+
+  * Update conflicts for heimdal-clients not to conflict with ftp, as it
+    uses update-alternatives since version 0.16-1 (closes: #202701).
+
+ -- Brian May <bam@debian.org>  Wed,  6 Aug 2003 12:15:05 +1000
+
+heimdal (0.5.2-4) unstable; urgency=low
+
+  * Move conflicts libdb3-dev to depends libdb3-dev, really-closes
+    #196157.
+
+ -- Brian May <bam@debian.org>  Sun, 29 Jun 2003 09:32:20 +1000
+
+heimdal (0.5.2-3) unstable; urgency=low
+
+  * Fix FTBFS error with GCC-3.3 by adding debian/patches/010_gcc33
+    (closes: #196406).
+  * heimdal-dev depends on libdb3-dev, closes: #196157.
+
+ -- Brian May <bam@debian.org>  Sat, 28 Jun 2003 15:47:53 +1000
+
+heimdal (0.5.2-2) unstable; urgency=low
+
+  * Make heimdal-kdc daemons configurable. Also fix type in
+    etc/init.d/heimdal-kdc (closes: #186353).
+  * Upstream said kftp -n option was fixed in 0.5.2-1 (closes: #181697).
+
+ -- Brian May <bam@debian.org>  Thu, 27 Mar 2003 12:26:09 +1100
+
+heimdal (0.5.2-1) unstable; urgency=high
+
+  * New upstream version; Fixes krb4 security bug (closes: #185164).
+  * Remove versioned symbols patch, this more important.
+  * Remove debian/patches/016_openssl, hopefully it is no longer required.
+  * Remove debian/patches/018_sasize, hopefully it is no longer required.
+
+ -- Brian May <bam@debian.org>  Tue, 18 Mar 2003 10:57:31 +1100
+
+heimdal (0.5.1-7) unstable; urgency=low
+
+  * Use versioned symbols for all libraries.
+
+ -- Brian May <bam@debian.org>  Mon, 17 Mar 2003 12:50:38 +1100
+
+heimdal (0.5.1-6) unstable; urgency=low
+
+  * Fix credential delegation bug (018_gssapi_forward).
+  * Rename 023_sasize patch to 018_sasize, 02* is for Debian specific
+  changes, not bugs fixes of upstream code, that is for 01*.
+
+ -- Brian May <bam@debian.org>  Fri,  7 Mar 2003 18:47:29 +1100
+
+heimdal (0.5.1-5) unstable; urgency=low
+
+  * Fix error with sa_size not getting initialized properly. See
+  debian/patches/023_sasize.
+
+ -- Brian May <bam@debian.org>  Tue,  4 Mar 2003 19:06:01 +1100
+
+heimdal (0.5.1-4) unstable; urgency=low
+
+  * Rebuild for sid.
+  * 016_openssl patch to work with openssl 0.9.7.
+  * Now builds on sid (closes: #178775).
+  * New build will have correct dependancy on libroken (closes: #177250).
+
+ -- Brian May <bam@debian.org>  Thu, 30 Jan 2003 11:35:44 +1100
+
+heimdal (0.5.1-3) unstable; urgency=low
+
+  * 015_getifaddrs patch fixes segmentation fault.
+  * Remove *.rej file from 014_cache patch.
+
+ -- Brian May <bam@debian.org>  Thu, 16 Jan 2003 13:30:07 +1100
+
+heimdal (0.5.1-2) unstable; urgency=low
+
+  * Move dependancy on krb5-config to heimdal-servers and heimdal-
+    clients (closes: #171868).
+  * Add build depends on libhesiod-dev, it is only small, and
+    all versions of Heimdal need to be built the same.
+  * These changes were in 0.4e-23, but missed in 0.5.1-1.
+
+ -- Brian May <bam@debian.org>  Thu,  9 Jan 2003 16:29:39 +1100
+
+heimdal (0.5.1-1) unstable; urgency=low
+
+  * New upstream version.
+  * Build-depends on kerberos4kth-dev 1.2.1, it includes a new version
+    of libroken.
+  * New major version of libasn1-6-heimdal (was libasn1-5-heimdal).
+
+ -- Brian May <bam@debian.org>  Thu,  9 Jan 2003 14:34:54 +1100
+
+heimdal (0.5-1) unstable; urgency=low
+
+  * New upstream version.
+
+ -- Brian May <bam@snoopy.apana.org.au>  Sun, 29 Sep 2002 10:06:28 +1000
+
+heimdal (0.4e-20) unstable; urgency=low
+
+  * Add missing depends of kerberos4kth-dev to heimdal-dev (closes:
+    160669).
+  * Add description of changes required to /etc/services to get hprop
+    and/or iprop to work (closes: 139845).
+  * Add sample inetd entry for hprop and sample code in init.d script
+    for iprop (closes: #139851).
+
+ -- Brian May <bam@snoopy.apana.org.au>  Fri, 13 Sep 2002 13:34:04 +1000
+
+heimdal (0.4e-19) unstable; urgency=low
+
+  * Apply patch to fix time sync problem (closes: #155816).
+
+ -- Brian May <bam@snoopy.apana.org.au>  Tue, 20 Aug 2002 13:04:51 +1000
+
+heimdal (0.4e-18) unstable; urgency=low
+
+  * Apply patches from Mikael Andersson to fix FTP bug, closes: 150967.
+
+ -- Brian May <bam@snoopy.apana.org.au>  Thu, 15 Aug 2002 10:05:46 +1000
+
+heimdal (0.4e-17) unstable; urgency=low
+
+  * Use Maintainer Mode for automake.
+  * Include krb5.conf.5heimdal man page (closes: #150293).
+
+ -- Brian May <bam@snoopy.apana.org.au>  Tue,  6 Aug 2002 10:30:07 +1000
+
+heimdal (0.4e-16) unstable; urgency=low
+
+  * Fix heap overflow bug in ftp client that allows remote code
+    execution by malicious ftp server.
+  * Don't delete libkafs.so
+
+ -- Brian May <bam@snoopy.apana.org.au>  Thu, 30 May 2002 09:33:21 +1000
+
+heimdal (0.4e-15) unstable; urgency=low
+
+  * Attempt to use libraries from kerberos4kth.
+
+ -- Brian May <bam@snoopy.apana.org.au>  Mon, 22 Apr 2002 18:03:13 +1000
+
+heimdal (0.4e-14) unstable; urgency=low
+
+  * Attempt to recompile with krb4 support. Closes: #143273.
+    For some reason this was marked as grave, even though the
+    rest of Heimdal functioned OK.
+  * Reopens bug: cyclic dependancies exist between Heimdal and
+    Kerberos4kth. This really needs to get fixed.
+  * Attempt to fix this in debian/patches-0.4e-trial (still needs
+    further work), but this failed as autoconf in Debian doesn't like
+    autoconf files used in Heimdal.
+
+ -- Brian May <bam@snoopy.apana.org.au>  Sat, 20 Apr 2002 15:12:57 +1000
+
+heimdal (0.4e-13) unstable; urgency=low
+
+  * Move push to heimdal-clients (closes: #142331).
+  * The 'but I am sure I removed the build depends for kerberos4kth'
+    release. Closes: #142491
+  * Also get rid of libkafs0, as including an empty libkafs0 could be
+    confusing. closes: #142411
+
+ -- Brian May <bam@snoopy.apana.org.au>  Fri, 12 Apr 2002 18:44:34 +1000
+
+heimdal (0.4e-12) unstable; urgency=low
+
+  * Remove krb4 support, and remove build depends loop.
+
+ -- Brian May <bam@snoopy.apana.org.au>  Wed, 10 Apr 2002 08:29:52 +1000
+
+heimdal (0.4e-11) unstable; urgency=low
+
+  * Move to main.
+  * Attempt to get priorities correct.
+
+ -- Brian May <bam@snoopy.apana.org.au>  Wed,  3 Apr 2002 09:12:15 +1000
+
+heimdal (0.4e-10) unstable; urgency=low
+
+  * Change build depends from libssl096-dev to libssl-dev, closes:
+    #140690.
+  * Some dependancies are still in non-us, so this can't go in
+    main yet. Examples: krb5-config and kerberos4kth.
+
+ -- Brian May <bam@snoopy.apana.org.au>  Mon,  1 Apr 2002 10:39:31 +1000
+
+heimdal (0.4e-9) unstable; urgency=low
+
+  * Use /bin/login instead of /usr/sbin/login (which doesn't exist),
+    closes #139250. /bin/login is better then the login provided with
+    Heimdal, as it provides support for PAM.
+
+ -- Brian May <bam@snoopy.apana.org.au>  Thu, 21 Mar 2002 16:19:28 +1100
+
+heimdal (0.4e-8) unstable; urgency=low
+
+  * heimdal-servers: add conflicts qpopper (closes: #137208).
+  * Add russian debconf template (closes: #137657). I hope the character
+    encoding comes up Ok...
+  * Added note in README.Debian on making ksu setuid root (closes: #84468).
+
+ -- Brian May <bam@snoopy.apana.org.au>  Thu, 14 Mar 2002 11:35:15 +1100
+
+heimdal (0.4e-7) unstable; urgency=low
+
+  * Move krb5-config man page to heimdal-dev (closes: #135957).
+  * Fix extended descriptions (closes #135525, #135515).
+  * Move ktutil man page to heimdal-clients (closes: #136449).
+
+ -- Brian May <bam@snoopy.apana.org.au>  Mon,  4 Mar 2002 14:19:53 +1100
+
+heimdal (0.4e-6) unstable; urgency=low
+
+  * Versioned conflicts against openafs (closes: #127817,#128105).
+
+ -- Brian May <bam@snoopy.apana.org.au>  Tue,  8 Jan 2002 11:19:12 +1100
+
+heimdal (0.4e-5) unstable; urgency=low
+
+  * Change conflicts keerberos4kth-clients, as it has changed from
+    kerberos4kth-user (closes: #124020). heimdal-clients is supposed to
+    have Kerberos4kth support, hence there should be no need to have
+    both installed as the same time.
+  * Build problem on hppa was previously fixed (closes: #101064). 
+  * Fix BSD license (closes: #123822).
+
+ -- Brian May <bam@snoopy.apana.org.au>  Fri, 21 Dec 2001 11:46:23 +1100
+
+heimdal (0.4e-4) unstable; urgency=low
+
+  * Move login back to /usr/sbin/login.
+  * Use update-alternatives for pagsh.
+  * Apply patch to stop kstash from segfaulting (closes: #120502).
+
+ -- Brian May <bam@snoopy.apana.org.au>  Tue,  4 Dec 2001 20:30:38 +1100
+
+heimdal (0.4e-3) unstable; urgency=low
+
+  * Move files to correct packages (closes: #121131)
+
+ -- Brian May <bam@snoopy.apana.org.au>  Mon, 26 Nov 2001 09:22:36 +1100
+
+heimdal (0.4e-2) unstable; urgency=low
+
+  * Kerberos 4 support (closes: #65387).
+  * Build libsl packages (closes: #120496).
+
+ -- Brian May <bam@snoopy.apana.org.au>  Wed, 14 Nov 2001 17:49:40 +1100
+
+heimdal (0.4e-1) unstable; urgency=low
+
+  * New upstream version.
+
+ -- Brian May <bam@snoopy.apana.org.au>  Mon, 10 Sep 2001 09:40:06 +1000
+
+heimdal (0.4c-2) unstable; urgency=low
+
+  * Include devfs fix, telnetd now supports /dev/pts filesystem.
+
+ -- Brian May <bam@snoopy.apana.org.au>  Mon,  6 Aug 2001 14:20:50 +1000
+
+heimdal (0.4c-1) unstable; urgency=low
+
+  * New upstream version.
+
+ -- Brian May <bam@snoopy.apana.org.au>  Sun, 29 Jul 2001 14:33:17 +1000
+
+heimdal (0.3f-1) unstable; urgency=low
+
+  * New upstream version.
+  * Move krb5.conf.5.gz man page from libkrb5 package to heimdal-doc,
+    in order to allow different versions of libkrb5 to be installed
+    at same time. What was I thinking?
+  * Previous compilation was based on old libraries. Lets try again...
+
+ -- Brian May <bam@snoopy.apana.org.au>  Thu, 28 Jun 2001 09:05:09 +1000
+
+heimdal (0.3e-6) unstable; urgency=low
+
+  * heimdal-dev no longer conflicts with kerberos4kth-dev.
+  * build conflicts with heimdal-dev, due to libtool hack.
+  * remove build dependancy on kerberos4kth-dev, as it is not
+    yet used.
+  * remove kafs.h and kafs.3.gz is these conflict with files from
+    kerberos4kth.
+
+ -- Brian May <bam@snoopy.apana.org.au>  Tue, 12 Jun 2001 09:41:34 +1000
+
+heimdal (0.3e-5) unstable; urgency=low
+
+  * Fix library dependancy problem on libdb.
+  * Use libtool 1.4. Other packages should link -lkrb5 or -lgssapi,
+    and none of the other libraries (unless really required).
+  * Split libraries apart.
+  * Remove libsl, as it doesn't seem to be used anymore.
+  * Remove conflicts with kerberos4kth libraries (closes: #58090).
+  * Attempt build with kerberos4kth libraries (not-closed: #65387);
+    attempt failed (compile error); waiting till I get more time to fix
+    this or for somebody to fix it for me ;-).
+  * Uses updated config.sub and config.guess files from libtool 1.4
+    (as far as I can tell). Closes: #98153.
+  * add 31_autotools patch to work around install libtool bug.
+
+ -- Brian May <bam@snoopy.apana.org.au>  Tue, 22 May 2001 11:14:25 +1000
+
+heimdal (0.3e-4) unstable; urgency=low
+
+  * Fix more silly postinst bugs. Disable anonymous ftp logins
+    by default.
+
+ -- Brian May <bam@debian.org>  Thu, 22 Feb 2001 09:38:40 +1100
+
+heimdal (0.3e-3) unstable; urgency=low
+
+  * Use update-alternatives for rcp (closes: #86702)
+  * Remove update-alternatives for rsh when package is removed.
+  * Add upstream patch to select versions for replay_log.
+
+ -- Brian May <bam@debian.org>  Wed, 21 Feb 2001 09:04:58 +1100
+
+heimdal (0.3e-2) unstable; urgency=low
+
+  * Disable anonymous ftp logins by default. This can be changed by
+    using the -a option to ftpd in /etc/inetd.conf.
+  * Add upstream patch to fix weak key detection.
+
+ -- Brian May <bam@debian.org>  Sat, 17 Feb 2001 13:52:35 +1100
+
+heimdal (0.3e-1) unstable; urgency=low
+
+  * New upstream version 0.3e. Warning: This fixes a potential security
+    problem (buffer overrun) in ftpd.
+
+ -- Brian May <bam@debian.org>  Tue,  6 Feb 2001 12:59:14 +1100
+
+heimdal (0.3d-8) unstable; urgency=low
+
+  * Change section to non-US.
+  * Add german translation to heimdal-lib.templates file (closes: #83754).
+  * Add german translation to heimdal-kdc.templates file (closes: #83864).
+  * Add Depends: libssl096 to heimdal-dev, so packages that use
+    heimdal-dev no longer need to include this in build-depends:
+    (unless they really do guse libssl).
+  * disable openldap support by default (I may enable it latter)
+    (closes: #83993).
+  * add patch for openldap.
+  * don't build binary-all for binary-dep target (closes: #84171).
+
+ -- Brian May <bam@debian.org>  Wed, 31 Jan 2001 09:26:39 +1100
+
+heimdal (0.3d-7) unstable; urgency=low
+
+  * Replace missing prerm script for heimdal-kdc, as kadmind wasn't being
+    disabled (in /etc/inetd.conf) on --remove (closes: #83526).
+  * Fix type in postrm script for heimdal-servers, as inetd entry for ftp
+    wasn't getting removed on -purge.
+  * Fix type in postrm script for heimdal-servers-x, as inetd entry for kx
+    wasn't getting removed on -purge.
+  * Add swedish translation to heimdal-lib.templates file.
+    Also add same translation to question in heimdal-kdc.templates, as the
+    question is exactly the same (closes: #83535).
+
+ -- Brian May <bam@debian.org>  Fri, 26 Jan 2001 10:27:13 +1100
+
+heimdal (0.3d-6) unstable; urgency=low
+
+  * Use rsh-server and telnet-sever virtual packages (see bug #77404).
+
+ -- Brian May <bam@debian.org>  Thu, 18 Jan 2001 18:20:54 +1100
+
+heimdal (0.3d-5) unstable; urgency=low
+
+  * Fix ftp bug with ports > 32767 (closes: #81663).
+  * Move krb5-config to heimdal-dev.
+
+ -- Brian May <bam@debian.org>  Fri, 12 Jan 2001 09:02:03 +1100
+
+heimdal (0.3d-4) unstable; urgency=low
+
+  * Better, non-hacked fix for krb5-config. Patch from
+    GOMBAS Gabor <gombasg@inf.elte.hu>.
+
+ -- Brian May <bam@debian.org>  Tue,  9 Jan 2001 10:13:28 +1100
+
+heimdal (0.3d-3) unstable; urgency=low
+
+  * Compile using libssl026 instead of libdes. Patch from
+    GOMBAS Gabor <gombasg@inf.elte.hu>.
+
+ -- Brian May <bam@debian.org>  Sat,  6 Jan 2001 10:30:03 +1100
+
+heimdal (0.3d-2) unstable; urgency=low
+
+  * Add libdb2-dev to build-depends (closes: #80442).
+
+ -- Brian May <bam@debian.org>  Tue, 26 Dec 2000 10:59:44 +1100
+
+heimdal (0.3d-1) unstable; urgency=low
+
+  * New upstream version.
+
+ -- Brian May <bam@debian.org>  Tue, 12 Dec 2000 16:20:34 +1100
+
+heimdal (0.3c-6) unstable; urgency=low
+
+  * Rename xnlock.man to xnlock.1, closes: #78117
+  * Move xnlock.1 to heimdal-clients-x.
+
+ -- Brian May <bam@debian.org>  Tue, 28 Nov 2000 09:55:12 +1100
+
+heimdal (0.3c-5) unstable; urgency=low
+
+  * New structure for source. Now there is a different patch for each
+  change from upstream (closes: 77000).
+  * Move TODO and NEWS documentation to heimdal-docs, where it should always
+  have been
+  * Apply patch from
+  http://ns1.logidee.com/~joko/heimdal/src/heimdal_cache.patch,
+  which should allow PAM module to work.
+
+ -- Brian May <bam@debian.org>  Sat, 18 Nov 2000 13:04:39 +1100
+
+heimdal (0.3c-4) unstable; urgency=low
+
+  * applied patch to fix ftpd problem (closes: #64746).
+
+ -- Brian May <bam@debian.org>  Wed,  8 Nov 2000 17:26:16 +1100
+
+heimdal (0.3c-3) unstable; urgency=low
+
+  * Try to strip binaries again, by making libeditline libtool
+  controlled.
+
+ -- Brian May <bam@debian.org>  Mon,  9 Oct 2000 09:20:27 +1100
+
+heimdal (0.3c-2) unstable; urgency=low
+
+  * applied patch to disable line editing in ftp (closes: #69301).
+
+ -- Brian May <bam@debian.org>  Thu,  5 Oct 2000 09:15:44 +1100
+
+heimdal (0.3c-1) unstable; urgency=low
+
+  * New upstream version.
+  * applied patch to fix missing newline problem in ftp (closes: #64289).
+  * dh_strip commented out, as it crashed the build process.
+    A bug (#73637) has been opened on this issue.
+
+ -- Brian May <bam@debian.org>  Mon,  2 Oct 2000 10:07:53 +1100
+
+heimdal (0.3b-2) unstable; urgency=low
+
+  * Add debhelper, xlib6g-dev to build dependancies (closes: #70718).
+  
+  * Change documentation to indicate that kadmind uses kadmind.acl,
+    not kadm5.acl, as previously specified. Add warning in default
+    kdc.conf file that it needs checking, as it may not be
+    correct. Everything should work OK though with default values.
+    closes: #69139.
+
+ -- Brian May <bam@debian.org>  Sat,  2 Sep 2000 15:46:53 +1100
+
+heimdal (0.3b-1) unstable; urgency=low
+
+  * New upstream version.
+  
+  * Shouldn't conflict with telnet anymore, as both use
+    update-alternatives (not tested yet).
+  
+  * Provides telnet-client instead of telnet, as telnet-client is now
+    the accepted virtual package (see closed bug #58759).
+
+ -- Brian May <bam@debian.org>  Wed, 30 Aug 2000 10:58:07 +1100
+
+heimdal (0.3a-2) unstable; urgency=low
+
+  * Remove /usr/include/glob.h from heimdal-dev (closes: #68649). This
+  file conflicts with libc6-dev.
+
+  * For some reason heimdal doesn't detect /usr/include/glob.h, why?
+
+ -- Brian May <bam@debian.org>  Sun,  6 Aug 2000 18:07:52 +1000
+
+heimdal (0.3a-1) unstable; urgency=low
+
+  * New upstream version.
+  
+  * -rpath hack no longer required.
+  
+  * fix bug in postinst script (closes: #67509).
+
+  * No longer conflicts with rsh-client (<< 0.16.1-1), as rsh-client
+  now uses update-alternatives (closes: #58102).
+
+  * Uses new libtool version 1.3c (closes: 59037).
+
+ -- Brian May <bam@debian.org>  Mon, 31 Jul 2000 13:21:21 +1000
+
+heimdal (0.2t-1) unstable; urgency=low
+
+  * New upstream version.
+
+ -- Brian May <bam@debian.org>  Fri, 19 May 2000 15:24:31 +1000
+
+heimdal (0.2r-2) unstable; urgency=low
+
+  * Add Build-Depends and Build-Conflicts line. It is possible
+  that the Build-Conflicts might be excessive (some libraries  
+  can be turned of with command line options to Configure),
+  however, I think this is safest for now.
+
+ -- Brian May <bam@debian.org>  Sun, 16 Apr 2000 10:29:33 +1000
+
+heimdal (0.2r-1) unstable; urgency=low
+
+  * New upstream version.
+  * Fix yet another silly typo in postinst script.
+  * Added hack to use defaults inside kadmin init without crashing.
+
+ -- Brian May <bam@debian.org>  Wed,  5 Apr 2000 14:36:55 +1000
+
+heimdal (0.2q-3) unstable; urgency=low
+
+  * fix silly typo in postinst script (closes: #61482).
+
+ -- Brian May <bam@debian.org>  Sat,  1 Apr 2000 12:33:34 +1000
+
+heimdal (0.2q-2) unstable; urgency=low
+
+  * Password to kstash now handled by debconf.
+
+ -- Brian May <bam@debian.org>  Sun, 12 Mar 2000 12:16:25 +1100
+
+heimdal (0.2q-1) unstable; urgency=low
+
+  * New upstream version.
+  * Looking through the upstream Changelog, I cannot see any changes
+  that might break functionality that wasn't already broken.
+  * Fix problem with debconf script (closes: #58011).
+  * Change ftp dependancy to ftp-server (closes: #58118).
+  * Replaced power-pc fix with patch from upstream.
+  * Fixed shlibs dependancy information - all executables will now
+  depend on *this* upstream version of heimdal-lib. This is currently
+  a hacked solution to allow clean (future) upgrades.
+  * Moved README.Debian to heimdal-docs.
+  * Include doc/standardisation in heimdal-docs, contains information
+  not found elsewhere.
+  * Use update-alternatives for rsh.
+  * Hack debian/rules not to run configure.
+  * ftp/ftpd no longer seems to work, fixes welcome.
+  * This should really go to frozen, but because of above problem
+  will go into unstable only.
+  
+ -- Brian May <bam@debian.org>  Fri, 25 Feb 2000 15:46:16 +1100
+
+heimdal (0.2l-7) frozen unstable; urgency=low
+
+  * Copied copyright file from doc/heimdal.texi
+  * heimdal-servers no longer conflicts with rsh-server (closes: #57545).
+  * heimdal-lib conflicts with kerberos4kth (closes: #57587, #57602, #57654).
+  * this conflicts business is never ending...
+  * fixed minor bugs in README.Debian, eg there is no need to
+  extract the kadmin/admin key to /etc/krb5.keytab.
+  * fixed compilation problem on power-pc (closes: #57919).
+
+ -- Brian May <bam@debian.org>  Sun, 13 Feb 2000 19:46:37 +1100
+
+heimdal (0.2l-6) frozen unstable; urgency=low
+
+  * Move /usr/bin/compile_et into heimdal-dev.
+  * heimdal-clients conflicts with otp.
+  * heimdal-dev conflicts with ss-dev and comerr-dev (closes: #56281).
+  * minor changes to sample kdc.conf file. eg stash file created
+  by postinst script wasn't used by kdc...
+
+ -- Brian May <bam@debian.org>  Sat, 29 Jan 2000 09:58:00 +1100
+
+heimdal (0.2l-5) frozen unstable; urgency=low
+
+  * Heimdal-servers: reenable telnet properly after upgrade
+    (closes: #55733).
+  * Change section to non-US/main (closes: #55546).
+  * These changes wont break anything that wasn't already broken ;-).
+  
+ -- Brian May <bam@debian.org>  Thu, 20 Jan 2000 16:13:21 +1100
+
+heimdal (0.2l-4) frozen unstable; urgency=low
+
+  * heimdal-kdc nows starts password server, so users can change
+    passwords.
+  * heimdal-kdc now inserts entry for kadmind into /etc/inetd.conf.
+    kadmind is essential for normal kerberos administration.
+  * Fix /etc/init.d/heimdal-kdc restart so it works.
+  * No code has been changed/added/removed apart from postinst,
+    prerm, postrm and init scripts for the above changes.
+  * Got rid of stupid looking syntax for log file in sample kdc.conf.
+  * Minor changes (including addition of examples) into README.Debian.
+  * Known problem: debconf doesn't replace default value for
+    some reason on initial installation. I can't see whats wrong...
+    This is annoying, but not a critical problem.
+
+ -- Brian May <bam@snoopy.apana.org.au>  Mon, 17 Jan 2000 19:07:06 +1100
+
+heimdal (0.2l-3) unstable; urgency=low
+
+  * Conflicts with kerberos4kth packages. closes: #54783.
+  * Move kstash and man page to heimdal-kdc.
+  * Move kxd man page to heimdal-servers-x.
+  * Move kadmind page to heimdal-kdc.
+  * Move kpasswdd and man page to heimdal-kdc.
+  * Fix permissions of /var/lib/heimdal-kdc.
+
+ -- Brian May <bam@snoopy.apana.org.au>  Fri, 14 Jan 2000 19:18:51 +1100
+
+heimdal (0.2l-2) unstable; urgency=low
+
+  * Move man pages into proper packages.
+  * heimdal-servers now conflicts and provides ftpd.
+    (closes: #54818).
+  * Problems believed to already be fixed. closes: #54792.
+  * heimdal-lib postrm: add -f parameter to rm so that it will not
+    fail if the file doesn't exist. closes: #54847.
+  * Rename telnet and ftp to ktelnet and kftp respectively.
+  * Use update-alternatives for ftp and telnet.
+    (note rxtelnet still uses telnet, not ktelnet).
+
+ -- Brian May <bam@snoopy.apana.org.au>  Thu, 13 Jan 2000 10:47:14 +1100
+
+heimdal (0.2l-1) unstable; urgency=low
+
+  * New upstream source.
+  * heimdal-clients now provides ftp, telnet, and rsh-client
+    (closes: #54497).
+  * heimdal-servers now provides telnetd and rsh-server.
+
+ -- Brian May <bam@snoopy.apana.org.au>  Sun,  9 Jan 2000 10:00:02 +1100
+
+heimdal (0.2j-1) unstable; urgency=low
+
+  * New upstream source.
+  * Improved debconf support, using setconfig helper program.
+  * setconfig may not parse all valid configuration files correctly.
+    Patches welcome!
+  * Moved /usr/bin/login to /usr/lib/heimdal-servers/login, as I
+    suspect this will help porting to the Hurd, if/when anyone tries.
+  * kdc now supports (and requires) logrotate.
+  * kdc tested and now works with minimal configuration.
+  * heimdal-kdc does not support dpkg-reconfigure (not sure how to
+    reconfigure without deleting existing setup first).
+
+ -- Brian May <bam@snoopy.apana.org.au>  Wed,  5 Jan 2000 02:31:00 +0000
+
+heimdal (0.2i-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Brian May <bam@snoopy.apana.org.au>  Wed,  8 Dec 1999 11:54:13 +1100
+
+
--- heimdal-0.6.3.orig/debian/rules
+++ heimdal-0.6.3/debian/rules
@@ -0,0 +1,297 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1999 to 2000 by Brian May.
+
+upstream_version=0.6.3
+
+# Stolen from open-ldap 1.2.11
+# the dbs rules
+TAR_DIR := heimdal-${upstream_version}
+#include debian/scripts/dbs-build.mk
+include /usr/share/dbs/dbs-build.mk
+
+libroken_version=`ls $(BUILD_TREE)/lib/roken/.libs/libroken.so.* | \
+ awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'`
+libroken_major=`ls $(BUILD_TREE)/lib/roken/.libs/libroken.so.* | \
+ awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
+
+libcom_err_version=`ls $(BUILD_TREE)/lib/com_err/.libs/libcom_err.so.* | \
+ awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'`
+libcom_err_major=`ls $(BUILD_TREE)/lib/com_err/.libs/libcom_err.so.* | \
+ awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
+
+libsl_version=`ls $(BUILD_TREE)/lib/sl/.libs/libsl.so.* | \
+ awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'`
+libsl_major=`ls $(BUILD_TREE)/lib/sl/.libs/libsl.so.* | \
+ awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
+
+libss_version=`ls $(BUILD_TREE)/lib/sl/.libs/libss.so.* | \
+ awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'`
+libss_major=`ls $(BUILD_TREE)/lib/sl/.libs/libss.so.* | \
+ awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
+
+libasn1_version=`ls $(BUILD_TREE)/lib/asn1/.libs/libasn1.so.* | \
+ awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'`
+libasn1_major=`ls $(BUILD_TREE)/lib/asn1/.libs/libasn1.so.* | \
+ awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
+
+libkafs_version=`ls $(BUILD_TREE)/lib/kafs/.libs/libkafs.so.* | \
+ awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'`
+libkafs_major=`ls $(BUILD_TREE)/lib/kafs/.libs/libkafs.so.* | \
+ awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
+
+libkrb5_version=`ls $(BUILD_TREE)/lib/krb5/.libs/libkrb5.so.* | \
+ awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'`
+libkrb5_major=`ls $(BUILD_TREE)/lib/krb5/.libs/libkrb5.so.* | \
+ awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
+
+libhdb_version=`ls $(BUILD_TREE)/lib/hdb/.libs/libhdb.so.* | \
+ awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'`
+libhdb_major=`ls $(BUILD_TREE)/lib/hdb/.libs/libhdb.so.* | \
+ awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
+
+libkadm5srv_version=`ls $(BUILD_TREE)/lib/kadm5/.libs/libkadm5srv.so.* | \
+ awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'`
+libkadm5srv_major=`ls $(BUILD_TREE)/lib/kadm5/.libs/libkadm5srv.so.* | \
+ awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
+
+libkadm5clnt_version=`ls $(BUILD_TREE)/lib/kadm5/.libs/libkadm5clnt.so.* | \
+ awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'`
+libkadm5clnt_major=`ls $(BUILD_TREE)/lib/kadm5/.libs/libkadm5clnt.so.* | \
+ awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
+
+libgssapi_version=`ls $(BUILD_TREE)/lib/gssapi/.libs/libgssapi.so.* | \
+ awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'`
+libgssapi_major=`ls $(BUILD_TREE)/lib/gssapi/.libs/libgssapi.so.* | \
+ awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
+
+libotp_version=`ls $(BUILD_TREE)/lib/otp/.libs/libotp.so.* | \
+ awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'`
+libotp_major=`ls $(BUILD_TREE)/lib/otp/.libs/libotp.so.* | \
+ awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This is the debhelper compatability version to use.
+export DH_COMPAT=4
+
+build: $(STAMP_DIR)/build-stamp 
+$(STAMP_DIR)/build-stamp: $(patched)
+	dh_testdir
+
+#	chmod u+x missing
+#	touch $(BUILD_TREE)/include/stamp-h.in
+#	touch $(BUILD_TREE)/configure
+#	touch $(BUILD_TREE)/aclocal.m4
+#	cd $(BUILD_TREE) && CFLAGS=-DKRB4 ./configure --prefix=/usr --enable-shared
+	cd $(BUILD_TREE) && ./configure --prefix=/usr --enable-shared \
+		--with-krb4 \
+		--with-kaserver \
+		--with-roken=/usr \
+		--without-des \
+		--with-openldap \
+		--with-readline-include=/usr/include/editline \
+		--mandir=\$${prefix}/share/man  \
+		--infodir=\$${prefix}/share/info  \
+		--libexecdir=\$${prefix}/sbin
+	#--with-ss-include=/usr/include/ss \
+
+	# Add here commands to compile the package.
+	$(MAKE) -C $(BUILD_TREE)
+
+	touch $(STAMP_DIR)/build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+
+	# Add here commands to clean up after the build process.
+	rm -rf $(SOURCE_DIR) $(STAMP_DIR)
+	#-$(MAKE) distclean
+
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	# Add here commands to install the package into debian/tmp.
+	$(MAKE) -C $(BUILD_TREE) install prefix=`pwd`/debian/tmp/usr
+
+	# remove files that are installed latter
+	rm -rf debian/tmp/usr/share/man/cat{1,3,5,8}
+
+	# remove files that are unwanted
+	rm -f debian/tmp/usr/share/info/{dir,dir.old}
+
+	# remove conflicting files
+	rm debian/tmp/usr/share/man/man1/login.1
+	rm debian/tmp/usr/share/man/man8/kerberos.8
+
+	# install missing files
+	mkdir -p debian/tmp/usr/lib/heimdal-servers
+	mkdir -p debian/tmp/usr/lib/heimdal-kdc
+	mkdir -p debian/tmp/etc/default
+
+	# heimdal-servers
+	mv debian/tmp/usr/sbin/kfd debian/tmp/usr/lib/heimdal-servers
+	mv debian/tmp/usr/sbin/ftpd debian/tmp/usr/lib/heimdal-servers
+	mv debian/tmp/usr/sbin/rshd debian/tmp/usr/lib/heimdal-servers
+	mv debian/tmp/usr/sbin/telnetd debian/tmp/usr/lib/heimdal-servers
+	mv debian/tmp/usr/sbin/popper debian/tmp/usr/lib/heimdal-servers
+	mv debian/tmp/usr/bin/login debian/tmp/usr/lib/heimdal-servers
+
+	# heimdal-servers-x
+	mv debian/tmp/usr/sbin/kxd debian/tmp/usr/lib/heimdal-servers
+
+	# heimdal-kdc
+	mv debian/tmp/usr/sbin/kdc debian/tmp/usr/lib/heimdal-servers
+	mv debian/tmp/usr/sbin/kadmind debian/tmp/usr/lib/heimdal-servers
+	mv debian/tmp/usr/sbin/kpasswdd debian/tmp/usr/lib/heimdal-servers
+	install -m644 extras/default  debian/tmp/etc/default/heimdal-kdc
+#	install -m755 extras/setconfig debian/tmp/usr/lib/heimdal-kdc
+
+	# heimdal-clients
+	mv debian/tmp/usr/bin/telnet debian/tmp/usr/bin/ktelnet
+	mv debian/tmp/usr/bin/ftp debian/tmp/usr/bin/kftp
+	mv debian/tmp/usr/share/man/man1/telnet.1 debian/tmp/usr/share/man/man1/ktelnet.1
+	mv debian/tmp/usr/share/man/man1/ftp.1 debian/tmp/usr/share/man/man1/kftp.1
+
+	mv debian/tmp/usr/bin/rsh debian/tmp/usr/bin/krsh
+	mv debian/tmp/usr/bin/rcp debian/tmp/usr/bin/krcp
+	mv debian/tmp/usr/bin/pagsh debian/tmp/usr/bin/kpagsh
+	mv debian/tmp/usr/share/man/man1/rsh.1 debian/tmp/usr/share/man/man1/krsh.1
+	#mv debian/tmp/usr/share/man/man1/rcp.1 debian/tmp/usr/share/man/man1/krcp.1
+	#mv debian/tmp/usr/share/man/man1/pagsh.1 debian/tmp/usr/share/man/man1/kpagsh.1
+
+	mv debian/tmp/usr/bin/su debian/tmp/usr/bin/ksu
+	# move files to appropriate packages
+
+#	dh_movefiles -plibroken$(libroken_major)-heimdal       \
+#		usr/lib/libroken.so.$(libroken_major)        \
+#		usr/lib/libroken.so.$(libroken_version)
+#	dh_movefiles -plibcomerr$(libcom_err_major)-heimdal       \
+#		usr/lib/libcom_err.so.$(libcom_err_major)        \
+#		usr/lib/libcom_err.so.$(libcom_err_version)
+#	dh_movefiles -plibsl$(libsl_major)-heimdal       \
+#		usr/lib/libsl.so.$(libsl_major)        \
+#		usr/lib/libsl.so.$(libsl_version)
+#	dh_movefiles -plibss$(libss_major)-heimdal       \
+#		usr/lib/libss.so.$(libss_major)        \
+#		usr/lib/libss.so.$(libss_version)
+	dh_movefiles -plibasn1-$(libasn1_major)-heimdal       \
+		usr/lib/libasn1.so.$(libasn1_major)        \
+		usr/lib/libasn1.so.$(libasn1_version)
+	dh_movefiles -plibkafs$(libkafs_major)-heimdal       \
+		usr/lib/libkafs.so.$(libkafs_major)        \
+		usr/lib/libkafs.so.$(libkafs_version)
+	#rm -f debian/tmp/usr/lib/libkafs.{so*,la,a}
+	rm -f debian/tmp/usr/include/kafs.h
+	rm -f debian/tmp/usr/share/man/man3/kafs.3
+	rm -f debian/tmp/usr/share/man/man3/k_*.3
+	rm -f debian/tmp/usr/share/man/man3/krb_afslog.3
+	rm -f debian/tmp/usr/share/man/man3/krb_afslog_uid.3
+	dh_movefiles -plibkrb5-$(libkrb5_major)-heimdal       \
+		usr/lib/libkrb5.so.$(libkrb5_major)        \
+		usr/lib/libkrb5.so.$(libkrb5_version)
+	dh_movefiles -plibhdb$(libhdb_major)-heimdal       \
+		usr/lib/libhdb.so.$(libhdb_major)        \
+		usr/lib/libhdb.so.$(libhdb_version)
+	dh_movefiles -plibkadm5srv$(libkadm5srv_major)-heimdal       \
+		usr/lib/libkadm5srv.so.$(libkadm5srv_major)        \
+		usr/lib/libkadm5srv.so.$(libkadm5srv_version)
+	dh_movefiles -plibkadm5clnt$(libkadm5clnt_major)-heimdal       \
+		usr/lib/libkadm5clnt.so.$(libkadm5clnt_major)        \
+		usr/lib/libkadm5clnt.so.$(libkadm5clnt_version)
+	dh_movefiles -plibgssapi$(libgssapi_major)-heimdal       \
+		usr/lib/libgssapi.so.$(libgssapi_major)        \
+		usr/lib/libgssapi.so.$(libgssapi_version)
+#	dh_movefiles -plibotp$(libotp_major)-heimdal       \
+#		usr/lib/libotp.so.$(libotp_major)        \
+#		usr/lib/libotp.so.$(libotp_version)
+
+	dh_movefiles
+
+	# remove empty directories.
+	rmdir debian/tmp/usr/lib/heimdal-servers
+	rmdir debian/tmp/usr/lib/heimdal-kdc
+	rmdir debian/tmp/usr/lib
+	rmdir debian/tmp/usr/share/man/man{1,3,8}
+	#rmdir debian/tmp/usr/include{/ss,/kadm5,}
+	rmdir debian/tmp/usr/{bin,sbin}
+
+	# logrotate
+	mkdir -p debian/heimdal-kdc/var/lib/heimdal-kdc
+	mkdir -p debian/heimdal-kdc/etc/logrotate.d
+	install -m644 extras/logrotate debian/heimdal-kdc/etc/logrotate.d/heimdal-kdc
+
+	# install done
+	touch $(STAMP_DIR)/install-stamp
+
+# Build architecture-independent files here.
+binary-indep: build install
+#	dh_testversion -i
+	dh_testdir -i
+	dh_testroot -i
+	dh_installdebconf -i
+	dh_installdocs -i
+	dh_installdocs -pheimdal-docs $(BUILD_TREE)/{NEWS,TODO,doc/standardisation}
+	mv ./debian/heimdal-docs/usr/share/man/man5/{krb5.conf.5,krb5.conf.5heimdal}
+	dh_installmenu -i
+#	dh_installemacsen -i
+#	dh_installpam -i
+	dh_installinit -i
+	dh_installcron -i
+#	dh_installmanpages -i
+#	dh_installinfo -pheimdal-docs $(BUILD_TREE)/doc/heimdal.info
+#	dh_undocumented -i
+	dh_installchangelogs -i $(BUILD_TREE)/ChangeLog
+	dh_link -i
+	dh_strip -i
+	dh_compress -i
+	dh_fixperms -i
+	dh_installdeb -i
+#	dh_perl -i
+	dh_gencontrol -i
+	dh_md5sums -i
+	dh_builddeb -i
+
+libl=`ls -d debian/lib*-heimdal | perl -e 'while (<>) { chomp; push(@out,$$_); } print join(":",@out),"\n";'`
+libs=`ls -d debian/lib*-heimdal | perl -e 'while (<>) { chomp; push(@out,$$_); } print "-L",join(" -L",@out),"\n";'`
+
+# Build architecture-dependent files here.
+binary-arch: build install
+#	dh_testversion -a
+	dh_testdir -a
+	dh_testroot -a
+	dh_installdebconf -a
+	dh_installdocs -a
+	dh_installexamples -pheimdal-lib $(BUILD_TREE)/krb5.conf
+	dh_installexamples -pheimdal-kdc extras/kdc.conf extras/kadmind.acl
+	dh_installmenu -a
+#	dh_installemacsen -a
+#	dh_installpam -a
+	dh_installinit -a
+	dh_installcron -a
+#	dh_installmanpages -a
+#	dh_undocumented -a
+	dh_installchangelogs -a $(BUILD_TREE)/ChangeLog
+	dh_link -a
+	dh_strip -a
+	dh_compress -a
+	dh_fixperms -a
+	# You may want to make some executables suid here.
+	chmod 700 debian/heimdal-kdc/var/lib/heimdal-kdc
+	dh_makeshlibs -a -V
+	dh_installdeb -a
+#	dh_perl -a
+	dh_shlibdeps -a -l${libl} -- ${libs}
+	dh_gencontrol -a
+	dh_md5sums -a
+	dh_builddeb -a
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
--- heimdal-0.6.3.orig/debian/control
+++ heimdal-0.6.3/debian/control
@@ -0,0 +1,195 @@
+Source: heimdal
+Section: net
+Priority: optional
+Maintainer: Brian May <bam@debian.org>
+Standards-Version: 3.6.1
+Build-Depends: libncurses5-dev, bison, flex, debhelper (>= 4.1.16), xlibs-dev, libedit-dev, libdb4.2-dev, libssl-dev (>= 0.9.7), dbs, kerberos4kth-dev (>= 1.2.1), libhesiod-dev, comerr-dev (>= 1.35-1), libldap2-dev
+Build-Conflicts: heimdal-dev
+
+Package: heimdal-docs
+Priority: extra
+Architecture: all
+Depends: 
+Replaces: heimdal-lib (<< 0.3c-5), libkrb5-15-heimdal, heimdal-servers (<< 0.6.3-3)
+Conflicts: heimdal-lib (<< 0.3c-5)
+Suggests: heimdal-clients, heimdal-clients-x, heimdal-servers, heimdal-servers-x
+Description: Documentation for Heimdal Kerberos
+ Heimdal is a free implementation of Kerberos 5, that aims to be
+ compatible with MIT Kerberos.
+ .
+ This package includes documentation (in info format) on how to
+ use Heimdal, and relevant standards for Kerberos.
+
+Package: heimdal-kdc
+Priority: extra
+Architecture: any
+Conflicts: kerberos4kth-kdc, heimdal-clients (<< 0.4e-3), heimdal-servers (<< 0.6.3-3), krb5-kdc, krb5-admin-server
+Depends: ${shlibs:Depends}, heimdal-clients, logrotate, debconf (>= 0.5.00), krb5-config
+Replaces: heimdal-clients (<< 0.4e-3), heimdal-servers (<< 0.4e-3)
+Suggests: heimdal-docs
+Description: KDC for Heimdal Kerberos
+ Heimdal is a free implementation of Kerberos 5, that aims to be
+ compatible with MIT Kerberos.
+ .
+ This package includes the KDC (key distribution centre) server,
+ which is designed to run on a secure computer and keeps track
+ of users passwords. This is done using the Kerberos protocol in
+ such a way that the server computers do not need to know user's
+ passwords.
+
+Package: heimdal-dev
+Section: devel
+Priority: extra
+Architecture: any
+Conflicts: heimdal-clients (<< 0.4e-7)
+Depends: libasn1-6-heimdal (= ${Source-Version}), libkrb5-17-heimdal (= ${Source-Version}), libhdb7-heimdal (= ${Source-Version}), libkadm5srv7-heimdal (= ${Source-Version}), libkadm5clnt4-heimdal (= ${Source-Version}), libgssapi1-heimdal (= ${Source-Version}), libkafs0-heimdal, kerberos4kth-dev
+Replaces: heimdal-clients (<< 0.4e-7)
+Suggests: heimdal-docs
+Description: Development files for Heimdal Kerberos
+ Heimdal is a free implementation of Kerberos 5, that aims to be
+ compatible with MIT Kerberos.
+ .
+ This is the development package, required for developing
+ programs for Heimdal.
+
+Package: heimdal-clients-x
+Priority: extra
+Architecture: any
+Depends: ${shlibs:Depends}, netbase, heimdal-clients
+Replaces: heimdal-clients (<< 0.2l-2)
+Conflicts: heimdal-clients (<< 0.2l-2), kerberos4kth-x11
+Suggests: heimdal-docs
+Description: X11 files for Heimdal Kerberos
+ Heimdal is a free implementation of Kerberos 5, that aims to be
+ compatible with MIT Kerberos.
+ .
+ This package includes kerberos client programs for forwarding the X
+ connection securely to a remote computer.
+
+Package: heimdal-clients
+Priority: extra
+Architecture: any
+Depends: ${shlibs:Depends}, krb5-config
+Conflicts: telnet (<< 0.17-1), ftp (<< 0.16-1), rsh-client (<< 0.16.1-1), netstd, telnet-ssl (<< 0.14.9-2), ssltelnet, kerberos4kth-user, kerberos4kth-clients, otp, heimdal-servers (<< 0.4e-7), openafs-client (<< 1.2.2-3)
+Provides: telnet-client, ftp, rsh-client
+Suggests: heimdal-docs
+Replaces: heimdal-servers (<< 0.6.3-8)
+Description: Clients for Heimdal Kerberos
+ Heimdal is a free implementation of Kerberos 5, that aims to be
+ compatible with MIT Kerberos.
+ .
+ This package includes client programs like telnet and ftp that have been
+ compiled with Kerberos support.
+
+Package: heimdal-servers-x
+Priority: extra
+Architecture: any
+Conflicts: kerberos4kth-x11, heimdal-servers (<< 0.2l-3)
+Depends: ${shlibs:Depends}, netbase, heimdal-servers
+Suggests: heimdal-docs
+Replaces: heimdal-servers (<< 0.2l-3)
+Description: X11 files for Heimdal Kerberos
+ Heimdal is a free implementation of Kerberos 5, that aims to be
+ compatible with MIT Kerberos.
+ .
+ This package includes kerberos server programs for forwarding the X
+ connection securely from a remote computer.
+
+Package: heimdal-servers
+Priority: extra
+Architecture: any
+Depends: ${shlibs:Depends}, netbase, krb5-config
+Conflicts: telnetd,  wu-ftpd-academ (<< 2.5.0), netstd, heimdal-clients (<< 0.2l-2), telnetd-ssl, kerberos4kth-services, ftp-server, rsh-server, telnet-server, pop3-server
+Provides: ftp-server, rsh-server, telnet-server
+Suggests: heimdal-docs
+Replaces: heimdal-clients (<< 0.2l-2)
+Description: Servers for Heimdal Kerberos
+ Heimdal is a free implementation of Kerberos 5, that aims to be
+ compatible with MIT Kerberos.
+ .
+ This package includes servers like telnetd and ftpd that have been
+ compiled with Heimdal support.
+
+Package: libasn1-6-heimdal
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}
+Replaces: heimdal-lib (<< 0.3e-5)
+Conflicts: heimdal-libs (<< 0.3e-5)
+Description: Libraries for Heimdal Kerberos
+ Heimdal is a free implementation of Kerberos 5, that aims to be
+ compatible with MIT Kerberos.
+ .
+ This package contains the asn1 parser required for Heimdal.
+
+Package: libkrb5-17-heimdal
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}
+Replaces: heimdal-lib (<< 0.3e-5)
+Conflicts: heimdal-libs (<< 0.3e-5)
+Description: Libraries for Heimdal Kerberos
+ Heimdal is a free implementation of Kerberos 5, that aims to be
+ compatible with MIT Kerberos.
+ .
+ This package contains the kerberos 5 library.
+
+Package: libhdb7-heimdal
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}
+Replaces: heimdal-lib (<< 0.3e-5)
+Conflicts: heimdal-libs (<< 0.3e-5)
+Description: Libraries for Heimdal Kerberos
+ Heimdal is a free implementation of Kerberos 5, that aims to be
+ compatible with MIT Kerberos.
+ .
+ This package contains the library for storing the KDC database.
+
+Package: libkadm5srv7-heimdal
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}
+Replaces: heimdal-lib (<< 0.3e-5)
+Conflicts: heimdal-libs (<< 0.3e-5)
+Description: Libraries for Heimdal Kerberos
+ Heimdal is a free implementation of Kerberos 5, that aims to be
+ compatible with MIT Kerberos.
+ .
+ This package contains the server library for kadmin.
+
+Package: libkadm5clnt4-heimdal
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}
+Replaces: heimdal-lib (<< 0.3e-5)
+Conflicts: heimdal-libs (<< 0.3e-5)
+Description: Libraries for Heimdal Kerberos
+ Heimdal is a free implementation of Kerberos 5, that aims to be
+ compatible with MIT Kerberos.
+ .
+ This package contains the client library for kadmin.
+
+Package: libgssapi1-heimdal
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}
+Replaces: heimdal-lib (<< 0.3e-5)
+Conflicts: heimdal-libs (<< 0.3e-5)
+Description: Libraries for Heimdal Kerberos
+ Heimdal is a free implementation of Kerberos 5, that aims to be
+ compatible with MIT Kerberos.
+ .
+ This package contains the library for GSSAPI support.
+
+Package: libkafs0-heimdal
+Section: libs
+Priority: extra
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: Libraries for Heimdal Kerberos
+ Heimdal is a free implementation of Kerberos 5, that aims to be
+ compatible with MIT Kerberos.
+ .
+ This package contains the library for KAFS support.
+
--- heimdal-0.6.3.orig/debian/copyright
+++ heimdal-0.6.3/debian/copyright
@@ -0,0 +1,167 @@
+This package was debianized by Brian May <bam@snoopy.apana.org.au> on
+Wed,  8 Dec 1999 11:54:13 +1100.
+
+It was downloaded from http://www.pdc.kth.se/heimdal/
+
+Upstream Authors: heimdal-bugs@pdc.kth.se
+(see above URL for mailing list info).
+
+Copyrights:
+
+As found in doc/heimdal.texi.
+
+
+
+Copyright (c) 1996-2000 Kungliga Tekniska Högskolan 
+(Royal Institute of Technology, Stockholm, Sweden).
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+
+1. Redistributions of source code must retain the above copyright
+   notice, this list of conditions and the following disclaimer.
+
+2. Redistributions in binary form must reproduce the above copyright
+   notice, this list of conditions and the following disclaimer in the
+   documentation and/or other materials provided with the distribution.
+
+3. Neither the name of the Institute nor the names of its contributors
+   may be used to endorse or promote products derived from this software
+   without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+
+
+
+Copyright (C) 1995-1997 Eric Young (eay@@mincom.oz.au)
+All rights reserved.
+
+This package is an DES implementation written by Eric Young (eay@@mincom.oz.au).
+The implementation was written so as to conform with MIT's libdes.
+
+This library is free for commercial and non-commercial use as long as
+the following conditions are aheared to.  The following conditions
+apply to all code found in this distribution.
+
+Copyright remains Eric Young's, and as such any Copyright notices in
+the code are not to be removed.
+If this package is used in a product, Eric Young should be given attribution
+as the author of that the SSL library.  This can be in the form of a textual
+message at program startup or in documentation (online or textual) provided
+with the package.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+
+1. Redistributions of source code must retain the copyright
+   notice, this list of conditions and the following disclaimer.
+
+2. Redistributions in binary form must reproduce the above copyright
+   notice, this list of conditions and the following disclaimer in the
+   documentation and/or other materials provided with the distribution.
+
+3. All advertising materials mentioning features or use of this software
+   must display the following acknowledgement:
+   This product includes software developed by Eric Young (eay@@mincom.oz.au)
+
+THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+
+
+
+Copyright (C) 1990 by the Massachusetts Institute of Technology
+
+Export of this software from the United States of America may
+require a specific license from the United States Government.
+It is the responsibility of any person or organization contemplating
+export to obtain such a license before exporting.
+
+WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
+distribute this software and its documentation for any purpose and
+without fee is hereby granted, 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.
+
+
+
+Copyright (c) 1988, 1990, 1993
+     The Regents of the University of California.  All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+
+1. Redistributions of source code must retain the above copyright
+   notice, this list of conditions and the following disclaimer.
+
+2. Redistributions in binary form must reproduce the above copyright
+   notice, this list of conditions and the following disclaimer in the
+   documentation and/or other materials provided with the distribution.
+
+3. Neither the name of the University nor the names of its contributors
+   may be used to endorse or promote products derived from this software
+   without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+
+
+
+Copyright 1992 Simmule Turner and Rich Salz.  All rights reserved. 
+
+This software is not subject to any license of the American Telephone 
+and Telegraph Company or of the Regents of the University of California. 
+
+Permission is granted to anyone to use this software for any purpose on
+any computer system, and to alter it and redistribute it freely, subject
+to the following restrictions:
+
+1. The authors are not responsible for the consequences of use of this
+   software, no matter how awful, even if they arise from flaws in it.
+
+2. The origin of this software must not be misrepresented, either by
+   explicit claim or by omission.  Since few users ever read sources,
+   credits must appear in the documentation.
+
+3. Altered versions must be plainly marked as such, and must not be
+   misrepresented as being the original software.  Since few users
+   ever read sources, credits must appear in the documentation.
+
+4. This notice may not be removed or altered.
+
--- heimdal-0.6.3.orig/debian/heimdal-clients-x.files
+++ heimdal-0.6.3/debian/heimdal-clients-x.files
@@ -0,0 +1,10 @@
+usr/bin/kx
+usr/bin/rxterm
+usr/bin/rxtelnet
+usr/bin/tenletxr
+usr/bin/xnlock
+usr/share/man/man1/kx.1
+usr/share/man/man1/rxterm.1
+usr/share/man/man1/rxtelnet.1
+usr/share/man/man1/tenletxr.1
+usr/share/man/man1/xnlock.1
--- heimdal-0.6.3.orig/debian/heimdal-servers-x.postinst
+++ heimdal-0.6.3/debian/heimdal-servers-x.postinst
@@ -0,0 +1,34 @@
+#!/bin/sh -e
+
+add_servers() {
+    kx_entry="kx	stream	tcp	nowait	root	/usr/sbin/tcpd /usr/lib/heimdal-servers/kxd"
+	update-inetd --group KRB5 --add "$kx_entry"
+}
+
+enable_servers() {
+	update-inetd --pattern '[ \t]/usr/lib/heimdal-servers/kx' --enable kx
+}
+
+remove_servers() {
+	update-inetd --remove 'kx[ \t].*[ \t]/usr/lib/heimdal-servers/kxd'
+}
+
+case "$1" in
+abort-upgrade | abort-deconfigure | abort-remove)
+	enable_servers
+	;;
+configure)
+	if [ -n "$2" ] && dpkg --compare-versions "$2" ge 0.2h-1; then
+		enable_servers
+	else
+		remove_servers
+		add_servers
+	fi
+	;;
+*)
+	printf "$0: incorrect arguments: $*\n" >&2
+	exit 1
+	;;
+esac
+
+#DEBHELPER#
--- heimdal-0.6.3.orig/debian/heimdal-clients.files
+++ heimdal-0.6.3/debian/heimdal-clients.files
@@ -0,0 +1,7 @@
+usr/bin/*
+usr/sbin/*
+usr/share/man/man1/*
+usr/share/man/man8/kadmin.8
+usr/share/man/man8/ktutil.8
+usr/share/man/man8/push.8
+usr/share/man/man8/verify_krb5_conf.8
--- heimdal-0.6.3.orig/debian/heimdal-clients.postinst
+++ heimdal-0.6.3/debian/heimdal-clients.postinst
@@ -0,0 +1,15 @@
+#!/bin/sh -e
+
+for i in ftp telnet rsh
+do
+    update-alternatives --install /usr/bin/$i $i /usr/bin/k$i 23 \
+    --slave /usr/share/man/man1/$i.1.gz $i.1.gz /usr/share/man/man1/k$i.1.gz
+done
+
+for i in rcp pagsh
+do
+    update-alternatives --install /usr/bin/$i $i /usr/bin/k$i 23
+done
+
+#DEBHELPER#
+
--- heimdal-0.6.3.orig/debian/heimdal-clients.prerm
+++ heimdal-0.6.3/debian/heimdal-clients.prerm
@@ -0,0 +1,13 @@
+#!/bin/sh -e
+
+if [ "$1" != "upgrade" ]
+then
+    for i in ftp telnet rsh rcp pagsh
+    do
+	update-alternatives --remove $i /usr/bin/k$i
+    done
+fi
+
+#DEBHELPER#
+
+
--- heimdal-0.6.3.orig/debian/heimdal-dev.files
+++ heimdal-0.6.3/debian/heimdal-dev.files
@@ -0,0 +1,7 @@
+usr/bin/krb5-config
+usr/lib/*.a
+usr/lib/*.la
+usr/lib/*.so
+usr/include
+usr/share/man/man1/krb5-config.1
+usr/share/man/man3
--- heimdal-0.6.3.orig/debian/heimdal-docs.files
+++ heimdal-0.6.3/debian/heimdal-docs.files
@@ -0,0 +1,2 @@
+usr/share/man/man5/krb5.conf.5
+usr/share/info
--- heimdal-0.6.3.orig/debian/heimdal-kdc.config
+++ heimdal-0.6.3/debian/heimdal-kdc.config
@@ -0,0 +1,6 @@
+#!/bin/sh -e
+
+# Source debconf library.
+. /usr/share/debconf/confmodule
+
+# do nothing
--- heimdal-0.6.3.orig/debian/heimdal-kdc.files
+++ heimdal-0.6.3/debian/heimdal-kdc.files
@@ -0,0 +1,19 @@
+etc/default/heimdal-kdc
+usr/sbin/replay_log
+usr/sbin/truncate_log
+usr/sbin/dump_log
+usr/sbin/kstash
+usr/sbin/hprop
+usr/sbin/hpropd
+usr/sbin/ipropd-master
+usr/sbin/ipropd-slave
+usr/lib/heimdal-kdc
+usr/lib/heimdal-servers/kdc
+usr/lib/heimdal-servers/kadmind
+usr/lib/heimdal-servers/kpasswdd
+usr/share/man/man8/kdc.8
+usr/share/man/man8/kadmind.8
+usr/share/man/man8/kstash.8
+usr/share/man/man8/kpasswdd.8
+usr/share/man/man8/hprop.8
+usr/share/man/man8/hpropd.8
--- heimdal-0.6.3.orig/debian/heimdal-kdc.init
+++ heimdal-0.6.3/debian/heimdal-kdc.init
@@ -0,0 +1,124 @@
+#! /bin/sh
+#
+# skeleton	example file to build /etc/init.d/ scripts.
+#		This file should be used to construct scripts for /etc/init.d.
+#
+#		Written by Miquel van Smoorenburg <miquels@cistron.nl>.
+#		Modified for Debian GNU/Linux
+#		by Ian Murdock <imurdock@gnu.ai.mit.edu>.
+#
+# Version:	@(#)skeleton  1.8  03-Mar-1998  miquels@cistron.nl
+#
+# This file was automatically customized by dh-make on Wed,  8 Dec 1999 11:54:13 +1100
+
+PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
+KDC_DAEMON=/usr/lib/heimdal-servers/kdc
+KDC_NAME=heimdal-kdc
+KDC_DESC="Heimdal KDC"
+KPASSWDD_DAEMON=/usr/lib/heimdal-servers/kpasswdd
+KPASSWDD_NAME=kpasswdd
+KPASSWDD_DESC="Heimdal password server"
+
+. /etc/default/heimdal-kdc
+
+test -f $KDC_DAEMON || exit 0
+test -f $KPASSWDD_DAEMON || exit 0
+
+set -e
+
+case "$1" in
+  start)
+	if [ "$KDC_ENABLED" = "yes" ];
+	then
+		echo -n "Starting $KDC_DESC: "
+		start-stop-daemon --start --quiet --background \
+			--make-pidfile --pidfile /var/run/$KDC_NAME.pid \
+			--exec $KDC_DAEMON -- $KDC_PARAMS
+		echo "$KDC_NAME."
+	fi
+	if [ "$KPASSWDD_ENABLED" = "yes" ];
+	then
+		echo -n "Starting $KPASSWDD_DESC: "
+		start-stop-daemon --start --quiet --background \
+			--make-pidfile --pidfile /var/run/$KPASSWDD_NAME.pid \
+			--exec $KPASSWDD_DAEMON -- $KPASSWDD_PARAMS
+		echo "$KPASSWDD_NAME."
+	fi
+	if [ "$MASTER_ENABLED" = "yes" ];
+	then
+		echo -n "Starting incremental propagation master: "
+		start-stop-daemon --start --quiet --background \
+			--make-pidfile --pidfile /var/run/ipropd-master.pid \
+			--exec /usr/sbin/ipropd-master -- $MASTER_PARAMS
+		echo "ipropd-master."
+	fi
+	if [ "$SLAVE_ENABLED" = "yes" ];
+	then
+		echo -n "Starting incremental propagation slave: "
+		start-stop-daemon --start --quiet --background \
+			--make-pidfile --pidfile /var/run/ipropd-slave.pid \
+			--exec /usr/sbin/ipropd-slave -- $SLAVE_PARAMS
+		echo "ipropd-slave."
+	fi
+	;;
+  stop)
+	if [ -f /var/run/$KPASSWDD_NAME.pid ]
+	then
+		echo -n "Stopping $KPASSWDD_DESC: "
+		start-stop-daemon --stop --oknodo --quiet --pidfile /var/run/$KPASSWDD_NAME.pid \
+			--exec $KPASSWDD_DAEMON -- $KPASSWDD_PARAMS
+		echo "$KPASSWDD_NAME."
+	fi
+	if [ -f /var/run/$KDC_NAME.pid  ]
+	then
+		echo -n "Stopping $KDC_DESC: "
+		start-stop-daemon --stop --oknodo --quiet --pidfile /var/run/$KDC_NAME.pid \
+			--exec $KDC_DAEMON -- $KDC_PARAMS
+		echo "$KDC_NAME."
+	fi
+	if [ -f /var/run/ipropd-master.pid ]
+	then
+		echo -n "Stopping incremental propagation master: "
+		start-stop-daemon --stop --oknodo --quiet --pidfile /var/run/ipropd-master.pid \
+			--exec /usr/sbin/ipropd-master -- $MASTER_PARAMS
+		echo "ipropd-master."
+	fi
+	if [ -f /var/run/ipropd-slave.pid ]
+	then
+		echo -n "Stopping incremental propagation slave: "
+		start-stop-daemon --stop --oknodo --quiet --pidfile /var/run/ipropd-slave.pid \
+			--exec /usr/sbin/ipropd-slave -- $SLAVE_PARAMS
+		echo "/usr/sbin/ipropd-slave."
+	fi
+	;;
+  #reload)
+	#
+	#	If the daemon can reload its config files on the fly
+	#	for example by sending it SIGHUP, do it here.
+	#
+	#	If the daemon responds to changes in its config file
+	#	directly anyway, make this a do-nothing entry.
+	#
+	# echo "Reloading $DESC configuration files."
+	# start-stop-daemon --stop --signal 1 --quiet --pidfile \
+	#	/var/run/$NAME.pid --exec $DAEMON
+  #;;
+  restart|force-reload)
+	#
+	#	If the "reload" option is implemented, move the "force-reload"
+	#	option to the "reload" entry above. If not, "force-reload" is
+	#	just the same as "restart".
+	#
+	/etc/init.d/heimdal-kdc stop
+	sleep 1
+	/etc/init.d/heimdal-kdc start
+	;;
+  *)
+	N=/etc/init.d/$NAME
+	# echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2
+	echo "Usage: $N {start|stop|restart|force-reload}" >&2
+	exit 1
+	;;
+esac
+
+exit 0
--- heimdal-0.6.3.orig/debian/heimdal-kdc.postinst
+++ heimdal-0.6.3/debian/heimdal-kdc.postinst
@@ -0,0 +1,88 @@
+#!/bin/sh -e
+
+. /usr/share/debconf/confmodule
+
+if [ ! -f /var/log/heimdal-kdc.log ]
+then
+	touch /var/log/heimdal-kdc.log
+	chmod 600 /var/log/heimdal-kdc.log
+fi
+
+add_servers() {
+kadmin_entry="kerberos-adm	stream	tcp	nowait	root	/usr/sbin/tcpd /usr/lib/heimdal-servers/kadmind"
+hprop_entry="#krb_prop	stream	tcp	nowait	root	/usr/sbin/tcpd /usr/sbin/hpropd"
+
+	update-inetd --group KRB5 --add "$kadmin_entry"
+	update-inetd --group KRB5 --add "$hprop_entry"
+}
+
+enable_servers() {
+	update-inetd --pattern '[ \t]/usr/lib/heimdal-servers/kadmind' --enable kerberos-adm
+}
+
+remove_servers() {
+	update-inetd --remove 'kerberos-adm[ \t].*[ \t]/usr/lib/heimdal-servers/kadmind'
+}
+
+# if already configured - dont reconfigure
+if [ ! -f /var/lib/heimdal-kdc/.configured ]
+then
+	# get default realm
+	# should use krb5-config setting???
+	if db_get krb5-config/default_realm && [ "x$RET" != "x" ]
+	then
+		default_realm="$RET"
+	else
+		default_realm=`hostname -d | tr a-z A-Z`
+	fi
+	db_fget heimdal/realm seen
+	if [ "$RET" != "true" ]; then
+		db_set heimdal/realm $default_realm
+	fi
+	db_subst heimdal/realm default_realm $default_realm
+	db_input medium heimdal/realm || true
+	db_go
+	db_get heimdal/realm; REALM="$RET"
+	
+	# get password
+	db_input medium heimdal-kdc/password || true
+	db_go
+	db_get heimdal-kdc/password; PASSWORD="$RET"
+	db_set heimdal-kdc/password ""
+	
+	DST=/var/lib/heimdal-kdc/kdc.conf
+	cp -a /usr/share/doc/heimdal-kdc/examples/kdc.conf $DST
+#	/usr/lib/heimdal-kdc/setconfig --file $DST --section realms::REALM.ORG =$REALM
+	
+	DST=/var/lib/heimdal-kdc/kadmind.acl
+	cp -a /usr/share/doc/heimdal-kdc/examples/kadmind.acl $DST
+	
+	kstash --master-key-fd=0 <<EOF
+$PASSWORD
+EOF
+	
+	echo -e "\n\n" | kadmin -l init $REALM > /dev/null
+	
+	touch /var/lib/heimdal-kdc/.configured
+fi
+
+case "$1" in
+abort-upgrade | abort-deconfigure | abort-remove)
+	enable_servers
+	;;
+configure)
+	if [ -n "$2" ] && dpkg --compare-versions "$2" ge 0.2l-4; then
+		enable_servers
+	else
+		remove_servers
+		add_servers
+	fi
+	;;
+*)
+	printf "$0: incorrect arguments: $*\n" >&2
+	exit 1
+	;;
+esac
+
+	
+#DEBHELPER#
--- heimdal-0.6.3.orig/debian/heimdal-kdc.postrm
+++ heimdal-0.6.3/debian/heimdal-kdc.postrm
@@ -0,0 +1,29 @@
+#!/bin/sh -e
+
+remove_servers() {
+	update-inetd --remove 'kerberos-adm[ \t].*[ \t]/usr/lib/heimdal-servers/kadmind'
+	update-inetd --remove 'krb_prop[ \t].*[ \t]/usr/sbin/hpropd'
+}
+
+case "$1" in
+abort-install | remove | abort-upgrade | upgrade | failed-upgrade | disappear)
+	;;
+purge)
+	# If netbase is not installed, then we don't need to do the remove.
+	if command -v update-inetd >/dev/null 2>&1; then
+		remove_servers
+	fi
+	;;
+*)
+	echo "$0: incorrect arguments: $*" >&2
+	exit 1
+	;;
+esac
+
+if [ "$1" = "purge" ]
+then
+	rm -f /var/log/heimdal-kdc* 
+	rm -rf /var/lib/heimdal-kdc
+fi
+
+#DEBHELPER#
--- heimdal-0.6.3.orig/debian/heimdal-kdc.prerm
+++ heimdal-0.6.3/debian/heimdal-kdc.prerm
@@ -0,0 +1,12 @@
+#!/bin/sh -e
+
+disable_servers() {
+	update-inetd --pattern '[ \t]/usr/lib/heimdal-servers/kadmind' --disable kerberos-adm
+	update-inetd --pattern '[ \t]/usr/sbin/hpropd' --disable krb_prop
+}
+
+if command -v update-inetd >/dev/null 2>&1; then
+	disable_servers
+fi
+
+#DEBHELPER#
--- heimdal-0.6.3.orig/debian/heimdal-kdc.templates
+++ heimdal-0.6.3/debian/heimdal-kdc.templates
@@ -0,0 +1,12 @@
+Template: heimdal/realm
+Type: string
+_Description: Local realm name:
+ Heimdal requires the name of your local realm. This is typically your
+ domain name in uppercase. eg if your hostname is host.org.com, then your
+ realm will become ORG.COM. The default for your host is ${default_realm}.
+
+Template: heimdal-kdc/password
+Type: password
+_Description: Password for KDC:
+ Heimdal can encrypt the KDC data with a password. A hashed representation
+ will be stored in /var/lib/heimdal-kdc/m-key.
--- heimdal-0.6.3.orig/debian/heimdal-servers-x.files
+++ heimdal-0.6.3/debian/heimdal-servers-x.files
@@ -0,0 +1,2 @@
+usr/lib/heimdal-servers/kxd
+usr/share/man/man8/kxd.8
--- heimdal-0.6.3.orig/debian/heimdal-servers-x.postrm
+++ heimdal-0.6.3/debian/heimdal-servers-x.postrm
@@ -0,0 +1,23 @@
+#!/bin/sh -e
+# $Id: heimdal-servers-x.postrm,v 1.2 1999/12/26 00:00:46 bam Exp $
+
+remove_servers() {
+	update-inetd --remove 'kx[ \t].*[ \t]/usr/lib/heimdal-servers/kxd'
+}
+
+case "$1" in
+abort-install | remove | abort-upgrade | upgrade | failed-upgrade | disappear)
+	;;
+purge)
+	# If netbase is not installed, then we don't need to do the remove.
+	if command -v update-inetd >/dev/null 2>&1; then
+		remove_servers
+	fi
+	;;
+*)
+	echo "$0: incorrect arguments: $*" >&2
+	exit 1
+	;;
+esac
+
+#DEBHELPER#
--- heimdal-0.6.3.orig/debian/heimdal-servers-x.prerm
+++ heimdal-0.6.3/debian/heimdal-servers-x.prerm
@@ -0,0 +1,11 @@
+#!/bin/sh -e
+
+disable_servers() {
+	update-inetd --pattern '[ \t]/usr/lib/heimdal-servers/kx' --disable kx
+}
+
+if command -v update-inetd >/dev/null 2>&1; then
+	disable_servers
+fi
+
+#DEBHELPER#
--- heimdal-0.6.3.orig/debian/heimdal-servers.files
+++ heimdal-0.6.3/debian/heimdal-servers.files
@@ -0,0 +1,3 @@
+usr/lib/heimdal-servers
+usr/share/man/man5/ftpusers.5
+usr/share/man/man8
--- heimdal-0.6.3.orig/debian/heimdal-servers.postinst
+++ heimdal-0.6.3/debian/heimdal-servers.postinst
@@ -0,0 +1,47 @@
+#!/bin/sh -e
+
+add_servers() {
+kshell_entry="kshell	stream	tcp	nowait	root	/usr/sbin/tcpd /usr/lib/heimdal-servers/rshd -k"
+   ftp_entry="ftp	stream	tcp	nowait	root	/usr/sbin/tcpd /usr/lib/heimdal-servers/ftpd -a plain"
+telnet_entry="telnet	stream	tcp	nowait	root	/usr/sbin/tcpd /usr/lib/heimdal-servers/telnetd -a none"
+ pop3_entry="pop-3	stream	tcp	nowait	root	/usr/sbin/tcpd /usr/lib/heimdal-servers/popper"
+
+	update-inetd --group KRB5 --add "$kshell_entry"
+	update-inetd --group KRB5 --add "$ftp_entry"
+	update-inetd --group KRB5 --add "$telnet_entry"
+	update-inetd --group KRB5 --add "$pop3_entry"
+}
+
+enable_servers() {
+	update-inetd --pattern '[ \t]/usr/lib/heimdal-servers/rshd' --enable kshell
+	update-inetd --pattern '[ \t]/usr/lib/heimdal-servers/ftpd' --enable ftp
+	update-inetd --pattern '[ \t]/usr/lib/heimdal-servers/telnetd' --enable telnet
+	update-inetd --pattern '[ \t]/usr/lib/heimdal-servers/popper' --enable pop-3
+}
+
+remove_servers() {
+	update-inetd --remove 'kshell[ \t].*[ \t]/usr/lib/heimdal-servers/rshd'
+	update-inetd --remove 'ftp[ \t].*[ \t]/usr/lib/heimdal-servers/ftpd'
+	update-inetd --remove 'telnet[ \t].*[ \t]/usr/lib/heimdal-servers/telnetd'
+	update-inetd --remove 'pop-3[ \t].*[ \t]/usr/lib/heimdal-servers/popper'
+}
+
+case "$1" in
+abort-upgrade | abort-deconfigure | abort-remove)
+	enable_servers
+	;;
+configure)
+	if [ -n "$2" ] && dpkg --compare-versions "$2" ge 0.3e-4; then
+		enable_servers
+	else
+		remove_servers
+		add_servers
+	fi
+	;;
+*)
+	printf "$0: incorrect arguments: $*\n" >&2
+	exit 1
+	;;
+esac
+
+#DEBHELPER#
--- heimdal-0.6.3.orig/debian/heimdal-servers.postrm
+++ heimdal-0.6.3/debian/heimdal-servers.postrm
@@ -0,0 +1,26 @@
+#!/bin/sh -e
+# $Id: heimdal-servers.postrm,v 1.4 1999/12/26 01:51:03 bam Exp $
+
+remove_servers() {
+	update-inetd --remove 'kshell[ \t].*[ \t]/usr/lib/heimdal-servers/rshd'
+	update-inetd --remove 'ftp[ \t].*[ \t]/usr/lib/heimdal-servers/ftpd'
+	update-inetd --remove 'telnet[ \t].*[ \t]/usr/lib/heimdal-servers/telnetd'
+	update-inetd --remove 'pop-3[ \t].*[ \t]/usr/lib/heimdal-servers/popper'
+}
+
+case "$1" in
+abort-install | remove | abort-upgrade | upgrade | failed-upgrade | disappear)
+	;;
+purge)
+	# If netbase is not installed, then we don't need to do the remove.
+	if command -v update-inetd >/dev/null 2>&1; then
+		remove_servers
+	fi
+	;;
+*)
+	echo "$0: incorrect arguments: $*" >&2
+	exit 1
+	;;
+esac
+
+#DEBHELPER#
--- heimdal-0.6.3.orig/debian/heimdal-servers.prerm
+++ heimdal-0.6.3/debian/heimdal-servers.prerm
@@ -0,0 +1,14 @@
+#!/bin/sh -e
+
+disable_servers() {
+	update-inetd --pattern '[ \t]/usr/lib/heimdal-servers/rshd' --disable kshell
+	update-inetd --pattern '[ \t]/usr/lib/heimdal-servers/ftpd' --disable ftp
+	update-inetd --pattern '[ \t]/usr/lib/heimdal-servers/telnetd' --disable telnet
+	update-inetd --pattern '[ \t]/usr/lib/heimdal-servers/popper' --disable pop-3
+}
+
+if command -v update-inetd >/dev/null 2>&1; then
+	disable_servers
+fi
+
+#DEBHELPER#
--- heimdal-0.6.3.orig/debian/po/de.po
+++ heimdal-0.6.3/debian/po/de.po
@@ -0,0 +1,61 @@
+#
+#    Translators, if you are not familiar with the PO format, gettext
+#    documentation is worth reading, especially sections dedicated to
+#    this format, e.g. by running:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#    Some information specific to po-debconf are available at
+#            /usr/share/doc/po-debconf/README-trans
+#         or http://www.debian.org/intl/l10n/po-debconf/README-trans#
+#    Developers do not need to manually edit POT or PO files.
+# Erik Schanze <mail@erikschanze.de>, 2004.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: heimdal_0.6.3-4_de\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2004-02-27 10:15-0800\n"
+"PO-Revision-Date: 2004-12-05 23:49+0100\n"
+"Last-Translator: Erik Schanze <mail@erikschanze.de>\n"
+"Language-Team: German <debian-l10n-german@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.3.1\n"
+"Plural-Forms:  nplurals=2; plural=(n != 1);\n"
+
+#. Type: string
+#. Description
+#: ../heimdal-kdc.templates:3
+msgid "Local realm name:"
+msgstr "Ihr \"local realm\"-Name:"
+
+#. Type: string
+#. Description
+#: ../heimdal-kdc.templates:3
+msgid ""
+"Heimdal requires the name of your local realm. This is typically your domain "
+"name in uppercase. eg if your hostname is host.org.com, then your realm will "
+"become ORG.COM. The default for your host is ${default_realm}."
+msgstr ""
+"Heimdal benÃ¶tigt den Namen Ihres \"local realm\", bzw. lokalen Reichs. Das "
+"ist Ã¼blicherweise Ihr DomÃ¤nen-Name in GroÃŸbuchstaben. Wenn z.B. Ihr "
+"Rechnername \"host.org.com\" lautet, dann ist Ihr realm \"ORG.COM\". Die "
+"Standardeinstellung fÃ¼r Ihren Rechner ist ${default_realm}."
+
+#. Type: password
+#. Description
+#: ../heimdal-kdc.templates:10
+msgid "Password for KDC:"
+msgstr "Passwort fÃ¼r KDC:"
+
+#. Type: password
+#. Description
+#: ../heimdal-kdc.templates:10
+msgid ""
+"Heimdal can encrypt the KDC data with a password. A hashed representation "
+"will be stored in /var/lib/heimdal-kdc/m-key."
+msgstr ""
+"Heimdal kann die Daten des KDC mit einem Passwort verschlÃ¼sseln. Ein Hash "
+"davon wird in der Datei /var/lib/heimdal-kdc/m-key abgelegt."
+
--- heimdal-0.6.3.orig/debian/po/POTFILES.in
+++ heimdal-0.6.3/debian/po/POTFILES.in
@@ -0,0 +1 @@
+[type: gettext/rfc822deb] heimdal-kdc.templates
--- heimdal-0.6.3.orig/debian/po/ru.po
+++ heimdal-0.6.3/debian/po/ru.po
@@ -0,0 +1,59 @@
+#
+#    Translators, if you are not familiar with the PO format, gettext
+#    documentation is worth reading, especially sections dedicated to
+#    this format, e.g. by running:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#
+#    Some information specific to po-debconf are available at
+#            /usr/share/doc/po-debconf/README-trans
+#         or http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+#    Developers do not need to manually edit POT or PO files.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: heimdal 0.4e-7\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2004-02-27 10:15-0800\n"
+"PO-Revision-Date: 2002-03-10 08:03+0500\n"
+"Last-Translator: Ilgiz Kalmetev <ilgiz@bashtelecom.ru>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=KOI8-R\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: string
+#. Description
+#: ../heimdal-kdc.templates:3
+#, fuzzy
+msgid "Local realm name:"
+msgstr "éÍÑ ÍÅÓÔÎÏÊ ÏÂÌÁÓÔÉ?"
+
+#. Type: string
+#. Description
+#: ../heimdal-kdc.templates:3
+msgid ""
+"Heimdal requires the name of your local realm. This is typically your domain "
+"name in uppercase. eg if your hostname is host.org.com, then your realm will "
+"become ORG.COM. The default for your host is ${default_realm}."
+msgstr ""
+"Heimdal ÔÒÅÂÕÅÔ ÉÍÑ ×ÁÛÅÊ ÍÅÓÔÎÏÊ ÏÂÌÁÓÔÉ. üÔÏ ÏÂÙÞÎÏ ×ÁÛÅ ÄÏÍÅÎÎÏÅ ÉÍÑ, "
+"ÎÁÐÉÓÁÎÎÏÅ ÐÒÏÐÉÓÎÙÍÉ ÂÕË×ÁÍÉ. îÁÐÒ., ÅÓÌÉ ÉÍÑ ×ÁÛÅÇÏ ÈÏÓÔÁ host.org.com, "
+"ÔÏÇÄÁ ×ÁÛÅÊ ÏÂÌÁÓÔØÀ ÂÕÄÅÔ ORG.COM. ïÂÌÁÓÔØÀ ÐÏ ÕÍÏÌÞÁÎÉÀ ÄÌÑ ×ÁÛÅÇÏ ÈÏÓÔÁ "
+"Ñ×ÌÑÅÔÓÑ ${default_realm}."
+
+#. Type: password
+#. Description
+#: ../heimdal-kdc.templates:10
+msgid "Password for KDC:"
+msgstr ""
+
+#. Type: password
+#. Description
+#: ../heimdal-kdc.templates:10
+msgid ""
+"Heimdal can encrypt the KDC data with a password. A hashed representation "
+"will be stored in /var/lib/heimdal-kdc/m-key."
+msgstr ""
--- heimdal-0.6.3.orig/debian/po/sv.po
+++ heimdal-0.6.3/debian/po/sv.po
@@ -0,0 +1,58 @@
+#
+#    Translators, if you are not familiar with the PO format, gettext
+#    documentation is worth reading, especially sections dedicated to
+#    this format, e.g. by running:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#
+#    Some information specific to po-debconf are available at
+#            /usr/share/doc/po-debconf/README-trans
+#         or http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+#    Developers do not need to manually edit POT or PO files.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: heimdal 0.3d-6\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2004-02-27 10:15-0800\n"
+"PO-Revision-Date: 2001-01-25 16:49+0100\n"
+"Last-Translator: André Dahlqvist <anedah-9@sm.luth.se>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: string
+#. Description
+#: ../heimdal-kdc.templates:3
+#, fuzzy
+msgid "Local realm name:"
+msgstr "Namn på lokala sfären?"
+
+#. Type: string
+#. Description
+#: ../heimdal-kdc.templates:3
+msgid ""
+"Heimdal requires the name of your local realm. This is typically your domain "
+"name in uppercase. eg if your hostname is host.org.com, then your realm will "
+"become ORG.COM. The default for your host is ${default_realm}."
+msgstr ""
+"Heimdal kräver namnet på din lokala sfär. Detta är vanligtvis ditt domännamn "
+"i versaler. Ex. om ditt värdnamn är host.org.com, då är din sfär ORG.COM. "
+"Som standard är ditt värdnamn ${default_realm}."
+
+#. Type: password
+#. Description
+#: ../heimdal-kdc.templates:10
+msgid "Password for KDC:"
+msgstr ""
+
+#. Type: password
+#. Description
+#: ../heimdal-kdc.templates:10
+msgid ""
+"Heimdal can encrypt the KDC data with a password. A hashed representation "
+"will be stored in /var/lib/heimdal-kdc/m-key."
+msgstr ""
--- heimdal-0.6.3.orig/debian/po/templates.pot
+++ heimdal-0.6.3/debian/po/templates.pot
@@ -0,0 +1,54 @@
+#
+#    Translators, if you are not familiar with the PO format, gettext
+#    documentation is worth reading, especially sections dedicated to
+#    this format, e.g. by running:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#
+#    Some information specific to po-debconf are available at
+#            /usr/share/doc/po-debconf/README-trans
+#         or http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+#    Developers do not need to manually edit POT or PO files.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2004-02-27 10:15-0800\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: string
+#. Description
+#: ../heimdal-kdc.templates:3
+msgid "Local realm name:"
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../heimdal-kdc.templates:3
+msgid ""
+"Heimdal requires the name of your local realm. This is typically your domain "
+"name in uppercase. eg if your hostname is host.org.com, then your realm will "
+"become ORG.COM. The default for your host is ${default_realm}."
+msgstr ""
+
+#. Type: password
+#. Description
+#: ../heimdal-kdc.templates:10
+msgid "Password for KDC:"
+msgstr ""
+
+#. Type: password
+#. Description
+#: ../heimdal-kdc.templates:10
+msgid ""
+"Heimdal can encrypt the KDC data with a password. A hashed representation "
+"will be stored in /var/lib/heimdal-kdc/m-key."
+msgstr ""
--- heimdal-0.6.3.orig/debian/po/fr.po
+++ heimdal-0.6.3/debian/po/fr.po
@@ -0,0 +1,58 @@
+#
+#    Translators, if you are not familiar with the PO format, gettext
+#    documentation is worth reading, especially sections dedicated to
+#    this format, e.g. by running:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#
+#    Some information specific to po-debconf are available at
+#            /usr/share/doc/po-debconf/README-trans
+#         or http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+#    Developers do not need to manually edit POT or PO files.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: heimdal 0.6-7\n"
+"POT-Creation-Date: 2004-02-27 10:15-0800\n"
+"PO-Revision-Date: 2004-03-02 11:40+0100\n"
+"Last-Translator: Rémi Pannequin <remi.pannequin@laposte.net>\n"
+"Language-Team: French <debian-l10n-french@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=iso-8859-15\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: string
+#. Description
+#: ../heimdal-kdc.templates:3
+msgid "Local realm name:"
+msgstr "Nom de l'aire (« realm ») locale :"
+
+#. Type: string
+#. Description
+#: ../heimdal-kdc.templates:3
+msgid ""
+"Heimdal requires the name of your local realm. This is typically your domain "
+"name in uppercase. eg if your hostname is host.org.com, then your realm will "
+"become ORG.COM. The default for your host is ${default_realm}."
+msgstr ""
+"Typiquement, le nom de l'aire (« realm ») est votre nom de domaine, en "
+"lettres majuscules. Par exemple, si votre nom d'hôte est « host.org.com », "
+"alors le nom de l'aire sera « ORG.COM ». La valeur par défaut pour votre "
+"hôte est « ${default_realm} »."
+
+#. Type: password
+#. Description
+#: ../heimdal-kdc.templates:10
+msgid "Password for KDC:"
+msgstr "Mot de passe pour KDC :"
+
+#. Type: password
+#. Description
+#: ../heimdal-kdc.templates:10
+msgid ""
+"Heimdal can encrypt the KDC data with a password. A hashed representation "
+"will be stored in /var/lib/heimdal-kdc/m-key."
+msgstr ""
+"Heimdal peut chiffrer les données KDC avec un mot de passe. Une "
+"représentation hachée sera enregistrée dans « /var/lib/heimdal-kdc/m-key »."
--- heimdal-0.6.3.orig/debian/po/nl.po
+++ heimdal-0.6.3/debian/po/nl.po
@@ -0,0 +1,48 @@
+#

+#    Translators, if you are not familiar with the PO format, gettext

+#    documentation is worth reading, especially sections dedicated to

+#    this format, e.g. by running:

+#         info -n '(gettext)PO Files'

+#         info -n '(gettext)Header Entry'

+#

+#    Some information specific to po-debconf are available at

+#            /usr/share/doc/po-debconf/README-trans

+#         or http://www.debian.org/intl/l10n/po-debconf/README-trans

+#

+#    Developers do not need to manually edit POT or PO files.

+#

+msgid ""

+msgstr ""

+"Project-Id-Version: heimdal 0.6.2-3\n"

+"POT-Creation-Date: 2004-02-27 10:15-0800\n"

+"PO-Revision-Date: 2004-08-01 14:39+0100\n"

+"Last-Translator: Luk Claes <luk.claes@ugent.be>\n"

+"Language-Team: Debian l10n Dutch <debian-l10n-dutch@lists.debian.org>\n"

+"MIME-Version: 1.0\n"

+"Content-Type: text/plain; charset=iso-8859-1\n"

+"Content-Transfer-Encoding: 8bit\n"

+

+#. Type: string

+#. Description

+#: ../heimdal-kdc.templates:3

+msgid "Local realm name:"

+msgstr "Lokale realm-naam:"

+

+#. Type: string

+#. Description

+#: ../heimdal-kdc.templates:3

+msgid "Heimdal requires the name of your local realm. This is typically your domain name in uppercase. eg if your hostname is host.org.com, then your realm will become ORG.COM. The default for your host is ${default_realm}."

+msgstr "Heimdal heeft de naam van uw lokale realm nodig. Dit is typisch uw domeinnaam in hoofdletters, bijvoorbeeld als uw computernaam host.example.com is, dan zal uw realm EXAMPLE.COM zijn. De standaard voor uw computer is ${default_realm}."

+

+#. Type: password

+#. Description

+#: ../heimdal-kdc.templates:10

+msgid "Password for KDC:"

+msgstr "Wachtwoord voor KDC:"

+

+#. Type: password

+#. Description

+#: ../heimdal-kdc.templates:10

+msgid "Heimdal can encrypt the KDC data with a password. A hashed representation will be stored in /var/lib/heimdal-kdc/m-key."

+msgstr "Heimdal kan de KDC-data versleutelen met een wachtwoord. Er zal een gehashte representatie worden bewaard in /var/lib/heimdal-kdc/m-key."

+

--- heimdal-0.6.3.orig/debian/po/pt_BR.po
+++ heimdal-0.6.3/debian/po/pt_BR.po
@@ -0,0 +1,60 @@
+#
+#    Translators, if you are not familiar with the PO format, gettext
+#    documentation is worth reading, especially sections dedicated to
+#    this format, e.g. by running:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#
+#    Some information specific to po-debconf are available at
+#            /usr/share/doc/po-debconf/README-trans
+#         or http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+#    Developers do not need to manually edit POT or PO files.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: heimdal\n"
+"Report-Msgid-Bugs-To: debian-l10n-portuguese@lists.debian.org\n"
+"POT-Creation-Date: 2004-02-27 10:15-0800\n"
+"PO-Revision-Date: 2004-10-28 20:46-0300\n"
+"Last-Translator: André Luís Lopes <andrelop@debian.org>\n"
+"Language-Team: Debian-BR Project <debian-l10n-portuguese@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: string
+#. Description
+#: ../heimdal-kdc.templates:3
+msgid "Local realm name:"
+msgstr "Nome do realm local : "
+
+#. Type: string
+#. Description
+#: ../heimdal-kdc.templates:3
+msgid ""
+"Heimdal requires the name of your local realm. This is typically your domain "
+"name in uppercase. eg if your hostname is host.org.com, then your realm will "
+"become ORG.COM. The default for your host is ${default_realm}."
+msgstr ""
+"O Heimdal requer o nome de seu realm local. Esse nome é, tipicamente, "
+"o nome de seu domínio em letras maiúsculas. Por exemplo, se seu hostname "
+"é host.org.com, seu realm seria ORG.COM. O padrão para seu host é "
+"${default_realm}."
+
+#. Type: password
+#. Description
+#: ../heimdal-kdc.templates:10
+msgid "Password for KDC:"
+msgstr "Senha para o KDC : "
+
+#. Type: password
+#. Description
+#: ../heimdal-kdc.templates:10
+msgid ""
+"Heimdal can encrypt the KDC data with a password. A hashed representation "
+"will be stored in /var/lib/heimdal-kdc/m-key."
+msgstr ""
+"O Heimdal pode encriptar os dados do KDC com uma senha. Uma representação "
+"submetida a um processo de hashing será armazenada em "
+"/var/lib/heimdal-kdc/m-key."
--- heimdal-0.6.3.orig/debian/po/da.po
+++ heimdal-0.6.3/debian/po/da.po
@@ -0,0 +1,59 @@
+#
+#    Translators, if you are not familiar with the PO format, gettext
+#    documentation is worth reading, especially sections dedicated to
+#    this format, e.g. by running:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#    Some information specific to po-debconf are available at
+#            /usr/share/doc/po-debconf/README-trans
+#         or http://www.debian.org/intl/l10n/po-debconf/README-trans#
+#    Developers do not need to manually edit POT or PO files.
+# Claus Hindsgaul <claus_h@image.dk>, 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: heimdal debconf\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2004-02-27 10:15-0800\n"
+"PO-Revision-Date: 2005-02-26 10:15+0100\n"
+"Last-Translator: Claus Hindsgaul <claus_h@image.dk>\n"
+"Language-Team: Danish <dansk@klid.dk>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.9.1\n"
+
+#. Type: string
+#. Description
+#: ../heimdal-kdc.templates:3
+msgid "Local realm name:"
+msgstr "okalt områdenavn:"
+
+#. Type: string
+#. Description
+#: ../heimdal-kdc.templates:3
+msgid ""
+"Heimdal requires the name of your local realm. This is typically your domain "
+"name in uppercase. eg if your hostname is host.org.com, then your realm will "
+"become ORG.COM. The default for your host is ${default_realm}."
+msgstr ""
+"Heimdal skal bruge navnet på dit lokale område (\"realm\"). Det er typisk dit "
+"domænenavn skrevet med store bogstaver. Hvis dit værtsnavn f.eks. er maskine.org.dk, "
+"vil dit område blive til ORG.DK. Standardværdien for din maskine er ${default_realm}."
+
+#. Type: password
+#. Description
+#: ../heimdal-kdc.templates:10
+msgid "Password for KDC:"
+msgstr "Adgangskode for KDC:"
+
+#. Type: password
+#. Description
+#: ../heimdal-kdc.templates:10
+msgid ""
+"Heimdal can encrypt the KDC data with a password. A hashed representation "
+"will be stored in /var/lib/heimdal-kdc/m-key."
+msgstr ""
+"Heimdal kan kryptere KDC-dataene med en adgangskode. Det vil blive gemt i en "
+"sløret udgave i /var/lib/heimdal-kdc/m-key."
+
--- heimdal-0.6.3.orig/debian/po/ja.po
+++ heimdal-0.6.3/debian/po/ja.po
@@ -0,0 +1,53 @@
+#
+#    Translators, if you are not familiar with the PO format, gettext
+#    documentation is worth reading, especially sections dedicated to
+#    this format, e.g. by running:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#
+#    Some information specific to po-debconf are available at
+#            /usr/share/doc/po-debconf/README-trans
+#         or http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+#    Developers do not need to manually edit POT or PO files.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: heimdal\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2004-02-27 10:15-0800\n"
+"PO-Revision-Date: 2005-04-01 09:34+0900\n"
+"Last-Translator: Kenshi Muto <kmuto@debian.org>\n"
+"Language-Team: Japanese <debian-japanese@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=EUC-JP\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: string
+#. Description
+#: ../heimdal-kdc.templates:3
+msgid "Local realm name:"
+msgstr "¥í¡¼¥«¥ë¥ì¥ë¥àÌ¾:"
+
+#. Type: string
+#. Description
+#: ../heimdal-kdc.templates:3
+msgid ""
+"Heimdal requires the name of your local realm. This is typically your domain "
+"name in uppercase. eg if your hostname is host.org.com, then your realm will "
+"become ORG.COM. The default for your host is ${default_realm}."
+msgstr "Heimdal ¤Ï¤¢¤Ê¤¿¤Î¥í¡¼¥«¥ë¥ì¥ë¥àÌ¾¤òÉ¬Í×¤È¤·¤Þ¤¹¡£¤³¤ì¤ÏÄÌ¾ï¡¢¤¢¤Ê¤¿¤Î¥É¥á¥¤¥óÌ¾¤òÂçÊ¸»ú¤Çµ­¤·¤¿¤â¤Î¤Ç¤¹¡£¤¿¤È¤¨¤Ð¤â¤·¤¢¤Ê¤¿¤Î¥Û¥¹¥È¤¬ host.org.com ¤Ê¤é¡¢¤¢¤Ê¤¿¤Î¥ì¥ë¥à¤Ï ORG.COM ¤È¤Ê¤ê¤Þ¤¹¡£¤¢¤Ê¤¿¤Î¥Û¥¹¥È¤Î¥Ç¥Õ¥©¥ë¥È¤Ï¡¢${default_realm} ¤Ç¤¹¡£"
+
+#. Type: password
+#. Description
+#: ../heimdal-kdc.templates:10
+msgid "Password for KDC:"
+msgstr "KDC ¤Î¥Ñ¥¹¥ï¡¼¥É:"
+
+#. Type: password
+#. Description
+#: ../heimdal-kdc.templates:10
+msgid ""
+"Heimdal can encrypt the KDC data with a password. A hashed representation "
+"will be stored in /var/lib/heimdal-kdc/m-key."
+msgstr "Heimdal ¤Ï KDC ¥Ç¡¼¥¿¤ò¥Ñ¥¹¥ï¡¼¥É¤Ç°Å¹æ²½¤Ç¤­¤Þ¤¹¡£¥Ï¥Ã¥·¥åÉ½¸½¤¬ /var/lib/heimdal-kdc/m-key ¤Ë³ÊÇ¼¤µ¤ì¤Þ¤¹¡£"
--- heimdal-0.6.3.orig/debian/patches-0.6.1/011_sharedlibs
+++ heimdal-0.6.3/debian/patches-0.6.1/011_sharedlibs
@@ -0,0 +1,43 @@
+diff -ruN heimdal-0.6.1-old/lib/editline/Makefile.am heimdal-0.6.1/lib/editline/Makefile.am
+--- heimdal-0.6.1-old/lib/editline/Makefile.am	Wed Nov 15 10:22:29 2000
++++ heimdal-0.6.1/lib/editline/Makefile.am	Thu Nov 15 11:59:31 2001
+@@ -38,13 +38,13 @@
+ 	unix.h \
+ 	$(EXTRA_SOURCE)
+ 
+-libeditline_la_LDFLAGS = -static
++libeditline_la_LDFLAGS = -no-undefined
+ 
+ EXTRA_SOURCE = $(ES) 
+ 
+ libel_compat_la_SOURCES = edit_compat.c
+ 
+-libel_compat_la_LDFLAGS = -static
++libel_compat_la_LDFLAGS = -no-undefined
+ 
+ EXTRA_DIST = $(man_MANS)
+ 
+diff -ruN heimdal-0.6.1-old/tools/krb5-config.in heimdal-0.6.1/tools/krb5-config.in
+--- heimdal-0.6.1-old/tools/krb5-config.in	Mon Jan 29 17:56:51 2001
++++ heimdal-0.6.1/tools/krb5-config.in	Thu Nov 15 11:59:31 2001
+@@ -89,6 +89,9 @@
+ if test "$do_libs" = "yes"; then
+     lib_flags="-L${libdir}"
+     case $library in
++    krb5)
++	lib_flags="$lib_flags -lkrb5"
++	;;
+     gssapi)
+ 	lib_flags="$lib_flags -lgssapi"
+ 	;;
+@@ -99,8 +102,8 @@
+ 	lib_flags="$lib_flags -lkadm5srv"
+ 	;;
+     esac
+-    lib_flags="$lib_flags -lkrb5 -lasn1 @LIB_des_appl@ -lroken"
+-    lib_flags="$lib_flags @LIB_crypt@ @LIB_dbopen@ @LIBS@"
++#    lib_flags="$lib_flags -lkrb5 -lasn1 @LIB_des_appl@ -lroken"
++#    lib_flags="$lib_flags @LIB_crypt@ @LIB_dbopen@ @LIBS@"
+     echo $lib_flags
+ fi
+ if test "$do_cflags" = "yes"; then
--- heimdal-0.6.3.orig/debian/patches-0.6.1/020_maintainermode
+++ heimdal-0.6.3/debian/patches-0.6.1/020_maintainermode
@@ -0,0 +1,11 @@
+diff -ruN heimdal-0.6.1-old/configure.in heimdal-0.6.1/configure.in
+--- heimdal-0.6.1-old/configure.in	Sun Sep 29 10:38:42 2002
++++ heimdal-0.6.1/configure.in	Sun Sep 29 10:39:08 2002
+@@ -3,6 +3,7 @@
+ AC_PREREQ(2.53)
+ #test -z "$CFLAGS" && CFLAGS="-g"
+ AC_INIT([Heimdal], [0.6.1], [heimdal-bugs@pdc.kth.se])
++AM_MAINTAINER_MODE
+ AC_CONFIG_SRCDIR([kuser/kinit.c])
+ AM_CONFIG_HEADER(include/config.h)
+ 
--- heimdal-0.6.3.orig/debian/patches-0.6.1/012_sharedlibs
+++ heimdal-0.6.3/debian/patches-0.6.1/012_sharedlibs
@@ -0,0 +1,342 @@
+diff -ruN heimdal-0.6.1-old/admin/Makefile.am heimdal-0.6.1/admin/Makefile.am
+--- heimdal-0.6.1-old/admin/Makefile.am	Tue Aug 28 18:31:19 2001
++++ heimdal-0.6.1/admin/Makefile.am	Thu Aug 28 15:37:16 2003
+@@ -24,6 +24,6 @@
+ 	$(top_builddir)/lib/krb5/libkrb5.la \
+ 	$(LIB_des) \
+ 	$(top_builddir)/lib/asn1/libasn1.la \
+-	$(top_builddir)/lib/sl/libsl.la \
++	$(LIB_sl) \
+ 	$(LIB_readline) \
+ 	$(LIB_roken)
+diff -ruN heimdal-0.6.1-old/appl/otp/Makefile.am heimdal-0.6.1/appl/otp/Makefile.am
+--- heimdal-0.6.1-old/appl/otp/Makefile.am	Tue Aug 28 18:31:21 2001
++++ heimdal-0.6.1/appl/otp/Makefile.am	Thu Aug 28 15:37:16 2003
+@@ -12,4 +12,4 @@
+ man_MANS = otp.1  otpprint.1
+ 
+ LDADD = \
+-	$(top_builddir)/lib/otp/libotp.la
++	$(LIB_otp)
+diff -ruN heimdal-0.6.1-old/cf/Makefile.am.common heimdal-0.6.1/cf/Makefile.am.common
+--- heimdal-0.6.1-old/cf/Makefile.am.common	Fri May  9 03:08:09 2003
++++ heimdal-0.6.1/cf/Makefile.am.common	Thu Aug 28 15:37:16 2003
+@@ -57,6 +57,17 @@
+ INCLUDE_readline = @INCLUDE_readline@
+ LIB_readline = @LIB_readline@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++LIB_roken = @LIB_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++LIB_com_err = @LIB_com_err@
++INCLUDE_sl = @INCLUDE_sl@
++LIB_sl = @LIB_sl@
++INCLUDE_ss = @INCLUDE_ss@
++LIB_ss = @LIB_ss@
++INCLUDE_otp = @INCLUDE_otp@
++LIB_otp = @LIB_otp@
++
+ LEXLIB = @LEXLIB@
+ 
+ install-suid-programs:
+diff -ruN heimdal-0.6.1-old/cf/krb-readline.m4 heimdal-0.6.1/cf/krb-readline.m4
+--- heimdal-0.6.1-old/cf/krb-readline.m4	Thu Aug 29 12:22:32 2002
++++ heimdal-0.6.1/cf/krb-readline.m4	Thu Aug 28 15:37:16 2003
+@@ -28,8 +28,10 @@
+ 	:
+ elif test "$ac_cv_func_el_init" = yes; then
+ 	ac_foo=yes
++	DIR_readline="editline"
+ 	LIB_readline="\$(top_builddir)/lib/editline/libel_compat.la \$(LIB_el_init) \$(LIB_tgetent)"
+ else
++	DIR_readline="editline"
+ 	LIB_readline="\$(top_builddir)/lib/editline/libeditline.la \$(LIB_tgetent)"
+ fi
+ AM_CONDITIONAL(el_compat, test "$ac_foo" = yes)
+diff -ruN heimdal-0.6.1-old/cf/otp.m4 heimdal-0.6.1/cf/otp.m4
+--- heimdal-0.6.1-old/cf/otp.m4	Mon May 20 06:51:08 2002
++++ heimdal-0.6.1/cf/otp.m4	Thu Aug 28 15:37:16 2003
+@@ -18,8 +18,6 @@
+ fi
+ if test "$enable_otp" = yes; then
+ 	AC_DEFINE(OTP, 1, [Define if you want OTP support in applications.])
+-	LIB_otp='$(top_builddir)/lib/otp/libotp.la'
+-	AC_SUBST(LIB_otp)
+ fi
+ AC_MSG_CHECKING([whether to enable OTP library])
+ AC_MSG_RESULT($enable_otp)
+diff -ruN heimdal-0.6.1-old/cf/roken-frag.m4 heimdal-0.6.1/cf/roken-frag.m4
+--- heimdal-0.6.1-old/cf/roken-frag.m4	Thu Dec 19 04:34:25 2002
++++ heimdal-0.6.1/cf/roken-frag.m4	Thu Aug 28 15:37:16 2003
+@@ -8,9 +8,9 @@
+ 
+ AC_REQUIRE([rk_CONFIG_HEADER])
+ 
+-DIR_roken=roken
+-LIB_roken='$(top_builddir)/$1/libroken.la'
+-INCLUDES_roken='-I$(top_builddir)/$1 -I$(top_srcdir)/$1'
++dnl DIR_roken=roken
++dnl LIB_roken='$(top_builddir)/$1/libroken.la'
++dnl INCLUDES_roken='-I$(top_builddir)/$1 -I$(top_srcdir)/$1'
+ 
+ dnl Checks for programs
+ AC_REQUIRE([AC_PROG_CC])
+@@ -643,9 +643,9 @@
+ dnl moved to AC_OUTPUT in configure.in
+ dnl AC_CONFIG_FILES($1/Makefile)
+ 
+-LIB_roken="${LIB_roken} \$(LIB_crypt) \$(LIB_dbopen)"
++dnl LIB_roken="${LIB_roken} \$(LIB_crypt) \$(LIB_dbopen)"
+ 
+-AC_SUBST(DIR_roken)dnl
+-AC_SUBST(LIB_roken)dnl
+-AC_SUBST(INCLUDES_roken)dnl
++dnl AC_SUBST(DIR_roken)dnl
++dnl AC_SUBST(LIB_roken)dnl
++dnl AC_SUBST(INCLUDES_roken)dnl
+ ])
+diff -ruN heimdal-0.6.1-old/cf/roken.m4 heimdal-0.6.1/cf/roken.m4
+--- heimdal-0.6.1-old/cf/roken.m4	Wed May  1 02:46:33 2002
++++ heimdal-0.6.1/cf/roken.m4	Thu Aug 28 15:37:16 2003
+@@ -34,10 +34,10 @@
+ 
+ AC_TRY_CPP(
+ [#include <roken.h>
+-#if ROKEN_VERSION < $1
+-#error old roken version, should be $1
+-fail
+-#endif
++//#if ROKEN_VERSION < $1
++//#error old roken version, should be $1
++//fail
++//#endif
+ ],[roken_installed=yes; break])
+ 
+ AC_MSG_RESULT($roken_installed)
+@@ -50,12 +50,13 @@
+   DIR_roken="roken"
+   LIB_roken='$4'
+   CPPFLAGS_roken='$5'
+-  AC_CONFIG_SUBDIRS(lib/roken)
++dnl  AC_CONFIG_SUBDIRS(lib/roken)
+ else
+   LIB_roken="$i/lib/libroken.la"
+   CPPFLAGS_roken="-I$i/include"
+ fi
+ 
++AC_FIND_FUNC_NO_LIBS(crypt, crypt)dnl
+ LIB_roken="${LIB_roken} \$(LIB_crypt) \$(LIB_dbopen)"
+ 
+ AC_SUBST(LIB_roken)dnl
+diff -ruN heimdal-0.6.1-old/cf/test-package.m4 heimdal-0.6.1/cf/test-package.m4
+--- heimdal-0.6.1-old/cf/test-package.m4	Wed Sep 11 01:23:38 2002
++++ heimdal-0.6.1/cf/test-package.m4	Thu Aug 28 15:37:16 2003
+@@ -37,7 +37,7 @@
+ 
+ header_dirs=
+ lib_dirs=
+-for i in $d; do
++for i in $d /usr; do
+ 	if test "$with_$1_include" = ""; then
+ 		if test -d "$i/include/$1"; then
+ 			header_dirs="$header_dirs $i/include/$1"
+@@ -100,6 +100,7 @@
+ 			AC_TRY_LINK([$2],,lres=$i;break)
+ 		done
+ 		if test "$ires" -a "$lres" -a "$with_$1" != "no"; then
++			DIR_$1=
+ 			INCLUDE_$1="-I$ires"
+ 			LIB_$1="-L$lres $3 $4"
+ 			found=yes
+@@ -115,11 +116,13 @@
+ 	with_$1=yes
+ else
+ 	with_$1=no
++	DIR_$1=
+ 	INCLUDE_$1=
+ 	LIB_$1=
+ 	AC_MSG_RESULT(no)
+ fi
+ 
++AC_SUBST(DIR_$1)
+ AC_SUBST(INCLUDE_$1)
+ AC_SUBST(LIB_$1)
+ ])
+diff -ruN heimdal-0.6.1-old/configure.in heimdal-0.6.1/configure.in
+--- heimdal-0.6.1-old/configure.in	Tue May 13 01:26:39 2003
++++ heimdal-0.6.1/configure.in	Thu Aug 28 15:37:16 2003
+@@ -187,9 +187,10 @@
+ 
+ rk_DB
+ 
+-dnl AC_ROKEN(10,[/usr/heimdal /usr/athena],[lib/roken],[$(top_builddir)/lib/roken/libroken.la],[-I$(top_builddir)/lib/roken -I$(top_srcdir)/lib/roken])
+-
+-rk_ROKEN(lib/roken)
++AC_ROKEN(10,[/usr/heimdal /usr/athena],[lib/roken],[$(top_builddir)/lib/roken/libroken.la],[-I$(top_builddir)/lib/roken -I$(top_srcdir)/lib/roken])
++#if ! test "$roken_installed" = yes; then
++	rk_ROKEN(lib/roken)
++#fi
+ LIB_roken="\$(top_builddir)/lib/vers/libvers.la $LIB_roken"
+ 
+ rk_OTP
+@@ -209,6 +210,26 @@
+  #include <readline.h>],-lreadline,,, READLINE)
+ 
+ rk_TEST_PACKAGE(hesiod,[#include <hesiod.h>],-lhesiod,,, HESIOD)
++
++rk_TEST_PACKAGE(sl,,-lsl,,,SL)
++if ! test "$with_sl" = yes; then
++	DIR_sl="sl"
++	LIB_sl='$(top_builddir)/lib/sl/libsl.la'
++fi
++rk_TEST_PACKAGE(ss,,-lss,,,SS)
++if ! test "$with_sl" = yes; then
++	DIR_sl="sl"
++	LIB_sl='$(top_builddir)/lib/sl/libsl.la'
++	DIR_ss=""
++	LIB_ss='$(top_builddir)/lib/sl/libss.la'
++fi
++if test "$enable_otp" = "yes"; then
++  rk_TEST_PACKAGE(otp,,-lotp,,,OTP)
++  if ! test "$with_otp" = yes; then
++	DIR_otp="otp"
++ 	LIB_otp='$(top_builddir)/lib/otp/libotp.la'
++  fi
++fi
+ 
+ KRB_C_BIGENDIAN
+ AC_C_INLINE
+diff -ruN heimdal-0.6.1-old/kadmin/Makefile.am heimdal-0.6.1/kadmin/Makefile.am
+--- heimdal-0.6.1-old/kadmin/Makefile.am	Tue Aug 28 18:31:26 2001
++++ heimdal-0.6.1/kadmin/Makefile.am	Thu Aug 28 15:37:16 2003
+@@ -62,7 +62,7 @@
+ kadmin_LDADD = \
+ 	$(top_builddir)/lib/kadm5/libkadm5clnt.la \
+ 	$(top_builddir)/lib/kadm5/libkadm5srv.la \
+-	$(top_builddir)/lib/sl/libsl.la \
++	$(LIB_sl) \
+ 	$(LIB_readline) \
+ 	$(LDADD_common) \
+ 	$(LIB_dlopen)
+diff -ruN heimdal-0.6.1-old/lib/Makefile.am heimdal-0.6.1/lib/Makefile.am
+--- heimdal-0.6.1-old/lib/Makefile.am	Wed Aug 29 04:44:41 2001
++++ heimdal-0.6.1/lib/Makefile.am	Thu Aug 28 15:37:16 2003
+@@ -5,12 +5,9 @@
+ if KRB4
+ dir_45 = 45
+ endif
+-if OTP
+-dir_otp = otp
+-endif
+ if DCE
+ dir_dce = kdfs
+ endif
+ 
+-SUBDIRS = @DIR_roken@ vers editline @DIR_com_err@ sl asn1 @DIR_des@ krb5 \
+-	kafs hdb kadm5 gssapi auth $(dir_45) $(dir_otp) $(dir_dce)
++SUBDIRS = @DIR_roken@ vers @DIR_readline@ @DIR_com_err@ @DIR_sl@ asn1 @DIR_des@ krb5 \
++	kafs hdb kadm5 gssapi auth $(dir_45) @DIR_otp@ $(dir_dce)
+diff -ruN heimdal-0.6.1-old/lib/auth/afskauthlib/Makefile.am heimdal-0.6.1/lib/auth/afskauthlib/Makefile.am
+--- heimdal-0.6.1-old/lib/auth/afskauthlib/Makefile.am	Sun Jul 15 14:21:07 2001
++++ heimdal-0.6.1/lib/auth/afskauthlib/Makefile.am	Thu Aug 28 15:37:16 2003
+@@ -23,7 +23,7 @@
+ 	$(COMPILE) -c $<
+ 
+ if KRB4
+-KAFS = $(top_builddir)/lib/kafs/libkafs.la
++KAFS = $(LIB_kafs)
+ endif
+ 
+ if KRB5
+@@ -33,7 +33,7 @@
+ 	$(top_builddir)/lib/asn1/libasn1.la	\
+ 	$(LIB_krb4)				\
+ 	$(LIB_des)				\
+-	$(top_builddir)/lib/roken/libroken.la	\
++	$(LIB_roken)	\
+ 	-lc
+ 
+ else
+@@ -42,7 +42,7 @@
+ 	$(KAFS)	\
+ 	$(LIB_krb4)				\
+ 	$(LIB_des)				\
+-	$(top_builddir)/lib/roken/libroken.la	\
++	$(LIB_roken)	\
+ 	-lc
+ endif
+ 
+diff -ruN heimdal-0.6.1-old/lib/gssapi/Makefile.am heimdal-0.6.1/lib/gssapi/Makefile.am
+--- heimdal-0.6.1-old/lib/gssapi/Makefile.am	Tue May 13 01:20:46 2003
++++ heimdal-0.6.1/lib/gssapi/Makefile.am	Thu Aug 28 15:39:26 2003
+@@ -6,7 +6,7 @@
+ 
+ lib_LTLIBRARIES = libgssapi.la
+ libgssapi_la_LDFLAGS = -version-info 5:0:4
+-libgssapi_la_LIBADD  = ../krb5/libkrb5.la $(LIB_des) ../asn1/libasn1.la ../roken/libroken.la
++libgssapi_la_LIBADD  = ../krb5/libkrb5.la $(LIB_des) ../asn1/libasn1.la $(LIB_roken)
+ 
+ man_MANS = gssapi.3 gss_acquire_cred.3
+ 
+diff -ruN heimdal-0.6.1-old/lib/hdb/Makefile.am heimdal-0.6.1/lib/hdb/Makefile.am
+--- heimdal-0.6.1-old/lib/hdb/Makefile.am	Tue May 13 01:20:46 2003
++++ heimdal-0.6.1/lib/hdb/Makefile.am	Thu Aug 28 15:37:16 2003
+@@ -38,7 +38,7 @@
+ 
+ include_HEADERS = hdb.h hdb_err.h hdb_asn1.h hdb-protos.h hdb-private.h
+ 
+-libhdb_la_LIBADD = ../krb5/libkrb5.la ../asn1/libasn1.la ../roken/libroken.la $(LIB_openldap) $(DBLIB) $(LIB_NDBM)
++libhdb_la_LIBADD = ../krb5/libkrb5.la ../asn1/libasn1.la $(LIB_roken) $(LIB_openldap) $(DBLIB) $(LIB_NDBM)
+ 
+ $(libhdb_la_OBJECTS): $(srcdir)/hdb-protos.h $(srcdir)/hdb-private.h
+ 
+diff -ruN heimdal-0.6.1-old/lib/kadm5/Makefile.am heimdal-0.6.1/lib/kadm5/Makefile.am
+--- heimdal-0.6.1-old/lib/kadm5/Makefile.am	Tue May 13 01:20:46 2003
++++ heimdal-0.6.1/lib/kadm5/Makefile.am	Thu Aug 28 15:37:16 2003
+@@ -7,8 +7,8 @@
+ libkadm5clnt_la_LDFLAGS = -version-info 6:4:2
+ sbin_PROGRAMS = dump_log replay_log truncate_log
+ 
+-libkadm5srv_la_LIBADD = ../krb5/libkrb5.la ../hdb/libhdb.la ../roken/libroken.la
+-libkadm5clnt_la_LIBADD = ../krb5/libkrb5.la ../hdb/libhdb.la ../roken/libroken.la
++libkadm5srv_la_LIBADD = ../krb5/libkrb5.la ../hdb/libhdb.la $(LIB_roken)
++libkadm5clnt_la_LIBADD = ../krb5/libkrb5.la ../hdb/libhdb.la $(LIB_roken)
+ 
+ libexec_PROGRAMS = ipropd-master ipropd-slave
+ 
+diff -ruN heimdal-0.6.1-old/lib/kafs/Makefile.am heimdal-0.6.1/lib/kafs/Makefile.am
+--- heimdal-0.6.1-old/lib/kafs/Makefile.am	Tue May 13 01:20:46 2003
++++ heimdal-0.6.1/lib/kafs/Makefile.am	Thu Aug 28 15:42:10 2003
+@@ -51,7 +51,7 @@
+ AIX_SRC =
+ endif # AIX
+ 
+-libkafs_la_LIBADD = $(DEPLIB_krb5) ../roken/libroken.la $(DEPLIB_krb4)
++libkafs_la_LIBADD = $(DEPLIB_krb5) $(LIB_roken) $(DEPLIB_krb4)
+ 
+ lib_LTLIBRARIES = libkafs.la
+ libkafs_la_LDFLAGS = -version-info 4:0:4
+diff -ruN heimdal-0.6.1-old/lib/krb5/Makefile.am heimdal-0.6.1/lib/krb5/Makefile.am
+--- heimdal-0.6.1-old/lib/krb5/Makefile.am	Tue May 13 01:20:47 2003
++++ heimdal-0.6.1/lib/krb5/Makefile.am	Thu Aug 28 15:37:16 2003
+@@ -26,7 +26,7 @@
+ 	$(LIB_roken)
+ 
+ libkrb5_la_LIBADD = \
+-	../com_err/error.lo ../com_err/com_err.lo \
++	$(LIB_com_err) \
+ 	$(LIB_des) \
+ 	$(top_builddir)/lib/asn1/libasn1.la \
+ 	$(LIB_roken)
+diff -ruN heimdal-0.6.1-old/lib/roken/acconfig.h heimdal-0.6.1/lib/roken/acconfig.h
+--- heimdal-0.6.1-old/lib/roken/acconfig.h	Sun Jul  9 00:22:08 2000
++++ heimdal-0.6.1/lib/roken/acconfig.h	Thu Aug 28 15:37:16 2003
+@@ -12,7 +12,7 @@
+ #endif
+ 
+ #define RCSID(msg) \
+-static /**/const char *const rcsid[] = { (const char *)rcsid, "\100(#)" msg }
++static /**/const char *const rcsid[] = { (const char *)rcsid, "@(#)" msg }
+ 
+ #undef PROTOTYPES
+ 
--- heimdal-0.6.3.orig/debian/patches-0.6.1/013_maildir
+++ heimdal-0.6.3/debian/patches-0.6.1/013_maildir
@@ -0,0 +1,40 @@
+Index: heimdal-0.6.1/appl/popper/pop_pass.c
+===================================================================
+RCS file: /homes/bam/cvsroot/debian/heimdal/appl/popper/pop_pass.c,v
+retrieving revision 1.1.1.3
+retrieving revision 1.5
+diff -c -r1.1.1.3 -r1.5
+*** heimdal-0.6.1/appl/popper/pop_pass.c 2000/05/19 05:23:42 1.1.1.3
+--- heimdal-0.6.1/appl/popper/pop_pass.c	2000/05/19 05:33:06	1.5
+***************
+*** 197,203 ****
+  	    p->ipaddr, p->user);
+  
+      /*  Build the name of the user's maildrop */
+!     snprintf(p->drop_name, sizeof(p->drop_name), "%s/%s", POP_MAILDIR, p->user);
+  
+      if(stat(p->drop_name, &st) < 0 || !S_ISDIR(st.st_mode)){
+  	/*  Make a temporary copy of the user's maildrop */
+--- 197,218 ----
+  	    p->ipaddr, p->user);
+  
+      /*  Build the name of the user's maildrop */
+! 
+!     /* Try ~/Maildir */
+!     if (pw->pw_dir != NULL)
+! 	{
+!         snprintf(p->drop_name, sizeof(p->drop_name), "%s/%s", pw->pw_dir, "Maildir");
+! 	}
+!     if(pw->pw_dir != NULL && stat(p->drop_name, &st) < 0)
+! 	{
+!     	/* else try ~/Mailbox */
+! 	snprintf(p->drop_name, sizeof(p->drop_name), "%s/%s", pw->pw_dir, "Mailbox");
+! 	}
+!     if(pw->pw_dir == NULL || stat(p->drop_name, &st) < 0)
+! 	{
+!     	/* else try /var/spool/mail/userid */
+! 	snprintf(p->drop_name, sizeof(p->drop_name), "%s/%s", POP_MAILDIR, p->user);
+! 	}
+  
+      if(stat(p->drop_name, &st) < 0 || !S_ISDIR(st.st_mode)){
+  	/*  Make a temporary copy of the user's maildrop */
--- heimdal-0.6.3.orig/debian/patches-0.6.1/014_cache
+++ heimdal-0.6.3/debian/patches-0.6.1/014_cache
@@ -0,0 +1,72 @@
+diff -ruN heimdal-0.6.1-old/lib/krb5/cache.c heimdal-0.6.1/lib/krb5/cache.c
+--- heimdal-0.6.1-old/lib/krb5/cache.c	Mon May 14 16:14:45 2001
++++ heimdal-0.6.1/lib/krb5/cache.c	Tue Jun 19 20:16:49 2001
+@@ -99,13 +99,28 @@
+ {
+     krb5_error_code ret;
+     krb5_ccache p;
++    krb5_cc_ops *q;
+ 
+     p = malloc(sizeof(*p));
+     if(p == NULL) {
+ 	krb5_set_error_string(context, "malloc: out of memory");
+ 	return KRB5_CC_NOMEM;
+     }
+-    p->ops = ops;
++
++    q = malloc(sizeof(*q));
++    if(q == NULL) {
++	krb5_set_error_string(context, "malloc: out of memory");
++        return KRB5_CC_NOMEM;
++    }
++    memcpy(q, ops, sizeof(*q));
++    q->prefix = strdup(ops->prefix);
++    if(q->prefix == NULL) {
++        free(q);
++	krb5_set_error_string(context, "strdup: out of memory");
++        return KRB5_CC_NOMEM;
++    }
++
++    p->ops = q;
+     *id = p;
+     ret = p->ops->resolve(context, id, residual);
+     if(ret)
+@@ -155,13 +170,28 @@
+ 		krb5_ccache *id)
+ {
+     krb5_ccache p;
++    krb5_cc_ops *q;
+ 
+     p = malloc (sizeof(*p));
+     if (p == NULL) {
+ 	krb5_set_error_string(context, "malloc: out of memory");
+ 	return KRB5_CC_NOMEM;
+     }
+-    p->ops = ops;
++
++    q = malloc(sizeof(*q));
++    if(q == NULL) {
++	krb5_set_error_string(context, "malloc: out of memory");
++        return KRB5_CC_NOMEM;
++    }
++    memcpy(q, ops, sizeof(*q));
++    q->prefix = strdup(ops->prefix);
++    if(q->prefix == NULL) {
++        free(q);
++	krb5_set_error_string(context, "strdup: out of memory");
++        return KRB5_CC_NOMEM;
++    }
++
++    p->ops = q;
+     *id = p;
+     return p->ops->gen_new(context, id);
+ }
+@@ -264,6 +294,8 @@
+ {
+     krb5_error_code ret;
+     ret = id->ops->close(context, id);
++    free(id->ops->prefix);
++    free((krb5_cc_ops *)id->ops);
+     free(id);
+     return ret;
+ }
--- heimdal-0.6.3.orig/debian/patches-0.6.1/015_editline
+++ heimdal-0.6.3/debian/patches-0.6.1/015_editline
@@ -0,0 +1,56 @@
+--- heimdal-0.6.1.old/appl/ftp/ftp/Makefile.am	Tue Aug 28 18:31:21 2001
++++ heimdal-0.6.1/appl/ftp/ftp/Makefile.am	Sat Jun 28 14:31:37 2003
+@@ -2,7 +2,7 @@
+ 
+ include $(top_srcdir)/Makefile.am.common
+ 
+-INCLUDES += -I$(srcdir)/../common $(INCLUDE_readline) $(INCLUDE_krb4) $(INCLUDE_des)
++INCLUDES += -I$(srcdir)/../common -I/usr/include/editline $(INCLUDE_krb4) $(INCLUDE_des)
+ 
+ bin_PROGRAMS = ftp
+ 
+@@ -43,4 +43,4 @@
+ 	$(LIB_krb4) \
+ 	$(LIB_des) \
+ 	$(LIB_roken) \
+-	$(LIB_readline)
++	-ledit
+--- heimdal-0.6.1/kadmin/Makefile.am	2003-09-15 11:53:42.000000000 +0200
++++ heimdal-0.6.1/kadmin/Makefile.am.change	2003-09-15 12:59:00.000000000 +0200
+@@ -2,7 +2,7 @@
+ 
+ include $(top_srcdir)/Makefile.am.common
+ 
+-INCLUDES += $(INCLUDE_readline) $(INCLUDE_krb4) $(INCLUDE_des) -I$(srcdir)/../lib/krb5
++INCLUDES += -I/usr/include/editline $(INCLUDE_krb4) $(INCLUDE_des) -I$(srcdir)/../lib/krb5
+ 
+ sbin_PROGRAMS = kadmin
+ 
+@@ -63,7 +63,7 @@
+ 	$(top_builddir)/lib/kadm5/libkadm5clnt.la \
+ 	$(top_builddir)/lib/kadm5/libkadm5srv.la \
+ 	$(LIB_sl) \
+-	$(LIB_readline) \
++	-ledit \
+ 	$(LDADD_common) \
+ 	$(LIB_dlopen)
+ 
+
+--- heimdal-0.6.1/admin/Makefile.am	2003-09-15 11:53:42.000000000 +0200
++++ heimdal-0.6.1/admin/Makefile.am.change	2003-09-15 13:01:58.000000000 +0200
+@@ -25,5 +25,5 @@
+ 	$(LIB_des) \
+ 	$(top_builddir)/lib/asn1/libasn1.la \
+ 	$(LIB_sl) \
+-	$(LIB_readline) \
++	-ledit
+ 	$(LIB_roken)
+--- heimdal-0.6.1/lib/Makefile.am	2003-09-15 11:53:42.000000000 +0200
++++ heimdal-0.6.1/lib/Makefile.am.change	2003-09-15 12:44:36.000000000 +0200
+@@ -9,5 +9,5 @@
+ dir_dce = kdfs
+ endif
+ 
+-SUBDIRS = @DIR_roken@ vers @DIR_readline@ @DIR_com_err@ @DIR_sl@ asn1 @DIR_des@ krb5 \
++SUBDIRS = @DIR_roken@ vers @DIR_com_err@ @DIR_sl@ asn1 @DIR_des@ krb5 \
+ 	kafs hdb kadm5 gssapi auth $(dir_45) @DIR_otp@ $(dir_dce)
--- heimdal-0.6.3.orig/debian/patches-0.6.1/030_autotools
+++ heimdal-0.6.3/debian/patches-0.6.1/030_autotools
@@ -0,0 +1,69280 @@
+diff -ruN heimdal-0.6.1-old/aclocal.m4 heimdal-0.6.1/aclocal.m4
+--- heimdal-0.6.1-old/aclocal.m4	2004-04-01 22:17:10.000000000 +1000
++++ heimdal-0.6.1/aclocal.m4	2004-04-04 10:38:47.000000000 +1000
+@@ -11,6 +11,89 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
++# Add --enable-maintainer-mode option to configure.
++# From Jim Meyering
++
++# Copyright 1996, 1998, 2000, 2001, 2002  Free Software Foundation, Inc.
++
++# 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, 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., 59 Temple Place - Suite 330, Boston, MA
++# 02111-1307, USA.
++
++# serial 2
++
++AC_DEFUN([AM_MAINTAINER_MODE],
++[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
++  dnl maintainer-mode is disabled by default
++  AC_ARG_ENABLE(maintainer-mode,
++[  --enable-maintainer-mode enable make rules and dependencies not useful
++                          (and sometimes confusing) to the casual installer],
++      USE_MAINTAINER_MODE=$enableval,
++      USE_MAINTAINER_MODE=no)
++  AC_MSG_RESULT([$USE_MAINTAINER_MODE])
++  AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
++  MAINT=$MAINTAINER_MODE_TRUE
++  AC_SUBST(MAINT)dnl
++]
++)
++
++AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
++
++# AM_CONDITIONAL                                              -*- Autoconf -*-
++
++# Copyright 1997, 2000, 2001 Free Software Foundation, Inc.
++
++# 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, 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., 59 Temple Place - Suite 330, Boston, MA
++# 02111-1307, USA.
++
++# serial 5
++
++AC_PREREQ(2.52)
++
++# AM_CONDITIONAL(NAME, SHELL-CONDITION)
++# -------------------------------------
++# Define a conditional.
++AC_DEFUN([AM_CONDITIONAL],
++[ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
++        [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
++AC_SUBST([$1_TRUE])
++AC_SUBST([$1_FALSE])
++if $2; then
++  $1_TRUE=
++  $1_FALSE='#'
++else
++  $1_TRUE='#'
++  $1_FALSE=
++fi
++AC_CONFIG_COMMANDS_PRE(
++[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
++  AC_MSG_ERROR([conditional "$1" was never defined.
++Usually this means the macro was only invoked conditionally.])
++fi])])
++
+ # Like AC_CONFIG_HEADER, but automatically create stamp file. -*- Autoconf -*-
+ 
+ # Copyright 1996, 1997, 2000, 2001 Free Software Foundation, Inc.
+@@ -815,89 +898,6 @@
+ rm -f confinc confmf
+ ])
+ 
+-# AM_CONDITIONAL                                              -*- Autoconf -*-
+-
+-# Copyright 1997, 2000, 2001 Free Software Foundation, Inc.
+-
+-# 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, 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., 59 Temple Place - Suite 330, Boston, MA
+-# 02111-1307, USA.
+-
+-# serial 5
+-
+-AC_PREREQ(2.52)
+-
+-# AM_CONDITIONAL(NAME, SHELL-CONDITION)
+-# -------------------------------------
+-# Define a conditional.
+-AC_DEFUN([AM_CONDITIONAL],
+-[ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
+-        [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
+-AC_SUBST([$1_TRUE])
+-AC_SUBST([$1_FALSE])
+-if $2; then
+-  $1_TRUE=
+-  $1_FALSE='#'
+-else
+-  $1_TRUE='#'
+-  $1_FALSE=
+-fi
+-AC_CONFIG_COMMANDS_PRE(
+-[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
+-  AC_MSG_ERROR([conditional "$1" was never defined.
+-Usually this means the macro was only invoked conditionally.])
+-fi])])
+-
+-# Add --enable-maintainer-mode option to configure.
+-# From Jim Meyering
+-
+-# Copyright 1996, 1998, 2000, 2001, 2002  Free Software Foundation, Inc.
+-
+-# 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, 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., 59 Temple Place - Suite 330, Boston, MA
+-# 02111-1307, USA.
+-
+-# serial 2
+-
+-AC_DEFUN([AM_MAINTAINER_MODE],
+-[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
+-  dnl maintainer-mode is disabled by default
+-  AC_ARG_ENABLE(maintainer-mode,
+-[  --enable-maintainer-mode enable make rules and dependencies not useful
+-                          (and sometimes confusing) to the casual installer],
+-      USE_MAINTAINER_MODE=$enableval,
+-      USE_MAINTAINER_MODE=no)
+-  AC_MSG_RESULT([$USE_MAINTAINER_MODE])
+-  AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
+-  MAINT=$MAINTAINER_MODE_TRUE
+-  AC_SUBST(MAINT)dnl
+-]
+-)
+-
+-AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
+-
+ 
+ # Copyright 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
+ 
+@@ -1083,6 +1083,7 @@
+ # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
+ 
+ # serial 47 AC_PROG_LIBTOOL
++# Debian $Rev: 192 $
+ 
+ 
+ # AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
+@@ -3243,19 +3244,10 @@
+ 
+ # This must be Linux ELF.
+ linux*)
+-  case $host_cpu in
+-  alpha*|hppa*|i*86|ia64*|m68*|mips*|powerpc*|sparc*|s390*|sh*)
+-    lt_cv_deplibs_check_method=pass_all ;;
+-  *)
+-    # glibc up to 2.1.1 does not perform some relocations on ARM
+-    # this will be overridden with pass_all, but let us keep it just in case
+-    lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;;
+-  esac
+-  lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
+   lt_cv_deplibs_check_method=pass_all
+   ;;
+ 
+-netbsd*)
++netbsd* | knetbsd*-gnu)
+   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
+     lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
+   else
+@@ -4249,7 +4241,7 @@
+ 	;;
+     esac
+     ;;
+-  netbsd*)
++  netbsd* | knetbsd*-gnu)
+     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
+       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
+       wlarc=
+@@ -5739,7 +5731,7 @@
+ 	    ;;
+ 	esac
+ 	;;
+-      netbsd*)
++      netbsd* | knetbsd*-gnu)
+ 	;;
+       osf3* | osf4* | osf5*)
+ 	case $cc_basename in
+@@ -6179,7 +6171,7 @@
+       fi
+       ;;
+ 
+-    netbsd*)
++    netbsd* | knetbsd*-gnu)
+       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
+ 	_LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
+ 	wlarc=
+@@ -6596,7 +6588,7 @@
+       _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
+       ;;
+ 
+-    netbsd*)
++    netbsd* | knetbsd*-gnu)
+       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
+ 	_LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
+       else
+@@ -7049,7 +7041,7 @@
+ 
+ header_dirs=
+ lib_dirs=
+-for i in $d; do
++for i in $d /usr; do
+ 	if test "$with_$1_include" = ""; then
+ 		if test -d "$i/include/$1"; then
+ 			header_dirs="$header_dirs $i/include/$1"
+@@ -7112,6 +7104,7 @@
+ 			AC_TRY_LINK([$2],,lres=$i;break)
+ 		done
+ 		if test "$ires" -a "$lres" -a "$with_$1" != "no"; then
++			DIR_$1=
+ 			INCLUDE_$1="-I$ires"
+ 			LIB_$1="-L$lres $3 $4"
+ 			found=yes
+@@ -7127,11 +7120,13 @@
+ 	with_$1=yes
+ else
+ 	with_$1=no
++	DIR_$1=
+ 	INCLUDE_$1=
+ 	LIB_$1=
+ 	AC_MSG_RESULT(no)
+ fi
+ 
++AC_SUBST(DIR_$1)
+ AC_SUBST(INCLUDE_$1)
+ AC_SUBST(LIB_$1)
+ ])
+@@ -7666,6 +7661,72 @@
+ AC_SUBST(LIB_NDBM)dnl
+ ])
+ 
++dnl $Id: roken.m4,v 1.3.8.1 2004/04/01 07:27:35 joda Exp $
++dnl
++dnl try to look for an installed roken library with sufficient stuff
++dnl
++dnl set LIB_roken to the what we should link with
++dnl set DIR_roken to if the directory should be built
++dnl set CPPFLAGS_roken to stuff to add to CPPFLAGS
++
++dnl AC_ROKEN(version,directory-to-try,roken-dir,fallback-library,fallback-cppflags)
++AC_DEFUN([AC_ROKEN], [
++
++AC_ARG_WITH(roken,
++	AC_HELP_STRING([--with-roken=dir],[use the roken library in dir]),
++[if test "$withval" = "no"; then
++  AC_MSG_ERROR(roken is required)
++fi])
++
++save_CPPFLAGS="${CPPFLAGS}"
++
++case $with_roken in
++yes|"")
++  dirs="$2" ;;
++*)
++  dirs="$with_roken" ;;
++esac
++
++roken_installed=no
++
++for i in $dirs; do
++
++AC_MSG_CHECKING(for roken in $i)
++
++CPPFLAGS="-I$i/include ${CPPFLAGS}"
++
++AC_TRY_CPP(
++[#include <roken.h>
++//#if ROKEN_VERSION < $1
++//#error old roken version, should be $1
++//fail
++//#endif
++],[roken_installed=yes; break])
++
++AC_MSG_RESULT($roken_installed)
++
++done
++
++CPPFLAGS="$save_CPPFLAGS"
++
++if test "$roken_installed" != "yes"; then
++  DIR_roken="roken"
++  LIB_roken='$4'
++  CPPFLAGS_roken='$5'
++dnl  AC_CONFIG_SUBDIRS(lib/roken)
++else
++  LIB_roken="$i/lib/libroken.la"
++  CPPFLAGS_roken="-I$i/include"
++fi
++
++AC_FIND_FUNC_NO_LIBS(crypt, crypt)dnl
++LIB_roken="${LIB_roken} \$(LIB_crypt) \$(LIB_dbopen)"
++
++AC_SUBST(LIB_roken)dnl
++AC_SUBST(DIR_roken)dnl
++AC_SUBST(CPPFLAGS_roken)dnl
++])
++
+ dnl $Id: roken-frag.m4,v 1.45.2.1 2004/04/01 07:27:35 joda Exp $
+ dnl
+ dnl some code to get roken working
+@@ -7676,9 +7737,9 @@
+ 
+ AC_REQUIRE([rk_CONFIG_HEADER])
+ 
+-DIR_roken=roken
+-LIB_roken='$(top_builddir)/$1/libroken.la'
+-INCLUDES_roken='-I$(top_builddir)/$1 -I$(top_srcdir)/$1'
++dnl DIR_roken=roken
++dnl LIB_roken='$(top_builddir)/$1/libroken.la'
++dnl INCLUDES_roken='-I$(top_builddir)/$1 -I$(top_srcdir)/$1'
+ 
+ dnl Checks for programs
+ AC_REQUIRE([AC_PROG_CC])
+@@ -8311,11 +8372,11 @@
+ dnl moved to AC_OUTPUT in configure.in
+ dnl AC_CONFIG_FILES($1/Makefile)
+ 
+-LIB_roken="${LIB_roken} \$(LIB_crypt) \$(LIB_dbopen)"
++dnl LIB_roken="${LIB_roken} \$(LIB_crypt) \$(LIB_dbopen)"
+ 
+-AC_SUBST(DIR_roken)dnl
+-AC_SUBST(LIB_roken)dnl
+-AC_SUBST(INCLUDES_roken)dnl
++dnl AC_SUBST(DIR_roken)dnl
++dnl AC_SUBST(LIB_roken)dnl
++dnl AC_SUBST(INCLUDES_roken)dnl
+ ])
+ 
+ dnl $Id: have-type.m4,v 1.6.12.1 2004/04/01 07:27:33 joda Exp $
+@@ -8983,8 +9044,6 @@
+ fi
+ if test "$enable_otp" = yes; then
+ 	AC_DEFINE(OTP, 1, [Define if you want OTP support in applications.])
+-	LIB_otp='$(top_builddir)/lib/otp/libotp.la'
+-	AC_SUBST(LIB_otp)
+ fi
+ AC_MSG_CHECKING([whether to enable OTP library])
+ AC_MSG_RESULT($enable_otp)
+@@ -9451,8 +9510,10 @@
+ 	:
+ elif test "$ac_cv_func_el_init" = yes; then
+ 	ac_foo=yes
++	DIR_readline="editline"
+ 	LIB_readline="\$(top_builddir)/lib/editline/libel_compat.la \$(LIB_el_init) \$(LIB_tgetent)"
+ else
++	DIR_readline="editline"
+ 	LIB_readline="\$(top_builddir)/lib/editline/libeditline.la \$(LIB_tgetent)"
+ fi
+ AM_CONDITIONAL(el_compat, test "$ac_foo" = yes)
+diff -ruN heimdal-0.6.1-old/admin/Makefile.in heimdal-0.6.1/admin/Makefile.in
+--- heimdal-0.6.1-old/admin/Makefile.in	2004-04-01 22:19:25.000000000 +1000
++++ heimdal-0.6.1/admin/Makefile.in	2004-04-04 10:40:12.000000000 +1000
+@@ -66,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -76,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -99,15 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
+ 
+ INCLUDE_krb4 = @INCLUDE_krb4@
+ 
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -178,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -285,6 +297,9 @@
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -317,9 +332,8 @@
+ 	$(top_builddir)/lib/krb5/libkrb5.la \
+ 	$(LIB_des) \
+ 	$(top_builddir)/lib/asn1/libasn1.la \
+-	$(top_builddir)/lib/sl/libsl.la \
+-	$(LIB_readline) \
+-	$(LIB_roken)
++	$(LIB_sl) \
++	-ledit
+ 
+ subdir = admin
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+@@ -336,8 +350,7 @@
+ ktutil_LDADD = $(LDADD)
+ ktutil_DEPENDENCIES = $(top_builddir)/lib/kadm5/libkadm5clnt.la \
+ 	$(top_builddir)/lib/krb5/libkrb5.la \
+-	$(top_builddir)/lib/asn1/libasn1.la \
+-	$(top_builddir)/lib/sl/libsl.la
++	$(top_builddir)/lib/asn1/libasn1.la
+ ktutil_LDFLAGS =
+ 
+ DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
+@@ -785,6 +798,7 @@
+ 	$(COMPILE_ET) $<
+ .et.c:
+ 	$(COMPILE_ET) $<
++	$(LIB_roken)
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN heimdal-0.6.1-old/appl/afsutil/Makefile.in heimdal-0.6.1/appl/afsutil/Makefile.in
+--- heimdal-0.6.1-old/appl/afsutil/Makefile.in	2004-04-01 22:19:26.000000000 +1000
++++ heimdal-0.6.1/appl/afsutil/Makefile.in	2004-04-04 10:40:13.000000000 +1000
+@@ -66,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -76,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -99,15 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
+ 
+ INCLUDE_krb4 = @INCLUDE_krb4@
+ 
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -178,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -285,6 +297,9 @@
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+diff -ruN heimdal-0.6.1-old/appl/dceutils/Makefile.in heimdal-0.6.1/appl/dceutils/Makefile.in
+--- heimdal-0.6.1-old/appl/dceutils/Makefile.in	2004-04-01 22:19:27.000000000 +1000
++++ heimdal-0.6.1/appl/dceutils/Makefile.in	2004-04-04 10:40:14.000000000 +1000
+@@ -66,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -76,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -99,15 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
+ 
+ INCLUDE_krb4 = @INCLUDE_krb4@
+ 
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -178,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -285,6 +297,9 @@
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+diff -ruN heimdal-0.6.1-old/appl/ftp/common/Makefile.in heimdal-0.6.1/appl/ftp/common/Makefile.in
+--- heimdal-0.6.1-old/appl/ftp/common/Makefile.in	2004-04-01 22:19:27.000000000 +1000
++++ heimdal-0.6.1/appl/ftp/common/Makefile.in	2004-04-04 10:40:14.000000000 +1000
+@@ -66,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -76,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -99,15 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
+ 
+ INCLUDE_krb4 = @INCLUDE_krb4@
+ 
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -178,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -285,6 +297,9 @@
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+diff -ruN heimdal-0.6.1-old/appl/ftp/ftp/Makefile.in heimdal-0.6.1/appl/ftp/ftp/Makefile.in
+--- heimdal-0.6.1-old/appl/ftp/ftp/Makefile.in	2004-04-01 22:19:28.000000000 +1000
++++ heimdal-0.6.1/appl/ftp/ftp/Makefile.in	2004-04-04 10:40:15.000000000 +1000
+@@ -66,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -76,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -99,15 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
+ 
+ INCLUDE_krb4 = @INCLUDE_krb4@
+ 
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -178,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -268,7 +280,7 @@
+ 
+ SUFFIXES = .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8
+ 
+-INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) -I$(srcdir)/../common $(INCLUDE_readline) $(INCLUDE_krb4) $(INCLUDE_des)
++INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) -I$(srcdir)/../common -I/usr/include/editline $(INCLUDE_krb4) $(INCLUDE_des)
+ 
+ @do_roken_rename_TRUE@ROKEN_RENAME = -DROKEN_RENAME
+ 
+@@ -285,6 +297,9 @@
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -332,7 +347,7 @@
+ 	$(LIB_krb4) \
+ 	$(LIB_des) \
+ 	$(LIB_roken) \
+-	$(LIB_readline)
++	-ledit
+ 
+ subdir = appl/ftp/ftp
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+diff -ruN heimdal-0.6.1-old/appl/ftp/ftpd/Makefile.in heimdal-0.6.1/appl/ftp/ftpd/Makefile.in
+--- heimdal-0.6.1-old/appl/ftp/ftpd/Makefile.in	2004-04-01 22:19:28.000000000 +1000
++++ heimdal-0.6.1/appl/ftp/ftpd/Makefile.in	2004-04-04 10:40:15.000000000 +1000
+@@ -66,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -76,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -99,15 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
+ 
+ INCLUDE_krb4 = @INCLUDE_krb4@
+ 
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -178,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -285,6 +297,9 @@
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+diff -ruN heimdal-0.6.1-old/appl/ftp/Makefile.in heimdal-0.6.1/appl/ftp/Makefile.in
+--- heimdal-0.6.1-old/appl/ftp/Makefile.in	2004-04-01 22:19:27.000000000 +1000
++++ heimdal-0.6.1/appl/ftp/Makefile.in	2004-04-04 10:40:14.000000000 +1000
+@@ -66,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -76,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -99,15 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
+ 
+ INCLUDE_krb4 = @INCLUDE_krb4@
+ 
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -178,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -285,6 +297,9 @@
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+diff -ruN heimdal-0.6.1-old/appl/kf/Makefile.in heimdal-0.6.1/appl/kf/Makefile.in
+--- heimdal-0.6.1-old/appl/kf/Makefile.in	2004-04-01 22:19:29.000000000 +1000
++++ heimdal-0.6.1/appl/kf/Makefile.in	2004-04-04 10:40:16.000000000 +1000
+@@ -66,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -76,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -99,15 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
+ 
+ INCLUDE_krb4 = @INCLUDE_krb4@
+ 
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -178,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -285,6 +297,9 @@
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+diff -ruN heimdal-0.6.1-old/appl/kx/Makefile.in heimdal-0.6.1/appl/kx/Makefile.in
+--- heimdal-0.6.1-old/appl/kx/Makefile.in	2004-04-01 22:19:30.000000000 +1000
++++ heimdal-0.6.1/appl/kx/Makefile.in	2004-04-04 10:40:16.000000000 +1000
+@@ -66,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -76,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -99,15 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
+ 
+ INCLUDE_krb4 = @INCLUDE_krb4@
+ 
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -178,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -286,6 +298,9 @@
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -297,13 +312,13 @@
+ 
+ @DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+-@HAVE_X_TRUE@bin_PROGRAMS = kx
+-
+ @HAVE_X_FALSE@bin_PROGRAMS = 
+-@HAVE_X_TRUE@bin_SCRIPTS = rxterm rxtelnet tenletxr
++
++@HAVE_X_TRUE@bin_PROGRAMS = kx
+ @HAVE_X_FALSE@bin_SCRIPTS = 
+-@HAVE_X_TRUE@libexec_PROGRAMS = kxd
++@HAVE_X_TRUE@bin_SCRIPTS = rxterm rxtelnet tenletxr
+ @HAVE_X_FALSE@libexec_PROGRAMS = 
++@HAVE_X_TRUE@libexec_PROGRAMS = kxd
+ 
+ CLEANFILES = rxterm rxtelnet tenletxr
+ 
+diff -ruN heimdal-0.6.1-old/appl/login/Makefile.in heimdal-0.6.1/appl/login/Makefile.in
+--- heimdal-0.6.1-old/appl/login/Makefile.in	2004-04-01 22:19:30.000000000 +1000
++++ heimdal-0.6.1/appl/login/Makefile.in	2004-04-04 10:40:16.000000000 +1000
+@@ -66,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -76,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -99,15 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
+ 
+ INCLUDE_krb4 = @INCLUDE_krb4@
+ 
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -178,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -285,6 +297,9 @@
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+diff -ruN heimdal-0.6.1-old/appl/Makefile.in heimdal-0.6.1/appl/Makefile.in
+--- heimdal-0.6.1-old/appl/Makefile.in	2004-04-01 22:19:26.000000000 +1000
++++ heimdal-0.6.1/appl/Makefile.in	2004-04-04 10:40:13.000000000 +1000
+@@ -66,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -76,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -99,15 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
+ 
+ INCLUDE_krb4 = @INCLUDE_krb4@
+ 
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -178,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -285,6 +297,9 @@
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+diff -ruN heimdal-0.6.1-old/appl/otp/Makefile.in heimdal-0.6.1/appl/otp/Makefile.in
+--- heimdal-0.6.1-old/appl/otp/Makefile.in	2004-04-01 22:19:31.000000000 +1000
++++ heimdal-0.6.1/appl/otp/Makefile.in	2004-04-04 10:40:17.000000000 +1000
+@@ -66,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -76,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -99,15 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
+ 
+ INCLUDE_krb4 = @INCLUDE_krb4@
+ 
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -178,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -285,6 +297,9 @@
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -304,7 +319,7 @@
+ man_MANS = otp.1  otpprint.1
+ 
+ LDADD = \
+-	$(top_builddir)/lib/otp/libotp.la
++	$(LIB_otp)
+ 
+ subdir = appl/otp
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+@@ -317,12 +332,12 @@
+ am_otp_OBJECTS = otp.$(OBJEXT)
+ otp_OBJECTS = $(am_otp_OBJECTS)
+ otp_LDADD = $(LDADD)
+-otp_DEPENDENCIES = $(top_builddir)/lib/otp/libotp.la
++otp_DEPENDENCIES =
+ otp_LDFLAGS =
+ am_otpprint_OBJECTS = otpprint.$(OBJEXT)
+ otpprint_OBJECTS = $(am_otpprint_OBJECTS)
+ otpprint_LDADD = $(LDADD)
+-otpprint_DEPENDENCIES = $(top_builddir)/lib/otp/libotp.la
++otpprint_DEPENDENCIES =
+ otpprint_LDFLAGS =
+ 
+ DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
+diff -ruN heimdal-0.6.1-old/appl/popper/Makefile.in heimdal-0.6.1/appl/popper/Makefile.in
+--- heimdal-0.6.1-old/appl/popper/Makefile.in	2004-04-01 22:19:31.000000000 +1000
++++ heimdal-0.6.1/appl/popper/Makefile.in	2004-04-04 10:40:17.000000000 +1000
+@@ -66,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -76,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -99,15 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
+ 
+ INCLUDE_krb4 = @INCLUDE_krb4@
+ 
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -178,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -285,6 +297,9 @@
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+diff -ruN heimdal-0.6.1-old/appl/push/Makefile.in heimdal-0.6.1/appl/push/Makefile.in
+--- heimdal-0.6.1-old/appl/push/Makefile.in	2004-04-01 22:19:32.000000000 +1000
++++ heimdal-0.6.1/appl/push/Makefile.in	2004-04-04 10:40:18.000000000 +1000
+@@ -66,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -76,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -99,15 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
+ 
+ INCLUDE_krb4 = @INCLUDE_krb4@
+ 
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -178,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -285,6 +297,9 @@
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+diff -ruN heimdal-0.6.1-old/appl/rcp/Makefile.in heimdal-0.6.1/appl/rcp/Makefile.in
+--- heimdal-0.6.1-old/appl/rcp/Makefile.in	2004-04-01 22:19:32.000000000 +1000
++++ heimdal-0.6.1/appl/rcp/Makefile.in	2004-04-04 10:40:18.000000000 +1000
+@@ -66,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -76,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -99,15 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
+ 
+ INCLUDE_krb4 = @INCLUDE_krb4@
+ 
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -178,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -285,6 +297,9 @@
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+diff -ruN heimdal-0.6.1-old/appl/rsh/Makefile.in heimdal-0.6.1/appl/rsh/Makefile.in
+--- heimdal-0.6.1-old/appl/rsh/Makefile.in	2004-04-01 22:19:33.000000000 +1000
++++ heimdal-0.6.1/appl/rsh/Makefile.in	2004-04-04 10:40:19.000000000 +1000
+@@ -66,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -76,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -99,15 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
+ 
+ INCLUDE_krb4 = @INCLUDE_krb4@
+ 
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -178,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -285,6 +297,9 @@
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+diff -ruN heimdal-0.6.1-old/appl/su/Makefile.in heimdal-0.6.1/appl/su/Makefile.in
+--- heimdal-0.6.1-old/appl/su/Makefile.in	2004-04-01 22:19:33.000000000 +1000
++++ heimdal-0.6.1/appl/su/Makefile.in	2004-04-04 10:40:19.000000000 +1000
+@@ -66,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -76,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -99,15 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
+ 
+ INCLUDE_krb4 = @INCLUDE_krb4@
+ 
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -178,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -285,6 +297,9 @@
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+diff -ruN heimdal-0.6.1-old/appl/telnet/libtelnet/Makefile.in heimdal-0.6.1/appl/telnet/libtelnet/Makefile.in
+--- heimdal-0.6.1-old/appl/telnet/libtelnet/Makefile.in	2004-04-01 22:19:34.000000000 +1000
++++ heimdal-0.6.1/appl/telnet/libtelnet/Makefile.in	2004-04-04 10:40:20.000000000 +1000
+@@ -66,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -76,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -99,15 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
+ 
+ INCLUDE_krb4 = @INCLUDE_krb4@
+ 
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -178,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -285,6 +297,9 @@
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+diff -ruN heimdal-0.6.1-old/appl/telnet/Makefile.in heimdal-0.6.1/appl/telnet/Makefile.in
+--- heimdal-0.6.1-old/appl/telnet/Makefile.in	2004-04-01 22:19:33.000000000 +1000
++++ heimdal-0.6.1/appl/telnet/Makefile.in	2004-04-04 10:40:19.000000000 +1000
+@@ -66,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -76,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -99,15 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
+ 
+ INCLUDE_krb4 = @INCLUDE_krb4@
+ 
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -178,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -285,6 +297,9 @@
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+diff -ruN heimdal-0.6.1-old/appl/telnet/telnet/Makefile.in heimdal-0.6.1/appl/telnet/telnet/Makefile.in
+--- heimdal-0.6.1-old/appl/telnet/telnet/Makefile.in	2004-04-01 22:19:34.000000000 +1000
++++ heimdal-0.6.1/appl/telnet/telnet/Makefile.in	2004-04-04 10:40:20.000000000 +1000
+@@ -66,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -76,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -99,15 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
+ 
+ INCLUDE_krb4 = @INCLUDE_krb4@
+ 
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -178,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -285,6 +297,9 @@
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+diff -ruN heimdal-0.6.1-old/appl/telnet/telnetd/Makefile.in heimdal-0.6.1/appl/telnet/telnetd/Makefile.in
+--- heimdal-0.6.1-old/appl/telnet/telnetd/Makefile.in	2004-04-01 22:19:35.000000000 +1000
++++ heimdal-0.6.1/appl/telnet/telnetd/Makefile.in	2004-04-04 10:40:21.000000000 +1000
+@@ -66,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -76,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -99,15 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
+ 
+ INCLUDE_krb4 = @INCLUDE_krb4@
+ 
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -178,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -285,6 +297,9 @@
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+diff -ruN heimdal-0.6.1-old/appl/test/Makefile.in heimdal-0.6.1/appl/test/Makefile.in
+--- heimdal-0.6.1-old/appl/test/Makefile.in	2004-04-01 22:19:35.000000000 +1000
++++ heimdal-0.6.1/appl/test/Makefile.in	2004-04-04 10:40:21.000000000 +1000
+@@ -66,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -76,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -99,15 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
+ 
+ INCLUDE_krb4 = @INCLUDE_krb4@
+ 
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -178,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -285,6 +297,9 @@
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+diff -ruN heimdal-0.6.1-old/appl/xnlock/Makefile.in heimdal-0.6.1/appl/xnlock/Makefile.in
+--- heimdal-0.6.1-old/appl/xnlock/Makefile.in	2004-04-01 22:19:36.000000000 +1000
++++ heimdal-0.6.1/appl/xnlock/Makefile.in	2004-04-04 10:40:22.000000000 +1000
+@@ -66,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -76,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -99,15 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
+ 
+ INCLUDE_krb4 = @INCLUDE_krb4@
+ 
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -178,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -286,6 +298,9 @@
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -297,10 +312,10 @@
+ 
+ @DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+-@HAVE_X_TRUE@bin_PROGRAMS = xnlock
+-
+ @HAVE_X_FALSE@bin_PROGRAMS = 
+ 
++@HAVE_X_TRUE@bin_PROGRAMS = xnlock
++
+ CHECK_LOCAL = 
+ 
+ man_MANS = xnlock.1
+diff -ruN heimdal-0.6.1-old/autom4te.cache/output.0 heimdal-0.6.1/autom4te.cache/output.0
+--- heimdal-0.6.1-old/autom4te.cache/output.0	1970-01-01 10:00:00.000000000 +1000
++++ heimdal-0.6.1/autom4te.cache/output.0	2004-04-04 10:39:44.000000000 +1000
+@@ -0,0 +1,55621 @@
++@%:@! /bin/sh
++@%:@ From configure.in Revision: 1.331.2.6 .
++@%:@ Guess values for system-dependent variables and create Makefiles.
++@%:@ Generated by GNU Autoconf 2.59 for Heimdal 0.6.1.
++@%:@
++@%:@ Report bugs to <heimdal-bugs@pdc.kth.se>.
++@%:@ 
++@%:@ Copyright (C) 2003 Free Software Foundation, Inc.
++@%:@ This configure script is free software; the Free Software Foundation
++@%:@ gives unlimited permission to copy, distribute and modify it.
++## --------------------- ##
++## M4sh Initialization.  ##
++## --------------------- ##
++
++# Be Bourne compatible
++if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
++  emulate sh
++  NULLCMD=:
++  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
++  # is contrary to our usage.  Disable this feature.
++  alias -g '${1+"$@"}'='"$@"'
++elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
++  set -o posix
++fi
++DUALCASE=1; export DUALCASE # for MKS sh
++
++# Support unset when possible.
++if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
++  as_unset=unset
++else
++  as_unset=false
++fi
++
++
++# Work around bugs in pre-3.0 UWIN ksh.
++$as_unset ENV MAIL MAILPATH
++PS1='$ '
++PS2='> '
++PS4='+ '
++
++# NLS nuisances.
++for as_var in \
++  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
++  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
++  LC_TELEPHONE LC_TIME
++do
++  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
++    eval $as_var=C; export $as_var
++  else
++    $as_unset $as_var
++  fi
++done
++
++# Required to use basename.
++if expr a : '\(a\)' >/dev/null 2>&1; then
++  as_expr=expr
++else
++  as_expr=false
++fi
++
++if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
++  as_basename=basename
++else
++  as_basename=false
++fi
++
++
++# Name of the executable.
++as_me=`$as_basename "$0" ||
++$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
++	 X"$0" : 'X\(//\)$' \| \
++	 X"$0" : 'X\(/\)$' \| \
++	 .     : '\(.\)' 2>/dev/null ||
++echo X/"$0" |
++    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
++  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
++  	  /^X\/\(\/\).*/{ s//\1/; q; }
++  	  s/.*/./; q'`
++
++
++# PATH needs CR, and LINENO needs CR and PATH.
++# Avoid depending upon Character Ranges.
++as_cr_letters='abcdefghijklmnopqrstuvwxyz'
++as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
++as_cr_Letters=$as_cr_letters$as_cr_LETTERS
++as_cr_digits='0123456789'
++as_cr_alnum=$as_cr_Letters$as_cr_digits
++
++# The user is always right.
++if test "${PATH_SEPARATOR+set}" != set; then
++  echo "#! /bin/sh" >conf$$.sh
++  echo  "exit 0"   >>conf$$.sh
++  chmod +x conf$$.sh
++  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
++    PATH_SEPARATOR=';'
++  else
++    PATH_SEPARATOR=:
++  fi
++  rm -f conf$$.sh
++fi
++
++
++  as_lineno_1=$LINENO
++  as_lineno_2=$LINENO
++  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
++  test "x$as_lineno_1" != "x$as_lineno_2" &&
++  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
++  # Find who we are.  Look in the path if we contain no path at all
++  # relative or not.
++  case $0 in
++    *[\\/]* ) as_myself=$0 ;;
++    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
++done
++
++       ;;
++  esac
++  # We did not find ourselves, most probably we were run as `sh COMMAND'
++  # in which case we are not to be found in the path.
++  if test "x$as_myself" = x; then
++    as_myself=$0
++  fi
++  if test ! -f "$as_myself"; then
++    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
++   { (exit 1); exit 1; }; }
++  fi
++  case $CONFIG_SHELL in
++  '')
++    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for as_base in sh bash ksh sh5; do
++	 case $as_dir in
++	 /*)
++	   if ("$as_dir/$as_base" -c '
++  as_lineno_1=$LINENO
++  as_lineno_2=$LINENO
++  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
++  test "x$as_lineno_1" != "x$as_lineno_2" &&
++  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
++	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
++	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
++	     CONFIG_SHELL=$as_dir/$as_base
++	     export CONFIG_SHELL
++	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
++	   fi;;
++	 esac
++       done
++done
++;;
++  esac
++
++  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
++  # uniformly replaced by the line number.  The first 'sed' inserts a
++  # line-number line before each line; the second 'sed' does the real
++  # work.  The second script uses 'N' to pair each line-number line
++  # with the numbered line, and appends trailing '-' during
++  # substitution so that $LINENO is not a special case at line end.
++  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
++  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
++  sed '=' <$as_myself |
++    sed '
++      N
++      s,$,-,
++      : loop
++      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
++      t loop
++      s,-$,,
++      s,^['$as_cr_digits']*\n,,
++    ' >$as_me.lineno &&
++  chmod +x $as_me.lineno ||
++    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
++   { (exit 1); exit 1; }; }
++
++  # Don't try to exec as it changes $[0], causing all sort of problems
++  # (the dirname of $[0] is not the place where we might find the
++  # original and so on.  Autoconf is especially sensible to this).
++  . ./$as_me.lineno
++  # Exit status is that of the last command.
++  exit
++}
++
++
++case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
++  *c*,-n*) ECHO_N= ECHO_C='
++' ECHO_T='	' ;;
++  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
++  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
++esac
++
++if expr a : '\(a\)' >/dev/null 2>&1; then
++  as_expr=expr
++else
++  as_expr=false
++fi
++
++rm -f conf$$ conf$$.exe conf$$.file
++echo >conf$$.file
++if ln -s conf$$.file conf$$ 2>/dev/null; then
++  # We could just check for DJGPP; but this test a) works b) is more generic
++  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
++  if test -f conf$$.exe; then
++    # Don't use ln at all; we don't have any links
++    as_ln_s='cp -p'
++  else
++    as_ln_s='ln -s'
++  fi
++elif ln conf$$.file conf$$ 2>/dev/null; then
++  as_ln_s=ln
++else
++  as_ln_s='cp -p'
++fi
++rm -f conf$$ conf$$.exe conf$$.file
++
++if mkdir -p . 2>/dev/null; then
++  as_mkdir_p=:
++else
++  test -d ./-p && rmdir ./-p
++  as_mkdir_p=false
++fi
++
++as_executable_p="test -f"
++
++# Sed expression to map a string onto a valid CPP name.
++as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
++
++# Sed expression to map a string onto a valid variable name.
++as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
++
++
++# IFS
++# We need space, tab and new line, in precisely that order.
++as_nl='
++'
++IFS=" 	$as_nl"
++
++# CDPATH.
++$as_unset CDPATH
++
++
++
++# Check that we are running under the correct shell.
++SHELL=${CONFIG_SHELL-/bin/sh}
++
++case X$ECHO in
++X*--fallback-echo)
++  # Remove one level of quotation (which was required for Make).
++  ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
++  ;;
++esac
++
++echo=${ECHO-echo}
++if test "X$1" = X--no-reexec; then
++  # Discard the --no-reexec flag, and continue.
++  shift
++elif test "X$1" = X--fallback-echo; then
++  # Avoid inline document here, it may be left over
++  :
++elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
++  # Yippee, $echo works!
++  :
++else
++  # Restart under the correct shell.
++  exec $SHELL "$0" --no-reexec ${1+"$@"}
++fi
++
++if test "X$1" = X--fallback-echo; then
++  # used as fallback echo
++  shift
++  cat <<EOF
++$*
++EOF
++  exit 0
++fi
++
++# The HP-UX ksh and POSIX shell print the target directory to stdout
++# if CDPATH is set.
++if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
++
++if test -z "$ECHO"; then
++if test "X${echo_test_string+set}" != Xset; then
++# find a string as large as possible, as long as the shell can cope with it
++  for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
++    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
++    if (echo_test_string="`eval $cmd`") 2>/dev/null &&
++       echo_test_string="`eval $cmd`" &&
++       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
++    then
++      break
++    fi
++  done
++fi
++
++if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
++   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
++   test "X$echo_testing_string" = "X$echo_test_string"; then
++  :
++else
++  # The Solaris, AIX, and Digital Unix default echo programs unquote
++  # backslashes.  This makes it impossible to quote backslashes using
++  #   echo "$something" | sed 's/\\/\\\\/g'
++  #
++  # So, first we look for a working echo in the user's PATH.
++
++  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
++  for dir in $PATH /usr/ucb; do
++    IFS="$lt_save_ifs"
++    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
++       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
++       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
++       test "X$echo_testing_string" = "X$echo_test_string"; then
++      echo="$dir/echo"
++      break
++    fi
++  done
++  IFS="$lt_save_ifs"
++
++  if test "X$echo" = Xecho; then
++    # We didn't find a better echo, so look for alternatives.
++    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
++       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
++       test "X$echo_testing_string" = "X$echo_test_string"; then
++      # This shell has a builtin print -r that does the trick.
++      echo='print -r'
++    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
++	 test "X$CONFIG_SHELL" != X/bin/ksh; then
++      # If we have ksh, try running configure again with it.
++      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
++      export ORIGINAL_CONFIG_SHELL
++      CONFIG_SHELL=/bin/ksh
++      export CONFIG_SHELL
++      exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
++    else
++      # Try using printf.
++      echo='printf %s\n'
++      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
++	 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
++	 test "X$echo_testing_string" = "X$echo_test_string"; then
++	# Cool, printf works
++	:
++      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
++	   test "X$echo_testing_string" = 'X\t' &&
++	   echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
++	   test "X$echo_testing_string" = "X$echo_test_string"; then
++	CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
++	export CONFIG_SHELL
++	SHELL="$CONFIG_SHELL"
++	export SHELL
++	echo="$CONFIG_SHELL $0 --fallback-echo"
++      elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
++	   test "X$echo_testing_string" = 'X\t' &&
++	   echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
++	   test "X$echo_testing_string" = "X$echo_test_string"; then
++	echo="$CONFIG_SHELL $0 --fallback-echo"
++      else
++	# maybe with a smaller string...
++	prev=:
++
++	for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
++	  if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
++	  then
++	    break
++	  fi
++	  prev="$cmd"
++	done
++
++	if test "$prev" != 'sed 50q "$0"'; then
++	  echo_test_string=`eval $prev`
++	  export echo_test_string
++	  exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
++	else
++	  # Oops.  We lost completely, so just stick with echo.
++	  echo=echo
++	fi
++      fi
++    fi
++  fi
++fi
++fi
++
++# Copy echo and quote the copy suitably for passing to libtool from
++# the Makefile, instead of quoting the original, which is used later.
++ECHO=$echo
++if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
++   ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
++fi
++
++
++
++
++tagnames=${tagnames+${tagnames},}CXX
++
++tagnames=${tagnames+${tagnames},}F77
++
++# Name of the host.
++# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
++# so uname gets run too.
++ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
++
++exec 6>&1
++
++#
++# Initializations.
++#
++ac_default_prefix=/usr/local
++ac_config_libobj_dir=.
++cross_compiling=no
++subdirs=
++MFLAGS=
++MAKEFLAGS=
++SHELL=${CONFIG_SHELL-/bin/sh}
++
++# Maximum number of lines to put in a shell here document.
++# This variable seems obsolete.  It should probably be removed, and
++# only ac_max_sed_lines should be used.
++: ${ac_max_here_lines=38}
++
++# Identity of this package.
++PACKAGE_NAME='Heimdal'
++PACKAGE_TARNAME='heimdal'
++PACKAGE_VERSION='0.6.1'
++PACKAGE_STRING='Heimdal 0.6.1'
++PACKAGE_BUGREPORT='heimdal-bugs@pdc.kth.se'
++
++ac_unique_file="kuser/kinit.c"
++ac_default_prefix=/usr/heimdal
++# Factoring default headers for most tests.
++ac_includes_default="\
++#include <stdio.h>
++#if HAVE_SYS_TYPES_H
++# include <sys/types.h>
++#endif
++#if HAVE_SYS_STAT_H
++# include <sys/stat.h>
++#endif
++#if STDC_HEADERS
++# include <stdlib.h>
++# include <stddef.h>
++#else
++# if HAVE_STDLIB_H
++#  include <stdlib.h>
++# endif
++#endif
++#if HAVE_STRING_H
++# if !STDC_HEADERS && HAVE_MEMORY_H
++#  include <memory.h>
++# endif
++# include <string.h>
++#endif
++#if HAVE_STRINGS_H
++# include <strings.h>
++#endif
++#if HAVE_INTTYPES_H
++# include <inttypes.h>
++#else
++# if HAVE_STDINT_H
++#  include <stdint.h>
++# endif
++#endif
++#if HAVE_UNISTD_H
++# include <unistd.h>
++#endif"
++
++ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot build build_cpu build_vendor build_os host host_cpu host_vendor host_os CANONICAL_HOST YACC LEX LEXLIB LEX_OUTPUT_ROOT LN_S EGREP ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CXX CXXFLAGS ac_ct_CXX CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL WFLAGS WFLAGS_NOUNUSED WFLAGS_NOIMPLICITINT DIR_openldap INCLUDE_openldap LIB_openldap DIR_krb4 INCLUDE_krb4 LIB_krb4 EXTRA_LIB45 LIB_krb_enable_debug LIB_krb_disable_debug LIB_krb_get_our_ip_for_realm LIB_krb_kdctimeofday LIB_krb_get_kdc_time_diff KRB4_TRUE KRB4_FALSE KRB5_TRUE KRB5_FALSE do_roken_rename_TRUE do_roken_rename_FALSE LIB_kdb HAVE_OPENSSL_TRUE HAVE_OPENSSL_FALSE DIR_des INCLUDE_des LIB_des LIB_des_a LIB_des_so LIB_des_appl DCE_TRUE DCE_FALSE dpagaix_cflags dpagaix_ldadd dpagaix_ldflags LIB_db_create LIB_dbopen LIB_dbm_firstkey HAVE_DB1_TRUE HAVE_DB1_FALSE HAVE_DB3_TRUE HAVE_DB3_FALSE HAVE_NDBM_TRUE HAVE_NDBM_FALSE DBLIB LIB_NDBM LIB_crypt LIB_roken DIR_roken CPPFLAGS_roken VOID_RETSIGTYPE have_err_h_TRUE have_err_h_FALSE have_fnmatch_h_TRUE have_fnmatch_h_FALSE have_ifaddrs_h_TRUE have_ifaddrs_h_FALSE have_vis_h_TRUE have_vis_h_FALSE LIB_socket LIB_gethostbyname LIB_syslog LIB_gethostbyname2 LIB_res_search LIB_res_nsearch LIB_dn_expand LIB@&t@OBJS have_glob_h_TRUE have_glob_h_FALSE LIB_getsockopt LIB_setsockopt LIB_hstrerror LIB_bswap16 LIB_bswap32 LIB_pidfile LIB_getaddrinfo LIB_getnameinfo LIB_freeaddrinfo LIB_gai_strerror OTP_TRUE OTP_FALSE LIB_security NROFF GROFF CATMAN CATMAN_TRUE CATMAN_FALSE CATMANEXT DIR_readline INCLUDE_readline LIB_readline DIR_hesiod INCLUDE_hesiod LIB_hesiod DIR_sl INCLUDE_sl LIB_sl DIR_ss INCLUDE_ss LIB_ss DIR_otp INCLUDE_otp LIB_otp AIX_TRUE AIX_FALSE AIX4_TRUE AIX4_FALSE LIB_dlopen HAVE_DLOPEN_TRUE HAVE_DLOPEN_FALSE LIB_loadquery AIX_DYNAMIC_AFS_TRUE AIX_DYNAMIC_AFS_FALSE AIX_EXTRA_KAFS IRIX_TRUE IRIX_FALSE X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS HAVE_X_TRUE HAVE_X_FALSE LIB_XauWriteAuth LIB_XauReadAuth LIB_XauFileName NEED_WRITEAUTH_TRUE NEED_WRITEAUTH_FALSE LIB_logwtmp LIB_logout LIB_openpty LIB_tgetent LIB_getpwnam_r LIB_el_init el_compat_TRUE el_compat_FALSE COMPILE_ET DIR_com_err LIB_com_err LIB_com_err_a LIB_com_err_so LIB_AUTH_SUBDIRS LTLIBOBJS'
++ac_subst_files=''
++
++# Initialize some variables set by options.
++ac_init_help=
++ac_init_version=false
++# The variables have the same names as the options, with
++# dashes changed to underlines.
++cache_file=/dev/null
++exec_prefix=NONE
++no_create=
++no_recursion=
++prefix=NONE
++program_prefix=NONE
++program_suffix=NONE
++program_transform_name=s,x,x,
++silent=
++site=
++srcdir=
++verbose=
++x_includes=NONE
++x_libraries=NONE
++
++# Installation directory options.
++# These are left unexpanded so users can "make install exec_prefix=/foo"
++# and all the variables that are supposed to be based on exec_prefix
++# by default will actually change.
++# Use braces instead of parens because sh, perl, etc. also accept them.
++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'
++
++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
++
++  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
++
++  # 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_alias ;;
++  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
++    build_alias=$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 ;;
++
++  --config-cache | -C)
++    cache_file=config.cache ;;
++
++  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
++    ac_prev=datadir ;;
++  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
++  | --da=*)
++    datadir=$ac_optarg ;;
++
++  -disable-* | --disable-*)
++    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
++    # Reject names that are not valid shell variable names.
++    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
++      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
++   { (exit 1); exit 1; }; }
++    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
++    eval "enable_$ac_feature=no" ;;
++
++  -enable-* | --enable-*)
++    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
++    # Reject names that are not valid shell variable names.
++    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
++      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
++   { (exit 1); exit 1; }; }
++    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
++    case $ac_option in
++      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
++      *) 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 | -h)
++    ac_init_help=long ;;
++  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
++    ac_init_help=recursive ;;
++  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
++    ac_init_help=short ;;
++
++  -host | --host | --hos | --ho)
++    ac_prev=host_alias ;;
++  -host=* | --host=* | --hos=* | --ho=*)
++    host_alias=$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 | -n)
++    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_alias ;;
++  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
++    target_alias=$ac_optarg ;;
++
++  -v | -verbose | --verbose | --verbos | --verbo | --verb)
++    verbose=yes ;;
++
++  -version | --version | --versio | --versi | --vers | -V)
++    ac_init_version=: ;;
++
++  -with-* | --with-*)
++    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
++    # Reject names that are not valid shell variable names.
++    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
++      { echo "$as_me: error: invalid package name: $ac_package" >&2
++   { (exit 1); exit 1; }; }
++    ac_package=`echo $ac_package| sed 's/-/_/g'`
++    case $ac_option in
++      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
++      *) ac_optarg=yes ;;
++    esac
++    eval "with_$ac_package='$ac_optarg'" ;;
++
++  -without-* | --without-*)
++    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
++    # Reject names that are not valid shell variable names.
++    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
++      { echo "$as_me: error: invalid package name: $ac_package" >&2
++   { (exit 1); exit 1; }; }
++    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 "$as_me: error: unrecognized option: $ac_option
++Try \`$0 --help' for more information." >&2
++   { (exit 1); exit 1; }; }
++    ;;
++
++  *=*)
++    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
++    # Reject names that are not valid shell variable names.
++    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
++      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
++   { (exit 1); exit 1; }; }
++    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
++    eval "$ac_envvar='$ac_optarg'"
++    export $ac_envvar ;;
++
++  *)
++    # FIXME: should be removed in autoconf 3.0.
++    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
++    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
++      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
++    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
++    ;;
++
++  esac
++done
++
++if test -n "$ac_prev"; then
++  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
++  { echo "$as_me: error: missing argument to $ac_option" >&2
++   { (exit 1); exit 1; }; }
++fi
++
++# Be sure to have absolute paths.
++for ac_var in exec_prefix prefix
++do
++  eval ac_val=$`echo $ac_var`
++  case $ac_val in
++    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
++    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
++   { (exit 1); exit 1; }; };;
++  esac
++done
++
++# Be sure to have absolute paths.
++for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
++	      localstatedir libdir includedir oldincludedir infodir mandir
++do
++  eval ac_val=$`echo $ac_var`
++  case $ac_val in
++    [\\/$]* | ?:[\\/]* ) ;;
++    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
++   { (exit 1); exit 1; }; };;
++  esac
++done
++
++# There might be people who depend on the old broken behavior: `$host'
++# used to hold the argument of --host etc.
++# FIXME: To remove some day.
++build=$build_alias
++host=$host_alias
++target=$target_alias
++
++# FIXME: To remove some day.
++if test "x$host_alias" != x; then
++  if test "x$build_alias" = x; then
++    cross_compiling=maybe
++    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
++    If a cross compiler is detected then cross compile mode will be used." >&2
++  elif test "x$build_alias" != "x$host_alias"; then
++    cross_compiling=yes
++  fi
++fi
++
++ac_tool_prefix=
++test -n "$host_alias" && ac_tool_prefix=$host_alias-
++
++test "$silent" = yes && exec 6>/dev/null
++
++
++# 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_confdir=`(dirname "$0") 2>/dev/null ||
++$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++	 X"$0" : 'X\(//\)[^/]' \| \
++	 X"$0" : 'X\(//\)$' \| \
++	 X"$0" : 'X\(/\)' \| \
++	 .     : '\(.\)' 2>/dev/null ||
++echo X"$0" |
++    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
++  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
++  	  /^X\(\/\/\)$/{ s//\1/; q; }
++  	  /^X\(\/\).*/{ s//\1/; q; }
++  	  s/.*/./; q'`
++  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 "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
++   { (exit 1); exit 1; }; }
++  else
++    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
++   { (exit 1); exit 1; }; }
++  fi
++fi
++(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
++  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
++   { (exit 1); exit 1; }; }
++srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
++ac_env_build_alias_set=${build_alias+set}
++ac_env_build_alias_value=$build_alias
++ac_cv_env_build_alias_set=${build_alias+set}
++ac_cv_env_build_alias_value=$build_alias
++ac_env_host_alias_set=${host_alias+set}
++ac_env_host_alias_value=$host_alias
++ac_cv_env_host_alias_set=${host_alias+set}
++ac_cv_env_host_alias_value=$host_alias
++ac_env_target_alias_set=${target_alias+set}
++ac_env_target_alias_value=$target_alias
++ac_cv_env_target_alias_set=${target_alias+set}
++ac_cv_env_target_alias_value=$target_alias
++ac_env_CC_set=${CC+set}
++ac_env_CC_value=$CC
++ac_cv_env_CC_set=${CC+set}
++ac_cv_env_CC_value=$CC
++ac_env_CFLAGS_set=${CFLAGS+set}
++ac_env_CFLAGS_value=$CFLAGS
++ac_cv_env_CFLAGS_set=${CFLAGS+set}
++ac_cv_env_CFLAGS_value=$CFLAGS
++ac_env_LDFLAGS_set=${LDFLAGS+set}
++ac_env_LDFLAGS_value=$LDFLAGS
++ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
++ac_cv_env_LDFLAGS_value=$LDFLAGS
++ac_env_CPPFLAGS_set=${CPPFLAGS+set}
++ac_env_CPPFLAGS_value=$CPPFLAGS
++ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
++ac_cv_env_CPPFLAGS_value=$CPPFLAGS
++ac_env_CPP_set=${CPP+set}
++ac_env_CPP_value=$CPP
++ac_cv_env_CPP_set=${CPP+set}
++ac_cv_env_CPP_value=$CPP
++ac_env_CXX_set=${CXX+set}
++ac_env_CXX_value=$CXX
++ac_cv_env_CXX_set=${CXX+set}
++ac_cv_env_CXX_value=$CXX
++ac_env_CXXFLAGS_set=${CXXFLAGS+set}
++ac_env_CXXFLAGS_value=$CXXFLAGS
++ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
++ac_cv_env_CXXFLAGS_value=$CXXFLAGS
++ac_env_CXXCPP_set=${CXXCPP+set}
++ac_env_CXXCPP_value=$CXXCPP
++ac_cv_env_CXXCPP_set=${CXXCPP+set}
++ac_cv_env_CXXCPP_value=$CXXCPP
++ac_env_F77_set=${F77+set}
++ac_env_F77_value=$F77
++ac_cv_env_F77_set=${F77+set}
++ac_cv_env_F77_value=$F77
++ac_env_FFLAGS_set=${FFLAGS+set}
++ac_env_FFLAGS_value=$FFLAGS
++ac_cv_env_FFLAGS_set=${FFLAGS+set}
++ac_cv_env_FFLAGS_value=$FFLAGS
++
++#
++# Report the --help message.
++#
++if test "$ac_init_help" = "long"; then
++  # 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 <<_ACEOF
++\`configure' configures Heimdal 0.6.1 to adapt to many kinds of systems.
++
++Usage: $0 [OPTION]... [VAR=VALUE]...
++
++To assign environment variables (e.g., CC, CFLAGS...), specify them as
++VAR=VALUE.  See below for descriptions of some of the useful variables.
++
++Defaults for the options are specified in brackets.
++
++Configuration:
++  -h, --help              display this help and exit
++      --help=short        display options specific to this package
++      --help=recursive    display the short help of all the included packages
++  -V, --version           display version information and exit
++  -q, --quiet, --silent   do not print \`checking...' messages
++      --cache-file=FILE   cache test results in FILE [disabled]
++  -C, --config-cache      alias for \`--cache-file=config.cache'
++  -n, --no-create         do not create output files
++      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
++
++_ACEOF
++
++  cat <<_ACEOF
++Installation directories:
++  --prefix=PREFIX         install architecture-independent files in PREFIX
++			  [$ac_default_prefix]
++  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
++			  [PREFIX]
++
++By default, \`make install' will install all the files in
++\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
++an installation prefix other than \`$ac_default_prefix' using \`--prefix',
++for instance \`--prefix=\$HOME'.
++
++For better control, use the options below.
++
++Fine tuning of the installation directories:
++  --bindir=DIR           user executables [EPREFIX/bin]
++  --sbindir=DIR          system admin executables [EPREFIX/sbin]
++  --libexecdir=DIR       program executables [EPREFIX/libexec]
++  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
++  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
++  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
++  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
++  --libdir=DIR           object code libraries [EPREFIX/lib]
++  --includedir=DIR       C header files [PREFIX/include]
++  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
++  --infodir=DIR          info documentation [PREFIX/info]
++  --mandir=DIR           man documentation [PREFIX/man]
++_ACEOF
++
++  cat <<\_ACEOF
++
++Program names:
++  --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
++
++X features:
++  --x-includes=DIR    X include files are in DIR
++  --x-libraries=DIR   X library files are in DIR
++
++System types:
++  --build=BUILD     configure for building on BUILD [guessed]
++  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
++_ACEOF
++fi
++
++if test -n "$ac_init_help"; then
++  case $ac_init_help in
++     short | recursive ) echo "Configuration of Heimdal 0.6.1:";;
++   esac
++  cat <<\_ACEOF
++
++Optional Features:
++  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
++  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
++  --enable-maintainer-mode enable make rules and dependencies not useful
++                          (and sometimes confusing) to the casual installer
++  --disable-largefile     omit support for large files
++  --enable-shared@<:@=PKGS@:>@ 
++                          build shared libraries @<:@default=no@:>@
++  --enable-static@<:@=PKGS@:>@ 
++                          build static libraries @<:@default=yes@:>@
++  --enable-fast-install@<:@=PKGS@:>@ 
++                          optimize for fast installation @<:@default=yes@:>@
++  --disable-libtool-lock  avoid locking (might break parallel builds)
++  --enable-dce            if you want support for DCE/DFS PAG's
++  --disable-berkeley-db   if you don't want berkeley db
++  --disable-otp           if you don't want OTP support
++  --enable-osfc2          enable some OSF C2 support
++  --disable-mmap          disable use of mmap
++  --enable-bigendian      the target is big endian
++  --enable-littleendian   the target is little endian
++  --disable-dynamic-afs   do not use loaded AFS library with AIX
++  --enable-netinfo        enable netinfo for configuration lookup
++
++Optional Packages:
++  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
++  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
++  --with-mips-abi=abi     ABI to use for IRIX (32, n32, or 64)
++  --with-gnu-ld           assume the C compiler uses GNU ld @<:@default=no@:>@
++  --with-pic              try to use only PIC/non-PIC objects @<:@default=use
++                          both@:>@
++  --with-tags@<:@=TAGS@:>@ 
++                          include additional configurations @<:@automatic@:>@
++  --with-openldap=dir     use openldap in dir
++  --with-openldap-lib=dir use openldap libraries in dir
++  --with-openldap-include=dir 
++                          use openldap headers in dir
++  --with-openldap-config=path 
++                          config program for openldap
++  --with-krb4=dir         use krb4 in dir
++  --with-krb4-lib=dir     use krb4 libraries in dir
++  --with-krb4-include=dir use krb4 headers in dir
++  --with-krb4-config=path config program for krb4
++  --with-openssl=dir      use openssl in dir
++  --with-openssl-lib=dir  use openssl libraries in dir
++  --with-openssl-include=dir 
++                          use openssl headers in dir
++  --with-roken=dir        use the roken library in dir
++  --without-ipv6          do not enable IPv6 support
++  --with-readline=dir     use readline in dir
++  --with-readline-lib=dir use readline libraries in dir
++  --with-readline-include=dir 
++                          use readline headers in dir
++  --with-readline-config=path 
++                          config program for readline
++  --with-hesiod=dir       use hesiod in dir
++  --with-hesiod-lib=dir   use hesiod libraries in dir
++  --with-hesiod-include=dir 
++                          use hesiod headers in dir
++  --with-hesiod-config=path 
++                          config program for hesiod
++  --with-sl=dir           use sl in dir
++  --with-sl-lib=dir       use sl libraries in dir
++  --with-sl-include=dir   use sl headers in dir
++  --with-sl-config=path   config program for sl
++  --with-ss=dir           use ss in dir
++  --with-ss-lib=dir       use ss libraries in dir
++  --with-ss-include=dir   use ss headers in dir
++  --with-ss-config=path   config program for ss
++  --with-otp=dir          use otp in dir
++  --with-otp-lib=dir      use otp libraries in dir
++  --with-otp-include=dir  use otp headers in dir
++  --with-otp-config=path  config program for otp
++  --with-x                use the X Window System
++
++Some influential environment variables:
++  CC          C compiler command
++  CFLAGS      C compiler flags
++  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
++              nonstandard directory <lib dir>
++  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
++              headers in a nonstandard directory <include dir>
++  CPP         C preprocessor
++  CXX         C++ compiler command
++  CXXFLAGS    C++ compiler flags
++  CXXCPP      C++ preprocessor
++  F77         Fortran 77 compiler command
++  FFLAGS      Fortran 77 compiler flags
++
++Use these variables to override the choices made by `configure' or to help
++it to find libraries and programs with nonstandard names/locations.
++
++Report bugs to <heimdal-bugs@pdc.kth.se>.
++_ACEOF
++fi
++
++if test "$ac_init_help" = "recursive"; then
++  # If there are subdirs, report their specific --help.
++  ac_popdir=`pwd`
++  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
++    test -d $ac_dir || continue
++    ac_builddir=.
++
++if test "$ac_dir" != .; then
++  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
++  # A "../" for each directory in $ac_dir_suffix.
++  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
++else
++  ac_dir_suffix= ac_top_builddir=
++fi
++
++case $srcdir in
++  .)  # No --srcdir option.  We are building in place.
++    ac_srcdir=.
++    if test -z "$ac_top_builddir"; then
++       ac_top_srcdir=.
++    else
++       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
++    fi ;;
++  [\\/]* | ?:[\\/]* )  # Absolute path.
++    ac_srcdir=$srcdir$ac_dir_suffix;
++    ac_top_srcdir=$srcdir ;;
++  *) # Relative path.
++    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
++    ac_top_srcdir=$ac_top_builddir$srcdir ;;
++esac
++
++# Do not use `cd foo && pwd` to compute absolute paths, because
++# the directories may not exist.
++case `pwd` in
++.) ac_abs_builddir="$ac_dir";;
++*)
++  case "$ac_dir" in
++  .) ac_abs_builddir=`pwd`;;
++  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
++  *) ac_abs_builddir=`pwd`/"$ac_dir";;
++  esac;;
++esac
++case $ac_abs_builddir in
++.) ac_abs_top_builddir=${ac_top_builddir}.;;
++*)
++  case ${ac_top_builddir}. in
++  .) ac_abs_top_builddir=$ac_abs_builddir;;
++  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
++  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
++  esac;;
++esac
++case $ac_abs_builddir in
++.) ac_abs_srcdir=$ac_srcdir;;
++*)
++  case $ac_srcdir in
++  .) ac_abs_srcdir=$ac_abs_builddir;;
++  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
++  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
++  esac;;
++esac
++case $ac_abs_builddir in
++.) ac_abs_top_srcdir=$ac_top_srcdir;;
++*)
++  case $ac_top_srcdir in
++  .) ac_abs_top_srcdir=$ac_abs_builddir;;
++  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
++  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
++  esac;;
++esac
++
++    cd $ac_dir
++    # Check for guested configure; otherwise get Cygnus style configure.
++    if test -f $ac_srcdir/configure.gnu; then
++      echo
++      $SHELL $ac_srcdir/configure.gnu  --help=recursive
++    elif test -f $ac_srcdir/configure; then
++      echo
++      $SHELL $ac_srcdir/configure  --help=recursive
++    elif test -f $ac_srcdir/configure.ac ||
++	   test -f $ac_srcdir/configure.in; then
++      echo
++      $ac_configure --help
++    else
++      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
++    fi
++    cd "$ac_popdir"
++  done
++fi
++
++test -n "$ac_init_help" && exit 0
++if $ac_init_version; then
++  cat <<\_ACEOF
++Heimdal configure 0.6.1
++generated by GNU Autoconf 2.59
++
++Copyright (C) 2003 Free Software Foundation, Inc.
++This configure script is free software; the Free Software Foundation
++gives unlimited permission to copy, distribute and modify it.
++_ACEOF
++  exit 0
++fi
++exec 5>config.log
++cat >&5 <<_ACEOF
++This file contains any messages produced by compilers while
++running configure, to aid debugging if configure makes a mistake.
++
++It was created by Heimdal $as_me 0.6.1, which was
++generated by GNU Autoconf 2.59.  Invocation command line was
++
++  $ $0 $@
++
++_ACEOF
++{
++cat <<_ASUNAME
++@%:@@%:@ --------- @%:@@%:@
++@%:@@%:@ Platform. @%:@@%:@
++@%:@@%:@ --------- @%:@@%:@
++
++hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
++uname -m = `(uname -m) 2>/dev/null || echo unknown`
++uname -r = `(uname -r) 2>/dev/null || echo unknown`
++uname -s = `(uname -s) 2>/dev/null || echo unknown`
++uname -v = `(uname -v) 2>/dev/null || echo unknown`
++
++/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
++/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
++
++/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
++/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
++/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
++hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
++/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
++/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
++/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
++
++_ASUNAME
++
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  echo "PATH: $as_dir"
++done
++
++} >&5
++
++cat >&5 <<_ACEOF
++
++
++@%:@@%:@ ----------- @%:@@%:@
++@%:@@%:@ Core tests. @%:@@%:@
++@%:@@%:@ ----------- @%:@@%:@
++
++_ACEOF
++
++
++# Keep a trace of the command line.
++# Strip out --no-create and --no-recursion so they do not pile up.
++# Strip out --silent because we don't want to record it for future runs.
++# Also quote any args containing shell meta-characters.
++# Make two passes to allow for proper duplicate-argument suppression.
++ac_configure_args=
++ac_configure_args0=
++ac_configure_args1=
++ac_sep=
++ac_must_keep_next=false
++for ac_pass in 1 2
++do
++  for ac_arg
++  do
++    case $ac_arg in
++    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
++    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
++    | -silent | --silent | --silen | --sile | --sil)
++      continue ;;
++    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
++      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
++    esac
++    case $ac_pass in
++    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
++    2)
++      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
++      if test $ac_must_keep_next = true; then
++	ac_must_keep_next=false # Got value, back to normal.
++      else
++	case $ac_arg in
++	  *=* | --config-cache | -C | -disable-* | --disable-* \
++	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
++	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
++	  | -with-* | --with-* | -without-* | --without-* | --x)
++	    case "$ac_configure_args0 " in
++	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
++	    esac
++	    ;;
++	  -* ) ac_must_keep_next=true ;;
++	esac
++      fi
++      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
++      # Get rid of the leading space.
++      ac_sep=" "
++      ;;
++    esac
++  done
++done
++$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
++$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
++
++# When interrupted or exit'd, cleanup temporary files, and complete
++# config.log.  We remove comments because anyway the quotes in there
++# would cause problems or look ugly.
++# WARNING: Be sure not to use single quotes in there, as some shells,
++# such as our DU 5.0 friend, will then `close' the trap.
++trap 'exit_status=$?
++  # Save into config.log some information that might help in debugging.
++  {
++    echo
++
++    cat <<\_ASBOX
++@%:@@%:@ ---------------- @%:@@%:@
++@%:@@%:@ Cache variables. @%:@@%:@
++@%:@@%:@ ---------------- @%:@@%:@
++_ASBOX
++    echo
++    # The following way of writing the cache mishandles newlines in values,
++{
++  (set) 2>&1 |
++    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
++    *ac_space=\ *)
++      sed -n \
++	"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
++	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
++      ;;
++    *)
++      sed -n \
++	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
++      ;;
++    esac;
++}
++    echo
++
++    cat <<\_ASBOX
++@%:@@%:@ ----------------- @%:@@%:@
++@%:@@%:@ Output variables. @%:@@%:@
++@%:@@%:@ ----------------- @%:@@%:@
++_ASBOX
++    echo
++    for ac_var in $ac_subst_vars
++    do
++      eval ac_val=$`echo $ac_var`
++      echo "$ac_var='"'"'$ac_val'"'"'"
++    done | sort
++    echo
++
++    if test -n "$ac_subst_files"; then
++      cat <<\_ASBOX
++@%:@@%:@ ------------- @%:@@%:@
++@%:@@%:@ Output files. @%:@@%:@
++@%:@@%:@ ------------- @%:@@%:@
++_ASBOX
++      echo
++      for ac_var in $ac_subst_files
++      do
++	eval ac_val=$`echo $ac_var`
++	echo "$ac_var='"'"'$ac_val'"'"'"
++      done | sort
++      echo
++    fi
++
++    if test -s confdefs.h; then
++      cat <<\_ASBOX
++@%:@@%:@ ----------- @%:@@%:@
++@%:@@%:@ confdefs.h. @%:@@%:@
++@%:@@%:@ ----------- @%:@@%:@
++_ASBOX
++      echo
++      sed "/^$/d" confdefs.h | sort
++      echo
++    fi
++    test "$ac_signal" != 0 &&
++      echo "$as_me: caught signal $ac_signal"
++    echo "$as_me: exit $exit_status"
++  } >&5
++  rm -f core *.core &&
++  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
++    exit $exit_status
++     ' 0
++for ac_signal in 1 2 13 15; do
++  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
++done
++ac_signal=0
++
++# 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
++
++# Predefined preprocessor variables.
++
++cat >>confdefs.h <<_ACEOF
++@%:@define PACKAGE_NAME "$PACKAGE_NAME"
++_ACEOF
++
++
++cat >>confdefs.h <<_ACEOF
++@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
++_ACEOF
++
++
++cat >>confdefs.h <<_ACEOF
++@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
++_ACEOF
++
++
++cat >>confdefs.h <<_ACEOF
++@%:@define PACKAGE_STRING "$PACKAGE_STRING"
++_ACEOF
++
++
++cat >>confdefs.h <<_ACEOF
++@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
++_ACEOF
++
++
++# Let the site file select an alternate cache file if it wants to.
++# 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 "$as_me:$LINENO: loading site script $ac_site_file" >&5
++echo "$as_me: loading site script $ac_site_file" >&6;}
++    sed 's/^/| /' "$ac_site_file" >&5
++    . "$ac_site_file"
++  fi
++done
++
++if test -r "$cache_file"; then
++  # Some versions of bash will fail to source /dev/null (special
++  # files actually), so we avoid doing that.
++  if test -f "$cache_file"; then
++    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
++echo "$as_me: loading cache $cache_file" >&6;}
++    case $cache_file in
++      [\\/]* | ?:[\\/]* ) . $cache_file;;
++      *)                      . ./$cache_file;;
++    esac
++  fi
++else
++  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
++echo "$as_me: creating cache $cache_file" >&6;}
++  >$cache_file
++fi
++
++# Check that the precious variables saved in the cache have kept the same
++# value.
++ac_cache_corrupted=false
++for ac_var in `(set) 2>&1 |
++	       sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
++  eval ac_old_set=\$ac_cv_env_${ac_var}_set
++  eval ac_new_set=\$ac_env_${ac_var}_set
++  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
++  eval ac_new_val="\$ac_env_${ac_var}_value"
++  case $ac_old_set,$ac_new_set in
++    set,)
++      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
++echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
++      ac_cache_corrupted=: ;;
++    ,set)
++      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
++echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
++      ac_cache_corrupted=: ;;
++    ,);;
++    *)
++      if test "x$ac_old_val" != "x$ac_new_val"; then
++	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
++echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
++	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
++echo "$as_me:   former value:  $ac_old_val" >&2;}
++	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
++echo "$as_me:   current value: $ac_new_val" >&2;}
++	ac_cache_corrupted=:
++      fi;;
++  esac
++  # Pass precious variables to config.status.
++  if test "$ac_new_set" = set; then
++    case $ac_new_val in
++    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
++      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
++    *) ac_arg=$ac_var=$ac_new_val ;;
++    esac
++    case " $ac_configure_args " in
++      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
++      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
++    esac
++  fi
++done
++if $ac_cache_corrupted; then
++  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
++echo "$as_me: error: changes in the environment can compromise the build" >&2;}
++  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
++echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
++   { (exit 1); exit 1; }; }
++fi
++
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
++echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
++    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
++if test "${enable_maintainer_mode+set}" = set; then
++  enableval="$enable_maintainer_mode"
++  USE_MAINTAINER_MODE=$enableval
++else
++  USE_MAINTAINER_MODE=no
++fi; 
++  echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
++echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
++  
++
++if test $USE_MAINTAINER_MODE = yes; then
++  MAINTAINER_MODE_TRUE=
++  MAINTAINER_MODE_FALSE='#'
++else
++  MAINTAINER_MODE_TRUE='#'
++  MAINTAINER_MODE_FALSE=
++fi
++
++  MAINT=$MAINTAINER_MODE_TRUE
++  
++
++
++          ac_config_headers="$ac_config_headers include/config.h"
++
++
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++if test -n "$ac_tool_prefix"; then
++  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
++set dummy ${ac_tool_prefix}gcc; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_CC+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$CC"; then
++  ac_cv_prog_CC="$CC" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_CC="${ac_tool_prefix}gcc"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++CC=$ac_cv_prog_CC
++if test -n "$CC"; then
++  echo "$as_me:$LINENO: result: $CC" >&5
++echo "${ECHO_T}$CC" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++fi
++if test -z "$ac_cv_prog_CC"; then
++  ac_ct_CC=$CC
++  # Extract the first word of "gcc", so it can be a program name with args.
++set dummy gcc; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$ac_ct_CC"; then
++  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_ac_ct_CC="gcc"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++ac_ct_CC=$ac_cv_prog_ac_ct_CC
++if test -n "$ac_ct_CC"; then
++  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
++echo "${ECHO_T}$ac_ct_CC" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  CC=$ac_ct_CC
++else
++  CC="$ac_cv_prog_CC"
++fi
++
++if test -z "$CC"; then
++  if test -n "$ac_tool_prefix"; then
++  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
++set dummy ${ac_tool_prefix}cc; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_CC+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$CC"; then
++  ac_cv_prog_CC="$CC" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_CC="${ac_tool_prefix}cc"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++CC=$ac_cv_prog_CC
++if test -n "$CC"; then
++  echo "$as_me:$LINENO: result: $CC" >&5
++echo "${ECHO_T}$CC" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++fi
++if test -z "$ac_cv_prog_CC"; then
++  ac_ct_CC=$CC
++  # Extract the first word of "cc", so it can be a program name with args.
++set dummy cc; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$ac_ct_CC"; then
++  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_ac_ct_CC="cc"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++ac_ct_CC=$ac_cv_prog_ac_ct_CC
++if test -n "$ac_ct_CC"; then
++  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
++echo "${ECHO_T}$ac_ct_CC" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  CC=$ac_ct_CC
++else
++  CC="$ac_cv_prog_CC"
++fi
++
++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 "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_CC+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$CC"; then
++  ac_cv_prog_CC="$CC" # Let the user override the test.
++else
++  ac_prog_rejected=no
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
++       ac_prog_rejected=yes
++       continue
++     fi
++    ac_cv_prog_CC="cc"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++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 $@%:@ != 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
++    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
++  fi
++fi
++fi
++fi
++CC=$ac_cv_prog_CC
++if test -n "$CC"; then
++  echo "$as_me:$LINENO: result: $CC" >&5
++echo "${ECHO_T}$CC" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++fi
++if test -z "$CC"; then
++  if test -n "$ac_tool_prefix"; then
++  for ac_prog in cl
++  do
++    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
++set dummy $ac_tool_prefix$ac_prog; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_CC+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$CC"; then
++  ac_cv_prog_CC="$CC" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++CC=$ac_cv_prog_CC
++if test -n "$CC"; then
++  echo "$as_me:$LINENO: result: $CC" >&5
++echo "${ECHO_T}$CC" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++    test -n "$CC" && break
++  done
++fi
++if test -z "$CC"; then
++  ac_ct_CC=$CC
++  for ac_prog in cl
++do
++  # Extract the first word of "$ac_prog", so it can be a program name with args.
++set dummy $ac_prog; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$ac_ct_CC"; then
++  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_ac_ct_CC="$ac_prog"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++ac_ct_CC=$ac_cv_prog_ac_ct_CC
++if test -n "$ac_ct_CC"; then
++  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
++echo "${ECHO_T}$ac_ct_CC" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  test -n "$ac_ct_CC" && break
++done
++
++  CC=$ac_ct_CC
++fi
++
++fi
++
++
++test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
++See \`config.log' for more details." >&5
++echo "$as_me: error: no acceptable C compiler found in \$PATH
++See \`config.log' for more details." >&2;}
++   { (exit 1); exit 1; }; }
++
++# Provide some information about the compiler.
++echo "$as_me:$LINENO:" \
++     "checking for C compiler version" >&5
++ac_compiler=`set X $ac_compile; echo $2`
++{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
++  (eval $ac_compiler --version </dev/null >&5) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }
++{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
++  (eval $ac_compiler -v </dev/null >&5) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }
++{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
++  (eval $ac_compiler -V </dev/null >&5) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }
++
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++ac_clean_files_save=$ac_clean_files
++ac_clean_files="$ac_clean_files a.out a.exe b.out"
++# Try to create an executable without -o first, disregard a.out.
++# It will help us diagnose broken compilers, and finding out an intuition
++# of exeext.
++echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
++echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
++ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
++if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
++  (eval $ac_link_default) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; then
++  # Find the output, starting from the most likely.  This scheme is
++# not robust to junk in `.', hence go to wildcards (a.*) only as a last
++# resort.
++
++# Be careful to initialize this variable, since it used to be cached.
++# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
++ac_cv_exeext=
++# b.out is created by i960 compilers.
++for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
++do
++  test -f "$ac_file" || continue
++  case $ac_file in
++    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
++	;;
++    conftest.$ac_ext )
++	# This is the source file.
++	;;
++    [ab].out )
++	# We found the default executable, but exeext='' is most
++	# certainly right.
++	break;;
++    *.* )
++	ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
++	# FIXME: I believe we export ac_cv_exeext for Libtool,
++	# but it would be cool to find out if it's true.  Does anybody
++	# maintain Libtool? --akim.
++	export ac_cv_exeext
++	break;;
++    * )
++	break;;
++  esac
++done
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
++See \`config.log' for more details." >&5
++echo "$as_me: error: C compiler cannot create executables
++See \`config.log' for more details." >&2;}
++   { (exit 77); exit 77; }; }
++fi
++
++ac_exeext=$ac_cv_exeext
++echo "$as_me:$LINENO: result: $ac_file" >&5
++echo "${ECHO_T}$ac_file" >&6
++
++# Check the compiler produces executables we can run.  If not, either
++# the compiler is broken, or we cross compile.
++echo "$as_me:$LINENO: checking whether the C compiler works" >&5
++echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
++# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
++# If not cross compiling, check that we can run a simple program.
++if test "$cross_compiling" != yes; then
++  if { ac_try='./$ac_file'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++    cross_compiling=no
++  else
++    if test "$cross_compiling" = maybe; then
++	cross_compiling=yes
++    else
++	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
++If you meant to cross compile, use \`--host'.
++See \`config.log' for more details." >&5
++echo "$as_me: error: cannot run C compiled programs.
++If you meant to cross compile, use \`--host'.
++See \`config.log' for more details." >&2;}
++   { (exit 1); exit 1; }; }
++    fi
++  fi
++fi
++echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++
++rm -f a.out a.exe conftest$ac_cv_exeext b.out
++ac_clean_files=$ac_clean_files_save
++# Check the compiler produces executables we can run.  If not, either
++# the compiler is broken, or we cross compile.
++echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
++echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
++echo "$as_me:$LINENO: result: $cross_compiling" >&5
++echo "${ECHO_T}$cross_compiling" >&6
++
++echo "$as_me:$LINENO: checking for suffix of executables" >&5
++echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; then
++  # If both `conftest.exe' and `conftest' are `present' (well, observable)
++# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
++# work properly (i.e., refer to `conftest.exe'), while it won't with
++# `rm'.
++for ac_file in conftest.exe conftest conftest.*; do
++  test -f "$ac_file" || continue
++  case $ac_file in
++    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
++    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
++	  export ac_cv_exeext
++	  break;;
++    * ) break;;
++  esac
++done
++else
++  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
++See \`config.log' for more details." >&5
++echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
++See \`config.log' for more details." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++
++rm -f conftest$ac_cv_exeext
++echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
++echo "${ECHO_T}$ac_cv_exeext" >&6
++
++rm -f conftest.$ac_ext
++EXEEXT=$ac_cv_exeext
++ac_exeext=$EXEEXT
++echo "$as_me:$LINENO: checking for suffix of object files" >&5
++echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
++if test "${ac_cv_objext+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.o conftest.obj
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; then
++  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
++  case $ac_file in
++    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
++    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
++       break;;
++  esac
++done
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
++See \`config.log' for more details." >&5
++echo "$as_me: error: cannot compute suffix of object files: cannot compile
++See \`config.log' for more details." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++
++rm -f conftest.$ac_cv_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
++echo "${ECHO_T}$ac_cv_objext" >&6
++OBJEXT=$ac_cv_objext
++ac_objext=$OBJEXT
++echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
++echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
++if test "${ac_cv_c_compiler_gnu+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++#ifndef __GNUC__
++       choke me
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_compiler_gnu=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_compiler_gnu=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++ac_cv_c_compiler_gnu=$ac_compiler_gnu
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
++echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
++GCC=`test $ac_compiler_gnu = yes && echo yes`
++ac_test_CFLAGS=${CFLAGS+set}
++ac_save_CFLAGS=$CFLAGS
++CFLAGS="-g"
++echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
++echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
++if test "${ac_cv_prog_cc_g+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_prog_cc_g=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_prog_cc_g=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
++echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
++if test "$ac_test_CFLAGS" = set; then
++  CFLAGS=$ac_save_CFLAGS
++elif test $ac_cv_prog_cc_g = yes; then
++  if test "$GCC" = yes; then
++    CFLAGS="-g -O2"
++  else
++    CFLAGS="-g"
++  fi
++else
++  if test "$GCC" = yes; then
++    CFLAGS="-O2"
++  else
++    CFLAGS=
++  fi
++fi
++echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
++echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
++if test "${ac_cv_prog_cc_stdc+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_cv_prog_cc_stdc=no
++ac_save_CC=$CC
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdarg.h>
++#include <stdio.h>
++#include <sys/types.h>
++#include <sys/stat.h>
++/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
++struct buf { int x; };
++FILE * (*rcsopen) (struct buf *, struct stat *, int);
++static char *e (p, i)
++     char **p;
++     int i;
++{
++  return p[i];
++}
++static char *f (char * (*g) (char **, int), char **p, ...)
++{
++  char *s;
++  va_list v;
++  va_start (v,p);
++  s = g (p, va_arg (v,int));
++  va_end (v);
++  return s;
++}
++
++/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
++   function prototypes and stuff, but not '\xHH' hex character constants.
++   These don't provoke an error unfortunately, instead are silently treated
++   as 'x'.  The following induces an error, until -std1 is added to get
++   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
++   array size at least.  It's necessary to write '\x00'==0 to get something
++   that's true only with -std1.  */
++int osf4_cc_array ['\x00' == 0 ? 1 : -1];
++
++int test (int i, double x);
++struct s1 {int (*f) (int a);};
++struct s2 {int (*f) (double a);};
++int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
++int argc;
++char **argv;
++int
++main ()
++{
++return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
++  ;
++  return 0;
++}
++_ACEOF
++# Don't try gcc -ansi; that turns off useful extensions and
++# breaks some systems' header files.
++# AIX			-qlanglvl=ansi
++# Ultrix and OSF/1	-std1
++# HP-UX 10.20 and later	-Ae
++# HP-UX older versions	-Aa -D_HPUX_SOURCE
++# SVR4			-Xc -D__EXTENSIONS__
++for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
++do
++  CC="$ac_save_CC $ac_arg"
++  rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_prog_cc_stdc=$ac_arg
++break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext 
++done
++rm -f conftest.$ac_ext conftest.$ac_objext
++CC=$ac_save_CC
++
++fi
++
++case "x$ac_cv_prog_cc_stdc" in
++  x|xno)
++    echo "$as_me:$LINENO: result: none needed" >&5
++echo "${ECHO_T}none needed" >&6 ;;
++  *)
++    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
++echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
++    CC="$CC $ac_cv_prog_cc_stdc" ;;
++esac
++
++# Some people use a C++ compiler to compile C.  Since we use `exit',
++# in C++ we need to declare it.  In case someone uses the same compiler
++# for both compiling C and C++ we need to have the C++ compiler decide
++# the declaration of exit, since it's the most demanding environment.
++cat >conftest.$ac_ext <<_ACEOF
++@%:@ifndef __cplusplus
++  choke me
++@%:@endif
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  for ac_declaration in \
++   '' \
++   'extern "C" void std::exit (int) throw (); using std::exit;' \
++   'extern "C" void std::exit (int); using std::exit;' \
++   'extern "C" void exit (int) throw ();' \
++   'extern "C" void exit (int);' \
++   'void exit (int);'
++do
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_declaration
++@%:@include <stdlib.h>
++int
++main ()
++{
++exit (42);
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  :
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++continue
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_declaration
++int
++main ()
++{
++exit (42);
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++done
++rm -f conftest*
++if test -n "$ac_declaration"; then
++  echo '#ifdef __cplusplus' >>confdefs.h
++  echo $ac_declaration      >>confdefs.h
++  echo '#endif'             >>confdefs.h
++fi
++
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
++echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
++# On Suns, sometimes $CPP names a directory.
++if test -n "$CPP" && test -d "$CPP"; then
++  CPP=
++fi
++if test -z "$CPP"; then
++  if test "${ac_cv_prog_CPP+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++      # Double quotes because CPP needs to be expanded
++    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
++    do
++      ac_preproc_ok=false
++for ac_c_preproc_warn_flag in '' yes
++do
++  # Use a header file that comes with gcc, so configuring glibc
++  # with a fresh cross-compiler works.
++  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++  # <limits.h> exists even on freestanding compilers.
++  # On the NeXT, cc -E runs the code through the compiler's parser,
++  # not just through cpp. "Syntax error" is here to catch this case.
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@ifdef __STDC__
++@%:@ include <limits.h>
++@%:@else
++@%:@ include <assert.h>
++@%:@endif
++		     Syntax error
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  :
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++  # Broken: fails on valid input.
++continue
++fi
++rm -f conftest.err conftest.$ac_ext
++
++  # OK, works on sane cases.  Now check whether non-existent headers
++  # can be detected and how.
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@include <ac_nonexistent.h>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  # Broken: success on invalid input.
++continue
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++  # Passes both tests.
++ac_preproc_ok=:
++break
++fi
++rm -f conftest.err conftest.$ac_ext
++
++done
++# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
++rm -f conftest.err conftest.$ac_ext
++if $ac_preproc_ok; then
++  break
++fi
++
++    done
++    ac_cv_prog_CPP=$CPP
++  
++fi
++  CPP=$ac_cv_prog_CPP
++else
++  ac_cv_prog_CPP=$CPP
++fi
++echo "$as_me:$LINENO: result: $CPP" >&5
++echo "${ECHO_T}$CPP" >&6
++ac_preproc_ok=false
++for ac_c_preproc_warn_flag in '' yes
++do
++  # Use a header file that comes with gcc, so configuring glibc
++  # with a fresh cross-compiler works.
++  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++  # <limits.h> exists even on freestanding compilers.
++  # On the NeXT, cc -E runs the code through the compiler's parser,
++  # not just through cpp. "Syntax error" is here to catch this case.
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@ifdef __STDC__
++@%:@ include <limits.h>
++@%:@else
++@%:@ include <assert.h>
++@%:@endif
++		     Syntax error
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  :
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++  # Broken: fails on valid input.
++continue
++fi
++rm -f conftest.err conftest.$ac_ext
++
++  # OK, works on sane cases.  Now check whether non-existent headers
++  # can be detected and how.
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@include <ac_nonexistent.h>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  # Broken: success on invalid input.
++continue
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++  # Passes both tests.
++ac_preproc_ok=:
++break
++fi
++rm -f conftest.err conftest.$ac_ext
++
++done
++# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
++rm -f conftest.err conftest.$ac_ext
++if $ac_preproc_ok; then
++  :
++else
++  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
++See \`config.log' for more details." >&5
++echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
++See \`config.log' for more details." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++
++
++am__api_version="1.7"
++ac_aux_dir=
++for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
++  if test -f $ac_dir/install-sh; then
++    ac_aux_dir=$ac_dir
++    ac_install_sh="$ac_aux_dir/install-sh -c"
++    break
++  elif test -f $ac_dir/install.sh; then
++    ac_aux_dir=$ac_dir
++    ac_install_sh="$ac_aux_dir/install.sh -c"
++    break
++  elif test -f $ac_dir/shtool; then
++    ac_aux_dir=$ac_dir
++    ac_install_sh="$ac_aux_dir/shtool install -c"
++    break
++  fi
++done
++if test -z "$ac_aux_dir"; then
++  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
++echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++ac_config_guess="$SHELL $ac_aux_dir/config.guess"
++ac_config_sub="$SHELL $ac_aux_dir/config.sub"
++ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
++
++# Find a good install program.  We prefer a C program (faster),
++# so one script is as good as another.  But avoid the broken or
++# incompatible versions:
++# SysV /etc/install, /usr/sbin/install
++# SunOS /usr/etc/install
++# IRIX /sbin/install
++# AIX /bin/install
++# AmigaOS /C/install, which installs bootblocks on floppy discs
++# 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"
++# OS/2's system install, which has a completely different semantic
++# ./install, which can be erroneously created by make from ./install.sh.
++echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
++echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
++if test -z "$INSTALL"; then
++if test "${ac_cv_path_install+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  # Account for people who put trailing slashes in PATH elements.
++case $as_dir/ in
++  ./ | .// | /cC/* | \
++  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
++  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
++  /usr/ucb/* ) ;;
++  *)
++    # OSF1 and SCO ODT 3.0 have their own names for install.
++    # Don't use installbsd from OSF since it installs stuff as root
++    # by default.
++    for ac_prog in ginstall scoinst install; do
++      for ac_exec_ext in '' $ac_executable_extensions; do
++	if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
++	  if test $ac_prog = install &&
++	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
++	    # AIX install.  It has an incompatible calling convention.
++	    :
++	  elif test $ac_prog = install &&
++	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
++	    # program-specific install script used by HP pwplus--don't use.
++	    :
++	  else
++	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
++	    break 3
++	  fi
++	fi
++      done
++    done
++    ;;
++esac
++done
++
++
++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 "$as_me:$LINENO: result: $INSTALL" >&5
++echo "${ECHO_T}$INSTALL" >&6
++
++# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
++# It thinks the first close brace ends the variable substitution.
++test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
++
++test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
++
++test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
++
++echo "$as_me:$LINENO: checking whether build environment is sane" >&5
++echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
++# Just in case
++sleep 1
++echo timestamp > conftest.file
++# Do `set' in a subshell so we don't clobber the current shell's
++# arguments.  Must try -L first in case configure is actually a
++# symlink; some systems play weird games with the mod time of symlinks
++# (eg FreeBSD returns the mod time of the symlink's containing
++# directory).
++if (
++   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
++   if test "$*" = "X"; then
++      # -L didn't work.
++      set X `ls -t $srcdir/configure conftest.file`
++   fi
++   rm -f conftest.file
++   if test "$*" != "X $srcdir/configure conftest.file" \
++      && test "$*" != "X conftest.file $srcdir/configure"; then
++
++      # If neither matched, then we have a broken ls.  This can happen
++      # if, for instance, CONFIG_SHELL is bash and it inherits a
++      # broken ls alias from the environment.  This has actually
++      # happened.  Such a system could not be considered "sane".
++      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
++alias in your environment" >&5
++echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
++alias in your environment" >&2;}
++   { (exit 1); exit 1; }; }
++   fi
++
++   test "$2" = conftest.file
++   )
++then
++   # Ok.
++   :
++else
++   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
++Check your system clock" >&5
++echo "$as_me: error: newly created file is older than distributed files!
++Check your system clock" >&2;}
++   { (exit 1); exit 1; }; }
++fi
++echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++test "$program_prefix" != NONE &&
++  program_transform_name="s,^,$program_prefix,;$program_transform_name"
++# Use a double $ so make ignores it.
++test "$program_suffix" != NONE &&
++  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
++# Double any \ or $.  echo might interpret backslashes.
++# By default was `s,x,x', remove it if useless.
++cat <<\_ACEOF >conftest.sed
++s/[\\$]/&&/g;s/;s,x,x,$//
++_ACEOF
++program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
++rm conftest.sed
++
++
++# expand $ac_aux_dir to an absolute path
++am_aux_dir=`cd $ac_aux_dir && pwd`
++
++test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
++# Use eval to expand $SHELL
++if eval "$MISSING --run true"; then
++  am_missing_run="$MISSING --run "
++else
++  am_missing_run=
++  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
++echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
++fi
++
++for ac_prog in gawk mawk nawk awk
++do
++  # Extract the first word of "$ac_prog", so it can be a program name with args.
++set dummy $ac_prog; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_AWK+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$AWK"; then
++  ac_cv_prog_AWK="$AWK" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_AWK="$ac_prog"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++AWK=$ac_cv_prog_AWK
++if test -n "$AWK"; then
++  echo "$as_me:$LINENO: result: $AWK" >&5
++echo "${ECHO_T}$AWK" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  test -n "$AWK" && break
++done
++
++echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
++echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
++set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
++if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.make <<\_ACEOF
++all:
++	@echo 'ac_maketemp="$(MAKE)"'
++_ACEOF
++# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
++eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
++if test -n "$ac_maketemp"; then
++  eval ac_cv_prog_make_${ac_make}_set=yes
++else
++  eval ac_cv_prog_make_${ac_make}_set=no
++fi
++rm -f conftest.make
++fi
++if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
++  echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++  SET_MAKE=
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++  SET_MAKE="MAKE=${MAKE-make}"
++fi
++
++rm -rf .tst 2>/dev/null
++mkdir .tst 2>/dev/null
++if test -d .tst; then
++  am__leading_dot=.
++else
++  am__leading_dot=_
++fi
++rmdir .tst 2>/dev/null
++
++ # test to see if srcdir already configured
++if test "`cd $srcdir && pwd`" != "`pwd`" &&
++   test -f $srcdir/config.status; then
++  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
++echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
++   { (exit 1); exit 1; }; }
++fi
++
++# test whether we have cygpath
++if test -z "$CYGPATH_W"; then
++  if (cygpath --version) >/dev/null 2>/dev/null; then
++    CYGPATH_W='cygpath -w'
++  else
++    CYGPATH_W=echo
++  fi
++fi
++
++
++# Define the identity of the package.
++ PACKAGE='heimdal'
++ VERSION='0.6.1'
++
++
++cat >>confdefs.h <<_ACEOF
++@%:@define PACKAGE "$PACKAGE"
++_ACEOF
++
++ 
++cat >>confdefs.h <<_ACEOF
++@%:@define VERSION "$VERSION"
++_ACEOF
++
++# Some tools Automake needs.
++
++ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
++
++
++AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
++
++
++AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
++
++
++AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
++
++
++MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
++
++
++AMTAR=${AMTAR-"${am_missing_run}tar"}
++
++install_sh=${install_sh-"$am_aux_dir/install-sh"}
++
++# Installed binaries are usually stripped using `strip' when the user
++# run `make install-strip'.  However `strip' might not be the right
++# tool to use in cross-compilation environments, therefore Automake
++# will honor the `STRIP' environment variable to overrule this program.
++if test "$cross_compiling" != no; then
++  if test -n "$ac_tool_prefix"; then
++  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
++set dummy ${ac_tool_prefix}strip; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_STRIP+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$STRIP"; then
++  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++STRIP=$ac_cv_prog_STRIP
++if test -n "$STRIP"; then
++  echo "$as_me:$LINENO: result: $STRIP" >&5
++echo "${ECHO_T}$STRIP" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++fi
++if test -z "$ac_cv_prog_STRIP"; then
++  ac_ct_STRIP=$STRIP
++  # Extract the first word of "strip", so it can be a program name with args.
++set dummy strip; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$ac_ct_STRIP"; then
++  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_ac_ct_STRIP="strip"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
++fi
++fi
++ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
++if test -n "$ac_ct_STRIP"; then
++  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
++echo "${ECHO_T}$ac_ct_STRIP" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  STRIP=$ac_ct_STRIP
++else
++  STRIP="$ac_cv_prog_STRIP"
++fi
++
++fi
++INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
++
++# We need awk for the "check" target.  The system "awk" is bad on
++# some platforms.
++
++
++
++echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
++echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
++    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
++if test "${enable_maintainer_mode+set}" = set; then
++  enableval="$enable_maintainer_mode"
++  USE_MAINTAINER_MODE=$enableval
++else
++  USE_MAINTAINER_MODE=no
++fi; 
++  echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
++echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
++  
++
++if test $USE_MAINTAINER_MODE = yes; then
++  MAINTAINER_MODE_TRUE=
++  MAINTAINER_MODE_FALSE='#'
++else
++  MAINTAINER_MODE_TRUE='#'
++  MAINTAINER_MODE_FALSE=
++fi
++
++  MAINT=$MAINTAINER_MODE_TRUE
++  
++
++
++
++
++test "$sysconfdir" = '${prefix}/etc' && sysconfdir='/etc'
++test "$localstatedir" = '${prefix}/var' && localstatedir='/var/heimdal'
++
++# Make sure we can run config.sub.
++$ac_config_sub sun4 >/dev/null 2>&1 ||
++  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
++echo "$as_me: error: cannot run $ac_config_sub" >&2;}
++   { (exit 1); exit 1; }; }
++
++echo "$as_me:$LINENO: checking build system type" >&5
++echo $ECHO_N "checking build system type... $ECHO_C" >&6
++if test "${ac_cv_build+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_cv_build_alias=$build_alias
++test -z "$ac_cv_build_alias" &&
++  ac_cv_build_alias=`$ac_config_guess`
++test -z "$ac_cv_build_alias" &&
++  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
++echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
++   { (exit 1); exit 1; }; }
++ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
++  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
++echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
++   { (exit 1); exit 1; }; }
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_build" >&5
++echo "${ECHO_T}$ac_cv_build" >&6
++build=$ac_cv_build
++build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
++build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
++build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
++
++
++echo "$as_me:$LINENO: checking host system type" >&5
++echo $ECHO_N "checking host system type... $ECHO_C" >&6
++if test "${ac_cv_host+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_cv_host_alias=$host_alias
++test -z "$ac_cv_host_alias" &&
++  ac_cv_host_alias=$ac_cv_build_alias
++ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
++  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
++echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
++   { (exit 1); exit 1; }; }
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_host" >&5
++echo "${ECHO_T}$ac_cv_host" >&6
++host=$ac_cv_host
++host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
++host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
++host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
++
++
++CANONICAL_HOST=$host
++
++
++
++# Check whether --enable-largefile or --disable-largefile was given.
++if test "${enable_largefile+set}" = set; then
++  enableval="$enable_largefile"
++  
++fi; 
++if test "$enable_largefile" != no; then
++
++  echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
++echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
++if test "${ac_cv_sys_largefile_CC+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_cv_sys_largefile_CC=no
++     if test "$GCC" != yes; then
++       ac_save_CC=$CC
++       while :; do
++     	 # IRIX 6.2 and later do not support large files by default,
++     	 # so use the C compiler's -n32 option if that helps.
++	 cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@include <sys/types.h>
++ /* Check that off_t can represent 2**63 - 1 correctly.
++    We can't simply define LARGE_OFF_T to be 9223372036854775807,
++    since some C++ compilers masquerading as C compilers
++    incorrectly reject 9223372036854775807.  */
++@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
++  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
++		       && LARGE_OFF_T % 2147483647 == 1)
++		      ? 1 : -1];
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++     	 rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext 
++     	 CC="$CC -n32"
++     	 rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_sys_largefile_CC=' -n32'; break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext 
++	 break
++       done
++       CC=$ac_save_CC
++       rm -f conftest.$ac_ext
++    fi
++fi
++echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
++echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
++  if test "$ac_cv_sys_largefile_CC" != no; then
++    CC=$CC$ac_cv_sys_largefile_CC
++  fi
++
++  echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
++echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
++if test "${ac_cv_sys_file_offset_bits+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  while :; do
++  ac_cv_sys_file_offset_bits=no
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@include <sys/types.h>
++ /* Check that off_t can represent 2**63 - 1 correctly.
++    We can't simply define LARGE_OFF_T to be 9223372036854775807,
++    since some C++ compilers masquerading as C compilers
++    incorrectly reject 9223372036854775807.  */
++@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
++  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
++		       && LARGE_OFF_T % 2147483647 == 1)
++		      ? 1 : -1];
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@define _FILE_OFFSET_BITS 64
++@%:@include <sys/types.h>
++ /* Check that off_t can represent 2**63 - 1 correctly.
++    We can't simply define LARGE_OFF_T to be 9223372036854775807,
++    since some C++ compilers masquerading as C compilers
++    incorrectly reject 9223372036854775807.  */
++@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
++  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
++		       && LARGE_OFF_T % 2147483647 == 1)
++		      ? 1 : -1];
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_sys_file_offset_bits=64; break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++  break
++done
++fi
++echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
++echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
++if test "$ac_cv_sys_file_offset_bits" != no; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
++_ACEOF
++
++fi
++rm -f conftest*
++  echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
++echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
++if test "${ac_cv_sys_large_files+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  while :; do
++  ac_cv_sys_large_files=no
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@include <sys/types.h>
++ /* Check that off_t can represent 2**63 - 1 correctly.
++    We can't simply define LARGE_OFF_T to be 9223372036854775807,
++    since some C++ compilers masquerading as C compilers
++    incorrectly reject 9223372036854775807.  */
++@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
++  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
++		       && LARGE_OFF_T % 2147483647 == 1)
++		      ? 1 : -1];
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@define _LARGE_FILES 1
++@%:@include <sys/types.h>
++ /* Check that off_t can represent 2**63 - 1 correctly.
++    We can't simply define LARGE_OFF_T to be 9223372036854775807,
++    since some C++ compilers masquerading as C compilers
++    incorrectly reject 9223372036854775807.  */
++@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
++  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
++		       && LARGE_OFF_T % 2147483647 == 1)
++		      ? 1 : -1];
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_sys_large_files=1; break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++  break
++done
++fi
++echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
++echo "${ECHO_T}$ac_cv_sys_large_files" >&6
++if test "$ac_cv_sys_large_files" != no; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define _LARGE_FILES $ac_cv_sys_large_files
++_ACEOF
++
++fi
++rm -f conftest*
++fi
++
++if test "$enable_largefile" != no -a "$ac_cv_sys_large_files" != no; then
++	CPPFLAGS="$CPPFLAGS -D_LARGE_FILES=$ac_cv_sys_large_files"
++fi
++
++
++cat >>confdefs.h <<\_ACEOF
++@%:@define _GNU_SOURCE 1
++_ACEOF
++
++
++
++
++
++for ac_prog in 'bison -y' byacc
++do
++  # Extract the first word of "$ac_prog", so it can be a program name with args.
++set dummy $ac_prog; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_YACC+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$YACC"; then
++  ac_cv_prog_YACC="$YACC" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_YACC="$ac_prog"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++YACC=$ac_cv_prog_YACC
++if test -n "$YACC"; then
++  echo "$as_me:$LINENO: result: $YACC" >&5
++echo "${ECHO_T}$YACC" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  test -n "$YACC" && break
++done
++test -n "$YACC" || YACC="yacc"
++
++for ac_prog in flex lex
++do
++  # Extract the first word of "$ac_prog", so it can be a program name with args.
++set dummy $ac_prog; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_LEX+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$LEX"; then
++  ac_cv_prog_LEX="$LEX" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_LEX="$ac_prog"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++LEX=$ac_cv_prog_LEX
++if test -n "$LEX"; then
++  echo "$as_me:$LINENO: result: $LEX" >&5
++echo "${ECHO_T}$LEX" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  test -n "$LEX" && break
++done
++test -n "$LEX" || LEX=":"
++
++if test -z "$LEXLIB"
++then
++  echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
++echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
++if test "${ac_cv_lib_fl_yywrap+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-lfl  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char yywrap ();
++int
++main ()
++{
++yywrap ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_fl_yywrap=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_fl_yywrap=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
++echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
++if test $ac_cv_lib_fl_yywrap = yes; then
++  LEXLIB="-lfl"
++else
++  echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
++echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
++if test "${ac_cv_lib_l_yywrap+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ll  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char yywrap ();
++int
++main ()
++{
++yywrap ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_l_yywrap=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_l_yywrap=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
++echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
++if test $ac_cv_lib_l_yywrap = yes; then
++  LEXLIB="-ll"
++fi
++
++fi
++
++fi
++
++if test "x$LEX" != "x:"; then
++  echo "$as_me:$LINENO: checking lex output file root" >&5
++echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
++if test "${ac_cv_prog_lex_root+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  # The minimal lex program is just a single line: %%.  But some broken lexes
++# (Solaris, I think it was) want two %% lines, so accommodate them.
++cat >conftest.l <<_ACEOF
++%%
++%%
++_ACEOF
++{ (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
++  (eval $LEX conftest.l) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }
++if test -f lex.yy.c; then
++  ac_cv_prog_lex_root=lex.yy
++elif test -f lexyy.c; then
++  ac_cv_prog_lex_root=lexyy
++else
++  { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
++echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
++   { (exit 1); exit 1; }; }
++fi
++fi
++echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
++echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
++rm -f conftest.l
++LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
++
++echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
++echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
++if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  # POSIX says lex can declare yytext either as a pointer or an array; the
++# default is implementation-dependent. Figure out which it is, since
++# not all implementations provide the %pointer and %array declarations.
++ac_cv_prog_lex_yytext_pointer=no
++echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
++ac_save_LIBS=$LIBS
++LIBS="$LIBS $LEXLIB"
++cat >conftest.$ac_ext <<_ACEOF
++`cat $LEX_OUTPUT_ROOT.c`
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_prog_lex_yytext_pointer=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_save_LIBS
++rm -f "${LEX_OUTPUT_ROOT}.c"
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
++echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
++if test $ac_cv_prog_lex_yytext_pointer = yes; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define YYTEXT_POINTER 1
++_ACEOF
++
++fi
++
++fi
++if test "$LEX" = :; then
++  LEX=${am_missing_run}flex
++fi
++for ac_prog in gawk mawk nawk awk
++do
++  # Extract the first word of "$ac_prog", so it can be a program name with args.
++set dummy $ac_prog; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_AWK+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$AWK"; then
++  ac_cv_prog_AWK="$AWK" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_AWK="$ac_prog"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++AWK=$ac_cv_prog_AWK
++if test -n "$AWK"; then
++  echo "$as_me:$LINENO: result: $AWK" >&5
++echo "${ECHO_T}$AWK" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  test -n "$AWK" && break
++done
++
++echo "$as_me:$LINENO: checking for ln -s or something else" >&5
++echo $ECHO_N "checking for ln -s or something else... $ECHO_C" >&6
++if test "${ac_cv_prog_LN_S+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  rm -f conftestdata
++if ln -s X conftestdata 2>/dev/null
++then
++  rm -f conftestdata
++  ac_cv_prog_LN_S="ln -s"
++else
++  touch conftestdata1
++  if ln conftestdata1 conftestdata2; then
++    rm -f conftestdata*
++    ac_cv_prog_LN_S=ln
++  else
++    ac_cv_prog_LN_S=cp
++  fi
++fi
++fi
++LN_S="$ac_cv_prog_LN_S"
++echo "$as_me:$LINENO: result: $ac_cv_prog_LN_S" >&5
++echo "${ECHO_T}$ac_cv_prog_LN_S" >&6
++
++
++
++
++# Check whether --with-mips_abi or --without-mips_abi was given.
++if test "${with_mips_abi+set}" = set; then
++  withval="$with_mips_abi"
++  
++fi; 
++
++case "$host_os" in
++irix*)
++with_mips_abi="${with_mips_abi:-yes}"
++if test -n "$GCC"; then
++
++# GCC < 2.8 only supports the O32 ABI. GCC >= 2.8 has a flag to select
++# which ABI to use, but only supports (as of 2.8.1) the N32 and 64 ABIs.
++#
++# Default to N32, but if GCC doesn't grok -mabi=n32, we assume an old
++# GCC and revert back to O32. The same goes if O32 is asked for - old
++# GCCs doesn't like the -mabi option, and new GCCs can't output O32.
++#
++# Don't you just love *all* the different SGI ABIs?
++
++case "${with_mips_abi}" in 
++        32|o32) abi='-mabi=32';  abilibdirext=''     ;;
++       n32|yes) abi='-mabi=n32'; abilibdirext='32'  ;;
++        64) abi='-mabi=64';  abilibdirext='64'   ;;
++	no) abi=''; abilibdirext='';;
++         *) { { echo "$as_me:$LINENO: error: \"Invalid ABI specified\"" >&5
++echo "$as_me: error: \"Invalid ABI specified\"" >&2;}
++   { (exit 1); exit 1; }; } ;;
++esac
++if test -n "$abi" ; then
++ac_foo=krb_cv_gcc_`echo $abi | tr =- __`
++echo "$as_me:$LINENO: checking if $CC supports the $abi option" >&5
++echo $ECHO_N "checking if $CC supports the $abi option... $ECHO_C" >&6
++if eval "test \"\${$ac_foo+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++save_CFLAGS="$CFLAGS"
++CFLAGS="$CFLAGS $abi"
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++int x;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval $ac_foo=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval $ac_foo=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++CFLAGS="$save_CFLAGS"
++
++fi
++
++ac_res=`eval echo \\\$$ac_foo`
++echo "$as_me:$LINENO: result: $ac_res" >&5
++echo "${ECHO_T}$ac_res" >&6
++if test $ac_res = no; then
++# Try to figure out why that failed...
++case $abi in
++	-mabi=32) 
++	save_CFLAGS="$CFLAGS"
++	CFLAGS="$CFLAGS -mabi=n32"
++	cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++int x;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_res=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_res=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++	CLAGS="$save_CFLAGS"
++	if test $ac_res = yes; then
++		# New GCC
++		{ { echo "$as_me:$LINENO: error: $CC does not support the $with_mips_abi ABI" >&5
++echo "$as_me: error: $CC does not support the $with_mips_abi ABI" >&2;}
++   { (exit 1); exit 1; }; }
++	fi
++	# Old GCC
++	abi=''
++	abilibdirext=''
++	;;
++	-mabi=n32|-mabi=64)
++		if test $with_mips_abi = yes; then
++			# Old GCC, default to O32
++			abi=''
++			abilibdirext=''
++		else
++			# Some broken GCC
++			{ { echo "$as_me:$LINENO: error: $CC does not support the $with_mips_abi ABI" >&5
++echo "$as_me: error: $CC does not support the $with_mips_abi ABI" >&2;}
++   { (exit 1); exit 1; }; }
++		fi
++	;;
++esac
++fi #if test $ac_res = no; then
++fi #if test -n "$abi" ; then
++else
++case "${with_mips_abi}" in
++        32|o32) abi='-32'; abilibdirext=''     ;;
++       n32|yes) abi='-n32'; abilibdirext='32'  ;;
++        64) abi='-64'; abilibdirext='64'   ;;
++	no) abi=''; abilibdirext='';;
++         *) { { echo "$as_me:$LINENO: error: \"Invalid ABI specified\"" >&5
++echo "$as_me: error: \"Invalid ABI specified\"" >&2;}
++   { (exit 1); exit 1; }; } ;;
++esac
++fi #if test -n "$GCC"; then
++;;
++esac
++
++CC="$CC $abi"
++libdir="$libdir$abilibdirext"
++
++
++echo "$as_me:$LINENO: checking for __attribute__" >&5
++echo $ECHO_N "checking for __attribute__... $ECHO_C" >&6
++if test "${ac_cv___attribute__+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#include <stdlib.h>
++
++int
++main ()
++{
++
++static void foo(void) __attribute__ ((noreturn));
++
++static void
++foo(void)
++{
++  exit(1);
++}
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv___attribute__=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv___attribute__=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++
++if test "$ac_cv___attribute__" = "yes"; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE___ATTRIBUTE__ 1
++_ACEOF
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv___attribute__" >&5
++echo "${ECHO_T}$ac_cv___attribute__" >&6
++
++
++# Check whether --enable-shared or --disable-shared was given.
++if test "${enable_shared+set}" = set; then
++  enableval="$enable_shared"
++  p=${PACKAGE-default}
++    case $enableval in
++    yes) enable_shared=yes ;;
++    no) enable_shared=no ;;
++    *)
++      enable_shared=no
++      # Look at the argument we got.  We use all the common list separators.
++      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
++      for pkg in $enableval; do
++	IFS="$lt_save_ifs"
++	if test "X$pkg" = "X$p"; then
++	  enable_shared=yes
++	fi
++      done
++      IFS="$lt_save_ifs"
++      ;;
++    esac
++else
++  enable_shared=no
++fi; 
++
++# Check whether --enable-static or --disable-static was given.
++if test "${enable_static+set}" = set; then
++  enableval="$enable_static"
++  p=${PACKAGE-default}
++    case $enableval in
++    yes) enable_static=yes ;;
++    no) enable_static=no ;;
++    *)
++     enable_static=no
++      # Look at the argument we got.  We use all the common list separators.
++      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
++      for pkg in $enableval; do
++	IFS="$lt_save_ifs"
++	if test "X$pkg" = "X$p"; then
++	  enable_static=yes
++	fi
++      done
++      IFS="$lt_save_ifs"
++      ;;
++    esac
++else
++  enable_static=yes
++fi; 
++
++# Check whether --enable-fast-install or --disable-fast-install was given.
++if test "${enable_fast_install+set}" = set; then
++  enableval="$enable_fast_install"
++  p=${PACKAGE-default}
++    case $enableval in
++    yes) enable_fast_install=yes ;;
++    no) enable_fast_install=no ;;
++    *)
++      enable_fast_install=no
++      # Look at the argument we got.  We use all the common list separators.
++      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
++      for pkg in $enableval; do
++	IFS="$lt_save_ifs"
++	if test "X$pkg" = "X$p"; then
++	  enable_fast_install=yes
++	fi
++      done
++      IFS="$lt_save_ifs"
++      ;;
++    esac
++else
++  enable_fast_install=yes
++fi; 
++
++echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
++echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
++if test "${lt_cv_path_SED+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  # Loop through the user's path and test for sed and gsed.
++# Then use that list of sed's as ones to test for truncation.
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for lt_ac_prog in sed gsed; do
++    for ac_exec_ext in '' $ac_executable_extensions; do
++      if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
++        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
++      fi
++    done
++  done
++done
++lt_ac_max=0
++lt_ac_count=0
++# Add /usr/xpg4/bin/sed as it is typically found on Solaris
++# along with /bin/sed that truncates output.
++for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
++  test ! -f $lt_ac_sed && break
++  cat /dev/null > conftest.in
++  lt_ac_count=0
++  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
++  # Check for GNU sed and select it if it is found.
++  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
++    lt_cv_path_SED=$lt_ac_sed
++    break
++  fi
++  while true; do
++    cat conftest.in conftest.in >conftest.tmp
++    mv conftest.tmp conftest.in
++    cp conftest.in conftest.nl
++    echo >>conftest.nl
++    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
++    cmp -s conftest.out conftest.nl || break
++    # 10000 chars as input seems more than enough
++    test $lt_ac_count -gt 10 && break
++    lt_ac_count=`expr $lt_ac_count + 1`
++    if test $lt_ac_count -gt $lt_ac_max; then
++      lt_ac_max=$lt_ac_count
++      lt_cv_path_SED=$lt_ac_sed
++    fi
++  done
++done
++SED=$lt_cv_path_SED
++
++fi
++
++echo "$as_me:$LINENO: result: $SED" >&5
++echo "${ECHO_T}$SED" >&6
++
++echo "$as_me:$LINENO: checking for egrep" >&5
++echo $ECHO_N "checking for egrep... $ECHO_C" >&6
++if test "${ac_cv_prog_egrep+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
++    then ac_cv_prog_egrep='grep -E'
++    else ac_cv_prog_egrep='egrep'
++    fi
++fi
++echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
++echo "${ECHO_T}$ac_cv_prog_egrep" >&6
++ EGREP=$ac_cv_prog_egrep
++ 
++
++
++# Check whether --with-gnu-ld or --without-gnu-ld was given.
++if test "${with_gnu_ld+set}" = set; then
++  withval="$with_gnu_ld"
++  test "$withval" = no || with_gnu_ld=yes
++else
++  with_gnu_ld=no
++fi; 
++ac_prog=ld
++if test "$GCC" = yes; then
++  # Check if gcc -print-prog-name=ld gives a path.
++  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
++echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
++  case $host in
++  *-*-mingw*)
++    # gcc leaves a trailing carriage return which upsets mingw
++    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
++  *)
++    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
++  esac
++  case $ac_prog in
++    # Accept absolute paths.
++    [\\/]* | ?:[\\/]*)
++      re_direlt='/[^/][^/]*/\.\./'
++      # Canonicalize the pathname of ld
++      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
++      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
++	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
++      done
++      test -z "$LD" && LD="$ac_prog"
++      ;;
++  "")
++    # If it fails, then pretend we aren't using GCC.
++    ac_prog=ld
++    ;;
++  *)
++    # If it is relative, then search for the first ld in PATH.
++    with_gnu_ld=unknown
++    ;;
++  esac
++elif test "$with_gnu_ld" = yes; then
++  echo "$as_me:$LINENO: checking for GNU ld" >&5
++echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
++else
++  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
++echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
++fi
++if test "${lt_cv_path_LD+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -z "$LD"; then
++  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
++  for ac_dir in $PATH; do
++    IFS="$lt_save_ifs"
++    test -z "$ac_dir" && ac_dir=.
++    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
++      lt_cv_path_LD="$ac_dir/$ac_prog"
++      # Check to see if the program is GNU ld.  I'd rather use --version,
++      # but apparently some GNU ld's only accept -v.
++      # Break only if it was the GNU/non-GNU ld that we prefer.
++      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
++      *GNU* | *'with BFD'*)
++	test "$with_gnu_ld" != no && break
++	;;
++      *)
++	test "$with_gnu_ld" != yes && break
++	;;
++      esac
++    fi
++  done
++  IFS="$lt_save_ifs"
++else
++  lt_cv_path_LD="$LD" # Let the user override the test with a path.
++fi
++fi
++
++LD="$lt_cv_path_LD"
++if test -n "$LD"; then
++  echo "$as_me:$LINENO: result: $LD" >&5
++echo "${ECHO_T}$LD" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
++echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
++   { (exit 1); exit 1; }; }
++echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
++echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
++if test "${lt_cv_prog_gnu_ld+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
++case `$LD -v 2>&1 </dev/null` in
++*GNU* | *'with BFD'*)
++  lt_cv_prog_gnu_ld=yes
++  ;;
++*)
++  lt_cv_prog_gnu_ld=no
++  ;;
++esac
++fi
++echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
++echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
++with_gnu_ld=$lt_cv_prog_gnu_ld
++
++
++echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
++echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
++if test "${lt_cv_ld_reload_flag+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  lt_cv_ld_reload_flag='-r'
++fi
++echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
++echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
++reload_flag=$lt_cv_ld_reload_flag
++case $reload_flag in
++"" | " "*) ;;
++*) reload_flag=" $reload_flag" ;;
++esac
++reload_cmds='$LD$reload_flag -o $output$reload_objs'
++
++echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
++echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
++if test "${lt_cv_path_NM+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$NM"; then
++  # Let the user override the test.
++  lt_cv_path_NM="$NM"
++else
++  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
++  for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
++    IFS="$lt_save_ifs"
++    test -z "$ac_dir" && ac_dir=.
++    tmp_nm="$ac_dir/${ac_tool_prefix}nm"
++    if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
++      # Check to see if the nm accepts a BSD-compat flag.
++      # Adding the `sed 1q' prevents false positives on HP-UX, which says:
++      #   nm: unknown option "B" ignored
++      # Tru64's nm complains that /dev/null is an invalid object file
++      case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
++      */dev/null* | *'Invalid file or object type'*)
++	lt_cv_path_NM="$tmp_nm -B"
++	break
++        ;;
++      *)
++	case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
++	*/dev/null*)
++	  lt_cv_path_NM="$tmp_nm -p"
++	  break
++	  ;;
++	*)
++	  lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
++	  continue # so that we can try to find one that supports BSD flags
++	  ;;
++	esac
++      esac
++    fi
++  done
++  IFS="$lt_save_ifs"
++  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
++fi
++fi
++echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
++echo "${ECHO_T}$lt_cv_path_NM" >&6
++NM="$lt_cv_path_NM"
++
++echo "$as_me:$LINENO: checking whether ln -s works" >&5
++echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
++LN_S=$as_ln_s
++if test "$LN_S" = "ln -s"; then
++  echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++else
++  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
++echo "${ECHO_T}no, using $LN_S" >&6
++fi
++
++echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
++echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
++if test "${lt_cv_deplibs_check_method+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  lt_cv_file_magic_cmd='$MAGIC_CMD'
++lt_cv_file_magic_test_file=
++lt_cv_deplibs_check_method='unknown'
++# Need to set the preceding variable on all platforms that support
++# interlibrary dependencies.
++# 'none' -- dependencies not supported.
++# `unknown' -- same as none, but documents that we really don't know.
++# 'pass_all' -- all dependencies passed with no checks.
++# 'test_compile' -- check by making test program.
++# 'file_magic [[regex]]' -- check by looking for files in library path
++# which responds to the $file_magic_cmd with a given extended regex.
++# If you have `file' or equivalent on your system and you're not sure
++# whether `pass_all' will *always* work, you probably want this one.
++
++case $host_os in
++aix4* | aix5*)
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++
++beos*)
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++
++bsdi4*)
++  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
++  lt_cv_file_magic_cmd='/usr/bin/file -L'
++  lt_cv_file_magic_test_file=/shlib/libc.so
++  ;;
++
++cygwin*)
++  # win32_libid is a shell function defined in ltmain.sh
++  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
++  lt_cv_file_magic_cmd='win32_libid'
++  ;;
++
++mingw* | pw32*)
++  # Base MSYS/MinGW do not provide the 'file' command needed by
++  # win32_libid shell function, so use a weaker test based on 'objdump'.
++  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
++  lt_cv_file_magic_cmd='$OBJDUMP -f'
++  ;;
++
++darwin* | rhapsody*)
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++
++freebsd* | kfreebsd*-gnu)
++  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
++    case $host_cpu in
++    i*86 )
++      # Not sure whether the presence of OpenBSD here was a mistake.
++      # Let's accept both of them until this is cleared up.
++      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
++      lt_cv_file_magic_cmd=/usr/bin/file
++      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
++      ;;
++    esac
++  else
++    lt_cv_deplibs_check_method=pass_all
++  fi
++  ;;
++
++gnu*)
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++
++hpux10.20* | hpux11*)
++  lt_cv_file_magic_cmd=/usr/bin/file
++  case "$host_cpu" in
++  ia64*)
++    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
++    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
++    ;;
++  hppa*64*)
++    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
++    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
++    ;;
++  *)
++    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
++    lt_cv_file_magic_test_file=/usr/lib/libc.sl
++    ;;
++  esac
++  ;;
++
++irix5* | irix6* | nonstopux*)
++  case $LD in
++  *-32|*"-32 ") libmagic=32-bit;;
++  *-n32|*"-n32 ") libmagic=N32;;
++  *-64|*"-64 ") libmagic=64-bit;;
++  *) libmagic=never-match;;
++  esac
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++
++# This must be Linux ELF.
++linux*)
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++
++netbsd* | knetbsd*-gnu)
++  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
++    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
++  else
++    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
++  fi
++  ;;
++
++newos6*)
++  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
++  lt_cv_file_magic_cmd=/usr/bin/file
++  lt_cv_file_magic_test_file=/usr/lib/libnls.so
++  ;;
++
++nto-qnx*)
++  lt_cv_deplibs_check_method=unknown
++  ;;
++
++openbsd*)
++  lt_cv_file_magic_cmd=/usr/bin/file
++  lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
++  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
++    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
++  else
++    lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
++  fi
++  ;;
++
++osf3* | osf4* | osf5*)
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++
++sco3.2v5*)
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++
++solaris*)
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++
++sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
++  case $host_vendor in
++  motorola)
++    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
++    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
++    ;;
++  ncr)
++    lt_cv_deplibs_check_method=pass_all
++    ;;
++  sequent)
++    lt_cv_file_magic_cmd='/bin/file'
++    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
++    ;;
++  sni)
++    lt_cv_file_magic_cmd='/bin/file'
++    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
++    lt_cv_file_magic_test_file=/lib/libc.so
++    ;;
++  siemens)
++    lt_cv_deplibs_check_method=pass_all
++    ;;
++  esac
++  ;;
++
++sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
++  lt_cv_deplibs_check_method=pass_all
++  ;;
++esac
++
++fi
++echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
++echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
++file_magic_cmd=$lt_cv_file_magic_cmd
++deplibs_check_method=$lt_cv_deplibs_check_method
++test -z "$deplibs_check_method" && deplibs_check_method=unknown
++
++
++# If no C compiler was specified, use CC.
++LTCC=${LTCC-"$CC"}
++
++# Allow CC to be a program name with arguments.
++compiler=$CC
++
++# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
++if test "${enable_libtool_lock+set}" = set; then
++  enableval="$enable_libtool_lock"
++  
++fi; 
++test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
++
++# Some flags need to be propagated to the compiler or linker for good
++# libtool support.
++case $host in
++ia64-*-hpux*)
++  # Find out which ABI we are using.
++  echo 'int i;' > conftest.$ac_ext
++  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; then
++    case `/usr/bin/file conftest.$ac_objext` in
++    *ELF-32*)
++      HPUX_IA64_MODE="32"
++      ;;
++    *ELF-64*)
++      HPUX_IA64_MODE="64"
++      ;;
++    esac
++  fi
++  rm -rf conftest*
++  ;;
++*-*-irix6*)
++  # Find out which ABI we are using.
++  echo '#line __oline__ "configure"' > conftest.$ac_ext
++  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; then
++   if test "$lt_cv_prog_gnu_ld" = yes; then
++    case `/usr/bin/file conftest.$ac_objext` in
++    *32-bit*)
++      LD="${LD-ld} -melf32bsmip"
++      ;;
++    *N32*)
++      LD="${LD-ld} -melf32bmipn32"
++      ;;
++    *64-bit*)
++      LD="${LD-ld} -melf64bmip"
++      ;;
++    esac
++   else
++    case `/usr/bin/file conftest.$ac_objext` in
++    *32-bit*)
++      LD="${LD-ld} -32"
++      ;;
++    *N32*)
++      LD="${LD-ld} -n32"
++      ;;
++    *64-bit*)
++      LD="${LD-ld} -64"
++      ;;
++    esac
++   fi
++  fi
++  rm -rf conftest*
++  ;;
++
++x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
++  # Find out which ABI we are using.
++  echo 'int i;' > conftest.$ac_ext
++  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; then
++    case "`/usr/bin/file conftest.o`" in
++    *32-bit*)
++      case $host in
++        x86_64-*linux*)
++          LD="${LD-ld} -m elf_i386"
++          ;;
++        ppc64-*linux*|powerpc64-*linux*)
++          LD="${LD-ld} -m elf32ppclinux"
++          ;;
++        s390x-*linux*)
++          LD="${LD-ld} -m elf_s390"
++          ;;
++        sparc64-*linux*)
++          LD="${LD-ld} -m elf32_sparc"
++          ;;
++      esac
++      ;;
++    *64-bit*)
++      case $host in
++        x86_64-*linux*)
++          LD="${LD-ld} -m elf_x86_64"
++          ;;
++        ppc*-*linux*|powerpc*-*linux*)
++          LD="${LD-ld} -m elf64ppc"
++          ;;
++        s390*-*linux*)
++          LD="${LD-ld} -m elf64_s390"
++          ;;
++        sparc*-*linux*)
++          LD="${LD-ld} -m elf64_sparc"
++          ;;
++      esac
++      ;;
++    esac
++  fi
++  rm -rf conftest*
++  ;;
++
++*-*-sco3.2v5*)
++  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
++  SAVE_CFLAGS="$CFLAGS"
++  CFLAGS="$CFLAGS -belf"
++  echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
++echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
++if test "${lt_cv_cc_needs_belf+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++     cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  lt_cv_cc_needs_belf=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++lt_cv_cc_needs_belf=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++     ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++fi
++echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
++echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
++  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
++    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
++    CFLAGS="$SAVE_CFLAGS"
++  fi
++  ;;
++
++esac
++
++need_locks="$enable_libtool_lock"
++
++
++
++echo "$as_me:$LINENO: checking for ANSI C header files" >&5
++echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
++if test "${ac_cv_header_stdc+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdlib.h>
++#include <stdarg.h>
++#include <string.h>
++#include <float.h>
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_header_stdc=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_header_stdc=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++
++if test $ac_cv_header_stdc = yes; then
++  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <string.h>
++
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  $EGREP "memchr" >/dev/null 2>&1; then
++  :
++else
++  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 <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdlib.h>
++
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  $EGREP "free" >/dev/null 2>&1; then
++  :
++else
++  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 <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <ctype.h>
++#if ((' ' & 0x0FF) == 0x020)
++# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
++# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
++#else
++# define ISLOWER(c) \
++		   (('a' <= (c) && (c) <= 'i') \
++		     || ('j' <= (c) && (c) <= 'r') \
++		     || ('s' <= (c) && (c) <= 'z'))
++# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
++#endif
++
++#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);
++}
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  :
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++( exit $ac_status )
++ac_cv_header_stdc=no
++fi
++rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++fi
++fi
++echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
++echo "${ECHO_T}$ac_cv_header_stdc" >&6
++if test $ac_cv_header_stdc = yes; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define STDC_HEADERS 1
++_ACEOF
++
++fi
++
++# On IRIX 5.3, sys/types and inttypes.h are conflicting.
++
++
++
++
++
++
++
++
++
++for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
++		  inttypes.h stdint.h unistd.h
++do
++as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++
++@%:@include <$ac_header>
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_Header=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_Header=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++if test `eval echo '${'$as_ac_Header'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++
++done
++
++
++
++for ac_header in dlfcn.h
++do
++as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++else
++  # Is the header compilable?
++echo "$as_me:$LINENO: checking $ac_header usability" >&5
++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++@%:@include <$ac_header>
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_header_compiler=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_header_compiler=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
++echo "${ECHO_T}$ac_header_compiler" >&6
++
++# Is the header present?
++echo "$as_me:$LINENO: checking $ac_header presence" >&5
++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@include <$ac_header>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  ac_header_preproc=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++  ac_header_preproc=no
++fi
++rm -f conftest.err conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
++echo "${ECHO_T}$ac_header_preproc" >&6
++
++# So?  What about this header?
++case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
++  yes:no: )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
++echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
++    ac_header_preproc=yes
++    ;;
++  no:yes:* )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
++echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
++echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
++echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
++echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
++echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
++    (
++      cat <<\_ASBOX
++@%:@@%:@ -------------------------------------- @%:@@%:@
++@%:@@%:@ Report this to heimdal-bugs@pdc.kth.se @%:@@%:@
++@%:@@%:@ -------------------------------------- @%:@@%:@
++_ASBOX
++    ) |
++      sed "s/^/$as_me: WARNING:     /" >&2
++    ;;
++esac
++echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  eval "$as_ac_Header=\$ac_header_preproc"
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++
++fi
++if test `eval echo '${'$as_ac_Header'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++
++done
++
++ac_ext=cc
++ac_cpp='$CXXCPP $CPPFLAGS'
++ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
++if test -n "$ac_tool_prefix"; then
++  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
++  do
++    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
++set dummy $ac_tool_prefix$ac_prog; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_CXX+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$CXX"; then
++  ac_cv_prog_CXX="$CXX" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++CXX=$ac_cv_prog_CXX
++if test -n "$CXX"; then
++  echo "$as_me:$LINENO: result: $CXX" >&5
++echo "${ECHO_T}$CXX" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++    test -n "$CXX" && break
++  done
++fi
++if test -z "$CXX"; then
++  ac_ct_CXX=$CXX
++  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
++do
++  # Extract the first word of "$ac_prog", so it can be a program name with args.
++set dummy $ac_prog; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$ac_ct_CXX"; then
++  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_ac_ct_CXX="$ac_prog"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
++if test -n "$ac_ct_CXX"; then
++  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
++echo "${ECHO_T}$ac_ct_CXX" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  test -n "$ac_ct_CXX" && break
++done
++test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
++
++  CXX=$ac_ct_CXX
++fi
++
++
++# Provide some information about the compiler.
++echo "$as_me:$LINENO:" \
++     "checking for C++ compiler version" >&5
++ac_compiler=`set X $ac_compile; echo $2`
++{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
++  (eval $ac_compiler --version </dev/null >&5) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }
++{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
++  (eval $ac_compiler -v </dev/null >&5) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }
++{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
++  (eval $ac_compiler -V </dev/null >&5) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }
++
++echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
++echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
++if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++#ifndef __GNUC__
++       choke me
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_compiler_gnu=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_compiler_gnu=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
++echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
++GXX=`test $ac_compiler_gnu = yes && echo yes`
++ac_test_CXXFLAGS=${CXXFLAGS+set}
++ac_save_CXXFLAGS=$CXXFLAGS
++CXXFLAGS="-g"
++echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
++echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
++if test "${ac_cv_prog_cxx_g+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_prog_cxx_g=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_prog_cxx_g=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
++echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
++if test "$ac_test_CXXFLAGS" = set; then
++  CXXFLAGS=$ac_save_CXXFLAGS
++elif test $ac_cv_prog_cxx_g = yes; then
++  if test "$GXX" = yes; then
++    CXXFLAGS="-g -O2"
++  else
++    CXXFLAGS="-g"
++  fi
++else
++  if test "$GXX" = yes; then
++    CXXFLAGS="-O2"
++  else
++    CXXFLAGS=
++  fi
++fi
++for ac_declaration in \
++   '' \
++   'extern "C" void std::exit (int) throw (); using std::exit;' \
++   'extern "C" void std::exit (int); using std::exit;' \
++   'extern "C" void exit (int) throw ();' \
++   'extern "C" void exit (int);' \
++   'void exit (int);'
++do
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_declaration
++@%:@include <stdlib.h>
++int
++main ()
++{
++exit (42);
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  :
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++continue
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_declaration
++int
++main ()
++{
++exit (42);
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++done
++rm -f conftest*
++if test -n "$ac_declaration"; then
++  echo '#ifdef __cplusplus' >>confdefs.h
++  echo $ac_declaration      >>confdefs.h
++  echo '#endif'             >>confdefs.h
++fi
++
++ac_ext=cc
++ac_cpp='$CXXCPP $CPPFLAGS'
++ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
++
++ac_ext=cc
++ac_cpp='$CXXCPP $CPPFLAGS'
++ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
++echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
++echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
++if test -z "$CXXCPP"; then
++  if test "${ac_cv_prog_CXXCPP+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++      # Double quotes because CXXCPP needs to be expanded
++    for CXXCPP in "$CXX -E" "/lib/cpp"
++    do
++      ac_preproc_ok=false
++for ac_cxx_preproc_warn_flag in '' yes
++do
++  # Use a header file that comes with gcc, so configuring glibc
++  # with a fresh cross-compiler works.
++  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++  # <limits.h> exists even on freestanding compilers.
++  # On the NeXT, cc -E runs the code through the compiler's parser,
++  # not just through cpp. "Syntax error" is here to catch this case.
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@ifdef __STDC__
++@%:@ include <limits.h>
++@%:@else
++@%:@ include <assert.h>
++@%:@endif
++		     Syntax error
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_cxx_preproc_warn_flag
++    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  :
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++  # Broken: fails on valid input.
++continue
++fi
++rm -f conftest.err conftest.$ac_ext
++
++  # OK, works on sane cases.  Now check whether non-existent headers
++  # can be detected and how.
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@include <ac_nonexistent.h>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_cxx_preproc_warn_flag
++    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  # Broken: success on invalid input.
++continue
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++  # Passes both tests.
++ac_preproc_ok=:
++break
++fi
++rm -f conftest.err conftest.$ac_ext
++
++done
++# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
++rm -f conftest.err conftest.$ac_ext
++if $ac_preproc_ok; then
++  break
++fi
++
++    done
++    ac_cv_prog_CXXCPP=$CXXCPP
++  
++fi
++  CXXCPP=$ac_cv_prog_CXXCPP
++else
++  ac_cv_prog_CXXCPP=$CXXCPP
++fi
++echo "$as_me:$LINENO: result: $CXXCPP" >&5
++echo "${ECHO_T}$CXXCPP" >&6
++ac_preproc_ok=false
++for ac_cxx_preproc_warn_flag in '' yes
++do
++  # Use a header file that comes with gcc, so configuring glibc
++  # with a fresh cross-compiler works.
++  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++  # <limits.h> exists even on freestanding compilers.
++  # On the NeXT, cc -E runs the code through the compiler's parser,
++  # not just through cpp. "Syntax error" is here to catch this case.
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@ifdef __STDC__
++@%:@ include <limits.h>
++@%:@else
++@%:@ include <assert.h>
++@%:@endif
++		     Syntax error
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_cxx_preproc_warn_flag
++    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  :
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++  # Broken: fails on valid input.
++continue
++fi
++rm -f conftest.err conftest.$ac_ext
++
++  # OK, works on sane cases.  Now check whether non-existent headers
++  # can be detected and how.
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@include <ac_nonexistent.h>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_cxx_preproc_warn_flag
++    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  # Broken: success on invalid input.
++continue
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++  # Passes both tests.
++ac_preproc_ok=:
++break
++fi
++rm -f conftest.err conftest.$ac_ext
++
++done
++# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
++rm -f conftest.err conftest.$ac_ext
++if $ac_preproc_ok; then
++  :
++else
++  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
++See \`config.log' for more details." >&5
++echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
++See \`config.log' for more details." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++
++ac_ext=cc
++ac_cpp='$CXXCPP $CPPFLAGS'
++ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
++
++
++ac_ext=f
++ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
++ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_f77_compiler_gnu
++if test -n "$ac_tool_prefix"; then
++  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
++  do
++    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
++set dummy $ac_tool_prefix$ac_prog; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_F77+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$F77"; then
++  ac_cv_prog_F77="$F77" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++F77=$ac_cv_prog_F77
++if test -n "$F77"; then
++  echo "$as_me:$LINENO: result: $F77" >&5
++echo "${ECHO_T}$F77" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++    test -n "$F77" && break
++  done
++fi
++if test -z "$F77"; then
++  ac_ct_F77=$F77
++  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
++do
++  # Extract the first word of "$ac_prog", so it can be a program name with args.
++set dummy $ac_prog; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$ac_ct_F77"; then
++  ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_ac_ct_F77="$ac_prog"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++ac_ct_F77=$ac_cv_prog_ac_ct_F77
++if test -n "$ac_ct_F77"; then
++  echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
++echo "${ECHO_T}$ac_ct_F77" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  test -n "$ac_ct_F77" && break
++done
++
++  F77=$ac_ct_F77
++fi
++
++
++# Provide some information about the compiler.
++echo "$as_me:__oline__:" \
++     "checking for Fortran 77 compiler version" >&5
++ac_compiler=`set X $ac_compile; echo $2`
++{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
++  (eval $ac_compiler --version </dev/null >&5) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }
++{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
++  (eval $ac_compiler -v </dev/null >&5) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }
++{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
++  (eval $ac_compiler -V </dev/null >&5) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }
++rm -f a.out
++
++# If we don't use `.F' as extension, the preprocessor is not run on the
++# input file.  (Note that this only needs to work for GNU compilers.)
++ac_save_ext=$ac_ext
++ac_ext=F
++echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
++echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
++if test "${ac_cv_f77_compiler_gnu+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++      program main
++#ifndef __GNUC__
++       choke me
++#endif
++
++      end
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_f77_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_compiler_gnu=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_compiler_gnu=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++ac_cv_f77_compiler_gnu=$ac_compiler_gnu
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
++echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
++ac_ext=$ac_save_ext
++ac_test_FFLAGS=${FFLAGS+set}
++ac_save_FFLAGS=$FFLAGS
++FFLAGS=
++echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
++echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
++if test "${ac_cv_prog_f77_g+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  FFLAGS=-g
++cat >conftest.$ac_ext <<_ACEOF
++      program main
++
++      end
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_f77_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_prog_f77_g=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_prog_f77_g=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
++echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
++if test "$ac_test_FFLAGS" = set; then
++  FFLAGS=$ac_save_FFLAGS
++elif test $ac_cv_prog_f77_g = yes; then
++  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
++    FFLAGS="-g -O2"
++  else
++    FFLAGS="-g"
++  fi
++else
++  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
++    FFLAGS="-O2"
++  else
++    FFLAGS=
++  fi
++fi
++
++G77=`test $ac_compiler_gnu = yes && echo yes`
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++
++
++# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
++
++# find the maximum length of command line arguments
++echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
++echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
++if test "${lt_cv_sys_max_cmd_len+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++    i=0
++  testring="ABCD"
++
++  case $build_os in
++  msdosdjgpp*)
++    # On DJGPP, this test can blow up pretty badly due to problems in libc
++    # (any single argument exceeding 2000 bytes causes a buffer overrun
++    # during glob expansion).  Even if it were fixed, the result of this
++    # check would be larger than it should be.
++    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
++    ;;
++
++  gnu*)
++    # Under GNU Hurd, this test is not required because there is
++    # no limit to the length of command line arguments.
++    # Libtool will interpret -1 as no limit whatsoever
++    lt_cv_sys_max_cmd_len=-1;
++    ;;
++
++  cygwin* | mingw*)
++    # On Win9x/ME, this test blows up -- it succeeds, but takes
++    # about 5 minutes as the teststring grows exponentially.
++    # Worse, since 9x/ME are not pre-emptively multitasking,
++    # you end up with a "frozen" computer, even though with patience
++    # the test eventually succeeds (with a max line length of 256k).
++    # Instead, let's just punt: use the minimum linelength reported by
++    # all of the supported platforms: 8192 (on NT/2K/XP).
++    lt_cv_sys_max_cmd_len=8192;
++    ;;
++
++  amigaos*)
++    # On AmigaOS with pdksh, this test takes hours, literally.
++    # So we just punt and use a minimum line length of 8192.
++    lt_cv_sys_max_cmd_len=8192;
++    ;;
++
++ *)
++    # If test is not a shell built-in, we'll probably end up computing a
++    # maximum length that is only half of the actual maximum length, but
++    # we can't tell.
++    while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \
++	       = "XX$testring") >/dev/null 2>&1 &&
++	    new_result=`expr "X$testring" : ".*" 2>&1` &&
++	    lt_cv_sys_max_cmd_len=$new_result &&
++	    test $i != 17 # 1/2 MB should be enough
++    do
++      i=`expr $i + 1`
++      testring=$testring$testring
++    done
++    testring=
++    # Add a significant safety factor because C++ compilers can tack on massive
++    # amounts of additional arguments before passing them to the linker.
++    # It appears as though 1/2 is a usable value.
++    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
++    ;;
++  esac
++
++fi
++
++if test -n $lt_cv_sys_max_cmd_len ; then
++  echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
++echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
++else
++  echo "$as_me:$LINENO: result: none" >&5
++echo "${ECHO_T}none" >&6
++fi
++
++
++
++
++# Check for command to grab the raw symbol name followed by C symbol from nm.
++echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
++echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
++if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++# These are sane defaults that work on at least a few old systems.
++# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
++
++# Character class describing NM global symbol codes.
++symcode='[BCDEGRST]'
++
++# Regexp to match symbols that can be accessed directly from C.
++sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
++
++# Transform the above into a raw symbol and a C symbol.
++symxfrm='\1 \2\3 \3'
++
++# Transform an extracted symbol line into a proper C declaration
++lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
++
++# Transform an extracted symbol line into symbol name and symbol address
++lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
++
++# Define system-specific variables.
++case $host_os in
++aix*)
++  symcode='[BCDT]'
++  ;;
++cygwin* | mingw* | pw32*)
++  symcode='[ABCDGISTW]'
++  ;;
++hpux*) # Its linker distinguishes data from code symbols
++  if test "$host_cpu" = ia64; then
++    symcode='[ABCDEGRST]'
++  fi
++  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
++  lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
++  ;;
++irix* | nonstopux*)
++  symcode='[BCDEGRST]'
++  ;;
++osf*)
++  symcode='[BCDEGQRST]'
++  ;;
++solaris* | sysv5*)
++  symcode='[BDRT]'
++  ;;
++sysv4)
++  symcode='[DFNSTU]'
++  ;;
++esac
++
++# Handle CRLF in mingw tool chain
++opt_cr=
++case $build_os in
++mingw*)
++  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
++  ;;
++esac
++
++# If we're using GNU nm, then use its standard symbol codes.
++case `$NM -V 2>&1` in
++*GNU* | *'with BFD'*)
++  symcode='[ABCDGIRSTW]' ;;
++esac
++
++# Try without a prefix undercore, then with it.
++for ac_symprfx in "" "_"; do
++
++  # Write the raw and C identifiers.
++  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
++
++  # Check to see that the pipe works correctly.
++  pipe_works=no
++
++  rm -f conftest*
++  cat > conftest.$ac_ext <<EOF
++#ifdef __cplusplus
++extern "C" {
++#endif
++char nm_test_var;
++void nm_test_func(){}
++#ifdef __cplusplus
++}
++#endif
++int main(){nm_test_var='a';nm_test_func();return(0);}
++EOF
++
++  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; then
++    # Now try to grab the symbols.
++    nlist=conftest.nm
++    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
++  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && test -s "$nlist"; then
++      # Try sorting and uniquifying the output.
++      if sort "$nlist" | uniq > "$nlist"T; then
++	mv -f "$nlist"T "$nlist"
++      else
++	rm -f "$nlist"T
++      fi
++
++      # Make sure that we snagged all the symbols we need.
++      if grep ' nm_test_var$' "$nlist" >/dev/null; then
++	if grep ' nm_test_func$' "$nlist" >/dev/null; then
++	  cat <<EOF > conftest.$ac_ext
++#ifdef __cplusplus
++extern "C" {
++#endif
++
++EOF
++	  # Now generate the symbol file.
++	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
++
++	  cat <<EOF >> conftest.$ac_ext
++#if defined (__STDC__) && __STDC__
++# define lt_ptr_t void *
++#else
++# define lt_ptr_t char *
++# define const
++#endif
++
++/* The mapping between symbol names and symbols. */
++const struct {
++  const char *name;
++  lt_ptr_t address;
++}
++lt_preloaded_symbols[] =
++{
++EOF
++	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
++	  cat <<\EOF >> conftest.$ac_ext
++  {0, (lt_ptr_t) 0}
++};
++
++#ifdef __cplusplus
++}
++#endif
++EOF
++	  # Now try linking the two files.
++	  mv conftest.$ac_objext conftstm.$ac_objext
++	  lt_save_LIBS="$LIBS"
++	  lt_save_CFLAGS="$CFLAGS"
++	  LIBS="conftstm.$ac_objext"
++	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
++	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && test -s conftest${ac_exeext}; then
++	    pipe_works=yes
++	  fi
++	  LIBS="$lt_save_LIBS"
++	  CFLAGS="$lt_save_CFLAGS"
++	else
++	  echo "cannot find nm_test_func in $nlist" >&5
++	fi
++      else
++	echo "cannot find nm_test_var in $nlist" >&5
++      fi
++    else
++      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
++    fi
++  else
++    echo "$progname: failed program was:" >&5
++    cat conftest.$ac_ext >&5
++  fi
++  rm -f conftest* conftst*
++
++  # Do not use the global_symbol_pipe unless it works.
++  if test "$pipe_works" = yes; then
++    break
++  else
++    lt_cv_sys_global_symbol_pipe=
++  fi
++done
++
++fi
++
++if test -z "$lt_cv_sys_global_symbol_pipe"; then
++  lt_cv_sys_global_symbol_to_cdecl=
++fi
++if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
++  echo "$as_me:$LINENO: result: failed" >&5
++echo "${ECHO_T}failed" >&6
++else
++  echo "$as_me:$LINENO: result: ok" >&5
++echo "${ECHO_T}ok" >&6
++fi
++
++echo "$as_me:$LINENO: checking for objdir" >&5
++echo $ECHO_N "checking for objdir... $ECHO_C" >&6
++if test "${lt_cv_objdir+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  rm -f .libs 2>/dev/null
++mkdir .libs 2>/dev/null
++if test -d .libs; then
++  lt_cv_objdir=.libs
++else
++  # MS-DOS does not allow filenames that begin with a dot.
++  lt_cv_objdir=_libs
++fi
++rmdir .libs 2>/dev/null
++fi
++echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
++echo "${ECHO_T}$lt_cv_objdir" >&6
++objdir=$lt_cv_objdir
++
++
++
++
++
++case $host_os in
++aix3*)
++  # AIX sometimes has problems with the GCC collect2 program.  For some
++  # reason, if we set the COLLECT_NAMES environment variable, the problems
++  # vanish in a puff of smoke.
++  if test "X${COLLECT_NAMES+set}" != Xset; then
++    COLLECT_NAMES=
++    export COLLECT_NAMES
++  fi
++  ;;
++esac
++
++# Sed substitution that helps us do robust quoting.  It backslashifies
++# metacharacters that are still active within double-quoted strings.
++Xsed='sed -e s/^X//'
++sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
++
++# Same as above, but do not quote variable references.
++double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
++
++# Sed substitution to delay expansion of an escaped shell variable in a
++# double_quote_subst'ed string.
++delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
++
++# Sed substitution to avoid accidental globbing in evaled expressions
++no_glob_subst='s/\*/\\\*/g'
++
++# Constants:
++rm="rm -f"
++
++# Global variables:
++default_ofile=libtool
++can_build_shared=yes
++
++# All known linkers require a `.a' archive for static linking (except M$VC,
++# which needs '.lib').
++libext=a
++ltmain="$ac_aux_dir/ltmain.sh"
++ofile="$default_ofile"
++with_gnu_ld="$lt_cv_prog_gnu_ld"
++
++if test -n "$ac_tool_prefix"; then
++  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
++set dummy ${ac_tool_prefix}ar; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_AR+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$AR"; then
++  ac_cv_prog_AR="$AR" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_AR="${ac_tool_prefix}ar"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++AR=$ac_cv_prog_AR
++if test -n "$AR"; then
++  echo "$as_me:$LINENO: result: $AR" >&5
++echo "${ECHO_T}$AR" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++fi
++if test -z "$ac_cv_prog_AR"; then
++  ac_ct_AR=$AR
++  # Extract the first word of "ar", so it can be a program name with args.
++set dummy ar; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$ac_ct_AR"; then
++  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_ac_ct_AR="ar"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++  test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
++fi
++fi
++ac_ct_AR=$ac_cv_prog_ac_ct_AR
++if test -n "$ac_ct_AR"; then
++  echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
++echo "${ECHO_T}$ac_ct_AR" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  AR=$ac_ct_AR
++else
++  AR="$ac_cv_prog_AR"
++fi
++
++if test -n "$ac_tool_prefix"; then
++  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
++set dummy ${ac_tool_prefix}ranlib; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_RANLIB+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$RANLIB"; then
++  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++RANLIB=$ac_cv_prog_RANLIB
++if test -n "$RANLIB"; then
++  echo "$as_me:$LINENO: result: $RANLIB" >&5
++echo "${ECHO_T}$RANLIB" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++fi
++if test -z "$ac_cv_prog_RANLIB"; then
++  ac_ct_RANLIB=$RANLIB
++  # Extract the first word of "ranlib", so it can be a program name with args.
++set dummy ranlib; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$ac_ct_RANLIB"; then
++  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_ac_ct_RANLIB="ranlib"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
++fi
++fi
++ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
++if test -n "$ac_ct_RANLIB"; then
++  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
++echo "${ECHO_T}$ac_ct_RANLIB" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  RANLIB=$ac_ct_RANLIB
++else
++  RANLIB="$ac_cv_prog_RANLIB"
++fi
++
++if test -n "$ac_tool_prefix"; then
++  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
++set dummy ${ac_tool_prefix}strip; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_STRIP+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$STRIP"; then
++  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++STRIP=$ac_cv_prog_STRIP
++if test -n "$STRIP"; then
++  echo "$as_me:$LINENO: result: $STRIP" >&5
++echo "${ECHO_T}$STRIP" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++fi
++if test -z "$ac_cv_prog_STRIP"; then
++  ac_ct_STRIP=$STRIP
++  # Extract the first word of "strip", so it can be a program name with args.
++set dummy strip; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$ac_ct_STRIP"; then
++  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_ac_ct_STRIP="strip"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
++fi
++fi
++ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
++if test -n "$ac_ct_STRIP"; then
++  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
++echo "${ECHO_T}$ac_ct_STRIP" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  STRIP=$ac_ct_STRIP
++else
++  STRIP="$ac_cv_prog_STRIP"
++fi
++
++
++old_CC="$CC"
++old_CFLAGS="$CFLAGS"
++
++# Set sane defaults for various variables
++test -z "$AR" && AR=ar
++test -z "$AR_FLAGS" && AR_FLAGS=cru
++test -z "$AS" && AS=as
++test -z "$CC" && CC=cc
++test -z "$LTCC" && LTCC=$CC
++test -z "$DLLTOOL" && DLLTOOL=dlltool
++test -z "$LD" && LD=ld
++test -z "$LN_S" && LN_S="ln -s"
++test -z "$MAGIC_CMD" && MAGIC_CMD=file
++test -z "$NM" && NM=nm
++test -z "$SED" && SED=sed
++test -z "$OBJDUMP" && OBJDUMP=objdump
++test -z "$RANLIB" && RANLIB=:
++test -z "$STRIP" && STRIP=:
++test -z "$ac_objext" && ac_objext=o
++
++# Determine commands to create old-style static archives.
++old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
++old_postinstall_cmds='chmod 644 $oldlib'
++old_postuninstall_cmds=
++
++if test -n "$RANLIB"; then
++  case $host_os in
++  openbsd*)
++    old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
++    ;;
++  *)
++    old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
++    ;;
++  esac
++  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
++fi
++
++# Only perform the check for file, if the check method requires it
++case $deplibs_check_method in
++file_magic*)
++  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
++    echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
++echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
++if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  case $MAGIC_CMD in
++[\\/*] |  ?:[\\/]*)
++  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
++  ;;
++*)
++  lt_save_MAGIC_CMD="$MAGIC_CMD"
++  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
++  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
++  for ac_dir in $ac_dummy; do
++    IFS="$lt_save_ifs"
++    test -z "$ac_dir" && ac_dir=.
++    if test -f $ac_dir/${ac_tool_prefix}file; then
++      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
++      if test -n "$file_magic_test_file"; then
++	case $deplibs_check_method in
++	"file_magic "*)
++	  file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
++	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
++	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
++	    $EGREP "$file_magic_regex" > /dev/null; then
++	    :
++	  else
++	    cat <<EOF 1>&2
++
++*** Warning: the command libtool uses to detect shared libraries,
++*** $file_magic_cmd, produces output that libtool cannot recognize.
++*** The result is that libtool may fail to recognize shared libraries
++*** as such.  This will affect the creation of libtool libraries that
++*** depend on shared libraries, but programs linked with such libtool
++*** libraries will work regardless of this problem.  Nevertheless, you
++*** may want to report the problem to your system manager and/or to
++*** bug-libtool@gnu.org
++
++EOF
++	  fi ;;
++	esac
++      fi
++      break
++    fi
++  done
++  IFS="$lt_save_ifs"
++  MAGIC_CMD="$lt_save_MAGIC_CMD"
++  ;;
++esac
++fi
++
++MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
++if test -n "$MAGIC_CMD"; then
++  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
++echo "${ECHO_T}$MAGIC_CMD" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++if test -z "$lt_cv_path_MAGIC_CMD"; then
++  if test -n "$ac_tool_prefix"; then
++    echo "$as_me:$LINENO: checking for file" >&5
++echo $ECHO_N "checking for file... $ECHO_C" >&6
++if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  case $MAGIC_CMD in
++[\\/*] |  ?:[\\/]*)
++  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
++  ;;
++*)
++  lt_save_MAGIC_CMD="$MAGIC_CMD"
++  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
++  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
++  for ac_dir in $ac_dummy; do
++    IFS="$lt_save_ifs"
++    test -z "$ac_dir" && ac_dir=.
++    if test -f $ac_dir/file; then
++      lt_cv_path_MAGIC_CMD="$ac_dir/file"
++      if test -n "$file_magic_test_file"; then
++	case $deplibs_check_method in
++	"file_magic "*)
++	  file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
++	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
++	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
++	    $EGREP "$file_magic_regex" > /dev/null; then
++	    :
++	  else
++	    cat <<EOF 1>&2
++
++*** Warning: the command libtool uses to detect shared libraries,
++*** $file_magic_cmd, produces output that libtool cannot recognize.
++*** The result is that libtool may fail to recognize shared libraries
++*** as such.  This will affect the creation of libtool libraries that
++*** depend on shared libraries, but programs linked with such libtool
++*** libraries will work regardless of this problem.  Nevertheless, you
++*** may want to report the problem to your system manager and/or to
++*** bug-libtool@gnu.org
++
++EOF
++	  fi ;;
++	esac
++      fi
++      break
++    fi
++  done
++  IFS="$lt_save_ifs"
++  MAGIC_CMD="$lt_save_MAGIC_CMD"
++  ;;
++esac
++fi
++
++MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
++if test -n "$MAGIC_CMD"; then
++  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
++echo "${ECHO_T}$MAGIC_CMD" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  else
++    MAGIC_CMD=:
++  fi
++fi
++
++  fi
++  ;;
++esac
++
++enable_dlopen=no
++enable_win32_dll=no
++
++# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
++if test "${enable_libtool_lock+set}" = set; then
++  enableval="$enable_libtool_lock"
++  
++fi; 
++test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
++
++
++# Check whether --with-pic or --without-pic was given.
++if test "${with_pic+set}" = set; then
++  withval="$with_pic"
++  pic_mode="$withval"
++else
++  pic_mode=default
++fi; 
++test -z "$pic_mode" && pic_mode=default
++
++# Use C for the default configuration in the libtool script
++tagname=
++lt_save_CC="$CC"
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++
++# Source file extension for C test sources.
++ac_ext=c
++
++# Object file extension for compiled C test sources.
++objext=o
++objext=$objext
++
++# Code to be used in simple compile tests
++lt_simple_compile_test_code="int some_variable = 0;\n"
++
++# Code to be used in simple link tests
++lt_simple_link_test_code='int main(){return(0);}\n'
++
++
++# If no C compiler was specified, use CC.
++LTCC=${LTCC-"$CC"}
++
++# Allow CC to be a program name with arguments.
++compiler=$CC
++
++
++#
++# Check for any special shared library compilation flags.
++#
++lt_prog_cc_shlib=
++if test "$GCC" = no; then
++  case $host_os in
++  sco3.2v5*)
++    lt_prog_cc_shlib='-belf'
++    ;;
++  esac
++fi
++if test -n "$lt_prog_cc_shlib"; then
++  { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
++echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
++  if echo "$old_CC $old_CFLAGS " | grep "[ 	]$lt_prog_cc_shlib[ 	]" >/dev/null; then :
++  else
++    { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
++echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
++    lt_cv_prog_cc_can_build_shared=no
++  fi
++fi
++
++
++#
++# Check to make sure the static flag actually works.
++#
++echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
++echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
++if test "${lt_prog_compiler_static_works+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  lt_prog_compiler_static_works=no
++   save_LDFLAGS="$LDFLAGS"
++   LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
++   printf "$lt_simple_link_test_code" > conftest.$ac_ext
++   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
++     # The compiler can only warn and ignore the option if not recognized
++     # So say no if there are warnings
++     if test -s conftest.err; then
++       # Append any errors to the config.log.
++       cat conftest.err 1>&5
++     else
++       lt_prog_compiler_static_works=yes
++     fi
++   fi
++   $rm conftest*
++   LDFLAGS="$save_LDFLAGS"
++
++fi
++echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
++echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
++
++if test x"$lt_prog_compiler_static_works" = xyes; then
++    :
++else
++    lt_prog_compiler_static=
++fi
++
++
++
++
++lt_prog_compiler_no_builtin_flag=
++
++if test "$GCC" = yes; then
++  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
++
++  
++echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
++echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
++if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  lt_cv_prog_compiler_rtti_exceptions=no
++  ac_outfile=conftest.$ac_objext
++   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
++   lt_compiler_flag="-fno-rtti -fno-exceptions"
++   # Insert the option either (1) after the last *FLAGS variable, or
++   # (2) before a word containing "conftest.", or (3) at the end.
++   # Note that $ac_compile itself does not contain backslashes and begins
++   # with a dollar sign (not a hyphen), so the echo should work correctly.
++   # The option is referenced via a variable to avoid confusing sed.
++   lt_compile=`echo "$ac_compile" | $SED \
++   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
++   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
++   -e 's:$: $lt_compiler_flag:'`
++   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
++   (eval "$lt_compile" 2>conftest.err)
++   ac_status=$?
++   cat conftest.err >&5
++   echo "$as_me:__oline__: \$? = $ac_status" >&5
++   if (exit $ac_status) && test -s "$ac_outfile"; then
++     # The compiler can only warn and ignore the option if not recognized
++     # So say no if there are warnings
++     if test ! -s conftest.err; then
++       lt_cv_prog_compiler_rtti_exceptions=yes
++     fi
++   fi
++   $rm conftest*
++
++fi
++echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
++echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
++
++if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
++    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
++else
++    :
++fi
++
++fi
++
++lt_prog_compiler_wl=
++lt_prog_compiler_pic=
++lt_prog_compiler_static=
++
++echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
++echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
++ 
++  if test "$GCC" = yes; then
++    lt_prog_compiler_wl='-Wl,'
++    lt_prog_compiler_static='-static'
++
++    case $host_os in
++      aix*)
++      # All AIX code is PIC.
++      if test "$host_cpu" = ia64; then
++	# AIX 5 now supports IA64 processor
++	lt_prog_compiler_static='-Bstatic'
++      fi
++      ;;
++
++    amigaos*)
++      # FIXME: we need at least 68020 code to build shared libraries, but
++      # adding the `-m68020' flag to GCC prevents building anything better,
++      # like `-m68040'.
++      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
++      ;;
++
++    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
++      # PIC is the default for these OSes.
++      ;;
++
++    mingw* | pw32* | os2*)
++      # This hack is so that the source file can tell whether it is being
++      # built for inclusion in a dll (and should export symbols for example).
++      lt_prog_compiler_pic='-DDLL_EXPORT'
++      ;;
++
++    darwin* | rhapsody*)
++      # PIC is the default on this platform
++      # Common symbols not allowed in MH_DYLIB files
++      lt_prog_compiler_pic='-fno-common'
++      ;;
++
++    msdosdjgpp*)
++      # Just because we use GCC doesn't mean we suddenly get shared libraries
++      # on systems that don't support them.
++      lt_prog_compiler_can_build_shared=no
++      enable_shared=no
++      ;;
++
++    sysv4*MP*)
++      if test -d /usr/nec; then
++	lt_prog_compiler_pic=-Kconform_pic
++      fi
++      ;;
++
++    hpux*)
++      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
++      # not for PA HP-UX.
++      case "$host_cpu" in
++      hppa*64*|ia64*)
++	# +Z the default
++	;;
++      *)
++	lt_prog_compiler_pic='-fPIC'
++	;;
++      esac
++      ;;
++
++    *)
++      lt_prog_compiler_pic='-fPIC'
++      ;;
++    esac
++  else
++    # PORTME Check for flag to pass linker flags through the system compiler.
++    case $host_os in
++    aix*)
++      lt_prog_compiler_wl='-Wl,'
++      if test "$host_cpu" = ia64; then
++	# AIX 5 now supports IA64 processor
++	lt_prog_compiler_static='-Bstatic'
++      else
++	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
++      fi
++      ;;
++
++    mingw* | pw32* | os2*)
++      # This hack is so that the source file can tell whether it is being
++      # built for inclusion in a dll (and should export symbols for example).
++      lt_prog_compiler_pic='-DDLL_EXPORT'
++      ;;
++
++    hpux9* | hpux10* | hpux11*)
++      lt_prog_compiler_wl='-Wl,'
++      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
++      # not for PA HP-UX.
++      case "$host_cpu" in
++      hppa*64*|ia64*)
++	# +Z the default
++	;;
++      *)
++	lt_prog_compiler_pic='+Z'
++	;;
++      esac
++      # Is there a better lt_prog_compiler_static that works with the bundled CC?
++      lt_prog_compiler_static='${wl}-a ${wl}archive'
++      ;;
++
++    irix5* | irix6* | nonstopux*)
++      lt_prog_compiler_wl='-Wl,'
++      # PIC (with -KPIC) is the default.
++      lt_prog_compiler_static='-non_shared'
++      ;;
++
++    newsos6)
++      lt_prog_compiler_pic='-KPIC'
++      lt_prog_compiler_static='-Bstatic'
++      ;;
++
++    linux*)
++      case $CC in
++      icc* | ecc*)
++	lt_prog_compiler_wl='-Wl,'
++	lt_prog_compiler_pic='-KPIC'
++	lt_prog_compiler_static='-static'
++        ;;
++      ccc*)
++        lt_prog_compiler_wl='-Wl,'
++        # All Alpha code is PIC.
++        lt_prog_compiler_static='-non_shared'
++        ;;
++      esac
++      ;;
++
++    osf3* | osf4* | osf5*)
++      lt_prog_compiler_wl='-Wl,'
++      # All OSF/1 code is PIC.
++      lt_prog_compiler_static='-non_shared'
++      ;;
++
++    sco3.2v5*)
++      lt_prog_compiler_pic='-Kpic'
++      lt_prog_compiler_static='-dn'
++      ;;
++
++    solaris*)
++      lt_prog_compiler_wl='-Wl,'
++      lt_prog_compiler_pic='-KPIC'
++      lt_prog_compiler_static='-Bstatic'
++      ;;
++
++    sunos4*)
++      lt_prog_compiler_wl='-Qoption ld '
++      lt_prog_compiler_pic='-PIC'
++      lt_prog_compiler_static='-Bstatic'
++      ;;
++
++    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
++      lt_prog_compiler_wl='-Wl,'
++      lt_prog_compiler_pic='-KPIC'
++      lt_prog_compiler_static='-Bstatic'
++      ;;
++
++    sysv4*MP*)
++      if test -d /usr/nec ;then
++	lt_prog_compiler_pic='-Kconform_pic'
++	lt_prog_compiler_static='-Bstatic'
++      fi
++      ;;
++
++    uts4*)
++      lt_prog_compiler_pic='-pic'
++      lt_prog_compiler_static='-Bstatic'
++      ;;
++
++    *)
++      lt_prog_compiler_can_build_shared=no
++      ;;
++    esac
++  fi
++
++echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
++echo "${ECHO_T}$lt_prog_compiler_pic" >&6
++
++#
++# Check to make sure the PIC flag actually works.
++#
++if test -n "$lt_prog_compiler_pic"; then
++  
++echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
++echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
++if test "${lt_prog_compiler_pic_works+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  lt_prog_compiler_pic_works=no
++  ac_outfile=conftest.$ac_objext
++   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
++   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
++   # Insert the option either (1) after the last *FLAGS variable, or
++   # (2) before a word containing "conftest.", or (3) at the end.
++   # Note that $ac_compile itself does not contain backslashes and begins
++   # with a dollar sign (not a hyphen), so the echo should work correctly.
++   # The option is referenced via a variable to avoid confusing sed.
++   lt_compile=`echo "$ac_compile" | $SED \
++   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
++   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
++   -e 's:$: $lt_compiler_flag:'`
++   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
++   (eval "$lt_compile" 2>conftest.err)
++   ac_status=$?
++   cat conftest.err >&5
++   echo "$as_me:__oline__: \$? = $ac_status" >&5
++   if (exit $ac_status) && test -s "$ac_outfile"; then
++     # The compiler can only warn and ignore the option if not recognized
++     # So say no if there are warnings
++     if test ! -s conftest.err; then
++       lt_prog_compiler_pic_works=yes
++     fi
++   fi
++   $rm conftest*
++
++fi
++echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
++echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
++
++if test x"$lt_prog_compiler_pic_works" = xyes; then
++    case $lt_prog_compiler_pic in
++     "" | " "*) ;;
++     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
++     esac
++else
++    lt_prog_compiler_pic=
++     lt_prog_compiler_can_build_shared=no
++fi
++
++fi
++case "$host_os" in
++  # For platforms which do not support PIC, -DPIC is meaningless:
++  *djgpp*)
++    lt_prog_compiler_pic=
++    ;;
++  *)
++    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
++    ;;
++esac
++
++echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
++echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
++if test "${lt_cv_prog_compiler_c_o+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  lt_cv_prog_compiler_c_o=no
++   $rm -r conftest 2>/dev/null
++   mkdir conftest
++   cd conftest
++   mkdir out
++   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
++
++   lt_compiler_flag="-o out/conftest2.$ac_objext"
++   # Insert the option either (1) after the last *FLAGS variable, or
++   # (2) before a word containing "conftest.", or (3) at the end.
++   # Note that $ac_compile itself does not contain backslashes and begins
++   # with a dollar sign (not a hyphen), so the echo should work correctly.
++   lt_compile=`echo "$ac_compile" | $SED \
++   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
++   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
++   -e 's:$: $lt_compiler_flag:'`
++   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
++   (eval "$lt_compile" 2>out/conftest.err)
++   ac_status=$?
++   cat out/conftest.err >&5
++   echo "$as_me:__oline__: \$? = $ac_status" >&5
++   if (exit $ac_status) && test -s out/conftest2.$ac_objext
++   then
++     # The compiler can only warn and ignore the option if not recognized
++     # So say no if there are warnings
++     if test ! -s out/conftest.err; then
++       lt_cv_prog_compiler_c_o=yes
++     fi
++   fi
++   chmod u+w .
++   $rm conftest*
++   # SGI C++ compiler will create directory out/ii_files/ for
++   # template instantiation
++   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
++   $rm out/* && rmdir out
++   cd ..
++   rmdir conftest
++   $rm conftest*
++
++fi
++echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
++echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
++
++
++hard_links="nottested"
++if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
++  # do not overwrite the value of need_locks provided by the user
++  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
++echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
++  hard_links=yes
++  $rm conftest*
++  ln conftest.a conftest.b 2>/dev/null && hard_links=no
++  touch conftest.a
++  ln conftest.a conftest.b 2>&5 || hard_links=no
++  ln conftest.a conftest.b 2>/dev/null && hard_links=no
++  echo "$as_me:$LINENO: result: $hard_links" >&5
++echo "${ECHO_T}$hard_links" >&6
++  if test "$hard_links" = no; then
++    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
++echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
++    need_locks=warn
++  fi
++else
++  need_locks=no
++fi
++
++echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
++echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
++
++  runpath_var=
++  allow_undefined_flag=
++  enable_shared_with_static_runtimes=no
++  archive_cmds=
++  archive_expsym_cmds=
++  old_archive_From_new_cmds=
++  old_archive_from_expsyms_cmds=
++  export_dynamic_flag_spec=
++  whole_archive_flag_spec=
++  thread_safe_flag_spec=
++  hardcode_libdir_flag_spec=
++  hardcode_libdir_flag_spec_ld=
++  hardcode_libdir_separator=
++  hardcode_direct=no
++  hardcode_minus_L=no
++  hardcode_shlibpath_var=unsupported
++  link_all_deplibs=unknown
++  hardcode_automatic=no
++  module_cmds=
++  module_expsym_cmds=
++  always_export_symbols=no
++  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
++  # include_expsyms should be a list of space-separated symbols to be *always*
++  # included in the symbol list
++  include_expsyms=
++  # exclude_expsyms can be an extended regexp of symbols to exclude
++  # it will be wrapped by ` (' and `)$', so one must not match beginning or
++  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
++  # as well as any symbol that contains `d'.
++  exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
++  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
++  # platforms (ab)use it in PIC code, but their linkers get confused if
++  # the symbol is explicitly referenced.  Since portable code cannot
++  # rely on this symbol name, it's probably fine to never include it in
++  # preloaded symbol tables.
++  extract_expsyms_cmds=
++
++  case $host_os in
++  cygwin* | mingw* | pw32*)
++    # FIXME: the MSVC++ port hasn't been tested in a loooong time
++    # When not using gcc, we currently assume that we are using
++    # Microsoft Visual C++.
++    if test "$GCC" != yes; then
++      with_gnu_ld=no
++    fi
++    ;;
++  openbsd*)
++    with_gnu_ld=no
++    ;;
++  esac
++
++  ld_shlibs=yes
++  if test "$with_gnu_ld" = yes; then
++    # If archive_cmds runs LD, not CC, wlarc should be empty
++    wlarc='${wl}'
++
++    # See if GNU ld supports shared libraries.
++    case $host_os in
++    aix3* | aix4* | aix5*)
++      # On AIX/PPC, the GNU linker is very broken
++      if test "$host_cpu" != ia64; then
++	ld_shlibs=no
++	cat <<EOF 1>&2
++
++*** Warning: the GNU linker, at least up to release 2.9.1, is reported
++*** to be unable to reliably create shared libraries on AIX.
++*** Therefore, libtool is disabling shared libraries support.  If you
++*** really care for shared libraries, you may want to modify your PATH
++*** so that a non-GNU linker is found, and then restart.
++
++EOF
++      fi
++      ;;
++
++    amigaos*)
++      archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
++      hardcode_libdir_flag_spec='-L$libdir'
++      hardcode_minus_L=yes
++
++      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
++      # that the semantics of dynamic libraries on AmigaOS, at least up
++      # to version 4, is to share data among multiple programs linked
++      # with the same dynamic library.  Since this doesn't match the
++      # behavior of shared libraries on other platforms, we can't use
++      # them.
++      ld_shlibs=no
++      ;;
++
++    beos*)
++      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
++	allow_undefined_flag=unsupported
++	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
++	# support --undefined.  This deserves some investigation.  FIXME
++	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++      else
++	ld_shlibs=no
++      fi
++      ;;
++
++    cygwin* | mingw* | pw32*)
++      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
++      # as there is no search path for DLLs.
++      hardcode_libdir_flag_spec='-L$libdir'
++      allow_undefined_flag=unsupported
++      always_export_symbols=no
++      enable_shared_with_static_runtimes=yes
++      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
++
++      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
++        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
++	# If the export-symbols file already is a .def file (1st line
++	# is EXPORTS), use it as is; otherwise, prepend...
++	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
++	  cp $export_symbols $output_objdir/$soname.def;
++	else
++	  echo EXPORTS > $output_objdir/$soname.def;
++	  cat $export_symbols >> $output_objdir/$soname.def;
++	fi~
++	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
++      else
++	ld_shlibs=no
++      fi
++      ;;
++
++    netbsd* | knetbsd*-gnu)
++      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
++	wlarc=
++      else
++	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++      fi
++      ;;
++
++    solaris* | sysv5*)
++      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
++	ld_shlibs=no
++	cat <<EOF 1>&2
++
++*** Warning: The releases 2.8.* of the GNU linker cannot reliably
++*** create shared libraries on Solaris systems.  Therefore, libtool
++*** is disabling shared libraries support.  We urge you to upgrade GNU
++*** binutils to release 2.9.1 or newer.  Another option is to modify
++*** your PATH or compiler configuration so that the native linker is
++*** used, and then restart.
++
++EOF
++      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
++	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++      else
++	ld_shlibs=no
++      fi
++      ;;
++
++    sunos4*)
++      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++      wlarc=
++      hardcode_direct=yes
++      hardcode_shlibpath_var=no
++      ;;
++
++  linux*)
++    if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
++        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++	archive_cmds="$tmp_archive_cmds"
++      supports_anon_versioning=no
++      case `$LD -v 2>/dev/null` in
++        *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
++        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
++        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
++        *\ 2.11.*) ;; # other 2.11 versions
++        *) supports_anon_versioning=yes ;;
++      esac
++      if test $supports_anon_versioning = yes; then
++        archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
++cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
++$echo "local: *; };" >> $output_objdir/$libname.ver~
++        $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
++      else
++        archive_expsym_cmds="$tmp_archive_cmds"
++      fi
++    else
++      ld_shlibs=no
++    fi
++    ;;
++
++    *)
++      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
++	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++      else
++	ld_shlibs=no
++      fi
++      ;;
++    esac
++
++    if test "$ld_shlibs" = yes; then
++      runpath_var=LD_RUN_PATH
++      hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
++      export_dynamic_flag_spec='${wl}--export-dynamic'
++      # ancient GNU ld didn't support --whole-archive et. al.
++      if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
++ 	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
++      else
++  	whole_archive_flag_spec=
++      fi
++    fi
++  else
++    # PORTME fill in a description of your system's linker (not GNU ld)
++    case $host_os in
++    aix3*)
++      allow_undefined_flag=unsupported
++      always_export_symbols=yes
++      archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
++      # Note: this linker hardcodes the directories in LIBPATH if there
++      # are no directories specified by -L.
++      hardcode_minus_L=yes
++      if test "$GCC" = yes && test -z "$link_static_flag"; then
++	# Neither direct hardcoding nor static linking is supported with a
++	# broken collect2.
++	hardcode_direct=unsupported
++      fi
++      ;;
++
++    aix4* | aix5*)
++      if test "$host_cpu" = ia64; then
++	# On IA64, the linker does run time linking by default, so we don't
++	# have to do anything special.
++	aix_use_runtimelinking=no
++	exp_sym_flag='-Bexport'
++	no_entry_flag=""
++      else
++	# If we're using GNU nm, then we don't want the "-C" option.
++	# -C means demangle to AIX nm, but means don't demangle with GNU nm
++	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
++	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
++	else
++	  export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
++	fi
++	aix_use_runtimelinking=no
++
++	# Test if we are trying to use run time linking or normal
++	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
++	# need to do runtime linking.
++	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
++	  for ld_flag in $LDFLAGS; do
++  	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
++  	    aix_use_runtimelinking=yes
++  	    break
++  	  fi
++	  done
++	esac
++
++	exp_sym_flag='-bexport'
++	no_entry_flag='-bnoentry'
++      fi
++
++      # When large executables or shared objects are built, AIX ld can
++      # have problems creating the table of contents.  If linking a library
++      # or program results in "error TOC overflow" add -mminimal-toc to
++      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
++      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
++
++      archive_cmds=''
++      hardcode_direct=yes
++      hardcode_libdir_separator=':'
++      link_all_deplibs=yes
++
++      if test "$GCC" = yes; then
++	case $host_os in aix4.012|aix4.012.*)
++	# We only want to do this on AIX 4.2 and lower, the check
++	# below for broken collect2 doesn't work under 4.3+
++	  collect2name=`${CC} -print-prog-name=collect2`
++	  if test -f "$collect2name" && \
++  	   strings "$collect2name" | grep resolve_lib_name >/dev/null
++	  then
++  	  # We have reworked collect2
++  	  hardcode_direct=yes
++	  else
++  	  # We have old collect2
++  	  hardcode_direct=unsupported
++  	  # It fails to find uninstalled libraries when the uninstalled
++  	  # path is not listed in the libpath.  Setting hardcode_minus_L
++  	  # to unsupported forces relinking
++  	  hardcode_minus_L=yes
++  	  hardcode_libdir_flag_spec='-L$libdir'
++  	  hardcode_libdir_separator=
++	  fi
++	esac
++	shared_flag='-shared'
++      else
++	# not using gcc
++	if test "$host_cpu" = ia64; then
++  	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
++  	# chokes on -Wl,-G. The following line is correct:
++	  shared_flag='-G'
++	else
++  	if test "$aix_use_runtimelinking" = yes; then
++	    shared_flag='${wl}-G'
++	  else
++	    shared_flag='${wl}-bM:SRE'
++  	fi
++	fi
++      fi
++
++      # It seems that -bexpall does not export symbols beginning with
++      # underscore (_), so it is better to generate a list of symbols to export.
++      always_export_symbols=yes
++      if test "$aix_use_runtimelinking" = yes; then
++	# Warning - without using the other runtime loading flags (-brtl),
++	# -berok will link without error, but may produce a broken library.
++	allow_undefined_flag='-berok'
++       # Determine the default libpath from the value encoded in an empty executable.
++       cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  
++aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
++}'`
++# Check for a 64-bit object if we didn't find anything.
++if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
++}'`; fi
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
++
++       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
++	archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
++       else
++	if test "$host_cpu" = ia64; then
++	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
++	  allow_undefined_flag="-z nodefs"
++	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
++	else
++	 # Determine the default libpath from the value encoded in an empty executable.
++	 cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  
++aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
++}'`
++# Check for a 64-bit object if we didn't find anything.
++if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
++}'`; fi
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
++
++	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
++	  # Warning - without using the other run time loading flags,
++	  # -berok will link without error, but may produce a broken library.
++	  no_undefined_flag=' ${wl}-bernotok'
++	  allow_undefined_flag=' ${wl}-berok'
++	  # -bexpall does not export symbols beginning with underscore (_)
++	  always_export_symbols=yes
++	  # Exported symbols can be pulled into shared objects from archives
++	  whole_archive_flag_spec=' '
++	  archive_cmds_need_lc=yes
++	  # This is similar to how AIX traditionally builds it's shared libraries.
++	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
++	fi
++      fi
++      ;;
++
++    amigaos*)
++      archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
++      hardcode_libdir_flag_spec='-L$libdir'
++      hardcode_minus_L=yes
++      # see comment about different semantics on the GNU ld section
++      ld_shlibs=no
++      ;;
++
++    bsdi4*)
++      export_dynamic_flag_spec=-rdynamic
++      ;;
++
++    cygwin* | mingw* | pw32*)
++      # When not using gcc, we currently assume that we are using
++      # Microsoft Visual C++.
++      # hardcode_libdir_flag_spec is actually meaningless, as there is
++      # no search path for DLLs.
++      hardcode_libdir_flag_spec=' '
++      allow_undefined_flag=unsupported
++      # Tell ltmain to make .lib files, not .a files.
++      libext=lib
++      # Tell ltmain to make .dll files, not .so files.
++      shrext=".dll"
++      # FIXME: Setting linknames here is a bad hack.
++      archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
++      # The linker will automatically build a .lib file if we build a DLL.
++      old_archive_From_new_cmds='true'
++      # FIXME: Should let the user specify the lib program.
++      old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
++      fix_srcfile_path='`cygpath -w "$srcfile"`'
++      enable_shared_with_static_runtimes=yes
++      ;;
++
++    darwin* | rhapsody*)
++    if test "$GXX" = yes ; then
++      archive_cmds_need_lc=no
++      case "$host_os" in
++      rhapsody* | darwin1.[012])
++	allow_undefined_flag='-undefined suppress'
++	;;
++      *) # Darwin 1.3 on
++      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
++      	allow_undefined_flag='-flat_namespace -undefined suppress'
++      else
++        case ${MACOSX_DEPLOYMENT_TARGET} in
++          10.[012])
++            allow_undefined_flag='-flat_namespace -undefined suppress'
++            ;;
++          10.*)
++            allow_undefined_flag='-undefined dynamic_lookup'
++            ;;
++        esac
++      fi
++	;;
++      esac
++    	lt_int_apple_cc_single_mod=no
++    	output_verbose_link_cmd='echo'
++    	if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
++    	  lt_int_apple_cc_single_mod=yes
++    	fi
++    	if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
++    	  archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
++    	else
++        archive_cmds='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
++      fi
++      module_cmds='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
++      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
++        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
++          archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++        else
++          archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++        fi
++          module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++      hardcode_direct=no
++      hardcode_automatic=yes
++      hardcode_shlibpath_var=unsupported
++      whole_archive_flag_spec='-all_load $convenience'
++      link_all_deplibs=yes
++    else
++      ld_shlibs=no
++    fi
++      ;;
++
++    dgux*)
++      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_libdir_flag_spec='-L$libdir'
++      hardcode_shlibpath_var=no
++      ;;
++
++    freebsd1*)
++      ld_shlibs=no
++      ;;
++
++    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
++    # support.  Future versions do this automatically, but an explicit c++rt0.o
++    # does not break anything, and helps significantly (at the cost of a little
++    # extra space).
++    freebsd2.2*)
++      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
++      hardcode_libdir_flag_spec='-R$libdir'
++      hardcode_direct=yes
++      hardcode_shlibpath_var=no
++      ;;
++
++    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
++    freebsd2*)
++      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_direct=yes
++      hardcode_minus_L=yes
++      hardcode_shlibpath_var=no
++      ;;
++
++    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
++    freebsd* | kfreebsd*-gnu)
++      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
++      hardcode_libdir_flag_spec='-R$libdir'
++      hardcode_direct=yes
++      hardcode_shlibpath_var=no
++      ;;
++
++    hpux9*)
++      if test "$GCC" = yes; then
++	archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
++      else
++	archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
++      fi
++      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
++      hardcode_libdir_separator=:
++      hardcode_direct=yes
++
++      # hardcode_minus_L: Not really in the search PATH,
++      # but as the default location of the library.
++      hardcode_minus_L=yes
++      export_dynamic_flag_spec='${wl}-E'
++      ;;
++
++    hpux10* | hpux11*)
++      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
++	case "$host_cpu" in
++	hppa*64*|ia64*)
++	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++	  ;;
++	*)
++	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
++	  ;;
++	esac
++      else
++	case "$host_cpu" in
++	hppa*64*|ia64*)
++	  archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
++	  ;;
++	*)
++	  archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
++	  ;;
++	esac
++      fi
++      if test "$with_gnu_ld" = no; then
++	case "$host_cpu" in
++	hppa*64*)
++	  hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
++	  hardcode_libdir_flag_spec_ld='+b $libdir'
++	  hardcode_libdir_separator=:
++	  hardcode_direct=no
++	  hardcode_shlibpath_var=no
++	  ;;
++	ia64*)
++	  hardcode_libdir_flag_spec='-L$libdir'
++	  hardcode_direct=no
++	  hardcode_shlibpath_var=no
++
++	  # hardcode_minus_L: Not really in the search PATH,
++	  # but as the default location of the library.
++	  hardcode_minus_L=yes
++	  ;;
++	*)
++	  hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
++	  hardcode_libdir_separator=:
++	  hardcode_direct=yes
++	  export_dynamic_flag_spec='${wl}-E'
++
++	  # hardcode_minus_L: Not really in the search PATH,
++	  # but as the default location of the library.
++	  hardcode_minus_L=yes
++	  ;;
++	esac
++      fi
++      ;;
++
++    irix5* | irix6* | nonstopux*)
++      if test "$GCC" = yes; then
++	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++      else
++	archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
++	hardcode_libdir_flag_spec_ld='-rpath $libdir'
++      fi
++      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
++      hardcode_libdir_separator=:
++      link_all_deplibs=yes
++      ;;
++
++    netbsd* | knetbsd*-gnu)
++      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
++      else
++	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
++      fi
++      hardcode_libdir_flag_spec='-R$libdir'
++      hardcode_direct=yes
++      hardcode_shlibpath_var=no
++      ;;
++
++    newsos6)
++      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_direct=yes
++      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
++      hardcode_libdir_separator=:
++      hardcode_shlibpath_var=no
++      ;;
++
++    openbsd*)
++      hardcode_direct=yes
++      hardcode_shlibpath_var=no
++      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
++	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
++	hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
++	export_dynamic_flag_spec='${wl}-E'
++      else
++       case $host_os in
++	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
++	   archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++	   hardcode_libdir_flag_spec='-R$libdir'
++	   ;;
++	 *)
++	   archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
++	   hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
++	   ;;
++       esac
++      fi
++      ;;
++
++    os2*)
++      hardcode_libdir_flag_spec='-L$libdir'
++      hardcode_minus_L=yes
++      allow_undefined_flag=unsupported
++      archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
++      old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
++      ;;
++
++    osf3*)
++      if test "$GCC" = yes; then
++	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
++	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++      else
++	allow_undefined_flag=' -expect_unresolved \*'
++	archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
++      fi
++      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
++      hardcode_libdir_separator=:
++      ;;
++
++    osf4* | osf5*)	# as osf3* with the addition of -msym flag
++      if test "$GCC" = yes; then
++	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
++	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
++      else
++	allow_undefined_flag=' -expect_unresolved \*'
++	archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
++	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
++	$LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
++
++	# Both c and cxx compiler support -rpath directly
++	hardcode_libdir_flag_spec='-rpath $libdir'
++      fi
++      hardcode_libdir_separator=:
++      ;;
++
++    sco3.2v5*)
++      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_shlibpath_var=no
++      export_dynamic_flag_spec='${wl}-Bexport'
++      runpath_var=LD_RUN_PATH
++      hardcode_runpath_var=yes
++      ;;
++
++    solaris*)
++      no_undefined_flag=' -z text'
++      if test "$GCC" = yes; then
++	archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
++      else
++	archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
++	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++  	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
++      fi
++      hardcode_libdir_flag_spec='-R$libdir'
++      hardcode_shlibpath_var=no
++      case $host_os in
++      solaris2.[0-5] | solaris2.[0-5].*) ;;
++      *) # Supported since Solaris 2.6 (maybe 2.5.1?)
++	whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
++      esac
++      link_all_deplibs=yes
++      ;;
++
++    sunos4*)
++      if test "x$host_vendor" = xsequent; then
++	# Use $CC to link under sequent, because it throws in some extra .o
++	# files that make .init and .fini sections work.
++	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
++      else
++	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
++      fi
++      hardcode_libdir_flag_spec='-L$libdir'
++      hardcode_direct=yes
++      hardcode_minus_L=yes
++      hardcode_shlibpath_var=no
++      ;;
++
++    sysv4)
++      case $host_vendor in
++	sni)
++	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++	  hardcode_direct=yes # is this really true???
++	;;
++	siemens)
++	  ## LD is ld it makes a PLAMLIB
++	  ## CC just makes a GrossModule.
++	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
++	  reload_cmds='$CC -r -o $output$reload_objs'
++	  hardcode_direct=no
++        ;;
++	motorola)
++	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
++	;;
++      esac
++      runpath_var='LD_RUN_PATH'
++      hardcode_shlibpath_var=no
++      ;;
++
++    sysv4.3*)
++      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_shlibpath_var=no
++      export_dynamic_flag_spec='-Bexport'
++      ;;
++
++    sysv4*MP*)
++      if test -d /usr/nec; then
++	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++	hardcode_shlibpath_var=no
++	runpath_var=LD_RUN_PATH
++	hardcode_runpath_var=yes
++	ld_shlibs=yes
++      fi
++      ;;
++
++    sysv4.2uw2*)
++      archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_direct=yes
++      hardcode_minus_L=no
++      hardcode_shlibpath_var=no
++      hardcode_runpath_var=yes
++      runpath_var=LD_RUN_PATH
++      ;;
++
++   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
++      no_undefined_flag='${wl}-z ${wl}text'
++      if test "$GCC" = yes; then
++	archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++      else
++	archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++      fi
++      runpath_var='LD_RUN_PATH'
++      hardcode_shlibpath_var=no
++      ;;
++
++    sysv5*)
++      no_undefined_flag=' -z text'
++      # $CC -shared without GNU ld will not create a library from C++
++      # object files and a static libstdc++, better avoid it by now
++      archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++  		$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
++      hardcode_libdir_flag_spec=
++      hardcode_shlibpath_var=no
++      runpath_var='LD_RUN_PATH'
++      ;;
++
++    uts4*)
++      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_libdir_flag_spec='-L$libdir'
++      hardcode_shlibpath_var=no
++      ;;
++
++    *)
++      ld_shlibs=no
++      ;;
++    esac
++  fi
++
++echo "$as_me:$LINENO: result: $ld_shlibs" >&5
++echo "${ECHO_T}$ld_shlibs" >&6
++test "$ld_shlibs" = no && can_build_shared=no
++
++variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
++if test "$GCC" = yes; then
++  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
++fi
++
++#
++# Do we need to explicitly link libc?
++#
++case "x$archive_cmds_need_lc" in
++x|xyes)
++  # Assume -lc should be added
++  archive_cmds_need_lc=yes
++
++  if test "$enable_shared" = yes && test "$GCC" = yes; then
++    case $archive_cmds in
++    *'~'*)
++      # FIXME: we may have to deal with multi-command sequences.
++      ;;
++    '$CC '*)
++      # Test whether the compiler implicitly links with -lc since on some
++      # systems, -lgcc has to come before -lc. If gcc already passes -lc
++      # to ld, don't add -lc before -lgcc.
++      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
++echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
++      $rm conftest*
++      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
++
++      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } 2>conftest.err; then
++        soname=conftest
++        lib=conftest
++        libobjs=conftest.$ac_objext
++        deplibs=
++        wl=$lt_prog_compiler_wl
++        compiler_flags=-v
++        linker_flags=-v
++        verstring=
++        output_objdir=.
++        libname=conftest
++        lt_save_allow_undefined_flag=$allow_undefined_flag
++        allow_undefined_flag=
++        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
++  (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }
++        then
++	  archive_cmds_need_lc=no
++        else
++	  archive_cmds_need_lc=yes
++        fi
++        allow_undefined_flag=$lt_save_allow_undefined_flag
++      else
++        cat conftest.err 1>&5
++      fi
++      $rm conftest*
++      echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
++echo "${ECHO_T}$archive_cmds_need_lc" >&6
++      ;;
++    esac
++  fi
++  ;;
++esac
++
++echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
++echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
++library_names_spec=
++libname_spec='lib$name'
++soname_spec=
++shrext=".so"
++postinstall_cmds=
++postuninstall_cmds=
++finish_cmds=
++finish_eval=
++shlibpath_var=
++shlibpath_overrides_runpath=unknown
++version_type=none
++dynamic_linker="$host_os ld.so"
++sys_lib_dlsearch_path_spec="/lib /usr/lib"
++if test "$GCC" = yes; then
++  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
++  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
++    # if the path contains ";" then we assume it to be the separator
++    # otherwise default to the standard path separator (i.e. ":") - it is
++    # assumed that no part of a normal pathname contains ";" but that should
++    # okay in the real world where ";" in dirpaths is itself problematic.
++    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
++  else
++    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
++  fi
++else
++  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
++fi
++need_lib_prefix=unknown
++hardcode_into_libs=no
++
++# when you set need_version to no, make sure it does not cause -set_version
++# flags to be left without arguments
++need_version=unknown
++
++case $host_os in
++aix3*)
++  version_type=linux
++  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
++  shlibpath_var=LIBPATH
++
++  # AIX 3 has no versioning support, so we append a major version to the name.
++  soname_spec='${libname}${release}${shared_ext}$major'
++  ;;
++
++aix4* | aix5*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  hardcode_into_libs=yes
++  if test "$host_cpu" = ia64; then
++    # AIX 5 supports IA64
++    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
++    shlibpath_var=LD_LIBRARY_PATH
++  else
++    # With GCC up to 2.95.x, collect2 would create an import file
++    # for dependence libraries.  The import file would start with
++    # the line `#! .'.  This would cause the generated library to
++    # depend on `.', always an invalid library.  This was fixed in
++    # development snapshots of GCC prior to 3.0.
++    case $host_os in
++      aix4 | aix4.[01] | aix4.[01].*)
++      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
++	   echo ' yes '
++	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
++	:
++      else
++	can_build_shared=no
++      fi
++      ;;
++    esac
++    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
++    # soname into executable. Probably we can add versioning support to
++    # collect2, so additional links can be useful in future.
++    if test "$aix_use_runtimelinking" = yes; then
++      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
++      # instead of lib<name>.a to let people know that these are not
++      # typical AIX shared libraries.
++      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++    else
++      # We preserve .a as extension for shared libraries through AIX4.2
++      # and later when we are not doing run time linking.
++      library_names_spec='${libname}${release}.a $libname.a'
++      soname_spec='${libname}${release}${shared_ext}$major'
++    fi
++    shlibpath_var=LIBPATH
++  fi
++  ;;
++
++amigaos*)
++  library_names_spec='$libname.ixlibrary $libname.a'
++  # Create ${libname}_ixlibrary.a entries in /sys/libs.
++  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
++  ;;
++
++beos*)
++  library_names_spec='${libname}${shared_ext}'
++  dynamic_linker="$host_os ld.so"
++  shlibpath_var=LIBRARY_PATH
++  ;;
++
++bsdi4*)
++  version_type=linux
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
++  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
++  # the default ld.so.conf also contains /usr/contrib/lib and
++  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
++  # libtool to hard-code these into programs
++  ;;
++
++cygwin* | mingw* | pw32*)
++  version_type=windows
++  shrext=".dll"
++  need_version=no
++  need_lib_prefix=no
++
++  case $GCC,$host_os in
++  yes,cygwin* | yes,mingw* | yes,pw32*)
++    library_names_spec='$libname.dll.a'
++    # DLL is installed to $(libdir)/../bin by postinstall_cmds
++    postinstall_cmds='base_file=`basename \${file}`~
++      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
++      dldir=$destdir/`dirname \$dlpath`~
++      test -d \$dldir || mkdir -p \$dldir~
++      $install_prog $dir/$dlname \$dldir/$dlname'
++    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
++      dlpath=$dir/\$dldll~
++       $rm \$dlpath'
++    shlibpath_overrides_runpath=yes
++
++    case $host_os in
++    cygwin*)
++      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
++      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
++      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
++      ;;
++    mingw*)
++      # MinGW DLLs use traditional 'lib' prefix
++      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
++      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
++      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
++        # It is most probably a Windows format PATH printed by
++        # mingw gcc, but we are running on Cygwin. Gcc prints its search
++        # path with ; separators, and with drive letters. We can handle the
++        # drive letters (cygwin fileutils understands them), so leave them,
++        # especially as we might pass files found there to a mingw objdump,
++        # which wouldn't understand a cygwinified path. Ahh.
++        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
++      else
++        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
++      fi
++      ;;
++    pw32*)
++      # pw32 DLLs use 'pw' prefix rather than 'lib'
++      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
++      ;;
++    esac
++    ;;
++
++  *)
++    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
++    ;;
++  esac
++  dynamic_linker='Win32 ld.exe'
++  # FIXME: first we should search . and the directory the executable is in
++  shlibpath_var=PATH
++  ;;
++
++darwin* | rhapsody*)
++  dynamic_linker="$host_os dyld"
++  version_type=darwin
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
++  soname_spec='${libname}${release}${major}$shared_ext'
++  shlibpath_overrides_runpath=yes
++  shlibpath_var=DYLD_LIBRARY_PATH
++  shrext='$(test .$module = .yes && echo .so || echo .dylib)'
++  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
++  if test "$GCC" = yes; then
++    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
++  else
++    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
++  fi
++  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
++  ;;
++
++dgux*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++freebsd1*)
++  dynamic_linker=no
++  ;;
++
++kfreebsd*-gnu)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=no
++  hardcode_into_libs=yes
++  dynamic_linker='GNU ld.so'
++  ;;
++
++freebsd*)
++  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
++  version_type=freebsd-$objformat
++  case $version_type in
++    freebsd-elf*)
++      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
++      need_version=no
++      need_lib_prefix=no
++      ;;
++    freebsd-*)
++      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
++      need_version=yes
++      ;;
++  esac
++  shlibpath_var=LD_LIBRARY_PATH
++  case $host_os in
++  freebsd2*)
++    shlibpath_overrides_runpath=yes
++    ;;
++  freebsd3.01* | freebsdelf3.01*)
++    shlibpath_overrides_runpath=yes
++    hardcode_into_libs=yes
++    ;;
++  *) # from 3.2 on
++    shlibpath_overrides_runpath=no
++    hardcode_into_libs=yes
++    ;;
++  esac
++  ;;
++
++gnu*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  hardcode_into_libs=yes
++  ;;
++
++hpux9* | hpux10* | hpux11*)
++  # Give a soname corresponding to the major version so that dld.sl refuses to
++  # link against other versions.
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=no
++  case "$host_cpu" in
++  ia64*)
++    shrext='.so'
++    hardcode_into_libs=yes
++    dynamic_linker="$host_os dld.so"
++    shlibpath_var=LD_LIBRARY_PATH
++    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
++    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++    soname_spec='${libname}${release}${shared_ext}$major'
++    if test "X$HPUX_IA64_MODE" = X32; then
++      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
++    else
++      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
++    fi
++    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
++    ;;
++   hppa*64*)
++     shrext='.sl'
++     hardcode_into_libs=yes
++     dynamic_linker="$host_os dld.sl"
++     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
++     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
++     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++     soname_spec='${libname}${release}${shared_ext}$major'
++     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
++     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
++     ;;
++   *)
++    shrext='.sl'
++    dynamic_linker="$host_os dld.sl"
++    shlibpath_var=SHLIB_PATH
++    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
++    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++    soname_spec='${libname}${release}${shared_ext}$major'
++    ;;
++  esac
++  # HP-UX runs *really* slowly unless shared libraries are mode 555.
++  postinstall_cmds='chmod 555 $lib'
++  ;;
++
++irix5* | irix6* | nonstopux*)
++  case $host_os in
++    nonstopux*) version_type=nonstopux ;;
++    *)
++	if test "$lt_cv_prog_gnu_ld" = yes; then
++		version_type=linux
++	else
++		version_type=irix
++	fi ;;
++  esac
++  need_lib_prefix=no
++  need_version=no
++  soname_spec='${libname}${release}${shared_ext}$major'
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
++  case $host_os in
++  irix5* | nonstopux*)
++    libsuff= shlibsuff=
++    ;;
++  *)
++    case $LD in # libtool.m4 will add one of these switches to LD
++    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
++      libsuff= shlibsuff= libmagic=32-bit;;
++    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
++      libsuff=32 shlibsuff=N32 libmagic=N32;;
++    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
++      libsuff=64 shlibsuff=64 libmagic=64-bit;;
++    *) libsuff= shlibsuff= libmagic=never-match;;
++    esac
++    ;;
++  esac
++  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
++  shlibpath_overrides_runpath=no
++  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
++  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
++  hardcode_into_libs=yes
++  ;;
++
++# No shared lib support for Linux oldld, aout, or coff.
++linux*oldld* | linux*aout* | linux*coff*)
++  dynamic_linker=no
++  ;;
++
++# This must be Linux ELF.
++linux*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=no
++  # This implies no fast_install, which is unacceptable.
++  # Some rework will be needed to allow for fast_install
++  # before this can be enabled.
++  hardcode_into_libs=yes
++
++  # Append ld.so.conf contents to the search path
++  if test -f /etc/ld.so.conf; then
++    ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf`
++    sys_lib_dlsearch_path_spec="/lib /usr/lib $ld_extra"
++  fi
++
++  # We used to test for /lib/ld.so.1 and disable shared libraries on
++  # powerpc, because MkLinux only supported shared libraries with the
++  # GNU dynamic linker.  Since this was broken with cross compilers,
++  # most powerpc-linux boxes support dynamic linking these days and
++  # people can always --disable-shared, the test was removed, and we
++  # assume the GNU/Linux dynamic linker is in use.
++  dynamic_linker='GNU/Linux ld.so'
++  ;;
++
++knetbsd*-gnu)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=no
++  hardcode_into_libs=yes
++  dynamic_linker='GNU ld.so'
++  ;;
++
++netbsd*)
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=no
++  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
++    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
++    dynamic_linker='NetBSD (a.out) ld.so'
++  else
++    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
++    soname_spec='${libname}${release}${shared_ext}$major'
++    dynamic_linker='NetBSD ld.elf_so'
++  fi
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  hardcode_into_libs=yes
++  ;;
++
++newsos6)
++  version_type=linux
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  ;;
++
++nto-qnx*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  ;;
++
++openbsd*)
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=yes
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
++    case $host_os in
++      openbsd2.[89] | openbsd2.[89].*)
++	shlibpath_overrides_runpath=no
++	;;
++      *)
++	shlibpath_overrides_runpath=yes
++	;;
++      esac
++  else
++    shlibpath_overrides_runpath=yes
++  fi
++  ;;
++
++os2*)
++  libname_spec='$name'
++  shrext=".dll"
++  need_lib_prefix=no
++  library_names_spec='$libname${shared_ext} $libname.a'
++  dynamic_linker='OS/2 ld.exe'
++  shlibpath_var=LIBPATH
++  ;;
++
++osf3* | osf4* | osf5*)
++  version_type=osf
++  need_lib_prefix=no
++  need_version=no
++  soname_spec='${libname}${release}${shared_ext}$major'
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  shlibpath_var=LD_LIBRARY_PATH
++  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
++  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
++  ;;
++
++sco3.2v5*)
++  version_type=osf
++  soname_spec='${libname}${release}${shared_ext}$major'
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++solaris*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  hardcode_into_libs=yes
++  # ldd complains unless libraries are executable
++  postinstall_cmds='chmod +x $lib'
++  ;;
++
++sunos4*)
++  version_type=sunos
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
++  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  if test "$with_gnu_ld" = yes; then
++    need_lib_prefix=no
++  fi
++  need_version=yes
++  ;;
++
++sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
++  version_type=linux
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  case $host_vendor in
++    sni)
++      shlibpath_overrides_runpath=no
++      need_lib_prefix=no
++      export_dynamic_flag_spec='${wl}-Blargedynsym'
++      runpath_var=LD_RUN_PATH
++      ;;
++    siemens)
++      need_lib_prefix=no
++      ;;
++    motorola)
++      need_lib_prefix=no
++      need_version=no
++      shlibpath_overrides_runpath=no
++      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
++      ;;
++  esac
++  ;;
++
++sysv4*MP*)
++  if test -d /usr/nec ;then
++    version_type=linux
++    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
++    soname_spec='$libname${shared_ext}.$major'
++    shlibpath_var=LD_LIBRARY_PATH
++  fi
++  ;;
++
++uts4*)
++  version_type=linux
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++*)
++  dynamic_linker=no
++  ;;
++esac
++echo "$as_me:$LINENO: result: $dynamic_linker" >&5
++echo "${ECHO_T}$dynamic_linker" >&6
++test "$dynamic_linker" = no && can_build_shared=no
++
++echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
++echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
++hardcode_action=
++if test -n "$hardcode_libdir_flag_spec" || \
++   test -n "$runpath_var " || \
++   test "X$hardcode_automatic"="Xyes" ; then
++
++  # We can hardcode non-existant directories.
++  if test "$hardcode_direct" != no &&
++     # If the only mechanism to avoid hardcoding is shlibpath_var, we
++     # have to relink, otherwise we might link with an installed library
++     # when we should be linking with a yet-to-be-installed one
++     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
++     test "$hardcode_minus_L" != no; then
++    # Linking always hardcodes the temporary library directory.
++    hardcode_action=relink
++  else
++    # We can link without hardcoding, and we can hardcode nonexisting dirs.
++    hardcode_action=immediate
++  fi
++else
++  # We cannot hardcode anything, or else we can only hardcode existing
++  # directories.
++  hardcode_action=unsupported
++fi
++echo "$as_me:$LINENO: result: $hardcode_action" >&5
++echo "${ECHO_T}$hardcode_action" >&6
++
++if test "$hardcode_action" = relink; then
++  # Fast installation is not supported
++  enable_fast_install=no
++elif test "$shlibpath_overrides_runpath" = yes ||
++     test "$enable_shared" = no; then
++  # Fast installation is not necessary
++  enable_fast_install=needless
++fi
++
++striplib=
++old_striplib=
++echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
++echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
++if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
++  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
++  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
++  echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++else
++# FIXME - insert some real tests, host_os isn't really good enough
++  case $host_os in
++   darwin*)
++       if test -n "$STRIP" ; then
++         striplib="$STRIP -x"
++         echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++       else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++       ;;
++   *)
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++    ;;
++  esac
++fi
++
++if test "x$enable_dlopen" != xyes; then
++  enable_dlopen=unknown
++  enable_dlopen_self=unknown
++  enable_dlopen_self_static=unknown
++else
++  lt_cv_dlopen=no
++  lt_cv_dlopen_libs=
++
++  case $host_os in
++  beos*)
++    lt_cv_dlopen="load_add_on"
++    lt_cv_dlopen_libs=
++    lt_cv_dlopen_self=yes
++    ;;
++
++  mingw* | pw32*)
++    lt_cv_dlopen="LoadLibrary"
++    lt_cv_dlopen_libs=
++   ;;
++
++  cygwin*)
++    lt_cv_dlopen="dlopen"
++    lt_cv_dlopen_libs=
++   ;;
++
++  darwin*)
++  # if libdl is installed we need to link against it
++    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
++echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
++if test "${ac_cv_lib_dl_dlopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ldl  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dlopen ();
++int
++main ()
++{
++dlopen ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_dl_dlopen=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_dl_dlopen=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
++echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
++if test $ac_cv_lib_dl_dlopen = yes; then
++  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
++else
++  
++    lt_cv_dlopen="dyld"
++    lt_cv_dlopen_libs=
++    lt_cv_dlopen_self=yes
++    
++fi
++
++   ;;
++
++  *)
++    echo "$as_me:$LINENO: checking for shl_load" >&5
++echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
++if test "${ac_cv_func_shl_load+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define shl_load innocuous_shl_load
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char shl_load (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef shl_load
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char shl_load ();
++/* 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_shl_load) || defined (__stub___shl_load)
++choke me
++#else
++char (*f) () = shl_load;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != shl_load;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_shl_load=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_shl_load=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
++echo "${ECHO_T}$ac_cv_func_shl_load" >&6
++if test $ac_cv_func_shl_load = yes; then
++  lt_cv_dlopen="shl_load"
++else
++  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
++echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
++if test "${ac_cv_lib_dld_shl_load+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ldld  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char shl_load ();
++int
++main ()
++{
++shl_load ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_dld_shl_load=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_dld_shl_load=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
++echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
++if test $ac_cv_lib_dld_shl_load = yes; then
++  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
++else
++  echo "$as_me:$LINENO: checking for dlopen" >&5
++echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
++if test "${ac_cv_func_dlopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define dlopen innocuous_dlopen
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char dlopen (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef dlopen
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dlopen ();
++/* 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_dlopen) || defined (__stub___dlopen)
++choke me
++#else
++char (*f) () = dlopen;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != dlopen;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_dlopen=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_dlopen=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
++echo "${ECHO_T}$ac_cv_func_dlopen" >&6
++if test $ac_cv_func_dlopen = yes; then
++  lt_cv_dlopen="dlopen"
++else
++  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
++echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
++if test "${ac_cv_lib_dl_dlopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ldl  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dlopen ();
++int
++main ()
++{
++dlopen ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_dl_dlopen=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_dl_dlopen=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
++echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
++if test $ac_cv_lib_dl_dlopen = yes; then
++  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
++else
++  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
++echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
++if test "${ac_cv_lib_svld_dlopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-lsvld  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dlopen ();
++int
++main ()
++{
++dlopen ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_svld_dlopen=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_svld_dlopen=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
++echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
++if test $ac_cv_lib_svld_dlopen = yes; then
++  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
++else
++  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
++echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
++if test "${ac_cv_lib_dld_dld_link+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ldld  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dld_link ();
++int
++main ()
++{
++dld_link ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_dld_dld_link=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_dld_dld_link=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
++echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
++if test $ac_cv_lib_dld_dld_link = yes; then
++  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
++fi
++
++	      
++fi
++
++	    
++fi
++
++	  
++fi
++
++	
++fi
++
++      
++fi
++
++    ;;
++  esac
++
++  if test "x$lt_cv_dlopen" != xno; then
++    enable_dlopen=yes
++  else
++    enable_dlopen=no
++  fi
++
++  case $lt_cv_dlopen in
++  dlopen)
++    save_CPPFLAGS="$CPPFLAGS"
++    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
++
++    save_LDFLAGS="$LDFLAGS"
++    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
++
++    save_LIBS="$LIBS"
++    LIBS="$lt_cv_dlopen_libs $LIBS"
++
++    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
++echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
++if test "${lt_cv_dlopen_self+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  	  if test "$cross_compiling" = yes; then :
++  lt_cv_dlopen_self=cross
++else
++  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
++  lt_status=$lt_dlunknown
++  cat > conftest.$ac_ext <<EOF
++#line __oline__ "configure"
++#include "confdefs.h"
++
++#if HAVE_DLFCN_H
++#include <dlfcn.h>
++#endif
++
++#include <stdio.h>
++
++#ifdef RTLD_GLOBAL
++#  define LT_DLGLOBAL		RTLD_GLOBAL
++#else
++#  ifdef DL_GLOBAL
++#    define LT_DLGLOBAL		DL_GLOBAL
++#  else
++#    define LT_DLGLOBAL		0
++#  endif
++#endif
++
++/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
++   find out it does not work in some platform. */
++#ifndef LT_DLLAZY_OR_NOW
++#  ifdef RTLD_LAZY
++#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
++#  else
++#    ifdef DL_LAZY
++#      define LT_DLLAZY_OR_NOW		DL_LAZY
++#    else
++#      ifdef RTLD_NOW
++#        define LT_DLLAZY_OR_NOW	RTLD_NOW
++#      else
++#        ifdef DL_NOW
++#          define LT_DLLAZY_OR_NOW	DL_NOW
++#        else
++#          define LT_DLLAZY_OR_NOW	0
++#        endif
++#      endif
++#    endif
++#  endif
++#endif
++
++#ifdef __cplusplus
++extern "C" void exit (int);
++#endif
++
++void fnord() { int i=42;}
++int main ()
++{
++  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
++  int status = $lt_dlunknown;
++
++  if (self)
++    {
++      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
++      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
++      /* dlclose (self); */
++    }
++
++    exit (status);
++}
++EOF
++  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
++    (./conftest; exit; ) 2>/dev/null
++    lt_status=$?
++    case x$lt_status in
++      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
++      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
++      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
++    esac
++  else :
++    # compilation failed
++    lt_cv_dlopen_self=no
++  fi
++fi
++rm -fr conftest*
++
++    
++fi
++echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
++echo "${ECHO_T}$lt_cv_dlopen_self" >&6
++
++    if test "x$lt_cv_dlopen_self" = xyes; then
++      LDFLAGS="$LDFLAGS $link_static_flag"
++      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
++echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
++if test "${lt_cv_dlopen_self_static+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  	  if test "$cross_compiling" = yes; then :
++  lt_cv_dlopen_self_static=cross
++else
++  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
++  lt_status=$lt_dlunknown
++  cat > conftest.$ac_ext <<EOF
++#line __oline__ "configure"
++#include "confdefs.h"
++
++#if HAVE_DLFCN_H
++#include <dlfcn.h>
++#endif
++
++#include <stdio.h>
++
++#ifdef RTLD_GLOBAL
++#  define LT_DLGLOBAL		RTLD_GLOBAL
++#else
++#  ifdef DL_GLOBAL
++#    define LT_DLGLOBAL		DL_GLOBAL
++#  else
++#    define LT_DLGLOBAL		0
++#  endif
++#endif
++
++/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
++   find out it does not work in some platform. */
++#ifndef LT_DLLAZY_OR_NOW
++#  ifdef RTLD_LAZY
++#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
++#  else
++#    ifdef DL_LAZY
++#      define LT_DLLAZY_OR_NOW		DL_LAZY
++#    else
++#      ifdef RTLD_NOW
++#        define LT_DLLAZY_OR_NOW	RTLD_NOW
++#      else
++#        ifdef DL_NOW
++#          define LT_DLLAZY_OR_NOW	DL_NOW
++#        else
++#          define LT_DLLAZY_OR_NOW	0
++#        endif
++#      endif
++#    endif
++#  endif
++#endif
++
++#ifdef __cplusplus
++extern "C" void exit (int);
++#endif
++
++void fnord() { int i=42;}
++int main ()
++{
++  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
++  int status = $lt_dlunknown;
++
++  if (self)
++    {
++      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
++      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
++      /* dlclose (self); */
++    }
++
++    exit (status);
++}
++EOF
++  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
++    (./conftest; exit; ) 2>/dev/null
++    lt_status=$?
++    case x$lt_status in
++      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
++      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
++      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
++    esac
++  else :
++    # compilation failed
++    lt_cv_dlopen_self_static=no
++  fi
++fi
++rm -fr conftest*
++
++      
++fi
++echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
++echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
++    fi
++
++    CPPFLAGS="$save_CPPFLAGS"
++    LDFLAGS="$save_LDFLAGS"
++    LIBS="$save_LIBS"
++    ;;
++  esac
++
++  case $lt_cv_dlopen_self in
++  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
++  *) enable_dlopen_self=unknown ;;
++  esac
++
++  case $lt_cv_dlopen_self_static in
++  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
++  *) enable_dlopen_self_static=unknown ;;
++  esac
++fi
++
++
++# Report which librarie types wil actually be built
++echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
++echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
++echo "$as_me:$LINENO: result: $can_build_shared" >&5
++echo "${ECHO_T}$can_build_shared" >&6
++
++echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
++echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
++test "$can_build_shared" = "no" && enable_shared=no
++
++# On AIX, shared libraries and static libraries use the same namespace, and
++# are all built from PIC.
++case "$host_os" in
++aix3*)
++  test "$enable_shared" = yes && enable_static=no
++  if test -n "$RANLIB"; then
++    archive_cmds="$archive_cmds~\$RANLIB \$lib"
++    postinstall_cmds='$RANLIB $lib'
++  fi
++  ;;
++
++aix4*)
++  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
++    test "$enable_shared" = yes && enable_static=no
++  fi
++  ;;
++  darwin* | rhapsody*)
++  if test "$GCC" = yes; then
++    archive_cmds_need_lc=no
++    case "$host_os" in
++    rhapsody* | darwin1.[012])
++      allow_undefined_flag='-undefined suppress'
++      ;;
++    *) # Darwin 1.3 on
++      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
++      	allow_undefined_flag='-flat_namespace -undefined suppress'
++      else
++        case ${MACOSX_DEPLOYMENT_TARGET} in
++          10.[012])
++            allow_undefined_flag='-flat_namespace -undefined suppress'
++            ;;
++          10.*)
++            allow_undefined_flag='-undefined dynamic_lookup'
++            ;;
++        esac
++      fi
++      ;;
++    esac
++    output_verbose_link_cmd='echo'
++    archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
++    module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
++    # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
++    archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag  -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++    module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++    hardcode_direct=no
++    hardcode_automatic=yes
++    hardcode_shlibpath_var=unsupported
++    whole_archive_flag_spec='-all_load $convenience'
++    link_all_deplibs=yes
++  else
++    ld_shlibs=no
++  fi
++    ;;
++esac
++echo "$as_me:$LINENO: result: $enable_shared" >&5
++echo "${ECHO_T}$enable_shared" >&6
++
++echo "$as_me:$LINENO: checking whether to build static libraries" >&5
++echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
++# Make sure either enable_shared or enable_static is yes.
++test "$enable_shared" = yes || enable_static=yes
++echo "$as_me:$LINENO: result: $enable_static" >&5
++echo "${ECHO_T}$enable_static" >&6
++
++# The else clause should only fire when bootstrapping the
++# libtool distribution, otherwise you forgot to ship ltmain.sh
++# with your package, and you will get complaints that there are
++# no rules to generate ltmain.sh.
++if test -f "$ltmain"; then
++  # See if we are running on zsh, and set the options which allow our commands through
++  # without removal of \ escapes.
++  if test -n "${ZSH_VERSION+set}" ; then
++    setopt NO_GLOB_SUBST
++  fi
++  # Now quote all the things that may contain metacharacters while being
++  # careful not to overquote the AC_SUBSTed values.  We take copies of the
++  # variables and quote the copies for generation of the libtool script.
++  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
++    SED SHELL STRIP \
++    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
++    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
++    deplibs_check_method reload_flag reload_cmds need_locks \
++    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
++    lt_cv_sys_global_symbol_to_c_name_address \
++    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
++    old_postinstall_cmds old_postuninstall_cmds \
++    compiler \
++    CC \
++    LD \
++    lt_prog_compiler_wl \
++    lt_prog_compiler_pic \
++    lt_prog_compiler_static \
++    lt_prog_compiler_no_builtin_flag \
++    export_dynamic_flag_spec \
++    thread_safe_flag_spec \
++    whole_archive_flag_spec \
++    enable_shared_with_static_runtimes \
++    old_archive_cmds \
++    old_archive_from_new_cmds \
++    predep_objects \
++    postdep_objects \
++    predeps \
++    postdeps \
++    compiler_lib_search_path \
++    archive_cmds \
++    archive_expsym_cmds \
++    postinstall_cmds \
++    postuninstall_cmds \
++    old_archive_from_expsyms_cmds \
++    allow_undefined_flag \
++    no_undefined_flag \
++    export_symbols_cmds \
++    hardcode_libdir_flag_spec \
++    hardcode_libdir_flag_spec_ld \
++    hardcode_libdir_separator \
++    hardcode_automatic \
++    module_cmds \
++    module_expsym_cmds \
++    lt_cv_prog_compiler_c_o \
++    exclude_expsyms \
++    include_expsyms; do
++
++    case $var in
++    old_archive_cmds | \
++    old_archive_from_new_cmds | \
++    archive_cmds | \
++    archive_expsym_cmds | \
++    module_cmds | \
++    module_expsym_cmds | \
++    old_archive_from_expsyms_cmds | \
++    export_symbols_cmds | \
++    extract_expsyms_cmds | reload_cmds | finish_cmds | \
++    postinstall_cmds | postuninstall_cmds | \
++    old_postinstall_cmds | old_postuninstall_cmds | \
++    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
++      # Double-quote double-evaled strings.
++      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
++      ;;
++    *)
++      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
++      ;;
++    esac
++  done
++
++  case $lt_echo in
++  *'\$0 --fallback-echo"')
++    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
++    ;;
++  esac
++
++cfgfile="${ofile}T"
++  trap "$rm \"$cfgfile\"; exit 1" 1 2 15
++  $rm -f "$cfgfile"
++  { echo "$as_me:$LINENO: creating $ofile" >&5
++echo "$as_me: creating $ofile" >&6;}
++
++  cat <<__EOF__ >> "$cfgfile"
++#! $SHELL
++
++# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
++# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
++# NOTE: Changes made to this file will be lost: look at ltmain.sh.
++#
++# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
++# Free Software Foundation, Inc.
++#
++# This file is part of GNU Libtool:
++# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
++#
++# 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
++#
++# As a special exception to the GNU General Public License, if you
++# distribute this file as part of a program that contains a
++# configuration script generated by Autoconf, you may include it under
++# the same distribution terms that you use for the rest of that program.
++
++# A sed program that does not truncate output.
++SED=$lt_SED
++
++# Sed that helps us avoid accidentally triggering echo(1) options like -n.
++Xsed="$SED -e s/^X//"
++
++# The HP-UX ksh and POSIX shell print the target directory to stdout
++# if CDPATH is set.
++if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
++
++# The names of the tagged configurations supported by this script.
++available_tags=
++
++# ### BEGIN LIBTOOL CONFIG
++
++# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
++
++# Shell to use when invoking shell scripts.
++SHELL=$lt_SHELL
++
++# Whether or not to build shared libraries.
++build_libtool_libs=$enable_shared
++
++# Whether or not to build static libraries.
++build_old_libs=$enable_static
++
++# Whether or not to add -lc for building shared libraries.
++build_libtool_need_lc=$archive_cmds_need_lc
++
++# Whether or not to disallow shared libs when runtime libs are static
++allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
++
++# Whether or not to optimize for fast installation.
++fast_install=$enable_fast_install
++
++# The host system.
++host_alias=$host_alias
++host=$host
++
++# An echo program that does not interpret backslashes.
++echo=$lt_echo
++
++# The archiver.
++AR=$lt_AR
++AR_FLAGS=$lt_AR_FLAGS
++
++# A C compiler.
++LTCC=$lt_LTCC
++
++# A language-specific compiler.
++CC=$lt_compiler
++
++# Is the compiler the GNU C compiler?
++with_gcc=$GCC
++
++# An ERE matcher.
++EGREP=$lt_EGREP
++
++# The linker used to build libraries.
++LD=$lt_LD
++
++# Whether we need hard or soft links.
++LN_S=$lt_LN_S
++
++# A BSD-compatible nm program.
++NM=$lt_NM
++
++# A symbol stripping program
++STRIP=$lt_STRIP
++
++# Used to examine libraries when file_magic_cmd begins "file"
++MAGIC_CMD=$MAGIC_CMD
++
++# Used on cygwin: DLL creation program.
++DLLTOOL="$DLLTOOL"
++
++# Used on cygwin: object dumper.
++OBJDUMP="$OBJDUMP"
++
++# Used on cygwin: assembler.
++AS="$AS"
++
++# The name of the directory that contains temporary libtool files.
++objdir=$objdir
++
++# How to create reloadable object files.
++reload_flag=$lt_reload_flag
++reload_cmds=$lt_reload_cmds
++
++# How to pass a linker flag through the compiler.
++wl=$lt_lt_prog_compiler_wl
++
++# Object file suffix (normally "o").
++objext="$ac_objext"
++
++# Old archive suffix (normally "a").
++libext="$libext"
++
++# Shared library suffix (normally ".so").
++shrext='$shrext'
++
++# Executable file suffix (normally "").
++exeext="$exeext"
++
++# Additional compiler flags for building library objects.
++pic_flag=$lt_lt_prog_compiler_pic
++pic_mode=$pic_mode
++
++# What is the maximum length of a command?
++max_cmd_len=$lt_cv_sys_max_cmd_len
++
++# Does compiler simultaneously support -c and -o options?
++compiler_c_o=$lt_lt_cv_prog_compiler_c_o
++
++# Must we lock files when doing compilation ?
++need_locks=$lt_need_locks
++
++# Do we need the lib prefix for modules?
++need_lib_prefix=$need_lib_prefix
++
++# Do we need a version for libraries?
++need_version=$need_version
++
++# Whether dlopen is supported.
++dlopen_support=$enable_dlopen
++
++# Whether dlopen of programs is supported.
++dlopen_self=$enable_dlopen_self
++
++# Whether dlopen of statically linked programs is supported.
++dlopen_self_static=$enable_dlopen_self_static
++
++# Compiler flag to prevent dynamic linking.
++link_static_flag=$lt_lt_prog_compiler_static
++
++# Compiler flag to turn off builtin functions.
++no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
++
++# Compiler flag to allow reflexive dlopens.
++export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
++
++# Compiler flag to generate shared objects directly from archives.
++whole_archive_flag_spec=$lt_whole_archive_flag_spec
++
++# Compiler flag to generate thread-safe objects.
++thread_safe_flag_spec=$lt_thread_safe_flag_spec
++
++# Library versioning type.
++version_type=$version_type
++
++# Format of library name prefix.
++libname_spec=$lt_libname_spec
++
++# List of archive names.  First name is the real one, the rest are links.
++# The last name is the one that the linker finds with -lNAME.
++library_names_spec=$lt_library_names_spec
++
++# The coded name of the library, if different from the real name.
++soname_spec=$lt_soname_spec
++
++# Commands used to build and install an old-style archive.
++RANLIB=$lt_RANLIB
++old_archive_cmds=$lt_old_archive_cmds
++old_postinstall_cmds=$lt_old_postinstall_cmds
++old_postuninstall_cmds=$lt_old_postuninstall_cmds
++
++# Create an old-style archive from a shared archive.
++old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
++
++# Create a temporary old-style archive to link instead of a shared archive.
++old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
++
++# Commands used to build and install a shared archive.
++archive_cmds=$lt_archive_cmds
++archive_expsym_cmds=$lt_archive_expsym_cmds
++postinstall_cmds=$lt_postinstall_cmds
++postuninstall_cmds=$lt_postuninstall_cmds
++
++# Commands used to build a loadable module (assumed same as above if empty)
++module_cmds=$lt_module_cmds
++module_expsym_cmds=$lt_module_expsym_cmds
++
++# Commands to strip libraries.
++old_striplib=$lt_old_striplib
++striplib=$lt_striplib
++
++# Dependencies to place before the objects being linked to create a
++# shared library.
++predep_objects=$lt_predep_objects
++
++# Dependencies to place after the objects being linked to create a
++# shared library.
++postdep_objects=$lt_postdep_objects
++
++# Dependencies to place before the objects being linked to create a
++# shared library.
++predeps=$lt_predeps
++
++# Dependencies to place after the objects being linked to create a
++# shared library.
++postdeps=$lt_postdeps
++
++# The library search path used internally by the compiler when linking
++# a shared library.
++compiler_lib_search_path=$lt_compiler_lib_search_path
++
++# Method to check whether dependent libraries are shared objects.
++deplibs_check_method=$lt_deplibs_check_method
++
++# Command to use when deplibs_check_method == file_magic.
++file_magic_cmd=$lt_file_magic_cmd
++
++# Flag that allows shared libraries with undefined symbols to be built.
++allow_undefined_flag=$lt_allow_undefined_flag
++
++# Flag that forces no undefined symbols.
++no_undefined_flag=$lt_no_undefined_flag
++
++# Commands used to finish a libtool library installation in a directory.
++finish_cmds=$lt_finish_cmds
++
++# Same as above, but a single script fragment to be evaled but not shown.
++finish_eval=$lt_finish_eval
++
++# Take the output of nm and produce a listing of raw symbols and C names.
++global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
++
++# Transform the output of nm in a proper C declaration
++global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
++
++# Transform the output of nm in a C name address pair
++global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
++
++# This is the shared library runtime path variable.
++runpath_var=$runpath_var
++
++# This is the shared library path variable.
++shlibpath_var=$shlibpath_var
++
++# Is shlibpath searched before the hard-coded library search path?
++shlibpath_overrides_runpath=$shlibpath_overrides_runpath
++
++# How to hardcode a shared library path into an executable.
++hardcode_action=$hardcode_action
++
++# Whether we should hardcode library paths into libraries.
++hardcode_into_libs=$hardcode_into_libs
++
++# Flag to hardcode \$libdir into a binary during linking.
++# This must work even if \$libdir does not exist.
++hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
++
++# If ld is used when linking, flag to hardcode \$libdir into
++# a binary during linking. This must work even if \$libdir does
++# not exist.
++hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
++
++# Whether we need a single -rpath flag with a separated argument.
++hardcode_libdir_separator=$lt_hardcode_libdir_separator
++
++# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
++# resulting binary.
++hardcode_direct=$hardcode_direct
++
++# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
++# resulting binary.
++hardcode_minus_L=$hardcode_minus_L
++
++# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
++# the resulting binary.
++hardcode_shlibpath_var=$hardcode_shlibpath_var
++
++# Set to yes if building a shared library automatically hardcodes DIR into the library
++# and all subsequent libraries and executables linked against it.
++hardcode_automatic=$hardcode_automatic
++
++# Variables whose values should be saved in libtool wrapper scripts and
++# restored at relink time.
++variables_saved_for_relink="$variables_saved_for_relink"
++
++# Whether libtool must link a program against all its dependency libraries.
++link_all_deplibs=$link_all_deplibs
++
++# Compile-time system search path for libraries
++sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
++
++# Run-time system search path for libraries
++sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
++
++# Fix the shell variable \$srcfile for the compiler.
++fix_srcfile_path="$fix_srcfile_path"
++
++# Set to yes if exported symbols are required.
++always_export_symbols=$always_export_symbols
++
++# The commands to list exported symbols.
++export_symbols_cmds=$lt_export_symbols_cmds
++
++# The commands to extract the exported symbol list from a shared archive.
++extract_expsyms_cmds=$lt_extract_expsyms_cmds
++
++# Symbols that should not be listed in the preloaded symbols.
++exclude_expsyms=$lt_exclude_expsyms
++
++# Symbols that must always be exported.
++include_expsyms=$lt_include_expsyms
++
++# ### END LIBTOOL CONFIG
++
++__EOF__
++
++
++  case $host_os in
++  aix3*)
++    cat <<\EOF >> "$cfgfile"
++
++# AIX sometimes has problems with the GCC collect2 program.  For some
++# reason, if we set the COLLECT_NAMES environment variable, the problems
++# vanish in a puff of smoke.
++if test "X${COLLECT_NAMES+set}" != Xset; then
++  COLLECT_NAMES=
++  export COLLECT_NAMES
++fi
++EOF
++    ;;
++  esac
++
++  # We use sed instead of cat because bash on DJGPP gets confused if
++  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
++  # text mode, it properly converts lines to CR/LF.  This bash problem
++  # is reportedly fixed, but why not run on old versions too?
++  sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
++
++  mv -f "$cfgfile" "$ofile" || \
++    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
++  chmod +x "$ofile"
++
++else
++  # If there is no Makefile yet, we rely on a make rule to execute
++  # `config.status --recheck' to rerun these tests and create the
++  # libtool script then.
++  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
++  if test -f "$ltmain_in"; then
++    test -f Makefile && make "$ltmain"
++  fi
++fi
++
++
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++CC="$lt_save_CC"
++
++
++# Check whether --with-tags or --without-tags was given.
++if test "${with_tags+set}" = set; then
++  withval="$with_tags"
++  tagnames="$withval"
++fi; 
++
++if test -f "$ltmain" && test -n "$tagnames"; then
++  if test ! -f "${ofile}"; then
++    { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
++echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
++  fi
++
++  if test -z "$LTCC"; then
++    eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
++    if test -z "$LTCC"; then
++      { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
++echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
++    else
++      { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
++echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
++    fi
++  fi
++
++  # Extract list of available tagged configurations in $ofile.
++  # Note that this assumes the entire list is on one line.
++  available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
++
++  lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
++  for tagname in $tagnames; do
++    IFS="$lt_save_ifs"
++    # Check whether tagname contains only valid characters
++    case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
++    "") ;;
++    *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
++echo "$as_me: error: invalid tag name: $tagname" >&2;}
++   { (exit 1); exit 1; }; }
++	;;
++    esac
++
++    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
++    then
++      { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
++echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
++   { (exit 1); exit 1; }; }
++    fi
++
++    # Update the list of available tags.
++    if test -n "$tagname"; then
++      echo appending configuration tag \"$tagname\" to $ofile
++
++      case $tagname in
++      CXX)
++	if test -n "$CXX" && test "X$CXX" != "Xno"; then
++	  ac_ext=cc
++ac_cpp='$CXXCPP $CPPFLAGS'
++ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
++
++
++
++
++archive_cmds_need_lc_CXX=no
++allow_undefined_flag_CXX=
++always_export_symbols_CXX=no
++archive_expsym_cmds_CXX=
++export_dynamic_flag_spec_CXX=
++hardcode_direct_CXX=no
++hardcode_libdir_flag_spec_CXX=
++hardcode_libdir_flag_spec_ld_CXX=
++hardcode_libdir_separator_CXX=
++hardcode_minus_L_CXX=no
++hardcode_automatic_CXX=no
++module_cmds_CXX=
++module_expsym_cmds_CXX=
++link_all_deplibs_CXX=unknown
++old_archive_cmds_CXX=$old_archive_cmds
++no_undefined_flag_CXX=
++whole_archive_flag_spec_CXX=
++enable_shared_with_static_runtimes_CXX=no
++
++# Dependencies to place before and after the object being linked:
++predep_objects_CXX=
++postdep_objects_CXX=
++predeps_CXX=
++postdeps_CXX=
++compiler_lib_search_path_CXX=
++
++# Source file extension for C++ test sources.
++ac_ext=cc
++
++# Object file extension for compiled C++ test sources.
++objext=o
++objext_CXX=$objext
++
++# Code to be used in simple compile tests
++lt_simple_compile_test_code="int some_variable = 0;\n"
++
++# Code to be used in simple link tests
++lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
++
++# ltmain only uses $CC for tagged configurations so make sure $CC is set.
++
++# If no C compiler was specified, use CC.
++LTCC=${LTCC-"$CC"}
++
++# Allow CC to be a program name with arguments.
++compiler=$CC
++
++
++# Allow CC to be a program name with arguments.
++lt_save_CC=$CC
++lt_save_LD=$LD
++lt_save_GCC=$GCC
++GCC=$GXX
++lt_save_with_gnu_ld=$with_gnu_ld
++lt_save_path_LD=$lt_cv_path_LD
++if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
++  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
++else
++  unset lt_cv_prog_gnu_ld
++fi
++if test -n "${lt_cv_path_LDCXX+set}"; then
++  lt_cv_path_LD=$lt_cv_path_LDCXX
++else
++  unset lt_cv_path_LD
++fi
++test -z "${LDCXX+set}" || LD=$LDCXX
++CC=${CXX-"c++"}
++compiler=$CC
++compiler_CXX=$CC
++cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
++
++# We don't want -fno-exception wen compiling C++ code, so set the
++# no_builtin_flag separately
++if test "$GXX" = yes; then
++  lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
++else
++  lt_prog_compiler_no_builtin_flag_CXX=
++fi
++
++if test "$GXX" = yes; then
++  # Set up default GNU C++ configuration
++
++  
++# Check whether --with-gnu-ld or --without-gnu-ld was given.
++if test "${with_gnu_ld+set}" = set; then
++  withval="$with_gnu_ld"
++  test "$withval" = no || with_gnu_ld=yes
++else
++  with_gnu_ld=no
++fi; 
++ac_prog=ld
++if test "$GCC" = yes; then
++  # Check if gcc -print-prog-name=ld gives a path.
++  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
++echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
++  case $host in
++  *-*-mingw*)
++    # gcc leaves a trailing carriage return which upsets mingw
++    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
++  *)
++    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
++  esac
++  case $ac_prog in
++    # Accept absolute paths.
++    [\\/]* | ?:[\\/]*)
++      re_direlt='/[^/][^/]*/\.\./'
++      # Canonicalize the pathname of ld
++      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
++      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
++	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
++      done
++      test -z "$LD" && LD="$ac_prog"
++      ;;
++  "")
++    # If it fails, then pretend we aren't using GCC.
++    ac_prog=ld
++    ;;
++  *)
++    # If it is relative, then search for the first ld in PATH.
++    with_gnu_ld=unknown
++    ;;
++  esac
++elif test "$with_gnu_ld" = yes; then
++  echo "$as_me:$LINENO: checking for GNU ld" >&5
++echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
++else
++  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
++echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
++fi
++if test "${lt_cv_path_LD+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -z "$LD"; then
++  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
++  for ac_dir in $PATH; do
++    IFS="$lt_save_ifs"
++    test -z "$ac_dir" && ac_dir=.
++    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
++      lt_cv_path_LD="$ac_dir/$ac_prog"
++      # Check to see if the program is GNU ld.  I'd rather use --version,
++      # but apparently some GNU ld's only accept -v.
++      # Break only if it was the GNU/non-GNU ld that we prefer.
++      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
++      *GNU* | *'with BFD'*)
++	test "$with_gnu_ld" != no && break
++	;;
++      *)
++	test "$with_gnu_ld" != yes && break
++	;;
++      esac
++    fi
++  done
++  IFS="$lt_save_ifs"
++else
++  lt_cv_path_LD="$LD" # Let the user override the test with a path.
++fi
++fi
++
++LD="$lt_cv_path_LD"
++if test -n "$LD"; then
++  echo "$as_me:$LINENO: result: $LD" >&5
++echo "${ECHO_T}$LD" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
++echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
++   { (exit 1); exit 1; }; }
++echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
++echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
++if test "${lt_cv_prog_gnu_ld+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
++case `$LD -v 2>&1 </dev/null` in
++*GNU* | *'with BFD'*)
++  lt_cv_prog_gnu_ld=yes
++  ;;
++*)
++  lt_cv_prog_gnu_ld=no
++  ;;
++esac
++fi
++echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
++echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
++with_gnu_ld=$lt_cv_prog_gnu_ld
++
++
++
++  # Check if GNU C++ uses GNU ld as the underlying linker, since the
++  # archiving commands below assume that GNU ld is being used.
++  if test "$with_gnu_ld" = yes; then
++    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
++    archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++
++    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
++    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
++
++    # If archive_cmds runs LD, not CC, wlarc should be empty
++    # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
++    #     investigate it a little bit more. (MM)
++    wlarc='${wl}'
++
++    # ancient GNU ld didn't support --whole-archive et. al.
++    if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
++	grep 'no-whole-archive' > /dev/null; then
++      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
++    else
++      whole_archive_flag_spec_CXX=
++    fi
++  else
++    with_gnu_ld=no
++    wlarc=
++
++    # A generic and very simple default shared library creation
++    # command for GNU C++ for the case where it uses the native
++    # linker, instead of GNU ld.  If possible, this setting should
++    # overridden to take advantage of the native linker features on
++    # the platform it is being used on.
++    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
++  fi
++
++  # Commands to make compiler produce verbose output that lists
++  # what "hidden" libraries, object files and flags are used when
++  # linking a shared library.
++  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
++
++else
++  GXX=no
++  with_gnu_ld=no
++  wlarc=
++fi
++
++# PORTME: fill in a description of your system's C++ link characteristics
++echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
++echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
++ld_shlibs_CXX=yes
++case $host_os in
++  aix3*)
++    # FIXME: insert proper C++ library support
++    ld_shlibs_CXX=no
++    ;;
++  aix4* | aix5*)
++    if test "$host_cpu" = ia64; then
++      # On IA64, the linker does run time linking by default, so we don't
++      # have to do anything special.
++      aix_use_runtimelinking=no
++      exp_sym_flag='-Bexport'
++      no_entry_flag=""
++    else
++      aix_use_runtimelinking=no
++
++      # Test if we are trying to use run time linking or normal
++      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
++      # need to do runtime linking.
++      case $host_os in aix4.[23]|aix4.[23].*|aix5*)
++	for ld_flag in $LDFLAGS; do
++	  case $ld_flag in
++	  *-brtl*)
++	    aix_use_runtimelinking=yes
++	    break
++	    ;;
++	  esac
++	done
++      esac
++
++      exp_sym_flag='-bexport'
++      no_entry_flag='-bnoentry'
++    fi
++
++    # When large executables or shared objects are built, AIX ld can
++    # have problems creating the table of contents.  If linking a library
++    # or program results in "error TOC overflow" add -mminimal-toc to
++    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
++    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
++
++    archive_cmds_CXX=''
++    hardcode_direct_CXX=yes
++    hardcode_libdir_separator_CXX=':'
++    link_all_deplibs_CXX=yes
++
++    if test "$GXX" = yes; then
++      case $host_os in aix4.012|aix4.012.*)
++      # We only want to do this on AIX 4.2 and lower, the check
++      # below for broken collect2 doesn't work under 4.3+
++	collect2name=`${CC} -print-prog-name=collect2`
++	if test -f "$collect2name" && \
++	   strings "$collect2name" | grep resolve_lib_name >/dev/null
++	then
++	  # We have reworked collect2
++	  hardcode_direct_CXX=yes
++	else
++	  # We have old collect2
++	  hardcode_direct_CXX=unsupported
++	  # It fails to find uninstalled libraries when the uninstalled
++	  # path is not listed in the libpath.  Setting hardcode_minus_L
++	  # to unsupported forces relinking
++	  hardcode_minus_L_CXX=yes
++	  hardcode_libdir_flag_spec_CXX='-L$libdir'
++	  hardcode_libdir_separator_CXX=
++	fi
++      esac
++      shared_flag='-shared'
++    else
++      # not using gcc
++      if test "$host_cpu" = ia64; then
++	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
++	# chokes on -Wl,-G. The following line is correct:
++	shared_flag='-G'
++      else
++	if test "$aix_use_runtimelinking" = yes; then
++	  shared_flag='${wl}-G'
++	else
++	  shared_flag='${wl}-bM:SRE'
++	fi
++      fi
++    fi
++
++    # It seems that -bexpall does not export symbols beginning with
++    # underscore (_), so it is better to generate a list of symbols to export.
++    always_export_symbols_CXX=yes
++    if test "$aix_use_runtimelinking" = yes; then
++      # Warning - without using the other runtime loading flags (-brtl),
++      # -berok will link without error, but may produce a broken library.
++      allow_undefined_flag_CXX='-berok'
++      # Determine the default libpath from the value encoded in an empty executable.
++      cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  
++aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
++}'`
++# Check for a 64-bit object if we didn't find anything.
++if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
++}'`; fi
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
++
++      hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
++
++      archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
++     else
++      if test "$host_cpu" = ia64; then
++	hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
++	allow_undefined_flag_CXX="-z nodefs"
++	archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
++      else
++	# Determine the default libpath from the value encoded in an empty executable.
++	cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  
++aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
++}'`
++# Check for a 64-bit object if we didn't find anything.
++if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
++}'`; fi
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
++
++	hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
++	# Warning - without using the other run time loading flags,
++	# -berok will link without error, but may produce a broken library.
++	no_undefined_flag_CXX=' ${wl}-bernotok'
++	allow_undefined_flag_CXX=' ${wl}-berok'
++	# -bexpall does not export symbols beginning with underscore (_)
++	always_export_symbols_CXX=yes
++	# Exported symbols can be pulled into shared objects from archives
++	whole_archive_flag_spec_CXX=' '
++	archive_cmds_need_lc_CXX=yes
++	# This is similar to how AIX traditionally builds it's shared libraries.
++	archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
++      fi
++    fi
++    ;;
++  chorus*)
++    case $cc_basename in
++      *)
++	# FIXME: insert proper C++ library support
++	ld_shlibs_CXX=no
++	;;
++    esac
++    ;;
++
++  cygwin* | mingw* | pw32*)
++    # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
++    # as there is no search path for DLLs.
++    hardcode_libdir_flag_spec_CXX='-L$libdir'
++    allow_undefined_flag_CXX=unsupported
++    always_export_symbols_CXX=no
++    enable_shared_with_static_runtimes_CXX=yes
++
++    if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
++      archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
++      # If the export-symbols file already is a .def file (1st line
++      # is EXPORTS), use it as is; otherwise, prepend...
++      archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
++	cp $export_symbols $output_objdir/$soname.def;
++      else
++	echo EXPORTS > $output_objdir/$soname.def;
++	cat $export_symbols >> $output_objdir/$soname.def;
++      fi~
++      $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
++    else
++      ld_shlibs_CXX=no
++    fi
++  ;;
++
++  darwin* | rhapsody*)
++  if test "$GXX" = yes; then
++    archive_cmds_need_lc_CXX=no
++    case "$host_os" in
++    rhapsody* | darwin1.[012])
++      allow_undefined_flag_CXX='-undefined suppress'
++      ;;
++    *) # Darwin 1.3 on
++      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
++      	allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
++      else
++        case ${MACOSX_DEPLOYMENT_TARGET} in
++          10.[012])
++            allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
++            ;;
++          10.*)
++            allow_undefined_flag_CXX='-undefined dynamic_lookup'
++            ;;
++        esac
++      fi
++      ;;
++    esac
++    lt_int_apple_cc_single_mod=no
++    output_verbose_link_cmd='echo'
++    if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
++      lt_int_apple_cc_single_mod=yes
++    fi
++    if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
++      archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
++    else
++      archive_cmds_CXX='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
++    fi
++    module_cmds_CXX='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
++
++    # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
++    if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
++      archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++    else
++      archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++    fi
++    module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++    hardcode_direct_CXX=no
++    hardcode_automatic_CXX=yes
++    hardcode_shlibpath_var_CXX=unsupported
++    whole_archive_flag_spec_CXX='-all_load $convenience'
++    link_all_deplibs_CXX=yes
++  else
++    ld_shlibs_CXX=no
++  fi
++    ;;
++
++  dgux*)
++    case $cc_basename in
++      ec++)
++	# FIXME: insert proper C++ library support
++	ld_shlibs_CXX=no
++	;;
++      ghcx)
++	# Green Hills C++ Compiler
++	# FIXME: insert proper C++ library support
++	ld_shlibs_CXX=no
++	;;
++      *)
++	# FIXME: insert proper C++ library support
++	ld_shlibs_CXX=no
++	;;
++    esac
++    ;;
++  freebsd12*)
++    # C++ shared libraries reported to be fairly broken before switch to ELF
++    ld_shlibs_CXX=no
++    ;;
++  freebsd-elf*)
++    archive_cmds_need_lc_CXX=no
++    ;;
++  freebsd* | kfreebsd*-gnu)
++    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
++    # conventions
++    ld_shlibs_CXX=yes
++    ;;
++  gnu*)
++    ;;
++  hpux9*)
++    hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
++    hardcode_libdir_separator_CXX=:
++    export_dynamic_flag_spec_CXX='${wl}-E'
++    hardcode_direct_CXX=yes
++    hardcode_minus_L_CXX=yes # Not in the search PATH,
++				# but as the default
++				# location of the library.
++
++    case $cc_basename in
++    CC)
++      # FIXME: insert proper C++ library support
++      ld_shlibs_CXX=no
++      ;;
++    aCC)
++      archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
++      # Commands to make compiler produce verbose output that lists
++      # what "hidden" libraries, object files and flags are used when
++      # linking a shared library.
++      #
++      # There doesn't appear to be a way to prevent this compiler from
++      # explicitly linking system object files so we need to strip them
++      # from the output so that they don't get included in the library
++      # dependencies.
++      output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | egrep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
++      ;;
++    *)
++      if test "$GXX" = yes; then
++        archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
++      else
++        # FIXME: insert proper C++ library support
++        ld_shlibs_CXX=no
++      fi
++      ;;
++    esac
++    ;;
++  hpux10*|hpux11*)
++    if test $with_gnu_ld = no; then
++      case "$host_cpu" in
++      hppa*64*)
++	hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
++	hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
++	hardcode_libdir_separator_CXX=:
++        ;;
++      ia64*)
++	hardcode_libdir_flag_spec_CXX='-L$libdir'
++        ;;
++      *)
++	hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
++	hardcode_libdir_separator_CXX=:
++	export_dynamic_flag_spec_CXX='${wl}-E'
++        ;;
++      esac
++    fi
++    case "$host_cpu" in
++    hppa*64*)
++      hardcode_direct_CXX=no
++      hardcode_shlibpath_var_CXX=no
++      ;;
++    ia64*)
++      hardcode_direct_CXX=no
++      hardcode_shlibpath_var_CXX=no
++      hardcode_minus_L_CXX=yes # Not in the search PATH,
++					      # but as the default
++					      # location of the library.
++      ;;
++    *)
++      hardcode_direct_CXX=yes
++      hardcode_minus_L_CXX=yes # Not in the search PATH,
++					      # but as the default
++					      # location of the library.
++      ;;
++    esac
++
++    case $cc_basename in
++      CC)
++	# FIXME: insert proper C++ library support
++	ld_shlibs_CXX=no
++	;;
++      aCC)
++	case "$host_cpu" in
++	hppa*64*|ia64*)
++	  archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
++	  ;;
++	*)
++	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
++	  ;;
++	esac
++	# Commands to make compiler produce verbose output that lists
++	# what "hidden" libraries, object files and flags are used when
++	# linking a shared library.
++	#
++	# There doesn't appear to be a way to prevent this compiler from
++	# explicitly linking system object files so we need to strip them
++	# from the output so that they don't get included in the library
++	# dependencies.
++	output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
++	;;
++      *)
++	if test "$GXX" = yes; then
++	  if test $with_gnu_ld = no; then
++	    case "$host_cpu" in
++	    ia64*|hppa*64*)
++	      archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
++	      ;;
++	    *)
++	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
++	      ;;
++	    esac
++	  fi
++	else
++	  # FIXME: insert proper C++ library support
++	  ld_shlibs_CXX=no
++	fi
++	;;
++    esac
++    ;;
++  irix5* | irix6*)
++    case $cc_basename in
++      CC)
++	# SGI C++
++	archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
++
++	# Archives containing C++ object files must be created using
++	# "CC -ar", where "CC" is the IRIX C++ compiler.  This is
++	# necessary to make sure instantiated templates are included
++	# in the archive.
++	old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
++	;;
++      *)
++	if test "$GXX" = yes; then
++	  if test "$with_gnu_ld" = no; then
++	    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
++	  else
++	    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
++	  fi
++	fi
++	link_all_deplibs_CXX=yes
++	;;
++    esac
++    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
++    hardcode_libdir_separator_CXX=:
++    ;;
++  linux*)
++    case $cc_basename in
++      KCC)
++	# Kuck and Associates, Inc. (KAI) C++ Compiler
++
++	# KCC will only create a shared library if the output file
++	# ends with ".so" (or ".sl" for HP-UX), so rename the library
++	# to its proper name (with version) after linking.
++	archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
++	archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
++	# Commands to make compiler produce verbose output that lists
++	# what "hidden" libraries, object files and flags are used when
++	# linking a shared library.
++	#
++	# There doesn't appear to be a way to prevent this compiler from
++	# explicitly linking system object files so we need to strip them
++	# from the output so that they don't get included in the library
++	# dependencies.
++	output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
++
++	hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
++	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
++
++	# Archives containing C++ object files must be created using
++	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
++	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
++	;;
++      icpc)
++	# Intel C++
++	with_gnu_ld=yes
++	archive_cmds_need_lc_CXX=no
++	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
++	archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
++	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
++	whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
++	;;
++      cxx)
++	# Compaq C++
++	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
++	archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
++
++	runpath_var=LD_RUN_PATH
++	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
++	hardcode_libdir_separator_CXX=:
++
++	# Commands to make compiler produce verbose output that lists
++	# what "hidden" libraries, object files and flags are used when
++	# linking a shared library.
++	#
++	# There doesn't appear to be a way to prevent this compiler from
++	# explicitly linking system object files so we need to strip them
++	# from the output so that they don't get included in the library
++	# dependencies.
++	output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
++	;;
++    esac
++    ;;
++  lynxos*)
++    # FIXME: insert proper C++ library support
++    ld_shlibs_CXX=no
++    ;;
++  m88k*)
++    # FIXME: insert proper C++ library support
++    ld_shlibs_CXX=no
++    ;;
++  mvs*)
++    case $cc_basename in
++      cxx)
++	# FIXME: insert proper C++ library support
++	ld_shlibs_CXX=no
++	;;
++      *)
++	# FIXME: insert proper C++ library support
++	ld_shlibs_CXX=no
++	;;
++    esac
++    ;;
++  netbsd* | knetbsd*-gnu)
++    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
++      wlarc=
++      hardcode_libdir_flag_spec_CXX='-R$libdir'
++      hardcode_direct_CXX=yes
++      hardcode_shlibpath_var_CXX=no
++    fi
++    # Workaround some broken pre-1.5 toolchains
++    output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
++    ;;
++  osf3*)
++    case $cc_basename in
++      KCC)
++	# Kuck and Associates, Inc. (KAI) C++ Compiler
++
++	# KCC will only create a shared library if the output file
++	# ends with ".so" (or ".sl" for HP-UX), so rename the library
++	# to its proper name (with version) after linking.
++	archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
++
++	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
++	hardcode_libdir_separator_CXX=:
++
++	# Archives containing C++ object files must be created using
++	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
++	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
++
++	;;
++      RCC)
++	# Rational C++ 2.4.1
++	# FIXME: insert proper C++ library support
++	ld_shlibs_CXX=no
++	;;
++      cxx)
++	allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
++	archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
++
++	hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
++	hardcode_libdir_separator_CXX=:
++
++	# Commands to make compiler produce verbose output that lists
++	# what "hidden" libraries, object files and flags are used when
++	# linking a shared library.
++	#
++	# There doesn't appear to be a way to prevent this compiler from
++	# explicitly linking system object files so we need to strip them
++	# from the output so that they don't get included in the library
++	# dependencies.
++	output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
++	;;
++      *)
++	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
++	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
++	  archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
++
++	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
++	  hardcode_libdir_separator_CXX=:
++
++	  # Commands to make compiler produce verbose output that lists
++	  # what "hidden" libraries, object files and flags are used when
++	  # linking a shared library.
++	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
++
++	else
++	  # FIXME: insert proper C++ library support
++	  ld_shlibs_CXX=no
++	fi
++	;;
++    esac
++    ;;
++  osf4* | osf5*)
++    case $cc_basename in
++      KCC)
++	# Kuck and Associates, Inc. (KAI) C++ Compiler
++
++	# KCC will only create a shared library if the output file
++	# ends with ".so" (or ".sl" for HP-UX), so rename the library
++	# to its proper name (with version) after linking.
++	archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
++
++	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
++	hardcode_libdir_separator_CXX=:
++
++	# Archives containing C++ object files must be created using
++	# the KAI C++ compiler.
++	old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
++	;;
++      RCC)
++	# Rational C++ 2.4.1
++	# FIXME: insert proper C++ library support
++	ld_shlibs_CXX=no
++	;;
++      cxx)
++	allow_undefined_flag_CXX=' -expect_unresolved \*'
++	archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
++	archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
++	  echo "-hidden">> $lib.exp~
++	  $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp  `test -n "$verstring" && echo -set_version	$verstring` -update_registry $objdir/so_locations -o $lib~
++	  $rm $lib.exp'
++
++	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
++	hardcode_libdir_separator_CXX=:
++
++	# Commands to make compiler produce verbose output that lists
++	# what "hidden" libraries, object files and flags are used when
++	# linking a shared library.
++	#
++	# There doesn't appear to be a way to prevent this compiler from
++	# explicitly linking system object files so we need to strip them
++	# from the output so that they don't get included in the library
++	# dependencies.
++	output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
++	;;
++      *)
++	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
++	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
++	 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
++
++	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
++	  hardcode_libdir_separator_CXX=:
++
++	  # Commands to make compiler produce verbose output that lists
++	  # what "hidden" libraries, object files and flags are used when
++	  # linking a shared library.
++	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
++
++	else
++	  # FIXME: insert proper C++ library support
++	  ld_shlibs_CXX=no
++	fi
++	;;
++    esac
++    ;;
++  psos*)
++    # FIXME: insert proper C++ library support
++    ld_shlibs_CXX=no
++    ;;
++  sco*)
++    archive_cmds_need_lc_CXX=no
++    case $cc_basename in
++      CC)
++	# FIXME: insert proper C++ library support
++	ld_shlibs_CXX=no
++	;;
++      *)
++	# FIXME: insert proper C++ library support
++	ld_shlibs_CXX=no
++	;;
++    esac
++    ;;
++  sunos4*)
++    case $cc_basename in
++      CC)
++	# Sun C++ 4.x
++	# FIXME: insert proper C++ library support
++	ld_shlibs_CXX=no
++	;;
++      lcc)
++	# Lucid
++	# FIXME: insert proper C++ library support
++	ld_shlibs_CXX=no
++	;;
++      *)
++	# FIXME: insert proper C++ library support
++	ld_shlibs_CXX=no
++	;;
++    esac
++    ;;
++  solaris*)
++    case $cc_basename in
++      CC)
++	# Sun C++ 4.2, 5.x and Centerline C++
++	no_undefined_flag_CXX=' -zdefs'
++	archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
++	archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++	$CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
++
++	hardcode_libdir_flag_spec_CXX='-R$libdir'
++	hardcode_shlibpath_var_CXX=no
++	case $host_os in
++	  solaris2.0-5 | solaris2.0-5.*) ;;
++	  *)
++	    # The C++ compiler is used as linker so we must use $wl
++	    # flag to pass the commands to the underlying system
++	    # linker.
++	    # Supported since Solaris 2.6 (maybe 2.5.1?)
++	    whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
++	    ;;
++	esac
++	link_all_deplibs_CXX=yes
++
++	# Commands to make compiler produce verbose output that lists
++	# what "hidden" libraries, object files and flags are used when
++	# linking a shared library.
++	#
++	# There doesn't appear to be a way to prevent this compiler from
++	# explicitly linking system object files so we need to strip them
++	# from the output so that they don't get included in the library
++	# dependencies.
++	output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[LR]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
++
++	# Archives containing C++ object files must be created using
++	# "CC -xar", where "CC" is the Sun C++ compiler.  This is
++	# necessary to make sure instantiated templates are included
++	# in the archive.
++	old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
++	;;
++      gcx)
++	# Green Hills C++ Compiler
++	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
++
++	# The C++ compiler must be used to create the archive.
++	old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
++	;;
++      *)
++	# GNU C++ compiler with Solaris linker
++	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
++	  no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
++	  if $CC --version | grep -v '^2\.7' > /dev/null; then
++	    archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
++	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++		$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
++
++	    # Commands to make compiler produce verbose output that lists
++	    # what "hidden" libraries, object files and flags are used when
++	    # linking a shared library.
++	    output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
++	  else
++	    # g++ 2.7 appears to require `-G' NOT `-shared' on this
++	    # platform.
++	    archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
++	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++		$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
++
++	    # Commands to make compiler produce verbose output that lists
++	    # what "hidden" libraries, object files and flags are used when
++	    # linking a shared library.
++	    output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
++	  fi
++
++	  hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
++	fi
++	;;
++    esac
++    ;;
++  sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
++    archive_cmds_need_lc_CXX=no
++    ;;
++  tandem*)
++    case $cc_basename in
++      NCC)
++	# NonStop-UX NCC 3.20
++	# FIXME: insert proper C++ library support
++	ld_shlibs_CXX=no
++	;;
++      *)
++	# FIXME: insert proper C++ library support
++	ld_shlibs_CXX=no
++	;;
++    esac
++    ;;
++  vxworks*)
++    # FIXME: insert proper C++ library support
++    ld_shlibs_CXX=no
++    ;;
++  *)
++    # FIXME: insert proper C++ library support
++    ld_shlibs_CXX=no
++    ;;
++esac
++echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
++echo "${ECHO_T}$ld_shlibs_CXX" >&6
++test "$ld_shlibs_CXX" = no && can_build_shared=no
++
++GCC_CXX="$GXX"
++LD_CXX="$LD"
++
++
++cat > conftest.$ac_ext <<EOF
++class Foo
++{
++public:
++  Foo (void) { a = 0; }
++private:
++  int a;
++};
++EOF
++
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; then
++  # Parse the compiler output and extract the necessary
++  # objects, libraries and library flags.
++
++  # Sentinel used to keep track of whether or not we are before
++  # the conftest object file.
++  pre_test_object_deps_done=no
++
++  # The `*' in the case matches for architectures that use `case' in
++  # $output_verbose_cmd can trigger glob expansion during the loop
++  # eval without this substitution.
++  output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
++
++  for p in `eval $output_verbose_link_cmd`; do
++    case $p in
++
++    -L* | -R* | -l*)
++       # Some compilers place space between "-{L,R}" and the path.
++       # Remove the space.
++       if test $p = "-L" \
++	  || test $p = "-R"; then
++	 prev=$p
++	 continue
++       else
++	 prev=
++       fi
++
++       if test "$pre_test_object_deps_done" = no; then
++	 case $p in
++	 -L* | -R*)
++	   # Internal compiler library paths should come after those
++	   # provided the user.  The postdeps already come after the
++	   # user supplied libs so there is no need to process them.
++	   if test -z "$compiler_lib_search_path_CXX"; then
++	     compiler_lib_search_path_CXX="${prev}${p}"
++	   else
++	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
++	   fi
++	   ;;
++	 # The "-l" case would never come before the object being
++	 # linked, so don't bother handling this case.
++	 esac
++       else
++	 if test -z "$postdeps_CXX"; then
++	   postdeps_CXX="${prev}${p}"
++	 else
++	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
++	 fi
++       fi
++       ;;
++
++    *.$objext)
++       # This assumes that the test object file only shows up
++       # once in the compiler output.
++       if test "$p" = "conftest.$objext"; then
++	 pre_test_object_deps_done=yes
++	 continue
++       fi
++
++       if test "$pre_test_object_deps_done" = no; then
++	 if test -z "$predep_objects_CXX"; then
++	   predep_objects_CXX="$p"
++	 else
++	   predep_objects_CXX="$predep_objects_CXX $p"
++	 fi
++       else
++	 if test -z "$postdep_objects_CXX"; then
++	   postdep_objects_CXX="$p"
++	 else
++	   postdep_objects_CXX="$postdep_objects_CXX $p"
++	 fi
++       fi
++       ;;
++
++    *) ;; # Ignore the rest.
++
++    esac
++  done
++
++  # Clean up.
++  rm -f a.out a.exe
++else
++  echo "libtool.m4: error: problem compiling CXX test program"
++fi
++
++$rm -f confest.$objext
++
++case " $postdeps_CXX " in
++*" -lc "*) archive_cmds_need_lc_CXX=no ;;
++esac
++
++lt_prog_compiler_wl_CXX=
++lt_prog_compiler_pic_CXX=
++lt_prog_compiler_static_CXX=
++
++echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
++echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
++ 
++  # C++ specific cases for pic, static, wl, etc.
++  if test "$GXX" = yes; then
++    lt_prog_compiler_wl_CXX='-Wl,'
++    lt_prog_compiler_static_CXX='-static'
++
++    case $host_os in
++    aix*)
++      # All AIX code is PIC.
++      if test "$host_cpu" = ia64; then
++	# AIX 5 now supports IA64 processor
++	lt_prog_compiler_static_CXX='-Bstatic'
++      fi
++      ;;
++    amigaos*)
++      # FIXME: we need at least 68020 code to build shared libraries, but
++      # adding the `-m68020' flag to GCC prevents building anything better,
++      # like `-m68040'.
++      lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
++      ;;
++    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
++      # PIC is the default for these OSes.
++      ;;
++    mingw* | os2* | pw32*)
++      # This hack is so that the source file can tell whether it is being
++      # built for inclusion in a dll (and should export symbols for example).
++      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
++      ;;
++    darwin* | rhapsody*)
++      # PIC is the default on this platform
++      # Common symbols not allowed in MH_DYLIB files
++      lt_prog_compiler_pic_CXX='-fno-common'
++      ;;
++    *djgpp*)
++      # DJGPP does not support shared libraries at all
++      lt_prog_compiler_pic_CXX=
++      ;;
++    sysv4*MP*)
++      if test -d /usr/nec; then
++	lt_prog_compiler_pic_CXX=-Kconform_pic
++      fi
++      ;;
++    hpux*)
++      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
++      # not for PA HP-UX.
++      case "$host_cpu" in
++      hppa*64*|ia64*)
++	;;
++      *)
++	lt_prog_compiler_pic_CXX='-fPIC'
++	;;
++      esac
++      ;;
++    *)
++      lt_prog_compiler_pic_CXX='-fPIC'
++      ;;
++    esac
++  else
++    case $host_os in
++      aix4* | aix5*)
++	# All AIX code is PIC.
++	if test "$host_cpu" = ia64; then
++	  # AIX 5 now supports IA64 processor
++	  lt_prog_compiler_static_CXX='-Bstatic'
++	else
++	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
++	fi
++	;;
++      chorus*)
++	case $cc_basename in
++	cxch68)
++	  # Green Hills C++ Compiler
++	  # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
++	  ;;
++	esac
++	;;
++      dgux*)
++	case $cc_basename in
++	  ec++)
++	    lt_prog_compiler_pic_CXX='-KPIC'
++	    ;;
++	  ghcx)
++	    # Green Hills C++ Compiler
++	    lt_prog_compiler_pic_CXX='-pic'
++	    ;;
++	  *)
++	    ;;
++	esac
++	;;
++      freebsd* | kfreebsd*-gnu)
++	# FreeBSD uses GNU C++
++	;;
++      hpux9* | hpux10* | hpux11*)
++	case $cc_basename in
++	  CC)
++	    lt_prog_compiler_wl_CXX='-Wl,'
++	    lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
++	    if test "$host_cpu" != ia64; then
++	      lt_prog_compiler_pic_CXX='+Z'
++	    fi
++	    ;;
++	  aCC)
++	    lt_prog_compiler_wl_CXX='-Wl,'
++	    lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
++	    case "$host_cpu" in
++	    hppa*64*|ia64*)
++	      # +Z the default
++	      ;;
++	    *)
++	      lt_prog_compiler_pic_CXX='+Z'
++	      ;;
++	    esac
++	    ;;
++	  *)
++	    ;;
++	esac
++	;;
++      irix5* | irix6* | nonstopux*)
++	case $cc_basename in
++	  CC)
++	    lt_prog_compiler_wl_CXX='-Wl,'
++	    lt_prog_compiler_static_CXX='-non_shared'
++	    # CC pic flag -KPIC is the default.
++	    ;;
++	  *)
++	    ;;
++	esac
++	;;
++      linux*)
++	case $cc_basename in
++	  KCC)
++	    # KAI C++ Compiler
++	    lt_prog_compiler_wl_CXX='--backend -Wl,'
++	    lt_prog_compiler_pic_CXX='-fPIC'
++	    ;;
++	  icpc)
++	    # Intel C++
++	    lt_prog_compiler_wl_CXX='-Wl,'
++	    lt_prog_compiler_pic_CXX='-KPIC'
++	    lt_prog_compiler_static_CXX='-static'
++	    ;;
++	  cxx)
++	    # Compaq C++
++	    # Make sure the PIC flag is empty.  It appears that all Alpha
++	    # Linux and Compaq Tru64 Unix objects are PIC.
++	    lt_prog_compiler_pic_CXX=
++	    lt_prog_compiler_static_CXX='-non_shared'
++	    ;;
++	  *)
++	    ;;
++	esac
++	;;
++      lynxos*)
++	;;
++      m88k*)
++	;;
++      mvs*)
++	case $cc_basename in
++	  cxx)
++	    lt_prog_compiler_pic_CXX='-W c,exportall'
++	    ;;
++	  *)
++	    ;;
++	esac
++	;;
++      netbsd* | knetbsd*-gnu)
++	;;
++      osf3* | osf4* | osf5*)
++	case $cc_basename in
++	  KCC)
++	    lt_prog_compiler_wl_CXX='--backend -Wl,'
++	    ;;
++	  RCC)
++	    # Rational C++ 2.4.1
++	    lt_prog_compiler_pic_CXX='-pic'
++	    ;;
++	  cxx)
++	    # Digital/Compaq C++
++	    lt_prog_compiler_wl_CXX='-Wl,'
++	    # Make sure the PIC flag is empty.  It appears that all Alpha
++	    # Linux and Compaq Tru64 Unix objects are PIC.
++	    lt_prog_compiler_pic_CXX=
++	    lt_prog_compiler_static_CXX='-non_shared'
++	    ;;
++	  *)
++	    ;;
++	esac
++	;;
++      psos*)
++	;;
++      sco*)
++	case $cc_basename in
++	  CC)
++	    lt_prog_compiler_pic_CXX='-fPIC'
++	    ;;
++	  *)
++	    ;;
++	esac
++	;;
++      solaris*)
++	case $cc_basename in
++	  CC)
++	    # Sun C++ 4.2, 5.x and Centerline C++
++	    lt_prog_compiler_pic_CXX='-KPIC'
++	    lt_prog_compiler_static_CXX='-Bstatic'
++	    lt_prog_compiler_wl_CXX='-Qoption ld '
++	    ;;
++	  gcx)
++	    # Green Hills C++ Compiler
++	    lt_prog_compiler_pic_CXX='-PIC'
++	    ;;
++	  *)
++	    ;;
++	esac
++	;;
++      sunos4*)
++	case $cc_basename in
++	  CC)
++	    # Sun C++ 4.x
++	    lt_prog_compiler_pic_CXX='-pic'
++	    lt_prog_compiler_static_CXX='-Bstatic'
++	    ;;
++	  lcc)
++	    # Lucid
++	    lt_prog_compiler_pic_CXX='-pic'
++	    ;;
++	  *)
++	    ;;
++	esac
++	;;
++      tandem*)
++	case $cc_basename in
++	  NCC)
++	    # NonStop-UX NCC 3.20
++	    lt_prog_compiler_pic_CXX='-KPIC'
++	    ;;
++	  *)
++	    ;;
++	esac
++	;;
++      unixware*)
++	;;
++      vxworks*)
++	;;
++      *)
++	lt_prog_compiler_can_build_shared_CXX=no
++	;;
++    esac
++  fi
++
++echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
++echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
++
++#
++# Check to make sure the PIC flag actually works.
++#
++if test -n "$lt_prog_compiler_pic_CXX"; then
++  
++echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
++echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
++if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  lt_prog_compiler_pic_works_CXX=no
++  ac_outfile=conftest.$ac_objext
++   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
++   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
++   # Insert the option either (1) after the last *FLAGS variable, or
++   # (2) before a word containing "conftest.", or (3) at the end.
++   # Note that $ac_compile itself does not contain backslashes and begins
++   # with a dollar sign (not a hyphen), so the echo should work correctly.
++   # The option is referenced via a variable to avoid confusing sed.
++   lt_compile=`echo "$ac_compile" | $SED \
++   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
++   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
++   -e 's:$: $lt_compiler_flag:'`
++   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
++   (eval "$lt_compile" 2>conftest.err)
++   ac_status=$?
++   cat conftest.err >&5
++   echo "$as_me:__oline__: \$? = $ac_status" >&5
++   if (exit $ac_status) && test -s "$ac_outfile"; then
++     # The compiler can only warn and ignore the option if not recognized
++     # So say no if there are warnings
++     if test ! -s conftest.err; then
++       lt_prog_compiler_pic_works_CXX=yes
++     fi
++   fi
++   $rm conftest*
++
++fi
++echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
++echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
++
++if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
++    case $lt_prog_compiler_pic_CXX in
++     "" | " "*) ;;
++     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
++     esac
++else
++    lt_prog_compiler_pic_CXX=
++     lt_prog_compiler_can_build_shared_CXX=no
++fi
++
++fi
++case "$host_os" in
++  # For platforms which do not support PIC, -DPIC is meaningless:
++  *djgpp*)
++    lt_prog_compiler_pic_CXX=
++    ;;
++  *)
++    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
++    ;;
++esac
++
++echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
++echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
++if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  lt_cv_prog_compiler_c_o_CXX=no
++   $rm -r conftest 2>/dev/null
++   mkdir conftest
++   cd conftest
++   mkdir out
++   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
++
++   lt_compiler_flag="-o out/conftest2.$ac_objext"
++   # Insert the option either (1) after the last *FLAGS variable, or
++   # (2) before a word containing "conftest.", or (3) at the end.
++   # Note that $ac_compile itself does not contain backslashes and begins
++   # with a dollar sign (not a hyphen), so the echo should work correctly.
++   lt_compile=`echo "$ac_compile" | $SED \
++   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
++   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
++   -e 's:$: $lt_compiler_flag:'`
++   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
++   (eval "$lt_compile" 2>out/conftest.err)
++   ac_status=$?
++   cat out/conftest.err >&5
++   echo "$as_me:__oline__: \$? = $ac_status" >&5
++   if (exit $ac_status) && test -s out/conftest2.$ac_objext
++   then
++     # The compiler can only warn and ignore the option if not recognized
++     # So say no if there are warnings
++     if test ! -s out/conftest.err; then
++       lt_cv_prog_compiler_c_o_CXX=yes
++     fi
++   fi
++   chmod u+w .
++   $rm conftest*
++   # SGI C++ compiler will create directory out/ii_files/ for
++   # template instantiation
++   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
++   $rm out/* && rmdir out
++   cd ..
++   rmdir conftest
++   $rm conftest*
++
++fi
++echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
++echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
++
++
++hard_links="nottested"
++if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
++  # do not overwrite the value of need_locks provided by the user
++  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
++echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
++  hard_links=yes
++  $rm conftest*
++  ln conftest.a conftest.b 2>/dev/null && hard_links=no
++  touch conftest.a
++  ln conftest.a conftest.b 2>&5 || hard_links=no
++  ln conftest.a conftest.b 2>/dev/null && hard_links=no
++  echo "$as_me:$LINENO: result: $hard_links" >&5
++echo "${ECHO_T}$hard_links" >&6
++  if test "$hard_links" = no; then
++    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
++echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
++    need_locks=warn
++  fi
++else
++  need_locks=no
++fi
++
++echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
++echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
++
++  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
++  case $host_os in
++  aix4* | aix5*)
++    # If we're using GNU nm, then we don't want the "-C" option.
++    # -C means demangle to AIX nm, but means don't demangle with GNU nm
++    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
++      export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
++    else
++      export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
++    fi
++    ;;
++  pw32*)
++    export_symbols_cmds_CXX="$ltdll_cmds"
++  ;;
++  cygwin* | mingw*)
++    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
++  ;;
++  *)
++    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
++  ;;
++  esac
++
++echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
++echo "${ECHO_T}$ld_shlibs_CXX" >&6
++test "$ld_shlibs_CXX" = no && can_build_shared=no
++
++variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
++if test "$GCC" = yes; then
++  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
++fi
++
++#
++# Do we need to explicitly link libc?
++#
++case "x$archive_cmds_need_lc_CXX" in
++x|xyes)
++  # Assume -lc should be added
++  archive_cmds_need_lc_CXX=yes
++
++  if test "$enable_shared" = yes && test "$GCC" = yes; then
++    case $archive_cmds_CXX in
++    *'~'*)
++      # FIXME: we may have to deal with multi-command sequences.
++      ;;
++    '$CC '*)
++      # Test whether the compiler implicitly links with -lc since on some
++      # systems, -lgcc has to come before -lc. If gcc already passes -lc
++      # to ld, don't add -lc before -lgcc.
++      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
++echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
++      $rm conftest*
++      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
++
++      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } 2>conftest.err; then
++        soname=conftest
++        lib=conftest
++        libobjs=conftest.$ac_objext
++        deplibs=
++        wl=$lt_prog_compiler_wl_CXX
++        compiler_flags=-v
++        linker_flags=-v
++        verstring=
++        output_objdir=.
++        libname=conftest
++        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
++        allow_undefined_flag_CXX=
++        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
++  (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }
++        then
++	  archive_cmds_need_lc_CXX=no
++        else
++	  archive_cmds_need_lc_CXX=yes
++        fi
++        allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
++      else
++        cat conftest.err 1>&5
++      fi
++      $rm conftest*
++      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
++echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
++      ;;
++    esac
++  fi
++  ;;
++esac
++
++echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
++echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
++library_names_spec=
++libname_spec='lib$name'
++soname_spec=
++shrext=".so"
++postinstall_cmds=
++postuninstall_cmds=
++finish_cmds=
++finish_eval=
++shlibpath_var=
++shlibpath_overrides_runpath=unknown
++version_type=none
++dynamic_linker="$host_os ld.so"
++sys_lib_dlsearch_path_spec="/lib /usr/lib"
++if test "$GCC" = yes; then
++  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
++  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
++    # if the path contains ";" then we assume it to be the separator
++    # otherwise default to the standard path separator (i.e. ":") - it is
++    # assumed that no part of a normal pathname contains ";" but that should
++    # okay in the real world where ";" in dirpaths is itself problematic.
++    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
++  else
++    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
++  fi
++else
++  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
++fi
++need_lib_prefix=unknown
++hardcode_into_libs=no
++
++# when you set need_version to no, make sure it does not cause -set_version
++# flags to be left without arguments
++need_version=unknown
++
++case $host_os in
++aix3*)
++  version_type=linux
++  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
++  shlibpath_var=LIBPATH
++
++  # AIX 3 has no versioning support, so we append a major version to the name.
++  soname_spec='${libname}${release}${shared_ext}$major'
++  ;;
++
++aix4* | aix5*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  hardcode_into_libs=yes
++  if test "$host_cpu" = ia64; then
++    # AIX 5 supports IA64
++    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
++    shlibpath_var=LD_LIBRARY_PATH
++  else
++    # With GCC up to 2.95.x, collect2 would create an import file
++    # for dependence libraries.  The import file would start with
++    # the line `#! .'.  This would cause the generated library to
++    # depend on `.', always an invalid library.  This was fixed in
++    # development snapshots of GCC prior to 3.0.
++    case $host_os in
++      aix4 | aix4.[01] | aix4.[01].*)
++      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
++	   echo ' yes '
++	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
++	:
++      else
++	can_build_shared=no
++      fi
++      ;;
++    esac
++    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
++    # soname into executable. Probably we can add versioning support to
++    # collect2, so additional links can be useful in future.
++    if test "$aix_use_runtimelinking" = yes; then
++      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
++      # instead of lib<name>.a to let people know that these are not
++      # typical AIX shared libraries.
++      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++    else
++      # We preserve .a as extension for shared libraries through AIX4.2
++      # and later when we are not doing run time linking.
++      library_names_spec='${libname}${release}.a $libname.a'
++      soname_spec='${libname}${release}${shared_ext}$major'
++    fi
++    shlibpath_var=LIBPATH
++  fi
++  ;;
++
++amigaos*)
++  library_names_spec='$libname.ixlibrary $libname.a'
++  # Create ${libname}_ixlibrary.a entries in /sys/libs.
++  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
++  ;;
++
++beos*)
++  library_names_spec='${libname}${shared_ext}'
++  dynamic_linker="$host_os ld.so"
++  shlibpath_var=LIBRARY_PATH
++  ;;
++
++bsdi4*)
++  version_type=linux
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
++  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
++  # the default ld.so.conf also contains /usr/contrib/lib and
++  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
++  # libtool to hard-code these into programs
++  ;;
++
++cygwin* | mingw* | pw32*)
++  version_type=windows
++  shrext=".dll"
++  need_version=no
++  need_lib_prefix=no
++
++  case $GCC,$host_os in
++  yes,cygwin* | yes,mingw* | yes,pw32*)
++    library_names_spec='$libname.dll.a'
++    # DLL is installed to $(libdir)/../bin by postinstall_cmds
++    postinstall_cmds='base_file=`basename \${file}`~
++      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
++      dldir=$destdir/`dirname \$dlpath`~
++      test -d \$dldir || mkdir -p \$dldir~
++      $install_prog $dir/$dlname \$dldir/$dlname'
++    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
++      dlpath=$dir/\$dldll~
++       $rm \$dlpath'
++    shlibpath_overrides_runpath=yes
++
++    case $host_os in
++    cygwin*)
++      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
++      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
++      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
++      ;;
++    mingw*)
++      # MinGW DLLs use traditional 'lib' prefix
++      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
++      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
++      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
++        # It is most probably a Windows format PATH printed by
++        # mingw gcc, but we are running on Cygwin. Gcc prints its search
++        # path with ; separators, and with drive letters. We can handle the
++        # drive letters (cygwin fileutils understands them), so leave them,
++        # especially as we might pass files found there to a mingw objdump,
++        # which wouldn't understand a cygwinified path. Ahh.
++        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
++      else
++        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
++      fi
++      ;;
++    pw32*)
++      # pw32 DLLs use 'pw' prefix rather than 'lib'
++      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
++      ;;
++    esac
++    ;;
++
++  *)
++    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
++    ;;
++  esac
++  dynamic_linker='Win32 ld.exe'
++  # FIXME: first we should search . and the directory the executable is in
++  shlibpath_var=PATH
++  ;;
++
++darwin* | rhapsody*)
++  dynamic_linker="$host_os dyld"
++  version_type=darwin
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
++  soname_spec='${libname}${release}${major}$shared_ext'
++  shlibpath_overrides_runpath=yes
++  shlibpath_var=DYLD_LIBRARY_PATH
++  shrext='$(test .$module = .yes && echo .so || echo .dylib)'
++  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
++  if test "$GCC" = yes; then
++    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
++  else
++    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
++  fi
++  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
++  ;;
++
++dgux*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++freebsd1*)
++  dynamic_linker=no
++  ;;
++
++kfreebsd*-gnu)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=no
++  hardcode_into_libs=yes
++  dynamic_linker='GNU ld.so'
++  ;;
++
++freebsd*)
++  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
++  version_type=freebsd-$objformat
++  case $version_type in
++    freebsd-elf*)
++      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
++      need_version=no
++      need_lib_prefix=no
++      ;;
++    freebsd-*)
++      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
++      need_version=yes
++      ;;
++  esac
++  shlibpath_var=LD_LIBRARY_PATH
++  case $host_os in
++  freebsd2*)
++    shlibpath_overrides_runpath=yes
++    ;;
++  freebsd3.01* | freebsdelf3.01*)
++    shlibpath_overrides_runpath=yes
++    hardcode_into_libs=yes
++    ;;
++  *) # from 3.2 on
++    shlibpath_overrides_runpath=no
++    hardcode_into_libs=yes
++    ;;
++  esac
++  ;;
++
++gnu*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  hardcode_into_libs=yes
++  ;;
++
++hpux9* | hpux10* | hpux11*)
++  # Give a soname corresponding to the major version so that dld.sl refuses to
++  # link against other versions.
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=no
++  case "$host_cpu" in
++  ia64*)
++    shrext='.so'
++    hardcode_into_libs=yes
++    dynamic_linker="$host_os dld.so"
++    shlibpath_var=LD_LIBRARY_PATH
++    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
++    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++    soname_spec='${libname}${release}${shared_ext}$major'
++    if test "X$HPUX_IA64_MODE" = X32; then
++      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
++    else
++      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
++    fi
++    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
++    ;;
++   hppa*64*)
++     shrext='.sl'
++     hardcode_into_libs=yes
++     dynamic_linker="$host_os dld.sl"
++     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
++     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
++     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++     soname_spec='${libname}${release}${shared_ext}$major'
++     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
++     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
++     ;;
++   *)
++    shrext='.sl'
++    dynamic_linker="$host_os dld.sl"
++    shlibpath_var=SHLIB_PATH
++    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
++    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++    soname_spec='${libname}${release}${shared_ext}$major'
++    ;;
++  esac
++  # HP-UX runs *really* slowly unless shared libraries are mode 555.
++  postinstall_cmds='chmod 555 $lib'
++  ;;
++
++irix5* | irix6* | nonstopux*)
++  case $host_os in
++    nonstopux*) version_type=nonstopux ;;
++    *)
++	if test "$lt_cv_prog_gnu_ld" = yes; then
++		version_type=linux
++	else
++		version_type=irix
++	fi ;;
++  esac
++  need_lib_prefix=no
++  need_version=no
++  soname_spec='${libname}${release}${shared_ext}$major'
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
++  case $host_os in
++  irix5* | nonstopux*)
++    libsuff= shlibsuff=
++    ;;
++  *)
++    case $LD in # libtool.m4 will add one of these switches to LD
++    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
++      libsuff= shlibsuff= libmagic=32-bit;;
++    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
++      libsuff=32 shlibsuff=N32 libmagic=N32;;
++    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
++      libsuff=64 shlibsuff=64 libmagic=64-bit;;
++    *) libsuff= shlibsuff= libmagic=never-match;;
++    esac
++    ;;
++  esac
++  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
++  shlibpath_overrides_runpath=no
++  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
++  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
++  hardcode_into_libs=yes
++  ;;
++
++# No shared lib support for Linux oldld, aout, or coff.
++linux*oldld* | linux*aout* | linux*coff*)
++  dynamic_linker=no
++  ;;
++
++# This must be Linux ELF.
++linux*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=no
++  # This implies no fast_install, which is unacceptable.
++  # Some rework will be needed to allow for fast_install
++  # before this can be enabled.
++  hardcode_into_libs=yes
++
++  # Append ld.so.conf contents to the search path
++  if test -f /etc/ld.so.conf; then
++    ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf`
++    sys_lib_dlsearch_path_spec="/lib /usr/lib $ld_extra"
++  fi
++
++  # We used to test for /lib/ld.so.1 and disable shared libraries on
++  # powerpc, because MkLinux only supported shared libraries with the
++  # GNU dynamic linker.  Since this was broken with cross compilers,
++  # most powerpc-linux boxes support dynamic linking these days and
++  # people can always --disable-shared, the test was removed, and we
++  # assume the GNU/Linux dynamic linker is in use.
++  dynamic_linker='GNU/Linux ld.so'
++  ;;
++
++knetbsd*-gnu)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=no
++  hardcode_into_libs=yes
++  dynamic_linker='GNU ld.so'
++  ;;
++
++netbsd*)
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=no
++  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
++    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
++    dynamic_linker='NetBSD (a.out) ld.so'
++  else
++    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
++    soname_spec='${libname}${release}${shared_ext}$major'
++    dynamic_linker='NetBSD ld.elf_so'
++  fi
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  hardcode_into_libs=yes
++  ;;
++
++newsos6)
++  version_type=linux
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  ;;
++
++nto-qnx*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  ;;
++
++openbsd*)
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=yes
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
++    case $host_os in
++      openbsd2.[89] | openbsd2.[89].*)
++	shlibpath_overrides_runpath=no
++	;;
++      *)
++	shlibpath_overrides_runpath=yes
++	;;
++      esac
++  else
++    shlibpath_overrides_runpath=yes
++  fi
++  ;;
++
++os2*)
++  libname_spec='$name'
++  shrext=".dll"
++  need_lib_prefix=no
++  library_names_spec='$libname${shared_ext} $libname.a'
++  dynamic_linker='OS/2 ld.exe'
++  shlibpath_var=LIBPATH
++  ;;
++
++osf3* | osf4* | osf5*)
++  version_type=osf
++  need_lib_prefix=no
++  need_version=no
++  soname_spec='${libname}${release}${shared_ext}$major'
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  shlibpath_var=LD_LIBRARY_PATH
++  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
++  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
++  ;;
++
++sco3.2v5*)
++  version_type=osf
++  soname_spec='${libname}${release}${shared_ext}$major'
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++solaris*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  hardcode_into_libs=yes
++  # ldd complains unless libraries are executable
++  postinstall_cmds='chmod +x $lib'
++  ;;
++
++sunos4*)
++  version_type=sunos
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
++  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  if test "$with_gnu_ld" = yes; then
++    need_lib_prefix=no
++  fi
++  need_version=yes
++  ;;
++
++sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
++  version_type=linux
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  case $host_vendor in
++    sni)
++      shlibpath_overrides_runpath=no
++      need_lib_prefix=no
++      export_dynamic_flag_spec='${wl}-Blargedynsym'
++      runpath_var=LD_RUN_PATH
++      ;;
++    siemens)
++      need_lib_prefix=no
++      ;;
++    motorola)
++      need_lib_prefix=no
++      need_version=no
++      shlibpath_overrides_runpath=no
++      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
++      ;;
++  esac
++  ;;
++
++sysv4*MP*)
++  if test -d /usr/nec ;then
++    version_type=linux
++    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
++    soname_spec='$libname${shared_ext}.$major'
++    shlibpath_var=LD_LIBRARY_PATH
++  fi
++  ;;
++
++uts4*)
++  version_type=linux
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++*)
++  dynamic_linker=no
++  ;;
++esac
++echo "$as_me:$LINENO: result: $dynamic_linker" >&5
++echo "${ECHO_T}$dynamic_linker" >&6
++test "$dynamic_linker" = no && can_build_shared=no
++
++echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
++echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
++hardcode_action_CXX=
++if test -n "$hardcode_libdir_flag_spec_CXX" || \
++   test -n "$runpath_var CXX" || \
++   test "X$hardcode_automatic_CXX"="Xyes" ; then
++
++  # We can hardcode non-existant directories.
++  if test "$hardcode_direct_CXX" != no &&
++     # If the only mechanism to avoid hardcoding is shlibpath_var, we
++     # have to relink, otherwise we might link with an installed library
++     # when we should be linking with a yet-to-be-installed one
++     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
++     test "$hardcode_minus_L_CXX" != no; then
++    # Linking always hardcodes the temporary library directory.
++    hardcode_action_CXX=relink
++  else
++    # We can link without hardcoding, and we can hardcode nonexisting dirs.
++    hardcode_action_CXX=immediate
++  fi
++else
++  # We cannot hardcode anything, or else we can only hardcode existing
++  # directories.
++  hardcode_action_CXX=unsupported
++fi
++echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
++echo "${ECHO_T}$hardcode_action_CXX" >&6
++
++if test "$hardcode_action_CXX" = relink; then
++  # Fast installation is not supported
++  enable_fast_install=no
++elif test "$shlibpath_overrides_runpath" = yes ||
++     test "$enable_shared" = no; then
++  # Fast installation is not necessary
++  enable_fast_install=needless
++fi
++
++striplib=
++old_striplib=
++echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
++echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
++if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
++  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
++  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
++  echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++else
++# FIXME - insert some real tests, host_os isn't really good enough
++  case $host_os in
++   darwin*)
++       if test -n "$STRIP" ; then
++         striplib="$STRIP -x"
++         echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++       else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++       ;;
++   *)
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++    ;;
++  esac
++fi
++
++if test "x$enable_dlopen" != xyes; then
++  enable_dlopen=unknown
++  enable_dlopen_self=unknown
++  enable_dlopen_self_static=unknown
++else
++  lt_cv_dlopen=no
++  lt_cv_dlopen_libs=
++
++  case $host_os in
++  beos*)
++    lt_cv_dlopen="load_add_on"
++    lt_cv_dlopen_libs=
++    lt_cv_dlopen_self=yes
++    ;;
++
++  mingw* | pw32*)
++    lt_cv_dlopen="LoadLibrary"
++    lt_cv_dlopen_libs=
++   ;;
++
++  cygwin*)
++    lt_cv_dlopen="dlopen"
++    lt_cv_dlopen_libs=
++   ;;
++
++  darwin*)
++  # if libdl is installed we need to link against it
++    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
++echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
++if test "${ac_cv_lib_dl_dlopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ldl  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dlopen ();
++int
++main ()
++{
++dlopen ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_dl_dlopen=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_dl_dlopen=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
++echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
++if test $ac_cv_lib_dl_dlopen = yes; then
++  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
++else
++  
++    lt_cv_dlopen="dyld"
++    lt_cv_dlopen_libs=
++    lt_cv_dlopen_self=yes
++    
++fi
++
++   ;;
++
++  *)
++    echo "$as_me:$LINENO: checking for shl_load" >&5
++echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
++if test "${ac_cv_func_shl_load+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define shl_load innocuous_shl_load
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char shl_load (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef shl_load
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char shl_load ();
++/* 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_shl_load) || defined (__stub___shl_load)
++choke me
++#else
++char (*f) () = shl_load;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != shl_load;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_shl_load=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_shl_load=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
++echo "${ECHO_T}$ac_cv_func_shl_load" >&6
++if test $ac_cv_func_shl_load = yes; then
++  lt_cv_dlopen="shl_load"
++else
++  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
++echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
++if test "${ac_cv_lib_dld_shl_load+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ldld  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char shl_load ();
++int
++main ()
++{
++shl_load ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_dld_shl_load=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_dld_shl_load=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
++echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
++if test $ac_cv_lib_dld_shl_load = yes; then
++  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
++else
++  echo "$as_me:$LINENO: checking for dlopen" >&5
++echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
++if test "${ac_cv_func_dlopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define dlopen innocuous_dlopen
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char dlopen (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef dlopen
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dlopen ();
++/* 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_dlopen) || defined (__stub___dlopen)
++choke me
++#else
++char (*f) () = dlopen;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != dlopen;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_dlopen=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_dlopen=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
++echo "${ECHO_T}$ac_cv_func_dlopen" >&6
++if test $ac_cv_func_dlopen = yes; then
++  lt_cv_dlopen="dlopen"
++else
++  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
++echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
++if test "${ac_cv_lib_dl_dlopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ldl  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dlopen ();
++int
++main ()
++{
++dlopen ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_dl_dlopen=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_dl_dlopen=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
++echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
++if test $ac_cv_lib_dl_dlopen = yes; then
++  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
++else
++  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
++echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
++if test "${ac_cv_lib_svld_dlopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-lsvld  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dlopen ();
++int
++main ()
++{
++dlopen ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_svld_dlopen=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_svld_dlopen=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
++echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
++if test $ac_cv_lib_svld_dlopen = yes; then
++  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
++else
++  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
++echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
++if test "${ac_cv_lib_dld_dld_link+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ldld  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dld_link ();
++int
++main ()
++{
++dld_link ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_dld_dld_link=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_dld_dld_link=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
++echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
++if test $ac_cv_lib_dld_dld_link = yes; then
++  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
++fi
++
++	      
++fi
++
++	    
++fi
++
++	  
++fi
++
++	
++fi
++
++      
++fi
++
++    ;;
++  esac
++
++  if test "x$lt_cv_dlopen" != xno; then
++    enable_dlopen=yes
++  else
++    enable_dlopen=no
++  fi
++
++  case $lt_cv_dlopen in
++  dlopen)
++    save_CPPFLAGS="$CPPFLAGS"
++    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
++
++    save_LDFLAGS="$LDFLAGS"
++    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
++
++    save_LIBS="$LIBS"
++    LIBS="$lt_cv_dlopen_libs $LIBS"
++
++    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
++echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
++if test "${lt_cv_dlopen_self+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  	  if test "$cross_compiling" = yes; then :
++  lt_cv_dlopen_self=cross
++else
++  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
++  lt_status=$lt_dlunknown
++  cat > conftest.$ac_ext <<EOF
++#line __oline__ "configure"
++#include "confdefs.h"
++
++#if HAVE_DLFCN_H
++#include <dlfcn.h>
++#endif
++
++#include <stdio.h>
++
++#ifdef RTLD_GLOBAL
++#  define LT_DLGLOBAL		RTLD_GLOBAL
++#else
++#  ifdef DL_GLOBAL
++#    define LT_DLGLOBAL		DL_GLOBAL
++#  else
++#    define LT_DLGLOBAL		0
++#  endif
++#endif
++
++/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
++   find out it does not work in some platform. */
++#ifndef LT_DLLAZY_OR_NOW
++#  ifdef RTLD_LAZY
++#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
++#  else
++#    ifdef DL_LAZY
++#      define LT_DLLAZY_OR_NOW		DL_LAZY
++#    else
++#      ifdef RTLD_NOW
++#        define LT_DLLAZY_OR_NOW	RTLD_NOW
++#      else
++#        ifdef DL_NOW
++#          define LT_DLLAZY_OR_NOW	DL_NOW
++#        else
++#          define LT_DLLAZY_OR_NOW	0
++#        endif
++#      endif
++#    endif
++#  endif
++#endif
++
++#ifdef __cplusplus
++extern "C" void exit (int);
++#endif
++
++void fnord() { int i=42;}
++int main ()
++{
++  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
++  int status = $lt_dlunknown;
++
++  if (self)
++    {
++      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
++      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
++      /* dlclose (self); */
++    }
++
++    exit (status);
++}
++EOF
++  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
++    (./conftest; exit; ) 2>/dev/null
++    lt_status=$?
++    case x$lt_status in
++      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
++      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
++      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
++    esac
++  else :
++    # compilation failed
++    lt_cv_dlopen_self=no
++  fi
++fi
++rm -fr conftest*
++
++    
++fi
++echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
++echo "${ECHO_T}$lt_cv_dlopen_self" >&6
++
++    if test "x$lt_cv_dlopen_self" = xyes; then
++      LDFLAGS="$LDFLAGS $link_static_flag"
++      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
++echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
++if test "${lt_cv_dlopen_self_static+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  	  if test "$cross_compiling" = yes; then :
++  lt_cv_dlopen_self_static=cross
++else
++  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
++  lt_status=$lt_dlunknown
++  cat > conftest.$ac_ext <<EOF
++#line __oline__ "configure"
++#include "confdefs.h"
++
++#if HAVE_DLFCN_H
++#include <dlfcn.h>
++#endif
++
++#include <stdio.h>
++
++#ifdef RTLD_GLOBAL
++#  define LT_DLGLOBAL		RTLD_GLOBAL
++#else
++#  ifdef DL_GLOBAL
++#    define LT_DLGLOBAL		DL_GLOBAL
++#  else
++#    define LT_DLGLOBAL		0
++#  endif
++#endif
++
++/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
++   find out it does not work in some platform. */
++#ifndef LT_DLLAZY_OR_NOW
++#  ifdef RTLD_LAZY
++#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
++#  else
++#    ifdef DL_LAZY
++#      define LT_DLLAZY_OR_NOW		DL_LAZY
++#    else
++#      ifdef RTLD_NOW
++#        define LT_DLLAZY_OR_NOW	RTLD_NOW
++#      else
++#        ifdef DL_NOW
++#          define LT_DLLAZY_OR_NOW	DL_NOW
++#        else
++#          define LT_DLLAZY_OR_NOW	0
++#        endif
++#      endif
++#    endif
++#  endif
++#endif
++
++#ifdef __cplusplus
++extern "C" void exit (int);
++#endif
++
++void fnord() { int i=42;}
++int main ()
++{
++  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
++  int status = $lt_dlunknown;
++
++  if (self)
++    {
++      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
++      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
++      /* dlclose (self); */
++    }
++
++    exit (status);
++}
++EOF
++  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
++    (./conftest; exit; ) 2>/dev/null
++    lt_status=$?
++    case x$lt_status in
++      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
++      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
++      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
++    esac
++  else :
++    # compilation failed
++    lt_cv_dlopen_self_static=no
++  fi
++fi
++rm -fr conftest*
++
++      
++fi
++echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
++echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
++    fi
++
++    CPPFLAGS="$save_CPPFLAGS"
++    LDFLAGS="$save_LDFLAGS"
++    LIBS="$save_LIBS"
++    ;;
++  esac
++
++  case $lt_cv_dlopen_self in
++  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
++  *) enable_dlopen_self=unknown ;;
++  esac
++
++  case $lt_cv_dlopen_self_static in
++  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
++  *) enable_dlopen_self_static=unknown ;;
++  esac
++fi
++
++
++# The else clause should only fire when bootstrapping the
++# libtool distribution, otherwise you forgot to ship ltmain.sh
++# with your package, and you will get complaints that there are
++# no rules to generate ltmain.sh.
++if test -f "$ltmain"; then
++  # See if we are running on zsh, and set the options which allow our commands through
++  # without removal of \ escapes.
++  if test -n "${ZSH_VERSION+set}" ; then
++    setopt NO_GLOB_SUBST
++  fi
++  # Now quote all the things that may contain metacharacters while being
++  # careful not to overquote the AC_SUBSTed values.  We take copies of the
++  # variables and quote the copies for generation of the libtool script.
++  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
++    SED SHELL STRIP \
++    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
++    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
++    deplibs_check_method reload_flag reload_cmds need_locks \
++    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
++    lt_cv_sys_global_symbol_to_c_name_address \
++    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
++    old_postinstall_cmds old_postuninstall_cmds \
++    compiler_CXX \
++    CC_CXX \
++    LD_CXX \
++    lt_prog_compiler_wl_CXX \
++    lt_prog_compiler_pic_CXX \
++    lt_prog_compiler_static_CXX \
++    lt_prog_compiler_no_builtin_flag_CXX \
++    export_dynamic_flag_spec_CXX \
++    thread_safe_flag_spec_CXX \
++    whole_archive_flag_spec_CXX \
++    enable_shared_with_static_runtimes_CXX \
++    old_archive_cmds_CXX \
++    old_archive_from_new_cmds_CXX \
++    predep_objects_CXX \
++    postdep_objects_CXX \
++    predeps_CXX \
++    postdeps_CXX \
++    compiler_lib_search_path_CXX \
++    archive_cmds_CXX \
++    archive_expsym_cmds_CXX \
++    postinstall_cmds_CXX \
++    postuninstall_cmds_CXX \
++    old_archive_from_expsyms_cmds_CXX \
++    allow_undefined_flag_CXX \
++    no_undefined_flag_CXX \
++    export_symbols_cmds_CXX \
++    hardcode_libdir_flag_spec_CXX \
++    hardcode_libdir_flag_spec_ld_CXX \
++    hardcode_libdir_separator_CXX \
++    hardcode_automatic_CXX \
++    module_cmds_CXX \
++    module_expsym_cmds_CXX \
++    lt_cv_prog_compiler_c_o_CXX \
++    exclude_expsyms_CXX \
++    include_expsyms_CXX; do
++
++    case $var in
++    old_archive_cmds_CXX | \
++    old_archive_from_new_cmds_CXX | \
++    archive_cmds_CXX | \
++    archive_expsym_cmds_CXX | \
++    module_cmds_CXX | \
++    module_expsym_cmds_CXX | \
++    old_archive_from_expsyms_cmds_CXX | \
++    export_symbols_cmds_CXX | \
++    extract_expsyms_cmds | reload_cmds | finish_cmds | \
++    postinstall_cmds | postuninstall_cmds | \
++    old_postinstall_cmds | old_postuninstall_cmds | \
++    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
++      # Double-quote double-evaled strings.
++      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
++      ;;
++    *)
++      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
++      ;;
++    esac
++  done
++
++  case $lt_echo in
++  *'\$0 --fallback-echo"')
++    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
++    ;;
++  esac
++
++cfgfile="$ofile"
++
++  cat <<__EOF__ >> "$cfgfile"
++# ### BEGIN LIBTOOL TAG CONFIG: $tagname
++
++# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
++
++# Shell to use when invoking shell scripts.
++SHELL=$lt_SHELL
++
++# Whether or not to build shared libraries.
++build_libtool_libs=$enable_shared
++
++# Whether or not to build static libraries.
++build_old_libs=$enable_static
++
++# Whether or not to add -lc for building shared libraries.
++build_libtool_need_lc=$archive_cmds_need_lc_CXX
++
++# Whether or not to disallow shared libs when runtime libs are static
++allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
++
++# Whether or not to optimize for fast installation.
++fast_install=$enable_fast_install
++
++# The host system.
++host_alias=$host_alias
++host=$host
++
++# An echo program that does not interpret backslashes.
++echo=$lt_echo
++
++# The archiver.
++AR=$lt_AR
++AR_FLAGS=$lt_AR_FLAGS
++
++# A C compiler.
++LTCC=$lt_LTCC
++
++# A language-specific compiler.
++CC=$lt_compiler_CXX
++
++# Is the compiler the GNU C compiler?
++with_gcc=$GCC_CXX
++
++# An ERE matcher.
++EGREP=$lt_EGREP
++
++# The linker used to build libraries.
++LD=$lt_LD_CXX
++
++# Whether we need hard or soft links.
++LN_S=$lt_LN_S
++
++# A BSD-compatible nm program.
++NM=$lt_NM
++
++# A symbol stripping program
++STRIP=$lt_STRIP
++
++# Used to examine libraries when file_magic_cmd begins "file"
++MAGIC_CMD=$MAGIC_CMD
++
++# Used on cygwin: DLL creation program.
++DLLTOOL="$DLLTOOL"
++
++# Used on cygwin: object dumper.
++OBJDUMP="$OBJDUMP"
++
++# Used on cygwin: assembler.
++AS="$AS"
++
++# The name of the directory that contains temporary libtool files.
++objdir=$objdir
++
++# How to create reloadable object files.
++reload_flag=$lt_reload_flag
++reload_cmds=$lt_reload_cmds
++
++# How to pass a linker flag through the compiler.
++wl=$lt_lt_prog_compiler_wl_CXX
++
++# Object file suffix (normally "o").
++objext="$ac_objext"
++
++# Old archive suffix (normally "a").
++libext="$libext"
++
++# Shared library suffix (normally ".so").
++shrext='$shrext'
++
++# Executable file suffix (normally "").
++exeext="$exeext"
++
++# Additional compiler flags for building library objects.
++pic_flag=$lt_lt_prog_compiler_pic_CXX
++pic_mode=$pic_mode
++
++# What is the maximum length of a command?
++max_cmd_len=$lt_cv_sys_max_cmd_len
++
++# Does compiler simultaneously support -c and -o options?
++compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
++
++# Must we lock files when doing compilation ?
++need_locks=$lt_need_locks
++
++# Do we need the lib prefix for modules?
++need_lib_prefix=$need_lib_prefix
++
++# Do we need a version for libraries?
++need_version=$need_version
++
++# Whether dlopen is supported.
++dlopen_support=$enable_dlopen
++
++# Whether dlopen of programs is supported.
++dlopen_self=$enable_dlopen_self
++
++# Whether dlopen of statically linked programs is supported.
++dlopen_self_static=$enable_dlopen_self_static
++
++# Compiler flag to prevent dynamic linking.
++link_static_flag=$lt_lt_prog_compiler_static_CXX
++
++# Compiler flag to turn off builtin functions.
++no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
++
++# Compiler flag to allow reflexive dlopens.
++export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
++
++# Compiler flag to generate shared objects directly from archives.
++whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
++
++# Compiler flag to generate thread-safe objects.
++thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
++
++# Library versioning type.
++version_type=$version_type
++
++# Format of library name prefix.
++libname_spec=$lt_libname_spec
++
++# List of archive names.  First name is the real one, the rest are links.
++# The last name is the one that the linker finds with -lNAME.
++library_names_spec=$lt_library_names_spec
++
++# The coded name of the library, if different from the real name.
++soname_spec=$lt_soname_spec
++
++# Commands used to build and install an old-style archive.
++RANLIB=$lt_RANLIB
++old_archive_cmds=$lt_old_archive_cmds_CXX
++old_postinstall_cmds=$lt_old_postinstall_cmds
++old_postuninstall_cmds=$lt_old_postuninstall_cmds
++
++# Create an old-style archive from a shared archive.
++old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
++
++# Create a temporary old-style archive to link instead of a shared archive.
++old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
++
++# Commands used to build and install a shared archive.
++archive_cmds=$lt_archive_cmds_CXX
++archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
++postinstall_cmds=$lt_postinstall_cmds
++postuninstall_cmds=$lt_postuninstall_cmds
++
++# Commands used to build a loadable module (assumed same as above if empty)
++module_cmds=$lt_module_cmds_CXX
++module_expsym_cmds=$lt_module_expsym_cmds_CXX
++
++# Commands to strip libraries.
++old_striplib=$lt_old_striplib
++striplib=$lt_striplib
++
++# Dependencies to place before the objects being linked to create a
++# shared library.
++predep_objects=$lt_predep_objects_CXX
++
++# Dependencies to place after the objects being linked to create a
++# shared library.
++postdep_objects=$lt_postdep_objects_CXX
++
++# Dependencies to place before the objects being linked to create a
++# shared library.
++predeps=$lt_predeps_CXX
++
++# Dependencies to place after the objects being linked to create a
++# shared library.
++postdeps=$lt_postdeps_CXX
++
++# The library search path used internally by the compiler when linking
++# a shared library.
++compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
++
++# Method to check whether dependent libraries are shared objects.
++deplibs_check_method=$lt_deplibs_check_method
++
++# Command to use when deplibs_check_method == file_magic.
++file_magic_cmd=$lt_file_magic_cmd
++
++# Flag that allows shared libraries with undefined symbols to be built.
++allow_undefined_flag=$lt_allow_undefined_flag_CXX
++
++# Flag that forces no undefined symbols.
++no_undefined_flag=$lt_no_undefined_flag_CXX
++
++# Commands used to finish a libtool library installation in a directory.
++finish_cmds=$lt_finish_cmds
++
++# Same as above, but a single script fragment to be evaled but not shown.
++finish_eval=$lt_finish_eval
++
++# Take the output of nm and produce a listing of raw symbols and C names.
++global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
++
++# Transform the output of nm in a proper C declaration
++global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
++
++# Transform the output of nm in a C name address pair
++global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
++
++# This is the shared library runtime path variable.
++runpath_var=$runpath_var
++
++# This is the shared library path variable.
++shlibpath_var=$shlibpath_var
++
++# Is shlibpath searched before the hard-coded library search path?
++shlibpath_overrides_runpath=$shlibpath_overrides_runpath
++
++# How to hardcode a shared library path into an executable.
++hardcode_action=$hardcode_action_CXX
++
++# Whether we should hardcode library paths into libraries.
++hardcode_into_libs=$hardcode_into_libs
++
++# Flag to hardcode \$libdir into a binary during linking.
++# This must work even if \$libdir does not exist.
++hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
++
++# If ld is used when linking, flag to hardcode \$libdir into
++# a binary during linking. This must work even if \$libdir does
++# not exist.
++hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
++
++# Whether we need a single -rpath flag with a separated argument.
++hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
++
++# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
++# resulting binary.
++hardcode_direct=$hardcode_direct_CXX
++
++# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
++# resulting binary.
++hardcode_minus_L=$hardcode_minus_L_CXX
++
++# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
++# the resulting binary.
++hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
++
++# Set to yes if building a shared library automatically hardcodes DIR into the library
++# and all subsequent libraries and executables linked against it.
++hardcode_automatic=$hardcode_automatic_CXX
++
++# Variables whose values should be saved in libtool wrapper scripts and
++# restored at relink time.
++variables_saved_for_relink="$variables_saved_for_relink"
++
++# Whether libtool must link a program against all its dependency libraries.
++link_all_deplibs=$link_all_deplibs_CXX
++
++# Compile-time system search path for libraries
++sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
++
++# Run-time system search path for libraries
++sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
++
++# Fix the shell variable \$srcfile for the compiler.
++fix_srcfile_path="$fix_srcfile_path_CXX"
++
++# Set to yes if exported symbols are required.
++always_export_symbols=$always_export_symbols_CXX
++
++# The commands to list exported symbols.
++export_symbols_cmds=$lt_export_symbols_cmds_CXX
++
++# The commands to extract the exported symbol list from a shared archive.
++extract_expsyms_cmds=$lt_extract_expsyms_cmds
++
++# Symbols that should not be listed in the preloaded symbols.
++exclude_expsyms=$lt_exclude_expsyms_CXX
++
++# Symbols that must always be exported.
++include_expsyms=$lt_include_expsyms_CXX
++
++# ### END LIBTOOL TAG CONFIG: $tagname
++
++__EOF__
++
++
++else
++  # If there is no Makefile yet, we rely on a make rule to execute
++  # `config.status --recheck' to rerun these tests and create the
++  # libtool script then.
++  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
++  if test -f "$ltmain_in"; then
++    test -f Makefile && make "$ltmain"
++  fi
++fi
++
++
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++CC=$lt_save_CC
++LDCXX=$LD
++LD=$lt_save_LD
++GCC=$lt_save_GCC
++with_gnu_ldcxx=$with_gnu_ld
++with_gnu_ld=$lt_save_with_gnu_ld
++lt_cv_path_LDCXX=$lt_cv_path_LD
++lt_cv_path_LD=$lt_save_path_LD
++lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
++lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
++
++	else
++	  tagname=""
++	fi
++	;;
++
++      F77)
++	if test -n "$F77" && test "X$F77" != "Xno"; then
++	  
++ac_ext=f
++ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
++ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_f77_compiler_gnu
++
++
++archive_cmds_need_lc_F77=no
++allow_undefined_flag_F77=
++always_export_symbols_F77=no
++archive_expsym_cmds_F77=
++export_dynamic_flag_spec_F77=
++hardcode_direct_F77=no
++hardcode_libdir_flag_spec_F77=
++hardcode_libdir_flag_spec_ld_F77=
++hardcode_libdir_separator_F77=
++hardcode_minus_L_F77=no
++hardcode_automatic_F77=no
++module_cmds_F77=
++module_expsym_cmds_F77=
++link_all_deplibs_F77=unknown
++old_archive_cmds_F77=$old_archive_cmds
++no_undefined_flag_F77=
++whole_archive_flag_spec_F77=
++enable_shared_with_static_runtimes_F77=no
++
++# Source file extension for f77 test sources.
++ac_ext=f
++
++# Object file extension for compiled f77 test sources.
++objext=o
++objext_F77=$objext
++
++# Code to be used in simple compile tests
++lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
++
++# Code to be used in simple link tests
++lt_simple_link_test_code="      program t\n      end\n"
++
++# ltmain only uses $CC for tagged configurations so make sure $CC is set.
++
++# If no C compiler was specified, use CC.
++LTCC=${LTCC-"$CC"}
++
++# Allow CC to be a program name with arguments.
++compiler=$CC
++
++
++# Allow CC to be a program name with arguments.
++lt_save_CC="$CC"
++CC=${F77-"f77"}
++compiler=$CC
++compiler_F77=$CC
++cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
++
++echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
++echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
++echo "$as_me:$LINENO: result: $can_build_shared" >&5
++echo "${ECHO_T}$can_build_shared" >&6
++
++echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
++echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
++test "$can_build_shared" = "no" && enable_shared=no
++
++# On AIX, shared libraries and static libraries use the same namespace, and
++# are all built from PIC.
++case "$host_os" in
++aix3*)
++  test "$enable_shared" = yes && enable_static=no
++  if test -n "$RANLIB"; then
++    archive_cmds="$archive_cmds~\$RANLIB \$lib"
++    postinstall_cmds='$RANLIB $lib'
++  fi
++  ;;
++aix4*)
++  test "$enable_shared" = yes && enable_static=no
++  ;;
++esac
++echo "$as_me:$LINENO: result: $enable_shared" >&5
++echo "${ECHO_T}$enable_shared" >&6
++
++echo "$as_me:$LINENO: checking whether to build static libraries" >&5
++echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
++# Make sure either enable_shared or enable_static is yes.
++test "$enable_shared" = yes || enable_static=yes
++echo "$as_me:$LINENO: result: $enable_static" >&5
++echo "${ECHO_T}$enable_static" >&6
++
++test "$ld_shlibs_F77" = no && can_build_shared=no
++
++GCC_F77="$G77"
++LD_F77="$LD"
++
++lt_prog_compiler_wl_F77=
++lt_prog_compiler_pic_F77=
++lt_prog_compiler_static_F77=
++
++echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
++echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
++ 
++  if test "$GCC" = yes; then
++    lt_prog_compiler_wl_F77='-Wl,'
++    lt_prog_compiler_static_F77='-static'
++
++    case $host_os in
++      aix*)
++      # All AIX code is PIC.
++      if test "$host_cpu" = ia64; then
++	# AIX 5 now supports IA64 processor
++	lt_prog_compiler_static_F77='-Bstatic'
++      fi
++      ;;
++
++    amigaos*)
++      # FIXME: we need at least 68020 code to build shared libraries, but
++      # adding the `-m68020' flag to GCC prevents building anything better,
++      # like `-m68040'.
++      lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
++      ;;
++
++    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
++      # PIC is the default for these OSes.
++      ;;
++
++    mingw* | pw32* | os2*)
++      # This hack is so that the source file can tell whether it is being
++      # built for inclusion in a dll (and should export symbols for example).
++      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
++      ;;
++
++    darwin* | rhapsody*)
++      # PIC is the default on this platform
++      # Common symbols not allowed in MH_DYLIB files
++      lt_prog_compiler_pic_F77='-fno-common'
++      ;;
++
++    msdosdjgpp*)
++      # Just because we use GCC doesn't mean we suddenly get shared libraries
++      # on systems that don't support them.
++      lt_prog_compiler_can_build_shared_F77=no
++      enable_shared=no
++      ;;
++
++    sysv4*MP*)
++      if test -d /usr/nec; then
++	lt_prog_compiler_pic_F77=-Kconform_pic
++      fi
++      ;;
++
++    hpux*)
++      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
++      # not for PA HP-UX.
++      case "$host_cpu" in
++      hppa*64*|ia64*)
++	# +Z the default
++	;;
++      *)
++	lt_prog_compiler_pic_F77='-fPIC'
++	;;
++      esac
++      ;;
++
++    *)
++      lt_prog_compiler_pic_F77='-fPIC'
++      ;;
++    esac
++  else
++    # PORTME Check for flag to pass linker flags through the system compiler.
++    case $host_os in
++    aix*)
++      lt_prog_compiler_wl_F77='-Wl,'
++      if test "$host_cpu" = ia64; then
++	# AIX 5 now supports IA64 processor
++	lt_prog_compiler_static_F77='-Bstatic'
++      else
++	lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
++      fi
++      ;;
++
++    mingw* | pw32* | os2*)
++      # This hack is so that the source file can tell whether it is being
++      # built for inclusion in a dll (and should export symbols for example).
++      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
++      ;;
++
++    hpux9* | hpux10* | hpux11*)
++      lt_prog_compiler_wl_F77='-Wl,'
++      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
++      # not for PA HP-UX.
++      case "$host_cpu" in
++      hppa*64*|ia64*)
++	# +Z the default
++	;;
++      *)
++	lt_prog_compiler_pic_F77='+Z'
++	;;
++      esac
++      # Is there a better lt_prog_compiler_static that works with the bundled CC?
++      lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
++      ;;
++
++    irix5* | irix6* | nonstopux*)
++      lt_prog_compiler_wl_F77='-Wl,'
++      # PIC (with -KPIC) is the default.
++      lt_prog_compiler_static_F77='-non_shared'
++      ;;
++
++    newsos6)
++      lt_prog_compiler_pic_F77='-KPIC'
++      lt_prog_compiler_static_F77='-Bstatic'
++      ;;
++
++    linux*)
++      case $CC in
++      icc* | ecc*)
++	lt_prog_compiler_wl_F77='-Wl,'
++	lt_prog_compiler_pic_F77='-KPIC'
++	lt_prog_compiler_static_F77='-static'
++        ;;
++      ccc*)
++        lt_prog_compiler_wl_F77='-Wl,'
++        # All Alpha code is PIC.
++        lt_prog_compiler_static_F77='-non_shared'
++        ;;
++      esac
++      ;;
++
++    osf3* | osf4* | osf5*)
++      lt_prog_compiler_wl_F77='-Wl,'
++      # All OSF/1 code is PIC.
++      lt_prog_compiler_static_F77='-non_shared'
++      ;;
++
++    sco3.2v5*)
++      lt_prog_compiler_pic_F77='-Kpic'
++      lt_prog_compiler_static_F77='-dn'
++      ;;
++
++    solaris*)
++      lt_prog_compiler_wl_F77='-Wl,'
++      lt_prog_compiler_pic_F77='-KPIC'
++      lt_prog_compiler_static_F77='-Bstatic'
++      ;;
++
++    sunos4*)
++      lt_prog_compiler_wl_F77='-Qoption ld '
++      lt_prog_compiler_pic_F77='-PIC'
++      lt_prog_compiler_static_F77='-Bstatic'
++      ;;
++
++    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
++      lt_prog_compiler_wl_F77='-Wl,'
++      lt_prog_compiler_pic_F77='-KPIC'
++      lt_prog_compiler_static_F77='-Bstatic'
++      ;;
++
++    sysv4*MP*)
++      if test -d /usr/nec ;then
++	lt_prog_compiler_pic_F77='-Kconform_pic'
++	lt_prog_compiler_static_F77='-Bstatic'
++      fi
++      ;;
++
++    uts4*)
++      lt_prog_compiler_pic_F77='-pic'
++      lt_prog_compiler_static_F77='-Bstatic'
++      ;;
++
++    *)
++      lt_prog_compiler_can_build_shared_F77=no
++      ;;
++    esac
++  fi
++
++echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
++echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
++
++#
++# Check to make sure the PIC flag actually works.
++#
++if test -n "$lt_prog_compiler_pic_F77"; then
++  
++echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
++echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
++if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  lt_prog_compiler_pic_works_F77=no
++  ac_outfile=conftest.$ac_objext
++   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
++   lt_compiler_flag="$lt_prog_compiler_pic_F77"
++   # Insert the option either (1) after the last *FLAGS variable, or
++   # (2) before a word containing "conftest.", or (3) at the end.
++   # Note that $ac_compile itself does not contain backslashes and begins
++   # with a dollar sign (not a hyphen), so the echo should work correctly.
++   # The option is referenced via a variable to avoid confusing sed.
++   lt_compile=`echo "$ac_compile" | $SED \
++   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
++   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
++   -e 's:$: $lt_compiler_flag:'`
++   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
++   (eval "$lt_compile" 2>conftest.err)
++   ac_status=$?
++   cat conftest.err >&5
++   echo "$as_me:__oline__: \$? = $ac_status" >&5
++   if (exit $ac_status) && test -s "$ac_outfile"; then
++     # The compiler can only warn and ignore the option if not recognized
++     # So say no if there are warnings
++     if test ! -s conftest.err; then
++       lt_prog_compiler_pic_works_F77=yes
++     fi
++   fi
++   $rm conftest*
++
++fi
++echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
++echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
++
++if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
++    case $lt_prog_compiler_pic_F77 in
++     "" | " "*) ;;
++     *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
++     esac
++else
++    lt_prog_compiler_pic_F77=
++     lt_prog_compiler_can_build_shared_F77=no
++fi
++
++fi
++case "$host_os" in
++  # For platforms which do not support PIC, -DPIC is meaningless:
++  *djgpp*)
++    lt_prog_compiler_pic_F77=
++    ;;
++  *)
++    lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
++    ;;
++esac
++
++echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
++echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
++if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  lt_cv_prog_compiler_c_o_F77=no
++   $rm -r conftest 2>/dev/null
++   mkdir conftest
++   cd conftest
++   mkdir out
++   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
++
++   lt_compiler_flag="-o out/conftest2.$ac_objext"
++   # Insert the option either (1) after the last *FLAGS variable, or
++   # (2) before a word containing "conftest.", or (3) at the end.
++   # Note that $ac_compile itself does not contain backslashes and begins
++   # with a dollar sign (not a hyphen), so the echo should work correctly.
++   lt_compile=`echo "$ac_compile" | $SED \
++   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
++   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
++   -e 's:$: $lt_compiler_flag:'`
++   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
++   (eval "$lt_compile" 2>out/conftest.err)
++   ac_status=$?
++   cat out/conftest.err >&5
++   echo "$as_me:__oline__: \$? = $ac_status" >&5
++   if (exit $ac_status) && test -s out/conftest2.$ac_objext
++   then
++     # The compiler can only warn and ignore the option if not recognized
++     # So say no if there are warnings
++     if test ! -s out/conftest.err; then
++       lt_cv_prog_compiler_c_o_F77=yes
++     fi
++   fi
++   chmod u+w .
++   $rm conftest*
++   # SGI C++ compiler will create directory out/ii_files/ for
++   # template instantiation
++   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
++   $rm out/* && rmdir out
++   cd ..
++   rmdir conftest
++   $rm conftest*
++
++fi
++echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
++echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
++
++
++hard_links="nottested"
++if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
++  # do not overwrite the value of need_locks provided by the user
++  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
++echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
++  hard_links=yes
++  $rm conftest*
++  ln conftest.a conftest.b 2>/dev/null && hard_links=no
++  touch conftest.a
++  ln conftest.a conftest.b 2>&5 || hard_links=no
++  ln conftest.a conftest.b 2>/dev/null && hard_links=no
++  echo "$as_me:$LINENO: result: $hard_links" >&5
++echo "${ECHO_T}$hard_links" >&6
++  if test "$hard_links" = no; then
++    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
++echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
++    need_locks=warn
++  fi
++else
++  need_locks=no
++fi
++
++echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
++echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
++
++  runpath_var=
++  allow_undefined_flag_F77=
++  enable_shared_with_static_runtimes_F77=no
++  archive_cmds_F77=
++  archive_expsym_cmds_F77=
++  old_archive_From_new_cmds_F77=
++  old_archive_from_expsyms_cmds_F77=
++  export_dynamic_flag_spec_F77=
++  whole_archive_flag_spec_F77=
++  thread_safe_flag_spec_F77=
++  hardcode_libdir_flag_spec_F77=
++  hardcode_libdir_flag_spec_ld_F77=
++  hardcode_libdir_separator_F77=
++  hardcode_direct_F77=no
++  hardcode_minus_L_F77=no
++  hardcode_shlibpath_var_F77=unsupported
++  link_all_deplibs_F77=unknown
++  hardcode_automatic_F77=no
++  module_cmds_F77=
++  module_expsym_cmds_F77=
++  always_export_symbols_F77=no
++  export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
++  # include_expsyms should be a list of space-separated symbols to be *always*
++  # included in the symbol list
++  include_expsyms_F77=
++  # exclude_expsyms can be an extended regexp of symbols to exclude
++  # it will be wrapped by ` (' and `)$', so one must not match beginning or
++  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
++  # as well as any symbol that contains `d'.
++  exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
++  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
++  # platforms (ab)use it in PIC code, but their linkers get confused if
++  # the symbol is explicitly referenced.  Since portable code cannot
++  # rely on this symbol name, it's probably fine to never include it in
++  # preloaded symbol tables.
++  extract_expsyms_cmds=
++
++  case $host_os in
++  cygwin* | mingw* | pw32*)
++    # FIXME: the MSVC++ port hasn't been tested in a loooong time
++    # When not using gcc, we currently assume that we are using
++    # Microsoft Visual C++.
++    if test "$GCC" != yes; then
++      with_gnu_ld=no
++    fi
++    ;;
++  openbsd*)
++    with_gnu_ld=no
++    ;;
++  esac
++
++  ld_shlibs_F77=yes
++  if test "$with_gnu_ld" = yes; then
++    # If archive_cmds runs LD, not CC, wlarc should be empty
++    wlarc='${wl}'
++
++    # See if GNU ld supports shared libraries.
++    case $host_os in
++    aix3* | aix4* | aix5*)
++      # On AIX/PPC, the GNU linker is very broken
++      if test "$host_cpu" != ia64; then
++	ld_shlibs_F77=no
++	cat <<EOF 1>&2
++
++*** Warning: the GNU linker, at least up to release 2.9.1, is reported
++*** to be unable to reliably create shared libraries on AIX.
++*** Therefore, libtool is disabling shared libraries support.  If you
++*** really care for shared libraries, you may want to modify your PATH
++*** so that a non-GNU linker is found, and then restart.
++
++EOF
++      fi
++      ;;
++
++    amigaos*)
++      archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
++      hardcode_libdir_flag_spec_F77='-L$libdir'
++      hardcode_minus_L_F77=yes
++
++      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
++      # that the semantics of dynamic libraries on AmigaOS, at least up
++      # to version 4, is to share data among multiple programs linked
++      # with the same dynamic library.  Since this doesn't match the
++      # behavior of shared libraries on other platforms, we can't use
++      # them.
++      ld_shlibs_F77=no
++      ;;
++
++    beos*)
++      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
++	allow_undefined_flag_F77=unsupported
++	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
++	# support --undefined.  This deserves some investigation.  FIXME
++	archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++      else
++	ld_shlibs_F77=no
++      fi
++      ;;
++
++    cygwin* | mingw* | pw32*)
++      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
++      # as there is no search path for DLLs.
++      hardcode_libdir_flag_spec_F77='-L$libdir'
++      allow_undefined_flag_F77=unsupported
++      always_export_symbols_F77=no
++      enable_shared_with_static_runtimes_F77=yes
++      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
++
++      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
++        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
++	# If the export-symbols file already is a .def file (1st line
++	# is EXPORTS), use it as is; otherwise, prepend...
++	archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
++	  cp $export_symbols $output_objdir/$soname.def;
++	else
++	  echo EXPORTS > $output_objdir/$soname.def;
++	  cat $export_symbols >> $output_objdir/$soname.def;
++	fi~
++	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
++      else
++	ld_shlibs=no
++      fi
++      ;;
++
++    netbsd* | knetbsd*-gnu)
++      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++	archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
++	wlarc=
++      else
++	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++      fi
++      ;;
++
++    solaris* | sysv5*)
++      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
++	ld_shlibs_F77=no
++	cat <<EOF 1>&2
++
++*** Warning: The releases 2.8.* of the GNU linker cannot reliably
++*** create shared libraries on Solaris systems.  Therefore, libtool
++*** is disabling shared libraries support.  We urge you to upgrade GNU
++*** binutils to release 2.9.1 or newer.  Another option is to modify
++*** your PATH or compiler configuration so that the native linker is
++*** used, and then restart.
++
++EOF
++      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
++	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++      else
++	ld_shlibs_F77=no
++      fi
++      ;;
++
++    sunos4*)
++      archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++      wlarc=
++      hardcode_direct_F77=yes
++      hardcode_shlibpath_var_F77=no
++      ;;
++
++  linux*)
++    if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
++        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++	archive_cmds_F77="$tmp_archive_cmds"
++      supports_anon_versioning=no
++      case `$LD -v 2>/dev/null` in
++        *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
++        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
++        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
++        *\ 2.11.*) ;; # other 2.11 versions
++        *) supports_anon_versioning=yes ;;
++      esac
++      if test $supports_anon_versioning = yes; then
++        archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
++cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
++$echo "local: *; };" >> $output_objdir/$libname.ver~
++        $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
++      else
++        archive_expsym_cmds_F77="$tmp_archive_cmds"
++      fi
++    else
++      ld_shlibs_F77=no
++    fi
++    ;;
++
++    *)
++      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
++	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++      else
++	ld_shlibs_F77=no
++      fi
++      ;;
++    esac
++
++    if test "$ld_shlibs_F77" = yes; then
++      runpath_var=LD_RUN_PATH
++      hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
++      export_dynamic_flag_spec_F77='${wl}--export-dynamic'
++      # ancient GNU ld didn't support --whole-archive et. al.
++      if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
++ 	whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
++      else
++  	whole_archive_flag_spec_F77=
++      fi
++    fi
++  else
++    # PORTME fill in a description of your system's linker (not GNU ld)
++    case $host_os in
++    aix3*)
++      allow_undefined_flag_F77=unsupported
++      always_export_symbols_F77=yes
++      archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
++      # Note: this linker hardcodes the directories in LIBPATH if there
++      # are no directories specified by -L.
++      hardcode_minus_L_F77=yes
++      if test "$GCC" = yes && test -z "$link_static_flag"; then
++	# Neither direct hardcoding nor static linking is supported with a
++	# broken collect2.
++	hardcode_direct_F77=unsupported
++      fi
++      ;;
++
++    aix4* | aix5*)
++      if test "$host_cpu" = ia64; then
++	# On IA64, the linker does run time linking by default, so we don't
++	# have to do anything special.
++	aix_use_runtimelinking=no
++	exp_sym_flag='-Bexport'
++	no_entry_flag=""
++      else
++	# If we're using GNU nm, then we don't want the "-C" option.
++	# -C means demangle to AIX nm, but means don't demangle with GNU nm
++	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
++	  export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
++	else
++	  export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
++	fi
++	aix_use_runtimelinking=no
++
++	# Test if we are trying to use run time linking or normal
++	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
++	# need to do runtime linking.
++	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
++	  for ld_flag in $LDFLAGS; do
++  	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
++  	    aix_use_runtimelinking=yes
++  	    break
++  	  fi
++	  done
++	esac
++
++	exp_sym_flag='-bexport'
++	no_entry_flag='-bnoentry'
++      fi
++
++      # When large executables or shared objects are built, AIX ld can
++      # have problems creating the table of contents.  If linking a library
++      # or program results in "error TOC overflow" add -mminimal-toc to
++      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
++      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
++
++      archive_cmds_F77=''
++      hardcode_direct_F77=yes
++      hardcode_libdir_separator_F77=':'
++      link_all_deplibs_F77=yes
++
++      if test "$GCC" = yes; then
++	case $host_os in aix4.012|aix4.012.*)
++	# We only want to do this on AIX 4.2 and lower, the check
++	# below for broken collect2 doesn't work under 4.3+
++	  collect2name=`${CC} -print-prog-name=collect2`
++	  if test -f "$collect2name" && \
++  	   strings "$collect2name" | grep resolve_lib_name >/dev/null
++	  then
++  	  # We have reworked collect2
++  	  hardcode_direct_F77=yes
++	  else
++  	  # We have old collect2
++  	  hardcode_direct_F77=unsupported
++  	  # It fails to find uninstalled libraries when the uninstalled
++  	  # path is not listed in the libpath.  Setting hardcode_minus_L
++  	  # to unsupported forces relinking
++  	  hardcode_minus_L_F77=yes
++  	  hardcode_libdir_flag_spec_F77='-L$libdir'
++  	  hardcode_libdir_separator_F77=
++	  fi
++	esac
++	shared_flag='-shared'
++      else
++	# not using gcc
++	if test "$host_cpu" = ia64; then
++  	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
++  	# chokes on -Wl,-G. The following line is correct:
++	  shared_flag='-G'
++	else
++  	if test "$aix_use_runtimelinking" = yes; then
++	    shared_flag='${wl}-G'
++	  else
++	    shared_flag='${wl}-bM:SRE'
++  	fi
++	fi
++      fi
++
++      # It seems that -bexpall does not export symbols beginning with
++      # underscore (_), so it is better to generate a list of symbols to export.
++      always_export_symbols_F77=yes
++      if test "$aix_use_runtimelinking" = yes; then
++	# Warning - without using the other runtime loading flags (-brtl),
++	# -berok will link without error, but may produce a broken library.
++	allow_undefined_flag_F77='-berok'
++       # Determine the default libpath from the value encoded in an empty executable.
++       cat >conftest.$ac_ext <<_ACEOF
++      program main
++
++      end
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_f77_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  
++aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
++}'`
++# Check for a 64-bit object if we didn't find anything.
++if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
++}'`; fi
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
++
++       hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
++	archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
++       else
++	if test "$host_cpu" = ia64; then
++	  hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
++	  allow_undefined_flag_F77="-z nodefs"
++	  archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
++	else
++	 # Determine the default libpath from the value encoded in an empty executable.
++	 cat >conftest.$ac_ext <<_ACEOF
++      program main
++
++      end
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_f77_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  
++aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
++}'`
++# Check for a 64-bit object if we didn't find anything.
++if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
++}'`; fi
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
++
++	 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
++	  # Warning - without using the other run time loading flags,
++	  # -berok will link without error, but may produce a broken library.
++	  no_undefined_flag_F77=' ${wl}-bernotok'
++	  allow_undefined_flag_F77=' ${wl}-berok'
++	  # -bexpall does not export symbols beginning with underscore (_)
++	  always_export_symbols_F77=yes
++	  # Exported symbols can be pulled into shared objects from archives
++	  whole_archive_flag_spec_F77=' '
++	  archive_cmds_need_lc_F77=yes
++	  # This is similar to how AIX traditionally builds it's shared libraries.
++	  archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
++	fi
++      fi
++      ;;
++
++    amigaos*)
++      archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
++      hardcode_libdir_flag_spec_F77='-L$libdir'
++      hardcode_minus_L_F77=yes
++      # see comment about different semantics on the GNU ld section
++      ld_shlibs_F77=no
++      ;;
++
++    bsdi4*)
++      export_dynamic_flag_spec_F77=-rdynamic
++      ;;
++
++    cygwin* | mingw* | pw32*)
++      # When not using gcc, we currently assume that we are using
++      # Microsoft Visual C++.
++      # hardcode_libdir_flag_spec is actually meaningless, as there is
++      # no search path for DLLs.
++      hardcode_libdir_flag_spec_F77=' '
++      allow_undefined_flag_F77=unsupported
++      # Tell ltmain to make .lib files, not .a files.
++      libext=lib
++      # Tell ltmain to make .dll files, not .so files.
++      shrext=".dll"
++      # FIXME: Setting linknames here is a bad hack.
++      archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
++      # The linker will automatically build a .lib file if we build a DLL.
++      old_archive_From_new_cmds_F77='true'
++      # FIXME: Should let the user specify the lib program.
++      old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
++      fix_srcfile_path='`cygpath -w "$srcfile"`'
++      enable_shared_with_static_runtimes_F77=yes
++      ;;
++
++    darwin* | rhapsody*)
++    if test "$GXX" = yes ; then
++      archive_cmds_need_lc_F77=no
++      case "$host_os" in
++      rhapsody* | darwin1.[012])
++	allow_undefined_flag_F77='-undefined suppress'
++	;;
++      *) # Darwin 1.3 on
++      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
++      	allow_undefined_flag_F77='-flat_namespace -undefined suppress'
++      else
++        case ${MACOSX_DEPLOYMENT_TARGET} in
++          10.[012])
++            allow_undefined_flag_F77='-flat_namespace -undefined suppress'
++            ;;
++          10.*)
++            allow_undefined_flag_F77='-undefined dynamic_lookup'
++            ;;
++        esac
++      fi
++	;;
++      esac
++    	lt_int_apple_cc_single_mod=no
++    	output_verbose_link_cmd='echo'
++    	if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
++    	  lt_int_apple_cc_single_mod=yes
++    	fi
++    	if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
++    	  archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
++    	else
++        archive_cmds_F77='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
++      fi
++      module_cmds_F77='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
++      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
++        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
++          archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++        else
++          archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++        fi
++          module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++      hardcode_direct_F77=no
++      hardcode_automatic_F77=yes
++      hardcode_shlibpath_var_F77=unsupported
++      whole_archive_flag_spec_F77='-all_load $convenience'
++      link_all_deplibs_F77=yes
++    else
++      ld_shlibs_F77=no
++    fi
++      ;;
++
++    dgux*)
++      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_libdir_flag_spec_F77='-L$libdir'
++      hardcode_shlibpath_var_F77=no
++      ;;
++
++    freebsd1*)
++      ld_shlibs_F77=no
++      ;;
++
++    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
++    # support.  Future versions do this automatically, but an explicit c++rt0.o
++    # does not break anything, and helps significantly (at the cost of a little
++    # extra space).
++    freebsd2.2*)
++      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
++      hardcode_libdir_flag_spec_F77='-R$libdir'
++      hardcode_direct_F77=yes
++      hardcode_shlibpath_var_F77=no
++      ;;
++
++    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
++    freebsd2*)
++      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_direct_F77=yes
++      hardcode_minus_L_F77=yes
++      hardcode_shlibpath_var_F77=no
++      ;;
++
++    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
++    freebsd* | kfreebsd*-gnu)
++      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
++      hardcode_libdir_flag_spec_F77='-R$libdir'
++      hardcode_direct_F77=yes
++      hardcode_shlibpath_var_F77=no
++      ;;
++
++    hpux9*)
++      if test "$GCC" = yes; then
++	archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
++      else
++	archive_cmds_F77='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
++      fi
++      hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
++      hardcode_libdir_separator_F77=:
++      hardcode_direct_F77=yes
++
++      # hardcode_minus_L: Not really in the search PATH,
++      # but as the default location of the library.
++      hardcode_minus_L_F77=yes
++      export_dynamic_flag_spec_F77='${wl}-E'
++      ;;
++
++    hpux10* | hpux11*)
++      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
++	case "$host_cpu" in
++	hppa*64*|ia64*)
++	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++	  ;;
++	*)
++	  archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
++	  ;;
++	esac
++      else
++	case "$host_cpu" in
++	hppa*64*|ia64*)
++	  archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
++	  ;;
++	*)
++	  archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
++	  ;;
++	esac
++      fi
++      if test "$with_gnu_ld" = no; then
++	case "$host_cpu" in
++	hppa*64*)
++	  hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
++	  hardcode_libdir_flag_spec_ld_F77='+b $libdir'
++	  hardcode_libdir_separator_F77=:
++	  hardcode_direct_F77=no
++	  hardcode_shlibpath_var_F77=no
++	  ;;
++	ia64*)
++	  hardcode_libdir_flag_spec_F77='-L$libdir'
++	  hardcode_direct_F77=no
++	  hardcode_shlibpath_var_F77=no
++
++	  # hardcode_minus_L: Not really in the search PATH,
++	  # but as the default location of the library.
++	  hardcode_minus_L_F77=yes
++	  ;;
++	*)
++	  hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
++	  hardcode_libdir_separator_F77=:
++	  hardcode_direct_F77=yes
++	  export_dynamic_flag_spec_F77='${wl}-E'
++
++	  # hardcode_minus_L: Not really in the search PATH,
++	  # but as the default location of the library.
++	  hardcode_minus_L_F77=yes
++	  ;;
++	esac
++      fi
++      ;;
++
++    irix5* | irix6* | nonstopux*)
++      if test "$GCC" = yes; then
++	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++      else
++	archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
++	hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
++      fi
++      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
++      hardcode_libdir_separator_F77=:
++      link_all_deplibs_F77=yes
++      ;;
++
++    netbsd* | knetbsd*-gnu)
++      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++	archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
++      else
++	archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
++      fi
++      hardcode_libdir_flag_spec_F77='-R$libdir'
++      hardcode_direct_F77=yes
++      hardcode_shlibpath_var_F77=no
++      ;;
++
++    newsos6)
++      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_direct_F77=yes
++      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
++      hardcode_libdir_separator_F77=:
++      hardcode_shlibpath_var_F77=no
++      ;;
++
++    openbsd*)
++      hardcode_direct_F77=yes
++      hardcode_shlibpath_var_F77=no
++      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
++	archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
++	hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
++	export_dynamic_flag_spec_F77='${wl}-E'
++      else
++       case $host_os in
++	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
++	   archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++	   hardcode_libdir_flag_spec_F77='-R$libdir'
++	   ;;
++	 *)
++	   archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
++	   hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
++	   ;;
++       esac
++      fi
++      ;;
++
++    os2*)
++      hardcode_libdir_flag_spec_F77='-L$libdir'
++      hardcode_minus_L_F77=yes
++      allow_undefined_flag_F77=unsupported
++      archive_cmds_F77='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
++      old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
++      ;;
++
++    osf3*)
++      if test "$GCC" = yes; then
++	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
++	archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++      else
++	allow_undefined_flag_F77=' -expect_unresolved \*'
++	archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
++      fi
++      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
++      hardcode_libdir_separator_F77=:
++      ;;
++
++    osf4* | osf5*)	# as osf3* with the addition of -msym flag
++      if test "$GCC" = yes; then
++	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
++	archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++	hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
++      else
++	allow_undefined_flag_F77=' -expect_unresolved \*'
++	archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
++	archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
++	$LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
++
++	# Both c and cxx compiler support -rpath directly
++	hardcode_libdir_flag_spec_F77='-rpath $libdir'
++      fi
++      hardcode_libdir_separator_F77=:
++      ;;
++
++    sco3.2v5*)
++      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_shlibpath_var_F77=no
++      export_dynamic_flag_spec_F77='${wl}-Bexport'
++      runpath_var=LD_RUN_PATH
++      hardcode_runpath_var=yes
++      ;;
++
++    solaris*)
++      no_undefined_flag_F77=' -z text'
++      if test "$GCC" = yes; then
++	archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
++      else
++	archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
++	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++  	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
++      fi
++      hardcode_libdir_flag_spec_F77='-R$libdir'
++      hardcode_shlibpath_var_F77=no
++      case $host_os in
++      solaris2.[0-5] | solaris2.[0-5].*) ;;
++      *) # Supported since Solaris 2.6 (maybe 2.5.1?)
++	whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
++      esac
++      link_all_deplibs_F77=yes
++      ;;
++
++    sunos4*)
++      if test "x$host_vendor" = xsequent; then
++	# Use $CC to link under sequent, because it throws in some extra .o
++	# files that make .init and .fini sections work.
++	archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
++      else
++	archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
++      fi
++      hardcode_libdir_flag_spec_F77='-L$libdir'
++      hardcode_direct_F77=yes
++      hardcode_minus_L_F77=yes
++      hardcode_shlibpath_var_F77=no
++      ;;
++
++    sysv4)
++      case $host_vendor in
++	sni)
++	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++	  hardcode_direct_F77=yes # is this really true???
++	;;
++	siemens)
++	  ## LD is ld it makes a PLAMLIB
++	  ## CC just makes a GrossModule.
++	  archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
++	  reload_cmds_F77='$CC -r -o $output$reload_objs'
++	  hardcode_direct_F77=no
++        ;;
++	motorola)
++	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++	  hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
++	;;
++      esac
++      runpath_var='LD_RUN_PATH'
++      hardcode_shlibpath_var_F77=no
++      ;;
++
++    sysv4.3*)
++      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_shlibpath_var_F77=no
++      export_dynamic_flag_spec_F77='-Bexport'
++      ;;
++
++    sysv4*MP*)
++      if test -d /usr/nec; then
++	archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++	hardcode_shlibpath_var_F77=no
++	runpath_var=LD_RUN_PATH
++	hardcode_runpath_var=yes
++	ld_shlibs_F77=yes
++      fi
++      ;;
++
++    sysv4.2uw2*)
++      archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_direct_F77=yes
++      hardcode_minus_L_F77=no
++      hardcode_shlibpath_var_F77=no
++      hardcode_runpath_var=yes
++      runpath_var=LD_RUN_PATH
++      ;;
++
++   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
++      no_undefined_flag_F77='${wl}-z ${wl}text'
++      if test "$GCC" = yes; then
++	archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++      else
++	archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++      fi
++      runpath_var='LD_RUN_PATH'
++      hardcode_shlibpath_var_F77=no
++      ;;
++
++    sysv5*)
++      no_undefined_flag_F77=' -z text'
++      # $CC -shared without GNU ld will not create a library from C++
++      # object files and a static libstdc++, better avoid it by now
++      archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++  		$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
++      hardcode_libdir_flag_spec_F77=
++      hardcode_shlibpath_var_F77=no
++      runpath_var='LD_RUN_PATH'
++      ;;
++
++    uts4*)
++      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_libdir_flag_spec_F77='-L$libdir'
++      hardcode_shlibpath_var_F77=no
++      ;;
++
++    *)
++      ld_shlibs_F77=no
++      ;;
++    esac
++  fi
++
++echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
++echo "${ECHO_T}$ld_shlibs_F77" >&6
++test "$ld_shlibs_F77" = no && can_build_shared=no
++
++variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
++if test "$GCC" = yes; then
++  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
++fi
++
++#
++# Do we need to explicitly link libc?
++#
++case "x$archive_cmds_need_lc_F77" in
++x|xyes)
++  # Assume -lc should be added
++  archive_cmds_need_lc_F77=yes
++
++  if test "$enable_shared" = yes && test "$GCC" = yes; then
++    case $archive_cmds_F77 in
++    *'~'*)
++      # FIXME: we may have to deal with multi-command sequences.
++      ;;
++    '$CC '*)
++      # Test whether the compiler implicitly links with -lc since on some
++      # systems, -lgcc has to come before -lc. If gcc already passes -lc
++      # to ld, don't add -lc before -lgcc.
++      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
++echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
++      $rm conftest*
++      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
++
++      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } 2>conftest.err; then
++        soname=conftest
++        lib=conftest
++        libobjs=conftest.$ac_objext
++        deplibs=
++        wl=$lt_prog_compiler_wl_F77
++        compiler_flags=-v
++        linker_flags=-v
++        verstring=
++        output_objdir=.
++        libname=conftest
++        lt_save_allow_undefined_flag=$allow_undefined_flag_F77
++        allow_undefined_flag_F77=
++        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
++  (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }
++        then
++	  archive_cmds_need_lc_F77=no
++        else
++	  archive_cmds_need_lc_F77=yes
++        fi
++        allow_undefined_flag_F77=$lt_save_allow_undefined_flag
++      else
++        cat conftest.err 1>&5
++      fi
++      $rm conftest*
++      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
++echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
++      ;;
++    esac
++  fi
++  ;;
++esac
++
++echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
++echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
++library_names_spec=
++libname_spec='lib$name'
++soname_spec=
++shrext=".so"
++postinstall_cmds=
++postuninstall_cmds=
++finish_cmds=
++finish_eval=
++shlibpath_var=
++shlibpath_overrides_runpath=unknown
++version_type=none
++dynamic_linker="$host_os ld.so"
++sys_lib_dlsearch_path_spec="/lib /usr/lib"
++if test "$GCC" = yes; then
++  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
++  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
++    # if the path contains ";" then we assume it to be the separator
++    # otherwise default to the standard path separator (i.e. ":") - it is
++    # assumed that no part of a normal pathname contains ";" but that should
++    # okay in the real world where ";" in dirpaths is itself problematic.
++    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
++  else
++    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
++  fi
++else
++  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
++fi
++need_lib_prefix=unknown
++hardcode_into_libs=no
++
++# when you set need_version to no, make sure it does not cause -set_version
++# flags to be left without arguments
++need_version=unknown
++
++case $host_os in
++aix3*)
++  version_type=linux
++  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
++  shlibpath_var=LIBPATH
++
++  # AIX 3 has no versioning support, so we append a major version to the name.
++  soname_spec='${libname}${release}${shared_ext}$major'
++  ;;
++
++aix4* | aix5*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  hardcode_into_libs=yes
++  if test "$host_cpu" = ia64; then
++    # AIX 5 supports IA64
++    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
++    shlibpath_var=LD_LIBRARY_PATH
++  else
++    # With GCC up to 2.95.x, collect2 would create an import file
++    # for dependence libraries.  The import file would start with
++    # the line `#! .'.  This would cause the generated library to
++    # depend on `.', always an invalid library.  This was fixed in
++    # development snapshots of GCC prior to 3.0.
++    case $host_os in
++      aix4 | aix4.[01] | aix4.[01].*)
++      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
++	   echo ' yes '
++	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
++	:
++      else
++	can_build_shared=no
++      fi
++      ;;
++    esac
++    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
++    # soname into executable. Probably we can add versioning support to
++    # collect2, so additional links can be useful in future.
++    if test "$aix_use_runtimelinking" = yes; then
++      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
++      # instead of lib<name>.a to let people know that these are not
++      # typical AIX shared libraries.
++      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++    else
++      # We preserve .a as extension for shared libraries through AIX4.2
++      # and later when we are not doing run time linking.
++      library_names_spec='${libname}${release}.a $libname.a'
++      soname_spec='${libname}${release}${shared_ext}$major'
++    fi
++    shlibpath_var=LIBPATH
++  fi
++  ;;
++
++amigaos*)
++  library_names_spec='$libname.ixlibrary $libname.a'
++  # Create ${libname}_ixlibrary.a entries in /sys/libs.
++  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
++  ;;
++
++beos*)
++  library_names_spec='${libname}${shared_ext}'
++  dynamic_linker="$host_os ld.so"
++  shlibpath_var=LIBRARY_PATH
++  ;;
++
++bsdi4*)
++  version_type=linux
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
++  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
++  # the default ld.so.conf also contains /usr/contrib/lib and
++  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
++  # libtool to hard-code these into programs
++  ;;
++
++cygwin* | mingw* | pw32*)
++  version_type=windows
++  shrext=".dll"
++  need_version=no
++  need_lib_prefix=no
++
++  case $GCC,$host_os in
++  yes,cygwin* | yes,mingw* | yes,pw32*)
++    library_names_spec='$libname.dll.a'
++    # DLL is installed to $(libdir)/../bin by postinstall_cmds
++    postinstall_cmds='base_file=`basename \${file}`~
++      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
++      dldir=$destdir/`dirname \$dlpath`~
++      test -d \$dldir || mkdir -p \$dldir~
++      $install_prog $dir/$dlname \$dldir/$dlname'
++    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
++      dlpath=$dir/\$dldll~
++       $rm \$dlpath'
++    shlibpath_overrides_runpath=yes
++
++    case $host_os in
++    cygwin*)
++      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
++      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
++      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
++      ;;
++    mingw*)
++      # MinGW DLLs use traditional 'lib' prefix
++      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
++      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
++      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
++        # It is most probably a Windows format PATH printed by
++        # mingw gcc, but we are running on Cygwin. Gcc prints its search
++        # path with ; separators, and with drive letters. We can handle the
++        # drive letters (cygwin fileutils understands them), so leave them,
++        # especially as we might pass files found there to a mingw objdump,
++        # which wouldn't understand a cygwinified path. Ahh.
++        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
++      else
++        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
++      fi
++      ;;
++    pw32*)
++      # pw32 DLLs use 'pw' prefix rather than 'lib'
++      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
++      ;;
++    esac
++    ;;
++
++  *)
++    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
++    ;;
++  esac
++  dynamic_linker='Win32 ld.exe'
++  # FIXME: first we should search . and the directory the executable is in
++  shlibpath_var=PATH
++  ;;
++
++darwin* | rhapsody*)
++  dynamic_linker="$host_os dyld"
++  version_type=darwin
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
++  soname_spec='${libname}${release}${major}$shared_ext'
++  shlibpath_overrides_runpath=yes
++  shlibpath_var=DYLD_LIBRARY_PATH
++  shrext='$(test .$module = .yes && echo .so || echo .dylib)'
++  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
++  if test "$GCC" = yes; then
++    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
++  else
++    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
++  fi
++  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
++  ;;
++
++dgux*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++freebsd1*)
++  dynamic_linker=no
++  ;;
++
++kfreebsd*-gnu)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=no
++  hardcode_into_libs=yes
++  dynamic_linker='GNU ld.so'
++  ;;
++
++freebsd*)
++  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
++  version_type=freebsd-$objformat
++  case $version_type in
++    freebsd-elf*)
++      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
++      need_version=no
++      need_lib_prefix=no
++      ;;
++    freebsd-*)
++      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
++      need_version=yes
++      ;;
++  esac
++  shlibpath_var=LD_LIBRARY_PATH
++  case $host_os in
++  freebsd2*)
++    shlibpath_overrides_runpath=yes
++    ;;
++  freebsd3.01* | freebsdelf3.01*)
++    shlibpath_overrides_runpath=yes
++    hardcode_into_libs=yes
++    ;;
++  *) # from 3.2 on
++    shlibpath_overrides_runpath=no
++    hardcode_into_libs=yes
++    ;;
++  esac
++  ;;
++
++gnu*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  hardcode_into_libs=yes
++  ;;
++
++hpux9* | hpux10* | hpux11*)
++  # Give a soname corresponding to the major version so that dld.sl refuses to
++  # link against other versions.
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=no
++  case "$host_cpu" in
++  ia64*)
++    shrext='.so'
++    hardcode_into_libs=yes
++    dynamic_linker="$host_os dld.so"
++    shlibpath_var=LD_LIBRARY_PATH
++    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
++    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++    soname_spec='${libname}${release}${shared_ext}$major'
++    if test "X$HPUX_IA64_MODE" = X32; then
++      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
++    else
++      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
++    fi
++    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
++    ;;
++   hppa*64*)
++     shrext='.sl'
++     hardcode_into_libs=yes
++     dynamic_linker="$host_os dld.sl"
++     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
++     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
++     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++     soname_spec='${libname}${release}${shared_ext}$major'
++     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
++     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
++     ;;
++   *)
++    shrext='.sl'
++    dynamic_linker="$host_os dld.sl"
++    shlibpath_var=SHLIB_PATH
++    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
++    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++    soname_spec='${libname}${release}${shared_ext}$major'
++    ;;
++  esac
++  # HP-UX runs *really* slowly unless shared libraries are mode 555.
++  postinstall_cmds='chmod 555 $lib'
++  ;;
++
++irix5* | irix6* | nonstopux*)
++  case $host_os in
++    nonstopux*) version_type=nonstopux ;;
++    *)
++	if test "$lt_cv_prog_gnu_ld" = yes; then
++		version_type=linux
++	else
++		version_type=irix
++	fi ;;
++  esac
++  need_lib_prefix=no
++  need_version=no
++  soname_spec='${libname}${release}${shared_ext}$major'
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
++  case $host_os in
++  irix5* | nonstopux*)
++    libsuff= shlibsuff=
++    ;;
++  *)
++    case $LD in # libtool.m4 will add one of these switches to LD
++    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
++      libsuff= shlibsuff= libmagic=32-bit;;
++    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
++      libsuff=32 shlibsuff=N32 libmagic=N32;;
++    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
++      libsuff=64 shlibsuff=64 libmagic=64-bit;;
++    *) libsuff= shlibsuff= libmagic=never-match;;
++    esac
++    ;;
++  esac
++  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
++  shlibpath_overrides_runpath=no
++  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
++  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
++  hardcode_into_libs=yes
++  ;;
++
++# No shared lib support for Linux oldld, aout, or coff.
++linux*oldld* | linux*aout* | linux*coff*)
++  dynamic_linker=no
++  ;;
++
++# This must be Linux ELF.
++linux*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=no
++  # This implies no fast_install, which is unacceptable.
++  # Some rework will be needed to allow for fast_install
++  # before this can be enabled.
++  hardcode_into_libs=yes
++
++  # Append ld.so.conf contents to the search path
++  if test -f /etc/ld.so.conf; then
++    ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf`
++    sys_lib_dlsearch_path_spec="/lib /usr/lib $ld_extra"
++  fi
++
++  # We used to test for /lib/ld.so.1 and disable shared libraries on
++  # powerpc, because MkLinux only supported shared libraries with the
++  # GNU dynamic linker.  Since this was broken with cross compilers,
++  # most powerpc-linux boxes support dynamic linking these days and
++  # people can always --disable-shared, the test was removed, and we
++  # assume the GNU/Linux dynamic linker is in use.
++  dynamic_linker='GNU/Linux ld.so'
++  ;;
++
++knetbsd*-gnu)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=no
++  hardcode_into_libs=yes
++  dynamic_linker='GNU ld.so'
++  ;;
++
++netbsd*)
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=no
++  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
++    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
++    dynamic_linker='NetBSD (a.out) ld.so'
++  else
++    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
++    soname_spec='${libname}${release}${shared_ext}$major'
++    dynamic_linker='NetBSD ld.elf_so'
++  fi
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  hardcode_into_libs=yes
++  ;;
++
++newsos6)
++  version_type=linux
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  ;;
++
++nto-qnx*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  ;;
++
++openbsd*)
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=yes
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
++    case $host_os in
++      openbsd2.[89] | openbsd2.[89].*)
++	shlibpath_overrides_runpath=no
++	;;
++      *)
++	shlibpath_overrides_runpath=yes
++	;;
++      esac
++  else
++    shlibpath_overrides_runpath=yes
++  fi
++  ;;
++
++os2*)
++  libname_spec='$name'
++  shrext=".dll"
++  need_lib_prefix=no
++  library_names_spec='$libname${shared_ext} $libname.a'
++  dynamic_linker='OS/2 ld.exe'
++  shlibpath_var=LIBPATH
++  ;;
++
++osf3* | osf4* | osf5*)
++  version_type=osf
++  need_lib_prefix=no
++  need_version=no
++  soname_spec='${libname}${release}${shared_ext}$major'
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  shlibpath_var=LD_LIBRARY_PATH
++  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
++  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
++  ;;
++
++sco3.2v5*)
++  version_type=osf
++  soname_spec='${libname}${release}${shared_ext}$major'
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++solaris*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  hardcode_into_libs=yes
++  # ldd complains unless libraries are executable
++  postinstall_cmds='chmod +x $lib'
++  ;;
++
++sunos4*)
++  version_type=sunos
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
++  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  if test "$with_gnu_ld" = yes; then
++    need_lib_prefix=no
++  fi
++  need_version=yes
++  ;;
++
++sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
++  version_type=linux
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  case $host_vendor in
++    sni)
++      shlibpath_overrides_runpath=no
++      need_lib_prefix=no
++      export_dynamic_flag_spec='${wl}-Blargedynsym'
++      runpath_var=LD_RUN_PATH
++      ;;
++    siemens)
++      need_lib_prefix=no
++      ;;
++    motorola)
++      need_lib_prefix=no
++      need_version=no
++      shlibpath_overrides_runpath=no
++      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
++      ;;
++  esac
++  ;;
++
++sysv4*MP*)
++  if test -d /usr/nec ;then
++    version_type=linux
++    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
++    soname_spec='$libname${shared_ext}.$major'
++    shlibpath_var=LD_LIBRARY_PATH
++  fi
++  ;;
++
++uts4*)
++  version_type=linux
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++*)
++  dynamic_linker=no
++  ;;
++esac
++echo "$as_me:$LINENO: result: $dynamic_linker" >&5
++echo "${ECHO_T}$dynamic_linker" >&6
++test "$dynamic_linker" = no && can_build_shared=no
++
++echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
++echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
++hardcode_action_F77=
++if test -n "$hardcode_libdir_flag_spec_F77" || \
++   test -n "$runpath_var F77" || \
++   test "X$hardcode_automatic_F77"="Xyes" ; then
++
++  # We can hardcode non-existant directories.
++  if test "$hardcode_direct_F77" != no &&
++     # If the only mechanism to avoid hardcoding is shlibpath_var, we
++     # have to relink, otherwise we might link with an installed library
++     # when we should be linking with a yet-to-be-installed one
++     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
++     test "$hardcode_minus_L_F77" != no; then
++    # Linking always hardcodes the temporary library directory.
++    hardcode_action_F77=relink
++  else
++    # We can link without hardcoding, and we can hardcode nonexisting dirs.
++    hardcode_action_F77=immediate
++  fi
++else
++  # We cannot hardcode anything, or else we can only hardcode existing
++  # directories.
++  hardcode_action_F77=unsupported
++fi
++echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
++echo "${ECHO_T}$hardcode_action_F77" >&6
++
++if test "$hardcode_action_F77" = relink; then
++  # Fast installation is not supported
++  enable_fast_install=no
++elif test "$shlibpath_overrides_runpath" = yes ||
++     test "$enable_shared" = no; then
++  # Fast installation is not necessary
++  enable_fast_install=needless
++fi
++
++striplib=
++old_striplib=
++echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
++echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
++if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
++  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
++  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
++  echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++else
++# FIXME - insert some real tests, host_os isn't really good enough
++  case $host_os in
++   darwin*)
++       if test -n "$STRIP" ; then
++         striplib="$STRIP -x"
++         echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++       else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++       ;;
++   *)
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++    ;;
++  esac
++fi
++
++
++
++# The else clause should only fire when bootstrapping the
++# libtool distribution, otherwise you forgot to ship ltmain.sh
++# with your package, and you will get complaints that there are
++# no rules to generate ltmain.sh.
++if test -f "$ltmain"; then
++  # See if we are running on zsh, and set the options which allow our commands through
++  # without removal of \ escapes.
++  if test -n "${ZSH_VERSION+set}" ; then
++    setopt NO_GLOB_SUBST
++  fi
++  # Now quote all the things that may contain metacharacters while being
++  # careful not to overquote the AC_SUBSTed values.  We take copies of the
++  # variables and quote the copies for generation of the libtool script.
++  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
++    SED SHELL STRIP \
++    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
++    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
++    deplibs_check_method reload_flag reload_cmds need_locks \
++    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
++    lt_cv_sys_global_symbol_to_c_name_address \
++    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
++    old_postinstall_cmds old_postuninstall_cmds \
++    compiler_F77 \
++    CC_F77 \
++    LD_F77 \
++    lt_prog_compiler_wl_F77 \
++    lt_prog_compiler_pic_F77 \
++    lt_prog_compiler_static_F77 \
++    lt_prog_compiler_no_builtin_flag_F77 \
++    export_dynamic_flag_spec_F77 \
++    thread_safe_flag_spec_F77 \
++    whole_archive_flag_spec_F77 \
++    enable_shared_with_static_runtimes_F77 \
++    old_archive_cmds_F77 \
++    old_archive_from_new_cmds_F77 \
++    predep_objects_F77 \
++    postdep_objects_F77 \
++    predeps_F77 \
++    postdeps_F77 \
++    compiler_lib_search_path_F77 \
++    archive_cmds_F77 \
++    archive_expsym_cmds_F77 \
++    postinstall_cmds_F77 \
++    postuninstall_cmds_F77 \
++    old_archive_from_expsyms_cmds_F77 \
++    allow_undefined_flag_F77 \
++    no_undefined_flag_F77 \
++    export_symbols_cmds_F77 \
++    hardcode_libdir_flag_spec_F77 \
++    hardcode_libdir_flag_spec_ld_F77 \
++    hardcode_libdir_separator_F77 \
++    hardcode_automatic_F77 \
++    module_cmds_F77 \
++    module_expsym_cmds_F77 \
++    lt_cv_prog_compiler_c_o_F77 \
++    exclude_expsyms_F77 \
++    include_expsyms_F77; do
++
++    case $var in
++    old_archive_cmds_F77 | \
++    old_archive_from_new_cmds_F77 | \
++    archive_cmds_F77 | \
++    archive_expsym_cmds_F77 | \
++    module_cmds_F77 | \
++    module_expsym_cmds_F77 | \
++    old_archive_from_expsyms_cmds_F77 | \
++    export_symbols_cmds_F77 | \
++    extract_expsyms_cmds | reload_cmds | finish_cmds | \
++    postinstall_cmds | postuninstall_cmds | \
++    old_postinstall_cmds | old_postuninstall_cmds | \
++    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
++      # Double-quote double-evaled strings.
++      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
++      ;;
++    *)
++      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
++      ;;
++    esac
++  done
++
++  case $lt_echo in
++  *'\$0 --fallback-echo"')
++    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
++    ;;
++  esac
++
++cfgfile="$ofile"
++
++  cat <<__EOF__ >> "$cfgfile"
++# ### BEGIN LIBTOOL TAG CONFIG: $tagname
++
++# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
++
++# Shell to use when invoking shell scripts.
++SHELL=$lt_SHELL
++
++# Whether or not to build shared libraries.
++build_libtool_libs=$enable_shared
++
++# Whether or not to build static libraries.
++build_old_libs=$enable_static
++
++# Whether or not to add -lc for building shared libraries.
++build_libtool_need_lc=$archive_cmds_need_lc_F77
++
++# Whether or not to disallow shared libs when runtime libs are static
++allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
++
++# Whether or not to optimize for fast installation.
++fast_install=$enable_fast_install
++
++# The host system.
++host_alias=$host_alias
++host=$host
++
++# An echo program that does not interpret backslashes.
++echo=$lt_echo
++
++# The archiver.
++AR=$lt_AR
++AR_FLAGS=$lt_AR_FLAGS
++
++# A C compiler.
++LTCC=$lt_LTCC
++
++# A language-specific compiler.
++CC=$lt_compiler_F77
++
++# Is the compiler the GNU C compiler?
++with_gcc=$GCC_F77
++
++# An ERE matcher.
++EGREP=$lt_EGREP
++
++# The linker used to build libraries.
++LD=$lt_LD_F77
++
++# Whether we need hard or soft links.
++LN_S=$lt_LN_S
++
++# A BSD-compatible nm program.
++NM=$lt_NM
++
++# A symbol stripping program
++STRIP=$lt_STRIP
++
++# Used to examine libraries when file_magic_cmd begins "file"
++MAGIC_CMD=$MAGIC_CMD
++
++# Used on cygwin: DLL creation program.
++DLLTOOL="$DLLTOOL"
++
++# Used on cygwin: object dumper.
++OBJDUMP="$OBJDUMP"
++
++# Used on cygwin: assembler.
++AS="$AS"
++
++# The name of the directory that contains temporary libtool files.
++objdir=$objdir
++
++# How to create reloadable object files.
++reload_flag=$lt_reload_flag
++reload_cmds=$lt_reload_cmds
++
++# How to pass a linker flag through the compiler.
++wl=$lt_lt_prog_compiler_wl_F77
++
++# Object file suffix (normally "o").
++objext="$ac_objext"
++
++# Old archive suffix (normally "a").
++libext="$libext"
++
++# Shared library suffix (normally ".so").
++shrext='$shrext'
++
++# Executable file suffix (normally "").
++exeext="$exeext"
++
++# Additional compiler flags for building library objects.
++pic_flag=$lt_lt_prog_compiler_pic_F77
++pic_mode=$pic_mode
++
++# What is the maximum length of a command?
++max_cmd_len=$lt_cv_sys_max_cmd_len
++
++# Does compiler simultaneously support -c and -o options?
++compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
++
++# Must we lock files when doing compilation ?
++need_locks=$lt_need_locks
++
++# Do we need the lib prefix for modules?
++need_lib_prefix=$need_lib_prefix
++
++# Do we need a version for libraries?
++need_version=$need_version
++
++# Whether dlopen is supported.
++dlopen_support=$enable_dlopen
++
++# Whether dlopen of programs is supported.
++dlopen_self=$enable_dlopen_self
++
++# Whether dlopen of statically linked programs is supported.
++dlopen_self_static=$enable_dlopen_self_static
++
++# Compiler flag to prevent dynamic linking.
++link_static_flag=$lt_lt_prog_compiler_static_F77
++
++# Compiler flag to turn off builtin functions.
++no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
++
++# Compiler flag to allow reflexive dlopens.
++export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
++
++# Compiler flag to generate shared objects directly from archives.
++whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
++
++# Compiler flag to generate thread-safe objects.
++thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
++
++# Library versioning type.
++version_type=$version_type
++
++# Format of library name prefix.
++libname_spec=$lt_libname_spec
++
++# List of archive names.  First name is the real one, the rest are links.
++# The last name is the one that the linker finds with -lNAME.
++library_names_spec=$lt_library_names_spec
++
++# The coded name of the library, if different from the real name.
++soname_spec=$lt_soname_spec
++
++# Commands used to build and install an old-style archive.
++RANLIB=$lt_RANLIB
++old_archive_cmds=$lt_old_archive_cmds_F77
++old_postinstall_cmds=$lt_old_postinstall_cmds
++old_postuninstall_cmds=$lt_old_postuninstall_cmds
++
++# Create an old-style archive from a shared archive.
++old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
++
++# Create a temporary old-style archive to link instead of a shared archive.
++old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
++
++# Commands used to build and install a shared archive.
++archive_cmds=$lt_archive_cmds_F77
++archive_expsym_cmds=$lt_archive_expsym_cmds_F77
++postinstall_cmds=$lt_postinstall_cmds
++postuninstall_cmds=$lt_postuninstall_cmds
++
++# Commands used to build a loadable module (assumed same as above if empty)
++module_cmds=$lt_module_cmds_F77
++module_expsym_cmds=$lt_module_expsym_cmds_F77
++
++# Commands to strip libraries.
++old_striplib=$lt_old_striplib
++striplib=$lt_striplib
++
++# Dependencies to place before the objects being linked to create a
++# shared library.
++predep_objects=$lt_predep_objects_F77
++
++# Dependencies to place after the objects being linked to create a
++# shared library.
++postdep_objects=$lt_postdep_objects_F77
++
++# Dependencies to place before the objects being linked to create a
++# shared library.
++predeps=$lt_predeps_F77
++
++# Dependencies to place after the objects being linked to create a
++# shared library.
++postdeps=$lt_postdeps_F77
++
++# The library search path used internally by the compiler when linking
++# a shared library.
++compiler_lib_search_path=$lt_compiler_lib_search_path_F77
++
++# Method to check whether dependent libraries are shared objects.
++deplibs_check_method=$lt_deplibs_check_method
++
++# Command to use when deplibs_check_method == file_magic.
++file_magic_cmd=$lt_file_magic_cmd
++
++# Flag that allows shared libraries with undefined symbols to be built.
++allow_undefined_flag=$lt_allow_undefined_flag_F77
++
++# Flag that forces no undefined symbols.
++no_undefined_flag=$lt_no_undefined_flag_F77
++
++# Commands used to finish a libtool library installation in a directory.
++finish_cmds=$lt_finish_cmds
++
++# Same as above, but a single script fragment to be evaled but not shown.
++finish_eval=$lt_finish_eval
++
++# Take the output of nm and produce a listing of raw symbols and C names.
++global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
++
++# Transform the output of nm in a proper C declaration
++global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
++
++# Transform the output of nm in a C name address pair
++global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
++
++# This is the shared library runtime path variable.
++runpath_var=$runpath_var
++
++# This is the shared library path variable.
++shlibpath_var=$shlibpath_var
++
++# Is shlibpath searched before the hard-coded library search path?
++shlibpath_overrides_runpath=$shlibpath_overrides_runpath
++
++# How to hardcode a shared library path into an executable.
++hardcode_action=$hardcode_action_F77
++
++# Whether we should hardcode library paths into libraries.
++hardcode_into_libs=$hardcode_into_libs
++
++# Flag to hardcode \$libdir into a binary during linking.
++# This must work even if \$libdir does not exist.
++hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
++
++# If ld is used when linking, flag to hardcode \$libdir into
++# a binary during linking. This must work even if \$libdir does
++# not exist.
++hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
++
++# Whether we need a single -rpath flag with a separated argument.
++hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
++
++# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
++# resulting binary.
++hardcode_direct=$hardcode_direct_F77
++
++# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
++# resulting binary.
++hardcode_minus_L=$hardcode_minus_L_F77
++
++# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
++# the resulting binary.
++hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
++
++# Set to yes if building a shared library automatically hardcodes DIR into the library
++# and all subsequent libraries and executables linked against it.
++hardcode_automatic=$hardcode_automatic_F77
++
++# Variables whose values should be saved in libtool wrapper scripts and
++# restored at relink time.
++variables_saved_for_relink="$variables_saved_for_relink"
++
++# Whether libtool must link a program against all its dependency libraries.
++link_all_deplibs=$link_all_deplibs_F77
++
++# Compile-time system search path for libraries
++sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
++
++# Run-time system search path for libraries
++sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
++
++# Fix the shell variable \$srcfile for the compiler.
++fix_srcfile_path="$fix_srcfile_path_F77"
++
++# Set to yes if exported symbols are required.
++always_export_symbols=$always_export_symbols_F77
++
++# The commands to list exported symbols.
++export_symbols_cmds=$lt_export_symbols_cmds_F77
++
++# The commands to extract the exported symbol list from a shared archive.
++extract_expsyms_cmds=$lt_extract_expsyms_cmds
++
++# Symbols that should not be listed in the preloaded symbols.
++exclude_expsyms=$lt_exclude_expsyms_F77
++
++# Symbols that must always be exported.
++include_expsyms=$lt_include_expsyms_F77
++
++# ### END LIBTOOL TAG CONFIG: $tagname
++
++__EOF__
++
++
++else
++  # If there is no Makefile yet, we rely on a make rule to execute
++  # `config.status --recheck' to rerun these tests and create the
++  # libtool script then.
++  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
++  if test -f "$ltmain_in"; then
++    test -f Makefile && make "$ltmain"
++  fi
++fi
++
++
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++CC="$lt_save_CC"
++
++	else
++	  tagname=""
++	fi
++	;;
++
++      GCJ)
++	if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
++	  
++
++
++# Source file extension for Java test sources.
++ac_ext=java
++
++# Object file extension for compiled Java test sources.
++objext=o
++objext_GCJ=$objext
++
++# Code to be used in simple compile tests
++lt_simple_compile_test_code="class foo {}\n"
++
++# Code to be used in simple link tests
++lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n'
++
++# ltmain only uses $CC for tagged configurations so make sure $CC is set.
++
++# If no C compiler was specified, use CC.
++LTCC=${LTCC-"$CC"}
++
++# Allow CC to be a program name with arguments.
++compiler=$CC
++
++
++# Allow CC to be a program name with arguments.
++lt_save_CC="$CC"
++CC=${GCJ-"gcj"}
++compiler=$CC
++compiler_GCJ=$CC
++
++# GCJ did not exist at the time GCC didn't implicitly link libc in.
++archive_cmds_need_lc_GCJ=no
++
++
++lt_prog_compiler_no_builtin_flag_GCJ=
++
++if test "$GCC" = yes; then
++  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
++
++  
++echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
++echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
++if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  lt_cv_prog_compiler_rtti_exceptions=no
++  ac_outfile=conftest.$ac_objext
++   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
++   lt_compiler_flag="-fno-rtti -fno-exceptions"
++   # Insert the option either (1) after the last *FLAGS variable, or
++   # (2) before a word containing "conftest.", or (3) at the end.
++   # Note that $ac_compile itself does not contain backslashes and begins
++   # with a dollar sign (not a hyphen), so the echo should work correctly.
++   # The option is referenced via a variable to avoid confusing sed.
++   lt_compile=`echo "$ac_compile" | $SED \
++   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
++   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
++   -e 's:$: $lt_compiler_flag:'`
++   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
++   (eval "$lt_compile" 2>conftest.err)
++   ac_status=$?
++   cat conftest.err >&5
++   echo "$as_me:__oline__: \$? = $ac_status" >&5
++   if (exit $ac_status) && test -s "$ac_outfile"; then
++     # The compiler can only warn and ignore the option if not recognized
++     # So say no if there are warnings
++     if test ! -s conftest.err; then
++       lt_cv_prog_compiler_rtti_exceptions=yes
++     fi
++   fi
++   $rm conftest*
++
++fi
++echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
++echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
++
++if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
++    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
++else
++    :
++fi
++
++fi
++
++lt_prog_compiler_wl_GCJ=
++lt_prog_compiler_pic_GCJ=
++lt_prog_compiler_static_GCJ=
++
++echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
++echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
++ 
++  if test "$GCC" = yes; then
++    lt_prog_compiler_wl_GCJ='-Wl,'
++    lt_prog_compiler_static_GCJ='-static'
++
++    case $host_os in
++      aix*)
++      # All AIX code is PIC.
++      if test "$host_cpu" = ia64; then
++	# AIX 5 now supports IA64 processor
++	lt_prog_compiler_static_GCJ='-Bstatic'
++      fi
++      ;;
++
++    amigaos*)
++      # FIXME: we need at least 68020 code to build shared libraries, but
++      # adding the `-m68020' flag to GCC prevents building anything better,
++      # like `-m68040'.
++      lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
++      ;;
++
++    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
++      # PIC is the default for these OSes.
++      ;;
++
++    mingw* | pw32* | os2*)
++      # This hack is so that the source file can tell whether it is being
++      # built for inclusion in a dll (and should export symbols for example).
++      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
++      ;;
++
++    darwin* | rhapsody*)
++      # PIC is the default on this platform
++      # Common symbols not allowed in MH_DYLIB files
++      lt_prog_compiler_pic_GCJ='-fno-common'
++      ;;
++
++    msdosdjgpp*)
++      # Just because we use GCC doesn't mean we suddenly get shared libraries
++      # on systems that don't support them.
++      lt_prog_compiler_can_build_shared_GCJ=no
++      enable_shared=no
++      ;;
++
++    sysv4*MP*)
++      if test -d /usr/nec; then
++	lt_prog_compiler_pic_GCJ=-Kconform_pic
++      fi
++      ;;
++
++    hpux*)
++      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
++      # not for PA HP-UX.
++      case "$host_cpu" in
++      hppa*64*|ia64*)
++	# +Z the default
++	;;
++      *)
++	lt_prog_compiler_pic_GCJ='-fPIC'
++	;;
++      esac
++      ;;
++
++    *)
++      lt_prog_compiler_pic_GCJ='-fPIC'
++      ;;
++    esac
++  else
++    # PORTME Check for flag to pass linker flags through the system compiler.
++    case $host_os in
++    aix*)
++      lt_prog_compiler_wl_GCJ='-Wl,'
++      if test "$host_cpu" = ia64; then
++	# AIX 5 now supports IA64 processor
++	lt_prog_compiler_static_GCJ='-Bstatic'
++      else
++	lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
++      fi
++      ;;
++
++    mingw* | pw32* | os2*)
++      # This hack is so that the source file can tell whether it is being
++      # built for inclusion in a dll (and should export symbols for example).
++      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
++      ;;
++
++    hpux9* | hpux10* | hpux11*)
++      lt_prog_compiler_wl_GCJ='-Wl,'
++      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
++      # not for PA HP-UX.
++      case "$host_cpu" in
++      hppa*64*|ia64*)
++	# +Z the default
++	;;
++      *)
++	lt_prog_compiler_pic_GCJ='+Z'
++	;;
++      esac
++      # Is there a better lt_prog_compiler_static that works with the bundled CC?
++      lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
++      ;;
++
++    irix5* | irix6* | nonstopux*)
++      lt_prog_compiler_wl_GCJ='-Wl,'
++      # PIC (with -KPIC) is the default.
++      lt_prog_compiler_static_GCJ='-non_shared'
++      ;;
++
++    newsos6)
++      lt_prog_compiler_pic_GCJ='-KPIC'
++      lt_prog_compiler_static_GCJ='-Bstatic'
++      ;;
++
++    linux*)
++      case $CC in
++      icc* | ecc*)
++	lt_prog_compiler_wl_GCJ='-Wl,'
++	lt_prog_compiler_pic_GCJ='-KPIC'
++	lt_prog_compiler_static_GCJ='-static'
++        ;;
++      ccc*)
++        lt_prog_compiler_wl_GCJ='-Wl,'
++        # All Alpha code is PIC.
++        lt_prog_compiler_static_GCJ='-non_shared'
++        ;;
++      esac
++      ;;
++
++    osf3* | osf4* | osf5*)
++      lt_prog_compiler_wl_GCJ='-Wl,'
++      # All OSF/1 code is PIC.
++      lt_prog_compiler_static_GCJ='-non_shared'
++      ;;
++
++    sco3.2v5*)
++      lt_prog_compiler_pic_GCJ='-Kpic'
++      lt_prog_compiler_static_GCJ='-dn'
++      ;;
++
++    solaris*)
++      lt_prog_compiler_wl_GCJ='-Wl,'
++      lt_prog_compiler_pic_GCJ='-KPIC'
++      lt_prog_compiler_static_GCJ='-Bstatic'
++      ;;
++
++    sunos4*)
++      lt_prog_compiler_wl_GCJ='-Qoption ld '
++      lt_prog_compiler_pic_GCJ='-PIC'
++      lt_prog_compiler_static_GCJ='-Bstatic'
++      ;;
++
++    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
++      lt_prog_compiler_wl_GCJ='-Wl,'
++      lt_prog_compiler_pic_GCJ='-KPIC'
++      lt_prog_compiler_static_GCJ='-Bstatic'
++      ;;
++
++    sysv4*MP*)
++      if test -d /usr/nec ;then
++	lt_prog_compiler_pic_GCJ='-Kconform_pic'
++	lt_prog_compiler_static_GCJ='-Bstatic'
++      fi
++      ;;
++
++    uts4*)
++      lt_prog_compiler_pic_GCJ='-pic'
++      lt_prog_compiler_static_GCJ='-Bstatic'
++      ;;
++
++    *)
++      lt_prog_compiler_can_build_shared_GCJ=no
++      ;;
++    esac
++  fi
++
++echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
++echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
++
++#
++# Check to make sure the PIC flag actually works.
++#
++if test -n "$lt_prog_compiler_pic_GCJ"; then
++  
++echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
++echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
++if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  lt_prog_compiler_pic_works_GCJ=no
++  ac_outfile=conftest.$ac_objext
++   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
++   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
++   # Insert the option either (1) after the last *FLAGS variable, or
++   # (2) before a word containing "conftest.", or (3) at the end.
++   # Note that $ac_compile itself does not contain backslashes and begins
++   # with a dollar sign (not a hyphen), so the echo should work correctly.
++   # The option is referenced via a variable to avoid confusing sed.
++   lt_compile=`echo "$ac_compile" | $SED \
++   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
++   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
++   -e 's:$: $lt_compiler_flag:'`
++   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
++   (eval "$lt_compile" 2>conftest.err)
++   ac_status=$?
++   cat conftest.err >&5
++   echo "$as_me:__oline__: \$? = $ac_status" >&5
++   if (exit $ac_status) && test -s "$ac_outfile"; then
++     # The compiler can only warn and ignore the option if not recognized
++     # So say no if there are warnings
++     if test ! -s conftest.err; then
++       lt_prog_compiler_pic_works_GCJ=yes
++     fi
++   fi
++   $rm conftest*
++
++fi
++echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
++echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
++
++if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
++    case $lt_prog_compiler_pic_GCJ in
++     "" | " "*) ;;
++     *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
++     esac
++else
++    lt_prog_compiler_pic_GCJ=
++     lt_prog_compiler_can_build_shared_GCJ=no
++fi
++
++fi
++case "$host_os" in
++  # For platforms which do not support PIC, -DPIC is meaningless:
++  *djgpp*)
++    lt_prog_compiler_pic_GCJ=
++    ;;
++  *)
++    lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
++    ;;
++esac
++
++echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
++echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
++if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  lt_cv_prog_compiler_c_o_GCJ=no
++   $rm -r conftest 2>/dev/null
++   mkdir conftest
++   cd conftest
++   mkdir out
++   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
++
++   lt_compiler_flag="-o out/conftest2.$ac_objext"
++   # Insert the option either (1) after the last *FLAGS variable, or
++   # (2) before a word containing "conftest.", or (3) at the end.
++   # Note that $ac_compile itself does not contain backslashes and begins
++   # with a dollar sign (not a hyphen), so the echo should work correctly.
++   lt_compile=`echo "$ac_compile" | $SED \
++   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
++   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
++   -e 's:$: $lt_compiler_flag:'`
++   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
++   (eval "$lt_compile" 2>out/conftest.err)
++   ac_status=$?
++   cat out/conftest.err >&5
++   echo "$as_me:__oline__: \$? = $ac_status" >&5
++   if (exit $ac_status) && test -s out/conftest2.$ac_objext
++   then
++     # The compiler can only warn and ignore the option if not recognized
++     # So say no if there are warnings
++     if test ! -s out/conftest.err; then
++       lt_cv_prog_compiler_c_o_GCJ=yes
++     fi
++   fi
++   chmod u+w .
++   $rm conftest*
++   # SGI C++ compiler will create directory out/ii_files/ for
++   # template instantiation
++   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
++   $rm out/* && rmdir out
++   cd ..
++   rmdir conftest
++   $rm conftest*
++
++fi
++echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
++echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
++
++
++hard_links="nottested"
++if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
++  # do not overwrite the value of need_locks provided by the user
++  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
++echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
++  hard_links=yes
++  $rm conftest*
++  ln conftest.a conftest.b 2>/dev/null && hard_links=no
++  touch conftest.a
++  ln conftest.a conftest.b 2>&5 || hard_links=no
++  ln conftest.a conftest.b 2>/dev/null && hard_links=no
++  echo "$as_me:$LINENO: result: $hard_links" >&5
++echo "${ECHO_T}$hard_links" >&6
++  if test "$hard_links" = no; then
++    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
++echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
++    need_locks=warn
++  fi
++else
++  need_locks=no
++fi
++
++echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
++echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
++
++  runpath_var=
++  allow_undefined_flag_GCJ=
++  enable_shared_with_static_runtimes_GCJ=no
++  archive_cmds_GCJ=
++  archive_expsym_cmds_GCJ=
++  old_archive_From_new_cmds_GCJ=
++  old_archive_from_expsyms_cmds_GCJ=
++  export_dynamic_flag_spec_GCJ=
++  whole_archive_flag_spec_GCJ=
++  thread_safe_flag_spec_GCJ=
++  hardcode_libdir_flag_spec_GCJ=
++  hardcode_libdir_flag_spec_ld_GCJ=
++  hardcode_libdir_separator_GCJ=
++  hardcode_direct_GCJ=no
++  hardcode_minus_L_GCJ=no
++  hardcode_shlibpath_var_GCJ=unsupported
++  link_all_deplibs_GCJ=unknown
++  hardcode_automatic_GCJ=no
++  module_cmds_GCJ=
++  module_expsym_cmds_GCJ=
++  always_export_symbols_GCJ=no
++  export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
++  # include_expsyms should be a list of space-separated symbols to be *always*
++  # included in the symbol list
++  include_expsyms_GCJ=
++  # exclude_expsyms can be an extended regexp of symbols to exclude
++  # it will be wrapped by ` (' and `)$', so one must not match beginning or
++  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
++  # as well as any symbol that contains `d'.
++  exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
++  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
++  # platforms (ab)use it in PIC code, but their linkers get confused if
++  # the symbol is explicitly referenced.  Since portable code cannot
++  # rely on this symbol name, it's probably fine to never include it in
++  # preloaded symbol tables.
++  extract_expsyms_cmds=
++
++  case $host_os in
++  cygwin* | mingw* | pw32*)
++    # FIXME: the MSVC++ port hasn't been tested in a loooong time
++    # When not using gcc, we currently assume that we are using
++    # Microsoft Visual C++.
++    if test "$GCC" != yes; then
++      with_gnu_ld=no
++    fi
++    ;;
++  openbsd*)
++    with_gnu_ld=no
++    ;;
++  esac
++
++  ld_shlibs_GCJ=yes
++  if test "$with_gnu_ld" = yes; then
++    # If archive_cmds runs LD, not CC, wlarc should be empty
++    wlarc='${wl}'
++
++    # See if GNU ld supports shared libraries.
++    case $host_os in
++    aix3* | aix4* | aix5*)
++      # On AIX/PPC, the GNU linker is very broken
++      if test "$host_cpu" != ia64; then
++	ld_shlibs_GCJ=no
++	cat <<EOF 1>&2
++
++*** Warning: the GNU linker, at least up to release 2.9.1, is reported
++*** to be unable to reliably create shared libraries on AIX.
++*** Therefore, libtool is disabling shared libraries support.  If you
++*** really care for shared libraries, you may want to modify your PATH
++*** so that a non-GNU linker is found, and then restart.
++
++EOF
++      fi
++      ;;
++
++    amigaos*)
++      archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
++      hardcode_libdir_flag_spec_GCJ='-L$libdir'
++      hardcode_minus_L_GCJ=yes
++
++      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
++      # that the semantics of dynamic libraries on AmigaOS, at least up
++      # to version 4, is to share data among multiple programs linked
++      # with the same dynamic library.  Since this doesn't match the
++      # behavior of shared libraries on other platforms, we can't use
++      # them.
++      ld_shlibs_GCJ=no
++      ;;
++
++    beos*)
++      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
++	allow_undefined_flag_GCJ=unsupported
++	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
++	# support --undefined.  This deserves some investigation.  FIXME
++	archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++      else
++	ld_shlibs_GCJ=no
++      fi
++      ;;
++
++    cygwin* | mingw* | pw32*)
++      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
++      # as there is no search path for DLLs.
++      hardcode_libdir_flag_spec_GCJ='-L$libdir'
++      allow_undefined_flag_GCJ=unsupported
++      always_export_symbols_GCJ=no
++      enable_shared_with_static_runtimes_GCJ=yes
++      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
++
++      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
++        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
++	# If the export-symbols file already is a .def file (1st line
++	# is EXPORTS), use it as is; otherwise, prepend...
++	archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
++	  cp $export_symbols $output_objdir/$soname.def;
++	else
++	  echo EXPORTS > $output_objdir/$soname.def;
++	  cat $export_symbols >> $output_objdir/$soname.def;
++	fi~
++	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
++      else
++	ld_shlibs=no
++      fi
++      ;;
++
++    netbsd* | knetbsd*-gnu)
++      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++	archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
++	wlarc=
++      else
++	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++      fi
++      ;;
++
++    solaris* | sysv5*)
++      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
++	ld_shlibs_GCJ=no
++	cat <<EOF 1>&2
++
++*** Warning: The releases 2.8.* of the GNU linker cannot reliably
++*** create shared libraries on Solaris systems.  Therefore, libtool
++*** is disabling shared libraries support.  We urge you to upgrade GNU
++*** binutils to release 2.9.1 or newer.  Another option is to modify
++*** your PATH or compiler configuration so that the native linker is
++*** used, and then restart.
++
++EOF
++      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
++	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++      else
++	ld_shlibs_GCJ=no
++      fi
++      ;;
++
++    sunos4*)
++      archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++      wlarc=
++      hardcode_direct_GCJ=yes
++      hardcode_shlibpath_var_GCJ=no
++      ;;
++
++  linux*)
++    if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
++        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++	archive_cmds_GCJ="$tmp_archive_cmds"
++      supports_anon_versioning=no
++      case `$LD -v 2>/dev/null` in
++        *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
++        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
++        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
++        *\ 2.11.*) ;; # other 2.11 versions
++        *) supports_anon_versioning=yes ;;
++      esac
++      if test $supports_anon_versioning = yes; then
++        archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
++cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
++$echo "local: *; };" >> $output_objdir/$libname.ver~
++        $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
++      else
++        archive_expsym_cmds_GCJ="$tmp_archive_cmds"
++      fi
++    else
++      ld_shlibs_GCJ=no
++    fi
++    ;;
++
++    *)
++      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
++	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++      else
++	ld_shlibs_GCJ=no
++      fi
++      ;;
++    esac
++
++    if test "$ld_shlibs_GCJ" = yes; then
++      runpath_var=LD_RUN_PATH
++      hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
++      export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
++      # ancient GNU ld didn't support --whole-archive et. al.
++      if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
++ 	whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
++      else
++  	whole_archive_flag_spec_GCJ=
++      fi
++    fi
++  else
++    # PORTME fill in a description of your system's linker (not GNU ld)
++    case $host_os in
++    aix3*)
++      allow_undefined_flag_GCJ=unsupported
++      always_export_symbols_GCJ=yes
++      archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
++      # Note: this linker hardcodes the directories in LIBPATH if there
++      # are no directories specified by -L.
++      hardcode_minus_L_GCJ=yes
++      if test "$GCC" = yes && test -z "$link_static_flag"; then
++	# Neither direct hardcoding nor static linking is supported with a
++	# broken collect2.
++	hardcode_direct_GCJ=unsupported
++      fi
++      ;;
++
++    aix4* | aix5*)
++      if test "$host_cpu" = ia64; then
++	# On IA64, the linker does run time linking by default, so we don't
++	# have to do anything special.
++	aix_use_runtimelinking=no
++	exp_sym_flag='-Bexport'
++	no_entry_flag=""
++      else
++	# If we're using GNU nm, then we don't want the "-C" option.
++	# -C means demangle to AIX nm, but means don't demangle with GNU nm
++	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
++	  export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
++	else
++	  export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
++	fi
++	aix_use_runtimelinking=no
++
++	# Test if we are trying to use run time linking or normal
++	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
++	# need to do runtime linking.
++	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
++	  for ld_flag in $LDFLAGS; do
++  	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
++  	    aix_use_runtimelinking=yes
++  	    break
++  	  fi
++	  done
++	esac
++
++	exp_sym_flag='-bexport'
++	no_entry_flag='-bnoentry'
++      fi
++
++      # When large executables or shared objects are built, AIX ld can
++      # have problems creating the table of contents.  If linking a library
++      # or program results in "error TOC overflow" add -mminimal-toc to
++      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
++      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
++
++      archive_cmds_GCJ=''
++      hardcode_direct_GCJ=yes
++      hardcode_libdir_separator_GCJ=':'
++      link_all_deplibs_GCJ=yes
++
++      if test "$GCC" = yes; then
++	case $host_os in aix4.012|aix4.012.*)
++	# We only want to do this on AIX 4.2 and lower, the check
++	# below for broken collect2 doesn't work under 4.3+
++	  collect2name=`${CC} -print-prog-name=collect2`
++	  if test -f "$collect2name" && \
++  	   strings "$collect2name" | grep resolve_lib_name >/dev/null
++	  then
++  	  # We have reworked collect2
++  	  hardcode_direct_GCJ=yes
++	  else
++  	  # We have old collect2
++  	  hardcode_direct_GCJ=unsupported
++  	  # It fails to find uninstalled libraries when the uninstalled
++  	  # path is not listed in the libpath.  Setting hardcode_minus_L
++  	  # to unsupported forces relinking
++  	  hardcode_minus_L_GCJ=yes
++  	  hardcode_libdir_flag_spec_GCJ='-L$libdir'
++  	  hardcode_libdir_separator_GCJ=
++	  fi
++	esac
++	shared_flag='-shared'
++      else
++	# not using gcc
++	if test "$host_cpu" = ia64; then
++  	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
++  	# chokes on -Wl,-G. The following line is correct:
++	  shared_flag='-G'
++	else
++  	if test "$aix_use_runtimelinking" = yes; then
++	    shared_flag='${wl}-G'
++	  else
++	    shared_flag='${wl}-bM:SRE'
++  	fi
++	fi
++      fi
++
++      # It seems that -bexpall does not export symbols beginning with
++      # underscore (_), so it is better to generate a list of symbols to export.
++      always_export_symbols_GCJ=yes
++      if test "$aix_use_runtimelinking" = yes; then
++	# Warning - without using the other runtime loading flags (-brtl),
++	# -berok will link without error, but may produce a broken library.
++	allow_undefined_flag_GCJ='-berok'
++       # Determine the default libpath from the value encoded in an empty executable.
++       cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  
++aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
++}'`
++# Check for a 64-bit object if we didn't find anything.
++if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
++}'`; fi
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
++
++       hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
++	archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
++       else
++	if test "$host_cpu" = ia64; then
++	  hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
++	  allow_undefined_flag_GCJ="-z nodefs"
++	  archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
++	else
++	 # Determine the default libpath from the value encoded in an empty executable.
++	 cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  
++aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
++}'`
++# Check for a 64-bit object if we didn't find anything.
++if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
++}'`; fi
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
++
++	 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
++	  # Warning - without using the other run time loading flags,
++	  # -berok will link without error, but may produce a broken library.
++	  no_undefined_flag_GCJ=' ${wl}-bernotok'
++	  allow_undefined_flag_GCJ=' ${wl}-berok'
++	  # -bexpall does not export symbols beginning with underscore (_)
++	  always_export_symbols_GCJ=yes
++	  # Exported symbols can be pulled into shared objects from archives
++	  whole_archive_flag_spec_GCJ=' '
++	  archive_cmds_need_lc_GCJ=yes
++	  # This is similar to how AIX traditionally builds it's shared libraries.
++	  archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
++	fi
++      fi
++      ;;
++
++    amigaos*)
++      archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
++      hardcode_libdir_flag_spec_GCJ='-L$libdir'
++      hardcode_minus_L_GCJ=yes
++      # see comment about different semantics on the GNU ld section
++      ld_shlibs_GCJ=no
++      ;;
++
++    bsdi4*)
++      export_dynamic_flag_spec_GCJ=-rdynamic
++      ;;
++
++    cygwin* | mingw* | pw32*)
++      # When not using gcc, we currently assume that we are using
++      # Microsoft Visual C++.
++      # hardcode_libdir_flag_spec is actually meaningless, as there is
++      # no search path for DLLs.
++      hardcode_libdir_flag_spec_GCJ=' '
++      allow_undefined_flag_GCJ=unsupported
++      # Tell ltmain to make .lib files, not .a files.
++      libext=lib
++      # Tell ltmain to make .dll files, not .so files.
++      shrext=".dll"
++      # FIXME: Setting linknames here is a bad hack.
++      archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
++      # The linker will automatically build a .lib file if we build a DLL.
++      old_archive_From_new_cmds_GCJ='true'
++      # FIXME: Should let the user specify the lib program.
++      old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
++      fix_srcfile_path='`cygpath -w "$srcfile"`'
++      enable_shared_with_static_runtimes_GCJ=yes
++      ;;
++
++    darwin* | rhapsody*)
++    if test "$GXX" = yes ; then
++      archive_cmds_need_lc_GCJ=no
++      case "$host_os" in
++      rhapsody* | darwin1.[012])
++	allow_undefined_flag_GCJ='-undefined suppress'
++	;;
++      *) # Darwin 1.3 on
++      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
++      	allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
++      else
++        case ${MACOSX_DEPLOYMENT_TARGET} in
++          10.[012])
++            allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
++            ;;
++          10.*)
++            allow_undefined_flag_GCJ='-undefined dynamic_lookup'
++            ;;
++        esac
++      fi
++	;;
++      esac
++    	lt_int_apple_cc_single_mod=no
++    	output_verbose_link_cmd='echo'
++    	if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
++    	  lt_int_apple_cc_single_mod=yes
++    	fi
++    	if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
++    	  archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
++    	else
++        archive_cmds_GCJ='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
++      fi
++      module_cmds_GCJ='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
++      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
++        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
++          archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++        else
++          archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++        fi
++          module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++      hardcode_direct_GCJ=no
++      hardcode_automatic_GCJ=yes
++      hardcode_shlibpath_var_GCJ=unsupported
++      whole_archive_flag_spec_GCJ='-all_load $convenience'
++      link_all_deplibs_GCJ=yes
++    else
++      ld_shlibs_GCJ=no
++    fi
++      ;;
++
++    dgux*)
++      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_libdir_flag_spec_GCJ='-L$libdir'
++      hardcode_shlibpath_var_GCJ=no
++      ;;
++
++    freebsd1*)
++      ld_shlibs_GCJ=no
++      ;;
++
++    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
++    # support.  Future versions do this automatically, but an explicit c++rt0.o
++    # does not break anything, and helps significantly (at the cost of a little
++    # extra space).
++    freebsd2.2*)
++      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
++      hardcode_libdir_flag_spec_GCJ='-R$libdir'
++      hardcode_direct_GCJ=yes
++      hardcode_shlibpath_var_GCJ=no
++      ;;
++
++    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
++    freebsd2*)
++      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_direct_GCJ=yes
++      hardcode_minus_L_GCJ=yes
++      hardcode_shlibpath_var_GCJ=no
++      ;;
++
++    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
++    freebsd* | kfreebsd*-gnu)
++      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
++      hardcode_libdir_flag_spec_GCJ='-R$libdir'
++      hardcode_direct_GCJ=yes
++      hardcode_shlibpath_var_GCJ=no
++      ;;
++
++    hpux9*)
++      if test "$GCC" = yes; then
++	archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
++      else
++	archive_cmds_GCJ='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
++      fi
++      hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
++      hardcode_libdir_separator_GCJ=:
++      hardcode_direct_GCJ=yes
++
++      # hardcode_minus_L: Not really in the search PATH,
++      # but as the default location of the library.
++      hardcode_minus_L_GCJ=yes
++      export_dynamic_flag_spec_GCJ='${wl}-E'
++      ;;
++
++    hpux10* | hpux11*)
++      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
++	case "$host_cpu" in
++	hppa*64*|ia64*)
++	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++	  ;;
++	*)
++	  archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
++	  ;;
++	esac
++      else
++	case "$host_cpu" in
++	hppa*64*|ia64*)
++	  archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
++	  ;;
++	*)
++	  archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
++	  ;;
++	esac
++      fi
++      if test "$with_gnu_ld" = no; then
++	case "$host_cpu" in
++	hppa*64*)
++	  hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
++	  hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
++	  hardcode_libdir_separator_GCJ=:
++	  hardcode_direct_GCJ=no
++	  hardcode_shlibpath_var_GCJ=no
++	  ;;
++	ia64*)
++	  hardcode_libdir_flag_spec_GCJ='-L$libdir'
++	  hardcode_direct_GCJ=no
++	  hardcode_shlibpath_var_GCJ=no
++
++	  # hardcode_minus_L: Not really in the search PATH,
++	  # but as the default location of the library.
++	  hardcode_minus_L_GCJ=yes
++	  ;;
++	*)
++	  hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
++	  hardcode_libdir_separator_GCJ=:
++	  hardcode_direct_GCJ=yes
++	  export_dynamic_flag_spec_GCJ='${wl}-E'
++
++	  # hardcode_minus_L: Not really in the search PATH,
++	  # but as the default location of the library.
++	  hardcode_minus_L_GCJ=yes
++	  ;;
++	esac
++      fi
++      ;;
++
++    irix5* | irix6* | nonstopux*)
++      if test "$GCC" = yes; then
++	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++      else
++	archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
++	hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
++      fi
++      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
++      hardcode_libdir_separator_GCJ=:
++      link_all_deplibs_GCJ=yes
++      ;;
++
++    netbsd* | knetbsd*-gnu)
++      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++	archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
++      else
++	archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
++      fi
++      hardcode_libdir_flag_spec_GCJ='-R$libdir'
++      hardcode_direct_GCJ=yes
++      hardcode_shlibpath_var_GCJ=no
++      ;;
++
++    newsos6)
++      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_direct_GCJ=yes
++      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
++      hardcode_libdir_separator_GCJ=:
++      hardcode_shlibpath_var_GCJ=no
++      ;;
++
++    openbsd*)
++      hardcode_direct_GCJ=yes
++      hardcode_shlibpath_var_GCJ=no
++      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
++	archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
++	hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
++	export_dynamic_flag_spec_GCJ='${wl}-E'
++      else
++       case $host_os in
++	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
++	   archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
++	   hardcode_libdir_flag_spec_GCJ='-R$libdir'
++	   ;;
++	 *)
++	   archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
++	   hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
++	   ;;
++       esac
++      fi
++      ;;
++
++    os2*)
++      hardcode_libdir_flag_spec_GCJ='-L$libdir'
++      hardcode_minus_L_GCJ=yes
++      allow_undefined_flag_GCJ=unsupported
++      archive_cmds_GCJ='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
++      old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
++      ;;
++
++    osf3*)
++      if test "$GCC" = yes; then
++	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
++	archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++      else
++	allow_undefined_flag_GCJ=' -expect_unresolved \*'
++	archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
++      fi
++      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
++      hardcode_libdir_separator_GCJ=:
++      ;;
++
++    osf4* | osf5*)	# as osf3* with the addition of -msym flag
++      if test "$GCC" = yes; then
++	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
++	archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++	hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
++      else
++	allow_undefined_flag_GCJ=' -expect_unresolved \*'
++	archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
++	archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
++	$LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
++
++	# Both c and cxx compiler support -rpath directly
++	hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
++      fi
++      hardcode_libdir_separator_GCJ=:
++      ;;
++
++    sco3.2v5*)
++      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_shlibpath_var_GCJ=no
++      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
++      runpath_var=LD_RUN_PATH
++      hardcode_runpath_var=yes
++      ;;
++
++    solaris*)
++      no_undefined_flag_GCJ=' -z text'
++      if test "$GCC" = yes; then
++	archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
++      else
++	archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
++	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++  	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
++      fi
++      hardcode_libdir_flag_spec_GCJ='-R$libdir'
++      hardcode_shlibpath_var_GCJ=no
++      case $host_os in
++      solaris2.[0-5] | solaris2.[0-5].*) ;;
++      *) # Supported since Solaris 2.6 (maybe 2.5.1?)
++	whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
++      esac
++      link_all_deplibs_GCJ=yes
++      ;;
++
++    sunos4*)
++      if test "x$host_vendor" = xsequent; then
++	# Use $CC to link under sequent, because it throws in some extra .o
++	# files that make .init and .fini sections work.
++	archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
++      else
++	archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
++      fi
++      hardcode_libdir_flag_spec_GCJ='-L$libdir'
++      hardcode_direct_GCJ=yes
++      hardcode_minus_L_GCJ=yes
++      hardcode_shlibpath_var_GCJ=no
++      ;;
++
++    sysv4)
++      case $host_vendor in
++	sni)
++	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++	  hardcode_direct_GCJ=yes # is this really true???
++	;;
++	siemens)
++	  ## LD is ld it makes a PLAMLIB
++	  ## CC just makes a GrossModule.
++	  archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
++	  reload_cmds_GCJ='$CC -r -o $output$reload_objs'
++	  hardcode_direct_GCJ=no
++        ;;
++	motorola)
++	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++	  hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
++	;;
++      esac
++      runpath_var='LD_RUN_PATH'
++      hardcode_shlibpath_var_GCJ=no
++      ;;
++
++    sysv4.3*)
++      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_shlibpath_var_GCJ=no
++      export_dynamic_flag_spec_GCJ='-Bexport'
++      ;;
++
++    sysv4*MP*)
++      if test -d /usr/nec; then
++	archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++	hardcode_shlibpath_var_GCJ=no
++	runpath_var=LD_RUN_PATH
++	hardcode_runpath_var=yes
++	ld_shlibs_GCJ=yes
++      fi
++      ;;
++
++    sysv4.2uw2*)
++      archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_direct_GCJ=yes
++      hardcode_minus_L_GCJ=no
++      hardcode_shlibpath_var_GCJ=no
++      hardcode_runpath_var=yes
++      runpath_var=LD_RUN_PATH
++      ;;
++
++   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
++      no_undefined_flag_GCJ='${wl}-z ${wl}text'
++      if test "$GCC" = yes; then
++	archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++      else
++	archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++      fi
++      runpath_var='LD_RUN_PATH'
++      hardcode_shlibpath_var_GCJ=no
++      ;;
++
++    sysv5*)
++      no_undefined_flag_GCJ=' -z text'
++      # $CC -shared without GNU ld will not create a library from C++
++      # object files and a static libstdc++, better avoid it by now
++      archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
++  		$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
++      hardcode_libdir_flag_spec_GCJ=
++      hardcode_shlibpath_var_GCJ=no
++      runpath_var='LD_RUN_PATH'
++      ;;
++
++    uts4*)
++      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
++      hardcode_libdir_flag_spec_GCJ='-L$libdir'
++      hardcode_shlibpath_var_GCJ=no
++      ;;
++
++    *)
++      ld_shlibs_GCJ=no
++      ;;
++    esac
++  fi
++
++echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
++echo "${ECHO_T}$ld_shlibs_GCJ" >&6
++test "$ld_shlibs_GCJ" = no && can_build_shared=no
++
++variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
++if test "$GCC" = yes; then
++  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
++fi
++
++#
++# Do we need to explicitly link libc?
++#
++case "x$archive_cmds_need_lc_GCJ" in
++x|xyes)
++  # Assume -lc should be added
++  archive_cmds_need_lc_GCJ=yes
++
++  if test "$enable_shared" = yes && test "$GCC" = yes; then
++    case $archive_cmds_GCJ in
++    *'~'*)
++      # FIXME: we may have to deal with multi-command sequences.
++      ;;
++    '$CC '*)
++      # Test whether the compiler implicitly links with -lc since on some
++      # systems, -lgcc has to come before -lc. If gcc already passes -lc
++      # to ld, don't add -lc before -lgcc.
++      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
++echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
++      $rm conftest*
++      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
++
++      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } 2>conftest.err; then
++        soname=conftest
++        lib=conftest
++        libobjs=conftest.$ac_objext
++        deplibs=
++        wl=$lt_prog_compiler_wl_GCJ
++        compiler_flags=-v
++        linker_flags=-v
++        verstring=
++        output_objdir=.
++        libname=conftest
++        lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
++        allow_undefined_flag_GCJ=
++        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
++  (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }
++        then
++	  archive_cmds_need_lc_GCJ=no
++        else
++	  archive_cmds_need_lc_GCJ=yes
++        fi
++        allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
++      else
++        cat conftest.err 1>&5
++      fi
++      $rm conftest*
++      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
++echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
++      ;;
++    esac
++  fi
++  ;;
++esac
++
++echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
++echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
++library_names_spec=
++libname_spec='lib$name'
++soname_spec=
++shrext=".so"
++postinstall_cmds=
++postuninstall_cmds=
++finish_cmds=
++finish_eval=
++shlibpath_var=
++shlibpath_overrides_runpath=unknown
++version_type=none
++dynamic_linker="$host_os ld.so"
++sys_lib_dlsearch_path_spec="/lib /usr/lib"
++if test "$GCC" = yes; then
++  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
++  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
++    # if the path contains ";" then we assume it to be the separator
++    # otherwise default to the standard path separator (i.e. ":") - it is
++    # assumed that no part of a normal pathname contains ";" but that should
++    # okay in the real world where ";" in dirpaths is itself problematic.
++    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
++  else
++    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
++  fi
++else
++  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
++fi
++need_lib_prefix=unknown
++hardcode_into_libs=no
++
++# when you set need_version to no, make sure it does not cause -set_version
++# flags to be left without arguments
++need_version=unknown
++
++case $host_os in
++aix3*)
++  version_type=linux
++  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
++  shlibpath_var=LIBPATH
++
++  # AIX 3 has no versioning support, so we append a major version to the name.
++  soname_spec='${libname}${release}${shared_ext}$major'
++  ;;
++
++aix4* | aix5*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  hardcode_into_libs=yes
++  if test "$host_cpu" = ia64; then
++    # AIX 5 supports IA64
++    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
++    shlibpath_var=LD_LIBRARY_PATH
++  else
++    # With GCC up to 2.95.x, collect2 would create an import file
++    # for dependence libraries.  The import file would start with
++    # the line `#! .'.  This would cause the generated library to
++    # depend on `.', always an invalid library.  This was fixed in
++    # development snapshots of GCC prior to 3.0.
++    case $host_os in
++      aix4 | aix4.[01] | aix4.[01].*)
++      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
++	   echo ' yes '
++	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
++	:
++      else
++	can_build_shared=no
++      fi
++      ;;
++    esac
++    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
++    # soname into executable. Probably we can add versioning support to
++    # collect2, so additional links can be useful in future.
++    if test "$aix_use_runtimelinking" = yes; then
++      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
++      # instead of lib<name>.a to let people know that these are not
++      # typical AIX shared libraries.
++      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++    else
++      # We preserve .a as extension for shared libraries through AIX4.2
++      # and later when we are not doing run time linking.
++      library_names_spec='${libname}${release}.a $libname.a'
++      soname_spec='${libname}${release}${shared_ext}$major'
++    fi
++    shlibpath_var=LIBPATH
++  fi
++  ;;
++
++amigaos*)
++  library_names_spec='$libname.ixlibrary $libname.a'
++  # Create ${libname}_ixlibrary.a entries in /sys/libs.
++  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
++  ;;
++
++beos*)
++  library_names_spec='${libname}${shared_ext}'
++  dynamic_linker="$host_os ld.so"
++  shlibpath_var=LIBRARY_PATH
++  ;;
++
++bsdi4*)
++  version_type=linux
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
++  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
++  # the default ld.so.conf also contains /usr/contrib/lib and
++  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
++  # libtool to hard-code these into programs
++  ;;
++
++cygwin* | mingw* | pw32*)
++  version_type=windows
++  shrext=".dll"
++  need_version=no
++  need_lib_prefix=no
++
++  case $GCC,$host_os in
++  yes,cygwin* | yes,mingw* | yes,pw32*)
++    library_names_spec='$libname.dll.a'
++    # DLL is installed to $(libdir)/../bin by postinstall_cmds
++    postinstall_cmds='base_file=`basename \${file}`~
++      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
++      dldir=$destdir/`dirname \$dlpath`~
++      test -d \$dldir || mkdir -p \$dldir~
++      $install_prog $dir/$dlname \$dldir/$dlname'
++    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
++      dlpath=$dir/\$dldll~
++       $rm \$dlpath'
++    shlibpath_overrides_runpath=yes
++
++    case $host_os in
++    cygwin*)
++      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
++      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
++      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
++      ;;
++    mingw*)
++      # MinGW DLLs use traditional 'lib' prefix
++      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
++      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
++      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
++        # It is most probably a Windows format PATH printed by
++        # mingw gcc, but we are running on Cygwin. Gcc prints its search
++        # path with ; separators, and with drive letters. We can handle the
++        # drive letters (cygwin fileutils understands them), so leave them,
++        # especially as we might pass files found there to a mingw objdump,
++        # which wouldn't understand a cygwinified path. Ahh.
++        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
++      else
++        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
++      fi
++      ;;
++    pw32*)
++      # pw32 DLLs use 'pw' prefix rather than 'lib'
++      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
++      ;;
++    esac
++    ;;
++
++  *)
++    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
++    ;;
++  esac
++  dynamic_linker='Win32 ld.exe'
++  # FIXME: first we should search . and the directory the executable is in
++  shlibpath_var=PATH
++  ;;
++
++darwin* | rhapsody*)
++  dynamic_linker="$host_os dyld"
++  version_type=darwin
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
++  soname_spec='${libname}${release}${major}$shared_ext'
++  shlibpath_overrides_runpath=yes
++  shlibpath_var=DYLD_LIBRARY_PATH
++  shrext='$(test .$module = .yes && echo .so || echo .dylib)'
++  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
++  if test "$GCC" = yes; then
++    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
++  else
++    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
++  fi
++  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
++  ;;
++
++dgux*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++freebsd1*)
++  dynamic_linker=no
++  ;;
++
++kfreebsd*-gnu)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=no
++  hardcode_into_libs=yes
++  dynamic_linker='GNU ld.so'
++  ;;
++
++freebsd*)
++  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
++  version_type=freebsd-$objformat
++  case $version_type in
++    freebsd-elf*)
++      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
++      need_version=no
++      need_lib_prefix=no
++      ;;
++    freebsd-*)
++      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
++      need_version=yes
++      ;;
++  esac
++  shlibpath_var=LD_LIBRARY_PATH
++  case $host_os in
++  freebsd2*)
++    shlibpath_overrides_runpath=yes
++    ;;
++  freebsd3.01* | freebsdelf3.01*)
++    shlibpath_overrides_runpath=yes
++    hardcode_into_libs=yes
++    ;;
++  *) # from 3.2 on
++    shlibpath_overrides_runpath=no
++    hardcode_into_libs=yes
++    ;;
++  esac
++  ;;
++
++gnu*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  hardcode_into_libs=yes
++  ;;
++
++hpux9* | hpux10* | hpux11*)
++  # Give a soname corresponding to the major version so that dld.sl refuses to
++  # link against other versions.
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=no
++  case "$host_cpu" in
++  ia64*)
++    shrext='.so'
++    hardcode_into_libs=yes
++    dynamic_linker="$host_os dld.so"
++    shlibpath_var=LD_LIBRARY_PATH
++    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
++    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++    soname_spec='${libname}${release}${shared_ext}$major'
++    if test "X$HPUX_IA64_MODE" = X32; then
++      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
++    else
++      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
++    fi
++    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
++    ;;
++   hppa*64*)
++     shrext='.sl'
++     hardcode_into_libs=yes
++     dynamic_linker="$host_os dld.sl"
++     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
++     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
++     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++     soname_spec='${libname}${release}${shared_ext}$major'
++     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
++     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
++     ;;
++   *)
++    shrext='.sl'
++    dynamic_linker="$host_os dld.sl"
++    shlibpath_var=SHLIB_PATH
++    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
++    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++    soname_spec='${libname}${release}${shared_ext}$major'
++    ;;
++  esac
++  # HP-UX runs *really* slowly unless shared libraries are mode 555.
++  postinstall_cmds='chmod 555 $lib'
++  ;;
++
++irix5* | irix6* | nonstopux*)
++  case $host_os in
++    nonstopux*) version_type=nonstopux ;;
++    *)
++	if test "$lt_cv_prog_gnu_ld" = yes; then
++		version_type=linux
++	else
++		version_type=irix
++	fi ;;
++  esac
++  need_lib_prefix=no
++  need_version=no
++  soname_spec='${libname}${release}${shared_ext}$major'
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
++  case $host_os in
++  irix5* | nonstopux*)
++    libsuff= shlibsuff=
++    ;;
++  *)
++    case $LD in # libtool.m4 will add one of these switches to LD
++    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
++      libsuff= shlibsuff= libmagic=32-bit;;
++    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
++      libsuff=32 shlibsuff=N32 libmagic=N32;;
++    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
++      libsuff=64 shlibsuff=64 libmagic=64-bit;;
++    *) libsuff= shlibsuff= libmagic=never-match;;
++    esac
++    ;;
++  esac
++  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
++  shlibpath_overrides_runpath=no
++  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
++  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
++  hardcode_into_libs=yes
++  ;;
++
++# No shared lib support for Linux oldld, aout, or coff.
++linux*oldld* | linux*aout* | linux*coff*)
++  dynamic_linker=no
++  ;;
++
++# This must be Linux ELF.
++linux*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=no
++  # This implies no fast_install, which is unacceptable.
++  # Some rework will be needed to allow for fast_install
++  # before this can be enabled.
++  hardcode_into_libs=yes
++
++  # Append ld.so.conf contents to the search path
++  if test -f /etc/ld.so.conf; then
++    ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf`
++    sys_lib_dlsearch_path_spec="/lib /usr/lib $ld_extra"
++  fi
++
++  # We used to test for /lib/ld.so.1 and disable shared libraries on
++  # powerpc, because MkLinux only supported shared libraries with the
++  # GNU dynamic linker.  Since this was broken with cross compilers,
++  # most powerpc-linux boxes support dynamic linking these days and
++  # people can always --disable-shared, the test was removed, and we
++  # assume the GNU/Linux dynamic linker is in use.
++  dynamic_linker='GNU/Linux ld.so'
++  ;;
++
++knetbsd*-gnu)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=no
++  hardcode_into_libs=yes
++  dynamic_linker='GNU ld.so'
++  ;;
++
++netbsd*)
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=no
++  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
++    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
++    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
++    dynamic_linker='NetBSD (a.out) ld.so'
++  else
++    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
++    soname_spec='${libname}${release}${shared_ext}$major'
++    dynamic_linker='NetBSD ld.elf_so'
++  fi
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  hardcode_into_libs=yes
++  ;;
++
++newsos6)
++  version_type=linux
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  ;;
++
++nto-qnx*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  ;;
++
++openbsd*)
++  version_type=sunos
++  need_lib_prefix=no
++  need_version=yes
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
++  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
++    case $host_os in
++      openbsd2.[89] | openbsd2.[89].*)
++	shlibpath_overrides_runpath=no
++	;;
++      *)
++	shlibpath_overrides_runpath=yes
++	;;
++      esac
++  else
++    shlibpath_overrides_runpath=yes
++  fi
++  ;;
++
++os2*)
++  libname_spec='$name'
++  shrext=".dll"
++  need_lib_prefix=no
++  library_names_spec='$libname${shared_ext} $libname.a'
++  dynamic_linker='OS/2 ld.exe'
++  shlibpath_var=LIBPATH
++  ;;
++
++osf3* | osf4* | osf5*)
++  version_type=osf
++  need_lib_prefix=no
++  need_version=no
++  soname_spec='${libname}${release}${shared_ext}$major'
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  shlibpath_var=LD_LIBRARY_PATH
++  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
++  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
++  ;;
++
++sco3.2v5*)
++  version_type=osf
++  soname_spec='${libname}${release}${shared_ext}$major'
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++solaris*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  hardcode_into_libs=yes
++  # ldd complains unless libraries are executable
++  postinstall_cmds='chmod +x $lib'
++  ;;
++
++sunos4*)
++  version_type=sunos
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
++  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=yes
++  if test "$with_gnu_ld" = yes; then
++    need_lib_prefix=no
++  fi
++  need_version=yes
++  ;;
++
++sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
++  version_type=linux
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  case $host_vendor in
++    sni)
++      shlibpath_overrides_runpath=no
++      need_lib_prefix=no
++      export_dynamic_flag_spec='${wl}-Blargedynsym'
++      runpath_var=LD_RUN_PATH
++      ;;
++    siemens)
++      need_lib_prefix=no
++      ;;
++    motorola)
++      need_lib_prefix=no
++      need_version=no
++      shlibpath_overrides_runpath=no
++      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
++      ;;
++  esac
++  ;;
++
++sysv4*MP*)
++  if test -d /usr/nec ;then
++    version_type=linux
++    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
++    soname_spec='$libname${shared_ext}.$major'
++    shlibpath_var=LD_LIBRARY_PATH
++  fi
++  ;;
++
++uts4*)
++  version_type=linux
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
++  soname_spec='${libname}${release}${shared_ext}$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  ;;
++
++*)
++  dynamic_linker=no
++  ;;
++esac
++echo "$as_me:$LINENO: result: $dynamic_linker" >&5
++echo "${ECHO_T}$dynamic_linker" >&6
++test "$dynamic_linker" = no && can_build_shared=no
++
++echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
++echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
++hardcode_action_GCJ=
++if test -n "$hardcode_libdir_flag_spec_GCJ" || \
++   test -n "$runpath_var GCJ" || \
++   test "X$hardcode_automatic_GCJ"="Xyes" ; then
++
++  # We can hardcode non-existant directories.
++  if test "$hardcode_direct_GCJ" != no &&
++     # If the only mechanism to avoid hardcoding is shlibpath_var, we
++     # have to relink, otherwise we might link with an installed library
++     # when we should be linking with a yet-to-be-installed one
++     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
++     test "$hardcode_minus_L_GCJ" != no; then
++    # Linking always hardcodes the temporary library directory.
++    hardcode_action_GCJ=relink
++  else
++    # We can link without hardcoding, and we can hardcode nonexisting dirs.
++    hardcode_action_GCJ=immediate
++  fi
++else
++  # We cannot hardcode anything, or else we can only hardcode existing
++  # directories.
++  hardcode_action_GCJ=unsupported
++fi
++echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
++echo "${ECHO_T}$hardcode_action_GCJ" >&6
++
++if test "$hardcode_action_GCJ" = relink; then
++  # Fast installation is not supported
++  enable_fast_install=no
++elif test "$shlibpath_overrides_runpath" = yes ||
++     test "$enable_shared" = no; then
++  # Fast installation is not necessary
++  enable_fast_install=needless
++fi
++
++striplib=
++old_striplib=
++echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
++echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
++if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
++  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
++  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
++  echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++else
++# FIXME - insert some real tests, host_os isn't really good enough
++  case $host_os in
++   darwin*)
++       if test -n "$STRIP" ; then
++         striplib="$STRIP -x"
++         echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++       else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++       ;;
++   *)
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++    ;;
++  esac
++fi
++
++if test "x$enable_dlopen" != xyes; then
++  enable_dlopen=unknown
++  enable_dlopen_self=unknown
++  enable_dlopen_self_static=unknown
++else
++  lt_cv_dlopen=no
++  lt_cv_dlopen_libs=
++
++  case $host_os in
++  beos*)
++    lt_cv_dlopen="load_add_on"
++    lt_cv_dlopen_libs=
++    lt_cv_dlopen_self=yes
++    ;;
++
++  mingw* | pw32*)
++    lt_cv_dlopen="LoadLibrary"
++    lt_cv_dlopen_libs=
++   ;;
++
++  cygwin*)
++    lt_cv_dlopen="dlopen"
++    lt_cv_dlopen_libs=
++   ;;
++
++  darwin*)
++  # if libdl is installed we need to link against it
++    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
++echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
++if test "${ac_cv_lib_dl_dlopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ldl  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dlopen ();
++int
++main ()
++{
++dlopen ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_dl_dlopen=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_dl_dlopen=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
++echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
++if test $ac_cv_lib_dl_dlopen = yes; then
++  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
++else
++  
++    lt_cv_dlopen="dyld"
++    lt_cv_dlopen_libs=
++    lt_cv_dlopen_self=yes
++    
++fi
++
++   ;;
++
++  *)
++    echo "$as_me:$LINENO: checking for shl_load" >&5
++echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
++if test "${ac_cv_func_shl_load+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define shl_load innocuous_shl_load
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char shl_load (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef shl_load
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char shl_load ();
++/* 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_shl_load) || defined (__stub___shl_load)
++choke me
++#else
++char (*f) () = shl_load;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != shl_load;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_shl_load=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_shl_load=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
++echo "${ECHO_T}$ac_cv_func_shl_load" >&6
++if test $ac_cv_func_shl_load = yes; then
++  lt_cv_dlopen="shl_load"
++else
++  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
++echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
++if test "${ac_cv_lib_dld_shl_load+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ldld  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char shl_load ();
++int
++main ()
++{
++shl_load ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_dld_shl_load=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_dld_shl_load=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
++echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
++if test $ac_cv_lib_dld_shl_load = yes; then
++  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
++else
++  echo "$as_me:$LINENO: checking for dlopen" >&5
++echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
++if test "${ac_cv_func_dlopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define dlopen innocuous_dlopen
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char dlopen (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef dlopen
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dlopen ();
++/* 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_dlopen) || defined (__stub___dlopen)
++choke me
++#else
++char (*f) () = dlopen;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != dlopen;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_dlopen=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_dlopen=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
++echo "${ECHO_T}$ac_cv_func_dlopen" >&6
++if test $ac_cv_func_dlopen = yes; then
++  lt_cv_dlopen="dlopen"
++else
++  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
++echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
++if test "${ac_cv_lib_dl_dlopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ldl  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dlopen ();
++int
++main ()
++{
++dlopen ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_dl_dlopen=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_dl_dlopen=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
++echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
++if test $ac_cv_lib_dl_dlopen = yes; then
++  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
++else
++  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
++echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
++if test "${ac_cv_lib_svld_dlopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-lsvld  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dlopen ();
++int
++main ()
++{
++dlopen ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_svld_dlopen=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_svld_dlopen=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
++echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
++if test $ac_cv_lib_svld_dlopen = yes; then
++  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
++else
++  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
++echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
++if test "${ac_cv_lib_dld_dld_link+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ldld  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dld_link ();
++int
++main ()
++{
++dld_link ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_dld_dld_link=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_dld_dld_link=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
++echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
++if test $ac_cv_lib_dld_dld_link = yes; then
++  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
++fi
++
++	      
++fi
++
++	    
++fi
++
++	  
++fi
++
++	
++fi
++
++      
++fi
++
++    ;;
++  esac
++
++  if test "x$lt_cv_dlopen" != xno; then
++    enable_dlopen=yes
++  else
++    enable_dlopen=no
++  fi
++
++  case $lt_cv_dlopen in
++  dlopen)
++    save_CPPFLAGS="$CPPFLAGS"
++    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
++
++    save_LDFLAGS="$LDFLAGS"
++    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
++
++    save_LIBS="$LIBS"
++    LIBS="$lt_cv_dlopen_libs $LIBS"
++
++    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
++echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
++if test "${lt_cv_dlopen_self+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  	  if test "$cross_compiling" = yes; then :
++  lt_cv_dlopen_self=cross
++else
++  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
++  lt_status=$lt_dlunknown
++  cat > conftest.$ac_ext <<EOF
++#line __oline__ "configure"
++#include "confdefs.h"
++
++#if HAVE_DLFCN_H
++#include <dlfcn.h>
++#endif
++
++#include <stdio.h>
++
++#ifdef RTLD_GLOBAL
++#  define LT_DLGLOBAL		RTLD_GLOBAL
++#else
++#  ifdef DL_GLOBAL
++#    define LT_DLGLOBAL		DL_GLOBAL
++#  else
++#    define LT_DLGLOBAL		0
++#  endif
++#endif
++
++/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
++   find out it does not work in some platform. */
++#ifndef LT_DLLAZY_OR_NOW
++#  ifdef RTLD_LAZY
++#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
++#  else
++#    ifdef DL_LAZY
++#      define LT_DLLAZY_OR_NOW		DL_LAZY
++#    else
++#      ifdef RTLD_NOW
++#        define LT_DLLAZY_OR_NOW	RTLD_NOW
++#      else
++#        ifdef DL_NOW
++#          define LT_DLLAZY_OR_NOW	DL_NOW
++#        else
++#          define LT_DLLAZY_OR_NOW	0
++#        endif
++#      endif
++#    endif
++#  endif
++#endif
++
++#ifdef __cplusplus
++extern "C" void exit (int);
++#endif
++
++void fnord() { int i=42;}
++int main ()
++{
++  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
++  int status = $lt_dlunknown;
++
++  if (self)
++    {
++      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
++      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
++      /* dlclose (self); */
++    }
++
++    exit (status);
++}
++EOF
++  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
++    (./conftest; exit; ) 2>/dev/null
++    lt_status=$?
++    case x$lt_status in
++      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
++      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
++      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
++    esac
++  else :
++    # compilation failed
++    lt_cv_dlopen_self=no
++  fi
++fi
++rm -fr conftest*
++
++    
++fi
++echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
++echo "${ECHO_T}$lt_cv_dlopen_self" >&6
++
++    if test "x$lt_cv_dlopen_self" = xyes; then
++      LDFLAGS="$LDFLAGS $link_static_flag"
++      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
++echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
++if test "${lt_cv_dlopen_self_static+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  	  if test "$cross_compiling" = yes; then :
++  lt_cv_dlopen_self_static=cross
++else
++  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
++  lt_status=$lt_dlunknown
++  cat > conftest.$ac_ext <<EOF
++#line __oline__ "configure"
++#include "confdefs.h"
++
++#if HAVE_DLFCN_H
++#include <dlfcn.h>
++#endif
++
++#include <stdio.h>
++
++#ifdef RTLD_GLOBAL
++#  define LT_DLGLOBAL		RTLD_GLOBAL
++#else
++#  ifdef DL_GLOBAL
++#    define LT_DLGLOBAL		DL_GLOBAL
++#  else
++#    define LT_DLGLOBAL		0
++#  endif
++#endif
++
++/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
++   find out it does not work in some platform. */
++#ifndef LT_DLLAZY_OR_NOW
++#  ifdef RTLD_LAZY
++#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
++#  else
++#    ifdef DL_LAZY
++#      define LT_DLLAZY_OR_NOW		DL_LAZY
++#    else
++#      ifdef RTLD_NOW
++#        define LT_DLLAZY_OR_NOW	RTLD_NOW
++#      else
++#        ifdef DL_NOW
++#          define LT_DLLAZY_OR_NOW	DL_NOW
++#        else
++#          define LT_DLLAZY_OR_NOW	0
++#        endif
++#      endif
++#    endif
++#  endif
++#endif
++
++#ifdef __cplusplus
++extern "C" void exit (int);
++#endif
++
++void fnord() { int i=42;}
++int main ()
++{
++  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
++  int status = $lt_dlunknown;
++
++  if (self)
++    {
++      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
++      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
++      /* dlclose (self); */
++    }
++
++    exit (status);
++}
++EOF
++  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
++    (./conftest; exit; ) 2>/dev/null
++    lt_status=$?
++    case x$lt_status in
++      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
++      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
++      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
++    esac
++  else :
++    # compilation failed
++    lt_cv_dlopen_self_static=no
++  fi
++fi
++rm -fr conftest*
++
++      
++fi
++echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
++echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
++    fi
++
++    CPPFLAGS="$save_CPPFLAGS"
++    LDFLAGS="$save_LDFLAGS"
++    LIBS="$save_LIBS"
++    ;;
++  esac
++
++  case $lt_cv_dlopen_self in
++  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
++  *) enable_dlopen_self=unknown ;;
++  esac
++
++  case $lt_cv_dlopen_self_static in
++  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
++  *) enable_dlopen_self_static=unknown ;;
++  esac
++fi
++
++
++# The else clause should only fire when bootstrapping the
++# libtool distribution, otherwise you forgot to ship ltmain.sh
++# with your package, and you will get complaints that there are
++# no rules to generate ltmain.sh.
++if test -f "$ltmain"; then
++  # See if we are running on zsh, and set the options which allow our commands through
++  # without removal of \ escapes.
++  if test -n "${ZSH_VERSION+set}" ; then
++    setopt NO_GLOB_SUBST
++  fi
++  # Now quote all the things that may contain metacharacters while being
++  # careful not to overquote the AC_SUBSTed values.  We take copies of the
++  # variables and quote the copies for generation of the libtool script.
++  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
++    SED SHELL STRIP \
++    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
++    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
++    deplibs_check_method reload_flag reload_cmds need_locks \
++    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
++    lt_cv_sys_global_symbol_to_c_name_address \
++    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
++    old_postinstall_cmds old_postuninstall_cmds \
++    compiler_GCJ \
++    CC_GCJ \
++    LD_GCJ \
++    lt_prog_compiler_wl_GCJ \
++    lt_prog_compiler_pic_GCJ \
++    lt_prog_compiler_static_GCJ \
++    lt_prog_compiler_no_builtin_flag_GCJ \
++    export_dynamic_flag_spec_GCJ \
++    thread_safe_flag_spec_GCJ \
++    whole_archive_flag_spec_GCJ \
++    enable_shared_with_static_runtimes_GCJ \
++    old_archive_cmds_GCJ \
++    old_archive_from_new_cmds_GCJ \
++    predep_objects_GCJ \
++    postdep_objects_GCJ \
++    predeps_GCJ \
++    postdeps_GCJ \
++    compiler_lib_search_path_GCJ \
++    archive_cmds_GCJ \
++    archive_expsym_cmds_GCJ \
++    postinstall_cmds_GCJ \
++    postuninstall_cmds_GCJ \
++    old_archive_from_expsyms_cmds_GCJ \
++    allow_undefined_flag_GCJ \
++    no_undefined_flag_GCJ \
++    export_symbols_cmds_GCJ \
++    hardcode_libdir_flag_spec_GCJ \
++    hardcode_libdir_flag_spec_ld_GCJ \
++    hardcode_libdir_separator_GCJ \
++    hardcode_automatic_GCJ \
++    module_cmds_GCJ \
++    module_expsym_cmds_GCJ \
++    lt_cv_prog_compiler_c_o_GCJ \
++    exclude_expsyms_GCJ \
++    include_expsyms_GCJ; do
++
++    case $var in
++    old_archive_cmds_GCJ | \
++    old_archive_from_new_cmds_GCJ | \
++    archive_cmds_GCJ | \
++    archive_expsym_cmds_GCJ | \
++    module_cmds_GCJ | \
++    module_expsym_cmds_GCJ | \
++    old_archive_from_expsyms_cmds_GCJ | \
++    export_symbols_cmds_GCJ | \
++    extract_expsyms_cmds | reload_cmds | finish_cmds | \
++    postinstall_cmds | postuninstall_cmds | \
++    old_postinstall_cmds | old_postuninstall_cmds | \
++    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
++      # Double-quote double-evaled strings.
++      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
++      ;;
++    *)
++      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
++      ;;
++    esac
++  done
++
++  case $lt_echo in
++  *'\$0 --fallback-echo"')
++    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
++    ;;
++  esac
++
++cfgfile="$ofile"
++
++  cat <<__EOF__ >> "$cfgfile"
++# ### BEGIN LIBTOOL TAG CONFIG: $tagname
++
++# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
++
++# Shell to use when invoking shell scripts.
++SHELL=$lt_SHELL
++
++# Whether or not to build shared libraries.
++build_libtool_libs=$enable_shared
++
++# Whether or not to build static libraries.
++build_old_libs=$enable_static
++
++# Whether or not to add -lc for building shared libraries.
++build_libtool_need_lc=$archive_cmds_need_lc_GCJ
++
++# Whether or not to disallow shared libs when runtime libs are static
++allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
++
++# Whether or not to optimize for fast installation.
++fast_install=$enable_fast_install
++
++# The host system.
++host_alias=$host_alias
++host=$host
++
++# An echo program that does not interpret backslashes.
++echo=$lt_echo
++
++# The archiver.
++AR=$lt_AR
++AR_FLAGS=$lt_AR_FLAGS
++
++# A C compiler.
++LTCC=$lt_LTCC
++
++# A language-specific compiler.
++CC=$lt_compiler_GCJ
++
++# Is the compiler the GNU C compiler?
++with_gcc=$GCC_GCJ
++
++# An ERE matcher.
++EGREP=$lt_EGREP
++
++# The linker used to build libraries.
++LD=$lt_LD_GCJ
++
++# Whether we need hard or soft links.
++LN_S=$lt_LN_S
++
++# A BSD-compatible nm program.
++NM=$lt_NM
++
++# A symbol stripping program
++STRIP=$lt_STRIP
++
++# Used to examine libraries when file_magic_cmd begins "file"
++MAGIC_CMD=$MAGIC_CMD
++
++# Used on cygwin: DLL creation program.
++DLLTOOL="$DLLTOOL"
++
++# Used on cygwin: object dumper.
++OBJDUMP="$OBJDUMP"
++
++# Used on cygwin: assembler.
++AS="$AS"
++
++# The name of the directory that contains temporary libtool files.
++objdir=$objdir
++
++# How to create reloadable object files.
++reload_flag=$lt_reload_flag
++reload_cmds=$lt_reload_cmds
++
++# How to pass a linker flag through the compiler.
++wl=$lt_lt_prog_compiler_wl_GCJ
++
++# Object file suffix (normally "o").
++objext="$ac_objext"
++
++# Old archive suffix (normally "a").
++libext="$libext"
++
++# Shared library suffix (normally ".so").
++shrext='$shrext'
++
++# Executable file suffix (normally "").
++exeext="$exeext"
++
++# Additional compiler flags for building library objects.
++pic_flag=$lt_lt_prog_compiler_pic_GCJ
++pic_mode=$pic_mode
++
++# What is the maximum length of a command?
++max_cmd_len=$lt_cv_sys_max_cmd_len
++
++# Does compiler simultaneously support -c and -o options?
++compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
++
++# Must we lock files when doing compilation ?
++need_locks=$lt_need_locks
++
++# Do we need the lib prefix for modules?
++need_lib_prefix=$need_lib_prefix
++
++# Do we need a version for libraries?
++need_version=$need_version
++
++# Whether dlopen is supported.
++dlopen_support=$enable_dlopen
++
++# Whether dlopen of programs is supported.
++dlopen_self=$enable_dlopen_self
++
++# Whether dlopen of statically linked programs is supported.
++dlopen_self_static=$enable_dlopen_self_static
++
++# Compiler flag to prevent dynamic linking.
++link_static_flag=$lt_lt_prog_compiler_static_GCJ
++
++# Compiler flag to turn off builtin functions.
++no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
++
++# Compiler flag to allow reflexive dlopens.
++export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
++
++# Compiler flag to generate shared objects directly from archives.
++whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
++
++# Compiler flag to generate thread-safe objects.
++thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
++
++# Library versioning type.
++version_type=$version_type
++
++# Format of library name prefix.
++libname_spec=$lt_libname_spec
++
++# List of archive names.  First name is the real one, the rest are links.
++# The last name is the one that the linker finds with -lNAME.
++library_names_spec=$lt_library_names_spec
++
++# The coded name of the library, if different from the real name.
++soname_spec=$lt_soname_spec
++
++# Commands used to build and install an old-style archive.
++RANLIB=$lt_RANLIB
++old_archive_cmds=$lt_old_archive_cmds_GCJ
++old_postinstall_cmds=$lt_old_postinstall_cmds
++old_postuninstall_cmds=$lt_old_postuninstall_cmds
++
++# Create an old-style archive from a shared archive.
++old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
++
++# Create a temporary old-style archive to link instead of a shared archive.
++old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
++
++# Commands used to build and install a shared archive.
++archive_cmds=$lt_archive_cmds_GCJ
++archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
++postinstall_cmds=$lt_postinstall_cmds
++postuninstall_cmds=$lt_postuninstall_cmds
++
++# Commands used to build a loadable module (assumed same as above if empty)
++module_cmds=$lt_module_cmds_GCJ
++module_expsym_cmds=$lt_module_expsym_cmds_GCJ
++
++# Commands to strip libraries.
++old_striplib=$lt_old_striplib
++striplib=$lt_striplib
++
++# Dependencies to place before the objects being linked to create a
++# shared library.
++predep_objects=$lt_predep_objects_GCJ
++
++# Dependencies to place after the objects being linked to create a
++# shared library.
++postdep_objects=$lt_postdep_objects_GCJ
++
++# Dependencies to place before the objects being linked to create a
++# shared library.
++predeps=$lt_predeps_GCJ
++
++# Dependencies to place after the objects being linked to create a
++# shared library.
++postdeps=$lt_postdeps_GCJ
++
++# The library search path used internally by the compiler when linking
++# a shared library.
++compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
++
++# Method to check whether dependent libraries are shared objects.
++deplibs_check_method=$lt_deplibs_check_method
++
++# Command to use when deplibs_check_method == file_magic.
++file_magic_cmd=$lt_file_magic_cmd
++
++# Flag that allows shared libraries with undefined symbols to be built.
++allow_undefined_flag=$lt_allow_undefined_flag_GCJ
++
++# Flag that forces no undefined symbols.
++no_undefined_flag=$lt_no_undefined_flag_GCJ
++
++# Commands used to finish a libtool library installation in a directory.
++finish_cmds=$lt_finish_cmds
++
++# Same as above, but a single script fragment to be evaled but not shown.
++finish_eval=$lt_finish_eval
++
++# Take the output of nm and produce a listing of raw symbols and C names.
++global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
++
++# Transform the output of nm in a proper C declaration
++global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
++
++# Transform the output of nm in a C name address pair
++global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
++
++# This is the shared library runtime path variable.
++runpath_var=$runpath_var
++
++# This is the shared library path variable.
++shlibpath_var=$shlibpath_var
++
++# Is shlibpath searched before the hard-coded library search path?
++shlibpath_overrides_runpath=$shlibpath_overrides_runpath
++
++# How to hardcode a shared library path into an executable.
++hardcode_action=$hardcode_action_GCJ
++
++# Whether we should hardcode library paths into libraries.
++hardcode_into_libs=$hardcode_into_libs
++
++# Flag to hardcode \$libdir into a binary during linking.
++# This must work even if \$libdir does not exist.
++hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
++
++# If ld is used when linking, flag to hardcode \$libdir into
++# a binary during linking. This must work even if \$libdir does
++# not exist.
++hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
++
++# Whether we need a single -rpath flag with a separated argument.
++hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
++
++# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
++# resulting binary.
++hardcode_direct=$hardcode_direct_GCJ
++
++# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
++# resulting binary.
++hardcode_minus_L=$hardcode_minus_L_GCJ
++
++# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
++# the resulting binary.
++hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
++
++# Set to yes if building a shared library automatically hardcodes DIR into the library
++# and all subsequent libraries and executables linked against it.
++hardcode_automatic=$hardcode_automatic_GCJ
++
++# Variables whose values should be saved in libtool wrapper scripts and
++# restored at relink time.
++variables_saved_for_relink="$variables_saved_for_relink"
++
++# Whether libtool must link a program against all its dependency libraries.
++link_all_deplibs=$link_all_deplibs_GCJ
++
++# Compile-time system search path for libraries
++sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
++
++# Run-time system search path for libraries
++sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
++
++# Fix the shell variable \$srcfile for the compiler.
++fix_srcfile_path="$fix_srcfile_path_GCJ"
++
++# Set to yes if exported symbols are required.
++always_export_symbols=$always_export_symbols_GCJ
++
++# The commands to list exported symbols.
++export_symbols_cmds=$lt_export_symbols_cmds_GCJ
++
++# The commands to extract the exported symbol list from a shared archive.
++extract_expsyms_cmds=$lt_extract_expsyms_cmds
++
++# Symbols that should not be listed in the preloaded symbols.
++exclude_expsyms=$lt_exclude_expsyms_GCJ
++
++# Symbols that must always be exported.
++include_expsyms=$lt_include_expsyms_GCJ
++
++# ### END LIBTOOL TAG CONFIG: $tagname
++
++__EOF__
++
++
++else
++  # If there is no Makefile yet, we rely on a make rule to execute
++  # `config.status --recheck' to rerun these tests and create the
++  # libtool script then.
++  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
++  if test -f "$ltmain_in"; then
++    test -f Makefile && make "$ltmain"
++  fi
++fi
++
++
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++CC="$lt_save_CC"
++
++	else
++	  tagname=""
++	fi
++	;;
++
++      RC)
++	
++
++
++# Source file extension for RC test sources.
++ac_ext=rc
++
++# Object file extension for compiled RC test sources.
++objext=o
++objext_RC=$objext
++
++# Code to be used in simple compile tests
++lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
++
++# Code to be used in simple link tests
++lt_simple_link_test_code="$lt_simple_compile_test_code"
++
++# ltmain only uses $CC for tagged configurations so make sure $CC is set.
++
++# If no C compiler was specified, use CC.
++LTCC=${LTCC-"$CC"}
++
++# Allow CC to be a program name with arguments.
++compiler=$CC
++
++
++# Allow CC to be a program name with arguments.
++lt_save_CC="$CC"
++CC=${RC-"windres"}
++compiler=$CC
++compiler_RC=$CC
++lt_cv_prog_compiler_c_o_RC=yes
++
++# The else clause should only fire when bootstrapping the
++# libtool distribution, otherwise you forgot to ship ltmain.sh
++# with your package, and you will get complaints that there are
++# no rules to generate ltmain.sh.
++if test -f "$ltmain"; then
++  # See if we are running on zsh, and set the options which allow our commands through
++  # without removal of \ escapes.
++  if test -n "${ZSH_VERSION+set}" ; then
++    setopt NO_GLOB_SUBST
++  fi
++  # Now quote all the things that may contain metacharacters while being
++  # careful not to overquote the AC_SUBSTed values.  We take copies of the
++  # variables and quote the copies for generation of the libtool script.
++  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
++    SED SHELL STRIP \
++    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
++    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
++    deplibs_check_method reload_flag reload_cmds need_locks \
++    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
++    lt_cv_sys_global_symbol_to_c_name_address \
++    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
++    old_postinstall_cmds old_postuninstall_cmds \
++    compiler_RC \
++    CC_RC \
++    LD_RC \
++    lt_prog_compiler_wl_RC \
++    lt_prog_compiler_pic_RC \
++    lt_prog_compiler_static_RC \
++    lt_prog_compiler_no_builtin_flag_RC \
++    export_dynamic_flag_spec_RC \
++    thread_safe_flag_spec_RC \
++    whole_archive_flag_spec_RC \
++    enable_shared_with_static_runtimes_RC \
++    old_archive_cmds_RC \
++    old_archive_from_new_cmds_RC \
++    predep_objects_RC \
++    postdep_objects_RC \
++    predeps_RC \
++    postdeps_RC \
++    compiler_lib_search_path_RC \
++    archive_cmds_RC \
++    archive_expsym_cmds_RC \
++    postinstall_cmds_RC \
++    postuninstall_cmds_RC \
++    old_archive_from_expsyms_cmds_RC \
++    allow_undefined_flag_RC \
++    no_undefined_flag_RC \
++    export_symbols_cmds_RC \
++    hardcode_libdir_flag_spec_RC \
++    hardcode_libdir_flag_spec_ld_RC \
++    hardcode_libdir_separator_RC \
++    hardcode_automatic_RC \
++    module_cmds_RC \
++    module_expsym_cmds_RC \
++    lt_cv_prog_compiler_c_o_RC \
++    exclude_expsyms_RC \
++    include_expsyms_RC; do
++
++    case $var in
++    old_archive_cmds_RC | \
++    old_archive_from_new_cmds_RC | \
++    archive_cmds_RC | \
++    archive_expsym_cmds_RC | \
++    module_cmds_RC | \
++    module_expsym_cmds_RC | \
++    old_archive_from_expsyms_cmds_RC | \
++    export_symbols_cmds_RC | \
++    extract_expsyms_cmds | reload_cmds | finish_cmds | \
++    postinstall_cmds | postuninstall_cmds | \
++    old_postinstall_cmds | old_postuninstall_cmds | \
++    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
++      # Double-quote double-evaled strings.
++      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
++      ;;
++    *)
++      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
++      ;;
++    esac
++  done
++
++  case $lt_echo in
++  *'\$0 --fallback-echo"')
++    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
++    ;;
++  esac
++
++cfgfile="$ofile"
++
++  cat <<__EOF__ >> "$cfgfile"
++# ### BEGIN LIBTOOL TAG CONFIG: $tagname
++
++# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
++
++# Shell to use when invoking shell scripts.
++SHELL=$lt_SHELL
++
++# Whether or not to build shared libraries.
++build_libtool_libs=$enable_shared
++
++# Whether or not to build static libraries.
++build_old_libs=$enable_static
++
++# Whether or not to add -lc for building shared libraries.
++build_libtool_need_lc=$archive_cmds_need_lc_RC
++
++# Whether or not to disallow shared libs when runtime libs are static
++allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
++
++# Whether or not to optimize for fast installation.
++fast_install=$enable_fast_install
++
++# The host system.
++host_alias=$host_alias
++host=$host
++
++# An echo program that does not interpret backslashes.
++echo=$lt_echo
++
++# The archiver.
++AR=$lt_AR
++AR_FLAGS=$lt_AR_FLAGS
++
++# A C compiler.
++LTCC=$lt_LTCC
++
++# A language-specific compiler.
++CC=$lt_compiler_RC
++
++# Is the compiler the GNU C compiler?
++with_gcc=$GCC_RC
++
++# An ERE matcher.
++EGREP=$lt_EGREP
++
++# The linker used to build libraries.
++LD=$lt_LD_RC
++
++# Whether we need hard or soft links.
++LN_S=$lt_LN_S
++
++# A BSD-compatible nm program.
++NM=$lt_NM
++
++# A symbol stripping program
++STRIP=$lt_STRIP
++
++# Used to examine libraries when file_magic_cmd begins "file"
++MAGIC_CMD=$MAGIC_CMD
++
++# Used on cygwin: DLL creation program.
++DLLTOOL="$DLLTOOL"
++
++# Used on cygwin: object dumper.
++OBJDUMP="$OBJDUMP"
++
++# Used on cygwin: assembler.
++AS="$AS"
++
++# The name of the directory that contains temporary libtool files.
++objdir=$objdir
++
++# How to create reloadable object files.
++reload_flag=$lt_reload_flag
++reload_cmds=$lt_reload_cmds
++
++# How to pass a linker flag through the compiler.
++wl=$lt_lt_prog_compiler_wl_RC
++
++# Object file suffix (normally "o").
++objext="$ac_objext"
++
++# Old archive suffix (normally "a").
++libext="$libext"
++
++# Shared library suffix (normally ".so").
++shrext='$shrext'
++
++# Executable file suffix (normally "").
++exeext="$exeext"
++
++# Additional compiler flags for building library objects.
++pic_flag=$lt_lt_prog_compiler_pic_RC
++pic_mode=$pic_mode
++
++# What is the maximum length of a command?
++max_cmd_len=$lt_cv_sys_max_cmd_len
++
++# Does compiler simultaneously support -c and -o options?
++compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
++
++# Must we lock files when doing compilation ?
++need_locks=$lt_need_locks
++
++# Do we need the lib prefix for modules?
++need_lib_prefix=$need_lib_prefix
++
++# Do we need a version for libraries?
++need_version=$need_version
++
++# Whether dlopen is supported.
++dlopen_support=$enable_dlopen
++
++# Whether dlopen of programs is supported.
++dlopen_self=$enable_dlopen_self
++
++# Whether dlopen of statically linked programs is supported.
++dlopen_self_static=$enable_dlopen_self_static
++
++# Compiler flag to prevent dynamic linking.
++link_static_flag=$lt_lt_prog_compiler_static_RC
++
++# Compiler flag to turn off builtin functions.
++no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
++
++# Compiler flag to allow reflexive dlopens.
++export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
++
++# Compiler flag to generate shared objects directly from archives.
++whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
++
++# Compiler flag to generate thread-safe objects.
++thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
++
++# Library versioning type.
++version_type=$version_type
++
++# Format of library name prefix.
++libname_spec=$lt_libname_spec
++
++# List of archive names.  First name is the real one, the rest are links.
++# The last name is the one that the linker finds with -lNAME.
++library_names_spec=$lt_library_names_spec
++
++# The coded name of the library, if different from the real name.
++soname_spec=$lt_soname_spec
++
++# Commands used to build and install an old-style archive.
++RANLIB=$lt_RANLIB
++old_archive_cmds=$lt_old_archive_cmds_RC
++old_postinstall_cmds=$lt_old_postinstall_cmds
++old_postuninstall_cmds=$lt_old_postuninstall_cmds
++
++# Create an old-style archive from a shared archive.
++old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
++
++# Create a temporary old-style archive to link instead of a shared archive.
++old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
++
++# Commands used to build and install a shared archive.
++archive_cmds=$lt_archive_cmds_RC
++archive_expsym_cmds=$lt_archive_expsym_cmds_RC
++postinstall_cmds=$lt_postinstall_cmds
++postuninstall_cmds=$lt_postuninstall_cmds
++
++# Commands used to build a loadable module (assumed same as above if empty)
++module_cmds=$lt_module_cmds_RC
++module_expsym_cmds=$lt_module_expsym_cmds_RC
++
++# Commands to strip libraries.
++old_striplib=$lt_old_striplib
++striplib=$lt_striplib
++
++# Dependencies to place before the objects being linked to create a
++# shared library.
++predep_objects=$lt_predep_objects_RC
++
++# Dependencies to place after the objects being linked to create a
++# shared library.
++postdep_objects=$lt_postdep_objects_RC
++
++# Dependencies to place before the objects being linked to create a
++# shared library.
++predeps=$lt_predeps_RC
++
++# Dependencies to place after the objects being linked to create a
++# shared library.
++postdeps=$lt_postdeps_RC
++
++# The library search path used internally by the compiler when linking
++# a shared library.
++compiler_lib_search_path=$lt_compiler_lib_search_path_RC
++
++# Method to check whether dependent libraries are shared objects.
++deplibs_check_method=$lt_deplibs_check_method
++
++# Command to use when deplibs_check_method == file_magic.
++file_magic_cmd=$lt_file_magic_cmd
++
++# Flag that allows shared libraries with undefined symbols to be built.
++allow_undefined_flag=$lt_allow_undefined_flag_RC
++
++# Flag that forces no undefined symbols.
++no_undefined_flag=$lt_no_undefined_flag_RC
++
++# Commands used to finish a libtool library installation in a directory.
++finish_cmds=$lt_finish_cmds
++
++# Same as above, but a single script fragment to be evaled but not shown.
++finish_eval=$lt_finish_eval
++
++# Take the output of nm and produce a listing of raw symbols and C names.
++global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
++
++# Transform the output of nm in a proper C declaration
++global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
++
++# Transform the output of nm in a C name address pair
++global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
++
++# This is the shared library runtime path variable.
++runpath_var=$runpath_var
++
++# This is the shared library path variable.
++shlibpath_var=$shlibpath_var
++
++# Is shlibpath searched before the hard-coded library search path?
++shlibpath_overrides_runpath=$shlibpath_overrides_runpath
++
++# How to hardcode a shared library path into an executable.
++hardcode_action=$hardcode_action_RC
++
++# Whether we should hardcode library paths into libraries.
++hardcode_into_libs=$hardcode_into_libs
++
++# Flag to hardcode \$libdir into a binary during linking.
++# This must work even if \$libdir does not exist.
++hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
++
++# If ld is used when linking, flag to hardcode \$libdir into
++# a binary during linking. This must work even if \$libdir does
++# not exist.
++hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
++
++# Whether we need a single -rpath flag with a separated argument.
++hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
++
++# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
++# resulting binary.
++hardcode_direct=$hardcode_direct_RC
++
++# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
++# resulting binary.
++hardcode_minus_L=$hardcode_minus_L_RC
++
++# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
++# the resulting binary.
++hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
++
++# Set to yes if building a shared library automatically hardcodes DIR into the library
++# and all subsequent libraries and executables linked against it.
++hardcode_automatic=$hardcode_automatic_RC
++
++# Variables whose values should be saved in libtool wrapper scripts and
++# restored at relink time.
++variables_saved_for_relink="$variables_saved_for_relink"
++
++# Whether libtool must link a program against all its dependency libraries.
++link_all_deplibs=$link_all_deplibs_RC
++
++# Compile-time system search path for libraries
++sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
++
++# Run-time system search path for libraries
++sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
++
++# Fix the shell variable \$srcfile for the compiler.
++fix_srcfile_path="$fix_srcfile_path_RC"
++
++# Set to yes if exported symbols are required.
++always_export_symbols=$always_export_symbols_RC
++
++# The commands to list exported symbols.
++export_symbols_cmds=$lt_export_symbols_cmds_RC
++
++# The commands to extract the exported symbol list from a shared archive.
++extract_expsyms_cmds=$lt_extract_expsyms_cmds
++
++# Symbols that should not be listed in the preloaded symbols.
++exclude_expsyms=$lt_exclude_expsyms_RC
++
++# Symbols that must always be exported.
++include_expsyms=$lt_include_expsyms_RC
++
++# ### END LIBTOOL TAG CONFIG: $tagname
++
++__EOF__
++
++
++else
++  # If there is no Makefile yet, we rely on a make rule to execute
++  # `config.status --recheck' to rerun these tests and create the
++  # libtool script then.
++  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
++  if test -f "$ltmain_in"; then
++    test -f Makefile && make "$ltmain"
++  fi
++fi
++
++
++ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++CC="$lt_save_CC"
++
++	;;
++
++      *)
++	{ { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
++echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
++   { (exit 1); exit 1; }; }
++	;;
++      esac
++
++      # Append the new tag name to the list of available tags.
++      if test -n "$tagname" ; then
++      available_tags="$available_tags $tagname"
++    fi
++    fi
++  done
++  IFS="$lt_save_ifs"
++
++  # Now substitute the updated list of available tags.
++  if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
++    mv "${ofile}T" "$ofile"
++    chmod +x "$ofile"
++  else
++    rm -f "${ofile}T"
++    { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
++echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
++   { (exit 1); exit 1; }; }
++  fi
++fi
++
++
++
++# This can be used to rebuild libtool when needed
++LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
++
++# Always use our own libtool.
++LIBTOOL='$(SHELL) $(top_builddir)/libtool'
++
++# Prevent multiple expansion
++
++
++
++
++
++
++
++
++
++
++
++  
++
++  
++
++
++  
++       
++       
++
++
++
++WFLAGS_NOUNUSED=""
++WFLAGS_NOIMPLICITINT=""
++if test -z "$WFLAGS" -a "$GCC" = "yes"; then
++  # -Wno-implicit-int for broken X11 headers
++  # leave these out for now:
++  #   -Wcast-align doesn't work well on alpha osf/1
++  #   -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast
++  #   -Wmissing-declarations -Wnested-externs
++  WFLAGS="-Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs"
++  WFLAGS_NOUNUSED="-Wno-unused"
++  WFLAGS_NOIMPLICITINT="-Wno-implicit-int"
++fi
++
++
++
++
++# Check whether --with-openldap or --without-openldap was given.
++if test "${with_openldap+set}" = set; then
++  withval="$with_openldap"
++  
++fi; 
++
++# Check whether --with-openldap-lib or --without-openldap-lib was given.
++if test "${with_openldap_lib+set}" = set; then
++  withval="$with_openldap_lib"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-openldap-lib" >&5
++echo "$as_me: error: No argument for --with-openldap-lib" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_openldap" = "X"; then
++  with_openldap=yes
++fi
++fi; 
++
++# Check whether --with-openldap-include or --without-openldap-include was given.
++if test "${with_openldap_include+set}" = set; then
++  withval="$with_openldap_include"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-openldap-include" >&5
++echo "$as_me: error: No argument for --with-openldap-include" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_openldap" = "X"; then
++  with_openldap=yes
++fi
++fi; 
++
++# Check whether --with-openldap-config or --without-openldap-config was given.
++if test "${with_openldap_config+set}" = set; then
++  withval="$with_openldap_config"
++  
++fi; 
++
++
++
++echo "$as_me:$LINENO: checking for openldap" >&5
++echo $ECHO_N "checking for openldap... $ECHO_C" >&6
++
++case "$with_openldap" in
++yes|"") d='' ;;
++no)	d= ;;
++*)	d="$with_openldap" ;;
++esac
++
++header_dirs=
++lib_dirs=
++for i in $d /usr; do
++	if test "$with_openldap_include" = ""; then
++		if test -d "$i/include/openldap"; then
++			header_dirs="$header_dirs $i/include/openldap"
++		fi
++		if test -d "$i/include"; then
++			header_dirs="$header_dirs $i/include"
++		fi
++	fi
++	if test "$with_openldap_lib" = ""; then
++		if test -d "$i/lib$abilibdirext"; then
++			lib_dirs="$lib_dirs $i/lib$abilibdirext"
++		fi
++	fi
++done
++
++if test "$with_openldap_include"; then
++	header_dirs="$with_openldap_include $header_dirs"
++fi
++if test "$with_openldap_lib"; then
++	lib_dirs="$with_openldap_lib $lib_dirs"
++fi
++
++if test "$with_openldap_config" = ""; then
++	with_openldap_config=''
++fi
++
++openldap_cflags=
++openldap_libs=
++
++case "$with_openldap_config" in
++yes|no|"")
++	;;
++*)
++	openldap_cflags="`$with_openldap_config --cflags 2>&1`"
++	openldap_libs="`$with_openldap_config --libs 2>&1`"
++	;;
++esac
++
++found=no
++if test "$with_openldap" != no; then
++	save_CFLAGS="$CFLAGS"
++	save_LIBS="$LIBS"
++	if test "$openldap_cflags" -a "$openldap_libs"; then
++		CFLAGS="$openldap_cflags $save_CFLAGS"
++		LIBS="$openldap_libs $save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <lber.h>
++#include <ldap.h>
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  
++			INCLUDE_openldap="$openldap_cflags"
++			LIB_openldap="$openldap_libs"
++			echo "$as_me:$LINENO: result: from $with_openldap_config" >&5
++echo "${ECHO_T}from $with_openldap_config" >&6
++			found=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	fi
++	if test "$found" = no; then
++		ires= lres=
++		for i in $header_dirs; do
++			CFLAGS="-I$i $save_CFLAGS"
++			cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <lber.h>
++#include <ldap.h>
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ires=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++		done
++		for i in $lib_dirs; do
++			LIBS="-L$i -lldap -llber  $save_LIBS"
++			cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <lber.h>
++#include <ldap.h>
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  lres=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++		done
++		if test "$ires" -a "$lres" -a "$with_openldap" != "no"; then
++			DIR_openldap=
++			INCLUDE_openldap="-I$ires"
++			LIB_openldap="-L$lres -lldap -llber "
++			found=yes
++			echo "$as_me:$LINENO: result: headers $ires, libraries $lres" >&5
++echo "${ECHO_T}headers $ires, libraries $lres" >&6
++		fi
++	fi
++	CFLAGS="$save_CFLAGS"
++	LIBS="$save_LIBS"
++fi
++
++if test "$found" = yes; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define OPENLDAP 1
++_ACEOF
++
++	with_openldap=yes
++else
++	with_openldap=no
++	DIR_openldap=
++	INCLUDE_openldap=
++	LIB_openldap=
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++
++
++
++
++
++
++
++# Check whether --with-krb4 or --without-krb4 was given.
++if test "${with_krb4+set}" = set; then
++  withval="$with_krb4"
++  
++fi; 
++
++# Check whether --with-krb4-lib or --without-krb4-lib was given.
++if test "${with_krb4_lib+set}" = set; then
++  withval="$with_krb4_lib"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-krb4-lib" >&5
++echo "$as_me: error: No argument for --with-krb4-lib" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_krb4" = "X"; then
++  with_krb4=yes
++fi
++fi; 
++
++# Check whether --with-krb4-include or --without-krb4-include was given.
++if test "${with_krb4_include+set}" = set; then
++  withval="$with_krb4_include"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-krb4-include" >&5
++echo "$as_me: error: No argument for --with-krb4-include" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_krb4" = "X"; then
++  with_krb4=yes
++fi
++fi; 
++
++# Check whether --with-krb4-config or --without-krb4-config was given.
++if test "${with_krb4_config+set}" = set; then
++  withval="$with_krb4_config"
++  
++fi; 
++
++
++
++echo "$as_me:$LINENO: checking for krb4" >&5
++echo $ECHO_N "checking for krb4... $ECHO_C" >&6
++
++case "$with_krb4" in
++yes|"") d='/usr/athena' ;;
++no)	d= ;;
++*)	d="$with_krb4" ;;
++esac
++
++header_dirs=
++lib_dirs=
++for i in $d /usr; do
++	if test "$with_krb4_include" = ""; then
++		if test -d "$i/include/krb4"; then
++			header_dirs="$header_dirs $i/include/krb4"
++		fi
++		if test -d "$i/include"; then
++			header_dirs="$header_dirs $i/include"
++		fi
++	fi
++	if test "$with_krb4_lib" = ""; then
++		if test -d "$i/lib$abilibdirext"; then
++			lib_dirs="$lib_dirs $i/lib$abilibdirext"
++		fi
++	fi
++done
++
++if test "$with_krb4_include"; then
++	header_dirs="$with_krb4_include $header_dirs"
++fi
++if test "$with_krb4_lib"; then
++	lib_dirs="$with_krb4_lib $lib_dirs"
++fi
++
++if test "$with_krb4_config" = ""; then
++	with_krb4_config='krb4-config'
++fi
++
++krb4_cflags=
++krb4_libs=
++
++case "$with_krb4_config" in
++yes|no|"")
++	;;
++*)
++	krb4_cflags="`$with_krb4_config --cflags 2>&1`"
++	krb4_libs="`$with_krb4_config --libs 2>&1`"
++	;;
++esac
++
++found=no
++if test "$with_krb4" != no; then
++	save_CFLAGS="$CFLAGS"
++	save_LIBS="$LIBS"
++	if test "$krb4_cflags" -a "$krb4_libs"; then
++		CFLAGS="$krb4_cflags $save_CFLAGS"
++		LIBS="$krb4_libs $save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <krb.h>
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  
++			INCLUDE_krb4="$krb4_cflags"
++			LIB_krb4="$krb4_libs"
++			echo "$as_me:$LINENO: result: from $with_krb4_config" >&5
++echo "${ECHO_T}from $with_krb4_config" >&6
++			found=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	fi
++	if test "$found" = no; then
++		ires= lres=
++		for i in $header_dirs; do
++			CFLAGS="-I$i $save_CFLAGS"
++			cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <krb.h>
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ires=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++		done
++		for i in $lib_dirs; do
++			LIBS="-L$i -lkrb -ldes $save_LIBS"
++			cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <krb.h>
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  lres=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++		done
++		if test "$ires" -a "$lres" -a "$with_krb4" != "no"; then
++			DIR_krb4=
++			INCLUDE_krb4="-I$ires"
++			LIB_krb4="-L$lres -lkrb -ldes"
++			found=yes
++			echo "$as_me:$LINENO: result: headers $ires, libraries $lres" >&5
++echo "${ECHO_T}headers $ires, libraries $lres" >&6
++		fi
++	fi
++	CFLAGS="$save_CFLAGS"
++	LIBS="$save_LIBS"
++fi
++
++if test "$found" = yes; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define KRB4 1
++_ACEOF
++
++	with_krb4=yes
++else
++	with_krb4=no
++	DIR_krb4=
++	INCLUDE_krb4=
++	LIB_krb4=
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++
++
++
++
++
++LIB_kdb=
++if test "$with_krb4" != "no"; then
++	save_CFLAGS="$CFLAGS"
++	CFLAGS="$CFLAGS $INCLUDE_krb4"
++	save_LIBS="$LIBS"
++	LIBS="$LIB_krb4 $LIBS"
++	EXTRA_LIB45=lib45.a
++	
++	echo "$as_me:$LINENO: checking for four valued krb_put_int" >&5
++echo $ECHO_N "checking for four valued krb_put_int... $ECHO_C" >&6
++if test "${ac_cv_func_krb_put_int_four+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <krb.h>
++int
++main ()
++{
++
++		char tmp[4];
++		krb_put_int(17, tmp, 4, sizeof(tmp));
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_krb_put_int_four=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_krb_put_int_four=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++	
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_krb_put_int_four" >&5
++echo "${ECHO_T}$ac_cv_func_krb_put_int_four" >&6
++	if test "$ac_cv_func_krb_put_int_four" = yes; then
++		
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_FOUR_VALUED_KRB_PUT_INT 1
++_ACEOF
++
++	fi
++	
++
++	echo "$as_me:$LINENO: checking for KRB_VERIFY_SECURE" >&5
++echo $ECHO_N "checking for KRB_VERIFY_SECURE... $ECHO_C" >&6
++if test "${ac_cv_func_krb_verify_secure+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <krb.h>
++int
++main ()
++{
++
++		int x = KRB_VERIFY_SECURE
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_krb_verify_secure=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_krb_verify_secure=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++	
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_krb_verify_secure" >&5
++echo "${ECHO_T}$ac_cv_func_krb_verify_secure" >&6
++	if test "$ac_cv_func_krb_verify_secure" != yes; then
++		
++cat >>confdefs.h <<\_ACEOF
++@%:@define KRB_VERIFY_SECURE 1
++_ACEOF
++
++		
++cat >>confdefs.h <<\_ACEOF
++@%:@define KRB_VERIFY_SECURE_FAIL 2
++_ACEOF
++
++	fi
++	echo "$as_me:$LINENO: checking for KRB_VERIFY_NOT_SECURE" >&5
++echo $ECHO_N "checking for KRB_VERIFY_NOT_SECURE... $ECHO_C" >&6
++if test "${ac_cv_func_krb_verify_not_secure+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <krb.h>
++int
++main ()
++{
++
++		int x = KRB_VERIFY_NOT_SECURE
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_krb_verify_not_secure=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_krb_verify_not_secure=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++	
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_krb_verify_not_secure" >&5
++echo "${ECHO_T}$ac_cv_func_krb_verify_not_secure" >&6
++	if test "$ac_cv_func_krb_verify_not_secure" != yes; then
++		
++cat >>confdefs.h <<\_ACEOF
++@%:@define KRB_VERIFY_NOT_SECURE 0
++_ACEOF
++
++	fi
++	
++
++
++
++echo "$as_me:$LINENO: checking for krb_enable_debug" >&5
++echo $ECHO_N "checking for krb_enable_debug... $ECHO_C" >&6
++if test "${ac_cv_funclib_krb_enable_debug+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_krb_enable_debug\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++krb_enable_debug()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_krb_enable_debug=$ac_lib; else ac_cv_funclib_krb_enable_debug=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_krb_enable_debug=\${ac_cv_funclib_krb_enable_debug-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_krb_enable_debug"
++
++if false; then
++	
++for ac_func in krb_enable_debug
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# krb_enable_debug
++eval "ac_tr_func=HAVE_`echo krb_enable_debug | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_krb_enable_debug=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_krb_enable_debug=yes"
++	eval "LIB_krb_enable_debug="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_krb_enable_debug=no"
++	eval "LIB_krb_enable_debug="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_krb_enable_debug=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_krb_enable_debug"; then
++	LIBS="$LIB_krb_enable_debug $LIBS"
++fi
++
++	
++
++
++
++echo "$as_me:$LINENO: checking for krb_disable_debug" >&5
++echo $ECHO_N "checking for krb_disable_debug... $ECHO_C" >&6
++if test "${ac_cv_funclib_krb_disable_debug+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_krb_disable_debug\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++krb_disable_debug()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_krb_disable_debug=$ac_lib; else ac_cv_funclib_krb_disable_debug=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_krb_disable_debug=\${ac_cv_funclib_krb_disable_debug-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_krb_disable_debug"
++
++if false; then
++	
++for ac_func in krb_disable_debug
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# krb_disable_debug
++eval "ac_tr_func=HAVE_`echo krb_disable_debug | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_krb_disable_debug=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_krb_disable_debug=yes"
++	eval "LIB_krb_disable_debug="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_krb_disable_debug=no"
++	eval "LIB_krb_disable_debug="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_krb_disable_debug=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_krb_disable_debug"; then
++	LIBS="$LIB_krb_disable_debug $LIBS"
++fi
++
++	
++
++
++
++echo "$as_me:$LINENO: checking for krb_get_our_ip_for_realm" >&5
++echo $ECHO_N "checking for krb_get_our_ip_for_realm... $ECHO_C" >&6
++if test "${ac_cv_funclib_krb_get_our_ip_for_realm+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_krb_get_our_ip_for_realm\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++krb_get_our_ip_for_realm()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_krb_get_our_ip_for_realm=$ac_lib; else ac_cv_funclib_krb_get_our_ip_for_realm=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_krb_get_our_ip_for_realm=\${ac_cv_funclib_krb_get_our_ip_for_realm-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_krb_get_our_ip_for_realm"
++
++if false; then
++	
++for ac_func in krb_get_our_ip_for_realm
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# krb_get_our_ip_for_realm
++eval "ac_tr_func=HAVE_`echo krb_get_our_ip_for_realm | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_krb_get_our_ip_for_realm=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_krb_get_our_ip_for_realm=yes"
++	eval "LIB_krb_get_our_ip_for_realm="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_krb_get_our_ip_for_realm=no"
++	eval "LIB_krb_get_our_ip_for_realm="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_krb_get_our_ip_for_realm=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_krb_get_our_ip_for_realm"; then
++	LIBS="$LIB_krb_get_our_ip_for_realm $LIBS"
++fi
++
++	
++
++
++
++echo "$as_me:$LINENO: checking for krb_kdctimeofday" >&5
++echo $ECHO_N "checking for krb_kdctimeofday... $ECHO_C" >&6
++if test "${ac_cv_funclib_krb_kdctimeofday+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_krb_kdctimeofday\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++krb_kdctimeofday()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_krb_kdctimeofday=$ac_lib; else ac_cv_funclib_krb_kdctimeofday=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_krb_kdctimeofday=\${ac_cv_funclib_krb_kdctimeofday-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_krb_kdctimeofday"
++
++if false; then
++	
++for ac_func in krb_kdctimeofday
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# krb_kdctimeofday
++eval "ac_tr_func=HAVE_`echo krb_kdctimeofday | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_krb_kdctimeofday=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_krb_kdctimeofday=yes"
++	eval "LIB_krb_kdctimeofday="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_krb_kdctimeofday=no"
++	eval "LIB_krb_kdctimeofday="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_krb_kdctimeofday=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_krb_kdctimeofday"; then
++	LIBS="$LIB_krb_kdctimeofday $LIBS"
++fi
++
++	
++
++	
++
++
++
++echo "$as_me:$LINENO: checking for krb_get_kdc_time_diff" >&5
++echo $ECHO_N "checking for krb_get_kdc_time_diff... $ECHO_C" >&6
++if test "${ac_cv_funclib_krb_get_kdc_time_diff+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_krb_get_kdc_time_diff\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++krb_get_kdc_time_diff()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_krb_get_kdc_time_diff=$ac_lib; else ac_cv_funclib_krb_get_kdc_time_diff=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_krb_get_kdc_time_diff=\${ac_cv_funclib_krb_get_kdc_time_diff-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_krb_get_kdc_time_diff"
++
++if false; then
++	
++for ac_func in krb_get_kdc_time_diff
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# krb_get_kdc_time_diff
++eval "ac_tr_func=HAVE_`echo krb_get_kdc_time_diff | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_krb_get_kdc_time_diff=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_krb_get_kdc_time_diff=yes"
++	eval "LIB_krb_get_kdc_time_diff="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_krb_get_kdc_time_diff=no"
++	eval "LIB_krb_get_kdc_time_diff="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_krb_get_kdc_time_diff=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_krb_get_kdc_time_diff"; then
++	LIBS="$LIB_krb_get_kdc_time_diff $LIBS"
++fi
++
++	
++
++	echo "$as_me:$LINENO: checking for KRB_SENDAUTH_VERS" >&5
++echo $ECHO_N "checking for KRB_SENDAUTH_VERS... $ECHO_C" >&6
++if test "${ac_cv_func_krb_sendauth_vers+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <krb.h>
++			#include <prot.h>
++int
++main ()
++{
++
++		char *x = KRB_SENDAUTH_VERS
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_krb_sendauth_vers=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_krb_sendauth_vers=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++	
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_krb_sendauth_vers" >&5
++echo "${ECHO_T}$ac_cv_func_krb_sendauth_vers" >&6
++	if test "$ac_cv_func_krb_sendauth_vers" != yes; then
++		
++cat >>confdefs.h <<\_ACEOF
++@%:@define KRB_SENDAUTH_VERS "AUTHV0.1"
++_ACEOF
++
++	fi
++	echo "$as_me:$LINENO: checking for krb_mk_req with const arguments" >&5
++echo $ECHO_N "checking for krb_mk_req with const arguments... $ECHO_C" >&6
++if test "${ac_cv_func_krb_mk_req_const+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <krb.h>
++		int krb_mk_req(KTEXT a, const char *s, const char *i,
++			       const char *r, int32_t checksum)
++		{ return 17; }
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_krb_mk_req_const=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_krb_mk_req_const=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++	
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_krb_mk_req_const" >&5
++echo "${ECHO_T}$ac_cv_func_krb_mk_req_const" >&6
++	if test "$ac_cv_func_krb_mk_req_const" = "yes"; then
++		
++cat >>confdefs.h <<\_ACEOF
++@%:@define KRB_MK_REQ_CONST 1
++_ACEOF
++
++	fi
++
++	LIBS="$save_LIBS"
++	CFLAGS="$save_CFLAGS"
++	LIB_kdb="-lkdb -lkrb"
++fi
++
++
++if test "$with_krb4" != "no"; then
++  KRB4_TRUE=
++  KRB4_FALSE='#'
++else
++  KRB4_TRUE='#'
++  KRB4_FALSE=
++fi
++
++
++
++if true; then
++  KRB5_TRUE=
++  KRB5_FALSE='#'
++else
++  KRB5_TRUE='#'
++  KRB5_FALSE=
++fi
++
++
++
++if true; then
++  do_roken_rename_TRUE=
++  do_roken_rename_FALSE='#'
++else
++  do_roken_rename_TRUE='#'
++  do_roken_rename_FALSE=
++fi
++
++
++
++cat >>confdefs.h <<\_ACEOF
++@%:@define KRB5 1
++_ACEOF
++
++
++crypto_lib=unknown
++
++
++# Check whether --with-openssl or --without-openssl was given.
++if test "${with_openssl+set}" = set; then
++  withval="$with_openssl"
++  
++fi; 
++
++
++# Check whether --with-openssl-lib or --without-openssl-lib was given.
++if test "${with_openssl_lib+set}" = set; then
++  withval="$with_openssl_lib"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-openssl-lib" >&5
++echo "$as_me: error: No argument for --with-openssl-lib" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_openssl" = "X"; then
++  with_openssl=yes
++fi
++fi; 
++
++
++# Check whether --with-openssl-include or --without-openssl-include was given.
++if test "${with_openssl_include+set}" = set; then
++  withval="$with_openssl_include"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-openssl-include" >&5
++echo "$as_me: error: No argument for --with-openssl-include" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_openssl" = "X"; then
++  with_openssl=yes
++fi
++fi; 
++
++case "$with_openssl" in
++yes)	;;
++no)	;;
++"")	;;
++*)	if test "$with_openssl_include" = ""; then
++		with_openssl_include="$with_openssl/include"
++	fi
++	if test "$with_openssl_lib" = ""; then
++		with_openssl_lib="$with_openssl/lib$abilibdirext"
++	fi
++	;;
++esac
++
++
++DIR_des=
++
++echo "$as_me:$LINENO: checking for crypto library" >&5
++echo $ECHO_N "checking for crypto library... $ECHO_C" >&6
++
++openssl=no
++old_hash=no
++
++if test "$crypto_lib" = "unknown" -a "$with_krb4" != "no"; then
++	save_CPPFLAGS="$CPPFLAGS"
++	save_LIBS="$LIBS"
++
++	cdirs= clibs=
++	for i in $LIB_krb4; do
++		case "$i" in
++		-L*) cdirs="$cdirs $i";;
++		-l*) clibs="$clibs $i";;
++		esac
++	done
++
++	ires=
++	for i in $INCLUDE_krb4; do
++		CFLAGS="-DHAVE_OPENSSL $i $save_CFLAGS"
++		for j in $cdirs; do
++			for k in $clibs; do
++				LIBS="$j $k $save_LIBS"
++				cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++		#undef KRB5 /* makes md4.h et al unhappy */
++		#ifdef HAVE_OPENSSL
++		#include <openssl/md4.h>
++		#include <openssl/md5.h>
++		#include <openssl/sha.h>
++		#define OPENSSL_DES_LIBDES_COMPATIBILITY
++		#include <openssl/des.h>
++		#include <openssl/rc4.h>
++		#include <openssl/rand.h>
++		#else
++		#include <md4.h>
++		#include <md5.h>
++		#include <sha.h>
++		#include <des.h>
++		#include <rc4.h>
++		#endif
++		#ifdef OLD_HASH_NAMES
++		typedef struct md4 MD4_CTX;
++		#define MD4_Init(C) md4_init((C))
++		#define MD4_Update(C, D, L) md4_update((C), (D), (L))
++		#define MD4_Final(D, C) md4_finito((C), (D))
++		typedef struct md5 MD5_CTX;
++		#define MD5_Init(C) md5_init((C))
++		#define MD5_Update(C, D, L) md5_update((C), (D), (L))
++		#define MD5_Final(D, C) md5_finito((C), (D))
++		typedef struct sha SHA_CTX;
++		#define SHA1_Init(C) sha_init((C))
++		#define SHA1_Update(C, D, L) sha_update((C), (D), (L))
++		#define SHA1_Final(D, C) sha_finito((C), (D))
++		#endif
++		
++int
++main ()
++{
++
++		void *schedule = 0;
++		MD4_CTX md4;
++		MD5_CTX md5;
++		SHA_CTX sha1;
++
++		MD4_Init(&md4);
++		MD5_Init(&md5);
++		SHA1_Init(&sha1);
++		#ifdef HAVE_OPENSSL
++		RAND_status();
++		#endif
++
++		des_cbc_encrypt(0, 0, 0, schedule, 0, 0);
++		RC4(0, 0, 0, 0);
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  openssl=yes ires="$i" lres="$j $k"; break 3
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++			done
++		done
++		CFLAGS="$i $save_CFLAGS"
++		for j in $cdirs; do
++			for k in $clibs; do
++				LIBS="$j $k $save_LIBS"
++				cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++		#undef KRB5 /* makes md4.h et al unhappy */
++		#ifdef HAVE_OPENSSL
++		#include <openssl/md4.h>
++		#include <openssl/md5.h>
++		#include <openssl/sha.h>
++		#define OPENSSL_DES_LIBDES_COMPATIBILITY
++		#include <openssl/des.h>
++		#include <openssl/rc4.h>
++		#include <openssl/rand.h>
++		#else
++		#include <md4.h>
++		#include <md5.h>
++		#include <sha.h>
++		#include <des.h>
++		#include <rc4.h>
++		#endif
++		#ifdef OLD_HASH_NAMES
++		typedef struct md4 MD4_CTX;
++		#define MD4_Init(C) md4_init((C))
++		#define MD4_Update(C, D, L) md4_update((C), (D), (L))
++		#define MD4_Final(D, C) md4_finito((C), (D))
++		typedef struct md5 MD5_CTX;
++		#define MD5_Init(C) md5_init((C))
++		#define MD5_Update(C, D, L) md5_update((C), (D), (L))
++		#define MD5_Final(D, C) md5_finito((C), (D))
++		typedef struct sha SHA_CTX;
++		#define SHA1_Init(C) sha_init((C))
++		#define SHA1_Update(C, D, L) sha_update((C), (D), (L))
++		#define SHA1_Final(D, C) sha_finito((C), (D))
++		#endif
++		
++int
++main ()
++{
++
++		void *schedule = 0;
++		MD4_CTX md4;
++		MD5_CTX md5;
++		SHA_CTX sha1;
++
++		MD4_Init(&md4);
++		MD5_Init(&md5);
++		SHA1_Init(&sha1);
++		#ifdef HAVE_OPENSSL
++		RAND_status();
++		#endif
++
++		des_cbc_encrypt(0, 0, 0, schedule, 0, 0);
++		RC4(0, 0, 0, 0);
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  openssl=no ires="$i" lres="$j $k"; break 3
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++			done
++		done
++		CFLAGS="-DHAVE_OLD_HASH_NAMES $i $save_CFLAGS"
++		for j in $cdirs; do
++			for k in $clibs; do
++				LIBS="$j $k $save_LIBS"
++				cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++		#undef KRB5 /* makes md4.h et al unhappy */
++		#ifdef HAVE_OPENSSL
++		#include <openssl/md4.h>
++		#include <openssl/md5.h>
++		#include <openssl/sha.h>
++		#define OPENSSL_DES_LIBDES_COMPATIBILITY
++		#include <openssl/des.h>
++		#include <openssl/rc4.h>
++		#include <openssl/rand.h>
++		#else
++		#include <md4.h>
++		#include <md5.h>
++		#include <sha.h>
++		#include <des.h>
++		#include <rc4.h>
++		#endif
++		#ifdef OLD_HASH_NAMES
++		typedef struct md4 MD4_CTX;
++		#define MD4_Init(C) md4_init((C))
++		#define MD4_Update(C, D, L) md4_update((C), (D), (L))
++		#define MD4_Final(D, C) md4_finito((C), (D))
++		typedef struct md5 MD5_CTX;
++		#define MD5_Init(C) md5_init((C))
++		#define MD5_Update(C, D, L) md5_update((C), (D), (L))
++		#define MD5_Final(D, C) md5_finito((C), (D))
++		typedef struct sha SHA_CTX;
++		#define SHA1_Init(C) sha_init((C))
++		#define SHA1_Update(C, D, L) sha_update((C), (D), (L))
++		#define SHA1_Final(D, C) sha_finito((C), (D))
++		#endif
++		
++int
++main ()
++{
++
++		void *schedule = 0;
++		MD4_CTX md4;
++		MD5_CTX md5;
++		SHA_CTX sha1;
++
++		MD4_Init(&md4);
++		MD5_Init(&md5);
++		SHA1_Init(&sha1);
++		#ifdef HAVE_OPENSSL
++		RAND_status();
++		#endif
++
++		des_cbc_encrypt(0, 0, 0, schedule, 0, 0);
++		RC4(0, 0, 0, 0);
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  openssl=no ires="$i" lres="$j $k"; break 3
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++			done
++		done
++	done
++		
++	CFLAGS="$save_CFLAGS"
++	LIBS="$save_LIBS"
++	if test "$ires" -a "$lres"; then
++		INCLUDE_des="$ires"
++		LIB_des="$lres"
++		crypto_lib=krb4
++		echo "$as_me:$LINENO: result: same as krb4" >&5
++echo "${ECHO_T}same as krb4" >&6
++		LIB_des_a='$(LIB_des)'
++		LIB_des_so='$(LIB_des)'
++		LIB_des_appl='$(LIB_des)'
++	fi
++fi
++
++if test "$crypto_lib" = "unknown" -a "$with_openssl" != "no"; then
++	save_CFLAGS="$CFLAGS"
++	save_LIBS="$LIBS"
++	INCLUDE_des=
++	LIB_des=
++	if test "$with_openssl_include" != ""; then
++		INCLUDE_des="-I${with_openssl_include}"
++	fi
++	if test "$with_openssl_lib" != ""; then
++		LIB_des="-L${with_openssl_lib}"
++	fi
++	CFLAGS="-DHAVE_OPENSSL ${INCLUDE_des} ${CFLAGS}"
++	saved_LIB_des="$LIB_des"
++	for lres in "" "-lnsl -lsocket"; do
++		LIB_des="${saved_LIB_des} -lcrypto $lres"
++		LIB_des_a="$LIB_des"
++		LIB_des_so="$LIB_des"
++		LIB_des_appl="$LIB_des"
++		LIBS="${LIBS} ${LIB_des}"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++		#undef KRB5 /* makes md4.h et al unhappy */
++		#ifdef HAVE_OPENSSL
++		#include <openssl/md4.h>
++		#include <openssl/md5.h>
++		#include <openssl/sha.h>
++		#define OPENSSL_DES_LIBDES_COMPATIBILITY
++		#include <openssl/des.h>
++		#include <openssl/rc4.h>
++		#include <openssl/rand.h>
++		#else
++		#include <md4.h>
++		#include <md5.h>
++		#include <sha.h>
++		#include <des.h>
++		#include <rc4.h>
++		#endif
++		#ifdef OLD_HASH_NAMES
++		typedef struct md4 MD4_CTX;
++		#define MD4_Init(C) md4_init((C))
++		#define MD4_Update(C, D, L) md4_update((C), (D), (L))
++		#define MD4_Final(D, C) md4_finito((C), (D))
++		typedef struct md5 MD5_CTX;
++		#define MD5_Init(C) md5_init((C))
++		#define MD5_Update(C, D, L) md5_update((C), (D), (L))
++		#define MD5_Final(D, C) md5_finito((C), (D))
++		typedef struct sha SHA_CTX;
++		#define SHA1_Init(C) sha_init((C))
++		#define SHA1_Update(C, D, L) sha_update((C), (D), (L))
++		#define SHA1_Final(D, C) sha_finito((C), (D))
++		#endif
++		
++int
++main ()
++{
++
++		void *schedule = 0;
++		MD4_CTX md4;
++		MD5_CTX md5;
++		SHA_CTX sha1;
++
++		MD4_Init(&md4);
++		MD5_Init(&md5);
++		SHA1_Init(&sha1);
++		#ifdef HAVE_OPENSSL
++		RAND_status();
++		#endif
++
++		des_cbc_encrypt(0, 0, 0, schedule, 0, 0);
++		RC4(0, 0, 0, 0);
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  
++			crypto_lib=libcrypto openssl=yes
++			echo "$as_me:$LINENO: result: libcrypto" >&5
++echo "${ECHO_T}libcrypto" >&6
++		
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++		if test "$crypto_lib" = libcrypto ; then
++			break;
++		fi
++	done
++	CFLAGS="$save_CFLAGS"
++	LIBS="$save_LIBS"
++fi
++
++if test "$crypto_lib" = "unknown"; then
++
++  DIR_des='des'
++  LIB_des='$(top_builddir)/lib/des/libdes.la'
++  LIB_des_a='$(top_builddir)/lib/des/.libs/libdes.a'
++  LIB_des_so='$(top_builddir)/lib/des/.libs/libdes.so'
++  LIB_des_appl="-ldes"
++
++  echo "$as_me:$LINENO: result: included libdes" >&5
++echo "${ECHO_T}included libdes" >&6
++
++fi
++
++if test "$with_krb4" != no -a "$crypto_lib" != krb4; then
++	{ { echo "$as_me:$LINENO: error: the crypto library used by krb4 lacks features
++required by Kerberos 5; to continue, you need to install a newer 
++Kerberos 4 or configure --without-krb4" >&5
++echo "$as_me: error: the crypto library used by krb4 lacks features
++required by Kerberos 5; to continue, you need to install a newer 
++Kerberos 4 or configure --without-krb4" >&2;}
++   { (exit 1); exit 1; }; }
++fi
++
++if test "$openssl" = "yes"; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_OPENSSL 1
++_ACEOF
++
++fi
++if test "$old_hash" = yes; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_OLD_HASH_NAMES 1
++_ACEOF
++
++fi
++
++
++if test "$openssl" = yes; then
++  HAVE_OPENSSL_TRUE=
++  HAVE_OPENSSL_FALSE='#'
++else
++  HAVE_OPENSSL_TRUE='#'
++  HAVE_OPENSSL_FALSE=
++fi
++
++
++
++
++
++
++
++
++
++# Check whether --enable-dce or --disable-dce was given.
++if test "${enable_dce+set}" = set; then
++  enableval="$enable_dce"
++  
++fi; 
++if test "$enable_dce" = yes; then
++    
++cat >>confdefs.h <<\_ACEOF
++@%:@define DCE 1
++_ACEOF
++
++fi
++
++
++if test "$enable_dce" = yes; then
++  DCE_TRUE=
++  DCE_FALSE='#'
++else
++  DCE_TRUE='#'
++  DCE_FALSE=
++fi
++
++
++## XXX quite horrible:
++if test -f /etc/ibmcxx.cfg; then
++	dpagaix_ldadd=`sed -n '/^xlc_r4/,/^$/p' /etc/ibmcxx.cfg | sed -n -e '/libraries/{;s/^[^=]*=\(.*\)/\1/;s/,/ /gp;}'`
++	dpagaix_cflags=`sed -n '/^xlc_r4/,/^$/p' /etc/ibmcxx.cfg | sed -n -e '/options/{;s/^[^=]*=\(.*\)/\1/;s/-q^,*//;s/,/ /gp;}'`
++	dpagaix_ldflags=
++else
++	dpagaix_cflags="-D_THREAD_SAFE -D_AIX_PTHREADS_D7 -D_AIX32_THREADS=1 -D_AES_SOURCE -D_AIX41 -I/usr/include/dce"
++	dpagaix_ldadd="-L/usr/lib/threads -ldcelibc_r -ldcepthreads -lpthreads_compat lpthreads -lc_r"
++	dpagaix_ldflags="-Wl,-bI:dfspag.exp"
++fi
++
++
++
++
++
++# Check whether --enable-berkeley-db or --disable-berkeley-db was given.
++if test "${enable_berkeley_db+set}" = set; then
++  enableval="$enable_berkeley_db"
++  
++
++fi; 
++
++have_ndbm=no
++db_type=unknown
++
++if test "$enable_berkeley_db" != no; then
++
++  
++
++
++
++for ac_header in 				\
++	db4/db.h				\
++	db3/db.h				\
++	db.h					\
++	db_185.h				\
++  
++do
++as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++else
++  # Is the header compilable?
++echo "$as_me:$LINENO: checking $ac_header usability" >&5
++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++@%:@include <$ac_header>
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_header_compiler=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_header_compiler=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
++echo "${ECHO_T}$ac_header_compiler" >&6
++
++# Is the header present?
++echo "$as_me:$LINENO: checking $ac_header presence" >&5
++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@include <$ac_header>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  ac_header_preproc=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++  ac_header_preproc=no
++fi
++rm -f conftest.err conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
++echo "${ECHO_T}$ac_header_preproc" >&6
++
++# So?  What about this header?
++case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
++  yes:no: )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
++echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
++    ac_header_preproc=yes
++    ;;
++  no:yes:* )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
++echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
++echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
++echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
++echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
++echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
++    (
++      cat <<\_ASBOX
++@%:@@%:@ -------------------------------------- @%:@@%:@
++@%:@@%:@ Report this to heimdal-bugs@pdc.kth.se @%:@@%:@
++@%:@@%:@ -------------------------------------- @%:@@%:@
++_ASBOX
++    ) |
++      sed "s/^/$as_me: WARNING:     /" >&2
++    ;;
++esac
++echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  eval "$as_ac_Header=\$ac_header_preproc"
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++
++fi
++if test `eval echo '${'$as_ac_Header'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++
++done
++
++
++
++  
++
++
++echo "$as_me:$LINENO: checking for db_create" >&5
++echo $ECHO_N "checking for db_create... $ECHO_C" >&6
++if test "${ac_cv_funclib_db_create+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_db_create\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" db4 db3 db; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++  #include <stdio.h>
++  #ifdef HAVE_DB4_DB_H
++  #include <db4/db.h>
++  #elif defined(HAVE_DB3_DB_H)
++  #include <db3/db.h>
++  #else
++  #include <db.h>
++  #endif
++  
++int
++main ()
++{
++db_create(NULL, NULL, 0)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_db_create=$ac_lib; else ac_cv_funclib_db_create=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_db_create=\${ac_cv_funclib_db_create-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_db_create"
++
++if false; then
++	
++for ac_func in db_create
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# db_create
++eval "ac_tr_func=HAVE_`echo db_create | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_db_create=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_db_create=yes"
++	eval "LIB_db_create="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_db_create=no"
++	eval "LIB_db_create="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_db_create=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++
++  if test "$ac_cv_func_db_create" = "yes"; then
++    db_type=db3
++    if test "$ac_cv_funclib_db_create" != "yes"; then
++      DBLIB="$ac_cv_funclib_db_create"
++    else
++      DBLIB=""
++    fi
++    
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_DB3 1
++_ACEOF
++
++  else
++
++
++    
++
++
++echo "$as_me:$LINENO: checking for dbopen" >&5
++echo $ECHO_N "checking for dbopen... $ECHO_C" >&6
++if test "${ac_cv_funclib_dbopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_dbopen\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" db2 db; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++    #include <stdio.h>
++    #if defined(HAVE_DB2_DB_H)
++    #include <db2/db.h>
++    #elif defined(HAVE_DB_185_H)
++    #include <db_185.h>
++    #elif defined(HAVE_DB_H)
++    #include <db.h>
++    #else
++    #error no db.h
++    #endif
++    
++int
++main ()
++{
++dbopen(NULL, 0, 0, 0, NULL)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_dbopen=$ac_lib; else ac_cv_funclib_dbopen=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_dbopen=\${ac_cv_funclib_dbopen-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_dbopen"
++
++if false; then
++	
++for ac_func in dbopen
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# dbopen
++eval "ac_tr_func=HAVE_`echo dbopen | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_dbopen=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_dbopen=yes"
++	eval "LIB_dbopen="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_dbopen=no"
++	eval "LIB_dbopen="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_dbopen=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++
++    if test "$ac_cv_func_dbopen" = "yes"; then
++      db_type=db1
++      if test "$ac_cv_funclib_dbopen" != "yes"; then
++        DBLIB="$ac_cv_funclib_dbopen"
++      else
++        DBLIB=""
++      fi
++      
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_DB1 1
++_ACEOF
++
++    fi
++  fi
++
++
++  if test "$ac_cv_func_dbm_firstkey" != yes; then
++    
++
++echo "$as_me:$LINENO: checking for dbm_firstkey" >&5
++echo $ECHO_N "checking for dbm_firstkey... $ECHO_C" >&6
++if test "${ac_cv_funclib_dbm_firstkey+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_dbm_firstkey\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in $ac_cv_funclib_dbopen $ac_cv_funclib_db_create; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++    #include <stdio.h>
++    #define DB_DBM_HSEARCH 1
++    #include <db.h>
++    DBM *dbm;
++    
++int
++main ()
++{
++dbm_firstkey(NULL)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_dbm_firstkey=$ac_lib; else ac_cv_funclib_dbm_firstkey=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_dbm_firstkey=\${ac_cv_funclib_dbm_firstkey-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_dbm_firstkey"
++
++if false; then
++	
++for ac_func in dbm_firstkey
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# dbm_firstkey
++eval "ac_tr_func=HAVE_`echo dbm_firstkey | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_dbm_firstkey=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_dbm_firstkey=yes"
++	eval "LIB_dbm_firstkey="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_dbm_firstkey=no"
++	eval "LIB_dbm_firstkey="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_dbm_firstkey=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++  
++    if test "$ac_cv_func_dbm_firstkey" = "yes"; then
++      if test "$ac_cv_funclib_dbm_firstkey" != "yes"; then
++        LIB_NDBM="$ac_cv_funclib_dbm_firstkey"
++      else
++        LIB_NDBM=""
++      fi
++      
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_DB_NDBM 1
++_ACEOF
++
++      
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_NEW_DB 1
++_ACEOF
++
++    else
++      $as_unset ac_cv_func_dbm_firstkey
++      $as_unset ac_cv_funclib_dbm_firstkey
++    fi
++  fi
++
++fi # berkeley db
++
++if test "$db_type" = "unknown" -o "$ac_cv_func_dbm_firstkey" = ""; then
++
++  
++
++for ac_header in 				\
++	dbm.h					\
++	ndbm.h					\
++  
++do
++as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++else
++  # Is the header compilable?
++echo "$as_me:$LINENO: checking $ac_header usability" >&5
++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++@%:@include <$ac_header>
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_header_compiler=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_header_compiler=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
++echo "${ECHO_T}$ac_header_compiler" >&6
++
++# Is the header present?
++echo "$as_me:$LINENO: checking $ac_header presence" >&5
++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@include <$ac_header>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  ac_header_preproc=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++  ac_header_preproc=no
++fi
++rm -f conftest.err conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
++echo "${ECHO_T}$ac_header_preproc" >&6
++
++# So?  What about this header?
++case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
++  yes:no: )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
++echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
++    ac_header_preproc=yes
++    ;;
++  no:yes:* )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
++echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
++echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
++echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
++echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
++echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
++    (
++      cat <<\_ASBOX
++@%:@@%:@ -------------------------------------- @%:@@%:@
++@%:@@%:@ Report this to heimdal-bugs@pdc.kth.se @%:@@%:@
++@%:@@%:@ -------------------------------------- @%:@@%:@
++_ASBOX
++    ) |
++      sed "s/^/$as_me: WARNING:     /" >&2
++    ;;
++esac
++echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  eval "$as_ac_Header=\$ac_header_preproc"
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++
++fi
++if test `eval echo '${'$as_ac_Header'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++
++done
++
++
++  
++
++
++echo "$as_me:$LINENO: checking for dbm_firstkey" >&5
++echo $ECHO_N "checking for dbm_firstkey... $ECHO_C" >&6
++if test "${ac_cv_funclib_dbm_firstkey+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_dbm_firstkey\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ndbm; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++  #include <stdio.h>
++  #if defined(HAVE_NDBM_H)
++  #include <ndbm.h>
++  #elif defined(HAVE_DBM_H)
++  #include <dbm.h>
++  #endif
++  DBM *dbm;
++  
++int
++main ()
++{
++dbm_firstkey(NULL)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_dbm_firstkey=$ac_lib; else ac_cv_funclib_dbm_firstkey=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_dbm_firstkey=\${ac_cv_funclib_dbm_firstkey-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_dbm_firstkey"
++
++if false; then
++	
++for ac_func in dbm_firstkey
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# dbm_firstkey
++eval "ac_tr_func=HAVE_`echo dbm_firstkey | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_dbm_firstkey=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_dbm_firstkey=yes"
++	eval "LIB_dbm_firstkey="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_dbm_firstkey=no"
++	eval "LIB_dbm_firstkey="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_dbm_firstkey=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++
++  if test "$ac_cv_func_dbm_firstkey" = "yes"; then
++    if test "$ac_cv_funclib_dbm_firstkey" != "yes"; then
++      LIB_NDBM="$ac_cv_funclib_dbm_firstkey"
++    else
++      LIB_NDBM=""
++    fi
++    
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_NDBM 1
++_ACEOF
++    have_ndbm=yes
++    if test "$db_type" = "unknown"; then
++      db_type=ndbm
++      DBLIB="$LIB_NDBM"
++    fi
++  else
++
++    $as_unset ac_cv_func_dbm_firstkey
++    $as_unset ac_cv_funclib_dbm_firstkey
++
++    
++for ac_header in 				\
++	  gdbm/ndbm.h				\
++    
++do
++as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++else
++  # Is the header compilable?
++echo "$as_me:$LINENO: checking $ac_header usability" >&5
++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++@%:@include <$ac_header>
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_header_compiler=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_header_compiler=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
++echo "${ECHO_T}$ac_header_compiler" >&6
++
++# Is the header present?
++echo "$as_me:$LINENO: checking $ac_header presence" >&5
++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@include <$ac_header>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  ac_header_preproc=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++  ac_header_preproc=no
++fi
++rm -f conftest.err conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
++echo "${ECHO_T}$ac_header_preproc" >&6
++
++# So?  What about this header?
++case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
++  yes:no: )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
++echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
++    ac_header_preproc=yes
++    ;;
++  no:yes:* )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
++echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
++echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
++echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
++echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
++echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
++    (
++      cat <<\_ASBOX
++@%:@@%:@ -------------------------------------- @%:@@%:@
++@%:@@%:@ Report this to heimdal-bugs@pdc.kth.se @%:@@%:@
++@%:@@%:@ -------------------------------------- @%:@@%:@
++_ASBOX
++    ) |
++      sed "s/^/$as_me: WARNING:     /" >&2
++    ;;
++esac
++echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  eval "$as_ac_Header=\$ac_header_preproc"
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++
++fi
++if test `eval echo '${'$as_ac_Header'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++
++done
++
++
++    
++
++
++echo "$as_me:$LINENO: checking for dbm_firstkey" >&5
++echo $ECHO_N "checking for dbm_firstkey... $ECHO_C" >&6
++if test "${ac_cv_funclib_dbm_firstkey+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_dbm_firstkey\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" gdbm; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++    #include <stdio.h>
++    #include <gdbm/ndbm.h>
++    DBM *dbm;
++    
++int
++main ()
++{
++dbm_firstkey(NULL)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_dbm_firstkey=$ac_lib; else ac_cv_funclib_dbm_firstkey=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_dbm_firstkey=\${ac_cv_funclib_dbm_firstkey-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_dbm_firstkey"
++
++if false; then
++	
++for ac_func in dbm_firstkey
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# dbm_firstkey
++eval "ac_tr_func=HAVE_`echo dbm_firstkey | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_dbm_firstkey=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_dbm_firstkey=yes"
++	eval "LIB_dbm_firstkey="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_dbm_firstkey=no"
++	eval "LIB_dbm_firstkey="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_dbm_firstkey=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++
++    if test "$ac_cv_func_dbm_firstkey" = "yes"; then
++      if test "$ac_cv_funclib_dbm_firstkey" != "yes"; then
++	LIB_NDBM="$ac_cv_funclib_dbm_firstkey"
++      else
++	LIB_NDBM=""
++      fi
++      
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_NDBM 1
++_ACEOF
++      have_ndbm=yes
++      if test "$db_type" = "unknown"; then
++	db_type=ndbm
++	DBLIB="$LIB_NDBM"
++      fi
++    fi
++  fi
++
++fi # unknown
++
++if test "$have_ndbm" = "yes"; then
++  echo "$as_me:$LINENO: checking if ndbm is implemented with db" >&5
++echo $ECHO_N "checking if ndbm is implemented with db... $ECHO_C" >&6
++  if test "$cross_compiling" = yes; then
++  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
++See \`config.log' for more details." >&5
++echo "$as_me: error: cannot run test program while cross compiling
++See \`config.log' for more details." >&2;}
++   { (exit 1); exit 1; }; }
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#include <unistd.h>
++#include <fcntl.h>
++#if defined(HAVE_GDBM_NDBM_H)
++#include <gdbm/ndbm.h>
++#elif defined(HAVE_NDBM_H)
++#include <ndbm.h>
++#elif defined(HAVE_DBM_H)
++#include <dbm.h>
++#endif
++int main()
++{
++  DBM *d;
++
++  d = dbm_open("conftest", O_RDWR | O_CREAT, 0666);
++  if (d == NULL)
++    return 1;
++  dbm_close(d);
++  return 0;
++}
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  
++    if test -f conftest.db; then
++      echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++      
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_NEW_DB 1
++_ACEOF
++
++    else
++      echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++    fi
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++( exit $ac_status )
++echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++fi
++
++
++
++if test "$db_type" = db1; then
++  HAVE_DB1_TRUE=
++  HAVE_DB1_FALSE='#'
++else
++  HAVE_DB1_TRUE='#'
++  HAVE_DB1_FALSE=
++fi
++
++
++if test "$db_type" = db3; then
++  HAVE_DB3_TRUE=
++  HAVE_DB3_FALSE='#'
++else
++  HAVE_DB3_TRUE='#'
++  HAVE_DB3_FALSE=
++fi
++
++
++if test "$db_type" = ndbm; then
++  HAVE_NDBM_TRUE=
++  HAVE_NDBM_FALSE='#'
++else
++  HAVE_NDBM_TRUE='#'
++  HAVE_NDBM_FALSE=
++fi
++
++z=""
++for i in $LDFLAGS; do
++	case "$i" in
++	-L*) z="$z $i";;
++	esac
++done
++DBLIB="$z $DBLIB"
++
++
++
++
++
++# Check whether --with-roken or --without-roken was given.
++if test "${with_roken+set}" = set; then
++  withval="$with_roken"
++  if test "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: roken is required" >&5
++echo "$as_me: error: roken is required" >&2;}
++   { (exit 1); exit 1; }; }
++fi
++fi; 
++
++save_CPPFLAGS="${CPPFLAGS}"
++
++case $with_roken in
++yes|"")
++  dirs="/usr/heimdal /usr/athena" ;;
++*)
++  dirs="$with_roken" ;;
++esac
++
++roken_installed=no
++
++for i in $dirs; do
++
++echo "$as_me:$LINENO: checking for roken in $i" >&5
++echo $ECHO_N "checking for roken in $i... $ECHO_C" >&6
++
++CPPFLAGS="-I$i/include ${CPPFLAGS}"
++
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <roken.h>
++//#if ROKEN_VERSION < 10
++//#error old roken version, should be 10
++//fail
++//#endif
++
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  roken_installed=yes; break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++  
++fi
++rm -f conftest.err conftest.$ac_ext
++
++echo "$as_me:$LINENO: result: $roken_installed" >&5
++echo "${ECHO_T}$roken_installed" >&6
++
++done
++
++CPPFLAGS="$save_CPPFLAGS"
++
++if test "$roken_installed" != "yes"; then
++  DIR_roken="roken"
++  LIB_roken='$(top_builddir)/lib/roken/libroken.la'
++  CPPFLAGS_roken='-I$(top_builddir)/lib/roken -I$(top_srcdir)/lib/roken'
++else
++  LIB_roken="$i/lib/libroken.la"
++  CPPFLAGS_roken="-I$i/include"
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking for crypt" >&5
++echo $ECHO_N "checking for crypt... $ECHO_C" >&6
++if test "${ac_cv_funclib_crypt+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_crypt\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" crypt; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++crypt()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_crypt=$ac_lib; else ac_cv_funclib_crypt=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_crypt=\${ac_cv_funclib_crypt-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_crypt"
++
++if false; then
++	
++for ac_func in crypt
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# crypt
++eval "ac_tr_func=HAVE_`echo crypt | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_crypt=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_crypt=yes"
++	eval "LIB_crypt="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_crypt=no"
++	eval "LIB_crypt="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_crypt=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++LIB_roken="${LIB_roken} \$(LIB_crypt) \$(LIB_dbopen)"
++
++
++#if ! test "$roken_installed" = yes; then
++	
++
++echo "$as_me:$LINENO: checking for inline" >&5
++echo $ECHO_N "checking for inline... $ECHO_C" >&6
++if test "${ac_cv_c_inline+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_cv_c_inline=no
++for ac_kw in inline __inline__ __inline; do
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifndef __cplusplus
++typedef int foo_t;
++static $ac_kw foo_t static_foo () {return 0; }
++$ac_kw foo_t foo () {return 0; }
++#endif
++
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_c_inline=$ac_kw; break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++done
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
++echo "${ECHO_T}$ac_cv_c_inline" >&6
++
++
++case $ac_cv_c_inline in
++  inline | yes) ;;
++  *)
++    case $ac_cv_c_inline in
++      no) ac_val=;;
++      *) ac_val=$ac_cv_c_inline;;
++    esac
++    cat >>confdefs.h <<_ACEOF
++#ifndef __cplusplus
++#define inline $ac_val
++#endif
++_ACEOF
++    ;;
++esac
++
++echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
++echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
++if test "${ac_cv_c_const+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++/* FIXME: Include the comments suggested by Paul. */
++#ifndef __cplusplus
++  /* Ultrix mips cc rejects this.  */
++  typedef int charset[2];
++  const charset x;
++  /* SunOS 4.1.1 cc rejects this.  */
++  char const *const *ccp;
++  char **p;
++  /* NEC SVR4.0.2 mips cc rejects this.  */
++  struct point {int x, y;};
++  static struct point const zero = {0,0};
++  /* AIX XL C 1.02.0.0 rejects this.
++     It does not let you subtract one const X* pointer from another in
++     an arm of an if-expression whose if-part is not a constant
++     expression */
++  const char *g = "string";
++  ccp = &g + (g ? g-g : 0);
++  /* HPUX 7.0 cc rejects these. */
++  ++ccp;
++  p = (char**) ccp;
++  ccp = (char const *const *) p;
++  { /* SCO 3.2v4 cc rejects this.  */
++    char *t;
++    char const *s = 0 ? (char *) 0 : (char const *) 0;
++
++    *t++ = 0;
++  }
++  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
++    int x[] = {25, 17};
++    const int *foo = &x[0];
++    ++foo;
++  }
++  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
++    typedef const int *iptr;
++    iptr p = 0;
++    ++p;
++  }
++  { /* AIX XL C 1.02.0.0 rejects this saying
++       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
++    struct s { int j; const int *ap[3]; };
++    struct s *b; b->j = 5;
++  }
++  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
++    const int foo = 10;
++  }
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_c_const=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_c_const=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
++echo "${ECHO_T}$ac_cv_c_const" >&6
++if test $ac_cv_c_const = no; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define const 
++_ACEOF
++
++fi
++
++echo "$as_me:$LINENO: checking for size_t" >&5
++echo $ECHO_N "checking for size_t... $ECHO_C" >&6
++if test "${ac_cv_type_size_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++int
++main ()
++{
++if ((size_t *) 0)
++  return 0;
++if (sizeof (size_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_size_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_size_t=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
++echo "${ECHO_T}$ac_cv_type_size_t" >&6
++if test $ac_cv_type_size_t = yes; then
++  :
++else
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define size_t unsigned
++_ACEOF
++
++fi
++
++echo "$as_me:$LINENO: checking for pid_t" >&5
++echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
++if test "${ac_cv_type_pid_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++int
++main ()
++{
++if ((pid_t *) 0)
++  return 0;
++if (sizeof (pid_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_pid_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_pid_t=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
++echo "${ECHO_T}$ac_cv_type_pid_t" >&6
++if test $ac_cv_type_pid_t = yes; then
++  :
++else
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define pid_t int
++_ACEOF
++
++fi
++
++echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
++echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
++if test "${ac_cv_type_uid_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <sys/types.h>
++
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  $EGREP "uid_t" >/dev/null 2>&1; then
++  ac_cv_type_uid_t=yes
++else
++  ac_cv_type_uid_t=no
++fi
++rm -f conftest*
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
++echo "${ECHO_T}$ac_cv_type_uid_t" >&6
++if test $ac_cv_type_uid_t = no; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define uid_t int
++_ACEOF
++
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define gid_t int
++_ACEOF
++
++fi
++
++
++echo "$as_me:$LINENO: checking return type of signal handlers" >&5
++echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
++if test "${ac_cv_type_signal+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end 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;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_signal=void
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_signal=int
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
++echo "${ECHO_T}$ac_cv_type_signal" >&6
++
++cat >>confdefs.h <<_ACEOF
++@%:@define RETSIGTYPE $ac_cv_type_signal
++_ACEOF
++
++
++if test "$ac_cv_type_signal" = "void" ; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define VOID_RETSIGTYPE 1
++_ACEOF
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
++echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
++if test "${ac_cv_header_time+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <sys/types.h>
++#include <sys/time.h>
++#include <time.h>
++
++int
++main ()
++{
++if ((struct tm *) 0)
++return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_header_time=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_header_time=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
++echo "${ECHO_T}$ac_cv_header_time" >&6
++if test $ac_cv_header_time = yes; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define TIME_WITH_SYS_TIME 1
++_ACEOF
++
++fi
++
++
++
++for ac_header in standards.h
++do
++as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++else
++  # Is the header compilable?
++echo "$as_me:$LINENO: checking $ac_header usability" >&5
++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++@%:@include <$ac_header>
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_header_compiler=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_header_compiler=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
++echo "${ECHO_T}$ac_header_compiler" >&6
++
++# Is the header present?
++echo "$as_me:$LINENO: checking $ac_header presence" >&5
++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@include <$ac_header>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  ac_header_preproc=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++  ac_header_preproc=no
++fi
++rm -f conftest.err conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
++echo "${ECHO_T}$ac_header_preproc" >&6
++
++# So?  What about this header?
++case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
++  yes:no: )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
++echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
++    ac_header_preproc=yes
++    ;;
++  no:yes:* )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
++echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
++echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
++echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
++echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
++echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
++    (
++      cat <<\_ASBOX
++@%:@@%:@ -------------------------------------- @%:@@%:@
++@%:@@%:@ Report this to heimdal-bugs@pdc.kth.se @%:@@%:@
++@%:@@%:@ -------------------------------------- @%:@@%:@
++_ASBOX
++    ) |
++      sed "s/^/$as_me: WARNING:     /" >&2
++    ;;
++esac
++echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  eval "$as_ac_Header=\$ac_header_preproc"
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++
++fi
++if test `eval echo '${'$as_ac_Header'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++
++done
++
++for i in netinet/ip.h netinet/tcp.h; do
++
++cv=`echo "$i" | sed 'y%./+-%__p_%'`
++
++echo "$as_me:$LINENO: checking for $i" >&5
++echo $ECHO_N "checking for $i... $ECHO_C" >&6
++if eval "test \"\${ac_cv_header_$cv+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++\
++#ifdef HAVE_STANDARDS_H
++#include <standards.h>
++#endif
++#include <$i>
++
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  eval "ac_cv_header_$cv=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++  eval "ac_cv_header_$cv=no"
++fi
++rm -f conftest.err conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'ac_cv_header_$cv'}'`" >&5
++echo "${ECHO_T}`eval echo '${'ac_cv_header_$cv'}'`" >&6
++ac_res=`eval echo \\$ac_cv_header_$cv`
++if test "$ac_res" = yes; then
++	ac_tr_hdr=HAVE_`echo $i | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_hdr 1
++_ACEOF
++
++fi
++done
++if false;then
++	
++
++for ac_header in netinet/ip.h netinet/tcp.h
++do
++as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++else
++  # Is the header compilable?
++echo "$as_me:$LINENO: checking $ac_header usability" >&5
++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++@%:@include <$ac_header>
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_header_compiler=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_header_compiler=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
++echo "${ECHO_T}$ac_header_compiler" >&6
++
++# Is the header present?
++echo "$as_me:$LINENO: checking $ac_header presence" >&5
++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@include <$ac_header>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  ac_header_preproc=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++  ac_header_preproc=no
++fi
++rm -f conftest.err conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
++echo "${ECHO_T}$ac_header_preproc" >&6
++
++# So?  What about this header?
++case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
++  yes:no: )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
++echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
++    ac_header_preproc=yes
++    ;;
++  no:yes:* )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
++echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
++echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
++echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
++echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
++echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
++    (
++      cat <<\_ASBOX
++@%:@@%:@ -------------------------------------- @%:@@%:@
++@%:@@%:@ Report this to heimdal-bugs@pdc.kth.se @%:@@%:@
++@%:@@%:@ -------------------------------------- @%:@@%:@
++_ASBOX
++    ) |
++      sed "s/^/$as_me: WARNING:     /" >&2
++    ;;
++esac
++echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  eval "$as_ac_Header=\$ac_header_preproc"
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++
++fi
++if test `eval echo '${'$as_ac_Header'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++
++done
++
++fi
++
++
++
++
++for ac_func in getlogin setlogin
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++if test "$ac_cv_func_getlogin" = yes; then
++echo "$as_me:$LINENO: checking if getlogin is posix" >&5
++echo $ECHO_N "checking if getlogin is posix... $ECHO_C" >&6
++if test "${ac_cv_func_getlogin_posix+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if test "$ac_cv_func_getlogin" = yes -a "$ac_cv_func_setlogin" = yes; then
++	ac_cv_func_getlogin_posix=no
++else
++	ac_cv_func_getlogin_posix=yes
++fi
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getlogin_posix" >&5
++echo "${ECHO_T}$ac_cv_func_getlogin_posix" >&6
++if test "$ac_cv_func_getlogin_posix" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define POSIX_GETLOGIN 1
++_ACEOF
++
++fi
++fi
++
++
++
++for ac_header in stdlib.h unistd.h
++do
++as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++else
++  # Is the header compilable?
++echo "$as_me:$LINENO: checking $ac_header usability" >&5
++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++@%:@include <$ac_header>
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_header_compiler=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_header_compiler=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
++echo "${ECHO_T}$ac_header_compiler" >&6
++
++# Is the header present?
++echo "$as_me:$LINENO: checking $ac_header presence" >&5
++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@include <$ac_header>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  ac_header_preproc=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++  ac_header_preproc=no
++fi
++rm -f conftest.err conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
++echo "${ECHO_T}$ac_header_preproc" >&6
++
++# So?  What about this header?
++case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
++  yes:no: )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
++echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
++    ac_header_preproc=yes
++    ;;
++  no:yes:* )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
++echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
++echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
++echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
++echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
++echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
++    (
++      cat <<\_ASBOX
++@%:@@%:@ -------------------------------------- @%:@@%:@
++@%:@@%:@ Report this to heimdal-bugs@pdc.kth.se @%:@@%:@
++@%:@@%:@ -------------------------------------- @%:@@%:@
++_ASBOX
++    ) |
++      sed "s/^/$as_me: WARNING:     /" >&2
++    ;;
++esac
++echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  eval "$as_ac_Header=\$ac_header_preproc"
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++
++fi
++if test `eval echo '${'$as_ac_Header'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++
++done
++
++
++for ac_func in getpagesize
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++echo "$as_me:$LINENO: checking for working mmap" >&5
++echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
++if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test "$cross_compiling" = yes; then
++  ac_cv_func_mmap_fixed_mapped=no
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++/* malloc might have been renamed as rpl_malloc. */
++#undef malloc
++
++/* Thanks to Mike Haertel and Jim Avera for this test.
++   Here is a matrix of mmap possibilities:
++	mmap private not fixed
++	mmap private fixed at somewhere currently unmapped
++	mmap private fixed at somewhere already mapped
++	mmap shared not fixed
++	mmap shared fixed at somewhere currently unmapped
++	mmap shared fixed at somewhere already mapped
++   For private mappings, we should verify that changes cannot be read()
++   back from the file, nor mmap's back from the file at a different
++   address.  (There have been systems where private was not correctly
++   implemented like the infamous i386 svr4.0, and systems where the
++   VM page cache was not coherent with the file system buffer cache
++   like early versions of FreeBSD and possibly contemporary NetBSD.)
++   For shared mappings, we should conversely verify that changes get
++   propagated back to all the places they're supposed to be.
++
++   Grep wants private fixed already mapped.
++   The main things grep needs to know about mmap are:
++   * does it exist and is it safe to write into the mmap'd area
++   * how to use it (BSD variants)  */
++
++#include <fcntl.h>
++#include <sys/mman.h>
++
++#if !STDC_HEADERS && !HAVE_STDLIB_H
++char *malloc ();
++#endif
++
++/* This mess was copied from the GNU getpagesize.h.  */
++#if !HAVE_GETPAGESIZE
++/* Assume that all systems that can run configure have sys/param.h.  */
++# if !HAVE_SYS_PARAM_H
++#  define HAVE_SYS_PARAM_H 1
++# endif
++
++# ifdef _SC_PAGESIZE
++#  define getpagesize() sysconf(_SC_PAGESIZE)
++# else /* no _SC_PAGESIZE */
++#  if HAVE_SYS_PARAM_H
++#   include <sys/param.h>
++#   ifdef EXEC_PAGESIZE
++#    define getpagesize() EXEC_PAGESIZE
++#   else /* no EXEC_PAGESIZE */
++#    ifdef NBPG
++#     define getpagesize() NBPG * CLSIZE
++#     ifndef CLSIZE
++#      define CLSIZE 1
++#     endif /* no CLSIZE */
++#    else /* no NBPG */
++#     ifdef NBPC
++#      define getpagesize() NBPC
++#     else /* no NBPC */
++#      ifdef PAGESIZE
++#       define getpagesize() PAGESIZE
++#      endif /* PAGESIZE */
++#     endif /* no NBPC */
++#    endif /* no NBPG */
++#   endif /* no EXEC_PAGESIZE */
++#  else /* no HAVE_SYS_PARAM_H */
++#   define getpagesize() 8192	/* punt totally */
++#  endif /* no HAVE_SYS_PARAM_H */
++# endif /* no _SC_PAGESIZE */
++
++#endif /* no HAVE_GETPAGESIZE */
++
++int
++main ()
++{
++  char *data, *data2, *data3;
++  int i, pagesize;
++  int fd;
++
++  pagesize = getpagesize ();
++
++  /* First, make a file with some known garbage in it. */
++  data = (char *) malloc (pagesize);
++  if (!data)
++    exit (1);
++  for (i = 0; i < pagesize; ++i)
++    *(data + i) = rand ();
++  umask (0);
++  fd = creat ("conftest.mmap", 0600);
++  if (fd < 0)
++    exit (1);
++  if (write (fd, data, pagesize) != pagesize)
++    exit (1);
++  close (fd);
++
++  /* Next, try to mmap the file at a fixed address which already has
++     something else allocated at it.  If we can, also make sure that
++     we see the same garbage.  */
++  fd = open ("conftest.mmap", O_RDWR);
++  if (fd < 0)
++    exit (1);
++  data2 = (char *) malloc (2 * pagesize);
++  if (!data2)
++    exit (1);
++  data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
++  if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
++		     MAP_PRIVATE | MAP_FIXED, fd, 0L))
++    exit (1);
++  for (i = 0; i < pagesize; ++i)
++    if (*(data + i) != *(data2 + i))
++      exit (1);
++
++  /* Finally, make sure that changes to the mapped area do not
++     percolate back to the file as seen by read().  (This is a bug on
++     some variants of i386 svr4.0.)  */
++  for (i = 0; i < pagesize; ++i)
++    *(data2 + i) = *(data2 + i) + 1;
++  data3 = (char *) malloc (pagesize);
++  if (!data3)
++    exit (1);
++  if (read (fd, data3, pagesize) != pagesize)
++    exit (1);
++  for (i = 0; i < pagesize; ++i)
++    if (*(data + i) != *(data3 + i))
++      exit (1);
++  close (fd);
++  exit (0);
++}
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_mmap_fixed_mapped=yes
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++( exit $ac_status )
++ac_cv_func_mmap_fixed_mapped=no
++fi
++rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
++echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
++if test $ac_cv_func_mmap_fixed_mapped = yes; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_MMAP 1
++_ACEOF
++
++fi
++rm -f conftest.mmap
++
++
++echo "$as_me:$LINENO: checking if realloc if broken" >&5
++echo $ECHO_N "checking if realloc if broken... $ECHO_C" >&6
++if test "${ac_cv_func_realloc_broken+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++ac_cv_func_realloc_broken=no
++if test "$cross_compiling" = yes; then
++  :
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#include <stddef.h>
++#include <stdlib.h>
++
++int main()
++{
++	return realloc(NULL, 17) == NULL;
++}
++
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  :
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++( exit $ac_status )
++ac_cv_func_realloc_broken=yes
++fi
++rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_realloc_broken" >&5
++echo "${ECHO_T}$ac_cv_func_realloc_broken" >&6
++if test "$ac_cv_func_realloc_broken" = yes ; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define BROKEN_REALLOC 1
++_ACEOF
++
++fi
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++WFLAGS_NOUNUSED=""
++WFLAGS_NOIMPLICITINT=""
++if test -z "$WFLAGS" -a "$GCC" = "yes"; then
++  # -Wno-implicit-int for broken X11 headers
++  # leave these out for now:
++  #   -Wcast-align doesn't work well on alpha osf/1
++  #   -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast
++  #   -Wmissing-declarations -Wnested-externs
++  WFLAGS="-Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs"
++  WFLAGS_NOUNUSED="-Wno-unused"
++  WFLAGS_NOIMPLICITINT="-Wno-implicit-int"
++fi
++
++
++
++
++
++
++
++
++cv=`echo "ssize_t" | sed 'y%./+- %__p__%'`
++echo "$as_me:$LINENO: checking for ssize_t" >&5
++echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
++if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <sys/types.h>
++#if STDC_HEADERS
++#include <stdlib.h>
++#include <stddef.h>
++#endif
++#include <unistd.h>
++int
++main ()
++{
++ssize_t foo;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_type_$cv=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_type_$cv=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++ac_foo=`eval echo \\$ac_cv_type_$cv`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++  ac_tr_hdr=HAVE_`echo ssize_t | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
++if false; then
++	echo "$as_me:$LINENO: checking for ssize_t" >&5
++echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
++if test "${ac_cv_type_ssize_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++int
++main ()
++{
++if ((ssize_t *) 0)
++  return 0;
++if (sizeof (ssize_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_ssize_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_ssize_t=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
++echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
++if test $ac_cv_type_ssize_t = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_SSIZE_T 1
++_ACEOF
++
++
++fi
++
++fi
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_hdr 1
++_ACEOF
++
++fi
++
++
++
++
++
++cv=`echo "long long" | sed 'y%./+- %__p__%'`
++echo "$as_me:$LINENO: checking for long long" >&5
++echo $ECHO_N "checking for long long... $ECHO_C" >&6
++if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <sys/types.h>
++#if STDC_HEADERS
++#include <stdlib.h>
++#include <stddef.h>
++#endif
++
++int
++main ()
++{
++long long foo;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_type_$cv=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_type_$cv=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++ac_foo=`eval echo \\$ac_cv_type_$cv`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++  ac_tr_hdr=HAVE_`echo long long | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
++if false; then
++	echo "$as_me:$LINENO: checking for long long" >&5
++echo $ECHO_N "checking for long long... $ECHO_C" >&6
++if test "${ac_cv_type_long_long+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++int
++main ()
++{
++if ((long long *) 0)
++  return 0;
++if (sizeof (long long))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_long_long=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_long_long=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
++echo "${ECHO_T}$ac_cv_type_long_long" >&6
++if test $ac_cv_type_long_long = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_LONG_LONG 1
++_ACEOF
++
++
++fi
++
++fi
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_hdr 1
++_ACEOF
++
++fi
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++for ac_header in \
++	arpa/inet.h				\
++	arpa/nameser.h				\
++	config.h				\
++	crypt.h					\
++	dirent.h				\
++	errno.h					\
++	err.h					\
++	fcntl.h					\
++	grp.h					\
++	ifaddrs.h				\
++	net/if.h				\
++	netdb.h					\
++	netinet/in.h				\
++	netinet/in6.h				\
++	netinet/in_systm.h			\
++	netinet6/in6.h				\
++	netinet6/in6_var.h			\
++	paths.h					\
++	pwd.h					\
++	resolv.h				\
++	rpcsvc/ypclnt.h				\
++	shadow.h				\
++	sys/bswap.h				\
++	sys/ioctl.h				\
++	sys/mman.h				\
++	sys/param.h				\
++	sys/proc.h				\
++	sys/resource.h				\
++	sys/socket.h				\
++	sys/sockio.h				\
++	sys/stat.h				\
++	sys/sysctl.h				\
++	sys/time.h				\
++	sys/tty.h				\
++	sys/types.h				\
++	sys/uio.h				\
++	sys/utsname.h				\
++	sys/wait.h				\
++	syslog.h				\
++	termios.h				\
++	unistd.h				\
++	userconf.h				\
++	usersec.h				\
++	util.h					\
++	vis.h					\
++
++do
++as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++else
++  # Is the header compilable?
++echo "$as_me:$LINENO: checking $ac_header usability" >&5
++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++@%:@include <$ac_header>
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_header_compiler=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_header_compiler=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
++echo "${ECHO_T}$ac_header_compiler" >&6
++
++# Is the header present?
++echo "$as_me:$LINENO: checking $ac_header presence" >&5
++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@include <$ac_header>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  ac_header_preproc=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++  ac_header_preproc=no
++fi
++rm -f conftest.err conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
++echo "${ECHO_T}$ac_header_preproc" >&6
++
++# So?  What about this header?
++case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
++  yes:no: )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
++echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
++    ac_header_preproc=yes
++    ;;
++  no:yes:* )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
++echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
++echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
++echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
++echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
++echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
++    (
++      cat <<\_ASBOX
++@%:@@%:@ -------------------------------------- @%:@@%:@
++@%:@@%:@ Report this to heimdal-bugs@pdc.kth.se @%:@@%:@
++@%:@@%:@ -------------------------------------- @%:@@%:@
++_ASBOX
++    ) |
++      sed "s/^/$as_me: WARNING:     /" >&2
++    ;;
++esac
++echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  eval "$as_ac_Header=\$ac_header_preproc"
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++
++fi
++if test `eval echo '${'$as_ac_Header'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++
++done
++
++	
++
++
++
++
++if test "$ac_cv_header_err_h" = yes; then
++  have_err_h_TRUE=
++  have_err_h_FALSE='#'
++else
++  have_err_h_TRUE='#'
++  have_err_h_FALSE=
++fi
++
++
++
++if test "$ac_cv_header_fnmatch_h" = yes; then
++  have_fnmatch_h_TRUE=
++  have_fnmatch_h_FALSE='#'
++else
++  have_fnmatch_h_TRUE='#'
++  have_fnmatch_h_FALSE=
++fi
++
++
++
++if test "$ac_cv_header_ifaddrs_h" = yes; then
++  have_ifaddrs_h_TRUE=
++  have_ifaddrs_h_FALSE='#'
++else
++  have_ifaddrs_h_TRUE='#'
++  have_ifaddrs_h_FALSE=
++fi
++
++
++
++if test "$ac_cv_header_vis_h" = yes; then
++  have_vis_h_TRUE=
++  have_vis_h_FALSE='#'
++else
++  have_vis_h_TRUE='#'
++  have_vis_h_FALSE=
++fi
++
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for socket" >&5
++echo $ECHO_N "checking for socket... $ECHO_C" >&6
++if test "${ac_cv_funclib_socket+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_socket\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" socket; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++socket()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_socket=$ac_lib; else ac_cv_funclib_socket=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_socket=\${ac_cv_funclib_socket-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_socket"
++
++if false; then
++	
++for ac_func in socket
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# socket
++eval "ac_tr_func=HAVE_`echo socket | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_socket=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_socket=yes"
++	eval "LIB_socket="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_socket=no"
++	eval "LIB_socket="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_socket=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_socket"; then
++	LIBS="$LIB_socket $LIBS"
++fi
++
++
++
++
++
++echo "$as_me:$LINENO: checking for gethostbyname" >&5
++echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
++if test "${ac_cv_funclib_gethostbyname+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_gethostbyname\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" nsl; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++gethostbyname()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_gethostbyname=$ac_lib; else ac_cv_funclib_gethostbyname=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_gethostbyname=\${ac_cv_funclib_gethostbyname-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_gethostbyname"
++
++if false; then
++	
++for ac_func in gethostbyname
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# gethostbyname
++eval "ac_tr_func=HAVE_`echo gethostbyname | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_gethostbyname=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_gethostbyname=yes"
++	eval "LIB_gethostbyname="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_gethostbyname=no"
++	eval "LIB_gethostbyname="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_gethostbyname=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_gethostbyname"; then
++	LIBS="$LIB_gethostbyname $LIBS"
++fi
++
++
++
++
++
++echo "$as_me:$LINENO: checking for syslog" >&5
++echo $ECHO_N "checking for syslog... $ECHO_C" >&6
++if test "${ac_cv_funclib_syslog+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_syslog\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" syslog; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++syslog()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_syslog=$ac_lib; else ac_cv_funclib_syslog=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_syslog=\${ac_cv_funclib_syslog-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_syslog"
++
++if false; then
++	
++for ac_func in syslog
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# syslog
++eval "ac_tr_func=HAVE_`echo syslog | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_syslog=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_syslog=yes"
++	eval "LIB_syslog="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_syslog=no"
++	eval "LIB_syslog="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_syslog=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_syslog"; then
++	LIBS="$LIB_syslog $LIBS"
++fi
++
++
++
++
++# Check whether --with-ipv6 or --without-ipv6 was given.
++if test "${with_ipv6+set}" = set; then
++  withval="$with_ipv6"
++  
++if test "$withval" = "no"; then
++	ac_cv_lib_ipv6=no
++fi
++fi; 
++save_CFLAGS="${CFLAGS}"
++echo "$as_me:$LINENO: checking for IPv6 stack type" >&5
++echo $ECHO_N "checking for IPv6 stack type... $ECHO_C" >&6
++if test "${v6type+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  v6type=unknown
++v6lib=none
++
++for i in v6d toshiba kame inria zeta linux; do
++	case $i in
++	v6d)
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#include </usr/local/v6/include/sys/types.h>
++#ifdef __V6D__
++yes
++#endif
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  $EGREP "yes" >/dev/null 2>&1; then
++  v6type=$i; v6lib=v6;
++			v6libdir=/usr/local/v6/lib;
++			CFLAGS="-I/usr/local/v6/include $CFLAGS"
++fi
++rm -f conftest*
++
++		;;
++	toshiba)
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#include <sys/param.h>
++#ifdef _TOSHIBA_INET6
++yes
++#endif
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  $EGREP "yes" >/dev/null 2>&1; then
++  v6type=$i; v6lib=inet6;
++			v6libdir=/usr/local/v6/lib;
++			CFLAGS="-DINET6 $CFLAGS"
++fi
++rm -f conftest*
++
++		;;
++	kame)
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#include <netinet/in.h>
++#ifdef __KAME__
++yes
++#endif
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  $EGREP "yes" >/dev/null 2>&1; then
++  v6type=$i; v6lib=inet6;
++			v6libdir=/usr/local/v6/lib;
++			CFLAGS="-DINET6 $CFLAGS"
++fi
++rm -f conftest*
++
++		;;
++	inria)
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#include <netinet/in.h>
++#ifdef IPV6_INRIA_VERSION
++yes
++#endif
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  $EGREP "yes" >/dev/null 2>&1; then
++  v6type=$i; CFLAGS="-DINET6 $CFLAGS"
++fi
++rm -f conftest*
++
++		;;
++	zeta)
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#include <sys/param.h>
++#ifdef _ZETA_MINAMI_INET6
++yes
++#endif
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  $EGREP "yes" >/dev/null 2>&1; then
++  v6type=$i; v6lib=inet6;
++			v6libdir=/usr/local/v6/lib;
++			CFLAGS="-DINET6 $CFLAGS"
++fi
++rm -f conftest*
++
++		;;
++	linux)
++		if test -d /usr/inet6; then
++			v6type=$i
++			v6lib=inet6
++			v6libdir=/usr/inet6
++			CFLAGS="-DINET6 $CFLAGS"
++		fi
++		;;
++	esac
++	if test "$v6type" != "unknown"; then
++		break
++	fi
++done
++
++if test "$v6lib" != "none"; then
++	for dir in $v6libdir /usr/local/v6/lib /usr/local/lib; do
++		if test -d $dir -a -f $dir/lib$v6lib.a; then
++			LIBS="-L$dir -l$v6lib $LIBS"
++			break
++		fi
++	done
++fi
++
++fi
++echo "$as_me:$LINENO: result: $v6type" >&5
++echo "${ECHO_T}$v6type" >&6
++
++echo "$as_me:$LINENO: checking for IPv6" >&5
++echo $ECHO_N "checking for IPv6... $ECHO_C" >&6
++if test "${ac_cv_lib_ipv6+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_NETINET_IN6_H
++#include <netinet/in6.h>
++#endif
++
++int
++main ()
++{
++
++ struct sockaddr_in6 sin6;
++ int s;
++
++ s = socket(AF_INET6, SOCK_DGRAM, 0);
++
++ sin6.sin6_family = AF_INET6;
++ sin6.sin6_port = htons(17);
++ sin6.sin6_addr = in6addr_any;
++ bind(s, (struct sockaddr *)&sin6, sizeof(sin6));
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_ipv6=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_ipv6=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_ipv6" >&5
++echo "${ECHO_T}$ac_cv_lib_ipv6" >&6
++if test "$ac_cv_lib_ipv6" = yes; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_IPV6 1
++_ACEOF
++
++else
++  CFLAGS="${save_CFLAGS}"
++fi
++
++if test "$ac_cv_lib_ipv6" = yes; then
++	echo "$as_me:$LINENO: checking for in6addr_loopback" >&5
++echo $ECHO_N "checking for in6addr_loopback... $ECHO_C" >&6
++if test "${ac_cv_var_in6addr_loopback+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++	cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_NETINET_IN6_H
++#include <netinet/in6.h>
++#endif
++int
++main ()
++{
++
++struct sockaddr_in6 sin6;
++sin6.sin6_addr = in6addr_loopback;
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_var_in6addr_loopback=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_var_in6addr_loopback=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_var_in6addr_loopback" >&5
++echo "${ECHO_T}$ac_cv_var_in6addr_loopback" >&6
++	if test "$ac_cv_var_in6addr_loopback" = yes; then
++		
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_IN6ADDR_LOOPBACK 1
++_ACEOF
++
++	fi
++fi
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for gethostbyname2" >&5
++echo $ECHO_N "checking for gethostbyname2... $ECHO_C" >&6
++if test "${ac_cv_funclib_gethostbyname2+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_gethostbyname2\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" inet6 ip6; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++gethostbyname2()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_gethostbyname2=$ac_lib; else ac_cv_funclib_gethostbyname2=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_gethostbyname2=\${ac_cv_funclib_gethostbyname2-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_gethostbyname2"
++
++if false; then
++	
++for ac_func in gethostbyname2
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# gethostbyname2
++eval "ac_tr_func=HAVE_`echo gethostbyname2 | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_gethostbyname2=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_gethostbyname2=yes"
++	eval "LIB_gethostbyname2="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_gethostbyname2=no"
++	eval "LIB_gethostbyname2="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_gethostbyname2=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_gethostbyname2"; then
++	LIBS="$LIB_gethostbyname2 $LIBS"
++fi
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for res_search" >&5
++echo $ECHO_N "checking for res_search... $ECHO_C" >&6
++if test "${ac_cv_funclib_res_search+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_res_search\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" resolv; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#include <stdio.h>
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_NAMESER_H
++#include <arpa/nameser.h>
++#endif
++#ifdef HAVE_RESOLV_H
++#include <resolv.h>
++#endif
++
++int
++main ()
++{
++res_search(0,0,0,0,0)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_res_search=$ac_lib; else ac_cv_funclib_res_search=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_res_search=\${ac_cv_funclib_res_search-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_res_search"
++
++if false; then
++	
++for ac_func in res_search
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# res_search
++eval "ac_tr_func=HAVE_`echo res_search | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_res_search=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_res_search=yes"
++	eval "LIB_res_search="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_res_search=no"
++	eval "LIB_res_search="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_res_search=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_res_search"; then
++	LIBS="$LIB_res_search $LIBS"
++fi
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for res_nsearch" >&5
++echo $ECHO_N "checking for res_nsearch... $ECHO_C" >&6
++if test "${ac_cv_funclib_res_nsearch+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_res_nsearch\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" resolv; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#include <stdio.h>
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_NAMESER_H
++#include <arpa/nameser.h>
++#endif
++#ifdef HAVE_RESOLV_H
++#include <resolv.h>
++#endif
++
++int
++main ()
++{
++res_nsearch(0,0,0,0,0,0)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_res_nsearch=$ac_lib; else ac_cv_funclib_res_nsearch=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_res_nsearch=\${ac_cv_funclib_res_nsearch-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_res_nsearch"
++
++if false; then
++	
++for ac_func in res_nsearch
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# res_nsearch
++eval "ac_tr_func=HAVE_`echo res_nsearch | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_res_nsearch=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_res_nsearch=yes"
++	eval "LIB_res_nsearch="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_res_nsearch=no"
++	eval "LIB_res_nsearch="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_res_nsearch=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_res_nsearch"; then
++	LIBS="$LIB_res_nsearch $LIBS"
++fi
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for dn_expand" >&5
++echo $ECHO_N "checking for dn_expand... $ECHO_C" >&6
++if test "${ac_cv_funclib_dn_expand+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_dn_expand\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" resolv; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#include <stdio.h>
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_NAMESER_H
++#include <arpa/nameser.h>
++#endif
++#ifdef HAVE_RESOLV_H
++#include <resolv.h>
++#endif
++
++int
++main ()
++{
++dn_expand(0,0,0,0,0)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_dn_expand=$ac_lib; else ac_cv_funclib_dn_expand=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_dn_expand=\${ac_cv_funclib_dn_expand-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_dn_expand"
++
++if false; then
++	
++for ac_func in dn_expand
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# dn_expand
++eval "ac_tr_func=HAVE_`echo dn_expand | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_dn_expand=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_dn_expand=yes"
++	eval "LIB_dn_expand="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_dn_expand=no"
++	eval "LIB_dn_expand="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_dn_expand=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_dn_expand"; then
++	LIBS="$LIB_dn_expand $LIBS"
++fi
++
++
++
++echo "$as_me:$LINENO: checking for _res" >&5
++echo $ECHO_N "checking for _res... $ECHO_C" >&6
++if test "${ac_cv_var__res+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++
++	cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdio.h>
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_NAMESER_H
++#include <arpa/nameser.h>
++#endif
++#ifdef HAVE_RESOLV_H
++#include <resolv.h>
++#endif
++	void * foo() { return &_res; }
++int
++main ()
++{
++foo()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_var__res=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_var__res=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++if test "$ac_cv_var__res" != yes ; then
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++extern int _res;
++int foo() { return _res; }
++int
++main ()
++{
++foo()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_var__res=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_var__res=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++
++fi
++
++ac_foo=`eval echo \\$ac_cv_var__res`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE__RES 1
++_ACEOF
++
++	
++echo "$as_me:$LINENO: checking if _res is properly declared" >&5
++echo $ECHO_N "checking if _res is properly declared... $ECHO_C" >&6
++if test "${ac_cv_var__res_declaration+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdio.h>
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_NAMESER_H
++#include <arpa/nameser.h>
++#endif
++#ifdef HAVE_RESOLV_H
++#include <resolv.h>
++#endif
++extern struct { int foo; } _res;
++int
++main ()
++{
++_res.foo = 1;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_var__res_declaration=no"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_var__res_declaration=yes"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var__res_declaration" >&5
++echo "${ECHO_T}$ac_cv_var__res_declaration" >&6
++if eval "test \"\$ac_cv_var__res_declaration\" = yes"; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE__RES_DECLARATION 1
++_ACEOF
++
++fi
++
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking for working snprintf" >&5
++echo $ECHO_N "checking for working snprintf... $ECHO_C" >&6
++if test "${ac_cv_func_snprintf_working+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_cv_func_snprintf_working=yes
++if test "$cross_compiling" = yes; then
++  :
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#include <stdio.h>
++#include <string.h>
++int main()
++{
++	char foo[3];
++	snprintf(foo, 2, "12");
++	return strcmp(foo, "1");
++}
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  :
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++( exit $ac_status )
++ac_cv_func_snprintf_working=no
++fi
++rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_snprintf_working" >&5
++echo "${ECHO_T}$ac_cv_func_snprintf_working" >&6
++
++if test "$ac_cv_func_snprintf_working" = yes; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_SNPRINTF 1
++_ACEOF
++
++fi
++if test "$ac_cv_func_snprintf_working" = yes; then
++
++if test "$ac_cv_func_snprintf+set" != set -o "$ac_cv_func_snprintf" = yes; then
++echo "$as_me:$LINENO: checking if snprintf needs a prototype" >&5
++echo $ECHO_N "checking if snprintf needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_snprintf_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdio.h>
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int snprintf (struct foo*);
++snprintf(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_snprintf_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_snprintf_noproto=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_snprintf_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_snprintf_noproto" >&6
++if test "$ac_cv_func_snprintf_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_SNPRINTF_PROTO 1
++_ACEOF
++
++fi
++fi
++
++fi
++
++
++echo "$as_me:$LINENO: checking for working vsnprintf" >&5
++echo $ECHO_N "checking for working vsnprintf... $ECHO_C" >&6
++if test "${ac_cv_func_vsnprintf_working+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_cv_func_vsnprintf_working=yes
++if test "$cross_compiling" = yes; then
++  :
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#include <stdio.h>
++#include <string.h>
++#include <stdarg.h>
++
++int foo(int num, ...)
++{
++	char bar[3];
++	va_list arg;
++	va_start(arg, num);
++	vsnprintf(bar, 2, "%s", arg);
++	va_end(arg);
++	return strcmp(bar, "1");
++}
++
++
++int main()
++{
++	return foo(0, "12");
++}
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  :
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++( exit $ac_status )
++ac_cv_func_vsnprintf_working=no
++fi
++rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_vsnprintf_working" >&5
++echo "${ECHO_T}$ac_cv_func_vsnprintf_working" >&6
++
++if test "$ac_cv_func_vsnprintf_working" = yes; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_VSNPRINTF 1
++_ACEOF
++
++fi
++if test "$ac_cv_func_vsnprintf_working" = yes; then
++
++if test "$ac_cv_func_vsnprintf+set" != set -o "$ac_cv_func_vsnprintf" = yes; then
++echo "$as_me:$LINENO: checking if vsnprintf needs a prototype" >&5
++echo $ECHO_N "checking if vsnprintf needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_vsnprintf_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdio.h>
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int vsnprintf (struct foo*);
++vsnprintf(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_vsnprintf_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_vsnprintf_noproto=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_vsnprintf_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_vsnprintf_noproto" >&6
++if test "$ac_cv_func_vsnprintf_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_VSNPRINTF_PROTO 1
++_ACEOF
++
++fi
++fi
++
++fi
++
++
++
++echo "$as_me:$LINENO: checking for working glob" >&5
++echo $ECHO_N "checking for working glob... $ECHO_C" >&6
++if test "${ac_cv_func_glob_working+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_cv_func_glob_working=yes
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#include <stdio.h>
++#include <glob.h>
++int
++main ()
++{
++
++glob(NULL, GLOB_BRACE|GLOB_NOCHECK|GLOB_QUOTE|GLOB_TILDE|
++#ifdef GLOB_MAXPATH
++GLOB_MAXPATH
++#else
++GLOB_LIMIT
++#endif
++,
++NULL, NULL);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  :
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_glob_working=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_glob_working" >&5
++echo "${ECHO_T}$ac_cv_func_glob_working" >&6
++
++if test "$ac_cv_func_glob_working" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_GLOB 1
++_ACEOF
++
++fi
++if test "$ac_cv_func_glob_working" = yes; then
++
++if test "$ac_cv_func_glob+set" != set -o "$ac_cv_func_glob" = yes; then
++echo "$as_me:$LINENO: checking if glob needs a prototype" >&5
++echo $ECHO_N "checking if glob needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_glob_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdio.h>
++#include <glob.h>
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int glob (struct foo*);
++glob(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_glob_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_glob_noproto=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_glob_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_glob_noproto" >&6
++if test "$ac_cv_func_glob_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_GLOB_PROTO 1
++_ACEOF
++
++fi
++fi
++
++fi
++
++if test "$ac_cv_func_glob_working" != yes; then
++	case $LIB@&t@OBJS in
++    "glob.$ac_objext"   | \
++  *" glob.$ac_objext"   | \
++    "glob.$ac_objext "* | \
++  *" glob.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS glob.$ac_objext" ;;
++esac
++
++fi
++
++
++if test "$ac_cv_func_glob_working" = yes; then
++  have_glob_h_TRUE=
++  have_glob_h_FALSE='#'
++else
++  have_glob_h_TRUE='#'
++  have_glob_h_FALSE=
++fi
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++for ac_func in 				\
++	asnprintf				\
++	asprintf				\
++	atexit					\
++	cgetent					\
++	getconfattr				\
++	getprogname				\
++	getrlimit				\
++	getspnam				\
++	initstate				\
++	issetugid				\
++	on_exit					\
++	random					\
++	setprogname				\
++	setstate				\
++	strsvis					\
++	strunvis				\
++	strvis					\
++	strvisx					\
++	svis					\
++	sysconf					\
++	sysctl					\
++	uname					\
++	unvis					\
++	vasnprintf				\
++	vasprintf				\
++	vis					\
++
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++
++if test "$ac_cv_func_cgetent" = no; then
++	case $LIB@&t@OBJS in
++    "getcap.$ac_objext"   | \
++  *" getcap.$ac_objext"   | \
++    "getcap.$ac_objext "* | \
++  *" getcap.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS getcap.$ac_objext" ;;
++esac
++
++fi
++
++
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for getsockopt" >&5
++echo $ECHO_N "checking for getsockopt... $ECHO_C" >&6
++if test "${ac_cv_funclib_getsockopt+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_getsockopt\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++int
++main ()
++{
++getsockopt(0,0,0,0,0)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_getsockopt=$ac_lib; else ac_cv_funclib_getsockopt=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_getsockopt=\${ac_cv_funclib_getsockopt-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_getsockopt"
++
++if false; then
++	
++for ac_func in getsockopt
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# getsockopt
++eval "ac_tr_func=HAVE_`echo getsockopt | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_getsockopt=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_getsockopt=yes"
++	eval "LIB_getsockopt="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_getsockopt=no"
++	eval "LIB_getsockopt="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_getsockopt=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++
++
++
++echo "$as_me:$LINENO: checking for setsockopt" >&5
++echo $ECHO_N "checking for setsockopt... $ECHO_C" >&6
++if test "${ac_cv_funclib_setsockopt+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_setsockopt\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++int
++main ()
++{
++setsockopt(0,0,0,0,0)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_setsockopt=$ac_lib; else ac_cv_funclib_setsockopt=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_setsockopt=\${ac_cv_funclib_setsockopt-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_setsockopt"
++
++if false; then
++	
++for ac_func in setsockopt
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# setsockopt
++eval "ac_tr_func=HAVE_`echo setsockopt | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_setsockopt=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_setsockopt=yes"
++	eval "LIB_setsockopt="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_setsockopt=no"
++	eval "LIB_setsockopt="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_setsockopt=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for hstrerror" >&5
++echo $ECHO_N "checking for hstrerror... $ECHO_C" >&6
++if test "${ac_cv_funclib_hstrerror+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_hstrerror\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" resolv; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif
++int
++main ()
++{
++hstrerror(17)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_hstrerror=$ac_lib; else ac_cv_funclib_hstrerror=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_hstrerror=\${ac_cv_funclib_hstrerror-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_hstrerror"
++
++if false; then
++	
++for ac_func in hstrerror
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# hstrerror
++eval "ac_tr_func=HAVE_`echo hstrerror | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_hstrerror=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_hstrerror=yes"
++	eval "LIB_hstrerror="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_hstrerror=no"
++	eval "LIB_hstrerror="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_hstrerror=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_hstrerror"; then
++	LIBS="$LIB_hstrerror $LIBS"
++fi
++
++if eval "test \"$ac_cv_func_hstrerror\" != yes"; then 
++	case $LIB@&t@OBJS in
++    "hstrerror.$ac_objext"   | \
++  *" hstrerror.$ac_objext"   | \
++    "hstrerror.$ac_objext "* | \
++  *" hstrerror.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS hstrerror.$ac_objext" ;;
++esac
++
++fi
++
++
++if test "$ac_cv_func_hstrerror+set" != set -o "$ac_cv_func_hstrerror" = yes; then
++echo "$as_me:$LINENO: checking if hstrerror needs a prototype" >&5
++echo $ECHO_N "checking if hstrerror needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_hstrerror_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int hstrerror (struct foo*);
++hstrerror(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_hstrerror_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_hstrerror_noproto=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_hstrerror_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_hstrerror_noproto" >&6
++if test "$ac_cv_func_hstrerror_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_HSTRERROR_PROTO 1
++_ACEOF
++
++fi
++fi
++
++
++
++if test "$ac_cv_func_asprintf+set" != set -o "$ac_cv_func_asprintf" = yes; then
++echo "$as_me:$LINENO: checking if asprintf needs a prototype" >&5
++echo $ECHO_N "checking if asprintf needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_asprintf_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++	#include <stdio.h>
++	#include <string.h>
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int asprintf (struct foo*);
++asprintf(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_asprintf_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_asprintf_noproto=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_asprintf_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_asprintf_noproto" >&6
++if test "$ac_cv_func_asprintf_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_ASPRINTF_PROTO 1
++_ACEOF
++
++fi
++fi
++
++if test "$ac_cv_func_vasprintf+set" != set -o "$ac_cv_func_vasprintf" = yes; then
++echo "$as_me:$LINENO: checking if vasprintf needs a prototype" >&5
++echo $ECHO_N "checking if vasprintf needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_vasprintf_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++	#include <stdio.h>
++	#include <string.h>
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int vasprintf (struct foo*);
++vasprintf(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_vasprintf_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_vasprintf_noproto=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_vasprintf_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_vasprintf_noproto" >&6
++if test "$ac_cv_func_vasprintf_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_VASPRINTF_PROTO 1
++_ACEOF
++
++fi
++fi
++
++if test "$ac_cv_func_asnprintf+set" != set -o "$ac_cv_func_asnprintf" = yes; then
++echo "$as_me:$LINENO: checking if asnprintf needs a prototype" >&5
++echo $ECHO_N "checking if asnprintf needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_asnprintf_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++	#include <stdio.h>
++	#include <string.h>
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int asnprintf (struct foo*);
++asnprintf(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_asnprintf_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_asnprintf_noproto=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_asnprintf_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_asnprintf_noproto" >&6
++if test "$ac_cv_func_asnprintf_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_ASNPRINTF_PROTO 1
++_ACEOF
++
++fi
++fi
++
++if test "$ac_cv_func_vasnprintf+set" != set -o "$ac_cv_func_vasnprintf" = yes; then
++echo "$as_me:$LINENO: checking if vasnprintf needs a prototype" >&5
++echo $ECHO_N "checking if vasnprintf needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_vasnprintf_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++	#include <stdio.h>
++	#include <string.h>
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int vasnprintf (struct foo*);
++vasnprintf(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_vasnprintf_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_vasnprintf_noproto=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_vasnprintf_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_vasnprintf_noproto" >&6
++if test "$ac_cv_func_vasnprintf_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_VASNPRINTF_PROTO 1
++_ACEOF
++
++fi
++fi
++
++
++
++
++
++echo "$as_me:$LINENO: checking for bswap16" >&5
++echo $ECHO_N "checking for bswap16... $ECHO_C" >&6
++if test "${ac_cv_funclib_bswap16+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_bswap16\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_SYS_BSWAP_H
++#include <sys/bswap.h>
++#endif
++int
++main ()
++{
++bswap16(0)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_bswap16=$ac_lib; else ac_cv_funclib_bswap16=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_bswap16=\${ac_cv_funclib_bswap16-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_bswap16"
++
++if false; then
++	
++for ac_func in bswap16
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# bswap16
++eval "ac_tr_func=HAVE_`echo bswap16 | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_bswap16=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_bswap16=yes"
++	eval "LIB_bswap16="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_bswap16=no"
++	eval "LIB_bswap16="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_bswap16=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for bswap32" >&5
++echo $ECHO_N "checking for bswap32... $ECHO_C" >&6
++if test "${ac_cv_funclib_bswap32+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_bswap32\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_SYS_BSWAP_H
++#include <sys/bswap.h>
++#endif
++int
++main ()
++{
++bswap32(0)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_bswap32=$ac_lib; else ac_cv_funclib_bswap32=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_bswap32=\${ac_cv_funclib_bswap32-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_bswap32"
++
++if false; then
++	
++for ac_func in bswap32
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# bswap32
++eval "ac_tr_func=HAVE_`echo bswap32 | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_bswap32=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_bswap32=yes"
++	eval "LIB_bswap32="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_bswap32=no"
++	eval "LIB_bswap32="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_bswap32=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for pidfile" >&5
++echo $ECHO_N "checking for pidfile... $ECHO_C" >&6
++if test "${ac_cv_funclib_pidfile+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_pidfile\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" util; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_UTIL_H
++#include <util.h>
++#endif
++int
++main ()
++{
++pidfile(0)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_pidfile=$ac_lib; else ac_cv_funclib_pidfile=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_pidfile=\${ac_cv_funclib_pidfile-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_pidfile"
++
++if false; then
++	
++for ac_func in pidfile
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# pidfile
++eval "ac_tr_func=HAVE_`echo pidfile | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_pidfile=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_pidfile=yes"
++	eval "LIB_pidfile="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_pidfile=no"
++	eval "LIB_pidfile="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_pidfile=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for getaddrinfo" >&5
++echo $ECHO_N "checking for getaddrinfo... $ECHO_C" >&6
++if test "${ac_cv_funclib_getaddrinfo+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_getaddrinfo\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif
++int
++main ()
++{
++getaddrinfo(0,0,0,0)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_getaddrinfo=$ac_lib; else ac_cv_funclib_getaddrinfo=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_getaddrinfo=\${ac_cv_funclib_getaddrinfo-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_getaddrinfo"
++
++if false; then
++	
++for ac_func in getaddrinfo
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# getaddrinfo
++eval "ac_tr_func=HAVE_`echo getaddrinfo | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_getaddrinfo=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_getaddrinfo=yes"
++	eval "LIB_getaddrinfo="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_getaddrinfo=no"
++	eval "LIB_getaddrinfo="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_getaddrinfo=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_getaddrinfo"; then
++	LIBS="$LIB_getaddrinfo $LIBS"
++fi
++
++if eval "test \"$ac_cv_func_getaddrinfo\" != yes"; then 
++	case $LIB@&t@OBJS in
++    "getaddrinfo.$ac_objext"   | \
++  *" getaddrinfo.$ac_objext"   | \
++    "getaddrinfo.$ac_objext "* | \
++  *" getaddrinfo.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS getaddrinfo.$ac_objext" ;;
++esac
++
++fi
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for getnameinfo" >&5
++echo $ECHO_N "checking for getnameinfo... $ECHO_C" >&6
++if test "${ac_cv_funclib_getnameinfo+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_getnameinfo\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif
++int
++main ()
++{
++getnameinfo(0,0,0,0,0,0,0)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_getnameinfo=$ac_lib; else ac_cv_funclib_getnameinfo=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_getnameinfo=\${ac_cv_funclib_getnameinfo-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_getnameinfo"
++
++if false; then
++	
++for ac_func in getnameinfo
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# getnameinfo
++eval "ac_tr_func=HAVE_`echo getnameinfo | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_getnameinfo=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_getnameinfo=yes"
++	eval "LIB_getnameinfo="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_getnameinfo=no"
++	eval "LIB_getnameinfo="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_getnameinfo=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_getnameinfo"; then
++	LIBS="$LIB_getnameinfo $LIBS"
++fi
++
++if eval "test \"$ac_cv_func_getnameinfo\" != yes"; then 
++	case $LIB@&t@OBJS in
++    "getnameinfo.$ac_objext"   | \
++  *" getnameinfo.$ac_objext"   | \
++    "getnameinfo.$ac_objext "* | \
++  *" getnameinfo.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS getnameinfo.$ac_objext" ;;
++esac
++
++fi
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for freeaddrinfo" >&5
++echo $ECHO_N "checking for freeaddrinfo... $ECHO_C" >&6
++if test "${ac_cv_funclib_freeaddrinfo+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_freeaddrinfo\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif
++int
++main ()
++{
++freeaddrinfo(0)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_freeaddrinfo=$ac_lib; else ac_cv_funclib_freeaddrinfo=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_freeaddrinfo=\${ac_cv_funclib_freeaddrinfo-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_freeaddrinfo"
++
++if false; then
++	
++for ac_func in freeaddrinfo
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# freeaddrinfo
++eval "ac_tr_func=HAVE_`echo freeaddrinfo | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_freeaddrinfo=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_freeaddrinfo=yes"
++	eval "LIB_freeaddrinfo="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_freeaddrinfo=no"
++	eval "LIB_freeaddrinfo="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_freeaddrinfo=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_freeaddrinfo"; then
++	LIBS="$LIB_freeaddrinfo $LIBS"
++fi
++
++if eval "test \"$ac_cv_func_freeaddrinfo\" != yes"; then 
++	case $LIB@&t@OBJS in
++    "freeaddrinfo.$ac_objext"   | \
++  *" freeaddrinfo.$ac_objext"   | \
++    "freeaddrinfo.$ac_objext "* | \
++  *" freeaddrinfo.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS freeaddrinfo.$ac_objext" ;;
++esac
++
++fi
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for gai_strerror" >&5
++echo $ECHO_N "checking for gai_strerror... $ECHO_C" >&6
++if test "${ac_cv_funclib_gai_strerror+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_gai_strerror\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif
++int
++main ()
++{
++gai_strerror(0)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_gai_strerror=$ac_lib; else ac_cv_funclib_gai_strerror=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_gai_strerror=\${ac_cv_funclib_gai_strerror-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_gai_strerror"
++
++if false; then
++	
++for ac_func in gai_strerror
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# gai_strerror
++eval "ac_tr_func=HAVE_`echo gai_strerror | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_gai_strerror=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_gai_strerror=yes"
++	eval "LIB_gai_strerror="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_gai_strerror=no"
++	eval "LIB_gai_strerror="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_gai_strerror=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test -n "$LIB_gai_strerror"; then
++	LIBS="$LIB_gai_strerror $LIBS"
++fi
++
++if eval "test \"$ac_cv_func_gai_strerror\" != yes"; then 
++	case $LIB@&t@OBJS in
++    "gai_strerror.$ac_objext"   | \
++  *" gai_strerror.$ac_objext"   | \
++    "gai_strerror.$ac_objext "* | \
++  *" gai_strerror.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS gai_strerror.$ac_objext" ;;
++esac
++
++fi
++
++
++echo "$as_me:$LINENO: checking for chown" >&5
++echo $ECHO_N "checking for chown... $ECHO_C" >&6
++if test "${ac_cv_func_chown+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define chown to an innocuous variant, in case <limits.h> declares chown.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define chown innocuous_chown
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char chown (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef chown
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char chown ();
++/* 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_chown) || defined (__stub___chown)
++choke me
++#else
++char (*f) () = chown;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != chown;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_chown=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_chown=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_chown" >&5
++echo "${ECHO_T}$ac_cv_func_chown" >&6
++if test $ac_cv_func_chown = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_CHOWN 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "chown.$ac_objext"   | \
++  *" chown.$ac_objext"   | \
++    "chown.$ac_objext "* | \
++  *" chown.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS chown.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for copyhostent" >&5
++echo $ECHO_N "checking for copyhostent... $ECHO_C" >&6
++if test "${ac_cv_func_copyhostent+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define copyhostent to an innocuous variant, in case <limits.h> declares copyhostent.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define copyhostent innocuous_copyhostent
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char copyhostent (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef copyhostent
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char copyhostent ();
++/* 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_copyhostent) || defined (__stub___copyhostent)
++choke me
++#else
++char (*f) () = copyhostent;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != copyhostent;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_copyhostent=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_copyhostent=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_copyhostent" >&5
++echo "${ECHO_T}$ac_cv_func_copyhostent" >&6
++if test $ac_cv_func_copyhostent = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_COPYHOSTENT 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "copyhostent.$ac_objext"   | \
++  *" copyhostent.$ac_objext"   | \
++    "copyhostent.$ac_objext "* | \
++  *" copyhostent.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS copyhostent.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for daemon" >&5
++echo $ECHO_N "checking for daemon... $ECHO_C" >&6
++if test "${ac_cv_func_daemon+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define daemon to an innocuous variant, in case <limits.h> declares daemon.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define daemon innocuous_daemon
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char daemon (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef daemon
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char daemon ();
++/* 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_daemon) || defined (__stub___daemon)
++choke me
++#else
++char (*f) () = daemon;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != daemon;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_daemon=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_daemon=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_daemon" >&5
++echo "${ECHO_T}$ac_cv_func_daemon" >&6
++if test $ac_cv_func_daemon = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_DAEMON 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "daemon.$ac_objext"   | \
++  *" daemon.$ac_objext"   | \
++    "daemon.$ac_objext "* | \
++  *" daemon.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS daemon.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for ecalloc" >&5
++echo $ECHO_N "checking for ecalloc... $ECHO_C" >&6
++if test "${ac_cv_func_ecalloc+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define ecalloc to an innocuous variant, in case <limits.h> declares ecalloc.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define ecalloc innocuous_ecalloc
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char ecalloc (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef ecalloc
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char ecalloc ();
++/* 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_ecalloc) || defined (__stub___ecalloc)
++choke me
++#else
++char (*f) () = ecalloc;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != ecalloc;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_ecalloc=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_ecalloc=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_ecalloc" >&5
++echo "${ECHO_T}$ac_cv_func_ecalloc" >&6
++if test $ac_cv_func_ecalloc = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_ECALLOC 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "ecalloc.$ac_objext"   | \
++  *" ecalloc.$ac_objext"   | \
++    "ecalloc.$ac_objext "* | \
++  *" ecalloc.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS ecalloc.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for emalloc" >&5
++echo $ECHO_N "checking for emalloc... $ECHO_C" >&6
++if test "${ac_cv_func_emalloc+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define emalloc to an innocuous variant, in case <limits.h> declares emalloc.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define emalloc innocuous_emalloc
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char emalloc (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef emalloc
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char emalloc ();
++/* 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_emalloc) || defined (__stub___emalloc)
++choke me
++#else
++char (*f) () = emalloc;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != emalloc;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_emalloc=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_emalloc=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_emalloc" >&5
++echo "${ECHO_T}$ac_cv_func_emalloc" >&6
++if test $ac_cv_func_emalloc = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_EMALLOC 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "emalloc.$ac_objext"   | \
++  *" emalloc.$ac_objext"   | \
++    "emalloc.$ac_objext "* | \
++  *" emalloc.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS emalloc.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for erealloc" >&5
++echo $ECHO_N "checking for erealloc... $ECHO_C" >&6
++if test "${ac_cv_func_erealloc+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define erealloc to an innocuous variant, in case <limits.h> declares erealloc.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define erealloc innocuous_erealloc
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char erealloc (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef erealloc
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char erealloc ();
++/* 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_erealloc) || defined (__stub___erealloc)
++choke me
++#else
++char (*f) () = erealloc;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != erealloc;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_erealloc=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_erealloc=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_erealloc" >&5
++echo "${ECHO_T}$ac_cv_func_erealloc" >&6
++if test $ac_cv_func_erealloc = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_EREALLOC 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "erealloc.$ac_objext"   | \
++  *" erealloc.$ac_objext"   | \
++    "erealloc.$ac_objext "* | \
++  *" erealloc.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS erealloc.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for estrdup" >&5
++echo $ECHO_N "checking for estrdup... $ECHO_C" >&6
++if test "${ac_cv_func_estrdup+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define estrdup to an innocuous variant, in case <limits.h> declares estrdup.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define estrdup innocuous_estrdup
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char estrdup (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef estrdup
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char estrdup ();
++/* 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_estrdup) || defined (__stub___estrdup)
++choke me
++#else
++char (*f) () = estrdup;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != estrdup;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_estrdup=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_estrdup=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_estrdup" >&5
++echo "${ECHO_T}$ac_cv_func_estrdup" >&6
++if test $ac_cv_func_estrdup = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_ESTRDUP 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "estrdup.$ac_objext"   | \
++  *" estrdup.$ac_objext"   | \
++    "estrdup.$ac_objext "* | \
++  *" estrdup.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS estrdup.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for err" >&5
++echo $ECHO_N "checking for err... $ECHO_C" >&6
++if test "${ac_cv_func_err+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define err to an innocuous variant, in case <limits.h> declares err.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define err innocuous_err
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char err (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef err
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char err ();
++/* 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_err) || defined (__stub___err)
++choke me
++#else
++char (*f) () = err;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != err;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_err=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_err=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_err" >&5
++echo "${ECHO_T}$ac_cv_func_err" >&6
++if test $ac_cv_func_err = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_ERR 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "err.$ac_objext"   | \
++  *" err.$ac_objext"   | \
++    "err.$ac_objext "* | \
++  *" err.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS err.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for errx" >&5
++echo $ECHO_N "checking for errx... $ECHO_C" >&6
++if test "${ac_cv_func_errx+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define errx to an innocuous variant, in case <limits.h> declares errx.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define errx innocuous_errx
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char errx (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef errx
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char errx ();
++/* 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_errx) || defined (__stub___errx)
++choke me
++#else
++char (*f) () = errx;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != errx;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_errx=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_errx=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_errx" >&5
++echo "${ECHO_T}$ac_cv_func_errx" >&6
++if test $ac_cv_func_errx = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_ERRX 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "errx.$ac_objext"   | \
++  *" errx.$ac_objext"   | \
++    "errx.$ac_objext "* | \
++  *" errx.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS errx.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for fchown" >&5
++echo $ECHO_N "checking for fchown... $ECHO_C" >&6
++if test "${ac_cv_func_fchown+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define fchown to an innocuous variant, in case <limits.h> declares fchown.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define fchown innocuous_fchown
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char fchown (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef fchown
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char fchown ();
++/* 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_fchown) || defined (__stub___fchown)
++choke me
++#else
++char (*f) () = fchown;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != fchown;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_fchown=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_fchown=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_fchown" >&5
++echo "${ECHO_T}$ac_cv_func_fchown" >&6
++if test $ac_cv_func_fchown = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_FCHOWN 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "fchown.$ac_objext"   | \
++  *" fchown.$ac_objext"   | \
++    "fchown.$ac_objext "* | \
++  *" fchown.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS fchown.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for flock" >&5
++echo $ECHO_N "checking for flock... $ECHO_C" >&6
++if test "${ac_cv_func_flock+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define flock to an innocuous variant, in case <limits.h> declares flock.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define flock innocuous_flock
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char flock (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef flock
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char flock ();
++/* 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_flock) || defined (__stub___flock)
++choke me
++#else
++char (*f) () = flock;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != flock;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_flock=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_flock=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_flock" >&5
++echo "${ECHO_T}$ac_cv_func_flock" >&6
++if test $ac_cv_func_flock = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_FLOCK 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "flock.$ac_objext"   | \
++  *" flock.$ac_objext"   | \
++    "flock.$ac_objext "* | \
++  *" flock.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS flock.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for fnmatch" >&5
++echo $ECHO_N "checking for fnmatch... $ECHO_C" >&6
++if test "${ac_cv_func_fnmatch+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define fnmatch to an innocuous variant, in case <limits.h> declares fnmatch.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define fnmatch innocuous_fnmatch
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char fnmatch (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef fnmatch
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char fnmatch ();
++/* 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_fnmatch) || defined (__stub___fnmatch)
++choke me
++#else
++char (*f) () = fnmatch;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != fnmatch;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_fnmatch=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_fnmatch=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_fnmatch" >&5
++echo "${ECHO_T}$ac_cv_func_fnmatch" >&6
++if test $ac_cv_func_fnmatch = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_FNMATCH 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "fnmatch.$ac_objext"   | \
++  *" fnmatch.$ac_objext"   | \
++    "fnmatch.$ac_objext "* | \
++  *" fnmatch.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS fnmatch.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for freehostent" >&5
++echo $ECHO_N "checking for freehostent... $ECHO_C" >&6
++if test "${ac_cv_func_freehostent+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define freehostent to an innocuous variant, in case <limits.h> declares freehostent.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define freehostent innocuous_freehostent
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char freehostent (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef freehostent
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char freehostent ();
++/* 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_freehostent) || defined (__stub___freehostent)
++choke me
++#else
++char (*f) () = freehostent;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != freehostent;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_freehostent=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_freehostent=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_freehostent" >&5
++echo "${ECHO_T}$ac_cv_func_freehostent" >&6
++if test $ac_cv_func_freehostent = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_FREEHOSTENT 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "freehostent.$ac_objext"   | \
++  *" freehostent.$ac_objext"   | \
++    "freehostent.$ac_objext "* | \
++  *" freehostent.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS freehostent.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for getcwd" >&5
++echo $ECHO_N "checking for getcwd... $ECHO_C" >&6
++if test "${ac_cv_func_getcwd+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define getcwd to an innocuous variant, in case <limits.h> declares getcwd.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define getcwd innocuous_getcwd
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char getcwd (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef getcwd
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char getcwd ();
++/* 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_getcwd) || defined (__stub___getcwd)
++choke me
++#else
++char (*f) () = getcwd;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != getcwd;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_getcwd=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_getcwd=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getcwd" >&5
++echo "${ECHO_T}$ac_cv_func_getcwd" >&6
++if test $ac_cv_func_getcwd = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_GETCWD 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "getcwd.$ac_objext"   | \
++  *" getcwd.$ac_objext"   | \
++    "getcwd.$ac_objext "* | \
++  *" getcwd.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS getcwd.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for getdtablesize" >&5
++echo $ECHO_N "checking for getdtablesize... $ECHO_C" >&6
++if test "${ac_cv_func_getdtablesize+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define getdtablesize to an innocuous variant, in case <limits.h> declares getdtablesize.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define getdtablesize innocuous_getdtablesize
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char getdtablesize (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef getdtablesize
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char getdtablesize ();
++/* 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_getdtablesize) || defined (__stub___getdtablesize)
++choke me
++#else
++char (*f) () = getdtablesize;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != getdtablesize;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_getdtablesize=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_getdtablesize=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getdtablesize" >&5
++echo "${ECHO_T}$ac_cv_func_getdtablesize" >&6
++if test $ac_cv_func_getdtablesize = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_GETDTABLESIZE 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "getdtablesize.$ac_objext"   | \
++  *" getdtablesize.$ac_objext"   | \
++    "getdtablesize.$ac_objext "* | \
++  *" getdtablesize.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS getdtablesize.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for getegid" >&5
++echo $ECHO_N "checking for getegid... $ECHO_C" >&6
++if test "${ac_cv_func_getegid+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define getegid to an innocuous variant, in case <limits.h> declares getegid.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define getegid innocuous_getegid
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char getegid (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef getegid
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char getegid ();
++/* 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_getegid) || defined (__stub___getegid)
++choke me
++#else
++char (*f) () = getegid;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != getegid;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_getegid=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_getegid=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getegid" >&5
++echo "${ECHO_T}$ac_cv_func_getegid" >&6
++if test $ac_cv_func_getegid = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_GETEGID 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "getegid.$ac_objext"   | \
++  *" getegid.$ac_objext"   | \
++    "getegid.$ac_objext "* | \
++  *" getegid.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS getegid.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for geteuid" >&5
++echo $ECHO_N "checking for geteuid... $ECHO_C" >&6
++if test "${ac_cv_func_geteuid+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define geteuid to an innocuous variant, in case <limits.h> declares geteuid.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define geteuid innocuous_geteuid
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char geteuid (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef geteuid
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char geteuid ();
++/* 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_geteuid) || defined (__stub___geteuid)
++choke me
++#else
++char (*f) () = geteuid;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != geteuid;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_geteuid=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_geteuid=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_geteuid" >&5
++echo "${ECHO_T}$ac_cv_func_geteuid" >&6
++if test $ac_cv_func_geteuid = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_GETEUID 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "geteuid.$ac_objext"   | \
++  *" geteuid.$ac_objext"   | \
++    "geteuid.$ac_objext "* | \
++  *" geteuid.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS geteuid.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for getgid" >&5
++echo $ECHO_N "checking for getgid... $ECHO_C" >&6
++if test "${ac_cv_func_getgid+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define getgid to an innocuous variant, in case <limits.h> declares getgid.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define getgid innocuous_getgid
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char getgid (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef getgid
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char getgid ();
++/* 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_getgid) || defined (__stub___getgid)
++choke me
++#else
++char (*f) () = getgid;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != getgid;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_getgid=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_getgid=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getgid" >&5
++echo "${ECHO_T}$ac_cv_func_getgid" >&6
++if test $ac_cv_func_getgid = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_GETGID 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "getgid.$ac_objext"   | \
++  *" getgid.$ac_objext"   | \
++    "getgid.$ac_objext "* | \
++  *" getgid.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS getgid.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for gethostname" >&5
++echo $ECHO_N "checking for gethostname... $ECHO_C" >&6
++if test "${ac_cv_func_gethostname+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define gethostname to an innocuous variant, in case <limits.h> declares gethostname.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define gethostname innocuous_gethostname
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char gethostname (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef gethostname
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char gethostname ();
++/* 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_gethostname) || defined (__stub___gethostname)
++choke me
++#else
++char (*f) () = gethostname;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != gethostname;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_gethostname=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_gethostname=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_gethostname" >&5
++echo "${ECHO_T}$ac_cv_func_gethostname" >&6
++if test $ac_cv_func_gethostname = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_GETHOSTNAME 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "gethostname.$ac_objext"   | \
++  *" gethostname.$ac_objext"   | \
++    "gethostname.$ac_objext "* | \
++  *" gethostname.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS gethostname.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for getifaddrs" >&5
++echo $ECHO_N "checking for getifaddrs... $ECHO_C" >&6
++if test "${ac_cv_func_getifaddrs+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define getifaddrs to an innocuous variant, in case <limits.h> declares getifaddrs.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define getifaddrs innocuous_getifaddrs
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char getifaddrs (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef getifaddrs
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char getifaddrs ();
++/* 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_getifaddrs) || defined (__stub___getifaddrs)
++choke me
++#else
++char (*f) () = getifaddrs;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != getifaddrs;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_getifaddrs=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_getifaddrs=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getifaddrs" >&5
++echo "${ECHO_T}$ac_cv_func_getifaddrs" >&6
++if test $ac_cv_func_getifaddrs = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_GETIFADDRS 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "getifaddrs.$ac_objext"   | \
++  *" getifaddrs.$ac_objext"   | \
++    "getifaddrs.$ac_objext "* | \
++  *" getifaddrs.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS getifaddrs.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for getipnodebyaddr" >&5
++echo $ECHO_N "checking for getipnodebyaddr... $ECHO_C" >&6
++if test "${ac_cv_func_getipnodebyaddr+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define getipnodebyaddr to an innocuous variant, in case <limits.h> declares getipnodebyaddr.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define getipnodebyaddr innocuous_getipnodebyaddr
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char getipnodebyaddr (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef getipnodebyaddr
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char getipnodebyaddr ();
++/* 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_getipnodebyaddr) || defined (__stub___getipnodebyaddr)
++choke me
++#else
++char (*f) () = getipnodebyaddr;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != getipnodebyaddr;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_getipnodebyaddr=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_getipnodebyaddr=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getipnodebyaddr" >&5
++echo "${ECHO_T}$ac_cv_func_getipnodebyaddr" >&6
++if test $ac_cv_func_getipnodebyaddr = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_GETIPNODEBYADDR 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "getipnodebyaddr.$ac_objext"   | \
++  *" getipnodebyaddr.$ac_objext"   | \
++    "getipnodebyaddr.$ac_objext "* | \
++  *" getipnodebyaddr.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS getipnodebyaddr.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for getipnodebyname" >&5
++echo $ECHO_N "checking for getipnodebyname... $ECHO_C" >&6
++if test "${ac_cv_func_getipnodebyname+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define getipnodebyname to an innocuous variant, in case <limits.h> declares getipnodebyname.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define getipnodebyname innocuous_getipnodebyname
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char getipnodebyname (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef getipnodebyname
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char getipnodebyname ();
++/* 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_getipnodebyname) || defined (__stub___getipnodebyname)
++choke me
++#else
++char (*f) () = getipnodebyname;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != getipnodebyname;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_getipnodebyname=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_getipnodebyname=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getipnodebyname" >&5
++echo "${ECHO_T}$ac_cv_func_getipnodebyname" >&6
++if test $ac_cv_func_getipnodebyname = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_GETIPNODEBYNAME 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "getipnodebyname.$ac_objext"   | \
++  *" getipnodebyname.$ac_objext"   | \
++    "getipnodebyname.$ac_objext "* | \
++  *" getipnodebyname.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS getipnodebyname.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for getopt" >&5
++echo $ECHO_N "checking for getopt... $ECHO_C" >&6
++if test "${ac_cv_func_getopt+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define getopt to an innocuous variant, in case <limits.h> declares getopt.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define getopt innocuous_getopt
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char getopt (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef getopt
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char getopt ();
++/* 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_getopt) || defined (__stub___getopt)
++choke me
++#else
++char (*f) () = getopt;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != getopt;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_getopt=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_getopt=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getopt" >&5
++echo "${ECHO_T}$ac_cv_func_getopt" >&6
++if test $ac_cv_func_getopt = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_GETOPT 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "getopt.$ac_objext"   | \
++  *" getopt.$ac_objext"   | \
++    "getopt.$ac_objext "* | \
++  *" getopt.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS getopt.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for gettimeofday" >&5
++echo $ECHO_N "checking for gettimeofday... $ECHO_C" >&6
++if test "${ac_cv_func_gettimeofday+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define gettimeofday to an innocuous variant, in case <limits.h> declares gettimeofday.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define gettimeofday innocuous_gettimeofday
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char gettimeofday (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef gettimeofday
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char gettimeofday ();
++/* 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
++char (*f) () = gettimeofday;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != gettimeofday;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_gettimeofday=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_gettimeofday=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_gettimeofday" >&5
++echo "${ECHO_T}$ac_cv_func_gettimeofday" >&6
++if test $ac_cv_func_gettimeofday = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_GETTIMEOFDAY 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "gettimeofday.$ac_objext"   | \
++  *" gettimeofday.$ac_objext"   | \
++    "gettimeofday.$ac_objext "* | \
++  *" gettimeofday.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS gettimeofday.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for getuid" >&5
++echo $ECHO_N "checking for getuid... $ECHO_C" >&6
++if test "${ac_cv_func_getuid+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define getuid to an innocuous variant, in case <limits.h> declares getuid.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define getuid innocuous_getuid
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char getuid (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef getuid
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char getuid ();
++/* 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_getuid) || defined (__stub___getuid)
++choke me
++#else
++char (*f) () = getuid;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != getuid;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_getuid=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_getuid=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getuid" >&5
++echo "${ECHO_T}$ac_cv_func_getuid" >&6
++if test $ac_cv_func_getuid = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_GETUID 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "getuid.$ac_objext"   | \
++  *" getuid.$ac_objext"   | \
++    "getuid.$ac_objext "* | \
++  *" getuid.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS getuid.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for getusershell" >&5
++echo $ECHO_N "checking for getusershell... $ECHO_C" >&6
++if test "${ac_cv_func_getusershell+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define getusershell to an innocuous variant, in case <limits.h> declares getusershell.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define getusershell innocuous_getusershell
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char getusershell (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef getusershell
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char getusershell ();
++/* 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_getusershell) || defined (__stub___getusershell)
++choke me
++#else
++char (*f) () = getusershell;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != getusershell;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_getusershell=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_getusershell=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getusershell" >&5
++echo "${ECHO_T}$ac_cv_func_getusershell" >&6
++if test $ac_cv_func_getusershell = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_GETUSERSHELL 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "getusershell.$ac_objext"   | \
++  *" getusershell.$ac_objext"   | \
++    "getusershell.$ac_objext "* | \
++  *" getusershell.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS getusershell.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for initgroups" >&5
++echo $ECHO_N "checking for initgroups... $ECHO_C" >&6
++if test "${ac_cv_func_initgroups+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define initgroups to an innocuous variant, in case <limits.h> declares initgroups.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define initgroups innocuous_initgroups
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char initgroups (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef initgroups
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char initgroups ();
++/* 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_initgroups) || defined (__stub___initgroups)
++choke me
++#else
++char (*f) () = initgroups;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != initgroups;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_initgroups=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_initgroups=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_initgroups" >&5
++echo "${ECHO_T}$ac_cv_func_initgroups" >&6
++if test $ac_cv_func_initgroups = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_INITGROUPS 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "initgroups.$ac_objext"   | \
++  *" initgroups.$ac_objext"   | \
++    "initgroups.$ac_objext "* | \
++  *" initgroups.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS initgroups.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for innetgr" >&5
++echo $ECHO_N "checking for innetgr... $ECHO_C" >&6
++if test "${ac_cv_func_innetgr+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define innetgr to an innocuous variant, in case <limits.h> declares innetgr.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define innetgr innocuous_innetgr
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char innetgr (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef innetgr
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char innetgr ();
++/* 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_innetgr) || defined (__stub___innetgr)
++choke me
++#else
++char (*f) () = innetgr;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != innetgr;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_innetgr=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_innetgr=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_innetgr" >&5
++echo "${ECHO_T}$ac_cv_func_innetgr" >&6
++if test $ac_cv_func_innetgr = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_INNETGR 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "innetgr.$ac_objext"   | \
++  *" innetgr.$ac_objext"   | \
++    "innetgr.$ac_objext "* | \
++  *" innetgr.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS innetgr.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for iruserok" >&5
++echo $ECHO_N "checking for iruserok... $ECHO_C" >&6
++if test "${ac_cv_func_iruserok+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define iruserok to an innocuous variant, in case <limits.h> declares iruserok.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define iruserok innocuous_iruserok
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char iruserok (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef iruserok
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char iruserok ();
++/* 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_iruserok) || defined (__stub___iruserok)
++choke me
++#else
++char (*f) () = iruserok;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != iruserok;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_iruserok=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_iruserok=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_iruserok" >&5
++echo "${ECHO_T}$ac_cv_func_iruserok" >&6
++if test $ac_cv_func_iruserok = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_IRUSEROK 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "iruserok.$ac_objext"   | \
++  *" iruserok.$ac_objext"   | \
++    "iruserok.$ac_objext "* | \
++  *" iruserok.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS iruserok.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for localtime_r" >&5
++echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
++if test "${ac_cv_func_localtime_r+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define localtime_r innocuous_localtime_r
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char localtime_r (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef localtime_r
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char localtime_r ();
++/* 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_localtime_r) || defined (__stub___localtime_r)
++choke me
++#else
++char (*f) () = localtime_r;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != localtime_r;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_localtime_r=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_localtime_r=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
++echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
++if test $ac_cv_func_localtime_r = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_LOCALTIME_R 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "localtime_r.$ac_objext"   | \
++  *" localtime_r.$ac_objext"   | \
++    "localtime_r.$ac_objext "* | \
++  *" localtime_r.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS localtime_r.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for lstat" >&5
++echo $ECHO_N "checking for lstat... $ECHO_C" >&6
++if test "${ac_cv_func_lstat+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define lstat to an innocuous variant, in case <limits.h> declares lstat.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define lstat innocuous_lstat
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char lstat (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef lstat
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char lstat ();
++/* 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_lstat) || defined (__stub___lstat)
++choke me
++#else
++char (*f) () = lstat;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != lstat;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_lstat=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_lstat=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_lstat" >&5
++echo "${ECHO_T}$ac_cv_func_lstat" >&6
++if test $ac_cv_func_lstat = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_LSTAT 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "lstat.$ac_objext"   | \
++  *" lstat.$ac_objext"   | \
++    "lstat.$ac_objext "* | \
++  *" lstat.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS lstat.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for memmove" >&5
++echo $ECHO_N "checking for memmove... $ECHO_C" >&6
++if test "${ac_cv_func_memmove+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define memmove to an innocuous variant, in case <limits.h> declares memmove.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define memmove innocuous_memmove
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char memmove (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef memmove
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char memmove ();
++/* 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_memmove) || defined (__stub___memmove)
++choke me
++#else
++char (*f) () = memmove;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != memmove;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_memmove=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_memmove=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_memmove" >&5
++echo "${ECHO_T}$ac_cv_func_memmove" >&6
++if test $ac_cv_func_memmove = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_MEMMOVE 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "memmove.$ac_objext"   | \
++  *" memmove.$ac_objext"   | \
++    "memmove.$ac_objext "* | \
++  *" memmove.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS memmove.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for mkstemp" >&5
++echo $ECHO_N "checking for mkstemp... $ECHO_C" >&6
++if test "${ac_cv_func_mkstemp+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define mkstemp to an innocuous variant, in case <limits.h> declares mkstemp.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define mkstemp innocuous_mkstemp
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char mkstemp (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef mkstemp
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char mkstemp ();
++/* 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_mkstemp) || defined (__stub___mkstemp)
++choke me
++#else
++char (*f) () = mkstemp;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != mkstemp;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_mkstemp=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_mkstemp=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_mkstemp" >&5
++echo "${ECHO_T}$ac_cv_func_mkstemp" >&6
++if test $ac_cv_func_mkstemp = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_MKSTEMP 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "mkstemp.$ac_objext"   | \
++  *" mkstemp.$ac_objext"   | \
++    "mkstemp.$ac_objext "* | \
++  *" mkstemp.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS mkstemp.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for putenv" >&5
++echo $ECHO_N "checking for putenv... $ECHO_C" >&6
++if test "${ac_cv_func_putenv+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define putenv to an innocuous variant, in case <limits.h> declares putenv.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define putenv innocuous_putenv
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char putenv (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef putenv
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char putenv ();
++/* 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_putenv) || defined (__stub___putenv)
++choke me
++#else
++char (*f) () = putenv;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != putenv;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_putenv=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_putenv=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_putenv" >&5
++echo "${ECHO_T}$ac_cv_func_putenv" >&6
++if test $ac_cv_func_putenv = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_PUTENV 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "putenv.$ac_objext"   | \
++  *" putenv.$ac_objext"   | \
++    "putenv.$ac_objext "* | \
++  *" putenv.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS putenv.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for rcmd" >&5
++echo $ECHO_N "checking for rcmd... $ECHO_C" >&6
++if test "${ac_cv_func_rcmd+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define rcmd to an innocuous variant, in case <limits.h> declares rcmd.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define rcmd innocuous_rcmd
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char rcmd (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef rcmd
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char rcmd ();
++/* 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_rcmd) || defined (__stub___rcmd)
++choke me
++#else
++char (*f) () = rcmd;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != rcmd;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_rcmd=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_rcmd=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_rcmd" >&5
++echo "${ECHO_T}$ac_cv_func_rcmd" >&6
++if test $ac_cv_func_rcmd = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_RCMD 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "rcmd.$ac_objext"   | \
++  *" rcmd.$ac_objext"   | \
++    "rcmd.$ac_objext "* | \
++  *" rcmd.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS rcmd.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for readv" >&5
++echo $ECHO_N "checking for readv... $ECHO_C" >&6
++if test "${ac_cv_func_readv+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define readv to an innocuous variant, in case <limits.h> declares readv.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define readv innocuous_readv
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char readv (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef readv
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char readv ();
++/* 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_readv) || defined (__stub___readv)
++choke me
++#else
++char (*f) () = readv;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != readv;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_readv=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_readv=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_readv" >&5
++echo "${ECHO_T}$ac_cv_func_readv" >&6
++if test $ac_cv_func_readv = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_READV 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "readv.$ac_objext"   | \
++  *" readv.$ac_objext"   | \
++    "readv.$ac_objext "* | \
++  *" readv.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS readv.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for recvmsg" >&5
++echo $ECHO_N "checking for recvmsg... $ECHO_C" >&6
++if test "${ac_cv_func_recvmsg+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define recvmsg to an innocuous variant, in case <limits.h> declares recvmsg.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define recvmsg innocuous_recvmsg
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char recvmsg (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef recvmsg
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char recvmsg ();
++/* 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_recvmsg) || defined (__stub___recvmsg)
++choke me
++#else
++char (*f) () = recvmsg;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != recvmsg;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_recvmsg=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_recvmsg=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_recvmsg" >&5
++echo "${ECHO_T}$ac_cv_func_recvmsg" >&6
++if test $ac_cv_func_recvmsg = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_RECVMSG 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "recvmsg.$ac_objext"   | \
++  *" recvmsg.$ac_objext"   | \
++    "recvmsg.$ac_objext "* | \
++  *" recvmsg.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS recvmsg.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for sendmsg" >&5
++echo $ECHO_N "checking for sendmsg... $ECHO_C" >&6
++if test "${ac_cv_func_sendmsg+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define sendmsg to an innocuous variant, in case <limits.h> declares sendmsg.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define sendmsg innocuous_sendmsg
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char sendmsg (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef sendmsg
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char sendmsg ();
++/* 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_sendmsg) || defined (__stub___sendmsg)
++choke me
++#else
++char (*f) () = sendmsg;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != sendmsg;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_sendmsg=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_sendmsg=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_sendmsg" >&5
++echo "${ECHO_T}$ac_cv_func_sendmsg" >&6
++if test $ac_cv_func_sendmsg = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_SENDMSG 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "sendmsg.$ac_objext"   | \
++  *" sendmsg.$ac_objext"   | \
++    "sendmsg.$ac_objext "* | \
++  *" sendmsg.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS sendmsg.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for setegid" >&5
++echo $ECHO_N "checking for setegid... $ECHO_C" >&6
++if test "${ac_cv_func_setegid+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define setegid to an innocuous variant, in case <limits.h> declares setegid.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define setegid innocuous_setegid
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char setegid (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef setegid
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char setegid ();
++/* 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_setegid) || defined (__stub___setegid)
++choke me
++#else
++char (*f) () = setegid;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != setegid;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_setegid=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_setegid=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_setegid" >&5
++echo "${ECHO_T}$ac_cv_func_setegid" >&6
++if test $ac_cv_func_setegid = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_SETEGID 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "setegid.$ac_objext"   | \
++  *" setegid.$ac_objext"   | \
++    "setegid.$ac_objext "* | \
++  *" setegid.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS setegid.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for setenv" >&5
++echo $ECHO_N "checking for setenv... $ECHO_C" >&6
++if test "${ac_cv_func_setenv+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define setenv to an innocuous variant, in case <limits.h> declares setenv.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define setenv innocuous_setenv
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char setenv (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef setenv
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char setenv ();
++/* 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
++char (*f) () = setenv;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != setenv;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_setenv=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_setenv=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_setenv" >&5
++echo "${ECHO_T}$ac_cv_func_setenv" >&6
++if test $ac_cv_func_setenv = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_SETENV 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "setenv.$ac_objext"   | \
++  *" setenv.$ac_objext"   | \
++    "setenv.$ac_objext "* | \
++  *" setenv.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS setenv.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for seteuid" >&5
++echo $ECHO_N "checking for seteuid... $ECHO_C" >&6
++if test "${ac_cv_func_seteuid+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define seteuid to an innocuous variant, in case <limits.h> declares seteuid.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define seteuid innocuous_seteuid
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char seteuid (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef seteuid
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char seteuid ();
++/* 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_seteuid) || defined (__stub___seteuid)
++choke me
++#else
++char (*f) () = seteuid;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != seteuid;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_seteuid=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_seteuid=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_seteuid" >&5
++echo "${ECHO_T}$ac_cv_func_seteuid" >&6
++if test $ac_cv_func_seteuid = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_SETEUID 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "seteuid.$ac_objext"   | \
++  *" seteuid.$ac_objext"   | \
++    "seteuid.$ac_objext "* | \
++  *" seteuid.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS seteuid.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for strcasecmp" >&5
++echo $ECHO_N "checking for strcasecmp... $ECHO_C" >&6
++if test "${ac_cv_func_strcasecmp+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define strcasecmp to an innocuous variant, in case <limits.h> declares strcasecmp.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define strcasecmp innocuous_strcasecmp
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char strcasecmp (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef strcasecmp
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char strcasecmp ();
++/* 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_strcasecmp) || defined (__stub___strcasecmp)
++choke me
++#else
++char (*f) () = strcasecmp;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != strcasecmp;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_strcasecmp=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_strcasecmp=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strcasecmp" >&5
++echo "${ECHO_T}$ac_cv_func_strcasecmp" >&6
++if test $ac_cv_func_strcasecmp = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRCASECMP 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "strcasecmp.$ac_objext"   | \
++  *" strcasecmp.$ac_objext"   | \
++    "strcasecmp.$ac_objext "* | \
++  *" strcasecmp.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS strcasecmp.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for strdup" >&5
++echo $ECHO_N "checking for strdup... $ECHO_C" >&6
++if test "${ac_cv_func_strdup+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define strdup to an innocuous variant, in case <limits.h> declares strdup.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define strdup innocuous_strdup
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char strdup (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef strdup
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char strdup ();
++/* 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_strdup) || defined (__stub___strdup)
++choke me
++#else
++char (*f) () = strdup;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != strdup;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_strdup=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_strdup=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strdup" >&5
++echo "${ECHO_T}$ac_cv_func_strdup" >&6
++if test $ac_cv_func_strdup = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRDUP 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "strdup.$ac_objext"   | \
++  *" strdup.$ac_objext"   | \
++    "strdup.$ac_objext "* | \
++  *" strdup.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS strdup.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for strerror" >&5
++echo $ECHO_N "checking for strerror... $ECHO_C" >&6
++if test "${ac_cv_func_strerror+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define strerror to an innocuous variant, in case <limits.h> declares strerror.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define strerror innocuous_strerror
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char strerror (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef strerror
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char strerror ();
++/* 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
++char (*f) () = strerror;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != strerror;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_strerror=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_strerror=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strerror" >&5
++echo "${ECHO_T}$ac_cv_func_strerror" >&6
++if test $ac_cv_func_strerror = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRERROR 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "strerror.$ac_objext"   | \
++  *" strerror.$ac_objext"   | \
++    "strerror.$ac_objext "* | \
++  *" strerror.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS strerror.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for strftime" >&5
++echo $ECHO_N "checking for strftime... $ECHO_C" >&6
++if test "${ac_cv_func_strftime+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define strftime to an innocuous variant, in case <limits.h> declares strftime.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define strftime innocuous_strftime
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char strftime (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef strftime
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char strftime ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_strftime) || defined (__stub___strftime)
++choke me
++#else
++char (*f) () = strftime;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != strftime;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_strftime=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_strftime=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strftime" >&5
++echo "${ECHO_T}$ac_cv_func_strftime" >&6
++if test $ac_cv_func_strftime = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRFTIME 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "strftime.$ac_objext"   | \
++  *" strftime.$ac_objext"   | \
++    "strftime.$ac_objext "* | \
++  *" strftime.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS strftime.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for strlcat" >&5
++echo $ECHO_N "checking for strlcat... $ECHO_C" >&6
++if test "${ac_cv_func_strlcat+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define strlcat to an innocuous variant, in case <limits.h> declares strlcat.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define strlcat innocuous_strlcat
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char strlcat (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef strlcat
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char strlcat ();
++/* 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_strlcat) || defined (__stub___strlcat)
++choke me
++#else
++char (*f) () = strlcat;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != strlcat;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_strlcat=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_strlcat=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strlcat" >&5
++echo "${ECHO_T}$ac_cv_func_strlcat" >&6
++if test $ac_cv_func_strlcat = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRLCAT 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "strlcat.$ac_objext"   | \
++  *" strlcat.$ac_objext"   | \
++    "strlcat.$ac_objext "* | \
++  *" strlcat.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS strlcat.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for strlcpy" >&5
++echo $ECHO_N "checking for strlcpy... $ECHO_C" >&6
++if test "${ac_cv_func_strlcpy+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define strlcpy to an innocuous variant, in case <limits.h> declares strlcpy.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define strlcpy innocuous_strlcpy
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char strlcpy (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef strlcpy
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char strlcpy ();
++/* 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_strlcpy) || defined (__stub___strlcpy)
++choke me
++#else
++char (*f) () = strlcpy;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != strlcpy;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_strlcpy=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_strlcpy=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strlcpy" >&5
++echo "${ECHO_T}$ac_cv_func_strlcpy" >&6
++if test $ac_cv_func_strlcpy = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRLCPY 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "strlcpy.$ac_objext"   | \
++  *" strlcpy.$ac_objext"   | \
++    "strlcpy.$ac_objext "* | \
++  *" strlcpy.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS strlcpy.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for strlwr" >&5
++echo $ECHO_N "checking for strlwr... $ECHO_C" >&6
++if test "${ac_cv_func_strlwr+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define strlwr to an innocuous variant, in case <limits.h> declares strlwr.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define strlwr innocuous_strlwr
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char strlwr (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef strlwr
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char strlwr ();
++/* 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_strlwr) || defined (__stub___strlwr)
++choke me
++#else
++char (*f) () = strlwr;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != strlwr;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_strlwr=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_strlwr=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strlwr" >&5
++echo "${ECHO_T}$ac_cv_func_strlwr" >&6
++if test $ac_cv_func_strlwr = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRLWR 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "strlwr.$ac_objext"   | \
++  *" strlwr.$ac_objext"   | \
++    "strlwr.$ac_objext "* | \
++  *" strlwr.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS strlwr.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for strncasecmp" >&5
++echo $ECHO_N "checking for strncasecmp... $ECHO_C" >&6
++if test "${ac_cv_func_strncasecmp+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define strncasecmp to an innocuous variant, in case <limits.h> declares strncasecmp.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define strncasecmp innocuous_strncasecmp
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char strncasecmp (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef strncasecmp
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char strncasecmp ();
++/* 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_strncasecmp) || defined (__stub___strncasecmp)
++choke me
++#else
++char (*f) () = strncasecmp;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != strncasecmp;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_strncasecmp=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_strncasecmp=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strncasecmp" >&5
++echo "${ECHO_T}$ac_cv_func_strncasecmp" >&6
++if test $ac_cv_func_strncasecmp = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRNCASECMP 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "strncasecmp.$ac_objext"   | \
++  *" strncasecmp.$ac_objext"   | \
++    "strncasecmp.$ac_objext "* | \
++  *" strncasecmp.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS strncasecmp.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for strndup" >&5
++echo $ECHO_N "checking for strndup... $ECHO_C" >&6
++if test "${ac_cv_func_strndup+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define strndup to an innocuous variant, in case <limits.h> declares strndup.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define strndup innocuous_strndup
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char strndup (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef strndup
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char strndup ();
++/* 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_strndup) || defined (__stub___strndup)
++choke me
++#else
++char (*f) () = strndup;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != strndup;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_strndup=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_strndup=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strndup" >&5
++echo "${ECHO_T}$ac_cv_func_strndup" >&6
++if test $ac_cv_func_strndup = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRNDUP 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "strndup.$ac_objext"   | \
++  *" strndup.$ac_objext"   | \
++    "strndup.$ac_objext "* | \
++  *" strndup.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS strndup.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for strnlen" >&5
++echo $ECHO_N "checking for strnlen... $ECHO_C" >&6
++if test "${ac_cv_func_strnlen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define strnlen to an innocuous variant, in case <limits.h> declares strnlen.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define strnlen innocuous_strnlen
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char strnlen (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef strnlen
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char strnlen ();
++/* 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_strnlen) || defined (__stub___strnlen)
++choke me
++#else
++char (*f) () = strnlen;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != strnlen;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_strnlen=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_strnlen=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strnlen" >&5
++echo "${ECHO_T}$ac_cv_func_strnlen" >&6
++if test $ac_cv_func_strnlen = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRNLEN 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "strnlen.$ac_objext"   | \
++  *" strnlen.$ac_objext"   | \
++    "strnlen.$ac_objext "* | \
++  *" strnlen.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS strnlen.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for strptime" >&5
++echo $ECHO_N "checking for strptime... $ECHO_C" >&6
++if test "${ac_cv_func_strptime+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define strptime innocuous_strptime
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char strptime (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef strptime
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char strptime ();
++/* 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_strptime) || defined (__stub___strptime)
++choke me
++#else
++char (*f) () = strptime;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != strptime;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_strptime=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_strptime=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
++echo "${ECHO_T}$ac_cv_func_strptime" >&6
++if test $ac_cv_func_strptime = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRPTIME 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "strptime.$ac_objext"   | \
++  *" strptime.$ac_objext"   | \
++    "strptime.$ac_objext "* | \
++  *" strptime.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS strptime.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for strsep" >&5
++echo $ECHO_N "checking for strsep... $ECHO_C" >&6
++if test "${ac_cv_func_strsep+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define strsep to an innocuous variant, in case <limits.h> declares strsep.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define strsep innocuous_strsep
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char strsep (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef strsep
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char strsep ();
++/* 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_strsep) || defined (__stub___strsep)
++choke me
++#else
++char (*f) () = strsep;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != strsep;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_strsep=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_strsep=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strsep" >&5
++echo "${ECHO_T}$ac_cv_func_strsep" >&6
++if test $ac_cv_func_strsep = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRSEP 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "strsep.$ac_objext"   | \
++  *" strsep.$ac_objext"   | \
++    "strsep.$ac_objext "* | \
++  *" strsep.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS strsep.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for strsep_copy" >&5
++echo $ECHO_N "checking for strsep_copy... $ECHO_C" >&6
++if test "${ac_cv_func_strsep_copy+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define strsep_copy to an innocuous variant, in case <limits.h> declares strsep_copy.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define strsep_copy innocuous_strsep_copy
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char strsep_copy (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef strsep_copy
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char strsep_copy ();
++/* 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_strsep_copy) || defined (__stub___strsep_copy)
++choke me
++#else
++char (*f) () = strsep_copy;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != strsep_copy;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_strsep_copy=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_strsep_copy=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strsep_copy" >&5
++echo "${ECHO_T}$ac_cv_func_strsep_copy" >&6
++if test $ac_cv_func_strsep_copy = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRSEP_COPY 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "strsep_copy.$ac_objext"   | \
++  *" strsep_copy.$ac_objext"   | \
++    "strsep_copy.$ac_objext "* | \
++  *" strsep_copy.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS strsep_copy.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for strtok_r" >&5
++echo $ECHO_N "checking for strtok_r... $ECHO_C" >&6
++if test "${ac_cv_func_strtok_r+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define strtok_r to an innocuous variant, in case <limits.h> declares strtok_r.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define strtok_r innocuous_strtok_r
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char strtok_r (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef strtok_r
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char strtok_r ();
++/* 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_strtok_r) || defined (__stub___strtok_r)
++choke me
++#else
++char (*f) () = strtok_r;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != strtok_r;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_strtok_r=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_strtok_r=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strtok_r" >&5
++echo "${ECHO_T}$ac_cv_func_strtok_r" >&6
++if test $ac_cv_func_strtok_r = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRTOK_R 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "strtok_r.$ac_objext"   | \
++  *" strtok_r.$ac_objext"   | \
++    "strtok_r.$ac_objext "* | \
++  *" strtok_r.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS strtok_r.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for strupr" >&5
++echo $ECHO_N "checking for strupr... $ECHO_C" >&6
++if test "${ac_cv_func_strupr+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define strupr to an innocuous variant, in case <limits.h> declares strupr.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define strupr innocuous_strupr
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char strupr (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef strupr
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char strupr ();
++/* 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_strupr) || defined (__stub___strupr)
++choke me
++#else
++char (*f) () = strupr;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != strupr;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_strupr=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_strupr=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strupr" >&5
++echo "${ECHO_T}$ac_cv_func_strupr" >&6
++if test $ac_cv_func_strupr = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRUPR 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "strupr.$ac_objext"   | \
++  *" strupr.$ac_objext"   | \
++    "strupr.$ac_objext "* | \
++  *" strupr.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS strupr.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for swab" >&5
++echo $ECHO_N "checking for swab... $ECHO_C" >&6
++if test "${ac_cv_func_swab+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define swab to an innocuous variant, in case <limits.h> declares swab.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define swab innocuous_swab
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char swab (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef swab
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char swab ();
++/* 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_swab) || defined (__stub___swab)
++choke me
++#else
++char (*f) () = swab;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != swab;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_swab=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_swab=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_swab" >&5
++echo "${ECHO_T}$ac_cv_func_swab" >&6
++if test $ac_cv_func_swab = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_SWAB 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "swab.$ac_objext"   | \
++  *" swab.$ac_objext"   | \
++    "swab.$ac_objext "* | \
++  *" swab.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS swab.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for unsetenv" >&5
++echo $ECHO_N "checking for unsetenv... $ECHO_C" >&6
++if test "${ac_cv_func_unsetenv+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define unsetenv to an innocuous variant, in case <limits.h> declares unsetenv.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define unsetenv innocuous_unsetenv
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char unsetenv (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef unsetenv
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char unsetenv ();
++/* 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_unsetenv) || defined (__stub___unsetenv)
++choke me
++#else
++char (*f) () = unsetenv;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != unsetenv;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_unsetenv=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_unsetenv=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_unsetenv" >&5
++echo "${ECHO_T}$ac_cv_func_unsetenv" >&6
++if test $ac_cv_func_unsetenv = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_UNSETENV 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "unsetenv.$ac_objext"   | \
++  *" unsetenv.$ac_objext"   | \
++    "unsetenv.$ac_objext "* | \
++  *" unsetenv.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS unsetenv.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for verr" >&5
++echo $ECHO_N "checking for verr... $ECHO_C" >&6
++if test "${ac_cv_func_verr+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define verr to an innocuous variant, in case <limits.h> declares verr.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define verr innocuous_verr
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char verr (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef verr
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char verr ();
++/* 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_verr) || defined (__stub___verr)
++choke me
++#else
++char (*f) () = verr;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != verr;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_verr=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_verr=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_verr" >&5
++echo "${ECHO_T}$ac_cv_func_verr" >&6
++if test $ac_cv_func_verr = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_VERR 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "verr.$ac_objext"   | \
++  *" verr.$ac_objext"   | \
++    "verr.$ac_objext "* | \
++  *" verr.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS verr.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for verrx" >&5
++echo $ECHO_N "checking for verrx... $ECHO_C" >&6
++if test "${ac_cv_func_verrx+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define verrx to an innocuous variant, in case <limits.h> declares verrx.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define verrx innocuous_verrx
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char verrx (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef verrx
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char verrx ();
++/* 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_verrx) || defined (__stub___verrx)
++choke me
++#else
++char (*f) () = verrx;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != verrx;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_verrx=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_verrx=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_verrx" >&5
++echo "${ECHO_T}$ac_cv_func_verrx" >&6
++if test $ac_cv_func_verrx = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_VERRX 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "verrx.$ac_objext"   | \
++  *" verrx.$ac_objext"   | \
++    "verrx.$ac_objext "* | \
++  *" verrx.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS verrx.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for vsyslog" >&5
++echo $ECHO_N "checking for vsyslog... $ECHO_C" >&6
++if test "${ac_cv_func_vsyslog+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define vsyslog to an innocuous variant, in case <limits.h> declares vsyslog.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define vsyslog innocuous_vsyslog
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char vsyslog (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef vsyslog
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char vsyslog ();
++/* 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_vsyslog) || defined (__stub___vsyslog)
++choke me
++#else
++char (*f) () = vsyslog;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != vsyslog;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_vsyslog=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_vsyslog=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_vsyslog" >&5
++echo "${ECHO_T}$ac_cv_func_vsyslog" >&6
++if test $ac_cv_func_vsyslog = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_VSYSLOG 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "vsyslog.$ac_objext"   | \
++  *" vsyslog.$ac_objext"   | \
++    "vsyslog.$ac_objext "* | \
++  *" vsyslog.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS vsyslog.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for vwarn" >&5
++echo $ECHO_N "checking for vwarn... $ECHO_C" >&6
++if test "${ac_cv_func_vwarn+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define vwarn to an innocuous variant, in case <limits.h> declares vwarn.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define vwarn innocuous_vwarn
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char vwarn (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef vwarn
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char vwarn ();
++/* 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_vwarn) || defined (__stub___vwarn)
++choke me
++#else
++char (*f) () = vwarn;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != vwarn;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_vwarn=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_vwarn=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_vwarn" >&5
++echo "${ECHO_T}$ac_cv_func_vwarn" >&6
++if test $ac_cv_func_vwarn = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_VWARN 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "vwarn.$ac_objext"   | \
++  *" vwarn.$ac_objext"   | \
++    "vwarn.$ac_objext "* | \
++  *" vwarn.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS vwarn.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for vwarnx" >&5
++echo $ECHO_N "checking for vwarnx... $ECHO_C" >&6
++if test "${ac_cv_func_vwarnx+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define vwarnx to an innocuous variant, in case <limits.h> declares vwarnx.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define vwarnx innocuous_vwarnx
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char vwarnx (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef vwarnx
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char vwarnx ();
++/* 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_vwarnx) || defined (__stub___vwarnx)
++choke me
++#else
++char (*f) () = vwarnx;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != vwarnx;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_vwarnx=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_vwarnx=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_vwarnx" >&5
++echo "${ECHO_T}$ac_cv_func_vwarnx" >&6
++if test $ac_cv_func_vwarnx = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_VWARNX 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "vwarnx.$ac_objext"   | \
++  *" vwarnx.$ac_objext"   | \
++    "vwarnx.$ac_objext "* | \
++  *" vwarnx.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS vwarnx.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for warn" >&5
++echo $ECHO_N "checking for warn... $ECHO_C" >&6
++if test "${ac_cv_func_warn+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define warn to an innocuous variant, in case <limits.h> declares warn.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define warn innocuous_warn
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char warn (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef warn
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char warn ();
++/* 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_warn) || defined (__stub___warn)
++choke me
++#else
++char (*f) () = warn;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != warn;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_warn=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_warn=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_warn" >&5
++echo "${ECHO_T}$ac_cv_func_warn" >&6
++if test $ac_cv_func_warn = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_WARN 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "warn.$ac_objext"   | \
++  *" warn.$ac_objext"   | \
++    "warn.$ac_objext "* | \
++  *" warn.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS warn.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for warnx" >&5
++echo $ECHO_N "checking for warnx... $ECHO_C" >&6
++if test "${ac_cv_func_warnx+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define warnx to an innocuous variant, in case <limits.h> declares warnx.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define warnx innocuous_warnx
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char warnx (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef warnx
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char warnx ();
++/* 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_warnx) || defined (__stub___warnx)
++choke me
++#else
++char (*f) () = warnx;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != warnx;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_warnx=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_warnx=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_warnx" >&5
++echo "${ECHO_T}$ac_cv_func_warnx" >&6
++if test $ac_cv_func_warnx = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_WARNX 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "warnx.$ac_objext"   | \
++  *" warnx.$ac_objext"   | \
++    "warnx.$ac_objext "* | \
++  *" warnx.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS warnx.$ac_objext" ;;
++esac
++
++fi
++echo "$as_me:$LINENO: checking for writev" >&5
++echo $ECHO_N "checking for writev... $ECHO_C" >&6
++if test "${ac_cv_func_writev+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define writev to an innocuous variant, in case <limits.h> declares writev.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define writev innocuous_writev
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char writev (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef writev
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char writev ();
++/* 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_writev) || defined (__stub___writev)
++choke me
++#else
++char (*f) () = writev;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != writev;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_writev=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_writev=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_writev" >&5
++echo "${ECHO_T}$ac_cv_func_writev" >&6
++if test $ac_cv_func_writev = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_WRITEV 1
++_ACEOF
++
++else
++  case $LIB@&t@OBJS in
++    "writev.$ac_objext"   | \
++  *" writev.$ac_objext"   | \
++    "writev.$ac_objext "* | \
++  *" writev.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS writev.$ac_objext" ;;
++esac
++
++fi
++
++
++
++if test "$ac_cv_func_strndup+set" != set -o "$ac_cv_func_strndup" = yes; then
++echo "$as_me:$LINENO: checking if strndup needs a prototype" >&5
++echo $ECHO_N "checking if strndup needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_strndup_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <string.h>
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int strndup (struct foo*);
++strndup(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_strndup_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_strndup_noproto=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strndup_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_strndup_noproto" >&6
++if test "$ac_cv_func_strndup_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_STRNDUP_PROTO 1
++_ACEOF
++
++fi
++fi
++
++if test "$ac_cv_func_strsep+set" != set -o "$ac_cv_func_strsep" = yes; then
++echo "$as_me:$LINENO: checking if strsep needs a prototype" >&5
++echo $ECHO_N "checking if strsep needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_strsep_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <string.h>
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int strsep (struct foo*);
++strsep(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_strsep_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_strsep_noproto=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strsep_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_strsep_noproto" >&6
++if test "$ac_cv_func_strsep_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_STRSEP_PROTO 1
++_ACEOF
++
++fi
++fi
++
++if test "$ac_cv_func_strtok_r+set" != set -o "$ac_cv_func_strtok_r" = yes; then
++echo "$as_me:$LINENO: checking if strtok_r needs a prototype" >&5
++echo $ECHO_N "checking if strtok_r needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_strtok_r_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <string.h>
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int strtok_r (struct foo*);
++strtok_r(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_strtok_r_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_strtok_r_noproto=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strtok_r_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_strtok_r_noproto" >&6
++if test "$ac_cv_func_strtok_r_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_STRTOK_R_PROTO 1
++_ACEOF
++
++fi
++fi
++
++
++
++if test "$ac_cv_func_strsvis+set" != set -o "$ac_cv_func_strsvis" = yes; then
++echo "$as_me:$LINENO: checking if strsvis needs a prototype" >&5
++echo $ECHO_N "checking if strsvis needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_strsvis_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_VIS_H
++#include <vis.h>
++#endif
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int strsvis (struct foo*);
++strsvis(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_strsvis_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_strsvis_noproto=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strsvis_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_strsvis_noproto" >&6
++if test "$ac_cv_func_strsvis_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_STRSVIS_PROTO 1
++_ACEOF
++
++fi
++fi
++
++if test "$ac_cv_func_strunvis+set" != set -o "$ac_cv_func_strunvis" = yes; then
++echo "$as_me:$LINENO: checking if strunvis needs a prototype" >&5
++echo $ECHO_N "checking if strunvis needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_strunvis_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_VIS_H
++#include <vis.h>
++#endif
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int strunvis (struct foo*);
++strunvis(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_strunvis_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_strunvis_noproto=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strunvis_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_strunvis_noproto" >&6
++if test "$ac_cv_func_strunvis_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_STRUNVIS_PROTO 1
++_ACEOF
++
++fi
++fi
++
++if test "$ac_cv_func_strvis+set" != set -o "$ac_cv_func_strvis" = yes; then
++echo "$as_me:$LINENO: checking if strvis needs a prototype" >&5
++echo $ECHO_N "checking if strvis needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_strvis_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_VIS_H
++#include <vis.h>
++#endif
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int strvis (struct foo*);
++strvis(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_strvis_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_strvis_noproto=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strvis_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_strvis_noproto" >&6
++if test "$ac_cv_func_strvis_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_STRVIS_PROTO 1
++_ACEOF
++
++fi
++fi
++
++if test "$ac_cv_func_strvisx+set" != set -o "$ac_cv_func_strvisx" = yes; then
++echo "$as_me:$LINENO: checking if strvisx needs a prototype" >&5
++echo $ECHO_N "checking if strvisx needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_strvisx_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_VIS_H
++#include <vis.h>
++#endif
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int strvisx (struct foo*);
++strvisx(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_strvisx_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_strvisx_noproto=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_strvisx_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_strvisx_noproto" >&6
++if test "$ac_cv_func_strvisx_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_STRVISX_PROTO 1
++_ACEOF
++
++fi
++fi
++
++if test "$ac_cv_func_svis+set" != set -o "$ac_cv_func_svis" = yes; then
++echo "$as_me:$LINENO: checking if svis needs a prototype" >&5
++echo $ECHO_N "checking if svis needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_svis_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_VIS_H
++#include <vis.h>
++#endif
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int svis (struct foo*);
++svis(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_svis_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_svis_noproto=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_svis_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_svis_noproto" >&6
++if test "$ac_cv_func_svis_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_SVIS_PROTO 1
++_ACEOF
++
++fi
++fi
++
++if test "$ac_cv_func_unvis+set" != set -o "$ac_cv_func_unvis" = yes; then
++echo "$as_me:$LINENO: checking if unvis needs a prototype" >&5
++echo $ECHO_N "checking if unvis needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_unvis_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_VIS_H
++#include <vis.h>
++#endif
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int unvis (struct foo*);
++unvis(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_unvis_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_unvis_noproto=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_unvis_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_unvis_noproto" >&6
++if test "$ac_cv_func_unvis_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_UNVIS_PROTO 1
++_ACEOF
++
++fi
++fi
++
++if test "$ac_cv_func_vis+set" != set -o "$ac_cv_func_vis" = yes; then
++echo "$as_me:$LINENO: checking if vis needs a prototype" >&5
++echo $ECHO_N "checking if vis needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_vis_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_VIS_H
++#include <vis.h>
++#endif
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int vis (struct foo*);
++vis(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_vis_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_vis_noproto=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_vis_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_vis_noproto" >&6
++if test "$ac_cv_func_vis_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_VIS_PROTO 1
++_ACEOF
++
++fi
++fi
++
++
++echo "$as_me:$LINENO: checking for inet_aton" >&5
++echo $ECHO_N "checking for inet_aton... $ECHO_C" >&6
++if test "${ac_cv_func_inet_aton+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_INET_H
++#include <arpa/inet.h>
++#endif
++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_inet_aton) || defined (__stub___inet_aton)
++choke me
++#else
++inet_aton(0,0)
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_inet_aton=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_inet_aton=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++
++if eval "test \"\${ac_cv_func_inet_aton}\" = yes"; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_INET_ATON 1
++_ACEOF
++
++  echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++  case $LIB@&t@OBJS in
++    "inet_aton.$ac_objext"   | \
++  *" inet_aton.$ac_objext"   | \
++    "inet_aton.$ac_objext "* | \
++  *" inet_aton.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS inet_aton.$ac_objext" ;;
++esac
++
++fi
++
++echo "$as_me:$LINENO: checking for inet_ntop" >&5
++echo $ECHO_N "checking for inet_ntop... $ECHO_C" >&6
++if test "${ac_cv_func_inet_ntop+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_INET_H
++#include <arpa/inet.h>
++#endif
++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_inet_ntop) || defined (__stub___inet_ntop)
++choke me
++#else
++inet_ntop(0, 0, 0, 0)
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_inet_ntop=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_inet_ntop=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++
++if eval "test \"\${ac_cv_func_inet_ntop}\" = yes"; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_INET_NTOP 1
++_ACEOF
++
++  echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++  case $LIB@&t@OBJS in
++    "inet_ntop.$ac_objext"   | \
++  *" inet_ntop.$ac_objext"   | \
++    "inet_ntop.$ac_objext "* | \
++  *" inet_ntop.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS inet_ntop.$ac_objext" ;;
++esac
++
++fi
++
++echo "$as_me:$LINENO: checking for inet_pton" >&5
++echo $ECHO_N "checking for inet_pton... $ECHO_C" >&6
++if test "${ac_cv_func_inet_pton+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_INET_H
++#include <arpa/inet.h>
++#endif
++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_inet_pton) || defined (__stub___inet_pton)
++choke me
++#else
++inet_pton(0,0,0)
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_inet_pton=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_inet_pton=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++
++if eval "test \"\${ac_cv_func_inet_pton}\" = yes"; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_INET_PTON 1
++_ACEOF
++
++  echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++  case $LIB@&t@OBJS in
++    "inet_pton.$ac_objext"   | \
++  *" inet_pton.$ac_objext"   | \
++    "inet_pton.$ac_objext "* | \
++  *" inet_pton.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS inet_pton.$ac_objext" ;;
++esac
++
++fi
++
++
++
++echo "$as_me:$LINENO: checking for sa_len in struct sockaddr" >&5
++echo $ECHO_N "checking for sa_len in struct sockaddr... $ECHO_C" >&6
++if test "${ac_cv_type_struct_sockaddr_sa_len+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <sys/types.h>
++#include <sys/socket.h>
++int
++main ()
++{
++struct sockaddr x; x.sa_len;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_sockaddr_sa_len=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_struct_sockaddr_sa_len=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_sockaddr_sa_len" >&5
++echo "${ECHO_T}$ac_cv_type_struct_sockaddr_sa_len" >&6
++if test "$ac_cv_type_struct_sockaddr_sa_len" = yes; then
++	
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_STRUCT_SOCKADDR_SA_LEN 1
++_ACEOF
++
++	
++fi
++
++
++
++if test "$ac_cv_func_getnameinfo" = "yes"; then
++  
++echo "$as_me:$LINENO: checking if getnameinfo is broken" >&5
++echo $ECHO_N "checking if getnameinfo is broken... $ECHO_C" >&6
++if test "${ac_cv_func_getnameinfo_broken+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test "$cross_compiling" = yes; then
++  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
++See \`config.log' for more details." >&5
++echo "$as_me: error: cannot run test program while cross compiling
++See \`config.log' for more details." >&2;}
++   { (exit 1); exit 1; }; }
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdio.h>
++#include <sys/types.h>
++#include <sys/socket.h>
++#include <netinet/in.h>
++#include <netdb.h>
++
++int
++main(int argc, char **argv)
++{
++  struct sockaddr_in sin;
++  char host[256];
++  memset(&sin, 0, sizeof(sin));
++#ifdef HAVE_STRUCT_SOCKADDR_SA_LEN
++  sin.sin_len = sizeof(sin);
++#endif
++  sin.sin_family = AF_INET;
++  sin.sin_addr.s_addr = 0xffffffff;
++  sin.sin_port = 0;
++  return getnameinfo((struct sockaddr*)&sin, sizeof(sin), host, sizeof(host),
++	      NULL, 0, 0);
++}
++
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_getnameinfo_broken=no
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++( exit $ac_status )
++ac_cv_func_getnameinfo_broken=yes
++fi
++rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getnameinfo_broken" >&5
++echo "${ECHO_T}$ac_cv_func_getnameinfo_broken" >&6
++  if test "$ac_cv_func_getnameinfo_broken" = yes; then
++	case $LIB@&t@OBJS in
++    "getnameinfo.$ac_objext"   | \
++  *" getnameinfo.$ac_objext"   | \
++    "getnameinfo.$ac_objext "* | \
++  *" getnameinfo.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS getnameinfo.$ac_objext" ;;
++esac
++
++  fi
++fi
++
++if test "$ac_cv_func_getaddrinfo" = "yes"; then
++  
++echo "$as_me:$LINENO: checking if getaddrinfo handles numeric services" >&5
++echo $ECHO_N "checking if getaddrinfo handles numeric services... $ECHO_C" >&6
++if test "${ac_cv_func_getaddrinfo_numserv+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test "$cross_compiling" = yes; then
++  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
++See \`config.log' for more details." >&5
++echo "$as_me: error: cannot run test program while cross compiling
++See \`config.log' for more details." >&2;}
++   { (exit 1); exit 1; }; }
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdio.h>
++#include <sys/types.h>
++#include <sys/socket.h>
++#include <netdb.h>
++
++int
++main(int argc, char **argv)
++{
++	struct addrinfo hints, *ai;
++	memset(&hints, 0, sizeof(hints));
++	hints.ai_flags = AI_PASSIVE;
++	hints.ai_socktype = SOCK_STREAM;
++	hints.ai_family = PF_UNSPEC;
++	if(getaddrinfo(NULL, "17", &hints, &ai) != 0)
++		return 1;
++	return 0;
++}
++
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_getaddrinfo_numserv=yes
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++( exit $ac_status )
++ac_cv_func_getaddrinfo_numserv=no
++fi
++rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getaddrinfo_numserv" >&5
++echo "${ECHO_T}$ac_cv_func_getaddrinfo_numserv" >&6
++  if test "$ac_cv_func_getaddrinfo_numserv" = no; then
++	case $LIB@&t@OBJS in
++    "getaddrinfo.$ac_objext"   | \
++  *" getaddrinfo.$ac_objext"   | \
++    "getaddrinfo.$ac_objext "* | \
++  *" getaddrinfo.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS getaddrinfo.$ac_objext" ;;
++esac
++
++	case $LIB@&t@OBJS in
++    "freeaddrinfo.$ac_objext"   | \
++  *" freeaddrinfo.$ac_objext"   | \
++    "freeaddrinfo.$ac_objext "* | \
++  *" freeaddrinfo.$ac_objext "* ) ;;
++  *) LIB@&t@OBJS="$LIB@&t@OBJS freeaddrinfo.$ac_objext" ;;
++esac
++
++  fi
++fi
++
++
++if test "$ac_cv_func_setenv+set" != set -o "$ac_cv_func_setenv" = yes; then
++echo "$as_me:$LINENO: checking if setenv needs a prototype" >&5
++echo $ECHO_N "checking if setenv needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_setenv_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdlib.h>
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int setenv (struct foo*);
++setenv(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_setenv_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_setenv_noproto=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_setenv_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_setenv_noproto" >&6
++if test "$ac_cv_func_setenv_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_SETENV_PROTO 1
++_ACEOF
++
++fi
++fi
++
++
++if test "$ac_cv_func_unsetenv+set" != set -o "$ac_cv_func_unsetenv" = yes; then
++echo "$as_me:$LINENO: checking if unsetenv needs a prototype" >&5
++echo $ECHO_N "checking if unsetenv needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_unsetenv_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdlib.h>
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int unsetenv (struct foo*);
++unsetenv(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_unsetenv_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_unsetenv_noproto=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_unsetenv_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_unsetenv_noproto" >&6
++if test "$ac_cv_func_unsetenv_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_UNSETENV_PROTO 1
++_ACEOF
++
++fi
++fi
++
++
++if test "$ac_cv_func_gethostname+set" != set -o "$ac_cv_func_gethostname" = yes; then
++echo "$as_me:$LINENO: checking if gethostname needs a prototype" >&5
++echo $ECHO_N "checking if gethostname needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_gethostname_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <unistd.h>
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int gethostname (struct foo*);
++gethostname(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_gethostname_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_gethostname_noproto=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_gethostname_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_gethostname_noproto" >&6
++if test "$ac_cv_func_gethostname_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_GETHOSTNAME_PROTO 1
++_ACEOF
++
++fi
++fi
++
++
++if test "$ac_cv_func_mkstemp+set" != set -o "$ac_cv_func_mkstemp" = yes; then
++echo "$as_me:$LINENO: checking if mkstemp needs a prototype" >&5
++echo $ECHO_N "checking if mkstemp needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_mkstemp_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <unistd.h>
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int mkstemp (struct foo*);
++mkstemp(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_mkstemp_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_mkstemp_noproto=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_mkstemp_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_mkstemp_noproto" >&6
++if test "$ac_cv_func_mkstemp_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_MKSTEMP_PROTO 1
++_ACEOF
++
++fi
++fi
++
++
++if test "$ac_cv_func_getusershell+set" != set -o "$ac_cv_func_getusershell" = yes; then
++echo "$as_me:$LINENO: checking if getusershell needs a prototype" >&5
++echo $ECHO_N "checking if getusershell needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_getusershell_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <unistd.h>
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int getusershell (struct foo*);
++getusershell(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_getusershell_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_getusershell_noproto=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getusershell_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_getusershell_noproto" >&6
++if test "$ac_cv_func_getusershell_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_GETUSERSHELL_PROTO 1
++_ACEOF
++
++fi
++fi
++
++
++
++if test "$ac_cv_func_inet_aton+set" != set -o "$ac_cv_func_inet_aton" = yes; then
++echo "$as_me:$LINENO: checking if inet_aton needs a prototype" >&5
++echo $ECHO_N "checking if inet_aton needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_inet_aton_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_INET_H
++#include <arpa/inet.h>
++#endif
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int inet_aton (struct foo*);
++inet_aton(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_inet_aton_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_inet_aton_noproto=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_inet_aton_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_inet_aton_noproto" >&6
++if test "$ac_cv_func_inet_aton_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_INET_ATON_PROTO 1
++_ACEOF
++
++fi
++fi
++
++
++
++
++
++echo "$as_me:$LINENO: checking for crypt" >&5
++echo $ECHO_N "checking for crypt... $ECHO_C" >&6
++if test "${ac_cv_funclib_crypt+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_crypt\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" crypt; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++crypt()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_crypt=$ac_lib; else ac_cv_funclib_crypt=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_crypt=\${ac_cv_funclib_crypt-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_crypt"
++
++if false; then
++	
++for ac_func in crypt
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# crypt
++eval "ac_tr_func=HAVE_`echo crypt | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_crypt=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_crypt=yes"
++	eval "LIB_crypt="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_crypt=no"
++	eval "LIB_crypt="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_crypt=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking if gethostbyname is compatible with system prototype" >&5
++echo $ECHO_N "checking if gethostbyname is compatible with system prototype... $ECHO_C" >&6
++if test "${ac_cv_func_gethostbyname_proto_compat+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_INET_H
++#include <arpa/inet.h>
++#endif
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif
++
++int
++main ()
++{
++struct hostent *gethostbyname(const char *);
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_gethostbyname_proto_compat=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_gethostbyname_proto_compat=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname_proto_compat" >&5
++echo "${ECHO_T}$ac_cv_func_gethostbyname_proto_compat" >&6
++
++if test "$ac_cv_func_gethostbyname_proto_compat" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define GETHOSTBYNAME_PROTO_COMPATIBLE 1
++_ACEOF
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking if gethostbyaddr is compatible with system prototype" >&5
++echo $ECHO_N "checking if gethostbyaddr is compatible with system prototype... $ECHO_C" >&6
++if test "${ac_cv_func_gethostbyaddr_proto_compat+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_INET_H
++#include <arpa/inet.h>
++#endif
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif
++
++int
++main ()
++{
++struct hostent *gethostbyaddr(const void *, size_t, int);
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_gethostbyaddr_proto_compat=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_gethostbyaddr_proto_compat=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyaddr_proto_compat" >&5
++echo "${ECHO_T}$ac_cv_func_gethostbyaddr_proto_compat" >&6
++
++if test "$ac_cv_func_gethostbyaddr_proto_compat" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define GETHOSTBYADDR_PROTO_COMPATIBLE 1
++_ACEOF
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking if getservbyname is compatible with system prototype" >&5
++echo $ECHO_N "checking if getservbyname is compatible with system prototype... $ECHO_C" >&6
++if test "${ac_cv_func_getservbyname_proto_compat+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_INET_H
++#include <arpa/inet.h>
++#endif
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif
++
++int
++main ()
++{
++struct servent *getservbyname(const char *, const char *);
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_getservbyname_proto_compat=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_getservbyname_proto_compat=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getservbyname_proto_compat" >&5
++echo "${ECHO_T}$ac_cv_func_getservbyname_proto_compat" >&6
++
++if test "$ac_cv_func_getservbyname_proto_compat" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define GETSERVBYNAME_PROTO_COMPATIBLE 1
++_ACEOF
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking if getsockname is compatible with system prototype" >&5
++echo $ECHO_N "checking if getsockname is compatible with system prototype... $ECHO_C" >&6
++if test "${ac_cv_func_getsockname_proto_compat+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++
++int
++main ()
++{
++int getsockname(int, struct sockaddr*, socklen_t*);
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_getsockname_proto_compat=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_getsockname_proto_compat=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getsockname_proto_compat" >&5
++echo "${ECHO_T}$ac_cv_func_getsockname_proto_compat" >&6
++
++if test "$ac_cv_func_getsockname_proto_compat" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define GETSOCKNAME_PROTO_COMPATIBLE 1
++_ACEOF
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking if openlog is compatible with system prototype" >&5
++echo $ECHO_N "checking if openlog is compatible with system prototype... $ECHO_C" >&6
++if test "${ac_cv_func_openlog_proto_compat+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#ifdef HAVE_SYSLOG_H
++#include <syslog.h>
++#endif
++
++int
++main ()
++{
++void openlog(const char *, int, int);
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_openlog_proto_compat=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_openlog_proto_compat=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_openlog_proto_compat" >&5
++echo "${ECHO_T}$ac_cv_func_openlog_proto_compat" >&6
++
++if test "$ac_cv_func_openlog_proto_compat" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define OPENLOG_PROTO_COMPATIBLE 1
++_ACEOF
++
++fi
++
++
++
++
++if test "$ac_cv_func_crypt+set" != set -o "$ac_cv_func_crypt" = yes; then
++echo "$as_me:$LINENO: checking if crypt needs a prototype" >&5
++echo $ECHO_N "checking if crypt needs a prototype... $ECHO_C" >&6
++if test "${ac_cv_func_crypt_noproto+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#ifdef HAVE_CRYPT_H
++#include <crypt.h>
++#endif
++#ifdef HAVE_UNISTD_H
++#include <unistd.h>
++#endif
++
++int
++main ()
++{
++struct foo { int foo; } xx;
++extern int crypt (struct foo*);
++crypt(&xx);
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_func_crypt_noproto=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_func_crypt_noproto=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_crypt_noproto" >&5
++echo "${ECHO_T}$ac_cv_func_crypt_noproto" >&6
++if test "$ac_cv_func_crypt_noproto" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NEED_CRYPT_PROTO 1
++_ACEOF
++
++fi
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking for h_errno" >&5
++echo $ECHO_N "checking for h_errno... $ECHO_C" >&6
++if test "${ac_cv_var_h_errno+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++
++	cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif
++	void * foo() { return &h_errno; }
++int
++main ()
++{
++foo()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_var_h_errno=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_var_h_errno=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++if test "$ac_cv_var_h_errno" != yes ; then
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++extern int h_errno;
++int foo() { return h_errno; }
++int
++main ()
++{
++foo()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_var_h_errno=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_var_h_errno=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++
++fi
++
++ac_foo=`eval echo \\$ac_cv_var_h_errno`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_H_ERRNO 1
++_ACEOF
++
++	
++echo "$as_me:$LINENO: checking if h_errno is properly declared" >&5
++echo $ECHO_N "checking if h_errno is properly declared... $ECHO_C" >&6
++if test "${ac_cv_var_h_errno_declaration+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif
++extern struct { int foo; } h_errno;
++int
++main ()
++{
++h_errno.foo = 1;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_var_h_errno_declaration=no"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_var_h_errno_declaration=yes"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var_h_errno_declaration" >&5
++echo "${ECHO_T}$ac_cv_var_h_errno_declaration" >&6
++if eval "test \"\$ac_cv_var_h_errno_declaration\" = yes"; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_H_ERRNO_DECLARATION 1
++_ACEOF
++
++fi
++
++
++fi
++
++
++
++echo "$as_me:$LINENO: checking for h_errlist" >&5
++echo $ECHO_N "checking for h_errlist... $ECHO_C" >&6
++if test "${ac_cv_var_h_errlist+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++
++	cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif
++	void * foo() { return &h_errlist; }
++int
++main ()
++{
++foo()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_var_h_errlist=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_var_h_errlist=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++if test "$ac_cv_var_h_errlist" != yes ; then
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++extern int h_errlist;
++int foo() { return h_errlist; }
++int
++main ()
++{
++foo()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_var_h_errlist=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_var_h_errlist=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++
++fi
++
++ac_foo=`eval echo \\$ac_cv_var_h_errlist`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_H_ERRLIST 1
++_ACEOF
++
++	
++echo "$as_me:$LINENO: checking if h_errlist is properly declared" >&5
++echo $ECHO_N "checking if h_errlist is properly declared... $ECHO_C" >&6
++if test "${ac_cv_var_h_errlist_declaration+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif
++extern struct { int foo; } h_errlist;
++int
++main ()
++{
++h_errlist.foo = 1;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_var_h_errlist_declaration=no"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_var_h_errlist_declaration=yes"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var_h_errlist_declaration" >&5
++echo "${ECHO_T}$ac_cv_var_h_errlist_declaration" >&6
++if eval "test \"\$ac_cv_var_h_errlist_declaration\" = yes"; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_H_ERRLIST_DECLARATION 1
++_ACEOF
++
++fi
++
++
++fi
++
++
++
++echo "$as_me:$LINENO: checking for h_nerr" >&5
++echo $ECHO_N "checking for h_nerr... $ECHO_C" >&6
++if test "${ac_cv_var_h_nerr+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++
++	cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif
++	void * foo() { return &h_nerr; }
++int
++main ()
++{
++foo()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_var_h_nerr=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_var_h_nerr=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++if test "$ac_cv_var_h_nerr" != yes ; then
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++extern int h_nerr;
++int foo() { return h_nerr; }
++int
++main ()
++{
++foo()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_var_h_nerr=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_var_h_nerr=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++
++fi
++
++ac_foo=`eval echo \\$ac_cv_var_h_nerr`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_H_NERR 1
++_ACEOF
++
++	
++echo "$as_me:$LINENO: checking if h_nerr is properly declared" >&5
++echo $ECHO_N "checking if h_nerr is properly declared... $ECHO_C" >&6
++if test "${ac_cv_var_h_nerr_declaration+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif
++extern struct { int foo; } h_nerr;
++int
++main ()
++{
++h_nerr.foo = 1;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_var_h_nerr_declaration=no"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_var_h_nerr_declaration=yes"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var_h_nerr_declaration" >&5
++echo "${ECHO_T}$ac_cv_var_h_nerr_declaration" >&6
++if eval "test \"\$ac_cv_var_h_nerr_declaration\" = yes"; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_H_NERR_DECLARATION 1
++_ACEOF
++
++fi
++
++
++fi
++
++
++
++echo "$as_me:$LINENO: checking for __progname" >&5
++echo $ECHO_N "checking for __progname... $ECHO_C" >&6
++if test "${ac_cv_var___progname+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++
++	cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_ERR_H
++#include <err.h>
++#endif
++	void * foo() { return &__progname; }
++int
++main ()
++{
++foo()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_var___progname=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_var___progname=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++if test "$ac_cv_var___progname" != yes ; then
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++extern int __progname;
++int foo() { return __progname; }
++int
++main ()
++{
++foo()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_var___progname=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_var___progname=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++
++fi
++
++ac_foo=`eval echo \\$ac_cv_var___progname`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE___PROGNAME 1
++_ACEOF
++
++	
++echo "$as_me:$LINENO: checking if __progname is properly declared" >&5
++echo $ECHO_N "checking if __progname is properly declared... $ECHO_C" >&6
++if test "${ac_cv_var___progname_declaration+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef HAVE_ERR_H
++#include <err.h>
++#endif
++extern struct { int foo; } __progname;
++int
++main ()
++{
++__progname.foo = 1;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_var___progname_declaration=no"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_var___progname_declaration=yes"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var___progname_declaration" >&5
++echo "${ECHO_T}$ac_cv_var___progname_declaration" >&6
++if eval "test \"\$ac_cv_var___progname_declaration\" = yes"; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE___PROGNAME_DECLARATION 1
++_ACEOF
++
++fi
++
++
++fi
++
++
++
++echo "$as_me:$LINENO: checking if optarg is properly declared" >&5
++echo $ECHO_N "checking if optarg is properly declared... $ECHO_C" >&6
++if test "${ac_cv_var_optarg_declaration+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdlib.h>
++#ifdef HAVE_UNISTD_H
++#include <unistd.h>
++#endif
++extern struct { int foo; } optarg;
++int
++main ()
++{
++optarg.foo = 1;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_var_optarg_declaration=no"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_var_optarg_declaration=yes"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var_optarg_declaration" >&5
++echo "${ECHO_T}$ac_cv_var_optarg_declaration" >&6
++if eval "test \"\$ac_cv_var_optarg_declaration\" = yes"; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_OPTARG_DECLARATION 1
++_ACEOF
++
++fi
++
++
++
++echo "$as_me:$LINENO: checking if optind is properly declared" >&5
++echo $ECHO_N "checking if optind is properly declared... $ECHO_C" >&6
++if test "${ac_cv_var_optind_declaration+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdlib.h>
++#ifdef HAVE_UNISTD_H
++#include <unistd.h>
++#endif
++extern struct { int foo; } optind;
++int
++main ()
++{
++optind.foo = 1;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_var_optind_declaration=no"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_var_optind_declaration=yes"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var_optind_declaration" >&5
++echo "${ECHO_T}$ac_cv_var_optind_declaration" >&6
++if eval "test \"\$ac_cv_var_optind_declaration\" = yes"; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_OPTIND_DECLARATION 1
++_ACEOF
++
++fi
++
++
++
++echo "$as_me:$LINENO: checking if opterr is properly declared" >&5
++echo $ECHO_N "checking if opterr is properly declared... $ECHO_C" >&6
++if test "${ac_cv_var_opterr_declaration+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdlib.h>
++#ifdef HAVE_UNISTD_H
++#include <unistd.h>
++#endif
++extern struct { int foo; } opterr;
++int
++main ()
++{
++opterr.foo = 1;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_var_opterr_declaration=no"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_var_opterr_declaration=yes"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var_opterr_declaration" >&5
++echo "${ECHO_T}$ac_cv_var_opterr_declaration" >&6
++if eval "test \"\$ac_cv_var_opterr_declaration\" = yes"; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_OPTERR_DECLARATION 1
++_ACEOF
++
++fi
++
++
++
++echo "$as_me:$LINENO: checking if optopt is properly declared" >&5
++echo $ECHO_N "checking if optopt is properly declared... $ECHO_C" >&6
++if test "${ac_cv_var_optopt_declaration+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdlib.h>
++#ifdef HAVE_UNISTD_H
++#include <unistd.h>
++#endif
++extern struct { int foo; } optopt;
++int
++main ()
++{
++optopt.foo = 1;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_var_optopt_declaration=no"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_var_optopt_declaration=yes"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var_optopt_declaration" >&5
++echo "${ECHO_T}$ac_cv_var_optopt_declaration" >&6
++if eval "test \"\$ac_cv_var_optopt_declaration\" = yes"; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_OPTOPT_DECLARATION 1
++_ACEOF
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking if environ is properly declared" >&5
++echo $ECHO_N "checking if environ is properly declared... $ECHO_C" >&6
++if test "${ac_cv_var_environ_declaration+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdlib.h>
++extern struct { int foo; } environ;
++int
++main ()
++{
++environ.foo = 1;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_var_environ_declaration=no"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_var_environ_declaration=yes"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var_environ_declaration" >&5
++echo "${ECHO_T}$ac_cv_var_environ_declaration" >&6
++if eval "test \"\$ac_cv_var_environ_declaration\" = yes"; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_ENVIRON_DECLARATION 1
++_ACEOF
++
++fi
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
++echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
++if test "${ac_cv_type_struct_tm_tm_gmtoff+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <time.h>
++int
++main ()
++{
++struct tm x; x.tm_gmtoff;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_tm_tm_gmtoff=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_struct_tm_tm_gmtoff=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_tm_tm_gmtoff" >&5
++echo "${ECHO_T}$ac_cv_type_struct_tm_tm_gmtoff" >&6
++if test "$ac_cv_type_struct_tm_tm_gmtoff" = yes; then
++	
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_STRUCT_TM_TM_GMTOFF 1
++_ACEOF
++
++	
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking for tm_zone in struct tm" >&5
++echo $ECHO_N "checking for tm_zone in struct tm... $ECHO_C" >&6
++if test "${ac_cv_type_struct_tm_tm_zone+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <time.h>
++int
++main ()
++{
++struct tm x; x.tm_zone;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_tm_tm_zone=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_struct_tm_tm_zone=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_tm_tm_zone" >&5
++echo "${ECHO_T}$ac_cv_type_struct_tm_tm_zone" >&6
++if test "$ac_cv_type_struct_tm_tm_zone" = yes; then
++	
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_STRUCT_TM_TM_ZONE 1
++_ACEOF
++
++	
++fi
++
++
++
++
++
++echo "$as_me:$LINENO: checking for timezone" >&5
++echo $ECHO_N "checking for timezone... $ECHO_C" >&6
++if test "${ac_cv_var_timezone+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++
++	cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <time.h>
++	void * foo() { return &timezone; }
++int
++main ()
++{
++foo()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_var_timezone=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_var_timezone=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++if test "$ac_cv_var_timezone" != yes ; then
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++extern int timezone;
++int foo() { return timezone; }
++int
++main ()
++{
++foo()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_var_timezone=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_var_timezone=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++
++fi
++
++ac_foo=`eval echo \\$ac_cv_var_timezone`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_TIMEZONE 1
++_ACEOF
++
++	
++echo "$as_me:$LINENO: checking if timezone is properly declared" >&5
++echo $ECHO_N "checking if timezone is properly declared... $ECHO_C" >&6
++if test "${ac_cv_var_timezone_declaration+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <time.h>
++extern struct { int foo; } timezone;
++int
++main ()
++{
++timezone.foo = 1;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_var_timezone_declaration=no"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_var_timezone_declaration=yes"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var_timezone_declaration" >&5
++echo "${ECHO_T}$ac_cv_var_timezone_declaration" >&6
++if eval "test \"\$ac_cv_var_timezone_declaration\" = yes"; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_TIMEZONE_DECLARATION 1
++_ACEOF
++
++fi
++
++
++fi
++
++
++echo "$as_me:$LINENO: checking for altzone" >&5
++echo $ECHO_N "checking for altzone... $ECHO_C" >&6
++if test "${ac_cv_var_altzone+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++
++	cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <time.h>
++	void * foo() { return &altzone; }
++int
++main ()
++{
++foo()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_var_altzone=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_var_altzone=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++if test "$ac_cv_var_altzone" != yes ; then
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++extern int altzone;
++int foo() { return altzone; }
++int
++main ()
++{
++foo()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_var_altzone=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_var_altzone=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++
++fi
++
++ac_foo=`eval echo \\$ac_cv_var_altzone`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_ALTZONE 1
++_ACEOF
++
++	
++echo "$as_me:$LINENO: checking if altzone is properly declared" >&5
++echo $ECHO_N "checking if altzone is properly declared... $ECHO_C" >&6
++if test "${ac_cv_var_altzone_declaration+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <time.h>
++extern struct { int foo; } altzone;
++int
++main ()
++{
++altzone.foo = 1;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_var_altzone_declaration=no"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_var_altzone_declaration=yes"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: result: $ac_cv_var_altzone_declaration" >&5
++echo "${ECHO_T}$ac_cv_var_altzone_declaration" >&6
++if eval "test \"\$ac_cv_var_altzone_declaration\" = yes"; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_ALTZONE_DECLARATION 1
++_ACEOF
++
++fi
++
++
++fi
++
++
++
++
++cv=`echo "sa_family_t" | sed 'y%./+- %__p__%'`
++echo "$as_me:$LINENO: checking for sa_family_t" >&5
++echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6
++if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <sys/types.h>
++#if STDC_HEADERS
++#include <stdlib.h>
++#include <stddef.h>
++#endif
++#include <sys/socket.h>
++int
++main ()
++{
++sa_family_t foo;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_type_$cv=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_type_$cv=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++ac_foo=`eval echo \\$ac_cv_type_$cv`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++  ac_tr_hdr=HAVE_`echo sa_family_t | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
++if false; then
++	echo "$as_me:$LINENO: checking for sa_family_t" >&5
++echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6
++if test "${ac_cv_type_sa_family_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++int
++main ()
++{
++if ((sa_family_t *) 0)
++  return 0;
++if (sizeof (sa_family_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_sa_family_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_sa_family_t=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_sa_family_t" >&5
++echo "${ECHO_T}$ac_cv_type_sa_family_t" >&6
++if test $ac_cv_type_sa_family_t = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_SA_FAMILY_T 1
++_ACEOF
++
++
++fi
++
++fi
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_hdr 1
++_ACEOF
++
++fi
++
++
++
++cv=`echo "socklen_t" | sed 'y%./+- %__p__%'`
++echo "$as_me:$LINENO: checking for socklen_t" >&5
++echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
++if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <sys/types.h>
++#if STDC_HEADERS
++#include <stdlib.h>
++#include <stddef.h>
++#endif
++#include <sys/socket.h>
++int
++main ()
++{
++socklen_t foo;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_type_$cv=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_type_$cv=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++ac_foo=`eval echo \\$ac_cv_type_$cv`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++  ac_tr_hdr=HAVE_`echo socklen_t | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
++if false; then
++	echo "$as_me:$LINENO: checking for socklen_t" >&5
++echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
++if test "${ac_cv_type_socklen_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++int
++main ()
++{
++if ((socklen_t *) 0)
++  return 0;
++if (sizeof (socklen_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_socklen_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_socklen_t=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
++echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
++if test $ac_cv_type_socklen_t = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_SOCKLEN_T 1
++_ACEOF
++
++
++fi
++
++fi
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_hdr 1
++_ACEOF
++
++fi
++
++
++
++cv=`echo "struct sockaddr" | sed 'y%./+- %__p__%'`
++echo "$as_me:$LINENO: checking for struct sockaddr" >&5
++echo $ECHO_N "checking for struct sockaddr... $ECHO_C" >&6
++if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <sys/types.h>
++#if STDC_HEADERS
++#include <stdlib.h>
++#include <stddef.h>
++#endif
++#include <sys/socket.h>
++int
++main ()
++{
++struct sockaddr foo;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_type_$cv=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_type_$cv=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++ac_foo=`eval echo \\$ac_cv_type_$cv`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++  ac_tr_hdr=HAVE_`echo struct sockaddr | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
++if false; then
++	echo "$as_me:$LINENO: checking for struct sockaddr" >&5
++echo $ECHO_N "checking for struct sockaddr... $ECHO_C" >&6
++if test "${ac_cv_type_struct_sockaddr+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++int
++main ()
++{
++if ((struct sockaddr *) 0)
++  return 0;
++if (sizeof (struct sockaddr))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_sockaddr=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_struct_sockaddr=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_sockaddr" >&5
++echo "${ECHO_T}$ac_cv_type_struct_sockaddr" >&6
++if test $ac_cv_type_struct_sockaddr = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRUCT_SOCKADDR 1
++_ACEOF
++
++
++fi
++
++fi
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_hdr 1
++_ACEOF
++
++fi
++
++
++
++cv=`echo "struct sockaddr_storage" | sed 'y%./+- %__p__%'`
++echo "$as_me:$LINENO: checking for struct sockaddr_storage" >&5
++echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6
++if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <sys/types.h>
++#if STDC_HEADERS
++#include <stdlib.h>
++#include <stddef.h>
++#endif
++#include <sys/socket.h>
++int
++main ()
++{
++struct sockaddr_storage foo;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_type_$cv=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_type_$cv=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++ac_foo=`eval echo \\$ac_cv_type_$cv`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++  ac_tr_hdr=HAVE_`echo struct sockaddr_storage | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
++if false; then
++	echo "$as_me:$LINENO: checking for struct sockaddr_storage" >&5
++echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6
++if test "${ac_cv_type_struct_sockaddr_storage+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++int
++main ()
++{
++if ((struct sockaddr_storage *) 0)
++  return 0;
++if (sizeof (struct sockaddr_storage))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_sockaddr_storage=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_struct_sockaddr_storage=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_sockaddr_storage" >&5
++echo "${ECHO_T}$ac_cv_type_struct_sockaddr_storage" >&6
++if test $ac_cv_type_struct_sockaddr_storage = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRUCT_SOCKADDR_STORAGE 1
++_ACEOF
++
++
++fi
++
++fi
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_hdr 1
++_ACEOF
++
++fi
++
++
++
++cv=`echo "struct addrinfo" | sed 'y%./+- %__p__%'`
++echo "$as_me:$LINENO: checking for struct addrinfo" >&5
++echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6
++if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <sys/types.h>
++#if STDC_HEADERS
++#include <stdlib.h>
++#include <stddef.h>
++#endif
++#include <netdb.h>
++int
++main ()
++{
++struct addrinfo foo;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_type_$cv=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_type_$cv=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++ac_foo=`eval echo \\$ac_cv_type_$cv`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++  ac_tr_hdr=HAVE_`echo struct addrinfo | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
++if false; then
++	echo "$as_me:$LINENO: checking for struct addrinfo" >&5
++echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6
++if test "${ac_cv_type_struct_addrinfo+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++int
++main ()
++{
++if ((struct addrinfo *) 0)
++  return 0;
++if (sizeof (struct addrinfo))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_addrinfo=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_struct_addrinfo=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_addrinfo" >&5
++echo "${ECHO_T}$ac_cv_type_struct_addrinfo" >&6
++if test $ac_cv_type_struct_addrinfo = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRUCT_ADDRINFO 1
++_ACEOF
++
++
++fi
++
++fi
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_hdr 1
++_ACEOF
++
++fi
++
++
++
++cv=`echo "struct ifaddrs" | sed 'y%./+- %__p__%'`
++echo "$as_me:$LINENO: checking for struct ifaddrs" >&5
++echo $ECHO_N "checking for struct ifaddrs... $ECHO_C" >&6
++if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <sys/types.h>
++#if STDC_HEADERS
++#include <stdlib.h>
++#include <stddef.h>
++#endif
++#include <ifaddrs.h>
++int
++main ()
++{
++struct ifaddrs foo;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_type_$cv=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_type_$cv=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++ac_foo=`eval echo \\$ac_cv_type_$cv`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++  ac_tr_hdr=HAVE_`echo struct ifaddrs | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
++if false; then
++	echo "$as_me:$LINENO: checking for struct ifaddrs" >&5
++echo $ECHO_N "checking for struct ifaddrs... $ECHO_C" >&6
++if test "${ac_cv_type_struct_ifaddrs+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++int
++main ()
++{
++if ((struct ifaddrs *) 0)
++  return 0;
++if (sizeof (struct ifaddrs))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_ifaddrs=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_struct_ifaddrs=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_ifaddrs" >&5
++echo "${ECHO_T}$ac_cv_type_struct_ifaddrs" >&6
++if test $ac_cv_type_struct_ifaddrs = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRUCT_IFADDRS 1
++_ACEOF
++
++
++fi
++
++fi
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_hdr 1
++_ACEOF
++
++fi
++
++
++
++cv=`echo "struct iovec" | sed 'y%./+- %__p__%'`
++echo "$as_me:$LINENO: checking for struct iovec" >&5
++echo $ECHO_N "checking for struct iovec... $ECHO_C" >&6
++if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <sys/types.h>
++#if STDC_HEADERS
++#include <stdlib.h>
++#include <stddef.h>
++#endif
++
++#include <sys/types.h>
++#include <sys/uio.h>
++
++int
++main ()
++{
++struct iovec foo;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_type_$cv=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_type_$cv=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++ac_foo=`eval echo \\$ac_cv_type_$cv`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++  ac_tr_hdr=HAVE_`echo struct iovec | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
++if false; then
++	echo "$as_me:$LINENO: checking for struct iovec" >&5
++echo $ECHO_N "checking for struct iovec... $ECHO_C" >&6
++if test "${ac_cv_type_struct_iovec+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++int
++main ()
++{
++if ((struct iovec *) 0)
++  return 0;
++if (sizeof (struct iovec))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_iovec=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_struct_iovec=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_iovec" >&5
++echo "${ECHO_T}$ac_cv_type_struct_iovec" >&6
++if test $ac_cv_type_struct_iovec = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRUCT_IOVEC 1
++_ACEOF
++
++
++fi
++
++fi
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_hdr 1
++_ACEOF
++
++fi
++
++
++
++cv=`echo "struct msghdr" | sed 'y%./+- %__p__%'`
++echo "$as_me:$LINENO: checking for struct msghdr" >&5
++echo $ECHO_N "checking for struct msghdr... $ECHO_C" >&6
++if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <sys/types.h>
++#if STDC_HEADERS
++#include <stdlib.h>
++#include <stddef.h>
++#endif
++
++#include <sys/types.h>
++#include <sys/socket.h>
++
++int
++main ()
++{
++struct msghdr foo;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_type_$cv=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_type_$cv=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++ac_foo=`eval echo \\$ac_cv_type_$cv`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++  ac_tr_hdr=HAVE_`echo struct msghdr | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
++if false; then
++	echo "$as_me:$LINENO: checking for struct msghdr" >&5
++echo $ECHO_N "checking for struct msghdr... $ECHO_C" >&6
++if test "${ac_cv_type_struct_msghdr+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++int
++main ()
++{
++if ((struct msghdr *) 0)
++  return 0;
++if (sizeof (struct msghdr))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_msghdr=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_struct_msghdr=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_msghdr" >&5
++echo "${ECHO_T}$ac_cv_type_struct_msghdr" >&6
++if test $ac_cv_type_struct_msghdr = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_STRUCT_MSGHDR 1
++_ACEOF
++
++
++fi
++
++fi
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_hdr 1
++_ACEOF
++
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking for struct winsize" >&5
++echo $ECHO_N "checking for struct winsize... $ECHO_C" >&6
++if test "${ac_cv_struct_winsize+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++ac_cv_struct_winsize=no
++for i in sys/termios.h sys/ioctl.h; do
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <$i>
++
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  $EGREP "struct[ 	]*winsize" >/dev/null 2>&1; then
++  ac_cv_struct_winsize=yes; break
++fi
++rm -f conftest*
++done
++
++fi
++
++if test "$ac_cv_struct_winsize" = "yes"; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_STRUCT_WINSIZE 1
++_ACEOF
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_struct_winsize" >&5
++echo "${ECHO_T}$ac_cv_struct_winsize" >&6
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <termios.h>
++
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  $EGREP "ws_xpixel" >/dev/null 2>&1; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_WS_XPIXEL 1
++_ACEOF
++
++fi
++rm -f conftest*
++
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <termios.h>
++
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  $EGREP "ws_ypixel" >/dev/null 2>&1; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_WS_YPIXEL 1
++_ACEOF
++
++fi
++rm -f conftest*
++
++
++
++
++
++echo "$as_me:$LINENO: checking for struct spwd" >&5
++echo $ECHO_N "checking for struct spwd... $ECHO_C" >&6
++if test "${ac_cv_struct_spwd+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <pwd.h>
++#ifdef HAVE_SHADOW_H
++#include <shadow.h>
++#endif
++int
++main ()
++{
++struct spwd foo;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_struct_spwd=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_struct_spwd=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++
++fi
++
++echo "$as_me:$LINENO: result: $ac_cv_struct_spwd" >&5
++echo "${ECHO_T}$ac_cv_struct_spwd" >&6
++
++if test "$ac_cv_struct_spwd" = "yes"; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_STRUCT_SPWD 1
++_ACEOF
++
++fi
++
++
++
++
++
++#fi
++LIB_roken="\$(top_builddir)/lib/vers/libvers.la $LIB_roken"
++
++
++# Check whether --enable-otp or --disable-otp was given.
++if test "${enable_otp+set}" = set; then
++  enableval="$enable_otp"
++  
++fi; 
++if test "$enable_otp" = yes -a "$db_type" = unknown; then
++	{ { echo "$as_me:$LINENO: error: OTP requires a NDBM/DB compatible library" >&5
++echo "$as_me: error: OTP requires a NDBM/DB compatible library" >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test "$enable_otp" != no; then
++	if test "$db_type" != unknown; then
++		enable_otp=yes
++	else
++		enable_otp=no
++	fi
++fi
++if test "$enable_otp" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define OTP 1
++_ACEOF
++
++fi
++echo "$as_me:$LINENO: checking whether to enable OTP library" >&5
++echo $ECHO_N "checking whether to enable OTP library... $ECHO_C" >&6
++echo "$as_me:$LINENO: result: $enable_otp" >&5
++echo "${ECHO_T}$enable_otp" >&6
++
++
++if test "$enable_otp" = yes; then
++  OTP_TRUE=
++  OTP_FALSE='#'
++else
++  OTP_TRUE='#'
++  OTP_FALSE=
++fi
++
++
++
++# Check whether --enable-osfc2 or --disable-osfc2 was given.
++if test "${enable_osfc2+set}" = set; then
++  enableval="$enable_osfc2"
++  
++fi; 
++LIB_security=
++if test "$enable_osfc2" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_OSFC2 1
++_ACEOF
++
++	LIB_security=-lsecurity
++fi
++
++
++
++# Check whether --enable-mmap or --disable-mmap was given.
++if test "${enable_mmap+set}" = set; then
++  enableval="$enable_mmap"
++  
++fi; 
++if test "$enable_mmap" = "no"; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define NO_MMAP 1
++_ACEOF
++
++fi
++
++# Extract the first word of "nroff", so it can be a program name with args.
++set dummy nroff; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_path_NROFF+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  case $NROFF in
++  [\\/]* | ?:[\\/]*)
++  ac_cv_path_NROFF="$NROFF" # Let the user override the test with a path.
++  ;;
++  *)
++  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_path_NROFF="$as_dir/$ac_word$ac_exec_ext"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++  ;;
++esac
++fi
++NROFF=$ac_cv_path_NROFF
++
++if test -n "$NROFF"; then
++  echo "$as_me:$LINENO: result: $NROFF" >&5
++echo "${ECHO_T}$NROFF" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++# Extract the first word of "groff", so it can be a program name with args.
++set dummy groff; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_path_GROFF+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  case $GROFF in
++  [\\/]* | ?:[\\/]*)
++  ac_cv_path_GROFF="$GROFF" # Let the user override the test with a path.
++  ;;
++  *)
++  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_path_GROFF="$as_dir/$ac_word$ac_exec_ext"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++  ;;
++esac
++fi
++GROFF=$ac_cv_path_GROFF
++
++if test -n "$GROFF"; then
++  echo "$as_me:$LINENO: result: $GROFF" >&5
++echo "${ECHO_T}$GROFF" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++echo "$as_me:$LINENO: checking how to format man pages" >&5
++echo $ECHO_N "checking how to format man pages... $ECHO_C" >&6
++if test "${ac_cv_sys_man_format+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat > conftest.1 << END
++.Dd January 1, 1970
++.Dt CONFTEST 1
++.Sh NAME
++.Nm conftest
++.Nd
++foobar
++END
++
++if test "$NROFF" ; then
++	for i in "-mdoc" "-mandoc"; do
++		if "$NROFF" $i conftest.1 2> /dev/null | \
++			grep Jan > /dev/null 2>&1 ; then
++			ac_cv_sys_man_format="$NROFF $i"
++			break
++		fi
++	done
++fi
++if test "$ac_cv_sys_man_format" = "" -a "$GROFF" ; then
++	for i in "-mdoc" "-mandoc"; do
++		if "$GROFF" -Tascii $i conftest.1 2> /dev/null | \
++			grep Jan > /dev/null 2>&1 ; then
++			ac_cv_sys_man_format="$GROFF -Tascii $i"
++			break
++		fi
++	done
++fi
++if test "$ac_cv_sys_man_format"; then
++	ac_cv_sys_man_format="$ac_cv_sys_man_format \$< > \$@"
++fi
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_sys_man_format" >&5
++echo "${ECHO_T}$ac_cv_sys_man_format" >&6
++if test "$ac_cv_sys_man_format"; then
++	CATMAN="$ac_cv_sys_man_format"
++	
++fi
++
++
++if test "$CATMAN"; then
++  CATMAN_TRUE=
++  CATMAN_FALSE='#'
++else
++  CATMAN_TRUE='#'
++  CATMAN_FALSE=
++fi
++
++echo "$as_me:$LINENO: checking extension of pre-formatted manual pages" >&5
++echo $ECHO_N "checking extension of pre-formatted manual pages... $ECHO_C" >&6
++if test "${ac_cv_sys_catman_ext+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if grep _suffix /etc/man.conf > /dev/null 2>&1; then
++	ac_cv_sys_catman_ext=0
++else
++	ac_cv_sys_catman_ext=number
++fi
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_sys_catman_ext" >&5
++echo "${ECHO_T}$ac_cv_sys_catman_ext" >&6
++if test "$ac_cv_sys_catman_ext" = number; then
++	CATMANEXT='$$section'
++else
++	CATMANEXT=0
++fi
++
++
++
++
++
++# Check whether --with-readline or --without-readline was given.
++if test "${with_readline+set}" = set; then
++  withval="$with_readline"
++  
++fi; 
++
++# Check whether --with-readline-lib or --without-readline-lib was given.
++if test "${with_readline_lib+set}" = set; then
++  withval="$with_readline_lib"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-readline-lib" >&5
++echo "$as_me: error: No argument for --with-readline-lib" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_readline" = "X"; then
++  with_readline=yes
++fi
++fi; 
++
++# Check whether --with-readline-include or --without-readline-include was given.
++if test "${with_readline_include+set}" = set; then
++  withval="$with_readline_include"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-readline-include" >&5
++echo "$as_me: error: No argument for --with-readline-include" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_readline" = "X"; then
++  with_readline=yes
++fi
++fi; 
++
++# Check whether --with-readline-config or --without-readline-config was given.
++if test "${with_readline_config+set}" = set; then
++  withval="$with_readline_config"
++  
++fi; 
++
++
++
++echo "$as_me:$LINENO: checking for readline" >&5
++echo $ECHO_N "checking for readline... $ECHO_C" >&6
++
++case "$with_readline" in
++yes|"") d='' ;;
++no)	d= ;;
++*)	d="$with_readline" ;;
++esac
++
++header_dirs=
++lib_dirs=
++for i in $d /usr; do
++	if test "$with_readline_include" = ""; then
++		if test -d "$i/include/readline"; then
++			header_dirs="$header_dirs $i/include/readline"
++		fi
++		if test -d "$i/include"; then
++			header_dirs="$header_dirs $i/include"
++		fi
++	fi
++	if test "$with_readline_lib" = ""; then
++		if test -d "$i/lib$abilibdirext"; then
++			lib_dirs="$lib_dirs $i/lib$abilibdirext"
++		fi
++	fi
++done
++
++if test "$with_readline_include"; then
++	header_dirs="$with_readline_include $header_dirs"
++fi
++if test "$with_readline_lib"; then
++	lib_dirs="$with_readline_lib $lib_dirs"
++fi
++
++if test "$with_readline_config" = ""; then
++	with_readline_config=''
++fi
++
++readline_cflags=
++readline_libs=
++
++case "$with_readline_config" in
++yes|no|"")
++	;;
++*)
++	readline_cflags="`$with_readline_config --cflags 2>&1`"
++	readline_libs="`$with_readline_config --libs 2>&1`"
++	;;
++esac
++
++found=no
++if test "$with_readline" != no; then
++	save_CFLAGS="$CFLAGS"
++	save_LIBS="$LIBS"
++	if test "$readline_cflags" -a "$readline_libs"; then
++		CFLAGS="$readline_cflags $save_CFLAGS"
++		LIBS="$readline_libs $save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdio.h>
++ #include <readline.h>
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  
++			INCLUDE_readline="$readline_cflags"
++			LIB_readline="$readline_libs"
++			echo "$as_me:$LINENO: result: from $with_readline_config" >&5
++echo "${ECHO_T}from $with_readline_config" >&6
++			found=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	fi
++	if test "$found" = no; then
++		ires= lres=
++		for i in $header_dirs; do
++			CFLAGS="-I$i $save_CFLAGS"
++			cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdio.h>
++ #include <readline.h>
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ires=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++		done
++		for i in $lib_dirs; do
++			LIBS="-L$i -lreadline  $save_LIBS"
++			cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdio.h>
++ #include <readline.h>
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  lres=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++		done
++		if test "$ires" -a "$lres" -a "$with_readline" != "no"; then
++			DIR_readline=
++			INCLUDE_readline="-I$ires"
++			LIB_readline="-L$lres -lreadline "
++			found=yes
++			echo "$as_me:$LINENO: result: headers $ires, libraries $lres" >&5
++echo "${ECHO_T}headers $ires, libraries $lres" >&6
++		fi
++	fi
++	CFLAGS="$save_CFLAGS"
++	LIBS="$save_LIBS"
++fi
++
++if test "$found" = yes; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define READLINE 1
++_ACEOF
++
++	with_readline=yes
++else
++	with_readline=no
++	DIR_readline=
++	INCLUDE_readline=
++	LIB_readline=
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++
++
++
++
++
++
++
++# Check whether --with-hesiod or --without-hesiod was given.
++if test "${with_hesiod+set}" = set; then
++  withval="$with_hesiod"
++  
++fi; 
++
++# Check whether --with-hesiod-lib or --without-hesiod-lib was given.
++if test "${with_hesiod_lib+set}" = set; then
++  withval="$with_hesiod_lib"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-hesiod-lib" >&5
++echo "$as_me: error: No argument for --with-hesiod-lib" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_hesiod" = "X"; then
++  with_hesiod=yes
++fi
++fi; 
++
++# Check whether --with-hesiod-include or --without-hesiod-include was given.
++if test "${with_hesiod_include+set}" = set; then
++  withval="$with_hesiod_include"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-hesiod-include" >&5
++echo "$as_me: error: No argument for --with-hesiod-include" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_hesiod" = "X"; then
++  with_hesiod=yes
++fi
++fi; 
++
++# Check whether --with-hesiod-config or --without-hesiod-config was given.
++if test "${with_hesiod_config+set}" = set; then
++  withval="$with_hesiod_config"
++  
++fi; 
++
++
++
++echo "$as_me:$LINENO: checking for hesiod" >&5
++echo $ECHO_N "checking for hesiod... $ECHO_C" >&6
++
++case "$with_hesiod" in
++yes|"") d='' ;;
++no)	d= ;;
++*)	d="$with_hesiod" ;;
++esac
++
++header_dirs=
++lib_dirs=
++for i in $d /usr; do
++	if test "$with_hesiod_include" = ""; then
++		if test -d "$i/include/hesiod"; then
++			header_dirs="$header_dirs $i/include/hesiod"
++		fi
++		if test -d "$i/include"; then
++			header_dirs="$header_dirs $i/include"
++		fi
++	fi
++	if test "$with_hesiod_lib" = ""; then
++		if test -d "$i/lib$abilibdirext"; then
++			lib_dirs="$lib_dirs $i/lib$abilibdirext"
++		fi
++	fi
++done
++
++if test "$with_hesiod_include"; then
++	header_dirs="$with_hesiod_include $header_dirs"
++fi
++if test "$with_hesiod_lib"; then
++	lib_dirs="$with_hesiod_lib $lib_dirs"
++fi
++
++if test "$with_hesiod_config" = ""; then
++	with_hesiod_config=''
++fi
++
++hesiod_cflags=
++hesiod_libs=
++
++case "$with_hesiod_config" in
++yes|no|"")
++	;;
++*)
++	hesiod_cflags="`$with_hesiod_config --cflags 2>&1`"
++	hesiod_libs="`$with_hesiod_config --libs 2>&1`"
++	;;
++esac
++
++found=no
++if test "$with_hesiod" != no; then
++	save_CFLAGS="$CFLAGS"
++	save_LIBS="$LIBS"
++	if test "$hesiod_cflags" -a "$hesiod_libs"; then
++		CFLAGS="$hesiod_cflags $save_CFLAGS"
++		LIBS="$hesiod_libs $save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <hesiod.h>
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  
++			INCLUDE_hesiod="$hesiod_cflags"
++			LIB_hesiod="$hesiod_libs"
++			echo "$as_me:$LINENO: result: from $with_hesiod_config" >&5
++echo "${ECHO_T}from $with_hesiod_config" >&6
++			found=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	fi
++	if test "$found" = no; then
++		ires= lres=
++		for i in $header_dirs; do
++			CFLAGS="-I$i $save_CFLAGS"
++			cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <hesiod.h>
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ires=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++		done
++		for i in $lib_dirs; do
++			LIBS="-L$i -lhesiod  $save_LIBS"
++			cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <hesiod.h>
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  lres=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++		done
++		if test "$ires" -a "$lres" -a "$with_hesiod" != "no"; then
++			DIR_hesiod=
++			INCLUDE_hesiod="-I$ires"
++			LIB_hesiod="-L$lres -lhesiod "
++			found=yes
++			echo "$as_me:$LINENO: result: headers $ires, libraries $lres" >&5
++echo "${ECHO_T}headers $ires, libraries $lres" >&6
++		fi
++	fi
++	CFLAGS="$save_CFLAGS"
++	LIBS="$save_LIBS"
++fi
++
++if test "$found" = yes; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define HESIOD 1
++_ACEOF
++
++	with_hesiod=yes
++else
++	with_hesiod=no
++	DIR_hesiod=
++	INCLUDE_hesiod=
++	LIB_hesiod=
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++
++
++
++
++
++
++
++# Check whether --with-sl or --without-sl was given.
++if test "${with_sl+set}" = set; then
++  withval="$with_sl"
++  
++fi; 
++
++# Check whether --with-sl-lib or --without-sl-lib was given.
++if test "${with_sl_lib+set}" = set; then
++  withval="$with_sl_lib"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-sl-lib" >&5
++echo "$as_me: error: No argument for --with-sl-lib" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_sl" = "X"; then
++  with_sl=yes
++fi
++fi; 
++
++# Check whether --with-sl-include or --without-sl-include was given.
++if test "${with_sl_include+set}" = set; then
++  withval="$with_sl_include"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-sl-include" >&5
++echo "$as_me: error: No argument for --with-sl-include" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_sl" = "X"; then
++  with_sl=yes
++fi
++fi; 
++
++# Check whether --with-sl-config or --without-sl-config was given.
++if test "${with_sl_config+set}" = set; then
++  withval="$with_sl_config"
++  
++fi; 
++
++
++
++echo "$as_me:$LINENO: checking for sl" >&5
++echo $ECHO_N "checking for sl... $ECHO_C" >&6
++
++case "$with_sl" in
++yes|"") d='' ;;
++no)	d= ;;
++*)	d="$with_sl" ;;
++esac
++
++header_dirs=
++lib_dirs=
++for i in $d /usr; do
++	if test "$with_sl_include" = ""; then
++		if test -d "$i/include/sl"; then
++			header_dirs="$header_dirs $i/include/sl"
++		fi
++		if test -d "$i/include"; then
++			header_dirs="$header_dirs $i/include"
++		fi
++	fi
++	if test "$with_sl_lib" = ""; then
++		if test -d "$i/lib$abilibdirext"; then
++			lib_dirs="$lib_dirs $i/lib$abilibdirext"
++		fi
++	fi
++done
++
++if test "$with_sl_include"; then
++	header_dirs="$with_sl_include $header_dirs"
++fi
++if test "$with_sl_lib"; then
++	lib_dirs="$with_sl_lib $lib_dirs"
++fi
++
++if test "$with_sl_config" = ""; then
++	with_sl_config=''
++fi
++
++sl_cflags=
++sl_libs=
++
++case "$with_sl_config" in
++yes|no|"")
++	;;
++*)
++	sl_cflags="`$with_sl_config --cflags 2>&1`"
++	sl_libs="`$with_sl_config --libs 2>&1`"
++	;;
++esac
++
++found=no
++if test "$with_sl" != no; then
++	save_CFLAGS="$CFLAGS"
++	save_LIBS="$LIBS"
++	if test "$sl_cflags" -a "$sl_libs"; then
++		CFLAGS="$sl_cflags $save_CFLAGS"
++		LIBS="$sl_libs $save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  
++			INCLUDE_sl="$sl_cflags"
++			LIB_sl="$sl_libs"
++			echo "$as_me:$LINENO: result: from $with_sl_config" >&5
++echo "${ECHO_T}from $with_sl_config" >&6
++			found=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	fi
++	if test "$found" = no; then
++		ires= lres=
++		for i in $header_dirs; do
++			CFLAGS="-I$i $save_CFLAGS"
++			cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ires=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++		done
++		for i in $lib_dirs; do
++			LIBS="-L$i -lsl  $save_LIBS"
++			cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  lres=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++		done
++		if test "$ires" -a "$lres" -a "$with_sl" != "no"; then
++			DIR_sl=
++			INCLUDE_sl="-I$ires"
++			LIB_sl="-L$lres -lsl "
++			found=yes
++			echo "$as_me:$LINENO: result: headers $ires, libraries $lres" >&5
++echo "${ECHO_T}headers $ires, libraries $lres" >&6
++		fi
++	fi
++	CFLAGS="$save_CFLAGS"
++	LIBS="$save_LIBS"
++fi
++
++if test "$found" = yes; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define SL 1
++_ACEOF
++
++	with_sl=yes
++else
++	with_sl=no
++	DIR_sl=
++	INCLUDE_sl=
++	LIB_sl=
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++
++
++
++
++if ! test "$with_sl" = yes; then
++	DIR_sl="sl"
++	LIB_sl='$(top_builddir)/lib/sl/libsl.la'
++fi
++
++
++# Check whether --with-ss or --without-ss was given.
++if test "${with_ss+set}" = set; then
++  withval="$with_ss"
++  
++fi; 
++
++# Check whether --with-ss-lib or --without-ss-lib was given.
++if test "${with_ss_lib+set}" = set; then
++  withval="$with_ss_lib"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-ss-lib" >&5
++echo "$as_me: error: No argument for --with-ss-lib" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_ss" = "X"; then
++  with_ss=yes
++fi
++fi; 
++
++# Check whether --with-ss-include or --without-ss-include was given.
++if test "${with_ss_include+set}" = set; then
++  withval="$with_ss_include"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-ss-include" >&5
++echo "$as_me: error: No argument for --with-ss-include" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_ss" = "X"; then
++  with_ss=yes
++fi
++fi; 
++
++# Check whether --with-ss-config or --without-ss-config was given.
++if test "${with_ss_config+set}" = set; then
++  withval="$with_ss_config"
++  
++fi; 
++
++
++
++echo "$as_me:$LINENO: checking for ss" >&5
++echo $ECHO_N "checking for ss... $ECHO_C" >&6
++
++case "$with_ss" in
++yes|"") d='' ;;
++no)	d= ;;
++*)	d="$with_ss" ;;
++esac
++
++header_dirs=
++lib_dirs=
++for i in $d /usr; do
++	if test "$with_ss_include" = ""; then
++		if test -d "$i/include/ss"; then
++			header_dirs="$header_dirs $i/include/ss"
++		fi
++		if test -d "$i/include"; then
++			header_dirs="$header_dirs $i/include"
++		fi
++	fi
++	if test "$with_ss_lib" = ""; then
++		if test -d "$i/lib$abilibdirext"; then
++			lib_dirs="$lib_dirs $i/lib$abilibdirext"
++		fi
++	fi
++done
++
++if test "$with_ss_include"; then
++	header_dirs="$with_ss_include $header_dirs"
++fi
++if test "$with_ss_lib"; then
++	lib_dirs="$with_ss_lib $lib_dirs"
++fi
++
++if test "$with_ss_config" = ""; then
++	with_ss_config=''
++fi
++
++ss_cflags=
++ss_libs=
++
++case "$with_ss_config" in
++yes|no|"")
++	;;
++*)
++	ss_cflags="`$with_ss_config --cflags 2>&1`"
++	ss_libs="`$with_ss_config --libs 2>&1`"
++	;;
++esac
++
++found=no
++if test "$with_ss" != no; then
++	save_CFLAGS="$CFLAGS"
++	save_LIBS="$LIBS"
++	if test "$ss_cflags" -a "$ss_libs"; then
++		CFLAGS="$ss_cflags $save_CFLAGS"
++		LIBS="$ss_libs $save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  
++			INCLUDE_ss="$ss_cflags"
++			LIB_ss="$ss_libs"
++			echo "$as_me:$LINENO: result: from $with_ss_config" >&5
++echo "${ECHO_T}from $with_ss_config" >&6
++			found=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	fi
++	if test "$found" = no; then
++		ires= lres=
++		for i in $header_dirs; do
++			CFLAGS="-I$i $save_CFLAGS"
++			cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ires=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++		done
++		for i in $lib_dirs; do
++			LIBS="-L$i -lss  $save_LIBS"
++			cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  lres=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++		done
++		if test "$ires" -a "$lres" -a "$with_ss" != "no"; then
++			DIR_ss=
++			INCLUDE_ss="-I$ires"
++			LIB_ss="-L$lres -lss "
++			found=yes
++			echo "$as_me:$LINENO: result: headers $ires, libraries $lres" >&5
++echo "${ECHO_T}headers $ires, libraries $lres" >&6
++		fi
++	fi
++	CFLAGS="$save_CFLAGS"
++	LIBS="$save_LIBS"
++fi
++
++if test "$found" = yes; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define SS 1
++_ACEOF
++
++	with_ss=yes
++else
++	with_ss=no
++	DIR_ss=
++	INCLUDE_ss=
++	LIB_ss=
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++
++
++
++
++if ! test "$with_sl" = yes; then
++	DIR_sl="sl"
++	LIB_sl='$(top_builddir)/lib/sl/libsl.la'
++	DIR_ss=""
++	LIB_ss='$(top_builddir)/lib/sl/libss.la'
++fi
++if test "$enable_otp" = "yes"; then
++  
++
++# Check whether --with-otp or --without-otp was given.
++if test "${with_otp+set}" = set; then
++  withval="$with_otp"
++  
++fi; 
++
++# Check whether --with-otp-lib or --without-otp-lib was given.
++if test "${with_otp_lib+set}" = set; then
++  withval="$with_otp_lib"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-otp-lib" >&5
++echo "$as_me: error: No argument for --with-otp-lib" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_otp" = "X"; then
++  with_otp=yes
++fi
++fi; 
++
++# Check whether --with-otp-include or --without-otp-include was given.
++if test "${with_otp_include+set}" = set; then
++  withval="$with_otp_include"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-otp-include" >&5
++echo "$as_me: error: No argument for --with-otp-include" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_otp" = "X"; then
++  with_otp=yes
++fi
++fi; 
++
++# Check whether --with-otp-config or --without-otp-config was given.
++if test "${with_otp_config+set}" = set; then
++  withval="$with_otp_config"
++  
++fi; 
++
++
++
++echo "$as_me:$LINENO: checking for otp" >&5
++echo $ECHO_N "checking for otp... $ECHO_C" >&6
++
++case "$with_otp" in
++yes|"") d='' ;;
++no)	d= ;;
++*)	d="$with_otp" ;;
++esac
++
++header_dirs=
++lib_dirs=
++for i in $d /usr; do
++	if test "$with_otp_include" = ""; then
++		if test -d "$i/include/otp"; then
++			header_dirs="$header_dirs $i/include/otp"
++		fi
++		if test -d "$i/include"; then
++			header_dirs="$header_dirs $i/include"
++		fi
++	fi
++	if test "$with_otp_lib" = ""; then
++		if test -d "$i/lib$abilibdirext"; then
++			lib_dirs="$lib_dirs $i/lib$abilibdirext"
++		fi
++	fi
++done
++
++if test "$with_otp_include"; then
++	header_dirs="$with_otp_include $header_dirs"
++fi
++if test "$with_otp_lib"; then
++	lib_dirs="$with_otp_lib $lib_dirs"
++fi
++
++if test "$with_otp_config" = ""; then
++	with_otp_config=''
++fi
++
++otp_cflags=
++otp_libs=
++
++case "$with_otp_config" in
++yes|no|"")
++	;;
++*)
++	otp_cflags="`$with_otp_config --cflags 2>&1`"
++	otp_libs="`$with_otp_config --libs 2>&1`"
++	;;
++esac
++
++found=no
++if test "$with_otp" != no; then
++	save_CFLAGS="$CFLAGS"
++	save_LIBS="$LIBS"
++	if test "$otp_cflags" -a "$otp_libs"; then
++		CFLAGS="$otp_cflags $save_CFLAGS"
++		LIBS="$otp_libs $save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  
++			INCLUDE_otp="$otp_cflags"
++			LIB_otp="$otp_libs"
++			echo "$as_me:$LINENO: result: from $with_otp_config" >&5
++echo "${ECHO_T}from $with_otp_config" >&6
++			found=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	fi
++	if test "$found" = no; then
++		ires= lres=
++		for i in $header_dirs; do
++			CFLAGS="-I$i $save_CFLAGS"
++			cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ires=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++		done
++		for i in $lib_dirs; do
++			LIBS="-L$i -lotp  $save_LIBS"
++			cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  lres=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++		done
++		if test "$ires" -a "$lres" -a "$with_otp" != "no"; then
++			DIR_otp=
++			INCLUDE_otp="-I$ires"
++			LIB_otp="-L$lres -lotp "
++			found=yes
++			echo "$as_me:$LINENO: result: headers $ires, libraries $lres" >&5
++echo "${ECHO_T}headers $ires, libraries $lres" >&6
++		fi
++	fi
++	CFLAGS="$save_CFLAGS"
++	LIBS="$save_LIBS"
++fi
++
++if test "$found" = yes; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define OTP 1
++_ACEOF
++
++	with_otp=yes
++else
++	with_otp=no
++	DIR_otp=
++	INCLUDE_otp=
++	LIB_otp=
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++
++
++
++
++  if ! test "$with_otp" = yes; then
++	DIR_otp="otp"
++ 	LIB_otp='$(top_builddir)/lib/otp/libotp.la'
++  fi
++fi
++
++
++# Check whether --enable-bigendian or --disable-bigendian was given.
++if test "${enable_bigendian+set}" = set; then
++  enableval="$enable_bigendian"
++  krb_cv_c_bigendian=yes
++fi; 
++# Check whether --enable-littleendian or --disable-littleendian was given.
++if test "${enable_littleendian+set}" = set; then
++  enableval="$enable_littleendian"
++  krb_cv_c_bigendian=no
++fi; 
++echo "$as_me:$LINENO: checking whether byte order is known at compile time" >&5
++echo $ECHO_N "checking whether byte order is known at compile time... $ECHO_C" >&6
++if test "${krb_cv_c_bigendian_compile+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#include <sys/types.h>
++#include <sys/param.h>
++int
++main ()
++{
++
++#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
++ bogus endian macros
++#endif
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  krb_cv_c_bigendian_compile=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++krb_cv_c_bigendian_compile=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $krb_cv_c_bigendian_compile" >&5
++echo "${ECHO_T}$krb_cv_c_bigendian_compile" >&6
++echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
++echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
++if test "${krb_cv_c_bigendian+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++  if test "$krb_cv_c_bigendian_compile" = "yes"; then
++    cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#include <sys/types.h>
++#include <sys/param.h>
++int
++main ()
++{
++
++#if BYTE_ORDER != BIG_ENDIAN
++  not big endian
++#endif
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  krb_cv_c_bigendian=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++krb_cv_c_bigendian=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++  else
++    if test "$cross_compiling" = yes; then
++  { { echo "$as_me:$LINENO: error: specify either --enable-bigendian or --enable-littleendian" >&5
++echo "$as_me: error: specify either --enable-bigendian or --enable-littleendian" >&2;}
++   { (exit 1); exit 1; }; }
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++main () {
++      /* Are we little or big endian?  From Harbison&Steele.  */
++      union
++      {
++	long l;
++	char c[sizeof (long)];
++    } u;
++    u.l = 1;
++    exit (u.c[sizeof (long) - 1] == 1);
++  }
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  krb_cv_c_bigendian=no
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++( exit $ac_status )
++krb_cv_c_bigendian=yes
++fi
++rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++  fi
++
++fi
++echo "$as_me:$LINENO: result: $krb_cv_c_bigendian" >&5
++echo "${ECHO_T}$krb_cv_c_bigendian" >&6
++if test "$krb_cv_c_bigendian" = "yes"; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define WORDS_BIGENDIAN 1
++_ACEOF
++fi
++if test "$krb_cv_c_bigendian_compile" = "yes"; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define ENDIANESS_IN_SYS_PARAM_H 1
++_ACEOF
++fi
++
++
++
++echo "$as_me:$LINENO: checking for inline" >&5
++echo $ECHO_N "checking for inline... $ECHO_C" >&6
++if test "${ac_cv_c_inline+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_cv_c_inline=no
++for ac_kw in inline __inline__ __inline; do
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifndef __cplusplus
++typedef int foo_t;
++static $ac_kw foo_t static_foo () {return 0; }
++$ac_kw foo_t foo () {return 0; }
++#endif
++
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_c_inline=$ac_kw; break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++done
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
++echo "${ECHO_T}$ac_cv_c_inline" >&6
++
++
++case $ac_cv_c_inline in
++  inline | yes) ;;
++  *)
++    case $ac_cv_c_inline in
++      no) ac_val=;;
++      *) ac_val=$ac_cv_c_inline;;
++    esac
++    cat >>confdefs.h <<_ACEOF
++#ifndef __cplusplus
++#define inline $ac_val
++#endif
++_ACEOF
++    ;;
++esac
++
++
++
++	
++
++
++echo "$as_me:$LINENO: checking for dlopen" >&5
++echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
++if test "${ac_cv_funclib_dlopen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_dlopen\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" dl; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++dlopen()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_dlopen=$ac_lib; else ac_cv_funclib_dlopen=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_dlopen=\${ac_cv_funclib_dlopen-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_dlopen"
++
++if false; then
++	
++for ac_func in dlopen
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# dlopen
++eval "ac_tr_func=HAVE_`echo dlopen | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_dlopen=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_dlopen=yes"
++	eval "LIB_dlopen="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_dlopen=no"
++	eval "LIB_dlopen="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_dlopen=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++	
++
++if test "$ac_cv_funclib_dlopen" != no; then
++  HAVE_DLOPEN_TRUE=
++  HAVE_DLOPEN_FALSE='#'
++else
++  HAVE_DLOPEN_TRUE='#'
++  HAVE_DLOPEN_FALSE=
++fi
++
++
++
++
++aix=no
++case "$host" in 
++*-*-aix3*)
++	aix=3
++	;;
++*-*-aix4*|*-*-aix5*)
++	aix=4
++	;;
++esac
++
++
++
++if test "$aix" != no; then
++  AIX_TRUE=
++  AIX_FALSE='#'
++else
++  AIX_TRUE='#'
++  AIX_FALSE=
++fi
++
++
++if test "$aix" = 4; then
++  AIX4_TRUE=
++  AIX4_FALSE='#'
++else
++  AIX4_TRUE='#'
++  AIX4_FALSE=
++fi
++
++
++
++# Check whether --enable-dynamic-afs or --disable-dynamic-afs was given.
++if test "${enable_dynamic_afs+set}" = set; then
++  enableval="$enable_dynamic_afs"
++  
++fi; 
++
++if test "$aix" != no; then
++	if test "$enable_dynamic_afs" != no; then
++		
++		if test "$ac_cv_func_dlopen" = no; then
++			
++
++
++echo "$as_me:$LINENO: checking for loadquery" >&5
++echo $ECHO_N "checking for loadquery... $ECHO_C" >&6
++if test "${ac_cv_funclib_loadquery+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_loadquery\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" ld; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++loadquery()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_loadquery=$ac_lib; else ac_cv_funclib_loadquery=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_loadquery=\${ac_cv_funclib_loadquery-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_loadquery"
++
++if false; then
++	
++for ac_func in loadquery
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# loadquery
++eval "ac_tr_func=HAVE_`echo loadquery | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_loadquery=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_loadquery=yes"
++	eval "LIB_loadquery="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_loadquery=no"
++	eval "LIB_loadquery="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_loadquery=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++		fi
++		if test "$ac_cv_func_dlopen" != no; then
++			AIX_EXTRA_KAFS='$(LIB_dlopen)'
++		elif test "$ac_cv_func_loadquery" != no; then
++			AIX_EXTRA_KAFS='$(LIB_loadquery)'
++		else
++			{ echo "$as_me:$LINENO: not using dynloaded AFS library" >&5
++echo "$as_me: not using dynloaded AFS library" >&6;}
++			AIX_EXTRA_KAFS=
++			enable_dynamic_afs=no
++		fi
++	else
++		AIX_EXTRA_KAFS=
++	fi
++fi
++
++
++
++if test "$enable_dynamic_afs" != no; then
++  AIX_DYNAMIC_AFS_TRUE=
++  AIX_DYNAMIC_AFS_FALSE='#'
++else
++  AIX_DYNAMIC_AFS_TRUE='#'
++  AIX_DYNAMIC_AFS_FALSE=
++fi
++
++
++
++
++
++
++irix=no
++case "$host" in
++*-*-irix4*) 
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define IRIX4 1
++_ACEOF
++
++	irix=yes
++	;;
++*-*-irix*) 
++	irix=yes
++	;;
++esac
++
++
++if test "$irix" != no; then
++  IRIX_TRUE=
++  IRIX_FALSE='#'
++else
++  IRIX_TRUE='#'
++  IRIX_FALSE=
++fi
++
++
++
++
++
++sunos=no
++case "$host" in 
++*-*-sunos4*)
++	sunos=40
++	;;
++*-*-solaris2.7)
++	sunos=57
++	;;
++*-*-solaris2.[89])
++	sunos=58
++	;;
++*-*-solaris2*)
++	sunos=50
++	;;
++esac
++if test "$sunos" != no; then
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define SunOS $sunos
++_ACEOF
++
++fi
++
++
++echo "$as_me:$LINENO: checking for X" >&5
++echo $ECHO_N "checking for X... $ECHO_C" >&6
++
++
++# Check whether --with-x or --without-x was given.
++if test "${with_x+set}" = set; then
++  withval="$with_x"
++  
++fi; 
++# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
++if test "x$with_x" = xno; then
++  # The user explicitly disabled X.
++  have_x=disabled
++else
++  if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
++    # Both variables are already set.
++    have_x=yes
++  else
++    if test "${ac_cv_have_x+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  # One or both of the vars are not set, and there is no cached value.
++ac_x_includes=no ac_x_libraries=no
++rm -fr conftest.dir
++if mkdir conftest.dir; then
++  cd conftest.dir
++  # Make sure to not put "make" in the Imakefile rules, since we grep it out.
++  cat >Imakefile <<'_ACEOF'
++acfindx:
++	@echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
++_ACEOF
++  if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
++    # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
++    eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
++    # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
++    for ac_extension in a so sl; do
++      if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
++	 test -f $ac_im_libdir/libX11.$ac_extension; then
++	ac_im_usrlibdir=$ac_im_libdir; break
++      fi
++    done
++    # Screen out bogus values from the imake configuration.  They are
++    # bogus both because they are the default anyway, and because
++    # using them would break gcc on systems where it needs fixed includes.
++    case $ac_im_incroot in
++	/usr/include) ;;
++	*) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
++    esac
++    case $ac_im_usrlibdir in
++	/usr/lib | /lib) ;;
++	*) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
++    esac
++  fi
++  cd ..
++  rm -fr conftest.dir
++fi
++
++# Standard set of common directories for X headers.
++# Check X11 before X11Rn because it is often a symlink to the current release.
++ac_x_header_dirs='
++/usr/X11/include
++/usr/X11R6/include
++/usr/X11R5/include
++/usr/X11R4/include
++
++/usr/include/X11
++/usr/include/X11R6
++/usr/include/X11R5
++/usr/include/X11R4
++
++/usr/local/X11/include
++/usr/local/X11R6/include
++/usr/local/X11R5/include
++/usr/local/X11R4/include
++
++/usr/local/include/X11
++/usr/local/include/X11R6
++/usr/local/include/X11R5
++/usr/local/include/X11R4
++
++/usr/X386/include
++/usr/x386/include
++/usr/XFree86/include/X11
++
++/usr/include
++/usr/local/include
++/usr/unsupported/include
++/usr/athena/include
++/usr/local/x11r5/include
++/usr/lpp/Xamples/include
++
++/usr/openwin/include
++/usr/openwin/share/include'
++
++if test "$ac_x_includes" = no; then
++  # Guess where to find include files, by looking for Intrinsic.h.
++  # First, try using that file with no special directory specified.
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@include <X11/Intrinsic.h>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  # We can compile using X headers with no special include directory.
++ac_x_includes=
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++  for ac_dir in $ac_x_header_dirs; do
++  if test -r "$ac_dir/X11/Intrinsic.h"; then
++    ac_x_includes=$ac_dir
++    break
++  fi
++done
++fi
++rm -f conftest.err conftest.$ac_ext
++fi # $ac_x_includes = no
++
++if test "$ac_x_libraries" = no; then
++  # Check for the libraries.
++  # See if we find them without any special options.
++  # Don't add to $LIBS permanently.
++  ac_save_LIBS=$LIBS
++  LIBS="-lXt $LIBS"
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@include <X11/Intrinsic.h>
++int
++main ()
++{
++XtMalloc (0)
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  LIBS=$ac_save_LIBS
++# We can link X programs with no special library path.
++ac_x_libraries=
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++LIBS=$ac_save_LIBS
++for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
++do
++  # Don't even attempt the hair of trying to link an X program!
++  for ac_extension in a so sl; do
++    if test -r $ac_dir/libXt.$ac_extension; then
++      ac_x_libraries=$ac_dir
++      break 2
++    fi
++  done
++done
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi # $ac_x_libraries = no
++
++if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
++  # Didn't find X anywhere.  Cache the known absence of X.
++  ac_cv_have_x="have_x=no"
++else
++  # Record where we found X for the cache.
++  ac_cv_have_x="have_x=yes \
++		ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
++fi
++fi
++
++  fi
++  eval "$ac_cv_have_x"
++fi # $with_x != no
++
++if test "$have_x" != yes; then
++  echo "$as_me:$LINENO: result: $have_x" >&5
++echo "${ECHO_T}$have_x" >&6
++  no_x=yes
++else
++  # If each of the values was on the command line, it overrides each guess.
++  test "x$x_includes" = xNONE && x_includes=$ac_x_includes
++  test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
++  # Update the cache value to reflect the command line values.
++  ac_cv_have_x="have_x=yes \
++		ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
++  echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
++echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
++fi
++
++
++if test "$no_x" = yes; then
++  # Not all programs may use this symbol, but it does not hurt to define it.
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define X_DISPLAY_MISSING 1
++_ACEOF
++
++  X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
++else
++  if test -n "$x_includes"; then
++    X_CFLAGS="$X_CFLAGS -I$x_includes"
++  fi
++
++  # It would also be nice to do this for all -L options, not just this one.
++  if test -n "$x_libraries"; then
++    X_LIBS="$X_LIBS -L$x_libraries"
++    # For Solaris; some versions of Sun CC require a space after -R and
++    # others require no space.  Words are not sufficient . . . .
++    case `(uname -sr) 2>/dev/null` in
++    "SunOS 5"*)
++      echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
++echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
++      ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
++      cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_R_nospace=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_R_nospace=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++      if test $ac_R_nospace = yes; then
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	X_LIBS="$X_LIBS -R$x_libraries"
++      else
++	LIBS="$ac_xsave_LIBS -R $x_libraries"
++	cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_R_space=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_R_space=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	if test $ac_R_space = yes; then
++	  echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	  X_LIBS="$X_LIBS -R $x_libraries"
++	else
++	  echo "$as_me:$LINENO: result: neither works" >&5
++echo "${ECHO_T}neither works" >&6
++	fi
++      fi
++      LIBS=$ac_xsave_LIBS
++    esac
++  fi
++
++  # Check for system-dependent libraries X programs must link with.
++  # Do this before checking for the system-independent R6 libraries
++  # (-lICE), since we may need -lsocket or whatever for X linking.
++
++  if test "$ISC" = yes; then
++    X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
++  else
++    # Martyn Johnson says this is needed for Ultrix, if the X
++    # libraries were built with DECnet support.  And Karl Berry says
++    # the Alpha needs dnet_stub (dnet does not exist).
++    ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
++    cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char XOpenDisplay ();
++int
++main ()
++{
++XOpenDisplay ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  :
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
++echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
++if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ldnet  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dnet_ntoa ();
++int
++main ()
++{
++dnet_ntoa ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_dnet_dnet_ntoa=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_dnet_dnet_ntoa=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
++echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
++if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
++  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
++fi
++
++    if test $ac_cv_lib_dnet_dnet_ntoa = no; then
++      echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
++echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
++if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-ldnet_stub  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char dnet_ntoa ();
++int
++main ()
++{
++dnet_ntoa ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_dnet_stub_dnet_ntoa=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_dnet_stub_dnet_ntoa=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
++echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
++if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
++  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
++fi
++
++    fi
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++    LIBS="$ac_xsave_LIBS"
++
++    # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
++    # to get the SysV transport functions.
++    # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
++    # needs -lnsl.
++    # The nsl library prevents programs from opening the X display
++    # on Irix 5.2, according to T.E. Dickey.
++    # The functions gethostbyname, getservbyname, and inet_addr are
++    # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
++    echo "$as_me:$LINENO: checking for gethostbyname" >&5
++echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
++if test "${ac_cv_func_gethostbyname+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define gethostbyname innocuous_gethostbyname
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char gethostbyname (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef gethostbyname
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char gethostbyname ();
++/* 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_gethostbyname) || defined (__stub___gethostbyname)
++choke me
++#else
++char (*f) () = gethostbyname;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != gethostbyname;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_gethostbyname=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_gethostbyname=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
++echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
++
++    if test $ac_cv_func_gethostbyname = no; then
++      echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
++echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
++if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-lnsl  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* 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;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_nsl_gethostbyname=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_nsl_gethostbyname=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
++echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
++if test $ac_cv_lib_nsl_gethostbyname = yes; then
++  X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
++fi
++
++      if test $ac_cv_lib_nsl_gethostbyname = no; then
++	echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
++echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
++if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-lbsd  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* 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;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_bsd_gethostbyname=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_bsd_gethostbyname=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
++echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
++if test $ac_cv_lib_bsd_gethostbyname = yes; then
++  X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
++fi
++
++      fi
++    fi
++
++    # lieder@skyler.mavd.honeywell.com says without -lsocket,
++    # socket/setsockopt and other routines are undefined under SCO ODT
++    # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
++    # on later versions), says Simon Leinen: it contains gethostby*
++    # variants that don't use the name server (or something).  -lsocket
++    # must be given before -lnsl if both are needed.  We assume that
++    # if connect needs -lnsl, so does gethostbyname.
++    echo "$as_me:$LINENO: checking for connect" >&5
++echo $ECHO_N "checking for connect... $ECHO_C" >&6
++if test "${ac_cv_func_connect+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define connect to an innocuous variant, in case <limits.h> declares connect.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define connect innocuous_connect
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char connect (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef connect
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char connect ();
++/* 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_connect) || defined (__stub___connect)
++choke me
++#else
++char (*f) () = connect;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != connect;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_connect=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_connect=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
++echo "${ECHO_T}$ac_cv_func_connect" >&6
++
++    if test $ac_cv_func_connect = no; then
++      echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
++echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
++if test "${ac_cv_lib_socket_connect+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char connect ();
++int
++main ()
++{
++connect ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_socket_connect=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_socket_connect=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
++echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
++if test $ac_cv_lib_socket_connect = yes; then
++  X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
++fi
++
++    fi
++
++    # Guillermo Gomez says -lposix is necessary on A/UX.
++    echo "$as_me:$LINENO: checking for remove" >&5
++echo $ECHO_N "checking for remove... $ECHO_C" >&6
++if test "${ac_cv_func_remove+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define remove to an innocuous variant, in case <limits.h> declares remove.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define remove innocuous_remove
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char remove (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef remove
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char remove ();
++/* 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_remove) || defined (__stub___remove)
++choke me
++#else
++char (*f) () = remove;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != remove;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_remove=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_remove=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
++echo "${ECHO_T}$ac_cv_func_remove" >&6
++
++    if test $ac_cv_func_remove = no; then
++      echo "$as_me:$LINENO: checking for remove in -lposix" >&5
++echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
++if test "${ac_cv_lib_posix_remove+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-lposix  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char remove ();
++int
++main ()
++{
++remove ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_posix_remove=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_posix_remove=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
++echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
++if test $ac_cv_lib_posix_remove = yes; then
++  X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
++fi
++
++    fi
++
++    # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
++    echo "$as_me:$LINENO: checking for shmat" >&5
++echo $ECHO_N "checking for shmat... $ECHO_C" >&6
++if test "${ac_cv_func_shmat+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define shmat innocuous_shmat
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char shmat (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef shmat
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char shmat ();
++/* 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_shmat) || defined (__stub___shmat)
++choke me
++#else
++char (*f) () = shmat;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != shmat;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_shmat=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_shmat=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
++echo "${ECHO_T}$ac_cv_func_shmat" >&6
++
++    if test $ac_cv_func_shmat = no; then
++      echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
++echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
++if test "${ac_cv_lib_ipc_shmat+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-lipc  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char shmat ();
++int
++main ()
++{
++shmat ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_ipc_shmat=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_ipc_shmat=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
++echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
++if test $ac_cv_lib_ipc_shmat = yes; then
++  X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
++fi
++
++    fi
++  fi
++
++  # Check for libraries that X11R6 Xt/Xaw programs need.
++  ac_save_LDFLAGS=$LDFLAGS
++  test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
++  # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
++  # check for ICE first), but we must link in the order -lSM -lICE or
++  # we get undefined symbols.  So assume we have SM if we have ICE.
++  # These have to be linked with before -lX11, unlike the other
++  # libraries we check for below, so use a different variable.
++  # John Interrante, Karl Berry
++  echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
++echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
++if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-lICE $X_EXTRA_LIBS $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char IceConnectionNumber ();
++int
++main ()
++{
++IceConnectionNumber ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_ICE_IceConnectionNumber=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_ICE_IceConnectionNumber=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
++echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
++if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
++  X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
++fi
++
++  LDFLAGS=$ac_save_LDFLAGS
++
++fi
++
++
++# try to figure out if we need any additional ld flags, like -R
++# and yes, the autoconf X test is utterly broken
++if test "$no_x" != yes; then
++	echo "$as_me:$LINENO: checking for special X linker flags" >&5
++echo $ECHO_N "checking for special X linker flags... $ECHO_C" >&6
++if test "${krb_cv_sys_x_libs_rpath+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++	ac_save_libs="$LIBS"
++	ac_save_cflags="$CFLAGS"
++	CFLAGS="$CFLAGS $X_CFLAGS"
++	krb_cv_sys_x_libs_rpath=""
++	krb_cv_sys_x_libs=""
++	for rflag in "" "-R" "-R " "-rpath "; do
++		if test "$rflag" = ""; then
++			foo="$X_LIBS"
++		else
++			foo=""
++			for flag in $X_LIBS; do
++			case $flag in
++			-L*)
++				foo="$foo $flag `echo $flag | sed \"s/-L/$rflag/\"`"
++				;;
++			*)
++				foo="$foo $flag"
++				;;
++			esac
++			done
++		fi
++		LIBS="$ac_save_libs $foo $X_PRE_LIBS -lX11 $X_EXTRA_LIBS"
++		if test "$cross_compiling" = yes; then
++  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
++See \`config.log' for more details." >&5
++echo "$as_me: error: cannot run test program while cross compiling
++See \`config.log' for more details." >&2;}
++   { (exit 1); exit 1; }; }
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++		#include <X11/Xlib.h>
++		foo()
++		{
++		XOpenDisplay(NULL);
++		}
++		main()
++		{
++		return 0;
++		}
++		
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  krb_cv_sys_x_libs_rpath="$rflag"; krb_cv_sys_x_libs="$foo"; break
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++( exit $ac_status )
++:
++fi
++rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++	done
++	LIBS="$ac_save_libs"
++	CFLAGS="$ac_save_cflags"
++	
++fi
++echo "$as_me:$LINENO: result: $krb_cv_sys_x_libs_rpath" >&5
++echo "${ECHO_T}$krb_cv_sys_x_libs_rpath" >&6
++	X_LIBS="$krb_cv_sys_x_libs"
++fi
++
++
++
++
++if test "$no_x" != yes; then
++  HAVE_X_TRUE=
++  HAVE_X_FALSE='#'
++else
++  HAVE_X_TRUE='#'
++  HAVE_X_FALSE=
++fi
++
++
++
++save_CFLAGS="$CFLAGS"
++CFLAGS="$X_CFLAGS $CFLAGS"
++save_LIBS="$LIBS"
++LIBS="$X_PRE_LIBS $X_EXTRA_LIBS $LIBS"
++save_LDFLAGS="$LDFLAGS"
++LDFLAGS="$LDFLAGS $X_LIBS"
++
++
++
++
++
++echo "$as_me:$LINENO: checking for XauWriteAuth" >&5
++echo $ECHO_N "checking for XauWriteAuth... $ECHO_C" >&6
++if test "${ac_cv_funclib_XauWriteAuth+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_XauWriteAuth\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" X11 Xau; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++XauWriteAuth()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_XauWriteAuth=$ac_lib; else ac_cv_funclib_XauWriteAuth=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_XauWriteAuth=\${ac_cv_funclib_XauWriteAuth-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_XauWriteAuth"
++
++if false; then
++	
++for ac_func in XauWriteAuth
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# XauWriteAuth
++eval "ac_tr_func=HAVE_`echo XauWriteAuth | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_XauWriteAuth=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_XauWriteAuth=yes"
++	eval "LIB_XauWriteAuth="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_XauWriteAuth=no"
++	eval "LIB_XauWriteAuth="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_XauWriteAuth=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++ac_xxx="$LIBS"
++LIBS="$LIB_XauWriteAuth $LIBS"
++
++
++
++echo "$as_me:$LINENO: checking for XauReadAuth" >&5
++echo $ECHO_N "checking for XauReadAuth... $ECHO_C" >&6
++if test "${ac_cv_funclib_XauReadAuth+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_XauReadAuth\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" X11 Xau; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++XauReadAuth()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_XauReadAuth=$ac_lib; else ac_cv_funclib_XauReadAuth=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_XauReadAuth=\${ac_cv_funclib_XauReadAuth-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_XauReadAuth"
++
++if false; then
++	
++for ac_func in XauReadAuth
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# XauReadAuth
++eval "ac_tr_func=HAVE_`echo XauReadAuth | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_XauReadAuth=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_XauReadAuth=yes"
++	eval "LIB_XauReadAuth="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_XauReadAuth=no"
++	eval "LIB_XauReadAuth="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_XauReadAuth=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++LIBS="$LIB_XauReadAauth $LIBS"
++
++
++
++echo "$as_me:$LINENO: checking for XauFileName" >&5
++echo $ECHO_N "checking for XauFileName... $ECHO_C" >&6
++if test "${ac_cv_funclib_XauFileName+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_XauFileName\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" X11 Xau; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++XauFileName()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_XauFileName=$ac_lib; else ac_cv_funclib_XauFileName=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_XauFileName=\${ac_cv_funclib_XauFileName-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_XauFileName"
++
++if false; then
++	
++for ac_func in XauFileName
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# XauFileName
++eval "ac_tr_func=HAVE_`echo XauFileName | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_XauFileName=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_XauFileName=yes"
++	eval "LIB_XauFileName="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_XauFileName=no"
++	eval "LIB_XauFileName="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_XauFileName=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++LIBS="$ac_xxx"
++
++case "$ac_cv_funclib_XauWriteAuth" in
++yes)	;;
++no)	;;
++*)	if test "$ac_cv_funclib_XauReadAuth" = yes; then
++		if test "$ac_cv_funclib_XauFileName" = yes; then
++			LIB_XauReadAuth="$LIB_XauWriteAuth"
++		else
++			LIB_XauReadAuth="$LIB_XauWriteAuth $LIB_XauFileName"
++		fi
++	else
++		if test "$ac_cv_funclib_XauFileName" = yes; then
++			LIB_XauReadAuth="$LIB_XauReadAuth $LIB_XauWriteAuth"
++		else
++			LIB_XauReadAuth="$LIB_XauReadAuth $LIB_XauWriteAuth $LIB_XauFileName"
++		fi
++	fi
++	;;
++esac
++
++if test "$AUTOMAKE" != ""; then
++	
++
++if test "$ac_cv_func_XauWriteAuth" != "yes"; then
++  NEED_WRITEAUTH_TRUE=
++  NEED_WRITEAUTH_FALSE='#'
++else
++  NEED_WRITEAUTH_TRUE='#'
++  NEED_WRITEAUTH_FALSE=
++fi
++
++else
++	
++	
++	if test "$ac_cv_func_XauWriteAuth" != "yes"; then
++		NEED_WRITEAUTH_TRUE=
++		NEED_WRITEAUTH_FALSE='#'
++	else
++		NEED_WRITEAUTH_TRUE='#'
++		NEED_WRITEAUTH_FALSE=
++	fi
++fi
++CFLAGS=$save_CFLAGS
++LIBS=$save_LIBS
++LDFLAGS=$save_LDFLAGS
++
++
++
++echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
++echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
++if test "${ac_cv_c_const+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++/* FIXME: Include the comments suggested by Paul. */
++#ifndef __cplusplus
++  /* Ultrix mips cc rejects this.  */
++  typedef int charset[2];
++  const charset x;
++  /* SunOS 4.1.1 cc rejects this.  */
++  char const *const *ccp;
++  char **p;
++  /* NEC SVR4.0.2 mips cc rejects this.  */
++  struct point {int x, y;};
++  static struct point const zero = {0,0};
++  /* AIX XL C 1.02.0.0 rejects this.
++     It does not let you subtract one const X* pointer from another in
++     an arm of an if-expression whose if-part is not a constant
++     expression */
++  const char *g = "string";
++  ccp = &g + (g ? g-g : 0);
++  /* HPUX 7.0 cc rejects these. */
++  ++ccp;
++  p = (char**) ccp;
++  ccp = (char const *const *) p;
++  { /* SCO 3.2v4 cc rejects this.  */
++    char *t;
++    char const *s = 0 ? (char *) 0 : (char const *) 0;
++
++    *t++ = 0;
++  }
++  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
++    int x[] = {25, 17};
++    const int *foo = &x[0];
++    ++foo;
++  }
++  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
++    typedef const int *iptr;
++    iptr p = 0;
++    ++p;
++  }
++  { /* AIX XL C 1.02.0.0 rejects this saying
++       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
++    struct s { int j; const int *ap[3]; };
++    struct s *b; b->j = 5;
++  }
++  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
++    const int foo = 10;
++  }
++#endif
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_c_const=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_c_const=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
++echo "${ECHO_T}$ac_cv_c_const" >&6
++if test $ac_cv_c_const = no; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define const 
++_ACEOF
++
++fi
++
++echo "$as_me:$LINENO: checking for off_t" >&5
++echo $ECHO_N "checking for off_t... $ECHO_C" >&6
++if test "${ac_cv_type_off_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++int
++main ()
++{
++if ((off_t *) 0)
++  return 0;
++if (sizeof (off_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_off_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_off_t=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
++echo "${ECHO_T}$ac_cv_type_off_t" >&6
++if test $ac_cv_type_off_t = yes; then
++  :
++else
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define off_t long
++_ACEOF
++
++fi
++
++echo "$as_me:$LINENO: checking for mode_t" >&5
++echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
++if test "${ac_cv_type_mode_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <sys/types.h>
++#if STDC_HEADERS
++#include <stdlib.h>
++#include <stddef.h>
++#endif
++
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  $EGREP "mode_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
++  ac_cv_type_mode_t=yes
++else
++  ac_cv_type_mode_t=no
++fi
++rm -f conftest*
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
++echo "${ECHO_T}$ac_cv_type_mode_t" >&6
++if test $ac_cv_type_mode_t = no; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define mode_t unsigned short
++_ACEOF
++
++fi
++
++echo "$as_me:$LINENO: checking for sig_atomic_t" >&5
++echo $ECHO_N "checking for sig_atomic_t... $ECHO_C" >&6
++if test "${ac_cv_type_sig_atomic_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <sys/types.h>
++#if STDC_HEADERS
++#include <stdlib.h>
++#include <stddef.h>
++#endif
++#include <signal.h>
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  $EGREP "sig_atomic_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
++  ac_cv_type_sig_atomic_t=yes
++else
++  ac_cv_type_sig_atomic_t=no
++fi
++rm -f conftest*
++
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_sig_atomic_t" >&5
++echo "${ECHO_T}$ac_cv_type_sig_atomic_t" >&6
++if test $ac_cv_type_sig_atomic_t = no; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define sig_atomic_t int
++_ACEOF
++
++fi
++
++
++
++cv=`echo "long long" | sed 'y%./+- %__p__%'`
++echo "$as_me:$LINENO: checking for long long" >&5
++echo $ECHO_N "checking for long long... $ECHO_C" >&6
++if eval "test \"\${ac_cv_type_$cv+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <sys/types.h>
++#if STDC_HEADERS
++#include <stdlib.h>
++#include <stddef.h>
++#endif
++
++int
++main ()
++{
++long long foo;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "ac_cv_type_$cv=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "ac_cv_type_$cv=no"
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++ac_foo=`eval echo \\$ac_cv_type_$cv`
++echo "$as_me:$LINENO: result: $ac_foo" >&5
++echo "${ECHO_T}$ac_foo" >&6
++if test "$ac_foo" = yes; then
++  ac_tr_hdr=HAVE_`echo long long | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
++if false; then
++	echo "$as_me:$LINENO: checking for long long" >&5
++echo $ECHO_N "checking for long long... $ECHO_C" >&6
++if test "${ac_cv_type_long_long+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++int
++main ()
++{
++if ((long long *) 0)
++  return 0;
++if (sizeof (long long))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_long_long=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_long_long=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
++echo "${ECHO_T}$ac_cv_type_long_long" >&6
++if test $ac_cv_type_long_long = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_LONG_LONG 1
++_ACEOF
++
++
++fi
++
++fi
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_hdr 1
++_ACEOF
++
++fi
++
++echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
++echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
++if test "${ac_cv_header_time+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <sys/types.h>
++#include <sys/time.h>
++#include <time.h>
++
++int
++main ()
++{
++if ((struct tm *) 0)
++return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_header_time=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_header_time=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
++echo "${ECHO_T}$ac_cv_header_time" >&6
++if test $ac_cv_header_time = yes; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define TIME_WITH_SYS_TIME 1
++_ACEOF
++
++fi
++
++echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
++echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
++if test "${ac_cv_struct_tm+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <sys/types.h>
++#include <time.h>
++
++int
++main ()
++{
++struct tm *tp; tp->tm_sec;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_struct_tm=time.h
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_struct_tm=sys/time.h
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
++echo "${ECHO_T}$ac_cv_struct_tm" >&6
++if test $ac_cv_struct_tm = sys/time.h; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define TM_IN_SYS_TIME 1
++_ACEOF
++
++fi
++
++
++echo "$as_me:$LINENO: checking for ANSI C header files" >&5
++echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
++if test "${ac_cv_header_stdc+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdlib.h>
++#include <stdarg.h>
++#include <string.h>
++#include <float.h>
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_header_stdc=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_header_stdc=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++
++if test $ac_cv_header_stdc = yes; then
++  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <string.h>
++
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  $EGREP "memchr" >/dev/null 2>&1; then
++  :
++else
++  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 <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdlib.h>
++
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  $EGREP "free" >/dev/null 2>&1; then
++  :
++else
++  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 <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <ctype.h>
++#if ((' ' & 0x0FF) == 0x020)
++# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
++# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
++#else
++# define ISLOWER(c) \
++		   (('a' <= (c) && (c) <= 'i') \
++		     || ('j' <= (c) && (c) <= 'r') \
++		     || ('s' <= (c) && (c) <= 'z'))
++# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
++#endif
++
++#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);
++}
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  :
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++( exit $ac_status )
++ac_cv_header_stdc=no
++fi
++rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++fi
++fi
++echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
++echo "${ECHO_T}$ac_cv_header_stdc" >&6
++if test $ac_cv_header_stdc = yes; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define STDC_HEADERS 1
++_ACEOF
++
++fi
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++for ac_header in \
++	arpa/ftp.h				\
++	arpa/telnet.h				\
++	bind/bitypes.h				\
++	bsdsetjmp.h				\
++	curses.h				\
++	dlfcn.h					\
++	fnmatch.h				\
++	inttypes.h				\
++	io.h					\
++	libutil.h				\
++	limits.h				\
++	maillock.h				\
++	netgroup.h				\
++	netinet/in6_machtypes.h			\
++	netinfo/ni.h				\
++	pthread.h				\
++	pty.h					\
++	sac.h					\
++	security/pam_modules.h			\
++	sgtty.h					\
++	siad.h					\
++	signal.h				\
++	stropts.h				\
++	sys/bitypes.h				\
++	sys/category.h				\
++	sys/file.h				\
++	sys/filio.h				\
++	sys/ioccom.h				\
++	sys/mman.h				\
++	sys/pty.h				\
++	sys/ptyio.h				\
++	sys/ptyvar.h				\
++	sys/select.h				\
++	sys/str_tty.h				\
++	sys/stream.h				\
++	sys/stropts.h				\
++	sys/strtty.h				\
++	sys/syscall.h				\
++	sys/termio.h				\
++	sys/timeb.h				\
++	sys/times.h				\
++	sys/un.h				\
++	term.h					\
++	termcap.h				\
++	termio.h				\
++	time.h					\
++	tmpdir.h				\
++	udb.h					\
++	utmp.h					\
++	utmpx.h					\
++
++do
++as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++else
++  # Is the header compilable?
++echo "$as_me:$LINENO: checking $ac_header usability" >&5
++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++@%:@include <$ac_header>
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_header_compiler=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_header_compiler=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
++echo "${ECHO_T}$ac_header_compiler" >&6
++
++# Is the header present?
++echo "$as_me:$LINENO: checking $ac_header presence" >&5
++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@include <$ac_header>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  ac_header_preproc=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++  ac_header_preproc=no
++fi
++rm -f conftest.err conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
++echo "${ECHO_T}$ac_header_preproc" >&6
++
++# So?  What about this header?
++case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
++  yes:no: )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
++echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
++    ac_header_preproc=yes
++    ;;
++  no:yes:* )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
++echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
++echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
++echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
++echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
++echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
++    (
++      cat <<\_ASBOX
++@%:@@%:@ -------------------------------------- @%:@@%:@
++@%:@@%:@ Report this to heimdal-bugs@pdc.kth.se @%:@@%:@
++@%:@@%:@ -------------------------------------- @%:@@%:@
++_ASBOX
++    ) |
++      sed "s/^/$as_me: WARNING:     /" >&2
++    ;;
++esac
++echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  eval "$as_ac_Header=\$ac_header_preproc"
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++
++fi
++if test `eval echo '${'$as_ac_Header'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++
++done
++
++
++# Check whether --enable-netinfo or --disable-netinfo was given.
++if test "${enable_netinfo+set}" = set; then
++  enableval="$enable_netinfo"
++  
++fi; 
++
++if test "$ac_cv_header_netinfo_ni_h" = yes -a "$enable_netinfo" = yes; then
++       
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_NETINFO 1
++_ACEOF
++
++fi
++
++
++
++
++
++echo "$as_me:$LINENO: checking for logwtmp" >&5
++echo $ECHO_N "checking for logwtmp... $ECHO_C" >&6
++if test "${ac_cv_funclib_logwtmp+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_logwtmp\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" util; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++logwtmp()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_logwtmp=$ac_lib; else ac_cv_funclib_logwtmp=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_logwtmp=\${ac_cv_funclib_logwtmp-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_logwtmp"
++
++if false; then
++	
++for ac_func in logwtmp
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# logwtmp
++eval "ac_tr_func=HAVE_`echo logwtmp | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_logwtmp=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_logwtmp=yes"
++	eval "LIB_logwtmp="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_logwtmp=no"
++	eval "LIB_logwtmp="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_logwtmp=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++
++
++
++echo "$as_me:$LINENO: checking for logout" >&5
++echo $ECHO_N "checking for logout... $ECHO_C" >&6
++if test "${ac_cv_funclib_logout+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_logout\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" util; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++logout()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_logout=$ac_lib; else ac_cv_funclib_logout=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_logout=\${ac_cv_funclib_logout-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_logout"
++
++if false; then
++	
++for ac_func in logout
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# logout
++eval "ac_tr_func=HAVE_`echo logout | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_logout=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_logout=yes"
++	eval "LIB_logout="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_logout=no"
++	eval "LIB_logout="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_logout=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++
++
++
++echo "$as_me:$LINENO: checking for openpty" >&5
++echo $ECHO_N "checking for openpty... $ECHO_C" >&6
++if test "${ac_cv_funclib_openpty+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_openpty\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" util; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++openpty()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_openpty=$ac_lib; else ac_cv_funclib_openpty=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_openpty=\${ac_cv_funclib_openpty-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_openpty"
++
++if false; then
++	
++for ac_func in openpty
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# openpty
++eval "ac_tr_func=HAVE_`echo openpty | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_openpty=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_openpty=yes"
++	eval "LIB_openpty="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_openpty=no"
++	eval "LIB_openpty="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_openpty=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++
++
++
++echo "$as_me:$LINENO: checking for tgetent" >&5
++echo $ECHO_N "checking for tgetent... $ECHO_C" >&6
++if test "${ac_cv_funclib_tgetent+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_tgetent\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" termcap ncurses curses; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++tgetent()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_tgetent=$ac_lib; else ac_cv_funclib_tgetent=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_tgetent=\${ac_cv_funclib_tgetent-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_tgetent"
++
++if false; then
++	
++for ac_func in tgetent
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# tgetent
++eval "ac_tr_func=HAVE_`echo tgetent | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_tgetent=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_tgetent=yes"
++	eval "LIB_tgetent="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_tgetent=no"
++	eval "LIB_tgetent="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_tgetent=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++for ac_func in 				\
++	_getpty					\
++	_scrsize				\
++	fcntl					\
++	grantpt					\
++	mktime					\
++	ptsname					\
++	rand					\
++	revoke					\
++	select					\
++	setitimer				\
++	setpcred				\
++	setpgid					\
++	setproctitle				\
++	setregid				\
++	setresgid				\
++	setresuid				\
++	setreuid				\
++	setsid					\
++	setutent				\
++	sigaction				\
++	strstr					\
++	timegm					\
++	ttyname					\
++	ttyslot					\
++	umask					\
++	unlockpt				\
++	vhangup					\
++	yp_get_default_domain			\
++
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++
++
++
++for ac_header in stdlib.h unistd.h
++do
++as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++else
++  # Is the header compilable?
++echo "$as_me:$LINENO: checking $ac_header usability" >&5
++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++@%:@include <$ac_header>
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_header_compiler=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_header_compiler=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
++echo "${ECHO_T}$ac_header_compiler" >&6
++
++# Is the header present?
++echo "$as_me:$LINENO: checking $ac_header presence" >&5
++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@include <$ac_header>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  ac_header_preproc=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++  ac_header_preproc=no
++fi
++rm -f conftest.err conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
++echo "${ECHO_T}$ac_header_preproc" >&6
++
++# So?  What about this header?
++case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
++  yes:no: )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
++echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
++    ac_header_preproc=yes
++    ;;
++  no:yes:* )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
++echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
++echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
++echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
++echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
++echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
++    (
++      cat <<\_ASBOX
++@%:@@%:@ -------------------------------------- @%:@@%:@
++@%:@@%:@ Report this to heimdal-bugs@pdc.kth.se @%:@@%:@
++@%:@@%:@ -------------------------------------- @%:@@%:@
++_ASBOX
++    ) |
++      sed "s/^/$as_me: WARNING:     /" >&2
++    ;;
++esac
++echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  eval "$as_ac_Header=\$ac_header_preproc"
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++
++fi
++if test `eval echo '${'$as_ac_Header'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++
++done
++
++
++for ac_func in getpagesize
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++echo "$as_me:$LINENO: checking for working mmap" >&5
++echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
++if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test "$cross_compiling" = yes; then
++  ac_cv_func_mmap_fixed_mapped=no
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++/* malloc might have been renamed as rpl_malloc. */
++#undef malloc
++
++/* Thanks to Mike Haertel and Jim Avera for this test.
++   Here is a matrix of mmap possibilities:
++	mmap private not fixed
++	mmap private fixed at somewhere currently unmapped
++	mmap private fixed at somewhere already mapped
++	mmap shared not fixed
++	mmap shared fixed at somewhere currently unmapped
++	mmap shared fixed at somewhere already mapped
++   For private mappings, we should verify that changes cannot be read()
++   back from the file, nor mmap's back from the file at a different
++   address.  (There have been systems where private was not correctly
++   implemented like the infamous i386 svr4.0, and systems where the
++   VM page cache was not coherent with the file system buffer cache
++   like early versions of FreeBSD and possibly contemporary NetBSD.)
++   For shared mappings, we should conversely verify that changes get
++   propagated back to all the places they're supposed to be.
++
++   Grep wants private fixed already mapped.
++   The main things grep needs to know about mmap are:
++   * does it exist and is it safe to write into the mmap'd area
++   * how to use it (BSD variants)  */
++
++#include <fcntl.h>
++#include <sys/mman.h>
++
++#if !STDC_HEADERS && !HAVE_STDLIB_H
++char *malloc ();
++#endif
++
++/* This mess was copied from the GNU getpagesize.h.  */
++#if !HAVE_GETPAGESIZE
++/* Assume that all systems that can run configure have sys/param.h.  */
++# if !HAVE_SYS_PARAM_H
++#  define HAVE_SYS_PARAM_H 1
++# endif
++
++# ifdef _SC_PAGESIZE
++#  define getpagesize() sysconf(_SC_PAGESIZE)
++# else /* no _SC_PAGESIZE */
++#  if HAVE_SYS_PARAM_H
++#   include <sys/param.h>
++#   ifdef EXEC_PAGESIZE
++#    define getpagesize() EXEC_PAGESIZE
++#   else /* no EXEC_PAGESIZE */
++#    ifdef NBPG
++#     define getpagesize() NBPG * CLSIZE
++#     ifndef CLSIZE
++#      define CLSIZE 1
++#     endif /* no CLSIZE */
++#    else /* no NBPG */
++#     ifdef NBPC
++#      define getpagesize() NBPC
++#     else /* no NBPC */
++#      ifdef PAGESIZE
++#       define getpagesize() PAGESIZE
++#      endif /* PAGESIZE */
++#     endif /* no NBPC */
++#    endif /* no NBPG */
++#   endif /* no EXEC_PAGESIZE */
++#  else /* no HAVE_SYS_PARAM_H */
++#   define getpagesize() 8192	/* punt totally */
++#  endif /* no HAVE_SYS_PARAM_H */
++# endif /* no _SC_PAGESIZE */
++
++#endif /* no HAVE_GETPAGESIZE */
++
++int
++main ()
++{
++  char *data, *data2, *data3;
++  int i, pagesize;
++  int fd;
++
++  pagesize = getpagesize ();
++
++  /* First, make a file with some known garbage in it. */
++  data = (char *) malloc (pagesize);
++  if (!data)
++    exit (1);
++  for (i = 0; i < pagesize; ++i)
++    *(data + i) = rand ();
++  umask (0);
++  fd = creat ("conftest.mmap", 0600);
++  if (fd < 0)
++    exit (1);
++  if (write (fd, data, pagesize) != pagesize)
++    exit (1);
++  close (fd);
++
++  /* Next, try to mmap the file at a fixed address which already has
++     something else allocated at it.  If we can, also make sure that
++     we see the same garbage.  */
++  fd = open ("conftest.mmap", O_RDWR);
++  if (fd < 0)
++    exit (1);
++  data2 = (char *) malloc (2 * pagesize);
++  if (!data2)
++    exit (1);
++  data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
++  if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
++		     MAP_PRIVATE | MAP_FIXED, fd, 0L))
++    exit (1);
++  for (i = 0; i < pagesize; ++i)
++    if (*(data + i) != *(data2 + i))
++      exit (1);
++
++  /* Finally, make sure that changes to the mapped area do not
++     percolate back to the file as seen by read().  (This is a bug on
++     some variants of i386 svr4.0.)  */
++  for (i = 0; i < pagesize; ++i)
++    *(data2 + i) = *(data2 + i) + 1;
++  data3 = (char *) malloc (pagesize);
++  if (!data3)
++    exit (1);
++  if (read (fd, data3, pagesize) != pagesize)
++    exit (1);
++  for (i = 0; i < pagesize; ++i)
++    if (*(data + i) != *(data3 + i))
++      exit (1);
++  close (fd);
++  exit (0);
++}
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_mmap_fixed_mapped=yes
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++( exit $ac_status )
++ac_cv_func_mmap_fixed_mapped=no
++fi
++rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
++echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
++if test $ac_cv_func_mmap_fixed_mapped = yes; then
++  
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_MMAP 1
++_ACEOF
++
++fi
++rm -f conftest.mmap
++
++
++
++
++
++
++for ac_header in capability.h sys/capability.h
++do
++as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++else
++  # Is the header compilable?
++echo "$as_me:$LINENO: checking $ac_header usability" >&5
++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++$ac_includes_default
++@%:@include <$ac_header>
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_header_compiler=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_header_compiler=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
++echo "${ECHO_T}$ac_header_compiler" >&6
++
++# Is the header present?
++echo "$as_me:$LINENO: checking $ac_header presence" >&5
++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++@%:@include <$ac_header>
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  ac_header_preproc=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++  ac_header_preproc=no
++fi
++rm -f conftest.err conftest.$ac_ext
++echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
++echo "${ECHO_T}$ac_header_preproc" >&6
++
++# So?  What about this header?
++case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
++  yes:no: )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
++echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
++    ac_header_preproc=yes
++    ;;
++  no:yes:* )
++    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
++echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
++echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
++echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
++echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
++    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
++echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
++    (
++      cat <<\_ASBOX
++@%:@@%:@ -------------------------------------- @%:@@%:@
++@%:@@%:@ Report this to heimdal-bugs@pdc.kth.se @%:@@%:@
++@%:@@%:@ -------------------------------------- @%:@@%:@
++_ASBOX
++    ) |
++      sed "s/^/$as_me: WARNING:     /" >&2
++    ;;
++esac
++echo "$as_me:$LINENO: checking for $ac_header" >&5
++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
++if eval "test \"\${$as_ac_Header+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  eval "$as_ac_Header=\$ac_header_preproc"
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
++
++fi
++if test `eval echo '${'$as_ac_Header'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++
++done
++
++
++
++
++for ac_func in sgi_getcapabilitybyname cap_set_proc
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for getpwnam_r" >&5
++echo $ECHO_N "checking for getpwnam_r... $ECHO_C" >&6
++if test "${ac_cv_funclib_getpwnam_r+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_getpwnam_r\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" c_r; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++getpwnam_r()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_getpwnam_r=$ac_lib; else ac_cv_funclib_getpwnam_r=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_getpwnam_r=\${ac_cv_funclib_getpwnam_r-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_getpwnam_r"
++
++if false; then
++	
++for ac_func in getpwnam_r
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# getpwnam_r
++eval "ac_tr_func=HAVE_`echo getpwnam_r | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_getpwnam_r=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_getpwnam_r=yes"
++	eval "LIB_getpwnam_r="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_getpwnam_r=no"
++	eval "LIB_getpwnam_r="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_getpwnam_r=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test "$ac_cv_func_getpwnam_r" = yes; then
++	echo "$as_me:$LINENO: checking if getpwnam_r is posix" >&5
++echo $ECHO_N "checking if getpwnam_r is posix... $ECHO_C" >&6
++if test "${ac_cv_func_getpwnam_r_posix+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_libs="$LIBS"
++	LIBS="$LIBS $LIB_getpwnam_r"
++	if test "$cross_compiling" = yes; then
++  :
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#include <pwd.h>
++int main()
++{
++	struct passwd pw, *pwd;
++	return getpwnam_r("", &pw, NULL, 0, &pwd) < 0;
++}
++
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_getpwnam_r_posix=yes
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++( exit $ac_status )
++ac_cv_func_getpwnam_r_posix=no
++fi
++rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++LIBS="$ac_libs"
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getpwnam_r_posix" >&5
++echo "${ECHO_T}$ac_cv_func_getpwnam_r_posix" >&6
++if test "$ac_cv_func_getpwnam_r_posix" = yes; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define POSIX_GETPWNAM_R 1
++_ACEOF
++
++fi
++fi
++
++
++
++
++for ac_func in getudbnam setlim
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for ut_addr in struct utmp" >&5
++echo $ECHO_N "checking for ut_addr in struct utmp... $ECHO_C" >&6
++if test "${ac_cv_type_struct_utmp_ut_addr+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <utmp.h>
++int
++main ()
++{
++struct utmp x; x.ut_addr;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_utmp_ut_addr=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_struct_utmp_ut_addr=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_utmp_ut_addr" >&5
++echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_addr" >&6
++if test "$ac_cv_type_struct_utmp_ut_addr" = yes; then
++	
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_STRUCT_UTMP_UT_ADDR 1
++_ACEOF
++
++	
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking for ut_host in struct utmp" >&5
++echo $ECHO_N "checking for ut_host in struct utmp... $ECHO_C" >&6
++if test "${ac_cv_type_struct_utmp_ut_host+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <utmp.h>
++int
++main ()
++{
++struct utmp x; x.ut_host;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_utmp_ut_host=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_struct_utmp_ut_host=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_utmp_ut_host" >&5
++echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_host" >&6
++if test "$ac_cv_type_struct_utmp_ut_host" = yes; then
++	
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_STRUCT_UTMP_UT_HOST 1
++_ACEOF
++
++	
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking for ut_id in struct utmp" >&5
++echo $ECHO_N "checking for ut_id in struct utmp... $ECHO_C" >&6
++if test "${ac_cv_type_struct_utmp_ut_id+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <utmp.h>
++int
++main ()
++{
++struct utmp x; x.ut_id;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_utmp_ut_id=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_struct_utmp_ut_id=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_utmp_ut_id" >&5
++echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_id" >&6
++if test "$ac_cv_type_struct_utmp_ut_id" = yes; then
++	
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_STRUCT_UTMP_UT_ID 1
++_ACEOF
++
++	
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking for ut_pid in struct utmp" >&5
++echo $ECHO_N "checking for ut_pid in struct utmp... $ECHO_C" >&6
++if test "${ac_cv_type_struct_utmp_ut_pid+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <utmp.h>
++int
++main ()
++{
++struct utmp x; x.ut_pid;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_utmp_ut_pid=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_struct_utmp_ut_pid=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_utmp_ut_pid" >&5
++echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_pid" >&6
++if test "$ac_cv_type_struct_utmp_ut_pid" = yes; then
++	
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_STRUCT_UTMP_UT_PID 1
++_ACEOF
++
++	
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking for ut_type in struct utmp" >&5
++echo $ECHO_N "checking for ut_type in struct utmp... $ECHO_C" >&6
++if test "${ac_cv_type_struct_utmp_ut_type+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <utmp.h>
++int
++main ()
++{
++struct utmp x; x.ut_type;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_utmp_ut_type=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_struct_utmp_ut_type=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_utmp_ut_type" >&5
++echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_type" >&6
++if test "$ac_cv_type_struct_utmp_ut_type" = yes; then
++	
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_STRUCT_UTMP_UT_TYPE 1
++_ACEOF
++
++	
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking for ut_user in struct utmp" >&5
++echo $ECHO_N "checking for ut_user in struct utmp... $ECHO_C" >&6
++if test "${ac_cv_type_struct_utmp_ut_user+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <utmp.h>
++int
++main ()
++{
++struct utmp x; x.ut_user;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_utmp_ut_user=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_struct_utmp_ut_user=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_utmp_ut_user" >&5
++echo "${ECHO_T}$ac_cv_type_struct_utmp_ut_user" >&6
++if test "$ac_cv_type_struct_utmp_ut_user" = yes; then
++	
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_STRUCT_UTMP_UT_USER 1
++_ACEOF
++
++	
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking for ut_exit in struct utmpx" >&5
++echo $ECHO_N "checking for ut_exit in struct utmpx... $ECHO_C" >&6
++if test "${ac_cv_type_struct_utmpx_ut_exit+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <utmpx.h>
++int
++main ()
++{
++struct utmpx x; x.ut_exit;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_utmpx_ut_exit=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_struct_utmpx_ut_exit=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_utmpx_ut_exit" >&5
++echo "${ECHO_T}$ac_cv_type_struct_utmpx_ut_exit" >&6
++if test "$ac_cv_type_struct_utmpx_ut_exit" = yes; then
++	
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_STRUCT_UTMPX_UT_EXIT 1
++_ACEOF
++
++	
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking for ut_syslen in struct utmpx" >&5
++echo $ECHO_N "checking for ut_syslen in struct utmpx... $ECHO_C" >&6
++if test "${ac_cv_type_struct_utmpx_ut_syslen+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <utmpx.h>
++int
++main ()
++{
++struct utmpx x; x.ut_syslen;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_struct_utmpx_ut_syslen=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_struct_utmpx_ut_syslen=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_struct_utmpx_ut_syslen" >&5
++echo "${ECHO_T}$ac_cv_type_struct_utmpx_ut_syslen" >&6
++if test "$ac_cv_type_struct_utmpx_ut_syslen" = yes; then
++	
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_STRUCT_UTMPX_UT_SYSLEN 1
++_ACEOF
++
++	
++fi
++
++
++
++echo "$as_me:$LINENO: checking for int8_t" >&5
++echo $ECHO_N "checking for int8_t... $ECHO_C" >&6
++if test "${ac_cv_type_int8_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#ifdef HAVE_INTTYPES_H
++#include <inttypes.h>
++#endif
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_BITYPES_H
++#include <sys/bitypes.h>
++#endif
++#ifdef HAVE_BIND_BITYPES_H
++#include <bind/bitypes.h>
++#endif
++#ifdef HAVE_NETINET_IN6_MACHTYPES_H
++#include <netinet/in6_machtypes.h>
++#endif
++
++
++int
++main ()
++{
++if ((int8_t *) 0)
++  return 0;
++if (sizeof (int8_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_int8_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_int8_t=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_int8_t" >&5
++echo "${ECHO_T}$ac_cv_type_int8_t" >&6
++if test $ac_cv_type_int8_t = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_INT8_T 1
++_ACEOF
++
++
++fi
++echo "$as_me:$LINENO: checking for int16_t" >&5
++echo $ECHO_N "checking for int16_t... $ECHO_C" >&6
++if test "${ac_cv_type_int16_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#ifdef HAVE_INTTYPES_H
++#include <inttypes.h>
++#endif
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_BITYPES_H
++#include <sys/bitypes.h>
++#endif
++#ifdef HAVE_BIND_BITYPES_H
++#include <bind/bitypes.h>
++#endif
++#ifdef HAVE_NETINET_IN6_MACHTYPES_H
++#include <netinet/in6_machtypes.h>
++#endif
++
++
++int
++main ()
++{
++if ((int16_t *) 0)
++  return 0;
++if (sizeof (int16_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_int16_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_int16_t=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_int16_t" >&5
++echo "${ECHO_T}$ac_cv_type_int16_t" >&6
++if test $ac_cv_type_int16_t = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_INT16_T 1
++_ACEOF
++
++
++fi
++echo "$as_me:$LINENO: checking for int32_t" >&5
++echo $ECHO_N "checking for int32_t... $ECHO_C" >&6
++if test "${ac_cv_type_int32_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#ifdef HAVE_INTTYPES_H
++#include <inttypes.h>
++#endif
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_BITYPES_H
++#include <sys/bitypes.h>
++#endif
++#ifdef HAVE_BIND_BITYPES_H
++#include <bind/bitypes.h>
++#endif
++#ifdef HAVE_NETINET_IN6_MACHTYPES_H
++#include <netinet/in6_machtypes.h>
++#endif
++
++
++int
++main ()
++{
++if ((int32_t *) 0)
++  return 0;
++if (sizeof (int32_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_int32_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_int32_t=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_int32_t" >&5
++echo "${ECHO_T}$ac_cv_type_int32_t" >&6
++if test $ac_cv_type_int32_t = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_INT32_T 1
++_ACEOF
++
++
++fi
++echo "$as_me:$LINENO: checking for int64_t" >&5
++echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
++if test "${ac_cv_type_int64_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#ifdef HAVE_INTTYPES_H
++#include <inttypes.h>
++#endif
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_BITYPES_H
++#include <sys/bitypes.h>
++#endif
++#ifdef HAVE_BIND_BITYPES_H
++#include <bind/bitypes.h>
++#endif
++#ifdef HAVE_NETINET_IN6_MACHTYPES_H
++#include <netinet/in6_machtypes.h>
++#endif
++
++
++int
++main ()
++{
++if ((int64_t *) 0)
++  return 0;
++if (sizeof (int64_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_int64_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_int64_t=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
++echo "${ECHO_T}$ac_cv_type_int64_t" >&6
++if test $ac_cv_type_int64_t = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_INT64_T 1
++_ACEOF
++
++
++fi
++echo "$as_me:$LINENO: checking for u_int8_t" >&5
++echo $ECHO_N "checking for u_int8_t... $ECHO_C" >&6
++if test "${ac_cv_type_u_int8_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#ifdef HAVE_INTTYPES_H
++#include <inttypes.h>
++#endif
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_BITYPES_H
++#include <sys/bitypes.h>
++#endif
++#ifdef HAVE_BIND_BITYPES_H
++#include <bind/bitypes.h>
++#endif
++#ifdef HAVE_NETINET_IN6_MACHTYPES_H
++#include <netinet/in6_machtypes.h>
++#endif
++
++
++int
++main ()
++{
++if ((u_int8_t *) 0)
++  return 0;
++if (sizeof (u_int8_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_u_int8_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_u_int8_t=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_u_int8_t" >&5
++echo "${ECHO_T}$ac_cv_type_u_int8_t" >&6
++if test $ac_cv_type_u_int8_t = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_U_INT8_T 1
++_ACEOF
++
++
++fi
++echo "$as_me:$LINENO: checking for u_int16_t" >&5
++echo $ECHO_N "checking for u_int16_t... $ECHO_C" >&6
++if test "${ac_cv_type_u_int16_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#ifdef HAVE_INTTYPES_H
++#include <inttypes.h>
++#endif
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_BITYPES_H
++#include <sys/bitypes.h>
++#endif
++#ifdef HAVE_BIND_BITYPES_H
++#include <bind/bitypes.h>
++#endif
++#ifdef HAVE_NETINET_IN6_MACHTYPES_H
++#include <netinet/in6_machtypes.h>
++#endif
++
++
++int
++main ()
++{
++if ((u_int16_t *) 0)
++  return 0;
++if (sizeof (u_int16_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_u_int16_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_u_int16_t=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_u_int16_t" >&5
++echo "${ECHO_T}$ac_cv_type_u_int16_t" >&6
++if test $ac_cv_type_u_int16_t = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_U_INT16_T 1
++_ACEOF
++
++
++fi
++echo "$as_me:$LINENO: checking for u_int32_t" >&5
++echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
++if test "${ac_cv_type_u_int32_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#ifdef HAVE_INTTYPES_H
++#include <inttypes.h>
++#endif
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_BITYPES_H
++#include <sys/bitypes.h>
++#endif
++#ifdef HAVE_BIND_BITYPES_H
++#include <bind/bitypes.h>
++#endif
++#ifdef HAVE_NETINET_IN6_MACHTYPES_H
++#include <netinet/in6_machtypes.h>
++#endif
++
++
++int
++main ()
++{
++if ((u_int32_t *) 0)
++  return 0;
++if (sizeof (u_int32_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_u_int32_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_u_int32_t=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
++echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
++if test $ac_cv_type_u_int32_t = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_U_INT32_T 1
++_ACEOF
++
++
++fi
++echo "$as_me:$LINENO: checking for u_int64_t" >&5
++echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
++if test "${ac_cv_type_u_int64_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#ifdef HAVE_INTTYPES_H
++#include <inttypes.h>
++#endif
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_BITYPES_H
++#include <sys/bitypes.h>
++#endif
++#ifdef HAVE_BIND_BITYPES_H
++#include <bind/bitypes.h>
++#endif
++#ifdef HAVE_NETINET_IN6_MACHTYPES_H
++#include <netinet/in6_machtypes.h>
++#endif
++
++
++int
++main ()
++{
++if ((u_int64_t *) 0)
++  return 0;
++if (sizeof (u_int64_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_u_int64_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_u_int64_t=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
++echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
++if test $ac_cv_type_u_int64_t = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_U_INT64_T 1
++_ACEOF
++
++
++fi
++echo "$as_me:$LINENO: checking for uint8_t" >&5
++echo $ECHO_N "checking for uint8_t... $ECHO_C" >&6
++if test "${ac_cv_type_uint8_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#ifdef HAVE_INTTYPES_H
++#include <inttypes.h>
++#endif
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_BITYPES_H
++#include <sys/bitypes.h>
++#endif
++#ifdef HAVE_BIND_BITYPES_H
++#include <bind/bitypes.h>
++#endif
++#ifdef HAVE_NETINET_IN6_MACHTYPES_H
++#include <netinet/in6_machtypes.h>
++#endif
++
++
++int
++main ()
++{
++if ((uint8_t *) 0)
++  return 0;
++if (sizeof (uint8_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_uint8_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_uint8_t=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_uint8_t" >&5
++echo "${ECHO_T}$ac_cv_type_uint8_t" >&6
++if test $ac_cv_type_uint8_t = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_UINT8_T 1
++_ACEOF
++
++
++fi
++echo "$as_me:$LINENO: checking for uint16_t" >&5
++echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6
++if test "${ac_cv_type_uint16_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#ifdef HAVE_INTTYPES_H
++#include <inttypes.h>
++#endif
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_BITYPES_H
++#include <sys/bitypes.h>
++#endif
++#ifdef HAVE_BIND_BITYPES_H
++#include <bind/bitypes.h>
++#endif
++#ifdef HAVE_NETINET_IN6_MACHTYPES_H
++#include <netinet/in6_machtypes.h>
++#endif
++
++
++int
++main ()
++{
++if ((uint16_t *) 0)
++  return 0;
++if (sizeof (uint16_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_uint16_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_uint16_t=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_uint16_t" >&5
++echo "${ECHO_T}$ac_cv_type_uint16_t" >&6
++if test $ac_cv_type_uint16_t = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_UINT16_T 1
++_ACEOF
++
++
++fi
++echo "$as_me:$LINENO: checking for uint32_t" >&5
++echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
++if test "${ac_cv_type_uint32_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#ifdef HAVE_INTTYPES_H
++#include <inttypes.h>
++#endif
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_BITYPES_H
++#include <sys/bitypes.h>
++#endif
++#ifdef HAVE_BIND_BITYPES_H
++#include <bind/bitypes.h>
++#endif
++#ifdef HAVE_NETINET_IN6_MACHTYPES_H
++#include <netinet/in6_machtypes.h>
++#endif
++
++
++int
++main ()
++{
++if ((uint32_t *) 0)
++  return 0;
++if (sizeof (uint32_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_uint32_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_uint32_t=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
++echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
++if test $ac_cv_type_uint32_t = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_UINT32_T 1
++_ACEOF
++
++
++fi
++echo "$as_me:$LINENO: checking for uint64_t" >&5
++echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
++if test "${ac_cv_type_uint64_t+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#ifdef HAVE_INTTYPES_H
++#include <inttypes.h>
++#endif
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_BITYPES_H
++#include <sys/bitypes.h>
++#endif
++#ifdef HAVE_BIND_BITYPES_H
++#include <bind/bitypes.h>
++#endif
++#ifdef HAVE_NETINET_IN6_MACHTYPES_H
++#include <netinet/in6_machtypes.h>
++#endif
++
++
++int
++main ()
++{
++if ((uint64_t *) 0)
++  return 0;
++if (sizeof (uint64_t))
++  return 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_uint64_t=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_uint64_t=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
++echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
++if test $ac_cv_type_uint64_t = yes; then
++  
++cat >>confdefs.h <<_ACEOF
++@%:@define HAVE_UINT64_T 1
++_ACEOF
++
++
++fi
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking for el_init" >&5
++echo $ECHO_N "checking for el_init... $ECHO_C" >&6
++if test "${ac_cv_funclib_el_init+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++if eval "test \"\$ac_cv_func_el_init\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" edit; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib $LIB_tgetent $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++el_init()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_el_init=$ac_lib; else ac_cv_funclib_el_init=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_el_init=\${ac_cv_funclib_el_init-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_el_init"
++
++if false; then
++	
++for ac_func in el_init
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++ 
++fi
++done
++
++fi
++# el_init
++eval "ac_tr_func=HAVE_`echo el_init | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_el_init=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_el_init=yes"
++	eval "LIB_el_init="
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_el_init=no"
++	eval "LIB_el_init="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_el_init=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++@%:@define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++
++if test "$ac_cv_func_el_init" = yes ; then
++	echo "$as_me:$LINENO: checking for four argument el_init" >&5
++echo $ECHO_N "checking for four argument el_init... $ECHO_C" >&6
++if test "${ac_cv_func_el_init_four+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <stdio.h>
++			#include <histedit.h>
++int
++main ()
++{
++el_init("", NULL, NULL, NULL);
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_el_init_four=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_el_init_four=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_el_init_four" >&5
++echo "${ECHO_T}$ac_cv_func_el_init_four" >&6
++	if test "$ac_cv_func_el_init_four" = yes; then
++		
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_FOUR_VALUED_EL_INIT 1
++_ACEOF
++
++	fi
++fi
++
++
++ac_foo=no
++if test "$with_readline" = yes; then
++	:
++elif test "$ac_cv_func_readline" = yes; then
++	:
++elif test "$ac_cv_func_el_init" = yes; then
++	ac_foo=yes
++	DIR_readline="editline"
++	LIB_readline="\$(top_builddir)/lib/editline/libel_compat.la \$(LIB_el_init) \$(LIB_tgetent)"
++else
++	DIR_readline="editline"
++	LIB_readline="\$(top_builddir)/lib/editline/libeditline.la \$(LIB_tgetent)"
++fi
++
++
++if test "$ac_foo" = yes; then
++  el_compat_TRUE=
++  el_compat_FALSE='#'
++else
++  el_compat_TRUE='#'
++  el_compat_FALSE=
++fi
++
++
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_READLINE 1
++_ACEOF
++
++
++
++
++
++cat >>confdefs.h <<\_ACEOF
++@%:@define AUTHENTICATION 1
++_ACEOF
++
++cat >>confdefs.h <<\_ACEOF
++@%:@define ENCRYPTION 1
++_ACEOF
++
++cat >>confdefs.h <<\_ACEOF
++@%:@define DES_ENCRYPTION 1
++_ACEOF
++
++cat >>confdefs.h <<\_ACEOF
++@%:@define DIAGNOSTICS 1
++_ACEOF
++
++cat >>confdefs.h <<\_ACEOF
++@%:@define OLD_ENVIRON 1
++_ACEOF
++if false; then
++	
++cat >>confdefs.h <<\_ACEOF
++@%:@define ENV_HACK 1
++_ACEOF
++
++fi
++
++# Simple test for streamspty, based on the existance of getmsg(), alas
++# this breaks on SunOS4 which have streams but BSD-like ptys
++#
++# And also something wierd has happend with dec-osf1, fallback to bsd-ptys
++
++case "$host" in
++*-*-aix3*|*-*-sunos4*|*-*-osf*|*-*-hpux1[01]*)
++	;;
++*)
++	echo "$as_me:$LINENO: checking for getmsg" >&5
++echo $ECHO_N "checking for getmsg... $ECHO_C" >&6
++if test "${ac_cv_func_getmsg+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define getmsg to an innocuous variant, in case <limits.h> declares getmsg.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define getmsg innocuous_getmsg
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char getmsg (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef getmsg
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char getmsg ();
++/* 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_getmsg) || defined (__stub___getmsg)
++choke me
++#else
++char (*f) () = getmsg;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != getmsg;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_getmsg=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_func_getmsg=no
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getmsg" >&5
++echo "${ECHO_T}$ac_cv_func_getmsg" >&6
++
++	if test "$ac_cv_func_getmsg" = "yes"; then
++		echo "$as_me:$LINENO: checking if getmsg works" >&5
++echo $ECHO_N "checking if getmsg works... $ECHO_C" >&6
++if test "${ac_cv_func_getmsg_works+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test "$cross_compiling" = yes; then
++  ac_cv_func_getmsg_works=no
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++			#include <stdio.h>
++			#include <errno.h>
++
++			int main()
++			{
++			  int ret;
++			  ret = getmsg(open("/dev/null", 0), NULL, NULL, NULL);
++			  if(ret < 0 && errno == ENOSYS)
++			    return 1;
++			  return 0;
++			}
++			
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_func_getmsg_works=yes
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++( exit $ac_status )
++ac_cv_func_getmsg_works=no
++fi
++rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++fi
++echo "$as_me:$LINENO: result: $ac_cv_func_getmsg_works" >&5
++echo "${ECHO_T}$ac_cv_func_getmsg_works" >&6
++		if test "$ac_cv_func_getmsg_works" = "yes"; then
++			
++cat >>confdefs.h <<\_ACEOF
++@%:@define HAVE_GETMSG 1
++_ACEOF
++
++			
++cat >>confdefs.h <<\_ACEOF
++@%:@define STREAMSPTY 1
++_ACEOF
++
++		fi
++	fi
++	;;
++esac
++
++
++
++
++
++
++
++# Extract the first word of "compile_et", so it can be a program name with args.
++set dummy compile_et; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_prog_COMPILE_ET+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  if test -n "$COMPILE_ET"; then
++  ac_cv_prog_COMPILE_ET="$COMPILE_ET" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_prog_COMPILE_ET="compile_et"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++fi
++fi
++COMPILE_ET=$ac_cv_prog_COMPILE_ET
++if test -n "$COMPILE_ET"; then
++  echo "$as_me:$LINENO: result: $COMPILE_ET" >&5
++echo "${ECHO_T}$COMPILE_ET" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++
++krb_cv_compile_et="no"
++krb_cv_com_err_need_r=""
++if test "${COMPILE_ET}" = "compile_et"; then
++
++echo "$as_me:$LINENO: checking whether compile_et has the features we need" >&5
++echo $ECHO_N "checking whether compile_et has the features we need... $ECHO_C" >&6
++cat > conftest_et.et <<'EOF'
++error_table test conf
++prefix CONFTEST
++index 1
++error_code CODE1, "CODE1"
++index 128
++error_code CODE2, "CODE2"
++end
++EOF
++if ${COMPILE_ET} conftest_et.et >/dev/null 2>&1; then
++    save_CPPFLAGS="${CPPFLAGS}"
++  if test -d "/usr/include/et"; then
++    CPPFLAGS="-I/usr/include/et ${CPPFLAGS}"
++  fi
++    if test "$cross_compiling" = yes; then
++  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
++See \`config.log' for more details." >&5
++echo "$as_me: error: cannot run test program while cross compiling
++See \`config.log' for more details." >&2;}
++   { (exit 1); exit 1; }; }
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++#include <com_err.h>
++#include <string.h>
++#include "conftest_et.h"
++int main(){
++#ifndef ERROR_TABLE_BASE_conf
++#error compile_et does not handle error_table N M
++#endif
++return (CONFTEST_CODE2 - CONFTEST_CODE1) != 127;}
++  
++_ACEOF
++rm -f conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  krb_cv_compile_et="yes"
++else
++  echo "$as_me: program exited with status $ac_status" >&5
++echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++( exit $ac_status )
++CPPFLAGS="${save_CPPFLAGS}"
++fi
++rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++fi
++fi
++echo "$as_me:$LINENO: result: ${krb_cv_compile_et}" >&5
++echo "${ECHO_T}${krb_cv_compile_et}" >&6
++if test "${krb_cv_compile_et}" = "yes"; then
++  echo "$as_me:$LINENO: checking for if com_err needs to have a initialize_error_table_r" >&5
++echo $ECHO_N "checking for if com_err needs to have a initialize_error_table_r... $ECHO_C" >&6
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include "conftest_et.c"
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  $EGREP "initialize_error_table_r" >/dev/null 2>&1; then
++  krb_cv_com_err_need_r="initialize_error_table_r(0,0,0,0);"
++fi
++rm -f conftest*
++
++  if test X"$krb_cv_com_err_need_r" = X ; then
++    echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++  else
++    echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++  fi
++fi
++rm -fr conftest*
++fi
++
++if test "${krb_cv_compile_et}" = "yes"; then
++    krb_cv_save_LIBS="${LIBS}"
++  LIBS="${LIBS} -lcom_err"
++  echo "$as_me:$LINENO: checking for com_err" >&5
++echo $ECHO_N "checking for com_err... $ECHO_C" >&6
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <com_err.h>
++int
++main ()
++{
++
++    const char *p;
++    p = error_message(0);
++    $krb_cv_com_err_need_r
++  
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  krb_cv_com_err="yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++krb_cv_com_err="no"; CPPFLAGS="${save_CPPFLAGS}"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++  echo "$as_me:$LINENO: result: ${krb_cv_com_err}" >&5
++echo "${ECHO_T}${krb_cv_com_err}" >&6
++  LIBS="${krb_cv_save_LIBS}"
++else
++    krb_cv_com_err="no"
++fi
++
++if test "${krb_cv_com_err}" = "yes"; then
++    DIR_com_err=""
++    LIB_com_err="-lcom_err"
++    LIB_com_err_a=""
++    LIB_com_err_so=""
++    { echo "$as_me:$LINENO: Using the already-installed com_err" >&5
++echo "$as_me: Using the already-installed com_err" >&6;}
++else
++    COMPILE_ET="\$(top_builddir)/lib/com_err/compile_et"
++    DIR_com_err="com_err"
++    LIB_com_err="\$(top_builddir)/lib/com_err/libcom_err.la"
++    LIB_com_err_a="\$(top_builddir)/lib/com_err/.libs/libcom_err.a"
++    LIB_com_err_so="\$(top_builddir)/lib/com_err/.libs/libcom_err.so"
++    { echo "$as_me:$LINENO: Using our own com_err" >&5
++echo "$as_me: Using our own com_err" >&6;}
++fi
++
++
++
++
++
++
++
++
++echo "$as_me:$LINENO: checking which authentication modules should be built" >&5
++echo $ECHO_N "checking which authentication modules should be built... $ECHO_C" >&6
++
++z='sia afskauthlib'
++LIB_AUTH_SUBDIRS=
++for i in $z; do
++case $i in
++sia)
++if test "$ac_cv_header_siad_h" = yes; then
++	LIB_AUTH_SUBDIRS="$LIB_AUTH_SUBDIRS sia"
++fi
++;;
++pam)
++case "${host}" in
++*-*-freebsd*)	ac_cv_want_pam_krb4=no ;;
++*)		ac_cv_want_pam_krb4=yes ;;
++esac
++
++if test "$ac_cv_want_pam_krb4" = yes -a \
++    "$ac_cv_header_security_pam_modules_h" = yes -a \
++    "$enable_shared" = yes; then
++	LIB_AUTH_SUBDIRS="$LIB_AUTH_SUBDIRS pam"
++fi
++;;
++afskauthlib)
++case "${host}" in
++*-*-irix[56]*) LIB_AUTH_SUBDIRS="$LIB_AUTH_SUBDIRS afskauthlib" ;;
++esac
++;;
++esac
++done
++if test "$LIB_AUTH_SUBDIRS"; then
++	echo "$as_me:$LINENO: result: $LIB_AUTH_SUBDIRS" >&5
++echo "${ECHO_T}$LIB_AUTH_SUBDIRS" >&6
++else
++	echo "$as_me:$LINENO: result: none" >&5
++echo "${ECHO_T}none" >&6
++fi
++
++
++
++
++# This is done by AC_OUTPUT but we need the result here.
++test "x$prefix" = xNONE && prefix=$ac_default_prefix
++test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
++
++
++	x="${bindir}"
++	eval y="$x"
++	while test "x$y" != "x$x"; do
++		x="$y"
++		eval y="$x"
++	done
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define BINDIR "$x"
++_ACEOF
++
++	x="${libdir}"
++	eval y="$x"
++	while test "x$y" != "x$x"; do
++		x="$y"
++		eval y="$x"
++	done
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define LIBDIR "$x"
++_ACEOF
++
++	x="${libexecdir}"
++	eval y="$x"
++	while test "x$y" != "x$x"; do
++		x="$y"
++		eval y="$x"
++	done
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define LIBEXECDIR "$x"
++_ACEOF
++
++	x="${localstatedir}"
++	eval y="$x"
++	while test "x$y" != "x$x"; do
++		x="$y"
++		eval y="$x"
++	done
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define LOCALSTATEDIR "$x"
++_ACEOF
++
++	x="${sbindir}"
++	eval y="$x"
++	while test "x$y" != "x$x"; do
++		x="$y"
++		eval y="$x"
++	done
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define SBINDIR "$x"
++_ACEOF
++
++	x="${sysconfdir}"
++	eval y="$x"
++	while test "x$y" != "x$x"; do
++		x="$y"
++		eval y="$x"
++	done
++	
++cat >>confdefs.h <<_ACEOF
++@%:@define SYSCONFDIR "$x"
++_ACEOF
++
++
++
++LTLIBOBJS=`echo "$LIB@&t@OBJS" |
++	sed 's,\.[^.]* ,.lo ,g;s,\.[^.]*$,.lo,'`
++
++
++
++
++
++                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        ac_config_files="$ac_config_files Makefile include/Makefile include/kadm5/Makefile lib/Makefile lib/45/Makefile lib/auth/Makefile lib/auth/afskauthlib/Makefile lib/auth/pam/Makefile lib/auth/sia/Makefile lib/asn1/Makefile lib/com_err/Makefile lib/des/Makefile lib/editline/Makefile lib/gssapi/Makefile lib/hdb/Makefile lib/kadm5/Makefile lib/kafs/Makefile lib/kdfs/Makefile lib/krb5/Makefile lib/otp/Makefile lib/roken/Makefile lib/sl/Makefile lib/vers/Makefile kuser/Makefile kpasswd/Makefile kadmin/Makefile admin/Makefile kdc/Makefile appl/Makefile appl/afsutil/Makefile appl/ftp/Makefile appl/ftp/common/Makefile appl/ftp/ftp/Makefile appl/ftp/ftpd/Makefile appl/kx/Makefile appl/login/Makefile appl/otp/Makefile appl/popper/Makefile appl/push/Makefile appl/rsh/Makefile appl/rcp/Makefile appl/su/Makefile appl/xnlock/Makefile appl/telnet/Makefile appl/telnet/libtelnet/Makefile appl/telnet/telnet/Makefile appl/telnet/telnetd/Makefile appl/test/Makefile appl/kf/Makefile appl/dceutils/Makefile doc/Makefile tools/Makefile"
++
++
++cat >confcache <<\_ACEOF
++# 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, see configure's option --config-cache.
++# It is not useful on other systems.  If it contains results you don't
++# want to keep, you may remove or edit it.
++#
++# config.status only pays attention to the cache file if you give it
++# the --recheck option to rerun configure.
++#
++# `ac_cv_env_foo' variables (set or unset) will be overridden when
++# loading this file, other *unset* `ac_cv_foo' will be assigned the
++# following values.
++
++_ACEOF
++
++# The following way of writing the cache mishandles newlines in values,
++# but we know of no workaround that is simple, portable, and efficient.
++# So, don't put newlines in cache variables' values.
++# Ultrix sh set writes to stderr and can't be redirected directly,
++# and sets the high bit in the cache file unless we assign to the vars.
++{
++  (set) 2>&1 |
++    case `(ac_space=' '; set | grep ac_space) 2>&1` in
++    *ac_space=\ *)
++      # `set' does not quote correctly, so add quotes (double-quote
++      # substitution turns \\\\ into \\, and sed turns \\ into \).
++      sed -n \
++	"s/'/'\\\\''/g;
++	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
++      ;;
++    *)
++      # `set' quotes correctly as required by POSIX, so do not add quotes.
++      sed -n \
++	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
++      ;;
++    esac;
++} |
++  sed '
++     t clear
++     : clear
++     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
++     t end
++     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
++     : end' >>confcache
++if diff $cache_file confcache >/dev/null 2>&1; then :; else
++  if test -w $cache_file; then
++    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
++    cat confcache >$cache_file
++  else
++    echo "not updating unwritable cache $cache_file"
++  fi
++fi
++rm -f confcache
++
++test "x$prefix" = xNONE && prefix=$ac_default_prefix
++# Let make expand exec_prefix.
++test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
++
++# VPATH may cause trouble with some makes, so we remove $(srcdir),
++# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
++# trailing colons and then remove the whole line if VPATH becomes empty
++# (actually we leave an empty line to preserve line numbers).
++if test "x$srcdir" = x.; then
++  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
++s/:*\$(srcdir):*/:/;
++s/:*\${srcdir}:*/:/;
++s/:*@srcdir@:*/:/;
++s/^\([^=]*=[	 ]*\):*/\1/;
++s/:*$//;
++s/^[^=]*=[	 ]*$//;
++}'
++fi
++
++DEFS=-DHAVE_CONFIG_H
++
++ac_libobjs=
++ac_ltlibobjs=
++for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
++  # 1. Remove the extension, and $U if already installed.
++  ac_i=`echo "$ac_i" |
++	 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
++  # 2. Add them.
++  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
++  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
++done
++LIB@&t@OBJS=$ac_libobjs
++
++LTLIBOBJS=$ac_ltlibobjs
++
++
++if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${KRB4_TRUE}" && test -z "${KRB4_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"KRB4\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"KRB4\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${KRB5_TRUE}" && test -z "${KRB5_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"KRB5\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"KRB5\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${do_roken_rename_TRUE}" && test -z "${do_roken_rename_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"do_roken_rename\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"do_roken_rename\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${HAVE_OPENSSL_TRUE}" && test -z "${HAVE_OPENSSL_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"HAVE_OPENSSL\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"HAVE_OPENSSL\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${DCE_TRUE}" && test -z "${DCE_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"DCE\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"DCE\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${HAVE_DB1_TRUE}" && test -z "${HAVE_DB1_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"HAVE_DB1\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"HAVE_DB1\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${HAVE_DB3_TRUE}" && test -z "${HAVE_DB3_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"HAVE_DB3\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"HAVE_DB3\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${HAVE_NDBM_TRUE}" && test -z "${HAVE_NDBM_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"HAVE_NDBM\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"HAVE_NDBM\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${have_err_h_TRUE}" && test -z "${have_err_h_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"have_err_h\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"have_err_h\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${have_fnmatch_h_TRUE}" && test -z "${have_fnmatch_h_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"have_fnmatch_h\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"have_fnmatch_h\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${have_ifaddrs_h_TRUE}" && test -z "${have_ifaddrs_h_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"have_ifaddrs_h\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"have_ifaddrs_h\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${have_vis_h_TRUE}" && test -z "${have_vis_h_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"have_vis_h\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"have_vis_h\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${have_glob_h_TRUE}" && test -z "${have_glob_h_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"have_glob_h\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"have_glob_h\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${OTP_TRUE}" && test -z "${OTP_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"OTP\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"OTP\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${CATMAN_TRUE}" && test -z "${CATMAN_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"CATMAN\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"CATMAN\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${AIX_TRUE}" && test -z "${AIX_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"AIX\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"AIX\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${AIX4_TRUE}" && test -z "${AIX4_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"AIX4\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"AIX4\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${HAVE_DLOPEN_TRUE}" && test -z "${HAVE_DLOPEN_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"HAVE_DLOPEN\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"HAVE_DLOPEN\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${AIX_DYNAMIC_AFS_TRUE}" && test -z "${AIX_DYNAMIC_AFS_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"AIX_DYNAMIC_AFS\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"AIX_DYNAMIC_AFS\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${IRIX_TRUE}" && test -z "${IRIX_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"IRIX\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"IRIX\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${HAVE_X_TRUE}" && test -z "${HAVE_X_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"HAVE_X\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"HAVE_X\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${NEED_WRITEAUTH_TRUE}" && test -z "${NEED_WRITEAUTH_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"NEED_WRITEAUTH\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"NEED_WRITEAUTH\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++if test -z "${el_compat_TRUE}" && test -z "${el_compat_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"el_compat\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"el_compat\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
++
++: ${CONFIG_STATUS=./config.status}
++ac_clean_files_save=$ac_clean_files
++ac_clean_files="$ac_clean_files $CONFIG_STATUS"
++{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
++echo "$as_me: creating $CONFIG_STATUS" >&6;}
++cat >$CONFIG_STATUS <<_ACEOF
++#! $SHELL
++# Generated by $as_me.
++# Run this file to recreate the current configuration.
++# Compiler output produced by configure, useful for debugging
++# configure, is in config.log if it exists.
++
++debug=false
++ac_cs_recheck=false
++ac_cs_silent=false
++SHELL=\${CONFIG_SHELL-$SHELL}
++_ACEOF
++
++cat >>$CONFIG_STATUS <<\_ACEOF
++## --------------------- ##
++## M4sh Initialization.  ##
++## --------------------- ##
++
++# Be Bourne compatible
++if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
++  emulate sh
++  NULLCMD=:
++  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
++  # is contrary to our usage.  Disable this feature.
++  alias -g '${1+"$@"}'='"$@"'
++elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
++  set -o posix
++fi
++DUALCASE=1; export DUALCASE # for MKS sh
++
++# Support unset when possible.
++if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
++  as_unset=unset
++else
++  as_unset=false
++fi
++
++
++# Work around bugs in pre-3.0 UWIN ksh.
++$as_unset ENV MAIL MAILPATH
++PS1='$ '
++PS2='> '
++PS4='+ '
++
++# NLS nuisances.
++for as_var in \
++  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
++  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
++  LC_TELEPHONE LC_TIME
++do
++  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
++    eval $as_var=C; export $as_var
++  else
++    $as_unset $as_var
++  fi
++done
++
++# Required to use basename.
++if expr a : '\(a\)' >/dev/null 2>&1; then
++  as_expr=expr
++else
++  as_expr=false
++fi
++
++if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
++  as_basename=basename
++else
++  as_basename=false
++fi
++
++
++# Name of the executable.
++as_me=`$as_basename "$0" ||
++$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
++	 X"$0" : 'X\(//\)$' \| \
++	 X"$0" : 'X\(/\)$' \| \
++	 .     : '\(.\)' 2>/dev/null ||
++echo X/"$0" |
++    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
++  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
++  	  /^X\/\(\/\).*/{ s//\1/; q; }
++  	  s/.*/./; q'`
++
++
++# PATH needs CR, and LINENO needs CR and PATH.
++# Avoid depending upon Character Ranges.
++as_cr_letters='abcdefghijklmnopqrstuvwxyz'
++as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
++as_cr_Letters=$as_cr_letters$as_cr_LETTERS
++as_cr_digits='0123456789'
++as_cr_alnum=$as_cr_Letters$as_cr_digits
++
++# The user is always right.
++if test "${PATH_SEPARATOR+set}" != set; then
++  echo "#! /bin/sh" >conf$$.sh
++  echo  "exit 0"   >>conf$$.sh
++  chmod +x conf$$.sh
++  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
++    PATH_SEPARATOR=';'
++  else
++    PATH_SEPARATOR=:
++  fi
++  rm -f conf$$.sh
++fi
++
++
++  as_lineno_1=$LINENO
++  as_lineno_2=$LINENO
++  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
++  test "x$as_lineno_1" != "x$as_lineno_2" &&
++  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
++  # Find who we are.  Look in the path if we contain no path at all
++  # relative or not.
++  case $0 in
++    *[\\/]* ) as_myself=$0 ;;
++    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
++done
++
++       ;;
++  esac
++  # We did not find ourselves, most probably we were run as `sh COMMAND'
++  # in which case we are not to be found in the path.
++  if test "x$as_myself" = x; then
++    as_myself=$0
++  fi
++  if test ! -f "$as_myself"; then
++    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
++echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
++   { (exit 1); exit 1; }; }
++  fi
++  case $CONFIG_SHELL in
++  '')
++    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for as_base in sh bash ksh sh5; do
++	 case $as_dir in
++	 /*)
++	   if ("$as_dir/$as_base" -c '
++  as_lineno_1=$LINENO
++  as_lineno_2=$LINENO
++  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
++  test "x$as_lineno_1" != "x$as_lineno_2" &&
++  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
++	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
++	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
++	     CONFIG_SHELL=$as_dir/$as_base
++	     export CONFIG_SHELL
++	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
++	   fi;;
++	 esac
++       done
++done
++;;
++  esac
++
++  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
++  # uniformly replaced by the line number.  The first 'sed' inserts a
++  # line-number line before each line; the second 'sed' does the real
++  # work.  The second script uses 'N' to pair each line-number line
++  # with the numbered line, and appends trailing '-' during
++  # substitution so that $LINENO is not a special case at line end.
++  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
++  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
++  sed '=' <$as_myself |
++    sed '
++      N
++      s,$,-,
++      : loop
++      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
++      t loop
++      s,-$,,
++      s,^['$as_cr_digits']*\n,,
++    ' >$as_me.lineno &&
++  chmod +x $as_me.lineno ||
++    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
++echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
++   { (exit 1); exit 1; }; }
++
++  # Don't try to exec as it changes $[0], causing all sort of problems
++  # (the dirname of $[0] is not the place where we might find the
++  # original and so on.  Autoconf is especially sensible to this).
++  . ./$as_me.lineno
++  # Exit status is that of the last command.
++  exit
++}
++
++
++case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
++  *c*,-n*) ECHO_N= ECHO_C='
++' ECHO_T='	' ;;
++  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
++  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
++esac
++
++if expr a : '\(a\)' >/dev/null 2>&1; then
++  as_expr=expr
++else
++  as_expr=false
++fi
++
++rm -f conf$$ conf$$.exe conf$$.file
++echo >conf$$.file
++if ln -s conf$$.file conf$$ 2>/dev/null; then
++  # We could just check for DJGPP; but this test a) works b) is more generic
++  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
++  if test -f conf$$.exe; then
++    # Don't use ln at all; we don't have any links
++    as_ln_s='cp -p'
++  else
++    as_ln_s='ln -s'
++  fi
++elif ln conf$$.file conf$$ 2>/dev/null; then
++  as_ln_s=ln
++else
++  as_ln_s='cp -p'
++fi
++rm -f conf$$ conf$$.exe conf$$.file
++
++if mkdir -p . 2>/dev/null; then
++  as_mkdir_p=:
++else
++  test -d ./-p && rmdir ./-p
++  as_mkdir_p=false
++fi
++
++as_executable_p="test -f"
++
++# Sed expression to map a string onto a valid CPP name.
++as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
++
++# Sed expression to map a string onto a valid variable name.
++as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
++
++
++# IFS
++# We need space, tab and new line, in precisely that order.
++as_nl='
++'
++IFS=" 	$as_nl"
++
++# CDPATH.
++$as_unset CDPATH
++
++exec 6>&1
++
++# Open the log real soon, to keep \$[0] and so on meaningful, and to
++# report actual input values of CONFIG_FILES etc. instead of their
++# values after options handling.  Logging --version etc. is OK.
++exec 5>>config.log
++{
++  echo
++  sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
++@%:@@%:@ Running $as_me. @%:@@%:@
++_ASBOX
++} >&5
++cat >&5 <<_CSEOF
++
++This file was extended by Heimdal $as_me 0.6.1, which was
++generated by GNU Autoconf 2.59.  Invocation command line was
++
++  CONFIG_FILES    = $CONFIG_FILES
++  CONFIG_HEADERS  = $CONFIG_HEADERS
++  CONFIG_LINKS    = $CONFIG_LINKS
++  CONFIG_COMMANDS = $CONFIG_COMMANDS
++  $ $0 $@
++
++_CSEOF
++echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
++echo >&5
++_ACEOF
++
++# Files that config.status was made for.
++if test -n "$ac_config_files"; then
++  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
++fi
++
++if test -n "$ac_config_headers"; then
++  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
++fi
++
++if test -n "$ac_config_links"; then
++  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
++fi
++
++if test -n "$ac_config_commands"; then
++  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
++fi
++
++cat >>$CONFIG_STATUS <<\_ACEOF
++
++ac_cs_usage="\
++\`$as_me' instantiates files from templates according to the
++current configuration.
++
++Usage: $0 [OPTIONS] [FILE]...
++
++  -h, --help       print this help, then exit
++  -V, --version    print version number, then exit
++  -q, --quiet      do not print progress messages
++  -d, --debug      don't remove temporary files
++      --recheck    update $as_me by reconfiguring in the same conditions
++  --file=FILE[:TEMPLATE]
++		   instantiate the configuration file FILE
++  --header=FILE[:TEMPLATE]
++		   instantiate the configuration header FILE
++
++Configuration files:
++$config_files
++
++Configuration headers:
++$config_headers
++
++Report bugs to <bug-autoconf@gnu.org>."
++_ACEOF
++
++cat >>$CONFIG_STATUS <<_ACEOF
++ac_cs_version="\\
++Heimdal config.status 0.6.1
++configured by $0, generated by GNU Autoconf 2.59,
++  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
++
++Copyright (C) 2003 Free Software Foundation, Inc.
++This config.status script is free software; the Free Software Foundation
++gives unlimited permission to copy, distribute and modify it."
++srcdir=$srcdir
++INSTALL="$INSTALL"
++_ACEOF
++
++cat >>$CONFIG_STATUS <<\_ACEOF
++# If no file are specified by the user, then we need to provide default
++# value.  By we need to know if files were specified by the user.
++ac_need_defaults=:
++while test $# != 0
++do
++  case $1 in
++  --*=*)
++    ac_option=`expr "x$1" : 'x\([^=]*\)='`
++    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
++    ac_shift=:
++    ;;
++  -*)
++    ac_option=$1
++    ac_optarg=$2
++    ac_shift=shift
++    ;;
++  *) # This is not an option, so the user has probably given explicit
++     # arguments.
++     ac_option=$1
++     ac_need_defaults=false;;
++  esac
++
++  case $ac_option in
++  # Handling of the options.
++_ACEOF
++cat >>$CONFIG_STATUS <<\_ACEOF
++  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
++    ac_cs_recheck=: ;;
++  --version | --vers* | -V )
++    echo "$ac_cs_version"; exit 0 ;;
++  --he | --h)
++    # Conflict between --help and --header
++    { { echo "$as_me:$LINENO: error: ambiguous option: $1
++Try \`$0 --help' for more information." >&5
++echo "$as_me: error: ambiguous option: $1
++Try \`$0 --help' for more information." >&2;}
++   { (exit 1); exit 1; }; };;
++  --help | --hel | -h )
++    echo "$ac_cs_usage"; exit 0 ;;
++  --debug | --d* | -d )
++    debug=: ;;
++  --file | --fil | --fi | --f )
++    $ac_shift
++    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
++    ac_need_defaults=false;;
++  --header | --heade | --head | --hea )
++    $ac_shift
++    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
++    ac_need_defaults=false;;
++  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
++  | -silent | --silent | --silen | --sile | --sil | --si | --s)
++    ac_cs_silent=: ;;
++
++  # This is an error.
++  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
++Try \`$0 --help' for more information." >&5
++echo "$as_me: error: unrecognized option: $1
++Try \`$0 --help' for more information." >&2;}
++   { (exit 1); exit 1; }; } ;;
++
++  *) ac_config_targets="$ac_config_targets $1" ;;
++
++  esac
++  shift
++done
++
++ac_configure_extra_args=
++
++if $ac_cs_silent; then
++  exec 6>/dev/null
++  ac_configure_extra_args="$ac_configure_extra_args --silent"
++fi
++
++_ACEOF
++cat >>$CONFIG_STATUS <<_ACEOF
++if \$ac_cs_recheck; then
++  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
++  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
++fi
++
++_ACEOF
++
++
++
++
++
++cat >>$CONFIG_STATUS <<\_ACEOF
++for ac_config_target in $ac_config_targets
++do
++  case "$ac_config_target" in
++  # Handling of arguments.
++  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
++  "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
++  "include/kadm5/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/kadm5/Makefile" ;;
++  "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
++  "lib/45/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/45/Makefile" ;;
++  "lib/auth/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/auth/Makefile" ;;
++  "lib/auth/afskauthlib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/auth/afskauthlib/Makefile" ;;
++  "lib/auth/pam/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/auth/pam/Makefile" ;;
++  "lib/auth/sia/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/auth/sia/Makefile" ;;
++  "lib/asn1/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/asn1/Makefile" ;;
++  "lib/com_err/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/com_err/Makefile" ;;
++  "lib/des/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/des/Makefile" ;;
++  "lib/editline/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/editline/Makefile" ;;
++  "lib/gssapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/gssapi/Makefile" ;;
++  "lib/hdb/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/hdb/Makefile" ;;
++  "lib/kadm5/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/kadm5/Makefile" ;;
++  "lib/kafs/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/kafs/Makefile" ;;
++  "lib/kdfs/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/kdfs/Makefile" ;;
++  "lib/krb5/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/krb5/Makefile" ;;
++  "lib/otp/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/otp/Makefile" ;;
++  "lib/roken/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/roken/Makefile" ;;
++  "lib/sl/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/sl/Makefile" ;;
++  "lib/vers/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/vers/Makefile" ;;
++  "kuser/Makefile" ) CONFIG_FILES="$CONFIG_FILES kuser/Makefile" ;;
++  "kpasswd/Makefile" ) CONFIG_FILES="$CONFIG_FILES kpasswd/Makefile" ;;
++  "kadmin/Makefile" ) CONFIG_FILES="$CONFIG_FILES kadmin/Makefile" ;;
++  "admin/Makefile" ) CONFIG_FILES="$CONFIG_FILES admin/Makefile" ;;
++  "kdc/Makefile" ) CONFIG_FILES="$CONFIG_FILES kdc/Makefile" ;;
++  "appl/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/Makefile" ;;
++  "appl/afsutil/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/afsutil/Makefile" ;;
++  "appl/ftp/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/ftp/Makefile" ;;
++  "appl/ftp/common/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/ftp/common/Makefile" ;;
++  "appl/ftp/ftp/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/ftp/ftp/Makefile" ;;
++  "appl/ftp/ftpd/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/ftp/ftpd/Makefile" ;;
++  "appl/kx/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/kx/Makefile" ;;
++  "appl/login/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/login/Makefile" ;;
++  "appl/otp/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/otp/Makefile" ;;
++  "appl/popper/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/popper/Makefile" ;;
++  "appl/push/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/push/Makefile" ;;
++  "appl/rsh/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/rsh/Makefile" ;;
++  "appl/rcp/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/rcp/Makefile" ;;
++  "appl/su/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/su/Makefile" ;;
++  "appl/xnlock/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/xnlock/Makefile" ;;
++  "appl/telnet/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/telnet/Makefile" ;;
++  "appl/telnet/libtelnet/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/telnet/libtelnet/Makefile" ;;
++  "appl/telnet/telnet/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/telnet/telnet/Makefile" ;;
++  "appl/telnet/telnetd/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/telnet/telnetd/Makefile" ;;
++  "appl/test/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/test/Makefile" ;;
++  "appl/kf/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/kf/Makefile" ;;
++  "appl/dceutils/Makefile" ) CONFIG_FILES="$CONFIG_FILES appl/dceutils/Makefile" ;;
++  "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
++  "tools/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
++  "include/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
++  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
++echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
++   { (exit 1); exit 1; }; };;
++  esac
++done
++
++# If the user did not use the arguments to specify the items to instantiate,
++# then the envvar interface is used.  Set only those that are not.
++# We use the long form for the default assignment because of an extremely
++# bizarre bug on SunOS 4.1.3.
++if $ac_need_defaults; then
++  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
++  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
++fi
++
++# Have a temporary directory for convenience.  Make it in the build tree
++# simply because there is no reason to put it here, and in addition,
++# creating and moving files from /tmp can sometimes cause problems.
++# Create a temporary directory, and hook for its removal unless debugging.
++$debug ||
++{
++  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
++  trap '{ (exit 1); exit 1; }' 1 2 13 15
++}
++
++# Create a (secure) tmp directory for tmp files.
++
++{
++  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
++  test -n "$tmp" && test -d "$tmp"
++}  ||
++{
++  tmp=./confstat$$-$RANDOM
++  (umask 077 && mkdir $tmp)
++} ||
++{
++   echo "$me: cannot create a temporary directory in ." >&2
++   { (exit 1); exit 1; }
++}
++
++_ACEOF
++
++cat >>$CONFIG_STATUS <<_ACEOF
++
++#
++# CONFIG_FILES section.
++#
++
++# No need to generate the scripts if there are no CONFIG_FILES.
++# This happens for instance when ./config.status config.h
++if test -n "\$CONFIG_FILES"; then
++  # Protect against being on the right side of a sed subst in config.status.
++  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
++   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
++s,@SHELL@,$SHELL,;t t
++s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
++s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
++s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
++s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
++s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
++s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
++s,@exec_prefix@,$exec_prefix,;t t
++s,@prefix@,$prefix,;t t
++s,@program_transform_name@,$program_transform_name,;t t
++s,@bindir@,$bindir,;t t
++s,@sbindir@,$sbindir,;t t
++s,@libexecdir@,$libexecdir,;t t
++s,@datadir@,$datadir,;t t
++s,@sysconfdir@,$sysconfdir,;t t
++s,@sharedstatedir@,$sharedstatedir,;t t
++s,@localstatedir@,$localstatedir,;t t
++s,@libdir@,$libdir,;t t
++s,@includedir@,$includedir,;t t
++s,@oldincludedir@,$oldincludedir,;t t
++s,@infodir@,$infodir,;t t
++s,@mandir@,$mandir,;t t
++s,@build_alias@,$build_alias,;t t
++s,@host_alias@,$host_alias,;t t
++s,@target_alias@,$target_alias,;t t
++s,@DEFS@,$DEFS,;t t
++s,@ECHO_C@,$ECHO_C,;t t
++s,@ECHO_N@,$ECHO_N,;t t
++s,@ECHO_T@,$ECHO_T,;t t
++s,@LIBS@,$LIBS,;t t
++s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
++s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
++s,@MAINT@,$MAINT,;t t
++s,@CC@,$CC,;t t
++s,@CFLAGS@,$CFLAGS,;t t
++s,@LDFLAGS@,$LDFLAGS,;t t
++s,@CPPFLAGS@,$CPPFLAGS,;t t
++s,@ac_ct_CC@,$ac_ct_CC,;t t
++s,@EXEEXT@,$EXEEXT,;t t
++s,@OBJEXT@,$OBJEXT,;t t
++s,@CPP@,$CPP,;t t
++s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
++s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
++s,@INSTALL_DATA@,$INSTALL_DATA,;t t
++s,@CYGPATH_W@,$CYGPATH_W,;t t
++s,@PACKAGE@,$PACKAGE,;t t
++s,@VERSION@,$VERSION,;t t
++s,@ACLOCAL@,$ACLOCAL,;t t
++s,@AUTOCONF@,$AUTOCONF,;t t
++s,@AUTOMAKE@,$AUTOMAKE,;t t
++s,@AUTOHEADER@,$AUTOHEADER,;t t
++s,@MAKEINFO@,$MAKEINFO,;t t
++s,@AMTAR@,$AMTAR,;t t
++s,@install_sh@,$install_sh,;t t
++s,@STRIP@,$STRIP,;t t
++s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
++s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
++s,@AWK@,$AWK,;t t
++s,@SET_MAKE@,$SET_MAKE,;t t
++s,@am__leading_dot@,$am__leading_dot,;t t
++s,@build@,$build,;t t
++s,@build_cpu@,$build_cpu,;t t
++s,@build_vendor@,$build_vendor,;t t
++s,@build_os@,$build_os,;t t
++s,@host@,$host,;t t
++s,@host_cpu@,$host_cpu,;t t
++s,@host_vendor@,$host_vendor,;t t
++s,@host_os@,$host_os,;t t
++s,@CANONICAL_HOST@,$CANONICAL_HOST,;t t
++s,@YACC@,$YACC,;t t
++s,@LEX@,$LEX,;t t
++s,@LEXLIB@,$LEXLIB,;t t
++s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
++s,@LN_S@,$LN_S,;t t
++s,@EGREP@,$EGREP,;t t
++s,@ECHO@,$ECHO,;t t
++s,@AR@,$AR,;t t
++s,@ac_ct_AR@,$ac_ct_AR,;t t
++s,@RANLIB@,$RANLIB,;t t
++s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
++s,@CXX@,$CXX,;t t
++s,@CXXFLAGS@,$CXXFLAGS,;t t
++s,@ac_ct_CXX@,$ac_ct_CXX,;t t
++s,@CXXCPP@,$CXXCPP,;t t
++s,@F77@,$F77,;t t
++s,@FFLAGS@,$FFLAGS,;t t
++s,@ac_ct_F77@,$ac_ct_F77,;t t
++s,@LIBTOOL@,$LIBTOOL,;t t
++s,@WFLAGS@,$WFLAGS,;t t
++s,@WFLAGS_NOUNUSED@,$WFLAGS_NOUNUSED,;t t
++s,@WFLAGS_NOIMPLICITINT@,$WFLAGS_NOIMPLICITINT,;t t
++s,@DIR_openldap@,$DIR_openldap,;t t
++s,@INCLUDE_openldap@,$INCLUDE_openldap,;t t
++s,@LIB_openldap@,$LIB_openldap,;t t
++s,@DIR_krb4@,$DIR_krb4,;t t
++s,@INCLUDE_krb4@,$INCLUDE_krb4,;t t
++s,@LIB_krb4@,$LIB_krb4,;t t
++s,@EXTRA_LIB45@,$EXTRA_LIB45,;t t
++s,@LIB_krb_enable_debug@,$LIB_krb_enable_debug,;t t
++s,@LIB_krb_disable_debug@,$LIB_krb_disable_debug,;t t
++s,@LIB_krb_get_our_ip_for_realm@,$LIB_krb_get_our_ip_for_realm,;t t
++s,@LIB_krb_kdctimeofday@,$LIB_krb_kdctimeofday,;t t
++s,@LIB_krb_get_kdc_time_diff@,$LIB_krb_get_kdc_time_diff,;t t
++s,@KRB4_TRUE@,$KRB4_TRUE,;t t
++s,@KRB4_FALSE@,$KRB4_FALSE,;t t
++s,@KRB5_TRUE@,$KRB5_TRUE,;t t
++s,@KRB5_FALSE@,$KRB5_FALSE,;t t
++s,@do_roken_rename_TRUE@,$do_roken_rename_TRUE,;t t
++s,@do_roken_rename_FALSE@,$do_roken_rename_FALSE,;t t
++s,@LIB_kdb@,$LIB_kdb,;t t
++s,@HAVE_OPENSSL_TRUE@,$HAVE_OPENSSL_TRUE,;t t
++s,@HAVE_OPENSSL_FALSE@,$HAVE_OPENSSL_FALSE,;t t
++s,@DIR_des@,$DIR_des,;t t
++s,@INCLUDE_des@,$INCLUDE_des,;t t
++s,@LIB_des@,$LIB_des,;t t
++s,@LIB_des_a@,$LIB_des_a,;t t
++s,@LIB_des_so@,$LIB_des_so,;t t
++s,@LIB_des_appl@,$LIB_des_appl,;t t
++s,@DCE_TRUE@,$DCE_TRUE,;t t
++s,@DCE_FALSE@,$DCE_FALSE,;t t
++s,@dpagaix_cflags@,$dpagaix_cflags,;t t
++s,@dpagaix_ldadd@,$dpagaix_ldadd,;t t
++s,@dpagaix_ldflags@,$dpagaix_ldflags,;t t
++s,@LIB_db_create@,$LIB_db_create,;t t
++s,@LIB_dbopen@,$LIB_dbopen,;t t
++s,@LIB_dbm_firstkey@,$LIB_dbm_firstkey,;t t
++s,@HAVE_DB1_TRUE@,$HAVE_DB1_TRUE,;t t
++s,@HAVE_DB1_FALSE@,$HAVE_DB1_FALSE,;t t
++s,@HAVE_DB3_TRUE@,$HAVE_DB3_TRUE,;t t
++s,@HAVE_DB3_FALSE@,$HAVE_DB3_FALSE,;t t
++s,@HAVE_NDBM_TRUE@,$HAVE_NDBM_TRUE,;t t
++s,@HAVE_NDBM_FALSE@,$HAVE_NDBM_FALSE,;t t
++s,@DBLIB@,$DBLIB,;t t
++s,@LIB_NDBM@,$LIB_NDBM,;t t
++s,@LIB_crypt@,$LIB_crypt,;t t
++s,@LIB_roken@,$LIB_roken,;t t
++s,@DIR_roken@,$DIR_roken,;t t
++s,@CPPFLAGS_roken@,$CPPFLAGS_roken,;t t
++s,@VOID_RETSIGTYPE@,$VOID_RETSIGTYPE,;t t
++s,@have_err_h_TRUE@,$have_err_h_TRUE,;t t
++s,@have_err_h_FALSE@,$have_err_h_FALSE,;t t
++s,@have_fnmatch_h_TRUE@,$have_fnmatch_h_TRUE,;t t
++s,@have_fnmatch_h_FALSE@,$have_fnmatch_h_FALSE,;t t
++s,@have_ifaddrs_h_TRUE@,$have_ifaddrs_h_TRUE,;t t
++s,@have_ifaddrs_h_FALSE@,$have_ifaddrs_h_FALSE,;t t
++s,@have_vis_h_TRUE@,$have_vis_h_TRUE,;t t
++s,@have_vis_h_FALSE@,$have_vis_h_FALSE,;t t
++s,@LIB_socket@,$LIB_socket,;t t
++s,@LIB_gethostbyname@,$LIB_gethostbyname,;t t
++s,@LIB_syslog@,$LIB_syslog,;t t
++s,@LIB_gethostbyname2@,$LIB_gethostbyname2,;t t
++s,@LIB_res_search@,$LIB_res_search,;t t
++s,@LIB_res_nsearch@,$LIB_res_nsearch,;t t
++s,@LIB_dn_expand@,$LIB_dn_expand,;t t
++s,@LIB@&t@OBJS@,$LIB@&t@OBJS,;t t
++s,@have_glob_h_TRUE@,$have_glob_h_TRUE,;t t
++s,@have_glob_h_FALSE@,$have_glob_h_FALSE,;t t
++s,@LIB_getsockopt@,$LIB_getsockopt,;t t
++s,@LIB_setsockopt@,$LIB_setsockopt,;t t
++s,@LIB_hstrerror@,$LIB_hstrerror,;t t
++s,@LIB_bswap16@,$LIB_bswap16,;t t
++s,@LIB_bswap32@,$LIB_bswap32,;t t
++s,@LIB_pidfile@,$LIB_pidfile,;t t
++s,@LIB_getaddrinfo@,$LIB_getaddrinfo,;t t
++s,@LIB_getnameinfo@,$LIB_getnameinfo,;t t
++s,@LIB_freeaddrinfo@,$LIB_freeaddrinfo,;t t
++s,@LIB_gai_strerror@,$LIB_gai_strerror,;t t
++s,@OTP_TRUE@,$OTP_TRUE,;t t
++s,@OTP_FALSE@,$OTP_FALSE,;t t
++s,@LIB_security@,$LIB_security,;t t
++s,@NROFF@,$NROFF,;t t
++s,@GROFF@,$GROFF,;t t
++s,@CATMAN@,$CATMAN,;t t
++s,@CATMAN_TRUE@,$CATMAN_TRUE,;t t
++s,@CATMAN_FALSE@,$CATMAN_FALSE,;t t
++s,@CATMANEXT@,$CATMANEXT,;t t
++s,@DIR_readline@,$DIR_readline,;t t
++s,@INCLUDE_readline@,$INCLUDE_readline,;t t
++s,@LIB_readline@,$LIB_readline,;t t
++s,@DIR_hesiod@,$DIR_hesiod,;t t
++s,@INCLUDE_hesiod@,$INCLUDE_hesiod,;t t
++s,@LIB_hesiod@,$LIB_hesiod,;t t
++s,@DIR_sl@,$DIR_sl,;t t
++s,@INCLUDE_sl@,$INCLUDE_sl,;t t
++s,@LIB_sl@,$LIB_sl,;t t
++s,@DIR_ss@,$DIR_ss,;t t
++s,@INCLUDE_ss@,$INCLUDE_ss,;t t
++s,@LIB_ss@,$LIB_ss,;t t
++s,@DIR_otp@,$DIR_otp,;t t
++s,@INCLUDE_otp@,$INCLUDE_otp,;t t
++s,@LIB_otp@,$LIB_otp,;t t
++s,@AIX_TRUE@,$AIX_TRUE,;t t
++s,@AIX_FALSE@,$AIX_FALSE,;t t
++s,@AIX4_TRUE@,$AIX4_TRUE,;t t
++s,@AIX4_FALSE@,$AIX4_FALSE,;t t
++s,@LIB_dlopen@,$LIB_dlopen,;t t
++s,@HAVE_DLOPEN_TRUE@,$HAVE_DLOPEN_TRUE,;t t
++s,@HAVE_DLOPEN_FALSE@,$HAVE_DLOPEN_FALSE,;t t
++s,@LIB_loadquery@,$LIB_loadquery,;t t
++s,@AIX_DYNAMIC_AFS_TRUE@,$AIX_DYNAMIC_AFS_TRUE,;t t
++s,@AIX_DYNAMIC_AFS_FALSE@,$AIX_DYNAMIC_AFS_FALSE,;t t
++s,@AIX_EXTRA_KAFS@,$AIX_EXTRA_KAFS,;t t
++s,@IRIX_TRUE@,$IRIX_TRUE,;t t
++s,@IRIX_FALSE@,$IRIX_FALSE,;t t
++s,@X_CFLAGS@,$X_CFLAGS,;t t
++s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
++s,@X_LIBS@,$X_LIBS,;t t
++s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
++s,@HAVE_X_TRUE@,$HAVE_X_TRUE,;t t
++s,@HAVE_X_FALSE@,$HAVE_X_FALSE,;t t
++s,@LIB_XauWriteAuth@,$LIB_XauWriteAuth,;t t
++s,@LIB_XauReadAuth@,$LIB_XauReadAuth,;t t
++s,@LIB_XauFileName@,$LIB_XauFileName,;t t
++s,@NEED_WRITEAUTH_TRUE@,$NEED_WRITEAUTH_TRUE,;t t
++s,@NEED_WRITEAUTH_FALSE@,$NEED_WRITEAUTH_FALSE,;t t
++s,@LIB_logwtmp@,$LIB_logwtmp,;t t
++s,@LIB_logout@,$LIB_logout,;t t
++s,@LIB_openpty@,$LIB_openpty,;t t
++s,@LIB_tgetent@,$LIB_tgetent,;t t
++s,@LIB_getpwnam_r@,$LIB_getpwnam_r,;t t
++s,@LIB_el_init@,$LIB_el_init,;t t
++s,@el_compat_TRUE@,$el_compat_TRUE,;t t
++s,@el_compat_FALSE@,$el_compat_FALSE,;t t
++s,@COMPILE_ET@,$COMPILE_ET,;t t
++s,@DIR_com_err@,$DIR_com_err,;t t
++s,@LIB_com_err@,$LIB_com_err,;t t
++s,@LIB_com_err_a@,$LIB_com_err_a,;t t
++s,@LIB_com_err_so@,$LIB_com_err_so,;t t
++s,@LIB_AUTH_SUBDIRS@,$LIB_AUTH_SUBDIRS,;t t
++s,@LTLIBOBJS@,$LTLIBOBJS,;t t
++CEOF
++
++_ACEOF
++
++  cat >>$CONFIG_STATUS <<\_ACEOF
++  # 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_lines=48
++  ac_sed_frag=1 # Number of current file.
++  ac_beg=1 # First line for current file.
++  ac_end=$ac_max_sed_lines # 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" $tmp/subs.sed >$tmp/subs.frag
++    else
++      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
++    fi
++    if test ! -s $tmp/subs.frag; then
++      ac_more_lines=false
++    else
++      # The purpose of the label and of the branching condition is to
++      # speed up the sed processing (if there are no `@' at all, there
++      # is no need to browse any of the substitutions).
++      # These are the two extra sed commands mentioned above.
++      (echo ':t
++  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
++      if test -z "$ac_sed_cmds"; then
++	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
++      else
++	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
++      fi
++      ac_sed_frag=`expr $ac_sed_frag + 1`
++      ac_beg=$ac_end
++      ac_end=`expr $ac_end + $ac_max_sed_lines`
++    fi
++  done
++  if test -z "$ac_sed_cmds"; then
++    ac_sed_cmds=cat
++  fi
++fi # test -n "$CONFIG_FILES"
++
++_ACEOF
++cat >>$CONFIG_STATUS <<\_ACEOF
++for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
++  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
++  case $ac_file in
++  - | *:- | *:-:* ) # input from stdin
++	cat >$tmp/stdin
++	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
++	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
++  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
++	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
++  * )   ac_file_in=$ac_file.in ;;
++  esac
++
++  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
++  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
++$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++	 X"$ac_file" : 'X\(//\)[^/]' \| \
++	 X"$ac_file" : 'X\(//\)$' \| \
++	 X"$ac_file" : 'X\(/\)' \| \
++	 .     : '\(.\)' 2>/dev/null ||
++echo X"$ac_file" |
++    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
++  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
++  	  /^X\(\/\/\)$/{ s//\1/; q; }
++  	  /^X\(\/\).*/{ s//\1/; q; }
++  	  s/.*/./; q'`
++  { if $as_mkdir_p; then
++    mkdir -p "$ac_dir"
++  else
++    as_dir="$ac_dir"
++    as_dirs=
++    while test ! -d "$as_dir"; do
++      as_dirs="$as_dir $as_dirs"
++      as_dir=`(dirname "$as_dir") 2>/dev/null ||
++$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++	 X"$as_dir" : 'X\(//\)[^/]' \| \
++	 X"$as_dir" : 'X\(//\)$' \| \
++	 X"$as_dir" : 'X\(/\)' \| \
++	 .     : '\(.\)' 2>/dev/null ||
++echo X"$as_dir" |
++    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
++  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
++  	  /^X\(\/\/\)$/{ s//\1/; q; }
++  	  /^X\(\/\).*/{ s//\1/; q; }
++  	  s/.*/./; q'`
++    done
++    test ! -n "$as_dirs" || mkdir $as_dirs
++  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
++echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
++   { (exit 1); exit 1; }; }; }
++
++  ac_builddir=.
++
++if test "$ac_dir" != .; then
++  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
++  # A "../" for each directory in $ac_dir_suffix.
++  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
++else
++  ac_dir_suffix= ac_top_builddir=
++fi
++
++case $srcdir in
++  .)  # No --srcdir option.  We are building in place.
++    ac_srcdir=.
++    if test -z "$ac_top_builddir"; then
++       ac_top_srcdir=.
++    else
++       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
++    fi ;;
++  [\\/]* | ?:[\\/]* )  # Absolute path.
++    ac_srcdir=$srcdir$ac_dir_suffix;
++    ac_top_srcdir=$srcdir ;;
++  *) # Relative path.
++    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
++    ac_top_srcdir=$ac_top_builddir$srcdir ;;
++esac
++
++# Do not use `cd foo && pwd` to compute absolute paths, because
++# the directories may not exist.
++case `pwd` in
++.) ac_abs_builddir="$ac_dir";;
++*)
++  case "$ac_dir" in
++  .) ac_abs_builddir=`pwd`;;
++  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
++  *) ac_abs_builddir=`pwd`/"$ac_dir";;
++  esac;;
++esac
++case $ac_abs_builddir in
++.) ac_abs_top_builddir=${ac_top_builddir}.;;
++*)
++  case ${ac_top_builddir}. in
++  .) ac_abs_top_builddir=$ac_abs_builddir;;
++  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
++  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
++  esac;;
++esac
++case $ac_abs_builddir in
++.) ac_abs_srcdir=$ac_srcdir;;
++*)
++  case $ac_srcdir in
++  .) ac_abs_srcdir=$ac_abs_builddir;;
++  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
++  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
++  esac;;
++esac
++case $ac_abs_builddir in
++.) ac_abs_top_srcdir=$ac_top_srcdir;;
++*)
++  case $ac_top_srcdir in
++  .) ac_abs_top_srcdir=$ac_abs_builddir;;
++  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
++  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
++  esac;;
++esac
++
++
++  case $INSTALL in
++  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
++  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
++  esac
++
++  # Let's still pretend it is `configure' which instantiates (i.e., don't
++  # use $as_me), people would be surprised to read:
++  #    /* config.h.  Generated by config.status.  */
++  if test x"$ac_file" = x-; then
++    configure_input=
++  else
++    configure_input="$ac_file.  "
++  fi
++  configure_input=$configure_input"Generated from `echo $ac_file_in |
++				     sed 's,.*/,,'` by configure."
++
++  # First look for the input files in the build tree, otherwise in the
++  # src tree.
++  ac_file_inputs=`IFS=:
++    for f in $ac_file_in; do
++      case $f in
++      -) echo $tmp/stdin ;;
++      [\\/$]*)
++	 # Absolute (can't be DOS-style, as IFS=:)
++	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
++echo "$as_me: error: cannot find input file: $f" >&2;}
++   { (exit 1); exit 1; }; }
++	 echo "$f";;
++      *) # Relative
++	 if test -f "$f"; then
++	   # Build tree
++	   echo "$f"
++	 elif test -f "$srcdir/$f"; then
++	   # Source tree
++	   echo "$srcdir/$f"
++	 else
++	   # /dev/null tree
++	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
++echo "$as_me: error: cannot find input file: $f" >&2;}
++   { (exit 1); exit 1; }; }
++	 fi;;
++      esac
++    done` || { (exit 1); exit 1; }
++
++  if test x"$ac_file" != x-; then
++    { echo "$as_me:$LINENO: creating $ac_file" >&5
++echo "$as_me: creating $ac_file" >&6;}
++    rm -f "$ac_file"
++  fi
++_ACEOF
++cat >>$CONFIG_STATUS <<_ACEOF
++  sed "$ac_vpsub
++$extrasub
++_ACEOF
++cat >>$CONFIG_STATUS <<\_ACEOF
++:t
++/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
++s,@configure_input@,$configure_input,;t t
++s,@srcdir@,$ac_srcdir,;t t
++s,@abs_srcdir@,$ac_abs_srcdir,;t t
++s,@top_srcdir@,$ac_top_srcdir,;t t
++s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
++s,@builddir@,$ac_builddir,;t t
++s,@abs_builddir@,$ac_abs_builddir,;t t
++s,@top_builddir@,$ac_top_builddir,;t t
++s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
++s,@INSTALL@,$ac_INSTALL,;t t
++" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
++  rm -f $tmp/stdin
++  if test x"$ac_file" != x-; then
++    mv $tmp/out $ac_file
++  else
++    cat $tmp/out
++    rm -f $tmp/out
++  fi
++
++done
++_ACEOF
++cat >>$CONFIG_STATUS <<\_ACEOF
++
++#
++# CONFIG_HEADER section.
++#
++
++# 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=' '
++ac_dD=',;t'
++# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
++ac_uA='s,^\([	 ]*\)#\([	 ]*\)undef\([	 ][	 ]*\)'
++ac_uB='$,\1#\2define\3'
++ac_uC=' '
++ac_uD=',;t'
++
++for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
++  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
++  case $ac_file in
++  - | *:- | *:-:* ) # input from stdin
++	cat >$tmp/stdin
++	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
++	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
++  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
++	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
++  * )   ac_file_in=$ac_file.in ;;
++  esac
++
++  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
++echo "$as_me: creating $ac_file" >&6;}
++
++  # First look for the input files in the build tree, otherwise in the
++  # src tree.
++  ac_file_inputs=`IFS=:
++    for f in $ac_file_in; do
++      case $f in
++      -) echo $tmp/stdin ;;
++      [\\/$]*)
++	 # Absolute (can't be DOS-style, as IFS=:)
++	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
++echo "$as_me: error: cannot find input file: $f" >&2;}
++   { (exit 1); exit 1; }; }
++	 # Do quote $f, to prevent DOS paths from being IFS'd.
++	 echo "$f";;
++      *) # Relative
++	 if test -f "$f"; then
++	   # Build tree
++	   echo "$f"
++	 elif test -f "$srcdir/$f"; then
++	   # Source tree
++	   echo "$srcdir/$f"
++	 else
++	   # /dev/null tree
++	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
++echo "$as_me: error: cannot find input file: $f" >&2;}
++   { (exit 1); exit 1; }; }
++	 fi;;
++      esac
++    done` || { (exit 1); exit 1; }
++  # Remove the trailing spaces.
++  sed 's/[	 ]*$//' $ac_file_inputs >$tmp/in
++
++_ACEOF
++
++# Transform confdefs.h into two sed scripts, `conftest.defines' and
++# `conftest.undefs', that substitutes the proper values into
++# config.h.in to produce config.h.  The first handles `#define'
++# templates, and the second `#undef' templates.
++# 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.defines conftest.undefs
++# Using a here document instead of a string reduces the quoting nightmare.
++# Putting comments in sed scripts is not portable.
++#
++# `end' is used to avoid that the second main sed command (meant for
++# 0-ary CPP macros) applies to n-ary macro definitions.
++# See the Autoconf documentation for `clear'.
++cat >confdef2sed.sed <<\_ACEOF
++s/[\\&,]/\\&/g
++s,[\\$`],\\&,g
++t clear
++: clear
++s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*\)\(([^)]*)\)[	 ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
++t end
++s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
++: end
++_ACEOF
++# If some macros were called several times there might be several times
++# the same #defines, which is useless.  Nevertheless, we may not want to
++# sort them, since we want the *last* AC-DEFINE to be honored.
++uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
++sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
++rm -f confdef2sed.sed
++
++# 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.undefs <<\_ACEOF
++s,^[	 ]*#[	 ]*undef[	 ][	 ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
++_ACEOF
++
++# Break up conftest.defines because some shells have a limit on the size
++# of here documents, and old seds have small limits too (100 cmds).
++echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
++echo '  if grep "^[	 ]*#[	 ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
++echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
++echo '  :' >>$CONFIG_STATUS
++rm -f conftest.tail
++while grep . conftest.defines >/dev/null
++do
++  # Write a limited-size here document to $tmp/defines.sed.
++  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
++  # Speed up: don't consider the non `#define' lines.
++  echo '/^[	 ]*#[	 ]*define/!b' >>$CONFIG_STATUS
++  # Work around the forget-to-reset-the-flag bug.
++  echo 't clr' >>$CONFIG_STATUS
++  echo ': clr' >>$CONFIG_STATUS
++  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
++  echo 'CEOF
++  sed -f $tmp/defines.sed $tmp/in >$tmp/out
++  rm -f $tmp/in
++  mv $tmp/out $tmp/in
++' >>$CONFIG_STATUS
++  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
++  rm -f conftest.defines
++  mv conftest.tail conftest.defines
++done
++rm -f conftest.defines
++echo '  fi # grep' >>$CONFIG_STATUS
++echo >>$CONFIG_STATUS
++
++# Break up conftest.undefs because some shells have a limit on the size
++# of here documents, and old seds have small limits too (100 cmds).
++echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
++rm -f conftest.tail
++while grep . conftest.undefs >/dev/null
++do
++  # Write a limited-size here document to $tmp/undefs.sed.
++  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
++  # Speed up: don't consider the non `#undef'
++  echo '/^[	 ]*#[	 ]*undef/!b' >>$CONFIG_STATUS
++  # Work around the forget-to-reset-the-flag bug.
++  echo 't clr' >>$CONFIG_STATUS
++  echo ': clr' >>$CONFIG_STATUS
++  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
++  echo 'CEOF
++  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
++  rm -f $tmp/in
++  mv $tmp/out $tmp/in
++' >>$CONFIG_STATUS
++  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
++  rm -f conftest.undefs
++  mv conftest.tail conftest.undefs
++done
++rm -f conftest.undefs
++
++cat >>$CONFIG_STATUS <<\_ACEOF
++  # Let's still pretend it is `configure' which instantiates (i.e., don't
++  # use $as_me), people would be surprised to read:
++  #    /* config.h.  Generated by config.status.  */
++  if test x"$ac_file" = x-; then
++    echo "/* Generated by configure.  */" >$tmp/config.h
++  else
++    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
++  fi
++  cat $tmp/in >>$tmp/config.h
++  rm -f $tmp/in
++  if test x"$ac_file" != x-; then
++    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
++      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
++echo "$as_me: $ac_file is unchanged" >&6;}
++    else
++      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
++$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++	 X"$ac_file" : 'X\(//\)[^/]' \| \
++	 X"$ac_file" : 'X\(//\)$' \| \
++	 X"$ac_file" : 'X\(/\)' \| \
++	 .     : '\(.\)' 2>/dev/null ||
++echo X"$ac_file" |
++    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
++  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
++  	  /^X\(\/\/\)$/{ s//\1/; q; }
++  	  /^X\(\/\).*/{ s//\1/; q; }
++  	  s/.*/./; q'`
++      { if $as_mkdir_p; then
++    mkdir -p "$ac_dir"
++  else
++    as_dir="$ac_dir"
++    as_dirs=
++    while test ! -d "$as_dir"; do
++      as_dirs="$as_dir $as_dirs"
++      as_dir=`(dirname "$as_dir") 2>/dev/null ||
++$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++	 X"$as_dir" : 'X\(//\)[^/]' \| \
++	 X"$as_dir" : 'X\(//\)$' \| \
++	 X"$as_dir" : 'X\(/\)' \| \
++	 .     : '\(.\)' 2>/dev/null ||
++echo X"$as_dir" |
++    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
++  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
++  	  /^X\(\/\/\)$/{ s//\1/; q; }
++  	  /^X\(\/\).*/{ s//\1/; q; }
++  	  s/.*/./; q'`
++    done
++    test ! -n "$as_dirs" || mkdir $as_dirs
++  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
++echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
++   { (exit 1); exit 1; }; }; }
++
++      rm -f $ac_file
++      mv $tmp/config.h $ac_file
++    fi
++  else
++    cat $tmp/config.h
++    rm -f $tmp/config.h
++  fi
++# Compute $ac_file's index in $config_headers.
++_am_stamp_count=1
++for _am_header in $config_headers :; do
++  case $_am_header in
++    $ac_file | $ac_file:* )
++      break ;;
++    * )
++      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
++  esac
++done
++echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
++$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++	 X$ac_file : 'X\(//\)[^/]' \| \
++	 X$ac_file : 'X\(//\)$' \| \
++	 X$ac_file : 'X\(/\)' \| \
++	 .     : '\(.\)' 2>/dev/null ||
++echo X$ac_file |
++    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
++  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
++  	  /^X\(\/\/\)$/{ s//\1/; q; }
++  	  /^X\(\/\).*/{ s//\1/; q; }
++  	  s/.*/./; q'`/stamp-h$_am_stamp_count
++done
++_ACEOF
++
++cat >>$CONFIG_STATUS <<\_ACEOF
++
++{ (exit 0); exit 0; }
++_ACEOF
++chmod +x $CONFIG_STATUS
++ac_clean_files=$ac_clean_files_save
++
++
++# configure is writing to config.log, and then calls config.status.
++# config.status does its own redirection, appending to config.log.
++# Unfortunately, on DOS this fails, as config.log is still kept open
++# by configure, so config.status won't be able to write to it; its
++# output is simply discarded.  So we exec the FD to /dev/null,
++# effectively closing config.log, so it can be properly (re)opened and
++# appended to by config.status.  When coming back to configure, we
++# need to make the FD available again.
++if test "$no_create" != yes; then
++  ac_cs_success=:
++  ac_config_status_args=
++  test "$silent" = yes &&
++    ac_config_status_args="$ac_config_status_args --quiet"
++  exec 5>/dev/null
++  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
++  exec 5>>config.log
++  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
++  # would make configure fail if this is the last instruction.
++  $ac_cs_success || { (exit 1); exit 1; }
++fi
++
++
++
++cat > include/newversion.h.in <<EOF
++const char *heimdal_long_version = "@(#)\$Version: $PACKAGE_STRING by @USER@ on @HOST@ ($host) @DATE@ \$";
++const char *heimdal_version = "Heimdal 0.6.1";
++EOF
++
++if test -f include/version.h && cmp -s include/newversion.h.in include/version.h.in; then
++	echo "include/version.h is unchanged"
++	rm -f include/newversion.h.in
++else
++ 	echo "creating include/version.h"
++ 	User=${USER-${LOGNAME}}
++ 	Host=`(hostname || uname -n || echo unknown) 2>/dev/null | sed 1q`
++ 	Date=`date`
++	mv -f include/newversion.h.in include/version.h.in
++	sed -e "s/@USER@/$User/" -e "s/@HOST@/$Host/" -e "s/@DATE@/$Date/" include/version.h.in > include/version.h
++fi
+diff -ruN heimdal-0.6.1-old/autom4te.cache/requests heimdal-0.6.1/autom4te.cache/requests
+--- heimdal-0.6.1-old/autom4te.cache/requests	1970-01-01 10:00:00.000000000 +1000
++++ heimdal-0.6.1/autom4te.cache/requests	2004-04-04 10:40:12.000000000 +1000
+@@ -0,0 +1,117 @@
++# This file was generated by Autom4te Mon Jan 19 17:15:15 PST 2004.
++# It contains the lists of macros which have been traced.
++# It can be safely removed.
++
++@request = (
++             bless( [
++                      '0',
++                      1,
++                      [
++                        '/usr/share/autoconf'
++                      ],
++                      [
++                        '/usr/share/autoconf/autoconf/autoconf.m4f',
++                        'aclocal.m4',
++                        'configure.in'
++                      ],
++                      {
++                        'm4_pattern_forbid' => 1,
++                        'AC_CONFIG_LIBOBJ_DIR' => 1,
++                        'AC_TYPE_OFF_T' => 1,
++                        'AC_C_VOLATILE' => 1,
++                        'AC_FUNC_CLOSEDIR_VOID' => 1,
++                        'AC_REPLACE_FNMATCH' => 1,
++                        'AC_PROG_LIBTOOL' => 1,
++                        'AC_FUNC_STAT' => 1,
++                        'AC_HEADER_TIME' => 1,
++                        'AC_FUNC_WAIT3' => 1,
++                        'AM_AUTOMAKE_VERSION' => 1,
++                        'AC_STRUCT_TM' => 1,
++                        'AC_FUNC_LSTAT' => 1,
++                        'AC_TYPE_MODE_T' => 1,
++                        'AC_FUNC_GETMNTENT' => 1,
++                        'AC_FUNC_STRTOD' => 1,
++                        'AC_CHECK_HEADERS' => 1,
++                        'AC_FUNC_STRNLEN' => 1,
++                        'm4_sinclude' => 1,
++                        'AC_PROG_CXX' => 1,
++                        'AC_PATH_X' => 1,
++                        'AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK' => 1,
++                        'AC_PROG_AWK' => 1,
++                        '_m4_warn' => 1,
++                        'AC_HEADER_STDC' => 1,
++                        'AC_HEADER_MAJOR' => 1,
++                        'AC_FUNC_ERROR_AT_LINE' => 1,
++                        'AC_PROG_GCC_TRADITIONAL' => 1,
++                        'AC_LIBSOURCE' => 1,
++                        'AC_FUNC_MBRTOWC' => 1,
++                        'AC_STRUCT_ST_BLOCKS' => 1,
++                        'AC_TYPE_SIGNAL' => 1,
++                        'AC_TYPE_UID_T' => 1,
++                        'AC_PROG_MAKE_SET' => 1,
++                        'AC_CONFIG_AUX_DIR' => 1,
++                        'sinclude' => 1,
++                        'm4_pattern_allow' => 1,
++                        'AC_DEFINE_TRACE_LITERAL' => 1,
++                        'AC_FUNC_STRERROR_R' => 1,
++                        'AC_PROG_CC' => 1,
++                        'AC_DECL_SYS_SIGLIST' => 1,
++                        'AC_FUNC_FORK' => 1,
++                        'AC_FUNC_VPRINTF' => 1,
++                        'AC_FUNC_STRCOLL' => 1,
++                        'AC_PROG_YACC' => 1,
++                        'AC_STRUCT_TIMEZONE' => 1,
++                        'AC_INIT' => 1,
++                        'AC_FUNC_CHOWN' => 1,
++                        'AC_SUBST' => 1,
++                        'AC_FUNC_ALLOCA' => 1,
++                        'AC_CANONICAL_HOST' => 1,
++                        'AC_FUNC_GETPGRP' => 1,
++                        'AC_PROG_RANLIB' => 1,
++                        'AM_INIT_AUTOMAKE' => 1,
++                        'AC_FUNC_SETPGRP' => 1,
++                        'AC_CONFIG_SUBDIRS' => 1,
++                        'AC_FUNC_MMAP' => 1,
++                        'AC_FUNC_REALLOC' => 1,
++                        'AC_TYPE_SIZE_T' => 1,
++                        'AC_CONFIG_LINKS' => 1,
++                        'AC_CHECK_TYPES' => 1,
++                        'AC_CHECK_MEMBERS' => 1,
++                        'AM_MAINTAINER_MODE' => 1,
++                        'AC_FUNC_UTIME_NULL' => 1,
++                        'AC_FUNC_SELECT_ARGTYPES' => 1,
++                        'AC_FUNC_STRFTIME' => 1,
++                        'AC_HEADER_STAT' => 1,
++                        'AC_C_INLINE' => 1,
++                        'AC_PROG_CPP' => 1,
++                        'AC_TYPE_PID_T' => 1,
++                        'AC_C_CONST' => 1,
++                        'AC_PROG_LEX' => 1,
++                        'AM_ENABLE_MULTILIB' => 1,
++                        'AC_CONFIG_FILES' => 1,
++                        'include' => 1,
++                        'AC_FUNC_SETVBUF_REVERSED' => 1,
++                        'AC_PROG_INSTALL' => 1,
++                        'AM_GNU_GETTEXT' => 1,
++                        'AC_CHECK_LIB' => 1,
++                        'AC_FUNC_OBSTACK' => 1,
++                        'AC_FUNC_MALLOC' => 1,
++                        'AC_FUNC_GETGROUPS' => 1,
++                        'AC_FUNC_GETLOADAVG' => 1,
++                        'AH_OUTPUT' => 1,
++                        'AC_FUNC_FSEEKO' => 1,
++                        'AM_PROG_CC_C_O' => 1,
++                        'AM_CONDITIONAL' => 1,
++                        'AC_CANONICAL_SYSTEM' => 1,
++                        'AC_FUNC_MKTIME' => 1,
++                        'AC_CONFIG_HEADERS' => 1,
++                        'AC_HEADER_SYS_WAIT' => 1,
++                        'AC_PROG_LN_S' => 1,
++                        'AC_FUNC_MEMCMP' => 1,
++                        'm4_include' => 1,
++                        'AC_HEADER_DIRENT' => 1,
++                        'AC_CHECK_FUNCS' => 1
++                      }
++                    ], 'Autom4te::Request' )
++           );
++
+diff -ruN heimdal-0.6.1-old/autom4te.cache/traces.0 heimdal-0.6.1/autom4te.cache/traces.0
+--- heimdal-0.6.1-old/autom4te.cache/traces.0	1970-01-01 10:00:00.000000000 +1000
++++ heimdal-0.6.1/autom4te.cache/traces.0	2004-04-04 10:39:44.000000000 +1000
+@@ -0,0 +1,3521 @@
++m4trace:aclocal.m4:152: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
++m4trace:configure.in:5: -1- AC_INIT([Heimdal], [0.6.1], [heimdal-bugs@pdc.kth.se])
++m4trace:configure.in:5: -1- m4_pattern_forbid([^_?A[CHUM]_])
++m4trace:configure.in:5: -1- m4_pattern_forbid([_AC_])
++m4trace:configure.in:5: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
++m4trace:configure.in:5: -1- m4_pattern_allow([^AS_FLAGS$])
++m4trace:configure.in:5: -1- m4_pattern_forbid([^_?m4_])
++m4trace:configure.in:5: -1- m4_pattern_forbid([^dnl$])
++m4trace:configure.in:5: -1- m4_pattern_forbid([^_?AS_])
++m4trace:configure.in:5: -1- AC_SUBST([SHELL], [${CONFIG_SHELL-/bin/sh}])
++m4trace:configure.in:5: -1- AC_SUBST([PATH_SEPARATOR])
++m4trace:configure.in:5: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME],      ['AC_PACKAGE_NAME'])])
++m4trace:configure.in:5: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME],   ['AC_PACKAGE_TARNAME'])])
++m4trace:configure.in:5: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION],   ['AC_PACKAGE_VERSION'])])
++m4trace:configure.in:5: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING],    ['AC_PACKAGE_STRING'])])
++m4trace:configure.in:5: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])])
++m4trace:configure.in:5: -1- AC_SUBST([exec_prefix], [NONE])
++m4trace:configure.in:5: -1- AC_SUBST([prefix], [NONE])
++m4trace:configure.in:5: -1- AC_SUBST([program_transform_name], [s,x,x,])
++m4trace:configure.in:5: -1- AC_SUBST([bindir], ['${exec_prefix}/bin'])
++m4trace:configure.in:5: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin'])
++m4trace:configure.in:5: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec'])
++m4trace:configure.in:5: -1- AC_SUBST([datadir], ['${prefix}/share'])
++m4trace:configure.in:5: -1- AC_SUBST([sysconfdir], ['${prefix}/etc'])
++m4trace:configure.in:5: -1- AC_SUBST([sharedstatedir], ['${prefix}/com'])
++m4trace:configure.in:5: -1- AC_SUBST([localstatedir], ['${prefix}/var'])
++m4trace:configure.in:5: -1- AC_SUBST([libdir], ['${exec_prefix}/lib'])
++m4trace:configure.in:5: -1- AC_SUBST([includedir], ['${prefix}/include'])
++m4trace:configure.in:5: -1- AC_SUBST([oldincludedir], ['/usr/include'])
++m4trace:configure.in:5: -1- AC_SUBST([infodir], ['${prefix}/info'])
++m4trace:configure.in:5: -1- AC_SUBST([mandir], ['${prefix}/man'])
++m4trace:configure.in:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME])
++m4trace:configure.in:5: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */
++#undef PACKAGE_NAME])
++m4trace:configure.in:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME])
++m4trace:configure.in:5: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */
++#undef PACKAGE_TARNAME])
++m4trace:configure.in:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION])
++m4trace:configure.in:5: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */
++#undef PACKAGE_VERSION])
++m4trace:configure.in:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING])
++m4trace:configure.in:5: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */
++#undef PACKAGE_STRING])
++m4trace:configure.in:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT])
++m4trace:configure.in:5: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */
++#undef PACKAGE_BUGREPORT])
++m4trace:configure.in:5: -1- AC_SUBST([build_alias])
++m4trace:configure.in:5: -1- AC_SUBST([host_alias])
++m4trace:configure.in:5: -1- AC_SUBST([target_alias])
++m4trace:configure.in:5: -1- AC_SUBST([DEFS])
++m4trace:configure.in:5: -1- AC_SUBST([ECHO_C])
++m4trace:configure.in:5: -1- AC_SUBST([ECHO_N])
++m4trace:configure.in:5: -1- AC_SUBST([ECHO_T])
++m4trace:configure.in:5: -1- AC_SUBST([LIBS])
++m4trace:configure.in:6: -1- AM_MAINTAINER_MODE
++m4trace:configure.in:6: -1- AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
++m4trace:configure.in:6: -1- AC_SUBST([MAINTAINER_MODE_TRUE])
++m4trace:configure.in:6: -1- AC_SUBST([MAINTAINER_MODE_FALSE])
++m4trace:configure.in:6: -1- AC_SUBST([MAINT])
++m4trace:configure.in:8: -1- _m4_warn([obsolete], [The macro `AM_CONFIG_HEADER' is obsolete.
++You should run autoupdate.], [aclocal.m4:121: AM_CONFIG_HEADER is expanded from...
++configure.in:8: the top level])
++m4trace:configure.in:8: -1- AC_CONFIG_HEADERS([include/config.h])
++m4trace:configure.in:11: -1- AC_PROG_CC
++m4trace:configure.in:11: -1- AC_SUBST([CC])
++m4trace:configure.in:11: -1- AC_SUBST([CFLAGS])
++m4trace:configure.in:11: -1- AC_SUBST([LDFLAGS])
++m4trace:configure.in:11: -1- AC_SUBST([CPPFLAGS])
++m4trace:configure.in:11: -1- AC_SUBST([CC])
++m4trace:configure.in:11: -1- AC_SUBST([ac_ct_CC])
++m4trace:configure.in:11: -1- AC_SUBST([CC])
++m4trace:configure.in:11: -1- AC_SUBST([ac_ct_CC])
++m4trace:configure.in:11: -1- AC_SUBST([CC])
++m4trace:configure.in:11: -1- AC_SUBST([CC])
++m4trace:configure.in:11: -1- AC_SUBST([ac_ct_CC])
++m4trace:configure.in:11: -1- AC_SUBST([EXEEXT], [$ac_cv_exeext])
++m4trace:configure.in:11: -1- AC_SUBST([OBJEXT], [$ac_cv_objext])
++m4trace:configure.in:12: -1- AC_PROG_CPP
++m4trace:configure.in:12: -1- AC_SUBST([CPP])
++m4trace:configure.in:12: -1- AC_SUBST([CPPFLAGS])
++m4trace:configure.in:12: -1- AC_SUBST([CPP])
++m4trace:configure.in:13: -1- _m4_warn([obsolete], [The macro `AC_PROG_CC_STDC' is obsolete.
++You should run autoupdate.], [autoconf/c.m4:870: AC_PROG_CC_STDC is expanded from...
++configure.in:13: the top level])
++m4trace:configure.in:15: -1- AM_INIT_AUTOMAKE([foreign no-dependencies 1.7])
++m4trace:configure.in:15: -1- AM_AUTOMAKE_VERSION([1.7.9])
++m4trace:configure.in:15: -1- AC_PROG_INSTALL
++m4trace:configure.in:15: -1- AC_SUBST([INSTALL_PROGRAM])
++m4trace:configure.in:15: -1- AC_SUBST([INSTALL_SCRIPT])
++m4trace:configure.in:15: -1- AC_SUBST([INSTALL_DATA])
++m4trace:configure.in:15: -1- AC_SUBST([CYGPATH_W])
++m4trace:configure.in:15: -1- AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])
++m4trace:configure.in:15: -1- AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])
++m4trace:configure.in:15: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE])
++m4trace:configure.in:15: -1- AH_OUTPUT([PACKAGE], [/* Name of package */
++#undef PACKAGE])
++m4trace:configure.in:15: -1- AC_DEFINE_TRACE_LITERAL([VERSION])
++m4trace:configure.in:15: -1- AH_OUTPUT([VERSION], [/* Version number of package */
++#undef VERSION])
++m4trace:configure.in:15: -1- AC_SUBST([ACLOCAL])
++m4trace:configure.in:15: -1- AC_SUBST([AUTOCONF])
++m4trace:configure.in:15: -1- AC_SUBST([AUTOMAKE])
++m4trace:configure.in:15: -1- AC_SUBST([AUTOHEADER])
++m4trace:configure.in:15: -1- AC_SUBST([MAKEINFO])
++m4trace:configure.in:15: -1- AC_SUBST([AMTAR])
++m4trace:configure.in:15: -1- AC_SUBST([install_sh])
++m4trace:configure.in:15: -1- AC_SUBST([STRIP])
++m4trace:configure.in:15: -1- AC_SUBST([ac_ct_STRIP])
++m4trace:configure.in:15: -1- AC_SUBST([INSTALL_STRIP_PROGRAM])
++m4trace:configure.in:15: -1- AC_PROG_AWK
++m4trace:configure.in:15: -1- AC_SUBST([AWK])
++m4trace:configure.in:15: -1- AC_PROG_MAKE_SET
++m4trace:configure.in:15: -1- AC_SUBST([SET_MAKE])
++m4trace:configure.in:15: -1- AC_SUBST([am__leading_dot])
++m4trace:configure.in:16: -1- AM_MAINTAINER_MODE
++m4trace:configure.in:16: -1- AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
++m4trace:configure.in:16: -1- AC_SUBST([MAINTAINER_MODE_TRUE])
++m4trace:configure.in:16: -1- AC_SUBST([MAINTAINER_MODE_FALSE])
++m4trace:configure.in:16: -1- AC_SUBST([MAINT])
++m4trace:configure.in:23: -1- AC_CANONICAL_HOST
++m4trace:configure.in:23: -1- AC_SUBST([build], [$ac_cv_build])
++m4trace:configure.in:23: -1- AC_SUBST([build_cpu], [`echo $ac_cv_build | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\1/'`])
++m4trace:configure.in:23: -1- AC_SUBST([build_vendor], [`echo $ac_cv_build | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\2/'`])
++m4trace:configure.in:23: -1- AC_SUBST([build_os], [`echo $ac_cv_build | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\3/'`])
++m4trace:configure.in:23: -1- AC_SUBST([host], [$ac_cv_host])
++m4trace:configure.in:23: -1- AC_SUBST([host_cpu], [`echo $ac_cv_host | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\1/'`])
++m4trace:configure.in:23: -1- AC_SUBST([host_vendor], [`echo $ac_cv_host | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\2/'`])
++m4trace:configure.in:23: -1- AC_SUBST([host_os], [`echo $ac_cv_host | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\3/'`])
++m4trace:configure.in:25: -1- AC_SUBST([CANONICAL_HOST])
++m4trace:configure.in:27: -1- AC_DEFINE_TRACE_LITERAL([_FILE_OFFSET_BITS])
++m4trace:configure.in:27: -1- AH_OUTPUT([_FILE_OFFSET_BITS], [/* Number of bits in a file offset, on hosts where this is settable. */
++#undef _FILE_OFFSET_BITS])
++m4trace:configure.in:27: -1- AC_DEFINE_TRACE_LITERAL([_LARGE_FILES])
++m4trace:configure.in:27: -1- AH_OUTPUT([_LARGE_FILES], [/* Define for large files, on AIX-style hosts. */
++#undef _LARGE_FILES])
++m4trace:configure.in:38: -1- AC_DEFINE_TRACE_LITERAL([_GNU_SOURCE])
++m4trace:configure.in:38: -1- AH_OUTPUT([_GNU_SOURCE], [/* Define to enable extensions on glibc-based systems such as Linux. */
++#undef _GNU_SOURCE])
++m4trace:configure.in:44: -1- AC_PROG_YACC
++m4trace:configure.in:44: -1- AC_SUBST([YACC])
++m4trace:configure.in:45: -1- AC_PROG_LEX
++m4trace:configure.in:45: -1- AC_SUBST([LEX])
++m4trace:configure.in:45: -1- AC_CHECK_LIB([fl], [yywrap], [LEXLIB="-lfl"], [AC_CHECK_LIB(l, yywrap, LEXLIB="-ll")])
++m4trace:configure.in:45: -1- AC_CHECK_LIB([l], [yywrap], [LEXLIB="-ll"])
++m4trace:configure.in:45: -1- AC_SUBST([LEXLIB])
++m4trace:configure.in:45: -1- AC_SUBST([LEX_OUTPUT_ROOT], [$ac_cv_prog_lex_root])
++m4trace:configure.in:45: -1- AC_DEFINE_TRACE_LITERAL([YYTEXT_POINTER])
++m4trace:configure.in:45: -1- AH_OUTPUT([YYTEXT_POINTER], [/* Define to 1 if `lex\' declares `yytext\' as a `char *\' by default, not a
++   `char[]\'. */
++#undef YYTEXT_POINTER])
++m4trace:configure.in:47: -1- AC_PROG_AWK
++m4trace:configure.in:47: -1- AC_SUBST([AWK])
++m4trace:configure.in:48: -1- AC_SUBST([LN_S])
++m4trace:configure.in:50: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:1049: AC_MIPS_ABI is expanded from...
++configure.in:50: the top level])
++m4trace:configure.in:50: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:1049: AC_MIPS_ABI is expanded from...
++configure.in:50: the top level])
++m4trace:configure.in:50: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:1049: AC_MIPS_ABI is expanded from...
++configure.in:50: the top level])
++m4trace:configure.in:54: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:1080: AC_C___ATTRIBUTE__ is expanded from...
++configure.in:54: the top level])
++m4trace:configure.in:54: -1- AC_DEFINE_TRACE_LITERAL([HAVE___ATTRIBUTE__])
++m4trace:configure.in:54: -1- AH_OUTPUT([HAVE___ATTRIBUTE__], [/* define if your compiler has __attribute__ */
++#undef HAVE___ATTRIBUTE__])
++m4trace:configure.in:56: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++autoconf/general.m4:1303: AC_ARG_ENABLE is expanded from...
++aclocal.m4:2831: AC_ENABLE_SHARED is expanded from...
++configure.in:56: the top level])
++m4trace:configure.in:57: -1- AC_PROG_LIBTOOL
++m4trace:configure.in:57: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++autoconf/general.m4:1303: AC_ARG_ENABLE is expanded from...
++aclocal.m4:2870: AC_ENABLE_STATIC is expanded from...
++configure.in:57: AC_ENABLE_STATIC is required by...
++aclocal.m4:1293: AC_LIBTOOL_SETUP is expanded from...
++configure.in:57: AC_LIBTOOL_SETUP is required by...
++aclocal.m4:1151: _AC_PROG_LIBTOOL is expanded from...
++configure.in:57: _AC_PROG_LIBTOOL is required by...
++aclocal.m4:1131: AC_PROG_LIBTOOL is expanded from...
++configure.in:57: the top level])
++m4trace:configure.in:57: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++autoconf/general.m4:1303: AC_ARG_ENABLE is expanded from...
++aclocal.m4:2909: AC_ENABLE_FAST_INSTALL is expanded from...
++configure.in:57: AC_ENABLE_FAST_INSTALL is required by...
++aclocal.m4:1293: AC_LIBTOOL_SETUP is expanded from...
++configure.in:57: AC_LIBTOOL_SETUP is required by...
++aclocal.m4:1151: _AC_PROG_LIBTOOL is expanded from...
++configure.in:57: _AC_PROG_LIBTOOL is required by...
++aclocal.m4:1131: AC_PROG_LIBTOOL is expanded from...
++configure.in:57: the top level])
++m4trace:configure.in:57: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++autoconf/general.m4:1331: AC_ARG_WITH is expanded from...
++aclocal.m4:3106: AC_PROG_LD is expanded from...
++configure.in:57: AC_PROG_LD is required by...
++aclocal.m4:1293: AC_LIBTOOL_SETUP is expanded from...
++configure.in:57: AC_LIBTOOL_SETUP is required by...
++aclocal.m4:1151: _AC_PROG_LIBTOOL is expanded from...
++configure.in:57: _AC_PROG_LIBTOOL is required by...
++aclocal.m4:1131: AC_PROG_LIBTOOL is expanded from...
++configure.in:57: the top level])
++m4trace:configure.in:57: -1- AC_SUBST([EGREP])
++m4trace:configure.in:57: -1- AC_PROG_LN_S
++m4trace:configure.in:57: -1- AC_SUBST([LN_S], [$as_ln_s])
++m4trace:configure.in:57: -1- AC_SUBST([ECHO])
++m4trace:configure.in:57: -1- AC_SUBST([AR])
++m4trace:configure.in:57: -1- AC_SUBST([ac_ct_AR])
++m4trace:configure.in:57: -1- AC_SUBST([RANLIB])
++m4trace:configure.in:57: -1- AC_SUBST([ac_ct_RANLIB])
++m4trace:configure.in:57: -1- AC_SUBST([STRIP])
++m4trace:configure.in:57: -1- AC_SUBST([ac_ct_STRIP])
++m4trace:configure.in:57: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++autoconf/general.m4:1303: AC_ARG_ENABLE is expanded from...
++aclocal.m4:1293: AC_LIBTOOL_SETUP is expanded from...
++configure.in:57: AC_LIBTOOL_SETUP is required by...
++aclocal.m4:1151: _AC_PROG_LIBTOOL is expanded from...
++configure.in:57: _AC_PROG_LIBTOOL is required by...
++aclocal.m4:1131: AC_PROG_LIBTOOL is expanded from...
++configure.in:57: the top level])
++m4trace:configure.in:57: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++autoconf/general.m4:1331: AC_ARG_WITH is expanded from...
++aclocal.m4:1293: AC_LIBTOOL_SETUP is expanded from...
++configure.in:57: AC_LIBTOOL_SETUP is required by...
++aclocal.m4:1151: _AC_PROG_LIBTOOL is expanded from...
++configure.in:57: _AC_PROG_LIBTOOL is required by...
++aclocal.m4:1131: AC_PROG_LIBTOOL is expanded from...
++configure.in:57: the top level])
++m4trace:configure.in:57: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
++aclocal.m4:1620: _LT_AC_LOCK is expanded from...
++configure.in:57: _LT_AC_LOCK is required by...
++aclocal.m4:2051: AC_LIBTOOL_SYS_HARD_LINK_LOCKS is expanded from...
++aclocal.m4:3653: _LT_AC_LANG_C_CONFIG is expanded from...
++aclocal.m4:3520: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
++aclocal.m4:1293: AC_LIBTOOL_SETUP is expanded from...
++configure.in:57: AC_LIBTOOL_SETUP is required by...
++aclocal.m4:1151: _AC_PROG_LIBTOOL is expanded from...
++configure.in:57: _AC_PROG_LIBTOOL is required by...
++aclocal.m4:1131: AC_PROG_LIBTOOL is expanded from...
++configure.in:57: the top level])
++m4trace:configure.in:57: -1- AC_CHECK_HEADERS([dlfcn.h])
++m4trace:configure.in:57: -1- AH_OUTPUT([HAVE_DLFCN_H], [/* Define to 1 if you have the <dlfcn.h> header file. */
++#undef HAVE_DLFCN_H])
++m4trace:configure.in:57: -1- AC_HEADER_STDC
++m4trace:configure.in:57: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS])
++m4trace:configure.in:57: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */
++#undef STDC_HEADERS])
++m4trace:configure.in:57: -1- AC_CHECK_HEADERS([sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
++		  inttypes.h stdint.h unistd.h], [], [], [$ac_includes_default])
++m4trace:configure.in:57: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the <sys/types.h> header file. */
++#undef HAVE_SYS_TYPES_H])
++m4trace:configure.in:57: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the <sys/stat.h> header file. */
++#undef HAVE_SYS_STAT_H])
++m4trace:configure.in:57: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
++#undef HAVE_STDLIB_H])
++m4trace:configure.in:57: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */
++#undef HAVE_STRING_H])
++m4trace:configure.in:57: -1- AH_OUTPUT([HAVE_MEMORY_H], [/* Define to 1 if you have the <memory.h> header file. */
++#undef HAVE_MEMORY_H])
++m4trace:configure.in:57: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the <strings.h> header file. */
++#undef HAVE_STRINGS_H])
++m4trace:configure.in:57: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */
++#undef HAVE_INTTYPES_H])
++m4trace:configure.in:57: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */
++#undef HAVE_STDINT_H])
++m4trace:configure.in:57: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
++#undef HAVE_UNISTD_H])
++m4trace:configure.in:57: -1- AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], [
++    lt_cv_dlopen="dyld"
++    lt_cv_dlopen_libs=
++    lt_cv_dlopen_self=yes
++    ])
++m4trace:configure.in:57: -1- AC_CHECK_LIB([dld], [shl_load], [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"], [AC_CHECK_FUNC([dlopen],
++	      [lt_cv_dlopen="dlopen"],
++	  [AC_CHECK_LIB([dl], [dlopen],
++		[lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
++	    [AC_CHECK_LIB([svld], [dlopen],
++		  [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
++	      [AC_CHECK_LIB([dld], [dld_link],
++		    [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
++	      ])
++	    ])
++	  ])
++	])
++m4trace:configure.in:57: -1- AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], [AC_CHECK_LIB([svld], [dlopen],
++		  [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
++	      [AC_CHECK_LIB([dld], [dld_link],
++		    [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
++	      ])
++	    ])
++m4trace:configure.in:57: -1- AC_CHECK_LIB([svld], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], [AC_CHECK_LIB([dld], [dld_link],
++		    [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
++	      ])
++m4trace:configure.in:57: -1- AC_CHECK_LIB([dld], [dld_link], [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
++m4trace:configure.in:57: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++autoconf/general.m4:1331: AC_ARG_WITH is expanded from...
++aclocal.m4:2785: _LT_AC_TAGCONFIG is expanded from...
++aclocal.m4:1293: AC_LIBTOOL_SETUP is expanded from...
++configure.in:57: AC_LIBTOOL_SETUP is required by...
++aclocal.m4:1151: _AC_PROG_LIBTOOL is expanded from...
++configure.in:57: _AC_PROG_LIBTOOL is required by...
++aclocal.m4:1131: AC_PROG_LIBTOOL is expanded from...
++configure.in:57: the top level])
++m4trace:configure.in:57: -1- _m4_warn([obsolete], [back quotes and double quotes must not be escaped in: $as_me:$LINENO: error: tag name \"$tagname\" already exists], [aclocal.m4:2785: _LT_AC_TAGCONFIG is expanded from...
++aclocal.m4:1293: AC_LIBTOOL_SETUP is expanded from...
++configure.in:57: AC_LIBTOOL_SETUP is required by...
++aclocal.m4:1151: _AC_PROG_LIBTOOL is expanded from...
++configure.in:57: _AC_PROG_LIBTOOL is required by...
++aclocal.m4:1131: AC_PROG_LIBTOOL is expanded from...
++configure.in:57: the top level])
++m4trace:configure.in:57: -1- _m4_warn([obsolete], [back quotes and double quotes must not be escaped in: $as_me: error: tag name \"$tagname\" already exists], [aclocal.m4:2785: _LT_AC_TAGCONFIG is expanded from...
++aclocal.m4:1293: AC_LIBTOOL_SETUP is expanded from...
++configure.in:57: AC_LIBTOOL_SETUP is required by...
++aclocal.m4:1151: _AC_PROG_LIBTOOL is expanded from...
++configure.in:57: _AC_PROG_LIBTOOL is required by...
++aclocal.m4:1131: AC_PROG_LIBTOOL is expanded from...
++configure.in:57: the top level])
++m4trace:configure.in:57: -1- AC_PROG_CXX
++m4trace:configure.in:57: -1- AC_SUBST([CXX])
++m4trace:configure.in:57: -1- AC_SUBST([CXXFLAGS])
++m4trace:configure.in:57: -1- AC_SUBST([LDFLAGS])
++m4trace:configure.in:57: -1- AC_SUBST([CPPFLAGS])
++m4trace:configure.in:57: -1- AC_SUBST([CXX])
++m4trace:configure.in:57: -1- AC_SUBST([ac_ct_CXX])
++m4trace:configure.in:57: -1- AC_SUBST([CXXCPP])
++m4trace:configure.in:57: -1- AC_SUBST([CPPFLAGS])
++m4trace:configure.in:57: -1- AC_SUBST([CXXCPP])
++m4trace:configure.in:57: -1- AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], [
++    lt_cv_dlopen="dyld"
++    lt_cv_dlopen_libs=
++    lt_cv_dlopen_self=yes
++    ])
++m4trace:configure.in:57: -1- AC_CHECK_LIB([dld], [shl_load], [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"], [AC_CHECK_FUNC([dlopen],
++	      [lt_cv_dlopen="dlopen"],
++	  [AC_CHECK_LIB([dl], [dlopen],
++		[lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
++	    [AC_CHECK_LIB([svld], [dlopen],
++		  [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
++	      [AC_CHECK_LIB([dld], [dld_link],
++		    [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
++	      ])
++	    ])
++	  ])
++	])
++m4trace:configure.in:57: -1- AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], [AC_CHECK_LIB([svld], [dlopen],
++		  [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
++	      [AC_CHECK_LIB([dld], [dld_link],
++		    [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
++	      ])
++	    ])
++m4trace:configure.in:57: -1- AC_CHECK_LIB([svld], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], [AC_CHECK_LIB([dld], [dld_link],
++		    [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
++	      ])
++m4trace:configure.in:57: -1- AC_CHECK_LIB([dld], [dld_link], [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
++m4trace:configure.in:57: -1- AC_SUBST([F77])
++m4trace:configure.in:57: -1- AC_SUBST([FFLAGS])
++m4trace:configure.in:57: -1- AC_SUBST([LDFLAGS])
++m4trace:configure.in:57: -1- AC_SUBST([F77])
++m4trace:configure.in:57: -1- AC_SUBST([ac_ct_F77])
++m4trace:configure.in:57: -1- _m4_warn([obsolete], [The macro `AC_LANG_SAVE' is obsolete.
++You should run autoupdate.], [autoconf/lang.m4:166: AC_LANG_SAVE is expanded from...
++aclocal.m4:4830: _LT_AC_LANG_GCJ_CONFIG is expanded from...
++aclocal.m4:4787: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from...
++aclocal.m4:2785: _LT_AC_TAGCONFIG is expanded from...
++aclocal.m4:1293: AC_LIBTOOL_SETUP is expanded from...
++configure.in:57: AC_LIBTOOL_SETUP is required by...
++aclocal.m4:1151: _AC_PROG_LIBTOOL is expanded from...
++configure.in:57: _AC_PROG_LIBTOOL is required by...
++aclocal.m4:1131: AC_PROG_LIBTOOL is expanded from...
++configure.in:57: the top level])
++m4trace:configure.in:57: -1- _m4_warn([obsolete], [instead of using `AC_LANG', `AC_LANG_SAVE',
++and `AC_LANG_RESTORE', you should use `AC_LANG_PUSH' and `AC_LANG_POP'.], [autoconf/lang.m4:166: AC_LANG_SAVE is expanded from...
++aclocal.m4:4830: _LT_AC_LANG_GCJ_CONFIG is expanded from...
++aclocal.m4:4787: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from...
++aclocal.m4:2785: _LT_AC_TAGCONFIG is expanded from...
++aclocal.m4:1293: AC_LIBTOOL_SETUP is expanded from...
++configure.in:57: AC_LIBTOOL_SETUP is required by...
++aclocal.m4:1151: _AC_PROG_LIBTOOL is expanded from...
++configure.in:57: _AC_PROG_LIBTOOL is required by...
++aclocal.m4:1131: AC_PROG_LIBTOOL is expanded from...
++configure.in:57: the top level])
++m4trace:configure.in:57: -1- AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], [
++    lt_cv_dlopen="dyld"
++    lt_cv_dlopen_libs=
++    lt_cv_dlopen_self=yes
++    ])
++m4trace:configure.in:57: -1- AC_CHECK_LIB([dld], [shl_load], [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"], [AC_CHECK_FUNC([dlopen],
++	      [lt_cv_dlopen="dlopen"],
++	  [AC_CHECK_LIB([dl], [dlopen],
++		[lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
++	    [AC_CHECK_LIB([svld], [dlopen],
++		  [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
++	      [AC_CHECK_LIB([dld], [dld_link],
++		    [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
++	      ])
++	    ])
++	  ])
++	])
++m4trace:configure.in:57: -1- AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], [AC_CHECK_LIB([svld], [dlopen],
++		  [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
++	      [AC_CHECK_LIB([dld], [dld_link],
++		    [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
++	      ])
++	    ])
++m4trace:configure.in:57: -1- AC_CHECK_LIB([svld], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], [AC_CHECK_LIB([dld], [dld_link],
++		    [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
++	      ])
++m4trace:configure.in:57: -1- AC_CHECK_LIB([dld], [dld_link], [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
++m4trace:configure.in:57: -1- _m4_warn([obsolete], [The macro `AC_LANG_RESTORE' is obsolete.
++You should run autoupdate.], [autoconf/lang.m4:172: AC_LANG_RESTORE is expanded from...
++aclocal.m4:4830: _LT_AC_LANG_GCJ_CONFIG is expanded from...
++aclocal.m4:4787: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from...
++aclocal.m4:2785: _LT_AC_TAGCONFIG is expanded from...
++aclocal.m4:1293: AC_LIBTOOL_SETUP is expanded from...
++configure.in:57: AC_LIBTOOL_SETUP is required by...
++aclocal.m4:1151: _AC_PROG_LIBTOOL is expanded from...
++configure.in:57: _AC_PROG_LIBTOOL is required by...
++aclocal.m4:1131: AC_PROG_LIBTOOL is expanded from...
++configure.in:57: the top level])
++m4trace:configure.in:57: -1- _m4_warn([obsolete], [The macro `AC_LANG_SAVE' is obsolete.
++You should run autoupdate.], [autoconf/lang.m4:166: AC_LANG_SAVE is expanded from...
++aclocal.m4:4869: _LT_AC_LANG_RC_CONFIG is expanded from...
++aclocal.m4:4838: AC_LIBTOOL_LANG_RC_CONFIG is expanded from...
++aclocal.m4:2785: _LT_AC_TAGCONFIG is expanded from...
++aclocal.m4:1293: AC_LIBTOOL_SETUP is expanded from...
++configure.in:57: AC_LIBTOOL_SETUP is required by...
++aclocal.m4:1151: _AC_PROG_LIBTOOL is expanded from...
++configure.in:57: _AC_PROG_LIBTOOL is required by...
++aclocal.m4:1131: AC_PROG_LIBTOOL is expanded from...
++configure.in:57: the top level])
++m4trace:configure.in:57: -1- _m4_warn([obsolete], [instead of using `AC_LANG', `AC_LANG_SAVE',
++and `AC_LANG_RESTORE', you should use `AC_LANG_PUSH' and `AC_LANG_POP'.], [autoconf/lang.m4:166: AC_LANG_SAVE is expanded from...
++aclocal.m4:4869: _LT_AC_LANG_RC_CONFIG is expanded from...
++aclocal.m4:4838: AC_LIBTOOL_LANG_RC_CONFIG is expanded from...
++aclocal.m4:2785: _LT_AC_TAGCONFIG is expanded from...
++aclocal.m4:1293: AC_LIBTOOL_SETUP is expanded from...
++configure.in:57: AC_LIBTOOL_SETUP is required by...
++aclocal.m4:1151: _AC_PROG_LIBTOOL is expanded from...
++configure.in:57: _AC_PROG_LIBTOOL is required by...
++aclocal.m4:1131: AC_PROG_LIBTOOL is expanded from...
++configure.in:57: the top level])
++m4trace:configure.in:57: -1- _m4_warn([obsolete], [The macro `AC_LANG_RESTORE' is obsolete.
++You should run autoupdate.], [autoconf/lang.m4:172: AC_LANG_RESTORE is expanded from...
++aclocal.m4:4869: _LT_AC_LANG_RC_CONFIG is expanded from...
++aclocal.m4:4838: AC_LIBTOOL_LANG_RC_CONFIG is expanded from...
++aclocal.m4:2785: _LT_AC_TAGCONFIG is expanded from...
++aclocal.m4:1293: AC_LIBTOOL_SETUP is expanded from...
++configure.in:57: AC_LIBTOOL_SETUP is required by...
++aclocal.m4:1151: _AC_PROG_LIBTOOL is expanded from...
++configure.in:57: _AC_PROG_LIBTOOL is required by...
++aclocal.m4:1131: AC_PROG_LIBTOOL is expanded from...
++configure.in:57: the top level])
++m4trace:configure.in:57: -1- AC_SUBST([LIBTOOL])
++m4trace:configure.in:59: -1- AC_SUBST([WFLAGS])
++m4trace:configure.in:59: -1- AC_SUBST([WFLAGS_NOUNUSED])
++m4trace:configure.in:59: -1- AC_SUBST([WFLAGS_NOIMPLICITINT])
++m4trace:configure.in:64: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:7132: rk_TEST_PACKAGE is expanded from...
++configure.in:64: the top level])
++m4trace:configure.in:64: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:7132: rk_TEST_PACKAGE is expanded from...
++configure.in:64: the top level])
++m4trace:configure.in:64: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:7132: rk_TEST_PACKAGE is expanded from...
++configure.in:64: the top level])
++m4trace:configure.in:64: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:7132: rk_TEST_PACKAGE is expanded from...
++configure.in:64: the top level])
++m4trace:configure.in:64: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++aclocal.m4:7132: rk_TEST_PACKAGE is expanded from...
++configure.in:64: the top level])
++m4trace:configure.in:64: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:7132: rk_TEST_PACKAGE is expanded from...
++configure.in:64: the top level])
++m4trace:configure.in:64: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++aclocal.m4:7132: rk_TEST_PACKAGE is expanded from...
++configure.in:64: the top level])
++m4trace:configure.in:64: -1- AC_DEFINE_TRACE_LITERAL([OPENLDAP])
++m4trace:configure.in:64: -1- AH_OUTPUT([OPENLDAP], [/* Define if you have the openldap package. */
++#undef OPENLDAP])
++m4trace:configure.in:64: -1- AC_SUBST([DIR_openldap])
++m4trace:configure.in:64: -1- AC_SUBST([INCLUDE_openldap])
++m4trace:configure.in:64: -1- AC_SUBST([LIB_openldap])
++m4trace:configure.in:66: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:7132: rk_TEST_PACKAGE is expanded from...
++configure.in:66: the top level])
++m4trace:configure.in:66: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:7132: rk_TEST_PACKAGE is expanded from...
++configure.in:66: the top level])
++m4trace:configure.in:66: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:7132: rk_TEST_PACKAGE is expanded from...
++configure.in:66: the top level])
++m4trace:configure.in:66: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:7132: rk_TEST_PACKAGE is expanded from...
++configure.in:66: the top level])
++m4trace:configure.in:66: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++aclocal.m4:7132: rk_TEST_PACKAGE is expanded from...
++configure.in:66: the top level])
++m4trace:configure.in:66: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:7132: rk_TEST_PACKAGE is expanded from...
++configure.in:66: the top level])
++m4trace:configure.in:66: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++aclocal.m4:7132: rk_TEST_PACKAGE is expanded from...
++configure.in:66: the top level])
++m4trace:configure.in:66: -1- AC_DEFINE_TRACE_LITERAL([KRB4])
++m4trace:configure.in:66: -1- AH_OUTPUT([KRB4], [/* Define if you have the krb4 package. */
++#undef KRB4])
++m4trace:configure.in:66: -1- AC_SUBST([DIR_krb4])
++m4trace:configure.in:66: -1- AC_SUBST([INCLUDE_krb4])
++m4trace:configure.in:66: -1- AC_SUBST([LIB_krb4])
++m4trace:configure.in:75: -1- AC_SUBST([EXTRA_LIB45])
++m4trace:configure.in:82: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
++configure.in:82: the top level])
++m4trace:configure.in:85: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FOUR_VALUED_KRB_PUT_INT])
++m4trace:configure.in:85: -1- AH_OUTPUT([HAVE_FOUR_VALUED_KRB_PUT_INT], [/* define if krb_put_int takes four arguments. */
++#undef HAVE_FOUR_VALUED_KRB_PUT_INT])
++m4trace:configure.in:92: -1- AH_OUTPUT([zzzz1], [#if defined(HAVE_FOUR_VALUED_KRB_PUT_INT) || !defined(KRB4)
++#define KRB_PUT_INT(F, T, L, S) krb_put_int((F), (T), (L), (S))
++#else
++#define KRB_PUT_INT(F, T, L, S) krb_put_int((F), (T), (S))
++#endif
++])
++m4trace:configure.in:98: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
++configure.in:98: the top level])
++m4trace:configure.in:101: -1- AC_DEFINE_TRACE_LITERAL([KRB_VERIFY_SECURE])
++m4trace:configure.in:101: -1- AH_OUTPUT([KRB_VERIFY_SECURE], [/* Define to one if your krb.h doesn\'t */
++#undef KRB_VERIFY_SECURE])
++m4trace:configure.in:103: -1- AC_DEFINE_TRACE_LITERAL([KRB_VERIFY_SECURE_FAIL])
++m4trace:configure.in:103: -1- AH_OUTPUT([KRB_VERIFY_SECURE_FAIL], [/* Define to two if your krb.h doesn\'t */
++#undef KRB_VERIFY_SECURE_FAIL])
++m4trace:configure.in:111: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
++configure.in:111: the top level])
++m4trace:configure.in:114: -1- AC_DEFINE_TRACE_LITERAL([KRB_VERIFY_NOT_SECURE])
++m4trace:configure.in:114: -1- AH_OUTPUT([KRB_VERIFY_NOT_SECURE], [/* Define to zero if your krb.h doesn\'t */
++#undef KRB_VERIFY_NOT_SECURE])
++m4trace:configure.in:116: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7216: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7152: AC_FIND_FUNC_NO_LIBS is expanded from...
++aclocal.m4:7142: AC_FIND_FUNC is expanded from...
++configure.in:116: the top level])
++m4trace:configure.in:116: -1- AC_CHECK_FUNCS([krb_enable_debug])
++m4trace:configure.in:116: -1- AH_OUTPUT([HAVE_KRB_ENABLE_DEBUG], [/* Define to 1 if you have the `krb_enable_debug\' function. */
++#undef HAVE_KRB_ENABLE_DEBUG])
++m4trace:configure.in:116: -1- AC_SUBST([LIB_krb_enable_debug])
++m4trace:configure.in:117: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7216: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7152: AC_FIND_FUNC_NO_LIBS is expanded from...
++aclocal.m4:7142: AC_FIND_FUNC is expanded from...
++configure.in:117: the top level])
++m4trace:configure.in:117: -1- AC_CHECK_FUNCS([krb_disable_debug])
++m4trace:configure.in:117: -1- AH_OUTPUT([HAVE_KRB_DISABLE_DEBUG], [/* Define to 1 if you have the `krb_disable_debug\' function. */
++#undef HAVE_KRB_DISABLE_DEBUG])
++m4trace:configure.in:117: -1- AC_SUBST([LIB_krb_disable_debug])
++m4trace:configure.in:118: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7216: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7152: AC_FIND_FUNC_NO_LIBS is expanded from...
++aclocal.m4:7142: AC_FIND_FUNC is expanded from...
++configure.in:118: the top level])
++m4trace:configure.in:118: -1- AC_CHECK_FUNCS([krb_get_our_ip_for_realm])
++m4trace:configure.in:118: -1- AH_OUTPUT([HAVE_KRB_GET_OUR_IP_FOR_REALM], [/* Define to 1 if you have the `krb_get_our_ip_for_realm\' function. */
++#undef HAVE_KRB_GET_OUR_IP_FOR_REALM])
++m4trace:configure.in:118: -1- AC_SUBST([LIB_krb_get_our_ip_for_realm])
++m4trace:configure.in:119: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7216: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7152: AC_FIND_FUNC_NO_LIBS is expanded from...
++aclocal.m4:7142: AC_FIND_FUNC is expanded from...
++configure.in:119: the top level])
++m4trace:configure.in:119: -1- AC_CHECK_FUNCS([krb_kdctimeofday])
++m4trace:configure.in:119: -1- AH_OUTPUT([HAVE_KRB_KDCTIMEOFDAY], [/* Define to 1 if you have the `krb_kdctimeofday\' function. */
++#undef HAVE_KRB_KDCTIMEOFDAY])
++m4trace:configure.in:119: -1- AC_SUBST([LIB_krb_kdctimeofday])
++m4trace:configure.in:123: -1- AH_OUTPUT([zzzz2], [#ifndef HAVE_KRB_KDCTIMEOFDAY
++#define krb_kdctimeofday(X) gettimeofday((X), NULL)
++#endif])
++m4trace:configure.in:124: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7216: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7152: AC_FIND_FUNC_NO_LIBS is expanded from...
++aclocal.m4:7142: AC_FIND_FUNC is expanded from...
++configure.in:124: the top level])
++m4trace:configure.in:124: -1- AC_CHECK_FUNCS([krb_get_kdc_time_diff])
++m4trace:configure.in:124: -1- AH_OUTPUT([HAVE_KRB_GET_KDC_TIME_DIFF], [/* Define to 1 if you have the `krb_get_kdc_time_diff\' function. */
++#undef HAVE_KRB_GET_KDC_TIME_DIFF])
++m4trace:configure.in:124: -1- AC_SUBST([LIB_krb_get_kdc_time_diff])
++m4trace:configure.in:128: -1- AH_OUTPUT([zzzz3], [#ifndef HAVE_KRB_GET_KDC_TIME_DIFF
++#define krb_get_kdc_time_diff() (0)
++#endif])
++m4trace:configure.in:136: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
++configure.in:136: the top level])
++m4trace:configure.in:139: -1- AC_DEFINE_TRACE_LITERAL([KRB_SENDAUTH_VERS])
++m4trace:configure.in:139: -1- AH_OUTPUT([KRB_SENDAUTH_VERS], [/* This is the krb4 sendauth version. */
++#undef KRB_SENDAUTH_VERS])
++m4trace:configure.in:149: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
++configure.in:149: the top level])
++m4trace:configure.in:152: -1- AC_DEFINE_TRACE_LITERAL([KRB_MK_REQ_CONST])
++m4trace:configure.in:152: -1- AH_OUTPUT([KRB_MK_REQ_CONST], [/* Define if krb_mk_req takes const char * */
++#undef KRB_MK_REQ_CONST])
++m4trace:configure.in:159: -1- AM_CONDITIONAL([KRB4], [test "$with_krb4" != "no"])
++m4trace:configure.in:159: -1- AC_SUBST([KRB4_TRUE])
++m4trace:configure.in:159: -1- AC_SUBST([KRB4_FALSE])
++m4trace:configure.in:160: -1- AM_CONDITIONAL([KRB5], [true])
++m4trace:configure.in:160: -1- AC_SUBST([KRB5_TRUE])
++m4trace:configure.in:160: -1- AC_SUBST([KRB5_FALSE])
++m4trace:configure.in:161: -1- AM_CONDITIONAL([do_roken_rename], [true])
++m4trace:configure.in:161: -1- AC_SUBST([do_roken_rename_TRUE])
++m4trace:configure.in:161: -1- AC_SUBST([do_roken_rename_FALSE])
++m4trace:configure.in:163: -1- AC_DEFINE_TRACE_LITERAL([KRB5])
++m4trace:configure.in:163: -1- AH_OUTPUT([KRB5], [/* Enable Kerberos 5 support in applications. */
++#undef KRB5])
++m4trace:configure.in:164: -1- AC_SUBST([LIB_kdb])
++m4trace:configure.in:166: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:7460: AC_WITH_ALL is expanded from...
++aclocal.m4:7417: KRB_CRYPTO is expanded from...
++configure.in:166: the top level])
++m4trace:configure.in:166: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:7460: AC_WITH_ALL is expanded from...
++aclocal.m4:7417: KRB_CRYPTO is expanded from...
++configure.in:166: the top level])
++m4trace:configure.in:166: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:7460: AC_WITH_ALL is expanded from...
++aclocal.m4:7417: KRB_CRYPTO is expanded from...
++configure.in:166: the top level])
++m4trace:configure.in:166: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++aclocal.m4:7417: KRB_CRYPTO is expanded from...
++configure.in:166: the top level])
++m4trace:configure.in:166: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++aclocal.m4:7417: KRB_CRYPTO is expanded from...
++configure.in:166: the top level])
++m4trace:configure.in:166: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++aclocal.m4:7417: KRB_CRYPTO is expanded from...
++configure.in:166: the top level])
++m4trace:configure.in:166: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++aclocal.m4:7417: KRB_CRYPTO is expanded from...
++configure.in:166: the top level])
++m4trace:configure.in:166: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OPENSSL])
++m4trace:configure.in:166: -1- AH_OUTPUT([HAVE_OPENSSL], [/* define to use openssl\'s libcrypto */
++#undef HAVE_OPENSSL])
++m4trace:configure.in:166: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OLD_HASH_NAMES])
++m4trace:configure.in:166: -1- AH_OUTPUT([HAVE_OLD_HASH_NAMES], [/* define if you have hash functions like md4_finito() */
++#undef HAVE_OLD_HASH_NAMES])
++m4trace:configure.in:166: -1- AM_CONDITIONAL([HAVE_OPENSSL], [test "$openssl" = yes])
++m4trace:configure.in:166: -1- AC_SUBST([HAVE_OPENSSL_TRUE])
++m4trace:configure.in:166: -1- AC_SUBST([HAVE_OPENSSL_FALSE])
++m4trace:configure.in:166: -1- AC_SUBST([DIR_des])
++m4trace:configure.in:166: -1- AC_SUBST([INCLUDE_des])
++m4trace:configure.in:166: -1- AC_SUBST([LIB_des])
++m4trace:configure.in:166: -1- AC_SUBST([LIB_des_a])
++m4trace:configure.in:166: -1- AC_SUBST([LIB_des_so])
++m4trace:configure.in:166: -1- AC_SUBST([LIB_des_appl])
++m4trace:configure.in:169: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++configure.in:169: the top level])
++m4trace:configure.in:171: -1- AC_DEFINE_TRACE_LITERAL([DCE])
++m4trace:configure.in:171: -1- AH_OUTPUT([DCE], [/* Define if you want support for DCE/DFS PAG\'s. */
++#undef DCE])
++m4trace:configure.in:173: -1- AM_CONDITIONAL([DCE], [test "$enable_dce" = yes])
++m4trace:configure.in:173: -1- AC_SUBST([DCE_TRUE])
++m4trace:configure.in:173: -1- AC_SUBST([DCE_FALSE])
++m4trace:configure.in:185: -1- AC_SUBST([dpagaix_cflags])
++m4trace:configure.in:186: -1- AC_SUBST([dpagaix_ldadd])
++m4trace:configure.in:187: -1- AC_SUBST([dpagaix_ldflags])
++m4trace:configure.in:189: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:7662: rk_DB is expanded from...
++configure.in:189: the top level])
++m4trace:configure.in:189: -1- AC_CHECK_HEADERS([				\
++	db4/db.h				\
++	db3/db.h				\
++	db.h					\
++	db_185.h				\
++  ])
++m4trace:configure.in:189: -1- AH_OUTPUT([HAVE_DB4_DB_H], [/* Define to 1 if you have the <db4/db.h> header file. */
++#undef HAVE_DB4_DB_H])
++m4trace:configure.in:189: -1- AH_OUTPUT([HAVE_DB3_DB_H], [/* Define to 1 if you have the <db3/db.h> header file. */
++#undef HAVE_DB3_DB_H])
++m4trace:configure.in:189: -1- AH_OUTPUT([HAVE_DB_H], [/* Define to 1 if you have the <db.h> header file. */
++#undef HAVE_DB_H])
++m4trace:configure.in:189: -1- AH_OUTPUT([HAVE_DB_185_H], [/* Define to 1 if you have the <db_185.h> header file. */
++#undef HAVE_DB_185_H])
++m4trace:configure.in:189: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7216: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7152: AC_FIND_FUNC_NO_LIBS is expanded from...
++aclocal.m4:7662: rk_DB is expanded from...
++configure.in:189: the top level])
++m4trace:configure.in:189: -1- AC_CHECK_FUNCS([db_create])
++m4trace:configure.in:189: -1- AH_OUTPUT([HAVE_DB_CREATE], [/* Define to 1 if you have the `db_create\' function. */
++#undef HAVE_DB_CREATE])
++m4trace:configure.in:189: -1- AC_SUBST([LIB_db_create])
++m4trace:configure.in:189: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DB3])
++m4trace:configure.in:189: -1- AH_OUTPUT([HAVE_DB3], [/* define if you have a berkeley db3/4 library */
++#undef HAVE_DB3])
++m4trace:configure.in:189: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7216: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7152: AC_FIND_FUNC_NO_LIBS is expanded from...
++aclocal.m4:7662: rk_DB is expanded from...
++configure.in:189: the top level])
++m4trace:configure.in:189: -1- AC_CHECK_FUNCS([dbopen])
++m4trace:configure.in:189: -1- AH_OUTPUT([HAVE_DBOPEN], [/* Define to 1 if you have the `dbopen\' function. */
++#undef HAVE_DBOPEN])
++m4trace:configure.in:189: -1- AC_SUBST([LIB_dbopen])
++m4trace:configure.in:189: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DB1])
++m4trace:configure.in:189: -1- AH_OUTPUT([HAVE_DB1], [/* define if you have a berkeley db1/2 library */
++#undef HAVE_DB1])
++m4trace:configure.in:189: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7216: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7662: rk_DB is expanded from...
++configure.in:189: the top level])
++m4trace:configure.in:189: -1- AC_CHECK_FUNCS([dbm_firstkey])
++m4trace:configure.in:189: -1- AH_OUTPUT([HAVE_DBM_FIRSTKEY], [/* Define to 1 if you have the `dbm_firstkey\' function. */
++#undef HAVE_DBM_FIRSTKEY])
++m4trace:configure.in:189: -1- AC_SUBST([LIB_dbm_firstkey])
++m4trace:configure.in:189: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DB_NDBM])
++m4trace:configure.in:189: -1- AH_OUTPUT([HAVE_DB_NDBM], [/* define if you have ndbm compat in db */
++#undef HAVE_DB_NDBM])
++m4trace:configure.in:189: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NEW_DB])
++m4trace:configure.in:189: -1- AH_OUTPUT([HAVE_NEW_DB], [/* Define if NDBM really is DB (creates files *.db) */
++#undef HAVE_NEW_DB])
++m4trace:configure.in:189: -1- AC_CHECK_HEADERS([				\
++	dbm.h					\
++	ndbm.h					\
++  ])
++m4trace:configure.in:189: -1- AH_OUTPUT([HAVE_DBM_H], [/* Define to 1 if you have the <dbm.h> header file. */
++#undef HAVE_DBM_H])
++m4trace:configure.in:189: -1- AH_OUTPUT([HAVE_NDBM_H], [/* Define to 1 if you have the <ndbm.h> header file. */
++#undef HAVE_NDBM_H])
++m4trace:configure.in:189: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7216: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7152: AC_FIND_FUNC_NO_LIBS is expanded from...
++aclocal.m4:7662: rk_DB is expanded from...
++configure.in:189: the top level])
++m4trace:configure.in:189: -1- AC_CHECK_FUNCS([dbm_firstkey])
++m4trace:configure.in:189: -1- AH_OUTPUT([HAVE_DBM_FIRSTKEY], [/* Define to 1 if you have the `dbm_firstkey\' function. */
++#undef HAVE_DBM_FIRSTKEY])
++m4trace:configure.in:189: -1- AC_SUBST([LIB_dbm_firstkey])
++m4trace:configure.in:189: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NDBM])
++m4trace:configure.in:189: -1- AH_OUTPUT([HAVE_NDBM], [/* define if you have a ndbm library */
++#undef HAVE_NDBM])
++m4trace:configure.in:189: -1- AC_CHECK_HEADERS([				\
++	  gdbm/ndbm.h				\
++    ])
++m4trace:configure.in:189: -1- AH_OUTPUT([HAVE_GDBM_NDBM_H], [/* Define to 1 if you have the <gdbm/ndbm.h> header file. */
++#undef HAVE_GDBM_NDBM_H])
++m4trace:configure.in:189: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7216: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7152: AC_FIND_FUNC_NO_LIBS is expanded from...
++aclocal.m4:7662: rk_DB is expanded from...
++configure.in:189: the top level])
++m4trace:configure.in:189: -1- AC_CHECK_FUNCS([dbm_firstkey])
++m4trace:configure.in:189: -1- AH_OUTPUT([HAVE_DBM_FIRSTKEY], [/* Define to 1 if you have the `dbm_firstkey\' function. */
++#undef HAVE_DBM_FIRSTKEY])
++m4trace:configure.in:189: -1- AC_SUBST([LIB_dbm_firstkey])
++m4trace:configure.in:189: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NDBM])
++m4trace:configure.in:189: -1- AH_OUTPUT([HAVE_NDBM], [/* define if you have a ndbm library */
++#undef HAVE_NDBM])
++m4trace:configure.in:189: -1- _m4_warn([obsolete], [The macro `AC_TRY_RUN' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2289: AC_TRY_RUN is expanded from...
++aclocal.m4:7662: rk_DB is expanded from...
++configure.in:189: the top level])
++m4trace:configure.in:189: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [autoconf/general.m4:2281: AC_RUN_IFELSE is expanded from...
++autoconf/general.m4:2289: AC_TRY_RUN is expanded from...
++aclocal.m4:7662: rk_DB is expanded from...
++configure.in:189: the top level])
++m4trace:configure.in:189: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NEW_DB])
++m4trace:configure.in:189: -1- AH_OUTPUT([HAVE_NEW_DB], [/* Define if NDBM really is DB (creates files *.db) */
++#undef HAVE_NEW_DB])
++m4trace:configure.in:189: -1- AM_CONDITIONAL([HAVE_DB1], [test "$db_type" = db1])
++m4trace:configure.in:189: -1- AC_SUBST([HAVE_DB1_TRUE])
++m4trace:configure.in:189: -1- AC_SUBST([HAVE_DB1_FALSE])
++m4trace:configure.in:189: -1- AM_CONDITIONAL([HAVE_DB3], [test "$db_type" = db3])
++m4trace:configure.in:189: -1- AC_SUBST([HAVE_DB3_TRUE])
++m4trace:configure.in:189: -1- AC_SUBST([HAVE_DB3_FALSE])
++m4trace:configure.in:189: -1- AM_CONDITIONAL([HAVE_NDBM], [test "$db_type" = ndbm])
++m4trace:configure.in:189: -1- AC_SUBST([HAVE_NDBM_TRUE])
++m4trace:configure.in:189: -1- AC_SUBST([HAVE_NDBM_FALSE])
++m4trace:configure.in:189: -1- AC_SUBST([DBLIB])
++m4trace:configure.in:189: -1- AC_SUBST([LIB_NDBM])
++m4trace:configure.in:191: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:7728: AC_ROKEN is expanded from...
++configure.in:191: the top level])
++m4trace:configure.in:191: -1- _m4_warn([obsolete], [The macro `AC_TRY_CPP' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2107: AC_TRY_CPP is expanded from...
++aclocal.m4:7728: AC_ROKEN is expanded from...
++configure.in:191: the top level])
++m4trace:configure.in:191: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7216: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7152: AC_FIND_FUNC_NO_LIBS is expanded from...
++aclocal.m4:7728: AC_ROKEN is expanded from...
++configure.in:191: the top level])
++m4trace:configure.in:191: -1- AC_CHECK_FUNCS([crypt])
++m4trace:configure.in:191: -1- AH_OUTPUT([HAVE_CRYPT], [/* Define to 1 if you have the `crypt\' function. */
++#undef HAVE_CRYPT])
++m4trace:configure.in:191: -1- AC_SUBST([LIB_crypt])
++m4trace:configure.in:191: -1- AC_SUBST([LIB_roken])
++m4trace:configure.in:191: -1- AC_SUBST([DIR_roken])
++m4trace:configure.in:191: -1- AC_SUBST([CPPFLAGS_roken])
++m4trace:configure.in:193: -1- AH_OUTPUT([00004], [#ifndef RCSID
++#define RCSID(msg) \\
++static /**/const char *const rcsid[] = { (const char *)rcsid, "@(#)" msg }
++#endif
++
++/* Maximum values on all known systems */
++#define MaxHostNameLen (64+4)
++#define MaxPathLen (1024+4)
++
++])
++m4trace:configure.in:193: -1- AC_C_INLINE
++m4trace:configure.in:193: -1- AH_OUTPUT([inline], [/* Define to `__inline__\' or `__inline\' if that\'s what the C compiler
++   calls it, or to nothing if \'inline\' is not supported under any name.  */
++#ifndef __cplusplus
++#undef inline
++#endif])
++m4trace:configure.in:193: -1- AC_C_CONST
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([const])
++m4trace:configure.in:193: -1- AH_OUTPUT([const], [/* Define to empty if `const\' does not conform to ANSI C. */
++#undef const])
++m4trace:configure.in:193: -1- AC_SUBST([WFLAGS])
++m4trace:configure.in:193: -1- AC_SUBST([WFLAGS_NOUNUSED])
++m4trace:configure.in:193: -1- AC_SUBST([WFLAGS_NOIMPLICITINT])
++m4trace:configure.in:193: -1- AC_TYPE_SIZE_T
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([size_t])
++m4trace:configure.in:193: -1- AH_OUTPUT([size_t], [/* Define to `unsigned\' if <sys/types.h> does not define. */
++#undef size_t])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8411: AC_HAVE_TYPE is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_CHECK_TYPES([ssize_t])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SSIZE_T])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SSIZE_T], [/* Define to 1 if the system has the type `ssize_t\'. */
++#undef HAVE_SSIZE_T])
++m4trace:configure.in:193: -1- AC_TYPE_PID_T
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([pid_t])
++m4trace:configure.in:193: -1- AH_OUTPUT([pid_t], [/* Define to `int\' if <sys/types.h> does not define. */
++#undef pid_t])
++m4trace:configure.in:193: -1- AC_TYPE_UID_T
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([uid_t])
++m4trace:configure.in:193: -1- AH_OUTPUT([uid_t], [/* Define to `int\' if <sys/types.h> doesn\'t define. */
++#undef uid_t])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([gid_t])
++m4trace:configure.in:193: -1- AH_OUTPUT([gid_t], [/* Define to `int\' if <sys/types.h> doesn\'t define. */
++#undef gid_t])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8411: AC_HAVE_TYPE is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_CHECK_TYPES([long long])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LONG_LONG])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_LONG_LONG], [/* Define to 1 if the system has the type `long long\'. */
++#undef HAVE_LONG_LONG])
++m4trace:configure.in:193: -1- AC_TYPE_SIGNAL
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([RETSIGTYPE])
++m4trace:configure.in:193: -1- AH_OUTPUT([RETSIGTYPE], [/* Define as the return type of signal handlers (`int\' or `void\'). */
++#undef RETSIGTYPE])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([VOID_RETSIGTYPE])
++m4trace:configure.in:193: -1- AH_OUTPUT([VOID_RETSIGTYPE], [/* Define if signal handlers return void. */
++#undef VOID_RETSIGTYPE])
++m4trace:configure.in:193: -1- AC_SUBST([VOID_RETSIGTYPE])
++m4trace:configure.in:193: -1- AH_OUTPUT([zzzz5], [#ifdef VOID_RETSIGTYPE
++#define SIGRETURN(x) return
++#else
++#define SIGRETURN(x) return (RETSIGTYPE)(x)
++#endif])
++m4trace:configure.in:193: -1- AC_HEADER_TIME
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([TIME_WITH_SYS_TIME])
++m4trace:configure.in:193: -1- AH_OUTPUT([TIME_WITH_SYS_TIME], [/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
++#undef TIME_WITH_SYS_TIME])
++m4trace:configure.in:193: -1- AC_CHECK_HEADERS([\
++	arpa/inet.h				\
++	arpa/nameser.h				\
++	config.h				\
++	crypt.h					\
++	dirent.h				\
++	errno.h					\
++	err.h					\
++	fcntl.h					\
++	grp.h					\
++	ifaddrs.h				\
++	net/if.h				\
++	netdb.h					\
++	netinet/in.h				\
++	netinet/in6.h				\
++	netinet/in_systm.h			\
++	netinet6/in6.h				\
++	netinet6/in6_var.h			\
++	paths.h					\
++	pwd.h					\
++	resolv.h				\
++	rpcsvc/ypclnt.h				\
++	shadow.h				\
++	sys/bswap.h				\
++	sys/ioctl.h				\
++	sys/mman.h				\
++	sys/param.h				\
++	sys/proc.h				\
++	sys/resource.h				\
++	sys/socket.h				\
++	sys/sockio.h				\
++	sys/stat.h				\
++	sys/sysctl.h				\
++	sys/time.h				\
++	sys/tty.h				\
++	sys/types.h				\
++	sys/uio.h				\
++	sys/utsname.h				\
++	sys/wait.h				\
++	syslog.h				\
++	termios.h				\
++	unistd.h				\
++	userconf.h				\
++	usersec.h				\
++	util.h					\
++	vis.h					\
++])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_ARPA_INET_H], [/* Define to 1 if you have the <arpa/inet.h> header file. */
++#undef HAVE_ARPA_INET_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_ARPA_NAMESER_H], [/* Define to 1 if you have the <arpa/nameser.h> header file. */
++#undef HAVE_ARPA_NAMESER_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_CONFIG_H], [/* Define to 1 if you have the <config.h> header file. */
++#undef HAVE_CONFIG_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_CRYPT_H], [/* Define to 1 if you have the <crypt.h> header file. */
++#undef HAVE_CRYPT_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_DIRENT_H], [/* Define to 1 if you have the <dirent.h> header file. */
++#undef HAVE_DIRENT_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_ERRNO_H], [/* Define to 1 if you have the <errno.h> header file. */
++#undef HAVE_ERRNO_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_ERR_H], [/* Define to 1 if you have the <err.h> header file. */
++#undef HAVE_ERR_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_FCNTL_H], [/* Define to 1 if you have the <fcntl.h> header file. */
++#undef HAVE_FCNTL_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GRP_H], [/* Define to 1 if you have the <grp.h> header file. */
++#undef HAVE_GRP_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_IFADDRS_H], [/* Define to 1 if you have the <ifaddrs.h> header file. */
++#undef HAVE_IFADDRS_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_NET_IF_H], [/* Define to 1 if you have the <net/if.h> header file. */
++#undef HAVE_NET_IF_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_NETDB_H], [/* Define to 1 if you have the <netdb.h> header file. */
++#undef HAVE_NETDB_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_NETINET_IN_H], [/* Define to 1 if you have the <netinet/in.h> header file. */
++#undef HAVE_NETINET_IN_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_NETINET_IN6_H], [/* Define to 1 if you have the <netinet/in6.h> header file. */
++#undef HAVE_NETINET_IN6_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_NETINET_IN_SYSTM_H], [/* Define to 1 if you have the <netinet/in_systm.h> header file. */
++#undef HAVE_NETINET_IN_SYSTM_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_NETINET6_IN6_H], [/* Define to 1 if you have the <netinet6/in6.h> header file. */
++#undef HAVE_NETINET6_IN6_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_NETINET6_IN6_VAR_H], [/* Define to 1 if you have the <netinet6/in6_var.h> header file. */
++#undef HAVE_NETINET6_IN6_VAR_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_PATHS_H], [/* Define to 1 if you have the <paths.h> header file. */
++#undef HAVE_PATHS_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_PWD_H], [/* Define to 1 if you have the <pwd.h> header file. */
++#undef HAVE_PWD_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_RESOLV_H], [/* Define to 1 if you have the <resolv.h> header file. */
++#undef HAVE_RESOLV_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_RPCSVC_YPCLNT_H], [/* Define to 1 if you have the <rpcsvc/ypclnt.h> header file. */
++#undef HAVE_RPCSVC_YPCLNT_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SHADOW_H], [/* Define to 1 if you have the <shadow.h> header file. */
++#undef HAVE_SHADOW_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SYS_BSWAP_H], [/* Define to 1 if you have the <sys/bswap.h> header file. */
++#undef HAVE_SYS_BSWAP_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SYS_IOCTL_H], [/* Define to 1 if you have the <sys/ioctl.h> header file. */
++#undef HAVE_SYS_IOCTL_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SYS_MMAN_H], [/* Define to 1 if you have the <sys/mman.h> header file. */
++#undef HAVE_SYS_MMAN_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SYS_PARAM_H], [/* Define to 1 if you have the <sys/param.h> header file. */
++#undef HAVE_SYS_PARAM_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SYS_PROC_H], [/* Define to 1 if you have the <sys/proc.h> header file. */
++#undef HAVE_SYS_PROC_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SYS_RESOURCE_H], [/* Define to 1 if you have the <sys/resource.h> header file. */
++#undef HAVE_SYS_RESOURCE_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SYS_SOCKET_H], [/* Define to 1 if you have the <sys/socket.h> header file. */
++#undef HAVE_SYS_SOCKET_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SYS_SOCKIO_H], [/* Define to 1 if you have the <sys/sockio.h> header file. */
++#undef HAVE_SYS_SOCKIO_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the <sys/stat.h> header file. */
++#undef HAVE_SYS_STAT_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SYS_SYSCTL_H], [/* Define to 1 if you have the <sys/sysctl.h> header file. */
++#undef HAVE_SYS_SYSCTL_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SYS_TIME_H], [/* Define to 1 if you have the <sys/time.h> header file. */
++#undef HAVE_SYS_TIME_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SYS_TTY_H], [/* Define to 1 if you have the <sys/tty.h> header file. */
++#undef HAVE_SYS_TTY_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the <sys/types.h> header file. */
++#undef HAVE_SYS_TYPES_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SYS_UIO_H], [/* Define to 1 if you have the <sys/uio.h> header file. */
++#undef HAVE_SYS_UIO_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SYS_UTSNAME_H], [/* Define to 1 if you have the <sys/utsname.h> header file. */
++#undef HAVE_SYS_UTSNAME_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SYS_WAIT_H], [/* Define to 1 if you have the <sys/wait.h> header file. */
++#undef HAVE_SYS_WAIT_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SYSLOG_H], [/* Define to 1 if you have the <syslog.h> header file. */
++#undef HAVE_SYSLOG_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_TERMIOS_H], [/* Define to 1 if you have the <termios.h> header file. */
++#undef HAVE_TERMIOS_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
++#undef HAVE_UNISTD_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_USERCONF_H], [/* Define to 1 if you have the <userconf.h> header file. */
++#undef HAVE_USERCONF_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_USERSEC_H], [/* Define to 1 if you have the <usersec.h> header file. */
++#undef HAVE_USERSEC_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_UTIL_H], [/* Define to 1 if you have the <util.h> header file. */
++#undef HAVE_UTIL_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_VIS_H], [/* Define to 1 if you have the <vis.h> header file. */
++#undef HAVE_VIS_H])
++m4trace:configure.in:193: -1- AC_CHECK_HEADERS([standards.h])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STANDARDS_H], [/* Define to 1 if you have the <standards.h> header file. */
++#undef HAVE_STANDARDS_H])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_CPP' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2107: AC_TRY_CPP is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
++aclocal.m4:8463: CHECK_NETINET_IP_AND_TCP is expanded from...
++configure.in:193: CHECK_NETINET_IP_AND_TCP is required by...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_CHECK_HEADERS([netinet/ip.h netinet/tcp.h])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_NETINET_IP_H], [/* Define to 1 if you have the <netinet/ip.h> header file. */
++#undef HAVE_NETINET_IP_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_NETINET_TCP_H], [/* Define to 1 if you have the <netinet/tcp.h> header file. */
++#undef HAVE_NETINET_TCP_H])
++m4trace:configure.in:193: -1- AM_CONDITIONAL([have_err_h], [test "$ac_cv_header_err_h" = yes])
++m4trace:configure.in:193: -1- AC_SUBST([have_err_h_TRUE])
++m4trace:configure.in:193: -1- AC_SUBST([have_err_h_FALSE])
++m4trace:configure.in:193: -1- AM_CONDITIONAL([have_fnmatch_h], [test "$ac_cv_header_fnmatch_h" = yes])
++m4trace:configure.in:193: -1- AC_SUBST([have_fnmatch_h_TRUE])
++m4trace:configure.in:193: -1- AC_SUBST([have_fnmatch_h_FALSE])
++m4trace:configure.in:193: -1- AM_CONDITIONAL([have_ifaddrs_h], [test "$ac_cv_header_ifaddrs_h" = yes])
++m4trace:configure.in:193: -1- AC_SUBST([have_ifaddrs_h_TRUE])
++m4trace:configure.in:193: -1- AC_SUBST([have_ifaddrs_h_FALSE])
++m4trace:configure.in:193: -1- AM_CONDITIONAL([have_vis_h], [test "$ac_cv_header_vis_h" = yes])
++m4trace:configure.in:193: -1- AC_SUBST([have_vis_h_TRUE])
++m4trace:configure.in:193: -1- AC_SUBST([have_vis_h_FALSE])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7216: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7152: AC_FIND_FUNC_NO_LIBS is expanded from...
++aclocal.m4:7142: AC_FIND_FUNC is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_CHECK_FUNCS([socket])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SOCKET], [/* Define to 1 if you have the `socket\' function. */
++#undef HAVE_SOCKET])
++m4trace:configure.in:193: -1- AC_SUBST([LIB_socket])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7216: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7152: AC_FIND_FUNC_NO_LIBS is expanded from...
++aclocal.m4:7142: AC_FIND_FUNC is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_CHECK_FUNCS([gethostbyname])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GETHOSTBYNAME], [/* Define to 1 if you have the `gethostbyname\' function. */
++#undef HAVE_GETHOSTBYNAME])
++m4trace:configure.in:193: -1- AC_SUBST([LIB_gethostbyname])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7216: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7152: AC_FIND_FUNC_NO_LIBS is expanded from...
++aclocal.m4:7142: AC_FIND_FUNC is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_CHECK_FUNCS([syslog])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SYSLOG], [/* Define to 1 if you have the `syslog\' function. */
++#undef HAVE_SYSLOG])
++m4trace:configure.in:193: -1- AC_SUBST([LIB_syslog])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:8612: AC_KRB_IPV6 is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
++aclocal.m4:8612: AC_KRB_IPV6 is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_IPV6])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_IPV6], [/* Define if you have IPv6. */
++#undef HAVE_IPV6])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
++aclocal.m4:8612: AC_KRB_IPV6 is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_IN6ADDR_LOOPBACK])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_IN6ADDR_LOOPBACK], [/* Define if you have the in6addr_loopback variable */
++#undef HAVE_IN6ADDR_LOOPBACK])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7216: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7152: AC_FIND_FUNC_NO_LIBS is expanded from...
++aclocal.m4:7142: AC_FIND_FUNC is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_CHECK_FUNCS([gethostbyname2])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GETHOSTBYNAME2], [/* Define to 1 if you have the `gethostbyname2\' function. */
++#undef HAVE_GETHOSTBYNAME2])
++m4trace:configure.in:193: -1- AC_SUBST([LIB_gethostbyname2])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7216: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7152: AC_FIND_FUNC_NO_LIBS is expanded from...
++aclocal.m4:7142: AC_FIND_FUNC is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_CHECK_FUNCS([res_search])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_RES_SEARCH], [/* Define to 1 if you have the `res_search\' function. */
++#undef HAVE_RES_SEARCH])
++m4trace:configure.in:193: -1- AC_SUBST([LIB_res_search])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7216: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7152: AC_FIND_FUNC_NO_LIBS is expanded from...
++aclocal.m4:7142: AC_FIND_FUNC is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_CHECK_FUNCS([res_nsearch])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_RES_NSEARCH], [/* Define to 1 if you have the `res_nsearch\' function. */
++#undef HAVE_RES_NSEARCH])
++m4trace:configure.in:193: -1- AC_SUBST([LIB_res_nsearch])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7216: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7152: AC_FIND_FUNC_NO_LIBS is expanded from...
++aclocal.m4:7142: AC_FIND_FUNC is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_CHECK_FUNCS([dn_expand])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_DN_EXPAND], [/* Define to 1 if you have the `dn_expand\' function. */
++#undef HAVE_DN_EXPAND])
++m4trace:configure.in:193: -1- AC_SUBST([LIB_dn_expand])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:8638: rk_CHECK_VAR is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:8638: rk_CHECK_VAR is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE__RES])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE__RES], [/* Define if you have the `_res\' variable. */
++#undef HAVE__RES])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:8667: AC_CHECK_DECLARATION is expanded from...
++aclocal.m4:8638: rk_CHECK_VAR is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -2- AC_DEFINE_TRACE_LITERAL([HAVE__RES_DECLARATION])
++m4trace:configure.in:193: -2- AH_OUTPUT([HAVE__RES_DECLARATION], [/* define if your system declares _res */
++#undef HAVE__RES_DECLARATION])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_RUN' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2289: AC_TRY_RUN is expanded from...
++aclocal.m4:8690: AC_BROKEN_SNPRINTF is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SNPRINTF])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SNPRINTF], [/* define if you have a working snprintf */
++#undef HAVE_SNPRINTF])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8747: AC_NEED_PROTO is expanded from...
++aclocal.m4:8690: AC_BROKEN_SNPRINTF is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([NEED_SNPRINTF_PROTO])
++m4trace:configure.in:193: -1- AH_OUTPUT([NEED_SNPRINTF_PROTO], [/* define if the system is missing a prototype for snprintf() */
++#undef NEED_SNPRINTF_PROTO])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_RUN' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2289: AC_TRY_RUN is expanded from...
++aclocal.m4:8722: AC_BROKEN_VSNPRINTF is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_VSNPRINTF])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_VSNPRINTF], [/* define if you have a working vsnprintf */
++#undef HAVE_VSNPRINTF])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8747: AC_NEED_PROTO is expanded from...
++aclocal.m4:8722: AC_BROKEN_VSNPRINTF is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([NEED_VSNPRINTF_PROTO])
++m4trace:configure.in:193: -1- AH_OUTPUT([NEED_VSNPRINTF_PROTO], [/* define if the system is missing a prototype for vsnprintf() */
++#undef NEED_VSNPRINTF_PROTO])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++aclocal.m4:8777: AC_BROKEN_GLOB is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GLOB])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GLOB], [/* define if you have a glob() that groks GLOB_BRACE, GLOB_NOCHECK,
++   GLOB_QUOTE, GLOB_TILDE, and GLOB_LIMIT */
++#undef HAVE_GLOB])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8747: AC_NEED_PROTO is expanded from...
++aclocal.m4:8777: AC_BROKEN_GLOB is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([NEED_GLOB_PROTO])
++m4trace:configure.in:193: -1- AH_OUTPUT([NEED_GLOB_PROTO], [/* define if the system is missing a prototype for glob() */
++#undef NEED_GLOB_PROTO])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([glob.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AM_CONDITIONAL([have_glob_h], [test "$ac_cv_func_glob_working" = yes])
++m4trace:configure.in:193: -1- AC_SUBST([have_glob_h_TRUE])
++m4trace:configure.in:193: -1- AC_SUBST([have_glob_h_FALSE])
++m4trace:configure.in:193: -1- AC_CHECK_FUNCS([				\
++	asnprintf				\
++	asprintf				\
++	atexit					\
++	cgetent					\
++	getconfattr				\
++	getprogname				\
++	getrlimit				\
++	getspnam				\
++	initstate				\
++	issetugid				\
++	on_exit					\
++	random					\
++	setprogname				\
++	setstate				\
++	strsvis					\
++	strunvis				\
++	strvis					\
++	strvisx					\
++	svis					\
++	sysconf					\
++	sysctl					\
++	uname					\
++	unvis					\
++	vasnprintf				\
++	vasprintf				\
++	vis					\
++])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_ASNPRINTF], [/* Define to 1 if you have the `asnprintf\' function. */
++#undef HAVE_ASNPRINTF])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_ASPRINTF], [/* Define to 1 if you have the `asprintf\' function. */
++#undef HAVE_ASPRINTF])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_ATEXIT], [/* Define to 1 if you have the `atexit\' function. */
++#undef HAVE_ATEXIT])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_CGETENT], [/* Define to 1 if you have the `cgetent\' function. */
++#undef HAVE_CGETENT])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GETCONFATTR], [/* Define to 1 if you have the `getconfattr\' function. */
++#undef HAVE_GETCONFATTR])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GETPROGNAME], [/* Define to 1 if you have the `getprogname\' function. */
++#undef HAVE_GETPROGNAME])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GETRLIMIT], [/* Define to 1 if you have the `getrlimit\' function. */
++#undef HAVE_GETRLIMIT])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GETSPNAM], [/* Define to 1 if you have the `getspnam\' function. */
++#undef HAVE_GETSPNAM])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_INITSTATE], [/* Define to 1 if you have the `initstate\' function. */
++#undef HAVE_INITSTATE])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_ISSETUGID], [/* Define to 1 if you have the `issetugid\' function. */
++#undef HAVE_ISSETUGID])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_ON_EXIT], [/* Define to 1 if you have the `on_exit\' function. */
++#undef HAVE_ON_EXIT])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_RANDOM], [/* Define to 1 if you have the `random\' function. */
++#undef HAVE_RANDOM])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SETPROGNAME], [/* Define to 1 if you have the `setprogname\' function. */
++#undef HAVE_SETPROGNAME])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SETSTATE], [/* Define to 1 if you have the `setstate\' function. */
++#undef HAVE_SETSTATE])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRSVIS], [/* Define to 1 if you have the `strsvis\' function. */
++#undef HAVE_STRSVIS])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRUNVIS], [/* Define to 1 if you have the `strunvis\' function. */
++#undef HAVE_STRUNVIS])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRVIS], [/* Define to 1 if you have the `strvis\' function. */
++#undef HAVE_STRVIS])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRVISX], [/* Define to 1 if you have the `strvisx\' function. */
++#undef HAVE_STRVISX])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SVIS], [/* Define to 1 if you have the `svis\' function. */
++#undef HAVE_SVIS])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SYSCONF], [/* Define to 1 if you have the `sysconf\' function. */
++#undef HAVE_SYSCONF])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SYSCTL], [/* Define to 1 if you have the `sysctl\' function. */
++#undef HAVE_SYSCTL])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_UNAME], [/* Define to 1 if you have the `uname\' function. */
++#undef HAVE_UNAME])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_UNVIS], [/* Define to 1 if you have the `unvis\' function. */
++#undef HAVE_UNVIS])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_VASNPRINTF], [/* Define to 1 if you have the `vasnprintf\' function. */
++#undef HAVE_VASNPRINTF])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_VASPRINTF], [/* Define to 1 if you have the `vasprintf\' function. */
++#undef HAVE_VASPRINTF])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_VIS], [/* Define to 1 if you have the `vis\' function. */
++#undef HAVE_VIS])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([getcap.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_CHECK_FUNCS([getlogin setlogin])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GETLOGIN], [/* Define to 1 if you have the `getlogin\' function. */
++#undef HAVE_GETLOGIN])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SETLOGIN], [/* Define to 1 if you have the `setlogin\' function. */
++#undef HAVE_SETLOGIN])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([POSIX_GETLOGIN])
++m4trace:configure.in:193: -1- AH_OUTPUT([POSIX_GETLOGIN], [/* Define if getlogin has POSIX flavour (and not BSD). */
++#undef POSIX_GETLOGIN])
++m4trace:configure.in:193: -1- AC_FUNC_MMAP
++m4trace:configure.in:193: -1- AC_CHECK_HEADERS([stdlib.h unistd.h])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
++#undef HAVE_STDLIB_H])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
++#undef HAVE_UNISTD_H])
++m4trace:configure.in:193: -1- AC_CHECK_FUNCS([getpagesize])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GETPAGESIZE], [/* Define to 1 if you have the `getpagesize\' function. */
++#undef HAVE_GETPAGESIZE])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MMAP])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_MMAP], [/* Define to 1 if you have a working `mmap\' system call. */
++#undef HAVE_MMAP])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7216: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7152: AC_FIND_FUNC_NO_LIBS is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_CHECK_FUNCS([getsockopt])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GETSOCKOPT], [/* Define to 1 if you have the `getsockopt\' function. */
++#undef HAVE_GETSOCKOPT])
++m4trace:configure.in:193: -1- AC_SUBST([LIB_getsockopt])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7216: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7152: AC_FIND_FUNC_NO_LIBS is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_CHECK_FUNCS([setsockopt])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SETSOCKOPT], [/* Define to 1 if you have the `setsockopt\' function. */
++#undef HAVE_SETSOCKOPT])
++m4trace:configure.in:193: -1- AC_SUBST([LIB_setsockopt])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7216: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7152: AC_FIND_FUNC_NO_LIBS is expanded from...
++aclocal.m4:7142: AC_FIND_FUNC is expanded from...
++aclocal.m4:8813: AC_FIND_IF_NOT_BROKEN is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_CHECK_FUNCS([hstrerror])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_HSTRERROR], [/* Define to 1 if you have the `hstrerror\' function. */
++#undef HAVE_HSTRERROR])
++m4trace:configure.in:193: -1- AC_SUBST([LIB_hstrerror])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([hstrerror.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8747: AC_NEED_PROTO is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([NEED_HSTRERROR_PROTO])
++m4trace:configure.in:193: -1- AH_OUTPUT([NEED_HSTRERROR_PROTO], [/* define if the system is missing a prototype for hstrerror() */
++#undef NEED_HSTRERROR_PROTO])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8747: AC_NEED_PROTO is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([NEED_ASPRINTF_PROTO])
++m4trace:configure.in:193: -1- AH_OUTPUT([NEED_ASPRINTF_PROTO], [/* define if the system is missing a prototype for asprintf() */
++#undef NEED_ASPRINTF_PROTO])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8747: AC_NEED_PROTO is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([NEED_VASPRINTF_PROTO])
++m4trace:configure.in:193: -1- AH_OUTPUT([NEED_VASPRINTF_PROTO], [/* define if the system is missing a prototype for vasprintf() */
++#undef NEED_VASPRINTF_PROTO])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8747: AC_NEED_PROTO is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([NEED_ASNPRINTF_PROTO])
++m4trace:configure.in:193: -1- AH_OUTPUT([NEED_ASNPRINTF_PROTO], [/* define if the system is missing a prototype for asnprintf() */
++#undef NEED_ASNPRINTF_PROTO])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8747: AC_NEED_PROTO is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([NEED_VASNPRINTF_PROTO])
++m4trace:configure.in:193: -1- AH_OUTPUT([NEED_VASNPRINTF_PROTO], [/* define if the system is missing a prototype for vasnprintf() */
++#undef NEED_VASNPRINTF_PROTO])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7216: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7152: AC_FIND_FUNC_NO_LIBS is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_CHECK_FUNCS([bswap16])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_BSWAP16], [/* Define to 1 if you have the `bswap16\' function. */
++#undef HAVE_BSWAP16])
++m4trace:configure.in:193: -1- AC_SUBST([LIB_bswap16])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7216: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7152: AC_FIND_FUNC_NO_LIBS is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_CHECK_FUNCS([bswap32])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_BSWAP32], [/* Define to 1 if you have the `bswap32\' function. */
++#undef HAVE_BSWAP32])
++m4trace:configure.in:193: -1- AC_SUBST([LIB_bswap32])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7216: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7152: AC_FIND_FUNC_NO_LIBS is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_CHECK_FUNCS([pidfile])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_PIDFILE], [/* Define to 1 if you have the `pidfile\' function. */
++#undef HAVE_PIDFILE])
++m4trace:configure.in:193: -1- AC_SUBST([LIB_pidfile])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7216: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7152: AC_FIND_FUNC_NO_LIBS is expanded from...
++aclocal.m4:7142: AC_FIND_FUNC is expanded from...
++aclocal.m4:8813: AC_FIND_IF_NOT_BROKEN is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_CHECK_FUNCS([getaddrinfo])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GETADDRINFO], [/* Define to 1 if you have the `getaddrinfo\' function. */
++#undef HAVE_GETADDRINFO])
++m4trace:configure.in:193: -1- AC_SUBST([LIB_getaddrinfo])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([getaddrinfo.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7216: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7152: AC_FIND_FUNC_NO_LIBS is expanded from...
++aclocal.m4:7142: AC_FIND_FUNC is expanded from...
++aclocal.m4:8813: AC_FIND_IF_NOT_BROKEN is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_CHECK_FUNCS([getnameinfo])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GETNAMEINFO], [/* Define to 1 if you have the `getnameinfo\' function. */
++#undef HAVE_GETNAMEINFO])
++m4trace:configure.in:193: -1- AC_SUBST([LIB_getnameinfo])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([getnameinfo.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7216: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7152: AC_FIND_FUNC_NO_LIBS is expanded from...
++aclocal.m4:7142: AC_FIND_FUNC is expanded from...
++aclocal.m4:8813: AC_FIND_IF_NOT_BROKEN is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_CHECK_FUNCS([freeaddrinfo])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_FREEADDRINFO], [/* Define to 1 if you have the `freeaddrinfo\' function. */
++#undef HAVE_FREEADDRINFO])
++m4trace:configure.in:193: -1- AC_SUBST([LIB_freeaddrinfo])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([freeaddrinfo.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7216: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7152: AC_FIND_FUNC_NO_LIBS is expanded from...
++aclocal.m4:7142: AC_FIND_FUNC is expanded from...
++aclocal.m4:8813: AC_FIND_IF_NOT_BROKEN is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_CHECK_FUNCS([gai_strerror])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GAI_STRERROR], [/* Define to 1 if you have the `gai_strerror\' function. */
++#undef HAVE_GAI_STRERROR])
++m4trace:configure.in:193: -1- AC_SUBST([LIB_gai_strerror])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([gai_strerror.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_CHOWN])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_CHOWN], [/* Define if you have the function `chown\'. */
++#undef HAVE_CHOWN])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([chown.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_COPYHOSTENT])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_COPYHOSTENT], [/* Define if you have the function `copyhostent\'. */
++#undef HAVE_COPYHOSTENT])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([copyhostent.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DAEMON])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_DAEMON], [/* Define if you have the function `daemon\'. */
++#undef HAVE_DAEMON])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([daemon.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ECALLOC])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_ECALLOC], [/* Define if you have the function `ecalloc\'. */
++#undef HAVE_ECALLOC])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([ecalloc.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_EMALLOC])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_EMALLOC], [/* Define if you have the function `emalloc\'. */
++#undef HAVE_EMALLOC])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([emalloc.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_EREALLOC])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_EREALLOC], [/* Define if you have the function `erealloc\'. */
++#undef HAVE_EREALLOC])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([erealloc.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ESTRDUP])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_ESTRDUP], [/* Define if you have the function `estrdup\'. */
++#undef HAVE_ESTRDUP])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([estrdup.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ERR])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_ERR], [/* Define if you have the function `err\'. */
++#undef HAVE_ERR])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([err.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ERRX])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_ERRX], [/* Define if you have the function `errx\'. */
++#undef HAVE_ERRX])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([errx.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FCHOWN])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_FCHOWN], [/* Define if you have the function `fchown\'. */
++#undef HAVE_FCHOWN])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([fchown.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FLOCK])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_FLOCK], [/* Define if you have the function `flock\'. */
++#undef HAVE_FLOCK])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([flock.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FNMATCH])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_FNMATCH], [/* Define if you have the function `fnmatch\'. */
++#undef HAVE_FNMATCH])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([fnmatch.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FREEHOSTENT])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_FREEHOSTENT], [/* Define if you have the function `freehostent\'. */
++#undef HAVE_FREEHOSTENT])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([freehostent.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETCWD])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GETCWD], [/* Define if you have the function `getcwd\'. */
++#undef HAVE_GETCWD])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([getcwd.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETDTABLESIZE])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GETDTABLESIZE], [/* Define if you have the function `getdtablesize\'. */
++#undef HAVE_GETDTABLESIZE])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([getdtablesize.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETEGID])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GETEGID], [/* Define if you have the function `getegid\'. */
++#undef HAVE_GETEGID])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([getegid.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETEUID])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GETEUID], [/* Define if you have the function `geteuid\'. */
++#undef HAVE_GETEUID])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([geteuid.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETGID])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GETGID], [/* Define if you have the function `getgid\'. */
++#undef HAVE_GETGID])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([getgid.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETHOSTNAME])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GETHOSTNAME], [/* Define if you have the function `gethostname\'. */
++#undef HAVE_GETHOSTNAME])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([gethostname.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETIFADDRS])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GETIFADDRS], [/* Define if you have the function `getifaddrs\'. */
++#undef HAVE_GETIFADDRS])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([getifaddrs.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETIPNODEBYADDR])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GETIPNODEBYADDR], [/* Define if you have the function `getipnodebyaddr\'. */
++#undef HAVE_GETIPNODEBYADDR])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([getipnodebyaddr.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETIPNODEBYNAME])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GETIPNODEBYNAME], [/* Define if you have the function `getipnodebyname\'. */
++#undef HAVE_GETIPNODEBYNAME])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([getipnodebyname.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETOPT])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GETOPT], [/* Define if you have the function `getopt\'. */
++#undef HAVE_GETOPT])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([getopt.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETTIMEOFDAY])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GETTIMEOFDAY], [/* Define if you have the function `gettimeofday\'. */
++#undef HAVE_GETTIMEOFDAY])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([gettimeofday.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETUID])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GETUID], [/* Define if you have the function `getuid\'. */
++#undef HAVE_GETUID])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([getuid.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETUSERSHELL])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_GETUSERSHELL], [/* Define if you have the function `getusershell\'. */
++#undef HAVE_GETUSERSHELL])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([getusershell.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INITGROUPS])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_INITGROUPS], [/* Define if you have the function `initgroups\'. */
++#undef HAVE_INITGROUPS])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([initgroups.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INNETGR])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_INNETGR], [/* Define if you have the function `innetgr\'. */
++#undef HAVE_INNETGR])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([innetgr.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_IRUSEROK])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_IRUSEROK], [/* Define if you have the function `iruserok\'. */
++#undef HAVE_IRUSEROK])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([iruserok.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LOCALTIME_R])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_LOCALTIME_R], [/* Define if you have the function `localtime_r\'. */
++#undef HAVE_LOCALTIME_R])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([localtime_r.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LSTAT])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_LSTAT], [/* Define if you have the function `lstat\'. */
++#undef HAVE_LSTAT])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([lstat.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MEMMOVE])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_MEMMOVE], [/* Define if you have the function `memmove\'. */
++#undef HAVE_MEMMOVE])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([memmove.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MKSTEMP])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_MKSTEMP], [/* Define if you have the function `mkstemp\'. */
++#undef HAVE_MKSTEMP])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([mkstemp.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PUTENV])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_PUTENV], [/* Define if you have the function `putenv\'. */
++#undef HAVE_PUTENV])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([putenv.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_RCMD])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_RCMD], [/* Define if you have the function `rcmd\'. */
++#undef HAVE_RCMD])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([rcmd.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_READV])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_READV], [/* Define if you have the function `readv\'. */
++#undef HAVE_READV])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([readv.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_RECVMSG])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_RECVMSG], [/* Define if you have the function `recvmsg\'. */
++#undef HAVE_RECVMSG])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([recvmsg.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SENDMSG])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SENDMSG], [/* Define if you have the function `sendmsg\'. */
++#undef HAVE_SENDMSG])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([sendmsg.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SETEGID])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SETEGID], [/* Define if you have the function `setegid\'. */
++#undef HAVE_SETEGID])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([setegid.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SETENV])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SETENV], [/* Define if you have the function `setenv\'. */
++#undef HAVE_SETENV])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([setenv.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SETEUID])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SETEUID], [/* Define if you have the function `seteuid\'. */
++#undef HAVE_SETEUID])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([seteuid.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRCASECMP])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRCASECMP], [/* Define if you have the function `strcasecmp\'. */
++#undef HAVE_STRCASECMP])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([strcasecmp.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRDUP])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRDUP], [/* Define if you have the function `strdup\'. */
++#undef HAVE_STRDUP])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([strdup.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRERROR])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRERROR], [/* Define if you have the function `strerror\'. */
++#undef HAVE_STRERROR])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([strerror.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRFTIME])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRFTIME], [/* Define if you have the function `strftime\'. */
++#undef HAVE_STRFTIME])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([strftime.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRLCAT])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRLCAT], [/* Define if you have the function `strlcat\'. */
++#undef HAVE_STRLCAT])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([strlcat.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRLCPY])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRLCPY], [/* Define if you have the function `strlcpy\'. */
++#undef HAVE_STRLCPY])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([strlcpy.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRLWR])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRLWR], [/* Define if you have the function `strlwr\'. */
++#undef HAVE_STRLWR])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([strlwr.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRNCASECMP])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRNCASECMP], [/* Define if you have the function `strncasecmp\'. */
++#undef HAVE_STRNCASECMP])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([strncasecmp.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRNDUP])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRNDUP], [/* Define if you have the function `strndup\'. */
++#undef HAVE_STRNDUP])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([strndup.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRNLEN])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRNLEN], [/* Define if you have the function `strnlen\'. */
++#undef HAVE_STRNLEN])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([strnlen.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRPTIME])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRPTIME], [/* Define if you have the function `strptime\'. */
++#undef HAVE_STRPTIME])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([strptime.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRSEP])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRSEP], [/* Define if you have the function `strsep\'. */
++#undef HAVE_STRSEP])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([strsep.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRSEP_COPY])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRSEP_COPY], [/* Define if you have the function `strsep_copy\'. */
++#undef HAVE_STRSEP_COPY])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([strsep_copy.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRTOK_R])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRTOK_R], [/* Define if you have the function `strtok_r\'. */
++#undef HAVE_STRTOK_R])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([strtok_r.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUPR])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRUPR], [/* Define if you have the function `strupr\'. */
++#undef HAVE_STRUPR])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([strupr.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SWAB])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SWAB], [/* Define if you have the function `swab\'. */
++#undef HAVE_SWAB])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([swab.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_UNSETENV])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_UNSETENV], [/* Define if you have the function `unsetenv\'. */
++#undef HAVE_UNSETENV])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([unsetenv.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_VERR])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_VERR], [/* Define if you have the function `verr\'. */
++#undef HAVE_VERR])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([verr.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_VERRX])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_VERRX], [/* Define if you have the function `verrx\'. */
++#undef HAVE_VERRX])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([verrx.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_VSYSLOG])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_VSYSLOG], [/* Define if you have the function `vsyslog\'. */
++#undef HAVE_VSYSLOG])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([vsyslog.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_VWARN])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_VWARN], [/* Define if you have the function `vwarn\'. */
++#undef HAVE_VWARN])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([vwarn.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_VWARNX])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_VWARNX], [/* Define if you have the function `vwarnx\'. */
++#undef HAVE_VWARNX])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([vwarnx.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WARN])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_WARN], [/* Define if you have the function `warn\'. */
++#undef HAVE_WARN])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([warn.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WARNX])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_WARNX], [/* Define if you have the function `warnx\'. */
++#undef HAVE_WARNX])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([warnx.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WRITEV])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_WRITEV], [/* Define if you have the function `writev\'. */
++#undef HAVE_WRITEV])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([writev.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8747: AC_NEED_PROTO is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([NEED_STRNDUP_PROTO])
++m4trace:configure.in:193: -1- AH_OUTPUT([NEED_STRNDUP_PROTO], [/* define if the system is missing a prototype for strndup() */
++#undef NEED_STRNDUP_PROTO])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8747: AC_NEED_PROTO is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([NEED_STRSEP_PROTO])
++m4trace:configure.in:193: -1- AH_OUTPUT([NEED_STRSEP_PROTO], [/* define if the system is missing a prototype for strsep() */
++#undef NEED_STRSEP_PROTO])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8747: AC_NEED_PROTO is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([NEED_STRTOK_R_PROTO])
++m4trace:configure.in:193: -1- AH_OUTPUT([NEED_STRTOK_R_PROTO], [/* define if the system is missing a prototype for strtok_r() */
++#undef NEED_STRTOK_R_PROTO])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8747: AC_NEED_PROTO is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([NEED_STRSVIS_PROTO])
++m4trace:configure.in:193: -1- AH_OUTPUT([NEED_STRSVIS_PROTO], [/* define if the system is missing a prototype for strsvis() */
++#undef NEED_STRSVIS_PROTO])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8747: AC_NEED_PROTO is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([NEED_STRUNVIS_PROTO])
++m4trace:configure.in:193: -1- AH_OUTPUT([NEED_STRUNVIS_PROTO], [/* define if the system is missing a prototype for strunvis() */
++#undef NEED_STRUNVIS_PROTO])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8747: AC_NEED_PROTO is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([NEED_STRVIS_PROTO])
++m4trace:configure.in:193: -1- AH_OUTPUT([NEED_STRVIS_PROTO], [/* define if the system is missing a prototype for strvis() */
++#undef NEED_STRVIS_PROTO])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8747: AC_NEED_PROTO is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([NEED_STRVISX_PROTO])
++m4trace:configure.in:193: -1- AH_OUTPUT([NEED_STRVISX_PROTO], [/* define if the system is missing a prototype for strvisx() */
++#undef NEED_STRVISX_PROTO])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8747: AC_NEED_PROTO is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([NEED_SVIS_PROTO])
++m4trace:configure.in:193: -1- AH_OUTPUT([NEED_SVIS_PROTO], [/* define if the system is missing a prototype for svis() */
++#undef NEED_SVIS_PROTO])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8747: AC_NEED_PROTO is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([NEED_UNVIS_PROTO])
++m4trace:configure.in:193: -1- AH_OUTPUT([NEED_UNVIS_PROTO], [/* define if the system is missing a prototype for unvis() */
++#undef NEED_UNVIS_PROTO])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8747: AC_NEED_PROTO is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([NEED_VIS_PROTO])
++m4trace:configure.in:193: -1- AH_OUTPUT([NEED_VIS_PROTO], [/* define if the system is missing a prototype for vis() */
++#undef NEED_VIS_PROTO])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:8853: AC_BROKEN2 is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INET_ATON])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_INET_ATON], [/* define */
++#undef HAVE_INET_ATON])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([inet_aton.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:8853: AC_BROKEN2 is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INET_NTOP])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_INET_NTOP], [/* define */
++#undef HAVE_INET_NTOP])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([inet_ntop.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:8853: AC_BROKEN2 is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INET_PTON])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_INET_PTON], [/* define */
++#undef HAVE_INET_PTON])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([inet_pton.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
++aclocal.m4:8873: AC_HAVE_STRUCT_FIELD is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_SOCKADDR_SA_LEN])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRUCT_SOCKADDR_SA_LEN], [/* Define if struct sockaddr has field sa_len. */
++#undef HAVE_STRUCT_SOCKADDR_SA_LEN])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_RUN' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2289: AC_TRY_RUN is expanded from...
++aclocal.m4:8902: rk_BROKEN_GETNAMEINFO is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -2- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [autoconf/general.m4:2281: AC_RUN_IFELSE is expanded from...
++autoconf/general.m4:2289: AC_TRY_RUN is expanded from...
++aclocal.m4:8902: rk_BROKEN_GETNAMEINFO is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([getnameinfo.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_RUN' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2289: AC_TRY_RUN is expanded from...
++aclocal.m4:8927: rk_BROKEN_GETADDRINFO is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -2- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [autoconf/general.m4:2281: AC_RUN_IFELSE is expanded from...
++autoconf/general.m4:2289: AC_TRY_RUN is expanded from...
++aclocal.m4:8927: rk_BROKEN_GETADDRINFO is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([getaddrinfo.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -1- AC_LIBSOURCE([freeaddrinfo.c])
++m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8747: AC_NEED_PROTO is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([NEED_SETENV_PROTO])
++m4trace:configure.in:193: -1- AH_OUTPUT([NEED_SETENV_PROTO], [/* define if the system is missing a prototype for setenv() */
++#undef NEED_SETENV_PROTO])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8747: AC_NEED_PROTO is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([NEED_UNSETENV_PROTO])
++m4trace:configure.in:193: -1- AH_OUTPUT([NEED_UNSETENV_PROTO], [/* define if the system is missing a prototype for unsetenv() */
++#undef NEED_UNSETENV_PROTO])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8747: AC_NEED_PROTO is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([NEED_GETHOSTNAME_PROTO])
++m4trace:configure.in:193: -1- AH_OUTPUT([NEED_GETHOSTNAME_PROTO], [/* define if the system is missing a prototype for gethostname() */
++#undef NEED_GETHOSTNAME_PROTO])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8747: AC_NEED_PROTO is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([NEED_MKSTEMP_PROTO])
++m4trace:configure.in:193: -1- AH_OUTPUT([NEED_MKSTEMP_PROTO], [/* define if the system is missing a prototype for mkstemp() */
++#undef NEED_MKSTEMP_PROTO])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8747: AC_NEED_PROTO is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([NEED_GETUSERSHELL_PROTO])
++m4trace:configure.in:193: -1- AH_OUTPUT([NEED_GETUSERSHELL_PROTO], [/* define if the system is missing a prototype for getusershell() */
++#undef NEED_GETUSERSHELL_PROTO])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8747: AC_NEED_PROTO is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([NEED_INET_ATON_PROTO])
++m4trace:configure.in:193: -1- AH_OUTPUT([NEED_INET_ATON_PROTO], [/* define if the system is missing a prototype for inet_aton() */
++#undef NEED_INET_ATON_PROTO])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7216: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7152: AC_FIND_FUNC_NO_LIBS is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_CHECK_FUNCS([crypt])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_CRYPT], [/* Define to 1 if you have the `crypt\' function. */
++#undef HAVE_CRYPT])
++m4trace:configure.in:193: -1- AC_SUBST([LIB_crypt])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_RUN' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2289: AC_TRY_RUN is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
++aclocal.m4:8954: rk_BROKEN_REALLOC is expanded from...
++configure.in:193: rk_BROKEN_REALLOC is required by...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([BROKEN_REALLOC])
++m4trace:configure.in:193: -1- AH_OUTPUT([BROKEN_REALLOC], [/* Define if realloc(NULL) doesn\'t work. */
++#undef BROKEN_REALLOC])
++m4trace:configure.in:193: -1- AH_OUTPUT([zzzz6], [#ifdef BROKEN_REALLOC
++#define realloc(X, Y) isoc_realloc((X), (Y))
++#define isoc_realloc(X, Y) ((X) ? realloc((X), (Y)) : malloc(Y))
++#endif])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8977: AC_PROTO_COMPAT is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([GETHOSTBYNAME_PROTO_COMPATIBLE])
++m4trace:configure.in:193: -1- AH_OUTPUT([GETHOSTBYNAME_PROTO_COMPATIBLE], [/* define if prototype of gethostbyname is compatible with struct hostent
++   *gethostbyname(const char *) */
++#undef GETHOSTBYNAME_PROTO_COMPATIBLE])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8977: AC_PROTO_COMPAT is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([GETHOSTBYADDR_PROTO_COMPATIBLE])
++m4trace:configure.in:193: -1- AH_OUTPUT([GETHOSTBYADDR_PROTO_COMPATIBLE], [/* define if prototype of gethostbyaddr is compatible with struct hostent
++   *gethostbyaddr(const void *, size_t, int) */
++#undef GETHOSTBYADDR_PROTO_COMPATIBLE])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8977: AC_PROTO_COMPAT is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([GETSERVBYNAME_PROTO_COMPATIBLE])
++m4trace:configure.in:193: -1- AH_OUTPUT([GETSERVBYNAME_PROTO_COMPATIBLE], [/* define if prototype of getservbyname is compatible with struct servent
++   *getservbyname(const char *, const char *) */
++#undef GETSERVBYNAME_PROTO_COMPATIBLE])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8977: AC_PROTO_COMPAT is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([GETSOCKNAME_PROTO_COMPATIBLE])
++m4trace:configure.in:193: -1- AH_OUTPUT([GETSOCKNAME_PROTO_COMPATIBLE], [/* define if prototype of getsockname is compatible with int getsockname(int,
++   struct sockaddr*, socklen_t*) */
++#undef GETSOCKNAME_PROTO_COMPATIBLE])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8977: AC_PROTO_COMPAT is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([OPENLOG_PROTO_COMPATIBLE])
++m4trace:configure.in:193: -1- AH_OUTPUT([OPENLOG_PROTO_COMPATIBLE], [/* define if prototype of openlog is compatible with void openlog(const char
++   *, int, int) */
++#undef OPENLOG_PROTO_COMPATIBLE])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8747: AC_NEED_PROTO is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([NEED_CRYPT_PROTO])
++m4trace:configure.in:193: -1- AH_OUTPUT([NEED_CRYPT_PROTO], [/* define if the system is missing a prototype for crypt() */
++#undef NEED_CRYPT_PROTO])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:8638: rk_CHECK_VAR is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:8638: rk_CHECK_VAR is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_H_ERRNO])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_H_ERRNO], [/* Define if you have the `h_errno\' variable. */
++#undef HAVE_H_ERRNO])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:8667: AC_CHECK_DECLARATION is expanded from...
++aclocal.m4:8638: rk_CHECK_VAR is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -2- AC_DEFINE_TRACE_LITERAL([HAVE_H_ERRNO_DECLARATION])
++m4trace:configure.in:193: -2- AH_OUTPUT([HAVE_H_ERRNO_DECLARATION], [/* define if your system declares h_errno */
++#undef HAVE_H_ERRNO_DECLARATION])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:8638: rk_CHECK_VAR is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:8638: rk_CHECK_VAR is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_H_ERRLIST])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_H_ERRLIST], [/* Define if you have the `h_errlist\' variable. */
++#undef HAVE_H_ERRLIST])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:8667: AC_CHECK_DECLARATION is expanded from...
++aclocal.m4:8638: rk_CHECK_VAR is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -2- AC_DEFINE_TRACE_LITERAL([HAVE_H_ERRLIST_DECLARATION])
++m4trace:configure.in:193: -2- AH_OUTPUT([HAVE_H_ERRLIST_DECLARATION], [/* define if your system declares h_errlist */
++#undef HAVE_H_ERRLIST_DECLARATION])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:8638: rk_CHECK_VAR is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:8638: rk_CHECK_VAR is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_H_NERR])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_H_NERR], [/* Define if you have the `h_nerr\' variable. */
++#undef HAVE_H_NERR])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:8667: AC_CHECK_DECLARATION is expanded from...
++aclocal.m4:8638: rk_CHECK_VAR is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -2- AC_DEFINE_TRACE_LITERAL([HAVE_H_NERR_DECLARATION])
++m4trace:configure.in:193: -2- AH_OUTPUT([HAVE_H_NERR_DECLARATION], [/* define if your system declares h_nerr */
++#undef HAVE_H_NERR_DECLARATION])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:8638: rk_CHECK_VAR is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:8638: rk_CHECK_VAR is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE___PROGNAME])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE___PROGNAME], [/* Define if you have the `__progname\' variable. */
++#undef HAVE___PROGNAME])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:8667: AC_CHECK_DECLARATION is expanded from...
++aclocal.m4:8638: rk_CHECK_VAR is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -2- AC_DEFINE_TRACE_LITERAL([HAVE___PROGNAME_DECLARATION])
++m4trace:configure.in:193: -2- AH_OUTPUT([HAVE___PROGNAME_DECLARATION], [/* define if your system declares __progname */
++#undef HAVE___PROGNAME_DECLARATION])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:8667: AC_CHECK_DECLARATION is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OPTARG_DECLARATION])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_OPTARG_DECLARATION], [/* define if your system declares optarg */
++#undef HAVE_OPTARG_DECLARATION])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:8667: AC_CHECK_DECLARATION is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OPTIND_DECLARATION])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_OPTIND_DECLARATION], [/* define if your system declares optind */
++#undef HAVE_OPTIND_DECLARATION])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:8667: AC_CHECK_DECLARATION is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OPTERR_DECLARATION])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_OPTERR_DECLARATION], [/* define if your system declares opterr */
++#undef HAVE_OPTERR_DECLARATION])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:8667: AC_CHECK_DECLARATION is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OPTOPT_DECLARATION])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_OPTOPT_DECLARATION], [/* define if your system declares optopt */
++#undef HAVE_OPTOPT_DECLARATION])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:8667: AC_CHECK_DECLARATION is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ENVIRON_DECLARATION])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_ENVIRON_DECLARATION], [/* define if your system declares environ */
++#undef HAVE_ENVIRON_DECLARATION])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
++aclocal.m4:8873: AC_HAVE_STRUCT_FIELD is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_TM_TM_GMTOFF])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRUCT_TM_TM_GMTOFF], [/* Define if struct tm has field tm_gmtoff. */
++#undef HAVE_STRUCT_TM_TM_GMTOFF])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
++aclocal.m4:8873: AC_HAVE_STRUCT_FIELD is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_TM_TM_ZONE])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRUCT_TM_TM_ZONE], [/* Define if struct tm has field tm_zone. */
++#undef HAVE_STRUCT_TM_TM_ZONE])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:8638: rk_CHECK_VAR is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:8638: rk_CHECK_VAR is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_TIMEZONE])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_TIMEZONE], [/* Define if you have the `timezone\' variable. */
++#undef HAVE_TIMEZONE])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:8667: AC_CHECK_DECLARATION is expanded from...
++aclocal.m4:8638: rk_CHECK_VAR is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -2- AC_DEFINE_TRACE_LITERAL([HAVE_TIMEZONE_DECLARATION])
++m4trace:configure.in:193: -2- AH_OUTPUT([HAVE_TIMEZONE_DECLARATION], [/* define if your system declares timezone */
++#undef HAVE_TIMEZONE_DECLARATION])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:8638: rk_CHECK_VAR is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:8638: rk_CHECK_VAR is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ALTZONE])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_ALTZONE], [/* Define if you have the `altzone\' variable. */
++#undef HAVE_ALTZONE])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:8667: AC_CHECK_DECLARATION is expanded from...
++aclocal.m4:8638: rk_CHECK_VAR is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -2- AC_DEFINE_TRACE_LITERAL([HAVE_ALTZONE_DECLARATION])
++m4trace:configure.in:193: -2- AH_OUTPUT([HAVE_ALTZONE_DECLARATION], [/* define if your system declares altzone */
++#undef HAVE_ALTZONE_DECLARATION])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8411: AC_HAVE_TYPE is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_CHECK_TYPES([sa_family_t])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SA_FAMILY_T])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SA_FAMILY_T], [/* Define to 1 if the system has the type `sa_family_t\'. */
++#undef HAVE_SA_FAMILY_T])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8411: AC_HAVE_TYPE is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_CHECK_TYPES([socklen_t])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SOCKLEN_T])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_SOCKLEN_T], [/* Define to 1 if the system has the type `socklen_t\'. */
++#undef HAVE_SOCKLEN_T])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8411: AC_HAVE_TYPE is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_CHECK_TYPES([struct sockaddr])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_SOCKADDR])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRUCT_SOCKADDR], [/* Define to 1 if the system has the type `struct sockaddr\'. */
++#undef HAVE_STRUCT_SOCKADDR])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8411: AC_HAVE_TYPE is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_CHECK_TYPES([struct sockaddr_storage])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_SOCKADDR_STORAGE])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRUCT_SOCKADDR_STORAGE], [/* Define to 1 if the system has the type `struct sockaddr_storage\'. */
++#undef HAVE_STRUCT_SOCKADDR_STORAGE])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8411: AC_HAVE_TYPE is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_CHECK_TYPES([struct addrinfo])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_ADDRINFO])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRUCT_ADDRINFO], [/* Define to 1 if the system has the type `struct addrinfo\'. */
++#undef HAVE_STRUCT_ADDRINFO])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8411: AC_HAVE_TYPE is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_CHECK_TYPES([struct ifaddrs])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_IFADDRS])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRUCT_IFADDRS], [/* Define to 1 if the system has the type `struct ifaddrs\'. */
++#undef HAVE_STRUCT_IFADDRS])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8411: AC_HAVE_TYPE is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_CHECK_TYPES([struct iovec])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_IOVEC])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRUCT_IOVEC], [/* Define to 1 if the system has the type `struct iovec\'. */
++#undef HAVE_STRUCT_IOVEC])
++m4trace:configure.in:193: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8411: AC_HAVE_TYPE is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_CHECK_TYPES([struct msghdr])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_MSGHDR])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRUCT_MSGHDR], [/* Define to 1 if the system has the type `struct msghdr\'. */
++#undef HAVE_STRUCT_MSGHDR])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_WINSIZE])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRUCT_WINSIZE], [/* define if struct winsize is declared in sys/termios.h */
++#undef HAVE_STRUCT_WINSIZE])
++m4trace:configure.in:193: -2- AC_DEFINE_TRACE_LITERAL([HAVE_WS_XPIXEL])
++m4trace:configure.in:193: -2- AH_OUTPUT([HAVE_WS_XPIXEL], [/* define if struct winsize has ws_xpixel */
++#undef HAVE_WS_XPIXEL])
++m4trace:configure.in:193: -2- AC_DEFINE_TRACE_LITERAL([HAVE_WS_YPIXEL])
++m4trace:configure.in:193: -2- AH_OUTPUT([HAVE_WS_YPIXEL], [/* define if struct winsize has ws_ypixel */
++#undef HAVE_WS_YPIXEL])
++m4trace:configure.in:193: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:9025: AC_KRB_STRUCT_SPWD is expanded from...
++aclocal.m4:8380: rk_ROKEN is expanded from...
++configure.in:193: the top level])
++m4trace:configure.in:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_SPWD])
++m4trace:configure.in:193: -1- AH_OUTPUT([HAVE_STRUCT_SPWD], [/* define if you have struct spwd */
++#undef HAVE_STRUCT_SPWD])
++m4trace:configure.in:197: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:9051: rk_OTP is expanded from...
++configure.in:197: the top level])
++m4trace:configure.in:197: -1- AC_DEFINE_TRACE_LITERAL([OTP])
++m4trace:configure.in:197: -1- AH_OUTPUT([OTP], [/* Define if you want OTP support in applications. */
++#undef OTP])
++m4trace:configure.in:197: -1- AM_CONDITIONAL([OTP], [test "$enable_otp" = yes])
++m4trace:configure.in:197: -1- AC_SUBST([OTP_TRUE])
++m4trace:configure.in:197: -1- AC_SUBST([OTP_FALSE])
++m4trace:configure.in:199: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:9066: AC_CHECK_OSFC2 is expanded from...
++configure.in:199: the top level])
++m4trace:configure.in:199: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OSFC2])
++m4trace:configure.in:199: -1- AH_OUTPUT([HAVE_OSFC2], [/* Define to enable basic OSF C2 support. */
++#undef HAVE_OSFC2])
++m4trace:configure.in:199: -1- AC_SUBST([LIB_security])
++m4trace:configure.in:202: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++configure.in:202: the top level])
++m4trace:configure.in:204: -1- AC_DEFINE_TRACE_LITERAL([NO_MMAP])
++m4trace:configure.in:204: -1- AH_OUTPUT([NO_MMAP], [/* Define if you don\'t want to use mmap. */
++#undef NO_MMAP])
++m4trace:configure.in:207: -1- AC_SUBST([NROFF], [$ac_cv_path_NROFF])
++m4trace:configure.in:207: -1- AC_SUBST([GROFF], [$ac_cv_path_GROFF])
++m4trace:configure.in:207: -1- AC_SUBST([CATMAN])
++m4trace:configure.in:207: -1- AM_CONDITIONAL([CATMAN], [test "$CATMAN"])
++m4trace:configure.in:207: -1- AC_SUBST([CATMAN_TRUE])
++m4trace:configure.in:207: -1- AC_SUBST([CATMAN_FALSE])
++m4trace:configure.in:207: -1- AC_SUBST([CATMANEXT])
++m4trace:configure.in:211: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:7132: rk_TEST_PACKAGE is expanded from...
++configure.in:211: the top level])
++m4trace:configure.in:211: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:7132: rk_TEST_PACKAGE is expanded from...
++configure.in:211: the top level])
++m4trace:configure.in:211: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:7132: rk_TEST_PACKAGE is expanded from...
++configure.in:211: the top level])
++m4trace:configure.in:211: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:7132: rk_TEST_PACKAGE is expanded from...
++configure.in:211: the top level])
++m4trace:configure.in:211: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++aclocal.m4:7132: rk_TEST_PACKAGE is expanded from...
++configure.in:211: the top level])
++m4trace:configure.in:211: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:7132: rk_TEST_PACKAGE is expanded from...
++configure.in:211: the top level])
++m4trace:configure.in:211: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++aclocal.m4:7132: rk_TEST_PACKAGE is expanded from...
++configure.in:211: the top level])
++m4trace:configure.in:211: -1- AC_DEFINE_TRACE_LITERAL([READLINE])
++m4trace:configure.in:211: -1- AH_OUTPUT([READLINE], [/* Define if you have the readline package. */
++#undef READLINE])
++m4trace:configure.in:211: -1- AC_SUBST([DIR_readline])
++m4trace:configure.in:211: -1- AC_SUBST([INCLUDE_readline])
++m4trace:configure.in:211: -1- AC_SUBST([LIB_readline])
++m4trace:configure.in:213: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:7132: rk_TEST_PACKAGE is expanded from...
++configure.in:213: the top level])
++m4trace:configure.in:213: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:7132: rk_TEST_PACKAGE is expanded from...
++configure.in:213: the top level])
++m4trace:configure.in:213: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:7132: rk_TEST_PACKAGE is expanded from...
++configure.in:213: the top level])
++m4trace:configure.in:213: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:7132: rk_TEST_PACKAGE is expanded from...
++configure.in:213: the top level])
++m4trace:configure.in:213: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++aclocal.m4:7132: rk_TEST_PACKAGE is expanded from...
++configure.in:213: the top level])
++m4trace:configure.in:213: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:7132: rk_TEST_PACKAGE is expanded from...
++configure.in:213: the top level])
++m4trace:configure.in:213: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++aclocal.m4:7132: rk_TEST_PACKAGE is expanded from...
++configure.in:213: the top level])
++m4trace:configure.in:213: -1- AC_DEFINE_TRACE_LITERAL([HESIOD])
++m4trace:configure.in:213: -1- AH_OUTPUT([HESIOD], [/* Define if you have the hesiod package. */
++#undef HESIOD])
++m4trace:configure.in:213: -1- AC_SUBST([DIR_hesiod])
++m4trace:configure.in:213: -1- AC_SUBST([INCLUDE_hesiod])
++m4trace:configure.in:213: -1- AC_SUBST([LIB_hesiod])
++m4trace:configure.in:215: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:7132: rk_TEST_PACKAGE is expanded from...
++configure.in:215: the top level])
++m4trace:configure.in:215: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:7132: rk_TEST_PACKAGE is expanded from...
++configure.in:215: the top level])
++m4trace:configure.in:215: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:7132: rk_TEST_PACKAGE is expanded from...
++configure.in:215: the top level])
++m4trace:configure.in:215: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:7132: rk_TEST_PACKAGE is expanded from...
++configure.in:215: the top level])
++m4trace:configure.in:215: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++aclocal.m4:7132: rk_TEST_PACKAGE is expanded from...
++configure.in:215: the top level])
++m4trace:configure.in:215: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:7132: rk_TEST_PACKAGE is expanded from...
++configure.in:215: the top level])
++m4trace:configure.in:215: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++aclocal.m4:7132: rk_TEST_PACKAGE is expanded from...
++configure.in:215: the top level])
++m4trace:configure.in:215: -1- AC_DEFINE_TRACE_LITERAL([SL])
++m4trace:configure.in:215: -1- AH_OUTPUT([SL], [/* Define if you have the sl package. */
++#undef SL])
++m4trace:configure.in:215: -1- AC_SUBST([DIR_sl])
++m4trace:configure.in:215: -1- AC_SUBST([INCLUDE_sl])
++m4trace:configure.in:215: -1- AC_SUBST([LIB_sl])
++m4trace:configure.in:220: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:7132: rk_TEST_PACKAGE is expanded from...
++configure.in:220: the top level])
++m4trace:configure.in:220: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:7132: rk_TEST_PACKAGE is expanded from...
++configure.in:220: the top level])
++m4trace:configure.in:220: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:7132: rk_TEST_PACKAGE is expanded from...
++configure.in:220: the top level])
++m4trace:configure.in:220: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:7132: rk_TEST_PACKAGE is expanded from...
++configure.in:220: the top level])
++m4trace:configure.in:220: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++aclocal.m4:7132: rk_TEST_PACKAGE is expanded from...
++configure.in:220: the top level])
++m4trace:configure.in:220: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:7132: rk_TEST_PACKAGE is expanded from...
++configure.in:220: the top level])
++m4trace:configure.in:220: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++aclocal.m4:7132: rk_TEST_PACKAGE is expanded from...
++configure.in:220: the top level])
++m4trace:configure.in:220: -1- AC_DEFINE_TRACE_LITERAL([SS])
++m4trace:configure.in:220: -1- AH_OUTPUT([SS], [/* Define if you have the ss package. */
++#undef SS])
++m4trace:configure.in:220: -1- AC_SUBST([DIR_ss])
++m4trace:configure.in:220: -1- AC_SUBST([INCLUDE_ss])
++m4trace:configure.in:220: -1- AC_SUBST([LIB_ss])
++m4trace:configure.in:228: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:7132: rk_TEST_PACKAGE is expanded from...
++configure.in:228: the top level])
++m4trace:configure.in:228: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:7132: rk_TEST_PACKAGE is expanded from...
++configure.in:228: the top level])
++m4trace:configure.in:228: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:7132: rk_TEST_PACKAGE is expanded from...
++configure.in:228: the top level])
++m4trace:configure.in:228: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:7132: rk_TEST_PACKAGE is expanded from...
++configure.in:228: the top level])
++m4trace:configure.in:228: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++aclocal.m4:7132: rk_TEST_PACKAGE is expanded from...
++configure.in:228: the top level])
++m4trace:configure.in:228: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:7132: rk_TEST_PACKAGE is expanded from...
++configure.in:228: the top level])
++m4trace:configure.in:228: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++aclocal.m4:7132: rk_TEST_PACKAGE is expanded from...
++configure.in:228: the top level])
++m4trace:configure.in:228: -1- AC_DEFINE_TRACE_LITERAL([OTP])
++m4trace:configure.in:228: -1- AH_OUTPUT([OTP], [/* Define if you have the otp package. */
++#undef OTP])
++m4trace:configure.in:228: -1- AC_SUBST([DIR_otp])
++m4trace:configure.in:228: -1- AC_SUBST([INCLUDE_otp])
++m4trace:configure.in:228: -1- AC_SUBST([LIB_otp])
++m4trace:configure.in:235: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:9187: KRB_C_BIGENDIAN is expanded from...
++configure.in:235: the top level])
++m4trace:configure.in:235: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:9187: KRB_C_BIGENDIAN is expanded from...
++configure.in:235: the top level])
++m4trace:configure.in:235: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
++aclocal.m4:9187: KRB_C_BIGENDIAN is expanded from...
++configure.in:235: the top level])
++m4trace:configure.in:235: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
++aclocal.m4:9187: KRB_C_BIGENDIAN is expanded from...
++configure.in:235: the top level])
++m4trace:configure.in:235: -1- _m4_warn([obsolete], [The macro `AC_TRY_RUN' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2289: AC_TRY_RUN is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
++aclocal.m4:9187: KRB_C_BIGENDIAN is expanded from...
++configure.in:235: the top level])
++m4trace:configure.in:235: -1- AC_DEFINE_TRACE_LITERAL([WORDS_BIGENDIAN])
++m4trace:configure.in:235: -1- AH_OUTPUT([WORDS_BIGENDIAN], [/* define if target is big endian */
++#undef WORDS_BIGENDIAN])
++m4trace:configure.in:235: -1- AC_DEFINE_TRACE_LITERAL([ENDIANESS_IN_SYS_PARAM_H])
++m4trace:configure.in:235: -1- AH_OUTPUT([ENDIANESS_IN_SYS_PARAM_H], [/* define if sys/param.h defines the endiness */
++#undef ENDIANESS_IN_SYS_PARAM_H])
++m4trace:configure.in:235: -1- AH_OUTPUT([zzzz7], [
++#if ENDIANESS_IN_SYS_PARAM_H
++#  include <sys/types.h>
++#  include <sys/param.h>
++#  if BYTE_ORDER == BIG_ENDIAN
++#  define WORDS_BIGENDIAN 1
++#  endif
++#endif
++])
++m4trace:configure.in:236: -1- AC_C_INLINE
++m4trace:configure.in:236: -1- AH_OUTPUT([inline], [/* Define to `__inline__\' or `__inline\' if that\'s what the C compiler
++   calls it, or to nothing if \'inline\' is not supported under any name.  */
++#ifndef __cplusplus
++#undef inline
++#endif])
++m4trace:configure.in:238: -1- AM_CONDITIONAL([AIX], [test "$aix" != no])
++m4trace:configure.in:238: -1- AC_SUBST([AIX_TRUE])
++m4trace:configure.in:238: -1- AC_SUBST([AIX_FALSE])
++m4trace:configure.in:238: -1- AM_CONDITIONAL([AIX4], [test "$aix" = 4])
++m4trace:configure.in:238: -1- AC_SUBST([AIX4_TRUE])
++m4trace:configure.in:238: -1- AC_SUBST([AIX4_FALSE])
++m4trace:configure.in:238: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++aclocal.m4:9245: rk_AIX is expanded from...
++configure.in:238: the top level])
++m4trace:configure.in:238: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7216: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7152: AC_FIND_FUNC_NO_LIBS is expanded from...
++aclocal.m4:9254: rk_DLOPEN is expanded from...
++configure.in:238: rk_DLOPEN is required by...
++aclocal.m4:9245: rk_AIX is expanded from...
++configure.in:238: the top level])
++m4trace:configure.in:238: -1- AC_CHECK_FUNCS([dlopen])
++m4trace:configure.in:238: -1- AH_OUTPUT([HAVE_DLOPEN], [/* Define to 1 if you have the `dlopen\' function. */
++#undef HAVE_DLOPEN])
++m4trace:configure.in:238: -1- AC_SUBST([LIB_dlopen])
++m4trace:configure.in:238: -1- AM_CONDITIONAL([HAVE_DLOPEN], [test "$ac_cv_funclib_dlopen" != no])
++m4trace:configure.in:238: -1- AC_SUBST([HAVE_DLOPEN_TRUE])
++m4trace:configure.in:238: -1- AC_SUBST([HAVE_DLOPEN_FALSE])
++m4trace:configure.in:238: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7216: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7152: AC_FIND_FUNC_NO_LIBS is expanded from...
++aclocal.m4:9245: rk_AIX is expanded from...
++configure.in:238: the top level])
++m4trace:configure.in:238: -1- AC_CHECK_FUNCS([loadquery])
++m4trace:configure.in:238: -1- AH_OUTPUT([HAVE_LOADQUERY], [/* Define to 1 if you have the `loadquery\' function. */
++#undef HAVE_LOADQUERY])
++m4trace:configure.in:238: -1- AC_SUBST([LIB_loadquery])
++m4trace:configure.in:238: -1- AM_CONDITIONAL([AIX_DYNAMIC_AFS], [test "$enable_dynamic_afs" != no])
++m4trace:configure.in:238: -1- AC_SUBST([AIX_DYNAMIC_AFS_TRUE])
++m4trace:configure.in:238: -1- AC_SUBST([AIX_DYNAMIC_AFS_FALSE])
++m4trace:configure.in:238: -1- AC_SUBST([AIX_EXTRA_KAFS])
++m4trace:configure.in:238: -1- AH_OUTPUT([zzzz8], [#if _AIX
++#define _ALL_SOURCE
++/* XXX this is gross, but kills about a gazillion warnings */
++struct ether_addr;
++struct sockaddr;
++struct sockaddr_dl;
++struct sockaddr_in;
++#endif])
++m4trace:configure.in:239: -1- AC_DEFINE_TRACE_LITERAL([IRIX4])
++m4trace:configure.in:239: -1- AH_OUTPUT([IRIX4], [/* Define if you are running IRIX 4. */
++#undef IRIX4])
++m4trace:configure.in:239: -1- AM_CONDITIONAL([IRIX], [test "$irix" != no])
++m4trace:configure.in:239: -1- AC_SUBST([IRIX_TRUE])
++m4trace:configure.in:239: -1- AC_SUBST([IRIX_FALSE])
++m4trace:configure.in:239: -1- AH_OUTPUT([zzzz9], [
++/* IRIX 4 braindamage */
++#if IRIX == 4 && !defined(__STDC__)
++#define __STDC__ 0
++#endif
++])
++m4trace:configure.in:240: -1- AC_DEFINE_TRACE_LITERAL([SunOS])
++m4trace:configure.in:240: -1- AH_OUTPUT([SunOS], [/* Define to what version of SunOS you are running. */
++#undef SunOS])
++m4trace:configure.in:242: -1- AC_PATH_X
++m4trace:configure.in:242: -1- AC_DEFINE_TRACE_LITERAL([X_DISPLAY_MISSING])
++m4trace:configure.in:242: -1- AH_OUTPUT([X_DISPLAY_MISSING], [/* Define to 1 if the X Window System is missing or not being used. */
++#undef X_DISPLAY_MISSING])
++m4trace:configure.in:242: -1- AC_CHECK_LIB([dnet], [dnet_ntoa], [X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"])
++m4trace:configure.in:242: -1- AC_CHECK_LIB([dnet_stub], [dnet_ntoa], [X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"])
++m4trace:configure.in:242: -1- AC_CHECK_LIB([nsl], [gethostbyname], [X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"])
++m4trace:configure.in:242: -1- AC_CHECK_LIB([bsd], [gethostbyname], [X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"])
++m4trace:configure.in:242: -1- AC_CHECK_LIB([socket], [connect], [X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"], [], [$X_EXTRA_LIBS])
++m4trace:configure.in:242: -1- AC_CHECK_LIB([posix], [remove], [X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"])
++m4trace:configure.in:242: -1- AC_CHECK_LIB([ipc], [shmat], [X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"])
++m4trace:configure.in:242: -1- AC_CHECK_LIB([ICE], [IceConnectionNumber], [X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"], [], [$X_EXTRA_LIBS])
++m4trace:configure.in:242: -1- AC_SUBST([X_CFLAGS])
++m4trace:configure.in:242: -1- AC_SUBST([X_PRE_LIBS])
++m4trace:configure.in:242: -1- AC_SUBST([X_LIBS])
++m4trace:configure.in:242: -1- AC_SUBST([X_EXTRA_LIBS])
++m4trace:configure.in:242: -1- _m4_warn([obsolete], [The macro `AC_TRY_RUN' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2289: AC_TRY_RUN is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
++aclocal.m4:9359: KRB_CHECK_X is expanded from...
++configure.in:242: the top level])
++m4trace:configure.in:242: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [autoconf/general.m4:2281: AC_RUN_IFELSE is expanded from...
++autoconf/general.m4:2289: AC_TRY_RUN is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
++aclocal.m4:9359: KRB_CHECK_X is expanded from...
++configure.in:242: the top level])
++m4trace:configure.in:244: -1- AM_CONDITIONAL([HAVE_X], [test "$no_x" != yes])
++m4trace:configure.in:244: -1- AC_SUBST([HAVE_X_TRUE])
++m4trace:configure.in:244: -1- AC_SUBST([HAVE_X_FALSE])
++m4trace:configure.in:246: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7216: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7152: AC_FIND_FUNC_NO_LIBS is expanded from...
++aclocal.m4:9418: AC_CHECK_XAU is expanded from...
++configure.in:246: the top level])
++m4trace:configure.in:246: -1- AC_CHECK_FUNCS([XauWriteAuth])
++m4trace:configure.in:246: -1- AH_OUTPUT([HAVE_XAUWRITEAUTH], [/* Define to 1 if you have the `XauWriteAuth\' function. */
++#undef HAVE_XAUWRITEAUTH])
++m4trace:configure.in:246: -1- AC_SUBST([LIB_XauWriteAuth])
++m4trace:configure.in:246: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7216: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7152: AC_FIND_FUNC_NO_LIBS is expanded from...
++aclocal.m4:9418: AC_CHECK_XAU is expanded from...
++configure.in:246: the top level])
++m4trace:configure.in:246: -1- AC_CHECK_FUNCS([XauReadAuth])
++m4trace:configure.in:246: -1- AH_OUTPUT([HAVE_XAUREADAUTH], [/* Define to 1 if you have the `XauReadAuth\' function. */
++#undef HAVE_XAUREADAUTH])
++m4trace:configure.in:246: -1- AC_SUBST([LIB_XauReadAuth])
++m4trace:configure.in:246: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7216: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7152: AC_FIND_FUNC_NO_LIBS is expanded from...
++aclocal.m4:9418: AC_CHECK_XAU is expanded from...
++configure.in:246: the top level])
++m4trace:configure.in:246: -1- AC_CHECK_FUNCS([XauFileName])
++m4trace:configure.in:246: -1- AH_OUTPUT([HAVE_XAUFILENAME], [/* Define to 1 if you have the `XauFileName\' function. */
++#undef HAVE_XAUFILENAME])
++m4trace:configure.in:246: -1- AC_SUBST([LIB_XauFileName])
++m4trace:configure.in:246: -1- AM_CONDITIONAL([NEED_WRITEAUTH], [test "$ac_cv_func_XauWriteAuth" != "yes"])
++m4trace:configure.in:246: -1- AC_SUBST([NEED_WRITEAUTH_TRUE])
++m4trace:configure.in:246: -1- AC_SUBST([NEED_WRITEAUTH_FALSE])
++m4trace:configure.in:246: -1- AC_SUBST([NEED_WRITEAUTH_TRUE])
++m4trace:configure.in:246: -1- AC_SUBST([NEED_WRITEAUTH_FALSE])
++m4trace:configure.in:251: -1- AC_C_CONST
++m4trace:configure.in:251: -1- AC_DEFINE_TRACE_LITERAL([const])
++m4trace:configure.in:251: -1- AH_OUTPUT([const], [/* Define to empty if `const\' does not conform to ANSI C. */
++#undef const])
++m4trace:configure.in:252: -1- AC_TYPE_OFF_T
++m4trace:configure.in:252: -1- AC_DEFINE_TRACE_LITERAL([off_t])
++m4trace:configure.in:252: -1- AH_OUTPUT([off_t], [/* Define to `long\' if <sys/types.h> does not define. */
++#undef off_t])
++m4trace:configure.in:253: -1- AC_DEFINE_TRACE_LITERAL([mode_t])
++m4trace:configure.in:253: -1- AH_OUTPUT([mode_t], [/* Define this to what the type mode_t should be. */
++#undef mode_t])
++m4trace:configure.in:254: -1- AC_DEFINE_TRACE_LITERAL([sig_atomic_t])
++m4trace:configure.in:254: -1- AH_OUTPUT([sig_atomic_t], [/* Define this to what the type sig_atomic_t should be. */
++#undef sig_atomic_t])
++m4trace:configure.in:255: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++aclocal.m4:8411: AC_HAVE_TYPE is expanded from...
++configure.in:255: the top level])
++m4trace:configure.in:255: -1- AC_CHECK_TYPES([long long])
++m4trace:configure.in:255: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LONG_LONG])
++m4trace:configure.in:255: -1- AH_OUTPUT([HAVE_LONG_LONG], [/* Define to 1 if the system has the type `long long\'. */
++#undef HAVE_LONG_LONG])
++m4trace:configure.in:256: -1- AC_HEADER_TIME
++m4trace:configure.in:256: -1- AC_DEFINE_TRACE_LITERAL([TIME_WITH_SYS_TIME])
++m4trace:configure.in:256: -1- AH_OUTPUT([TIME_WITH_SYS_TIME], [/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
++#undef TIME_WITH_SYS_TIME])
++m4trace:configure.in:257: -1- AC_STRUCT_TM
++m4trace:configure.in:257: -1- AC_DEFINE_TRACE_LITERAL([TM_IN_SYS_TIME])
++m4trace:configure.in:257: -1- AH_OUTPUT([TM_IN_SYS_TIME], [/* Define to 1 if your <sys/time.h> declares `struct tm\'. */
++#undef TM_IN_SYS_TIME])
++m4trace:configure.in:260: -1- AC_HEADER_STDC
++m4trace:configure.in:260: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS])
++m4trace:configure.in:260: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */
++#undef STDC_HEADERS])
++m4trace:configure.in:313: -1- AC_CHECK_HEADERS([\
++	arpa/ftp.h				\
++	arpa/telnet.h				\
++	bind/bitypes.h				\
++	bsdsetjmp.h				\
++	curses.h				\
++	dlfcn.h					\
++	fnmatch.h				\
++	inttypes.h				\
++	io.h					\
++	libutil.h				\
++	limits.h				\
++	maillock.h				\
++	netgroup.h				\
++	netinet/in6_machtypes.h			\
++	netinfo/ni.h				\
++	pthread.h				\
++	pty.h					\
++	sac.h					\
++	security/pam_modules.h			\
++	sgtty.h					\
++	siad.h					\
++	signal.h				\
++	stropts.h				\
++	sys/bitypes.h				\
++	sys/category.h				\
++	sys/file.h				\
++	sys/filio.h				\
++	sys/ioccom.h				\
++	sys/mman.h				\
++	sys/pty.h				\
++	sys/ptyio.h				\
++	sys/ptyvar.h				\
++	sys/select.h				\
++	sys/str_tty.h				\
++	sys/stream.h				\
++	sys/stropts.h				\
++	sys/strtty.h				\
++	sys/syscall.h				\
++	sys/termio.h				\
++	sys/timeb.h				\
++	sys/times.h				\
++	sys/un.h				\
++	term.h					\
++	termcap.h				\
++	termio.h				\
++	time.h					\
++	tmpdir.h				\
++	udb.h					\
++	utmp.h					\
++	utmpx.h					\
++])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_ARPA_FTP_H], [/* Define to 1 if you have the <arpa/ftp.h> header file. */
++#undef HAVE_ARPA_FTP_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_ARPA_TELNET_H], [/* Define to 1 if you have the <arpa/telnet.h> header file. */
++#undef HAVE_ARPA_TELNET_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_BIND_BITYPES_H], [/* Define to 1 if you have the <bind/bitypes.h> header file. */
++#undef HAVE_BIND_BITYPES_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_BSDSETJMP_H], [/* Define to 1 if you have the <bsdsetjmp.h> header file. */
++#undef HAVE_BSDSETJMP_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_CURSES_H], [/* Define to 1 if you have the <curses.h> header file. */
++#undef HAVE_CURSES_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_DLFCN_H], [/* Define to 1 if you have the <dlfcn.h> header file. */
++#undef HAVE_DLFCN_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_FNMATCH_H], [/* Define to 1 if you have the <fnmatch.h> header file. */
++#undef HAVE_FNMATCH_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */
++#undef HAVE_INTTYPES_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_IO_H], [/* Define to 1 if you have the <io.h> header file. */
++#undef HAVE_IO_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_LIBUTIL_H], [/* Define to 1 if you have the <libutil.h> header file. */
++#undef HAVE_LIBUTIL_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_LIMITS_H], [/* Define to 1 if you have the <limits.h> header file. */
++#undef HAVE_LIMITS_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_MAILLOCK_H], [/* Define to 1 if you have the <maillock.h> header file. */
++#undef HAVE_MAILLOCK_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_NETGROUP_H], [/* Define to 1 if you have the <netgroup.h> header file. */
++#undef HAVE_NETGROUP_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_NETINET_IN6_MACHTYPES_H], [/* Define to 1 if you have the <netinet/in6_machtypes.h> header file. */
++#undef HAVE_NETINET_IN6_MACHTYPES_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_NETINFO_NI_H], [/* Define to 1 if you have the <netinfo/ni.h> header file. */
++#undef HAVE_NETINFO_NI_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_PTHREAD_H], [/* Define to 1 if you have the <pthread.h> header file. */
++#undef HAVE_PTHREAD_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_PTY_H], [/* Define to 1 if you have the <pty.h> header file. */
++#undef HAVE_PTY_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_SAC_H], [/* Define to 1 if you have the <sac.h> header file. */
++#undef HAVE_SAC_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_SECURITY_PAM_MODULES_H], [/* Define to 1 if you have the <security/pam_modules.h> header file. */
++#undef HAVE_SECURITY_PAM_MODULES_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_SGTTY_H], [/* Define to 1 if you have the <sgtty.h> header file. */
++#undef HAVE_SGTTY_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_SIAD_H], [/* Define to 1 if you have the <siad.h> header file. */
++#undef HAVE_SIAD_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_SIGNAL_H], [/* Define to 1 if you have the <signal.h> header file. */
++#undef HAVE_SIGNAL_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_STROPTS_H], [/* Define to 1 if you have the <stropts.h> header file. */
++#undef HAVE_STROPTS_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_SYS_BITYPES_H], [/* Define to 1 if you have the <sys/bitypes.h> header file. */
++#undef HAVE_SYS_BITYPES_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_SYS_CATEGORY_H], [/* Define to 1 if you have the <sys/category.h> header file. */
++#undef HAVE_SYS_CATEGORY_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_SYS_FILE_H], [/* Define to 1 if you have the <sys/file.h> header file. */
++#undef HAVE_SYS_FILE_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_SYS_FILIO_H], [/* Define to 1 if you have the <sys/filio.h> header file. */
++#undef HAVE_SYS_FILIO_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_SYS_IOCCOM_H], [/* Define to 1 if you have the <sys/ioccom.h> header file. */
++#undef HAVE_SYS_IOCCOM_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_SYS_MMAN_H], [/* Define to 1 if you have the <sys/mman.h> header file. */
++#undef HAVE_SYS_MMAN_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_SYS_PTY_H], [/* Define to 1 if you have the <sys/pty.h> header file. */
++#undef HAVE_SYS_PTY_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_SYS_PTYIO_H], [/* Define to 1 if you have the <sys/ptyio.h> header file. */
++#undef HAVE_SYS_PTYIO_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_SYS_PTYVAR_H], [/* Define to 1 if you have the <sys/ptyvar.h> header file. */
++#undef HAVE_SYS_PTYVAR_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_SYS_SELECT_H], [/* Define to 1 if you have the <sys/select.h> header file. */
++#undef HAVE_SYS_SELECT_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_SYS_STR_TTY_H], [/* Define to 1 if you have the <sys/str_tty.h> header file. */
++#undef HAVE_SYS_STR_TTY_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_SYS_STREAM_H], [/* Define to 1 if you have the <sys/stream.h> header file. */
++#undef HAVE_SYS_STREAM_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_SYS_STROPTS_H], [/* Define to 1 if you have the <sys/stropts.h> header file. */
++#undef HAVE_SYS_STROPTS_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_SYS_STRTTY_H], [/* Define to 1 if you have the <sys/strtty.h> header file. */
++#undef HAVE_SYS_STRTTY_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_SYS_SYSCALL_H], [/* Define to 1 if you have the <sys/syscall.h> header file. */
++#undef HAVE_SYS_SYSCALL_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_SYS_TERMIO_H], [/* Define to 1 if you have the <sys/termio.h> header file. */
++#undef HAVE_SYS_TERMIO_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_SYS_TIMEB_H], [/* Define to 1 if you have the <sys/timeb.h> header file. */
++#undef HAVE_SYS_TIMEB_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_SYS_TIMES_H], [/* Define to 1 if you have the <sys/times.h> header file. */
++#undef HAVE_SYS_TIMES_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_SYS_UN_H], [/* Define to 1 if you have the <sys/un.h> header file. */
++#undef HAVE_SYS_UN_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_TERM_H], [/* Define to 1 if you have the <term.h> header file. */
++#undef HAVE_TERM_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_TERMCAP_H], [/* Define to 1 if you have the <termcap.h> header file. */
++#undef HAVE_TERMCAP_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_TERMIO_H], [/* Define to 1 if you have the <termio.h> header file. */
++#undef HAVE_TERMIO_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_TIME_H], [/* Define to 1 if you have the <time.h> header file. */
++#undef HAVE_TIME_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_TMPDIR_H], [/* Define to 1 if you have the <tmpdir.h> header file. */
++#undef HAVE_TMPDIR_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_UDB_H], [/* Define to 1 if you have the <udb.h> header file. */
++#undef HAVE_UDB_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_UTMP_H], [/* Define to 1 if you have the <utmp.h> header file. */
++#undef HAVE_UTMP_H])
++m4trace:configure.in:313: -1- AH_OUTPUT([HAVE_UTMPX_H], [/* Define to 1 if you have the <utmpx.h> header file. */
++#undef HAVE_UTMPX_H])
++m4trace:configure.in:316: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
++configure.in:316: the top level])
++m4trace:configure.in:320: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NETINFO])
++m4trace:configure.in:320: -1- AH_OUTPUT([HAVE_NETINFO], [/* Define if you want to use Netinfo instead of krb5.conf. */
++#undef HAVE_NETINFO])
++m4trace:configure.in:325: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7216: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7152: AC_FIND_FUNC_NO_LIBS is expanded from...
++configure.in:325: the top level])
++m4trace:configure.in:325: -1- AC_CHECK_FUNCS([logwtmp])
++m4trace:configure.in:325: -1- AH_OUTPUT([HAVE_LOGWTMP], [/* Define to 1 if you have the `logwtmp\' function. */
++#undef HAVE_LOGWTMP])
++m4trace:configure.in:325: -1- AC_SUBST([LIB_logwtmp])
++m4trace:configure.in:326: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7216: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7152: AC_FIND_FUNC_NO_LIBS is expanded from...
++configure.in:326: the top level])
++m4trace:configure.in:326: -1- AC_CHECK_FUNCS([logout])
++m4trace:configure.in:326: -1- AH_OUTPUT([HAVE_LOGOUT], [/* Define to 1 if you have the `logout\' function. */
++#undef HAVE_LOGOUT])
++m4trace:configure.in:326: -1- AC_SUBST([LIB_logout])
++m4trace:configure.in:327: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7216: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7152: AC_FIND_FUNC_NO_LIBS is expanded from...
++configure.in:327: the top level])
++m4trace:configure.in:327: -1- AC_CHECK_FUNCS([openpty])
++m4trace:configure.in:327: -1- AH_OUTPUT([HAVE_OPENPTY], [/* Define to 1 if you have the `openpty\' function. */
++#undef HAVE_OPENPTY])
++m4trace:configure.in:327: -1- AC_SUBST([LIB_openpty])
++m4trace:configure.in:328: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7216: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7152: AC_FIND_FUNC_NO_LIBS is expanded from...
++configure.in:328: the top level])
++m4trace:configure.in:328: -1- AC_CHECK_FUNCS([tgetent])
++m4trace:configure.in:328: -1- AH_OUTPUT([HAVE_TGETENT], [/* Define to 1 if you have the `tgetent\' function. */
++#undef HAVE_TGETENT])
++m4trace:configure.in:328: -1- AC_SUBST([LIB_tgetent])
++m4trace:configure.in:361: -1- AC_CHECK_FUNCS([				\
++	_getpty					\
++	_scrsize				\
++	fcntl					\
++	grantpt					\
++	mktime					\
++	ptsname					\
++	rand					\
++	revoke					\
++	select					\
++	setitimer				\
++	setpcred				\
++	setpgid					\
++	setproctitle				\
++	setregid				\
++	setresgid				\
++	setresuid				\
++	setreuid				\
++	setsid					\
++	setutent				\
++	sigaction				\
++	strstr					\
++	timegm					\
++	ttyname					\
++	ttyslot					\
++	umask					\
++	unlockpt				\
++	vhangup					\
++	yp_get_default_domain			\
++])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE__GETPTY], [/* Define to 1 if you have the `_getpty\' function. */
++#undef HAVE__GETPTY])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE__SCRSIZE], [/* Define to 1 if you have the `_scrsize\' function. */
++#undef HAVE__SCRSIZE])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_FCNTL], [/* Define to 1 if you have the `fcntl\' function. */
++#undef HAVE_FCNTL])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_GRANTPT], [/* Define to 1 if you have the `grantpt\' function. */
++#undef HAVE_GRANTPT])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_MKTIME], [/* Define to 1 if you have the `mktime\' function. */
++#undef HAVE_MKTIME])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_PTSNAME], [/* Define to 1 if you have the `ptsname\' function. */
++#undef HAVE_PTSNAME])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_RAND], [/* Define to 1 if you have the `rand\' function. */
++#undef HAVE_RAND])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_REVOKE], [/* Define to 1 if you have the `revoke\' function. */
++#undef HAVE_REVOKE])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_SELECT], [/* Define to 1 if you have the `select\' function. */
++#undef HAVE_SELECT])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_SETITIMER], [/* Define to 1 if you have the `setitimer\' function. */
++#undef HAVE_SETITIMER])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_SETPCRED], [/* Define to 1 if you have the `setpcred\' function. */
++#undef HAVE_SETPCRED])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_SETPGID], [/* Define to 1 if you have the `setpgid\' function. */
++#undef HAVE_SETPGID])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_SETPROCTITLE], [/* Define to 1 if you have the `setproctitle\' function. */
++#undef HAVE_SETPROCTITLE])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_SETREGID], [/* Define to 1 if you have the `setregid\' function. */
++#undef HAVE_SETREGID])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_SETRESGID], [/* Define to 1 if you have the `setresgid\' function. */
++#undef HAVE_SETRESGID])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_SETRESUID], [/* Define to 1 if you have the `setresuid\' function. */
++#undef HAVE_SETRESUID])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_SETREUID], [/* Define to 1 if you have the `setreuid\' function. */
++#undef HAVE_SETREUID])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_SETSID], [/* Define to 1 if you have the `setsid\' function. */
++#undef HAVE_SETSID])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_SETUTENT], [/* Define to 1 if you have the `setutent\' function. */
++#undef HAVE_SETUTENT])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_SIGACTION], [/* Define to 1 if you have the `sigaction\' function. */
++#undef HAVE_SIGACTION])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_STRSTR], [/* Define to 1 if you have the `strstr\' function. */
++#undef HAVE_STRSTR])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_TIMEGM], [/* Define to 1 if you have the `timegm\' function. */
++#undef HAVE_TIMEGM])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_TTYNAME], [/* Define to 1 if you have the `ttyname\' function. */
++#undef HAVE_TTYNAME])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_TTYSLOT], [/* Define to 1 if you have the `ttyslot\' function. */
++#undef HAVE_TTYSLOT])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_UMASK], [/* Define to 1 if you have the `umask\' function. */
++#undef HAVE_UMASK])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_UNLOCKPT], [/* Define to 1 if you have the `unlockpt\' function. */
++#undef HAVE_UNLOCKPT])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_VHANGUP], [/* Define to 1 if you have the `vhangup\' function. */
++#undef HAVE_VHANGUP])
++m4trace:configure.in:361: -1- AH_OUTPUT([HAVE_YP_GET_DEFAULT_DOMAIN], [/* Define to 1 if you have the `yp_get_default_domain\' function. */
++#undef HAVE_YP_GET_DEFAULT_DOMAIN])
++m4trace:configure.in:363: -1- AC_FUNC_MMAP
++m4trace:configure.in:363: -1- AC_CHECK_HEADERS([stdlib.h unistd.h])
++m4trace:configure.in:363: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
++#undef HAVE_STDLIB_H])
++m4trace:configure.in:363: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
++#undef HAVE_UNISTD_H])
++m4trace:configure.in:363: -1- AC_CHECK_FUNCS([getpagesize])
++m4trace:configure.in:363: -1- AH_OUTPUT([HAVE_GETPAGESIZE], [/* Define to 1 if you have the `getpagesize\' function. */
++#undef HAVE_GETPAGESIZE])
++m4trace:configure.in:363: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MMAP])
++m4trace:configure.in:363: -1- AH_OUTPUT([HAVE_MMAP], [/* Define to 1 if you have a working `mmap\' system call. */
++#undef HAVE_MMAP])
++m4trace:configure.in:365: -1- AC_CHECK_HEADERS([capability.h sys/capability.h])
++m4trace:configure.in:365: -1- AH_OUTPUT([HAVE_CAPABILITY_H], [/* Define to 1 if you have the <capability.h> header file. */
++#undef HAVE_CAPABILITY_H])
++m4trace:configure.in:365: -1- AH_OUTPUT([HAVE_SYS_CAPABILITY_H], [/* Define to 1 if you have the <sys/capability.h> header file. */
++#undef HAVE_SYS_CAPABILITY_H])
++m4trace:configure.in:365: -1- AC_CHECK_FUNCS([sgi_getcapabilitybyname cap_set_proc])
++m4trace:configure.in:365: -1- AH_OUTPUT([HAVE_SGI_GETCAPABILITYBYNAME], [/* Define to 1 if you have the `sgi_getcapabilitybyname\' function. */
++#undef HAVE_SGI_GETCAPABILITYBYNAME])
++m4trace:configure.in:365: -1- AH_OUTPUT([HAVE_CAP_SET_PROC], [/* Define to 1 if you have the `cap_set_proc\' function. */
++#undef HAVE_CAP_SET_PROC])
++m4trace:configure.in:367: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7216: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7152: AC_FIND_FUNC_NO_LIBS is expanded from...
++aclocal.m4:9482: AC_CHECK_GETPWNAM_R_POSIX is expanded from...
++configure.in:367: the top level])
++m4trace:configure.in:367: -1- AC_CHECK_FUNCS([getpwnam_r])
++m4trace:configure.in:367: -1- AH_OUTPUT([HAVE_GETPWNAM_R], [/* Define to 1 if you have the `getpwnam_r\' function. */
++#undef HAVE_GETPWNAM_R])
++m4trace:configure.in:367: -1- AC_SUBST([LIB_getpwnam_r])
++m4trace:configure.in:367: -2- _m4_warn([obsolete], [The macro `AC_TRY_RUN' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2289: AC_TRY_RUN is expanded from...
++aclocal.m4:9482: AC_CHECK_GETPWNAM_R_POSIX is expanded from...
++configure.in:367: the top level])
++m4trace:configure.in:367: -1- AC_DEFINE_TRACE_LITERAL([POSIX_GETPWNAM_R])
++m4trace:configure.in:367: -1- AH_OUTPUT([POSIX_GETPWNAM_R], [/* Define if getpwnam_r has POSIX flavour. */
++#undef POSIX_GETPWNAM_R])
++m4trace:configure.in:370: -1- AC_CHECK_FUNCS([getudbnam setlim])
++m4trace:configure.in:370: -1- AH_OUTPUT([HAVE_GETUDBNAM], [/* Define to 1 if you have the `getudbnam\' function. */
++#undef HAVE_GETUDBNAM])
++m4trace:configure.in:370: -1- AH_OUTPUT([HAVE_SETLIM], [/* Define to 1 if you have the `setlim\' function. */
++#undef HAVE_SETLIM])
++m4trace:configure.in:378: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
++aclocal.m4:8873: AC_HAVE_STRUCT_FIELD is expanded from...
++configure.in:378: the top level])
++m4trace:configure.in:378: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_UTMP_UT_ADDR])
++m4trace:configure.in:378: -1- AH_OUTPUT([HAVE_STRUCT_UTMP_UT_ADDR], [/* Define if struct utmp has field ut_addr. */
++#undef HAVE_STRUCT_UTMP_UT_ADDR])
++m4trace:configure.in:379: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
++aclocal.m4:8873: AC_HAVE_STRUCT_FIELD is expanded from...
++configure.in:379: the top level])
++m4trace:configure.in:379: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_UTMP_UT_HOST])
++m4trace:configure.in:379: -1- AH_OUTPUT([HAVE_STRUCT_UTMP_UT_HOST], [/* Define if struct utmp has field ut_host. */
++#undef HAVE_STRUCT_UTMP_UT_HOST])
++m4trace:configure.in:380: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
++aclocal.m4:8873: AC_HAVE_STRUCT_FIELD is expanded from...
++configure.in:380: the top level])
++m4trace:configure.in:380: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_UTMP_UT_ID])
++m4trace:configure.in:380: -1- AH_OUTPUT([HAVE_STRUCT_UTMP_UT_ID], [/* Define if struct utmp has field ut_id. */
++#undef HAVE_STRUCT_UTMP_UT_ID])
++m4trace:configure.in:381: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
++aclocal.m4:8873: AC_HAVE_STRUCT_FIELD is expanded from...
++configure.in:381: the top level])
++m4trace:configure.in:381: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_UTMP_UT_PID])
++m4trace:configure.in:381: -1- AH_OUTPUT([HAVE_STRUCT_UTMP_UT_PID], [/* Define if struct utmp has field ut_pid. */
++#undef HAVE_STRUCT_UTMP_UT_PID])
++m4trace:configure.in:382: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
++aclocal.m4:8873: AC_HAVE_STRUCT_FIELD is expanded from...
++configure.in:382: the top level])
++m4trace:configure.in:382: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_UTMP_UT_TYPE])
++m4trace:configure.in:382: -1- AH_OUTPUT([HAVE_STRUCT_UTMP_UT_TYPE], [/* Define if struct utmp has field ut_type. */
++#undef HAVE_STRUCT_UTMP_UT_TYPE])
++m4trace:configure.in:383: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
++aclocal.m4:8873: AC_HAVE_STRUCT_FIELD is expanded from...
++configure.in:383: the top level])
++m4trace:configure.in:383: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_UTMP_UT_USER])
++m4trace:configure.in:383: -1- AH_OUTPUT([HAVE_STRUCT_UTMP_UT_USER], [/* Define if struct utmp has field ut_user. */
++#undef HAVE_STRUCT_UTMP_UT_USER])
++m4trace:configure.in:384: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
++aclocal.m4:8873: AC_HAVE_STRUCT_FIELD is expanded from...
++configure.in:384: the top level])
++m4trace:configure.in:384: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_UTMPX_UT_EXIT])
++m4trace:configure.in:384: -1- AH_OUTPUT([HAVE_STRUCT_UTMPX_UT_EXIT], [/* Define if struct utmpx has field ut_exit. */
++#undef HAVE_STRUCT_UTMPX_UT_EXIT])
++m4trace:configure.in:385: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
++aclocal.m4:8873: AC_HAVE_STRUCT_FIELD is expanded from...
++configure.in:385: the top level])
++m4trace:configure.in:385: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_UTMPX_UT_SYSLEN])
++m4trace:configure.in:385: -1- AH_OUTPUT([HAVE_STRUCT_UTMPX_UT_SYSLEN], [/* Define if struct utmpx has field ut_syslen. */
++#undef HAVE_STRUCT_UTMPX_UT_SYSLEN])
++m4trace:configure.in:405: -1- AC_CHECK_TYPES([int8_t, int16_t, int32_t, int64_t, 
++	u_int8_t, u_int16_t, u_int32_t, u_int64_t,
++	uint8_t, uint16_t, uint32_t, uint64_t], [], [], [
++#ifdef HAVE_INTTYPES_H
++#include <inttypes.h>
++#endif
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_BITYPES_H
++#include <sys/bitypes.h>
++#endif
++#ifdef HAVE_BIND_BITYPES_H
++#include <bind/bitypes.h>
++#endif
++#ifdef HAVE_NETINET_IN6_MACHTYPES_H
++#include <netinet/in6_machtypes.h>
++#endif
++])
++m4trace:configure.in:405: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INT8_T])
++m4trace:configure.in:405: -1- AH_OUTPUT([HAVE_INT8_T], [/* Define to 1 if the system has the type `int8_t\'. */
++#undef HAVE_INT8_T])
++m4trace:configure.in:405: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INT16_T])
++m4trace:configure.in:405: -1- AH_OUTPUT([HAVE_INT16_T], [/* Define to 1 if the system has the type `int16_t\'. */
++#undef HAVE_INT16_T])
++m4trace:configure.in:405: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INT32_T])
++m4trace:configure.in:405: -1- AH_OUTPUT([HAVE_INT32_T], [/* Define to 1 if the system has the type `int32_t\'. */
++#undef HAVE_INT32_T])
++m4trace:configure.in:405: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INT64_T])
++m4trace:configure.in:405: -1- AH_OUTPUT([HAVE_INT64_T], [/* Define to 1 if the system has the type `int64_t\'. */
++#undef HAVE_INT64_T])
++m4trace:configure.in:405: -1- AC_DEFINE_TRACE_LITERAL([HAVE_U_INT8_T])
++m4trace:configure.in:405: -1- AH_OUTPUT([HAVE_U_INT8_T], [/* Define to 1 if the system has the type `u_int8_t\'. */
++#undef HAVE_U_INT8_T])
++m4trace:configure.in:405: -1- AC_DEFINE_TRACE_LITERAL([HAVE_U_INT16_T])
++m4trace:configure.in:405: -1- AH_OUTPUT([HAVE_U_INT16_T], [/* Define to 1 if the system has the type `u_int16_t\'. */
++#undef HAVE_U_INT16_T])
++m4trace:configure.in:405: -1- AC_DEFINE_TRACE_LITERAL([HAVE_U_INT32_T])
++m4trace:configure.in:405: -1- AH_OUTPUT([HAVE_U_INT32_T], [/* Define to 1 if the system has the type `u_int32_t\'. */
++#undef HAVE_U_INT32_T])
++m4trace:configure.in:405: -1- AC_DEFINE_TRACE_LITERAL([HAVE_U_INT64_T])
++m4trace:configure.in:405: -1- AH_OUTPUT([HAVE_U_INT64_T], [/* Define to 1 if the system has the type `u_int64_t\'. */
++#undef HAVE_U_INT64_T])
++m4trace:configure.in:405: -1- AC_DEFINE_TRACE_LITERAL([HAVE_UINT8_T])
++m4trace:configure.in:405: -1- AH_OUTPUT([HAVE_UINT8_T], [/* Define to 1 if the system has the type `uint8_t\'. */
++#undef HAVE_UINT8_T])
++m4trace:configure.in:405: -1- AC_DEFINE_TRACE_LITERAL([HAVE_UINT16_T])
++m4trace:configure.in:405: -1- AH_OUTPUT([HAVE_UINT16_T], [/* Define to 1 if the system has the type `uint16_t\'. */
++#undef HAVE_UINT16_T])
++m4trace:configure.in:405: -1- AC_DEFINE_TRACE_LITERAL([HAVE_UINT32_T])
++m4trace:configure.in:405: -1- AH_OUTPUT([HAVE_UINT32_T], [/* Define to 1 if the system has the type `uint32_t\'. */
++#undef HAVE_UINT32_T])
++m4trace:configure.in:405: -1- AC_DEFINE_TRACE_LITERAL([HAVE_UINT64_T])
++m4trace:configure.in:405: -1- AH_OUTPUT([HAVE_UINT64_T], [/* Define to 1 if the system has the type `uint64_t\'. */
++#undef HAVE_UINT64_T])
++m4trace:configure.in:407: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++aclocal.m4:7216: AC_FIND_FUNC_NO_LIBS2 is expanded from...
++aclocal.m4:7152: AC_FIND_FUNC_NO_LIBS is expanded from...
++aclocal.m4:9523: KRB_READLINE is expanded from...
++configure.in:407: the top level])
++m4trace:configure.in:407: -1- AC_CHECK_FUNCS([el_init])
++m4trace:configure.in:407: -1- AH_OUTPUT([HAVE_EL_INIT], [/* Define to 1 if you have the `el_init\' function. */
++#undef HAVE_EL_INIT])
++m4trace:configure.in:407: -1- AC_SUBST([LIB_el_init])
++m4trace:configure.in:407: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
++autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
++autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
++aclocal.m4:9523: KRB_READLINE is expanded from...
++configure.in:407: the top level])
++m4trace:configure.in:407: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FOUR_VALUED_EL_INIT])
++m4trace:configure.in:407: -1- AH_OUTPUT([HAVE_FOUR_VALUED_EL_INIT], [/* Define if el_init takes four arguments. */
++#undef HAVE_FOUR_VALUED_EL_INIT])
++m4trace:configure.in:407: -1- AM_CONDITIONAL([el_compat], [test "$ac_foo" = yes])
++m4trace:configure.in:407: -1- AC_SUBST([el_compat_TRUE])
++m4trace:configure.in:407: -1- AC_SUBST([el_compat_FALSE])
++m4trace:configure.in:407: -1- AC_DEFINE_TRACE_LITERAL([HAVE_READLINE])
++m4trace:configure.in:407: -1- AH_OUTPUT([HAVE_READLINE], [/* Define if you have a readline compatible library. */
++#undef HAVE_READLINE])
++m4trace:configure.in:409: -1- AC_DEFINE_TRACE_LITERAL([AUTHENTICATION])
++m4trace:configure.in:409: -1- AH_OUTPUT([AUTHENTICATION], [/* Define if you want authentication support in telnet. */
++#undef AUTHENTICATION])
++m4trace:configure.in:409: -1- AC_DEFINE_TRACE_LITERAL([ENCRYPTION])
++m4trace:configure.in:409: -1- AH_OUTPUT([ENCRYPTION], [/* Define if you want encryption support in telnet. */
++#undef ENCRYPTION])
++m4trace:configure.in:409: -1- AC_DEFINE_TRACE_LITERAL([DES_ENCRYPTION])
++m4trace:configure.in:409: -1- AH_OUTPUT([DES_ENCRYPTION], [/* Define if you want to use DES encryption in telnet. */
++#undef DES_ENCRYPTION])
++m4trace:configure.in:409: -1- AC_DEFINE_TRACE_LITERAL([DIAGNOSTICS])
++m4trace:configure.in:409: -1- AH_OUTPUT([DIAGNOSTICS], [/* Define this to enable diagnostics in telnet. */
++#undef DIAGNOSTICS])
++m4trace:configure.in:409: -1- AC_DEFINE_TRACE_LITERAL([OLD_ENVIRON])
++m4trace:configure.in:409: -1- AH_OUTPUT([OLD_ENVIRON], [/* Define this to enable old environment option in telnet. */
++#undef OLD_ENVIRON])
++m4trace:configure.in:409: -1- AC_DEFINE_TRACE_LITERAL([ENV_HACK])
++m4trace:configure.in:409: -1- AH_OUTPUT([ENV_HACK], [/* Define this if you want support for broken ENV_{VAR,VAL} telnets. */
++#undef ENV_HACK])
++m4trace:configure.in:409: -2- _m4_warn([obsolete], [The macro `AC_TRY_RUN' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2289: AC_TRY_RUN is expanded from...
++aclocal.m4:9602: rk_TELNET is expanded from...
++configure.in:409: the top level])
++m4trace:configure.in:409: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETMSG])
++m4trace:configure.in:409: -1- AH_OUTPUT([HAVE_GETMSG], [/* Define if you have a working getmsg. */
++#undef HAVE_GETMSG])
++m4trace:configure.in:409: -1- AC_DEFINE_TRACE_LITERAL([STREAMSPTY])
++m4trace:configure.in:409: -1- AH_OUTPUT([STREAMSPTY], [/* Define if you have streams ptys. */
++#undef STREAMSPTY])
++m4trace:configure.in:409: -1- AH_OUTPUT([zzzz10], [
++#if defined(ENCRYPTION) && !defined(AUTHENTICATION)
++#define AUTHENTICATION 1
++#endif
++
++/* Set this to the default system lead string for telnetd 
++ * can contain %-escapes: %s=sysname, %m=machine, %r=os-release
++ * %v=os-version, %t=tty, %h=hostname, %d=date and time
++ */
++#undef USE_IM
++
++/* Used with login -p */
++#undef LOGIN_ARGS
++
++/* set this to a sensible login */
++#ifndef LOGIN_PATH
++#define LOGIN_PATH BINDIR "/login"
++#endif
++])
++m4trace:configure.in:412: -1- AC_SUBST([COMPILE_ET])
++m4trace:configure.in:412: -1- _m4_warn([obsolete], [The macro `AC_TRY_RUN' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2289: AC_TRY_RUN is expanded from...
++aclocal.m4:9696: CHECK_COMPILE_ET is expanded from...
++configure.in:412: the top level])
++m4trace:configure.in:412: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [autoconf/general.m4:2281: AC_RUN_IFELSE is expanded from...
++autoconf/general.m4:2289: AC_TRY_RUN is expanded from...
++aclocal.m4:9696: CHECK_COMPILE_ET is expanded from...
++configure.in:412: the top level])
++m4trace:configure.in:412: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
++You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
++aclocal.m4:9696: CHECK_COMPILE_ET is expanded from...
++configure.in:412: the top level])
++m4trace:configure.in:412: -1- AC_SUBST([DIR_com_err])
++m4trace:configure.in:412: -1- AC_SUBST([LIB_com_err])
++m4trace:configure.in:412: -1- AC_SUBST([LIB_com_err_a])
++m4trace:configure.in:412: -1- AC_SUBST([LIB_com_err_so])
++m4trace:configure.in:414: -1- AC_SUBST([LIB_AUTH_SUBDIRS])
++m4trace:configure.in:416: -1- AC_DEFINE_TRACE_LITERAL([BINDIR])
++m4trace:configure.in:416: -1- AH_OUTPUT([BINDIR], [/* path to bin */
++#undef BINDIR])
++m4trace:configure.in:416: -1- AC_DEFINE_TRACE_LITERAL([LIBDIR])
++m4trace:configure.in:416: -1- AH_OUTPUT([LIBDIR], [/* path to lib */
++#undef LIBDIR])
++m4trace:configure.in:416: -1- AC_DEFINE_TRACE_LITERAL([LIBEXECDIR])
++m4trace:configure.in:416: -1- AH_OUTPUT([LIBEXECDIR], [/* path to libexec */
++#undef LIBEXECDIR])
++m4trace:configure.in:416: -1- AC_DEFINE_TRACE_LITERAL([LOCALSTATEDIR])
++m4trace:configure.in:416: -1- AH_OUTPUT([LOCALSTATEDIR], [/* path to localstate */
++#undef LOCALSTATEDIR])
++m4trace:configure.in:416: -1- AC_DEFINE_TRACE_LITERAL([SBINDIR])
++m4trace:configure.in:416: -1- AH_OUTPUT([SBINDIR], [/* path to sbin */
++#undef SBINDIR])
++m4trace:configure.in:416: -1- AC_DEFINE_TRACE_LITERAL([SYSCONFDIR])
++m4trace:configure.in:416: -1- AH_OUTPUT([SYSCONFDIR], [/* path to sysconf */
++#undef SYSCONFDIR])
++m4trace:configure.in:420: -1- AC_SUBST([LTLIBOBJS])
++m4trace:configure.in:424: -1- AH_OUTPUT([zzzz11], [#ifdef ROKEN_RENAME
++#include "roken_rename.h"
++#endif])
++m4trace:configure.in:478: -1- AC_CONFIG_FILES([Makefile 		\
++	include/Makefile		\
++	include/kadm5/Makefile		\
++	lib/Makefile			\
++	lib/45/Makefile			\
++	lib/auth/Makefile		\
++	lib/auth/afskauthlib/Makefile	\
++	lib/auth/pam/Makefile		\
++	lib/auth/sia/Makefile		\
++	lib/asn1/Makefile		\
++	lib/com_err/Makefile		\
++	lib/des/Makefile		\
++	lib/editline/Makefile		\
++	lib/gssapi/Makefile		\
++	lib/hdb/Makefile		\
++	lib/kadm5/Makefile		\
++	lib/kafs/Makefile		\
++	lib/kdfs/Makefile		\
++	lib/krb5/Makefile		\
++	lib/otp/Makefile		\
++	lib/roken/Makefile		\
++	lib/sl/Makefile			\
++	lib/vers/Makefile		\
++	kuser/Makefile			\
++	kpasswd/Makefile		\
++	kadmin/Makefile			\
++	admin/Makefile			\
++	kdc/Makefile			\
++	appl/Makefile			\
++	appl/afsutil/Makefile		\
++	appl/ftp/Makefile		\
++	appl/ftp/common/Makefile	\
++	appl/ftp/ftp/Makefile		\
++	appl/ftp/ftpd/Makefile		\
++	appl/kx/Makefile		\
++	appl/login/Makefile		\
++	appl/otp/Makefile		\
++	appl/popper/Makefile		\
++	appl/push/Makefile		\
++	appl/rsh/Makefile		\
++	appl/rcp/Makefile		\
++	appl/su/Makefile		\
++	appl/xnlock/Makefile		\
++	appl/telnet/Makefile		\
++	appl/telnet/libtelnet/Makefile	\
++	appl/telnet/telnet/Makefile	\
++	appl/telnet/telnetd/Makefile	\
++	appl/test/Makefile		\
++	appl/kf/Makefile		\
++	appl/dceutils/Makefile		\
++	doc/Makefile			\
++	tools/Makefile			\
++])
++m4trace:configure.in:480: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs])
++m4trace:configure.in:480: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])
+diff -ruN heimdal-0.6.1-old/config.guess heimdal-0.6.1/config.guess
+--- heimdal-0.6.1-old/config.guess	2004-04-01 22:19:25.000000000 +1000
++++ heimdal-0.6.1/config.guess	2004-04-04 10:40:09.000000000 +1000
+@@ -3,7 +3,7 @@
+ #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
+ #   2000, 2001, 2002, 2003 Free Software Foundation, Inc.
+ 
+-timestamp='2003-10-03'
++timestamp='2004-01-05'
+ 
+ # This file is free software; you can redistribute it and/or modify it
+ # under the terms of the GNU General Public License as published by
+@@ -221,6 +221,9 @@
+     mvmeppc:OpenBSD:*:*)
+ 	echo powerpc-unknown-openbsd${UNAME_RELEASE}
+ 	exit 0 ;;
++    pegasos:OpenBSD:*:*)
++	echo powerpc-unknown-openbsd${UNAME_RELEASE}
++	exit 0 ;;
+     pmax:OpenBSD:*:*)
+ 	echo mipsel-unknown-openbsd${UNAME_RELEASE}
+ 	exit 0 ;;
+@@ -307,6 +310,9 @@
+     *:OS/390:*:*)
+ 	echo i370-ibm-openedition
+ 	exit 0 ;;
++    *:OS400:*:*)
++        echo powerpc-ibm-os400
++	exit 0 ;;
+     arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
+ 	echo arm-acorn-riscix${UNAME_RELEASE}
+ 	exit 0;;
+@@ -742,6 +748,11 @@
+         FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
+         echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
+         exit 0 ;;
++    5000:UNIX_System_V:4.*:*)
++        FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
++        FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
++        echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
++	exit 0 ;;
+     i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
+ 	echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
+ 	exit 0 ;;
+@@ -751,7 +762,7 @@
+     *:BSD/OS:*:*)
+ 	echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
+ 	exit 0 ;;
+-    *:FreeBSD:*:*|*:GNU/FreeBSD:*:*)
++    *:FreeBSD:*:*)
+ 	# Determine whether the default compiler uses glibc.
+ 	eval $set_cc_for_build
+ 	sed 's/^	//' << EOF >$dummy.c
+@@ -763,7 +774,7 @@
+ 	#endif
+ EOF
+ 	eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
+-	# GNU/FreeBSD systems have a "k" prefix to indicate we are using
++	# GNU/KFreeBSD systems have a "k" prefix to indicate we are using
+ 	# FreeBSD's kernel, but not the complete OS.
+ 	case ${LIBC} in gnu) kernel_only='k' ;; esac
+ 	echo ${UNAME_MACHINE}-unknown-${kernel_only}freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`${LIBC:+-$LIBC}
+@@ -799,8 +810,13 @@
+ 	echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
+ 	exit 0 ;;
+     *:GNU:*:*)
++	# the GNU system
+ 	echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
+ 	exit 0 ;;
++    *:GNU/*:*:*)
++	# other systems with GNU libc and userland
++	echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
++	exit 0 ;;
+     i*86:Minix:*:*)
+ 	echo ${UNAME_MACHINE}-pc-minix
+ 	exit 0 ;;
+@@ -981,6 +997,9 @@
+     i*86:atheos:*:*)
+ 	echo ${UNAME_MACHINE}-unknown-atheos
+ 	exit 0 ;;
++	i*86:syllable:*:*)
++	echo ${UNAME_MACHINE}-pc-syllable
++	exit 0 ;;
+     i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
+ 	echo i386-unknown-lynxos${UNAME_RELEASE}
+ 	exit 0 ;;
+@@ -1052,7 +1071,7 @@
+ 	exit 0 ;;
+     M68*:*:R3V[567]*:*)
+ 	test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
+-    3[34]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0)
++    3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0)
+ 	OS_REL=''
+ 	test -r /etc/.relid \
+ 	&& OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
+@@ -1167,7 +1186,7 @@
+     *:QNX:*:4*)
+ 	echo i386-pc-qnx
+ 	exit 0 ;;
+-    NSR-[DGKLNPTVWY]:NONSTOP_KERNEL:*:*)
++    NSR-?:NONSTOP_KERNEL:*:*)
+ 	echo nsr-tandem-nsk${UNAME_RELEASE}
+ 	exit 0 ;;
+     *:NonStop-UX:*:*)
+@@ -1211,6 +1230,9 @@
+     SEI:*:*:SEIUX)
+         echo mips-sei-seiux${UNAME_RELEASE}
+ 	exit 0 ;;
++    *:DRAGONFLY:*:*)
++	echo ${UNAME_MACHINE}-unknown-dragonfly${UNAME_RELEASE}
++	exit 0 ;;
+ esac
+ 
+ #echo '(No uname command or uname output not recognized.)' 1>&2
+diff -ruN heimdal-0.6.1-old/config.sub heimdal-0.6.1/config.sub
+--- heimdal-0.6.1-old/config.sub	2004-04-01 22:19:25.000000000 +1000
++++ heimdal-0.6.1/config.sub	2004-04-04 10:40:09.000000000 +1000
+@@ -3,7 +3,7 @@
+ #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
+ #   2000, 2001, 2002, 2003 Free Software Foundation, Inc.
+ 
+-timestamp='2003-08-18'
++timestamp='2004-01-05'
+ 
+ # This file is (in principle) common to ALL GNU software.
+ # The presence of a machine in this file suggests that SOME GNU software
+@@ -118,7 +118,8 @@
+ # Here we must recognize all the valid KERNEL-OS combinations.
+ maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
+ case $maybe_os in
+-  nto-qnx* | linux-gnu* | linux-dietlibc | kfreebsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
++  nto-qnx* | linux-gnu* | linux-dietlibc | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | \
++  kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
+     os=-$maybe_os
+     basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
+     ;;
+@@ -379,6 +380,9 @@
+ 	amd64)
+ 		basic_machine=x86_64-pc
+ 		;;
++	amd64-*)
++		basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
++		;;
+ 	amdahl)
+ 		basic_machine=580-amdahl
+ 		os=-sysv
+@@ -743,6 +747,10 @@
+ 		basic_machine=or32-unknown
+ 		os=-coff
+ 		;;
++	os400)
++		basic_machine=powerpc-ibm
++		os=-os400
++		;;
+ 	OSE68000 | ose68000)
+ 		basic_machine=m68000-ericsson
+ 		os=-ose
+@@ -963,6 +971,10 @@
+ 	tower | tower-32)
+ 		basic_machine=m68k-ncr
+ 		;;
++	tpf)
++		basic_machine=s390x-ibm
++		os=-tpf
++		;;
+ 	udi29k)
+ 		basic_machine=a29k-amd
+ 		os=-udi
+@@ -1131,19 +1143,19 @@
+ 	      | -aos* \
+ 	      | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
+ 	      | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
+-	      | -hiux* | -386bsd* | -netbsd* | -openbsd* | -kfreebsd* | -freebsd* | -riscix* \
++	      | -hiux* | -386bsd* | -knetbsd* | -netbsd* | -openbsd* | -kfreebsd* | -freebsd* | -riscix* \
+ 	      | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
+ 	      | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
+ 	      | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
+ 	      | -chorusos* | -chorusrdb* \
+ 	      | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
+-	      | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
++	      | -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \
+ 	      | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
+ 	      | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
+ 	      | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
+ 	      | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
+ 	      | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
+-	      | -powermax* | -dnix* | -nx6 | -nx7 | -sei*)
++	      | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly*)
+ 	# Remember, each alternative MUST END IN *, to match a version number.
+ 		;;
+ 	-qnx*)
+@@ -1182,6 +1194,9 @@
+ 	-opened*)
+ 		os=-openedition
+ 		;;
++        -os400*)
++		os=-os400
++		;;
+ 	-wince*)
+ 		os=-wince
+ 		;;
+@@ -1203,6 +1218,9 @@
+ 	-atheos*)
+ 		os=-atheos
+ 		;;
++	-syllable*)
++		os=-syllable
++		;;
+ 	-386bsd)
+ 		os=-bsd
+ 		;;
+@@ -1225,6 +1243,9 @@
+ 	-sinix*)
+ 		os=-sysv4
+ 		;;
++        -tpf*)
++		os=-tpf
++		;;
+ 	-triton*)
+ 		os=-sysv3
+ 		;;
+@@ -1473,9 +1494,15 @@
+ 			-mvs* | -opened*)
+ 				vendor=ibm
+ 				;;
++			-os400*)
++				vendor=ibm
++				;;
+ 			-ptx*)
+ 				vendor=sequent
+ 				;;
++			-tpf*)
++				vendor=ibm
++				;;
+ 			-vxsim* | -vxworks* | -windiss*)
+ 				vendor=wrs
+ 				;;
+diff -ruN heimdal-0.6.1-old/configure heimdal-0.6.1/configure
+--- heimdal-0.6.1-old/configure	2004-04-01 22:18:08.000000000 +1000
++++ heimdal-0.6.1/configure	2004-04-04 10:39:22.000000000 +1000
+@@ -467,7 +467,7 @@
+ # include <unistd.h>
+ #endif"
+ 
+-ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT build build_cpu build_vendor build_os host host_cpu host_vendor host_os CANONICAL_HOST YACC LEX LEXLIB LEX_OUTPUT_ROOT LN_S EGREP ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CXX CXXFLAGS ac_ct_CXX CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL WFLAGS WFLAGS_NOUNUSED WFLAGS_NOIMPLICITINT INCLUDE_openldap LIB_openldap INCLUDE_krb4 LIB_krb4 EXTRA_LIB45 LIB_krb_enable_debug LIB_krb_disable_debug LIB_krb_get_our_ip_for_realm LIB_krb_kdctimeofday LIB_krb_get_kdc_time_diff KRB4_TRUE KRB4_FALSE KRB5_TRUE KRB5_FALSE do_roken_rename_TRUE do_roken_rename_FALSE LIB_kdb HAVE_OPENSSL_TRUE HAVE_OPENSSL_FALSE DIR_des INCLUDE_des LIB_des LIB_des_a LIB_des_so LIB_des_appl DCE_TRUE DCE_FALSE dpagaix_cflags dpagaix_ldadd dpagaix_ldflags LIB_db_create LIB_dbopen LIB_dbm_firstkey HAVE_DB1_TRUE HAVE_DB1_FALSE HAVE_DB3_TRUE HAVE_DB3_FALSE HAVE_NDBM_TRUE HAVE_NDBM_FALSE DBLIB LIB_NDBM VOID_RETSIGTYPE have_err_h_TRUE have_err_h_FALSE have_fnmatch_h_TRUE have_fnmatch_h_FALSE have_ifaddrs_h_TRUE have_ifaddrs_h_FALSE have_vis_h_TRUE have_vis_h_FALSE LIB_socket LIB_gethostbyname LIB_syslog LIB_gethostbyname2 LIB_res_search LIB_res_nsearch LIB_dn_expand LIBOBJS have_glob_h_TRUE have_glob_h_FALSE LIB_getsockopt LIB_setsockopt LIB_hstrerror LIB_bswap16 LIB_bswap32 LIB_pidfile LIB_getaddrinfo LIB_getnameinfo LIB_freeaddrinfo LIB_gai_strerror LIB_crypt DIR_roken LIB_roken INCLUDES_roken LIB_otp OTP_TRUE OTP_FALSE LIB_security NROFF GROFF CATMAN CATMAN_TRUE CATMAN_FALSE CATMANEXT INCLUDE_readline LIB_readline INCLUDE_hesiod LIB_hesiod AIX_TRUE AIX_FALSE AIX4_TRUE AIX4_FALSE LIB_dlopen HAVE_DLOPEN_TRUE HAVE_DLOPEN_FALSE LIB_loadquery AIX_DYNAMIC_AFS_TRUE AIX_DYNAMIC_AFS_FALSE AIX_EXTRA_KAFS IRIX_TRUE IRIX_FALSE X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS HAVE_X_TRUE HAVE_X_FALSE LIB_XauWriteAuth LIB_XauReadAuth LIB_XauFileName NEED_WRITEAUTH_TRUE NEED_WRITEAUTH_FALSE LIB_logwtmp LIB_logout LIB_openpty LIB_tgetent LIB_getpwnam_r LIB_el_init el_compat_TRUE el_compat_FALSE COMPILE_ET DIR_com_err LIB_com_err LIB_com_err_a LIB_com_err_so LIB_AUTH_SUBDIRS LTLIBOBJS'
++ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot build build_cpu build_vendor build_os host host_cpu host_vendor host_os CANONICAL_HOST YACC LEX LEXLIB LEX_OUTPUT_ROOT LN_S EGREP ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CXX CXXFLAGS ac_ct_CXX CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL WFLAGS WFLAGS_NOUNUSED WFLAGS_NOIMPLICITINT DIR_openldap INCLUDE_openldap LIB_openldap DIR_krb4 INCLUDE_krb4 LIB_krb4 EXTRA_LIB45 LIB_krb_enable_debug LIB_krb_disable_debug LIB_krb_get_our_ip_for_realm LIB_krb_kdctimeofday LIB_krb_get_kdc_time_diff KRB4_TRUE KRB4_FALSE KRB5_TRUE KRB5_FALSE do_roken_rename_TRUE do_roken_rename_FALSE LIB_kdb HAVE_OPENSSL_TRUE HAVE_OPENSSL_FALSE DIR_des INCLUDE_des LIB_des LIB_des_a LIB_des_so LIB_des_appl DCE_TRUE DCE_FALSE dpagaix_cflags dpagaix_ldadd dpagaix_ldflags LIB_db_create LIB_dbopen LIB_dbm_firstkey HAVE_DB1_TRUE HAVE_DB1_FALSE HAVE_DB3_TRUE HAVE_DB3_FALSE HAVE_NDBM_TRUE HAVE_NDBM_FALSE DBLIB LIB_NDBM LIB_crypt LIB_roken DIR_roken CPPFLAGS_roken VOID_RETSIGTYPE have_err_h_TRUE have_err_h_FALSE have_fnmatch_h_TRUE have_fnmatch_h_FALSE have_ifaddrs_h_TRUE have_ifaddrs_h_FALSE have_vis_h_TRUE have_vis_h_FALSE LIB_socket LIB_gethostbyname LIB_syslog LIB_gethostbyname2 LIB_res_search LIB_res_nsearch LIB_dn_expand LIBOBJS have_glob_h_TRUE have_glob_h_FALSE LIB_getsockopt LIB_setsockopt LIB_hstrerror LIB_bswap16 LIB_bswap32 LIB_pidfile LIB_getaddrinfo LIB_getnameinfo LIB_freeaddrinfo LIB_gai_strerror OTP_TRUE OTP_FALSE LIB_security NROFF GROFF CATMAN CATMAN_TRUE CATMAN_FALSE CATMANEXT DIR_readline INCLUDE_readline LIB_readline DIR_hesiod INCLUDE_hesiod LIB_hesiod DIR_sl INCLUDE_sl LIB_sl DIR_ss INCLUDE_ss LIB_ss DIR_otp INCLUDE_otp LIB_otp AIX_TRUE AIX_FALSE AIX4_TRUE AIX4_FALSE LIB_dlopen HAVE_DLOPEN_TRUE HAVE_DLOPEN_FALSE LIB_loadquery AIX_DYNAMIC_AFS_TRUE AIX_DYNAMIC_AFS_FALSE AIX_EXTRA_KAFS IRIX_TRUE IRIX_FALSE X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS HAVE_X_TRUE HAVE_X_FALSE LIB_XauWriteAuth LIB_XauReadAuth LIB_XauFileName NEED_WRITEAUTH_TRUE NEED_WRITEAUTH_FALSE LIB_logwtmp LIB_logout LIB_openpty LIB_tgetent LIB_getpwnam_r LIB_el_init el_compat_TRUE el_compat_FALSE COMPILE_ET DIR_com_err LIB_com_err LIB_com_err_a LIB_com_err_so LIB_AUTH_SUBDIRS LTLIBOBJS'
+ ac_subst_files=''
+ 
+ # Initialize some variables set by options.
+@@ -1076,6 +1076,7 @@
+   --with-openssl-lib=dir  use openssl libraries in dir
+   --with-openssl-include=dir
+                           use openssl headers in dir
++  --with-roken=dir        use the roken library in dir
+   --without-ipv6          do not enable IPv6 support
+   --with-readline=dir     use readline in dir
+   --with-readline-lib=dir use readline libraries in dir
+@@ -1089,6 +1090,18 @@
+                           use hesiod headers in dir
+   --with-hesiod-config=path
+                           config program for hesiod
++  --with-sl=dir           use sl in dir
++  --with-sl-lib=dir       use sl libraries in dir
++  --with-sl-include=dir   use sl headers in dir
++  --with-sl-config=path   config program for sl
++  --with-ss=dir           use ss in dir
++  --with-ss-lib=dir       use ss libraries in dir
++  --with-ss-include=dir   use ss headers in dir
++  --with-ss-config=path   config program for ss
++  --with-otp=dir          use otp in dir
++  --with-otp-lib=dir      use otp libraries in dir
++  --with-otp-include=dir  use otp headers in dir
++  --with-otp-config=path  config program for otp
+   --with-x                use the X Window System
+ 
+ Some influential environment variables:
+@@ -1197,7 +1210,7 @@
+     else
+       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
+     fi
+-    cd $ac_popdir
++    cd "$ac_popdir"
+   done
+ fi
+ 
+@@ -1554,6 +1567,30 @@
+ 
+ 
+ 
++echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
++echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
++    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
++if test "${enable_maintainer_mode+set}" = set; then
++  enableval="$enable_maintainer_mode"
++  USE_MAINTAINER_MODE=$enableval
++else
++  USE_MAINTAINER_MODE=no
++fi;
++  echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
++echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
++
++
++if test $USE_MAINTAINER_MODE = yes; then
++  MAINTAINER_MODE_TRUE=
++  MAINTAINER_MODE_FALSE='#'
++else
++  MAINTAINER_MODE_TRUE='#'
++  MAINTAINER_MODE_FALSE=
++fi
++
++  MAINT=$MAINTAINER_MODE_TRUE
++
++
+ 
+           ac_config_headers="$ac_config_headers include/config.h"
+ 
+@@ -2126,8 +2163,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -2185,8 +2221,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -2302,8 +2337,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -2357,8 +2391,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -2403,8 +2436,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -2448,8 +2480,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -3263,8 +3294,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -3293,8 +3323,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -3364,8 +3393,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -3417,8 +3445,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -3489,8 +3516,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -3542,8 +3568,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -3712,8 +3737,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -3779,8 +3803,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -3869,8 +3892,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -4038,8 +4060,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -4096,8 +4117,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -4201,8 +4221,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -4660,19 +4679,10 @@
+ 
+ # This must be Linux ELF.
+ linux*)
+-  case $host_cpu in
+-  alpha*|hppa*|i*86|ia64*|m68*|mips*|powerpc*|sparc*|s390*|sh*)
+-    lt_cv_deplibs_check_method=pass_all ;;
+-  *)
+-    # glibc up to 2.1.1 does not perform some relocations on ARM
+-    # this will be overridden with pass_all, but let us keep it just in case
+-    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
+-  esac
+-  lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
+   lt_cv_deplibs_check_method=pass_all
+   ;;
+ 
+-netbsd*)
++netbsd* | knetbsd*-gnu)
+   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
+     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
+   else
+@@ -4786,7 +4796,7 @@
+   ;;
+ *-*-irix6*)
+   # Find out which ABI we are using.
+-  echo '#line 4789 "configure"' > conftest.$ac_ext
++  echo '#line 4799 "configure"' > conftest.$ac_ext
+   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+@@ -4906,8 +4916,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -4982,8 +4991,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -5153,8 +5161,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -5221,8 +5228,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -5482,8 +5488,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_cxx_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -5541,8 +5546,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_cxx_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -5613,8 +5617,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_cxx_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -5658,8 +5661,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_cxx_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -6015,7 +6017,7 @@
+ 
+ 
+ # Provide some information about the compiler.
+-echo "$as_me:6018:" \
++echo "$as_me:6020:" \
+      "checking for Fortran 77 compiler version" >&5
+ ac_compiler=`set X $ac_compile; echo $2`
+ { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
+@@ -6061,8 +6063,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_f77_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_f77_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -6111,8 +6112,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_f77_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_f77_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -7519,7 +7519,7 @@
+       fi
+       ;;
+ 
+-    netbsd*)
++    netbsd* | knetbsd*-gnu)
+       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
+ 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
+ 	wlarc=
+@@ -7733,8 +7733,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -7794,8 +7793,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -8038,7 +8036,7 @@
+       link_all_deplibs=yes
+       ;;
+ 
+-    netbsd*)
++    netbsd* | knetbsd*-gnu)
+       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
+ 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
+       else
+@@ -8986,8 +8984,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -9090,8 +9087,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -9156,8 +9152,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -9250,8 +9245,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -9316,8 +9310,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -9383,8 +9376,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -9450,8 +9442,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -9526,7 +9517,7 @@
+   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
+   lt_status=$lt_dlunknown
+   cat > conftest.$ac_ext <<EOF
+-#line 9529 "configure"
++#line 9520 "configure"
+ #include "confdefs.h"
+ 
+ #if HAVE_DLFCN_H
+@@ -9624,7 +9615,7 @@
+   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
+   lt_status=$lt_dlunknown
+   cat > conftest.$ac_ext <<EOF
+-#line 9627 "configure"
++#line 9618 "configure"
+ #include "confdefs.h"
+ 
+ #if HAVE_DLFCN_H
+@@ -10696,8 +10687,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_cxx_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -10758,8 +10748,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_cxx_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -11137,7 +11126,7 @@
+ 	;;
+     esac
+     ;;
+-  netbsd*)
++  netbsd* | knetbsd*-gnu)
+     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
+       archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
+       wlarc=
+@@ -11692,7 +11681,7 @@
+ 	    ;;
+ 	esac
+ 	;;
+-      netbsd*)
++      netbsd* | knetbsd*-gnu)
+ 	;;
+       osf3* | osf4* | osf5*)
+ 	case $cc_basename in
+@@ -11803,11 +11792,11 @@
+    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
+    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+    -e 's:$: $lt_compiler_flag:'`
+-   (eval echo "\"\$as_me:11806: $lt_compile\"" >&5)
++   (eval echo "\"\$as_me:11795: $lt_compile\"" >&5)
+    (eval "$lt_compile" 2>conftest.err)
+    ac_status=$?
+    cat conftest.err >&5
+-   echo "$as_me:11810: \$? = $ac_status" >&5
++   echo "$as_me:11799: \$? = $ac_status" >&5
+    if (exit $ac_status) && test -s "$ac_outfile"; then
+      # The compiler can only warn and ignore the option if not recognized
+      # So say no if there are warnings
+@@ -11863,11 +11852,11 @@
+    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
+    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+    -e 's:$: $lt_compiler_flag:'`
+-   (eval echo "\"\$as_me:11866: $lt_compile\"" >&5)
++   (eval echo "\"\$as_me:11855: $lt_compile\"" >&5)
+    (eval "$lt_compile" 2>out/conftest.err)
+    ac_status=$?
+    cat out/conftest.err >&5
+-   echo "$as_me:11870: \$? = $ac_status" >&5
++   echo "$as_me:11859: \$? = $ac_status" >&5
+    if (exit $ac_status) && test -s out/conftest2.$ac_objext
+    then
+      # The compiler can only warn and ignore the option if not recognized
+@@ -12684,8 +12673,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_cxx_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -12788,8 +12776,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_cxx_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -12854,8 +12841,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_cxx_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -12948,8 +12934,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_cxx_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -13014,8 +12999,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_cxx_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -13081,8 +13065,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_cxx_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -13148,8 +13131,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_cxx_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -13224,7 +13206,7 @@
+   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
+   lt_status=$lt_dlunknown
+   cat > conftest.$ac_ext <<EOF
+-#line 13227 "configure"
++#line 13209 "configure"
+ #include "confdefs.h"
+ 
+ #if HAVE_DLFCN_H
+@@ -13322,7 +13304,7 @@
+   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
+   lt_status=$lt_dlunknown
+   cat > conftest.$ac_ext <<EOF
+-#line 13325 "configure"
++#line 13307 "configure"
+ #include "confdefs.h"
+ 
+ #if HAVE_DLFCN_H
+@@ -14149,11 +14131,11 @@
+    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
+    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+    -e 's:$: $lt_compiler_flag:'`
+-   (eval echo "\"\$as_me:14152: $lt_compile\"" >&5)
++   (eval echo "\"\$as_me:14134: $lt_compile\"" >&5)
+    (eval "$lt_compile" 2>conftest.err)
+    ac_status=$?
+    cat conftest.err >&5
+-   echo "$as_me:14156: \$? = $ac_status" >&5
++   echo "$as_me:14138: \$? = $ac_status" >&5
+    if (exit $ac_status) && test -s "$ac_outfile"; then
+      # The compiler can only warn and ignore the option if not recognized
+      # So say no if there are warnings
+@@ -14209,11 +14191,11 @@
+    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
+    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+    -e 's:$: $lt_compiler_flag:'`
+-   (eval echo "\"\$as_me:14212: $lt_compile\"" >&5)
++   (eval echo "\"\$as_me:14194: $lt_compile\"" >&5)
+    (eval "$lt_compile" 2>out/conftest.err)
+    ac_status=$?
+    cat out/conftest.err >&5
+-   echo "$as_me:14216: \$? = $ac_status" >&5
++   echo "$as_me:14198: \$? = $ac_status" >&5
+    if (exit $ac_status) && test -s out/conftest2.$ac_objext
+    then
+      # The compiler can only warn and ignore the option if not recognized
+@@ -14386,7 +14368,7 @@
+       fi
+       ;;
+ 
+-    netbsd*)
++    netbsd* | knetbsd*-gnu)
+       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
+ 	archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
+ 	wlarc=
+@@ -14590,8 +14572,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_f77_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_f77_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -14641,8 +14622,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_f77_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_f77_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -14885,7 +14865,7 @@
+       link_all_deplibs_F77=yes
+       ;;
+ 
+-    netbsd*)
++    netbsd* | knetbsd*-gnu)
+       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
+ 	archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
+       else
+@@ -16243,11 +16223,11 @@
+    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
+    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+    -e 's:$: $lt_compiler_flag:'`
+-   (eval echo "\"\$as_me:16246: $lt_compile\"" >&5)
++   (eval echo "\"\$as_me:16226: $lt_compile\"" >&5)
+    (eval "$lt_compile" 2>conftest.err)
+    ac_status=$?
+    cat conftest.err >&5
+-   echo "$as_me:16250: \$? = $ac_status" >&5
++   echo "$as_me:16230: \$? = $ac_status" >&5
+    if (exit $ac_status) && test -s "$ac_outfile"; then
+      # The compiler can only warn and ignore the option if not recognized
+      # So say no if there are warnings
+@@ -16476,11 +16456,11 @@
+    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
+    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+    -e 's:$: $lt_compiler_flag:'`
+-   (eval echo "\"\$as_me:16479: $lt_compile\"" >&5)
++   (eval echo "\"\$as_me:16459: $lt_compile\"" >&5)
+    (eval "$lt_compile" 2>conftest.err)
+    ac_status=$?
+    cat conftest.err >&5
+-   echo "$as_me:16483: \$? = $ac_status" >&5
++   echo "$as_me:16463: \$? = $ac_status" >&5
+    if (exit $ac_status) && test -s "$ac_outfile"; then
+      # The compiler can only warn and ignore the option if not recognized
+      # So say no if there are warnings
+@@ -16536,11 +16516,11 @@
+    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
+    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+    -e 's:$: $lt_compiler_flag:'`
+-   (eval echo "\"\$as_me:16539: $lt_compile\"" >&5)
++   (eval echo "\"\$as_me:16519: $lt_compile\"" >&5)
+    (eval "$lt_compile" 2>out/conftest.err)
+    ac_status=$?
+    cat out/conftest.err >&5
+-   echo "$as_me:16543: \$? = $ac_status" >&5
++   echo "$as_me:16523: \$? = $ac_status" >&5
+    if (exit $ac_status) && test -s out/conftest2.$ac_objext
+    then
+      # The compiler can only warn and ignore the option if not recognized
+@@ -16713,7 +16693,7 @@
+       fi
+       ;;
+ 
+-    netbsd*)
++    netbsd* | knetbsd*-gnu)
+       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
+ 	archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
+ 	wlarc=
+@@ -16927,8 +16907,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -16988,8 +16967,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -17232,7 +17210,7 @@
+       link_all_deplibs_GCJ=yes
+       ;;
+ 
+-    netbsd*)
++    netbsd* | knetbsd*-gnu)
+       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
+ 	archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
+       else
+@@ -18180,8 +18158,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -18284,8 +18261,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -18350,8 +18326,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -18444,8 +18419,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -18510,8 +18484,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -18577,8 +18550,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -18644,8 +18616,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -18720,7 +18691,7 @@
+   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
+   lt_status=$lt_dlunknown
+   cat > conftest.$ac_ext <<EOF
+-#line 18723 "configure"
++#line 18694 "configure"
+ #include "confdefs.h"
+ 
+ #if HAVE_DLFCN_H
+@@ -18818,7 +18789,7 @@
+   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
+   lt_status=$lt_dlunknown
+   cat > conftest.$ac_ext <<EOF
+-#line 18821 "configure"
++#line 18792 "configure"
+ #include "confdefs.h"
+ 
+ #if HAVE_DLFCN_H
+@@ -19899,7 +19870,7 @@
+ 
+ header_dirs=
+ lib_dirs=
+-for i in $d; do
++for i in $d /usr; do
+ 	if test "$with_openldap_include" = ""; then
+ 		if test -d "$i/include/openldap"; then
+ 			header_dirs="$header_dirs $i/include/openldap"
+@@ -19970,8 +19941,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -20026,8 +19996,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -20074,8 +20043,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -20097,6 +20065,7 @@
+       conftest$ac_exeext conftest.$ac_ext
+ 		done
+ 		if test "$ires" -a "$lres" -a "$with_openldap" != "no"; then
++			DIR_openldap=
+ 			INCLUDE_openldap="-I$ires"
+ 			LIB_openldap="-L$lres -lldap -llber "
+ 			found=yes
+@@ -20117,6 +20086,7 @@
+ 	with_openldap=yes
+ else
+ 	with_openldap=no
++	DIR_openldap=
+ 	INCLUDE_openldap=
+ 	LIB_openldap=
+ 	echo "$as_me:$LINENO: result: no" >&5
+@@ -20129,6 +20099,7 @@
+ 
+ 
+ 
++
+ # Check whether --with-krb4 or --without-krb4 was given.
+ if test "${with_krb4+set}" = set; then
+   withval="$with_krb4"
+@@ -20178,7 +20149,7 @@
+ 
+ header_dirs=
+ lib_dirs=
+-for i in $d; do
++for i in $d /usr; do
+ 	if test "$with_krb4_include" = ""; then
+ 		if test -d "$i/include/krb4"; then
+ 			header_dirs="$header_dirs $i/include/krb4"
+@@ -20248,8 +20219,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -20303,8 +20273,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -20350,8 +20319,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -20373,6 +20341,7 @@
+       conftest$ac_exeext conftest.$ac_ext
+ 		done
+ 		if test "$ires" -a "$lres" -a "$with_krb4" != "no"; then
++			DIR_krb4=
+ 			INCLUDE_krb4="-I$ires"
+ 			LIB_krb4="-L$lres -lkrb -ldes"
+ 			found=yes
+@@ -20393,6 +20362,7 @@
+ 	with_krb4=yes
+ else
+ 	with_krb4=no
++	DIR_krb4=
+ 	INCLUDE_krb4=
+ 	LIB_krb4=
+ 	echo "$as_me:$LINENO: result: no" >&5
+@@ -20403,6 +20373,7 @@
+ 
+ 
+ 
++
+ LIB_kdb=
+ if test "$with_krb4" != "no"; then
+ 	save_CFLAGS="$CFLAGS"
+@@ -20442,8 +20413,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -20506,8 +20476,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -20573,8 +20542,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -20650,8 +20618,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -20751,8 +20718,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -20873,8 +20839,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -20974,8 +20939,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -21096,8 +21060,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -21197,8 +21160,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -21319,8 +21281,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -21420,8 +21381,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -21544,8 +21504,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -21645,8 +21604,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -21755,8 +21713,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -21819,8 +21776,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -22037,8 +21993,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -22133,8 +22088,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -22229,8 +22183,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -22356,8 +22309,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -22536,8 +22488,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -22707,8 +22658,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -22808,8 +22758,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -22952,8 +22901,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -23053,8 +23001,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -23192,8 +23139,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -23293,8 +23239,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -23431,8 +23376,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -23600,8 +23544,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -23701,8 +23644,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -23831,8 +23773,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -23996,8 +23937,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -24097,8 +24037,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -24305,6 +24244,311 @@
+ 
+ 
+ 
++# Check whether --with-roken or --without-roken was given.
++if test "${with_roken+set}" = set; then
++  withval="$with_roken"
++  if test "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: roken is required" >&5
++echo "$as_me: error: roken is required" >&2;}
++   { (exit 1); exit 1; }; }
++fi
++fi;
++
++save_CPPFLAGS="${CPPFLAGS}"
++
++case $with_roken in
++yes|"")
++  dirs="/usr/heimdal /usr/athena" ;;
++*)
++  dirs="$with_roken" ;;
++esac
++
++roken_installed=no
++
++for i in $dirs; do
++
++echo "$as_me:$LINENO: checking for roken in $i" >&5
++echo $ECHO_N "checking for roken in $i... $ECHO_C" >&6
++
++CPPFLAGS="-I$i/include ${CPPFLAGS}"
++
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <roken.h>
++//#if ROKEN_VERSION < 10
++//#error old roken version, should be 10
++//fail
++//#endif
++
++_ACEOF
++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
++  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } >/dev/null; then
++  if test -s conftest.err; then
++    ac_cpp_err=$ac_c_preproc_warn_flag
++    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
++  else
++    ac_cpp_err=
++  fi
++else
++  ac_cpp_err=yes
++fi
++if test -z "$ac_cpp_err"; then
++  roken_installed=yes; break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++
++fi
++rm -f conftest.err conftest.$ac_ext
++
++echo "$as_me:$LINENO: result: $roken_installed" >&5
++echo "${ECHO_T}$roken_installed" >&6
++
++done
++
++CPPFLAGS="$save_CPPFLAGS"
++
++if test "$roken_installed" != "yes"; then
++  DIR_roken="roken"
++  LIB_roken='$(top_builddir)/lib/roken/libroken.la'
++  CPPFLAGS_roken='-I$(top_builddir)/lib/roken -I$(top_srcdir)/lib/roken'
++else
++  LIB_roken="$i/lib/libroken.la"
++  CPPFLAGS_roken="-I$i/include"
++fi
++
++
++
++
++echo "$as_me:$LINENO: checking for crypt" >&5
++echo $ECHO_N "checking for crypt... $ECHO_C" >&6
++if test "${ac_cv_funclib_crypt+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++
++if eval "test \"\$ac_cv_func_crypt\" != yes" ; then
++	ac_save_LIBS="$LIBS"
++	for ac_lib in "" crypt; do
++		case "$ac_lib" in
++		"") ;;
++		yes) ac_lib="" ;;
++		no) continue ;;
++		-l*) ;;
++		*) ac_lib="-l$ac_lib" ;;
++		esac
++		LIBS=" $ac_lib  $ac_save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++crypt()
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "if test -n \"$ac_lib\";then ac_cv_funclib_crypt=$ac_lib; else ac_cv_funclib_crypt=yes; fi";break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	done
++	eval "ac_cv_funclib_crypt=\${ac_cv_funclib_crypt-no}"
++	LIBS="$ac_save_LIBS"
++fi
++
++fi
++
++
++eval "ac_res=\$ac_cv_funclib_crypt"
++
++if false; then
++
++for ac_func in crypt
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++    which can conflict with char $ac_func (); below.
++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++    <limits.h> exists even on freestanding compilers.  */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++    to always fail with ENOSYS.  Some functions are actually named
++    something starting with __ and the normal name is an alias.  */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  eval "$as_ac_var=yes"
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++  cat >>confdefs.h <<_ACEOF
++#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++
++fi
++done
++
++fi
++# crypt
++eval "ac_tr_func=HAVE_`echo crypt | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
++eval "LIB_crypt=$ac_res"
++
++case "$ac_res" in
++	yes)
++	eval "ac_cv_func_crypt=yes"
++	eval "LIB_crypt="
++	cat >>confdefs.h <<_ACEOF
++#define $ac_tr_func 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++	;;
++	no)
++	eval "ac_cv_func_crypt=no"
++	eval "LIB_crypt="
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++	;;
++	*)
++	eval "ac_cv_func_crypt=yes"
++	eval "ac_cv_lib_`echo "$ac_res" | sed 's/-l//'`=yes"
++	cat >>confdefs.h <<_ACEOF
++#define $ac_tr_func 1
++_ACEOF
++
++	cat >>confdefs.h <<_ACEOF
++#define $ac_tr_lib 1
++_ACEOF
++
++	echo "$as_me:$LINENO: result: yes, in $ac_res" >&5
++echo "${ECHO_T}yes, in $ac_res" >&6
++	;;
++esac
++
++LIB_roken="${LIB_roken} \$(LIB_crypt) \$(LIB_dbopen)"
++
++
++#if ! test "$roken_installed" = yes; then
++
++
+ echo "$as_me:$LINENO: checking for inline" >&5
+ echo $ECHO_N "checking for inline... $ECHO_C" >&6
+ if test "${ac_cv_c_inline+set}" = set; then
+@@ -24334,8 +24578,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -24451,8 +24694,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -24515,8 +24757,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -24581,8 +24822,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -24693,8 +24933,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -24767,8 +25006,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -24834,8 +25072,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -25046,8 +25283,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -25235,8 +25471,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -25328,8 +25563,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -25513,8 +25747,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -25788,9 +26021,6 @@
+ 
+ 
+ 
+-DIR_roken=roken
+-LIB_roken='$(top_builddir)/lib/roken/libroken.la'
+-INCLUDES_roken='-I$(top_builddir)/lib/roken -I$(top_srcdir)/lib/roken'
+ 
+ 
+ 
+@@ -25860,8 +26090,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -25920,8 +26149,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -26000,8 +26228,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -26060,8 +26287,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -26231,8 +26457,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -26437,8 +26662,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -26538,8 +26762,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -26660,8 +26883,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -26761,8 +26983,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -26883,8 +27104,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -26984,8 +27204,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -27271,8 +27490,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -27352,8 +27570,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -27432,8 +27649,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -27533,8 +27749,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -27670,8 +27885,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -27771,8 +27985,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -27908,8 +28121,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -28009,8 +28221,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -28146,8 +28357,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -28247,8 +28457,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -28370,8 +28579,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -28418,8 +28626,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -28497,8 +28704,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -28633,8 +28839,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -28773,8 +28978,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -28851,8 +29055,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -28920,8 +29123,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -29098,8 +29300,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -29196,8 +29397,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -29297,8 +29497,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -29419,8 +29618,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -29520,8 +29718,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -29641,8 +29838,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -29742,8 +29938,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -29867,8 +30062,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -29937,8 +30131,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -30005,8 +30198,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -30073,8 +30265,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -30141,8 +30332,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -30221,8 +30411,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -30322,8 +30511,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -30442,8 +30630,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -30543,8 +30730,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -30663,8 +30849,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -30764,8 +30949,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -30885,8 +31069,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -30986,8 +31169,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -31122,8 +31304,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -31223,8 +31404,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -31359,8 +31539,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -31460,8 +31639,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -31596,8 +31774,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -31697,8 +31874,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -31851,8 +32027,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -31957,8 +32132,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -32063,8 +32237,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -32169,8 +32342,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -32275,8 +32447,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -32381,8 +32552,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -32487,8 +32657,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -32593,8 +32762,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -32699,8 +32867,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -32805,8 +32972,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -32911,8 +33077,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -33017,8 +33182,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -33123,8 +33287,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -33229,8 +33392,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -33335,8 +33497,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -33441,8 +33602,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -33547,8 +33707,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -33653,8 +33812,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -33759,8 +33917,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -33865,8 +34022,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -33971,8 +34127,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -34077,8 +34232,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -34183,8 +34337,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -34289,8 +34442,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -34395,8 +34547,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -34501,8 +34652,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -34607,8 +34757,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -34713,8 +34862,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -34819,8 +34967,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -34925,8 +35072,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -35031,8 +35177,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -35137,8 +35282,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -35243,8 +35387,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -35349,8 +35492,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -35455,8 +35597,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -35561,8 +35702,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -35667,8 +35807,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -35773,8 +35912,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -35879,8 +36017,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -35985,8 +36122,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -36091,8 +36227,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -36197,8 +36332,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -36303,8 +36437,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -36409,8 +36542,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -36515,8 +36647,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -36621,8 +36752,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -36727,8 +36857,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -36833,8 +36962,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -36939,8 +37067,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -37045,8 +37172,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -37151,8 +37277,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -37257,8 +37382,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -37363,8 +37487,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -37469,8 +37592,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -37575,8 +37697,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -37681,8 +37802,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -37787,8 +37907,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -37893,8 +38012,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -37999,8 +38117,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -38105,8 +38222,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -38211,8 +38327,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -38317,8 +38432,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -38423,8 +38537,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -38529,8 +38642,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -38635,8 +38747,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -38741,8 +38852,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -38818,8 +38928,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -38884,8 +38993,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -38950,8 +39058,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -39020,8 +39127,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -39088,8 +39194,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -39156,8 +39261,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -39224,8 +39328,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -39292,8 +39395,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -39360,8 +39462,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -39428,8 +39529,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -39511,8 +39611,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -39605,8 +39704,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -39699,8 +39797,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -39777,8 +39874,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -40011,8 +40107,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -40078,8 +40173,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -40145,8 +40239,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -40212,8 +40305,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -40279,8 +40371,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -40359,8 +40450,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -40437,8 +40527,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -40538,8 +40627,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -40660,8 +40748,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -40741,8 +40828,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -40822,8 +40908,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -40894,8 +40979,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -40963,8 +41047,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -41039,8 +41122,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -41112,8 +41194,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -41160,8 +41241,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -41232,8 +41312,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -41308,8 +41387,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -41356,8 +41434,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -41425,8 +41502,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -41501,8 +41577,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -41549,8 +41624,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -41618,8 +41692,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -41694,8 +41767,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -41742,8 +41814,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -41811,8 +41882,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -41887,8 +41957,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -41960,8 +42029,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -42033,8 +42101,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -42106,8 +42173,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -42177,8 +42243,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -42249,8 +42314,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -42316,8 +42380,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -42386,8 +42449,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -42434,8 +42496,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -42501,8 +42562,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -42574,8 +42634,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -42622,8 +42681,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -42689,8 +42747,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -42767,8 +42824,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -42827,8 +42883,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -42905,8 +42960,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -42965,8 +43019,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -43043,8 +43096,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -43103,8 +43155,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -43181,8 +43232,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -43241,8 +43291,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -43319,8 +43368,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -43379,8 +43427,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -43457,8 +43504,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -43517,8 +43563,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -43598,8 +43643,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -43658,8 +43702,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -43739,8 +43782,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -43799,8 +43841,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -43953,8 +43994,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -43990,9 +44030,9 @@
+ 
+ 
+ 
+-LIB_roken="${LIB_roken} \$(LIB_crypt) \$(LIB_dbopen)"
+ 
+ 
++#fi
+ LIB_roken="\$(top_builddir)/lib/vers/libvers.la $LIB_roken"
+ 
+ 
+@@ -44019,8 +44059,6 @@
+ #define OTP 1
+ _ACEOF
+ 
+-	LIB_otp='$(top_builddir)/lib/otp/libotp.la'
+-
+ fi
+ echo "$as_me:$LINENO: checking whether to enable OTP library" >&5
+ echo $ECHO_N "checking whether to enable OTP library... $ECHO_C" >&6
+@@ -44272,7 +44310,7 @@
+ 
+ header_dirs=
+ lib_dirs=
+-for i in $d; do
++for i in $d /usr; do
+ 	if test "$with_readline_include" = ""; then
+ 		if test -d "$i/include/readline"; then
+ 			header_dirs="$header_dirs $i/include/readline"
+@@ -44343,8 +44381,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -44399,8 +44436,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -44447,8 +44483,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -44470,6 +44505,7 @@
+       conftest$ac_exeext conftest.$ac_ext
+ 		done
+ 		if test "$ires" -a "$lres" -a "$with_readline" != "no"; then
++			DIR_readline=
+ 			INCLUDE_readline="-I$ires"
+ 			LIB_readline="-L$lres -lreadline "
+ 			found=yes
+@@ -44490,6 +44526,7 @@
+ 	with_readline=yes
+ else
+ 	with_readline=no
++	DIR_readline=
+ 	INCLUDE_readline=
+ 	LIB_readline=
+ 	echo "$as_me:$LINENO: result: no" >&5
+@@ -44502,6 +44539,7 @@
+ 
+ 
+ 
++
+ # Check whether --with-hesiod or --without-hesiod was given.
+ if test "${with_hesiod+set}" = set; then
+   withval="$with_hesiod"
+@@ -44551,7 +44589,7 @@
+ 
+ header_dirs=
+ lib_dirs=
+-for i in $d; do
++for i in $d /usr; do
+ 	if test "$with_hesiod_include" = ""; then
+ 		if test -d "$i/include/hesiod"; then
+ 			header_dirs="$header_dirs $i/include/hesiod"
+@@ -44621,8 +44659,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -44676,8 +44713,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -44723,8 +44759,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -44746,6 +44781,7 @@
+       conftest$ac_exeext conftest.$ac_ext
+ 		done
+ 		if test "$ires" -a "$lres" -a "$with_hesiod" != "no"; then
++			DIR_hesiod=
+ 			INCLUDE_hesiod="-I$ires"
+ 			LIB_hesiod="-L$lres -lhesiod "
+ 			found=yes
+@@ -44766,6 +44802,7 @@
+ 	with_hesiod=yes
+ else
+ 	with_hesiod=no
++	DIR_hesiod=
+ 	INCLUDE_hesiod=
+ 	LIB_hesiod=
+ 	echo "$as_me:$LINENO: result: no" >&5
+@@ -44777,6 +44814,849 @@
+ 
+ 
+ 
++
++
++# Check whether --with-sl or --without-sl was given.
++if test "${with_sl+set}" = set; then
++  withval="$with_sl"
++
++fi;
++
++# Check whether --with-sl-lib or --without-sl-lib was given.
++if test "${with_sl_lib+set}" = set; then
++  withval="$with_sl_lib"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-sl-lib" >&5
++echo "$as_me: error: No argument for --with-sl-lib" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_sl" = "X"; then
++  with_sl=yes
++fi
++fi;
++
++# Check whether --with-sl-include or --without-sl-include was given.
++if test "${with_sl_include+set}" = set; then
++  withval="$with_sl_include"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-sl-include" >&5
++echo "$as_me: error: No argument for --with-sl-include" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_sl" = "X"; then
++  with_sl=yes
++fi
++fi;
++
++# Check whether --with-sl-config or --without-sl-config was given.
++if test "${with_sl_config+set}" = set; then
++  withval="$with_sl_config"
++
++fi;
++
++
++
++echo "$as_me:$LINENO: checking for sl" >&5
++echo $ECHO_N "checking for sl... $ECHO_C" >&6
++
++case "$with_sl" in
++yes|"") d='' ;;
++no)	d= ;;
++*)	d="$with_sl" ;;
++esac
++
++header_dirs=
++lib_dirs=
++for i in $d /usr; do
++	if test "$with_sl_include" = ""; then
++		if test -d "$i/include/sl"; then
++			header_dirs="$header_dirs $i/include/sl"
++		fi
++		if test -d "$i/include"; then
++			header_dirs="$header_dirs $i/include"
++		fi
++	fi
++	if test "$with_sl_lib" = ""; then
++		if test -d "$i/lib$abilibdirext"; then
++			lib_dirs="$lib_dirs $i/lib$abilibdirext"
++		fi
++	fi
++done
++
++if test "$with_sl_include"; then
++	header_dirs="$with_sl_include $header_dirs"
++fi
++if test "$with_sl_lib"; then
++	lib_dirs="$with_sl_lib $lib_dirs"
++fi
++
++if test "$with_sl_config" = ""; then
++	with_sl_config=''
++fi
++
++sl_cflags=
++sl_libs=
++
++case "$with_sl_config" in
++yes|no|"")
++	;;
++*)
++	sl_cflags="`$with_sl_config --cflags 2>&1`"
++	sl_libs="`$with_sl_config --libs 2>&1`"
++	;;
++esac
++
++found=no
++if test "$with_sl" != no; then
++	save_CFLAGS="$CFLAGS"
++	save_LIBS="$LIBS"
++	if test "$sl_cflags" -a "$sl_libs"; then
++		CFLAGS="$sl_cflags $save_CFLAGS"
++		LIBS="$sl_libs $save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++
++			INCLUDE_sl="$sl_cflags"
++			LIB_sl="$sl_libs"
++			echo "$as_me:$LINENO: result: from $with_sl_config" >&5
++echo "${ECHO_T}from $with_sl_config" >&6
++			found=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	fi
++	if test "$found" = no; then
++		ires= lres=
++		for i in $header_dirs; do
++			CFLAGS="-I$i $save_CFLAGS"
++			cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ires=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++		done
++		for i in $lib_dirs; do
++			LIBS="-L$i -lsl  $save_LIBS"
++			cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  lres=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++		done
++		if test "$ires" -a "$lres" -a "$with_sl" != "no"; then
++			DIR_sl=
++			INCLUDE_sl="-I$ires"
++			LIB_sl="-L$lres -lsl "
++			found=yes
++			echo "$as_me:$LINENO: result: headers $ires, libraries $lres" >&5
++echo "${ECHO_T}headers $ires, libraries $lres" >&6
++		fi
++	fi
++	CFLAGS="$save_CFLAGS"
++	LIBS="$save_LIBS"
++fi
++
++if test "$found" = yes; then
++
++cat >>confdefs.h <<_ACEOF
++#define SL 1
++_ACEOF
++
++	with_sl=yes
++else
++	with_sl=no
++	DIR_sl=
++	INCLUDE_sl=
++	LIB_sl=
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++
++
++
++
++if ! test "$with_sl" = yes; then
++	DIR_sl="sl"
++	LIB_sl='$(top_builddir)/lib/sl/libsl.la'
++fi
++
++
++# Check whether --with-ss or --without-ss was given.
++if test "${with_ss+set}" = set; then
++  withval="$with_ss"
++
++fi;
++
++# Check whether --with-ss-lib or --without-ss-lib was given.
++if test "${with_ss_lib+set}" = set; then
++  withval="$with_ss_lib"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-ss-lib" >&5
++echo "$as_me: error: No argument for --with-ss-lib" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_ss" = "X"; then
++  with_ss=yes
++fi
++fi;
++
++# Check whether --with-ss-include or --without-ss-include was given.
++if test "${with_ss_include+set}" = set; then
++  withval="$with_ss_include"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-ss-include" >&5
++echo "$as_me: error: No argument for --with-ss-include" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_ss" = "X"; then
++  with_ss=yes
++fi
++fi;
++
++# Check whether --with-ss-config or --without-ss-config was given.
++if test "${with_ss_config+set}" = set; then
++  withval="$with_ss_config"
++
++fi;
++
++
++
++echo "$as_me:$LINENO: checking for ss" >&5
++echo $ECHO_N "checking for ss... $ECHO_C" >&6
++
++case "$with_ss" in
++yes|"") d='' ;;
++no)	d= ;;
++*)	d="$with_ss" ;;
++esac
++
++header_dirs=
++lib_dirs=
++for i in $d /usr; do
++	if test "$with_ss_include" = ""; then
++		if test -d "$i/include/ss"; then
++			header_dirs="$header_dirs $i/include/ss"
++		fi
++		if test -d "$i/include"; then
++			header_dirs="$header_dirs $i/include"
++		fi
++	fi
++	if test "$with_ss_lib" = ""; then
++		if test -d "$i/lib$abilibdirext"; then
++			lib_dirs="$lib_dirs $i/lib$abilibdirext"
++		fi
++	fi
++done
++
++if test "$with_ss_include"; then
++	header_dirs="$with_ss_include $header_dirs"
++fi
++if test "$with_ss_lib"; then
++	lib_dirs="$with_ss_lib $lib_dirs"
++fi
++
++if test "$with_ss_config" = ""; then
++	with_ss_config=''
++fi
++
++ss_cflags=
++ss_libs=
++
++case "$with_ss_config" in
++yes|no|"")
++	;;
++*)
++	ss_cflags="`$with_ss_config --cflags 2>&1`"
++	ss_libs="`$with_ss_config --libs 2>&1`"
++	;;
++esac
++
++found=no
++if test "$with_ss" != no; then
++	save_CFLAGS="$CFLAGS"
++	save_LIBS="$LIBS"
++	if test "$ss_cflags" -a "$ss_libs"; then
++		CFLAGS="$ss_cflags $save_CFLAGS"
++		LIBS="$ss_libs $save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++
++			INCLUDE_ss="$ss_cflags"
++			LIB_ss="$ss_libs"
++			echo "$as_me:$LINENO: result: from $with_ss_config" >&5
++echo "${ECHO_T}from $with_ss_config" >&6
++			found=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	fi
++	if test "$found" = no; then
++		ires= lres=
++		for i in $header_dirs; do
++			CFLAGS="-I$i $save_CFLAGS"
++			cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ires=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++		done
++		for i in $lib_dirs; do
++			LIBS="-L$i -lss  $save_LIBS"
++			cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  lres=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++		done
++		if test "$ires" -a "$lres" -a "$with_ss" != "no"; then
++			DIR_ss=
++			INCLUDE_ss="-I$ires"
++			LIB_ss="-L$lres -lss "
++			found=yes
++			echo "$as_me:$LINENO: result: headers $ires, libraries $lres" >&5
++echo "${ECHO_T}headers $ires, libraries $lres" >&6
++		fi
++	fi
++	CFLAGS="$save_CFLAGS"
++	LIBS="$save_LIBS"
++fi
++
++if test "$found" = yes; then
++
++cat >>confdefs.h <<_ACEOF
++#define SS 1
++_ACEOF
++
++	with_ss=yes
++else
++	with_ss=no
++	DIR_ss=
++	INCLUDE_ss=
++	LIB_ss=
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++
++
++
++
++if ! test "$with_sl" = yes; then
++	DIR_sl="sl"
++	LIB_sl='$(top_builddir)/lib/sl/libsl.la'
++	DIR_ss=""
++	LIB_ss='$(top_builddir)/lib/sl/libss.la'
++fi
++if test "$enable_otp" = "yes"; then
++
++
++# Check whether --with-otp or --without-otp was given.
++if test "${with_otp+set}" = set; then
++  withval="$with_otp"
++
++fi;
++
++# Check whether --with-otp-lib or --without-otp-lib was given.
++if test "${with_otp_lib+set}" = set; then
++  withval="$with_otp_lib"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-otp-lib" >&5
++echo "$as_me: error: No argument for --with-otp-lib" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_otp" = "X"; then
++  with_otp=yes
++fi
++fi;
++
++# Check whether --with-otp-include or --without-otp-include was given.
++if test "${with_otp_include+set}" = set; then
++  withval="$with_otp_include"
++  if test "$withval" = "yes" -o "$withval" = "no"; then
++  { { echo "$as_me:$LINENO: error: No argument for --with-otp-include" >&5
++echo "$as_me: error: No argument for --with-otp-include" >&2;}
++   { (exit 1); exit 1; }; }
++elif test "X$with_otp" = "X"; then
++  with_otp=yes
++fi
++fi;
++
++# Check whether --with-otp-config or --without-otp-config was given.
++if test "${with_otp_config+set}" = set; then
++  withval="$with_otp_config"
++
++fi;
++
++
++
++echo "$as_me:$LINENO: checking for otp" >&5
++echo $ECHO_N "checking for otp... $ECHO_C" >&6
++
++case "$with_otp" in
++yes|"") d='' ;;
++no)	d= ;;
++*)	d="$with_otp" ;;
++esac
++
++header_dirs=
++lib_dirs=
++for i in $d /usr; do
++	if test "$with_otp_include" = ""; then
++		if test -d "$i/include/otp"; then
++			header_dirs="$header_dirs $i/include/otp"
++		fi
++		if test -d "$i/include"; then
++			header_dirs="$header_dirs $i/include"
++		fi
++	fi
++	if test "$with_otp_lib" = ""; then
++		if test -d "$i/lib$abilibdirext"; then
++			lib_dirs="$lib_dirs $i/lib$abilibdirext"
++		fi
++	fi
++done
++
++if test "$with_otp_include"; then
++	header_dirs="$with_otp_include $header_dirs"
++fi
++if test "$with_otp_lib"; then
++	lib_dirs="$with_otp_lib $lib_dirs"
++fi
++
++if test "$with_otp_config" = ""; then
++	with_otp_config=''
++fi
++
++otp_cflags=
++otp_libs=
++
++case "$with_otp_config" in
++yes|no|"")
++	;;
++*)
++	otp_cflags="`$with_otp_config --cflags 2>&1`"
++	otp_libs="`$with_otp_config --libs 2>&1`"
++	;;
++esac
++
++found=no
++if test "$with_otp" != no; then
++	save_CFLAGS="$CFLAGS"
++	save_LIBS="$LIBS"
++	if test "$otp_cflags" -a "$otp_libs"; then
++		CFLAGS="$otp_cflags $save_CFLAGS"
++		LIBS="$otp_libs $save_LIBS"
++		cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++
++			INCLUDE_otp="$otp_cflags"
++			LIB_otp="$otp_libs"
++			echo "$as_me:$LINENO: result: from $with_otp_config" >&5
++echo "${ECHO_T}from $with_otp_config" >&6
++			found=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++	fi
++	if test "$found" = no; then
++		ires= lres=
++		for i in $header_dirs; do
++			CFLAGS="-I$i $save_CFLAGS"
++			cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ires=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++		done
++		for i in $lib_dirs; do
++			LIBS="-L$i -lotp  $save_LIBS"
++			cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  lres=$i;break
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++fi
++rm -f conftest.err conftest.$ac_objext \
++      conftest$ac_exeext conftest.$ac_ext
++		done
++		if test "$ires" -a "$lres" -a "$with_otp" != "no"; then
++			DIR_otp=
++			INCLUDE_otp="-I$ires"
++			LIB_otp="-L$lres -lotp "
++			found=yes
++			echo "$as_me:$LINENO: result: headers $ires, libraries $lres" >&5
++echo "${ECHO_T}headers $ires, libraries $lres" >&6
++		fi
++	fi
++	CFLAGS="$save_CFLAGS"
++	LIBS="$save_LIBS"
++fi
++
++if test "$found" = yes; then
++
++cat >>confdefs.h <<_ACEOF
++#define OTP 1
++_ACEOF
++
++	with_otp=yes
++else
++	with_otp=no
++	DIR_otp=
++	INCLUDE_otp=
++	LIB_otp=
++	echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++
++
++
++
++  if ! test "$with_otp" = yes; then
++	DIR_otp="otp"
++ 	LIB_otp='$(top_builddir)/lib/otp/libotp.la'
++  fi
++fi
++
++
+ # Check whether --enable-bigendian or --disable-bigendian was given.
+ if test "${enable_bigendian+set}" = set; then
+   enableval="$enable_bigendian"
+@@ -44821,8 +45701,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -44881,8 +45760,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -44996,8 +45874,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -45084,8 +45961,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -45185,8 +46061,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -45356,8 +46231,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -45457,8 +46331,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -45782,8 +46655,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -45895,8 +46767,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -45947,8 +46818,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -46024,8 +46894,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -46080,8 +46949,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -46149,8 +47017,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -46258,8 +47125,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -46323,8 +47189,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -46392,8 +47257,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -46497,8 +47361,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -46562,8 +47425,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -46660,8 +47522,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -46725,8 +47586,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -46823,8 +47683,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -46888,8 +47747,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -46968,8 +47826,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -47156,8 +48013,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -47257,8 +48113,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -47376,8 +48231,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -47477,8 +48331,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -47595,8 +48448,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -47696,8 +48548,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -47893,8 +48744,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -47957,8 +48807,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -48102,8 +48951,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -48162,8 +49010,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -48236,8 +49083,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -48299,8 +49145,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -48365,8 +49210,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -48633,8 +49477,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -48809,8 +49652,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -48910,8 +49752,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -49027,8 +49868,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -49128,8 +49968,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -49245,8 +50084,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -49346,8 +50184,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -49463,8 +50300,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -49564,8 +50400,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -49764,8 +50599,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -49833,8 +50667,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -50018,8 +50851,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -50264,8 +51096,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -50451,8 +51282,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -50531,8 +51361,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -50632,8 +51461,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -50837,8 +51665,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -50905,8 +51732,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -50972,8 +51798,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -51039,8 +51864,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -51106,8 +51930,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -51173,8 +51996,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -51240,8 +52062,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -51307,8 +52128,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -51374,8 +52194,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -51459,8 +52278,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -51540,8 +52358,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -51621,8 +52438,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -51702,8 +52518,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -51783,8 +52598,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -51864,8 +52678,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -51945,8 +52758,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -52026,8 +52838,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -52107,8 +52918,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -52188,8 +52998,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -52269,8 +53078,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -52350,8 +53158,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -52429,8 +53236,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -52530,8 +53336,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -52635,8 +53440,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -52676,8 +53480,10 @@
+ 	:
+ elif test "$ac_cv_func_el_init" = yes; then
+ 	ac_foo=yes
++	DIR_readline="editline"
+ 	LIB_readline="\$(top_builddir)/lib/editline/libel_compat.la \$(LIB_el_init) \$(LIB_tgetent)"
+ else
++	DIR_readline="editline"
+ 	LIB_readline="\$(top_builddir)/lib/editline/libeditline.la \$(LIB_tgetent)"
+ fi
+ 
+@@ -52800,8 +53606,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -53068,8 +53873,7 @@
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -53344,6 +54148,13 @@
+ Usually this means the macro was only invoked conditionally." >&2;}
+    { (exit 1); exit 1; }; }
+ fi
++if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
++  { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++   { (exit 1); exit 1; }; }
++fi
+ if test -z "${KRB4_TRUE}" && test -z "${KRB4_FALSE}"; then
+   { { echo "$as_me:$LINENO: error: conditional \"KRB4\" was never defined.
+ Usually this means the macro was only invoked conditionally." >&5
+@@ -54076,6 +54887,9 @@
+ s,@ECHO_N@,$ECHO_N,;t t
+ s,@ECHO_T@,$ECHO_T,;t t
+ s,@LIBS@,$LIBS,;t t
++s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
++s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
++s,@MAINT@,$MAINT,;t t
+ s,@CC@,$CC,;t t
+ s,@CFLAGS@,$CFLAGS,;t t
+ s,@LDFLAGS@,$LDFLAGS,;t t
+@@ -54103,9 +54917,6 @@
+ s,@AWK@,$AWK,;t t
+ s,@SET_MAKE@,$SET_MAKE,;t t
+ s,@am__leading_dot@,$am__leading_dot,;t t
+-s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
+-s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
+-s,@MAINT@,$MAINT,;t t
+ s,@build@,$build,;t t
+ s,@build_cpu@,$build_cpu,;t t
+ s,@build_vendor@,$build_vendor,;t t
+@@ -54137,8 +54948,10 @@
+ s,@WFLAGS@,$WFLAGS,;t t
+ s,@WFLAGS_NOUNUSED@,$WFLAGS_NOUNUSED,;t t
+ s,@WFLAGS_NOIMPLICITINT@,$WFLAGS_NOIMPLICITINT,;t t
++s,@DIR_openldap@,$DIR_openldap,;t t
+ s,@INCLUDE_openldap@,$INCLUDE_openldap,;t t
+ s,@LIB_openldap@,$LIB_openldap,;t t
++s,@DIR_krb4@,$DIR_krb4,;t t
+ s,@INCLUDE_krb4@,$INCLUDE_krb4,;t t
+ s,@LIB_krb4@,$LIB_krb4,;t t
+ s,@EXTRA_LIB45@,$EXTRA_LIB45,;t t
+@@ -54178,6 +54991,10 @@
+ s,@HAVE_NDBM_FALSE@,$HAVE_NDBM_FALSE,;t t
+ s,@DBLIB@,$DBLIB,;t t
+ s,@LIB_NDBM@,$LIB_NDBM,;t t
++s,@LIB_crypt@,$LIB_crypt,;t t
++s,@LIB_roken@,$LIB_roken,;t t
++s,@DIR_roken@,$DIR_roken,;t t
++s,@CPPFLAGS_roken@,$CPPFLAGS_roken,;t t
+ s,@VOID_RETSIGTYPE@,$VOID_RETSIGTYPE,;t t
+ s,@have_err_h_TRUE@,$have_err_h_TRUE,;t t
+ s,@have_err_h_FALSE@,$have_err_h_FALSE,;t t
+@@ -54207,11 +55024,6 @@
+ s,@LIB_getnameinfo@,$LIB_getnameinfo,;t t
+ s,@LIB_freeaddrinfo@,$LIB_freeaddrinfo,;t t
+ s,@LIB_gai_strerror@,$LIB_gai_strerror,;t t
+-s,@LIB_crypt@,$LIB_crypt,;t t
+-s,@DIR_roken@,$DIR_roken,;t t
+-s,@LIB_roken@,$LIB_roken,;t t
+-s,@INCLUDES_roken@,$INCLUDES_roken,;t t
+-s,@LIB_otp@,$LIB_otp,;t t
+ s,@OTP_TRUE@,$OTP_TRUE,;t t
+ s,@OTP_FALSE@,$OTP_FALSE,;t t
+ s,@LIB_security@,$LIB_security,;t t
+@@ -54221,10 +55033,21 @@
+ s,@CATMAN_TRUE@,$CATMAN_TRUE,;t t
+ s,@CATMAN_FALSE@,$CATMAN_FALSE,;t t
+ s,@CATMANEXT@,$CATMANEXT,;t t
++s,@DIR_readline@,$DIR_readline,;t t
+ s,@INCLUDE_readline@,$INCLUDE_readline,;t t
+ s,@LIB_readline@,$LIB_readline,;t t
++s,@DIR_hesiod@,$DIR_hesiod,;t t
+ s,@INCLUDE_hesiod@,$INCLUDE_hesiod,;t t
+ s,@LIB_hesiod@,$LIB_hesiod,;t t
++s,@DIR_sl@,$DIR_sl,;t t
++s,@INCLUDE_sl@,$INCLUDE_sl,;t t
++s,@LIB_sl@,$LIB_sl,;t t
++s,@DIR_ss@,$DIR_ss,;t t
++s,@INCLUDE_ss@,$INCLUDE_ss,;t t
++s,@LIB_ss@,$LIB_ss,;t t
++s,@DIR_otp@,$DIR_otp,;t t
++s,@INCLUDE_otp@,$INCLUDE_otp,;t t
++s,@LIB_otp@,$LIB_otp,;t t
+ s,@AIX_TRUE@,$AIX_TRUE,;t t
+ s,@AIX_FALSE@,$AIX_FALSE,;t t
+ s,@AIX4_TRUE@,$AIX4_TRUE,;t t
+@@ -54430,11 +55253,6 @@
+   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
+   esac
+ 
+-  if test x"$ac_file" != x-; then
+-    { echo "$as_me:$LINENO: creating $ac_file" >&5
+-echo "$as_me: creating $ac_file" >&6;}
+-    rm -f "$ac_file"
+-  fi
+   # Let's still pretend it is `configure' which instantiates (i.e., don't
+   # use $as_me), people would be surprised to read:
+   #    /* config.h.  Generated by config.status.  */
+@@ -54473,6 +55291,12 @@
+ 	 fi;;
+       esac
+     done` || { (exit 1); exit 1; }
++
++  if test x"$ac_file" != x-; then
++    { echo "$as_me:$LINENO: creating $ac_file" >&5
++echo "$as_me: creating $ac_file" >&6;}
++    rm -f "$ac_file"
++  fi
+ _ACEOF
+ cat >>$CONFIG_STATUS <<_ACEOF
+   sed "$ac_vpsub
+diff -ruN heimdal-0.6.1-old/doc/Makefile.in heimdal-0.6.1/doc/Makefile.in
+--- heimdal-0.6.1-old/doc/Makefile.in	2004-04-01 22:19:36.000000000 +1000
++++ heimdal-0.6.1/doc/Makefile.in	2004-04-04 10:40:22.000000000 +1000
+@@ -66,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -76,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -99,15 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
+ 
+ INCLUDE_krb4 = @INCLUDE_krb4@
+ 
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -178,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -285,6 +297,9 @@
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+diff -ruN heimdal-0.6.1-old/include/config.h.in heimdal-0.6.1/include/config.h.in
+--- heimdal-0.6.1-old/include/config.h.in	2004-04-01 22:18:35.000000000 +1000
++++ heimdal-0.6.1/include/config.h.in	2004-04-04 10:39:24.000000000 +1000
+@@ -1241,7 +1241,7 @@
+    *, int, int) */
+ #undef OPENLOG_PROTO_COMPATIBLE
+ 
+-/* Define if you want OTP support in applications. */
++/* Define if you have the otp package. */
+ #undef OTP
+ 
+ /* Name of package */
+@@ -1277,6 +1277,12 @@
+ /* path to sbin */
+ #undef SBINDIR
+ 
++/* Define if you have the sl package. */
++#undef SL
++
++/* Define if you have the ss package. */
++#undef SS
++
+ /* Define to 1 if you have the ANSI C header files. */
+ #undef STDC_HEADERS
+ 
+diff -ruN heimdal-0.6.1-old/include/kadm5/Makefile.in heimdal-0.6.1/include/kadm5/Makefile.in
+--- heimdal-0.6.1-old/include/kadm5/Makefile.in	2004-04-01 22:19:37.000000000 +1000
++++ heimdal-0.6.1/include/kadm5/Makefile.in	2004-04-04 10:40:23.000000000 +1000
+@@ -66,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -76,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -99,15 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
+ 
+ INCLUDE_krb4 = @INCLUDE_krb4@
+ 
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -178,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -285,6 +297,9 @@
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+diff -ruN heimdal-0.6.1-old/include/Makefile.in heimdal-0.6.1/include/Makefile.in
+--- heimdal-0.6.1-old/include/Makefile.in	2004-04-01 22:19:37.000000000 +1000
++++ heimdal-0.6.1/include/Makefile.in	2004-04-04 10:40:22.000000000 +1000
+@@ -66,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -76,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -99,15 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
+ 
+ INCLUDE_krb4 = @INCLUDE_krb4@
+ 
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -178,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -285,6 +297,9 @@
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+diff -ruN heimdal-0.6.1-old/kadmin/Makefile.in heimdal-0.6.1/kadmin/Makefile.in
+--- heimdal-0.6.1-old/kadmin/Makefile.in	2004-04-01 22:19:37.000000000 +1000
++++ heimdal-0.6.1/kadmin/Makefile.in	2004-04-04 10:40:23.000000000 +1000
+@@ -66,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -76,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -99,15 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
+ 
+ INCLUDE_krb4 = @INCLUDE_krb4@
+ 
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -178,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -268,7 +280,7 @@
+ 
+ SUFFIXES = .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8
+ 
+-INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) $(INCLUDE_readline) $(INCLUDE_krb4) $(INCLUDE_des) -I$(srcdir)/../lib/krb5
++INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) -I/usr/include/editline $(INCLUDE_krb4) $(INCLUDE_des) -I$(srcdir)/../lib/krb5
+ 
+ @do_roken_rename_TRUE@ROKEN_RENAME = -DROKEN_RENAME
+ 
+@@ -285,6 +297,9 @@
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -356,8 +371,8 @@
+ kadmin_LDADD = \
+ 	$(top_builddir)/lib/kadm5/libkadm5clnt.la \
+ 	$(top_builddir)/lib/kadm5/libkadm5srv.la \
+-	$(top_builddir)/lib/sl/libsl.la \
+-	$(LIB_readline) \
++	$(LIB_sl) \
++	-ledit \
+ 	$(LDADD_common) \
+ 	$(LIB_dlopen)
+ 
+@@ -395,7 +410,6 @@
+ kadmin_OBJECTS = $(am_kadmin_OBJECTS)
+ kadmin_DEPENDENCIES = $(top_builddir)/lib/kadm5/libkadm5clnt.la \
+ 	$(top_builddir)/lib/kadm5/libkadm5srv.la \
+-	$(top_builddir)/lib/sl/libsl.la \
+ 	$(top_builddir)/lib/hdb/libhdb.la \
+ 	$(top_builddir)/lib/krb5/libkrb5.la \
+ 	$(top_builddir)/lib/asn1/libasn1.la
+diff -ruN heimdal-0.6.1-old/kdc/Makefile.in heimdal-0.6.1/kdc/Makefile.in
+--- heimdal-0.6.1-old/kdc/Makefile.in	2004-04-01 22:19:38.000000000 +1000
++++ heimdal-0.6.1/kdc/Makefile.in	2004-04-04 10:40:24.000000000 +1000
+@@ -66,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -76,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -99,15 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
+ 
+ INCLUDE_krb4 = @INCLUDE_krb4@
+ 
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -178,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -285,6 +297,9 @@
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+diff -ruN heimdal-0.6.1-old/kpasswd/Makefile.in heimdal-0.6.1/kpasswd/Makefile.in
+--- heimdal-0.6.1-old/kpasswd/Makefile.in	2004-04-01 22:19:38.000000000 +1000
++++ heimdal-0.6.1/kpasswd/Makefile.in	2004-04-04 10:40:24.000000000 +1000
+@@ -66,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -76,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -99,15 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
+ 
+ INCLUDE_krb4 = @INCLUDE_krb4@
+ 
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -178,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -285,6 +297,9 @@
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+diff -ruN heimdal-0.6.1-old/kuser/Makefile.in heimdal-0.6.1/kuser/Makefile.in
+--- heimdal-0.6.1-old/kuser/Makefile.in	2004-04-01 22:19:39.000000000 +1000
++++ heimdal-0.6.1/kuser/Makefile.in	2004-04-04 10:40:25.000000000 +1000
+@@ -66,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -76,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -99,15 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
+ 
+ INCLUDE_krb4 = @INCLUDE_krb4@
+ 
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -178,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -285,6 +297,9 @@
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+diff -ruN heimdal-0.6.1-old/lib/45/Makefile.in heimdal-0.6.1/lib/45/Makefile.in
+--- heimdal-0.6.1-old/lib/45/Makefile.in	2004-04-01 22:19:40.000000000 +1000
++++ heimdal-0.6.1/lib/45/Makefile.in	2004-04-04 10:40:25.000000000 +1000
+@@ -66,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -76,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -99,15 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
+ 
+ INCLUDE_krb4 = @INCLUDE_krb4@
+ 
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -178,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -285,6 +297,9 @@
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+diff -ruN heimdal-0.6.1-old/lib/asn1/Makefile.in heimdal-0.6.1/lib/asn1/Makefile.in
+--- heimdal-0.6.1-old/lib/asn1/Makefile.in	2004-04-01 22:19:41.000000000 +1000
++++ heimdal-0.6.1/lib/asn1/Makefile.in	2004-04-04 10:40:26.000000000 +1000
+@@ -66,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -76,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -99,15 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
+ 
+ INCLUDE_krb4 = @INCLUDE_krb4@
+ 
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -178,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -285,6 +297,9 @@
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -829,9 +844,9 @@
+ maintainer-clean-generic:
+ 	@echo "This command is intended for maintainers to use"
+ 	@echo "it deletes files that may require special tools to rebuild."
+-	-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
+ 	-rm -f parse.h
+ 	-rm -f lex.c
++	-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
+ 	-rm -f parse.c
+ clean: clean-am
+ 
+diff -ruN heimdal-0.6.1-old/lib/auth/afskauthlib/Makefile.in heimdal-0.6.1/lib/auth/afskauthlib/Makefile.in
+--- heimdal-0.6.1-old/lib/auth/afskauthlib/Makefile.in	2004-04-01 22:19:41.000000000 +1000
++++ heimdal-0.6.1/lib/auth/afskauthlib/Makefile.in	2004-04-04 10:40:27.000000000 +1000
+@@ -66,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -77,7 +78,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -100,15 +108,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
+ 
+ INCLUDE_krb4 = @INCLUDE_krb4@
+ 
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -179,7 +189,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -286,6 +298,9 @@
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -305,7 +320,7 @@
+ 
+ CLEANFILES = $(foo_DATA) $(OBJS) so_locations
+ 
+-@KRB4_TRUE@KAFS = $(top_builddir)/lib/kafs/libkafs.la
++@KRB4_TRUE@KAFS = $(LIB_kafs)
+ 
+ @KRB5_TRUE@L = \
+ @KRB5_TRUE@	$(KAFS)	\
+@@ -313,7 +328,7 @@
+ @KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la	\
+ @KRB5_TRUE@	$(LIB_krb4)				\
+ @KRB5_TRUE@	$(LIB_des)				\
+-@KRB5_TRUE@	$(top_builddir)/lib/roken/libroken.la	\
++@KRB5_TRUE@	$(LIB_roken)	\
+ @KRB5_TRUE@	-lc
+ 
+ 
+@@ -321,7 +336,7 @@
+ @KRB5_FALSE@	$(KAFS)	\
+ @KRB5_FALSE@	$(LIB_krb4)				\
+ @KRB5_FALSE@	$(LIB_des)				\
+-@KRB5_FALSE@	$(top_builddir)/lib/roken/libroken.la	\
++@KRB5_FALSE@	$(LIB_roken)	\
+ @KRB5_FALSE@	-lc
+ 
+ subdir = lib/auth/afskauthlib
+diff -ruN heimdal-0.6.1-old/lib/auth/Makefile.in heimdal-0.6.1/lib/auth/Makefile.in
+--- heimdal-0.6.1-old/lib/auth/Makefile.in	2004-04-01 22:19:41.000000000 +1000
++++ heimdal-0.6.1/lib/auth/Makefile.in	2004-04-04 10:40:27.000000000 +1000
+@@ -66,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -76,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -99,15 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
+ 
+ INCLUDE_krb4 = @INCLUDE_krb4@
+ 
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -178,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -285,6 +297,9 @@
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+diff -ruN heimdal-0.6.1-old/lib/auth/pam/Makefile.in heimdal-0.6.1/lib/auth/pam/Makefile.in
+--- heimdal-0.6.1-old/lib/auth/pam/Makefile.in	2004-04-01 22:19:42.000000000 +1000
++++ heimdal-0.6.1/lib/auth/pam/Makefile.in	2004-04-04 10:40:27.000000000 +1000
+@@ -66,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -77,7 +78,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -100,15 +108,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
+ 
+ INCLUDE_krb4 = @INCLUDE_krb4@
+ 
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -180,7 +190,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -288,6 +300,9 @@
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+diff -ruN heimdal-0.6.1-old/lib/auth/sia/Makefile.in heimdal-0.6.1/lib/auth/sia/Makefile.in
+--- heimdal-0.6.1-old/lib/auth/sia/Makefile.in	2004-04-01 22:19:42.000000000 +1000
++++ heimdal-0.6.1/lib/auth/sia/Makefile.in	2004-04-04 10:40:28.000000000 +1000
+@@ -66,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -77,7 +78,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -100,15 +108,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
+ 
+ INCLUDE_krb4 = @INCLUDE_krb4@
+ 
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -180,7 +190,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -288,6 +300,9 @@
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+diff -ruN heimdal-0.6.1-old/lib/com_err/Makefile.in heimdal-0.6.1/lib/com_err/Makefile.in
+--- heimdal-0.6.1-old/lib/com_err/Makefile.in	2004-04-01 22:19:43.000000000 +1000
++++ heimdal-0.6.1/lib/com_err/Makefile.in	2004-04-04 10:40:28.000000000 +1000
+@@ -66,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -76,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -99,15 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
+ 
+ INCLUDE_krb4 = @INCLUDE_krb4@
+ 
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -178,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -285,6 +297,9 @@
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+diff -ruN heimdal-0.6.1-old/lib/des/Makefile.in heimdal-0.6.1/lib/des/Makefile.in
+--- heimdal-0.6.1-old/lib/des/Makefile.in	2004-04-01 22:19:43.000000000 +1000
++++ heimdal-0.6.1/lib/des/Makefile.in	2004-04-04 10:40:29.000000000 +1000
+@@ -66,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -76,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -99,15 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
+ 
+ INCLUDE_krb4 = @INCLUDE_krb4@
+ 
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -178,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -285,6 +297,9 @@
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+diff -ruN heimdal-0.6.1-old/lib/editline/Makefile.in heimdal-0.6.1/lib/editline/Makefile.in
+--- heimdal-0.6.1-old/lib/editline/Makefile.in	2004-04-01 22:19:44.000000000 +1000
++++ heimdal-0.6.1/lib/editline/Makefile.in	2004-04-04 10:40:29.000000000 +1000
+@@ -66,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -76,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -99,15 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
+ 
+ INCLUDE_krb4 = @INCLUDE_krb4@
+ 
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -178,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -285,6 +297,9 @@
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -326,13 +341,13 @@
+ 	$(EXTRA_SOURCE)
+ 
+ 
+-libeditline_la_LDFLAGS = -static
++libeditline_la_LDFLAGS = -no-undefined
+ 
+ EXTRA_SOURCE = $(ES) 
+ 
+ libel_compat_la_SOURCES = edit_compat.c
+ 
+-libel_compat_la_LDFLAGS = -static
++libel_compat_la_LDFLAGS = -no-undefined
+ 
+ EXTRA_DIST = $(man_MANS)
+ subdir = lib/editline
+diff -ruN heimdal-0.6.1-old/lib/gssapi/Makefile.in heimdal-0.6.1/lib/gssapi/Makefile.in
+--- heimdal-0.6.1-old/lib/gssapi/Makefile.in	2004-04-01 22:19:44.000000000 +1000
++++ heimdal-0.6.1/lib/gssapi/Makefile.in	2004-04-04 10:40:30.000000000 +1000
+@@ -66,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -76,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -99,15 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
+ 
+ INCLUDE_krb4 = @INCLUDE_krb4@
+ 
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -178,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -285,6 +297,9 @@
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -298,7 +313,7 @@
+ 
+ lib_LTLIBRARIES = libgssapi.la
+ libgssapi_la_LDFLAGS = -version-info 5:0:4
+-libgssapi_la_LIBADD = ../krb5/libkrb5.la $(LIB_des) ../asn1/libasn1.la ../roken/libroken.la
++libgssapi_la_LIBADD = ../krb5/libkrb5.la $(LIB_des) ../asn1/libasn1.la $(LIB_roken)
+ 
+ man_MANS = gssapi.3 gss_acquire_cred.3
+ 
+@@ -358,8 +373,7 @@
+ CONFIG_CLEAN_FILES =
+ LTLIBRARIES = $(lib_LTLIBRARIES)
+ 
+-libgssapi_la_DEPENDENCIES = ../krb5/libkrb5.la ../asn1/libasn1.la \
+-	../roken/libroken.la
++libgssapi_la_DEPENDENCIES = ../krb5/libkrb5.la ../asn1/libasn1.la
+ am_libgssapi_la_OBJECTS = 8003.lo arcfour.lo accept_sec_context.lo \
+ 	acquire_cred.lo add_cred.lo add_oid_set_member.lo \
+ 	canonicalize_name.lo compare_name.lo compat.lo context_time.lo \
+diff -ruN heimdal-0.6.1-old/lib/hdb/Makefile.in heimdal-0.6.1/lib/hdb/Makefile.in
+--- heimdal-0.6.1-old/lib/hdb/Makefile.in	2004-04-01 22:19:45.000000000 +1000
++++ heimdal-0.6.1/lib/hdb/Makefile.in	2004-04-04 10:40:30.000000000 +1000
+@@ -66,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -76,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -99,15 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
+ 
+ INCLUDE_krb4 = @INCLUDE_krb4@
+ 
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -178,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -285,6 +297,9 @@
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -331,7 +346,7 @@
+ 
+ include_HEADERS = hdb.h hdb_err.h hdb_asn1.h hdb-protos.h hdb-private.h
+ 
+-libhdb_la_LIBADD = ../krb5/libkrb5.la ../asn1/libasn1.la ../roken/libroken.la $(LIB_openldap) $(DBLIB) $(LIB_NDBM)
++libhdb_la_LIBADD = ../krb5/libkrb5.la ../asn1/libasn1.la $(LIB_roken) $(LIB_openldap) $(DBLIB) $(LIB_NDBM)
+ subdir = lib/hdb
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+@@ -339,8 +354,7 @@
+ CONFIG_CLEAN_FILES =
+ LTLIBRARIES = $(lib_LTLIBRARIES)
+ 
+-libhdb_la_DEPENDENCIES = ../krb5/libkrb5.la ../asn1/libasn1.la \
+-	../roken/libroken.la
++libhdb_la_DEPENDENCIES = ../krb5/libkrb5.la ../asn1/libasn1.la
+ am__objects_1 = asn1_Key.lo asn1_Event.lo asn1_HDBFlags.lo \
+ 	asn1_hdb_entry.lo asn1_Salt.lo hdb_err.lo asn1_GENERATION.lo
+ am_libhdb_la_OBJECTS = common.lo db.lo db3.lo hdb-ldap.lo hdb.lo \
+diff -ruN heimdal-0.6.1-old/lib/kadm5/Makefile.in heimdal-0.6.1/lib/kadm5/Makefile.in
+--- heimdal-0.6.1-old/lib/kadm5/Makefile.in	2004-04-01 22:19:46.000000000 +1000
++++ heimdal-0.6.1/lib/kadm5/Makefile.in	2004-04-04 10:40:31.000000000 +1000
+@@ -66,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -76,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -99,15 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
+ 
+ INCLUDE_krb4 = @INCLUDE_krb4@
+ 
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -178,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -285,6 +297,9 @@
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -301,8 +316,8 @@
+ libkadm5clnt_la_LDFLAGS = -version-info 6:4:2
+ sbin_PROGRAMS = dump_log replay_log truncate_log
+ 
+-libkadm5srv_la_LIBADD = ../krb5/libkrb5.la ../hdb/libhdb.la ../roken/libroken.la
+-libkadm5clnt_la_LIBADD = ../krb5/libkrb5.la ../hdb/libhdb.la ../roken/libroken.la
++libkadm5srv_la_LIBADD = ../krb5/libkrb5.la ../hdb/libhdb.la $(LIB_roken)
++libkadm5clnt_la_LIBADD = ../krb5/libkrb5.la ../hdb/libhdb.la $(LIB_roken)
+ 
+ libexec_PROGRAMS = ipropd-master ipropd-slave
+ 
+@@ -404,16 +419,14 @@
+ CONFIG_CLEAN_FILES =
+ LTLIBRARIES = $(lib_LTLIBRARIES)
+ 
+-libkadm5clnt_la_DEPENDENCIES = ../krb5/libkrb5.la ../hdb/libhdb.la \
+-	../roken/libroken.la
++libkadm5clnt_la_DEPENDENCIES = ../krb5/libkrb5.la ../hdb/libhdb.la
+ am__objects_1 = chpass_c.lo common_glue.lo create_c.lo delete_c.lo \
+ 	destroy_c.lo flush_c.lo free.lo get_c.lo get_princs_c.lo \
+ 	init_c.lo kadm5_err.lo marshall.lo modify_c.lo privs_c.lo \
+ 	randkey_c.lo rename_c.lo send_recv.lo
+ am_libkadm5clnt_la_OBJECTS = $(am__objects_1) client_glue.lo
+ libkadm5clnt_la_OBJECTS = $(am_libkadm5clnt_la_OBJECTS)
+-libkadm5srv_la_DEPENDENCIES = ../krb5/libkrb5.la ../hdb/libhdb.la \
+-	../roken/libroken.la
++libkadm5srv_la_DEPENDENCIES = ../krb5/libkrb5.la ../hdb/libhdb.la
+ am__objects_2 = acl.lo bump_pw_expire.lo chpass_s.lo common_glue.lo \
+ 	context_s.lo create_s.lo delete_s.lo destroy_s.lo ent_setup.lo \
+ 	error.lo flush_s.lo free.lo get_princs_s.lo get_s.lo init_s.lo \
+diff -ruN heimdal-0.6.1-old/lib/kafs/Makefile.in heimdal-0.6.1/lib/kafs/Makefile.in
+--- heimdal-0.6.1-old/lib/kafs/Makefile.in	2004-04-01 22:19:46.000000000 +1000
++++ heimdal-0.6.1/lib/kafs/Makefile.in	2004-04-04 10:40:31.000000000 +1000
+@@ -66,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -76,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -99,15 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
+ 
+ INCLUDE_krb4 = @INCLUDE_krb4@
+ 
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -178,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -285,6 +297,9 @@
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -313,16 +328,16 @@
+ 
+ @AIX4_TRUE@@AIX_TRUE@AFS_EXTRA_LD = -bnoentry
+ @AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@AIX_SRC = afslib.c
+-
+-@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@AIX_SRC = 
+ @AIX_FALSE@AIX_SRC = 
+ @AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@AIX_SRC = dlfcn.c
++
++@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@AIX_SRC = 
+ @AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@AFS_EXTRA_LIBS = 
+ @AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@AFS_EXTRA_LIBS = afslib.so
+ @AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@AFS_EXTRA_DEFS = -DSTATIC_AFS
+ @AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@AFS_EXTRA_DEFS = 
+ 
+-libkafs_la_LIBADD = $(DEPLIB_krb5) ../roken/libroken.la $(DEPLIB_krb4)
++libkafs_la_LIBADD = $(DEPLIB_krb5) $(LIB_roken) $(DEPLIB_krb4)
+ 
+ lib_LTLIBRARIES = libkafs.la
+ libkafs_la_LDFLAGS = -version-info 4:0:4
+@@ -365,12 +380,10 @@
+ CONFIG_CLEAN_FILES =
+ LTLIBRARIES = $(lib_LTLIBRARIES)
+ 
+-@KRB4_FALSE@@KRB5_TRUE@libkafs_la_DEPENDENCIES = ../krb5/libkrb5.la \
+-@KRB4_FALSE@@KRB5_TRUE@	../roken/libroken.la
+-@KRB4_FALSE@@KRB5_FALSE@libkafs_la_DEPENDENCIES = ../roken/libroken.la
+-@KRB4_TRUE@@KRB5_TRUE@libkafs_la_DEPENDENCIES = ../krb5/libkrb5.la \
+-@KRB4_TRUE@@KRB5_TRUE@	../roken/libroken.la
+-@KRB4_TRUE@@KRB5_FALSE@libkafs_la_DEPENDENCIES = ../roken/libroken.la
++@KRB4_FALSE@@KRB5_TRUE@libkafs_la_DEPENDENCIES = ../krb5/libkrb5.la
++@KRB4_FALSE@@KRB5_FALSE@libkafs_la_DEPENDENCIES =
++@KRB4_TRUE@@KRB5_TRUE@libkafs_la_DEPENDENCIES = ../krb5/libkrb5.la
++@KRB4_TRUE@@KRB5_FALSE@libkafs_la_DEPENDENCIES =
+ am__libkafs_la_SOURCES_DIST = afssys.c afskrb.c afskrb5.c common.c \
+ 	afslib.c dlfcn.c kafs_locl.h afssysdefs.h resolve.c strtok_r.c \
+ 	strlcpy.c strsep.c
+diff -ruN heimdal-0.6.1-old/lib/kdfs/Makefile.in heimdal-0.6.1/lib/kdfs/Makefile.in
+--- heimdal-0.6.1-old/lib/kdfs/Makefile.in	2004-04-01 22:19:47.000000000 +1000
++++ heimdal-0.6.1/lib/kdfs/Makefile.in	2004-04-04 10:40:32.000000000 +1000
+@@ -66,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -76,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -99,15 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
+ 
+ INCLUDE_krb4 = @INCLUDE_krb4@
+ 
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -178,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -285,6 +297,9 @@
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+diff -ruN heimdal-0.6.1-old/lib/krb5/Makefile.in heimdal-0.6.1/lib/krb5/Makefile.in
+--- heimdal-0.6.1-old/lib/krb5/Makefile.in	2004-04-01 22:19:48.000000000 +1000
++++ heimdal-0.6.1/lib/krb5/Makefile.in	2004-04-04 10:40:33.000000000 +1000
+@@ -66,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -76,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -99,15 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
+ 
+ INCLUDE_krb4 = @INCLUDE_krb4@
+ 
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -178,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -285,6 +297,9 @@
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -320,7 +335,7 @@
+ 
+ 
+ libkrb5_la_LIBADD = \
+-	../com_err/error.lo ../com_err/com_err.lo \
++	$(LIB_com_err) \
+ 	$(LIB_des) \
+ 	$(top_builddir)/lib/asn1/libasn1.la \
+ 	$(LIB_roken)
+@@ -479,8 +494,7 @@
+ CONFIG_CLEAN_FILES =
+ LTLIBRARIES = $(lib_LTLIBRARIES)
+ 
+-libkrb5_la_DEPENDENCIES = ../com_err/error.lo ../com_err/com_err.lo \
+-	$(top_builddir)/lib/asn1/libasn1.la
++libkrb5_la_DEPENDENCIES = $(top_builddir)/lib/asn1/libasn1.la
+ am__objects_1 = krb5_err.lo heim_err.lo k524_err.lo
+ am_libkrb5_la_OBJECTS = acl.lo add_et_list.lo addr_families.lo \
+ 	aname_to_localname.lo appdefault.lo asn1_glue.lo \
+diff -ruN heimdal-0.6.1-old/lib/Makefile.in heimdal-0.6.1/lib/Makefile.in
+--- heimdal-0.6.1-old/lib/Makefile.in	2004-04-01 22:19:40.000000000 +1000
++++ heimdal-0.6.1/lib/Makefile.in	2004-04-04 10:40:26.000000000 +1000
+@@ -66,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -76,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -99,15 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
+ 
+ INCLUDE_krb4 = @INCLUDE_krb4@
+ 
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -178,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -285,6 +297,9 @@
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -297,11 +312,10 @@
+ @DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
+ 
+ @KRB4_TRUE@dir_45 = 45
+-@OTP_TRUE@dir_otp = otp
+ @DCE_TRUE@dir_dce = kdfs
+ 
+-SUBDIRS = @DIR_roken@ vers editline @DIR_com_err@ sl asn1 @DIR_des@ krb5 \
+-	kafs hdb kadm5 gssapi auth $(dir_45) $(dir_otp) $(dir_dce)
++SUBDIRS = @DIR_roken@ vers @DIR_com_err@ @DIR_sl@ asn1 @DIR_des@ krb5 \
++	kafs hdb kadm5 gssapi auth $(dir_45) @DIR_otp@ $(dir_dce)
+ 
+ subdir = lib
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+@@ -319,8 +333,8 @@
+ 	check-recursive installcheck-recursive
+ DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/Makefile.am.common \
+ 	$(top_srcdir)/cf/Makefile.am.common Makefile.am
+-DIST_SUBDIRS = @DIR_roken@ vers editline @DIR_com_err@ sl asn1 @DIR_des@ \
+-	krb5 kafs hdb kadm5 gssapi auth 45 otp kdfs
++DIST_SUBDIRS = @DIR_roken@ vers @DIR_com_err@ @DIR_sl@ asn1 @DIR_des@ \
++	krb5 kafs hdb kadm5 gssapi auth 45 @DIR_otp@ kdfs
+ all: all-recursive
+ 
+ .SUFFIXES:
+diff -ruN heimdal-0.6.1-old/lib/otp/Makefile.in heimdal-0.6.1/lib/otp/Makefile.in
+--- heimdal-0.6.1-old/lib/otp/Makefile.in	2004-04-01 22:19:48.000000000 +1000
++++ heimdal-0.6.1/lib/otp/Makefile.in	2004-04-04 10:40:33.000000000 +1000
+@@ -66,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -76,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -99,15 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
+ 
+ INCLUDE_krb4 = @INCLUDE_krb4@
+ 
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -178,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -285,6 +297,9 @@
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+diff -ruN heimdal-0.6.1-old/lib/roken/Makefile.in heimdal-0.6.1/lib/roken/Makefile.in
+--- heimdal-0.6.1-old/lib/roken/Makefile.in	2004-04-01 22:19:49.000000000 +1000
++++ heimdal-0.6.1/lib/roken/Makefile.in	2004-04-04 10:40:34.000000000 +1000
+@@ -66,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -76,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -99,15 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
+ 
+ INCLUDE_krb4 = @INCLUDE_krb4@
+ 
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -178,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -285,6 +297,9 @@
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+@@ -392,21 +407,21 @@
+ libroken_la_LIBADD = @LTLIBOBJS@ $(DBLIB)
+ 
+ BUILT_SOURCES = make-roken.c roken.h
++@have_err_h_FALSE@err_h = err.h
+ 
+ @have_err_h_TRUE@err_h = 
+-@have_err_h_FALSE@err_h = err.h
++@have_fnmatch_h_FALSE@fnmatch_h = fnmatch.h
+ 
+ @have_fnmatch_h_TRUE@fnmatch_h = 
+-@have_fnmatch_h_FALSE@fnmatch_h = fnmatch.h
+-@have_glob_h_FALSE@glob_h = glob.h
+ 
+ @have_glob_h_TRUE@glob_h = 
+-@have_ifaddrs_h_FALSE@ifaddrs_h = ifaddrs.h
++@have_glob_h_FALSE@glob_h = roken-glob.h
+ 
+ @have_ifaddrs_h_TRUE@ifaddrs_h = 
++@have_ifaddrs_h_FALSE@ifaddrs_h = ifaddrs.h
++@have_vis_h_FALSE@vis_h = vis.h
+ 
+ @have_vis_h_TRUE@vis_h = 
+-@have_vis_h_FALSE@vis_h = vis.h
+ 
+ XHEADERS = $(err_h) $(fnmatch_h) $(glob_h) $(ifaddrs_h) $(vis_h)
+ 
+@@ -1182,6 +1197,8 @@
+ $(LTLIBOBJS) $(libroken_la_OBJECTS): roken.h $(XHEADERS)
+ .hin.h:
+ 	cp $< $@
++roken-glob.h:
++	cp glob.hin roken-glob.h
+ 
+ roken.h: make-roken$(EXEEXT)
+ 	@./make-roken$(EXEEXT) > tmp.h ;\
+diff -ruN heimdal-0.6.1-old/lib/sl/Makefile.in heimdal-0.6.1/lib/sl/Makefile.in
+--- heimdal-0.6.1-old/lib/sl/Makefile.in	2004-04-01 22:19:50.000000000 +1000
++++ heimdal-0.6.1/lib/sl/Makefile.in	2004-04-04 10:40:35.000000000 +1000
+@@ -66,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -76,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -99,15 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
+ 
+ INCLUDE_krb4 = @INCLUDE_krb4@
+ 
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -178,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -285,6 +297,9 @@
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+diff -ruN heimdal-0.6.1-old/lib/vers/Makefile.in heimdal-0.6.1/lib/vers/Makefile.in
+--- heimdal-0.6.1-old/lib/vers/Makefile.in	2004-04-01 22:19:50.000000000 +1000
++++ heimdal-0.6.1/lib/vers/Makefile.in	2004-04-04 10:40:35.000000000 +1000
+@@ -66,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -76,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -99,15 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
+ 
+ INCLUDE_krb4 = @INCLUDE_krb4@
+ 
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -178,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -285,6 +297,9 @@
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+diff -ruN heimdal-0.6.1-old/ltmain.sh heimdal-0.6.1/ltmain.sh
+--- heimdal-0.6.1-old/ltmain.sh	2004-04-01 22:17:37.000000000 +1000
++++ heimdal-0.6.1/ltmain.sh	2004-04-04 10:40:10.000000000 +1000
+@@ -56,7 +56,7 @@
+ PROGRAM=ltmain.sh
+ PACKAGE=libtool
+ VERSION=1.5.2
+-TIMESTAMP=" (1.1220.2.60 2004/01/25 12:25:08)"
++TIMESTAMP=" (1.1220.2.60 2004/01/25 12:25:08) Debian$Rev: 192 $"
+ 
+ default_mode=
+ help="Try \`$progname --help' for more information."
+diff -ruN heimdal-0.6.1-old/Makefile.in heimdal-0.6.1/Makefile.in
+--- heimdal-0.6.1-old/Makefile.in	2004-04-01 22:19:25.000000000 +1000
++++ heimdal-0.6.1/Makefile.in	2004-04-04 10:40:12.000000000 +1000
+@@ -66,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -76,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -99,15 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
+ 
+ INCLUDE_krb4 = @INCLUDE_krb4@
+ 
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -178,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -285,6 +297,9 @@
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
+diff -ruN heimdal-0.6.1-old/tools/Makefile.in heimdal-0.6.1/tools/Makefile.in
+--- heimdal-0.6.1-old/tools/Makefile.in	2004-04-01 22:19:51.000000000 +1000
++++ heimdal-0.6.1/tools/Makefile.in	2004-04-04 10:40:35.000000000 +1000
+@@ -66,6 +66,7 @@
+ COMPILE_ET = @COMPILE_ET@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CPPFLAGS_roken = @CPPFLAGS_roken@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXFLAGS = @CXXFLAGS@
+@@ -76,7 +77,14 @@
+ DEFS = @DEFS@
+ DIR_com_err = @DIR_com_err@
+ DIR_des = @DIR_des@
++DIR_hesiod = @DIR_hesiod@
++DIR_krb4 = @DIR_krb4@
++DIR_openldap = @DIR_openldap@
++DIR_otp = @DIR_otp@
++DIR_readline = @DIR_readline@
+ DIR_roken = @DIR_roken@
++DIR_sl = @DIR_sl@
++DIR_ss = @DIR_ss@
+ ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+@@ -99,15 +107,17 @@
+ HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
+ HAVE_X_FALSE = @HAVE_X_FALSE@
+ HAVE_X_TRUE = @HAVE_X_TRUE@
+-INCLUDES_roken = @INCLUDES_roken@
+ INCLUDE_des = @INCLUDE_des@
+ INCLUDE_hesiod = @INCLUDE_hesiod@
+ 
+ INCLUDE_krb4 = @INCLUDE_krb4@
+ 
+ INCLUDE_openldap = @INCLUDE_openldap@
++INCLUDE_otp = @INCLUDE_otp@
+ 
+ INCLUDE_readline = @INCLUDE_readline@
++INCLUDE_sl = @INCLUDE_sl@
++INCLUDE_ss = @INCLUDE_ss@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+@@ -178,7 +188,9 @@
+ LIB_roken = @LIB_roken@
+ LIB_security = @LIB_security@
+ LIB_setsockopt = @LIB_setsockopt@
++LIB_sl = @LIB_sl@
+ LIB_socket = @LIB_socket@
++LIB_ss = @LIB_ss@
+ LIB_syslog = @LIB_syslog@
+ LIB_tgetent = @LIB_tgetent@
+ LN_S = @LN_S@
+@@ -285,6 +297,9 @@
+ HESIODLIB = @HESIODLIB@
+ HESIODINCLUDE = @HESIODINCLUDE@
+ 
++INCLUDE_roken = @INCLUDES_roken@
++INCLUDE_com_err = @INCLUDE_com_err@
++
+ NROFF_MAN = groff -mandoc -Tascii
+ 
+ LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
--- heimdal-0.6.3.orig/debian/patches-0.6.1/022_ftp-roken-glob
+++ heimdal-0.6.3/debian/patches-0.6.1/022_ftp-roken-glob
@@ -0,0 +1,2846 @@
+diff -ruN heimdal-0.6.1-old/appl/ftp/ftp/cmds.c heimdal-0.6.1/appl/ftp/ftp/cmds.c
+--- heimdal-0.6.1-old/appl/ftp/ftp/cmds.c	Sun Aug  5 16:39:14 2001
++++ heimdal-0.6.1/appl/ftp/ftp/cmds.c	Sun Oct  6 14:57:46 2002
+@@ -535,9 +535,17 @@
+ 
+ 	memset(&gl, 0, sizeof(gl));
+ 	flags = GLOB_BRACE|GLOB_NOCHECK|GLOB_QUOTE|GLOB_TILDE;
++#ifdef HAVE_GLOB
+ 	if (glob(argv[i], flags, NULL, &gl) || gl.gl_pathc == 0) {
++#else
++	if (roken_glob(argv[i], flags, NULL, &gl) || gl.gl_pathc == 0) {
++#endif 
+ 	    warnx("%s: not found", argv[i]);
++#ifdef HAVE_GLOB
+ 	    globfree(&gl);
++#else
++	    roken_globfree(&gl);
++#endif
+ 	    continue;
+ 	}
+ 	for (cpp = gl.gl_pathv; cpp && *cpp != NULL; cpp++) {
+@@ -558,7 +566,11 @@
+ 		}
+ 	    }
+ 	}
++#ifdef HAVE_GLOB
+ 	globfree(&gl);
++#else
++	roken_globfree(&gl);
++#endif
+     }
+     signal(SIGINT, oldintr);
+     mflag = 0;
+@@ -1567,14 +1579,27 @@
+ 
+ 	flags = GLOB_BRACE|GLOB_NOCHECK|GLOB_QUOTE|GLOB_TILDE;
+ 	memset(&gl, 0, sizeof(gl));
++#ifdef HAVE_GLOB
+ 	if (glob(*cpp, flags, NULL, &gl) ||
++#else 
++	if (roken_glob(*cpp, flags, NULL, &gl) ||
++#endif
+ 	    gl.gl_pathc == 0) {
+ 		warnx("%s: not found", *cpp);
++#ifdef HAVE_GLOB
+ 		globfree(&gl);
++#else
++		roken_globfree(&gl);
++#endif
+ 		return (0);
+ 	}
+ 	*cpp = strdup(gl.gl_pathv[0]);	/* XXX - wasted memory */
++#ifdef HAVE_GLOB
+ 	globfree(&gl);
++#else
++	roken_globfree(&gl);
++#endif
++
+ 	return (1);
+ }
+ 
+diff -ruN heimdal-0.6.1-old/appl/ftp/ftp/ftp_locl.h heimdal-0.6.1/appl/ftp/ftp/ftp_locl.h
+--- heimdal-0.6.1-old/appl/ftp/ftp/ftp_locl.h	Wed Sep 11 06:03:46 2002
++++ heimdal-0.6.1/appl/ftp/ftp/ftp_locl.h	Sun Oct  6 14:57:46 2002
+@@ -101,7 +101,11 @@
+ 
+ #include <errno.h>
+ #include <ctype.h>
++#ifdef HAVE_GLOB
+ #include <glob.h>
++#else
++#include <roken-glob.h>
++#endif 
+ #ifdef HAVE_NETDB_H
+ #include <netdb.h>
+ #endif
+diff -ruN heimdal-0.6.1-old/appl/ftp/ftpd/ftpcmd.y heimdal-0.6.1/appl/ftp/ftpd/ftpcmd.y
+--- heimdal-0.6.1-old/appl/ftp/ftpd/ftpcmd.y	Sun Aug  5 16:39:29 2001
++++ heimdal-0.6.1/appl/ftp/ftpd/ftpcmd.y	Sun Oct  6 14:57:46 2002
+@@ -838,14 +838,22 @@
+ 				 GLOB_BRACE|GLOB_NOCHECK|GLOB_QUOTE|GLOB_TILDE;
+ 
+ 				memset(&gl, 0, sizeof(gl));
++#ifdef HAVE_GLOB
+ 				if (glob($1, flags, NULL, &gl) ||
++#else
++				if (roken_glob($1, flags, NULL, &gl) ||
++#endif
+ 				    gl.gl_pathc == 0) {
+ 					reply(550, "not found");
+ 					$$ = NULL;
+ 				} else {
+ 					$$ = strdup(gl.gl_pathv[0]);
+ 				}
++#ifdef HAVE_GLOB
+ 				globfree(&gl);
++#else
++				roken_globfree(&gl);
++#endif
+ 				free($1);
+ 			} else
+ 				$$ = $1;
+diff -ruN heimdal-0.6.1-old/appl/ftp/ftpd/ftpd.c heimdal-0.6.1/appl/ftp/ftpd/ftpd.c
+--- heimdal-0.6.1-old/appl/ftp/ftpd/ftpd.c	Fri Mar  1 02:50:14 2002
++++ heimdal-0.6.1/appl/ftp/ftpd/ftpd.c	Sun Oct  6 14:57:46 2002
+@@ -2205,7 +2205,11 @@
+ 
+     memset(&gl, 0, sizeof(gl));
+     freeglob = 1;
++#ifdef HAVE_GLOB
+     if (glob(whichf, flags, 0, &gl)) {
++#else
++    if (roken_glob(whichf, flags, 0, &gl)) {
++#endif
+       reply(550, "not found");
+       goto out;
+     } else if (gl.gl_pathc == 0) {
+@@ -2315,7 +2319,11 @@
+ out:
+   if (freeglob) {
+     freeglob = 0;
++#ifdef HAVE_GLOB
+     globfree(&gl);
++#else
++    roken_globfree(&gl);
++#endif
+   }
+ }
+ 
+diff -ruN heimdal-0.6.1-old/appl/ftp/ftpd/ftpd.c.orig heimdal-0.6.1/appl/ftp/ftpd/ftpd.c.orig
+--- heimdal-0.6.1-old/appl/ftp/ftpd/ftpd.c.orig	Thu Jan  1 10:00:00 1970
++++ heimdal-0.6.1/appl/ftp/ftpd/ftpd.c.orig	Sun Oct  6 14:57:46 2002
+@@ -0,0 +1,2348 @@
++/*
++ * Copyright (c) 1985, 1988, 1990, 1992, 1993, 1994
++ *	The Regents of the University of California.  All rights reserved.
++ *
++ * Redistribution and use in source and binary forms, with or without
++ * modification, are permitted provided that the following conditions
++ * are met:
++ * 1. Redistributions of source code must retain the above copyright
++ *    notice, this list of conditions and the following disclaimer.
++ * 2. Redistributions in binary form must reproduce the above copyright
++ *    notice, this list of conditions and the following disclaimer in the
++ *    documentation and/or other materials provided with the distribution.
++ * 3. All advertising materials mentioning features or use of this software
++ *    must display the following acknowledgement:
++ *	This product includes software developed by the University of
++ *	California, Berkeley and its contributors.
++ * 4. Neither the name of the University nor the names of its contributors
++ *    may be used to endorse or promote products derived from this software
++ *    without specific prior written permission.
++ *
++ * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
++ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
++ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
++ * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
++ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
++ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
++ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
++ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
++ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
++ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
++ * SUCH DAMAGE.
++ */
++
++#define	FTP_NAMES
++#include "ftpd_locl.h"
++#ifdef KRB5
++#include <krb5.h>
++#endif
++#include "getarg.h"
++
++RCSID("$Id: ftpd.c,v 1.161 2002/02/28 15:50:14 joda Exp $");
++
++static char version[] = "Version 6.00";
++
++extern	off_t restart_point;
++extern	char cbuf[];
++
++struct  sockaddr_storage ctrl_addr_ss;
++struct  sockaddr *ctrl_addr = (struct sockaddr *)&ctrl_addr_ss;
++
++struct  sockaddr_storage data_source_ss;
++struct  sockaddr *data_source = (struct sockaddr *)&data_source_ss;
++
++struct  sockaddr_storage data_dest_ss;
++struct  sockaddr *data_dest = (struct sockaddr *)&data_dest_ss;
++
++struct  sockaddr_storage his_addr_ss;
++struct  sockaddr *his_addr = (struct sockaddr *)&his_addr_ss;
++
++struct  sockaddr_storage pasv_addr_ss;
++struct  sockaddr *pasv_addr = (struct sockaddr *)&pasv_addr_ss;
++
++int	data;
++jmp_buf	errcatch, urgcatch;
++int	oobflag;
++int	logged_in;
++struct	passwd *pw;
++int	debug = 0;
++int	ftpd_timeout = 900;    /* timeout after 15 minutes of inactivity */
++int	maxtimeout = 7200;/* don't allow idle time to be set beyond 2 hours */
++int	restricted_data_ports = 1;
++int	logging;
++int	guest;
++int	dochroot;
++int	type;
++int	form;
++int	stru;			/* avoid C keyword */
++int	mode;
++int	usedefault = 1;		/* for data transfers */
++int	pdata = -1;		/* for passive mode */
++int	transflag;
++off_t	file_size;
++off_t	byte_count;
++#if !defined(CMASK) || CMASK == 0
++#undef CMASK
++#define CMASK 027
++#endif
++int	defumask = CMASK;		/* default umask value */
++int	guest_umask = 0777;	/* Paranoia for anonymous users */
++char	tmpline[10240];
++char	hostname[MaxHostNameLen];
++char	remotehost[MaxHostNameLen];
++static char ttyline[20];
++
++#define AUTH_PLAIN	(1 << 0) /* allow sending passwords */
++#define AUTH_OTP	(1 << 1) /* passwords are one-time */
++#define AUTH_FTP	(1 << 2) /* allow anonymous login */
++
++static int auth_level = 0; /* Only allow kerberos login by default */
++
++/*
++ * Timeout intervals for retrying connections
++ * to hosts that don't accept PORT cmds.  This
++ * is a kludge, but given the problems with TCP...
++ */
++#define	SWAITMAX	90	/* wait at most 90 seconds */
++#define	SWAITINT	5	/* interval between retries */
++
++int	swaitmax = SWAITMAX;
++int	swaitint = SWAITINT;
++
++#ifdef HAVE_SETPROCTITLE
++char	proctitle[BUFSIZ];	/* initial part of title */
++#endif /* HAVE_SETPROCTITLE */
++
++#define LOGCMD(cmd, file) \
++	if (logging > 1) \
++	    syslog(LOG_INFO,"%s %s%s", cmd, \
++		*(file) == '/' ? "" : curdir(), file);
++#define LOGCMD2(cmd, file1, file2) \
++	 if (logging > 1) \
++	    syslog(LOG_INFO,"%s %s%s %s%s", cmd, \
++		*(file1) == '/' ? "" : curdir(), file1, \
++		*(file2) == '/' ? "" : curdir(), file2);
++#define LOGBYTES(cmd, file, cnt) \
++	if (logging > 1) { \
++		if (cnt == (off_t)-1) \
++		    syslog(LOG_INFO,"%s %s%s", cmd, \
++			*(file) == '/' ? "" : curdir(), file); \
++		else \
++		    syslog(LOG_INFO, "%s %s%s = %ld bytes", \
++			cmd, (*(file) == '/') ? "" : curdir(), file, (long)cnt); \
++	}
++
++static void	 ack (char *);
++static void	 myoob (int);
++static int	 checkuser (char *, char *);
++static int	 checkaccess (char *);
++static FILE	*dataconn (const char *, off_t, const char *);
++static void	 dolog (struct sockaddr *sa, int len);
++static void	 end_login (void);
++static FILE	*getdatasock (const char *);
++static char	*gunique (char *);
++static RETSIGTYPE	 lostconn (int);
++static int	 receive_data (FILE *, FILE *);
++static void	 send_data (FILE *, FILE *);
++static struct passwd * sgetpwnam (char *);
++
++static char *
++curdir(void)
++{
++	static char path[MaxPathLen+1];	/* path + '/' + '\0' */
++
++	if (getcwd(path, sizeof(path)-1) == NULL)
++		return ("");
++	if (path[1] != '\0')		/* special case for root dir. */
++		strlcat(path, "/", sizeof(path));
++	/* For guest account, skip / since it's chrooted */
++	return (guest ? path+1 : path);
++}
++
++#ifndef LINE_MAX
++#define LINE_MAX 1024
++#endif
++
++static int
++parse_auth_level(char *str)
++{
++    char *p;
++    int ret = 0;
++    char *foo = NULL;
++
++    for(p = strtok_r(str, ",", &foo);
++	p;
++	p = strtok_r(NULL, ",", &foo)) {
++	if(strcmp(p, "user") == 0)
++	    ;
++#ifdef OTP
++	else if(strcmp(p, "otp") == 0)
++	    ret |= AUTH_PLAIN|AUTH_OTP;
++#endif
++	else if(strcmp(p, "ftp") == 0 ||
++		strcmp(p, "safe") == 0)
++	    ret |= AUTH_FTP;
++	else if(strcmp(p, "plain") == 0)
++	    ret |= AUTH_PLAIN;
++	else if(strcmp(p, "none") == 0)
++	    ret |= AUTH_PLAIN|AUTH_FTP;
++	else
++	    warnx("bad value for -a: `%s'", p);
++    }
++    return ret;	    
++}
++
++/*
++ * Print usage and die.
++ */
++
++static int interactive_flag;
++static char *guest_umask_string;
++static char *port_string;
++static char *umask_string;
++static char *auth_string;
++
++int use_builtin_ls = -1;
++
++static int help_flag;
++static int version_flag;
++
++static const char *good_chars = "+-=_,.";
++
++struct getargs args[] = {
++    { NULL, 'a', arg_string, &auth_string, "required authentication" },
++    { NULL, 'i', arg_flag, &interactive_flag, "don't assume stdin is a socket" },
++    { NULL, 'p', arg_string, &port_string, "what port to listen to" },
++    { NULL, 'g', arg_string, &guest_umask_string, "umask for guest logins" },
++    { NULL, 'l', arg_counter, &logging, "log more stuff", "" },
++    { NULL, 't', arg_integer, &ftpd_timeout, "initial timeout" },
++    { NULL, 'T', arg_integer, &maxtimeout, "max timeout" },
++    { NULL, 'u', arg_string, &umask_string, "umask for user logins" },
++    { NULL, 'U', arg_negative_flag, &restricted_data_ports, "don't use high data ports" },
++    { NULL, 'd', arg_flag, &debug, "enable debugging" },
++    { NULL, 'v', arg_flag, &debug, "enable debugging" },
++    { "builtin-ls", 'B', arg_flag, &use_builtin_ls, "use built-in ls to list files" },
++    { "good-chars", 0, arg_string, &good_chars, "allowed anonymous upload filename chars" },
++    { "version", 0, arg_flag, &version_flag },
++    { "help", 'h', arg_flag, &help_flag }
++};
++
++static int num_args = sizeof(args) / sizeof(args[0]);
++
++static void
++usage (int code)
++{
++    arg_printusage(args, num_args, NULL, "");
++    exit (code);
++}
++
++/* output contents of a file */
++static int
++show_file(const char *file, int code)
++{
++    FILE *f;
++    char buf[128];
++
++    f = fopen(file, "r");
++    if(f == NULL)
++	return -1;
++    while(fgets(buf, sizeof(buf), f)){
++	buf[strcspn(buf, "\r\n")] = '\0';
++	lreply(code, "%s", buf);
++    }
++    fclose(f);
++    return 0;
++}
++
++int
++main(int argc, char **argv)
++{
++    socklen_t his_addr_len, ctrl_addr_len;
++    int on = 1;
++    int port;
++    struct servent *sp;
++
++    int optind = 0;
++
++    setprogname (argv[0]);
++
++    /* detach from any tickets and tokens */
++    {
++#ifdef KRB4
++	char tkfile[1024];
++	snprintf(tkfile, sizeof(tkfile),
++		 "/tmp/ftp_%u", (unsigned)getpid());
++	krb_set_tkt_string(tkfile);
++#endif
++#if defined(KRB4) && defined(KRB5)
++	if(k_hasafs())
++	    k_setpag();
++#endif
++    }
++
++    if(getarg(args, num_args, argc, argv, &optind))
++	usage(1);
++
++    if(help_flag)
++	usage(0);
++	
++    if(version_flag) {
++	print_version(NULL);
++	exit(0);
++    }
++
++    if(auth_string)
++	auth_level = parse_auth_level(auth_string);
++    {
++	char *p;
++	long val = 0;
++	    
++	if(guest_umask_string) {
++	    val = strtol(guest_umask_string, &p, 8);
++	    if (*p != '\0' || val < 0)
++		warnx("bad value for -g");
++	    else
++		guest_umask = val;
++	}
++	if(umask_string) {
++	    val = strtol(umask_string, &p, 8);
++	    if (*p != '\0' || val < 0)
++		warnx("bad value for -u");
++	    else
++		defumask = val;
++	}
++    }
++    sp = getservbyname("ftp", "tcp");
++    if(sp)
++	port = sp->s_port;
++    else
++	port = htons(21);
++    if(port_string) {
++	sp = getservbyname(port_string, "tcp");
++	if(sp)
++	    port = sp->s_port;
++	else
++	    if(isdigit(port_string[0]))
++		port = htons(atoi(port_string));
++	    else
++		warnx("bad value for -p");
++    }
++		    
++    if (maxtimeout < ftpd_timeout)
++	maxtimeout = ftpd_timeout;
++
++#if 0
++    if (ftpd_timeout > maxtimeout)
++	ftpd_timeout = maxtimeout;
++#endif
++
++    if(interactive_flag)
++	mini_inetd (port);
++
++    /*
++     * LOG_NDELAY sets up the logging connection immediately,
++     * necessary for anonymous ftp's that chroot and can't do it later.
++     */
++    openlog("ftpd", LOG_PID | LOG_NDELAY, LOG_FTP);
++    his_addr_len = sizeof(his_addr_ss);
++    if (getpeername(STDIN_FILENO, his_addr, &his_addr_len) < 0) {
++	syslog(LOG_ERR, "getpeername (%s): %m",argv[0]);
++	exit(1);
++    }
++    ctrl_addr_len = sizeof(ctrl_addr_ss);
++    if (getsockname(STDIN_FILENO, ctrl_addr, &ctrl_addr_len) < 0) {
++	syslog(LOG_ERR, "getsockname (%s): %m",argv[0]);
++	exit(1);
++    }
++#if defined(IP_TOS) && defined(HAVE_SETSOCKOPT)
++    {
++	int tos = IPTOS_LOWDELAY;
++
++	if (setsockopt(STDIN_FILENO, IPPROTO_IP, IP_TOS,
++		       (void *)&tos, sizeof(int)) < 0)
++	    syslog(LOG_WARNING, "setsockopt (IP_TOS): %m");
++    }
++#endif
++    data_source->sa_family = ctrl_addr->sa_family;
++    socket_set_port (data_source,
++		     htons(ntohs(socket_get_port(ctrl_addr)) - 1));
++
++    /* set this here so it can be put in wtmp */
++    snprintf(ttyline, sizeof(ttyline), "ftp%u", (unsigned)getpid());
++
++
++    /*	freopen(_PATH_DEVNULL, "w", stderr); */
++    signal(SIGPIPE, lostconn);
++    signal(SIGCHLD, SIG_IGN);
++#ifdef SIGURG
++    if (signal(SIGURG, myoob) == SIG_ERR)
++	syslog(LOG_ERR, "signal: %m");
++#endif
++
++    /* Try to handle urgent data inline */
++#if defined(SO_OOBINLINE) && defined(HAVE_SETSOCKOPT)
++    if (setsockopt(0, SOL_SOCKET, SO_OOBINLINE, (void *)&on,
++		   sizeof(on)) < 0)
++	syslog(LOG_ERR, "setsockopt: %m");
++#endif
++
++#ifdef	F_SETOWN
++    if (fcntl(fileno(stdin), F_SETOWN, getpid()) == -1)
++	syslog(LOG_ERR, "fcntl F_SETOWN: %m");
++#endif
++    dolog(his_addr, his_addr_len);
++    /*
++     * Set up default state
++     */
++    data = -1;
++    type = TYPE_A;
++    form = FORM_N;
++    stru = STRU_F;
++    mode = MODE_S;
++    tmpline[0] = '\0';
++
++    /* If logins are disabled, print out the message. */
++    if(show_file(_PATH_NOLOGIN, 530) == 0) {
++	reply(530, "System not available.");
++	exit(0);
++    }
++    show_file(_PATH_FTPWELCOME, 220);
++    /* reply(220,) must follow */
++    gethostname(hostname, sizeof(hostname));
++	
++    reply(220, "%s FTP server (%s"
++#ifdef KRB5
++	  "+%s"
++#endif
++#ifdef KRB4
++	  "+%s"
++#endif
++	  ") ready.", hostname, version
++#ifdef KRB5
++	  ,heimdal_version
++#endif
++#ifdef KRB4
++	  ,krb4_version
++#endif
++	  );
++
++    setjmp(errcatch);
++    for (;;)
++	yyparse();
++    /* NOTREACHED */
++}
++
++static RETSIGTYPE
++lostconn(int signo)
++{
++
++	if (debug)
++		syslog(LOG_DEBUG, "lost connection");
++	dologout(-1);
++}
++
++/*
++ * Helper function for sgetpwnam().
++ */
++static char *
++sgetsave(char *s)
++{
++	char *new = strdup(s);
++
++	if (new == NULL) {
++		perror_reply(421, "Local resource failure: malloc");
++		dologout(1);
++		/* NOTREACHED */
++	}
++	return new;
++}
++
++/*
++ * Save the result of a getpwnam.  Used for USER command, since
++ * the data returned must not be clobbered by any other command
++ * (e.g., globbing).
++ */
++static struct passwd *
++sgetpwnam(char *name)
++{
++	static struct passwd save;
++	struct passwd *p;
++
++	if ((p = k_getpwnam(name)) == NULL)
++		return (p);
++	if (save.pw_name) {
++		free(save.pw_name);
++		free(save.pw_passwd);
++		free(save.pw_gecos);
++		free(save.pw_dir);
++		free(save.pw_shell);
++	}
++	save = *p;
++	save.pw_name = sgetsave(p->pw_name);
++	save.pw_passwd = sgetsave(p->pw_passwd);
++	save.pw_gecos = sgetsave(p->pw_gecos);
++	save.pw_dir = sgetsave(p->pw_dir);
++	save.pw_shell = sgetsave(p->pw_shell);
++	return (&save);
++}
++
++static int login_attempts;	/* number of failed login attempts */
++static int askpasswd;		/* had user command, ask for passwd */
++static char curname[10];	/* current USER name */
++#ifdef OTP
++OtpContext otp_ctx;
++#endif
++
++/*
++ * USER command.
++ * Sets global passwd pointer pw if named account exists and is acceptable;
++ * sets askpasswd if a PASS command is expected.  If logged in previously,
++ * need to reset state.  If name is "ftp" or "anonymous", the name is not in
++ * _PATH_FTPUSERS, and ftp account exists, set guest and pw, then just return.
++ * If account doesn't exist, ask for passwd anyway.  Otherwise, check user
++ * requesting login privileges.  Disallow anyone who does not have a standard
++ * shell as returned by getusershell().  Disallow anyone mentioned in the file
++ * _PATH_FTPUSERS to allow people such as root and uucp to be avoided.
++ */
++void
++user(char *name)
++{
++	char *cp, *shell;
++
++	if(auth_level == 0 && !sec_complete){
++	    reply(530, "No login allowed without authorization.");
++	    return;
++	}
++
++	if (logged_in) {
++		if (guest) {
++			reply(530, "Can't change user from guest login.");
++			return;
++		} else if (dochroot) {
++			reply(530, "Can't change user from chroot user.");
++			return;
++		}
++		end_login();
++	}
++
++	guest = 0;
++	if (strcmp(name, "ftp") == 0 || strcmp(name, "anonymous") == 0) {
++	    if ((auth_level & AUTH_FTP) == 0 ||
++		checkaccess("ftp") || 
++		checkaccess("anonymous"))
++		reply(530, "User %s access denied.", name);
++	    else if ((pw = sgetpwnam("ftp")) != NULL) {
++		guest = 1;
++		defumask = guest_umask;	/* paranoia for incoming */
++		askpasswd = 1;
++		reply(331, "Guest login ok, type your name as password.");
++	    } else
++		reply(530, "User %s unknown.", name);
++	    if (!askpasswd && logging) {
++		char data_addr[256];
++
++		if (inet_ntop (his_addr->sa_family,
++			       socket_get_address(his_addr),
++			       data_addr, sizeof(data_addr)) == NULL)
++			strlcpy (data_addr, "unknown address",
++					 sizeof(data_addr));
++
++		syslog(LOG_NOTICE,
++		       "ANONYMOUS FTP LOGIN REFUSED FROM %s(%s)",
++		       remotehost, data_addr);
++	    }
++	    return;
++	}
++	if((auth_level & AUTH_PLAIN) == 0 && !sec_complete){
++	    reply(530, "Only authorized and anonymous login allowed.");
++	    return;
++	}
++	if ((pw = sgetpwnam(name))) {
++		if ((shell = pw->pw_shell) == NULL || *shell == 0)
++			shell = _PATH_BSHELL;
++		while ((cp = getusershell()) != NULL)
++			if (strcmp(cp, shell) == 0)
++				break;
++		endusershell();
++
++		if (cp == NULL || checkaccess(name)) {
++			reply(530, "User %s access denied.", name);
++			if (logging) {
++				char data_addr[256];
++
++				if (inet_ntop (his_addr->sa_family,
++					       socket_get_address(his_addr),
++					       data_addr,
++					       sizeof(data_addr)) == NULL)
++					strlcpy (data_addr,
++							 "unknown address",
++							 sizeof(data_addr));
++
++				syslog(LOG_NOTICE,
++				       "FTP LOGIN REFUSED FROM %s(%s), %s",
++				       remotehost,
++				       data_addr,
++				       name);
++			}
++			pw = (struct passwd *) NULL;
++			return;
++		}
++	}
++	if (logging)
++	    strlcpy(curname, name, sizeof(curname));
++	if(sec_complete) {
++	    if(sec_userok(name) == 0)
++		do_login(232, name);
++	    else
++		reply(530, "User %s access denied.", name);
++	} else {
++		char ss[256];
++
++#ifdef OTP
++		if (otp_challenge(&otp_ctx, name, ss, sizeof(ss)) == 0) {
++			reply(331, "Password %s for %s required.",
++			      ss, name);
++			askpasswd = 1;
++		} else
++#endif
++		if ((auth_level & AUTH_OTP) == 0) {
++		    reply(331, "Password required for %s.", name);
++		    askpasswd = 1;
++		} else {
++		    char *s;
++		    
++#ifdef OTP
++		    if ((s = otp_error (&otp_ctx)) != NULL)
++			lreply(530, "OTP: %s", s);
++#endif
++		    reply(530,
++			  "Only authorized, anonymous"
++#ifdef OTP
++			  " and OTP "
++#endif
++			  "login allowed.");
++		}
++
++	}
++	/*
++	 * Delay before reading passwd after first failed
++	 * attempt to slow down passwd-guessing programs.
++	 */
++	if (login_attempts)
++		sleep(login_attempts);
++}
++
++/*
++ * Check if a user is in the file "fname"
++ */
++static int
++checkuser(char *fname, char *name)
++{
++	FILE *fd;
++	int found = 0;
++	char *p, line[BUFSIZ];
++
++	if ((fd = fopen(fname, "r")) != NULL) {
++		while (fgets(line, sizeof(line), fd) != NULL)
++			if ((p = strchr(line, '\n')) != NULL) {
++				*p = '\0';
++				if (line[0] == '#')
++					continue;
++				if (strcmp(line, name) == 0) {
++					found = 1;
++					break;
++				}
++			}
++		fclose(fd);
++	}
++	return (found);
++}
++
++
++/*
++ * Determine whether a user has access, based on information in 
++ * _PATH_FTPUSERS. The users are listed one per line, with `allow'
++ * or `deny' after the username. If anything other than `allow', or
++ * just nothing, is given after the username, `deny' is assumed.
++ *
++ * If the user is not found in the file, but the pseudo-user `*' is,
++ * the permission is taken from that line.
++ *
++ * This preserves the old semantics where if a user was listed in the
++ * file he was denied, otherwise he was allowed.
++ *
++ * Return 1 if the user is denied, or 0 if he is allowed.  */
++
++static int
++match(const char *pattern, const char *string)
++{
++    return fnmatch(pattern, string, FNM_NOESCAPE);
++}
++
++static int
++checkaccess(char *name)
++{
++#define ALLOWED		0
++#define	NOT_ALLOWED	1
++    FILE *fd;
++    int allowed = ALLOWED;
++    char *user, *perm, line[BUFSIZ];
++    char *foo;
++    
++    fd = fopen(_PATH_FTPUSERS, "r");
++    
++    if(fd == NULL)
++	return allowed;
++
++    while (fgets(line, sizeof(line), fd) != NULL)  {
++	foo = NULL;
++	user = strtok_r(line, " \t\n", &foo);
++	if (user == NULL || user[0] == '#')
++	    continue;
++	perm = strtok_r(NULL, " \t\n", &foo);
++	if (match(user, name) == 0){
++	    if(perm && strcmp(perm, "allow") == 0)
++		allowed = ALLOWED;
++	    else
++		allowed = NOT_ALLOWED;
++	    break;
++	}
++    }
++    fclose(fd);
++    return allowed;
++}
++#undef	ALLOWED
++#undef	NOT_ALLOWED
++
++
++int do_login(int code, char *passwd)
++{
++    login_attempts = 0;		/* this time successful */
++    if (setegid((gid_t)pw->pw_gid) < 0) {
++	reply(550, "Can't set gid.");
++	return -1;
++    }
++    initgroups(pw->pw_name, pw->pw_gid);
++
++    /* open wtmp before chroot */
++    ftpd_logwtmp(ttyline, pw->pw_name, remotehost);
++    logged_in = 1;
++
++    dochroot = checkuser(_PATH_FTPCHROOT, pw->pw_name);
++    if (guest) {
++	/*
++	 * We MUST do a chdir() after the chroot. Otherwise
++	 * the old current directory will be accessible as "."
++	 * outside the new root!
++	 */
++	if (chroot(pw->pw_dir) < 0 || chdir("/") < 0) {
++	    reply(550, "Can't set guest privileges.");
++	    return -1;
++	}
++    } else if (dochroot) {
++	if (chroot(pw->pw_dir) < 0 || chdir("/") < 0) {
++	    reply(550, "Can't change root.");
++	    return -1;
++	}
++    } else if (chdir(pw->pw_dir) < 0) {
++	if (chdir("/") < 0) {
++	    reply(530, "User %s: can't change directory to %s.",
++		  pw->pw_name, pw->pw_dir);
++	    return -1;
++	} else
++	    lreply(code, "No directory! Logging in with home=/");
++    }
++    if (seteuid((uid_t)pw->pw_uid) < 0) {
++	reply(550, "Can't set uid.");
++	return -1;
++    }
++
++    if(use_builtin_ls == -1) {
++	struct stat st;
++	/* if /bin/ls exist and is a regular file, use it, otherwise
++           use built-in ls */
++	if(stat("/bin/ls", &st) == 0 &&
++	   S_ISREG(st.st_mode))
++	    use_builtin_ls = 0;
++	else
++	    use_builtin_ls = 1;
++    }
++
++    /*
++     * Display a login message, if it exists.
++     * N.B. reply(code,) must follow the message.
++     */
++    show_file(_PATH_FTPLOGINMESG, code);
++    if(show_file(_PATH_ISSUE_NET, code) != 0)
++	show_file(_PATH_ISSUE, code);
++    if (guest) {
++	reply(code, "Guest login ok, access restrictions apply.");
++#ifdef HAVE_SETPROCTITLE
++	snprintf (proctitle, sizeof(proctitle),
++		  "%s: anonymous/%s",
++		  remotehost,
++		  passwd);
++	setproctitle("%s", proctitle);
++#endif /* HAVE_SETPROCTITLE */
++	if (logging) {
++	    char data_addr[256];
++
++	    if (inet_ntop (his_addr->sa_family,
++			   socket_get_address(his_addr),
++			   data_addr, sizeof(data_addr)) == NULL)
++		strlcpy (data_addr, "unknown address",
++				 sizeof(data_addr));
++
++	    syslog(LOG_INFO, "ANONYMOUS FTP LOGIN FROM %s(%s), %s",
++		   remotehost, 
++		   data_addr,
++		   passwd);
++	}
++    } else {
++	reply(code, "User %s logged in.", pw->pw_name);
++#ifdef HAVE_SETPROCTITLE
++	snprintf(proctitle, sizeof(proctitle), "%s: %s", remotehost, pw->pw_name);
++	setproctitle("%s", proctitle);
++#endif /* HAVE_SETPROCTITLE */
++	if (logging) {
++	    char data_addr[256];
++
++	    if (inet_ntop (his_addr->sa_family,
++			   socket_get_address(his_addr),
++			   data_addr, sizeof(data_addr)) == NULL)
++		strlcpy (data_addr, "unknown address",
++				 sizeof(data_addr));
++
++	    syslog(LOG_INFO, "FTP LOGIN FROM %s(%s) as %s",
++		   remotehost,
++		   data_addr,
++		   pw->pw_name);
++	}
++    }
++    umask(defumask);
++    return 0;
++}
++
++/*
++ * Terminate login as previous user, if any, resetting state;
++ * used when USER command is given or login fails.
++ */
++static void
++end_login(void)
++{
++
++	seteuid((uid_t)0);
++	if (logged_in)
++		ftpd_logwtmp(ttyline, "", "");
++	pw = NULL;
++	logged_in = 0;
++	guest = 0;
++	dochroot = 0;
++}
++
++#ifdef KRB5
++static int
++krb5_verify(struct passwd *pwd, char *passwd)
++{
++   krb5_context context;  
++   krb5_ccache  id;
++   krb5_principal princ;
++   krb5_error_code ret;
++  
++   ret = krb5_init_context(&context);
++   if(ret)
++        return ret;
++
++  ret = krb5_parse_name(context, pwd->pw_name, &princ);
++  if(ret){
++        krb5_free_context(context);
++        return ret;
++  }
++  ret = krb5_cc_gen_new(context, &krb5_mcc_ops, &id);
++  if(ret){
++        krb5_free_principal(context, princ);
++        krb5_free_context(context);
++        return ret;
++  }
++  ret = krb5_verify_user(context,
++                         princ,
++                         id,
++                         passwd,
++                         1,
++                         NULL);
++  krb5_free_principal(context, princ);
++#ifdef KRB4
++  if (k_hasafs()) {
++      k_setpag();
++      krb5_afslog_uid_home(context, id,NULL, NULL,pwd->pw_uid, pwd->pw_dir);
++  }
++#endif /* KRB4 */
++  krb5_cc_destroy(context, id);
++  krb5_free_context (context);
++  if(ret) 
++      return ret;
++  return 0;
++}
++#endif /* KRB5 */
++
++void
++pass(char *passwd)
++{
++	int rval;
++
++	/* some clients insists on sending a password */
++	if (logged_in && askpasswd == 0){
++	    reply(230, "Password not necessary");
++	    return;
++	}
++
++	if (logged_in || askpasswd == 0) {
++		reply(503, "Login with USER first.");
++		return;
++	}
++	askpasswd = 0;
++	rval = 1;
++	if (!guest) {		/* "ftp" is only account allowed no password */
++		if (pw == NULL)
++			rval = 1;	/* failure below */
++#ifdef OTP
++		else if (otp_verify_user (&otp_ctx, passwd) == 0) {
++		    rval = 0;
++		}
++#endif
++		else if((auth_level & AUTH_OTP) == 0) {
++#ifdef KRB5
++		    rval = krb5_verify(pw, passwd);
++#endif
++#ifdef KRB4
++		    if (rval) {
++			char realm[REALM_SZ];
++			if((rval = krb_get_lrealm(realm, 1)) == KSUCCESS)
++			    rval = krb_verify_user(pw->pw_name,
++						   "", realm, 
++						   passwd, 
++						   KRB_VERIFY_SECURE, NULL);
++			if (rval == KSUCCESS ) {
++			    chown (tkt_string(), pw->pw_uid, pw->pw_gid);
++			    if(k_hasafs())
++				krb_afslog(0, 0);
++			}
++		    }
++#endif
++		    if (rval)
++			rval = unix_verify_user(pw->pw_name, passwd);
++		} else {
++		    char *s;
++		    
++#ifdef OTP
++		    if ((s = otp_error(&otp_ctx)) != NULL)
++			lreply(530, "OTP: %s", s);
++#endif
++		}
++		memset (passwd, 0, strlen(passwd));
++
++		/*
++		 * If rval == 1, the user failed the authentication
++		 * check above.  If rval == 0, either Kerberos or
++		 * local authentication succeeded.
++		 */
++		if (rval) {
++			char data_addr[256];
++
++			if (inet_ntop (his_addr->sa_family,
++				       socket_get_address(his_addr),
++				       data_addr, sizeof(data_addr)) == NULL)
++				strlcpy (data_addr, "unknown address",
++						 sizeof(data_addr));
++
++			reply(530, "Login incorrect.");
++			if (logging)
++				syslog(LOG_NOTICE,
++				    "FTP LOGIN FAILED FROM %s(%s), %s",
++				       remotehost,
++				       data_addr,
++				       curname);
++			pw = NULL;
++			if (login_attempts++ >= 5) {
++				syslog(LOG_NOTICE,
++				       "repeated login failures from %s(%s)",
++				       remotehost,
++				       data_addr);
++				exit(0);
++			}
++			return;
++		}
++	}
++	if(!do_login(230, passwd))
++	  return;
++	
++	/* Forget all about it... */
++	end_login();
++}
++
++void
++retrieve(const char *cmd, char *name)
++{
++	FILE *fin = NULL, *dout;
++	struct stat st;
++	int (*closefunc) (FILE *);
++	char line[BUFSIZ];
++
++
++	if (cmd == 0) {
++		fin = fopen(name, "r");
++		closefunc = fclose;
++		st.st_size = 0;
++		if(fin == NULL){
++		    int save_errno = errno;
++		    struct cmds {
++			const char *ext;
++			const char *cmd;
++		        const char *rev_cmd;
++		    } cmds[] = {
++			{".tar", "/bin/gtar cPf - %s", NULL},
++			{".tar.gz", "/bin/gtar zcPf - %s", NULL},
++			{".tar.Z", "/bin/gtar ZcPf - %s", NULL},
++			{".gz", "/bin/gzip -c -- %s", "/bin/gzip -c -d -- %s"},
++			{".Z", "/bin/compress -c -- %s", "/bin/uncompress -c -- %s"},
++			{NULL, NULL}
++		    };
++		    struct cmds *p;
++		    for(p = cmds; p->ext; p++){
++			char *tail = name + strlen(name) - strlen(p->ext);
++			char c = *tail;
++			
++			if(strcmp(tail, p->ext) == 0 &&
++			   (*tail  = 0) == 0 &&
++			   access(name, R_OK) == 0){
++			    snprintf (line, sizeof(line), p->cmd, name);
++			    *tail  = c;
++			    break;
++			}
++			*tail = c;
++			if (p->rev_cmd != NULL) {
++			    char *ext;
++
++			    asprintf(&ext, "%s%s", name, p->ext);
++			    if (ext != NULL) { 
++  			        if (access(ext, R_OK) == 0) {
++				    snprintf (line, sizeof(line),
++					      p->rev_cmd, ext);
++				    free(ext);
++				    break;
++				}
++			        free(ext);
++			    }
++			}
++			
++		    }
++		    if(p->ext){
++			fin = ftpd_popen(line, "r", 0, 0);
++			closefunc = ftpd_pclose;
++			st.st_size = -1;
++			cmd = line;
++		    } else
++			errno = save_errno;
++		}
++	} else {
++		snprintf(line, sizeof(line), cmd, name);
++		name = line;
++		fin = ftpd_popen(line, "r", 1, 0);
++		closefunc = ftpd_pclose;
++		st.st_size = -1;
++	}
++	if (fin == NULL) {
++		if (errno != 0) {
++			perror_reply(550, name);
++			if (cmd == 0) {
++				LOGCMD("get", name);
++			}
++		}
++		return;
++	}
++	byte_count = -1;
++	if (cmd == 0){
++	    if(fstat(fileno(fin), &st) < 0 || !S_ISREG(st.st_mode)) {
++		reply(550, "%s: not a plain file.", name);
++		goto done;
++	    }
++	}
++	if (restart_point) {
++		if (type == TYPE_A) {
++			off_t i, n;
++			int c;
++
++			n = restart_point;
++			i = 0;
++			while (i++ < n) {
++				if ((c=getc(fin)) == EOF) {
++					perror_reply(550, name);
++					goto done;
++				}
++				if (c == '\n')
++					i++;
++			}
++		} else if (lseek(fileno(fin), restart_point, SEEK_SET) < 0) {
++			perror_reply(550, name);
++			goto done;
++		}
++	}
++	dout = dataconn(name, st.st_size, "w");
++	if (dout == NULL)
++		goto done;
++	set_buffer_size(fileno(dout), 0);
++	send_data(fin, dout);
++	fclose(dout);
++	data = -1;
++	pdata = -1;
++done:
++	if (cmd == 0)
++		LOGBYTES("get", name, byte_count);
++	(*closefunc)(fin);
++}
++
++/* filename sanity check */
++
++int 
++filename_check(char *filename)
++{
++    char *p;
++
++    p = strrchr(filename, '/');
++    if(p)
++	filename = p + 1;
++
++    p = filename;
++
++    if(isalnum(*p)){
++	p++;
++	while(*p && (isalnum(*p) || strchr(good_chars, *p)))
++	    p++;
++	if(*p == '\0')
++	    return 0;
++    }
++    lreply(553, "\"%s\" is not an acceptable filename.", filename);
++    lreply(553, "The filename must start with an alphanumeric "
++	   "character and must only");
++    reply(553, "consist of alphanumeric characters or any of the following: %s", 
++	  good_chars);
++    return 1;
++}
++
++void
++do_store(char *name, char *mode, int unique)
++{
++	FILE *fout, *din;
++	struct stat st;
++	int (*closefunc) (FILE *);
++
++	if(guest && filename_check(name))
++	    return;
++	if (unique && stat(name, &st) == 0 &&
++	    (name = gunique(name)) == NULL) {
++		LOGCMD(*mode == 'w' ? "put" : "append", name);
++		return;
++	}
++
++	if (restart_point)
++		mode = "r+";
++	fout = fopen(name, mode);
++	closefunc = fclose;
++	if (fout == NULL) {
++		perror_reply(553, name);
++		LOGCMD(*mode == 'w' ? "put" : "append", name);
++		return;
++	}
++	byte_count = -1;
++	if (restart_point) {
++		if (type == TYPE_A) {
++			off_t i, n;
++			int c;
++
++			n = restart_point;
++			i = 0;
++			while (i++ < n) {
++				if ((c=getc(fout)) == EOF) {
++					perror_reply(550, name);
++					goto done;
++				}
++				if (c == '\n')
++					i++;
++			}
++			/*
++			 * We must do this seek to "current" position
++			 * because we are changing from reading to
++			 * writing.
++			 */
++			if (fseek(fout, 0L, SEEK_CUR) < 0) {
++				perror_reply(550, name);
++				goto done;
++			}
++		} else if (lseek(fileno(fout), restart_point, SEEK_SET) < 0) {
++			perror_reply(550, name);
++			goto done;
++		}
++	}
++	din = dataconn(name, (off_t)-1, "r");
++	if (din == NULL)
++		goto done;
++	set_buffer_size(fileno(din), 1);
++	if (receive_data(din, fout) == 0) {
++	    if((*closefunc)(fout) < 0)
++		perror_reply(552, name);
++	    else {
++		if (unique)
++			reply(226, "Transfer complete (unique file name:%s).",
++			    name);
++		else
++			reply(226, "Transfer complete.");
++	    }
++	} else
++	    (*closefunc)(fout);
++	fclose(din);
++	data = -1;
++	pdata = -1;
++done:
++	LOGBYTES(*mode == 'w' ? "put" : "append", name, byte_count);
++}
++
++static FILE *
++getdatasock(const char *mode)
++{
++	int s, t, tries;
++
++	if (data >= 0)
++		return (fdopen(data, mode));
++	seteuid(0);
++	s = socket(ctrl_addr->sa_family, SOCK_STREAM, 0);
++	if (s < 0)
++		goto bad;
++	socket_set_reuseaddr (s, 1);
++	/* anchor socket to avoid multi-homing problems */
++	socket_set_address_and_port (data_source,
++				     socket_get_address (ctrl_addr),
++				     socket_get_port (data_source));
++
++	for (tries = 1; ; tries++) {
++		if (bind(s, data_source,
++			 socket_sockaddr_size (data_source)) >= 0)
++			break;
++		if (errno != EADDRINUSE || tries > 10)
++			goto bad;
++		sleep(tries);
++	}
++	seteuid(pw->pw_uid);
++#ifdef IPTOS_THROUGHPUT
++	socket_set_tos (s, IPTOS_THROUGHPUT);
++#endif
++	return (fdopen(s, mode));
++bad:
++	/* Return the real value of errno (close may change it) */
++	t = errno;
++	seteuid((uid_t)pw->pw_uid);
++	close(s);
++	errno = t;
++	return (NULL);
++}
++
++static int
++accept_with_timeout(int socket, 
++		    struct sockaddr *address,
++		    size_t *address_len,
++		    struct timeval *timeout)
++{
++    int ret;
++    fd_set rfd;
++    FD_ZERO(&rfd);
++    FD_SET(socket, &rfd);
++    ret = select(socket + 1, &rfd, NULL, NULL, timeout);
++    if(ret < 0)
++	return ret;
++    if(ret == 0) {
++	errno = ETIMEDOUT;
++	return -1;
++    }
++    return accept(socket, address, address_len);
++}
++
++static FILE *
++dataconn(const char *name, off_t size, const char *mode)
++{
++	char sizebuf[32];
++	FILE *file;
++	int retry = 0;
++
++	file_size = size;
++	byte_count = 0;
++	if (size >= 0)
++	    snprintf(sizebuf, sizeof(sizebuf), " (%ld bytes)", (long)size);
++	else
++	    *sizebuf = '\0';
++	if (pdata >= 0) {
++		struct sockaddr_storage from_ss;
++		struct sockaddr *from = (struct sockaddr *)&from_ss;
++		struct timeval timeout;
++		int s;
++		socklen_t fromlen = sizeof(from_ss);
++
++		timeout.tv_sec = 15;
++		timeout.tv_usec = 0;
++		s = accept_with_timeout(pdata, from, &fromlen, &timeout);
++		if (s < 0) {
++			reply(425, "Can't open data connection.");
++			close(pdata);
++			pdata = -1;
++			return (NULL);
++		}
++		close(pdata);
++		pdata = s;
++#if defined(IP_TOS) && defined(HAVE_SETSOCKOPT)
++		{
++		    int tos = IPTOS_THROUGHPUT;
++		    
++		    setsockopt(s, IPPROTO_IP, IP_TOS, (void *)&tos,
++			       sizeof(tos));
++		}
++#endif
++		reply(150, "Opening %s mode data connection for '%s'%s.",
++		     type == TYPE_A ? "ASCII" : "BINARY", name, sizebuf);
++		return (fdopen(pdata, mode));
++	}
++	if (data >= 0) {
++		reply(125, "Using existing data connection for '%s'%s.",
++		    name, sizebuf);
++		usedefault = 1;
++		return (fdopen(data, mode));
++	}
++	if (usedefault)
++		data_dest = his_addr;
++	usedefault = 1;
++	file = getdatasock(mode);
++	if (file == NULL) {
++		char data_addr[256];
++
++		if (inet_ntop (data_source->sa_family,
++			       socket_get_address(data_source),
++			       data_addr, sizeof(data_addr)) == NULL)
++			strlcpy (data_addr, "unknown address",
++					 sizeof(data_addr));
++
++		reply(425, "Can't create data socket (%s,%d): %s.",
++		      data_addr,
++		      socket_get_port (data_source),
++		      strerror(errno));
++		return (NULL);
++	}
++	data = fileno(file);
++	while (connect(data, data_dest,
++		       socket_sockaddr_size(data_dest)) < 0) {
++		if (errno == EADDRINUSE && retry < swaitmax) {
++			sleep(swaitint);
++			retry += swaitint;
++			continue;
++		}
++		perror_reply(425, "Can't build data connection");
++		fclose(file);
++		data = -1;
++		return (NULL);
++	}
++	reply(150, "Opening %s mode data connection for '%s'%s.",
++	     type == TYPE_A ? "ASCII" : "BINARY", name, sizebuf);
++	return (file);
++}
++
++/*
++ * Tranfer the contents of "instr" to "outstr" peer using the appropriate
++ * encapsulation of the data subject * to Mode, Structure, and Type.
++ *
++ * NB: Form isn't handled.
++ */
++static void
++send_data(FILE *instr, FILE *outstr)
++{
++	int c, cnt, filefd, netfd;
++	static char *buf;
++	static size_t bufsize;
++
++	transflag++;
++	if (setjmp(urgcatch)) {
++		transflag = 0;
++		return;
++	}
++	switch (type) {
++
++	case TYPE_A:
++	    while ((c = getc(instr)) != EOF) {
++		byte_count++;
++		if(c == '\n')
++		    sec_putc('\r', outstr);
++		sec_putc(c, outstr);
++	    }
++	    sec_fflush(outstr);
++	    transflag = 0;
++	    if (ferror(instr))
++		goto file_err;
++	    if (ferror(outstr))
++		goto data_err;
++	    reply(226, "Transfer complete.");
++	    return;
++		
++	case TYPE_I:
++	case TYPE_L:
++#if defined(HAVE_MMAP) && !defined(NO_MMAP)
++#ifndef MAP_FAILED
++#define MAP_FAILED (-1)
++#endif
++	    {
++		struct stat st;
++		char *chunk;
++		int in = fileno(instr);
++		if(fstat(in, &st) == 0 && S_ISREG(st.st_mode) 
++		   && st.st_size > 0) {
++		    /*
++		     * mmap zero bytes has potential of loosing, don't do it.
++		     */
++		    chunk = mmap(0, st.st_size, PROT_READ,
++				 MAP_SHARED, in, 0);
++		    if((void *)chunk != (void *)MAP_FAILED) {
++			cnt = st.st_size - restart_point;
++			sec_write(fileno(outstr), chunk + restart_point, cnt);
++			if (munmap(chunk, st.st_size) < 0)
++			    warn ("munmap");
++			sec_fflush(outstr);
++			byte_count = cnt;
++			transflag = 0;
++		    }
++		}
++	    }
++#endif
++	if(transflag) {
++	    struct stat st;
++
++	    netfd = fileno(outstr);
++	    filefd = fileno(instr);
++	    buf = alloc_buffer (buf, &bufsize,
++				fstat(filefd, &st) >= 0 ? &st : NULL);
++	    if (buf == NULL) {
++		transflag = 0;
++		perror_reply(451, "Local resource failure: malloc");
++		return;
++	    }
++	    while ((cnt = read(filefd, buf, bufsize)) > 0 &&
++		   sec_write(netfd, buf, cnt) == cnt)
++		byte_count += cnt;
++	    sec_fflush(outstr); /* to end an encrypted stream */
++	    transflag = 0;
++	    if (cnt != 0) {
++		if (cnt < 0)
++		    goto file_err;
++		goto data_err;
++	    }
++	}
++	reply(226, "Transfer complete.");
++	return;
++	default:
++	    transflag = 0;
++	    reply(550, "Unimplemented TYPE %d in send_data", type);
++	    return;
++	}
++
++data_err:
++	transflag = 0;
++	perror_reply(426, "Data connection");
++	return;
++
++file_err:
++	transflag = 0;
++	perror_reply(551, "Error on input file");
++}
++
++/*
++ * Transfer data from peer to "outstr" using the appropriate encapulation of
++ * the data subject to Mode, Structure, and Type.
++ *
++ * N.B.: Form isn't handled.
++ */
++static int
++receive_data(FILE *instr, FILE *outstr)
++{
++    int cnt, bare_lfs = 0;
++    static char *buf;
++    static size_t bufsize;
++    struct stat st;
++
++    transflag++;
++    if (setjmp(urgcatch)) {
++	transflag = 0;
++	return (-1);
++    }
++
++    buf = alloc_buffer (buf, &bufsize,
++			fstat(fileno(outstr), &st) >= 0 ? &st : NULL);
++    if (buf == NULL) {
++	transflag = 0;
++	perror_reply(451, "Local resource failure: malloc");
++	return -1;
++    }
++    
++    switch (type) {
++
++    case TYPE_I:
++    case TYPE_L:
++	while ((cnt = sec_read(fileno(instr), buf, bufsize)) > 0) {
++	    if (write(fileno(outstr), buf, cnt) != cnt)
++		goto file_err;
++	    byte_count += cnt;
++	}
++	if (cnt < 0)
++	    goto data_err;
++	transflag = 0;
++	return (0);
++
++    case TYPE_E:
++	reply(553, "TYPE E not implemented.");
++	transflag = 0;
++	return (-1);
++
++    case TYPE_A:
++    {
++	char *p, *q;
++	int cr_flag = 0;
++	while ((cnt = sec_read(fileno(instr),
++				buf + cr_flag, 
++				bufsize - cr_flag)) > 0){
++	    byte_count += cnt;
++	    cnt += cr_flag;
++	    cr_flag = 0;
++	    for(p = buf, q = buf; p < buf + cnt;) {
++		if(*p == '\n')
++		    bare_lfs++;
++		if(*p == '\r') {
++		    if(p == buf + cnt - 1){
++			cr_flag = 1;
++			p++;
++			continue;
++		    }else if(p[1] == '\n'){
++			*q++ = '\n';
++			p += 2;
++			continue;
++		    }
++		}
++		*q++ = *p++;
++	    }
++	    fwrite(buf, q - buf, 1, outstr);
++	    if(cr_flag)
++		buf[0] = '\r';
++	}
++	if(cr_flag)
++	    putc('\r', outstr);
++	fflush(outstr);
++	if (ferror(instr))
++	    goto data_err;
++	if (ferror(outstr))
++	    goto file_err;
++	transflag = 0;
++	if (bare_lfs) {
++	    lreply(226, "WARNING! %d bare linefeeds received in ASCII mode\r\n"
++		   "    File may not have transferred correctly.\r\n",
++		   bare_lfs);
++	}
++	return (0);
++    }
++    default:
++	reply(550, "Unimplemented TYPE %d in receive_data", type);
++	transflag = 0;
++	return (-1);
++    }
++	
++data_err:
++    transflag = 0;
++    perror_reply(426, "Data Connection");
++    return (-1);
++	
++file_err:
++    transflag = 0;
++    perror_reply(452, "Error writing file");
++    return (-1);
++}
++
++void
++statfilecmd(char *filename)
++{
++	FILE *fin;
++	int c;
++	char line[LINE_MAX];
++
++	snprintf(line, sizeof(line), "/bin/ls -la -- %s", filename);
++	fin = ftpd_popen(line, "r", 1, 0);
++	lreply(211, "status of %s:", filename);
++	while ((c = getc(fin)) != EOF) {
++		if (c == '\n') {
++			if (ferror(stdout)){
++				perror_reply(421, "control connection");
++				ftpd_pclose(fin);
++				dologout(1);
++				/* NOTREACHED */
++			}
++			if (ferror(fin)) {
++				perror_reply(551, filename);
++				ftpd_pclose(fin);
++				return;
++			}
++			putc('\r', stdout);
++		}
++		putc(c, stdout);
++	}
++	ftpd_pclose(fin);
++	reply(211, "End of Status");
++}
++
++void
++statcmd(void)
++{
++#if 0
++	struct sockaddr_in *sin;
++	u_char *a, *p;
++
++	lreply(211, "%s FTP server (%s) status:", hostname, version);
++	printf("     %s\r\n", version);
++	printf("     Connected to %s", remotehost);
++	if (!isdigit(remotehost[0]))
++		printf(" (%s)", inet_ntoa(his_addr.sin_addr));
++	printf("\r\n");
++	if (logged_in) {
++		if (guest)
++			printf("     Logged in anonymously\r\n");
++		else
++			printf("     Logged in as %s\r\n", pw->pw_name);
++	} else if (askpasswd)
++		printf("     Waiting for password\r\n");
++	else
++		printf("     Waiting for user name\r\n");
++	printf("     TYPE: %s", typenames[type]);
++	if (type == TYPE_A || type == TYPE_E)
++		printf(", FORM: %s", formnames[form]);
++	if (type == TYPE_L)
++#if NBBY == 8
++		printf(" %d", NBBY);
++#else
++		printf(" %d", bytesize);	/* need definition! */
++#endif
++	printf("; STRUcture: %s; transfer MODE: %s\r\n",
++	    strunames[stru], modenames[mode]);
++	if (data != -1)
++		printf("     Data connection open\r\n");
++	else if (pdata != -1) {
++		printf("     in Passive mode");
++		sin = &pasv_addr;
++		goto printaddr;
++	} else if (usedefault == 0) {
++		printf("     PORT");
++		sin = &data_dest;
++printaddr:
++		a = (u_char *) &sin->sin_addr;
++		p = (u_char *) &sin->sin_port;
++#define UC(b) (((int) b) & 0xff)
++		printf(" (%d,%d,%d,%d,%d,%d)\r\n", UC(a[0]),
++			UC(a[1]), UC(a[2]), UC(a[3]), UC(p[0]), UC(p[1]));
++#undef UC
++	} else
++		printf("     No data connection\r\n");
++#endif
++	reply(211, "End of status");
++}
++
++void
++fatal(char *s)
++{
++
++	reply(451, "Error in server: %s\n", s);
++	reply(221, "Closing connection due to server error.");
++	dologout(0);
++	/* NOTREACHED */
++}
++
++static void
++int_reply(int, char *, const char *, va_list)
++#ifdef __GNUC__
++__attribute__ ((format (printf, 3, 0)))
++#endif
++;
++
++static void
++int_reply(int n, char *c, const char *fmt, va_list ap)
++{
++    char buf[10240];
++    char *p;
++    p=buf;
++    if(n){
++	snprintf(p, sizeof(buf), "%d%s", n, c);
++	p+=strlen(p);
++    }
++    vsnprintf(p, sizeof(buf) - strlen(p), fmt, ap);
++    p+=strlen(p);
++    snprintf(p, sizeof(buf) - strlen(p), "\r\n");
++    p+=strlen(p);
++    sec_fprintf(stdout, "%s", buf);
++    fflush(stdout);
++    if (debug)
++	syslog(LOG_DEBUG, "<--- %s- ", buf);
++}
++
++void
++reply(int n, const char *fmt, ...)
++{
++  va_list ap;
++  va_start(ap, fmt);
++  int_reply(n, " ", fmt, ap);
++  delete_ftp_command();
++  va_end(ap);
++}
++
++void
++lreply(int n, const char *fmt, ...)
++{
++  va_list ap;
++  va_start(ap, fmt);
++  int_reply(n, "-", fmt, ap);
++  va_end(ap);
++}
++
++void
++nreply(const char *fmt, ...)
++{
++  va_list ap;
++  va_start(ap, fmt);
++  int_reply(0, NULL, fmt, ap);
++  va_end(ap);
++}
++
++static void
++ack(char *s)
++{
++
++	reply(250, "%s command successful.", s);
++}
++
++void
++nack(char *s)
++{
++
++	reply(502, "%s command not implemented.", s);
++}
++
++/* ARGSUSED */
++void
++yyerror(char *s)
++{
++	char *cp;
++
++	if ((cp = strchr(cbuf,'\n')))
++		*cp = '\0';
++	reply(500, "'%s': command not understood.", cbuf);
++}
++
++void
++do_delete(char *name)
++{
++	struct stat st;
++
++	LOGCMD("delete", name);
++	if (stat(name, &st) < 0) {
++		perror_reply(550, name);
++		return;
++	}
++	if ((st.st_mode&S_IFMT) == S_IFDIR) {
++		if (rmdir(name) < 0) {
++			perror_reply(550, name);
++			return;
++		}
++		goto done;
++	}
++	if (unlink(name) < 0) {
++		perror_reply(550, name);
++		return;
++	}
++done:
++	ack("DELE");
++}
++
++void
++cwd(char *path)
++{
++
++	if (chdir(path) < 0)
++		perror_reply(550, path);
++	else
++		ack("CWD");
++}
++
++void
++makedir(char *name)
++{
++
++	LOGCMD("mkdir", name);
++	if(guest && filename_check(name))
++	    return;
++	if (mkdir(name, 0777) < 0)
++		perror_reply(550, name);
++	else{
++	    if(guest)
++		chmod(name, 0700); /* guest has umask 777 */
++	    reply(257, "MKD command successful.");
++	}
++}
++
++void
++removedir(char *name)
++{
++
++	LOGCMD("rmdir", name);
++	if (rmdir(name) < 0)
++		perror_reply(550, name);
++	else
++		ack("RMD");
++}
++
++void
++pwd(void)
++{
++    char path[MaxPathLen];
++    char *ret;
++
++    /* SunOS has a broken getcwd that does popen(pwd) (!!!), this
++     * failes miserably when running chroot 
++     */
++    ret = getcwd(path, sizeof(path));
++    if (ret == NULL)
++	reply(550, "%s.", strerror(errno));
++    else
++	reply(257, "\"%s\" is current directory.", path);
++}
++
++char *
++renamefrom(char *name)
++{
++	struct stat st;
++
++	if (stat(name, &st) < 0) {
++		perror_reply(550, name);
++		return NULL;
++	}
++	reply(350, "File exists, ready for destination name");
++	return (name);
++}
++
++void
++renamecmd(char *from, char *to)
++{
++
++	LOGCMD2("rename", from, to);
++	if(guest && filename_check(to))
++	    return;
++	if (rename(from, to) < 0)
++		perror_reply(550, "rename");
++	else
++		ack("RNTO");
++}
++
++static void
++dolog(struct sockaddr *sa, int len)
++{
++	getnameinfo_verified (sa, len, remotehost, sizeof(remotehost),
++			      NULL, 0, 0);
++#ifdef HAVE_SETPROCTITLE
++	snprintf(proctitle, sizeof(proctitle), "%s: connected", remotehost);
++	setproctitle("%s", proctitle);
++#endif /* HAVE_SETPROCTITLE */
++
++	if (logging) {
++		char data_addr[256];
++
++		if (inet_ntop (his_addr->sa_family,
++			       socket_get_address(his_addr),
++			       data_addr, sizeof(data_addr)) == NULL)
++			strlcpy (data_addr, "unknown address",
++					 sizeof(data_addr));
++
++
++		syslog(LOG_INFO, "connection from %s(%s)",
++		       remotehost,
++		       data_addr);
++	}
++}
++
++/*
++ * Record logout in wtmp file
++ * and exit with supplied status.
++ */
++void
++dologout(int status)
++{
++    transflag = 0;
++    if (logged_in) {
++	seteuid((uid_t)0);
++	ftpd_logwtmp(ttyline, "", "");
++#ifdef KRB4
++	cond_kdestroy();
++#endif
++    }
++    /* beware of flushing buffers after a SIGPIPE */
++#ifdef XXX
++    exit(status);
++#else
++    _exit(status);
++#endif	
++}
++
++void abor(void)
++{
++}
++
++static void
++myoob(int signo)
++{
++#if 0
++	char *cp;
++#endif
++
++	/* only process if transfer occurring */
++	if (!transflag)
++		return;
++
++	/* This is all XXX */
++	oobflag = 1;
++	/* if the command resulted in a new command, 
++	   parse that as well */
++	do{
++	    yyparse();
++	} while(ftp_command);
++	oobflag = 0;
++
++#if 0 
++	cp = tmpline;
++	if (ftpd_getline(cp, 7) == NULL) {
++		reply(221, "You could at least say goodbye.");
++		dologout(0);
++	}
++	upper(cp);
++	if (strcmp(cp, "ABOR\r\n") == 0) {
++		tmpline[0] = '\0';
++		reply(426, "Transfer aborted. Data connection closed.");
++		reply(226, "Abort successful");
++		longjmp(urgcatch, 1);
++	}
++	if (strcmp(cp, "STAT\r\n") == 0) {
++		if (file_size != (off_t) -1)
++			reply(213, "Status: %ld of %ld bytes transferred",
++			      (long)byte_count,
++			      (long)file_size);
++		else
++			reply(213, "Status: %ld bytes transferred"
++			      (long)byte_count);
++	}
++#endif
++}
++
++/*
++ * Note: a response of 425 is not mentioned as a possible response to
++ *	the PASV command in RFC959. However, it has been blessed as
++ *	a legitimate response by Jon Postel in a telephone conversation
++ *	with Rick Adams on 25 Jan 89.
++ */
++void
++pasv(void)
++{
++	socklen_t len;
++	char *p, *a;
++	struct sockaddr_in *sin;
++
++	if (ctrl_addr->sa_family != AF_INET) {
++		reply(425,
++		      "You cannot do PASV with something that's not IPv4");
++		return;
++	}
++
++	if(pdata != -1)
++	    close(pdata);
++
++	pdata = socket(ctrl_addr->sa_family, SOCK_STREAM, 0);
++	if (pdata < 0) {
++		perror_reply(425, "Can't open passive connection");
++		return;
++	}
++	pasv_addr->sa_family = ctrl_addr->sa_family;
++	socket_set_address_and_port (pasv_addr,
++				     socket_get_address (ctrl_addr),
++				     0);
++	socket_set_portrange(pdata, restricted_data_ports, 
++	    pasv_addr->sa_family); 
++	seteuid(0);
++	if (bind(pdata, pasv_addr, socket_sockaddr_size (pasv_addr)) < 0) {
++		seteuid(pw->pw_uid);
++		goto pasv_error;
++	}
++	seteuid(pw->pw_uid);
++	len = sizeof(pasv_addr_ss);
++	if (getsockname(pdata, pasv_addr, &len) < 0)
++		goto pasv_error;
++	if (listen(pdata, 1) < 0)
++		goto pasv_error;
++	sin = (struct sockaddr_in *)pasv_addr;
++	a = (char *) &sin->sin_addr;
++	p = (char *) &sin->sin_port;
++
++#define UC(b) (((int) b) & 0xff)
++
++	reply(227, "Entering Passive Mode (%d,%d,%d,%d,%d,%d)", UC(a[0]),
++		UC(a[1]), UC(a[2]), UC(a[3]), UC(p[0]), UC(p[1]));
++	return;
++
++pasv_error:
++	close(pdata);
++	pdata = -1;
++	perror_reply(425, "Can't open passive connection");
++	return;
++}
++
++void
++epsv(char *proto)
++{
++	socklen_t len;
++
++	pdata = socket(ctrl_addr->sa_family, SOCK_STREAM, 0);
++	if (pdata < 0) {
++		perror_reply(425, "Can't open passive connection");
++		return;
++	}
++	pasv_addr->sa_family = ctrl_addr->sa_family;
++	socket_set_address_and_port (pasv_addr,
++				     socket_get_address (ctrl_addr),
++				     0);
++	socket_set_portrange(pdata, restricted_data_ports, 
++	    pasv_addr->sa_family); 
++	seteuid(0);
++	if (bind(pdata, pasv_addr, socket_sockaddr_size (pasv_addr)) < 0) {
++		seteuid(pw->pw_uid);
++		goto pasv_error;
++	}
++	seteuid(pw->pw_uid);
++	len = sizeof(pasv_addr_ss);
++	if (getsockname(pdata, pasv_addr, &len) < 0)
++		goto pasv_error;
++	if (listen(pdata, 1) < 0)
++		goto pasv_error;
++
++	reply(229, "Entering Extended Passive Mode (|||%d|)",
++	      ntohs(socket_get_port (pasv_addr)));
++	return;
++
++pasv_error:
++	close(pdata);
++	pdata = -1;
++	perror_reply(425, "Can't open passive connection");
++	return;
++}
++
++void
++eprt(char *str)
++{
++	char *end;
++	char sep;
++	int af;
++	int ret;
++	int port;
++
++	usedefault = 0;
++	if (pdata >= 0) {
++	    close(pdata);
++	    pdata = -1;
++	}
++
++	sep = *str++;
++	if (sep == '\0') {
++		reply(500, "Bad syntax in EPRT");
++		return;
++	}
++	af = strtol (str, &end, 0);
++	if (af == 0 || *end != sep) {
++		reply(500, "Bad syntax in EPRT");
++		return;
++	}
++	str = end + 1;
++	switch (af) {
++#ifdef HAVE_IPV6
++	case 2 :
++	    data_dest->sa_family = AF_INET6;
++	    break;
++#endif		
++	case 1 :
++	    data_dest->sa_family = AF_INET;
++		break;
++	default :
++		reply(522, "Network protocol %d not supported, use (1"
++#ifdef HAVE_IPV6
++		      ",2"
++#endif
++		      ")", af);
++		return;
++	}
++	end = strchr (str, sep);
++	if (end == NULL) {
++		reply(500, "Bad syntax in EPRT");
++		return;
++	}
++	*end = '\0';
++	ret = inet_pton (data_dest->sa_family, str,
++			 socket_get_address (data_dest));
++
++	if (ret != 1) {
++		reply(500, "Bad address syntax in EPRT");
++		return;
++	}
++	str = end + 1;
++	port = strtol (str, &end, 0);
++	if (port == 0 || *end != sep) {
++		reply(500, "Bad port syntax in EPRT");
++		return;
++	}
++	socket_set_port (data_dest, htons(port));
++	reply(200, "EPRT command successful.");
++}
++
++/*
++ * Generate unique name for file with basename "local".
++ * The file named "local" is already known to exist.
++ * Generates failure reply on error.
++ */
++static char *
++gunique(char *local)
++{
++	static char new[MaxPathLen];
++	struct stat st;
++	int count;
++	char *cp;
++
++	cp = strrchr(local, '/');
++	if (cp)
++		*cp = '\0';
++	if (stat(cp ? local : ".", &st) < 0) {
++		perror_reply(553, cp ? local : ".");
++		return NULL;
++	}
++	if (cp)
++		*cp = '/';
++	for (count = 1; count < 100; count++) {
++		snprintf (new, sizeof(new), "%s.%d", local, count);
++		if (stat(new, &st) < 0)
++			return (new);
++	}
++	reply(452, "Unique file name cannot be created.");
++	return (NULL);
++}
++
++/*
++ * Format and send reply containing system error number.
++ */
++void
++perror_reply(int code, const char *string)
++{
++	reply(code, "%s: %s.", string, strerror(errno));
++}
++
++static char *onefile[] = {
++	"",
++	0
++};
++
++void
++list_file(char *file)
++{
++    if(use_builtin_ls) {
++	FILE *dout;
++	dout = dataconn(file, -1, "w");
++	if (dout == NULL)
++	    return;
++	set_buffer_size(fileno(dout), 0);
++	if(builtin_ls(dout, file) == 0)
++	    reply(226, "Transfer complete.");
++	else
++	    reply(451, "Requested action aborted. Local error in processing.");
++	fclose(dout);
++	data = -1;
++	pdata = -1;
++    } else {
++#ifdef HAVE_LS_A
++	const char *cmd = "/bin/ls -lA %s";
++#else
++	const char *cmd = "/bin/ls -la %s";
++#endif
++	retrieve(cmd, file);
++    }
++}
++
++void
++send_file_list(char *whichf)
++{
++  struct stat st;
++  DIR *dirp = NULL;
++  struct dirent *dir;
++  FILE *dout = NULL;
++  char **dirlist, *dirname;
++  int simple = 0;
++  int freeglob = 0;
++  glob_t gl;
++  char buf[MaxPathLen];
++
++  if (strpbrk(whichf, "~{[*?") != NULL) {
++    int flags = GLOB_BRACE|GLOB_NOCHECK|GLOB_QUOTE|GLOB_TILDE|
++#ifdef GLOB_MAXPATH
++	GLOB_MAXPATH
++#else
++	GLOB_LIMIT
++#endif
++	;
++
++    memset(&gl, 0, sizeof(gl));
++    freeglob = 1;
++    if (glob(whichf, flags, 0, &gl)) {
++      reply(550, "not found");
++      goto out;
++    } else if (gl.gl_pathc == 0) {
++      errno = ENOENT;
++      perror_reply(550, whichf);
++      goto out;
++    }
++    dirlist = gl.gl_pathv;
++  } else {
++    onefile[0] = whichf;
++    dirlist = onefile;
++    simple = 1;
++  }
++
++  if (setjmp(urgcatch)) {
++    transflag = 0;
++    goto out;
++  }
++  while ((dirname = *dirlist++)) {
++    if (stat(dirname, &st) < 0) {
++      /*
++       * If user typed "ls -l", etc, and the client
++       * used NLST, do what the user meant.
++       */
++      if (dirname[0] == '-' && *dirlist == NULL &&
++	  transflag == 0) {
++	  list_file(dirname);
++	  goto out;
++      }
++      perror_reply(550, whichf);
++      if (dout != NULL) {
++	fclose(dout);
++	transflag = 0;
++	data = -1;
++	pdata = -1;
++      }
++      goto out;
++    }
++
++    if (S_ISREG(st.st_mode)) {
++      if (dout == NULL) {
++	dout = dataconn("file list", (off_t)-1, "w");
++	if (dout == NULL)
++	  goto out;
++	transflag++;
++      }
++      snprintf(buf, sizeof(buf), "%s%s\n", dirname,
++	      type == TYPE_A ? "\r" : "");
++      sec_write(fileno(dout), buf, strlen(buf));
++      byte_count += strlen(dirname) + 1;
++      continue;
++    } else if (!S_ISDIR(st.st_mode))
++      continue;
++
++    if ((dirp = opendir(dirname)) == NULL)
++      continue;
++
++    while ((dir = readdir(dirp)) != NULL) {
++      char nbuf[MaxPathLen];
++
++      if (!strcmp(dir->d_name, "."))
++	continue;
++      if (!strcmp(dir->d_name, ".."))
++	continue;
++
++      snprintf(nbuf, sizeof(nbuf), "%s/%s", dirname, dir->d_name);
++
++      /*
++       * We have to do a stat to insure it's
++       * not a directory or special file.
++       */
++      if (simple || (stat(nbuf, &st) == 0 &&
++		     S_ISREG(st.st_mode))) {
++	if (dout == NULL) {
++	  dout = dataconn("file list", (off_t)-1, "w");
++	  if (dout == NULL)
++	    goto out;
++	  transflag++;
++	}
++	if(strncmp(nbuf, "./", 2) == 0)
++	  snprintf(buf, sizeof(buf), "%s%s\n", nbuf +2,
++		   type == TYPE_A ? "\r" : "");
++	else
++	  snprintf(buf, sizeof(buf), "%s%s\n", nbuf,
++		   type == TYPE_A ? "\r" : "");
++	sec_write(fileno(dout), buf, strlen(buf));
++	byte_count += strlen(nbuf) + 1;
++      }
++    }
++    closedir(dirp);
++  }
++  if (dout == NULL)
++    reply(550, "No files found.");
++  else if (ferror(dout) != 0)
++    perror_reply(550, "Data connection");
++  else
++    reply(226, "Transfer complete.");
++
++  transflag = 0;
++  if (dout != NULL){
++    sec_write(fileno(dout), buf, 0); /* XXX flush */
++	    
++    fclose(dout);
++  }
++  data = -1;
++  pdata = -1;
++out:
++  if (freeglob) {
++    freeglob = 0;
++    globfree(&gl);
++  }
++}
++
++
++int
++find(char *pattern)
++{
++    char line[1024];
++    FILE *f;
++
++    snprintf(line, sizeof(line),
++	     "/bin/locate -d %s -- %s",
++	     ftp_rooted("/etc/locatedb"),
++	     pattern);
++    f = ftpd_popen(line, "r", 1, 1);
++    if(f == NULL){
++	perror_reply(550, "/bin/locate");
++	return 1;
++    }
++    lreply(200, "Output from find.");
++    while(fgets(line, sizeof(line), f)){
++	if(line[strlen(line)-1] == '\n')
++	    line[strlen(line)-1] = 0;
++	nreply("%s", line);
++    }
++    reply(200, "Done");
++    ftpd_pclose(f);
++    return 0;
++}
++
+diff -ruN heimdal-0.6.1-old/appl/ftp/ftpd/ftpd_locl.h heimdal-0.6.1/appl/ftp/ftpd/ftpd_locl.h
+--- heimdal-0.6.1-old/appl/ftp/ftpd/ftpd_locl.h	Wed Sep 20 00:16:44 2000
++++ heimdal-0.6.1/appl/ftp/ftpd/ftpd_locl.h	Sun Oct  6 14:57:46 2002
+@@ -106,7 +106,11 @@
+ #ifdef HAVE_FCNTL_H
+ #include <fcntl.h>
+ #endif
++#ifdef HAVE_GLOB
+ #include <glob.h>
++#else
++#include <roken-glob.h>
++#endif 
+ #include <limits.h>
+ #ifdef HAVE_PWD_H
+ #include <pwd.h>
+diff -ruN heimdal-0.6.1-old/appl/ftp/ftpd/popen.c heimdal-0.6.1/appl/ftp/ftpd/popen.c
+--- heimdal-0.6.1-old/appl/ftp/ftpd/popen.c	Tue Apr  2 21:57:39 2002
++++ heimdal-0.6.1/appl/ftp/ftpd/popen.c	Sun Oct  6 14:57:46 2002
+@@ -55,7 +55,11 @@
+ #include <sys/wait.h>
+ 
+ #include <errno.h>
++#ifdef HAVE_GLOB
+ #include <glob.h>
++#else
++#include <roken-glob.h>
++#endif
+ #include <signal.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+@@ -149,7 +153,11 @@
+ 
+ 		memset(&gl, 0, sizeof(gl));
+ 		if (no_glob || 
++#ifdef HAVE_GLOB
+ 		    glob(argv[argc], flags, NULL, &gl) || 
++#else
++		    roken_glob(argv[argc], flags, NULL, &gl) ||
++#endif
+ 		    gl.gl_pathc == 0)
+ 			gargv[gargc++] = strdup(argv[argc]);
+ 		else
+@@ -157,7 +165,11 @@
+ 			     *pop && gargc < MAXGLOBS - 1;
+ 			     pop++)
+ 				gargv[gargc++] = strdup(*pop);
++#ifdef HAVE_GLOB
+ 		globfree(&gl);
++#else
++		roken_globfree(&gl);
++#endif
+ 	}
+ 	gargv[gargc] = NULL;
+ 
+diff -ruN heimdal-0.6.1-old/appl/ftp/ftpd/popen.c.orig heimdal-0.6.1/appl/ftp/ftpd/popen.c.orig
+--- heimdal-0.6.1-old/appl/ftp/ftpd/popen.c.orig	Thu Jan  1 10:00:00 1970
++++ heimdal-0.6.1/appl/ftp/ftpd/popen.c.orig	Sun Oct  6 14:57:46 2002
+@@ -0,0 +1,240 @@
++/*
++ * Copyright (c) 1988, 1993, 1994
++ *	The Regents of the University of California.  All rights reserved.
++ *
++ * This code is derived from software written by Ken Arnold and
++ * published in UNIX Review, Vol. 6, No. 8.
++ *
++ * Redistribution and use in source and binary forms, with or without
++ * modification, are permitted provided that the following conditions
++ * are met:
++ * 1. Redistributions of source code must retain the above copyright
++ *    notice, this list of conditions and the following disclaimer.
++ * 2. Redistributions in binary form must reproduce the above copyright
++ *    notice, this list of conditions and the following disclaimer in the
++ *    documentation and/or other materials provided with the distribution.
++ * 3. All advertising materials mentioning features or use of this software
++ *    must display the following acknowledgement:
++ *	This product includes software developed by the University of
++ *	California, Berkeley and its contributors.
++ * 4. Neither the name of the University nor the names of its contributors
++ *    may be used to endorse or promote products derived from this software
++ *    without specific prior written permission.
++ *
++ * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
++ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
++ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
++ * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
++ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
++ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
++ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
++ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
++ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
++ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
++ * SUCH DAMAGE.
++ *
++ */
++
++#ifdef HAVE_CONFIG_H
++#include <config.h>
++RCSID("$Id: popen.c,v 1.26 2002/04/02 11:57:39 joda Exp $");
++#endif
++
++#include <sys/types.h>
++#ifdef TIME_WITH_SYS_TIME
++#include <sys/time.h>
++#include <time.h>
++#elif defined(HAVE_SYS_TIME_H)
++#include <sys/time.h>
++#else
++#include <time.h>
++#endif
++#ifdef HAVE_SYS_RESOURCE_H
++#include <sys/resource.h>
++#endif
++#include <sys/wait.h>
++
++#include <errno.h>
++#include <glob.h>
++#include <signal.h>
++#include <stdio.h>
++#include <stdlib.h>
++#include <string.h>
++#include <unistd.h>
++#include <roken.h>
++#define GLOB_QUOTE      0x0400
++#define GLOB_LIMIT      0x1000
++#include "extern.h"
++
++
++/* 
++ * Special version of popen which avoids call to shell.  This ensures
++ * no one may create a pipe to a hidden program as a side effect of a
++ * list or dir command.
++ */
++static int *pids;
++static int fds;
++
++extern int dochroot;
++
++/* return path prepended with ~ftp if that file exists, otherwise
++ * return path unchanged
++ */
++
++const char *
++ftp_rooted(const char *path)
++{
++    static char home[MaxPathLen] = "";
++    static char newpath[MaxPathLen];
++    struct passwd *pwd;
++
++    if(!home[0])
++	if((pwd = k_getpwnam("ftp")))
++	    strlcpy(home, pwd->pw_dir, sizeof(home));
++    snprintf(newpath, sizeof(newpath), "%s/%s", home, path);
++    if(access(newpath, X_OK))
++	strlcpy(newpath, path, sizeof(newpath));
++    return newpath;
++}
++
++
++#define MAXARGS	100
++#define MAXGLOBS 1000
++
++FILE *
++ftpd_popen(char *program, char *type, int do_stderr, int no_glob)
++{
++	char *cp;
++	FILE *iop;
++	int argc, gargc, pdes[2], pid;
++	char **pop, *argv[MAXARGS], *gargv[MAXGLOBS];
++	char *foo;
++
++	if (strcmp(type, "r") && strcmp(type, "w"))
++		return (NULL);
++
++	if (!pids) {
++
++	    /* This function is ugly and should be rewritten, in
++	     * modern unices there is no such thing as a maximum
++	     * filedescriptor.
++	     */
++
++	    fds = getdtablesize();
++	    pids = (int*)calloc(fds, sizeof(int));
++	    if(!pids)
++		return NULL;
++	}
++	if (pipe(pdes) < 0)
++		return (NULL);
++
++	/* break up string into pieces */
++	foo = NULL;
++	for (argc = 0, cp = program; argc < MAXARGS - 1; cp = NULL) {
++		if (!(argv[argc++] = strtok_r(cp, " \t\n", &foo)))
++			break;
++	}
++	argv[MAXARGS - 1] = NULL;
++
++	gargv[0] = (char*)ftp_rooted(argv[0]);
++	/* glob each piece */
++	for (gargc = argc = 1; argv[argc] && gargc < MAXGLOBS - 1; argc++) {
++		glob_t gl;
++		int flags = GLOB_BRACE|GLOB_NOCHECK|GLOB_QUOTE|GLOB_TILDE
++		    |
++#ifdef GLOB_MAXPATH
++	GLOB_MAXPATH
++#else
++	GLOB_LIMIT
++#endif
++		    ;
++
++		memset(&gl, 0, sizeof(gl));
++		if (no_glob || 
++		    glob(argv[argc], flags, NULL, &gl) || 
++		    gl.gl_pathc == 0)
++			gargv[gargc++] = strdup(argv[argc]);
++		else
++			for (pop = gl.gl_pathv;
++			     *pop && gargc < MAXGLOBS - 1;
++			     pop++)
++				gargv[gargc++] = strdup(*pop);
++		globfree(&gl);
++	}
++	gargv[gargc] = NULL;
++
++	iop = NULL;
++	switch(pid = fork()) {
++	case -1:			/* error */
++		close(pdes[0]);
++		close(pdes[1]);
++		goto pfree;
++		/* NOTREACHED */
++	case 0:				/* child */
++		if (*type == 'r') {
++			if (pdes[1] != STDOUT_FILENO) {
++				dup2(pdes[1], STDOUT_FILENO);
++				close(pdes[1]);
++			}
++			if(do_stderr)
++			    dup2(STDOUT_FILENO, STDERR_FILENO);
++			close(pdes[0]);
++		} else {
++			if (pdes[0] != STDIN_FILENO) {
++				dup2(pdes[0], STDIN_FILENO);
++				close(pdes[0]);
++			}
++			close(pdes[1]);
++		}
++		execv(gargv[0], gargv);
++		gargv[0] = argv[0];
++		execv(gargv[0], gargv);
++		_exit(1);
++	}
++	/* parent; assume fdopen can't fail...  */
++	if (*type == 'r') {
++		iop = fdopen(pdes[0], type);
++		close(pdes[1]);
++	} else {
++		iop = fdopen(pdes[1], type);
++		close(pdes[0]);
++	}
++	pids[fileno(iop)] = pid;
++	
++pfree:	
++	for (argc = 1; gargv[argc] != NULL; argc++)
++	    free(gargv[argc]);
++
++
++	return (iop);
++}
++
++int
++ftpd_pclose(FILE *iop)
++{
++	int fdes, status;
++	pid_t pid;
++	sigset_t sigset, osigset;
++
++	/*
++	 * pclose returns -1 if stream is not associated with a
++	 * `popened' command, or, if already `pclosed'.
++	 */
++	if (pids == 0 || pids[fdes = fileno(iop)] == 0)
++		return (-1);
++	fclose(iop);
++	sigemptyset(&sigset);
++	sigaddset(&sigset, SIGINT);
++	sigaddset(&sigset, SIGQUIT);
++	sigaddset(&sigset, SIGHUP);
++	sigprocmask(SIG_BLOCK, &sigset, &osigset);
++	while ((pid = waitpid(pids[fdes], &status, 0)) < 0 && errno == EINTR)
++		continue;
++	sigprocmask(SIG_SETMASK, &osigset, NULL);
++	pids[fdes] = 0;
++	if (pid < 0)
++		return (pid);
++	if (WIFEXITED(status))
++		return (WEXITSTATUS(status));
++	return (1);
++}
+diff -ruN heimdal-0.6.1-old/lib/roken/Makefile.am heimdal-0.6.1/lib/roken/Makefile.am
+--- heimdal-0.6.1-old/lib/roken/Makefile.am	Tue Sep 10 05:17:01 2002
++++ heimdal-0.6.1/lib/roken/Makefile.am	Sun Oct  6 14:58:25 2002
+@@ -183,7 +183,7 @@
+ if have_glob_h
+ glob_h =
+ else
+-glob_h = glob.h
++glob_h = roken-glob.h
+ endif
+ 
+ if have_ifaddrs_h
+@@ -220,6 +220,8 @@
+ SUFFIXES += .hin
+ .hin.h:
+ 	cp $< $@
++roken-glob.h:
++	cp glob.hin roken-glob.h
+ 
+ roken.h: make-roken$(EXEEXT)
+ 	@./make-roken$(EXEEXT) > tmp.h ;\
+diff -ruN heimdal-0.6.1-old/lib/roken/glob.c heimdal-0.6.1/lib/roken/glob.c
+--- heimdal-0.6.1-old/lib/roken/glob.c	Wed Aug 22 01:32:44 2001
++++ heimdal-0.6.1/lib/roken/glob.c	Sun Oct  6 14:57:46 2002
+@@ -171,7 +171,7 @@
+ #endif
+ 
+ int
+-glob(const char *pattern, 
++roken_glob(const char *pattern, 
+      int flags, 
+      int (*errfunc)(const char *, int), 
+      glob_t *pglob)
+@@ -746,7 +746,7 @@
+ 
+ /* Free allocated data belonging to a glob_t structure. */
+ void
+-globfree(glob_t *pglob)
++roken_globfree(glob_t *pglob)
+ {
+ 	int i;
+ 	char **pp;
+diff -ruN heimdal-0.6.1-old/lib/roken/glob.hin heimdal-0.6.1/lib/roken/glob.hin
+--- heimdal-0.6.1-old/lib/roken/glob.hin	Mon Mar 26 09:43:19 2001
++++ heimdal-0.6.1/lib/roken/glob.hin	Sun Oct  6 14:57:46 2002
+@@ -36,8 +36,8 @@
+  *	@(#)glob.h	8.1 (Berkeley) 6/2/93
+  */
+ 
+-#ifndef _GLOB_H_
+-#define	_GLOB_H_
++#ifndef _ROKEN_GLOB_H_
++#define	_ROKEN_GLOB_H_
+ 
+ struct stat;
+ typedef struct {
+@@ -79,7 +79,7 @@
+ #define	GLOB_NOSPACE	(-1)	/* Malloc call failed. */
+ #define	GLOB_ABEND	(-2)	/* Unignored error. */
+ 
+-int	glob (const char *, int, int (*)(const char *, int), glob_t *);
+-void	globfree (glob_t *);
++int	roken_glob (const char *, int, int (*)(const char *, int), glob_t *);
++void	roken_globfree (glob_t *);
+ 
+-#endif /* !_GLOB_H_ */
++#endif /* !_ROKEN_GLOB_H_ */
--- heimdal-0.6.3.orig/debian/patches-0.6.1/021_debian
+++ heimdal-0.6.3/debian/patches-0.6.1/021_debian
@@ -0,0 +1,50 @@
+Index: heimdal-0.6.1/appl/telnet/telnetd/telnetd.h
+===================================================================
+RCS file: /homes/bam/cvsroot/debian/heimdal/appl/telnet/telnetd/telnetd.h,v
+retrieving revision 1.1.1.2
+retrieving revision 1.2
+diff -c -r1.1.1.2 -r1.2
+*** heimdal-0.6.1/appl/telnet/telnetd/telnetd.h 1999/07/24 08:24:26 1.1.1.2
+--- appl/telnet/telnetd/telnetd.h	2000/01/06 09:22:48	1.2
+***************
+*** 193,199 ****
+  #endif
+  
+  #undef _PATH_LOGIN
+! #define _PATH_LOGIN	BINDIR "/login"
+  
+  /* fallbacks */
+  
+--- 193,199 ----
+  #endif
+  
+  #undef _PATH_LOGIN
+! #define _PATH_LOGIN	"/bin/login"
+  
+  /* fallbacks */
+  
+Index: heimdal-0.6.1/lib/hdb/hdb.h
+===================================================================
+RCS file: /homes/bam/cvsroot/debian/heimdal/lib/hdb/hdb.h,v
+retrieving revision 1.1.1.4
+retrieving revision 1.3
+diff -c -r1.1.1.4 -r1.3
+*** heimdal-0.6.1/lib/hdb/hdb.h 2000/07/31 03:16:43 1.1.1.4
+--- heimdal-0.6.1/lib/hdb/hdb.h	2000/07/31 03:22:57	1.3
+***************
+*** 78,84 ****
+      krb5_error_code (*destroy)(krb5_context, struct HDB*);
+  }HDB;
+  
+! #define HDB_DB_DIR "/var/heimdal"
+  #define HDB_DEFAULT_DB HDB_DB_DIR "/heimdal"
+  #define HDB_DB_FORMAT_ENTRY "hdb/db-format"
+  
+--- 78,84 ----
+      krb5_error_code (*destroy)(krb5_context, struct HDB*);
+  }HDB;
+  
+! #define HDB_DB_DIR "/var/lib/heimdal-kdc"
+  #define HDB_DEFAULT_DB HDB_DB_DIR "/heimdal"
+  #define HDB_DB_FORMAT_ENTRY "hdb/db-format"
+  
--- heimdal-0.6.3.orig/debian/patches-0.6.1/031_autotools
+++ heimdal-0.6.3/debian/patches-0.6.1/031_autotools
@@ -0,0 +1,9 @@
+--- heimdal-0.6.1/ltmain.sh.orig	Fri May 11 05:34:59 2001
++++ heimdal-0.6.1/ltmain.sh	Thu May 31 02:14:09 2001
+@@ -1862,6 +1862,7 @@
+ 	    else
+ 	      # We cannot seem to hardcode it, guess we'll fake it.
+ 	      add_dir="-L$libdir"
++	      test -d $ladir/.libs && add_dir="$add_dir -L$ladir/.libs"
+ 	      add="-l$name"
+ 	    fi
--- heimdal-0.6.3.orig/debian/patches-0.6.1/032_libtool_version_script
+++ heimdal-0.6.3/debian/patches-0.6.1/032_libtool_version_script
@@ -0,0 +1,311 @@
+diff -urN heimdal-0.6.1/aclocal.m4 heimdal-0.6.1.new/aclocal.m4
+--- heimdal-0.6.1/aclocal.m4	2003-10-12 10:43:58.000000000 -0500
++++ heimdal-0.6.1.new/aclocal.m4	2003-10-12 01:57:14.000000000 -0500
+@@ -2507,6 +2507,9 @@
+   # before this can be enabled.
+   hardcode_into_libs=yes
+ 
++  # argument to support GNU version scripts
++  version_script_arg='${wl}--version-script=\${libname}.ver'
++
+   # We used to test for /lib/ld.so.1 and disable shared libraries on
+   # powerpc, because MkLinux only supported shared libraries with the
+   # GNU dynamic linker.  Since this was broken with cross compilers,
+@@ -3760,8 +3763,8 @@
+   # Check if GNU C++ uses GNU ld as the underlying linker, since the
+   # archiving commands below assume that GNU ld is being used.
+   if test "$with_gnu_ld" = yes; then
+-    _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
+-    _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++    _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname $version_script_arg -o $lib'
++    _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols $version_script_arg -o $lib'
+ 
+     _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
+     _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
+@@ -4912,7 +4915,7 @@
+     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
+     lt_cv_sys_global_symbol_to_c_name_address \
+     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
+-    old_postinstall_cmds old_postuninstall_cmds \
++    old_postinstall_cmds old_postuninstall_cmds version_script_arg \
+     _LT_AC_TAGVAR(compiler, $1) \
+     _LT_AC_TAGVAR(CC, $1) \
+     _LT_AC_TAGVAR(LD, $1) \
+@@ -5113,6 +5116,9 @@
+ # Object file suffix (normally "o").
+ objext="$ac_objext"
+ 
++# Linker argument to specify a version script (if supported)
++version_script_arg="$version_script_arg"
++
+ # Old archive suffix (normally "a").
+ libext="$libext"
+ 
+@@ -6226,7 +6232,7 @@
+ 
+   linux*)
+     if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
+-        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname $version_script_arg -o $lib'
+ 	_LT_AC_TAGVAR(archive_cmds, $1)="$tmp_archive_cmds"
+       supports_anon_versioning=no
+       case `$LD -v 2>/dev/null` in
+diff -urN heimdal-0.6.1/configure heimdal-0.6.1.new/configure
+--- heimdal-0.6.1/configure	2003-10-12 10:44:00.000000000 -0500
++++ heimdal-0.6.1.new/configure	2003-10-12 01:58:24.000000000 -0500
+@@ -7518,7 +7518,7 @@
+ 
+   linux*)
+     if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
+-        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname $version_script_arg -o $lib'
+ 	archive_cmds="$tmp_archive_cmds"
+       supports_anon_versioning=no
+       case `$LD -v 2>/dev/null` in
+@@ -8611,6 +8611,9 @@
+   # before this can be enabled.
+   hardcode_into_libs=yes
+ 
++  # argument to support GNU version scripts
++  version_script_arg='${wl}--version-script=\${libname}.ver'
++
+   # We used to test for /lib/ld.so.1 and disable shared libraries on
+   # powerpc, because MkLinux only supported shared libraries with the
+   # GNU dynamic linker.  Since this was broken with cross compilers,
+@@ -9658,7 +9661,7 @@
+     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
+     lt_cv_sys_global_symbol_to_c_name_address \
+     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
+-    old_postinstall_cmds old_postuninstall_cmds \
++    old_postinstall_cmds old_postuninstall_cmds version_script_arg \
+     compiler \
+     CC \
+     LD \
+@@ -9856,6 +9859,9 @@
+ # Object file suffix (normally "o").
+ objext="$ac_objext"
+ 
++# Linker argument to specify a version script (if supported)
++version_script_arg="$version_script_arg"
++
+ # Old archive suffix (normally "a").
+ libext="$libext"
+ 
+@@ -10373,8 +10379,8 @@
+   # Check if GNU C++ uses GNU ld as the underlying linker, since the
+   # archiving commands below assume that GNU ld is being used.
+   if test "$with_gnu_ld" = yes; then
+-    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
+-    archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname $version_script_arg -o $lib'
++    archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols $version_script_arg -o $lib'
+ 
+     hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
+     export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
+@@ -12192,6 +12198,9 @@
+   # before this can be enabled.
+   hardcode_into_libs=yes
+ 
++  # argument to support GNU version scripts
++  version_script_arg='${wl}--version-script=\${libname}.ver'
++
+   # We used to test for /lib/ld.so.1 and disable shared libraries on
+   # powerpc, because MkLinux only supported shared libraries with the
+   # GNU dynamic linker.  Since this was broken with cross compilers,
+@@ -13165,7 +13174,7 @@
+     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
+     lt_cv_sys_global_symbol_to_c_name_address \
+     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
+-    old_postinstall_cmds old_postuninstall_cmds \
++    old_postinstall_cmds old_postuninstall_cmds version_script_arg \
+     compiler_CXX \
+     CC_CXX \
+     LD_CXX \
+@@ -13315,6 +13324,9 @@
+ # Object file suffix (normally "o").
+ objext="$ac_objext"
+ 
++# Linker argument to specify a version script (if supported)
++version_script_arg="$version_script_arg"
++
+ # Old archive suffix (normally "a").
+ libext="$libext"
+ 
+@@ -14151,7 +14163,7 @@
+ 
+   linux*)
+     if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
+-        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname $version_script_arg -o $lib'
+ 	archive_cmds_F77="$tmp_archive_cmds"
+       supports_anon_versioning=no
+       case `$LD -v 2>/dev/null` in
+@@ -15222,6 +15234,9 @@
+   # before this can be enabled.
+   hardcode_into_libs=yes
+ 
++  # argument to support GNU version scripts
++  version_script_arg='${wl}--version-script=\${libname}.ver'
++
+   # We used to test for /lib/ld.so.1 and disable shared libraries on
+   # powerpc, because MkLinux only supported shared libraries with the
+   # GNU dynamic linker.  Since this was broken with cross compilers,
+@@ -15476,7 +15491,7 @@
+     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
+     lt_cv_sys_global_symbol_to_c_name_address \
+     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
+-    old_postinstall_cmds old_postuninstall_cmds \
++    old_postinstall_cmds old_postuninstall_cmds version_script_arg \
+     compiler_F77 \
+     CC_F77 \
+     LD_F77 \
+@@ -15626,6 +15641,9 @@
+ # Object file suffix (normally "o").
+ objext="$ac_objext"
+ 
++# Linker argument to specify a version script (if supported)
++version_script_arg="$version_script_arg"
++
+ # Old archive suffix (normally "a").
+ libext="$libext"
+ 
+@@ -16445,7 +16463,7 @@
+ 
+   linux*)
+     if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
+-        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname $version_script_arg -o $lib'
+ 	archive_cmds_GCJ="$tmp_archive_cmds"
+       supports_anon_versioning=no
+       case `$LD -v 2>/dev/null` in
+@@ -17538,6 +17556,9 @@
+   # before this can be enabled.
+   hardcode_into_libs=yes
+ 
++  # argument to support GNU version scripts
++  version_script_arg='${wl}--version-script=\${libname}.ver'
++
+   # We used to test for /lib/ld.so.1 and disable shared libraries on
+   # powerpc, because MkLinux only supported shared libraries with the
+   # GNU dynamic linker.  Since this was broken with cross compilers,
+@@ -18511,7 +18532,7 @@
+     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
+     lt_cv_sys_global_symbol_to_c_name_address \
+     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
+-    old_postinstall_cmds old_postuninstall_cmds \
++    old_postinstall_cmds old_postuninstall_cmds version_script_arg \
+     compiler_GCJ \
+     CC_GCJ \
+     LD_GCJ \
+@@ -18661,6 +18682,9 @@
+ # Object file suffix (normally "o").
+ objext="$ac_objext"
+ 
++# Linker argument to specify a version script (if supported)
++version_script_arg="$version_script_arg"
++
+ # Old archive suffix (normally "a").
+ libext="$libext"
+ 
+@@ -18956,7 +18980,7 @@
+     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
+     lt_cv_sys_global_symbol_to_c_name_address \
+     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
+-    old_postinstall_cmds old_postuninstall_cmds \
++    old_postinstall_cmds old_postuninstall_cmds version_script_arg \
+     compiler_RC \
+     CC_RC \
+     LD_RC \
+@@ -19106,6 +19130,9 @@
+ # Object file suffix (normally "o").
+ objext="$ac_objext"
+ 
++# Linker argument to specify a version script (if supported)
++version_script_arg="$version_script_arg"
++
+ # Old archive suffix (normally "a").
+ libext="$libext"
+ 
+diff -urN heimdal-0.6.1/lib/krb5/Makefile.am heimdal-0.6.1.new/lib/krb5/Makefile.am
+--- heimdal-0.6.1/lib/krb5/Makefile.am	2003-10-12 10:43:57.000000000 -0500
++++ heimdal-0.6.1.new/lib/krb5/Makefile.am	2003-10-12 01:51:58.000000000 -0500
+@@ -132,7 +132,7 @@
+ 	write_message.c				\
+ 	$(ERR_FILES)
+ 
+-libkrb5_la_LDFLAGS = -version-info 20:0:3
++libkrb5_la_LDFLAGS = -version-info 20:0:3 -symbol-version KRB5_17_HEIMDAL
+ 
+ $(libkrb5_la_OBJECTS): $(srcdir)/krb5-protos.h $(srcdir)/krb5-private.h
+ 
+diff -urN heimdal-0.6.1/lib/krb5/Makefile.in heimdal-0.6.1.new/lib/krb5/Makefile.in
+--- heimdal-0.6.1/lib/krb5/Makefile.in	2003-10-12 10:44:00.000000000 -0500
++++ heimdal-0.6.1.new/lib/krb5/Makefile.in	2003-10-12 01:51:58.000000000 -0500
+@@ -352,7 +352,7 @@
+ 	$(ERR_FILES)
+ 
+ 
+-libkrb5_la_LDFLAGS = -version-info 20:0:3
++libkrb5_la_LDFLAGS = -version-info 20:0:3 -symbol-version KRB5_17_HEIMDAL
+ 
+ 
+ #libkrb5_la_LIBADD = ../com_err/error.lo ../com_err/com_err.lo
+diff -urN heimdal-0.6.1/ltmain.sh heimdal-0.6.1.new/ltmain.sh
+--- heimdal-0.6.1/ltmain.sh	2003-10-12 10:44:00.000000000 -0500
++++ heimdal-0.6.1.new/ltmain.sh	2003-10-12 01:51:58.000000000 -0500
+@@ -880,6 +880,7 @@
+     thread_safe=no
+     vinfo=
+     vinfo_number=no
++    symbolversion=
+ 
+     # We need to know -static, to get the right output filenames.
+     for arg
+@@ -1408,6 +1409,11 @@
+ 	continue
+ 	;;
+ 
++      -symbol-version)
++	prev=symbolversion
++	continue
++	;;
++	
+       -Wc,*)
+ 	args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wc,//'`
+ 	arg=
+@@ -3676,6 +3682,13 @@
+ 	  $run eval '(cd $output_objdir && $rm ${realname}U && $mv $realname ${realname}U)' || exit $?
+ 	fi
+ 
++	# Eval so we get the libname.
++	if test -n "$symbolversion"; then
++		eval version_script_arg=\"$version_script_arg\"
++	else
++		version_script_arg=
++	fi
++
+ 	# Do each of the archive commands.
+ 	if test "$module" = yes && test -n "$module_cmds" ; then
+ 	  if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
+@@ -3690,6 +3703,21 @@
+ 	  eval cmds=\"$archive_cmds\"
+ 	  fi
+ 	fi
++	if test -n "$symbolversion"; then
++	  cat > ${libname}.ver <<EOF
++HIDDEN {
++	local:
++		__*;
++		_rest*;
++		_save*;
++};
++
++$symbolversion {
++	global:
++		*;
++};
++EOF
++	fi
+ 
+ 	if test "X$skipped_export" != "X:" && len=`expr "X$cmds" : ".*"` &&
+ 	   test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
--- heimdal-0.6.3.orig/debian/heimdal-lib/usr/share/doc/heimdal-lib/examples/krb5.conf
+++ heimdal-0.6.3/debian/heimdal-lib/usr/share/doc/heimdal-lib/examples/krb5.conf
@@ -0,0 +1,26 @@
+[libdefaults]
+        default_realm = MY.REALM
+	clockskew = 300
+	v4_instance_resolve = false
+	v4_name_convert = {
+		host = {
+			rcmd = host
+			ftp = ftp
+		}
+		plain = {
+			something = something-else
+		}
+	}
+	
+[realms]
+	MY.REALM = {
+		kdc = MY.COMPUTER
+	}
+	OTHER.REALM = {
+		v4_instance_convert = {
+			kerberos = kerberos
+			computer = computer.some.other.domain
+		}
+	}
+[domain_realm]
+	.my.domain = MY.REALM
--- heimdal-0.6.3.orig/extras/logrotate
+++ heimdal-0.6.3/extras/logrotate
@@ -0,0 +1,5 @@
+/var/log/heimdal-kdc.log {
+	rotate 5
+	weekly
+	compress
+}
--- heimdal-0.6.3.orig/extras/kdc.conf
+++ heimdal-0.6.3/extras/kdc.conf
@@ -0,0 +1,91 @@
+[kdc]
+# See allowed values in krb5_openlog(3) man page.
+logging = FILE:/var/log/heimdal-kdc.log
+
+# detach = boolean
+
+# Gives an upper limit on the size of the requests that the kdc is
+# willing to handle.
+# max-request =  integer
+
+# Turn off the requirement for pre-autentication in the initial AS-
+# REQ for all principals.  The use of pre-authentication makes it
+# more difficult to do offline password attacks.  You might want to
+# turn it off if you have clients that don't support pre-authenti-
+# cation.  Since the version 4 protocol doesn't support any pre-
+# authentication, serving version 4 clients is just about the same
+# as not requiring pre-athentication.  The default is to require
+# pre-authentication.  Adding the require-preauth per principal is
+# a more flexible way of handling this.
+# require-preauth = boolean
+
+# Specifies the set of ports the KDC should listen on.  It is given
+# as a white-space separated list of services or port numbers.
+# ports = 88,750
+
+# The list of addresses to listen for requests on.  By default, the
+# kdc will listen on all the locally configured addresses.  If only
+# a subset is desired, or the automatic detection fails, this
+# option might be used.
+# addresses = list of ip addresses
+
+# respond to Kerberos 4 requests
+# enable-kerberos4 = false
+
+# respond to Kerberos 4 requests from foreign realms.  This is a
+# known security hole and should not be enabled unless you under-
+# stand the consequences and are willing to live with them.
+# enable-kerberos4-cross-realm = false
+
+# respond to 524 requests
+# enable-524 = value of enable-kerberos4
+
+# Makes the kdc listen on port 80 and handle requests encapsulated
+# in HTTP.
+# enable-http = boolean
+
+# What realm this server should act as when dealing with version 4
+# requests.  The database can contain any number of realms, but
+# since the version 4 protocol doesn't contain a realm for the
+# server, it must be explicitly specified.  The default is whatever
+# is returned by krb_get_lrealm().  This option is only availabe if
+# the KDC has been compiled with version 4 support.
+# v4-realm = string
+
+# Enable kaserver emulation (in case it's compiled in).
+# enable-kaserver = false
+
+# Check the addresses in the ticket when processing TGS requests.
+# check-ticket-addresses = true
+
+# Permit tickets with no addresses.  This option is only
+# relevent when check-ticket-addresses is TRUE.
+# allow-null-ticket-addresses = true
+
+# Permit anonymous tickets with no addresses.
+# allow-anonymous = boolean
+
+# Always verify the transited policy, ignoring the
+# disable-transited-check flag if set in the KDC client request.
+# transited-policy = {always-check,allow-per-principal,always-honour-request}
+
+# Encode AS-Rep as TGS-Rep to be bug-compatible with old DCE
+# code. The Heimdal clients allow both.
+# encode_as_rep_as_tgs_rep = boolean
+
+# How long before password/principal expiration the KDC should
+# start sending out warning messages.
+# kdc_warn_pwexpire = time
+
+# Specifies the set of ports the KDC should listen on.  It is given
+# as a white-space separated list of services or port numbers.
+# kdc_ports = 88,750
+
+# [password_quality]
+# check_library = LIBRARY
+# check_function = FUNCTION
+# min_length = value
+
+# [kadmin]
+# default_keys = list of strings
+# use_v4_salt = boolean
--- heimdal-0.6.3.orig/extras/kadmind.acl
+++ heimdal-0.6.3/extras/kadmind.acl
@@ -0,0 +1 @@
+#principal       [priv1,priv2,...]       [glob-pattern]
--- heimdal-0.6.3.orig/extras/setconfig
+++ heimdal-0.6.3/extras/setconfig
@@ -0,0 +1,94 @@
+#!/usr/bin/perl -w
+use strict;
+use Getopt::Long;
+
+my $section;
+my $file;
+
+sub set {
+    my $setting = shift;
+    my $oldvalue = shift;
+    my $newvalue = shift;
+    
+    if (defined($newvalue))
+    {
+	print OUT "$setting=$newvalue\n"
+	     or die "Cannot write to $file.new: $!";
+    }
+}
+
+sub doit {
+    my $setting;
+    my $value;
+    ($setting,$value) = split("=",shift);
+
+    die "No filename given\n" if (!defined($file));
+    die "No section given\n" if (!defined($section));
+
+    open(IN,"<$file") or die "Cannot open $file for reading: $!\n";
+    open(OUT,">$file.new") or die "Cannot open $file.new for writing: $!\n";
+
+    my $insection = "none";
+    my $done = 0;
+    while (<IN>)
+    {
+	my $output = 1;
+	if (/^\s*\[([^\]]+)\]\s*$/)
+	{
+	    if (!$done and $section eq $insection)
+	    {
+	    	set($setting,undef,$value);
+	    	$done = 1;
+	    }
+	    $insection = $1;
+	}
+	elsif (/^\s*([\w\.]+)\s*=\s*\{\s*$/)
+	{
+		$insection = $insection . "::" . $1;
+	    	if ($section eq $insection and $setting eq "")
+		{
+	    		print(OUT "$value = {\n")
+				or die "Cannot write to $file.new: $!";
+			$done = 1;
+			$output = 0;
+		}
+	}
+	elsif (/^\s*\}\s*$/)
+	{
+		$insection =~ s/::[^:]+//;
+	}
+	elsif (/^\s*([\w\.]+)\s*=\s*(.*)\s*$/)
+	{
+	#print "$insection $1=$2\n";
+	    if ($section eq $insection and
+	    	$setting ne "" and
+	    	$setting eq $1)
+	    {
+		set($setting,$2,$value);
+		$output = 0;
+		$done = 1;
+	    }
+	}
+	if ($output)
+	{
+	    print(OUT $_) or die "Cannot write to $file.new: $!";
+	}
+    }
+	    
+    if (!$done)
+    {
+	if ($section ne $insection)
+	{
+		die "Section $section doesn't exist\n";
+	}
+    	set($setting,undef,$value);
+    	$done = 1;
+    }
+
+    close(OUT) or die "Cannot close $file.new: $!";
+    close(IN) or die "Cannot close $file: $!";
+    rename("$file.new",$file) or die "Cannot remame $file.new to $file";
+}
+
+GetOptions("file=s",\$file,"section=s",\$section,"<>",\&doit)
+	|| die "Cannot parse command line\n";
--- heimdal-0.6.3.orig/extras/default
+++ heimdal-0.6.3/extras/default
@@ -0,0 +1,13 @@
+# Do we start the KDC?
+KDC_ENABLED=yes
+KDC_PARAMS=""
+
+# the kpasswdd?
+KPASSWDD_ENABLED=yes
+KPASSWDD_PARAMS=""
+
+# kprop master?
+MASTER_ENABLED=no
+
+# How about the kprop slave?
+SLAVE_ENABLED=no
